From b5fa82864c7c29bdf04bcc369cbaea8614d6fa11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Madrigal=20=F0=9F=90=A7?= <599908+Madrigal@users.noreply.github.com> Date: Fri, 21 Feb 2025 14:41:39 -0500 Subject: [PATCH 1/2] Revert "Track credential providers via User-Agent Feature ids (#3008)" This reverts commit 402370d1d1850404b5f14de989827c53b2411c98. --- .../e09f262cca454baaa532434210e9d892.json | 418 ++++++++++++++++++ aws/credential_cache.go | 11 - aws/credentials.go | 57 --- aws/middleware/user_agent.go | 57 --- ...edentialSourceFeatureTrackerGenerator.java | 85 ---- ...mithy.go.codegen.integration.GoIntegration | 1 - config/config_source_test.go | 383 ---------------- config/resolve_credentials.go | 102 +---- config/testdata/config_ua_credential_provider | 31 -- .../config_ua_credential_provider_windows | 31 -- credentials/ec2rolecreds/provider.go | 12 - credentials/endpointcreds/provider.go | 14 - credentials/processcreds/provider.go | 11 - .../ssocreds/sso_credentials_provider.go | 12 - credentials/static_provider.go | 10 - credentials/stscreds/assume_role_provider.go | 12 - credentials/stscreds/web_identity_provider.go | 12 - .../protocoltest/awsrestjson/api_client.go | 31 -- .../awsrestjson/api_op_AllQueryStringTypes.go | 3 - .../api_op_ConstantAndVariableQueryString.go | 3 - .../awsrestjson/api_op_ConstantQueryString.go | 3 - .../api_op_ContentTypeParameters.go | 3 - .../awsrestjson/api_op_DatetimeOffsets.go | 3 - .../awsrestjson/api_op_DocumentType.go | 3 - .../api_op_DocumentTypeAsMapValue.go | 3 - .../api_op_DocumentTypeAsPayload.go | 3 - .../api_op_EmptyInputAndEmptyOutput.go | 3 - .../awsrestjson/api_op_EndpointOperation.go | 3 - .../api_op_EndpointWithHostLabelOperation.go | 3 - .../awsrestjson/api_op_FractionalSeconds.go | 3 - .../awsrestjson/api_op_GreetingWithErrors.go | 3 - .../api_op_HostWithPathOperation.go | 3 - .../api_op_HttpChecksumRequired.go | 3 - .../awsrestjson/api_op_HttpEnumPayload.go | 3 - .../awsrestjson/api_op_HttpPayloadTraits.go | 3 - .../api_op_HttpPayloadTraitsWithMediaType.go | 3 - .../api_op_HttpPayloadWithStructure.go | 3 - .../api_op_HttpPayloadWithUnion.go | 3 - .../awsrestjson/api_op_HttpPrefixHeaders.go | 3 - .../api_op_HttpPrefixHeadersInResponse.go | 3 - .../api_op_HttpRequestWithFloatLabels.go | 3 - ...api_op_HttpRequestWithGreedyLabelInPath.go | 3 - .../api_op_HttpRequestWithLabels.go | 3 - ...HttpRequestWithLabelsAndTimestampFormat.go | 3 - .../api_op_HttpRequestWithRegexLiteral.go | 3 - .../awsrestjson/api_op_HttpResponseCode.go | 3 - .../awsrestjson/api_op_HttpStringPayload.go | 3 - .../api_op_IgnoreQueryParamsInResponse.go | 3 - .../api_op_InputAndOutputWithHeaders.go | 3 - .../awsrestjson/api_op_JsonBlobs.go | 3 - .../awsrestjson/api_op_JsonEnums.go | 3 - .../awsrestjson/api_op_JsonIntEnums.go | 3 - .../awsrestjson/api_op_JsonLists.go | 3 - .../awsrestjson/api_op_JsonMaps.go | 3 - .../awsrestjson/api_op_JsonTimestamps.go | 3 - .../awsrestjson/api_op_JsonUnions.go | 3 - .../api_op_MalformedAcceptWithBody.go | 3 - ...api_op_MalformedAcceptWithGenericString.go | 3 - .../api_op_MalformedAcceptWithPayload.go | 3 - .../awsrestjson/api_op_MalformedBlob.go | 3 - .../awsrestjson/api_op_MalformedBoolean.go | 3 - .../awsrestjson/api_op_MalformedByte.go | 3 - .../api_op_MalformedContentTypeWithBody.go | 3 - ...p_MalformedContentTypeWithGenericString.go | 3 - .../api_op_MalformedContentTypeWithPayload.go | 3 - .../api_op_MalformedContentTypeWithoutBody.go | 3 - ...lformedContentTypeWithoutBodyEmptyInput.go | 3 - .../awsrestjson/api_op_MalformedDouble.go | 3 - .../awsrestjson/api_op_MalformedFloat.go | 3 - .../awsrestjson/api_op_MalformedInteger.go | 3 - .../awsrestjson/api_op_MalformedList.go | 3 - .../awsrestjson/api_op_MalformedLong.go | 3 - .../awsrestjson/api_op_MalformedMap.go | 3 - .../api_op_MalformedRequestBody.go | 3 - .../awsrestjson/api_op_MalformedShort.go | 3 - .../awsrestjson/api_op_MalformedString.go | 3 - .../api_op_MalformedTimestampBodyDateTime.go | 3 - .../api_op_MalformedTimestampBodyDefault.go | 3 - .../api_op_MalformedTimestampBodyHttpDate.go | 3 - ...api_op_MalformedTimestampHeaderDateTime.go | 3 - .../api_op_MalformedTimestampHeaderDefault.go | 3 - .../api_op_MalformedTimestampHeaderEpoch.go | 3 - .../api_op_MalformedTimestampPathDefault.go | 3 - .../api_op_MalformedTimestampPathEpoch.go | 3 - .../api_op_MalformedTimestampPathHttpDate.go | 3 - .../api_op_MalformedTimestampQueryDefault.go | 3 - .../api_op_MalformedTimestampQueryEpoch.go | 3 - .../api_op_MalformedTimestampQueryHttpDate.go | 3 - .../awsrestjson/api_op_MalformedUnion.go | 3 - .../awsrestjson/api_op_MediaTypeHeader.go | 3 - .../awsrestjson/api_op_NoInputAndNoOutput.go | 3 - .../awsrestjson/api_op_NoInputAndOutput.go | 3 - .../api_op_NullAndEmptyHeadersClient.go | 3 - .../api_op_NullAndEmptyHeadersServer.go | 3 - .../api_op_OmitsNullSerializesEmptyString.go | 3 - .../api_op_OmitsSerializingEmptyLists.go | 3 - .../api_op_OperationWithDefaults.go | 3 - .../api_op_OperationWithNestedStructure.go | 3 - .../awsrestjson/api_op_PostPlayerAction.go | 3 - .../api_op_PostUnionWithJsonName.go | 3 - .../api_op_PutWithContentEncoding.go | 3 - .../api_op_QueryIdempotencyTokenAutoFill.go | 3 - .../api_op_QueryParamsAsStringListMap.go | 3 - .../awsrestjson/api_op_QueryPrecedence.go | 3 - .../awsrestjson/api_op_RecursiveShapes.go | 3 - .../api_op_ResponseCodeHttpFallback.go | 3 - .../api_op_ResponseCodeRequired.go | 3 - .../api_op_SimpleScalarProperties.go | 3 - .../awsrestjson/api_op_SparseJsonLists.go | 3 - .../awsrestjson/api_op_SparseJsonMaps.go | 3 - .../awsrestjson/api_op_StreamingTraits.go | 3 - .../api_op_StreamingTraitsRequireLength.go | 3 - .../api_op_StreamingTraitsWithMediaType.go | 3 - .../awsrestjson/api_op_TestBodyStructure.go | 3 - .../api_op_TestGetNoInputNoPayload.go | 3 - .../awsrestjson/api_op_TestGetNoPayload.go | 3 - .../awsrestjson/api_op_TestPayloadBlob.go | 3 - .../api_op_TestPayloadStructure.go | 3 - .../api_op_TestPostNoInputNoPayload.go | 3 - .../awsrestjson/api_op_TestPostNoPayload.go | 3 - .../api_op_TimestampFormatHeaders.go | 3 - .../awsrestjson/api_op_UnitInputAndOutput.go | 3 - .../api_op_AllQueryStringTypes.go.snap | 1 - ..._op_ConstantAndVariableQueryString.go.snap | 1 - .../api_op_ConstantQueryString.go.snap | 1 - .../api_op_ContentTypeParameters.go.snap | 1 - .../snapshot/api_op_DatetimeOffsets.go.snap | 1 - .../snapshot/api_op_DocumentType.go.snap | 1 - .../api_op_DocumentTypeAsMapValue.go.snap | 1 - .../api_op_DocumentTypeAsPayload.go.snap | 1 - .../api_op_EmptyInputAndEmptyOutput.go.snap | 1 - .../snapshot/api_op_EndpointOperation.go.snap | 1 - ..._op_EndpointWithHostLabelOperation.go.snap | 1 - .../snapshot/api_op_FractionalSeconds.go.snap | 1 - .../api_op_GreetingWithErrors.go.snap | 1 - .../api_op_HostWithPathOperation.go.snap | 1 - .../api_op_HttpChecksumRequired.go.snap | 1 - .../snapshot/api_op_HttpEnumPayload.go.snap | 1 - .../snapshot/api_op_HttpPayloadTraits.go.snap | 1 - ..._op_HttpPayloadTraitsWithMediaType.go.snap | 1 - .../api_op_HttpPayloadWithStructure.go.snap | 1 - .../api_op_HttpPayloadWithUnion.go.snap | 1 - .../snapshot/api_op_HttpPrefixHeaders.go.snap | 1 - ...api_op_HttpPrefixHeadersInResponse.go.snap | 1 - .../api_op_HttpRequestWithFloatLabels.go.snap | 1 - ...p_HttpRequestWithGreedyLabelInPath.go.snap | 1 - .../api_op_HttpRequestWithLabels.go.snap | 1 - ...equestWithLabelsAndTimestampFormat.go.snap | 1 - ...api_op_HttpRequestWithRegexLiteral.go.snap | 1 - .../snapshot/api_op_HttpResponseCode.go.snap | 1 - .../snapshot/api_op_HttpStringPayload.go.snap | 1 - ...api_op_IgnoreQueryParamsInResponse.go.snap | 1 - .../api_op_InputAndOutputWithHeaders.go.snap | 1 - .../snapshot/api_op_JsonBlobs.go.snap | 1 - .../snapshot/api_op_JsonEnums.go.snap | 1 - .../snapshot/api_op_JsonIntEnums.go.snap | 1 - .../snapshot/api_op_JsonLists.go.snap | 1 - .../snapshot/api_op_JsonMaps.go.snap | 1 - .../snapshot/api_op_JsonTimestamps.go.snap | 1 - .../snapshot/api_op_JsonUnions.go.snap | 1 - .../api_op_MalformedAcceptWithBody.go.snap | 1 - ...p_MalformedAcceptWithGenericString.go.snap | 1 - .../api_op_MalformedAcceptWithPayload.go.snap | 1 - .../snapshot/api_op_MalformedBlob.go.snap | 1 - .../snapshot/api_op_MalformedBoolean.go.snap | 1 - .../snapshot/api_op_MalformedByte.go.snap | 1 - ...pi_op_MalformedContentTypeWithBody.go.snap | 1 - ...formedContentTypeWithGenericString.go.snap | 1 - ...op_MalformedContentTypeWithPayload.go.snap | 1 - ...op_MalformedContentTypeWithoutBody.go.snap | 1 - ...edContentTypeWithoutBodyEmptyInput.go.snap | 1 - .../snapshot/api_op_MalformedDouble.go.snap | 1 - .../snapshot/api_op_MalformedFloat.go.snap | 1 - .../snapshot/api_op_MalformedInteger.go.snap | 1 - .../snapshot/api_op_MalformedList.go.snap | 1 - .../snapshot/api_op_MalformedLong.go.snap | 1 - .../snapshot/api_op_MalformedMap.go.snap | 1 - .../api_op_MalformedRequestBody.go.snap | 1 - .../snapshot/api_op_MalformedShort.go.snap | 1 - .../snapshot/api_op_MalformedString.go.snap | 1 - ..._op_MalformedTimestampBodyDateTime.go.snap | 1 - ...i_op_MalformedTimestampBodyDefault.go.snap | 1 - ..._op_MalformedTimestampBodyHttpDate.go.snap | 1 - ...p_MalformedTimestampHeaderDateTime.go.snap | 1 - ...op_MalformedTimestampHeaderDefault.go.snap | 1 - ...i_op_MalformedTimestampHeaderEpoch.go.snap | 1 - ...i_op_MalformedTimestampPathDefault.go.snap | 1 - ...api_op_MalformedTimestampPathEpoch.go.snap | 1 - ..._op_MalformedTimestampPathHttpDate.go.snap | 1 - ..._op_MalformedTimestampQueryDefault.go.snap | 1 - ...pi_op_MalformedTimestampQueryEpoch.go.snap | 1 - ...op_MalformedTimestampQueryHttpDate.go.snap | 1 - .../snapshot/api_op_MalformedUnion.go.snap | 1 - .../snapshot/api_op_MediaTypeHeader.go.snap | 1 - .../api_op_NoInputAndNoOutput.go.snap | 1 - .../snapshot/api_op_NoInputAndOutput.go.snap | 1 - .../api_op_NullAndEmptyHeadersClient.go.snap | 1 - .../api_op_NullAndEmptyHeadersServer.go.snap | 1 - ..._op_OmitsNullSerializesEmptyString.go.snap | 1 - .../api_op_OmitsSerializingEmptyLists.go.snap | 1 - .../api_op_OperationWithDefaults.go.snap | 1 - ...pi_op_OperationWithNestedStructure.go.snap | 1 - .../snapshot/api_op_PostPlayerAction.go.snap | 1 - .../api_op_PostUnionWithJsonName.go.snap | 1 - .../api_op_PutWithContentEncoding.go.snap | 1 - ...i_op_QueryIdempotencyTokenAutoFill.go.snap | 1 - .../api_op_QueryParamsAsStringListMap.go.snap | 1 - .../snapshot/api_op_QueryPrecedence.go.snap | 1 - .../snapshot/api_op_RecursiveShapes.go.snap | 1 - .../api_op_ResponseCodeHttpFallback.go.snap | 1 - .../api_op_ResponseCodeRequired.go.snap | 1 - .../api_op_SimpleScalarProperties.go.snap | 1 - .../snapshot/api_op_SparseJsonLists.go.snap | 1 - .../snapshot/api_op_SparseJsonMaps.go.snap | 1 - .../snapshot/api_op_StreamingTraits.go.snap | 1 - ...pi_op_StreamingTraitsRequireLength.go.snap | 1 - ...pi_op_StreamingTraitsWithMediaType.go.snap | 1 - .../snapshot/api_op_TestBodyStructure.go.snap | 1 - .../api_op_TestGetNoInputNoPayload.go.snap | 1 - .../snapshot/api_op_TestGetNoPayload.go.snap | 1 - .../snapshot/api_op_TestPayloadBlob.go.snap | 1 - .../api_op_TestPayloadStructure.go.snap | 1 - .../api_op_TestPostNoInputNoPayload.go.snap | 1 - .../snapshot/api_op_TestPostNoPayload.go.snap | 1 - .../api_op_TimestampFormatHeaders.go.snap | 1 - .../api_op_UnitInputAndOutput.go.snap | 1 - internal/protocoltest/ec2query/api_client.go | 31 -- .../ec2query/api_op_DatetimeOffsets.go | 3 - .../api_op_EmptyInputAndEmptyOutput.go | 3 - .../ec2query/api_op_EndpointOperation.go | 3 - .../api_op_EndpointWithHostLabelOperation.go | 3 - .../ec2query/api_op_FractionalSeconds.go | 3 - .../ec2query/api_op_GreetingWithErrors.go | 3 - .../ec2query/api_op_HostWithPathOperation.go | 3 - .../ec2query/api_op_IgnoresWrappingXmlName.go | 3 - .../ec2query/api_op_NestedStructures.go | 3 - .../ec2query/api_op_NoInputAndOutput.go | 3 - .../ec2query/api_op_PutWithContentEncoding.go | 3 - .../api_op_QueryIdempotencyTokenAutoFill.go | 3 - .../ec2query/api_op_QueryLists.go | 3 - .../ec2query/api_op_QueryTimestamps.go | 3 - .../ec2query/api_op_RecursiveXmlShapes.go | 3 - .../ec2query/api_op_SimpleInputParams.go | 3 - .../api_op_SimpleScalarXmlProperties.go | 3 - .../protocoltest/ec2query/api_op_XmlBlobs.go | 3 - .../ec2query/api_op_XmlEmptyBlobs.go | 3 - .../ec2query/api_op_XmlEmptyLists.go | 3 - .../protocoltest/ec2query/api_op_XmlEnums.go | 3 - .../ec2query/api_op_XmlIntEnums.go | 3 - .../protocoltest/ec2query/api_op_XmlLists.go | 3 - .../ec2query/api_op_XmlNamespaces.go | 3 - .../ec2query/api_op_XmlTimestamps.go | 3 - .../snapshot/api_op_DatetimeOffsets.go.snap | 1 - .../api_op_EmptyInputAndEmptyOutput.go.snap | 1 - .../snapshot/api_op_EndpointOperation.go.snap | 1 - ..._op_EndpointWithHostLabelOperation.go.snap | 1 - .../snapshot/api_op_FractionalSeconds.go.snap | 1 - .../api_op_GreetingWithErrors.go.snap | 1 - .../api_op_HostWithPathOperation.go.snap | 1 - .../api_op_IgnoresWrappingXmlName.go.snap | 1 - .../snapshot/api_op_NestedStructures.go.snap | 1 - .../snapshot/api_op_NoInputAndOutput.go.snap | 1 - .../api_op_PutWithContentEncoding.go.snap | 1 - ...i_op_QueryIdempotencyTokenAutoFill.go.snap | 1 - .../snapshot/api_op_QueryLists.go.snap | 1 - .../snapshot/api_op_QueryTimestamps.go.snap | 1 - .../api_op_RecursiveXmlShapes.go.snap | 1 - .../snapshot/api_op_SimpleInputParams.go.snap | 1 - .../api_op_SimpleScalarXmlProperties.go.snap | 1 - .../ec2query/snapshot/api_op_XmlBlobs.go.snap | 1 - .../snapshot/api_op_XmlEmptyBlobs.go.snap | 1 - .../snapshot/api_op_XmlEmptyLists.go.snap | 1 - .../ec2query/snapshot/api_op_XmlEnums.go.snap | 1 - .../snapshot/api_op_XmlIntEnums.go.snap | 1 - .../ec2query/snapshot/api_op_XmlLists.go.snap | 1 - .../snapshot/api_op_XmlNamespaces.go.snap | 1 - .../snapshot/api_op_XmlTimestamps.go.snap | 1 - internal/protocoltest/jsonrpc/api_client.go | 31 -- .../jsonrpc/api_op_ContentTypeParameters.go | 3 - .../jsonrpc/api_op_DatetimeOffsets.go | 3 - .../jsonrpc/api_op_EmptyOperation.go | 3 - .../jsonrpc/api_op_EndpointOperation.go | 3 - .../api_op_EndpointWithHostLabelOperation.go | 3 - .../jsonrpc/api_op_FractionalSeconds.go | 3 - .../jsonrpc/api_op_GreetingWithErrors.go | 3 - .../jsonrpc/api_op_HostWithPathOperation.go | 3 - .../protocoltest/jsonrpc/api_op_JsonEnums.go | 3 - .../jsonrpc/api_op_JsonIntEnums.go | 3 - .../protocoltest/jsonrpc/api_op_JsonUnions.go | 3 - .../jsonrpc/api_op_KitchenSinkOperation.go | 3 - .../jsonrpc/api_op_NullOperation.go | 3 - ...api_op_OperationWithOptionalInputOutput.go | 3 - .../api_op_PutAndGetInlineDocuments.go | 3 - .../jsonrpc/api_op_PutWithContentEncoding.go | 3 - .../jsonrpc/api_op_SimpleScalarProperties.go | 3 - .../jsonrpc/api_op_SparseNullsOperation.go | 3 - .../api_op_ContentTypeParameters.go.snap | 1 - .../snapshot/api_op_DatetimeOffsets.go.snap | 1 - .../snapshot/api_op_EmptyOperation.go.snap | 1 - .../snapshot/api_op_EndpointOperation.go.snap | 1 - ..._op_EndpointWithHostLabelOperation.go.snap | 1 - .../snapshot/api_op_FractionalSeconds.go.snap | 1 - .../api_op_GreetingWithErrors.go.snap | 1 - .../api_op_HostWithPathOperation.go.snap | 1 - .../jsonrpc/snapshot/api_op_JsonEnums.go.snap | 1 - .../snapshot/api_op_JsonIntEnums.go.snap | 1 - .../snapshot/api_op_JsonUnions.go.snap | 1 - .../api_op_KitchenSinkOperation.go.snap | 1 - .../snapshot/api_op_NullOperation.go.snap | 1 - ...p_OperationWithOptionalInputOutput.go.snap | 1 - .../api_op_PutAndGetInlineDocuments.go.snap | 1 - .../api_op_PutWithContentEncoding.go.snap | 1 - .../api_op_SimpleScalarProperties.go.snap | 1 - .../api_op_SparseNullsOperation.go.snap | 1 - internal/protocoltest/jsonrpc10/api_client.go | 31 -- .../jsonrpc10/api_op_ContentTypeParameters.go | 3 - .../api_op_EmptyInputAndEmptyOutput.go | 3 - .../jsonrpc10/api_op_EndpointOperation.go | 3 - .../api_op_EndpointWithHostLabelOperation.go | 3 - .../jsonrpc10/api_op_GreetingWithErrors.go | 3 - .../jsonrpc10/api_op_HostWithPathOperation.go | 3 - .../jsonrpc10/api_op_JsonUnions.go | 3 - .../jsonrpc10/api_op_NoInputAndNoOutput.go | 3 - .../jsonrpc10/api_op_NoInputAndOutput.go | 3 - .../jsonrpc10/api_op_OperationWithDefaults.go | 3 - .../api_op_OperationWithNestedStructure.go | 3 - .../api_op_OperationWithRequiredMembers.go | 3 - ...perationWithRequiredMembersWithDefaults.go | 3 - .../api_op_PutWithContentEncoding.go | 3 - .../api_op_SimpleScalarProperties.go | 3 - .../api_op_ContentTypeParameters.go.snap | 1 - .../api_op_EmptyInputAndEmptyOutput.go.snap | 1 - .../snapshot/api_op_EndpointOperation.go.snap | 1 - ..._op_EndpointWithHostLabelOperation.go.snap | 1 - .../api_op_GreetingWithErrors.go.snap | 1 - .../api_op_HostWithPathOperation.go.snap | 1 - .../snapshot/api_op_JsonUnions.go.snap | 1 - .../api_op_NoInputAndNoOutput.go.snap | 1 - .../snapshot/api_op_NoInputAndOutput.go.snap | 1 - .../api_op_OperationWithDefaults.go.snap | 1 - ...pi_op_OperationWithNestedStructure.go.snap | 1 - ...pi_op_OperationWithRequiredMembers.go.snap | 1 - ...ionWithRequiredMembersWithDefaults.go.snap | 1 - .../api_op_PutWithContentEncoding.go.snap | 1 - .../api_op_SimpleScalarProperties.go.snap | 1 - internal/protocoltest/query/api_client.go | 31 -- .../query/api_op_DatetimeOffsets.go | 3 - .../query/api_op_EmptyInputAndEmptyOutput.go | 3 - .../query/api_op_EndpointOperation.go | 3 - .../api_op_EndpointWithHostLabelOperation.go | 3 - .../query/api_op_FlattenedXmlMap.go | 3 - .../api_op_FlattenedXmlMapWithXmlName.go | 3 - .../api_op_FlattenedXmlMapWithXmlNamespace.go | 3 - .../query/api_op_FractionalSeconds.go | 3 - .../query/api_op_GreetingWithErrors.go | 3 - .../query/api_op_HostWithPathOperation.go | 3 - .../query/api_op_IgnoresWrappingXmlName.go | 3 - .../query/api_op_NestedStructures.go | 3 - .../query/api_op_NoInputAndNoOutput.go | 3 - .../query/api_op_NoInputAndOutput.go | 3 - .../query/api_op_PutWithContentEncoding.go | 3 - .../api_op_QueryIdempotencyTokenAutoFill.go | 3 - .../protocoltest/query/api_op_QueryLists.go | 3 - .../protocoltest/query/api_op_QueryMaps.go | 3 - .../query/api_op_QueryTimestamps.go | 3 - .../query/api_op_RecursiveXmlShapes.go | 3 - .../query/api_op_SimpleInputParams.go | 3 - .../query/api_op_SimpleScalarXmlProperties.go | 3 - .../protocoltest/query/api_op_XmlBlobs.go | 3 - .../query/api_op_XmlEmptyBlobs.go | 3 - .../query/api_op_XmlEmptyLists.go | 3 - .../protocoltest/query/api_op_XmlEmptyMaps.go | 3 - .../protocoltest/query/api_op_XmlEnums.go | 3 - .../protocoltest/query/api_op_XmlIntEnums.go | 3 - .../protocoltest/query/api_op_XmlLists.go | 3 - internal/protocoltest/query/api_op_XmlMaps.go | 3 - .../query/api_op_XmlMapsXmlName.go | 3 - .../query/api_op_XmlNamespaces.go | 3 - .../query/api_op_XmlTimestamps.go | 3 - .../snapshot/api_op_DatetimeOffsets.go.snap | 1 - .../api_op_EmptyInputAndEmptyOutput.go.snap | 1 - .../snapshot/api_op_EndpointOperation.go.snap | 1 - ..._op_EndpointWithHostLabelOperation.go.snap | 1 - .../snapshot/api_op_FlattenedXmlMap.go.snap | 1 - .../api_op_FlattenedXmlMapWithXmlName.go.snap | 1 - ...op_FlattenedXmlMapWithXmlNamespace.go.snap | 1 - .../snapshot/api_op_FractionalSeconds.go.snap | 1 - .../api_op_GreetingWithErrors.go.snap | 1 - .../api_op_HostWithPathOperation.go.snap | 1 - .../api_op_IgnoresWrappingXmlName.go.snap | 1 - .../snapshot/api_op_NestedStructures.go.snap | 1 - .../api_op_NoInputAndNoOutput.go.snap | 1 - .../snapshot/api_op_NoInputAndOutput.go.snap | 1 - .../api_op_PutWithContentEncoding.go.snap | 1 - ...i_op_QueryIdempotencyTokenAutoFill.go.snap | 1 - .../query/snapshot/api_op_QueryLists.go.snap | 1 - .../query/snapshot/api_op_QueryMaps.go.snap | 1 - .../snapshot/api_op_QueryTimestamps.go.snap | 1 - .../api_op_RecursiveXmlShapes.go.snap | 1 - .../snapshot/api_op_SimpleInputParams.go.snap | 1 - .../api_op_SimpleScalarXmlProperties.go.snap | 1 - .../query/snapshot/api_op_XmlBlobs.go.snap | 1 - .../snapshot/api_op_XmlEmptyBlobs.go.snap | 1 - .../snapshot/api_op_XmlEmptyLists.go.snap | 1 - .../snapshot/api_op_XmlEmptyMaps.go.snap | 1 - .../query/snapshot/api_op_XmlEnums.go.snap | 1 - .../query/snapshot/api_op_XmlIntEnums.go.snap | 1 - .../query/snapshot/api_op_XmlLists.go.snap | 1 - .../query/snapshot/api_op_XmlMaps.go.snap | 1 - .../snapshot/api_op_XmlMapsXmlName.go.snap | 1 - .../snapshot/api_op_XmlNamespaces.go.snap | 1 - .../snapshot/api_op_XmlTimestamps.go.snap | 1 - internal/protocoltest/restxml/api_client.go | 31 -- .../restxml/api_op_AllQueryStringTypes.go | 3 - .../restxml/api_op_BodyWithXmlName.go | 3 - .../api_op_ConstantAndVariableQueryString.go | 3 - .../restxml/api_op_ConstantQueryString.go | 3 - .../restxml/api_op_ContentTypeParameters.go | 3 - .../restxml/api_op_DatetimeOffsets.go | 3 - .../api_op_EmptyInputAndEmptyOutput.go | 3 - .../restxml/api_op_EndpointOperation.go | 3 - ...op_EndpointWithHostLabelHeaderOperation.go | 3 - .../api_op_EndpointWithHostLabelOperation.go | 3 - .../restxml/api_op_FlattenedXmlMap.go | 3 - .../api_op_FlattenedXmlMapWithXmlName.go | 3 - .../api_op_FlattenedXmlMapWithXmlNamespace.go | 3 - .../restxml/api_op_FractionalSeconds.go | 3 - .../restxml/api_op_GreetingWithErrors.go | 3 - .../restxml/api_op_HttpEnumPayload.go | 3 - .../restxml/api_op_HttpPayloadTraits.go | 3 - .../api_op_HttpPayloadTraitsWithMediaType.go | 3 - .../api_op_HttpPayloadWithMemberXmlName.go | 3 - .../api_op_HttpPayloadWithStructure.go | 3 - .../restxml/api_op_HttpPayloadWithUnion.go | 3 - .../restxml/api_op_HttpPayloadWithXmlName.go | 3 - .../api_op_HttpPayloadWithXmlNamespace.go | 3 - ...op_HttpPayloadWithXmlNamespaceAndPrefix.go | 3 - .../restxml/api_op_HttpPrefixHeaders.go | 3 - .../api_op_HttpRequestWithFloatLabels.go | 3 - ...api_op_HttpRequestWithGreedyLabelInPath.go | 3 - .../restxml/api_op_HttpRequestWithLabels.go | 3 - ...HttpRequestWithLabelsAndTimestampFormat.go | 3 - .../restxml/api_op_HttpResponseCode.go | 3 - .../restxml/api_op_HttpStringPayload.go | 3 - .../api_op_IgnoreQueryParamsInResponse.go | 3 - .../api_op_InputAndOutputWithHeaders.go | 3 - .../restxml/api_op_NestedXmlMapWithXmlName.go | 3 - .../restxml/api_op_NestedXmlMaps.go | 3 - .../restxml/api_op_NoInputAndNoOutput.go | 3 - .../restxml/api_op_NoInputAndOutput.go | 3 - .../api_op_NullAndEmptyHeadersClient.go | 3 - .../api_op_NullAndEmptyHeadersServer.go | 3 - .../api_op_OmitsNullSerializesEmptyString.go | 3 - .../restxml/api_op_PutWithContentEncoding.go | 3 - .../api_op_QueryIdempotencyTokenAutoFill.go | 3 - .../api_op_QueryParamsAsStringListMap.go | 3 - .../restxml/api_op_QueryPrecedence.go | 3 - .../restxml/api_op_RecursiveShapes.go | 3 - .../restxml/api_op_SimpleScalarProperties.go | 3 - .../restxml/api_op_TimestampFormatHeaders.go | 3 - .../restxml/api_op_XmlAttributes.go | 3 - .../restxml/api_op_XmlAttributesOnPayload.go | 3 - .../protocoltest/restxml/api_op_XmlBlobs.go | 3 - .../restxml/api_op_XmlEmptyBlobs.go | 3 - .../restxml/api_op_XmlEmptyLists.go | 3 - .../restxml/api_op_XmlEmptyMaps.go | 3 - .../restxml/api_op_XmlEmptyStrings.go | 3 - .../protocoltest/restxml/api_op_XmlEnums.go | 3 - .../restxml/api_op_XmlIntEnums.go | 3 - .../protocoltest/restxml/api_op_XmlLists.go | 3 - .../restxml/api_op_XmlMapWithXmlNamespace.go | 3 - .../protocoltest/restxml/api_op_XmlMaps.go | 3 - .../restxml/api_op_XmlMapsXmlName.go | 3 - .../restxml/api_op_XmlNamespaces.go | 3 - .../restxml/api_op_XmlTimestamps.go | 3 - .../protocoltest/restxml/api_op_XmlUnions.go | 3 - .../api_op_AllQueryStringTypes.go.snap | 1 - .../snapshot/api_op_BodyWithXmlName.go.snap | 1 - ..._op_ConstantAndVariableQueryString.go.snap | 1 - .../api_op_ConstantQueryString.go.snap | 1 - .../api_op_ContentTypeParameters.go.snap | 1 - .../snapshot/api_op_DatetimeOffsets.go.snap | 1 - .../api_op_EmptyInputAndEmptyOutput.go.snap | 1 - .../snapshot/api_op_EndpointOperation.go.snap | 1 - ...dpointWithHostLabelHeaderOperation.go.snap | 1 - ..._op_EndpointWithHostLabelOperation.go.snap | 1 - .../snapshot/api_op_FlattenedXmlMap.go.snap | 1 - .../api_op_FlattenedXmlMapWithXmlName.go.snap | 1 - ...op_FlattenedXmlMapWithXmlNamespace.go.snap | 1 - .../snapshot/api_op_FractionalSeconds.go.snap | 1 - .../api_op_GreetingWithErrors.go.snap | 1 - .../snapshot/api_op_HttpEnumPayload.go.snap | 1 - .../snapshot/api_op_HttpPayloadTraits.go.snap | 1 - ..._op_HttpPayloadTraitsWithMediaType.go.snap | 1 - ...pi_op_HttpPayloadWithMemberXmlName.go.snap | 1 - .../api_op_HttpPayloadWithStructure.go.snap | 1 - .../api_op_HttpPayloadWithUnion.go.snap | 1 - .../api_op_HttpPayloadWithXmlName.go.snap | 1 - ...api_op_HttpPayloadWithXmlNamespace.go.snap | 1 - ...tpPayloadWithXmlNamespaceAndPrefix.go.snap | 1 - .../snapshot/api_op_HttpPrefixHeaders.go.snap | 1 - .../api_op_HttpRequestWithFloatLabels.go.snap | 1 - ...p_HttpRequestWithGreedyLabelInPath.go.snap | 1 - .../api_op_HttpRequestWithLabels.go.snap | 1 - ...equestWithLabelsAndTimestampFormat.go.snap | 1 - .../snapshot/api_op_HttpResponseCode.go.snap | 1 - .../snapshot/api_op_HttpStringPayload.go.snap | 1 - ...api_op_IgnoreQueryParamsInResponse.go.snap | 1 - .../api_op_InputAndOutputWithHeaders.go.snap | 1 - .../api_op_NestedXmlMapWithXmlName.go.snap | 1 - .../snapshot/api_op_NestedXmlMaps.go.snap | 1 - .../api_op_NoInputAndNoOutput.go.snap | 1 - .../snapshot/api_op_NoInputAndOutput.go.snap | 1 - .../api_op_NullAndEmptyHeadersClient.go.snap | 1 - .../api_op_NullAndEmptyHeadersServer.go.snap | 1 - ..._op_OmitsNullSerializesEmptyString.go.snap | 1 - .../api_op_PutWithContentEncoding.go.snap | 1 - ...i_op_QueryIdempotencyTokenAutoFill.go.snap | 1 - .../api_op_QueryParamsAsStringListMap.go.snap | 1 - .../snapshot/api_op_QueryPrecedence.go.snap | 1 - .../snapshot/api_op_RecursiveShapes.go.snap | 1 - .../api_op_SimpleScalarProperties.go.snap | 1 - .../api_op_TimestampFormatHeaders.go.snap | 1 - .../snapshot/api_op_XmlAttributes.go.snap | 1 - .../api_op_XmlAttributesOnPayload.go.snap | 1 - .../restxml/snapshot/api_op_XmlBlobs.go.snap | 1 - .../snapshot/api_op_XmlEmptyBlobs.go.snap | 1 - .../snapshot/api_op_XmlEmptyLists.go.snap | 1 - .../snapshot/api_op_XmlEmptyMaps.go.snap | 1 - .../snapshot/api_op_XmlEmptyStrings.go.snap | 1 - .../restxml/snapshot/api_op_XmlEnums.go.snap | 1 - .../snapshot/api_op_XmlIntEnums.go.snap | 1 - .../restxml/snapshot/api_op_XmlLists.go.snap | 1 - .../api_op_XmlMapWithXmlNamespace.go.snap | 1 - .../restxml/snapshot/api_op_XmlMaps.go.snap | 1 - .../snapshot/api_op_XmlMapsXmlName.go.snap | 1 - .../snapshot/api_op_XmlNamespaces.go.snap | 1 - .../snapshot/api_op_XmlTimestamps.go.snap | 1 - .../restxml/snapshot/api_op_XmlUnions.go.snap | 1 - .../restxmlwithnamespace/api_client.go | 31 -- .../api_op_SimpleScalarProperties.go | 3 - .../api_op_SimpleScalarProperties.go.snap | 1 - service/accessanalyzer/api_client.go | 31 -- .../accessanalyzer/api_op_ApplyArchiveRule.go | 3 - .../api_op_CancelPolicyGeneration.go | 3 - .../api_op_CheckAccessNotGranted.go | 3 - .../accessanalyzer/api_op_CheckNoNewAccess.go | 3 - .../api_op_CheckNoPublicAccess.go | 3 - .../api_op_CreateAccessPreview.go | 3 - .../accessanalyzer/api_op_CreateAnalyzer.go | 3 - .../api_op_CreateArchiveRule.go | 3 - .../accessanalyzer/api_op_DeleteAnalyzer.go | 3 - .../api_op_DeleteArchiveRule.go | 3 - .../api_op_GenerateFindingRecommendation.go | 3 - .../accessanalyzer/api_op_GetAccessPreview.go | 3 - .../api_op_GetAnalyzedResource.go | 3 - service/accessanalyzer/api_op_GetAnalyzer.go | 3 - .../accessanalyzer/api_op_GetArchiveRule.go | 3 - service/accessanalyzer/api_op_GetFinding.go | 3 - .../api_op_GetFindingRecommendation.go | 3 - service/accessanalyzer/api_op_GetFindingV2.go | 3 - .../api_op_GetFindingsStatistics.go | 3 - .../api_op_GetGeneratedPolicy.go | 3 - .../api_op_ListAccessPreviewFindings.go | 3 - .../api_op_ListAccessPreviews.go | 3 - .../api_op_ListAnalyzedResources.go | 3 - .../accessanalyzer/api_op_ListAnalyzers.go | 3 - .../accessanalyzer/api_op_ListArchiveRules.go | 3 - service/accessanalyzer/api_op_ListFindings.go | 3 - .../accessanalyzer/api_op_ListFindingsV2.go | 3 - .../api_op_ListPolicyGenerations.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_StartPolicyGeneration.go | 3 - .../api_op_StartResourceScan.go | 3 - service/accessanalyzer/api_op_TagResource.go | 3 - .../accessanalyzer/api_op_UntagResource.go | 3 - .../accessanalyzer/api_op_UpdateAnalyzer.go | 3 - .../api_op_UpdateArchiveRule.go | 3 - .../accessanalyzer/api_op_UpdateFindings.go | 3 - .../accessanalyzer/api_op_ValidatePolicy.go | 3 - .../snapshot/api_op_ApplyArchiveRule.go.snap | 1 - .../api_op_CancelPolicyGeneration.go.snap | 1 - .../api_op_CheckAccessNotGranted.go.snap | 1 - .../snapshot/api_op_CheckNoNewAccess.go.snap | 1 - .../api_op_CheckNoPublicAccess.go.snap | 1 - .../api_op_CreateAccessPreview.go.snap | 1 - .../snapshot/api_op_CreateAnalyzer.go.snap | 1 - .../snapshot/api_op_CreateArchiveRule.go.snap | 1 - .../snapshot/api_op_DeleteAnalyzer.go.snap | 1 - .../snapshot/api_op_DeleteArchiveRule.go.snap | 1 - ...i_op_GenerateFindingRecommendation.go.snap | 1 - .../snapshot/api_op_GetAccessPreview.go.snap | 1 - .../api_op_GetAnalyzedResource.go.snap | 1 - .../snapshot/api_op_GetAnalyzer.go.snap | 1 - .../snapshot/api_op_GetArchiveRule.go.snap | 1 - .../snapshot/api_op_GetFinding.go.snap | 1 - .../api_op_GetFindingRecommendation.go.snap | 1 - .../snapshot/api_op_GetFindingV2.go.snap | 1 - .../api_op_GetFindingsStatistics.go.snap | 1 - .../api_op_GetGeneratedPolicy.go.snap | 1 - .../api_op_ListAccessPreviewFindings.go.snap | 1 - .../api_op_ListAccessPreviews.go.snap | 1 - .../api_op_ListAnalyzedResources.go.snap | 1 - .../snapshot/api_op_ListAnalyzers.go.snap | 1 - .../snapshot/api_op_ListArchiveRules.go.snap | 1 - .../snapshot/api_op_ListFindings.go.snap | 1 - .../snapshot/api_op_ListFindingsV2.go.snap | 1 - .../api_op_ListPolicyGenerations.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_StartPolicyGeneration.go.snap | 1 - .../snapshot/api_op_StartResourceScan.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateAnalyzer.go.snap | 1 - .../snapshot/api_op_UpdateArchiveRule.go.snap | 1 - .../snapshot/api_op_UpdateFindings.go.snap | 1 - .../snapshot/api_op_ValidatePolicy.go.snap | 1 - service/account/api_client.go | 31 -- .../api_op_AcceptPrimaryEmailUpdate.go | 3 - .../account/api_op_DeleteAlternateContact.go | 3 - service/account/api_op_DisableRegion.go | 3 - service/account/api_op_EnableRegion.go | 3 - service/account/api_op_GetAlternateContact.go | 3 - .../account/api_op_GetContactInformation.go | 3 - service/account/api_op_GetPrimaryEmail.go | 3 - service/account/api_op_GetRegionOptStatus.go | 3 - service/account/api_op_ListRegions.go | 3 - service/account/api_op_PutAlternateContact.go | 3 - .../account/api_op_PutContactInformation.go | 3 - .../account/api_op_StartPrimaryEmailUpdate.go | 3 - .../api_op_AcceptPrimaryEmailUpdate.go.snap | 1 - .../api_op_DeleteAlternateContact.go.snap | 1 - .../snapshot/api_op_DisableRegion.go.snap | 1 - .../snapshot/api_op_EnableRegion.go.snap | 1 - .../api_op_GetAlternateContact.go.snap | 1 - .../api_op_GetContactInformation.go.snap | 1 - .../snapshot/api_op_GetPrimaryEmail.go.snap | 1 - .../api_op_GetRegionOptStatus.go.snap | 1 - .../snapshot/api_op_ListRegions.go.snap | 1 - .../api_op_PutAlternateContact.go.snap | 1 - .../api_op_PutContactInformation.go.snap | 1 - .../api_op_StartPrimaryEmailUpdate.go.snap | 1 - service/acm/api_client.go | 31 -- service/acm/api_op_AddTagsToCertificate.go | 3 - service/acm/api_op_DeleteCertificate.go | 3 - service/acm/api_op_DescribeCertificate.go | 3 - service/acm/api_op_ExportCertificate.go | 3 - service/acm/api_op_GetAccountConfiguration.go | 3 - service/acm/api_op_GetCertificate.go | 3 - service/acm/api_op_ImportCertificate.go | 3 - service/acm/api_op_ListCertificates.go | 3 - service/acm/api_op_ListTagsForCertificate.go | 3 - service/acm/api_op_PutAccountConfiguration.go | 3 - .../acm/api_op_RemoveTagsFromCertificate.go | 3 - service/acm/api_op_RenewCertificate.go | 3 - service/acm/api_op_RequestCertificate.go | 3 - service/acm/api_op_ResendValidationEmail.go | 3 - .../acm/api_op_UpdateCertificateOptions.go | 3 - .../api_op_AddTagsToCertificate.go.snap | 1 - .../snapshot/api_op_DeleteCertificate.go.snap | 1 - .../api_op_DescribeCertificate.go.snap | 1 - .../snapshot/api_op_ExportCertificate.go.snap | 1 - .../api_op_GetAccountConfiguration.go.snap | 1 - .../snapshot/api_op_GetCertificate.go.snap | 1 - .../snapshot/api_op_ImportCertificate.go.snap | 1 - .../snapshot/api_op_ListCertificates.go.snap | 1 - .../api_op_ListTagsForCertificate.go.snap | 1 - .../api_op_PutAccountConfiguration.go.snap | 1 - .../api_op_RemoveTagsFromCertificate.go.snap | 1 - .../snapshot/api_op_RenewCertificate.go.snap | 1 - .../api_op_RequestCertificate.go.snap | 1 - .../api_op_ResendValidationEmail.go.snap | 1 - .../api_op_UpdateCertificateOptions.go.snap | 1 - service/acmpca/api_client.go | 31 -- .../api_op_CreateCertificateAuthority.go | 3 - ...p_CreateCertificateAuthorityAuditReport.go | 3 - service/acmpca/api_op_CreatePermission.go | 3 - .../api_op_DeleteCertificateAuthority.go | 3 - service/acmpca/api_op_DeletePermission.go | 3 - service/acmpca/api_op_DeletePolicy.go | 3 - .../api_op_DescribeCertificateAuthority.go | 3 - ...DescribeCertificateAuthorityAuditReport.go | 3 - service/acmpca/api_op_GetCertificate.go | 3 - ...i_op_GetCertificateAuthorityCertificate.go | 3 - .../api_op_GetCertificateAuthorityCsr.go | 3 - service/acmpca/api_op_GetPolicy.go | 3 - ...p_ImportCertificateAuthorityCertificate.go | 3 - service/acmpca/api_op_IssueCertificate.go | 3 - .../api_op_ListCertificateAuthorities.go | 3 - service/acmpca/api_op_ListPermissions.go | 3 - service/acmpca/api_op_ListTags.go | 3 - service/acmpca/api_op_PutPolicy.go | 3 - .../api_op_RestoreCertificateAuthority.go | 3 - service/acmpca/api_op_RevokeCertificate.go | 3 - .../acmpca/api_op_TagCertificateAuthority.go | 3 - .../api_op_UntagCertificateAuthority.go | 3 - .../api_op_UpdateCertificateAuthority.go | 3 - .../api_op_CreateCertificateAuthority.go.snap | 1 - ...ateCertificateAuthorityAuditReport.go.snap | 1 - .../snapshot/api_op_CreatePermission.go.snap | 1 - .../api_op_DeleteCertificateAuthority.go.snap | 1 - .../snapshot/api_op_DeletePermission.go.snap | 1 - .../snapshot/api_op_DeletePolicy.go.snap | 1 - ...pi_op_DescribeCertificateAuthority.go.snap | 1 - ...ibeCertificateAuthorityAuditReport.go.snap | 1 - .../snapshot/api_op_GetCertificate.go.snap | 1 - ...GetCertificateAuthorityCertificate.go.snap | 1 - .../api_op_GetCertificateAuthorityCsr.go.snap | 1 - .../acmpca/snapshot/api_op_GetPolicy.go.snap | 1 - ...ortCertificateAuthorityCertificate.go.snap | 1 - .../snapshot/api_op_IssueCertificate.go.snap | 1 - .../api_op_ListCertificateAuthorities.go.snap | 1 - .../snapshot/api_op_ListPermissions.go.snap | 1 - .../acmpca/snapshot/api_op_ListTags.go.snap | 1 - .../acmpca/snapshot/api_op_PutPolicy.go.snap | 1 - ...api_op_RestoreCertificateAuthority.go.snap | 1 - .../snapshot/api_op_RevokeCertificate.go.snap | 1 - .../api_op_TagCertificateAuthority.go.snap | 1 - .../api_op_UntagCertificateAuthority.go.snap | 1 - .../api_op_UpdateCertificateAuthority.go.snap | 1 - service/amp/api_client.go | 31 -- .../api_op_CreateAlertManagerDefinition.go | 3 - .../amp/api_op_CreateLoggingConfiguration.go | 3 - .../amp/api_op_CreateRuleGroupsNamespace.go | 3 - service/amp/api_op_CreateScraper.go | 3 - service/amp/api_op_CreateWorkspace.go | 3 - .../api_op_DeleteAlertManagerDefinition.go | 3 - .../amp/api_op_DeleteLoggingConfiguration.go | 3 - .../amp/api_op_DeleteRuleGroupsNamespace.go | 3 - service/amp/api_op_DeleteScraper.go | 3 - service/amp/api_op_DeleteWorkspace.go | 3 - .../api_op_DescribeAlertManagerDefinition.go | 3 - .../api_op_DescribeLoggingConfiguration.go | 3 - .../amp/api_op_DescribeRuleGroupsNamespace.go | 3 - service/amp/api_op_DescribeScraper.go | 3 - service/amp/api_op_DescribeWorkspace.go | 3 - .../api_op_GetDefaultScraperConfiguration.go | 3 - .../amp/api_op_ListRuleGroupsNamespaces.go | 3 - service/amp/api_op_ListScrapers.go | 3 - service/amp/api_op_ListTagsForResource.go | 3 - service/amp/api_op_ListWorkspaces.go | 3 - .../amp/api_op_PutAlertManagerDefinition.go | 3 - service/amp/api_op_PutRuleGroupsNamespace.go | 3 - service/amp/api_op_TagResource.go | 3 - service/amp/api_op_UntagResource.go | 3 - .../amp/api_op_UpdateLoggingConfiguration.go | 3 - service/amp/api_op_UpdateScraper.go | 3 - service/amp/api_op_UpdateWorkspaceAlias.go | 3 - ...pi_op_CreateAlertManagerDefinition.go.snap | 1 - .../api_op_CreateLoggingConfiguration.go.snap | 1 - .../api_op_CreateRuleGroupsNamespace.go.snap | 1 - .../amp/snapshot/api_op_CreateScraper.go.snap | 1 - .../snapshot/api_op_CreateWorkspace.go.snap | 1 - ...pi_op_DeleteAlertManagerDefinition.go.snap | 1 - .../api_op_DeleteLoggingConfiguration.go.snap | 1 - .../api_op_DeleteRuleGroupsNamespace.go.snap | 1 - .../amp/snapshot/api_op_DeleteScraper.go.snap | 1 - .../snapshot/api_op_DeleteWorkspace.go.snap | 1 - ..._op_DescribeAlertManagerDefinition.go.snap | 1 - ...pi_op_DescribeLoggingConfiguration.go.snap | 1 - ...api_op_DescribeRuleGroupsNamespace.go.snap | 1 - .../snapshot/api_op_DescribeScraper.go.snap | 1 - .../snapshot/api_op_DescribeWorkspace.go.snap | 1 - ..._op_GetDefaultScraperConfiguration.go.snap | 1 - .../api_op_ListRuleGroupsNamespaces.go.snap | 1 - .../amp/snapshot/api_op_ListScrapers.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListWorkspaces.go.snap | 1 - .../api_op_PutAlertManagerDefinition.go.snap | 1 - .../api_op_PutRuleGroupsNamespace.go.snap | 1 - .../amp/snapshot/api_op_TagResource.go.snap | 1 - .../amp/snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateLoggingConfiguration.go.snap | 1 - .../amp/snapshot/api_op_UpdateScraper.go.snap | 1 - .../api_op_UpdateWorkspaceAlias.go.snap | 1 - service/amplify/api_client.go | 31 -- service/amplify/api_op_CreateApp.go | 3 - .../api_op_CreateBackendEnvironment.go | 3 - service/amplify/api_op_CreateBranch.go | 3 - service/amplify/api_op_CreateDeployment.go | 3 - .../amplify/api_op_CreateDomainAssociation.go | 3 - service/amplify/api_op_CreateWebhook.go | 3 - service/amplify/api_op_DeleteApp.go | 3 - .../api_op_DeleteBackendEnvironment.go | 3 - service/amplify/api_op_DeleteBranch.go | 3 - .../amplify/api_op_DeleteDomainAssociation.go | 3 - service/amplify/api_op_DeleteJob.go | 3 - service/amplify/api_op_DeleteWebhook.go | 3 - service/amplify/api_op_GenerateAccessLogs.go | 3 - service/amplify/api_op_GetApp.go | 3 - service/amplify/api_op_GetArtifactUrl.go | 3 - .../amplify/api_op_GetBackendEnvironment.go | 3 - service/amplify/api_op_GetBranch.go | 3 - .../amplify/api_op_GetDomainAssociation.go | 3 - service/amplify/api_op_GetJob.go | 3 - service/amplify/api_op_GetWebhook.go | 3 - service/amplify/api_op_ListApps.go | 3 - service/amplify/api_op_ListArtifacts.go | 3 - .../amplify/api_op_ListBackendEnvironments.go | 3 - service/amplify/api_op_ListBranches.go | 3 - .../amplify/api_op_ListDomainAssociations.go | 3 - service/amplify/api_op_ListJobs.go | 3 - service/amplify/api_op_ListTagsForResource.go | 3 - service/amplify/api_op_ListWebhooks.go | 3 - service/amplify/api_op_StartDeployment.go | 3 - service/amplify/api_op_StartJob.go | 3 - service/amplify/api_op_StopJob.go | 3 - service/amplify/api_op_TagResource.go | 3 - service/amplify/api_op_UntagResource.go | 3 - service/amplify/api_op_UpdateApp.go | 3 - service/amplify/api_op_UpdateBranch.go | 3 - .../amplify/api_op_UpdateDomainAssociation.go | 3 - service/amplify/api_op_UpdateWebhook.go | 3 - .../amplify/snapshot/api_op_CreateApp.go.snap | 1 - .../api_op_CreateBackendEnvironment.go.snap | 1 - .../snapshot/api_op_CreateBranch.go.snap | 1 - .../snapshot/api_op_CreateDeployment.go.snap | 1 - .../api_op_CreateDomainAssociation.go.snap | 1 - .../snapshot/api_op_CreateWebhook.go.snap | 1 - .../amplify/snapshot/api_op_DeleteApp.go.snap | 1 - .../api_op_DeleteBackendEnvironment.go.snap | 1 - .../snapshot/api_op_DeleteBranch.go.snap | 1 - .../api_op_DeleteDomainAssociation.go.snap | 1 - .../amplify/snapshot/api_op_DeleteJob.go.snap | 1 - .../snapshot/api_op_DeleteWebhook.go.snap | 1 - .../api_op_GenerateAccessLogs.go.snap | 1 - .../amplify/snapshot/api_op_GetApp.go.snap | 1 - .../snapshot/api_op_GetArtifactUrl.go.snap | 1 - .../api_op_GetBackendEnvironment.go.snap | 1 - .../amplify/snapshot/api_op_GetBranch.go.snap | 1 - .../api_op_GetDomainAssociation.go.snap | 1 - .../amplify/snapshot/api_op_GetJob.go.snap | 1 - .../snapshot/api_op_GetWebhook.go.snap | 1 - .../amplify/snapshot/api_op_ListApps.go.snap | 1 - .../snapshot/api_op_ListArtifacts.go.snap | 1 - .../api_op_ListBackendEnvironments.go.snap | 1 - .../snapshot/api_op_ListBranches.go.snap | 1 - .../api_op_ListDomainAssociations.go.snap | 1 - .../amplify/snapshot/api_op_ListJobs.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListWebhooks.go.snap | 1 - .../snapshot/api_op_StartDeployment.go.snap | 1 - .../amplify/snapshot/api_op_StartJob.go.snap | 1 - .../amplify/snapshot/api_op_StopJob.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../amplify/snapshot/api_op_UpdateApp.go.snap | 1 - .../snapshot/api_op_UpdateBranch.go.snap | 1 - .../api_op_UpdateDomainAssociation.go.snap | 1 - .../snapshot/api_op_UpdateWebhook.go.snap | 1 - service/amplifybackend/api_client.go | 31 -- service/amplifybackend/api_op_CloneBackend.go | 3 - .../amplifybackend/api_op_CreateBackend.go | 3 - .../amplifybackend/api_op_CreateBackendAPI.go | 3 - .../api_op_CreateBackendAuth.go | 3 - .../api_op_CreateBackendConfig.go | 3 - .../api_op_CreateBackendStorage.go | 3 - service/amplifybackend/api_op_CreateToken.go | 3 - .../amplifybackend/api_op_DeleteBackend.go | 3 - .../amplifybackend/api_op_DeleteBackendAPI.go | 3 - .../api_op_DeleteBackendAuth.go | 3 - .../api_op_DeleteBackendStorage.go | 3 - service/amplifybackend/api_op_DeleteToken.go | 3 - .../api_op_GenerateBackendAPIModels.go | 3 - service/amplifybackend/api_op_GetBackend.go | 3 - .../amplifybackend/api_op_GetBackendAPI.go | 3 - .../api_op_GetBackendAPIModels.go | 3 - .../amplifybackend/api_op_GetBackendAuth.go | 3 - .../amplifybackend/api_op_GetBackendJob.go | 3 - .../api_op_GetBackendStorage.go | 3 - service/amplifybackend/api_op_GetToken.go | 3 - .../api_op_ImportBackendAuth.go | 3 - .../api_op_ImportBackendStorage.go | 3 - .../amplifybackend/api_op_ListBackendJobs.go | 3 - .../amplifybackend/api_op_ListS3Buckets.go | 3 - .../api_op_RemoveAllBackends.go | 3 - .../api_op_RemoveBackendConfig.go | 3 - .../amplifybackend/api_op_UpdateBackendAPI.go | 3 - .../api_op_UpdateBackendAuth.go | 3 - .../api_op_UpdateBackendConfig.go | 3 - .../amplifybackend/api_op_UpdateBackendJob.go | 3 - .../api_op_UpdateBackendStorage.go | 3 - .../snapshot/api_op_CloneBackend.go.snap | 1 - .../snapshot/api_op_CreateBackend.go.snap | 1 - .../snapshot/api_op_CreateBackendAPI.go.snap | 1 - .../snapshot/api_op_CreateBackendAuth.go.snap | 1 - .../api_op_CreateBackendConfig.go.snap | 1 - .../api_op_CreateBackendStorage.go.snap | 1 - .../snapshot/api_op_CreateToken.go.snap | 1 - .../snapshot/api_op_DeleteBackend.go.snap | 1 - .../snapshot/api_op_DeleteBackendAPI.go.snap | 1 - .../snapshot/api_op_DeleteBackendAuth.go.snap | 1 - .../api_op_DeleteBackendStorage.go.snap | 1 - .../snapshot/api_op_DeleteToken.go.snap | 1 - .../api_op_GenerateBackendAPIModels.go.snap | 1 - .../snapshot/api_op_GetBackend.go.snap | 1 - .../snapshot/api_op_GetBackendAPI.go.snap | 1 - .../api_op_GetBackendAPIModels.go.snap | 1 - .../snapshot/api_op_GetBackendAuth.go.snap | 1 - .../snapshot/api_op_GetBackendJob.go.snap | 1 - .../snapshot/api_op_GetBackendStorage.go.snap | 1 - .../snapshot/api_op_GetToken.go.snap | 1 - .../snapshot/api_op_ImportBackendAuth.go.snap | 1 - .../api_op_ImportBackendStorage.go.snap | 1 - .../snapshot/api_op_ListBackendJobs.go.snap | 1 - .../snapshot/api_op_ListS3Buckets.go.snap | 1 - .../snapshot/api_op_RemoveAllBackends.go.snap | 1 - .../api_op_RemoveBackendConfig.go.snap | 1 - .../snapshot/api_op_UpdateBackendAPI.go.snap | 1 - .../snapshot/api_op_UpdateBackendAuth.go.snap | 1 - .../api_op_UpdateBackendConfig.go.snap | 1 - .../snapshot/api_op_UpdateBackendJob.go.snap | 1 - .../api_op_UpdateBackendStorage.go.snap | 1 - service/amplifyuibuilder/api_client.go | 31 -- .../api_op_CreateComponent.go | 3 - service/amplifyuibuilder/api_op_CreateForm.go | 3 - .../amplifyuibuilder/api_op_CreateTheme.go | 3 - .../api_op_DeleteComponent.go | 3 - service/amplifyuibuilder/api_op_DeleteForm.go | 3 - .../amplifyuibuilder/api_op_DeleteTheme.go | 3 - .../api_op_ExchangeCodeForToken.go | 3 - .../api_op_ExportComponents.go | 3 - .../amplifyuibuilder/api_op_ExportForms.go | 3 - .../amplifyuibuilder/api_op_ExportThemes.go | 3 - .../amplifyuibuilder/api_op_GetCodegenJob.go | 3 - .../amplifyuibuilder/api_op_GetComponent.go | 3 - service/amplifyuibuilder/api_op_GetForm.go | 3 - .../amplifyuibuilder/api_op_GetMetadata.go | 3 - service/amplifyuibuilder/api_op_GetTheme.go | 3 - .../api_op_ListCodegenJobs.go | 3 - .../amplifyuibuilder/api_op_ListComponents.go | 3 - service/amplifyuibuilder/api_op_ListForms.go | 3 - .../api_op_ListTagsForResource.go | 3 - service/amplifyuibuilder/api_op_ListThemes.go | 3 - .../api_op_PutMetadataFlag.go | 3 - .../amplifyuibuilder/api_op_RefreshToken.go | 3 - .../api_op_StartCodegenJob.go | 3 - .../amplifyuibuilder/api_op_TagResource.go | 3 - .../amplifyuibuilder/api_op_UntagResource.go | 3 - .../api_op_UpdateComponent.go | 3 - service/amplifyuibuilder/api_op_UpdateForm.go | 3 - .../amplifyuibuilder/api_op_UpdateTheme.go | 3 - .../snapshot/api_op_CreateComponent.go.snap | 1 - .../snapshot/api_op_CreateForm.go.snap | 1 - .../snapshot/api_op_CreateTheme.go.snap | 1 - .../snapshot/api_op_DeleteComponent.go.snap | 1 - .../snapshot/api_op_DeleteForm.go.snap | 1 - .../snapshot/api_op_DeleteTheme.go.snap | 1 - .../api_op_ExchangeCodeForToken.go.snap | 1 - .../snapshot/api_op_ExportComponents.go.snap | 1 - .../snapshot/api_op_ExportForms.go.snap | 1 - .../snapshot/api_op_ExportThemes.go.snap | 1 - .../snapshot/api_op_GetCodegenJob.go.snap | 1 - .../snapshot/api_op_GetComponent.go.snap | 1 - .../snapshot/api_op_GetForm.go.snap | 1 - .../snapshot/api_op_GetMetadata.go.snap | 1 - .../snapshot/api_op_GetTheme.go.snap | 1 - .../snapshot/api_op_ListCodegenJobs.go.snap | 1 - .../snapshot/api_op_ListComponents.go.snap | 1 - .../snapshot/api_op_ListForms.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListThemes.go.snap | 1 - .../snapshot/api_op_PutMetadataFlag.go.snap | 1 - .../snapshot/api_op_RefreshToken.go.snap | 1 - .../snapshot/api_op_StartCodegenJob.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateComponent.go.snap | 1 - .../snapshot/api_op_UpdateForm.go.snap | 1 - .../snapshot/api_op_UpdateTheme.go.snap | 1 - service/apigateway/api_client.go | 31 -- service/apigateway/api_op_CreateApiKey.go | 3 - service/apigateway/api_op_CreateAuthorizer.go | 3 - .../api_op_CreateBasePathMapping.go | 3 - service/apigateway/api_op_CreateDeployment.go | 3 - .../api_op_CreateDocumentationPart.go | 3 - .../api_op_CreateDocumentationVersion.go | 3 - service/apigateway/api_op_CreateDomainName.go | 3 - ...pi_op_CreateDomainNameAccessAssociation.go | 3 - service/apigateway/api_op_CreateModel.go | 3 - .../api_op_CreateRequestValidator.go | 3 - service/apigateway/api_op_CreateResource.go | 3 - service/apigateway/api_op_CreateRestApi.go | 3 - service/apigateway/api_op_CreateStage.go | 3 - service/apigateway/api_op_CreateUsagePlan.go | 3 - .../apigateway/api_op_CreateUsagePlanKey.go | 3 - service/apigateway/api_op_CreateVpcLink.go | 3 - service/apigateway/api_op_DeleteApiKey.go | 3 - service/apigateway/api_op_DeleteAuthorizer.go | 3 - .../api_op_DeleteBasePathMapping.go | 3 - .../api_op_DeleteClientCertificate.go | 3 - service/apigateway/api_op_DeleteDeployment.go | 3 - .../api_op_DeleteDocumentationPart.go | 3 - .../api_op_DeleteDocumentationVersion.go | 3 - service/apigateway/api_op_DeleteDomainName.go | 3 - ...pi_op_DeleteDomainNameAccessAssociation.go | 3 - .../api_op_DeleteGatewayResponse.go | 3 - .../apigateway/api_op_DeleteIntegration.go | 3 - .../api_op_DeleteIntegrationResponse.go | 3 - service/apigateway/api_op_DeleteMethod.go | 3 - .../apigateway/api_op_DeleteMethodResponse.go | 3 - service/apigateway/api_op_DeleteModel.go | 3 - .../api_op_DeleteRequestValidator.go | 3 - service/apigateway/api_op_DeleteResource.go | 3 - service/apigateway/api_op_DeleteRestApi.go | 3 - service/apigateway/api_op_DeleteStage.go | 3 - service/apigateway/api_op_DeleteUsagePlan.go | 3 - .../apigateway/api_op_DeleteUsagePlanKey.go | 3 - service/apigateway/api_op_DeleteVpcLink.go | 3 - .../api_op_FlushStageAuthorizersCache.go | 3 - service/apigateway/api_op_FlushStageCache.go | 3 - .../api_op_GenerateClientCertificate.go | 3 - service/apigateway/api_op_GetAccount.go | 3 - service/apigateway/api_op_GetApiKey.go | 3 - service/apigateway/api_op_GetApiKeys.go | 3 - service/apigateway/api_op_GetAuthorizer.go | 3 - service/apigateway/api_op_GetAuthorizers.go | 3 - .../apigateway/api_op_GetBasePathMapping.go | 3 - .../apigateway/api_op_GetBasePathMappings.go | 3 - .../apigateway/api_op_GetClientCertificate.go | 3 - .../api_op_GetClientCertificates.go | 3 - service/apigateway/api_op_GetDeployment.go | 3 - service/apigateway/api_op_GetDeployments.go | 3 - .../apigateway/api_op_GetDocumentationPart.go | 3 - .../api_op_GetDocumentationParts.go | 3 - .../api_op_GetDocumentationVersion.go | 3 - .../api_op_GetDocumentationVersions.go | 3 - service/apigateway/api_op_GetDomainName.go | 3 - .../api_op_GetDomainNameAccessAssociations.go | 3 - service/apigateway/api_op_GetDomainNames.go | 3 - service/apigateway/api_op_GetExport.go | 3 - .../apigateway/api_op_GetGatewayResponse.go | 3 - .../apigateway/api_op_GetGatewayResponses.go | 3 - service/apigateway/api_op_GetIntegration.go | 3 - .../api_op_GetIntegrationResponse.go | 3 - service/apigateway/api_op_GetMethod.go | 3 - .../apigateway/api_op_GetMethodResponse.go | 3 - service/apigateway/api_op_GetModel.go | 3 - service/apigateway/api_op_GetModelTemplate.go | 3 - service/apigateway/api_op_GetModels.go | 3 - .../apigateway/api_op_GetRequestValidator.go | 3 - .../apigateway/api_op_GetRequestValidators.go | 3 - service/apigateway/api_op_GetResource.go | 3 - service/apigateway/api_op_GetResources.go | 3 - service/apigateway/api_op_GetRestApi.go | 3 - service/apigateway/api_op_GetRestApis.go | 3 - service/apigateway/api_op_GetSdk.go | 3 - service/apigateway/api_op_GetSdkType.go | 3 - service/apigateway/api_op_GetSdkTypes.go | 3 - service/apigateway/api_op_GetStage.go | 3 - service/apigateway/api_op_GetStages.go | 3 - service/apigateway/api_op_GetTags.go | 3 - service/apigateway/api_op_GetUsage.go | 3 - service/apigateway/api_op_GetUsagePlan.go | 3 - service/apigateway/api_op_GetUsagePlanKey.go | 3 - service/apigateway/api_op_GetUsagePlanKeys.go | 3 - service/apigateway/api_op_GetUsagePlans.go | 3 - service/apigateway/api_op_GetVpcLink.go | 3 - service/apigateway/api_op_GetVpcLinks.go | 3 - service/apigateway/api_op_ImportApiKeys.go | 3 - .../api_op_ImportDocumentationParts.go | 3 - service/apigateway/api_op_ImportRestApi.go | 3 - .../apigateway/api_op_PutGatewayResponse.go | 3 - service/apigateway/api_op_PutIntegration.go | 3 - .../api_op_PutIntegrationResponse.go | 3 - service/apigateway/api_op_PutMethod.go | 3 - .../apigateway/api_op_PutMethodResponse.go | 3 - service/apigateway/api_op_PutRestApi.go | 3 - ...pi_op_RejectDomainNameAccessAssociation.go | 3 - service/apigateway/api_op_TagResource.go | 3 - .../apigateway/api_op_TestInvokeAuthorizer.go | 3 - service/apigateway/api_op_TestInvokeMethod.go | 3 - service/apigateway/api_op_UntagResource.go | 3 - service/apigateway/api_op_UpdateAccount.go | 3 - service/apigateway/api_op_UpdateApiKey.go | 3 - service/apigateway/api_op_UpdateAuthorizer.go | 3 - .../api_op_UpdateBasePathMapping.go | 3 - .../api_op_UpdateClientCertificate.go | 3 - service/apigateway/api_op_UpdateDeployment.go | 3 - .../api_op_UpdateDocumentationPart.go | 3 - .../api_op_UpdateDocumentationVersion.go | 3 - service/apigateway/api_op_UpdateDomainName.go | 3 - .../api_op_UpdateGatewayResponse.go | 3 - .../apigateway/api_op_UpdateIntegration.go | 3 - .../api_op_UpdateIntegrationResponse.go | 3 - service/apigateway/api_op_UpdateMethod.go | 3 - .../apigateway/api_op_UpdateMethodResponse.go | 3 - service/apigateway/api_op_UpdateModel.go | 3 - .../api_op_UpdateRequestValidator.go | 3 - service/apigateway/api_op_UpdateResource.go | 3 - service/apigateway/api_op_UpdateRestApi.go | 3 - service/apigateway/api_op_UpdateStage.go | 3 - service/apigateway/api_op_UpdateUsage.go | 3 - service/apigateway/api_op_UpdateUsagePlan.go | 3 - service/apigateway/api_op_UpdateVpcLink.go | 3 - .../snapshot/api_op_CreateApiKey.go.snap | 1 - .../snapshot/api_op_CreateAuthorizer.go.snap | 1 - .../api_op_CreateBasePathMapping.go.snap | 1 - .../snapshot/api_op_CreateDeployment.go.snap | 1 - .../api_op_CreateDocumentationPart.go.snap | 1 - .../api_op_CreateDocumentationVersion.go.snap | 1 - .../snapshot/api_op_CreateDomainName.go.snap | 1 - ..._CreateDomainNameAccessAssociation.go.snap | 1 - .../snapshot/api_op_CreateModel.go.snap | 1 - .../api_op_CreateRequestValidator.go.snap | 1 - .../snapshot/api_op_CreateResource.go.snap | 1 - .../snapshot/api_op_CreateRestApi.go.snap | 1 - .../snapshot/api_op_CreateStage.go.snap | 1 - .../snapshot/api_op_CreateUsagePlan.go.snap | 1 - .../api_op_CreateUsagePlanKey.go.snap | 1 - .../snapshot/api_op_CreateVpcLink.go.snap | 1 - .../snapshot/api_op_DeleteApiKey.go.snap | 1 - .../snapshot/api_op_DeleteAuthorizer.go.snap | 1 - .../api_op_DeleteBasePathMapping.go.snap | 1 - .../api_op_DeleteClientCertificate.go.snap | 1 - .../snapshot/api_op_DeleteDeployment.go.snap | 1 - .../api_op_DeleteDocumentationPart.go.snap | 1 - .../api_op_DeleteDocumentationVersion.go.snap | 1 - .../snapshot/api_op_DeleteDomainName.go.snap | 1 - ..._DeleteDomainNameAccessAssociation.go.snap | 1 - .../api_op_DeleteGatewayResponse.go.snap | 1 - .../snapshot/api_op_DeleteIntegration.go.snap | 1 - .../api_op_DeleteIntegrationResponse.go.snap | 1 - .../snapshot/api_op_DeleteMethod.go.snap | 1 - .../api_op_DeleteMethodResponse.go.snap | 1 - .../snapshot/api_op_DeleteModel.go.snap | 1 - .../api_op_DeleteRequestValidator.go.snap | 1 - .../snapshot/api_op_DeleteResource.go.snap | 1 - .../snapshot/api_op_DeleteRestApi.go.snap | 1 - .../snapshot/api_op_DeleteStage.go.snap | 1 - .../snapshot/api_op_DeleteUsagePlan.go.snap | 1 - .../api_op_DeleteUsagePlanKey.go.snap | 1 - .../snapshot/api_op_DeleteVpcLink.go.snap | 1 - .../api_op_FlushStageAuthorizersCache.go.snap | 1 - .../snapshot/api_op_FlushStageCache.go.snap | 1 - .../api_op_GenerateClientCertificate.go.snap | 1 - .../snapshot/api_op_GetAccount.go.snap | 1 - .../snapshot/api_op_GetApiKey.go.snap | 1 - .../snapshot/api_op_GetApiKeys.go.snap | 1 - .../snapshot/api_op_GetAuthorizer.go.snap | 1 - .../snapshot/api_op_GetAuthorizers.go.snap | 1 - .../api_op_GetBasePathMapping.go.snap | 1 - .../api_op_GetBasePathMappings.go.snap | 1 - .../api_op_GetClientCertificate.go.snap | 1 - .../api_op_GetClientCertificates.go.snap | 1 - .../snapshot/api_op_GetDeployment.go.snap | 1 - .../snapshot/api_op_GetDeployments.go.snap | 1 - .../api_op_GetDocumentationPart.go.snap | 1 - .../api_op_GetDocumentationParts.go.snap | 1 - .../api_op_GetDocumentationVersion.go.snap | 1 - .../api_op_GetDocumentationVersions.go.snap | 1 - .../snapshot/api_op_GetDomainName.go.snap | 1 - ...op_GetDomainNameAccessAssociations.go.snap | 1 - .../snapshot/api_op_GetDomainNames.go.snap | 1 - .../snapshot/api_op_GetExport.go.snap | 1 - .../api_op_GetGatewayResponse.go.snap | 1 - .../api_op_GetGatewayResponses.go.snap | 1 - .../snapshot/api_op_GetIntegration.go.snap | 1 - .../api_op_GetIntegrationResponse.go.snap | 1 - .../snapshot/api_op_GetMethod.go.snap | 1 - .../snapshot/api_op_GetMethodResponse.go.snap | 1 - .../snapshot/api_op_GetModel.go.snap | 1 - .../snapshot/api_op_GetModelTemplate.go.snap | 1 - .../snapshot/api_op_GetModels.go.snap | 1 - .../api_op_GetRequestValidator.go.snap | 1 - .../api_op_GetRequestValidators.go.snap | 1 - .../snapshot/api_op_GetResource.go.snap | 1 - .../snapshot/api_op_GetResources.go.snap | 1 - .../snapshot/api_op_GetRestApi.go.snap | 1 - .../snapshot/api_op_GetRestApis.go.snap | 1 - .../apigateway/snapshot/api_op_GetSdk.go.snap | 1 - .../snapshot/api_op_GetSdkType.go.snap | 1 - .../snapshot/api_op_GetSdkTypes.go.snap | 1 - .../snapshot/api_op_GetStage.go.snap | 1 - .../snapshot/api_op_GetStages.go.snap | 1 - .../snapshot/api_op_GetTags.go.snap | 1 - .../snapshot/api_op_GetUsage.go.snap | 1 - .../snapshot/api_op_GetUsagePlan.go.snap | 1 - .../snapshot/api_op_GetUsagePlanKey.go.snap | 1 - .../snapshot/api_op_GetUsagePlanKeys.go.snap | 1 - .../snapshot/api_op_GetUsagePlans.go.snap | 1 - .../snapshot/api_op_GetVpcLink.go.snap | 1 - .../snapshot/api_op_GetVpcLinks.go.snap | 1 - .../snapshot/api_op_ImportApiKeys.go.snap | 1 - .../api_op_ImportDocumentationParts.go.snap | 1 - .../snapshot/api_op_ImportRestApi.go.snap | 1 - .../api_op_PutGatewayResponse.go.snap | 1 - .../snapshot/api_op_PutIntegration.go.snap | 1 - .../api_op_PutIntegrationResponse.go.snap | 1 - .../snapshot/api_op_PutMethod.go.snap | 1 - .../snapshot/api_op_PutMethodResponse.go.snap | 1 - .../snapshot/api_op_PutRestApi.go.snap | 1 - ..._RejectDomainNameAccessAssociation.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../api_op_TestInvokeAuthorizer.go.snap | 1 - .../snapshot/api_op_TestInvokeMethod.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateAccount.go.snap | 1 - .../snapshot/api_op_UpdateApiKey.go.snap | 1 - .../snapshot/api_op_UpdateAuthorizer.go.snap | 1 - .../api_op_UpdateBasePathMapping.go.snap | 1 - .../api_op_UpdateClientCertificate.go.snap | 1 - .../snapshot/api_op_UpdateDeployment.go.snap | 1 - .../api_op_UpdateDocumentationPart.go.snap | 1 - .../api_op_UpdateDocumentationVersion.go.snap | 1 - .../snapshot/api_op_UpdateDomainName.go.snap | 1 - .../api_op_UpdateGatewayResponse.go.snap | 1 - .../snapshot/api_op_UpdateIntegration.go.snap | 1 - .../api_op_UpdateIntegrationResponse.go.snap | 1 - .../snapshot/api_op_UpdateMethod.go.snap | 1 - .../api_op_UpdateMethodResponse.go.snap | 1 - .../snapshot/api_op_UpdateModel.go.snap | 1 - .../api_op_UpdateRequestValidator.go.snap | 1 - .../snapshot/api_op_UpdateResource.go.snap | 1 - .../snapshot/api_op_UpdateRestApi.go.snap | 1 - .../snapshot/api_op_UpdateStage.go.snap | 1 - .../snapshot/api_op_UpdateUsage.go.snap | 1 - .../snapshot/api_op_UpdateUsagePlan.go.snap | 1 - .../snapshot/api_op_UpdateVpcLink.go.snap | 1 - service/apigatewaymanagementapi/api_client.go | 31 -- .../api_op_DeleteConnection.go | 3 - .../api_op_GetConnection.go | 3 - .../api_op_PostToConnection.go | 3 - .../snapshot/api_op_DeleteConnection.go.snap | 1 - .../snapshot/api_op_GetConnection.go.snap | 1 - .../snapshot/api_op_PostToConnection.go.snap | 1 - service/apigatewayv2/api_client.go | 31 -- service/apigatewayv2/api_op_CreateApi.go | 3 - .../apigatewayv2/api_op_CreateApiMapping.go | 3 - .../apigatewayv2/api_op_CreateAuthorizer.go | 3 - .../apigatewayv2/api_op_CreateDeployment.go | 3 - .../apigatewayv2/api_op_CreateDomainName.go | 3 - .../apigatewayv2/api_op_CreateIntegration.go | 3 - .../api_op_CreateIntegrationResponse.go | 3 - service/apigatewayv2/api_op_CreateModel.go | 3 - service/apigatewayv2/api_op_CreateRoute.go | 3 - .../api_op_CreateRouteResponse.go | 3 - service/apigatewayv2/api_op_CreateStage.go | 3 - service/apigatewayv2/api_op_CreateVpcLink.go | 3 - .../api_op_DeleteAccessLogSettings.go | 3 - service/apigatewayv2/api_op_DeleteApi.go | 3 - .../apigatewayv2/api_op_DeleteApiMapping.go | 3 - .../apigatewayv2/api_op_DeleteAuthorizer.go | 3 - .../api_op_DeleteCorsConfiguration.go | 3 - .../apigatewayv2/api_op_DeleteDeployment.go | 3 - .../apigatewayv2/api_op_DeleteDomainName.go | 3 - .../apigatewayv2/api_op_DeleteIntegration.go | 3 - .../api_op_DeleteIntegrationResponse.go | 3 - service/apigatewayv2/api_op_DeleteModel.go | 3 - service/apigatewayv2/api_op_DeleteRoute.go | 3 - .../api_op_DeleteRouteRequestParameter.go | 3 - .../api_op_DeleteRouteResponse.go | 3 - .../api_op_DeleteRouteSettings.go | 3 - service/apigatewayv2/api_op_DeleteStage.go | 3 - service/apigatewayv2/api_op_DeleteVpcLink.go | 3 - service/apigatewayv2/api_op_ExportApi.go | 3 - service/apigatewayv2/api_op_GetApi.go | 3 - service/apigatewayv2/api_op_GetApiMapping.go | 3 - service/apigatewayv2/api_op_GetApiMappings.go | 3 - service/apigatewayv2/api_op_GetApis.go | 3 - service/apigatewayv2/api_op_GetAuthorizer.go | 3 - service/apigatewayv2/api_op_GetAuthorizers.go | 3 - service/apigatewayv2/api_op_GetDeployment.go | 3 - service/apigatewayv2/api_op_GetDeployments.go | 3 - service/apigatewayv2/api_op_GetDomainName.go | 3 - service/apigatewayv2/api_op_GetDomainNames.go | 3 - service/apigatewayv2/api_op_GetIntegration.go | 3 - .../api_op_GetIntegrationResponse.go | 3 - .../api_op_GetIntegrationResponses.go | 3 - .../apigatewayv2/api_op_GetIntegrations.go | 3 - service/apigatewayv2/api_op_GetModel.go | 3 - .../apigatewayv2/api_op_GetModelTemplate.go | 3 - service/apigatewayv2/api_op_GetModels.go | 3 - service/apigatewayv2/api_op_GetRoute.go | 3 - .../apigatewayv2/api_op_GetRouteResponse.go | 3 - .../apigatewayv2/api_op_GetRouteResponses.go | 3 - service/apigatewayv2/api_op_GetRoutes.go | 3 - service/apigatewayv2/api_op_GetStage.go | 3 - service/apigatewayv2/api_op_GetStages.go | 3 - service/apigatewayv2/api_op_GetTags.go | 3 - service/apigatewayv2/api_op_GetVpcLink.go | 3 - service/apigatewayv2/api_op_GetVpcLinks.go | 3 - service/apigatewayv2/api_op_ImportApi.go | 3 - service/apigatewayv2/api_op_ReimportApi.go | 3 - .../api_op_ResetAuthorizersCache.go | 3 - service/apigatewayv2/api_op_TagResource.go | 3 - service/apigatewayv2/api_op_UntagResource.go | 3 - service/apigatewayv2/api_op_UpdateApi.go | 3 - .../apigatewayv2/api_op_UpdateApiMapping.go | 3 - .../apigatewayv2/api_op_UpdateAuthorizer.go | 3 - .../apigatewayv2/api_op_UpdateDeployment.go | 3 - .../apigatewayv2/api_op_UpdateDomainName.go | 3 - .../apigatewayv2/api_op_UpdateIntegration.go | 3 - .../api_op_UpdateIntegrationResponse.go | 3 - service/apigatewayv2/api_op_UpdateModel.go | 3 - service/apigatewayv2/api_op_UpdateRoute.go | 3 - .../api_op_UpdateRouteResponse.go | 3 - service/apigatewayv2/api_op_UpdateStage.go | 3 - service/apigatewayv2/api_op_UpdateVpcLink.go | 3 - .../snapshot/api_op_CreateApi.go.snap | 1 - .../snapshot/api_op_CreateApiMapping.go.snap | 1 - .../snapshot/api_op_CreateAuthorizer.go.snap | 1 - .../snapshot/api_op_CreateDeployment.go.snap | 1 - .../snapshot/api_op_CreateDomainName.go.snap | 1 - .../snapshot/api_op_CreateIntegration.go.snap | 1 - .../api_op_CreateIntegrationResponse.go.snap | 1 - .../snapshot/api_op_CreateModel.go.snap | 1 - .../snapshot/api_op_CreateRoute.go.snap | 1 - .../api_op_CreateRouteResponse.go.snap | 1 - .../snapshot/api_op_CreateStage.go.snap | 1 - .../snapshot/api_op_CreateVpcLink.go.snap | 1 - .../api_op_DeleteAccessLogSettings.go.snap | 1 - .../snapshot/api_op_DeleteApi.go.snap | 1 - .../snapshot/api_op_DeleteApiMapping.go.snap | 1 - .../snapshot/api_op_DeleteAuthorizer.go.snap | 1 - .../api_op_DeleteCorsConfiguration.go.snap | 1 - .../snapshot/api_op_DeleteDeployment.go.snap | 1 - .../snapshot/api_op_DeleteDomainName.go.snap | 1 - .../snapshot/api_op_DeleteIntegration.go.snap | 1 - .../api_op_DeleteIntegrationResponse.go.snap | 1 - .../snapshot/api_op_DeleteModel.go.snap | 1 - .../snapshot/api_op_DeleteRoute.go.snap | 1 - ...api_op_DeleteRouteRequestParameter.go.snap | 1 - .../api_op_DeleteRouteResponse.go.snap | 1 - .../api_op_DeleteRouteSettings.go.snap | 1 - .../snapshot/api_op_DeleteStage.go.snap | 1 - .../snapshot/api_op_DeleteVpcLink.go.snap | 1 - .../snapshot/api_op_ExportApi.go.snap | 1 - .../snapshot/api_op_GetApi.go.snap | 1 - .../snapshot/api_op_GetApiMapping.go.snap | 1 - .../snapshot/api_op_GetApiMappings.go.snap | 1 - .../snapshot/api_op_GetApis.go.snap | 1 - .../snapshot/api_op_GetAuthorizer.go.snap | 1 - .../snapshot/api_op_GetAuthorizers.go.snap | 1 - .../snapshot/api_op_GetDeployment.go.snap | 1 - .../snapshot/api_op_GetDeployments.go.snap | 1 - .../snapshot/api_op_GetDomainName.go.snap | 1 - .../snapshot/api_op_GetDomainNames.go.snap | 1 - .../snapshot/api_op_GetIntegration.go.snap | 1 - .../api_op_GetIntegrationResponse.go.snap | 1 - .../api_op_GetIntegrationResponses.go.snap | 1 - .../snapshot/api_op_GetIntegrations.go.snap | 1 - .../snapshot/api_op_GetModel.go.snap | 1 - .../snapshot/api_op_GetModelTemplate.go.snap | 1 - .../snapshot/api_op_GetModels.go.snap | 1 - .../snapshot/api_op_GetRoute.go.snap | 1 - .../snapshot/api_op_GetRouteResponse.go.snap | 1 - .../snapshot/api_op_GetRouteResponses.go.snap | 1 - .../snapshot/api_op_GetRoutes.go.snap | 1 - .../snapshot/api_op_GetStage.go.snap | 1 - .../snapshot/api_op_GetStages.go.snap | 1 - .../snapshot/api_op_GetTags.go.snap | 1 - .../snapshot/api_op_GetVpcLink.go.snap | 1 - .../snapshot/api_op_GetVpcLinks.go.snap | 1 - .../snapshot/api_op_ImportApi.go.snap | 1 - .../snapshot/api_op_ReimportApi.go.snap | 1 - .../api_op_ResetAuthorizersCache.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateApi.go.snap | 1 - .../snapshot/api_op_UpdateApiMapping.go.snap | 1 - .../snapshot/api_op_UpdateAuthorizer.go.snap | 1 - .../snapshot/api_op_UpdateDeployment.go.snap | 1 - .../snapshot/api_op_UpdateDomainName.go.snap | 1 - .../snapshot/api_op_UpdateIntegration.go.snap | 1 - .../api_op_UpdateIntegrationResponse.go.snap | 1 - .../snapshot/api_op_UpdateModel.go.snap | 1 - .../snapshot/api_op_UpdateRoute.go.snap | 1 - .../api_op_UpdateRouteResponse.go.snap | 1 - .../snapshot/api_op_UpdateStage.go.snap | 1 - .../snapshot/api_op_UpdateVpcLink.go.snap | 1 - service/appconfig/api_client.go | 31 -- service/appconfig/api_op_CreateApplication.go | 3 - .../api_op_CreateConfigurationProfile.go | 3 - .../api_op_CreateDeploymentStrategy.go | 3 - service/appconfig/api_op_CreateEnvironment.go | 3 - service/appconfig/api_op_CreateExtension.go | 3 - .../api_op_CreateExtensionAssociation.go | 3 - ...api_op_CreateHostedConfigurationVersion.go | 3 - service/appconfig/api_op_DeleteApplication.go | 3 - .../api_op_DeleteConfigurationProfile.go | 3 - .../api_op_DeleteDeploymentStrategy.go | 3 - service/appconfig/api_op_DeleteEnvironment.go | 3 - service/appconfig/api_op_DeleteExtension.go | 3 - .../api_op_DeleteExtensionAssociation.go | 3 - ...api_op_DeleteHostedConfigurationVersion.go | 3 - .../appconfig/api_op_GetAccountSettings.go | 3 - service/appconfig/api_op_GetApplication.go | 3 - service/appconfig/api_op_GetConfiguration.go | 3 - .../api_op_GetConfigurationProfile.go | 3 - service/appconfig/api_op_GetDeployment.go | 3 - .../appconfig/api_op_GetDeploymentStrategy.go | 3 - service/appconfig/api_op_GetEnvironment.go | 3 - service/appconfig/api_op_GetExtension.go | 3 - .../api_op_GetExtensionAssociation.go | 3 - .../api_op_GetHostedConfigurationVersion.go | 3 - service/appconfig/api_op_ListApplications.go | 3 - .../api_op_ListConfigurationProfiles.go | 3 - .../api_op_ListDeploymentStrategies.go | 3 - service/appconfig/api_op_ListDeployments.go | 3 - service/appconfig/api_op_ListEnvironments.go | 3 - .../api_op_ListExtensionAssociations.go | 3 - service/appconfig/api_op_ListExtensions.go | 3 - .../api_op_ListHostedConfigurationVersions.go | 3 - .../appconfig/api_op_ListTagsForResource.go | 3 - service/appconfig/api_op_StartDeployment.go | 3 - service/appconfig/api_op_StopDeployment.go | 3 - service/appconfig/api_op_TagResource.go | 3 - service/appconfig/api_op_UntagResource.go | 3 - .../appconfig/api_op_UpdateAccountSettings.go | 3 - service/appconfig/api_op_UpdateApplication.go | 3 - .../api_op_UpdateConfigurationProfile.go | 3 - .../api_op_UpdateDeploymentStrategy.go | 3 - service/appconfig/api_op_UpdateEnvironment.go | 3 - service/appconfig/api_op_UpdateExtension.go | 3 - .../api_op_UpdateExtensionAssociation.go | 3 - .../appconfig/api_op_ValidateConfiguration.go | 3 - .../snapshot/api_op_CreateApplication.go.snap | 1 - .../api_op_CreateConfigurationProfile.go.snap | 1 - .../api_op_CreateDeploymentStrategy.go.snap | 1 - .../snapshot/api_op_CreateEnvironment.go.snap | 1 - .../snapshot/api_op_CreateExtension.go.snap | 1 - .../api_op_CreateExtensionAssociation.go.snap | 1 - ...p_CreateHostedConfigurationVersion.go.snap | 1 - .../snapshot/api_op_DeleteApplication.go.snap | 1 - .../api_op_DeleteConfigurationProfile.go.snap | 1 - .../api_op_DeleteDeploymentStrategy.go.snap | 1 - .../snapshot/api_op_DeleteEnvironment.go.snap | 1 - .../snapshot/api_op_DeleteExtension.go.snap | 1 - .../api_op_DeleteExtensionAssociation.go.snap | 1 - ...p_DeleteHostedConfigurationVersion.go.snap | 1 - .../api_op_GetAccountSettings.go.snap | 1 - .../snapshot/api_op_GetApplication.go.snap | 1 - .../snapshot/api_op_GetConfiguration.go.snap | 1 - .../api_op_GetConfigurationProfile.go.snap | 1 - .../snapshot/api_op_GetDeployment.go.snap | 1 - .../api_op_GetDeploymentStrategy.go.snap | 1 - .../snapshot/api_op_GetEnvironment.go.snap | 1 - .../snapshot/api_op_GetExtension.go.snap | 1 - .../api_op_GetExtensionAssociation.go.snap | 1 - ...i_op_GetHostedConfigurationVersion.go.snap | 1 - .../snapshot/api_op_ListApplications.go.snap | 1 - .../api_op_ListConfigurationProfiles.go.snap | 1 - .../api_op_ListDeploymentStrategies.go.snap | 1 - .../snapshot/api_op_ListDeployments.go.snap | 1 - .../snapshot/api_op_ListEnvironments.go.snap | 1 - .../api_op_ListExtensionAssociations.go.snap | 1 - .../snapshot/api_op_ListExtensions.go.snap | 1 - ...op_ListHostedConfigurationVersions.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_StartDeployment.go.snap | 1 - .../snapshot/api_op_StopDeployment.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateAccountSettings.go.snap | 1 - .../snapshot/api_op_UpdateApplication.go.snap | 1 - .../api_op_UpdateConfigurationProfile.go.snap | 1 - .../api_op_UpdateDeploymentStrategy.go.snap | 1 - .../snapshot/api_op_UpdateEnvironment.go.snap | 1 - .../snapshot/api_op_UpdateExtension.go.snap | 1 - .../api_op_UpdateExtensionAssociation.go.snap | 1 - .../api_op_ValidateConfiguration.go.snap | 1 - service/appconfigdata/api_client.go | 31 -- .../api_op_GetLatestConfiguration.go | 3 - .../api_op_StartConfigurationSession.go | 3 - .../api_op_GetLatestConfiguration.go.snap | 1 - .../api_op_StartConfigurationSession.go.snap | 1 - service/appfabric/api_client.go | 31 -- .../api_op_BatchGetUserAccessTasks.go | 3 - .../api_op_ConnectAppAuthorization.go | 3 - .../api_op_CreateAppAuthorization.go | 3 - service/appfabric/api_op_CreateAppBundle.go | 3 - service/appfabric/api_op_CreateIngestion.go | 3 - .../api_op_CreateIngestionDestination.go | 3 - .../api_op_DeleteAppAuthorization.go | 3 - service/appfabric/api_op_DeleteAppBundle.go | 3 - service/appfabric/api_op_DeleteIngestion.go | 3 - .../api_op_DeleteIngestionDestination.go | 3 - .../appfabric/api_op_GetAppAuthorization.go | 3 - service/appfabric/api_op_GetAppBundle.go | 3 - service/appfabric/api_op_GetIngestion.go | 3 - .../api_op_GetIngestionDestination.go | 3 - .../appfabric/api_op_ListAppAuthorizations.go | 3 - service/appfabric/api_op_ListAppBundles.go | 3 - .../api_op_ListIngestionDestinations.go | 3 - service/appfabric/api_op_ListIngestions.go | 3 - .../appfabric/api_op_ListTagsForResource.go | 3 - service/appfabric/api_op_StartIngestion.go | 3 - .../appfabric/api_op_StartUserAccessTasks.go | 3 - service/appfabric/api_op_StopIngestion.go | 3 - service/appfabric/api_op_TagResource.go | 3 - service/appfabric/api_op_UntagResource.go | 3 - .../api_op_UpdateAppAuthorization.go | 3 - .../api_op_UpdateIngestionDestination.go | 3 - .../api_op_BatchGetUserAccessTasks.go.snap | 1 - .../api_op_ConnectAppAuthorization.go.snap | 1 - .../api_op_CreateAppAuthorization.go.snap | 1 - .../snapshot/api_op_CreateAppBundle.go.snap | 1 - .../snapshot/api_op_CreateIngestion.go.snap | 1 - .../api_op_CreateIngestionDestination.go.snap | 1 - .../api_op_DeleteAppAuthorization.go.snap | 1 - .../snapshot/api_op_DeleteAppBundle.go.snap | 1 - .../snapshot/api_op_DeleteIngestion.go.snap | 1 - .../api_op_DeleteIngestionDestination.go.snap | 1 - .../api_op_GetAppAuthorization.go.snap | 1 - .../snapshot/api_op_GetAppBundle.go.snap | 1 - .../snapshot/api_op_GetIngestion.go.snap | 1 - .../api_op_GetIngestionDestination.go.snap | 1 - .../api_op_ListAppAuthorizations.go.snap | 1 - .../snapshot/api_op_ListAppBundles.go.snap | 1 - .../api_op_ListIngestionDestinations.go.snap | 1 - .../snapshot/api_op_ListIngestions.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_StartIngestion.go.snap | 1 - .../api_op_StartUserAccessTasks.go.snap | 1 - .../snapshot/api_op_StopIngestion.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateAppAuthorization.go.snap | 1 - .../api_op_UpdateIngestionDestination.go.snap | 1 - service/appflow/api_client.go | 31 -- .../appflow/api_op_CancelFlowExecutions.go | 3 - .../appflow/api_op_CreateConnectorProfile.go | 3 - service/appflow/api_op_CreateFlow.go | 3 - .../appflow/api_op_DeleteConnectorProfile.go | 3 - service/appflow/api_op_DeleteFlow.go | 3 - service/appflow/api_op_DescribeConnector.go | 3 - .../appflow/api_op_DescribeConnectorEntity.go | 3 - .../api_op_DescribeConnectorProfiles.go | 3 - service/appflow/api_op_DescribeConnectors.go | 3 - service/appflow/api_op_DescribeFlow.go | 3 - .../api_op_DescribeFlowExecutionRecords.go | 3 - .../appflow/api_op_ListConnectorEntities.go | 3 - service/appflow/api_op_ListConnectors.go | 3 - service/appflow/api_op_ListFlows.go | 3 - service/appflow/api_op_ListTagsForResource.go | 3 - service/appflow/api_op_RegisterConnector.go | 3 - .../api_op_ResetConnectorMetadataCache.go | 3 - service/appflow/api_op_StartFlow.go | 3 - service/appflow/api_op_StopFlow.go | 3 - service/appflow/api_op_TagResource.go | 3 - service/appflow/api_op_UnregisterConnector.go | 3 - service/appflow/api_op_UntagResource.go | 3 - .../appflow/api_op_UpdateConnectorProfile.go | 3 - .../api_op_UpdateConnectorRegistration.go | 3 - service/appflow/api_op_UpdateFlow.go | 3 - .../api_op_CancelFlowExecutions.go.snap | 1 - .../api_op_CreateConnectorProfile.go.snap | 1 - .../snapshot/api_op_CreateFlow.go.snap | 1 - .../api_op_DeleteConnectorProfile.go.snap | 1 - .../snapshot/api_op_DeleteFlow.go.snap | 1 - .../snapshot/api_op_DescribeConnector.go.snap | 1 - .../api_op_DescribeConnectorEntity.go.snap | 1 - .../api_op_DescribeConnectorProfiles.go.snap | 1 - .../api_op_DescribeConnectors.go.snap | 1 - .../snapshot/api_op_DescribeFlow.go.snap | 1 - ...pi_op_DescribeFlowExecutionRecords.go.snap | 1 - .../api_op_ListConnectorEntities.go.snap | 1 - .../snapshot/api_op_ListConnectors.go.snap | 1 - .../appflow/snapshot/api_op_ListFlows.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_RegisterConnector.go.snap | 1 - ...api_op_ResetConnectorMetadataCache.go.snap | 1 - .../appflow/snapshot/api_op_StartFlow.go.snap | 1 - .../appflow/snapshot/api_op_StopFlow.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../api_op_UnregisterConnector.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateConnectorProfile.go.snap | 1 - ...api_op_UpdateConnectorRegistration.go.snap | 1 - .../snapshot/api_op_UpdateFlow.go.snap | 1 - service/appintegrations/api_client.go | 31 -- .../api_op_CreateApplication.go | 3 - .../api_op_CreateDataIntegration.go | 3 - ...api_op_CreateDataIntegrationAssociation.go | 3 - .../api_op_CreateEventIntegration.go | 3 - .../api_op_DeleteApplication.go | 3 - .../api_op_DeleteDataIntegration.go | 3 - .../api_op_DeleteEventIntegration.go | 3 - .../appintegrations/api_op_GetApplication.go | 3 - .../api_op_GetDataIntegration.go | 3 - .../api_op_GetEventIntegration.go | 3 - .../api_op_ListApplicationAssociations.go | 3 - .../api_op_ListApplications.go | 3 - .../api_op_ListDataIntegrationAssociations.go | 3 - .../api_op_ListDataIntegrations.go | 3 - ...api_op_ListEventIntegrationAssociations.go | 3 - .../api_op_ListEventIntegrations.go | 3 - .../api_op_ListTagsForResource.go | 3 - service/appintegrations/api_op_TagResource.go | 3 - .../appintegrations/api_op_UntagResource.go | 3 - .../api_op_UpdateApplication.go | 3 - .../api_op_UpdateDataIntegration.go | 3 - ...api_op_UpdateDataIntegrationAssociation.go | 3 - .../api_op_UpdateEventIntegration.go | 3 - .../snapshot/api_op_CreateApplication.go.snap | 1 - .../api_op_CreateDataIntegration.go.snap | 1 - ...p_CreateDataIntegrationAssociation.go.snap | 1 - .../api_op_CreateEventIntegration.go.snap | 1 - .../snapshot/api_op_DeleteApplication.go.snap | 1 - .../api_op_DeleteDataIntegration.go.snap | 1 - .../api_op_DeleteEventIntegration.go.snap | 1 - .../snapshot/api_op_GetApplication.go.snap | 1 - .../api_op_GetDataIntegration.go.snap | 1 - .../api_op_GetEventIntegration.go.snap | 1 - ...api_op_ListApplicationAssociations.go.snap | 1 - .../snapshot/api_op_ListApplications.go.snap | 1 - ...op_ListDataIntegrationAssociations.go.snap | 1 - .../api_op_ListDataIntegrations.go.snap | 1 - ...p_ListEventIntegrationAssociations.go.snap | 1 - .../api_op_ListEventIntegrations.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateApplication.go.snap | 1 - .../api_op_UpdateDataIntegration.go.snap | 1 - ...p_UpdateDataIntegrationAssociation.go.snap | 1 - .../api_op_UpdateEventIntegration.go.snap | 1 - service/applicationautoscaling/api_client.go | 31 -- .../api_op_DeleteScalingPolicy.go | 3 - .../api_op_DeleteScheduledAction.go | 3 - .../api_op_DeregisterScalableTarget.go | 3 - .../api_op_DescribeScalableTargets.go | 3 - .../api_op_DescribeScalingActivities.go | 3 - .../api_op_DescribeScalingPolicies.go | 3 - .../api_op_DescribeScheduledActions.go | 3 - .../api_op_GetPredictiveScalingForecast.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_PutScalingPolicy.go | 3 - .../api_op_PutScheduledAction.go | 3 - .../api_op_RegisterScalableTarget.go | 3 - .../api_op_TagResource.go | 3 - .../api_op_UntagResource.go | 3 - .../api_op_DeleteScalingPolicy.go.snap | 1 - .../api_op_DeleteScheduledAction.go.snap | 1 - .../api_op_DeregisterScalableTarget.go.snap | 1 - .../api_op_DescribeScalableTargets.go.snap | 1 - .../api_op_DescribeScalingActivities.go.snap | 1 - .../api_op_DescribeScalingPolicies.go.snap | 1 - .../api_op_DescribeScheduledActions.go.snap | 1 - ...pi_op_GetPredictiveScalingForecast.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_PutScalingPolicy.go.snap | 1 - .../api_op_PutScheduledAction.go.snap | 1 - .../api_op_RegisterScalableTarget.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - service/applicationcostprofiler/api_client.go | 31 -- .../api_op_DeleteReportDefinition.go | 3 - .../api_op_GetReportDefinition.go | 3 - .../api_op_ImportApplicationUsage.go | 3 - .../api_op_ListReportDefinitions.go | 3 - .../api_op_PutReportDefinition.go | 3 - .../api_op_UpdateReportDefinition.go | 3 - .../api_op_DeleteReportDefinition.go.snap | 1 - .../api_op_GetReportDefinition.go.snap | 1 - .../api_op_ImportApplicationUsage.go.snap | 1 - .../api_op_ListReportDefinitions.go.snap | 1 - .../api_op_PutReportDefinition.go.snap | 1 - .../api_op_UpdateReportDefinition.go.snap | 1 - .../applicationdiscoveryservice/api_client.go | 31 -- ...ssociateConfigurationItemsToApplication.go | 3 - .../api_op_BatchDeleteAgents.go | 3 - .../api_op_BatchDeleteImportData.go | 3 - .../api_op_CreateApplication.go | 3 - .../api_op_CreateTags.go | 3 - .../api_op_DeleteApplications.go | 3 - .../api_op_DeleteTags.go | 3 - .../api_op_DescribeAgents.go | 3 - ...op_DescribeBatchDeleteConfigurationTask.go | 3 - .../api_op_DescribeConfigurations.go | 3 - .../api_op_DescribeContinuousExports.go | 3 - .../api_op_DescribeExportConfigurations.go | 3 - .../api_op_DescribeExportTasks.go | 3 - .../api_op_DescribeImportTasks.go | 3 - .../api_op_DescribeTags.go | 3 - ...ociateConfigurationItemsFromApplication.go | 3 - .../api_op_ExportConfigurations.go | 3 - .../api_op_GetDiscoverySummary.go | 3 - .../api_op_ListConfigurations.go | 3 - .../api_op_ListServerNeighbors.go | 3 - ...pi_op_StartBatchDeleteConfigurationTask.go | 3 - .../api_op_StartContinuousExport.go | 3 - .../api_op_StartDataCollectionByAgentIds.go | 3 - .../api_op_StartExportTask.go | 3 - .../api_op_StartImportTask.go | 3 - .../api_op_StopContinuousExport.go | 3 - .../api_op_StopDataCollectionByAgentIds.go | 3 - .../api_op_UpdateApplication.go | 3 - ...ateConfigurationItemsToApplication.go.snap | 1 - .../snapshot/api_op_BatchDeleteAgents.go.snap | 1 - .../api_op_BatchDeleteImportData.go.snap | 1 - .../snapshot/api_op_CreateApplication.go.snap | 1 - .../snapshot/api_op_CreateTags.go.snap | 1 - .../api_op_DeleteApplications.go.snap | 1 - .../snapshot/api_op_DeleteTags.go.snap | 1 - .../snapshot/api_op_DescribeAgents.go.snap | 1 - ...scribeBatchDeleteConfigurationTask.go.snap | 1 - .../api_op_DescribeConfigurations.go.snap | 1 - .../api_op_DescribeContinuousExports.go.snap | 1 - ...pi_op_DescribeExportConfigurations.go.snap | 1 - .../api_op_DescribeExportTasks.go.snap | 1 - .../api_op_DescribeImportTasks.go.snap | 1 - .../snapshot/api_op_DescribeTags.go.snap | 1 - ...eConfigurationItemsFromApplication.go.snap | 1 - .../api_op_ExportConfigurations.go.snap | 1 - .../api_op_GetDiscoverySummary.go.snap | 1 - .../api_op_ListConfigurations.go.snap | 1 - .../api_op_ListServerNeighbors.go.snap | 1 - ..._StartBatchDeleteConfigurationTask.go.snap | 1 - .../api_op_StartContinuousExport.go.snap | 1 - ...i_op_StartDataCollectionByAgentIds.go.snap | 1 - .../snapshot/api_op_StartExportTask.go.snap | 1 - .../snapshot/api_op_StartImportTask.go.snap | 1 - .../api_op_StopContinuousExport.go.snap | 1 - ...pi_op_StopDataCollectionByAgentIds.go.snap | 1 - .../snapshot/api_op_UpdateApplication.go.snap | 1 - service/applicationinsights/api_client.go | 31 -- .../applicationinsights/api_op_AddWorkload.go | 3 - .../api_op_CreateApplication.go | 3 - .../api_op_CreateComponent.go | 3 - .../api_op_CreateLogPattern.go | 3 - .../api_op_DeleteApplication.go | 3 - .../api_op_DeleteComponent.go | 3 - .../api_op_DeleteLogPattern.go | 3 - .../api_op_DescribeApplication.go | 3 - .../api_op_DescribeComponent.go | 3 - .../api_op_DescribeComponentConfiguration.go | 3 - ...ibeComponentConfigurationRecommendation.go | 3 - .../api_op_DescribeLogPattern.go | 3 - .../api_op_DescribeObservation.go | 3 - .../api_op_DescribeProblem.go | 3 - .../api_op_DescribeProblemObservations.go | 3 - .../api_op_DescribeWorkload.go | 3 - .../api_op_ListApplications.go | 3 - .../api_op_ListComponents.go | 3 - .../api_op_ListConfigurationHistory.go | 3 - .../api_op_ListLogPatternSets.go | 3 - .../api_op_ListLogPatterns.go | 3 - .../api_op_ListProblems.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_ListWorkloads.go | 3 - .../api_op_RemoveWorkload.go | 3 - .../applicationinsights/api_op_TagResource.go | 3 - .../api_op_UntagResource.go | 3 - .../api_op_UpdateApplication.go | 3 - .../api_op_UpdateComponent.go | 3 - .../api_op_UpdateComponentConfiguration.go | 3 - .../api_op_UpdateLogPattern.go | 3 - .../api_op_UpdateProblem.go | 3 - .../api_op_UpdateWorkload.go | 3 - .../snapshot/api_op_AddWorkload.go.snap | 1 - .../snapshot/api_op_CreateApplication.go.snap | 1 - .../snapshot/api_op_CreateComponent.go.snap | 1 - .../snapshot/api_op_CreateLogPattern.go.snap | 1 - .../snapshot/api_op_DeleteApplication.go.snap | 1 - .../snapshot/api_op_DeleteComponent.go.snap | 1 - .../snapshot/api_op_DeleteLogPattern.go.snap | 1 - .../api_op_DescribeApplication.go.snap | 1 - .../snapshot/api_op_DescribeComponent.go.snap | 1 - ..._op_DescribeComponentConfiguration.go.snap | 1 - ...mponentConfigurationRecommendation.go.snap | 1 - .../api_op_DescribeLogPattern.go.snap | 1 - .../api_op_DescribeObservation.go.snap | 1 - .../snapshot/api_op_DescribeProblem.go.snap | 1 - ...api_op_DescribeProblemObservations.go.snap | 1 - .../snapshot/api_op_DescribeWorkload.go.snap | 1 - .../snapshot/api_op_ListApplications.go.snap | 1 - .../snapshot/api_op_ListComponents.go.snap | 1 - .../api_op_ListConfigurationHistory.go.snap | 1 - .../api_op_ListLogPatternSets.go.snap | 1 - .../snapshot/api_op_ListLogPatterns.go.snap | 1 - .../snapshot/api_op_ListProblems.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListWorkloads.go.snap | 1 - .../snapshot/api_op_RemoveWorkload.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateApplication.go.snap | 1 - .../snapshot/api_op_UpdateComponent.go.snap | 1 - ...pi_op_UpdateComponentConfiguration.go.snap | 1 - .../snapshot/api_op_UpdateLogPattern.go.snap | 1 - .../snapshot/api_op_UpdateProblem.go.snap | 1 - .../snapshot/api_op_UpdateWorkload.go.snap | 1 - service/applicationsignals/api_client.go | 31 -- ...tchGetServiceLevelObjectiveBudgetReport.go | 3 - .../api_op_CreateServiceLevelObjective.go | 3 - .../api_op_DeleteServiceLevelObjective.go | 3 - .../applicationsignals/api_op_GetService.go | 3 - .../api_op_GetServiceLevelObjective.go | 3 - .../api_op_ListServiceDependencies.go | 3 - .../api_op_ListServiceDependents.go | 3 - .../api_op_ListServiceLevelObjectives.go | 3 - .../api_op_ListServiceOperations.go | 3 - .../applicationsignals/api_op_ListServices.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_StartDiscovery.go | 3 - .../applicationsignals/api_op_TagResource.go | 3 - .../api_op_UntagResource.go | 3 - .../api_op_UpdateServiceLevelObjective.go | 3 - ...tServiceLevelObjectiveBudgetReport.go.snap | 1 - ...api_op_CreateServiceLevelObjective.go.snap | 1 - ...api_op_DeleteServiceLevelObjective.go.snap | 1 - .../snapshot/api_op_GetService.go.snap | 1 - .../api_op_GetServiceLevelObjective.go.snap | 1 - .../api_op_ListServiceDependencies.go.snap | 1 - .../api_op_ListServiceDependents.go.snap | 1 - .../api_op_ListServiceLevelObjectives.go.snap | 1 - .../api_op_ListServiceOperations.go.snap | 1 - .../snapshot/api_op_ListServices.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_StartDiscovery.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - ...api_op_UpdateServiceLevelObjective.go.snap | 1 - service/appmesh/api_client.go | 31 -- service/appmesh/api_op_CreateGatewayRoute.go | 3 - service/appmesh/api_op_CreateMesh.go | 3 - service/appmesh/api_op_CreateRoute.go | 3 - .../appmesh/api_op_CreateVirtualGateway.go | 3 - service/appmesh/api_op_CreateVirtualNode.go | 3 - service/appmesh/api_op_CreateVirtualRouter.go | 3 - .../appmesh/api_op_CreateVirtualService.go | 3 - service/appmesh/api_op_DeleteGatewayRoute.go | 3 - service/appmesh/api_op_DeleteMesh.go | 3 - service/appmesh/api_op_DeleteRoute.go | 3 - .../appmesh/api_op_DeleteVirtualGateway.go | 3 - service/appmesh/api_op_DeleteVirtualNode.go | 3 - service/appmesh/api_op_DeleteVirtualRouter.go | 3 - .../appmesh/api_op_DeleteVirtualService.go | 3 - .../appmesh/api_op_DescribeGatewayRoute.go | 3 - service/appmesh/api_op_DescribeMesh.go | 3 - service/appmesh/api_op_DescribeRoute.go | 3 - .../appmesh/api_op_DescribeVirtualGateway.go | 3 - service/appmesh/api_op_DescribeVirtualNode.go | 3 - .../appmesh/api_op_DescribeVirtualRouter.go | 3 - .../appmesh/api_op_DescribeVirtualService.go | 3 - service/appmesh/api_op_ListGatewayRoutes.go | 3 - service/appmesh/api_op_ListMeshes.go | 3 - service/appmesh/api_op_ListRoutes.go | 3 - service/appmesh/api_op_ListTagsForResource.go | 3 - service/appmesh/api_op_ListVirtualGateways.go | 3 - service/appmesh/api_op_ListVirtualNodes.go | 3 - service/appmesh/api_op_ListVirtualRouters.go | 3 - service/appmesh/api_op_ListVirtualServices.go | 3 - service/appmesh/api_op_TagResource.go | 3 - service/appmesh/api_op_UntagResource.go | 3 - service/appmesh/api_op_UpdateGatewayRoute.go | 3 - service/appmesh/api_op_UpdateMesh.go | 3 - service/appmesh/api_op_UpdateRoute.go | 3 - .../appmesh/api_op_UpdateVirtualGateway.go | 3 - service/appmesh/api_op_UpdateVirtualNode.go | 3 - service/appmesh/api_op_UpdateVirtualRouter.go | 3 - .../appmesh/api_op_UpdateVirtualService.go | 3 - .../api_op_CreateGatewayRoute.go.snap | 1 - .../snapshot/api_op_CreateMesh.go.snap | 1 - .../snapshot/api_op_CreateRoute.go.snap | 1 - .../api_op_CreateVirtualGateway.go.snap | 1 - .../snapshot/api_op_CreateVirtualNode.go.snap | 1 - .../api_op_CreateVirtualRouter.go.snap | 1 - .../api_op_CreateVirtualService.go.snap | 1 - .../api_op_DeleteGatewayRoute.go.snap | 1 - .../snapshot/api_op_DeleteMesh.go.snap | 1 - .../snapshot/api_op_DeleteRoute.go.snap | 1 - .../api_op_DeleteVirtualGateway.go.snap | 1 - .../snapshot/api_op_DeleteVirtualNode.go.snap | 1 - .../api_op_DeleteVirtualRouter.go.snap | 1 - .../api_op_DeleteVirtualService.go.snap | 1 - .../api_op_DescribeGatewayRoute.go.snap | 1 - .../snapshot/api_op_DescribeMesh.go.snap | 1 - .../snapshot/api_op_DescribeRoute.go.snap | 1 - .../api_op_DescribeVirtualGateway.go.snap | 1 - .../api_op_DescribeVirtualNode.go.snap | 1 - .../api_op_DescribeVirtualRouter.go.snap | 1 - .../api_op_DescribeVirtualService.go.snap | 1 - .../snapshot/api_op_ListGatewayRoutes.go.snap | 1 - .../snapshot/api_op_ListMeshes.go.snap | 1 - .../snapshot/api_op_ListRoutes.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListVirtualGateways.go.snap | 1 - .../snapshot/api_op_ListVirtualNodes.go.snap | 1 - .../api_op_ListVirtualRouters.go.snap | 1 - .../api_op_ListVirtualServices.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateGatewayRoute.go.snap | 1 - .../snapshot/api_op_UpdateMesh.go.snap | 1 - .../snapshot/api_op_UpdateRoute.go.snap | 1 - .../api_op_UpdateVirtualGateway.go.snap | 1 - .../snapshot/api_op_UpdateVirtualNode.go.snap | 1 - .../api_op_UpdateVirtualRouter.go.snap | 1 - .../api_op_UpdateVirtualService.go.snap | 1 - service/apprunner/api_client.go | 31 -- .../apprunner/api_op_AssociateCustomDomain.go | 3 - .../api_op_CreateAutoScalingConfiguration.go | 3 - service/apprunner/api_op_CreateConnection.go | 3 - ...api_op_CreateObservabilityConfiguration.go | 3 - service/apprunner/api_op_CreateService.go | 3 - .../apprunner/api_op_CreateVpcConnector.go | 3 - .../api_op_CreateVpcIngressConnection.go | 3 - .../api_op_DeleteAutoScalingConfiguration.go | 3 - service/apprunner/api_op_DeleteConnection.go | 3 - ...api_op_DeleteObservabilityConfiguration.go | 3 - service/apprunner/api_op_DeleteService.go | 3 - .../apprunner/api_op_DeleteVpcConnector.go | 3 - .../api_op_DeleteVpcIngressConnection.go | 3 - ...api_op_DescribeAutoScalingConfiguration.go | 3 - .../apprunner/api_op_DescribeCustomDomains.go | 3 - ...i_op_DescribeObservabilityConfiguration.go | 3 - service/apprunner/api_op_DescribeService.go | 3 - .../apprunner/api_op_DescribeVpcConnector.go | 3 - .../api_op_DescribeVpcIngressConnection.go | 3 - .../api_op_DisassociateCustomDomain.go | 3 - .../api_op_ListAutoScalingConfigurations.go | 3 - service/apprunner/api_op_ListConnections.go | 3 - .../api_op_ListObservabilityConfigurations.go | 3 - service/apprunner/api_op_ListOperations.go | 3 - service/apprunner/api_op_ListServices.go | 3 - ...ListServicesForAutoScalingConfiguration.go | 3 - .../apprunner/api_op_ListTagsForResource.go | 3 - service/apprunner/api_op_ListVpcConnectors.go | 3 - .../api_op_ListVpcIngressConnections.go | 3 - service/apprunner/api_op_PauseService.go | 3 - service/apprunner/api_op_ResumeService.go | 3 - service/apprunner/api_op_StartDeployment.go | 3 - service/apprunner/api_op_TagResource.go | 3 - service/apprunner/api_op_UntagResource.go | 3 - ...p_UpdateDefaultAutoScalingConfiguration.go | 3 - service/apprunner/api_op_UpdateService.go | 3 - .../api_op_UpdateVpcIngressConnection.go | 3 - .../api_op_AssociateCustomDomain.go.snap | 1 - ..._op_CreateAutoScalingConfiguration.go.snap | 1 - .../snapshot/api_op_CreateConnection.go.snap | 1 - ...p_CreateObservabilityConfiguration.go.snap | 1 - .../snapshot/api_op_CreateService.go.snap | 1 - .../api_op_CreateVpcConnector.go.snap | 1 - .../api_op_CreateVpcIngressConnection.go.snap | 1 - ..._op_DeleteAutoScalingConfiguration.go.snap | 1 - .../snapshot/api_op_DeleteConnection.go.snap | 1 - ...p_DeleteObservabilityConfiguration.go.snap | 1 - .../snapshot/api_op_DeleteService.go.snap | 1 - .../api_op_DeleteVpcConnector.go.snap | 1 - .../api_op_DeleteVpcIngressConnection.go.snap | 1 - ...p_DescribeAutoScalingConfiguration.go.snap | 1 - .../api_op_DescribeCustomDomains.go.snap | 1 - ...DescribeObservabilityConfiguration.go.snap | 1 - .../snapshot/api_op_DescribeService.go.snap | 1 - .../api_op_DescribeVpcConnector.go.snap | 1 - ...pi_op_DescribeVpcIngressConnection.go.snap | 1 - .../api_op_DisassociateCustomDomain.go.snap | 1 - ...i_op_ListAutoScalingConfigurations.go.snap | 1 - .../snapshot/api_op_ListConnections.go.snap | 1 - ...op_ListObservabilityConfigurations.go.snap | 1 - .../snapshot/api_op_ListOperations.go.snap | 1 - .../snapshot/api_op_ListServices.go.snap | 1 - ...ervicesForAutoScalingConfiguration.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListVpcConnectors.go.snap | 1 - .../api_op_ListVpcIngressConnections.go.snap | 1 - .../snapshot/api_op_PauseService.go.snap | 1 - .../snapshot/api_op_ResumeService.go.snap | 1 - .../snapshot/api_op_StartDeployment.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - ...ateDefaultAutoScalingConfiguration.go.snap | 1 - .../snapshot/api_op_UpdateService.go.snap | 1 - .../api_op_UpdateVpcIngressConnection.go.snap | 1 - service/appstream/api_client.go | 31 -- ...api_op_AssociateAppBlockBuilderAppBlock.go | 3 - .../api_op_AssociateApplicationFleet.go | 3 - ...pi_op_AssociateApplicationToEntitlement.go | 3 - service/appstream/api_op_AssociateFleet.go | 3 - .../api_op_BatchAssociateUserStack.go | 3 - .../api_op_BatchDisassociateUserStack.go | 3 - service/appstream/api_op_CopyImage.go | 3 - service/appstream/api_op_CreateAppBlock.go | 3 - .../appstream/api_op_CreateAppBlockBuilder.go | 3 - ...pi_op_CreateAppBlockBuilderStreamingURL.go | 3 - service/appstream/api_op_CreateApplication.go | 3 - .../appstream/api_op_CreateDirectoryConfig.go | 3 - service/appstream/api_op_CreateEntitlement.go | 3 - service/appstream/api_op_CreateFleet.go | 3 - .../appstream/api_op_CreateImageBuilder.go | 3 - .../api_op_CreateImageBuilderStreamingURL.go | 3 - service/appstream/api_op_CreateStack.go | 3 - .../appstream/api_op_CreateStreamingURL.go | 3 - .../appstream/api_op_CreateThemeForStack.go | 3 - .../appstream/api_op_CreateUpdatedImage.go | 3 - .../api_op_CreateUsageReportSubscription.go | 3 - service/appstream/api_op_CreateUser.go | 3 - service/appstream/api_op_DeleteAppBlock.go | 3 - .../appstream/api_op_DeleteAppBlockBuilder.go | 3 - service/appstream/api_op_DeleteApplication.go | 3 - .../appstream/api_op_DeleteDirectoryConfig.go | 3 - service/appstream/api_op_DeleteEntitlement.go | 3 - service/appstream/api_op_DeleteFleet.go | 3 - service/appstream/api_op_DeleteImage.go | 3 - .../appstream/api_op_DeleteImageBuilder.go | 3 - .../api_op_DeleteImagePermissions.go | 3 - service/appstream/api_op_DeleteStack.go | 3 - .../appstream/api_op_DeleteThemeForStack.go | 3 - .../api_op_DeleteUsageReportSubscription.go | 3 - service/appstream/api_op_DeleteUser.go | 3 - ...ribeAppBlockBuilderAppBlockAssociations.go | 3 - .../api_op_DescribeAppBlockBuilders.go | 3 - service/appstream/api_op_DescribeAppBlocks.go | 3 - ...op_DescribeApplicationFleetAssociations.go | 3 - .../appstream/api_op_DescribeApplications.go | 3 - .../api_op_DescribeDirectoryConfigs.go | 3 - .../appstream/api_op_DescribeEntitlements.go | 3 - service/appstream/api_op_DescribeFleets.go | 3 - .../appstream/api_op_DescribeImageBuilders.go | 3 - .../api_op_DescribeImagePermissions.go | 3 - service/appstream/api_op_DescribeImages.go | 3 - service/appstream/api_op_DescribeSessions.go | 3 - service/appstream/api_op_DescribeStacks.go | 3 - .../appstream/api_op_DescribeThemeForStack.go | 3 - ...api_op_DescribeUsageReportSubscriptions.go | 3 - .../api_op_DescribeUserStackAssociations.go | 3 - service/appstream/api_op_DescribeUsers.go | 3 - service/appstream/api_op_DisableUser.go | 3 - ..._op_DisassociateAppBlockBuilderAppBlock.go | 3 - .../api_op_DisassociateApplicationFleet.go | 3 - ..._DisassociateApplicationFromEntitlement.go | 3 - service/appstream/api_op_DisassociateFleet.go | 3 - service/appstream/api_op_EnableUser.go | 3 - service/appstream/api_op_ExpireSession.go | 3 - .../appstream/api_op_ListAssociatedFleets.go | 3 - .../appstream/api_op_ListAssociatedStacks.go | 3 - .../api_op_ListEntitledApplications.go | 3 - .../appstream/api_op_ListTagsForResource.go | 3 - .../appstream/api_op_StartAppBlockBuilder.go | 3 - service/appstream/api_op_StartFleet.go | 3 - service/appstream/api_op_StartImageBuilder.go | 3 - .../appstream/api_op_StopAppBlockBuilder.go | 3 - service/appstream/api_op_StopFleet.go | 3 - service/appstream/api_op_StopImageBuilder.go | 3 - service/appstream/api_op_TagResource.go | 3 - service/appstream/api_op_UntagResource.go | 3 - .../appstream/api_op_UpdateAppBlockBuilder.go | 3 - service/appstream/api_op_UpdateApplication.go | 3 - .../appstream/api_op_UpdateDirectoryConfig.go | 3 - service/appstream/api_op_UpdateEntitlement.go | 3 - service/appstream/api_op_UpdateFleet.go | 3 - .../api_op_UpdateImagePermissions.go | 3 - service/appstream/api_op_UpdateStack.go | 3 - .../appstream/api_op_UpdateThemeForStack.go | 3 - ...p_AssociateAppBlockBuilderAppBlock.go.snap | 1 - .../api_op_AssociateApplicationFleet.go.snap | 1 - ..._AssociateApplicationToEntitlement.go.snap | 1 - .../snapshot/api_op_AssociateFleet.go.snap | 1 - .../api_op_BatchAssociateUserStack.go.snap | 1 - .../api_op_BatchDisassociateUserStack.go.snap | 1 - .../snapshot/api_op_CopyImage.go.snap | 1 - .../snapshot/api_op_CreateAppBlock.go.snap | 1 - .../api_op_CreateAppBlockBuilder.go.snap | 1 - ..._CreateAppBlockBuilderStreamingURL.go.snap | 1 - .../snapshot/api_op_CreateApplication.go.snap | 1 - .../api_op_CreateDirectoryConfig.go.snap | 1 - .../snapshot/api_op_CreateEntitlement.go.snap | 1 - .../snapshot/api_op_CreateFleet.go.snap | 1 - .../api_op_CreateImageBuilder.go.snap | 1 - ..._op_CreateImageBuilderStreamingURL.go.snap | 1 - .../snapshot/api_op_CreateStack.go.snap | 1 - .../api_op_CreateStreamingURL.go.snap | 1 - .../api_op_CreateThemeForStack.go.snap | 1 - .../api_op_CreateUpdatedImage.go.snap | 1 - ...i_op_CreateUsageReportSubscription.go.snap | 1 - .../snapshot/api_op_CreateUser.go.snap | 1 - .../snapshot/api_op_DeleteAppBlock.go.snap | 1 - .../api_op_DeleteAppBlockBuilder.go.snap | 1 - .../snapshot/api_op_DeleteApplication.go.snap | 1 - .../api_op_DeleteDirectoryConfig.go.snap | 1 - .../snapshot/api_op_DeleteEntitlement.go.snap | 1 - .../snapshot/api_op_DeleteFleet.go.snap | 1 - .../snapshot/api_op_DeleteImage.go.snap | 1 - .../api_op_DeleteImageBuilder.go.snap | 1 - .../api_op_DeleteImagePermissions.go.snap | 1 - .../snapshot/api_op_DeleteStack.go.snap | 1 - .../api_op_DeleteThemeForStack.go.snap | 1 - ...i_op_DeleteUsageReportSubscription.go.snap | 1 - .../snapshot/api_op_DeleteUser.go.snap | 1 - ...ppBlockBuilderAppBlockAssociations.go.snap | 1 - .../api_op_DescribeAppBlockBuilders.go.snap | 1 - .../snapshot/api_op_DescribeAppBlocks.go.snap | 1 - ...scribeApplicationFleetAssociations.go.snap | 1 - .../api_op_DescribeApplications.go.snap | 1 - .../api_op_DescribeDirectoryConfigs.go.snap | 1 - .../api_op_DescribeEntitlements.go.snap | 1 - .../snapshot/api_op_DescribeFleets.go.snap | 1 - .../api_op_DescribeImageBuilders.go.snap | 1 - .../api_op_DescribeImagePermissions.go.snap | 1 - .../snapshot/api_op_DescribeImages.go.snap | 1 - .../snapshot/api_op_DescribeSessions.go.snap | 1 - .../snapshot/api_op_DescribeStacks.go.snap | 1 - .../api_op_DescribeThemeForStack.go.snap | 1 - ...p_DescribeUsageReportSubscriptions.go.snap | 1 - ...i_op_DescribeUserStackAssociations.go.snap | 1 - .../snapshot/api_op_DescribeUsers.go.snap | 1 - .../snapshot/api_op_DisableUser.go.snap | 1 - ...isassociateAppBlockBuilderAppBlock.go.snap | 1 - ...pi_op_DisassociateApplicationFleet.go.snap | 1 - ...ssociateApplicationFromEntitlement.go.snap | 1 - .../snapshot/api_op_DisassociateFleet.go.snap | 1 - .../snapshot/api_op_EnableUser.go.snap | 1 - .../snapshot/api_op_ExpireSession.go.snap | 1 - .../api_op_ListAssociatedFleets.go.snap | 1 - .../api_op_ListAssociatedStacks.go.snap | 1 - .../api_op_ListEntitledApplications.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_StartAppBlockBuilder.go.snap | 1 - .../snapshot/api_op_StartFleet.go.snap | 1 - .../snapshot/api_op_StartImageBuilder.go.snap | 1 - .../api_op_StopAppBlockBuilder.go.snap | 1 - .../snapshot/api_op_StopFleet.go.snap | 1 - .../snapshot/api_op_StopImageBuilder.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateAppBlockBuilder.go.snap | 1 - .../snapshot/api_op_UpdateApplication.go.snap | 1 - .../api_op_UpdateDirectoryConfig.go.snap | 1 - .../snapshot/api_op_UpdateEntitlement.go.snap | 1 - .../snapshot/api_op_UpdateFleet.go.snap | 1 - .../api_op_UpdateImagePermissions.go.snap | 1 - .../snapshot/api_op_UpdateStack.go.snap | 1 - .../api_op_UpdateThemeForStack.go.snap | 1 - service/appsync/api_client.go | 31 -- service/appsync/api_op_AssociateApi.go | 3 - .../api_op_AssociateMergedGraphqlApi.go | 3 - .../api_op_AssociateSourceGraphqlApi.go | 3 - service/appsync/api_op_CreateApi.go | 3 - service/appsync/api_op_CreateApiCache.go | 3 - service/appsync/api_op_CreateApiKey.go | 3 - .../appsync/api_op_CreateChannelNamespace.go | 3 - service/appsync/api_op_CreateDataSource.go | 3 - service/appsync/api_op_CreateDomainName.go | 3 - service/appsync/api_op_CreateFunction.go | 3 - service/appsync/api_op_CreateGraphqlApi.go | 3 - service/appsync/api_op_CreateResolver.go | 3 - service/appsync/api_op_CreateType.go | 3 - service/appsync/api_op_DeleteApi.go | 3 - service/appsync/api_op_DeleteApiCache.go | 3 - service/appsync/api_op_DeleteApiKey.go | 3 - .../appsync/api_op_DeleteChannelNamespace.go | 3 - service/appsync/api_op_DeleteDataSource.go | 3 - service/appsync/api_op_DeleteDomainName.go | 3 - service/appsync/api_op_DeleteFunction.go | 3 - service/appsync/api_op_DeleteGraphqlApi.go | 3 - service/appsync/api_op_DeleteResolver.go | 3 - service/appsync/api_op_DeleteType.go | 3 - service/appsync/api_op_DisassociateApi.go | 3 - .../api_op_DisassociateMergedGraphqlApi.go | 3 - .../api_op_DisassociateSourceGraphqlApi.go | 3 - service/appsync/api_op_EvaluateCode.go | 3 - .../appsync/api_op_EvaluateMappingTemplate.go | 3 - service/appsync/api_op_FlushApiCache.go | 3 - service/appsync/api_op_GetApi.go | 3 - service/appsync/api_op_GetApiAssociation.go | 3 - service/appsync/api_op_GetApiCache.go | 3 - service/appsync/api_op_GetChannelNamespace.go | 3 - service/appsync/api_op_GetDataSource.go | 3 - .../api_op_GetDataSourceIntrospection.go | 3 - service/appsync/api_op_GetDomainName.go | 3 - service/appsync/api_op_GetFunction.go | 3 - service/appsync/api_op_GetGraphqlApi.go | 3 - ...pi_op_GetGraphqlApiEnvironmentVariables.go | 3 - .../appsync/api_op_GetIntrospectionSchema.go | 3 - service/appsync/api_op_GetResolver.go | 3 - .../appsync/api_op_GetSchemaCreationStatus.go | 3 - .../appsync/api_op_GetSourceApiAssociation.go | 3 - service/appsync/api_op_GetType.go | 3 - service/appsync/api_op_ListApiKeys.go | 3 - service/appsync/api_op_ListApis.go | 3 - .../appsync/api_op_ListChannelNamespaces.go | 3 - service/appsync/api_op_ListDataSources.go | 3 - service/appsync/api_op_ListDomainNames.go | 3 - service/appsync/api_op_ListFunctions.go | 3 - service/appsync/api_op_ListGraphqlApis.go | 3 - service/appsync/api_op_ListResolvers.go | 3 - .../appsync/api_op_ListResolversByFunction.go | 3 - .../api_op_ListSourceApiAssociations.go | 3 - service/appsync/api_op_ListTagsForResource.go | 3 - service/appsync/api_op_ListTypes.go | 3 - .../appsync/api_op_ListTypesByAssociation.go | 3 - ...pi_op_PutGraphqlApiEnvironmentVariables.go | 3 - .../api_op_StartDataSourceIntrospection.go | 3 - service/appsync/api_op_StartSchemaCreation.go | 3 - service/appsync/api_op_StartSchemaMerge.go | 3 - service/appsync/api_op_TagResource.go | 3 - service/appsync/api_op_UntagResource.go | 3 - service/appsync/api_op_UpdateApi.go | 3 - service/appsync/api_op_UpdateApiCache.go | 3 - service/appsync/api_op_UpdateApiKey.go | 3 - .../appsync/api_op_UpdateChannelNamespace.go | 3 - service/appsync/api_op_UpdateDataSource.go | 3 - service/appsync/api_op_UpdateDomainName.go | 3 - service/appsync/api_op_UpdateFunction.go | 3 - service/appsync/api_op_UpdateGraphqlApi.go | 3 - service/appsync/api_op_UpdateResolver.go | 3 - .../api_op_UpdateSourceApiAssociation.go | 3 - service/appsync/api_op_UpdateType.go | 3 - .../snapshot/api_op_AssociateApi.go.snap | 1 - .../api_op_AssociateMergedGraphqlApi.go.snap | 1 - .../api_op_AssociateSourceGraphqlApi.go.snap | 1 - .../appsync/snapshot/api_op_CreateApi.go.snap | 1 - .../snapshot/api_op_CreateApiCache.go.snap | 1 - .../snapshot/api_op_CreateApiKey.go.snap | 1 - .../api_op_CreateChannelNamespace.go.snap | 1 - .../snapshot/api_op_CreateDataSource.go.snap | 1 - .../snapshot/api_op_CreateDomainName.go.snap | 1 - .../snapshot/api_op_CreateFunction.go.snap | 1 - .../snapshot/api_op_CreateGraphqlApi.go.snap | 1 - .../snapshot/api_op_CreateResolver.go.snap | 1 - .../snapshot/api_op_CreateType.go.snap | 1 - .../appsync/snapshot/api_op_DeleteApi.go.snap | 1 - .../snapshot/api_op_DeleteApiCache.go.snap | 1 - .../snapshot/api_op_DeleteApiKey.go.snap | 1 - .../api_op_DeleteChannelNamespace.go.snap | 1 - .../snapshot/api_op_DeleteDataSource.go.snap | 1 - .../snapshot/api_op_DeleteDomainName.go.snap | 1 - .../snapshot/api_op_DeleteFunction.go.snap | 1 - .../snapshot/api_op_DeleteGraphqlApi.go.snap | 1 - .../snapshot/api_op_DeleteResolver.go.snap | 1 - .../snapshot/api_op_DeleteType.go.snap | 1 - .../snapshot/api_op_DisassociateApi.go.snap | 1 - ...pi_op_DisassociateMergedGraphqlApi.go.snap | 1 - ...pi_op_DisassociateSourceGraphqlApi.go.snap | 1 - .../snapshot/api_op_EvaluateCode.go.snap | 1 - .../api_op_EvaluateMappingTemplate.go.snap | 1 - .../snapshot/api_op_FlushApiCache.go.snap | 1 - .../appsync/snapshot/api_op_GetApi.go.snap | 1 - .../snapshot/api_op_GetApiAssociation.go.snap | 1 - .../snapshot/api_op_GetApiCache.go.snap | 1 - .../api_op_GetChannelNamespace.go.snap | 1 - .../snapshot/api_op_GetDataSource.go.snap | 1 - .../api_op_GetDataSourceIntrospection.go.snap | 1 - .../snapshot/api_op_GetDomainName.go.snap | 1 - .../snapshot/api_op_GetFunction.go.snap | 1 - .../snapshot/api_op_GetGraphqlApi.go.snap | 1 - ..._GetGraphqlApiEnvironmentVariables.go.snap | 1 - .../api_op_GetIntrospectionSchema.go.snap | 1 - .../snapshot/api_op_GetResolver.go.snap | 1 - .../api_op_GetSchemaCreationStatus.go.snap | 1 - .../api_op_GetSourceApiAssociation.go.snap | 1 - .../appsync/snapshot/api_op_GetType.go.snap | 1 - .../snapshot/api_op_ListApiKeys.go.snap | 1 - .../appsync/snapshot/api_op_ListApis.go.snap | 1 - .../api_op_ListChannelNamespaces.go.snap | 1 - .../snapshot/api_op_ListDataSources.go.snap | 1 - .../snapshot/api_op_ListDomainNames.go.snap | 1 - .../snapshot/api_op_ListFunctions.go.snap | 1 - .../snapshot/api_op_ListGraphqlApis.go.snap | 1 - .../snapshot/api_op_ListResolvers.go.snap | 1 - .../api_op_ListResolversByFunction.go.snap | 1 - .../api_op_ListSourceApiAssociations.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../appsync/snapshot/api_op_ListTypes.go.snap | 1 - .../api_op_ListTypesByAssociation.go.snap | 1 - ..._PutGraphqlApiEnvironmentVariables.go.snap | 1 - ...pi_op_StartDataSourceIntrospection.go.snap | 1 - .../api_op_StartSchemaCreation.go.snap | 1 - .../snapshot/api_op_StartSchemaMerge.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../appsync/snapshot/api_op_UpdateApi.go.snap | 1 - .../snapshot/api_op_UpdateApiCache.go.snap | 1 - .../snapshot/api_op_UpdateApiKey.go.snap | 1 - .../api_op_UpdateChannelNamespace.go.snap | 1 - .../snapshot/api_op_UpdateDataSource.go.snap | 1 - .../snapshot/api_op_UpdateDomainName.go.snap | 1 - .../snapshot/api_op_UpdateFunction.go.snap | 1 - .../snapshot/api_op_UpdateGraphqlApi.go.snap | 1 - .../snapshot/api_op_UpdateResolver.go.snap | 1 - .../api_op_UpdateSourceApiAssociation.go.snap | 1 - .../snapshot/api_op_UpdateType.go.snap | 1 - service/apptest/api_client.go | 31 -- service/apptest/api_op_CreateTestCase.go | 3 - .../apptest/api_op_CreateTestConfiguration.go | 3 - service/apptest/api_op_CreateTestSuite.go | 3 - service/apptest/api_op_DeleteTestCase.go | 3 - .../apptest/api_op_DeleteTestConfiguration.go | 3 - service/apptest/api_op_DeleteTestRun.go | 3 - service/apptest/api_op_DeleteTestSuite.go | 3 - service/apptest/api_op_GetTestCase.go | 3 - .../apptest/api_op_GetTestConfiguration.go | 3 - service/apptest/api_op_GetTestRunStep.go | 3 - service/apptest/api_op_GetTestSuite.go | 3 - service/apptest/api_op_ListTagsForResource.go | 3 - service/apptest/api_op_ListTestCases.go | 3 - .../apptest/api_op_ListTestConfigurations.go | 3 - service/apptest/api_op_ListTestRunSteps.go | 3 - .../apptest/api_op_ListTestRunTestCases.go | 3 - service/apptest/api_op_ListTestRuns.go | 3 - service/apptest/api_op_ListTestSuites.go | 3 - service/apptest/api_op_StartTestRun.go | 3 - service/apptest/api_op_TagResource.go | 3 - service/apptest/api_op_UntagResource.go | 3 - service/apptest/api_op_UpdateTestCase.go | 3 - .../apptest/api_op_UpdateTestConfiguration.go | 3 - service/apptest/api_op_UpdateTestSuite.go | 3 - .../snapshot/api_op_CreateTestCase.go.snap | 1 - .../api_op_CreateTestConfiguration.go.snap | 1 - .../snapshot/api_op_CreateTestSuite.go.snap | 1 - .../snapshot/api_op_DeleteTestCase.go.snap | 1 - .../api_op_DeleteTestConfiguration.go.snap | 1 - .../snapshot/api_op_DeleteTestRun.go.snap | 1 - .../snapshot/api_op_DeleteTestSuite.go.snap | 1 - .../snapshot/api_op_GetTestCase.go.snap | 1 - .../api_op_GetTestConfiguration.go.snap | 1 - .../snapshot/api_op_GetTestRunStep.go.snap | 1 - .../snapshot/api_op_GetTestSuite.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListTestCases.go.snap | 1 - .../api_op_ListTestConfigurations.go.snap | 1 - .../snapshot/api_op_ListTestRunSteps.go.snap | 1 - .../api_op_ListTestRunTestCases.go.snap | 1 - .../snapshot/api_op_ListTestRuns.go.snap | 1 - .../snapshot/api_op_ListTestSuites.go.snap | 1 - .../snapshot/api_op_StartTestRun.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateTestCase.go.snap | 1 - .../api_op_UpdateTestConfiguration.go.snap | 1 - .../snapshot/api_op_UpdateTestSuite.go.snap | 1 - service/arczonalshift/api_client.go | 31 -- .../arczonalshift/api_op_CancelZonalShift.go | 3 - .../api_op_CreatePracticeRunConfiguration.go | 3 - .../api_op_DeletePracticeRunConfiguration.go | 3 - ..._GetAutoshiftObserverNotificationStatus.go | 3 - .../api_op_GetManagedResource.go | 3 - .../arczonalshift/api_op_ListAutoshifts.go | 3 - .../api_op_ListManagedResources.go | 3 - .../arczonalshift/api_op_ListZonalShifts.go | 3 - .../arczonalshift/api_op_StartZonalShift.go | 3 - ...dateAutoshiftObserverNotificationStatus.go | 3 - .../api_op_UpdatePracticeRunConfiguration.go | 3 - ...pi_op_UpdateZonalAutoshiftConfiguration.go | 3 - .../arczonalshift/api_op_UpdateZonalShift.go | 3 - .../snapshot/api_op_CancelZonalShift.go.snap | 1 - ..._op_CreatePracticeRunConfiguration.go.snap | 1 - ..._op_DeletePracticeRunConfiguration.go.snap | 1 - ...utoshiftObserverNotificationStatus.go.snap | 1 - .../api_op_GetManagedResource.go.snap | 1 - .../snapshot/api_op_ListAutoshifts.go.snap | 1 - .../api_op_ListManagedResources.go.snap | 1 - .../snapshot/api_op_ListZonalShifts.go.snap | 1 - .../snapshot/api_op_StartZonalShift.go.snap | 1 - ...utoshiftObserverNotificationStatus.go.snap | 1 - ..._op_UpdatePracticeRunConfiguration.go.snap | 1 - ..._UpdateZonalAutoshiftConfiguration.go.snap | 1 - .../snapshot/api_op_UpdateZonalShift.go.snap | 1 - service/artifact/api_client.go | 31 -- service/artifact/api_op_GetAccountSettings.go | 3 - service/artifact/api_op_GetReport.go | 3 - service/artifact/api_op_GetReportMetadata.go | 3 - service/artifact/api_op_GetTermForReport.go | 3 - .../artifact/api_op_ListCustomerAgreements.go | 3 - service/artifact/api_op_ListReports.go | 3 - service/artifact/api_op_PutAccountSettings.go | 3 - .../api_op_GetAccountSettings.go.snap | 1 - .../snapshot/api_op_GetReport.go.snap | 1 - .../snapshot/api_op_GetReportMetadata.go.snap | 1 - .../snapshot/api_op_GetTermForReport.go.snap | 1 - .../api_op_ListCustomerAgreements.go.snap | 1 - .../snapshot/api_op_ListReports.go.snap | 1 - .../api_op_PutAccountSettings.go.snap | 1 - service/athena/api_client.go | 31 -- service/athena/api_op_BatchGetNamedQuery.go | 3 - .../api_op_BatchGetPreparedStatement.go | 3 - .../athena/api_op_BatchGetQueryExecution.go | 3 - .../api_op_CancelCapacityReservation.go | 3 - .../api_op_CreateCapacityReservation.go | 3 - service/athena/api_op_CreateDataCatalog.go | 3 - service/athena/api_op_CreateNamedQuery.go | 3 - service/athena/api_op_CreateNotebook.go | 3 - .../athena/api_op_CreatePreparedStatement.go | 3 - .../api_op_CreatePresignedNotebookUrl.go | 3 - service/athena/api_op_CreateWorkGroup.go | 3 - .../api_op_DeleteCapacityReservation.go | 3 - service/athena/api_op_DeleteDataCatalog.go | 3 - service/athena/api_op_DeleteNamedQuery.go | 3 - service/athena/api_op_DeleteNotebook.go | 3 - .../athena/api_op_DeletePreparedStatement.go | 3 - service/athena/api_op_DeleteWorkGroup.go | 3 - service/athena/api_op_ExportNotebook.go | 3 - .../athena/api_op_GetCalculationExecution.go | 3 - .../api_op_GetCalculationExecutionCode.go | 3 - .../api_op_GetCalculationExecutionStatus.go | 3 - ...i_op_GetCapacityAssignmentConfiguration.go | 3 - .../athena/api_op_GetCapacityReservation.go | 3 - service/athena/api_op_GetDataCatalog.go | 3 - service/athena/api_op_GetDatabase.go | 3 - service/athena/api_op_GetNamedQuery.go | 3 - service/athena/api_op_GetNotebookMetadata.go | 3 - service/athena/api_op_GetPreparedStatement.go | 3 - service/athena/api_op_GetQueryExecution.go | 3 - service/athena/api_op_GetQueryResults.go | 3 - .../api_op_GetQueryRuntimeStatistics.go | 3 - service/athena/api_op_GetSession.go | 3 - service/athena/api_op_GetSessionStatus.go | 3 - service/athena/api_op_GetTableMetadata.go | 3 - service/athena/api_op_GetWorkGroup.go | 3 - service/athena/api_op_ImportNotebook.go | 3 - .../athena/api_op_ListApplicationDPUSizes.go | 3 - .../api_op_ListCalculationExecutions.go | 3 - .../athena/api_op_ListCapacityReservations.go | 3 - service/athena/api_op_ListDataCatalogs.go | 3 - service/athena/api_op_ListDatabases.go | 3 - service/athena/api_op_ListEngineVersions.go | 3 - service/athena/api_op_ListExecutors.go | 3 - service/athena/api_op_ListNamedQueries.go | 3 - service/athena/api_op_ListNotebookMetadata.go | 3 - service/athena/api_op_ListNotebookSessions.go | 3 - .../athena/api_op_ListPreparedStatements.go | 3 - service/athena/api_op_ListQueryExecutions.go | 3 - service/athena/api_op_ListSessions.go | 3 - service/athena/api_op_ListTableMetadata.go | 3 - service/athena/api_op_ListTagsForResource.go | 3 - service/athena/api_op_ListWorkGroups.go | 3 - ...i_op_PutCapacityAssignmentConfiguration.go | 3 - .../api_op_StartCalculationExecution.go | 3 - service/athena/api_op_StartQueryExecution.go | 3 - service/athena/api_op_StartSession.go | 3 - .../athena/api_op_StopCalculationExecution.go | 3 - service/athena/api_op_StopQueryExecution.go | 3 - service/athena/api_op_TagResource.go | 3 - service/athena/api_op_TerminateSession.go | 3 - service/athena/api_op_UntagResource.go | 3 - .../api_op_UpdateCapacityReservation.go | 3 - service/athena/api_op_UpdateDataCatalog.go | 3 - service/athena/api_op_UpdateNamedQuery.go | 3 - service/athena/api_op_UpdateNotebook.go | 3 - .../athena/api_op_UpdateNotebookMetadata.go | 3 - .../athena/api_op_UpdatePreparedStatement.go | 3 - service/athena/api_op_UpdateWorkGroup.go | 3 - .../api_op_BatchGetNamedQuery.go.snap | 1 - .../api_op_BatchGetPreparedStatement.go.snap | 1 - .../api_op_BatchGetQueryExecution.go.snap | 1 - .../api_op_CancelCapacityReservation.go.snap | 1 - .../api_op_CreateCapacityReservation.go.snap | 1 - .../snapshot/api_op_CreateDataCatalog.go.snap | 1 - .../snapshot/api_op_CreateNamedQuery.go.snap | 1 - .../snapshot/api_op_CreateNotebook.go.snap | 1 - .../api_op_CreatePreparedStatement.go.snap | 1 - .../api_op_CreatePresignedNotebookUrl.go.snap | 1 - .../snapshot/api_op_CreateWorkGroup.go.snap | 1 - .../api_op_DeleteCapacityReservation.go.snap | 1 - .../snapshot/api_op_DeleteDataCatalog.go.snap | 1 - .../snapshot/api_op_DeleteNamedQuery.go.snap | 1 - .../snapshot/api_op_DeleteNotebook.go.snap | 1 - .../api_op_DeletePreparedStatement.go.snap | 1 - .../snapshot/api_op_DeleteWorkGroup.go.snap | 1 - .../snapshot/api_op_ExportNotebook.go.snap | 1 - .../api_op_GetCalculationExecution.go.snap | 1 - ...api_op_GetCalculationExecutionCode.go.snap | 1 - ...i_op_GetCalculationExecutionStatus.go.snap | 1 - ...GetCapacityAssignmentConfiguration.go.snap | 1 - .../api_op_GetCapacityReservation.go.snap | 1 - .../snapshot/api_op_GetDataCatalog.go.snap | 1 - .../snapshot/api_op_GetDatabase.go.snap | 1 - .../snapshot/api_op_GetNamedQuery.go.snap | 1 - .../api_op_GetNotebookMetadata.go.snap | 1 - .../api_op_GetPreparedStatement.go.snap | 1 - .../snapshot/api_op_GetQueryExecution.go.snap | 1 - .../snapshot/api_op_GetQueryResults.go.snap | 1 - .../api_op_GetQueryRuntimeStatistics.go.snap | 1 - .../athena/snapshot/api_op_GetSession.go.snap | 1 - .../snapshot/api_op_GetSessionStatus.go.snap | 1 - .../snapshot/api_op_GetTableMetadata.go.snap | 1 - .../snapshot/api_op_GetWorkGroup.go.snap | 1 - .../snapshot/api_op_ImportNotebook.go.snap | 1 - .../api_op_ListApplicationDPUSizes.go.snap | 1 - .../api_op_ListCalculationExecutions.go.snap | 1 - .../api_op_ListCapacityReservations.go.snap | 1 - .../snapshot/api_op_ListDataCatalogs.go.snap | 1 - .../snapshot/api_op_ListDatabases.go.snap | 1 - .../api_op_ListEngineVersions.go.snap | 1 - .../snapshot/api_op_ListExecutors.go.snap | 1 - .../snapshot/api_op_ListNamedQueries.go.snap | 1 - .../api_op_ListNotebookMetadata.go.snap | 1 - .../api_op_ListNotebookSessions.go.snap | 1 - .../api_op_ListPreparedStatements.go.snap | 1 - .../api_op_ListQueryExecutions.go.snap | 1 - .../snapshot/api_op_ListSessions.go.snap | 1 - .../snapshot/api_op_ListTableMetadata.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListWorkGroups.go.snap | 1 - ...PutCapacityAssignmentConfiguration.go.snap | 1 - .../api_op_StartCalculationExecution.go.snap | 1 - .../api_op_StartQueryExecution.go.snap | 1 - .../snapshot/api_op_StartSession.go.snap | 1 - .../api_op_StopCalculationExecution.go.snap | 1 - .../api_op_StopQueryExecution.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_TerminateSession.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateCapacityReservation.go.snap | 1 - .../snapshot/api_op_UpdateDataCatalog.go.snap | 1 - .../snapshot/api_op_UpdateNamedQuery.go.snap | 1 - .../snapshot/api_op_UpdateNotebook.go.snap | 1 - .../api_op_UpdateNotebookMetadata.go.snap | 1 - .../api_op_UpdatePreparedStatement.go.snap | 1 - .../snapshot/api_op_UpdateWorkGroup.go.snap | 1 - service/auditmanager/api_client.go | 31 -- ...AssociateAssessmentReportEvidenceFolder.go | 3 - ..._BatchAssociateAssessmentReportEvidence.go | 3 - ...pi_op_BatchCreateDelegationByAssessment.go | 3 - ...pi_op_BatchDeleteDelegationByAssessment.go | 3 - ...tchDisassociateAssessmentReportEvidence.go | 3 - ..._BatchImportEvidenceToAssessmentControl.go | 3 - .../auditmanager/api_op_CreateAssessment.go | 3 - .../api_op_CreateAssessmentFramework.go | 3 - .../api_op_CreateAssessmentReport.go | 3 - service/auditmanager/api_op_CreateControl.go | 3 - .../auditmanager/api_op_DeleteAssessment.go | 3 - .../api_op_DeleteAssessmentFramework.go | 3 - .../api_op_DeleteAssessmentFrameworkShare.go | 3 - .../api_op_DeleteAssessmentReport.go | 3 - service/auditmanager/api_op_DeleteControl.go | 3 - .../auditmanager/api_op_DeregisterAccount.go | 3 - ...i_op_DeregisterOrganizationAdminAccount.go | 3 - ...associateAssessmentReportEvidenceFolder.go | 3 - .../auditmanager/api_op_GetAccountStatus.go | 3 - service/auditmanager/api_op_GetAssessment.go | 3 - .../api_op_GetAssessmentFramework.go | 3 - .../api_op_GetAssessmentReportUrl.go | 3 - service/auditmanager/api_op_GetChangeLogs.go | 3 - service/auditmanager/api_op_GetControl.go | 3 - service/auditmanager/api_op_GetDelegations.go | 3 - service/auditmanager/api_op_GetEvidence.go | 3 - .../api_op_GetEvidenceByEvidenceFolder.go | 3 - .../api_op_GetEvidenceFileUploadUrl.go | 3 - .../auditmanager/api_op_GetEvidenceFolder.go | 3 - .../api_op_GetEvidenceFoldersByAssessment.go | 3 - ...p_GetEvidenceFoldersByAssessmentControl.go | 3 - service/auditmanager/api_op_GetInsights.go | 3 - .../api_op_GetInsightsByAssessment.go | 3 - .../api_op_GetOrganizationAdminAccount.go | 3 - .../auditmanager/api_op_GetServicesInScope.go | 3 - service/auditmanager/api_op_GetSettings.go | 3 - ...ssessmentControlInsightsByControlDomain.go | 3 - ...op_ListAssessmentFrameworkShareRequests.go | 3 - .../api_op_ListAssessmentFrameworks.go | 3 - .../api_op_ListAssessmentReports.go | 3 - .../auditmanager/api_op_ListAssessments.go | 3 - .../api_op_ListControlDomainInsights.go | 3 - ...p_ListControlDomainInsightsByAssessment.go | 3 - ...i_op_ListControlInsightsByControlDomain.go | 3 - service/auditmanager/api_op_ListControls.go | 3 - .../api_op_ListKeywordsForDataSource.go | 3 - .../auditmanager/api_op_ListNotifications.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../auditmanager/api_op_RegisterAccount.go | 3 - ...api_op_RegisterOrganizationAdminAccount.go | 3 - .../api_op_StartAssessmentFrameworkShare.go | 3 - service/auditmanager/api_op_TagResource.go | 3 - service/auditmanager/api_op_UntagResource.go | 3 - .../auditmanager/api_op_UpdateAssessment.go | 3 - .../api_op_UpdateAssessmentControl.go | 3 - ...api_op_UpdateAssessmentControlSetStatus.go | 3 - .../api_op_UpdateAssessmentFramework.go | 3 - .../api_op_UpdateAssessmentFrameworkShare.go | 3 - .../api_op_UpdateAssessmentStatus.go | 3 - service/auditmanager/api_op_UpdateControl.go | 3 - service/auditmanager/api_op_UpdateSettings.go | 3 - ...pi_op_ValidateAssessmentReportIntegrity.go | 3 - ...iateAssessmentReportEvidenceFolder.go.snap | 1 - ...hAssociateAssessmentReportEvidence.go.snap | 1 - ..._BatchCreateDelegationByAssessment.go.snap | 1 - ..._BatchDeleteDelegationByAssessment.go.snap | 1 - ...sassociateAssessmentReportEvidence.go.snap | 1 - ...hImportEvidenceToAssessmentControl.go.snap | 1 - .../snapshot/api_op_CreateAssessment.go.snap | 1 - .../api_op_CreateAssessmentFramework.go.snap | 1 - .../api_op_CreateAssessmentReport.go.snap | 1 - .../snapshot/api_op_CreateControl.go.snap | 1 - .../snapshot/api_op_DeleteAssessment.go.snap | 1 - .../api_op_DeleteAssessmentFramework.go.snap | 1 - ..._op_DeleteAssessmentFrameworkShare.go.snap | 1 - .../api_op_DeleteAssessmentReport.go.snap | 1 - .../snapshot/api_op_DeleteControl.go.snap | 1 - .../snapshot/api_op_DeregisterAccount.go.snap | 1 - ...DeregisterOrganizationAdminAccount.go.snap | 1 - ...iateAssessmentReportEvidenceFolder.go.snap | 1 - .../snapshot/api_op_GetAccountStatus.go.snap | 1 - .../snapshot/api_op_GetAssessment.go.snap | 1 - .../api_op_GetAssessmentFramework.go.snap | 1 - .../api_op_GetAssessmentReportUrl.go.snap | 1 - .../snapshot/api_op_GetChangeLogs.go.snap | 1 - .../snapshot/api_op_GetControl.go.snap | 1 - .../snapshot/api_op_GetDelegations.go.snap | 1 - .../snapshot/api_op_GetEvidence.go.snap | 1 - ...api_op_GetEvidenceByEvidenceFolder.go.snap | 1 - .../api_op_GetEvidenceFileUploadUrl.go.snap | 1 - .../snapshot/api_op_GetEvidenceFolder.go.snap | 1 - ..._op_GetEvidenceFoldersByAssessment.go.snap | 1 - ...EvidenceFoldersByAssessmentControl.go.snap | 1 - .../snapshot/api_op_GetInsights.go.snap | 1 - .../api_op_GetInsightsByAssessment.go.snap | 1 - ...api_op_GetOrganizationAdminAccount.go.snap | 1 - .../api_op_GetServicesInScope.go.snap | 1 - .../snapshot/api_op_GetSettings.go.snap | 1 - ...mentControlInsightsByControlDomain.go.snap | 1 - ...stAssessmentFrameworkShareRequests.go.snap | 1 - .../api_op_ListAssessmentFrameworks.go.snap | 1 - .../api_op_ListAssessmentReports.go.snap | 1 - .../snapshot/api_op_ListAssessments.go.snap | 1 - .../api_op_ListControlDomainInsights.go.snap | 1 - ...tControlDomainInsightsByAssessment.go.snap | 1 - ...ListControlInsightsByControlDomain.go.snap | 1 - .../snapshot/api_op_ListControls.go.snap | 1 - .../api_op_ListKeywordsForDataSource.go.snap | 1 - .../snapshot/api_op_ListNotifications.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_RegisterAccount.go.snap | 1 - ...p_RegisterOrganizationAdminAccount.go.snap | 1 - ...i_op_StartAssessmentFrameworkShare.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateAssessment.go.snap | 1 - .../api_op_UpdateAssessmentControl.go.snap | 1 - ...p_UpdateAssessmentControlSetStatus.go.snap | 1 - .../api_op_UpdateAssessmentFramework.go.snap | 1 - ..._op_UpdateAssessmentFrameworkShare.go.snap | 1 - .../api_op_UpdateAssessmentStatus.go.snap | 1 - .../snapshot/api_op_UpdateControl.go.snap | 1 - .../snapshot/api_op_UpdateSettings.go.snap | 1 - ..._ValidateAssessmentReportIntegrity.go.snap | 1 - service/autoscaling/api_client.go | 31 -- service/autoscaling/api_op_AttachInstances.go | 3 - .../api_op_AttachLoadBalancerTargetGroups.go | 3 - .../autoscaling/api_op_AttachLoadBalancers.go | 3 - .../api_op_AttachTrafficSources.go | 3 - .../api_op_BatchDeleteScheduledAction.go | 3 - ...i_op_BatchPutScheduledUpdateGroupAction.go | 3 - .../api_op_CancelInstanceRefresh.go | 3 - .../api_op_CompleteLifecycleAction.go | 3 - .../api_op_CreateAutoScalingGroup.go | 3 - .../api_op_CreateLaunchConfiguration.go | 3 - .../autoscaling/api_op_CreateOrUpdateTags.go | 3 - .../api_op_DeleteAutoScalingGroup.go | 3 - .../api_op_DeleteLaunchConfiguration.go | 3 - .../autoscaling/api_op_DeleteLifecycleHook.go | 3 - .../api_op_DeleteNotificationConfiguration.go | 3 - service/autoscaling/api_op_DeletePolicy.go | 3 - .../api_op_DeleteScheduledAction.go | 3 - service/autoscaling/api_op_DeleteTags.go | 3 - service/autoscaling/api_op_DeleteWarmPool.go | 3 - .../api_op_DescribeAccountLimits.go | 3 - .../api_op_DescribeAdjustmentTypes.go | 3 - .../api_op_DescribeAutoScalingGroups.go | 3 - .../api_op_DescribeAutoScalingInstances.go | 3 - ...op_DescribeAutoScalingNotificationTypes.go | 3 - .../api_op_DescribeInstanceRefreshes.go | 3 - .../api_op_DescribeLaunchConfigurations.go | 3 - .../api_op_DescribeLifecycleHookTypes.go | 3 - .../api_op_DescribeLifecycleHooks.go | 3 - ...api_op_DescribeLoadBalancerTargetGroups.go | 3 - .../api_op_DescribeLoadBalancers.go | 3 - .../api_op_DescribeMetricCollectionTypes.go | 3 - ...i_op_DescribeNotificationConfigurations.go | 3 - .../autoscaling/api_op_DescribePolicies.go | 3 - .../api_op_DescribeScalingActivities.go | 3 - .../api_op_DescribeScalingProcessTypes.go | 3 - .../api_op_DescribeScheduledActions.go | 3 - service/autoscaling/api_op_DescribeTags.go | 3 - .../api_op_DescribeTerminationPolicyTypes.go | 3 - .../api_op_DescribeTrafficSources.go | 3 - .../autoscaling/api_op_DescribeWarmPool.go | 3 - service/autoscaling/api_op_DetachInstances.go | 3 - .../api_op_DetachLoadBalancerTargetGroups.go | 3 - .../autoscaling/api_op_DetachLoadBalancers.go | 3 - .../api_op_DetachTrafficSources.go | 3 - .../api_op_DisableMetricsCollection.go | 3 - .../api_op_EnableMetricsCollection.go | 3 - service/autoscaling/api_op_EnterStandby.go | 3 - service/autoscaling/api_op_ExecutePolicy.go | 3 - service/autoscaling/api_op_ExitStandby.go | 3 - .../api_op_GetPredictiveScalingForecast.go | 3 - .../autoscaling/api_op_PutLifecycleHook.go | 3 - .../api_op_PutNotificationConfiguration.go | 3 - .../autoscaling/api_op_PutScalingPolicy.go | 3 - .../api_op_PutScheduledUpdateGroupAction.go | 3 - service/autoscaling/api_op_PutWarmPool.go | 3 - .../api_op_RecordLifecycleActionHeartbeat.go | 3 - service/autoscaling/api_op_ResumeProcesses.go | 3 - .../api_op_RollbackInstanceRefresh.go | 3 - .../autoscaling/api_op_SetDesiredCapacity.go | 3 - .../autoscaling/api_op_SetInstanceHealth.go | 3 - .../api_op_SetInstanceProtection.go | 3 - .../api_op_StartInstanceRefresh.go | 3 - .../autoscaling/api_op_SuspendProcesses.go | 3 - ..._op_TerminateInstanceInAutoScalingGroup.go | 3 - .../api_op_UpdateAutoScalingGroup.go | 3 - .../snapshot/api_op_AttachInstances.go.snap | 1 - ..._op_AttachLoadBalancerTargetGroups.go.snap | 1 - .../api_op_AttachLoadBalancers.go.snap | 1 - .../api_op_AttachTrafficSources.go.snap | 1 - .../api_op_BatchDeleteScheduledAction.go.snap | 1 - ...BatchPutScheduledUpdateGroupAction.go.snap | 1 - .../api_op_CancelInstanceRefresh.go.snap | 1 - .../api_op_CompleteLifecycleAction.go.snap | 1 - .../api_op_CreateAutoScalingGroup.go.snap | 1 - .../api_op_CreateLaunchConfiguration.go.snap | 1 - .../api_op_CreateOrUpdateTags.go.snap | 1 - .../api_op_DeleteAutoScalingGroup.go.snap | 1 - .../api_op_DeleteLaunchConfiguration.go.snap | 1 - .../api_op_DeleteLifecycleHook.go.snap | 1 - ...op_DeleteNotificationConfiguration.go.snap | 1 - .../snapshot/api_op_DeletePolicy.go.snap | 1 - .../api_op_DeleteScheduledAction.go.snap | 1 - .../snapshot/api_op_DeleteTags.go.snap | 1 - .../snapshot/api_op_DeleteWarmPool.go.snap | 1 - .../api_op_DescribeAccountLimits.go.snap | 1 - .../api_op_DescribeAdjustmentTypes.go.snap | 1 - .../api_op_DescribeAutoScalingGroups.go.snap | 1 - ...pi_op_DescribeAutoScalingInstances.go.snap | 1 - ...scribeAutoScalingNotificationTypes.go.snap | 1 - .../api_op_DescribeInstanceRefreshes.go.snap | 1 - ...pi_op_DescribeLaunchConfigurations.go.snap | 1 - .../api_op_DescribeLifecycleHookTypes.go.snap | 1 - .../api_op_DescribeLifecycleHooks.go.snap | 1 - ...p_DescribeLoadBalancerTargetGroups.go.snap | 1 - .../api_op_DescribeLoadBalancers.go.snap | 1 - ...i_op_DescribeMetricCollectionTypes.go.snap | 1 - ...DescribeNotificationConfigurations.go.snap | 1 - .../snapshot/api_op_DescribePolicies.go.snap | 1 - .../api_op_DescribeScalingActivities.go.snap | 1 - ...api_op_DescribeScalingProcessTypes.go.snap | 1 - .../api_op_DescribeScheduledActions.go.snap | 1 - .../snapshot/api_op_DescribeTags.go.snap | 1 - ..._op_DescribeTerminationPolicyTypes.go.snap | 1 - .../api_op_DescribeTrafficSources.go.snap | 1 - .../snapshot/api_op_DescribeWarmPool.go.snap | 1 - .../snapshot/api_op_DetachInstances.go.snap | 1 - ..._op_DetachLoadBalancerTargetGroups.go.snap | 1 - .../api_op_DetachLoadBalancers.go.snap | 1 - .../api_op_DetachTrafficSources.go.snap | 1 - .../api_op_DisableMetricsCollection.go.snap | 1 - .../api_op_EnableMetricsCollection.go.snap | 1 - .../snapshot/api_op_EnterStandby.go.snap | 1 - .../snapshot/api_op_ExecutePolicy.go.snap | 1 - .../snapshot/api_op_ExitStandby.go.snap | 1 - ...pi_op_GetPredictiveScalingForecast.go.snap | 1 - .../snapshot/api_op_PutLifecycleHook.go.snap | 1 - ...pi_op_PutNotificationConfiguration.go.snap | 1 - .../snapshot/api_op_PutScalingPolicy.go.snap | 1 - ...i_op_PutScheduledUpdateGroupAction.go.snap | 1 - .../snapshot/api_op_PutWarmPool.go.snap | 1 - ..._op_RecordLifecycleActionHeartbeat.go.snap | 1 - .../snapshot/api_op_ResumeProcesses.go.snap | 1 - .../api_op_RollbackInstanceRefresh.go.snap | 1 - .../api_op_SetDesiredCapacity.go.snap | 1 - .../snapshot/api_op_SetInstanceHealth.go.snap | 1 - .../api_op_SetInstanceProtection.go.snap | 1 - .../api_op_StartInstanceRefresh.go.snap | 1 - .../snapshot/api_op_SuspendProcesses.go.snap | 1 - ...erminateInstanceInAutoScalingGroup.go.snap | 1 - .../api_op_UpdateAutoScalingGroup.go.snap | 1 - service/autoscalingplans/api_client.go | 31 -- .../api_op_CreateScalingPlan.go | 3 - .../api_op_DeleteScalingPlan.go | 3 - .../api_op_DescribeScalingPlanResources.go | 3 - .../api_op_DescribeScalingPlans.go | 3 - ...i_op_GetScalingPlanResourceForecastData.go | 3 - .../api_op_UpdateScalingPlan.go | 3 - .../snapshot/api_op_CreateScalingPlan.go.snap | 1 - .../snapshot/api_op_DeleteScalingPlan.go.snap | 1 - ...pi_op_DescribeScalingPlanResources.go.snap | 1 - .../api_op_DescribeScalingPlans.go.snap | 1 - ...GetScalingPlanResourceForecastData.go.snap | 1 - .../snapshot/api_op_UpdateScalingPlan.go.snap | 1 - service/b2bi/api_client.go | 31 -- service/b2bi/api_op_CreateCapability.go | 3 - service/b2bi/api_op_CreatePartnership.go | 3 - service/b2bi/api_op_CreateProfile.go | 3 - .../api_op_CreateStarterMappingTemplate.go | 3 - service/b2bi/api_op_CreateTransformer.go | 3 - service/b2bi/api_op_DeleteCapability.go | 3 - service/b2bi/api_op_DeletePartnership.go | 3 - service/b2bi/api_op_DeleteProfile.go | 3 - service/b2bi/api_op_DeleteTransformer.go | 3 - service/b2bi/api_op_GenerateMapping.go | 3 - service/b2bi/api_op_GetCapability.go | 3 - service/b2bi/api_op_GetPartnership.go | 3 - service/b2bi/api_op_GetProfile.go | 3 - service/b2bi/api_op_GetTransformer.go | 3 - service/b2bi/api_op_GetTransformerJob.go | 3 - service/b2bi/api_op_ListCapabilities.go | 3 - service/b2bi/api_op_ListPartnerships.go | 3 - service/b2bi/api_op_ListProfiles.go | 3 - service/b2bi/api_op_ListTagsForResource.go | 3 - service/b2bi/api_op_ListTransformers.go | 3 - service/b2bi/api_op_StartTransformerJob.go | 3 - service/b2bi/api_op_TagResource.go | 3 - service/b2bi/api_op_TestConversion.go | 3 - service/b2bi/api_op_TestMapping.go | 3 - service/b2bi/api_op_TestParsing.go | 3 - service/b2bi/api_op_UntagResource.go | 3 - service/b2bi/api_op_UpdateCapability.go | 3 - service/b2bi/api_op_UpdatePartnership.go | 3 - service/b2bi/api_op_UpdateProfile.go | 3 - service/b2bi/api_op_UpdateTransformer.go | 3 - .../snapshot/api_op_CreateCapability.go.snap | 1 - .../snapshot/api_op_CreatePartnership.go.snap | 1 - .../snapshot/api_op_CreateProfile.go.snap | 1 - ...pi_op_CreateStarterMappingTemplate.go.snap | 1 - .../snapshot/api_op_CreateTransformer.go.snap | 1 - .../snapshot/api_op_DeleteCapability.go.snap | 1 - .../snapshot/api_op_DeletePartnership.go.snap | 1 - .../snapshot/api_op_DeleteProfile.go.snap | 1 - .../snapshot/api_op_DeleteTransformer.go.snap | 1 - .../snapshot/api_op_GenerateMapping.go.snap | 1 - .../snapshot/api_op_GetCapability.go.snap | 1 - .../snapshot/api_op_GetPartnership.go.snap | 1 - .../b2bi/snapshot/api_op_GetProfile.go.snap | 1 - .../snapshot/api_op_GetTransformer.go.snap | 1 - .../snapshot/api_op_GetTransformerJob.go.snap | 1 - .../snapshot/api_op_ListCapabilities.go.snap | 1 - .../snapshot/api_op_ListPartnerships.go.snap | 1 - .../b2bi/snapshot/api_op_ListProfiles.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListTransformers.go.snap | 1 - .../api_op_StartTransformerJob.go.snap | 1 - .../b2bi/snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_TestConversion.go.snap | 1 - .../b2bi/snapshot/api_op_TestMapping.go.snap | 1 - .../b2bi/snapshot/api_op_TestParsing.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateCapability.go.snap | 1 - .../snapshot/api_op_UpdatePartnership.go.snap | 1 - .../snapshot/api_op_UpdateProfile.go.snap | 1 - .../snapshot/api_op_UpdateTransformer.go.snap | 1 - service/backup/api_client.go | 31 -- service/backup/api_op_CancelLegalHold.go | 3 - service/backup/api_op_CreateBackupPlan.go | 3 - .../backup/api_op_CreateBackupSelection.go | 3 - service/backup/api_op_CreateBackupVault.go | 3 - service/backup/api_op_CreateFramework.go | 3 - service/backup/api_op_CreateLegalHold.go | 3 - ..._op_CreateLogicallyAirGappedBackupVault.go | 3 - service/backup/api_op_CreateReportPlan.go | 3 - .../backup/api_op_CreateRestoreTestingPlan.go | 3 - .../api_op_CreateRestoreTestingSelection.go | 3 - service/backup/api_op_DeleteBackupPlan.go | 3 - .../backup/api_op_DeleteBackupSelection.go | 3 - service/backup/api_op_DeleteBackupVault.go | 3 - .../api_op_DeleteBackupVaultAccessPolicy.go | 3 - ...i_op_DeleteBackupVaultLockConfiguration.go | 3 - .../api_op_DeleteBackupVaultNotifications.go | 3 - service/backup/api_op_DeleteFramework.go | 3 - service/backup/api_op_DeleteRecoveryPoint.go | 3 - service/backup/api_op_DeleteReportPlan.go | 3 - .../backup/api_op_DeleteRestoreTestingPlan.go | 3 - .../api_op_DeleteRestoreTestingSelection.go | 3 - service/backup/api_op_DescribeBackupJob.go | 3 - service/backup/api_op_DescribeBackupVault.go | 3 - service/backup/api_op_DescribeCopyJob.go | 3 - service/backup/api_op_DescribeFramework.go | 3 - .../backup/api_op_DescribeGlobalSettings.go | 3 - .../api_op_DescribeProtectedResource.go | 3 - .../backup/api_op_DescribeRecoveryPoint.go | 3 - .../backup/api_op_DescribeRegionSettings.go | 3 - service/backup/api_op_DescribeReportJob.go | 3 - service/backup/api_op_DescribeReportPlan.go | 3 - service/backup/api_op_DescribeRestoreJob.go | 3 - .../api_op_DisassociateRecoveryPoint.go | 3 - ..._op_DisassociateRecoveryPointFromParent.go | 3 - .../backup/api_op_ExportBackupPlanTemplate.go | 3 - service/backup/api_op_GetBackupPlan.go | 3 - .../backup/api_op_GetBackupPlanFromJSON.go | 3 - .../api_op_GetBackupPlanFromTemplate.go | 3 - service/backup/api_op_GetBackupSelection.go | 3 - .../api_op_GetBackupVaultAccessPolicy.go | 3 - .../api_op_GetBackupVaultNotifications.go | 3 - service/backup/api_op_GetLegalHold.go | 3 - .../api_op_GetRecoveryPointIndexDetails.go | 3 - .../api_op_GetRecoveryPointRestoreMetadata.go | 3 - .../backup/api_op_GetRestoreJobMetadata.go | 3 - ...pi_op_GetRestoreTestingInferredMetadata.go | 3 - .../backup/api_op_GetRestoreTestingPlan.go | 3 - .../api_op_GetRestoreTestingSelection.go | 3 - .../api_op_GetSupportedResourceTypes.go | 3 - .../backup/api_op_ListBackupJobSummaries.go | 3 - service/backup/api_op_ListBackupJobs.go | 3 - .../backup/api_op_ListBackupPlanTemplates.go | 3 - .../backup/api_op_ListBackupPlanVersions.go | 3 - service/backup/api_op_ListBackupPlans.go | 3 - service/backup/api_op_ListBackupSelections.go | 3 - service/backup/api_op_ListBackupVaults.go | 3 - service/backup/api_op_ListCopyJobSummaries.go | 3 - service/backup/api_op_ListCopyJobs.go | 3 - service/backup/api_op_ListFrameworks.go | 3 - .../api_op_ListIndexedRecoveryPoints.go | 3 - service/backup/api_op_ListLegalHolds.go | 3 - .../backup/api_op_ListProtectedResources.go | 3 - ..._op_ListProtectedResourcesByBackupVault.go | 3 - .../api_op_ListRecoveryPointsByBackupVault.go | 3 - .../api_op_ListRecoveryPointsByLegalHold.go | 3 - .../api_op_ListRecoveryPointsByResource.go | 3 - service/backup/api_op_ListReportJobs.go | 3 - service/backup/api_op_ListReportPlans.go | 3 - .../backup/api_op_ListRestoreJobSummaries.go | 3 - service/backup/api_op_ListRestoreJobs.go | 3 - ...i_op_ListRestoreJobsByProtectedResource.go | 3 - .../backup/api_op_ListRestoreTestingPlans.go | 3 - .../api_op_ListRestoreTestingSelections.go | 3 - service/backup/api_op_ListTags.go | 3 - .../api_op_PutBackupVaultAccessPolicy.go | 3 - .../api_op_PutBackupVaultLockConfiguration.go | 3 - .../api_op_PutBackupVaultNotifications.go | 3 - .../api_op_PutRestoreValidationResult.go | 3 - service/backup/api_op_StartBackupJob.go | 3 - service/backup/api_op_StartCopyJob.go | 3 - service/backup/api_op_StartReportJob.go | 3 - service/backup/api_op_StartRestoreJob.go | 3 - service/backup/api_op_StopBackupJob.go | 3 - service/backup/api_op_TagResource.go | 3 - service/backup/api_op_UntagResource.go | 3 - service/backup/api_op_UpdateBackupPlan.go | 3 - service/backup/api_op_UpdateFramework.go | 3 - service/backup/api_op_UpdateGlobalSettings.go | 3 - ...api_op_UpdateRecoveryPointIndexSettings.go | 3 - .../api_op_UpdateRecoveryPointLifecycle.go | 3 - service/backup/api_op_UpdateRegionSettings.go | 3 - service/backup/api_op_UpdateReportPlan.go | 3 - .../backup/api_op_UpdateRestoreTestingPlan.go | 3 - .../api_op_UpdateRestoreTestingSelection.go | 3 - .../snapshot/api_op_CancelLegalHold.go.snap | 1 - .../snapshot/api_op_CreateBackupPlan.go.snap | 1 - .../api_op_CreateBackupSelection.go.snap | 1 - .../snapshot/api_op_CreateBackupVault.go.snap | 1 - .../snapshot/api_op_CreateFramework.go.snap | 1 - .../snapshot/api_op_CreateLegalHold.go.snap | 1 - ...reateLogicallyAirGappedBackupVault.go.snap | 1 - .../snapshot/api_op_CreateReportPlan.go.snap | 1 - .../api_op_CreateRestoreTestingPlan.go.snap | 1 - ...i_op_CreateRestoreTestingSelection.go.snap | 1 - .../snapshot/api_op_DeleteBackupPlan.go.snap | 1 - .../api_op_DeleteBackupSelection.go.snap | 1 - .../snapshot/api_op_DeleteBackupVault.go.snap | 1 - ...i_op_DeleteBackupVaultAccessPolicy.go.snap | 1 - ...DeleteBackupVaultLockConfiguration.go.snap | 1 - ..._op_DeleteBackupVaultNotifications.go.snap | 1 - .../snapshot/api_op_DeleteFramework.go.snap | 1 - .../api_op_DeleteRecoveryPoint.go.snap | 1 - .../snapshot/api_op_DeleteReportPlan.go.snap | 1 - .../api_op_DeleteRestoreTestingPlan.go.snap | 1 - ...i_op_DeleteRestoreTestingSelection.go.snap | 1 - .../snapshot/api_op_DescribeBackupJob.go.snap | 1 - .../api_op_DescribeBackupVault.go.snap | 1 - .../snapshot/api_op_DescribeCopyJob.go.snap | 1 - .../snapshot/api_op_DescribeFramework.go.snap | 1 - .../api_op_DescribeGlobalSettings.go.snap | 1 - .../api_op_DescribeProtectedResource.go.snap | 1 - .../api_op_DescribeRecoveryPoint.go.snap | 1 - .../api_op_DescribeRegionSettings.go.snap | 1 - .../snapshot/api_op_DescribeReportJob.go.snap | 1 - .../api_op_DescribeReportPlan.go.snap | 1 - .../api_op_DescribeRestoreJob.go.snap | 1 - .../api_op_DisassociateRecoveryPoint.go.snap | 1 - ...isassociateRecoveryPointFromParent.go.snap | 1 - .../api_op_ExportBackupPlanTemplate.go.snap | 1 - .../snapshot/api_op_GetBackupPlan.go.snap | 1 - .../api_op_GetBackupPlanFromJSON.go.snap | 1 - .../api_op_GetBackupPlanFromTemplate.go.snap | 1 - .../api_op_GetBackupSelection.go.snap | 1 - .../api_op_GetBackupVaultAccessPolicy.go.snap | 1 - ...api_op_GetBackupVaultNotifications.go.snap | 1 - .../snapshot/api_op_GetLegalHold.go.snap | 1 - ...pi_op_GetRecoveryPointIndexDetails.go.snap | 1 - ...op_GetRecoveryPointRestoreMetadata.go.snap | 1 - .../api_op_GetRestoreJobMetadata.go.snap | 1 - ..._GetRestoreTestingInferredMetadata.go.snap | 1 - .../api_op_GetRestoreTestingPlan.go.snap | 1 - .../api_op_GetRestoreTestingSelection.go.snap | 1 - .../api_op_GetSupportedResourceTypes.go.snap | 1 - .../api_op_ListBackupJobSummaries.go.snap | 1 - .../snapshot/api_op_ListBackupJobs.go.snap | 1 - .../api_op_ListBackupPlanTemplates.go.snap | 1 - .../api_op_ListBackupPlanVersions.go.snap | 1 - .../snapshot/api_op_ListBackupPlans.go.snap | 1 - .../api_op_ListBackupSelections.go.snap | 1 - .../snapshot/api_op_ListBackupVaults.go.snap | 1 - .../api_op_ListCopyJobSummaries.go.snap | 1 - .../snapshot/api_op_ListCopyJobs.go.snap | 1 - .../snapshot/api_op_ListFrameworks.go.snap | 1 - .../api_op_ListIndexedRecoveryPoints.go.snap | 1 - .../snapshot/api_op_ListLegalHolds.go.snap | 1 - .../api_op_ListProtectedResources.go.snap | 1 - ...istProtectedResourcesByBackupVault.go.snap | 1 - ...op_ListRecoveryPointsByBackupVault.go.snap | 1 - ...i_op_ListRecoveryPointsByLegalHold.go.snap | 1 - ...pi_op_ListRecoveryPointsByResource.go.snap | 1 - .../snapshot/api_op_ListReportJobs.go.snap | 1 - .../snapshot/api_op_ListReportPlans.go.snap | 1 - .../api_op_ListRestoreJobSummaries.go.snap | 1 - .../snapshot/api_op_ListRestoreJobs.go.snap | 1 - ...ListRestoreJobsByProtectedResource.go.snap | 1 - .../api_op_ListRestoreTestingPlans.go.snap | 1 - ...pi_op_ListRestoreTestingSelections.go.snap | 1 - .../backup/snapshot/api_op_ListTags.go.snap | 1 - .../api_op_PutBackupVaultAccessPolicy.go.snap | 1 - ...op_PutBackupVaultLockConfiguration.go.snap | 1 - ...api_op_PutBackupVaultNotifications.go.snap | 1 - .../api_op_PutRestoreValidationResult.go.snap | 1 - .../snapshot/api_op_StartBackupJob.go.snap | 1 - .../snapshot/api_op_StartCopyJob.go.snap | 1 - .../snapshot/api_op_StartReportJob.go.snap | 1 - .../snapshot/api_op_StartRestoreJob.go.snap | 1 - .../snapshot/api_op_StopBackupJob.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateBackupPlan.go.snap | 1 - .../snapshot/api_op_UpdateFramework.go.snap | 1 - .../api_op_UpdateGlobalSettings.go.snap | 1 - ...p_UpdateRecoveryPointIndexSettings.go.snap | 1 - ...pi_op_UpdateRecoveryPointLifecycle.go.snap | 1 - .../api_op_UpdateRegionSettings.go.snap | 1 - .../snapshot/api_op_UpdateReportPlan.go.snap | 1 - .../api_op_UpdateRestoreTestingPlan.go.snap | 1 - ...i_op_UpdateRestoreTestingSelection.go.snap | 1 - service/backupgateway/api_client.go | 31 -- .../api_op_AssociateGatewayToServer.go | 3 - service/backupgateway/api_op_CreateGateway.go | 3 - service/backupgateway/api_op_DeleteGateway.go | 3 - .../backupgateway/api_op_DeleteHypervisor.go | 3 - .../api_op_DisassociateGatewayFromServer.go | 3 - .../api_op_GetBandwidthRateLimitSchedule.go | 3 - service/backupgateway/api_op_GetGateway.go | 3 - service/backupgateway/api_op_GetHypervisor.go | 3 - .../api_op_GetHypervisorPropertyMappings.go | 3 - .../backupgateway/api_op_GetVirtualMachine.go | 3 - .../api_op_ImportHypervisorConfiguration.go | 3 - service/backupgateway/api_op_ListGateways.go | 3 - .../backupgateway/api_op_ListHypervisors.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_ListVirtualMachines.go | 3 - .../api_op_PutBandwidthRateLimitSchedule.go | 3 - .../api_op_PutHypervisorPropertyMappings.go | 3 - .../api_op_PutMaintenanceStartTime.go | 3 - ...api_op_StartVirtualMachinesMetadataSync.go | 3 - service/backupgateway/api_op_TagResource.go | 3 - .../api_op_TestHypervisorConfiguration.go | 3 - service/backupgateway/api_op_UntagResource.go | 3 - .../api_op_UpdateGatewayInformation.go | 3 - .../api_op_UpdateGatewaySoftwareNow.go | 3 - .../backupgateway/api_op_UpdateHypervisor.go | 3 - .../api_op_AssociateGatewayToServer.go.snap | 1 - .../snapshot/api_op_CreateGateway.go.snap | 1 - .../snapshot/api_op_DeleteGateway.go.snap | 1 - .../snapshot/api_op_DeleteHypervisor.go.snap | 1 - ...i_op_DisassociateGatewayFromServer.go.snap | 1 - ...i_op_GetBandwidthRateLimitSchedule.go.snap | 1 - .../snapshot/api_op_GetGateway.go.snap | 1 - .../snapshot/api_op_GetHypervisor.go.snap | 1 - ...i_op_GetHypervisorPropertyMappings.go.snap | 1 - .../snapshot/api_op_GetVirtualMachine.go.snap | 1 - ...i_op_ImportHypervisorConfiguration.go.snap | 1 - .../snapshot/api_op_ListGateways.go.snap | 1 - .../snapshot/api_op_ListHypervisors.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListVirtualMachines.go.snap | 1 - ...i_op_PutBandwidthRateLimitSchedule.go.snap | 1 - ...i_op_PutHypervisorPropertyMappings.go.snap | 1 - .../api_op_PutMaintenanceStartTime.go.snap | 1 - ...p_StartVirtualMachinesMetadataSync.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - ...api_op_TestHypervisorConfiguration.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateGatewayInformation.go.snap | 1 - .../api_op_UpdateGatewaySoftwareNow.go.snap | 1 - .../snapshot/api_op_UpdateHypervisor.go.snap | 1 - service/backupsearch/api_client.go | 31 -- service/backupsearch/api_op_GetSearchJob.go | 3 - .../api_op_GetSearchResultExportJob.go | 3 - .../api_op_ListSearchJobBackups.go | 3 - .../api_op_ListSearchJobResults.go | 3 - service/backupsearch/api_op_ListSearchJobs.go | 3 - .../api_op_ListSearchResultExportJobs.go | 3 - .../api_op_ListTagsForResource.go | 3 - service/backupsearch/api_op_StartSearchJob.go | 3 - .../api_op_StartSearchResultExportJob.go | 3 - service/backupsearch/api_op_StopSearchJob.go | 3 - service/backupsearch/api_op_TagResource.go | 3 - service/backupsearch/api_op_UntagResource.go | 3 - .../snapshot/api_op_GetSearchJob.go.snap | 1 - .../api_op_GetSearchResultExportJob.go.snap | 1 - .../api_op_ListSearchJobBackups.go.snap | 1 - .../api_op_ListSearchJobResults.go.snap | 1 - .../snapshot/api_op_ListSearchJobs.go.snap | 1 - .../api_op_ListSearchResultExportJobs.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_StartSearchJob.go.snap | 1 - .../api_op_StartSearchResultExportJob.go.snap | 1 - .../snapshot/api_op_StopSearchJob.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - service/batch/api_client.go | 31 -- service/batch/api_op_CancelJob.go | 3 - .../batch/api_op_CreateComputeEnvironment.go | 3 - service/batch/api_op_CreateJobQueue.go | 3 - .../batch/api_op_CreateSchedulingPolicy.go | 3 - .../batch/api_op_DeleteComputeEnvironment.go | 3 - service/batch/api_op_DeleteJobQueue.go | 3 - .../batch/api_op_DeleteSchedulingPolicy.go | 3 - .../batch/api_op_DeregisterJobDefinition.go | 3 - .../api_op_DescribeComputeEnvironments.go | 3 - .../batch/api_op_DescribeJobDefinitions.go | 3 - service/batch/api_op_DescribeJobQueues.go | 3 - service/batch/api_op_DescribeJobs.go | 3 - .../api_op_DescribeSchedulingPolicies.go | 3 - service/batch/api_op_GetJobQueueSnapshot.go | 3 - service/batch/api_op_ListJobs.go | 3 - .../batch/api_op_ListSchedulingPolicies.go | 3 - service/batch/api_op_ListTagsForResource.go | 3 - service/batch/api_op_RegisterJobDefinition.go | 3 - service/batch/api_op_SubmitJob.go | 3 - service/batch/api_op_TagResource.go | 3 - service/batch/api_op_TerminateJob.go | 3 - service/batch/api_op_UntagResource.go | 3 - .../batch/api_op_UpdateComputeEnvironment.go | 3 - service/batch/api_op_UpdateJobQueue.go | 3 - .../batch/api_op_UpdateSchedulingPolicy.go | 3 - .../batch/snapshot/api_op_CancelJob.go.snap | 1 - .../api_op_CreateComputeEnvironment.go.snap | 1 - .../snapshot/api_op_CreateJobQueue.go.snap | 1 - .../api_op_CreateSchedulingPolicy.go.snap | 1 - .../api_op_DeleteComputeEnvironment.go.snap | 1 - .../snapshot/api_op_DeleteJobQueue.go.snap | 1 - .../api_op_DeleteSchedulingPolicy.go.snap | 1 - .../api_op_DeregisterJobDefinition.go.snap | 1 - ...api_op_DescribeComputeEnvironments.go.snap | 1 - .../api_op_DescribeJobDefinitions.go.snap | 1 - .../snapshot/api_op_DescribeJobQueues.go.snap | 1 - .../snapshot/api_op_DescribeJobs.go.snap | 1 - .../api_op_DescribeSchedulingPolicies.go.snap | 1 - .../api_op_GetJobQueueSnapshot.go.snap | 1 - .../batch/snapshot/api_op_ListJobs.go.snap | 1 - .../api_op_ListSchedulingPolicies.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_RegisterJobDefinition.go.snap | 1 - .../batch/snapshot/api_op_SubmitJob.go.snap | 1 - .../batch/snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_TerminateJob.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateComputeEnvironment.go.snap | 1 - .../snapshot/api_op_UpdateJobQueue.go.snap | 1 - .../api_op_UpdateSchedulingPolicy.go.snap | 1 - service/bcmdataexports/api_client.go | 31 -- service/bcmdataexports/api_op_CreateExport.go | 3 - service/bcmdataexports/api_op_DeleteExport.go | 3 - service/bcmdataexports/api_op_GetExecution.go | 3 - service/bcmdataexports/api_op_GetExport.go | 3 - service/bcmdataexports/api_op_GetTable.go | 3 - .../bcmdataexports/api_op_ListExecutions.go | 3 - service/bcmdataexports/api_op_ListExports.go | 3 - service/bcmdataexports/api_op_ListTables.go | 3 - .../api_op_ListTagsForResource.go | 3 - service/bcmdataexports/api_op_TagResource.go | 3 - .../bcmdataexports/api_op_UntagResource.go | 3 - service/bcmdataexports/api_op_UpdateExport.go | 3 - .../snapshot/api_op_CreateExport.go.snap | 1 - .../snapshot/api_op_DeleteExport.go.snap | 1 - .../snapshot/api_op_GetExecution.go.snap | 1 - .../snapshot/api_op_GetExport.go.snap | 1 - .../snapshot/api_op_GetTable.go.snap | 1 - .../snapshot/api_op_ListExecutions.go.snap | 1 - .../snapshot/api_op_ListExports.go.snap | 1 - .../snapshot/api_op_ListTables.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateExport.go.snap | 1 - service/bcmpricingcalculator/api_client.go | 31 -- ...reateBillScenarioCommitmentModification.go | 3 - ...atchCreateBillScenarioUsageModification.go | 3 - ...api_op_BatchCreateWorkloadEstimateUsage.go | 3 - ...eleteBillScenarioCommitmentModification.go | 3 - ...atchDeleteBillScenarioUsageModification.go | 3 - ...api_op_BatchDeleteWorkloadEstimateUsage.go | 3 - ...pdateBillScenarioCommitmentModification.go | 3 - ...atchUpdateBillScenarioUsageModification.go | 3 - ...api_op_BatchUpdateWorkloadEstimateUsage.go | 3 - .../api_op_CreateBillEstimate.go | 3 - .../api_op_CreateBillScenario.go | 3 - .../api_op_CreateWorkloadEstimate.go | 3 - .../api_op_DeleteBillEstimate.go | 3 - .../api_op_DeleteBillScenario.go | 3 - .../api_op_DeleteWorkloadEstimate.go | 3 - .../api_op_GetBillEstimate.go | 3 - .../api_op_GetBillScenario.go | 3 - .../api_op_GetPreferences.go | 3 - .../api_op_GetWorkloadEstimate.go | 3 - .../api_op_ListBillEstimateCommitments.go | 3 - ...illEstimateInputCommitmentModifications.go | 3 - ...ListBillEstimateInputUsageModifications.go | 3 - .../api_op_ListBillEstimateLineItems.go | 3 - .../api_op_ListBillEstimates.go | 3 - ...ListBillScenarioCommitmentModifications.go | 3 - ...i_op_ListBillScenarioUsageModifications.go | 3 - .../api_op_ListBillScenarios.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_ListWorkloadEstimateUsage.go | 3 - .../api_op_ListWorkloadEstimates.go | 3 - .../api_op_TagResource.go | 3 - .../api_op_UntagResource.go | 3 - .../api_op_UpdateBillEstimate.go | 3 - .../api_op_UpdateBillScenario.go | 3 - .../api_op_UpdatePreferences.go | 3 - .../api_op_UpdateWorkloadEstimate.go | 3 - ...BillScenarioCommitmentModification.go.snap | 1 - ...reateBillScenarioUsageModification.go.snap | 1 - ...p_BatchCreateWorkloadEstimateUsage.go.snap | 1 - ...BillScenarioCommitmentModification.go.snap | 1 - ...eleteBillScenarioUsageModification.go.snap | 1 - ...p_BatchDeleteWorkloadEstimateUsage.go.snap | 1 - ...BillScenarioCommitmentModification.go.snap | 1 - ...pdateBillScenarioUsageModification.go.snap | 1 - ...p_BatchUpdateWorkloadEstimateUsage.go.snap | 1 - .../api_op_CreateBillEstimate.go.snap | 1 - .../api_op_CreateBillScenario.go.snap | 1 - .../api_op_CreateWorkloadEstimate.go.snap | 1 - .../api_op_DeleteBillEstimate.go.snap | 1 - .../api_op_DeleteBillScenario.go.snap | 1 - .../api_op_DeleteWorkloadEstimate.go.snap | 1 - .../snapshot/api_op_GetBillEstimate.go.snap | 1 - .../snapshot/api_op_GetBillScenario.go.snap | 1 - .../snapshot/api_op_GetPreferences.go.snap | 1 - .../api_op_GetWorkloadEstimate.go.snap | 1 - ...api_op_ListBillEstimateCommitments.go.snap | 1 - ...timateInputCommitmentModifications.go.snap | 1 - ...illEstimateInputUsageModifications.go.snap | 1 - .../api_op_ListBillEstimateLineItems.go.snap | 1 - .../snapshot/api_op_ListBillEstimates.go.snap | 1 - ...illScenarioCommitmentModifications.go.snap | 1 - ...ListBillScenarioUsageModifications.go.snap | 1 - .../snapshot/api_op_ListBillScenarios.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListWorkloadEstimateUsage.go.snap | 1 - .../api_op_ListWorkloadEstimates.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateBillEstimate.go.snap | 1 - .../api_op_UpdateBillScenario.go.snap | 1 - .../snapshot/api_op_UpdatePreferences.go.snap | 1 - .../api_op_UpdateWorkloadEstimate.go.snap | 1 - service/bedrock/api_client.go | 31 -- .../api_op_BatchDeleteEvaluationJob.go | 3 - service/bedrock/api_op_CreateEvaluationJob.go | 3 - service/bedrock/api_op_CreateGuardrail.go | 3 - .../bedrock/api_op_CreateGuardrailVersion.go | 3 - .../bedrock/api_op_CreateInferenceProfile.go | 3 - .../api_op_CreateMarketplaceModelEndpoint.go | 3 - service/bedrock/api_op_CreateModelCopyJob.go | 3 - .../api_op_CreateModelCustomizationJob.go | 3 - .../bedrock/api_op_CreateModelImportJob.go | 3 - .../api_op_CreateModelInvocationJob.go | 3 - ...api_op_CreateProvisionedModelThroughput.go | 3 - service/bedrock/api_op_DeleteCustomModel.go | 3 - service/bedrock/api_op_DeleteGuardrail.go | 3 - service/bedrock/api_op_DeleteImportedModel.go | 3 - .../bedrock/api_op_DeleteInferenceProfile.go | 3 - .../api_op_DeleteMarketplaceModelEndpoint.go | 3 - ...leteModelInvocationLoggingConfiguration.go | 3 - ...api_op_DeleteProvisionedModelThroughput.go | 3 - ...i_op_DeregisterMarketplaceModelEndpoint.go | 3 - service/bedrock/api_op_GetCustomModel.go | 3 - service/bedrock/api_op_GetEvaluationJob.go | 3 - service/bedrock/api_op_GetFoundationModel.go | 3 - service/bedrock/api_op_GetGuardrail.go | 3 - service/bedrock/api_op_GetImportedModel.go | 3 - service/bedrock/api_op_GetInferenceProfile.go | 3 - .../api_op_GetMarketplaceModelEndpoint.go | 3 - service/bedrock/api_op_GetModelCopyJob.go | 3 - .../api_op_GetModelCustomizationJob.go | 3 - service/bedrock/api_op_GetModelImportJob.go | 3 - .../bedrock/api_op_GetModelInvocationJob.go | 3 - ..._GetModelInvocationLoggingConfiguration.go | 3 - service/bedrock/api_op_GetPromptRouter.go | 3 - .../api_op_GetProvisionedModelThroughput.go | 3 - service/bedrock/api_op_ListCustomModels.go | 3 - service/bedrock/api_op_ListEvaluationJobs.go | 3 - .../bedrock/api_op_ListFoundationModels.go | 3 - service/bedrock/api_op_ListGuardrails.go | 3 - service/bedrock/api_op_ListImportedModels.go | 3 - .../bedrock/api_op_ListInferenceProfiles.go | 3 - .../api_op_ListMarketplaceModelEndpoints.go | 3 - service/bedrock/api_op_ListModelCopyJobs.go | 3 - .../api_op_ListModelCustomizationJobs.go | 3 - service/bedrock/api_op_ListModelImportJobs.go | 3 - .../bedrock/api_op_ListModelInvocationJobs.go | 3 - service/bedrock/api_op_ListPromptRouters.go | 3 - .../api_op_ListProvisionedModelThroughputs.go | 3 - service/bedrock/api_op_ListTagsForResource.go | 3 - ..._PutModelInvocationLoggingConfiguration.go | 3 - ...api_op_RegisterMarketplaceModelEndpoint.go | 3 - service/bedrock/api_op_StopEvaluationJob.go | 3 - .../api_op_StopModelCustomizationJob.go | 3 - .../bedrock/api_op_StopModelInvocationJob.go | 3 - service/bedrock/api_op_TagResource.go | 3 - service/bedrock/api_op_UntagResource.go | 3 - service/bedrock/api_op_UpdateGuardrail.go | 3 - .../api_op_UpdateMarketplaceModelEndpoint.go | 3 - ...api_op_UpdateProvisionedModelThroughput.go | 3 - .../api_op_BatchDeleteEvaluationJob.go.snap | 1 - .../api_op_CreateEvaluationJob.go.snap | 1 - .../snapshot/api_op_CreateGuardrail.go.snap | 1 - .../api_op_CreateGuardrailVersion.go.snap | 1 - .../api_op_CreateInferenceProfile.go.snap | 1 - ..._op_CreateMarketplaceModelEndpoint.go.snap | 1 - .../api_op_CreateModelCopyJob.go.snap | 1 - ...api_op_CreateModelCustomizationJob.go.snap | 1 - .../api_op_CreateModelImportJob.go.snap | 1 - .../api_op_CreateModelInvocationJob.go.snap | 1 - ...p_CreateProvisionedModelThroughput.go.snap | 1 - .../snapshot/api_op_DeleteCustomModel.go.snap | 1 - .../snapshot/api_op_DeleteGuardrail.go.snap | 1 - .../api_op_DeleteImportedModel.go.snap | 1 - .../api_op_DeleteInferenceProfile.go.snap | 1 - ..._op_DeleteMarketplaceModelEndpoint.go.snap | 1 - ...odelInvocationLoggingConfiguration.go.snap | 1 - ...p_DeleteProvisionedModelThroughput.go.snap | 1 - ...DeregisterMarketplaceModelEndpoint.go.snap | 1 - .../snapshot/api_op_GetCustomModel.go.snap | 1 - .../snapshot/api_op_GetEvaluationJob.go.snap | 1 - .../api_op_GetFoundationModel.go.snap | 1 - .../snapshot/api_op_GetGuardrail.go.snap | 1 - .../snapshot/api_op_GetImportedModel.go.snap | 1 - .../api_op_GetInferenceProfile.go.snap | 1 - ...api_op_GetMarketplaceModelEndpoint.go.snap | 1 - .../snapshot/api_op_GetModelCopyJob.go.snap | 1 - .../api_op_GetModelCustomizationJob.go.snap | 1 - .../snapshot/api_op_GetModelImportJob.go.snap | 1 - .../api_op_GetModelInvocationJob.go.snap | 1 - ...odelInvocationLoggingConfiguration.go.snap | 1 - .../snapshot/api_op_GetPromptRouter.go.snap | 1 - ...i_op_GetProvisionedModelThroughput.go.snap | 1 - .../snapshot/api_op_ListCustomModels.go.snap | 1 - .../api_op_ListEvaluationJobs.go.snap | 1 - .../api_op_ListFoundationModels.go.snap | 1 - .../snapshot/api_op_ListGuardrails.go.snap | 1 - .../api_op_ListImportedModels.go.snap | 1 - .../api_op_ListInferenceProfiles.go.snap | 1 - ...i_op_ListMarketplaceModelEndpoints.go.snap | 1 - .../snapshot/api_op_ListModelCopyJobs.go.snap | 1 - .../api_op_ListModelCustomizationJobs.go.snap | 1 - .../api_op_ListModelImportJobs.go.snap | 1 - .../api_op_ListModelInvocationJobs.go.snap | 1 - .../snapshot/api_op_ListPromptRouters.go.snap | 1 - ...op_ListProvisionedModelThroughputs.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - ...odelInvocationLoggingConfiguration.go.snap | 1 - ...p_RegisterMarketplaceModelEndpoint.go.snap | 1 - .../snapshot/api_op_StopEvaluationJob.go.snap | 1 - .../api_op_StopModelCustomizationJob.go.snap | 1 - .../api_op_StopModelInvocationJob.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateGuardrail.go.snap | 1 - ..._op_UpdateMarketplaceModelEndpoint.go.snap | 1 - ...p_UpdateProvisionedModelThroughput.go.snap | 1 - service/bedrockagent/api_client.go | 31 -- .../api_op_AssociateAgentCollaborator.go | 3 - .../api_op_AssociateAgentKnowledgeBase.go | 3 - service/bedrockagent/api_op_CreateAgent.go | 3 - .../api_op_CreateAgentActionGroup.go | 3 - .../bedrockagent/api_op_CreateAgentAlias.go | 3 - .../bedrockagent/api_op_CreateDataSource.go | 3 - service/bedrockagent/api_op_CreateFlow.go | 3 - .../bedrockagent/api_op_CreateFlowAlias.go | 3 - .../bedrockagent/api_op_CreateFlowVersion.go | 3 - .../api_op_CreateKnowledgeBase.go | 3 - service/bedrockagent/api_op_CreatePrompt.go | 3 - .../api_op_CreatePromptVersion.go | 3 - service/bedrockagent/api_op_DeleteAgent.go | 3 - .../api_op_DeleteAgentActionGroup.go | 3 - .../bedrockagent/api_op_DeleteAgentAlias.go | 3 - .../bedrockagent/api_op_DeleteAgentVersion.go | 3 - .../bedrockagent/api_op_DeleteDataSource.go | 3 - service/bedrockagent/api_op_DeleteFlow.go | 3 - .../bedrockagent/api_op_DeleteFlowAlias.go | 3 - .../bedrockagent/api_op_DeleteFlowVersion.go | 3 - .../api_op_DeleteKnowledgeBase.go | 3 - .../api_op_DeleteKnowledgeBaseDocuments.go | 3 - service/bedrockagent/api_op_DeletePrompt.go | 3 - .../api_op_DisassociateAgentCollaborator.go | 3 - .../api_op_DisassociateAgentKnowledgeBase.go | 3 - service/bedrockagent/api_op_GetAgent.go | 3 - .../api_op_GetAgentActionGroup.go | 3 - service/bedrockagent/api_op_GetAgentAlias.go | 3 - .../api_op_GetAgentCollaborator.go | 3 - .../api_op_GetAgentKnowledgeBase.go | 3 - .../bedrockagent/api_op_GetAgentVersion.go | 3 - service/bedrockagent/api_op_GetDataSource.go | 3 - service/bedrockagent/api_op_GetFlow.go | 3 - service/bedrockagent/api_op_GetFlowAlias.go | 3 - service/bedrockagent/api_op_GetFlowVersion.go | 3 - .../bedrockagent/api_op_GetIngestionJob.go | 3 - .../bedrockagent/api_op_GetKnowledgeBase.go | 3 - .../api_op_GetKnowledgeBaseDocuments.go | 3 - service/bedrockagent/api_op_GetPrompt.go | 3 - .../api_op_IngestKnowledgeBaseDocuments.go | 3 - .../api_op_ListAgentActionGroups.go | 3 - .../bedrockagent/api_op_ListAgentAliases.go | 3 - .../api_op_ListAgentCollaborators.go | 3 - .../api_op_ListAgentKnowledgeBases.go | 3 - .../bedrockagent/api_op_ListAgentVersions.go | 3 - service/bedrockagent/api_op_ListAgents.go | 3 - .../bedrockagent/api_op_ListDataSources.go | 3 - .../bedrockagent/api_op_ListFlowAliases.go | 3 - .../bedrockagent/api_op_ListFlowVersions.go | 3 - service/bedrockagent/api_op_ListFlows.go | 3 - .../bedrockagent/api_op_ListIngestionJobs.go | 3 - .../api_op_ListKnowledgeBaseDocuments.go | 3 - .../bedrockagent/api_op_ListKnowledgeBases.go | 3 - service/bedrockagent/api_op_ListPrompts.go | 3 - .../api_op_ListTagsForResource.go | 3 - service/bedrockagent/api_op_PrepareAgent.go | 3 - service/bedrockagent/api_op_PrepareFlow.go | 3 - .../bedrockagent/api_op_StartIngestionJob.go | 3 - .../bedrockagent/api_op_StopIngestionJob.go | 3 - service/bedrockagent/api_op_TagResource.go | 3 - service/bedrockagent/api_op_UntagResource.go | 3 - service/bedrockagent/api_op_UpdateAgent.go | 3 - .../api_op_UpdateAgentActionGroup.go | 3 - .../bedrockagent/api_op_UpdateAgentAlias.go | 3 - .../api_op_UpdateAgentCollaborator.go | 3 - .../api_op_UpdateAgentKnowledgeBase.go | 3 - .../bedrockagent/api_op_UpdateDataSource.go | 3 - service/bedrockagent/api_op_UpdateFlow.go | 3 - .../bedrockagent/api_op_UpdateFlowAlias.go | 3 - .../api_op_UpdateKnowledgeBase.go | 3 - service/bedrockagent/api_op_UpdatePrompt.go | 3 - .../api_op_ValidateFlowDefinition.go | 3 - .../api_op_AssociateAgentCollaborator.go.snap | 1 - ...api_op_AssociateAgentKnowledgeBase.go.snap | 1 - .../snapshot/api_op_CreateAgent.go.snap | 1 - .../api_op_CreateAgentActionGroup.go.snap | 1 - .../snapshot/api_op_CreateAgentAlias.go.snap | 1 - .../snapshot/api_op_CreateDataSource.go.snap | 1 - .../snapshot/api_op_CreateFlow.go.snap | 1 - .../snapshot/api_op_CreateFlowAlias.go.snap | 1 - .../snapshot/api_op_CreateFlowVersion.go.snap | 1 - .../api_op_CreateKnowledgeBase.go.snap | 1 - .../snapshot/api_op_CreatePrompt.go.snap | 1 - .../api_op_CreatePromptVersion.go.snap | 1 - .../snapshot/api_op_DeleteAgent.go.snap | 1 - .../api_op_DeleteAgentActionGroup.go.snap | 1 - .../snapshot/api_op_DeleteAgentAlias.go.snap | 1 - .../api_op_DeleteAgentVersion.go.snap | 1 - .../snapshot/api_op_DeleteDataSource.go.snap | 1 - .../snapshot/api_op_DeleteFlow.go.snap | 1 - .../snapshot/api_op_DeleteFlowAlias.go.snap | 1 - .../snapshot/api_op_DeleteFlowVersion.go.snap | 1 - .../api_op_DeleteKnowledgeBase.go.snap | 1 - ...pi_op_DeleteKnowledgeBaseDocuments.go.snap | 1 - .../snapshot/api_op_DeletePrompt.go.snap | 1 - ...i_op_DisassociateAgentCollaborator.go.snap | 1 - ..._op_DisassociateAgentKnowledgeBase.go.snap | 1 - .../snapshot/api_op_GetAgent.go.snap | 1 - .../api_op_GetAgentActionGroup.go.snap | 1 - .../snapshot/api_op_GetAgentAlias.go.snap | 1 - .../api_op_GetAgentCollaborator.go.snap | 1 - .../api_op_GetAgentKnowledgeBase.go.snap | 1 - .../snapshot/api_op_GetAgentVersion.go.snap | 1 - .../snapshot/api_op_GetDataSource.go.snap | 1 - .../snapshot/api_op_GetFlow.go.snap | 1 - .../snapshot/api_op_GetFlowAlias.go.snap | 1 - .../snapshot/api_op_GetFlowVersion.go.snap | 1 - .../snapshot/api_op_GetIngestionJob.go.snap | 1 - .../snapshot/api_op_GetKnowledgeBase.go.snap | 1 - .../api_op_GetKnowledgeBaseDocuments.go.snap | 1 - .../snapshot/api_op_GetPrompt.go.snap | 1 - ...pi_op_IngestKnowledgeBaseDocuments.go.snap | 1 - .../api_op_ListAgentActionGroups.go.snap | 1 - .../snapshot/api_op_ListAgentAliases.go.snap | 1 - .../api_op_ListAgentCollaborators.go.snap | 1 - .../api_op_ListAgentKnowledgeBases.go.snap | 1 - .../snapshot/api_op_ListAgentVersions.go.snap | 1 - .../snapshot/api_op_ListAgents.go.snap | 1 - .../snapshot/api_op_ListDataSources.go.snap | 1 - .../snapshot/api_op_ListFlowAliases.go.snap | 1 - .../snapshot/api_op_ListFlowVersions.go.snap | 1 - .../snapshot/api_op_ListFlows.go.snap | 1 - .../snapshot/api_op_ListIngestionJobs.go.snap | 1 - .../api_op_ListKnowledgeBaseDocuments.go.snap | 1 - .../api_op_ListKnowledgeBases.go.snap | 1 - .../snapshot/api_op_ListPrompts.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_PrepareAgent.go.snap | 1 - .../snapshot/api_op_PrepareFlow.go.snap | 1 - .../snapshot/api_op_StartIngestionJob.go.snap | 1 - .../snapshot/api_op_StopIngestionJob.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateAgent.go.snap | 1 - .../api_op_UpdateAgentActionGroup.go.snap | 1 - .../snapshot/api_op_UpdateAgentAlias.go.snap | 1 - .../api_op_UpdateAgentCollaborator.go.snap | 1 - .../api_op_UpdateAgentKnowledgeBase.go.snap | 1 - .../snapshot/api_op_UpdateDataSource.go.snap | 1 - .../snapshot/api_op_UpdateFlow.go.snap | 1 - .../snapshot/api_op_UpdateFlowAlias.go.snap | 1 - .../api_op_UpdateKnowledgeBase.go.snap | 1 - .../snapshot/api_op_UpdatePrompt.go.snap | 1 - .../api_op_ValidateFlowDefinition.go.snap | 1 - service/bedrockagentruntime/api_client.go | 31 -- .../api_op_DeleteAgentMemory.go | 3 - .../api_op_GenerateQuery.go | 3 - .../api_op_GetAgentMemory.go | 3 - .../bedrockagentruntime/api_op_InvokeAgent.go | 3 - .../bedrockagentruntime/api_op_InvokeFlow.go | 3 - .../api_op_InvokeInlineAgent.go | 3 - .../api_op_OptimizePrompt.go | 3 - service/bedrockagentruntime/api_op_Rerank.go | 3 - .../bedrockagentruntime/api_op_Retrieve.go | 3 - .../api_op_RetrieveAndGenerate.go | 3 - .../api_op_RetrieveAndGenerateStream.go | 3 - .../snapshot/api_op_DeleteAgentMemory.go.snap | 1 - .../snapshot/api_op_GenerateQuery.go.snap | 1 - .../snapshot/api_op_GetAgentMemory.go.snap | 1 - .../snapshot/api_op_InvokeAgent.go.snap | 1 - .../snapshot/api_op_InvokeFlow.go.snap | 1 - .../snapshot/api_op_InvokeInlineAgent.go.snap | 1 - .../snapshot/api_op_OptimizePrompt.go.snap | 1 - .../snapshot/api_op_Rerank.go.snap | 1 - .../snapshot/api_op_Retrieve.go.snap | 1 - .../api_op_RetrieveAndGenerate.go.snap | 1 - .../api_op_RetrieveAndGenerateStream.go.snap | 1 - service/bedrockdataautomation/api_client.go | 31 -- .../api_op_CreateBlueprint.go | 3 - .../api_op_CreateBlueprintVersion.go | 3 - .../api_op_CreateDataAutomationProject.go | 3 - .../api_op_DeleteBlueprint.go | 3 - .../api_op_DeleteDataAutomationProject.go | 3 - .../api_op_GetBlueprint.go | 3 - .../api_op_GetDataAutomationProject.go | 3 - .../api_op_ListBlueprints.go | 3 - .../api_op_ListDataAutomationProjects.go | 3 - .../api_op_UpdateBlueprint.go | 3 - .../api_op_UpdateDataAutomationProject.go | 3 - .../snapshot/api_op_CreateBlueprint.go.snap | 1 - .../api_op_CreateBlueprintVersion.go.snap | 1 - ...api_op_CreateDataAutomationProject.go.snap | 1 - .../snapshot/api_op_DeleteBlueprint.go.snap | 1 - ...api_op_DeleteDataAutomationProject.go.snap | 1 - .../snapshot/api_op_GetBlueprint.go.snap | 1 - .../api_op_GetDataAutomationProject.go.snap | 1 - .../snapshot/api_op_ListBlueprints.go.snap | 1 - .../api_op_ListDataAutomationProjects.go.snap | 1 - .../snapshot/api_op_UpdateBlueprint.go.snap | 1 - ...api_op_UpdateDataAutomationProject.go.snap | 1 - .../api_client.go | 31 -- .../api_op_GetDataAutomationStatus.go | 3 - .../api_op_InvokeDataAutomationAsync.go | 3 - .../api_op_GetDataAutomationStatus.go.snap | 1 - .../api_op_InvokeDataAutomationAsync.go.snap | 1 - service/bedrockruntime/api_client.go | 31 -- .../bedrockruntime/api_op_ApplyGuardrail.go | 3 - service/bedrockruntime/api_op_Converse.go | 3 - .../bedrockruntime/api_op_ConverseStream.go | 3 - .../bedrockruntime/api_op_GetAsyncInvoke.go | 3 - service/bedrockruntime/api_op_InvokeModel.go | 3 - .../api_op_InvokeModelWithResponseStream.go | 3 - .../bedrockruntime/api_op_ListAsyncInvokes.go | 3 - .../bedrockruntime/api_op_StartAsyncInvoke.go | 3 - .../snapshot/api_op_ApplyGuardrail.go.snap | 1 - .../snapshot/api_op_Converse.go.snap | 1 - .../snapshot/api_op_ConverseStream.go.snap | 1 - .../snapshot/api_op_GetAsyncInvoke.go.snap | 1 - .../snapshot/api_op_InvokeModel.go.snap | 1 - ...i_op_InvokeModelWithResponseStream.go.snap | 1 - .../snapshot/api_op_ListAsyncInvokes.go.snap | 1 - .../snapshot/api_op_StartAsyncInvoke.go.snap | 1 - service/billing/api_client.go | 31 -- service/billing/api_op_CreateBillingView.go | 3 - service/billing/api_op_DeleteBillingView.go | 3 - service/billing/api_op_GetBillingView.go | 3 - service/billing/api_op_GetResourcePolicy.go | 3 - service/billing/api_op_ListBillingViews.go | 3 - .../api_op_ListSourceViewsForBillingView.go | 3 - service/billing/api_op_ListTagsForResource.go | 3 - service/billing/api_op_TagResource.go | 3 - service/billing/api_op_UntagResource.go | 3 - service/billing/api_op_UpdateBillingView.go | 3 - .../snapshot/api_op_CreateBillingView.go.snap | 1 - .../snapshot/api_op_DeleteBillingView.go.snap | 1 - .../snapshot/api_op_GetBillingView.go.snap | 1 - .../snapshot/api_op_GetResourcePolicy.go.snap | 1 - .../snapshot/api_op_ListBillingViews.go.snap | 1 - ...i_op_ListSourceViewsForBillingView.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateBillingView.go.snap | 1 - service/billingconductor/api_client.go | 31 -- .../api_op_AssociateAccounts.go | 3 - .../api_op_AssociatePricingRules.go | 3 - ...BatchAssociateResourcesToCustomLineItem.go | 3 - ...DisassociateResourcesFromCustomLineItem.go | 3 - .../api_op_CreateBillingGroup.go | 3 - .../api_op_CreateCustomLineItem.go | 3 - .../api_op_CreatePricingPlan.go | 3 - .../api_op_CreatePricingRule.go | 3 - .../api_op_DeleteBillingGroup.go | 3 - .../api_op_DeleteCustomLineItem.go | 3 - .../api_op_DeletePricingPlan.go | 3 - .../api_op_DeletePricingRule.go | 3 - .../api_op_DisassociateAccounts.go | 3 - .../api_op_DisassociatePricingRules.go | 3 - .../api_op_GetBillingGroupCostReport.go | 3 - .../api_op_ListAccountAssociations.go | 3 - .../api_op_ListBillingGroupCostReports.go | 3 - .../api_op_ListBillingGroups.go | 3 - .../api_op_ListCustomLineItemVersions.go | 3 - .../api_op_ListCustomLineItems.go | 3 - .../api_op_ListPricingPlans.go | 3 - ...stPricingPlansAssociatedWithPricingRule.go | 3 - .../api_op_ListPricingRules.go | 3 - ...ListPricingRulesAssociatedToPricingPlan.go | 3 - ...ListResourcesAssociatedToCustomLineItem.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../billingconductor/api_op_TagResource.go | 3 - .../billingconductor/api_op_UntagResource.go | 3 - .../api_op_UpdateBillingGroup.go | 3 - .../api_op_UpdateCustomLineItem.go | 3 - .../api_op_UpdatePricingPlan.go | 3 - .../api_op_UpdatePricingRule.go | 3 - .../snapshot/api_op_AssociateAccounts.go.snap | 1 - .../api_op_AssociatePricingRules.go.snap | 1 - ...AssociateResourcesToCustomLineItem.go.snap | 1 - ...sociateResourcesFromCustomLineItem.go.snap | 1 - .../api_op_CreateBillingGroup.go.snap | 1 - .../api_op_CreateCustomLineItem.go.snap | 1 - .../snapshot/api_op_CreatePricingPlan.go.snap | 1 - .../snapshot/api_op_CreatePricingRule.go.snap | 1 - .../api_op_DeleteBillingGroup.go.snap | 1 - .../api_op_DeleteCustomLineItem.go.snap | 1 - .../snapshot/api_op_DeletePricingPlan.go.snap | 1 - .../snapshot/api_op_DeletePricingRule.go.snap | 1 - .../api_op_DisassociateAccounts.go.snap | 1 - .../api_op_DisassociatePricingRules.go.snap | 1 - .../api_op_GetBillingGroupCostReport.go.snap | 1 - .../api_op_ListAccountAssociations.go.snap | 1 - ...api_op_ListBillingGroupCostReports.go.snap | 1 - .../snapshot/api_op_ListBillingGroups.go.snap | 1 - .../api_op_ListCustomLineItemVersions.go.snap | 1 - .../api_op_ListCustomLineItems.go.snap | 1 - .../snapshot/api_op_ListPricingPlans.go.snap | 1 - ...cingPlansAssociatedWithPricingRule.go.snap | 1 - .../snapshot/api_op_ListPricingRules.go.snap | 1 - ...ricingRulesAssociatedToPricingPlan.go.snap | 1 - ...esourcesAssociatedToCustomLineItem.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateBillingGroup.go.snap | 1 - .../api_op_UpdateCustomLineItem.go.snap | 1 - .../snapshot/api_op_UpdatePricingPlan.go.snap | 1 - .../snapshot/api_op_UpdatePricingRule.go.snap | 1 - service/braket/api_client.go | 31 -- service/braket/api_op_CancelJob.go | 3 - service/braket/api_op_CancelQuantumTask.go | 3 - service/braket/api_op_CreateJob.go | 3 - service/braket/api_op_CreateQuantumTask.go | 3 - service/braket/api_op_GetDevice.go | 3 - service/braket/api_op_GetJob.go | 3 - service/braket/api_op_GetQuantumTask.go | 3 - service/braket/api_op_ListTagsForResource.go | 3 - service/braket/api_op_SearchDevices.go | 3 - service/braket/api_op_SearchJobs.go | 3 - service/braket/api_op_SearchQuantumTasks.go | 3 - service/braket/api_op_TagResource.go | 3 - service/braket/api_op_UntagResource.go | 3 - .../braket/snapshot/api_op_CancelJob.go.snap | 1 - .../snapshot/api_op_CancelQuantumTask.go.snap | 1 - .../braket/snapshot/api_op_CreateJob.go.snap | 1 - .../snapshot/api_op_CreateQuantumTask.go.snap | 1 - .../braket/snapshot/api_op_GetDevice.go.snap | 1 - service/braket/snapshot/api_op_GetJob.go.snap | 1 - .../snapshot/api_op_GetQuantumTask.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_SearchDevices.go.snap | 1 - .../braket/snapshot/api_op_SearchJobs.go.snap | 1 - .../api_op_SearchQuantumTasks.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - service/budgets/api_client.go | 31 -- service/budgets/api_op_CreateBudget.go | 3 - service/budgets/api_op_CreateBudgetAction.go | 3 - service/budgets/api_op_CreateNotification.go | 3 - service/budgets/api_op_CreateSubscriber.go | 3 - service/budgets/api_op_DeleteBudget.go | 3 - service/budgets/api_op_DeleteBudgetAction.go | 3 - service/budgets/api_op_DeleteNotification.go | 3 - service/budgets/api_op_DeleteSubscriber.go | 3 - service/budgets/api_op_DescribeBudget.go | 3 - .../budgets/api_op_DescribeBudgetAction.go | 3 - .../api_op_DescribeBudgetActionHistories.go | 3 - .../api_op_DescribeBudgetActionsForAccount.go | 3 - .../api_op_DescribeBudgetActionsForBudget.go | 3 - ...p_DescribeBudgetNotificationsForAccount.go | 3 - ...api_op_DescribeBudgetPerformanceHistory.go | 3 - service/budgets/api_op_DescribeBudgets.go | 3 - .../api_op_DescribeNotificationsForBudget.go | 3 - ...i_op_DescribeSubscribersForNotification.go | 3 - service/budgets/api_op_ExecuteBudgetAction.go | 3 - service/budgets/api_op_ListTagsForResource.go | 3 - service/budgets/api_op_TagResource.go | 3 - service/budgets/api_op_UntagResource.go | 3 - service/budgets/api_op_UpdateBudget.go | 3 - service/budgets/api_op_UpdateBudgetAction.go | 3 - service/budgets/api_op_UpdateNotification.go | 3 - service/budgets/api_op_UpdateSubscriber.go | 3 - .../snapshot/api_op_CreateBudget.go.snap | 1 - .../api_op_CreateBudgetAction.go.snap | 1 - .../api_op_CreateNotification.go.snap | 1 - .../snapshot/api_op_CreateSubscriber.go.snap | 1 - .../snapshot/api_op_DeleteBudget.go.snap | 1 - .../api_op_DeleteBudgetAction.go.snap | 1 - .../api_op_DeleteNotification.go.snap | 1 - .../snapshot/api_op_DeleteSubscriber.go.snap | 1 - .../snapshot/api_op_DescribeBudget.go.snap | 1 - .../api_op_DescribeBudgetAction.go.snap | 1 - ...i_op_DescribeBudgetActionHistories.go.snap | 1 - ...op_DescribeBudgetActionsForAccount.go.snap | 1 - ..._op_DescribeBudgetActionsForBudget.go.snap | 1 - ...cribeBudgetNotificationsForAccount.go.snap | 1 - ...p_DescribeBudgetPerformanceHistory.go.snap | 1 - .../snapshot/api_op_DescribeBudgets.go.snap | 1 - ..._op_DescribeNotificationsForBudget.go.snap | 1 - ...DescribeSubscribersForNotification.go.snap | 1 - .../api_op_ExecuteBudgetAction.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateBudget.go.snap | 1 - .../api_op_UpdateBudgetAction.go.snap | 1 - .../api_op_UpdateNotification.go.snap | 1 - .../snapshot/api_op_UpdateSubscriber.go.snap | 1 - service/chatbot/api_client.go | 31 -- .../api_op_AssociateToConfiguration.go | 3 - .../api_op_CreateChimeWebhookConfiguration.go | 3 - service/chatbot/api_op_CreateCustomAction.go | 3 - ...reateMicrosoftTeamsChannelConfiguration.go | 3 - .../api_op_CreateSlackChannelConfiguration.go | 3 - .../api_op_DeleteChimeWebhookConfiguration.go | 3 - service/chatbot/api_op_DeleteCustomAction.go | 3 - ...eleteMicrosoftTeamsChannelConfiguration.go | 3 - ...i_op_DeleteMicrosoftTeamsConfiguredTeam.go | 3 - ...api_op_DeleteMicrosoftTeamsUserIdentity.go | 3 - .../api_op_DeleteSlackChannelConfiguration.go | 3 - .../chatbot/api_op_DeleteSlackUserIdentity.go | 3 - ...pi_op_DeleteSlackWorkspaceAuthorization.go | 3 - ...i_op_DescribeChimeWebhookConfigurations.go | 3 - ...i_op_DescribeSlackChannelConfigurations.go | 3 - .../api_op_DescribeSlackUserIdentities.go | 3 - .../chatbot/api_op_DescribeSlackWorkspaces.go | 3 - .../api_op_DisassociateFromConfiguration.go | 3 - .../chatbot/api_op_GetAccountPreferences.go | 3 - service/chatbot/api_op_GetCustomAction.go | 3 - ...p_GetMicrosoftTeamsChannelConfiguration.go | 3 - service/chatbot/api_op_ListAssociations.go | 3 - service/chatbot/api_op_ListCustomActions.go | 3 - ...ListMicrosoftTeamsChannelConfigurations.go | 3 - ...pi_op_ListMicrosoftTeamsConfiguredTeams.go | 3 - ...api_op_ListMicrosoftTeamsUserIdentities.go | 3 - service/chatbot/api_op_ListTagsForResource.go | 3 - service/chatbot/api_op_TagResource.go | 3 - service/chatbot/api_op_UntagResource.go | 3 - .../api_op_UpdateAccountPreferences.go | 3 - .../api_op_UpdateChimeWebhookConfiguration.go | 3 - service/chatbot/api_op_UpdateCustomAction.go | 3 - ...pdateMicrosoftTeamsChannelConfiguration.go | 3 - .../api_op_UpdateSlackChannelConfiguration.go | 3 - .../api_op_AssociateToConfiguration.go.snap | 1 - ...op_CreateChimeWebhookConfiguration.go.snap | 1 - .../api_op_CreateCustomAction.go.snap | 1 - ...MicrosoftTeamsChannelConfiguration.go.snap | 1 - ...op_CreateSlackChannelConfiguration.go.snap | 1 - ...op_DeleteChimeWebhookConfiguration.go.snap | 1 - .../api_op_DeleteCustomAction.go.snap | 1 - ...MicrosoftTeamsChannelConfiguration.go.snap | 1 - ...DeleteMicrosoftTeamsConfiguredTeam.go.snap | 1 - ...p_DeleteMicrosoftTeamsUserIdentity.go.snap | 1 - ...op_DeleteSlackChannelConfiguration.go.snap | 1 - .../api_op_DeleteSlackUserIdentity.go.snap | 1 - ..._DeleteSlackWorkspaceAuthorization.go.snap | 1 - ...DescribeChimeWebhookConfigurations.go.snap | 1 - ...DescribeSlackChannelConfigurations.go.snap | 1 - ...api_op_DescribeSlackUserIdentities.go.snap | 1 - .../api_op_DescribeSlackWorkspaces.go.snap | 1 - ...i_op_DisassociateFromConfiguration.go.snap | 1 - .../api_op_GetAccountPreferences.go.snap | 1 - .../snapshot/api_op_GetCustomAction.go.snap | 1 - ...MicrosoftTeamsChannelConfiguration.go.snap | 1 - .../snapshot/api_op_ListAssociations.go.snap | 1 - .../snapshot/api_op_ListCustomActions.go.snap | 1 - ...icrosoftTeamsChannelConfigurations.go.snap | 1 - ..._ListMicrosoftTeamsConfiguredTeams.go.snap | 1 - ...p_ListMicrosoftTeamsUserIdentities.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateAccountPreferences.go.snap | 1 - ...op_UpdateChimeWebhookConfiguration.go.snap | 1 - .../api_op_UpdateCustomAction.go.snap | 1 - ...MicrosoftTeamsChannelConfiguration.go.snap | 1 - ...op_UpdateSlackChannelConfiguration.go.snap | 1 - service/chime/api_client.go | 31 -- .../api_op_AssociatePhoneNumberWithUser.go | 3 - ...AssociatePhoneNumbersWithVoiceConnector.go | 3 - ...iatePhoneNumbersWithVoiceConnectorGroup.go | 3 - ...ssociateSigninDelegateGroupsWithAccount.go | 3 - service/chime/api_op_BatchCreateAttendee.go | 3 - .../api_op_BatchCreateChannelMembership.go | 3 - .../chime/api_op_BatchCreateRoomMembership.go | 3 - .../chime/api_op_BatchDeletePhoneNumber.go | 3 - service/chime/api_op_BatchSuspendUser.go | 3 - service/chime/api_op_BatchUnsuspendUser.go | 3 - .../chime/api_op_BatchUpdatePhoneNumber.go | 3 - service/chime/api_op_BatchUpdateUser.go | 3 - service/chime/api_op_CreateAccount.go | 3 - service/chime/api_op_CreateAppInstance.go | 3 - .../chime/api_op_CreateAppInstanceAdmin.go | 3 - service/chime/api_op_CreateAppInstanceUser.go | 3 - service/chime/api_op_CreateAttendee.go | 3 - service/chime/api_op_CreateBot.go | 3 - service/chime/api_op_CreateChannel.go | 3 - service/chime/api_op_CreateChannelBan.go | 3 - .../chime/api_op_CreateChannelMembership.go | 3 - .../chime/api_op_CreateChannelModerator.go | 3 - .../api_op_CreateMediaCapturePipeline.go | 3 - service/chime/api_op_CreateMeeting.go | 3 - service/chime/api_op_CreateMeetingDialOut.go | 3 - .../api_op_CreateMeetingWithAttendees.go | 3 - .../chime/api_op_CreatePhoneNumberOrder.go | 3 - service/chime/api_op_CreateProxySession.go | 3 - service/chime/api_op_CreateRoom.go | 3 - service/chime/api_op_CreateRoomMembership.go | 3 - .../chime/api_op_CreateSipMediaApplication.go | 3 - .../api_op_CreateSipMediaApplicationCall.go | 3 - service/chime/api_op_CreateSipRule.go | 3 - service/chime/api_op_CreateUser.go | 3 - service/chime/api_op_CreateVoiceConnector.go | 3 - .../chime/api_op_CreateVoiceConnectorGroup.go | 3 - service/chime/api_op_DeleteAccount.go | 3 - service/chime/api_op_DeleteAppInstance.go | 3 - .../chime/api_op_DeleteAppInstanceAdmin.go | 3 - ...eleteAppInstanceStreamingConfigurations.go | 3 - service/chime/api_op_DeleteAppInstanceUser.go | 3 - service/chime/api_op_DeleteAttendee.go | 3 - service/chime/api_op_DeleteChannel.go | 3 - service/chime/api_op_DeleteChannelBan.go | 3 - .../chime/api_op_DeleteChannelMembership.go | 3 - service/chime/api_op_DeleteChannelMessage.go | 3 - .../chime/api_op_DeleteChannelModerator.go | 3 - .../chime/api_op_DeleteEventsConfiguration.go | 3 - .../api_op_DeleteMediaCapturePipeline.go | 3 - service/chime/api_op_DeleteMeeting.go | 3 - service/chime/api_op_DeletePhoneNumber.go | 3 - service/chime/api_op_DeleteProxySession.go | 3 - service/chime/api_op_DeleteRoom.go | 3 - service/chime/api_op_DeleteRoomMembership.go | 3 - .../chime/api_op_DeleteSipMediaApplication.go | 3 - service/chime/api_op_DeleteSipRule.go | 3 - service/chime/api_op_DeleteVoiceConnector.go | 3 - ...eConnectorEmergencyCallingConfiguration.go | 3 - .../chime/api_op_DeleteVoiceConnectorGroup.go | 3 - .../api_op_DeleteVoiceConnectorOrigination.go | 3 - .../chime/api_op_DeleteVoiceConnectorProxy.go | 3 - ...eteVoiceConnectorStreamingConfiguration.go | 3 - .../api_op_DeleteVoiceConnectorTermination.go | 3 - ...eteVoiceConnectorTerminationCredentials.go | 3 - service/chime/api_op_DescribeAppInstance.go | 3 - .../chime/api_op_DescribeAppInstanceAdmin.go | 3 - .../chime/api_op_DescribeAppInstanceUser.go | 3 - service/chime/api_op_DescribeChannel.go | 3 - service/chime/api_op_DescribeChannelBan.go | 3 - .../chime/api_op_DescribeChannelMembership.go | 3 - ...ribeChannelMembershipForAppInstanceUser.go | 3 - ...scribeChannelModeratedByAppInstanceUser.go | 3 - .../chime/api_op_DescribeChannelModerator.go | 3 - .../api_op_DisassociatePhoneNumberFromUser.go | 3 - ...associatePhoneNumbersFromVoiceConnector.go | 3 - ...iatePhoneNumbersFromVoiceConnectorGroup.go | 3 - ...ssociateSigninDelegateGroupsFromAccount.go | 3 - service/chime/api_op_GetAccount.go | 3 - service/chime/api_op_GetAccountSettings.go | 3 - .../api_op_GetAppInstanceRetentionSettings.go | 3 - ...p_GetAppInstanceStreamingConfigurations.go | 3 - service/chime/api_op_GetAttendee.go | 3 - service/chime/api_op_GetBot.go | 3 - service/chime/api_op_GetChannelMessage.go | 3 - .../chime/api_op_GetEventsConfiguration.go | 3 - service/chime/api_op_GetGlobalSettings.go | 3 - .../chime/api_op_GetMediaCapturePipeline.go | 3 - service/chime/api_op_GetMeeting.go | 3 - .../api_op_GetMessagingSessionEndpoint.go | 3 - service/chime/api_op_GetPhoneNumber.go | 3 - service/chime/api_op_GetPhoneNumberOrder.go | 3 - .../chime/api_op_GetPhoneNumberSettings.go | 3 - service/chime/api_op_GetProxySession.go | 3 - service/chime/api_op_GetRetentionSettings.go | 3 - service/chime/api_op_GetRoom.go | 3 - .../chime/api_op_GetSipMediaApplication.go | 3 - ...SipMediaApplicationLoggingConfiguration.go | 3 - service/chime/api_op_GetSipRule.go | 3 - service/chime/api_op_GetUser.go | 3 - service/chime/api_op_GetUserSettings.go | 3 - service/chime/api_op_GetVoiceConnector.go | 3 - ...eConnectorEmergencyCallingConfiguration.go | 3 - .../chime/api_op_GetVoiceConnectorGroup.go | 3 - ...p_GetVoiceConnectorLoggingConfiguration.go | 3 - .../api_op_GetVoiceConnectorOrigination.go | 3 - .../chime/api_op_GetVoiceConnectorProxy.go | 3 - ...GetVoiceConnectorStreamingConfiguration.go | 3 - .../api_op_GetVoiceConnectorTermination.go | 3 - ...i_op_GetVoiceConnectorTerminationHealth.go | 3 - service/chime/api_op_InviteUsers.go | 3 - service/chime/api_op_ListAccounts.go | 3 - service/chime/api_op_ListAppInstanceAdmins.go | 3 - service/chime/api_op_ListAppInstanceUsers.go | 3 - service/chime/api_op_ListAppInstances.go | 3 - service/chime/api_op_ListAttendeeTags.go | 3 - service/chime/api_op_ListAttendees.go | 3 - service/chime/api_op_ListBots.go | 3 - service/chime/api_op_ListChannelBans.go | 3 - .../chime/api_op_ListChannelMemberships.go | 3 - ...istChannelMembershipsForAppInstanceUser.go | 3 - service/chime/api_op_ListChannelMessages.go | 3 - service/chime/api_op_ListChannelModerators.go | 3 - service/chime/api_op_ListChannels.go | 3 - ..._ListChannelsModeratedByAppInstanceUser.go | 3 - .../chime/api_op_ListMediaCapturePipelines.go | 3 - service/chime/api_op_ListMeetingTags.go | 3 - service/chime/api_op_ListMeetings.go | 3 - service/chime/api_op_ListPhoneNumberOrders.go | 3 - service/chime/api_op_ListPhoneNumbers.go | 3 - service/chime/api_op_ListProxySessions.go | 3 - service/chime/api_op_ListRoomMemberships.go | 3 - service/chime/api_op_ListRooms.go | 3 - .../chime/api_op_ListSipMediaApplications.go | 3 - service/chime/api_op_ListSipRules.go | 3 - ...pi_op_ListSupportedPhoneNumberCountries.go | 3 - service/chime/api_op_ListTagsForResource.go | 3 - service/chime/api_op_ListUsers.go | 3 - .../chime/api_op_ListVoiceConnectorGroups.go | 3 - ...istVoiceConnectorTerminationCredentials.go | 3 - service/chime/api_op_ListVoiceConnectors.go | 3 - service/chime/api_op_LogoutUser.go | 3 - .../api_op_PutAppInstanceRetentionSettings.go | 3 - ...p_PutAppInstanceStreamingConfigurations.go | 3 - .../chime/api_op_PutEventsConfiguration.go | 3 - service/chime/api_op_PutRetentionSettings.go | 3 - ...SipMediaApplicationLoggingConfiguration.go | 3 - ...eConnectorEmergencyCallingConfiguration.go | 3 - ...p_PutVoiceConnectorLoggingConfiguration.go | 3 - .../api_op_PutVoiceConnectorOrigination.go | 3 - .../chime/api_op_PutVoiceConnectorProxy.go | 3 - ...PutVoiceConnectorStreamingConfiguration.go | 3 - .../api_op_PutVoiceConnectorTermination.go | 3 - ...PutVoiceConnectorTerminationCredentials.go | 3 - service/chime/api_op_RedactChannelMessage.go | 3 - .../chime/api_op_RedactConversationMessage.go | 3 - service/chime/api_op_RedactRoomMessage.go | 3 - .../chime/api_op_RegenerateSecurityToken.go | 3 - service/chime/api_op_ResetPersonalPIN.go | 3 - service/chime/api_op_RestorePhoneNumber.go | 3 - .../api_op_SearchAvailablePhoneNumbers.go | 3 - service/chime/api_op_SendChannelMessage.go | 3 - .../chime/api_op_StartMeetingTranscription.go | 3 - .../chime/api_op_StopMeetingTranscription.go | 3 - service/chime/api_op_TagAttendee.go | 3 - service/chime/api_op_TagMeeting.go | 3 - service/chime/api_op_TagResource.go | 3 - service/chime/api_op_UntagAttendee.go | 3 - service/chime/api_op_UntagMeeting.go | 3 - service/chime/api_op_UntagResource.go | 3 - service/chime/api_op_UpdateAccount.go | 3 - service/chime/api_op_UpdateAccountSettings.go | 3 - service/chime/api_op_UpdateAppInstance.go | 3 - service/chime/api_op_UpdateAppInstanceUser.go | 3 - service/chime/api_op_UpdateBot.go | 3 - service/chime/api_op_UpdateChannel.go | 3 - service/chime/api_op_UpdateChannelMessage.go | 3 - .../chime/api_op_UpdateChannelReadMarker.go | 3 - service/chime/api_op_UpdateGlobalSettings.go | 3 - service/chime/api_op_UpdatePhoneNumber.go | 3 - .../chime/api_op_UpdatePhoneNumberSettings.go | 3 - service/chime/api_op_UpdateProxySession.go | 3 - service/chime/api_op_UpdateRoom.go | 3 - service/chime/api_op_UpdateRoomMembership.go | 3 - .../chime/api_op_UpdateSipMediaApplication.go | 3 - .../api_op_UpdateSipMediaApplicationCall.go | 3 - service/chime/api_op_UpdateSipRule.go | 3 - service/chime/api_op_UpdateUser.go | 3 - service/chime/api_op_UpdateUserSettings.go | 3 - service/chime/api_op_UpdateVoiceConnector.go | 3 - .../chime/api_op_UpdateVoiceConnectorGroup.go | 3 - service/chime/api_op_ValidateE911Address.go | 3 - ...pi_op_AssociatePhoneNumberWithUser.go.snap | 1 - ...iatePhoneNumbersWithVoiceConnector.go.snap | 1 - ...honeNumbersWithVoiceConnectorGroup.go.snap | 1 - ...ateSigninDelegateGroupsWithAccount.go.snap | 1 - .../api_op_BatchCreateAttendee.go.snap | 1 - ...pi_op_BatchCreateChannelMembership.go.snap | 1 - .../api_op_BatchCreateRoomMembership.go.snap | 1 - .../api_op_BatchDeletePhoneNumber.go.snap | 1 - .../snapshot/api_op_BatchSuspendUser.go.snap | 1 - .../api_op_BatchUnsuspendUser.go.snap | 1 - .../api_op_BatchUpdatePhoneNumber.go.snap | 1 - .../snapshot/api_op_BatchUpdateUser.go.snap | 1 - .../snapshot/api_op_CreateAccount.go.snap | 1 - .../snapshot/api_op_CreateAppInstance.go.snap | 1 - .../api_op_CreateAppInstanceAdmin.go.snap | 1 - .../api_op_CreateAppInstanceUser.go.snap | 1 - .../snapshot/api_op_CreateAttendee.go.snap | 1 - .../chime/snapshot/api_op_CreateBot.go.snap | 1 - .../snapshot/api_op_CreateChannel.go.snap | 1 - .../snapshot/api_op_CreateChannelBan.go.snap | 1 - .../api_op_CreateChannelMembership.go.snap | 1 - .../api_op_CreateChannelModerator.go.snap | 1 - .../api_op_CreateMediaCapturePipeline.go.snap | 1 - .../snapshot/api_op_CreateMeeting.go.snap | 1 - .../api_op_CreateMeetingDialOut.go.snap | 1 - .../api_op_CreateMeetingWithAttendees.go.snap | 1 - .../api_op_CreatePhoneNumberOrder.go.snap | 1 - .../api_op_CreateProxySession.go.snap | 1 - .../chime/snapshot/api_op_CreateRoom.go.snap | 1 - .../api_op_CreateRoomMembership.go.snap | 1 - .../api_op_CreateSipMediaApplication.go.snap | 1 - ...i_op_CreateSipMediaApplicationCall.go.snap | 1 - .../snapshot/api_op_CreateSipRule.go.snap | 1 - .../chime/snapshot/api_op_CreateUser.go.snap | 1 - .../api_op_CreateVoiceConnector.go.snap | 1 - .../api_op_CreateVoiceConnectorGroup.go.snap | 1 - .../snapshot/api_op_DeleteAccount.go.snap | 1 - .../snapshot/api_op_DeleteAppInstance.go.snap | 1 - .../api_op_DeleteAppInstanceAdmin.go.snap | 1 - ...AppInstanceStreamingConfigurations.go.snap | 1 - .../api_op_DeleteAppInstanceUser.go.snap | 1 - .../snapshot/api_op_DeleteAttendee.go.snap | 1 - .../snapshot/api_op_DeleteChannel.go.snap | 1 - .../snapshot/api_op_DeleteChannelBan.go.snap | 1 - .../api_op_DeleteChannelMembership.go.snap | 1 - .../api_op_DeleteChannelMessage.go.snap | 1 - .../api_op_DeleteChannelModerator.go.snap | 1 - .../api_op_DeleteEventsConfiguration.go.snap | 1 - .../api_op_DeleteMediaCapturePipeline.go.snap | 1 - .../snapshot/api_op_DeleteMeeting.go.snap | 1 - .../snapshot/api_op_DeletePhoneNumber.go.snap | 1 - .../api_op_DeleteProxySession.go.snap | 1 - .../chime/snapshot/api_op_DeleteRoom.go.snap | 1 - .../api_op_DeleteRoomMembership.go.snap | 1 - .../api_op_DeleteSipMediaApplication.go.snap | 1 - .../snapshot/api_op_DeleteSipRule.go.snap | 1 - .../api_op_DeleteVoiceConnector.go.snap | 1 - ...ectorEmergencyCallingConfiguration.go.snap | 1 - .../api_op_DeleteVoiceConnectorGroup.go.snap | 1 - ...op_DeleteVoiceConnectorOrigination.go.snap | 1 - .../api_op_DeleteVoiceConnectorProxy.go.snap | 1 - ...iceConnectorStreamingConfiguration.go.snap | 1 - ...op_DeleteVoiceConnectorTermination.go.snap | 1 - ...iceConnectorTerminationCredentials.go.snap | 1 - .../api_op_DescribeAppInstance.go.snap | 1 - .../api_op_DescribeAppInstanceAdmin.go.snap | 1 - .../api_op_DescribeAppInstanceUser.go.snap | 1 - .../snapshot/api_op_DescribeChannel.go.snap | 1 - .../api_op_DescribeChannelBan.go.snap | 1 - .../api_op_DescribeChannelMembership.go.snap | 1 - ...hannelMembershipForAppInstanceUser.go.snap | 1 - ...eChannelModeratedByAppInstanceUser.go.snap | 1 - .../api_op_DescribeChannelModerator.go.snap | 1 - ...op_DisassociatePhoneNumberFromUser.go.snap | 1 - ...iatePhoneNumbersFromVoiceConnector.go.snap | 1 - ...honeNumbersFromVoiceConnectorGroup.go.snap | 1 - ...ateSigninDelegateGroupsFromAccount.go.snap | 1 - .../chime/snapshot/api_op_GetAccount.go.snap | 1 - .../api_op_GetAccountSettings.go.snap | 1 - ...op_GetAppInstanceRetentionSettings.go.snap | 1 - ...AppInstanceStreamingConfigurations.go.snap | 1 - .../chime/snapshot/api_op_GetAttendee.go.snap | 1 - service/chime/snapshot/api_op_GetBot.go.snap | 1 - .../snapshot/api_op_GetChannelMessage.go.snap | 1 - .../api_op_GetEventsConfiguration.go.snap | 1 - .../snapshot/api_op_GetGlobalSettings.go.snap | 1 - .../api_op_GetMediaCapturePipeline.go.snap | 1 - .../chime/snapshot/api_op_GetMeeting.go.snap | 1 - ...api_op_GetMessagingSessionEndpoint.go.snap | 1 - .../snapshot/api_op_GetPhoneNumber.go.snap | 1 - .../api_op_GetPhoneNumberOrder.go.snap | 1 - .../api_op_GetPhoneNumberSettings.go.snap | 1 - .../snapshot/api_op_GetProxySession.go.snap | 1 - .../api_op_GetRetentionSettings.go.snap | 1 - service/chime/snapshot/api_op_GetRoom.go.snap | 1 - .../api_op_GetSipMediaApplication.go.snap | 1 - ...diaApplicationLoggingConfiguration.go.snap | 1 - .../chime/snapshot/api_op_GetSipRule.go.snap | 1 - service/chime/snapshot/api_op_GetUser.go.snap | 1 - .../snapshot/api_op_GetUserSettings.go.snap | 1 - .../snapshot/api_op_GetVoiceConnector.go.snap | 1 - ...ectorEmergencyCallingConfiguration.go.snap | 1 - .../api_op_GetVoiceConnectorGroup.go.snap | 1 - ...VoiceConnectorLoggingConfiguration.go.snap | 1 - ...pi_op_GetVoiceConnectorOrigination.go.snap | 1 - .../api_op_GetVoiceConnectorProxy.go.snap | 1 - ...iceConnectorStreamingConfiguration.go.snap | 1 - ...pi_op_GetVoiceConnectorTermination.go.snap | 1 - ...GetVoiceConnectorTerminationHealth.go.snap | 1 - .../chime/snapshot/api_op_InviteUsers.go.snap | 1 - .../snapshot/api_op_ListAccounts.go.snap | 1 - .../api_op_ListAppInstanceAdmins.go.snap | 1 - .../api_op_ListAppInstanceUsers.go.snap | 1 - .../snapshot/api_op_ListAppInstances.go.snap | 1 - .../snapshot/api_op_ListAttendeeTags.go.snap | 1 - .../snapshot/api_op_ListAttendees.go.snap | 1 - .../chime/snapshot/api_op_ListBots.go.snap | 1 - .../snapshot/api_op_ListChannelBans.go.snap | 1 - .../api_op_ListChannelMemberships.go.snap | 1 - ...annelMembershipsForAppInstanceUser.go.snap | 1 - .../api_op_ListChannelMessages.go.snap | 1 - .../api_op_ListChannelModerators.go.snap | 1 - .../snapshot/api_op_ListChannels.go.snap | 1 - ...ChannelsModeratedByAppInstanceUser.go.snap | 1 - .../api_op_ListMediaCapturePipelines.go.snap | 1 - .../snapshot/api_op_ListMeetingTags.go.snap | 1 - .../snapshot/api_op_ListMeetings.go.snap | 1 - .../api_op_ListPhoneNumberOrders.go.snap | 1 - .../snapshot/api_op_ListPhoneNumbers.go.snap | 1 - .../snapshot/api_op_ListProxySessions.go.snap | 1 - .../api_op_ListRoomMemberships.go.snap | 1 - .../chime/snapshot/api_op_ListRooms.go.snap | 1 - .../api_op_ListSipMediaApplications.go.snap | 1 - .../snapshot/api_op_ListSipRules.go.snap | 1 - ..._ListSupportedPhoneNumberCountries.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../chime/snapshot/api_op_ListUsers.go.snap | 1 - .../api_op_ListVoiceConnectorGroups.go.snap | 1 - ...iceConnectorTerminationCredentials.go.snap | 1 - .../api_op_ListVoiceConnectors.go.snap | 1 - .../chime/snapshot/api_op_LogoutUser.go.snap | 1 - ...op_PutAppInstanceRetentionSettings.go.snap | 1 - ...AppInstanceStreamingConfigurations.go.snap | 1 - .../api_op_PutEventsConfiguration.go.snap | 1 - .../api_op_PutRetentionSettings.go.snap | 1 - ...diaApplicationLoggingConfiguration.go.snap | 1 - ...ectorEmergencyCallingConfiguration.go.snap | 1 - ...VoiceConnectorLoggingConfiguration.go.snap | 1 - ...pi_op_PutVoiceConnectorOrigination.go.snap | 1 - .../api_op_PutVoiceConnectorProxy.go.snap | 1 - ...iceConnectorStreamingConfiguration.go.snap | 1 - ...pi_op_PutVoiceConnectorTermination.go.snap | 1 - ...iceConnectorTerminationCredentials.go.snap | 1 - .../api_op_RedactChannelMessage.go.snap | 1 - .../api_op_RedactConversationMessage.go.snap | 1 - .../snapshot/api_op_RedactRoomMessage.go.snap | 1 - .../api_op_RegenerateSecurityToken.go.snap | 1 - .../snapshot/api_op_ResetPersonalPIN.go.snap | 1 - .../api_op_RestorePhoneNumber.go.snap | 1 - ...api_op_SearchAvailablePhoneNumbers.go.snap | 1 - .../api_op_SendChannelMessage.go.snap | 1 - .../api_op_StartMeetingTranscription.go.snap | 1 - .../api_op_StopMeetingTranscription.go.snap | 1 - .../chime/snapshot/api_op_TagAttendee.go.snap | 1 - .../chime/snapshot/api_op_TagMeeting.go.snap | 1 - .../chime/snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagAttendee.go.snap | 1 - .../snapshot/api_op_UntagMeeting.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateAccount.go.snap | 1 - .../api_op_UpdateAccountSettings.go.snap | 1 - .../snapshot/api_op_UpdateAppInstance.go.snap | 1 - .../api_op_UpdateAppInstanceUser.go.snap | 1 - .../chime/snapshot/api_op_UpdateBot.go.snap | 1 - .../snapshot/api_op_UpdateChannel.go.snap | 1 - .../api_op_UpdateChannelMessage.go.snap | 1 - .../api_op_UpdateChannelReadMarker.go.snap | 1 - .../api_op_UpdateGlobalSettings.go.snap | 1 - .../snapshot/api_op_UpdatePhoneNumber.go.snap | 1 - .../api_op_UpdatePhoneNumberSettings.go.snap | 1 - .../api_op_UpdateProxySession.go.snap | 1 - .../chime/snapshot/api_op_UpdateRoom.go.snap | 1 - .../api_op_UpdateRoomMembership.go.snap | 1 - .../api_op_UpdateSipMediaApplication.go.snap | 1 - ...i_op_UpdateSipMediaApplicationCall.go.snap | 1 - .../snapshot/api_op_UpdateSipRule.go.snap | 1 - .../chime/snapshot/api_op_UpdateUser.go.snap | 1 - .../api_op_UpdateUserSettings.go.snap | 1 - .../api_op_UpdateVoiceConnector.go.snap | 1 - .../api_op_UpdateVoiceConnectorGroup.go.snap | 1 - .../api_op_ValidateE911Address.go.snap | 1 - service/chimesdkidentity/api_client.go | 31 -- .../api_op_CreateAppInstance.go | 3 - .../api_op_CreateAppInstanceAdmin.go | 3 - .../api_op_CreateAppInstanceBot.go | 3 - .../api_op_CreateAppInstanceUser.go | 3 - .../api_op_DeleteAppInstance.go | 3 - .../api_op_DeleteAppInstanceAdmin.go | 3 - .../api_op_DeleteAppInstanceBot.go | 3 - .../api_op_DeleteAppInstanceUser.go | 3 - ...pi_op_DeregisterAppInstanceUserEndpoint.go | 3 - .../api_op_DescribeAppInstance.go | 3 - .../api_op_DescribeAppInstanceAdmin.go | 3 - .../api_op_DescribeAppInstanceBot.go | 3 - .../api_op_DescribeAppInstanceUser.go | 3 - .../api_op_DescribeAppInstanceUserEndpoint.go | 3 - .../api_op_GetAppInstanceRetentionSettings.go | 3 - .../api_op_ListAppInstanceAdmins.go | 3 - .../api_op_ListAppInstanceBots.go | 3 - .../api_op_ListAppInstanceUserEndpoints.go | 3 - .../api_op_ListAppInstanceUsers.go | 3 - .../api_op_ListAppInstances.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_PutAppInstanceRetentionSettings.go | 3 - ...op_PutAppInstanceUserExpirationSettings.go | 3 - .../api_op_RegisterAppInstanceUserEndpoint.go | 3 - .../chimesdkidentity/api_op_TagResource.go | 3 - .../chimesdkidentity/api_op_UntagResource.go | 3 - .../api_op_UpdateAppInstance.go | 3 - .../api_op_UpdateAppInstanceBot.go | 3 - .../api_op_UpdateAppInstanceUser.go | 3 - .../api_op_UpdateAppInstanceUserEndpoint.go | 3 - .../snapshot/api_op_CreateAppInstance.go.snap | 1 - .../api_op_CreateAppInstanceAdmin.go.snap | 1 - .../api_op_CreateAppInstanceBot.go.snap | 1 - .../api_op_CreateAppInstanceUser.go.snap | 1 - .../snapshot/api_op_DeleteAppInstance.go.snap | 1 - .../api_op_DeleteAppInstanceAdmin.go.snap | 1 - .../api_op_DeleteAppInstanceBot.go.snap | 1 - .../api_op_DeleteAppInstanceUser.go.snap | 1 - ..._DeregisterAppInstanceUserEndpoint.go.snap | 1 - .../api_op_DescribeAppInstance.go.snap | 1 - .../api_op_DescribeAppInstanceAdmin.go.snap | 1 - .../api_op_DescribeAppInstanceBot.go.snap | 1 - .../api_op_DescribeAppInstanceUser.go.snap | 1 - ...op_DescribeAppInstanceUserEndpoint.go.snap | 1 - ...op_GetAppInstanceRetentionSettings.go.snap | 1 - .../api_op_ListAppInstanceAdmins.go.snap | 1 - .../api_op_ListAppInstanceBots.go.snap | 1 - ...pi_op_ListAppInstanceUserEndpoints.go.snap | 1 - .../api_op_ListAppInstanceUsers.go.snap | 1 - .../snapshot/api_op_ListAppInstances.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - ...op_PutAppInstanceRetentionSettings.go.snap | 1 - ...tAppInstanceUserExpirationSettings.go.snap | 1 - ...op_RegisterAppInstanceUserEndpoint.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateAppInstance.go.snap | 1 - .../api_op_UpdateAppInstanceBot.go.snap | 1 - .../api_op_UpdateAppInstanceUser.go.snap | 1 - ...i_op_UpdateAppInstanceUserEndpoint.go.snap | 1 - service/chimesdkmediapipelines/api_client.go | 31 -- .../api_op_CreateMediaCapturePipeline.go | 3 - ...api_op_CreateMediaConcatenationPipeline.go | 3 - .../api_op_CreateMediaInsightsPipeline.go | 3 - ...reateMediaInsightsPipelineConfiguration.go | 3 - ...api_op_CreateMediaLiveConnectorPipeline.go | 3 - ...eateMediaPipelineKinesisVideoStreamPool.go | 3 - .../api_op_CreateMediaStreamPipeline.go | 3 - .../api_op_DeleteMediaCapturePipeline.go | 3 - ...eleteMediaInsightsPipelineConfiguration.go | 3 - .../api_op_DeleteMediaPipeline.go | 3 - ...leteMediaPipelineKinesisVideoStreamPool.go | 3 - .../api_op_GetMediaCapturePipeline.go | 3 - ...p_GetMediaInsightsPipelineConfiguration.go | 3 - .../api_op_GetMediaPipeline.go | 3 - ..._GetMediaPipelineKinesisVideoStreamPool.go | 3 - .../api_op_GetSpeakerSearchTask.go | 3 - .../api_op_GetVoiceToneAnalysisTask.go | 3 - .../api_op_ListMediaCapturePipelines.go | 3 - ...ListMediaInsightsPipelineConfigurations.go | 3 - ...istMediaPipelineKinesisVideoStreamPools.go | 3 - .../api_op_ListMediaPipelines.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_StartSpeakerSearchTask.go | 3 - .../api_op_StartVoiceToneAnalysisTask.go | 3 - .../api_op_StopSpeakerSearchTask.go | 3 - .../api_op_StopVoiceToneAnalysisTask.go | 3 - .../api_op_TagResource.go | 3 - .../api_op_UntagResource.go | 3 - ...pdateMediaInsightsPipelineConfiguration.go | 3 - ...pi_op_UpdateMediaInsightsPipelineStatus.go | 3 - ...dateMediaPipelineKinesisVideoStreamPool.go | 3 - .../api_op_CreateMediaCapturePipeline.go.snap | 1 - ...p_CreateMediaConcatenationPipeline.go.snap | 1 - ...api_op_CreateMediaInsightsPipeline.go.snap | 1 - ...MediaInsightsPipelineConfiguration.go.snap | 1 - ...p_CreateMediaLiveConnectorPipeline.go.snap | 1 - ...ediaPipelineKinesisVideoStreamPool.go.snap | 1 - .../api_op_CreateMediaStreamPipeline.go.snap | 1 - .../api_op_DeleteMediaCapturePipeline.go.snap | 1 - ...MediaInsightsPipelineConfiguration.go.snap | 1 - .../api_op_DeleteMediaPipeline.go.snap | 1 - ...ediaPipelineKinesisVideoStreamPool.go.snap | 1 - .../api_op_GetMediaCapturePipeline.go.snap | 1 - ...MediaInsightsPipelineConfiguration.go.snap | 1 - .../snapshot/api_op_GetMediaPipeline.go.snap | 1 - ...ediaPipelineKinesisVideoStreamPool.go.snap | 1 - .../api_op_GetSpeakerSearchTask.go.snap | 1 - .../api_op_GetVoiceToneAnalysisTask.go.snap | 1 - .../api_op_ListMediaCapturePipelines.go.snap | 1 - ...ediaInsightsPipelineConfigurations.go.snap | 1 - ...diaPipelineKinesisVideoStreamPools.go.snap | 1 - .../api_op_ListMediaPipelines.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_StartSpeakerSearchTask.go.snap | 1 - .../api_op_StartVoiceToneAnalysisTask.go.snap | 1 - .../api_op_StopSpeakerSearchTask.go.snap | 1 - .../api_op_StopVoiceToneAnalysisTask.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - ...MediaInsightsPipelineConfiguration.go.snap | 1 - ..._UpdateMediaInsightsPipelineStatus.go.snap | 1 - ...ediaPipelineKinesisVideoStreamPool.go.snap | 1 - service/chimesdkmeetings/api_client.go | 31 -- .../api_op_BatchCreateAttendee.go | 3 - ...p_BatchUpdateAttendeeCapabilitiesExcept.go | 3 - .../chimesdkmeetings/api_op_CreateAttendee.go | 3 - .../chimesdkmeetings/api_op_CreateMeeting.go | 3 - .../api_op_CreateMeetingWithAttendees.go | 3 - .../chimesdkmeetings/api_op_DeleteAttendee.go | 3 - .../chimesdkmeetings/api_op_DeleteMeeting.go | 3 - .../chimesdkmeetings/api_op_GetAttendee.go | 3 - service/chimesdkmeetings/api_op_GetMeeting.go | 3 - .../chimesdkmeetings/api_op_ListAttendees.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_StartMeetingTranscription.go | 3 - .../api_op_StopMeetingTranscription.go | 3 - .../chimesdkmeetings/api_op_TagResource.go | 3 - .../chimesdkmeetings/api_op_UntagResource.go | 3 - .../api_op_UpdateAttendeeCapabilities.go | 3 - .../api_op_BatchCreateAttendee.go.snap | 1 - ...chUpdateAttendeeCapabilitiesExcept.go.snap | 1 - .../snapshot/api_op_CreateAttendee.go.snap | 1 - .../snapshot/api_op_CreateMeeting.go.snap | 1 - .../api_op_CreateMeetingWithAttendees.go.snap | 1 - .../snapshot/api_op_DeleteAttendee.go.snap | 1 - .../snapshot/api_op_DeleteMeeting.go.snap | 1 - .../snapshot/api_op_GetAttendee.go.snap | 1 - .../snapshot/api_op_GetMeeting.go.snap | 1 - .../snapshot/api_op_ListAttendees.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_StartMeetingTranscription.go.snap | 1 - .../api_op_StopMeetingTranscription.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateAttendeeCapabilities.go.snap | 1 - service/chimesdkmessaging/api_client.go | 31 -- .../api_op_AssociateChannelFlow.go | 3 - .../api_op_BatchCreateChannelMembership.go | 3 - .../api_op_ChannelFlowCallback.go | 3 - .../chimesdkmessaging/api_op_CreateChannel.go | 3 - .../api_op_CreateChannelBan.go | 3 - .../api_op_CreateChannelFlow.go | 3 - .../api_op_CreateChannelMembership.go | 3 - .../api_op_CreateChannelModerator.go | 3 - .../chimesdkmessaging/api_op_DeleteChannel.go | 3 - .../api_op_DeleteChannelBan.go | 3 - .../api_op_DeleteChannelFlow.go | 3 - .../api_op_DeleteChannelMembership.go | 3 - .../api_op_DeleteChannelMessage.go | 3 - .../api_op_DeleteChannelModerator.go | 3 - ..._DeleteMessagingStreamingConfigurations.go | 3 - .../api_op_DescribeChannel.go | 3 - .../api_op_DescribeChannelBan.go | 3 - .../api_op_DescribeChannelFlow.go | 3 - .../api_op_DescribeChannelMembership.go | 3 - ...ribeChannelMembershipForAppInstanceUser.go | 3 - ...scribeChannelModeratedByAppInstanceUser.go | 3 - .../api_op_DescribeChannelModerator.go | 3 - .../api_op_DisassociateChannelFlow.go | 3 - .../api_op_GetChannelMembershipPreferences.go | 3 - .../api_op_GetChannelMessage.go | 3 - .../api_op_GetChannelMessageStatus.go | 3 - .../api_op_GetMessagingSessionEndpoint.go | 3 - ..._op_GetMessagingStreamingConfigurations.go | 3 - .../api_op_ListChannelBans.go | 3 - .../api_op_ListChannelFlows.go | 3 - .../api_op_ListChannelMemberships.go | 3 - ...istChannelMembershipsForAppInstanceUser.go | 3 - .../api_op_ListChannelMessages.go | 3 - .../api_op_ListChannelModerators.go | 3 - .../chimesdkmessaging/api_op_ListChannels.go | 3 - ...p_ListChannelsAssociatedWithChannelFlow.go | 3 - ..._ListChannelsModeratedByAppInstanceUser.go | 3 - .../api_op_ListSubChannels.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_PutChannelExpirationSettings.go | 3 - .../api_op_PutChannelMembershipPreferences.go | 3 - ..._op_PutMessagingStreamingConfigurations.go | 3 - .../api_op_RedactChannelMessage.go | 3 - .../api_op_SearchChannels.go | 3 - .../api_op_SendChannelMessage.go | 3 - .../chimesdkmessaging/api_op_TagResource.go | 3 - .../chimesdkmessaging/api_op_UntagResource.go | 3 - .../chimesdkmessaging/api_op_UpdateChannel.go | 3 - .../api_op_UpdateChannelFlow.go | 3 - .../api_op_UpdateChannelMessage.go | 3 - .../api_op_UpdateChannelReadMarker.go | 3 - .../api_op_AssociateChannelFlow.go.snap | 1 - ...pi_op_BatchCreateChannelMembership.go.snap | 1 - .../api_op_ChannelFlowCallback.go.snap | 1 - .../snapshot/api_op_CreateChannel.go.snap | 1 - .../snapshot/api_op_CreateChannelBan.go.snap | 1 - .../snapshot/api_op_CreateChannelFlow.go.snap | 1 - .../api_op_CreateChannelMembership.go.snap | 1 - .../api_op_CreateChannelModerator.go.snap | 1 - .../snapshot/api_op_DeleteChannel.go.snap | 1 - .../snapshot/api_op_DeleteChannelBan.go.snap | 1 - .../snapshot/api_op_DeleteChannelFlow.go.snap | 1 - .../api_op_DeleteChannelMembership.go.snap | 1 - .../api_op_DeleteChannelMessage.go.snap | 1 - .../api_op_DeleteChannelModerator.go.snap | 1 - ...teMessagingStreamingConfigurations.go.snap | 1 - .../snapshot/api_op_DescribeChannel.go.snap | 1 - .../api_op_DescribeChannelBan.go.snap | 1 - .../api_op_DescribeChannelFlow.go.snap | 1 - .../api_op_DescribeChannelMembership.go.snap | 1 - ...hannelMembershipForAppInstanceUser.go.snap | 1 - ...eChannelModeratedByAppInstanceUser.go.snap | 1 - .../api_op_DescribeChannelModerator.go.snap | 1 - .../api_op_DisassociateChannelFlow.go.snap | 1 - ...op_GetChannelMembershipPreferences.go.snap | 1 - .../snapshot/api_op_GetChannelMessage.go.snap | 1 - .../api_op_GetChannelMessageStatus.go.snap | 1 - ...api_op_GetMessagingSessionEndpoint.go.snap | 1 - ...etMessagingStreamingConfigurations.go.snap | 1 - .../snapshot/api_op_ListChannelBans.go.snap | 1 - .../snapshot/api_op_ListChannelFlows.go.snap | 1 - .../api_op_ListChannelMemberships.go.snap | 1 - ...annelMembershipsForAppInstanceUser.go.snap | 1 - .../api_op_ListChannelMessages.go.snap | 1 - .../api_op_ListChannelModerators.go.snap | 1 - .../snapshot/api_op_ListChannels.go.snap | 1 - ...tChannelsAssociatedWithChannelFlow.go.snap | 1 - ...ChannelsModeratedByAppInstanceUser.go.snap | 1 - .../snapshot/api_op_ListSubChannels.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - ...pi_op_PutChannelExpirationSettings.go.snap | 1 - ...op_PutChannelMembershipPreferences.go.snap | 1 - ...utMessagingStreamingConfigurations.go.snap | 1 - .../api_op_RedactChannelMessage.go.snap | 1 - .../snapshot/api_op_SearchChannels.go.snap | 1 - .../api_op_SendChannelMessage.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateChannel.go.snap | 1 - .../snapshot/api_op_UpdateChannelFlow.go.snap | 1 - .../api_op_UpdateChannelMessage.go.snap | 1 - .../api_op_UpdateChannelReadMarker.go.snap | 1 - service/chimesdkvoice/api_client.go | 31 -- ...AssociatePhoneNumbersWithVoiceConnector.go | 3 - ...iatePhoneNumbersWithVoiceConnectorGroup.go | 3 - .../api_op_BatchDeletePhoneNumber.go | 3 - .../api_op_BatchUpdatePhoneNumber.go | 3 - .../api_op_CreatePhoneNumberOrder.go | 3 - .../api_op_CreateProxySession.go | 3 - .../api_op_CreateSipMediaApplication.go | 3 - .../api_op_CreateSipMediaApplicationCall.go | 3 - service/chimesdkvoice/api_op_CreateSipRule.go | 3 - .../api_op_CreateVoiceConnector.go | 3 - .../api_op_CreateVoiceConnectorGroup.go | 3 - .../api_op_CreateVoiceProfile.go | 3 - .../api_op_CreateVoiceProfileDomain.go | 3 - .../chimesdkvoice/api_op_DeletePhoneNumber.go | 3 - .../api_op_DeleteProxySession.go | 3 - .../api_op_DeleteSipMediaApplication.go | 3 - service/chimesdkvoice/api_op_DeleteSipRule.go | 3 - .../api_op_DeleteVoiceConnector.go | 3 - ...eConnectorEmergencyCallingConfiguration.go | 3 - ...ceConnectorExternalSystemsConfiguration.go | 3 - .../api_op_DeleteVoiceConnectorGroup.go | 3 - .../api_op_DeleteVoiceConnectorOrigination.go | 3 - .../api_op_DeleteVoiceConnectorProxy.go | 3 - ...eteVoiceConnectorStreamingConfiguration.go | 3 - .../api_op_DeleteVoiceConnectorTermination.go | 3 - ...eteVoiceConnectorTerminationCredentials.go | 3 - .../api_op_DeleteVoiceProfile.go | 3 - .../api_op_DeleteVoiceProfileDomain.go | 3 - ...associatePhoneNumbersFromVoiceConnector.go | 3 - ...iatePhoneNumbersFromVoiceConnectorGroup.go | 3 - .../chimesdkvoice/api_op_GetGlobalSettings.go | 3 - .../chimesdkvoice/api_op_GetPhoneNumber.go | 3 - .../api_op_GetPhoneNumberOrder.go | 3 - .../api_op_GetPhoneNumberSettings.go | 3 - .../chimesdkvoice/api_op_GetProxySession.go | 3 - .../api_op_GetSipMediaApplication.go | 3 - ...MediaApplicationAlexaSkillConfiguration.go | 3 - ...SipMediaApplicationLoggingConfiguration.go | 3 - service/chimesdkvoice/api_op_GetSipRule.go | 3 - .../api_op_GetSpeakerSearchTask.go | 3 - .../chimesdkvoice/api_op_GetVoiceConnector.go | 3 - ...eConnectorEmergencyCallingConfiguration.go | 3 - ...ceConnectorExternalSystemsConfiguration.go | 3 - .../api_op_GetVoiceConnectorGroup.go | 3 - ...p_GetVoiceConnectorLoggingConfiguration.go | 3 - .../api_op_GetVoiceConnectorOrigination.go | 3 - .../api_op_GetVoiceConnectorProxy.go | 3 - ...GetVoiceConnectorStreamingConfiguration.go | 3 - .../api_op_GetVoiceConnectorTermination.go | 3 - ...i_op_GetVoiceConnectorTerminationHealth.go | 3 - .../chimesdkvoice/api_op_GetVoiceProfile.go | 3 - .../api_op_GetVoiceProfileDomain.go | 3 - .../api_op_GetVoiceToneAnalysisTask.go | 3 - ...i_op_ListAvailableVoiceConnectorRegions.go | 3 - .../api_op_ListPhoneNumberOrders.go | 3 - .../chimesdkvoice/api_op_ListPhoneNumbers.go | 3 - .../chimesdkvoice/api_op_ListProxySessions.go | 3 - .../api_op_ListSipMediaApplications.go | 3 - service/chimesdkvoice/api_op_ListSipRules.go | 3 - ...pi_op_ListSupportedPhoneNumberCountries.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_ListVoiceConnectorGroups.go | 3 - ...istVoiceConnectorTerminationCredentials.go | 3 - .../api_op_ListVoiceConnectors.go | 3 - .../api_op_ListVoiceProfileDomains.go | 3 - .../chimesdkvoice/api_op_ListVoiceProfiles.go | 3 - ...MediaApplicationAlexaSkillConfiguration.go | 3 - ...SipMediaApplicationLoggingConfiguration.go | 3 - ...eConnectorEmergencyCallingConfiguration.go | 3 - ...ceConnectorExternalSystemsConfiguration.go | 3 - ...p_PutVoiceConnectorLoggingConfiguration.go | 3 - .../api_op_PutVoiceConnectorOrigination.go | 3 - .../api_op_PutVoiceConnectorProxy.go | 3 - ...PutVoiceConnectorStreamingConfiguration.go | 3 - .../api_op_PutVoiceConnectorTermination.go | 3 - ...PutVoiceConnectorTerminationCredentials.go | 3 - .../api_op_RestorePhoneNumber.go | 3 - .../api_op_SearchAvailablePhoneNumbers.go | 3 - .../api_op_StartSpeakerSearchTask.go | 3 - .../api_op_StartVoiceToneAnalysisTask.go | 3 - .../api_op_StopSpeakerSearchTask.go | 3 - .../api_op_StopVoiceToneAnalysisTask.go | 3 - service/chimesdkvoice/api_op_TagResource.go | 3 - service/chimesdkvoice/api_op_UntagResource.go | 3 - .../api_op_UpdateGlobalSettings.go | 3 - .../chimesdkvoice/api_op_UpdatePhoneNumber.go | 3 - .../api_op_UpdatePhoneNumberSettings.go | 3 - .../api_op_UpdateProxySession.go | 3 - .../api_op_UpdateSipMediaApplication.go | 3 - .../api_op_UpdateSipMediaApplicationCall.go | 3 - service/chimesdkvoice/api_op_UpdateSipRule.go | 3 - .../api_op_UpdateVoiceConnector.go | 3 - .../api_op_UpdateVoiceConnectorGroup.go | 3 - .../api_op_UpdateVoiceProfile.go | 3 - .../api_op_UpdateVoiceProfileDomain.go | 3 - .../api_op_ValidateE911Address.go | 3 - ...iatePhoneNumbersWithVoiceConnector.go.snap | 1 - ...honeNumbersWithVoiceConnectorGroup.go.snap | 1 - .../api_op_BatchDeletePhoneNumber.go.snap | 1 - .../api_op_BatchUpdatePhoneNumber.go.snap | 1 - .../api_op_CreatePhoneNumberOrder.go.snap | 1 - .../api_op_CreateProxySession.go.snap | 1 - .../api_op_CreateSipMediaApplication.go.snap | 1 - ...i_op_CreateSipMediaApplicationCall.go.snap | 1 - .../snapshot/api_op_CreateSipRule.go.snap | 1 - .../api_op_CreateVoiceConnector.go.snap | 1 - .../api_op_CreateVoiceConnectorGroup.go.snap | 1 - .../api_op_CreateVoiceProfile.go.snap | 1 - .../api_op_CreateVoiceProfileDomain.go.snap | 1 - .../snapshot/api_op_DeletePhoneNumber.go.snap | 1 - .../api_op_DeleteProxySession.go.snap | 1 - .../api_op_DeleteSipMediaApplication.go.snap | 1 - .../snapshot/api_op_DeleteSipRule.go.snap | 1 - .../api_op_DeleteVoiceConnector.go.snap | 1 - ...ectorEmergencyCallingConfiguration.go.snap | 1 - ...nectorExternalSystemsConfiguration.go.snap | 1 - .../api_op_DeleteVoiceConnectorGroup.go.snap | 1 - ...op_DeleteVoiceConnectorOrigination.go.snap | 1 - .../api_op_DeleteVoiceConnectorProxy.go.snap | 1 - ...iceConnectorStreamingConfiguration.go.snap | 1 - ...op_DeleteVoiceConnectorTermination.go.snap | 1 - ...iceConnectorTerminationCredentials.go.snap | 1 - .../api_op_DeleteVoiceProfile.go.snap | 1 - .../api_op_DeleteVoiceProfileDomain.go.snap | 1 - ...iatePhoneNumbersFromVoiceConnector.go.snap | 1 - ...honeNumbersFromVoiceConnectorGroup.go.snap | 1 - .../snapshot/api_op_GetGlobalSettings.go.snap | 1 - .../snapshot/api_op_GetPhoneNumber.go.snap | 1 - .../api_op_GetPhoneNumberOrder.go.snap | 1 - .../api_op_GetPhoneNumberSettings.go.snap | 1 - .../snapshot/api_op_GetProxySession.go.snap | 1 - .../api_op_GetSipMediaApplication.go.snap | 1 - ...ApplicationAlexaSkillConfiguration.go.snap | 1 - ...diaApplicationLoggingConfiguration.go.snap | 1 - .../snapshot/api_op_GetSipRule.go.snap | 1 - .../api_op_GetSpeakerSearchTask.go.snap | 1 - .../snapshot/api_op_GetVoiceConnector.go.snap | 1 - ...ectorEmergencyCallingConfiguration.go.snap | 1 - ...nectorExternalSystemsConfiguration.go.snap | 1 - .../api_op_GetVoiceConnectorGroup.go.snap | 1 - ...VoiceConnectorLoggingConfiguration.go.snap | 1 - ...pi_op_GetVoiceConnectorOrigination.go.snap | 1 - .../api_op_GetVoiceConnectorProxy.go.snap | 1 - ...iceConnectorStreamingConfiguration.go.snap | 1 - ...pi_op_GetVoiceConnectorTermination.go.snap | 1 - ...GetVoiceConnectorTerminationHealth.go.snap | 1 - .../snapshot/api_op_GetVoiceProfile.go.snap | 1 - .../api_op_GetVoiceProfileDomain.go.snap | 1 - .../api_op_GetVoiceToneAnalysisTask.go.snap | 1 - ...ListAvailableVoiceConnectorRegions.go.snap | 1 - .../api_op_ListPhoneNumberOrders.go.snap | 1 - .../snapshot/api_op_ListPhoneNumbers.go.snap | 1 - .../snapshot/api_op_ListProxySessions.go.snap | 1 - .../api_op_ListSipMediaApplications.go.snap | 1 - .../snapshot/api_op_ListSipRules.go.snap | 1 - ..._ListSupportedPhoneNumberCountries.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListVoiceConnectorGroups.go.snap | 1 - ...iceConnectorTerminationCredentials.go.snap | 1 - .../api_op_ListVoiceConnectors.go.snap | 1 - .../api_op_ListVoiceProfileDomains.go.snap | 1 - .../snapshot/api_op_ListVoiceProfiles.go.snap | 1 - ...ApplicationAlexaSkillConfiguration.go.snap | 1 - ...diaApplicationLoggingConfiguration.go.snap | 1 - ...ectorEmergencyCallingConfiguration.go.snap | 1 - ...nectorExternalSystemsConfiguration.go.snap | 1 - ...VoiceConnectorLoggingConfiguration.go.snap | 1 - ...pi_op_PutVoiceConnectorOrigination.go.snap | 1 - .../api_op_PutVoiceConnectorProxy.go.snap | 1 - ...iceConnectorStreamingConfiguration.go.snap | 1 - ...pi_op_PutVoiceConnectorTermination.go.snap | 1 - ...iceConnectorTerminationCredentials.go.snap | 1 - .../api_op_RestorePhoneNumber.go.snap | 1 - ...api_op_SearchAvailablePhoneNumbers.go.snap | 1 - .../api_op_StartSpeakerSearchTask.go.snap | 1 - .../api_op_StartVoiceToneAnalysisTask.go.snap | 1 - .../api_op_StopSpeakerSearchTask.go.snap | 1 - .../api_op_StopVoiceToneAnalysisTask.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateGlobalSettings.go.snap | 1 - .../snapshot/api_op_UpdatePhoneNumber.go.snap | 1 - .../api_op_UpdatePhoneNumberSettings.go.snap | 1 - .../api_op_UpdateProxySession.go.snap | 1 - .../api_op_UpdateSipMediaApplication.go.snap | 1 - ...i_op_UpdateSipMediaApplicationCall.go.snap | 1 - .../snapshot/api_op_UpdateSipRule.go.snap | 1 - .../api_op_UpdateVoiceConnector.go.snap | 1 - .../api_op_UpdateVoiceConnectorGroup.go.snap | 1 - .../api_op_UpdateVoiceProfile.go.snap | 1 - .../api_op_UpdateVoiceProfileDomain.go.snap | 1 - .../api_op_ValidateE911Address.go.snap | 1 - service/cleanrooms/api_client.go | 31 -- ...p_BatchGetCollaborationAnalysisTemplate.go | 3 - service/cleanrooms/api_op_BatchGetSchema.go | 3 - .../api_op_BatchGetSchemaAnalysisRule.go | 3 - .../api_op_CreateAnalysisTemplate.go | 3 - .../cleanrooms/api_op_CreateCollaboration.go | 3 - ...reateConfiguredAudienceModelAssociation.go | 3 - .../api_op_CreateConfiguredTable.go | 3 - ...pi_op_CreateConfiguredTableAnalysisRule.go | 3 - ...api_op_CreateConfiguredTableAssociation.go | 3 - ...eConfiguredTableAssociationAnalysisRule.go | 3 - .../cleanrooms/api_op_CreateIdMappingTable.go | 3 - .../api_op_CreateIdNamespaceAssociation.go | 3 - service/cleanrooms/api_op_CreateMembership.go | 3 - .../api_op_CreatePrivacyBudgetTemplate.go | 3 - .../api_op_DeleteAnalysisTemplate.go | 3 - .../cleanrooms/api_op_DeleteCollaboration.go | 3 - ...eleteConfiguredAudienceModelAssociation.go | 3 - .../api_op_DeleteConfiguredTable.go | 3 - ...pi_op_DeleteConfiguredTableAnalysisRule.go | 3 - ...api_op_DeleteConfiguredTableAssociation.go | 3 - ...eConfiguredTableAssociationAnalysisRule.go | 3 - .../cleanrooms/api_op_DeleteIdMappingTable.go | 3 - .../api_op_DeleteIdNamespaceAssociation.go | 3 - service/cleanrooms/api_op_DeleteMember.go | 3 - service/cleanrooms/api_op_DeleteMembership.go | 3 - .../api_op_DeletePrivacyBudgetTemplate.go | 3 - .../cleanrooms/api_op_GetAnalysisTemplate.go | 3 - service/cleanrooms/api_op_GetCollaboration.go | 3 - ...api_op_GetCollaborationAnalysisTemplate.go | 3 - ...ationConfiguredAudienceModelAssociation.go | 3 - ..._GetCollaborationIdNamespaceAssociation.go | 3 - ...p_GetCollaborationPrivacyBudgetTemplate.go | 3 - ...p_GetConfiguredAudienceModelAssociation.go | 3 - .../cleanrooms/api_op_GetConfiguredTable.go | 3 - .../api_op_GetConfiguredTableAnalysisRule.go | 3 - .../api_op_GetConfiguredTableAssociation.go | 3 - ...tConfiguredTableAssociationAnalysisRule.go | 3 - .../cleanrooms/api_op_GetIdMappingTable.go | 3 - .../api_op_GetIdNamespaceAssociation.go | 3 - service/cleanrooms/api_op_GetMembership.go | 3 - .../api_op_GetPrivacyBudgetTemplate.go | 3 - .../cleanrooms/api_op_GetProtectedQuery.go | 3 - service/cleanrooms/api_op_GetSchema.go | 3 - .../api_op_GetSchemaAnalysisRule.go | 3 - .../api_op_ListAnalysisTemplates.go | 3 - ...i_op_ListCollaborationAnalysisTemplates.go | 3 - ...tionConfiguredAudienceModelAssociations.go | 3 - ...istCollaborationIdNamespaceAssociations.go | 3 - ...ListCollaborationPrivacyBudgetTemplates.go | 3 - .../api_op_ListCollaborationPrivacyBudgets.go | 3 - .../cleanrooms/api_op_ListCollaborations.go | 3 - ...ListConfiguredAudienceModelAssociations.go | 3 - .../api_op_ListConfiguredTableAssociations.go | 3 - .../cleanrooms/api_op_ListConfiguredTables.go | 3 - .../cleanrooms/api_op_ListIdMappingTables.go | 3 - .../api_op_ListIdNamespaceAssociations.go | 3 - service/cleanrooms/api_op_ListMembers.go | 3 - service/cleanrooms/api_op_ListMemberships.go | 3 - .../api_op_ListPrivacyBudgetTemplates.go | 3 - .../cleanrooms/api_op_ListPrivacyBudgets.go | 3 - .../cleanrooms/api_op_ListProtectedQueries.go | 3 - service/cleanrooms/api_op_ListSchemas.go | 3 - .../cleanrooms/api_op_ListTagsForResource.go | 3 - .../api_op_PopulateIdMappingTable.go | 3 - .../cleanrooms/api_op_PreviewPrivacyImpact.go | 3 - .../cleanrooms/api_op_StartProtectedQuery.go | 3 - service/cleanrooms/api_op_TagResource.go | 3 - service/cleanrooms/api_op_UntagResource.go | 3 - .../api_op_UpdateAnalysisTemplate.go | 3 - .../cleanrooms/api_op_UpdateCollaboration.go | 3 - ...pdateConfiguredAudienceModelAssociation.go | 3 - .../api_op_UpdateConfiguredTable.go | 3 - ...pi_op_UpdateConfiguredTableAnalysisRule.go | 3 - ...api_op_UpdateConfiguredTableAssociation.go | 3 - ...eConfiguredTableAssociationAnalysisRule.go | 3 - .../cleanrooms/api_op_UpdateIdMappingTable.go | 3 - .../api_op_UpdateIdNamespaceAssociation.go | 3 - service/cleanrooms/api_op_UpdateMembership.go | 3 - .../api_op_UpdatePrivacyBudgetTemplate.go | 3 - .../cleanrooms/api_op_UpdateProtectedQuery.go | 3 - ...chGetCollaborationAnalysisTemplate.go.snap | 1 - .../snapshot/api_op_BatchGetSchema.go.snap | 1 - .../api_op_BatchGetSchemaAnalysisRule.go.snap | 1 - .../api_op_CreateAnalysisTemplate.go.snap | 1 - .../api_op_CreateCollaboration.go.snap | 1 - ...ConfiguredAudienceModelAssociation.go.snap | 1 - .../api_op_CreateConfiguredTable.go.snap | 1 - ..._CreateConfiguredTableAnalysisRule.go.snap | 1 - ...p_CreateConfiguredTableAssociation.go.snap | 1 - ...iguredTableAssociationAnalysisRule.go.snap | 1 - .../api_op_CreateIdMappingTable.go.snap | 1 - ...pi_op_CreateIdNamespaceAssociation.go.snap | 1 - .../snapshot/api_op_CreateMembership.go.snap | 1 - ...api_op_CreatePrivacyBudgetTemplate.go.snap | 1 - .../api_op_DeleteAnalysisTemplate.go.snap | 1 - .../api_op_DeleteCollaboration.go.snap | 1 - ...ConfiguredAudienceModelAssociation.go.snap | 1 - .../api_op_DeleteConfiguredTable.go.snap | 1 - ..._DeleteConfiguredTableAnalysisRule.go.snap | 1 - ...p_DeleteConfiguredTableAssociation.go.snap | 1 - ...iguredTableAssociationAnalysisRule.go.snap | 1 - .../api_op_DeleteIdMappingTable.go.snap | 1 - ...pi_op_DeleteIdNamespaceAssociation.go.snap | 1 - .../snapshot/api_op_DeleteMember.go.snap | 1 - .../snapshot/api_op_DeleteMembership.go.snap | 1 - ...api_op_DeletePrivacyBudgetTemplate.go.snap | 1 - .../api_op_GetAnalysisTemplate.go.snap | 1 - .../snapshot/api_op_GetCollaboration.go.snap | 1 - ...p_GetCollaborationAnalysisTemplate.go.snap | 1 - ...ConfiguredAudienceModelAssociation.go.snap | 1 - ...ollaborationIdNamespaceAssociation.go.snap | 1 - ...CollaborationPrivacyBudgetTemplate.go.snap | 1 - ...ConfiguredAudienceModelAssociation.go.snap | 1 - .../api_op_GetConfiguredTable.go.snap | 1 - ..._op_GetConfiguredTableAnalysisRule.go.snap | 1 - ...i_op_GetConfiguredTableAssociation.go.snap | 1 - ...iguredTableAssociationAnalysisRule.go.snap | 1 - .../snapshot/api_op_GetIdMappingTable.go.snap | 1 - .../api_op_GetIdNamespaceAssociation.go.snap | 1 - .../snapshot/api_op_GetMembership.go.snap | 1 - .../api_op_GetPrivacyBudgetTemplate.go.snap | 1 - .../snapshot/api_op_GetProtectedQuery.go.snap | 1 - .../snapshot/api_op_GetSchema.go.snap | 1 - .../api_op_GetSchemaAnalysisRule.go.snap | 1 - .../api_op_ListAnalysisTemplates.go.snap | 1 - ...ListCollaborationAnalysisTemplates.go.snap | 1 - ...onfiguredAudienceModelAssociations.go.snap | 1 - ...llaborationIdNamespaceAssociations.go.snap | 1 - ...ollaborationPrivacyBudgetTemplates.go.snap | 1 - ...op_ListCollaborationPrivacyBudgets.go.snap | 1 - .../api_op_ListCollaborations.go.snap | 1 - ...onfiguredAudienceModelAssociations.go.snap | 1 - ...op_ListConfiguredTableAssociations.go.snap | 1 - .../api_op_ListConfiguredTables.go.snap | 1 - .../api_op_ListIdMappingTables.go.snap | 1 - ...api_op_ListIdNamespaceAssociations.go.snap | 1 - .../snapshot/api_op_ListMembers.go.snap | 1 - .../snapshot/api_op_ListMemberships.go.snap | 1 - .../api_op_ListPrivacyBudgetTemplates.go.snap | 1 - .../api_op_ListPrivacyBudgets.go.snap | 1 - .../api_op_ListProtectedQueries.go.snap | 1 - .../snapshot/api_op_ListSchemas.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_PopulateIdMappingTable.go.snap | 1 - .../api_op_PreviewPrivacyImpact.go.snap | 1 - .../api_op_StartProtectedQuery.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateAnalysisTemplate.go.snap | 1 - .../api_op_UpdateCollaboration.go.snap | 1 - ...ConfiguredAudienceModelAssociation.go.snap | 1 - .../api_op_UpdateConfiguredTable.go.snap | 1 - ..._UpdateConfiguredTableAnalysisRule.go.snap | 1 - ...p_UpdateConfiguredTableAssociation.go.snap | 1 - ...iguredTableAssociationAnalysisRule.go.snap | 1 - .../api_op_UpdateIdMappingTable.go.snap | 1 - ...pi_op_UpdateIdNamespaceAssociation.go.snap | 1 - .../snapshot/api_op_UpdateMembership.go.snap | 1 - ...api_op_UpdatePrivacyBudgetTemplate.go.snap | 1 - .../api_op_UpdateProtectedQuery.go.snap | 1 - service/cleanroomsml/api_client.go | 31 -- .../cleanroomsml/api_op_CancelTrainedModel.go | 3 - .../api_op_CancelTrainedModelInferenceJob.go | 3 - .../api_op_CreateAudienceModel.go | 3 - .../api_op_CreateConfiguredAudienceModel.go | 3 - .../api_op_CreateConfiguredModelAlgorithm.go | 3 - ...eateConfiguredModelAlgorithmAssociation.go | 3 - .../api_op_CreateMLInputChannel.go | 3 - .../cleanroomsml/api_op_CreateTrainedModel.go | 3 - .../api_op_CreateTrainingDataset.go | 3 - .../api_op_DeleteAudienceGenerationJob.go | 3 - .../api_op_DeleteAudienceModel.go | 3 - .../api_op_DeleteConfiguredAudienceModel.go | 3 - ..._op_DeleteConfiguredAudienceModelPolicy.go | 3 - .../api_op_DeleteConfiguredModelAlgorithm.go | 3 - ...leteConfiguredModelAlgorithmAssociation.go | 3 - .../api_op_DeleteMLConfiguration.go | 3 - .../api_op_DeleteMLInputChannelData.go | 3 - .../api_op_DeleteTrainedModelOutput.go | 3 - .../api_op_DeleteTrainingDataset.go | 3 - .../api_op_GetAudienceGenerationJob.go | 3 - .../cleanroomsml/api_op_GetAudienceModel.go | 3 - ...tionConfiguredModelAlgorithmAssociation.go | 3 - .../api_op_GetCollaborationMLInputChannel.go | 3 - .../api_op_GetCollaborationTrainedModel.go | 3 - .../api_op_GetConfiguredAudienceModel.go | 3 - ...api_op_GetConfiguredAudienceModelPolicy.go | 3 - .../api_op_GetConfiguredModelAlgorithm.go | 3 - ..._GetConfiguredModelAlgorithmAssociation.go | 3 - .../cleanroomsml/api_op_GetMLConfiguration.go | 3 - .../cleanroomsml/api_op_GetMLInputChannel.go | 3 - .../cleanroomsml/api_op_GetTrainedModel.go | 3 - .../api_op_GetTrainedModelInferenceJob.go | 3 - .../cleanroomsml/api_op_GetTrainingDataset.go | 3 - .../api_op_ListAudienceExportJobs.go | 3 - .../api_op_ListAudienceGenerationJobs.go | 3 - .../cleanroomsml/api_op_ListAudienceModels.go | 3 - ...ionConfiguredModelAlgorithmAssociations.go | 3 - ...api_op_ListCollaborationMLInputChannels.go | 3 - ...ListCollaborationTrainedModelExportJobs.go | 3 - ...tCollaborationTrainedModelInferenceJobs.go | 3 - .../api_op_ListCollaborationTrainedModels.go | 3 - .../api_op_ListConfiguredAudienceModels.go | 3 - ...istConfiguredModelAlgorithmAssociations.go | 3 - .../api_op_ListConfiguredModelAlgorithms.go | 3 - .../api_op_ListMLInputChannels.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_ListTrainedModelInferenceJobs.go | 3 - .../cleanroomsml/api_op_ListTrainedModels.go | 3 - .../api_op_ListTrainingDatasets.go | 3 - ...api_op_PutConfiguredAudienceModelPolicy.go | 3 - .../cleanroomsml/api_op_PutMLConfiguration.go | 3 - .../api_op_StartAudienceExportJob.go | 3 - .../api_op_StartAudienceGenerationJob.go | 3 - .../api_op_StartTrainedModelExportJob.go | 3 - .../api_op_StartTrainedModelInferenceJob.go | 3 - service/cleanroomsml/api_op_TagResource.go | 3 - service/cleanroomsml/api_op_UntagResource.go | 3 - .../api_op_UpdateConfiguredAudienceModel.go | 3 - .../api_op_CancelTrainedModel.go.snap | 1 - ..._op_CancelTrainedModelInferenceJob.go.snap | 1 - .../api_op_CreateAudienceModel.go.snap | 1 - ...i_op_CreateConfiguredAudienceModel.go.snap | 1 - ..._op_CreateConfiguredModelAlgorithm.go.snap | 1 - ...onfiguredModelAlgorithmAssociation.go.snap | 1 - .../api_op_CreateMLInputChannel.go.snap | 1 - .../api_op_CreateTrainedModel.go.snap | 1 - .../api_op_CreateTrainingDataset.go.snap | 1 - ...api_op_DeleteAudienceGenerationJob.go.snap | 1 - .../api_op_DeleteAudienceModel.go.snap | 1 - ...i_op_DeleteConfiguredAudienceModel.go.snap | 1 - ...eleteConfiguredAudienceModelPolicy.go.snap | 1 - ..._op_DeleteConfiguredModelAlgorithm.go.snap | 1 - ...onfiguredModelAlgorithmAssociation.go.snap | 1 - .../api_op_DeleteMLConfiguration.go.snap | 1 - .../api_op_DeleteMLInputChannelData.go.snap | 1 - .../api_op_DeleteTrainedModelOutput.go.snap | 1 - .../api_op_DeleteTrainingDataset.go.snap | 1 - .../api_op_GetAudienceGenerationJob.go.snap | 1 - .../snapshot/api_op_GetAudienceModel.go.snap | 1 - ...onfiguredModelAlgorithmAssociation.go.snap | 1 - ..._op_GetCollaborationMLInputChannel.go.snap | 1 - ...pi_op_GetCollaborationTrainedModel.go.snap | 1 - .../api_op_GetConfiguredAudienceModel.go.snap | 1 - ...p_GetConfiguredAudienceModelPolicy.go.snap | 1 - ...api_op_GetConfiguredModelAlgorithm.go.snap | 1 - ...onfiguredModelAlgorithmAssociation.go.snap | 1 - .../api_op_GetMLConfiguration.go.snap | 1 - .../snapshot/api_op_GetMLInputChannel.go.snap | 1 - .../snapshot/api_op_GetTrainedModel.go.snap | 1 - ...api_op_GetTrainedModelInferenceJob.go.snap | 1 - .../api_op_GetTrainingDataset.go.snap | 1 - .../api_op_ListAudienceExportJobs.go.snap | 1 - .../api_op_ListAudienceGenerationJobs.go.snap | 1 - .../api_op_ListAudienceModels.go.snap | 1 - ...nfiguredModelAlgorithmAssociations.go.snap | 1 - ...p_ListCollaborationMLInputChannels.go.snap | 1 - ...ollaborationTrainedModelExportJobs.go.snap | 1 - ...aborationTrainedModelInferenceJobs.go.snap | 1 - ..._op_ListCollaborationTrainedModels.go.snap | 1 - ...pi_op_ListConfiguredAudienceModels.go.snap | 1 - ...nfiguredModelAlgorithmAssociations.go.snap | 1 - ...i_op_ListConfiguredModelAlgorithms.go.snap | 1 - .../api_op_ListMLInputChannels.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - ...i_op_ListTrainedModelInferenceJobs.go.snap | 1 - .../snapshot/api_op_ListTrainedModels.go.snap | 1 - .../api_op_ListTrainingDatasets.go.snap | 1 - ...p_PutConfiguredAudienceModelPolicy.go.snap | 1 - .../api_op_PutMLConfiguration.go.snap | 1 - .../api_op_StartAudienceExportJob.go.snap | 1 - .../api_op_StartAudienceGenerationJob.go.snap | 1 - .../api_op_StartTrainedModelExportJob.go.snap | 1 - ...i_op_StartTrainedModelInferenceJob.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - ...i_op_UpdateConfiguredAudienceModel.go.snap | 1 - service/cloud9/api_client.go | 31 -- service/cloud9/api_op_CreateEnvironmentEC2.go | 3 - .../api_op_CreateEnvironmentMembership.go | 3 - service/cloud9/api_op_DeleteEnvironment.go | 3 - .../api_op_DeleteEnvironmentMembership.go | 3 - .../api_op_DescribeEnvironmentMemberships.go | 3 - .../api_op_DescribeEnvironmentStatus.go | 3 - service/cloud9/api_op_DescribeEnvironments.go | 3 - service/cloud9/api_op_ListEnvironments.go | 3 - service/cloud9/api_op_ListTagsForResource.go | 3 - service/cloud9/api_op_TagResource.go | 3 - service/cloud9/api_op_UntagResource.go | 3 - service/cloud9/api_op_UpdateEnvironment.go | 3 - .../api_op_UpdateEnvironmentMembership.go | 3 - .../api_op_CreateEnvironmentEC2.go.snap | 1 - ...api_op_CreateEnvironmentMembership.go.snap | 1 - .../snapshot/api_op_DeleteEnvironment.go.snap | 1 - ...api_op_DeleteEnvironmentMembership.go.snap | 1 - ..._op_DescribeEnvironmentMemberships.go.snap | 1 - .../api_op_DescribeEnvironmentStatus.go.snap | 1 - .../api_op_DescribeEnvironments.go.snap | 1 - .../snapshot/api_op_ListEnvironments.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateEnvironment.go.snap | 1 - ...api_op_UpdateEnvironmentMembership.go.snap | 1 - service/cloudcontrol/api_client.go | 31 -- .../api_op_CancelResourceRequest.go | 3 - service/cloudcontrol/api_op_CreateResource.go | 3 - service/cloudcontrol/api_op_DeleteResource.go | 3 - service/cloudcontrol/api_op_GetResource.go | 3 - .../api_op_GetResourceRequestStatus.go | 3 - .../api_op_ListResourceRequests.go | 3 - service/cloudcontrol/api_op_ListResources.go | 3 - service/cloudcontrol/api_op_UpdateResource.go | 3 - .../api_op_CancelResourceRequest.go.snap | 1 - .../snapshot/api_op_CreateResource.go.snap | 1 - .../snapshot/api_op_DeleteResource.go.snap | 1 - .../snapshot/api_op_GetResource.go.snap | 1 - .../api_op_GetResourceRequestStatus.go.snap | 1 - .../api_op_ListResourceRequests.go.snap | 1 - .../snapshot/api_op_ListResources.go.snap | 1 - .../snapshot/api_op_UpdateResource.go.snap | 1 - service/clouddirectory/api_client.go | 31 -- .../clouddirectory/api_op_AddFacetToObject.go | 3 - service/clouddirectory/api_op_ApplySchema.go | 3 - service/clouddirectory/api_op_AttachObject.go | 3 - service/clouddirectory/api_op_AttachPolicy.go | 3 - .../clouddirectory/api_op_AttachToIndex.go | 3 - .../clouddirectory/api_op_AttachTypedLink.go | 3 - service/clouddirectory/api_op_BatchRead.go | 3 - service/clouddirectory/api_op_BatchWrite.go | 3 - .../clouddirectory/api_op_CreateDirectory.go | 3 - service/clouddirectory/api_op_CreateFacet.go | 3 - service/clouddirectory/api_op_CreateIndex.go | 3 - service/clouddirectory/api_op_CreateObject.go | 3 - service/clouddirectory/api_op_CreateSchema.go | 3 - .../api_op_CreateTypedLinkFacet.go | 3 - .../clouddirectory/api_op_DeleteDirectory.go | 3 - service/clouddirectory/api_op_DeleteFacet.go | 3 - service/clouddirectory/api_op_DeleteObject.go | 3 - service/clouddirectory/api_op_DeleteSchema.go | 3 - .../api_op_DeleteTypedLinkFacet.go | 3 - .../clouddirectory/api_op_DetachFromIndex.go | 3 - service/clouddirectory/api_op_DetachObject.go | 3 - service/clouddirectory/api_op_DetachPolicy.go | 3 - .../clouddirectory/api_op_DetachTypedLink.go | 3 - .../clouddirectory/api_op_DisableDirectory.go | 3 - .../clouddirectory/api_op_EnableDirectory.go | 3 - .../api_op_GetAppliedSchemaVersion.go | 3 - service/clouddirectory/api_op_GetDirectory.go | 3 - service/clouddirectory/api_op_GetFacet.go | 3 - .../api_op_GetLinkAttributes.go | 3 - .../api_op_GetObjectAttributes.go | 3 - .../api_op_GetObjectInformation.go | 3 - .../clouddirectory/api_op_GetSchemaAsJson.go | 3 - .../api_op_GetTypedLinkFacetInformation.go | 3 - .../api_op_ListAppliedSchemaArns.go | 3 - .../api_op_ListAttachedIndices.go | 3 - .../api_op_ListDevelopmentSchemaArns.go | 3 - .../clouddirectory/api_op_ListDirectories.go | 3 - .../api_op_ListFacetAttributes.go | 3 - .../clouddirectory/api_op_ListFacetNames.go | 3 - .../api_op_ListIncomingTypedLinks.go | 3 - service/clouddirectory/api_op_ListIndex.go | 3 - .../api_op_ListManagedSchemaArns.go | 3 - .../api_op_ListObjectAttributes.go | 3 - .../api_op_ListObjectChildren.go | 3 - .../api_op_ListObjectParentPaths.go | 3 - .../api_op_ListObjectParents.go | 3 - .../api_op_ListObjectPolicies.go | 3 - .../api_op_ListOutgoingTypedLinks.go | 3 - .../api_op_ListPolicyAttachments.go | 3 - .../api_op_ListPublishedSchemaArns.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_ListTypedLinkFacetAttributes.go | 3 - .../api_op_ListTypedLinkFacetNames.go | 3 - service/clouddirectory/api_op_LookupPolicy.go | 3 - .../clouddirectory/api_op_PublishSchema.go | 3 - .../api_op_PutSchemaFromJson.go | 3 - .../api_op_RemoveFacetFromObject.go | 3 - service/clouddirectory/api_op_TagResource.go | 3 - .../clouddirectory/api_op_UntagResource.go | 3 - service/clouddirectory/api_op_UpdateFacet.go | 3 - .../api_op_UpdateLinkAttributes.go | 3 - .../api_op_UpdateObjectAttributes.go | 3 - service/clouddirectory/api_op_UpdateSchema.go | 3 - .../api_op_UpdateTypedLinkFacet.go | 3 - .../api_op_UpgradeAppliedSchema.go | 3 - .../api_op_UpgradePublishedSchema.go | 3 - .../snapshot/api_op_AddFacetToObject.go.snap | 1 - .../snapshot/api_op_ApplySchema.go.snap | 1 - .../snapshot/api_op_AttachObject.go.snap | 1 - .../snapshot/api_op_AttachPolicy.go.snap | 1 - .../snapshot/api_op_AttachToIndex.go.snap | 1 - .../snapshot/api_op_AttachTypedLink.go.snap | 1 - .../snapshot/api_op_BatchRead.go.snap | 1 - .../snapshot/api_op_BatchWrite.go.snap | 1 - .../snapshot/api_op_CreateDirectory.go.snap | 1 - .../snapshot/api_op_CreateFacet.go.snap | 1 - .../snapshot/api_op_CreateIndex.go.snap | 1 - .../snapshot/api_op_CreateObject.go.snap | 1 - .../snapshot/api_op_CreateSchema.go.snap | 1 - .../api_op_CreateTypedLinkFacet.go.snap | 1 - .../snapshot/api_op_DeleteDirectory.go.snap | 1 - .../snapshot/api_op_DeleteFacet.go.snap | 1 - .../snapshot/api_op_DeleteObject.go.snap | 1 - .../snapshot/api_op_DeleteSchema.go.snap | 1 - .../api_op_DeleteTypedLinkFacet.go.snap | 1 - .../snapshot/api_op_DetachFromIndex.go.snap | 1 - .../snapshot/api_op_DetachObject.go.snap | 1 - .../snapshot/api_op_DetachPolicy.go.snap | 1 - .../snapshot/api_op_DetachTypedLink.go.snap | 1 - .../snapshot/api_op_DisableDirectory.go.snap | 1 - .../snapshot/api_op_EnableDirectory.go.snap | 1 - .../api_op_GetAppliedSchemaVersion.go.snap | 1 - .../snapshot/api_op_GetDirectory.go.snap | 1 - .../snapshot/api_op_GetFacet.go.snap | 1 - .../snapshot/api_op_GetLinkAttributes.go.snap | 1 - .../api_op_GetObjectAttributes.go.snap | 1 - .../api_op_GetObjectInformation.go.snap | 1 - .../snapshot/api_op_GetSchemaAsJson.go.snap | 1 - ...pi_op_GetTypedLinkFacetInformation.go.snap | 1 - .../api_op_ListAppliedSchemaArns.go.snap | 1 - .../api_op_ListAttachedIndices.go.snap | 1 - .../api_op_ListDevelopmentSchemaArns.go.snap | 1 - .../snapshot/api_op_ListDirectories.go.snap | 1 - .../api_op_ListFacetAttributes.go.snap | 1 - .../snapshot/api_op_ListFacetNames.go.snap | 1 - .../api_op_ListIncomingTypedLinks.go.snap | 1 - .../snapshot/api_op_ListIndex.go.snap | 1 - .../api_op_ListManagedSchemaArns.go.snap | 1 - .../api_op_ListObjectAttributes.go.snap | 1 - .../api_op_ListObjectChildren.go.snap | 1 - .../api_op_ListObjectParentPaths.go.snap | 1 - .../snapshot/api_op_ListObjectParents.go.snap | 1 - .../api_op_ListObjectPolicies.go.snap | 1 - .../api_op_ListOutgoingTypedLinks.go.snap | 1 - .../api_op_ListPolicyAttachments.go.snap | 1 - .../api_op_ListPublishedSchemaArns.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - ...pi_op_ListTypedLinkFacetAttributes.go.snap | 1 - .../api_op_ListTypedLinkFacetNames.go.snap | 1 - .../snapshot/api_op_LookupPolicy.go.snap | 1 - .../snapshot/api_op_PublishSchema.go.snap | 1 - .../snapshot/api_op_PutSchemaFromJson.go.snap | 1 - .../api_op_RemoveFacetFromObject.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateFacet.go.snap | 1 - .../api_op_UpdateLinkAttributes.go.snap | 1 - .../api_op_UpdateObjectAttributes.go.snap | 1 - .../snapshot/api_op_UpdateSchema.go.snap | 1 - .../api_op_UpdateTypedLinkFacet.go.snap | 1 - .../api_op_UpgradeAppliedSchema.go.snap | 1 - .../api_op_UpgradePublishedSchema.go.snap | 1 - service/cloudformation/api_client.go | 31 -- .../api_op_ActivateOrganizationsAccess.go | 3 - service/cloudformation/api_op_ActivateType.go | 3 - .../api_op_BatchDescribeTypeConfigurations.go | 3 - .../api_op_CancelUpdateStack.go | 3 - .../api_op_ContinueUpdateRollback.go | 3 - .../cloudformation/api_op_CreateChangeSet.go | 3 - .../api_op_CreateGeneratedTemplate.go | 3 - service/cloudformation/api_op_CreateStack.go | 3 - .../api_op_CreateStackInstances.go | 3 - .../api_op_CreateStackRefactor.go | 3 - .../cloudformation/api_op_CreateStackSet.go | 3 - .../api_op_DeactivateOrganizationsAccess.go | 3 - .../cloudformation/api_op_DeactivateType.go | 3 - .../cloudformation/api_op_DeleteChangeSet.go | 3 - .../api_op_DeleteGeneratedTemplate.go | 3 - service/cloudformation/api_op_DeleteStack.go | 3 - .../api_op_DeleteStackInstances.go | 3 - .../cloudformation/api_op_DeleteStackSet.go | 3 - .../cloudformation/api_op_DeregisterType.go | 3 - .../api_op_DescribeAccountLimits.go | 3 - .../api_op_DescribeChangeSet.go | 3 - .../api_op_DescribeChangeSetHooks.go | 3 - .../api_op_DescribeGeneratedTemplate.go | 3 - .../api_op_DescribeOrganizationsAccess.go | 3 - .../api_op_DescribePublisher.go | 3 - .../api_op_DescribeResourceScan.go | 3 - ...pi_op_DescribeStackDriftDetectionStatus.go | 3 - .../api_op_DescribeStackEvents.go | 3 - .../api_op_DescribeStackInstance.go | 3 - .../api_op_DescribeStackRefactor.go | 3 - .../api_op_DescribeStackResource.go | 3 - .../api_op_DescribeStackResourceDrifts.go | 3 - .../api_op_DescribeStackResources.go | 3 - .../cloudformation/api_op_DescribeStackSet.go | 3 - .../api_op_DescribeStackSetOperation.go | 3 - .../cloudformation/api_op_DescribeStacks.go | 3 - service/cloudformation/api_op_DescribeType.go | 3 - .../api_op_DescribeTypeRegistration.go | 3 - .../cloudformation/api_op_DetectStackDrift.go | 3 - .../api_op_DetectStackResourceDrift.go | 3 - .../api_op_DetectStackSetDrift.go | 3 - .../api_op_EstimateTemplateCost.go | 3 - .../cloudformation/api_op_ExecuteChangeSet.go | 3 - .../api_op_ExecuteStackRefactor.go | 3 - .../api_op_GetGeneratedTemplate.go | 3 - .../cloudformation/api_op_GetStackPolicy.go | 3 - service/cloudformation/api_op_GetTemplate.go | 3 - .../api_op_GetTemplateSummary.go | 3 - .../api_op_ImportStacksToStackSet.go | 3 - .../cloudformation/api_op_ListChangeSets.go | 3 - service/cloudformation/api_op_ListExports.go | 3 - .../api_op_ListGeneratedTemplates.go | 3 - .../cloudformation/api_op_ListHookResults.go | 3 - service/cloudformation/api_op_ListImports.go | 3 - ...api_op_ListResourceScanRelatedResources.go | 3 - .../api_op_ListResourceScanResources.go | 3 - .../api_op_ListResourceScans.go | 3 - .../api_op_ListStackInstanceResourceDrifts.go | 3 - .../api_op_ListStackInstances.go | 3 - .../api_op_ListStackRefactorActions.go | 3 - .../api_op_ListStackRefactors.go | 3 - .../api_op_ListStackResources.go | 3 - ...pi_op_ListStackSetAutoDeploymentTargets.go | 3 - .../api_op_ListStackSetOperationResults.go | 3 - .../api_op_ListStackSetOperations.go | 3 - .../cloudformation/api_op_ListStackSets.go | 3 - service/cloudformation/api_op_ListStacks.go | 3 - .../api_op_ListTypeRegistrations.go | 3 - .../cloudformation/api_op_ListTypeVersions.go | 3 - service/cloudformation/api_op_ListTypes.go | 3 - service/cloudformation/api_op_PublishType.go | 3 - .../api_op_RecordHandlerProgress.go | 3 - .../api_op_RegisterPublisher.go | 3 - service/cloudformation/api_op_RegisterType.go | 3 - .../cloudformation/api_op_RollbackStack.go | 3 - .../cloudformation/api_op_SetStackPolicy.go | 3 - .../api_op_SetTypeConfiguration.go | 3 - .../api_op_SetTypeDefaultVersion.go | 3 - .../cloudformation/api_op_SignalResource.go | 3 - .../api_op_StartResourceScan.go | 3 - .../api_op_StopStackSetOperation.go | 3 - service/cloudformation/api_op_TestType.go | 3 - .../api_op_UpdateGeneratedTemplate.go | 3 - service/cloudformation/api_op_UpdateStack.go | 3 - .../api_op_UpdateStackInstances.go | 3 - .../cloudformation/api_op_UpdateStackSet.go | 3 - .../api_op_UpdateTerminationProtection.go | 3 - .../cloudformation/api_op_ValidateTemplate.go | 3 - ...api_op_ActivateOrganizationsAccess.go.snap | 1 - .../snapshot/api_op_ActivateType.go.snap | 1 - ...op_BatchDescribeTypeConfigurations.go.snap | 1 - .../snapshot/api_op_CancelUpdateStack.go.snap | 1 - .../api_op_ContinueUpdateRollback.go.snap | 1 - .../snapshot/api_op_CreateChangeSet.go.snap | 1 - .../api_op_CreateGeneratedTemplate.go.snap | 1 - .../snapshot/api_op_CreateStack.go.snap | 1 - .../api_op_CreateStackInstances.go.snap | 1 - .../api_op_CreateStackRefactor.go.snap | 1 - .../snapshot/api_op_CreateStackSet.go.snap | 1 - ...i_op_DeactivateOrganizationsAccess.go.snap | 1 - .../snapshot/api_op_DeactivateType.go.snap | 1 - .../snapshot/api_op_DeleteChangeSet.go.snap | 1 - .../api_op_DeleteGeneratedTemplate.go.snap | 1 - .../snapshot/api_op_DeleteStack.go.snap | 1 - .../api_op_DeleteStackInstances.go.snap | 1 - .../snapshot/api_op_DeleteStackSet.go.snap | 1 - .../snapshot/api_op_DeregisterType.go.snap | 1 - .../api_op_DescribeAccountLimits.go.snap | 1 - .../snapshot/api_op_DescribeChangeSet.go.snap | 1 - .../api_op_DescribeChangeSetHooks.go.snap | 1 - .../api_op_DescribeGeneratedTemplate.go.snap | 1 - ...api_op_DescribeOrganizationsAccess.go.snap | 1 - .../snapshot/api_op_DescribePublisher.go.snap | 1 - .../api_op_DescribeResourceScan.go.snap | 1 - ..._DescribeStackDriftDetectionStatus.go.snap | 1 - .../api_op_DescribeStackEvents.go.snap | 1 - .../api_op_DescribeStackInstance.go.snap | 1 - .../api_op_DescribeStackRefactor.go.snap | 1 - .../api_op_DescribeStackResource.go.snap | 1 - ...api_op_DescribeStackResourceDrifts.go.snap | 1 - .../api_op_DescribeStackResources.go.snap | 1 - .../snapshot/api_op_DescribeStackSet.go.snap | 1 - .../api_op_DescribeStackSetOperation.go.snap | 1 - .../snapshot/api_op_DescribeStacks.go.snap | 1 - .../snapshot/api_op_DescribeType.go.snap | 1 - .../api_op_DescribeTypeRegistration.go.snap | 1 - .../snapshot/api_op_DetectStackDrift.go.snap | 1 - .../api_op_DetectStackResourceDrift.go.snap | 1 - .../api_op_DetectStackSetDrift.go.snap | 1 - .../api_op_EstimateTemplateCost.go.snap | 1 - .../snapshot/api_op_ExecuteChangeSet.go.snap | 1 - .../api_op_ExecuteStackRefactor.go.snap | 1 - .../api_op_GetGeneratedTemplate.go.snap | 1 - .../snapshot/api_op_GetStackPolicy.go.snap | 1 - .../snapshot/api_op_GetTemplate.go.snap | 1 - .../api_op_GetTemplateSummary.go.snap | 1 - .../api_op_ImportStacksToStackSet.go.snap | 1 - .../snapshot/api_op_ListChangeSets.go.snap | 1 - .../snapshot/api_op_ListExports.go.snap | 1 - .../api_op_ListGeneratedTemplates.go.snap | 1 - .../snapshot/api_op_ListHookResults.go.snap | 1 - .../snapshot/api_op_ListImports.go.snap | 1 - ...p_ListResourceScanRelatedResources.go.snap | 1 - .../api_op_ListResourceScanResources.go.snap | 1 - .../snapshot/api_op_ListResourceScans.go.snap | 1 - ...op_ListStackInstanceResourceDrifts.go.snap | 1 - .../api_op_ListStackInstances.go.snap | 1 - .../api_op_ListStackRefactorActions.go.snap | 1 - .../api_op_ListStackRefactors.go.snap | 1 - .../api_op_ListStackResources.go.snap | 1 - ..._ListStackSetAutoDeploymentTargets.go.snap | 1 - ...pi_op_ListStackSetOperationResults.go.snap | 1 - .../api_op_ListStackSetOperations.go.snap | 1 - .../snapshot/api_op_ListStackSets.go.snap | 1 - .../snapshot/api_op_ListStacks.go.snap | 1 - .../api_op_ListTypeRegistrations.go.snap | 1 - .../snapshot/api_op_ListTypeVersions.go.snap | 1 - .../snapshot/api_op_ListTypes.go.snap | 1 - .../snapshot/api_op_PublishType.go.snap | 1 - .../api_op_RecordHandlerProgress.go.snap | 1 - .../snapshot/api_op_RegisterPublisher.go.snap | 1 - .../snapshot/api_op_RegisterType.go.snap | 1 - .../snapshot/api_op_RollbackStack.go.snap | 1 - .../snapshot/api_op_SetStackPolicy.go.snap | 1 - .../api_op_SetTypeConfiguration.go.snap | 1 - .../api_op_SetTypeDefaultVersion.go.snap | 1 - .../snapshot/api_op_SignalResource.go.snap | 1 - .../snapshot/api_op_StartResourceScan.go.snap | 1 - .../api_op_StopStackSetOperation.go.snap | 1 - .../snapshot/api_op_TestType.go.snap | 1 - .../api_op_UpdateGeneratedTemplate.go.snap | 1 - .../snapshot/api_op_UpdateStack.go.snap | 1 - .../api_op_UpdateStackInstances.go.snap | 1 - .../snapshot/api_op_UpdateStackSet.go.snap | 1 - ...api_op_UpdateTerminationProtection.go.snap | 1 - .../snapshot/api_op_ValidateTemplate.go.snap | 1 - service/cloudfront/api_client.go | 31 -- service/cloudfront/api_op_AssociateAlias.go | 3 - service/cloudfront/api_op_CopyDistribution.go | 3 - .../cloudfront/api_op_CreateAnycastIpList.go | 3 - .../cloudfront/api_op_CreateCachePolicy.go | 3 - ...op_CreateCloudFrontOriginAccessIdentity.go | 3 - ...api_op_CreateContinuousDeploymentPolicy.go | 3 - .../cloudfront/api_op_CreateDistribution.go | 3 - .../api_op_CreateDistributionWithTags.go | 3 - ...api_op_CreateFieldLevelEncryptionConfig.go | 3 - ...pi_op_CreateFieldLevelEncryptionProfile.go | 3 - service/cloudfront/api_op_CreateFunction.go | 3 - .../cloudfront/api_op_CreateInvalidation.go | 3 - service/cloudfront/api_op_CreateKeyGroup.go | 3 - .../cloudfront/api_op_CreateKeyValueStore.go | 3 - .../api_op_CreateMonitoringSubscription.go | 3 - .../api_op_CreateOriginAccessControl.go | 3 - .../api_op_CreateOriginRequestPolicy.go | 3 - service/cloudfront/api_op_CreatePublicKey.go | 3 - .../api_op_CreateRealtimeLogConfig.go | 3 - .../api_op_CreateResponseHeadersPolicy.go | 3 - .../api_op_CreateStreamingDistribution.go | 3 - ..._op_CreateStreamingDistributionWithTags.go | 3 - service/cloudfront/api_op_CreateVpcOrigin.go | 3 - .../cloudfront/api_op_DeleteAnycastIpList.go | 3 - .../cloudfront/api_op_DeleteCachePolicy.go | 3 - ...op_DeleteCloudFrontOriginAccessIdentity.go | 3 - ...api_op_DeleteContinuousDeploymentPolicy.go | 3 - .../cloudfront/api_op_DeleteDistribution.go | 3 - ...api_op_DeleteFieldLevelEncryptionConfig.go | 3 - ...pi_op_DeleteFieldLevelEncryptionProfile.go | 3 - service/cloudfront/api_op_DeleteFunction.go | 3 - service/cloudfront/api_op_DeleteKeyGroup.go | 3 - .../cloudfront/api_op_DeleteKeyValueStore.go | 3 - .../api_op_DeleteMonitoringSubscription.go | 3 - .../api_op_DeleteOriginAccessControl.go | 3 - .../api_op_DeleteOriginRequestPolicy.go | 3 - service/cloudfront/api_op_DeletePublicKey.go | 3 - .../api_op_DeleteRealtimeLogConfig.go | 3 - .../api_op_DeleteResponseHeadersPolicy.go | 3 - .../api_op_DeleteStreamingDistribution.go | 3 - service/cloudfront/api_op_DeleteVpcOrigin.go | 3 - service/cloudfront/api_op_DescribeFunction.go | 3 - .../api_op_DescribeKeyValueStore.go | 3 - service/cloudfront/api_op_GetAnycastIpList.go | 3 - service/cloudfront/api_op_GetCachePolicy.go | 3 - .../cloudfront/api_op_GetCachePolicyConfig.go | 3 - ...pi_op_GetCloudFrontOriginAccessIdentity.go | 3 - ...GetCloudFrontOriginAccessIdentityConfig.go | 3 - .../api_op_GetContinuousDeploymentPolicy.go | 3 - ..._op_GetContinuousDeploymentPolicyConfig.go | 3 - service/cloudfront/api_op_GetDistribution.go | 3 - .../api_op_GetDistributionConfig.go | 3 - .../api_op_GetFieldLevelEncryption.go | 3 - .../api_op_GetFieldLevelEncryptionConfig.go | 3 - .../api_op_GetFieldLevelEncryptionProfile.go | 3 - ...op_GetFieldLevelEncryptionProfileConfig.go | 3 - service/cloudfront/api_op_GetFunction.go | 3 - service/cloudfront/api_op_GetInvalidation.go | 3 - service/cloudfront/api_op_GetKeyGroup.go | 3 - .../cloudfront/api_op_GetKeyGroupConfig.go | 3 - .../api_op_GetMonitoringSubscription.go | 3 - .../api_op_GetOriginAccessControl.go | 3 - .../api_op_GetOriginAccessControlConfig.go | 3 - .../api_op_GetOriginRequestPolicy.go | 3 - .../api_op_GetOriginRequestPolicyConfig.go | 3 - service/cloudfront/api_op_GetPublicKey.go | 3 - .../cloudfront/api_op_GetPublicKeyConfig.go | 3 - .../cloudfront/api_op_GetRealtimeLogConfig.go | 3 - .../api_op_GetResponseHeadersPolicy.go | 3 - .../api_op_GetResponseHeadersPolicyConfig.go | 3 - .../api_op_GetStreamingDistribution.go | 3 - .../api_op_GetStreamingDistributionConfig.go | 3 - service/cloudfront/api_op_GetVpcOrigin.go | 3 - .../cloudfront/api_op_ListAnycastIpLists.go | 3 - .../cloudfront/api_op_ListCachePolicies.go | 3 - ...op_ListCloudFrontOriginAccessIdentities.go | 3 - .../api_op_ListConflictingAliases.go | 3 - ...api_op_ListContinuousDeploymentPolicies.go | 3 - .../cloudfront/api_op_ListDistributions.go | 3 - ...i_op_ListDistributionsByAnycastIpListId.go | 3 - ...api_op_ListDistributionsByCachePolicyId.go | 3 - .../api_op_ListDistributionsByKeyGroup.go | 3 - ...istDistributionsByOriginRequestPolicyId.go | 3 - ...op_ListDistributionsByRealtimeLogConfig.go | 3 - ...tDistributionsByResponseHeadersPolicyId.go | 3 - .../api_op_ListDistributionsByVpcOriginId.go | 3 - .../api_op_ListDistributionsByWebACLId.go | 3 - .../api_op_ListFieldLevelEncryptionConfigs.go | 3 - ...api_op_ListFieldLevelEncryptionProfiles.go | 3 - service/cloudfront/api_op_ListFunctions.go | 3 - .../cloudfront/api_op_ListInvalidations.go | 3 - service/cloudfront/api_op_ListKeyGroups.go | 3 - .../cloudfront/api_op_ListKeyValueStores.go | 3 - .../api_op_ListOriginAccessControls.go | 3 - .../api_op_ListOriginRequestPolicies.go | 3 - service/cloudfront/api_op_ListPublicKeys.go | 3 - .../api_op_ListRealtimeLogConfigs.go | 3 - .../api_op_ListResponseHeadersPolicies.go | 3 - .../api_op_ListStreamingDistributions.go | 3 - .../cloudfront/api_op_ListTagsForResource.go | 3 - service/cloudfront/api_op_ListVpcOrigins.go | 3 - service/cloudfront/api_op_PublishFunction.go | 3 - service/cloudfront/api_op_TagResource.go | 3 - service/cloudfront/api_op_TestFunction.go | 3 - service/cloudfront/api_op_UntagResource.go | 3 - .../cloudfront/api_op_UpdateCachePolicy.go | 3 - ...op_UpdateCloudFrontOriginAccessIdentity.go | 3 - ...api_op_UpdateContinuousDeploymentPolicy.go | 3 - .../cloudfront/api_op_UpdateDistribution.go | 3 - ..._op_UpdateDistributionWithStagingConfig.go | 3 - ...api_op_UpdateFieldLevelEncryptionConfig.go | 3 - ...pi_op_UpdateFieldLevelEncryptionProfile.go | 3 - service/cloudfront/api_op_UpdateFunction.go | 3 - service/cloudfront/api_op_UpdateKeyGroup.go | 3 - .../cloudfront/api_op_UpdateKeyValueStore.go | 3 - .../api_op_UpdateOriginAccessControl.go | 3 - .../api_op_UpdateOriginRequestPolicy.go | 3 - service/cloudfront/api_op_UpdatePublicKey.go | 3 - .../api_op_UpdateRealtimeLogConfig.go | 3 - .../api_op_UpdateResponseHeadersPolicy.go | 3 - .../api_op_UpdateStreamingDistribution.go | 3 - service/cloudfront/api_op_UpdateVpcOrigin.go | 3 - .../snapshot/api_op_AssociateAlias.go.snap | 1 - .../snapshot/api_op_CopyDistribution.go.snap | 1 - .../api_op_CreateAnycastIpList.go.snap | 1 - .../snapshot/api_op_CreateCachePolicy.go.snap | 1 - ...eateCloudFrontOriginAccessIdentity.go.snap | 1 - ...p_CreateContinuousDeploymentPolicy.go.snap | 1 - .../api_op_CreateDistribution.go.snap | 1 - .../api_op_CreateDistributionWithTags.go.snap | 1 - ...p_CreateFieldLevelEncryptionConfig.go.snap | 1 - ..._CreateFieldLevelEncryptionProfile.go.snap | 1 - .../snapshot/api_op_CreateFunction.go.snap | 1 - .../api_op_CreateInvalidation.go.snap | 1 - .../snapshot/api_op_CreateKeyGroup.go.snap | 1 - .../api_op_CreateKeyValueStore.go.snap | 1 - ...pi_op_CreateMonitoringSubscription.go.snap | 1 - .../api_op_CreateOriginAccessControl.go.snap | 1 - .../api_op_CreateOriginRequestPolicy.go.snap | 1 - .../snapshot/api_op_CreatePublicKey.go.snap | 1 - .../api_op_CreateRealtimeLogConfig.go.snap | 1 - ...api_op_CreateResponseHeadersPolicy.go.snap | 1 - ...api_op_CreateStreamingDistribution.go.snap | 1 - ...reateStreamingDistributionWithTags.go.snap | 1 - .../snapshot/api_op_CreateVpcOrigin.go.snap | 1 - .../api_op_DeleteAnycastIpList.go.snap | 1 - .../snapshot/api_op_DeleteCachePolicy.go.snap | 1 - ...leteCloudFrontOriginAccessIdentity.go.snap | 1 - ...p_DeleteContinuousDeploymentPolicy.go.snap | 1 - .../api_op_DeleteDistribution.go.snap | 1 - ...p_DeleteFieldLevelEncryptionConfig.go.snap | 1 - ..._DeleteFieldLevelEncryptionProfile.go.snap | 1 - .../snapshot/api_op_DeleteFunction.go.snap | 1 - .../snapshot/api_op_DeleteKeyGroup.go.snap | 1 - .../api_op_DeleteKeyValueStore.go.snap | 1 - ...pi_op_DeleteMonitoringSubscription.go.snap | 1 - .../api_op_DeleteOriginAccessControl.go.snap | 1 - .../api_op_DeleteOriginRequestPolicy.go.snap | 1 - .../snapshot/api_op_DeletePublicKey.go.snap | 1 - .../api_op_DeleteRealtimeLogConfig.go.snap | 1 - ...api_op_DeleteResponseHeadersPolicy.go.snap | 1 - ...api_op_DeleteStreamingDistribution.go.snap | 1 - .../snapshot/api_op_DeleteVpcOrigin.go.snap | 1 - .../snapshot/api_op_DescribeFunction.go.snap | 1 - .../api_op_DescribeKeyValueStore.go.snap | 1 - .../snapshot/api_op_GetAnycastIpList.go.snap | 1 - .../snapshot/api_op_GetCachePolicy.go.snap | 1 - .../api_op_GetCachePolicyConfig.go.snap | 1 - ..._GetCloudFrontOriginAccessIdentity.go.snap | 1 - ...oudFrontOriginAccessIdentityConfig.go.snap | 1 - ...i_op_GetContinuousDeploymentPolicy.go.snap | 1 - ...etContinuousDeploymentPolicyConfig.go.snap | 1 - .../snapshot/api_op_GetDistribution.go.snap | 1 - .../api_op_GetDistributionConfig.go.snap | 1 - .../api_op_GetFieldLevelEncryption.go.snap | 1 - ...i_op_GetFieldLevelEncryptionConfig.go.snap | 1 - ..._op_GetFieldLevelEncryptionProfile.go.snap | 1 - ...tFieldLevelEncryptionProfileConfig.go.snap | 1 - .../snapshot/api_op_GetFunction.go.snap | 1 - .../snapshot/api_op_GetInvalidation.go.snap | 1 - .../snapshot/api_op_GetKeyGroup.go.snap | 1 - .../snapshot/api_op_GetKeyGroupConfig.go.snap | 1 - .../api_op_GetMonitoringSubscription.go.snap | 1 - .../api_op_GetOriginAccessControl.go.snap | 1 - ...pi_op_GetOriginAccessControlConfig.go.snap | 1 - .../api_op_GetOriginRequestPolicy.go.snap | 1 - ...pi_op_GetOriginRequestPolicyConfig.go.snap | 1 - .../snapshot/api_op_GetPublicKey.go.snap | 1 - .../api_op_GetPublicKeyConfig.go.snap | 1 - .../api_op_GetRealtimeLogConfig.go.snap | 1 - .../api_op_GetResponseHeadersPolicy.go.snap | 1 - ..._op_GetResponseHeadersPolicyConfig.go.snap | 1 - .../api_op_GetStreamingDistribution.go.snap | 1 - ..._op_GetStreamingDistributionConfig.go.snap | 1 - .../snapshot/api_op_GetVpcOrigin.go.snap | 1 - .../api_op_ListAnycastIpLists.go.snap | 1 - .../snapshot/api_op_ListCachePolicies.go.snap | 1 - ...stCloudFrontOriginAccessIdentities.go.snap | 1 - .../api_op_ListConflictingAliases.go.snap | 1 - ...p_ListContinuousDeploymentPolicies.go.snap | 1 - .../snapshot/api_op_ListDistributions.go.snap | 1 - ...ListDistributionsByAnycastIpListId.go.snap | 1 - ...p_ListDistributionsByCachePolicyId.go.snap | 1 - ...api_op_ListDistributionsByKeyGroup.go.snap | 1 - ...stributionsByOriginRequestPolicyId.go.snap | 1 - ...stDistributionsByRealtimeLogConfig.go.snap | 1 - ...ributionsByResponseHeadersPolicyId.go.snap | 1 - ..._op_ListDistributionsByVpcOriginId.go.snap | 1 - ...api_op_ListDistributionsByWebACLId.go.snap | 1 - ...op_ListFieldLevelEncryptionConfigs.go.snap | 1 - ...p_ListFieldLevelEncryptionProfiles.go.snap | 1 - .../snapshot/api_op_ListFunctions.go.snap | 1 - .../snapshot/api_op_ListInvalidations.go.snap | 1 - .../snapshot/api_op_ListKeyGroups.go.snap | 1 - .../api_op_ListKeyValueStores.go.snap | 1 - .../api_op_ListOriginAccessControls.go.snap | 1 - .../api_op_ListOriginRequestPolicies.go.snap | 1 - .../snapshot/api_op_ListPublicKeys.go.snap | 1 - .../api_op_ListRealtimeLogConfigs.go.snap | 1 - ...api_op_ListResponseHeadersPolicies.go.snap | 1 - .../api_op_ListStreamingDistributions.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListVpcOrigins.go.snap | 1 - .../snapshot/api_op_PublishFunction.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_TestFunction.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateCachePolicy.go.snap | 1 - ...dateCloudFrontOriginAccessIdentity.go.snap | 1 - ...p_UpdateContinuousDeploymentPolicy.go.snap | 1 - .../api_op_UpdateDistribution.go.snap | 1 - ...pdateDistributionWithStagingConfig.go.snap | 1 - ...p_UpdateFieldLevelEncryptionConfig.go.snap | 1 - ..._UpdateFieldLevelEncryptionProfile.go.snap | 1 - .../snapshot/api_op_UpdateFunction.go.snap | 1 - .../snapshot/api_op_UpdateKeyGroup.go.snap | 1 - .../api_op_UpdateKeyValueStore.go.snap | 1 - .../api_op_UpdateOriginAccessControl.go.snap | 1 - .../api_op_UpdateOriginRequestPolicy.go.snap | 1 - .../snapshot/api_op_UpdatePublicKey.go.snap | 1 - .../api_op_UpdateRealtimeLogConfig.go.snap | 1 - ...api_op_UpdateResponseHeadersPolicy.go.snap | 1 - ...api_op_UpdateStreamingDistribution.go.snap | 1 - .../snapshot/api_op_UpdateVpcOrigin.go.snap | 1 - service/cloudfrontkeyvaluestore/api_client.go | 31 -- .../api_op_DeleteKey.go | 3 - .../api_op_DescribeKeyValueStore.go | 3 - .../cloudfrontkeyvaluestore/api_op_GetKey.go | 3 - .../api_op_ListKeys.go | 3 - .../cloudfrontkeyvaluestore/api_op_PutKey.go | 3 - .../api_op_UpdateKeys.go | 3 - .../snapshot/api_op_DeleteKey.go.snap | 1 - .../api_op_DescribeKeyValueStore.go.snap | 1 - .../snapshot/api_op_GetKey.go.snap | 1 - .../snapshot/api_op_ListKeys.go.snap | 1 - .../snapshot/api_op_PutKey.go.snap | 1 - .../snapshot/api_op_UpdateKeys.go.snap | 1 - service/cloudhsm/api_client.go | 31 -- service/cloudhsm/api_op_AddTagsToResource.go | 3 - service/cloudhsm/api_op_CreateHapg.go | 3 - service/cloudhsm/api_op_CreateHsm.go | 3 - service/cloudhsm/api_op_CreateLunaClient.go | 3 - service/cloudhsm/api_op_DeleteHapg.go | 3 - service/cloudhsm/api_op_DeleteHsm.go | 3 - service/cloudhsm/api_op_DeleteLunaClient.go | 3 - service/cloudhsm/api_op_DescribeHapg.go | 3 - service/cloudhsm/api_op_DescribeHsm.go | 3 - service/cloudhsm/api_op_DescribeLunaClient.go | 3 - service/cloudhsm/api_op_GetConfig.go | 3 - service/cloudhsm/api_op_ListAvailableZones.go | 3 - service/cloudhsm/api_op_ListHapgs.go | 3 - service/cloudhsm/api_op_ListHsms.go | 3 - service/cloudhsm/api_op_ListLunaClients.go | 3 - .../cloudhsm/api_op_ListTagsForResource.go | 3 - service/cloudhsm/api_op_ModifyHapg.go | 3 - service/cloudhsm/api_op_ModifyHsm.go | 3 - service/cloudhsm/api_op_ModifyLunaClient.go | 3 - .../cloudhsm/api_op_RemoveTagsFromResource.go | 3 - .../snapshot/api_op_AddTagsToResource.go.snap | 1 - .../snapshot/api_op_CreateHapg.go.snap | 1 - .../snapshot/api_op_CreateHsm.go.snap | 1 - .../snapshot/api_op_CreateLunaClient.go.snap | 1 - .../snapshot/api_op_DeleteHapg.go.snap | 1 - .../snapshot/api_op_DeleteHsm.go.snap | 1 - .../snapshot/api_op_DeleteLunaClient.go.snap | 1 - .../snapshot/api_op_DescribeHapg.go.snap | 1 - .../snapshot/api_op_DescribeHsm.go.snap | 1 - .../api_op_DescribeLunaClient.go.snap | 1 - .../snapshot/api_op_GetConfig.go.snap | 1 - .../api_op_ListAvailableZones.go.snap | 1 - .../snapshot/api_op_ListHapgs.go.snap | 1 - .../cloudhsm/snapshot/api_op_ListHsms.go.snap | 1 - .../snapshot/api_op_ListLunaClients.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ModifyHapg.go.snap | 1 - .../snapshot/api_op_ModifyHsm.go.snap | 1 - .../snapshot/api_op_ModifyLunaClient.go.snap | 1 - .../api_op_RemoveTagsFromResource.go.snap | 1 - service/cloudhsmv2/api_client.go | 31 -- .../cloudhsmv2/api_op_CopyBackupToRegion.go | 3 - service/cloudhsmv2/api_op_CreateCluster.go | 3 - service/cloudhsmv2/api_op_CreateHsm.go | 3 - service/cloudhsmv2/api_op_DeleteBackup.go | 3 - service/cloudhsmv2/api_op_DeleteCluster.go | 3 - service/cloudhsmv2/api_op_DeleteHsm.go | 3 - .../cloudhsmv2/api_op_DeleteResourcePolicy.go | 3 - service/cloudhsmv2/api_op_DescribeBackups.go | 3 - service/cloudhsmv2/api_op_DescribeClusters.go | 3 - .../cloudhsmv2/api_op_GetResourcePolicy.go | 3 - .../cloudhsmv2/api_op_InitializeCluster.go | 3 - service/cloudhsmv2/api_op_ListTags.go | 3 - .../api_op_ModifyBackupAttributes.go | 3 - service/cloudhsmv2/api_op_ModifyCluster.go | 3 - .../cloudhsmv2/api_op_PutResourcePolicy.go | 3 - service/cloudhsmv2/api_op_RestoreBackup.go | 3 - service/cloudhsmv2/api_op_TagResource.go | 3 - service/cloudhsmv2/api_op_UntagResource.go | 3 - .../api_op_CopyBackupToRegion.go.snap | 1 - .../snapshot/api_op_CreateCluster.go.snap | 1 - .../snapshot/api_op_CreateHsm.go.snap | 1 - .../snapshot/api_op_DeleteBackup.go.snap | 1 - .../snapshot/api_op_DeleteCluster.go.snap | 1 - .../snapshot/api_op_DeleteHsm.go.snap | 1 - .../api_op_DeleteResourcePolicy.go.snap | 1 - .../snapshot/api_op_DescribeBackups.go.snap | 1 - .../snapshot/api_op_DescribeClusters.go.snap | 1 - .../snapshot/api_op_GetResourcePolicy.go.snap | 1 - .../snapshot/api_op_InitializeCluster.go.snap | 1 - .../snapshot/api_op_ListTags.go.snap | 1 - .../api_op_ModifyBackupAttributes.go.snap | 1 - .../snapshot/api_op_ModifyCluster.go.snap | 1 - .../snapshot/api_op_PutResourcePolicy.go.snap | 1 - .../snapshot/api_op_RestoreBackup.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - service/cloudsearch/api_client.go | 31 -- service/cloudsearch/api_op_BuildSuggesters.go | 3 - service/cloudsearch/api_op_CreateDomain.go | 3 - .../api_op_DefineAnalysisScheme.go | 3 - .../cloudsearch/api_op_DefineExpression.go | 3 - .../cloudsearch/api_op_DefineIndexField.go | 3 - service/cloudsearch/api_op_DefineSuggester.go | 3 - .../api_op_DeleteAnalysisScheme.go | 3 - service/cloudsearch/api_op_DeleteDomain.go | 3 - .../cloudsearch/api_op_DeleteExpression.go | 3 - .../cloudsearch/api_op_DeleteIndexField.go | 3 - service/cloudsearch/api_op_DeleteSuggester.go | 3 - .../api_op_DescribeAnalysisSchemes.go | 3 - .../api_op_DescribeAvailabilityOptions.go | 3 - .../api_op_DescribeDomainEndpointOptions.go | 3 - service/cloudsearch/api_op_DescribeDomains.go | 3 - .../cloudsearch/api_op_DescribeExpressions.go | 3 - .../cloudsearch/api_op_DescribeIndexFields.go | 3 - .../api_op_DescribeScalingParameters.go | 3 - .../api_op_DescribeServiceAccessPolicies.go | 3 - .../cloudsearch/api_op_DescribeSuggesters.go | 3 - service/cloudsearch/api_op_IndexDocuments.go | 3 - service/cloudsearch/api_op_ListDomainNames.go | 3 - .../api_op_UpdateAvailabilityOptions.go | 3 - .../api_op_UpdateDomainEndpointOptions.go | 3 - .../api_op_UpdateScalingParameters.go | 3 - .../api_op_UpdateServiceAccessPolicies.go | 3 - .../snapshot/api_op_BuildSuggesters.go.snap | 1 - .../snapshot/api_op_CreateDomain.go.snap | 1 - .../api_op_DefineAnalysisScheme.go.snap | 1 - .../snapshot/api_op_DefineExpression.go.snap | 1 - .../snapshot/api_op_DefineIndexField.go.snap | 1 - .../snapshot/api_op_DefineSuggester.go.snap | 1 - .../api_op_DeleteAnalysisScheme.go.snap | 1 - .../snapshot/api_op_DeleteDomain.go.snap | 1 - .../snapshot/api_op_DeleteExpression.go.snap | 1 - .../snapshot/api_op_DeleteIndexField.go.snap | 1 - .../snapshot/api_op_DeleteSuggester.go.snap | 1 - .../api_op_DescribeAnalysisSchemes.go.snap | 1 - ...api_op_DescribeAvailabilityOptions.go.snap | 1 - ...i_op_DescribeDomainEndpointOptions.go.snap | 1 - .../snapshot/api_op_DescribeDomains.go.snap | 1 - .../api_op_DescribeExpressions.go.snap | 1 - .../api_op_DescribeIndexFields.go.snap | 1 - .../api_op_DescribeScalingParameters.go.snap | 1 - ...i_op_DescribeServiceAccessPolicies.go.snap | 1 - .../api_op_DescribeSuggesters.go.snap | 1 - .../snapshot/api_op_IndexDocuments.go.snap | 1 - .../snapshot/api_op_ListDomainNames.go.snap | 1 - .../api_op_UpdateAvailabilityOptions.go.snap | 1 - ...api_op_UpdateDomainEndpointOptions.go.snap | 1 - .../api_op_UpdateScalingParameters.go.snap | 1 - ...api_op_UpdateServiceAccessPolicies.go.snap | 1 - service/cloudsearchdomain/api_client.go | 31 -- service/cloudsearchdomain/api_op_Search.go | 3 - service/cloudsearchdomain/api_op_Suggest.go | 3 - .../api_op_UploadDocuments.go | 3 - .../snapshot/api_op_Search.go.snap | 1 - .../snapshot/api_op_Suggest.go.snap | 1 - .../snapshot/api_op_UploadDocuments.go.snap | 1 - service/cloudtrail/api_client.go | 31 -- service/cloudtrail/api_op_AddTags.go | 3 - service/cloudtrail/api_op_CancelQuery.go | 3 - service/cloudtrail/api_op_CreateChannel.go | 3 - service/cloudtrail/api_op_CreateDashboard.go | 3 - .../cloudtrail/api_op_CreateEventDataStore.go | 3 - service/cloudtrail/api_op_CreateTrail.go | 3 - service/cloudtrail/api_op_DeleteChannel.go | 3 - service/cloudtrail/api_op_DeleteDashboard.go | 3 - .../cloudtrail/api_op_DeleteEventDataStore.go | 3 - .../cloudtrail/api_op_DeleteResourcePolicy.go | 3 - service/cloudtrail/api_op_DeleteTrail.go | 3 - ...op_DeregisterOrganizationDelegatedAdmin.go | 3 - service/cloudtrail/api_op_DescribeQuery.go | 3 - service/cloudtrail/api_op_DescribeTrails.go | 3 - .../cloudtrail/api_op_DisableFederation.go | 3 - service/cloudtrail/api_op_EnableFederation.go | 3 - service/cloudtrail/api_op_GenerateQuery.go | 3 - service/cloudtrail/api_op_GetChannel.go | 3 - service/cloudtrail/api_op_GetDashboard.go | 3 - .../cloudtrail/api_op_GetEventDataStore.go | 3 - .../cloudtrail/api_op_GetEventSelectors.go | 3 - service/cloudtrail/api_op_GetImport.go | 3 - .../cloudtrail/api_op_GetInsightSelectors.go | 3 - service/cloudtrail/api_op_GetQueryResults.go | 3 - .../cloudtrail/api_op_GetResourcePolicy.go | 3 - service/cloudtrail/api_op_GetTrail.go | 3 - service/cloudtrail/api_op_GetTrailStatus.go | 3 - service/cloudtrail/api_op_ListChannels.go | 3 - service/cloudtrail/api_op_ListDashboards.go | 3 - .../cloudtrail/api_op_ListEventDataStores.go | 3 - .../cloudtrail/api_op_ListImportFailures.go | 3 - service/cloudtrail/api_op_ListImports.go | 3 - .../api_op_ListInsightsMetricData.go | 3 - service/cloudtrail/api_op_ListPublicKeys.go | 3 - service/cloudtrail/api_op_ListQueries.go | 3 - service/cloudtrail/api_op_ListTags.go | 3 - service/cloudtrail/api_op_ListTrails.go | 3 - service/cloudtrail/api_op_LookupEvents.go | 3 - .../cloudtrail/api_op_PutEventSelectors.go | 3 - .../cloudtrail/api_op_PutInsightSelectors.go | 3 - .../cloudtrail/api_op_PutResourcePolicy.go | 3 - ...i_op_RegisterOrganizationDelegatedAdmin.go | 3 - service/cloudtrail/api_op_RemoveTags.go | 3 - .../api_op_RestoreEventDataStore.go | 3 - .../cloudtrail/api_op_SearchSampleQueries.go | 3 - .../api_op_StartDashboardRefresh.go | 3 - .../api_op_StartEventDataStoreIngestion.go | 3 - service/cloudtrail/api_op_StartImport.go | 3 - service/cloudtrail/api_op_StartLogging.go | 3 - service/cloudtrail/api_op_StartQuery.go | 3 - .../api_op_StopEventDataStoreIngestion.go | 3 - service/cloudtrail/api_op_StopImport.go | 3 - service/cloudtrail/api_op_StopLogging.go | 3 - service/cloudtrail/api_op_UpdateChannel.go | 3 - service/cloudtrail/api_op_UpdateDashboard.go | 3 - .../cloudtrail/api_op_UpdateEventDataStore.go | 3 - service/cloudtrail/api_op_UpdateTrail.go | 3 - .../snapshot/api_op_AddTags.go.snap | 1 - .../snapshot/api_op_CancelQuery.go.snap | 1 - .../snapshot/api_op_CreateChannel.go.snap | 1 - .../snapshot/api_op_CreateDashboard.go.snap | 1 - .../api_op_CreateEventDataStore.go.snap | 1 - .../snapshot/api_op_CreateTrail.go.snap | 1 - .../snapshot/api_op_DeleteChannel.go.snap | 1 - .../snapshot/api_op_DeleteDashboard.go.snap | 1 - .../api_op_DeleteEventDataStore.go.snap | 1 - .../api_op_DeleteResourcePolicy.go.snap | 1 - .../snapshot/api_op_DeleteTrail.go.snap | 1 - ...registerOrganizationDelegatedAdmin.go.snap | 1 - .../snapshot/api_op_DescribeQuery.go.snap | 1 - .../snapshot/api_op_DescribeTrails.go.snap | 1 - .../snapshot/api_op_DisableFederation.go.snap | 1 - .../snapshot/api_op_EnableFederation.go.snap | 1 - .../snapshot/api_op_GenerateQuery.go.snap | 1 - .../snapshot/api_op_GetChannel.go.snap | 1 - .../snapshot/api_op_GetDashboard.go.snap | 1 - .../snapshot/api_op_GetEventDataStore.go.snap | 1 - .../snapshot/api_op_GetEventSelectors.go.snap | 1 - .../snapshot/api_op_GetImport.go.snap | 1 - .../api_op_GetInsightSelectors.go.snap | 1 - .../snapshot/api_op_GetQueryResults.go.snap | 1 - .../snapshot/api_op_GetResourcePolicy.go.snap | 1 - .../snapshot/api_op_GetTrail.go.snap | 1 - .../snapshot/api_op_GetTrailStatus.go.snap | 1 - .../snapshot/api_op_ListChannels.go.snap | 1 - .../snapshot/api_op_ListDashboards.go.snap | 1 - .../api_op_ListEventDataStores.go.snap | 1 - .../api_op_ListImportFailures.go.snap | 1 - .../snapshot/api_op_ListImports.go.snap | 1 - .../api_op_ListInsightsMetricData.go.snap | 1 - .../snapshot/api_op_ListPublicKeys.go.snap | 1 - .../snapshot/api_op_ListQueries.go.snap | 1 - .../snapshot/api_op_ListTags.go.snap | 1 - .../snapshot/api_op_ListTrails.go.snap | 1 - .../snapshot/api_op_LookupEvents.go.snap | 1 - .../snapshot/api_op_PutEventSelectors.go.snap | 1 - .../api_op_PutInsightSelectors.go.snap | 1 - .../snapshot/api_op_PutResourcePolicy.go.snap | 1 - ...RegisterOrganizationDelegatedAdmin.go.snap | 1 - .../snapshot/api_op_RemoveTags.go.snap | 1 - .../api_op_RestoreEventDataStore.go.snap | 1 - .../api_op_SearchSampleQueries.go.snap | 1 - .../api_op_StartDashboardRefresh.go.snap | 1 - ...pi_op_StartEventDataStoreIngestion.go.snap | 1 - .../snapshot/api_op_StartImport.go.snap | 1 - .../snapshot/api_op_StartLogging.go.snap | 1 - .../snapshot/api_op_StartQuery.go.snap | 1 - ...api_op_StopEventDataStoreIngestion.go.snap | 1 - .../snapshot/api_op_StopImport.go.snap | 1 - .../snapshot/api_op_StopLogging.go.snap | 1 - .../snapshot/api_op_UpdateChannel.go.snap | 1 - .../snapshot/api_op_UpdateDashboard.go.snap | 1 - .../api_op_UpdateEventDataStore.go.snap | 1 - .../snapshot/api_op_UpdateTrail.go.snap | 1 - service/cloudtraildata/api_client.go | 31 -- .../cloudtraildata/api_op_PutAuditEvents.go | 3 - .../snapshot/api_op_PutAuditEvents.go.snap | 1 - service/cloudwatch/api_client.go | 31 -- service/cloudwatch/api_op_DeleteAlarms.go | 3 - .../api_op_DeleteAnomalyDetector.go | 3 - service/cloudwatch/api_op_DeleteDashboards.go | 3 - .../cloudwatch/api_op_DeleteInsightRules.go | 3 - .../cloudwatch/api_op_DeleteMetricStream.go | 3 - .../cloudwatch/api_op_DescribeAlarmHistory.go | 3 - service/cloudwatch/api_op_DescribeAlarms.go | 3 - .../api_op_DescribeAlarmsForMetric.go | 3 - .../api_op_DescribeAnomalyDetectors.go | 3 - .../cloudwatch/api_op_DescribeInsightRules.go | 3 - .../cloudwatch/api_op_DisableAlarmActions.go | 3 - .../cloudwatch/api_op_DisableInsightRules.go | 3 - .../cloudwatch/api_op_EnableAlarmActions.go | 3 - .../cloudwatch/api_op_EnableInsightRules.go | 3 - service/cloudwatch/api_op_GetDashboard.go | 3 - .../cloudwatch/api_op_GetInsightRuleReport.go | 3 - service/cloudwatch/api_op_GetMetricData.go | 3 - .../cloudwatch/api_op_GetMetricStatistics.go | 3 - service/cloudwatch/api_op_GetMetricStream.go | 3 - .../cloudwatch/api_op_GetMetricWidgetImage.go | 3 - service/cloudwatch/api_op_ListDashboards.go | 3 - .../api_op_ListManagedInsightRules.go | 3 - .../cloudwatch/api_op_ListMetricStreams.go | 3 - service/cloudwatch/api_op_ListMetrics.go | 3 - .../cloudwatch/api_op_ListTagsForResource.go | 3 - .../cloudwatch/api_op_PutAnomalyDetector.go | 3 - .../cloudwatch/api_op_PutCompositeAlarm.go | 3 - service/cloudwatch/api_op_PutDashboard.go | 3 - service/cloudwatch/api_op_PutInsightRule.go | 3 - .../api_op_PutManagedInsightRules.go | 3 - service/cloudwatch/api_op_PutMetricAlarm.go | 3 - service/cloudwatch/api_op_PutMetricData.go | 3 - service/cloudwatch/api_op_PutMetricStream.go | 3 - service/cloudwatch/api_op_SetAlarmState.go | 3 - .../cloudwatch/api_op_StartMetricStreams.go | 3 - .../cloudwatch/api_op_StopMetricStreams.go | 3 - service/cloudwatch/api_op_TagResource.go | 3 - service/cloudwatch/api_op_UntagResource.go | 3 - .../snapshot/api_op_DeleteAlarms.go.snap | 1 - .../api_op_DeleteAnomalyDetector.go.snap | 1 - .../snapshot/api_op_DeleteDashboards.go.snap | 1 - .../api_op_DeleteInsightRules.go.snap | 1 - .../api_op_DeleteMetricStream.go.snap | 1 - .../api_op_DescribeAlarmHistory.go.snap | 1 - .../snapshot/api_op_DescribeAlarms.go.snap | 1 - .../api_op_DescribeAlarmsForMetric.go.snap | 1 - .../api_op_DescribeAnomalyDetectors.go.snap | 1 - .../api_op_DescribeInsightRules.go.snap | 1 - .../api_op_DisableAlarmActions.go.snap | 1 - .../api_op_DisableInsightRules.go.snap | 1 - .../api_op_EnableAlarmActions.go.snap | 1 - .../api_op_EnableInsightRules.go.snap | 1 - .../snapshot/api_op_GetDashboard.go.snap | 1 - .../api_op_GetInsightRuleReport.go.snap | 1 - .../snapshot/api_op_GetMetricData.go.snap | 1 - .../api_op_GetMetricStatistics.go.snap | 1 - .../snapshot/api_op_GetMetricStream.go.snap | 1 - .../api_op_GetMetricWidgetImage.go.snap | 1 - .../snapshot/api_op_ListDashboards.go.snap | 1 - .../api_op_ListManagedInsightRules.go.snap | 1 - .../snapshot/api_op_ListMetricStreams.go.snap | 1 - .../snapshot/api_op_ListMetrics.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_PutAnomalyDetector.go.snap | 1 - .../snapshot/api_op_PutCompositeAlarm.go.snap | 1 - .../snapshot/api_op_PutDashboard.go.snap | 1 - .../snapshot/api_op_PutInsightRule.go.snap | 1 - .../api_op_PutManagedInsightRules.go.snap | 1 - .../snapshot/api_op_PutMetricAlarm.go.snap | 1 - .../snapshot/api_op_PutMetricData.go.snap | 1 - .../snapshot/api_op_PutMetricStream.go.snap | 1 - .../snapshot/api_op_SetAlarmState.go.snap | 1 - .../api_op_StartMetricStreams.go.snap | 1 - .../snapshot/api_op_StopMetricStreams.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - service/cloudwatchevents/api_client.go | 31 -- .../api_op_ActivateEventSource.go | 3 - .../cloudwatchevents/api_op_CancelReplay.go | 3 - .../api_op_CreateApiDestination.go | 3 - .../cloudwatchevents/api_op_CreateArchive.go | 3 - .../api_op_CreateConnection.go | 3 - .../cloudwatchevents/api_op_CreateEventBus.go | 3 - .../api_op_CreatePartnerEventSource.go | 3 - .../api_op_DeactivateEventSource.go | 3 - .../api_op_DeauthorizeConnection.go | 3 - .../api_op_DeleteApiDestination.go | 3 - .../cloudwatchevents/api_op_DeleteArchive.go | 3 - .../api_op_DeleteConnection.go | 3 - .../cloudwatchevents/api_op_DeleteEventBus.go | 3 - .../api_op_DeletePartnerEventSource.go | 3 - service/cloudwatchevents/api_op_DeleteRule.go | 3 - .../api_op_DescribeApiDestination.go | 3 - .../api_op_DescribeArchive.go | 3 - .../api_op_DescribeConnection.go | 3 - .../api_op_DescribeEventBus.go | 3 - .../api_op_DescribeEventSource.go | 3 - .../api_op_DescribePartnerEventSource.go | 3 - .../cloudwatchevents/api_op_DescribeReplay.go | 3 - .../cloudwatchevents/api_op_DescribeRule.go | 3 - .../cloudwatchevents/api_op_DisableRule.go | 3 - service/cloudwatchevents/api_op_EnableRule.go | 3 - .../api_op_ListApiDestinations.go | 3 - .../cloudwatchevents/api_op_ListArchives.go | 3 - .../api_op_ListConnections.go | 3 - .../cloudwatchevents/api_op_ListEventBuses.go | 3 - .../api_op_ListEventSources.go | 3 - .../api_op_ListPartnerEventSourceAccounts.go | 3 - .../api_op_ListPartnerEventSources.go | 3 - .../cloudwatchevents/api_op_ListReplays.go | 3 - .../api_op_ListRuleNamesByTarget.go | 3 - service/cloudwatchevents/api_op_ListRules.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_ListTargetsByRule.go | 3 - service/cloudwatchevents/api_op_PutEvents.go | 3 - .../api_op_PutPartnerEvents.go | 3 - .../cloudwatchevents/api_op_PutPermission.go | 3 - service/cloudwatchevents/api_op_PutRule.go | 3 - service/cloudwatchevents/api_op_PutTargets.go | 3 - .../api_op_RemovePermission.go | 3 - .../cloudwatchevents/api_op_RemoveTargets.go | 3 - .../cloudwatchevents/api_op_StartReplay.go | 3 - .../cloudwatchevents/api_op_TagResource.go | 3 - .../api_op_TestEventPattern.go | 3 - .../cloudwatchevents/api_op_UntagResource.go | 3 - .../api_op_UpdateApiDestination.go | 3 - .../cloudwatchevents/api_op_UpdateArchive.go | 3 - .../api_op_UpdateConnection.go | 3 - .../api_op_ActivateEventSource.go.snap | 1 - .../snapshot/api_op_CancelReplay.go.snap | 1 - .../api_op_CreateApiDestination.go.snap | 1 - .../snapshot/api_op_CreateArchive.go.snap | 1 - .../snapshot/api_op_CreateConnection.go.snap | 1 - .../snapshot/api_op_CreateEventBus.go.snap | 1 - .../api_op_CreatePartnerEventSource.go.snap | 1 - .../api_op_DeactivateEventSource.go.snap | 1 - .../api_op_DeauthorizeConnection.go.snap | 1 - .../api_op_DeleteApiDestination.go.snap | 1 - .../snapshot/api_op_DeleteArchive.go.snap | 1 - .../snapshot/api_op_DeleteConnection.go.snap | 1 - .../snapshot/api_op_DeleteEventBus.go.snap | 1 - .../api_op_DeletePartnerEventSource.go.snap | 1 - .../snapshot/api_op_DeleteRule.go.snap | 1 - .../api_op_DescribeApiDestination.go.snap | 1 - .../snapshot/api_op_DescribeArchive.go.snap | 1 - .../api_op_DescribeConnection.go.snap | 1 - .../snapshot/api_op_DescribeEventBus.go.snap | 1 - .../api_op_DescribeEventSource.go.snap | 1 - .../api_op_DescribePartnerEventSource.go.snap | 1 - .../snapshot/api_op_DescribeReplay.go.snap | 1 - .../snapshot/api_op_DescribeRule.go.snap | 1 - .../snapshot/api_op_DisableRule.go.snap | 1 - .../snapshot/api_op_EnableRule.go.snap | 1 - .../api_op_ListApiDestinations.go.snap | 1 - .../snapshot/api_op_ListArchives.go.snap | 1 - .../snapshot/api_op_ListConnections.go.snap | 1 - .../snapshot/api_op_ListEventBuses.go.snap | 1 - .../snapshot/api_op_ListEventSources.go.snap | 1 - ..._op_ListPartnerEventSourceAccounts.go.snap | 1 - .../api_op_ListPartnerEventSources.go.snap | 1 - .../snapshot/api_op_ListReplays.go.snap | 1 - .../api_op_ListRuleNamesByTarget.go.snap | 1 - .../snapshot/api_op_ListRules.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListTargetsByRule.go.snap | 1 - .../snapshot/api_op_PutEvents.go.snap | 1 - .../snapshot/api_op_PutPartnerEvents.go.snap | 1 - .../snapshot/api_op_PutPermission.go.snap | 1 - .../snapshot/api_op_PutRule.go.snap | 1 - .../snapshot/api_op_PutTargets.go.snap | 1 - .../snapshot/api_op_RemovePermission.go.snap | 1 - .../snapshot/api_op_RemoveTargets.go.snap | 1 - .../snapshot/api_op_StartReplay.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_TestEventPattern.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateApiDestination.go.snap | 1 - .../snapshot/api_op_UpdateArchive.go.snap | 1 - .../snapshot/api_op_UpdateConnection.go.snap | 1 - service/cloudwatchlogs/api_client.go | 31 -- .../cloudwatchlogs/api_op_AssociateKmsKey.go | 3 - .../cloudwatchlogs/api_op_CancelExportTask.go | 3 - .../cloudwatchlogs/api_op_CreateDelivery.go | 3 - .../cloudwatchlogs/api_op_CreateExportTask.go | 3 - .../api_op_CreateLogAnomalyDetector.go | 3 - .../cloudwatchlogs/api_op_CreateLogGroup.go | 3 - .../cloudwatchlogs/api_op_CreateLogStream.go | 3 - .../api_op_DeleteAccountPolicy.go | 3 - .../api_op_DeleteDataProtectionPolicy.go | 3 - .../cloudwatchlogs/api_op_DeleteDelivery.go | 3 - .../api_op_DeleteDeliveryDestination.go | 3 - .../api_op_DeleteDeliveryDestinationPolicy.go | 3 - .../api_op_DeleteDeliverySource.go | 3 - .../api_op_DeleteDestination.go | 3 - .../api_op_DeleteIndexPolicy.go | 3 - .../api_op_DeleteIntegration.go | 3 - .../api_op_DeleteLogAnomalyDetector.go | 3 - .../cloudwatchlogs/api_op_DeleteLogGroup.go | 3 - .../cloudwatchlogs/api_op_DeleteLogStream.go | 3 - .../api_op_DeleteMetricFilter.go | 3 - .../api_op_DeleteQueryDefinition.go | 3 - .../api_op_DeleteResourcePolicy.go | 3 - .../api_op_DeleteRetentionPolicy.go | 3 - .../api_op_DeleteSubscriptionFilter.go | 3 - .../api_op_DeleteTransformer.go | 3 - .../api_op_DescribeAccountPolicies.go | 3 - .../api_op_DescribeConfigurationTemplates.go | 3 - .../api_op_DescribeDeliveries.go | 3 - .../api_op_DescribeDeliveryDestinations.go | 3 - .../api_op_DescribeDeliverySources.go | 3 - .../api_op_DescribeDestinations.go | 3 - .../api_op_DescribeExportTasks.go | 3 - .../api_op_DescribeFieldIndexes.go | 3 - .../api_op_DescribeIndexPolicies.go | 3 - .../api_op_DescribeLogGroups.go | 3 - .../api_op_DescribeLogStreams.go | 3 - .../api_op_DescribeMetricFilters.go | 3 - .../cloudwatchlogs/api_op_DescribeQueries.go | 3 - .../api_op_DescribeQueryDefinitions.go | 3 - .../api_op_DescribeResourcePolicies.go | 3 - .../api_op_DescribeSubscriptionFilters.go | 3 - .../api_op_DisassociateKmsKey.go | 3 - .../cloudwatchlogs/api_op_FilterLogEvents.go | 3 - .../api_op_GetDataProtectionPolicy.go | 3 - service/cloudwatchlogs/api_op_GetDelivery.go | 3 - .../api_op_GetDeliveryDestination.go | 3 - .../api_op_GetDeliveryDestinationPolicy.go | 3 - .../api_op_GetDeliverySource.go | 3 - .../cloudwatchlogs/api_op_GetIntegration.go | 3 - .../api_op_GetLogAnomalyDetector.go | 3 - service/cloudwatchlogs/api_op_GetLogEvents.go | 3 - .../api_op_GetLogGroupFields.go | 3 - service/cloudwatchlogs/api_op_GetLogRecord.go | 3 - .../cloudwatchlogs/api_op_GetQueryResults.go | 3 - .../cloudwatchlogs/api_op_GetTransformer.go | 3 - .../cloudwatchlogs/api_op_ListAnomalies.go | 3 - .../cloudwatchlogs/api_op_ListIntegrations.go | 3 - .../api_op_ListLogAnomalyDetectors.go | 3 - .../api_op_ListLogGroupsForQuery.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../cloudwatchlogs/api_op_ListTagsLogGroup.go | 3 - .../cloudwatchlogs/api_op_PutAccountPolicy.go | 3 - .../api_op_PutDataProtectionPolicy.go | 3 - .../api_op_PutDeliveryDestination.go | 3 - .../api_op_PutDeliveryDestinationPolicy.go | 3 - .../api_op_PutDeliverySource.go | 3 - .../cloudwatchlogs/api_op_PutDestination.go | 3 - .../api_op_PutDestinationPolicy.go | 3 - .../cloudwatchlogs/api_op_PutIndexPolicy.go | 3 - .../cloudwatchlogs/api_op_PutIntegration.go | 3 - service/cloudwatchlogs/api_op_PutLogEvents.go | 3 - .../cloudwatchlogs/api_op_PutMetricFilter.go | 3 - .../api_op_PutQueryDefinition.go | 3 - .../api_op_PutResourcePolicy.go | 3 - .../api_op_PutRetentionPolicy.go | 3 - .../api_op_PutSubscriptionFilter.go | 3 - .../cloudwatchlogs/api_op_PutTransformer.go | 3 - .../cloudwatchlogs/api_op_StartLiveTail.go | 3 - service/cloudwatchlogs/api_op_StartQuery.go | 3 - service/cloudwatchlogs/api_op_StopQuery.go | 3 - service/cloudwatchlogs/api_op_TagLogGroup.go | 3 - service/cloudwatchlogs/api_op_TagResource.go | 3 - .../cloudwatchlogs/api_op_TestMetricFilter.go | 3 - .../cloudwatchlogs/api_op_TestTransformer.go | 3 - .../cloudwatchlogs/api_op_UntagLogGroup.go | 3 - .../cloudwatchlogs/api_op_UntagResource.go | 3 - .../cloudwatchlogs/api_op_UpdateAnomaly.go | 3 - .../api_op_UpdateDeliveryConfiguration.go | 3 - .../api_op_UpdateLogAnomalyDetector.go | 3 - .../snapshot/api_op_AssociateKmsKey.go.snap | 1 - .../snapshot/api_op_CancelExportTask.go.snap | 1 - .../snapshot/api_op_CreateDelivery.go.snap | 1 - .../snapshot/api_op_CreateExportTask.go.snap | 1 - .../api_op_CreateLogAnomalyDetector.go.snap | 1 - .../snapshot/api_op_CreateLogGroup.go.snap | 1 - .../snapshot/api_op_CreateLogStream.go.snap | 1 - .../api_op_DeleteAccountPolicy.go.snap | 1 - .../api_op_DeleteDataProtectionPolicy.go.snap | 1 - .../snapshot/api_op_DeleteDelivery.go.snap | 1 - .../api_op_DeleteDeliveryDestination.go.snap | 1 - ...op_DeleteDeliveryDestinationPolicy.go.snap | 1 - .../api_op_DeleteDeliverySource.go.snap | 1 - .../snapshot/api_op_DeleteDestination.go.snap | 1 - .../snapshot/api_op_DeleteIndexPolicy.go.snap | 1 - .../snapshot/api_op_DeleteIntegration.go.snap | 1 - .../api_op_DeleteLogAnomalyDetector.go.snap | 1 - .../snapshot/api_op_DeleteLogGroup.go.snap | 1 - .../snapshot/api_op_DeleteLogStream.go.snap | 1 - .../api_op_DeleteMetricFilter.go.snap | 1 - .../api_op_DeleteQueryDefinition.go.snap | 1 - .../api_op_DeleteResourcePolicy.go.snap | 1 - .../api_op_DeleteRetentionPolicy.go.snap | 1 - .../api_op_DeleteSubscriptionFilter.go.snap | 1 - .../snapshot/api_op_DeleteTransformer.go.snap | 1 - .../api_op_DescribeAccountPolicies.go.snap | 1 - ..._op_DescribeConfigurationTemplates.go.snap | 1 - .../api_op_DescribeDeliveries.go.snap | 1 - ...pi_op_DescribeDeliveryDestinations.go.snap | 1 - .../api_op_DescribeDeliverySources.go.snap | 1 - .../api_op_DescribeDestinations.go.snap | 1 - .../api_op_DescribeExportTasks.go.snap | 1 - .../api_op_DescribeFieldIndexes.go.snap | 1 - .../api_op_DescribeIndexPolicies.go.snap | 1 - .../snapshot/api_op_DescribeLogGroups.go.snap | 1 - .../api_op_DescribeLogStreams.go.snap | 1 - .../api_op_DescribeMetricFilters.go.snap | 1 - .../snapshot/api_op_DescribeQueries.go.snap | 1 - .../api_op_DescribeQueryDefinitions.go.snap | 1 - .../api_op_DescribeResourcePolicies.go.snap | 1 - ...api_op_DescribeSubscriptionFilters.go.snap | 1 - .../api_op_DisassociateKmsKey.go.snap | 1 - .../snapshot/api_op_FilterLogEvents.go.snap | 1 - .../api_op_GetDataProtectionPolicy.go.snap | 1 - .../snapshot/api_op_GetDelivery.go.snap | 1 - .../api_op_GetDeliveryDestination.go.snap | 1 - ...pi_op_GetDeliveryDestinationPolicy.go.snap | 1 - .../snapshot/api_op_GetDeliverySource.go.snap | 1 - .../snapshot/api_op_GetIntegration.go.snap | 1 - .../api_op_GetLogAnomalyDetector.go.snap | 1 - .../snapshot/api_op_GetLogEvents.go.snap | 1 - .../snapshot/api_op_GetLogGroupFields.go.snap | 1 - .../snapshot/api_op_GetLogRecord.go.snap | 1 - .../snapshot/api_op_GetQueryResults.go.snap | 1 - .../snapshot/api_op_GetTransformer.go.snap | 1 - .../snapshot/api_op_ListAnomalies.go.snap | 1 - .../snapshot/api_op_ListIntegrations.go.snap | 1 - .../api_op_ListLogAnomalyDetectors.go.snap | 1 - .../api_op_ListLogGroupsForQuery.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListTagsLogGroup.go.snap | 1 - .../snapshot/api_op_PutAccountPolicy.go.snap | 1 - .../api_op_PutDataProtectionPolicy.go.snap | 1 - .../api_op_PutDeliveryDestination.go.snap | 1 - ...pi_op_PutDeliveryDestinationPolicy.go.snap | 1 - .../snapshot/api_op_PutDeliverySource.go.snap | 1 - .../snapshot/api_op_PutDestination.go.snap | 1 - .../api_op_PutDestinationPolicy.go.snap | 1 - .../snapshot/api_op_PutIndexPolicy.go.snap | 1 - .../snapshot/api_op_PutIntegration.go.snap | 1 - .../snapshot/api_op_PutLogEvents.go.snap | 1 - .../snapshot/api_op_PutMetricFilter.go.snap | 1 - .../api_op_PutQueryDefinition.go.snap | 1 - .../snapshot/api_op_PutResourcePolicy.go.snap | 1 - .../api_op_PutRetentionPolicy.go.snap | 1 - .../api_op_PutSubscriptionFilter.go.snap | 1 - .../snapshot/api_op_PutTransformer.go.snap | 1 - .../snapshot/api_op_StartLiveTail.go.snap | 1 - .../snapshot/api_op_StartQuery.go.snap | 1 - .../snapshot/api_op_StopQuery.go.snap | 1 - .../snapshot/api_op_TagLogGroup.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_TestMetricFilter.go.snap | 1 - .../snapshot/api_op_TestTransformer.go.snap | 1 - .../snapshot/api_op_UntagLogGroup.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateAnomaly.go.snap | 1 - ...api_op_UpdateDeliveryConfiguration.go.snap | 1 - .../api_op_UpdateLogAnomalyDetector.go.snap | 1 - service/codeartifact/api_client.go | 31 -- .../api_op_AssociateExternalConnection.go | 3 - .../api_op_CopyPackageVersions.go | 3 - service/codeartifact/api_op_CreateDomain.go | 3 - .../codeartifact/api_op_CreatePackageGroup.go | 3 - .../codeartifact/api_op_CreateRepository.go | 3 - service/codeartifact/api_op_DeleteDomain.go | 3 - .../api_op_DeleteDomainPermissionsPolicy.go | 3 - service/codeartifact/api_op_DeletePackage.go | 3 - .../codeartifact/api_op_DeletePackageGroup.go | 3 - .../api_op_DeletePackageVersions.go | 3 - .../codeartifact/api_op_DeleteRepository.go | 3 - ...pi_op_DeleteRepositoryPermissionsPolicy.go | 3 - service/codeartifact/api_op_DescribeDomain.go | 3 - .../codeartifact/api_op_DescribePackage.go | 3 - .../api_op_DescribePackageGroup.go | 3 - .../api_op_DescribePackageVersion.go | 3 - .../codeartifact/api_op_DescribeRepository.go | 3 - .../api_op_DisassociateExternalConnection.go | 3 - .../api_op_DisposePackageVersions.go | 3 - .../api_op_GetAssociatedPackageGroup.go | 3 - .../api_op_GetAuthorizationToken.go | 3 - .../api_op_GetDomainPermissionsPolicy.go | 3 - .../api_op_GetPackageVersionAsset.go | 3 - .../api_op_GetPackageVersionReadme.go | 3 - .../api_op_GetRepositoryEndpoint.go | 3 - .../api_op_GetRepositoryPermissionsPolicy.go | 3 - .../api_op_ListAllowedRepositoriesForGroup.go | 3 - .../api_op_ListAssociatedPackages.go | 3 - service/codeartifact/api_op_ListDomains.go | 3 - .../codeartifact/api_op_ListPackageGroups.go | 3 - .../api_op_ListPackageVersionAssets.go | 3 - .../api_op_ListPackageVersionDependencies.go | 3 - .../api_op_ListPackageVersions.go | 3 - service/codeartifact/api_op_ListPackages.go | 3 - .../codeartifact/api_op_ListRepositories.go | 3 - .../api_op_ListRepositoriesInDomain.go | 3 - .../api_op_ListSubPackageGroups.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_PublishPackageVersion.go | 3 - .../api_op_PutDomainPermissionsPolicy.go | 3 - .../api_op_PutPackageOriginConfiguration.go | 3 - .../api_op_PutRepositoryPermissionsPolicy.go | 3 - service/codeartifact/api_op_TagResource.go | 3 - service/codeartifact/api_op_UntagResource.go | 3 - .../codeartifact/api_op_UpdatePackageGroup.go | 3 - ...p_UpdatePackageGroupOriginConfiguration.go | 3 - .../api_op_UpdatePackageVersionsStatus.go | 3 - .../codeartifact/api_op_UpdateRepository.go | 3 - ...api_op_AssociateExternalConnection.go.snap | 1 - .../api_op_CopyPackageVersions.go.snap | 1 - .../snapshot/api_op_CreateDomain.go.snap | 1 - .../api_op_CreatePackageGroup.go.snap | 1 - .../snapshot/api_op_CreateRepository.go.snap | 1 - .../snapshot/api_op_DeleteDomain.go.snap | 1 - ...i_op_DeleteDomainPermissionsPolicy.go.snap | 1 - .../snapshot/api_op_DeletePackage.go.snap | 1 - .../api_op_DeletePackageGroup.go.snap | 1 - .../api_op_DeletePackageVersions.go.snap | 1 - .../snapshot/api_op_DeleteRepository.go.snap | 1 - ..._DeleteRepositoryPermissionsPolicy.go.snap | 1 - .../snapshot/api_op_DescribeDomain.go.snap | 1 - .../snapshot/api_op_DescribePackage.go.snap | 1 - .../api_op_DescribePackageGroup.go.snap | 1 - .../api_op_DescribePackageVersion.go.snap | 1 - .../api_op_DescribeRepository.go.snap | 1 - ..._op_DisassociateExternalConnection.go.snap | 1 - .../api_op_DisposePackageVersions.go.snap | 1 - .../api_op_GetAssociatedPackageGroup.go.snap | 1 - .../api_op_GetAuthorizationToken.go.snap | 1 - .../api_op_GetDomainPermissionsPolicy.go.snap | 1 - .../api_op_GetPackageVersionAsset.go.snap | 1 - .../api_op_GetPackageVersionReadme.go.snap | 1 - .../api_op_GetRepositoryEndpoint.go.snap | 1 - ..._op_GetRepositoryPermissionsPolicy.go.snap | 1 - ...op_ListAllowedRepositoriesForGroup.go.snap | 1 - .../api_op_ListAssociatedPackages.go.snap | 1 - .../snapshot/api_op_ListDomains.go.snap | 1 - .../snapshot/api_op_ListPackageGroups.go.snap | 1 - .../api_op_ListPackageVersionAssets.go.snap | 1 - ..._op_ListPackageVersionDependencies.go.snap | 1 - .../api_op_ListPackageVersions.go.snap | 1 - .../snapshot/api_op_ListPackages.go.snap | 1 - .../snapshot/api_op_ListRepositories.go.snap | 1 - .../api_op_ListRepositoriesInDomain.go.snap | 1 - .../api_op_ListSubPackageGroups.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_PublishPackageVersion.go.snap | 1 - .../api_op_PutDomainPermissionsPolicy.go.snap | 1 - ...i_op_PutPackageOriginConfiguration.go.snap | 1 - ..._op_PutRepositoryPermissionsPolicy.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdatePackageGroup.go.snap | 1 - ...atePackageGroupOriginConfiguration.go.snap | 1 - ...api_op_UpdatePackageVersionsStatus.go.snap | 1 - .../snapshot/api_op_UpdateRepository.go.snap | 1 - service/codebuild/api_client.go | 31 -- service/codebuild/api_op_BatchDeleteBuilds.go | 3 - .../codebuild/api_op_BatchGetBuildBatches.go | 3 - service/codebuild/api_op_BatchGetBuilds.go | 3 - service/codebuild/api_op_BatchGetFleets.go | 3 - service/codebuild/api_op_BatchGetProjects.go | 3 - .../codebuild/api_op_BatchGetReportGroups.go | 3 - service/codebuild/api_op_BatchGetReports.go | 3 - service/codebuild/api_op_CreateFleet.go | 3 - service/codebuild/api_op_CreateProject.go | 3 - service/codebuild/api_op_CreateReportGroup.go | 3 - service/codebuild/api_op_CreateWebhook.go | 3 - service/codebuild/api_op_DeleteBuildBatch.go | 3 - service/codebuild/api_op_DeleteFleet.go | 3 - service/codebuild/api_op_DeleteProject.go | 3 - service/codebuild/api_op_DeleteReport.go | 3 - service/codebuild/api_op_DeleteReportGroup.go | 3 - .../codebuild/api_op_DeleteResourcePolicy.go | 3 - .../api_op_DeleteSourceCredentials.go | 3 - service/codebuild/api_op_DeleteWebhook.go | 3 - .../codebuild/api_op_DescribeCodeCoverages.go | 3 - service/codebuild/api_op_DescribeTestCases.go | 3 - .../codebuild/api_op_GetReportGroupTrend.go | 3 - service/codebuild/api_op_GetResourcePolicy.go | 3 - .../api_op_ImportSourceCredentials.go | 3 - .../api_op_InvalidateProjectCache.go | 3 - service/codebuild/api_op_ListBuildBatches.go | 3 - .../api_op_ListBuildBatchesForProject.go | 3 - service/codebuild/api_op_ListBuilds.go | 3 - .../codebuild/api_op_ListBuildsForProject.go | 3 - .../api_op_ListCuratedEnvironmentImages.go | 3 - service/codebuild/api_op_ListFleets.go | 3 - service/codebuild/api_op_ListProjects.go | 3 - service/codebuild/api_op_ListReportGroups.go | 3 - service/codebuild/api_op_ListReports.go | 3 - .../api_op_ListReportsForReportGroup.go | 3 - .../codebuild/api_op_ListSharedProjects.go | 3 - .../api_op_ListSharedReportGroups.go | 3 - .../codebuild/api_op_ListSourceCredentials.go | 3 - service/codebuild/api_op_PutResourcePolicy.go | 3 - service/codebuild/api_op_RetryBuild.go | 3 - service/codebuild/api_op_RetryBuildBatch.go | 3 - service/codebuild/api_op_StartBuild.go | 3 - service/codebuild/api_op_StartBuildBatch.go | 3 - service/codebuild/api_op_StopBuild.go | 3 - service/codebuild/api_op_StopBuildBatch.go | 3 - service/codebuild/api_op_UpdateFleet.go | 3 - service/codebuild/api_op_UpdateProject.go | 3 - .../api_op_UpdateProjectVisibility.go | 3 - service/codebuild/api_op_UpdateReportGroup.go | 3 - service/codebuild/api_op_UpdateWebhook.go | 3 - .../snapshot/api_op_BatchDeleteBuilds.go.snap | 1 - .../api_op_BatchGetBuildBatches.go.snap | 1 - .../snapshot/api_op_BatchGetBuilds.go.snap | 1 - .../snapshot/api_op_BatchGetFleets.go.snap | 1 - .../snapshot/api_op_BatchGetProjects.go.snap | 1 - .../api_op_BatchGetReportGroups.go.snap | 1 - .../snapshot/api_op_BatchGetReports.go.snap | 1 - .../snapshot/api_op_CreateFleet.go.snap | 1 - .../snapshot/api_op_CreateProject.go.snap | 1 - .../snapshot/api_op_CreateReportGroup.go.snap | 1 - .../snapshot/api_op_CreateWebhook.go.snap | 1 - .../snapshot/api_op_DeleteBuildBatch.go.snap | 1 - .../snapshot/api_op_DeleteFleet.go.snap | 1 - .../snapshot/api_op_DeleteProject.go.snap | 1 - .../snapshot/api_op_DeleteReport.go.snap | 1 - .../snapshot/api_op_DeleteReportGroup.go.snap | 1 - .../api_op_DeleteResourcePolicy.go.snap | 1 - .../api_op_DeleteSourceCredentials.go.snap | 1 - .../snapshot/api_op_DeleteWebhook.go.snap | 1 - .../api_op_DescribeCodeCoverages.go.snap | 1 - .../snapshot/api_op_DescribeTestCases.go.snap | 1 - .../api_op_GetReportGroupTrend.go.snap | 1 - .../snapshot/api_op_GetResourcePolicy.go.snap | 1 - .../api_op_ImportSourceCredentials.go.snap | 1 - .../api_op_InvalidateProjectCache.go.snap | 1 - .../snapshot/api_op_ListBuildBatches.go.snap | 1 - .../api_op_ListBuildBatchesForProject.go.snap | 1 - .../snapshot/api_op_ListBuilds.go.snap | 1 - .../api_op_ListBuildsForProject.go.snap | 1 - ...pi_op_ListCuratedEnvironmentImages.go.snap | 1 - .../snapshot/api_op_ListFleets.go.snap | 1 - .../snapshot/api_op_ListProjects.go.snap | 1 - .../snapshot/api_op_ListReportGroups.go.snap | 1 - .../snapshot/api_op_ListReports.go.snap | 1 - .../api_op_ListReportsForReportGroup.go.snap | 1 - .../api_op_ListSharedProjects.go.snap | 1 - .../api_op_ListSharedReportGroups.go.snap | 1 - .../api_op_ListSourceCredentials.go.snap | 1 - .../snapshot/api_op_PutResourcePolicy.go.snap | 1 - .../snapshot/api_op_RetryBuild.go.snap | 1 - .../snapshot/api_op_RetryBuildBatch.go.snap | 1 - .../snapshot/api_op_StartBuild.go.snap | 1 - .../snapshot/api_op_StartBuildBatch.go.snap | 1 - .../snapshot/api_op_StopBuild.go.snap | 1 - .../snapshot/api_op_StopBuildBatch.go.snap | 1 - .../snapshot/api_op_UpdateFleet.go.snap | 1 - .../snapshot/api_op_UpdateProject.go.snap | 1 - .../api_op_UpdateProjectVisibility.go.snap | 1 - .../snapshot/api_op_UpdateReportGroup.go.snap | 1 - .../snapshot/api_op_UpdateWebhook.go.snap | 1 - service/codecommit/api_client.go | 31 -- ...ciateApprovalRuleTemplateWithRepository.go | 3 - ...ateApprovalRuleTemplateWithRepositories.go | 3 - .../api_op_BatchDescribeMergeConflicts.go | 3 - ...ateApprovalRuleTemplateFromRepositories.go | 3 - service/codecommit/api_op_BatchGetCommits.go | 3 - .../codecommit/api_op_BatchGetRepositories.go | 3 - .../api_op_CreateApprovalRuleTemplate.go | 3 - service/codecommit/api_op_CreateBranch.go | 3 - service/codecommit/api_op_CreateCommit.go | 3 - .../codecommit/api_op_CreatePullRequest.go | 3 - .../api_op_CreatePullRequestApprovalRule.go | 3 - service/codecommit/api_op_CreateRepository.go | 3 - .../api_op_CreateUnreferencedMergeCommit.go | 3 - .../api_op_DeleteApprovalRuleTemplate.go | 3 - service/codecommit/api_op_DeleteBranch.go | 3 - .../codecommit/api_op_DeleteCommentContent.go | 3 - service/codecommit/api_op_DeleteFile.go | 3 - .../api_op_DeletePullRequestApprovalRule.go | 3 - service/codecommit/api_op_DeleteRepository.go | 3 - .../api_op_DescribeMergeConflicts.go | 3 - .../api_op_DescribePullRequestEvents.go | 3 - ...ciateApprovalRuleTemplateFromRepository.go | 3 - ...api_op_EvaluatePullRequestApprovalRules.go | 3 - .../api_op_GetApprovalRuleTemplate.go | 3 - service/codecommit/api_op_GetBlob.go | 3 - service/codecommit/api_op_GetBranch.go | 3 - service/codecommit/api_op_GetComment.go | 3 - .../codecommit/api_op_GetCommentReactions.go | 3 - .../api_op_GetCommentsForComparedCommit.go | 3 - .../api_op_GetCommentsForPullRequest.go | 3 - service/codecommit/api_op_GetCommit.go | 3 - service/codecommit/api_op_GetDifferences.go | 3 - service/codecommit/api_op_GetFile.go | 3 - service/codecommit/api_op_GetFolder.go | 3 - service/codecommit/api_op_GetMergeCommit.go | 3 - .../codecommit/api_op_GetMergeConflicts.go | 3 - service/codecommit/api_op_GetMergeOptions.go | 3 - service/codecommit/api_op_GetPullRequest.go | 3 - .../api_op_GetPullRequestApprovalStates.go | 3 - .../api_op_GetPullRequestOverrideState.go | 3 - service/codecommit/api_op_GetRepository.go | 3 - .../api_op_GetRepositoryTriggers.go | 3 - .../api_op_ListApprovalRuleTemplates.go | 3 - ...iatedApprovalRuleTemplatesForRepository.go | 3 - service/codecommit/api_op_ListBranches.go | 3 - .../api_op_ListFileCommitHistory.go | 3 - service/codecommit/api_op_ListPullRequests.go | 3 - service/codecommit/api_op_ListRepositories.go | 3 - ...ListRepositoriesForApprovalRuleTemplate.go | 3 - .../codecommit/api_op_ListTagsForResource.go | 3 - .../api_op_MergeBranchesByFastForward.go | 3 - .../api_op_MergeBranchesBySquash.go | 3 - .../api_op_MergeBranchesByThreeWay.go | 3 - .../api_op_MergePullRequestByFastForward.go | 3 - .../api_op_MergePullRequestBySquash.go | 3 - .../api_op_MergePullRequestByThreeWay.go | 3 - ...api_op_OverridePullRequestApprovalRules.go | 3 - .../api_op_PostCommentForComparedCommit.go | 3 - .../api_op_PostCommentForPullRequest.go | 3 - service/codecommit/api_op_PostCommentReply.go | 3 - .../codecommit/api_op_PutCommentReaction.go | 3 - service/codecommit/api_op_PutFile.go | 3 - .../api_op_PutRepositoryTriggers.go | 3 - service/codecommit/api_op_TagResource.go | 3 - .../api_op_TestRepositoryTriggers.go | 3 - service/codecommit/api_op_UntagResource.go | 3 - ...pi_op_UpdateApprovalRuleTemplateContent.go | 3 - ...p_UpdateApprovalRuleTemplateDescription.go | 3 - .../api_op_UpdateApprovalRuleTemplateName.go | 3 - service/codecommit/api_op_UpdateComment.go | 3 - .../codecommit/api_op_UpdateDefaultBranch.go | 3 - ...op_UpdatePullRequestApprovalRuleContent.go | 3 - .../api_op_UpdatePullRequestApprovalState.go | 3 - .../api_op_UpdatePullRequestDescription.go | 3 - .../api_op_UpdatePullRequestStatus.go | 3 - .../api_op_UpdatePullRequestTitle.go | 3 - .../api_op_UpdateRepositoryDescription.go | 3 - .../api_op_UpdateRepositoryEncryptionKey.go | 3 - .../codecommit/api_op_UpdateRepositoryName.go | 3 - ...ApprovalRuleTemplateWithRepository.go.snap | 1 - ...provalRuleTemplateWithRepositories.go.snap | 1 - ...api_op_BatchDescribeMergeConflicts.go.snap | 1 - ...provalRuleTemplateFromRepositories.go.snap | 1 - .../snapshot/api_op_BatchGetCommits.go.snap | 1 - .../api_op_BatchGetRepositories.go.snap | 1 - .../api_op_CreateApprovalRuleTemplate.go.snap | 1 - .../snapshot/api_op_CreateBranch.go.snap | 1 - .../snapshot/api_op_CreateCommit.go.snap | 1 - .../snapshot/api_op_CreatePullRequest.go.snap | 1 - ...i_op_CreatePullRequestApprovalRule.go.snap | 1 - .../snapshot/api_op_CreateRepository.go.snap | 1 - ...i_op_CreateUnreferencedMergeCommit.go.snap | 1 - .../api_op_DeleteApprovalRuleTemplate.go.snap | 1 - .../snapshot/api_op_DeleteBranch.go.snap | 1 - .../api_op_DeleteCommentContent.go.snap | 1 - .../snapshot/api_op_DeleteFile.go.snap | 1 - ...i_op_DeletePullRequestApprovalRule.go.snap | 1 - .../snapshot/api_op_DeleteRepository.go.snap | 1 - .../api_op_DescribeMergeConflicts.go.snap | 1 - .../api_op_DescribePullRequestEvents.go.snap | 1 - ...ApprovalRuleTemplateFromRepository.go.snap | 1 - ...p_EvaluatePullRequestApprovalRules.go.snap | 1 - .../api_op_GetApprovalRuleTemplate.go.snap | 1 - .../snapshot/api_op_GetBlob.go.snap | 1 - .../snapshot/api_op_GetBranch.go.snap | 1 - .../snapshot/api_op_GetComment.go.snap | 1 - .../api_op_GetCommentReactions.go.snap | 1 - ...pi_op_GetCommentsForComparedCommit.go.snap | 1 - .../api_op_GetCommentsForPullRequest.go.snap | 1 - .../snapshot/api_op_GetCommit.go.snap | 1 - .../snapshot/api_op_GetDifferences.go.snap | 1 - .../snapshot/api_op_GetFile.go.snap | 1 - .../snapshot/api_op_GetFolder.go.snap | 1 - .../snapshot/api_op_GetMergeCommit.go.snap | 1 - .../snapshot/api_op_GetMergeConflicts.go.snap | 1 - .../snapshot/api_op_GetMergeOptions.go.snap | 1 - .../snapshot/api_op_GetPullRequest.go.snap | 1 - ...pi_op_GetPullRequestApprovalStates.go.snap | 1 - ...api_op_GetPullRequestOverrideState.go.snap | 1 - .../snapshot/api_op_GetRepository.go.snap | 1 - .../api_op_GetRepositoryTriggers.go.snap | 1 - .../api_op_ListApprovalRuleTemplates.go.snap | 1 - ...ApprovalRuleTemplatesForRepository.go.snap | 1 - .../snapshot/api_op_ListBranches.go.snap | 1 - .../api_op_ListFileCommitHistory.go.snap | 1 - .../snapshot/api_op_ListPullRequests.go.snap | 1 - .../snapshot/api_op_ListRepositories.go.snap | 1 - ...epositoriesForApprovalRuleTemplate.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_MergeBranchesByFastForward.go.snap | 1 - .../api_op_MergeBranchesBySquash.go.snap | 1 - .../api_op_MergeBranchesByThreeWay.go.snap | 1 - ...i_op_MergePullRequestByFastForward.go.snap | 1 - .../api_op_MergePullRequestBySquash.go.snap | 1 - .../api_op_MergePullRequestByThreeWay.go.snap | 1 - ...p_OverridePullRequestApprovalRules.go.snap | 1 - ...pi_op_PostCommentForComparedCommit.go.snap | 1 - .../api_op_PostCommentForPullRequest.go.snap | 1 - .../snapshot/api_op_PostCommentReply.go.snap | 1 - .../api_op_PutCommentReaction.go.snap | 1 - .../snapshot/api_op_PutFile.go.snap | 1 - .../api_op_PutRepositoryTriggers.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../api_op_TestRepositoryTriggers.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - ..._UpdateApprovalRuleTemplateContent.go.snap | 1 - ...ateApprovalRuleTemplateDescription.go.snap | 1 - ..._op_UpdateApprovalRuleTemplateName.go.snap | 1 - .../snapshot/api_op_UpdateComment.go.snap | 1 - .../api_op_UpdateDefaultBranch.go.snap | 1 - ...datePullRequestApprovalRuleContent.go.snap | 1 - ..._op_UpdatePullRequestApprovalState.go.snap | 1 - ...pi_op_UpdatePullRequestDescription.go.snap | 1 - .../api_op_UpdatePullRequestStatus.go.snap | 1 - .../api_op_UpdatePullRequestTitle.go.snap | 1 - ...api_op_UpdateRepositoryDescription.go.snap | 1 - ...i_op_UpdateRepositoryEncryptionKey.go.snap | 1 - .../api_op_UpdateRepositoryName.go.snap | 1 - service/codeconnections/api_client.go | 31 -- .../api_op_CreateConnection.go | 3 - service/codeconnections/api_op_CreateHost.go | 3 - .../api_op_CreateRepositoryLink.go | 3 - .../api_op_CreateSyncConfiguration.go | 3 - .../api_op_DeleteConnection.go | 3 - service/codeconnections/api_op_DeleteHost.go | 3 - .../api_op_DeleteRepositoryLink.go | 3 - .../api_op_DeleteSyncConfiguration.go | 3 - .../codeconnections/api_op_GetConnection.go | 3 - service/codeconnections/api_op_GetHost.go | 3 - .../api_op_GetRepositoryLink.go | 3 - .../api_op_GetRepositorySyncStatus.go | 3 - .../api_op_GetResourceSyncStatus.go | 3 - .../api_op_GetSyncBlockerSummary.go | 3 - .../api_op_GetSyncConfiguration.go | 3 - .../codeconnections/api_op_ListConnections.go | 3 - service/codeconnections/api_op_ListHosts.go | 3 - .../api_op_ListRepositoryLinks.go | 3 - .../api_op_ListRepositorySyncDefinitions.go | 3 - .../api_op_ListSyncConfigurations.go | 3 - .../api_op_ListTagsForResource.go | 3 - service/codeconnections/api_op_TagResource.go | 3 - .../codeconnections/api_op_UntagResource.go | 3 - service/codeconnections/api_op_UpdateHost.go | 3 - .../api_op_UpdateRepositoryLink.go | 3 - .../api_op_UpdateSyncBlocker.go | 3 - .../api_op_UpdateSyncConfiguration.go | 3 - .../snapshot/api_op_CreateConnection.go.snap | 1 - .../snapshot/api_op_CreateHost.go.snap | 1 - .../api_op_CreateRepositoryLink.go.snap | 1 - .../api_op_CreateSyncConfiguration.go.snap | 1 - .../snapshot/api_op_DeleteConnection.go.snap | 1 - .../snapshot/api_op_DeleteHost.go.snap | 1 - .../api_op_DeleteRepositoryLink.go.snap | 1 - .../api_op_DeleteSyncConfiguration.go.snap | 1 - .../snapshot/api_op_GetConnection.go.snap | 1 - .../snapshot/api_op_GetHost.go.snap | 1 - .../snapshot/api_op_GetRepositoryLink.go.snap | 1 - .../api_op_GetRepositorySyncStatus.go.snap | 1 - .../api_op_GetResourceSyncStatus.go.snap | 1 - .../api_op_GetSyncBlockerSummary.go.snap | 1 - .../api_op_GetSyncConfiguration.go.snap | 1 - .../snapshot/api_op_ListConnections.go.snap | 1 - .../snapshot/api_op_ListHosts.go.snap | 1 - .../api_op_ListRepositoryLinks.go.snap | 1 - ...i_op_ListRepositorySyncDefinitions.go.snap | 1 - .../api_op_ListSyncConfigurations.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateHost.go.snap | 1 - .../api_op_UpdateRepositoryLink.go.snap | 1 - .../snapshot/api_op_UpdateSyncBlocker.go.snap | 1 - .../api_op_UpdateSyncConfiguration.go.snap | 1 - service/codedeploy/api_client.go | 31 -- .../api_op_AddTagsToOnPremisesInstances.go | 3 - .../api_op_BatchGetApplicationRevisions.go | 3 - .../codedeploy/api_op_BatchGetApplications.go | 3 - .../api_op_BatchGetDeploymentGroups.go | 3 - .../api_op_BatchGetDeploymentInstances.go | 3 - .../api_op_BatchGetDeploymentTargets.go | 3 - .../codedeploy/api_op_BatchGetDeployments.go | 3 - .../api_op_BatchGetOnPremisesInstances.go | 3 - .../codedeploy/api_op_ContinueDeployment.go | 3 - .../codedeploy/api_op_CreateApplication.go | 3 - service/codedeploy/api_op_CreateDeployment.go | 3 - .../api_op_CreateDeploymentConfig.go | 3 - .../api_op_CreateDeploymentGroup.go | 3 - .../codedeploy/api_op_DeleteApplication.go | 3 - .../api_op_DeleteDeploymentConfig.go | 3 - .../api_op_DeleteDeploymentGroup.go | 3 - .../api_op_DeleteGitHubAccountToken.go | 3 - .../api_op_DeleteResourcesByExternalId.go | 3 - .../api_op_DeregisterOnPremisesInstance.go | 3 - service/codedeploy/api_op_GetApplication.go | 3 - .../api_op_GetApplicationRevision.go | 3 - service/codedeploy/api_op_GetDeployment.go | 3 - .../codedeploy/api_op_GetDeploymentConfig.go | 3 - .../codedeploy/api_op_GetDeploymentGroup.go | 3 - .../api_op_GetDeploymentInstance.go | 3 - .../codedeploy/api_op_GetDeploymentTarget.go | 3 - .../api_op_GetOnPremisesInstance.go | 3 - .../api_op_ListApplicationRevisions.go | 3 - service/codedeploy/api_op_ListApplications.go | 3 - .../api_op_ListDeploymentConfigs.go | 3 - .../codedeploy/api_op_ListDeploymentGroups.go | 3 - .../api_op_ListDeploymentInstances.go | 3 - .../api_op_ListDeploymentTargets.go | 3 - service/codedeploy/api_op_ListDeployments.go | 3 - .../api_op_ListGitHubAccountTokenNames.go | 3 - .../api_op_ListOnPremisesInstances.go | 3 - .../codedeploy/api_op_ListTagsForResource.go | 3 - ...op_PutLifecycleEventHookExecutionStatus.go | 3 - .../api_op_RegisterApplicationRevision.go | 3 - .../api_op_RegisterOnPremisesInstance.go | 3 - ...pi_op_RemoveTagsFromOnPremisesInstances.go | 3 - ...i_op_SkipWaitTimeForInstanceTermination.go | 3 - service/codedeploy/api_op_StopDeployment.go | 3 - service/codedeploy/api_op_TagResource.go | 3 - service/codedeploy/api_op_UntagResource.go | 3 - .../codedeploy/api_op_UpdateApplication.go | 3 - .../api_op_UpdateDeploymentGroup.go | 3 - ...pi_op_AddTagsToOnPremisesInstances.go.snap | 1 - ...pi_op_BatchGetApplicationRevisions.go.snap | 1 - .../api_op_BatchGetApplications.go.snap | 1 - .../api_op_BatchGetDeploymentGroups.go.snap | 1 - ...api_op_BatchGetDeploymentInstances.go.snap | 1 - .../api_op_BatchGetDeploymentTargets.go.snap | 1 - .../api_op_BatchGetDeployments.go.snap | 1 - ...api_op_BatchGetOnPremisesInstances.go.snap | 1 - .../api_op_ContinueDeployment.go.snap | 1 - .../snapshot/api_op_CreateApplication.go.snap | 1 - .../snapshot/api_op_CreateDeployment.go.snap | 1 - .../api_op_CreateDeploymentConfig.go.snap | 1 - .../api_op_CreateDeploymentGroup.go.snap | 1 - .../snapshot/api_op_DeleteApplication.go.snap | 1 - .../api_op_DeleteDeploymentConfig.go.snap | 1 - .../api_op_DeleteDeploymentGroup.go.snap | 1 - .../api_op_DeleteGitHubAccountToken.go.snap | 1 - ...api_op_DeleteResourcesByExternalId.go.snap | 1 - ...pi_op_DeregisterOnPremisesInstance.go.snap | 1 - .../snapshot/api_op_GetApplication.go.snap | 1 - .../api_op_GetApplicationRevision.go.snap | 1 - .../snapshot/api_op_GetDeployment.go.snap | 1 - .../api_op_GetDeploymentConfig.go.snap | 1 - .../api_op_GetDeploymentGroup.go.snap | 1 - .../api_op_GetDeploymentInstance.go.snap | 1 - .../api_op_GetDeploymentTarget.go.snap | 1 - .../api_op_GetOnPremisesInstance.go.snap | 1 - .../api_op_ListApplicationRevisions.go.snap | 1 - .../snapshot/api_op_ListApplications.go.snap | 1 - .../api_op_ListDeploymentConfigs.go.snap | 1 - .../api_op_ListDeploymentGroups.go.snap | 1 - .../api_op_ListDeploymentInstances.go.snap | 1 - .../api_op_ListDeploymentTargets.go.snap | 1 - .../snapshot/api_op_ListDeployments.go.snap | 1 - ...api_op_ListGitHubAccountTokenNames.go.snap | 1 - .../api_op_ListOnPremisesInstances.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - ...tLifecycleEventHookExecutionStatus.go.snap | 1 - ...api_op_RegisterApplicationRevision.go.snap | 1 - .../api_op_RegisterOnPremisesInstance.go.snap | 1 - ..._RemoveTagsFromOnPremisesInstances.go.snap | 1 - ...SkipWaitTimeForInstanceTermination.go.snap | 1 - .../snapshot/api_op_StopDeployment.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateApplication.go.snap | 1 - .../api_op_UpdateDeploymentGroup.go.snap | 1 - service/codeguruprofiler/api_client.go | 31 -- .../api_op_AddNotificationChannels.go | 3 - .../api_op_BatchGetFrameMetricData.go | 3 - .../codeguruprofiler/api_op_ConfigureAgent.go | 3 - .../api_op_CreateProfilingGroup.go | 3 - .../api_op_DeleteProfilingGroup.go | 3 - .../api_op_DescribeProfilingGroup.go | 3 - .../api_op_GetFindingsReportAccountSummary.go | 3 - .../api_op_GetNotificationConfiguration.go | 3 - service/codeguruprofiler/api_op_GetPolicy.go | 3 - service/codeguruprofiler/api_op_GetProfile.go | 3 - .../api_op_GetRecommendations.go | 3 - .../api_op_ListFindingsReports.go | 3 - .../api_op_ListProfileTimes.go | 3 - .../api_op_ListProfilingGroups.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_PostAgentProfile.go | 3 - .../codeguruprofiler/api_op_PutPermission.go | 3 - .../api_op_RemoveNotificationChannel.go | 3 - .../api_op_RemovePermission.go | 3 - .../codeguruprofiler/api_op_SubmitFeedback.go | 3 - .../codeguruprofiler/api_op_TagResource.go | 3 - .../codeguruprofiler/api_op_UntagResource.go | 3 - .../api_op_UpdateProfilingGroup.go | 3 - .../api_op_AddNotificationChannels.go.snap | 1 - .../api_op_BatchGetFrameMetricData.go.snap | 1 - .../snapshot/api_op_ConfigureAgent.go.snap | 1 - .../api_op_CreateProfilingGroup.go.snap | 1 - .../api_op_DeleteProfilingGroup.go.snap | 1 - .../api_op_DescribeProfilingGroup.go.snap | 1 - ...op_GetFindingsReportAccountSummary.go.snap | 1 - ...pi_op_GetNotificationConfiguration.go.snap | 1 - .../snapshot/api_op_GetPolicy.go.snap | 1 - .../snapshot/api_op_GetProfile.go.snap | 1 - .../api_op_GetRecommendations.go.snap | 1 - .../api_op_ListFindingsReports.go.snap | 1 - .../snapshot/api_op_ListProfileTimes.go.snap | 1 - .../api_op_ListProfilingGroups.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_PostAgentProfile.go.snap | 1 - .../snapshot/api_op_PutPermission.go.snap | 1 - .../api_op_RemoveNotificationChannel.go.snap | 1 - .../snapshot/api_op_RemovePermission.go.snap | 1 - .../snapshot/api_op_SubmitFeedback.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateProfilingGroup.go.snap | 1 - service/codegurureviewer/api_client.go | 31 -- .../api_op_AssociateRepository.go | 3 - .../api_op_CreateCodeReview.go | 3 - .../api_op_DescribeCodeReview.go | 3 - .../api_op_DescribeRecommendationFeedback.go | 3 - .../api_op_DescribeRepositoryAssociation.go | 3 - .../api_op_DisassociateRepository.go | 3 - .../api_op_ListCodeReviews.go | 3 - .../api_op_ListRecommendationFeedback.go | 3 - .../api_op_ListRecommendations.go | 3 - .../api_op_ListRepositoryAssociations.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_PutRecommendationFeedback.go | 3 - .../codegurureviewer/api_op_TagResource.go | 3 - .../codegurureviewer/api_op_UntagResource.go | 3 - .../api_op_AssociateRepository.go.snap | 1 - .../snapshot/api_op_CreateCodeReview.go.snap | 1 - .../api_op_DescribeCodeReview.go.snap | 1 - ..._op_DescribeRecommendationFeedback.go.snap | 1 - ...i_op_DescribeRepositoryAssociation.go.snap | 1 - .../api_op_DisassociateRepository.go.snap | 1 - .../snapshot/api_op_ListCodeReviews.go.snap | 1 - .../api_op_ListRecommendationFeedback.go.snap | 1 - .../api_op_ListRecommendations.go.snap | 1 - .../api_op_ListRepositoryAssociations.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_PutRecommendationFeedback.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - service/codegurusecurity/api_client.go | 31 -- .../api_op_BatchGetFindings.go | 3 - service/codegurusecurity/api_op_CreateScan.go | 3 - .../api_op_CreateUploadUrl.go | 3 - .../api_op_GetAccountConfiguration.go | 3 - .../codegurusecurity/api_op_GetFindings.go | 3 - .../api_op_GetMetricsSummary.go | 3 - service/codegurusecurity/api_op_GetScan.go | 3 - .../api_op_ListFindingsMetrics.go | 3 - service/codegurusecurity/api_op_ListScans.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../codegurusecurity/api_op_TagResource.go | 3 - .../codegurusecurity/api_op_UntagResource.go | 3 - .../api_op_UpdateAccountConfiguration.go | 3 - .../snapshot/api_op_BatchGetFindings.go.snap | 1 - .../snapshot/api_op_CreateScan.go.snap | 1 - .../snapshot/api_op_CreateUploadUrl.go.snap | 1 - .../api_op_GetAccountConfiguration.go.snap | 1 - .../snapshot/api_op_GetFindings.go.snap | 1 - .../snapshot/api_op_GetMetricsSummary.go.snap | 1 - .../snapshot/api_op_GetScan.go.snap | 1 - .../api_op_ListFindingsMetrics.go.snap | 1 - .../snapshot/api_op_ListScans.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateAccountConfiguration.go.snap | 1 - service/codepipeline/api_client.go | 31 -- service/codepipeline/api_op_AcknowledgeJob.go | 3 - .../api_op_AcknowledgeThirdPartyJob.go | 3 - .../api_op_CreateCustomActionType.go | 3 - service/codepipeline/api_op_CreatePipeline.go | 3 - .../api_op_DeleteCustomActionType.go | 3 - service/codepipeline/api_op_DeletePipeline.go | 3 - service/codepipeline/api_op_DeleteWebhook.go | 3 - .../api_op_DeregisterWebhookWithThirdParty.go | 3 - .../api_op_DisableStageTransition.go | 3 - .../api_op_EnableStageTransition.go | 3 - service/codepipeline/api_op_GetActionType.go | 3 - service/codepipeline/api_op_GetJobDetails.go | 3 - service/codepipeline/api_op_GetPipeline.go | 3 - .../api_op_GetPipelineExecution.go | 3 - .../codepipeline/api_op_GetPipelineState.go | 3 - .../api_op_GetThirdPartyJobDetails.go | 3 - .../api_op_ListActionExecutions.go | 3 - .../codepipeline/api_op_ListActionTypes.go | 3 - .../api_op_ListPipelineExecutions.go | 3 - service/codepipeline/api_op_ListPipelines.go | 3 - .../codepipeline/api_op_ListRuleExecutions.go | 3 - service/codepipeline/api_op_ListRuleTypes.go | 3 - .../api_op_ListTagsForResource.go | 3 - service/codepipeline/api_op_ListWebhooks.go | 3 - .../api_op_OverrideStageCondition.go | 3 - service/codepipeline/api_op_PollForJobs.go | 3 - .../api_op_PollForThirdPartyJobs.go | 3 - .../codepipeline/api_op_PutActionRevision.go | 3 - .../codepipeline/api_op_PutApprovalResult.go | 3 - .../api_op_PutJobFailureResult.go | 3 - .../api_op_PutJobSuccessResult.go | 3 - .../api_op_PutThirdPartyJobFailureResult.go | 3 - .../api_op_PutThirdPartyJobSuccessResult.go | 3 - service/codepipeline/api_op_PutWebhook.go | 3 - .../api_op_RegisterWebhookWithThirdParty.go | 3 - .../api_op_RetryStageExecution.go | 3 - service/codepipeline/api_op_RollbackStage.go | 3 - .../api_op_StartPipelineExecution.go | 3 - .../api_op_StopPipelineExecution.go | 3 - service/codepipeline/api_op_TagResource.go | 3 - service/codepipeline/api_op_UntagResource.go | 3 - .../codepipeline/api_op_UpdateActionType.go | 3 - service/codepipeline/api_op_UpdatePipeline.go | 3 - .../snapshot/api_op_AcknowledgeJob.go.snap | 1 - .../api_op_AcknowledgeThirdPartyJob.go.snap | 1 - .../api_op_CreateCustomActionType.go.snap | 1 - .../snapshot/api_op_CreatePipeline.go.snap | 1 - .../api_op_DeleteCustomActionType.go.snap | 1 - .../snapshot/api_op_DeletePipeline.go.snap | 1 - .../snapshot/api_op_DeleteWebhook.go.snap | 1 - ...op_DeregisterWebhookWithThirdParty.go.snap | 1 - .../api_op_DisableStageTransition.go.snap | 1 - .../api_op_EnableStageTransition.go.snap | 1 - .../snapshot/api_op_GetActionType.go.snap | 1 - .../snapshot/api_op_GetJobDetails.go.snap | 1 - .../snapshot/api_op_GetPipeline.go.snap | 1 - .../api_op_GetPipelineExecution.go.snap | 1 - .../snapshot/api_op_GetPipelineState.go.snap | 1 - .../api_op_GetThirdPartyJobDetails.go.snap | 1 - .../api_op_ListActionExecutions.go.snap | 1 - .../snapshot/api_op_ListActionTypes.go.snap | 1 - .../api_op_ListPipelineExecutions.go.snap | 1 - .../snapshot/api_op_ListPipelines.go.snap | 1 - .../api_op_ListRuleExecutions.go.snap | 1 - .../snapshot/api_op_ListRuleTypes.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListWebhooks.go.snap | 1 - .../api_op_OverrideStageCondition.go.snap | 1 - .../snapshot/api_op_PollForJobs.go.snap | 1 - .../api_op_PollForThirdPartyJobs.go.snap | 1 - .../snapshot/api_op_PutActionRevision.go.snap | 1 - .../snapshot/api_op_PutApprovalResult.go.snap | 1 - .../api_op_PutJobFailureResult.go.snap | 1 - .../api_op_PutJobSuccessResult.go.snap | 1 - ...i_op_PutThirdPartyJobFailureResult.go.snap | 1 - ...i_op_PutThirdPartyJobSuccessResult.go.snap | 1 - .../snapshot/api_op_PutWebhook.go.snap | 1 - ...i_op_RegisterWebhookWithThirdParty.go.snap | 1 - .../api_op_RetryStageExecution.go.snap | 1 - .../snapshot/api_op_RollbackStage.go.snap | 1 - .../api_op_StartPipelineExecution.go.snap | 1 - .../api_op_StopPipelineExecution.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateActionType.go.snap | 1 - .../snapshot/api_op_UpdatePipeline.go.snap | 1 - service/codestarconnections/api_client.go | 31 -- .../api_op_CreateConnection.go | 3 - .../codestarconnections/api_op_CreateHost.go | 3 - .../api_op_CreateRepositoryLink.go | 3 - .../api_op_CreateSyncConfiguration.go | 3 - .../api_op_DeleteConnection.go | 3 - .../codestarconnections/api_op_DeleteHost.go | 3 - .../api_op_DeleteRepositoryLink.go | 3 - .../api_op_DeleteSyncConfiguration.go | 3 - .../api_op_GetConnection.go | 3 - service/codestarconnections/api_op_GetHost.go | 3 - .../api_op_GetRepositoryLink.go | 3 - .../api_op_GetRepositorySyncStatus.go | 3 - .../api_op_GetResourceSyncStatus.go | 3 - .../api_op_GetSyncBlockerSummary.go | 3 - .../api_op_GetSyncConfiguration.go | 3 - .../api_op_ListConnections.go | 3 - .../codestarconnections/api_op_ListHosts.go | 3 - .../api_op_ListRepositoryLinks.go | 3 - .../api_op_ListRepositorySyncDefinitions.go | 3 - .../api_op_ListSyncConfigurations.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../codestarconnections/api_op_TagResource.go | 3 - .../api_op_UntagResource.go | 3 - .../codestarconnections/api_op_UpdateHost.go | 3 - .../api_op_UpdateRepositoryLink.go | 3 - .../api_op_UpdateSyncBlocker.go | 3 - .../api_op_UpdateSyncConfiguration.go | 3 - .../snapshot/api_op_CreateConnection.go.snap | 1 - .../snapshot/api_op_CreateHost.go.snap | 1 - .../api_op_CreateRepositoryLink.go.snap | 1 - .../api_op_CreateSyncConfiguration.go.snap | 1 - .../snapshot/api_op_DeleteConnection.go.snap | 1 - .../snapshot/api_op_DeleteHost.go.snap | 1 - .../api_op_DeleteRepositoryLink.go.snap | 1 - .../api_op_DeleteSyncConfiguration.go.snap | 1 - .../snapshot/api_op_GetConnection.go.snap | 1 - .../snapshot/api_op_GetHost.go.snap | 1 - .../snapshot/api_op_GetRepositoryLink.go.snap | 1 - .../api_op_GetRepositorySyncStatus.go.snap | 1 - .../api_op_GetResourceSyncStatus.go.snap | 1 - .../api_op_GetSyncBlockerSummary.go.snap | 1 - .../api_op_GetSyncConfiguration.go.snap | 1 - .../snapshot/api_op_ListConnections.go.snap | 1 - .../snapshot/api_op_ListHosts.go.snap | 1 - .../api_op_ListRepositoryLinks.go.snap | 1 - ...i_op_ListRepositorySyncDefinitions.go.snap | 1 - .../api_op_ListSyncConfigurations.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateHost.go.snap | 1 - .../api_op_UpdateRepositoryLink.go.snap | 1 - .../snapshot/api_op_UpdateSyncBlocker.go.snap | 1 - .../api_op_UpdateSyncConfiguration.go.snap | 1 - service/codestarnotifications/api_client.go | 31 -- .../api_op_CreateNotificationRule.go | 3 - .../api_op_DeleteNotificationRule.go | 3 - .../api_op_DeleteTarget.go | 3 - .../api_op_DescribeNotificationRule.go | 3 - .../api_op_ListEventTypes.go | 3 - .../api_op_ListNotificationRules.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_ListTargets.go | 3 - .../codestarnotifications/api_op_Subscribe.go | 3 - .../api_op_TagResource.go | 3 - .../api_op_Unsubscribe.go | 3 - .../api_op_UntagResource.go | 3 - .../api_op_UpdateNotificationRule.go | 3 - .../api_op_CreateNotificationRule.go.snap | 1 - .../api_op_DeleteNotificationRule.go.snap | 1 - .../snapshot/api_op_DeleteTarget.go.snap | 1 - .../api_op_DescribeNotificationRule.go.snap | 1 - .../snapshot/api_op_ListEventTypes.go.snap | 1 - .../api_op_ListNotificationRules.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListTargets.go.snap | 1 - .../snapshot/api_op_Subscribe.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_Unsubscribe.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateNotificationRule.go.snap | 1 - service/cognitoidentity/api_client.go | 31 -- .../api_op_CreateIdentityPool.go | 3 - .../api_op_DeleteIdentities.go | 3 - .../api_op_DeleteIdentityPool.go | 3 - .../api_op_DescribeIdentity.go | 3 - .../api_op_DescribeIdentityPool.go | 3 - .../api_op_GetCredentialsForIdentity.go | 3 - service/cognitoidentity/api_op_GetId.go | 3 - .../api_op_GetIdentityPoolRoles.go | 3 - .../cognitoidentity/api_op_GetOpenIdToken.go | 3 - ...i_op_GetOpenIdTokenForDeveloperIdentity.go | 3 - .../api_op_GetPrincipalTagAttributeMap.go | 3 - .../cognitoidentity/api_op_ListIdentities.go | 3 - .../api_op_ListIdentityPools.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_LookupDeveloperIdentity.go | 3 - .../api_op_MergeDeveloperIdentities.go | 3 - .../api_op_SetIdentityPoolRoles.go | 3 - .../api_op_SetPrincipalTagAttributeMap.go | 3 - service/cognitoidentity/api_op_TagResource.go | 3 - .../api_op_UnlinkDeveloperIdentity.go | 3 - .../cognitoidentity/api_op_UnlinkIdentity.go | 3 - .../cognitoidentity/api_op_UntagResource.go | 3 - .../api_op_UpdateIdentityPool.go | 3 - .../api_op_CreateIdentityPool.go.snap | 1 - .../snapshot/api_op_DeleteIdentities.go.snap | 1 - .../api_op_DeleteIdentityPool.go.snap | 1 - .../snapshot/api_op_DescribeIdentity.go.snap | 1 - .../api_op_DescribeIdentityPool.go.snap | 1 - .../api_op_GetCredentialsForIdentity.go.snap | 1 - .../snapshot/api_op_GetId.go.snap | 1 - .../api_op_GetIdentityPoolRoles.go.snap | 1 - .../snapshot/api_op_GetOpenIdToken.go.snap | 1 - ...GetOpenIdTokenForDeveloperIdentity.go.snap | 1 - ...api_op_GetPrincipalTagAttributeMap.go.snap | 1 - .../snapshot/api_op_ListIdentities.go.snap | 1 - .../snapshot/api_op_ListIdentityPools.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_LookupDeveloperIdentity.go.snap | 1 - .../api_op_MergeDeveloperIdentities.go.snap | 1 - .../api_op_SetIdentityPoolRoles.go.snap | 1 - ...api_op_SetPrincipalTagAttributeMap.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../api_op_UnlinkDeveloperIdentity.go.snap | 1 - .../snapshot/api_op_UnlinkIdentity.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateIdentityPool.go.snap | 1 - service/cognitoidentityprovider/api_client.go | 31 -- .../api_op_AddCustomAttributes.go | 3 - .../api_op_AdminAddUserToGroup.go | 3 - .../api_op_AdminConfirmSignUp.go | 3 - .../api_op_AdminCreateUser.go | 3 - .../api_op_AdminDeleteUser.go | 3 - .../api_op_AdminDeleteUserAttributes.go | 3 - .../api_op_AdminDisableProviderForUser.go | 3 - .../api_op_AdminDisableUser.go | 3 - .../api_op_AdminEnableUser.go | 3 - .../api_op_AdminForgetDevice.go | 3 - .../api_op_AdminGetDevice.go | 3 - .../api_op_AdminGetUser.go | 3 - .../api_op_AdminInitiateAuth.go | 3 - .../api_op_AdminLinkProviderForUser.go | 3 - .../api_op_AdminListDevices.go | 3 - .../api_op_AdminListGroupsForUser.go | 3 - .../api_op_AdminListUserAuthEvents.go | 3 - .../api_op_AdminRemoveUserFromGroup.go | 3 - .../api_op_AdminResetUserPassword.go | 3 - .../api_op_AdminRespondToAuthChallenge.go | 3 - .../api_op_AdminSetUserMFAPreference.go | 3 - .../api_op_AdminSetUserPassword.go | 3 - .../api_op_AdminSetUserSettings.go | 3 - .../api_op_AdminUpdateAuthEventFeedback.go | 3 - .../api_op_AdminUpdateDeviceStatus.go | 3 - .../api_op_AdminUpdateUserAttributes.go | 3 - .../api_op_AdminUserGlobalSignOut.go | 3 - .../api_op_AssociateSoftwareToken.go | 3 - .../api_op_ChangePassword.go | 3 - .../api_op_CompleteWebAuthnRegistration.go | 3 - .../api_op_ConfirmDevice.go | 3 - .../api_op_ConfirmForgotPassword.go | 3 - .../api_op_ConfirmSignUp.go | 3 - .../api_op_CreateGroup.go | 3 - .../api_op_CreateIdentityProvider.go | 3 - .../api_op_CreateManagedLoginBranding.go | 3 - .../api_op_CreateResourceServer.go | 3 - .../api_op_CreateUserImportJob.go | 3 - .../api_op_CreateUserPool.go | 3 - .../api_op_CreateUserPoolClient.go | 3 - .../api_op_CreateUserPoolDomain.go | 3 - .../api_op_DeleteGroup.go | 3 - .../api_op_DeleteIdentityProvider.go | 3 - .../api_op_DeleteManagedLoginBranding.go | 3 - .../api_op_DeleteResourceServer.go | 3 - .../api_op_DeleteUser.go | 3 - .../api_op_DeleteUserAttributes.go | 3 - .../api_op_DeleteUserPool.go | 3 - .../api_op_DeleteUserPoolClient.go | 3 - .../api_op_DeleteUserPoolDomain.go | 3 - .../api_op_DeleteWebAuthnCredential.go | 3 - .../api_op_DescribeIdentityProvider.go | 3 - .../api_op_DescribeManagedLoginBranding.go | 3 - ...op_DescribeManagedLoginBrandingByClient.go | 3 - .../api_op_DescribeResourceServer.go | 3 - .../api_op_DescribeRiskConfiguration.go | 3 - .../api_op_DescribeUserImportJob.go | 3 - .../api_op_DescribeUserPool.go | 3 - .../api_op_DescribeUserPoolClient.go | 3 - .../api_op_DescribeUserPoolDomain.go | 3 - .../api_op_ForgetDevice.go | 3 - .../api_op_ForgotPassword.go | 3 - .../api_op_GetCSVHeader.go | 3 - .../api_op_GetDevice.go | 3 - .../api_op_GetGroup.go | 3 - .../api_op_GetIdentityProviderByIdentifier.go | 3 - .../api_op_GetLogDeliveryConfiguration.go | 3 - .../api_op_GetSigningCertificate.go | 3 - .../api_op_GetUICustomization.go | 3 - .../cognitoidentityprovider/api_op_GetUser.go | 3 - ...api_op_GetUserAttributeVerificationCode.go | 3 - .../api_op_GetUserAuthFactors.go | 3 - .../api_op_GetUserPoolMfaConfig.go | 3 - .../api_op_GlobalSignOut.go | 3 - .../api_op_InitiateAuth.go | 3 - .../api_op_ListDevices.go | 3 - .../api_op_ListGroups.go | 3 - .../api_op_ListIdentityProviders.go | 3 - .../api_op_ListResourceServers.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_ListUserImportJobs.go | 3 - .../api_op_ListUserPoolClients.go | 3 - .../api_op_ListUserPools.go | 3 - .../api_op_ListUsers.go | 3 - .../api_op_ListUsersInGroup.go | 3 - .../api_op_ListWebAuthnCredentials.go | 3 - .../api_op_ResendConfirmationCode.go | 3 - .../api_op_RespondToAuthChallenge.go | 3 - .../api_op_RevokeToken.go | 3 - .../api_op_SetLogDeliveryConfiguration.go | 3 - .../api_op_SetRiskConfiguration.go | 3 - .../api_op_SetUICustomization.go | 3 - .../api_op_SetUserMFAPreference.go | 3 - .../api_op_SetUserPoolMfaConfig.go | 3 - .../api_op_SetUserSettings.go | 3 - .../cognitoidentityprovider/api_op_SignUp.go | 3 - .../api_op_StartUserImportJob.go | 3 - .../api_op_StartWebAuthnRegistration.go | 3 - .../api_op_StopUserImportJob.go | 3 - .../api_op_TagResource.go | 3 - .../api_op_UntagResource.go | 3 - .../api_op_UpdateAuthEventFeedback.go | 3 - .../api_op_UpdateDeviceStatus.go | 3 - .../api_op_UpdateGroup.go | 3 - .../api_op_UpdateIdentityProvider.go | 3 - .../api_op_UpdateManagedLoginBranding.go | 3 - .../api_op_UpdateResourceServer.go | 3 - .../api_op_UpdateUserAttributes.go | 3 - .../api_op_UpdateUserPool.go | 3 - .../api_op_UpdateUserPoolClient.go | 3 - .../api_op_UpdateUserPoolDomain.go | 3 - .../api_op_VerifySoftwareToken.go | 3 - .../api_op_VerifyUserAttribute.go | 3 - .../api_op_AddCustomAttributes.go.snap | 1 - .../api_op_AdminAddUserToGroup.go.snap | 1 - .../api_op_AdminConfirmSignUp.go.snap | 1 - .../snapshot/api_op_AdminCreateUser.go.snap | 1 - .../snapshot/api_op_AdminDeleteUser.go.snap | 1 - .../api_op_AdminDeleteUserAttributes.go.snap | 1 - ...api_op_AdminDisableProviderForUser.go.snap | 1 - .../snapshot/api_op_AdminDisableUser.go.snap | 1 - .../snapshot/api_op_AdminEnableUser.go.snap | 1 - .../snapshot/api_op_AdminForgetDevice.go.snap | 1 - .../snapshot/api_op_AdminGetDevice.go.snap | 1 - .../snapshot/api_op_AdminGetUser.go.snap | 1 - .../snapshot/api_op_AdminInitiateAuth.go.snap | 1 - .../api_op_AdminLinkProviderForUser.go.snap | 1 - .../snapshot/api_op_AdminListDevices.go.snap | 1 - .../api_op_AdminListGroupsForUser.go.snap | 1 - .../api_op_AdminListUserAuthEvents.go.snap | 1 - .../api_op_AdminRemoveUserFromGroup.go.snap | 1 - .../api_op_AdminResetUserPassword.go.snap | 1 - ...api_op_AdminRespondToAuthChallenge.go.snap | 1 - .../api_op_AdminSetUserMFAPreference.go.snap | 1 - .../api_op_AdminSetUserPassword.go.snap | 1 - .../api_op_AdminSetUserSettings.go.snap | 1 - ...pi_op_AdminUpdateAuthEventFeedback.go.snap | 1 - .../api_op_AdminUpdateDeviceStatus.go.snap | 1 - .../api_op_AdminUpdateUserAttributes.go.snap | 1 - .../api_op_AdminUserGlobalSignOut.go.snap | 1 - .../api_op_AssociateSoftwareToken.go.snap | 1 - .../snapshot/api_op_ChangePassword.go.snap | 1 - ...pi_op_CompleteWebAuthnRegistration.go.snap | 1 - .../snapshot/api_op_ConfirmDevice.go.snap | 1 - .../api_op_ConfirmForgotPassword.go.snap | 1 - .../snapshot/api_op_ConfirmSignUp.go.snap | 1 - .../snapshot/api_op_CreateGroup.go.snap | 1 - .../api_op_CreateIdentityProvider.go.snap | 1 - .../api_op_CreateManagedLoginBranding.go.snap | 1 - .../api_op_CreateResourceServer.go.snap | 1 - .../api_op_CreateUserImportJob.go.snap | 1 - .../snapshot/api_op_CreateUserPool.go.snap | 1 - .../api_op_CreateUserPoolClient.go.snap | 1 - .../api_op_CreateUserPoolDomain.go.snap | 1 - .../snapshot/api_op_DeleteGroup.go.snap | 1 - .../api_op_DeleteIdentityProvider.go.snap | 1 - .../api_op_DeleteManagedLoginBranding.go.snap | 1 - .../api_op_DeleteResourceServer.go.snap | 1 - .../snapshot/api_op_DeleteUser.go.snap | 1 - .../api_op_DeleteUserAttributes.go.snap | 1 - .../snapshot/api_op_DeleteUserPool.go.snap | 1 - .../api_op_DeleteUserPoolClient.go.snap | 1 - .../api_op_DeleteUserPoolDomain.go.snap | 1 - .../api_op_DeleteWebAuthnCredential.go.snap | 1 - .../api_op_DescribeIdentityProvider.go.snap | 1 - ...pi_op_DescribeManagedLoginBranding.go.snap | 1 - ...scribeManagedLoginBrandingByClient.go.snap | 1 - .../api_op_DescribeResourceServer.go.snap | 1 - .../api_op_DescribeRiskConfiguration.go.snap | 1 - .../api_op_DescribeUserImportJob.go.snap | 1 - .../snapshot/api_op_DescribeUserPool.go.snap | 1 - .../api_op_DescribeUserPoolClient.go.snap | 1 - .../api_op_DescribeUserPoolDomain.go.snap | 1 - .../snapshot/api_op_ForgetDevice.go.snap | 1 - .../snapshot/api_op_ForgotPassword.go.snap | 1 - .../snapshot/api_op_GetCSVHeader.go.snap | 1 - .../snapshot/api_op_GetDevice.go.snap | 1 - .../snapshot/api_op_GetGroup.go.snap | 1 - ...op_GetIdentityProviderByIdentifier.go.snap | 1 - ...api_op_GetLogDeliveryConfiguration.go.snap | 1 - .../api_op_GetSigningCertificate.go.snap | 1 - .../api_op_GetUICustomization.go.snap | 1 - .../snapshot/api_op_GetUser.go.snap | 1 - ...p_GetUserAttributeVerificationCode.go.snap | 1 - .../api_op_GetUserAuthFactors.go.snap | 1 - .../api_op_GetUserPoolMfaConfig.go.snap | 1 - .../snapshot/api_op_GlobalSignOut.go.snap | 1 - .../snapshot/api_op_InitiateAuth.go.snap | 1 - .../snapshot/api_op_ListDevices.go.snap | 1 - .../snapshot/api_op_ListGroups.go.snap | 1 - .../api_op_ListIdentityProviders.go.snap | 1 - .../api_op_ListResourceServers.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListUserImportJobs.go.snap | 1 - .../api_op_ListUserPoolClients.go.snap | 1 - .../snapshot/api_op_ListUserPools.go.snap | 1 - .../snapshot/api_op_ListUsers.go.snap | 1 - .../snapshot/api_op_ListUsersInGroup.go.snap | 1 - .../api_op_ListWebAuthnCredentials.go.snap | 1 - .../api_op_ResendConfirmationCode.go.snap | 1 - .../api_op_RespondToAuthChallenge.go.snap | 1 - .../snapshot/api_op_RevokeToken.go.snap | 1 - ...api_op_SetLogDeliveryConfiguration.go.snap | 1 - .../api_op_SetRiskConfiguration.go.snap | 1 - .../api_op_SetUICustomization.go.snap | 1 - .../api_op_SetUserMFAPreference.go.snap | 1 - .../api_op_SetUserPoolMfaConfig.go.snap | 1 - .../snapshot/api_op_SetUserSettings.go.snap | 1 - .../snapshot/api_op_SignUp.go.snap | 1 - .../api_op_StartUserImportJob.go.snap | 1 - .../api_op_StartWebAuthnRegistration.go.snap | 1 - .../snapshot/api_op_StopUserImportJob.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateAuthEventFeedback.go.snap | 1 - .../api_op_UpdateDeviceStatus.go.snap | 1 - .../snapshot/api_op_UpdateGroup.go.snap | 1 - .../api_op_UpdateIdentityProvider.go.snap | 1 - .../api_op_UpdateManagedLoginBranding.go.snap | 1 - .../api_op_UpdateResourceServer.go.snap | 1 - .../api_op_UpdateUserAttributes.go.snap | 1 - .../snapshot/api_op_UpdateUserPool.go.snap | 1 - .../api_op_UpdateUserPoolClient.go.snap | 1 - .../api_op_UpdateUserPoolDomain.go.snap | 1 - .../api_op_VerifySoftwareToken.go.snap | 1 - .../api_op_VerifyUserAttribute.go.snap | 1 - service/cognitosync/api_client.go | 31 -- service/cognitosync/api_op_BulkPublish.go | 3 - service/cognitosync/api_op_DeleteDataset.go | 3 - service/cognitosync/api_op_DescribeDataset.go | 3 - .../api_op_DescribeIdentityPoolUsage.go | 3 - .../api_op_DescribeIdentityUsage.go | 3 - .../api_op_GetBulkPublishDetails.go | 3 - .../cognitosync/api_op_GetCognitoEvents.go | 3 - .../api_op_GetIdentityPoolConfiguration.go | 3 - service/cognitosync/api_op_ListDatasets.go | 3 - .../api_op_ListIdentityPoolUsage.go | 3 - service/cognitosync/api_op_ListRecords.go | 3 - service/cognitosync/api_op_RegisterDevice.go | 3 - .../cognitosync/api_op_SetCognitoEvents.go | 3 - .../api_op_SetIdentityPoolConfiguration.go | 3 - .../cognitosync/api_op_SubscribeToDataset.go | 3 - .../api_op_UnsubscribeFromDataset.go | 3 - service/cognitosync/api_op_UpdateRecords.go | 3 - .../snapshot/api_op_BulkPublish.go.snap | 1 - .../snapshot/api_op_DeleteDataset.go.snap | 1 - .../snapshot/api_op_DescribeDataset.go.snap | 1 - .../api_op_DescribeIdentityPoolUsage.go.snap | 1 - .../api_op_DescribeIdentityUsage.go.snap | 1 - .../api_op_GetBulkPublishDetails.go.snap | 1 - .../snapshot/api_op_GetCognitoEvents.go.snap | 1 - ...pi_op_GetIdentityPoolConfiguration.go.snap | 1 - .../snapshot/api_op_ListDatasets.go.snap | 1 - .../api_op_ListIdentityPoolUsage.go.snap | 1 - .../snapshot/api_op_ListRecords.go.snap | 1 - .../snapshot/api_op_RegisterDevice.go.snap | 1 - .../snapshot/api_op_SetCognitoEvents.go.snap | 1 - ...pi_op_SetIdentityPoolConfiguration.go.snap | 1 - .../api_op_SubscribeToDataset.go.snap | 1 - .../api_op_UnsubscribeFromDataset.go.snap | 1 - .../snapshot/api_op_UpdateRecords.go.snap | 1 - service/comprehend/api_client.go | 31 -- .../api_op_BatchDetectDominantLanguage.go | 3 - .../comprehend/api_op_BatchDetectEntities.go | 3 - .../api_op_BatchDetectKeyPhrases.go | 3 - .../comprehend/api_op_BatchDetectSentiment.go | 3 - .../comprehend/api_op_BatchDetectSyntax.go | 3 - .../api_op_BatchDetectTargetedSentiment.go | 3 - service/comprehend/api_op_ClassifyDocument.go | 3 - .../comprehend/api_op_ContainsPiiEntities.go | 3 - service/comprehend/api_op_CreateDataset.go | 3 - .../api_op_CreateDocumentClassifier.go | 3 - service/comprehend/api_op_CreateEndpoint.go | 3 - .../api_op_CreateEntityRecognizer.go | 3 - service/comprehend/api_op_CreateFlywheel.go | 3 - .../api_op_DeleteDocumentClassifier.go | 3 - service/comprehend/api_op_DeleteEndpoint.go | 3 - .../api_op_DeleteEntityRecognizer.go | 3 - service/comprehend/api_op_DeleteFlywheel.go | 3 - .../comprehend/api_op_DeleteResourcePolicy.go | 3 - service/comprehend/api_op_DescribeDataset.go | 3 - ...pi_op_DescribeDocumentClassificationJob.go | 3 - .../api_op_DescribeDocumentClassifier.go | 3 - ...op_DescribeDominantLanguageDetectionJob.go | 3 - service/comprehend/api_op_DescribeEndpoint.go | 3 - .../api_op_DescribeEntitiesDetectionJob.go | 3 - .../api_op_DescribeEntityRecognizer.go | 3 - .../api_op_DescribeEventsDetectionJob.go | 3 - service/comprehend/api_op_DescribeFlywheel.go | 3 - .../api_op_DescribeFlywheelIteration.go | 3 - .../api_op_DescribeKeyPhrasesDetectionJob.go | 3 - .../api_op_DescribePiiEntitiesDetectionJob.go | 3 - .../api_op_DescribeResourcePolicy.go | 3 - .../api_op_DescribeSentimentDetectionJob.go | 3 - ...p_DescribeTargetedSentimentDetectionJob.go | 3 - .../api_op_DescribeTopicsDetectionJob.go | 3 - .../api_op_DetectDominantLanguage.go | 3 - service/comprehend/api_op_DetectEntities.go | 3 - service/comprehend/api_op_DetectKeyPhrases.go | 3 - .../comprehend/api_op_DetectPiiEntities.go | 3 - service/comprehend/api_op_DetectSentiment.go | 3 - service/comprehend/api_op_DetectSyntax.go | 3 - .../api_op_DetectTargetedSentiment.go | 3 - .../comprehend/api_op_DetectToxicContent.go | 3 - service/comprehend/api_op_ImportModel.go | 3 - service/comprehend/api_op_ListDatasets.go | 3 - .../api_op_ListDocumentClassificationJobs.go | 3 - .../api_op_ListDocumentClassifierSummaries.go | 3 - .../api_op_ListDocumentClassifiers.go | 3 - ...pi_op_ListDominantLanguageDetectionJobs.go | 3 - service/comprehend/api_op_ListEndpoints.go | 3 - .../api_op_ListEntitiesDetectionJobs.go | 3 - .../api_op_ListEntityRecognizerSummaries.go | 3 - .../api_op_ListEntityRecognizers.go | 3 - .../api_op_ListEventsDetectionJobs.go | 3 - .../api_op_ListFlywheelIterationHistory.go | 3 - service/comprehend/api_op_ListFlywheels.go | 3 - .../api_op_ListKeyPhrasesDetectionJobs.go | 3 - .../api_op_ListPiiEntitiesDetectionJobs.go | 3 - .../api_op_ListSentimentDetectionJobs.go | 3 - .../comprehend/api_op_ListTagsForResource.go | 3 - ...i_op_ListTargetedSentimentDetectionJobs.go | 3 - .../api_op_ListTopicsDetectionJobs.go | 3 - .../comprehend/api_op_PutResourcePolicy.go | 3 - .../api_op_StartDocumentClassificationJob.go | 3 - ...pi_op_StartDominantLanguageDetectionJob.go | 3 - .../api_op_StartEntitiesDetectionJob.go | 3 - .../api_op_StartEventsDetectionJob.go | 3 - .../api_op_StartFlywheelIteration.go | 3 - .../api_op_StartKeyPhrasesDetectionJob.go | 3 - .../api_op_StartPiiEntitiesDetectionJob.go | 3 - .../api_op_StartSentimentDetectionJob.go | 3 - ...i_op_StartTargetedSentimentDetectionJob.go | 3 - .../api_op_StartTopicsDetectionJob.go | 3 - ...api_op_StopDominantLanguageDetectionJob.go | 3 - .../api_op_StopEntitiesDetectionJob.go | 3 - .../api_op_StopEventsDetectionJob.go | 3 - .../api_op_StopKeyPhrasesDetectionJob.go | 3 - .../api_op_StopPiiEntitiesDetectionJob.go | 3 - .../api_op_StopSentimentDetectionJob.go | 3 - ...pi_op_StopTargetedSentimentDetectionJob.go | 3 - .../api_op_StopTrainingDocumentClassifier.go | 3 - .../api_op_StopTrainingEntityRecognizer.go | 3 - service/comprehend/api_op_TagResource.go | 3 - service/comprehend/api_op_UntagResource.go | 3 - service/comprehend/api_op_UpdateEndpoint.go | 3 - service/comprehend/api_op_UpdateFlywheel.go | 3 - ...api_op_BatchDetectDominantLanguage.go.snap | 1 - .../api_op_BatchDetectEntities.go.snap | 1 - .../api_op_BatchDetectKeyPhrases.go.snap | 1 - .../api_op_BatchDetectSentiment.go.snap | 1 - .../snapshot/api_op_BatchDetectSyntax.go.snap | 1 - ...pi_op_BatchDetectTargetedSentiment.go.snap | 1 - .../snapshot/api_op_ClassifyDocument.go.snap | 1 - .../api_op_ContainsPiiEntities.go.snap | 1 - .../snapshot/api_op_CreateDataset.go.snap | 1 - .../api_op_CreateDocumentClassifier.go.snap | 1 - .../snapshot/api_op_CreateEndpoint.go.snap | 1 - .../api_op_CreateEntityRecognizer.go.snap | 1 - .../snapshot/api_op_CreateFlywheel.go.snap | 1 - .../api_op_DeleteDocumentClassifier.go.snap | 1 - .../snapshot/api_op_DeleteEndpoint.go.snap | 1 - .../api_op_DeleteEntityRecognizer.go.snap | 1 - .../snapshot/api_op_DeleteFlywheel.go.snap | 1 - .../api_op_DeleteResourcePolicy.go.snap | 1 - .../snapshot/api_op_DescribeDataset.go.snap | 1 - ..._DescribeDocumentClassificationJob.go.snap | 1 - .../api_op_DescribeDocumentClassifier.go.snap | 1 - ...scribeDominantLanguageDetectionJob.go.snap | 1 - .../snapshot/api_op_DescribeEndpoint.go.snap | 1 - ...pi_op_DescribeEntitiesDetectionJob.go.snap | 1 - .../api_op_DescribeEntityRecognizer.go.snap | 1 - .../api_op_DescribeEventsDetectionJob.go.snap | 1 - .../snapshot/api_op_DescribeFlywheel.go.snap | 1 - .../api_op_DescribeFlywheelIteration.go.snap | 1 - ..._op_DescribeKeyPhrasesDetectionJob.go.snap | 1 - ...op_DescribePiiEntitiesDetectionJob.go.snap | 1 - .../api_op_DescribeResourcePolicy.go.snap | 1 - ...i_op_DescribeSentimentDetectionJob.go.snap | 1 - ...cribeTargetedSentimentDetectionJob.go.snap | 1 - .../api_op_DescribeTopicsDetectionJob.go.snap | 1 - .../api_op_DetectDominantLanguage.go.snap | 1 - .../snapshot/api_op_DetectEntities.go.snap | 1 - .../snapshot/api_op_DetectKeyPhrases.go.snap | 1 - .../snapshot/api_op_DetectPiiEntities.go.snap | 1 - .../snapshot/api_op_DetectSentiment.go.snap | 1 - .../snapshot/api_op_DetectSyntax.go.snap | 1 - .../api_op_DetectTargetedSentiment.go.snap | 1 - .../api_op_DetectToxicContent.go.snap | 1 - .../snapshot/api_op_ImportModel.go.snap | 1 - .../snapshot/api_op_ListDatasets.go.snap | 1 - ..._op_ListDocumentClassificationJobs.go.snap | 1 - ...op_ListDocumentClassifierSummaries.go.snap | 1 - .../api_op_ListDocumentClassifiers.go.snap | 1 - ..._ListDominantLanguageDetectionJobs.go.snap | 1 - .../snapshot/api_op_ListEndpoints.go.snap | 1 - .../api_op_ListEntitiesDetectionJobs.go.snap | 1 - ...i_op_ListEntityRecognizerSummaries.go.snap | 1 - .../api_op_ListEntityRecognizers.go.snap | 1 - .../api_op_ListEventsDetectionJobs.go.snap | 1 - ...pi_op_ListFlywheelIterationHistory.go.snap | 1 - .../snapshot/api_op_ListFlywheels.go.snap | 1 - ...api_op_ListKeyPhrasesDetectionJobs.go.snap | 1 - ...pi_op_ListPiiEntitiesDetectionJobs.go.snap | 1 - .../api_op_ListSentimentDetectionJobs.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - ...ListTargetedSentimentDetectionJobs.go.snap | 1 - .../api_op_ListTopicsDetectionJobs.go.snap | 1 - .../snapshot/api_op_PutResourcePolicy.go.snap | 1 - ..._op_StartDocumentClassificationJob.go.snap | 1 - ..._StartDominantLanguageDetectionJob.go.snap | 1 - .../api_op_StartEntitiesDetectionJob.go.snap | 1 - .../api_op_StartEventsDetectionJob.go.snap | 1 - .../api_op_StartFlywheelIteration.go.snap | 1 - ...api_op_StartKeyPhrasesDetectionJob.go.snap | 1 - ...pi_op_StartPiiEntitiesDetectionJob.go.snap | 1 - .../api_op_StartSentimentDetectionJob.go.snap | 1 - ...StartTargetedSentimentDetectionJob.go.snap | 1 - .../api_op_StartTopicsDetectionJob.go.snap | 1 - ...p_StopDominantLanguageDetectionJob.go.snap | 1 - .../api_op_StopEntitiesDetectionJob.go.snap | 1 - .../api_op_StopEventsDetectionJob.go.snap | 1 - .../api_op_StopKeyPhrasesDetectionJob.go.snap | 1 - ...api_op_StopPiiEntitiesDetectionJob.go.snap | 1 - .../api_op_StopSentimentDetectionJob.go.snap | 1 - ..._StopTargetedSentimentDetectionJob.go.snap | 1 - ..._op_StopTrainingDocumentClassifier.go.snap | 1 - ...pi_op_StopTrainingEntityRecognizer.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateEndpoint.go.snap | 1 - .../snapshot/api_op_UpdateFlywheel.go.snap | 1 - service/comprehendmedical/api_client.go | 31 -- .../api_op_DescribeEntitiesDetectionV2Job.go | 3 - .../api_op_DescribeICD10CMInferenceJob.go | 3 - .../api_op_DescribePHIDetectionJob.go | 3 - .../api_op_DescribeRxNormInferenceJob.go | 3 - .../api_op_DescribeSNOMEDCTInferenceJob.go | 3 - .../api_op_DetectEntities.go | 3 - .../api_op_DetectEntitiesV2.go | 3 - service/comprehendmedical/api_op_DetectPHI.go | 3 - .../comprehendmedical/api_op_InferICD10CM.go | 3 - .../comprehendmedical/api_op_InferRxNorm.go | 3 - .../comprehendmedical/api_op_InferSNOMEDCT.go | 3 - .../api_op_ListEntitiesDetectionV2Jobs.go | 3 - .../api_op_ListICD10CMInferenceJobs.go | 3 - .../api_op_ListPHIDetectionJobs.go | 3 - .../api_op_ListRxNormInferenceJobs.go | 3 - .../api_op_ListSNOMEDCTInferenceJobs.go | 3 - .../api_op_StartEntitiesDetectionV2Job.go | 3 - .../api_op_StartICD10CMInferenceJob.go | 3 - .../api_op_StartPHIDetectionJob.go | 3 - .../api_op_StartRxNormInferenceJob.go | 3 - .../api_op_StartSNOMEDCTInferenceJob.go | 3 - .../api_op_StopEntitiesDetectionV2Job.go | 3 - .../api_op_StopICD10CMInferenceJob.go | 3 - .../api_op_StopPHIDetectionJob.go | 3 - .../api_op_StopRxNormInferenceJob.go | 3 - .../api_op_StopSNOMEDCTInferenceJob.go | 3 - ..._op_DescribeEntitiesDetectionV2Job.go.snap | 1 - ...api_op_DescribeICD10CMInferenceJob.go.snap | 1 - .../api_op_DescribePHIDetectionJob.go.snap | 1 - .../api_op_DescribeRxNormInferenceJob.go.snap | 1 - ...pi_op_DescribeSNOMEDCTInferenceJob.go.snap | 1 - .../snapshot/api_op_DetectEntities.go.snap | 1 - .../snapshot/api_op_DetectEntitiesV2.go.snap | 1 - .../snapshot/api_op_DetectPHI.go.snap | 1 - .../snapshot/api_op_InferICD10CM.go.snap | 1 - .../snapshot/api_op_InferRxNorm.go.snap | 1 - .../snapshot/api_op_InferSNOMEDCT.go.snap | 1 - ...api_op_ListEntitiesDetectionV2Jobs.go.snap | 1 - .../api_op_ListICD10CMInferenceJobs.go.snap | 1 - .../api_op_ListPHIDetectionJobs.go.snap | 1 - .../api_op_ListRxNormInferenceJobs.go.snap | 1 - .../api_op_ListSNOMEDCTInferenceJobs.go.snap | 1 - ...api_op_StartEntitiesDetectionV2Job.go.snap | 1 - .../api_op_StartICD10CMInferenceJob.go.snap | 1 - .../api_op_StartPHIDetectionJob.go.snap | 1 - .../api_op_StartRxNormInferenceJob.go.snap | 1 - .../api_op_StartSNOMEDCTInferenceJob.go.snap | 1 - .../api_op_StopEntitiesDetectionV2Job.go.snap | 1 - .../api_op_StopICD10CMInferenceJob.go.snap | 1 - .../api_op_StopPHIDetectionJob.go.snap | 1 - .../api_op_StopRxNormInferenceJob.go.snap | 1 - .../api_op_StopSNOMEDCTInferenceJob.go.snap | 1 - service/computeoptimizer/api_client.go | 31 -- .../api_op_DeleteRecommendationPreferences.go | 3 - ...api_op_DescribeRecommendationExportJobs.go | 3 - ...p_ExportAutoScalingGroupRecommendations.go | 3 - .../api_op_ExportEBSVolumeRecommendations.go | 3 - ...api_op_ExportEC2InstanceRecommendations.go | 3 - .../api_op_ExportECSServiceRecommendations.go | 3 - .../api_op_ExportIdleRecommendations.go | 3 - ..._op_ExportLambdaFunctionRecommendations.go | 3 - .../api_op_ExportLicenseRecommendations.go | 3 - ...api_op_ExportRDSDatabaseRecommendations.go | 3 - ...i_op_GetAutoScalingGroupRecommendations.go | 3 - .../api_op_GetEBSVolumeRecommendations.go | 3 - .../api_op_GetEC2InstanceRecommendations.go | 3 - ...op_GetEC2RecommendationProjectedMetrics.go | 3 - ...CSServiceRecommendationProjectedMetrics.go | 3 - .../api_op_GetECSServiceRecommendations.go | 3 - ...p_GetEffectiveRecommendationPreferences.go | 3 - .../api_op_GetEnrollmentStatus.go | 3 - ...op_GetEnrollmentStatusesForOrganization.go | 3 - .../api_op_GetIdleRecommendations.go | 3 - ...api_op_GetLambdaFunctionRecommendations.go | 3 - .../api_op_GetLicenseRecommendations.go | 3 - ...SDatabaseRecommendationProjectedMetrics.go | 3 - .../api_op_GetRDSDatabaseRecommendations.go | 3 - .../api_op_GetRecommendationPreferences.go | 3 - .../api_op_GetRecommendationSummaries.go | 3 - .../api_op_PutRecommendationPreferences.go | 3 - .../api_op_UpdateEnrollmentStatus.go | 3 - ...op_DeleteRecommendationPreferences.go.snap | 1 - ...p_DescribeRecommendationExportJobs.go.snap | 1 - ...ortAutoScalingGroupRecommendations.go.snap | 1 - ..._op_ExportEBSVolumeRecommendations.go.snap | 1 - ...p_ExportEC2InstanceRecommendations.go.snap | 1 - ...op_ExportECSServiceRecommendations.go.snap | 1 - .../api_op_ExportIdleRecommendations.go.snap | 1 - ...xportLambdaFunctionRecommendations.go.snap | 1 - ...pi_op_ExportLicenseRecommendations.go.snap | 1 - ...p_ExportRDSDatabaseRecommendations.go.snap | 1 - ...GetAutoScalingGroupRecommendations.go.snap | 1 - ...api_op_GetEBSVolumeRecommendations.go.snap | 1 - ...i_op_GetEC2InstanceRecommendations.go.snap | 1 - ...tEC2RecommendationProjectedMetrics.go.snap | 1 - ...viceRecommendationProjectedMetrics.go.snap | 1 - ...pi_op_GetECSServiceRecommendations.go.snap | 1 - ...EffectiveRecommendationPreferences.go.snap | 1 - .../api_op_GetEnrollmentStatus.go.snap | 1 - ...tEnrollmentStatusesForOrganization.go.snap | 1 - .../api_op_GetIdleRecommendations.go.snap | 1 - ...p_GetLambdaFunctionRecommendations.go.snap | 1 - .../api_op_GetLicenseRecommendations.go.snap | 1 - ...baseRecommendationProjectedMetrics.go.snap | 1 - ...i_op_GetRDSDatabaseRecommendations.go.snap | 1 - ...pi_op_GetRecommendationPreferences.go.snap | 1 - .../api_op_GetRecommendationSummaries.go.snap | 1 - ...pi_op_PutRecommendationPreferences.go.snap | 1 - .../api_op_UpdateEnrollmentStatus.go.snap | 1 - service/configservice/api_client.go | 31 -- .../api_op_AssociateResourceTypes.go | 3 - .../api_op_BatchGetAggregateResourceConfig.go | 3 - .../api_op_BatchGetResourceConfig.go | 3 - .../api_op_DeleteAggregationAuthorization.go | 3 - .../configservice/api_op_DeleteConfigRule.go | 3 - .../api_op_DeleteConfigurationAggregator.go | 3 - .../api_op_DeleteConfigurationRecorder.go | 3 - .../api_op_DeleteConformancePack.go | 3 - .../api_op_DeleteDeliveryChannel.go | 3 - .../api_op_DeleteEvaluationResults.go | 3 - .../api_op_DeleteOrganizationConfigRule.go | 3 - ...pi_op_DeleteOrganizationConformancePack.go | 3 - .../api_op_DeletePendingAggregationRequest.go | 3 - .../api_op_DeleteRemediationConfiguration.go | 3 - .../api_op_DeleteRemediationExceptions.go | 3 - .../api_op_DeleteResourceConfig.go | 3 - .../api_op_DeleteRetentionConfiguration.go | 3 - ...eleteServiceLinkedConfigurationRecorder.go | 3 - .../configservice/api_op_DeleteStoredQuery.go | 3 - .../api_op_DeliverConfigSnapshot.go | 3 - ...escribeAggregateComplianceByConfigRules.go | 3 - ...beAggregateComplianceByConformancePacks.go | 3 - ...pi_op_DescribeAggregationAuthorizations.go | 3 - .../api_op_DescribeComplianceByConfigRule.go | 3 - .../api_op_DescribeComplianceByResource.go | 3 - ...i_op_DescribeConfigRuleEvaluationStatus.go | 3 - .../api_op_DescribeConfigRules.go | 3 - ...ibeConfigurationAggregatorSourcesStatus.go | 3 - ...api_op_DescribeConfigurationAggregators.go | 3 - ..._op_DescribeConfigurationRecorderStatus.go | 3 - .../api_op_DescribeConfigurationRecorders.go | 3 - ...pi_op_DescribeConformancePackCompliance.go | 3 - .../api_op_DescribeConformancePackStatus.go | 3 - .../api_op_DescribeConformancePacks.go | 3 - .../api_op_DescribeDeliveryChannelStatus.go | 3 - .../api_op_DescribeDeliveryChannels.go | 3 - ..._DescribeOrganizationConfigRuleStatuses.go | 3 - .../api_op_DescribeOrganizationConfigRules.go | 3 - ...ribeOrganizationConformancePackStatuses.go | 3 - ...op_DescribeOrganizationConformancePacks.go | 3 - ...i_op_DescribePendingAggregationRequests.go | 3 - ...pi_op_DescribeRemediationConfigurations.go | 3 - .../api_op_DescribeRemediationExceptions.go | 3 - ...i_op_DescribeRemediationExecutionStatus.go | 3 - .../api_op_DescribeRetentionConfigurations.go | 3 - .../api_op_DisassociateResourceTypes.go | 3 - ...tAggregateComplianceDetailsByConfigRule.go | 3 - ...GetAggregateConfigRuleComplianceSummary.go | 3 - ...gregateConformancePackComplianceSummary.go | 3 - ...op_GetAggregateDiscoveredResourceCounts.go | 3 - .../api_op_GetAggregateResourceConfig.go | 3 - ...api_op_GetComplianceDetailsByConfigRule.go | 3 - .../api_op_GetComplianceDetailsByResource.go | 3 - ...api_op_GetComplianceSummaryByConfigRule.go | 3 - ...i_op_GetComplianceSummaryByResourceType.go | 3 - ..._op_GetConformancePackComplianceDetails.go | 3 - ..._op_GetConformancePackComplianceSummary.go | 3 - .../api_op_GetCustomRulePolicy.go | 3 - .../api_op_GetDiscoveredResourceCounts.go | 3 - ...GetOrganizationConfigRuleDetailedStatus.go | 3 - ...ganizationConformancePackDetailedStatus.go | 3 - .../api_op_GetOrganizationCustomRulePolicy.go | 3 - .../api_op_GetResourceConfigHistory.go | 3 - .../api_op_GetResourceEvaluationSummary.go | 3 - .../configservice/api_op_GetStoredQuery.go | 3 - ...api_op_ListAggregateDiscoveredResources.go | 3 - .../api_op_ListConfigurationRecorders.go | 3 - ..._op_ListConformancePackComplianceScores.go | 3 - .../api_op_ListDiscoveredResources.go | 3 - .../api_op_ListResourceEvaluations.go | 3 - .../configservice/api_op_ListStoredQueries.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_PutAggregationAuthorization.go | 3 - service/configservice/api_op_PutConfigRule.go | 3 - .../api_op_PutConfigurationAggregator.go | 3 - .../api_op_PutConfigurationRecorder.go | 3 - .../api_op_PutConformancePack.go | 3 - .../api_op_PutDeliveryChannel.go | 3 - .../configservice/api_op_PutEvaluations.go | 3 - .../api_op_PutExternalEvaluation.go | 3 - .../api_op_PutOrganizationConfigRule.go | 3 - .../api_op_PutOrganizationConformancePack.go | 3 - .../api_op_PutRemediationConfigurations.go | 3 - .../api_op_PutRemediationExceptions.go | 3 - .../configservice/api_op_PutResourceConfig.go | 3 - .../api_op_PutRetentionConfiguration.go | 3 - ...p_PutServiceLinkedConfigurationRecorder.go | 3 - .../configservice/api_op_PutStoredQuery.go | 3 - .../api_op_SelectAggregateResourceConfig.go | 3 - .../api_op_SelectResourceConfig.go | 3 - .../api_op_StartConfigRulesEvaluation.go | 3 - .../api_op_StartConfigurationRecorder.go | 3 - .../api_op_StartRemediationExecution.go | 3 - .../api_op_StartResourceEvaluation.go | 3 - .../api_op_StopConfigurationRecorder.go | 3 - service/configservice/api_op_TagResource.go | 3 - service/configservice/api_op_UntagResource.go | 3 - .../api_op_AssociateResourceTypes.go.snap | 1 - ...op_BatchGetAggregateResourceConfig.go.snap | 1 - .../api_op_BatchGetResourceConfig.go.snap | 1 - ..._op_DeleteAggregationAuthorization.go.snap | 1 - .../snapshot/api_op_DeleteConfigRule.go.snap | 1 - ...i_op_DeleteConfigurationAggregator.go.snap | 1 - ...api_op_DeleteConfigurationRecorder.go.snap | 1 - .../api_op_DeleteConformancePack.go.snap | 1 - .../api_op_DeleteDeliveryChannel.go.snap | 1 - .../api_op_DeleteEvaluationResults.go.snap | 1 - ...pi_op_DeleteOrganizationConfigRule.go.snap | 1 - ..._DeleteOrganizationConformancePack.go.snap | 1 - ...op_DeletePendingAggregationRequest.go.snap | 1 - ..._op_DeleteRemediationConfiguration.go.snap | 1 - ...api_op_DeleteRemediationExceptions.go.snap | 1 - .../api_op_DeleteResourceConfig.go.snap | 1 - ...pi_op_DeleteRetentionConfiguration.go.snap | 1 - ...ServiceLinkedConfigurationRecorder.go.snap | 1 - .../snapshot/api_op_DeleteStoredQuery.go.snap | 1 - .../api_op_DeliverConfigSnapshot.go.snap | 1 - ...beAggregateComplianceByConfigRules.go.snap | 1 - ...regateComplianceByConformancePacks.go.snap | 1 - ..._DescribeAggregationAuthorizations.go.snap | 1 - ..._op_DescribeComplianceByConfigRule.go.snap | 1 - ...pi_op_DescribeComplianceByResource.go.snap | 1 - ...DescribeConfigRuleEvaluationStatus.go.snap | 1 - .../api_op_DescribeConfigRules.go.snap | 1 - ...nfigurationAggregatorSourcesStatus.go.snap | 1 - ...p_DescribeConfigurationAggregators.go.snap | 1 - ...escribeConfigurationRecorderStatus.go.snap | 1 - ..._op_DescribeConfigurationRecorders.go.snap | 1 - ..._DescribeConformancePackCompliance.go.snap | 1 - ...i_op_DescribeConformancePackStatus.go.snap | 1 - .../api_op_DescribeConformancePacks.go.snap | 1 - ...i_op_DescribeDeliveryChannelStatus.go.snap | 1 - .../api_op_DescribeDeliveryChannels.go.snap | 1 - ...ribeOrganizationConfigRuleStatuses.go.snap | 1 - ...op_DescribeOrganizationConfigRules.go.snap | 1 - ...rganizationConformancePackStatuses.go.snap | 1 - ...scribeOrganizationConformancePacks.go.snap | 1 - ...DescribePendingAggregationRequests.go.snap | 1 - ..._DescribeRemediationConfigurations.go.snap | 1 - ...i_op_DescribeRemediationExceptions.go.snap | 1 - ...DescribeRemediationExecutionStatus.go.snap | 1 - ...op_DescribeRetentionConfigurations.go.snap | 1 - .../api_op_DisassociateResourceTypes.go.snap | 1 - ...egateComplianceDetailsByConfigRule.go.snap | 1 - ...gregateConfigRuleComplianceSummary.go.snap | 1 - ...teConformancePackComplianceSummary.go.snap | 1 - ...tAggregateDiscoveredResourceCounts.go.snap | 1 - .../api_op_GetAggregateResourceConfig.go.snap | 1 - ...p_GetComplianceDetailsByConfigRule.go.snap | 1 - ..._op_GetComplianceDetailsByResource.go.snap | 1 - ...p_GetComplianceSummaryByConfigRule.go.snap | 1 - ...GetComplianceSummaryByResourceType.go.snap | 1 - ...etConformancePackComplianceDetails.go.snap | 1 - ...etConformancePackComplianceSummary.go.snap | 1 - .../api_op_GetCustomRulePolicy.go.snap | 1 - ...api_op_GetDiscoveredResourceCounts.go.snap | 1 - ...ganizationConfigRuleDetailedStatus.go.snap | 1 - ...ationConformancePackDetailedStatus.go.snap | 1 - ...op_GetOrganizationCustomRulePolicy.go.snap | 1 - .../api_op_GetResourceConfigHistory.go.snap | 1 - ...pi_op_GetResourceEvaluationSummary.go.snap | 1 - .../snapshot/api_op_GetStoredQuery.go.snap | 1 - ...p_ListAggregateDiscoveredResources.go.snap | 1 - .../api_op_ListConfigurationRecorders.go.snap | 1 - ...istConformancePackComplianceScores.go.snap | 1 - .../api_op_ListDiscoveredResources.go.snap | 1 - .../api_op_ListResourceEvaluations.go.snap | 1 - .../snapshot/api_op_ListStoredQueries.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - ...api_op_PutAggregationAuthorization.go.snap | 1 - .../snapshot/api_op_PutConfigRule.go.snap | 1 - .../api_op_PutConfigurationAggregator.go.snap | 1 - .../api_op_PutConfigurationRecorder.go.snap | 1 - .../api_op_PutConformancePack.go.snap | 1 - .../api_op_PutDeliveryChannel.go.snap | 1 - .../snapshot/api_op_PutEvaluations.go.snap | 1 - .../api_op_PutExternalEvaluation.go.snap | 1 - .../api_op_PutOrganizationConfigRule.go.snap | 1 - ..._op_PutOrganizationConformancePack.go.snap | 1 - ...pi_op_PutRemediationConfigurations.go.snap | 1 - .../api_op_PutRemediationExceptions.go.snap | 1 - .../snapshot/api_op_PutResourceConfig.go.snap | 1 - .../api_op_PutRetentionConfiguration.go.snap | 1 - ...ServiceLinkedConfigurationRecorder.go.snap | 1 - .../snapshot/api_op_PutStoredQuery.go.snap | 1 - ...i_op_SelectAggregateResourceConfig.go.snap | 1 - .../api_op_SelectResourceConfig.go.snap | 1 - .../api_op_StartConfigRulesEvaluation.go.snap | 1 - .../api_op_StartConfigurationRecorder.go.snap | 1 - .../api_op_StartRemediationExecution.go.snap | 1 - .../api_op_StartResourceEvaluation.go.snap | 1 - .../api_op_StopConfigurationRecorder.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - service/connect/api_client.go | 31 -- .../connect/api_op_ActivateEvaluationForm.go | 3 - .../api_op_AssociateAnalyticsDataSet.go | 3 - .../connect/api_op_AssociateApprovedOrigin.go | 3 - service/connect/api_op_AssociateBot.go | 3 - .../api_op_AssociateDefaultVocabulary.go | 3 - service/connect/api_op_AssociateFlow.go | 3 - .../api_op_AssociateInstanceStorageConfig.go | 3 - .../connect/api_op_AssociateLambdaFunction.go | 3 - service/connect/api_op_AssociateLexBot.go | 3 - .../api_op_AssociatePhoneNumberContactFlow.go | 3 - .../api_op_AssociateQueueQuickConnects.go | 3 - .../api_op_AssociateRoutingProfileQueues.go | 3 - .../connect/api_op_AssociateSecurityKey.go | 3 - ...p_AssociateTrafficDistributionGroupUser.go | 3 - .../api_op_AssociateUserProficiencies.go | 3 - .../api_op_BatchAssociateAnalyticsDataSet.go | 3 - ...pi_op_BatchDisassociateAnalyticsDataSet.go | 3 - .../api_op_BatchGetAttachedFileMetadata.go | 3 - .../connect/api_op_BatchGetFlowAssociation.go | 3 - service/connect/api_op_BatchPutContact.go | 3 - service/connect/api_op_ClaimPhoneNumber.go | 3 - .../api_op_CompleteAttachedFileUpload.go | 3 - service/connect/api_op_CreateAgentStatus.go | 3 - service/connect/api_op_CreateContact.go | 3 - service/connect/api_op_CreateContactFlow.go | 3 - .../connect/api_op_CreateContactFlowModule.go | 3 - .../api_op_CreateContactFlowVersion.go | 3 - service/connect/api_op_CreateEmailAddress.go | 3 - .../connect/api_op_CreateEvaluationForm.go | 3 - .../connect/api_op_CreateHoursOfOperation.go | 3 - .../api_op_CreateHoursOfOperationOverride.go | 3 - service/connect/api_op_CreateInstance.go | 3 - .../api_op_CreateIntegrationAssociation.go | 3 - service/connect/api_op_CreateParticipant.go | 3 - ...i_op_CreatePersistentContactAssociation.go | 3 - .../api_op_CreatePredefinedAttribute.go | 3 - service/connect/api_op_CreatePrompt.go | 3 - ...i_op_CreatePushNotificationRegistration.go | 3 - service/connect/api_op_CreateQueue.go | 3 - service/connect/api_op_CreateQuickConnect.go | 3 - .../connect/api_op_CreateRoutingProfile.go | 3 - service/connect/api_op_CreateRule.go | 3 - .../connect/api_op_CreateSecurityProfile.go | 3 - service/connect/api_op_CreateTaskTemplate.go | 3 - .../api_op_CreateTrafficDistributionGroup.go | 3 - service/connect/api_op_CreateUseCase.go | 3 - service/connect/api_op_CreateUser.go | 3 - .../api_op_CreateUserHierarchyGroup.go | 3 - service/connect/api_op_CreateView.go | 3 - service/connect/api_op_CreateViewVersion.go | 3 - service/connect/api_op_CreateVocabulary.go | 3 - .../api_op_DeactivateEvaluationForm.go | 3 - service/connect/api_op_DeleteAttachedFile.go | 3 - .../connect/api_op_DeleteContactEvaluation.go | 3 - service/connect/api_op_DeleteContactFlow.go | 3 - .../connect/api_op_DeleteContactFlowModule.go | 3 - .../api_op_DeleteContactFlowVersion.go | 3 - service/connect/api_op_DeleteEmailAddress.go | 3 - .../connect/api_op_DeleteEvaluationForm.go | 3 - .../connect/api_op_DeleteHoursOfOperation.go | 3 - .../api_op_DeleteHoursOfOperationOverride.go | 3 - service/connect/api_op_DeleteInstance.go | 3 - .../api_op_DeleteIntegrationAssociation.go | 3 - .../api_op_DeletePredefinedAttribute.go | 3 - service/connect/api_op_DeletePrompt.go | 3 - ...i_op_DeletePushNotificationRegistration.go | 3 - service/connect/api_op_DeleteQueue.go | 3 - service/connect/api_op_DeleteQuickConnect.go | 3 - .../connect/api_op_DeleteRoutingProfile.go | 3 - service/connect/api_op_DeleteRule.go | 3 - .../connect/api_op_DeleteSecurityProfile.go | 3 - service/connect/api_op_DeleteTaskTemplate.go | 3 - .../api_op_DeleteTrafficDistributionGroup.go | 3 - service/connect/api_op_DeleteUseCase.go | 3 - service/connect/api_op_DeleteUser.go | 3 - .../api_op_DeleteUserHierarchyGroup.go | 3 - service/connect/api_op_DeleteView.go | 3 - service/connect/api_op_DeleteViewVersion.go | 3 - service/connect/api_op_DeleteVocabulary.go | 3 - service/connect/api_op_DescribeAgentStatus.go | 3 - .../api_op_DescribeAuthenticationProfile.go | 3 - service/connect/api_op_DescribeContact.go | 3 - .../api_op_DescribeContactEvaluation.go | 3 - service/connect/api_op_DescribeContactFlow.go | 3 - .../api_op_DescribeContactFlowModule.go | 3 - .../connect/api_op_DescribeEmailAddress.go | 3 - .../connect/api_op_DescribeEvaluationForm.go | 3 - .../api_op_DescribeHoursOfOperation.go | 3 - ...api_op_DescribeHoursOfOperationOverride.go | 3 - service/connect/api_op_DescribeInstance.go | 3 - .../api_op_DescribeInstanceAttribute.go | 3 - .../api_op_DescribeInstanceStorageConfig.go | 3 - service/connect/api_op_DescribePhoneNumber.go | 3 - .../api_op_DescribePredefinedAttribute.go | 3 - service/connect/api_op_DescribePrompt.go | 3 - service/connect/api_op_DescribeQueue.go | 3 - .../connect/api_op_DescribeQuickConnect.go | 3 - .../connect/api_op_DescribeRoutingProfile.go | 3 - service/connect/api_op_DescribeRule.go | 3 - .../connect/api_op_DescribeSecurityProfile.go | 3 - ...api_op_DescribeTrafficDistributionGroup.go | 3 - service/connect/api_op_DescribeUser.go | 3 - .../api_op_DescribeUserHierarchyGroup.go | 3 - .../api_op_DescribeUserHierarchyStructure.go | 3 - service/connect/api_op_DescribeView.go | 3 - service/connect/api_op_DescribeVocabulary.go | 3 - .../api_op_DisassociateAnalyticsDataSet.go | 3 - .../api_op_DisassociateApprovedOrigin.go | 3 - service/connect/api_op_DisassociateBot.go | 3 - service/connect/api_op_DisassociateFlow.go | 3 - ...pi_op_DisassociateInstanceStorageConfig.go | 3 - .../api_op_DisassociateLambdaFunction.go | 3 - service/connect/api_op_DisassociateLexBot.go | 3 - ...i_op_DisassociatePhoneNumberContactFlow.go | 3 - .../api_op_DisassociateQueueQuickConnects.go | 3 - ...api_op_DisassociateRoutingProfileQueues.go | 3 - .../connect/api_op_DisassociateSecurityKey.go | 3 - ...isassociateTrafficDistributionGroupUser.go | 3 - .../api_op_DisassociateUserProficiencies.go | 3 - service/connect/api_op_DismissUserContact.go | 3 - service/connect/api_op_GetAttachedFile.go | 3 - .../connect/api_op_GetContactAttributes.go | 3 - .../connect/api_op_GetCurrentMetricData.go | 3 - service/connect/api_op_GetCurrentUserData.go | 3 - .../api_op_GetEffectiveHoursOfOperations.go | 3 - service/connect/api_op_GetFederationToken.go | 3 - service/connect/api_op_GetFlowAssociation.go | 3 - service/connect/api_op_GetMetricData.go | 3 - service/connect/api_op_GetMetricDataV2.go | 3 - service/connect/api_op_GetPromptFile.go | 3 - service/connect/api_op_GetTaskTemplate.go | 3 - .../connect/api_op_GetTrafficDistribution.go | 3 - service/connect/api_op_ImportPhoneNumber.go | 3 - service/connect/api_op_ListAgentStatuses.go | 3 - .../api_op_ListAnalyticsDataAssociations.go | 3 - .../api_op_ListAnalyticsDataLakeDataSets.go | 3 - service/connect/api_op_ListApprovedOrigins.go | 3 - .../connect/api_op_ListAssociatedContacts.go | 3 - .../api_op_ListAuthenticationProfiles.go | 3 - service/connect/api_op_ListBots.go | 3 - .../connect/api_op_ListContactEvaluations.go | 3 - .../connect/api_op_ListContactFlowModules.go | 3 - .../connect/api_op_ListContactFlowVersions.go | 3 - service/connect/api_op_ListContactFlows.go | 3 - .../connect/api_op_ListContactReferences.go | 3 - .../connect/api_op_ListDefaultVocabularies.go | 3 - .../api_op_ListEvaluationFormVersions.go | 3 - service/connect/api_op_ListEvaluationForms.go | 3 - .../connect/api_op_ListFlowAssociations.go | 3 - .../api_op_ListHoursOfOperationOverrides.go | 3 - .../connect/api_op_ListHoursOfOperations.go | 3 - .../connect/api_op_ListInstanceAttributes.go | 3 - .../api_op_ListInstanceStorageConfigs.go | 3 - service/connect/api_op_ListInstances.go | 3 - .../api_op_ListIntegrationAssociations.go | 3 - service/connect/api_op_ListLambdaFunctions.go | 3 - service/connect/api_op_ListLexBots.go | 3 - service/connect/api_op_ListPhoneNumbers.go | 3 - service/connect/api_op_ListPhoneNumbersV2.go | 3 - .../api_op_ListPredefinedAttributes.go | 3 - service/connect/api_op_ListPrompts.go | 3 - .../connect/api_op_ListQueueQuickConnects.go | 3 - service/connect/api_op_ListQueues.go | 3 - service/connect/api_op_ListQuickConnects.go | 3 - ...p_ListRealtimeContactAnalysisSegmentsV2.go | 3 - .../api_op_ListRoutingProfileQueues.go | 3 - service/connect/api_op_ListRoutingProfiles.go | 3 - service/connect/api_op_ListRules.go | 3 - service/connect/api_op_ListSecurityKeys.go | 3 - .../api_op_ListSecurityProfileApplications.go | 3 - .../api_op_ListSecurityProfilePermissions.go | 3 - .../connect/api_op_ListSecurityProfiles.go | 3 - service/connect/api_op_ListTagsForResource.go | 3 - service/connect/api_op_ListTaskTemplates.go | 3 - ...pi_op_ListTrafficDistributionGroupUsers.go | 3 - .../api_op_ListTrafficDistributionGroups.go | 3 - service/connect/api_op_ListUseCases.go | 3 - .../connect/api_op_ListUserHierarchyGroups.go | 3 - .../connect/api_op_ListUserProficiencies.go | 3 - service/connect/api_op_ListUsers.go | 3 - service/connect/api_op_ListViewVersions.go | 3 - service/connect/api_op_ListViews.go | 3 - service/connect/api_op_MonitorContact.go | 3 - service/connect/api_op_PauseContact.go | 3 - service/connect/api_op_PutUserStatus.go | 3 - service/connect/api_op_ReleasePhoneNumber.go | 3 - service/connect/api_op_ReplicateInstance.go | 3 - service/connect/api_op_ResumeContact.go | 3 - .../connect/api_op_ResumeContactRecording.go | 3 - service/connect/api_op_SearchAgentStatuses.go | 3 - .../api_op_SearchAvailablePhoneNumbers.go | 3 - .../api_op_SearchContactFlowModules.go | 3 - service/connect/api_op_SearchContactFlows.go | 3 - service/connect/api_op_SearchContacts.go | 3 - .../connect/api_op_SearchEmailAddresses.go | 3 - .../api_op_SearchHoursOfOperationOverrides.go | 3 - .../connect/api_op_SearchHoursOfOperations.go | 3 - .../api_op_SearchPredefinedAttributes.go | 3 - service/connect/api_op_SearchPrompts.go | 3 - service/connect/api_op_SearchQueues.go | 3 - service/connect/api_op_SearchQuickConnects.go | 3 - service/connect/api_op_SearchResourceTags.go | 3 - .../connect/api_op_SearchRoutingProfiles.go | 3 - .../connect/api_op_SearchSecurityProfiles.go | 3 - .../api_op_SearchUserHierarchyGroups.go | 3 - service/connect/api_op_SearchUsers.go | 3 - service/connect/api_op_SearchVocabularies.go | 3 - .../api_op_SendChatIntegrationEvent.go | 3 - service/connect/api_op_SendOutboundEmail.go | 3 - .../connect/api_op_StartAttachedFileUpload.go | 3 - service/connect/api_op_StartChatContact.go | 3 - .../connect/api_op_StartContactEvaluation.go | 3 - .../connect/api_op_StartContactRecording.go | 3 - .../connect/api_op_StartContactStreaming.go | 3 - service/connect/api_op_StartEmailContact.go | 3 - .../api_op_StartOutboundChatContact.go | 3 - .../api_op_StartOutboundEmailContact.go | 3 - .../api_op_StartOutboundVoiceContact.go | 3 - service/connect/api_op_StartScreenSharing.go | 3 - service/connect/api_op_StartTaskContact.go | 3 - service/connect/api_op_StartWebRTCContact.go | 3 - service/connect/api_op_StopContact.go | 3 - .../connect/api_op_StopContactRecording.go | 3 - .../connect/api_op_StopContactStreaming.go | 3 - .../connect/api_op_SubmitContactEvaluation.go | 3 - .../connect/api_op_SuspendContactRecording.go | 3 - service/connect/api_op_TagContact.go | 3 - service/connect/api_op_TagResource.go | 3 - service/connect/api_op_TransferContact.go | 3 - service/connect/api_op_UntagContact.go | 3 - service/connect/api_op_UntagResource.go | 3 - service/connect/api_op_UpdateAgentStatus.go | 3 - .../api_op_UpdateAuthenticationProfile.go | 3 - service/connect/api_op_UpdateContact.go | 3 - .../connect/api_op_UpdateContactAttributes.go | 3 - .../connect/api_op_UpdateContactEvaluation.go | 3 - .../api_op_UpdateContactFlowContent.go | 3 - .../api_op_UpdateContactFlowMetadata.go | 3 - .../api_op_UpdateContactFlowModuleContent.go | 3 - .../api_op_UpdateContactFlowModuleMetadata.go | 3 - .../connect/api_op_UpdateContactFlowName.go | 3 - .../api_op_UpdateContactRoutingData.go | 3 - .../connect/api_op_UpdateContactSchedule.go | 3 - .../api_op_UpdateEmailAddressMetadata.go | 3 - .../connect/api_op_UpdateEvaluationForm.go | 3 - .../connect/api_op_UpdateHoursOfOperation.go | 3 - .../api_op_UpdateHoursOfOperationOverride.go | 3 - .../connect/api_op_UpdateInstanceAttribute.go | 3 - .../api_op_UpdateInstanceStorageConfig.go | 3 - .../api_op_UpdateParticipantAuthentication.go | 3 - .../api_op_UpdateParticipantRoleConfig.go | 3 - service/connect/api_op_UpdatePhoneNumber.go | 3 - .../api_op_UpdatePhoneNumberMetadata.go | 3 - .../api_op_UpdatePredefinedAttribute.go | 3 - service/connect/api_op_UpdatePrompt.go | 3 - .../api_op_UpdateQueueHoursOfOperation.go | 3 - .../connect/api_op_UpdateQueueMaxContacts.go | 3 - service/connect/api_op_UpdateQueueName.go | 3 - .../api_op_UpdateQueueOutboundCallerConfig.go | 3 - .../api_op_UpdateQueueOutboundEmailConfig.go | 3 - service/connect/api_op_UpdateQueueStatus.go | 3 - .../api_op_UpdateQuickConnectConfig.go | 3 - .../connect/api_op_UpdateQuickConnectName.go | 3 - ...ateRoutingProfileAgentAvailabilityTimer.go | 3 - .../api_op_UpdateRoutingProfileConcurrency.go | 3 - ...pdateRoutingProfileDefaultOutboundQueue.go | 3 - .../api_op_UpdateRoutingProfileName.go | 3 - .../api_op_UpdateRoutingProfileQueues.go | 3 - service/connect/api_op_UpdateRule.go | 3 - .../connect/api_op_UpdateSecurityProfile.go | 3 - service/connect/api_op_UpdateTaskTemplate.go | 3 - .../api_op_UpdateTrafficDistribution.go | 3 - service/connect/api_op_UpdateUserHierarchy.go | 3 - .../api_op_UpdateUserHierarchyGroupName.go | 3 - .../api_op_UpdateUserHierarchyStructure.go | 3 - .../connect/api_op_UpdateUserIdentityInfo.go | 3 - .../connect/api_op_UpdateUserPhoneConfig.go | 3 - .../connect/api_op_UpdateUserProficiencies.go | 3 - .../api_op_UpdateUserRoutingProfile.go | 3 - .../api_op_UpdateUserSecurityProfiles.go | 3 - service/connect/api_op_UpdateViewContent.go | 3 - service/connect/api_op_UpdateViewMetadata.go | 3 - .../api_op_ActivateEvaluationForm.go.snap | 1 - .../api_op_AssociateAnalyticsDataSet.go.snap | 1 - .../api_op_AssociateApprovedOrigin.go.snap | 1 - .../snapshot/api_op_AssociateBot.go.snap | 1 - .../api_op_AssociateDefaultVocabulary.go.snap | 1 - .../snapshot/api_op_AssociateFlow.go.snap | 1 - ..._op_AssociateInstanceStorageConfig.go.snap | 1 - .../api_op_AssociateLambdaFunction.go.snap | 1 - .../snapshot/api_op_AssociateLexBot.go.snap | 1 - ...op_AssociatePhoneNumberContactFlow.go.snap | 1 - ...api_op_AssociateQueueQuickConnects.go.snap | 1 - ...i_op_AssociateRoutingProfileQueues.go.snap | 1 - .../api_op_AssociateSecurityKey.go.snap | 1 - ...ociateTrafficDistributionGroupUser.go.snap | 1 - .../api_op_AssociateUserProficiencies.go.snap | 1 - ..._op_BatchAssociateAnalyticsDataSet.go.snap | 1 - ..._BatchDisassociateAnalyticsDataSet.go.snap | 1 - ...pi_op_BatchGetAttachedFileMetadata.go.snap | 1 - .../api_op_BatchGetFlowAssociation.go.snap | 1 - .../snapshot/api_op_BatchPutContact.go.snap | 1 - .../snapshot/api_op_ClaimPhoneNumber.go.snap | 1 - .../api_op_CompleteAttachedFileUpload.go.snap | 1 - .../snapshot/api_op_CreateAgentStatus.go.snap | 1 - .../snapshot/api_op_CreateContact.go.snap | 1 - .../snapshot/api_op_CreateContactFlow.go.snap | 1 - .../api_op_CreateContactFlowModule.go.snap | 1 - .../api_op_CreateContactFlowVersion.go.snap | 1 - .../api_op_CreateEmailAddress.go.snap | 1 - .../api_op_CreateEvaluationForm.go.snap | 1 - .../api_op_CreateHoursOfOperation.go.snap | 1 - ..._op_CreateHoursOfOperationOverride.go.snap | 1 - .../snapshot/api_op_CreateInstance.go.snap | 1 - ...pi_op_CreateIntegrationAssociation.go.snap | 1 - .../snapshot/api_op_CreateParticipant.go.snap | 1 - ...CreatePersistentContactAssociation.go.snap | 1 - .../api_op_CreatePredefinedAttribute.go.snap | 1 - .../snapshot/api_op_CreatePrompt.go.snap | 1 - ...CreatePushNotificationRegistration.go.snap | 1 - .../snapshot/api_op_CreateQueue.go.snap | 1 - .../api_op_CreateQuickConnect.go.snap | 1 - .../api_op_CreateRoutingProfile.go.snap | 1 - .../snapshot/api_op_CreateRule.go.snap | 1 - .../api_op_CreateSecurityProfile.go.snap | 1 - .../api_op_CreateTaskTemplate.go.snap | 1 - ..._op_CreateTrafficDistributionGroup.go.snap | 1 - .../snapshot/api_op_CreateUseCase.go.snap | 1 - .../snapshot/api_op_CreateUser.go.snap | 1 - .../api_op_CreateUserHierarchyGroup.go.snap | 1 - .../snapshot/api_op_CreateView.go.snap | 1 - .../snapshot/api_op_CreateViewVersion.go.snap | 1 - .../snapshot/api_op_CreateVocabulary.go.snap | 1 - .../api_op_DeactivateEvaluationForm.go.snap | 1 - .../api_op_DeleteAttachedFile.go.snap | 1 - .../api_op_DeleteContactEvaluation.go.snap | 1 - .../snapshot/api_op_DeleteContactFlow.go.snap | 1 - .../api_op_DeleteContactFlowModule.go.snap | 1 - .../api_op_DeleteContactFlowVersion.go.snap | 1 - .../api_op_DeleteEmailAddress.go.snap | 1 - .../api_op_DeleteEvaluationForm.go.snap | 1 - .../api_op_DeleteHoursOfOperation.go.snap | 1 - ..._op_DeleteHoursOfOperationOverride.go.snap | 1 - .../snapshot/api_op_DeleteInstance.go.snap | 1 - ...pi_op_DeleteIntegrationAssociation.go.snap | 1 - .../api_op_DeletePredefinedAttribute.go.snap | 1 - .../snapshot/api_op_DeletePrompt.go.snap | 1 - ...DeletePushNotificationRegistration.go.snap | 1 - .../snapshot/api_op_DeleteQueue.go.snap | 1 - .../api_op_DeleteQuickConnect.go.snap | 1 - .../api_op_DeleteRoutingProfile.go.snap | 1 - .../snapshot/api_op_DeleteRule.go.snap | 1 - .../api_op_DeleteSecurityProfile.go.snap | 1 - .../api_op_DeleteTaskTemplate.go.snap | 1 - ..._op_DeleteTrafficDistributionGroup.go.snap | 1 - .../snapshot/api_op_DeleteUseCase.go.snap | 1 - .../snapshot/api_op_DeleteUser.go.snap | 1 - .../api_op_DeleteUserHierarchyGroup.go.snap | 1 - .../snapshot/api_op_DeleteView.go.snap | 1 - .../snapshot/api_op_DeleteViewVersion.go.snap | 1 - .../snapshot/api_op_DeleteVocabulary.go.snap | 1 - .../api_op_DescribeAgentStatus.go.snap | 1 - ...i_op_DescribeAuthenticationProfile.go.snap | 1 - .../snapshot/api_op_DescribeContact.go.snap | 1 - .../api_op_DescribeContactEvaluation.go.snap | 1 - .../api_op_DescribeContactFlow.go.snap | 1 - .../api_op_DescribeContactFlowModule.go.snap | 1 - .../api_op_DescribeEmailAddress.go.snap | 1 - .../api_op_DescribeEvaluationForm.go.snap | 1 - .../api_op_DescribeHoursOfOperation.go.snap | 1 - ...p_DescribeHoursOfOperationOverride.go.snap | 1 - .../snapshot/api_op_DescribeInstance.go.snap | 1 - .../api_op_DescribeInstanceAttribute.go.snap | 1 - ...i_op_DescribeInstanceStorageConfig.go.snap | 1 - .../api_op_DescribePhoneNumber.go.snap | 1 - ...api_op_DescribePredefinedAttribute.go.snap | 1 - .../snapshot/api_op_DescribePrompt.go.snap | 1 - .../snapshot/api_op_DescribeQueue.go.snap | 1 - .../api_op_DescribeQuickConnect.go.snap | 1 - .../api_op_DescribeRoutingProfile.go.snap | 1 - .../snapshot/api_op_DescribeRule.go.snap | 1 - .../api_op_DescribeSecurityProfile.go.snap | 1 - ...p_DescribeTrafficDistributionGroup.go.snap | 1 - .../snapshot/api_op_DescribeUser.go.snap | 1 - .../api_op_DescribeUserHierarchyGroup.go.snap | 1 - ..._op_DescribeUserHierarchyStructure.go.snap | 1 - .../snapshot/api_op_DescribeView.go.snap | 1 - .../api_op_DescribeVocabulary.go.snap | 1 - ...pi_op_DisassociateAnalyticsDataSet.go.snap | 1 - .../api_op_DisassociateApprovedOrigin.go.snap | 1 - .../snapshot/api_op_DisassociateBot.go.snap | 1 - .../snapshot/api_op_DisassociateFlow.go.snap | 1 - ..._DisassociateInstanceStorageConfig.go.snap | 1 - .../api_op_DisassociateLambdaFunction.go.snap | 1 - .../api_op_DisassociateLexBot.go.snap | 1 - ...DisassociatePhoneNumberContactFlow.go.snap | 1 - ..._op_DisassociateQueueQuickConnects.go.snap | 1 - ...p_DisassociateRoutingProfileQueues.go.snap | 1 - .../api_op_DisassociateSecurityKey.go.snap | 1 - ...ociateTrafficDistributionGroupUser.go.snap | 1 - ...i_op_DisassociateUserProficiencies.go.snap | 1 - .../api_op_DismissUserContact.go.snap | 1 - .../snapshot/api_op_GetAttachedFile.go.snap | 1 - .../api_op_GetContactAttributes.go.snap | 1 - .../api_op_GetCurrentMetricData.go.snap | 1 - .../api_op_GetCurrentUserData.go.snap | 1 - ...i_op_GetEffectiveHoursOfOperations.go.snap | 1 - .../api_op_GetFederationToken.go.snap | 1 - .../api_op_GetFlowAssociation.go.snap | 1 - .../snapshot/api_op_GetMetricData.go.snap | 1 - .../snapshot/api_op_GetMetricDataV2.go.snap | 1 - .../snapshot/api_op_GetPromptFile.go.snap | 1 - .../snapshot/api_op_GetTaskTemplate.go.snap | 1 - .../api_op_GetTrafficDistribution.go.snap | 1 - .../snapshot/api_op_ImportPhoneNumber.go.snap | 1 - .../snapshot/api_op_ListAgentStatuses.go.snap | 1 - ...i_op_ListAnalyticsDataAssociations.go.snap | 1 - ...i_op_ListAnalyticsDataLakeDataSets.go.snap | 1 - .../api_op_ListApprovedOrigins.go.snap | 1 - .../api_op_ListAssociatedContacts.go.snap | 1 - .../api_op_ListAuthenticationProfiles.go.snap | 1 - .../connect/snapshot/api_op_ListBots.go.snap | 1 - .../api_op_ListContactEvaluations.go.snap | 1 - .../api_op_ListContactFlowModules.go.snap | 1 - .../api_op_ListContactFlowVersions.go.snap | 1 - .../snapshot/api_op_ListContactFlows.go.snap | 1 - .../api_op_ListContactReferences.go.snap | 1 - .../api_op_ListDefaultVocabularies.go.snap | 1 - .../api_op_ListEvaluationFormVersions.go.snap | 1 - .../api_op_ListEvaluationForms.go.snap | 1 - .../api_op_ListFlowAssociations.go.snap | 1 - ...i_op_ListHoursOfOperationOverrides.go.snap | 1 - .../api_op_ListHoursOfOperations.go.snap | 1 - .../api_op_ListInstanceAttributes.go.snap | 1 - .../api_op_ListInstanceStorageConfigs.go.snap | 1 - .../snapshot/api_op_ListInstances.go.snap | 1 - ...api_op_ListIntegrationAssociations.go.snap | 1 - .../api_op_ListLambdaFunctions.go.snap | 1 - .../snapshot/api_op_ListLexBots.go.snap | 1 - .../snapshot/api_op_ListPhoneNumbers.go.snap | 1 - .../api_op_ListPhoneNumbersV2.go.snap | 1 - .../api_op_ListPredefinedAttributes.go.snap | 1 - .../snapshot/api_op_ListPrompts.go.snap | 1 - .../api_op_ListQueueQuickConnects.go.snap | 1 - .../snapshot/api_op_ListQueues.go.snap | 1 - .../snapshot/api_op_ListQuickConnects.go.snap | 1 - ...tRealtimeContactAnalysisSegmentsV2.go.snap | 1 - .../api_op_ListRoutingProfileQueues.go.snap | 1 - .../api_op_ListRoutingProfiles.go.snap | 1 - .../connect/snapshot/api_op_ListRules.go.snap | 1 - .../snapshot/api_op_ListSecurityKeys.go.snap | 1 - ...op_ListSecurityProfileApplications.go.snap | 1 - ..._op_ListSecurityProfilePermissions.go.snap | 1 - .../api_op_ListSecurityProfiles.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListTaskTemplates.go.snap | 1 - ..._ListTrafficDistributionGroupUsers.go.snap | 1 - ...i_op_ListTrafficDistributionGroups.go.snap | 1 - .../snapshot/api_op_ListUseCases.go.snap | 1 - .../api_op_ListUserHierarchyGroups.go.snap | 1 - .../api_op_ListUserProficiencies.go.snap | 1 - .../connect/snapshot/api_op_ListUsers.go.snap | 1 - .../snapshot/api_op_ListViewVersions.go.snap | 1 - .../connect/snapshot/api_op_ListViews.go.snap | 1 - .../snapshot/api_op_MonitorContact.go.snap | 1 - .../snapshot/api_op_PauseContact.go.snap | 1 - .../snapshot/api_op_PutUserStatus.go.snap | 1 - .../api_op_ReleasePhoneNumber.go.snap | 1 - .../snapshot/api_op_ReplicateInstance.go.snap | 1 - .../snapshot/api_op_ResumeContact.go.snap | 1 - .../api_op_ResumeContactRecording.go.snap | 1 - .../api_op_SearchAgentStatuses.go.snap | 1 - ...api_op_SearchAvailablePhoneNumbers.go.snap | 1 - .../api_op_SearchContactFlowModules.go.snap | 1 - .../api_op_SearchContactFlows.go.snap | 1 - .../snapshot/api_op_SearchContacts.go.snap | 1 - .../api_op_SearchEmailAddresses.go.snap | 1 - ...op_SearchHoursOfOperationOverrides.go.snap | 1 - .../api_op_SearchHoursOfOperations.go.snap | 1 - .../api_op_SearchPredefinedAttributes.go.snap | 1 - .../snapshot/api_op_SearchPrompts.go.snap | 1 - .../snapshot/api_op_SearchQueues.go.snap | 1 - .../api_op_SearchQuickConnects.go.snap | 1 - .../api_op_SearchResourceTags.go.snap | 1 - .../api_op_SearchRoutingProfiles.go.snap | 1 - .../api_op_SearchSecurityProfiles.go.snap | 1 - .../api_op_SearchUserHierarchyGroups.go.snap | 1 - .../snapshot/api_op_SearchUsers.go.snap | 1 - .../api_op_SearchVocabularies.go.snap | 1 - .../api_op_SendChatIntegrationEvent.go.snap | 1 - .../snapshot/api_op_SendOutboundEmail.go.snap | 1 - .../api_op_StartAttachedFileUpload.go.snap | 1 - .../snapshot/api_op_StartChatContact.go.snap | 1 - .../api_op_StartContactEvaluation.go.snap | 1 - .../api_op_StartContactRecording.go.snap | 1 - .../api_op_StartContactStreaming.go.snap | 1 - .../snapshot/api_op_StartEmailContact.go.snap | 1 - .../api_op_StartOutboundChatContact.go.snap | 1 - .../api_op_StartOutboundEmailContact.go.snap | 1 - .../api_op_StartOutboundVoiceContact.go.snap | 1 - .../api_op_StartScreenSharing.go.snap | 1 - .../snapshot/api_op_StartTaskContact.go.snap | 1 - .../api_op_StartWebRTCContact.go.snap | 1 - .../snapshot/api_op_StopContact.go.snap | 1 - .../api_op_StopContactRecording.go.snap | 1 - .../api_op_StopContactStreaming.go.snap | 1 - .../api_op_SubmitContactEvaluation.go.snap | 1 - .../api_op_SuspendContactRecording.go.snap | 1 - .../snapshot/api_op_TagContact.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_TransferContact.go.snap | 1 - .../snapshot/api_op_UntagContact.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateAgentStatus.go.snap | 1 - ...api_op_UpdateAuthenticationProfile.go.snap | 1 - .../snapshot/api_op_UpdateContact.go.snap | 1 - .../api_op_UpdateContactAttributes.go.snap | 1 - .../api_op_UpdateContactEvaluation.go.snap | 1 - .../api_op_UpdateContactFlowContent.go.snap | 1 - .../api_op_UpdateContactFlowMetadata.go.snap | 1 - ..._op_UpdateContactFlowModuleContent.go.snap | 1 - ...op_UpdateContactFlowModuleMetadata.go.snap | 1 - .../api_op_UpdateContactFlowName.go.snap | 1 - .../api_op_UpdateContactRoutingData.go.snap | 1 - .../api_op_UpdateContactSchedule.go.snap | 1 - .../api_op_UpdateEmailAddressMetadata.go.snap | 1 - .../api_op_UpdateEvaluationForm.go.snap | 1 - .../api_op_UpdateHoursOfOperation.go.snap | 1 - ..._op_UpdateHoursOfOperationOverride.go.snap | 1 - .../api_op_UpdateInstanceAttribute.go.snap | 1 - ...api_op_UpdateInstanceStorageConfig.go.snap | 1 - ...op_UpdateParticipantAuthentication.go.snap | 1 - ...api_op_UpdateParticipantRoleConfig.go.snap | 1 - .../snapshot/api_op_UpdatePhoneNumber.go.snap | 1 - .../api_op_UpdatePhoneNumberMetadata.go.snap | 1 - .../api_op_UpdatePredefinedAttribute.go.snap | 1 - .../snapshot/api_op_UpdatePrompt.go.snap | 1 - ...api_op_UpdateQueueHoursOfOperation.go.snap | 1 - .../api_op_UpdateQueueMaxContacts.go.snap | 1 - .../snapshot/api_op_UpdateQueueName.go.snap | 1 - ...op_UpdateQueueOutboundCallerConfig.go.snap | 1 - ..._op_UpdateQueueOutboundEmailConfig.go.snap | 1 - .../snapshot/api_op_UpdateQueueStatus.go.snap | 1 - .../api_op_UpdateQuickConnectConfig.go.snap | 1 - .../api_op_UpdateQuickConnectName.go.snap | 1 - ...utingProfileAgentAvailabilityTimer.go.snap | 1 - ...op_UpdateRoutingProfileConcurrency.go.snap | 1 - ...RoutingProfileDefaultOutboundQueue.go.snap | 1 - .../api_op_UpdateRoutingProfileName.go.snap | 1 - .../api_op_UpdateRoutingProfileQueues.go.snap | 1 - .../snapshot/api_op_UpdateRule.go.snap | 1 - .../api_op_UpdateSecurityProfile.go.snap | 1 - .../api_op_UpdateTaskTemplate.go.snap | 1 - .../api_op_UpdateTrafficDistribution.go.snap | 1 - .../api_op_UpdateUserHierarchy.go.snap | 1 - ...pi_op_UpdateUserHierarchyGroupName.go.snap | 1 - ...pi_op_UpdateUserHierarchyStructure.go.snap | 1 - .../api_op_UpdateUserIdentityInfo.go.snap | 1 - .../api_op_UpdateUserPhoneConfig.go.snap | 1 - .../api_op_UpdateUserProficiencies.go.snap | 1 - .../api_op_UpdateUserRoutingProfile.go.snap | 1 - .../api_op_UpdateUserSecurityProfiles.go.snap | 1 - .../snapshot/api_op_UpdateViewContent.go.snap | 1 - .../api_op_UpdateViewMetadata.go.snap | 1 - service/connectcampaigns/api_client.go | 31 -- .../connectcampaigns/api_op_CreateCampaign.go | 3 - .../connectcampaigns/api_op_DeleteCampaign.go | 3 - .../api_op_DeleteConnectInstanceConfig.go | 3 - .../api_op_DeleteInstanceOnboardingJob.go | 3 - .../api_op_DescribeCampaign.go | 3 - .../api_op_GetCampaignState.go | 3 - .../api_op_GetCampaignStateBatch.go | 3 - .../api_op_GetConnectInstanceConfig.go | 3 - .../api_op_GetInstanceOnboardingJobStatus.go | 3 - .../connectcampaigns/api_op_ListCampaigns.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../connectcampaigns/api_op_PauseCampaign.go | 3 - .../api_op_PutDialRequestBatch.go | 3 - .../connectcampaigns/api_op_ResumeCampaign.go | 3 - .../connectcampaigns/api_op_StartCampaign.go | 3 - .../api_op_StartInstanceOnboardingJob.go | 3 - .../connectcampaigns/api_op_StopCampaign.go | 3 - .../connectcampaigns/api_op_TagResource.go | 3 - .../connectcampaigns/api_op_UntagResource.go | 3 - .../api_op_UpdateCampaignDialerConfig.go | 3 - .../api_op_UpdateCampaignName.go | 3 - ...api_op_UpdateCampaignOutboundCallConfig.go | 3 - .../snapshot/api_op_CreateCampaign.go.snap | 1 - .../snapshot/api_op_DeleteCampaign.go.snap | 1 - ...api_op_DeleteConnectInstanceConfig.go.snap | 1 - ...api_op_DeleteInstanceOnboardingJob.go.snap | 1 - .../snapshot/api_op_DescribeCampaign.go.snap | 1 - .../snapshot/api_op_GetCampaignState.go.snap | 1 - .../api_op_GetCampaignStateBatch.go.snap | 1 - .../api_op_GetConnectInstanceConfig.go.snap | 1 - ..._op_GetInstanceOnboardingJobStatus.go.snap | 1 - .../snapshot/api_op_ListCampaigns.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_PauseCampaign.go.snap | 1 - .../api_op_PutDialRequestBatch.go.snap | 1 - .../snapshot/api_op_ResumeCampaign.go.snap | 1 - .../snapshot/api_op_StartCampaign.go.snap | 1 - .../api_op_StartInstanceOnboardingJob.go.snap | 1 - .../snapshot/api_op_StopCampaign.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateCampaignDialerConfig.go.snap | 1 - .../api_op_UpdateCampaignName.go.snap | 1 - ...p_UpdateCampaignOutboundCallConfig.go.snap | 1 - service/connectcampaignsv2/api_client.go | 31 -- .../api_op_CreateCampaign.go | 3 - .../api_op_DeleteCampaign.go | 3 - ...i_op_DeleteCampaignChannelSubtypeConfig.go | 3 - ...pi_op_DeleteCampaignCommunicationLimits.go | 3 - .../api_op_DeleteCampaignCommunicationTime.go | 3 - .../api_op_DeleteConnectInstanceConfig.go | 3 - ...api_op_DeleteConnectInstanceIntegration.go | 3 - .../api_op_DeleteInstanceOnboardingJob.go | 3 - .../api_op_DescribeCampaign.go | 3 - .../api_op_GetCampaignState.go | 3 - .../api_op_GetCampaignStateBatch.go | 3 - .../api_op_GetConnectInstanceConfig.go | 3 - .../api_op_GetInstanceOnboardingJobStatus.go | 3 - .../api_op_ListCampaigns.go | 3 - .../api_op_ListConnectInstanceIntegrations.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_PauseCampaign.go | 3 - .../api_op_PutConnectInstanceIntegration.go | 3 - .../api_op_PutOutboundRequestBatch.go | 3 - .../api_op_PutProfileOutboundRequestBatch.go | 3 - .../api_op_ResumeCampaign.go | 3 - .../api_op_StartCampaign.go | 3 - .../api_op_StartInstanceOnboardingJob.go | 3 - .../connectcampaignsv2/api_op_StopCampaign.go | 3 - .../connectcampaignsv2/api_op_TagResource.go | 3 - .../api_op_UntagResource.go | 3 - ...i_op_UpdateCampaignChannelSubtypeConfig.go | 3 - ...pi_op_UpdateCampaignCommunicationLimits.go | 3 - .../api_op_UpdateCampaignCommunicationTime.go | 3 - .../api_op_UpdateCampaignFlowAssociation.go | 3 - .../api_op_UpdateCampaignName.go | 3 - .../api_op_UpdateCampaignSchedule.go | 3 - .../api_op_UpdateCampaignSource.go | 3 - .../snapshot/api_op_CreateCampaign.go.snap | 1 - .../snapshot/api_op_DeleteCampaign.go.snap | 1 - ...DeleteCampaignChannelSubtypeConfig.go.snap | 1 - ..._DeleteCampaignCommunicationLimits.go.snap | 1 - ...op_DeleteCampaignCommunicationTime.go.snap | 1 - ...api_op_DeleteConnectInstanceConfig.go.snap | 1 - ...p_DeleteConnectInstanceIntegration.go.snap | 1 - ...api_op_DeleteInstanceOnboardingJob.go.snap | 1 - .../snapshot/api_op_DescribeCampaign.go.snap | 1 - .../snapshot/api_op_GetCampaignState.go.snap | 1 - .../api_op_GetCampaignStateBatch.go.snap | 1 - .../api_op_GetConnectInstanceConfig.go.snap | 1 - ..._op_GetInstanceOnboardingJobStatus.go.snap | 1 - .../snapshot/api_op_ListCampaigns.go.snap | 1 - ...op_ListConnectInstanceIntegrations.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_PauseCampaign.go.snap | 1 - ...i_op_PutConnectInstanceIntegration.go.snap | 1 - .../api_op_PutOutboundRequestBatch.go.snap | 1 - ..._op_PutProfileOutboundRequestBatch.go.snap | 1 - .../snapshot/api_op_ResumeCampaign.go.snap | 1 - .../snapshot/api_op_StartCampaign.go.snap | 1 - .../api_op_StartInstanceOnboardingJob.go.snap | 1 - .../snapshot/api_op_StopCampaign.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - ...UpdateCampaignChannelSubtypeConfig.go.snap | 1 - ..._UpdateCampaignCommunicationLimits.go.snap | 1 - ...op_UpdateCampaignCommunicationTime.go.snap | 1 - ...i_op_UpdateCampaignFlowAssociation.go.snap | 1 - .../api_op_UpdateCampaignName.go.snap | 1 - .../api_op_UpdateCampaignSchedule.go.snap | 1 - .../api_op_UpdateCampaignSource.go.snap | 1 - service/connectcases/api_client.go | 31 -- .../connectcases/api_op_BatchGetCaseRule.go | 3 - service/connectcases/api_op_BatchGetField.go | 3 - .../api_op_BatchPutFieldOptions.go | 3 - service/connectcases/api_op_CreateCase.go | 3 - service/connectcases/api_op_CreateCaseRule.go | 3 - service/connectcases/api_op_CreateDomain.go | 3 - service/connectcases/api_op_CreateField.go | 3 - service/connectcases/api_op_CreateLayout.go | 3 - .../connectcases/api_op_CreateRelatedItem.go | 3 - service/connectcases/api_op_CreateTemplate.go | 3 - service/connectcases/api_op_DeleteCaseRule.go | 3 - service/connectcases/api_op_DeleteDomain.go | 3 - service/connectcases/api_op_DeleteField.go | 3 - service/connectcases/api_op_DeleteLayout.go | 3 - service/connectcases/api_op_DeleteTemplate.go | 3 - service/connectcases/api_op_GetCase.go | 3 - .../connectcases/api_op_GetCaseAuditEvents.go | 3 - .../api_op_GetCaseEventConfiguration.go | 3 - service/connectcases/api_op_GetDomain.go | 3 - service/connectcases/api_op_GetLayout.go | 3 - service/connectcases/api_op_GetTemplate.go | 3 - service/connectcases/api_op_ListCaseRules.go | 3 - .../api_op_ListCasesForContact.go | 3 - service/connectcases/api_op_ListDomains.go | 3 - .../connectcases/api_op_ListFieldOptions.go | 3 - service/connectcases/api_op_ListFields.go | 3 - service/connectcases/api_op_ListLayouts.go | 3 - .../api_op_ListTagsForResource.go | 3 - service/connectcases/api_op_ListTemplates.go | 3 - .../api_op_PutCaseEventConfiguration.go | 3 - service/connectcases/api_op_SearchCases.go | 3 - .../connectcases/api_op_SearchRelatedItems.go | 3 - service/connectcases/api_op_TagResource.go | 3 - service/connectcases/api_op_UntagResource.go | 3 - service/connectcases/api_op_UpdateCase.go | 3 - service/connectcases/api_op_UpdateCaseRule.go | 3 - service/connectcases/api_op_UpdateField.go | 3 - service/connectcases/api_op_UpdateLayout.go | 3 - service/connectcases/api_op_UpdateTemplate.go | 3 - .../snapshot/api_op_BatchGetCaseRule.go.snap | 1 - .../snapshot/api_op_BatchGetField.go.snap | 1 - .../api_op_BatchPutFieldOptions.go.snap | 1 - .../snapshot/api_op_CreateCase.go.snap | 1 - .../snapshot/api_op_CreateCaseRule.go.snap | 1 - .../snapshot/api_op_CreateDomain.go.snap | 1 - .../snapshot/api_op_CreateField.go.snap | 1 - .../snapshot/api_op_CreateLayout.go.snap | 1 - .../snapshot/api_op_CreateRelatedItem.go.snap | 1 - .../snapshot/api_op_CreateTemplate.go.snap | 1 - .../snapshot/api_op_DeleteCaseRule.go.snap | 1 - .../snapshot/api_op_DeleteDomain.go.snap | 1 - .../snapshot/api_op_DeleteField.go.snap | 1 - .../snapshot/api_op_DeleteLayout.go.snap | 1 - .../snapshot/api_op_DeleteTemplate.go.snap | 1 - .../snapshot/api_op_GetCase.go.snap | 1 - .../api_op_GetCaseAuditEvents.go.snap | 1 - .../api_op_GetCaseEventConfiguration.go.snap | 1 - .../snapshot/api_op_GetDomain.go.snap | 1 - .../snapshot/api_op_GetLayout.go.snap | 1 - .../snapshot/api_op_GetTemplate.go.snap | 1 - .../snapshot/api_op_ListCaseRules.go.snap | 1 - .../api_op_ListCasesForContact.go.snap | 1 - .../snapshot/api_op_ListDomains.go.snap | 1 - .../snapshot/api_op_ListFieldOptions.go.snap | 1 - .../snapshot/api_op_ListFields.go.snap | 1 - .../snapshot/api_op_ListLayouts.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListTemplates.go.snap | 1 - .../api_op_PutCaseEventConfiguration.go.snap | 1 - .../snapshot/api_op_SearchCases.go.snap | 1 - .../api_op_SearchRelatedItems.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateCase.go.snap | 1 - .../snapshot/api_op_UpdateCaseRule.go.snap | 1 - .../snapshot/api_op_UpdateField.go.snap | 1 - .../snapshot/api_op_UpdateLayout.go.snap | 1 - .../snapshot/api_op_UpdateTemplate.go.snap | 1 - service/connectcontactlens/api_client.go | 31 -- ..._op_ListRealtimeContactAnalysisSegments.go | 3 - ...istRealtimeContactAnalysisSegments.go.snap | 1 - service/connectparticipant/api_client.go | 31 -- .../api_op_CancelParticipantAuthentication.go | 3 - .../api_op_CompleteAttachmentUpload.go | 3 - .../api_op_CreateParticipantConnection.go | 3 - .../connectparticipant/api_op_DescribeView.go | 3 - .../api_op_DisconnectParticipant.go | 3 - .../api_op_GetAttachment.go | 3 - .../api_op_GetAuthenticationUrl.go | 3 - .../api_op_GetTranscript.go | 3 - .../connectparticipant/api_op_SendEvent.go | 3 - .../connectparticipant/api_op_SendMessage.go | 3 - .../api_op_StartAttachmentUpload.go | 3 - ...op_CancelParticipantAuthentication.go.snap | 1 - .../api_op_CompleteAttachmentUpload.go.snap | 1 - ...api_op_CreateParticipantConnection.go.snap | 1 - .../snapshot/api_op_DescribeView.go.snap | 1 - .../api_op_DisconnectParticipant.go.snap | 1 - .../snapshot/api_op_GetAttachment.go.snap | 1 - .../api_op_GetAuthenticationUrl.go.snap | 1 - .../snapshot/api_op_GetTranscript.go.snap | 1 - .../snapshot/api_op_SendEvent.go.snap | 1 - .../snapshot/api_op_SendMessage.go.snap | 1 - .../api_op_StartAttachmentUpload.go.snap | 1 - service/controlcatalog/api_client.go | 31 -- service/controlcatalog/api_op_GetControl.go | 3 - .../api_op_ListCommonControls.go | 3 - service/controlcatalog/api_op_ListControls.go | 3 - service/controlcatalog/api_op_ListDomains.go | 3 - .../controlcatalog/api_op_ListObjectives.go | 3 - .../snapshot/api_op_GetControl.go.snap | 1 - .../api_op_ListCommonControls.go.snap | 1 - .../snapshot/api_op_ListControls.go.snap | 1 - .../snapshot/api_op_ListDomains.go.snap | 1 - .../snapshot/api_op_ListObjectives.go.snap | 1 - service/controltower/api_client.go | 31 -- .../controltower/api_op_CreateLandingZone.go | 3 - .../controltower/api_op_DeleteLandingZone.go | 3 - .../controltower/api_op_DisableBaseline.go | 3 - service/controltower/api_op_DisableControl.go | 3 - service/controltower/api_op_EnableBaseline.go | 3 - service/controltower/api_op_EnableControl.go | 3 - service/controltower/api_op_GetBaseline.go | 3 - .../api_op_GetBaselineOperation.go | 3 - .../api_op_GetControlOperation.go | 3 - .../controltower/api_op_GetEnabledBaseline.go | 3 - .../controltower/api_op_GetEnabledControl.go | 3 - service/controltower/api_op_GetLandingZone.go | 3 - .../api_op_GetLandingZoneOperation.go | 3 - service/controltower/api_op_ListBaselines.go | 3 - .../api_op_ListControlOperations.go | 3 - .../api_op_ListEnabledBaselines.go | 3 - .../api_op_ListEnabledControls.go | 3 - .../api_op_ListLandingZoneOperations.go | 3 - .../controltower/api_op_ListLandingZones.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_ResetEnabledBaseline.go | 3 - .../api_op_ResetEnabledControl.go | 3 - .../controltower/api_op_ResetLandingZone.go | 3 - service/controltower/api_op_TagResource.go | 3 - service/controltower/api_op_UntagResource.go | 3 - .../api_op_UpdateEnabledBaseline.go | 3 - .../api_op_UpdateEnabledControl.go | 3 - .../controltower/api_op_UpdateLandingZone.go | 3 - .../snapshot/api_op_CreateLandingZone.go.snap | 1 - .../snapshot/api_op_DeleteLandingZone.go.snap | 1 - .../snapshot/api_op_DisableBaseline.go.snap | 1 - .../snapshot/api_op_DisableControl.go.snap | 1 - .../snapshot/api_op_EnableBaseline.go.snap | 1 - .../snapshot/api_op_EnableControl.go.snap | 1 - .../snapshot/api_op_GetBaseline.go.snap | 1 - .../api_op_GetBaselineOperation.go.snap | 1 - .../api_op_GetControlOperation.go.snap | 1 - .../api_op_GetEnabledBaseline.go.snap | 1 - .../snapshot/api_op_GetEnabledControl.go.snap | 1 - .../snapshot/api_op_GetLandingZone.go.snap | 1 - .../api_op_GetLandingZoneOperation.go.snap | 1 - .../snapshot/api_op_ListBaselines.go.snap | 1 - .../api_op_ListControlOperations.go.snap | 1 - .../api_op_ListEnabledBaselines.go.snap | 1 - .../api_op_ListEnabledControls.go.snap | 1 - .../api_op_ListLandingZoneOperations.go.snap | 1 - .../snapshot/api_op_ListLandingZones.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ResetEnabledBaseline.go.snap | 1 - .../api_op_ResetEnabledControl.go.snap | 1 - .../snapshot/api_op_ResetLandingZone.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateEnabledBaseline.go.snap | 1 - .../api_op_UpdateEnabledControl.go.snap | 1 - .../snapshot/api_op_UpdateLandingZone.go.snap | 1 - .../costandusagereportservice/api_client.go | 31 -- .../api_op_DeleteReportDefinition.go | 3 - .../api_op_DescribeReportDefinitions.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_ModifyReportDefinition.go | 3 - .../api_op_PutReportDefinition.go | 3 - .../api_op_TagResource.go | 3 - .../api_op_UntagResource.go | 3 - .../api_op_DeleteReportDefinition.go.snap | 1 - .../api_op_DescribeReportDefinitions.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ModifyReportDefinition.go.snap | 1 - .../api_op_PutReportDefinition.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - service/costexplorer/api_client.go | 31 -- .../api_op_CreateAnomalyMonitor.go | 3 - .../api_op_CreateAnomalySubscription.go | 3 - .../api_op_CreateCostCategoryDefinition.go | 3 - .../api_op_DeleteAnomalyMonitor.go | 3 - .../api_op_DeleteAnomalySubscription.go | 3 - .../api_op_DeleteCostCategoryDefinition.go | 3 - .../api_op_DescribeCostCategoryDefinition.go | 3 - service/costexplorer/api_op_GetAnomalies.go | 3 - .../costexplorer/api_op_GetAnomalyMonitors.go | 3 - .../api_op_GetAnomalySubscriptions.go | 3 - .../api_op_GetApproximateUsageRecords.go | 3 - .../api_op_GetCommitmentPurchaseAnalysis.go | 3 - .../costexplorer/api_op_GetCostAndUsage.go | 3 - .../api_op_GetCostAndUsageWithResources.go | 3 - .../costexplorer/api_op_GetCostCategories.go | 3 - .../costexplorer/api_op_GetCostForecast.go | 3 - .../costexplorer/api_op_GetDimensionValues.go | 3 - .../api_op_GetReservationCoverage.go | 3 - ...op_GetReservationPurchaseRecommendation.go | 3 - .../api_op_GetReservationUtilization.go | 3 - .../api_op_GetRightsizingRecommendation.go | 3 - ...avingsPlanPurchaseRecommendationDetails.go | 3 - .../api_op_GetSavingsPlansCoverage.go | 3 - ...p_GetSavingsPlansPurchaseRecommendation.go | 3 - .../api_op_GetSavingsPlansUtilization.go | 3 - ...pi_op_GetSavingsPlansUtilizationDetails.go | 3 - service/costexplorer/api_op_GetTags.go | 3 - .../costexplorer/api_op_GetUsageForecast.go | 3 - .../api_op_ListCommitmentPurchaseAnalyses.go | 3 - ...op_ListCostAllocationTagBackfillHistory.go | 3 - .../api_op_ListCostAllocationTags.go | 3 - .../api_op_ListCostCategoryDefinitions.go | 3 - ...gsPlansPurchaseRecommendationGeneration.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_ProvideAnomalyFeedback.go | 3 - .../api_op_StartCommitmentPurchaseAnalysis.go | 3 - .../api_op_StartCostAllocationTagBackfill.go | 3 - ...gsPlansPurchaseRecommendationGeneration.go | 3 - service/costexplorer/api_op_TagResource.go | 3 - service/costexplorer/api_op_UntagResource.go | 3 - .../api_op_UpdateAnomalyMonitor.go | 3 - .../api_op_UpdateAnomalySubscription.go | 3 - .../api_op_UpdateCostAllocationTagsStatus.go | 3 - .../api_op_UpdateCostCategoryDefinition.go | 3 - .../api_op_CreateAnomalyMonitor.go.snap | 1 - .../api_op_CreateAnomalySubscription.go.snap | 1 - ...pi_op_CreateCostCategoryDefinition.go.snap | 1 - .../api_op_DeleteAnomalyMonitor.go.snap | 1 - .../api_op_DeleteAnomalySubscription.go.snap | 1 - ...pi_op_DeleteCostCategoryDefinition.go.snap | 1 - ..._op_DescribeCostCategoryDefinition.go.snap | 1 - .../snapshot/api_op_GetAnomalies.go.snap | 1 - .../api_op_GetAnomalyMonitors.go.snap | 1 - .../api_op_GetAnomalySubscriptions.go.snap | 1 - .../api_op_GetApproximateUsageRecords.go.snap | 1 - ...i_op_GetCommitmentPurchaseAnalysis.go.snap | 1 - .../snapshot/api_op_GetCostAndUsage.go.snap | 1 - ...pi_op_GetCostAndUsageWithResources.go.snap | 1 - .../snapshot/api_op_GetCostCategories.go.snap | 1 - .../snapshot/api_op_GetCostForecast.go.snap | 1 - .../api_op_GetDimensionValues.go.snap | 1 - .../api_op_GetReservationCoverage.go.snap | 1 - ...tReservationPurchaseRecommendation.go.snap | 1 - .../api_op_GetReservationUtilization.go.snap | 1 - ...pi_op_GetRightsizingRecommendation.go.snap | 1 - ...sPlanPurchaseRecommendationDetails.go.snap | 1 - .../api_op_GetSavingsPlansCoverage.go.snap | 1 - ...SavingsPlansPurchaseRecommendation.go.snap | 1 - .../api_op_GetSavingsPlansUtilization.go.snap | 1 - ..._GetSavingsPlansUtilizationDetails.go.snap | 1 - .../snapshot/api_op_GetTags.go.snap | 1 - .../snapshot/api_op_GetUsageForecast.go.snap | 1 - ..._op_ListCommitmentPurchaseAnalyses.go.snap | 1 - ...stCostAllocationTagBackfillHistory.go.snap | 1 - .../api_op_ListCostAllocationTags.go.snap | 1 - ...api_op_ListCostCategoryDefinitions.go.snap | 1 - ...nsPurchaseRecommendationGeneration.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ProvideAnomalyFeedback.go.snap | 1 - ...op_StartCommitmentPurchaseAnalysis.go.snap | 1 - ..._op_StartCostAllocationTagBackfill.go.snap | 1 - ...nsPurchaseRecommendationGeneration.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateAnomalyMonitor.go.snap | 1 - .../api_op_UpdateAnomalySubscription.go.snap | 1 - ..._op_UpdateCostAllocationTagsStatus.go.snap | 1 - ...pi_op_UpdateCostCategoryDefinition.go.snap | 1 - service/costoptimizationhub/api_client.go | 31 -- .../api_op_GetPreferences.go | 3 - .../api_op_GetRecommendation.go | 3 - .../api_op_ListEnrollmentStatuses.go | 3 - .../api_op_ListRecommendationSummaries.go | 3 - .../api_op_ListRecommendations.go | 3 - .../api_op_UpdateEnrollmentStatus.go | 3 - .../api_op_UpdatePreferences.go | 3 - .../snapshot/api_op_GetPreferences.go.snap | 1 - .../snapshot/api_op_GetRecommendation.go.snap | 1 - .../api_op_ListEnrollmentStatuses.go.snap | 1 - ...api_op_ListRecommendationSummaries.go.snap | 1 - .../api_op_ListRecommendations.go.snap | 1 - .../api_op_UpdateEnrollmentStatus.go.snap | 1 - .../snapshot/api_op_UpdatePreferences.go.snap | 1 - service/customerprofiles/api_client.go | 31 -- .../customerprofiles/api_op_AddProfileKey.go | 3 - ...p_BatchGetCalculatedAttributeForProfile.go | 3 - .../api_op_BatchGetProfile.go | 3 - ..._op_CreateCalculatedAttributeDefinition.go | 3 - .../customerprofiles/api_op_CreateDomain.go | 3 - .../api_op_CreateEventStream.go | 3 - .../api_op_CreateEventTrigger.go | 3 - .../api_op_CreateIntegrationWorkflow.go | 3 - .../customerprofiles/api_op_CreateProfile.go | 3 - .../api_op_CreateSegmentDefinition.go | 3 - .../api_op_CreateSegmentEstimate.go | 3 - .../api_op_CreateSegmentSnapshot.go | 3 - ..._op_DeleteCalculatedAttributeDefinition.go | 3 - .../customerprofiles/api_op_DeleteDomain.go | 3 - .../api_op_DeleteEventStream.go | 3 - .../api_op_DeleteEventTrigger.go | 3 - .../api_op_DeleteIntegration.go | 3 - .../customerprofiles/api_op_DeleteProfile.go | 3 - .../api_op_DeleteProfileKey.go | 3 - .../api_op_DeleteProfileObject.go | 3 - .../api_op_DeleteProfileObjectType.go | 3 - .../api_op_DeleteSegmentDefinition.go | 3 - .../customerprofiles/api_op_DeleteWorkflow.go | 3 - .../api_op_DetectProfileObjectType.go | 3 - .../api_op_GetAutoMergingPreview.go | 3 - ...api_op_GetCalculatedAttributeDefinition.go | 3 - ...api_op_GetCalculatedAttributeForProfile.go | 3 - service/customerprofiles/api_op_GetDomain.go | 3 - .../customerprofiles/api_op_GetEventStream.go | 3 - .../api_op_GetEventTrigger.go | 3 - .../api_op_GetIdentityResolutionJob.go | 3 - .../customerprofiles/api_op_GetIntegration.go | 3 - service/customerprofiles/api_op_GetMatches.go | 3 - .../api_op_GetProfileObjectType.go | 3 - .../api_op_GetProfileObjectTypeTemplate.go | 3 - .../api_op_GetSegmentDefinition.go | 3 - .../api_op_GetSegmentEstimate.go | 3 - .../api_op_GetSegmentMembership.go | 3 - .../api_op_GetSegmentSnapshot.go | 3 - .../api_op_GetSimilarProfiles.go | 3 - .../customerprofiles/api_op_GetWorkflow.go | 3 - .../api_op_GetWorkflowSteps.go | 3 - .../api_op_ListAccountIntegrations.go | 3 - ...i_op_ListCalculatedAttributeDefinitions.go | 3 - ...i_op_ListCalculatedAttributesForProfile.go | 3 - .../customerprofiles/api_op_ListDomains.go | 3 - .../api_op_ListEventStreams.go | 3 - .../api_op_ListEventTriggers.go | 3 - .../api_op_ListIdentityResolutionJobs.go | 3 - .../api_op_ListIntegrations.go | 3 - .../api_op_ListObjectTypeAttributes.go | 3 - .../api_op_ListProfileAttributeValues.go | 3 - .../api_op_ListProfileObjectTypeTemplates.go | 3 - .../api_op_ListProfileObjectTypes.go | 3 - .../api_op_ListProfileObjects.go | 3 - .../api_op_ListRuleBasedMatches.go | 3 - .../api_op_ListSegmentDefinitions.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../customerprofiles/api_op_ListWorkflows.go | 3 - .../customerprofiles/api_op_MergeProfiles.go | 3 - .../customerprofiles/api_op_PutIntegration.go | 3 - .../api_op_PutProfileObject.go | 3 - .../api_op_PutProfileObjectType.go | 3 - .../customerprofiles/api_op_SearchProfiles.go | 3 - .../customerprofiles/api_op_TagResource.go | 3 - .../customerprofiles/api_op_UntagResource.go | 3 - ..._op_UpdateCalculatedAttributeDefinition.go | 3 - .../customerprofiles/api_op_UpdateDomain.go | 3 - .../api_op_UpdateEventTrigger.go | 3 - .../customerprofiles/api_op_UpdateProfile.go | 3 - .../snapshot/api_op_AddProfileKey.go.snap | 1 - ...chGetCalculatedAttributeForProfile.go.snap | 1 - .../snapshot/api_op_BatchGetProfile.go.snap | 1 - ...reateCalculatedAttributeDefinition.go.snap | 1 - .../snapshot/api_op_CreateDomain.go.snap | 1 - .../snapshot/api_op_CreateEventStream.go.snap | 1 - .../api_op_CreateEventTrigger.go.snap | 1 - .../api_op_CreateIntegrationWorkflow.go.snap | 1 - .../snapshot/api_op_CreateProfile.go.snap | 1 - .../api_op_CreateSegmentDefinition.go.snap | 1 - .../api_op_CreateSegmentEstimate.go.snap | 1 - .../api_op_CreateSegmentSnapshot.go.snap | 1 - ...eleteCalculatedAttributeDefinition.go.snap | 1 - .../snapshot/api_op_DeleteDomain.go.snap | 1 - .../snapshot/api_op_DeleteEventStream.go.snap | 1 - .../api_op_DeleteEventTrigger.go.snap | 1 - .../snapshot/api_op_DeleteIntegration.go.snap | 1 - .../snapshot/api_op_DeleteProfile.go.snap | 1 - .../snapshot/api_op_DeleteProfileKey.go.snap | 1 - .../api_op_DeleteProfileObject.go.snap | 1 - .../api_op_DeleteProfileObjectType.go.snap | 1 - .../api_op_DeleteSegmentDefinition.go.snap | 1 - .../snapshot/api_op_DeleteWorkflow.go.snap | 1 - .../api_op_DetectProfileObjectType.go.snap | 1 - .../api_op_GetAutoMergingPreview.go.snap | 1 - ...p_GetCalculatedAttributeDefinition.go.snap | 1 - ...p_GetCalculatedAttributeForProfile.go.snap | 1 - .../snapshot/api_op_GetDomain.go.snap | 1 - .../snapshot/api_op_GetEventStream.go.snap | 1 - .../snapshot/api_op_GetEventTrigger.go.snap | 1 - .../api_op_GetIdentityResolutionJob.go.snap | 1 - .../snapshot/api_op_GetIntegration.go.snap | 1 - .../snapshot/api_op_GetMatches.go.snap | 1 - .../api_op_GetProfileObjectType.go.snap | 1 - ...pi_op_GetProfileObjectTypeTemplate.go.snap | 1 - .../api_op_GetSegmentDefinition.go.snap | 1 - .../api_op_GetSegmentEstimate.go.snap | 1 - .../api_op_GetSegmentMembership.go.snap | 1 - .../api_op_GetSegmentSnapshot.go.snap | 1 - .../api_op_GetSimilarProfiles.go.snap | 1 - .../snapshot/api_op_GetWorkflow.go.snap | 1 - .../snapshot/api_op_GetWorkflowSteps.go.snap | 1 - .../api_op_ListAccountIntegrations.go.snap | 1 - ...ListCalculatedAttributeDefinitions.go.snap | 1 - ...ListCalculatedAttributesForProfile.go.snap | 1 - .../snapshot/api_op_ListDomains.go.snap | 1 - .../snapshot/api_op_ListEventStreams.go.snap | 1 - .../snapshot/api_op_ListEventTriggers.go.snap | 1 - .../api_op_ListIdentityResolutionJobs.go.snap | 1 - .../snapshot/api_op_ListIntegrations.go.snap | 1 - .../api_op_ListObjectTypeAttributes.go.snap | 1 - .../api_op_ListProfileAttributeValues.go.snap | 1 - ..._op_ListProfileObjectTypeTemplates.go.snap | 1 - .../api_op_ListProfileObjectTypes.go.snap | 1 - .../api_op_ListProfileObjects.go.snap | 1 - .../api_op_ListRuleBasedMatches.go.snap | 1 - .../api_op_ListSegmentDefinitions.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListWorkflows.go.snap | 1 - .../snapshot/api_op_MergeProfiles.go.snap | 1 - .../snapshot/api_op_PutIntegration.go.snap | 1 - .../snapshot/api_op_PutProfileObject.go.snap | 1 - .../api_op_PutProfileObjectType.go.snap | 1 - .../snapshot/api_op_SearchProfiles.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - ...pdateCalculatedAttributeDefinition.go.snap | 1 - .../snapshot/api_op_UpdateDomain.go.snap | 1 - .../api_op_UpdateEventTrigger.go.snap | 1 - .../snapshot/api_op_UpdateProfile.go.snap | 1 - .../databasemigrationservice/api_client.go | 31 -- .../api_op_AddTagsToResource.go | 3 - .../api_op_ApplyPendingMaintenanceAction.go | 3 - .../api_op_BatchStartRecommendations.go | 3 - ...i_op_CancelReplicationTaskAssessmentRun.go | 3 - .../api_op_CreateDataMigration.go | 3 - .../api_op_CreateDataProvider.go | 3 - .../api_op_CreateEndpoint.go | 3 - .../api_op_CreateEventSubscription.go | 3 - .../api_op_CreateFleetAdvisorCollector.go | 3 - .../api_op_CreateInstanceProfile.go | 3 - .../api_op_CreateMigrationProject.go | 3 - .../api_op_CreateReplicationConfig.go | 3 - .../api_op_CreateReplicationInstance.go | 3 - .../api_op_CreateReplicationSubnetGroup.go | 3 - .../api_op_CreateReplicationTask.go | 3 - .../api_op_DeleteCertificate.go | 3 - .../api_op_DeleteConnection.go | 3 - .../api_op_DeleteDataMigration.go | 3 - .../api_op_DeleteDataProvider.go | 3 - .../api_op_DeleteEndpoint.go | 3 - .../api_op_DeleteEventSubscription.go | 3 - .../api_op_DeleteFleetAdvisorCollector.go | 3 - .../api_op_DeleteFleetAdvisorDatabases.go | 3 - .../api_op_DeleteInstanceProfile.go | 3 - .../api_op_DeleteMigrationProject.go | 3 - .../api_op_DeleteReplicationConfig.go | 3 - .../api_op_DeleteReplicationInstance.go | 3 - .../api_op_DeleteReplicationSubnetGroup.go | 3 - .../api_op_DeleteReplicationTask.go | 3 - ...i_op_DeleteReplicationTaskAssessmentRun.go | 3 - .../api_op_DescribeAccountAttributes.go | 3 - ...DescribeApplicableIndividualAssessments.go | 3 - .../api_op_DescribeCertificates.go | 3 - .../api_op_DescribeConnections.go | 3 - .../api_op_DescribeConversionConfiguration.go | 3 - .../api_op_DescribeDataMigrations.go | 3 - .../api_op_DescribeDataProviders.go | 3 - .../api_op_DescribeEndpointSettings.go | 3 - .../api_op_DescribeEndpointTypes.go | 3 - .../api_op_DescribeEndpoints.go | 3 - .../api_op_DescribeEngineVersions.go | 3 - .../api_op_DescribeEventCategories.go | 3 - .../api_op_DescribeEventSubscriptions.go | 3 - .../api_op_DescribeEvents.go | 3 - ...pi_op_DescribeExtensionPackAssociations.go | 3 - .../api_op_DescribeFleetAdvisorCollectors.go | 3 - .../api_op_DescribeFleetAdvisorDatabases.go | 3 - .../api_op_DescribeFleetAdvisorLsaAnalysis.go | 3 - ...DescribeFleetAdvisorSchemaObjectSummary.go | 3 - .../api_op_DescribeFleetAdvisorSchemas.go | 3 - .../api_op_DescribeInstanceProfiles.go | 3 - ...api_op_DescribeMetadataModelAssessments.go | 3 - ...api_op_DescribeMetadataModelConversions.go | 3 - ...op_DescribeMetadataModelExportsAsScript.go | 3 - ...op_DescribeMetadataModelExportsToTarget.go | 3 - .../api_op_DescribeMetadataModelImports.go | 3 - .../api_op_DescribeMigrationProjects.go | 3 - ...p_DescribeOrderableReplicationInstances.go | 3 - ...pi_op_DescribePendingMaintenanceActions.go | 3 - ...pi_op_DescribeRecommendationLimitations.go | 3 - .../api_op_DescribeRecommendations.go | 3 - .../api_op_DescribeRefreshSchemasStatus.go | 3 - .../api_op_DescribeReplicationConfigs.go | 3 - ..._op_DescribeReplicationInstanceTaskLogs.go | 3 - .../api_op_DescribeReplicationInstances.go | 3 - .../api_op_DescribeReplicationSubnetGroups.go | 3 - ...i_op_DescribeReplicationTableStatistics.go | 3 - ...escribeReplicationTaskAssessmentResults.go | 3 - ...p_DescribeReplicationTaskAssessmentRuns.go | 3 - ...ibeReplicationTaskIndividualAssessments.go | 3 - .../api_op_DescribeReplicationTasks.go | 3 - .../api_op_DescribeReplications.go | 3 - .../api_op_DescribeSchemas.go | 3 - .../api_op_DescribeTableStatistics.go | 3 - .../api_op_ExportMetadataModelAssessment.go | 3 - .../api_op_ImportCertificate.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_ModifyConversionConfiguration.go | 3 - .../api_op_ModifyDataMigration.go | 3 - .../api_op_ModifyDataProvider.go | 3 - .../api_op_ModifyEndpoint.go | 3 - .../api_op_ModifyEventSubscription.go | 3 - .../api_op_ModifyInstanceProfile.go | 3 - .../api_op_ModifyMigrationProject.go | 3 - .../api_op_ModifyReplicationConfig.go | 3 - .../api_op_ModifyReplicationInstance.go | 3 - .../api_op_ModifyReplicationSubnetGroup.go | 3 - .../api_op_ModifyReplicationTask.go | 3 - .../api_op_MoveReplicationTask.go | 3 - .../api_op_RebootReplicationInstance.go | 3 - .../api_op_RefreshSchemas.go | 3 - .../api_op_ReloadReplicationTables.go | 3 - .../api_op_ReloadTables.go | 3 - .../api_op_RemoveTagsFromResource.go | 3 - .../api_op_RunFleetAdvisorLsaAnalysis.go | 3 - .../api_op_StartDataMigration.go | 3 - .../api_op_StartExtensionPackAssociation.go | 3 - .../api_op_StartMetadataModelAssessment.go | 3 - .../api_op_StartMetadataModelConversion.go | 3 - ...api_op_StartMetadataModelExportAsScript.go | 3 - ...api_op_StartMetadataModelExportToTarget.go | 3 - .../api_op_StartMetadataModelImport.go | 3 - .../api_op_StartRecommendations.go | 3 - .../api_op_StartReplication.go | 3 - .../api_op_StartReplicationTask.go | 3 - .../api_op_StartReplicationTaskAssessment.go | 3 - ...pi_op_StartReplicationTaskAssessmentRun.go | 3 - .../api_op_StopDataMigration.go | 3 - .../api_op_StopReplication.go | 3 - .../api_op_StopReplicationTask.go | 3 - .../api_op_TestConnection.go | 3 - ...api_op_UpdateSubscriptionsToEventBridge.go | 3 - .../snapshot/api_op_AddTagsToResource.go.snap | 1 - ...i_op_ApplyPendingMaintenanceAction.go.snap | 1 - .../api_op_BatchStartRecommendations.go.snap | 1 - ...CancelReplicationTaskAssessmentRun.go.snap | 1 - .../api_op_CreateDataMigration.go.snap | 1 - .../api_op_CreateDataProvider.go.snap | 1 - .../snapshot/api_op_CreateEndpoint.go.snap | 1 - .../api_op_CreateEventSubscription.go.snap | 1 - ...api_op_CreateFleetAdvisorCollector.go.snap | 1 - .../api_op_CreateInstanceProfile.go.snap | 1 - .../api_op_CreateMigrationProject.go.snap | 1 - .../api_op_CreateReplicationConfig.go.snap | 1 - .../api_op_CreateReplicationInstance.go.snap | 1 - ...pi_op_CreateReplicationSubnetGroup.go.snap | 1 - .../api_op_CreateReplicationTask.go.snap | 1 - .../snapshot/api_op_DeleteCertificate.go.snap | 1 - .../snapshot/api_op_DeleteConnection.go.snap | 1 - .../api_op_DeleteDataMigration.go.snap | 1 - .../api_op_DeleteDataProvider.go.snap | 1 - .../snapshot/api_op_DeleteEndpoint.go.snap | 1 - .../api_op_DeleteEventSubscription.go.snap | 1 - ...api_op_DeleteFleetAdvisorCollector.go.snap | 1 - ...api_op_DeleteFleetAdvisorDatabases.go.snap | 1 - .../api_op_DeleteInstanceProfile.go.snap | 1 - .../api_op_DeleteMigrationProject.go.snap | 1 - .../api_op_DeleteReplicationConfig.go.snap | 1 - .../api_op_DeleteReplicationInstance.go.snap | 1 - ...pi_op_DeleteReplicationSubnetGroup.go.snap | 1 - .../api_op_DeleteReplicationTask.go.snap | 1 - ...DeleteReplicationTaskAssessmentRun.go.snap | 1 - .../api_op_DescribeAccountAttributes.go.snap | 1 - ...ibeApplicableIndividualAssessments.go.snap | 1 - .../api_op_DescribeCertificates.go.snap | 1 - .../api_op_DescribeConnections.go.snap | 1 - ...op_DescribeConversionConfiguration.go.snap | 1 - .../api_op_DescribeDataMigrations.go.snap | 1 - .../api_op_DescribeDataProviders.go.snap | 1 - .../api_op_DescribeEndpointSettings.go.snap | 1 - .../api_op_DescribeEndpointTypes.go.snap | 1 - .../snapshot/api_op_DescribeEndpoints.go.snap | 1 - .../api_op_DescribeEngineVersions.go.snap | 1 - .../api_op_DescribeEventCategories.go.snap | 1 - .../api_op_DescribeEventSubscriptions.go.snap | 1 - .../snapshot/api_op_DescribeEvents.go.snap | 1 - ..._DescribeExtensionPackAssociations.go.snap | 1 - ..._op_DescribeFleetAdvisorCollectors.go.snap | 1 - ...i_op_DescribeFleetAdvisorDatabases.go.snap | 1 - ...op_DescribeFleetAdvisorLsaAnalysis.go.snap | 1 - ...ibeFleetAdvisorSchemaObjectSummary.go.snap | 1 - ...api_op_DescribeFleetAdvisorSchemas.go.snap | 1 - .../api_op_DescribeInstanceProfiles.go.snap | 1 - ...p_DescribeMetadataModelAssessments.go.snap | 1 - ...p_DescribeMetadataModelConversions.go.snap | 1 - ...scribeMetadataModelExportsAsScript.go.snap | 1 - ...scribeMetadataModelExportsToTarget.go.snap | 1 - ...pi_op_DescribeMetadataModelImports.go.snap | 1 - .../api_op_DescribeMigrationProjects.go.snap | 1 - ...cribeOrderableReplicationInstances.go.snap | 1 - ..._DescribePendingMaintenanceActions.go.snap | 1 - ..._DescribeRecommendationLimitations.go.snap | 1 - .../api_op_DescribeRecommendations.go.snap | 1 - ...pi_op_DescribeRefreshSchemasStatus.go.snap | 1 - .../api_op_DescribeReplicationConfigs.go.snap | 1 - ...escribeReplicationInstanceTaskLogs.go.snap | 1 - ...pi_op_DescribeReplicationInstances.go.snap | 1 - ...op_DescribeReplicationSubnetGroups.go.snap | 1 - ...DescribeReplicationTableStatistics.go.snap | 1 - ...beReplicationTaskAssessmentResults.go.snap | 1 - ...cribeReplicationTaskAssessmentRuns.go.snap | 1 - ...plicationTaskIndividualAssessments.go.snap | 1 - .../api_op_DescribeReplicationTasks.go.snap | 1 - .../api_op_DescribeReplications.go.snap | 1 - .../snapshot/api_op_DescribeSchemas.go.snap | 1 - .../api_op_DescribeTableStatistics.go.snap | 1 - ...i_op_ExportMetadataModelAssessment.go.snap | 1 - .../snapshot/api_op_ImportCertificate.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - ...i_op_ModifyConversionConfiguration.go.snap | 1 - .../api_op_ModifyDataMigration.go.snap | 1 - .../api_op_ModifyDataProvider.go.snap | 1 - .../snapshot/api_op_ModifyEndpoint.go.snap | 1 - .../api_op_ModifyEventSubscription.go.snap | 1 - .../api_op_ModifyInstanceProfile.go.snap | 1 - .../api_op_ModifyMigrationProject.go.snap | 1 - .../api_op_ModifyReplicationConfig.go.snap | 1 - .../api_op_ModifyReplicationInstance.go.snap | 1 - ...pi_op_ModifyReplicationSubnetGroup.go.snap | 1 - .../api_op_ModifyReplicationTask.go.snap | 1 - .../api_op_MoveReplicationTask.go.snap | 1 - .../api_op_RebootReplicationInstance.go.snap | 1 - .../snapshot/api_op_RefreshSchemas.go.snap | 1 - .../api_op_ReloadReplicationTables.go.snap | 1 - .../snapshot/api_op_ReloadTables.go.snap | 1 - .../api_op_RemoveTagsFromResource.go.snap | 1 - .../api_op_RunFleetAdvisorLsaAnalysis.go.snap | 1 - .../api_op_StartDataMigration.go.snap | 1 - ...i_op_StartExtensionPackAssociation.go.snap | 1 - ...pi_op_StartMetadataModelAssessment.go.snap | 1 - ...pi_op_StartMetadataModelConversion.go.snap | 1 - ...p_StartMetadataModelExportAsScript.go.snap | 1 - ...p_StartMetadataModelExportToTarget.go.snap | 1 - .../api_op_StartMetadataModelImport.go.snap | 1 - .../api_op_StartRecommendations.go.snap | 1 - .../snapshot/api_op_StartReplication.go.snap | 1 - .../api_op_StartReplicationTask.go.snap | 1 - ..._op_StartReplicationTaskAssessment.go.snap | 1 - ..._StartReplicationTaskAssessmentRun.go.snap | 1 - .../snapshot/api_op_StopDataMigration.go.snap | 1 - .../snapshot/api_op_StopReplication.go.snap | 1 - .../api_op_StopReplicationTask.go.snap | 1 - .../snapshot/api_op_TestConnection.go.snap | 1 - ...p_UpdateSubscriptionsToEventBridge.go.snap | 1 - service/databrew/api_client.go | 31 -- .../api_op_BatchDeleteRecipeVersion.go | 3 - service/databrew/api_op_CreateDataset.go | 3 - service/databrew/api_op_CreateProfileJob.go | 3 - service/databrew/api_op_CreateProject.go | 3 - service/databrew/api_op_CreateRecipe.go | 3 - service/databrew/api_op_CreateRecipeJob.go | 3 - service/databrew/api_op_CreateRuleset.go | 3 - service/databrew/api_op_CreateSchedule.go | 3 - service/databrew/api_op_DeleteDataset.go | 3 - service/databrew/api_op_DeleteJob.go | 3 - service/databrew/api_op_DeleteProject.go | 3 - .../databrew/api_op_DeleteRecipeVersion.go | 3 - service/databrew/api_op_DeleteRuleset.go | 3 - service/databrew/api_op_DeleteSchedule.go | 3 - service/databrew/api_op_DescribeDataset.go | 3 - service/databrew/api_op_DescribeJob.go | 3 - service/databrew/api_op_DescribeJobRun.go | 3 - service/databrew/api_op_DescribeProject.go | 3 - service/databrew/api_op_DescribeRecipe.go | 3 - service/databrew/api_op_DescribeRuleset.go | 3 - service/databrew/api_op_DescribeSchedule.go | 3 - service/databrew/api_op_ListDatasets.go | 3 - service/databrew/api_op_ListJobRuns.go | 3 - service/databrew/api_op_ListJobs.go | 3 - service/databrew/api_op_ListProjects.go | 3 - service/databrew/api_op_ListRecipeVersions.go | 3 - service/databrew/api_op_ListRecipes.go | 3 - service/databrew/api_op_ListRulesets.go | 3 - service/databrew/api_op_ListSchedules.go | 3 - .../databrew/api_op_ListTagsForResource.go | 3 - service/databrew/api_op_PublishRecipe.go | 3 - .../api_op_SendProjectSessionAction.go | 3 - service/databrew/api_op_StartJobRun.go | 3 - .../databrew/api_op_StartProjectSession.go | 3 - service/databrew/api_op_StopJobRun.go | 3 - service/databrew/api_op_TagResource.go | 3 - service/databrew/api_op_UntagResource.go | 3 - service/databrew/api_op_UpdateDataset.go | 3 - service/databrew/api_op_UpdateProfileJob.go | 3 - service/databrew/api_op_UpdateProject.go | 3 - service/databrew/api_op_UpdateRecipe.go | 3 - service/databrew/api_op_UpdateRecipeJob.go | 3 - service/databrew/api_op_UpdateRuleset.go | 3 - service/databrew/api_op_UpdateSchedule.go | 3 - .../api_op_BatchDeleteRecipeVersion.go.snap | 1 - .../snapshot/api_op_CreateDataset.go.snap | 1 - .../snapshot/api_op_CreateProfileJob.go.snap | 1 - .../snapshot/api_op_CreateProject.go.snap | 1 - .../snapshot/api_op_CreateRecipe.go.snap | 1 - .../snapshot/api_op_CreateRecipeJob.go.snap | 1 - .../snapshot/api_op_CreateRuleset.go.snap | 1 - .../snapshot/api_op_CreateSchedule.go.snap | 1 - .../snapshot/api_op_DeleteDataset.go.snap | 1 - .../snapshot/api_op_DeleteJob.go.snap | 1 - .../snapshot/api_op_DeleteProject.go.snap | 1 - .../api_op_DeleteRecipeVersion.go.snap | 1 - .../snapshot/api_op_DeleteRuleset.go.snap | 1 - .../snapshot/api_op_DeleteSchedule.go.snap | 1 - .../snapshot/api_op_DescribeDataset.go.snap | 1 - .../snapshot/api_op_DescribeJob.go.snap | 1 - .../snapshot/api_op_DescribeJobRun.go.snap | 1 - .../snapshot/api_op_DescribeProject.go.snap | 1 - .../snapshot/api_op_DescribeRecipe.go.snap | 1 - .../snapshot/api_op_DescribeRuleset.go.snap | 1 - .../snapshot/api_op_DescribeSchedule.go.snap | 1 - .../snapshot/api_op_ListDatasets.go.snap | 1 - .../snapshot/api_op_ListJobRuns.go.snap | 1 - .../databrew/snapshot/api_op_ListJobs.go.snap | 1 - .../snapshot/api_op_ListProjects.go.snap | 1 - .../api_op_ListRecipeVersions.go.snap | 1 - .../snapshot/api_op_ListRecipes.go.snap | 1 - .../snapshot/api_op_ListRulesets.go.snap | 1 - .../snapshot/api_op_ListSchedules.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_PublishRecipe.go.snap | 1 - .../api_op_SendProjectSessionAction.go.snap | 1 - .../snapshot/api_op_StartJobRun.go.snap | 1 - .../api_op_StartProjectSession.go.snap | 1 - .../snapshot/api_op_StopJobRun.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateDataset.go.snap | 1 - .../snapshot/api_op_UpdateProfileJob.go.snap | 1 - .../snapshot/api_op_UpdateProject.go.snap | 1 - .../snapshot/api_op_UpdateRecipe.go.snap | 1 - .../snapshot/api_op_UpdateRecipeJob.go.snap | 1 - .../snapshot/api_op_UpdateRuleset.go.snap | 1 - .../snapshot/api_op_UpdateSchedule.go.snap | 1 - service/dataexchange/api_client.go | 31 -- .../dataexchange/api_op_AcceptDataGrant.go | 3 - service/dataexchange/api_op_CancelJob.go | 3 - .../dataexchange/api_op_CreateDataGrant.go | 3 - service/dataexchange/api_op_CreateDataSet.go | 3 - .../dataexchange/api_op_CreateEventAction.go | 3 - service/dataexchange/api_op_CreateJob.go | 3 - service/dataexchange/api_op_CreateRevision.go | 3 - service/dataexchange/api_op_DeleteAsset.go | 3 - .../dataexchange/api_op_DeleteDataGrant.go | 3 - service/dataexchange/api_op_DeleteDataSet.go | 3 - .../dataexchange/api_op_DeleteEventAction.go | 3 - service/dataexchange/api_op_DeleteRevision.go | 3 - service/dataexchange/api_op_GetAsset.go | 3 - service/dataexchange/api_op_GetDataGrant.go | 3 - service/dataexchange/api_op_GetDataSet.go | 3 - service/dataexchange/api_op_GetEventAction.go | 3 - service/dataexchange/api_op_GetJob.go | 3 - .../api_op_GetReceivedDataGrant.go | 3 - service/dataexchange/api_op_GetRevision.go | 3 - service/dataexchange/api_op_ListDataGrants.go | 3 - .../api_op_ListDataSetRevisions.go | 3 - service/dataexchange/api_op_ListDataSets.go | 3 - .../dataexchange/api_op_ListEventActions.go | 3 - service/dataexchange/api_op_ListJobs.go | 3 - .../api_op_ListReceivedDataGrants.go | 3 - .../dataexchange/api_op_ListRevisionAssets.go | 3 - .../api_op_ListTagsForResource.go | 3 - service/dataexchange/api_op_RevokeRevision.go | 3 - service/dataexchange/api_op_SendApiAsset.go | 3 - .../api_op_SendDataSetNotification.go | 3 - service/dataexchange/api_op_StartJob.go | 3 - service/dataexchange/api_op_TagResource.go | 3 - service/dataexchange/api_op_UntagResource.go | 3 - service/dataexchange/api_op_UpdateAsset.go | 3 - service/dataexchange/api_op_UpdateDataSet.go | 3 - .../dataexchange/api_op_UpdateEventAction.go | 3 - service/dataexchange/api_op_UpdateRevision.go | 3 - .../snapshot/api_op_AcceptDataGrant.go.snap | 1 - .../snapshot/api_op_CancelJob.go.snap | 1 - .../snapshot/api_op_CreateDataGrant.go.snap | 1 - .../snapshot/api_op_CreateDataSet.go.snap | 1 - .../snapshot/api_op_CreateEventAction.go.snap | 1 - .../snapshot/api_op_CreateJob.go.snap | 1 - .../snapshot/api_op_CreateRevision.go.snap | 1 - .../snapshot/api_op_DeleteAsset.go.snap | 1 - .../snapshot/api_op_DeleteDataGrant.go.snap | 1 - .../snapshot/api_op_DeleteDataSet.go.snap | 1 - .../snapshot/api_op_DeleteEventAction.go.snap | 1 - .../snapshot/api_op_DeleteRevision.go.snap | 1 - .../snapshot/api_op_GetAsset.go.snap | 1 - .../snapshot/api_op_GetDataGrant.go.snap | 1 - .../snapshot/api_op_GetDataSet.go.snap | 1 - .../snapshot/api_op_GetEventAction.go.snap | 1 - .../snapshot/api_op_GetJob.go.snap | 1 - .../api_op_GetReceivedDataGrant.go.snap | 1 - .../snapshot/api_op_GetRevision.go.snap | 1 - .../snapshot/api_op_ListDataGrants.go.snap | 1 - .../api_op_ListDataSetRevisions.go.snap | 1 - .../snapshot/api_op_ListDataSets.go.snap | 1 - .../snapshot/api_op_ListEventActions.go.snap | 1 - .../snapshot/api_op_ListJobs.go.snap | 1 - .../api_op_ListReceivedDataGrants.go.snap | 1 - .../api_op_ListRevisionAssets.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_RevokeRevision.go.snap | 1 - .../snapshot/api_op_SendApiAsset.go.snap | 1 - .../api_op_SendDataSetNotification.go.snap | 1 - .../snapshot/api_op_StartJob.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateAsset.go.snap | 1 - .../snapshot/api_op_UpdateDataSet.go.snap | 1 - .../snapshot/api_op_UpdateEventAction.go.snap | 1 - .../snapshot/api_op_UpdateRevision.go.snap | 1 - service/datapipeline/api_client.go | 31 -- .../datapipeline/api_op_ActivatePipeline.go | 3 - service/datapipeline/api_op_AddTags.go | 3 - service/datapipeline/api_op_CreatePipeline.go | 3 - .../datapipeline/api_op_DeactivatePipeline.go | 3 - service/datapipeline/api_op_DeletePipeline.go | 3 - .../datapipeline/api_op_DescribeObjects.go | 3 - .../datapipeline/api_op_DescribePipelines.go | 3 - .../datapipeline/api_op_EvaluateExpression.go | 3 - .../api_op_GetPipelineDefinition.go | 3 - service/datapipeline/api_op_ListPipelines.go | 3 - service/datapipeline/api_op_PollForTask.go | 3 - .../api_op_PutPipelineDefinition.go | 3 - service/datapipeline/api_op_QueryObjects.go | 3 - service/datapipeline/api_op_RemoveTags.go | 3 - .../datapipeline/api_op_ReportTaskProgress.go | 3 - .../api_op_ReportTaskRunnerHeartbeat.go | 3 - service/datapipeline/api_op_SetStatus.go | 3 - service/datapipeline/api_op_SetTaskStatus.go | 3 - .../api_op_ValidatePipelineDefinition.go | 3 - .../snapshot/api_op_ActivatePipeline.go.snap | 1 - .../snapshot/api_op_AddTags.go.snap | 1 - .../snapshot/api_op_CreatePipeline.go.snap | 1 - .../api_op_DeactivatePipeline.go.snap | 1 - .../snapshot/api_op_DeletePipeline.go.snap | 1 - .../snapshot/api_op_DescribeObjects.go.snap | 1 - .../snapshot/api_op_DescribePipelines.go.snap | 1 - .../api_op_EvaluateExpression.go.snap | 1 - .../api_op_GetPipelineDefinition.go.snap | 1 - .../snapshot/api_op_ListPipelines.go.snap | 1 - .../snapshot/api_op_PollForTask.go.snap | 1 - .../api_op_PutPipelineDefinition.go.snap | 1 - .../snapshot/api_op_QueryObjects.go.snap | 1 - .../snapshot/api_op_RemoveTags.go.snap | 1 - .../api_op_ReportTaskProgress.go.snap | 1 - .../api_op_ReportTaskRunnerHeartbeat.go.snap | 1 - .../snapshot/api_op_SetStatus.go.snap | 1 - .../snapshot/api_op_SetTaskStatus.go.snap | 1 - .../api_op_ValidatePipelineDefinition.go.snap | 1 - service/datasync/api_client.go | 31 -- service/datasync/api_op_AddStorageSystem.go | 3 - .../datasync/api_op_CancelTaskExecution.go | 3 - service/datasync/api_op_CreateAgent.go | 3 - .../api_op_CreateLocationAzureBlob.go | 3 - service/datasync/api_op_CreateLocationEfs.go | 3 - .../api_op_CreateLocationFsxLustre.go | 3 - .../datasync/api_op_CreateLocationFsxOntap.go | 3 - .../api_op_CreateLocationFsxOpenZfs.go | 3 - .../api_op_CreateLocationFsxWindows.go | 3 - service/datasync/api_op_CreateLocationHdfs.go | 3 - service/datasync/api_op_CreateLocationNfs.go | 3 - .../api_op_CreateLocationObjectStorage.go | 3 - service/datasync/api_op_CreateLocationS3.go | 3 - service/datasync/api_op_CreateLocationSmb.go | 3 - service/datasync/api_op_CreateTask.go | 3 - service/datasync/api_op_DeleteAgent.go | 3 - service/datasync/api_op_DeleteLocation.go | 3 - service/datasync/api_op_DeleteTask.go | 3 - service/datasync/api_op_DescribeAgent.go | 3 - .../datasync/api_op_DescribeDiscoveryJob.go | 3 - .../api_op_DescribeLocationAzureBlob.go | 3 - .../datasync/api_op_DescribeLocationEfs.go | 3 - .../api_op_DescribeLocationFsxLustre.go | 3 - .../api_op_DescribeLocationFsxOntap.go | 3 - .../api_op_DescribeLocationFsxOpenZfs.go | 3 - .../api_op_DescribeLocationFsxWindows.go | 3 - .../datasync/api_op_DescribeLocationHdfs.go | 3 - .../datasync/api_op_DescribeLocationNfs.go | 3 - .../api_op_DescribeLocationObjectStorage.go | 3 - service/datasync/api_op_DescribeLocationS3.go | 3 - .../datasync/api_op_DescribeLocationSmb.go | 3 - .../datasync/api_op_DescribeStorageSystem.go | 3 - ...op_DescribeStorageSystemResourceMetrics.go | 3 - .../api_op_DescribeStorageSystemResources.go | 3 - service/datasync/api_op_DescribeTask.go | 3 - .../datasync/api_op_DescribeTaskExecution.go | 3 - .../api_op_GenerateRecommendations.go | 3 - service/datasync/api_op_ListAgents.go | 3 - service/datasync/api_op_ListDiscoveryJobs.go | 3 - service/datasync/api_op_ListLocations.go | 3 - service/datasync/api_op_ListStorageSystems.go | 3 - .../datasync/api_op_ListTagsForResource.go | 3 - service/datasync/api_op_ListTaskExecutions.go | 3 - service/datasync/api_op_ListTasks.go | 3 - .../datasync/api_op_RemoveStorageSystem.go | 3 - service/datasync/api_op_StartDiscoveryJob.go | 3 - service/datasync/api_op_StartTaskExecution.go | 3 - service/datasync/api_op_StopDiscoveryJob.go | 3 - service/datasync/api_op_TagResource.go | 3 - service/datasync/api_op_UntagResource.go | 3 - service/datasync/api_op_UpdateAgent.go | 3 - service/datasync/api_op_UpdateDiscoveryJob.go | 3 - .../api_op_UpdateLocationAzureBlob.go | 3 - service/datasync/api_op_UpdateLocationEfs.go | 3 - .../api_op_UpdateLocationFsxLustre.go | 3 - .../datasync/api_op_UpdateLocationFsxOntap.go | 3 - .../api_op_UpdateLocationFsxOpenZfs.go | 3 - .../api_op_UpdateLocationFsxWindows.go | 3 - service/datasync/api_op_UpdateLocationHdfs.go | 3 - service/datasync/api_op_UpdateLocationNfs.go | 3 - .../api_op_UpdateLocationObjectStorage.go | 3 - service/datasync/api_op_UpdateLocationS3.go | 3 - service/datasync/api_op_UpdateLocationSmb.go | 3 - .../datasync/api_op_UpdateStorageSystem.go | 3 - service/datasync/api_op_UpdateTask.go | 3 - .../datasync/api_op_UpdateTaskExecution.go | 3 - .../snapshot/api_op_AddStorageSystem.go.snap | 1 - .../api_op_CancelTaskExecution.go.snap | 1 - .../snapshot/api_op_CreateAgent.go.snap | 1 - .../api_op_CreateLocationAzureBlob.go.snap | 1 - .../snapshot/api_op_CreateLocationEfs.go.snap | 1 - .../api_op_CreateLocationFsxLustre.go.snap | 1 - .../api_op_CreateLocationFsxOntap.go.snap | 1 - .../api_op_CreateLocationFsxOpenZfs.go.snap | 1 - .../api_op_CreateLocationFsxWindows.go.snap | 1 - .../api_op_CreateLocationHdfs.go.snap | 1 - .../snapshot/api_op_CreateLocationNfs.go.snap | 1 - ...api_op_CreateLocationObjectStorage.go.snap | 1 - .../snapshot/api_op_CreateLocationS3.go.snap | 1 - .../snapshot/api_op_CreateLocationSmb.go.snap | 1 - .../snapshot/api_op_CreateTask.go.snap | 1 - .../snapshot/api_op_DeleteAgent.go.snap | 1 - .../snapshot/api_op_DeleteLocation.go.snap | 1 - .../snapshot/api_op_DeleteTask.go.snap | 1 - .../snapshot/api_op_DescribeAgent.go.snap | 1 - .../api_op_DescribeDiscoveryJob.go.snap | 1 - .../api_op_DescribeLocationAzureBlob.go.snap | 1 - .../api_op_DescribeLocationEfs.go.snap | 1 - .../api_op_DescribeLocationFsxLustre.go.snap | 1 - .../api_op_DescribeLocationFsxOntap.go.snap | 1 - .../api_op_DescribeLocationFsxOpenZfs.go.snap | 1 - .../api_op_DescribeLocationFsxWindows.go.snap | 1 - .../api_op_DescribeLocationHdfs.go.snap | 1 - .../api_op_DescribeLocationNfs.go.snap | 1 - ...i_op_DescribeLocationObjectStorage.go.snap | 1 - .../api_op_DescribeLocationS3.go.snap | 1 - .../api_op_DescribeLocationSmb.go.snap | 1 - .../api_op_DescribeStorageSystem.go.snap | 1 - ...scribeStorageSystemResourceMetrics.go.snap | 1 - ..._op_DescribeStorageSystemResources.go.snap | 1 - .../snapshot/api_op_DescribeTask.go.snap | 1 - .../api_op_DescribeTaskExecution.go.snap | 1 - .../api_op_GenerateRecommendations.go.snap | 1 - .../snapshot/api_op_ListAgents.go.snap | 1 - .../snapshot/api_op_ListDiscoveryJobs.go.snap | 1 - .../snapshot/api_op_ListLocations.go.snap | 1 - .../api_op_ListStorageSystems.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListTaskExecutions.go.snap | 1 - .../snapshot/api_op_ListTasks.go.snap | 1 - .../api_op_RemoveStorageSystem.go.snap | 1 - .../snapshot/api_op_StartDiscoveryJob.go.snap | 1 - .../api_op_StartTaskExecution.go.snap | 1 - .../snapshot/api_op_StopDiscoveryJob.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateAgent.go.snap | 1 - .../api_op_UpdateDiscoveryJob.go.snap | 1 - .../api_op_UpdateLocationAzureBlob.go.snap | 1 - .../snapshot/api_op_UpdateLocationEfs.go.snap | 1 - .../api_op_UpdateLocationFsxLustre.go.snap | 1 - .../api_op_UpdateLocationFsxOntap.go.snap | 1 - .../api_op_UpdateLocationFsxOpenZfs.go.snap | 1 - .../api_op_UpdateLocationFsxWindows.go.snap | 1 - .../api_op_UpdateLocationHdfs.go.snap | 1 - .../snapshot/api_op_UpdateLocationNfs.go.snap | 1 - ...api_op_UpdateLocationObjectStorage.go.snap | 1 - .../snapshot/api_op_UpdateLocationS3.go.snap | 1 - .../snapshot/api_op_UpdateLocationSmb.go.snap | 1 - .../api_op_UpdateStorageSystem.go.snap | 1 - .../snapshot/api_op_UpdateTask.go.snap | 1 - .../api_op_UpdateTaskExecution.go.snap | 1 - service/datazone/api_client.go | 31 -- service/datazone/api_op_AcceptPredictions.go | 3 - .../api_op_AcceptSubscriptionRequest.go | 3 - service/datazone/api_op_AddEntityOwner.go | 3 - service/datazone/api_op_AddPolicyGrant.go | 3 - .../api_op_AssociateEnvironmentRole.go | 3 - .../api_op_CancelMetadataGenerationRun.go | 3 - service/datazone/api_op_CancelSubscription.go | 3 - service/datazone/api_op_CreateAsset.go | 3 - service/datazone/api_op_CreateAssetFilter.go | 3 - .../datazone/api_op_CreateAssetRevision.go | 3 - service/datazone/api_op_CreateAssetType.go | 3 - service/datazone/api_op_CreateConnection.go | 3 - service/datazone/api_op_CreateDataProduct.go | 3 - .../api_op_CreateDataProductRevision.go | 3 - service/datazone/api_op_CreateDataSource.go | 3 - service/datazone/api_op_CreateDomain.go | 3 - service/datazone/api_op_CreateDomainUnit.go | 3 - service/datazone/api_op_CreateEnvironment.go | 3 - .../api_op_CreateEnvironmentAction.go | 3 - .../api_op_CreateEnvironmentProfile.go | 3 - service/datazone/api_op_CreateFormType.go | 3 - service/datazone/api_op_CreateGlossary.go | 3 - service/datazone/api_op_CreateGlossaryTerm.go | 3 - service/datazone/api_op_CreateGroupProfile.go | 3 - .../datazone/api_op_CreateListingChangeSet.go | 3 - service/datazone/api_op_CreateProject.go | 3 - .../api_op_CreateProjectMembership.go | 3 - .../datazone/api_op_CreateProjectProfile.go | 3 - service/datazone/api_op_CreateRule.go | 3 - .../api_op_CreateSubscriptionGrant.go | 3 - .../api_op_CreateSubscriptionRequest.go | 3 - .../api_op_CreateSubscriptionTarget.go | 3 - service/datazone/api_op_CreateUserProfile.go | 3 - service/datazone/api_op_DeleteAsset.go | 3 - service/datazone/api_op_DeleteAssetFilter.go | 3 - service/datazone/api_op_DeleteAssetType.go | 3 - service/datazone/api_op_DeleteConnection.go | 3 - service/datazone/api_op_DeleteDataProduct.go | 3 - service/datazone/api_op_DeleteDataSource.go | 3 - service/datazone/api_op_DeleteDomain.go | 3 - service/datazone/api_op_DeleteDomainUnit.go | 3 - service/datazone/api_op_DeleteEnvironment.go | 3 - .../api_op_DeleteEnvironmentAction.go | 3 - ...DeleteEnvironmentBlueprintConfiguration.go | 3 - .../api_op_DeleteEnvironmentProfile.go | 3 - service/datazone/api_op_DeleteFormType.go | 3 - service/datazone/api_op_DeleteGlossary.go | 3 - service/datazone/api_op_DeleteGlossaryTerm.go | 3 - service/datazone/api_op_DeleteListing.go | 3 - service/datazone/api_op_DeleteProject.go | 3 - .../api_op_DeleteProjectMembership.go | 3 - .../datazone/api_op_DeleteProjectProfile.go | 3 - service/datazone/api_op_DeleteRule.go | 3 - .../api_op_DeleteSubscriptionGrant.go | 3 - .../api_op_DeleteSubscriptionRequest.go | 3 - .../api_op_DeleteSubscriptionTarget.go | 3 - .../api_op_DeleteTimeSeriesDataPoints.go | 3 - .../api_op_DisassociateEnvironmentRole.go | 3 - service/datazone/api_op_GetAsset.go | 3 - service/datazone/api_op_GetAssetFilter.go | 3 - service/datazone/api_op_GetAssetType.go | 3 - service/datazone/api_op_GetConnection.go | 3 - service/datazone/api_op_GetDataProduct.go | 3 - service/datazone/api_op_GetDataSource.go | 3 - service/datazone/api_op_GetDataSourceRun.go | 3 - service/datazone/api_op_GetDomain.go | 3 - service/datazone/api_op_GetDomainUnit.go | 3 - service/datazone/api_op_GetEnvironment.go | 3 - .../datazone/api_op_GetEnvironmentAction.go | 3 - .../api_op_GetEnvironmentBlueprint.go | 3 - ...op_GetEnvironmentBlueprintConfiguration.go | 3 - .../api_op_GetEnvironmentCredentials.go | 3 - .../datazone/api_op_GetEnvironmentProfile.go | 3 - service/datazone/api_op_GetFormType.go | 3 - service/datazone/api_op_GetGlossary.go | 3 - service/datazone/api_op_GetGlossaryTerm.go | 3 - service/datazone/api_op_GetGroupProfile.go | 3 - .../datazone/api_op_GetIamPortalLoginUrl.go | 3 - service/datazone/api_op_GetJobRun.go | 3 - service/datazone/api_op_GetLineageEvent.go | 3 - service/datazone/api_op_GetLineageNode.go | 3 - service/datazone/api_op_GetListing.go | 3 - .../api_op_GetMetadataGenerationRun.go | 3 - service/datazone/api_op_GetProject.go | 3 - service/datazone/api_op_GetProjectProfile.go | 3 - service/datazone/api_op_GetRule.go | 3 - service/datazone/api_op_GetSubscription.go | 3 - .../datazone/api_op_GetSubscriptionGrant.go | 3 - .../api_op_GetSubscriptionRequestDetails.go | 3 - .../datazone/api_op_GetSubscriptionTarget.go | 3 - .../datazone/api_op_GetTimeSeriesDataPoint.go | 3 - service/datazone/api_op_GetUserProfile.go | 3 - service/datazone/api_op_ListAssetFilters.go | 3 - service/datazone/api_op_ListAssetRevisions.go | 3 - service/datazone/api_op_ListConnections.go | 3 - .../api_op_ListDataProductRevisions.go | 3 - .../api_op_ListDataSourceRunActivities.go | 3 - service/datazone/api_op_ListDataSourceRuns.go | 3 - service/datazone/api_op_ListDataSources.go | 3 - .../api_op_ListDomainUnitsForParent.go | 3 - service/datazone/api_op_ListDomains.go | 3 - service/datazone/api_op_ListEntityOwners.go | 3 - .../datazone/api_op_ListEnvironmentActions.go | 3 - ..._ListEnvironmentBlueprintConfigurations.go | 3 - .../api_op_ListEnvironmentBlueprints.go | 3 - .../api_op_ListEnvironmentProfiles.go | 3 - service/datazone/api_op_ListEnvironments.go | 3 - service/datazone/api_op_ListJobRuns.go | 3 - service/datazone/api_op_ListLineageEvents.go | 3 - .../datazone/api_op_ListLineageNodeHistory.go | 3 - .../api_op_ListMetadataGenerationRuns.go | 3 - service/datazone/api_op_ListNotifications.go | 3 - service/datazone/api_op_ListPolicyGrants.go | 3 - .../datazone/api_op_ListProjectMemberships.go | 3 - .../datazone/api_op_ListProjectProfiles.go | 3 - service/datazone/api_op_ListProjects.go | 3 - service/datazone/api_op_ListRules.go | 3 - .../datazone/api_op_ListSubscriptionGrants.go | 3 - .../api_op_ListSubscriptionRequests.go | 3 - .../api_op_ListSubscriptionTargets.go | 3 - service/datazone/api_op_ListSubscriptions.go | 3 - .../datazone/api_op_ListTagsForResource.go | 3 - .../api_op_ListTimeSeriesDataPoints.go | 3 - service/datazone/api_op_PostLineageEvent.go | 3 - .../api_op_PostTimeSeriesDataPoints.go | 3 - ...op_PutEnvironmentBlueprintConfiguration.go | 3 - service/datazone/api_op_RejectPredictions.go | 3 - .../api_op_RejectSubscriptionRequest.go | 3 - service/datazone/api_op_RemoveEntityOwner.go | 3 - service/datazone/api_op_RemovePolicyGrant.go | 3 - service/datazone/api_op_RevokeSubscription.go | 3 - service/datazone/api_op_Search.go | 3 - .../datazone/api_op_SearchGroupProfiles.go | 3 - service/datazone/api_op_SearchListings.go | 3 - service/datazone/api_op_SearchTypes.go | 3 - service/datazone/api_op_SearchUserProfiles.go | 3 - service/datazone/api_op_StartDataSourceRun.go | 3 - .../api_op_StartMetadataGenerationRun.go | 3 - service/datazone/api_op_TagResource.go | 3 - service/datazone/api_op_UntagResource.go | 3 - service/datazone/api_op_UpdateAssetFilter.go | 3 - service/datazone/api_op_UpdateConnection.go | 3 - service/datazone/api_op_UpdateDataSource.go | 3 - service/datazone/api_op_UpdateDomain.go | 3 - service/datazone/api_op_UpdateDomainUnit.go | 3 - service/datazone/api_op_UpdateEnvironment.go | 3 - .../api_op_UpdateEnvironmentAction.go | 3 - .../api_op_UpdateEnvironmentProfile.go | 3 - service/datazone/api_op_UpdateGlossary.go | 3 - service/datazone/api_op_UpdateGlossaryTerm.go | 3 - service/datazone/api_op_UpdateGroupProfile.go | 3 - service/datazone/api_op_UpdateProject.go | 3 - .../datazone/api_op_UpdateProjectProfile.go | 3 - service/datazone/api_op_UpdateRule.go | 3 - .../api_op_UpdateSubscriptionGrantStatus.go | 3 - .../api_op_UpdateSubscriptionRequest.go | 3 - .../api_op_UpdateSubscriptionTarget.go | 3 - service/datazone/api_op_UpdateUserProfile.go | 3 - .../snapshot/api_op_AcceptPredictions.go.snap | 1 - .../api_op_AcceptSubscriptionRequest.go.snap | 1 - .../snapshot/api_op_AddEntityOwner.go.snap | 1 - .../snapshot/api_op_AddPolicyGrant.go.snap | 1 - .../api_op_AssociateEnvironmentRole.go.snap | 1 - ...api_op_CancelMetadataGenerationRun.go.snap | 1 - .../api_op_CancelSubscription.go.snap | 1 - .../snapshot/api_op_CreateAsset.go.snap | 1 - .../snapshot/api_op_CreateAssetFilter.go.snap | 1 - .../api_op_CreateAssetRevision.go.snap | 1 - .../snapshot/api_op_CreateAssetType.go.snap | 1 - .../snapshot/api_op_CreateConnection.go.snap | 1 - .../snapshot/api_op_CreateDataProduct.go.snap | 1 - .../api_op_CreateDataProductRevision.go.snap | 1 - .../snapshot/api_op_CreateDataSource.go.snap | 1 - .../snapshot/api_op_CreateDomain.go.snap | 1 - .../snapshot/api_op_CreateDomainUnit.go.snap | 1 - .../snapshot/api_op_CreateEnvironment.go.snap | 1 - .../api_op_CreateEnvironmentAction.go.snap | 1 - .../api_op_CreateEnvironmentProfile.go.snap | 1 - .../snapshot/api_op_CreateFormType.go.snap | 1 - .../snapshot/api_op_CreateGlossary.go.snap | 1 - .../api_op_CreateGlossaryTerm.go.snap | 1 - .../api_op_CreateGroupProfile.go.snap | 1 - .../api_op_CreateListingChangeSet.go.snap | 1 - .../snapshot/api_op_CreateProject.go.snap | 1 - .../api_op_CreateProjectMembership.go.snap | 1 - .../api_op_CreateProjectProfile.go.snap | 1 - .../snapshot/api_op_CreateRule.go.snap | 1 - .../api_op_CreateSubscriptionGrant.go.snap | 1 - .../api_op_CreateSubscriptionRequest.go.snap | 1 - .../api_op_CreateSubscriptionTarget.go.snap | 1 - .../snapshot/api_op_CreateUserProfile.go.snap | 1 - .../snapshot/api_op_DeleteAsset.go.snap | 1 - .../snapshot/api_op_DeleteAssetFilter.go.snap | 1 - .../snapshot/api_op_DeleteAssetType.go.snap | 1 - .../snapshot/api_op_DeleteConnection.go.snap | 1 - .../snapshot/api_op_DeleteDataProduct.go.snap | 1 - .../snapshot/api_op_DeleteDataSource.go.snap | 1 - .../snapshot/api_op_DeleteDomain.go.snap | 1 - .../snapshot/api_op_DeleteDomainUnit.go.snap | 1 - .../snapshot/api_op_DeleteEnvironment.go.snap | 1 - .../api_op_DeleteEnvironmentAction.go.snap | 1 - ...eEnvironmentBlueprintConfiguration.go.snap | 1 - .../api_op_DeleteEnvironmentProfile.go.snap | 1 - .../snapshot/api_op_DeleteFormType.go.snap | 1 - .../snapshot/api_op_DeleteGlossary.go.snap | 1 - .../api_op_DeleteGlossaryTerm.go.snap | 1 - .../snapshot/api_op_DeleteListing.go.snap | 1 - .../snapshot/api_op_DeleteProject.go.snap | 1 - .../api_op_DeleteProjectMembership.go.snap | 1 - .../api_op_DeleteProjectProfile.go.snap | 1 - .../snapshot/api_op_DeleteRule.go.snap | 1 - .../api_op_DeleteSubscriptionGrant.go.snap | 1 - .../api_op_DeleteSubscriptionRequest.go.snap | 1 - .../api_op_DeleteSubscriptionTarget.go.snap | 1 - .../api_op_DeleteTimeSeriesDataPoints.go.snap | 1 - ...api_op_DisassociateEnvironmentRole.go.snap | 1 - .../datazone/snapshot/api_op_GetAsset.go.snap | 1 - .../snapshot/api_op_GetAssetFilter.go.snap | 1 - .../snapshot/api_op_GetAssetType.go.snap | 1 - .../snapshot/api_op_GetConnection.go.snap | 1 - .../snapshot/api_op_GetDataProduct.go.snap | 1 - .../snapshot/api_op_GetDataSource.go.snap | 1 - .../snapshot/api_op_GetDataSourceRun.go.snap | 1 - .../snapshot/api_op_GetDomain.go.snap | 1 - .../snapshot/api_op_GetDomainUnit.go.snap | 1 - .../snapshot/api_op_GetEnvironment.go.snap | 1 - .../api_op_GetEnvironmentAction.go.snap | 1 - .../api_op_GetEnvironmentBlueprint.go.snap | 1 - ...tEnvironmentBlueprintConfiguration.go.snap | 1 - .../api_op_GetEnvironmentCredentials.go.snap | 1 - .../api_op_GetEnvironmentProfile.go.snap | 1 - .../snapshot/api_op_GetFormType.go.snap | 1 - .../snapshot/api_op_GetGlossary.go.snap | 1 - .../snapshot/api_op_GetGlossaryTerm.go.snap | 1 - .../snapshot/api_op_GetGroupProfile.go.snap | 1 - .../api_op_GetIamPortalLoginUrl.go.snap | 1 - .../snapshot/api_op_GetJobRun.go.snap | 1 - .../snapshot/api_op_GetLineageEvent.go.snap | 1 - .../snapshot/api_op_GetLineageNode.go.snap | 1 - .../snapshot/api_op_GetListing.go.snap | 1 - .../api_op_GetMetadataGenerationRun.go.snap | 1 - .../snapshot/api_op_GetProject.go.snap | 1 - .../snapshot/api_op_GetProjectProfile.go.snap | 1 - .../datazone/snapshot/api_op_GetRule.go.snap | 1 - .../snapshot/api_op_GetSubscription.go.snap | 1 - .../api_op_GetSubscriptionGrant.go.snap | 1 - ...i_op_GetSubscriptionRequestDetails.go.snap | 1 - .../api_op_GetSubscriptionTarget.go.snap | 1 - .../api_op_GetTimeSeriesDataPoint.go.snap | 1 - .../snapshot/api_op_GetUserProfile.go.snap | 1 - .../snapshot/api_op_ListAssetFilters.go.snap | 1 - .../api_op_ListAssetRevisions.go.snap | 1 - .../snapshot/api_op_ListConnections.go.snap | 1 - .../api_op_ListDataProductRevisions.go.snap | 1 - ...api_op_ListDataSourceRunActivities.go.snap | 1 - .../api_op_ListDataSourceRuns.go.snap | 1 - .../snapshot/api_op_ListDataSources.go.snap | 1 - .../api_op_ListDomainUnitsForParent.go.snap | 1 - .../snapshot/api_op_ListDomains.go.snap | 1 - .../snapshot/api_op_ListEntityOwners.go.snap | 1 - .../api_op_ListEnvironmentActions.go.snap | 1 - ...EnvironmentBlueprintConfigurations.go.snap | 1 - .../api_op_ListEnvironmentBlueprints.go.snap | 1 - .../api_op_ListEnvironmentProfiles.go.snap | 1 - .../snapshot/api_op_ListEnvironments.go.snap | 1 - .../snapshot/api_op_ListJobRuns.go.snap | 1 - .../snapshot/api_op_ListLineageEvents.go.snap | 1 - .../api_op_ListLineageNodeHistory.go.snap | 1 - .../api_op_ListMetadataGenerationRuns.go.snap | 1 - .../snapshot/api_op_ListNotifications.go.snap | 1 - .../snapshot/api_op_ListPolicyGrants.go.snap | 1 - .../api_op_ListProjectMemberships.go.snap | 1 - .../api_op_ListProjectProfiles.go.snap | 1 - .../snapshot/api_op_ListProjects.go.snap | 1 - .../snapshot/api_op_ListRules.go.snap | 1 - .../api_op_ListSubscriptionGrants.go.snap | 1 - .../api_op_ListSubscriptionRequests.go.snap | 1 - .../api_op_ListSubscriptionTargets.go.snap | 1 - .../snapshot/api_op_ListSubscriptions.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListTimeSeriesDataPoints.go.snap | 1 - .../snapshot/api_op_PostLineageEvent.go.snap | 1 - .../api_op_PostTimeSeriesDataPoints.go.snap | 1 - ...tEnvironmentBlueprintConfiguration.go.snap | 1 - .../snapshot/api_op_RejectPredictions.go.snap | 1 - .../api_op_RejectSubscriptionRequest.go.snap | 1 - .../snapshot/api_op_RemoveEntityOwner.go.snap | 1 - .../snapshot/api_op_RemovePolicyGrant.go.snap | 1 - .../api_op_RevokeSubscription.go.snap | 1 - .../datazone/snapshot/api_op_Search.go.snap | 1 - .../api_op_SearchGroupProfiles.go.snap | 1 - .../snapshot/api_op_SearchListings.go.snap | 1 - .../snapshot/api_op_SearchTypes.go.snap | 1 - .../api_op_SearchUserProfiles.go.snap | 1 - .../api_op_StartDataSourceRun.go.snap | 1 - .../api_op_StartMetadataGenerationRun.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateAssetFilter.go.snap | 1 - .../snapshot/api_op_UpdateConnection.go.snap | 1 - .../snapshot/api_op_UpdateDataSource.go.snap | 1 - .../snapshot/api_op_UpdateDomain.go.snap | 1 - .../snapshot/api_op_UpdateDomainUnit.go.snap | 1 - .../snapshot/api_op_UpdateEnvironment.go.snap | 1 - .../api_op_UpdateEnvironmentAction.go.snap | 1 - .../api_op_UpdateEnvironmentProfile.go.snap | 1 - .../snapshot/api_op_UpdateGlossary.go.snap | 1 - .../api_op_UpdateGlossaryTerm.go.snap | 1 - .../api_op_UpdateGroupProfile.go.snap | 1 - .../snapshot/api_op_UpdateProject.go.snap | 1 - .../api_op_UpdateProjectProfile.go.snap | 1 - .../snapshot/api_op_UpdateRule.go.snap | 1 - ...i_op_UpdateSubscriptionGrantStatus.go.snap | 1 - .../api_op_UpdateSubscriptionRequest.go.snap | 1 - .../api_op_UpdateSubscriptionTarget.go.snap | 1 - .../snapshot/api_op_UpdateUserProfile.go.snap | 1 - service/dax/api_client.go | 31 -- service/dax/api_op_CreateCluster.go | 3 - service/dax/api_op_CreateParameterGroup.go | 3 - service/dax/api_op_CreateSubnetGroup.go | 3 - .../dax/api_op_DecreaseReplicationFactor.go | 3 - service/dax/api_op_DeleteCluster.go | 3 - service/dax/api_op_DeleteParameterGroup.go | 3 - service/dax/api_op_DeleteSubnetGroup.go | 3 - service/dax/api_op_DescribeClusters.go | 3 - .../dax/api_op_DescribeDefaultParameters.go | 3 - service/dax/api_op_DescribeEvents.go | 3 - service/dax/api_op_DescribeParameterGroups.go | 3 - service/dax/api_op_DescribeParameters.go | 3 - service/dax/api_op_DescribeSubnetGroups.go | 3 - .../dax/api_op_IncreaseReplicationFactor.go | 3 - service/dax/api_op_ListTags.go | 3 - service/dax/api_op_RebootNode.go | 3 - service/dax/api_op_TagResource.go | 3 - service/dax/api_op_UntagResource.go | 3 - service/dax/api_op_UpdateCluster.go | 3 - service/dax/api_op_UpdateParameterGroup.go | 3 - service/dax/api_op_UpdateSubnetGroup.go | 3 - .../dax/snapshot/api_op_CreateCluster.go.snap | 1 - .../api_op_CreateParameterGroup.go.snap | 1 - .../snapshot/api_op_CreateSubnetGroup.go.snap | 1 - .../api_op_DecreaseReplicationFactor.go.snap | 1 - .../dax/snapshot/api_op_DeleteCluster.go.snap | 1 - .../api_op_DeleteParameterGroup.go.snap | 1 - .../snapshot/api_op_DeleteSubnetGroup.go.snap | 1 - .../snapshot/api_op_DescribeClusters.go.snap | 1 - .../api_op_DescribeDefaultParameters.go.snap | 1 - .../snapshot/api_op_DescribeEvents.go.snap | 1 - .../api_op_DescribeParameterGroups.go.snap | 1 - .../api_op_DescribeParameters.go.snap | 1 - .../api_op_DescribeSubnetGroups.go.snap | 1 - .../api_op_IncreaseReplicationFactor.go.snap | 1 - service/dax/snapshot/api_op_ListTags.go.snap | 1 - .../dax/snapshot/api_op_RebootNode.go.snap | 1 - .../dax/snapshot/api_op_TagResource.go.snap | 1 - .../dax/snapshot/api_op_UntagResource.go.snap | 1 - .../dax/snapshot/api_op_UpdateCluster.go.snap | 1 - .../api_op_UpdateParameterGroup.go.snap | 1 - .../snapshot/api_op_UpdateSubnetGroup.go.snap | 1 - service/deadline/api_client.go | 31 -- .../deadline/api_op_AssociateMemberToFarm.go | 3 - .../deadline/api_op_AssociateMemberToFleet.go | 3 - .../deadline/api_op_AssociateMemberToJob.go | 3 - .../deadline/api_op_AssociateMemberToQueue.go | 3 - .../deadline/api_op_AssumeFleetRoleForRead.go | 3 - .../api_op_AssumeFleetRoleForWorker.go | 3 - .../deadline/api_op_AssumeQueueRoleForRead.go | 3 - .../deadline/api_op_AssumeQueueRoleForUser.go | 3 - .../api_op_AssumeQueueRoleForWorker.go | 3 - service/deadline/api_op_BatchGetJobEntity.go | 3 - service/deadline/api_op_CopyJobTemplate.go | 3 - service/deadline/api_op_CreateBudget.go | 3 - service/deadline/api_op_CreateFarm.go | 3 - service/deadline/api_op_CreateFleet.go | 3 - service/deadline/api_op_CreateJob.go | 3 - .../deadline/api_op_CreateLicenseEndpoint.go | 3 - service/deadline/api_op_CreateLimit.go | 3 - service/deadline/api_op_CreateMonitor.go | 3 - service/deadline/api_op_CreateQueue.go | 3 - .../deadline/api_op_CreateQueueEnvironment.go | 3 - .../api_op_CreateQueueFleetAssociation.go | 3 - .../api_op_CreateQueueLimitAssociation.go | 3 - .../deadline/api_op_CreateStorageProfile.go | 3 - service/deadline/api_op_CreateWorker.go | 3 - service/deadline/api_op_DeleteBudget.go | 3 - service/deadline/api_op_DeleteFarm.go | 3 - service/deadline/api_op_DeleteFleet.go | 3 - .../deadline/api_op_DeleteLicenseEndpoint.go | 3 - service/deadline/api_op_DeleteLimit.go | 3 - .../deadline/api_op_DeleteMeteredProduct.go | 3 - service/deadline/api_op_DeleteMonitor.go | 3 - service/deadline/api_op_DeleteQueue.go | 3 - .../deadline/api_op_DeleteQueueEnvironment.go | 3 - .../api_op_DeleteQueueFleetAssociation.go | 3 - .../api_op_DeleteQueueLimitAssociation.go | 3 - .../deadline/api_op_DeleteStorageProfile.go | 3 - service/deadline/api_op_DeleteWorker.go | 3 - .../api_op_DisassociateMemberFromFarm.go | 3 - .../api_op_DisassociateMemberFromFleet.go | 3 - .../api_op_DisassociateMemberFromJob.go | 3 - .../api_op_DisassociateMemberFromQueue.go | 3 - service/deadline/api_op_GetBudget.go | 3 - service/deadline/api_op_GetFarm.go | 3 - service/deadline/api_op_GetFleet.go | 3 - service/deadline/api_op_GetJob.go | 3 - service/deadline/api_op_GetLicenseEndpoint.go | 3 - service/deadline/api_op_GetLimit.go | 3 - service/deadline/api_op_GetMonitor.go | 3 - service/deadline/api_op_GetQueue.go | 3 - .../deadline/api_op_GetQueueEnvironment.go | 3 - .../api_op_GetQueueFleetAssociation.go | 3 - .../api_op_GetQueueLimitAssociation.go | 3 - service/deadline/api_op_GetSession.go | 3 - service/deadline/api_op_GetSessionAction.go | 3 - ...api_op_GetSessionsStatisticsAggregation.go | 3 - service/deadline/api_op_GetStep.go | 3 - service/deadline/api_op_GetStorageProfile.go | 3 - .../api_op_GetStorageProfileForQueue.go | 3 - service/deadline/api_op_GetTask.go | 3 - service/deadline/api_op_GetWorker.go | 3 - .../api_op_ListAvailableMeteredProducts.go | 3 - service/deadline/api_op_ListBudgets.go | 3 - service/deadline/api_op_ListFarmMembers.go | 3 - service/deadline/api_op_ListFarms.go | 3 - service/deadline/api_op_ListFleetMembers.go | 3 - service/deadline/api_op_ListFleets.go | 3 - service/deadline/api_op_ListJobMembers.go | 3 - .../api_op_ListJobParameterDefinitions.go | 3 - service/deadline/api_op_ListJobs.go | 3 - .../deadline/api_op_ListLicenseEndpoints.go | 3 - service/deadline/api_op_ListLimits.go | 3 - .../deadline/api_op_ListMeteredProducts.go | 3 - service/deadline/api_op_ListMonitors.go | 3 - .../deadline/api_op_ListQueueEnvironments.go | 3 - .../api_op_ListQueueFleetAssociations.go | 3 - .../api_op_ListQueueLimitAssociations.go | 3 - service/deadline/api_op_ListQueueMembers.go | 3 - service/deadline/api_op_ListQueues.go | 3 - service/deadline/api_op_ListSessionActions.go | 3 - service/deadline/api_op_ListSessions.go | 3 - .../deadline/api_op_ListSessionsForWorker.go | 3 - service/deadline/api_op_ListStepConsumers.go | 3 - .../deadline/api_op_ListStepDependencies.go | 3 - service/deadline/api_op_ListSteps.go | 3 - .../deadline/api_op_ListStorageProfiles.go | 3 - .../api_op_ListStorageProfilesForQueue.go | 3 - .../deadline/api_op_ListTagsForResource.go | 3 - service/deadline/api_op_ListTasks.go | 3 - service/deadline/api_op_ListWorkers.go | 3 - service/deadline/api_op_PutMeteredProduct.go | 3 - service/deadline/api_op_SearchJobs.go | 3 - service/deadline/api_op_SearchSteps.go | 3 - service/deadline/api_op_SearchTasks.go | 3 - service/deadline/api_op_SearchWorkers.go | 3 - ...i_op_StartSessionsStatisticsAggregation.go | 3 - service/deadline/api_op_TagResource.go | 3 - service/deadline/api_op_UntagResource.go | 3 - service/deadline/api_op_UpdateBudget.go | 3 - service/deadline/api_op_UpdateFarm.go | 3 - service/deadline/api_op_UpdateFleet.go | 3 - service/deadline/api_op_UpdateJob.go | 3 - service/deadline/api_op_UpdateLimit.go | 3 - service/deadline/api_op_UpdateMonitor.go | 3 - service/deadline/api_op_UpdateQueue.go | 3 - .../deadline/api_op_UpdateQueueEnvironment.go | 3 - .../api_op_UpdateQueueFleetAssociation.go | 3 - .../api_op_UpdateQueueLimitAssociation.go | 3 - service/deadline/api_op_UpdateSession.go | 3 - service/deadline/api_op_UpdateStep.go | 3 - .../deadline/api_op_UpdateStorageProfile.go | 3 - service/deadline/api_op_UpdateTask.go | 3 - service/deadline/api_op_UpdateWorker.go | 3 - .../deadline/api_op_UpdateWorkerSchedule.go | 3 - .../api_op_AssociateMemberToFarm.go.snap | 1 - .../api_op_AssociateMemberToFleet.go.snap | 1 - .../api_op_AssociateMemberToJob.go.snap | 1 - .../api_op_AssociateMemberToQueue.go.snap | 1 - .../api_op_AssumeFleetRoleForRead.go.snap | 1 - .../api_op_AssumeFleetRoleForWorker.go.snap | 1 - .../api_op_AssumeQueueRoleForRead.go.snap | 1 - .../api_op_AssumeQueueRoleForUser.go.snap | 1 - .../api_op_AssumeQueueRoleForWorker.go.snap | 1 - .../snapshot/api_op_BatchGetJobEntity.go.snap | 1 - .../snapshot/api_op_CopyJobTemplate.go.snap | 1 - .../snapshot/api_op_CreateBudget.go.snap | 1 - .../snapshot/api_op_CreateFarm.go.snap | 1 - .../snapshot/api_op_CreateFleet.go.snap | 1 - .../snapshot/api_op_CreateJob.go.snap | 1 - .../api_op_CreateLicenseEndpoint.go.snap | 1 - .../snapshot/api_op_CreateLimit.go.snap | 1 - .../snapshot/api_op_CreateMonitor.go.snap | 1 - .../snapshot/api_op_CreateQueue.go.snap | 1 - .../api_op_CreateQueueEnvironment.go.snap | 1 - ...api_op_CreateQueueFleetAssociation.go.snap | 1 - ...api_op_CreateQueueLimitAssociation.go.snap | 1 - .../api_op_CreateStorageProfile.go.snap | 1 - .../snapshot/api_op_CreateWorker.go.snap | 1 - .../snapshot/api_op_DeleteBudget.go.snap | 1 - .../snapshot/api_op_DeleteFarm.go.snap | 1 - .../snapshot/api_op_DeleteFleet.go.snap | 1 - .../api_op_DeleteLicenseEndpoint.go.snap | 1 - .../snapshot/api_op_DeleteLimit.go.snap | 1 - .../api_op_DeleteMeteredProduct.go.snap | 1 - .../snapshot/api_op_DeleteMonitor.go.snap | 1 - .../snapshot/api_op_DeleteQueue.go.snap | 1 - .../api_op_DeleteQueueEnvironment.go.snap | 1 - ...api_op_DeleteQueueFleetAssociation.go.snap | 1 - ...api_op_DeleteQueueLimitAssociation.go.snap | 1 - .../api_op_DeleteStorageProfile.go.snap | 1 - .../snapshot/api_op_DeleteWorker.go.snap | 1 - .../api_op_DisassociateMemberFromFarm.go.snap | 1 - ...api_op_DisassociateMemberFromFleet.go.snap | 1 - .../api_op_DisassociateMemberFromJob.go.snap | 1 - ...api_op_DisassociateMemberFromQueue.go.snap | 1 - .../snapshot/api_op_GetBudget.go.snap | 1 - .../deadline/snapshot/api_op_GetFarm.go.snap | 1 - .../deadline/snapshot/api_op_GetFleet.go.snap | 1 - .../deadline/snapshot/api_op_GetJob.go.snap | 1 - .../api_op_GetLicenseEndpoint.go.snap | 1 - .../deadline/snapshot/api_op_GetLimit.go.snap | 1 - .../snapshot/api_op_GetMonitor.go.snap | 1 - .../deadline/snapshot/api_op_GetQueue.go.snap | 1 - .../api_op_GetQueueEnvironment.go.snap | 1 - .../api_op_GetQueueFleetAssociation.go.snap | 1 - .../api_op_GetQueueLimitAssociation.go.snap | 1 - .../snapshot/api_op_GetSession.go.snap | 1 - .../snapshot/api_op_GetSessionAction.go.snap | 1 - ...p_GetSessionsStatisticsAggregation.go.snap | 1 - .../deadline/snapshot/api_op_GetStep.go.snap | 1 - .../snapshot/api_op_GetStorageProfile.go.snap | 1 - .../api_op_GetStorageProfileForQueue.go.snap | 1 - .../deadline/snapshot/api_op_GetTask.go.snap | 1 - .../snapshot/api_op_GetWorker.go.snap | 1 - ...pi_op_ListAvailableMeteredProducts.go.snap | 1 - .../snapshot/api_op_ListBudgets.go.snap | 1 - .../snapshot/api_op_ListFarmMembers.go.snap | 1 - .../snapshot/api_op_ListFarms.go.snap | 1 - .../snapshot/api_op_ListFleetMembers.go.snap | 1 - .../snapshot/api_op_ListFleets.go.snap | 1 - .../snapshot/api_op_ListJobMembers.go.snap | 1 - ...api_op_ListJobParameterDefinitions.go.snap | 1 - .../deadline/snapshot/api_op_ListJobs.go.snap | 1 - .../api_op_ListLicenseEndpoints.go.snap | 1 - .../snapshot/api_op_ListLimits.go.snap | 1 - .../api_op_ListMeteredProducts.go.snap | 1 - .../snapshot/api_op_ListMonitors.go.snap | 1 - .../api_op_ListQueueEnvironments.go.snap | 1 - .../api_op_ListQueueFleetAssociations.go.snap | 1 - .../api_op_ListQueueLimitAssociations.go.snap | 1 - .../snapshot/api_op_ListQueueMembers.go.snap | 1 - .../snapshot/api_op_ListQueues.go.snap | 1 - .../api_op_ListSessionActions.go.snap | 1 - .../snapshot/api_op_ListSessions.go.snap | 1 - .../api_op_ListSessionsForWorker.go.snap | 1 - .../snapshot/api_op_ListStepConsumers.go.snap | 1 - .../api_op_ListStepDependencies.go.snap | 1 - .../snapshot/api_op_ListSteps.go.snap | 1 - .../api_op_ListStorageProfiles.go.snap | 1 - ...api_op_ListStorageProfilesForQueue.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListTasks.go.snap | 1 - .../snapshot/api_op_ListWorkers.go.snap | 1 - .../snapshot/api_op_PutMeteredProduct.go.snap | 1 - .../snapshot/api_op_SearchJobs.go.snap | 1 - .../snapshot/api_op_SearchSteps.go.snap | 1 - .../snapshot/api_op_SearchTasks.go.snap | 1 - .../snapshot/api_op_SearchWorkers.go.snap | 1 - ...StartSessionsStatisticsAggregation.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateBudget.go.snap | 1 - .../snapshot/api_op_UpdateFarm.go.snap | 1 - .../snapshot/api_op_UpdateFleet.go.snap | 1 - .../snapshot/api_op_UpdateJob.go.snap | 1 - .../snapshot/api_op_UpdateLimit.go.snap | 1 - .../snapshot/api_op_UpdateMonitor.go.snap | 1 - .../snapshot/api_op_UpdateQueue.go.snap | 1 - .../api_op_UpdateQueueEnvironment.go.snap | 1 - ...api_op_UpdateQueueFleetAssociation.go.snap | 1 - ...api_op_UpdateQueueLimitAssociation.go.snap | 1 - .../snapshot/api_op_UpdateSession.go.snap | 1 - .../snapshot/api_op_UpdateStep.go.snap | 1 - .../api_op_UpdateStorageProfile.go.snap | 1 - .../snapshot/api_op_UpdateTask.go.snap | 1 - .../snapshot/api_op_UpdateWorker.go.snap | 1 - .../api_op_UpdateWorkerSchedule.go.snap | 1 - service/detective/api_client.go | 31 -- service/detective/api_op_AcceptInvitation.go | 3 - .../api_op_BatchGetGraphMemberDatasources.go | 3 - .../api_op_BatchGetMembershipDatasources.go | 3 - service/detective/api_op_CreateGraph.go | 3 - service/detective/api_op_CreateMembers.go | 3 - service/detective/api_op_DeleteGraph.go | 3 - service/detective/api_op_DeleteMembers.go | 3 - ...pi_op_DescribeOrganizationConfiguration.go | 3 - .../api_op_DisableOrganizationAdminAccount.go | 3 - .../api_op_DisassociateMembership.go | 3 - .../api_op_EnableOrganizationAdminAccount.go | 3 - service/detective/api_op_GetInvestigation.go | 3 - service/detective/api_op_GetMembers.go | 3 - .../api_op_ListDatasourcePackages.go | 3 - service/detective/api_op_ListGraphs.go | 3 - service/detective/api_op_ListIndicators.go | 3 - .../detective/api_op_ListInvestigations.go | 3 - service/detective/api_op_ListInvitations.go | 3 - service/detective/api_op_ListMembers.go | 3 - .../api_op_ListOrganizationAdminAccounts.go | 3 - .../detective/api_op_ListTagsForResource.go | 3 - service/detective/api_op_RejectInvitation.go | 3 - .../detective/api_op_StartInvestigation.go | 3 - .../detective/api_op_StartMonitoringMember.go | 3 - service/detective/api_op_TagResource.go | 3 - service/detective/api_op_UntagResource.go | 3 - .../api_op_UpdateDatasourcePackages.go | 3 - .../api_op_UpdateInvestigationState.go | 3 - .../api_op_UpdateOrganizationConfiguration.go | 3 - .../snapshot/api_op_AcceptInvitation.go.snap | 1 - ..._op_BatchGetGraphMemberDatasources.go.snap | 1 - ...i_op_BatchGetMembershipDatasources.go.snap | 1 - .../snapshot/api_op_CreateGraph.go.snap | 1 - .../snapshot/api_op_CreateMembers.go.snap | 1 - .../snapshot/api_op_DeleteGraph.go.snap | 1 - .../snapshot/api_op_DeleteMembers.go.snap | 1 - ..._DescribeOrganizationConfiguration.go.snap | 1 - ...op_DisableOrganizationAdminAccount.go.snap | 1 - .../api_op_DisassociateMembership.go.snap | 1 - ..._op_EnableOrganizationAdminAccount.go.snap | 1 - .../snapshot/api_op_GetInvestigation.go.snap | 1 - .../snapshot/api_op_GetMembers.go.snap | 1 - .../api_op_ListDatasourcePackages.go.snap | 1 - .../snapshot/api_op_ListGraphs.go.snap | 1 - .../snapshot/api_op_ListIndicators.go.snap | 1 - .../api_op_ListInvestigations.go.snap | 1 - .../snapshot/api_op_ListInvitations.go.snap | 1 - .../snapshot/api_op_ListMembers.go.snap | 1 - ...i_op_ListOrganizationAdminAccounts.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_RejectInvitation.go.snap | 1 - .../api_op_StartInvestigation.go.snap | 1 - .../api_op_StartMonitoringMember.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateDatasourcePackages.go.snap | 1 - .../api_op_UpdateInvestigationState.go.snap | 1 - ...op_UpdateOrganizationConfiguration.go.snap | 1 - service/devicefarm/api_client.go | 31 -- service/devicefarm/api_op_CreateDevicePool.go | 3 - .../api_op_CreateInstanceProfile.go | 3 - .../devicefarm/api_op_CreateNetworkProfile.go | 3 - service/devicefarm/api_op_CreateProject.go | 3 - .../api_op_CreateRemoteAccessSession.go | 3 - .../api_op_CreateTestGridProject.go | 3 - .../devicefarm/api_op_CreateTestGridUrl.go | 3 - service/devicefarm/api_op_CreateUpload.go | 3 - .../api_op_CreateVPCEConfiguration.go | 3 - service/devicefarm/api_op_DeleteDevicePool.go | 3 - .../api_op_DeleteInstanceProfile.go | 3 - .../devicefarm/api_op_DeleteNetworkProfile.go | 3 - service/devicefarm/api_op_DeleteProject.go | 3 - .../api_op_DeleteRemoteAccessSession.go | 3 - service/devicefarm/api_op_DeleteRun.go | 3 - .../api_op_DeleteTestGridProject.go | 3 - service/devicefarm/api_op_DeleteUpload.go | 3 - .../api_op_DeleteVPCEConfiguration.go | 3 - .../devicefarm/api_op_GetAccountSettings.go | 3 - service/devicefarm/api_op_GetDevice.go | 3 - .../devicefarm/api_op_GetDeviceInstance.go | 3 - service/devicefarm/api_op_GetDevicePool.go | 3 - .../api_op_GetDevicePoolCompatibility.go | 3 - .../devicefarm/api_op_GetInstanceProfile.go | 3 - service/devicefarm/api_op_GetJob.go | 3 - .../devicefarm/api_op_GetNetworkProfile.go | 3 - .../devicefarm/api_op_GetOfferingStatus.go | 3 - service/devicefarm/api_op_GetProject.go | 3 - .../api_op_GetRemoteAccessSession.go | 3 - service/devicefarm/api_op_GetRun.go | 3 - service/devicefarm/api_op_GetSuite.go | 3 - service/devicefarm/api_op_GetTest.go | 3 - .../devicefarm/api_op_GetTestGridProject.go | 3 - .../devicefarm/api_op_GetTestGridSession.go | 3 - service/devicefarm/api_op_GetUpload.go | 3 - .../devicefarm/api_op_GetVPCEConfiguration.go | 3 - .../api_op_InstallToRemoteAccessSession.go | 3 - service/devicefarm/api_op_ListArtifacts.go | 3 - .../devicefarm/api_op_ListDeviceInstances.go | 3 - service/devicefarm/api_op_ListDevicePools.go | 3 - service/devicefarm/api_op_ListDevices.go | 3 - .../devicefarm/api_op_ListInstanceProfiles.go | 3 - service/devicefarm/api_op_ListJobs.go | 3 - .../devicefarm/api_op_ListNetworkProfiles.go | 3 - .../api_op_ListOfferingPromotions.go | 3 - .../api_op_ListOfferingTransactions.go | 3 - service/devicefarm/api_op_ListOfferings.go | 3 - service/devicefarm/api_op_ListProjects.go | 3 - .../api_op_ListRemoteAccessSessions.go | 3 - service/devicefarm/api_op_ListRuns.go | 3 - service/devicefarm/api_op_ListSamples.go | 3 - service/devicefarm/api_op_ListSuites.go | 3 - .../devicefarm/api_op_ListTagsForResource.go | 3 - .../devicefarm/api_op_ListTestGridProjects.go | 3 - .../api_op_ListTestGridSessionActions.go | 3 - .../api_op_ListTestGridSessionArtifacts.go | 3 - .../devicefarm/api_op_ListTestGridSessions.go | 3 - service/devicefarm/api_op_ListTests.go | 3 - .../devicefarm/api_op_ListUniqueProblems.go | 3 - service/devicefarm/api_op_ListUploads.go | 3 - .../api_op_ListVPCEConfigurations.go | 3 - service/devicefarm/api_op_PurchaseOffering.go | 3 - service/devicefarm/api_op_RenewOffering.go | 3 - service/devicefarm/api_op_ScheduleRun.go | 3 - service/devicefarm/api_op_StopJob.go | 3 - .../api_op_StopRemoteAccessSession.go | 3 - service/devicefarm/api_op_StopRun.go | 3 - service/devicefarm/api_op_TagResource.go | 3 - service/devicefarm/api_op_UntagResource.go | 3 - .../devicefarm/api_op_UpdateDeviceInstance.go | 3 - service/devicefarm/api_op_UpdateDevicePool.go | 3 - .../api_op_UpdateInstanceProfile.go | 3 - .../devicefarm/api_op_UpdateNetworkProfile.go | 3 - service/devicefarm/api_op_UpdateProject.go | 3 - .../api_op_UpdateTestGridProject.go | 3 - service/devicefarm/api_op_UpdateUpload.go | 3 - .../api_op_UpdateVPCEConfiguration.go | 3 - .../snapshot/api_op_CreateDevicePool.go.snap | 1 - .../api_op_CreateInstanceProfile.go.snap | 1 - .../api_op_CreateNetworkProfile.go.snap | 1 - .../snapshot/api_op_CreateProject.go.snap | 1 - .../api_op_CreateRemoteAccessSession.go.snap | 1 - .../api_op_CreateTestGridProject.go.snap | 1 - .../snapshot/api_op_CreateTestGridUrl.go.snap | 1 - .../snapshot/api_op_CreateUpload.go.snap | 1 - .../api_op_CreateVPCEConfiguration.go.snap | 1 - .../snapshot/api_op_DeleteDevicePool.go.snap | 1 - .../api_op_DeleteInstanceProfile.go.snap | 1 - .../api_op_DeleteNetworkProfile.go.snap | 1 - .../snapshot/api_op_DeleteProject.go.snap | 1 - .../api_op_DeleteRemoteAccessSession.go.snap | 1 - .../snapshot/api_op_DeleteRun.go.snap | 1 - .../api_op_DeleteTestGridProject.go.snap | 1 - .../snapshot/api_op_DeleteUpload.go.snap | 1 - .../api_op_DeleteVPCEConfiguration.go.snap | 1 - .../api_op_GetAccountSettings.go.snap | 1 - .../snapshot/api_op_GetDevice.go.snap | 1 - .../snapshot/api_op_GetDeviceInstance.go.snap | 1 - .../snapshot/api_op_GetDevicePool.go.snap | 1 - .../api_op_GetDevicePoolCompatibility.go.snap | 1 - .../api_op_GetInstanceProfile.go.snap | 1 - .../devicefarm/snapshot/api_op_GetJob.go.snap | 1 - .../snapshot/api_op_GetNetworkProfile.go.snap | 1 - .../snapshot/api_op_GetOfferingStatus.go.snap | 1 - .../snapshot/api_op_GetProject.go.snap | 1 - .../api_op_GetRemoteAccessSession.go.snap | 1 - .../devicefarm/snapshot/api_op_GetRun.go.snap | 1 - .../snapshot/api_op_GetSuite.go.snap | 1 - .../snapshot/api_op_GetTest.go.snap | 1 - .../api_op_GetTestGridProject.go.snap | 1 - .../api_op_GetTestGridSession.go.snap | 1 - .../snapshot/api_op_GetUpload.go.snap | 1 - .../api_op_GetVPCEConfiguration.go.snap | 1 - ...pi_op_InstallToRemoteAccessSession.go.snap | 1 - .../snapshot/api_op_ListArtifacts.go.snap | 1 - .../api_op_ListDeviceInstances.go.snap | 1 - .../snapshot/api_op_ListDevicePools.go.snap | 1 - .../snapshot/api_op_ListDevices.go.snap | 1 - .../api_op_ListInstanceProfiles.go.snap | 1 - .../snapshot/api_op_ListJobs.go.snap | 1 - .../api_op_ListNetworkProfiles.go.snap | 1 - .../api_op_ListOfferingPromotions.go.snap | 1 - .../api_op_ListOfferingTransactions.go.snap | 1 - .../snapshot/api_op_ListOfferings.go.snap | 1 - .../snapshot/api_op_ListProjects.go.snap | 1 - .../api_op_ListRemoteAccessSessions.go.snap | 1 - .../snapshot/api_op_ListRuns.go.snap | 1 - .../snapshot/api_op_ListSamples.go.snap | 1 - .../snapshot/api_op_ListSuites.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListTestGridProjects.go.snap | 1 - .../api_op_ListTestGridSessionActions.go.snap | 1 - ...pi_op_ListTestGridSessionArtifacts.go.snap | 1 - .../api_op_ListTestGridSessions.go.snap | 1 - .../snapshot/api_op_ListTests.go.snap | 1 - .../api_op_ListUniqueProblems.go.snap | 1 - .../snapshot/api_op_ListUploads.go.snap | 1 - .../api_op_ListVPCEConfigurations.go.snap | 1 - .../snapshot/api_op_PurchaseOffering.go.snap | 1 - .../snapshot/api_op_RenewOffering.go.snap | 1 - .../snapshot/api_op_ScheduleRun.go.snap | 1 - .../snapshot/api_op_StopJob.go.snap | 1 - .../api_op_StopRemoteAccessSession.go.snap | 1 - .../snapshot/api_op_StopRun.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateDeviceInstance.go.snap | 1 - .../snapshot/api_op_UpdateDevicePool.go.snap | 1 - .../api_op_UpdateInstanceProfile.go.snap | 1 - .../api_op_UpdateNetworkProfile.go.snap | 1 - .../snapshot/api_op_UpdateProject.go.snap | 1 - .../api_op_UpdateTestGridProject.go.snap | 1 - .../snapshot/api_op_UpdateUpload.go.snap | 1 - .../api_op_UpdateVPCEConfiguration.go.snap | 1 - service/devopsguru/api_client.go | 31 -- .../api_op_AddNotificationChannel.go | 3 - service/devopsguru/api_op_DeleteInsight.go | 3 - .../api_op_DescribeAccountHealth.go | 3 - .../api_op_DescribeAccountOverview.go | 3 - service/devopsguru/api_op_DescribeAnomaly.go | 3 - .../api_op_DescribeEventSourcesConfig.go | 3 - service/devopsguru/api_op_DescribeFeedback.go | 3 - service/devopsguru/api_op_DescribeInsight.go | 3 - .../api_op_DescribeOrganizationHealth.go | 3 - .../api_op_DescribeOrganizationOverview.go | 3 - ...ibeOrganizationResourceCollectionHealth.go | 3 - ...api_op_DescribeResourceCollectionHealth.go | 3 - .../api_op_DescribeServiceIntegration.go | 3 - .../devopsguru/api_op_GetCostEstimation.go | 3 - .../api_op_GetResourceCollection.go | 3 - .../api_op_ListAnomaliesForInsight.go | 3 - .../api_op_ListAnomalousLogGroups.go | 3 - service/devopsguru/api_op_ListEvents.go | 3 - service/devopsguru/api_op_ListInsights.go | 3 - .../api_op_ListMonitoredResources.go | 3 - .../api_op_ListNotificationChannels.go | 3 - .../api_op_ListOrganizationInsights.go | 3 - .../devopsguru/api_op_ListRecommendations.go | 3 - service/devopsguru/api_op_PutFeedback.go | 3 - .../api_op_RemoveNotificationChannel.go | 3 - service/devopsguru/api_op_SearchInsights.go | 3 - .../api_op_SearchOrganizationInsights.go | 3 - .../devopsguru/api_op_StartCostEstimation.go | 3 - .../api_op_UpdateEventSourcesConfig.go | 3 - .../api_op_UpdateResourceCollection.go | 3 - .../api_op_UpdateServiceIntegration.go | 3 - .../api_op_AddNotificationChannel.go.snap | 1 - .../snapshot/api_op_DeleteInsight.go.snap | 1 - .../api_op_DescribeAccountHealth.go.snap | 1 - .../api_op_DescribeAccountOverview.go.snap | 1 - .../snapshot/api_op_DescribeAnomaly.go.snap | 1 - .../api_op_DescribeEventSourcesConfig.go.snap | 1 - .../snapshot/api_op_DescribeFeedback.go.snap | 1 - .../snapshot/api_op_DescribeInsight.go.snap | 1 - .../api_op_DescribeOrganizationHealth.go.snap | 1 - ...pi_op_DescribeOrganizationOverview.go.snap | 1 - ...ganizationResourceCollectionHealth.go.snap | 1 - ...p_DescribeResourceCollectionHealth.go.snap | 1 - .../api_op_DescribeServiceIntegration.go.snap | 1 - .../snapshot/api_op_GetCostEstimation.go.snap | 1 - .../api_op_GetResourceCollection.go.snap | 1 - .../api_op_ListAnomaliesForInsight.go.snap | 1 - .../api_op_ListAnomalousLogGroups.go.snap | 1 - .../snapshot/api_op_ListEvents.go.snap | 1 - .../snapshot/api_op_ListInsights.go.snap | 1 - .../api_op_ListMonitoredResources.go.snap | 1 - .../api_op_ListNotificationChannels.go.snap | 1 - .../api_op_ListOrganizationInsights.go.snap | 1 - .../api_op_ListRecommendations.go.snap | 1 - .../snapshot/api_op_PutFeedback.go.snap | 1 - .../api_op_RemoveNotificationChannel.go.snap | 1 - .../snapshot/api_op_SearchInsights.go.snap | 1 - .../api_op_SearchOrganizationInsights.go.snap | 1 - .../api_op_StartCostEstimation.go.snap | 1 - .../api_op_UpdateEventSourcesConfig.go.snap | 1 - .../api_op_UpdateResourceCollection.go.snap | 1 - .../api_op_UpdateServiceIntegration.go.snap | 1 - service/directconnect/api_client.go | 31 -- ...DirectConnectGatewayAssociationProposal.go | 3 - ...api_op_AllocateConnectionOnInterconnect.go | 3 - .../api_op_AllocateHostedConnection.go | 3 - .../api_op_AllocatePrivateVirtualInterface.go | 3 - .../api_op_AllocatePublicVirtualInterface.go | 3 - .../api_op_AllocateTransitVirtualInterface.go | 3 - .../api_op_AssociateConnectionWithLag.go | 3 - .../api_op_AssociateHostedConnection.go | 3 - .../api_op_AssociateMacSecKey.go | 3 - .../api_op_AssociateVirtualInterface.go | 3 - .../directconnect/api_op_ConfirmConnection.go | 3 - .../api_op_ConfirmCustomerAgreement.go | 3 - .../api_op_ConfirmPrivateVirtualInterface.go | 3 - .../api_op_ConfirmPublicVirtualInterface.go | 3 - .../api_op_ConfirmTransitVirtualInterface.go | 3 - service/directconnect/api_op_CreateBGPPeer.go | 3 - .../directconnect/api_op_CreateConnection.go | 3 - .../api_op_CreateDirectConnectGateway.go | 3 - ...p_CreateDirectConnectGatewayAssociation.go | 3 - ...DirectConnectGatewayAssociationProposal.go | 3 - .../api_op_CreateInterconnect.go | 3 - service/directconnect/api_op_CreateLag.go | 3 - .../api_op_CreatePrivateVirtualInterface.go | 3 - .../api_op_CreatePublicVirtualInterface.go | 3 - .../api_op_CreateTransitVirtualInterface.go | 3 - service/directconnect/api_op_DeleteBGPPeer.go | 3 - .../directconnect/api_op_DeleteConnection.go | 3 - .../api_op_DeleteDirectConnectGateway.go | 3 - ...p_DeleteDirectConnectGatewayAssociation.go | 3 - ...DirectConnectGatewayAssociationProposal.go | 3 - .../api_op_DeleteInterconnect.go | 3 - service/directconnect/api_op_DeleteLag.go | 3 - .../api_op_DeleteVirtualInterface.go | 3 - .../api_op_DescribeConnectionLoa.go | 3 - .../api_op_DescribeConnections.go | 3 - ...pi_op_DescribeConnectionsOnInterconnect.go | 3 - .../api_op_DescribeCustomerMetadata.go | 3 - ...irectConnectGatewayAssociationProposals.go | 3 - ...escribeDirectConnectGatewayAssociations.go | 3 - ...DescribeDirectConnectGatewayAttachments.go | 3 - .../api_op_DescribeDirectConnectGateways.go | 3 - .../api_op_DescribeHostedConnections.go | 3 - .../api_op_DescribeInterconnectLoa.go | 3 - .../api_op_DescribeInterconnects.go | 3 - service/directconnect/api_op_DescribeLags.go | 3 - service/directconnect/api_op_DescribeLoa.go | 3 - .../directconnect/api_op_DescribeLocations.go | 3 - .../api_op_DescribeRouterConfiguration.go | 3 - service/directconnect/api_op_DescribeTags.go | 3 - .../api_op_DescribeVirtualGateways.go | 3 - .../api_op_DescribeVirtualInterfaces.go | 3 - .../api_op_DisassociateConnectionFromLag.go | 3 - .../api_op_DisassociateMacSecKey.go | 3 - .../api_op_ListVirtualInterfaceTestHistory.go | 3 - .../api_op_StartBgpFailoverTest.go | 3 - .../api_op_StopBgpFailoverTest.go | 3 - service/directconnect/api_op_TagResource.go | 3 - service/directconnect/api_op_UntagResource.go | 3 - .../directconnect/api_op_UpdateConnection.go | 3 - .../api_op_UpdateDirectConnectGateway.go | 3 - ...p_UpdateDirectConnectGatewayAssociation.go | 3 - service/directconnect/api_op_UpdateLag.go | 3 - ...api_op_UpdateVirtualInterfaceAttributes.go | 3 - ...tConnectGatewayAssociationProposal.go.snap | 1 - ...p_AllocateConnectionOnInterconnect.go.snap | 1 - .../api_op_AllocateHostedConnection.go.snap | 1 - ...op_AllocatePrivateVirtualInterface.go.snap | 1 - ..._op_AllocatePublicVirtualInterface.go.snap | 1 - ...op_AllocateTransitVirtualInterface.go.snap | 1 - .../api_op_AssociateConnectionWithLag.go.snap | 1 - .../api_op_AssociateHostedConnection.go.snap | 1 - .../api_op_AssociateMacSecKey.go.snap | 1 - .../api_op_AssociateVirtualInterface.go.snap | 1 - .../snapshot/api_op_ConfirmConnection.go.snap | 1 - .../api_op_ConfirmCustomerAgreement.go.snap | 1 - ..._op_ConfirmPrivateVirtualInterface.go.snap | 1 - ...i_op_ConfirmPublicVirtualInterface.go.snap | 1 - ..._op_ConfirmTransitVirtualInterface.go.snap | 1 - .../snapshot/api_op_CreateBGPPeer.go.snap | 1 - .../snapshot/api_op_CreateConnection.go.snap | 1 - .../api_op_CreateDirectConnectGateway.go.snap | 1 - ...ateDirectConnectGatewayAssociation.go.snap | 1 - ...tConnectGatewayAssociationProposal.go.snap | 1 - .../api_op_CreateInterconnect.go.snap | 1 - .../snapshot/api_op_CreateLag.go.snap | 1 - ...i_op_CreatePrivateVirtualInterface.go.snap | 1 - ...pi_op_CreatePublicVirtualInterface.go.snap | 1 - ...i_op_CreateTransitVirtualInterface.go.snap | 1 - .../snapshot/api_op_DeleteBGPPeer.go.snap | 1 - .../snapshot/api_op_DeleteConnection.go.snap | 1 - .../api_op_DeleteDirectConnectGateway.go.snap | 1 - ...eteDirectConnectGatewayAssociation.go.snap | 1 - ...tConnectGatewayAssociationProposal.go.snap | 1 - .../api_op_DeleteInterconnect.go.snap | 1 - .../snapshot/api_op_DeleteLag.go.snap | 1 - .../api_op_DeleteVirtualInterface.go.snap | 1 - .../api_op_DescribeConnectionLoa.go.snap | 1 - .../api_op_DescribeConnections.go.snap | 1 - ..._DescribeConnectionsOnInterconnect.go.snap | 1 - .../api_op_DescribeCustomerMetadata.go.snap | 1 - ...ConnectGatewayAssociationProposals.go.snap | 1 - ...beDirectConnectGatewayAssociations.go.snap | 1 - ...ibeDirectConnectGatewayAttachments.go.snap | 1 - ...i_op_DescribeDirectConnectGateways.go.snap | 1 - .../api_op_DescribeHostedConnections.go.snap | 1 - .../api_op_DescribeInterconnectLoa.go.snap | 1 - .../api_op_DescribeInterconnects.go.snap | 1 - .../snapshot/api_op_DescribeLags.go.snap | 1 - .../snapshot/api_op_DescribeLoa.go.snap | 1 - .../snapshot/api_op_DescribeLocations.go.snap | 1 - ...api_op_DescribeRouterConfiguration.go.snap | 1 - .../snapshot/api_op_DescribeTags.go.snap | 1 - .../api_op_DescribeVirtualGateways.go.snap | 1 - .../api_op_DescribeVirtualInterfaces.go.snap | 1 - ...i_op_DisassociateConnectionFromLag.go.snap | 1 - .../api_op_DisassociateMacSecKey.go.snap | 1 - ...op_ListVirtualInterfaceTestHistory.go.snap | 1 - .../api_op_StartBgpFailoverTest.go.snap | 1 - .../api_op_StopBgpFailoverTest.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateConnection.go.snap | 1 - .../api_op_UpdateDirectConnectGateway.go.snap | 1 - ...ateDirectConnectGatewayAssociation.go.snap | 1 - .../snapshot/api_op_UpdateLag.go.snap | 1 - ...p_UpdateVirtualInterfaceAttributes.go.snap | 1 - service/directoryservice/api_client.go | 31 -- .../api_op_AcceptSharedDirectory.go | 3 - .../directoryservice/api_op_AddIpRoutes.go | 3 - service/directoryservice/api_op_AddRegion.go | 3 - .../api_op_AddTagsToResource.go | 3 - .../api_op_CancelSchemaExtension.go | 3 - .../api_op_ConnectDirectory.go | 3 - .../directoryservice/api_op_CreateAlias.go | 3 - .../directoryservice/api_op_CreateComputer.go | 3 - .../api_op_CreateConditionalForwarder.go | 3 - .../api_op_CreateDirectory.go | 3 - .../api_op_CreateLogSubscription.go | 3 - .../api_op_CreateMicrosoftAD.go | 3 - .../directoryservice/api_op_CreateSnapshot.go | 3 - .../directoryservice/api_op_CreateTrust.go | 3 - .../api_op_DeleteConditionalForwarder.go | 3 - .../api_op_DeleteDirectory.go | 3 - .../api_op_DeleteLogSubscription.go | 3 - .../directoryservice/api_op_DeleteSnapshot.go | 3 - .../directoryservice/api_op_DeleteTrust.go | 3 - .../api_op_DeregisterCertificate.go | 3 - .../api_op_DeregisterEventTopic.go | 3 - .../api_op_DescribeCertificate.go | 3 - ...op_DescribeClientAuthenticationSettings.go | 3 - .../api_op_DescribeConditionalForwarders.go | 3 - .../api_op_DescribeDirectories.go | 3 - .../api_op_DescribeDirectoryDataAccess.go | 3 - .../api_op_DescribeDomainControllers.go | 3 - .../api_op_DescribeEventTopics.go | 3 - .../api_op_DescribeLDAPSSettings.go | 3 - .../api_op_DescribeRegions.go | 3 - .../api_op_DescribeSettings.go | 3 - .../api_op_DescribeSharedDirectories.go | 3 - .../api_op_DescribeSnapshots.go | 3 - .../directoryservice/api_op_DescribeTrusts.go | 3 - .../api_op_DescribeUpdateDirectory.go | 3 - .../api_op_DisableClientAuthentication.go | 3 - .../api_op_DisableDirectoryDataAccess.go | 3 - .../directoryservice/api_op_DisableLDAPS.go | 3 - .../directoryservice/api_op_DisableRadius.go | 3 - service/directoryservice/api_op_DisableSso.go | 3 - .../api_op_EnableClientAuthentication.go | 3 - .../api_op_EnableDirectoryDataAccess.go | 3 - .../directoryservice/api_op_EnableLDAPS.go | 3 - .../directoryservice/api_op_EnableRadius.go | 3 - service/directoryservice/api_op_EnableSso.go | 3 - .../api_op_GetDirectoryLimits.go | 3 - .../api_op_GetSnapshotLimits.go | 3 - .../api_op_ListCertificates.go | 3 - .../directoryservice/api_op_ListIpRoutes.go | 3 - .../api_op_ListLogSubscriptions.go | 3 - .../api_op_ListSchemaExtensions.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_RegisterCertificate.go | 3 - .../api_op_RegisterEventTopic.go | 3 - .../api_op_RejectSharedDirectory.go | 3 - .../directoryservice/api_op_RemoveIpRoutes.go | 3 - .../directoryservice/api_op_RemoveRegion.go | 3 - .../api_op_RemoveTagsFromResource.go | 3 - .../api_op_ResetUserPassword.go | 3 - .../api_op_RestoreFromSnapshot.go | 3 - .../directoryservice/api_op_ShareDirectory.go | 3 - .../api_op_StartSchemaExtension.go | 3 - .../api_op_UnshareDirectory.go | 3 - .../api_op_UpdateConditionalForwarder.go | 3 - .../api_op_UpdateDirectorySetup.go | 3 - .../api_op_UpdateNumberOfDomainControllers.go | 3 - .../directoryservice/api_op_UpdateRadius.go | 3 - .../directoryservice/api_op_UpdateSettings.go | 3 - .../directoryservice/api_op_UpdateTrust.go | 3 - .../directoryservice/api_op_VerifyTrust.go | 3 - .../api_op_AcceptSharedDirectory.go.snap | 1 - .../snapshot/api_op_AddIpRoutes.go.snap | 1 - .../snapshot/api_op_AddRegion.go.snap | 1 - .../snapshot/api_op_AddTagsToResource.go.snap | 1 - .../api_op_CancelSchemaExtension.go.snap | 1 - .../snapshot/api_op_ConnectDirectory.go.snap | 1 - .../snapshot/api_op_CreateAlias.go.snap | 1 - .../snapshot/api_op_CreateComputer.go.snap | 1 - .../api_op_CreateConditionalForwarder.go.snap | 1 - .../snapshot/api_op_CreateDirectory.go.snap | 1 - .../api_op_CreateLogSubscription.go.snap | 1 - .../snapshot/api_op_CreateMicrosoftAD.go.snap | 1 - .../snapshot/api_op_CreateSnapshot.go.snap | 1 - .../snapshot/api_op_CreateTrust.go.snap | 1 - .../api_op_DeleteConditionalForwarder.go.snap | 1 - .../snapshot/api_op_DeleteDirectory.go.snap | 1 - .../api_op_DeleteLogSubscription.go.snap | 1 - .../snapshot/api_op_DeleteSnapshot.go.snap | 1 - .../snapshot/api_op_DeleteTrust.go.snap | 1 - .../api_op_DeregisterCertificate.go.snap | 1 - .../api_op_DeregisterEventTopic.go.snap | 1 - .../api_op_DescribeCertificate.go.snap | 1 - ...scribeClientAuthenticationSettings.go.snap | 1 - ...i_op_DescribeConditionalForwarders.go.snap | 1 - .../api_op_DescribeDirectories.go.snap | 1 - ...api_op_DescribeDirectoryDataAccess.go.snap | 1 - .../api_op_DescribeDomainControllers.go.snap | 1 - .../api_op_DescribeEventTopics.go.snap | 1 - .../api_op_DescribeLDAPSSettings.go.snap | 1 - .../snapshot/api_op_DescribeRegions.go.snap | 1 - .../snapshot/api_op_DescribeSettings.go.snap | 1 - .../api_op_DescribeSharedDirectories.go.snap | 1 - .../snapshot/api_op_DescribeSnapshots.go.snap | 1 - .../snapshot/api_op_DescribeTrusts.go.snap | 1 - .../api_op_DescribeUpdateDirectory.go.snap | 1 - ...api_op_DisableClientAuthentication.go.snap | 1 - .../api_op_DisableDirectoryDataAccess.go.snap | 1 - .../snapshot/api_op_DisableLDAPS.go.snap | 1 - .../snapshot/api_op_DisableRadius.go.snap | 1 - .../snapshot/api_op_DisableSso.go.snap | 1 - .../api_op_EnableClientAuthentication.go.snap | 1 - .../api_op_EnableDirectoryDataAccess.go.snap | 1 - .../snapshot/api_op_EnableLDAPS.go.snap | 1 - .../snapshot/api_op_EnableRadius.go.snap | 1 - .../snapshot/api_op_EnableSso.go.snap | 1 - .../api_op_GetDirectoryLimits.go.snap | 1 - .../snapshot/api_op_GetSnapshotLimits.go.snap | 1 - .../snapshot/api_op_ListCertificates.go.snap | 1 - .../snapshot/api_op_ListIpRoutes.go.snap | 1 - .../api_op_ListLogSubscriptions.go.snap | 1 - .../api_op_ListSchemaExtensions.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_RegisterCertificate.go.snap | 1 - .../api_op_RegisterEventTopic.go.snap | 1 - .../api_op_RejectSharedDirectory.go.snap | 1 - .../snapshot/api_op_RemoveIpRoutes.go.snap | 1 - .../snapshot/api_op_RemoveRegion.go.snap | 1 - .../api_op_RemoveTagsFromResource.go.snap | 1 - .../snapshot/api_op_ResetUserPassword.go.snap | 1 - .../api_op_RestoreFromSnapshot.go.snap | 1 - .../snapshot/api_op_ShareDirectory.go.snap | 1 - .../api_op_StartSchemaExtension.go.snap | 1 - .../snapshot/api_op_UnshareDirectory.go.snap | 1 - .../api_op_UpdateConditionalForwarder.go.snap | 1 - .../api_op_UpdateDirectorySetup.go.snap | 1 - ...op_UpdateNumberOfDomainControllers.go.snap | 1 - .../snapshot/api_op_UpdateRadius.go.snap | 1 - .../snapshot/api_op_UpdateSettings.go.snap | 1 - .../snapshot/api_op_UpdateTrust.go.snap | 1 - .../snapshot/api_op_VerifyTrust.go.snap | 1 - service/directoryservicedata/api_client.go | 31 -- .../api_op_AddGroupMember.go | 3 - .../api_op_CreateGroup.go | 3 - .../directoryservicedata/api_op_CreateUser.go | 3 - .../api_op_DeleteGroup.go | 3 - .../directoryservicedata/api_op_DeleteUser.go | 3 - .../api_op_DescribeGroup.go | 3 - .../api_op_DescribeUser.go | 3 - .../api_op_DisableUser.go | 3 - .../api_op_ListGroupMembers.go | 3 - .../directoryservicedata/api_op_ListGroups.go | 3 - .../api_op_ListGroupsForMember.go | 3 - .../directoryservicedata/api_op_ListUsers.go | 3 - .../api_op_RemoveGroupMember.go | 3 - .../api_op_SearchGroups.go | 3 - .../api_op_SearchUsers.go | 3 - .../api_op_UpdateGroup.go | 3 - .../directoryservicedata/api_op_UpdateUser.go | 3 - .../snapshot/api_op_AddGroupMember.go.snap | 1 - .../snapshot/api_op_CreateGroup.go.snap | 1 - .../snapshot/api_op_CreateUser.go.snap | 1 - .../snapshot/api_op_DeleteGroup.go.snap | 1 - .../snapshot/api_op_DeleteUser.go.snap | 1 - .../snapshot/api_op_DescribeGroup.go.snap | 1 - .../snapshot/api_op_DescribeUser.go.snap | 1 - .../snapshot/api_op_DisableUser.go.snap | 1 - .../snapshot/api_op_ListGroupMembers.go.snap | 1 - .../snapshot/api_op_ListGroups.go.snap | 1 - .../api_op_ListGroupsForMember.go.snap | 1 - .../snapshot/api_op_ListUsers.go.snap | 1 - .../snapshot/api_op_RemoveGroupMember.go.snap | 1 - .../snapshot/api_op_SearchGroups.go.snap | 1 - .../snapshot/api_op_SearchUsers.go.snap | 1 - .../snapshot/api_op_UpdateGroup.go.snap | 1 - .../snapshot/api_op_UpdateUser.go.snap | 1 - service/dlm/api_client.go | 31 -- service/dlm/api_op_CreateLifecyclePolicy.go | 3 - service/dlm/api_op_DeleteLifecyclePolicy.go | 3 - service/dlm/api_op_GetLifecyclePolicies.go | 3 - service/dlm/api_op_GetLifecyclePolicy.go | 3 - service/dlm/api_op_ListTagsForResource.go | 3 - service/dlm/api_op_TagResource.go | 3 - service/dlm/api_op_UntagResource.go | 3 - service/dlm/api_op_UpdateLifecyclePolicy.go | 3 - .../api_op_CreateLifecyclePolicy.go.snap | 1 - .../api_op_DeleteLifecyclePolicy.go.snap | 1 - .../api_op_GetLifecyclePolicies.go.snap | 1 - .../api_op_GetLifecyclePolicy.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../dlm/snapshot/api_op_TagResource.go.snap | 1 - .../dlm/snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateLifecyclePolicy.go.snap | 1 - service/docdb/api_client.go | 31 -- ...pi_op_AddSourceIdentifierToSubscription.go | 3 - service/docdb/api_op_AddTagsToResource.go | 3 - .../api_op_ApplyPendingMaintenanceAction.go | 3 - .../api_op_CopyDBClusterParameterGroup.go | 3 - service/docdb/api_op_CopyDBClusterSnapshot.go | 3 - service/docdb/api_op_CreateDBCluster.go | 3 - .../api_op_CreateDBClusterParameterGroup.go | 3 - .../docdb/api_op_CreateDBClusterSnapshot.go | 3 - service/docdb/api_op_CreateDBInstance.go | 3 - service/docdb/api_op_CreateDBSubnetGroup.go | 3 - .../docdb/api_op_CreateEventSubscription.go | 3 - service/docdb/api_op_CreateGlobalCluster.go | 3 - service/docdb/api_op_DeleteDBCluster.go | 3 - .../api_op_DeleteDBClusterParameterGroup.go | 3 - .../docdb/api_op_DeleteDBClusterSnapshot.go | 3 - service/docdb/api_op_DeleteDBInstance.go | 3 - service/docdb/api_op_DeleteDBSubnetGroup.go | 3 - .../docdb/api_op_DeleteEventSubscription.go | 3 - service/docdb/api_op_DeleteGlobalCluster.go | 3 - service/docdb/api_op_DescribeCertificates.go | 3 - ...api_op_DescribeDBClusterParameterGroups.go | 3 - .../api_op_DescribeDBClusterParameters.go | 3 - ..._op_DescribeDBClusterSnapshotAttributes.go | 3 - .../api_op_DescribeDBClusterSnapshots.go | 3 - service/docdb/api_op_DescribeDBClusters.go | 3 - .../docdb/api_op_DescribeDBEngineVersions.go | 3 - service/docdb/api_op_DescribeDBInstances.go | 3 - .../docdb/api_op_DescribeDBSubnetGroups.go | 3 - ..._DescribeEngineDefaultClusterParameters.go | 3 - .../docdb/api_op_DescribeEventCategories.go | 3 - .../api_op_DescribeEventSubscriptions.go | 3 - service/docdb/api_op_DescribeEvents.go | 3 - .../docdb/api_op_DescribeGlobalClusters.go | 3 - ...i_op_DescribeOrderableDBInstanceOptions.go | 3 - ...pi_op_DescribePendingMaintenanceActions.go | 3 - service/docdb/api_op_FailoverDBCluster.go | 3 - service/docdb/api_op_FailoverGlobalCluster.go | 3 - service/docdb/api_op_ListTagsForResource.go | 3 - service/docdb/api_op_ModifyDBCluster.go | 3 - .../api_op_ModifyDBClusterParameterGroup.go | 3 - ...api_op_ModifyDBClusterSnapshotAttribute.go | 3 - service/docdb/api_op_ModifyDBInstance.go | 3 - service/docdb/api_op_ModifyDBSubnetGroup.go | 3 - .../docdb/api_op_ModifyEventSubscription.go | 3 - service/docdb/api_op_ModifyGlobalCluster.go | 3 - service/docdb/api_op_RebootDBInstance.go | 3 - .../docdb/api_op_RemoveFromGlobalCluster.go | 3 - ..._RemoveSourceIdentifierFromSubscription.go | 3 - .../docdb/api_op_RemoveTagsFromResource.go | 3 - .../api_op_ResetDBClusterParameterGroup.go | 3 - .../api_op_RestoreDBClusterFromSnapshot.go | 3 - .../api_op_RestoreDBClusterToPointInTime.go | 3 - service/docdb/api_op_StartDBCluster.go | 3 - service/docdb/api_op_StopDBCluster.go | 3 - .../docdb/api_op_SwitchoverGlobalCluster.go | 3 - ..._AddSourceIdentifierToSubscription.go.snap | 1 - .../snapshot/api_op_AddTagsToResource.go.snap | 1 - ...i_op_ApplyPendingMaintenanceAction.go.snap | 1 - ...api_op_CopyDBClusterParameterGroup.go.snap | 1 - .../api_op_CopyDBClusterSnapshot.go.snap | 1 - .../snapshot/api_op_CreateDBCluster.go.snap | 1 - ...i_op_CreateDBClusterParameterGroup.go.snap | 1 - .../api_op_CreateDBClusterSnapshot.go.snap | 1 - .../snapshot/api_op_CreateDBInstance.go.snap | 1 - .../api_op_CreateDBSubnetGroup.go.snap | 1 - .../api_op_CreateEventSubscription.go.snap | 1 - .../api_op_CreateGlobalCluster.go.snap | 1 - .../snapshot/api_op_DeleteDBCluster.go.snap | 1 - ...i_op_DeleteDBClusterParameterGroup.go.snap | 1 - .../api_op_DeleteDBClusterSnapshot.go.snap | 1 - .../snapshot/api_op_DeleteDBInstance.go.snap | 1 - .../api_op_DeleteDBSubnetGroup.go.snap | 1 - .../api_op_DeleteEventSubscription.go.snap | 1 - .../api_op_DeleteGlobalCluster.go.snap | 1 - .../api_op_DescribeCertificates.go.snap | 1 - ...p_DescribeDBClusterParameterGroups.go.snap | 1 - ...api_op_DescribeDBClusterParameters.go.snap | 1 - ...escribeDBClusterSnapshotAttributes.go.snap | 1 - .../api_op_DescribeDBClusterSnapshots.go.snap | 1 - .../api_op_DescribeDBClusters.go.snap | 1 - .../api_op_DescribeDBEngineVersions.go.snap | 1 - .../api_op_DescribeDBInstances.go.snap | 1 - .../api_op_DescribeDBSubnetGroups.go.snap | 1 - ...ribeEngineDefaultClusterParameters.go.snap | 1 - .../api_op_DescribeEventCategories.go.snap | 1 - .../api_op_DescribeEventSubscriptions.go.snap | 1 - .../snapshot/api_op_DescribeEvents.go.snap | 1 - .../api_op_DescribeGlobalClusters.go.snap | 1 - ...DescribeOrderableDBInstanceOptions.go.snap | 1 - ..._DescribePendingMaintenanceActions.go.snap | 1 - .../snapshot/api_op_FailoverDBCluster.go.snap | 1 - .../api_op_FailoverGlobalCluster.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ModifyDBCluster.go.snap | 1 - ...i_op_ModifyDBClusterParameterGroup.go.snap | 1 - ...p_ModifyDBClusterSnapshotAttribute.go.snap | 1 - .../snapshot/api_op_ModifyDBInstance.go.snap | 1 - .../api_op_ModifyDBSubnetGroup.go.snap | 1 - .../api_op_ModifyEventSubscription.go.snap | 1 - .../api_op_ModifyGlobalCluster.go.snap | 1 - .../snapshot/api_op_RebootDBInstance.go.snap | 1 - .../api_op_RemoveFromGlobalCluster.go.snap | 1 - ...veSourceIdentifierFromSubscription.go.snap | 1 - .../api_op_RemoveTagsFromResource.go.snap | 1 - ...pi_op_ResetDBClusterParameterGroup.go.snap | 1 - ...pi_op_RestoreDBClusterFromSnapshot.go.snap | 1 - ...i_op_RestoreDBClusterToPointInTime.go.snap | 1 - .../snapshot/api_op_StartDBCluster.go.snap | 1 - .../snapshot/api_op_StopDBCluster.go.snap | 1 - .../api_op_SwitchoverGlobalCluster.go.snap | 1 - service/docdbelastic/api_client.go | 31 -- .../api_op_ApplyPendingMaintenanceAction.go | 3 - .../api_op_CopyClusterSnapshot.go | 3 - service/docdbelastic/api_op_CreateCluster.go | 3 - .../api_op_CreateClusterSnapshot.go | 3 - service/docdbelastic/api_op_DeleteCluster.go | 3 - .../api_op_DeleteClusterSnapshot.go | 3 - service/docdbelastic/api_op_GetCluster.go | 3 - .../docdbelastic/api_op_GetClusterSnapshot.go | 3 - .../api_op_GetPendingMaintenanceAction.go | 3 - .../api_op_ListClusterSnapshots.go | 3 - service/docdbelastic/api_op_ListClusters.go | 3 - .../api_op_ListPendingMaintenanceActions.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_RestoreClusterFromSnapshot.go | 3 - service/docdbelastic/api_op_StartCluster.go | 3 - service/docdbelastic/api_op_StopCluster.go | 3 - service/docdbelastic/api_op_TagResource.go | 3 - service/docdbelastic/api_op_UntagResource.go | 3 - service/docdbelastic/api_op_UpdateCluster.go | 3 - ...i_op_ApplyPendingMaintenanceAction.go.snap | 1 - .../api_op_CopyClusterSnapshot.go.snap | 1 - .../snapshot/api_op_CreateCluster.go.snap | 1 - .../api_op_CreateClusterSnapshot.go.snap | 1 - .../snapshot/api_op_DeleteCluster.go.snap | 1 - .../api_op_DeleteClusterSnapshot.go.snap | 1 - .../snapshot/api_op_GetCluster.go.snap | 1 - .../api_op_GetClusterSnapshot.go.snap | 1 - ...api_op_GetPendingMaintenanceAction.go.snap | 1 - .../api_op_ListClusterSnapshots.go.snap | 1 - .../snapshot/api_op_ListClusters.go.snap | 1 - ...i_op_ListPendingMaintenanceActions.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_RestoreClusterFromSnapshot.go.snap | 1 - .../snapshot/api_op_StartCluster.go.snap | 1 - .../snapshot/api_op_StopCluster.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateCluster.go.snap | 1 - service/drs/api_client.go | 31 -- .../drs/api_op_AssociateSourceNetworkStack.go | 3 - .../drs/api_op_CreateExtendedSourceServer.go | 3 - ...pi_op_CreateLaunchConfigurationTemplate.go | 3 - ..._CreateReplicationConfigurationTemplate.go | 3 - service/drs/api_op_CreateSourceNetwork.go | 3 - service/drs/api_op_DeleteJob.go | 3 - service/drs/api_op_DeleteLaunchAction.go | 3 - ...pi_op_DeleteLaunchConfigurationTemplate.go | 3 - service/drs/api_op_DeleteRecoveryInstance.go | 3 - ..._DeleteReplicationConfigurationTemplate.go | 3 - service/drs/api_op_DeleteSourceNetwork.go | 3 - service/drs/api_op_DeleteSourceServer.go | 3 - service/drs/api_op_DescribeJobLogItems.go | 3 - service/drs/api_op_DescribeJobs.go | 3 - ...op_DescribeLaunchConfigurationTemplates.go | 3 - .../drs/api_op_DescribeRecoveryInstances.go | 3 - .../drs/api_op_DescribeRecoverySnapshots.go | 3 - ...scribeReplicationConfigurationTemplates.go | 3 - service/drs/api_op_DescribeSourceNetworks.go | 3 - service/drs/api_op_DescribeSourceServers.go | 3 - .../drs/api_op_DisconnectRecoveryInstance.go | 3 - service/drs/api_op_DisconnectSourceServer.go | 3 - .../api_op_ExportSourceNetworkCfnTemplate.go | 3 - ..._op_GetFailbackReplicationConfiguration.go | 3 - service/drs/api_op_GetLaunchConfiguration.go | 3 - .../drs/api_op_GetReplicationConfiguration.go | 3 - service/drs/api_op_InitializeService.go | 3 - .../drs/api_op_ListExtensibleSourceServers.go | 3 - service/drs/api_op_ListLaunchActions.go | 3 - service/drs/api_op_ListStagingAccounts.go | 3 - service/drs/api_op_ListTagsForResource.go | 3 - service/drs/api_op_PutLaunchAction.go | 3 - service/drs/api_op_RetryDataReplication.go | 3 - service/drs/api_op_ReverseReplication.go | 3 - service/drs/api_op_StartFailbackLaunch.go | 3 - service/drs/api_op_StartRecovery.go | 3 - service/drs/api_op_StartReplication.go | 3 - .../drs/api_op_StartSourceNetworkRecovery.go | 3 - .../api_op_StartSourceNetworkReplication.go | 3 - service/drs/api_op_StopFailback.go | 3 - service/drs/api_op_StopReplication.go | 3 - .../api_op_StopSourceNetworkReplication.go | 3 - service/drs/api_op_TagResource.go | 3 - .../drs/api_op_TerminateRecoveryInstances.go | 3 - service/drs/api_op_UntagResource.go | 3 - ..._UpdateFailbackReplicationConfiguration.go | 3 - .../drs/api_op_UpdateLaunchConfiguration.go | 3 - ...pi_op_UpdateLaunchConfigurationTemplate.go | 3 - .../api_op_UpdateReplicationConfiguration.go | 3 - ..._UpdateReplicationConfigurationTemplate.go | 3 - ...api_op_AssociateSourceNetworkStack.go.snap | 1 - .../api_op_CreateExtendedSourceServer.go.snap | 1 - ..._CreateLaunchConfigurationTemplate.go.snap | 1 - ...teReplicationConfigurationTemplate.go.snap | 1 - .../api_op_CreateSourceNetwork.go.snap | 1 - service/drs/snapshot/api_op_DeleteJob.go.snap | 1 - .../api_op_DeleteLaunchAction.go.snap | 1 - ..._DeleteLaunchConfigurationTemplate.go.snap | 1 - .../api_op_DeleteRecoveryInstance.go.snap | 1 - ...teReplicationConfigurationTemplate.go.snap | 1 - .../api_op_DeleteSourceNetwork.go.snap | 1 - .../api_op_DeleteSourceServer.go.snap | 1 - .../api_op_DescribeJobLogItems.go.snap | 1 - .../drs/snapshot/api_op_DescribeJobs.go.snap | 1 - ...scribeLaunchConfigurationTemplates.go.snap | 1 - .../api_op_DescribeRecoveryInstances.go.snap | 1 - .../api_op_DescribeRecoverySnapshots.go.snap | 1 - ...eReplicationConfigurationTemplates.go.snap | 1 - .../api_op_DescribeSourceNetworks.go.snap | 1 - .../api_op_DescribeSourceServers.go.snap | 1 - .../api_op_DisconnectRecoveryInstance.go.snap | 1 - .../api_op_DisconnectSourceServer.go.snap | 1 - ..._op_ExportSourceNetworkCfnTemplate.go.snap | 1 - ...etFailbackReplicationConfiguration.go.snap | 1 - .../api_op_GetLaunchConfiguration.go.snap | 1 - ...api_op_GetReplicationConfiguration.go.snap | 1 - .../snapshot/api_op_InitializeService.go.snap | 1 - ...api_op_ListExtensibleSourceServers.go.snap | 1 - .../snapshot/api_op_ListLaunchActions.go.snap | 1 - .../api_op_ListStagingAccounts.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_PutLaunchAction.go.snap | 1 - .../api_op_RetryDataReplication.go.snap | 1 - .../api_op_ReverseReplication.go.snap | 1 - .../api_op_StartFailbackLaunch.go.snap | 1 - .../drs/snapshot/api_op_StartRecovery.go.snap | 1 - .../snapshot/api_op_StartReplication.go.snap | 1 - .../api_op_StartSourceNetworkRecovery.go.snap | 1 - ...i_op_StartSourceNetworkReplication.go.snap | 1 - .../drs/snapshot/api_op_StopFailback.go.snap | 1 - .../snapshot/api_op_StopReplication.go.snap | 1 - ...pi_op_StopSourceNetworkReplication.go.snap | 1 - .../drs/snapshot/api_op_TagResource.go.snap | 1 - .../api_op_TerminateRecoveryInstances.go.snap | 1 - .../drs/snapshot/api_op_UntagResource.go.snap | 1 - ...teFailbackReplicationConfiguration.go.snap | 1 - .../api_op_UpdateLaunchConfiguration.go.snap | 1 - ..._UpdateLaunchConfigurationTemplate.go.snap | 1 - ..._op_UpdateReplicationConfiguration.go.snap | 1 - ...teReplicationConfigurationTemplate.go.snap | 1 - service/dsql/api_client.go | 31 -- service/dsql/api_op_CreateCluster.go | 3 - .../dsql/api_op_CreateMultiRegionClusters.go | 3 - service/dsql/api_op_DeleteCluster.go | 3 - .../dsql/api_op_DeleteMultiRegionClusters.go | 3 - service/dsql/api_op_GetCluster.go | 3 - service/dsql/api_op_ListClusters.go | 3 - service/dsql/api_op_ListTagsForResource.go | 3 - service/dsql/api_op_TagResource.go | 3 - service/dsql/api_op_UntagResource.go | 3 - service/dsql/api_op_UpdateCluster.go | 3 - .../snapshot/api_op_CreateCluster.go.snap | 1 - .../api_op_CreateMultiRegionClusters.go.snap | 1 - .../snapshot/api_op_DeleteCluster.go.snap | 1 - .../api_op_DeleteMultiRegionClusters.go.snap | 1 - .../dsql/snapshot/api_op_GetCluster.go.snap | 1 - .../dsql/snapshot/api_op_ListClusters.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../dsql/snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateCluster.go.snap | 1 - service/dynamodb/api_client.go | 31 -- .../dynamodb/api_op_BatchExecuteStatement.go | 3 - service/dynamodb/api_op_BatchGetItem.go | 3 - service/dynamodb/api_op_BatchWriteItem.go | 3 - service/dynamodb/api_op_CreateBackup.go | 3 - service/dynamodb/api_op_CreateGlobalTable.go | 3 - service/dynamodb/api_op_CreateTable.go | 3 - service/dynamodb/api_op_DeleteBackup.go | 3 - service/dynamodb/api_op_DeleteItem.go | 3 - .../dynamodb/api_op_DeleteResourcePolicy.go | 3 - service/dynamodb/api_op_DeleteTable.go | 3 - service/dynamodb/api_op_DescribeBackup.go | 3 - .../api_op_DescribeContinuousBackups.go | 3 - .../api_op_DescribeContributorInsights.go | 3 - service/dynamodb/api_op_DescribeEndpoints.go | 3 - service/dynamodb/api_op_DescribeExport.go | 3 - .../dynamodb/api_op_DescribeGlobalTable.go | 3 - .../api_op_DescribeGlobalTableSettings.go | 3 - service/dynamodb/api_op_DescribeImport.go | 3 - ..._op_DescribeKinesisStreamingDestination.go | 3 - service/dynamodb/api_op_DescribeLimits.go | 3 - service/dynamodb/api_op_DescribeTable.go | 3 - .../api_op_DescribeTableReplicaAutoScaling.go | 3 - service/dynamodb/api_op_DescribeTimeToLive.go | 3 - ...i_op_DisableKinesisStreamingDestination.go | 3 - ...pi_op_EnableKinesisStreamingDestination.go | 3 - service/dynamodb/api_op_ExecuteStatement.go | 3 - service/dynamodb/api_op_ExecuteTransaction.go | 3 - .../api_op_ExportTableToPointInTime.go | 3 - service/dynamodb/api_op_GetItem.go | 3 - service/dynamodb/api_op_GetResourcePolicy.go | 3 - service/dynamodb/api_op_ImportTable.go | 3 - service/dynamodb/api_op_ListBackups.go | 3 - .../api_op_ListContributorInsights.go | 3 - service/dynamodb/api_op_ListExports.go | 3 - service/dynamodb/api_op_ListGlobalTables.go | 3 - service/dynamodb/api_op_ListImports.go | 3 - service/dynamodb/api_op_ListTables.go | 3 - service/dynamodb/api_op_ListTagsOfResource.go | 3 - service/dynamodb/api_op_PutItem.go | 3 - service/dynamodb/api_op_PutResourcePolicy.go | 3 - service/dynamodb/api_op_Query.go | 3 - .../dynamodb/api_op_RestoreTableFromBackup.go | 3 - .../api_op_RestoreTableToPointInTime.go | 3 - service/dynamodb/api_op_Scan.go | 3 - service/dynamodb/api_op_TagResource.go | 3 - service/dynamodb/api_op_TransactGetItems.go | 3 - service/dynamodb/api_op_TransactWriteItems.go | 3 - service/dynamodb/api_op_UntagResource.go | 3 - .../api_op_UpdateContinuousBackups.go | 3 - .../api_op_UpdateContributorInsights.go | 3 - service/dynamodb/api_op_UpdateGlobalTable.go | 3 - .../api_op_UpdateGlobalTableSettings.go | 3 - service/dynamodb/api_op_UpdateItem.go | 3 - ...pi_op_UpdateKinesisStreamingDestination.go | 3 - service/dynamodb/api_op_UpdateTable.go | 3 - .../api_op_UpdateTableReplicaAutoScaling.go | 3 - service/dynamodb/api_op_UpdateTimeToLive.go | 3 - .../api_op_BatchExecuteStatement.go.snap | 1 - .../snapshot/api_op_BatchGetItem.go.snap | 1 - .../snapshot/api_op_BatchWriteItem.go.snap | 1 - .../snapshot/api_op_CreateBackup.go.snap | 1 - .../snapshot/api_op_CreateGlobalTable.go.snap | 1 - .../snapshot/api_op_CreateTable.go.snap | 1 - .../snapshot/api_op_DeleteBackup.go.snap | 1 - .../snapshot/api_op_DeleteItem.go.snap | 1 - .../api_op_DeleteResourcePolicy.go.snap | 1 - .../snapshot/api_op_DeleteTable.go.snap | 1 - .../snapshot/api_op_DescribeBackup.go.snap | 1 - .../api_op_DescribeContinuousBackups.go.snap | 1 - ...api_op_DescribeContributorInsights.go.snap | 1 - .../snapshot/api_op_DescribeEndpoints.go.snap | 1 - .../snapshot/api_op_DescribeExport.go.snap | 1 - .../api_op_DescribeGlobalTable.go.snap | 1 - ...api_op_DescribeGlobalTableSettings.go.snap | 1 - .../snapshot/api_op_DescribeImport.go.snap | 1 - ...escribeKinesisStreamingDestination.go.snap | 1 - .../snapshot/api_op_DescribeLimits.go.snap | 1 - .../snapshot/api_op_DescribeTable.go.snap | 1 - ...op_DescribeTableReplicaAutoScaling.go.snap | 1 - .../api_op_DescribeTimeToLive.go.snap | 1 - ...DisableKinesisStreamingDestination.go.snap | 1 - ..._EnableKinesisStreamingDestination.go.snap | 1 - .../snapshot/api_op_ExecuteStatement.go.snap | 1 - .../api_op_ExecuteTransaction.go.snap | 1 - .../api_op_ExportTableToPointInTime.go.snap | 1 - .../dynamodb/snapshot/api_op_GetItem.go.snap | 1 - .../snapshot/api_op_GetResourcePolicy.go.snap | 1 - .../snapshot/api_op_ImportTable.go.snap | 1 - .../snapshot/api_op_ListBackups.go.snap | 1 - .../api_op_ListContributorInsights.go.snap | 1 - .../snapshot/api_op_ListExports.go.snap | 1 - .../snapshot/api_op_ListGlobalTables.go.snap | 1 - .../snapshot/api_op_ListImports.go.snap | 1 - .../snapshot/api_op_ListTables.go.snap | 1 - .../api_op_ListTagsOfResource.go.snap | 1 - .../dynamodb/snapshot/api_op_PutItem.go.snap | 1 - .../snapshot/api_op_PutResourcePolicy.go.snap | 1 - .../dynamodb/snapshot/api_op_Query.go.snap | 1 - .../api_op_RestoreTableFromBackup.go.snap | 1 - .../api_op_RestoreTableToPointInTime.go.snap | 1 - service/dynamodb/snapshot/api_op_Scan.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_TransactGetItems.go.snap | 1 - .../api_op_TransactWriteItems.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateContinuousBackups.go.snap | 1 - .../api_op_UpdateContributorInsights.go.snap | 1 - .../snapshot/api_op_UpdateGlobalTable.go.snap | 1 - .../api_op_UpdateGlobalTableSettings.go.snap | 1 - .../snapshot/api_op_UpdateItem.go.snap | 1 - ..._UpdateKinesisStreamingDestination.go.snap | 1 - .../snapshot/api_op_UpdateTable.go.snap | 1 - ...i_op_UpdateTableReplicaAutoScaling.go.snap | 1 - .../snapshot/api_op_UpdateTimeToLive.go.snap | 1 - service/dynamodbstreams/api_client.go | 31 -- .../dynamodbstreams/api_op_DescribeStream.go | 3 - service/dynamodbstreams/api_op_GetRecords.go | 3 - .../api_op_GetShardIterator.go | 3 - service/dynamodbstreams/api_op_ListStreams.go | 3 - .../snapshot/api_op_DescribeStream.go.snap | 1 - .../snapshot/api_op_GetRecords.go.snap | 1 - .../snapshot/api_op_GetShardIterator.go.snap | 1 - .../snapshot/api_op_ListStreams.go.snap | 1 - service/ebs/api_client.go | 31 -- service/ebs/api_op_CompleteSnapshot.go | 3 - service/ebs/api_op_GetSnapshotBlock.go | 3 - service/ebs/api_op_ListChangedBlocks.go | 3 - service/ebs/api_op_ListSnapshotBlocks.go | 3 - service/ebs/api_op_PutSnapshotBlock.go | 3 - service/ebs/api_op_StartSnapshot.go | 3 - .../snapshot/api_op_CompleteSnapshot.go.snap | 1 - .../snapshot/api_op_GetSnapshotBlock.go.snap | 1 - .../snapshot/api_op_ListChangedBlocks.go.snap | 1 - .../api_op_ListSnapshotBlocks.go.snap | 1 - .../snapshot/api_op_PutSnapshotBlock.go.snap | 1 - .../ebs/snapshot/api_op_StartSnapshot.go.snap | 1 - service/ec2/api_client.go | 31 -- service/ec2/api_op_AcceptAddressTransfer.go | 3 - ...ceptCapacityReservationBillingOwnership.go | 3 - ...op_AcceptReservedInstancesExchangeQuote.go | 3 - ...ansitGatewayMulticastDomainAssociations.go | 3 - ...p_AcceptTransitGatewayPeeringAttachment.go | 3 - ...pi_op_AcceptTransitGatewayVpcAttachment.go | 3 - .../api_op_AcceptVpcEndpointConnections.go | 3 - .../ec2/api_op_AcceptVpcPeeringConnection.go | 3 - service/ec2/api_op_AdvertiseByoipCidr.go | 3 - service/ec2/api_op_AllocateAddress.go | 3 - service/ec2/api_op_AllocateHosts.go | 3 - service/ec2/api_op_AllocateIpamPoolCidr.go | 3 - ...ySecurityGroupsToClientVpnTargetNetwork.go | 3 - service/ec2/api_op_AssignIpv6Addresses.go | 3 - .../ec2/api_op_AssignPrivateIpAddresses.go | 3 - .../api_op_AssignPrivateNatGatewayAddress.go | 3 - service/ec2/api_op_AssociateAddress.go | 3 - ...ssociateCapacityReservationBillingOwner.go | 3 - .../api_op_AssociateClientVpnTargetNetwork.go | 3 - service/ec2/api_op_AssociateDhcpOptions.go | 3 - ...i_op_AssociateEnclaveCertificateIamRole.go | 3 - .../ec2/api_op_AssociateIamInstanceProfile.go | 3 - .../api_op_AssociateInstanceEventWindow.go | 3 - service/ec2/api_op_AssociateIpamByoasn.go | 3 - .../api_op_AssociateIpamResourceDiscovery.go | 3 - .../ec2/api_op_AssociateNatGatewayAddress.go | 3 - service/ec2/api_op_AssociateRouteTable.go | 3 - .../ec2/api_op_AssociateSecurityGroupVpc.go | 3 - .../ec2/api_op_AssociateSubnetCidrBlock.go | 3 - ..._AssociateTransitGatewayMulticastDomain.go | 3 - ...i_op_AssociateTransitGatewayPolicyTable.go | 3 - ...pi_op_AssociateTransitGatewayRouteTable.go | 3 - service/ec2/api_op_AssociateTrunkInterface.go | 3 - service/ec2/api_op_AssociateVpcCidrBlock.go | 3 - service/ec2/api_op_AttachClassicLinkVpc.go | 3 - service/ec2/api_op_AttachInternetGateway.go | 3 - service/ec2/api_op_AttachNetworkInterface.go | 3 - ...pi_op_AttachVerifiedAccessTrustProvider.go | 3 - service/ec2/api_op_AttachVolume.go | 3 - service/ec2/api_op_AttachVpnGateway.go | 3 - .../ec2/api_op_AuthorizeClientVpnIngress.go | 3 - .../api_op_AuthorizeSecurityGroupEgress.go | 3 - .../api_op_AuthorizeSecurityGroupIngress.go | 3 - service/ec2/api_op_BundleInstance.go | 3 - service/ec2/api_op_CancelBundleTask.go | 3 - .../ec2/api_op_CancelCapacityReservation.go | 3 - .../api_op_CancelCapacityReservationFleets.go | 3 - service/ec2/api_op_CancelConversionTask.go | 3 - .../api_op_CancelDeclarativePoliciesReport.go | 3 - service/ec2/api_op_CancelExportTask.go | 3 - .../ec2/api_op_CancelImageLaunchPermission.go | 3 - service/ec2/api_op_CancelImportTask.go | 3 - .../api_op_CancelReservedInstancesListing.go | 3 - service/ec2/api_op_CancelSpotFleetRequests.go | 3 - .../ec2/api_op_CancelSpotInstanceRequests.go | 3 - service/ec2/api_op_ConfirmProductInstance.go | 3 - service/ec2/api_op_CopyFpgaImage.go | 3 - service/ec2/api_op_CopyImage.go | 3 - service/ec2/api_op_CopySnapshot.go | 3 - .../ec2/api_op_CreateCapacityReservation.go | 3 - ...op_CreateCapacityReservationBySplitting.go | 3 - .../api_op_CreateCapacityReservationFleet.go | 3 - service/ec2/api_op_CreateCarrierGateway.go | 3 - service/ec2/api_op_CreateClientVpnEndpoint.go | 3 - service/ec2/api_op_CreateClientVpnRoute.go | 3 - service/ec2/api_op_CreateCoipCidr.go | 3 - service/ec2/api_op_CreateCoipPool.go | 3 - service/ec2/api_op_CreateCustomerGateway.go | 3 - service/ec2/api_op_CreateDefaultSubnet.go | 3 - service/ec2/api_op_CreateDefaultVpc.go | 3 - service/ec2/api_op_CreateDhcpOptions.go | 3 - .../api_op_CreateEgressOnlyInternetGateway.go | 3 - service/ec2/api_op_CreateFleet.go | 3 - service/ec2/api_op_CreateFlowLogs.go | 3 - service/ec2/api_op_CreateFpgaImage.go | 3 - service/ec2/api_op_CreateImage.go | 3 - .../api_op_CreateInstanceConnectEndpoint.go | 3 - .../ec2/api_op_CreateInstanceEventWindow.go | 3 - .../ec2/api_op_CreateInstanceExportTask.go | 3 - service/ec2/api_op_CreateInternetGateway.go | 3 - service/ec2/api_op_CreateIpam.go | 3 - ...teIpamExternalResourceVerificationToken.go | 3 - service/ec2/api_op_CreateIpamPool.go | 3 - .../ec2/api_op_CreateIpamResourceDiscovery.go | 3 - service/ec2/api_op_CreateIpamScope.go | 3 - service/ec2/api_op_CreateKeyPair.go | 3 - service/ec2/api_op_CreateLaunchTemplate.go | 3 - .../ec2/api_op_CreateLaunchTemplateVersion.go | 3 - service/ec2/api_op_CreateLocalGatewayRoute.go | 3 - .../api_op_CreateLocalGatewayRouteTable.go | 3 - ...teTableVirtualInterfaceGroupAssociation.go | 3 - ...ateLocalGatewayRouteTableVpcAssociation.go | 3 - service/ec2/api_op_CreateManagedPrefixList.go | 3 - service/ec2/api_op_CreateNatGateway.go | 3 - service/ec2/api_op_CreateNetworkAcl.go | 3 - service/ec2/api_op_CreateNetworkAclEntry.go | 3 - ...api_op_CreateNetworkInsightsAccessScope.go | 3 - .../ec2/api_op_CreateNetworkInsightsPath.go | 3 - service/ec2/api_op_CreateNetworkInterface.go | 3 - ...api_op_CreateNetworkInterfacePermission.go | 3 - service/ec2/api_op_CreatePlacementGroup.go | 3 - service/ec2/api_op_CreatePublicIpv4Pool.go | 3 - .../ec2/api_op_CreateReplaceRootVolumeTask.go | 3 - .../api_op_CreateReservedInstancesListing.go | 3 - service/ec2/api_op_CreateRestoreImageTask.go | 3 - service/ec2/api_op_CreateRoute.go | 3 - service/ec2/api_op_CreateRouteTable.go | 3 - service/ec2/api_op_CreateSecurityGroup.go | 3 - service/ec2/api_op_CreateSnapshot.go | 3 - service/ec2/api_op_CreateSnapshots.go | 3 - .../api_op_CreateSpotDatafeedSubscription.go | 3 - service/ec2/api_op_CreateStoreImageTask.go | 3 - service/ec2/api_op_CreateSubnet.go | 3 - .../ec2/api_op_CreateSubnetCidrReservation.go | 3 - service/ec2/api_op_CreateTags.go | 3 - .../ec2/api_op_CreateTrafficMirrorFilter.go | 3 - .../api_op_CreateTrafficMirrorFilterRule.go | 3 - .../ec2/api_op_CreateTrafficMirrorSession.go | 3 - .../ec2/api_op_CreateTrafficMirrorTarget.go | 3 - service/ec2/api_op_CreateTransitGateway.go | 3 - .../ec2/api_op_CreateTransitGatewayConnect.go | 3 - .../api_op_CreateTransitGatewayConnectPeer.go | 3 - ..._op_CreateTransitGatewayMulticastDomain.go | 3 - ...p_CreateTransitGatewayPeeringAttachment.go | 3 - .../api_op_CreateTransitGatewayPolicyTable.go | 3 - ...CreateTransitGatewayPrefixListReference.go | 3 - .../ec2/api_op_CreateTransitGatewayRoute.go | 3 - .../api_op_CreateTransitGatewayRouteTable.go | 3 - ...ateTransitGatewayRouteTableAnnouncement.go | 3 - ...pi_op_CreateTransitGatewayVpcAttachment.go | 3 - .../api_op_CreateVerifiedAccessEndpoint.go | 3 - .../ec2/api_op_CreateVerifiedAccessGroup.go | 3 - .../api_op_CreateVerifiedAccessInstance.go | 3 - ...pi_op_CreateVerifiedAccessTrustProvider.go | 3 - service/ec2/api_op_CreateVolume.go | 3 - service/ec2/api_op_CreateVpc.go | 3 - ..._op_CreateVpcBlockPublicAccessExclusion.go | 3 - service/ec2/api_op_CreateVpcEndpoint.go | 3 - ...CreateVpcEndpointConnectionNotification.go | 3 - ...p_CreateVpcEndpointServiceConfiguration.go | 3 - .../ec2/api_op_CreateVpcPeeringConnection.go | 3 - service/ec2/api_op_CreateVpnConnection.go | 3 - .../ec2/api_op_CreateVpnConnectionRoute.go | 3 - service/ec2/api_op_CreateVpnGateway.go | 3 - service/ec2/api_op_DeleteCarrierGateway.go | 3 - service/ec2/api_op_DeleteClientVpnEndpoint.go | 3 - service/ec2/api_op_DeleteClientVpnRoute.go | 3 - service/ec2/api_op_DeleteCoipCidr.go | 3 - service/ec2/api_op_DeleteCoipPool.go | 3 - service/ec2/api_op_DeleteCustomerGateway.go | 3 - service/ec2/api_op_DeleteDhcpOptions.go | 3 - .../api_op_DeleteEgressOnlyInternetGateway.go | 3 - service/ec2/api_op_DeleteFleets.go | 3 - service/ec2/api_op_DeleteFlowLogs.go | 3 - service/ec2/api_op_DeleteFpgaImage.go | 3 - .../api_op_DeleteInstanceConnectEndpoint.go | 3 - .../ec2/api_op_DeleteInstanceEventWindow.go | 3 - service/ec2/api_op_DeleteInternetGateway.go | 3 - service/ec2/api_op_DeleteIpam.go | 3 - ...teIpamExternalResourceVerificationToken.go | 3 - service/ec2/api_op_DeleteIpamPool.go | 3 - .../ec2/api_op_DeleteIpamResourceDiscovery.go | 3 - service/ec2/api_op_DeleteIpamScope.go | 3 - service/ec2/api_op_DeleteKeyPair.go | 3 - service/ec2/api_op_DeleteLaunchTemplate.go | 3 - .../api_op_DeleteLaunchTemplateVersions.go | 3 - service/ec2/api_op_DeleteLocalGatewayRoute.go | 3 - .../api_op_DeleteLocalGatewayRouteTable.go | 3 - ...teTableVirtualInterfaceGroupAssociation.go | 3 - ...eteLocalGatewayRouteTableVpcAssociation.go | 3 - service/ec2/api_op_DeleteManagedPrefixList.go | 3 - service/ec2/api_op_DeleteNatGateway.go | 3 - service/ec2/api_op_DeleteNetworkAcl.go | 3 - service/ec2/api_op_DeleteNetworkAclEntry.go | 3 - ...api_op_DeleteNetworkInsightsAccessScope.go | 3 - ...eleteNetworkInsightsAccessScopeAnalysis.go | 3 - .../api_op_DeleteNetworkInsightsAnalysis.go | 3 - .../ec2/api_op_DeleteNetworkInsightsPath.go | 3 - service/ec2/api_op_DeleteNetworkInterface.go | 3 - ...api_op_DeleteNetworkInterfacePermission.go | 3 - service/ec2/api_op_DeletePlacementGroup.go | 3 - service/ec2/api_op_DeletePublicIpv4Pool.go | 3 - .../api_op_DeleteQueuedReservedInstances.go | 3 - service/ec2/api_op_DeleteRoute.go | 3 - service/ec2/api_op_DeleteRouteTable.go | 3 - service/ec2/api_op_DeleteSecurityGroup.go | 3 - service/ec2/api_op_DeleteSnapshot.go | 3 - .../api_op_DeleteSpotDatafeedSubscription.go | 3 - service/ec2/api_op_DeleteSubnet.go | 3 - .../ec2/api_op_DeleteSubnetCidrReservation.go | 3 - service/ec2/api_op_DeleteTags.go | 3 - .../ec2/api_op_DeleteTrafficMirrorFilter.go | 3 - .../api_op_DeleteTrafficMirrorFilterRule.go | 3 - .../ec2/api_op_DeleteTrafficMirrorSession.go | 3 - .../ec2/api_op_DeleteTrafficMirrorTarget.go | 3 - service/ec2/api_op_DeleteTransitGateway.go | 3 - .../ec2/api_op_DeleteTransitGatewayConnect.go | 3 - .../api_op_DeleteTransitGatewayConnectPeer.go | 3 - ..._op_DeleteTransitGatewayMulticastDomain.go | 3 - ...p_DeleteTransitGatewayPeeringAttachment.go | 3 - .../api_op_DeleteTransitGatewayPolicyTable.go | 3 - ...DeleteTransitGatewayPrefixListReference.go | 3 - .../ec2/api_op_DeleteTransitGatewayRoute.go | 3 - .../api_op_DeleteTransitGatewayRouteTable.go | 3 - ...eteTransitGatewayRouteTableAnnouncement.go | 3 - ...pi_op_DeleteTransitGatewayVpcAttachment.go | 3 - .../api_op_DeleteVerifiedAccessEndpoint.go | 3 - .../ec2/api_op_DeleteVerifiedAccessGroup.go | 3 - .../api_op_DeleteVerifiedAccessInstance.go | 3 - ...pi_op_DeleteVerifiedAccessTrustProvider.go | 3 - service/ec2/api_op_DeleteVolume.go | 3 - service/ec2/api_op_DeleteVpc.go | 3 - ..._op_DeleteVpcBlockPublicAccessExclusion.go | 3 - ...eleteVpcEndpointConnectionNotifications.go | 3 - ..._DeleteVpcEndpointServiceConfigurations.go | 3 - service/ec2/api_op_DeleteVpcEndpoints.go | 3 - .../ec2/api_op_DeleteVpcPeeringConnection.go | 3 - service/ec2/api_op_DeleteVpnConnection.go | 3 - .../ec2/api_op_DeleteVpnConnectionRoute.go | 3 - service/ec2/api_op_DeleteVpnGateway.go | 3 - service/ec2/api_op_DeprovisionByoipCidr.go | 3 - service/ec2/api_op_DeprovisionIpamByoasn.go | 3 - service/ec2/api_op_DeprovisionIpamPoolCidr.go | 3 - .../api_op_DeprovisionPublicIpv4PoolCidr.go | 3 - service/ec2/api_op_DeregisterImage.go | 3 - ...sterInstanceEventNotificationAttributes.go | 3 - ...sterTransitGatewayMulticastGroupMembers.go | 3 - ...sterTransitGatewayMulticastGroupSources.go | 3 - .../ec2/api_op_DescribeAccountAttributes.go | 3 - .../ec2/api_op_DescribeAddressTransfers.go | 3 - service/ec2/api_op_DescribeAddresses.go | 3 - .../ec2/api_op_DescribeAddressesAttribute.go | 3 - .../ec2/api_op_DescribeAggregateIdFormat.go | 3 - .../ec2/api_op_DescribeAvailabilityZones.go | 3 - ...wsNetworkPerformanceMetricSubscriptions.go | 3 - service/ec2/api_op_DescribeBundleTasks.go | 3 - service/ec2/api_op_DescribeByoipCidrs.go | 3 - ...p_DescribeCapacityBlockExtensionHistory.go | 3 - ...DescribeCapacityBlockExtensionOfferings.go | 3 - .../api_op_DescribeCapacityBlockOfferings.go | 3 - ...cribeCapacityReservationBillingRequests.go | 3 - ...pi_op_DescribeCapacityReservationFleets.go | 3 - .../api_op_DescribeCapacityReservations.go | 3 - service/ec2/api_op_DescribeCarrierGateways.go | 3 - .../api_op_DescribeClassicLinkInstances.go | 3 - ..._op_DescribeClientVpnAuthorizationRules.go | 3 - .../api_op_DescribeClientVpnConnections.go | 3 - .../ec2/api_op_DescribeClientVpnEndpoints.go | 3 - service/ec2/api_op_DescribeClientVpnRoutes.go | 3 - .../api_op_DescribeClientVpnTargetNetworks.go | 3 - service/ec2/api_op_DescribeCoipPools.go | 3 - service/ec2/api_op_DescribeConversionTasks.go | 3 - .../ec2/api_op_DescribeCustomerGateways.go | 3 - ...i_op_DescribeDeclarativePoliciesReports.go | 3 - service/ec2/api_op_DescribeDhcpOptions.go | 3 - ...i_op_DescribeEgressOnlyInternetGateways.go | 3 - service/ec2/api_op_DescribeElasticGpus.go | 3 - .../ec2/api_op_DescribeExportImageTasks.go | 3 - service/ec2/api_op_DescribeExportTasks.go | 3 - .../ec2/api_op_DescribeFastLaunchImages.go | 3 - .../api_op_DescribeFastSnapshotRestores.go | 3 - service/ec2/api_op_DescribeFleetHistory.go | 3 - service/ec2/api_op_DescribeFleetInstances.go | 3 - service/ec2/api_op_DescribeFleets.go | 3 - service/ec2/api_op_DescribeFlowLogs.go | 3 - .../ec2/api_op_DescribeFpgaImageAttribute.go | 3 - service/ec2/api_op_DescribeFpgaImages.go | 3 - ...api_op_DescribeHostReservationOfferings.go | 3 - .../ec2/api_op_DescribeHostReservations.go | 3 - service/ec2/api_op_DescribeHosts.go | 3 - ..._DescribeIamInstanceProfileAssociations.go | 3 - service/ec2/api_op_DescribeIdFormat.go | 3 - .../ec2/api_op_DescribeIdentityIdFormat.go | 3 - service/ec2/api_op_DescribeImageAttribute.go | 3 - service/ec2/api_op_DescribeImages.go | 3 - .../ec2/api_op_DescribeImportImageTasks.go | 3 - .../ec2/api_op_DescribeImportSnapshotTasks.go | 3 - .../ec2/api_op_DescribeInstanceAttribute.go | 3 - ...api_op_DescribeInstanceConnectEndpoints.go | 3 - ...op_DescribeInstanceCreditSpecifications.go | 3 - ...ribeInstanceEventNotificationAttributes.go | 3 - .../api_op_DescribeInstanceEventWindows.go | 3 - .../api_op_DescribeInstanceImageMetadata.go | 3 - service/ec2/api_op_DescribeInstanceStatus.go | 3 - .../ec2/api_op_DescribeInstanceTopology.go | 3 - .../api_op_DescribeInstanceTypeOfferings.go | 3 - service/ec2/api_op_DescribeInstanceTypes.go | 3 - service/ec2/api_op_DescribeInstances.go | 3 - .../ec2/api_op_DescribeInternetGateways.go | 3 - service/ec2/api_op_DescribeIpamByoasn.go | 3 - ...eIpamExternalResourceVerificationTokens.go | 3 - service/ec2/api_op_DescribeIpamPools.go | 3 - .../api_op_DescribeIpamResourceDiscoveries.go | 3 - ...scribeIpamResourceDiscoveryAssociations.go | 3 - service/ec2/api_op_DescribeIpamScopes.go | 3 - service/ec2/api_op_DescribeIpams.go | 3 - service/ec2/api_op_DescribeIpv6Pools.go | 3 - service/ec2/api_op_DescribeKeyPairs.go | 3 - .../api_op_DescribeLaunchTemplateVersions.go | 3 - service/ec2/api_op_DescribeLaunchTemplates.go | 3 - ...eTableVirtualInterfaceGroupAssociations.go | 3 - ...beLocalGatewayRouteTableVpcAssociations.go | 3 - .../api_op_DescribeLocalGatewayRouteTables.go | 3 - ...cribeLocalGatewayVirtualInterfaceGroups.go | 3 - ...p_DescribeLocalGatewayVirtualInterfaces.go | 3 - service/ec2/api_op_DescribeLocalGateways.go | 3 - service/ec2/api_op_DescribeLockedSnapshots.go | 3 - service/ec2/api_op_DescribeMacHosts.go | 3 - .../ec2/api_op_DescribeManagedPrefixLists.go | 3 - service/ec2/api_op_DescribeMovingAddresses.go | 3 - service/ec2/api_op_DescribeNatGateways.go | 3 - service/ec2/api_op_DescribeNetworkAcls.go | 3 - ...cribeNetworkInsightsAccessScopeAnalyses.go | 3 - ..._op_DescribeNetworkInsightsAccessScopes.go | 3 - .../api_op_DescribeNetworkInsightsAnalyses.go | 3 - .../api_op_DescribeNetworkInsightsPaths.go | 3 - ...pi_op_DescribeNetworkInterfaceAttribute.go | 3 - ..._op_DescribeNetworkInterfacePermissions.go | 3 - .../ec2/api_op_DescribeNetworkInterfaces.go | 3 - service/ec2/api_op_DescribePlacementGroups.go | 3 - service/ec2/api_op_DescribePrefixLists.go | 3 - .../ec2/api_op_DescribePrincipalIdFormat.go | 3 - service/ec2/api_op_DescribePublicIpv4Pools.go | 3 - service/ec2/api_op_DescribeRegions.go | 3 - .../api_op_DescribeReplaceRootVolumeTasks.go | 3 - .../ec2/api_op_DescribeReservedInstances.go | 3 - ...pi_op_DescribeReservedInstancesListings.go | 3 - ..._DescribeReservedInstancesModifications.go | 3 - ...i_op_DescribeReservedInstancesOfferings.go | 3 - service/ec2/api_op_DescribeRouteTables.go | 3 - ...p_DescribeScheduledInstanceAvailability.go | 3 - .../ec2/api_op_DescribeScheduledInstances.go | 3 - .../api_op_DescribeSecurityGroupReferences.go | 3 - .../ec2/api_op_DescribeSecurityGroupRules.go | 3 - ...op_DescribeSecurityGroupVpcAssociations.go | 3 - service/ec2/api_op_DescribeSecurityGroups.go | 3 - .../ec2/api_op_DescribeSnapshotAttribute.go | 3 - .../ec2/api_op_DescribeSnapshotTierStatus.go | 3 - service/ec2/api_op_DescribeSnapshots.go | 3 - ...api_op_DescribeSpotDatafeedSubscription.go | 3 - .../ec2/api_op_DescribeSpotFleetInstances.go | 3 - .../api_op_DescribeSpotFleetRequestHistory.go | 3 - .../ec2/api_op_DescribeSpotFleetRequests.go | 3 - .../api_op_DescribeSpotInstanceRequests.go | 3 - .../ec2/api_op_DescribeSpotPriceHistory.go | 3 - .../ec2/api_op_DescribeStaleSecurityGroups.go | 3 - service/ec2/api_op_DescribeStoreImageTasks.go | 3 - service/ec2/api_op_DescribeSubnets.go | 3 - service/ec2/api_op_DescribeTags.go | 3 - ...api_op_DescribeTrafficMirrorFilterRules.go | 3 - .../api_op_DescribeTrafficMirrorFilters.go | 3 - .../api_op_DescribeTrafficMirrorSessions.go | 3 - .../api_op_DescribeTrafficMirrorTargets.go | 3 - ...pi_op_DescribeTransitGatewayAttachments.go | 3 - ...i_op_DescribeTransitGatewayConnectPeers.go | 3 - .../api_op_DescribeTransitGatewayConnects.go | 3 - ..._DescribeTransitGatewayMulticastDomains.go | 3 - ...escribeTransitGatewayPeeringAttachments.go | 3 - ...i_op_DescribeTransitGatewayPolicyTables.go | 3 - ...beTransitGatewayRouteTableAnnouncements.go | 3 - ...pi_op_DescribeTransitGatewayRouteTables.go | 3 - ...op_DescribeTransitGatewayVpcAttachments.go | 3 - service/ec2/api_op_DescribeTransitGateways.go | 3 - ...i_op_DescribeTrunkInterfaceAssociations.go | 3 - .../api_op_DescribeVerifiedAccessEndpoints.go | 3 - .../api_op_DescribeVerifiedAccessGroups.go | 3 - ...fiedAccessInstanceLoggingConfigurations.go | 3 - .../api_op_DescribeVerifiedAccessInstances.go | 3 - ...op_DescribeVerifiedAccessTrustProviders.go | 3 - service/ec2/api_op_DescribeVolumeAttribute.go | 3 - service/ec2/api_op_DescribeVolumeStatus.go | 3 - service/ec2/api_op_DescribeVolumes.go | 3 - .../api_op_DescribeVolumesModifications.go | 3 - service/ec2/api_op_DescribeVpcAttribute.go | 3 - ..._DescribeVpcBlockPublicAccessExclusions.go | 3 - ..._op_DescribeVpcBlockPublicAccessOptions.go | 3 - service/ec2/api_op_DescribeVpcClassicLink.go | 3 - ...api_op_DescribeVpcClassicLinkDnsSupport.go | 3 - .../api_op_DescribeVpcEndpointAssociations.go | 3 - ...cribeVpcEndpointConnectionNotifications.go | 3 - .../api_op_DescribeVpcEndpointConnections.go | 3 - ...escribeVpcEndpointServiceConfigurations.go | 3 - ...p_DescribeVpcEndpointServicePermissions.go | 3 - .../ec2/api_op_DescribeVpcEndpointServices.go | 3 - service/ec2/api_op_DescribeVpcEndpoints.go | 3 - .../api_op_DescribeVpcPeeringConnections.go | 3 - service/ec2/api_op_DescribeVpcs.go | 3 - service/ec2/api_op_DescribeVpnConnections.go | 3 - service/ec2/api_op_DescribeVpnGateways.go | 3 - service/ec2/api_op_DetachClassicLinkVpc.go | 3 - service/ec2/api_op_DetachInternetGateway.go | 3 - service/ec2/api_op_DetachNetworkInterface.go | 3 - ...pi_op_DetachVerifiedAccessTrustProvider.go | 3 - service/ec2/api_op_DetachVolume.go | 3 - service/ec2/api_op_DetachVpnGateway.go | 3 - service/ec2/api_op_DisableAddressTransfer.go | 3 - .../api_op_DisableAllowedImagesSettings.go | 3 - ...AwsNetworkPerformanceMetricSubscription.go | 3 - .../api_op_DisableEbsEncryptionByDefault.go | 3 - service/ec2/api_op_DisableFastLaunch.go | 3 - .../ec2/api_op_DisableFastSnapshotRestores.go | 3 - service/ec2/api_op_DisableImage.go | 3 - .../api_op_DisableImageBlockPublicAccess.go | 3 - service/ec2/api_op_DisableImageDeprecation.go | 3 - ...op_DisableImageDeregistrationProtection.go | 3 - ..._op_DisableIpamOrganizationAdminAccount.go | 3 - .../ec2/api_op_DisableSerialConsoleAccess.go | 3 - ...api_op_DisableSnapshotBlockPublicAccess.go | 3 - ...ableTransitGatewayRouteTablePropagation.go | 3 - .../ec2/api_op_DisableVgwRoutePropagation.go | 3 - service/ec2/api_op_DisableVpcClassicLink.go | 3 - .../api_op_DisableVpcClassicLinkDnsSupport.go | 3 - service/ec2/api_op_DisassociateAddress.go | 3 - ...ssociateCapacityReservationBillingOwner.go | 3 - ...i_op_DisassociateClientVpnTargetNetwork.go | 3 - ...p_DisassociateEnclaveCertificateIamRole.go | 3 - .../api_op_DisassociateIamInstanceProfile.go | 3 - .../api_op_DisassociateInstanceEventWindow.go | 3 - service/ec2/api_op_DisassociateIpamByoasn.go | 3 - ...pi_op_DisassociateIpamResourceDiscovery.go | 3 - .../api_op_DisassociateNatGatewayAddress.go | 3 - service/ec2/api_op_DisassociateRouteTable.go | 3 - .../api_op_DisassociateSecurityGroupVpc.go | 3 - .../ec2/api_op_DisassociateSubnetCidrBlock.go | 3 - ...sassociateTransitGatewayMulticastDomain.go | 3 - ...p_DisassociateTransitGatewayPolicyTable.go | 3 - ...op_DisassociateTransitGatewayRouteTable.go | 3 - .../ec2/api_op_DisassociateTrunkInterface.go | 3 - .../ec2/api_op_DisassociateVpcCidrBlock.go | 3 - service/ec2/api_op_EnableAddressTransfer.go | 3 - .../ec2/api_op_EnableAllowedImagesSettings.go | 3 - ...AwsNetworkPerformanceMetricSubscription.go | 3 - .../api_op_EnableEbsEncryptionByDefault.go | 3 - service/ec2/api_op_EnableFastLaunch.go | 3 - .../ec2/api_op_EnableFastSnapshotRestores.go | 3 - service/ec2/api_op_EnableImage.go | 3 - .../api_op_EnableImageBlockPublicAccess.go | 3 - service/ec2/api_op_EnableImageDeprecation.go | 3 - ..._op_EnableImageDeregistrationProtection.go | 3 - ...i_op_EnableIpamOrganizationAdminAccount.go | 3 - ...ReachabilityAnalyzerOrganizationSharing.go | 3 - .../ec2/api_op_EnableSerialConsoleAccess.go | 3 - .../api_op_EnableSnapshotBlockPublicAccess.go | 3 - ...ableTransitGatewayRouteTablePropagation.go | 3 - .../ec2/api_op_EnableVgwRoutePropagation.go | 3 - service/ec2/api_op_EnableVolumeIO.go | 3 - service/ec2/api_op_EnableVpcClassicLink.go | 3 - .../api_op_EnableVpcClassicLinkDnsSupport.go | 3 - ...lientVpnClientCertificateRevocationList.go | 3 - ...i_op_ExportClientVpnClientConfiguration.go | 3 - service/ec2/api_op_ExportImage.go | 3 - .../ec2/api_op_ExportTransitGatewayRoutes.go | 3 - ...rifiedAccessInstanceClientConfiguration.go | 3 - .../ec2/api_op_GetAllowedImagesSettings.go | 3 - ...GetAssociatedEnclaveCertificateIamRoles.go | 3 - .../ec2/api_op_GetAssociatedIpv6PoolCidrs.go | 3 - .../api_op_GetAwsNetworkPerformanceData.go | 3 - .../ec2/api_op_GetCapacityReservationUsage.go | 3 - service/ec2/api_op_GetCoipPoolUsage.go | 3 - service/ec2/api_op_GetConsoleOutput.go | 3 - service/ec2/api_op_GetConsoleScreenshot.go | 3 - ..._op_GetDeclarativePoliciesReportSummary.go | 3 - .../api_op_GetDefaultCreditSpecification.go | 3 - service/ec2/api_op_GetEbsDefaultKmsKeyId.go | 3 - .../ec2/api_op_GetEbsEncryptionByDefault.go | 3 - .../api_op_GetFlowLogsIntegrationTemplate.go | 3 - .../api_op_GetGroupsForCapacityReservation.go | 3 - ...pi_op_GetHostReservationPurchasePreview.go | 3 - .../api_op_GetImageBlockPublicAccessState.go | 3 - .../ec2/api_op_GetInstanceMetadataDefaults.go | 3 - service/ec2/api_op_GetInstanceTpmEkPub.go | 3 - ...etInstanceTypesFromInstanceRequirements.go | 3 - service/ec2/api_op_GetInstanceUefiData.go | 3 - service/ec2/api_op_GetIpamAddressHistory.go | 3 - .../ec2/api_op_GetIpamDiscoveredAccounts.go | 3 - ...api_op_GetIpamDiscoveredPublicAddresses.go | 3 - .../api_op_GetIpamDiscoveredResourceCidrs.go | 3 - service/ec2/api_op_GetIpamPoolAllocations.go | 3 - service/ec2/api_op_GetIpamPoolCidrs.go | 3 - service/ec2/api_op_GetIpamResourceCidrs.go | 3 - service/ec2/api_op_GetLaunchTemplateData.go | 3 - ...api_op_GetManagedPrefixListAssociations.go | 3 - .../ec2/api_op_GetManagedPrefixListEntries.go | 3 - ...workInsightsAccessScopeAnalysisFindings.go | 3 - ...op_GetNetworkInsightsAccessScopeContent.go | 3 - service/ec2/api_op_GetPasswordData.go | 3 - ...pi_op_GetReservedInstancesExchangeQuote.go | 3 - service/ec2/api_op_GetSecurityGroupsForVpc.go | 3 - .../api_op_GetSerialConsoleAccessStatus.go | 3 - ...pi_op_GetSnapshotBlockPublicAccessState.go | 3 - service/ec2/api_op_GetSpotPlacementScores.go | 3 - .../ec2/api_op_GetSubnetCidrReservations.go | 3 - ...GetTransitGatewayAttachmentPropagations.go | 3 - ...ansitGatewayMulticastDomainAssociations.go | 3 - ...etTransitGatewayPolicyTableAssociations.go | 3 - ..._op_GetTransitGatewayPolicyTableEntries.go | 3 - ...p_GetTransitGatewayPrefixListReferences.go | 3 - ...GetTransitGatewayRouteTableAssociations.go | 3 - ...GetTransitGatewayRouteTablePropagations.go | 3 - .../api_op_GetVerifiedAccessEndpointPolicy.go | 3 - ...api_op_GetVerifiedAccessEndpointTargets.go | 3 - .../api_op_GetVerifiedAccessGroupPolicy.go | 3 - ...tVpnConnectionDeviceSampleConfiguration.go | 3 - .../ec2/api_op_GetVpnConnectionDeviceTypes.go | 3 - .../api_op_GetVpnTunnelReplacementStatus.go | 3 - ...lientVpnClientCertificateRevocationList.go | 3 - service/ec2/api_op_ImportImage.go | 3 - service/ec2/api_op_ImportInstance.go | 3 - service/ec2/api_op_ImportKeyPair.go | 3 - service/ec2/api_op_ImportSnapshot.go | 3 - service/ec2/api_op_ImportVolume.go | 3 - service/ec2/api_op_ListImagesInRecycleBin.go | 3 - .../ec2/api_op_ListSnapshotsInRecycleBin.go | 3 - service/ec2/api_op_LockSnapshot.go | 3 - service/ec2/api_op_ModifyAddressAttribute.go | 3 - .../ec2/api_op_ModifyAvailabilityZoneGroup.go | 3 - .../ec2/api_op_ModifyCapacityReservation.go | 3 - .../api_op_ModifyCapacityReservationFleet.go | 3 - service/ec2/api_op_ModifyClientVpnEndpoint.go | 3 - ...api_op_ModifyDefaultCreditSpecification.go | 3 - .../ec2/api_op_ModifyEbsDefaultKmsKeyId.go | 3 - service/ec2/api_op_ModifyFleet.go | 3 - .../ec2/api_op_ModifyFpgaImageAttribute.go | 3 - service/ec2/api_op_ModifyHosts.go | 3 - service/ec2/api_op_ModifyIdFormat.go | 3 - service/ec2/api_op_ModifyIdentityIdFormat.go | 3 - service/ec2/api_op_ModifyImageAttribute.go | 3 - service/ec2/api_op_ModifyInstanceAttribute.go | 3 - ...fyInstanceCapacityReservationAttributes.go | 3 - .../ec2/api_op_ModifyInstanceCpuOptions.go | 3 - ...pi_op_ModifyInstanceCreditSpecification.go | 3 - .../api_op_ModifyInstanceEventStartTime.go | 3 - .../ec2/api_op_ModifyInstanceEventWindow.go | 3 - ...api_op_ModifyInstanceMaintenanceOptions.go | 3 - .../api_op_ModifyInstanceMetadataDefaults.go | 3 - .../api_op_ModifyInstanceMetadataOptions.go | 3 - ...ModifyInstanceNetworkPerformanceOptions.go | 3 - service/ec2/api_op_ModifyInstancePlacement.go | 3 - service/ec2/api_op_ModifyIpam.go | 3 - service/ec2/api_op_ModifyIpamPool.go | 3 - service/ec2/api_op_ModifyIpamResourceCidr.go | 3 - .../ec2/api_op_ModifyIpamResourceDiscovery.go | 3 - service/ec2/api_op_ModifyIpamScope.go | 3 - service/ec2/api_op_ModifyLaunchTemplate.go | 3 - service/ec2/api_op_ModifyLocalGatewayRoute.go | 3 - service/ec2/api_op_ModifyManagedPrefixList.go | 3 - .../api_op_ModifyNetworkInterfaceAttribute.go | 3 - .../ec2/api_op_ModifyPrivateDnsNameOptions.go | 3 - service/ec2/api_op_ModifyReservedInstances.go | 3 - .../ec2/api_op_ModifySecurityGroupRules.go | 3 - service/ec2/api_op_ModifySnapshotAttribute.go | 3 - service/ec2/api_op_ModifySnapshotTier.go | 3 - service/ec2/api_op_ModifySpotFleetRequest.go | 3 - service/ec2/api_op_ModifySubnetAttribute.go | 3 - ...odifyTrafficMirrorFilterNetworkServices.go | 3 - .../api_op_ModifyTrafficMirrorFilterRule.go | 3 - .../ec2/api_op_ModifyTrafficMirrorSession.go | 3 - service/ec2/api_op_ModifyTransitGateway.go | 3 - ...ModifyTransitGatewayPrefixListReference.go | 3 - ...pi_op_ModifyTransitGatewayVpcAttachment.go | 3 - .../api_op_ModifyVerifiedAccessEndpoint.go | 3 - ...i_op_ModifyVerifiedAccessEndpointPolicy.go | 3 - .../ec2/api_op_ModifyVerifiedAccessGroup.go | 3 - .../api_op_ModifyVerifiedAccessGroupPolicy.go | 3 - .../api_op_ModifyVerifiedAccessInstance.go | 3 - ...ifiedAccessInstanceLoggingConfiguration.go | 3 - ...pi_op_ModifyVerifiedAccessTrustProvider.go | 3 - service/ec2/api_op_ModifyVolume.go | 3 - service/ec2/api_op_ModifyVolumeAttribute.go | 3 - service/ec2/api_op_ModifyVpcAttribute.go | 3 - ..._op_ModifyVpcBlockPublicAccessExclusion.go | 3 - ...pi_op_ModifyVpcBlockPublicAccessOptions.go | 3 - service/ec2/api_op_ModifyVpcEndpoint.go | 3 - ...ModifyVpcEndpointConnectionNotification.go | 3 - ...p_ModifyVpcEndpointServiceConfiguration.go | 3 - ...fyVpcEndpointServicePayerResponsibility.go | 3 - ..._op_ModifyVpcEndpointServicePermissions.go | 3 - ...pi_op_ModifyVpcPeeringConnectionOptions.go | 3 - service/ec2/api_op_ModifyVpcTenancy.go | 3 - service/ec2/api_op_ModifyVpnConnection.go | 3 - .../ec2/api_op_ModifyVpnConnectionOptions.go | 3 - .../ec2/api_op_ModifyVpnTunnelCertificate.go | 3 - service/ec2/api_op_ModifyVpnTunnelOptions.go | 3 - service/ec2/api_op_MonitorInstances.go | 3 - service/ec2/api_op_MoveAddressToVpc.go | 3 - service/ec2/api_op_MoveByoipCidrToIpam.go | 3 - ...api_op_MoveCapacityReservationInstances.go | 3 - service/ec2/api_op_ProvisionByoipCidr.go | 3 - service/ec2/api_op_ProvisionIpamByoasn.go | 3 - service/ec2/api_op_ProvisionIpamPoolCidr.go | 3 - .../ec2/api_op_ProvisionPublicIpv4PoolCidr.go | 3 - service/ec2/api_op_PurchaseCapacityBlock.go | 3 - .../api_op_PurchaseCapacityBlockExtension.go | 3 - service/ec2/api_op_PurchaseHostReservation.go | 3 - ...pi_op_PurchaseReservedInstancesOffering.go | 3 - .../ec2/api_op_PurchaseScheduledInstances.go | 3 - service/ec2/api_op_RebootInstances.go | 3 - service/ec2/api_op_RegisterImage.go | 3 - ...sterInstanceEventNotificationAttributes.go | 3 - ...sterTransitGatewayMulticastGroupMembers.go | 3 - ...sterTransitGatewayMulticastGroupSources.go | 3 - ...jectCapacityReservationBillingOwnership.go | 3 - ...ansitGatewayMulticastDomainAssociations.go | 3 - ...p_RejectTransitGatewayPeeringAttachment.go | 3 - ...pi_op_RejectTransitGatewayVpcAttachment.go | 3 - .../api_op_RejectVpcEndpointConnections.go | 3 - .../ec2/api_op_RejectVpcPeeringConnection.go | 3 - service/ec2/api_op_ReleaseAddress.go | 3 - service/ec2/api_op_ReleaseHosts.go | 3 - .../ec2/api_op_ReleaseIpamPoolAllocation.go | 3 - ...op_ReplaceIamInstanceProfileAssociation.go | 3 - ...aceImageCriteriaInAllowedImagesSettings.go | 3 - .../api_op_ReplaceNetworkAclAssociation.go | 3 - service/ec2/api_op_ReplaceNetworkAclEntry.go | 3 - service/ec2/api_op_ReplaceRoute.go | 3 - .../api_op_ReplaceRouteTableAssociation.go | 3 - .../ec2/api_op_ReplaceTransitGatewayRoute.go | 3 - service/ec2/api_op_ReplaceVpnTunnel.go | 3 - service/ec2/api_op_ReportInstanceStatus.go | 3 - service/ec2/api_op_RequestSpotFleet.go | 3 - service/ec2/api_op_RequestSpotInstances.go | 3 - service/ec2/api_op_ResetAddressAttribute.go | 3 - service/ec2/api_op_ResetEbsDefaultKmsKeyId.go | 3 - service/ec2/api_op_ResetFpgaImageAttribute.go | 3 - service/ec2/api_op_ResetImageAttribute.go | 3 - service/ec2/api_op_ResetInstanceAttribute.go | 3 - .../api_op_ResetNetworkInterfaceAttribute.go | 3 - service/ec2/api_op_ResetSnapshotAttribute.go | 3 - service/ec2/api_op_RestoreAddressToClassic.go | 3 - .../ec2/api_op_RestoreImageFromRecycleBin.go | 3 - .../api_op_RestoreManagedPrefixListVersion.go | 3 - .../api_op_RestoreSnapshotFromRecycleBin.go | 3 - service/ec2/api_op_RestoreSnapshotTier.go | 3 - service/ec2/api_op_RevokeClientVpnIngress.go | 3 - .../ec2/api_op_RevokeSecurityGroupEgress.go | 3 - .../ec2/api_op_RevokeSecurityGroupIngress.go | 3 - service/ec2/api_op_RunInstances.go | 3 - service/ec2/api_op_RunScheduledInstances.go | 3 - .../ec2/api_op_SearchLocalGatewayRoutes.go | 3 - ..._op_SearchTransitGatewayMulticastGroups.go | 3 - .../ec2/api_op_SearchTransitGatewayRoutes.go | 3 - service/ec2/api_op_SendDiagnosticInterrupt.go | 3 - .../api_op_StartDeclarativePoliciesReport.go | 3 - service/ec2/api_op_StartInstances.go | 3 - ...StartNetworkInsightsAccessScopeAnalysis.go | 3 - .../api_op_StartNetworkInsightsAnalysis.go | 3 - ...pcEndpointServicePrivateDnsVerification.go | 3 - service/ec2/api_op_StopInstances.go | 3 - .../api_op_TerminateClientVpnConnections.go | 3 - service/ec2/api_op_TerminateInstances.go | 3 - service/ec2/api_op_UnassignIpv6Addresses.go | 3 - .../ec2/api_op_UnassignPrivateIpAddresses.go | 3 - ...api_op_UnassignPrivateNatGatewayAddress.go | 3 - service/ec2/api_op_UnlockSnapshot.go | 3 - service/ec2/api_op_UnmonitorInstances.go | 3 - ...dateSecurityGroupRuleDescriptionsEgress.go | 3 - ...ateSecurityGroupRuleDescriptionsIngress.go | 3 - service/ec2/api_op_WithdrawByoipCidr.go | 3 - .../api_op_AcceptAddressTransfer.go.snap | 1 - ...apacityReservationBillingOwnership.go.snap | 1 - ...ceptReservedInstancesExchangeQuote.go.snap | 1 - ...GatewayMulticastDomainAssociations.go.snap | 1 - ...eptTransitGatewayPeeringAttachment.go.snap | 1 - ..._AcceptTransitGatewayVpcAttachment.go.snap | 1 - ...pi_op_AcceptVpcEndpointConnections.go.snap | 1 - .../api_op_AcceptVpcPeeringConnection.go.snap | 1 - .../api_op_AdvertiseByoipCidr.go.snap | 1 - .../snapshot/api_op_AllocateAddress.go.snap | 1 - .../ec2/snapshot/api_op_AllocateHosts.go.snap | 1 - .../api_op_AllocateIpamPoolCidr.go.snap | 1 - ...rityGroupsToClientVpnTargetNetwork.go.snap | 1 - .../api_op_AssignIpv6Addresses.go.snap | 1 - .../api_op_AssignPrivateIpAddresses.go.snap | 1 - ..._op_AssignPrivateNatGatewayAddress.go.snap | 1 - .../snapshot/api_op_AssociateAddress.go.snap | 1 - ...ateCapacityReservationBillingOwner.go.snap | 1 - ...op_AssociateClientVpnTargetNetwork.go.snap | 1 - .../api_op_AssociateDhcpOptions.go.snap | 1 - ...AssociateEnclaveCertificateIamRole.go.snap | 1 - ...api_op_AssociateIamInstanceProfile.go.snap | 1 - ...pi_op_AssociateInstanceEventWindow.go.snap | 1 - .../api_op_AssociateIpamByoasn.go.snap | 1 - ..._op_AssociateIpamResourceDiscovery.go.snap | 1 - .../api_op_AssociateNatGatewayAddress.go.snap | 1 - .../api_op_AssociateRouteTable.go.snap | 1 - .../api_op_AssociateSecurityGroupVpc.go.snap | 1 - .../api_op_AssociateSubnetCidrBlock.go.snap | 1 - ...ciateTransitGatewayMulticastDomain.go.snap | 1 - ...AssociateTransitGatewayPolicyTable.go.snap | 1 - ..._AssociateTransitGatewayRouteTable.go.snap | 1 - .../api_op_AssociateTrunkInterface.go.snap | 1 - .../api_op_AssociateVpcCidrBlock.go.snap | 1 - .../api_op_AttachClassicLinkVpc.go.snap | 1 - .../api_op_AttachInternetGateway.go.snap | 1 - .../api_op_AttachNetworkInterface.go.snap | 1 - ..._AttachVerifiedAccessTrustProvider.go.snap | 1 - .../ec2/snapshot/api_op_AttachVolume.go.snap | 1 - .../snapshot/api_op_AttachVpnGateway.go.snap | 1 - .../api_op_AuthorizeClientVpnIngress.go.snap | 1 - ...pi_op_AuthorizeSecurityGroupEgress.go.snap | 1 - ...i_op_AuthorizeSecurityGroupIngress.go.snap | 1 - .../snapshot/api_op_BundleInstance.go.snap | 1 - .../snapshot/api_op_CancelBundleTask.go.snap | 1 - .../api_op_CancelCapacityReservation.go.snap | 1 - ...op_CancelCapacityReservationFleets.go.snap | 1 - .../api_op_CancelConversionTask.go.snap | 1 - ...op_CancelDeclarativePoliciesReport.go.snap | 1 - .../snapshot/api_op_CancelExportTask.go.snap | 1 - ...api_op_CancelImageLaunchPermission.go.snap | 1 - .../snapshot/api_op_CancelImportTask.go.snap | 1 - ..._op_CancelReservedInstancesListing.go.snap | 1 - .../api_op_CancelSpotFleetRequests.go.snap | 1 - .../api_op_CancelSpotInstanceRequests.go.snap | 1 - .../api_op_ConfirmProductInstance.go.snap | 1 - .../ec2/snapshot/api_op_CopyFpgaImage.go.snap | 1 - service/ec2/snapshot/api_op_CopyImage.go.snap | 1 - .../ec2/snapshot/api_op_CopySnapshot.go.snap | 1 - .../api_op_CreateCapacityReservation.go.snap | 1 - ...eateCapacityReservationBySplitting.go.snap | 1 - ..._op_CreateCapacityReservationFleet.go.snap | 1 - .../api_op_CreateCarrierGateway.go.snap | 1 - .../api_op_CreateClientVpnEndpoint.go.snap | 1 - .../api_op_CreateClientVpnRoute.go.snap | 1 - .../snapshot/api_op_CreateCoipCidr.go.snap | 1 - .../snapshot/api_op_CreateCoipPool.go.snap | 1 - .../api_op_CreateCustomerGateway.go.snap | 1 - .../api_op_CreateDefaultSubnet.go.snap | 1 - .../snapshot/api_op_CreateDefaultVpc.go.snap | 1 - .../snapshot/api_op_CreateDhcpOptions.go.snap | 1 - ...op_CreateEgressOnlyInternetGateway.go.snap | 1 - .../ec2/snapshot/api_op_CreateFleet.go.snap | 1 - .../snapshot/api_op_CreateFlowLogs.go.snap | 1 - .../snapshot/api_op_CreateFpgaImage.go.snap | 1 - .../ec2/snapshot/api_op_CreateImage.go.snap | 1 - ...i_op_CreateInstanceConnectEndpoint.go.snap | 1 - .../api_op_CreateInstanceEventWindow.go.snap | 1 - .../api_op_CreateInstanceExportTask.go.snap | 1 - .../api_op_CreateInternetGateway.go.snap | 1 - .../ec2/snapshot/api_op_CreateIpam.go.snap | 1 - ...mExternalResourceVerificationToken.go.snap | 1 - .../snapshot/api_op_CreateIpamPool.go.snap | 1 - ...api_op_CreateIpamResourceDiscovery.go.snap | 1 - .../snapshot/api_op_CreateIpamScope.go.snap | 1 - .../ec2/snapshot/api_op_CreateKeyPair.go.snap | 1 - .../api_op_CreateLaunchTemplate.go.snap | 1 - ...api_op_CreateLaunchTemplateVersion.go.snap | 1 - .../api_op_CreateLocalGatewayRoute.go.snap | 1 - ...pi_op_CreateLocalGatewayRouteTable.go.snap | 1 - ...leVirtualInterfaceGroupAssociation.go.snap | 1 - ...calGatewayRouteTableVpcAssociation.go.snap | 1 - .../api_op_CreateManagedPrefixList.go.snap | 1 - .../snapshot/api_op_CreateNatGateway.go.snap | 1 - .../snapshot/api_op_CreateNetworkAcl.go.snap | 1 - .../api_op_CreateNetworkAclEntry.go.snap | 1 - ...p_CreateNetworkInsightsAccessScope.go.snap | 1 - .../api_op_CreateNetworkInsightsPath.go.snap | 1 - .../api_op_CreateNetworkInterface.go.snap | 1 - ...p_CreateNetworkInterfacePermission.go.snap | 1 - .../api_op_CreatePlacementGroup.go.snap | 1 - .../api_op_CreatePublicIpv4Pool.go.snap | 1 - ...api_op_CreateReplaceRootVolumeTask.go.snap | 1 - ..._op_CreateReservedInstancesListing.go.snap | 1 - .../api_op_CreateRestoreImageTask.go.snap | 1 - .../ec2/snapshot/api_op_CreateRoute.go.snap | 1 - .../snapshot/api_op_CreateRouteTable.go.snap | 1 - .../api_op_CreateSecurityGroup.go.snap | 1 - .../snapshot/api_op_CreateSnapshot.go.snap | 1 - .../snapshot/api_op_CreateSnapshots.go.snap | 1 - ..._op_CreateSpotDatafeedSubscription.go.snap | 1 - .../api_op_CreateStoreImageTask.go.snap | 1 - .../ec2/snapshot/api_op_CreateSubnet.go.snap | 1 - ...api_op_CreateSubnetCidrReservation.go.snap | 1 - .../ec2/snapshot/api_op_CreateTags.go.snap | 1 - .../api_op_CreateTrafficMirrorFilter.go.snap | 1 - ...i_op_CreateTrafficMirrorFilterRule.go.snap | 1 - .../api_op_CreateTrafficMirrorSession.go.snap | 1 - .../api_op_CreateTrafficMirrorTarget.go.snap | 1 - .../api_op_CreateTransitGateway.go.snap | 1 - ...api_op_CreateTransitGatewayConnect.go.snap | 1 - ...op_CreateTransitGatewayConnectPeer.go.snap | 1 - ...reateTransitGatewayMulticastDomain.go.snap | 1 - ...ateTransitGatewayPeeringAttachment.go.snap | 1 - ...op_CreateTransitGatewayPolicyTable.go.snap | 1 - ...eTransitGatewayPrefixListReference.go.snap | 1 - .../api_op_CreateTransitGatewayRoute.go.snap | 1 - ..._op_CreateTransitGatewayRouteTable.go.snap | 1 - ...ansitGatewayRouteTableAnnouncement.go.snap | 1 - ..._CreateTransitGatewayVpcAttachment.go.snap | 1 - ...pi_op_CreateVerifiedAccessEndpoint.go.snap | 1 - .../api_op_CreateVerifiedAccessGroup.go.snap | 1 - ...pi_op_CreateVerifiedAccessInstance.go.snap | 1 - ..._CreateVerifiedAccessTrustProvider.go.snap | 1 - .../ec2/snapshot/api_op_CreateVolume.go.snap | 1 - service/ec2/snapshot/api_op_CreateVpc.go.snap | 1 - ...reateVpcBlockPublicAccessExclusion.go.snap | 1 - .../snapshot/api_op_CreateVpcEndpoint.go.snap | 1 - ...eVpcEndpointConnectionNotification.go.snap | 1 - ...ateVpcEndpointServiceConfiguration.go.snap | 1 - .../api_op_CreateVpcPeeringConnection.go.snap | 1 - .../api_op_CreateVpnConnection.go.snap | 1 - .../api_op_CreateVpnConnectionRoute.go.snap | 1 - .../snapshot/api_op_CreateVpnGateway.go.snap | 1 - .../api_op_DeleteCarrierGateway.go.snap | 1 - .../api_op_DeleteClientVpnEndpoint.go.snap | 1 - .../api_op_DeleteClientVpnRoute.go.snap | 1 - .../snapshot/api_op_DeleteCoipCidr.go.snap | 1 - .../snapshot/api_op_DeleteCoipPool.go.snap | 1 - .../api_op_DeleteCustomerGateway.go.snap | 1 - .../snapshot/api_op_DeleteDhcpOptions.go.snap | 1 - ...op_DeleteEgressOnlyInternetGateway.go.snap | 1 - .../ec2/snapshot/api_op_DeleteFleets.go.snap | 1 - .../snapshot/api_op_DeleteFlowLogs.go.snap | 1 - .../snapshot/api_op_DeleteFpgaImage.go.snap | 1 - ...i_op_DeleteInstanceConnectEndpoint.go.snap | 1 - .../api_op_DeleteInstanceEventWindow.go.snap | 1 - .../api_op_DeleteInternetGateway.go.snap | 1 - .../ec2/snapshot/api_op_DeleteIpam.go.snap | 1 - ...mExternalResourceVerificationToken.go.snap | 1 - .../snapshot/api_op_DeleteIpamPool.go.snap | 1 - ...api_op_DeleteIpamResourceDiscovery.go.snap | 1 - .../snapshot/api_op_DeleteIpamScope.go.snap | 1 - .../ec2/snapshot/api_op_DeleteKeyPair.go.snap | 1 - .../api_op_DeleteLaunchTemplate.go.snap | 1 - ...pi_op_DeleteLaunchTemplateVersions.go.snap | 1 - .../api_op_DeleteLocalGatewayRoute.go.snap | 1 - ...pi_op_DeleteLocalGatewayRouteTable.go.snap | 1 - ...leVirtualInterfaceGroupAssociation.go.snap | 1 - ...calGatewayRouteTableVpcAssociation.go.snap | 1 - .../api_op_DeleteManagedPrefixList.go.snap | 1 - .../snapshot/api_op_DeleteNatGateway.go.snap | 1 - .../snapshot/api_op_DeleteNetworkAcl.go.snap | 1 - .../api_op_DeleteNetworkAclEntry.go.snap | 1 - ...p_DeleteNetworkInsightsAccessScope.go.snap | 1 - ...NetworkInsightsAccessScopeAnalysis.go.snap | 1 - ...i_op_DeleteNetworkInsightsAnalysis.go.snap | 1 - .../api_op_DeleteNetworkInsightsPath.go.snap | 1 - .../api_op_DeleteNetworkInterface.go.snap | 1 - ...p_DeleteNetworkInterfacePermission.go.snap | 1 - .../api_op_DeletePlacementGroup.go.snap | 1 - .../api_op_DeletePublicIpv4Pool.go.snap | 1 - ...i_op_DeleteQueuedReservedInstances.go.snap | 1 - .../ec2/snapshot/api_op_DeleteRoute.go.snap | 1 - .../snapshot/api_op_DeleteRouteTable.go.snap | 1 - .../api_op_DeleteSecurityGroup.go.snap | 1 - .../snapshot/api_op_DeleteSnapshot.go.snap | 1 - ..._op_DeleteSpotDatafeedSubscription.go.snap | 1 - .../ec2/snapshot/api_op_DeleteSubnet.go.snap | 1 - ...api_op_DeleteSubnetCidrReservation.go.snap | 1 - .../ec2/snapshot/api_op_DeleteTags.go.snap | 1 - .../api_op_DeleteTrafficMirrorFilter.go.snap | 1 - ...i_op_DeleteTrafficMirrorFilterRule.go.snap | 1 - .../api_op_DeleteTrafficMirrorSession.go.snap | 1 - .../api_op_DeleteTrafficMirrorTarget.go.snap | 1 - .../api_op_DeleteTransitGateway.go.snap | 1 - ...api_op_DeleteTransitGatewayConnect.go.snap | 1 - ...op_DeleteTransitGatewayConnectPeer.go.snap | 1 - ...eleteTransitGatewayMulticastDomain.go.snap | 1 - ...eteTransitGatewayPeeringAttachment.go.snap | 1 - ...op_DeleteTransitGatewayPolicyTable.go.snap | 1 - ...eTransitGatewayPrefixListReference.go.snap | 1 - .../api_op_DeleteTransitGatewayRoute.go.snap | 1 - ..._op_DeleteTransitGatewayRouteTable.go.snap | 1 - ...ansitGatewayRouteTableAnnouncement.go.snap | 1 - ..._DeleteTransitGatewayVpcAttachment.go.snap | 1 - ...pi_op_DeleteVerifiedAccessEndpoint.go.snap | 1 - .../api_op_DeleteVerifiedAccessGroup.go.snap | 1 - ...pi_op_DeleteVerifiedAccessInstance.go.snap | 1 - ..._DeleteVerifiedAccessTrustProvider.go.snap | 1 - .../ec2/snapshot/api_op_DeleteVolume.go.snap | 1 - service/ec2/snapshot/api_op_DeleteVpc.go.snap | 1 - ...eleteVpcBlockPublicAccessExclusion.go.snap | 1 - ...VpcEndpointConnectionNotifications.go.snap | 1 - ...teVpcEndpointServiceConfigurations.go.snap | 1 - .../api_op_DeleteVpcEndpoints.go.snap | 1 - .../api_op_DeleteVpcPeeringConnection.go.snap | 1 - .../api_op_DeleteVpnConnection.go.snap | 1 - .../api_op_DeleteVpnConnectionRoute.go.snap | 1 - .../snapshot/api_op_DeleteVpnGateway.go.snap | 1 - .../api_op_DeprovisionByoipCidr.go.snap | 1 - .../api_op_DeprovisionIpamByoasn.go.snap | 1 - .../api_op_DeprovisionIpamPoolCidr.go.snap | 1 - ...i_op_DeprovisionPublicIpv4PoolCidr.go.snap | 1 - .../snapshot/api_op_DeregisterImage.go.snap | 1 - ...nstanceEventNotificationAttributes.go.snap | 1 - ...ransitGatewayMulticastGroupMembers.go.snap | 1 - ...ransitGatewayMulticastGroupSources.go.snap | 1 - .../api_op_DescribeAccountAttributes.go.snap | 1 - .../api_op_DescribeAddressTransfers.go.snap | 1 - .../snapshot/api_op_DescribeAddresses.go.snap | 1 - .../api_op_DescribeAddressesAttribute.go.snap | 1 - .../api_op_DescribeAggregateIdFormat.go.snap | 1 - .../api_op_DescribeAvailabilityZones.go.snap | 1 - ...workPerformanceMetricSubscriptions.go.snap | 1 - .../api_op_DescribeBundleTasks.go.snap | 1 - .../api_op_DescribeByoipCidrs.go.snap | 1 - ...cribeCapacityBlockExtensionHistory.go.snap | 1 - ...ibeCapacityBlockExtensionOfferings.go.snap | 1 - ..._op_DescribeCapacityBlockOfferings.go.snap | 1 - ...CapacityReservationBillingRequests.go.snap | 1 - ..._DescribeCapacityReservationFleets.go.snap | 1 - ...pi_op_DescribeCapacityReservations.go.snap | 1 - .../api_op_DescribeCarrierGateways.go.snap | 1 - ...pi_op_DescribeClassicLinkInstances.go.snap | 1 - ...escribeClientVpnAuthorizationRules.go.snap | 1 - ...pi_op_DescribeClientVpnConnections.go.snap | 1 - .../api_op_DescribeClientVpnEndpoints.go.snap | 1 - .../api_op_DescribeClientVpnRoutes.go.snap | 1 - ...op_DescribeClientVpnTargetNetworks.go.snap | 1 - .../snapshot/api_op_DescribeCoipPools.go.snap | 1 - .../api_op_DescribeConversionTasks.go.snap | 1 - .../api_op_DescribeCustomerGateways.go.snap | 1 - ...DescribeDeclarativePoliciesReports.go.snap | 1 - .../api_op_DescribeDhcpOptions.go.snap | 1 - ...DescribeEgressOnlyInternetGateways.go.snap | 1 - .../api_op_DescribeElasticGpus.go.snap | 1 - .../api_op_DescribeExportImageTasks.go.snap | 1 - .../api_op_DescribeExportTasks.go.snap | 1 - .../api_op_DescribeFastLaunchImages.go.snap | 1 - ...pi_op_DescribeFastSnapshotRestores.go.snap | 1 - .../api_op_DescribeFleetHistory.go.snap | 1 - .../api_op_DescribeFleetInstances.go.snap | 1 - .../snapshot/api_op_DescribeFleets.go.snap | 1 - .../snapshot/api_op_DescribeFlowLogs.go.snap | 1 - .../api_op_DescribeFpgaImageAttribute.go.snap | 1 - .../api_op_DescribeFpgaImages.go.snap | 1 - ...p_DescribeHostReservationOfferings.go.snap | 1 - .../api_op_DescribeHostReservations.go.snap | 1 - .../ec2/snapshot/api_op_DescribeHosts.go.snap | 1 - ...ribeIamInstanceProfileAssociations.go.snap | 1 - .../snapshot/api_op_DescribeIdFormat.go.snap | 1 - .../api_op_DescribeIdentityIdFormat.go.snap | 1 - .../api_op_DescribeImageAttribute.go.snap | 1 - .../snapshot/api_op_DescribeImages.go.snap | 1 - .../api_op_DescribeImportImageTasks.go.snap | 1 - ...api_op_DescribeImportSnapshotTasks.go.snap | 1 - .../api_op_DescribeInstanceAttribute.go.snap | 1 - ...p_DescribeInstanceConnectEndpoints.go.snap | 1 - ...scribeInstanceCreditSpecifications.go.snap | 1 - ...nstanceEventNotificationAttributes.go.snap | 1 - ...pi_op_DescribeInstanceEventWindows.go.snap | 1 - ...i_op_DescribeInstanceImageMetadata.go.snap | 1 - .../api_op_DescribeInstanceStatus.go.snap | 1 - .../api_op_DescribeInstanceTopology.go.snap | 1 - ...i_op_DescribeInstanceTypeOfferings.go.snap | 1 - .../api_op_DescribeInstanceTypes.go.snap | 1 - .../snapshot/api_op_DescribeInstances.go.snap | 1 - .../api_op_DescribeInternetGateways.go.snap | 1 - .../api_op_DescribeIpamByoasn.go.snap | 1 - ...ExternalResourceVerificationTokens.go.snap | 1 - .../snapshot/api_op_DescribeIpamPools.go.snap | 1 - ...op_DescribeIpamResourceDiscoveries.go.snap | 1 - ...eIpamResourceDiscoveryAssociations.go.snap | 1 - .../api_op_DescribeIpamScopes.go.snap | 1 - .../ec2/snapshot/api_op_DescribeIpams.go.snap | 1 - .../snapshot/api_op_DescribeIpv6Pools.go.snap | 1 - .../snapshot/api_op_DescribeKeyPairs.go.snap | 1 - ..._op_DescribeLaunchTemplateVersions.go.snap | 1 - .../api_op_DescribeLaunchTemplates.go.snap | 1 - ...eVirtualInterfaceGroupAssociations.go.snap | 1 - ...alGatewayRouteTableVpcAssociations.go.snap | 1 - ...op_DescribeLocalGatewayRouteTables.go.snap | 1 - ...LocalGatewayVirtualInterfaceGroups.go.snap | 1 - ...cribeLocalGatewayVirtualInterfaces.go.snap | 1 - .../api_op_DescribeLocalGateways.go.snap | 1 - .../api_op_DescribeLockedSnapshots.go.snap | 1 - .../snapshot/api_op_DescribeMacHosts.go.snap | 1 - .../api_op_DescribeManagedPrefixLists.go.snap | 1 - .../api_op_DescribeMovingAddresses.go.snap | 1 - .../api_op_DescribeNatGateways.go.snap | 1 - .../api_op_DescribeNetworkAcls.go.snap | 1 - ...NetworkInsightsAccessScopeAnalyses.go.snap | 1 - ...escribeNetworkInsightsAccessScopes.go.snap | 1 - ...op_DescribeNetworkInsightsAnalyses.go.snap | 1 - ...pi_op_DescribeNetworkInsightsPaths.go.snap | 1 - ..._DescribeNetworkInterfaceAttribute.go.snap | 1 - ...escribeNetworkInterfacePermissions.go.snap | 1 - .../api_op_DescribeNetworkInterfaces.go.snap | 1 - .../api_op_DescribePlacementGroups.go.snap | 1 - .../api_op_DescribePrefixLists.go.snap | 1 - .../api_op_DescribePrincipalIdFormat.go.snap | 1 - .../api_op_DescribePublicIpv4Pools.go.snap | 1 - .../snapshot/api_op_DescribeRegions.go.snap | 1 - ..._op_DescribeReplaceRootVolumeTasks.go.snap | 1 - .../api_op_DescribeReservedInstances.go.snap | 1 - ..._DescribeReservedInstancesListings.go.snap | 1 - ...ribeReservedInstancesModifications.go.snap | 1 - ...DescribeReservedInstancesOfferings.go.snap | 1 - .../api_op_DescribeRouteTables.go.snap | 1 - ...cribeScheduledInstanceAvailability.go.snap | 1 - .../api_op_DescribeScheduledInstances.go.snap | 1 - ...op_DescribeSecurityGroupReferences.go.snap | 1 - .../api_op_DescribeSecurityGroupRules.go.snap | 1 - ...scribeSecurityGroupVpcAssociations.go.snap | 1 - .../api_op_DescribeSecurityGroups.go.snap | 1 - .../api_op_DescribeSnapshotAttribute.go.snap | 1 - .../api_op_DescribeSnapshotTierStatus.go.snap | 1 - .../snapshot/api_op_DescribeSnapshots.go.snap | 1 - ...p_DescribeSpotDatafeedSubscription.go.snap | 1 - .../api_op_DescribeSpotFleetInstances.go.snap | 1 - ...op_DescribeSpotFleetRequestHistory.go.snap | 1 - .../api_op_DescribeSpotFleetRequests.go.snap | 1 - ...pi_op_DescribeSpotInstanceRequests.go.snap | 1 - .../api_op_DescribeSpotPriceHistory.go.snap | 1 - ...api_op_DescribeStaleSecurityGroups.go.snap | 1 - .../api_op_DescribeStoreImageTasks.go.snap | 1 - .../snapshot/api_op_DescribeSubnets.go.snap | 1 - .../ec2/snapshot/api_op_DescribeTags.go.snap | 1 - ...p_DescribeTrafficMirrorFilterRules.go.snap | 1 - ...pi_op_DescribeTrafficMirrorFilters.go.snap | 1 - ...i_op_DescribeTrafficMirrorSessions.go.snap | 1 - ...pi_op_DescribeTrafficMirrorTargets.go.snap | 1 - ..._DescribeTransitGatewayAttachments.go.snap | 1 - ...DescribeTransitGatewayConnectPeers.go.snap | 1 - ..._op_DescribeTransitGatewayConnects.go.snap | 1 - ...ribeTransitGatewayMulticastDomains.go.snap | 1 - ...beTransitGatewayPeeringAttachments.go.snap | 1 - ...DescribeTransitGatewayPolicyTables.go.snap | 1 - ...nsitGatewayRouteTableAnnouncements.go.snap | 1 - ..._DescribeTransitGatewayRouteTables.go.snap | 1 - ...scribeTransitGatewayVpcAttachments.go.snap | 1 - .../api_op_DescribeTransitGateways.go.snap | 1 - ...DescribeTrunkInterfaceAssociations.go.snap | 1 - ...op_DescribeVerifiedAccessEndpoints.go.snap | 1 - ...pi_op_DescribeVerifiedAccessGroups.go.snap | 1 - ...ccessInstanceLoggingConfigurations.go.snap | 1 - ...op_DescribeVerifiedAccessInstances.go.snap | 1 - ...scribeVerifiedAccessTrustProviders.go.snap | 1 - .../api_op_DescribeVolumeAttribute.go.snap | 1 - .../api_op_DescribeVolumeStatus.go.snap | 1 - .../snapshot/api_op_DescribeVolumes.go.snap | 1 - ...pi_op_DescribeVolumesModifications.go.snap | 1 - .../api_op_DescribeVpcAttribute.go.snap | 1 - ...ribeVpcBlockPublicAccessExclusions.go.snap | 1 - ...escribeVpcBlockPublicAccessOptions.go.snap | 1 - .../api_op_DescribeVpcClassicLink.go.snap | 1 - ...p_DescribeVpcClassicLinkDnsSupport.go.snap | 1 - ...op_DescribeVpcEndpointAssociations.go.snap | 1 - ...VpcEndpointConnectionNotifications.go.snap | 1 - ..._op_DescribeVpcEndpointConnections.go.snap | 1 - ...beVpcEndpointServiceConfigurations.go.snap | 1 - ...cribeVpcEndpointServicePermissions.go.snap | 1 - ...api_op_DescribeVpcEndpointServices.go.snap | 1 - .../api_op_DescribeVpcEndpoints.go.snap | 1 - ...i_op_DescribeVpcPeeringConnections.go.snap | 1 - .../ec2/snapshot/api_op_DescribeVpcs.go.snap | 1 - .../api_op_DescribeVpnConnections.go.snap | 1 - .../api_op_DescribeVpnGateways.go.snap | 1 - .../api_op_DetachClassicLinkVpc.go.snap | 1 - .../api_op_DetachInternetGateway.go.snap | 1 - .../api_op_DetachNetworkInterface.go.snap | 1 - ..._DetachVerifiedAccessTrustProvider.go.snap | 1 - .../ec2/snapshot/api_op_DetachVolume.go.snap | 1 - .../snapshot/api_op_DetachVpnGateway.go.snap | 1 - .../api_op_DisableAddressTransfer.go.snap | 1 - ...pi_op_DisableAllowedImagesSettings.go.snap | 1 - ...tworkPerformanceMetricSubscription.go.snap | 1 - ...i_op_DisableEbsEncryptionByDefault.go.snap | 1 - .../snapshot/api_op_DisableFastLaunch.go.snap | 1 - ...api_op_DisableFastSnapshotRestores.go.snap | 1 - .../ec2/snapshot/api_op_DisableImage.go.snap | 1 - ...i_op_DisableImageBlockPublicAccess.go.snap | 1 - .../api_op_DisableImageDeprecation.go.snap | 1 - ...sableImageDeregistrationProtection.go.snap | 1 - ...isableIpamOrganizationAdminAccount.go.snap | 1 - .../api_op_DisableSerialConsoleAccess.go.snap | 1 - ...p_DisableSnapshotBlockPublicAccess.go.snap | 1 - ...ransitGatewayRouteTablePropagation.go.snap | 1 - .../api_op_DisableVgwRoutePropagation.go.snap | 1 - .../api_op_DisableVpcClassicLink.go.snap | 1 - ...op_DisableVpcClassicLinkDnsSupport.go.snap | 1 - .../api_op_DisassociateAddress.go.snap | 1 - ...ateCapacityReservationBillingOwner.go.snap | 1 - ...DisassociateClientVpnTargetNetwork.go.snap | 1 - ...associateEnclaveCertificateIamRole.go.snap | 1 - ..._op_DisassociateIamInstanceProfile.go.snap | 1 - ...op_DisassociateInstanceEventWindow.go.snap | 1 - .../api_op_DisassociateIpamByoasn.go.snap | 1 - ..._DisassociateIpamResourceDiscovery.go.snap | 1 - ...i_op_DisassociateNatGatewayAddress.go.snap | 1 - .../api_op_DisassociateRouteTable.go.snap | 1 - ...pi_op_DisassociateSecurityGroupVpc.go.snap | 1 - ...api_op_DisassociateSubnetCidrBlock.go.snap | 1 - ...ciateTransitGatewayMulticastDomain.go.snap | 1 - ...associateTransitGatewayPolicyTable.go.snap | 1 - ...sassociateTransitGatewayRouteTable.go.snap | 1 - .../api_op_DisassociateTrunkInterface.go.snap | 1 - .../api_op_DisassociateVpcCidrBlock.go.snap | 1 - .../api_op_EnableAddressTransfer.go.snap | 1 - ...api_op_EnableAllowedImagesSettings.go.snap | 1 - ...tworkPerformanceMetricSubscription.go.snap | 1 - ...pi_op_EnableEbsEncryptionByDefault.go.snap | 1 - .../snapshot/api_op_EnableFastLaunch.go.snap | 1 - .../api_op_EnableFastSnapshotRestores.go.snap | 1 - .../ec2/snapshot/api_op_EnableImage.go.snap | 1 - ...pi_op_EnableImageBlockPublicAccess.go.snap | 1 - .../api_op_EnableImageDeprecation.go.snap | 1 - ...nableImageDeregistrationProtection.go.snap | 1 - ...EnableIpamOrganizationAdminAccount.go.snap | 1 - ...abilityAnalyzerOrganizationSharing.go.snap | 1 - .../api_op_EnableSerialConsoleAccess.go.snap | 1 - ...op_EnableSnapshotBlockPublicAccess.go.snap | 1 - ...ransitGatewayRouteTablePropagation.go.snap | 1 - .../api_op_EnableVgwRoutePropagation.go.snap | 1 - .../snapshot/api_op_EnableVolumeIO.go.snap | 1 - .../api_op_EnableVpcClassicLink.go.snap | 1 - ..._op_EnableVpcClassicLinkDnsSupport.go.snap | 1 - ...VpnClientCertificateRevocationList.go.snap | 1 - ...ExportClientVpnClientConfiguration.go.snap | 1 - .../ec2/snapshot/api_op_ExportImage.go.snap | 1 - .../api_op_ExportTransitGatewayRoutes.go.snap | 1 - ...dAccessInstanceClientConfiguration.go.snap | 1 - .../api_op_GetAllowedImagesSettings.go.snap | 1 - ...sociatedEnclaveCertificateIamRoles.go.snap | 1 - .../api_op_GetAssociatedIpv6PoolCidrs.go.snap | 1 - ...pi_op_GetAwsNetworkPerformanceData.go.snap | 1 - ...api_op_GetCapacityReservationUsage.go.snap | 1 - .../snapshot/api_op_GetCoipPoolUsage.go.snap | 1 - .../snapshot/api_op_GetConsoleOutput.go.snap | 1 - .../api_op_GetConsoleScreenshot.go.snap | 1 - ...etDeclarativePoliciesReportSummary.go.snap | 1 - ...i_op_GetDefaultCreditSpecification.go.snap | 1 - .../api_op_GetEbsDefaultKmsKeyId.go.snap | 1 - .../api_op_GetEbsEncryptionByDefault.go.snap | 1 - ..._op_GetFlowLogsIntegrationTemplate.go.snap | 1 - ...op_GetGroupsForCapacityReservation.go.snap | 1 - ..._GetHostReservationPurchasePreview.go.snap | 1 - ..._op_GetImageBlockPublicAccessState.go.snap | 1 - ...api_op_GetInstanceMetadataDefaults.go.snap | 1 - .../api_op_GetInstanceTpmEkPub.go.snap | 1 - ...tanceTypesFromInstanceRequirements.go.snap | 1 - .../api_op_GetInstanceUefiData.go.snap | 1 - .../api_op_GetIpamAddressHistory.go.snap | 1 - .../api_op_GetIpamDiscoveredAccounts.go.snap | 1 - ...p_GetIpamDiscoveredPublicAddresses.go.snap | 1 - ..._op_GetIpamDiscoveredResourceCidrs.go.snap | 1 - .../api_op_GetIpamPoolAllocations.go.snap | 1 - .../snapshot/api_op_GetIpamPoolCidrs.go.snap | 1 - .../api_op_GetIpamResourceCidrs.go.snap | 1 - .../api_op_GetLaunchTemplateData.go.snap | 1 - ...p_GetManagedPrefixListAssociations.go.snap | 1 - ...api_op_GetManagedPrefixListEntries.go.snap | 1 - ...nsightsAccessScopeAnalysisFindings.go.snap | 1 - ...tNetworkInsightsAccessScopeContent.go.snap | 1 - .../snapshot/api_op_GetPasswordData.go.snap | 1 - ..._GetReservedInstancesExchangeQuote.go.snap | 1 - .../api_op_GetSecurityGroupsForVpc.go.snap | 1 - ...pi_op_GetSerialConsoleAccessStatus.go.snap | 1 - ..._GetSnapshotBlockPublicAccessState.go.snap | 1 - .../api_op_GetSpotPlacementScores.go.snap | 1 - .../api_op_GetSubnetCidrReservations.go.snap | 1 - ...ansitGatewayAttachmentPropagations.go.snap | 1 - ...GatewayMulticastDomainAssociations.go.snap | 1 - ...nsitGatewayPolicyTableAssociations.go.snap | 1 - ...etTransitGatewayPolicyTableEntries.go.snap | 1 - ...TransitGatewayPrefixListReferences.go.snap | 1 - ...ansitGatewayRouteTableAssociations.go.snap | 1 - ...ansitGatewayRouteTablePropagations.go.snap | 1 - ...op_GetVerifiedAccessEndpointPolicy.go.snap | 1 - ...p_GetVerifiedAccessEndpointTargets.go.snap | 1 - ...pi_op_GetVerifiedAccessGroupPolicy.go.snap | 1 - ...onnectionDeviceSampleConfiguration.go.snap | 1 - ...api_op_GetVpnConnectionDeviceTypes.go.snap | 1 - ...i_op_GetVpnTunnelReplacementStatus.go.snap | 1 - ...VpnClientCertificateRevocationList.go.snap | 1 - .../ec2/snapshot/api_op_ImportImage.go.snap | 1 - .../snapshot/api_op_ImportInstance.go.snap | 1 - .../ec2/snapshot/api_op_ImportKeyPair.go.snap | 1 - .../snapshot/api_op_ImportSnapshot.go.snap | 1 - .../ec2/snapshot/api_op_ImportVolume.go.snap | 1 - .../api_op_ListImagesInRecycleBin.go.snap | 1 - .../api_op_ListSnapshotsInRecycleBin.go.snap | 1 - .../ec2/snapshot/api_op_LockSnapshot.go.snap | 1 - .../api_op_ModifyAddressAttribute.go.snap | 1 - ...api_op_ModifyAvailabilityZoneGroup.go.snap | 1 - .../api_op_ModifyCapacityReservation.go.snap | 1 - ..._op_ModifyCapacityReservationFleet.go.snap | 1 - .../api_op_ModifyClientVpnEndpoint.go.snap | 1 - ...p_ModifyDefaultCreditSpecification.go.snap | 1 - .../api_op_ModifyEbsDefaultKmsKeyId.go.snap | 1 - .../ec2/snapshot/api_op_ModifyFleet.go.snap | 1 - .../api_op_ModifyFpgaImageAttribute.go.snap | 1 - .../ec2/snapshot/api_op_ModifyHosts.go.snap | 1 - .../snapshot/api_op_ModifyIdFormat.go.snap | 1 - .../api_op_ModifyIdentityIdFormat.go.snap | 1 - .../api_op_ModifyImageAttribute.go.snap | 1 - .../api_op_ModifyInstanceAttribute.go.snap | 1 - ...tanceCapacityReservationAttributes.go.snap | 1 - .../api_op_ModifyInstanceCpuOptions.go.snap | 1 - ..._ModifyInstanceCreditSpecification.go.snap | 1 - ...pi_op_ModifyInstanceEventStartTime.go.snap | 1 - .../api_op_ModifyInstanceEventWindow.go.snap | 1 - ...p_ModifyInstanceMaintenanceOptions.go.snap | 1 - ..._op_ModifyInstanceMetadataDefaults.go.snap | 1 - ...i_op_ModifyInstanceMetadataOptions.go.snap | 1 - ...yInstanceNetworkPerformanceOptions.go.snap | 1 - .../api_op_ModifyInstancePlacement.go.snap | 1 - .../ec2/snapshot/api_op_ModifyIpam.go.snap | 1 - .../snapshot/api_op_ModifyIpamPool.go.snap | 1 - .../api_op_ModifyIpamResourceCidr.go.snap | 1 - ...api_op_ModifyIpamResourceDiscovery.go.snap | 1 - .../snapshot/api_op_ModifyIpamScope.go.snap | 1 - .../api_op_ModifyLaunchTemplate.go.snap | 1 - .../api_op_ModifyLocalGatewayRoute.go.snap | 1 - .../api_op_ModifyManagedPrefixList.go.snap | 1 - ...op_ModifyNetworkInterfaceAttribute.go.snap | 1 - ...api_op_ModifyPrivateDnsNameOptions.go.snap | 1 - .../api_op_ModifyReservedInstances.go.snap | 1 - .../api_op_ModifySecurityGroupRules.go.snap | 1 - .../api_op_ModifySnapshotAttribute.go.snap | 1 - .../api_op_ModifySnapshotTier.go.snap | 1 - .../api_op_ModifySpotFleetRequest.go.snap | 1 - .../api_op_ModifySubnetAttribute.go.snap | 1 - ...TrafficMirrorFilterNetworkServices.go.snap | 1 - ...i_op_ModifyTrafficMirrorFilterRule.go.snap | 1 - .../api_op_ModifyTrafficMirrorSession.go.snap | 1 - .../api_op_ModifyTransitGateway.go.snap | 1 - ...yTransitGatewayPrefixListReference.go.snap | 1 - ..._ModifyTransitGatewayVpcAttachment.go.snap | 1 - ...pi_op_ModifyVerifiedAccessEndpoint.go.snap | 1 - ...ModifyVerifiedAccessEndpointPolicy.go.snap | 1 - .../api_op_ModifyVerifiedAccessGroup.go.snap | 1 - ...op_ModifyVerifiedAccessGroupPolicy.go.snap | 1 - ...pi_op_ModifyVerifiedAccessInstance.go.snap | 1 - ...AccessInstanceLoggingConfiguration.go.snap | 1 - ..._ModifyVerifiedAccessTrustProvider.go.snap | 1 - .../ec2/snapshot/api_op_ModifyVolume.go.snap | 1 - .../api_op_ModifyVolumeAttribute.go.snap | 1 - .../api_op_ModifyVpcAttribute.go.snap | 1 - ...odifyVpcBlockPublicAccessExclusion.go.snap | 1 - ..._ModifyVpcBlockPublicAccessOptions.go.snap | 1 - .../snapshot/api_op_ModifyVpcEndpoint.go.snap | 1 - ...yVpcEndpointConnectionNotification.go.snap | 1 - ...ifyVpcEndpointServiceConfiguration.go.snap | 1 - ...EndpointServicePayerResponsibility.go.snap | 1 - ...odifyVpcEndpointServicePermissions.go.snap | 1 - ..._ModifyVpcPeeringConnectionOptions.go.snap | 1 - .../snapshot/api_op_ModifyVpcTenancy.go.snap | 1 - .../api_op_ModifyVpnConnection.go.snap | 1 - .../api_op_ModifyVpnConnectionOptions.go.snap | 1 - .../api_op_ModifyVpnTunnelCertificate.go.snap | 1 - .../api_op_ModifyVpnTunnelOptions.go.snap | 1 - .../snapshot/api_op_MonitorInstances.go.snap | 1 - .../snapshot/api_op_MoveAddressToVpc.go.snap | 1 - .../api_op_MoveByoipCidrToIpam.go.snap | 1 - ...p_MoveCapacityReservationInstances.go.snap | 1 - .../api_op_ProvisionByoipCidr.go.snap | 1 - .../api_op_ProvisionIpamByoasn.go.snap | 1 - .../api_op_ProvisionIpamPoolCidr.go.snap | 1 - ...api_op_ProvisionPublicIpv4PoolCidr.go.snap | 1 - .../api_op_PurchaseCapacityBlock.go.snap | 1 - ..._op_PurchaseCapacityBlockExtension.go.snap | 1 - .../api_op_PurchaseHostReservation.go.snap | 1 - ..._PurchaseReservedInstancesOffering.go.snap | 1 - .../api_op_PurchaseScheduledInstances.go.snap | 1 - .../snapshot/api_op_RebootInstances.go.snap | 1 - .../ec2/snapshot/api_op_RegisterImage.go.snap | 1 - ...nstanceEventNotificationAttributes.go.snap | 1 - ...ransitGatewayMulticastGroupMembers.go.snap | 1 - ...ransitGatewayMulticastGroupSources.go.snap | 1 - ...apacityReservationBillingOwnership.go.snap | 1 - ...GatewayMulticastDomainAssociations.go.snap | 1 - ...ectTransitGatewayPeeringAttachment.go.snap | 1 - ..._RejectTransitGatewayVpcAttachment.go.snap | 1 - ...pi_op_RejectVpcEndpointConnections.go.snap | 1 - .../api_op_RejectVpcPeeringConnection.go.snap | 1 - .../snapshot/api_op_ReleaseAddress.go.snap | 1 - .../ec2/snapshot/api_op_ReleaseHosts.go.snap | 1 - .../api_op_ReleaseIpamPoolAllocation.go.snap | 1 - ...placeIamInstanceProfileAssociation.go.snap | 1 - ...ageCriteriaInAllowedImagesSettings.go.snap | 1 - ...pi_op_ReplaceNetworkAclAssociation.go.snap | 1 - .../api_op_ReplaceNetworkAclEntry.go.snap | 1 - .../ec2/snapshot/api_op_ReplaceRoute.go.snap | 1 - ...pi_op_ReplaceRouteTableAssociation.go.snap | 1 - .../api_op_ReplaceTransitGatewayRoute.go.snap | 1 - .../snapshot/api_op_ReplaceVpnTunnel.go.snap | 1 - .../api_op_ReportInstanceStatus.go.snap | 1 - .../snapshot/api_op_RequestSpotFleet.go.snap | 1 - .../api_op_RequestSpotInstances.go.snap | 1 - .../api_op_ResetAddressAttribute.go.snap | 1 - .../api_op_ResetEbsDefaultKmsKeyId.go.snap | 1 - .../api_op_ResetFpgaImageAttribute.go.snap | 1 - .../api_op_ResetImageAttribute.go.snap | 1 - .../api_op_ResetInstanceAttribute.go.snap | 1 - ..._op_ResetNetworkInterfaceAttribute.go.snap | 1 - .../api_op_ResetSnapshotAttribute.go.snap | 1 - .../api_op_RestoreAddressToClassic.go.snap | 1 - .../api_op_RestoreImageFromRecycleBin.go.snap | 1 - ...op_RestoreManagedPrefixListVersion.go.snap | 1 - ...i_op_RestoreSnapshotFromRecycleBin.go.snap | 1 - .../api_op_RestoreSnapshotTier.go.snap | 1 - .../api_op_RevokeClientVpnIngress.go.snap | 1 - .../api_op_RevokeSecurityGroupEgress.go.snap | 1 - .../api_op_RevokeSecurityGroupIngress.go.snap | 1 - .../ec2/snapshot/api_op_RunInstances.go.snap | 1 - .../api_op_RunScheduledInstances.go.snap | 1 - .../api_op_SearchLocalGatewayRoutes.go.snap | 1 - ...earchTransitGatewayMulticastGroups.go.snap | 1 - .../api_op_SearchTransitGatewayRoutes.go.snap | 1 - .../api_op_SendDiagnosticInterrupt.go.snap | 1 - ..._op_StartDeclarativePoliciesReport.go.snap | 1 - .../snapshot/api_op_StartInstances.go.snap | 1 - ...NetworkInsightsAccessScopeAnalysis.go.snap | 1 - ...pi_op_StartNetworkInsightsAnalysis.go.snap | 1 - ...pointServicePrivateDnsVerification.go.snap | 1 - .../ec2/snapshot/api_op_StopInstances.go.snap | 1 - ...i_op_TerminateClientVpnConnections.go.snap | 1 - .../api_op_TerminateInstances.go.snap | 1 - .../api_op_UnassignIpv6Addresses.go.snap | 1 - .../api_op_UnassignPrivateIpAddresses.go.snap | 1 - ...p_UnassignPrivateNatGatewayAddress.go.snap | 1 - .../snapshot/api_op_UnlockSnapshot.go.snap | 1 - .../api_op_UnmonitorInstances.go.snap | 1 - ...ecurityGroupRuleDescriptionsEgress.go.snap | 1 - ...curityGroupRuleDescriptionsIngress.go.snap | 1 - .../snapshot/api_op_WithdrawByoipCidr.go.snap | 1 - service/ec2instanceconnect/api_client.go | 31 -- .../api_op_SendSSHPublicKey.go | 3 - .../api_op_SendSerialConsoleSSHPublicKey.go | 3 - .../snapshot/api_op_SendSSHPublicKey.go.snap | 1 - ...i_op_SendSerialConsoleSSHPublicKey.go.snap | 1 - service/ecr/api_client.go | 31 -- .../ecr/api_op_BatchCheckLayerAvailability.go | 3 - service/ecr/api_op_BatchDeleteImage.go | 3 - service/ecr/api_op_BatchGetImage.go | 3 - ...BatchGetRepositoryScanningConfiguration.go | 3 - service/ecr/api_op_CompleteLayerUpload.go | 3 - .../ecr/api_op_CreatePullThroughCacheRule.go | 3 - service/ecr/api_op_CreateRepository.go | 3 - ...api_op_CreateRepositoryCreationTemplate.go | 3 - service/ecr/api_op_DeleteLifecyclePolicy.go | 3 - .../ecr/api_op_DeletePullThroughCacheRule.go | 3 - service/ecr/api_op_DeleteRegistryPolicy.go | 3 - service/ecr/api_op_DeleteRepository.go | 3 - ...api_op_DeleteRepositoryCreationTemplate.go | 3 - service/ecr/api_op_DeleteRepositoryPolicy.go | 3 - .../api_op_DescribeImageReplicationStatus.go | 3 - .../ecr/api_op_DescribeImageScanFindings.go | 3 - service/ecr/api_op_DescribeImages.go | 3 - .../api_op_DescribePullThroughCacheRules.go | 3 - service/ecr/api_op_DescribeRegistry.go | 3 - service/ecr/api_op_DescribeRepositories.go | 3 - ..._op_DescribeRepositoryCreationTemplates.go | 3 - service/ecr/api_op_GetAccountSetting.go | 3 - service/ecr/api_op_GetAuthorizationToken.go | 3 - service/ecr/api_op_GetDownloadUrlForLayer.go | 3 - service/ecr/api_op_GetLifecyclePolicy.go | 3 - .../ecr/api_op_GetLifecyclePolicyPreview.go | 3 - service/ecr/api_op_GetRegistryPolicy.go | 3 - ...api_op_GetRegistryScanningConfiguration.go | 3 - service/ecr/api_op_GetRepositoryPolicy.go | 3 - service/ecr/api_op_InitiateLayerUpload.go | 3 - service/ecr/api_op_ListImages.go | 3 - service/ecr/api_op_ListTagsForResource.go | 3 - service/ecr/api_op_PutAccountSetting.go | 3 - service/ecr/api_op_PutImage.go | 3 - .../api_op_PutImageScanningConfiguration.go | 3 - service/ecr/api_op_PutImageTagMutability.go | 3 - service/ecr/api_op_PutLifecyclePolicy.go | 3 - service/ecr/api_op_PutRegistryPolicy.go | 3 - ...api_op_PutRegistryScanningConfiguration.go | 3 - .../ecr/api_op_PutReplicationConfiguration.go | 3 - service/ecr/api_op_SetRepositoryPolicy.go | 3 - service/ecr/api_op_StartImageScan.go | 3 - .../ecr/api_op_StartLifecyclePolicyPreview.go | 3 - service/ecr/api_op_TagResource.go | 3 - service/ecr/api_op_UntagResource.go | 3 - .../ecr/api_op_UpdatePullThroughCacheRule.go | 3 - ...api_op_UpdateRepositoryCreationTemplate.go | 3 - service/ecr/api_op_UploadLayerPart.go | 3 - .../api_op_ValidatePullThroughCacheRule.go | 3 - ...api_op_BatchCheckLayerAvailability.go.snap | 1 - .../snapshot/api_op_BatchDeleteImage.go.snap | 1 - .../ecr/snapshot/api_op_BatchGetImage.go.snap | 1 - ...GetRepositoryScanningConfiguration.go.snap | 1 - .../api_op_CompleteLayerUpload.go.snap | 1 - .../api_op_CreatePullThroughCacheRule.go.snap | 1 - .../snapshot/api_op_CreateRepository.go.snap | 1 - ...p_CreateRepositoryCreationTemplate.go.snap | 1 - .../api_op_DeleteLifecyclePolicy.go.snap | 1 - .../api_op_DeletePullThroughCacheRule.go.snap | 1 - .../api_op_DeleteRegistryPolicy.go.snap | 1 - .../snapshot/api_op_DeleteRepository.go.snap | 1 - ...p_DeleteRepositoryCreationTemplate.go.snap | 1 - .../api_op_DeleteRepositoryPolicy.go.snap | 1 - ..._op_DescribeImageReplicationStatus.go.snap | 1 - .../api_op_DescribeImageScanFindings.go.snap | 1 - .../snapshot/api_op_DescribeImages.go.snap | 1 - ...i_op_DescribePullThroughCacheRules.go.snap | 1 - .../snapshot/api_op_DescribeRegistry.go.snap | 1 - .../api_op_DescribeRepositories.go.snap | 1 - ...escribeRepositoryCreationTemplates.go.snap | 1 - .../snapshot/api_op_GetAccountSetting.go.snap | 1 - .../api_op_GetAuthorizationToken.go.snap | 1 - .../api_op_GetDownloadUrlForLayer.go.snap | 1 - .../api_op_GetLifecyclePolicy.go.snap | 1 - .../api_op_GetLifecyclePolicyPreview.go.snap | 1 - .../snapshot/api_op_GetRegistryPolicy.go.snap | 1 - ...p_GetRegistryScanningConfiguration.go.snap | 1 - .../api_op_GetRepositoryPolicy.go.snap | 1 - .../api_op_InitiateLayerUpload.go.snap | 1 - .../ecr/snapshot/api_op_ListImages.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_PutAccountSetting.go.snap | 1 - service/ecr/snapshot/api_op_PutImage.go.snap | 1 - ...i_op_PutImageScanningConfiguration.go.snap | 1 - .../api_op_PutImageTagMutability.go.snap | 1 - .../api_op_PutLifecyclePolicy.go.snap | 1 - .../snapshot/api_op_PutRegistryPolicy.go.snap | 1 - ...p_PutRegistryScanningConfiguration.go.snap | 1 - ...api_op_PutReplicationConfiguration.go.snap | 1 - .../api_op_SetRepositoryPolicy.go.snap | 1 - .../snapshot/api_op_StartImageScan.go.snap | 1 - ...api_op_StartLifecyclePolicyPreview.go.snap | 1 - .../ecr/snapshot/api_op_TagResource.go.snap | 1 - .../ecr/snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdatePullThroughCacheRule.go.snap | 1 - ...p_UpdateRepositoryCreationTemplate.go.snap | 1 - .../snapshot/api_op_UploadLayerPart.go.snap | 1 - ...pi_op_ValidatePullThroughCacheRule.go.snap | 1 - service/ecrpublic/api_client.go | 31 -- .../api_op_BatchCheckLayerAvailability.go | 3 - service/ecrpublic/api_op_BatchDeleteImage.go | 3 - .../ecrpublic/api_op_CompleteLayerUpload.go | 3 - service/ecrpublic/api_op_CreateRepository.go | 3 - service/ecrpublic/api_op_DeleteRepository.go | 3 - .../api_op_DeleteRepositoryPolicy.go | 3 - service/ecrpublic/api_op_DescribeImageTags.go | 3 - service/ecrpublic/api_op_DescribeImages.go | 3 - .../ecrpublic/api_op_DescribeRegistries.go | 3 - .../ecrpublic/api_op_DescribeRepositories.go | 3 - .../ecrpublic/api_op_GetAuthorizationToken.go | 3 - .../api_op_GetRegistryCatalogData.go | 3 - .../api_op_GetRepositoryCatalogData.go | 3 - .../ecrpublic/api_op_GetRepositoryPolicy.go | 3 - .../ecrpublic/api_op_InitiateLayerUpload.go | 3 - .../ecrpublic/api_op_ListTagsForResource.go | 3 - service/ecrpublic/api_op_PutImage.go | 3 - .../api_op_PutRegistryCatalogData.go | 3 - .../api_op_PutRepositoryCatalogData.go | 3 - .../ecrpublic/api_op_SetRepositoryPolicy.go | 3 - service/ecrpublic/api_op_TagResource.go | 3 - service/ecrpublic/api_op_UntagResource.go | 3 - service/ecrpublic/api_op_UploadLayerPart.go | 3 - ...api_op_BatchCheckLayerAvailability.go.snap | 1 - .../snapshot/api_op_BatchDeleteImage.go.snap | 1 - .../api_op_CompleteLayerUpload.go.snap | 1 - .../snapshot/api_op_CreateRepository.go.snap | 1 - .../snapshot/api_op_DeleteRepository.go.snap | 1 - .../api_op_DeleteRepositoryPolicy.go.snap | 1 - .../snapshot/api_op_DescribeImageTags.go.snap | 1 - .../snapshot/api_op_DescribeImages.go.snap | 1 - .../api_op_DescribeRegistries.go.snap | 1 - .../api_op_DescribeRepositories.go.snap | 1 - .../api_op_GetAuthorizationToken.go.snap | 1 - .../api_op_GetRegistryCatalogData.go.snap | 1 - .../api_op_GetRepositoryCatalogData.go.snap | 1 - .../api_op_GetRepositoryPolicy.go.snap | 1 - .../api_op_InitiateLayerUpload.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_PutImage.go.snap | 1 - .../api_op_PutRegistryCatalogData.go.snap | 1 - .../api_op_PutRepositoryCatalogData.go.snap | 1 - .../api_op_SetRepositoryPolicy.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UploadLayerPart.go.snap | 1 - service/ecs/api_client.go | 31 -- service/ecs/api_op_CreateCapacityProvider.go | 3 - service/ecs/api_op_CreateCluster.go | 3 - service/ecs/api_op_CreateService.go | 3 - service/ecs/api_op_CreateTaskSet.go | 3 - service/ecs/api_op_DeleteAccountSetting.go | 3 - service/ecs/api_op_DeleteAttributes.go | 3 - service/ecs/api_op_DeleteCapacityProvider.go | 3 - service/ecs/api_op_DeleteCluster.go | 3 - service/ecs/api_op_DeleteService.go | 3 - service/ecs/api_op_DeleteTaskDefinitions.go | 3 - service/ecs/api_op_DeleteTaskSet.go | 3 - .../ecs/api_op_DeregisterContainerInstance.go | 3 - .../ecs/api_op_DeregisterTaskDefinition.go | 3 - .../ecs/api_op_DescribeCapacityProviders.go | 3 - service/ecs/api_op_DescribeClusters.go | 3 - .../ecs/api_op_DescribeContainerInstances.go | 3 - .../ecs/api_op_DescribeServiceDeployments.go | 3 - .../ecs/api_op_DescribeServiceRevisions.go | 3 - service/ecs/api_op_DescribeServices.go | 3 - service/ecs/api_op_DescribeTaskDefinition.go | 3 - service/ecs/api_op_DescribeTaskSets.go | 3 - service/ecs/api_op_DescribeTasks.go | 3 - service/ecs/api_op_DiscoverPollEndpoint.go | 3 - service/ecs/api_op_ExecuteCommand.go | 3 - service/ecs/api_op_GetTaskProtection.go | 3 - service/ecs/api_op_ListAccountSettings.go | 3 - service/ecs/api_op_ListAttributes.go | 3 - service/ecs/api_op_ListClusters.go | 3 - service/ecs/api_op_ListContainerInstances.go | 3 - service/ecs/api_op_ListServiceDeployments.go | 3 - service/ecs/api_op_ListServices.go | 3 - service/ecs/api_op_ListServicesByNamespace.go | 3 - service/ecs/api_op_ListTagsForResource.go | 3 - .../ecs/api_op_ListTaskDefinitionFamilies.go | 3 - service/ecs/api_op_ListTaskDefinitions.go | 3 - service/ecs/api_op_ListTasks.go | 3 - service/ecs/api_op_PutAccountSetting.go | 3 - .../ecs/api_op_PutAccountSettingDefault.go | 3 - service/ecs/api_op_PutAttributes.go | 3 - .../ecs/api_op_PutClusterCapacityProviders.go | 3 - .../ecs/api_op_RegisterContainerInstance.go | 3 - service/ecs/api_op_RegisterTaskDefinition.go | 3 - service/ecs/api_op_RunTask.go | 3 - service/ecs/api_op_StartTask.go | 3 - service/ecs/api_op_StopTask.go | 3 - .../api_op_SubmitAttachmentStateChanges.go | 3 - .../ecs/api_op_SubmitContainerStateChange.go | 3 - service/ecs/api_op_SubmitTaskStateChange.go | 3 - service/ecs/api_op_TagResource.go | 3 - service/ecs/api_op_UntagResource.go | 3 - service/ecs/api_op_UpdateCapacityProvider.go | 3 - service/ecs/api_op_UpdateCluster.go | 3 - service/ecs/api_op_UpdateClusterSettings.go | 3 - service/ecs/api_op_UpdateContainerAgent.go | 3 - .../api_op_UpdateContainerInstancesState.go | 3 - service/ecs/api_op_UpdateService.go | 3 - .../ecs/api_op_UpdateServicePrimaryTaskSet.go | 3 - service/ecs/api_op_UpdateTaskProtection.go | 3 - service/ecs/api_op_UpdateTaskSet.go | 3 - .../api_op_CreateCapacityProvider.go.snap | 1 - .../ecs/snapshot/api_op_CreateCluster.go.snap | 1 - .../ecs/snapshot/api_op_CreateService.go.snap | 1 - .../ecs/snapshot/api_op_CreateTaskSet.go.snap | 1 - .../api_op_DeleteAccountSetting.go.snap | 1 - .../snapshot/api_op_DeleteAttributes.go.snap | 1 - .../api_op_DeleteCapacityProvider.go.snap | 1 - .../ecs/snapshot/api_op_DeleteCluster.go.snap | 1 - .../ecs/snapshot/api_op_DeleteService.go.snap | 1 - .../api_op_DeleteTaskDefinitions.go.snap | 1 - .../ecs/snapshot/api_op_DeleteTaskSet.go.snap | 1 - ...api_op_DeregisterContainerInstance.go.snap | 1 - .../api_op_DeregisterTaskDefinition.go.snap | 1 - .../api_op_DescribeCapacityProviders.go.snap | 1 - .../snapshot/api_op_DescribeClusters.go.snap | 1 - .../api_op_DescribeContainerInstances.go.snap | 1 - .../api_op_DescribeServiceDeployments.go.snap | 1 - .../api_op_DescribeServiceRevisions.go.snap | 1 - .../snapshot/api_op_DescribeServices.go.snap | 1 - .../api_op_DescribeTaskDefinition.go.snap | 1 - .../snapshot/api_op_DescribeTaskSets.go.snap | 1 - .../ecs/snapshot/api_op_DescribeTasks.go.snap | 1 - .../api_op_DiscoverPollEndpoint.go.snap | 1 - .../snapshot/api_op_ExecuteCommand.go.snap | 1 - .../snapshot/api_op_GetTaskProtection.go.snap | 1 - .../api_op_ListAccountSettings.go.snap | 1 - .../snapshot/api_op_ListAttributes.go.snap | 1 - .../ecs/snapshot/api_op_ListClusters.go.snap | 1 - .../api_op_ListContainerInstances.go.snap | 1 - .../api_op_ListServiceDeployments.go.snap | 1 - .../ecs/snapshot/api_op_ListServices.go.snap | 1 - .../api_op_ListServicesByNamespace.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListTaskDefinitionFamilies.go.snap | 1 - .../api_op_ListTaskDefinitions.go.snap | 1 - service/ecs/snapshot/api_op_ListTasks.go.snap | 1 - .../snapshot/api_op_PutAccountSetting.go.snap | 1 - .../api_op_PutAccountSettingDefault.go.snap | 1 - .../ecs/snapshot/api_op_PutAttributes.go.snap | 1 - ...api_op_PutClusterCapacityProviders.go.snap | 1 - .../api_op_RegisterContainerInstance.go.snap | 1 - .../api_op_RegisterTaskDefinition.go.snap | 1 - service/ecs/snapshot/api_op_RunTask.go.snap | 1 - service/ecs/snapshot/api_op_StartTask.go.snap | 1 - service/ecs/snapshot/api_op_StopTask.go.snap | 1 - ...pi_op_SubmitAttachmentStateChanges.go.snap | 1 - .../api_op_SubmitContainerStateChange.go.snap | 1 - .../api_op_SubmitTaskStateChange.go.snap | 1 - .../ecs/snapshot/api_op_TagResource.go.snap | 1 - .../ecs/snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateCapacityProvider.go.snap | 1 - .../ecs/snapshot/api_op_UpdateCluster.go.snap | 1 - .../api_op_UpdateClusterSettings.go.snap | 1 - .../api_op_UpdateContainerAgent.go.snap | 1 - ...i_op_UpdateContainerInstancesState.go.snap | 1 - .../ecs/snapshot/api_op_UpdateService.go.snap | 1 - ...api_op_UpdateServicePrimaryTaskSet.go.snap | 1 - .../api_op_UpdateTaskProtection.go.snap | 1 - .../ecs/snapshot/api_op_UpdateTaskSet.go.snap | 1 - service/efs/api_client.go | 31 -- service/efs/api_op_CreateAccessPoint.go | 3 - service/efs/api_op_CreateFileSystem.go | 3 - service/efs/api_op_CreateMountTarget.go | 3 - .../api_op_CreateReplicationConfiguration.go | 3 - service/efs/api_op_CreateTags.go | 3 - service/efs/api_op_DeleteAccessPoint.go | 3 - service/efs/api_op_DeleteFileSystem.go | 3 - service/efs/api_op_DeleteFileSystemPolicy.go | 3 - service/efs/api_op_DeleteMountTarget.go | 3 - .../api_op_DeleteReplicationConfiguration.go | 3 - service/efs/api_op_DeleteTags.go | 3 - service/efs/api_op_DescribeAccessPoints.go | 3 - .../efs/api_op_DescribeAccountPreferences.go | 3 - service/efs/api_op_DescribeBackupPolicy.go | 3 - .../efs/api_op_DescribeFileSystemPolicy.go | 3 - service/efs/api_op_DescribeFileSystems.go | 3 - .../api_op_DescribeLifecycleConfiguration.go | 3 - ...pi_op_DescribeMountTargetSecurityGroups.go | 3 - service/efs/api_op_DescribeMountTargets.go | 3 - ...pi_op_DescribeReplicationConfigurations.go | 3 - service/efs/api_op_DescribeTags.go | 3 - service/efs/api_op_ListTagsForResource.go | 3 - .../api_op_ModifyMountTargetSecurityGroups.go | 3 - service/efs/api_op_PutAccountPreferences.go | 3 - service/efs/api_op_PutBackupPolicy.go | 3 - service/efs/api_op_PutFileSystemPolicy.go | 3 - .../efs/api_op_PutLifecycleConfiguration.go | 3 - service/efs/api_op_TagResource.go | 3 - service/efs/api_op_UntagResource.go | 3 - service/efs/api_op_UpdateFileSystem.go | 3 - .../efs/api_op_UpdateFileSystemProtection.go | 3 - .../snapshot/api_op_CreateAccessPoint.go.snap | 1 - .../snapshot/api_op_CreateFileSystem.go.snap | 1 - .../snapshot/api_op_CreateMountTarget.go.snap | 1 - ..._op_CreateReplicationConfiguration.go.snap | 1 - .../efs/snapshot/api_op_CreateTags.go.snap | 1 - .../snapshot/api_op_DeleteAccessPoint.go.snap | 1 - .../snapshot/api_op_DeleteFileSystem.go.snap | 1 - .../api_op_DeleteFileSystemPolicy.go.snap | 1 - .../snapshot/api_op_DeleteMountTarget.go.snap | 1 - ..._op_DeleteReplicationConfiguration.go.snap | 1 - .../efs/snapshot/api_op_DeleteTags.go.snap | 1 - .../api_op_DescribeAccessPoints.go.snap | 1 - .../api_op_DescribeAccountPreferences.go.snap | 1 - .../api_op_DescribeBackupPolicy.go.snap | 1 - .../api_op_DescribeFileSystemPolicy.go.snap | 1 - .../api_op_DescribeFileSystems.go.snap | 1 - ..._op_DescribeLifecycleConfiguration.go.snap | 1 - ..._DescribeMountTargetSecurityGroups.go.snap | 1 - .../api_op_DescribeMountTargets.go.snap | 1 - ..._DescribeReplicationConfigurations.go.snap | 1 - .../efs/snapshot/api_op_DescribeTags.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - ...op_ModifyMountTargetSecurityGroups.go.snap | 1 - .../api_op_PutAccountPreferences.go.snap | 1 - .../snapshot/api_op_PutBackupPolicy.go.snap | 1 - .../api_op_PutFileSystemPolicy.go.snap | 1 - .../api_op_PutLifecycleConfiguration.go.snap | 1 - .../efs/snapshot/api_op_TagResource.go.snap | 1 - .../efs/snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateFileSystem.go.snap | 1 - .../api_op_UpdateFileSystemProtection.go.snap | 1 - service/eks/api_client.go | 31 -- service/eks/api_op_AssociateAccessPolicy.go | 3 - .../eks/api_op_AssociateEncryptionConfig.go | 3 - .../api_op_AssociateIdentityProviderConfig.go | 3 - service/eks/api_op_CreateAccessEntry.go | 3 - service/eks/api_op_CreateAddon.go | 3 - service/eks/api_op_CreateCluster.go | 3 - .../api_op_CreateEksAnywhereSubscription.go | 3 - service/eks/api_op_CreateFargateProfile.go | 3 - service/eks/api_op_CreateNodegroup.go | 3 - .../api_op_CreatePodIdentityAssociation.go | 3 - service/eks/api_op_DeleteAccessEntry.go | 3 - service/eks/api_op_DeleteAddon.go | 3 - service/eks/api_op_DeleteCluster.go | 3 - .../api_op_DeleteEksAnywhereSubscription.go | 3 - service/eks/api_op_DeleteFargateProfile.go | 3 - service/eks/api_op_DeleteNodegroup.go | 3 - .../api_op_DeletePodIdentityAssociation.go | 3 - service/eks/api_op_DeregisterCluster.go | 3 - service/eks/api_op_DescribeAccessEntry.go | 3 - service/eks/api_op_DescribeAddon.go | 3 - .../eks/api_op_DescribeAddonConfiguration.go | 3 - service/eks/api_op_DescribeAddonVersions.go | 3 - service/eks/api_op_DescribeCluster.go | 3 - service/eks/api_op_DescribeClusterVersions.go | 3 - .../api_op_DescribeEksAnywhereSubscription.go | 3 - service/eks/api_op_DescribeFargateProfile.go | 3 - .../api_op_DescribeIdentityProviderConfig.go | 3 - service/eks/api_op_DescribeInsight.go | 3 - service/eks/api_op_DescribeNodegroup.go | 3 - .../api_op_DescribePodIdentityAssociation.go | 3 - service/eks/api_op_DescribeUpdate.go | 3 - .../eks/api_op_DisassociateAccessPolicy.go | 3 - ...i_op_DisassociateIdentityProviderConfig.go | 3 - service/eks/api_op_ListAccessEntries.go | 3 - service/eks/api_op_ListAccessPolicies.go | 3 - service/eks/api_op_ListAddons.go | 3 - .../api_op_ListAssociatedAccessPolicies.go | 3 - service/eks/api_op_ListClusters.go | 3 - .../api_op_ListEksAnywhereSubscriptions.go | 3 - service/eks/api_op_ListFargateProfiles.go | 3 - .../eks/api_op_ListIdentityProviderConfigs.go | 3 - service/eks/api_op_ListInsights.go | 3 - service/eks/api_op_ListNodegroups.go | 3 - .../eks/api_op_ListPodIdentityAssociations.go | 3 - service/eks/api_op_ListTagsForResource.go | 3 - service/eks/api_op_ListUpdates.go | 3 - service/eks/api_op_RegisterCluster.go | 3 - service/eks/api_op_TagResource.go | 3 - service/eks/api_op_UntagResource.go | 3 - service/eks/api_op_UpdateAccessEntry.go | 3 - service/eks/api_op_UpdateAddon.go | 3 - service/eks/api_op_UpdateClusterConfig.go | 3 - service/eks/api_op_UpdateClusterVersion.go | 3 - .../api_op_UpdateEksAnywhereSubscription.go | 3 - service/eks/api_op_UpdateNodegroupConfig.go | 3 - service/eks/api_op_UpdateNodegroupVersion.go | 3 - .../api_op_UpdatePodIdentityAssociation.go | 3 - .../api_op_AssociateAccessPolicy.go.snap | 1 - .../api_op_AssociateEncryptionConfig.go.snap | 1 - ...op_AssociateIdentityProviderConfig.go.snap | 1 - .../snapshot/api_op_CreateAccessEntry.go.snap | 1 - .../eks/snapshot/api_op_CreateAddon.go.snap | 1 - .../eks/snapshot/api_op_CreateCluster.go.snap | 1 - ...i_op_CreateEksAnywhereSubscription.go.snap | 1 - .../api_op_CreateFargateProfile.go.snap | 1 - .../snapshot/api_op_CreateNodegroup.go.snap | 1 - ...pi_op_CreatePodIdentityAssociation.go.snap | 1 - .../snapshot/api_op_DeleteAccessEntry.go.snap | 1 - .../eks/snapshot/api_op_DeleteAddon.go.snap | 1 - .../eks/snapshot/api_op_DeleteCluster.go.snap | 1 - ...i_op_DeleteEksAnywhereSubscription.go.snap | 1 - .../api_op_DeleteFargateProfile.go.snap | 1 - .../snapshot/api_op_DeleteNodegroup.go.snap | 1 - ...pi_op_DeletePodIdentityAssociation.go.snap | 1 - .../snapshot/api_op_DeregisterCluster.go.snap | 1 - .../api_op_DescribeAccessEntry.go.snap | 1 - .../eks/snapshot/api_op_DescribeAddon.go.snap | 1 - .../api_op_DescribeAddonConfiguration.go.snap | 1 - .../api_op_DescribeAddonVersions.go.snap | 1 - .../snapshot/api_op_DescribeCluster.go.snap | 1 - .../api_op_DescribeClusterVersions.go.snap | 1 - ...op_DescribeEksAnywhereSubscription.go.snap | 1 - .../api_op_DescribeFargateProfile.go.snap | 1 - ..._op_DescribeIdentityProviderConfig.go.snap | 1 - .../snapshot/api_op_DescribeInsight.go.snap | 1 - .../snapshot/api_op_DescribeNodegroup.go.snap | 1 - ..._op_DescribePodIdentityAssociation.go.snap | 1 - .../snapshot/api_op_DescribeUpdate.go.snap | 1 - .../api_op_DisassociateAccessPolicy.go.snap | 1 - ...DisassociateIdentityProviderConfig.go.snap | 1 - .../snapshot/api_op_ListAccessEntries.go.snap | 1 - .../api_op_ListAccessPolicies.go.snap | 1 - .../eks/snapshot/api_op_ListAddons.go.snap | 1 - ...pi_op_ListAssociatedAccessPolicies.go.snap | 1 - .../eks/snapshot/api_op_ListClusters.go.snap | 1 - ...pi_op_ListEksAnywhereSubscriptions.go.snap | 1 - .../api_op_ListFargateProfiles.go.snap | 1 - ...api_op_ListIdentityProviderConfigs.go.snap | 1 - .../eks/snapshot/api_op_ListInsights.go.snap | 1 - .../snapshot/api_op_ListNodegroups.go.snap | 1 - ...api_op_ListPodIdentityAssociations.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../eks/snapshot/api_op_ListUpdates.go.snap | 1 - .../snapshot/api_op_RegisterCluster.go.snap | 1 - .../eks/snapshot/api_op_TagResource.go.snap | 1 - .../eks/snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateAccessEntry.go.snap | 1 - .../eks/snapshot/api_op_UpdateAddon.go.snap | 1 - .../api_op_UpdateClusterConfig.go.snap | 1 - .../api_op_UpdateClusterVersion.go.snap | 1 - ...i_op_UpdateEksAnywhereSubscription.go.snap | 1 - .../api_op_UpdateNodegroupConfig.go.snap | 1 - .../api_op_UpdateNodegroupVersion.go.snap | 1 - ...pi_op_UpdatePodIdentityAssociation.go.snap | 1 - service/eksauth/api_client.go | 31 -- .../api_op_AssumeRoleForPodIdentity.go | 3 - .../api_op_AssumeRoleForPodIdentity.go.snap | 1 - service/elasticache/api_client.go | 31 -- .../elasticache/api_op_AddTagsToResource.go | 3 - ...i_op_AuthorizeCacheSecurityGroupIngress.go | 3 - .../api_op_BatchApplyUpdateAction.go | 3 - .../api_op_BatchStopUpdateAction.go | 3 - .../elasticache/api_op_CompleteMigration.go | 3 - .../api_op_CopyServerlessCacheSnapshot.go | 3 - service/elasticache/api_op_CopySnapshot.go | 3 - .../elasticache/api_op_CreateCacheCluster.go | 3 - .../api_op_CreateCacheParameterGroup.go | 3 - .../api_op_CreateCacheSecurityGroup.go | 3 - .../api_op_CreateCacheSubnetGroup.go | 3 - .../api_op_CreateGlobalReplicationGroup.go | 3 - .../api_op_CreateReplicationGroup.go | 3 - .../api_op_CreateServerlessCache.go | 3 - .../api_op_CreateServerlessCacheSnapshot.go | 3 - service/elasticache/api_op_CreateSnapshot.go | 3 - service/elasticache/api_op_CreateUser.go | 3 - service/elasticache/api_op_CreateUserGroup.go | 3 - ...reaseNodeGroupsInGlobalReplicationGroup.go | 3 - .../api_op_DecreaseReplicaCount.go | 3 - .../elasticache/api_op_DeleteCacheCluster.go | 3 - .../api_op_DeleteCacheParameterGroup.go | 3 - .../api_op_DeleteCacheSecurityGroup.go | 3 - .../api_op_DeleteCacheSubnetGroup.go | 3 - .../api_op_DeleteGlobalReplicationGroup.go | 3 - .../api_op_DeleteReplicationGroup.go | 3 - .../api_op_DeleteServerlessCache.go | 3 - .../api_op_DeleteServerlessCacheSnapshot.go | 3 - service/elasticache/api_op_DeleteSnapshot.go | 3 - service/elasticache/api_op_DeleteUser.go | 3 - service/elasticache/api_op_DeleteUserGroup.go | 3 - .../api_op_DescribeCacheClusters.go | 3 - .../api_op_DescribeCacheEngineVersions.go | 3 - .../api_op_DescribeCacheParameterGroups.go | 3 - .../api_op_DescribeCacheParameters.go | 3 - .../api_op_DescribeCacheSecurityGroups.go | 3 - .../api_op_DescribeCacheSubnetGroups.go | 3 - .../api_op_DescribeEngineDefaultParameters.go | 3 - service/elasticache/api_op_DescribeEvents.go | 3 - .../api_op_DescribeGlobalReplicationGroups.go | 3 - .../api_op_DescribeReplicationGroups.go | 3 - .../api_op_DescribeReservedCacheNodes.go | 3 - ..._op_DescribeReservedCacheNodesOfferings.go | 3 - ...api_op_DescribeServerlessCacheSnapshots.go | 3 - .../api_op_DescribeServerlessCaches.go | 3 - .../api_op_DescribeServiceUpdates.go | 3 - .../elasticache/api_op_DescribeSnapshots.go | 3 - .../api_op_DescribeUpdateActions.go | 3 - .../elasticache/api_op_DescribeUserGroups.go | 3 - service/elasticache/api_op_DescribeUsers.go | 3 - ...i_op_DisassociateGlobalReplicationGroup.go | 3 - .../api_op_ExportServerlessCacheSnapshot.go | 3 - .../api_op_FailoverGlobalReplicationGroup.go | 3 - ...reaseNodeGroupsInGlobalReplicationGroup.go | 3 - .../api_op_IncreaseReplicaCount.go | 3 - ...api_op_ListAllowedNodeTypeModifications.go | 3 - .../elasticache/api_op_ListTagsForResource.go | 3 - .../elasticache/api_op_ModifyCacheCluster.go | 3 - .../api_op_ModifyCacheParameterGroup.go | 3 - .../api_op_ModifyCacheSubnetGroup.go | 3 - .../api_op_ModifyGlobalReplicationGroup.go | 3 - .../api_op_ModifyReplicationGroup.go | 3 - ...odifyReplicationGroupShardConfiguration.go | 3 - .../api_op_ModifyServerlessCache.go | 3 - service/elasticache/api_op_ModifyUser.go | 3 - service/elasticache/api_op_ModifyUserGroup.go | 3 - ...i_op_PurchaseReservedCacheNodesOffering.go | 3 - ..._RebalanceSlotsInGlobalReplicationGroup.go | 3 - .../elasticache/api_op_RebootCacheCluster.go | 3 - .../api_op_RemoveTagsFromResource.go | 3 - .../api_op_ResetCacheParameterGroup.go | 3 - .../api_op_RevokeCacheSecurityGroupIngress.go | 3 - service/elasticache/api_op_StartMigration.go | 3 - service/elasticache/api_op_TestFailover.go | 3 - service/elasticache/api_op_TestMigration.go | 3 - .../snapshot/api_op_AddTagsToResource.go.snap | 1 - ...AuthorizeCacheSecurityGroupIngress.go.snap | 1 - .../api_op_BatchApplyUpdateAction.go.snap | 1 - .../api_op_BatchStopUpdateAction.go.snap | 1 - .../snapshot/api_op_CompleteMigration.go.snap | 1 - ...api_op_CopyServerlessCacheSnapshot.go.snap | 1 - .../snapshot/api_op_CopySnapshot.go.snap | 1 - .../api_op_CreateCacheCluster.go.snap | 1 - .../api_op_CreateCacheParameterGroup.go.snap | 1 - .../api_op_CreateCacheSecurityGroup.go.snap | 1 - .../api_op_CreateCacheSubnetGroup.go.snap | 1 - ...pi_op_CreateGlobalReplicationGroup.go.snap | 1 - .../api_op_CreateReplicationGroup.go.snap | 1 - .../api_op_CreateServerlessCache.go.snap | 1 - ...i_op_CreateServerlessCacheSnapshot.go.snap | 1 - .../snapshot/api_op_CreateSnapshot.go.snap | 1 - .../snapshot/api_op_CreateUser.go.snap | 1 - .../snapshot/api_op_CreateUserGroup.go.snap | 1 - ...NodeGroupsInGlobalReplicationGroup.go.snap | 1 - .../api_op_DecreaseReplicaCount.go.snap | 1 - .../api_op_DeleteCacheCluster.go.snap | 1 - .../api_op_DeleteCacheParameterGroup.go.snap | 1 - .../api_op_DeleteCacheSecurityGroup.go.snap | 1 - .../api_op_DeleteCacheSubnetGroup.go.snap | 1 - ...pi_op_DeleteGlobalReplicationGroup.go.snap | 1 - .../api_op_DeleteReplicationGroup.go.snap | 1 - .../api_op_DeleteServerlessCache.go.snap | 1 - ...i_op_DeleteServerlessCacheSnapshot.go.snap | 1 - .../snapshot/api_op_DeleteSnapshot.go.snap | 1 - .../snapshot/api_op_DeleteUser.go.snap | 1 - .../snapshot/api_op_DeleteUserGroup.go.snap | 1 - .../api_op_DescribeCacheClusters.go.snap | 1 - ...api_op_DescribeCacheEngineVersions.go.snap | 1 - ...pi_op_DescribeCacheParameterGroups.go.snap | 1 - .../api_op_DescribeCacheParameters.go.snap | 1 - ...api_op_DescribeCacheSecurityGroups.go.snap | 1 - .../api_op_DescribeCacheSubnetGroups.go.snap | 1 - ...op_DescribeEngineDefaultParameters.go.snap | 1 - .../snapshot/api_op_DescribeEvents.go.snap | 1 - ...op_DescribeGlobalReplicationGroups.go.snap | 1 - .../api_op_DescribeReplicationGroups.go.snap | 1 - .../api_op_DescribeReservedCacheNodes.go.snap | 1 - ...escribeReservedCacheNodesOfferings.go.snap | 1 - ...p_DescribeServerlessCacheSnapshots.go.snap | 1 - .../api_op_DescribeServerlessCaches.go.snap | 1 - .../api_op_DescribeServiceUpdates.go.snap | 1 - .../snapshot/api_op_DescribeSnapshots.go.snap | 1 - .../api_op_DescribeUpdateActions.go.snap | 1 - .../api_op_DescribeUserGroups.go.snap | 1 - .../snapshot/api_op_DescribeUsers.go.snap | 1 - ...DisassociateGlobalReplicationGroup.go.snap | 1 - ...i_op_ExportServerlessCacheSnapshot.go.snap | 1 - ..._op_FailoverGlobalReplicationGroup.go.snap | 1 - ...NodeGroupsInGlobalReplicationGroup.go.snap | 1 - .../api_op_IncreaseReplicaCount.go.snap | 1 - ...p_ListAllowedNodeTypeModifications.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ModifyCacheCluster.go.snap | 1 - .../api_op_ModifyCacheParameterGroup.go.snap | 1 - .../api_op_ModifyCacheSubnetGroup.go.snap | 1 - ...pi_op_ModifyGlobalReplicationGroup.go.snap | 1 - .../api_op_ModifyReplicationGroup.go.snap | 1 - ...ReplicationGroupShardConfiguration.go.snap | 1 - .../api_op_ModifyServerlessCache.go.snap | 1 - .../snapshot/api_op_ModifyUser.go.snap | 1 - .../snapshot/api_op_ModifyUserGroup.go.snap | 1 - ...PurchaseReservedCacheNodesOffering.go.snap | 1 - ...lanceSlotsInGlobalReplicationGroup.go.snap | 1 - .../api_op_RebootCacheCluster.go.snap | 1 - .../api_op_RemoveTagsFromResource.go.snap | 1 - .../api_op_ResetCacheParameterGroup.go.snap | 1 - ...op_RevokeCacheSecurityGroupIngress.go.snap | 1 - .../snapshot/api_op_StartMigration.go.snap | 1 - .../snapshot/api_op_TestFailover.go.snap | 1 - .../snapshot/api_op_TestMigration.go.snap | 1 - service/elasticbeanstalk/api_client.go | 31 -- .../api_op_AbortEnvironmentUpdate.go | 3 - .../api_op_ApplyEnvironmentManagedAction.go | 3 - ...i_op_AssociateEnvironmentOperationsRole.go | 3 - .../api_op_CheckDNSAvailability.go | 3 - .../api_op_ComposeEnvironments.go | 3 - .../api_op_CreateApplication.go | 3 - .../api_op_CreateApplicationVersion.go | 3 - .../api_op_CreateConfigurationTemplate.go | 3 - .../api_op_CreateEnvironment.go | 3 - .../api_op_CreatePlatformVersion.go | 3 - .../api_op_CreateStorageLocation.go | 3 - .../api_op_DeleteApplication.go | 3 - .../api_op_DeleteApplicationVersion.go | 3 - .../api_op_DeleteConfigurationTemplate.go | 3 - .../api_op_DeleteEnvironmentConfiguration.go | 3 - .../api_op_DeletePlatformVersion.go | 3 - .../api_op_DescribeAccountAttributes.go | 3 - .../api_op_DescribeApplicationVersions.go | 3 - .../api_op_DescribeApplications.go | 3 - .../api_op_DescribeConfigurationOptions.go | 3 - .../api_op_DescribeConfigurationSettings.go | 3 - .../api_op_DescribeEnvironmentHealth.go | 3 - ...DescribeEnvironmentManagedActionHistory.go | 3 - ...pi_op_DescribeEnvironmentManagedActions.go | 3 - .../api_op_DescribeEnvironmentResources.go | 3 - .../api_op_DescribeEnvironments.go | 3 - .../elasticbeanstalk/api_op_DescribeEvents.go | 3 - .../api_op_DescribeInstancesHealth.go | 3 - .../api_op_DescribePlatformVersion.go | 3 - ...p_DisassociateEnvironmentOperationsRole.go | 3 - .../api_op_ListAvailableSolutionStacks.go | 3 - .../api_op_ListPlatformBranches.go | 3 - .../api_op_ListPlatformVersions.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_RebuildEnvironment.go | 3 - .../api_op_RequestEnvironmentInfo.go | 3 - .../api_op_RestartAppServer.go | 3 - .../api_op_RetrieveEnvironmentInfo.go | 3 - .../api_op_SwapEnvironmentCNAMEs.go | 3 - .../api_op_TerminateEnvironment.go | 3 - .../api_op_UpdateApplication.go | 3 - ...i_op_UpdateApplicationResourceLifecycle.go | 3 - .../api_op_UpdateApplicationVersion.go | 3 - .../api_op_UpdateConfigurationTemplate.go | 3 - .../api_op_UpdateEnvironment.go | 3 - .../api_op_UpdateTagsForResource.go | 3 - .../api_op_ValidateConfigurationSettings.go | 3 - .../api_op_AbortEnvironmentUpdate.go.snap | 1 - ...i_op_ApplyEnvironmentManagedAction.go.snap | 1 - ...AssociateEnvironmentOperationsRole.go.snap | 1 - .../api_op_CheckDNSAvailability.go.snap | 1 - .../api_op_ComposeEnvironments.go.snap | 1 - .../snapshot/api_op_CreateApplication.go.snap | 1 - .../api_op_CreateApplicationVersion.go.snap | 1 - ...api_op_CreateConfigurationTemplate.go.snap | 1 - .../snapshot/api_op_CreateEnvironment.go.snap | 1 - .../api_op_CreatePlatformVersion.go.snap | 1 - .../api_op_CreateStorageLocation.go.snap | 1 - .../snapshot/api_op_DeleteApplication.go.snap | 1 - .../api_op_DeleteApplicationVersion.go.snap | 1 - ...api_op_DeleteConfigurationTemplate.go.snap | 1 - ..._op_DeleteEnvironmentConfiguration.go.snap | 1 - .../api_op_DeletePlatformVersion.go.snap | 1 - .../api_op_DescribeAccountAttributes.go.snap | 1 - ...api_op_DescribeApplicationVersions.go.snap | 1 - .../api_op_DescribeApplications.go.snap | 1 - ...pi_op_DescribeConfigurationOptions.go.snap | 1 - ...i_op_DescribeConfigurationSettings.go.snap | 1 - .../api_op_DescribeEnvironmentHealth.go.snap | 1 - ...ibeEnvironmentManagedActionHistory.go.snap | 1 - ..._DescribeEnvironmentManagedActions.go.snap | 1 - ...pi_op_DescribeEnvironmentResources.go.snap | 1 - .../api_op_DescribeEnvironments.go.snap | 1 - .../snapshot/api_op_DescribeEvents.go.snap | 1 - .../api_op_DescribeInstancesHealth.go.snap | 1 - .../api_op_DescribePlatformVersion.go.snap | 1 - ...associateEnvironmentOperationsRole.go.snap | 1 - ...api_op_ListAvailableSolutionStacks.go.snap | 1 - .../api_op_ListPlatformBranches.go.snap | 1 - .../api_op_ListPlatformVersions.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_RebuildEnvironment.go.snap | 1 - .../api_op_RequestEnvironmentInfo.go.snap | 1 - .../snapshot/api_op_RestartAppServer.go.snap | 1 - .../api_op_RetrieveEnvironmentInfo.go.snap | 1 - .../api_op_SwapEnvironmentCNAMEs.go.snap | 1 - .../api_op_TerminateEnvironment.go.snap | 1 - .../snapshot/api_op_UpdateApplication.go.snap | 1 - ...UpdateApplicationResourceLifecycle.go.snap | 1 - .../api_op_UpdateApplicationVersion.go.snap | 1 - ...api_op_UpdateConfigurationTemplate.go.snap | 1 - .../snapshot/api_op_UpdateEnvironment.go.snap | 1 - .../api_op_UpdateTagsForResource.go.snap | 1 - ...i_op_ValidateConfigurationSettings.go.snap | 1 - service/elasticinference/api_client.go | 31 -- .../api_op_DescribeAcceleratorOfferings.go | 3 - .../api_op_DescribeAcceleratorTypes.go | 3 - .../api_op_DescribeAccelerators.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../elasticinference/api_op_TagResource.go | 3 - .../elasticinference/api_op_UntagResource.go | 3 - ...pi_op_DescribeAcceleratorOfferings.go.snap | 1 - .../api_op_DescribeAcceleratorTypes.go.snap | 1 - .../api_op_DescribeAccelerators.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - service/elasticloadbalancing/api_client.go | 31 -- .../elasticloadbalancing/api_op_AddTags.go | 3 - ...pi_op_ApplySecurityGroupsToLoadBalancer.go | 3 - .../api_op_AttachLoadBalancerToSubnets.go | 3 - .../api_op_ConfigureHealthCheck.go | 3 - .../api_op_CreateAppCookieStickinessPolicy.go | 3 - .../api_op_CreateLBCookieStickinessPolicy.go | 3 - .../api_op_CreateLoadBalancer.go | 3 - .../api_op_CreateLoadBalancerListeners.go | 3 - .../api_op_CreateLoadBalancerPolicy.go | 3 - .../api_op_DeleteLoadBalancer.go | 3 - .../api_op_DeleteLoadBalancerListeners.go | 3 - .../api_op_DeleteLoadBalancerPolicy.go | 3 - ..._op_DeregisterInstancesFromLoadBalancer.go | 3 - .../api_op_DescribeAccountLimits.go | 3 - .../api_op_DescribeInstanceHealth.go | 3 - .../api_op_DescribeLoadBalancerAttributes.go | 3 - .../api_op_DescribeLoadBalancerPolicies.go | 3 - .../api_op_DescribeLoadBalancerPolicyTypes.go | 3 - .../api_op_DescribeLoadBalancers.go | 3 - .../api_op_DescribeTags.go | 3 - .../api_op_DetachLoadBalancerFromSubnets.go | 3 - ...DisableAvailabilityZonesForLoadBalancer.go | 3 - ..._EnableAvailabilityZonesForLoadBalancer.go | 3 - .../api_op_ModifyLoadBalancerAttributes.go | 3 - ...pi_op_RegisterInstancesWithLoadBalancer.go | 3 - .../elasticloadbalancing/api_op_RemoveTags.go | 3 - ...p_SetLoadBalancerListenerSSLCertificate.go | 3 - ...SetLoadBalancerPoliciesForBackendServer.go | 3 - ...pi_op_SetLoadBalancerPoliciesOfListener.go | 3 - .../snapshot/api_op_AddTags.go.snap | 1 - ..._ApplySecurityGroupsToLoadBalancer.go.snap | 1 - ...api_op_AttachLoadBalancerToSubnets.go.snap | 1 - .../api_op_ConfigureHealthCheck.go.snap | 1 - ...op_CreateAppCookieStickinessPolicy.go.snap | 1 - ..._op_CreateLBCookieStickinessPolicy.go.snap | 1 - .../api_op_CreateLoadBalancer.go.snap | 1 - ...api_op_CreateLoadBalancerListeners.go.snap | 1 - .../api_op_CreateLoadBalancerPolicy.go.snap | 1 - .../api_op_DeleteLoadBalancer.go.snap | 1 - ...api_op_DeleteLoadBalancerListeners.go.snap | 1 - .../api_op_DeleteLoadBalancerPolicy.go.snap | 1 - ...eregisterInstancesFromLoadBalancer.go.snap | 1 - .../api_op_DescribeAccountLimits.go.snap | 1 - .../api_op_DescribeInstanceHealth.go.snap | 1 - ..._op_DescribeLoadBalancerAttributes.go.snap | 1 - ...pi_op_DescribeLoadBalancerPolicies.go.snap | 1 - ...op_DescribeLoadBalancerPolicyTypes.go.snap | 1 - .../api_op_DescribeLoadBalancers.go.snap | 1 - .../snapshot/api_op_DescribeTags.go.snap | 1 - ...i_op_DetachLoadBalancerFromSubnets.go.snap | 1 - ...leAvailabilityZonesForLoadBalancer.go.snap | 1 - ...leAvailabilityZonesForLoadBalancer.go.snap | 1 - ...pi_op_ModifyLoadBalancerAttributes.go.snap | 1 - ..._RegisterInstancesWithLoadBalancer.go.snap | 1 - .../snapshot/api_op_RemoveTags.go.snap | 1 - ...LoadBalancerListenerSSLCertificate.go.snap | 1 - ...adBalancerPoliciesForBackendServer.go.snap | 1 - ..._SetLoadBalancerPoliciesOfListener.go.snap | 1 - service/elasticloadbalancingv2/api_client.go | 31 -- .../api_op_AddListenerCertificates.go | 3 - .../elasticloadbalancingv2/api_op_AddTags.go | 3 - .../api_op_AddTrustStoreRevocations.go | 3 - .../api_op_CreateListener.go | 3 - .../api_op_CreateLoadBalancer.go | 3 - .../api_op_CreateRule.go | 3 - .../api_op_CreateTargetGroup.go | 3 - .../api_op_CreateTrustStore.go | 3 - .../api_op_DeleteListener.go | 3 - .../api_op_DeleteLoadBalancer.go | 3 - .../api_op_DeleteRule.go | 3 - ...pi_op_DeleteSharedTrustStoreAssociation.go | 3 - .../api_op_DeleteTargetGroup.go | 3 - .../api_op_DeleteTrustStore.go | 3 - .../api_op_DeregisterTargets.go | 3 - .../api_op_DescribeAccountLimits.go | 3 - .../api_op_DescribeCapacityReservation.go | 3 - .../api_op_DescribeListenerAttributes.go | 3 - .../api_op_DescribeListenerCertificates.go | 3 - .../api_op_DescribeListeners.go | 3 - .../api_op_DescribeLoadBalancerAttributes.go | 3 - .../api_op_DescribeLoadBalancers.go | 3 - .../api_op_DescribeRules.go | 3 - .../api_op_DescribeSSLPolicies.go | 3 - .../api_op_DescribeTags.go | 3 - .../api_op_DescribeTargetGroupAttributes.go | 3 - .../api_op_DescribeTargetGroups.go | 3 - .../api_op_DescribeTargetHealth.go | 3 - .../api_op_DescribeTrustStoreAssociations.go | 3 - .../api_op_DescribeTrustStoreRevocations.go | 3 - .../api_op_DescribeTrustStores.go | 3 - .../api_op_GetResourcePolicy.go | 3 - ...pi_op_GetTrustStoreCaCertificatesBundle.go | 3 - .../api_op_GetTrustStoreRevocationContent.go | 3 - .../api_op_ModifyCapacityReservation.go | 3 - .../api_op_ModifyListener.go | 3 - .../api_op_ModifyListenerAttributes.go | 3 - .../api_op_ModifyLoadBalancerAttributes.go | 3 - .../api_op_ModifyRule.go | 3 - .../api_op_ModifyTargetGroup.go | 3 - .../api_op_ModifyTargetGroupAttributes.go | 3 - .../api_op_ModifyTrustStore.go | 3 - .../api_op_RegisterTargets.go | 3 - .../api_op_RemoveListenerCertificates.go | 3 - .../api_op_RemoveTags.go | 3 - .../api_op_RemoveTrustStoreRevocations.go | 3 - .../api_op_SetIpAddressType.go | 3 - .../api_op_SetRulePriorities.go | 3 - .../api_op_SetSecurityGroups.go | 3 - .../api_op_SetSubnets.go | 3 - .../api_op_AddListenerCertificates.go.snap | 1 - .../snapshot/api_op_AddTags.go.snap | 1 - .../api_op_AddTrustStoreRevocations.go.snap | 1 - .../snapshot/api_op_CreateListener.go.snap | 1 - .../api_op_CreateLoadBalancer.go.snap | 1 - .../snapshot/api_op_CreateRule.go.snap | 1 - .../snapshot/api_op_CreateTargetGroup.go.snap | 1 - .../snapshot/api_op_CreateTrustStore.go.snap | 1 - .../snapshot/api_op_DeleteListener.go.snap | 1 - .../api_op_DeleteLoadBalancer.go.snap | 1 - .../snapshot/api_op_DeleteRule.go.snap | 1 - ..._DeleteSharedTrustStoreAssociation.go.snap | 1 - .../snapshot/api_op_DeleteTargetGroup.go.snap | 1 - .../snapshot/api_op_DeleteTrustStore.go.snap | 1 - .../snapshot/api_op_DeregisterTargets.go.snap | 1 - .../api_op_DescribeAccountLimits.go.snap | 1 - ...api_op_DescribeCapacityReservation.go.snap | 1 - .../api_op_DescribeListenerAttributes.go.snap | 1 - ...pi_op_DescribeListenerCertificates.go.snap | 1 - .../snapshot/api_op_DescribeListeners.go.snap | 1 - ..._op_DescribeLoadBalancerAttributes.go.snap | 1 - .../api_op_DescribeLoadBalancers.go.snap | 1 - .../snapshot/api_op_DescribeRules.go.snap | 1 - .../api_op_DescribeSSLPolicies.go.snap | 1 - .../snapshot/api_op_DescribeTags.go.snap | 1 - ...i_op_DescribeTargetGroupAttributes.go.snap | 1 - .../api_op_DescribeTargetGroups.go.snap | 1 - .../api_op_DescribeTargetHealth.go.snap | 1 - ..._op_DescribeTrustStoreAssociations.go.snap | 1 - ...i_op_DescribeTrustStoreRevocations.go.snap | 1 - .../api_op_DescribeTrustStores.go.snap | 1 - .../snapshot/api_op_GetResourcePolicy.go.snap | 1 - ..._GetTrustStoreCaCertificatesBundle.go.snap | 1 - ..._op_GetTrustStoreRevocationContent.go.snap | 1 - .../api_op_ModifyCapacityReservation.go.snap | 1 - .../snapshot/api_op_ModifyListener.go.snap | 1 - .../api_op_ModifyListenerAttributes.go.snap | 1 - ...pi_op_ModifyLoadBalancerAttributes.go.snap | 1 - .../snapshot/api_op_ModifyRule.go.snap | 1 - .../snapshot/api_op_ModifyTargetGroup.go.snap | 1 - ...api_op_ModifyTargetGroupAttributes.go.snap | 1 - .../snapshot/api_op_ModifyTrustStore.go.snap | 1 - .../snapshot/api_op_RegisterTargets.go.snap | 1 - .../api_op_RemoveListenerCertificates.go.snap | 1 - .../snapshot/api_op_RemoveTags.go.snap | 1 - ...api_op_RemoveTrustStoreRevocations.go.snap | 1 - .../snapshot/api_op_SetIpAddressType.go.snap | 1 - .../snapshot/api_op_SetRulePriorities.go.snap | 1 - .../snapshot/api_op_SetSecurityGroups.go.snap | 1 - .../snapshot/api_op_SetSubnets.go.snap | 1 - service/elasticsearchservice/api_client.go | 31 -- ...ceptInboundCrossClusterSearchConnection.go | 3 - .../elasticsearchservice/api_op_AddTags.go | 3 - .../api_op_AssociatePackage.go | 3 - .../api_op_AuthorizeVpcEndpointAccess.go | 3 - .../api_op_CancelDomainConfigChange.go | 3 - ...ancelElasticsearchServiceSoftwareUpdate.go | 3 - .../api_op_CreateElasticsearchDomain.go | 3 - ...ateOutboundCrossClusterSearchConnection.go | 3 - .../api_op_CreatePackage.go | 3 - .../api_op_CreateVpcEndpoint.go | 3 - .../api_op_DeleteElasticsearchDomain.go | 3 - .../api_op_DeleteElasticsearchServiceRole.go | 3 - ...leteInboundCrossClusterSearchConnection.go | 3 - ...eteOutboundCrossClusterSearchConnection.go | 3 - .../api_op_DeletePackage.go | 3 - .../api_op_DeleteVpcEndpoint.go | 3 - .../api_op_DescribeDomainAutoTunes.go | 3 - .../api_op_DescribeDomainChangeProgress.go | 3 - .../api_op_DescribeElasticsearchDomain.go | 3 - ...pi_op_DescribeElasticsearchDomainConfig.go | 3 - .../api_op_DescribeElasticsearchDomains.go | 3 - ...DescribeElasticsearchInstanceTypeLimits.go | 3 - ...ibeInboundCrossClusterSearchConnections.go | 3 - ...beOutboundCrossClusterSearchConnections.go | 3 - .../api_op_DescribePackages.go | 3 - ...eReservedElasticsearchInstanceOfferings.go | 3 - ..._DescribeReservedElasticsearchInstances.go | 3 - .../api_op_DescribeVpcEndpoints.go | 3 - .../api_op_DissociatePackage.go | 3 - ...i_op_GetCompatibleElasticsearchVersions.go | 3 - .../api_op_GetPackageVersionHistory.go | 3 - .../api_op_GetUpgradeHistory.go | 3 - .../api_op_GetUpgradeStatus.go | 3 - .../api_op_ListDomainNames.go | 3 - .../api_op_ListDomainsForPackage.go | 3 - .../api_op_ListElasticsearchInstanceTypes.go | 3 - .../api_op_ListElasticsearchVersions.go | 3 - .../api_op_ListPackagesForDomain.go | 3 - .../elasticsearchservice/api_op_ListTags.go | 3 - .../api_op_ListVpcEndpointAccess.go | 3 - .../api_op_ListVpcEndpoints.go | 3 - .../api_op_ListVpcEndpointsForDomain.go | 3 - ...seReservedElasticsearchInstanceOffering.go | 3 - ...jectInboundCrossClusterSearchConnection.go | 3 - .../elasticsearchservice/api_op_RemoveTags.go | 3 - .../api_op_RevokeVpcEndpointAccess.go | 3 - ...StartElasticsearchServiceSoftwareUpdate.go | 3 - .../api_op_UpdateElasticsearchDomainConfig.go | 3 - .../api_op_UpdatePackage.go | 3 - .../api_op_UpdateVpcEndpoint.go | 3 - .../api_op_UpgradeElasticsearchDomain.go | 3 - ...nboundCrossClusterSearchConnection.go.snap | 1 - .../snapshot/api_op_AddTags.go.snap | 1 - .../snapshot/api_op_AssociatePackage.go.snap | 1 - .../api_op_AuthorizeVpcEndpointAccess.go.snap | 1 - .../api_op_CancelDomainConfigChange.go.snap | 1 - ...ElasticsearchServiceSoftwareUpdate.go.snap | 1 - .../api_op_CreateElasticsearchDomain.go.snap | 1 - ...tboundCrossClusterSearchConnection.go.snap | 1 - .../snapshot/api_op_CreatePackage.go.snap | 1 - .../snapshot/api_op_CreateVpcEndpoint.go.snap | 1 - .../api_op_DeleteElasticsearchDomain.go.snap | 1 - ..._op_DeleteElasticsearchServiceRole.go.snap | 1 - ...nboundCrossClusterSearchConnection.go.snap | 1 - ...tboundCrossClusterSearchConnection.go.snap | 1 - .../snapshot/api_op_DeletePackage.go.snap | 1 - .../snapshot/api_op_DeleteVpcEndpoint.go.snap | 1 - .../api_op_DescribeDomainAutoTunes.go.snap | 1 - ...pi_op_DescribeDomainChangeProgress.go.snap | 1 - ...api_op_DescribeElasticsearchDomain.go.snap | 1 - ..._DescribeElasticsearchDomainConfig.go.snap | 1 - ...pi_op_DescribeElasticsearchDomains.go.snap | 1 - ...ibeElasticsearchInstanceTypeLimits.go.snap | 1 - ...boundCrossClusterSearchConnections.go.snap | 1 - ...boundCrossClusterSearchConnections.go.snap | 1 - .../snapshot/api_op_DescribePackages.go.snap | 1 - ...rvedElasticsearchInstanceOfferings.go.snap | 1 - ...ribeReservedElasticsearchInstances.go.snap | 1 - .../api_op_DescribeVpcEndpoints.go.snap | 1 - .../snapshot/api_op_DissociatePackage.go.snap | 1 - ...GetCompatibleElasticsearchVersions.go.snap | 1 - .../api_op_GetPackageVersionHistory.go.snap | 1 - .../snapshot/api_op_GetUpgradeHistory.go.snap | 1 - .../snapshot/api_op_GetUpgradeStatus.go.snap | 1 - .../snapshot/api_op_ListDomainNames.go.snap | 1 - .../api_op_ListDomainsForPackage.go.snap | 1 - ..._op_ListElasticsearchInstanceTypes.go.snap | 1 - .../api_op_ListElasticsearchVersions.go.snap | 1 - .../api_op_ListPackagesForDomain.go.snap | 1 - .../snapshot/api_op_ListTags.go.snap | 1 - .../api_op_ListVpcEndpointAccess.go.snap | 1 - .../snapshot/api_op_ListVpcEndpoints.go.snap | 1 - .../api_op_ListVpcEndpointsForDomain.go.snap | 1 - ...ervedElasticsearchInstanceOffering.go.snap | 1 - ...nboundCrossClusterSearchConnection.go.snap | 1 - .../snapshot/api_op_RemoveTags.go.snap | 1 - .../api_op_RevokeVpcEndpointAccess.go.snap | 1 - ...ElasticsearchServiceSoftwareUpdate.go.snap | 1 - ...op_UpdateElasticsearchDomainConfig.go.snap | 1 - .../snapshot/api_op_UpdatePackage.go.snap | 1 - .../snapshot/api_op_UpdateVpcEndpoint.go.snap | 1 - .../api_op_UpgradeElasticsearchDomain.go.snap | 1 - service/elastictranscoder/api_client.go | 31 -- service/elastictranscoder/api_op_CancelJob.go | 3 - service/elastictranscoder/api_op_CreateJob.go | 3 - .../api_op_CreatePipeline.go | 3 - .../elastictranscoder/api_op_CreatePreset.go | 3 - .../api_op_DeletePipeline.go | 3 - .../elastictranscoder/api_op_DeletePreset.go | 3 - .../api_op_ListJobsByPipeline.go | 3 - .../api_op_ListJobsByStatus.go | 3 - .../elastictranscoder/api_op_ListPipelines.go | 3 - .../elastictranscoder/api_op_ListPresets.go | 3 - service/elastictranscoder/api_op_ReadJob.go | 3 - .../elastictranscoder/api_op_ReadPipeline.go | 3 - .../elastictranscoder/api_op_ReadPreset.go | 3 - service/elastictranscoder/api_op_TestRole.go | 3 - .../api_op_UpdatePipeline.go | 3 - .../api_op_UpdatePipelineNotifications.go | 3 - .../api_op_UpdatePipelineStatus.go | 3 - .../snapshot/api_op_CancelJob.go.snap | 1 - .../snapshot/api_op_CreateJob.go.snap | 1 - .../snapshot/api_op_CreatePipeline.go.snap | 1 - .../snapshot/api_op_CreatePreset.go.snap | 1 - .../snapshot/api_op_DeletePipeline.go.snap | 1 - .../snapshot/api_op_DeletePreset.go.snap | 1 - .../api_op_ListJobsByPipeline.go.snap | 1 - .../snapshot/api_op_ListJobsByStatus.go.snap | 1 - .../snapshot/api_op_ListPipelines.go.snap | 1 - .../snapshot/api_op_ListPresets.go.snap | 1 - .../snapshot/api_op_ReadJob.go.snap | 1 - .../snapshot/api_op_ReadPipeline.go.snap | 1 - .../snapshot/api_op_ReadPreset.go.snap | 1 - .../snapshot/api_op_TestRole.go.snap | 1 - .../snapshot/api_op_UpdatePipeline.go.snap | 1 - ...api_op_UpdatePipelineNotifications.go.snap | 1 - .../api_op_UpdatePipelineStatus.go.snap | 1 - service/emr/api_client.go | 31 -- service/emr/api_op_AddInstanceFleet.go | 3 - service/emr/api_op_AddInstanceGroups.go | 3 - service/emr/api_op_AddJobFlowSteps.go | 3 - service/emr/api_op_AddTags.go | 3 - service/emr/api_op_CancelSteps.go | 3 - .../emr/api_op_CreateSecurityConfiguration.go | 3 - service/emr/api_op_CreateStudio.go | 3 - .../emr/api_op_CreateStudioSessionMapping.go | 3 - .../emr/api_op_DeleteSecurityConfiguration.go | 3 - service/emr/api_op_DeleteStudio.go | 3 - .../emr/api_op_DeleteStudioSessionMapping.go | 3 - service/emr/api_op_DescribeCluster.go | 3 - service/emr/api_op_DescribeJobFlows.go | 3 - .../emr/api_op_DescribeNotebookExecution.go | 3 - service/emr/api_op_DescribeReleaseLabel.go | 3 - .../api_op_DescribeSecurityConfiguration.go | 3 - service/emr/api_op_DescribeStep.go | 3 - service/emr/api_op_DescribeStudio.go | 3 - .../emr/api_op_GetAutoTerminationPolicy.go | 3 - ...pi_op_GetBlockPublicAccessConfiguration.go | 3 - .../api_op_GetClusterSessionCredentials.go | 3 - service/emr/api_op_GetManagedScalingPolicy.go | 3 - service/emr/api_op_GetStudioSessionMapping.go | 3 - service/emr/api_op_ListBootstrapActions.go | 3 - service/emr/api_op_ListClusters.go | 3 - service/emr/api_op_ListInstanceFleets.go | 3 - service/emr/api_op_ListInstanceGroups.go | 3 - service/emr/api_op_ListInstances.go | 3 - service/emr/api_op_ListNotebookExecutions.go | 3 - service/emr/api_op_ListReleaseLabels.go | 3 - .../emr/api_op_ListSecurityConfigurations.go | 3 - service/emr/api_op_ListSteps.go | 3 - .../emr/api_op_ListStudioSessionMappings.go | 3 - service/emr/api_op_ListStudios.go | 3 - .../emr/api_op_ListSupportedInstanceTypes.go | 3 - service/emr/api_op_ModifyCluster.go | 3 - service/emr/api_op_ModifyInstanceFleet.go | 3 - service/emr/api_op_ModifyInstanceGroups.go | 3 - service/emr/api_op_PutAutoScalingPolicy.go | 3 - .../emr/api_op_PutAutoTerminationPolicy.go | 3 - ...pi_op_PutBlockPublicAccessConfiguration.go | 3 - service/emr/api_op_PutManagedScalingPolicy.go | 3 - service/emr/api_op_RemoveAutoScalingPolicy.go | 3 - .../emr/api_op_RemoveAutoTerminationPolicy.go | 3 - .../emr/api_op_RemoveManagedScalingPolicy.go | 3 - service/emr/api_op_RemoveTags.go | 3 - service/emr/api_op_RunJobFlow.go | 3 - .../api_op_SetKeepJobFlowAliveWhenNoSteps.go | 3 - .../emr/api_op_SetTerminationProtection.go | 3 - .../emr/api_op_SetUnhealthyNodeReplacement.go | 3 - service/emr/api_op_SetVisibleToAllUsers.go | 3 - service/emr/api_op_StartNotebookExecution.go | 3 - service/emr/api_op_StopNotebookExecution.go | 3 - service/emr/api_op_TerminateJobFlows.go | 3 - service/emr/api_op_UpdateStudio.go | 3 - .../emr/api_op_UpdateStudioSessionMapping.go | 3 - .../snapshot/api_op_AddInstanceFleet.go.snap | 1 - .../snapshot/api_op_AddInstanceGroups.go.snap | 1 - .../snapshot/api_op_AddJobFlowSteps.go.snap | 1 - service/emr/snapshot/api_op_AddTags.go.snap | 1 - .../emr/snapshot/api_op_CancelSteps.go.snap | 1 - ...api_op_CreateSecurityConfiguration.go.snap | 1 - .../emr/snapshot/api_op_CreateStudio.go.snap | 1 - .../api_op_CreateStudioSessionMapping.go.snap | 1 - ...api_op_DeleteSecurityConfiguration.go.snap | 1 - .../emr/snapshot/api_op_DeleteStudio.go.snap | 1 - .../api_op_DeleteStudioSessionMapping.go.snap | 1 - .../snapshot/api_op_DescribeCluster.go.snap | 1 - .../snapshot/api_op_DescribeJobFlows.go.snap | 1 - .../api_op_DescribeNotebookExecution.go.snap | 1 - .../api_op_DescribeReleaseLabel.go.snap | 1 - ...i_op_DescribeSecurityConfiguration.go.snap | 1 - .../emr/snapshot/api_op_DescribeStep.go.snap | 1 - .../snapshot/api_op_DescribeStudio.go.snap | 1 - .../api_op_GetAutoTerminationPolicy.go.snap | 1 - ..._GetBlockPublicAccessConfiguration.go.snap | 1 - ...pi_op_GetClusterSessionCredentials.go.snap | 1 - .../api_op_GetManagedScalingPolicy.go.snap | 1 - .../api_op_GetStudioSessionMapping.go.snap | 1 - .../api_op_ListBootstrapActions.go.snap | 1 - .../emr/snapshot/api_op_ListClusters.go.snap | 1 - .../api_op_ListInstanceFleets.go.snap | 1 - .../api_op_ListInstanceGroups.go.snap | 1 - .../emr/snapshot/api_op_ListInstances.go.snap | 1 - .../api_op_ListNotebookExecutions.go.snap | 1 - .../snapshot/api_op_ListReleaseLabels.go.snap | 1 - .../api_op_ListSecurityConfigurations.go.snap | 1 - service/emr/snapshot/api_op_ListSteps.go.snap | 1 - .../api_op_ListStudioSessionMappings.go.snap | 1 - .../emr/snapshot/api_op_ListStudios.go.snap | 1 - .../api_op_ListSupportedInstanceTypes.go.snap | 1 - .../emr/snapshot/api_op_ModifyCluster.go.snap | 1 - .../api_op_ModifyInstanceFleet.go.snap | 1 - .../api_op_ModifyInstanceGroups.go.snap | 1 - .../api_op_PutAutoScalingPolicy.go.snap | 1 - .../api_op_PutAutoTerminationPolicy.go.snap | 1 - ..._PutBlockPublicAccessConfiguration.go.snap | 1 - .../api_op_PutManagedScalingPolicy.go.snap | 1 - .../api_op_RemoveAutoScalingPolicy.go.snap | 1 - ...api_op_RemoveAutoTerminationPolicy.go.snap | 1 - .../api_op_RemoveManagedScalingPolicy.go.snap | 1 - .../emr/snapshot/api_op_RemoveTags.go.snap | 1 - .../emr/snapshot/api_op_RunJobFlow.go.snap | 1 - ..._op_SetKeepJobFlowAliveWhenNoSteps.go.snap | 1 - .../api_op_SetTerminationProtection.go.snap | 1 - ...api_op_SetUnhealthyNodeReplacement.go.snap | 1 - .../api_op_SetVisibleToAllUsers.go.snap | 1 - .../api_op_StartNotebookExecution.go.snap | 1 - .../api_op_StopNotebookExecution.go.snap | 1 - .../snapshot/api_op_TerminateJobFlows.go.snap | 1 - .../emr/snapshot/api_op_UpdateStudio.go.snap | 1 - .../api_op_UpdateStudioSessionMapping.go.snap | 1 - service/emrcontainers/api_client.go | 31 -- service/emrcontainers/api_op_CancelJobRun.go | 3 - .../emrcontainers/api_op_CreateJobTemplate.go | 3 - .../api_op_CreateManagedEndpoint.go | 3 - .../api_op_CreateSecurityConfiguration.go | 3 - .../api_op_CreateVirtualCluster.go | 3 - .../emrcontainers/api_op_DeleteJobTemplate.go | 3 - .../api_op_DeleteManagedEndpoint.go | 3 - .../api_op_DeleteVirtualCluster.go | 3 - .../emrcontainers/api_op_DescribeJobRun.go | 3 - .../api_op_DescribeJobTemplate.go | 3 - .../api_op_DescribeManagedEndpoint.go | 3 - .../api_op_DescribeSecurityConfiguration.go | 3 - .../api_op_DescribeVirtualCluster.go | 3 - ...op_GetManagedEndpointSessionCredentials.go | 3 - service/emrcontainers/api_op_ListJobRuns.go | 3 - .../emrcontainers/api_op_ListJobTemplates.go | 3 - .../api_op_ListManagedEndpoints.go | 3 - .../api_op_ListSecurityConfigurations.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_ListVirtualClusters.go | 3 - service/emrcontainers/api_op_StartJobRun.go | 3 - service/emrcontainers/api_op_TagResource.go | 3 - service/emrcontainers/api_op_UntagResource.go | 3 - .../snapshot/api_op_CancelJobRun.go.snap | 1 - .../snapshot/api_op_CreateJobTemplate.go.snap | 1 - .../api_op_CreateManagedEndpoint.go.snap | 1 - ...api_op_CreateSecurityConfiguration.go.snap | 1 - .../api_op_CreateVirtualCluster.go.snap | 1 - .../snapshot/api_op_DeleteJobTemplate.go.snap | 1 - .../api_op_DeleteManagedEndpoint.go.snap | 1 - .../api_op_DeleteVirtualCluster.go.snap | 1 - .../snapshot/api_op_DescribeJobRun.go.snap | 1 - .../api_op_DescribeJobTemplate.go.snap | 1 - .../api_op_DescribeManagedEndpoint.go.snap | 1 - ...i_op_DescribeSecurityConfiguration.go.snap | 1 - .../api_op_DescribeVirtualCluster.go.snap | 1 - ...tManagedEndpointSessionCredentials.go.snap | 1 - .../snapshot/api_op_ListJobRuns.go.snap | 1 - .../snapshot/api_op_ListJobTemplates.go.snap | 1 - .../api_op_ListManagedEndpoints.go.snap | 1 - .../api_op_ListSecurityConfigurations.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListVirtualClusters.go.snap | 1 - .../snapshot/api_op_StartJobRun.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - service/emrserverless/api_client.go | 31 -- service/emrserverless/api_op_CancelJobRun.go | 3 - .../emrserverless/api_op_CreateApplication.go | 3 - .../emrserverless/api_op_DeleteApplication.go | 3 - .../emrserverless/api_op_GetApplication.go | 3 - .../api_op_GetDashboardForJobRun.go | 3 - service/emrserverless/api_op_GetJobRun.go | 3 - .../emrserverless/api_op_ListApplications.go | 3 - .../api_op_ListJobRunAttempts.go | 3 - service/emrserverless/api_op_ListJobRuns.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../emrserverless/api_op_StartApplication.go | 3 - service/emrserverless/api_op_StartJobRun.go | 3 - .../emrserverless/api_op_StopApplication.go | 3 - service/emrserverless/api_op_TagResource.go | 3 - service/emrserverless/api_op_UntagResource.go | 3 - .../emrserverless/api_op_UpdateApplication.go | 3 - .../snapshot/api_op_CancelJobRun.go.snap | 1 - .../snapshot/api_op_CreateApplication.go.snap | 1 - .../snapshot/api_op_DeleteApplication.go.snap | 1 - .../snapshot/api_op_GetApplication.go.snap | 1 - .../api_op_GetDashboardForJobRun.go.snap | 1 - .../snapshot/api_op_GetJobRun.go.snap | 1 - .../snapshot/api_op_ListApplications.go.snap | 1 - .../api_op_ListJobRunAttempts.go.snap | 1 - .../snapshot/api_op_ListJobRuns.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_StartApplication.go.snap | 1 - .../snapshot/api_op_StartJobRun.go.snap | 1 - .../snapshot/api_op_StopApplication.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateApplication.go.snap | 1 - service/entityresolution/api_client.go | 31 -- .../api_op_AddPolicyStatement.go | 3 - .../api_op_BatchDeleteUniqueId.go | 3 - .../api_op_CreateIdMappingWorkflow.go | 3 - .../api_op_CreateIdNamespace.go | 3 - .../api_op_CreateMatchingWorkflow.go | 3 - .../api_op_CreateSchemaMapping.go | 3 - .../api_op_DeleteIdMappingWorkflow.go | 3 - .../api_op_DeleteIdNamespace.go | 3 - .../api_op_DeleteMatchingWorkflow.go | 3 - .../api_op_DeletePolicyStatement.go | 3 - .../api_op_DeleteSchemaMapping.go | 3 - .../api_op_GetIdMappingJob.go | 3 - .../api_op_GetIdMappingWorkflow.go | 3 - .../entityresolution/api_op_GetIdNamespace.go | 3 - service/entityresolution/api_op_GetMatchId.go | 3 - .../entityresolution/api_op_GetMatchingJob.go | 3 - .../api_op_GetMatchingWorkflow.go | 3 - service/entityresolution/api_op_GetPolicy.go | 3 - .../api_op_GetProviderService.go | 3 - .../api_op_GetSchemaMapping.go | 3 - .../api_op_ListIdMappingJobs.go | 3 - .../api_op_ListIdMappingWorkflows.go | 3 - .../api_op_ListIdNamespaces.go | 3 - .../api_op_ListMatchingJobs.go | 3 - .../api_op_ListMatchingWorkflows.go | 3 - .../api_op_ListProviderServices.go | 3 - .../api_op_ListSchemaMappings.go | 3 - .../api_op_ListTagsForResource.go | 3 - service/entityresolution/api_op_PutPolicy.go | 3 - .../api_op_StartIdMappingJob.go | 3 - .../api_op_StartMatchingJob.go | 3 - .../entityresolution/api_op_TagResource.go | 3 - .../entityresolution/api_op_UntagResource.go | 3 - .../api_op_UpdateIdMappingWorkflow.go | 3 - .../api_op_UpdateIdNamespace.go | 3 - .../api_op_UpdateMatchingWorkflow.go | 3 - .../api_op_UpdateSchemaMapping.go | 3 - .../api_op_AddPolicyStatement.go.snap | 1 - .../api_op_BatchDeleteUniqueId.go.snap | 1 - .../api_op_CreateIdMappingWorkflow.go.snap | 1 - .../snapshot/api_op_CreateIdNamespace.go.snap | 1 - .../api_op_CreateMatchingWorkflow.go.snap | 1 - .../api_op_CreateSchemaMapping.go.snap | 1 - .../api_op_DeleteIdMappingWorkflow.go.snap | 1 - .../snapshot/api_op_DeleteIdNamespace.go.snap | 1 - .../api_op_DeleteMatchingWorkflow.go.snap | 1 - .../api_op_DeletePolicyStatement.go.snap | 1 - .../api_op_DeleteSchemaMapping.go.snap | 1 - .../snapshot/api_op_GetIdMappingJob.go.snap | 1 - .../api_op_GetIdMappingWorkflow.go.snap | 1 - .../snapshot/api_op_GetIdNamespace.go.snap | 1 - .../snapshot/api_op_GetMatchId.go.snap | 1 - .../snapshot/api_op_GetMatchingJob.go.snap | 1 - .../api_op_GetMatchingWorkflow.go.snap | 1 - .../snapshot/api_op_GetPolicy.go.snap | 1 - .../api_op_GetProviderService.go.snap | 1 - .../snapshot/api_op_GetSchemaMapping.go.snap | 1 - .../snapshot/api_op_ListIdMappingJobs.go.snap | 1 - .../api_op_ListIdMappingWorkflows.go.snap | 1 - .../snapshot/api_op_ListIdNamespaces.go.snap | 1 - .../snapshot/api_op_ListMatchingJobs.go.snap | 1 - .../api_op_ListMatchingWorkflows.go.snap | 1 - .../api_op_ListProviderServices.go.snap | 1 - .../api_op_ListSchemaMappings.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_PutPolicy.go.snap | 1 - .../snapshot/api_op_StartIdMappingJob.go.snap | 1 - .../snapshot/api_op_StartMatchingJob.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateIdMappingWorkflow.go.snap | 1 - .../snapshot/api_op_UpdateIdNamespace.go.snap | 1 - .../api_op_UpdateMatchingWorkflow.go.snap | 1 - .../api_op_UpdateSchemaMapping.go.snap | 1 - service/eventbridge/api_client.go | 31 -- .../eventbridge/api_op_ActivateEventSource.go | 3 - service/eventbridge/api_op_CancelReplay.go | 3 - .../api_op_CreateApiDestination.go | 3 - service/eventbridge/api_op_CreateArchive.go | 3 - .../eventbridge/api_op_CreateConnection.go | 3 - service/eventbridge/api_op_CreateEndpoint.go | 3 - service/eventbridge/api_op_CreateEventBus.go | 3 - .../api_op_CreatePartnerEventSource.go | 3 - .../api_op_DeactivateEventSource.go | 3 - .../api_op_DeauthorizeConnection.go | 3 - .../api_op_DeleteApiDestination.go | 3 - service/eventbridge/api_op_DeleteArchive.go | 3 - .../eventbridge/api_op_DeleteConnection.go | 3 - service/eventbridge/api_op_DeleteEndpoint.go | 3 - service/eventbridge/api_op_DeleteEventBus.go | 3 - .../api_op_DeletePartnerEventSource.go | 3 - service/eventbridge/api_op_DeleteRule.go | 3 - .../api_op_DescribeApiDestination.go | 3 - service/eventbridge/api_op_DescribeArchive.go | 3 - .../eventbridge/api_op_DescribeConnection.go | 3 - .../eventbridge/api_op_DescribeEndpoint.go | 3 - .../eventbridge/api_op_DescribeEventBus.go | 3 - .../eventbridge/api_op_DescribeEventSource.go | 3 - .../api_op_DescribePartnerEventSource.go | 3 - service/eventbridge/api_op_DescribeReplay.go | 3 - service/eventbridge/api_op_DescribeRule.go | 3 - service/eventbridge/api_op_DisableRule.go | 3 - service/eventbridge/api_op_EnableRule.go | 3 - .../eventbridge/api_op_ListApiDestinations.go | 3 - service/eventbridge/api_op_ListArchives.go | 3 - service/eventbridge/api_op_ListConnections.go | 3 - service/eventbridge/api_op_ListEndpoints.go | 3 - service/eventbridge/api_op_ListEventBuses.go | 3 - .../eventbridge/api_op_ListEventSources.go | 3 - .../api_op_ListPartnerEventSourceAccounts.go | 3 - .../api_op_ListPartnerEventSources.go | 3 - service/eventbridge/api_op_ListReplays.go | 3 - .../api_op_ListRuleNamesByTarget.go | 3 - service/eventbridge/api_op_ListRules.go | 3 - .../eventbridge/api_op_ListTagsForResource.go | 3 - .../eventbridge/api_op_ListTargetsByRule.go | 3 - service/eventbridge/api_op_PutEvents.go | 3 - .../eventbridge/api_op_PutPartnerEvents.go | 3 - service/eventbridge/api_op_PutPermission.go | 3 - service/eventbridge/api_op_PutRule.go | 3 - service/eventbridge/api_op_PutTargets.go | 3 - .../eventbridge/api_op_RemovePermission.go | 3 - service/eventbridge/api_op_RemoveTargets.go | 3 - service/eventbridge/api_op_StartReplay.go | 3 - service/eventbridge/api_op_TagResource.go | 3 - .../eventbridge/api_op_TestEventPattern.go | 3 - service/eventbridge/api_op_UntagResource.go | 3 - .../api_op_UpdateApiDestination.go | 3 - service/eventbridge/api_op_UpdateArchive.go | 3 - .../eventbridge/api_op_UpdateConnection.go | 3 - service/eventbridge/api_op_UpdateEndpoint.go | 3 - service/eventbridge/api_op_UpdateEventBus.go | 3 - .../api_op_ActivateEventSource.go.snap | 1 - .../snapshot/api_op_CancelReplay.go.snap | 1 - .../api_op_CreateApiDestination.go.snap | 1 - .../snapshot/api_op_CreateArchive.go.snap | 1 - .../snapshot/api_op_CreateConnection.go.snap | 1 - .../snapshot/api_op_CreateEndpoint.go.snap | 1 - .../snapshot/api_op_CreateEventBus.go.snap | 1 - .../api_op_CreatePartnerEventSource.go.snap | 1 - .../api_op_DeactivateEventSource.go.snap | 1 - .../api_op_DeauthorizeConnection.go.snap | 1 - .../api_op_DeleteApiDestination.go.snap | 1 - .../snapshot/api_op_DeleteArchive.go.snap | 1 - .../snapshot/api_op_DeleteConnection.go.snap | 1 - .../snapshot/api_op_DeleteEndpoint.go.snap | 1 - .../snapshot/api_op_DeleteEventBus.go.snap | 1 - .../api_op_DeletePartnerEventSource.go.snap | 1 - .../snapshot/api_op_DeleteRule.go.snap | 1 - .../api_op_DescribeApiDestination.go.snap | 1 - .../snapshot/api_op_DescribeArchive.go.snap | 1 - .../api_op_DescribeConnection.go.snap | 1 - .../snapshot/api_op_DescribeEndpoint.go.snap | 1 - .../snapshot/api_op_DescribeEventBus.go.snap | 1 - .../api_op_DescribeEventSource.go.snap | 1 - .../api_op_DescribePartnerEventSource.go.snap | 1 - .../snapshot/api_op_DescribeReplay.go.snap | 1 - .../snapshot/api_op_DescribeRule.go.snap | 1 - .../snapshot/api_op_DisableRule.go.snap | 1 - .../snapshot/api_op_EnableRule.go.snap | 1 - .../api_op_ListApiDestinations.go.snap | 1 - .../snapshot/api_op_ListArchives.go.snap | 1 - .../snapshot/api_op_ListConnections.go.snap | 1 - .../snapshot/api_op_ListEndpoints.go.snap | 1 - .../snapshot/api_op_ListEventBuses.go.snap | 1 - .../snapshot/api_op_ListEventSources.go.snap | 1 - ..._op_ListPartnerEventSourceAccounts.go.snap | 1 - .../api_op_ListPartnerEventSources.go.snap | 1 - .../snapshot/api_op_ListReplays.go.snap | 1 - .../api_op_ListRuleNamesByTarget.go.snap | 1 - .../snapshot/api_op_ListRules.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListTargetsByRule.go.snap | 1 - .../snapshot/api_op_PutEvents.go.snap | 1 - .../snapshot/api_op_PutPartnerEvents.go.snap | 1 - .../snapshot/api_op_PutPermission.go.snap | 1 - .../snapshot/api_op_PutRule.go.snap | 1 - .../snapshot/api_op_PutTargets.go.snap | 1 - .../snapshot/api_op_RemovePermission.go.snap | 1 - .../snapshot/api_op_RemoveTargets.go.snap | 1 - .../snapshot/api_op_StartReplay.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_TestEventPattern.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateApiDestination.go.snap | 1 - .../snapshot/api_op_UpdateArchive.go.snap | 1 - .../snapshot/api_op_UpdateConnection.go.snap | 1 - .../snapshot/api_op_UpdateEndpoint.go.snap | 1 - .../snapshot/api_op_UpdateEventBus.go.snap | 1 - service/evidently/api_client.go | 31 -- .../evidently/api_op_BatchEvaluateFeature.go | 3 - service/evidently/api_op_CreateExperiment.go | 3 - service/evidently/api_op_CreateFeature.go | 3 - service/evidently/api_op_CreateLaunch.go | 3 - service/evidently/api_op_CreateProject.go | 3 - service/evidently/api_op_CreateSegment.go | 3 - service/evidently/api_op_DeleteExperiment.go | 3 - service/evidently/api_op_DeleteFeature.go | 3 - service/evidently/api_op_DeleteLaunch.go | 3 - service/evidently/api_op_DeleteProject.go | 3 - service/evidently/api_op_DeleteSegment.go | 3 - service/evidently/api_op_EvaluateFeature.go | 3 - service/evidently/api_op_GetExperiment.go | 3 - .../evidently/api_op_GetExperimentResults.go | 3 - service/evidently/api_op_GetFeature.go | 3 - service/evidently/api_op_GetLaunch.go | 3 - service/evidently/api_op_GetProject.go | 3 - service/evidently/api_op_GetSegment.go | 3 - service/evidently/api_op_ListExperiments.go | 3 - service/evidently/api_op_ListFeatures.go | 3 - service/evidently/api_op_ListLaunches.go | 3 - service/evidently/api_op_ListProjects.go | 3 - .../evidently/api_op_ListSegmentReferences.go | 3 - service/evidently/api_op_ListSegments.go | 3 - .../evidently/api_op_ListTagsForResource.go | 3 - service/evidently/api_op_PutProjectEvents.go | 3 - service/evidently/api_op_StartExperiment.go | 3 - service/evidently/api_op_StartLaunch.go | 3 - service/evidently/api_op_StopExperiment.go | 3 - service/evidently/api_op_StopLaunch.go | 3 - service/evidently/api_op_TagResource.go | 3 - .../evidently/api_op_TestSegmentPattern.go | 3 - service/evidently/api_op_UntagResource.go | 3 - service/evidently/api_op_UpdateExperiment.go | 3 - service/evidently/api_op_UpdateFeature.go | 3 - service/evidently/api_op_UpdateLaunch.go | 3 - service/evidently/api_op_UpdateProject.go | 3 - .../api_op_UpdateProjectDataDelivery.go | 3 - .../api_op_BatchEvaluateFeature.go.snap | 1 - .../snapshot/api_op_CreateExperiment.go.snap | 1 - .../snapshot/api_op_CreateFeature.go.snap | 1 - .../snapshot/api_op_CreateLaunch.go.snap | 1 - .../snapshot/api_op_CreateProject.go.snap | 1 - .../snapshot/api_op_CreateSegment.go.snap | 1 - .../snapshot/api_op_DeleteExperiment.go.snap | 1 - .../snapshot/api_op_DeleteFeature.go.snap | 1 - .../snapshot/api_op_DeleteLaunch.go.snap | 1 - .../snapshot/api_op_DeleteProject.go.snap | 1 - .../snapshot/api_op_DeleteSegment.go.snap | 1 - .../snapshot/api_op_EvaluateFeature.go.snap | 1 - .../snapshot/api_op_GetExperiment.go.snap | 1 - .../api_op_GetExperimentResults.go.snap | 1 - .../snapshot/api_op_GetFeature.go.snap | 1 - .../snapshot/api_op_GetLaunch.go.snap | 1 - .../snapshot/api_op_GetProject.go.snap | 1 - .../snapshot/api_op_GetSegment.go.snap | 1 - .../snapshot/api_op_ListExperiments.go.snap | 1 - .../snapshot/api_op_ListFeatures.go.snap | 1 - .../snapshot/api_op_ListLaunches.go.snap | 1 - .../snapshot/api_op_ListProjects.go.snap | 1 - .../api_op_ListSegmentReferences.go.snap | 1 - .../snapshot/api_op_ListSegments.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_PutProjectEvents.go.snap | 1 - .../snapshot/api_op_StartExperiment.go.snap | 1 - .../snapshot/api_op_StartLaunch.go.snap | 1 - .../snapshot/api_op_StopExperiment.go.snap | 1 - .../snapshot/api_op_StopLaunch.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../api_op_TestSegmentPattern.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateExperiment.go.snap | 1 - .../snapshot/api_op_UpdateFeature.go.snap | 1 - .../snapshot/api_op_UpdateLaunch.go.snap | 1 - .../snapshot/api_op_UpdateProject.go.snap | 1 - .../api_op_UpdateProjectDataDelivery.go.snap | 1 - service/finspace/api_client.go | 31 -- service/finspace/api_op_CreateEnvironment.go | 3 - service/finspace/api_op_CreateKxChangeset.go | 3 - service/finspace/api_op_CreateKxCluster.go | 3 - service/finspace/api_op_CreateKxDatabase.go | 3 - service/finspace/api_op_CreateKxDataview.go | 3 - .../finspace/api_op_CreateKxEnvironment.go | 3 - .../finspace/api_op_CreateKxScalingGroup.go | 3 - service/finspace/api_op_CreateKxUser.go | 3 - service/finspace/api_op_CreateKxVolume.go | 3 - service/finspace/api_op_DeleteEnvironment.go | 3 - service/finspace/api_op_DeleteKxCluster.go | 3 - .../finspace/api_op_DeleteKxClusterNode.go | 3 - service/finspace/api_op_DeleteKxDatabase.go | 3 - service/finspace/api_op_DeleteKxDataview.go | 3 - .../finspace/api_op_DeleteKxEnvironment.go | 3 - .../finspace/api_op_DeleteKxScalingGroup.go | 3 - service/finspace/api_op_DeleteKxUser.go | 3 - service/finspace/api_op_DeleteKxVolume.go | 3 - service/finspace/api_op_GetEnvironment.go | 3 - service/finspace/api_op_GetKxChangeset.go | 3 - service/finspace/api_op_GetKxCluster.go | 3 - .../finspace/api_op_GetKxConnectionString.go | 3 - service/finspace/api_op_GetKxDatabase.go | 3 - service/finspace/api_op_GetKxDataview.go | 3 - service/finspace/api_op_GetKxEnvironment.go | 3 - service/finspace/api_op_GetKxScalingGroup.go | 3 - service/finspace/api_op_GetKxUser.go | 3 - service/finspace/api_op_GetKxVolume.go | 3 - service/finspace/api_op_ListEnvironments.go | 3 - service/finspace/api_op_ListKxChangesets.go | 3 - service/finspace/api_op_ListKxClusterNodes.go | 3 - service/finspace/api_op_ListKxClusters.go | 3 - service/finspace/api_op_ListKxDatabases.go | 3 - service/finspace/api_op_ListKxDataviews.go | 3 - service/finspace/api_op_ListKxEnvironments.go | 3 - .../finspace/api_op_ListKxScalingGroups.go | 3 - service/finspace/api_op_ListKxUsers.go | 3 - service/finspace/api_op_ListKxVolumes.go | 3 - .../finspace/api_op_ListTagsForResource.go | 3 - service/finspace/api_op_TagResource.go | 3 - service/finspace/api_op_UntagResource.go | 3 - service/finspace/api_op_UpdateEnvironment.go | 3 - ...api_op_UpdateKxClusterCodeConfiguration.go | 3 - .../api_op_UpdateKxClusterDatabases.go | 3 - service/finspace/api_op_UpdateKxDatabase.go | 3 - service/finspace/api_op_UpdateKxDataview.go | 3 - .../finspace/api_op_UpdateKxEnvironment.go | 3 - .../api_op_UpdateKxEnvironmentNetwork.go | 3 - service/finspace/api_op_UpdateKxUser.go | 3 - service/finspace/api_op_UpdateKxVolume.go | 3 - .../snapshot/api_op_CreateEnvironment.go.snap | 1 - .../snapshot/api_op_CreateKxChangeset.go.snap | 1 - .../snapshot/api_op_CreateKxCluster.go.snap | 1 - .../snapshot/api_op_CreateKxDatabase.go.snap | 1 - .../snapshot/api_op_CreateKxDataview.go.snap | 1 - .../api_op_CreateKxEnvironment.go.snap | 1 - .../api_op_CreateKxScalingGroup.go.snap | 1 - .../snapshot/api_op_CreateKxUser.go.snap | 1 - .../snapshot/api_op_CreateKxVolume.go.snap | 1 - .../snapshot/api_op_DeleteEnvironment.go.snap | 1 - .../snapshot/api_op_DeleteKxCluster.go.snap | 1 - .../api_op_DeleteKxClusterNode.go.snap | 1 - .../snapshot/api_op_DeleteKxDatabase.go.snap | 1 - .../snapshot/api_op_DeleteKxDataview.go.snap | 1 - .../api_op_DeleteKxEnvironment.go.snap | 1 - .../api_op_DeleteKxScalingGroup.go.snap | 1 - .../snapshot/api_op_DeleteKxUser.go.snap | 1 - .../snapshot/api_op_DeleteKxVolume.go.snap | 1 - .../snapshot/api_op_GetEnvironment.go.snap | 1 - .../snapshot/api_op_GetKxChangeset.go.snap | 1 - .../snapshot/api_op_GetKxCluster.go.snap | 1 - .../api_op_GetKxConnectionString.go.snap | 1 - .../snapshot/api_op_GetKxDatabase.go.snap | 1 - .../snapshot/api_op_GetKxDataview.go.snap | 1 - .../snapshot/api_op_GetKxEnvironment.go.snap | 1 - .../snapshot/api_op_GetKxScalingGroup.go.snap | 1 - .../snapshot/api_op_GetKxUser.go.snap | 1 - .../snapshot/api_op_GetKxVolume.go.snap | 1 - .../snapshot/api_op_ListEnvironments.go.snap | 1 - .../snapshot/api_op_ListKxChangesets.go.snap | 1 - .../api_op_ListKxClusterNodes.go.snap | 1 - .../snapshot/api_op_ListKxClusters.go.snap | 1 - .../snapshot/api_op_ListKxDatabases.go.snap | 1 - .../snapshot/api_op_ListKxDataviews.go.snap | 1 - .../api_op_ListKxEnvironments.go.snap | 1 - .../api_op_ListKxScalingGroups.go.snap | 1 - .../snapshot/api_op_ListKxUsers.go.snap | 1 - .../snapshot/api_op_ListKxVolumes.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateEnvironment.go.snap | 1 - ...p_UpdateKxClusterCodeConfiguration.go.snap | 1 - .../api_op_UpdateKxClusterDatabases.go.snap | 1 - .../snapshot/api_op_UpdateKxDatabase.go.snap | 1 - .../snapshot/api_op_UpdateKxDataview.go.snap | 1 - .../api_op_UpdateKxEnvironment.go.snap | 1 - .../api_op_UpdateKxEnvironmentNetwork.go.snap | 1 - .../snapshot/api_op_UpdateKxUser.go.snap | 1 - .../snapshot/api_op_UpdateKxVolume.go.snap | 1 - service/finspacedata/api_client.go | 31 -- .../api_op_AssociateUserToPermissionGroup.go | 3 - .../finspacedata/api_op_CreateChangeset.go | 3 - service/finspacedata/api_op_CreateDataView.go | 3 - service/finspacedata/api_op_CreateDataset.go | 3 - .../api_op_CreatePermissionGroup.go | 3 - service/finspacedata/api_op_CreateUser.go | 3 - service/finspacedata/api_op_DeleteDataset.go | 3 - .../api_op_DeletePermissionGroup.go | 3 - service/finspacedata/api_op_DisableUser.go | 3 - ..._op_DisassociateUserFromPermissionGroup.go | 3 - service/finspacedata/api_op_EnableUser.go | 3 - service/finspacedata/api_op_GetChangeset.go | 3 - service/finspacedata/api_op_GetDataView.go | 3 - service/finspacedata/api_op_GetDataset.go | 3 - ...api_op_GetExternalDataViewAccessDetails.go | 3 - .../finspacedata/api_op_GetPermissionGroup.go | 3 - ...api_op_GetProgrammaticAccessCredentials.go | 3 - service/finspacedata/api_op_GetUser.go | 3 - .../finspacedata/api_op_GetWorkingLocation.go | 3 - service/finspacedata/api_op_ListChangesets.go | 3 - service/finspacedata/api_op_ListDataViews.go | 3 - service/finspacedata/api_op_ListDatasets.go | 3 - .../api_op_ListPermissionGroups.go | 3 - .../api_op_ListPermissionGroupsByUser.go | 3 - service/finspacedata/api_op_ListUsers.go | 3 - .../api_op_ListUsersByPermissionGroup.go | 3 - .../finspacedata/api_op_ResetUserPassword.go | 3 - .../finspacedata/api_op_UpdateChangeset.go | 3 - service/finspacedata/api_op_UpdateDataset.go | 3 - .../api_op_UpdatePermissionGroup.go | 3 - service/finspacedata/api_op_UpdateUser.go | 3 - ..._op_AssociateUserToPermissionGroup.go.snap | 1 - .../snapshot/api_op_CreateChangeset.go.snap | 1 - .../snapshot/api_op_CreateDataView.go.snap | 1 - .../snapshot/api_op_CreateDataset.go.snap | 1 - .../api_op_CreatePermissionGroup.go.snap | 1 - .../snapshot/api_op_CreateUser.go.snap | 1 - .../snapshot/api_op_DeleteDataset.go.snap | 1 - .../api_op_DeletePermissionGroup.go.snap | 1 - .../snapshot/api_op_DisableUser.go.snap | 1 - ...isassociateUserFromPermissionGroup.go.snap | 1 - .../snapshot/api_op_EnableUser.go.snap | 1 - .../snapshot/api_op_GetChangeset.go.snap | 1 - .../snapshot/api_op_GetDataView.go.snap | 1 - .../snapshot/api_op_GetDataset.go.snap | 1 - ...p_GetExternalDataViewAccessDetails.go.snap | 1 - .../api_op_GetPermissionGroup.go.snap | 1 - ...p_GetProgrammaticAccessCredentials.go.snap | 1 - .../snapshot/api_op_GetUser.go.snap | 1 - .../api_op_GetWorkingLocation.go.snap | 1 - .../snapshot/api_op_ListChangesets.go.snap | 1 - .../snapshot/api_op_ListDataViews.go.snap | 1 - .../snapshot/api_op_ListDatasets.go.snap | 1 - .../api_op_ListPermissionGroups.go.snap | 1 - .../api_op_ListPermissionGroupsByUser.go.snap | 1 - .../snapshot/api_op_ListUsers.go.snap | 1 - .../api_op_ListUsersByPermissionGroup.go.snap | 1 - .../snapshot/api_op_ResetUserPassword.go.snap | 1 - .../snapshot/api_op_UpdateChangeset.go.snap | 1 - .../snapshot/api_op_UpdateDataset.go.snap | 1 - .../api_op_UpdatePermissionGroup.go.snap | 1 - .../snapshot/api_op_UpdateUser.go.snap | 1 - service/firehose/api_client.go | 31 -- .../firehose/api_op_CreateDeliveryStream.go | 3 - .../firehose/api_op_DeleteDeliveryStream.go | 3 - .../firehose/api_op_DescribeDeliveryStream.go | 3 - .../firehose/api_op_ListDeliveryStreams.go | 3 - .../api_op_ListTagsForDeliveryStream.go | 3 - service/firehose/api_op_PutRecord.go | 3 - service/firehose/api_op_PutRecordBatch.go | 3 - .../api_op_StartDeliveryStreamEncryption.go | 3 - .../api_op_StopDeliveryStreamEncryption.go | 3 - service/firehose/api_op_TagDeliveryStream.go | 3 - .../firehose/api_op_UntagDeliveryStream.go | 3 - service/firehose/api_op_UpdateDestination.go | 3 - .../api_op_CreateDeliveryStream.go.snap | 1 - .../api_op_DeleteDeliveryStream.go.snap | 1 - .../api_op_DescribeDeliveryStream.go.snap | 1 - .../api_op_ListDeliveryStreams.go.snap | 1 - .../api_op_ListTagsForDeliveryStream.go.snap | 1 - .../snapshot/api_op_PutRecord.go.snap | 1 - .../snapshot/api_op_PutRecordBatch.go.snap | 1 - ...i_op_StartDeliveryStreamEncryption.go.snap | 1 - ...pi_op_StopDeliveryStreamEncryption.go.snap | 1 - .../snapshot/api_op_TagDeliveryStream.go.snap | 1 - .../api_op_UntagDeliveryStream.go.snap | 1 - .../snapshot/api_op_UpdateDestination.go.snap | 1 - service/fis/api_client.go | 31 -- .../fis/api_op_CreateExperimentTemplate.go | 3 - ...api_op_CreateTargetAccountConfiguration.go | 3 - .../fis/api_op_DeleteExperimentTemplate.go | 3 - ...api_op_DeleteTargetAccountConfiguration.go | 3 - service/fis/api_op_GetAction.go | 3 - service/fis/api_op_GetExperiment.go | 3 - ...GetExperimentTargetAccountConfiguration.go | 3 - service/fis/api_op_GetExperimentTemplate.go | 3 - service/fis/api_op_GetSafetyLever.go | 3 - .../api_op_GetTargetAccountConfiguration.go | 3 - service/fis/api_op_GetTargetResourceType.go | 3 - service/fis/api_op_ListActions.go | 3 - .../api_op_ListExperimentResolvedTargets.go | 3 - ...stExperimentTargetAccountConfigurations.go | 3 - service/fis/api_op_ListExperimentTemplates.go | 3 - service/fis/api_op_ListExperiments.go | 3 - service/fis/api_op_ListTagsForResource.go | 3 - .../api_op_ListTargetAccountConfigurations.go | 3 - service/fis/api_op_ListTargetResourceTypes.go | 3 - service/fis/api_op_StartExperiment.go | 3 - service/fis/api_op_StopExperiment.go | 3 - service/fis/api_op_TagResource.go | 3 - service/fis/api_op_UntagResource.go | 3 - .../fis/api_op_UpdateExperimentTemplate.go | 3 - service/fis/api_op_UpdateSafetyLeverState.go | 3 - ...api_op_UpdateTargetAccountConfiguration.go | 3 - .../api_op_CreateExperimentTemplate.go.snap | 1 - ...p_CreateTargetAccountConfiguration.go.snap | 1 - .../api_op_DeleteExperimentTemplate.go.snap | 1 - ...p_DeleteTargetAccountConfiguration.go.snap | 1 - service/fis/snapshot/api_op_GetAction.go.snap | 1 - .../fis/snapshot/api_op_GetExperiment.go.snap | 1 - ...perimentTargetAccountConfiguration.go.snap | 1 - .../api_op_GetExperimentTemplate.go.snap | 1 - .../snapshot/api_op_GetSafetyLever.go.snap | 1 - ...i_op_GetTargetAccountConfiguration.go.snap | 1 - .../api_op_GetTargetResourceType.go.snap | 1 - .../fis/snapshot/api_op_ListActions.go.snap | 1 - ...i_op_ListExperimentResolvedTargets.go.snap | 1 - ...erimentTargetAccountConfigurations.go.snap | 1 - .../api_op_ListExperimentTemplates.go.snap | 1 - .../snapshot/api_op_ListExperiments.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - ...op_ListTargetAccountConfigurations.go.snap | 1 - .../api_op_ListTargetResourceTypes.go.snap | 1 - .../snapshot/api_op_StartExperiment.go.snap | 1 - .../snapshot/api_op_StopExperiment.go.snap | 1 - .../fis/snapshot/api_op_TagResource.go.snap | 1 - .../fis/snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateExperimentTemplate.go.snap | 1 - .../api_op_UpdateSafetyLeverState.go.snap | 1 - ...p_UpdateTargetAccountConfiguration.go.snap | 1 - service/fms/api_client.go | 31 -- service/fms/api_op_AssociateAdminAccount.go | 3 - .../fms/api_op_AssociateThirdPartyFirewall.go | 3 - service/fms/api_op_BatchAssociateResource.go | 3 - .../fms/api_op_BatchDisassociateResource.go | 3 - service/fms/api_op_DeleteAppsList.go | 3 - .../fms/api_op_DeleteNotificationChannel.go | 3 - service/fms/api_op_DeletePolicy.go | 3 - service/fms/api_op_DeleteProtocolsList.go | 3 - service/fms/api_op_DeleteResourceSet.go | 3 - .../fms/api_op_DisassociateAdminAccount.go | 3 - .../api_op_DisassociateThirdPartyFirewall.go | 3 - service/fms/api_op_GetAdminAccount.go | 3 - service/fms/api_op_GetAdminScope.go | 3 - service/fms/api_op_GetAppsList.go | 3 - service/fms/api_op_GetComplianceDetail.go | 3 - service/fms/api_op_GetNotificationChannel.go | 3 - service/fms/api_op_GetPolicy.go | 3 - service/fms/api_op_GetProtectionStatus.go | 3 - service/fms/api_op_GetProtocolsList.go | 3 - service/fms/api_op_GetResourceSet.go | 3 - ..._GetThirdPartyFirewallAssociationStatus.go | 3 - service/fms/api_op_GetViolationDetails.go | 3 - ...api_op_ListAdminAccountsForOrganization.go | 3 - .../fms/api_op_ListAdminsManagingAccount.go | 3 - service/fms/api_op_ListAppsLists.go | 3 - service/fms/api_op_ListComplianceStatus.go | 3 - service/fms/api_op_ListDiscoveredResources.go | 3 - service/fms/api_op_ListMemberAccounts.go | 3 - service/fms/api_op_ListPolicies.go | 3 - service/fms/api_op_ListProtocolsLists.go | 3 - .../fms/api_op_ListResourceSetResources.go | 3 - service/fms/api_op_ListResourceSets.go | 3 - service/fms/api_op_ListTagsForResource.go | 3 - ..._ListThirdPartyFirewallFirewallPolicies.go | 3 - service/fms/api_op_PutAdminAccount.go | 3 - service/fms/api_op_PutAppsList.go | 3 - service/fms/api_op_PutNotificationChannel.go | 3 - service/fms/api_op_PutPolicy.go | 3 - service/fms/api_op_PutProtocolsList.go | 3 - service/fms/api_op_PutResourceSet.go | 3 - service/fms/api_op_TagResource.go | 3 - service/fms/api_op_UntagResource.go | 3 - .../api_op_AssociateAdminAccount.go.snap | 1 - ...api_op_AssociateThirdPartyFirewall.go.snap | 1 - .../api_op_BatchAssociateResource.go.snap | 1 - .../api_op_BatchDisassociateResource.go.snap | 1 - .../snapshot/api_op_DeleteAppsList.go.snap | 1 - .../api_op_DeleteNotificationChannel.go.snap | 1 - .../fms/snapshot/api_op_DeletePolicy.go.snap | 1 - .../api_op_DeleteProtocolsList.go.snap | 1 - .../snapshot/api_op_DeleteResourceSet.go.snap | 1 - .../api_op_DisassociateAdminAccount.go.snap | 1 - ..._op_DisassociateThirdPartyFirewall.go.snap | 1 - .../snapshot/api_op_GetAdminAccount.go.snap | 1 - .../fms/snapshot/api_op_GetAdminScope.go.snap | 1 - .../fms/snapshot/api_op_GetAppsList.go.snap | 1 - .../api_op_GetComplianceDetail.go.snap | 1 - .../api_op_GetNotificationChannel.go.snap | 1 - service/fms/snapshot/api_op_GetPolicy.go.snap | 1 - .../api_op_GetProtectionStatus.go.snap | 1 - .../snapshot/api_op_GetProtocolsList.go.snap | 1 - .../snapshot/api_op_GetResourceSet.go.snap | 1 - ...hirdPartyFirewallAssociationStatus.go.snap | 1 - .../api_op_GetViolationDetails.go.snap | 1 - ...p_ListAdminAccountsForOrganization.go.snap | 1 - .../api_op_ListAdminsManagingAccount.go.snap | 1 - .../fms/snapshot/api_op_ListAppsLists.go.snap | 1 - .../api_op_ListComplianceStatus.go.snap | 1 - .../api_op_ListDiscoveredResources.go.snap | 1 - .../api_op_ListMemberAccounts.go.snap | 1 - .../fms/snapshot/api_op_ListPolicies.go.snap | 1 - .../api_op_ListProtocolsLists.go.snap | 1 - .../api_op_ListResourceSetResources.go.snap | 1 - .../snapshot/api_op_ListResourceSets.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - ...ThirdPartyFirewallFirewallPolicies.go.snap | 1 - .../snapshot/api_op_PutAdminAccount.go.snap | 1 - .../fms/snapshot/api_op_PutAppsList.go.snap | 1 - .../api_op_PutNotificationChannel.go.snap | 1 - service/fms/snapshot/api_op_PutPolicy.go.snap | 1 - .../snapshot/api_op_PutProtocolsList.go.snap | 1 - .../snapshot/api_op_PutResourceSet.go.snap | 1 - .../fms/snapshot/api_op_TagResource.go.snap | 1 - .../fms/snapshot/api_op_UntagResource.go.snap | 1 - service/forecast/api_client.go | 31 -- .../forecast/api_op_CreateAutoPredictor.go | 3 - service/forecast/api_op_CreateDataset.go | 3 - service/forecast/api_op_CreateDatasetGroup.go | 3 - .../forecast/api_op_CreateDatasetImportJob.go | 3 - .../forecast/api_op_CreateExplainability.go | 3 - .../api_op_CreateExplainabilityExport.go | 3 - service/forecast/api_op_CreateForecast.go | 3 - .../api_op_CreateForecastExportJob.go | 3 - service/forecast/api_op_CreateMonitor.go | 3 - service/forecast/api_op_CreatePredictor.go | 3 - ...api_op_CreatePredictorBacktestExportJob.go | 3 - .../forecast/api_op_CreateWhatIfAnalysis.go | 3 - .../forecast/api_op_CreateWhatIfForecast.go | 3 - .../api_op_CreateWhatIfForecastExport.go | 3 - service/forecast/api_op_DeleteDataset.go | 3 - service/forecast/api_op_DeleteDatasetGroup.go | 3 - .../forecast/api_op_DeleteDatasetImportJob.go | 3 - .../forecast/api_op_DeleteExplainability.go | 3 - .../api_op_DeleteExplainabilityExport.go | 3 - service/forecast/api_op_DeleteForecast.go | 3 - .../api_op_DeleteForecastExportJob.go | 3 - service/forecast/api_op_DeleteMonitor.go | 3 - service/forecast/api_op_DeletePredictor.go | 3 - ...api_op_DeletePredictorBacktestExportJob.go | 3 - service/forecast/api_op_DeleteResourceTree.go | 3 - .../forecast/api_op_DeleteWhatIfAnalysis.go | 3 - .../forecast/api_op_DeleteWhatIfForecast.go | 3 - .../api_op_DeleteWhatIfForecastExport.go | 3 - .../forecast/api_op_DescribeAutoPredictor.go | 3 - service/forecast/api_op_DescribeDataset.go | 3 - .../forecast/api_op_DescribeDatasetGroup.go | 3 - .../api_op_DescribeDatasetImportJob.go | 3 - .../forecast/api_op_DescribeExplainability.go | 3 - .../api_op_DescribeExplainabilityExport.go | 3 - service/forecast/api_op_DescribeForecast.go | 3 - .../api_op_DescribeForecastExportJob.go | 3 - service/forecast/api_op_DescribeMonitor.go | 3 - service/forecast/api_op_DescribePredictor.go | 3 - ...i_op_DescribePredictorBacktestExportJob.go | 3 - .../forecast/api_op_DescribeWhatIfAnalysis.go | 3 - .../forecast/api_op_DescribeWhatIfForecast.go | 3 - .../api_op_DescribeWhatIfForecastExport.go | 3 - service/forecast/api_op_GetAccuracyMetrics.go | 3 - service/forecast/api_op_ListDatasetGroups.go | 3 - .../forecast/api_op_ListDatasetImportJobs.go | 3 - service/forecast/api_op_ListDatasets.go | 3 - .../forecast/api_op_ListExplainabilities.go | 3 - .../api_op_ListExplainabilityExports.go | 3 - .../forecast/api_op_ListForecastExportJobs.go | 3 - service/forecast/api_op_ListForecasts.go | 3 - .../forecast/api_op_ListMonitorEvaluations.go | 3 - service/forecast/api_op_ListMonitors.go | 3 - .../api_op_ListPredictorBacktestExportJobs.go | 3 - service/forecast/api_op_ListPredictors.go | 3 - .../forecast/api_op_ListTagsForResource.go | 3 - service/forecast/api_op_ListWhatIfAnalyses.go | 3 - .../api_op_ListWhatIfForecastExports.go | 3 - .../forecast/api_op_ListWhatIfForecasts.go | 3 - service/forecast/api_op_ResumeResource.go | 3 - service/forecast/api_op_StopResource.go | 3 - service/forecast/api_op_TagResource.go | 3 - service/forecast/api_op_UntagResource.go | 3 - service/forecast/api_op_UpdateDatasetGroup.go | 3 - .../api_op_CreateAutoPredictor.go.snap | 1 - .../snapshot/api_op_CreateDataset.go.snap | 1 - .../api_op_CreateDatasetGroup.go.snap | 1 - .../api_op_CreateDatasetImportJob.go.snap | 1 - .../api_op_CreateExplainability.go.snap | 1 - .../api_op_CreateExplainabilityExport.go.snap | 1 - .../snapshot/api_op_CreateForecast.go.snap | 1 - .../api_op_CreateForecastExportJob.go.snap | 1 - .../snapshot/api_op_CreateMonitor.go.snap | 1 - .../snapshot/api_op_CreatePredictor.go.snap | 1 - ...p_CreatePredictorBacktestExportJob.go.snap | 1 - .../api_op_CreateWhatIfAnalysis.go.snap | 1 - .../api_op_CreateWhatIfForecast.go.snap | 1 - .../api_op_CreateWhatIfForecastExport.go.snap | 1 - .../snapshot/api_op_DeleteDataset.go.snap | 1 - .../api_op_DeleteDatasetGroup.go.snap | 1 - .../api_op_DeleteDatasetImportJob.go.snap | 1 - .../api_op_DeleteExplainability.go.snap | 1 - .../api_op_DeleteExplainabilityExport.go.snap | 1 - .../snapshot/api_op_DeleteForecast.go.snap | 1 - .../api_op_DeleteForecastExportJob.go.snap | 1 - .../snapshot/api_op_DeleteMonitor.go.snap | 1 - .../snapshot/api_op_DeletePredictor.go.snap | 1 - ...p_DeletePredictorBacktestExportJob.go.snap | 1 - .../api_op_DeleteResourceTree.go.snap | 1 - .../api_op_DeleteWhatIfAnalysis.go.snap | 1 - .../api_op_DeleteWhatIfForecast.go.snap | 1 - .../api_op_DeleteWhatIfForecastExport.go.snap | 1 - .../api_op_DescribeAutoPredictor.go.snap | 1 - .../snapshot/api_op_DescribeDataset.go.snap | 1 - .../api_op_DescribeDatasetGroup.go.snap | 1 - .../api_op_DescribeDatasetImportJob.go.snap | 1 - .../api_op_DescribeExplainability.go.snap | 1 - ...pi_op_DescribeExplainabilityExport.go.snap | 1 - .../snapshot/api_op_DescribeForecast.go.snap | 1 - .../api_op_DescribeForecastExportJob.go.snap | 1 - .../snapshot/api_op_DescribeMonitor.go.snap | 1 - .../snapshot/api_op_DescribePredictor.go.snap | 1 - ...DescribePredictorBacktestExportJob.go.snap | 1 - .../api_op_DescribeWhatIfAnalysis.go.snap | 1 - .../api_op_DescribeWhatIfForecast.go.snap | 1 - ...pi_op_DescribeWhatIfForecastExport.go.snap | 1 - .../api_op_GetAccuracyMetrics.go.snap | 1 - .../snapshot/api_op_ListDatasetGroups.go.snap | 1 - .../api_op_ListDatasetImportJobs.go.snap | 1 - .../snapshot/api_op_ListDatasets.go.snap | 1 - .../api_op_ListExplainabilities.go.snap | 1 - .../api_op_ListExplainabilityExports.go.snap | 1 - .../api_op_ListForecastExportJobs.go.snap | 1 - .../snapshot/api_op_ListForecasts.go.snap | 1 - .../api_op_ListMonitorEvaluations.go.snap | 1 - .../snapshot/api_op_ListMonitors.go.snap | 1 - ...op_ListPredictorBacktestExportJobs.go.snap | 1 - .../snapshot/api_op_ListPredictors.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListWhatIfAnalyses.go.snap | 1 - .../api_op_ListWhatIfForecastExports.go.snap | 1 - .../api_op_ListWhatIfForecasts.go.snap | 1 - .../snapshot/api_op_ResumeResource.go.snap | 1 - .../snapshot/api_op_StopResource.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateDatasetGroup.go.snap | 1 - service/forecastquery/api_client.go | 31 -- service/forecastquery/api_op_QueryForecast.go | 3 - .../api_op_QueryWhatIfForecast.go | 3 - .../snapshot/api_op_QueryForecast.go.snap | 1 - .../api_op_QueryWhatIfForecast.go.snap | 1 - service/frauddetector/api_client.go | 31 -- .../api_op_BatchCreateVariable.go | 3 - .../frauddetector/api_op_BatchGetVariable.go | 3 - .../api_op_CancelBatchImportJob.go | 3 - .../api_op_CancelBatchPredictionJob.go | 3 - .../api_op_CreateBatchImportJob.go | 3 - .../api_op_CreateBatchPredictionJob.go | 3 - .../api_op_CreateDetectorVersion.go | 3 - service/frauddetector/api_op_CreateList.go | 3 - service/frauddetector/api_op_CreateModel.go | 3 - .../api_op_CreateModelVersion.go | 3 - service/frauddetector/api_op_CreateRule.go | 3 - .../frauddetector/api_op_CreateVariable.go | 3 - .../api_op_DeleteBatchImportJob.go | 3 - .../api_op_DeleteBatchPredictionJob.go | 3 - .../frauddetector/api_op_DeleteDetector.go | 3 - .../api_op_DeleteDetectorVersion.go | 3 - .../frauddetector/api_op_DeleteEntityType.go | 3 - service/frauddetector/api_op_DeleteEvent.go | 3 - .../frauddetector/api_op_DeleteEventType.go | 3 - .../api_op_DeleteEventsByEventType.go | 3 - .../api_op_DeleteExternalModel.go | 3 - service/frauddetector/api_op_DeleteLabel.go | 3 - service/frauddetector/api_op_DeleteList.go | 3 - service/frauddetector/api_op_DeleteModel.go | 3 - .../api_op_DeleteModelVersion.go | 3 - service/frauddetector/api_op_DeleteOutcome.go | 3 - service/frauddetector/api_op_DeleteRule.go | 3 - .../frauddetector/api_op_DeleteVariable.go | 3 - .../frauddetector/api_op_DescribeDetector.go | 3 - .../api_op_DescribeModelVersions.go | 3 - .../api_op_GetBatchImportJobs.go | 3 - .../api_op_GetBatchPredictionJobs.go | 3 - ...api_op_GetDeleteEventsByEventTypeStatus.go | 3 - .../api_op_GetDetectorVersion.go | 3 - service/frauddetector/api_op_GetDetectors.go | 3 - .../frauddetector/api_op_GetEntityTypes.go | 3 - service/frauddetector/api_op_GetEvent.go | 3 - .../api_op_GetEventPrediction.go | 3 - .../api_op_GetEventPredictionMetadata.go | 3 - service/frauddetector/api_op_GetEventTypes.go | 3 - .../frauddetector/api_op_GetExternalModels.go | 3 - .../api_op_GetKMSEncryptionKey.go | 3 - service/frauddetector/api_op_GetLabels.go | 3 - .../frauddetector/api_op_GetListElements.go | 3 - .../frauddetector/api_op_GetListsMetadata.go | 3 - .../frauddetector/api_op_GetModelVersion.go | 3 - service/frauddetector/api_op_GetModels.go | 3 - service/frauddetector/api_op_GetOutcomes.go | 3 - service/frauddetector/api_op_GetRules.go | 3 - service/frauddetector/api_op_GetVariables.go | 3 - .../api_op_ListEventPredictions.go | 3 - .../api_op_ListTagsForResource.go | 3 - service/frauddetector/api_op_PutDetector.go | 3 - service/frauddetector/api_op_PutEntityType.go | 3 - service/frauddetector/api_op_PutEventType.go | 3 - .../frauddetector/api_op_PutExternalModel.go | 3 - .../api_op_PutKMSEncryptionKey.go | 3 - service/frauddetector/api_op_PutLabel.go | 3 - service/frauddetector/api_op_PutOutcome.go | 3 - service/frauddetector/api_op_SendEvent.go | 3 - service/frauddetector/api_op_TagResource.go | 3 - service/frauddetector/api_op_UntagResource.go | 3 - .../api_op_UpdateDetectorVersion.go | 3 - .../api_op_UpdateDetectorVersionMetadata.go | 3 - .../api_op_UpdateDetectorVersionStatus.go | 3 - .../frauddetector/api_op_UpdateEventLabel.go | 3 - service/frauddetector/api_op_UpdateList.go | 3 - service/frauddetector/api_op_UpdateModel.go | 3 - .../api_op_UpdateModelVersion.go | 3 - .../api_op_UpdateModelVersionStatus.go | 3 - .../api_op_UpdateRuleMetadata.go | 3 - .../frauddetector/api_op_UpdateRuleVersion.go | 3 - .../frauddetector/api_op_UpdateVariable.go | 3 - .../api_op_BatchCreateVariable.go.snap | 1 - .../snapshot/api_op_BatchGetVariable.go.snap | 1 - .../api_op_CancelBatchImportJob.go.snap | 1 - .../api_op_CancelBatchPredictionJob.go.snap | 1 - .../api_op_CreateBatchImportJob.go.snap | 1 - .../api_op_CreateBatchPredictionJob.go.snap | 1 - .../api_op_CreateDetectorVersion.go.snap | 1 - .../snapshot/api_op_CreateList.go.snap | 1 - .../snapshot/api_op_CreateModel.go.snap | 1 - .../api_op_CreateModelVersion.go.snap | 1 - .../snapshot/api_op_CreateRule.go.snap | 1 - .../snapshot/api_op_CreateVariable.go.snap | 1 - .../api_op_DeleteBatchImportJob.go.snap | 1 - .../api_op_DeleteBatchPredictionJob.go.snap | 1 - .../snapshot/api_op_DeleteDetector.go.snap | 1 - .../api_op_DeleteDetectorVersion.go.snap | 1 - .../snapshot/api_op_DeleteEntityType.go.snap | 1 - .../snapshot/api_op_DeleteEvent.go.snap | 1 - .../snapshot/api_op_DeleteEventType.go.snap | 1 - .../api_op_DeleteEventsByEventType.go.snap | 1 - .../api_op_DeleteExternalModel.go.snap | 1 - .../snapshot/api_op_DeleteLabel.go.snap | 1 - .../snapshot/api_op_DeleteList.go.snap | 1 - .../snapshot/api_op_DeleteModel.go.snap | 1 - .../api_op_DeleteModelVersion.go.snap | 1 - .../snapshot/api_op_DeleteOutcome.go.snap | 1 - .../snapshot/api_op_DeleteRule.go.snap | 1 - .../snapshot/api_op_DeleteVariable.go.snap | 1 - .../snapshot/api_op_DescribeDetector.go.snap | 1 - .../api_op_DescribeModelVersions.go.snap | 1 - .../api_op_GetBatchImportJobs.go.snap | 1 - .../api_op_GetBatchPredictionJobs.go.snap | 1 - ...p_GetDeleteEventsByEventTypeStatus.go.snap | 1 - .../api_op_GetDetectorVersion.go.snap | 1 - .../snapshot/api_op_GetDetectors.go.snap | 1 - .../snapshot/api_op_GetEntityTypes.go.snap | 1 - .../snapshot/api_op_GetEvent.go.snap | 1 - .../api_op_GetEventPrediction.go.snap | 1 - .../api_op_GetEventPredictionMetadata.go.snap | 1 - .../snapshot/api_op_GetEventTypes.go.snap | 1 - .../snapshot/api_op_GetExternalModels.go.snap | 1 - .../api_op_GetKMSEncryptionKey.go.snap | 1 - .../snapshot/api_op_GetLabels.go.snap | 1 - .../snapshot/api_op_GetListElements.go.snap | 1 - .../snapshot/api_op_GetListsMetadata.go.snap | 1 - .../snapshot/api_op_GetModelVersion.go.snap | 1 - .../snapshot/api_op_GetModels.go.snap | 1 - .../snapshot/api_op_GetOutcomes.go.snap | 1 - .../snapshot/api_op_GetRules.go.snap | 1 - .../snapshot/api_op_GetVariables.go.snap | 1 - .../api_op_ListEventPredictions.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_PutDetector.go.snap | 1 - .../snapshot/api_op_PutEntityType.go.snap | 1 - .../snapshot/api_op_PutEventType.go.snap | 1 - .../snapshot/api_op_PutExternalModel.go.snap | 1 - .../api_op_PutKMSEncryptionKey.go.snap | 1 - .../snapshot/api_op_PutLabel.go.snap | 1 - .../snapshot/api_op_PutOutcome.go.snap | 1 - .../snapshot/api_op_SendEvent.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateDetectorVersion.go.snap | 1 - ...i_op_UpdateDetectorVersionMetadata.go.snap | 1 - ...api_op_UpdateDetectorVersionStatus.go.snap | 1 - .../snapshot/api_op_UpdateEventLabel.go.snap | 1 - .../snapshot/api_op_UpdateList.go.snap | 1 - .../snapshot/api_op_UpdateModel.go.snap | 1 - .../api_op_UpdateModelVersion.go.snap | 1 - .../api_op_UpdateModelVersionStatus.go.snap | 1 - .../api_op_UpdateRuleMetadata.go.snap | 1 - .../snapshot/api_op_UpdateRuleVersion.go.snap | 1 - .../snapshot/api_op_UpdateVariable.go.snap | 1 - service/freetier/api_client.go | 31 -- service/freetier/api_op_GetFreeTierUsage.go | 3 - .../snapshot/api_op_GetFreeTierUsage.go.snap | 1 - service/fsx/api_client.go | 31 -- .../fsx/api_op_AssociateFileSystemAliases.go | 3 - .../fsx/api_op_CancelDataRepositoryTask.go | 3 - service/fsx/api_op_CopyBackup.go | 3 - .../fsx/api_op_CopySnapshotAndUpdateVolume.go | 3 - service/fsx/api_op_CreateBackup.go | 3 - .../api_op_CreateDataRepositoryAssociation.go | 3 - .../fsx/api_op_CreateDataRepositoryTask.go | 3 - service/fsx/api_op_CreateFileCache.go | 3 - service/fsx/api_op_CreateFileSystem.go | 3 - .../fsx/api_op_CreateFileSystemFromBackup.go | 3 - service/fsx/api_op_CreateSnapshot.go | 3 - .../fsx/api_op_CreateStorageVirtualMachine.go | 3 - service/fsx/api_op_CreateVolume.go | 3 - service/fsx/api_op_CreateVolumeFromBackup.go | 3 - service/fsx/api_op_DeleteBackup.go | 3 - .../api_op_DeleteDataRepositoryAssociation.go | 3 - service/fsx/api_op_DeleteFileCache.go | 3 - service/fsx/api_op_DeleteFileSystem.go | 3 - service/fsx/api_op_DeleteSnapshot.go | 3 - .../fsx/api_op_DeleteStorageVirtualMachine.go | 3 - service/fsx/api_op_DeleteVolume.go | 3 - service/fsx/api_op_DescribeBackups.go | 3 - ...i_op_DescribeDataRepositoryAssociations.go | 3 - .../fsx/api_op_DescribeDataRepositoryTasks.go | 3 - service/fsx/api_op_DescribeFileCaches.go | 3 - .../fsx/api_op_DescribeFileSystemAliases.go | 3 - service/fsx/api_op_DescribeFileSystems.go | 3 - .../api_op_DescribeSharedVpcConfiguration.go | 3 - service/fsx/api_op_DescribeSnapshots.go | 3 - .../api_op_DescribeStorageVirtualMachines.go | 3 - service/fsx/api_op_DescribeVolumes.go | 3 - .../api_op_DisassociateFileSystemAliases.go | 3 - service/fsx/api_op_ListTagsForResource.go | 3 - .../fsx/api_op_ReleaseFileSystemNfsV3Locks.go | 3 - .../fsx/api_op_RestoreVolumeFromSnapshot.go | 3 - .../api_op_StartMisconfiguredStateRecovery.go | 3 - service/fsx/api_op_TagResource.go | 3 - service/fsx/api_op_UntagResource.go | 3 - .../api_op_UpdateDataRepositoryAssociation.go | 3 - service/fsx/api_op_UpdateFileCache.go | 3 - service/fsx/api_op_UpdateFileSystem.go | 3 - .../api_op_UpdateSharedVpcConfiguration.go | 3 - service/fsx/api_op_UpdateSnapshot.go | 3 - .../fsx/api_op_UpdateStorageVirtualMachine.go | 3 - service/fsx/api_op_UpdateVolume.go | 3 - .../api_op_AssociateFileSystemAliases.go.snap | 1 - .../api_op_CancelDataRepositoryTask.go.snap | 1 - .../fsx/snapshot/api_op_CopyBackup.go.snap | 1 - ...api_op_CopySnapshotAndUpdateVolume.go.snap | 1 - .../fsx/snapshot/api_op_CreateBackup.go.snap | 1 - ...op_CreateDataRepositoryAssociation.go.snap | 1 - .../api_op_CreateDataRepositoryTask.go.snap | 1 - .../snapshot/api_op_CreateFileCache.go.snap | 1 - .../snapshot/api_op_CreateFileSystem.go.snap | 1 - .../api_op_CreateFileSystemFromBackup.go.snap | 1 - .../snapshot/api_op_CreateSnapshot.go.snap | 1 - ...api_op_CreateStorageVirtualMachine.go.snap | 1 - .../fsx/snapshot/api_op_CreateVolume.go.snap | 1 - .../api_op_CreateVolumeFromBackup.go.snap | 1 - .../fsx/snapshot/api_op_DeleteBackup.go.snap | 1 - ...op_DeleteDataRepositoryAssociation.go.snap | 1 - .../snapshot/api_op_DeleteFileCache.go.snap | 1 - .../snapshot/api_op_DeleteFileSystem.go.snap | 1 - .../snapshot/api_op_DeleteSnapshot.go.snap | 1 - ...api_op_DeleteStorageVirtualMachine.go.snap | 1 - .../fsx/snapshot/api_op_DeleteVolume.go.snap | 1 - .../snapshot/api_op_DescribeBackups.go.snap | 1 - ...DescribeDataRepositoryAssociations.go.snap | 1 - ...api_op_DescribeDataRepositoryTasks.go.snap | 1 - .../api_op_DescribeFileCaches.go.snap | 1 - .../api_op_DescribeFileSystemAliases.go.snap | 1 - .../api_op_DescribeFileSystems.go.snap | 1 - ..._op_DescribeSharedVpcConfiguration.go.snap | 1 - .../snapshot/api_op_DescribeSnapshots.go.snap | 1 - ..._op_DescribeStorageVirtualMachines.go.snap | 1 - .../snapshot/api_op_DescribeVolumes.go.snap | 1 - ...i_op_DisassociateFileSystemAliases.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - ...api_op_ReleaseFileSystemNfsV3Locks.go.snap | 1 - .../api_op_RestoreVolumeFromSnapshot.go.snap | 1 - ...op_StartMisconfiguredStateRecovery.go.snap | 1 - .../fsx/snapshot/api_op_TagResource.go.snap | 1 - .../fsx/snapshot/api_op_UntagResource.go.snap | 1 - ...op_UpdateDataRepositoryAssociation.go.snap | 1 - .../snapshot/api_op_UpdateFileCache.go.snap | 1 - .../snapshot/api_op_UpdateFileSystem.go.snap | 1 - ...pi_op_UpdateSharedVpcConfiguration.go.snap | 1 - .../snapshot/api_op_UpdateSnapshot.go.snap | 1 - ...api_op_UpdateStorageVirtualMachine.go.snap | 1 - .../fsx/snapshot/api_op_UpdateVolume.go.snap | 1 - service/gamelift/api_client.go | 31 -- service/gamelift/api_op_AcceptMatch.go | 3 - service/gamelift/api_op_ClaimGameServer.go | 3 - service/gamelift/api_op_CreateAlias.go | 3 - service/gamelift/api_op_CreateBuild.go | 3 - .../gamelift/api_op_CreateContainerFleet.go | 3 - .../api_op_CreateContainerGroupDefinition.go | 3 - service/gamelift/api_op_CreateFleet.go | 3 - .../gamelift/api_op_CreateFleetLocations.go | 3 - .../gamelift/api_op_CreateGameServerGroup.go | 3 - service/gamelift/api_op_CreateGameSession.go | 3 - .../gamelift/api_op_CreateGameSessionQueue.go | 3 - service/gamelift/api_op_CreateLocation.go | 3 - .../api_op_CreateMatchmakingConfiguration.go | 3 - .../api_op_CreateMatchmakingRuleSet.go | 3 - .../gamelift/api_op_CreatePlayerSession.go | 3 - .../gamelift/api_op_CreatePlayerSessions.go | 3 - service/gamelift/api_op_CreateScript.go | 3 - .../api_op_CreateVpcPeeringAuthorization.go | 3 - .../api_op_CreateVpcPeeringConnection.go | 3 - service/gamelift/api_op_DeleteAlias.go | 3 - service/gamelift/api_op_DeleteBuild.go | 3 - .../gamelift/api_op_DeleteContainerFleet.go | 3 - .../api_op_DeleteContainerGroupDefinition.go | 3 - service/gamelift/api_op_DeleteFleet.go | 3 - .../gamelift/api_op_DeleteFleetLocations.go | 3 - .../gamelift/api_op_DeleteGameServerGroup.go | 3 - .../gamelift/api_op_DeleteGameSessionQueue.go | 3 - service/gamelift/api_op_DeleteLocation.go | 3 - .../api_op_DeleteMatchmakingConfiguration.go | 3 - .../api_op_DeleteMatchmakingRuleSet.go | 3 - .../gamelift/api_op_DeleteScalingPolicy.go | 3 - service/gamelift/api_op_DeleteScript.go | 3 - .../api_op_DeleteVpcPeeringAuthorization.go | 3 - .../api_op_DeleteVpcPeeringConnection.go | 3 - service/gamelift/api_op_DeregisterCompute.go | 3 - .../gamelift/api_op_DeregisterGameServer.go | 3 - service/gamelift/api_op_DescribeAlias.go | 3 - service/gamelift/api_op_DescribeBuild.go | 3 - service/gamelift/api_op_DescribeCompute.go | 3 - .../gamelift/api_op_DescribeContainerFleet.go | 3 - ...api_op_DescribeContainerGroupDefinition.go | 3 - .../api_op_DescribeEC2InstanceLimits.go | 3 - .../api_op_DescribeFleetAttributes.go | 3 - .../gamelift/api_op_DescribeFleetCapacity.go | 3 - .../api_op_DescribeFleetDeployment.go | 3 - .../gamelift/api_op_DescribeFleetEvents.go | 3 - .../api_op_DescribeFleetLocationAttributes.go | 3 - .../api_op_DescribeFleetLocationCapacity.go | 3 - ...api_op_DescribeFleetLocationUtilization.go | 3 - .../api_op_DescribeFleetPortSettings.go | 3 - .../api_op_DescribeFleetUtilization.go | 3 - service/gamelift/api_op_DescribeGameServer.go | 3 - .../api_op_DescribeGameServerGroup.go | 3 - .../api_op_DescribeGameServerInstances.go | 3 - .../api_op_DescribeGameSessionDetails.go | 3 - .../api_op_DescribeGameSessionPlacement.go | 3 - .../api_op_DescribeGameSessionQueues.go | 3 - .../gamelift/api_op_DescribeGameSessions.go | 3 - service/gamelift/api_op_DescribeInstances.go | 3 - .../gamelift/api_op_DescribeMatchmaking.go | 3 - ...pi_op_DescribeMatchmakingConfigurations.go | 3 - .../api_op_DescribeMatchmakingRuleSets.go | 3 - .../gamelift/api_op_DescribePlayerSessions.go | 3 - .../api_op_DescribeRuntimeConfiguration.go | 3 - .../api_op_DescribeScalingPolicies.go | 3 - service/gamelift/api_op_DescribeScript.go | 3 - ...api_op_DescribeVpcPeeringAuthorizations.go | 3 - .../api_op_DescribeVpcPeeringConnections.go | 3 - service/gamelift/api_op_GetComputeAccess.go | 3 - .../gamelift/api_op_GetComputeAuthToken.go | 3 - .../gamelift/api_op_GetGameSessionLogUrl.go | 3 - service/gamelift/api_op_GetInstanceAccess.go | 3 - service/gamelift/api_op_ListAliases.go | 3 - service/gamelift/api_op_ListBuilds.go | 3 - service/gamelift/api_op_ListCompute.go | 3 - .../gamelift/api_op_ListContainerFleets.go | 3 - ...op_ListContainerGroupDefinitionVersions.go | 3 - .../api_op_ListContainerGroupDefinitions.go | 3 - .../gamelift/api_op_ListFleetDeployments.go | 3 - service/gamelift/api_op_ListFleets.go | 3 - .../gamelift/api_op_ListGameServerGroups.go | 3 - service/gamelift/api_op_ListGameServers.go | 3 - service/gamelift/api_op_ListLocations.go | 3 - service/gamelift/api_op_ListScripts.go | 3 - .../gamelift/api_op_ListTagsForResource.go | 3 - service/gamelift/api_op_PutScalingPolicy.go | 3 - service/gamelift/api_op_RegisterCompute.go | 3 - service/gamelift/api_op_RegisterGameServer.go | 3 - .../api_op_RequestUploadCredentials.go | 3 - service/gamelift/api_op_ResolveAlias.go | 3 - .../gamelift/api_op_ResumeGameServerGroup.go | 3 - service/gamelift/api_op_SearchGameSessions.go | 3 - service/gamelift/api_op_StartFleetActions.go | 3 - .../api_op_StartGameSessionPlacement.go | 3 - service/gamelift/api_op_StartMatchBackfill.go | 3 - service/gamelift/api_op_StartMatchmaking.go | 3 - service/gamelift/api_op_StopFleetActions.go | 3 - .../api_op_StopGameSessionPlacement.go | 3 - service/gamelift/api_op_StopMatchmaking.go | 3 - .../gamelift/api_op_SuspendGameServerGroup.go | 3 - service/gamelift/api_op_TagResource.go | 3 - .../gamelift/api_op_TerminateGameSession.go | 3 - service/gamelift/api_op_UntagResource.go | 3 - service/gamelift/api_op_UpdateAlias.go | 3 - service/gamelift/api_op_UpdateBuild.go | 3 - .../gamelift/api_op_UpdateContainerFleet.go | 3 - .../api_op_UpdateContainerGroupDefinition.go | 3 - .../gamelift/api_op_UpdateFleetAttributes.go | 3 - .../gamelift/api_op_UpdateFleetCapacity.go | 3 - .../api_op_UpdateFleetPortSettings.go | 3 - service/gamelift/api_op_UpdateGameServer.go | 3 - .../gamelift/api_op_UpdateGameServerGroup.go | 3 - service/gamelift/api_op_UpdateGameSession.go | 3 - .../gamelift/api_op_UpdateGameSessionQueue.go | 3 - .../api_op_UpdateMatchmakingConfiguration.go | 3 - .../api_op_UpdateRuntimeConfiguration.go | 3 - service/gamelift/api_op_UpdateScript.go | 3 - .../api_op_ValidateMatchmakingRuleSet.go | 3 - .../snapshot/api_op_AcceptMatch.go.snap | 1 - .../snapshot/api_op_ClaimGameServer.go.snap | 1 - .../snapshot/api_op_CreateAlias.go.snap | 1 - .../snapshot/api_op_CreateBuild.go.snap | 1 - .../api_op_CreateContainerFleet.go.snap | 1 - ..._op_CreateContainerGroupDefinition.go.snap | 1 - .../snapshot/api_op_CreateFleet.go.snap | 1 - .../api_op_CreateFleetLocations.go.snap | 1 - .../api_op_CreateGameServerGroup.go.snap | 1 - .../snapshot/api_op_CreateGameSession.go.snap | 1 - .../api_op_CreateGameSessionQueue.go.snap | 1 - .../snapshot/api_op_CreateLocation.go.snap | 1 - ..._op_CreateMatchmakingConfiguration.go.snap | 1 - .../api_op_CreateMatchmakingRuleSet.go.snap | 1 - .../api_op_CreatePlayerSession.go.snap | 1 - .../api_op_CreatePlayerSessions.go.snap | 1 - .../snapshot/api_op_CreateScript.go.snap | 1 - ...i_op_CreateVpcPeeringAuthorization.go.snap | 1 - .../api_op_CreateVpcPeeringConnection.go.snap | 1 - .../snapshot/api_op_DeleteAlias.go.snap | 1 - .../snapshot/api_op_DeleteBuild.go.snap | 1 - .../api_op_DeleteContainerFleet.go.snap | 1 - ..._op_DeleteContainerGroupDefinition.go.snap | 1 - .../snapshot/api_op_DeleteFleet.go.snap | 1 - .../api_op_DeleteFleetLocations.go.snap | 1 - .../api_op_DeleteGameServerGroup.go.snap | 1 - .../api_op_DeleteGameSessionQueue.go.snap | 1 - .../snapshot/api_op_DeleteLocation.go.snap | 1 - ..._op_DeleteMatchmakingConfiguration.go.snap | 1 - .../api_op_DeleteMatchmakingRuleSet.go.snap | 1 - .../api_op_DeleteScalingPolicy.go.snap | 1 - .../snapshot/api_op_DeleteScript.go.snap | 1 - ...i_op_DeleteVpcPeeringAuthorization.go.snap | 1 - .../api_op_DeleteVpcPeeringConnection.go.snap | 1 - .../snapshot/api_op_DeregisterCompute.go.snap | 1 - .../api_op_DeregisterGameServer.go.snap | 1 - .../snapshot/api_op_DescribeAlias.go.snap | 1 - .../snapshot/api_op_DescribeBuild.go.snap | 1 - .../snapshot/api_op_DescribeCompute.go.snap | 1 - .../api_op_DescribeContainerFleet.go.snap | 1 - ...p_DescribeContainerGroupDefinition.go.snap | 1 - .../api_op_DescribeEC2InstanceLimits.go.snap | 1 - .../api_op_DescribeFleetAttributes.go.snap | 1 - .../api_op_DescribeFleetCapacity.go.snap | 1 - .../api_op_DescribeFleetDeployment.go.snap | 1 - .../api_op_DescribeFleetEvents.go.snap | 1 - ...op_DescribeFleetLocationAttributes.go.snap | 1 - ...i_op_DescribeFleetLocationCapacity.go.snap | 1 - ...p_DescribeFleetLocationUtilization.go.snap | 1 - .../api_op_DescribeFleetPortSettings.go.snap | 1 - .../api_op_DescribeFleetUtilization.go.snap | 1 - .../api_op_DescribeGameServer.go.snap | 1 - .../api_op_DescribeGameServerGroup.go.snap | 1 - ...api_op_DescribeGameServerInstances.go.snap | 1 - .../api_op_DescribeGameSessionDetails.go.snap | 1 - ...pi_op_DescribeGameSessionPlacement.go.snap | 1 - .../api_op_DescribeGameSessionQueues.go.snap | 1 - .../api_op_DescribeGameSessions.go.snap | 1 - .../snapshot/api_op_DescribeInstances.go.snap | 1 - .../api_op_DescribeMatchmaking.go.snap | 1 - ..._DescribeMatchmakingConfigurations.go.snap | 1 - ...api_op_DescribeMatchmakingRuleSets.go.snap | 1 - .../api_op_DescribePlayerSessions.go.snap | 1 - ...pi_op_DescribeRuntimeConfiguration.go.snap | 1 - .../api_op_DescribeScalingPolicies.go.snap | 1 - .../snapshot/api_op_DescribeScript.go.snap | 1 - ...p_DescribeVpcPeeringAuthorizations.go.snap | 1 - ...i_op_DescribeVpcPeeringConnections.go.snap | 1 - .../snapshot/api_op_GetComputeAccess.go.snap | 1 - .../api_op_GetComputeAuthToken.go.snap | 1 - .../api_op_GetGameSessionLogUrl.go.snap | 1 - .../snapshot/api_op_GetInstanceAccess.go.snap | 1 - .../snapshot/api_op_ListAliases.go.snap | 1 - .../snapshot/api_op_ListBuilds.go.snap | 1 - .../snapshot/api_op_ListCompute.go.snap | 1 - .../api_op_ListContainerFleets.go.snap | 1 - ...stContainerGroupDefinitionVersions.go.snap | 1 - ...i_op_ListContainerGroupDefinitions.go.snap | 1 - .../api_op_ListFleetDeployments.go.snap | 1 - .../snapshot/api_op_ListFleets.go.snap | 1 - .../api_op_ListGameServerGroups.go.snap | 1 - .../snapshot/api_op_ListGameServers.go.snap | 1 - .../snapshot/api_op_ListLocations.go.snap | 1 - .../snapshot/api_op_ListScripts.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_PutScalingPolicy.go.snap | 1 - .../snapshot/api_op_RegisterCompute.go.snap | 1 - .../api_op_RegisterGameServer.go.snap | 1 - .../api_op_RequestUploadCredentials.go.snap | 1 - .../snapshot/api_op_ResolveAlias.go.snap | 1 - .../api_op_ResumeGameServerGroup.go.snap | 1 - .../api_op_SearchGameSessions.go.snap | 1 - .../snapshot/api_op_StartFleetActions.go.snap | 1 - .../api_op_StartGameSessionPlacement.go.snap | 1 - .../api_op_StartMatchBackfill.go.snap | 1 - .../snapshot/api_op_StartMatchmaking.go.snap | 1 - .../snapshot/api_op_StopFleetActions.go.snap | 1 - .../api_op_StopGameSessionPlacement.go.snap | 1 - .../snapshot/api_op_StopMatchmaking.go.snap | 1 - .../api_op_SuspendGameServerGroup.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../api_op_TerminateGameSession.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateAlias.go.snap | 1 - .../snapshot/api_op_UpdateBuild.go.snap | 1 - .../api_op_UpdateContainerFleet.go.snap | 1 - ..._op_UpdateContainerGroupDefinition.go.snap | 1 - .../api_op_UpdateFleetAttributes.go.snap | 1 - .../api_op_UpdateFleetCapacity.go.snap | 1 - .../api_op_UpdateFleetPortSettings.go.snap | 1 - .../snapshot/api_op_UpdateGameServer.go.snap | 1 - .../api_op_UpdateGameServerGroup.go.snap | 1 - .../snapshot/api_op_UpdateGameSession.go.snap | 1 - .../api_op_UpdateGameSessionQueue.go.snap | 1 - ..._op_UpdateMatchmakingConfiguration.go.snap | 1 - .../api_op_UpdateRuntimeConfiguration.go.snap | 1 - .../snapshot/api_op_UpdateScript.go.snap | 1 - .../api_op_ValidateMatchmakingRuleSet.go.snap | 1 - service/geomaps/api_client.go | 31 -- service/geomaps/api_op_GetGlyphs.go | 3 - service/geomaps/api_op_GetSprites.go | 3 - service/geomaps/api_op_GetStaticMap.go | 3 - service/geomaps/api_op_GetStyleDescriptor.go | 3 - service/geomaps/api_op_GetTile.go | 3 - .../geomaps/snapshot/api_op_GetGlyphs.go.snap | 1 - .../snapshot/api_op_GetSprites.go.snap | 1 - .../snapshot/api_op_GetStaticMap.go.snap | 1 - .../api_op_GetStyleDescriptor.go.snap | 1 - .../geomaps/snapshot/api_op_GetTile.go.snap | 1 - service/geoplaces/api_client.go | 31 -- service/geoplaces/api_op_Autocomplete.go | 3 - service/geoplaces/api_op_Geocode.go | 3 - service/geoplaces/api_op_GetPlace.go | 3 - service/geoplaces/api_op_ReverseGeocode.go | 3 - service/geoplaces/api_op_SearchNearby.go | 3 - service/geoplaces/api_op_SearchText.go | 3 - service/geoplaces/api_op_Suggest.go | 3 - .../snapshot/api_op_Autocomplete.go.snap | 1 - .../geoplaces/snapshot/api_op_Geocode.go.snap | 1 - .../snapshot/api_op_GetPlace.go.snap | 1 - .../snapshot/api_op_ReverseGeocode.go.snap | 1 - .../snapshot/api_op_SearchNearby.go.snap | 1 - .../snapshot/api_op_SearchText.go.snap | 1 - .../geoplaces/snapshot/api_op_Suggest.go.snap | 1 - service/georoutes/api_client.go | 31 -- service/georoutes/api_op_CalculateIsolines.go | 3 - .../georoutes/api_op_CalculateRouteMatrix.go | 3 - service/georoutes/api_op_CalculateRoutes.go | 3 - service/georoutes/api_op_OptimizeWaypoints.go | 3 - service/georoutes/api_op_SnapToRoads.go | 3 - .../snapshot/api_op_CalculateIsolines.go.snap | 1 - .../api_op_CalculateRouteMatrix.go.snap | 1 - .../snapshot/api_op_CalculateRoutes.go.snap | 1 - .../snapshot/api_op_OptimizeWaypoints.go.snap | 1 - .../snapshot/api_op_SnapToRoads.go.snap | 1 - service/glacier/api_client.go | 31 -- .../glacier/api_op_AbortMultipartUpload.go | 3 - service/glacier/api_op_AbortVaultLock.go | 3 - service/glacier/api_op_AddTagsToVault.go | 3 - .../glacier/api_op_CompleteMultipartUpload.go | 3 - service/glacier/api_op_CompleteVaultLock.go | 3 - service/glacier/api_op_CreateVault.go | 3 - service/glacier/api_op_DeleteArchive.go | 3 - service/glacier/api_op_DeleteVault.go | 3 - .../glacier/api_op_DeleteVaultAccessPolicy.go | 3 - .../api_op_DeleteVaultNotifications.go | 3 - service/glacier/api_op_DescribeJob.go | 3 - service/glacier/api_op_DescribeVault.go | 3 - .../glacier/api_op_GetDataRetrievalPolicy.go | 3 - service/glacier/api_op_GetJobOutput.go | 3 - .../glacier/api_op_GetVaultAccessPolicy.go | 3 - service/glacier/api_op_GetVaultLock.go | 3 - .../glacier/api_op_GetVaultNotifications.go | 3 - service/glacier/api_op_InitiateJob.go | 3 - .../glacier/api_op_InitiateMultipartUpload.go | 3 - service/glacier/api_op_InitiateVaultLock.go | 3 - service/glacier/api_op_ListJobs.go | 3 - .../glacier/api_op_ListMultipartUploads.go | 3 - service/glacier/api_op_ListParts.go | 3 - .../glacier/api_op_ListProvisionedCapacity.go | 3 - service/glacier/api_op_ListTagsForVault.go | 3 - service/glacier/api_op_ListVaults.go | 3 - .../api_op_PurchaseProvisionedCapacity.go | 3 - service/glacier/api_op_RemoveTagsFromVault.go | 3 - .../glacier/api_op_SetDataRetrievalPolicy.go | 3 - .../glacier/api_op_SetVaultAccessPolicy.go | 3 - .../glacier/api_op_SetVaultNotifications.go | 3 - service/glacier/api_op_UploadArchive.go | 3 - service/glacier/api_op_UploadMultipartPart.go | 3 - .../api_op_AbortMultipartUpload.go.snap | 1 - .../snapshot/api_op_AbortVaultLock.go.snap | 1 - .../snapshot/api_op_AddTagsToVault.go.snap | 1 - .../api_op_CompleteMultipartUpload.go.snap | 1 - .../snapshot/api_op_CompleteVaultLock.go.snap | 1 - .../snapshot/api_op_CreateVault.go.snap | 1 - .../snapshot/api_op_DeleteArchive.go.snap | 1 - .../snapshot/api_op_DeleteVault.go.snap | 1 - .../api_op_DeleteVaultAccessPolicy.go.snap | 1 - .../api_op_DeleteVaultNotifications.go.snap | 1 - .../snapshot/api_op_DescribeJob.go.snap | 1 - .../snapshot/api_op_DescribeVault.go.snap | 1 - .../api_op_GetDataRetrievalPolicy.go.snap | 1 - .../snapshot/api_op_GetJobOutput.go.snap | 1 - .../api_op_GetVaultAccessPolicy.go.snap | 1 - .../snapshot/api_op_GetVaultLock.go.snap | 1 - .../api_op_GetVaultNotifications.go.snap | 1 - .../snapshot/api_op_InitiateJob.go.snap | 1 - .../api_op_InitiateMultipartUpload.go.snap | 1 - .../snapshot/api_op_InitiateVaultLock.go.snap | 1 - .../glacier/snapshot/api_op_ListJobs.go.snap | 1 - .../api_op_ListMultipartUploads.go.snap | 1 - .../glacier/snapshot/api_op_ListParts.go.snap | 1 - .../api_op_ListProvisionedCapacity.go.snap | 1 - .../snapshot/api_op_ListTagsForVault.go.snap | 1 - .../snapshot/api_op_ListVaults.go.snap | 1 - ...api_op_PurchaseProvisionedCapacity.go.snap | 1 - .../api_op_RemoveTagsFromVault.go.snap | 1 - .../api_op_SetDataRetrievalPolicy.go.snap | 1 - .../api_op_SetVaultAccessPolicy.go.snap | 1 - .../api_op_SetVaultNotifications.go.snap | 1 - .../snapshot/api_op_UploadArchive.go.snap | 1 - .../api_op_UploadMultipartPart.go.snap | 1 - service/globalaccelerator/api_client.go | 31 -- .../api_op_AddCustomRoutingEndpoints.go | 3 - .../globalaccelerator/api_op_AddEndpoints.go | 3 - .../api_op_AdvertiseByoipCidr.go | 3 - .../api_op_AllowCustomRoutingTraffic.go | 3 - .../api_op_CreateAccelerator.go | 3 - .../api_op_CreateCrossAccountAttachment.go | 3 - .../api_op_CreateCustomRoutingAccelerator.go | 3 - ...api_op_CreateCustomRoutingEndpointGroup.go | 3 - .../api_op_CreateCustomRoutingListener.go | 3 - .../api_op_CreateEndpointGroup.go | 3 - .../api_op_CreateListener.go | 3 - .../api_op_DeleteAccelerator.go | 3 - .../api_op_DeleteCrossAccountAttachment.go | 3 - .../api_op_DeleteCustomRoutingAccelerator.go | 3 - ...api_op_DeleteCustomRoutingEndpointGroup.go | 3 - .../api_op_DeleteCustomRoutingListener.go | 3 - .../api_op_DeleteEndpointGroup.go | 3 - .../api_op_DeleteListener.go | 3 - .../api_op_DenyCustomRoutingTraffic.go | 3 - .../api_op_DeprovisionByoipCidr.go | 3 - .../api_op_DescribeAccelerator.go | 3 - .../api_op_DescribeAcceleratorAttributes.go | 3 - .../api_op_DescribeCrossAccountAttachment.go | 3 - ...api_op_DescribeCustomRoutingAccelerator.go | 3 - ...cribeCustomRoutingAcceleratorAttributes.go | 3 - ...i_op_DescribeCustomRoutingEndpointGroup.go | 3 - .../api_op_DescribeCustomRoutingListener.go | 3 - .../api_op_DescribeEndpointGroup.go | 3 - .../api_op_DescribeListener.go | 3 - .../api_op_ListAccelerators.go | 3 - .../api_op_ListByoipCidrs.go | 3 - .../api_op_ListCrossAccountAttachments.go | 3 - ...api_op_ListCrossAccountResourceAccounts.go | 3 - .../api_op_ListCrossAccountResources.go | 3 - .../api_op_ListCustomRoutingAccelerators.go | 3 - .../api_op_ListCustomRoutingEndpointGroups.go | 3 - .../api_op_ListCustomRoutingListeners.go | 3 - .../api_op_ListCustomRoutingPortMappings.go | 3 - ...tCustomRoutingPortMappingsByDestination.go | 3 - .../api_op_ListEndpointGroups.go | 3 - .../globalaccelerator/api_op_ListListeners.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_ProvisionByoipCidr.go | 3 - .../api_op_RemoveCustomRoutingEndpoints.go | 3 - .../api_op_RemoveEndpoints.go | 3 - .../globalaccelerator/api_op_TagResource.go | 3 - .../globalaccelerator/api_op_UntagResource.go | 3 - .../api_op_UpdateAccelerator.go | 3 - .../api_op_UpdateAcceleratorAttributes.go | 3 - .../api_op_UpdateCrossAccountAttachment.go | 3 - .../api_op_UpdateCustomRoutingAccelerator.go | 3 - ...pdateCustomRoutingAcceleratorAttributes.go | 3 - .../api_op_UpdateCustomRoutingListener.go | 3 - .../api_op_UpdateEndpointGroup.go | 3 - .../api_op_UpdateListener.go | 3 - .../api_op_WithdrawByoipCidr.go | 3 - .../api_op_AddCustomRoutingEndpoints.go.snap | 1 - .../snapshot/api_op_AddEndpoints.go.snap | 1 - .../api_op_AdvertiseByoipCidr.go.snap | 1 - .../api_op_AllowCustomRoutingTraffic.go.snap | 1 - .../snapshot/api_op_CreateAccelerator.go.snap | 1 - ...pi_op_CreateCrossAccountAttachment.go.snap | 1 - ..._op_CreateCustomRoutingAccelerator.go.snap | 1 - ...p_CreateCustomRoutingEndpointGroup.go.snap | 1 - ...api_op_CreateCustomRoutingListener.go.snap | 1 - .../api_op_CreateEndpointGroup.go.snap | 1 - .../snapshot/api_op_CreateListener.go.snap | 1 - .../snapshot/api_op_DeleteAccelerator.go.snap | 1 - ...pi_op_DeleteCrossAccountAttachment.go.snap | 1 - ..._op_DeleteCustomRoutingAccelerator.go.snap | 1 - ...p_DeleteCustomRoutingEndpointGroup.go.snap | 1 - ...api_op_DeleteCustomRoutingListener.go.snap | 1 - .../api_op_DeleteEndpointGroup.go.snap | 1 - .../snapshot/api_op_DeleteListener.go.snap | 1 - .../api_op_DenyCustomRoutingTraffic.go.snap | 1 - .../api_op_DeprovisionByoipCidr.go.snap | 1 - .../api_op_DescribeAccelerator.go.snap | 1 - ...i_op_DescribeAcceleratorAttributes.go.snap | 1 - ..._op_DescribeCrossAccountAttachment.go.snap | 1 - ...p_DescribeCustomRoutingAccelerator.go.snap | 1 - ...CustomRoutingAcceleratorAttributes.go.snap | 1 - ...DescribeCustomRoutingEndpointGroup.go.snap | 1 - ...i_op_DescribeCustomRoutingListener.go.snap | 1 - .../api_op_DescribeEndpointGroup.go.snap | 1 - .../snapshot/api_op_DescribeListener.go.snap | 1 - .../snapshot/api_op_ListAccelerators.go.snap | 1 - .../snapshot/api_op_ListByoipCidrs.go.snap | 1 - ...api_op_ListCrossAccountAttachments.go.snap | 1 - ...p_ListCrossAccountResourceAccounts.go.snap | 1 - .../api_op_ListCrossAccountResources.go.snap | 1 - ...i_op_ListCustomRoutingAccelerators.go.snap | 1 - ...op_ListCustomRoutingEndpointGroups.go.snap | 1 - .../api_op_ListCustomRoutingListeners.go.snap | 1 - ...i_op_ListCustomRoutingPortMappings.go.snap | 1 - ...omRoutingPortMappingsByDestination.go.snap | 1 - .../api_op_ListEndpointGroups.go.snap | 1 - .../snapshot/api_op_ListListeners.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ProvisionByoipCidr.go.snap | 1 - ...pi_op_RemoveCustomRoutingEndpoints.go.snap | 1 - .../snapshot/api_op_RemoveEndpoints.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateAccelerator.go.snap | 1 - ...api_op_UpdateAcceleratorAttributes.go.snap | 1 - ...pi_op_UpdateCrossAccountAttachment.go.snap | 1 - ..._op_UpdateCustomRoutingAccelerator.go.snap | 1 - ...CustomRoutingAcceleratorAttributes.go.snap | 1 - ...api_op_UpdateCustomRoutingListener.go.snap | 1 - .../api_op_UpdateEndpointGroup.go.snap | 1 - .../snapshot/api_op_UpdateListener.go.snap | 1 - .../snapshot/api_op_WithdrawByoipCidr.go.snap | 1 - service/glue/api_client.go | 31 -- service/glue/api_op_BatchCreatePartition.go | 3 - service/glue/api_op_BatchDeleteConnection.go | 3 - service/glue/api_op_BatchDeletePartition.go | 3 - service/glue/api_op_BatchDeleteTable.go | 3 - .../glue/api_op_BatchDeleteTableVersion.go | 3 - service/glue/api_op_BatchGetBlueprints.go | 3 - service/glue/api_op_BatchGetCrawlers.go | 3 - .../glue/api_op_BatchGetCustomEntityTypes.go | 3 - .../glue/api_op_BatchGetDataQualityResult.go | 3 - service/glue/api_op_BatchGetDevEndpoints.go | 3 - service/glue/api_op_BatchGetJobs.go | 3 - service/glue/api_op_BatchGetPartition.go | 3 - service/glue/api_op_BatchGetTableOptimizer.go | 3 - service/glue/api_op_BatchGetTriggers.go | 3 - service/glue/api_op_BatchGetWorkflows.go | 3 - ..._BatchPutDataQualityStatisticAnnotation.go | 3 - service/glue/api_op_BatchStopJobRun.go | 3 - service/glue/api_op_BatchUpdatePartition.go | 3 - ..._CancelDataQualityRuleRecommendationRun.go | 3 - ...p_CancelDataQualityRulesetEvaluationRun.go | 3 - service/glue/api_op_CancelMLTaskRun.go | 3 - service/glue/api_op_CancelStatement.go | 3 - .../glue/api_op_CheckSchemaVersionValidity.go | 3 - service/glue/api_op_CreateBlueprint.go | 3 - service/glue/api_op_CreateCatalog.go | 3 - service/glue/api_op_CreateClassifier.go | 3 - ...i_op_CreateColumnStatisticsTaskSettings.go | 3 - service/glue/api_op_CreateConnection.go | 3 - service/glue/api_op_CreateCrawler.go | 3 - service/glue/api_op_CreateCustomEntityType.go | 3 - .../glue/api_op_CreateDataQualityRuleset.go | 3 - service/glue/api_op_CreateDatabase.go | 3 - service/glue/api_op_CreateDevEndpoint.go | 3 - service/glue/api_op_CreateIntegration.go | 3 - ...pi_op_CreateIntegrationResourceProperty.go | 3 - ...api_op_CreateIntegrationTableProperties.go | 3 - service/glue/api_op_CreateJob.go | 3 - service/glue/api_op_CreateMLTransform.go | 3 - service/glue/api_op_CreatePartition.go | 3 - service/glue/api_op_CreatePartitionIndex.go | 3 - service/glue/api_op_CreateRegistry.go | 3 - service/glue/api_op_CreateSchema.go | 3 - service/glue/api_op_CreateScript.go | 3 - .../api_op_CreateSecurityConfiguration.go | 3 - service/glue/api_op_CreateSession.go | 3 - service/glue/api_op_CreateTable.go | 3 - service/glue/api_op_CreateTableOptimizer.go | 3 - service/glue/api_op_CreateTrigger.go | 3 - service/glue/api_op_CreateUsageProfile.go | 3 - .../glue/api_op_CreateUserDefinedFunction.go | 3 - service/glue/api_op_CreateWorkflow.go | 3 - service/glue/api_op_DeleteBlueprint.go | 3 - service/glue/api_op_DeleteCatalog.go | 3 - service/glue/api_op_DeleteClassifier.go | 3 - ...i_op_DeleteColumnStatisticsForPartition.go | 3 - .../api_op_DeleteColumnStatisticsForTable.go | 3 - ...i_op_DeleteColumnStatisticsTaskSettings.go | 3 - service/glue/api_op_DeleteConnection.go | 3 - service/glue/api_op_DeleteCrawler.go | 3 - service/glue/api_op_DeleteCustomEntityType.go | 3 - .../glue/api_op_DeleteDataQualityRuleset.go | 3 - service/glue/api_op_DeleteDatabase.go | 3 - service/glue/api_op_DeleteDevEndpoint.go | 3 - service/glue/api_op_DeleteIntegration.go | 3 - ...api_op_DeleteIntegrationTableProperties.go | 3 - service/glue/api_op_DeleteJob.go | 3 - service/glue/api_op_DeleteMLTransform.go | 3 - service/glue/api_op_DeletePartition.go | 3 - service/glue/api_op_DeletePartitionIndex.go | 3 - service/glue/api_op_DeleteRegistry.go | 3 - service/glue/api_op_DeleteResourcePolicy.go | 3 - service/glue/api_op_DeleteSchema.go | 3 - service/glue/api_op_DeleteSchemaVersions.go | 3 - .../api_op_DeleteSecurityConfiguration.go | 3 - service/glue/api_op_DeleteSession.go | 3 - service/glue/api_op_DeleteTable.go | 3 - service/glue/api_op_DeleteTableOptimizer.go | 3 - service/glue/api_op_DeleteTableVersion.go | 3 - service/glue/api_op_DeleteTrigger.go | 3 - service/glue/api_op_DeleteUsageProfile.go | 3 - .../glue/api_op_DeleteUserDefinedFunction.go | 3 - service/glue/api_op_DeleteWorkflow.go | 3 - service/glue/api_op_DescribeConnectionType.go | 3 - service/glue/api_op_DescribeEntity.go | 3 - .../api_op_DescribeInboundIntegrations.go | 3 - service/glue/api_op_DescribeIntegrations.go | 3 - service/glue/api_op_GetBlueprint.go | 3 - service/glue/api_op_GetBlueprintRun.go | 3 - service/glue/api_op_GetBlueprintRuns.go | 3 - service/glue/api_op_GetCatalog.go | 3 - service/glue/api_op_GetCatalogImportStatus.go | 3 - service/glue/api_op_GetCatalogs.go | 3 - service/glue/api_op_GetClassifier.go | 3 - service/glue/api_op_GetClassifiers.go | 3 - .../api_op_GetColumnStatisticsForPartition.go | 3 - .../api_op_GetColumnStatisticsForTable.go | 3 - .../glue/api_op_GetColumnStatisticsTaskRun.go | 3 - .../api_op_GetColumnStatisticsTaskRuns.go | 3 - .../api_op_GetColumnStatisticsTaskSettings.go | 3 - service/glue/api_op_GetConnection.go | 3 - service/glue/api_op_GetConnections.go | 3 - service/glue/api_op_GetCrawler.go | 3 - service/glue/api_op_GetCrawlerMetrics.go | 3 - service/glue/api_op_GetCrawlers.go | 3 - service/glue/api_op_GetCustomEntityType.go | 3 - ...api_op_GetDataCatalogEncryptionSettings.go | 3 - service/glue/api_op_GetDataQualityModel.go | 3 - .../glue/api_op_GetDataQualityModelResult.go | 3 - service/glue/api_op_GetDataQualityResult.go | 3 - ..._op_GetDataQualityRuleRecommendationRun.go | 3 - service/glue/api_op_GetDataQualityRuleset.go | 3 - ...i_op_GetDataQualityRulesetEvaluationRun.go | 3 - service/glue/api_op_GetDatabase.go | 3 - service/glue/api_op_GetDatabases.go | 3 - service/glue/api_op_GetDataflowGraph.go | 3 - service/glue/api_op_GetDevEndpoint.go | 3 - service/glue/api_op_GetDevEndpoints.go | 3 - service/glue/api_op_GetEntityRecords.go | 3 - .../api_op_GetIntegrationResourceProperty.go | 3 - .../api_op_GetIntegrationTableProperties.go | 3 - service/glue/api_op_GetJob.go | 3 - service/glue/api_op_GetJobBookmark.go | 3 - service/glue/api_op_GetJobRun.go | 3 - service/glue/api_op_GetJobRuns.go | 3 - service/glue/api_op_GetJobs.go | 3 - service/glue/api_op_GetMLTaskRun.go | 3 - service/glue/api_op_GetMLTaskRuns.go | 3 - service/glue/api_op_GetMLTransform.go | 3 - service/glue/api_op_GetMLTransforms.go | 3 - service/glue/api_op_GetMapping.go | 3 - service/glue/api_op_GetPartition.go | 3 - service/glue/api_op_GetPartitionIndexes.go | 3 - service/glue/api_op_GetPartitions.go | 3 - service/glue/api_op_GetPlan.go | 3 - service/glue/api_op_GetRegistry.go | 3 - service/glue/api_op_GetResourcePolicies.go | 3 - service/glue/api_op_GetResourcePolicy.go | 3 - service/glue/api_op_GetSchema.go | 3 - service/glue/api_op_GetSchemaByDefinition.go | 3 - service/glue/api_op_GetSchemaVersion.go | 3 - service/glue/api_op_GetSchemaVersionsDiff.go | 3 - .../glue/api_op_GetSecurityConfiguration.go | 3 - .../glue/api_op_GetSecurityConfigurations.go | 3 - service/glue/api_op_GetSession.go | 3 - service/glue/api_op_GetStatement.go | 3 - service/glue/api_op_GetTable.go | 3 - service/glue/api_op_GetTableOptimizer.go | 3 - service/glue/api_op_GetTableVersion.go | 3 - service/glue/api_op_GetTableVersions.go | 3 - service/glue/api_op_GetTables.go | 3 - service/glue/api_op_GetTags.go | 3 - service/glue/api_op_GetTrigger.go | 3 - service/glue/api_op_GetTriggers.go | 3 - .../api_op_GetUnfilteredPartitionMetadata.go | 3 - .../api_op_GetUnfilteredPartitionsMetadata.go | 3 - .../glue/api_op_GetUnfilteredTableMetadata.go | 3 - service/glue/api_op_GetUsageProfile.go | 3 - service/glue/api_op_GetUserDefinedFunction.go | 3 - .../glue/api_op_GetUserDefinedFunctions.go | 3 - service/glue/api_op_GetWorkflow.go | 3 - service/glue/api_op_GetWorkflowRun.go | 3 - .../glue/api_op_GetWorkflowRunProperties.go | 3 - service/glue/api_op_GetWorkflowRuns.go | 3 - service/glue/api_op_ImportCatalogToGlue.go | 3 - service/glue/api_op_ListBlueprints.go | 3 - .../api_op_ListColumnStatisticsTaskRuns.go | 3 - service/glue/api_op_ListConnectionTypes.go | 3 - service/glue/api_op_ListCrawlers.go | 3 - service/glue/api_op_ListCrawls.go | 3 - service/glue/api_op_ListCustomEntityTypes.go | 3 - service/glue/api_op_ListDataQualityResults.go | 3 - ...p_ListDataQualityRuleRecommendationRuns.go | 3 - ...op_ListDataQualityRulesetEvaluationRuns.go | 3 - .../glue/api_op_ListDataQualityRulesets.go | 3 - ..._op_ListDataQualityStatisticAnnotations.go | 3 - .../glue/api_op_ListDataQualityStatistics.go | 3 - service/glue/api_op_ListDevEndpoints.go | 3 - service/glue/api_op_ListEntities.go | 3 - service/glue/api_op_ListJobs.go | 3 - service/glue/api_op_ListMLTransforms.go | 3 - service/glue/api_op_ListRegistries.go | 3 - service/glue/api_op_ListSchemaVersions.go | 3 - service/glue/api_op_ListSchemas.go | 3 - service/glue/api_op_ListSessions.go | 3 - service/glue/api_op_ListStatements.go | 3 - service/glue/api_op_ListTableOptimizerRuns.go | 3 - service/glue/api_op_ListTriggers.go | 3 - service/glue/api_op_ListUsageProfiles.go | 3 - service/glue/api_op_ListWorkflows.go | 3 - service/glue/api_op_ModifyIntegration.go | 3 - ...api_op_PutDataCatalogEncryptionSettings.go | 3 - .../api_op_PutDataQualityProfileAnnotation.go | 3 - service/glue/api_op_PutResourcePolicy.go | 3 - .../glue/api_op_PutSchemaVersionMetadata.go | 3 - .../glue/api_op_PutWorkflowRunProperties.go | 3 - .../glue/api_op_QuerySchemaVersionMetadata.go | 3 - service/glue/api_op_RegisterSchemaVersion.go | 3 - .../api_op_RemoveSchemaVersionMetadata.go | 3 - service/glue/api_op_ResetJobBookmark.go | 3 - service/glue/api_op_ResumeWorkflowRun.go | 3 - service/glue/api_op_RunStatement.go | 3 - service/glue/api_op_SearchTables.go | 3 - service/glue/api_op_StartBlueprintRun.go | 3 - .../api_op_StartColumnStatisticsTaskRun.go | 3 - ...op_StartColumnStatisticsTaskRunSchedule.go | 3 - service/glue/api_op_StartCrawler.go | 3 - service/glue/api_op_StartCrawlerSchedule.go | 3 - ...p_StartDataQualityRuleRecommendationRun.go | 3 - ...op_StartDataQualityRulesetEvaluationRun.go | 3 - .../glue/api_op_StartExportLabelsTaskRun.go | 3 - .../glue/api_op_StartImportLabelsTaskRun.go | 3 - service/glue/api_op_StartJobRun.go | 3 - .../glue/api_op_StartMLEvaluationTaskRun.go | 3 - ..._op_StartMLLabelingSetGenerationTaskRun.go | 3 - service/glue/api_op_StartTrigger.go | 3 - service/glue/api_op_StartWorkflowRun.go | 3 - .../api_op_StopColumnStatisticsTaskRun.go | 3 - ..._op_StopColumnStatisticsTaskRunSchedule.go | 3 - service/glue/api_op_StopCrawler.go | 3 - service/glue/api_op_StopCrawlerSchedule.go | 3 - service/glue/api_op_StopSession.go | 3 - service/glue/api_op_StopTrigger.go | 3 - service/glue/api_op_StopWorkflowRun.go | 3 - service/glue/api_op_TagResource.go | 3 - service/glue/api_op_TestConnection.go | 3 - service/glue/api_op_UntagResource.go | 3 - service/glue/api_op_UpdateBlueprint.go | 3 - service/glue/api_op_UpdateCatalog.go | 3 - service/glue/api_op_UpdateClassifier.go | 3 - ...i_op_UpdateColumnStatisticsForPartition.go | 3 - .../api_op_UpdateColumnStatisticsForTable.go | 3 - ...i_op_UpdateColumnStatisticsTaskSettings.go | 3 - service/glue/api_op_UpdateConnection.go | 3 - service/glue/api_op_UpdateCrawler.go | 3 - service/glue/api_op_UpdateCrawlerSchedule.go | 3 - .../glue/api_op_UpdateDataQualityRuleset.go | 3 - service/glue/api_op_UpdateDatabase.go | 3 - service/glue/api_op_UpdateDevEndpoint.go | 3 - ...pi_op_UpdateIntegrationResourceProperty.go | 3 - ...api_op_UpdateIntegrationTableProperties.go | 3 - service/glue/api_op_UpdateJob.go | 3 - .../glue/api_op_UpdateJobFromSourceControl.go | 3 - service/glue/api_op_UpdateMLTransform.go | 3 - service/glue/api_op_UpdatePartition.go | 3 - service/glue/api_op_UpdateRegistry.go | 3 - service/glue/api_op_UpdateSchema.go | 3 - .../glue/api_op_UpdateSourceControlFromJob.go | 3 - service/glue/api_op_UpdateTable.go | 3 - service/glue/api_op_UpdateTableOptimizer.go | 3 - service/glue/api_op_UpdateTrigger.go | 3 - service/glue/api_op_UpdateUsageProfile.go | 3 - .../glue/api_op_UpdateUserDefinedFunction.go | 3 - service/glue/api_op_UpdateWorkflow.go | 3 - .../api_op_BatchCreatePartition.go.snap | 1 - .../api_op_BatchDeleteConnection.go.snap | 1 - .../api_op_BatchDeletePartition.go.snap | 1 - .../snapshot/api_op_BatchDeleteTable.go.snap | 1 - .../api_op_BatchDeleteTableVersion.go.snap | 1 - .../api_op_BatchGetBlueprints.go.snap | 1 - .../snapshot/api_op_BatchGetCrawlers.go.snap | 1 - .../api_op_BatchGetCustomEntityTypes.go.snap | 1 - .../api_op_BatchGetDataQualityResult.go.snap | 1 - .../api_op_BatchGetDevEndpoints.go.snap | 1 - .../glue/snapshot/api_op_BatchGetJobs.go.snap | 1 - .../snapshot/api_op_BatchGetPartition.go.snap | 1 - .../api_op_BatchGetTableOptimizer.go.snap | 1 - .../snapshot/api_op_BatchGetTriggers.go.snap | 1 - .../snapshot/api_op_BatchGetWorkflows.go.snap | 1 - ...hPutDataQualityStatisticAnnotation.go.snap | 1 - .../snapshot/api_op_BatchStopJobRun.go.snap | 1 - .../api_op_BatchUpdatePartition.go.snap | 1 - ...elDataQualityRuleRecommendationRun.go.snap | 1 - ...celDataQualityRulesetEvaluationRun.go.snap | 1 - .../snapshot/api_op_CancelMLTaskRun.go.snap | 1 - .../snapshot/api_op_CancelStatement.go.snap | 1 - .../api_op_CheckSchemaVersionValidity.go.snap | 1 - .../snapshot/api_op_CreateBlueprint.go.snap | 1 - .../snapshot/api_op_CreateCatalog.go.snap | 1 - .../snapshot/api_op_CreateClassifier.go.snap | 1 - ...CreateColumnStatisticsTaskSettings.go.snap | 1 - .../snapshot/api_op_CreateConnection.go.snap | 1 - .../snapshot/api_op_CreateCrawler.go.snap | 1 - .../api_op_CreateCustomEntityType.go.snap | 1 - .../api_op_CreateDataQualityRuleset.go.snap | 1 - .../snapshot/api_op_CreateDatabase.go.snap | 1 - .../snapshot/api_op_CreateDevEndpoint.go.snap | 1 - .../snapshot/api_op_CreateIntegration.go.snap | 1 - ..._CreateIntegrationResourceProperty.go.snap | 1 - ...p_CreateIntegrationTableProperties.go.snap | 1 - .../glue/snapshot/api_op_CreateJob.go.snap | 1 - .../snapshot/api_op_CreateMLTransform.go.snap | 1 - .../snapshot/api_op_CreatePartition.go.snap | 1 - .../api_op_CreatePartitionIndex.go.snap | 1 - .../snapshot/api_op_CreateRegistry.go.snap | 1 - .../glue/snapshot/api_op_CreateSchema.go.snap | 1 - .../glue/snapshot/api_op_CreateScript.go.snap | 1 - ...api_op_CreateSecurityConfiguration.go.snap | 1 - .../snapshot/api_op_CreateSession.go.snap | 1 - .../glue/snapshot/api_op_CreateTable.go.snap | 1 - .../api_op_CreateTableOptimizer.go.snap | 1 - .../snapshot/api_op_CreateTrigger.go.snap | 1 - .../api_op_CreateUsageProfile.go.snap | 1 - .../api_op_CreateUserDefinedFunction.go.snap | 1 - .../snapshot/api_op_CreateWorkflow.go.snap | 1 - .../snapshot/api_op_DeleteBlueprint.go.snap | 1 - .../snapshot/api_op_DeleteCatalog.go.snap | 1 - .../snapshot/api_op_DeleteClassifier.go.snap | 1 - ...DeleteColumnStatisticsForPartition.go.snap | 1 - ..._op_DeleteColumnStatisticsForTable.go.snap | 1 - ...DeleteColumnStatisticsTaskSettings.go.snap | 1 - .../snapshot/api_op_DeleteConnection.go.snap | 1 - .../snapshot/api_op_DeleteCrawler.go.snap | 1 - .../api_op_DeleteCustomEntityType.go.snap | 1 - .../api_op_DeleteDataQualityRuleset.go.snap | 1 - .../snapshot/api_op_DeleteDatabase.go.snap | 1 - .../snapshot/api_op_DeleteDevEndpoint.go.snap | 1 - .../snapshot/api_op_DeleteIntegration.go.snap | 1 - ...p_DeleteIntegrationTableProperties.go.snap | 1 - .../glue/snapshot/api_op_DeleteJob.go.snap | 1 - .../snapshot/api_op_DeleteMLTransform.go.snap | 1 - .../snapshot/api_op_DeletePartition.go.snap | 1 - .../api_op_DeletePartitionIndex.go.snap | 1 - .../snapshot/api_op_DeleteRegistry.go.snap | 1 - .../api_op_DeleteResourcePolicy.go.snap | 1 - .../glue/snapshot/api_op_DeleteSchema.go.snap | 1 - .../api_op_DeleteSchemaVersions.go.snap | 1 - ...api_op_DeleteSecurityConfiguration.go.snap | 1 - .../snapshot/api_op_DeleteSession.go.snap | 1 - .../glue/snapshot/api_op_DeleteTable.go.snap | 1 - .../api_op_DeleteTableOptimizer.go.snap | 1 - .../api_op_DeleteTableVersion.go.snap | 1 - .../snapshot/api_op_DeleteTrigger.go.snap | 1 - .../api_op_DeleteUsageProfile.go.snap | 1 - .../api_op_DeleteUserDefinedFunction.go.snap | 1 - .../snapshot/api_op_DeleteWorkflow.go.snap | 1 - .../api_op_DescribeConnectionType.go.snap | 1 - .../snapshot/api_op_DescribeEntity.go.snap | 1 - ...api_op_DescribeInboundIntegrations.go.snap | 1 - .../api_op_DescribeIntegrations.go.snap | 1 - .../glue/snapshot/api_op_GetBlueprint.go.snap | 1 - .../snapshot/api_op_GetBlueprintRun.go.snap | 1 - .../snapshot/api_op_GetBlueprintRuns.go.snap | 1 - .../glue/snapshot/api_op_GetCatalog.go.snap | 1 - .../api_op_GetCatalogImportStatus.go.snap | 1 - .../glue/snapshot/api_op_GetCatalogs.go.snap | 1 - .../snapshot/api_op_GetClassifier.go.snap | 1 - .../snapshot/api_op_GetClassifiers.go.snap | 1 - ...op_GetColumnStatisticsForPartition.go.snap | 1 - ...api_op_GetColumnStatisticsForTable.go.snap | 1 - .../api_op_GetColumnStatisticsTaskRun.go.snap | 1 - ...api_op_GetColumnStatisticsTaskRuns.go.snap | 1 - ...op_GetColumnStatisticsTaskSettings.go.snap | 1 - .../snapshot/api_op_GetConnection.go.snap | 1 - .../snapshot/api_op_GetConnections.go.snap | 1 - .../glue/snapshot/api_op_GetCrawler.go.snap | 1 - .../snapshot/api_op_GetCrawlerMetrics.go.snap | 1 - .../glue/snapshot/api_op_GetCrawlers.go.snap | 1 - .../api_op_GetCustomEntityType.go.snap | 1 - ...p_GetDataCatalogEncryptionSettings.go.snap | 1 - .../api_op_GetDataQualityModel.go.snap | 1 - .../api_op_GetDataQualityModelResult.go.snap | 1 - .../api_op_GetDataQualityResult.go.snap | 1 - ...etDataQualityRuleRecommendationRun.go.snap | 1 - .../api_op_GetDataQualityRuleset.go.snap | 1 - ...GetDataQualityRulesetEvaluationRun.go.snap | 1 - .../glue/snapshot/api_op_GetDatabase.go.snap | 1 - .../glue/snapshot/api_op_GetDatabases.go.snap | 1 - .../snapshot/api_op_GetDataflowGraph.go.snap | 1 - .../snapshot/api_op_GetDevEndpoint.go.snap | 1 - .../snapshot/api_op_GetDevEndpoints.go.snap | 1 - .../snapshot/api_op_GetEntityRecords.go.snap | 1 - ..._op_GetIntegrationResourceProperty.go.snap | 1 - ...i_op_GetIntegrationTableProperties.go.snap | 1 - service/glue/snapshot/api_op_GetJob.go.snap | 1 - .../snapshot/api_op_GetJobBookmark.go.snap | 1 - .../glue/snapshot/api_op_GetJobRun.go.snap | 1 - .../glue/snapshot/api_op_GetJobRuns.go.snap | 1 - service/glue/snapshot/api_op_GetJobs.go.snap | 1 - .../glue/snapshot/api_op_GetMLTaskRun.go.snap | 1 - .../snapshot/api_op_GetMLTaskRuns.go.snap | 1 - .../snapshot/api_op_GetMLTransform.go.snap | 1 - .../snapshot/api_op_GetMLTransforms.go.snap | 1 - .../glue/snapshot/api_op_GetMapping.go.snap | 1 - .../glue/snapshot/api_op_GetPartition.go.snap | 1 - .../api_op_GetPartitionIndexes.go.snap | 1 - .../snapshot/api_op_GetPartitions.go.snap | 1 - service/glue/snapshot/api_op_GetPlan.go.snap | 1 - .../glue/snapshot/api_op_GetRegistry.go.snap | 1 - .../api_op_GetResourcePolicies.go.snap | 1 - .../snapshot/api_op_GetResourcePolicy.go.snap | 1 - .../glue/snapshot/api_op_GetSchema.go.snap | 1 - .../api_op_GetSchemaByDefinition.go.snap | 1 - .../snapshot/api_op_GetSchemaVersion.go.snap | 1 - .../api_op_GetSchemaVersionsDiff.go.snap | 1 - .../api_op_GetSecurityConfiguration.go.snap | 1 - .../api_op_GetSecurityConfigurations.go.snap | 1 - .../glue/snapshot/api_op_GetSession.go.snap | 1 - .../glue/snapshot/api_op_GetStatement.go.snap | 1 - service/glue/snapshot/api_op_GetTable.go.snap | 1 - .../snapshot/api_op_GetTableOptimizer.go.snap | 1 - .../snapshot/api_op_GetTableVersion.go.snap | 1 - .../snapshot/api_op_GetTableVersions.go.snap | 1 - .../glue/snapshot/api_op_GetTables.go.snap | 1 - service/glue/snapshot/api_op_GetTags.go.snap | 1 - .../glue/snapshot/api_op_GetTrigger.go.snap | 1 - .../glue/snapshot/api_op_GetTriggers.go.snap | 1 - ..._op_GetUnfilteredPartitionMetadata.go.snap | 1 - ...op_GetUnfilteredPartitionsMetadata.go.snap | 1 - .../api_op_GetUnfilteredTableMetadata.go.snap | 1 - .../snapshot/api_op_GetUsageProfile.go.snap | 1 - .../api_op_GetUserDefinedFunction.go.snap | 1 - .../api_op_GetUserDefinedFunctions.go.snap | 1 - .../glue/snapshot/api_op_GetWorkflow.go.snap | 1 - .../snapshot/api_op_GetWorkflowRun.go.snap | 1 - .../api_op_GetWorkflowRunProperties.go.snap | 1 - .../snapshot/api_op_GetWorkflowRuns.go.snap | 1 - .../api_op_ImportCatalogToGlue.go.snap | 1 - .../snapshot/api_op_ListBlueprints.go.snap | 1 - ...pi_op_ListColumnStatisticsTaskRuns.go.snap | 1 - .../api_op_ListConnectionTypes.go.snap | 1 - .../glue/snapshot/api_op_ListCrawlers.go.snap | 1 - .../glue/snapshot/api_op_ListCrawls.go.snap | 1 - .../api_op_ListCustomEntityTypes.go.snap | 1 - .../api_op_ListDataQualityResults.go.snap | 1 - ...tDataQualityRuleRecommendationRuns.go.snap | 1 - ...stDataQualityRulesetEvaluationRuns.go.snap | 1 - .../api_op_ListDataQualityRulesets.go.snap | 1 - ...istDataQualityStatisticAnnotations.go.snap | 1 - .../api_op_ListDataQualityStatistics.go.snap | 1 - .../snapshot/api_op_ListDevEndpoints.go.snap | 1 - .../glue/snapshot/api_op_ListEntities.go.snap | 1 - service/glue/snapshot/api_op_ListJobs.go.snap | 1 - .../snapshot/api_op_ListMLTransforms.go.snap | 1 - .../snapshot/api_op_ListRegistries.go.snap | 1 - .../api_op_ListSchemaVersions.go.snap | 1 - .../glue/snapshot/api_op_ListSchemas.go.snap | 1 - .../glue/snapshot/api_op_ListSessions.go.snap | 1 - .../snapshot/api_op_ListStatements.go.snap | 1 - .../api_op_ListTableOptimizerRuns.go.snap | 1 - .../glue/snapshot/api_op_ListTriggers.go.snap | 1 - .../snapshot/api_op_ListUsageProfiles.go.snap | 1 - .../snapshot/api_op_ListWorkflows.go.snap | 1 - .../snapshot/api_op_ModifyIntegration.go.snap | 1 - ...p_PutDataCatalogEncryptionSettings.go.snap | 1 - ...op_PutDataQualityProfileAnnotation.go.snap | 1 - .../snapshot/api_op_PutResourcePolicy.go.snap | 1 - .../api_op_PutSchemaVersionMetadata.go.snap | 1 - .../api_op_PutWorkflowRunProperties.go.snap | 1 - .../api_op_QuerySchemaVersionMetadata.go.snap | 1 - .../api_op_RegisterSchemaVersion.go.snap | 1 - ...api_op_RemoveSchemaVersionMetadata.go.snap | 1 - .../snapshot/api_op_ResetJobBookmark.go.snap | 1 - .../snapshot/api_op_ResumeWorkflowRun.go.snap | 1 - .../glue/snapshot/api_op_RunStatement.go.snap | 1 - .../glue/snapshot/api_op_SearchTables.go.snap | 1 - .../snapshot/api_op_StartBlueprintRun.go.snap | 1 - ...pi_op_StartColumnStatisticsTaskRun.go.snap | 1 - ...artColumnStatisticsTaskRunSchedule.go.snap | 1 - .../glue/snapshot/api_op_StartCrawler.go.snap | 1 - .../api_op_StartCrawlerSchedule.go.snap | 1 - ...rtDataQualityRuleRecommendationRun.go.snap | 1 - ...artDataQualityRulesetEvaluationRun.go.snap | 1 - .../api_op_StartExportLabelsTaskRun.go.snap | 1 - .../api_op_StartImportLabelsTaskRun.go.snap | 1 - .../glue/snapshot/api_op_StartJobRun.go.snap | 1 - .../api_op_StartMLEvaluationTaskRun.go.snap | 1 - ...tartMLLabelingSetGenerationTaskRun.go.snap | 1 - .../glue/snapshot/api_op_StartTrigger.go.snap | 1 - .../snapshot/api_op_StartWorkflowRun.go.snap | 1 - ...api_op_StopColumnStatisticsTaskRun.go.snap | 1 - ...topColumnStatisticsTaskRunSchedule.go.snap | 1 - .../glue/snapshot/api_op_StopCrawler.go.snap | 1 - .../api_op_StopCrawlerSchedule.go.snap | 1 - .../glue/snapshot/api_op_StopSession.go.snap | 1 - .../glue/snapshot/api_op_StopTrigger.go.snap | 1 - .../snapshot/api_op_StopWorkflowRun.go.snap | 1 - .../glue/snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_TestConnection.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateBlueprint.go.snap | 1 - .../snapshot/api_op_UpdateCatalog.go.snap | 1 - .../snapshot/api_op_UpdateClassifier.go.snap | 1 - ...UpdateColumnStatisticsForPartition.go.snap | 1 - ..._op_UpdateColumnStatisticsForTable.go.snap | 1 - ...UpdateColumnStatisticsTaskSettings.go.snap | 1 - .../snapshot/api_op_UpdateConnection.go.snap | 1 - .../snapshot/api_op_UpdateCrawler.go.snap | 1 - .../api_op_UpdateCrawlerSchedule.go.snap | 1 - .../api_op_UpdateDataQualityRuleset.go.snap | 1 - .../snapshot/api_op_UpdateDatabase.go.snap | 1 - .../snapshot/api_op_UpdateDevEndpoint.go.snap | 1 - ..._UpdateIntegrationResourceProperty.go.snap | 1 - ...p_UpdateIntegrationTableProperties.go.snap | 1 - .../glue/snapshot/api_op_UpdateJob.go.snap | 1 - .../api_op_UpdateJobFromSourceControl.go.snap | 1 - .../snapshot/api_op_UpdateMLTransform.go.snap | 1 - .../snapshot/api_op_UpdatePartition.go.snap | 1 - .../snapshot/api_op_UpdateRegistry.go.snap | 1 - .../glue/snapshot/api_op_UpdateSchema.go.snap | 1 - .../api_op_UpdateSourceControlFromJob.go.snap | 1 - .../glue/snapshot/api_op_UpdateTable.go.snap | 1 - .../api_op_UpdateTableOptimizer.go.snap | 1 - .../snapshot/api_op_UpdateTrigger.go.snap | 1 - .../api_op_UpdateUsageProfile.go.snap | 1 - .../api_op_UpdateUserDefinedFunction.go.snap | 1 - .../snapshot/api_op_UpdateWorkflow.go.snap | 1 - service/grafana/api_client.go | 31 -- service/grafana/api_op_AssociateLicense.go | 3 - service/grafana/api_op_CreateWorkspace.go | 3 - .../grafana/api_op_CreateWorkspaceApiKey.go | 3 - .../api_op_CreateWorkspaceServiceAccount.go | 3 - ...i_op_CreateWorkspaceServiceAccountToken.go | 3 - service/grafana/api_op_DeleteWorkspace.go | 3 - .../grafana/api_op_DeleteWorkspaceApiKey.go | 3 - .../api_op_DeleteWorkspaceServiceAccount.go | 3 - ...i_op_DeleteWorkspaceServiceAccountToken.go | 3 - service/grafana/api_op_DescribeWorkspace.go | 3 - .../api_op_DescribeWorkspaceAuthentication.go | 3 - .../api_op_DescribeWorkspaceConfiguration.go | 3 - service/grafana/api_op_DisassociateLicense.go | 3 - service/grafana/api_op_ListPermissions.go | 3 - service/grafana/api_op_ListTagsForResource.go | 3 - service/grafana/api_op_ListVersions.go | 3 - ...pi_op_ListWorkspaceServiceAccountTokens.go | 3 - .../api_op_ListWorkspaceServiceAccounts.go | 3 - service/grafana/api_op_ListWorkspaces.go | 3 - service/grafana/api_op_TagResource.go | 3 - service/grafana/api_op_UntagResource.go | 3 - service/grafana/api_op_UpdatePermissions.go | 3 - service/grafana/api_op_UpdateWorkspace.go | 3 - .../api_op_UpdateWorkspaceAuthentication.go | 3 - .../api_op_UpdateWorkspaceConfiguration.go | 3 - .../snapshot/api_op_AssociateLicense.go.snap | 1 - .../snapshot/api_op_CreateWorkspace.go.snap | 1 - .../api_op_CreateWorkspaceApiKey.go.snap | 1 - ...i_op_CreateWorkspaceServiceAccount.go.snap | 1 - ...CreateWorkspaceServiceAccountToken.go.snap | 1 - .../snapshot/api_op_DeleteWorkspace.go.snap | 1 - .../api_op_DeleteWorkspaceApiKey.go.snap | 1 - ...i_op_DeleteWorkspaceServiceAccount.go.snap | 1 - ...DeleteWorkspaceServiceAccountToken.go.snap | 1 - .../snapshot/api_op_DescribeWorkspace.go.snap | 1 - ...op_DescribeWorkspaceAuthentication.go.snap | 1 - ..._op_DescribeWorkspaceConfiguration.go.snap | 1 - .../api_op_DisassociateLicense.go.snap | 1 - .../snapshot/api_op_ListPermissions.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListVersions.go.snap | 1 - ..._ListWorkspaceServiceAccountTokens.go.snap | 1 - ...pi_op_ListWorkspaceServiceAccounts.go.snap | 1 - .../snapshot/api_op_ListWorkspaces.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdatePermissions.go.snap | 1 - .../snapshot/api_op_UpdateWorkspace.go.snap | 1 - ...i_op_UpdateWorkspaceAuthentication.go.snap | 1 - ...pi_op_UpdateWorkspaceConfiguration.go.snap | 1 - service/greengrass/api_client.go | 31 -- .../greengrass/api_op_AssociateRoleToGroup.go | 3 - .../api_op_AssociateServiceRoleToAccount.go | 3 - .../api_op_CreateConnectorDefinition.go | 3 - ...api_op_CreateConnectorDefinitionVersion.go | 3 - .../greengrass/api_op_CreateCoreDefinition.go | 3 - .../api_op_CreateCoreDefinitionVersion.go | 3 - service/greengrass/api_op_CreateDeployment.go | 3 - .../api_op_CreateDeviceDefinition.go | 3 - .../api_op_CreateDeviceDefinitionVersion.go | 3 - .../api_op_CreateFunctionDefinition.go | 3 - .../api_op_CreateFunctionDefinitionVersion.go | 3 - service/greengrass/api_op_CreateGroup.go | 3 - .../api_op_CreateGroupCertificateAuthority.go | 3 - .../greengrass/api_op_CreateGroupVersion.go | 3 - .../api_op_CreateLoggerDefinition.go | 3 - .../api_op_CreateLoggerDefinitionVersion.go | 3 - .../api_op_CreateResourceDefinition.go | 3 - .../api_op_CreateResourceDefinitionVersion.go | 3 - .../api_op_CreateSoftwareUpdateJob.go | 3 - .../api_op_CreateSubscriptionDefinition.go | 3 - ..._op_CreateSubscriptionDefinitionVersion.go | 3 - .../api_op_DeleteConnectorDefinition.go | 3 - .../greengrass/api_op_DeleteCoreDefinition.go | 3 - .../api_op_DeleteDeviceDefinition.go | 3 - .../api_op_DeleteFunctionDefinition.go | 3 - service/greengrass/api_op_DeleteGroup.go | 3 - .../api_op_DeleteLoggerDefinition.go | 3 - .../api_op_DeleteResourceDefinition.go | 3 - .../api_op_DeleteSubscriptionDefinition.go | 3 - .../api_op_DisassociateRoleFromGroup.go | 3 - ...i_op_DisassociateServiceRoleFromAccount.go | 3 - .../greengrass/api_op_GetAssociatedRole.go | 3 - .../api_op_GetBulkDeploymentStatus.go | 3 - .../greengrass/api_op_GetConnectivityInfo.go | 3 - .../api_op_GetConnectorDefinition.go | 3 - .../api_op_GetConnectorDefinitionVersion.go | 3 - .../greengrass/api_op_GetCoreDefinition.go | 3 - .../api_op_GetCoreDefinitionVersion.go | 3 - .../greengrass/api_op_GetDeploymentStatus.go | 3 - .../greengrass/api_op_GetDeviceDefinition.go | 3 - .../api_op_GetDeviceDefinitionVersion.go | 3 - .../api_op_GetFunctionDefinition.go | 3 - .../api_op_GetFunctionDefinitionVersion.go | 3 - service/greengrass/api_op_GetGroup.go | 3 - .../api_op_GetGroupCertificateAuthority.go | 3 - ...api_op_GetGroupCertificateConfiguration.go | 3 - service/greengrass/api_op_GetGroupVersion.go | 3 - .../greengrass/api_op_GetLoggerDefinition.go | 3 - .../api_op_GetLoggerDefinitionVersion.go | 3 - .../api_op_GetResourceDefinition.go | 3 - .../api_op_GetResourceDefinitionVersion.go | 3 - .../api_op_GetServiceRoleForAccount.go | 3 - .../api_op_GetSubscriptionDefinition.go | 3 - ...api_op_GetSubscriptionDefinitionVersion.go | 3 - .../api_op_GetThingRuntimeConfiguration.go | 3 - ...pi_op_ListBulkDeploymentDetailedReports.go | 3 - .../greengrass/api_op_ListBulkDeployments.go | 3 - .../api_op_ListConnectorDefinitionVersions.go | 3 - .../api_op_ListConnectorDefinitions.go | 3 - .../api_op_ListCoreDefinitionVersions.go | 3 - .../greengrass/api_op_ListCoreDefinitions.go | 3 - service/greengrass/api_op_ListDeployments.go | 3 - .../api_op_ListDeviceDefinitionVersions.go | 3 - .../api_op_ListDeviceDefinitions.go | 3 - .../api_op_ListFunctionDefinitionVersions.go | 3 - .../api_op_ListFunctionDefinitions.go | 3 - .../api_op_ListGroupCertificateAuthorities.go | 3 - .../greengrass/api_op_ListGroupVersions.go | 3 - service/greengrass/api_op_ListGroups.go | 3 - .../api_op_ListLoggerDefinitionVersions.go | 3 - .../api_op_ListLoggerDefinitions.go | 3 - .../api_op_ListResourceDefinitionVersions.go | 3 - .../api_op_ListResourceDefinitions.go | 3 - ...i_op_ListSubscriptionDefinitionVersions.go | 3 - .../api_op_ListSubscriptionDefinitions.go | 3 - .../greengrass/api_op_ListTagsForResource.go | 3 - service/greengrass/api_op_ResetDeployments.go | 3 - .../greengrass/api_op_StartBulkDeployment.go | 3 - .../greengrass/api_op_StopBulkDeployment.go | 3 - service/greengrass/api_op_TagResource.go | 3 - service/greengrass/api_op_UntagResource.go | 3 - .../api_op_UpdateConnectivityInfo.go | 3 - .../api_op_UpdateConnectorDefinition.go | 3 - .../greengrass/api_op_UpdateCoreDefinition.go | 3 - .../api_op_UpdateDeviceDefinition.go | 3 - .../api_op_UpdateFunctionDefinition.go | 3 - service/greengrass/api_op_UpdateGroup.go | 3 - ..._op_UpdateGroupCertificateConfiguration.go | 3 - .../api_op_UpdateLoggerDefinition.go | 3 - .../api_op_UpdateResourceDefinition.go | 3 - .../api_op_UpdateSubscriptionDefinition.go | 3 - .../api_op_UpdateThingRuntimeConfiguration.go | 3 - .../api_op_AssociateRoleToGroup.go.snap | 1 - ...i_op_AssociateServiceRoleToAccount.go.snap | 1 - .../api_op_CreateConnectorDefinition.go.snap | 1 - ...p_CreateConnectorDefinitionVersion.go.snap | 1 - .../api_op_CreateCoreDefinition.go.snap | 1 - ...api_op_CreateCoreDefinitionVersion.go.snap | 1 - .../snapshot/api_op_CreateDeployment.go.snap | 1 - .../api_op_CreateDeviceDefinition.go.snap | 1 - ...i_op_CreateDeviceDefinitionVersion.go.snap | 1 - .../api_op_CreateFunctionDefinition.go.snap | 1 - ...op_CreateFunctionDefinitionVersion.go.snap | 1 - .../snapshot/api_op_CreateGroup.go.snap | 1 - ...op_CreateGroupCertificateAuthority.go.snap | 1 - .../api_op_CreateGroupVersion.go.snap | 1 - .../api_op_CreateLoggerDefinition.go.snap | 1 - ...i_op_CreateLoggerDefinitionVersion.go.snap | 1 - .../api_op_CreateResourceDefinition.go.snap | 1 - ...op_CreateResourceDefinitionVersion.go.snap | 1 - .../api_op_CreateSoftwareUpdateJob.go.snap | 1 - ...pi_op_CreateSubscriptionDefinition.go.snap | 1 - ...reateSubscriptionDefinitionVersion.go.snap | 1 - .../api_op_DeleteConnectorDefinition.go.snap | 1 - .../api_op_DeleteCoreDefinition.go.snap | 1 - .../api_op_DeleteDeviceDefinition.go.snap | 1 - .../api_op_DeleteFunctionDefinition.go.snap | 1 - .../snapshot/api_op_DeleteGroup.go.snap | 1 - .../api_op_DeleteLoggerDefinition.go.snap | 1 - .../api_op_DeleteResourceDefinition.go.snap | 1 - ...pi_op_DeleteSubscriptionDefinition.go.snap | 1 - .../api_op_DisassociateRoleFromGroup.go.snap | 1 - ...DisassociateServiceRoleFromAccount.go.snap | 1 - .../snapshot/api_op_GetAssociatedRole.go.snap | 1 - .../api_op_GetBulkDeploymentStatus.go.snap | 1 - .../api_op_GetConnectivityInfo.go.snap | 1 - .../api_op_GetConnectorDefinition.go.snap | 1 - ...i_op_GetConnectorDefinitionVersion.go.snap | 1 - .../snapshot/api_op_GetCoreDefinition.go.snap | 1 - .../api_op_GetCoreDefinitionVersion.go.snap | 1 - .../api_op_GetDeploymentStatus.go.snap | 1 - .../api_op_GetDeviceDefinition.go.snap | 1 - .../api_op_GetDeviceDefinitionVersion.go.snap | 1 - .../api_op_GetFunctionDefinition.go.snap | 1 - ...pi_op_GetFunctionDefinitionVersion.go.snap | 1 - .../snapshot/api_op_GetGroup.go.snap | 1 - ...pi_op_GetGroupCertificateAuthority.go.snap | 1 - ...p_GetGroupCertificateConfiguration.go.snap | 1 - .../snapshot/api_op_GetGroupVersion.go.snap | 1 - .../api_op_GetLoggerDefinition.go.snap | 1 - .../api_op_GetLoggerDefinitionVersion.go.snap | 1 - .../api_op_GetResourceDefinition.go.snap | 1 - ...pi_op_GetResourceDefinitionVersion.go.snap | 1 - .../api_op_GetServiceRoleForAccount.go.snap | 1 - .../api_op_GetSubscriptionDefinition.go.snap | 1 - ...p_GetSubscriptionDefinitionVersion.go.snap | 1 - ...pi_op_GetThingRuntimeConfiguration.go.snap | 1 - ..._ListBulkDeploymentDetailedReports.go.snap | 1 - .../api_op_ListBulkDeployments.go.snap | 1 - ...op_ListConnectorDefinitionVersions.go.snap | 1 - .../api_op_ListConnectorDefinitions.go.snap | 1 - .../api_op_ListCoreDefinitionVersions.go.snap | 1 - .../api_op_ListCoreDefinitions.go.snap | 1 - .../snapshot/api_op_ListDeployments.go.snap | 1 - ...pi_op_ListDeviceDefinitionVersions.go.snap | 1 - .../api_op_ListDeviceDefinitions.go.snap | 1 - ..._op_ListFunctionDefinitionVersions.go.snap | 1 - .../api_op_ListFunctionDefinitions.go.snap | 1 - ...op_ListGroupCertificateAuthorities.go.snap | 1 - .../snapshot/api_op_ListGroupVersions.go.snap | 1 - .../snapshot/api_op_ListGroups.go.snap | 1 - ...pi_op_ListLoggerDefinitionVersions.go.snap | 1 - .../api_op_ListLoggerDefinitions.go.snap | 1 - ..._op_ListResourceDefinitionVersions.go.snap | 1 - .../api_op_ListResourceDefinitions.go.snap | 1 - ...ListSubscriptionDefinitionVersions.go.snap | 1 - ...api_op_ListSubscriptionDefinitions.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ResetDeployments.go.snap | 1 - .../api_op_StartBulkDeployment.go.snap | 1 - .../api_op_StopBulkDeployment.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateConnectivityInfo.go.snap | 1 - .../api_op_UpdateConnectorDefinition.go.snap | 1 - .../api_op_UpdateCoreDefinition.go.snap | 1 - .../api_op_UpdateDeviceDefinition.go.snap | 1 - .../api_op_UpdateFunctionDefinition.go.snap | 1 - .../snapshot/api_op_UpdateGroup.go.snap | 1 - ...pdateGroupCertificateConfiguration.go.snap | 1 - .../api_op_UpdateLoggerDefinition.go.snap | 1 - .../api_op_UpdateResourceDefinition.go.snap | 1 - ...pi_op_UpdateSubscriptionDefinition.go.snap | 1 - ...op_UpdateThingRuntimeConfiguration.go.snap | 1 - service/greengrassv2/api_client.go | 31 -- .../api_op_AssociateServiceRoleToAccount.go | 3 - ...atchAssociateClientDeviceWithCoreDevice.go | 3 - ...hDisassociateClientDeviceFromCoreDevice.go | 3 - .../greengrassv2/api_op_CancelDeployment.go | 3 - .../api_op_CreateComponentVersion.go | 3 - .../greengrassv2/api_op_CreateDeployment.go | 3 - .../greengrassv2/api_op_DeleteComponent.go | 3 - .../greengrassv2/api_op_DeleteCoreDevice.go | 3 - .../greengrassv2/api_op_DeleteDeployment.go | 3 - .../greengrassv2/api_op_DescribeComponent.go | 3 - ...i_op_DisassociateServiceRoleFromAccount.go | 3 - service/greengrassv2/api_op_GetComponent.go | 3 - .../api_op_GetComponentVersionArtifact.go | 3 - .../api_op_GetConnectivityInfo.go | 3 - service/greengrassv2/api_op_GetCoreDevice.go | 3 - service/greengrassv2/api_op_GetDeployment.go | 3 - .../api_op_GetServiceRoleForAccount.go | 3 - ...stClientDevicesAssociatedWithCoreDevice.go | 3 - .../api_op_ListComponentVersions.go | 3 - service/greengrassv2/api_op_ListComponents.go | 3 - .../greengrassv2/api_op_ListCoreDevices.go | 3 - .../greengrassv2/api_op_ListDeployments.go | 3 - .../api_op_ListEffectiveDeployments.go | 3 - .../api_op_ListInstalledComponents.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_ResolveComponentCandidates.go | 3 - service/greengrassv2/api_op_TagResource.go | 3 - service/greengrassv2/api_op_UntagResource.go | 3 - .../api_op_UpdateConnectivityInfo.go | 3 - ...i_op_AssociateServiceRoleToAccount.go.snap | 1 - ...ssociateClientDeviceWithCoreDevice.go.snap | 1 - ...ssociateClientDeviceFromCoreDevice.go.snap | 1 - .../snapshot/api_op_CancelDeployment.go.snap | 1 - .../api_op_CreateComponentVersion.go.snap | 1 - .../snapshot/api_op_CreateDeployment.go.snap | 1 - .../snapshot/api_op_DeleteComponent.go.snap | 1 - .../snapshot/api_op_DeleteCoreDevice.go.snap | 1 - .../snapshot/api_op_DeleteDeployment.go.snap | 1 - .../snapshot/api_op_DescribeComponent.go.snap | 1 - ...DisassociateServiceRoleFromAccount.go.snap | 1 - .../snapshot/api_op_GetComponent.go.snap | 1 - ...api_op_GetComponentVersionArtifact.go.snap | 1 - .../api_op_GetConnectivityInfo.go.snap | 1 - .../snapshot/api_op_GetCoreDevice.go.snap | 1 - .../snapshot/api_op_GetDeployment.go.snap | 1 - .../api_op_GetServiceRoleForAccount.go.snap | 1 - ...entDevicesAssociatedWithCoreDevice.go.snap | 1 - .../api_op_ListComponentVersions.go.snap | 1 - .../snapshot/api_op_ListComponents.go.snap | 1 - .../snapshot/api_op_ListCoreDevices.go.snap | 1 - .../snapshot/api_op_ListDeployments.go.snap | 1 - .../api_op_ListEffectiveDeployments.go.snap | 1 - .../api_op_ListInstalledComponents.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ResolveComponentCandidates.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateConnectivityInfo.go.snap | 1 - service/groundstation/api_client.go | 31 -- service/groundstation/api_op_CancelContact.go | 3 - service/groundstation/api_op_CreateConfig.go | 3 - .../api_op_CreateDataflowEndpointGroup.go | 3 - .../groundstation/api_op_CreateEphemeris.go | 3 - .../api_op_CreateMissionProfile.go | 3 - service/groundstation/api_op_DeleteConfig.go | 3 - .../api_op_DeleteDataflowEndpointGroup.go | 3 - .../groundstation/api_op_DeleteEphemeris.go | 3 - .../api_op_DeleteMissionProfile.go | 3 - .../groundstation/api_op_DescribeContact.go | 3 - .../groundstation/api_op_DescribeEphemeris.go | 3 - .../api_op_GetAgentConfiguration.go | 3 - service/groundstation/api_op_GetConfig.go | 3 - .../api_op_GetDataflowEndpointGroup.go | 3 - .../groundstation/api_op_GetMinuteUsage.go | 3 - .../groundstation/api_op_GetMissionProfile.go | 3 - service/groundstation/api_op_GetSatellite.go | 3 - service/groundstation/api_op_ListConfigs.go | 3 - service/groundstation/api_op_ListContacts.go | 3 - .../api_op_ListDataflowEndpointGroups.go | 3 - .../groundstation/api_op_ListEphemerides.go | 3 - .../api_op_ListGroundStations.go | 3 - .../api_op_ListMissionProfiles.go | 3 - .../groundstation/api_op_ListSatellites.go | 3 - .../api_op_ListTagsForResource.go | 3 - service/groundstation/api_op_RegisterAgent.go | 3 - .../groundstation/api_op_ReserveContact.go | 3 - service/groundstation/api_op_TagResource.go | 3 - service/groundstation/api_op_UntagResource.go | 3 - .../groundstation/api_op_UpdateAgentStatus.go | 3 - service/groundstation/api_op_UpdateConfig.go | 3 - .../groundstation/api_op_UpdateEphemeris.go | 3 - .../api_op_UpdateMissionProfile.go | 3 - .../snapshot/api_op_CancelContact.go.snap | 1 - .../snapshot/api_op_CreateConfig.go.snap | 1 - ...api_op_CreateDataflowEndpointGroup.go.snap | 1 - .../snapshot/api_op_CreateEphemeris.go.snap | 1 - .../api_op_CreateMissionProfile.go.snap | 1 - .../snapshot/api_op_DeleteConfig.go.snap | 1 - ...api_op_DeleteDataflowEndpointGroup.go.snap | 1 - .../snapshot/api_op_DeleteEphemeris.go.snap | 1 - .../api_op_DeleteMissionProfile.go.snap | 1 - .../snapshot/api_op_DescribeContact.go.snap | 1 - .../snapshot/api_op_DescribeEphemeris.go.snap | 1 - .../api_op_GetAgentConfiguration.go.snap | 1 - .../snapshot/api_op_GetConfig.go.snap | 1 - .../api_op_GetDataflowEndpointGroup.go.snap | 1 - .../snapshot/api_op_GetMinuteUsage.go.snap | 1 - .../snapshot/api_op_GetMissionProfile.go.snap | 1 - .../snapshot/api_op_GetSatellite.go.snap | 1 - .../snapshot/api_op_ListConfigs.go.snap | 1 - .../snapshot/api_op_ListContacts.go.snap | 1 - .../api_op_ListDataflowEndpointGroups.go.snap | 1 - .../snapshot/api_op_ListEphemerides.go.snap | 1 - .../api_op_ListGroundStations.go.snap | 1 - .../api_op_ListMissionProfiles.go.snap | 1 - .../snapshot/api_op_ListSatellites.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_RegisterAgent.go.snap | 1 - .../snapshot/api_op_ReserveContact.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateAgentStatus.go.snap | 1 - .../snapshot/api_op_UpdateConfig.go.snap | 1 - .../snapshot/api_op_UpdateEphemeris.go.snap | 1 - .../api_op_UpdateMissionProfile.go.snap | 1 - service/guardduty/api_client.go | 31 -- .../api_op_AcceptAdministratorInvitation.go | 3 - service/guardduty/api_op_AcceptInvitation.go | 3 - service/guardduty/api_op_ArchiveFindings.go | 3 - service/guardduty/api_op_CreateDetector.go | 3 - service/guardduty/api_op_CreateFilter.go | 3 - service/guardduty/api_op_CreateIPSet.go | 3 - .../api_op_CreateMalwareProtectionPlan.go | 3 - service/guardduty/api_op_CreateMembers.go | 3 - .../api_op_CreatePublishingDestination.go | 3 - .../guardduty/api_op_CreateSampleFindings.go | 3 - .../guardduty/api_op_CreateThreatIntelSet.go | 3 - .../guardduty/api_op_DeclineInvitations.go | 3 - service/guardduty/api_op_DeleteDetector.go | 3 - service/guardduty/api_op_DeleteFilter.go | 3 - service/guardduty/api_op_DeleteIPSet.go | 3 - service/guardduty/api_op_DeleteInvitations.go | 3 - .../api_op_DeleteMalwareProtectionPlan.go | 3 - service/guardduty/api_op_DeleteMembers.go | 3 - .../api_op_DeletePublishingDestination.go | 3 - .../guardduty/api_op_DeleteThreatIntelSet.go | 3 - .../guardduty/api_op_DescribeMalwareScans.go | 3 - ...pi_op_DescribeOrganizationConfiguration.go | 3 - .../api_op_DescribePublishingDestination.go | 3 - .../api_op_DisableOrganizationAdminAccount.go | 3 - ...op_DisassociateFromAdministratorAccount.go | 3 - .../api_op_DisassociateFromMasterAccount.go | 3 - .../guardduty/api_op_DisassociateMembers.go | 3 - .../api_op_EnableOrganizationAdminAccount.go | 3 - .../api_op_GetAdministratorAccount.go | 3 - .../guardduty/api_op_GetCoverageStatistics.go | 3 - service/guardduty/api_op_GetDetector.go | 3 - service/guardduty/api_op_GetFilter.go | 3 - service/guardduty/api_op_GetFindings.go | 3 - .../guardduty/api_op_GetFindingsStatistics.go | 3 - service/guardduty/api_op_GetIPSet.go | 3 - .../guardduty/api_op_GetInvitationsCount.go | 3 - .../api_op_GetMalwareProtectionPlan.go | 3 - .../api_op_GetMalwareScanSettings.go | 3 - service/guardduty/api_op_GetMasterAccount.go | 3 - .../guardduty/api_op_GetMemberDetectors.go | 3 - service/guardduty/api_op_GetMembers.go | 3 - .../api_op_GetOrganizationStatistics.go | 3 - .../api_op_GetRemainingFreeTrialDays.go | 3 - service/guardduty/api_op_GetThreatIntelSet.go | 3 - .../guardduty/api_op_GetUsageStatistics.go | 3 - service/guardduty/api_op_InviteMembers.go | 3 - service/guardduty/api_op_ListCoverage.go | 3 - service/guardduty/api_op_ListDetectors.go | 3 - service/guardduty/api_op_ListFilters.go | 3 - service/guardduty/api_op_ListFindings.go | 3 - service/guardduty/api_op_ListIPSets.go | 3 - service/guardduty/api_op_ListInvitations.go | 3 - .../api_op_ListMalwareProtectionPlans.go | 3 - service/guardduty/api_op_ListMembers.go | 3 - .../api_op_ListOrganizationAdminAccounts.go | 3 - .../api_op_ListPublishingDestinations.go | 3 - .../guardduty/api_op_ListTagsForResource.go | 3 - .../guardduty/api_op_ListThreatIntelSets.go | 3 - service/guardduty/api_op_StartMalwareScan.go | 3 - .../api_op_StartMonitoringMembers.go | 3 - .../guardduty/api_op_StopMonitoringMembers.go | 3 - service/guardduty/api_op_TagResource.go | 3 - service/guardduty/api_op_UnarchiveFindings.go | 3 - service/guardduty/api_op_UntagResource.go | 3 - service/guardduty/api_op_UpdateDetector.go | 3 - service/guardduty/api_op_UpdateFilter.go | 3 - .../api_op_UpdateFindingsFeedback.go | 3 - service/guardduty/api_op_UpdateIPSet.go | 3 - .../api_op_UpdateMalwareProtectionPlan.go | 3 - .../api_op_UpdateMalwareScanSettings.go | 3 - .../guardduty/api_op_UpdateMemberDetectors.go | 3 - .../api_op_UpdateOrganizationConfiguration.go | 3 - .../api_op_UpdatePublishingDestination.go | 3 - .../guardduty/api_op_UpdateThreatIntelSet.go | 3 - ...i_op_AcceptAdministratorInvitation.go.snap | 1 - .../snapshot/api_op_AcceptInvitation.go.snap | 1 - .../snapshot/api_op_ArchiveFindings.go.snap | 1 - .../snapshot/api_op_CreateDetector.go.snap | 1 - .../snapshot/api_op_CreateFilter.go.snap | 1 - .../snapshot/api_op_CreateIPSet.go.snap | 1 - ...api_op_CreateMalwareProtectionPlan.go.snap | 1 - .../snapshot/api_op_CreateMembers.go.snap | 1 - ...api_op_CreatePublishingDestination.go.snap | 1 - .../api_op_CreateSampleFindings.go.snap | 1 - .../api_op_CreateThreatIntelSet.go.snap | 1 - .../api_op_DeclineInvitations.go.snap | 1 - .../snapshot/api_op_DeleteDetector.go.snap | 1 - .../snapshot/api_op_DeleteFilter.go.snap | 1 - .../snapshot/api_op_DeleteIPSet.go.snap | 1 - .../snapshot/api_op_DeleteInvitations.go.snap | 1 - ...api_op_DeleteMalwareProtectionPlan.go.snap | 1 - .../snapshot/api_op_DeleteMembers.go.snap | 1 - ...api_op_DeletePublishingDestination.go.snap | 1 - .../api_op_DeleteThreatIntelSet.go.snap | 1 - .../api_op_DescribeMalwareScans.go.snap | 1 - ..._DescribeOrganizationConfiguration.go.snap | 1 - ...i_op_DescribePublishingDestination.go.snap | 1 - ...op_DisableOrganizationAdminAccount.go.snap | 1 - ...sassociateFromAdministratorAccount.go.snap | 1 - ...i_op_DisassociateFromMasterAccount.go.snap | 1 - .../api_op_DisassociateMembers.go.snap | 1 - ..._op_EnableOrganizationAdminAccount.go.snap | 1 - .../api_op_GetAdministratorAccount.go.snap | 1 - .../api_op_GetCoverageStatistics.go.snap | 1 - .../snapshot/api_op_GetDetector.go.snap | 1 - .../snapshot/api_op_GetFilter.go.snap | 1 - .../snapshot/api_op_GetFindings.go.snap | 1 - .../api_op_GetFindingsStatistics.go.snap | 1 - .../snapshot/api_op_GetIPSet.go.snap | 1 - .../api_op_GetInvitationsCount.go.snap | 1 - .../api_op_GetMalwareProtectionPlan.go.snap | 1 - .../api_op_GetMalwareScanSettings.go.snap | 1 - .../snapshot/api_op_GetMasterAccount.go.snap | 1 - .../api_op_GetMemberDetectors.go.snap | 1 - .../snapshot/api_op_GetMembers.go.snap | 1 - .../api_op_GetOrganizationStatistics.go.snap | 1 - .../api_op_GetRemainingFreeTrialDays.go.snap | 1 - .../snapshot/api_op_GetThreatIntelSet.go.snap | 1 - .../api_op_GetUsageStatistics.go.snap | 1 - .../snapshot/api_op_InviteMembers.go.snap | 1 - .../snapshot/api_op_ListCoverage.go.snap | 1 - .../snapshot/api_op_ListDetectors.go.snap | 1 - .../snapshot/api_op_ListFilters.go.snap | 1 - .../snapshot/api_op_ListFindings.go.snap | 1 - .../snapshot/api_op_ListIPSets.go.snap | 1 - .../snapshot/api_op_ListInvitations.go.snap | 1 - .../api_op_ListMalwareProtectionPlans.go.snap | 1 - .../snapshot/api_op_ListMembers.go.snap | 1 - ...i_op_ListOrganizationAdminAccounts.go.snap | 1 - .../api_op_ListPublishingDestinations.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListThreatIntelSets.go.snap | 1 - .../snapshot/api_op_StartMalwareScan.go.snap | 1 - .../api_op_StartMonitoringMembers.go.snap | 1 - .../api_op_StopMonitoringMembers.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UnarchiveFindings.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateDetector.go.snap | 1 - .../snapshot/api_op_UpdateFilter.go.snap | 1 - .../api_op_UpdateFindingsFeedback.go.snap | 1 - .../snapshot/api_op_UpdateIPSet.go.snap | 1 - ...api_op_UpdateMalwareProtectionPlan.go.snap | 1 - .../api_op_UpdateMalwareScanSettings.go.snap | 1 - .../api_op_UpdateMemberDetectors.go.snap | 1 - ...op_UpdateOrganizationConfiguration.go.snap | 1 - ...api_op_UpdatePublishingDestination.go.snap | 1 - .../api_op_UpdateThreatIntelSet.go.snap | 1 - service/health/api_client.go | 31 -- ...DescribeAffectedAccountsForOrganization.go | 3 - .../health/api_op_DescribeAffectedEntities.go | 3 - ...DescribeAffectedEntitiesForOrganization.go | 3 - .../health/api_op_DescribeEntityAggregates.go | 3 - ...DescribeEntityAggregatesForOrganization.go | 3 - .../health/api_op_DescribeEventAggregates.go | 3 - service/health/api_op_DescribeEventDetails.go | 3 - ..._op_DescribeEventDetailsForOrganization.go | 3 - service/health/api_op_DescribeEventTypes.go | 3 - service/health/api_op_DescribeEvents.go | 3 - .../api_op_DescribeEventsForOrganization.go | 3 - ...cribeHealthServiceStatusForOrganization.go | 3 - ...sableHealthServiceAccessForOrganization.go | 3 - ...nableHealthServiceAccessForOrganization.go | 3 - ...ibeAffectedAccountsForOrganization.go.snap | 1 - .../api_op_DescribeAffectedEntities.go.snap | 1 - ...ibeAffectedEntitiesForOrganization.go.snap | 1 - .../api_op_DescribeEntityAggregates.go.snap | 1 - ...ibeEntityAggregatesForOrganization.go.snap | 1 - .../api_op_DescribeEventAggregates.go.snap | 1 - .../api_op_DescribeEventDetails.go.snap | 1 - ...escribeEventDetailsForOrganization.go.snap | 1 - .../api_op_DescribeEventTypes.go.snap | 1 - .../snapshot/api_op_DescribeEvents.go.snap | 1 - ...i_op_DescribeEventsForOrganization.go.snap | 1 - ...HealthServiceStatusForOrganization.go.snap | 1 - ...HealthServiceAccessForOrganization.go.snap | 1 - ...HealthServiceAccessForOrganization.go.snap | 1 - service/healthlake/api_client.go | 31 -- .../healthlake/api_op_CreateFHIRDatastore.go | 3 - .../healthlake/api_op_DeleteFHIRDatastore.go | 3 - .../api_op_DescribeFHIRDatastore.go | 3 - .../api_op_DescribeFHIRExportJob.go | 3 - .../api_op_DescribeFHIRImportJob.go | 3 - .../healthlake/api_op_ListFHIRDatastores.go | 3 - .../healthlake/api_op_ListFHIRExportJobs.go | 3 - .../healthlake/api_op_ListFHIRImportJobs.go | 3 - .../healthlake/api_op_ListTagsForResource.go | 3 - .../healthlake/api_op_StartFHIRExportJob.go | 3 - .../healthlake/api_op_StartFHIRImportJob.go | 3 - service/healthlake/api_op_TagResource.go | 3 - service/healthlake/api_op_UntagResource.go | 3 - .../api_op_CreateFHIRDatastore.go.snap | 1 - .../api_op_DeleteFHIRDatastore.go.snap | 1 - .../api_op_DescribeFHIRDatastore.go.snap | 1 - .../api_op_DescribeFHIRExportJob.go.snap | 1 - .../api_op_DescribeFHIRImportJob.go.snap | 1 - .../api_op_ListFHIRDatastores.go.snap | 1 - .../api_op_ListFHIRExportJobs.go.snap | 1 - .../api_op_ListFHIRImportJobs.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_StartFHIRExportJob.go.snap | 1 - .../api_op_StartFHIRImportJob.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - service/iam/api_client.go | 31 -- ...i_op_AddClientIDToOpenIDConnectProvider.go | 3 - .../iam/api_op_AddRoleToInstanceProfile.go | 3 - service/iam/api_op_AddUserToGroup.go | 3 - service/iam/api_op_AttachGroupPolicy.go | 3 - service/iam/api_op_AttachRolePolicy.go | 3 - service/iam/api_op_AttachUserPolicy.go | 3 - service/iam/api_op_ChangePassword.go | 3 - service/iam/api_op_CreateAccessKey.go | 3 - service/iam/api_op_CreateAccountAlias.go | 3 - service/iam/api_op_CreateGroup.go | 3 - service/iam/api_op_CreateInstanceProfile.go | 3 - service/iam/api_op_CreateLoginProfile.go | 3 - .../iam/api_op_CreateOpenIDConnectProvider.go | 3 - service/iam/api_op_CreatePolicy.go | 3 - service/iam/api_op_CreatePolicyVersion.go | 3 - service/iam/api_op_CreateRole.go | 3 - service/iam/api_op_CreateSAMLProvider.go | 3 - service/iam/api_op_CreateServiceLinkedRole.go | 3 - .../api_op_CreateServiceSpecificCredential.go | 3 - service/iam/api_op_CreateUser.go | 3 - service/iam/api_op_CreateVirtualMFADevice.go | 3 - service/iam/api_op_DeactivateMFADevice.go | 3 - service/iam/api_op_DeleteAccessKey.go | 3 - service/iam/api_op_DeleteAccountAlias.go | 3 - .../iam/api_op_DeleteAccountPasswordPolicy.go | 3 - service/iam/api_op_DeleteGroup.go | 3 - service/iam/api_op_DeleteGroupPolicy.go | 3 - service/iam/api_op_DeleteInstanceProfile.go | 3 - service/iam/api_op_DeleteLoginProfile.go | 3 - .../iam/api_op_DeleteOpenIDConnectProvider.go | 3 - service/iam/api_op_DeletePolicy.go | 3 - service/iam/api_op_DeletePolicyVersion.go | 3 - service/iam/api_op_DeleteRole.go | 3 - .../api_op_DeleteRolePermissionsBoundary.go | 3 - service/iam/api_op_DeleteRolePolicy.go | 3 - service/iam/api_op_DeleteSAMLProvider.go | 3 - service/iam/api_op_DeleteSSHPublicKey.go | 3 - service/iam/api_op_DeleteServerCertificate.go | 3 - service/iam/api_op_DeleteServiceLinkedRole.go | 3 - .../api_op_DeleteServiceSpecificCredential.go | 3 - .../iam/api_op_DeleteSigningCertificate.go | 3 - service/iam/api_op_DeleteUser.go | 3 - .../api_op_DeleteUserPermissionsBoundary.go | 3 - service/iam/api_op_DeleteUserPolicy.go | 3 - service/iam/api_op_DeleteVirtualMFADevice.go | 3 - service/iam/api_op_DetachGroupPolicy.go | 3 - service/iam/api_op_DetachRolePolicy.go | 3 - service/iam/api_op_DetachUserPolicy.go | 3 - ...eOrganizationsRootCredentialsManagement.go | 3 - ...api_op_DisableOrganizationsRootSessions.go | 3 - service/iam/api_op_EnableMFADevice.go | 3 - ...eOrganizationsRootCredentialsManagement.go | 3 - .../api_op_EnableOrganizationsRootSessions.go | 3 - .../iam/api_op_GenerateCredentialReport.go | 3 - ...pi_op_GenerateOrganizationsAccessReport.go | 3 - ...i_op_GenerateServiceLastAccessedDetails.go | 3 - service/iam/api_op_GetAccessKeyLastUsed.go | 3 - .../api_op_GetAccountAuthorizationDetails.go | 3 - .../iam/api_op_GetAccountPasswordPolicy.go | 3 - service/iam/api_op_GetAccountSummary.go | 3 - .../api_op_GetContextKeysForCustomPolicy.go | 3 - ...api_op_GetContextKeysForPrincipalPolicy.go | 3 - service/iam/api_op_GetCredentialReport.go | 3 - service/iam/api_op_GetGroup.go | 3 - service/iam/api_op_GetGroupPolicy.go | 3 - service/iam/api_op_GetInstanceProfile.go | 3 - service/iam/api_op_GetLoginProfile.go | 3 - service/iam/api_op_GetMFADevice.go | 3 - .../iam/api_op_GetOpenIDConnectProvider.go | 3 - .../api_op_GetOrganizationsAccessReport.go | 3 - service/iam/api_op_GetPolicy.go | 3 - service/iam/api_op_GetPolicyVersion.go | 3 - service/iam/api_op_GetRole.go | 3 - service/iam/api_op_GetRolePolicy.go | 3 - service/iam/api_op_GetSAMLProvider.go | 3 - service/iam/api_op_GetSSHPublicKey.go | 3 - service/iam/api_op_GetServerCertificate.go | 3 - .../api_op_GetServiceLastAccessedDetails.go | 3 - ...tServiceLastAccessedDetailsWithEntities.go | 3 - ...i_op_GetServiceLinkedRoleDeletionStatus.go | 3 - service/iam/api_op_GetUser.go | 3 - service/iam/api_op_GetUserPolicy.go | 3 - service/iam/api_op_ListAccessKeys.go | 3 - service/iam/api_op_ListAccountAliases.go | 3 - .../iam/api_op_ListAttachedGroupPolicies.go | 3 - .../iam/api_op_ListAttachedRolePolicies.go | 3 - .../iam/api_op_ListAttachedUserPolicies.go | 3 - service/iam/api_op_ListEntitiesForPolicy.go | 3 - service/iam/api_op_ListGroupPolicies.go | 3 - service/iam/api_op_ListGroups.go | 3 - service/iam/api_op_ListGroupsForUser.go | 3 - service/iam/api_op_ListInstanceProfileTags.go | 3 - service/iam/api_op_ListInstanceProfiles.go | 3 - .../iam/api_op_ListInstanceProfilesForRole.go | 3 - service/iam/api_op_ListMFADeviceTags.go | 3 - service/iam/api_op_ListMFADevices.go | 3 - .../api_op_ListOpenIDConnectProviderTags.go | 3 - .../iam/api_op_ListOpenIDConnectProviders.go | 3 - .../iam/api_op_ListOrganizationsFeatures.go | 3 - service/iam/api_op_ListPolicies.go | 3 - ...pi_op_ListPoliciesGrantingServiceAccess.go | 3 - service/iam/api_op_ListPolicyTags.go | 3 - service/iam/api_op_ListPolicyVersions.go | 3 - service/iam/api_op_ListRolePolicies.go | 3 - service/iam/api_op_ListRoleTags.go | 3 - service/iam/api_op_ListRoles.go | 3 - service/iam/api_op_ListSAMLProviderTags.go | 3 - service/iam/api_op_ListSAMLProviders.go | 3 - service/iam/api_op_ListSSHPublicKeys.go | 3 - .../iam/api_op_ListServerCertificateTags.go | 3 - service/iam/api_op_ListServerCertificates.go | 3 - .../api_op_ListServiceSpecificCredentials.go | 3 - service/iam/api_op_ListSigningCertificates.go | 3 - service/iam/api_op_ListUserPolicies.go | 3 - service/iam/api_op_ListUserTags.go | 3 - service/iam/api_op_ListUsers.go | 3 - service/iam/api_op_ListVirtualMFADevices.go | 3 - service/iam/api_op_PutGroupPolicy.go | 3 - .../iam/api_op_PutRolePermissionsBoundary.go | 3 - service/iam/api_op_PutRolePolicy.go | 3 - .../iam/api_op_PutUserPermissionsBoundary.go | 3 - service/iam/api_op_PutUserPolicy.go | 3 - ...RemoveClientIDFromOpenIDConnectProvider.go | 3 - .../api_op_RemoveRoleFromInstanceProfile.go | 3 - service/iam/api_op_RemoveUserFromGroup.go | 3 - .../api_op_ResetServiceSpecificCredential.go | 3 - service/iam/api_op_ResyncMFADevice.go | 3 - service/iam/api_op_SetDefaultPolicyVersion.go | 3 - ...i_op_SetSecurityTokenServicePreferences.go | 3 - service/iam/api_op_SimulateCustomPolicy.go | 3 - service/iam/api_op_SimulatePrincipalPolicy.go | 3 - service/iam/api_op_TagInstanceProfile.go | 3 - service/iam/api_op_TagMFADevice.go | 3 - .../iam/api_op_TagOpenIDConnectProvider.go | 3 - service/iam/api_op_TagPolicy.go | 3 - service/iam/api_op_TagRole.go | 3 - service/iam/api_op_TagSAMLProvider.go | 3 - service/iam/api_op_TagServerCertificate.go | 3 - service/iam/api_op_TagUser.go | 3 - service/iam/api_op_UntagInstanceProfile.go | 3 - service/iam/api_op_UntagMFADevice.go | 3 - .../iam/api_op_UntagOpenIDConnectProvider.go | 3 - service/iam/api_op_UntagPolicy.go | 3 - service/iam/api_op_UntagRole.go | 3 - service/iam/api_op_UntagSAMLProvider.go | 3 - service/iam/api_op_UntagServerCertificate.go | 3 - service/iam/api_op_UntagUser.go | 3 - service/iam/api_op_UpdateAccessKey.go | 3 - .../iam/api_op_UpdateAccountPasswordPolicy.go | 3 - service/iam/api_op_UpdateAssumeRolePolicy.go | 3 - service/iam/api_op_UpdateGroup.go | 3 - service/iam/api_op_UpdateLoginProfile.go | 3 - ...p_UpdateOpenIDConnectProviderThumbprint.go | 3 - service/iam/api_op_UpdateRole.go | 3 - service/iam/api_op_UpdateRoleDescription.go | 3 - service/iam/api_op_UpdateSAMLProvider.go | 3 - service/iam/api_op_UpdateSSHPublicKey.go | 3 - service/iam/api_op_UpdateServerCertificate.go | 3 - .../api_op_UpdateServiceSpecificCredential.go | 3 - .../iam/api_op_UpdateSigningCertificate.go | 3 - service/iam/api_op_UpdateUser.go | 3 - service/iam/api_op_UploadSSHPublicKey.go | 3 - service/iam/api_op_UploadServerCertificate.go | 3 - .../iam/api_op_UploadSigningCertificate.go | 3 - ...AddClientIDToOpenIDConnectProvider.go.snap | 1 - .../api_op_AddRoleToInstanceProfile.go.snap | 1 - .../snapshot/api_op_AddUserToGroup.go.snap | 1 - .../snapshot/api_op_AttachGroupPolicy.go.snap | 1 - .../snapshot/api_op_AttachRolePolicy.go.snap | 1 - .../snapshot/api_op_AttachUserPolicy.go.snap | 1 - .../snapshot/api_op_ChangePassword.go.snap | 1 - .../snapshot/api_op_CreateAccessKey.go.snap | 1 - .../api_op_CreateAccountAlias.go.snap | 1 - .../iam/snapshot/api_op_CreateGroup.go.snap | 1 - .../api_op_CreateInstanceProfile.go.snap | 1 - .../api_op_CreateLoginProfile.go.snap | 1 - ...api_op_CreateOpenIDConnectProvider.go.snap | 1 - .../iam/snapshot/api_op_CreatePolicy.go.snap | 1 - .../api_op_CreatePolicyVersion.go.snap | 1 - .../iam/snapshot/api_op_CreateRole.go.snap | 1 - .../api_op_CreateSAMLProvider.go.snap | 1 - .../api_op_CreateServiceLinkedRole.go.snap | 1 - ...op_CreateServiceSpecificCredential.go.snap | 1 - .../iam/snapshot/api_op_CreateUser.go.snap | 1 - .../api_op_CreateVirtualMFADevice.go.snap | 1 - .../api_op_DeactivateMFADevice.go.snap | 1 - .../snapshot/api_op_DeleteAccessKey.go.snap | 1 - .../api_op_DeleteAccountAlias.go.snap | 1 - ...api_op_DeleteAccountPasswordPolicy.go.snap | 1 - .../iam/snapshot/api_op_DeleteGroup.go.snap | 1 - .../snapshot/api_op_DeleteGroupPolicy.go.snap | 1 - .../api_op_DeleteInstanceProfile.go.snap | 1 - .../api_op_DeleteLoginProfile.go.snap | 1 - ...api_op_DeleteOpenIDConnectProvider.go.snap | 1 - .../iam/snapshot/api_op_DeletePolicy.go.snap | 1 - .../api_op_DeletePolicyVersion.go.snap | 1 - .../iam/snapshot/api_op_DeleteRole.go.snap | 1 - ...i_op_DeleteRolePermissionsBoundary.go.snap | 1 - .../snapshot/api_op_DeleteRolePolicy.go.snap | 1 - .../api_op_DeleteSAMLProvider.go.snap | 1 - .../api_op_DeleteSSHPublicKey.go.snap | 1 - .../api_op_DeleteServerCertificate.go.snap | 1 - .../api_op_DeleteServiceLinkedRole.go.snap | 1 - ...op_DeleteServiceSpecificCredential.go.snap | 1 - .../api_op_DeleteSigningCertificate.go.snap | 1 - .../iam/snapshot/api_op_DeleteUser.go.snap | 1 - ...i_op_DeleteUserPermissionsBoundary.go.snap | 1 - .../snapshot/api_op_DeleteUserPolicy.go.snap | 1 - .../api_op_DeleteVirtualMFADevice.go.snap | 1 - .../snapshot/api_op_DetachGroupPolicy.go.snap | 1 - .../snapshot/api_op_DetachRolePolicy.go.snap | 1 - .../snapshot/api_op_DetachUserPolicy.go.snap | 1 - ...nizationsRootCredentialsManagement.go.snap | 1 - ...p_DisableOrganizationsRootSessions.go.snap | 1 - .../snapshot/api_op_EnableMFADevice.go.snap | 1 - ...nizationsRootCredentialsManagement.go.snap | 1 - ...op_EnableOrganizationsRootSessions.go.snap | 1 - .../api_op_GenerateCredentialReport.go.snap | 1 - ..._GenerateOrganizationsAccessReport.go.snap | 1 - ...GenerateServiceLastAccessedDetails.go.snap | 1 - .../api_op_GetAccessKeyLastUsed.go.snap | 1 - ..._op_GetAccountAuthorizationDetails.go.snap | 1 - .../api_op_GetAccountPasswordPolicy.go.snap | 1 - .../snapshot/api_op_GetAccountSummary.go.snap | 1 - ...i_op_GetContextKeysForCustomPolicy.go.snap | 1 - ...p_GetContextKeysForPrincipalPolicy.go.snap | 1 - .../api_op_GetCredentialReport.go.snap | 1 - service/iam/snapshot/api_op_GetGroup.go.snap | 1 - .../snapshot/api_op_GetGroupPolicy.go.snap | 1 - .../api_op_GetInstanceProfile.go.snap | 1 - .../snapshot/api_op_GetLoginProfile.go.snap | 1 - .../iam/snapshot/api_op_GetMFADevice.go.snap | 1 - .../api_op_GetOpenIDConnectProvider.go.snap | 1 - ...pi_op_GetOrganizationsAccessReport.go.snap | 1 - service/iam/snapshot/api_op_GetPolicy.go.snap | 1 - .../snapshot/api_op_GetPolicyVersion.go.snap | 1 - service/iam/snapshot/api_op_GetRole.go.snap | 1 - .../iam/snapshot/api_op_GetRolePolicy.go.snap | 1 - .../snapshot/api_op_GetSAMLProvider.go.snap | 1 - .../snapshot/api_op_GetSSHPublicKey.go.snap | 1 - .../api_op_GetServerCertificate.go.snap | 1 - ...i_op_GetServiceLastAccessedDetails.go.snap | 1 - ...iceLastAccessedDetailsWithEntities.go.snap | 1 - ...GetServiceLinkedRoleDeletionStatus.go.snap | 1 - service/iam/snapshot/api_op_GetUser.go.snap | 1 - .../iam/snapshot/api_op_GetUserPolicy.go.snap | 1 - .../snapshot/api_op_ListAccessKeys.go.snap | 1 - .../api_op_ListAccountAliases.go.snap | 1 - .../api_op_ListAttachedGroupPolicies.go.snap | 1 - .../api_op_ListAttachedRolePolicies.go.snap | 1 - .../api_op_ListAttachedUserPolicies.go.snap | 1 - .../api_op_ListEntitiesForPolicy.go.snap | 1 - .../snapshot/api_op_ListGroupPolicies.go.snap | 1 - .../iam/snapshot/api_op_ListGroups.go.snap | 1 - .../snapshot/api_op_ListGroupsForUser.go.snap | 1 - .../api_op_ListInstanceProfileTags.go.snap | 1 - .../api_op_ListInstanceProfiles.go.snap | 1 - ...api_op_ListInstanceProfilesForRole.go.snap | 1 - .../snapshot/api_op_ListMFADeviceTags.go.snap | 1 - .../snapshot/api_op_ListMFADevices.go.snap | 1 - ...i_op_ListOpenIDConnectProviderTags.go.snap | 1 - .../api_op_ListOpenIDConnectProviders.go.snap | 1 - .../api_op_ListOrganizationsFeatures.go.snap | 1 - .../iam/snapshot/api_op_ListPolicies.go.snap | 1 - ..._ListPoliciesGrantingServiceAccess.go.snap | 1 - .../snapshot/api_op_ListPolicyTags.go.snap | 1 - .../api_op_ListPolicyVersions.go.snap | 1 - .../snapshot/api_op_ListRolePolicies.go.snap | 1 - .../iam/snapshot/api_op_ListRoleTags.go.snap | 1 - service/iam/snapshot/api_op_ListRoles.go.snap | 1 - .../api_op_ListSAMLProviderTags.go.snap | 1 - .../snapshot/api_op_ListSAMLProviders.go.snap | 1 - .../snapshot/api_op_ListSSHPublicKeys.go.snap | 1 - .../api_op_ListServerCertificateTags.go.snap | 1 - .../api_op_ListServerCertificates.go.snap | 1 - ..._op_ListServiceSpecificCredentials.go.snap | 1 - .../api_op_ListSigningCertificates.go.snap | 1 - .../snapshot/api_op_ListUserPolicies.go.snap | 1 - .../iam/snapshot/api_op_ListUserTags.go.snap | 1 - service/iam/snapshot/api_op_ListUsers.go.snap | 1 - .../api_op_ListVirtualMFADevices.go.snap | 1 - .../snapshot/api_op_PutGroupPolicy.go.snap | 1 - .../api_op_PutRolePermissionsBoundary.go.snap | 1 - .../iam/snapshot/api_op_PutRolePolicy.go.snap | 1 - .../api_op_PutUserPermissionsBoundary.go.snap | 1 - .../iam/snapshot/api_op_PutUserPolicy.go.snap | 1 - ...eClientIDFromOpenIDConnectProvider.go.snap | 1 - ...i_op_RemoveRoleFromInstanceProfile.go.snap | 1 - .../api_op_RemoveUserFromGroup.go.snap | 1 - ..._op_ResetServiceSpecificCredential.go.snap | 1 - .../snapshot/api_op_ResyncMFADevice.go.snap | 1 - .../api_op_SetDefaultPolicyVersion.go.snap | 1 - ...SetSecurityTokenServicePreferences.go.snap | 1 - .../api_op_SimulateCustomPolicy.go.snap | 1 - .../api_op_SimulatePrincipalPolicy.go.snap | 1 - .../api_op_TagInstanceProfile.go.snap | 1 - .../iam/snapshot/api_op_TagMFADevice.go.snap | 1 - .../api_op_TagOpenIDConnectProvider.go.snap | 1 - service/iam/snapshot/api_op_TagPolicy.go.snap | 1 - service/iam/snapshot/api_op_TagRole.go.snap | 1 - .../snapshot/api_op_TagSAMLProvider.go.snap | 1 - .../api_op_TagServerCertificate.go.snap | 1 - service/iam/snapshot/api_op_TagUser.go.snap | 1 - .../api_op_UntagInstanceProfile.go.snap | 1 - .../snapshot/api_op_UntagMFADevice.go.snap | 1 - .../api_op_UntagOpenIDConnectProvider.go.snap | 1 - .../iam/snapshot/api_op_UntagPolicy.go.snap | 1 - service/iam/snapshot/api_op_UntagRole.go.snap | 1 - .../snapshot/api_op_UntagSAMLProvider.go.snap | 1 - .../api_op_UntagServerCertificate.go.snap | 1 - service/iam/snapshot/api_op_UntagUser.go.snap | 1 - .../snapshot/api_op_UpdateAccessKey.go.snap | 1 - ...api_op_UpdateAccountPasswordPolicy.go.snap | 1 - .../api_op_UpdateAssumeRolePolicy.go.snap | 1 - .../iam/snapshot/api_op_UpdateGroup.go.snap | 1 - .../api_op_UpdateLoginProfile.go.snap | 1 - ...ateOpenIDConnectProviderThumbprint.go.snap | 1 - .../iam/snapshot/api_op_UpdateRole.go.snap | 1 - .../api_op_UpdateRoleDescription.go.snap | 1 - .../api_op_UpdateSAMLProvider.go.snap | 1 - .../api_op_UpdateSSHPublicKey.go.snap | 1 - .../api_op_UpdateServerCertificate.go.snap | 1 - ...op_UpdateServiceSpecificCredential.go.snap | 1 - .../api_op_UpdateSigningCertificate.go.snap | 1 - .../iam/snapshot/api_op_UpdateUser.go.snap | 1 - .../api_op_UploadSSHPublicKey.go.snap | 1 - .../api_op_UploadServerCertificate.go.snap | 1 - .../api_op_UploadSigningCertificate.go.snap | 1 - service/identitystore/api_client.go | 31 -- service/identitystore/api_op_CreateGroup.go | 3 - .../api_op_CreateGroupMembership.go | 3 - service/identitystore/api_op_CreateUser.go | 3 - service/identitystore/api_op_DeleteGroup.go | 3 - .../api_op_DeleteGroupMembership.go | 3 - service/identitystore/api_op_DeleteUser.go | 3 - service/identitystore/api_op_DescribeGroup.go | 3 - .../api_op_DescribeGroupMembership.go | 3 - service/identitystore/api_op_DescribeUser.go | 3 - service/identitystore/api_op_GetGroupId.go | 3 - .../api_op_GetGroupMembershipId.go | 3 - service/identitystore/api_op_GetUserId.go | 3 - .../identitystore/api_op_IsMemberInGroups.go | 3 - .../api_op_ListGroupMemberships.go | 3 - .../api_op_ListGroupMembershipsForMember.go | 3 - service/identitystore/api_op_ListGroups.go | 3 - service/identitystore/api_op_ListUsers.go | 3 - service/identitystore/api_op_UpdateGroup.go | 3 - service/identitystore/api_op_UpdateUser.go | 3 - .../snapshot/api_op_CreateGroup.go.snap | 1 - .../api_op_CreateGroupMembership.go.snap | 1 - .../snapshot/api_op_CreateUser.go.snap | 1 - .../snapshot/api_op_DeleteGroup.go.snap | 1 - .../api_op_DeleteGroupMembership.go.snap | 1 - .../snapshot/api_op_DeleteUser.go.snap | 1 - .../snapshot/api_op_DescribeGroup.go.snap | 1 - .../api_op_DescribeGroupMembership.go.snap | 1 - .../snapshot/api_op_DescribeUser.go.snap | 1 - .../snapshot/api_op_GetGroupId.go.snap | 1 - .../api_op_GetGroupMembershipId.go.snap | 1 - .../snapshot/api_op_GetUserId.go.snap | 1 - .../snapshot/api_op_IsMemberInGroups.go.snap | 1 - .../api_op_ListGroupMemberships.go.snap | 1 - ...i_op_ListGroupMembershipsForMember.go.snap | 1 - .../snapshot/api_op_ListGroups.go.snap | 1 - .../snapshot/api_op_ListUsers.go.snap | 1 - .../snapshot/api_op_UpdateGroup.go.snap | 1 - .../snapshot/api_op_UpdateUser.go.snap | 1 - service/imagebuilder/api_client.go | 31 -- .../api_op_CancelImageCreation.go | 3 - .../api_op_CancelLifecycleExecution.go | 3 - .../imagebuilder/api_op_CreateComponent.go | 3 - .../api_op_CreateContainerRecipe.go | 3 - .../api_op_CreateDistributionConfiguration.go | 3 - service/imagebuilder/api_op_CreateImage.go | 3 - .../api_op_CreateImagePipeline.go | 3 - .../imagebuilder/api_op_CreateImageRecipe.go | 3 - ...pi_op_CreateInfrastructureConfiguration.go | 3 - .../api_op_CreateLifecyclePolicy.go | 3 - service/imagebuilder/api_op_CreateWorkflow.go | 3 - .../imagebuilder/api_op_DeleteComponent.go | 3 - .../api_op_DeleteContainerRecipe.go | 3 - .../api_op_DeleteDistributionConfiguration.go | 3 - service/imagebuilder/api_op_DeleteImage.go | 3 - .../api_op_DeleteImagePipeline.go | 3 - .../imagebuilder/api_op_DeleteImageRecipe.go | 3 - ...pi_op_DeleteInfrastructureConfiguration.go | 3 - .../api_op_DeleteLifecyclePolicy.go | 3 - service/imagebuilder/api_op_DeleteWorkflow.go | 3 - service/imagebuilder/api_op_GetComponent.go | 3 - .../imagebuilder/api_op_GetComponentPolicy.go | 3 - .../imagebuilder/api_op_GetContainerRecipe.go | 3 - .../api_op_GetContainerRecipePolicy.go | 3 - .../api_op_GetDistributionConfiguration.go | 3 - service/imagebuilder/api_op_GetImage.go | 3 - .../imagebuilder/api_op_GetImagePipeline.go | 3 - service/imagebuilder/api_op_GetImagePolicy.go | 3 - service/imagebuilder/api_op_GetImageRecipe.go | 3 - .../api_op_GetImageRecipePolicy.go | 3 - .../api_op_GetInfrastructureConfiguration.go | 3 - .../api_op_GetLifecycleExecution.go | 3 - .../imagebuilder/api_op_GetLifecyclePolicy.go | 3 - .../api_op_GetMarketplaceResource.go | 3 - service/imagebuilder/api_op_GetWorkflow.go | 3 - .../api_op_GetWorkflowExecution.go | 3 - .../api_op_GetWorkflowStepExecution.go | 3 - .../imagebuilder/api_op_ImportComponent.go | 3 - .../imagebuilder/api_op_ImportDiskImage.go | 3 - service/imagebuilder/api_op_ImportVmImage.go | 3 - .../api_op_ListComponentBuildVersions.go | 3 - service/imagebuilder/api_op_ListComponents.go | 3 - .../api_op_ListContainerRecipes.go | 3 - .../api_op_ListDistributionConfigurations.go | 3 - .../api_op_ListImageBuildVersions.go | 3 - .../imagebuilder/api_op_ListImagePackages.go | 3 - .../api_op_ListImagePipelineImages.go | 3 - .../imagebuilder/api_op_ListImagePipelines.go | 3 - .../imagebuilder/api_op_ListImageRecipes.go | 3 - ...api_op_ListImageScanFindingAggregations.go | 3 - .../api_op_ListImageScanFindings.go | 3 - service/imagebuilder/api_op_ListImages.go | 3 - ...api_op_ListInfrastructureConfigurations.go | 3 - .../api_op_ListLifecycleExecutionResources.go | 3 - .../api_op_ListLifecycleExecutions.go | 3 - .../api_op_ListLifecyclePolicies.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_ListWaitingWorkflowSteps.go | 3 - .../api_op_ListWorkflowBuildVersions.go | 3 - .../api_op_ListWorkflowExecutions.go | 3 - .../api_op_ListWorkflowStepExecutions.go | 3 - service/imagebuilder/api_op_ListWorkflows.go | 3 - .../imagebuilder/api_op_PutComponentPolicy.go | 3 - .../api_op_PutContainerRecipePolicy.go | 3 - service/imagebuilder/api_op_PutImagePolicy.go | 3 - .../api_op_PutImageRecipePolicy.go | 3 - .../api_op_SendWorkflowStepAction.go | 3 - .../api_op_StartImagePipelineExecution.go | 3 - .../api_op_StartResourceStateUpdate.go | 3 - service/imagebuilder/api_op_TagResource.go | 3 - service/imagebuilder/api_op_UntagResource.go | 3 - .../api_op_UpdateDistributionConfiguration.go | 3 - .../api_op_UpdateImagePipeline.go | 3 - ...pi_op_UpdateInfrastructureConfiguration.go | 3 - .../api_op_UpdateLifecyclePolicy.go | 3 - .../api_op_CancelImageCreation.go.snap | 1 - .../api_op_CancelLifecycleExecution.go.snap | 1 - .../snapshot/api_op_CreateComponent.go.snap | 1 - .../api_op_CreateContainerRecipe.go.snap | 1 - ...op_CreateDistributionConfiguration.go.snap | 1 - .../snapshot/api_op_CreateImage.go.snap | 1 - .../api_op_CreateImagePipeline.go.snap | 1 - .../snapshot/api_op_CreateImageRecipe.go.snap | 1 - ..._CreateInfrastructureConfiguration.go.snap | 1 - .../api_op_CreateLifecyclePolicy.go.snap | 1 - .../snapshot/api_op_CreateWorkflow.go.snap | 1 - .../snapshot/api_op_DeleteComponent.go.snap | 1 - .../api_op_DeleteContainerRecipe.go.snap | 1 - ...op_DeleteDistributionConfiguration.go.snap | 1 - .../snapshot/api_op_DeleteImage.go.snap | 1 - .../api_op_DeleteImagePipeline.go.snap | 1 - .../snapshot/api_op_DeleteImageRecipe.go.snap | 1 - ..._DeleteInfrastructureConfiguration.go.snap | 1 - .../api_op_DeleteLifecyclePolicy.go.snap | 1 - .../snapshot/api_op_DeleteWorkflow.go.snap | 1 - .../snapshot/api_op_GetComponent.go.snap | 1 - .../api_op_GetComponentPolicy.go.snap | 1 - .../api_op_GetContainerRecipe.go.snap | 1 - .../api_op_GetContainerRecipePolicy.go.snap | 1 - ...pi_op_GetDistributionConfiguration.go.snap | 1 - .../snapshot/api_op_GetImage.go.snap | 1 - .../snapshot/api_op_GetImagePipeline.go.snap | 1 - .../snapshot/api_op_GetImagePolicy.go.snap | 1 - .../snapshot/api_op_GetImageRecipe.go.snap | 1 - .../api_op_GetImageRecipePolicy.go.snap | 1 - ..._op_GetInfrastructureConfiguration.go.snap | 1 - .../api_op_GetLifecycleExecution.go.snap | 1 - .../api_op_GetLifecyclePolicy.go.snap | 1 - .../api_op_GetMarketplaceResource.go.snap | 1 - .../snapshot/api_op_GetWorkflow.go.snap | 1 - .../api_op_GetWorkflowExecution.go.snap | 1 - .../api_op_GetWorkflowStepExecution.go.snap | 1 - .../snapshot/api_op_ImportComponent.go.snap | 1 - .../snapshot/api_op_ImportDiskImage.go.snap | 1 - .../snapshot/api_op_ImportVmImage.go.snap | 1 - .../api_op_ListComponentBuildVersions.go.snap | 1 - .../snapshot/api_op_ListComponents.go.snap | 1 - .../api_op_ListContainerRecipes.go.snap | 1 - ..._op_ListDistributionConfigurations.go.snap | 1 - .../api_op_ListImageBuildVersions.go.snap | 1 - .../snapshot/api_op_ListImagePackages.go.snap | 1 - .../api_op_ListImagePipelineImages.go.snap | 1 - .../api_op_ListImagePipelines.go.snap | 1 - .../snapshot/api_op_ListImageRecipes.go.snap | 1 - ...p_ListImageScanFindingAggregations.go.snap | 1 - .../api_op_ListImageScanFindings.go.snap | 1 - .../snapshot/api_op_ListImages.go.snap | 1 - ...p_ListInfrastructureConfigurations.go.snap | 1 - ...op_ListLifecycleExecutionResources.go.snap | 1 - .../api_op_ListLifecycleExecutions.go.snap | 1 - .../api_op_ListLifecyclePolicies.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListWaitingWorkflowSteps.go.snap | 1 - .../api_op_ListWorkflowBuildVersions.go.snap | 1 - .../api_op_ListWorkflowExecutions.go.snap | 1 - .../api_op_ListWorkflowStepExecutions.go.snap | 1 - .../snapshot/api_op_ListWorkflows.go.snap | 1 - .../api_op_PutComponentPolicy.go.snap | 1 - .../api_op_PutContainerRecipePolicy.go.snap | 1 - .../snapshot/api_op_PutImagePolicy.go.snap | 1 - .../api_op_PutImageRecipePolicy.go.snap | 1 - .../api_op_SendWorkflowStepAction.go.snap | 1 - ...api_op_StartImagePipelineExecution.go.snap | 1 - .../api_op_StartResourceStateUpdate.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - ...op_UpdateDistributionConfiguration.go.snap | 1 - .../api_op_UpdateImagePipeline.go.snap | 1 - ..._UpdateInfrastructureConfiguration.go.snap | 1 - .../api_op_UpdateLifecyclePolicy.go.snap | 1 - service/inspector/api_client.go | 31 -- .../api_op_AddAttributesToFindings.go | 3 - .../api_op_CreateAssessmentTarget.go | 3 - .../api_op_CreateAssessmentTemplate.go | 3 - .../api_op_CreateExclusionsPreview.go | 3 - .../inspector/api_op_CreateResourceGroup.go | 3 - .../inspector/api_op_DeleteAssessmentRun.go | 3 - .../api_op_DeleteAssessmentTarget.go | 3 - .../api_op_DeleteAssessmentTemplate.go | 3 - .../api_op_DescribeAssessmentRuns.go | 3 - .../api_op_DescribeAssessmentTargets.go | 3 - .../api_op_DescribeAssessmentTemplates.go | 3 - .../api_op_DescribeCrossAccountAccessRole.go | 3 - .../inspector/api_op_DescribeExclusions.go | 3 - service/inspector/api_op_DescribeFindings.go | 3 - .../api_op_DescribeResourceGroups.go | 3 - .../inspector/api_op_DescribeRulesPackages.go | 3 - .../inspector/api_op_GetAssessmentReport.go | 3 - .../inspector/api_op_GetExclusionsPreview.go | 3 - .../inspector/api_op_GetTelemetryMetadata.go | 3 - .../api_op_ListAssessmentRunAgents.go | 3 - .../inspector/api_op_ListAssessmentRuns.go | 3 - .../inspector/api_op_ListAssessmentTargets.go | 3 - .../api_op_ListAssessmentTemplates.go | 3 - .../api_op_ListEventSubscriptions.go | 3 - service/inspector/api_op_ListExclusions.go | 3 - service/inspector/api_op_ListFindings.go | 3 - service/inspector/api_op_ListRulesPackages.go | 3 - .../inspector/api_op_ListTagsForResource.go | 3 - service/inspector/api_op_PreviewAgents.go | 3 - .../api_op_RegisterCrossAccountAccessRole.go | 3 - .../api_op_RemoveAttributesFromFindings.go | 3 - .../inspector/api_op_SetTagsForResource.go | 3 - .../inspector/api_op_StartAssessmentRun.go | 3 - service/inspector/api_op_StopAssessmentRun.go | 3 - service/inspector/api_op_SubscribeToEvent.go | 3 - .../inspector/api_op_UnsubscribeFromEvent.go | 3 - .../api_op_UpdateAssessmentTarget.go | 3 - .../api_op_AddAttributesToFindings.go.snap | 1 - .../api_op_CreateAssessmentTarget.go.snap | 1 - .../api_op_CreateAssessmentTemplate.go.snap | 1 - .../api_op_CreateExclusionsPreview.go.snap | 1 - .../api_op_CreateResourceGroup.go.snap | 1 - .../api_op_DeleteAssessmentRun.go.snap | 1 - .../api_op_DeleteAssessmentTarget.go.snap | 1 - .../api_op_DeleteAssessmentTemplate.go.snap | 1 - .../api_op_DescribeAssessmentRuns.go.snap | 1 - .../api_op_DescribeAssessmentTargets.go.snap | 1 - ...api_op_DescribeAssessmentTemplates.go.snap | 1 - ..._op_DescribeCrossAccountAccessRole.go.snap | 1 - .../api_op_DescribeExclusions.go.snap | 1 - .../snapshot/api_op_DescribeFindings.go.snap | 1 - .../api_op_DescribeResourceGroups.go.snap | 1 - .../api_op_DescribeRulesPackages.go.snap | 1 - .../api_op_GetAssessmentReport.go.snap | 1 - .../api_op_GetExclusionsPreview.go.snap | 1 - .../api_op_GetTelemetryMetadata.go.snap | 1 - .../api_op_ListAssessmentRunAgents.go.snap | 1 - .../api_op_ListAssessmentRuns.go.snap | 1 - .../api_op_ListAssessmentTargets.go.snap | 1 - .../api_op_ListAssessmentTemplates.go.snap | 1 - .../api_op_ListEventSubscriptions.go.snap | 1 - .../snapshot/api_op_ListExclusions.go.snap | 1 - .../snapshot/api_op_ListFindings.go.snap | 1 - .../snapshot/api_op_ListRulesPackages.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_PreviewAgents.go.snap | 1 - ..._op_RegisterCrossAccountAccessRole.go.snap | 1 - ...pi_op_RemoveAttributesFromFindings.go.snap | 1 - .../api_op_SetTagsForResource.go.snap | 1 - .../api_op_StartAssessmentRun.go.snap | 1 - .../snapshot/api_op_StopAssessmentRun.go.snap | 1 - .../snapshot/api_op_SubscribeToEvent.go.snap | 1 - .../api_op_UnsubscribeFromEvent.go.snap | 1 - .../api_op_UpdateAssessmentTarget.go.snap | 1 - service/inspector2/api_client.go | 31 -- service/inspector2/api_op_AssociateMember.go | 3 - .../api_op_BatchGetAccountStatus.go | 3 - .../inspector2/api_op_BatchGetCodeSnippet.go | 3 - .../api_op_BatchGetFindingDetails.go | 3 - .../api_op_BatchGetFreeTrialInfo.go | 3 - ...p_BatchGetMemberEc2DeepInspectionStatus.go | 3 - ...atchUpdateMemberEc2DeepInspectionStatus.go | 3 - .../inspector2/api_op_CancelFindingsReport.go | 3 - service/inspector2/api_op_CancelSbomExport.go | 3 - .../api_op_CreateCisScanConfiguration.go | 3 - service/inspector2/api_op_CreateFilter.go | 3 - .../inspector2/api_op_CreateFindingsReport.go | 3 - service/inspector2/api_op_CreateSbomExport.go | 3 - .../api_op_DeleteCisScanConfiguration.go | 3 - service/inspector2/api_op_DeleteFilter.go | 3 - ...pi_op_DescribeOrganizationConfiguration.go | 3 - service/inspector2/api_op_Disable.go | 3 - .../api_op_DisableDelegatedAdminAccount.go | 3 - .../inspector2/api_op_DisassociateMember.go | 3 - service/inspector2/api_op_Enable.go | 3 - .../api_op_EnableDelegatedAdminAccount.go | 3 - service/inspector2/api_op_GetCisScanReport.go | 3 - .../api_op_GetCisScanResultDetails.go | 3 - service/inspector2/api_op_GetConfiguration.go | 3 - .../api_op_GetDelegatedAdminAccount.go | 3 - ...pi_op_GetEc2DeepInspectionConfiguration.go | 3 - service/inspector2/api_op_GetEncryptionKey.go | 3 - .../api_op_GetFindingsReportStatus.go | 3 - service/inspector2/api_op_GetMember.go | 3 - service/inspector2/api_op_GetSbomExport.go | 3 - .../api_op_ListAccountPermissions.go | 3 - .../api_op_ListCisScanConfigurations.go | 3 - ...op_ListCisScanResultsAggregatedByChecks.go | 3 - ...isScanResultsAggregatedByTargetResource.go | 3 - service/inspector2/api_op_ListCisScans.go | 3 - service/inspector2/api_op_ListCoverage.go | 3 - .../api_op_ListCoverageStatistics.go | 3 - .../api_op_ListDelegatedAdminAccounts.go | 3 - service/inspector2/api_op_ListFilters.go | 3 - .../api_op_ListFindingAggregations.go | 3 - service/inspector2/api_op_ListFindings.go | 3 - service/inspector2/api_op_ListMembers.go | 3 - .../inspector2/api_op_ListTagsForResource.go | 3 - service/inspector2/api_op_ListUsageTotals.go | 3 - .../inspector2/api_op_ResetEncryptionKey.go | 3 - .../api_op_SearchVulnerabilities.go | 3 - .../inspector2/api_op_SendCisSessionHealth.go | 3 - .../api_op_SendCisSessionTelemetry.go | 3 - service/inspector2/api_op_StartCisSession.go | 3 - service/inspector2/api_op_StopCisSession.go | 3 - service/inspector2/api_op_TagResource.go | 3 - service/inspector2/api_op_UntagResource.go | 3 - .../api_op_UpdateCisScanConfiguration.go | 3 - .../inspector2/api_op_UpdateConfiguration.go | 3 - ...op_UpdateEc2DeepInspectionConfiguration.go | 3 - .../inspector2/api_op_UpdateEncryptionKey.go | 3 - service/inspector2/api_op_UpdateFilter.go | 3 - ...UpdateOrgEc2DeepInspectionConfiguration.go | 3 - .../api_op_UpdateOrganizationConfiguration.go | 3 - .../snapshot/api_op_AssociateMember.go.snap | 1 - .../api_op_BatchGetAccountStatus.go.snap | 1 - .../api_op_BatchGetCodeSnippet.go.snap | 1 - .../api_op_BatchGetFindingDetails.go.snap | 1 - .../api_op_BatchGetFreeTrialInfo.go.snap | 1 - ...chGetMemberEc2DeepInspectionStatus.go.snap | 1 - ...pdateMemberEc2DeepInspectionStatus.go.snap | 1 - .../api_op_CancelFindingsReport.go.snap | 1 - .../snapshot/api_op_CancelSbomExport.go.snap | 1 - .../api_op_CreateCisScanConfiguration.go.snap | 1 - .../snapshot/api_op_CreateFilter.go.snap | 1 - .../api_op_CreateFindingsReport.go.snap | 1 - .../snapshot/api_op_CreateSbomExport.go.snap | 1 - .../api_op_DeleteCisScanConfiguration.go.snap | 1 - .../snapshot/api_op_DeleteFilter.go.snap | 1 - ..._DescribeOrganizationConfiguration.go.snap | 1 - .../snapshot/api_op_Disable.go.snap | 1 - ...pi_op_DisableDelegatedAdminAccount.go.snap | 1 - .../api_op_DisassociateMember.go.snap | 1 - .../inspector2/snapshot/api_op_Enable.go.snap | 1 - ...api_op_EnableDelegatedAdminAccount.go.snap | 1 - .../snapshot/api_op_GetCisScanReport.go.snap | 1 - .../api_op_GetCisScanResultDetails.go.snap | 1 - .../snapshot/api_op_GetConfiguration.go.snap | 1 - .../api_op_GetDelegatedAdminAccount.go.snap | 1 - ..._GetEc2DeepInspectionConfiguration.go.snap | 1 - .../snapshot/api_op_GetEncryptionKey.go.snap | 1 - .../api_op_GetFindingsReportStatus.go.snap | 1 - .../snapshot/api_op_GetMember.go.snap | 1 - .../snapshot/api_op_GetSbomExport.go.snap | 1 - .../api_op_ListAccountPermissions.go.snap | 1 - .../api_op_ListCisScanConfigurations.go.snap | 1 - ...stCisScanResultsAggregatedByChecks.go.snap | 1 - ...nResultsAggregatedByTargetResource.go.snap | 1 - .../snapshot/api_op_ListCisScans.go.snap | 1 - .../snapshot/api_op_ListCoverage.go.snap | 1 - .../api_op_ListCoverageStatistics.go.snap | 1 - .../api_op_ListDelegatedAdminAccounts.go.snap | 1 - .../snapshot/api_op_ListFilters.go.snap | 1 - .../api_op_ListFindingAggregations.go.snap | 1 - .../snapshot/api_op_ListFindings.go.snap | 1 - .../snapshot/api_op_ListMembers.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListUsageTotals.go.snap | 1 - .../api_op_ResetEncryptionKey.go.snap | 1 - .../api_op_SearchVulnerabilities.go.snap | 1 - .../api_op_SendCisSessionHealth.go.snap | 1 - .../api_op_SendCisSessionTelemetry.go.snap | 1 - .../snapshot/api_op_StartCisSession.go.snap | 1 - .../snapshot/api_op_StopCisSession.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateCisScanConfiguration.go.snap | 1 - .../api_op_UpdateConfiguration.go.snap | 1 - ...dateEc2DeepInspectionConfiguration.go.snap | 1 - .../api_op_UpdateEncryptionKey.go.snap | 1 - .../snapshot/api_op_UpdateFilter.go.snap | 1 - ...eOrgEc2DeepInspectionConfiguration.go.snap | 1 - ...op_UpdateOrganizationConfiguration.go.snap | 1 - service/inspectorscan/api_client.go | 31 -- service/inspectorscan/api_op_ScanSbom.go | 3 - .../snapshot/api_op_ScanSbom.go.snap | 1 - service/internetmonitor/api_client.go | 31 -- .../internetmonitor/api_op_CreateMonitor.go | 3 - .../internetmonitor/api_op_DeleteMonitor.go | 3 - .../internetmonitor/api_op_GetHealthEvent.go | 3 - .../api_op_GetInternetEvent.go | 3 - service/internetmonitor/api_op_GetMonitor.go | 3 - .../internetmonitor/api_op_GetQueryResults.go | 3 - .../internetmonitor/api_op_GetQueryStatus.go | 3 - .../api_op_ListHealthEvents.go | 3 - .../api_op_ListInternetEvents.go | 3 - .../internetmonitor/api_op_ListMonitors.go | 3 - .../api_op_ListTagsForResource.go | 3 - service/internetmonitor/api_op_StartQuery.go | 3 - service/internetmonitor/api_op_StopQuery.go | 3 - service/internetmonitor/api_op_TagResource.go | 3 - .../internetmonitor/api_op_UntagResource.go | 3 - .../internetmonitor/api_op_UpdateMonitor.go | 3 - .../snapshot/api_op_CreateMonitor.go.snap | 1 - .../snapshot/api_op_DeleteMonitor.go.snap | 1 - .../snapshot/api_op_GetHealthEvent.go.snap | 1 - .../snapshot/api_op_GetInternetEvent.go.snap | 1 - .../snapshot/api_op_GetMonitor.go.snap | 1 - .../snapshot/api_op_GetQueryResults.go.snap | 1 - .../snapshot/api_op_GetQueryStatus.go.snap | 1 - .../snapshot/api_op_ListHealthEvents.go.snap | 1 - .../api_op_ListInternetEvents.go.snap | 1 - .../snapshot/api_op_ListMonitors.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_StartQuery.go.snap | 1 - .../snapshot/api_op_StopQuery.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateMonitor.go.snap | 1 - service/invoicing/api_client.go | 31 -- .../api_op_BatchGetInvoiceProfile.go | 3 - service/invoicing/api_op_CreateInvoiceUnit.go | 3 - service/invoicing/api_op_DeleteInvoiceUnit.go | 3 - service/invoicing/api_op_GetInvoiceUnit.go | 3 - service/invoicing/api_op_ListInvoiceUnits.go | 3 - .../invoicing/api_op_ListTagsForResource.go | 3 - service/invoicing/api_op_TagResource.go | 3 - service/invoicing/api_op_UntagResource.go | 3 - service/invoicing/api_op_UpdateInvoiceUnit.go | 3 - .../api_op_BatchGetInvoiceProfile.go.snap | 1 - .../snapshot/api_op_CreateInvoiceUnit.go.snap | 1 - .../snapshot/api_op_DeleteInvoiceUnit.go.snap | 1 - .../snapshot/api_op_GetInvoiceUnit.go.snap | 1 - .../snapshot/api_op_ListInvoiceUnits.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateInvoiceUnit.go.snap | 1 - service/iot/api_client.go | 31 -- .../iot/api_op_AcceptCertificateTransfer.go | 3 - service/iot/api_op_AddThingToBillingGroup.go | 3 - service/iot/api_op_AddThingToThingGroup.go | 3 - .../api_op_AssociateSbomWithPackageVersion.go | 3 - service/iot/api_op_AssociateTargetsWithJob.go | 3 - service/iot/api_op_AttachPolicy.go | 3 - service/iot/api_op_AttachPrincipalPolicy.go | 3 - service/iot/api_op_AttachSecurityProfile.go | 3 - service/iot/api_op_AttachThingPrincipal.go | 3 - ...api_op_CancelAuditMitigationActionsTask.go | 3 - service/iot/api_op_CancelAuditTask.go | 3 - .../iot/api_op_CancelCertificateTransfer.go | 3 - ...pi_op_CancelDetectMitigationActionsTask.go | 3 - service/iot/api_op_CancelJob.go | 3 - service/iot/api_op_CancelJobExecution.go | 3 - service/iot/api_op_ClearDefaultAuthorizer.go | 3 - .../iot/api_op_ConfirmTopicRuleDestination.go | 3 - service/iot/api_op_CreateAuditSuppression.go | 3 - service/iot/api_op_CreateAuthorizer.go | 3 - service/iot/api_op_CreateBillingGroup.go | 3 - .../iot/api_op_CreateCertificateFromCsr.go | 3 - .../iot/api_op_CreateCertificateProvider.go | 3 - service/iot/api_op_CreateCommand.go | 3 - service/iot/api_op_CreateCustomMetric.go | 3 - service/iot/api_op_CreateDimension.go | 3 - .../iot/api_op_CreateDomainConfiguration.go | 3 - service/iot/api_op_CreateDynamicThingGroup.go | 3 - service/iot/api_op_CreateFleetMetric.go | 3 - service/iot/api_op_CreateJob.go | 3 - service/iot/api_op_CreateJobTemplate.go | 3 - .../iot/api_op_CreateKeysAndCertificate.go | 3 - service/iot/api_op_CreateMitigationAction.go | 3 - service/iot/api_op_CreateOTAUpdate.go | 3 - service/iot/api_op_CreatePackage.go | 3 - service/iot/api_op_CreatePackageVersion.go | 3 - service/iot/api_op_CreatePolicy.go | 3 - service/iot/api_op_CreatePolicyVersion.go | 3 - service/iot/api_op_CreateProvisioningClaim.go | 3 - .../iot/api_op_CreateProvisioningTemplate.go | 3 - ...pi_op_CreateProvisioningTemplateVersion.go | 3 - service/iot/api_op_CreateRoleAlias.go | 3 - service/iot/api_op_CreateScheduledAudit.go | 3 - service/iot/api_op_CreateSecurityProfile.go | 3 - service/iot/api_op_CreateStream.go | 3 - service/iot/api_op_CreateThing.go | 3 - service/iot/api_op_CreateThingGroup.go | 3 - service/iot/api_op_CreateThingType.go | 3 - service/iot/api_op_CreateTopicRule.go | 3 - .../iot/api_op_CreateTopicRuleDestination.go | 3 - .../api_op_DeleteAccountAuditConfiguration.go | 3 - service/iot/api_op_DeleteAuditSuppression.go | 3 - service/iot/api_op_DeleteAuthorizer.go | 3 - service/iot/api_op_DeleteBillingGroup.go | 3 - service/iot/api_op_DeleteCACertificate.go | 3 - service/iot/api_op_DeleteCertificate.go | 3 - .../iot/api_op_DeleteCertificateProvider.go | 3 - service/iot/api_op_DeleteCommand.go | 3 - service/iot/api_op_DeleteCommandExecution.go | 3 - service/iot/api_op_DeleteCustomMetric.go | 3 - service/iot/api_op_DeleteDimension.go | 3 - .../iot/api_op_DeleteDomainConfiguration.go | 3 - service/iot/api_op_DeleteDynamicThingGroup.go | 3 - service/iot/api_op_DeleteFleetMetric.go | 3 - service/iot/api_op_DeleteJob.go | 3 - service/iot/api_op_DeleteJobExecution.go | 3 - service/iot/api_op_DeleteJobTemplate.go | 3 - service/iot/api_op_DeleteMitigationAction.go | 3 - service/iot/api_op_DeleteOTAUpdate.go | 3 - service/iot/api_op_DeletePackage.go | 3 - service/iot/api_op_DeletePackageVersion.go | 3 - service/iot/api_op_DeletePolicy.go | 3 - service/iot/api_op_DeletePolicyVersion.go | 3 - .../iot/api_op_DeleteProvisioningTemplate.go | 3 - ...pi_op_DeleteProvisioningTemplateVersion.go | 3 - service/iot/api_op_DeleteRegistrationCode.go | 3 - service/iot/api_op_DeleteRoleAlias.go | 3 - service/iot/api_op_DeleteScheduledAudit.go | 3 - service/iot/api_op_DeleteSecurityProfile.go | 3 - service/iot/api_op_DeleteStream.go | 3 - service/iot/api_op_DeleteThing.go | 3 - service/iot/api_op_DeleteThingGroup.go | 3 - service/iot/api_op_DeleteThingType.go | 3 - service/iot/api_op_DeleteTopicRule.go | 3 - .../iot/api_op_DeleteTopicRuleDestination.go | 3 - service/iot/api_op_DeleteV2LoggingLevel.go | 3 - service/iot/api_op_DeprecateThingType.go | 3 - ...pi_op_DescribeAccountAuditConfiguration.go | 3 - service/iot/api_op_DescribeAuditFinding.go | 3 - ...i_op_DescribeAuditMitigationActionsTask.go | 3 - .../iot/api_op_DescribeAuditSuppression.go | 3 - service/iot/api_op_DescribeAuditTask.go | 3 - service/iot/api_op_DescribeAuthorizer.go | 3 - service/iot/api_op_DescribeBillingGroup.go | 3 - service/iot/api_op_DescribeCACertificate.go | 3 - service/iot/api_op_DescribeCertificate.go | 3 - .../iot/api_op_DescribeCertificateProvider.go | 3 - service/iot/api_op_DescribeCustomMetric.go | 3 - .../iot/api_op_DescribeDefaultAuthorizer.go | 3 - ..._op_DescribeDetectMitigationActionsTask.go | 3 - service/iot/api_op_DescribeDimension.go | 3 - .../iot/api_op_DescribeDomainConfiguration.go | 3 - service/iot/api_op_DescribeEndpoint.go | 3 - .../iot/api_op_DescribeEventConfigurations.go | 3 - service/iot/api_op_DescribeFleetMetric.go | 3 - service/iot/api_op_DescribeIndex.go | 3 - service/iot/api_op_DescribeJob.go | 3 - service/iot/api_op_DescribeJobExecution.go | 3 - service/iot/api_op_DescribeJobTemplate.go | 3 - .../iot/api_op_DescribeManagedJobTemplate.go | 3 - .../iot/api_op_DescribeMitigationAction.go | 3 - .../api_op_DescribeProvisioningTemplate.go | 3 - ..._op_DescribeProvisioningTemplateVersion.go | 3 - service/iot/api_op_DescribeRoleAlias.go | 3 - service/iot/api_op_DescribeScheduledAudit.go | 3 - service/iot/api_op_DescribeSecurityProfile.go | 3 - service/iot/api_op_DescribeStream.go | 3 - service/iot/api_op_DescribeThing.go | 3 - service/iot/api_op_DescribeThingGroup.go | 3 - .../api_op_DescribeThingRegistrationTask.go | 3 - service/iot/api_op_DescribeThingType.go | 3 - service/iot/api_op_DetachPolicy.go | 3 - service/iot/api_op_DetachPrincipalPolicy.go | 3 - service/iot/api_op_DetachSecurityProfile.go | 3 - service/iot/api_op_DetachThingPrincipal.go | 3 - service/iot/api_op_DisableTopicRule.go | 3 - ...i_op_DisassociateSbomFromPackageVersion.go | 3 - service/iot/api_op_EnableTopicRule.go | 3 - ...pi_op_GetBehaviorModelTrainingSummaries.go | 3 - service/iot/api_op_GetBucketsAggregation.go | 3 - service/iot/api_op_GetCardinality.go | 3 - service/iot/api_op_GetCommand.go | 3 - service/iot/api_op_GetCommandExecution.go | 3 - service/iot/api_op_GetEffectivePolicies.go | 3 - .../iot/api_op_GetIndexingConfiguration.go | 3 - service/iot/api_op_GetJobDocument.go | 3 - service/iot/api_op_GetLoggingOptions.go | 3 - service/iot/api_op_GetOTAUpdate.go | 3 - service/iot/api_op_GetPackage.go | 3 - service/iot/api_op_GetPackageConfiguration.go | 3 - service/iot/api_op_GetPackageVersion.go | 3 - service/iot/api_op_GetPercentiles.go | 3 - service/iot/api_op_GetPolicy.go | 3 - service/iot/api_op_GetPolicyVersion.go | 3 - service/iot/api_op_GetRegistrationCode.go | 3 - service/iot/api_op_GetStatistics.go | 3 - .../iot/api_op_GetThingConnectivityData.go | 3 - service/iot/api_op_GetTopicRule.go | 3 - service/iot/api_op_GetTopicRuleDestination.go | 3 - service/iot/api_op_GetV2LoggingOptions.go | 3 - service/iot/api_op_ListActiveViolations.go | 3 - service/iot/api_op_ListAttachedPolicies.go | 3 - service/iot/api_op_ListAuditFindings.go | 3 - ...op_ListAuditMitigationActionsExecutions.go | 3 - .../api_op_ListAuditMitigationActionsTasks.go | 3 - service/iot/api_op_ListAuditSuppressions.go | 3 - service/iot/api_op_ListAuditTasks.go | 3 - service/iot/api_op_ListAuthorizers.go | 3 - service/iot/api_op_ListBillingGroups.go | 3 - service/iot/api_op_ListCACertificates.go | 3 - .../iot/api_op_ListCertificateProviders.go | 3 - service/iot/api_op_ListCertificates.go | 3 - service/iot/api_op_ListCertificatesByCA.go | 3 - service/iot/api_op_ListCommandExecutions.go | 3 - service/iot/api_op_ListCommands.go | 3 - service/iot/api_op_ListCustomMetrics.go | 3 - ...p_ListDetectMitigationActionsExecutions.go | 3 - ...api_op_ListDetectMitigationActionsTasks.go | 3 - service/iot/api_op_ListDimensions.go | 3 - .../iot/api_op_ListDomainConfigurations.go | 3 - service/iot/api_op_ListFleetMetrics.go | 3 - service/iot/api_op_ListIndices.go | 3 - service/iot/api_op_ListJobExecutionsForJob.go | 3 - .../iot/api_op_ListJobExecutionsForThing.go | 3 - service/iot/api_op_ListJobTemplates.go | 3 - service/iot/api_op_ListJobs.go | 3 - service/iot/api_op_ListManagedJobTemplates.go | 3 - service/iot/api_op_ListMetricValues.go | 3 - service/iot/api_op_ListMitigationActions.go | 3 - service/iot/api_op_ListOTAUpdates.go | 3 - .../iot/api_op_ListOutgoingCertificates.go | 3 - service/iot/api_op_ListPackageVersions.go | 3 - service/iot/api_op_ListPackages.go | 3 - service/iot/api_op_ListPolicies.go | 3 - service/iot/api_op_ListPolicyPrincipals.go | 3 - service/iot/api_op_ListPolicyVersions.go | 3 - service/iot/api_op_ListPrincipalPolicies.go | 3 - service/iot/api_op_ListPrincipalThings.go | 3 - service/iot/api_op_ListPrincipalThingsV2.go | 3 - ...api_op_ListProvisioningTemplateVersions.go | 3 - .../iot/api_op_ListProvisioningTemplates.go | 3 - ..._op_ListRelatedResourcesForAuditFinding.go | 3 - service/iot/api_op_ListRoleAliases.go | 3 - .../iot/api_op_ListSbomValidationResults.go | 3 - service/iot/api_op_ListScheduledAudits.go | 3 - service/iot/api_op_ListSecurityProfiles.go | 3 - .../api_op_ListSecurityProfilesForTarget.go | 3 - service/iot/api_op_ListStreams.go | 3 - service/iot/api_op_ListTagsForResource.go | 3 - service/iot/api_op_ListTargetsForPolicy.go | 3 - .../api_op_ListTargetsForSecurityProfile.go | 3 - service/iot/api_op_ListThingGroups.go | 3 - service/iot/api_op_ListThingGroupsForThing.go | 3 - service/iot/api_op_ListThingPrincipals.go | 3 - service/iot/api_op_ListThingPrincipalsV2.go | 3 - ...api_op_ListThingRegistrationTaskReports.go | 3 - .../iot/api_op_ListThingRegistrationTasks.go | 3 - service/iot/api_op_ListThingTypes.go | 3 - service/iot/api_op_ListThings.go | 3 - .../iot/api_op_ListThingsInBillingGroup.go | 3 - service/iot/api_op_ListThingsInThingGroup.go | 3 - .../iot/api_op_ListTopicRuleDestinations.go | 3 - service/iot/api_op_ListTopicRules.go | 3 - service/iot/api_op_ListV2LoggingLevels.go | 3 - service/iot/api_op_ListViolationEvents.go | 3 - .../api_op_PutVerificationStateOnViolation.go | 3 - service/iot/api_op_RegisterCACertificate.go | 3 - service/iot/api_op_RegisterCertificate.go | 3 - .../api_op_RegisterCertificateWithoutCA.go | 3 - service/iot/api_op_RegisterThing.go | 3 - .../iot/api_op_RejectCertificateTransfer.go | 3 - .../iot/api_op_RemoveThingFromBillingGroup.go | 3 - .../iot/api_op_RemoveThingFromThingGroup.go | 3 - service/iot/api_op_ReplaceTopicRule.go | 3 - service/iot/api_op_SearchIndex.go | 3 - service/iot/api_op_SetDefaultAuthorizer.go | 3 - service/iot/api_op_SetDefaultPolicyVersion.go | 3 - service/iot/api_op_SetLoggingOptions.go | 3 - service/iot/api_op_SetV2LoggingLevel.go | 3 - service/iot/api_op_SetV2LoggingOptions.go | 3 - .../api_op_StartAuditMitigationActionsTask.go | 3 - ...api_op_StartDetectMitigationActionsTask.go | 3 - service/iot/api_op_StartOnDemandAuditTask.go | 3 - .../iot/api_op_StartThingRegistrationTask.go | 3 - .../iot/api_op_StopThingRegistrationTask.go | 3 - service/iot/api_op_TagResource.go | 3 - service/iot/api_op_TestAuthorization.go | 3 - service/iot/api_op_TestInvokeAuthorizer.go | 3 - service/iot/api_op_TransferCertificate.go | 3 - service/iot/api_op_UntagResource.go | 3 - .../api_op_UpdateAccountAuditConfiguration.go | 3 - service/iot/api_op_UpdateAuditSuppression.go | 3 - service/iot/api_op_UpdateAuthorizer.go | 3 - service/iot/api_op_UpdateBillingGroup.go | 3 - service/iot/api_op_UpdateCACertificate.go | 3 - service/iot/api_op_UpdateCertificate.go | 3 - .../iot/api_op_UpdateCertificateProvider.go | 3 - service/iot/api_op_UpdateCommand.go | 3 - service/iot/api_op_UpdateCustomMetric.go | 3 - service/iot/api_op_UpdateDimension.go | 3 - .../iot/api_op_UpdateDomainConfiguration.go | 3 - service/iot/api_op_UpdateDynamicThingGroup.go | 3 - .../iot/api_op_UpdateEventConfigurations.go | 3 - service/iot/api_op_UpdateFleetMetric.go | 3 - .../iot/api_op_UpdateIndexingConfiguration.go | 3 - service/iot/api_op_UpdateJob.go | 3 - service/iot/api_op_UpdateMitigationAction.go | 3 - service/iot/api_op_UpdatePackage.go | 3 - .../iot/api_op_UpdatePackageConfiguration.go | 3 - service/iot/api_op_UpdatePackageVersion.go | 3 - .../iot/api_op_UpdateProvisioningTemplate.go | 3 - service/iot/api_op_UpdateRoleAlias.go | 3 - service/iot/api_op_UpdateScheduledAudit.go | 3 - service/iot/api_op_UpdateSecurityProfile.go | 3 - service/iot/api_op_UpdateStream.go | 3 - service/iot/api_op_UpdateThing.go | 3 - service/iot/api_op_UpdateThingGroup.go | 3 - .../iot/api_op_UpdateThingGroupsForThing.go | 3 - service/iot/api_op_UpdateThingType.go | 3 - .../iot/api_op_UpdateTopicRuleDestination.go | 3 - ...api_op_ValidateSecurityProfileBehaviors.go | 3 - .../api_op_AcceptCertificateTransfer.go.snap | 1 - .../api_op_AddThingToBillingGroup.go.snap | 1 - .../api_op_AddThingToThingGroup.go.snap | 1 - ...op_AssociateSbomWithPackageVersion.go.snap | 1 - .../api_op_AssociateTargetsWithJob.go.snap | 1 - .../iot/snapshot/api_op_AttachPolicy.go.snap | 1 - .../api_op_AttachPrincipalPolicy.go.snap | 1 - .../api_op_AttachSecurityProfile.go.snap | 1 - .../api_op_AttachThingPrincipal.go.snap | 1 - ...p_CancelAuditMitigationActionsTask.go.snap | 1 - .../snapshot/api_op_CancelAuditTask.go.snap | 1 - .../api_op_CancelCertificateTransfer.go.snap | 1 - ..._CancelDetectMitigationActionsTask.go.snap | 1 - service/iot/snapshot/api_op_CancelJob.go.snap | 1 - .../api_op_CancelJobExecution.go.snap | 1 - .../api_op_ClearDefaultAuthorizer.go.snap | 1 - ...api_op_ConfirmTopicRuleDestination.go.snap | 1 - .../api_op_CreateAuditSuppression.go.snap | 1 - .../snapshot/api_op_CreateAuthorizer.go.snap | 1 - .../api_op_CreateBillingGroup.go.snap | 1 - .../api_op_CreateCertificateFromCsr.go.snap | 1 - .../api_op_CreateCertificateProvider.go.snap | 1 - .../iot/snapshot/api_op_CreateCommand.go.snap | 1 - .../api_op_CreateCustomMetric.go.snap | 1 - .../snapshot/api_op_CreateDimension.go.snap | 1 - .../api_op_CreateDomainConfiguration.go.snap | 1 - .../api_op_CreateDynamicThingGroup.go.snap | 1 - .../snapshot/api_op_CreateFleetMetric.go.snap | 1 - service/iot/snapshot/api_op_CreateJob.go.snap | 1 - .../snapshot/api_op_CreateJobTemplate.go.snap | 1 - .../api_op_CreateKeysAndCertificate.go.snap | 1 - .../api_op_CreateMitigationAction.go.snap | 1 - .../snapshot/api_op_CreateOTAUpdate.go.snap | 1 - .../iot/snapshot/api_op_CreatePackage.go.snap | 1 - .../api_op_CreatePackageVersion.go.snap | 1 - .../iot/snapshot/api_op_CreatePolicy.go.snap | 1 - .../api_op_CreatePolicyVersion.go.snap | 1 - .../api_op_CreateProvisioningClaim.go.snap | 1 - .../api_op_CreateProvisioningTemplate.go.snap | 1 - ..._CreateProvisioningTemplateVersion.go.snap | 1 - .../snapshot/api_op_CreateRoleAlias.go.snap | 1 - .../api_op_CreateScheduledAudit.go.snap | 1 - .../api_op_CreateSecurityProfile.go.snap | 1 - .../iot/snapshot/api_op_CreateStream.go.snap | 1 - .../iot/snapshot/api_op_CreateThing.go.snap | 1 - .../snapshot/api_op_CreateThingGroup.go.snap | 1 - .../snapshot/api_op_CreateThingType.go.snap | 1 - .../snapshot/api_op_CreateTopicRule.go.snap | 1 - .../api_op_CreateTopicRuleDestination.go.snap | 1 - ...op_DeleteAccountAuditConfiguration.go.snap | 1 - .../api_op_DeleteAuditSuppression.go.snap | 1 - .../snapshot/api_op_DeleteAuthorizer.go.snap | 1 - .../api_op_DeleteBillingGroup.go.snap | 1 - .../api_op_DeleteCACertificate.go.snap | 1 - .../snapshot/api_op_DeleteCertificate.go.snap | 1 - .../api_op_DeleteCertificateProvider.go.snap | 1 - .../iot/snapshot/api_op_DeleteCommand.go.snap | 1 - .../api_op_DeleteCommandExecution.go.snap | 1 - .../api_op_DeleteCustomMetric.go.snap | 1 - .../snapshot/api_op_DeleteDimension.go.snap | 1 - .../api_op_DeleteDomainConfiguration.go.snap | 1 - .../api_op_DeleteDynamicThingGroup.go.snap | 1 - .../snapshot/api_op_DeleteFleetMetric.go.snap | 1 - service/iot/snapshot/api_op_DeleteJob.go.snap | 1 - .../api_op_DeleteJobExecution.go.snap | 1 - .../snapshot/api_op_DeleteJobTemplate.go.snap | 1 - .../api_op_DeleteMitigationAction.go.snap | 1 - .../snapshot/api_op_DeleteOTAUpdate.go.snap | 1 - .../iot/snapshot/api_op_DeletePackage.go.snap | 1 - .../api_op_DeletePackageVersion.go.snap | 1 - .../iot/snapshot/api_op_DeletePolicy.go.snap | 1 - .../api_op_DeletePolicyVersion.go.snap | 1 - .../api_op_DeleteProvisioningTemplate.go.snap | 1 - ..._DeleteProvisioningTemplateVersion.go.snap | 1 - .../api_op_DeleteRegistrationCode.go.snap | 1 - .../snapshot/api_op_DeleteRoleAlias.go.snap | 1 - .../api_op_DeleteScheduledAudit.go.snap | 1 - .../api_op_DeleteSecurityProfile.go.snap | 1 - .../iot/snapshot/api_op_DeleteStream.go.snap | 1 - .../iot/snapshot/api_op_DeleteThing.go.snap | 1 - .../snapshot/api_op_DeleteThingGroup.go.snap | 1 - .../snapshot/api_op_DeleteThingType.go.snap | 1 - .../snapshot/api_op_DeleteTopicRule.go.snap | 1 - .../api_op_DeleteTopicRuleDestination.go.snap | 1 - .../api_op_DeleteV2LoggingLevel.go.snap | 1 - .../api_op_DeprecateThingType.go.snap | 1 - ..._DescribeAccountAuditConfiguration.go.snap | 1 - .../api_op_DescribeAuditFinding.go.snap | 1 - ...DescribeAuditMitigationActionsTask.go.snap | 1 - .../api_op_DescribeAuditSuppression.go.snap | 1 - .../snapshot/api_op_DescribeAuditTask.go.snap | 1 - .../api_op_DescribeAuthorizer.go.snap | 1 - .../api_op_DescribeBillingGroup.go.snap | 1 - .../api_op_DescribeCACertificate.go.snap | 1 - .../api_op_DescribeCertificate.go.snap | 1 - ...api_op_DescribeCertificateProvider.go.snap | 1 - .../api_op_DescribeCustomMetric.go.snap | 1 - .../api_op_DescribeDefaultAuthorizer.go.snap | 1 - ...escribeDetectMitigationActionsTask.go.snap | 1 - .../snapshot/api_op_DescribeDimension.go.snap | 1 - ...api_op_DescribeDomainConfiguration.go.snap | 1 - .../snapshot/api_op_DescribeEndpoint.go.snap | 1 - ...api_op_DescribeEventConfigurations.go.snap | 1 - .../api_op_DescribeFleetMetric.go.snap | 1 - .../iot/snapshot/api_op_DescribeIndex.go.snap | 1 - .../iot/snapshot/api_op_DescribeJob.go.snap | 1 - .../api_op_DescribeJobExecution.go.snap | 1 - .../api_op_DescribeJobTemplate.go.snap | 1 - .../api_op_DescribeManagedJobTemplate.go.snap | 1 - .../api_op_DescribeMitigationAction.go.snap | 1 - ...pi_op_DescribeProvisioningTemplate.go.snap | 1 - ...escribeProvisioningTemplateVersion.go.snap | 1 - .../snapshot/api_op_DescribeRoleAlias.go.snap | 1 - .../api_op_DescribeScheduledAudit.go.snap | 1 - .../api_op_DescribeSecurityProfile.go.snap | 1 - .../snapshot/api_op_DescribeStream.go.snap | 1 - .../iot/snapshot/api_op_DescribeThing.go.snap | 1 - .../api_op_DescribeThingGroup.go.snap | 1 - ...i_op_DescribeThingRegistrationTask.go.snap | 1 - .../snapshot/api_op_DescribeThingType.go.snap | 1 - .../iot/snapshot/api_op_DetachPolicy.go.snap | 1 - .../api_op_DetachPrincipalPolicy.go.snap | 1 - .../api_op_DetachSecurityProfile.go.snap | 1 - .../api_op_DetachThingPrincipal.go.snap | 1 - .../snapshot/api_op_DisableTopicRule.go.snap | 1 - ...DisassociateSbomFromPackageVersion.go.snap | 1 - .../snapshot/api_op_EnableTopicRule.go.snap | 1 - ..._GetBehaviorModelTrainingSummaries.go.snap | 1 - .../api_op_GetBucketsAggregation.go.snap | 1 - .../snapshot/api_op_GetCardinality.go.snap | 1 - .../iot/snapshot/api_op_GetCommand.go.snap | 1 - .../api_op_GetCommandExecution.go.snap | 1 - .../api_op_GetEffectivePolicies.go.snap | 1 - .../api_op_GetIndexingConfiguration.go.snap | 1 - .../snapshot/api_op_GetJobDocument.go.snap | 1 - .../snapshot/api_op_GetLoggingOptions.go.snap | 1 - .../iot/snapshot/api_op_GetOTAUpdate.go.snap | 1 - .../iot/snapshot/api_op_GetPackage.go.snap | 1 - .../api_op_GetPackageConfiguration.go.snap | 1 - .../snapshot/api_op_GetPackageVersion.go.snap | 1 - .../snapshot/api_op_GetPercentiles.go.snap | 1 - service/iot/snapshot/api_op_GetPolicy.go.snap | 1 - .../snapshot/api_op_GetPolicyVersion.go.snap | 1 - .../api_op_GetRegistrationCode.go.snap | 1 - .../iot/snapshot/api_op_GetStatistics.go.snap | 1 - .../api_op_GetThingConnectivityData.go.snap | 1 - .../iot/snapshot/api_op_GetTopicRule.go.snap | 1 - .../api_op_GetTopicRuleDestination.go.snap | 1 - .../api_op_GetV2LoggingOptions.go.snap | 1 - .../api_op_ListActiveViolations.go.snap | 1 - .../api_op_ListAttachedPolicies.go.snap | 1 - .../snapshot/api_op_ListAuditFindings.go.snap | 1 - ...stAuditMitigationActionsExecutions.go.snap | 1 - ...op_ListAuditMitigationActionsTasks.go.snap | 1 - .../api_op_ListAuditSuppressions.go.snap | 1 - .../snapshot/api_op_ListAuditTasks.go.snap | 1 - .../snapshot/api_op_ListAuthorizers.go.snap | 1 - .../snapshot/api_op_ListBillingGroups.go.snap | 1 - .../api_op_ListCACertificates.go.snap | 1 - .../api_op_ListCertificateProviders.go.snap | 1 - .../snapshot/api_op_ListCertificates.go.snap | 1 - .../api_op_ListCertificatesByCA.go.snap | 1 - .../api_op_ListCommandExecutions.go.snap | 1 - .../iot/snapshot/api_op_ListCommands.go.snap | 1 - .../snapshot/api_op_ListCustomMetrics.go.snap | 1 - ...tDetectMitigationActionsExecutions.go.snap | 1 - ...p_ListDetectMitigationActionsTasks.go.snap | 1 - .../snapshot/api_op_ListDimensions.go.snap | 1 - .../api_op_ListDomainConfigurations.go.snap | 1 - .../snapshot/api_op_ListFleetMetrics.go.snap | 1 - .../iot/snapshot/api_op_ListIndices.go.snap | 1 - .../api_op_ListJobExecutionsForJob.go.snap | 1 - .../api_op_ListJobExecutionsForThing.go.snap | 1 - .../snapshot/api_op_ListJobTemplates.go.snap | 1 - service/iot/snapshot/api_op_ListJobs.go.snap | 1 - .../api_op_ListManagedJobTemplates.go.snap | 1 - .../snapshot/api_op_ListMetricValues.go.snap | 1 - .../api_op_ListMitigationActions.go.snap | 1 - .../snapshot/api_op_ListOTAUpdates.go.snap | 1 - .../api_op_ListOutgoingCertificates.go.snap | 1 - .../api_op_ListPackageVersions.go.snap | 1 - .../iot/snapshot/api_op_ListPackages.go.snap | 1 - .../iot/snapshot/api_op_ListPolicies.go.snap | 1 - .../api_op_ListPolicyPrincipals.go.snap | 1 - .../api_op_ListPolicyVersions.go.snap | 1 - .../api_op_ListPrincipalPolicies.go.snap | 1 - .../api_op_ListPrincipalThings.go.snap | 1 - .../api_op_ListPrincipalThingsV2.go.snap | 1 - ...p_ListProvisioningTemplateVersions.go.snap | 1 - .../api_op_ListProvisioningTemplates.go.snap | 1 - ...istRelatedResourcesForAuditFinding.go.snap | 1 - .../snapshot/api_op_ListRoleAliases.go.snap | 1 - .../api_op_ListSbomValidationResults.go.snap | 1 - .../api_op_ListScheduledAudits.go.snap | 1 - .../api_op_ListSecurityProfiles.go.snap | 1 - ...i_op_ListSecurityProfilesForTarget.go.snap | 1 - .../iot/snapshot/api_op_ListStreams.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListTargetsForPolicy.go.snap | 1 - ...i_op_ListTargetsForSecurityProfile.go.snap | 1 - .../snapshot/api_op_ListThingGroups.go.snap | 1 - .../api_op_ListThingGroupsForThing.go.snap | 1 - .../api_op_ListThingPrincipals.go.snap | 1 - .../api_op_ListThingPrincipalsV2.go.snap | 1 - ...p_ListThingRegistrationTaskReports.go.snap | 1 - .../api_op_ListThingRegistrationTasks.go.snap | 1 - .../snapshot/api_op_ListThingTypes.go.snap | 1 - .../iot/snapshot/api_op_ListThings.go.snap | 1 - .../api_op_ListThingsInBillingGroup.go.snap | 1 - .../api_op_ListThingsInThingGroup.go.snap | 1 - .../api_op_ListTopicRuleDestinations.go.snap | 1 - .../snapshot/api_op_ListTopicRules.go.snap | 1 - .../api_op_ListV2LoggingLevels.go.snap | 1 - .../api_op_ListViolationEvents.go.snap | 1 - ...op_PutVerificationStateOnViolation.go.snap | 1 - .../api_op_RegisterCACertificate.go.snap | 1 - .../api_op_RegisterCertificate.go.snap | 1 - ...pi_op_RegisterCertificateWithoutCA.go.snap | 1 - .../iot/snapshot/api_op_RegisterThing.go.snap | 1 - .../api_op_RejectCertificateTransfer.go.snap | 1 - ...api_op_RemoveThingFromBillingGroup.go.snap | 1 - .../api_op_RemoveThingFromThingGroup.go.snap | 1 - .../snapshot/api_op_ReplaceTopicRule.go.snap | 1 - .../iot/snapshot/api_op_SearchIndex.go.snap | 1 - .../api_op_SetDefaultAuthorizer.go.snap | 1 - .../api_op_SetDefaultPolicyVersion.go.snap | 1 - .../snapshot/api_op_SetLoggingOptions.go.snap | 1 - .../snapshot/api_op_SetV2LoggingLevel.go.snap | 1 - .../api_op_SetV2LoggingOptions.go.snap | 1 - ...op_StartAuditMitigationActionsTask.go.snap | 1 - ...p_StartDetectMitigationActionsTask.go.snap | 1 - .../api_op_StartOnDemandAuditTask.go.snap | 1 - .../api_op_StartThingRegistrationTask.go.snap | 1 - .../api_op_StopThingRegistrationTask.go.snap | 1 - .../iot/snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_TestAuthorization.go.snap | 1 - .../api_op_TestInvokeAuthorizer.go.snap | 1 - .../api_op_TransferCertificate.go.snap | 1 - .../iot/snapshot/api_op_UntagResource.go.snap | 1 - ...op_UpdateAccountAuditConfiguration.go.snap | 1 - .../api_op_UpdateAuditSuppression.go.snap | 1 - .../snapshot/api_op_UpdateAuthorizer.go.snap | 1 - .../api_op_UpdateBillingGroup.go.snap | 1 - .../api_op_UpdateCACertificate.go.snap | 1 - .../snapshot/api_op_UpdateCertificate.go.snap | 1 - .../api_op_UpdateCertificateProvider.go.snap | 1 - .../iot/snapshot/api_op_UpdateCommand.go.snap | 1 - .../api_op_UpdateCustomMetric.go.snap | 1 - .../snapshot/api_op_UpdateDimension.go.snap | 1 - .../api_op_UpdateDomainConfiguration.go.snap | 1 - .../api_op_UpdateDynamicThingGroup.go.snap | 1 - .../api_op_UpdateEventConfigurations.go.snap | 1 - .../snapshot/api_op_UpdateFleetMetric.go.snap | 1 - ...api_op_UpdateIndexingConfiguration.go.snap | 1 - service/iot/snapshot/api_op_UpdateJob.go.snap | 1 - .../api_op_UpdateMitigationAction.go.snap | 1 - .../iot/snapshot/api_op_UpdatePackage.go.snap | 1 - .../api_op_UpdatePackageConfiguration.go.snap | 1 - .../api_op_UpdatePackageVersion.go.snap | 1 - .../api_op_UpdateProvisioningTemplate.go.snap | 1 - .../snapshot/api_op_UpdateRoleAlias.go.snap | 1 - .../api_op_UpdateScheduledAudit.go.snap | 1 - .../api_op_UpdateSecurityProfile.go.snap | 1 - .../iot/snapshot/api_op_UpdateStream.go.snap | 1 - .../iot/snapshot/api_op_UpdateThing.go.snap | 1 - .../snapshot/api_op_UpdateThingGroup.go.snap | 1 - .../api_op_UpdateThingGroupsForThing.go.snap | 1 - .../snapshot/api_op_UpdateThingType.go.snap | 1 - .../api_op_UpdateTopicRuleDestination.go.snap | 1 - ...p_ValidateSecurityProfileBehaviors.go.snap | 1 - service/iotanalytics/api_client.go | 31 -- .../iotanalytics/api_op_BatchPutMessage.go | 3 - .../api_op_CancelPipelineReprocessing.go | 3 - service/iotanalytics/api_op_CreateChannel.go | 3 - service/iotanalytics/api_op_CreateDataset.go | 3 - .../api_op_CreateDatasetContent.go | 3 - .../iotanalytics/api_op_CreateDatastore.go | 3 - service/iotanalytics/api_op_CreatePipeline.go | 3 - service/iotanalytics/api_op_DeleteChannel.go | 3 - service/iotanalytics/api_op_DeleteDataset.go | 3 - .../api_op_DeleteDatasetContent.go | 3 - .../iotanalytics/api_op_DeleteDatastore.go | 3 - service/iotanalytics/api_op_DeletePipeline.go | 3 - .../iotanalytics/api_op_DescribeChannel.go | 3 - .../iotanalytics/api_op_DescribeDataset.go | 3 - .../iotanalytics/api_op_DescribeDatastore.go | 3 - .../api_op_DescribeLoggingOptions.go | 3 - .../iotanalytics/api_op_DescribePipeline.go | 3 - .../iotanalytics/api_op_GetDatasetContent.go | 3 - service/iotanalytics/api_op_ListChannels.go | 3 - .../api_op_ListDatasetContents.go | 3 - service/iotanalytics/api_op_ListDatasets.go | 3 - service/iotanalytics/api_op_ListDatastores.go | 3 - service/iotanalytics/api_op_ListPipelines.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../iotanalytics/api_op_PutLoggingOptions.go | 3 - .../api_op_RunPipelineActivity.go | 3 - .../iotanalytics/api_op_SampleChannelData.go | 3 - .../api_op_StartPipelineReprocessing.go | 3 - service/iotanalytics/api_op_TagResource.go | 3 - service/iotanalytics/api_op_UntagResource.go | 3 - service/iotanalytics/api_op_UpdateChannel.go | 3 - service/iotanalytics/api_op_UpdateDataset.go | 3 - .../iotanalytics/api_op_UpdateDatastore.go | 3 - service/iotanalytics/api_op_UpdatePipeline.go | 3 - .../snapshot/api_op_BatchPutMessage.go.snap | 1 - .../api_op_CancelPipelineReprocessing.go.snap | 1 - .../snapshot/api_op_CreateChannel.go.snap | 1 - .../snapshot/api_op_CreateDataset.go.snap | 1 - .../api_op_CreateDatasetContent.go.snap | 1 - .../snapshot/api_op_CreateDatastore.go.snap | 1 - .../snapshot/api_op_CreatePipeline.go.snap | 1 - .../snapshot/api_op_DeleteChannel.go.snap | 1 - .../snapshot/api_op_DeleteDataset.go.snap | 1 - .../api_op_DeleteDatasetContent.go.snap | 1 - .../snapshot/api_op_DeleteDatastore.go.snap | 1 - .../snapshot/api_op_DeletePipeline.go.snap | 1 - .../snapshot/api_op_DescribeChannel.go.snap | 1 - .../snapshot/api_op_DescribeDataset.go.snap | 1 - .../snapshot/api_op_DescribeDatastore.go.snap | 1 - .../api_op_DescribeLoggingOptions.go.snap | 1 - .../snapshot/api_op_DescribePipeline.go.snap | 1 - .../snapshot/api_op_GetDatasetContent.go.snap | 1 - .../snapshot/api_op_ListChannels.go.snap | 1 - .../api_op_ListDatasetContents.go.snap | 1 - .../snapshot/api_op_ListDatasets.go.snap | 1 - .../snapshot/api_op_ListDatastores.go.snap | 1 - .../snapshot/api_op_ListPipelines.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_PutLoggingOptions.go.snap | 1 - .../api_op_RunPipelineActivity.go.snap | 1 - .../snapshot/api_op_SampleChannelData.go.snap | 1 - .../api_op_StartPipelineReprocessing.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateChannel.go.snap | 1 - .../snapshot/api_op_UpdateDataset.go.snap | 1 - .../snapshot/api_op_UpdateDatastore.go.snap | 1 - .../snapshot/api_op_UpdatePipeline.go.snap | 1 - service/iotdataplane/api_client.go | 31 -- .../iotdataplane/api_op_DeleteThingShadow.go | 3 - .../iotdataplane/api_op_GetRetainedMessage.go | 3 - service/iotdataplane/api_op_GetThingShadow.go | 3 - .../api_op_ListNamedShadowsForThing.go | 3 - .../api_op_ListRetainedMessages.go | 3 - service/iotdataplane/api_op_Publish.go | 3 - .../iotdataplane/api_op_UpdateThingShadow.go | 3 - .../snapshot/api_op_DeleteThingShadow.go.snap | 1 - .../api_op_GetRetainedMessage.go.snap | 1 - .../snapshot/api_op_GetThingShadow.go.snap | 1 - .../api_op_ListNamedShadowsForThing.go.snap | 1 - .../api_op_ListRetainedMessages.go.snap | 1 - .../snapshot/api_op_Publish.go.snap | 1 - .../snapshot/api_op_UpdateThingShadow.go.snap | 1 - service/iotdeviceadvisor/api_client.go | 31 -- .../api_op_CreateSuiteDefinition.go | 3 - .../api_op_DeleteSuiteDefinition.go | 3 - .../iotdeviceadvisor/api_op_GetEndpoint.go | 3 - .../api_op_GetSuiteDefinition.go | 3 - .../iotdeviceadvisor/api_op_GetSuiteRun.go | 3 - .../api_op_GetSuiteRunReport.go | 3 - .../api_op_ListSuiteDefinitions.go | 3 - .../iotdeviceadvisor/api_op_ListSuiteRuns.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../iotdeviceadvisor/api_op_StartSuiteRun.go | 3 - .../iotdeviceadvisor/api_op_StopSuiteRun.go | 3 - .../iotdeviceadvisor/api_op_TagResource.go | 3 - .../iotdeviceadvisor/api_op_UntagResource.go | 3 - .../api_op_UpdateSuiteDefinition.go | 3 - .../api_op_CreateSuiteDefinition.go.snap | 1 - .../api_op_DeleteSuiteDefinition.go.snap | 1 - .../snapshot/api_op_GetEndpoint.go.snap | 1 - .../api_op_GetSuiteDefinition.go.snap | 1 - .../snapshot/api_op_GetSuiteRun.go.snap | 1 - .../snapshot/api_op_GetSuiteRunReport.go.snap | 1 - .../api_op_ListSuiteDefinitions.go.snap | 1 - .../snapshot/api_op_ListSuiteRuns.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_StartSuiteRun.go.snap | 1 - .../snapshot/api_op_StopSuiteRun.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateSuiteDefinition.go.snap | 1 - service/iotevents/api_client.go | 31 -- service/iotevents/api_op_CreateAlarmModel.go | 3 - .../iotevents/api_op_CreateDetectorModel.go | 3 - service/iotevents/api_op_CreateInput.go | 3 - service/iotevents/api_op_DeleteAlarmModel.go | 3 - .../iotevents/api_op_DeleteDetectorModel.go | 3 - service/iotevents/api_op_DeleteInput.go | 3 - .../iotevents/api_op_DescribeAlarmModel.go | 3 - .../iotevents/api_op_DescribeDetectorModel.go | 3 - .../api_op_DescribeDetectorModelAnalysis.go | 3 - service/iotevents/api_op_DescribeInput.go | 3 - .../api_op_DescribeLoggingOptions.go | 3 - .../api_op_GetDetectorModelAnalysisResults.go | 3 - .../api_op_ListAlarmModelVersions.go | 3 - service/iotevents/api_op_ListAlarmModels.go | 3 - .../api_op_ListDetectorModelVersions.go | 3 - .../iotevents/api_op_ListDetectorModels.go | 3 - service/iotevents/api_op_ListInputRoutings.go | 3 - service/iotevents/api_op_ListInputs.go | 3 - .../iotevents/api_op_ListTagsForResource.go | 3 - service/iotevents/api_op_PutLoggingOptions.go | 3 - .../api_op_StartDetectorModelAnalysis.go | 3 - service/iotevents/api_op_TagResource.go | 3 - service/iotevents/api_op_UntagResource.go | 3 - service/iotevents/api_op_UpdateAlarmModel.go | 3 - .../iotevents/api_op_UpdateDetectorModel.go | 3 - service/iotevents/api_op_UpdateInput.go | 3 - .../snapshot/api_op_CreateAlarmModel.go.snap | 1 - .../api_op_CreateDetectorModel.go.snap | 1 - .../snapshot/api_op_CreateInput.go.snap | 1 - .../snapshot/api_op_DeleteAlarmModel.go.snap | 1 - .../api_op_DeleteDetectorModel.go.snap | 1 - .../snapshot/api_op_DeleteInput.go.snap | 1 - .../api_op_DescribeAlarmModel.go.snap | 1 - .../api_op_DescribeDetectorModel.go.snap | 1 - ...i_op_DescribeDetectorModelAnalysis.go.snap | 1 - .../snapshot/api_op_DescribeInput.go.snap | 1 - .../api_op_DescribeLoggingOptions.go.snap | 1 - ...op_GetDetectorModelAnalysisResults.go.snap | 1 - .../api_op_ListAlarmModelVersions.go.snap | 1 - .../snapshot/api_op_ListAlarmModels.go.snap | 1 - .../api_op_ListDetectorModelVersions.go.snap | 1 - .../api_op_ListDetectorModels.go.snap | 1 - .../snapshot/api_op_ListInputRoutings.go.snap | 1 - .../snapshot/api_op_ListInputs.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_PutLoggingOptions.go.snap | 1 - .../api_op_StartDetectorModelAnalysis.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateAlarmModel.go.snap | 1 - .../api_op_UpdateDetectorModel.go.snap | 1 - .../snapshot/api_op_UpdateInput.go.snap | 1 - service/ioteventsdata/api_client.go | 31 -- .../api_op_BatchAcknowledgeAlarm.go | 3 - .../api_op_BatchDeleteDetector.go | 3 - .../ioteventsdata/api_op_BatchDisableAlarm.go | 3 - .../ioteventsdata/api_op_BatchEnableAlarm.go | 3 - .../ioteventsdata/api_op_BatchPutMessage.go | 3 - .../ioteventsdata/api_op_BatchResetAlarm.go | 3 - .../ioteventsdata/api_op_BatchSnoozeAlarm.go | 3 - .../api_op_BatchUpdateDetector.go | 3 - service/ioteventsdata/api_op_DescribeAlarm.go | 3 - .../ioteventsdata/api_op_DescribeDetector.go | 3 - service/ioteventsdata/api_op_ListAlarms.go | 3 - service/ioteventsdata/api_op_ListDetectors.go | 3 - .../api_op_BatchAcknowledgeAlarm.go.snap | 1 - .../api_op_BatchDeleteDetector.go.snap | 1 - .../snapshot/api_op_BatchDisableAlarm.go.snap | 1 - .../snapshot/api_op_BatchEnableAlarm.go.snap | 1 - .../snapshot/api_op_BatchPutMessage.go.snap | 1 - .../snapshot/api_op_BatchResetAlarm.go.snap | 1 - .../snapshot/api_op_BatchSnoozeAlarm.go.snap | 1 - .../api_op_BatchUpdateDetector.go.snap | 1 - .../snapshot/api_op_DescribeAlarm.go.snap | 1 - .../snapshot/api_op_DescribeDetector.go.snap | 1 - .../snapshot/api_op_ListAlarms.go.snap | 1 - .../snapshot/api_op_ListDetectors.go.snap | 1 - service/iotfleethub/api_client.go | 31 -- .../iotfleethub/api_op_CreateApplication.go | 3 - .../iotfleethub/api_op_DeleteApplication.go | 3 - .../iotfleethub/api_op_DescribeApplication.go | 3 - .../iotfleethub/api_op_ListApplications.go | 3 - .../iotfleethub/api_op_ListTagsForResource.go | 3 - service/iotfleethub/api_op_TagResource.go | 3 - service/iotfleethub/api_op_UntagResource.go | 3 - .../iotfleethub/api_op_UpdateApplication.go | 3 - .../snapshot/api_op_CreateApplication.go.snap | 1 - .../snapshot/api_op_DeleteApplication.go.snap | 1 - .../api_op_DescribeApplication.go.snap | 1 - .../snapshot/api_op_ListApplications.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateApplication.go.snap | 1 - service/iotfleetwise/api_client.go | 31 -- .../api_op_AssociateVehicleFleet.go | 3 - .../iotfleetwise/api_op_BatchCreateVehicle.go | 3 - .../iotfleetwise/api_op_BatchUpdateVehicle.go | 3 - service/iotfleetwise/api_op_CreateCampaign.go | 3 - .../api_op_CreateDecoderManifest.go | 3 - service/iotfleetwise/api_op_CreateFleet.go | 3 - .../api_op_CreateModelManifest.go | 3 - .../api_op_CreateSignalCatalog.go | 3 - .../api_op_CreateStateTemplate.go | 3 - service/iotfleetwise/api_op_CreateVehicle.go | 3 - service/iotfleetwise/api_op_DeleteCampaign.go | 3 - .../api_op_DeleteDecoderManifest.go | 3 - service/iotfleetwise/api_op_DeleteFleet.go | 3 - .../api_op_DeleteModelManifest.go | 3 - .../api_op_DeleteSignalCatalog.go | 3 - .../api_op_DeleteStateTemplate.go | 3 - service/iotfleetwise/api_op_DeleteVehicle.go | 3 - .../api_op_DisassociateVehicleFleet.go | 3 - service/iotfleetwise/api_op_GetCampaign.go | 3 - .../iotfleetwise/api_op_GetDecoderManifest.go | 3 - .../api_op_GetEncryptionConfiguration.go | 3 - service/iotfleetwise/api_op_GetFleet.go | 3 - .../iotfleetwise/api_op_GetLoggingOptions.go | 3 - .../iotfleetwise/api_op_GetModelManifest.go | 3 - .../api_op_GetRegisterAccountStatus.go | 3 - .../iotfleetwise/api_op_GetSignalCatalog.go | 3 - .../iotfleetwise/api_op_GetStateTemplate.go | 3 - service/iotfleetwise/api_op_GetVehicle.go | 3 - .../iotfleetwise/api_op_GetVehicleStatus.go | 3 - .../api_op_ImportDecoderManifest.go | 3 - .../api_op_ImportSignalCatalog.go | 3 - service/iotfleetwise/api_op_ListCampaigns.go | 3 - ...op_ListDecoderManifestNetworkInterfaces.go | 3 - .../api_op_ListDecoderManifestSignals.go | 3 - .../api_op_ListDecoderManifests.go | 3 - service/iotfleetwise/api_op_ListFleets.go | 3 - .../api_op_ListFleetsForVehicle.go | 3 - .../api_op_ListModelManifestNodes.go | 3 - .../iotfleetwise/api_op_ListModelManifests.go | 3 - .../api_op_ListSignalCatalogNodes.go | 3 - .../iotfleetwise/api_op_ListSignalCatalogs.go | 3 - .../iotfleetwise/api_op_ListStateTemplates.go | 3 - .../api_op_ListTagsForResource.go | 3 - service/iotfleetwise/api_op_ListVehicles.go | 3 - .../api_op_ListVehiclesInFleet.go | 3 - .../api_op_PutEncryptionConfiguration.go | 3 - .../iotfleetwise/api_op_PutLoggingOptions.go | 3 - .../iotfleetwise/api_op_RegisterAccount.go | 3 - service/iotfleetwise/api_op_TagResource.go | 3 - service/iotfleetwise/api_op_UntagResource.go | 3 - service/iotfleetwise/api_op_UpdateCampaign.go | 3 - .../api_op_UpdateDecoderManifest.go | 3 - service/iotfleetwise/api_op_UpdateFleet.go | 3 - .../api_op_UpdateModelManifest.go | 3 - .../api_op_UpdateSignalCatalog.go | 3 - .../api_op_UpdateStateTemplate.go | 3 - service/iotfleetwise/api_op_UpdateVehicle.go | 3 - .../api_op_AssociateVehicleFleet.go.snap | 1 - .../api_op_BatchCreateVehicle.go.snap | 1 - .../api_op_BatchUpdateVehicle.go.snap | 1 - .../snapshot/api_op_CreateCampaign.go.snap | 1 - .../api_op_CreateDecoderManifest.go.snap | 1 - .../snapshot/api_op_CreateFleet.go.snap | 1 - .../api_op_CreateModelManifest.go.snap | 1 - .../api_op_CreateSignalCatalog.go.snap | 1 - .../api_op_CreateStateTemplate.go.snap | 1 - .../snapshot/api_op_CreateVehicle.go.snap | 1 - .../snapshot/api_op_DeleteCampaign.go.snap | 1 - .../api_op_DeleteDecoderManifest.go.snap | 1 - .../snapshot/api_op_DeleteFleet.go.snap | 1 - .../api_op_DeleteModelManifest.go.snap | 1 - .../api_op_DeleteSignalCatalog.go.snap | 1 - .../api_op_DeleteStateTemplate.go.snap | 1 - .../snapshot/api_op_DeleteVehicle.go.snap | 1 - .../api_op_DisassociateVehicleFleet.go.snap | 1 - .../snapshot/api_op_GetCampaign.go.snap | 1 - .../api_op_GetDecoderManifest.go.snap | 1 - .../api_op_GetEncryptionConfiguration.go.snap | 1 - .../snapshot/api_op_GetFleet.go.snap | 1 - .../snapshot/api_op_GetLoggingOptions.go.snap | 1 - .../snapshot/api_op_GetModelManifest.go.snap | 1 - .../api_op_GetRegisterAccountStatus.go.snap | 1 - .../snapshot/api_op_GetSignalCatalog.go.snap | 1 - .../snapshot/api_op_GetStateTemplate.go.snap | 1 - .../snapshot/api_op_GetVehicle.go.snap | 1 - .../snapshot/api_op_GetVehicleStatus.go.snap | 1 - .../api_op_ImportDecoderManifest.go.snap | 1 - .../api_op_ImportSignalCatalog.go.snap | 1 - .../snapshot/api_op_ListCampaigns.go.snap | 1 - ...stDecoderManifestNetworkInterfaces.go.snap | 1 - .../api_op_ListDecoderManifestSignals.go.snap | 1 - .../api_op_ListDecoderManifests.go.snap | 1 - .../snapshot/api_op_ListFleets.go.snap | 1 - .../api_op_ListFleetsForVehicle.go.snap | 1 - .../api_op_ListModelManifestNodes.go.snap | 1 - .../api_op_ListModelManifests.go.snap | 1 - .../api_op_ListSignalCatalogNodes.go.snap | 1 - .../api_op_ListSignalCatalogs.go.snap | 1 - .../api_op_ListStateTemplates.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListVehicles.go.snap | 1 - .../api_op_ListVehiclesInFleet.go.snap | 1 - .../api_op_PutEncryptionConfiguration.go.snap | 1 - .../snapshot/api_op_PutLoggingOptions.go.snap | 1 - .../snapshot/api_op_RegisterAccount.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateCampaign.go.snap | 1 - .../api_op_UpdateDecoderManifest.go.snap | 1 - .../snapshot/api_op_UpdateFleet.go.snap | 1 - .../api_op_UpdateModelManifest.go.snap | 1 - .../api_op_UpdateSignalCatalog.go.snap | 1 - .../api_op_UpdateStateTemplate.go.snap | 1 - .../snapshot/api_op_UpdateVehicle.go.snap | 1 - service/iotjobsdataplane/api_client.go | 31 -- .../api_op_DescribeJobExecution.go | 3 - .../api_op_GetPendingJobExecutions.go | 3 - .../api_op_StartCommandExecution.go | 3 - .../api_op_StartNextPendingJobExecution.go | 3 - .../api_op_UpdateJobExecution.go | 3 - .../api_op_DescribeJobExecution.go.snap | 1 - .../api_op_GetPendingJobExecutions.go.snap | 1 - .../api_op_StartCommandExecution.go.snap | 1 - ...pi_op_StartNextPendingJobExecution.go.snap | 1 - .../api_op_UpdateJobExecution.go.snap | 1 - service/iotsecuretunneling/api_client.go | 31 -- .../iotsecuretunneling/api_op_CloseTunnel.go | 3 - .../api_op_DescribeTunnel.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../iotsecuretunneling/api_op_ListTunnels.go | 3 - .../iotsecuretunneling/api_op_OpenTunnel.go | 3 - .../api_op_RotateTunnelAccessToken.go | 3 - .../iotsecuretunneling/api_op_TagResource.go | 3 - .../api_op_UntagResource.go | 3 - .../snapshot/api_op_CloseTunnel.go.snap | 1 - .../snapshot/api_op_DescribeTunnel.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListTunnels.go.snap | 1 - .../snapshot/api_op_OpenTunnel.go.snap | 1 - .../api_op_RotateTunnelAccessToken.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - service/iotsitewise/api_client.go | 31 -- service/iotsitewise/api_op_AssociateAssets.go | 3 - ...i_op_AssociateTimeSeriesToAssetProperty.go | 3 - .../api_op_BatchAssociateProjectAssets.go | 3 - .../api_op_BatchDisassociateProjectAssets.go | 3 - .../api_op_BatchGetAssetPropertyAggregates.go | 3 - .../api_op_BatchGetAssetPropertyValue.go | 3 - ...pi_op_BatchGetAssetPropertyValueHistory.go | 3 - .../api_op_BatchPutAssetPropertyValue.go | 3 - .../iotsitewise/api_op_CreateAccessPolicy.go | 3 - service/iotsitewise/api_op_CreateAsset.go | 3 - .../iotsitewise/api_op_CreateAssetModel.go | 3 - .../api_op_CreateAssetModelCompositeModel.go | 3 - .../iotsitewise/api_op_CreateBulkImportJob.go | 3 - service/iotsitewise/api_op_CreateDashboard.go | 3 - service/iotsitewise/api_op_CreateDataset.go | 3 - service/iotsitewise/api_op_CreateGateway.go | 3 - service/iotsitewise/api_op_CreatePortal.go | 3 - service/iotsitewise/api_op_CreateProject.go | 3 - .../iotsitewise/api_op_DeleteAccessPolicy.go | 3 - service/iotsitewise/api_op_DeleteAsset.go | 3 - .../iotsitewise/api_op_DeleteAssetModel.go | 3 - .../api_op_DeleteAssetModelCompositeModel.go | 3 - service/iotsitewise/api_op_DeleteDashboard.go | 3 - service/iotsitewise/api_op_DeleteDataset.go | 3 - service/iotsitewise/api_op_DeleteGateway.go | 3 - service/iotsitewise/api_op_DeletePortal.go | 3 - service/iotsitewise/api_op_DeleteProject.go | 3 - .../iotsitewise/api_op_DeleteTimeSeries.go | 3 - .../api_op_DescribeAccessPolicy.go | 3 - service/iotsitewise/api_op_DescribeAction.go | 3 - service/iotsitewise/api_op_DescribeAsset.go | 3 - .../api_op_DescribeAssetCompositeModel.go | 3 - .../iotsitewise/api_op_DescribeAssetModel.go | 3 - ...api_op_DescribeAssetModelCompositeModel.go | 3 - .../api_op_DescribeAssetProperty.go | 3 - .../api_op_DescribeBulkImportJob.go | 3 - .../iotsitewise/api_op_DescribeDashboard.go | 3 - service/iotsitewise/api_op_DescribeDataset.go | 3 - ..._DescribeDefaultEncryptionConfiguration.go | 3 - service/iotsitewise/api_op_DescribeGateway.go | 3 - ..._DescribeGatewayCapabilityConfiguration.go | 3 - .../api_op_DescribeLoggingOptions.go | 3 - service/iotsitewise/api_op_DescribePortal.go | 3 - service/iotsitewise/api_op_DescribeProject.go | 3 - .../api_op_DescribeStorageConfiguration.go | 3 - .../iotsitewise/api_op_DescribeTimeSeries.go | 3 - .../iotsitewise/api_op_DisassociateAssets.go | 3 - ...DisassociateTimeSeriesFromAssetProperty.go | 3 - service/iotsitewise/api_op_ExecuteAction.go | 3 - service/iotsitewise/api_op_ExecuteQuery.go | 3 - .../api_op_GetAssetPropertyAggregates.go | 3 - .../api_op_GetAssetPropertyValue.go | 3 - .../api_op_GetAssetPropertyValueHistory.go | 3 - ...i_op_GetInterpolatedAssetPropertyValues.go | 3 - service/iotsitewise/api_op_InvokeAssistant.go | 3 - .../iotsitewise/api_op_ListAccessPolicies.go | 3 - service/iotsitewise/api_op_ListActions.go | 3 - .../api_op_ListAssetModelCompositeModels.go | 3 - .../api_op_ListAssetModelProperties.go | 3 - service/iotsitewise/api_op_ListAssetModels.go | 3 - .../iotsitewise/api_op_ListAssetProperties.go | 3 - .../api_op_ListAssetRelationships.go | 3 - service/iotsitewise/api_op_ListAssets.go | 3 - .../api_op_ListAssociatedAssets.go | 3 - .../iotsitewise/api_op_ListBulkImportJobs.go | 3 - .../api_op_ListCompositionRelationships.go | 3 - service/iotsitewise/api_op_ListDashboards.go | 3 - service/iotsitewise/api_op_ListDatasets.go | 3 - service/iotsitewise/api_op_ListGateways.go | 3 - service/iotsitewise/api_op_ListPortals.go | 3 - .../iotsitewise/api_op_ListProjectAssets.go | 3 - service/iotsitewise/api_op_ListProjects.go | 3 - .../iotsitewise/api_op_ListTagsForResource.go | 3 - service/iotsitewise/api_op_ListTimeSeries.go | 3 - ...pi_op_PutDefaultEncryptionConfiguration.go | 3 - .../iotsitewise/api_op_PutLoggingOptions.go | 3 - .../api_op_PutStorageConfiguration.go | 3 - service/iotsitewise/api_op_TagResource.go | 3 - service/iotsitewise/api_op_UntagResource.go | 3 - .../iotsitewise/api_op_UpdateAccessPolicy.go | 3 - service/iotsitewise/api_op_UpdateAsset.go | 3 - .../iotsitewise/api_op_UpdateAssetModel.go | 3 - .../api_op_UpdateAssetModelCompositeModel.go | 3 - .../iotsitewise/api_op_UpdateAssetProperty.go | 3 - service/iotsitewise/api_op_UpdateDashboard.go | 3 - service/iotsitewise/api_op_UpdateDataset.go | 3 - service/iotsitewise/api_op_UpdateGateway.go | 3 - ...op_UpdateGatewayCapabilityConfiguration.go | 3 - service/iotsitewise/api_op_UpdatePortal.go | 3 - service/iotsitewise/api_op_UpdateProject.go | 3 - .../snapshot/api_op_AssociateAssets.go.snap | 1 - ...AssociateTimeSeriesToAssetProperty.go.snap | 1 - ...api_op_BatchAssociateProjectAssets.go.snap | 1 - ..._op_BatchDisassociateProjectAssets.go.snap | 1 - ...op_BatchGetAssetPropertyAggregates.go.snap | 1 - .../api_op_BatchGetAssetPropertyValue.go.snap | 1 - ..._BatchGetAssetPropertyValueHistory.go.snap | 1 - .../api_op_BatchPutAssetPropertyValue.go.snap | 1 - .../api_op_CreateAccessPolicy.go.snap | 1 - .../snapshot/api_op_CreateAsset.go.snap | 1 - .../snapshot/api_op_CreateAssetModel.go.snap | 1 - ..._op_CreateAssetModelCompositeModel.go.snap | 1 - .../api_op_CreateBulkImportJob.go.snap | 1 - .../snapshot/api_op_CreateDashboard.go.snap | 1 - .../snapshot/api_op_CreateDataset.go.snap | 1 - .../snapshot/api_op_CreateGateway.go.snap | 1 - .../snapshot/api_op_CreatePortal.go.snap | 1 - .../snapshot/api_op_CreateProject.go.snap | 1 - .../api_op_DeleteAccessPolicy.go.snap | 1 - .../snapshot/api_op_DeleteAsset.go.snap | 1 - .../snapshot/api_op_DeleteAssetModel.go.snap | 1 - ..._op_DeleteAssetModelCompositeModel.go.snap | 1 - .../snapshot/api_op_DeleteDashboard.go.snap | 1 - .../snapshot/api_op_DeleteDataset.go.snap | 1 - .../snapshot/api_op_DeleteGateway.go.snap | 1 - .../snapshot/api_op_DeletePortal.go.snap | 1 - .../snapshot/api_op_DeleteProject.go.snap | 1 - .../snapshot/api_op_DeleteTimeSeries.go.snap | 1 - .../api_op_DescribeAccessPolicy.go.snap | 1 - .../snapshot/api_op_DescribeAction.go.snap | 1 - .../snapshot/api_op_DescribeAsset.go.snap | 1 - ...api_op_DescribeAssetCompositeModel.go.snap | 1 - .../api_op_DescribeAssetModel.go.snap | 1 - ...p_DescribeAssetModelCompositeModel.go.snap | 1 - .../api_op_DescribeAssetProperty.go.snap | 1 - .../api_op_DescribeBulkImportJob.go.snap | 1 - .../snapshot/api_op_DescribeDashboard.go.snap | 1 - .../snapshot/api_op_DescribeDataset.go.snap | 1 - ...ribeDefaultEncryptionConfiguration.go.snap | 1 - .../snapshot/api_op_DescribeGateway.go.snap | 1 - ...ribeGatewayCapabilityConfiguration.go.snap | 1 - .../api_op_DescribeLoggingOptions.go.snap | 1 - .../snapshot/api_op_DescribePortal.go.snap | 1 - .../snapshot/api_op_DescribeProject.go.snap | 1 - ...pi_op_DescribeStorageConfiguration.go.snap | 1 - .../api_op_DescribeTimeSeries.go.snap | 1 - .../api_op_DisassociateAssets.go.snap | 1 - ...sociateTimeSeriesFromAssetProperty.go.snap | 1 - .../snapshot/api_op_ExecuteAction.go.snap | 1 - .../snapshot/api_op_ExecuteQuery.go.snap | 1 - .../api_op_GetAssetPropertyAggregates.go.snap | 1 - .../api_op_GetAssetPropertyValue.go.snap | 1 - ...pi_op_GetAssetPropertyValueHistory.go.snap | 1 - ...GetInterpolatedAssetPropertyValues.go.snap | 1 - .../snapshot/api_op_InvokeAssistant.go.snap | 1 - .../api_op_ListAccessPolicies.go.snap | 1 - .../snapshot/api_op_ListActions.go.snap | 1 - ...i_op_ListAssetModelCompositeModels.go.snap | 1 - .../api_op_ListAssetModelProperties.go.snap | 1 - .../snapshot/api_op_ListAssetModels.go.snap | 1 - .../api_op_ListAssetProperties.go.snap | 1 - .../api_op_ListAssetRelationships.go.snap | 1 - .../snapshot/api_op_ListAssets.go.snap | 1 - .../api_op_ListAssociatedAssets.go.snap | 1 - .../api_op_ListBulkImportJobs.go.snap | 1 - ...pi_op_ListCompositionRelationships.go.snap | 1 - .../snapshot/api_op_ListDashboards.go.snap | 1 - .../snapshot/api_op_ListDatasets.go.snap | 1 - .../snapshot/api_op_ListGateways.go.snap | 1 - .../snapshot/api_op_ListPortals.go.snap | 1 - .../snapshot/api_op_ListProjectAssets.go.snap | 1 - .../snapshot/api_op_ListProjects.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListTimeSeries.go.snap | 1 - ..._PutDefaultEncryptionConfiguration.go.snap | 1 - .../snapshot/api_op_PutLoggingOptions.go.snap | 1 - .../api_op_PutStorageConfiguration.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateAccessPolicy.go.snap | 1 - .../snapshot/api_op_UpdateAsset.go.snap | 1 - .../snapshot/api_op_UpdateAssetModel.go.snap | 1 - ..._op_UpdateAssetModelCompositeModel.go.snap | 1 - .../api_op_UpdateAssetProperty.go.snap | 1 - .../snapshot/api_op_UpdateDashboard.go.snap | 1 - .../snapshot/api_op_UpdateDataset.go.snap | 1 - .../snapshot/api_op_UpdateGateway.go.snap | 1 - ...dateGatewayCapabilityConfiguration.go.snap | 1 - .../snapshot/api_op_UpdatePortal.go.snap | 1 - .../snapshot/api_op_UpdateProject.go.snap | 1 - service/iotthingsgraph/api_client.go | 31 -- .../api_op_AssociateEntityToThing.go | 3 - .../api_op_CreateFlowTemplate.go | 3 - .../api_op_CreateSystemInstance.go | 3 - .../api_op_CreateSystemTemplate.go | 3 - .../api_op_DeleteFlowTemplate.go | 3 - .../iotthingsgraph/api_op_DeleteNamespace.go | 3 - .../api_op_DeleteSystemInstance.go | 3 - .../api_op_DeleteSystemTemplate.go | 3 - .../api_op_DeploySystemInstance.go | 3 - .../api_op_DeprecateFlowTemplate.go | 3 - .../api_op_DeprecateSystemTemplate.go | 3 - .../api_op_DescribeNamespace.go | 3 - .../api_op_DissociateEntityFromThing.go | 3 - service/iotthingsgraph/api_op_GetEntities.go | 3 - .../iotthingsgraph/api_op_GetFlowTemplate.go | 3 - .../api_op_GetFlowTemplateRevisions.go | 3 - .../api_op_GetNamespaceDeletionStatus.go | 3 - .../api_op_GetSystemInstance.go | 3 - .../api_op_GetSystemTemplate.go | 3 - .../api_op_GetSystemTemplateRevisions.go | 3 - .../iotthingsgraph/api_op_GetUploadStatus.go | 3 - .../api_op_ListFlowExecutionMessages.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../iotthingsgraph/api_op_SearchEntities.go | 3 - .../api_op_SearchFlowExecutions.go | 3 - .../api_op_SearchFlowTemplates.go | 3 - .../api_op_SearchSystemInstances.go | 3 - .../api_op_SearchSystemTemplates.go | 3 - service/iotthingsgraph/api_op_SearchThings.go | 3 - service/iotthingsgraph/api_op_TagResource.go | 3 - .../api_op_UndeploySystemInstance.go | 3 - .../iotthingsgraph/api_op_UntagResource.go | 3 - .../api_op_UpdateFlowTemplate.go | 3 - .../api_op_UpdateSystemTemplate.go | 3 - .../api_op_UploadEntityDefinitions.go | 3 - .../api_op_AssociateEntityToThing.go.snap | 1 - .../api_op_CreateFlowTemplate.go.snap | 1 - .../api_op_CreateSystemInstance.go.snap | 1 - .../api_op_CreateSystemTemplate.go.snap | 1 - .../api_op_DeleteFlowTemplate.go.snap | 1 - .../snapshot/api_op_DeleteNamespace.go.snap | 1 - .../api_op_DeleteSystemInstance.go.snap | 1 - .../api_op_DeleteSystemTemplate.go.snap | 1 - .../api_op_DeploySystemInstance.go.snap | 1 - .../api_op_DeprecateFlowTemplate.go.snap | 1 - .../api_op_DeprecateSystemTemplate.go.snap | 1 - .../snapshot/api_op_DescribeNamespace.go.snap | 1 - .../api_op_DissociateEntityFromThing.go.snap | 1 - .../snapshot/api_op_GetEntities.go.snap | 1 - .../snapshot/api_op_GetFlowTemplate.go.snap | 1 - .../api_op_GetFlowTemplateRevisions.go.snap | 1 - .../api_op_GetNamespaceDeletionStatus.go.snap | 1 - .../snapshot/api_op_GetSystemInstance.go.snap | 1 - .../snapshot/api_op_GetSystemTemplate.go.snap | 1 - .../api_op_GetSystemTemplateRevisions.go.snap | 1 - .../snapshot/api_op_GetUploadStatus.go.snap | 1 - .../api_op_ListFlowExecutionMessages.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_SearchEntities.go.snap | 1 - .../api_op_SearchFlowExecutions.go.snap | 1 - .../api_op_SearchFlowTemplates.go.snap | 1 - .../api_op_SearchSystemInstances.go.snap | 1 - .../api_op_SearchSystemTemplates.go.snap | 1 - .../snapshot/api_op_SearchThings.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../api_op_UndeploySystemInstance.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateFlowTemplate.go.snap | 1 - .../api_op_UpdateSystemTemplate.go.snap | 1 - .../api_op_UploadEntityDefinitions.go.snap | 1 - service/iottwinmaker/api_client.go | 31 -- .../api_op_BatchPutPropertyValues.go | 3 - .../api_op_CancelMetadataTransferJob.go | 3 - .../api_op_CreateComponentType.go | 3 - service/iottwinmaker/api_op_CreateEntity.go | 3 - .../api_op_CreateMetadataTransferJob.go | 3 - service/iottwinmaker/api_op_CreateScene.go | 3 - service/iottwinmaker/api_op_CreateSyncJob.go | 3 - .../iottwinmaker/api_op_CreateWorkspace.go | 3 - .../api_op_DeleteComponentType.go | 3 - service/iottwinmaker/api_op_DeleteEntity.go | 3 - service/iottwinmaker/api_op_DeleteScene.go | 3 - service/iottwinmaker/api_op_DeleteSyncJob.go | 3 - .../iottwinmaker/api_op_DeleteWorkspace.go | 3 - service/iottwinmaker/api_op_ExecuteQuery.go | 3 - .../iottwinmaker/api_op_GetComponentType.go | 3 - service/iottwinmaker/api_op_GetEntity.go | 3 - .../api_op_GetMetadataTransferJob.go | 3 - service/iottwinmaker/api_op_GetPricingPlan.go | 3 - .../iottwinmaker/api_op_GetPropertyValue.go | 3 - .../api_op_GetPropertyValueHistory.go | 3 - service/iottwinmaker/api_op_GetScene.go | 3 - service/iottwinmaker/api_op_GetSyncJob.go | 3 - service/iottwinmaker/api_op_GetWorkspace.go | 3 - .../iottwinmaker/api_op_ListComponentTypes.go | 3 - service/iottwinmaker/api_op_ListComponents.go | 3 - service/iottwinmaker/api_op_ListEntities.go | 3 - .../api_op_ListMetadataTransferJobs.go | 3 - service/iottwinmaker/api_op_ListProperties.go | 3 - service/iottwinmaker/api_op_ListScenes.go | 3 - service/iottwinmaker/api_op_ListSyncJobs.go | 3 - .../iottwinmaker/api_op_ListSyncResources.go | 3 - .../api_op_ListTagsForResource.go | 3 - service/iottwinmaker/api_op_ListWorkspaces.go | 3 - service/iottwinmaker/api_op_TagResource.go | 3 - service/iottwinmaker/api_op_UntagResource.go | 3 - .../api_op_UpdateComponentType.go | 3 - service/iottwinmaker/api_op_UpdateEntity.go | 3 - .../iottwinmaker/api_op_UpdatePricingPlan.go | 3 - service/iottwinmaker/api_op_UpdateScene.go | 3 - .../iottwinmaker/api_op_UpdateWorkspace.go | 3 - .../api_op_BatchPutPropertyValues.go.snap | 1 - .../api_op_CancelMetadataTransferJob.go.snap | 1 - .../api_op_CreateComponentType.go.snap | 1 - .../snapshot/api_op_CreateEntity.go.snap | 1 - .../api_op_CreateMetadataTransferJob.go.snap | 1 - .../snapshot/api_op_CreateScene.go.snap | 1 - .../snapshot/api_op_CreateSyncJob.go.snap | 1 - .../snapshot/api_op_CreateWorkspace.go.snap | 1 - .../api_op_DeleteComponentType.go.snap | 1 - .../snapshot/api_op_DeleteEntity.go.snap | 1 - .../snapshot/api_op_DeleteScene.go.snap | 1 - .../snapshot/api_op_DeleteSyncJob.go.snap | 1 - .../snapshot/api_op_DeleteWorkspace.go.snap | 1 - .../snapshot/api_op_ExecuteQuery.go.snap | 1 - .../snapshot/api_op_GetComponentType.go.snap | 1 - .../snapshot/api_op_GetEntity.go.snap | 1 - .../api_op_GetMetadataTransferJob.go.snap | 1 - .../snapshot/api_op_GetPricingPlan.go.snap | 1 - .../snapshot/api_op_GetPropertyValue.go.snap | 1 - .../api_op_GetPropertyValueHistory.go.snap | 1 - .../snapshot/api_op_GetScene.go.snap | 1 - .../snapshot/api_op_GetSyncJob.go.snap | 1 - .../snapshot/api_op_GetWorkspace.go.snap | 1 - .../api_op_ListComponentTypes.go.snap | 1 - .../snapshot/api_op_ListComponents.go.snap | 1 - .../snapshot/api_op_ListEntities.go.snap | 1 - .../api_op_ListMetadataTransferJobs.go.snap | 1 - .../snapshot/api_op_ListProperties.go.snap | 1 - .../snapshot/api_op_ListScenes.go.snap | 1 - .../snapshot/api_op_ListSyncJobs.go.snap | 1 - .../snapshot/api_op_ListSyncResources.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListWorkspaces.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateComponentType.go.snap | 1 - .../snapshot/api_op_UpdateEntity.go.snap | 1 - .../snapshot/api_op_UpdatePricingPlan.go.snap | 1 - .../snapshot/api_op_UpdateScene.go.snap | 1 - .../snapshot/api_op_UpdateWorkspace.go.snap | 1 - service/iotwireless/api_client.go | 31 -- ...p_AssociateAwsAccountWithPartnerAccount.go | 3 - ...op_AssociateMulticastGroupWithFuotaTask.go | 3 - ...op_AssociateWirelessDeviceWithFuotaTask.go | 3 - ...sociateWirelessDeviceWithMulticastGroup.go | 3 - ...api_op_AssociateWirelessDeviceWithThing.go | 3 - ...AssociateWirelessGatewayWithCertificate.go | 3 - ...pi_op_AssociateWirelessGatewayWithThing.go | 3 - .../api_op_CancelMulticastGroupSession.go | 3 - .../iotwireless/api_op_CreateDestination.go | 3 - .../iotwireless/api_op_CreateDeviceProfile.go | 3 - service/iotwireless/api_op_CreateFuotaTask.go | 3 - .../api_op_CreateMulticastGroup.go | 3 - ...i_op_CreateNetworkAnalyzerConfiguration.go | 3 - .../api_op_CreateServiceProfile.go | 3 - .../api_op_CreateWirelessDevice.go | 3 - .../api_op_CreateWirelessGateway.go | 3 - .../api_op_CreateWirelessGatewayTask.go | 3 - ..._op_CreateWirelessGatewayTaskDefinition.go | 3 - .../iotwireless/api_op_DeleteDestination.go | 3 - .../iotwireless/api_op_DeleteDeviceProfile.go | 3 - service/iotwireless/api_op_DeleteFuotaTask.go | 3 - .../api_op_DeleteMulticastGroup.go | 3 - ...i_op_DeleteNetworkAnalyzerConfiguration.go | 3 - .../api_op_DeleteQueuedMessages.go | 3 - .../api_op_DeleteServiceProfile.go | 3 - .../api_op_DeleteWirelessDevice.go | 3 - .../api_op_DeleteWirelessDeviceImportTask.go | 3 - .../api_op_DeleteWirelessGateway.go | 3 - .../api_op_DeleteWirelessGatewayTask.go | 3 - ..._op_DeleteWirelessGatewayTaskDefinition.go | 3 - .../api_op_DeregisterWirelessDevice.go | 3 - ...isassociateAwsAccountFromPartnerAccount.go | 3 - ...DisassociateMulticastGroupFromFuotaTask.go | 3 - ...DisassociateWirelessDeviceFromFuotaTask.go | 3 - ...sociateWirelessDeviceFromMulticastGroup.go | 3 - ..._op_DisassociateWirelessDeviceFromThing.go | 3 - ...associateWirelessGatewayFromCertificate.go | 3 - ...op_DisassociateWirelessGatewayFromThing.go | 3 - service/iotwireless/api_op_GetDestination.go | 3 - .../iotwireless/api_op_GetDeviceProfile.go | 3 - ...op_GetEventConfigurationByResourceTypes.go | 3 - service/iotwireless/api_op_GetFuotaTask.go | 3 - .../api_op_GetLogLevelsByResourceTypes.go | 3 - .../api_op_GetMetricConfiguration.go | 3 - service/iotwireless/api_op_GetMetrics.go | 3 - .../iotwireless/api_op_GetMulticastGroup.go | 3 - .../api_op_GetMulticastGroupSession.go | 3 - .../api_op_GetNetworkAnalyzerConfiguration.go | 3 - .../iotwireless/api_op_GetPartnerAccount.go | 3 - service/iotwireless/api_op_GetPosition.go | 3 - .../api_op_GetPositionConfiguration.go | 3 - .../iotwireless/api_op_GetPositionEstimate.go | 3 - .../api_op_GetResourceEventConfiguration.go | 3 - .../iotwireless/api_op_GetResourceLogLevel.go | 3 - .../iotwireless/api_op_GetResourcePosition.go | 3 - .../iotwireless/api_op_GetServiceEndpoint.go | 3 - .../iotwireless/api_op_GetServiceProfile.go | 3 - .../iotwireless/api_op_GetWirelessDevice.go | 3 - .../api_op_GetWirelessDeviceImportTask.go | 3 - .../api_op_GetWirelessDeviceStatistics.go | 3 - .../iotwireless/api_op_GetWirelessGateway.go | 3 - .../api_op_GetWirelessGatewayCertificate.go | 3 - ...p_GetWirelessGatewayFirmwareInformation.go | 3 - .../api_op_GetWirelessGatewayStatistics.go | 3 - .../api_op_GetWirelessGatewayTask.go | 3 - ...api_op_GetWirelessGatewayTaskDefinition.go | 3 - .../iotwireless/api_op_ListDestinations.go | 3 - .../iotwireless/api_op_ListDeviceProfiles.go | 3 - ..._ListDevicesForWirelessDeviceImportTask.go | 3 - .../api_op_ListEventConfigurations.go | 3 - service/iotwireless/api_op_ListFuotaTasks.go | 3 - .../iotwireless/api_op_ListMulticastGroups.go | 3 - .../api_op_ListMulticastGroupsByFuotaTask.go | 3 - ...pi_op_ListNetworkAnalyzerConfigurations.go | 3 - .../iotwireless/api_op_ListPartnerAccounts.go | 3 - .../api_op_ListPositionConfigurations.go | 3 - .../iotwireless/api_op_ListQueuedMessages.go | 3 - .../iotwireless/api_op_ListServiceProfiles.go | 3 - .../iotwireless/api_op_ListTagsForResource.go | 3 - .../api_op_ListWirelessDeviceImportTasks.go | 3 - .../iotwireless/api_op_ListWirelessDevices.go | 3 - ...i_op_ListWirelessGatewayTaskDefinitions.go | 3 - .../api_op_ListWirelessGateways.go | 3 - .../api_op_PutPositionConfiguration.go | 3 - .../iotwireless/api_op_PutResourceLogLevel.go | 3 - .../api_op_ResetAllResourceLogLevels.go | 3 - .../api_op_ResetResourceLogLevel.go | 3 - .../api_op_SendDataToMulticastGroup.go | 3 - .../api_op_SendDataToWirelessDevice.go | 3 - ...sociateWirelessDeviceWithMulticastGroup.go | 3 - ...sociateWirelessDeviceFromMulticastGroup.go | 3 - service/iotwireless/api_op_StartFuotaTask.go | 3 - .../api_op_StartMulticastGroupSession.go | 3 - ..._op_StartSingleWirelessDeviceImportTask.go | 3 - .../api_op_StartWirelessDeviceImportTask.go | 3 - service/iotwireless/api_op_TagResource.go | 3 - .../iotwireless/api_op_TestWirelessDevice.go | 3 - service/iotwireless/api_op_UntagResource.go | 3 - .../iotwireless/api_op_UpdateDestination.go | 3 - ...UpdateEventConfigurationByResourceTypes.go | 3 - service/iotwireless/api_op_UpdateFuotaTask.go | 3 - .../api_op_UpdateLogLevelsByResourceTypes.go | 3 - .../api_op_UpdateMetricConfiguration.go | 3 - .../api_op_UpdateMulticastGroup.go | 3 - ...i_op_UpdateNetworkAnalyzerConfiguration.go | 3 - .../api_op_UpdatePartnerAccount.go | 3 - service/iotwireless/api_op_UpdatePosition.go | 3 - ...api_op_UpdateResourceEventConfiguration.go | 3 - .../api_op_UpdateResourcePosition.go | 3 - .../api_op_UpdateWirelessDevice.go | 3 - .../api_op_UpdateWirelessDeviceImportTask.go | 3 - .../api_op_UpdateWirelessGateway.go | 3 - ...ociateAwsAccountWithPartnerAccount.go.snap | 1 - ...sociateMulticastGroupWithFuotaTask.go.snap | 1 - ...sociateWirelessDeviceWithFuotaTask.go.snap | 1 - ...teWirelessDeviceWithMulticastGroup.go.snap | 1 - ...p_AssociateWirelessDeviceWithThing.go.snap | 1 - ...iateWirelessGatewayWithCertificate.go.snap | 1 - ..._AssociateWirelessGatewayWithThing.go.snap | 1 - ...api_op_CancelMulticastGroupSession.go.snap | 1 - .../snapshot/api_op_CreateDestination.go.snap | 1 - .../api_op_CreateDeviceProfile.go.snap | 1 - .../snapshot/api_op_CreateFuotaTask.go.snap | 1 - .../api_op_CreateMulticastGroup.go.snap | 1 - ...CreateNetworkAnalyzerConfiguration.go.snap | 1 - .../api_op_CreateServiceProfile.go.snap | 1 - .../api_op_CreateWirelessDevice.go.snap | 1 - .../api_op_CreateWirelessGateway.go.snap | 1 - .../api_op_CreateWirelessGatewayTask.go.snap | 1 - ...reateWirelessGatewayTaskDefinition.go.snap | 1 - .../snapshot/api_op_DeleteDestination.go.snap | 1 - .../api_op_DeleteDeviceProfile.go.snap | 1 - .../snapshot/api_op_DeleteFuotaTask.go.snap | 1 - .../api_op_DeleteMulticastGroup.go.snap | 1 - ...DeleteNetworkAnalyzerConfiguration.go.snap | 1 - .../api_op_DeleteQueuedMessages.go.snap | 1 - .../api_op_DeleteServiceProfile.go.snap | 1 - .../api_op_DeleteWirelessDevice.go.snap | 1 - ..._op_DeleteWirelessDeviceImportTask.go.snap | 1 - .../api_op_DeleteWirelessGateway.go.snap | 1 - .../api_op_DeleteWirelessGatewayTask.go.snap | 1 - ...eleteWirelessGatewayTaskDefinition.go.snap | 1 - .../api_op_DeregisterWirelessDevice.go.snap | 1 - ...ociateAwsAccountFromPartnerAccount.go.snap | 1 - ...sociateMulticastGroupFromFuotaTask.go.snap | 1 - ...sociateWirelessDeviceFromFuotaTask.go.snap | 1 - ...teWirelessDeviceFromMulticastGroup.go.snap | 1 - ...isassociateWirelessDeviceFromThing.go.snap | 1 - ...iateWirelessGatewayFromCertificate.go.snap | 1 - ...sassociateWirelessGatewayFromThing.go.snap | 1 - .../snapshot/api_op_GetDestination.go.snap | 1 - .../snapshot/api_op_GetDeviceProfile.go.snap | 1 - ...tEventConfigurationByResourceTypes.go.snap | 1 - .../snapshot/api_op_GetFuotaTask.go.snap | 1 - ...api_op_GetLogLevelsByResourceTypes.go.snap | 1 - .../api_op_GetMetricConfiguration.go.snap | 1 - .../snapshot/api_op_GetMetrics.go.snap | 1 - .../snapshot/api_op_GetMulticastGroup.go.snap | 1 - .../api_op_GetMulticastGroupSession.go.snap | 1 - ...op_GetNetworkAnalyzerConfiguration.go.snap | 1 - .../snapshot/api_op_GetPartnerAccount.go.snap | 1 - .../snapshot/api_op_GetPosition.go.snap | 1 - .../api_op_GetPositionConfiguration.go.snap | 1 - .../api_op_GetPositionEstimate.go.snap | 1 - ...i_op_GetResourceEventConfiguration.go.snap | 1 - .../api_op_GetResourceLogLevel.go.snap | 1 - .../api_op_GetResourcePosition.go.snap | 1 - .../api_op_GetServiceEndpoint.go.snap | 1 - .../snapshot/api_op_GetServiceProfile.go.snap | 1 - .../snapshot/api_op_GetWirelessDevice.go.snap | 1 - ...api_op_GetWirelessDeviceImportTask.go.snap | 1 - ...api_op_GetWirelessDeviceStatistics.go.snap | 1 - .../api_op_GetWirelessGateway.go.snap | 1 - ...i_op_GetWirelessGatewayCertificate.go.snap | 1 - ...WirelessGatewayFirmwareInformation.go.snap | 1 - ...pi_op_GetWirelessGatewayStatistics.go.snap | 1 - .../api_op_GetWirelessGatewayTask.go.snap | 1 - ...p_GetWirelessGatewayTaskDefinition.go.snap | 1 - .../snapshot/api_op_ListDestinations.go.snap | 1 - .../api_op_ListDeviceProfiles.go.snap | 1 - ...DevicesForWirelessDeviceImportTask.go.snap | 1 - .../api_op_ListEventConfigurations.go.snap | 1 - .../snapshot/api_op_ListFuotaTasks.go.snap | 1 - .../api_op_ListMulticastGroups.go.snap | 1 - ..._op_ListMulticastGroupsByFuotaTask.go.snap | 1 - ..._ListNetworkAnalyzerConfigurations.go.snap | 1 - .../api_op_ListPartnerAccounts.go.snap | 1 - .../api_op_ListPositionConfigurations.go.snap | 1 - .../api_op_ListQueuedMessages.go.snap | 1 - .../api_op_ListServiceProfiles.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - ...i_op_ListWirelessDeviceImportTasks.go.snap | 1 - .../api_op_ListWirelessDevices.go.snap | 1 - ...ListWirelessGatewayTaskDefinitions.go.snap | 1 - .../api_op_ListWirelessGateways.go.snap | 1 - .../api_op_PutPositionConfiguration.go.snap | 1 - .../api_op_PutResourceLogLevel.go.snap | 1 - .../api_op_ResetAllResourceLogLevels.go.snap | 1 - .../api_op_ResetResourceLogLevel.go.snap | 1 - .../api_op_SendDataToMulticastGroup.go.snap | 1 - .../api_op_SendDataToWirelessDevice.go.snap | 1 - ...teWirelessDeviceWithMulticastGroup.go.snap | 1 - ...teWirelessDeviceFromMulticastGroup.go.snap | 1 - .../snapshot/api_op_StartFuotaTask.go.snap | 1 - .../api_op_StartMulticastGroupSession.go.snap | 1 - ...tartSingleWirelessDeviceImportTask.go.snap | 1 - ...i_op_StartWirelessDeviceImportTask.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../api_op_TestWirelessDevice.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateDestination.go.snap | 1 - ...eEventConfigurationByResourceTypes.go.snap | 1 - .../snapshot/api_op_UpdateFuotaTask.go.snap | 1 - ..._op_UpdateLogLevelsByResourceTypes.go.snap | 1 - .../api_op_UpdateMetricConfiguration.go.snap | 1 - .../api_op_UpdateMulticastGroup.go.snap | 1 - ...UpdateNetworkAnalyzerConfiguration.go.snap | 1 - .../api_op_UpdatePartnerAccount.go.snap | 1 - .../snapshot/api_op_UpdatePosition.go.snap | 1 - ...p_UpdateResourceEventConfiguration.go.snap | 1 - .../api_op_UpdateResourcePosition.go.snap | 1 - .../api_op_UpdateWirelessDevice.go.snap | 1 - ..._op_UpdateWirelessDeviceImportTask.go.snap | 1 - .../api_op_UpdateWirelessGateway.go.snap | 1 - service/ivs/api_client.go | 31 -- service/ivs/api_op_BatchGetChannel.go | 3 - service/ivs/api_op_BatchGetStreamKey.go | 3 - ...pi_op_BatchStartViewerSessionRevocation.go | 3 - service/ivs/api_op_CreateChannel.go | 3 - .../api_op_CreatePlaybackRestrictionPolicy.go | 3 - .../api_op_CreateRecordingConfiguration.go | 3 - service/ivs/api_op_CreateStreamKey.go | 3 - service/ivs/api_op_DeleteChannel.go | 3 - service/ivs/api_op_DeletePlaybackKeyPair.go | 3 - .../api_op_DeletePlaybackRestrictionPolicy.go | 3 - .../api_op_DeleteRecordingConfiguration.go | 3 - service/ivs/api_op_DeleteStreamKey.go | 3 - service/ivs/api_op_GetChannel.go | 3 - service/ivs/api_op_GetPlaybackKeyPair.go | 3 - .../api_op_GetPlaybackRestrictionPolicy.go | 3 - .../ivs/api_op_GetRecordingConfiguration.go | 3 - service/ivs/api_op_GetStream.go | 3 - service/ivs/api_op_GetStreamKey.go | 3 - service/ivs/api_op_GetStreamSession.go | 3 - service/ivs/api_op_ImportPlaybackKeyPair.go | 3 - service/ivs/api_op_ListChannels.go | 3 - service/ivs/api_op_ListPlaybackKeyPairs.go | 3 - .../api_op_ListPlaybackRestrictionPolicies.go | 3 - .../ivs/api_op_ListRecordingConfigurations.go | 3 - service/ivs/api_op_ListStreamKeys.go | 3 - service/ivs/api_op_ListStreamSessions.go | 3 - service/ivs/api_op_ListStreams.go | 3 - service/ivs/api_op_ListTagsForResource.go | 3 - service/ivs/api_op_PutMetadata.go | 3 - .../api_op_StartViewerSessionRevocation.go | 3 - service/ivs/api_op_StopStream.go | 3 - service/ivs/api_op_TagResource.go | 3 - service/ivs/api_op_UntagResource.go | 3 - service/ivs/api_op_UpdateChannel.go | 3 - .../api_op_UpdatePlaybackRestrictionPolicy.go | 3 - .../snapshot/api_op_BatchGetChannel.go.snap | 1 - .../snapshot/api_op_BatchGetStreamKey.go.snap | 1 - ..._BatchStartViewerSessionRevocation.go.snap | 1 - .../ivs/snapshot/api_op_CreateChannel.go.snap | 1 - ...op_CreatePlaybackRestrictionPolicy.go.snap | 1 - ...pi_op_CreateRecordingConfiguration.go.snap | 1 - .../snapshot/api_op_CreateStreamKey.go.snap | 1 - .../ivs/snapshot/api_op_DeleteChannel.go.snap | 1 - .../api_op_DeletePlaybackKeyPair.go.snap | 1 - ...op_DeletePlaybackRestrictionPolicy.go.snap | 1 - ...pi_op_DeleteRecordingConfiguration.go.snap | 1 - .../snapshot/api_op_DeleteStreamKey.go.snap | 1 - .../ivs/snapshot/api_op_GetChannel.go.snap | 1 - .../api_op_GetPlaybackKeyPair.go.snap | 1 - ...pi_op_GetPlaybackRestrictionPolicy.go.snap | 1 - .../api_op_GetRecordingConfiguration.go.snap | 1 - service/ivs/snapshot/api_op_GetStream.go.snap | 1 - .../ivs/snapshot/api_op_GetStreamKey.go.snap | 1 - .../snapshot/api_op_GetStreamSession.go.snap | 1 - .../api_op_ImportPlaybackKeyPair.go.snap | 1 - .../ivs/snapshot/api_op_ListChannels.go.snap | 1 - .../api_op_ListPlaybackKeyPairs.go.snap | 1 - ...op_ListPlaybackRestrictionPolicies.go.snap | 1 - ...api_op_ListRecordingConfigurations.go.snap | 1 - .../snapshot/api_op_ListStreamKeys.go.snap | 1 - .../api_op_ListStreamSessions.go.snap | 1 - .../ivs/snapshot/api_op_ListStreams.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../ivs/snapshot/api_op_PutMetadata.go.snap | 1 - ...pi_op_StartViewerSessionRevocation.go.snap | 1 - .../ivs/snapshot/api_op_StopStream.go.snap | 1 - .../ivs/snapshot/api_op_TagResource.go.snap | 1 - .../ivs/snapshot/api_op_UntagResource.go.snap | 1 - .../ivs/snapshot/api_op_UpdateChannel.go.snap | 1 - ...op_UpdatePlaybackRestrictionPolicy.go.snap | 1 - service/ivschat/api_client.go | 31 -- service/ivschat/api_op_CreateChatToken.go | 3 - .../api_op_CreateLoggingConfiguration.go | 3 - service/ivschat/api_op_CreateRoom.go | 3 - .../api_op_DeleteLoggingConfiguration.go | 3 - service/ivschat/api_op_DeleteMessage.go | 3 - service/ivschat/api_op_DeleteRoom.go | 3 - service/ivschat/api_op_DisconnectUser.go | 3 - .../ivschat/api_op_GetLoggingConfiguration.go | 3 - service/ivschat/api_op_GetRoom.go | 3 - .../api_op_ListLoggingConfigurations.go | 3 - service/ivschat/api_op_ListRooms.go | 3 - service/ivschat/api_op_ListTagsForResource.go | 3 - service/ivschat/api_op_SendEvent.go | 3 - service/ivschat/api_op_TagResource.go | 3 - service/ivschat/api_op_UntagResource.go | 3 - .../api_op_UpdateLoggingConfiguration.go | 3 - service/ivschat/api_op_UpdateRoom.go | 3 - .../snapshot/api_op_CreateChatToken.go.snap | 1 - .../api_op_CreateLoggingConfiguration.go.snap | 1 - .../snapshot/api_op_CreateRoom.go.snap | 1 - .../api_op_DeleteLoggingConfiguration.go.snap | 1 - .../snapshot/api_op_DeleteMessage.go.snap | 1 - .../snapshot/api_op_DeleteRoom.go.snap | 1 - .../snapshot/api_op_DisconnectUser.go.snap | 1 - .../api_op_GetLoggingConfiguration.go.snap | 1 - .../ivschat/snapshot/api_op_GetRoom.go.snap | 1 - .../api_op_ListLoggingConfigurations.go.snap | 1 - .../ivschat/snapshot/api_op_ListRooms.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../ivschat/snapshot/api_op_SendEvent.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateLoggingConfiguration.go.snap | 1 - .../snapshot/api_op_UpdateRoom.go.snap | 1 - service/ivsrealtime/api_client.go | 31 -- .../api_op_CreateEncoderConfiguration.go | 3 - .../api_op_CreateIngestConfiguration.go | 3 - .../api_op_CreateParticipantToken.go | 3 - service/ivsrealtime/api_op_CreateStage.go | 3 - .../api_op_CreateStorageConfiguration.go | 3 - .../api_op_DeleteEncoderConfiguration.go | 3 - .../api_op_DeleteIngestConfiguration.go | 3 - service/ivsrealtime/api_op_DeletePublicKey.go | 3 - service/ivsrealtime/api_op_DeleteStage.go | 3 - .../api_op_DeleteStorageConfiguration.go | 3 - .../api_op_DisconnectParticipant.go | 3 - service/ivsrealtime/api_op_GetComposition.go | 3 - .../api_op_GetEncoderConfiguration.go | 3 - .../api_op_GetIngestConfiguration.go | 3 - service/ivsrealtime/api_op_GetParticipant.go | 3 - service/ivsrealtime/api_op_GetPublicKey.go | 3 - service/ivsrealtime/api_op_GetStage.go | 3 - service/ivsrealtime/api_op_GetStageSession.go | 3 - .../api_op_GetStorageConfiguration.go | 3 - service/ivsrealtime/api_op_ImportPublicKey.go | 3 - .../ivsrealtime/api_op_ListCompositions.go | 3 - .../api_op_ListEncoderConfigurations.go | 3 - .../api_op_ListIngestConfigurations.go | 3 - .../api_op_ListParticipantEvents.go | 3 - .../ivsrealtime/api_op_ListParticipants.go | 3 - service/ivsrealtime/api_op_ListPublicKeys.go | 3 - .../ivsrealtime/api_op_ListStageSessions.go | 3 - service/ivsrealtime/api_op_ListStages.go | 3 - .../api_op_ListStorageConfigurations.go | 3 - .../ivsrealtime/api_op_ListTagsForResource.go | 3 - .../ivsrealtime/api_op_StartComposition.go | 3 - service/ivsrealtime/api_op_StopComposition.go | 3 - service/ivsrealtime/api_op_TagResource.go | 3 - service/ivsrealtime/api_op_UntagResource.go | 3 - .../api_op_UpdateIngestConfiguration.go | 3 - service/ivsrealtime/api_op_UpdateStage.go | 3 - .../api_op_CreateEncoderConfiguration.go.snap | 1 - .../api_op_CreateIngestConfiguration.go.snap | 1 - .../api_op_CreateParticipantToken.go.snap | 1 - .../snapshot/api_op_CreateStage.go.snap | 1 - .../api_op_CreateStorageConfiguration.go.snap | 1 - .../api_op_DeleteEncoderConfiguration.go.snap | 1 - .../api_op_DeleteIngestConfiguration.go.snap | 1 - .../snapshot/api_op_DeletePublicKey.go.snap | 1 - .../snapshot/api_op_DeleteStage.go.snap | 1 - .../api_op_DeleteStorageConfiguration.go.snap | 1 - .../api_op_DisconnectParticipant.go.snap | 1 - .../snapshot/api_op_GetComposition.go.snap | 1 - .../api_op_GetEncoderConfiguration.go.snap | 1 - .../api_op_GetIngestConfiguration.go.snap | 1 - .../snapshot/api_op_GetParticipant.go.snap | 1 - .../snapshot/api_op_GetPublicKey.go.snap | 1 - .../snapshot/api_op_GetStage.go.snap | 1 - .../snapshot/api_op_GetStageSession.go.snap | 1 - .../api_op_GetStorageConfiguration.go.snap | 1 - .../snapshot/api_op_ImportPublicKey.go.snap | 1 - .../snapshot/api_op_ListCompositions.go.snap | 1 - .../api_op_ListEncoderConfigurations.go.snap | 1 - .../api_op_ListIngestConfigurations.go.snap | 1 - .../api_op_ListParticipantEvents.go.snap | 1 - .../snapshot/api_op_ListParticipants.go.snap | 1 - .../snapshot/api_op_ListPublicKeys.go.snap | 1 - .../snapshot/api_op_ListStageSessions.go.snap | 1 - .../snapshot/api_op_ListStages.go.snap | 1 - .../api_op_ListStorageConfigurations.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_StartComposition.go.snap | 1 - .../snapshot/api_op_StopComposition.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateIngestConfiguration.go.snap | 1 - .../snapshot/api_op_UpdateStage.go.snap | 1 - service/kafka/api_client.go | 31 -- .../kafka/api_op_BatchAssociateScramSecret.go | 3 - .../api_op_BatchDisassociateScramSecret.go | 3 - service/kafka/api_op_CreateCluster.go | 3 - service/kafka/api_op_CreateClusterV2.go | 3 - service/kafka/api_op_CreateConfiguration.go | 3 - service/kafka/api_op_CreateReplicator.go | 3 - service/kafka/api_op_CreateVpcConnection.go | 3 - service/kafka/api_op_DeleteCluster.go | 3 - service/kafka/api_op_DeleteClusterPolicy.go | 3 - service/kafka/api_op_DeleteConfiguration.go | 3 - service/kafka/api_op_DeleteReplicator.go | 3 - service/kafka/api_op_DeleteVpcConnection.go | 3 - service/kafka/api_op_DescribeCluster.go | 3 - .../kafka/api_op_DescribeClusterOperation.go | 3 - .../api_op_DescribeClusterOperationV2.go | 3 - service/kafka/api_op_DescribeClusterV2.go | 3 - service/kafka/api_op_DescribeConfiguration.go | 3 - .../api_op_DescribeConfigurationRevision.go | 3 - service/kafka/api_op_DescribeReplicator.go | 3 - service/kafka/api_op_DescribeVpcConnection.go | 3 - service/kafka/api_op_GetBootstrapBrokers.go | 3 - service/kafka/api_op_GetClusterPolicy.go | 3 - .../api_op_GetCompatibleKafkaVersions.go | 3 - .../kafka/api_op_ListClientVpcConnections.go | 3 - service/kafka/api_op_ListClusterOperations.go | 3 - .../kafka/api_op_ListClusterOperationsV2.go | 3 - service/kafka/api_op_ListClusters.go | 3 - service/kafka/api_op_ListClustersV2.go | 3 - .../api_op_ListConfigurationRevisions.go | 3 - service/kafka/api_op_ListConfigurations.go | 3 - service/kafka/api_op_ListKafkaVersions.go | 3 - service/kafka/api_op_ListNodes.go | 3 - service/kafka/api_op_ListReplicators.go | 3 - service/kafka/api_op_ListScramSecrets.go | 3 - service/kafka/api_op_ListTagsForResource.go | 3 - service/kafka/api_op_ListVpcConnections.go | 3 - service/kafka/api_op_PutClusterPolicy.go | 3 - service/kafka/api_op_RebootBroker.go | 3 - .../kafka/api_op_RejectClientVpcConnection.go | 3 - service/kafka/api_op_TagResource.go | 3 - service/kafka/api_op_UntagResource.go | 3 - service/kafka/api_op_UpdateBrokerCount.go | 3 - service/kafka/api_op_UpdateBrokerStorage.go | 3 - service/kafka/api_op_UpdateBrokerType.go | 3 - .../api_op_UpdateClusterConfiguration.go | 3 - .../kafka/api_op_UpdateClusterKafkaVersion.go | 3 - service/kafka/api_op_UpdateConfiguration.go | 3 - service/kafka/api_op_UpdateConnectivity.go | 3 - service/kafka/api_op_UpdateMonitoring.go | 3 - service/kafka/api_op_UpdateReplicationInfo.go | 3 - service/kafka/api_op_UpdateSecurity.go | 3 - service/kafka/api_op_UpdateStorage.go | 3 - .../api_op_BatchAssociateScramSecret.go.snap | 1 - ...pi_op_BatchDisassociateScramSecret.go.snap | 1 - .../snapshot/api_op_CreateCluster.go.snap | 1 - .../snapshot/api_op_CreateClusterV2.go.snap | 1 - .../api_op_CreateConfiguration.go.snap | 1 - .../snapshot/api_op_CreateReplicator.go.snap | 1 - .../api_op_CreateVpcConnection.go.snap | 1 - .../snapshot/api_op_DeleteCluster.go.snap | 1 - .../api_op_DeleteClusterPolicy.go.snap | 1 - .../api_op_DeleteConfiguration.go.snap | 1 - .../snapshot/api_op_DeleteReplicator.go.snap | 1 - .../api_op_DeleteVpcConnection.go.snap | 1 - .../snapshot/api_op_DescribeCluster.go.snap | 1 - .../api_op_DescribeClusterOperation.go.snap | 1 - .../api_op_DescribeClusterOperationV2.go.snap | 1 - .../snapshot/api_op_DescribeClusterV2.go.snap | 1 - .../api_op_DescribeConfiguration.go.snap | 1 - ...i_op_DescribeConfigurationRevision.go.snap | 1 - .../api_op_DescribeReplicator.go.snap | 1 - .../api_op_DescribeVpcConnection.go.snap | 1 - .../api_op_GetBootstrapBrokers.go.snap | 1 - .../snapshot/api_op_GetClusterPolicy.go.snap | 1 - .../api_op_GetCompatibleKafkaVersions.go.snap | 1 - .../api_op_ListClientVpcConnections.go.snap | 1 - .../api_op_ListClusterOperations.go.snap | 1 - .../api_op_ListClusterOperationsV2.go.snap | 1 - .../snapshot/api_op_ListClusters.go.snap | 1 - .../snapshot/api_op_ListClustersV2.go.snap | 1 - .../api_op_ListConfigurationRevisions.go.snap | 1 - .../api_op_ListConfigurations.go.snap | 1 - .../snapshot/api_op_ListKafkaVersions.go.snap | 1 - .../kafka/snapshot/api_op_ListNodes.go.snap | 1 - .../snapshot/api_op_ListReplicators.go.snap | 1 - .../snapshot/api_op_ListScramSecrets.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListVpcConnections.go.snap | 1 - .../snapshot/api_op_PutClusterPolicy.go.snap | 1 - .../snapshot/api_op_RebootBroker.go.snap | 1 - .../api_op_RejectClientVpcConnection.go.snap | 1 - .../kafka/snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateBrokerCount.go.snap | 1 - .../api_op_UpdateBrokerStorage.go.snap | 1 - .../snapshot/api_op_UpdateBrokerType.go.snap | 1 - .../api_op_UpdateClusterConfiguration.go.snap | 1 - .../api_op_UpdateClusterKafkaVersion.go.snap | 1 - .../api_op_UpdateConfiguration.go.snap | 1 - .../api_op_UpdateConnectivity.go.snap | 1 - .../snapshot/api_op_UpdateMonitoring.go.snap | 1 - .../api_op_UpdateReplicationInfo.go.snap | 1 - .../snapshot/api_op_UpdateSecurity.go.snap | 1 - .../snapshot/api_op_UpdateStorage.go.snap | 1 - service/kafkaconnect/api_client.go | 31 -- .../kafkaconnect/api_op_CreateConnector.go | 3 - .../kafkaconnect/api_op_CreateCustomPlugin.go | 3 - .../api_op_CreateWorkerConfiguration.go | 3 - .../kafkaconnect/api_op_DeleteConnector.go | 3 - .../kafkaconnect/api_op_DeleteCustomPlugin.go | 3 - .../api_op_DeleteWorkerConfiguration.go | 3 - .../kafkaconnect/api_op_DescribeConnector.go | 3 - .../api_op_DescribeConnectorOperation.go | 3 - .../api_op_DescribeCustomPlugin.go | 3 - .../api_op_DescribeWorkerConfiguration.go | 3 - .../api_op_ListConnectorOperations.go | 3 - service/kafkaconnect/api_op_ListConnectors.go | 3 - .../kafkaconnect/api_op_ListCustomPlugins.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_ListWorkerConfigurations.go | 3 - service/kafkaconnect/api_op_TagResource.go | 3 - service/kafkaconnect/api_op_UntagResource.go | 3 - .../kafkaconnect/api_op_UpdateConnector.go | 3 - .../snapshot/api_op_CreateConnector.go.snap | 1 - .../api_op_CreateCustomPlugin.go.snap | 1 - .../api_op_CreateWorkerConfiguration.go.snap | 1 - .../snapshot/api_op_DeleteConnector.go.snap | 1 - .../api_op_DeleteCustomPlugin.go.snap | 1 - .../api_op_DeleteWorkerConfiguration.go.snap | 1 - .../snapshot/api_op_DescribeConnector.go.snap | 1 - .../api_op_DescribeConnectorOperation.go.snap | 1 - .../api_op_DescribeCustomPlugin.go.snap | 1 - ...api_op_DescribeWorkerConfiguration.go.snap | 1 - .../api_op_ListConnectorOperations.go.snap | 1 - .../snapshot/api_op_ListConnectors.go.snap | 1 - .../snapshot/api_op_ListCustomPlugins.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListWorkerConfigurations.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateConnector.go.snap | 1 - service/kendra/api_client.go | 31 -- .../api_op_AssociateEntitiesToExperience.go | 3 - .../api_op_AssociatePersonasToEntities.go | 3 - service/kendra/api_op_BatchDeleteDocument.go | 3 - .../api_op_BatchDeleteFeaturedResultsSet.go | 3 - .../kendra/api_op_BatchGetDocumentStatus.go | 3 - service/kendra/api_op_BatchPutDocument.go | 3 - .../kendra/api_op_ClearQuerySuggestions.go | 3 - ...api_op_CreateAccessControlConfiguration.go | 3 - service/kendra/api_op_CreateDataSource.go | 3 - service/kendra/api_op_CreateExperience.go | 3 - service/kendra/api_op_CreateFaq.go | 3 - .../kendra/api_op_CreateFeaturedResultsSet.go | 3 - service/kendra/api_op_CreateIndex.go | 3 - .../api_op_CreateQuerySuggestionsBlockList.go | 3 - service/kendra/api_op_CreateThesaurus.go | 3 - ...api_op_DeleteAccessControlConfiguration.go | 3 - service/kendra/api_op_DeleteDataSource.go | 3 - service/kendra/api_op_DeleteExperience.go | 3 - service/kendra/api_op_DeleteFaq.go | 3 - service/kendra/api_op_DeleteIndex.go | 3 - .../kendra/api_op_DeletePrincipalMapping.go | 3 - .../api_op_DeleteQuerySuggestionsBlockList.go | 3 - service/kendra/api_op_DeleteThesaurus.go | 3 - ...i_op_DescribeAccessControlConfiguration.go | 3 - service/kendra/api_op_DescribeDataSource.go | 3 - service/kendra/api_op_DescribeExperience.go | 3 - service/kendra/api_op_DescribeFaq.go | 3 - .../api_op_DescribeFeaturedResultsSet.go | 3 - service/kendra/api_op_DescribeIndex.go | 3 - .../kendra/api_op_DescribePrincipalMapping.go | 3 - ...pi_op_DescribeQuerySuggestionsBlockList.go | 3 - .../api_op_DescribeQuerySuggestionsConfig.go | 3 - service/kendra/api_op_DescribeThesaurus.go | 3 - ...i_op_DisassociateEntitiesFromExperience.go | 3 - ...api_op_DisassociatePersonasFromEntities.go | 3 - service/kendra/api_op_GetQuerySuggestions.go | 3 - service/kendra/api_op_GetSnapshots.go | 3 - .../api_op_ListAccessControlConfigurations.go | 3 - .../kendra/api_op_ListDataSourceSyncJobs.go | 3 - service/kendra/api_op_ListDataSources.go | 3 - service/kendra/api_op_ListEntityPersonas.go | 3 - .../kendra/api_op_ListExperienceEntities.go | 3 - service/kendra/api_op_ListExperiences.go | 3 - service/kendra/api_op_ListFaqs.go | 3 - .../kendra/api_op_ListFeaturedResultsSets.go | 3 - .../api_op_ListGroupsOlderThanOrderingId.go | 3 - service/kendra/api_op_ListIndices.go | 3 - .../api_op_ListQuerySuggestionsBlockLists.go | 3 - service/kendra/api_op_ListTagsForResource.go | 3 - service/kendra/api_op_ListThesauri.go | 3 - service/kendra/api_op_PutPrincipalMapping.go | 3 - service/kendra/api_op_Query.go | 3 - service/kendra/api_op_Retrieve.go | 3 - .../kendra/api_op_StartDataSourceSyncJob.go | 3 - .../kendra/api_op_StopDataSourceSyncJob.go | 3 - service/kendra/api_op_SubmitFeedback.go | 3 - service/kendra/api_op_TagResource.go | 3 - service/kendra/api_op_UntagResource.go | 3 - ...api_op_UpdateAccessControlConfiguration.go | 3 - service/kendra/api_op_UpdateDataSource.go | 3 - service/kendra/api_op_UpdateExperience.go | 3 - .../kendra/api_op_UpdateFeaturedResultsSet.go | 3 - service/kendra/api_op_UpdateIndex.go | 3 - .../api_op_UpdateQuerySuggestionsBlockList.go | 3 - .../api_op_UpdateQuerySuggestionsConfig.go | 3 - service/kendra/api_op_UpdateThesaurus.go | 3 - ...i_op_AssociateEntitiesToExperience.go.snap | 1 - ...api_op_AssociatePersonasToEntities.go.snap | 1 - .../api_op_BatchDeleteDocument.go.snap | 1 - ...i_op_BatchDeleteFeaturedResultsSet.go.snap | 1 - .../api_op_BatchGetDocumentStatus.go.snap | 1 - .../snapshot/api_op_BatchPutDocument.go.snap | 1 - .../api_op_ClearQuerySuggestions.go.snap | 1 - ...p_CreateAccessControlConfiguration.go.snap | 1 - .../snapshot/api_op_CreateDataSource.go.snap | 1 - .../snapshot/api_op_CreateExperience.go.snap | 1 - .../kendra/snapshot/api_op_CreateFaq.go.snap | 1 - .../api_op_CreateFeaturedResultsSet.go.snap | 1 - .../snapshot/api_op_CreateIndex.go.snap | 1 - ...op_CreateQuerySuggestionsBlockList.go.snap | 1 - .../snapshot/api_op_CreateThesaurus.go.snap | 1 - ...p_DeleteAccessControlConfiguration.go.snap | 1 - .../snapshot/api_op_DeleteDataSource.go.snap | 1 - .../snapshot/api_op_DeleteExperience.go.snap | 1 - .../kendra/snapshot/api_op_DeleteFaq.go.snap | 1 - .../snapshot/api_op_DeleteIndex.go.snap | 1 - .../api_op_DeletePrincipalMapping.go.snap | 1 - ...op_DeleteQuerySuggestionsBlockList.go.snap | 1 - .../snapshot/api_op_DeleteThesaurus.go.snap | 1 - ...DescribeAccessControlConfiguration.go.snap | 1 - .../api_op_DescribeDataSource.go.snap | 1 - .../api_op_DescribeExperience.go.snap | 1 - .../snapshot/api_op_DescribeFaq.go.snap | 1 - .../api_op_DescribeFeaturedResultsSet.go.snap | 1 - .../snapshot/api_op_DescribeIndex.go.snap | 1 - .../api_op_DescribePrincipalMapping.go.snap | 1 - ..._DescribeQuerySuggestionsBlockList.go.snap | 1 - ..._op_DescribeQuerySuggestionsConfig.go.snap | 1 - .../snapshot/api_op_DescribeThesaurus.go.snap | 1 - ...DisassociateEntitiesFromExperience.go.snap | 1 - ...p_DisassociatePersonasFromEntities.go.snap | 1 - .../api_op_GetQuerySuggestions.go.snap | 1 - .../snapshot/api_op_GetSnapshots.go.snap | 1 - ...op_ListAccessControlConfigurations.go.snap | 1 - .../api_op_ListDataSourceSyncJobs.go.snap | 1 - .../snapshot/api_op_ListDataSources.go.snap | 1 - .../api_op_ListEntityPersonas.go.snap | 1 - .../api_op_ListExperienceEntities.go.snap | 1 - .../snapshot/api_op_ListExperiences.go.snap | 1 - .../kendra/snapshot/api_op_ListFaqs.go.snap | 1 - .../api_op_ListFeaturedResultsSets.go.snap | 1 - ...i_op_ListGroupsOlderThanOrderingId.go.snap | 1 - .../snapshot/api_op_ListIndices.go.snap | 1 - ..._op_ListQuerySuggestionsBlockLists.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListThesauri.go.snap | 1 - .../api_op_PutPrincipalMapping.go.snap | 1 - service/kendra/snapshot/api_op_Query.go.snap | 1 - .../kendra/snapshot/api_op_Retrieve.go.snap | 1 - .../api_op_StartDataSourceSyncJob.go.snap | 1 - .../api_op_StopDataSourceSyncJob.go.snap | 1 - .../snapshot/api_op_SubmitFeedback.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - ...p_UpdateAccessControlConfiguration.go.snap | 1 - .../snapshot/api_op_UpdateDataSource.go.snap | 1 - .../snapshot/api_op_UpdateExperience.go.snap | 1 - .../api_op_UpdateFeaturedResultsSet.go.snap | 1 - .../snapshot/api_op_UpdateIndex.go.snap | 1 - ...op_UpdateQuerySuggestionsBlockList.go.snap | 1 - ...pi_op_UpdateQuerySuggestionsConfig.go.snap | 1 - .../snapshot/api_op_UpdateThesaurus.go.snap | 1 - service/kendraranking/api_client.go | 31 -- .../api_op_CreateRescoreExecutionPlan.go | 3 - .../api_op_DeleteRescoreExecutionPlan.go | 3 - .../api_op_DescribeRescoreExecutionPlan.go | 3 - .../api_op_ListRescoreExecutionPlans.go | 3 - .../api_op_ListTagsForResource.go | 3 - service/kendraranking/api_op_Rescore.go | 3 - service/kendraranking/api_op_TagResource.go | 3 - service/kendraranking/api_op_UntagResource.go | 3 - .../api_op_UpdateRescoreExecutionPlan.go | 3 - .../api_op_CreateRescoreExecutionPlan.go.snap | 1 - .../api_op_DeleteRescoreExecutionPlan.go.snap | 1 - ...pi_op_DescribeRescoreExecutionPlan.go.snap | 1 - .../api_op_ListRescoreExecutionPlans.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_Rescore.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateRescoreExecutionPlan.go.snap | 1 - service/keyspaces/api_client.go | 31 -- service/keyspaces/api_op_CreateKeyspace.go | 3 - service/keyspaces/api_op_CreateTable.go | 3 - service/keyspaces/api_op_CreateType.go | 3 - service/keyspaces/api_op_DeleteKeyspace.go | 3 - service/keyspaces/api_op_DeleteTable.go | 3 - service/keyspaces/api_op_DeleteType.go | 3 - service/keyspaces/api_op_GetKeyspace.go | 3 - service/keyspaces/api_op_GetTable.go | 3 - .../api_op_GetTableAutoScalingSettings.go | 3 - service/keyspaces/api_op_GetType.go | 3 - service/keyspaces/api_op_ListKeyspaces.go | 3 - service/keyspaces/api_op_ListTables.go | 3 - .../keyspaces/api_op_ListTagsForResource.go | 3 - service/keyspaces/api_op_ListTypes.go | 3 - service/keyspaces/api_op_RestoreTable.go | 3 - service/keyspaces/api_op_TagResource.go | 3 - service/keyspaces/api_op_UntagResource.go | 3 - service/keyspaces/api_op_UpdateKeyspace.go | 3 - service/keyspaces/api_op_UpdateTable.go | 3 - .../snapshot/api_op_CreateKeyspace.go.snap | 1 - .../snapshot/api_op_CreateTable.go.snap | 1 - .../snapshot/api_op_CreateType.go.snap | 1 - .../snapshot/api_op_DeleteKeyspace.go.snap | 1 - .../snapshot/api_op_DeleteTable.go.snap | 1 - .../snapshot/api_op_DeleteType.go.snap | 1 - .../snapshot/api_op_GetKeyspace.go.snap | 1 - .../snapshot/api_op_GetTable.go.snap | 1 - ...api_op_GetTableAutoScalingSettings.go.snap | 1 - .../keyspaces/snapshot/api_op_GetType.go.snap | 1 - .../snapshot/api_op_ListKeyspaces.go.snap | 1 - .../snapshot/api_op_ListTables.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListTypes.go.snap | 1 - .../snapshot/api_op_RestoreTable.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateKeyspace.go.snap | 1 - .../snapshot/api_op_UpdateTable.go.snap | 1 - service/kinesis/api_client.go | 31 -- service/kinesis/api_op_AddTagsToStream.go | 3 - service/kinesis/api_op_CreateStream.go | 3 - .../api_op_DecreaseStreamRetentionPeriod.go | 3 - .../kinesis/api_op_DeleteResourcePolicy.go | 3 - service/kinesis/api_op_DeleteStream.go | 3 - .../api_op_DeregisterStreamConsumer.go | 3 - service/kinesis/api_op_DescribeLimits.go | 3 - service/kinesis/api_op_DescribeStream.go | 3 - .../kinesis/api_op_DescribeStreamConsumer.go | 3 - .../kinesis/api_op_DescribeStreamSummary.go | 3 - .../api_op_DisableEnhancedMonitoring.go | 3 - .../api_op_EnableEnhancedMonitoring.go | 3 - service/kinesis/api_op_GetRecords.go | 3 - service/kinesis/api_op_GetResourcePolicy.go | 3 - service/kinesis/api_op_GetShardIterator.go | 3 - .../api_op_IncreaseStreamRetentionPeriod.go | 3 - service/kinesis/api_op_ListShards.go | 3 - service/kinesis/api_op_ListStreamConsumers.go | 3 - service/kinesis/api_op_ListStreams.go | 3 - service/kinesis/api_op_ListTagsForStream.go | 3 - service/kinesis/api_op_MergeShards.go | 3 - service/kinesis/api_op_PutRecord.go | 3 - service/kinesis/api_op_PutRecords.go | 3 - service/kinesis/api_op_PutResourcePolicy.go | 3 - .../kinesis/api_op_RegisterStreamConsumer.go | 3 - .../kinesis/api_op_RemoveTagsFromStream.go | 3 - service/kinesis/api_op_SplitShard.go | 3 - .../kinesis/api_op_StartStreamEncryption.go | 3 - .../kinesis/api_op_StopStreamEncryption.go | 3 - service/kinesis/api_op_SubscribeToShard.go | 3 - service/kinesis/api_op_UpdateShardCount.go | 3 - service/kinesis/api_op_UpdateStreamMode.go | 3 - .../snapshot/api_op_AddTagsToStream.go.snap | 1 - .../snapshot/api_op_CreateStream.go.snap | 1 - ...i_op_DecreaseStreamRetentionPeriod.go.snap | 1 - .../api_op_DeleteResourcePolicy.go.snap | 1 - .../snapshot/api_op_DeleteStream.go.snap | 1 - .../api_op_DeregisterStreamConsumer.go.snap | 1 - .../snapshot/api_op_DescribeLimits.go.snap | 1 - .../snapshot/api_op_DescribeStream.go.snap | 1 - .../api_op_DescribeStreamConsumer.go.snap | 1 - .../api_op_DescribeStreamSummary.go.snap | 1 - .../api_op_DisableEnhancedMonitoring.go.snap | 1 - .../api_op_EnableEnhancedMonitoring.go.snap | 1 - .../snapshot/api_op_GetRecords.go.snap | 1 - .../snapshot/api_op_GetResourcePolicy.go.snap | 1 - .../snapshot/api_op_GetShardIterator.go.snap | 1 - ...i_op_IncreaseStreamRetentionPeriod.go.snap | 1 - .../snapshot/api_op_ListShards.go.snap | 1 - .../api_op_ListStreamConsumers.go.snap | 1 - .../snapshot/api_op_ListStreams.go.snap | 1 - .../snapshot/api_op_ListTagsForStream.go.snap | 1 - .../snapshot/api_op_MergeShards.go.snap | 1 - .../kinesis/snapshot/api_op_PutRecord.go.snap | 1 - .../snapshot/api_op_PutRecords.go.snap | 1 - .../snapshot/api_op_PutResourcePolicy.go.snap | 1 - .../api_op_RegisterStreamConsumer.go.snap | 1 - .../api_op_RemoveTagsFromStream.go.snap | 1 - .../snapshot/api_op_SplitShard.go.snap | 1 - .../api_op_StartStreamEncryption.go.snap | 1 - .../api_op_StopStreamEncryption.go.snap | 1 - .../snapshot/api_op_SubscribeToShard.go.snap | 1 - .../snapshot/api_op_UpdateShardCount.go.snap | 1 - .../snapshot/api_op_UpdateStreamMode.go.snap | 1 - service/kinesisanalytics/api_client.go | 31 -- ...p_AddApplicationCloudWatchLoggingOption.go | 3 - .../api_op_AddApplicationInput.go | 3 - ...ApplicationInputProcessingConfiguration.go | 3 - .../api_op_AddApplicationOutput.go | 3 - ...pi_op_AddApplicationReferenceDataSource.go | 3 - .../api_op_CreateApplication.go | 3 - .../api_op_DeleteApplication.go | 3 - ...eleteApplicationCloudWatchLoggingOption.go | 3 - ...ApplicationInputProcessingConfiguration.go | 3 - .../api_op_DeleteApplicationOutput.go | 3 - ...op_DeleteApplicationReferenceDataSource.go | 3 - .../api_op_DescribeApplication.go | 3 - .../api_op_DiscoverInputSchema.go | 3 - .../api_op_ListApplications.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_StartApplication.go | 3 - .../api_op_StopApplication.go | 3 - .../kinesisanalytics/api_op_TagResource.go | 3 - .../kinesisanalytics/api_op_UntagResource.go | 3 - .../api_op_UpdateApplication.go | 3 - ...ApplicationCloudWatchLoggingOption.go.snap | 1 - .../api_op_AddApplicationInput.go.snap | 1 - ...cationInputProcessingConfiguration.go.snap | 1 - .../api_op_AddApplicationOutput.go.snap | 1 - ..._AddApplicationReferenceDataSource.go.snap | 1 - .../snapshot/api_op_CreateApplication.go.snap | 1 - .../snapshot/api_op_DeleteApplication.go.snap | 1 - ...ApplicationCloudWatchLoggingOption.go.snap | 1 - ...cationInputProcessingConfiguration.go.snap | 1 - .../api_op_DeleteApplicationOutput.go.snap | 1 - ...leteApplicationReferenceDataSource.go.snap | 1 - .../api_op_DescribeApplication.go.snap | 1 - .../api_op_DiscoverInputSchema.go.snap | 1 - .../snapshot/api_op_ListApplications.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_StartApplication.go.snap | 1 - .../snapshot/api_op_StopApplication.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateApplication.go.snap | 1 - service/kinesisanalyticsv2/api_client.go | 31 -- ...p_AddApplicationCloudWatchLoggingOption.go | 3 - .../api_op_AddApplicationInput.go | 3 - ...ApplicationInputProcessingConfiguration.go | 3 - .../api_op_AddApplicationOutput.go | 3 - ...pi_op_AddApplicationReferenceDataSource.go | 3 - .../api_op_AddApplicationVpcConfiguration.go | 3 - .../api_op_CreateApplication.go | 3 - .../api_op_CreateApplicationPresignedUrl.go | 3 - .../api_op_CreateApplicationSnapshot.go | 3 - .../api_op_DeleteApplication.go | 3 - ...eleteApplicationCloudWatchLoggingOption.go | 3 - ...ApplicationInputProcessingConfiguration.go | 3 - .../api_op_DeleteApplicationOutput.go | 3 - ...op_DeleteApplicationReferenceDataSource.go | 3 - .../api_op_DeleteApplicationSnapshot.go | 3 - ...pi_op_DeleteApplicationVpcConfiguration.go | 3 - .../api_op_DescribeApplication.go | 3 - .../api_op_DescribeApplicationOperation.go | 3 - .../api_op_DescribeApplicationSnapshot.go | 3 - .../api_op_DescribeApplicationVersion.go | 3 - .../api_op_DiscoverInputSchema.go | 3 - .../api_op_ListApplicationOperations.go | 3 - .../api_op_ListApplicationSnapshots.go | 3 - .../api_op_ListApplicationVersions.go | 3 - .../api_op_ListApplications.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_RollbackApplication.go | 3 - .../api_op_StartApplication.go | 3 - .../api_op_StopApplication.go | 3 - .../kinesisanalyticsv2/api_op_TagResource.go | 3 - .../api_op_UntagResource.go | 3 - .../api_op_UpdateApplication.go | 3 - ...dateApplicationMaintenanceConfiguration.go | 3 - ...ApplicationCloudWatchLoggingOption.go.snap | 1 - .../api_op_AddApplicationInput.go.snap | 1 - ...cationInputProcessingConfiguration.go.snap | 1 - .../api_op_AddApplicationOutput.go.snap | 1 - ..._AddApplicationReferenceDataSource.go.snap | 1 - ..._op_AddApplicationVpcConfiguration.go.snap | 1 - .../snapshot/api_op_CreateApplication.go.snap | 1 - ...i_op_CreateApplicationPresignedUrl.go.snap | 1 - .../api_op_CreateApplicationSnapshot.go.snap | 1 - .../snapshot/api_op_DeleteApplication.go.snap | 1 - ...ApplicationCloudWatchLoggingOption.go.snap | 1 - ...cationInputProcessingConfiguration.go.snap | 1 - .../api_op_DeleteApplicationOutput.go.snap | 1 - ...leteApplicationReferenceDataSource.go.snap | 1 - .../api_op_DeleteApplicationSnapshot.go.snap | 1 - ..._DeleteApplicationVpcConfiguration.go.snap | 1 - .../api_op_DescribeApplication.go.snap | 1 - ...pi_op_DescribeApplicationOperation.go.snap | 1 - ...api_op_DescribeApplicationSnapshot.go.snap | 1 - .../api_op_DescribeApplicationVersion.go.snap | 1 - .../api_op_DiscoverInputSchema.go.snap | 1 - .../api_op_ListApplicationOperations.go.snap | 1 - .../api_op_ListApplicationSnapshots.go.snap | 1 - .../api_op_ListApplicationVersions.go.snap | 1 - .../snapshot/api_op_ListApplications.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_RollbackApplication.go.snap | 1 - .../snapshot/api_op_StartApplication.go.snap | 1 - .../snapshot/api_op_StopApplication.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateApplication.go.snap | 1 - ...pplicationMaintenanceConfiguration.go.snap | 1 - service/kinesisvideo/api_client.go | 31 -- .../api_op_CreateSignalingChannel.go | 3 - service/kinesisvideo/api_op_CreateStream.go | 3 - .../api_op_DeleteEdgeConfiguration.go | 3 - .../api_op_DeleteSignalingChannel.go | 3 - service/kinesisvideo/api_op_DeleteStream.go | 3 - .../api_op_DescribeEdgeConfiguration.go | 3 - ...op_DescribeImageGenerationConfiguration.go | 3 - ..._op_DescribeMappedResourceConfiguration.go | 3 - ...pi_op_DescribeMediaStorageConfiguration.go | 3 - ...pi_op_DescribeNotificationConfiguration.go | 3 - .../api_op_DescribeSignalingChannel.go | 3 - service/kinesisvideo/api_op_DescribeStream.go | 3 - .../kinesisvideo/api_op_GetDataEndpoint.go | 3 - .../api_op_GetSignalingChannelEndpoint.go | 3 - .../api_op_ListEdgeAgentConfigurations.go | 3 - .../api_op_ListSignalingChannels.go | 3 - service/kinesisvideo/api_op_ListStreams.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../kinesisvideo/api_op_ListTagsForStream.go | 3 - .../api_op_StartEdgeConfigurationUpdate.go | 3 - service/kinesisvideo/api_op_TagResource.go | 3 - service/kinesisvideo/api_op_TagStream.go | 3 - service/kinesisvideo/api_op_UntagResource.go | 3 - service/kinesisvideo/api_op_UntagStream.go | 3 - .../api_op_UpdateDataRetention.go | 3 - ...i_op_UpdateImageGenerationConfiguration.go | 3 - .../api_op_UpdateMediaStorageConfiguration.go | 3 - .../api_op_UpdateNotificationConfiguration.go | 3 - .../api_op_UpdateSignalingChannel.go | 3 - service/kinesisvideo/api_op_UpdateStream.go | 3 - .../api_op_CreateSignalingChannel.go.snap | 1 - .../snapshot/api_op_CreateStream.go.snap | 1 - .../api_op_DeleteEdgeConfiguration.go.snap | 1 - .../api_op_DeleteSignalingChannel.go.snap | 1 - .../snapshot/api_op_DeleteStream.go.snap | 1 - .../api_op_DescribeEdgeConfiguration.go.snap | 1 - ...scribeImageGenerationConfiguration.go.snap | 1 - ...escribeMappedResourceConfiguration.go.snap | 1 - ..._DescribeMediaStorageConfiguration.go.snap | 1 - ..._DescribeNotificationConfiguration.go.snap | 1 - .../api_op_DescribeSignalingChannel.go.snap | 1 - .../snapshot/api_op_DescribeStream.go.snap | 1 - .../snapshot/api_op_GetDataEndpoint.go.snap | 1 - ...api_op_GetSignalingChannelEndpoint.go.snap | 1 - ...api_op_ListEdgeAgentConfigurations.go.snap | 1 - .../api_op_ListSignalingChannels.go.snap | 1 - .../snapshot/api_op_ListStreams.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListTagsForStream.go.snap | 1 - ...pi_op_StartEdgeConfigurationUpdate.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_TagStream.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UntagStream.go.snap | 1 - .../api_op_UpdateDataRetention.go.snap | 1 - ...UpdateImageGenerationConfiguration.go.snap | 1 - ...op_UpdateMediaStorageConfiguration.go.snap | 1 - ...op_UpdateNotificationConfiguration.go.snap | 1 - .../api_op_UpdateSignalingChannel.go.snap | 1 - .../snapshot/api_op_UpdateStream.go.snap | 1 - .../kinesisvideoarchivedmedia/api_client.go | 31 -- .../api_op_GetClip.go | 3 - .../api_op_GetDASHStreamingSessionURL.go | 3 - .../api_op_GetHLSStreamingSessionURL.go | 3 - .../api_op_GetImages.go | 3 - .../api_op_GetMediaForFragmentList.go | 3 - .../api_op_ListFragments.go | 3 - .../snapshot/api_op_GetClip.go.snap | 1 - .../api_op_GetDASHStreamingSessionURL.go.snap | 1 - .../api_op_GetHLSStreamingSessionURL.go.snap | 1 - .../snapshot/api_op_GetImages.go.snap | 1 - .../api_op_GetMediaForFragmentList.go.snap | 1 - .../snapshot/api_op_ListFragments.go.snap | 1 - service/kinesisvideomedia/api_client.go | 31 -- service/kinesisvideomedia/api_op_GetMedia.go | 3 - .../snapshot/api_op_GetMedia.go.snap | 1 - service/kinesisvideosignaling/api_client.go | 31 -- .../api_op_GetIceServerConfig.go | 3 - .../api_op_SendAlexaOfferToMaster.go | 3 - .../api_op_GetIceServerConfig.go.snap | 1 - .../api_op_SendAlexaOfferToMaster.go.snap | 1 - .../kinesisvideowebrtcstorage/api_client.go | 31 -- .../api_op_JoinStorageSession.go | 3 - .../api_op_JoinStorageSessionAsViewer.go | 3 - .../api_op_JoinStorageSession.go.snap | 1 - .../api_op_JoinStorageSessionAsViewer.go.snap | 1 - service/kms/api_client.go | 31 -- service/kms/api_op_CancelKeyDeletion.go | 3 - service/kms/api_op_ConnectCustomKeyStore.go | 3 - service/kms/api_op_CreateAlias.go | 3 - service/kms/api_op_CreateCustomKeyStore.go | 3 - service/kms/api_op_CreateGrant.go | 3 - service/kms/api_op_CreateKey.go | 3 - service/kms/api_op_Decrypt.go | 3 - service/kms/api_op_DeleteAlias.go | 3 - service/kms/api_op_DeleteCustomKeyStore.go | 3 - .../kms/api_op_DeleteImportedKeyMaterial.go | 3 - service/kms/api_op_DeriveSharedSecret.go | 3 - service/kms/api_op_DescribeCustomKeyStores.go | 3 - service/kms/api_op_DescribeKey.go | 3 - service/kms/api_op_DisableKey.go | 3 - service/kms/api_op_DisableKeyRotation.go | 3 - .../kms/api_op_DisconnectCustomKeyStore.go | 3 - service/kms/api_op_EnableKey.go | 3 - service/kms/api_op_EnableKeyRotation.go | 3 - service/kms/api_op_Encrypt.go | 3 - service/kms/api_op_GenerateDataKey.go | 3 - service/kms/api_op_GenerateDataKeyPair.go | 3 - ..._op_GenerateDataKeyPairWithoutPlaintext.go | 3 - .../api_op_GenerateDataKeyWithoutPlaintext.go | 3 - service/kms/api_op_GenerateMac.go | 3 - service/kms/api_op_GenerateRandom.go | 3 - service/kms/api_op_GetKeyPolicy.go | 3 - service/kms/api_op_GetKeyRotationStatus.go | 3 - service/kms/api_op_GetParametersForImport.go | 3 - service/kms/api_op_GetPublicKey.go | 3 - service/kms/api_op_ImportKeyMaterial.go | 3 - service/kms/api_op_ListAliases.go | 3 - service/kms/api_op_ListGrants.go | 3 - service/kms/api_op_ListKeyPolicies.go | 3 - service/kms/api_op_ListKeyRotations.go | 3 - service/kms/api_op_ListKeys.go | 3 - service/kms/api_op_ListResourceTags.go | 3 - service/kms/api_op_ListRetirableGrants.go | 3 - service/kms/api_op_PutKeyPolicy.go | 3 - service/kms/api_op_ReEncrypt.go | 3 - service/kms/api_op_ReplicateKey.go | 3 - service/kms/api_op_RetireGrant.go | 3 - service/kms/api_op_RevokeGrant.go | 3 - service/kms/api_op_RotateKeyOnDemand.go | 3 - service/kms/api_op_ScheduleKeyDeletion.go | 3 - service/kms/api_op_Sign.go | 3 - service/kms/api_op_TagResource.go | 3 - service/kms/api_op_UntagResource.go | 3 - service/kms/api_op_UpdateAlias.go | 3 - service/kms/api_op_UpdateCustomKeyStore.go | 3 - service/kms/api_op_UpdateKeyDescription.go | 3 - service/kms/api_op_UpdatePrimaryRegion.go | 3 - service/kms/api_op_Verify.go | 3 - service/kms/api_op_VerifyMac.go | 3 - .../snapshot/api_op_CancelKeyDeletion.go.snap | 1 - .../api_op_ConnectCustomKeyStore.go.snap | 1 - .../kms/snapshot/api_op_CreateAlias.go.snap | 1 - .../api_op_CreateCustomKeyStore.go.snap | 1 - .../kms/snapshot/api_op_CreateGrant.go.snap | 1 - service/kms/snapshot/api_op_CreateKey.go.snap | 1 - service/kms/snapshot/api_op_Decrypt.go.snap | 1 - .../kms/snapshot/api_op_DeleteAlias.go.snap | 1 - .../api_op_DeleteCustomKeyStore.go.snap | 1 - .../api_op_DeleteImportedKeyMaterial.go.snap | 1 - .../api_op_DeriveSharedSecret.go.snap | 1 - .../api_op_DescribeCustomKeyStores.go.snap | 1 - .../kms/snapshot/api_op_DescribeKey.go.snap | 1 - .../kms/snapshot/api_op_DisableKey.go.snap | 1 - .../api_op_DisableKeyRotation.go.snap | 1 - .../api_op_DisconnectCustomKeyStore.go.snap | 1 - service/kms/snapshot/api_op_EnableKey.go.snap | 1 - .../snapshot/api_op_EnableKeyRotation.go.snap | 1 - service/kms/snapshot/api_op_Encrypt.go.snap | 1 - .../snapshot/api_op_GenerateDataKey.go.snap | 1 - .../api_op_GenerateDataKeyPair.go.snap | 1 - ...enerateDataKeyPairWithoutPlaintext.go.snap | 1 - ...op_GenerateDataKeyWithoutPlaintext.go.snap | 1 - .../kms/snapshot/api_op_GenerateMac.go.snap | 1 - .../snapshot/api_op_GenerateRandom.go.snap | 1 - .../kms/snapshot/api_op_GetKeyPolicy.go.snap | 1 - .../api_op_GetKeyRotationStatus.go.snap | 1 - .../api_op_GetParametersForImport.go.snap | 1 - .../kms/snapshot/api_op_GetPublicKey.go.snap | 1 - .../snapshot/api_op_ImportKeyMaterial.go.snap | 1 - .../kms/snapshot/api_op_ListAliases.go.snap | 1 - .../kms/snapshot/api_op_ListGrants.go.snap | 1 - .../snapshot/api_op_ListKeyPolicies.go.snap | 1 - .../snapshot/api_op_ListKeyRotations.go.snap | 1 - service/kms/snapshot/api_op_ListKeys.go.snap | 1 - .../snapshot/api_op_ListResourceTags.go.snap | 1 - .../api_op_ListRetirableGrants.go.snap | 1 - .../kms/snapshot/api_op_PutKeyPolicy.go.snap | 1 - service/kms/snapshot/api_op_ReEncrypt.go.snap | 1 - .../kms/snapshot/api_op_ReplicateKey.go.snap | 1 - .../kms/snapshot/api_op_RetireGrant.go.snap | 1 - .../kms/snapshot/api_op_RevokeGrant.go.snap | 1 - .../snapshot/api_op_RotateKeyOnDemand.go.snap | 1 - .../api_op_ScheduleKeyDeletion.go.snap | 1 - service/kms/snapshot/api_op_Sign.go.snap | 1 - .../kms/snapshot/api_op_TagResource.go.snap | 1 - .../kms/snapshot/api_op_UntagResource.go.snap | 1 - .../kms/snapshot/api_op_UpdateAlias.go.snap | 1 - .../api_op_UpdateCustomKeyStore.go.snap | 1 - .../api_op_UpdateKeyDescription.go.snap | 1 - .../api_op_UpdatePrimaryRegion.go.snap | 1 - service/kms/snapshot/api_op_Verify.go.snap | 1 - service/kms/snapshot/api_op_VerifyMac.go.snap | 1 - service/lakeformation/api_client.go | 31 -- .../api_op_AddLFTagsToResource.go | 3 - .../api_op_AssumeDecoratedRoleWithSAML.go | 3 - .../api_op_BatchGrantPermissions.go | 3 - .../api_op_BatchRevokePermissions.go | 3 - .../lakeformation/api_op_CancelTransaction.go | 3 - .../lakeformation/api_op_CommitTransaction.go | 3 - .../api_op_CreateDataCellsFilter.go | 3 - service/lakeformation/api_op_CreateLFTag.go | 3 - .../api_op_CreateLFTagExpression.go | 3 - ...akeFormationIdentityCenterConfiguration.go | 3 - .../api_op_CreateLakeFormationOptIn.go | 3 - .../api_op_DeleteDataCellsFilter.go | 3 - service/lakeformation/api_op_DeleteLFTag.go | 3 - .../api_op_DeleteLFTagExpression.go | 3 - ...akeFormationIdentityCenterConfiguration.go | 3 - .../api_op_DeleteLakeFormationOptIn.go | 3 - .../api_op_DeleteObjectsOnCancel.go | 3 - .../api_op_DeregisterResource.go | 3 - ...akeFormationIdentityCenterConfiguration.go | 3 - .../lakeformation/api_op_DescribeResource.go | 3 - .../api_op_DescribeTransaction.go | 3 - .../lakeformation/api_op_ExtendTransaction.go | 3 - .../api_op_GetDataCellsFilter.go | 3 - .../api_op_GetDataLakePrincipal.go | 3 - .../api_op_GetDataLakeSettings.go | 3 - .../api_op_GetEffectivePermissionsForPath.go | 3 - service/lakeformation/api_op_GetLFTag.go | 3 - .../api_op_GetLFTagExpression.go | 3 - service/lakeformation/api_op_GetQueryState.go | 3 - .../api_op_GetQueryStatistics.go | 3 - .../lakeformation/api_op_GetResourceLFTags.go | 3 - .../lakeformation/api_op_GetTableObjects.go | 3 - ...op_GetTemporaryGluePartitionCredentials.go | 3 - ...api_op_GetTemporaryGlueTableCredentials.go | 3 - .../api_op_GetWorkUnitResults.go | 3 - service/lakeformation/api_op_GetWorkUnits.go | 3 - .../lakeformation/api_op_GrantPermissions.go | 3 - .../api_op_ListDataCellsFilter.go | 3 - .../api_op_ListLFTagExpressions.go | 3 - service/lakeformation/api_op_ListLFTags.go | 3 - .../api_op_ListLakeFormationOptIns.go | 3 - .../lakeformation/api_op_ListPermissions.go | 3 - service/lakeformation/api_op_ListResources.go | 3 - .../api_op_ListTableStorageOptimizers.go | 3 - .../lakeformation/api_op_ListTransactions.go | 3 - .../api_op_PutDataLakeSettings.go | 3 - .../lakeformation/api_op_RegisterResource.go | 3 - .../api_op_RemoveLFTagsFromResource.go | 3 - .../lakeformation/api_op_RevokePermissions.go | 3 - .../api_op_SearchDatabasesByLFTags.go | 3 - .../api_op_SearchTablesByLFTags.go | 3 - .../api_op_StartQueryPlanning.go | 3 - .../lakeformation/api_op_StartTransaction.go | 3 - .../api_op_UpdateDataCellsFilter.go | 3 - service/lakeformation/api_op_UpdateLFTag.go | 3 - .../api_op_UpdateLFTagExpression.go | 3 - ...akeFormationIdentityCenterConfiguration.go | 3 - .../lakeformation/api_op_UpdateResource.go | 3 - .../api_op_UpdateTableObjects.go | 3 - .../api_op_UpdateTableStorageOptimizer.go | 3 - .../api_op_AddLFTagsToResource.go.snap | 1 - ...api_op_AssumeDecoratedRoleWithSAML.go.snap | 1 - .../api_op_BatchGrantPermissions.go.snap | 1 - .../api_op_BatchRevokePermissions.go.snap | 1 - .../snapshot/api_op_CancelTransaction.go.snap | 1 - .../snapshot/api_op_CommitTransaction.go.snap | 1 - .../api_op_CreateDataCellsFilter.go.snap | 1 - .../snapshot/api_op_CreateLFTag.go.snap | 1 - .../api_op_CreateLFTagExpression.go.snap | 1 - ...rmationIdentityCenterConfiguration.go.snap | 1 - .../api_op_CreateLakeFormationOptIn.go.snap | 1 - .../api_op_DeleteDataCellsFilter.go.snap | 1 - .../snapshot/api_op_DeleteLFTag.go.snap | 1 - .../api_op_DeleteLFTagExpression.go.snap | 1 - ...rmationIdentityCenterConfiguration.go.snap | 1 - .../api_op_DeleteLakeFormationOptIn.go.snap | 1 - .../api_op_DeleteObjectsOnCancel.go.snap | 1 - .../api_op_DeregisterResource.go.snap | 1 - ...rmationIdentityCenterConfiguration.go.snap | 1 - .../snapshot/api_op_DescribeResource.go.snap | 1 - .../api_op_DescribeTransaction.go.snap | 1 - .../snapshot/api_op_ExtendTransaction.go.snap | 1 - .../api_op_GetDataCellsFilter.go.snap | 1 - .../api_op_GetDataLakePrincipal.go.snap | 1 - .../api_op_GetDataLakeSettings.go.snap | 1 - ..._op_GetEffectivePermissionsForPath.go.snap | 1 - .../snapshot/api_op_GetLFTag.go.snap | 1 - .../api_op_GetLFTagExpression.go.snap | 1 - .../snapshot/api_op_GetQueryState.go.snap | 1 - .../api_op_GetQueryStatistics.go.snap | 1 - .../snapshot/api_op_GetResourceLFTags.go.snap | 1 - .../snapshot/api_op_GetTableObjects.go.snap | 1 - ...tTemporaryGluePartitionCredentials.go.snap | 1 - ...p_GetTemporaryGlueTableCredentials.go.snap | 1 - .../api_op_GetWorkUnitResults.go.snap | 1 - .../snapshot/api_op_GetWorkUnits.go.snap | 1 - .../snapshot/api_op_GrantPermissions.go.snap | 1 - .../api_op_ListDataCellsFilter.go.snap | 1 - .../api_op_ListLFTagExpressions.go.snap | 1 - .../snapshot/api_op_ListLFTags.go.snap | 1 - .../api_op_ListLakeFormationOptIns.go.snap | 1 - .../snapshot/api_op_ListPermissions.go.snap | 1 - .../snapshot/api_op_ListResources.go.snap | 1 - .../api_op_ListTableStorageOptimizers.go.snap | 1 - .../snapshot/api_op_ListTransactions.go.snap | 1 - .../api_op_PutDataLakeSettings.go.snap | 1 - .../snapshot/api_op_RegisterResource.go.snap | 1 - .../api_op_RemoveLFTagsFromResource.go.snap | 1 - .../snapshot/api_op_RevokePermissions.go.snap | 1 - .../api_op_SearchDatabasesByLFTags.go.snap | 1 - .../api_op_SearchTablesByLFTags.go.snap | 1 - .../api_op_StartQueryPlanning.go.snap | 1 - .../snapshot/api_op_StartTransaction.go.snap | 1 - .../api_op_UpdateDataCellsFilter.go.snap | 1 - .../snapshot/api_op_UpdateLFTag.go.snap | 1 - .../api_op_UpdateLFTagExpression.go.snap | 1 - ...rmationIdentityCenterConfiguration.go.snap | 1 - .../snapshot/api_op_UpdateResource.go.snap | 1 - .../api_op_UpdateTableObjects.go.snap | 1 - ...api_op_UpdateTableStorageOptimizer.go.snap | 1 - service/lambda/api_client.go | 31 -- .../api_op_AddLayerVersionPermission.go | 3 - service/lambda/api_op_AddPermission.go | 3 - service/lambda/api_op_CreateAlias.go | 3 - .../lambda/api_op_CreateCodeSigningConfig.go | 3 - .../lambda/api_op_CreateEventSourceMapping.go | 3 - service/lambda/api_op_CreateFunction.go | 3 - .../lambda/api_op_CreateFunctionUrlConfig.go | 3 - service/lambda/api_op_DeleteAlias.go | 3 - .../lambda/api_op_DeleteCodeSigningConfig.go | 3 - .../lambda/api_op_DeleteEventSourceMapping.go | 3 - service/lambda/api_op_DeleteFunction.go | 3 - .../api_op_DeleteFunctionCodeSigningConfig.go | 3 - .../api_op_DeleteFunctionConcurrency.go | 3 - .../api_op_DeleteFunctionEventInvokeConfig.go | 3 - .../lambda/api_op_DeleteFunctionUrlConfig.go | 3 - service/lambda/api_op_DeleteLayerVersion.go | 3 - ...i_op_DeleteProvisionedConcurrencyConfig.go | 3 - service/lambda/api_op_GetAccountSettings.go | 3 - service/lambda/api_op_GetAlias.go | 3 - service/lambda/api_op_GetCodeSigningConfig.go | 3 - .../lambda/api_op_GetEventSourceMapping.go | 3 - service/lambda/api_op_GetFunction.go | 3 - .../api_op_GetFunctionCodeSigningConfig.go | 3 - .../lambda/api_op_GetFunctionConcurrency.go | 3 - .../lambda/api_op_GetFunctionConfiguration.go | 3 - .../api_op_GetFunctionEventInvokeConfig.go | 3 - .../api_op_GetFunctionRecursionConfig.go | 3 - service/lambda/api_op_GetFunctionUrlConfig.go | 3 - service/lambda/api_op_GetLayerVersion.go | 3 - service/lambda/api_op_GetLayerVersionByArn.go | 3 - .../lambda/api_op_GetLayerVersionPolicy.go | 3 - service/lambda/api_op_GetPolicy.go | 3 - .../api_op_GetProvisionedConcurrencyConfig.go | 3 - .../api_op_GetRuntimeManagementConfig.go | 3 - service/lambda/api_op_Invoke.go | 3 - service/lambda/api_op_InvokeAsync.go | 3 - .../lambda/api_op_InvokeWithResponseStream.go | 3 - service/lambda/api_op_ListAliases.go | 3 - .../lambda/api_op_ListCodeSigningConfigs.go | 3 - .../lambda/api_op_ListEventSourceMappings.go | 3 - .../api_op_ListFunctionEventInvokeConfigs.go | 3 - .../lambda/api_op_ListFunctionUrlConfigs.go | 3 - service/lambda/api_op_ListFunctions.go | 3 - ...api_op_ListFunctionsByCodeSigningConfig.go | 3 - service/lambda/api_op_ListLayerVersions.go | 3 - service/lambda/api_op_ListLayers.go | 3 - ...pi_op_ListProvisionedConcurrencyConfigs.go | 3 - service/lambda/api_op_ListTags.go | 3 - .../lambda/api_op_ListVersionsByFunction.go | 3 - service/lambda/api_op_PublishLayerVersion.go | 3 - service/lambda/api_op_PublishVersion.go | 3 - .../api_op_PutFunctionCodeSigningConfig.go | 3 - .../lambda/api_op_PutFunctionConcurrency.go | 3 - .../api_op_PutFunctionEventInvokeConfig.go | 3 - .../api_op_PutFunctionRecursionConfig.go | 3 - .../api_op_PutProvisionedConcurrencyConfig.go | 3 - .../api_op_PutRuntimeManagementConfig.go | 3 - .../api_op_RemoveLayerVersionPermission.go | 3 - service/lambda/api_op_RemovePermission.go | 3 - service/lambda/api_op_TagResource.go | 3 - service/lambda/api_op_UntagResource.go | 3 - service/lambda/api_op_UpdateAlias.go | 3 - .../lambda/api_op_UpdateCodeSigningConfig.go | 3 - .../lambda/api_op_UpdateEventSourceMapping.go | 3 - service/lambda/api_op_UpdateFunctionCode.go | 3 - .../api_op_UpdateFunctionConfiguration.go | 3 - .../api_op_UpdateFunctionEventInvokeConfig.go | 3 - .../lambda/api_op_UpdateFunctionUrlConfig.go | 3 - .../api_op_AddLayerVersionPermission.go.snap | 1 - .../snapshot/api_op_AddPermission.go.snap | 1 - .../snapshot/api_op_CreateAlias.go.snap | 1 - .../api_op_CreateCodeSigningConfig.go.snap | 1 - .../api_op_CreateEventSourceMapping.go.snap | 1 - .../snapshot/api_op_CreateFunction.go.snap | 1 - .../api_op_CreateFunctionUrlConfig.go.snap | 1 - .../snapshot/api_op_DeleteAlias.go.snap | 1 - .../api_op_DeleteCodeSigningConfig.go.snap | 1 - .../api_op_DeleteEventSourceMapping.go.snap | 1 - .../snapshot/api_op_DeleteFunction.go.snap | 1 - ...op_DeleteFunctionCodeSigningConfig.go.snap | 1 - .../api_op_DeleteFunctionConcurrency.go.snap | 1 - ...op_DeleteFunctionEventInvokeConfig.go.snap | 1 - .../api_op_DeleteFunctionUrlConfig.go.snap | 1 - .../api_op_DeleteLayerVersion.go.snap | 1 - ...DeleteProvisionedConcurrencyConfig.go.snap | 1 - .../api_op_GetAccountSettings.go.snap | 1 - .../lambda/snapshot/api_op_GetAlias.go.snap | 1 - .../api_op_GetCodeSigningConfig.go.snap | 1 - .../api_op_GetEventSourceMapping.go.snap | 1 - .../snapshot/api_op_GetFunction.go.snap | 1 - ...pi_op_GetFunctionCodeSigningConfig.go.snap | 1 - .../api_op_GetFunctionConcurrency.go.snap | 1 - .../api_op_GetFunctionConfiguration.go.snap | 1 - ...pi_op_GetFunctionEventInvokeConfig.go.snap | 1 - .../api_op_GetFunctionRecursionConfig.go.snap | 1 - .../api_op_GetFunctionUrlConfig.go.snap | 1 - .../snapshot/api_op_GetLayerVersion.go.snap | 1 - .../api_op_GetLayerVersionByArn.go.snap | 1 - .../api_op_GetLayerVersionPolicy.go.snap | 1 - .../lambda/snapshot/api_op_GetPolicy.go.snap | 1 - ...op_GetProvisionedConcurrencyConfig.go.snap | 1 - .../api_op_GetRuntimeManagementConfig.go.snap | 1 - service/lambda/snapshot/api_op_Invoke.go.snap | 1 - .../snapshot/api_op_InvokeAsync.go.snap | 1 - .../api_op_InvokeWithResponseStream.go.snap | 1 - .../snapshot/api_op_ListAliases.go.snap | 1 - .../api_op_ListCodeSigningConfigs.go.snap | 1 - .../api_op_ListEventSourceMappings.go.snap | 1 - ..._op_ListFunctionEventInvokeConfigs.go.snap | 1 - .../api_op_ListFunctionUrlConfigs.go.snap | 1 - .../snapshot/api_op_ListFunctions.go.snap | 1 - ...p_ListFunctionsByCodeSigningConfig.go.snap | 1 - .../snapshot/api_op_ListLayerVersions.go.snap | 1 - .../lambda/snapshot/api_op_ListLayers.go.snap | 1 - ..._ListProvisionedConcurrencyConfigs.go.snap | 1 - .../lambda/snapshot/api_op_ListTags.go.snap | 1 - .../api_op_ListVersionsByFunction.go.snap | 1 - .../api_op_PublishLayerVersion.go.snap | 1 - .../snapshot/api_op_PublishVersion.go.snap | 1 - ...pi_op_PutFunctionCodeSigningConfig.go.snap | 1 - .../api_op_PutFunctionConcurrency.go.snap | 1 - ...pi_op_PutFunctionEventInvokeConfig.go.snap | 1 - .../api_op_PutFunctionRecursionConfig.go.snap | 1 - ...op_PutProvisionedConcurrencyConfig.go.snap | 1 - .../api_op_PutRuntimeManagementConfig.go.snap | 1 - ...pi_op_RemoveLayerVersionPermission.go.snap | 1 - .../snapshot/api_op_RemovePermission.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateAlias.go.snap | 1 - .../api_op_UpdateCodeSigningConfig.go.snap | 1 - .../api_op_UpdateEventSourceMapping.go.snap | 1 - .../api_op_UpdateFunctionCode.go.snap | 1 - ...api_op_UpdateFunctionConfiguration.go.snap | 1 - ...op_UpdateFunctionEventInvokeConfig.go.snap | 1 - .../api_op_UpdateFunctionUrlConfig.go.snap | 1 - service/launchwizard/api_client.go | 31 -- .../launchwizard/api_op_CreateDeployment.go | 3 - .../launchwizard/api_op_DeleteDeployment.go | 3 - service/launchwizard/api_op_GetDeployment.go | 3 - service/launchwizard/api_op_GetWorkload.go | 3 - .../api_op_GetWorkloadDeploymentPattern.go | 3 - .../api_op_ListDeploymentEvents.go | 3 - .../launchwizard/api_op_ListDeployments.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_ListWorkloadDeploymentPatterns.go | 3 - service/launchwizard/api_op_ListWorkloads.go | 3 - service/launchwizard/api_op_TagResource.go | 3 - service/launchwizard/api_op_UntagResource.go | 3 - .../snapshot/api_op_CreateDeployment.go.snap | 1 - .../snapshot/api_op_DeleteDeployment.go.snap | 1 - .../snapshot/api_op_GetDeployment.go.snap | 1 - .../snapshot/api_op_GetWorkload.go.snap | 1 - ...pi_op_GetWorkloadDeploymentPattern.go.snap | 1 - .../api_op_ListDeploymentEvents.go.snap | 1 - .../snapshot/api_op_ListDeployments.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - ..._op_ListWorkloadDeploymentPatterns.go.snap | 1 - .../snapshot/api_op_ListWorkloads.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - service/lexmodelbuildingservice/api_client.go | 31 -- .../api_op_CreateBotVersion.go | 3 - .../api_op_CreateIntentVersion.go | 3 - .../api_op_CreateSlotTypeVersion.go | 3 - .../api_op_DeleteBot.go | 3 - .../api_op_DeleteBotAlias.go | 3 - .../api_op_DeleteBotChannelAssociation.go | 3 - .../api_op_DeleteBotVersion.go | 3 - .../api_op_DeleteIntent.go | 3 - .../api_op_DeleteIntentVersion.go | 3 - .../api_op_DeleteSlotType.go | 3 - .../api_op_DeleteSlotTypeVersion.go | 3 - .../api_op_DeleteUtterances.go | 3 - .../lexmodelbuildingservice/api_op_GetBot.go | 3 - .../api_op_GetBotAlias.go | 3 - .../api_op_GetBotAliases.go | 3 - .../api_op_GetBotChannelAssociation.go | 3 - .../api_op_GetBotChannelAssociations.go | 3 - .../api_op_GetBotVersions.go | 3 - .../lexmodelbuildingservice/api_op_GetBots.go | 3 - .../api_op_GetBuiltinIntent.go | 3 - .../api_op_GetBuiltinIntents.go | 3 - .../api_op_GetBuiltinSlotTypes.go | 3 - .../api_op_GetExport.go | 3 - .../api_op_GetImport.go | 3 - .../api_op_GetIntent.go | 3 - .../api_op_GetIntentVersions.go | 3 - .../api_op_GetIntents.go | 3 - .../api_op_GetMigration.go | 3 - .../api_op_GetMigrations.go | 3 - .../api_op_GetSlotType.go | 3 - .../api_op_GetSlotTypeVersions.go | 3 - .../api_op_GetSlotTypes.go | 3 - .../api_op_GetUtterancesView.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../lexmodelbuildingservice/api_op_PutBot.go | 3 - .../api_op_PutBotAlias.go | 3 - .../api_op_PutIntent.go | 3 - .../api_op_PutSlotType.go | 3 - .../api_op_StartImport.go | 3 - .../api_op_StartMigration.go | 3 - .../api_op_TagResource.go | 3 - .../api_op_UntagResource.go | 3 - .../snapshot/api_op_CreateBotVersion.go.snap | 1 - .../api_op_CreateIntentVersion.go.snap | 1 - .../api_op_CreateSlotTypeVersion.go.snap | 1 - .../snapshot/api_op_DeleteBot.go.snap | 1 - .../snapshot/api_op_DeleteBotAlias.go.snap | 1 - ...api_op_DeleteBotChannelAssociation.go.snap | 1 - .../snapshot/api_op_DeleteBotVersion.go.snap | 1 - .../snapshot/api_op_DeleteIntent.go.snap | 1 - .../api_op_DeleteIntentVersion.go.snap | 1 - .../snapshot/api_op_DeleteSlotType.go.snap | 1 - .../api_op_DeleteSlotTypeVersion.go.snap | 1 - .../snapshot/api_op_DeleteUtterances.go.snap | 1 - .../snapshot/api_op_GetBot.go.snap | 1 - .../snapshot/api_op_GetBotAlias.go.snap | 1 - .../snapshot/api_op_GetBotAliases.go.snap | 1 - .../api_op_GetBotChannelAssociation.go.snap | 1 - .../api_op_GetBotChannelAssociations.go.snap | 1 - .../snapshot/api_op_GetBotVersions.go.snap | 1 - .../snapshot/api_op_GetBots.go.snap | 1 - .../snapshot/api_op_GetBuiltinIntent.go.snap | 1 - .../snapshot/api_op_GetBuiltinIntents.go.snap | 1 - .../api_op_GetBuiltinSlotTypes.go.snap | 1 - .../snapshot/api_op_GetExport.go.snap | 1 - .../snapshot/api_op_GetImport.go.snap | 1 - .../snapshot/api_op_GetIntent.go.snap | 1 - .../snapshot/api_op_GetIntentVersions.go.snap | 1 - .../snapshot/api_op_GetIntents.go.snap | 1 - .../snapshot/api_op_GetMigration.go.snap | 1 - .../snapshot/api_op_GetMigrations.go.snap | 1 - .../snapshot/api_op_GetSlotType.go.snap | 1 - .../api_op_GetSlotTypeVersions.go.snap | 1 - .../snapshot/api_op_GetSlotTypes.go.snap | 1 - .../snapshot/api_op_GetUtterancesView.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_PutBot.go.snap | 1 - .../snapshot/api_op_PutBotAlias.go.snap | 1 - .../snapshot/api_op_PutIntent.go.snap | 1 - .../snapshot/api_op_PutSlotType.go.snap | 1 - .../snapshot/api_op_StartImport.go.snap | 1 - .../snapshot/api_op_StartMigration.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - service/lexmodelsv2/api_client.go | 31 -- .../api_op_BatchCreateCustomVocabularyItem.go | 3 - .../api_op_BatchDeleteCustomVocabularyItem.go | 3 - .../api_op_BatchUpdateCustomVocabularyItem.go | 3 - service/lexmodelsv2/api_op_BuildBotLocale.go | 3 - service/lexmodelsv2/api_op_CreateBot.go | 3 - service/lexmodelsv2/api_op_CreateBotAlias.go | 3 - service/lexmodelsv2/api_op_CreateBotLocale.go | 3 - .../lexmodelsv2/api_op_CreateBotReplica.go | 3 - .../lexmodelsv2/api_op_CreateBotVersion.go | 3 - service/lexmodelsv2/api_op_CreateExport.go | 3 - service/lexmodelsv2/api_op_CreateIntent.go | 3 - .../api_op_CreateResourcePolicy.go | 3 - .../api_op_CreateResourcePolicyStatement.go | 3 - service/lexmodelsv2/api_op_CreateSlot.go | 3 - service/lexmodelsv2/api_op_CreateSlotType.go | 3 - .../api_op_CreateTestSetDiscrepancyReport.go | 3 - service/lexmodelsv2/api_op_CreateUploadUrl.go | 3 - service/lexmodelsv2/api_op_DeleteBot.go | 3 - service/lexmodelsv2/api_op_DeleteBotAlias.go | 3 - service/lexmodelsv2/api_op_DeleteBotLocale.go | 3 - .../lexmodelsv2/api_op_DeleteBotReplica.go | 3 - .../lexmodelsv2/api_op_DeleteBotVersion.go | 3 - .../api_op_DeleteCustomVocabulary.go | 3 - service/lexmodelsv2/api_op_DeleteExport.go | 3 - service/lexmodelsv2/api_op_DeleteImport.go | 3 - service/lexmodelsv2/api_op_DeleteIntent.go | 3 - .../api_op_DeleteResourcePolicy.go | 3 - .../api_op_DeleteResourcePolicyStatement.go | 3 - service/lexmodelsv2/api_op_DeleteSlot.go | 3 - service/lexmodelsv2/api_op_DeleteSlotType.go | 3 - service/lexmodelsv2/api_op_DeleteTestSet.go | 3 - .../lexmodelsv2/api_op_DeleteUtterances.go | 3 - service/lexmodelsv2/api_op_DescribeBot.go | 3 - .../lexmodelsv2/api_op_DescribeBotAlias.go | 3 - .../lexmodelsv2/api_op_DescribeBotLocale.go | 3 - .../api_op_DescribeBotRecommendation.go | 3 - .../lexmodelsv2/api_op_DescribeBotReplica.go | 3 - .../api_op_DescribeBotResourceGeneration.go | 3 - .../lexmodelsv2/api_op_DescribeBotVersion.go | 3 - ...api_op_DescribeCustomVocabularyMetadata.go | 3 - service/lexmodelsv2/api_op_DescribeExport.go | 3 - service/lexmodelsv2/api_op_DescribeImport.go | 3 - service/lexmodelsv2/api_op_DescribeIntent.go | 3 - .../api_op_DescribeResourcePolicy.go | 3 - service/lexmodelsv2/api_op_DescribeSlot.go | 3 - .../lexmodelsv2/api_op_DescribeSlotType.go | 3 - .../api_op_DescribeTestExecution.go | 3 - service/lexmodelsv2/api_op_DescribeTestSet.go | 3 - ...api_op_DescribeTestSetDiscrepancyReport.go | 3 - .../api_op_DescribeTestSetGeneration.go | 3 - .../lexmodelsv2/api_op_GenerateBotElement.go | 3 - .../api_op_GetTestExecutionArtifactsUrl.go | 3 - .../api_op_ListAggregatedUtterances.go | 3 - .../api_op_ListBotAliasReplicas.go | 3 - service/lexmodelsv2/api_op_ListBotAliases.go | 3 - service/lexmodelsv2/api_op_ListBotLocales.go | 3 - .../api_op_ListBotRecommendations.go | 3 - service/lexmodelsv2/api_op_ListBotReplicas.go | 3 - .../api_op_ListBotResourceGenerations.go | 3 - .../api_op_ListBotVersionReplicas.go | 3 - service/lexmodelsv2/api_op_ListBotVersions.go | 3 - service/lexmodelsv2/api_op_ListBots.go | 3 - .../lexmodelsv2/api_op_ListBuiltInIntents.go | 3 - .../api_op_ListBuiltInSlotTypes.go | 3 - .../api_op_ListCustomVocabularyItems.go | 3 - service/lexmodelsv2/api_op_ListExports.go | 3 - service/lexmodelsv2/api_op_ListImports.go | 3 - .../lexmodelsv2/api_op_ListIntentMetrics.go | 3 - service/lexmodelsv2/api_op_ListIntentPaths.go | 3 - .../api_op_ListIntentStageMetrics.go | 3 - service/lexmodelsv2/api_op_ListIntents.go | 3 - .../api_op_ListRecommendedIntents.go | 3 - .../api_op_ListSessionAnalyticsData.go | 3 - .../lexmodelsv2/api_op_ListSessionMetrics.go | 3 - service/lexmodelsv2/api_op_ListSlotTypes.go | 3 - service/lexmodelsv2/api_op_ListSlots.go | 3 - .../lexmodelsv2/api_op_ListTagsForResource.go | 3 - .../api_op_ListTestExecutionResultItems.go | 3 - .../lexmodelsv2/api_op_ListTestExecutions.go | 3 - .../lexmodelsv2/api_op_ListTestSetRecords.go | 3 - service/lexmodelsv2/api_op_ListTestSets.go | 3 - .../api_op_ListUtteranceAnalyticsData.go | 3 - .../api_op_ListUtteranceMetrics.go | 3 - .../api_op_SearchAssociatedTranscripts.go | 3 - .../api_op_StartBotRecommendation.go | 3 - .../api_op_StartBotResourceGeneration.go | 3 - service/lexmodelsv2/api_op_StartImport.go | 3 - .../lexmodelsv2/api_op_StartTestExecution.go | 3 - .../api_op_StartTestSetGeneration.go | 3 - .../api_op_StopBotRecommendation.go | 3 - service/lexmodelsv2/api_op_TagResource.go | 3 - service/lexmodelsv2/api_op_UntagResource.go | 3 - service/lexmodelsv2/api_op_UpdateBot.go | 3 - service/lexmodelsv2/api_op_UpdateBotAlias.go | 3 - service/lexmodelsv2/api_op_UpdateBotLocale.go | 3 - .../api_op_UpdateBotRecommendation.go | 3 - service/lexmodelsv2/api_op_UpdateExport.go | 3 - service/lexmodelsv2/api_op_UpdateIntent.go | 3 - .../api_op_UpdateResourcePolicy.go | 3 - service/lexmodelsv2/api_op_UpdateSlot.go | 3 - service/lexmodelsv2/api_op_UpdateSlotType.go | 3 - service/lexmodelsv2/api_op_UpdateTestSet.go | 3 - ...op_BatchCreateCustomVocabularyItem.go.snap | 1 - ...op_BatchDeleteCustomVocabularyItem.go.snap | 1 - ...op_BatchUpdateCustomVocabularyItem.go.snap | 1 - .../snapshot/api_op_BuildBotLocale.go.snap | 1 - .../snapshot/api_op_CreateBot.go.snap | 1 - .../snapshot/api_op_CreateBotAlias.go.snap | 1 - .../snapshot/api_op_CreateBotLocale.go.snap | 1 - .../snapshot/api_op_CreateBotReplica.go.snap | 1 - .../snapshot/api_op_CreateBotVersion.go.snap | 1 - .../snapshot/api_op_CreateExport.go.snap | 1 - .../snapshot/api_op_CreateIntent.go.snap | 1 - .../api_op_CreateResourcePolicy.go.snap | 1 - ...i_op_CreateResourcePolicyStatement.go.snap | 1 - .../snapshot/api_op_CreateSlot.go.snap | 1 - .../snapshot/api_op_CreateSlotType.go.snap | 1 - ..._op_CreateTestSetDiscrepancyReport.go.snap | 1 - .../snapshot/api_op_CreateUploadUrl.go.snap | 1 - .../snapshot/api_op_DeleteBot.go.snap | 1 - .../snapshot/api_op_DeleteBotAlias.go.snap | 1 - .../snapshot/api_op_DeleteBotLocale.go.snap | 1 - .../snapshot/api_op_DeleteBotReplica.go.snap | 1 - .../snapshot/api_op_DeleteBotVersion.go.snap | 1 - .../api_op_DeleteCustomVocabulary.go.snap | 1 - .../snapshot/api_op_DeleteExport.go.snap | 1 - .../snapshot/api_op_DeleteImport.go.snap | 1 - .../snapshot/api_op_DeleteIntent.go.snap | 1 - .../api_op_DeleteResourcePolicy.go.snap | 1 - ...i_op_DeleteResourcePolicyStatement.go.snap | 1 - .../snapshot/api_op_DeleteSlot.go.snap | 1 - .../snapshot/api_op_DeleteSlotType.go.snap | 1 - .../snapshot/api_op_DeleteTestSet.go.snap | 1 - .../snapshot/api_op_DeleteUtterances.go.snap | 1 - .../snapshot/api_op_DescribeBot.go.snap | 1 - .../snapshot/api_op_DescribeBotAlias.go.snap | 1 - .../snapshot/api_op_DescribeBotLocale.go.snap | 1 - .../api_op_DescribeBotRecommendation.go.snap | 1 - .../api_op_DescribeBotReplica.go.snap | 1 - ...i_op_DescribeBotResourceGeneration.go.snap | 1 - .../api_op_DescribeBotVersion.go.snap | 1 - ...p_DescribeCustomVocabularyMetadata.go.snap | 1 - .../snapshot/api_op_DescribeExport.go.snap | 1 - .../snapshot/api_op_DescribeImport.go.snap | 1 - .../snapshot/api_op_DescribeIntent.go.snap | 1 - .../api_op_DescribeResourcePolicy.go.snap | 1 - .../snapshot/api_op_DescribeSlot.go.snap | 1 - .../snapshot/api_op_DescribeSlotType.go.snap | 1 - .../api_op_DescribeTestExecution.go.snap | 1 - .../snapshot/api_op_DescribeTestSet.go.snap | 1 - ...p_DescribeTestSetDiscrepancyReport.go.snap | 1 - .../api_op_DescribeTestSetGeneration.go.snap | 1 - .../api_op_GenerateBotElement.go.snap | 1 - ...pi_op_GetTestExecutionArtifactsUrl.go.snap | 1 - .../api_op_ListAggregatedUtterances.go.snap | 1 - .../api_op_ListBotAliasReplicas.go.snap | 1 - .../snapshot/api_op_ListBotAliases.go.snap | 1 - .../snapshot/api_op_ListBotLocales.go.snap | 1 - .../api_op_ListBotRecommendations.go.snap | 1 - .../snapshot/api_op_ListBotReplicas.go.snap | 1 - .../api_op_ListBotResourceGenerations.go.snap | 1 - .../api_op_ListBotVersionReplicas.go.snap | 1 - .../snapshot/api_op_ListBotVersions.go.snap | 1 - .../snapshot/api_op_ListBots.go.snap | 1 - .../api_op_ListBuiltInIntents.go.snap | 1 - .../api_op_ListBuiltInSlotTypes.go.snap | 1 - .../api_op_ListCustomVocabularyItems.go.snap | 1 - .../snapshot/api_op_ListExports.go.snap | 1 - .../snapshot/api_op_ListImports.go.snap | 1 - .../snapshot/api_op_ListIntentMetrics.go.snap | 1 - .../snapshot/api_op_ListIntentPaths.go.snap | 1 - .../api_op_ListIntentStageMetrics.go.snap | 1 - .../snapshot/api_op_ListIntents.go.snap | 1 - .../api_op_ListRecommendedIntents.go.snap | 1 - .../api_op_ListSessionAnalyticsData.go.snap | 1 - .../api_op_ListSessionMetrics.go.snap | 1 - .../snapshot/api_op_ListSlotTypes.go.snap | 1 - .../snapshot/api_op_ListSlots.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - ...pi_op_ListTestExecutionResultItems.go.snap | 1 - .../api_op_ListTestExecutions.go.snap | 1 - .../api_op_ListTestSetRecords.go.snap | 1 - .../snapshot/api_op_ListTestSets.go.snap | 1 - .../api_op_ListUtteranceAnalyticsData.go.snap | 1 - .../api_op_ListUtteranceMetrics.go.snap | 1 - ...api_op_SearchAssociatedTranscripts.go.snap | 1 - .../api_op_StartBotRecommendation.go.snap | 1 - .../api_op_StartBotResourceGeneration.go.snap | 1 - .../snapshot/api_op_StartImport.go.snap | 1 - .../api_op_StartTestExecution.go.snap | 1 - .../api_op_StartTestSetGeneration.go.snap | 1 - .../api_op_StopBotRecommendation.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateBot.go.snap | 1 - .../snapshot/api_op_UpdateBotAlias.go.snap | 1 - .../snapshot/api_op_UpdateBotLocale.go.snap | 1 - .../api_op_UpdateBotRecommendation.go.snap | 1 - .../snapshot/api_op_UpdateExport.go.snap | 1 - .../snapshot/api_op_UpdateIntent.go.snap | 1 - .../api_op_UpdateResourcePolicy.go.snap | 1 - .../snapshot/api_op_UpdateSlot.go.snap | 1 - .../snapshot/api_op_UpdateSlotType.go.snap | 1 - .../snapshot/api_op_UpdateTestSet.go.snap | 1 - service/lexruntimeservice/api_client.go | 31 -- .../lexruntimeservice/api_op_DeleteSession.go | 3 - .../lexruntimeservice/api_op_GetSession.go | 3 - .../lexruntimeservice/api_op_PostContent.go | 3 - service/lexruntimeservice/api_op_PostText.go | 3 - .../lexruntimeservice/api_op_PutSession.go | 3 - .../snapshot/api_op_DeleteSession.go.snap | 1 - .../snapshot/api_op_GetSession.go.snap | 1 - .../snapshot/api_op_PostContent.go.snap | 1 - .../snapshot/api_op_PostText.go.snap | 1 - .../snapshot/api_op_PutSession.go.snap | 1 - service/lexruntimev2/api_client.go | 31 -- service/lexruntimev2/api_op_DeleteSession.go | 3 - service/lexruntimev2/api_op_GetSession.go | 3 - service/lexruntimev2/api_op_PutSession.go | 3 - service/lexruntimev2/api_op_RecognizeText.go | 3 - .../lexruntimev2/api_op_RecognizeUtterance.go | 3 - .../lexruntimev2/api_op_StartConversation.go | 3 - .../snapshot/api_op_DeleteSession.go.snap | 1 - .../snapshot/api_op_GetSession.go.snap | 1 - .../snapshot/api_op_PutSession.go.snap | 1 - .../snapshot/api_op_RecognizeText.go.snap | 1 - .../api_op_RecognizeUtterance.go.snap | 1 - .../snapshot/api_op_StartConversation.go.snap | 1 - service/licensemanager/api_client.go | 31 -- service/licensemanager/api_op_AcceptGrant.go | 3 - .../licensemanager/api_op_CheckInLicense.go | 3 - .../api_op_CheckoutBorrowLicense.go | 3 - .../licensemanager/api_op_CheckoutLicense.go | 3 - service/licensemanager/api_op_CreateGrant.go | 3 - .../api_op_CreateGrantVersion.go | 3 - .../licensemanager/api_op_CreateLicense.go | 3 - .../api_op_CreateLicenseConfiguration.go | 3 - ..._CreateLicenseConversionTaskForResource.go | 3 - ..._op_CreateLicenseManagerReportGenerator.go | 3 - .../api_op_CreateLicenseVersion.go | 3 - service/licensemanager/api_op_CreateToken.go | 3 - service/licensemanager/api_op_DeleteGrant.go | 3 - .../licensemanager/api_op_DeleteLicense.go | 3 - .../api_op_DeleteLicenseConfiguration.go | 3 - ..._op_DeleteLicenseManagerReportGenerator.go | 3 - service/licensemanager/api_op_DeleteToken.go | 3 - .../api_op_ExtendLicenseConsumption.go | 3 - .../licensemanager/api_op_GetAccessToken.go | 3 - service/licensemanager/api_op_GetGrant.go | 3 - service/licensemanager/api_op_GetLicense.go | 3 - .../api_op_GetLicenseConfiguration.go | 3 - .../api_op_GetLicenseConversionTask.go | 3 - ...api_op_GetLicenseManagerReportGenerator.go | 3 - .../licensemanager/api_op_GetLicenseUsage.go | 3 - .../api_op_GetServiceSettings.go | 3 - ...ListAssociationsForLicenseConfiguration.go | 3 - .../api_op_ListDistributedGrants.go | 3 - ...iluresForLicenseConfigurationOperations.go | 3 - .../api_op_ListLicenseConfigurations.go | 3 - .../api_op_ListLicenseConversionTasks.go | 3 - ...i_op_ListLicenseManagerReportGenerators.go | 3 - ...op_ListLicenseSpecificationsForResource.go | 3 - .../api_op_ListLicenseVersions.go | 3 - service/licensemanager/api_op_ListLicenses.go | 3 - .../api_op_ListReceivedGrants.go | 3 - ...pi_op_ListReceivedGrantsForOrganization.go | 3 - .../api_op_ListReceivedLicenses.go | 3 - ..._op_ListReceivedLicensesForOrganization.go | 3 - .../api_op_ListResourceInventory.go | 3 - .../api_op_ListTagsForResource.go | 3 - service/licensemanager/api_op_ListTokens.go | 3 - ...api_op_ListUsageForLicenseConfiguration.go | 3 - service/licensemanager/api_op_RejectGrant.go | 3 - service/licensemanager/api_op_TagResource.go | 3 - .../licensemanager/api_op_UntagResource.go | 3 - .../api_op_UpdateLicenseConfiguration.go | 3 - ..._op_UpdateLicenseManagerReportGenerator.go | 3 - ..._UpdateLicenseSpecificationsForResource.go | 3 - .../api_op_UpdateServiceSettings.go | 3 - .../snapshot/api_op_AcceptGrant.go.snap | 1 - .../snapshot/api_op_CheckInLicense.go.snap | 1 - .../api_op_CheckoutBorrowLicense.go.snap | 1 - .../snapshot/api_op_CheckoutLicense.go.snap | 1 - .../snapshot/api_op_CreateGrant.go.snap | 1 - .../api_op_CreateGrantVersion.go.snap | 1 - .../snapshot/api_op_CreateLicense.go.snap | 1 - .../api_op_CreateLicenseConfiguration.go.snap | 1 - ...teLicenseConversionTaskForResource.go.snap | 1 - ...reateLicenseManagerReportGenerator.go.snap | 1 - .../api_op_CreateLicenseVersion.go.snap | 1 - .../snapshot/api_op_CreateToken.go.snap | 1 - .../snapshot/api_op_DeleteGrant.go.snap | 1 - .../snapshot/api_op_DeleteLicense.go.snap | 1 - .../api_op_DeleteLicenseConfiguration.go.snap | 1 - ...eleteLicenseManagerReportGenerator.go.snap | 1 - .../snapshot/api_op_DeleteToken.go.snap | 1 - .../api_op_ExtendLicenseConsumption.go.snap | 1 - .../snapshot/api_op_GetAccessToken.go.snap | 1 - .../snapshot/api_op_GetGrant.go.snap | 1 - .../snapshot/api_op_GetLicense.go.snap | 1 - .../api_op_GetLicenseConfiguration.go.snap | 1 - .../api_op_GetLicenseConversionTask.go.snap | 1 - ...p_GetLicenseManagerReportGenerator.go.snap | 1 - .../snapshot/api_op_GetLicenseUsage.go.snap | 1 - .../api_op_GetServiceSettings.go.snap | 1 - ...ssociationsForLicenseConfiguration.go.snap | 1 - .../api_op_ListDistributedGrants.go.snap | 1 - ...sForLicenseConfigurationOperations.go.snap | 1 - .../api_op_ListLicenseConfigurations.go.snap | 1 - .../api_op_ListLicenseConversionTasks.go.snap | 1 - ...ListLicenseManagerReportGenerators.go.snap | 1 - ...stLicenseSpecificationsForResource.go.snap | 1 - .../api_op_ListLicenseVersions.go.snap | 1 - .../snapshot/api_op_ListLicenses.go.snap | 1 - .../api_op_ListReceivedGrants.go.snap | 1 - ..._ListReceivedGrantsForOrganization.go.snap | 1 - .../api_op_ListReceivedLicenses.go.snap | 1 - ...istReceivedLicensesForOrganization.go.snap | 1 - .../api_op_ListResourceInventory.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListTokens.go.snap | 1 - ...p_ListUsageForLicenseConfiguration.go.snap | 1 - .../snapshot/api_op_RejectGrant.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateLicenseConfiguration.go.snap | 1 - ...pdateLicenseManagerReportGenerator.go.snap | 1 - ...teLicenseSpecificationsForResource.go.snap | 1 - .../api_op_UpdateServiceSettings.go.snap | 1 - .../api_client.go | 31 -- .../api_op_DeregisterSubscriptionProvider.go | 3 - ...pi_op_GetRegisteredSubscriptionProvider.go | 3 - .../api_op_GetServiceSettings.go | 3 - .../api_op_ListLinuxSubscriptionInstances.go | 3 - .../api_op_ListLinuxSubscriptions.go | 3 - ..._op_ListRegisteredSubscriptionProviders.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_RegisterSubscriptionProvider.go | 3 - .../api_op_TagResource.go | 3 - .../api_op_UntagResource.go | 3 - .../api_op_UpdateServiceSettings.go | 3 - ..._op_DeregisterSubscriptionProvider.go.snap | 1 - ..._GetRegisteredSubscriptionProvider.go.snap | 1 - .../api_op_GetServiceSettings.go.snap | 1 - ..._op_ListLinuxSubscriptionInstances.go.snap | 1 - .../api_op_ListLinuxSubscriptions.go.snap | 1 - ...istRegisteredSubscriptionProviders.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - ...pi_op_RegisterSubscriptionProvider.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateServiceSettings.go.snap | 1 - .../api_client.go | 31 -- .../api_op_AssociateUser.go | 3 - .../api_op_CreateLicenseServerEndpoint.go | 3 - .../api_op_DeleteLicenseServerEndpoint.go | 3 - .../api_op_DeregisterIdentityProvider.go | 3 - .../api_op_DisassociateUser.go | 3 - .../api_op_ListIdentityProviders.go | 3 - .../api_op_ListInstances.go | 3 - .../api_op_ListLicenseServerEndpoints.go | 3 - .../api_op_ListProductSubscriptions.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_ListUserAssociations.go | 3 - .../api_op_RegisterIdentityProvider.go | 3 - .../api_op_StartProductSubscription.go | 3 - .../api_op_StopProductSubscription.go | 3 - .../api_op_TagResource.go | 3 - .../api_op_UntagResource.go | 3 - .../api_op_UpdateIdentityProviderSettings.go | 3 - .../snapshot/api_op_AssociateUser.go.snap | 1 - ...api_op_CreateLicenseServerEndpoint.go.snap | 1 - ...api_op_DeleteLicenseServerEndpoint.go.snap | 1 - .../api_op_DeregisterIdentityProvider.go.snap | 1 - .../snapshot/api_op_DisassociateUser.go.snap | 1 - .../api_op_ListIdentityProviders.go.snap | 1 - .../snapshot/api_op_ListInstances.go.snap | 1 - .../api_op_ListLicenseServerEndpoints.go.snap | 1 - .../api_op_ListProductSubscriptions.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListUserAssociations.go.snap | 1 - .../api_op_RegisterIdentityProvider.go.snap | 1 - .../api_op_StartProductSubscription.go.snap | 1 - .../api_op_StopProductSubscription.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - ..._op_UpdateIdentityProviderSettings.go.snap | 1 - service/lightsail/api_client.go | 31 -- service/lightsail/api_op_AllocateStaticIp.go | 3 - .../api_op_AttachCertificateToDistribution.go | 3 - service/lightsail/api_op_AttachDisk.go | 3 - .../api_op_AttachInstancesToLoadBalancer.go | 3 - ...api_op_AttachLoadBalancerTlsCertificate.go | 3 - service/lightsail/api_op_AttachStaticIp.go | 3 - .../api_op_CloseInstancePublicPorts.go | 3 - service/lightsail/api_op_CopySnapshot.go | 3 - service/lightsail/api_op_CreateBucket.go | 3 - .../lightsail/api_op_CreateBucketAccessKey.go | 3 - service/lightsail/api_op_CreateCertificate.go | 3 - .../api_op_CreateCloudFormationStack.go | 3 - .../lightsail/api_op_CreateContactMethod.go | 3 - .../api_op_CreateContainerService.go | 3 - ...api_op_CreateContainerServiceDeployment.go | 3 - ..._op_CreateContainerServiceRegistryLogin.go | 3 - service/lightsail/api_op_CreateDisk.go | 3 - .../api_op_CreateDiskFromSnapshot.go | 3 - .../lightsail/api_op_CreateDiskSnapshot.go | 3 - .../lightsail/api_op_CreateDistribution.go | 3 - service/lightsail/api_op_CreateDomain.go | 3 - service/lightsail/api_op_CreateDomainEntry.go | 3 - .../api_op_CreateGUISessionAccessDetails.go | 3 - .../api_op_CreateInstanceSnapshot.go | 3 - service/lightsail/api_op_CreateInstances.go | 3 - .../api_op_CreateInstancesFromSnapshot.go | 3 - service/lightsail/api_op_CreateKeyPair.go | 3 - .../lightsail/api_op_CreateLoadBalancer.go | 3 - ...api_op_CreateLoadBalancerTlsCertificate.go | 3 - .../api_op_CreateRelationalDatabase.go | 3 - ...op_CreateRelationalDatabaseFromSnapshot.go | 3 - ...api_op_CreateRelationalDatabaseSnapshot.go | 3 - service/lightsail/api_op_DeleteAlarm.go | 3 - .../lightsail/api_op_DeleteAutoSnapshot.go | 3 - service/lightsail/api_op_DeleteBucket.go | 3 - .../lightsail/api_op_DeleteBucketAccessKey.go | 3 - service/lightsail/api_op_DeleteCertificate.go | 3 - .../lightsail/api_op_DeleteContactMethod.go | 3 - .../lightsail/api_op_DeleteContainerImage.go | 3 - .../api_op_DeleteContainerService.go | 3 - service/lightsail/api_op_DeleteDisk.go | 3 - .../lightsail/api_op_DeleteDiskSnapshot.go | 3 - .../lightsail/api_op_DeleteDistribution.go | 3 - service/lightsail/api_op_DeleteDomain.go | 3 - service/lightsail/api_op_DeleteDomainEntry.go | 3 - service/lightsail/api_op_DeleteInstance.go | 3 - .../api_op_DeleteInstanceSnapshot.go | 3 - service/lightsail/api_op_DeleteKeyPair.go | 3 - .../lightsail/api_op_DeleteKnownHostKeys.go | 3 - .../lightsail/api_op_DeleteLoadBalancer.go | 3 - ...api_op_DeleteLoadBalancerTlsCertificate.go | 3 - .../api_op_DeleteRelationalDatabase.go | 3 - ...api_op_DeleteRelationalDatabaseSnapshot.go | 3 - ...pi_op_DetachCertificateFromDistribution.go | 3 - service/lightsail/api_op_DetachDisk.go | 3 - .../api_op_DetachInstancesFromLoadBalancer.go | 3 - service/lightsail/api_op_DetachStaticIp.go | 3 - service/lightsail/api_op_DisableAddOn.go | 3 - .../api_op_DownloadDefaultKeyPair.go | 3 - service/lightsail/api_op_EnableAddOn.go | 3 - service/lightsail/api_op_ExportSnapshot.go | 3 - service/lightsail/api_op_GetActiveNames.go | 3 - service/lightsail/api_op_GetAlarms.go | 3 - service/lightsail/api_op_GetAutoSnapshots.go | 3 - service/lightsail/api_op_GetBlueprints.go | 3 - .../lightsail/api_op_GetBucketAccessKeys.go | 3 - service/lightsail/api_op_GetBucketBundles.go | 3 - .../lightsail/api_op_GetBucketMetricData.go | 3 - service/lightsail/api_op_GetBuckets.go | 3 - service/lightsail/api_op_GetBundles.go | 3 - service/lightsail/api_op_GetCertificates.go | 3 - .../api_op_GetCloudFormationStackRecords.go | 3 - service/lightsail/api_op_GetContactMethods.go | 3 - .../api_op_GetContainerAPIMetadata.go | 3 - .../lightsail/api_op_GetContainerImages.go | 3 - service/lightsail/api_op_GetContainerLog.go | 3 - .../api_op_GetContainerServiceDeployments.go | 3 - .../api_op_GetContainerServiceMetricData.go | 3 - .../api_op_GetContainerServicePowers.go | 3 - .../lightsail/api_op_GetContainerServices.go | 3 - service/lightsail/api_op_GetCostEstimate.go | 3 - service/lightsail/api_op_GetDisk.go | 3 - service/lightsail/api_op_GetDiskSnapshot.go | 3 - service/lightsail/api_op_GetDiskSnapshots.go | 3 - service/lightsail/api_op_GetDisks.go | 3 - .../api_op_GetDistributionBundles.go | 3 - .../api_op_GetDistributionLatestCacheReset.go | 3 - .../api_op_GetDistributionMetricData.go | 3 - service/lightsail/api_op_GetDistributions.go | 3 - service/lightsail/api_op_GetDomain.go | 3 - service/lightsail/api_op_GetDomains.go | 3 - .../api_op_GetExportSnapshotRecords.go | 3 - service/lightsail/api_op_GetInstance.go | 3 - .../api_op_GetInstanceAccessDetails.go | 3 - .../lightsail/api_op_GetInstanceMetricData.go | 3 - .../lightsail/api_op_GetInstancePortStates.go | 3 - .../lightsail/api_op_GetInstanceSnapshot.go | 3 - .../lightsail/api_op_GetInstanceSnapshots.go | 3 - service/lightsail/api_op_GetInstanceState.go | 3 - service/lightsail/api_op_GetInstances.go | 3 - service/lightsail/api_op_GetKeyPair.go | 3 - service/lightsail/api_op_GetKeyPairs.go | 3 - service/lightsail/api_op_GetLoadBalancer.go | 3 - .../api_op_GetLoadBalancerMetricData.go | 3 - .../api_op_GetLoadBalancerTlsCertificates.go | 3 - .../api_op_GetLoadBalancerTlsPolicies.go | 3 - service/lightsail/api_op_GetLoadBalancers.go | 3 - service/lightsail/api_op_GetOperation.go | 3 - service/lightsail/api_op_GetOperations.go | 3 - .../api_op_GetOperationsForResource.go | 3 - service/lightsail/api_op_GetRegions.go | 3 - .../lightsail/api_op_GetRelationalDatabase.go | 3 - .../api_op_GetRelationalDatabaseBlueprints.go | 3 - .../api_op_GetRelationalDatabaseBundles.go | 3 - .../api_op_GetRelationalDatabaseEvents.go | 3 - .../api_op_GetRelationalDatabaseLogEvents.go | 3 - .../api_op_GetRelationalDatabaseLogStreams.go | 3 - ...GetRelationalDatabaseMasterUserPassword.go | 3 - .../api_op_GetRelationalDatabaseMetricData.go | 3 - .../api_op_GetRelationalDatabaseParameters.go | 3 - .../api_op_GetRelationalDatabaseSnapshot.go | 3 - .../api_op_GetRelationalDatabaseSnapshots.go | 3 - .../api_op_GetRelationalDatabases.go | 3 - service/lightsail/api_op_GetSetupHistory.go | 3 - service/lightsail/api_op_GetStaticIp.go | 3 - service/lightsail/api_op_GetStaticIps.go | 3 - service/lightsail/api_op_ImportKeyPair.go | 3 - service/lightsail/api_op_IsVpcPeered.go | 3 - .../api_op_OpenInstancePublicPorts.go | 3 - service/lightsail/api_op_PeerVpc.go | 3 - service/lightsail/api_op_PutAlarm.go | 3 - .../api_op_PutInstancePublicPorts.go | 3 - service/lightsail/api_op_RebootInstance.go | 3 - .../api_op_RebootRelationalDatabase.go | 3 - .../api_op_RegisterContainerImage.go | 3 - service/lightsail/api_op_ReleaseStaticIp.go | 3 - .../api_op_ResetDistributionCache.go | 3 - .../api_op_SendContactMethodVerification.go | 3 - service/lightsail/api_op_SetIpAddressType.go | 3 - .../api_op_SetResourceAccessForBucket.go | 3 - .../lightsail/api_op_SetupInstanceHttps.go | 3 - service/lightsail/api_op_StartGUISession.go | 3 - service/lightsail/api_op_StartInstance.go | 3 - .../api_op_StartRelationalDatabase.go | 3 - service/lightsail/api_op_StopGUISession.go | 3 - service/lightsail/api_op_StopInstance.go | 3 - .../api_op_StopRelationalDatabase.go | 3 - service/lightsail/api_op_TagResource.go | 3 - service/lightsail/api_op_TestAlarm.go | 3 - service/lightsail/api_op_UnpeerVpc.go | 3 - service/lightsail/api_op_UntagResource.go | 3 - service/lightsail/api_op_UpdateBucket.go | 3 - .../lightsail/api_op_UpdateBucketBundle.go | 3 - .../api_op_UpdateContainerService.go | 3 - .../lightsail/api_op_UpdateDistribution.go | 3 - .../api_op_UpdateDistributionBundle.go | 3 - service/lightsail/api_op_UpdateDomainEntry.go | 3 - .../api_op_UpdateInstanceMetadataOptions.go | 3 - .../api_op_UpdateLoadBalancerAttribute.go | 3 - .../api_op_UpdateRelationalDatabase.go | 3 - ...i_op_UpdateRelationalDatabaseParameters.go | 3 - .../snapshot/api_op_AllocateStaticIp.go.snap | 1 - ...op_AttachCertificateToDistribution.go.snap | 1 - .../snapshot/api_op_AttachDisk.go.snap | 1 - ...i_op_AttachInstancesToLoadBalancer.go.snap | 1 - ...p_AttachLoadBalancerTlsCertificate.go.snap | 1 - .../snapshot/api_op_AttachStaticIp.go.snap | 1 - .../api_op_CloseInstancePublicPorts.go.snap | 1 - .../snapshot/api_op_CopySnapshot.go.snap | 1 - .../snapshot/api_op_CreateBucket.go.snap | 1 - .../api_op_CreateBucketAccessKey.go.snap | 1 - .../snapshot/api_op_CreateCertificate.go.snap | 1 - .../api_op_CreateCloudFormationStack.go.snap | 1 - .../api_op_CreateContactMethod.go.snap | 1 - .../api_op_CreateContainerService.go.snap | 1 - ...p_CreateContainerServiceDeployment.go.snap | 1 - ...reateContainerServiceRegistryLogin.go.snap | 1 - .../snapshot/api_op_CreateDisk.go.snap | 1 - .../api_op_CreateDiskFromSnapshot.go.snap | 1 - .../api_op_CreateDiskSnapshot.go.snap | 1 - .../api_op_CreateDistribution.go.snap | 1 - .../snapshot/api_op_CreateDomain.go.snap | 1 - .../snapshot/api_op_CreateDomainEntry.go.snap | 1 - ...i_op_CreateGUISessionAccessDetails.go.snap | 1 - .../api_op_CreateInstanceSnapshot.go.snap | 1 - .../snapshot/api_op_CreateInstances.go.snap | 1 - ...api_op_CreateInstancesFromSnapshot.go.snap | 1 - .../snapshot/api_op_CreateKeyPair.go.snap | 1 - .../api_op_CreateLoadBalancer.go.snap | 1 - ...p_CreateLoadBalancerTlsCertificate.go.snap | 1 - .../api_op_CreateRelationalDatabase.go.snap | 1 - ...eateRelationalDatabaseFromSnapshot.go.snap | 1 - ...p_CreateRelationalDatabaseSnapshot.go.snap | 1 - .../snapshot/api_op_DeleteAlarm.go.snap | 1 - .../api_op_DeleteAutoSnapshot.go.snap | 1 - .../snapshot/api_op_DeleteBucket.go.snap | 1 - .../api_op_DeleteBucketAccessKey.go.snap | 1 - .../snapshot/api_op_DeleteCertificate.go.snap | 1 - .../api_op_DeleteContactMethod.go.snap | 1 - .../api_op_DeleteContainerImage.go.snap | 1 - .../api_op_DeleteContainerService.go.snap | 1 - .../snapshot/api_op_DeleteDisk.go.snap | 1 - .../api_op_DeleteDiskSnapshot.go.snap | 1 - .../api_op_DeleteDistribution.go.snap | 1 - .../snapshot/api_op_DeleteDomain.go.snap | 1 - .../snapshot/api_op_DeleteDomainEntry.go.snap | 1 - .../snapshot/api_op_DeleteInstance.go.snap | 1 - .../api_op_DeleteInstanceSnapshot.go.snap | 1 - .../snapshot/api_op_DeleteKeyPair.go.snap | 1 - .../api_op_DeleteKnownHostKeys.go.snap | 1 - .../api_op_DeleteLoadBalancer.go.snap | 1 - ...p_DeleteLoadBalancerTlsCertificate.go.snap | 1 - .../api_op_DeleteRelationalDatabase.go.snap | 1 - ...p_DeleteRelationalDatabaseSnapshot.go.snap | 1 - ..._DetachCertificateFromDistribution.go.snap | 1 - .../snapshot/api_op_DetachDisk.go.snap | 1 - ...op_DetachInstancesFromLoadBalancer.go.snap | 1 - .../snapshot/api_op_DetachStaticIp.go.snap | 1 - .../snapshot/api_op_DisableAddOn.go.snap | 1 - .../api_op_DownloadDefaultKeyPair.go.snap | 1 - .../snapshot/api_op_EnableAddOn.go.snap | 1 - .../snapshot/api_op_ExportSnapshot.go.snap | 1 - .../snapshot/api_op_GetActiveNames.go.snap | 1 - .../snapshot/api_op_GetAlarms.go.snap | 1 - .../snapshot/api_op_GetAutoSnapshots.go.snap | 1 - .../snapshot/api_op_GetBlueprints.go.snap | 1 - .../api_op_GetBucketAccessKeys.go.snap | 1 - .../snapshot/api_op_GetBucketBundles.go.snap | 1 - .../api_op_GetBucketMetricData.go.snap | 1 - .../snapshot/api_op_GetBuckets.go.snap | 1 - .../snapshot/api_op_GetBundles.go.snap | 1 - .../snapshot/api_op_GetCertificates.go.snap | 1 - ...i_op_GetCloudFormationStackRecords.go.snap | 1 - .../snapshot/api_op_GetContactMethods.go.snap | 1 - .../api_op_GetContainerAPIMetadata.go.snap | 1 - .../api_op_GetContainerImages.go.snap | 1 - .../snapshot/api_op_GetContainerLog.go.snap | 1 - ..._op_GetContainerServiceDeployments.go.snap | 1 - ...i_op_GetContainerServiceMetricData.go.snap | 1 - .../api_op_GetContainerServicePowers.go.snap | 1 - .../api_op_GetContainerServices.go.snap | 1 - .../snapshot/api_op_GetCostEstimate.go.snap | 1 - .../lightsail/snapshot/api_op_GetDisk.go.snap | 1 - .../snapshot/api_op_GetDiskSnapshot.go.snap | 1 - .../snapshot/api_op_GetDiskSnapshots.go.snap | 1 - .../snapshot/api_op_GetDisks.go.snap | 1 - .../api_op_GetDistributionBundles.go.snap | 1 - ...op_GetDistributionLatestCacheReset.go.snap | 1 - .../api_op_GetDistributionMetricData.go.snap | 1 - .../snapshot/api_op_GetDistributions.go.snap | 1 - .../snapshot/api_op_GetDomain.go.snap | 1 - .../snapshot/api_op_GetDomains.go.snap | 1 - .../api_op_GetExportSnapshotRecords.go.snap | 1 - .../snapshot/api_op_GetInstance.go.snap | 1 - .../api_op_GetInstanceAccessDetails.go.snap | 1 - .../api_op_GetInstanceMetricData.go.snap | 1 - .../api_op_GetInstancePortStates.go.snap | 1 - .../api_op_GetInstanceSnapshot.go.snap | 1 - .../api_op_GetInstanceSnapshots.go.snap | 1 - .../snapshot/api_op_GetInstanceState.go.snap | 1 - .../snapshot/api_op_GetInstances.go.snap | 1 - .../snapshot/api_op_GetKeyPair.go.snap | 1 - .../snapshot/api_op_GetKeyPairs.go.snap | 1 - .../snapshot/api_op_GetLoadBalancer.go.snap | 1 - .../api_op_GetLoadBalancerMetricData.go.snap | 1 - ..._op_GetLoadBalancerTlsCertificates.go.snap | 1 - .../api_op_GetLoadBalancerTlsPolicies.go.snap | 1 - .../snapshot/api_op_GetLoadBalancers.go.snap | 1 - .../snapshot/api_op_GetOperation.go.snap | 1 - .../snapshot/api_op_GetOperations.go.snap | 1 - .../api_op_GetOperationsForResource.go.snap | 1 - .../snapshot/api_op_GetRegions.go.snap | 1 - .../api_op_GetRelationalDatabase.go.snap | 1 - ...op_GetRelationalDatabaseBlueprints.go.snap | 1 - ...pi_op_GetRelationalDatabaseBundles.go.snap | 1 - ...api_op_GetRelationalDatabaseEvents.go.snap | 1 - ..._op_GetRelationalDatabaseLogEvents.go.snap | 1 - ...op_GetRelationalDatabaseLogStreams.go.snap | 1 - ...lationalDatabaseMasterUserPassword.go.snap | 1 - ...op_GetRelationalDatabaseMetricData.go.snap | 1 - ...op_GetRelationalDatabaseParameters.go.snap | 1 - ...i_op_GetRelationalDatabaseSnapshot.go.snap | 1 - ..._op_GetRelationalDatabaseSnapshots.go.snap | 1 - .../api_op_GetRelationalDatabases.go.snap | 1 - .../snapshot/api_op_GetSetupHistory.go.snap | 1 - .../snapshot/api_op_GetStaticIp.go.snap | 1 - .../snapshot/api_op_GetStaticIps.go.snap | 1 - .../snapshot/api_op_ImportKeyPair.go.snap | 1 - .../snapshot/api_op_IsVpcPeered.go.snap | 1 - .../api_op_OpenInstancePublicPorts.go.snap | 1 - .../lightsail/snapshot/api_op_PeerVpc.go.snap | 1 - .../snapshot/api_op_PutAlarm.go.snap | 1 - .../api_op_PutInstancePublicPorts.go.snap | 1 - .../snapshot/api_op_RebootInstance.go.snap | 1 - .../api_op_RebootRelationalDatabase.go.snap | 1 - .../api_op_RegisterContainerImage.go.snap | 1 - .../snapshot/api_op_ReleaseStaticIp.go.snap | 1 - .../api_op_ResetDistributionCache.go.snap | 1 - ...i_op_SendContactMethodVerification.go.snap | 1 - .../snapshot/api_op_SetIpAddressType.go.snap | 1 - .../api_op_SetResourceAccessForBucket.go.snap | 1 - .../api_op_SetupInstanceHttps.go.snap | 1 - .../snapshot/api_op_StartGUISession.go.snap | 1 - .../snapshot/api_op_StartInstance.go.snap | 1 - .../api_op_StartRelationalDatabase.go.snap | 1 - .../snapshot/api_op_StopGUISession.go.snap | 1 - .../snapshot/api_op_StopInstance.go.snap | 1 - .../api_op_StopRelationalDatabase.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_TestAlarm.go.snap | 1 - .../snapshot/api_op_UnpeerVpc.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateBucket.go.snap | 1 - .../api_op_UpdateBucketBundle.go.snap | 1 - .../api_op_UpdateContainerService.go.snap | 1 - .../api_op_UpdateDistribution.go.snap | 1 - .../api_op_UpdateDistributionBundle.go.snap | 1 - .../snapshot/api_op_UpdateDomainEntry.go.snap | 1 - ...i_op_UpdateInstanceMetadataOptions.go.snap | 1 - ...api_op_UpdateLoadBalancerAttribute.go.snap | 1 - .../api_op_UpdateRelationalDatabase.go.snap | 1 - ...UpdateRelationalDatabaseParameters.go.snap | 1 - service/location/api_client.go | 31 -- .../api_op_AssociateTrackerConsumer.go | 3 - ...api_op_BatchDeleteDevicePositionHistory.go | 3 - .../location/api_op_BatchDeleteGeofence.go | 3 - .../location/api_op_BatchEvaluateGeofences.go | 3 - .../location/api_op_BatchGetDevicePosition.go | 3 - service/location/api_op_BatchPutGeofence.go | 3 - .../api_op_BatchUpdateDevicePosition.go | 3 - service/location/api_op_CalculateRoute.go | 3 - .../location/api_op_CalculateRouteMatrix.go | 3 - .../api_op_CreateGeofenceCollection.go | 3 - service/location/api_op_CreateKey.go | 3 - service/location/api_op_CreateMap.go | 3 - service/location/api_op_CreatePlaceIndex.go | 3 - .../location/api_op_CreateRouteCalculator.go | 3 - service/location/api_op_CreateTracker.go | 3 - .../api_op_DeleteGeofenceCollection.go | 3 - service/location/api_op_DeleteKey.go | 3 - service/location/api_op_DeleteMap.go | 3 - service/location/api_op_DeletePlaceIndex.go | 3 - .../location/api_op_DeleteRouteCalculator.go | 3 - service/location/api_op_DeleteTracker.go | 3 - .../api_op_DescribeGeofenceCollection.go | 3 - service/location/api_op_DescribeKey.go | 3 - service/location/api_op_DescribeMap.go | 3 - service/location/api_op_DescribePlaceIndex.go | 3 - .../api_op_DescribeRouteCalculator.go | 3 - service/location/api_op_DescribeTracker.go | 3 - .../api_op_DisassociateTrackerConsumer.go | 3 - .../location/api_op_ForecastGeofenceEvents.go | 3 - service/location/api_op_GetDevicePosition.go | 3 - .../api_op_GetDevicePositionHistory.go | 3 - service/location/api_op_GetGeofence.go | 3 - service/location/api_op_GetMapGlyphs.go | 3 - service/location/api_op_GetMapSprites.go | 3 - .../location/api_op_GetMapStyleDescriptor.go | 3 - service/location/api_op_GetMapTile.go | 3 - service/location/api_op_GetPlace.go | 3 - .../location/api_op_ListDevicePositions.go | 3 - .../api_op_ListGeofenceCollections.go | 3 - service/location/api_op_ListGeofences.go | 3 - service/location/api_op_ListKeys.go | 3 - service/location/api_op_ListMaps.go | 3 - service/location/api_op_ListPlaceIndexes.go | 3 - .../location/api_op_ListRouteCalculators.go | 3 - .../location/api_op_ListTagsForResource.go | 3 - .../location/api_op_ListTrackerConsumers.go | 3 - service/location/api_op_ListTrackers.go | 3 - service/location/api_op_PutGeofence.go | 3 - .../api_op_SearchPlaceIndexForPosition.go | 3 - .../api_op_SearchPlaceIndexForSuggestions.go | 3 - .../api_op_SearchPlaceIndexForText.go | 3 - service/location/api_op_TagResource.go | 3 - service/location/api_op_UntagResource.go | 3 - .../api_op_UpdateGeofenceCollection.go | 3 - service/location/api_op_UpdateKey.go | 3 - service/location/api_op_UpdateMap.go | 3 - service/location/api_op_UpdatePlaceIndex.go | 3 - .../location/api_op_UpdateRouteCalculator.go | 3 - service/location/api_op_UpdateTracker.go | 3 - .../location/api_op_VerifyDevicePosition.go | 3 - .../api_op_AssociateTrackerConsumer.go.snap | 1 - ...p_BatchDeleteDevicePositionHistory.go.snap | 1 - .../api_op_BatchDeleteGeofence.go.snap | 1 - .../api_op_BatchEvaluateGeofences.go.snap | 1 - .../api_op_BatchGetDevicePosition.go.snap | 1 - .../snapshot/api_op_BatchPutGeofence.go.snap | 1 - .../api_op_BatchUpdateDevicePosition.go.snap | 1 - .../snapshot/api_op_CalculateRoute.go.snap | 1 - .../api_op_CalculateRouteMatrix.go.snap | 1 - .../api_op_CreateGeofenceCollection.go.snap | 1 - .../snapshot/api_op_CreateKey.go.snap | 1 - .../snapshot/api_op_CreateMap.go.snap | 1 - .../snapshot/api_op_CreatePlaceIndex.go.snap | 1 - .../api_op_CreateRouteCalculator.go.snap | 1 - .../snapshot/api_op_CreateTracker.go.snap | 1 - .../api_op_DeleteGeofenceCollection.go.snap | 1 - .../snapshot/api_op_DeleteKey.go.snap | 1 - .../snapshot/api_op_DeleteMap.go.snap | 1 - .../snapshot/api_op_DeletePlaceIndex.go.snap | 1 - .../api_op_DeleteRouteCalculator.go.snap | 1 - .../snapshot/api_op_DeleteTracker.go.snap | 1 - .../api_op_DescribeGeofenceCollection.go.snap | 1 - .../snapshot/api_op_DescribeKey.go.snap | 1 - .../snapshot/api_op_DescribeMap.go.snap | 1 - .../api_op_DescribePlaceIndex.go.snap | 1 - .../api_op_DescribeRouteCalculator.go.snap | 1 - .../snapshot/api_op_DescribeTracker.go.snap | 1 - ...api_op_DisassociateTrackerConsumer.go.snap | 1 - .../api_op_ForecastGeofenceEvents.go.snap | 1 - .../snapshot/api_op_GetDevicePosition.go.snap | 1 - .../api_op_GetDevicePositionHistory.go.snap | 1 - .../snapshot/api_op_GetGeofence.go.snap | 1 - .../snapshot/api_op_GetMapGlyphs.go.snap | 1 - .../snapshot/api_op_GetMapSprites.go.snap | 1 - .../api_op_GetMapStyleDescriptor.go.snap | 1 - .../snapshot/api_op_GetMapTile.go.snap | 1 - .../location/snapshot/api_op_GetPlace.go.snap | 1 - .../api_op_ListDevicePositions.go.snap | 1 - .../api_op_ListGeofenceCollections.go.snap | 1 - .../snapshot/api_op_ListGeofences.go.snap | 1 - .../location/snapshot/api_op_ListKeys.go.snap | 1 - .../location/snapshot/api_op_ListMaps.go.snap | 1 - .../snapshot/api_op_ListPlaceIndexes.go.snap | 1 - .../api_op_ListRouteCalculators.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListTrackerConsumers.go.snap | 1 - .../snapshot/api_op_ListTrackers.go.snap | 1 - .../snapshot/api_op_PutGeofence.go.snap | 1 - ...api_op_SearchPlaceIndexForPosition.go.snap | 1 - ..._op_SearchPlaceIndexForSuggestions.go.snap | 1 - .../api_op_SearchPlaceIndexForText.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateGeofenceCollection.go.snap | 1 - .../snapshot/api_op_UpdateKey.go.snap | 1 - .../snapshot/api_op_UpdateMap.go.snap | 1 - .../snapshot/api_op_UpdatePlaceIndex.go.snap | 1 - .../api_op_UpdateRouteCalculator.go.snap | 1 - .../snapshot/api_op_UpdateTracker.go.snap | 1 - .../api_op_VerifyDevicePosition.go.snap | 1 - service/lookoutequipment/api_client.go | 31 -- .../lookoutequipment/api_op_CreateDataset.go | 3 - .../api_op_CreateInferenceScheduler.go | 3 - .../lookoutequipment/api_op_CreateLabel.go | 3 - .../api_op_CreateLabelGroup.go | 3 - .../lookoutequipment/api_op_CreateModel.go | 3 - .../api_op_CreateRetrainingScheduler.go | 3 - .../lookoutequipment/api_op_DeleteDataset.go | 3 - .../api_op_DeleteInferenceScheduler.go | 3 - .../lookoutequipment/api_op_DeleteLabel.go | 3 - .../api_op_DeleteLabelGroup.go | 3 - .../lookoutequipment/api_op_DeleteModel.go | 3 - .../api_op_DeleteResourcePolicy.go | 3 - .../api_op_DeleteRetrainingScheduler.go | 3 - .../api_op_DescribeDataIngestionJob.go | 3 - .../api_op_DescribeDataset.go | 3 - .../api_op_DescribeInferenceScheduler.go | 3 - .../lookoutequipment/api_op_DescribeLabel.go | 3 - .../api_op_DescribeLabelGroup.go | 3 - .../lookoutequipment/api_op_DescribeModel.go | 3 - .../api_op_DescribeModelVersion.go | 3 - .../api_op_DescribeResourcePolicy.go | 3 - .../api_op_DescribeRetrainingScheduler.go | 3 - .../lookoutequipment/api_op_ImportDataset.go | 3 - .../api_op_ImportModelVersion.go | 3 - .../api_op_ListDataIngestionJobs.go | 3 - .../lookoutequipment/api_op_ListDatasets.go | 3 - .../api_op_ListInferenceEvents.go | 3 - .../api_op_ListInferenceExecutions.go | 3 - .../api_op_ListInferenceSchedulers.go | 3 - .../api_op_ListLabelGroups.go | 3 - service/lookoutequipment/api_op_ListLabels.go | 3 - .../api_op_ListModelVersions.go | 3 - service/lookoutequipment/api_op_ListModels.go | 3 - .../api_op_ListRetrainingSchedulers.go | 3 - .../api_op_ListSensorStatistics.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_PutResourcePolicy.go | 3 - .../api_op_StartDataIngestionJob.go | 3 - .../api_op_StartInferenceScheduler.go | 3 - .../api_op_StartRetrainingScheduler.go | 3 - .../api_op_StopInferenceScheduler.go | 3 - .../api_op_StopRetrainingScheduler.go | 3 - .../lookoutequipment/api_op_TagResource.go | 3 - .../lookoutequipment/api_op_UntagResource.go | 3 - .../api_op_UpdateActiveModelVersion.go | 3 - .../api_op_UpdateInferenceScheduler.go | 3 - .../api_op_UpdateLabelGroup.go | 3 - .../lookoutequipment/api_op_UpdateModel.go | 3 - .../api_op_UpdateRetrainingScheduler.go | 3 - .../snapshot/api_op_CreateDataset.go.snap | 1 - .../api_op_CreateInferenceScheduler.go.snap | 1 - .../snapshot/api_op_CreateLabel.go.snap | 1 - .../snapshot/api_op_CreateLabelGroup.go.snap | 1 - .../snapshot/api_op_CreateModel.go.snap | 1 - .../api_op_CreateRetrainingScheduler.go.snap | 1 - .../snapshot/api_op_DeleteDataset.go.snap | 1 - .../api_op_DeleteInferenceScheduler.go.snap | 1 - .../snapshot/api_op_DeleteLabel.go.snap | 1 - .../snapshot/api_op_DeleteLabelGroup.go.snap | 1 - .../snapshot/api_op_DeleteModel.go.snap | 1 - .../api_op_DeleteResourcePolicy.go.snap | 1 - .../api_op_DeleteRetrainingScheduler.go.snap | 1 - .../api_op_DescribeDataIngestionJob.go.snap | 1 - .../snapshot/api_op_DescribeDataset.go.snap | 1 - .../api_op_DescribeInferenceScheduler.go.snap | 1 - .../snapshot/api_op_DescribeLabel.go.snap | 1 - .../api_op_DescribeLabelGroup.go.snap | 1 - .../snapshot/api_op_DescribeModel.go.snap | 1 - .../api_op_DescribeModelVersion.go.snap | 1 - .../api_op_DescribeResourcePolicy.go.snap | 1 - ...api_op_DescribeRetrainingScheduler.go.snap | 1 - .../snapshot/api_op_ImportDataset.go.snap | 1 - .../api_op_ImportModelVersion.go.snap | 1 - .../api_op_ListDataIngestionJobs.go.snap | 1 - .../snapshot/api_op_ListDatasets.go.snap | 1 - .../api_op_ListInferenceEvents.go.snap | 1 - .../api_op_ListInferenceExecutions.go.snap | 1 - .../api_op_ListInferenceSchedulers.go.snap | 1 - .../snapshot/api_op_ListLabelGroups.go.snap | 1 - .../snapshot/api_op_ListLabels.go.snap | 1 - .../snapshot/api_op_ListModelVersions.go.snap | 1 - .../snapshot/api_op_ListModels.go.snap | 1 - .../api_op_ListRetrainingSchedulers.go.snap | 1 - .../api_op_ListSensorStatistics.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_PutResourcePolicy.go.snap | 1 - .../api_op_StartDataIngestionJob.go.snap | 1 - .../api_op_StartInferenceScheduler.go.snap | 1 - .../api_op_StartRetrainingScheduler.go.snap | 1 - .../api_op_StopInferenceScheduler.go.snap | 1 - .../api_op_StopRetrainingScheduler.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateActiveModelVersion.go.snap | 1 - .../api_op_UpdateInferenceScheduler.go.snap | 1 - .../snapshot/api_op_UpdateLabelGroup.go.snap | 1 - .../snapshot/api_op_UpdateModel.go.snap | 1 - .../api_op_UpdateRetrainingScheduler.go.snap | 1 - service/lookoutmetrics/api_client.go | 31 -- .../api_op_ActivateAnomalyDetector.go | 3 - .../api_op_BackTestAnomalyDetector.go | 3 - service/lookoutmetrics/api_op_CreateAlert.go | 3 - .../api_op_CreateAnomalyDetector.go | 3 - .../lookoutmetrics/api_op_CreateMetricSet.go | 3 - .../api_op_DeactivateAnomalyDetector.go | 3 - service/lookoutmetrics/api_op_DeleteAlert.go | 3 - .../api_op_DeleteAnomalyDetector.go | 3 - .../lookoutmetrics/api_op_DescribeAlert.go | 3 - ...i_op_DescribeAnomalyDetectionExecutions.go | 3 - .../api_op_DescribeAnomalyDetector.go | 3 - .../api_op_DescribeMetricSet.go | 3 - .../api_op_DetectMetricSetConfig.go | 3 - .../lookoutmetrics/api_op_GetAnomalyGroup.go | 3 - .../api_op_GetDataQualityMetrics.go | 3 - service/lookoutmetrics/api_op_GetFeedback.go | 3 - .../lookoutmetrics/api_op_GetSampleData.go | 3 - service/lookoutmetrics/api_op_ListAlerts.go | 3 - .../api_op_ListAnomalyDetectors.go | 3 - .../api_op_ListAnomalyGroupRelatedMetrics.go | 3 - .../api_op_ListAnomalyGroupSummaries.go | 3 - .../api_op_ListAnomalyGroupTimeSeries.go | 3 - .../lookoutmetrics/api_op_ListMetricSets.go | 3 - .../api_op_ListTagsForResource.go | 3 - service/lookoutmetrics/api_op_PutFeedback.go | 3 - service/lookoutmetrics/api_op_TagResource.go | 3 - .../lookoutmetrics/api_op_UntagResource.go | 3 - service/lookoutmetrics/api_op_UpdateAlert.go | 3 - .../api_op_UpdateAnomalyDetector.go | 3 - .../lookoutmetrics/api_op_UpdateMetricSet.go | 3 - .../api_op_ActivateAnomalyDetector.go.snap | 1 - .../api_op_BackTestAnomalyDetector.go.snap | 1 - .../snapshot/api_op_CreateAlert.go.snap | 1 - .../api_op_CreateAnomalyDetector.go.snap | 1 - .../snapshot/api_op_CreateMetricSet.go.snap | 1 - .../api_op_DeactivateAnomalyDetector.go.snap | 1 - .../snapshot/api_op_DeleteAlert.go.snap | 1 - .../api_op_DeleteAnomalyDetector.go.snap | 1 - .../snapshot/api_op_DescribeAlert.go.snap | 1 - ...DescribeAnomalyDetectionExecutions.go.snap | 1 - .../api_op_DescribeAnomalyDetector.go.snap | 1 - .../snapshot/api_op_DescribeMetricSet.go.snap | 1 - .../api_op_DetectMetricSetConfig.go.snap | 1 - .../snapshot/api_op_GetAnomalyGroup.go.snap | 1 - .../api_op_GetDataQualityMetrics.go.snap | 1 - .../snapshot/api_op_GetFeedback.go.snap | 1 - .../snapshot/api_op_GetSampleData.go.snap | 1 - .../snapshot/api_op_ListAlerts.go.snap | 1 - .../api_op_ListAnomalyDetectors.go.snap | 1 - ..._op_ListAnomalyGroupRelatedMetrics.go.snap | 1 - .../api_op_ListAnomalyGroupSummaries.go.snap | 1 - .../api_op_ListAnomalyGroupTimeSeries.go.snap | 1 - .../snapshot/api_op_ListMetricSets.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_PutFeedback.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateAlert.go.snap | 1 - .../api_op_UpdateAnomalyDetector.go.snap | 1 - .../snapshot/api_op_UpdateMetricSet.go.snap | 1 - service/lookoutvision/api_client.go | 31 -- service/lookoutvision/api_op_CreateDataset.go | 3 - service/lookoutvision/api_op_CreateModel.go | 3 - service/lookoutvision/api_op_CreateProject.go | 3 - service/lookoutvision/api_op_DeleteDataset.go | 3 - service/lookoutvision/api_op_DeleteModel.go | 3 - service/lookoutvision/api_op_DeleteProject.go | 3 - .../lookoutvision/api_op_DescribeDataset.go | 3 - service/lookoutvision/api_op_DescribeModel.go | 3 - .../api_op_DescribeModelPackagingJob.go | 3 - .../lookoutvision/api_op_DescribeProject.go | 3 - .../lookoutvision/api_op_DetectAnomalies.go | 3 - .../api_op_ListDatasetEntries.go | 3 - .../api_op_ListModelPackagingJobs.go | 3 - service/lookoutvision/api_op_ListModels.go | 3 - service/lookoutvision/api_op_ListProjects.go | 3 - .../api_op_ListTagsForResource.go | 3 - service/lookoutvision/api_op_StartModel.go | 3 - .../api_op_StartModelPackagingJob.go | 3 - service/lookoutvision/api_op_StopModel.go | 3 - service/lookoutvision/api_op_TagResource.go | 3 - service/lookoutvision/api_op_UntagResource.go | 3 - .../api_op_UpdateDatasetEntries.go | 3 - .../snapshot/api_op_CreateDataset.go.snap | 1 - .../snapshot/api_op_CreateModel.go.snap | 1 - .../snapshot/api_op_CreateProject.go.snap | 1 - .../snapshot/api_op_DeleteDataset.go.snap | 1 - .../snapshot/api_op_DeleteModel.go.snap | 1 - .../snapshot/api_op_DeleteProject.go.snap | 1 - .../snapshot/api_op_DescribeDataset.go.snap | 1 - .../snapshot/api_op_DescribeModel.go.snap | 1 - .../api_op_DescribeModelPackagingJob.go.snap | 1 - .../snapshot/api_op_DescribeProject.go.snap | 1 - .../snapshot/api_op_DetectAnomalies.go.snap | 1 - .../api_op_ListDatasetEntries.go.snap | 1 - .../api_op_ListModelPackagingJobs.go.snap | 1 - .../snapshot/api_op_ListModels.go.snap | 1 - .../snapshot/api_op_ListProjects.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_StartModel.go.snap | 1 - .../api_op_StartModelPackagingJob.go.snap | 1 - .../snapshot/api_op_StopModel.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateDatasetEntries.go.snap | 1 - service/m2/api_client.go | 31 -- service/m2/api_op_CancelBatchJobExecution.go | 3 - service/m2/api_op_CreateApplication.go | 3 - service/m2/api_op_CreateDataSetImportTask.go | 3 - service/m2/api_op_CreateDeployment.go | 3 - service/m2/api_op_CreateEnvironment.go | 3 - service/m2/api_op_DeleteApplication.go | 3 - ...api_op_DeleteApplicationFromEnvironment.go | 3 - service/m2/api_op_DeleteEnvironment.go | 3 - service/m2/api_op_GetApplication.go | 3 - service/m2/api_op_GetApplicationVersion.go | 3 - service/m2/api_op_GetBatchJobExecution.go | 3 - service/m2/api_op_GetDataSetDetails.go | 3 - service/m2/api_op_GetDataSetImportTask.go | 3 - service/m2/api_op_GetDeployment.go | 3 - service/m2/api_op_GetEnvironment.go | 3 - service/m2/api_op_GetSignedBluinsightsUrl.go | 3 - service/m2/api_op_ListApplicationVersions.go | 3 - service/m2/api_op_ListApplications.go | 3 - service/m2/api_op_ListBatchJobDefinitions.go | 3 - service/m2/api_op_ListBatchJobExecutions.go | 3 - .../m2/api_op_ListBatchJobRestartPoints.go | 3 - service/m2/api_op_ListDataSetImportHistory.go | 3 - service/m2/api_op_ListDataSets.go | 3 - service/m2/api_op_ListDeployments.go | 3 - service/m2/api_op_ListEngineVersions.go | 3 - service/m2/api_op_ListEnvironments.go | 3 - service/m2/api_op_ListTagsForResource.go | 3 - service/m2/api_op_StartApplication.go | 3 - service/m2/api_op_StartBatchJob.go | 3 - service/m2/api_op_StopApplication.go | 3 - service/m2/api_op_TagResource.go | 3 - service/m2/api_op_UntagResource.go | 3 - service/m2/api_op_UpdateApplication.go | 3 - service/m2/api_op_UpdateEnvironment.go | 3 - .../api_op_CancelBatchJobExecution.go.snap | 1 - .../snapshot/api_op_CreateApplication.go.snap | 1 - .../api_op_CreateDataSetImportTask.go.snap | 1 - .../snapshot/api_op_CreateDeployment.go.snap | 1 - .../snapshot/api_op_CreateEnvironment.go.snap | 1 - .../snapshot/api_op_DeleteApplication.go.snap | 1 - ...p_DeleteApplicationFromEnvironment.go.snap | 1 - .../snapshot/api_op_DeleteEnvironment.go.snap | 1 - .../m2/snapshot/api_op_GetApplication.go.snap | 1 - .../api_op_GetApplicationVersion.go.snap | 1 - .../api_op_GetBatchJobExecution.go.snap | 1 - .../snapshot/api_op_GetDataSetDetails.go.snap | 1 - .../api_op_GetDataSetImportTask.go.snap | 1 - .../m2/snapshot/api_op_GetDeployment.go.snap | 1 - .../m2/snapshot/api_op_GetEnvironment.go.snap | 1 - .../api_op_GetSignedBluinsightsUrl.go.snap | 1 - .../api_op_ListApplicationVersions.go.snap | 1 - .../snapshot/api_op_ListApplications.go.snap | 1 - .../api_op_ListBatchJobDefinitions.go.snap | 1 - .../api_op_ListBatchJobExecutions.go.snap | 1 - .../api_op_ListBatchJobRestartPoints.go.snap | 1 - .../api_op_ListDataSetImportHistory.go.snap | 1 - .../m2/snapshot/api_op_ListDataSets.go.snap | 1 - .../snapshot/api_op_ListDeployments.go.snap | 1 - .../api_op_ListEngineVersions.go.snap | 1 - .../snapshot/api_op_ListEnvironments.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_StartApplication.go.snap | 1 - .../m2/snapshot/api_op_StartBatchJob.go.snap | 1 - .../snapshot/api_op_StopApplication.go.snap | 1 - .../m2/snapshot/api_op_TagResource.go.snap | 1 - .../m2/snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateApplication.go.snap | 1 - .../snapshot/api_op_UpdateEnvironment.go.snap | 1 - service/machinelearning/api_client.go | 31 -- service/machinelearning/api_op_AddTags.go | 3 - .../api_op_CreateBatchPrediction.go | 3 - .../api_op_CreateDataSourceFromRDS.go | 3 - .../api_op_CreateDataSourceFromRedshift.go | 3 - .../api_op_CreateDataSourceFromS3.go | 3 - .../api_op_CreateEvaluation.go | 3 - .../machinelearning/api_op_CreateMLModel.go | 3 - .../api_op_CreateRealtimeEndpoint.go | 3 - .../api_op_DeleteBatchPrediction.go | 3 - .../api_op_DeleteDataSource.go | 3 - .../api_op_DeleteEvaluation.go | 3 - .../machinelearning/api_op_DeleteMLModel.go | 3 - .../api_op_DeleteRealtimeEndpoint.go | 3 - service/machinelearning/api_op_DeleteTags.go | 3 - .../api_op_DescribeBatchPredictions.go | 3 - .../api_op_DescribeDataSources.go | 3 - .../api_op_DescribeEvaluations.go | 3 - .../api_op_DescribeMLModels.go | 3 - .../machinelearning/api_op_DescribeTags.go | 3 - .../api_op_GetBatchPrediction.go | 3 - .../machinelearning/api_op_GetDataSource.go | 3 - .../machinelearning/api_op_GetEvaluation.go | 3 - service/machinelearning/api_op_GetMLModel.go | 3 - service/machinelearning/api_op_Predict.go | 3 - .../api_op_UpdateBatchPrediction.go | 3 - .../api_op_UpdateDataSource.go | 3 - .../api_op_UpdateEvaluation.go | 3 - .../machinelearning/api_op_UpdateMLModel.go | 3 - .../snapshot/api_op_AddTags.go.snap | 1 - .../api_op_CreateBatchPrediction.go.snap | 1 - .../api_op_CreateDataSourceFromRDS.go.snap | 1 - ...pi_op_CreateDataSourceFromRedshift.go.snap | 1 - .../api_op_CreateDataSourceFromS3.go.snap | 1 - .../snapshot/api_op_CreateEvaluation.go.snap | 1 - .../snapshot/api_op_CreateMLModel.go.snap | 1 - .../api_op_CreateRealtimeEndpoint.go.snap | 1 - .../api_op_DeleteBatchPrediction.go.snap | 1 - .../snapshot/api_op_DeleteDataSource.go.snap | 1 - .../snapshot/api_op_DeleteEvaluation.go.snap | 1 - .../snapshot/api_op_DeleteMLModel.go.snap | 1 - .../api_op_DeleteRealtimeEndpoint.go.snap | 1 - .../snapshot/api_op_DeleteTags.go.snap | 1 - .../api_op_DescribeBatchPredictions.go.snap | 1 - .../api_op_DescribeDataSources.go.snap | 1 - .../api_op_DescribeEvaluations.go.snap | 1 - .../snapshot/api_op_DescribeMLModels.go.snap | 1 - .../snapshot/api_op_DescribeTags.go.snap | 1 - .../api_op_GetBatchPrediction.go.snap | 1 - .../snapshot/api_op_GetDataSource.go.snap | 1 - .../snapshot/api_op_GetEvaluation.go.snap | 1 - .../snapshot/api_op_GetMLModel.go.snap | 1 - .../snapshot/api_op_Predict.go.snap | 1 - .../api_op_UpdateBatchPrediction.go.snap | 1 - .../snapshot/api_op_UpdateDataSource.go.snap | 1 - .../snapshot/api_op_UpdateEvaluation.go.snap | 1 - .../snapshot/api_op_UpdateMLModel.go.snap | 1 - service/macie2/api_client.go | 31 -- service/macie2/api_op_AcceptInvitation.go | 3 - .../api_op_BatchGetCustomDataIdentifiers.go | 3 - ...p_BatchUpdateAutomatedDiscoveryAccounts.go | 3 - service/macie2/api_op_CreateAllowList.go | 3 - .../macie2/api_op_CreateClassificationJob.go | 3 - .../api_op_CreateCustomDataIdentifier.go | 3 - service/macie2/api_op_CreateFindingsFilter.go | 3 - service/macie2/api_op_CreateInvitations.go | 3 - service/macie2/api_op_CreateMember.go | 3 - service/macie2/api_op_CreateSampleFindings.go | 3 - service/macie2/api_op_DeclineInvitations.go | 3 - service/macie2/api_op_DeleteAllowList.go | 3 - .../api_op_DeleteCustomDataIdentifier.go | 3 - service/macie2/api_op_DeleteFindingsFilter.go | 3 - service/macie2/api_op_DeleteInvitations.go | 3 - service/macie2/api_op_DeleteMember.go | 3 - service/macie2/api_op_DescribeBuckets.go | 3 - .../api_op_DescribeClassificationJob.go | 3 - ...pi_op_DescribeOrganizationConfiguration.go | 3 - service/macie2/api_op_DisableMacie.go | 3 - .../api_op_DisableOrganizationAdminAccount.go | 3 - ...op_DisassociateFromAdministratorAccount.go | 3 - .../api_op_DisassociateFromMasterAccount.go | 3 - service/macie2/api_op_DisassociateMember.go | 3 - service/macie2/api_op_EnableMacie.go | 3 - .../api_op_EnableOrganizationAdminAccount.go | 3 - .../macie2/api_op_GetAdministratorAccount.go | 3 - service/macie2/api_op_GetAllowList.go | 3 - ...i_op_GetAutomatedDiscoveryConfiguration.go | 3 - service/macie2/api_op_GetBucketStatistics.go | 3 - ...op_GetClassificationExportConfiguration.go | 3 - .../macie2/api_op_GetClassificationScope.go | 3 - .../macie2/api_op_GetCustomDataIdentifier.go | 3 - service/macie2/api_op_GetFindingStatistics.go | 3 - service/macie2/api_op_GetFindings.go | 3 - service/macie2/api_op_GetFindingsFilter.go | 3 - ..._op_GetFindingsPublicationConfiguration.go | 3 - service/macie2/api_op_GetInvitationsCount.go | 3 - service/macie2/api_op_GetMacieSession.go | 3 - service/macie2/api_op_GetMasterAccount.go | 3 - service/macie2/api_op_GetMember.go | 3 - service/macie2/api_op_GetResourceProfile.go | 3 - .../macie2/api_op_GetRevealConfiguration.go | 3 - .../api_op_GetSensitiveDataOccurrences.go | 3 - ...GetSensitiveDataOccurrencesAvailability.go | 3 - ...api_op_GetSensitivityInspectionTemplate.go | 3 - service/macie2/api_op_GetUsageStatistics.go | 3 - service/macie2/api_op_GetUsageTotals.go | 3 - service/macie2/api_op_ListAllowLists.go | 3 - .../api_op_ListAutomatedDiscoveryAccounts.go | 3 - .../macie2/api_op_ListClassificationJobs.go | 3 - .../macie2/api_op_ListClassificationScopes.go | 3 - .../api_op_ListCustomDataIdentifiers.go | 3 - service/macie2/api_op_ListFindings.go | 3 - service/macie2/api_op_ListFindingsFilters.go | 3 - service/macie2/api_op_ListInvitations.go | 3 - .../api_op_ListManagedDataIdentifiers.go | 3 - service/macie2/api_op_ListMembers.go | 3 - .../api_op_ListOrganizationAdminAccounts.go | 3 - .../api_op_ListResourceProfileArtifacts.go | 3 - .../api_op_ListResourceProfileDetections.go | 3 - ...i_op_ListSensitivityInspectionTemplates.go | 3 - service/macie2/api_op_ListTagsForResource.go | 3 - ...op_PutClassificationExportConfiguration.go | 3 - ..._op_PutFindingsPublicationConfiguration.go | 3 - service/macie2/api_op_SearchResources.go | 3 - service/macie2/api_op_TagResource.go | 3 - .../macie2/api_op_TestCustomDataIdentifier.go | 3 - service/macie2/api_op_UntagResource.go | 3 - service/macie2/api_op_UpdateAllowList.go | 3 - ...p_UpdateAutomatedDiscoveryConfiguration.go | 3 - .../macie2/api_op_UpdateClassificationJob.go | 3 - .../api_op_UpdateClassificationScope.go | 3 - service/macie2/api_op_UpdateFindingsFilter.go | 3 - service/macie2/api_op_UpdateMacieSession.go | 3 - service/macie2/api_op_UpdateMemberSession.go | 3 - .../api_op_UpdateOrganizationConfiguration.go | 3 - .../macie2/api_op_UpdateResourceProfile.go | 3 - .../api_op_UpdateResourceProfileDetections.go | 3 - .../api_op_UpdateRevealConfiguration.go | 3 - ..._op_UpdateSensitivityInspectionTemplate.go | 3 - .../snapshot/api_op_AcceptInvitation.go.snap | 1 - ...i_op_BatchGetCustomDataIdentifiers.go.snap | 1 - ...chUpdateAutomatedDiscoveryAccounts.go.snap | 1 - .../snapshot/api_op_CreateAllowList.go.snap | 1 - .../api_op_CreateClassificationJob.go.snap | 1 - .../api_op_CreateCustomDataIdentifier.go.snap | 1 - .../api_op_CreateFindingsFilter.go.snap | 1 - .../snapshot/api_op_CreateInvitations.go.snap | 1 - .../snapshot/api_op_CreateMember.go.snap | 1 - .../api_op_CreateSampleFindings.go.snap | 1 - .../api_op_DeclineInvitations.go.snap | 1 - .../snapshot/api_op_DeleteAllowList.go.snap | 1 - .../api_op_DeleteCustomDataIdentifier.go.snap | 1 - .../api_op_DeleteFindingsFilter.go.snap | 1 - .../snapshot/api_op_DeleteInvitations.go.snap | 1 - .../snapshot/api_op_DeleteMember.go.snap | 1 - .../snapshot/api_op_DescribeBuckets.go.snap | 1 - .../api_op_DescribeClassificationJob.go.snap | 1 - ..._DescribeOrganizationConfiguration.go.snap | 1 - .../snapshot/api_op_DisableMacie.go.snap | 1 - ...op_DisableOrganizationAdminAccount.go.snap | 1 - ...sassociateFromAdministratorAccount.go.snap | 1 - ...i_op_DisassociateFromMasterAccount.go.snap | 1 - .../api_op_DisassociateMember.go.snap | 1 - .../snapshot/api_op_EnableMacie.go.snap | 1 - ..._op_EnableOrganizationAdminAccount.go.snap | 1 - .../api_op_GetAdministratorAccount.go.snap | 1 - .../snapshot/api_op_GetAllowList.go.snap | 1 - ...GetAutomatedDiscoveryConfiguration.go.snap | 1 - .../api_op_GetBucketStatistics.go.snap | 1 - ...tClassificationExportConfiguration.go.snap | 1 - .../api_op_GetClassificationScope.go.snap | 1 - .../api_op_GetCustomDataIdentifier.go.snap | 1 - .../api_op_GetFindingStatistics.go.snap | 1 - .../snapshot/api_op_GetFindings.go.snap | 1 - .../snapshot/api_op_GetFindingsFilter.go.snap | 1 - ...etFindingsPublicationConfiguration.go.snap | 1 - .../api_op_GetInvitationsCount.go.snap | 1 - .../snapshot/api_op_GetMacieSession.go.snap | 1 - .../snapshot/api_op_GetMasterAccount.go.snap | 1 - .../macie2/snapshot/api_op_GetMember.go.snap | 1 - .../api_op_GetResourceProfile.go.snap | 1 - .../api_op_GetRevealConfiguration.go.snap | 1 - ...api_op_GetSensitiveDataOccurrences.go.snap | 1 - ...nsitiveDataOccurrencesAvailability.go.snap | 1 - ...p_GetSensitivityInspectionTemplate.go.snap | 1 - .../api_op_GetUsageStatistics.go.snap | 1 - .../snapshot/api_op_GetUsageTotals.go.snap | 1 - .../snapshot/api_op_ListAllowLists.go.snap | 1 - ..._op_ListAutomatedDiscoveryAccounts.go.snap | 1 - .../api_op_ListClassificationJobs.go.snap | 1 - .../api_op_ListClassificationScopes.go.snap | 1 - .../api_op_ListCustomDataIdentifiers.go.snap | 1 - .../snapshot/api_op_ListFindings.go.snap | 1 - .../api_op_ListFindingsFilters.go.snap | 1 - .../snapshot/api_op_ListInvitations.go.snap | 1 - .../api_op_ListManagedDataIdentifiers.go.snap | 1 - .../snapshot/api_op_ListMembers.go.snap | 1 - ...i_op_ListOrganizationAdminAccounts.go.snap | 1 - ...pi_op_ListResourceProfileArtifacts.go.snap | 1 - ...i_op_ListResourceProfileDetections.go.snap | 1 - ...ListSensitivityInspectionTemplates.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - ...tClassificationExportConfiguration.go.snap | 1 - ...utFindingsPublicationConfiguration.go.snap | 1 - .../snapshot/api_op_SearchResources.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../api_op_TestCustomDataIdentifier.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateAllowList.go.snap | 1 - ...ateAutomatedDiscoveryConfiguration.go.snap | 1 - .../api_op_UpdateClassificationJob.go.snap | 1 - .../api_op_UpdateClassificationScope.go.snap | 1 - .../api_op_UpdateFindingsFilter.go.snap | 1 - .../api_op_UpdateMacieSession.go.snap | 1 - .../api_op_UpdateMemberSession.go.snap | 1 - ...op_UpdateOrganizationConfiguration.go.snap | 1 - .../api_op_UpdateResourceProfile.go.snap | 1 - ...op_UpdateResourceProfileDetections.go.snap | 1 - .../api_op_UpdateRevealConfiguration.go.snap | 1 - ...pdateSensitivityInspectionTemplate.go.snap | 1 - service/mailmanager/api_client.go | 31 -- .../mailmanager/api_op_CreateAddonInstance.go | 3 - .../api_op_CreateAddonSubscription.go | 3 - .../mailmanager/api_op_CreateAddressList.go | 3 - .../api_op_CreateAddressListImportJob.go | 3 - service/mailmanager/api_op_CreateArchive.go | 3 - .../mailmanager/api_op_CreateIngressPoint.go | 3 - service/mailmanager/api_op_CreateRelay.go | 3 - service/mailmanager/api_op_CreateRuleSet.go | 3 - .../mailmanager/api_op_CreateTrafficPolicy.go | 3 - .../mailmanager/api_op_DeleteAddonInstance.go | 3 - .../api_op_DeleteAddonSubscription.go | 3 - .../mailmanager/api_op_DeleteAddressList.go | 3 - service/mailmanager/api_op_DeleteArchive.go | 3 - .../mailmanager/api_op_DeleteIngressPoint.go | 3 - service/mailmanager/api_op_DeleteRelay.go | 3 - service/mailmanager/api_op_DeleteRuleSet.go | 3 - .../mailmanager/api_op_DeleteTrafficPolicy.go | 3 - .../api_op_DeregisterMemberFromAddressList.go | 3 - .../mailmanager/api_op_GetAddonInstance.go | 3 - .../api_op_GetAddonSubscription.go | 3 - service/mailmanager/api_op_GetAddressList.go | 3 - .../api_op_GetAddressListImportJob.go | 3 - service/mailmanager/api_op_GetArchive.go | 3 - .../mailmanager/api_op_GetArchiveExport.go | 3 - .../mailmanager/api_op_GetArchiveMessage.go | 3 - .../api_op_GetArchiveMessageContent.go | 3 - .../mailmanager/api_op_GetArchiveSearch.go | 3 - .../api_op_GetArchiveSearchResults.go | 3 - service/mailmanager/api_op_GetIngressPoint.go | 3 - .../api_op_GetMemberOfAddressList.go | 3 - service/mailmanager/api_op_GetRelay.go | 3 - service/mailmanager/api_op_GetRuleSet.go | 3 - .../mailmanager/api_op_GetTrafficPolicy.go | 3 - .../mailmanager/api_op_ListAddonInstances.go | 3 - .../api_op_ListAddonSubscriptions.go | 3 - .../api_op_ListAddressListImportJobs.go | 3 - .../mailmanager/api_op_ListAddressLists.go | 3 - .../mailmanager/api_op_ListArchiveExports.go | 3 - .../mailmanager/api_op_ListArchiveSearches.go | 3 - service/mailmanager/api_op_ListArchives.go | 3 - .../mailmanager/api_op_ListIngressPoints.go | 3 - .../api_op_ListMembersOfAddressList.go | 3 - service/mailmanager/api_op_ListRelays.go | 3 - service/mailmanager/api_op_ListRuleSets.go | 3 - .../mailmanager/api_op_ListTagsForResource.go | 3 - .../mailmanager/api_op_ListTrafficPolicies.go | 3 - .../api_op_RegisterMemberToAddressList.go | 3 - .../api_op_StartAddressListImportJob.go | 3 - .../mailmanager/api_op_StartArchiveExport.go | 3 - .../mailmanager/api_op_StartArchiveSearch.go | 3 - .../api_op_StopAddressListImportJob.go | 3 - .../mailmanager/api_op_StopArchiveExport.go | 3 - .../mailmanager/api_op_StopArchiveSearch.go | 3 - service/mailmanager/api_op_TagResource.go | 3 - service/mailmanager/api_op_UntagResource.go | 3 - service/mailmanager/api_op_UpdateArchive.go | 3 - .../mailmanager/api_op_UpdateIngressPoint.go | 3 - service/mailmanager/api_op_UpdateRelay.go | 3 - service/mailmanager/api_op_UpdateRuleSet.go | 3 - .../mailmanager/api_op_UpdateTrafficPolicy.go | 3 - .../api_op_CreateAddonInstance.go.snap | 1 - .../api_op_CreateAddonSubscription.go.snap | 1 - .../snapshot/api_op_CreateAddressList.go.snap | 1 - .../api_op_CreateAddressListImportJob.go.snap | 1 - .../snapshot/api_op_CreateArchive.go.snap | 1 - .../api_op_CreateIngressPoint.go.snap | 1 - .../snapshot/api_op_CreateRelay.go.snap | 1 - .../snapshot/api_op_CreateRuleSet.go.snap | 1 - .../api_op_CreateTrafficPolicy.go.snap | 1 - .../api_op_DeleteAddonInstance.go.snap | 1 - .../api_op_DeleteAddonSubscription.go.snap | 1 - .../snapshot/api_op_DeleteAddressList.go.snap | 1 - .../snapshot/api_op_DeleteArchive.go.snap | 1 - .../api_op_DeleteIngressPoint.go.snap | 1 - .../snapshot/api_op_DeleteRelay.go.snap | 1 - .../snapshot/api_op_DeleteRuleSet.go.snap | 1 - .../api_op_DeleteTrafficPolicy.go.snap | 1 - ...op_DeregisterMemberFromAddressList.go.snap | 1 - .../snapshot/api_op_GetAddonInstance.go.snap | 1 - .../api_op_GetAddonSubscription.go.snap | 1 - .../snapshot/api_op_GetAddressList.go.snap | 1 - .../api_op_GetAddressListImportJob.go.snap | 1 - .../snapshot/api_op_GetArchive.go.snap | 1 - .../snapshot/api_op_GetArchiveExport.go.snap | 1 - .../snapshot/api_op_GetArchiveMessage.go.snap | 1 - .../api_op_GetArchiveMessageContent.go.snap | 1 - .../snapshot/api_op_GetArchiveSearch.go.snap | 1 - .../api_op_GetArchiveSearchResults.go.snap | 1 - .../snapshot/api_op_GetIngressPoint.go.snap | 1 - .../api_op_GetMemberOfAddressList.go.snap | 1 - .../snapshot/api_op_GetRelay.go.snap | 1 - .../snapshot/api_op_GetRuleSet.go.snap | 1 - .../snapshot/api_op_GetTrafficPolicy.go.snap | 1 - .../api_op_ListAddonInstances.go.snap | 1 - .../api_op_ListAddonSubscriptions.go.snap | 1 - .../api_op_ListAddressListImportJobs.go.snap | 1 - .../snapshot/api_op_ListAddressLists.go.snap | 1 - .../api_op_ListArchiveExports.go.snap | 1 - .../api_op_ListArchiveSearches.go.snap | 1 - .../snapshot/api_op_ListArchives.go.snap | 1 - .../snapshot/api_op_ListIngressPoints.go.snap | 1 - .../api_op_ListMembersOfAddressList.go.snap | 1 - .../snapshot/api_op_ListRelays.go.snap | 1 - .../snapshot/api_op_ListRuleSets.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListTrafficPolicies.go.snap | 1 - ...api_op_RegisterMemberToAddressList.go.snap | 1 - .../api_op_StartAddressListImportJob.go.snap | 1 - .../api_op_StartArchiveExport.go.snap | 1 - .../api_op_StartArchiveSearch.go.snap | 1 - .../api_op_StopAddressListImportJob.go.snap | 1 - .../snapshot/api_op_StopArchiveExport.go.snap | 1 - .../snapshot/api_op_StopArchiveSearch.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateArchive.go.snap | 1 - .../api_op_UpdateIngressPoint.go.snap | 1 - .../snapshot/api_op_UpdateRelay.go.snap | 1 - .../snapshot/api_op_UpdateRuleSet.go.snap | 1 - .../api_op_UpdateTrafficPolicy.go.snap | 1 - service/managedblockchain/api_client.go | 31 -- .../api_op_CreateAccessor.go | 3 - .../managedblockchain/api_op_CreateMember.go | 3 - .../managedblockchain/api_op_CreateNetwork.go | 3 - .../managedblockchain/api_op_CreateNode.go | 3 - .../api_op_CreateProposal.go | 3 - .../api_op_DeleteAccessor.go | 3 - .../managedblockchain/api_op_DeleteMember.go | 3 - .../managedblockchain/api_op_DeleteNode.go | 3 - .../managedblockchain/api_op_GetAccessor.go | 3 - service/managedblockchain/api_op_GetMember.go | 3 - .../managedblockchain/api_op_GetNetwork.go | 3 - service/managedblockchain/api_op_GetNode.go | 3 - .../managedblockchain/api_op_GetProposal.go | 3 - .../managedblockchain/api_op_ListAccessors.go | 3 - .../api_op_ListInvitations.go | 3 - .../managedblockchain/api_op_ListMembers.go | 3 - .../managedblockchain/api_op_ListNetworks.go | 3 - service/managedblockchain/api_op_ListNodes.go | 3 - .../api_op_ListProposalVotes.go | 3 - .../managedblockchain/api_op_ListProposals.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_RejectInvitation.go | 3 - .../managedblockchain/api_op_TagResource.go | 3 - .../managedblockchain/api_op_UntagResource.go | 3 - .../managedblockchain/api_op_UpdateMember.go | 3 - .../managedblockchain/api_op_UpdateNode.go | 3 - .../api_op_VoteOnProposal.go | 3 - .../snapshot/api_op_CreateAccessor.go.snap | 1 - .../snapshot/api_op_CreateMember.go.snap | 1 - .../snapshot/api_op_CreateNetwork.go.snap | 1 - .../snapshot/api_op_CreateNode.go.snap | 1 - .../snapshot/api_op_CreateProposal.go.snap | 1 - .../snapshot/api_op_DeleteAccessor.go.snap | 1 - .../snapshot/api_op_DeleteMember.go.snap | 1 - .../snapshot/api_op_DeleteNode.go.snap | 1 - .../snapshot/api_op_GetAccessor.go.snap | 1 - .../snapshot/api_op_GetMember.go.snap | 1 - .../snapshot/api_op_GetNetwork.go.snap | 1 - .../snapshot/api_op_GetNode.go.snap | 1 - .../snapshot/api_op_GetProposal.go.snap | 1 - .../snapshot/api_op_ListAccessors.go.snap | 1 - .../snapshot/api_op_ListInvitations.go.snap | 1 - .../snapshot/api_op_ListMembers.go.snap | 1 - .../snapshot/api_op_ListNetworks.go.snap | 1 - .../snapshot/api_op_ListNodes.go.snap | 1 - .../snapshot/api_op_ListProposalVotes.go.snap | 1 - .../snapshot/api_op_ListProposals.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_RejectInvitation.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateMember.go.snap | 1 - .../snapshot/api_op_UpdateNode.go.snap | 1 - .../snapshot/api_op_VoteOnProposal.go.snap | 1 - service/managedblockchainquery/api_client.go | 31 -- .../api_op_BatchGetTokenBalance.go | 3 - .../api_op_GetAssetContract.go | 3 - .../api_op_GetTokenBalance.go | 3 - .../api_op_GetTransaction.go | 3 - .../api_op_ListAssetContracts.go | 3 - .../api_op_ListFilteredTransactionEvents.go | 3 - .../api_op_ListTokenBalances.go | 3 - .../api_op_ListTransactionEvents.go | 3 - .../api_op_ListTransactions.go | 3 - .../api_op_BatchGetTokenBalance.go.snap | 1 - .../snapshot/api_op_GetAssetContract.go.snap | 1 - .../snapshot/api_op_GetTokenBalance.go.snap | 1 - .../snapshot/api_op_GetTransaction.go.snap | 1 - .../api_op_ListAssetContracts.go.snap | 1 - ...i_op_ListFilteredTransactionEvents.go.snap | 1 - .../snapshot/api_op_ListTokenBalances.go.snap | 1 - .../api_op_ListTransactionEvents.go.snap | 1 - .../snapshot/api_op_ListTransactions.go.snap | 1 - service/marketplaceagreement/api_client.go | 31 -- .../api_op_DescribeAgreement.go | 3 - .../api_op_GetAgreementTerms.go | 3 - .../api_op_SearchAgreements.go | 3 - .../snapshot/api_op_DescribeAgreement.go.snap | 1 - .../snapshot/api_op_GetAgreementTerms.go.snap | 1 - .../snapshot/api_op_SearchAgreements.go.snap | 1 - service/marketplacecatalog/api_client.go | 31 -- .../api_op_BatchDescribeEntities.go | 3 - .../api_op_CancelChangeSet.go | 3 - .../api_op_DeleteResourcePolicy.go | 3 - .../api_op_DescribeChangeSet.go | 3 - .../api_op_DescribeEntity.go | 3 - .../api_op_GetResourcePolicy.go | 3 - .../api_op_ListChangeSets.go | 3 - .../marketplacecatalog/api_op_ListEntities.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_PutResourcePolicy.go | 3 - .../api_op_StartChangeSet.go | 3 - .../marketplacecatalog/api_op_TagResource.go | 3 - .../api_op_UntagResource.go | 3 - .../api_op_BatchDescribeEntities.go.snap | 1 - .../snapshot/api_op_CancelChangeSet.go.snap | 1 - .../api_op_DeleteResourcePolicy.go.snap | 1 - .../snapshot/api_op_DescribeChangeSet.go.snap | 1 - .../snapshot/api_op_DescribeEntity.go.snap | 1 - .../snapshot/api_op_GetResourcePolicy.go.snap | 1 - .../snapshot/api_op_ListChangeSets.go.snap | 1 - .../snapshot/api_op_ListEntities.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_PutResourcePolicy.go.snap | 1 - .../snapshot/api_op_StartChangeSet.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_client.go | 31 -- .../api_op_GenerateDataSet.go | 3 - .../api_op_StartSupportDataExport.go | 3 - .../snapshot/api_op_GenerateDataSet.go.snap | 1 - .../api_op_StartSupportDataExport.go.snap | 1 - service/marketplacedeployment/api_client.go | 31 -- .../api_op_ListTagsForResource.go | 3 - .../api_op_PutDeploymentParameter.go | 3 - .../api_op_TagResource.go | 3 - .../api_op_UntagResource.go | 3 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_PutDeploymentParameter.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_client.go | 31 -- .../api_op_GetEntitlements.go | 3 - .../snapshot/api_op_GetEntitlements.go.snap | 1 - service/marketplacemetering/api_client.go | 31 -- .../api_op_BatchMeterUsage.go | 3 - .../marketplacemetering/api_op_MeterUsage.go | 3 - .../api_op_RegisterUsage.go | 3 - .../api_op_ResolveCustomer.go | 3 - .../snapshot/api_op_BatchMeterUsage.go.snap | 1 - .../snapshot/api_op_MeterUsage.go.snap | 1 - .../snapshot/api_op_RegisterUsage.go.snap | 1 - .../snapshot/api_op_ResolveCustomer.go.snap | 1 - service/marketplacereporting/api_client.go | 31 -- .../api_op_GetBuyerDashboard.go | 3 - .../snapshot/api_op_GetBuyerDashboard.go.snap | 1 - service/mediaconnect/api_client.go | 31 -- .../mediaconnect/api_op_AddBridgeOutputs.go | 3 - .../mediaconnect/api_op_AddBridgeSources.go | 3 - .../api_op_AddFlowMediaStreams.go | 3 - service/mediaconnect/api_op_AddFlowOutputs.go | 3 - service/mediaconnect/api_op_AddFlowSources.go | 3 - .../api_op_AddFlowVpcInterfaces.go | 3 - service/mediaconnect/api_op_CreateBridge.go | 3 - service/mediaconnect/api_op_CreateFlow.go | 3 - service/mediaconnect/api_op_CreateGateway.go | 3 - service/mediaconnect/api_op_DeleteBridge.go | 3 - service/mediaconnect/api_op_DeleteFlow.go | 3 - service/mediaconnect/api_op_DeleteGateway.go | 3 - .../api_op_DeregisterGatewayInstance.go | 3 - service/mediaconnect/api_op_DescribeBridge.go | 3 - service/mediaconnect/api_op_DescribeFlow.go | 3 - .../api_op_DescribeFlowSourceMetadata.go | 3 - .../api_op_DescribeFlowSourceThumbnail.go | 3 - .../mediaconnect/api_op_DescribeGateway.go | 3 - .../api_op_DescribeGatewayInstance.go | 3 - .../mediaconnect/api_op_DescribeOffering.go | 3 - .../api_op_DescribeReservation.go | 3 - .../api_op_GrantFlowEntitlements.go | 3 - service/mediaconnect/api_op_ListBridges.go | 3 - .../mediaconnect/api_op_ListEntitlements.go | 3 - service/mediaconnect/api_op_ListFlows.go | 3 - .../api_op_ListGatewayInstances.go | 3 - service/mediaconnect/api_op_ListGateways.go | 3 - service/mediaconnect/api_op_ListOfferings.go | 3 - .../mediaconnect/api_op_ListReservations.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../mediaconnect/api_op_PurchaseOffering.go | 3 - .../mediaconnect/api_op_RemoveBridgeOutput.go | 3 - .../mediaconnect/api_op_RemoveBridgeSource.go | 3 - .../api_op_RemoveFlowMediaStream.go | 3 - .../mediaconnect/api_op_RemoveFlowOutput.go | 3 - .../mediaconnect/api_op_RemoveFlowSource.go | 3 - .../api_op_RemoveFlowVpcInterface.go | 3 - .../api_op_RevokeFlowEntitlement.go | 3 - service/mediaconnect/api_op_StartFlow.go | 3 - service/mediaconnect/api_op_StopFlow.go | 3 - service/mediaconnect/api_op_TagResource.go | 3 - service/mediaconnect/api_op_UntagResource.go | 3 - service/mediaconnect/api_op_UpdateBridge.go | 3 - .../mediaconnect/api_op_UpdateBridgeOutput.go | 3 - .../mediaconnect/api_op_UpdateBridgeSource.go | 3 - .../mediaconnect/api_op_UpdateBridgeState.go | 3 - service/mediaconnect/api_op_UpdateFlow.go | 3 - .../api_op_UpdateFlowEntitlement.go | 3 - .../api_op_UpdateFlowMediaStream.go | 3 - .../mediaconnect/api_op_UpdateFlowOutput.go | 3 - .../mediaconnect/api_op_UpdateFlowSource.go | 3 - .../api_op_UpdateGatewayInstance.go | 3 - .../snapshot/api_op_AddBridgeOutputs.go.snap | 1 - .../snapshot/api_op_AddBridgeSources.go.snap | 1 - .../api_op_AddFlowMediaStreams.go.snap | 1 - .../snapshot/api_op_AddFlowOutputs.go.snap | 1 - .../snapshot/api_op_AddFlowSources.go.snap | 1 - .../api_op_AddFlowVpcInterfaces.go.snap | 1 - .../snapshot/api_op_CreateBridge.go.snap | 1 - .../snapshot/api_op_CreateFlow.go.snap | 1 - .../snapshot/api_op_CreateGateway.go.snap | 1 - .../snapshot/api_op_DeleteBridge.go.snap | 1 - .../snapshot/api_op_DeleteFlow.go.snap | 1 - .../snapshot/api_op_DeleteGateway.go.snap | 1 - .../api_op_DeregisterGatewayInstance.go.snap | 1 - .../snapshot/api_op_DescribeBridge.go.snap | 1 - .../snapshot/api_op_DescribeFlow.go.snap | 1 - .../api_op_DescribeFlowSourceMetadata.go.snap | 1 - ...api_op_DescribeFlowSourceThumbnail.go.snap | 1 - .../snapshot/api_op_DescribeGateway.go.snap | 1 - .../api_op_DescribeGatewayInstance.go.snap | 1 - .../snapshot/api_op_DescribeOffering.go.snap | 1 - .../api_op_DescribeReservation.go.snap | 1 - .../api_op_GrantFlowEntitlements.go.snap | 1 - .../snapshot/api_op_ListBridges.go.snap | 1 - .../snapshot/api_op_ListEntitlements.go.snap | 1 - .../snapshot/api_op_ListFlows.go.snap | 1 - .../api_op_ListGatewayInstances.go.snap | 1 - .../snapshot/api_op_ListGateways.go.snap | 1 - .../snapshot/api_op_ListOfferings.go.snap | 1 - .../snapshot/api_op_ListReservations.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_PurchaseOffering.go.snap | 1 - .../api_op_RemoveBridgeOutput.go.snap | 1 - .../api_op_RemoveBridgeSource.go.snap | 1 - .../api_op_RemoveFlowMediaStream.go.snap | 1 - .../snapshot/api_op_RemoveFlowOutput.go.snap | 1 - .../snapshot/api_op_RemoveFlowSource.go.snap | 1 - .../api_op_RemoveFlowVpcInterface.go.snap | 1 - .../api_op_RevokeFlowEntitlement.go.snap | 1 - .../snapshot/api_op_StartFlow.go.snap | 1 - .../snapshot/api_op_StopFlow.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateBridge.go.snap | 1 - .../api_op_UpdateBridgeOutput.go.snap | 1 - .../api_op_UpdateBridgeSource.go.snap | 1 - .../snapshot/api_op_UpdateBridgeState.go.snap | 1 - .../snapshot/api_op_UpdateFlow.go.snap | 1 - .../api_op_UpdateFlowEntitlement.go.snap | 1 - .../api_op_UpdateFlowMediaStream.go.snap | 1 - .../snapshot/api_op_UpdateFlowOutput.go.snap | 1 - .../snapshot/api_op_UpdateFlowSource.go.snap | 1 - .../api_op_UpdateGatewayInstance.go.snap | 1 - service/mediaconvert/api_client.go | 31 -- .../api_op_AssociateCertificate.go | 3 - service/mediaconvert/api_op_CancelJob.go | 3 - service/mediaconvert/api_op_CreateJob.go | 3 - .../mediaconvert/api_op_CreateJobTemplate.go | 3 - service/mediaconvert/api_op_CreatePreset.go | 3 - service/mediaconvert/api_op_CreateQueue.go | 3 - .../mediaconvert/api_op_DeleteJobTemplate.go | 3 - service/mediaconvert/api_op_DeletePolicy.go | 3 - service/mediaconvert/api_op_DeletePreset.go | 3 - service/mediaconvert/api_op_DeleteQueue.go | 3 - .../mediaconvert/api_op_DescribeEndpoints.go | 3 - .../api_op_DisassociateCertificate.go | 3 - service/mediaconvert/api_op_GetJob.go | 3 - service/mediaconvert/api_op_GetJobTemplate.go | 3 - service/mediaconvert/api_op_GetPolicy.go | 3 - service/mediaconvert/api_op_GetPreset.go | 3 - service/mediaconvert/api_op_GetQueue.go | 3 - .../mediaconvert/api_op_ListJobTemplates.go | 3 - service/mediaconvert/api_op_ListJobs.go | 3 - service/mediaconvert/api_op_ListPresets.go | 3 - service/mediaconvert/api_op_ListQueues.go | 3 - .../api_op_ListTagsForResource.go | 3 - service/mediaconvert/api_op_ListVersions.go | 3 - service/mediaconvert/api_op_PutPolicy.go | 3 - service/mediaconvert/api_op_SearchJobs.go | 3 - service/mediaconvert/api_op_TagResource.go | 3 - service/mediaconvert/api_op_UntagResource.go | 3 - .../mediaconvert/api_op_UpdateJobTemplate.go | 3 - service/mediaconvert/api_op_UpdatePreset.go | 3 - service/mediaconvert/api_op_UpdateQueue.go | 3 - .../api_op_AssociateCertificate.go.snap | 1 - .../snapshot/api_op_CancelJob.go.snap | 1 - .../snapshot/api_op_CreateJob.go.snap | 1 - .../snapshot/api_op_CreateJobTemplate.go.snap | 1 - .../snapshot/api_op_CreatePreset.go.snap | 1 - .../snapshot/api_op_CreateQueue.go.snap | 1 - .../snapshot/api_op_DeleteJobTemplate.go.snap | 1 - .../snapshot/api_op_DeletePolicy.go.snap | 1 - .../snapshot/api_op_DeletePreset.go.snap | 1 - .../snapshot/api_op_DeleteQueue.go.snap | 1 - .../snapshot/api_op_DescribeEndpoints.go.snap | 1 - .../api_op_DisassociateCertificate.go.snap | 1 - .../snapshot/api_op_GetJob.go.snap | 1 - .../snapshot/api_op_GetJobTemplate.go.snap | 1 - .../snapshot/api_op_GetPolicy.go.snap | 1 - .../snapshot/api_op_GetPreset.go.snap | 1 - .../snapshot/api_op_GetQueue.go.snap | 1 - .../snapshot/api_op_ListJobTemplates.go.snap | 1 - .../snapshot/api_op_ListJobs.go.snap | 1 - .../snapshot/api_op_ListPresets.go.snap | 1 - .../snapshot/api_op_ListQueues.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListVersions.go.snap | 1 - .../snapshot/api_op_PutPolicy.go.snap | 1 - .../snapshot/api_op_SearchJobs.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateJobTemplate.go.snap | 1 - .../snapshot/api_op_UpdatePreset.go.snap | 1 - .../snapshot/api_op_UpdateQueue.go.snap | 1 - service/medialive/api_client.go | 31 -- .../api_op_AcceptInputDeviceTransfer.go | 3 - service/medialive/api_op_BatchDelete.go | 3 - service/medialive/api_op_BatchStart.go | 3 - service/medialive/api_op_BatchStop.go | 3 - .../medialive/api_op_BatchUpdateSchedule.go | 3 - .../api_op_CancelInputDeviceTransfer.go | 3 - service/medialive/api_op_ClaimDevice.go | 3 - service/medialive/api_op_CreateChannel.go | 3 - .../api_op_CreateChannelPlacementGroup.go | 3 - .../api_op_CreateCloudWatchAlarmTemplate.go | 3 - ...i_op_CreateCloudWatchAlarmTemplateGroup.go | 3 - service/medialive/api_op_CreateCluster.go | 3 - .../api_op_CreateEventBridgeRuleTemplate.go | 3 - ...i_op_CreateEventBridgeRuleTemplateGroup.go | 3 - service/medialive/api_op_CreateInput.go | 3 - .../api_op_CreateInputSecurityGroup.go | 3 - service/medialive/api_op_CreateMultiplex.go | 3 - .../api_op_CreateMultiplexProgram.go | 3 - service/medialive/api_op_CreateNetwork.go | 3 - service/medialive/api_op_CreateNode.go | 3 - .../api_op_CreateNodeRegistrationScript.go | 3 - .../medialive/api_op_CreatePartnerInput.go | 3 - service/medialive/api_op_CreateSignalMap.go | 3 - service/medialive/api_op_CreateTags.go | 3 - service/medialive/api_op_DeleteChannel.go | 3 - .../api_op_DeleteChannelPlacementGroup.go | 3 - .../api_op_DeleteCloudWatchAlarmTemplate.go | 3 - ...i_op_DeleteCloudWatchAlarmTemplateGroup.go | 3 - service/medialive/api_op_DeleteCluster.go | 3 - .../api_op_DeleteEventBridgeRuleTemplate.go | 3 - ...i_op_DeleteEventBridgeRuleTemplateGroup.go | 3 - service/medialive/api_op_DeleteInput.go | 3 - .../api_op_DeleteInputSecurityGroup.go | 3 - service/medialive/api_op_DeleteMultiplex.go | 3 - .../api_op_DeleteMultiplexProgram.go | 3 - service/medialive/api_op_DeleteNetwork.go | 3 - service/medialive/api_op_DeleteNode.go | 3 - service/medialive/api_op_DeleteReservation.go | 3 - service/medialive/api_op_DeleteSchedule.go | 3 - service/medialive/api_op_DeleteSignalMap.go | 3 - service/medialive/api_op_DeleteTags.go | 3 - .../api_op_DescribeAccountConfiguration.go | 3 - service/medialive/api_op_DescribeChannel.go | 3 - .../api_op_DescribeChannelPlacementGroup.go | 3 - service/medialive/api_op_DescribeCluster.go | 3 - service/medialive/api_op_DescribeInput.go | 3 - .../medialive/api_op_DescribeInputDevice.go | 3 - .../api_op_DescribeInputDeviceThumbnail.go | 3 - .../api_op_DescribeInputSecurityGroup.go | 3 - service/medialive/api_op_DescribeMultiplex.go | 3 - .../api_op_DescribeMultiplexProgram.go | 3 - service/medialive/api_op_DescribeNetwork.go | 3 - service/medialive/api_op_DescribeNode.go | 3 - service/medialive/api_op_DescribeOffering.go | 3 - .../medialive/api_op_DescribeReservation.go | 3 - service/medialive/api_op_DescribeSchedule.go | 3 - .../medialive/api_op_DescribeThumbnails.go | 3 - .../api_op_GetCloudWatchAlarmTemplate.go | 3 - .../api_op_GetCloudWatchAlarmTemplateGroup.go | 3 - .../api_op_GetEventBridgeRuleTemplate.go | 3 - .../api_op_GetEventBridgeRuleTemplateGroup.go | 3 - service/medialive/api_op_GetSignalMap.go | 3 - .../api_op_ListChannelPlacementGroups.go | 3 - service/medialive/api_op_ListChannels.go | 3 - ...pi_op_ListCloudWatchAlarmTemplateGroups.go | 3 - .../api_op_ListCloudWatchAlarmTemplates.go | 3 - service/medialive/api_op_ListClusters.go | 3 - ...pi_op_ListEventBridgeRuleTemplateGroups.go | 3 - .../api_op_ListEventBridgeRuleTemplates.go | 3 - .../api_op_ListInputDeviceTransfers.go | 3 - service/medialive/api_op_ListInputDevices.go | 3 - .../api_op_ListInputSecurityGroups.go | 3 - service/medialive/api_op_ListInputs.go | 3 - .../medialive/api_op_ListMultiplexPrograms.go | 3 - service/medialive/api_op_ListMultiplexes.go | 3 - service/medialive/api_op_ListNetworks.go | 3 - service/medialive/api_op_ListNodes.go | 3 - service/medialive/api_op_ListOfferings.go | 3 - service/medialive/api_op_ListReservations.go | 3 - service/medialive/api_op_ListSignalMaps.go | 3 - .../medialive/api_op_ListTagsForResource.go | 3 - service/medialive/api_op_ListVersions.go | 3 - service/medialive/api_op_PurchaseOffering.go | 3 - service/medialive/api_op_RebootInputDevice.go | 3 - .../api_op_RejectInputDeviceTransfer.go | 3 - .../api_op_RestartChannelPipelines.go | 3 - service/medialive/api_op_StartChannel.go | 3 - .../api_op_StartDeleteMonitorDeployment.go | 3 - service/medialive/api_op_StartInputDevice.go | 3 - ...pi_op_StartInputDeviceMaintenanceWindow.go | 3 - .../api_op_StartMonitorDeployment.go | 3 - service/medialive/api_op_StartMultiplex.go | 3 - .../medialive/api_op_StartUpdateSignalMap.go | 3 - service/medialive/api_op_StopChannel.go | 3 - service/medialive/api_op_StopInputDevice.go | 3 - service/medialive/api_op_StopMultiplex.go | 3 - .../medialive/api_op_TransferInputDevice.go | 3 - .../api_op_UpdateAccountConfiguration.go | 3 - service/medialive/api_op_UpdateChannel.go | 3 - .../medialive/api_op_UpdateChannelClass.go | 3 - .../api_op_UpdateChannelPlacementGroup.go | 3 - .../api_op_UpdateCloudWatchAlarmTemplate.go | 3 - ...i_op_UpdateCloudWatchAlarmTemplateGroup.go | 3 - service/medialive/api_op_UpdateCluster.go | 3 - .../api_op_UpdateEventBridgeRuleTemplate.go | 3 - ...i_op_UpdateEventBridgeRuleTemplateGroup.go | 3 - service/medialive/api_op_UpdateInput.go | 3 - service/medialive/api_op_UpdateInputDevice.go | 3 - .../api_op_UpdateInputSecurityGroup.go | 3 - service/medialive/api_op_UpdateMultiplex.go | 3 - .../api_op_UpdateMultiplexProgram.go | 3 - service/medialive/api_op_UpdateNetwork.go | 3 - service/medialive/api_op_UpdateNode.go | 3 - service/medialive/api_op_UpdateNodeState.go | 3 - service/medialive/api_op_UpdateReservation.go | 3 - .../api_op_AcceptInputDeviceTransfer.go.snap | 1 - .../snapshot/api_op_BatchDelete.go.snap | 1 - .../snapshot/api_op_BatchStart.go.snap | 1 - .../snapshot/api_op_BatchStop.go.snap | 1 - .../api_op_BatchUpdateSchedule.go.snap | 1 - .../api_op_CancelInputDeviceTransfer.go.snap | 1 - .../snapshot/api_op_ClaimDevice.go.snap | 1 - .../snapshot/api_op_CreateChannel.go.snap | 1 - ...api_op_CreateChannelPlacementGroup.go.snap | 1 - ...i_op_CreateCloudWatchAlarmTemplate.go.snap | 1 - ...CreateCloudWatchAlarmTemplateGroup.go.snap | 1 - .../snapshot/api_op_CreateCluster.go.snap | 1 - ...i_op_CreateEventBridgeRuleTemplate.go.snap | 1 - ...CreateEventBridgeRuleTemplateGroup.go.snap | 1 - .../snapshot/api_op_CreateInput.go.snap | 1 - .../api_op_CreateInputSecurityGroup.go.snap | 1 - .../snapshot/api_op_CreateMultiplex.go.snap | 1 - .../api_op_CreateMultiplexProgram.go.snap | 1 - .../snapshot/api_op_CreateNetwork.go.snap | 1 - .../snapshot/api_op_CreateNode.go.snap | 1 - ...pi_op_CreateNodeRegistrationScript.go.snap | 1 - .../api_op_CreatePartnerInput.go.snap | 1 - .../snapshot/api_op_CreateSignalMap.go.snap | 1 - .../snapshot/api_op_CreateTags.go.snap | 1 - .../snapshot/api_op_DeleteChannel.go.snap | 1 - ...api_op_DeleteChannelPlacementGroup.go.snap | 1 - ...i_op_DeleteCloudWatchAlarmTemplate.go.snap | 1 - ...DeleteCloudWatchAlarmTemplateGroup.go.snap | 1 - .../snapshot/api_op_DeleteCluster.go.snap | 1 - ...i_op_DeleteEventBridgeRuleTemplate.go.snap | 1 - ...DeleteEventBridgeRuleTemplateGroup.go.snap | 1 - .../snapshot/api_op_DeleteInput.go.snap | 1 - .../api_op_DeleteInputSecurityGroup.go.snap | 1 - .../snapshot/api_op_DeleteMultiplex.go.snap | 1 - .../api_op_DeleteMultiplexProgram.go.snap | 1 - .../snapshot/api_op_DeleteNetwork.go.snap | 1 - .../snapshot/api_op_DeleteNode.go.snap | 1 - .../snapshot/api_op_DeleteReservation.go.snap | 1 - .../snapshot/api_op_DeleteSchedule.go.snap | 1 - .../snapshot/api_op_DeleteSignalMap.go.snap | 1 - .../snapshot/api_op_DeleteTags.go.snap | 1 - ...pi_op_DescribeAccountConfiguration.go.snap | 1 - .../snapshot/api_op_DescribeChannel.go.snap | 1 - ...i_op_DescribeChannelPlacementGroup.go.snap | 1 - .../snapshot/api_op_DescribeCluster.go.snap | 1 - .../snapshot/api_op_DescribeInput.go.snap | 1 - .../api_op_DescribeInputDevice.go.snap | 1 - ...pi_op_DescribeInputDeviceThumbnail.go.snap | 1 - .../api_op_DescribeInputSecurityGroup.go.snap | 1 - .../snapshot/api_op_DescribeMultiplex.go.snap | 1 - .../api_op_DescribeMultiplexProgram.go.snap | 1 - .../snapshot/api_op_DescribeNetwork.go.snap | 1 - .../snapshot/api_op_DescribeNode.go.snap | 1 - .../snapshot/api_op_DescribeOffering.go.snap | 1 - .../api_op_DescribeReservation.go.snap | 1 - .../snapshot/api_op_DescribeSchedule.go.snap | 1 - .../api_op_DescribeThumbnails.go.snap | 1 - .../api_op_GetCloudWatchAlarmTemplate.go.snap | 1 - ...op_GetCloudWatchAlarmTemplateGroup.go.snap | 1 - .../api_op_GetEventBridgeRuleTemplate.go.snap | 1 - ...op_GetEventBridgeRuleTemplateGroup.go.snap | 1 - .../snapshot/api_op_GetSignalMap.go.snap | 1 - .../api_op_ListChannelPlacementGroups.go.snap | 1 - .../snapshot/api_op_ListChannels.go.snap | 1 - ..._ListCloudWatchAlarmTemplateGroups.go.snap | 1 - ...pi_op_ListCloudWatchAlarmTemplates.go.snap | 1 - .../snapshot/api_op_ListClusters.go.snap | 1 - ..._ListEventBridgeRuleTemplateGroups.go.snap | 1 - ...pi_op_ListEventBridgeRuleTemplates.go.snap | 1 - .../api_op_ListInputDeviceTransfers.go.snap | 1 - .../snapshot/api_op_ListInputDevices.go.snap | 1 - .../api_op_ListInputSecurityGroups.go.snap | 1 - .../snapshot/api_op_ListInputs.go.snap | 1 - .../api_op_ListMultiplexPrograms.go.snap | 1 - .../snapshot/api_op_ListMultiplexes.go.snap | 1 - .../snapshot/api_op_ListNetworks.go.snap | 1 - .../snapshot/api_op_ListNodes.go.snap | 1 - .../snapshot/api_op_ListOfferings.go.snap | 1 - .../snapshot/api_op_ListReservations.go.snap | 1 - .../snapshot/api_op_ListSignalMaps.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListVersions.go.snap | 1 - .../snapshot/api_op_PurchaseOffering.go.snap | 1 - .../snapshot/api_op_RebootInputDevice.go.snap | 1 - .../api_op_RejectInputDeviceTransfer.go.snap | 1 - .../api_op_RestartChannelPipelines.go.snap | 1 - .../snapshot/api_op_StartChannel.go.snap | 1 - ...pi_op_StartDeleteMonitorDeployment.go.snap | 1 - .../snapshot/api_op_StartInputDevice.go.snap | 1 - ..._StartInputDeviceMaintenanceWindow.go.snap | 1 - .../api_op_StartMonitorDeployment.go.snap | 1 - .../snapshot/api_op_StartMultiplex.go.snap | 1 - .../api_op_StartUpdateSignalMap.go.snap | 1 - .../snapshot/api_op_StopChannel.go.snap | 1 - .../snapshot/api_op_StopInputDevice.go.snap | 1 - .../snapshot/api_op_StopMultiplex.go.snap | 1 - .../api_op_TransferInputDevice.go.snap | 1 - .../api_op_UpdateAccountConfiguration.go.snap | 1 - .../snapshot/api_op_UpdateChannel.go.snap | 1 - .../api_op_UpdateChannelClass.go.snap | 1 - ...api_op_UpdateChannelPlacementGroup.go.snap | 1 - ...i_op_UpdateCloudWatchAlarmTemplate.go.snap | 1 - ...UpdateCloudWatchAlarmTemplateGroup.go.snap | 1 - .../snapshot/api_op_UpdateCluster.go.snap | 1 - ...i_op_UpdateEventBridgeRuleTemplate.go.snap | 1 - ...UpdateEventBridgeRuleTemplateGroup.go.snap | 1 - .../snapshot/api_op_UpdateInput.go.snap | 1 - .../snapshot/api_op_UpdateInputDevice.go.snap | 1 - .../api_op_UpdateInputSecurityGroup.go.snap | 1 - .../snapshot/api_op_UpdateMultiplex.go.snap | 1 - .../api_op_UpdateMultiplexProgram.go.snap | 1 - .../snapshot/api_op_UpdateNetwork.go.snap | 1 - .../snapshot/api_op_UpdateNode.go.snap | 1 - .../snapshot/api_op_UpdateNodeState.go.snap | 1 - .../snapshot/api_op_UpdateReservation.go.snap | 1 - service/mediapackage/api_client.go | 31 -- service/mediapackage/api_op_ConfigureLogs.go | 3 - service/mediapackage/api_op_CreateChannel.go | 3 - .../mediapackage/api_op_CreateHarvestJob.go | 3 - .../api_op_CreateOriginEndpoint.go | 3 - service/mediapackage/api_op_DeleteChannel.go | 3 - .../api_op_DeleteOriginEndpoint.go | 3 - .../mediapackage/api_op_DescribeChannel.go | 3 - .../mediapackage/api_op_DescribeHarvestJob.go | 3 - .../api_op_DescribeOriginEndpoint.go | 3 - service/mediapackage/api_op_ListChannels.go | 3 - .../mediapackage/api_op_ListHarvestJobs.go | 3 - .../api_op_ListOriginEndpoints.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_RotateChannelCredentials.go | 3 - .../api_op_RotateIngestEndpointCredentials.go | 3 - service/mediapackage/api_op_TagResource.go | 3 - service/mediapackage/api_op_UntagResource.go | 3 - service/mediapackage/api_op_UpdateChannel.go | 3 - .../api_op_UpdateOriginEndpoint.go | 3 - .../snapshot/api_op_ConfigureLogs.go.snap | 1 - .../snapshot/api_op_CreateChannel.go.snap | 1 - .../snapshot/api_op_CreateHarvestJob.go.snap | 1 - .../api_op_CreateOriginEndpoint.go.snap | 1 - .../snapshot/api_op_DeleteChannel.go.snap | 1 - .../api_op_DeleteOriginEndpoint.go.snap | 1 - .../snapshot/api_op_DescribeChannel.go.snap | 1 - .../api_op_DescribeHarvestJob.go.snap | 1 - .../api_op_DescribeOriginEndpoint.go.snap | 1 - .../snapshot/api_op_ListChannels.go.snap | 1 - .../snapshot/api_op_ListHarvestJobs.go.snap | 1 - .../api_op_ListOriginEndpoints.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_RotateChannelCredentials.go.snap | 1 - ...op_RotateIngestEndpointCredentials.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateChannel.go.snap | 1 - .../api_op_UpdateOriginEndpoint.go.snap | 1 - service/mediapackagev2/api_client.go | 31 -- .../mediapackagev2/api_op_CancelHarvestJob.go | 3 - .../mediapackagev2/api_op_CreateChannel.go | 3 - .../api_op_CreateChannelGroup.go | 3 - .../mediapackagev2/api_op_CreateHarvestJob.go | 3 - .../api_op_CreateOriginEndpoint.go | 3 - .../mediapackagev2/api_op_DeleteChannel.go | 3 - .../api_op_DeleteChannelGroup.go | 3 - .../api_op_DeleteChannelPolicy.go | 3 - .../api_op_DeleteOriginEndpoint.go | 3 - .../api_op_DeleteOriginEndpointPolicy.go | 3 - service/mediapackagev2/api_op_GetChannel.go | 3 - .../mediapackagev2/api_op_GetChannelGroup.go | 3 - .../mediapackagev2/api_op_GetChannelPolicy.go | 3 - .../mediapackagev2/api_op_GetHarvestJob.go | 3 - .../api_op_GetOriginEndpoint.go | 3 - .../api_op_GetOriginEndpointPolicy.go | 3 - .../api_op_ListChannelGroups.go | 3 - service/mediapackagev2/api_op_ListChannels.go | 3 - .../mediapackagev2/api_op_ListHarvestJobs.go | 3 - .../api_op_ListOriginEndpoints.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../mediapackagev2/api_op_PutChannelPolicy.go | 3 - .../api_op_PutOriginEndpointPolicy.go | 3 - service/mediapackagev2/api_op_TagResource.go | 3 - .../mediapackagev2/api_op_UntagResource.go | 3 - .../mediapackagev2/api_op_UpdateChannel.go | 3 - .../api_op_UpdateChannelGroup.go | 3 - .../api_op_UpdateOriginEndpoint.go | 3 - .../snapshot/api_op_CancelHarvestJob.go.snap | 1 - .../snapshot/api_op_CreateChannel.go.snap | 1 - .../api_op_CreateChannelGroup.go.snap | 1 - .../snapshot/api_op_CreateHarvestJob.go.snap | 1 - .../api_op_CreateOriginEndpoint.go.snap | 1 - .../snapshot/api_op_DeleteChannel.go.snap | 1 - .../api_op_DeleteChannelGroup.go.snap | 1 - .../api_op_DeleteChannelPolicy.go.snap | 1 - .../api_op_DeleteOriginEndpoint.go.snap | 1 - .../api_op_DeleteOriginEndpointPolicy.go.snap | 1 - .../snapshot/api_op_GetChannel.go.snap | 1 - .../snapshot/api_op_GetChannelGroup.go.snap | 1 - .../snapshot/api_op_GetChannelPolicy.go.snap | 1 - .../snapshot/api_op_GetHarvestJob.go.snap | 1 - .../snapshot/api_op_GetOriginEndpoint.go.snap | 1 - .../api_op_GetOriginEndpointPolicy.go.snap | 1 - .../snapshot/api_op_ListChannelGroups.go.snap | 1 - .../snapshot/api_op_ListChannels.go.snap | 1 - .../snapshot/api_op_ListHarvestJobs.go.snap | 1 - .../api_op_ListOriginEndpoints.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_PutChannelPolicy.go.snap | 1 - .../api_op_PutOriginEndpointPolicy.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateChannel.go.snap | 1 - .../api_op_UpdateChannelGroup.go.snap | 1 - .../api_op_UpdateOriginEndpoint.go.snap | 1 - service/mediapackagevod/api_client.go | 31 -- .../mediapackagevod/api_op_ConfigureLogs.go | 3 - service/mediapackagevod/api_op_CreateAsset.go | 3 - .../api_op_CreatePackagingConfiguration.go | 3 - .../api_op_CreatePackagingGroup.go | 3 - service/mediapackagevod/api_op_DeleteAsset.go | 3 - .../api_op_DeletePackagingConfiguration.go | 3 - .../api_op_DeletePackagingGroup.go | 3 - .../mediapackagevod/api_op_DescribeAsset.go | 3 - .../api_op_DescribePackagingConfiguration.go | 3 - .../api_op_DescribePackagingGroup.go | 3 - service/mediapackagevod/api_op_ListAssets.go | 3 - .../api_op_ListPackagingConfigurations.go | 3 - .../api_op_ListPackagingGroups.go | 3 - .../api_op_ListTagsForResource.go | 3 - service/mediapackagevod/api_op_TagResource.go | 3 - .../mediapackagevod/api_op_UntagResource.go | 3 - .../api_op_UpdatePackagingGroup.go | 3 - .../snapshot/api_op_ConfigureLogs.go.snap | 1 - .../snapshot/api_op_CreateAsset.go.snap | 1 - ...pi_op_CreatePackagingConfiguration.go.snap | 1 - .../api_op_CreatePackagingGroup.go.snap | 1 - .../snapshot/api_op_DeleteAsset.go.snap | 1 - ...pi_op_DeletePackagingConfiguration.go.snap | 1 - .../api_op_DeletePackagingGroup.go.snap | 1 - .../snapshot/api_op_DescribeAsset.go.snap | 1 - ..._op_DescribePackagingConfiguration.go.snap | 1 - .../api_op_DescribePackagingGroup.go.snap | 1 - .../snapshot/api_op_ListAssets.go.snap | 1 - ...api_op_ListPackagingConfigurations.go.snap | 1 - .../api_op_ListPackagingGroups.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdatePackagingGroup.go.snap | 1 - service/mediastore/api_client.go | 31 -- service/mediastore/api_op_CreateContainer.go | 3 - service/mediastore/api_op_DeleteContainer.go | 3 - .../api_op_DeleteContainerPolicy.go | 3 - service/mediastore/api_op_DeleteCorsPolicy.go | 3 - .../api_op_DeleteLifecyclePolicy.go | 3 - .../mediastore/api_op_DeleteMetricPolicy.go | 3 - .../mediastore/api_op_DescribeContainer.go | 3 - .../mediastore/api_op_GetContainerPolicy.go | 3 - service/mediastore/api_op_GetCorsPolicy.go | 3 - .../mediastore/api_op_GetLifecyclePolicy.go | 3 - service/mediastore/api_op_GetMetricPolicy.go | 3 - service/mediastore/api_op_ListContainers.go | 3 - .../mediastore/api_op_ListTagsForResource.go | 3 - .../mediastore/api_op_PutContainerPolicy.go | 3 - service/mediastore/api_op_PutCorsPolicy.go | 3 - .../mediastore/api_op_PutLifecyclePolicy.go | 3 - service/mediastore/api_op_PutMetricPolicy.go | 3 - .../mediastore/api_op_StartAccessLogging.go | 3 - .../mediastore/api_op_StopAccessLogging.go | 3 - service/mediastore/api_op_TagResource.go | 3 - service/mediastore/api_op_UntagResource.go | 3 - .../snapshot/api_op_CreateContainer.go.snap | 1 - .../snapshot/api_op_DeleteContainer.go.snap | 1 - .../api_op_DeleteContainerPolicy.go.snap | 1 - .../snapshot/api_op_DeleteCorsPolicy.go.snap | 1 - .../api_op_DeleteLifecyclePolicy.go.snap | 1 - .../api_op_DeleteMetricPolicy.go.snap | 1 - .../snapshot/api_op_DescribeContainer.go.snap | 1 - .../api_op_GetContainerPolicy.go.snap | 1 - .../snapshot/api_op_GetCorsPolicy.go.snap | 1 - .../api_op_GetLifecyclePolicy.go.snap | 1 - .../snapshot/api_op_GetMetricPolicy.go.snap | 1 - .../snapshot/api_op_ListContainers.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_PutContainerPolicy.go.snap | 1 - .../snapshot/api_op_PutCorsPolicy.go.snap | 1 - .../api_op_PutLifecyclePolicy.go.snap | 1 - .../snapshot/api_op_PutMetricPolicy.go.snap | 1 - .../api_op_StartAccessLogging.go.snap | 1 - .../snapshot/api_op_StopAccessLogging.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - service/mediastoredata/api_client.go | 31 -- service/mediastoredata/api_op_DeleteObject.go | 3 - .../mediastoredata/api_op_DescribeObject.go | 3 - service/mediastoredata/api_op_GetObject.go | 3 - service/mediastoredata/api_op_ListItems.go | 3 - service/mediastoredata/api_op_PutObject.go | 3 - .../snapshot/api_op_DeleteObject.go.snap | 1 - .../snapshot/api_op_DescribeObject.go.snap | 1 - .../snapshot/api_op_GetObject.go.snap | 1 - .../snapshot/api_op_ListItems.go.snap | 1 - .../snapshot/api_op_PutObject.go.snap | 1 - service/mediatailor/api_client.go | 31 -- .../api_op_ConfigureLogsForChannel.go | 3 - ...p_ConfigureLogsForPlaybackConfiguration.go | 3 - service/mediatailor/api_op_CreateChannel.go | 3 - .../mediatailor/api_op_CreateLiveSource.go | 3 - .../api_op_CreatePrefetchSchedule.go | 3 - service/mediatailor/api_op_CreateProgram.go | 3 - .../api_op_CreateSourceLocation.go | 3 - service/mediatailor/api_op_CreateVodSource.go | 3 - service/mediatailor/api_op_DeleteChannel.go | 3 - .../mediatailor/api_op_DeleteChannelPolicy.go | 3 - .../mediatailor/api_op_DeleteLiveSource.go | 3 - .../api_op_DeletePlaybackConfiguration.go | 3 - .../api_op_DeletePrefetchSchedule.go | 3 - service/mediatailor/api_op_DeleteProgram.go | 3 - .../api_op_DeleteSourceLocation.go | 3 - service/mediatailor/api_op_DeleteVodSource.go | 3 - service/mediatailor/api_op_DescribeChannel.go | 3 - .../mediatailor/api_op_DescribeLiveSource.go | 3 - service/mediatailor/api_op_DescribeProgram.go | 3 - .../api_op_DescribeSourceLocation.go | 3 - .../mediatailor/api_op_DescribeVodSource.go | 3 - .../mediatailor/api_op_GetChannelPolicy.go | 3 - .../mediatailor/api_op_GetChannelSchedule.go | 3 - .../api_op_GetPlaybackConfiguration.go | 3 - .../mediatailor/api_op_GetPrefetchSchedule.go | 3 - service/mediatailor/api_op_ListAlerts.go | 3 - service/mediatailor/api_op_ListChannels.go | 3 - service/mediatailor/api_op_ListLiveSources.go | 3 - .../api_op_ListPlaybackConfigurations.go | 3 - .../api_op_ListPrefetchSchedules.go | 3 - .../mediatailor/api_op_ListSourceLocations.go | 3 - .../mediatailor/api_op_ListTagsForResource.go | 3 - service/mediatailor/api_op_ListVodSources.go | 3 - .../mediatailor/api_op_PutChannelPolicy.go | 3 - .../api_op_PutPlaybackConfiguration.go | 3 - service/mediatailor/api_op_StartChannel.go | 3 - service/mediatailor/api_op_StopChannel.go | 3 - service/mediatailor/api_op_TagResource.go | 3 - service/mediatailor/api_op_UntagResource.go | 3 - service/mediatailor/api_op_UpdateChannel.go | 3 - .../mediatailor/api_op_UpdateLiveSource.go | 3 - service/mediatailor/api_op_UpdateProgram.go | 3 - .../api_op_UpdateSourceLocation.go | 3 - service/mediatailor/api_op_UpdateVodSource.go | 3 - .../api_op_ConfigureLogsForChannel.go.snap | 1 - ...figureLogsForPlaybackConfiguration.go.snap | 1 - .../snapshot/api_op_CreateChannel.go.snap | 1 - .../snapshot/api_op_CreateLiveSource.go.snap | 1 - .../api_op_CreatePrefetchSchedule.go.snap | 1 - .../snapshot/api_op_CreateProgram.go.snap | 1 - .../api_op_CreateSourceLocation.go.snap | 1 - .../snapshot/api_op_CreateVodSource.go.snap | 1 - .../snapshot/api_op_DeleteChannel.go.snap | 1 - .../api_op_DeleteChannelPolicy.go.snap | 1 - .../snapshot/api_op_DeleteLiveSource.go.snap | 1 - ...api_op_DeletePlaybackConfiguration.go.snap | 1 - .../api_op_DeletePrefetchSchedule.go.snap | 1 - .../snapshot/api_op_DeleteProgram.go.snap | 1 - .../api_op_DeleteSourceLocation.go.snap | 1 - .../snapshot/api_op_DeleteVodSource.go.snap | 1 - .../snapshot/api_op_DescribeChannel.go.snap | 1 - .../api_op_DescribeLiveSource.go.snap | 1 - .../snapshot/api_op_DescribeProgram.go.snap | 1 - .../api_op_DescribeSourceLocation.go.snap | 1 - .../snapshot/api_op_DescribeVodSource.go.snap | 1 - .../snapshot/api_op_GetChannelPolicy.go.snap | 1 - .../api_op_GetChannelSchedule.go.snap | 1 - .../api_op_GetPlaybackConfiguration.go.snap | 1 - .../api_op_GetPrefetchSchedule.go.snap | 1 - .../snapshot/api_op_ListAlerts.go.snap | 1 - .../snapshot/api_op_ListChannels.go.snap | 1 - .../snapshot/api_op_ListLiveSources.go.snap | 1 - .../api_op_ListPlaybackConfigurations.go.snap | 1 - .../api_op_ListPrefetchSchedules.go.snap | 1 - .../api_op_ListSourceLocations.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListVodSources.go.snap | 1 - .../snapshot/api_op_PutChannelPolicy.go.snap | 1 - .../api_op_PutPlaybackConfiguration.go.snap | 1 - .../snapshot/api_op_StartChannel.go.snap | 1 - .../snapshot/api_op_StopChannel.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateChannel.go.snap | 1 - .../snapshot/api_op_UpdateLiveSource.go.snap | 1 - .../snapshot/api_op_UpdateProgram.go.snap | 1 - .../api_op_UpdateSourceLocation.go.snap | 1 - .../snapshot/api_op_UpdateVodSource.go.snap | 1 - service/medicalimaging/api_client.go | 31 -- service/medicalimaging/api_op_CopyImageSet.go | 3 - .../medicalimaging/api_op_CreateDatastore.go | 3 - .../medicalimaging/api_op_DeleteDatastore.go | 3 - .../medicalimaging/api_op_DeleteImageSet.go | 3 - .../api_op_GetDICOMImportJob.go | 3 - service/medicalimaging/api_op_GetDatastore.go | 3 - .../medicalimaging/api_op_GetImageFrame.go | 3 - service/medicalimaging/api_op_GetImageSet.go | 3 - .../api_op_GetImageSetMetadata.go | 3 - .../api_op_ListDICOMImportJobs.go | 3 - .../medicalimaging/api_op_ListDatastores.go | 3 - .../api_op_ListImageSetVersions.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../medicalimaging/api_op_SearchImageSets.go | 3 - .../api_op_StartDICOMImportJob.go | 3 - service/medicalimaging/api_op_TagResource.go | 3 - .../medicalimaging/api_op_UntagResource.go | 3 - .../api_op_UpdateImageSetMetadata.go | 3 - .../snapshot/api_op_CopyImageSet.go.snap | 1 - .../snapshot/api_op_CreateDatastore.go.snap | 1 - .../snapshot/api_op_DeleteDatastore.go.snap | 1 - .../snapshot/api_op_DeleteImageSet.go.snap | 1 - .../snapshot/api_op_GetDICOMImportJob.go.snap | 1 - .../snapshot/api_op_GetDatastore.go.snap | 1 - .../snapshot/api_op_GetImageFrame.go.snap | 1 - .../snapshot/api_op_GetImageSet.go.snap | 1 - .../api_op_GetImageSetMetadata.go.snap | 1 - .../api_op_ListDICOMImportJobs.go.snap | 1 - .../snapshot/api_op_ListDatastores.go.snap | 1 - .../api_op_ListImageSetVersions.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_SearchImageSets.go.snap | 1 - .../api_op_StartDICOMImportJob.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateImageSetMetadata.go.snap | 1 - service/memorydb/api_client.go | 31 -- service/memorydb/api_op_BatchUpdateCluster.go | 3 - service/memorydb/api_op_CopySnapshot.go | 3 - service/memorydb/api_op_CreateACL.go | 3 - service/memorydb/api_op_CreateCluster.go | 3 - .../api_op_CreateMultiRegionCluster.go | 3 - .../memorydb/api_op_CreateParameterGroup.go | 3 - service/memorydb/api_op_CreateSnapshot.go | 3 - service/memorydb/api_op_CreateSubnetGroup.go | 3 - service/memorydb/api_op_CreateUser.go | 3 - service/memorydb/api_op_DeleteACL.go | 3 - service/memorydb/api_op_DeleteCluster.go | 3 - .../api_op_DeleteMultiRegionCluster.go | 3 - .../memorydb/api_op_DeleteParameterGroup.go | 3 - service/memorydb/api_op_DeleteSnapshot.go | 3 - service/memorydb/api_op_DeleteSubnetGroup.go | 3 - service/memorydb/api_op_DeleteUser.go | 3 - service/memorydb/api_op_DescribeACLs.go | 3 - service/memorydb/api_op_DescribeClusters.go | 3 - .../memorydb/api_op_DescribeEngineVersions.go | 3 - service/memorydb/api_op_DescribeEvents.go | 3 - .../api_op_DescribeMultiRegionClusters.go | 3 - .../api_op_DescribeParameterGroups.go | 3 - service/memorydb/api_op_DescribeParameters.go | 3 - .../memorydb/api_op_DescribeReservedNodes.go | 3 - .../api_op_DescribeReservedNodesOfferings.go | 3 - .../memorydb/api_op_DescribeServiceUpdates.go | 3 - service/memorydb/api_op_DescribeSnapshots.go | 3 - .../memorydb/api_op_DescribeSubnetGroups.go | 3 - service/memorydb/api_op_DescribeUsers.go | 3 - service/memorydb/api_op_FailoverShard.go | 3 - ...op_ListAllowedMultiRegionClusterUpdates.go | 3 - .../api_op_ListAllowedNodeTypeUpdates.go | 3 - service/memorydb/api_op_ListTags.go | 3 - .../api_op_PurchaseReservedNodesOffering.go | 3 - .../memorydb/api_op_ResetParameterGroup.go | 3 - service/memorydb/api_op_TagResource.go | 3 - service/memorydb/api_op_UntagResource.go | 3 - service/memorydb/api_op_UpdateACL.go | 3 - service/memorydb/api_op_UpdateCluster.go | 3 - .../api_op_UpdateMultiRegionCluster.go | 3 - .../memorydb/api_op_UpdateParameterGroup.go | 3 - service/memorydb/api_op_UpdateSubnetGroup.go | 3 - service/memorydb/api_op_UpdateUser.go | 3 - .../api_op_BatchUpdateCluster.go.snap | 1 - .../snapshot/api_op_CopySnapshot.go.snap | 1 - .../snapshot/api_op_CreateACL.go.snap | 1 - .../snapshot/api_op_CreateCluster.go.snap | 1 - .../api_op_CreateMultiRegionCluster.go.snap | 1 - .../api_op_CreateParameterGroup.go.snap | 1 - .../snapshot/api_op_CreateSnapshot.go.snap | 1 - .../snapshot/api_op_CreateSubnetGroup.go.snap | 1 - .../snapshot/api_op_CreateUser.go.snap | 1 - .../snapshot/api_op_DeleteACL.go.snap | 1 - .../snapshot/api_op_DeleteCluster.go.snap | 1 - .../api_op_DeleteMultiRegionCluster.go.snap | 1 - .../api_op_DeleteParameterGroup.go.snap | 1 - .../snapshot/api_op_DeleteSnapshot.go.snap | 1 - .../snapshot/api_op_DeleteSubnetGroup.go.snap | 1 - .../snapshot/api_op_DeleteUser.go.snap | 1 - .../snapshot/api_op_DescribeACLs.go.snap | 1 - .../snapshot/api_op_DescribeClusters.go.snap | 1 - .../api_op_DescribeEngineVersions.go.snap | 1 - .../snapshot/api_op_DescribeEvents.go.snap | 1 - ...api_op_DescribeMultiRegionClusters.go.snap | 1 - .../api_op_DescribeParameterGroups.go.snap | 1 - .../api_op_DescribeParameters.go.snap | 1 - .../api_op_DescribeReservedNodes.go.snap | 1 - ..._op_DescribeReservedNodesOfferings.go.snap | 1 - .../api_op_DescribeServiceUpdates.go.snap | 1 - .../snapshot/api_op_DescribeSnapshots.go.snap | 1 - .../api_op_DescribeSubnetGroups.go.snap | 1 - .../snapshot/api_op_DescribeUsers.go.snap | 1 - .../snapshot/api_op_FailoverShard.go.snap | 1 - ...stAllowedMultiRegionClusterUpdates.go.snap | 1 - .../api_op_ListAllowedNodeTypeUpdates.go.snap | 1 - .../memorydb/snapshot/api_op_ListTags.go.snap | 1 - ...i_op_PurchaseReservedNodesOffering.go.snap | 1 - .../api_op_ResetParameterGroup.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateACL.go.snap | 1 - .../snapshot/api_op_UpdateCluster.go.snap | 1 - .../api_op_UpdateMultiRegionCluster.go.snap | 1 - .../api_op_UpdateParameterGroup.go.snap | 1 - .../snapshot/api_op_UpdateSubnetGroup.go.snap | 1 - .../snapshot/api_op_UpdateUser.go.snap | 1 - service/mgn/api_client.go | 31 -- service/mgn/api_op_ArchiveApplication.go | 3 - service/mgn/api_op_ArchiveWave.go | 3 - service/mgn/api_op_AssociateApplications.go | 3 - service/mgn/api_op_AssociateSourceServers.go | 3 - .../mgn/api_op_ChangeServerLifeCycleState.go | 3 - service/mgn/api_op_CreateApplication.go | 3 - service/mgn/api_op_CreateConnector.go | 3 - ...pi_op_CreateLaunchConfigurationTemplate.go | 3 - ..._CreateReplicationConfigurationTemplate.go | 3 - service/mgn/api_op_CreateWave.go | 3 - service/mgn/api_op_DeleteApplication.go | 3 - service/mgn/api_op_DeleteConnector.go | 3 - service/mgn/api_op_DeleteJob.go | 3 - ...pi_op_DeleteLaunchConfigurationTemplate.go | 3 - ..._DeleteReplicationConfigurationTemplate.go | 3 - service/mgn/api_op_DeleteSourceServer.go | 3 - service/mgn/api_op_DeleteVcenterClient.go | 3 - service/mgn/api_op_DeleteWave.go | 3 - service/mgn/api_op_DescribeJobLogItems.go | 3 - service/mgn/api_op_DescribeJobs.go | 3 - ...op_DescribeLaunchConfigurationTemplates.go | 3 - ...scribeReplicationConfigurationTemplates.go | 3 - service/mgn/api_op_DescribeSourceServers.go | 3 - service/mgn/api_op_DescribeVcenterClients.go | 3 - .../mgn/api_op_DisassociateApplications.go | 3 - .../mgn/api_op_DisassociateSourceServers.go | 3 - service/mgn/api_op_DisconnectFromService.go | 3 - service/mgn/api_op_FinalizeCutover.go | 3 - service/mgn/api_op_GetLaunchConfiguration.go | 3 - .../mgn/api_op_GetReplicationConfiguration.go | 3 - service/mgn/api_op_InitializeService.go | 3 - service/mgn/api_op_ListApplications.go | 3 - service/mgn/api_op_ListConnectors.go | 3 - service/mgn/api_op_ListExportErrors.go | 3 - service/mgn/api_op_ListExports.go | 3 - service/mgn/api_op_ListImportErrors.go | 3 - service/mgn/api_op_ListImports.go | 3 - service/mgn/api_op_ListManagedAccounts.go | 3 - service/mgn/api_op_ListSourceServerActions.go | 3 - service/mgn/api_op_ListTagsForResource.go | 3 - service/mgn/api_op_ListTemplateActions.go | 3 - service/mgn/api_op_ListWaves.go | 3 - service/mgn/api_op_MarkAsArchived.go | 3 - service/mgn/api_op_PauseReplication.go | 3 - service/mgn/api_op_PutSourceServerAction.go | 3 - service/mgn/api_op_PutTemplateAction.go | 3 - .../mgn/api_op_RemoveSourceServerAction.go | 3 - service/mgn/api_op_RemoveTemplateAction.go | 3 - service/mgn/api_op_ResumeReplication.go | 3 - service/mgn/api_op_RetryDataReplication.go | 3 - service/mgn/api_op_StartCutover.go | 3 - service/mgn/api_op_StartExport.go | 3 - service/mgn/api_op_StartImport.go | 3 - service/mgn/api_op_StartReplication.go | 3 - service/mgn/api_op_StartTest.go | 3 - service/mgn/api_op_StopReplication.go | 3 - service/mgn/api_op_TagResource.go | 3 - .../mgn/api_op_TerminateTargetInstances.go | 3 - service/mgn/api_op_UnarchiveApplication.go | 3 - service/mgn/api_op_UnarchiveWave.go | 3 - service/mgn/api_op_UntagResource.go | 3 - service/mgn/api_op_UpdateApplication.go | 3 - service/mgn/api_op_UpdateConnector.go | 3 - .../mgn/api_op_UpdateLaunchConfiguration.go | 3 - ...pi_op_UpdateLaunchConfigurationTemplate.go | 3 - .../api_op_UpdateReplicationConfiguration.go | 3 - ..._UpdateReplicationConfigurationTemplate.go | 3 - service/mgn/api_op_UpdateSourceServer.go | 3 - ...pi_op_UpdateSourceServerReplicationType.go | 3 - service/mgn/api_op_UpdateWave.go | 3 - .../api_op_ArchiveApplication.go.snap | 1 - .../mgn/snapshot/api_op_ArchiveWave.go.snap | 1 - .../api_op_AssociateApplications.go.snap | 1 - .../api_op_AssociateSourceServers.go.snap | 1 - .../api_op_ChangeServerLifeCycleState.go.snap | 1 - .../snapshot/api_op_CreateApplication.go.snap | 1 - .../snapshot/api_op_CreateConnector.go.snap | 1 - ..._CreateLaunchConfigurationTemplate.go.snap | 1 - ...teReplicationConfigurationTemplate.go.snap | 1 - .../mgn/snapshot/api_op_CreateWave.go.snap | 1 - .../snapshot/api_op_DeleteApplication.go.snap | 1 - .../snapshot/api_op_DeleteConnector.go.snap | 1 - service/mgn/snapshot/api_op_DeleteJob.go.snap | 1 - ..._DeleteLaunchConfigurationTemplate.go.snap | 1 - ...teReplicationConfigurationTemplate.go.snap | 1 - .../api_op_DeleteSourceServer.go.snap | 1 - .../api_op_DeleteVcenterClient.go.snap | 1 - .../mgn/snapshot/api_op_DeleteWave.go.snap | 1 - .../api_op_DescribeJobLogItems.go.snap | 1 - .../mgn/snapshot/api_op_DescribeJobs.go.snap | 1 - ...scribeLaunchConfigurationTemplates.go.snap | 1 - ...eReplicationConfigurationTemplates.go.snap | 1 - .../api_op_DescribeSourceServers.go.snap | 1 - .../api_op_DescribeVcenterClients.go.snap | 1 - .../api_op_DisassociateApplications.go.snap | 1 - .../api_op_DisassociateSourceServers.go.snap | 1 - .../api_op_DisconnectFromService.go.snap | 1 - .../snapshot/api_op_FinalizeCutover.go.snap | 1 - .../api_op_GetLaunchConfiguration.go.snap | 1 - ...api_op_GetReplicationConfiguration.go.snap | 1 - .../snapshot/api_op_InitializeService.go.snap | 1 - .../snapshot/api_op_ListApplications.go.snap | 1 - .../snapshot/api_op_ListConnectors.go.snap | 1 - .../snapshot/api_op_ListExportErrors.go.snap | 1 - .../mgn/snapshot/api_op_ListExports.go.snap | 1 - .../snapshot/api_op_ListImportErrors.go.snap | 1 - .../mgn/snapshot/api_op_ListImports.go.snap | 1 - .../api_op_ListManagedAccounts.go.snap | 1 - .../api_op_ListSourceServerActions.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListTemplateActions.go.snap | 1 - service/mgn/snapshot/api_op_ListWaves.go.snap | 1 - .../snapshot/api_op_MarkAsArchived.go.snap | 1 - .../snapshot/api_op_PauseReplication.go.snap | 1 - .../api_op_PutSourceServerAction.go.snap | 1 - .../snapshot/api_op_PutTemplateAction.go.snap | 1 - .../api_op_RemoveSourceServerAction.go.snap | 1 - .../api_op_RemoveTemplateAction.go.snap | 1 - .../snapshot/api_op_ResumeReplication.go.snap | 1 - .../api_op_RetryDataReplication.go.snap | 1 - .../mgn/snapshot/api_op_StartCutover.go.snap | 1 - .../mgn/snapshot/api_op_StartExport.go.snap | 1 - .../mgn/snapshot/api_op_StartImport.go.snap | 1 - .../snapshot/api_op_StartReplication.go.snap | 1 - service/mgn/snapshot/api_op_StartTest.go.snap | 1 - .../snapshot/api_op_StopReplication.go.snap | 1 - .../mgn/snapshot/api_op_TagResource.go.snap | 1 - .../api_op_TerminateTargetInstances.go.snap | 1 - .../api_op_UnarchiveApplication.go.snap | 1 - .../mgn/snapshot/api_op_UnarchiveWave.go.snap | 1 - .../mgn/snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateApplication.go.snap | 1 - .../snapshot/api_op_UpdateConnector.go.snap | 1 - .../api_op_UpdateLaunchConfiguration.go.snap | 1 - ..._UpdateLaunchConfigurationTemplate.go.snap | 1 - ..._op_UpdateReplicationConfiguration.go.snap | 1 - ...teReplicationConfigurationTemplate.go.snap | 1 - .../api_op_UpdateSourceServer.go.snap | 1 - ..._UpdateSourceServerReplicationType.go.snap | 1 - .../mgn/snapshot/api_op_UpdateWave.go.snap | 1 - service/migrationhub/api_client.go | 31 -- .../api_op_AssociateCreatedArtifact.go | 3 - .../api_op_AssociateDiscoveredResource.go | 3 - .../api_op_AssociateSourceResource.go | 3 - .../api_op_CreateProgressUpdateStream.go | 3 - .../api_op_DeleteProgressUpdateStream.go | 3 - .../api_op_DescribeApplicationState.go | 3 - .../api_op_DescribeMigrationTask.go | 3 - .../api_op_DisassociateCreatedArtifact.go | 3 - .../api_op_DisassociateDiscoveredResource.go | 3 - .../api_op_DisassociateSourceResource.go | 3 - .../api_op_ImportMigrationTask.go | 3 - .../api_op_ListApplicationStates.go | 3 - .../api_op_ListCreatedArtifacts.go | 3 - .../api_op_ListDiscoveredResources.go | 3 - .../api_op_ListMigrationTaskUpdates.go | 3 - .../migrationhub/api_op_ListMigrationTasks.go | 3 - .../api_op_ListProgressUpdateStreams.go | 3 - .../api_op_ListSourceResources.go | 3 - .../api_op_NotifyApplicationState.go | 3 - .../api_op_NotifyMigrationTaskState.go | 3 - .../api_op_PutResourceAttributes.go | 3 - .../api_op_AssociateCreatedArtifact.go.snap | 1 - ...api_op_AssociateDiscoveredResource.go.snap | 1 - .../api_op_AssociateSourceResource.go.snap | 1 - .../api_op_CreateProgressUpdateStream.go.snap | 1 - .../api_op_DeleteProgressUpdateStream.go.snap | 1 - .../api_op_DescribeApplicationState.go.snap | 1 - .../api_op_DescribeMigrationTask.go.snap | 1 - ...api_op_DisassociateCreatedArtifact.go.snap | 1 - ..._op_DisassociateDiscoveredResource.go.snap | 1 - .../api_op_DisassociateSourceResource.go.snap | 1 - .../api_op_ImportMigrationTask.go.snap | 1 - .../api_op_ListApplicationStates.go.snap | 1 - .../api_op_ListCreatedArtifacts.go.snap | 1 - .../api_op_ListDiscoveredResources.go.snap | 1 - .../api_op_ListMigrationTaskUpdates.go.snap | 1 - .../api_op_ListMigrationTasks.go.snap | 1 - .../api_op_ListProgressUpdateStreams.go.snap | 1 - .../api_op_ListSourceResources.go.snap | 1 - .../api_op_NotifyApplicationState.go.snap | 1 - .../api_op_NotifyMigrationTaskState.go.snap | 1 - .../api_op_PutResourceAttributes.go.snap | 1 - service/migrationhubconfig/api_client.go | 31 -- .../api_op_CreateHomeRegionControl.go | 3 - .../api_op_DeleteHomeRegionControl.go | 3 - .../api_op_DescribeHomeRegionControls.go | 3 - .../api_op_GetHomeRegion.go | 3 - .../api_op_CreateHomeRegionControl.go.snap | 1 - .../api_op_DeleteHomeRegionControl.go.snap | 1 - .../api_op_DescribeHomeRegionControls.go.snap | 1 - .../snapshot/api_op_GetHomeRegion.go.snap | 1 - .../migrationhuborchestrator/api_client.go | 31 -- .../api_op_CreateTemplate.go | 3 - .../api_op_CreateWorkflow.go | 3 - .../api_op_CreateWorkflowStep.go | 3 - .../api_op_CreateWorkflowStepGroup.go | 3 - .../api_op_DeleteTemplate.go | 3 - .../api_op_DeleteWorkflow.go | 3 - .../api_op_DeleteWorkflowStep.go | 3 - .../api_op_DeleteWorkflowStepGroup.go | 3 - .../api_op_GetTemplate.go | 3 - .../api_op_GetTemplateStep.go | 3 - .../api_op_GetTemplateStepGroup.go | 3 - .../api_op_GetWorkflow.go | 3 - .../api_op_GetWorkflowStep.go | 3 - .../api_op_GetWorkflowStepGroup.go | 3 - .../api_op_ListPlugins.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_ListTemplateStepGroups.go | 3 - .../api_op_ListTemplateSteps.go | 3 - .../api_op_ListTemplates.go | 3 - .../api_op_ListWorkflowStepGroups.go | 3 - .../api_op_ListWorkflowSteps.go | 3 - .../api_op_ListWorkflows.go | 3 - .../api_op_RetryWorkflowStep.go | 3 - .../api_op_StartWorkflow.go | 3 - .../api_op_StopWorkflow.go | 3 - .../api_op_TagResource.go | 3 - .../api_op_UntagResource.go | 3 - .../api_op_UpdateTemplate.go | 3 - .../api_op_UpdateWorkflow.go | 3 - .../api_op_UpdateWorkflowStep.go | 3 - .../api_op_UpdateWorkflowStepGroup.go | 3 - .../snapshot/api_op_CreateTemplate.go.snap | 1 - .../snapshot/api_op_CreateWorkflow.go.snap | 1 - .../api_op_CreateWorkflowStep.go.snap | 1 - .../api_op_CreateWorkflowStepGroup.go.snap | 1 - .../snapshot/api_op_DeleteTemplate.go.snap | 1 - .../snapshot/api_op_DeleteWorkflow.go.snap | 1 - .../api_op_DeleteWorkflowStep.go.snap | 1 - .../api_op_DeleteWorkflowStepGroup.go.snap | 1 - .../snapshot/api_op_GetTemplate.go.snap | 1 - .../snapshot/api_op_GetTemplateStep.go.snap | 1 - .../api_op_GetTemplateStepGroup.go.snap | 1 - .../snapshot/api_op_GetWorkflow.go.snap | 1 - .../snapshot/api_op_GetWorkflowStep.go.snap | 1 - .../api_op_GetWorkflowStepGroup.go.snap | 1 - .../snapshot/api_op_ListPlugins.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListTemplateStepGroups.go.snap | 1 - .../snapshot/api_op_ListTemplateSteps.go.snap | 1 - .../snapshot/api_op_ListTemplates.go.snap | 1 - .../api_op_ListWorkflowStepGroups.go.snap | 1 - .../snapshot/api_op_ListWorkflowSteps.go.snap | 1 - .../snapshot/api_op_ListWorkflows.go.snap | 1 - .../snapshot/api_op_RetryWorkflowStep.go.snap | 1 - .../snapshot/api_op_StartWorkflow.go.snap | 1 - .../snapshot/api_op_StopWorkflow.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateTemplate.go.snap | 1 - .../snapshot/api_op_UpdateWorkflow.go.snap | 1 - .../api_op_UpdateWorkflowStep.go.snap | 1 - .../api_op_UpdateWorkflowStepGroup.go.snap | 1 - .../migrationhubrefactorspaces/api_client.go | 31 -- .../api_op_CreateApplication.go | 3 - .../api_op_CreateEnvironment.go | 3 - .../api_op_CreateRoute.go | 3 - .../api_op_CreateService.go | 3 - .../api_op_DeleteApplication.go | 3 - .../api_op_DeleteEnvironment.go | 3 - .../api_op_DeleteResourcePolicy.go | 3 - .../api_op_DeleteRoute.go | 3 - .../api_op_DeleteService.go | 3 - .../api_op_GetApplication.go | 3 - .../api_op_GetEnvironment.go | 3 - .../api_op_GetResourcePolicy.go | 3 - .../api_op_GetRoute.go | 3 - .../api_op_GetService.go | 3 - .../api_op_ListApplications.go | 3 - .../api_op_ListEnvironmentVpcs.go | 3 - .../api_op_ListEnvironments.go | 3 - .../api_op_ListRoutes.go | 3 - .../api_op_ListServices.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_PutResourcePolicy.go | 3 - .../api_op_TagResource.go | 3 - .../api_op_UntagResource.go | 3 - .../api_op_UpdateRoute.go | 3 - .../snapshot/api_op_CreateApplication.go.snap | 1 - .../snapshot/api_op_CreateEnvironment.go.snap | 1 - .../snapshot/api_op_CreateRoute.go.snap | 1 - .../snapshot/api_op_CreateService.go.snap | 1 - .../snapshot/api_op_DeleteApplication.go.snap | 1 - .../snapshot/api_op_DeleteEnvironment.go.snap | 1 - .../api_op_DeleteResourcePolicy.go.snap | 1 - .../snapshot/api_op_DeleteRoute.go.snap | 1 - .../snapshot/api_op_DeleteService.go.snap | 1 - .../snapshot/api_op_GetApplication.go.snap | 1 - .../snapshot/api_op_GetEnvironment.go.snap | 1 - .../snapshot/api_op_GetResourcePolicy.go.snap | 1 - .../snapshot/api_op_GetRoute.go.snap | 1 - .../snapshot/api_op_GetService.go.snap | 1 - .../snapshot/api_op_ListApplications.go.snap | 1 - .../api_op_ListEnvironmentVpcs.go.snap | 1 - .../snapshot/api_op_ListEnvironments.go.snap | 1 - .../snapshot/api_op_ListRoutes.go.snap | 1 - .../snapshot/api_op_ListServices.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_PutResourcePolicy.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateRoute.go.snap | 1 - service/migrationhubstrategy/api_client.go | 31 -- .../api_op_GetApplicationComponentDetails.go | 3 - ...pi_op_GetApplicationComponentStrategies.go | 3 - .../api_op_GetAssessment.go | 3 - .../api_op_GetImportFileTask.go | 3 - .../api_op_GetLatestAssessmentId.go | 3 - .../api_op_GetPortfolioPreferences.go | 3 - .../api_op_GetPortfolioSummary.go | 3 - .../api_op_GetRecommendationReportDetails.go | 3 - .../api_op_GetServerDetails.go | 3 - .../api_op_GetServerStrategies.go | 3 - .../api_op_ListAnalyzableServers.go | 3 - .../api_op_ListApplicationComponents.go | 3 - .../api_op_ListCollectors.go | 3 - .../api_op_ListImportFileTask.go | 3 - .../api_op_ListServers.go | 3 - .../api_op_PutPortfolioPreferences.go | 3 - .../api_op_StartAssessment.go | 3 - .../api_op_StartImportFileTask.go | 3 - ..._op_StartRecommendationReportGeneration.go | 3 - .../api_op_StopAssessment.go | 3 - ...api_op_UpdateApplicationComponentConfig.go | 3 - .../api_op_UpdateServerConfig.go | 3 - ..._op_GetApplicationComponentDetails.go.snap | 1 - ..._GetApplicationComponentStrategies.go.snap | 1 - .../snapshot/api_op_GetAssessment.go.snap | 1 - .../snapshot/api_op_GetImportFileTask.go.snap | 1 - .../api_op_GetLatestAssessmentId.go.snap | 1 - .../api_op_GetPortfolioPreferences.go.snap | 1 - .../api_op_GetPortfolioSummary.go.snap | 1 - ..._op_GetRecommendationReportDetails.go.snap | 1 - .../snapshot/api_op_GetServerDetails.go.snap | 1 - .../api_op_GetServerStrategies.go.snap | 1 - .../api_op_ListAnalyzableServers.go.snap | 1 - .../api_op_ListApplicationComponents.go.snap | 1 - .../snapshot/api_op_ListCollectors.go.snap | 1 - .../api_op_ListImportFileTask.go.snap | 1 - .../snapshot/api_op_ListServers.go.snap | 1 - .../api_op_PutPortfolioPreferences.go.snap | 1 - .../snapshot/api_op_StartAssessment.go.snap | 1 - .../api_op_StartImportFileTask.go.snap | 1 - ...tartRecommendationReportGeneration.go.snap | 1 - .../snapshot/api_op_StopAssessment.go.snap | 1 - ...p_UpdateApplicationComponentConfig.go.snap | 1 - .../api_op_UpdateServerConfig.go.snap | 1 - service/mq/api_client.go | 31 -- service/mq/api_op_CreateBroker.go | 3 - service/mq/api_op_CreateConfiguration.go | 3 - service/mq/api_op_CreateTags.go | 3 - service/mq/api_op_CreateUser.go | 3 - service/mq/api_op_DeleteBroker.go | 3 - service/mq/api_op_DeleteTags.go | 3 - service/mq/api_op_DeleteUser.go | 3 - service/mq/api_op_DescribeBroker.go | 3 - .../mq/api_op_DescribeBrokerEngineTypes.go | 3 - .../api_op_DescribeBrokerInstanceOptions.go | 3 - service/mq/api_op_DescribeConfiguration.go | 3 - .../api_op_DescribeConfigurationRevision.go | 3 - service/mq/api_op_DescribeUser.go | 3 - service/mq/api_op_ListBrokers.go | 3 - .../mq/api_op_ListConfigurationRevisions.go | 3 - service/mq/api_op_ListConfigurations.go | 3 - service/mq/api_op_ListTags.go | 3 - service/mq/api_op_ListUsers.go | 3 - service/mq/api_op_Promote.go | 3 - service/mq/api_op_RebootBroker.go | 3 - service/mq/api_op_UpdateBroker.go | 3 - service/mq/api_op_UpdateConfiguration.go | 3 - service/mq/api_op_UpdateUser.go | 3 - .../mq/snapshot/api_op_CreateBroker.go.snap | 1 - .../api_op_CreateConfiguration.go.snap | 1 - service/mq/snapshot/api_op_CreateTags.go.snap | 1 - service/mq/snapshot/api_op_CreateUser.go.snap | 1 - .../mq/snapshot/api_op_DeleteBroker.go.snap | 1 - service/mq/snapshot/api_op_DeleteTags.go.snap | 1 - service/mq/snapshot/api_op_DeleteUser.go.snap | 1 - .../mq/snapshot/api_op_DescribeBroker.go.snap | 1 - .../api_op_DescribeBrokerEngineTypes.go.snap | 1 - ...i_op_DescribeBrokerInstanceOptions.go.snap | 1 - .../api_op_DescribeConfiguration.go.snap | 1 - ...i_op_DescribeConfigurationRevision.go.snap | 1 - .../mq/snapshot/api_op_DescribeUser.go.snap | 1 - .../mq/snapshot/api_op_ListBrokers.go.snap | 1 - .../api_op_ListConfigurationRevisions.go.snap | 1 - .../api_op_ListConfigurations.go.snap | 1 - service/mq/snapshot/api_op_ListTags.go.snap | 1 - service/mq/snapshot/api_op_ListUsers.go.snap | 1 - service/mq/snapshot/api_op_Promote.go.snap | 1 - .../mq/snapshot/api_op_RebootBroker.go.snap | 1 - .../mq/snapshot/api_op_UpdateBroker.go.snap | 1 - .../api_op_UpdateConfiguration.go.snap | 1 - service/mq/snapshot/api_op_UpdateUser.go.snap | 1 - service/mturk/api_client.go | 31 -- .../api_op_AcceptQualificationRequest.go | 3 - service/mturk/api_op_ApproveAssignment.go | 3 - ...api_op_AssociateQualificationWithWorker.go | 3 - ...pi_op_CreateAdditionalAssignmentsForHIT.go | 3 - service/mturk/api_op_CreateHIT.go | 3 - service/mturk/api_op_CreateHITType.go | 3 - service/mturk/api_op_CreateHITWithHITType.go | 3 - .../mturk/api_op_CreateQualificationType.go | 3 - service/mturk/api_op_CreateWorkerBlock.go | 3 - service/mturk/api_op_DeleteHIT.go | 3 - .../mturk/api_op_DeleteQualificationType.go | 3 - service/mturk/api_op_DeleteWorkerBlock.go | 3 - ..._op_DisassociateQualificationFromWorker.go | 3 - service/mturk/api_op_GetAccountBalance.go | 3 - service/mturk/api_op_GetAssignment.go | 3 - service/mturk/api_op_GetFileUploadURL.go | 3 - service/mturk/api_op_GetHIT.go | 3 - service/mturk/api_op_GetQualificationScore.go | 3 - service/mturk/api_op_GetQualificationType.go | 3 - service/mturk/api_op_ListAssignmentsForHIT.go | 3 - service/mturk/api_op_ListBonusPayments.go | 3 - service/mturk/api_op_ListHITs.go | 3 - .../api_op_ListHITsForQualificationType.go | 3 - .../mturk/api_op_ListQualificationRequests.go | 3 - .../mturk/api_op_ListQualificationTypes.go | 3 - .../api_op_ListReviewPolicyResultsForHIT.go | 3 - service/mturk/api_op_ListReviewableHITs.go | 3 - service/mturk/api_op_ListWorkerBlocks.go | 3 - ...api_op_ListWorkersWithQualificationType.go | 3 - service/mturk/api_op_NotifyWorkers.go | 3 - service/mturk/api_op_RejectAssignment.go | 3 - .../api_op_RejectQualificationRequest.go | 3 - service/mturk/api_op_SendBonus.go | 3 - .../mturk/api_op_SendTestEventNotification.go | 3 - .../mturk/api_op_UpdateExpirationForHIT.go | 3 - service/mturk/api_op_UpdateHITReviewStatus.go | 3 - service/mturk/api_op_UpdateHITTypeOfHIT.go | 3 - .../api_op_UpdateNotificationSettings.go | 3 - .../mturk/api_op_UpdateQualificationType.go | 3 - .../api_op_AcceptQualificationRequest.go.snap | 1 - .../snapshot/api_op_ApproveAssignment.go.snap | 1 - ...p_AssociateQualificationWithWorker.go.snap | 1 - ..._CreateAdditionalAssignmentsForHIT.go.snap | 1 - .../mturk/snapshot/api_op_CreateHIT.go.snap | 1 - .../snapshot/api_op_CreateHITType.go.snap | 1 - .../api_op_CreateHITWithHITType.go.snap | 1 - .../api_op_CreateQualificationType.go.snap | 1 - .../snapshot/api_op_CreateWorkerBlock.go.snap | 1 - .../mturk/snapshot/api_op_DeleteHIT.go.snap | 1 - .../api_op_DeleteQualificationType.go.snap | 1 - .../snapshot/api_op_DeleteWorkerBlock.go.snap | 1 - ...isassociateQualificationFromWorker.go.snap | 1 - .../snapshot/api_op_GetAccountBalance.go.snap | 1 - .../snapshot/api_op_GetAssignment.go.snap | 1 - .../snapshot/api_op_GetFileUploadURL.go.snap | 1 - service/mturk/snapshot/api_op_GetHIT.go.snap | 1 - .../api_op_GetQualificationScore.go.snap | 1 - .../api_op_GetQualificationType.go.snap | 1 - .../api_op_ListAssignmentsForHIT.go.snap | 1 - .../snapshot/api_op_ListBonusPayments.go.snap | 1 - .../mturk/snapshot/api_op_ListHITs.go.snap | 1 - ...pi_op_ListHITsForQualificationType.go.snap | 1 - .../api_op_ListQualificationRequests.go.snap | 1 - .../api_op_ListQualificationTypes.go.snap | 1 - ...i_op_ListReviewPolicyResultsForHIT.go.snap | 1 - .../api_op_ListReviewableHITs.go.snap | 1 - .../snapshot/api_op_ListWorkerBlocks.go.snap | 1 - ...p_ListWorkersWithQualificationType.go.snap | 1 - .../snapshot/api_op_NotifyWorkers.go.snap | 1 - .../snapshot/api_op_RejectAssignment.go.snap | 1 - .../api_op_RejectQualificationRequest.go.snap | 1 - .../mturk/snapshot/api_op_SendBonus.go.snap | 1 - .../api_op_SendTestEventNotification.go.snap | 1 - .../api_op_UpdateExpirationForHIT.go.snap | 1 - .../api_op_UpdateHITReviewStatus.go.snap | 1 - .../api_op_UpdateHITTypeOfHIT.go.snap | 1 - .../api_op_UpdateNotificationSettings.go.snap | 1 - .../api_op_UpdateQualificationType.go.snap | 1 - service/mwaa/api_client.go | 31 -- service/mwaa/api_op_CreateCliToken.go | 3 - service/mwaa/api_op_CreateEnvironment.go | 3 - service/mwaa/api_op_CreateWebLoginToken.go | 3 - service/mwaa/api_op_DeleteEnvironment.go | 3 - service/mwaa/api_op_GetEnvironment.go | 3 - service/mwaa/api_op_InvokeRestApi.go | 3 - service/mwaa/api_op_ListEnvironments.go | 3 - service/mwaa/api_op_ListTagsForResource.go | 3 - service/mwaa/api_op_PublishMetrics.go | 3 - service/mwaa/api_op_TagResource.go | 3 - service/mwaa/api_op_UntagResource.go | 3 - service/mwaa/api_op_UpdateEnvironment.go | 3 - .../snapshot/api_op_CreateCliToken.go.snap | 1 - .../snapshot/api_op_CreateEnvironment.go.snap | 1 - .../api_op_CreateWebLoginToken.go.snap | 1 - .../snapshot/api_op_DeleteEnvironment.go.snap | 1 - .../snapshot/api_op_GetEnvironment.go.snap | 1 - .../snapshot/api_op_InvokeRestApi.go.snap | 1 - .../snapshot/api_op_ListEnvironments.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_PublishMetrics.go.snap | 1 - .../mwaa/snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateEnvironment.go.snap | 1 - service/neptune/api_client.go | 31 -- service/neptune/api_op_AddRoleToDBCluster.go | 3 - ...pi_op_AddSourceIdentifierToSubscription.go | 3 - service/neptune/api_op_AddTagsToResource.go | 3 - .../api_op_ApplyPendingMaintenanceAction.go | 3 - .../api_op_CopyDBClusterParameterGroup.go | 3 - .../neptune/api_op_CopyDBClusterSnapshot.go | 3 - .../neptune/api_op_CopyDBParameterGroup.go | 3 - service/neptune/api_op_CreateDBCluster.go | 3 - .../neptune/api_op_CreateDBClusterEndpoint.go | 3 - .../api_op_CreateDBClusterParameterGroup.go | 3 - .../neptune/api_op_CreateDBClusterSnapshot.go | 3 - service/neptune/api_op_CreateDBInstance.go | 3 - .../neptune/api_op_CreateDBParameterGroup.go | 3 - service/neptune/api_op_CreateDBSubnetGroup.go | 3 - .../neptune/api_op_CreateEventSubscription.go | 3 - service/neptune/api_op_CreateGlobalCluster.go | 3 - service/neptune/api_op_DeleteDBCluster.go | 3 - .../neptune/api_op_DeleteDBClusterEndpoint.go | 3 - .../api_op_DeleteDBClusterParameterGroup.go | 3 - .../neptune/api_op_DeleteDBClusterSnapshot.go | 3 - service/neptune/api_op_DeleteDBInstance.go | 3 - .../neptune/api_op_DeleteDBParameterGroup.go | 3 - service/neptune/api_op_DeleteDBSubnetGroup.go | 3 - .../neptune/api_op_DeleteEventSubscription.go | 3 - service/neptune/api_op_DeleteGlobalCluster.go | 3 - .../api_op_DescribeDBClusterEndpoints.go | 3 - ...api_op_DescribeDBClusterParameterGroups.go | 3 - .../api_op_DescribeDBClusterParameters.go | 3 - ..._op_DescribeDBClusterSnapshotAttributes.go | 3 - .../api_op_DescribeDBClusterSnapshots.go | 3 - service/neptune/api_op_DescribeDBClusters.go | 3 - .../api_op_DescribeDBEngineVersions.go | 3 - service/neptune/api_op_DescribeDBInstances.go | 3 - .../api_op_DescribeDBParameterGroups.go | 3 - .../neptune/api_op_DescribeDBParameters.go | 3 - .../neptune/api_op_DescribeDBSubnetGroups.go | 3 - ..._DescribeEngineDefaultClusterParameters.go | 3 - .../api_op_DescribeEngineDefaultParameters.go | 3 - .../neptune/api_op_DescribeEventCategories.go | 3 - .../api_op_DescribeEventSubscriptions.go | 3 - service/neptune/api_op_DescribeEvents.go | 3 - .../neptune/api_op_DescribeGlobalClusters.go | 3 - ...i_op_DescribeOrderableDBInstanceOptions.go | 3 - ...pi_op_DescribePendingMaintenanceActions.go | 3 - ...op_DescribeValidDBInstanceModifications.go | 3 - service/neptune/api_op_FailoverDBCluster.go | 3 - .../neptune/api_op_FailoverGlobalCluster.go | 3 - service/neptune/api_op_ListTagsForResource.go | 3 - service/neptune/api_op_ModifyDBCluster.go | 3 - .../neptune/api_op_ModifyDBClusterEndpoint.go | 3 - .../api_op_ModifyDBClusterParameterGroup.go | 3 - ...api_op_ModifyDBClusterSnapshotAttribute.go | 3 - service/neptune/api_op_ModifyDBInstance.go | 3 - .../neptune/api_op_ModifyDBParameterGroup.go | 3 - service/neptune/api_op_ModifyDBSubnetGroup.go | 3 - .../neptune/api_op_ModifyEventSubscription.go | 3 - service/neptune/api_op_ModifyGlobalCluster.go | 3 - .../api_op_PromoteReadReplicaDBCluster.go | 3 - service/neptune/api_op_RebootDBInstance.go | 3 - .../neptune/api_op_RemoveFromGlobalCluster.go | 3 - .../neptune/api_op_RemoveRoleFromDBCluster.go | 3 - ..._RemoveSourceIdentifierFromSubscription.go | 3 - .../neptune/api_op_RemoveTagsFromResource.go | 3 - .../api_op_ResetDBClusterParameterGroup.go | 3 - .../neptune/api_op_ResetDBParameterGroup.go | 3 - .../api_op_RestoreDBClusterFromSnapshot.go | 3 - .../api_op_RestoreDBClusterToPointInTime.go | 3 - service/neptune/api_op_StartDBCluster.go | 3 - service/neptune/api_op_StopDBCluster.go | 3 - .../api_op_AddRoleToDBCluster.go.snap | 1 - ..._AddSourceIdentifierToSubscription.go.snap | 1 - .../snapshot/api_op_AddTagsToResource.go.snap | 1 - ...i_op_ApplyPendingMaintenanceAction.go.snap | 1 - ...api_op_CopyDBClusterParameterGroup.go.snap | 1 - .../api_op_CopyDBClusterSnapshot.go.snap | 1 - .../api_op_CopyDBParameterGroup.go.snap | 1 - .../snapshot/api_op_CreateDBCluster.go.snap | 1 - .../api_op_CreateDBClusterEndpoint.go.snap | 1 - ...i_op_CreateDBClusterParameterGroup.go.snap | 1 - .../api_op_CreateDBClusterSnapshot.go.snap | 1 - .../snapshot/api_op_CreateDBInstance.go.snap | 1 - .../api_op_CreateDBParameterGroup.go.snap | 1 - .../api_op_CreateDBSubnetGroup.go.snap | 1 - .../api_op_CreateEventSubscription.go.snap | 1 - .../api_op_CreateGlobalCluster.go.snap | 1 - .../snapshot/api_op_DeleteDBCluster.go.snap | 1 - .../api_op_DeleteDBClusterEndpoint.go.snap | 1 - ...i_op_DeleteDBClusterParameterGroup.go.snap | 1 - .../api_op_DeleteDBClusterSnapshot.go.snap | 1 - .../snapshot/api_op_DeleteDBInstance.go.snap | 1 - .../api_op_DeleteDBParameterGroup.go.snap | 1 - .../api_op_DeleteDBSubnetGroup.go.snap | 1 - .../api_op_DeleteEventSubscription.go.snap | 1 - .../api_op_DeleteGlobalCluster.go.snap | 1 - .../api_op_DescribeDBClusterEndpoints.go.snap | 1 - ...p_DescribeDBClusterParameterGroups.go.snap | 1 - ...api_op_DescribeDBClusterParameters.go.snap | 1 - ...escribeDBClusterSnapshotAttributes.go.snap | 1 - .../api_op_DescribeDBClusterSnapshots.go.snap | 1 - .../api_op_DescribeDBClusters.go.snap | 1 - .../api_op_DescribeDBEngineVersions.go.snap | 1 - .../api_op_DescribeDBInstances.go.snap | 1 - .../api_op_DescribeDBParameterGroups.go.snap | 1 - .../api_op_DescribeDBParameters.go.snap | 1 - .../api_op_DescribeDBSubnetGroups.go.snap | 1 - ...ribeEngineDefaultClusterParameters.go.snap | 1 - ...op_DescribeEngineDefaultParameters.go.snap | 1 - .../api_op_DescribeEventCategories.go.snap | 1 - .../api_op_DescribeEventSubscriptions.go.snap | 1 - .../snapshot/api_op_DescribeEvents.go.snap | 1 - .../api_op_DescribeGlobalClusters.go.snap | 1 - ...DescribeOrderableDBInstanceOptions.go.snap | 1 - ..._DescribePendingMaintenanceActions.go.snap | 1 - ...scribeValidDBInstanceModifications.go.snap | 1 - .../snapshot/api_op_FailoverDBCluster.go.snap | 1 - .../api_op_FailoverGlobalCluster.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ModifyDBCluster.go.snap | 1 - .../api_op_ModifyDBClusterEndpoint.go.snap | 1 - ...i_op_ModifyDBClusterParameterGroup.go.snap | 1 - ...p_ModifyDBClusterSnapshotAttribute.go.snap | 1 - .../snapshot/api_op_ModifyDBInstance.go.snap | 1 - .../api_op_ModifyDBParameterGroup.go.snap | 1 - .../api_op_ModifyDBSubnetGroup.go.snap | 1 - .../api_op_ModifyEventSubscription.go.snap | 1 - .../api_op_ModifyGlobalCluster.go.snap | 1 - ...api_op_PromoteReadReplicaDBCluster.go.snap | 1 - .../snapshot/api_op_RebootDBInstance.go.snap | 1 - .../api_op_RemoveFromGlobalCluster.go.snap | 1 - .../api_op_RemoveRoleFromDBCluster.go.snap | 1 - ...veSourceIdentifierFromSubscription.go.snap | 1 - .../api_op_RemoveTagsFromResource.go.snap | 1 - ...pi_op_ResetDBClusterParameterGroup.go.snap | 1 - .../api_op_ResetDBParameterGroup.go.snap | 1 - ...pi_op_RestoreDBClusterFromSnapshot.go.snap | 1 - ...i_op_RestoreDBClusterToPointInTime.go.snap | 1 - .../snapshot/api_op_StartDBCluster.go.snap | 1 - .../snapshot/api_op_StopDBCluster.go.snap | 1 - service/neptunedata/api_client.go | 31 -- .../neptunedata/api_op_CancelGremlinQuery.go | 3 - service/neptunedata/api_op_CancelLoaderJob.go | 3 - .../api_op_CancelMLDataProcessingJob.go | 3 - .../api_op_CancelMLModelTrainingJob.go | 3 - .../api_op_CancelMLModelTransformJob.go | 3 - .../api_op_CancelOpenCypherQuery.go | 3 - .../neptunedata/api_op_CreateMLEndpoint.go | 3 - .../neptunedata/api_op_DeleteMLEndpoint.go | 3 - .../api_op_DeletePropertygraphStatistics.go | 3 - .../api_op_DeleteSparqlStatistics.go | 3 - .../neptunedata/api_op_ExecuteFastReset.go | 3 - .../api_op_ExecuteGremlinExplainQuery.go | 3 - .../api_op_ExecuteGremlinProfileQuery.go | 3 - .../neptunedata/api_op_ExecuteGremlinQuery.go | 3 - .../api_op_ExecuteOpenCypherExplainQuery.go | 3 - .../api_op_ExecuteOpenCypherQuery.go | 3 - service/neptunedata/api_op_GetEngineStatus.go | 3 - .../api_op_GetGremlinQueryStatus.go | 3 - .../neptunedata/api_op_GetLoaderJobStatus.go | 3 - .../api_op_GetMLDataProcessingJob.go | 3 - service/neptunedata/api_op_GetMLEndpoint.go | 3 - .../api_op_GetMLModelTrainingJob.go | 3 - .../api_op_GetMLModelTransformJob.go | 3 - .../api_op_GetOpenCypherQueryStatus.go | 3 - .../api_op_GetPropertygraphStatistics.go | 3 - .../api_op_GetPropertygraphStream.go | 3 - .../api_op_GetPropertygraphSummary.go | 3 - .../neptunedata/api_op_GetRDFGraphSummary.go | 3 - .../neptunedata/api_op_GetSparqlStatistics.go | 3 - service/neptunedata/api_op_GetSparqlStream.go | 3 - .../neptunedata/api_op_ListGremlinQueries.go | 3 - service/neptunedata/api_op_ListLoaderJobs.go | 3 - .../api_op_ListMLDataProcessingJobs.go | 3 - service/neptunedata/api_op_ListMLEndpoints.go | 3 - .../api_op_ListMLModelTrainingJobs.go | 3 - .../api_op_ListMLModelTransformJobs.go | 3 - .../api_op_ListOpenCypherQueries.go | 3 - .../api_op_ManagePropertygraphStatistics.go | 3 - .../api_op_ManageSparqlStatistics.go | 3 - service/neptunedata/api_op_StartLoaderJob.go | 3 - .../api_op_StartMLDataProcessingJob.go | 3 - .../api_op_StartMLModelTrainingJob.go | 3 - .../api_op_StartMLModelTransformJob.go | 3 - .../api_op_CancelGremlinQuery.go.snap | 1 - .../snapshot/api_op_CancelLoaderJob.go.snap | 1 - .../api_op_CancelMLDataProcessingJob.go.snap | 1 - .../api_op_CancelMLModelTrainingJob.go.snap | 1 - .../api_op_CancelMLModelTransformJob.go.snap | 1 - .../api_op_CancelOpenCypherQuery.go.snap | 1 - .../snapshot/api_op_CreateMLEndpoint.go.snap | 1 - .../snapshot/api_op_DeleteMLEndpoint.go.snap | 1 - ...i_op_DeletePropertygraphStatistics.go.snap | 1 - .../api_op_DeleteSparqlStatistics.go.snap | 1 - .../snapshot/api_op_ExecuteFastReset.go.snap | 1 - .../api_op_ExecuteGremlinExplainQuery.go.snap | 1 - .../api_op_ExecuteGremlinProfileQuery.go.snap | 1 - .../api_op_ExecuteGremlinQuery.go.snap | 1 - ...i_op_ExecuteOpenCypherExplainQuery.go.snap | 1 - .../api_op_ExecuteOpenCypherQuery.go.snap | 1 - .../snapshot/api_op_GetEngineStatus.go.snap | 1 - .../api_op_GetGremlinQueryStatus.go.snap | 1 - .../api_op_GetLoaderJobStatus.go.snap | 1 - .../api_op_GetMLDataProcessingJob.go.snap | 1 - .../snapshot/api_op_GetMLEndpoint.go.snap | 1 - .../api_op_GetMLModelTrainingJob.go.snap | 1 - .../api_op_GetMLModelTransformJob.go.snap | 1 - .../api_op_GetOpenCypherQueryStatus.go.snap | 1 - .../api_op_GetPropertygraphStatistics.go.snap | 1 - .../api_op_GetPropertygraphStream.go.snap | 1 - .../api_op_GetPropertygraphSummary.go.snap | 1 - .../api_op_GetRDFGraphSummary.go.snap | 1 - .../api_op_GetSparqlStatistics.go.snap | 1 - .../snapshot/api_op_GetSparqlStream.go.snap | 1 - .../api_op_ListGremlinQueries.go.snap | 1 - .../snapshot/api_op_ListLoaderJobs.go.snap | 1 - .../api_op_ListMLDataProcessingJobs.go.snap | 1 - .../snapshot/api_op_ListMLEndpoints.go.snap | 1 - .../api_op_ListMLModelTrainingJobs.go.snap | 1 - .../api_op_ListMLModelTransformJobs.go.snap | 1 - .../api_op_ListOpenCypherQueries.go.snap | 1 - ...i_op_ManagePropertygraphStatistics.go.snap | 1 - .../api_op_ManageSparqlStatistics.go.snap | 1 - .../snapshot/api_op_StartLoaderJob.go.snap | 1 - .../api_op_StartMLDataProcessingJob.go.snap | 1 - .../api_op_StartMLModelTrainingJob.go.snap | 1 - .../api_op_StartMLModelTransformJob.go.snap | 1 - service/neptunegraph/api_client.go | 31 -- .../neptunegraph/api_op_CancelExportTask.go | 3 - .../neptunegraph/api_op_CancelImportTask.go | 3 - service/neptunegraph/api_op_CancelQuery.go | 3 - service/neptunegraph/api_op_CreateGraph.go | 3 - .../api_op_CreateGraphSnapshot.go | 3 - .../api_op_CreateGraphUsingImportTask.go | 3 - .../api_op_CreatePrivateGraphEndpoint.go | 3 - service/neptunegraph/api_op_DeleteGraph.go | 3 - .../api_op_DeleteGraphSnapshot.go | 3 - .../api_op_DeletePrivateGraphEndpoint.go | 3 - service/neptunegraph/api_op_ExecuteQuery.go | 3 - service/neptunegraph/api_op_GetExportTask.go | 3 - service/neptunegraph/api_op_GetGraph.go | 3 - .../neptunegraph/api_op_GetGraphSnapshot.go | 3 - .../neptunegraph/api_op_GetGraphSummary.go | 3 - service/neptunegraph/api_op_GetImportTask.go | 3 - .../api_op_GetPrivateGraphEndpoint.go | 3 - service/neptunegraph/api_op_GetQuery.go | 3 - .../neptunegraph/api_op_ListExportTasks.go | 3 - .../neptunegraph/api_op_ListGraphSnapshots.go | 3 - service/neptunegraph/api_op_ListGraphs.go | 3 - .../neptunegraph/api_op_ListImportTasks.go | 3 - .../api_op_ListPrivateGraphEndpoints.go | 3 - service/neptunegraph/api_op_ListQueries.go | 3 - .../api_op_ListTagsForResource.go | 3 - service/neptunegraph/api_op_ResetGraph.go | 3 - .../api_op_RestoreGraphFromSnapshot.go | 3 - .../neptunegraph/api_op_StartExportTask.go | 3 - .../neptunegraph/api_op_StartImportTask.go | 3 - service/neptunegraph/api_op_TagResource.go | 3 - service/neptunegraph/api_op_UntagResource.go | 3 - service/neptunegraph/api_op_UpdateGraph.go | 3 - .../snapshot/api_op_CancelExportTask.go.snap | 1 - .../snapshot/api_op_CancelImportTask.go.snap | 1 - .../snapshot/api_op_CancelQuery.go.snap | 1 - .../snapshot/api_op_CreateGraph.go.snap | 1 - .../api_op_CreateGraphSnapshot.go.snap | 1 - .../api_op_CreateGraphUsingImportTask.go.snap | 1 - .../api_op_CreatePrivateGraphEndpoint.go.snap | 1 - .../snapshot/api_op_DeleteGraph.go.snap | 1 - .../api_op_DeleteGraphSnapshot.go.snap | 1 - .../api_op_DeletePrivateGraphEndpoint.go.snap | 1 - .../snapshot/api_op_ExecuteQuery.go.snap | 1 - .../snapshot/api_op_GetExportTask.go.snap | 1 - .../snapshot/api_op_GetGraph.go.snap | 1 - .../snapshot/api_op_GetGraphSnapshot.go.snap | 1 - .../snapshot/api_op_GetGraphSummary.go.snap | 1 - .../snapshot/api_op_GetImportTask.go.snap | 1 - .../api_op_GetPrivateGraphEndpoint.go.snap | 1 - .../snapshot/api_op_GetQuery.go.snap | 1 - .../snapshot/api_op_ListExportTasks.go.snap | 1 - .../api_op_ListGraphSnapshots.go.snap | 1 - .../snapshot/api_op_ListGraphs.go.snap | 1 - .../snapshot/api_op_ListImportTasks.go.snap | 1 - .../api_op_ListPrivateGraphEndpoints.go.snap | 1 - .../snapshot/api_op_ListQueries.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ResetGraph.go.snap | 1 - .../api_op_RestoreGraphFromSnapshot.go.snap | 1 - .../snapshot/api_op_StartExportTask.go.snap | 1 - .../snapshot/api_op_StartImportTask.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateGraph.go.snap | 1 - service/networkfirewall/api_client.go | 31 -- .../api_op_AssociateFirewallPolicy.go | 3 - .../api_op_AssociateSubnets.go | 3 - .../networkfirewall/api_op_CreateFirewall.go | 3 - .../api_op_CreateFirewallPolicy.go | 3 - .../networkfirewall/api_op_CreateRuleGroup.go | 3 - ...api_op_CreateTLSInspectionConfiguration.go | 3 - .../networkfirewall/api_op_DeleteFirewall.go | 3 - .../api_op_DeleteFirewallPolicy.go | 3 - .../api_op_DeleteResourcePolicy.go | 3 - .../networkfirewall/api_op_DeleteRuleGroup.go | 3 - ...api_op_DeleteTLSInspectionConfiguration.go | 3 - .../api_op_DescribeFirewall.go | 3 - .../api_op_DescribeFirewallPolicy.go | 3 - .../api_op_DescribeLoggingConfiguration.go | 3 - .../api_op_DescribeResourcePolicy.go | 3 - .../api_op_DescribeRuleGroup.go | 3 - .../api_op_DescribeRuleGroupMetadata.go | 3 - ...i_op_DescribeTLSInspectionConfiguration.go | 3 - .../api_op_DisassociateSubnets.go | 3 - .../api_op_ListFirewallPolicies.go | 3 - .../networkfirewall/api_op_ListFirewalls.go | 3 - .../networkfirewall/api_op_ListRuleGroups.go | 3 - .../api_op_ListTLSInspectionConfigurations.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_PutResourcePolicy.go | 3 - service/networkfirewall/api_op_TagResource.go | 3 - .../networkfirewall/api_op_UntagResource.go | 3 - .../api_op_UpdateFirewallDeleteProtection.go | 3 - .../api_op_UpdateFirewallDescription.go | 3 - ...p_UpdateFirewallEncryptionConfiguration.go | 3 - .../api_op_UpdateFirewallPolicy.go | 3 - ...op_UpdateFirewallPolicyChangeProtection.go | 3 - .../api_op_UpdateLoggingConfiguration.go | 3 - .../networkfirewall/api_op_UpdateRuleGroup.go | 3 - .../api_op_UpdateSubnetChangeProtection.go | 3 - ...api_op_UpdateTLSInspectionConfiguration.go | 3 - .../api_op_AssociateFirewallPolicy.go.snap | 1 - .../snapshot/api_op_AssociateSubnets.go.snap | 1 - .../snapshot/api_op_CreateFirewall.go.snap | 1 - .../api_op_CreateFirewallPolicy.go.snap | 1 - .../snapshot/api_op_CreateRuleGroup.go.snap | 1 - ...p_CreateTLSInspectionConfiguration.go.snap | 1 - .../snapshot/api_op_DeleteFirewall.go.snap | 1 - .../api_op_DeleteFirewallPolicy.go.snap | 1 - .../api_op_DeleteResourcePolicy.go.snap | 1 - .../snapshot/api_op_DeleteRuleGroup.go.snap | 1 - ...p_DeleteTLSInspectionConfiguration.go.snap | 1 - .../snapshot/api_op_DescribeFirewall.go.snap | 1 - .../api_op_DescribeFirewallPolicy.go.snap | 1 - ...pi_op_DescribeLoggingConfiguration.go.snap | 1 - .../api_op_DescribeResourcePolicy.go.snap | 1 - .../snapshot/api_op_DescribeRuleGroup.go.snap | 1 - .../api_op_DescribeRuleGroupMetadata.go.snap | 1 - ...DescribeTLSInspectionConfiguration.go.snap | 1 - .../api_op_DisassociateSubnets.go.snap | 1 - .../api_op_ListFirewallPolicies.go.snap | 1 - .../snapshot/api_op_ListFirewalls.go.snap | 1 - .../snapshot/api_op_ListRuleGroups.go.snap | 1 - ...op_ListTLSInspectionConfigurations.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_PutResourcePolicy.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - ..._op_UpdateFirewallDeleteProtection.go.snap | 1 - .../api_op_UpdateFirewallDescription.go.snap | 1 - ...ateFirewallEncryptionConfiguration.go.snap | 1 - .../api_op_UpdateFirewallPolicy.go.snap | 1 - ...dateFirewallPolicyChangeProtection.go.snap | 1 - .../api_op_UpdateLoggingConfiguration.go.snap | 1 - .../snapshot/api_op_UpdateRuleGroup.go.snap | 1 - ...pi_op_UpdateSubnetChangeProtection.go.snap | 1 - ...p_UpdateTLSInspectionConfiguration.go.snap | 1 - service/networkflowmonitor/api_client.go | 31 -- .../api_op_CreateMonitor.go | 3 - .../networkflowmonitor/api_op_CreateScope.go | 3 - .../api_op_DeleteMonitor.go | 3 - .../networkflowmonitor/api_op_DeleteScope.go | 3 - .../networkflowmonitor/api_op_GetMonitor.go | 3 - ...p_GetQueryResultsMonitorTopContributors.go | 3 - ...yResultsWorkloadInsightsTopContributors.go | 3 - ...ultsWorkloadInsightsTopContributorsData.go | 3 - ...op_GetQueryStatusMonitorTopContributors.go | 3 - ...ryStatusWorkloadInsightsTopContributors.go | 3 - ...atusWorkloadInsightsTopContributorsData.go | 3 - service/networkflowmonitor/api_op_GetScope.go | 3 - .../networkflowmonitor/api_op_ListMonitors.go | 3 - .../networkflowmonitor/api_op_ListScopes.go | 3 - .../api_op_ListTagsForResource.go | 3 - ...api_op_StartQueryMonitorTopContributors.go | 3 - ...artQueryWorkloadInsightsTopContributors.go | 3 - ...ueryWorkloadInsightsTopContributorsData.go | 3 - .../api_op_StopQueryMonitorTopContributors.go | 3 - ...topQueryWorkloadInsightsTopContributors.go | 3 - ...ueryWorkloadInsightsTopContributorsData.go | 3 - .../networkflowmonitor/api_op_TagResource.go | 3 - .../api_op_UntagResource.go | 3 - .../api_op_UpdateMonitor.go | 3 - .../networkflowmonitor/api_op_UpdateScope.go | 3 - .../snapshot/api_op_CreateMonitor.go.snap | 1 - .../snapshot/api_op_CreateScope.go.snap | 1 - .../snapshot/api_op_DeleteMonitor.go.snap | 1 - .../snapshot/api_op_DeleteScope.go.snap | 1 - .../snapshot/api_op_GetMonitor.go.snap | 1 - ...QueryResultsMonitorTopContributors.go.snap | 1 - ...ltsWorkloadInsightsTopContributors.go.snap | 1 - ...orkloadInsightsTopContributorsData.go.snap | 1 - ...tQueryStatusMonitorTopContributors.go.snap | 1 - ...tusWorkloadInsightsTopContributors.go.snap | 1 - ...orkloadInsightsTopContributorsData.go.snap | 1 - .../snapshot/api_op_GetScope.go.snap | 1 - .../snapshot/api_op_ListMonitors.go.snap | 1 - .../snapshot/api_op_ListScopes.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - ...p_StartQueryMonitorTopContributors.go.snap | 1 - ...eryWorkloadInsightsTopContributors.go.snap | 1 - ...orkloadInsightsTopContributorsData.go.snap | 1 - ...op_StopQueryMonitorTopContributors.go.snap | 1 - ...eryWorkloadInsightsTopContributors.go.snap | 1 - ...orkloadInsightsTopContributorsData.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateMonitor.go.snap | 1 - .../snapshot/api_op_UpdateScope.go.snap | 1 - service/networkmanager/api_client.go | 31 -- .../networkmanager/api_op_AcceptAttachment.go | 3 - .../api_op_AssociateConnectPeer.go | 3 - .../api_op_AssociateCustomerGateway.go | 3 - .../networkmanager/api_op_AssociateLink.go | 3 - ...i_op_AssociateTransitGatewayConnectPeer.go | 3 - .../api_op_CreateConnectAttachment.go | 3 - .../api_op_CreateConnectPeer.go | 3 - .../networkmanager/api_op_CreateConnection.go | 3 - .../api_op_CreateCoreNetwork.go | 3 - service/networkmanager/api_op_CreateDevice.go | 3 - ...op_CreateDirectConnectGatewayAttachment.go | 3 - .../api_op_CreateGlobalNetwork.go | 3 - service/networkmanager/api_op_CreateLink.go | 3 - service/networkmanager/api_op_CreateSite.go | 3 - .../api_op_CreateSiteToSiteVpnAttachment.go | 3 - .../api_op_CreateTransitGatewayPeering.go | 3 - ...reateTransitGatewayRouteTableAttachment.go | 3 - .../api_op_CreateVpcAttachment.go | 3 - .../networkmanager/api_op_DeleteAttachment.go | 3 - .../api_op_DeleteConnectPeer.go | 3 - .../networkmanager/api_op_DeleteConnection.go | 3 - .../api_op_DeleteCoreNetwork.go | 3 - .../api_op_DeleteCoreNetworkPolicyVersion.go | 3 - service/networkmanager/api_op_DeleteDevice.go | 3 - .../api_op_DeleteGlobalNetwork.go | 3 - service/networkmanager/api_op_DeleteLink.go | 3 - .../networkmanager/api_op_DeletePeering.go | 3 - .../api_op_DeleteResourcePolicy.go | 3 - service/networkmanager/api_op_DeleteSite.go | 3 - .../api_op_DeregisterTransitGateway.go | 3 - .../api_op_DescribeGlobalNetworks.go | 3 - .../api_op_DisassociateConnectPeer.go | 3 - .../api_op_DisassociateCustomerGateway.go | 3 - .../networkmanager/api_op_DisassociateLink.go | 3 - ...p_DisassociateTransitGatewayConnectPeer.go | 3 - .../api_op_ExecuteCoreNetworkChangeSet.go | 3 - .../api_op_GetConnectAttachment.go | 3 - .../networkmanager/api_op_GetConnectPeer.go | 3 - .../api_op_GetConnectPeerAssociations.go | 3 - .../networkmanager/api_op_GetConnections.go | 3 - .../networkmanager/api_op_GetCoreNetwork.go | 3 - .../api_op_GetCoreNetworkChangeEvents.go | 3 - .../api_op_GetCoreNetworkChangeSet.go | 3 - .../api_op_GetCoreNetworkPolicy.go | 3 - .../api_op_GetCustomerGatewayAssociations.go | 3 - service/networkmanager/api_op_GetDevices.go | 3 - ...pi_op_GetDirectConnectGatewayAttachment.go | 3 - .../api_op_GetLinkAssociations.go | 3 - service/networkmanager/api_op_GetLinks.go | 3 - .../api_op_GetNetworkResourceCounts.go | 3 - .../api_op_GetNetworkResourceRelationships.go | 3 - .../api_op_GetNetworkResources.go | 3 - .../networkmanager/api_op_GetNetworkRoutes.go | 3 - .../api_op_GetNetworkTelemetry.go | 3 - .../api_op_GetResourcePolicy.go | 3 - .../networkmanager/api_op_GetRouteAnalysis.go | 3 - .../api_op_GetSiteToSiteVpnAttachment.go | 3 - service/networkmanager/api_op_GetSites.go | 3 - ...etTransitGatewayConnectPeerAssociations.go | 3 - .../api_op_GetTransitGatewayPeering.go | 3 - .../api_op_GetTransitGatewayRegistrations.go | 3 - ...p_GetTransitGatewayRouteTableAttachment.go | 3 - .../networkmanager/api_op_GetVpcAttachment.go | 3 - .../networkmanager/api_op_ListAttachments.go | 3 - .../networkmanager/api_op_ListConnectPeers.go | 3 - .../api_op_ListCoreNetworkPolicyVersions.go | 3 - .../networkmanager/api_op_ListCoreNetworks.go | 3 - ..._op_ListOrganizationServiceAccessStatus.go | 3 - service/networkmanager/api_op_ListPeerings.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_PutCoreNetworkPolicy.go | 3 - .../api_op_PutResourcePolicy.go | 3 - .../api_op_RegisterTransitGateway.go | 3 - .../networkmanager/api_op_RejectAttachment.go | 3 - .../api_op_RestoreCoreNetworkPolicyVersion.go | 3 - ...op_StartOrganizationServiceAccessUpdate.go | 3 - .../api_op_StartRouteAnalysis.go | 3 - service/networkmanager/api_op_TagResource.go | 3 - .../networkmanager/api_op_UntagResource.go | 3 - .../networkmanager/api_op_UpdateConnection.go | 3 - .../api_op_UpdateCoreNetwork.go | 3 - service/networkmanager/api_op_UpdateDevice.go | 3 - ...op_UpdateDirectConnectGatewayAttachment.go | 3 - .../api_op_UpdateGlobalNetwork.go | 3 - service/networkmanager/api_op_UpdateLink.go | 3 - .../api_op_UpdateNetworkResourceMetadata.go | 3 - service/networkmanager/api_op_UpdateSite.go | 3 - .../api_op_UpdateVpcAttachment.go | 3 - .../snapshot/api_op_AcceptAttachment.go.snap | 1 - .../api_op_AssociateConnectPeer.go.snap | 1 - .../api_op_AssociateCustomerGateway.go.snap | 1 - .../snapshot/api_op_AssociateLink.go.snap | 1 - ...AssociateTransitGatewayConnectPeer.go.snap | 1 - .../api_op_CreateConnectAttachment.go.snap | 1 - .../snapshot/api_op_CreateConnectPeer.go.snap | 1 - .../snapshot/api_op_CreateConnection.go.snap | 1 - .../snapshot/api_op_CreateCoreNetwork.go.snap | 1 - .../snapshot/api_op_CreateDevice.go.snap | 1 - ...eateDirectConnectGatewayAttachment.go.snap | 1 - .../api_op_CreateGlobalNetwork.go.snap | 1 - .../snapshot/api_op_CreateLink.go.snap | 1 - .../snapshot/api_op_CreateSite.go.snap | 1 - ...i_op_CreateSiteToSiteVpnAttachment.go.snap | 1 - ...api_op_CreateTransitGatewayPeering.go.snap | 1 - ...TransitGatewayRouteTableAttachment.go.snap | 1 - .../api_op_CreateVpcAttachment.go.snap | 1 - .../snapshot/api_op_DeleteAttachment.go.snap | 1 - .../snapshot/api_op_DeleteConnectPeer.go.snap | 1 - .../snapshot/api_op_DeleteConnection.go.snap | 1 - .../snapshot/api_op_DeleteCoreNetwork.go.snap | 1 - ..._op_DeleteCoreNetworkPolicyVersion.go.snap | 1 - .../snapshot/api_op_DeleteDevice.go.snap | 1 - .../api_op_DeleteGlobalNetwork.go.snap | 1 - .../snapshot/api_op_DeleteLink.go.snap | 1 - .../snapshot/api_op_DeletePeering.go.snap | 1 - .../api_op_DeleteResourcePolicy.go.snap | 1 - .../snapshot/api_op_DeleteSite.go.snap | 1 - .../api_op_DeregisterTransitGateway.go.snap | 1 - .../api_op_DescribeGlobalNetworks.go.snap | 1 - .../api_op_DisassociateConnectPeer.go.snap | 1 - ...api_op_DisassociateCustomerGateway.go.snap | 1 - .../snapshot/api_op_DisassociateLink.go.snap | 1 - ...associateTransitGatewayConnectPeer.go.snap | 1 - ...api_op_ExecuteCoreNetworkChangeSet.go.snap | 1 - .../api_op_GetConnectAttachment.go.snap | 1 - .../snapshot/api_op_GetConnectPeer.go.snap | 1 - .../api_op_GetConnectPeerAssociations.go.snap | 1 - .../snapshot/api_op_GetConnections.go.snap | 1 - .../snapshot/api_op_GetCoreNetwork.go.snap | 1 - .../api_op_GetCoreNetworkChangeEvents.go.snap | 1 - .../api_op_GetCoreNetworkChangeSet.go.snap | 1 - .../api_op_GetCoreNetworkPolicy.go.snap | 1 - ..._op_GetCustomerGatewayAssociations.go.snap | 1 - .../snapshot/api_op_GetDevices.go.snap | 1 - ..._GetDirectConnectGatewayAttachment.go.snap | 1 - .../api_op_GetLinkAssociations.go.snap | 1 - .../snapshot/api_op_GetLinks.go.snap | 1 - .../api_op_GetNetworkResourceCounts.go.snap | 1 - ...op_GetNetworkResourceRelationships.go.snap | 1 - .../api_op_GetNetworkResources.go.snap | 1 - .../snapshot/api_op_GetNetworkRoutes.go.snap | 1 - .../api_op_GetNetworkTelemetry.go.snap | 1 - .../snapshot/api_op_GetResourcePolicy.go.snap | 1 - .../snapshot/api_op_GetRouteAnalysis.go.snap | 1 - .../api_op_GetSiteToSiteVpnAttachment.go.snap | 1 - .../snapshot/api_op_GetSites.go.snap | 1 - ...nsitGatewayConnectPeerAssociations.go.snap | 1 - .../api_op_GetTransitGatewayPeering.go.snap | 1 - ..._op_GetTransitGatewayRegistrations.go.snap | 1 - ...TransitGatewayRouteTableAttachment.go.snap | 1 - .../snapshot/api_op_GetVpcAttachment.go.snap | 1 - .../snapshot/api_op_ListAttachments.go.snap | 1 - .../snapshot/api_op_ListConnectPeers.go.snap | 1 - ...i_op_ListCoreNetworkPolicyVersions.go.snap | 1 - .../snapshot/api_op_ListCoreNetworks.go.snap | 1 - ...istOrganizationServiceAccessStatus.go.snap | 1 - .../snapshot/api_op_ListPeerings.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_PutCoreNetworkPolicy.go.snap | 1 - .../snapshot/api_op_PutResourcePolicy.go.snap | 1 - .../api_op_RegisterTransitGateway.go.snap | 1 - .../snapshot/api_op_RejectAttachment.go.snap | 1 - ...op_RestoreCoreNetworkPolicyVersion.go.snap | 1 - ...artOrganizationServiceAccessUpdate.go.snap | 1 - .../api_op_StartRouteAnalysis.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateConnection.go.snap | 1 - .../snapshot/api_op_UpdateCoreNetwork.go.snap | 1 - .../snapshot/api_op_UpdateDevice.go.snap | 1 - ...dateDirectConnectGatewayAttachment.go.snap | 1 - .../api_op_UpdateGlobalNetwork.go.snap | 1 - .../snapshot/api_op_UpdateLink.go.snap | 1 - ...i_op_UpdateNetworkResourceMetadata.go.snap | 1 - .../snapshot/api_op_UpdateSite.go.snap | 1 - .../api_op_UpdateVpcAttachment.go.snap | 1 - service/networkmonitor/api_client.go | 31 -- .../networkmonitor/api_op_CreateMonitor.go | 3 - service/networkmonitor/api_op_CreateProbe.go | 3 - .../networkmonitor/api_op_DeleteMonitor.go | 3 - service/networkmonitor/api_op_DeleteProbe.go | 3 - service/networkmonitor/api_op_GetMonitor.go | 3 - service/networkmonitor/api_op_GetProbe.go | 3 - service/networkmonitor/api_op_ListMonitors.go | 3 - .../api_op_ListTagsForResource.go | 3 - service/networkmonitor/api_op_TagResource.go | 3 - .../networkmonitor/api_op_UntagResource.go | 3 - .../networkmonitor/api_op_UpdateMonitor.go | 3 - service/networkmonitor/api_op_UpdateProbe.go | 3 - .../snapshot/api_op_CreateMonitor.go.snap | 1 - .../snapshot/api_op_CreateProbe.go.snap | 1 - .../snapshot/api_op_DeleteMonitor.go.snap | 1 - .../snapshot/api_op_DeleteProbe.go.snap | 1 - .../snapshot/api_op_GetMonitor.go.snap | 1 - .../snapshot/api_op_GetProbe.go.snap | 1 - .../snapshot/api_op_ListMonitors.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateMonitor.go.snap | 1 - .../snapshot/api_op_UpdateProbe.go.snap | 1 - service/notifications/api_client.go | 31 -- .../notifications/api_op_AssociateChannel.go | 3 - ...ociateManagedNotificationAccountContact.go | 3 - ...ateManagedNotificationAdditionalChannel.go | 3 - .../notifications/api_op_CreateEventRule.go | 3 - .../api_op_CreateNotificationConfiguration.go | 3 - .../notifications/api_op_DeleteEventRule.go | 3 - .../api_op_DeleteNotificationConfiguration.go | 3 - .../api_op_DeregisterNotificationHub.go | 3 - ...sableNotificationsAccessForOrganization.go | 3 - .../api_op_DisassociateChannel.go | 3 - ...ociateManagedNotificationAccountContact.go | 3 - ...ateManagedNotificationAdditionalChannel.go | 3 - ...nableNotificationsAccessForOrganization.go | 3 - service/notifications/api_op_GetEventRule.go | 3 - ...api_op_GetManagedNotificationChildEvent.go | 3 - ..._op_GetManagedNotificationConfiguration.go | 3 - .../api_op_GetManagedNotificationEvent.go | 3 - .../api_op_GetNotificationConfiguration.go | 3 - .../api_op_GetNotificationEvent.go | 3 - ...p_GetNotificationsAccessForOrganization.go | 3 - service/notifications/api_op_ListChannels.go | 3 - .../notifications/api_op_ListEventRules.go | 3 - ...tManagedNotificationChannelAssociations.go | 3 - ...i_op_ListManagedNotificationChildEvents.go | 3 - ...p_ListManagedNotificationConfigurations.go | 3 - .../api_op_ListManagedNotificationEvents.go | 3 - .../api_op_ListNotificationConfigurations.go | 3 - .../api_op_ListNotificationEvents.go | 3 - .../api_op_ListNotificationHubs.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_RegisterNotificationHub.go | 3 - service/notifications/api_op_TagResource.go | 3 - service/notifications/api_op_UntagResource.go | 3 - .../notifications/api_op_UpdateEventRule.go | 3 - .../api_op_UpdateNotificationConfiguration.go | 3 - .../snapshot/api_op_AssociateChannel.go.snap | 1 - ...eManagedNotificationAccountContact.go.snap | 1 - ...nagedNotificationAdditionalChannel.go.snap | 1 - .../snapshot/api_op_CreateEventRule.go.snap | 1 - ...op_CreateNotificationConfiguration.go.snap | 1 - .../snapshot/api_op_DeleteEventRule.go.snap | 1 - ...op_DeleteNotificationConfiguration.go.snap | 1 - .../api_op_DeregisterNotificationHub.go.snap | 1 - ...NotificationsAccessForOrganization.go.snap | 1 - .../api_op_DisassociateChannel.go.snap | 1 - ...eManagedNotificationAccountContact.go.snap | 1 - ...nagedNotificationAdditionalChannel.go.snap | 1 - ...NotificationsAccessForOrganization.go.snap | 1 - .../snapshot/api_op_GetEventRule.go.snap | 1 - ...p_GetManagedNotificationChildEvent.go.snap | 1 - ...etManagedNotificationConfiguration.go.snap | 1 - ...api_op_GetManagedNotificationEvent.go.snap | 1 - ...pi_op_GetNotificationConfiguration.go.snap | 1 - .../api_op_GetNotificationEvent.go.snap | 1 - ...NotificationsAccessForOrganization.go.snap | 1 - .../snapshot/api_op_ListChannels.go.snap | 1 - .../snapshot/api_op_ListEventRules.go.snap | 1 - ...gedNotificationChannelAssociations.go.snap | 1 - ...ListManagedNotificationChildEvents.go.snap | 1 - ...tManagedNotificationConfigurations.go.snap | 1 - ...i_op_ListManagedNotificationEvents.go.snap | 1 - ..._op_ListNotificationConfigurations.go.snap | 1 - .../api_op_ListNotificationEvents.go.snap | 1 - .../api_op_ListNotificationHubs.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_RegisterNotificationHub.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateEventRule.go.snap | 1 - ...op_UpdateNotificationConfiguration.go.snap | 1 - service/notificationscontacts/api_client.go | 31 -- .../api_op_ActivateEmailContact.go | 3 - .../api_op_CreateEmailContact.go | 3 - .../api_op_DeleteEmailContact.go | 3 - .../api_op_GetEmailContact.go | 3 - .../api_op_ListEmailContacts.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_SendActivationCode.go | 3 - .../api_op_TagResource.go | 3 - .../api_op_UntagResource.go | 3 - .../api_op_ActivateEmailContact.go.snap | 1 - .../api_op_CreateEmailContact.go.snap | 1 - .../api_op_DeleteEmailContact.go.snap | 1 - .../snapshot/api_op_GetEmailContact.go.snap | 1 - .../snapshot/api_op_ListEmailContacts.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_SendActivationCode.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - service/oam/api_client.go | 31 -- service/oam/api_op_CreateLink.go | 3 - service/oam/api_op_CreateSink.go | 3 - service/oam/api_op_DeleteLink.go | 3 - service/oam/api_op_DeleteSink.go | 3 - service/oam/api_op_GetLink.go | 3 - service/oam/api_op_GetSink.go | 3 - service/oam/api_op_GetSinkPolicy.go | 3 - service/oam/api_op_ListAttachedLinks.go | 3 - service/oam/api_op_ListLinks.go | 3 - service/oam/api_op_ListSinks.go | 3 - service/oam/api_op_ListTagsForResource.go | 3 - service/oam/api_op_PutSinkPolicy.go | 3 - service/oam/api_op_TagResource.go | 3 - service/oam/api_op_UntagResource.go | 3 - service/oam/api_op_UpdateLink.go | 3 - .../oam/snapshot/api_op_CreateLink.go.snap | 1 - .../oam/snapshot/api_op_CreateSink.go.snap | 1 - .../oam/snapshot/api_op_DeleteLink.go.snap | 1 - .../oam/snapshot/api_op_DeleteSink.go.snap | 1 - service/oam/snapshot/api_op_GetLink.go.snap | 1 - service/oam/snapshot/api_op_GetSink.go.snap | 1 - .../oam/snapshot/api_op_GetSinkPolicy.go.snap | 1 - .../snapshot/api_op_ListAttachedLinks.go.snap | 1 - service/oam/snapshot/api_op_ListLinks.go.snap | 1 - service/oam/snapshot/api_op_ListSinks.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../oam/snapshot/api_op_PutSinkPolicy.go.snap | 1 - .../oam/snapshot/api_op_TagResource.go.snap | 1 - .../oam/snapshot/api_op_UntagResource.go.snap | 1 - .../oam/snapshot/api_op_UpdateLink.go.snap | 1 - service/observabilityadmin/api_client.go | 31 -- .../api_op_GetTelemetryEvaluationStatus.go | 3 - ...elemetryEvaluationStatusForOrganization.go | 3 - .../api_op_ListResourceTelemetry.go | 3 - ...op_ListResourceTelemetryForOrganization.go | 3 - .../api_op_StartTelemetryEvaluation.go | 3 - ...StartTelemetryEvaluationForOrganization.go | 3 - .../api_op_StopTelemetryEvaluation.go | 3 - ..._StopTelemetryEvaluationForOrganization.go | 3 - ...pi_op_GetTelemetryEvaluationStatus.go.snap | 1 - ...tryEvaluationStatusForOrganization.go.snap | 1 - .../api_op_ListResourceTelemetry.go.snap | 1 - ...stResourceTelemetryForOrganization.go.snap | 1 - .../api_op_StartTelemetryEvaluation.go.snap | 1 - ...TelemetryEvaluationForOrganization.go.snap | 1 - .../api_op_StopTelemetryEvaluation.go.snap | 1 - ...TelemetryEvaluationForOrganization.go.snap | 1 - service/omics/api_client.go | 31 -- .../api_op_AbortMultipartReadSetUpload.go | 3 - service/omics/api_op_AcceptShare.go | 3 - service/omics/api_op_BatchDeleteReadSet.go | 3 - .../omics/api_op_CancelAnnotationImportJob.go | 3 - service/omics/api_op_CancelRun.go | 3 - .../omics/api_op_CancelVariantImportJob.go | 3 - .../api_op_CompleteMultipartReadSetUpload.go | 3 - service/omics/api_op_CreateAnnotationStore.go | 3 - .../api_op_CreateAnnotationStoreVersion.go | 3 - .../api_op_CreateMultipartReadSetUpload.go | 3 - service/omics/api_op_CreateReferenceStore.go | 3 - service/omics/api_op_CreateRunCache.go | 3 - service/omics/api_op_CreateRunGroup.go | 3 - service/omics/api_op_CreateSequenceStore.go | 3 - service/omics/api_op_CreateShare.go | 3 - service/omics/api_op_CreateVariantStore.go | 3 - service/omics/api_op_CreateWorkflow.go | 3 - service/omics/api_op_DeleteAnnotationStore.go | 3 - .../api_op_DeleteAnnotationStoreVersions.go | 3 - service/omics/api_op_DeleteReference.go | 3 - service/omics/api_op_DeleteReferenceStore.go | 3 - service/omics/api_op_DeleteRun.go | 3 - service/omics/api_op_DeleteRunCache.go | 3 - service/omics/api_op_DeleteRunGroup.go | 3 - service/omics/api_op_DeleteS3AccessPolicy.go | 3 - service/omics/api_op_DeleteSequenceStore.go | 3 - service/omics/api_op_DeleteShare.go | 3 - service/omics/api_op_DeleteVariantStore.go | 3 - service/omics/api_op_DeleteWorkflow.go | 3 - .../omics/api_op_GetAnnotationImportJob.go | 3 - service/omics/api_op_GetAnnotationStore.go | 3 - .../omics/api_op_GetAnnotationStoreVersion.go | 3 - service/omics/api_op_GetReadSet.go | 3 - .../omics/api_op_GetReadSetActivationJob.go | 3 - service/omics/api_op_GetReadSetExportJob.go | 3 - service/omics/api_op_GetReadSetImportJob.go | 3 - service/omics/api_op_GetReadSetMetadata.go | 3 - service/omics/api_op_GetReference.go | 3 - service/omics/api_op_GetReferenceImportJob.go | 3 - service/omics/api_op_GetReferenceMetadata.go | 3 - service/omics/api_op_GetReferenceStore.go | 3 - service/omics/api_op_GetRun.go | 3 - service/omics/api_op_GetRunCache.go | 3 - service/omics/api_op_GetRunGroup.go | 3 - service/omics/api_op_GetRunTask.go | 3 - service/omics/api_op_GetS3AccessPolicy.go | 3 - service/omics/api_op_GetSequenceStore.go | 3 - service/omics/api_op_GetShare.go | 3 - service/omics/api_op_GetVariantImportJob.go | 3 - service/omics/api_op_GetVariantStore.go | 3 - service/omics/api_op_GetWorkflow.go | 3 - .../omics/api_op_ListAnnotationImportJobs.go | 3 - .../api_op_ListAnnotationStoreVersions.go | 3 - service/omics/api_op_ListAnnotationStores.go | 3 - .../api_op_ListMultipartReadSetUploads.go | 3 - .../omics/api_op_ListReadSetActivationJobs.go | 3 - service/omics/api_op_ListReadSetExportJobs.go | 3 - service/omics/api_op_ListReadSetImportJobs.go | 3 - .../omics/api_op_ListReadSetUploadParts.go | 3 - service/omics/api_op_ListReadSets.go | 3 - .../omics/api_op_ListReferenceImportJobs.go | 3 - service/omics/api_op_ListReferenceStores.go | 3 - service/omics/api_op_ListReferences.go | 3 - service/omics/api_op_ListRunCaches.go | 3 - service/omics/api_op_ListRunGroups.go | 3 - service/omics/api_op_ListRunTasks.go | 3 - service/omics/api_op_ListRuns.go | 3 - service/omics/api_op_ListSequenceStores.go | 3 - service/omics/api_op_ListShares.go | 3 - service/omics/api_op_ListTagsForResource.go | 3 - service/omics/api_op_ListVariantImportJobs.go | 3 - service/omics/api_op_ListVariantStores.go | 3 - service/omics/api_op_ListWorkflows.go | 3 - service/omics/api_op_PutS3AccessPolicy.go | 3 - .../omics/api_op_StartAnnotationImportJob.go | 3 - .../omics/api_op_StartReadSetActivationJob.go | 3 - service/omics/api_op_StartReadSetExportJob.go | 3 - service/omics/api_op_StartReadSetImportJob.go | 3 - .../omics/api_op_StartReferenceImportJob.go | 3 - service/omics/api_op_StartRun.go | 3 - service/omics/api_op_StartVariantImportJob.go | 3 - service/omics/api_op_TagResource.go | 3 - service/omics/api_op_UntagResource.go | 3 - service/omics/api_op_UpdateAnnotationStore.go | 3 - .../api_op_UpdateAnnotationStoreVersion.go | 3 - service/omics/api_op_UpdateRunCache.go | 3 - service/omics/api_op_UpdateRunGroup.go | 3 - service/omics/api_op_UpdateSequenceStore.go | 3 - service/omics/api_op_UpdateVariantStore.go | 3 - service/omics/api_op_UpdateWorkflow.go | 3 - service/omics/api_op_UploadReadSetPart.go | 3 - ...api_op_AbortMultipartReadSetUpload.go.snap | 1 - .../omics/snapshot/api_op_AcceptShare.go.snap | 1 - .../api_op_BatchDeleteReadSet.go.snap | 1 - .../api_op_CancelAnnotationImportJob.go.snap | 1 - .../omics/snapshot/api_op_CancelRun.go.snap | 1 - .../api_op_CancelVariantImportJob.go.snap | 1 - ..._op_CompleteMultipartReadSetUpload.go.snap | 1 - .../api_op_CreateAnnotationStore.go.snap | 1 - ...pi_op_CreateAnnotationStoreVersion.go.snap | 1 - ...pi_op_CreateMultipartReadSetUpload.go.snap | 1 - .../api_op_CreateReferenceStore.go.snap | 1 - .../snapshot/api_op_CreateRunCache.go.snap | 1 - .../snapshot/api_op_CreateRunGroup.go.snap | 1 - .../api_op_CreateSequenceStore.go.snap | 1 - .../omics/snapshot/api_op_CreateShare.go.snap | 1 - .../api_op_CreateVariantStore.go.snap | 1 - .../snapshot/api_op_CreateWorkflow.go.snap | 1 - .../api_op_DeleteAnnotationStore.go.snap | 1 - ...i_op_DeleteAnnotationStoreVersions.go.snap | 1 - .../snapshot/api_op_DeleteReference.go.snap | 1 - .../api_op_DeleteReferenceStore.go.snap | 1 - .../omics/snapshot/api_op_DeleteRun.go.snap | 1 - .../snapshot/api_op_DeleteRunCache.go.snap | 1 - .../snapshot/api_op_DeleteRunGroup.go.snap | 1 - .../api_op_DeleteS3AccessPolicy.go.snap | 1 - .../api_op_DeleteSequenceStore.go.snap | 1 - .../omics/snapshot/api_op_DeleteShare.go.snap | 1 - .../api_op_DeleteVariantStore.go.snap | 1 - .../snapshot/api_op_DeleteWorkflow.go.snap | 1 - .../api_op_GetAnnotationImportJob.go.snap | 1 - .../api_op_GetAnnotationStore.go.snap | 1 - .../api_op_GetAnnotationStoreVersion.go.snap | 1 - .../omics/snapshot/api_op_GetReadSet.go.snap | 1 - .../api_op_GetReadSetActivationJob.go.snap | 1 - .../api_op_GetReadSetExportJob.go.snap | 1 - .../api_op_GetReadSetImportJob.go.snap | 1 - .../api_op_GetReadSetMetadata.go.snap | 1 - .../snapshot/api_op_GetReference.go.snap | 1 - .../api_op_GetReferenceImportJob.go.snap | 1 - .../api_op_GetReferenceMetadata.go.snap | 1 - .../snapshot/api_op_GetReferenceStore.go.snap | 1 - service/omics/snapshot/api_op_GetRun.go.snap | 1 - .../omics/snapshot/api_op_GetRunCache.go.snap | 1 - .../omics/snapshot/api_op_GetRunGroup.go.snap | 1 - .../omics/snapshot/api_op_GetRunTask.go.snap | 1 - .../snapshot/api_op_GetS3AccessPolicy.go.snap | 1 - .../snapshot/api_op_GetSequenceStore.go.snap | 1 - .../omics/snapshot/api_op_GetShare.go.snap | 1 - .../api_op_GetVariantImportJob.go.snap | 1 - .../snapshot/api_op_GetVariantStore.go.snap | 1 - .../omics/snapshot/api_op_GetWorkflow.go.snap | 1 - .../api_op_ListAnnotationImportJobs.go.snap | 1 - ...api_op_ListAnnotationStoreVersions.go.snap | 1 - .../api_op_ListAnnotationStores.go.snap | 1 - ...api_op_ListMultipartReadSetUploads.go.snap | 1 - .../api_op_ListReadSetActivationJobs.go.snap | 1 - .../api_op_ListReadSetExportJobs.go.snap | 1 - .../api_op_ListReadSetImportJobs.go.snap | 1 - .../api_op_ListReadSetUploadParts.go.snap | 1 - .../snapshot/api_op_ListReadSets.go.snap | 1 - .../api_op_ListReferenceImportJobs.go.snap | 1 - .../api_op_ListReferenceStores.go.snap | 1 - .../snapshot/api_op_ListReferences.go.snap | 1 - .../snapshot/api_op_ListRunCaches.go.snap | 1 - .../snapshot/api_op_ListRunGroups.go.snap | 1 - .../snapshot/api_op_ListRunTasks.go.snap | 1 - .../omics/snapshot/api_op_ListRuns.go.snap | 1 - .../api_op_ListSequenceStores.go.snap | 1 - .../omics/snapshot/api_op_ListShares.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListVariantImportJobs.go.snap | 1 - .../snapshot/api_op_ListVariantStores.go.snap | 1 - .../snapshot/api_op_ListWorkflows.go.snap | 1 - .../snapshot/api_op_PutS3AccessPolicy.go.snap | 1 - .../api_op_StartAnnotationImportJob.go.snap | 1 - .../api_op_StartReadSetActivationJob.go.snap | 1 - .../api_op_StartReadSetExportJob.go.snap | 1 - .../api_op_StartReadSetImportJob.go.snap | 1 - .../api_op_StartReferenceImportJob.go.snap | 1 - .../omics/snapshot/api_op_StartRun.go.snap | 1 - .../api_op_StartVariantImportJob.go.snap | 1 - .../omics/snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateAnnotationStore.go.snap | 1 - ...pi_op_UpdateAnnotationStoreVersion.go.snap | 1 - .../snapshot/api_op_UpdateRunCache.go.snap | 1 - .../snapshot/api_op_UpdateRunGroup.go.snap | 1 - .../api_op_UpdateSequenceStore.go.snap | 1 - .../api_op_UpdateVariantStore.go.snap | 1 - .../snapshot/api_op_UpdateWorkflow.go.snap | 1 - .../snapshot/api_op_UploadReadSetPart.go.snap | 1 - service/opensearch/api_client.go | 31 -- .../api_op_AcceptInboundConnection.go | 3 - service/opensearch/api_op_AddDataSource.go | 3 - .../api_op_AddDirectQueryDataSource.go | 3 - service/opensearch/api_op_AddTags.go | 3 - service/opensearch/api_op_AssociatePackage.go | 3 - .../opensearch/api_op_AssociatePackages.go | 3 - .../api_op_AuthorizeVpcEndpointAccess.go | 3 - .../api_op_CancelDomainConfigChange.go | 3 - .../api_op_CancelServiceSoftwareUpdate.go | 3 - .../opensearch/api_op_CreateApplication.go | 3 - service/opensearch/api_op_CreateDomain.go | 3 - .../api_op_CreateOutboundConnection.go | 3 - service/opensearch/api_op_CreatePackage.go | 3 - .../opensearch/api_op_CreateVpcEndpoint.go | 3 - .../opensearch/api_op_DeleteApplication.go | 3 - service/opensearch/api_op_DeleteDataSource.go | 3 - .../api_op_DeleteDirectQueryDataSource.go | 3 - service/opensearch/api_op_DeleteDomain.go | 3 - .../api_op_DeleteInboundConnection.go | 3 - .../api_op_DeleteOutboundConnection.go | 3 - service/opensearch/api_op_DeletePackage.go | 3 - .../opensearch/api_op_DeleteVpcEndpoint.go | 3 - service/opensearch/api_op_DescribeDomain.go | 3 - .../api_op_DescribeDomainAutoTunes.go | 3 - .../api_op_DescribeDomainChangeProgress.go | 3 - .../opensearch/api_op_DescribeDomainConfig.go | 3 - .../opensearch/api_op_DescribeDomainHealth.go | 3 - .../opensearch/api_op_DescribeDomainNodes.go | 3 - service/opensearch/api_op_DescribeDomains.go | 3 - .../api_op_DescribeDryRunProgress.go | 3 - .../api_op_DescribeInboundConnections.go | 3 - .../api_op_DescribeInstanceTypeLimits.go | 3 - .../api_op_DescribeOutboundConnections.go | 3 - service/opensearch/api_op_DescribePackages.go | 3 - ...pi_op_DescribeReservedInstanceOfferings.go | 3 - .../api_op_DescribeReservedInstances.go | 3 - .../opensearch/api_op_DescribeVpcEndpoints.go | 3 - .../opensearch/api_op_DissociatePackage.go | 3 - .../opensearch/api_op_DissociatePackages.go | 3 - service/opensearch/api_op_GetApplication.go | 3 - .../api_op_GetCompatibleVersions.go | 3 - service/opensearch/api_op_GetDataSource.go | 3 - .../api_op_GetDirectQueryDataSource.go | 3 - .../api_op_GetDomainMaintenanceStatus.go | 3 - .../api_op_GetPackageVersionHistory.go | 3 - .../opensearch/api_op_GetUpgradeHistory.go | 3 - service/opensearch/api_op_GetUpgradeStatus.go | 3 - service/opensearch/api_op_ListApplications.go | 3 - service/opensearch/api_op_ListDataSources.go | 3 - .../api_op_ListDirectQueryDataSources.go | 3 - .../api_op_ListDomainMaintenances.go | 3 - service/opensearch/api_op_ListDomainNames.go | 3 - .../api_op_ListDomainsForPackage.go | 3 - .../api_op_ListInstanceTypeDetails.go | 3 - .../api_op_ListPackagesForDomain.go | 3 - .../opensearch/api_op_ListScheduledActions.go | 3 - service/opensearch/api_op_ListTags.go | 3 - service/opensearch/api_op_ListVersions.go | 3 - .../api_op_ListVpcEndpointAccess.go | 3 - service/opensearch/api_op_ListVpcEndpoints.go | 3 - .../api_op_ListVpcEndpointsForDomain.go | 3 - ...api_op_PurchaseReservedInstanceOffering.go | 3 - .../api_op_RejectInboundConnection.go | 3 - service/opensearch/api_op_RemoveTags.go | 3 - .../api_op_RevokeVpcEndpointAccess.go | 3 - .../api_op_StartDomainMaintenance.go | 3 - .../api_op_StartServiceSoftwareUpdate.go | 3 - .../opensearch/api_op_UpdateApplication.go | 3 - service/opensearch/api_op_UpdateDataSource.go | 3 - .../api_op_UpdateDirectQueryDataSource.go | 3 - .../opensearch/api_op_UpdateDomainConfig.go | 3 - service/opensearch/api_op_UpdatePackage.go | 3 - .../opensearch/api_op_UpdatePackageScope.go | 3 - .../api_op_UpdateScheduledAction.go | 3 - .../opensearch/api_op_UpdateVpcEndpoint.go | 3 - service/opensearch/api_op_UpgradeDomain.go | 3 - .../api_op_AcceptInboundConnection.go.snap | 1 - .../snapshot/api_op_AddDataSource.go.snap | 1 - .../api_op_AddDirectQueryDataSource.go.snap | 1 - .../snapshot/api_op_AddTags.go.snap | 1 - .../snapshot/api_op_AssociatePackage.go.snap | 1 - .../snapshot/api_op_AssociatePackages.go.snap | 1 - .../api_op_AuthorizeVpcEndpointAccess.go.snap | 1 - .../api_op_CancelDomainConfigChange.go.snap | 1 - ...api_op_CancelServiceSoftwareUpdate.go.snap | 1 - .../snapshot/api_op_CreateApplication.go.snap | 1 - .../snapshot/api_op_CreateDomain.go.snap | 1 - .../api_op_CreateOutboundConnection.go.snap | 1 - .../snapshot/api_op_CreatePackage.go.snap | 1 - .../snapshot/api_op_CreateVpcEndpoint.go.snap | 1 - .../snapshot/api_op_DeleteApplication.go.snap | 1 - .../snapshot/api_op_DeleteDataSource.go.snap | 1 - ...api_op_DeleteDirectQueryDataSource.go.snap | 1 - .../snapshot/api_op_DeleteDomain.go.snap | 1 - .../api_op_DeleteInboundConnection.go.snap | 1 - .../api_op_DeleteOutboundConnection.go.snap | 1 - .../snapshot/api_op_DeletePackage.go.snap | 1 - .../snapshot/api_op_DeleteVpcEndpoint.go.snap | 1 - .../snapshot/api_op_DescribeDomain.go.snap | 1 - .../api_op_DescribeDomainAutoTunes.go.snap | 1 - ...pi_op_DescribeDomainChangeProgress.go.snap | 1 - .../api_op_DescribeDomainConfig.go.snap | 1 - .../api_op_DescribeDomainHealth.go.snap | 1 - .../api_op_DescribeDomainNodes.go.snap | 1 - .../snapshot/api_op_DescribeDomains.go.snap | 1 - .../api_op_DescribeDryRunProgress.go.snap | 1 - .../api_op_DescribeInboundConnections.go.snap | 1 - .../api_op_DescribeInstanceTypeLimits.go.snap | 1 - ...api_op_DescribeOutboundConnections.go.snap | 1 - .../snapshot/api_op_DescribePackages.go.snap | 1 - ..._DescribeReservedInstanceOfferings.go.snap | 1 - .../api_op_DescribeReservedInstances.go.snap | 1 - .../api_op_DescribeVpcEndpoints.go.snap | 1 - .../snapshot/api_op_DissociatePackage.go.snap | 1 - .../api_op_DissociatePackages.go.snap | 1 - .../snapshot/api_op_GetApplication.go.snap | 1 - .../api_op_GetCompatibleVersions.go.snap | 1 - .../snapshot/api_op_GetDataSource.go.snap | 1 - .../api_op_GetDirectQueryDataSource.go.snap | 1 - .../api_op_GetDomainMaintenanceStatus.go.snap | 1 - .../api_op_GetPackageVersionHistory.go.snap | 1 - .../snapshot/api_op_GetUpgradeHistory.go.snap | 1 - .../snapshot/api_op_GetUpgradeStatus.go.snap | 1 - .../snapshot/api_op_ListApplications.go.snap | 1 - .../snapshot/api_op_ListDataSources.go.snap | 1 - .../api_op_ListDirectQueryDataSources.go.snap | 1 - .../api_op_ListDomainMaintenances.go.snap | 1 - .../snapshot/api_op_ListDomainNames.go.snap | 1 - .../api_op_ListDomainsForPackage.go.snap | 1 - .../api_op_ListInstanceTypeDetails.go.snap | 1 - .../api_op_ListPackagesForDomain.go.snap | 1 - .../api_op_ListScheduledActions.go.snap | 1 - .../snapshot/api_op_ListTags.go.snap | 1 - .../snapshot/api_op_ListVersions.go.snap | 1 - .../api_op_ListVpcEndpointAccess.go.snap | 1 - .../snapshot/api_op_ListVpcEndpoints.go.snap | 1 - .../api_op_ListVpcEndpointsForDomain.go.snap | 1 - ...p_PurchaseReservedInstanceOffering.go.snap | 1 - .../api_op_RejectInboundConnection.go.snap | 1 - .../snapshot/api_op_RemoveTags.go.snap | 1 - .../api_op_RevokeVpcEndpointAccess.go.snap | 1 - .../api_op_StartDomainMaintenance.go.snap | 1 - .../api_op_StartServiceSoftwareUpdate.go.snap | 1 - .../snapshot/api_op_UpdateApplication.go.snap | 1 - .../snapshot/api_op_UpdateDataSource.go.snap | 1 - ...api_op_UpdateDirectQueryDataSource.go.snap | 1 - .../api_op_UpdateDomainConfig.go.snap | 1 - .../snapshot/api_op_UpdatePackage.go.snap | 1 - .../api_op_UpdatePackageScope.go.snap | 1 - .../api_op_UpdateScheduledAction.go.snap | 1 - .../snapshot/api_op_UpdateVpcEndpoint.go.snap | 1 - .../snapshot/api_op_UpgradeDomain.go.snap | 1 - service/opensearchserverless/api_client.go | 31 -- .../api_op_BatchGetCollection.go | 3 - ...api_op_BatchGetEffectiveLifecyclePolicy.go | 3 - .../api_op_BatchGetLifecyclePolicy.go | 3 - .../api_op_BatchGetVpcEndpoint.go | 3 - .../api_op_CreateAccessPolicy.go | 3 - .../api_op_CreateCollection.go | 3 - .../api_op_CreateLifecyclePolicy.go | 3 - .../api_op_CreateSecurityConfig.go | 3 - .../api_op_CreateSecurityPolicy.go | 3 - .../api_op_CreateVpcEndpoint.go | 3 - .../api_op_DeleteAccessPolicy.go | 3 - .../api_op_DeleteCollection.go | 3 - .../api_op_DeleteLifecyclePolicy.go | 3 - .../api_op_DeleteSecurityConfig.go | 3 - .../api_op_DeleteSecurityPolicy.go | 3 - .../api_op_DeleteVpcEndpoint.go | 3 - .../api_op_GetAccessPolicy.go | 3 - .../api_op_GetAccountSettings.go | 3 - .../api_op_GetPoliciesStats.go | 3 - .../api_op_GetSecurityConfig.go | 3 - .../api_op_GetSecurityPolicy.go | 3 - .../api_op_ListAccessPolicies.go | 3 - .../api_op_ListCollections.go | 3 - .../api_op_ListLifecyclePolicies.go | 3 - .../api_op_ListSecurityConfigs.go | 3 - .../api_op_ListSecurityPolicies.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_ListVpcEndpoints.go | 3 - .../api_op_TagResource.go | 3 - .../api_op_UntagResource.go | 3 - .../api_op_UpdateAccessPolicy.go | 3 - .../api_op_UpdateAccountSettings.go | 3 - .../api_op_UpdateCollection.go | 3 - .../api_op_UpdateLifecyclePolicy.go | 3 - .../api_op_UpdateSecurityConfig.go | 3 - .../api_op_UpdateSecurityPolicy.go | 3 - .../api_op_UpdateVpcEndpoint.go | 3 - .../api_op_BatchGetCollection.go.snap | 1 - ...p_BatchGetEffectiveLifecyclePolicy.go.snap | 1 - .../api_op_BatchGetLifecyclePolicy.go.snap | 1 - .../api_op_BatchGetVpcEndpoint.go.snap | 1 - .../api_op_CreateAccessPolicy.go.snap | 1 - .../snapshot/api_op_CreateCollection.go.snap | 1 - .../api_op_CreateLifecyclePolicy.go.snap | 1 - .../api_op_CreateSecurityConfig.go.snap | 1 - .../api_op_CreateSecurityPolicy.go.snap | 1 - .../snapshot/api_op_CreateVpcEndpoint.go.snap | 1 - .../api_op_DeleteAccessPolicy.go.snap | 1 - .../snapshot/api_op_DeleteCollection.go.snap | 1 - .../api_op_DeleteLifecyclePolicy.go.snap | 1 - .../api_op_DeleteSecurityConfig.go.snap | 1 - .../api_op_DeleteSecurityPolicy.go.snap | 1 - .../snapshot/api_op_DeleteVpcEndpoint.go.snap | 1 - .../snapshot/api_op_GetAccessPolicy.go.snap | 1 - .../api_op_GetAccountSettings.go.snap | 1 - .../snapshot/api_op_GetPoliciesStats.go.snap | 1 - .../snapshot/api_op_GetSecurityConfig.go.snap | 1 - .../snapshot/api_op_GetSecurityPolicy.go.snap | 1 - .../api_op_ListAccessPolicies.go.snap | 1 - .../snapshot/api_op_ListCollections.go.snap | 1 - .../api_op_ListLifecyclePolicies.go.snap | 1 - .../api_op_ListSecurityConfigs.go.snap | 1 - .../api_op_ListSecurityPolicies.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListVpcEndpoints.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateAccessPolicy.go.snap | 1 - .../api_op_UpdateAccountSettings.go.snap | 1 - .../snapshot/api_op_UpdateCollection.go.snap | 1 - .../api_op_UpdateLifecyclePolicy.go.snap | 1 - .../api_op_UpdateSecurityConfig.go.snap | 1 - .../api_op_UpdateSecurityPolicy.go.snap | 1 - .../snapshot/api_op_UpdateVpcEndpoint.go.snap | 1 - service/opsworks/api_client.go | 31 -- service/opsworks/api_op_AssignInstance.go | 3 - service/opsworks/api_op_AssignVolume.go | 3 - service/opsworks/api_op_AssociateElasticIp.go | 3 - .../api_op_AttachElasticLoadBalancer.go | 3 - service/opsworks/api_op_CloneStack.go | 3 - service/opsworks/api_op_CreateApp.go | 3 - service/opsworks/api_op_CreateDeployment.go | 3 - service/opsworks/api_op_CreateInstance.go | 3 - service/opsworks/api_op_CreateLayer.go | 3 - service/opsworks/api_op_CreateStack.go | 3 - service/opsworks/api_op_CreateUserProfile.go | 3 - service/opsworks/api_op_DeleteApp.go | 3 - service/opsworks/api_op_DeleteInstance.go | 3 - service/opsworks/api_op_DeleteLayer.go | 3 - service/opsworks/api_op_DeleteStack.go | 3 - service/opsworks/api_op_DeleteUserProfile.go | 3 - .../opsworks/api_op_DeregisterEcsCluster.go | 3 - .../opsworks/api_op_DeregisterElasticIp.go | 3 - service/opsworks/api_op_DeregisterInstance.go | 3 - .../api_op_DeregisterRdsDbInstance.go | 3 - service/opsworks/api_op_DeregisterVolume.go | 3 - .../opsworks/api_op_DescribeAgentVersions.go | 3 - service/opsworks/api_op_DescribeApps.go | 3 - service/opsworks/api_op_DescribeCommands.go | 3 - .../opsworks/api_op_DescribeDeployments.go | 3 - .../opsworks/api_op_DescribeEcsClusters.go | 3 - service/opsworks/api_op_DescribeElasticIps.go | 3 - .../api_op_DescribeElasticLoadBalancers.go | 3 - service/opsworks/api_op_DescribeInstances.go | 3 - service/opsworks/api_op_DescribeLayers.go | 3 - .../api_op_DescribeLoadBasedAutoScaling.go | 3 - .../opsworks/api_op_DescribeMyUserProfile.go | 3 - .../api_op_DescribeOperatingSystems.go | 3 - .../opsworks/api_op_DescribePermissions.go | 3 - service/opsworks/api_op_DescribeRaidArrays.go | 3 - .../opsworks/api_op_DescribeRdsDbInstances.go | 3 - .../opsworks/api_op_DescribeServiceErrors.go | 3 - ..._op_DescribeStackProvisioningParameters.go | 3 - .../opsworks/api_op_DescribeStackSummary.go | 3 - service/opsworks/api_op_DescribeStacks.go | 3 - .../api_op_DescribeTimeBasedAutoScaling.go | 3 - .../opsworks/api_op_DescribeUserProfiles.go | 3 - service/opsworks/api_op_DescribeVolumes.go | 3 - .../api_op_DetachElasticLoadBalancer.go | 3 - .../opsworks/api_op_DisassociateElasticIp.go | 3 - .../opsworks/api_op_GetHostnameSuggestion.go | 3 - service/opsworks/api_op_GrantAccess.go | 3 - service/opsworks/api_op_ListTags.go | 3 - service/opsworks/api_op_RebootInstance.go | 3 - service/opsworks/api_op_RegisterEcsCluster.go | 3 - service/opsworks/api_op_RegisterElasticIp.go | 3 - service/opsworks/api_op_RegisterInstance.go | 3 - .../opsworks/api_op_RegisterRdsDbInstance.go | 3 - service/opsworks/api_op_RegisterVolume.go | 3 - .../api_op_SetLoadBasedAutoScaling.go | 3 - service/opsworks/api_op_SetPermission.go | 3 - .../api_op_SetTimeBasedAutoScaling.go | 3 - service/opsworks/api_op_StartInstance.go | 3 - service/opsworks/api_op_StartStack.go | 3 - service/opsworks/api_op_StopInstance.go | 3 - service/opsworks/api_op_StopStack.go | 3 - service/opsworks/api_op_TagResource.go | 3 - service/opsworks/api_op_UnassignInstance.go | 3 - service/opsworks/api_op_UnassignVolume.go | 3 - service/opsworks/api_op_UntagResource.go | 3 - service/opsworks/api_op_UpdateApp.go | 3 - service/opsworks/api_op_UpdateElasticIp.go | 3 - service/opsworks/api_op_UpdateInstance.go | 3 - service/opsworks/api_op_UpdateLayer.go | 3 - .../opsworks/api_op_UpdateMyUserProfile.go | 3 - .../opsworks/api_op_UpdateRdsDbInstance.go | 3 - service/opsworks/api_op_UpdateStack.go | 3 - service/opsworks/api_op_UpdateUserProfile.go | 3 - service/opsworks/api_op_UpdateVolume.go | 3 - .../snapshot/api_op_AssignInstance.go.snap | 1 - .../snapshot/api_op_AssignVolume.go.snap | 1 - .../api_op_AssociateElasticIp.go.snap | 1 - .../api_op_AttachElasticLoadBalancer.go.snap | 1 - .../snapshot/api_op_CloneStack.go.snap | 1 - .../snapshot/api_op_CreateApp.go.snap | 1 - .../snapshot/api_op_CreateDeployment.go.snap | 1 - .../snapshot/api_op_CreateInstance.go.snap | 1 - .../snapshot/api_op_CreateLayer.go.snap | 1 - .../snapshot/api_op_CreateStack.go.snap | 1 - .../snapshot/api_op_CreateUserProfile.go.snap | 1 - .../snapshot/api_op_DeleteApp.go.snap | 1 - .../snapshot/api_op_DeleteInstance.go.snap | 1 - .../snapshot/api_op_DeleteLayer.go.snap | 1 - .../snapshot/api_op_DeleteStack.go.snap | 1 - .../snapshot/api_op_DeleteUserProfile.go.snap | 1 - .../api_op_DeregisterEcsCluster.go.snap | 1 - .../api_op_DeregisterElasticIp.go.snap | 1 - .../api_op_DeregisterInstance.go.snap | 1 - .../api_op_DeregisterRdsDbInstance.go.snap | 1 - .../snapshot/api_op_DeregisterVolume.go.snap | 1 - .../api_op_DescribeAgentVersions.go.snap | 1 - .../snapshot/api_op_DescribeApps.go.snap | 1 - .../snapshot/api_op_DescribeCommands.go.snap | 1 - .../api_op_DescribeDeployments.go.snap | 1 - .../api_op_DescribeEcsClusters.go.snap | 1 - .../api_op_DescribeElasticIps.go.snap | 1 - ...pi_op_DescribeElasticLoadBalancers.go.snap | 1 - .../snapshot/api_op_DescribeInstances.go.snap | 1 - .../snapshot/api_op_DescribeLayers.go.snap | 1 - ...pi_op_DescribeLoadBasedAutoScaling.go.snap | 1 - .../api_op_DescribeMyUserProfile.go.snap | 1 - .../api_op_DescribeOperatingSystems.go.snap | 1 - .../api_op_DescribePermissions.go.snap | 1 - .../api_op_DescribeRaidArrays.go.snap | 1 - .../api_op_DescribeRdsDbInstances.go.snap | 1 - .../api_op_DescribeServiceErrors.go.snap | 1 - ...escribeStackProvisioningParameters.go.snap | 1 - .../api_op_DescribeStackSummary.go.snap | 1 - .../snapshot/api_op_DescribeStacks.go.snap | 1 - ...pi_op_DescribeTimeBasedAutoScaling.go.snap | 1 - .../api_op_DescribeUserProfiles.go.snap | 1 - .../snapshot/api_op_DescribeVolumes.go.snap | 1 - .../api_op_DetachElasticLoadBalancer.go.snap | 1 - .../api_op_DisassociateElasticIp.go.snap | 1 - .../api_op_GetHostnameSuggestion.go.snap | 1 - .../snapshot/api_op_GrantAccess.go.snap | 1 - .../opsworks/snapshot/api_op_ListTags.go.snap | 1 - .../snapshot/api_op_RebootInstance.go.snap | 1 - .../api_op_RegisterEcsCluster.go.snap | 1 - .../snapshot/api_op_RegisterElasticIp.go.snap | 1 - .../snapshot/api_op_RegisterInstance.go.snap | 1 - .../api_op_RegisterRdsDbInstance.go.snap | 1 - .../snapshot/api_op_RegisterVolume.go.snap | 1 - .../api_op_SetLoadBasedAutoScaling.go.snap | 1 - .../snapshot/api_op_SetPermission.go.snap | 1 - .../api_op_SetTimeBasedAutoScaling.go.snap | 1 - .../snapshot/api_op_StartInstance.go.snap | 1 - .../snapshot/api_op_StartStack.go.snap | 1 - .../snapshot/api_op_StopInstance.go.snap | 1 - .../snapshot/api_op_StopStack.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UnassignInstance.go.snap | 1 - .../snapshot/api_op_UnassignVolume.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateApp.go.snap | 1 - .../snapshot/api_op_UpdateElasticIp.go.snap | 1 - .../snapshot/api_op_UpdateInstance.go.snap | 1 - .../snapshot/api_op_UpdateLayer.go.snap | 1 - .../api_op_UpdateMyUserProfile.go.snap | 1 - .../api_op_UpdateRdsDbInstance.go.snap | 1 - .../snapshot/api_op_UpdateStack.go.snap | 1 - .../snapshot/api_op_UpdateUserProfile.go.snap | 1 - .../snapshot/api_op_UpdateVolume.go.snap | 1 - service/opsworkscm/api_client.go | 31 -- service/opsworkscm/api_op_AssociateNode.go | 3 - service/opsworkscm/api_op_CreateBackup.go | 3 - service/opsworkscm/api_op_CreateServer.go | 3 - service/opsworkscm/api_op_DeleteBackup.go | 3 - service/opsworkscm/api_op_DeleteServer.go | 3 - .../api_op_DescribeAccountAttributes.go | 3 - service/opsworkscm/api_op_DescribeBackups.go | 3 - service/opsworkscm/api_op_DescribeEvents.go | 3 - .../api_op_DescribeNodeAssociationStatus.go | 3 - service/opsworkscm/api_op_DescribeServers.go | 3 - service/opsworkscm/api_op_DisassociateNode.go | 3 - .../api_op_ExportServerEngineAttribute.go | 3 - .../opsworkscm/api_op_ListTagsForResource.go | 3 - service/opsworkscm/api_op_RestoreServer.go | 3 - service/opsworkscm/api_op_StartMaintenance.go | 3 - service/opsworkscm/api_op_TagResource.go | 3 - service/opsworkscm/api_op_UntagResource.go | 3 - service/opsworkscm/api_op_UpdateServer.go | 3 - .../api_op_UpdateServerEngineAttributes.go | 3 - .../snapshot/api_op_AssociateNode.go.snap | 1 - .../snapshot/api_op_CreateBackup.go.snap | 1 - .../snapshot/api_op_CreateServer.go.snap | 1 - .../snapshot/api_op_DeleteBackup.go.snap | 1 - .../snapshot/api_op_DeleteServer.go.snap | 1 - .../api_op_DescribeAccountAttributes.go.snap | 1 - .../snapshot/api_op_DescribeBackups.go.snap | 1 - .../snapshot/api_op_DescribeEvents.go.snap | 1 - ...i_op_DescribeNodeAssociationStatus.go.snap | 1 - .../snapshot/api_op_DescribeServers.go.snap | 1 - .../snapshot/api_op_DisassociateNode.go.snap | 1 - ...api_op_ExportServerEngineAttribute.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_RestoreServer.go.snap | 1 - .../snapshot/api_op_StartMaintenance.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateServer.go.snap | 1 - ...pi_op_UpdateServerEngineAttributes.go.snap | 1 - service/organizations/api_client.go | 31 -- .../organizations/api_op_AcceptHandshake.go | 3 - service/organizations/api_op_AttachPolicy.go | 3 - .../organizations/api_op_CancelHandshake.go | 3 - service/organizations/api_op_CloseAccount.go | 3 - service/organizations/api_op_CreateAccount.go | 3 - .../api_op_CreateGovCloudAccount.go | 3 - .../api_op_CreateOrganization.go | 3 - .../api_op_CreateOrganizationalUnit.go | 3 - service/organizations/api_op_CreatePolicy.go | 3 - .../organizations/api_op_DeclineHandshake.go | 3 - .../api_op_DeleteOrganization.go | 3 - .../api_op_DeleteOrganizationalUnit.go | 3 - service/organizations/api_op_DeletePolicy.go | 3 - .../api_op_DeleteResourcePolicy.go | 3 - ...api_op_DeregisterDelegatedAdministrator.go | 3 - .../organizations/api_op_DescribeAccount.go | 3 - .../api_op_DescribeCreateAccountStatus.go | 3 - .../api_op_DescribeEffectivePolicy.go | 3 - .../organizations/api_op_DescribeHandshake.go | 3 - .../api_op_DescribeOrganization.go | 3 - .../api_op_DescribeOrganizationalUnit.go | 3 - .../organizations/api_op_DescribePolicy.go | 3 - .../api_op_DescribeResourcePolicy.go | 3 - service/organizations/api_op_DetachPolicy.go | 3 - .../api_op_DisableAWSServiceAccess.go | 3 - .../organizations/api_op_DisablePolicyType.go | 3 - .../api_op_EnableAWSServiceAccess.go | 3 - .../organizations/api_op_EnableAllFeatures.go | 3 - .../organizations/api_op_EnablePolicyType.go | 3 - .../api_op_InviteAccountToOrganization.go | 3 - .../organizations/api_op_LeaveOrganization.go | 3 - ..._op_ListAWSServiceAccessForOrganization.go | 3 - service/organizations/api_op_ListAccounts.go | 3 - .../api_op_ListAccountsForParent.go | 3 - service/organizations/api_op_ListChildren.go | 3 - .../api_op_ListCreateAccountStatus.go | 3 - .../api_op_ListDelegatedAdministrators.go | 3 - .../api_op_ListDelegatedServicesForAccount.go | 3 - .../api_op_ListHandshakesForAccount.go | 3 - .../api_op_ListHandshakesForOrganization.go | 3 - ...api_op_ListOrganizationalUnitsForParent.go | 3 - service/organizations/api_op_ListParents.go | 3 - service/organizations/api_op_ListPolicies.go | 3 - .../api_op_ListPoliciesForTarget.go | 3 - service/organizations/api_op_ListRoots.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_ListTargetsForPolicy.go | 3 - service/organizations/api_op_MoveAccount.go | 3 - .../organizations/api_op_PutResourcePolicy.go | 3 - .../api_op_RegisterDelegatedAdministrator.go | 3 - .../api_op_RemoveAccountFromOrganization.go | 3 - service/organizations/api_op_TagResource.go | 3 - service/organizations/api_op_UntagResource.go | 3 - .../api_op_UpdateOrganizationalUnit.go | 3 - service/organizations/api_op_UpdatePolicy.go | 3 - .../snapshot/api_op_AcceptHandshake.go.snap | 1 - .../snapshot/api_op_AttachPolicy.go.snap | 1 - .../snapshot/api_op_CancelHandshake.go.snap | 1 - .../snapshot/api_op_CloseAccount.go.snap | 1 - .../snapshot/api_op_CreateAccount.go.snap | 1 - .../api_op_CreateGovCloudAccount.go.snap | 1 - .../api_op_CreateOrganization.go.snap | 1 - .../api_op_CreateOrganizationalUnit.go.snap | 1 - .../snapshot/api_op_CreatePolicy.go.snap | 1 - .../snapshot/api_op_DeclineHandshake.go.snap | 1 - .../api_op_DeleteOrganization.go.snap | 1 - .../api_op_DeleteOrganizationalUnit.go.snap | 1 - .../snapshot/api_op_DeletePolicy.go.snap | 1 - .../api_op_DeleteResourcePolicy.go.snap | 1 - ...p_DeregisterDelegatedAdministrator.go.snap | 1 - .../snapshot/api_op_DescribeAccount.go.snap | 1 - ...api_op_DescribeCreateAccountStatus.go.snap | 1 - .../api_op_DescribeEffectivePolicy.go.snap | 1 - .../snapshot/api_op_DescribeHandshake.go.snap | 1 - .../api_op_DescribeOrganization.go.snap | 1 - .../api_op_DescribeOrganizationalUnit.go.snap | 1 - .../snapshot/api_op_DescribePolicy.go.snap | 1 - .../api_op_DescribeResourcePolicy.go.snap | 1 - .../snapshot/api_op_DetachPolicy.go.snap | 1 - .../api_op_DisableAWSServiceAccess.go.snap | 1 - .../snapshot/api_op_DisablePolicyType.go.snap | 1 - .../api_op_EnableAWSServiceAccess.go.snap | 1 - .../snapshot/api_op_EnableAllFeatures.go.snap | 1 - .../snapshot/api_op_EnablePolicyType.go.snap | 1 - ...api_op_InviteAccountToOrganization.go.snap | 1 - .../snapshot/api_op_LeaveOrganization.go.snap | 1 - ...istAWSServiceAccessForOrganization.go.snap | 1 - .../snapshot/api_op_ListAccounts.go.snap | 1 - .../api_op_ListAccountsForParent.go.snap | 1 - .../snapshot/api_op_ListChildren.go.snap | 1 - .../api_op_ListCreateAccountStatus.go.snap | 1 - ...api_op_ListDelegatedAdministrators.go.snap | 1 - ...op_ListDelegatedServicesForAccount.go.snap | 1 - .../api_op_ListHandshakesForAccount.go.snap | 1 - ...i_op_ListHandshakesForOrganization.go.snap | 1 - ...p_ListOrganizationalUnitsForParent.go.snap | 1 - .../snapshot/api_op_ListParents.go.snap | 1 - .../snapshot/api_op_ListPolicies.go.snap | 1 - .../api_op_ListPoliciesForTarget.go.snap | 1 - .../snapshot/api_op_ListRoots.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListTargetsForPolicy.go.snap | 1 - .../snapshot/api_op_MoveAccount.go.snap | 1 - .../snapshot/api_op_PutResourcePolicy.go.snap | 1 - ..._op_RegisterDelegatedAdministrator.go.snap | 1 - ...i_op_RemoveAccountFromOrganization.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateOrganizationalUnit.go.snap | 1 - .../snapshot/api_op_UpdatePolicy.go.snap | 1 - service/osis/api_client.go | 31 -- service/osis/api_op_CreatePipeline.go | 3 - service/osis/api_op_DeletePipeline.go | 3 - service/osis/api_op_GetPipeline.go | 3 - service/osis/api_op_GetPipelineBlueprint.go | 3 - .../osis/api_op_GetPipelineChangeProgress.go | 3 - service/osis/api_op_ListPipelineBlueprints.go | 3 - service/osis/api_op_ListPipelines.go | 3 - service/osis/api_op_ListTagsForResource.go | 3 - service/osis/api_op_StartPipeline.go | 3 - service/osis/api_op_StopPipeline.go | 3 - service/osis/api_op_TagResource.go | 3 - service/osis/api_op_UntagResource.go | 3 - service/osis/api_op_UpdatePipeline.go | 3 - service/osis/api_op_ValidatePipeline.go | 3 - .../snapshot/api_op_CreatePipeline.go.snap | 1 - .../snapshot/api_op_DeletePipeline.go.snap | 1 - .../osis/snapshot/api_op_GetPipeline.go.snap | 1 - .../api_op_GetPipelineBlueprint.go.snap | 1 - .../api_op_GetPipelineChangeProgress.go.snap | 1 - .../api_op_ListPipelineBlueprints.go.snap | 1 - .../snapshot/api_op_ListPipelines.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_StartPipeline.go.snap | 1 - .../osis/snapshot/api_op_StopPipeline.go.snap | 1 - .../osis/snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdatePipeline.go.snap | 1 - .../snapshot/api_op_ValidatePipeline.go.snap | 1 - service/outposts/api_client.go | 31 -- service/outposts/api_op_CancelCapacityTask.go | 3 - service/outposts/api_op_CancelOrder.go | 3 - service/outposts/api_op_CreateOrder.go | 3 - service/outposts/api_op_CreateOutpost.go | 3 - service/outposts/api_op_CreateSite.go | 3 - service/outposts/api_op_DeleteOutpost.go | 3 - service/outposts/api_op_DeleteSite.go | 3 - service/outposts/api_op_GetCapacityTask.go | 3 - service/outposts/api_op_GetCatalogItem.go | 3 - service/outposts/api_op_GetConnection.go | 3 - service/outposts/api_op_GetOrder.go | 3 - service/outposts/api_op_GetOutpost.go | 3 - .../api_op_GetOutpostInstanceTypes.go | 3 - ...api_op_GetOutpostSupportedInstanceTypes.go | 3 - service/outposts/api_op_GetSite.go | 3 - service/outposts/api_op_GetSiteAddress.go | 3 - service/outposts/api_op_ListAssetInstances.go | 3 - service/outposts/api_op_ListAssets.go | 3 - ...op_ListBlockingInstancesForCapacityTask.go | 3 - service/outposts/api_op_ListCapacityTasks.go | 3 - service/outposts/api_op_ListCatalogItems.go | 3 - service/outposts/api_op_ListOrders.go | 3 - service/outposts/api_op_ListOutposts.go | 3 - service/outposts/api_op_ListSites.go | 3 - .../outposts/api_op_ListTagsForResource.go | 3 - service/outposts/api_op_StartCapacityTask.go | 3 - service/outposts/api_op_StartConnection.go | 3 - service/outposts/api_op_TagResource.go | 3 - service/outposts/api_op_UntagResource.go | 3 - service/outposts/api_op_UpdateOutpost.go | 3 - service/outposts/api_op_UpdateSite.go | 3 - service/outposts/api_op_UpdateSiteAddress.go | 3 - ...api_op_UpdateSiteRackPhysicalProperties.go | 3 - .../api_op_CancelCapacityTask.go.snap | 1 - .../snapshot/api_op_CancelOrder.go.snap | 1 - .../snapshot/api_op_CreateOrder.go.snap | 1 - .../snapshot/api_op_CreateOutpost.go.snap | 1 - .../snapshot/api_op_CreateSite.go.snap | 1 - .../snapshot/api_op_DeleteOutpost.go.snap | 1 - .../snapshot/api_op_DeleteSite.go.snap | 1 - .../snapshot/api_op_GetCapacityTask.go.snap | 1 - .../snapshot/api_op_GetCatalogItem.go.snap | 1 - .../snapshot/api_op_GetConnection.go.snap | 1 - .../outposts/snapshot/api_op_GetOrder.go.snap | 1 - .../snapshot/api_op_GetOutpost.go.snap | 1 - .../api_op_GetOutpostInstanceTypes.go.snap | 1 - ...p_GetOutpostSupportedInstanceTypes.go.snap | 1 - .../outposts/snapshot/api_op_GetSite.go.snap | 1 - .../snapshot/api_op_GetSiteAddress.go.snap | 1 - .../api_op_ListAssetInstances.go.snap | 1 - .../snapshot/api_op_ListAssets.go.snap | 1 - ...stBlockingInstancesForCapacityTask.go.snap | 1 - .../snapshot/api_op_ListCapacityTasks.go.snap | 1 - .../snapshot/api_op_ListCatalogItems.go.snap | 1 - .../snapshot/api_op_ListOrders.go.snap | 1 - .../snapshot/api_op_ListOutposts.go.snap | 1 - .../snapshot/api_op_ListSites.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_StartCapacityTask.go.snap | 1 - .../snapshot/api_op_StartConnection.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateOutpost.go.snap | 1 - .../snapshot/api_op_UpdateSite.go.snap | 1 - .../snapshot/api_op_UpdateSiteAddress.go.snap | 1 - ...p_UpdateSiteRackPhysicalProperties.go.snap | 1 - service/panorama/api_client.go | 31 -- .../api_op_CreateApplicationInstance.go | 3 - .../panorama/api_op_CreateJobForDevices.go | 3 - .../api_op_CreateNodeFromTemplateJob.go | 3 - service/panorama/api_op_CreatePackage.go | 3 - .../panorama/api_op_CreatePackageImportJob.go | 3 - service/panorama/api_op_DeleteDevice.go | 3 - service/panorama/api_op_DeletePackage.go | 3 - .../api_op_DeregisterPackageVersion.go | 3 - .../api_op_DescribeApplicationInstance.go | 3 - ...i_op_DescribeApplicationInstanceDetails.go | 3 - service/panorama/api_op_DescribeDevice.go | 3 - service/panorama/api_op_DescribeDeviceJob.go | 3 - service/panorama/api_op_DescribeNode.go | 3 - .../api_op_DescribeNodeFromTemplateJob.go | 3 - service/panorama/api_op_DescribePackage.go | 3 - .../api_op_DescribePackageImportJob.go | 3 - .../panorama/api_op_DescribePackageVersion.go | 3 - ..._op_ListApplicationInstanceDependencies.go | 3 - ...op_ListApplicationInstanceNodeInstances.go | 3 - .../api_op_ListApplicationInstances.go | 3 - service/panorama/api_op_ListDevices.go | 3 - service/panorama/api_op_ListDevicesJobs.go | 3 - .../api_op_ListNodeFromTemplateJobs.go | 3 - service/panorama/api_op_ListNodes.go | 3 - .../panorama/api_op_ListPackageImportJobs.go | 3 - service/panorama/api_op_ListPackages.go | 3 - .../panorama/api_op_ListTagsForResource.go | 3 - service/panorama/api_op_ProvisionDevice.go | 3 - .../panorama/api_op_RegisterPackageVersion.go | 3 - .../api_op_RemoveApplicationInstance.go | 3 - ..._SignalApplicationInstanceNodeInstances.go | 3 - service/panorama/api_op_TagResource.go | 3 - service/panorama/api_op_UntagResource.go | 3 - .../panorama/api_op_UpdateDeviceMetadata.go | 3 - .../api_op_CreateApplicationInstance.go.snap | 1 - .../api_op_CreateJobForDevices.go.snap | 1 - .../api_op_CreateNodeFromTemplateJob.go.snap | 1 - .../snapshot/api_op_CreatePackage.go.snap | 1 - .../api_op_CreatePackageImportJob.go.snap | 1 - .../snapshot/api_op_DeleteDevice.go.snap | 1 - .../snapshot/api_op_DeletePackage.go.snap | 1 - .../api_op_DeregisterPackageVersion.go.snap | 1 - ...api_op_DescribeApplicationInstance.go.snap | 1 - ...DescribeApplicationInstanceDetails.go.snap | 1 - .../snapshot/api_op_DescribeDevice.go.snap | 1 - .../snapshot/api_op_DescribeDeviceJob.go.snap | 1 - .../snapshot/api_op_DescribeNode.go.snap | 1 - ...api_op_DescribeNodeFromTemplateJob.go.snap | 1 - .../snapshot/api_op_DescribePackage.go.snap | 1 - .../api_op_DescribePackageImportJob.go.snap | 1 - .../api_op_DescribePackageVersion.go.snap | 1 - ...istApplicationInstanceDependencies.go.snap | 1 - ...stApplicationInstanceNodeInstances.go.snap | 1 - .../api_op_ListApplicationInstances.go.snap | 1 - .../snapshot/api_op_ListDevices.go.snap | 1 - .../snapshot/api_op_ListDevicesJobs.go.snap | 1 - .../api_op_ListNodeFromTemplateJobs.go.snap | 1 - .../snapshot/api_op_ListNodes.go.snap | 1 - .../api_op_ListPackageImportJobs.go.snap | 1 - .../snapshot/api_op_ListPackages.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ProvisionDevice.go.snap | 1 - .../api_op_RegisterPackageVersion.go.snap | 1 - .../api_op_RemoveApplicationInstance.go.snap | 1 - ...alApplicationInstanceNodeInstances.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateDeviceMetadata.go.snap | 1 - service/partnercentralselling/api_client.go | 31 -- .../api_op_AcceptEngagementInvitation.go | 3 - .../api_op_AssignOpportunity.go | 3 - .../api_op_AssociateOpportunity.go | 3 - .../api_op_CreateEngagement.go | 3 - .../api_op_CreateEngagementInvitation.go | 3 - .../api_op_CreateOpportunity.go | 3 - .../api_op_CreateResourceSnapshot.go | 3 - .../api_op_CreateResourceSnapshotJob.go | 3 - .../api_op_DeleteResourceSnapshotJob.go | 3 - .../api_op_DisassociateOpportunity.go | 3 - .../api_op_GetAwsOpportunitySummary.go | 3 - .../api_op_GetEngagement.go | 3 - .../api_op_GetEngagementInvitation.go | 3 - .../api_op_GetOpportunity.go | 3 - .../api_op_GetResourceSnapshot.go | 3 - .../api_op_GetResourceSnapshotJob.go | 3 - .../api_op_GetSellingSystemSettings.go | 3 - ...istEngagementByAcceptingInvitationTasks.go | 3 - ...i_op_ListEngagementFromOpportunityTasks.go | 3 - .../api_op_ListEngagementInvitations.go | 3 - .../api_op_ListEngagementMembers.go | 3 - ...i_op_ListEngagementResourceAssociations.go | 3 - .../api_op_ListEngagements.go | 3 - .../api_op_ListOpportunities.go | 3 - .../api_op_ListResourceSnapshotJobs.go | 3 - .../api_op_ListResourceSnapshots.go | 3 - .../api_op_ListSolutions.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_PutSellingSystemSettings.go | 3 - .../api_op_RejectEngagementInvitation.go | 3 - ...tartEngagementByAcceptingInvitationTask.go | 3 - ...i_op_StartEngagementFromOpportunityTask.go | 3 - .../api_op_StartResourceSnapshotJob.go | 3 - .../api_op_StopResourceSnapshotJob.go | 3 - .../api_op_SubmitOpportunity.go | 3 - .../api_op_TagResource.go | 3 - .../api_op_UntagResource.go | 3 - .../api_op_UpdateOpportunity.go | 3 - .../api_op_AcceptEngagementInvitation.go.snap | 1 - .../snapshot/api_op_AssignOpportunity.go.snap | 1 - .../api_op_AssociateOpportunity.go.snap | 1 - .../snapshot/api_op_CreateEngagement.go.snap | 1 - .../api_op_CreateEngagementInvitation.go.snap | 1 - .../snapshot/api_op_CreateOpportunity.go.snap | 1 - .../api_op_CreateResourceSnapshot.go.snap | 1 - .../api_op_CreateResourceSnapshotJob.go.snap | 1 - .../api_op_DeleteResourceSnapshotJob.go.snap | 1 - .../api_op_DisassociateOpportunity.go.snap | 1 - .../api_op_GetAwsOpportunitySummary.go.snap | 1 - .../snapshot/api_op_GetEngagement.go.snap | 1 - .../api_op_GetEngagementInvitation.go.snap | 1 - .../snapshot/api_op_GetOpportunity.go.snap | 1 - .../api_op_GetResourceSnapshot.go.snap | 1 - .../api_op_GetResourceSnapshotJob.go.snap | 1 - .../api_op_GetSellingSystemSettings.go.snap | 1 - ...gagementByAcceptingInvitationTasks.go.snap | 1 - ...ListEngagementFromOpportunityTasks.go.snap | 1 - .../api_op_ListEngagementInvitations.go.snap | 1 - .../api_op_ListEngagementMembers.go.snap | 1 - ...ListEngagementResourceAssociations.go.snap | 1 - .../snapshot/api_op_ListEngagements.go.snap | 1 - .../snapshot/api_op_ListOpportunities.go.snap | 1 - .../api_op_ListResourceSnapshotJobs.go.snap | 1 - .../api_op_ListResourceSnapshots.go.snap | 1 - .../snapshot/api_op_ListSolutions.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_PutSellingSystemSettings.go.snap | 1 - .../api_op_RejectEngagementInvitation.go.snap | 1 - ...ngagementByAcceptingInvitationTask.go.snap | 1 - ...StartEngagementFromOpportunityTask.go.snap | 1 - .../api_op_StartResourceSnapshotJob.go.snap | 1 - .../api_op_StopResourceSnapshotJob.go.snap | 1 - .../snapshot/api_op_SubmitOpportunity.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateOpportunity.go.snap | 1 - service/paymentcryptography/api_client.go | 31 -- .../paymentcryptography/api_op_CreateAlias.go | 3 - .../paymentcryptography/api_op_CreateKey.go | 3 - .../paymentcryptography/api_op_DeleteAlias.go | 3 - .../paymentcryptography/api_op_DeleteKey.go | 3 - .../paymentcryptography/api_op_ExportKey.go | 3 - .../paymentcryptography/api_op_GetAlias.go | 3 - service/paymentcryptography/api_op_GetKey.go | 3 - .../api_op_GetParametersForExport.go | 3 - .../api_op_GetParametersForImport.go | 3 - .../api_op_GetPublicKeyCertificate.go | 3 - .../paymentcryptography/api_op_ImportKey.go | 3 - .../paymentcryptography/api_op_ListAliases.go | 3 - .../paymentcryptography/api_op_ListKeys.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../paymentcryptography/api_op_RestoreKey.go | 3 - .../api_op_StartKeyUsage.go | 3 - .../api_op_StopKeyUsage.go | 3 - .../paymentcryptography/api_op_TagResource.go | 3 - .../api_op_UntagResource.go | 3 - .../paymentcryptography/api_op_UpdateAlias.go | 3 - .../snapshot/api_op_CreateAlias.go.snap | 1 - .../snapshot/api_op_CreateKey.go.snap | 1 - .../snapshot/api_op_DeleteAlias.go.snap | 1 - .../snapshot/api_op_DeleteKey.go.snap | 1 - .../snapshot/api_op_ExportKey.go.snap | 1 - .../snapshot/api_op_GetAlias.go.snap | 1 - .../snapshot/api_op_GetKey.go.snap | 1 - .../api_op_GetParametersForExport.go.snap | 1 - .../api_op_GetParametersForImport.go.snap | 1 - .../api_op_GetPublicKeyCertificate.go.snap | 1 - .../snapshot/api_op_ImportKey.go.snap | 1 - .../snapshot/api_op_ListAliases.go.snap | 1 - .../snapshot/api_op_ListKeys.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_RestoreKey.go.snap | 1 - .../snapshot/api_op_StartKeyUsage.go.snap | 1 - .../snapshot/api_op_StopKeyUsage.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateAlias.go.snap | 1 - service/paymentcryptographydata/api_client.go | 31 -- .../api_op_DecryptData.go | 3 - .../api_op_EncryptData.go | 3 - .../api_op_GenerateCardValidationData.go | 3 - .../api_op_GenerateMac.go | 3 - .../api_op_GenerateMacEmvPinChange.go | 3 - .../api_op_GeneratePinData.go | 3 - .../api_op_ReEncryptData.go | 3 - .../api_op_TranslatePinData.go | 3 - .../api_op_VerifyAuthRequestCryptogram.go | 3 - .../api_op_VerifyCardValidationData.go | 3 - .../api_op_VerifyMac.go | 3 - .../api_op_VerifyPinData.go | 3 - .../snapshot/api_op_DecryptData.go.snap | 1 - .../snapshot/api_op_EncryptData.go.snap | 1 - .../api_op_GenerateCardValidationData.go.snap | 1 - .../snapshot/api_op_GenerateMac.go.snap | 1 - .../api_op_GenerateMacEmvPinChange.go.snap | 1 - .../snapshot/api_op_GeneratePinData.go.snap | 1 - .../snapshot/api_op_ReEncryptData.go.snap | 1 - .../snapshot/api_op_TranslatePinData.go.snap | 1 - ...api_op_VerifyAuthRequestCryptogram.go.snap | 1 - .../api_op_VerifyCardValidationData.go.snap | 1 - .../snapshot/api_op_VerifyMac.go.snap | 1 - .../snapshot/api_op_VerifyPinData.go.snap | 1 - service/pcaconnectorad/api_client.go | 31 -- .../pcaconnectorad/api_op_CreateConnector.go | 3 - .../api_op_CreateDirectoryRegistration.go | 3 - .../api_op_CreateServicePrincipalName.go | 3 - .../pcaconnectorad/api_op_CreateTemplate.go | 3 - ...p_CreateTemplateGroupAccessControlEntry.go | 3 - .../pcaconnectorad/api_op_DeleteConnector.go | 3 - .../api_op_DeleteDirectoryRegistration.go | 3 - .../api_op_DeleteServicePrincipalName.go | 3 - .../pcaconnectorad/api_op_DeleteTemplate.go | 3 - ...p_DeleteTemplateGroupAccessControlEntry.go | 3 - service/pcaconnectorad/api_op_GetConnector.go | 3 - .../api_op_GetDirectoryRegistration.go | 3 - .../api_op_GetServicePrincipalName.go | 3 - service/pcaconnectorad/api_op_GetTemplate.go | 3 - ...i_op_GetTemplateGroupAccessControlEntry.go | 3 - .../pcaconnectorad/api_op_ListConnectors.go | 3 - .../api_op_ListDirectoryRegistrations.go | 3 - .../api_op_ListServicePrincipalNames.go | 3 - .../api_op_ListTagsForResource.go | 3 - ...p_ListTemplateGroupAccessControlEntries.go | 3 - .../pcaconnectorad/api_op_ListTemplates.go | 3 - service/pcaconnectorad/api_op_TagResource.go | 3 - .../pcaconnectorad/api_op_UntagResource.go | 3 - .../pcaconnectorad/api_op_UpdateTemplate.go | 3 - ...p_UpdateTemplateGroupAccessControlEntry.go | 3 - .../snapshot/api_op_CreateConnector.go.snap | 1 - ...api_op_CreateDirectoryRegistration.go.snap | 1 - .../api_op_CreateServicePrincipalName.go.snap | 1 - .../snapshot/api_op_CreateTemplate.go.snap | 1 - ...ateTemplateGroupAccessControlEntry.go.snap | 1 - .../snapshot/api_op_DeleteConnector.go.snap | 1 - ...api_op_DeleteDirectoryRegistration.go.snap | 1 - .../api_op_DeleteServicePrincipalName.go.snap | 1 - .../snapshot/api_op_DeleteTemplate.go.snap | 1 - ...eteTemplateGroupAccessControlEntry.go.snap | 1 - .../snapshot/api_op_GetConnector.go.snap | 1 - .../api_op_GetDirectoryRegistration.go.snap | 1 - .../api_op_GetServicePrincipalName.go.snap | 1 - .../snapshot/api_op_GetTemplate.go.snap | 1 - ...GetTemplateGroupAccessControlEntry.go.snap | 1 - .../snapshot/api_op_ListConnectors.go.snap | 1 - .../api_op_ListDirectoryRegistrations.go.snap | 1 - .../api_op_ListServicePrincipalNames.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - ...tTemplateGroupAccessControlEntries.go.snap | 1 - .../snapshot/api_op_ListTemplates.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateTemplate.go.snap | 1 - ...ateTemplateGroupAccessControlEntry.go.snap | 1 - service/pcaconnectorscep/api_client.go | 31 -- .../api_op_CreateChallenge.go | 3 - .../api_op_CreateConnector.go | 3 - .../api_op_DeleteChallenge.go | 3 - .../api_op_DeleteConnector.go | 3 - .../api_op_GetChallengeMetadata.go | 3 - .../api_op_GetChallengePassword.go | 3 - .../pcaconnectorscep/api_op_GetConnector.go | 3 - .../api_op_ListChallengeMetadata.go | 3 - .../pcaconnectorscep/api_op_ListConnectors.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../pcaconnectorscep/api_op_TagResource.go | 3 - .../pcaconnectorscep/api_op_UntagResource.go | 3 - .../snapshot/api_op_CreateChallenge.go.snap | 1 - .../snapshot/api_op_CreateConnector.go.snap | 1 - .../snapshot/api_op_DeleteChallenge.go.snap | 1 - .../snapshot/api_op_DeleteConnector.go.snap | 1 - .../api_op_GetChallengeMetadata.go.snap | 1 - .../api_op_GetChallengePassword.go.snap | 1 - .../snapshot/api_op_GetConnector.go.snap | 1 - .../api_op_ListChallengeMetadata.go.snap | 1 - .../snapshot/api_op_ListConnectors.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - service/pcs/api_client.go | 31 -- service/pcs/api_op_CreateCluster.go | 3 - service/pcs/api_op_CreateComputeNodeGroup.go | 3 - service/pcs/api_op_CreateQueue.go | 3 - service/pcs/api_op_DeleteCluster.go | 3 - service/pcs/api_op_DeleteComputeNodeGroup.go | 3 - service/pcs/api_op_DeleteQueue.go | 3 - service/pcs/api_op_GetCluster.go | 3 - service/pcs/api_op_GetComputeNodeGroup.go | 3 - service/pcs/api_op_GetQueue.go | 3 - service/pcs/api_op_ListClusters.go | 3 - service/pcs/api_op_ListComputeNodeGroups.go | 3 - service/pcs/api_op_ListQueues.go | 3 - service/pcs/api_op_ListTagsForResource.go | 3 - ...api_op_RegisterComputeNodeGroupInstance.go | 3 - service/pcs/api_op_TagResource.go | 3 - service/pcs/api_op_UntagResource.go | 3 - service/pcs/api_op_UpdateComputeNodeGroup.go | 3 - service/pcs/api_op_UpdateQueue.go | 3 - .../pcs/snapshot/api_op_CreateCluster.go.snap | 1 - .../api_op_CreateComputeNodeGroup.go.snap | 1 - .../pcs/snapshot/api_op_CreateQueue.go.snap | 1 - .../pcs/snapshot/api_op_DeleteCluster.go.snap | 1 - .../api_op_DeleteComputeNodeGroup.go.snap | 1 - .../pcs/snapshot/api_op_DeleteQueue.go.snap | 1 - .../pcs/snapshot/api_op_GetCluster.go.snap | 1 - .../api_op_GetComputeNodeGroup.go.snap | 1 - service/pcs/snapshot/api_op_GetQueue.go.snap | 1 - .../pcs/snapshot/api_op_ListClusters.go.snap | 1 - .../api_op_ListComputeNodeGroups.go.snap | 1 - .../pcs/snapshot/api_op_ListQueues.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - ...p_RegisterComputeNodeGroupInstance.go.snap | 1 - .../pcs/snapshot/api_op_TagResource.go.snap | 1 - .../pcs/snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateComputeNodeGroup.go.snap | 1 - .../pcs/snapshot/api_op_UpdateQueue.go.snap | 1 - service/personalize/api_client.go | 31 -- .../api_op_CreateBatchInferenceJob.go | 3 - .../api_op_CreateBatchSegmentJob.go | 3 - service/personalize/api_op_CreateCampaign.go | 3 - .../api_op_CreateDataDeletionJob.go | 3 - service/personalize/api_op_CreateDataset.go | 3 - .../api_op_CreateDatasetExportJob.go | 3 - .../personalize/api_op_CreateDatasetGroup.go | 3 - .../api_op_CreateDatasetImportJob.go | 3 - .../personalize/api_op_CreateEventTracker.go | 3 - service/personalize/api_op_CreateFilter.go | 3 - .../api_op_CreateMetricAttribution.go | 3 - .../personalize/api_op_CreateRecommender.go | 3 - service/personalize/api_op_CreateSchema.go | 3 - service/personalize/api_op_CreateSolution.go | 3 - .../api_op_CreateSolutionVersion.go | 3 - service/personalize/api_op_DeleteCampaign.go | 3 - service/personalize/api_op_DeleteDataset.go | 3 - .../personalize/api_op_DeleteDatasetGroup.go | 3 - .../personalize/api_op_DeleteEventTracker.go | 3 - service/personalize/api_op_DeleteFilter.go | 3 - .../api_op_DeleteMetricAttribution.go | 3 - .../personalize/api_op_DeleteRecommender.go | 3 - service/personalize/api_op_DeleteSchema.go | 3 - service/personalize/api_op_DeleteSolution.go | 3 - .../personalize/api_op_DescribeAlgorithm.go | 3 - .../api_op_DescribeBatchInferenceJob.go | 3 - .../api_op_DescribeBatchSegmentJob.go | 3 - .../personalize/api_op_DescribeCampaign.go | 3 - .../api_op_DescribeDataDeletionJob.go | 3 - service/personalize/api_op_DescribeDataset.go | 3 - .../api_op_DescribeDatasetExportJob.go | 3 - .../api_op_DescribeDatasetGroup.go | 3 - .../api_op_DescribeDatasetImportJob.go | 3 - .../api_op_DescribeEventTracker.go | 3 - .../api_op_DescribeFeatureTransformation.go | 3 - service/personalize/api_op_DescribeFilter.go | 3 - .../api_op_DescribeMetricAttribution.go | 3 - service/personalize/api_op_DescribeRecipe.go | 3 - .../personalize/api_op_DescribeRecommender.go | 3 - service/personalize/api_op_DescribeSchema.go | 3 - .../personalize/api_op_DescribeSolution.go | 3 - .../api_op_DescribeSolutionVersion.go | 3 - .../personalize/api_op_GetSolutionMetrics.go | 3 - .../api_op_ListBatchInferenceJobs.go | 3 - .../api_op_ListBatchSegmentJobs.go | 3 - service/personalize/api_op_ListCampaigns.go | 3 - .../api_op_ListDataDeletionJobs.go | 3 - .../api_op_ListDatasetExportJobs.go | 3 - .../personalize/api_op_ListDatasetGroups.go | 3 - .../api_op_ListDatasetImportJobs.go | 3 - service/personalize/api_op_ListDatasets.go | 3 - .../personalize/api_op_ListEventTrackers.go | 3 - service/personalize/api_op_ListFilters.go | 3 - .../api_op_ListMetricAttributionMetrics.go | 3 - .../api_op_ListMetricAttributions.go | 3 - service/personalize/api_op_ListRecipes.go | 3 - .../personalize/api_op_ListRecommenders.go | 3 - service/personalize/api_op_ListSchemas.go | 3 - .../api_op_ListSolutionVersions.go | 3 - service/personalize/api_op_ListSolutions.go | 3 - .../personalize/api_op_ListTagsForResource.go | 3 - .../personalize/api_op_StartRecommender.go | 3 - service/personalize/api_op_StopRecommender.go | 3 - .../api_op_StopSolutionVersionCreation.go | 3 - service/personalize/api_op_TagResource.go | 3 - service/personalize/api_op_UntagResource.go | 3 - service/personalize/api_op_UpdateCampaign.go | 3 - service/personalize/api_op_UpdateDataset.go | 3 - .../api_op_UpdateMetricAttribution.go | 3 - .../personalize/api_op_UpdateRecommender.go | 3 - service/personalize/api_op_UpdateSolution.go | 3 - .../api_op_CreateBatchInferenceJob.go.snap | 1 - .../api_op_CreateBatchSegmentJob.go.snap | 1 - .../snapshot/api_op_CreateCampaign.go.snap | 1 - .../api_op_CreateDataDeletionJob.go.snap | 1 - .../snapshot/api_op_CreateDataset.go.snap | 1 - .../api_op_CreateDatasetExportJob.go.snap | 1 - .../api_op_CreateDatasetGroup.go.snap | 1 - .../api_op_CreateDatasetImportJob.go.snap | 1 - .../api_op_CreateEventTracker.go.snap | 1 - .../snapshot/api_op_CreateFilter.go.snap | 1 - .../api_op_CreateMetricAttribution.go.snap | 1 - .../snapshot/api_op_CreateRecommender.go.snap | 1 - .../snapshot/api_op_CreateSchema.go.snap | 1 - .../snapshot/api_op_CreateSolution.go.snap | 1 - .../api_op_CreateSolutionVersion.go.snap | 1 - .../snapshot/api_op_DeleteCampaign.go.snap | 1 - .../snapshot/api_op_DeleteDataset.go.snap | 1 - .../api_op_DeleteDatasetGroup.go.snap | 1 - .../api_op_DeleteEventTracker.go.snap | 1 - .../snapshot/api_op_DeleteFilter.go.snap | 1 - .../api_op_DeleteMetricAttribution.go.snap | 1 - .../snapshot/api_op_DeleteRecommender.go.snap | 1 - .../snapshot/api_op_DeleteSchema.go.snap | 1 - .../snapshot/api_op_DeleteSolution.go.snap | 1 - .../snapshot/api_op_DescribeAlgorithm.go.snap | 1 - .../api_op_DescribeBatchInferenceJob.go.snap | 1 - .../api_op_DescribeBatchSegmentJob.go.snap | 1 - .../snapshot/api_op_DescribeCampaign.go.snap | 1 - .../api_op_DescribeDataDeletionJob.go.snap | 1 - .../snapshot/api_op_DescribeDataset.go.snap | 1 - .../api_op_DescribeDatasetExportJob.go.snap | 1 - .../api_op_DescribeDatasetGroup.go.snap | 1 - .../api_op_DescribeDatasetImportJob.go.snap | 1 - .../api_op_DescribeEventTracker.go.snap | 1 - ...i_op_DescribeFeatureTransformation.go.snap | 1 - .../snapshot/api_op_DescribeFilter.go.snap | 1 - .../api_op_DescribeMetricAttribution.go.snap | 1 - .../snapshot/api_op_DescribeRecipe.go.snap | 1 - .../api_op_DescribeRecommender.go.snap | 1 - .../snapshot/api_op_DescribeSchema.go.snap | 1 - .../snapshot/api_op_DescribeSolution.go.snap | 1 - .../api_op_DescribeSolutionVersion.go.snap | 1 - .../api_op_GetSolutionMetrics.go.snap | 1 - .../api_op_ListBatchInferenceJobs.go.snap | 1 - .../api_op_ListBatchSegmentJobs.go.snap | 1 - .../snapshot/api_op_ListCampaigns.go.snap | 1 - .../api_op_ListDataDeletionJobs.go.snap | 1 - .../api_op_ListDatasetExportJobs.go.snap | 1 - .../snapshot/api_op_ListDatasetGroups.go.snap | 1 - .../api_op_ListDatasetImportJobs.go.snap | 1 - .../snapshot/api_op_ListDatasets.go.snap | 1 - .../snapshot/api_op_ListEventTrackers.go.snap | 1 - .../snapshot/api_op_ListFilters.go.snap | 1 - ...pi_op_ListMetricAttributionMetrics.go.snap | 1 - .../api_op_ListMetricAttributions.go.snap | 1 - .../snapshot/api_op_ListRecipes.go.snap | 1 - .../snapshot/api_op_ListRecommenders.go.snap | 1 - .../snapshot/api_op_ListSchemas.go.snap | 1 - .../api_op_ListSolutionVersions.go.snap | 1 - .../snapshot/api_op_ListSolutions.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_StartRecommender.go.snap | 1 - .../snapshot/api_op_StopRecommender.go.snap | 1 - ...api_op_StopSolutionVersionCreation.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateCampaign.go.snap | 1 - .../snapshot/api_op_UpdateDataset.go.snap | 1 - .../api_op_UpdateMetricAttribution.go.snap | 1 - .../snapshot/api_op_UpdateRecommender.go.snap | 1 - .../snapshot/api_op_UpdateSolution.go.snap | 1 - service/personalizeevents/api_client.go | 31 -- .../api_op_PutActionInteractions.go | 3 - .../personalizeevents/api_op_PutActions.go | 3 - service/personalizeevents/api_op_PutEvents.go | 3 - service/personalizeevents/api_op_PutItems.go | 3 - service/personalizeevents/api_op_PutUsers.go | 3 - .../api_op_PutActionInteractions.go.snap | 1 - .../snapshot/api_op_PutActions.go.snap | 1 - .../snapshot/api_op_PutEvents.go.snap | 1 - .../snapshot/api_op_PutItems.go.snap | 1 - .../snapshot/api_op_PutUsers.go.snap | 1 - service/personalizeruntime/api_client.go | 31 -- .../api_op_GetActionRecommendations.go | 3 - .../api_op_GetPersonalizedRanking.go | 3 - .../api_op_GetRecommendations.go | 3 - .../api_op_GetActionRecommendations.go.snap | 1 - .../api_op_GetPersonalizedRanking.go.snap | 1 - .../api_op_GetRecommendations.go.snap | 1 - service/pi/api_client.go | 31 -- .../api_op_CreatePerformanceAnalysisReport.go | 3 - .../api_op_DeletePerformanceAnalysisReport.go | 3 - service/pi/api_op_DescribeDimensionKeys.go | 3 - service/pi/api_op_GetDimensionKeyDetails.go | 3 - .../pi/api_op_GetPerformanceAnalysisReport.go | 3 - service/pi/api_op_GetResourceMetadata.go | 3 - service/pi/api_op_GetResourceMetrics.go | 3 - .../api_op_ListAvailableResourceDimensions.go | 3 - .../pi/api_op_ListAvailableResourceMetrics.go | 3 - .../api_op_ListPerformanceAnalysisReports.go | 3 - service/pi/api_op_ListTagsForResource.go | 3 - service/pi/api_op_TagResource.go | 3 - service/pi/api_op_UntagResource.go | 3 - ...op_CreatePerformanceAnalysisReport.go.snap | 1 - ...op_DeletePerformanceAnalysisReport.go.snap | 1 - .../api_op_DescribeDimensionKeys.go.snap | 1 - .../api_op_GetDimensionKeyDetails.go.snap | 1 - ...pi_op_GetPerformanceAnalysisReport.go.snap | 1 - .../api_op_GetResourceMetadata.go.snap | 1 - .../api_op_GetResourceMetrics.go.snap | 1 - ...op_ListAvailableResourceDimensions.go.snap | 1 - ...pi_op_ListAvailableResourceMetrics.go.snap | 1 - ..._op_ListPerformanceAnalysisReports.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../pi/snapshot/api_op_TagResource.go.snap | 1 - .../pi/snapshot/api_op_UntagResource.go.snap | 1 - service/pinpoint/api_client.go | 31 -- service/pinpoint/api_op_CreateApp.go | 3 - service/pinpoint/api_op_CreateCampaign.go | 3 - .../pinpoint/api_op_CreateEmailTemplate.go | 3 - service/pinpoint/api_op_CreateExportJob.go | 3 - service/pinpoint/api_op_CreateImportJob.go | 3 - .../pinpoint/api_op_CreateInAppTemplate.go | 3 - service/pinpoint/api_op_CreateJourney.go | 3 - service/pinpoint/api_op_CreatePushTemplate.go | 3 - .../api_op_CreateRecommenderConfiguration.go | 3 - service/pinpoint/api_op_CreateSegment.go | 3 - service/pinpoint/api_op_CreateSmsTemplate.go | 3 - .../pinpoint/api_op_CreateVoiceTemplate.go | 3 - service/pinpoint/api_op_DeleteAdmChannel.go | 3 - service/pinpoint/api_op_DeleteApnsChannel.go | 3 - .../api_op_DeleteApnsSandboxChannel.go | 3 - .../pinpoint/api_op_DeleteApnsVoipChannel.go | 3 - .../api_op_DeleteApnsVoipSandboxChannel.go | 3 - service/pinpoint/api_op_DeleteApp.go | 3 - service/pinpoint/api_op_DeleteBaiduChannel.go | 3 - service/pinpoint/api_op_DeleteCampaign.go | 3 - service/pinpoint/api_op_DeleteEmailChannel.go | 3 - .../pinpoint/api_op_DeleteEmailTemplate.go | 3 - service/pinpoint/api_op_DeleteEndpoint.go | 3 - service/pinpoint/api_op_DeleteEventStream.go | 3 - service/pinpoint/api_op_DeleteGcmChannel.go | 3 - .../pinpoint/api_op_DeleteInAppTemplate.go | 3 - service/pinpoint/api_op_DeleteJourney.go | 3 - service/pinpoint/api_op_DeletePushTemplate.go | 3 - .../api_op_DeleteRecommenderConfiguration.go | 3 - service/pinpoint/api_op_DeleteSegment.go | 3 - service/pinpoint/api_op_DeleteSmsChannel.go | 3 - service/pinpoint/api_op_DeleteSmsTemplate.go | 3 - .../pinpoint/api_op_DeleteUserEndpoints.go | 3 - service/pinpoint/api_op_DeleteVoiceChannel.go | 3 - .../pinpoint/api_op_DeleteVoiceTemplate.go | 3 - service/pinpoint/api_op_GetAdmChannel.go | 3 - service/pinpoint/api_op_GetApnsChannel.go | 3 - .../pinpoint/api_op_GetApnsSandboxChannel.go | 3 - service/pinpoint/api_op_GetApnsVoipChannel.go | 3 - .../api_op_GetApnsVoipSandboxChannel.go | 3 - service/pinpoint/api_op_GetApp.go | 3 - .../api_op_GetApplicationDateRangeKpi.go | 3 - .../pinpoint/api_op_GetApplicationSettings.go | 3 - service/pinpoint/api_op_GetApps.go | 3 - service/pinpoint/api_op_GetBaiduChannel.go | 3 - service/pinpoint/api_op_GetCampaign.go | 3 - .../pinpoint/api_op_GetCampaignActivities.go | 3 - .../api_op_GetCampaignDateRangeKpi.go | 3 - service/pinpoint/api_op_GetCampaignVersion.go | 3 - .../pinpoint/api_op_GetCampaignVersions.go | 3 - service/pinpoint/api_op_GetCampaigns.go | 3 - service/pinpoint/api_op_GetChannels.go | 3 - service/pinpoint/api_op_GetEmailChannel.go | 3 - service/pinpoint/api_op_GetEmailTemplate.go | 3 - service/pinpoint/api_op_GetEndpoint.go | 3 - service/pinpoint/api_op_GetEventStream.go | 3 - service/pinpoint/api_op_GetExportJob.go | 3 - service/pinpoint/api_op_GetExportJobs.go | 3 - service/pinpoint/api_op_GetGcmChannel.go | 3 - service/pinpoint/api_op_GetImportJob.go | 3 - service/pinpoint/api_op_GetImportJobs.go | 3 - service/pinpoint/api_op_GetInAppMessages.go | 3 - service/pinpoint/api_op_GetInAppTemplate.go | 3 - service/pinpoint/api_op_GetJourney.go | 3 - .../pinpoint/api_op_GetJourneyDateRangeKpi.go | 3 - ...i_op_GetJourneyExecutionActivityMetrics.go | 3 - .../api_op_GetJourneyExecutionMetrics.go | 3 - ...p_GetJourneyRunExecutionActivityMetrics.go | 3 - .../api_op_GetJourneyRunExecutionMetrics.go | 3 - service/pinpoint/api_op_GetJourneyRuns.go | 3 - service/pinpoint/api_op_GetPushTemplate.go | 3 - .../api_op_GetRecommenderConfiguration.go | 3 - .../api_op_GetRecommenderConfigurations.go | 3 - service/pinpoint/api_op_GetSegment.go | 3 - .../pinpoint/api_op_GetSegmentExportJobs.go | 3 - .../pinpoint/api_op_GetSegmentImportJobs.go | 3 - service/pinpoint/api_op_GetSegmentVersion.go | 3 - service/pinpoint/api_op_GetSegmentVersions.go | 3 - service/pinpoint/api_op_GetSegments.go | 3 - service/pinpoint/api_op_GetSmsChannel.go | 3 - service/pinpoint/api_op_GetSmsTemplate.go | 3 - service/pinpoint/api_op_GetUserEndpoints.go | 3 - service/pinpoint/api_op_GetVoiceChannel.go | 3 - service/pinpoint/api_op_GetVoiceTemplate.go | 3 - service/pinpoint/api_op_ListJourneys.go | 3 - .../pinpoint/api_op_ListTagsForResource.go | 3 - .../pinpoint/api_op_ListTemplateVersions.go | 3 - service/pinpoint/api_op_ListTemplates.go | 3 - .../pinpoint/api_op_PhoneNumberValidate.go | 3 - service/pinpoint/api_op_PutEventStream.go | 3 - service/pinpoint/api_op_PutEvents.go | 3 - service/pinpoint/api_op_RemoveAttributes.go | 3 - service/pinpoint/api_op_SendMessages.go | 3 - service/pinpoint/api_op_SendOTPMessage.go | 3 - service/pinpoint/api_op_SendUsersMessages.go | 3 - service/pinpoint/api_op_TagResource.go | 3 - service/pinpoint/api_op_UntagResource.go | 3 - service/pinpoint/api_op_UpdateAdmChannel.go | 3 - service/pinpoint/api_op_UpdateApnsChannel.go | 3 - .../api_op_UpdateApnsSandboxChannel.go | 3 - .../pinpoint/api_op_UpdateApnsVoipChannel.go | 3 - .../api_op_UpdateApnsVoipSandboxChannel.go | 3 - .../api_op_UpdateApplicationSettings.go | 3 - service/pinpoint/api_op_UpdateBaiduChannel.go | 3 - service/pinpoint/api_op_UpdateCampaign.go | 3 - service/pinpoint/api_op_UpdateEmailChannel.go | 3 - .../pinpoint/api_op_UpdateEmailTemplate.go | 3 - service/pinpoint/api_op_UpdateEndpoint.go | 3 - .../pinpoint/api_op_UpdateEndpointsBatch.go | 3 - service/pinpoint/api_op_UpdateGcmChannel.go | 3 - .../pinpoint/api_op_UpdateInAppTemplate.go | 3 - service/pinpoint/api_op_UpdateJourney.go | 3 - service/pinpoint/api_op_UpdateJourneyState.go | 3 - service/pinpoint/api_op_UpdatePushTemplate.go | 3 - .../api_op_UpdateRecommenderConfiguration.go | 3 - service/pinpoint/api_op_UpdateSegment.go | 3 - service/pinpoint/api_op_UpdateSmsChannel.go | 3 - service/pinpoint/api_op_UpdateSmsTemplate.go | 3 - .../api_op_UpdateTemplateActiveVersion.go | 3 - service/pinpoint/api_op_UpdateVoiceChannel.go | 3 - .../pinpoint/api_op_UpdateVoiceTemplate.go | 3 - service/pinpoint/api_op_VerifyOTPMessage.go | 3 - .../snapshot/api_op_CreateApp.go.snap | 1 - .../snapshot/api_op_CreateCampaign.go.snap | 1 - .../api_op_CreateEmailTemplate.go.snap | 1 - .../snapshot/api_op_CreateExportJob.go.snap | 1 - .../snapshot/api_op_CreateImportJob.go.snap | 1 - .../api_op_CreateInAppTemplate.go.snap | 1 - .../snapshot/api_op_CreateJourney.go.snap | 1 - .../api_op_CreatePushTemplate.go.snap | 1 - ..._op_CreateRecommenderConfiguration.go.snap | 1 - .../snapshot/api_op_CreateSegment.go.snap | 1 - .../snapshot/api_op_CreateSmsTemplate.go.snap | 1 - .../api_op_CreateVoiceTemplate.go.snap | 1 - .../snapshot/api_op_DeleteAdmChannel.go.snap | 1 - .../snapshot/api_op_DeleteApnsChannel.go.snap | 1 - .../api_op_DeleteApnsSandboxChannel.go.snap | 1 - .../api_op_DeleteApnsVoipChannel.go.snap | 1 - ...pi_op_DeleteApnsVoipSandboxChannel.go.snap | 1 - .../snapshot/api_op_DeleteApp.go.snap | 1 - .../api_op_DeleteBaiduChannel.go.snap | 1 - .../snapshot/api_op_DeleteCampaign.go.snap | 1 - .../api_op_DeleteEmailChannel.go.snap | 1 - .../api_op_DeleteEmailTemplate.go.snap | 1 - .../snapshot/api_op_DeleteEndpoint.go.snap | 1 - .../snapshot/api_op_DeleteEventStream.go.snap | 1 - .../snapshot/api_op_DeleteGcmChannel.go.snap | 1 - .../api_op_DeleteInAppTemplate.go.snap | 1 - .../snapshot/api_op_DeleteJourney.go.snap | 1 - .../api_op_DeletePushTemplate.go.snap | 1 - ..._op_DeleteRecommenderConfiguration.go.snap | 1 - .../snapshot/api_op_DeleteSegment.go.snap | 1 - .../snapshot/api_op_DeleteSmsChannel.go.snap | 1 - .../snapshot/api_op_DeleteSmsTemplate.go.snap | 1 - .../api_op_DeleteUserEndpoints.go.snap | 1 - .../api_op_DeleteVoiceChannel.go.snap | 1 - .../api_op_DeleteVoiceTemplate.go.snap | 1 - .../snapshot/api_op_GetAdmChannel.go.snap | 1 - .../snapshot/api_op_GetApnsChannel.go.snap | 1 - .../api_op_GetApnsSandboxChannel.go.snap | 1 - .../api_op_GetApnsVoipChannel.go.snap | 1 - .../api_op_GetApnsVoipSandboxChannel.go.snap | 1 - .../pinpoint/snapshot/api_op_GetApp.go.snap | 1 - .../api_op_GetApplicationDateRangeKpi.go.snap | 1 - .../api_op_GetApplicationSettings.go.snap | 1 - .../pinpoint/snapshot/api_op_GetApps.go.snap | 1 - .../snapshot/api_op_GetBaiduChannel.go.snap | 1 - .../snapshot/api_op_GetCampaign.go.snap | 1 - .../api_op_GetCampaignActivities.go.snap | 1 - .../api_op_GetCampaignDateRangeKpi.go.snap | 1 - .../api_op_GetCampaignVersion.go.snap | 1 - .../api_op_GetCampaignVersions.go.snap | 1 - .../snapshot/api_op_GetCampaigns.go.snap | 1 - .../snapshot/api_op_GetChannels.go.snap | 1 - .../snapshot/api_op_GetEmailChannel.go.snap | 1 - .../snapshot/api_op_GetEmailTemplate.go.snap | 1 - .../snapshot/api_op_GetEndpoint.go.snap | 1 - .../snapshot/api_op_GetEventStream.go.snap | 1 - .../snapshot/api_op_GetExportJob.go.snap | 1 - .../snapshot/api_op_GetExportJobs.go.snap | 1 - .../snapshot/api_op_GetGcmChannel.go.snap | 1 - .../snapshot/api_op_GetImportJob.go.snap | 1 - .../snapshot/api_op_GetImportJobs.go.snap | 1 - .../snapshot/api_op_GetInAppMessages.go.snap | 1 - .../snapshot/api_op_GetInAppTemplate.go.snap | 1 - .../snapshot/api_op_GetJourney.go.snap | 1 - .../api_op_GetJourneyDateRangeKpi.go.snap | 1 - ...GetJourneyExecutionActivityMetrics.go.snap | 1 - .../api_op_GetJourneyExecutionMetrics.go.snap | 1 - ...JourneyRunExecutionActivityMetrics.go.snap | 1 - ...i_op_GetJourneyRunExecutionMetrics.go.snap | 1 - .../snapshot/api_op_GetJourneyRuns.go.snap | 1 - .../snapshot/api_op_GetPushTemplate.go.snap | 1 - ...api_op_GetRecommenderConfiguration.go.snap | 1 - ...pi_op_GetRecommenderConfigurations.go.snap | 1 - .../snapshot/api_op_GetSegment.go.snap | 1 - .../api_op_GetSegmentExportJobs.go.snap | 1 - .../api_op_GetSegmentImportJobs.go.snap | 1 - .../snapshot/api_op_GetSegmentVersion.go.snap | 1 - .../api_op_GetSegmentVersions.go.snap | 1 - .../snapshot/api_op_GetSegments.go.snap | 1 - .../snapshot/api_op_GetSmsChannel.go.snap | 1 - .../snapshot/api_op_GetSmsTemplate.go.snap | 1 - .../snapshot/api_op_GetUserEndpoints.go.snap | 1 - .../snapshot/api_op_GetVoiceChannel.go.snap | 1 - .../snapshot/api_op_GetVoiceTemplate.go.snap | 1 - .../snapshot/api_op_ListJourneys.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListTemplateVersions.go.snap | 1 - .../snapshot/api_op_ListTemplates.go.snap | 1 - .../api_op_PhoneNumberValidate.go.snap | 1 - .../snapshot/api_op_PutEventStream.go.snap | 1 - .../snapshot/api_op_PutEvents.go.snap | 1 - .../snapshot/api_op_RemoveAttributes.go.snap | 1 - .../snapshot/api_op_SendMessages.go.snap | 1 - .../snapshot/api_op_SendOTPMessage.go.snap | 1 - .../snapshot/api_op_SendUsersMessages.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateAdmChannel.go.snap | 1 - .../snapshot/api_op_UpdateApnsChannel.go.snap | 1 - .../api_op_UpdateApnsSandboxChannel.go.snap | 1 - .../api_op_UpdateApnsVoipChannel.go.snap | 1 - ...pi_op_UpdateApnsVoipSandboxChannel.go.snap | 1 - .../api_op_UpdateApplicationSettings.go.snap | 1 - .../api_op_UpdateBaiduChannel.go.snap | 1 - .../snapshot/api_op_UpdateCampaign.go.snap | 1 - .../api_op_UpdateEmailChannel.go.snap | 1 - .../api_op_UpdateEmailTemplate.go.snap | 1 - .../snapshot/api_op_UpdateEndpoint.go.snap | 1 - .../api_op_UpdateEndpointsBatch.go.snap | 1 - .../snapshot/api_op_UpdateGcmChannel.go.snap | 1 - .../api_op_UpdateInAppTemplate.go.snap | 1 - .../snapshot/api_op_UpdateJourney.go.snap | 1 - .../api_op_UpdateJourneyState.go.snap | 1 - .../api_op_UpdatePushTemplate.go.snap | 1 - ..._op_UpdateRecommenderConfiguration.go.snap | 1 - .../snapshot/api_op_UpdateSegment.go.snap | 1 - .../snapshot/api_op_UpdateSmsChannel.go.snap | 1 - .../snapshot/api_op_UpdateSmsTemplate.go.snap | 1 - ...api_op_UpdateTemplateActiveVersion.go.snap | 1 - .../api_op_UpdateVoiceChannel.go.snap | 1 - .../api_op_UpdateVoiceTemplate.go.snap | 1 - .../snapshot/api_op_VerifyOTPMessage.go.snap | 1 - service/pinpointemail/api_client.go | 31 -- .../api_op_CreateConfigurationSet.go | 3 - ..._CreateConfigurationSetEventDestination.go | 3 - .../api_op_CreateDedicatedIpPool.go | 3 - .../api_op_CreateDeliverabilityTestReport.go | 3 - .../api_op_CreateEmailIdentity.go | 3 - .../api_op_DeleteConfigurationSet.go | 3 - ..._DeleteConfigurationSetEventDestination.go | 3 - .../api_op_DeleteDedicatedIpPool.go | 3 - .../api_op_DeleteEmailIdentity.go | 3 - service/pinpointemail/api_op_GetAccount.go | 3 - .../api_op_GetBlacklistReports.go | 3 - .../api_op_GetConfigurationSet.go | 3 - ...op_GetConfigurationSetEventDestinations.go | 3 - .../pinpointemail/api_op_GetDedicatedIp.go | 3 - .../pinpointemail/api_op_GetDedicatedIps.go | 3 - ...pi_op_GetDeliverabilityDashboardOptions.go | 3 - .../api_op_GetDeliverabilityTestReport.go | 3 - .../api_op_GetDomainDeliverabilityCampaign.go | 3 - .../api_op_GetDomainStatisticsReport.go | 3 - .../pinpointemail/api_op_GetEmailIdentity.go | 3 - .../api_op_ListConfigurationSets.go | 3 - .../api_op_ListDedicatedIpPools.go | 3 - .../api_op_ListDeliverabilityTestReports.go | 3 - ...pi_op_ListDomainDeliverabilityCampaigns.go | 3 - .../api_op_ListEmailIdentities.go | 3 - .../api_op_ListTagsForResource.go | 3 - ...p_PutAccountDedicatedIpWarmupAttributes.go | 3 - .../api_op_PutAccountSendingAttributes.go | 3 - ...i_op_PutConfigurationSetDeliveryOptions.go | 3 - ...op_PutConfigurationSetReputationOptions.go | 3 - ...pi_op_PutConfigurationSetSendingOptions.go | 3 - ...i_op_PutConfigurationSetTrackingOptions.go | 3 - .../api_op_PutDedicatedIpInPool.go | 3 - .../api_op_PutDedicatedIpWarmupAttributes.go | 3 - ...api_op_PutDeliverabilityDashboardOption.go | 3 - .../api_op_PutEmailIdentityDkimAttributes.go | 3 - ...i_op_PutEmailIdentityFeedbackAttributes.go | 3 - ...i_op_PutEmailIdentityMailFromAttributes.go | 3 - service/pinpointemail/api_op_SendEmail.go | 3 - service/pinpointemail/api_op_TagResource.go | 3 - service/pinpointemail/api_op_UntagResource.go | 3 - ..._UpdateConfigurationSetEventDestination.go | 3 - .../api_op_CreateConfigurationSet.go.snap | 1 - ...teConfigurationSetEventDestination.go.snap | 1 - .../api_op_CreateDedicatedIpPool.go.snap | 1 - ..._op_CreateDeliverabilityTestReport.go.snap | 1 - .../api_op_CreateEmailIdentity.go.snap | 1 - .../api_op_DeleteConfigurationSet.go.snap | 1 - ...teConfigurationSetEventDestination.go.snap | 1 - .../api_op_DeleteDedicatedIpPool.go.snap | 1 - .../api_op_DeleteEmailIdentity.go.snap | 1 - .../snapshot/api_op_GetAccount.go.snap | 1 - .../api_op_GetBlacklistReports.go.snap | 1 - .../api_op_GetConfigurationSet.go.snap | 1 - ...tConfigurationSetEventDestinations.go.snap | 1 - .../snapshot/api_op_GetDedicatedIp.go.snap | 1 - .../snapshot/api_op_GetDedicatedIps.go.snap | 1 - ..._GetDeliverabilityDashboardOptions.go.snap | 1 - ...api_op_GetDeliverabilityTestReport.go.snap | 1 - ...op_GetDomainDeliverabilityCampaign.go.snap | 1 - .../api_op_GetDomainStatisticsReport.go.snap | 1 - .../snapshot/api_op_GetEmailIdentity.go.snap | 1 - .../api_op_ListConfigurationSets.go.snap | 1 - .../api_op_ListDedicatedIpPools.go.snap | 1 - ...i_op_ListDeliverabilityTestReports.go.snap | 1 - ..._ListDomainDeliverabilityCampaigns.go.snap | 1 - .../api_op_ListEmailIdentities.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - ...AccountDedicatedIpWarmupAttributes.go.snap | 1 - ...api_op_PutAccountSendingAttributes.go.snap | 1 - ...PutConfigurationSetDeliveryOptions.go.snap | 1 - ...tConfigurationSetReputationOptions.go.snap | 1 - ..._PutConfigurationSetSendingOptions.go.snap | 1 - ...PutConfigurationSetTrackingOptions.go.snap | 1 - .../api_op_PutDedicatedIpInPool.go.snap | 1 - ..._op_PutDedicatedIpWarmupAttributes.go.snap | 1 - ...p_PutDeliverabilityDashboardOption.go.snap | 1 - ..._op_PutEmailIdentityDkimAttributes.go.snap | 1 - ...PutEmailIdentityFeedbackAttributes.go.snap | 1 - ...PutEmailIdentityMailFromAttributes.go.snap | 1 - .../snapshot/api_op_SendEmail.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - ...teConfigurationSetEventDestination.go.snap | 1 - service/pinpointsmsvoice/api_client.go | 31 -- .../api_op_CreateConfigurationSet.go | 3 - ..._CreateConfigurationSetEventDestination.go | 3 - .../api_op_DeleteConfigurationSet.go | 3 - ..._DeleteConfigurationSetEventDestination.go | 3 - ...op_GetConfigurationSetEventDestinations.go | 3 - .../api_op_ListConfigurationSets.go | 3 - .../api_op_SendVoiceMessage.go | 3 - ..._UpdateConfigurationSetEventDestination.go | 3 - .../api_op_CreateConfigurationSet.go.snap | 1 - ...teConfigurationSetEventDestination.go.snap | 1 - .../api_op_DeleteConfigurationSet.go.snap | 1 - ...teConfigurationSetEventDestination.go.snap | 1 - ...tConfigurationSetEventDestinations.go.snap | 1 - .../api_op_ListConfigurationSets.go.snap | 1 - .../snapshot/api_op_SendVoiceMessage.go.snap | 1 - ...teConfigurationSetEventDestination.go.snap | 1 - service/pinpointsmsvoicev2/api_client.go | 31 -- .../api_op_AssociateOriginationIdentity.go | 3 - .../api_op_AssociateProtectConfiguration.go | 3 - .../api_op_CreateConfigurationSet.go | 3 - .../api_op_CreateEventDestination.go | 3 - .../api_op_CreateOptOutList.go | 3 - .../pinpointsmsvoicev2/api_op_CreatePool.go | 3 - .../api_op_CreateProtectConfiguration.go | 3 - .../api_op_CreateRegistration.go | 3 - .../api_op_CreateRegistrationAssociation.go | 3 - .../api_op_CreateRegistrationAttachment.go | 3 - .../api_op_CreateRegistrationVersion.go | 3 - .../api_op_CreateVerifiedDestinationNumber.go | 3 - ...eleteAccountDefaultProtectConfiguration.go | 3 - .../api_op_DeleteConfigurationSet.go | 3 - .../api_op_DeleteDefaultMessageType.go | 3 - .../api_op_DeleteDefaultSenderId.go | 3 - .../api_op_DeleteEventDestination.go | 3 - .../api_op_DeleteKeyword.go | 3 - ...op_DeleteMediaMessageSpendLimitOverride.go | 3 - .../api_op_DeleteOptOutList.go | 3 - .../api_op_DeleteOptedOutNumber.go | 3 - .../pinpointsmsvoicev2/api_op_DeletePool.go | 3 - .../api_op_DeleteProtectConfiguration.go | 3 - ...otectConfigurationRuleSetNumberOverride.go | 3 - .../api_op_DeleteRegistration.go | 3 - .../api_op_DeleteRegistrationAttachment.go | 3 - .../api_op_DeleteRegistrationFieldValue.go | 3 - .../api_op_DeleteResourcePolicy.go | 3 - ..._op_DeleteTextMessageSpendLimitOverride.go | 3 - .../api_op_DeleteVerifiedDestinationNumber.go | 3 - ...op_DeleteVoiceMessageSpendLimitOverride.go | 3 - .../api_op_DescribeAccountAttributes.go | 3 - .../api_op_DescribeAccountLimits.go | 3 - .../api_op_DescribeConfigurationSets.go | 3 - .../api_op_DescribeKeywords.go | 3 - .../api_op_DescribeOptOutLists.go | 3 - .../api_op_DescribeOptedOutNumbers.go | 3 - .../api_op_DescribePhoneNumbers.go | 3 - .../api_op_DescribePools.go | 3 - .../api_op_DescribeProtectConfigurations.go | 3 - .../api_op_DescribeRegistrationAttachments.go | 3 - ...op_DescribeRegistrationFieldDefinitions.go | 3 - .../api_op_DescribeRegistrationFieldValues.go | 3 - ..._DescribeRegistrationSectionDefinitions.go | 3 - ..._op_DescribeRegistrationTypeDefinitions.go | 3 - .../api_op_DescribeRegistrationVersions.go | 3 - .../api_op_DescribeRegistrations.go | 3 - .../api_op_DescribeSenderIds.go | 3 - .../api_op_DescribeSpendLimits.go | 3 - ...i_op_DescribeVerifiedDestinationNumbers.go | 3 - .../api_op_DisassociateOriginationIdentity.go | 3 - ...api_op_DisassociateProtectConfiguration.go | 3 - .../api_op_DiscardRegistrationVersion.go | 3 - ...p_GetProtectConfigurationCountryRuleSet.go | 3 - .../api_op_GetResourcePolicy.go | 3 - .../api_op_ListPoolOriginationIdentities.go | 3 - ...tectConfigurationRuleSetNumberOverrides.go | 3 - .../api_op_ListRegistrationAssociations.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../pinpointsmsvoicev2/api_op_PutKeyword.go | 3 - .../api_op_PutMessageFeedback.go | 3 - .../api_op_PutOptedOutNumber.go | 3 - ...otectConfigurationRuleSetNumberOverride.go | 3 - .../api_op_PutRegistrationFieldValue.go | 3 - .../api_op_PutResourcePolicy.go | 3 - .../api_op_ReleasePhoneNumber.go | 3 - .../api_op_ReleaseSenderId.go | 3 - .../api_op_RequestPhoneNumber.go | 3 - .../api_op_RequestSenderId.go | 3 - ...p_SendDestinationNumberVerificationCode.go | 3 - .../api_op_SendMediaMessage.go | 3 - .../api_op_SendTextMessage.go | 3 - .../api_op_SendVoiceMessage.go | 3 - ...p_SetAccountDefaultProtectConfiguration.go | 3 - ...api_op_SetDefaultMessageFeedbackEnabled.go | 3 - .../api_op_SetDefaultMessageType.go | 3 - .../api_op_SetDefaultSenderId.go | 3 - ...pi_op_SetMediaMessageSpendLimitOverride.go | 3 - ...api_op_SetTextMessageSpendLimitOverride.go | 3 - ...pi_op_SetVoiceMessageSpendLimitOverride.go | 3 - .../api_op_SubmitRegistrationVersion.go | 3 - .../pinpointsmsvoicev2/api_op_TagResource.go | 3 - .../api_op_UntagResource.go | 3 - .../api_op_UpdateEventDestination.go | 3 - .../api_op_UpdatePhoneNumber.go | 3 - .../pinpointsmsvoicev2/api_op_UpdatePool.go | 3 - .../api_op_UpdateProtectConfiguration.go | 3 - ...pdateProtectConfigurationCountryRuleSet.go | 3 - .../api_op_UpdateSenderId.go | 3 - .../api_op_VerifyDestinationNumber.go | 3 - ...pi_op_AssociateOriginationIdentity.go.snap | 1 - ...i_op_AssociateProtectConfiguration.go.snap | 1 - .../api_op_CreateConfigurationSet.go.snap | 1 - .../api_op_CreateEventDestination.go.snap | 1 - .../snapshot/api_op_CreateOptOutList.go.snap | 1 - .../snapshot/api_op_CreatePool.go.snap | 1 - .../api_op_CreateProtectConfiguration.go.snap | 1 - .../api_op_CreateRegistration.go.snap | 1 - ...i_op_CreateRegistrationAssociation.go.snap | 1 - ...pi_op_CreateRegistrationAttachment.go.snap | 1 - .../api_op_CreateRegistrationVersion.go.snap | 1 - ...op_CreateVerifiedDestinationNumber.go.snap | 1 - ...AccountDefaultProtectConfiguration.go.snap | 1 - .../api_op_DeleteConfigurationSet.go.snap | 1 - .../api_op_DeleteDefaultMessageType.go.snap | 1 - .../api_op_DeleteDefaultSenderId.go.snap | 1 - .../api_op_DeleteEventDestination.go.snap | 1 - .../snapshot/api_op_DeleteKeyword.go.snap | 1 - ...leteMediaMessageSpendLimitOverride.go.snap | 1 - .../snapshot/api_op_DeleteOptOutList.go.snap | 1 - .../api_op_DeleteOptedOutNumber.go.snap | 1 - .../snapshot/api_op_DeletePool.go.snap | 1 - .../api_op_DeleteProtectConfiguration.go.snap | 1 - ...ConfigurationRuleSetNumberOverride.go.snap | 1 - .../api_op_DeleteRegistration.go.snap | 1 - ...pi_op_DeleteRegistrationAttachment.go.snap | 1 - ...pi_op_DeleteRegistrationFieldValue.go.snap | 1 - .../api_op_DeleteResourcePolicy.go.snap | 1 - ...eleteTextMessageSpendLimitOverride.go.snap | 1 - ...op_DeleteVerifiedDestinationNumber.go.snap | 1 - ...leteVoiceMessageSpendLimitOverride.go.snap | 1 - .../api_op_DescribeAccountAttributes.go.snap | 1 - .../api_op_DescribeAccountLimits.go.snap | 1 - .../api_op_DescribeConfigurationSets.go.snap | 1 - .../snapshot/api_op_DescribeKeywords.go.snap | 1 - .../api_op_DescribeOptOutLists.go.snap | 1 - .../api_op_DescribeOptedOutNumbers.go.snap | 1 - .../api_op_DescribePhoneNumbers.go.snap | 1 - .../snapshot/api_op_DescribePools.go.snap | 1 - ...i_op_DescribeProtectConfigurations.go.snap | 1 - ...op_DescribeRegistrationAttachments.go.snap | 1 - ...scribeRegistrationFieldDefinitions.go.snap | 1 - ...op_DescribeRegistrationFieldValues.go.snap | 1 - ...ribeRegistrationSectionDefinitions.go.snap | 1 - ...escribeRegistrationTypeDefinitions.go.snap | 1 - ...pi_op_DescribeRegistrationVersions.go.snap | 1 - .../api_op_DescribeRegistrations.go.snap | 1 - .../snapshot/api_op_DescribeSenderIds.go.snap | 1 - .../api_op_DescribeSpendLimits.go.snap | 1 - ...DescribeVerifiedDestinationNumbers.go.snap | 1 - ...op_DisassociateOriginationIdentity.go.snap | 1 - ...p_DisassociateProtectConfiguration.go.snap | 1 - .../api_op_DiscardRegistrationVersion.go.snap | 1 - ...ProtectConfigurationCountryRuleSet.go.snap | 1 - .../snapshot/api_op_GetResourcePolicy.go.snap | 1 - ...i_op_ListPoolOriginationIdentities.go.snap | 1 - ...onfigurationRuleSetNumberOverrides.go.snap | 1 - ...pi_op_ListRegistrationAssociations.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_PutKeyword.go.snap | 1 - .../api_op_PutMessageFeedback.go.snap | 1 - .../snapshot/api_op_PutOptedOutNumber.go.snap | 1 - ...ConfigurationRuleSetNumberOverride.go.snap | 1 - .../api_op_PutRegistrationFieldValue.go.snap | 1 - .../snapshot/api_op_PutResourcePolicy.go.snap | 1 - .../api_op_ReleasePhoneNumber.go.snap | 1 - .../snapshot/api_op_ReleaseSenderId.go.snap | 1 - .../api_op_RequestPhoneNumber.go.snap | 1 - .../snapshot/api_op_RequestSenderId.go.snap | 1 - ...dDestinationNumberVerificationCode.go.snap | 1 - .../snapshot/api_op_SendMediaMessage.go.snap | 1 - .../snapshot/api_op_SendTextMessage.go.snap | 1 - .../snapshot/api_op_SendVoiceMessage.go.snap | 1 - ...AccountDefaultProtectConfiguration.go.snap | 1 - ...p_SetDefaultMessageFeedbackEnabled.go.snap | 1 - .../api_op_SetDefaultMessageType.go.snap | 1 - .../api_op_SetDefaultSenderId.go.snap | 1 - ..._SetMediaMessageSpendLimitOverride.go.snap | 1 - ...p_SetTextMessageSpendLimitOverride.go.snap | 1 - ..._SetVoiceMessageSpendLimitOverride.go.snap | 1 - .../api_op_SubmitRegistrationVersion.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateEventDestination.go.snap | 1 - .../snapshot/api_op_UpdatePhoneNumber.go.snap | 1 - .../snapshot/api_op_UpdatePool.go.snap | 1 - .../api_op_UpdateProtectConfiguration.go.snap | 1 - ...ProtectConfigurationCountryRuleSet.go.snap | 1 - .../snapshot/api_op_UpdateSenderId.go.snap | 1 - .../api_op_VerifyDestinationNumber.go.snap | 1 - service/pipes/api_client.go | 31 -- service/pipes/api_op_CreatePipe.go | 3 - service/pipes/api_op_DeletePipe.go | 3 - service/pipes/api_op_DescribePipe.go | 3 - service/pipes/api_op_ListPipes.go | 3 - service/pipes/api_op_ListTagsForResource.go | 3 - service/pipes/api_op_StartPipe.go | 3 - service/pipes/api_op_StopPipe.go | 3 - service/pipes/api_op_TagResource.go | 3 - service/pipes/api_op_UntagResource.go | 3 - service/pipes/api_op_UpdatePipe.go | 3 - .../pipes/snapshot/api_op_CreatePipe.go.snap | 1 - .../pipes/snapshot/api_op_DeletePipe.go.snap | 1 - .../snapshot/api_op_DescribePipe.go.snap | 1 - .../pipes/snapshot/api_op_ListPipes.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../pipes/snapshot/api_op_StartPipe.go.snap | 1 - .../pipes/snapshot/api_op_StopPipe.go.snap | 1 - .../pipes/snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../pipes/snapshot/api_op_UpdatePipe.go.snap | 1 - service/polly/api_client.go | 31 -- service/polly/api_op_DeleteLexicon.go | 3 - service/polly/api_op_DescribeVoices.go | 3 - service/polly/api_op_GetLexicon.go | 3 - .../polly/api_op_GetSpeechSynthesisTask.go | 3 - service/polly/api_op_ListLexicons.go | 3 - .../polly/api_op_ListSpeechSynthesisTasks.go | 3 - service/polly/api_op_PutLexicon.go | 3 - .../polly/api_op_StartSpeechSynthesisTask.go | 3 - service/polly/api_op_SynthesizeSpeech.go | 3 - .../snapshot/api_op_DeleteLexicon.go.snap | 1 - .../snapshot/api_op_DescribeVoices.go.snap | 1 - .../polly/snapshot/api_op_GetLexicon.go.snap | 1 - .../api_op_GetSpeechSynthesisTask.go.snap | 1 - .../snapshot/api_op_ListLexicons.go.snap | 1 - .../api_op_ListSpeechSynthesisTasks.go.snap | 1 - .../polly/snapshot/api_op_PutLexicon.go.snap | 1 - .../api_op_StartSpeechSynthesisTask.go.snap | 1 - .../snapshot/api_op_SynthesizeSpeech.go.snap | 1 - service/pricing/api_client.go | 31 -- service/pricing/api_op_DescribeServices.go | 3 - service/pricing/api_op_GetAttributeValues.go | 3 - service/pricing/api_op_GetPriceListFileUrl.go | 3 - service/pricing/api_op_GetProducts.go | 3 - service/pricing/api_op_ListPriceLists.go | 3 - .../snapshot/api_op_DescribeServices.go.snap | 1 - .../api_op_GetAttributeValues.go.snap | 1 - .../api_op_GetPriceListFileUrl.go.snap | 1 - .../snapshot/api_op_GetProducts.go.snap | 1 - .../snapshot/api_op_ListPriceLists.go.snap | 1 - service/privatenetworks/api_client.go | 31 -- .../api_op_AcknowledgeOrderReceipt.go | 3 - .../api_op_ActivateDeviceIdentifier.go | 3 - .../api_op_ActivateNetworkSite.go | 3 - .../api_op_ConfigureAccessPoint.go | 3 - .../privatenetworks/api_op_CreateNetwork.go | 3 - .../api_op_CreateNetworkSite.go | 3 - .../api_op_DeactivateDeviceIdentifier.go | 3 - .../privatenetworks/api_op_DeleteNetwork.go | 3 - .../api_op_DeleteNetworkSite.go | 3 - .../api_op_GetDeviceIdentifier.go | 3 - service/privatenetworks/api_op_GetNetwork.go | 3 - .../api_op_GetNetworkResource.go | 3 - .../privatenetworks/api_op_GetNetworkSite.go | 3 - service/privatenetworks/api_op_GetOrder.go | 3 - .../api_op_ListDeviceIdentifiers.go | 3 - .../api_op_ListNetworkResources.go | 3 - .../api_op_ListNetworkSites.go | 3 - .../privatenetworks/api_op_ListNetworks.go | 3 - service/privatenetworks/api_op_ListOrders.go | 3 - .../api_op_ListTagsForResource.go | 3 - service/privatenetworks/api_op_Ping.go | 3 - .../api_op_StartNetworkResourceUpdate.go | 3 - service/privatenetworks/api_op_TagResource.go | 3 - .../privatenetworks/api_op_UntagResource.go | 3 - .../api_op_UpdateNetworkSite.go | 3 - .../api_op_UpdateNetworkSitePlan.go | 3 - .../api_op_AcknowledgeOrderReceipt.go.snap | 1 - .../api_op_ActivateDeviceIdentifier.go.snap | 1 - .../api_op_ActivateNetworkSite.go.snap | 1 - .../api_op_ConfigureAccessPoint.go.snap | 1 - .../snapshot/api_op_CreateNetwork.go.snap | 1 - .../snapshot/api_op_CreateNetworkSite.go.snap | 1 - .../api_op_DeactivateDeviceIdentifier.go.snap | 1 - .../snapshot/api_op_DeleteNetwork.go.snap | 1 - .../snapshot/api_op_DeleteNetworkSite.go.snap | 1 - .../api_op_GetDeviceIdentifier.go.snap | 1 - .../snapshot/api_op_GetNetwork.go.snap | 1 - .../api_op_GetNetworkResource.go.snap | 1 - .../snapshot/api_op_GetNetworkSite.go.snap | 1 - .../snapshot/api_op_GetOrder.go.snap | 1 - .../api_op_ListDeviceIdentifiers.go.snap | 1 - .../api_op_ListNetworkResources.go.snap | 1 - .../snapshot/api_op_ListNetworkSites.go.snap | 1 - .../snapshot/api_op_ListNetworks.go.snap | 1 - .../snapshot/api_op_ListOrders.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_Ping.go.snap | 1 - .../api_op_StartNetworkResourceUpdate.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateNetworkSite.go.snap | 1 - .../api_op_UpdateNetworkSitePlan.go.snap | 1 - service/proton/api_client.go | 31 -- ...i_op_AcceptEnvironmentAccountConnection.go | 3 - .../api_op_CancelComponentDeployment.go | 3 - .../api_op_CancelEnvironmentDeployment.go | 3 - .../api_op_CancelServiceInstanceDeployment.go | 3 - .../api_op_CancelServicePipelineDeployment.go | 3 - service/proton/api_op_CreateComponent.go | 3 - service/proton/api_op_CreateEnvironment.go | 3 - ...i_op_CreateEnvironmentAccountConnection.go | 3 - .../api_op_CreateEnvironmentTemplate.go | 3 - ...api_op_CreateEnvironmentTemplateVersion.go | 3 - service/proton/api_op_CreateRepository.go | 3 - service/proton/api_op_CreateService.go | 3 - .../proton/api_op_CreateServiceInstance.go | 3 - .../proton/api_op_CreateServiceSyncConfig.go | 3 - .../proton/api_op_CreateServiceTemplate.go | 3 - .../api_op_CreateServiceTemplateVersion.go | 3 - .../proton/api_op_CreateTemplateSyncConfig.go | 3 - service/proton/api_op_DeleteComponent.go | 3 - service/proton/api_op_DeleteDeployment.go | 3 - service/proton/api_op_DeleteEnvironment.go | 3 - ...i_op_DeleteEnvironmentAccountConnection.go | 3 - .../api_op_DeleteEnvironmentTemplate.go | 3 - ...api_op_DeleteEnvironmentTemplateVersion.go | 3 - service/proton/api_op_DeleteRepository.go | 3 - service/proton/api_op_DeleteService.go | 3 - .../proton/api_op_DeleteServiceSyncConfig.go | 3 - .../proton/api_op_DeleteServiceTemplate.go | 3 - .../api_op_DeleteServiceTemplateVersion.go | 3 - .../proton/api_op_DeleteTemplateSyncConfig.go | 3 - service/proton/api_op_GetAccountSettings.go | 3 - service/proton/api_op_GetComponent.go | 3 - service/proton/api_op_GetDeployment.go | 3 - service/proton/api_op_GetEnvironment.go | 3 - .../api_op_GetEnvironmentAccountConnection.go | 3 - .../proton/api_op_GetEnvironmentTemplate.go | 3 - .../api_op_GetEnvironmentTemplateVersion.go | 3 - service/proton/api_op_GetRepository.go | 3 - .../proton/api_op_GetRepositorySyncStatus.go | 3 - service/proton/api_op_GetResourcesSummary.go | 3 - service/proton/api_op_GetService.go | 3 - service/proton/api_op_GetServiceInstance.go | 3 - .../api_op_GetServiceInstanceSyncStatus.go | 3 - .../api_op_GetServiceSyncBlockerSummary.go | 3 - service/proton/api_op_GetServiceSyncConfig.go | 3 - service/proton/api_op_GetServiceTemplate.go | 3 - .../api_op_GetServiceTemplateVersion.go | 3 - .../proton/api_op_GetTemplateSyncConfig.go | 3 - .../proton/api_op_GetTemplateSyncStatus.go | 3 - service/proton/api_op_ListComponentOutputs.go | 3 - ...pi_op_ListComponentProvisionedResources.go | 3 - service/proton/api_op_ListComponents.go | 3 - service/proton/api_op_ListDeployments.go | 3 - ...pi_op_ListEnvironmentAccountConnections.go | 3 - .../proton/api_op_ListEnvironmentOutputs.go | 3 - ..._op_ListEnvironmentProvisionedResources.go | 3 - .../api_op_ListEnvironmentTemplateVersions.go | 3 - .../proton/api_op_ListEnvironmentTemplates.go | 3 - service/proton/api_op_ListEnvironments.go | 3 - service/proton/api_op_ListRepositories.go | 3 - .../api_op_ListRepositorySyncDefinitions.go | 3 - .../api_op_ListServiceInstanceOutputs.go | 3 - ...ListServiceInstanceProvisionedResources.go | 3 - service/proton/api_op_ListServiceInstances.go | 3 - .../api_op_ListServicePipelineOutputs.go | 3 - ...ListServicePipelineProvisionedResources.go | 3 - .../api_op_ListServiceTemplateVersions.go | 3 - service/proton/api_op_ListServiceTemplates.go | 3 - service/proton/api_op_ListServices.go | 3 - service/proton/api_op_ListTagsForResource.go | 3 - ...op_NotifyResourceDeploymentStatusChange.go | 3 - ...i_op_RejectEnvironmentAccountConnection.go | 3 - service/proton/api_op_TagResource.go | 3 - service/proton/api_op_UntagResource.go | 3 - .../proton/api_op_UpdateAccountSettings.go | 3 - service/proton/api_op_UpdateComponent.go | 3 - service/proton/api_op_UpdateEnvironment.go | 3 - ...i_op_UpdateEnvironmentAccountConnection.go | 3 - .../api_op_UpdateEnvironmentTemplate.go | 3 - ...api_op_UpdateEnvironmentTemplateVersion.go | 3 - service/proton/api_op_UpdateService.go | 3 - .../proton/api_op_UpdateServiceInstance.go | 3 - .../proton/api_op_UpdateServicePipeline.go | 3 - .../proton/api_op_UpdateServiceSyncBlocker.go | 3 - .../proton/api_op_UpdateServiceSyncConfig.go | 3 - .../proton/api_op_UpdateServiceTemplate.go | 3 - .../api_op_UpdateServiceTemplateVersion.go | 3 - .../proton/api_op_UpdateTemplateSyncConfig.go | 3 - ...AcceptEnvironmentAccountConnection.go.snap | 1 - .../api_op_CancelComponentDeployment.go.snap | 1 - ...api_op_CancelEnvironmentDeployment.go.snap | 1 - ...op_CancelServiceInstanceDeployment.go.snap | 1 - ...op_CancelServicePipelineDeployment.go.snap | 1 - .../snapshot/api_op_CreateComponent.go.snap | 1 - .../snapshot/api_op_CreateEnvironment.go.snap | 1 - ...CreateEnvironmentAccountConnection.go.snap | 1 - .../api_op_CreateEnvironmentTemplate.go.snap | 1 - ...p_CreateEnvironmentTemplateVersion.go.snap | 1 - .../snapshot/api_op_CreateRepository.go.snap | 1 - .../snapshot/api_op_CreateService.go.snap | 1 - .../api_op_CreateServiceInstance.go.snap | 1 - .../api_op_CreateServiceSyncConfig.go.snap | 1 - .../api_op_CreateServiceTemplate.go.snap | 1 - ...pi_op_CreateServiceTemplateVersion.go.snap | 1 - .../api_op_CreateTemplateSyncConfig.go.snap | 1 - .../snapshot/api_op_DeleteComponent.go.snap | 1 - .../snapshot/api_op_DeleteDeployment.go.snap | 1 - .../snapshot/api_op_DeleteEnvironment.go.snap | 1 - ...DeleteEnvironmentAccountConnection.go.snap | 1 - .../api_op_DeleteEnvironmentTemplate.go.snap | 1 - ...p_DeleteEnvironmentTemplateVersion.go.snap | 1 - .../snapshot/api_op_DeleteRepository.go.snap | 1 - .../snapshot/api_op_DeleteService.go.snap | 1 - .../api_op_DeleteServiceSyncConfig.go.snap | 1 - .../api_op_DeleteServiceTemplate.go.snap | 1 - ...pi_op_DeleteServiceTemplateVersion.go.snap | 1 - .../api_op_DeleteTemplateSyncConfig.go.snap | 1 - .../api_op_GetAccountSettings.go.snap | 1 - .../snapshot/api_op_GetComponent.go.snap | 1 - .../snapshot/api_op_GetDeployment.go.snap | 1 - .../snapshot/api_op_GetEnvironment.go.snap | 1 - ...op_GetEnvironmentAccountConnection.go.snap | 1 - .../api_op_GetEnvironmentTemplate.go.snap | 1 - ...i_op_GetEnvironmentTemplateVersion.go.snap | 1 - .../snapshot/api_op_GetRepository.go.snap | 1 - .../api_op_GetRepositorySyncStatus.go.snap | 1 - .../api_op_GetResourcesSummary.go.snap | 1 - .../proton/snapshot/api_op_GetService.go.snap | 1 - .../api_op_GetServiceInstance.go.snap | 1 - ...pi_op_GetServiceInstanceSyncStatus.go.snap | 1 - ...pi_op_GetServiceSyncBlockerSummary.go.snap | 1 - .../api_op_GetServiceSyncConfig.go.snap | 1 - .../api_op_GetServiceTemplate.go.snap | 1 - .../api_op_GetServiceTemplateVersion.go.snap | 1 - .../api_op_GetTemplateSyncConfig.go.snap | 1 - .../api_op_GetTemplateSyncStatus.go.snap | 1 - .../api_op_ListComponentOutputs.go.snap | 1 - ..._ListComponentProvisionedResources.go.snap | 1 - .../snapshot/api_op_ListComponents.go.snap | 1 - .../snapshot/api_op_ListDeployments.go.snap | 1 - ..._ListEnvironmentAccountConnections.go.snap | 1 - .../api_op_ListEnvironmentOutputs.go.snap | 1 - ...istEnvironmentProvisionedResources.go.snap | 1 - ...op_ListEnvironmentTemplateVersions.go.snap | 1 - .../api_op_ListEnvironmentTemplates.go.snap | 1 - .../snapshot/api_op_ListEnvironments.go.snap | 1 - .../snapshot/api_op_ListRepositories.go.snap | 1 - ...i_op_ListRepositorySyncDefinitions.go.snap | 1 - .../api_op_ListServiceInstanceOutputs.go.snap | 1 - ...erviceInstanceProvisionedResources.go.snap | 1 - .../api_op_ListServiceInstances.go.snap | 1 - .../api_op_ListServicePipelineOutputs.go.snap | 1 - ...ervicePipelineProvisionedResources.go.snap | 1 - ...api_op_ListServiceTemplateVersions.go.snap | 1 - .../api_op_ListServiceTemplates.go.snap | 1 - .../snapshot/api_op_ListServices.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - ...tifyResourceDeploymentStatusChange.go.snap | 1 - ...RejectEnvironmentAccountConnection.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateAccountSettings.go.snap | 1 - .../snapshot/api_op_UpdateComponent.go.snap | 1 - .../snapshot/api_op_UpdateEnvironment.go.snap | 1 - ...UpdateEnvironmentAccountConnection.go.snap | 1 - .../api_op_UpdateEnvironmentTemplate.go.snap | 1 - ...p_UpdateEnvironmentTemplateVersion.go.snap | 1 - .../snapshot/api_op_UpdateService.go.snap | 1 - .../api_op_UpdateServiceInstance.go.snap | 1 - .../api_op_UpdateServicePipeline.go.snap | 1 - .../api_op_UpdateServiceSyncBlocker.go.snap | 1 - .../api_op_UpdateServiceSyncConfig.go.snap | 1 - .../api_op_UpdateServiceTemplate.go.snap | 1 - ...pi_op_UpdateServiceTemplateVersion.go.snap | 1 - .../api_op_UpdateTemplateSyncConfig.go.snap | 1 - service/qapps/api_client.go | 31 -- .../api_op_AssociateLibraryItemReview.go | 3 - service/qapps/api_op_AssociateQAppWithUser.go | 3 - service/qapps/api_op_BatchCreateCategory.go | 3 - service/qapps/api_op_BatchDeleteCategory.go | 3 - service/qapps/api_op_BatchUpdateCategory.go | 3 - service/qapps/api_op_CreateLibraryItem.go | 3 - service/qapps/api_op_CreatePresignedUrl.go | 3 - service/qapps/api_op_CreateQApp.go | 3 - service/qapps/api_op_DeleteLibraryItem.go | 3 - service/qapps/api_op_DeleteQApp.go | 3 - .../qapps/api_op_DescribeQAppPermissions.go | 3 - .../api_op_DisassociateLibraryItemReview.go | 3 - .../qapps/api_op_DisassociateQAppFromUser.go | 3 - service/qapps/api_op_ExportQAppSessionData.go | 3 - service/qapps/api_op_GetLibraryItem.go | 3 - service/qapps/api_op_GetQApp.go | 3 - service/qapps/api_op_GetQAppSession.go | 3 - .../qapps/api_op_GetQAppSessionMetadata.go | 3 - service/qapps/api_op_ImportDocument.go | 3 - service/qapps/api_op_ListCategories.go | 3 - service/qapps/api_op_ListLibraryItems.go | 3 - service/qapps/api_op_ListQAppSessionData.go | 3 - service/qapps/api_op_ListQApps.go | 3 - service/qapps/api_op_ListTagsForResource.go | 3 - service/qapps/api_op_PredictQApp.go | 3 - service/qapps/api_op_StartQAppSession.go | 3 - service/qapps/api_op_StopQAppSession.go | 3 - service/qapps/api_op_TagResource.go | 3 - service/qapps/api_op_UntagResource.go | 3 - service/qapps/api_op_UpdateLibraryItem.go | 3 - .../qapps/api_op_UpdateLibraryItemMetadata.go | 3 - service/qapps/api_op_UpdateQApp.go | 3 - service/qapps/api_op_UpdateQAppPermissions.go | 3 - service/qapps/api_op_UpdateQAppSession.go | 3 - .../qapps/api_op_UpdateQAppSessionMetadata.go | 3 - .../api_op_AssociateLibraryItemReview.go.snap | 1 - .../api_op_AssociateQAppWithUser.go.snap | 1 - .../api_op_BatchCreateCategory.go.snap | 1 - .../api_op_BatchDeleteCategory.go.snap | 1 - .../api_op_BatchUpdateCategory.go.snap | 1 - .../snapshot/api_op_CreateLibraryItem.go.snap | 1 - .../api_op_CreatePresignedUrl.go.snap | 1 - .../qapps/snapshot/api_op_CreateQApp.go.snap | 1 - .../snapshot/api_op_DeleteLibraryItem.go.snap | 1 - .../qapps/snapshot/api_op_DeleteQApp.go.snap | 1 - .../api_op_DescribeQAppPermissions.go.snap | 1 - ...i_op_DisassociateLibraryItemReview.go.snap | 1 - .../api_op_DisassociateQAppFromUser.go.snap | 1 - .../api_op_ExportQAppSessionData.go.snap | 1 - .../snapshot/api_op_GetLibraryItem.go.snap | 1 - service/qapps/snapshot/api_op_GetQApp.go.snap | 1 - .../snapshot/api_op_GetQAppSession.go.snap | 1 - .../api_op_GetQAppSessionMetadata.go.snap | 1 - .../snapshot/api_op_ImportDocument.go.snap | 1 - .../snapshot/api_op_ListCategories.go.snap | 1 - .../snapshot/api_op_ListLibraryItems.go.snap | 1 - .../api_op_ListQAppSessionData.go.snap | 1 - .../qapps/snapshot/api_op_ListQApps.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../qapps/snapshot/api_op_PredictQApp.go.snap | 1 - .../snapshot/api_op_StartQAppSession.go.snap | 1 - .../snapshot/api_op_StopQAppSession.go.snap | 1 - .../qapps/snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateLibraryItem.go.snap | 1 - .../api_op_UpdateLibraryItemMetadata.go.snap | 1 - .../qapps/snapshot/api_op_UpdateQApp.go.snap | 1 - .../api_op_UpdateQAppPermissions.go.snap | 1 - .../snapshot/api_op_UpdateQAppSession.go.snap | 1 - .../api_op_UpdateQAppSessionMetadata.go.snap | 1 - service/qbusiness/api_client.go | 31 -- .../qbusiness/api_op_AssociatePermission.go | 3 - .../qbusiness/api_op_BatchDeleteDocument.go | 3 - service/qbusiness/api_op_BatchPutDocument.go | 3 - .../qbusiness/api_op_CancelSubscription.go | 3 - service/qbusiness/api_op_Chat.go | 3 - service/qbusiness/api_op_ChatSync.go | 3 - service/qbusiness/api_op_CreateApplication.go | 3 - .../qbusiness/api_op_CreateDataAccessor.go | 3 - service/qbusiness/api_op_CreateDataSource.go | 3 - service/qbusiness/api_op_CreateIndex.go | 3 - service/qbusiness/api_op_CreatePlugin.go | 3 - service/qbusiness/api_op_CreateRetriever.go | 3 - .../qbusiness/api_op_CreateSubscription.go | 3 - service/qbusiness/api_op_CreateUser.go | 3 - .../qbusiness/api_op_CreateWebExperience.go | 3 - service/qbusiness/api_op_DeleteApplication.go | 3 - .../api_op_DeleteChatControlsConfiguration.go | 3 - .../qbusiness/api_op_DeleteConversation.go | 3 - .../qbusiness/api_op_DeleteDataAccessor.go | 3 - service/qbusiness/api_op_DeleteDataSource.go | 3 - service/qbusiness/api_op_DeleteGroup.go | 3 - service/qbusiness/api_op_DeleteIndex.go | 3 - service/qbusiness/api_op_DeletePlugin.go | 3 - service/qbusiness/api_op_DeleteRetriever.go | 3 - service/qbusiness/api_op_DeleteUser.go | 3 - .../qbusiness/api_op_DeleteWebExperience.go | 3 - .../api_op_DisassociatePermission.go | 3 - service/qbusiness/api_op_GetApplication.go | 3 - .../api_op_GetChatControlsConfiguration.go | 3 - service/qbusiness/api_op_GetDataAccessor.go | 3 - service/qbusiness/api_op_GetDataSource.go | 3 - service/qbusiness/api_op_GetGroup.go | 3 - service/qbusiness/api_op_GetIndex.go | 3 - service/qbusiness/api_op_GetMedia.go | 3 - service/qbusiness/api_op_GetPlugin.go | 3 - service/qbusiness/api_op_GetPolicy.go | 3 - service/qbusiness/api_op_GetRetriever.go | 3 - service/qbusiness/api_op_GetUser.go | 3 - service/qbusiness/api_op_GetWebExperience.go | 3 - service/qbusiness/api_op_ListApplications.go | 3 - service/qbusiness/api_op_ListAttachments.go | 3 - service/qbusiness/api_op_ListConversations.go | 3 - service/qbusiness/api_op_ListDataAccessors.go | 3 - .../api_op_ListDataSourceSyncJobs.go | 3 - service/qbusiness/api_op_ListDataSources.go | 3 - service/qbusiness/api_op_ListDocuments.go | 3 - service/qbusiness/api_op_ListGroups.go | 3 - service/qbusiness/api_op_ListIndices.go | 3 - service/qbusiness/api_op_ListMessages.go | 3 - service/qbusiness/api_op_ListPluginActions.go | 3 - .../qbusiness/api_op_ListPluginTypeActions.go | 3 - .../api_op_ListPluginTypeMetadata.go | 3 - service/qbusiness/api_op_ListPlugins.go | 3 - service/qbusiness/api_op_ListRetrievers.go | 3 - service/qbusiness/api_op_ListSubscriptions.go | 3 - .../qbusiness/api_op_ListTagsForResource.go | 3 - .../qbusiness/api_op_ListWebExperiences.go | 3 - service/qbusiness/api_op_PutFeedback.go | 3 - service/qbusiness/api_op_PutGroup.go | 3 - .../qbusiness/api_op_SearchRelevantContent.go | 3 - .../api_op_StartDataSourceSyncJob.go | 3 - .../qbusiness/api_op_StopDataSourceSyncJob.go | 3 - service/qbusiness/api_op_TagResource.go | 3 - service/qbusiness/api_op_UntagResource.go | 3 - service/qbusiness/api_op_UpdateApplication.go | 3 - .../api_op_UpdateChatControlsConfiguration.go | 3 - .../qbusiness/api_op_UpdateDataAccessor.go | 3 - service/qbusiness/api_op_UpdateDataSource.go | 3 - service/qbusiness/api_op_UpdateIndex.go | 3 - service/qbusiness/api_op_UpdatePlugin.go | 3 - service/qbusiness/api_op_UpdateRetriever.go | 3 - .../qbusiness/api_op_UpdateSubscription.go | 3 - service/qbusiness/api_op_UpdateUser.go | 3 - .../qbusiness/api_op_UpdateWebExperience.go | 3 - .../api_op_AssociatePermission.go.snap | 1 - .../api_op_BatchDeleteDocument.go.snap | 1 - .../snapshot/api_op_BatchPutDocument.go.snap | 1 - .../api_op_CancelSubscription.go.snap | 1 - .../qbusiness/snapshot/api_op_Chat.go.snap | 1 - .../snapshot/api_op_ChatSync.go.snap | 1 - .../snapshot/api_op_CreateApplication.go.snap | 1 - .../api_op_CreateDataAccessor.go.snap | 1 - .../snapshot/api_op_CreateDataSource.go.snap | 1 - .../snapshot/api_op_CreateIndex.go.snap | 1 - .../snapshot/api_op_CreatePlugin.go.snap | 1 - .../snapshot/api_op_CreateRetriever.go.snap | 1 - .../api_op_CreateSubscription.go.snap | 1 - .../snapshot/api_op_CreateUser.go.snap | 1 - .../api_op_CreateWebExperience.go.snap | 1 - .../snapshot/api_op_DeleteApplication.go.snap | 1 - ...op_DeleteChatControlsConfiguration.go.snap | 1 - .../api_op_DeleteConversation.go.snap | 1 - .../api_op_DeleteDataAccessor.go.snap | 1 - .../snapshot/api_op_DeleteDataSource.go.snap | 1 - .../snapshot/api_op_DeleteGroup.go.snap | 1 - .../snapshot/api_op_DeleteIndex.go.snap | 1 - .../snapshot/api_op_DeletePlugin.go.snap | 1 - .../snapshot/api_op_DeleteRetriever.go.snap | 1 - .../snapshot/api_op_DeleteUser.go.snap | 1 - .../api_op_DeleteWebExperience.go.snap | 1 - .../api_op_DisassociatePermission.go.snap | 1 - .../snapshot/api_op_GetApplication.go.snap | 1 - ...pi_op_GetChatControlsConfiguration.go.snap | 1 - .../snapshot/api_op_GetDataAccessor.go.snap | 1 - .../snapshot/api_op_GetDataSource.go.snap | 1 - .../snapshot/api_op_GetGroup.go.snap | 1 - .../snapshot/api_op_GetIndex.go.snap | 1 - .../snapshot/api_op_GetMedia.go.snap | 1 - .../snapshot/api_op_GetPlugin.go.snap | 1 - .../snapshot/api_op_GetPolicy.go.snap | 1 - .../snapshot/api_op_GetRetriever.go.snap | 1 - .../qbusiness/snapshot/api_op_GetUser.go.snap | 1 - .../snapshot/api_op_GetWebExperience.go.snap | 1 - .../snapshot/api_op_ListApplications.go.snap | 1 - .../snapshot/api_op_ListAttachments.go.snap | 1 - .../snapshot/api_op_ListConversations.go.snap | 1 - .../snapshot/api_op_ListDataAccessors.go.snap | 1 - .../api_op_ListDataSourceSyncJobs.go.snap | 1 - .../snapshot/api_op_ListDataSources.go.snap | 1 - .../snapshot/api_op_ListDocuments.go.snap | 1 - .../snapshot/api_op_ListGroups.go.snap | 1 - .../snapshot/api_op_ListIndices.go.snap | 1 - .../snapshot/api_op_ListMessages.go.snap | 1 - .../snapshot/api_op_ListPluginActions.go.snap | 1 - .../api_op_ListPluginTypeActions.go.snap | 1 - .../api_op_ListPluginTypeMetadata.go.snap | 1 - .../snapshot/api_op_ListPlugins.go.snap | 1 - .../snapshot/api_op_ListRetrievers.go.snap | 1 - .../snapshot/api_op_ListSubscriptions.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListWebExperiences.go.snap | 1 - .../snapshot/api_op_PutFeedback.go.snap | 1 - .../snapshot/api_op_PutGroup.go.snap | 1 - .../api_op_SearchRelevantContent.go.snap | 1 - .../api_op_StartDataSourceSyncJob.go.snap | 1 - .../api_op_StopDataSourceSyncJob.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateApplication.go.snap | 1 - ...op_UpdateChatControlsConfiguration.go.snap | 1 - .../api_op_UpdateDataAccessor.go.snap | 1 - .../snapshot/api_op_UpdateDataSource.go.snap | 1 - .../snapshot/api_op_UpdateIndex.go.snap | 1 - .../snapshot/api_op_UpdatePlugin.go.snap | 1 - .../snapshot/api_op_UpdateRetriever.go.snap | 1 - .../api_op_UpdateSubscription.go.snap | 1 - .../snapshot/api_op_UpdateUser.go.snap | 1 - .../api_op_UpdateWebExperience.go.snap | 1 - service/qconnect/api_client.go | 31 -- .../api_op_ActivateMessageTemplate.go | 3 - service/qconnect/api_op_CreateAIAgent.go | 3 - .../qconnect/api_op_CreateAIAgentVersion.go | 3 - service/qconnect/api_op_CreateAIGuardrail.go | 3 - .../api_op_CreateAIGuardrailVersion.go | 3 - service/qconnect/api_op_CreateAIPrompt.go | 3 - .../qconnect/api_op_CreateAIPromptVersion.go | 3 - service/qconnect/api_op_CreateAssistant.go | 3 - .../api_op_CreateAssistantAssociation.go | 3 - service/qconnect/api_op_CreateContent.go | 3 - .../api_op_CreateContentAssociation.go | 3 - .../qconnect/api_op_CreateKnowledgeBase.go | 3 - .../qconnect/api_op_CreateMessageTemplate.go | 3 - .../api_op_CreateMessageTemplateAttachment.go | 3 - .../api_op_CreateMessageTemplateVersion.go | 3 - .../qconnect/api_op_CreateQuickResponse.go | 3 - service/qconnect/api_op_CreateSession.go | 3 - .../api_op_DeactivateMessageTemplate.go | 3 - service/qconnect/api_op_DeleteAIAgent.go | 3 - .../qconnect/api_op_DeleteAIAgentVersion.go | 3 - service/qconnect/api_op_DeleteAIGuardrail.go | 3 - .../api_op_DeleteAIGuardrailVersion.go | 3 - service/qconnect/api_op_DeleteAIPrompt.go | 3 - .../qconnect/api_op_DeleteAIPromptVersion.go | 3 - service/qconnect/api_op_DeleteAssistant.go | 3 - .../api_op_DeleteAssistantAssociation.go | 3 - service/qconnect/api_op_DeleteContent.go | 3 - .../api_op_DeleteContentAssociation.go | 3 - service/qconnect/api_op_DeleteImportJob.go | 3 - .../qconnect/api_op_DeleteKnowledgeBase.go | 3 - .../qconnect/api_op_DeleteMessageTemplate.go | 3 - .../api_op_DeleteMessageTemplateAttachment.go | 3 - .../qconnect/api_op_DeleteQuickResponse.go | 3 - service/qconnect/api_op_GetAIAgent.go | 3 - service/qconnect/api_op_GetAIGuardrail.go | 3 - service/qconnect/api_op_GetAIPrompt.go | 3 - service/qconnect/api_op_GetAssistant.go | 3 - .../api_op_GetAssistantAssociation.go | 3 - service/qconnect/api_op_GetContent.go | 3 - .../qconnect/api_op_GetContentAssociation.go | 3 - service/qconnect/api_op_GetContentSummary.go | 3 - service/qconnect/api_op_GetImportJob.go | 3 - service/qconnect/api_op_GetKnowledgeBase.go | 3 - service/qconnect/api_op_GetMessageTemplate.go | 3 - service/qconnect/api_op_GetNextMessage.go | 3 - service/qconnect/api_op_GetQuickResponse.go | 3 - service/qconnect/api_op_GetRecommendations.go | 3 - service/qconnect/api_op_GetSession.go | 3 - .../qconnect/api_op_ListAIAgentVersions.go | 3 - service/qconnect/api_op_ListAIAgents.go | 3 - .../api_op_ListAIGuardrailVersions.go | 3 - service/qconnect/api_op_ListAIGuardrails.go | 3 - .../qconnect/api_op_ListAIPromptVersions.go | 3 - service/qconnect/api_op_ListAIPrompts.go | 3 - .../api_op_ListAssistantAssociations.go | 3 - service/qconnect/api_op_ListAssistants.go | 3 - .../api_op_ListContentAssociations.go | 3 - service/qconnect/api_op_ListContents.go | 3 - service/qconnect/api_op_ListImportJobs.go | 3 - service/qconnect/api_op_ListKnowledgeBases.go | 3 - .../api_op_ListMessageTemplateVersions.go | 3 - .../qconnect/api_op_ListMessageTemplates.go | 3 - service/qconnect/api_op_ListMessages.go | 3 - service/qconnect/api_op_ListQuickResponses.go | 3 - .../qconnect/api_op_ListTagsForResource.go | 3 - .../api_op_NotifyRecommendationsReceived.go | 3 - service/qconnect/api_op_PutFeedback.go | 3 - service/qconnect/api_op_QueryAssistant.go | 3 - .../qconnect/api_op_RemoveAssistantAIAgent.go | 3 - .../api_op_RemoveKnowledgeBaseTemplateUri.go | 3 - .../qconnect/api_op_RenderMessageTemplate.go | 3 - service/qconnect/api_op_SearchContent.go | 3 - .../qconnect/api_op_SearchMessageTemplates.go | 3 - .../qconnect/api_op_SearchQuickResponses.go | 3 - service/qconnect/api_op_SearchSessions.go | 3 - service/qconnect/api_op_SendMessage.go | 3 - service/qconnect/api_op_StartContentUpload.go | 3 - service/qconnect/api_op_StartImportJob.go | 3 - service/qconnect/api_op_TagResource.go | 3 - service/qconnect/api_op_UntagResource.go | 3 - service/qconnect/api_op_UpdateAIAgent.go | 3 - service/qconnect/api_op_UpdateAIGuardrail.go | 3 - service/qconnect/api_op_UpdateAIPrompt.go | 3 - .../qconnect/api_op_UpdateAssistantAIAgent.go | 3 - service/qconnect/api_op_UpdateContent.go | 3 - .../api_op_UpdateKnowledgeBaseTemplateUri.go | 3 - .../qconnect/api_op_UpdateMessageTemplate.go | 3 - .../api_op_UpdateMessageTemplateMetadata.go | 3 - .../qconnect/api_op_UpdateQuickResponse.go | 3 - service/qconnect/api_op_UpdateSession.go | 3 - service/qconnect/api_op_UpdateSessionData.go | 3 - .../api_op_ActivateMessageTemplate.go.snap | 1 - .../snapshot/api_op_CreateAIAgent.go.snap | 1 - .../api_op_CreateAIAgentVersion.go.snap | 1 - .../snapshot/api_op_CreateAIGuardrail.go.snap | 1 - .../api_op_CreateAIGuardrailVersion.go.snap | 1 - .../snapshot/api_op_CreateAIPrompt.go.snap | 1 - .../api_op_CreateAIPromptVersion.go.snap | 1 - .../snapshot/api_op_CreateAssistant.go.snap | 1 - .../api_op_CreateAssistantAssociation.go.snap | 1 - .../snapshot/api_op_CreateContent.go.snap | 1 - .../api_op_CreateContentAssociation.go.snap | 1 - .../api_op_CreateKnowledgeBase.go.snap | 1 - .../api_op_CreateMessageTemplate.go.snap | 1 - ...op_CreateMessageTemplateAttachment.go.snap | 1 - ...pi_op_CreateMessageTemplateVersion.go.snap | 1 - .../api_op_CreateQuickResponse.go.snap | 1 - .../snapshot/api_op_CreateSession.go.snap | 1 - .../api_op_DeactivateMessageTemplate.go.snap | 1 - .../snapshot/api_op_DeleteAIAgent.go.snap | 1 - .../api_op_DeleteAIAgentVersion.go.snap | 1 - .../snapshot/api_op_DeleteAIGuardrail.go.snap | 1 - .../api_op_DeleteAIGuardrailVersion.go.snap | 1 - .../snapshot/api_op_DeleteAIPrompt.go.snap | 1 - .../api_op_DeleteAIPromptVersion.go.snap | 1 - .../snapshot/api_op_DeleteAssistant.go.snap | 1 - .../api_op_DeleteAssistantAssociation.go.snap | 1 - .../snapshot/api_op_DeleteContent.go.snap | 1 - .../api_op_DeleteContentAssociation.go.snap | 1 - .../snapshot/api_op_DeleteImportJob.go.snap | 1 - .../api_op_DeleteKnowledgeBase.go.snap | 1 - .../api_op_DeleteMessageTemplate.go.snap | 1 - ...op_DeleteMessageTemplateAttachment.go.snap | 1 - .../api_op_DeleteQuickResponse.go.snap | 1 - .../snapshot/api_op_GetAIAgent.go.snap | 1 - .../snapshot/api_op_GetAIGuardrail.go.snap | 1 - .../snapshot/api_op_GetAIPrompt.go.snap | 1 - .../snapshot/api_op_GetAssistant.go.snap | 1 - .../api_op_GetAssistantAssociation.go.snap | 1 - .../snapshot/api_op_GetContent.go.snap | 1 - .../api_op_GetContentAssociation.go.snap | 1 - .../snapshot/api_op_GetContentSummary.go.snap | 1 - .../snapshot/api_op_GetImportJob.go.snap | 1 - .../snapshot/api_op_GetKnowledgeBase.go.snap | 1 - .../api_op_GetMessageTemplate.go.snap | 1 - .../snapshot/api_op_GetNextMessage.go.snap | 1 - .../snapshot/api_op_GetQuickResponse.go.snap | 1 - .../api_op_GetRecommendations.go.snap | 1 - .../snapshot/api_op_GetSession.go.snap | 1 - .../api_op_ListAIAgentVersions.go.snap | 1 - .../snapshot/api_op_ListAIAgents.go.snap | 1 - .../api_op_ListAIGuardrailVersions.go.snap | 1 - .../snapshot/api_op_ListAIGuardrails.go.snap | 1 - .../api_op_ListAIPromptVersions.go.snap | 1 - .../snapshot/api_op_ListAIPrompts.go.snap | 1 - .../api_op_ListAssistantAssociations.go.snap | 1 - .../snapshot/api_op_ListAssistants.go.snap | 1 - .../api_op_ListContentAssociations.go.snap | 1 - .../snapshot/api_op_ListContents.go.snap | 1 - .../snapshot/api_op_ListImportJobs.go.snap | 1 - .../api_op_ListKnowledgeBases.go.snap | 1 - ...api_op_ListMessageTemplateVersions.go.snap | 1 - .../api_op_ListMessageTemplates.go.snap | 1 - .../snapshot/api_op_ListMessages.go.snap | 1 - .../api_op_ListQuickResponses.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - ...i_op_NotifyRecommendationsReceived.go.snap | 1 - .../snapshot/api_op_PutFeedback.go.snap | 1 - .../snapshot/api_op_QueryAssistant.go.snap | 1 - .../api_op_RemoveAssistantAIAgent.go.snap | 1 - ..._op_RemoveKnowledgeBaseTemplateUri.go.snap | 1 - .../api_op_RenderMessageTemplate.go.snap | 1 - .../snapshot/api_op_SearchContent.go.snap | 1 - .../api_op_SearchMessageTemplates.go.snap | 1 - .../api_op_SearchQuickResponses.go.snap | 1 - .../snapshot/api_op_SearchSessions.go.snap | 1 - .../snapshot/api_op_SendMessage.go.snap | 1 - .../api_op_StartContentUpload.go.snap | 1 - .../snapshot/api_op_StartImportJob.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateAIAgent.go.snap | 1 - .../snapshot/api_op_UpdateAIGuardrail.go.snap | 1 - .../snapshot/api_op_UpdateAIPrompt.go.snap | 1 - .../api_op_UpdateAssistantAIAgent.go.snap | 1 - .../snapshot/api_op_UpdateContent.go.snap | 1 - ..._op_UpdateKnowledgeBaseTemplateUri.go.snap | 1 - .../api_op_UpdateMessageTemplate.go.snap | 1 - ...i_op_UpdateMessageTemplateMetadata.go.snap | 1 - .../api_op_UpdateQuickResponse.go.snap | 1 - .../snapshot/api_op_UpdateSession.go.snap | 1 - .../snapshot/api_op_UpdateSessionData.go.snap | 1 - service/qldb/api_client.go | 31 -- .../qldb/api_op_CancelJournalKinesisStream.go | 3 - service/qldb/api_op_CreateLedger.go | 3 - service/qldb/api_op_DeleteLedger.go | 3 - .../api_op_DescribeJournalKinesisStream.go | 3 - .../qldb/api_op_DescribeJournalS3Export.go | 3 - service/qldb/api_op_DescribeLedger.go | 3 - service/qldb/api_op_ExportJournalToS3.go | 3 - service/qldb/api_op_GetBlock.go | 3 - service/qldb/api_op_GetDigest.go | 3 - service/qldb/api_op_GetRevision.go | 3 - ...i_op_ListJournalKinesisStreamsForLedger.go | 3 - service/qldb/api_op_ListJournalS3Exports.go | 3 - .../api_op_ListJournalS3ExportsForLedger.go | 3 - service/qldb/api_op_ListLedgers.go | 3 - service/qldb/api_op_ListTagsForResource.go | 3 - service/qldb/api_op_StreamJournalToKinesis.go | 3 - service/qldb/api_op_TagResource.go | 3 - service/qldb/api_op_UntagResource.go | 3 - service/qldb/api_op_UpdateLedger.go | 3 - .../api_op_UpdateLedgerPermissionsMode.go | 3 - .../api_op_CancelJournalKinesisStream.go.snap | 1 - .../qldb/snapshot/api_op_CreateLedger.go.snap | 1 - .../qldb/snapshot/api_op_DeleteLedger.go.snap | 1 - ...pi_op_DescribeJournalKinesisStream.go.snap | 1 - .../api_op_DescribeJournalS3Export.go.snap | 1 - .../snapshot/api_op_DescribeLedger.go.snap | 1 - .../snapshot/api_op_ExportJournalToS3.go.snap | 1 - service/qldb/snapshot/api_op_GetBlock.go.snap | 1 - .../qldb/snapshot/api_op_GetDigest.go.snap | 1 - .../qldb/snapshot/api_op_GetRevision.go.snap | 1 - ...ListJournalKinesisStreamsForLedger.go.snap | 1 - .../api_op_ListJournalS3Exports.go.snap | 1 - ...i_op_ListJournalS3ExportsForLedger.go.snap | 1 - .../qldb/snapshot/api_op_ListLedgers.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_StreamJournalToKinesis.go.snap | 1 - .../qldb/snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../qldb/snapshot/api_op_UpdateLedger.go.snap | 1 - ...api_op_UpdateLedgerPermissionsMode.go.snap | 1 - service/qldbsession/api_client.go | 31 -- service/qldbsession/api_op_SendCommand.go | 3 - .../snapshot/api_op_SendCommand.go.snap | 1 - service/quicksight/api_client.go | 31 -- .../api_op_BatchCreateTopicReviewedAnswer.go | 3 - .../api_op_BatchDeleteTopicReviewedAnswer.go | 3 - service/quicksight/api_op_CancelIngestion.go | 3 - .../api_op_CreateAccountCustomization.go | 3 - .../api_op_CreateAccountSubscription.go | 3 - service/quicksight/api_op_CreateAnalysis.go | 3 - service/quicksight/api_op_CreateBrand.go | 3 - .../api_op_CreateCustomPermissions.go | 3 - service/quicksight/api_op_CreateDashboard.go | 3 - service/quicksight/api_op_CreateDataSet.go | 3 - service/quicksight/api_op_CreateDataSource.go | 3 - service/quicksight/api_op_CreateFolder.go | 3 - .../api_op_CreateFolderMembership.go | 3 - service/quicksight/api_op_CreateGroup.go | 3 - .../api_op_CreateGroupMembership.go | 3 - .../api_op_CreateIAMPolicyAssignment.go | 3 - service/quicksight/api_op_CreateIngestion.go | 3 - service/quicksight/api_op_CreateNamespace.go | 3 - .../api_op_CreateRefreshSchedule.go | 3 - .../quicksight/api_op_CreateRoleMembership.go | 3 - service/quicksight/api_op_CreateTemplate.go | 3 - .../quicksight/api_op_CreateTemplateAlias.go | 3 - service/quicksight/api_op_CreateTheme.go | 3 - service/quicksight/api_op_CreateThemeAlias.go | 3 - service/quicksight/api_op_CreateTopic.go | 3 - .../api_op_CreateTopicRefreshSchedule.go | 3 - .../quicksight/api_op_CreateVPCConnection.go | 3 - .../api_op_DeleteAccountCustomization.go | 3 - .../api_op_DeleteAccountSubscription.go | 3 - service/quicksight/api_op_DeleteAnalysis.go | 3 - service/quicksight/api_op_DeleteBrand.go | 3 - .../api_op_DeleteBrandAssignment.go | 3 - .../api_op_DeleteCustomPermissions.go | 3 - service/quicksight/api_op_DeleteDashboard.go | 3 - service/quicksight/api_op_DeleteDataSet.go | 3 - .../api_op_DeleteDataSetRefreshProperties.go | 3 - service/quicksight/api_op_DeleteDataSource.go | 3 - ...pi_op_DeleteDefaultQBusinessApplication.go | 3 - service/quicksight/api_op_DeleteFolder.go | 3 - .../api_op_DeleteFolderMembership.go | 3 - service/quicksight/api_op_DeleteGroup.go | 3 - .../api_op_DeleteGroupMembership.go | 3 - .../api_op_DeleteIAMPolicyAssignment.go | 3 - .../api_op_DeleteIdentityPropagationConfig.go | 3 - service/quicksight/api_op_DeleteNamespace.go | 3 - .../api_op_DeleteRefreshSchedule.go | 3 - .../api_op_DeleteRoleCustomPermission.go | 3 - .../quicksight/api_op_DeleteRoleMembership.go | 3 - service/quicksight/api_op_DeleteTemplate.go | 3 - .../quicksight/api_op_DeleteTemplateAlias.go | 3 - service/quicksight/api_op_DeleteTheme.go | 3 - service/quicksight/api_op_DeleteThemeAlias.go | 3 - service/quicksight/api_op_DeleteTopic.go | 3 - .../api_op_DeleteTopicRefreshSchedule.go | 3 - service/quicksight/api_op_DeleteUser.go | 3 - .../api_op_DeleteUserByPrincipalId.go | 3 - .../api_op_DeleteUserCustomPermission.go | 3 - .../quicksight/api_op_DeleteVPCConnection.go | 3 - .../api_op_DescribeAccountCustomization.go | 3 - .../api_op_DescribeAccountSettings.go | 3 - .../api_op_DescribeAccountSubscription.go | 3 - service/quicksight/api_op_DescribeAnalysis.go | 3 - .../api_op_DescribeAnalysisDefinition.go | 3 - .../api_op_DescribeAnalysisPermissions.go | 3 - .../api_op_DescribeAssetBundleExportJob.go | 3 - .../api_op_DescribeAssetBundleImportJob.go | 3 - service/quicksight/api_op_DescribeBrand.go | 3 - .../api_op_DescribeBrandAssignment.go | 3 - .../api_op_DescribeBrandPublishedVersion.go | 3 - .../api_op_DescribeCustomPermissions.go | 3 - .../quicksight/api_op_DescribeDashboard.go | 3 - .../api_op_DescribeDashboardDefinition.go | 3 - .../api_op_DescribeDashboardPermissions.go | 3 - .../api_op_DescribeDashboardSnapshotJob.go | 3 - ...i_op_DescribeDashboardSnapshotJobResult.go | 3 - ...pi_op_DescribeDashboardsQAConfiguration.go | 3 - service/quicksight/api_op_DescribeDataSet.go | 3 - .../api_op_DescribeDataSetPermissions.go | 3 - ...api_op_DescribeDataSetRefreshProperties.go | 3 - .../quicksight/api_op_DescribeDataSource.go | 3 - .../api_op_DescribeDataSourcePermissions.go | 3 - ..._op_DescribeDefaultQBusinessApplication.go | 3 - service/quicksight/api_op_DescribeFolder.go | 3 - .../api_op_DescribeFolderPermissions.go | 3 - ...pi_op_DescribeFolderResolvedPermissions.go | 3 - service/quicksight/api_op_DescribeGroup.go | 3 - .../api_op_DescribeGroupMembership.go | 3 - .../api_op_DescribeIAMPolicyAssignment.go | 3 - .../quicksight/api_op_DescribeIngestion.go | 3 - .../api_op_DescribeIpRestriction.go | 3 - .../api_op_DescribeKeyRegistration.go | 3 - .../quicksight/api_op_DescribeNamespace.go | 3 - ...p_DescribeQPersonalizationConfiguration.go | 3 - ..._DescribeQuickSightQSearchConfiguration.go | 3 - .../api_op_DescribeRefreshSchedule.go | 3 - .../api_op_DescribeRoleCustomPermission.go | 3 - service/quicksight/api_op_DescribeTemplate.go | 3 - .../api_op_DescribeTemplateAlias.go | 3 - .../api_op_DescribeTemplateDefinition.go | 3 - .../api_op_DescribeTemplatePermissions.go | 3 - service/quicksight/api_op_DescribeTheme.go | 3 - .../quicksight/api_op_DescribeThemeAlias.go | 3 - .../api_op_DescribeThemePermissions.go | 3 - service/quicksight/api_op_DescribeTopic.go | 3 - .../api_op_DescribeTopicPermissions.go | 3 - .../quicksight/api_op_DescribeTopicRefresh.go | 3 - .../api_op_DescribeTopicRefreshSchedule.go | 3 - service/quicksight/api_op_DescribeUser.go | 3 - .../api_op_DescribeVPCConnection.go | 3 - ...api_op_GenerateEmbedUrlForAnonymousUser.go | 3 - ...pi_op_GenerateEmbedUrlForRegisteredUser.go | 3 - ...teEmbedUrlForRegisteredUserWithIdentity.go | 3 - .../quicksight/api_op_GetDashboardEmbedUrl.go | 3 - .../quicksight/api_op_GetSessionEmbedUrl.go | 3 - service/quicksight/api_op_ListAnalyses.go | 3 - .../api_op_ListAssetBundleExportJobs.go | 3 - .../api_op_ListAssetBundleImportJobs.go | 3 - service/quicksight/api_op_ListBrands.go | 3 - .../api_op_ListCustomPermissions.go | 3 - .../api_op_ListDashboardVersions.go | 3 - service/quicksight/api_op_ListDashboards.go | 3 - service/quicksight/api_op_ListDataSets.go | 3 - service/quicksight/api_op_ListDataSources.go | 3 - .../quicksight/api_op_ListFolderMembers.go | 3 - service/quicksight/api_op_ListFolders.go | 3 - .../api_op_ListFoldersForResource.go | 3 - .../quicksight/api_op_ListGroupMemberships.go | 3 - service/quicksight/api_op_ListGroups.go | 3 - .../api_op_ListIAMPolicyAssignments.go | 3 - .../api_op_ListIAMPolicyAssignmentsForUser.go | 3 - .../api_op_ListIdentityPropagationConfigs.go | 3 - service/quicksight/api_op_ListIngestions.go | 3 - service/quicksight/api_op_ListNamespaces.go | 3 - .../quicksight/api_op_ListRefreshSchedules.go | 3 - .../quicksight/api_op_ListRoleMemberships.go | 3 - .../quicksight/api_op_ListTagsForResource.go | 3 - .../quicksight/api_op_ListTemplateAliases.go | 3 - .../quicksight/api_op_ListTemplateVersions.go | 3 - service/quicksight/api_op_ListTemplates.go | 3 - service/quicksight/api_op_ListThemeAliases.go | 3 - .../quicksight/api_op_ListThemeVersions.go | 3 - service/quicksight/api_op_ListThemes.go | 3 - .../api_op_ListTopicRefreshSchedules.go | 3 - .../api_op_ListTopicReviewedAnswers.go | 3 - service/quicksight/api_op_ListTopics.go | 3 - service/quicksight/api_op_ListUserGroups.go | 3 - service/quicksight/api_op_ListUsers.go | 3 - .../quicksight/api_op_ListVPCConnections.go | 3 - service/quicksight/api_op_PredictQAResults.go | 3 - .../api_op_PutDataSetRefreshProperties.go | 3 - service/quicksight/api_op_RegisterUser.go | 3 - service/quicksight/api_op_RestoreAnalysis.go | 3 - service/quicksight/api_op_SearchAnalyses.go | 3 - service/quicksight/api_op_SearchDashboards.go | 3 - service/quicksight/api_op_SearchDataSets.go | 3 - .../quicksight/api_op_SearchDataSources.go | 3 - service/quicksight/api_op_SearchFolders.go | 3 - service/quicksight/api_op_SearchGroups.go | 3 - service/quicksight/api_op_SearchTopics.go | 3 - .../api_op_StartAssetBundleExportJob.go | 3 - .../api_op_StartAssetBundleImportJob.go | 3 - .../api_op_StartDashboardSnapshotJob.go | 3 - ...pi_op_StartDashboardSnapshotJobSchedule.go | 3 - service/quicksight/api_op_TagResource.go | 3 - service/quicksight/api_op_UntagResource.go | 3 - .../api_op_UpdateAccountCustomization.go | 3 - .../api_op_UpdateAccountSettings.go | 3 - service/quicksight/api_op_UpdateAnalysis.go | 3 - .../api_op_UpdateAnalysisPermissions.go | 3 - ...UpdateApplicationWithTokenExchangeGrant.go | 3 - service/quicksight/api_op_UpdateBrand.go | 3 - .../api_op_UpdateBrandAssignment.go | 3 - .../api_op_UpdateBrandPublishedVersion.go | 3 - .../api_op_UpdateCustomPermissions.go | 3 - service/quicksight/api_op_UpdateDashboard.go | 3 - .../quicksight/api_op_UpdateDashboardLinks.go | 3 - .../api_op_UpdateDashboardPermissions.go | 3 - .../api_op_UpdateDashboardPublishedVersion.go | 3 - .../api_op_UpdateDashboardsQAConfiguration.go | 3 - service/quicksight/api_op_UpdateDataSet.go | 3 - .../api_op_UpdateDataSetPermissions.go | 3 - service/quicksight/api_op_UpdateDataSource.go | 3 - .../api_op_UpdateDataSourcePermissions.go | 3 - ...pi_op_UpdateDefaultQBusinessApplication.go | 3 - service/quicksight/api_op_UpdateFolder.go | 3 - .../api_op_UpdateFolderPermissions.go | 3 - service/quicksight/api_op_UpdateGroup.go | 3 - .../api_op_UpdateIAMPolicyAssignment.go | 3 - .../api_op_UpdateIdentityPropagationConfig.go | 3 - .../quicksight/api_op_UpdateIpRestriction.go | 3 - .../api_op_UpdateKeyRegistration.go | 3 - .../api_op_UpdatePublicSharingSettings.go | 3 - ..._op_UpdateQPersonalizationConfiguration.go | 3 - ...op_UpdateQuickSightQSearchConfiguration.go | 3 - .../api_op_UpdateRefreshSchedule.go | 3 - .../api_op_UpdateRoleCustomPermission.go | 3 - ...api_op_UpdateSPICECapacityConfiguration.go | 3 - service/quicksight/api_op_UpdateTemplate.go | 3 - .../quicksight/api_op_UpdateTemplateAlias.go | 3 - .../api_op_UpdateTemplatePermissions.go | 3 - service/quicksight/api_op_UpdateTheme.go | 3 - service/quicksight/api_op_UpdateThemeAlias.go | 3 - .../api_op_UpdateThemePermissions.go | 3 - service/quicksight/api_op_UpdateTopic.go | 3 - .../api_op_UpdateTopicPermissions.go | 3 - .../api_op_UpdateTopicRefreshSchedule.go | 3 - service/quicksight/api_op_UpdateUser.go | 3 - .../api_op_UpdateUserCustomPermission.go | 3 - .../quicksight/api_op_UpdateVPCConnection.go | 3 - ..._op_BatchCreateTopicReviewedAnswer.go.snap | 1 - ..._op_BatchDeleteTopicReviewedAnswer.go.snap | 1 - .../snapshot/api_op_CancelIngestion.go.snap | 1 - .../api_op_CreateAccountCustomization.go.snap | 1 - .../api_op_CreateAccountSubscription.go.snap | 1 - .../snapshot/api_op_CreateAnalysis.go.snap | 1 - .../snapshot/api_op_CreateBrand.go.snap | 1 - .../api_op_CreateCustomPermissions.go.snap | 1 - .../snapshot/api_op_CreateDashboard.go.snap | 1 - .../snapshot/api_op_CreateDataSet.go.snap | 1 - .../snapshot/api_op_CreateDataSource.go.snap | 1 - .../snapshot/api_op_CreateFolder.go.snap | 1 - .../api_op_CreateFolderMembership.go.snap | 1 - .../snapshot/api_op_CreateGroup.go.snap | 1 - .../api_op_CreateGroupMembership.go.snap | 1 - .../api_op_CreateIAMPolicyAssignment.go.snap | 1 - .../snapshot/api_op_CreateIngestion.go.snap | 1 - .../snapshot/api_op_CreateNamespace.go.snap | 1 - .../api_op_CreateRefreshSchedule.go.snap | 1 - .../api_op_CreateRoleMembership.go.snap | 1 - .../snapshot/api_op_CreateTemplate.go.snap | 1 - .../api_op_CreateTemplateAlias.go.snap | 1 - .../snapshot/api_op_CreateTheme.go.snap | 1 - .../snapshot/api_op_CreateThemeAlias.go.snap | 1 - .../snapshot/api_op_CreateTopic.go.snap | 1 - .../api_op_CreateTopicRefreshSchedule.go.snap | 1 - .../api_op_CreateVPCConnection.go.snap | 1 - .../api_op_DeleteAccountCustomization.go.snap | 1 - .../api_op_DeleteAccountSubscription.go.snap | 1 - .../snapshot/api_op_DeleteAnalysis.go.snap | 1 - .../snapshot/api_op_DeleteBrand.go.snap | 1 - .../api_op_DeleteBrandAssignment.go.snap | 1 - .../api_op_DeleteCustomPermissions.go.snap | 1 - .../snapshot/api_op_DeleteDashboard.go.snap | 1 - .../snapshot/api_op_DeleteDataSet.go.snap | 1 - ..._op_DeleteDataSetRefreshProperties.go.snap | 1 - .../snapshot/api_op_DeleteDataSource.go.snap | 1 - ..._DeleteDefaultQBusinessApplication.go.snap | 1 - .../snapshot/api_op_DeleteFolder.go.snap | 1 - .../api_op_DeleteFolderMembership.go.snap | 1 - .../snapshot/api_op_DeleteGroup.go.snap | 1 - .../api_op_DeleteGroupMembership.go.snap | 1 - .../api_op_DeleteIAMPolicyAssignment.go.snap | 1 - ...op_DeleteIdentityPropagationConfig.go.snap | 1 - .../snapshot/api_op_DeleteNamespace.go.snap | 1 - .../api_op_DeleteRefreshSchedule.go.snap | 1 - .../api_op_DeleteRoleCustomPermission.go.snap | 1 - .../api_op_DeleteRoleMembership.go.snap | 1 - .../snapshot/api_op_DeleteTemplate.go.snap | 1 - .../api_op_DeleteTemplateAlias.go.snap | 1 - .../snapshot/api_op_DeleteTheme.go.snap | 1 - .../snapshot/api_op_DeleteThemeAlias.go.snap | 1 - .../snapshot/api_op_DeleteTopic.go.snap | 1 - .../api_op_DeleteTopicRefreshSchedule.go.snap | 1 - .../snapshot/api_op_DeleteUser.go.snap | 1 - .../api_op_DeleteUserByPrincipalId.go.snap | 1 - .../api_op_DeleteUserCustomPermission.go.snap | 1 - .../api_op_DeleteVPCConnection.go.snap | 1 - ...pi_op_DescribeAccountCustomization.go.snap | 1 - .../api_op_DescribeAccountSettings.go.snap | 1 - ...api_op_DescribeAccountSubscription.go.snap | 1 - .../snapshot/api_op_DescribeAnalysis.go.snap | 1 - .../api_op_DescribeAnalysisDefinition.go.snap | 1 - ...api_op_DescribeAnalysisPermissions.go.snap | 1 - ...pi_op_DescribeAssetBundleExportJob.go.snap | 1 - ...pi_op_DescribeAssetBundleImportJob.go.snap | 1 - .../snapshot/api_op_DescribeBrand.go.snap | 1 - .../api_op_DescribeBrandAssignment.go.snap | 1 - ...i_op_DescribeBrandPublishedVersion.go.snap | 1 - .../api_op_DescribeCustomPermissions.go.snap | 1 - .../snapshot/api_op_DescribeDashboard.go.snap | 1 - ...api_op_DescribeDashboardDefinition.go.snap | 1 - ...pi_op_DescribeDashboardPermissions.go.snap | 1 - ...pi_op_DescribeDashboardSnapshotJob.go.snap | 1 - ...DescribeDashboardSnapshotJobResult.go.snap | 1 - ..._DescribeDashboardsQAConfiguration.go.snap | 1 - .../snapshot/api_op_DescribeDataSet.go.snap | 1 - .../api_op_DescribeDataSetPermissions.go.snap | 1 - ...p_DescribeDataSetRefreshProperties.go.snap | 1 - .../api_op_DescribeDataSource.go.snap | 1 - ...i_op_DescribeDataSourcePermissions.go.snap | 1 - ...escribeDefaultQBusinessApplication.go.snap | 1 - .../snapshot/api_op_DescribeFolder.go.snap | 1 - .../api_op_DescribeFolderPermissions.go.snap | 1 - ..._DescribeFolderResolvedPermissions.go.snap | 1 - .../snapshot/api_op_DescribeGroup.go.snap | 1 - .../api_op_DescribeGroupMembership.go.snap | 1 - ...api_op_DescribeIAMPolicyAssignment.go.snap | 1 - .../snapshot/api_op_DescribeIngestion.go.snap | 1 - .../api_op_DescribeIpRestriction.go.snap | 1 - .../api_op_DescribeKeyRegistration.go.snap | 1 - .../snapshot/api_op_DescribeNamespace.go.snap | 1 - ...cribeQPersonalizationConfiguration.go.snap | 1 - ...ribeQuickSightQSearchConfiguration.go.snap | 1 - .../api_op_DescribeRefreshSchedule.go.snap | 1 - ...pi_op_DescribeRoleCustomPermission.go.snap | 1 - .../snapshot/api_op_DescribeTemplate.go.snap | 1 - .../api_op_DescribeTemplateAlias.go.snap | 1 - .../api_op_DescribeTemplateDefinition.go.snap | 1 - ...api_op_DescribeTemplatePermissions.go.snap | 1 - .../snapshot/api_op_DescribeTheme.go.snap | 1 - .../api_op_DescribeThemeAlias.go.snap | 1 - .../api_op_DescribeThemePermissions.go.snap | 1 - .../snapshot/api_op_DescribeTopic.go.snap | 1 - .../api_op_DescribeTopicPermissions.go.snap | 1 - .../api_op_DescribeTopicRefresh.go.snap | 1 - ...pi_op_DescribeTopicRefreshSchedule.go.snap | 1 - .../snapshot/api_op_DescribeUser.go.snap | 1 - .../api_op_DescribeVPCConnection.go.snap | 1 - ...p_GenerateEmbedUrlForAnonymousUser.go.snap | 1 - ..._GenerateEmbedUrlForRegisteredUser.go.snap | 1 - ...edUrlForRegisteredUserWithIdentity.go.snap | 1 - .../api_op_GetDashboardEmbedUrl.go.snap | 1 - .../api_op_GetSessionEmbedUrl.go.snap | 1 - .../snapshot/api_op_ListAnalyses.go.snap | 1 - .../api_op_ListAssetBundleExportJobs.go.snap | 1 - .../api_op_ListAssetBundleImportJobs.go.snap | 1 - .../snapshot/api_op_ListBrands.go.snap | 1 - .../api_op_ListCustomPermissions.go.snap | 1 - .../api_op_ListDashboardVersions.go.snap | 1 - .../snapshot/api_op_ListDashboards.go.snap | 1 - .../snapshot/api_op_ListDataSets.go.snap | 1 - .../snapshot/api_op_ListDataSources.go.snap | 1 - .../snapshot/api_op_ListFolderMembers.go.snap | 1 - .../snapshot/api_op_ListFolders.go.snap | 1 - .../api_op_ListFoldersForResource.go.snap | 1 - .../api_op_ListGroupMemberships.go.snap | 1 - .../snapshot/api_op_ListGroups.go.snap | 1 - .../api_op_ListIAMPolicyAssignments.go.snap | 1 - ...op_ListIAMPolicyAssignmentsForUser.go.snap | 1 - ..._op_ListIdentityPropagationConfigs.go.snap | 1 - .../snapshot/api_op_ListIngestions.go.snap | 1 - .../snapshot/api_op_ListNamespaces.go.snap | 1 - .../api_op_ListRefreshSchedules.go.snap | 1 - .../api_op_ListRoleMemberships.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListTemplateAliases.go.snap | 1 - .../api_op_ListTemplateVersions.go.snap | 1 - .../snapshot/api_op_ListTemplates.go.snap | 1 - .../snapshot/api_op_ListThemeAliases.go.snap | 1 - .../snapshot/api_op_ListThemeVersions.go.snap | 1 - .../snapshot/api_op_ListThemes.go.snap | 1 - .../api_op_ListTopicRefreshSchedules.go.snap | 1 - .../api_op_ListTopicReviewedAnswers.go.snap | 1 - .../snapshot/api_op_ListTopics.go.snap | 1 - .../snapshot/api_op_ListUserGroups.go.snap | 1 - .../snapshot/api_op_ListUsers.go.snap | 1 - .../api_op_ListVPCConnections.go.snap | 1 - .../snapshot/api_op_PredictQAResults.go.snap | 1 - ...api_op_PutDataSetRefreshProperties.go.snap | 1 - .../snapshot/api_op_RegisterUser.go.snap | 1 - .../snapshot/api_op_RestoreAnalysis.go.snap | 1 - .../snapshot/api_op_SearchAnalyses.go.snap | 1 - .../snapshot/api_op_SearchDashboards.go.snap | 1 - .../snapshot/api_op_SearchDataSets.go.snap | 1 - .../snapshot/api_op_SearchDataSources.go.snap | 1 - .../snapshot/api_op_SearchFolders.go.snap | 1 - .../snapshot/api_op_SearchGroups.go.snap | 1 - .../snapshot/api_op_SearchTopics.go.snap | 1 - .../api_op_StartAssetBundleExportJob.go.snap | 1 - .../api_op_StartAssetBundleImportJob.go.snap | 1 - .../api_op_StartDashboardSnapshotJob.go.snap | 1 - ..._StartDashboardSnapshotJobSchedule.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateAccountCustomization.go.snap | 1 - .../api_op_UpdateAccountSettings.go.snap | 1 - .../snapshot/api_op_UpdateAnalysis.go.snap | 1 - .../api_op_UpdateAnalysisPermissions.go.snap | 1 - ...eApplicationWithTokenExchangeGrant.go.snap | 1 - .../snapshot/api_op_UpdateBrand.go.snap | 1 - .../api_op_UpdateBrandAssignment.go.snap | 1 - ...api_op_UpdateBrandPublishedVersion.go.snap | 1 - .../api_op_UpdateCustomPermissions.go.snap | 1 - .../snapshot/api_op_UpdateDashboard.go.snap | 1 - .../api_op_UpdateDashboardLinks.go.snap | 1 - .../api_op_UpdateDashboardPermissions.go.snap | 1 - ...op_UpdateDashboardPublishedVersion.go.snap | 1 - ...op_UpdateDashboardsQAConfiguration.go.snap | 1 - .../snapshot/api_op_UpdateDataSet.go.snap | 1 - .../api_op_UpdateDataSetPermissions.go.snap | 1 - .../snapshot/api_op_UpdateDataSource.go.snap | 1 - ...api_op_UpdateDataSourcePermissions.go.snap | 1 - ..._UpdateDefaultQBusinessApplication.go.snap | 1 - .../snapshot/api_op_UpdateFolder.go.snap | 1 - .../api_op_UpdateFolderPermissions.go.snap | 1 - .../snapshot/api_op_UpdateGroup.go.snap | 1 - .../api_op_UpdateIAMPolicyAssignment.go.snap | 1 - ...op_UpdateIdentityPropagationConfig.go.snap | 1 - .../api_op_UpdateIpRestriction.go.snap | 1 - .../api_op_UpdateKeyRegistration.go.snap | 1 - ...api_op_UpdatePublicSharingSettings.go.snap | 1 - ...pdateQPersonalizationConfiguration.go.snap | 1 - ...dateQuickSightQSearchConfiguration.go.snap | 1 - .../api_op_UpdateRefreshSchedule.go.snap | 1 - .../api_op_UpdateRoleCustomPermission.go.snap | 1 - ...p_UpdateSPICECapacityConfiguration.go.snap | 1 - .../snapshot/api_op_UpdateTemplate.go.snap | 1 - .../api_op_UpdateTemplateAlias.go.snap | 1 - .../api_op_UpdateTemplatePermissions.go.snap | 1 - .../snapshot/api_op_UpdateTheme.go.snap | 1 - .../snapshot/api_op_UpdateThemeAlias.go.snap | 1 - .../api_op_UpdateThemePermissions.go.snap | 1 - .../snapshot/api_op_UpdateTopic.go.snap | 1 - .../api_op_UpdateTopicPermissions.go.snap | 1 - .../api_op_UpdateTopicRefreshSchedule.go.snap | 1 - .../snapshot/api_op_UpdateUser.go.snap | 1 - .../api_op_UpdateUserCustomPermission.go.snap | 1 - .../api_op_UpdateVPCConnection.go.snap | 1 - service/ram/api_client.go | 31 -- .../api_op_AcceptResourceShareInvitation.go | 3 - service/ram/api_op_AssociateResourceShare.go | 3 - ...api_op_AssociateResourceSharePermission.go | 3 - service/ram/api_op_CreatePermission.go | 3 - service/ram/api_op_CreatePermissionVersion.go | 3 - service/ram/api_op_CreateResourceShare.go | 3 - service/ram/api_op_DeletePermission.go | 3 - service/ram/api_op_DeletePermissionVersion.go | 3 - service/ram/api_op_DeleteResourceShare.go | 3 - .../ram/api_op_DisassociateResourceShare.go | 3 - ..._op_DisassociateResourceSharePermission.go | 3 - ...api_op_EnableSharingWithAwsOrganization.go | 3 - service/ram/api_op_GetPermission.go | 3 - service/ram/api_op_GetResourcePolicies.go | 3 - .../api_op_GetResourceShareAssociations.go | 3 - .../ram/api_op_GetResourceShareInvitations.go | 3 - service/ram/api_op_GetResourceShares.go | 3 - .../api_op_ListPendingInvitationResources.go | 3 - .../ram/api_op_ListPermissionAssociations.go | 3 - service/ram/api_op_ListPermissionVersions.go | 3 - service/ram/api_op_ListPermissions.go | 3 - service/ram/api_op_ListPrincipals.go | 3 - ...p_ListReplacePermissionAssociationsWork.go | 3 - .../api_op_ListResourceSharePermissions.go | 3 - service/ram/api_op_ListResourceTypes.go | 3 - service/ram/api_op_ListResources.go | 3 - ...i_op_PromotePermissionCreatedFromPolicy.go | 3 - ...p_PromoteResourceShareCreatedFromPolicy.go | 3 - .../api_op_RejectResourceShareInvitation.go | 3 - .../api_op_ReplacePermissionAssociations.go | 3 - .../ram/api_op_SetDefaultPermissionVersion.go | 3 - service/ram/api_op_TagResource.go | 3 - service/ram/api_op_UntagResource.go | 3 - service/ram/api_op_UpdateResourceShare.go | 3 - ...i_op_AcceptResourceShareInvitation.go.snap | 1 - .../api_op_AssociateResourceShare.go.snap | 1 - ...p_AssociateResourceSharePermission.go.snap | 1 - .../snapshot/api_op_CreatePermission.go.snap | 1 - .../api_op_CreatePermissionVersion.go.snap | 1 - .../api_op_CreateResourceShare.go.snap | 1 - .../snapshot/api_op_DeletePermission.go.snap | 1 - .../api_op_DeletePermissionVersion.go.snap | 1 - .../api_op_DeleteResourceShare.go.snap | 1 - .../api_op_DisassociateResourceShare.go.snap | 1 - ...isassociateResourceSharePermission.go.snap | 1 - ...p_EnableSharingWithAwsOrganization.go.snap | 1 - .../ram/snapshot/api_op_GetPermission.go.snap | 1 - .../api_op_GetResourcePolicies.go.snap | 1 - ...pi_op_GetResourceShareAssociations.go.snap | 1 - ...api_op_GetResourceShareInvitations.go.snap | 1 - .../snapshot/api_op_GetResourceShares.go.snap | 1 - ..._op_ListPendingInvitationResources.go.snap | 1 - .../api_op_ListPermissionAssociations.go.snap | 1 - .../api_op_ListPermissionVersions.go.snap | 1 - .../snapshot/api_op_ListPermissions.go.snap | 1 - .../snapshot/api_op_ListPrincipals.go.snap | 1 - ...tReplacePermissionAssociationsWork.go.snap | 1 - ...pi_op_ListResourceSharePermissions.go.snap | 1 - .../snapshot/api_op_ListResourceTypes.go.snap | 1 - .../ram/snapshot/api_op_ListResources.go.snap | 1 - ...PromotePermissionCreatedFromPolicy.go.snap | 1 - ...moteResourceShareCreatedFromPolicy.go.snap | 1 - ...i_op_RejectResourceShareInvitation.go.snap | 1 - ...i_op_ReplacePermissionAssociations.go.snap | 1 - ...api_op_SetDefaultPermissionVersion.go.snap | 1 - .../ram/snapshot/api_op_TagResource.go.snap | 1 - .../ram/snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateResourceShare.go.snap | 1 - service/rbin/api_client.go | 31 -- service/rbin/api_op_CreateRule.go | 3 - service/rbin/api_op_DeleteRule.go | 3 - service/rbin/api_op_GetRule.go | 3 - service/rbin/api_op_ListRules.go | 3 - service/rbin/api_op_ListTagsForResource.go | 3 - service/rbin/api_op_LockRule.go | 3 - service/rbin/api_op_TagResource.go | 3 - service/rbin/api_op_UnlockRule.go | 3 - service/rbin/api_op_UntagResource.go | 3 - service/rbin/api_op_UpdateRule.go | 3 - .../rbin/snapshot/api_op_CreateRule.go.snap | 1 - .../rbin/snapshot/api_op_DeleteRule.go.snap | 1 - service/rbin/snapshot/api_op_GetRule.go.snap | 1 - .../rbin/snapshot/api_op_ListRules.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - service/rbin/snapshot/api_op_LockRule.go.snap | 1 - .../rbin/snapshot/api_op_TagResource.go.snap | 1 - .../rbin/snapshot/api_op_UnlockRule.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../rbin/snapshot/api_op_UpdateRule.go.snap | 1 - service/rds/api_client.go | 31 -- service/rds/api_op_AddRoleToDBCluster.go | 3 - service/rds/api_op_AddRoleToDBInstance.go | 3 - ...pi_op_AddSourceIdentifierToSubscription.go | 3 - service/rds/api_op_AddTagsToResource.go | 3 - .../api_op_ApplyPendingMaintenanceAction.go | 3 - .../api_op_AuthorizeDBSecurityGroupIngress.go | 3 - service/rds/api_op_BacktrackDBCluster.go | 3 - service/rds/api_op_CancelExportTask.go | 3 - .../rds/api_op_CopyDBClusterParameterGroup.go | 3 - service/rds/api_op_CopyDBClusterSnapshot.go | 3 - service/rds/api_op_CopyDBParameterGroup.go | 3 - service/rds/api_op_CopyDBSnapshot.go | 3 - service/rds/api_op_CopyOptionGroup.go | 3 - .../rds/api_op_CreateBlueGreenDeployment.go | 3 - .../rds/api_op_CreateCustomDBEngineVersion.go | 3 - service/rds/api_op_CreateDBCluster.go | 3 - service/rds/api_op_CreateDBClusterEndpoint.go | 3 - .../api_op_CreateDBClusterParameterGroup.go | 3 - service/rds/api_op_CreateDBClusterSnapshot.go | 3 - service/rds/api_op_CreateDBInstance.go | 3 - .../rds/api_op_CreateDBInstanceReadReplica.go | 3 - service/rds/api_op_CreateDBParameterGroup.go | 3 - service/rds/api_op_CreateDBProxy.go | 3 - service/rds/api_op_CreateDBProxyEndpoint.go | 3 - service/rds/api_op_CreateDBSecurityGroup.go | 3 - service/rds/api_op_CreateDBShardGroup.go | 3 - service/rds/api_op_CreateDBSnapshot.go | 3 - service/rds/api_op_CreateDBSubnetGroup.go | 3 - service/rds/api_op_CreateEventSubscription.go | 3 - service/rds/api_op_CreateGlobalCluster.go | 3 - service/rds/api_op_CreateIntegration.go | 3 - service/rds/api_op_CreateOptionGroup.go | 3 - service/rds/api_op_CreateTenantDatabase.go | 3 - .../rds/api_op_DeleteBlueGreenDeployment.go | 3 - .../rds/api_op_DeleteCustomDBEngineVersion.go | 3 - service/rds/api_op_DeleteDBCluster.go | 3 - .../api_op_DeleteDBClusterAutomatedBackup.go | 3 - service/rds/api_op_DeleteDBClusterEndpoint.go | 3 - .../api_op_DeleteDBClusterParameterGroup.go | 3 - service/rds/api_op_DeleteDBClusterSnapshot.go | 3 - service/rds/api_op_DeleteDBInstance.go | 3 - .../api_op_DeleteDBInstanceAutomatedBackup.go | 3 - service/rds/api_op_DeleteDBParameterGroup.go | 3 - service/rds/api_op_DeleteDBProxy.go | 3 - service/rds/api_op_DeleteDBProxyEndpoint.go | 3 - service/rds/api_op_DeleteDBSecurityGroup.go | 3 - service/rds/api_op_DeleteDBShardGroup.go | 3 - service/rds/api_op_DeleteDBSnapshot.go | 3 - service/rds/api_op_DeleteDBSubnetGroup.go | 3 - service/rds/api_op_DeleteEventSubscription.go | 3 - service/rds/api_op_DeleteGlobalCluster.go | 3 - service/rds/api_op_DeleteIntegration.go | 3 - service/rds/api_op_DeleteOptionGroup.go | 3 - service/rds/api_op_DeleteTenantDatabase.go | 3 - .../rds/api_op_DeregisterDBProxyTargets.go | 3 - .../rds/api_op_DescribeAccountAttributes.go | 3 - .../api_op_DescribeBlueGreenDeployments.go | 3 - service/rds/api_op_DescribeCertificates.go | 3 - ...pi_op_DescribeDBClusterAutomatedBackups.go | 3 - .../rds/api_op_DescribeDBClusterBacktracks.go | 3 - .../rds/api_op_DescribeDBClusterEndpoints.go | 3 - ...api_op_DescribeDBClusterParameterGroups.go | 3 - .../rds/api_op_DescribeDBClusterParameters.go | 3 - ..._op_DescribeDBClusterSnapshotAttributes.go | 3 - .../rds/api_op_DescribeDBClusterSnapshots.go | 3 - service/rds/api_op_DescribeDBClusters.go | 3 - .../rds/api_op_DescribeDBEngineVersions.go | 3 - ...i_op_DescribeDBInstanceAutomatedBackups.go | 3 - service/rds/api_op_DescribeDBInstances.go | 3 - service/rds/api_op_DescribeDBLogFiles.go | 3 - .../rds/api_op_DescribeDBParameterGroups.go | 3 - service/rds/api_op_DescribeDBParameters.go | 3 - service/rds/api_op_DescribeDBProxies.go | 3 - .../rds/api_op_DescribeDBProxyEndpoints.go | 3 - .../rds/api_op_DescribeDBProxyTargetGroups.go | 3 - service/rds/api_op_DescribeDBProxyTargets.go | 3 - .../rds/api_op_DescribeDBRecommendations.go | 3 - .../rds/api_op_DescribeDBSecurityGroups.go | 3 - service/rds/api_op_DescribeDBShardGroups.go | 3 - .../api_op_DescribeDBSnapshotAttributes.go | 3 - ...pi_op_DescribeDBSnapshotTenantDatabases.go | 3 - service/rds/api_op_DescribeDBSnapshots.go | 3 - service/rds/api_op_DescribeDBSubnetGroups.go | 3 - ..._DescribeEngineDefaultClusterParameters.go | 3 - .../api_op_DescribeEngineDefaultParameters.go | 3 - service/rds/api_op_DescribeEventCategories.go | 3 - .../rds/api_op_DescribeEventSubscriptions.go | 3 - service/rds/api_op_DescribeEvents.go | 3 - service/rds/api_op_DescribeExportTasks.go | 3 - service/rds/api_op_DescribeGlobalClusters.go | 3 - service/rds/api_op_DescribeIntegrations.go | 3 - .../rds/api_op_DescribeOptionGroupOptions.go | 3 - service/rds/api_op_DescribeOptionGroups.go | 3 - ...i_op_DescribeOrderableDBInstanceOptions.go | 3 - ...pi_op_DescribePendingMaintenanceActions.go | 3 - .../rds/api_op_DescribeReservedDBInstances.go | 3 - ...op_DescribeReservedDBInstancesOfferings.go | 3 - service/rds/api_op_DescribeSourceRegions.go | 3 - service/rds/api_op_DescribeTenantDatabases.go | 3 - ...op_DescribeValidDBInstanceModifications.go | 3 - service/rds/api_op_DisableHttpEndpoint.go | 3 - .../rds/api_op_DownloadDBLogFilePortion.go | 3 - service/rds/api_op_EnableHttpEndpoint.go | 3 - service/rds/api_op_FailoverDBCluster.go | 3 - service/rds/api_op_FailoverGlobalCluster.go | 3 - service/rds/api_op_ListTagsForResource.go | 3 - service/rds/api_op_ModifyActivityStream.go | 3 - service/rds/api_op_ModifyCertificates.go | 3 - .../api_op_ModifyCurrentDBClusterCapacity.go | 3 - .../rds/api_op_ModifyCustomDBEngineVersion.go | 3 - service/rds/api_op_ModifyDBCluster.go | 3 - service/rds/api_op_ModifyDBClusterEndpoint.go | 3 - .../api_op_ModifyDBClusterParameterGroup.go | 3 - ...api_op_ModifyDBClusterSnapshotAttribute.go | 3 - service/rds/api_op_ModifyDBInstance.go | 3 - service/rds/api_op_ModifyDBParameterGroup.go | 3 - service/rds/api_op_ModifyDBProxy.go | 3 - service/rds/api_op_ModifyDBProxyEndpoint.go | 3 - .../rds/api_op_ModifyDBProxyTargetGroup.go | 3 - service/rds/api_op_ModifyDBRecommendation.go | 3 - service/rds/api_op_ModifyDBShardGroup.go | 3 - service/rds/api_op_ModifyDBSnapshot.go | 3 - .../rds/api_op_ModifyDBSnapshotAttribute.go | 3 - service/rds/api_op_ModifyDBSubnetGroup.go | 3 - service/rds/api_op_ModifyEventSubscription.go | 3 - service/rds/api_op_ModifyGlobalCluster.go | 3 - service/rds/api_op_ModifyIntegration.go | 3 - service/rds/api_op_ModifyOptionGroup.go | 3 - service/rds/api_op_ModifyTenantDatabase.go | 3 - service/rds/api_op_PromoteReadReplica.go | 3 - .../rds/api_op_PromoteReadReplicaDBCluster.go | 3 - ..._op_PurchaseReservedDBInstancesOffering.go | 3 - service/rds/api_op_RebootDBCluster.go | 3 - service/rds/api_op_RebootDBInstance.go | 3 - service/rds/api_op_RebootDBShardGroup.go | 3 - service/rds/api_op_RegisterDBProxyTargets.go | 3 - service/rds/api_op_RemoveFromGlobalCluster.go | 3 - service/rds/api_op_RemoveRoleFromDBCluster.go | 3 - .../rds/api_op_RemoveRoleFromDBInstance.go | 3 - ..._RemoveSourceIdentifierFromSubscription.go | 3 - service/rds/api_op_RemoveTagsFromResource.go | 3 - .../api_op_ResetDBClusterParameterGroup.go | 3 - service/rds/api_op_ResetDBParameterGroup.go | 3 - service/rds/api_op_RestoreDBClusterFromS3.go | 3 - .../api_op_RestoreDBClusterFromSnapshot.go | 3 - .../api_op_RestoreDBClusterToPointInTime.go | 3 - .../api_op_RestoreDBInstanceFromDBSnapshot.go | 3 - service/rds/api_op_RestoreDBInstanceFromS3.go | 3 - .../api_op_RestoreDBInstanceToPointInTime.go | 3 - .../api_op_RevokeDBSecurityGroupIngress.go | 3 - service/rds/api_op_StartActivityStream.go | 3 - service/rds/api_op_StartDBCluster.go | 3 - service/rds/api_op_StartDBInstance.go | 3 - ...rtDBInstanceAutomatedBackupsReplication.go | 3 - service/rds/api_op_StartExportTask.go | 3 - service/rds/api_op_StopActivityStream.go | 3 - service/rds/api_op_StopDBCluster.go | 3 - service/rds/api_op_StopDBInstance.go | 3 - ...opDBInstanceAutomatedBackupsReplication.go | 3 - .../api_op_SwitchoverBlueGreenDeployment.go | 3 - service/rds/api_op_SwitchoverGlobalCluster.go | 3 - service/rds/api_op_SwitchoverReadReplica.go | 3 - .../api_op_AddRoleToDBCluster.go.snap | 1 - .../api_op_AddRoleToDBInstance.go.snap | 1 - ..._AddSourceIdentifierToSubscription.go.snap | 1 - .../snapshot/api_op_AddTagsToResource.go.snap | 1 - ...i_op_ApplyPendingMaintenanceAction.go.snap | 1 - ...op_AuthorizeDBSecurityGroupIngress.go.snap | 1 - .../api_op_BacktrackDBCluster.go.snap | 1 - .../snapshot/api_op_CancelExportTask.go.snap | 1 - ...api_op_CopyDBClusterParameterGroup.go.snap | 1 - .../api_op_CopyDBClusterSnapshot.go.snap | 1 - .../api_op_CopyDBParameterGroup.go.snap | 1 - .../snapshot/api_op_CopyDBSnapshot.go.snap | 1 - .../snapshot/api_op_CopyOptionGroup.go.snap | 1 - .../api_op_CreateBlueGreenDeployment.go.snap | 1 - ...api_op_CreateCustomDBEngineVersion.go.snap | 1 - .../snapshot/api_op_CreateDBCluster.go.snap | 1 - .../api_op_CreateDBClusterEndpoint.go.snap | 1 - ...i_op_CreateDBClusterParameterGroup.go.snap | 1 - .../api_op_CreateDBClusterSnapshot.go.snap | 1 - .../snapshot/api_op_CreateDBInstance.go.snap | 1 - ...api_op_CreateDBInstanceReadReplica.go.snap | 1 - .../api_op_CreateDBParameterGroup.go.snap | 1 - .../rds/snapshot/api_op_CreateDBProxy.go.snap | 1 - .../api_op_CreateDBProxyEndpoint.go.snap | 1 - .../api_op_CreateDBSecurityGroup.go.snap | 1 - .../api_op_CreateDBShardGroup.go.snap | 1 - .../snapshot/api_op_CreateDBSnapshot.go.snap | 1 - .../api_op_CreateDBSubnetGroup.go.snap | 1 - .../api_op_CreateEventSubscription.go.snap | 1 - .../api_op_CreateGlobalCluster.go.snap | 1 - .../snapshot/api_op_CreateIntegration.go.snap | 1 - .../snapshot/api_op_CreateOptionGroup.go.snap | 1 - .../api_op_CreateTenantDatabase.go.snap | 1 - .../api_op_DeleteBlueGreenDeployment.go.snap | 1 - ...api_op_DeleteCustomDBEngineVersion.go.snap | 1 - .../snapshot/api_op_DeleteDBCluster.go.snap | 1 - ..._op_DeleteDBClusterAutomatedBackup.go.snap | 1 - .../api_op_DeleteDBClusterEndpoint.go.snap | 1 - ...i_op_DeleteDBClusterParameterGroup.go.snap | 1 - .../api_op_DeleteDBClusterSnapshot.go.snap | 1 - .../snapshot/api_op_DeleteDBInstance.go.snap | 1 - ...op_DeleteDBInstanceAutomatedBackup.go.snap | 1 - .../api_op_DeleteDBParameterGroup.go.snap | 1 - .../rds/snapshot/api_op_DeleteDBProxy.go.snap | 1 - .../api_op_DeleteDBProxyEndpoint.go.snap | 1 - .../api_op_DeleteDBSecurityGroup.go.snap | 1 - .../api_op_DeleteDBShardGroup.go.snap | 1 - .../snapshot/api_op_DeleteDBSnapshot.go.snap | 1 - .../api_op_DeleteDBSubnetGroup.go.snap | 1 - .../api_op_DeleteEventSubscription.go.snap | 1 - .../api_op_DeleteGlobalCluster.go.snap | 1 - .../snapshot/api_op_DeleteIntegration.go.snap | 1 - .../snapshot/api_op_DeleteOptionGroup.go.snap | 1 - .../api_op_DeleteTenantDatabase.go.snap | 1 - .../api_op_DeregisterDBProxyTargets.go.snap | 1 - .../api_op_DescribeAccountAttributes.go.snap | 1 - ...pi_op_DescribeBlueGreenDeployments.go.snap | 1 - .../api_op_DescribeCertificates.go.snap | 1 - ..._DescribeDBClusterAutomatedBackups.go.snap | 1 - ...api_op_DescribeDBClusterBacktracks.go.snap | 1 - .../api_op_DescribeDBClusterEndpoints.go.snap | 1 - ...p_DescribeDBClusterParameterGroups.go.snap | 1 - ...api_op_DescribeDBClusterParameters.go.snap | 1 - ...escribeDBClusterSnapshotAttributes.go.snap | 1 - .../api_op_DescribeDBClusterSnapshots.go.snap | 1 - .../api_op_DescribeDBClusters.go.snap | 1 - .../api_op_DescribeDBEngineVersions.go.snap | 1 - ...DescribeDBInstanceAutomatedBackups.go.snap | 1 - .../api_op_DescribeDBInstances.go.snap | 1 - .../api_op_DescribeDBLogFiles.go.snap | 1 - .../api_op_DescribeDBParameterGroups.go.snap | 1 - .../api_op_DescribeDBParameters.go.snap | 1 - .../snapshot/api_op_DescribeDBProxies.go.snap | 1 - .../api_op_DescribeDBProxyEndpoints.go.snap | 1 - ...api_op_DescribeDBProxyTargetGroups.go.snap | 1 - .../api_op_DescribeDBProxyTargets.go.snap | 1 - .../api_op_DescribeDBRecommendations.go.snap | 1 - .../api_op_DescribeDBSecurityGroups.go.snap | 1 - .../api_op_DescribeDBShardGroups.go.snap | 1 - ...pi_op_DescribeDBSnapshotAttributes.go.snap | 1 - ..._DescribeDBSnapshotTenantDatabases.go.snap | 1 - .../api_op_DescribeDBSnapshots.go.snap | 1 - .../api_op_DescribeDBSubnetGroups.go.snap | 1 - ...ribeEngineDefaultClusterParameters.go.snap | 1 - ...op_DescribeEngineDefaultParameters.go.snap | 1 - .../api_op_DescribeEventCategories.go.snap | 1 - .../api_op_DescribeEventSubscriptions.go.snap | 1 - .../snapshot/api_op_DescribeEvents.go.snap | 1 - .../api_op_DescribeExportTasks.go.snap | 1 - .../api_op_DescribeGlobalClusters.go.snap | 1 - .../api_op_DescribeIntegrations.go.snap | 1 - .../api_op_DescribeOptionGroupOptions.go.snap | 1 - .../api_op_DescribeOptionGroups.go.snap | 1 - ...DescribeOrderableDBInstanceOptions.go.snap | 1 - ..._DescribePendingMaintenanceActions.go.snap | 1 - ...api_op_DescribeReservedDBInstances.go.snap | 1 - ...scribeReservedDBInstancesOfferings.go.snap | 1 - .../api_op_DescribeSourceRegions.go.snap | 1 - .../api_op_DescribeTenantDatabases.go.snap | 1 - ...scribeValidDBInstanceModifications.go.snap | 1 - .../api_op_DisableHttpEndpoint.go.snap | 1 - .../api_op_DownloadDBLogFilePortion.go.snap | 1 - .../api_op_EnableHttpEndpoint.go.snap | 1 - .../snapshot/api_op_FailoverDBCluster.go.snap | 1 - .../api_op_FailoverGlobalCluster.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ModifyActivityStream.go.snap | 1 - .../api_op_ModifyCertificates.go.snap | 1 - ..._op_ModifyCurrentDBClusterCapacity.go.snap | 1 - ...api_op_ModifyCustomDBEngineVersion.go.snap | 1 - .../snapshot/api_op_ModifyDBCluster.go.snap | 1 - .../api_op_ModifyDBClusterEndpoint.go.snap | 1 - ...i_op_ModifyDBClusterParameterGroup.go.snap | 1 - ...p_ModifyDBClusterSnapshotAttribute.go.snap | 1 - .../snapshot/api_op_ModifyDBInstance.go.snap | 1 - .../api_op_ModifyDBParameterGroup.go.snap | 1 - .../rds/snapshot/api_op_ModifyDBProxy.go.snap | 1 - .../api_op_ModifyDBProxyEndpoint.go.snap | 1 - .../api_op_ModifyDBProxyTargetGroup.go.snap | 1 - .../api_op_ModifyDBRecommendation.go.snap | 1 - .../api_op_ModifyDBShardGroup.go.snap | 1 - .../snapshot/api_op_ModifyDBSnapshot.go.snap | 1 - .../api_op_ModifyDBSnapshotAttribute.go.snap | 1 - .../api_op_ModifyDBSubnetGroup.go.snap | 1 - .../api_op_ModifyEventSubscription.go.snap | 1 - .../api_op_ModifyGlobalCluster.go.snap | 1 - .../snapshot/api_op_ModifyIntegration.go.snap | 1 - .../snapshot/api_op_ModifyOptionGroup.go.snap | 1 - .../api_op_ModifyTenantDatabase.go.snap | 1 - .../api_op_PromoteReadReplica.go.snap | 1 - ...api_op_PromoteReadReplicaDBCluster.go.snap | 1 - ...urchaseReservedDBInstancesOffering.go.snap | 1 - .../snapshot/api_op_RebootDBCluster.go.snap | 1 - .../snapshot/api_op_RebootDBInstance.go.snap | 1 - .../api_op_RebootDBShardGroup.go.snap | 1 - .../api_op_RegisterDBProxyTargets.go.snap | 1 - .../api_op_RemoveFromGlobalCluster.go.snap | 1 - .../api_op_RemoveRoleFromDBCluster.go.snap | 1 - .../api_op_RemoveRoleFromDBInstance.go.snap | 1 - ...veSourceIdentifierFromSubscription.go.snap | 1 - .../api_op_RemoveTagsFromResource.go.snap | 1 - ...pi_op_ResetDBClusterParameterGroup.go.snap | 1 - .../api_op_ResetDBParameterGroup.go.snap | 1 - .../api_op_RestoreDBClusterFromS3.go.snap | 1 - ...pi_op_RestoreDBClusterFromSnapshot.go.snap | 1 - ...i_op_RestoreDBClusterToPointInTime.go.snap | 1 - ...op_RestoreDBInstanceFromDBSnapshot.go.snap | 1 - .../api_op_RestoreDBInstanceFromS3.go.snap | 1 - ..._op_RestoreDBInstanceToPointInTime.go.snap | 1 - ...pi_op_RevokeDBSecurityGroupIngress.go.snap | 1 - .../api_op_StartActivityStream.go.snap | 1 - .../snapshot/api_op_StartDBCluster.go.snap | 1 - .../snapshot/api_op_StartDBInstance.go.snap | 1 - ...nstanceAutomatedBackupsReplication.go.snap | 1 - .../snapshot/api_op_StartExportTask.go.snap | 1 - .../api_op_StopActivityStream.go.snap | 1 - .../rds/snapshot/api_op_StopDBCluster.go.snap | 1 - .../snapshot/api_op_StopDBInstance.go.snap | 1 - ...nstanceAutomatedBackupsReplication.go.snap | 1 - ...i_op_SwitchoverBlueGreenDeployment.go.snap | 1 - .../api_op_SwitchoverGlobalCluster.go.snap | 1 - .../api_op_SwitchoverReadReplica.go.snap | 1 - service/rdsdata/api_client.go | 31 -- .../rdsdata/api_op_BatchExecuteStatement.go | 3 - service/rdsdata/api_op_BeginTransaction.go | 3 - service/rdsdata/api_op_CommitTransaction.go | 3 - service/rdsdata/api_op_ExecuteSql.go | 3 - service/rdsdata/api_op_ExecuteStatement.go | 3 - service/rdsdata/api_op_RollbackTransaction.go | 3 - .../api_op_BatchExecuteStatement.go.snap | 1 - .../snapshot/api_op_BeginTransaction.go.snap | 1 - .../snapshot/api_op_CommitTransaction.go.snap | 1 - .../snapshot/api_op_ExecuteSql.go.snap | 1 - .../snapshot/api_op_ExecuteStatement.go.snap | 1 - .../api_op_RollbackTransaction.go.snap | 1 - service/redshift/api_client.go | 31 -- .../api_op_AcceptReservedNodeExchange.go | 3 - service/redshift/api_op_AddPartner.go | 3 - .../api_op_AssociateDataShareConsumer.go | 3 - ...op_AuthorizeClusterSecurityGroupIngress.go | 3 - service/redshift/api_op_AuthorizeDataShare.go | 3 - .../api_op_AuthorizeEndpointAccess.go | 3 - .../api_op_AuthorizeSnapshotAccess.go | 3 - .../api_op_BatchDeleteClusterSnapshots.go | 3 - .../api_op_BatchModifyClusterSnapshots.go | 3 - service/redshift/api_op_CancelResize.go | 3 - .../redshift/api_op_CopyClusterSnapshot.go | 3 - .../api_op_CreateAuthenticationProfile.go | 3 - service/redshift/api_op_CreateCluster.go | 3 - .../api_op_CreateClusterParameterGroup.go | 3 - .../api_op_CreateClusterSecurityGroup.go | 3 - .../redshift/api_op_CreateClusterSnapshot.go | 3 - .../api_op_CreateClusterSubnetGroup.go | 3 - .../api_op_CreateCustomDomainAssociation.go | 3 - .../redshift/api_op_CreateEndpointAccess.go | 3 - .../api_op_CreateEventSubscription.go | 3 - .../api_op_CreateHsmClientCertificate.go | 3 - .../redshift/api_op_CreateHsmConfiguration.go | 3 - service/redshift/api_op_CreateIntegration.go | 3 - .../api_op_CreateRedshiftIdcApplication.go | 3 - .../redshift/api_op_CreateScheduledAction.go | 3 - .../api_op_CreateSnapshotCopyGrant.go | 3 - .../redshift/api_op_CreateSnapshotSchedule.go | 3 - service/redshift/api_op_CreateTags.go | 3 - service/redshift/api_op_CreateUsageLimit.go | 3 - .../redshift/api_op_DeauthorizeDataShare.go | 3 - .../api_op_DeleteAuthenticationProfile.go | 3 - service/redshift/api_op_DeleteCluster.go | 3 - .../api_op_DeleteClusterParameterGroup.go | 3 - .../api_op_DeleteClusterSecurityGroup.go | 3 - .../redshift/api_op_DeleteClusterSnapshot.go | 3 - .../api_op_DeleteClusterSubnetGroup.go | 3 - .../api_op_DeleteCustomDomainAssociation.go | 3 - .../redshift/api_op_DeleteEndpointAccess.go | 3 - .../api_op_DeleteEventSubscription.go | 3 - .../api_op_DeleteHsmClientCertificate.go | 3 - .../redshift/api_op_DeleteHsmConfiguration.go | 3 - service/redshift/api_op_DeleteIntegration.go | 3 - service/redshift/api_op_DeletePartner.go | 3 - .../api_op_DeleteRedshiftIdcApplication.go | 3 - .../redshift/api_op_DeleteResourcePolicy.go | 3 - .../redshift/api_op_DeleteScheduledAction.go | 3 - .../api_op_DeleteSnapshotCopyGrant.go | 3 - .../redshift/api_op_DeleteSnapshotSchedule.go | 3 - service/redshift/api_op_DeleteTags.go | 3 - service/redshift/api_op_DeleteUsageLimit.go | 3 - .../redshift/api_op_DeregisterNamespace.go | 3 - .../api_op_DescribeAccountAttributes.go | 3 - .../api_op_DescribeAuthenticationProfiles.go | 3 - .../api_op_DescribeClusterDbRevisions.go | 3 - .../api_op_DescribeClusterParameterGroups.go | 3 - .../api_op_DescribeClusterParameters.go | 3 - .../api_op_DescribeClusterSecurityGroups.go | 3 - .../api_op_DescribeClusterSnapshots.go | 3 - .../api_op_DescribeClusterSubnetGroups.go | 3 - .../redshift/api_op_DescribeClusterTracks.go | 3 - .../api_op_DescribeClusterVersions.go | 3 - service/redshift/api_op_DescribeClusters.go | 3 - ...api_op_DescribeCustomDomainAssociations.go | 3 - service/redshift/api_op_DescribeDataShares.go | 3 - .../api_op_DescribeDataSharesForConsumer.go | 3 - .../api_op_DescribeDataSharesForProducer.go | 3 - ...api_op_DescribeDefaultClusterParameters.go | 3 - .../redshift/api_op_DescribeEndpointAccess.go | 3 - .../api_op_DescribeEndpointAuthorization.go | 3 - .../api_op_DescribeEventCategories.go | 3 - .../api_op_DescribeEventSubscriptions.go | 3 - service/redshift/api_op_DescribeEvents.go | 3 - .../api_op_DescribeHsmClientCertificates.go | 3 - .../api_op_DescribeHsmConfigurations.go | 3 - .../api_op_DescribeInboundIntegrations.go | 3 - .../redshift/api_op_DescribeIntegrations.go | 3 - .../redshift/api_op_DescribeLoggingStatus.go | 3 - ...api_op_DescribeNodeConfigurationOptions.go | 3 - .../api_op_DescribeOrderableClusterOptions.go | 3 - service/redshift/api_op_DescribePartners.go | 3 - .../api_op_DescribeRedshiftIdcApplications.go | 3 - ...i_op_DescribeReservedNodeExchangeStatus.go | 3 - .../api_op_DescribeReservedNodeOfferings.go | 3 - .../redshift/api_op_DescribeReservedNodes.go | 3 - service/redshift/api_op_DescribeResize.go | 3 - .../api_op_DescribeScheduledActions.go | 3 - .../api_op_DescribeSnapshotCopyGrants.go | 3 - .../api_op_DescribeSnapshotSchedules.go | 3 - service/redshift/api_op_DescribeStorage.go | 3 - .../api_op_DescribeTableRestoreStatus.go | 3 - service/redshift/api_op_DescribeTags.go | 3 - .../redshift/api_op_DescribeUsageLimits.go | 3 - service/redshift/api_op_DisableLogging.go | 3 - .../redshift/api_op_DisableSnapshotCopy.go | 3 - .../api_op_DisassociateDataShareConsumer.go | 3 - service/redshift/api_op_EnableLogging.go | 3 - service/redshift/api_op_EnableSnapshotCopy.go | 3 - .../redshift/api_op_FailoverPrimaryCompute.go | 3 - .../redshift/api_op_GetClusterCredentials.go | 3 - .../api_op_GetClusterCredentialsWithIAM.go | 3 - ...eservedNodeExchangeConfigurationOptions.go | 3 - ...api_op_GetReservedNodeExchangeOfferings.go | 3 - service/redshift/api_op_GetResourcePolicy.go | 3 - .../redshift/api_op_ListRecommendations.go | 3 - .../api_op_ModifyAquaConfiguration.go | 3 - .../api_op_ModifyAuthenticationProfile.go | 3 - service/redshift/api_op_ModifyCluster.go | 3 - .../api_op_ModifyClusterDbRevision.go | 3 - .../redshift/api_op_ModifyClusterIamRoles.go | 3 - .../api_op_ModifyClusterMaintenance.go | 3 - .../api_op_ModifyClusterParameterGroup.go | 3 - .../redshift/api_op_ModifyClusterSnapshot.go | 3 - .../api_op_ModifyClusterSnapshotSchedule.go | 3 - .../api_op_ModifyClusterSubnetGroup.go | 3 - .../api_op_ModifyCustomDomainAssociation.go | 3 - .../redshift/api_op_ModifyEndpointAccess.go | 3 - .../api_op_ModifyEventSubscription.go | 3 - service/redshift/api_op_ModifyIntegration.go | 3 - .../api_op_ModifyRedshiftIdcApplication.go | 3 - .../redshift/api_op_ModifyScheduledAction.go | 3 - ...pi_op_ModifySnapshotCopyRetentionPeriod.go | 3 - .../redshift/api_op_ModifySnapshotSchedule.go | 3 - service/redshift/api_op_ModifyUsageLimit.go | 3 - service/redshift/api_op_PauseCluster.go | 3 - .../api_op_PurchaseReservedNodeOffering.go | 3 - service/redshift/api_op_PutResourcePolicy.go | 3 - service/redshift/api_op_RebootCluster.go | 3 - service/redshift/api_op_RegisterNamespace.go | 3 - service/redshift/api_op_RejectDataShare.go | 3 - .../api_op_ResetClusterParameterGroup.go | 3 - service/redshift/api_op_ResizeCluster.go | 3 - .../api_op_RestoreFromClusterSnapshot.go | 3 - .../api_op_RestoreTableFromClusterSnapshot.go | 3 - service/redshift/api_op_ResumeCluster.go | 3 - ...pi_op_RevokeClusterSecurityGroupIngress.go | 3 - .../redshift/api_op_RevokeEndpointAccess.go | 3 - .../redshift/api_op_RevokeSnapshotAccess.go | 3 - .../redshift/api_op_RotateEncryptionKey.go | 3 - .../redshift/api_op_UpdatePartnerStatus.go | 3 - .../api_op_AcceptReservedNodeExchange.go.snap | 1 - .../snapshot/api_op_AddPartner.go.snap | 1 - .../api_op_AssociateDataShareConsumer.go.snap | 1 - ...thorizeClusterSecurityGroupIngress.go.snap | 1 - .../api_op_AuthorizeDataShare.go.snap | 1 - .../api_op_AuthorizeEndpointAccess.go.snap | 1 - .../api_op_AuthorizeSnapshotAccess.go.snap | 1 - ...api_op_BatchDeleteClusterSnapshots.go.snap | 1 - ...api_op_BatchModifyClusterSnapshots.go.snap | 1 - .../snapshot/api_op_CancelResize.go.snap | 1 - .../api_op_CopyClusterSnapshot.go.snap | 1 - ...api_op_CreateAuthenticationProfile.go.snap | 1 - .../snapshot/api_op_CreateCluster.go.snap | 1 - ...api_op_CreateClusterParameterGroup.go.snap | 1 - .../api_op_CreateClusterSecurityGroup.go.snap | 1 - .../api_op_CreateClusterSnapshot.go.snap | 1 - .../api_op_CreateClusterSubnetGroup.go.snap | 1 - ...i_op_CreateCustomDomainAssociation.go.snap | 1 - .../api_op_CreateEndpointAccess.go.snap | 1 - .../api_op_CreateEventSubscription.go.snap | 1 - .../api_op_CreateHsmClientCertificate.go.snap | 1 - .../api_op_CreateHsmConfiguration.go.snap | 1 - .../snapshot/api_op_CreateIntegration.go.snap | 1 - ...pi_op_CreateRedshiftIdcApplication.go.snap | 1 - .../api_op_CreateScheduledAction.go.snap | 1 - .../api_op_CreateSnapshotCopyGrant.go.snap | 1 - .../api_op_CreateSnapshotSchedule.go.snap | 1 - .../snapshot/api_op_CreateTags.go.snap | 1 - .../snapshot/api_op_CreateUsageLimit.go.snap | 1 - .../api_op_DeauthorizeDataShare.go.snap | 1 - ...api_op_DeleteAuthenticationProfile.go.snap | 1 - .../snapshot/api_op_DeleteCluster.go.snap | 1 - ...api_op_DeleteClusterParameterGroup.go.snap | 1 - .../api_op_DeleteClusterSecurityGroup.go.snap | 1 - .../api_op_DeleteClusterSnapshot.go.snap | 1 - .../api_op_DeleteClusterSubnetGroup.go.snap | 1 - ...i_op_DeleteCustomDomainAssociation.go.snap | 1 - .../api_op_DeleteEndpointAccess.go.snap | 1 - .../api_op_DeleteEventSubscription.go.snap | 1 - .../api_op_DeleteHsmClientCertificate.go.snap | 1 - .../api_op_DeleteHsmConfiguration.go.snap | 1 - .../snapshot/api_op_DeleteIntegration.go.snap | 1 - .../snapshot/api_op_DeletePartner.go.snap | 1 - ...pi_op_DeleteRedshiftIdcApplication.go.snap | 1 - .../api_op_DeleteResourcePolicy.go.snap | 1 - .../api_op_DeleteScheduledAction.go.snap | 1 - .../api_op_DeleteSnapshotCopyGrant.go.snap | 1 - .../api_op_DeleteSnapshotSchedule.go.snap | 1 - .../snapshot/api_op_DeleteTags.go.snap | 1 - .../snapshot/api_op_DeleteUsageLimit.go.snap | 1 - .../api_op_DeregisterNamespace.go.snap | 1 - .../api_op_DescribeAccountAttributes.go.snap | 1 - ..._op_DescribeAuthenticationProfiles.go.snap | 1 - .../api_op_DescribeClusterDbRevisions.go.snap | 1 - ..._op_DescribeClusterParameterGroups.go.snap | 1 - .../api_op_DescribeClusterParameters.go.snap | 1 - ...i_op_DescribeClusterSecurityGroups.go.snap | 1 - .../api_op_DescribeClusterSnapshots.go.snap | 1 - ...api_op_DescribeClusterSubnetGroups.go.snap | 1 - .../api_op_DescribeClusterTracks.go.snap | 1 - .../api_op_DescribeClusterVersions.go.snap | 1 - .../snapshot/api_op_DescribeClusters.go.snap | 1 - ...p_DescribeCustomDomainAssociations.go.snap | 1 - .../api_op_DescribeDataShares.go.snap | 1 - ...i_op_DescribeDataSharesForConsumer.go.snap | 1 - ...i_op_DescribeDataSharesForProducer.go.snap | 1 - ...p_DescribeDefaultClusterParameters.go.snap | 1 - .../api_op_DescribeEndpointAccess.go.snap | 1 - ...i_op_DescribeEndpointAuthorization.go.snap | 1 - .../api_op_DescribeEventCategories.go.snap | 1 - .../api_op_DescribeEventSubscriptions.go.snap | 1 - .../snapshot/api_op_DescribeEvents.go.snap | 1 - ...i_op_DescribeHsmClientCertificates.go.snap | 1 - .../api_op_DescribeHsmConfigurations.go.snap | 1 - ...api_op_DescribeInboundIntegrations.go.snap | 1 - .../api_op_DescribeIntegrations.go.snap | 1 - .../api_op_DescribeLoggingStatus.go.snap | 1 - ...p_DescribeNodeConfigurationOptions.go.snap | 1 - ...op_DescribeOrderableClusterOptions.go.snap | 1 - .../snapshot/api_op_DescribePartners.go.snap | 1 - ...op_DescribeRedshiftIdcApplications.go.snap | 1 - ...DescribeReservedNodeExchangeStatus.go.snap | 1 - ...i_op_DescribeReservedNodeOfferings.go.snap | 1 - .../api_op_DescribeReservedNodes.go.snap | 1 - .../snapshot/api_op_DescribeResize.go.snap | 1 - .../api_op_DescribeScheduledActions.go.snap | 1 - .../api_op_DescribeSnapshotCopyGrants.go.snap | 1 - .../api_op_DescribeSnapshotSchedules.go.snap | 1 - .../snapshot/api_op_DescribeStorage.go.snap | 1 - .../api_op_DescribeTableRestoreStatus.go.snap | 1 - .../snapshot/api_op_DescribeTags.go.snap | 1 - .../api_op_DescribeUsageLimits.go.snap | 1 - .../snapshot/api_op_DisableLogging.go.snap | 1 - .../api_op_DisableSnapshotCopy.go.snap | 1 - ...i_op_DisassociateDataShareConsumer.go.snap | 1 - .../snapshot/api_op_EnableLogging.go.snap | 1 - .../api_op_EnableSnapshotCopy.go.snap | 1 - .../api_op_FailoverPrimaryCompute.go.snap | 1 - .../api_op_GetClusterCredentials.go.snap | 1 - ...pi_op_GetClusterCredentialsWithIAM.go.snap | 1 - ...edNodeExchangeConfigurationOptions.go.snap | 1 - ...p_GetReservedNodeExchangeOfferings.go.snap | 1 - .../snapshot/api_op_GetResourcePolicy.go.snap | 1 - .../api_op_ListRecommendations.go.snap | 1 - .../api_op_ModifyAquaConfiguration.go.snap | 1 - ...api_op_ModifyAuthenticationProfile.go.snap | 1 - .../snapshot/api_op_ModifyCluster.go.snap | 1 - .../api_op_ModifyClusterDbRevision.go.snap | 1 - .../api_op_ModifyClusterIamRoles.go.snap | 1 - .../api_op_ModifyClusterMaintenance.go.snap | 1 - ...api_op_ModifyClusterParameterGroup.go.snap | 1 - .../api_op_ModifyClusterSnapshot.go.snap | 1 - ...i_op_ModifyClusterSnapshotSchedule.go.snap | 1 - .../api_op_ModifyClusterSubnetGroup.go.snap | 1 - ...i_op_ModifyCustomDomainAssociation.go.snap | 1 - .../api_op_ModifyEndpointAccess.go.snap | 1 - .../api_op_ModifyEventSubscription.go.snap | 1 - .../snapshot/api_op_ModifyIntegration.go.snap | 1 - ...pi_op_ModifyRedshiftIdcApplication.go.snap | 1 - .../api_op_ModifyScheduledAction.go.snap | 1 - ..._ModifySnapshotCopyRetentionPeriod.go.snap | 1 - .../api_op_ModifySnapshotSchedule.go.snap | 1 - .../snapshot/api_op_ModifyUsageLimit.go.snap | 1 - .../snapshot/api_op_PauseCluster.go.snap | 1 - ...pi_op_PurchaseReservedNodeOffering.go.snap | 1 - .../snapshot/api_op_PutResourcePolicy.go.snap | 1 - .../snapshot/api_op_RebootCluster.go.snap | 1 - .../snapshot/api_op_RegisterNamespace.go.snap | 1 - .../snapshot/api_op_RejectDataShare.go.snap | 1 - .../api_op_ResetClusterParameterGroup.go.snap | 1 - .../snapshot/api_op_ResizeCluster.go.snap | 1 - .../api_op_RestoreFromClusterSnapshot.go.snap | 1 - ...op_RestoreTableFromClusterSnapshot.go.snap | 1 - .../snapshot/api_op_ResumeCluster.go.snap | 1 - ..._RevokeClusterSecurityGroupIngress.go.snap | 1 - .../api_op_RevokeEndpointAccess.go.snap | 1 - .../api_op_RevokeSnapshotAccess.go.snap | 1 - .../api_op_RotateEncryptionKey.go.snap | 1 - .../api_op_UpdatePartnerStatus.go.snap | 1 - service/redshiftdata/api_client.go | 31 -- .../api_op_BatchExecuteStatement.go | 3 - .../redshiftdata/api_op_CancelStatement.go | 3 - .../redshiftdata/api_op_DescribeStatement.go | 3 - service/redshiftdata/api_op_DescribeTable.go | 3 - .../redshiftdata/api_op_ExecuteStatement.go | 3 - .../redshiftdata/api_op_GetStatementResult.go | 3 - .../api_op_GetStatementResultV2.go | 3 - service/redshiftdata/api_op_ListDatabases.go | 3 - service/redshiftdata/api_op_ListSchemas.go | 3 - service/redshiftdata/api_op_ListStatements.go | 3 - service/redshiftdata/api_op_ListTables.go | 3 - .../api_op_BatchExecuteStatement.go.snap | 1 - .../snapshot/api_op_CancelStatement.go.snap | 1 - .../snapshot/api_op_DescribeStatement.go.snap | 1 - .../snapshot/api_op_DescribeTable.go.snap | 1 - .../snapshot/api_op_ExecuteStatement.go.snap | 1 - .../api_op_GetStatementResult.go.snap | 1 - .../api_op_GetStatementResultV2.go.snap | 1 - .../snapshot/api_op_ListDatabases.go.snap | 1 - .../snapshot/api_op_ListSchemas.go.snap | 1 - .../snapshot/api_op_ListStatements.go.snap | 1 - .../snapshot/api_op_ListTables.go.snap | 1 - service/redshiftserverless/api_client.go | 31 -- .../api_op_ConvertRecoveryPointToSnapshot.go | 3 - .../api_op_CreateCustomDomainAssociation.go | 3 - .../api_op_CreateEndpointAccess.go | 3 - .../api_op_CreateNamespace.go | 3 - .../api_op_CreateScheduledAction.go | 3 - .../api_op_CreateSnapshot.go | 3 - .../api_op_CreateSnapshotCopyConfiguration.go | 3 - .../api_op_CreateUsageLimit.go | 3 - .../api_op_CreateWorkgroup.go | 3 - .../api_op_DeleteCustomDomainAssociation.go | 3 - .../api_op_DeleteEndpointAccess.go | 3 - .../api_op_DeleteNamespace.go | 3 - .../api_op_DeleteResourcePolicy.go | 3 - .../api_op_DeleteScheduledAction.go | 3 - .../api_op_DeleteSnapshot.go | 3 - .../api_op_DeleteSnapshotCopyConfiguration.go | 3 - .../api_op_DeleteUsageLimit.go | 3 - .../api_op_DeleteWorkgroup.go | 3 - .../api_op_GetCredentials.go | 3 - .../api_op_GetCustomDomainAssociation.go | 3 - .../api_op_GetEndpointAccess.go | 3 - .../redshiftserverless/api_op_GetNamespace.go | 3 - .../api_op_GetRecoveryPoint.go | 3 - .../api_op_GetResourcePolicy.go | 3 - .../api_op_GetScheduledAction.go | 3 - .../redshiftserverless/api_op_GetSnapshot.go | 3 - .../api_op_GetTableRestoreStatus.go | 3 - .../api_op_GetUsageLimit.go | 3 - .../redshiftserverless/api_op_GetWorkgroup.go | 3 - .../api_op_ListCustomDomainAssociations.go | 3 - .../api_op_ListEndpointAccess.go | 3 - .../api_op_ListManagedWorkgroups.go | 3 - .../api_op_ListNamespaces.go | 3 - .../api_op_ListRecoveryPoints.go | 3 - .../api_op_ListScheduledActions.go | 3 - .../api_op_ListSnapshotCopyConfigurations.go | 3 - .../api_op_ListSnapshots.go | 3 - .../api_op_ListTableRestoreStatus.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_ListUsageLimits.go | 3 - .../api_op_ListWorkgroups.go | 3 - .../api_op_PutResourcePolicy.go | 3 - .../api_op_RestoreFromRecoveryPoint.go | 3 - .../api_op_RestoreFromSnapshot.go | 3 - .../api_op_RestoreTableFromRecoveryPoint.go | 3 - .../api_op_RestoreTableFromSnapshot.go | 3 - .../redshiftserverless/api_op_TagResource.go | 3 - .../api_op_UntagResource.go | 3 - .../api_op_UpdateCustomDomainAssociation.go | 3 - .../api_op_UpdateEndpointAccess.go | 3 - .../api_op_UpdateNamespace.go | 3 - .../api_op_UpdateScheduledAction.go | 3 - .../api_op_UpdateSnapshot.go | 3 - .../api_op_UpdateSnapshotCopyConfiguration.go | 3 - .../api_op_UpdateUsageLimit.go | 3 - .../api_op_UpdateWorkgroup.go | 3 - ..._op_ConvertRecoveryPointToSnapshot.go.snap | 1 - ...i_op_CreateCustomDomainAssociation.go.snap | 1 - .../api_op_CreateEndpointAccess.go.snap | 1 - .../snapshot/api_op_CreateNamespace.go.snap | 1 - .../api_op_CreateScheduledAction.go.snap | 1 - .../snapshot/api_op_CreateSnapshot.go.snap | 1 - ...op_CreateSnapshotCopyConfiguration.go.snap | 1 - .../snapshot/api_op_CreateUsageLimit.go.snap | 1 - .../snapshot/api_op_CreateWorkgroup.go.snap | 1 - ...i_op_DeleteCustomDomainAssociation.go.snap | 1 - .../api_op_DeleteEndpointAccess.go.snap | 1 - .../snapshot/api_op_DeleteNamespace.go.snap | 1 - .../api_op_DeleteResourcePolicy.go.snap | 1 - .../api_op_DeleteScheduledAction.go.snap | 1 - .../snapshot/api_op_DeleteSnapshot.go.snap | 1 - ...op_DeleteSnapshotCopyConfiguration.go.snap | 1 - .../snapshot/api_op_DeleteUsageLimit.go.snap | 1 - .../snapshot/api_op_DeleteWorkgroup.go.snap | 1 - .../snapshot/api_op_GetCredentials.go.snap | 1 - .../api_op_GetCustomDomainAssociation.go.snap | 1 - .../snapshot/api_op_GetEndpointAccess.go.snap | 1 - .../snapshot/api_op_GetNamespace.go.snap | 1 - .../snapshot/api_op_GetRecoveryPoint.go.snap | 1 - .../snapshot/api_op_GetResourcePolicy.go.snap | 1 - .../api_op_GetScheduledAction.go.snap | 1 - .../snapshot/api_op_GetSnapshot.go.snap | 1 - .../api_op_GetTableRestoreStatus.go.snap | 1 - .../snapshot/api_op_GetUsageLimit.go.snap | 1 - .../snapshot/api_op_GetWorkgroup.go.snap | 1 - ...pi_op_ListCustomDomainAssociations.go.snap | 1 - .../api_op_ListEndpointAccess.go.snap | 1 - .../api_op_ListManagedWorkgroups.go.snap | 1 - .../snapshot/api_op_ListNamespaces.go.snap | 1 - .../api_op_ListRecoveryPoints.go.snap | 1 - .../api_op_ListScheduledActions.go.snap | 1 - ..._op_ListSnapshotCopyConfigurations.go.snap | 1 - .../snapshot/api_op_ListSnapshots.go.snap | 1 - .../api_op_ListTableRestoreStatus.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListUsageLimits.go.snap | 1 - .../snapshot/api_op_ListWorkgroups.go.snap | 1 - .../snapshot/api_op_PutResourcePolicy.go.snap | 1 - .../api_op_RestoreFromRecoveryPoint.go.snap | 1 - .../api_op_RestoreFromSnapshot.go.snap | 1 - ...i_op_RestoreTableFromRecoveryPoint.go.snap | 1 - .../api_op_RestoreTableFromSnapshot.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - ...i_op_UpdateCustomDomainAssociation.go.snap | 1 - .../api_op_UpdateEndpointAccess.go.snap | 1 - .../snapshot/api_op_UpdateNamespace.go.snap | 1 - .../api_op_UpdateScheduledAction.go.snap | 1 - .../snapshot/api_op_UpdateSnapshot.go.snap | 1 - ...op_UpdateSnapshotCopyConfiguration.go.snap | 1 - .../snapshot/api_op_UpdateUsageLimit.go.snap | 1 - .../snapshot/api_op_UpdateWorkgroup.go.snap | 1 - service/rekognition/api_client.go | 31 -- service/rekognition/api_op_AssociateFaces.go | 3 - service/rekognition/api_op_CompareFaces.go | 3 - .../rekognition/api_op_CopyProjectVersion.go | 3 - .../rekognition/api_op_CreateCollection.go | 3 - service/rekognition/api_op_CreateDataset.go | 3 - .../api_op_CreateFaceLivenessSession.go | 3 - service/rekognition/api_op_CreateProject.go | 3 - .../api_op_CreateProjectVersion.go | 3 - .../api_op_CreateStreamProcessor.go | 3 - service/rekognition/api_op_CreateUser.go | 3 - .../rekognition/api_op_DeleteCollection.go | 3 - service/rekognition/api_op_DeleteDataset.go | 3 - service/rekognition/api_op_DeleteFaces.go | 3 - service/rekognition/api_op_DeleteProject.go | 3 - .../rekognition/api_op_DeleteProjectPolicy.go | 3 - .../api_op_DeleteProjectVersion.go | 3 - .../api_op_DeleteStreamProcessor.go | 3 - service/rekognition/api_op_DeleteUser.go | 3 - .../rekognition/api_op_DescribeCollection.go | 3 - service/rekognition/api_op_DescribeDataset.go | 3 - .../api_op_DescribeProjectVersions.go | 3 - .../rekognition/api_op_DescribeProjects.go | 3 - .../api_op_DescribeStreamProcessor.go | 3 - .../rekognition/api_op_DetectCustomLabels.go | 3 - service/rekognition/api_op_DetectFaces.go | 3 - service/rekognition/api_op_DetectLabels.go | 3 - .../api_op_DetectModerationLabels.go | 3 - .../api_op_DetectProtectiveEquipment.go | 3 - service/rekognition/api_op_DetectText.go | 3 - .../rekognition/api_op_DisassociateFaces.go | 3 - .../api_op_DistributeDatasetEntries.go | 3 - .../rekognition/api_op_GetCelebrityInfo.go | 3 - .../api_op_GetCelebrityRecognition.go | 3 - .../api_op_GetContentModeration.go | 3 - .../rekognition/api_op_GetFaceDetection.go | 3 - .../api_op_GetFaceLivenessSessionResults.go | 3 - service/rekognition/api_op_GetFaceSearch.go | 3 - .../rekognition/api_op_GetLabelDetection.go | 3 - .../rekognition/api_op_GetMediaAnalysisJob.go | 3 - .../rekognition/api_op_GetPersonTracking.go | 3 - .../rekognition/api_op_GetSegmentDetection.go | 3 - .../rekognition/api_op_GetTextDetection.go | 3 - service/rekognition/api_op_IndexFaces.go | 3 - service/rekognition/api_op_ListCollections.go | 3 - .../rekognition/api_op_ListDatasetEntries.go | 3 - .../rekognition/api_op_ListDatasetLabels.go | 3 - service/rekognition/api_op_ListFaces.go | 3 - .../api_op_ListMediaAnalysisJobs.go | 3 - .../rekognition/api_op_ListProjectPolicies.go | 3 - .../api_op_ListStreamProcessors.go | 3 - .../rekognition/api_op_ListTagsForResource.go | 3 - service/rekognition/api_op_ListUsers.go | 3 - .../rekognition/api_op_PutProjectPolicy.go | 3 - .../api_op_RecognizeCelebrities.go | 3 - service/rekognition/api_op_SearchFaces.go | 3 - .../rekognition/api_op_SearchFacesByImage.go | 3 - service/rekognition/api_op_SearchUsers.go | 3 - .../rekognition/api_op_SearchUsersByImage.go | 3 - .../api_op_StartCelebrityRecognition.go | 3 - .../api_op_StartContentModeration.go | 3 - .../rekognition/api_op_StartFaceDetection.go | 3 - service/rekognition/api_op_StartFaceSearch.go | 3 - .../rekognition/api_op_StartLabelDetection.go | 3 - .../api_op_StartMediaAnalysisJob.go | 3 - .../rekognition/api_op_StartPersonTracking.go | 3 - .../rekognition/api_op_StartProjectVersion.go | 3 - .../api_op_StartSegmentDetection.go | 3 - .../api_op_StartStreamProcessor.go | 3 - .../rekognition/api_op_StartTextDetection.go | 3 - .../rekognition/api_op_StopProjectVersion.go | 3 - .../rekognition/api_op_StopStreamProcessor.go | 3 - service/rekognition/api_op_TagResource.go | 3 - service/rekognition/api_op_UntagResource.go | 3 - .../api_op_UpdateDatasetEntries.go | 3 - .../api_op_UpdateStreamProcessor.go | 3 - .../snapshot/api_op_AssociateFaces.go.snap | 1 - .../snapshot/api_op_CompareFaces.go.snap | 1 - .../api_op_CopyProjectVersion.go.snap | 1 - .../snapshot/api_op_CreateCollection.go.snap | 1 - .../snapshot/api_op_CreateDataset.go.snap | 1 - .../api_op_CreateFaceLivenessSession.go.snap | 1 - .../snapshot/api_op_CreateProject.go.snap | 1 - .../api_op_CreateProjectVersion.go.snap | 1 - .../api_op_CreateStreamProcessor.go.snap | 1 - .../snapshot/api_op_CreateUser.go.snap | 1 - .../snapshot/api_op_DeleteCollection.go.snap | 1 - .../snapshot/api_op_DeleteDataset.go.snap | 1 - .../snapshot/api_op_DeleteFaces.go.snap | 1 - .../snapshot/api_op_DeleteProject.go.snap | 1 - .../api_op_DeleteProjectPolicy.go.snap | 1 - .../api_op_DeleteProjectVersion.go.snap | 1 - .../api_op_DeleteStreamProcessor.go.snap | 1 - .../snapshot/api_op_DeleteUser.go.snap | 1 - .../api_op_DescribeCollection.go.snap | 1 - .../snapshot/api_op_DescribeDataset.go.snap | 1 - .../api_op_DescribeProjectVersions.go.snap | 1 - .../snapshot/api_op_DescribeProjects.go.snap | 1 - .../api_op_DescribeStreamProcessor.go.snap | 1 - .../api_op_DetectCustomLabels.go.snap | 1 - .../snapshot/api_op_DetectFaces.go.snap | 1 - .../snapshot/api_op_DetectLabels.go.snap | 1 - .../api_op_DetectModerationLabels.go.snap | 1 - .../api_op_DetectProtectiveEquipment.go.snap | 1 - .../snapshot/api_op_DetectText.go.snap | 1 - .../snapshot/api_op_DisassociateFaces.go.snap | 1 - .../api_op_DistributeDatasetEntries.go.snap | 1 - .../snapshot/api_op_GetCelebrityInfo.go.snap | 1 - .../api_op_GetCelebrityRecognition.go.snap | 1 - .../api_op_GetContentModeration.go.snap | 1 - .../snapshot/api_op_GetFaceDetection.go.snap | 1 - ...i_op_GetFaceLivenessSessionResults.go.snap | 1 - .../snapshot/api_op_GetFaceSearch.go.snap | 1 - .../snapshot/api_op_GetLabelDetection.go.snap | 1 - .../api_op_GetMediaAnalysisJob.go.snap | 1 - .../snapshot/api_op_GetPersonTracking.go.snap | 1 - .../api_op_GetSegmentDetection.go.snap | 1 - .../snapshot/api_op_GetTextDetection.go.snap | 1 - .../snapshot/api_op_IndexFaces.go.snap | 1 - .../snapshot/api_op_ListCollections.go.snap | 1 - .../api_op_ListDatasetEntries.go.snap | 1 - .../snapshot/api_op_ListDatasetLabels.go.snap | 1 - .../snapshot/api_op_ListFaces.go.snap | 1 - .../api_op_ListMediaAnalysisJobs.go.snap | 1 - .../api_op_ListProjectPolicies.go.snap | 1 - .../api_op_ListStreamProcessors.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListUsers.go.snap | 1 - .../snapshot/api_op_PutProjectPolicy.go.snap | 1 - .../api_op_RecognizeCelebrities.go.snap | 1 - .../snapshot/api_op_SearchFaces.go.snap | 1 - .../api_op_SearchFacesByImage.go.snap | 1 - .../snapshot/api_op_SearchUsers.go.snap | 1 - .../api_op_SearchUsersByImage.go.snap | 1 - .../api_op_StartCelebrityRecognition.go.snap | 1 - .../api_op_StartContentModeration.go.snap | 1 - .../api_op_StartFaceDetection.go.snap | 1 - .../snapshot/api_op_StartFaceSearch.go.snap | 1 - .../api_op_StartLabelDetection.go.snap | 1 - .../api_op_StartMediaAnalysisJob.go.snap | 1 - .../api_op_StartPersonTracking.go.snap | 1 - .../api_op_StartProjectVersion.go.snap | 1 - .../api_op_StartSegmentDetection.go.snap | 1 - .../api_op_StartStreamProcessor.go.snap | 1 - .../api_op_StartTextDetection.go.snap | 1 - .../api_op_StopProjectVersion.go.snap | 1 - .../api_op_StopStreamProcessor.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateDatasetEntries.go.snap | 1 - .../api_op_UpdateStreamProcessor.go.snap | 1 - service/repostspace/api_client.go | 31 -- service/repostspace/api_op_BatchAddRole.go | 3 - service/repostspace/api_op_BatchRemoveRole.go | 3 - service/repostspace/api_op_CreateSpace.go | 3 - service/repostspace/api_op_DeleteSpace.go | 3 - service/repostspace/api_op_DeregisterAdmin.go | 3 - service/repostspace/api_op_GetSpace.go | 3 - service/repostspace/api_op_ListSpaces.go | 3 - .../repostspace/api_op_ListTagsForResource.go | 3 - service/repostspace/api_op_RegisterAdmin.go | 3 - service/repostspace/api_op_SendInvites.go | 3 - service/repostspace/api_op_TagResource.go | 3 - service/repostspace/api_op_UntagResource.go | 3 - service/repostspace/api_op_UpdateSpace.go | 3 - .../snapshot/api_op_BatchAddRole.go.snap | 1 - .../snapshot/api_op_BatchRemoveRole.go.snap | 1 - .../snapshot/api_op_CreateSpace.go.snap | 1 - .../snapshot/api_op_DeleteSpace.go.snap | 1 - .../snapshot/api_op_DeregisterAdmin.go.snap | 1 - .../snapshot/api_op_GetSpace.go.snap | 1 - .../snapshot/api_op_ListSpaces.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_RegisterAdmin.go.snap | 1 - .../snapshot/api_op_SendInvites.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateSpace.go.snap | 1 - service/resiliencehub/api_client.go | 31 -- ...p_AcceptResourceGroupingRecommendations.go | 3 - ...i_op_AddDraftAppVersionResourceMappings.go | 3 - .../api_op_BatchUpdateRecommendationStatus.go | 3 - service/resiliencehub/api_op_CreateApp.go | 3 - .../api_op_CreateAppVersionAppComponent.go | 3 - .../api_op_CreateAppVersionResource.go | 3 - .../api_op_CreateRecommendationTemplate.go | 3 - .../api_op_CreateResiliencyPolicy.go | 3 - service/resiliencehub/api_op_DeleteApp.go | 3 - .../api_op_DeleteAppAssessment.go | 3 - .../api_op_DeleteAppInputSource.go | 3 - .../api_op_DeleteAppVersionAppComponent.go | 3 - .../api_op_DeleteAppVersionResource.go | 3 - .../api_op_DeleteRecommendationTemplate.go | 3 - .../api_op_DeleteResiliencyPolicy.go | 3 - service/resiliencehub/api_op_DescribeApp.go | 3 - .../api_op_DescribeAppAssessment.go | 3 - .../api_op_DescribeAppVersion.go | 3 - .../api_op_DescribeAppVersionAppComponent.go | 3 - .../api_op_DescribeAppVersionResource.go | 3 - ...ribeAppVersionResourcesResolutionStatus.go | 3 - .../api_op_DescribeAppVersionTemplate.go | 3 - ...ibeDraftAppVersionResourcesImportStatus.go | 3 - .../api_op_DescribeMetricsExport.go | 3 - .../api_op_DescribeResiliencyPolicy.go | 3 - ...cribeResourceGroupingRecommendationTask.go | 3 - ...api_op_ImportResourcesToDraftAppVersion.go | 3 - .../api_op_ListAlarmRecommendations.go | 3 - ...pi_op_ListAppAssessmentComplianceDrifts.go | 3 - .../api_op_ListAppAssessmentResourceDrifts.go | 3 - .../api_op_ListAppAssessments.go | 3 - .../api_op_ListAppComponentCompliances.go | 3 - .../api_op_ListAppComponentRecommendations.go | 3 - .../api_op_ListAppInputSources.go | 3 - .../api_op_ListAppVersionAppComponents.go | 3 - .../api_op_ListAppVersionResourceMappings.go | 3 - .../api_op_ListAppVersionResources.go | 3 - .../resiliencehub/api_op_ListAppVersions.go | 3 - service/resiliencehub/api_op_ListApps.go | 3 - service/resiliencehub/api_op_ListMetrics.go | 3 - .../api_op_ListRecommendationTemplates.go | 3 - .../api_op_ListResiliencyPolicies.go | 3 - ..._op_ListResourceGroupingRecommendations.go | 3 - .../api_op_ListSopRecommendations.go | 3 - .../api_op_ListSuggestedResiliencyPolicies.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_ListTestRecommendations.go | 3 - ...i_op_ListUnsupportedAppVersionResources.go | 3 - .../resiliencehub/api_op_PublishAppVersion.go | 3 - .../api_op_PutDraftAppVersionTemplate.go | 3 - ...p_RejectResourceGroupingRecommendations.go | 3 - ...p_RemoveDraftAppVersionResourceMappings.go | 3 - .../api_op_ResolveAppVersionResources.go | 3 - .../api_op_StartAppAssessment.go | 3 - .../api_op_StartMetricsExport.go | 3 - ...StartResourceGroupingRecommendationTask.go | 3 - service/resiliencehub/api_op_TagResource.go | 3 - service/resiliencehub/api_op_UntagResource.go | 3 - service/resiliencehub/api_op_UpdateApp.go | 3 - .../resiliencehub/api_op_UpdateAppVersion.go | 3 - .../api_op_UpdateAppVersionAppComponent.go | 3 - .../api_op_UpdateAppVersionResource.go | 3 - .../api_op_UpdateResiliencyPolicy.go | 3 - ...eptResourceGroupingRecommendations.go.snap | 1 - ...AddDraftAppVersionResourceMappings.go.snap | 1 - ...op_BatchUpdateRecommendationStatus.go.snap | 1 - .../snapshot/api_op_CreateApp.go.snap | 1 - ...pi_op_CreateAppVersionAppComponent.go.snap | 1 - .../api_op_CreateAppVersionResource.go.snap | 1 - ...pi_op_CreateRecommendationTemplate.go.snap | 1 - .../api_op_CreateResiliencyPolicy.go.snap | 1 - .../snapshot/api_op_DeleteApp.go.snap | 1 - .../api_op_DeleteAppAssessment.go.snap | 1 - .../api_op_DeleteAppInputSource.go.snap | 1 - ...pi_op_DeleteAppVersionAppComponent.go.snap | 1 - .../api_op_DeleteAppVersionResource.go.snap | 1 - ...pi_op_DeleteRecommendationTemplate.go.snap | 1 - .../api_op_DeleteResiliencyPolicy.go.snap | 1 - .../snapshot/api_op_DescribeApp.go.snap | 1 - .../api_op_DescribeAppAssessment.go.snap | 1 - .../api_op_DescribeAppVersion.go.snap | 1 - ..._op_DescribeAppVersionAppComponent.go.snap | 1 - .../api_op_DescribeAppVersionResource.go.snap | 1 - ...ppVersionResourcesResolutionStatus.go.snap | 1 - .../api_op_DescribeAppVersionTemplate.go.snap | 1 - ...aftAppVersionResourcesImportStatus.go.snap | 1 - .../api_op_DescribeMetricsExport.go.snap | 1 - .../api_op_DescribeResiliencyPolicy.go.snap | 1 - ...ResourceGroupingRecommendationTask.go.snap | 1 - ...p_ImportResourcesToDraftAppVersion.go.snap | 1 - .../api_op_ListAlarmRecommendations.go.snap | 1 - ..._ListAppAssessmentComplianceDrifts.go.snap | 1 - ...op_ListAppAssessmentResourceDrifts.go.snap | 1 - .../api_op_ListAppAssessments.go.snap | 1 - ...api_op_ListAppComponentCompliances.go.snap | 1 - ...op_ListAppComponentRecommendations.go.snap | 1 - .../api_op_ListAppInputSources.go.snap | 1 - ...api_op_ListAppVersionAppComponents.go.snap | 1 - ..._op_ListAppVersionResourceMappings.go.snap | 1 - .../api_op_ListAppVersionResources.go.snap | 1 - .../snapshot/api_op_ListAppVersions.go.snap | 1 - .../snapshot/api_op_ListApps.go.snap | 1 - .../snapshot/api_op_ListMetrics.go.snap | 1 - ...api_op_ListRecommendationTemplates.go.snap | 1 - .../api_op_ListResiliencyPolicies.go.snap | 1 - ...istResourceGroupingRecommendations.go.snap | 1 - .../api_op_ListSopRecommendations.go.snap | 1 - ...op_ListSuggestedResiliencyPolicies.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListTestRecommendations.go.snap | 1 - ...ListUnsupportedAppVersionResources.go.snap | 1 - .../snapshot/api_op_PublishAppVersion.go.snap | 1 - .../api_op_PutDraftAppVersionTemplate.go.snap | 1 - ...ectResourceGroupingRecommendations.go.snap | 1 - ...oveDraftAppVersionResourceMappings.go.snap | 1 - .../api_op_ResolveAppVersionResources.go.snap | 1 - .../api_op_StartAppAssessment.go.snap | 1 - .../api_op_StartMetricsExport.go.snap | 1 - ...ResourceGroupingRecommendationTask.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateApp.go.snap | 1 - .../snapshot/api_op_UpdateAppVersion.go.snap | 1 - ...pi_op_UpdateAppVersionAppComponent.go.snap | 1 - .../api_op_UpdateAppVersionResource.go.snap | 1 - .../api_op_UpdateResiliencyPolicy.go.snap | 1 - service/resourceexplorer2/api_client.go | 31 -- .../api_op_AssociateDefaultView.go | 3 - .../resourceexplorer2/api_op_BatchGetView.go | 3 - .../resourceexplorer2/api_op_CreateIndex.go | 3 - .../resourceexplorer2/api_op_CreateView.go | 3 - .../resourceexplorer2/api_op_DeleteIndex.go | 3 - .../resourceexplorer2/api_op_DeleteView.go | 3 - .../api_op_DisassociateDefaultView.go | 3 - ..._op_GetAccountLevelServiceConfiguration.go | 3 - .../api_op_GetDefaultView.go | 3 - service/resourceexplorer2/api_op_GetIndex.go | 3 - .../api_op_GetManagedView.go | 3 - service/resourceexplorer2/api_op_GetView.go | 3 - .../resourceexplorer2/api_op_ListIndexes.go | 3 - .../api_op_ListIndexesForMembers.go | 3 - .../api_op_ListManagedViews.go | 3 - .../resourceexplorer2/api_op_ListResources.go | 3 - .../api_op_ListSupportedResourceTypes.go | 3 - .../api_op_ListTagsForResource.go | 3 - service/resourceexplorer2/api_op_ListViews.go | 3 - service/resourceexplorer2/api_op_Search.go | 3 - .../resourceexplorer2/api_op_TagResource.go | 3 - .../resourceexplorer2/api_op_UntagResource.go | 3 - .../api_op_UpdateIndexType.go | 3 - .../resourceexplorer2/api_op_UpdateView.go | 3 - .../api_op_AssociateDefaultView.go.snap | 1 - .../snapshot/api_op_BatchGetView.go.snap | 1 - .../snapshot/api_op_CreateIndex.go.snap | 1 - .../snapshot/api_op_CreateView.go.snap | 1 - .../snapshot/api_op_DeleteIndex.go.snap | 1 - .../snapshot/api_op_DeleteView.go.snap | 1 - .../api_op_DisassociateDefaultView.go.snap | 1 - ...etAccountLevelServiceConfiguration.go.snap | 1 - .../snapshot/api_op_GetDefaultView.go.snap | 1 - .../snapshot/api_op_GetIndex.go.snap | 1 - .../snapshot/api_op_GetManagedView.go.snap | 1 - .../snapshot/api_op_GetView.go.snap | 1 - .../snapshot/api_op_ListIndexes.go.snap | 1 - .../api_op_ListIndexesForMembers.go.snap | 1 - .../snapshot/api_op_ListManagedViews.go.snap | 1 - .../snapshot/api_op_ListResources.go.snap | 1 - .../api_op_ListSupportedResourceTypes.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListViews.go.snap | 1 - .../snapshot/api_op_Search.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateIndexType.go.snap | 1 - .../snapshot/api_op_UpdateView.go.snap | 1 - service/resourcegroups/api_client.go | 31 -- .../api_op_CancelTagSyncTask.go | 3 - service/resourcegroups/api_op_CreateGroup.go | 3 - service/resourcegroups/api_op_DeleteGroup.go | 3 - .../api_op_GetAccountSettings.go | 3 - service/resourcegroups/api_op_GetGroup.go | 3 - .../api_op_GetGroupConfiguration.go | 3 - .../resourcegroups/api_op_GetGroupQuery.go | 3 - .../resourcegroups/api_op_GetTagSyncTask.go | 3 - service/resourcegroups/api_op_GetTags.go | 3 - .../resourcegroups/api_op_GroupResources.go | 3 - .../api_op_ListGroupResources.go | 3 - .../api_op_ListGroupingStatuses.go | 3 - service/resourcegroups/api_op_ListGroups.go | 3 - .../resourcegroups/api_op_ListTagSyncTasks.go | 3 - .../api_op_PutGroupConfiguration.go | 3 - .../resourcegroups/api_op_SearchResources.go | 3 - .../resourcegroups/api_op_StartTagSyncTask.go | 3 - service/resourcegroups/api_op_Tag.go | 3 - .../resourcegroups/api_op_UngroupResources.go | 3 - service/resourcegroups/api_op_Untag.go | 3 - .../api_op_UpdateAccountSettings.go | 3 - service/resourcegroups/api_op_UpdateGroup.go | 3 - .../resourcegroups/api_op_UpdateGroupQuery.go | 3 - .../snapshot/api_op_CancelTagSyncTask.go.snap | 1 - .../snapshot/api_op_CreateGroup.go.snap | 1 - .../snapshot/api_op_DeleteGroup.go.snap | 1 - .../api_op_GetAccountSettings.go.snap | 1 - .../snapshot/api_op_GetGroup.go.snap | 1 - .../api_op_GetGroupConfiguration.go.snap | 1 - .../snapshot/api_op_GetGroupQuery.go.snap | 1 - .../snapshot/api_op_GetTagSyncTask.go.snap | 1 - .../snapshot/api_op_GetTags.go.snap | 1 - .../snapshot/api_op_GroupResources.go.snap | 1 - .../api_op_ListGroupResources.go.snap | 1 - .../api_op_ListGroupingStatuses.go.snap | 1 - .../snapshot/api_op_ListGroups.go.snap | 1 - .../snapshot/api_op_ListTagSyncTasks.go.snap | 1 - .../api_op_PutGroupConfiguration.go.snap | 1 - .../snapshot/api_op_SearchResources.go.snap | 1 - .../snapshot/api_op_StartTagSyncTask.go.snap | 1 - .../snapshot/api_op_Tag.go.snap | 1 - .../snapshot/api_op_UngroupResources.go.snap | 1 - .../snapshot/api_op_Untag.go.snap | 1 - .../api_op_UpdateAccountSettings.go.snap | 1 - .../snapshot/api_op_UpdateGroup.go.snap | 1 - .../snapshot/api_op_UpdateGroupQuery.go.snap | 1 - .../resourcegroupstaggingapi/api_client.go | 31 -- .../api_op_DescribeReportCreation.go | 3 - .../api_op_GetComplianceSummary.go | 3 - .../api_op_GetResources.go | 3 - .../api_op_GetTagKeys.go | 3 - .../api_op_GetTagValues.go | 3 - .../api_op_StartReportCreation.go | 3 - .../api_op_TagResources.go | 3 - .../api_op_UntagResources.go | 3 - .../api_op_DescribeReportCreation.go.snap | 1 - .../api_op_GetComplianceSummary.go.snap | 1 - .../snapshot/api_op_GetResources.go.snap | 1 - .../snapshot/api_op_GetTagKeys.go.snap | 1 - .../snapshot/api_op_GetTagValues.go.snap | 1 - .../api_op_StartReportCreation.go.snap | 1 - .../snapshot/api_op_TagResources.go.snap | 1 - .../snapshot/api_op_UntagResources.go.snap | 1 - service/robomaker/api_client.go | 31 -- service/robomaker/api_op_BatchDeleteWorlds.go | 3 - .../api_op_BatchDescribeSimulationJob.go | 3 - .../robomaker/api_op_CancelDeploymentJob.go | 3 - .../robomaker/api_op_CancelSimulationJob.go | 3 - .../api_op_CancelSimulationJobBatch.go | 3 - .../robomaker/api_op_CancelWorldExportJob.go | 3 - .../api_op_CancelWorldGenerationJob.go | 3 - .../robomaker/api_op_CreateDeploymentJob.go | 3 - service/robomaker/api_op_CreateFleet.go | 3 - service/robomaker/api_op_CreateRobot.go | 3 - .../api_op_CreateRobotApplication.go | 3 - .../api_op_CreateRobotApplicationVersion.go | 3 - .../api_op_CreateSimulationApplication.go | 3 - ...i_op_CreateSimulationApplicationVersion.go | 3 - .../robomaker/api_op_CreateSimulationJob.go | 3 - .../robomaker/api_op_CreateWorldExportJob.go | 3 - .../api_op_CreateWorldGenerationJob.go | 3 - .../robomaker/api_op_CreateWorldTemplate.go | 3 - service/robomaker/api_op_DeleteFleet.go | 3 - service/robomaker/api_op_DeleteRobot.go | 3 - .../api_op_DeleteRobotApplication.go | 3 - .../api_op_DeleteSimulationApplication.go | 3 - .../robomaker/api_op_DeleteWorldTemplate.go | 3 - service/robomaker/api_op_DeregisterRobot.go | 3 - .../robomaker/api_op_DescribeDeploymentJob.go | 3 - service/robomaker/api_op_DescribeFleet.go | 3 - service/robomaker/api_op_DescribeRobot.go | 3 - .../api_op_DescribeRobotApplication.go | 3 - .../api_op_DescribeSimulationApplication.go | 3 - .../robomaker/api_op_DescribeSimulationJob.go | 3 - .../api_op_DescribeSimulationJobBatch.go | 3 - service/robomaker/api_op_DescribeWorld.go | 3 - .../api_op_DescribeWorldExportJob.go | 3 - .../api_op_DescribeWorldGenerationJob.go | 3 - .../robomaker/api_op_DescribeWorldTemplate.go | 3 - .../robomaker/api_op_GetWorldTemplateBody.go | 3 - .../robomaker/api_op_ListDeploymentJobs.go | 3 - service/robomaker/api_op_ListFleets.go | 3 - .../robomaker/api_op_ListRobotApplications.go | 3 - service/robomaker/api_op_ListRobots.go | 3 - .../api_op_ListSimulationApplications.go | 3 - .../api_op_ListSimulationJobBatches.go | 3 - .../robomaker/api_op_ListSimulationJobs.go | 3 - .../robomaker/api_op_ListTagsForResource.go | 3 - .../robomaker/api_op_ListWorldExportJobs.go | 3 - .../api_op_ListWorldGenerationJobs.go | 3 - .../robomaker/api_op_ListWorldTemplates.go | 3 - service/robomaker/api_op_ListWorlds.go | 3 - service/robomaker/api_op_RegisterRobot.go | 3 - .../robomaker/api_op_RestartSimulationJob.go | 3 - .../api_op_StartSimulationJobBatch.go | 3 - service/robomaker/api_op_SyncDeploymentJob.go | 3 - service/robomaker/api_op_TagResource.go | 3 - service/robomaker/api_op_UntagResource.go | 3 - .../api_op_UpdateRobotApplication.go | 3 - .../api_op_UpdateSimulationApplication.go | 3 - .../robomaker/api_op_UpdateWorldTemplate.go | 3 - .../snapshot/api_op_BatchDeleteWorlds.go.snap | 1 - .../api_op_BatchDescribeSimulationJob.go.snap | 1 - .../api_op_CancelDeploymentJob.go.snap | 1 - .../api_op_CancelSimulationJob.go.snap | 1 - .../api_op_CancelSimulationJobBatch.go.snap | 1 - .../api_op_CancelWorldExportJob.go.snap | 1 - .../api_op_CancelWorldGenerationJob.go.snap | 1 - .../api_op_CreateDeploymentJob.go.snap | 1 - .../snapshot/api_op_CreateFleet.go.snap | 1 - .../snapshot/api_op_CreateRobot.go.snap | 1 - .../api_op_CreateRobotApplication.go.snap | 1 - ...i_op_CreateRobotApplicationVersion.go.snap | 1 - ...api_op_CreateSimulationApplication.go.snap | 1 - ...CreateSimulationApplicationVersion.go.snap | 1 - .../api_op_CreateSimulationJob.go.snap | 1 - .../api_op_CreateWorldExportJob.go.snap | 1 - .../api_op_CreateWorldGenerationJob.go.snap | 1 - .../api_op_CreateWorldTemplate.go.snap | 1 - .../snapshot/api_op_DeleteFleet.go.snap | 1 - .../snapshot/api_op_DeleteRobot.go.snap | 1 - .../api_op_DeleteRobotApplication.go.snap | 1 - ...api_op_DeleteSimulationApplication.go.snap | 1 - .../api_op_DeleteWorldTemplate.go.snap | 1 - .../snapshot/api_op_DeregisterRobot.go.snap | 1 - .../api_op_DescribeDeploymentJob.go.snap | 1 - .../snapshot/api_op_DescribeFleet.go.snap | 1 - .../snapshot/api_op_DescribeRobot.go.snap | 1 - .../api_op_DescribeRobotApplication.go.snap | 1 - ...i_op_DescribeSimulationApplication.go.snap | 1 - .../api_op_DescribeSimulationJob.go.snap | 1 - .../api_op_DescribeSimulationJobBatch.go.snap | 1 - .../snapshot/api_op_DescribeWorld.go.snap | 1 - .../api_op_DescribeWorldExportJob.go.snap | 1 - .../api_op_DescribeWorldGenerationJob.go.snap | 1 - .../api_op_DescribeWorldTemplate.go.snap | 1 - .../api_op_GetWorldTemplateBody.go.snap | 1 - .../api_op_ListDeploymentJobs.go.snap | 1 - .../snapshot/api_op_ListFleets.go.snap | 1 - .../api_op_ListRobotApplications.go.snap | 1 - .../snapshot/api_op_ListRobots.go.snap | 1 - .../api_op_ListSimulationApplications.go.snap | 1 - .../api_op_ListSimulationJobBatches.go.snap | 1 - .../api_op_ListSimulationJobs.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListWorldExportJobs.go.snap | 1 - .../api_op_ListWorldGenerationJobs.go.snap | 1 - .../api_op_ListWorldTemplates.go.snap | 1 - .../snapshot/api_op_ListWorlds.go.snap | 1 - .../snapshot/api_op_RegisterRobot.go.snap | 1 - .../api_op_RestartSimulationJob.go.snap | 1 - .../api_op_StartSimulationJobBatch.go.snap | 1 - .../snapshot/api_op_SyncDeploymentJob.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateRobotApplication.go.snap | 1 - ...api_op_UpdateSimulationApplication.go.snap | 1 - .../api_op_UpdateWorldTemplate.go.snap | 1 - service/rolesanywhere/api_client.go | 31 -- service/rolesanywhere/api_op_CreateProfile.go | 3 - .../rolesanywhere/api_op_CreateTrustAnchor.go | 3 - .../api_op_DeleteAttributeMapping.go | 3 - service/rolesanywhere/api_op_DeleteCrl.go | 3 - service/rolesanywhere/api_op_DeleteProfile.go | 3 - .../rolesanywhere/api_op_DeleteTrustAnchor.go | 3 - service/rolesanywhere/api_op_DisableCrl.go | 3 - .../rolesanywhere/api_op_DisableProfile.go | 3 - .../api_op_DisableTrustAnchor.go | 3 - service/rolesanywhere/api_op_EnableCrl.go | 3 - service/rolesanywhere/api_op_EnableProfile.go | 3 - .../rolesanywhere/api_op_EnableTrustAnchor.go | 3 - service/rolesanywhere/api_op_GetCrl.go | 3 - service/rolesanywhere/api_op_GetProfile.go | 3 - service/rolesanywhere/api_op_GetSubject.go | 3 - .../rolesanywhere/api_op_GetTrustAnchor.go | 3 - service/rolesanywhere/api_op_ImportCrl.go | 3 - service/rolesanywhere/api_op_ListCrls.go | 3 - service/rolesanywhere/api_op_ListProfiles.go | 3 - service/rolesanywhere/api_op_ListSubjects.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../rolesanywhere/api_op_ListTrustAnchors.go | 3 - .../api_op_PutAttributeMapping.go | 3 - .../api_op_PutNotificationSettings.go | 3 - .../api_op_ResetNotificationSettings.go | 3 - service/rolesanywhere/api_op_TagResource.go | 3 - service/rolesanywhere/api_op_UntagResource.go | 3 - service/rolesanywhere/api_op_UpdateCrl.go | 3 - service/rolesanywhere/api_op_UpdateProfile.go | 3 - .../rolesanywhere/api_op_UpdateTrustAnchor.go | 3 - .../snapshot/api_op_CreateProfile.go.snap | 1 - .../snapshot/api_op_CreateTrustAnchor.go.snap | 1 - .../api_op_DeleteAttributeMapping.go.snap | 1 - .../snapshot/api_op_DeleteCrl.go.snap | 1 - .../snapshot/api_op_DeleteProfile.go.snap | 1 - .../snapshot/api_op_DeleteTrustAnchor.go.snap | 1 - .../snapshot/api_op_DisableCrl.go.snap | 1 - .../snapshot/api_op_DisableProfile.go.snap | 1 - .../api_op_DisableTrustAnchor.go.snap | 1 - .../snapshot/api_op_EnableCrl.go.snap | 1 - .../snapshot/api_op_EnableProfile.go.snap | 1 - .../snapshot/api_op_EnableTrustAnchor.go.snap | 1 - .../snapshot/api_op_GetCrl.go.snap | 1 - .../snapshot/api_op_GetProfile.go.snap | 1 - .../snapshot/api_op_GetSubject.go.snap | 1 - .../snapshot/api_op_GetTrustAnchor.go.snap | 1 - .../snapshot/api_op_ImportCrl.go.snap | 1 - .../snapshot/api_op_ListCrls.go.snap | 1 - .../snapshot/api_op_ListProfiles.go.snap | 1 - .../snapshot/api_op_ListSubjects.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListTrustAnchors.go.snap | 1 - .../api_op_PutAttributeMapping.go.snap | 1 - .../api_op_PutNotificationSettings.go.snap | 1 - .../api_op_ResetNotificationSettings.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateCrl.go.snap | 1 - .../snapshot/api_op_UpdateProfile.go.snap | 1 - .../snapshot/api_op_UpdateTrustAnchor.go.snap | 1 - service/route53/api_client.go | 31 -- .../route53/api_op_ActivateKeySigningKey.go | 3 - .../api_op_AssociateVPCWithHostedZone.go | 3 - .../route53/api_op_ChangeCidrCollection.go | 3 - .../api_op_ChangeResourceRecordSets.go | 3 - .../route53/api_op_ChangeTagsForResource.go | 3 - .../route53/api_op_CreateCidrCollection.go | 3 - service/route53/api_op_CreateHealthCheck.go | 3 - service/route53/api_op_CreateHostedZone.go | 3 - service/route53/api_op_CreateKeySigningKey.go | 3 - .../api_op_CreateQueryLoggingConfig.go | 3 - .../api_op_CreateReusableDelegationSet.go | 3 - service/route53/api_op_CreateTrafficPolicy.go | 3 - .../api_op_CreateTrafficPolicyInstance.go | 3 - .../api_op_CreateTrafficPolicyVersion.go | 3 - ...pi_op_CreateVPCAssociationAuthorization.go | 3 - .../route53/api_op_DeactivateKeySigningKey.go | 3 - .../route53/api_op_DeleteCidrCollection.go | 3 - service/route53/api_op_DeleteHealthCheck.go | 3 - service/route53/api_op_DeleteHostedZone.go | 3 - service/route53/api_op_DeleteKeySigningKey.go | 3 - .../api_op_DeleteQueryLoggingConfig.go | 3 - .../api_op_DeleteReusableDelegationSet.go | 3 - service/route53/api_op_DeleteTrafficPolicy.go | 3 - .../api_op_DeleteTrafficPolicyInstance.go | 3 - ...pi_op_DeleteVPCAssociationAuthorization.go | 3 - .../route53/api_op_DisableHostedZoneDNSSEC.go | 3 - .../api_op_DisassociateVPCFromHostedZone.go | 3 - .../route53/api_op_EnableHostedZoneDNSSEC.go | 3 - service/route53/api_op_GetAccountLimit.go | 3 - service/route53/api_op_GetChange.go | 3 - service/route53/api_op_GetCheckerIpRanges.go | 3 - service/route53/api_op_GetDNSSEC.go | 3 - service/route53/api_op_GetGeoLocation.go | 3 - service/route53/api_op_GetHealthCheck.go | 3 - service/route53/api_op_GetHealthCheckCount.go | 3 - .../api_op_GetHealthCheckLastFailureReason.go | 3 - .../route53/api_op_GetHealthCheckStatus.go | 3 - service/route53/api_op_GetHostedZone.go | 3 - service/route53/api_op_GetHostedZoneCount.go | 3 - service/route53/api_op_GetHostedZoneLimit.go | 3 - .../route53/api_op_GetQueryLoggingConfig.go | 3 - .../api_op_GetReusableDelegationSet.go | 3 - .../api_op_GetReusableDelegationSetLimit.go | 3 - service/route53/api_op_GetTrafficPolicy.go | 3 - .../api_op_GetTrafficPolicyInstance.go | 3 - .../api_op_GetTrafficPolicyInstanceCount.go | 3 - service/route53/api_op_ListCidrBlocks.go | 3 - service/route53/api_op_ListCidrCollections.go | 3 - service/route53/api_op_ListCidrLocations.go | 3 - service/route53/api_op_ListGeoLocations.go | 3 - service/route53/api_op_ListHealthChecks.go | 3 - service/route53/api_op_ListHostedZones.go | 3 - .../route53/api_op_ListHostedZonesByName.go | 3 - .../route53/api_op_ListHostedZonesByVPC.go | 3 - .../route53/api_op_ListQueryLoggingConfigs.go | 3 - .../route53/api_op_ListResourceRecordSets.go | 3 - .../api_op_ListReusableDelegationSets.go | 3 - service/route53/api_op_ListTagsForResource.go | 3 - .../route53/api_op_ListTagsForResources.go | 3 - service/route53/api_op_ListTrafficPolicies.go | 3 - .../api_op_ListTrafficPolicyInstances.go | 3 - ..._ListTrafficPolicyInstancesByHostedZone.go | 3 - ...i_op_ListTrafficPolicyInstancesByPolicy.go | 3 - .../api_op_ListTrafficPolicyVersions.go | 3 - ...api_op_ListVPCAssociationAuthorizations.go | 3 - service/route53/api_op_TestDNSAnswer.go | 3 - service/route53/api_op_UpdateHealthCheck.go | 3 - .../route53/api_op_UpdateHostedZoneComment.go | 3 - .../api_op_UpdateTrafficPolicyComment.go | 3 - .../api_op_UpdateTrafficPolicyInstance.go | 3 - .../api_op_ActivateKeySigningKey.go.snap | 1 - .../api_op_AssociateVPCWithHostedZone.go.snap | 1 - .../api_op_ChangeCidrCollection.go.snap | 1 - .../api_op_ChangeResourceRecordSets.go.snap | 1 - .../api_op_ChangeTagsForResource.go.snap | 1 - .../api_op_CreateCidrCollection.go.snap | 1 - .../snapshot/api_op_CreateHealthCheck.go.snap | 1 - .../snapshot/api_op_CreateHostedZone.go.snap | 1 - .../api_op_CreateKeySigningKey.go.snap | 1 - .../api_op_CreateQueryLoggingConfig.go.snap | 1 - ...api_op_CreateReusableDelegationSet.go.snap | 1 - .../api_op_CreateTrafficPolicy.go.snap | 1 - ...api_op_CreateTrafficPolicyInstance.go.snap | 1 - .../api_op_CreateTrafficPolicyVersion.go.snap | 1 - ..._CreateVPCAssociationAuthorization.go.snap | 1 - .../api_op_DeactivateKeySigningKey.go.snap | 1 - .../api_op_DeleteCidrCollection.go.snap | 1 - .../snapshot/api_op_DeleteHealthCheck.go.snap | 1 - .../snapshot/api_op_DeleteHostedZone.go.snap | 1 - .../api_op_DeleteKeySigningKey.go.snap | 1 - .../api_op_DeleteQueryLoggingConfig.go.snap | 1 - ...api_op_DeleteReusableDelegationSet.go.snap | 1 - .../api_op_DeleteTrafficPolicy.go.snap | 1 - ...api_op_DeleteTrafficPolicyInstance.go.snap | 1 - ..._DeleteVPCAssociationAuthorization.go.snap | 1 - .../api_op_DisableHostedZoneDNSSEC.go.snap | 1 - ...i_op_DisassociateVPCFromHostedZone.go.snap | 1 - .../api_op_EnableHostedZoneDNSSEC.go.snap | 1 - .../snapshot/api_op_GetAccountLimit.go.snap | 1 - .../route53/snapshot/api_op_GetChange.go.snap | 1 - .../api_op_GetCheckerIpRanges.go.snap | 1 - .../route53/snapshot/api_op_GetDNSSEC.go.snap | 1 - .../snapshot/api_op_GetGeoLocation.go.snap | 1 - .../snapshot/api_op_GetHealthCheck.go.snap | 1 - .../api_op_GetHealthCheckCount.go.snap | 1 - ...op_GetHealthCheckLastFailureReason.go.snap | 1 - .../api_op_GetHealthCheckStatus.go.snap | 1 - .../snapshot/api_op_GetHostedZone.go.snap | 1 - .../api_op_GetHostedZoneCount.go.snap | 1 - .../api_op_GetHostedZoneLimit.go.snap | 1 - .../api_op_GetQueryLoggingConfig.go.snap | 1 - .../api_op_GetReusableDelegationSet.go.snap | 1 - ...i_op_GetReusableDelegationSetLimit.go.snap | 1 - .../snapshot/api_op_GetTrafficPolicy.go.snap | 1 - .../api_op_GetTrafficPolicyInstance.go.snap | 1 - ...i_op_GetTrafficPolicyInstanceCount.go.snap | 1 - .../snapshot/api_op_ListCidrBlocks.go.snap | 1 - .../api_op_ListCidrCollections.go.snap | 1 - .../snapshot/api_op_ListCidrLocations.go.snap | 1 - .../snapshot/api_op_ListGeoLocations.go.snap | 1 - .../snapshot/api_op_ListHealthChecks.go.snap | 1 - .../snapshot/api_op_ListHostedZones.go.snap | 1 - .../api_op_ListHostedZonesByName.go.snap | 1 - .../api_op_ListHostedZonesByVPC.go.snap | 1 - .../api_op_ListQueryLoggingConfigs.go.snap | 1 - .../api_op_ListResourceRecordSets.go.snap | 1 - .../api_op_ListReusableDelegationSets.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListTagsForResources.go.snap | 1 - .../api_op_ListTrafficPolicies.go.snap | 1 - .../api_op_ListTrafficPolicyInstances.go.snap | 1 - ...TrafficPolicyInstancesByHostedZone.go.snap | 1 - ...ListTrafficPolicyInstancesByPolicy.go.snap | 1 - .../api_op_ListTrafficPolicyVersions.go.snap | 1 - ...p_ListVPCAssociationAuthorizations.go.snap | 1 - .../snapshot/api_op_TestDNSAnswer.go.snap | 1 - .../snapshot/api_op_UpdateHealthCheck.go.snap | 1 - .../api_op_UpdateHostedZoneComment.go.snap | 1 - .../api_op_UpdateTrafficPolicyComment.go.snap | 1 - ...api_op_UpdateTrafficPolicyInstance.go.snap | 1 - service/route53domains/api_client.go | 31 -- ...ceptDomainTransferFromAnotherAwsAccount.go | 3 - ...pi_op_AssociateDelegationSignerToDomain.go | 3 - ...CancelDomainTransferToAnotherAwsAccount.go | 3 - .../api_op_CheckDomainAvailability.go | 3 - .../api_op_CheckDomainTransferability.go | 3 - service/route53domains/api_op_DeleteDomain.go | 3 - .../api_op_DeleteTagsForDomain.go | 3 - .../api_op_DisableDomainAutoRenew.go | 3 - .../api_op_DisableDomainTransferLock.go | 3 - ..._DisassociateDelegationSignerFromDomain.go | 3 - .../api_op_EnableDomainAutoRenew.go | 3 - .../api_op_EnableDomainTransferLock.go | 3 - .../api_op_GetContactReachabilityStatus.go | 3 - .../route53domains/api_op_GetDomainDetail.go | 3 - .../api_op_GetDomainSuggestions.go | 3 - .../api_op_GetOperationDetail.go | 3 - service/route53domains/api_op_ListDomains.go | 3 - .../route53domains/api_op_ListOperations.go | 3 - service/route53domains/api_op_ListPrices.go | 3 - .../api_op_ListTagsForDomain.go | 3 - service/route53domains/api_op_PushDomain.go | 3 - .../route53domains/api_op_RegisterDomain.go | 3 - ...jectDomainTransferFromAnotherAwsAccount.go | 3 - service/route53domains/api_op_RenewDomain.go | 3 - .../api_op_ResendContactReachabilityEmail.go | 3 - .../api_op_ResendOperationAuthorization.go | 3 - .../api_op_RetrieveDomainAuthCode.go | 3 - .../route53domains/api_op_TransferDomain.go | 3 - ...pi_op_TransferDomainToAnotherAwsAccount.go | 3 - .../api_op_UpdateDomainContact.go | 3 - .../api_op_UpdateDomainContactPrivacy.go | 3 - .../api_op_UpdateDomainNameservers.go | 3 - .../api_op_UpdateTagsForDomain.go | 3 - service/route53domains/api_op_ViewBilling.go | 3 - ...omainTransferFromAnotherAwsAccount.go.snap | 1 - ..._AssociateDelegationSignerToDomain.go.snap | 1 - ...lDomainTransferToAnotherAwsAccount.go.snap | 1 - .../api_op_CheckDomainAvailability.go.snap | 1 - .../api_op_CheckDomainTransferability.go.snap | 1 - .../snapshot/api_op_DeleteDomain.go.snap | 1 - .../api_op_DeleteTagsForDomain.go.snap | 1 - .../api_op_DisableDomainAutoRenew.go.snap | 1 - .../api_op_DisableDomainTransferLock.go.snap | 1 - ...ssociateDelegationSignerFromDomain.go.snap | 1 - .../api_op_EnableDomainAutoRenew.go.snap | 1 - .../api_op_EnableDomainTransferLock.go.snap | 1 - ...pi_op_GetContactReachabilityStatus.go.snap | 1 - .../snapshot/api_op_GetDomainDetail.go.snap | 1 - .../api_op_GetDomainSuggestions.go.snap | 1 - .../api_op_GetOperationDetail.go.snap | 1 - .../snapshot/api_op_ListDomains.go.snap | 1 - .../snapshot/api_op_ListOperations.go.snap | 1 - .../snapshot/api_op_ListPrices.go.snap | 1 - .../snapshot/api_op_ListTagsForDomain.go.snap | 1 - .../snapshot/api_op_PushDomain.go.snap | 1 - .../snapshot/api_op_RegisterDomain.go.snap | 1 - ...omainTransferFromAnotherAwsAccount.go.snap | 1 - .../snapshot/api_op_RenewDomain.go.snap | 1 - ..._op_ResendContactReachabilityEmail.go.snap | 1 - ...pi_op_ResendOperationAuthorization.go.snap | 1 - .../api_op_RetrieveDomainAuthCode.go.snap | 1 - .../snapshot/api_op_TransferDomain.go.snap | 1 - ..._TransferDomainToAnotherAwsAccount.go.snap | 1 - .../api_op_UpdateDomainContact.go.snap | 1 - .../api_op_UpdateDomainContactPrivacy.go.snap | 1 - .../api_op_UpdateDomainNameservers.go.snap | 1 - .../api_op_UpdateTagsForDomain.go.snap | 1 - .../snapshot/api_op_ViewBilling.go.snap | 1 - service/route53profiles/api_client.go | 31 -- .../api_op_AssociateProfile.go | 3 - .../api_op_AssociateResourceToProfile.go | 3 - .../route53profiles/api_op_CreateProfile.go | 3 - .../route53profiles/api_op_DeleteProfile.go | 3 - .../api_op_DisassociateProfile.go | 3 - .../api_op_DisassociateResourceFromProfile.go | 3 - service/route53profiles/api_op_GetProfile.go | 3 - .../api_op_GetProfileAssociation.go | 3 - .../api_op_GetProfileResourceAssociation.go | 3 - .../api_op_ListProfileAssociations.go | 3 - .../api_op_ListProfileResourceAssociations.go | 3 - .../route53profiles/api_op_ListProfiles.go | 3 - .../api_op_ListTagsForResource.go | 3 - service/route53profiles/api_op_TagResource.go | 3 - .../route53profiles/api_op_UntagResource.go | 3 - ...api_op_UpdateProfileResourceAssociation.go | 3 - .../snapshot/api_op_AssociateProfile.go.snap | 1 - .../api_op_AssociateResourceToProfile.go.snap | 1 - .../snapshot/api_op_CreateProfile.go.snap | 1 - .../snapshot/api_op_DeleteProfile.go.snap | 1 - .../api_op_DisassociateProfile.go.snap | 1 - ...op_DisassociateResourceFromProfile.go.snap | 1 - .../snapshot/api_op_GetProfile.go.snap | 1 - .../api_op_GetProfileAssociation.go.snap | 1 - ...i_op_GetProfileResourceAssociation.go.snap | 1 - .../api_op_ListProfileAssociations.go.snap | 1 - ...op_ListProfileResourceAssociations.go.snap | 1 - .../snapshot/api_op_ListProfiles.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - ...p_UpdateProfileResourceAssociation.go.snap | 1 - service/route53recoverycluster/api_client.go | 31 -- .../api_op_GetRoutingControlState.go | 3 - .../api_op_ListRoutingControls.go | 3 - .../api_op_UpdateRoutingControlState.go | 3 - .../api_op_UpdateRoutingControlStates.go | 3 - .../api_op_GetRoutingControlState.go.snap | 1 - .../api_op_ListRoutingControls.go.snap | 1 - .../api_op_UpdateRoutingControlState.go.snap | 1 - .../api_op_UpdateRoutingControlStates.go.snap | 1 - .../api_client.go | 31 -- .../api_op_CreateCluster.go | 3 - .../api_op_CreateControlPanel.go | 3 - .../api_op_CreateRoutingControl.go | 3 - .../api_op_CreateSafetyRule.go | 3 - .../api_op_DeleteCluster.go | 3 - .../api_op_DeleteControlPanel.go | 3 - .../api_op_DeleteRoutingControl.go | 3 - .../api_op_DeleteSafetyRule.go | 3 - .../api_op_DescribeCluster.go | 3 - .../api_op_DescribeControlPanel.go | 3 - .../api_op_DescribeRoutingControl.go | 3 - .../api_op_DescribeSafetyRule.go | 3 - .../api_op_GetResourcePolicy.go | 3 - ...pi_op_ListAssociatedRoute53HealthChecks.go | 3 - .../api_op_ListClusters.go | 3 - .../api_op_ListControlPanels.go | 3 - .../api_op_ListRoutingControls.go | 3 - .../api_op_ListSafetyRules.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_TagResource.go | 3 - .../api_op_UntagResource.go | 3 - .../api_op_UpdateControlPanel.go | 3 - .../api_op_UpdateRoutingControl.go | 3 - .../api_op_UpdateSafetyRule.go | 3 - .../snapshot/api_op_CreateCluster.go.snap | 1 - .../api_op_CreateControlPanel.go.snap | 1 - .../api_op_CreateRoutingControl.go.snap | 1 - .../snapshot/api_op_CreateSafetyRule.go.snap | 1 - .../snapshot/api_op_DeleteCluster.go.snap | 1 - .../api_op_DeleteControlPanel.go.snap | 1 - .../api_op_DeleteRoutingControl.go.snap | 1 - .../snapshot/api_op_DeleteSafetyRule.go.snap | 1 - .../snapshot/api_op_DescribeCluster.go.snap | 1 - .../api_op_DescribeControlPanel.go.snap | 1 - .../api_op_DescribeRoutingControl.go.snap | 1 - .../api_op_DescribeSafetyRule.go.snap | 1 - .../snapshot/api_op_GetResourcePolicy.go.snap | 1 - ..._ListAssociatedRoute53HealthChecks.go.snap | 1 - .../snapshot/api_op_ListClusters.go.snap | 1 - .../snapshot/api_op_ListControlPanels.go.snap | 1 - .../api_op_ListRoutingControls.go.snap | 1 - .../snapshot/api_op_ListSafetyRules.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateControlPanel.go.snap | 1 - .../api_op_UpdateRoutingControl.go.snap | 1 - .../snapshot/api_op_UpdateSafetyRule.go.snap | 1 - .../route53recoveryreadiness/api_client.go | 31 -- .../api_op_CreateCell.go | 3 - .../api_op_CreateCrossAccountAuthorization.go | 3 - .../api_op_CreateReadinessCheck.go | 3 - .../api_op_CreateRecoveryGroup.go | 3 - .../api_op_CreateResourceSet.go | 3 - .../api_op_DeleteCell.go | 3 - .../api_op_DeleteCrossAccountAuthorization.go | 3 - .../api_op_DeleteReadinessCheck.go | 3 - .../api_op_DeleteRecoveryGroup.go | 3 - .../api_op_DeleteResourceSet.go | 3 - .../api_op_GetArchitectureRecommendations.go | 3 - .../api_op_GetCell.go | 3 - .../api_op_GetCellReadinessSummary.go | 3 - .../api_op_GetReadinessCheck.go | 3 - .../api_op_GetReadinessCheckResourceStatus.go | 3 - .../api_op_GetReadinessCheckStatus.go | 3 - .../api_op_GetRecoveryGroup.go | 3 - ...api_op_GetRecoveryGroupReadinessSummary.go | 3 - .../api_op_GetResourceSet.go | 3 - .../api_op_ListCells.go | 3 - .../api_op_ListCrossAccountAuthorizations.go | 3 - .../api_op_ListReadinessChecks.go | 3 - .../api_op_ListRecoveryGroups.go | 3 - .../api_op_ListResourceSets.go | 3 - .../api_op_ListRules.go | 3 - .../api_op_ListTagsForResources.go | 3 - .../api_op_TagResource.go | 3 - .../api_op_UntagResource.go | 3 - .../api_op_UpdateCell.go | 3 - .../api_op_UpdateReadinessCheck.go | 3 - .../api_op_UpdateRecoveryGroup.go | 3 - .../api_op_UpdateResourceSet.go | 3 - .../snapshot/api_op_CreateCell.go.snap | 1 - ...op_CreateCrossAccountAuthorization.go.snap | 1 - .../api_op_CreateReadinessCheck.go.snap | 1 - .../api_op_CreateRecoveryGroup.go.snap | 1 - .../snapshot/api_op_CreateResourceSet.go.snap | 1 - .../snapshot/api_op_DeleteCell.go.snap | 1 - ...op_DeleteCrossAccountAuthorization.go.snap | 1 - .../api_op_DeleteReadinessCheck.go.snap | 1 - .../api_op_DeleteRecoveryGroup.go.snap | 1 - .../snapshot/api_op_DeleteResourceSet.go.snap | 1 - ..._op_GetArchitectureRecommendations.go.snap | 1 - .../snapshot/api_op_GetCell.go.snap | 1 - .../api_op_GetCellReadinessSummary.go.snap | 1 - .../snapshot/api_op_GetReadinessCheck.go.snap | 1 - ...op_GetReadinessCheckResourceStatus.go.snap | 1 - .../api_op_GetReadinessCheckStatus.go.snap | 1 - .../snapshot/api_op_GetRecoveryGroup.go.snap | 1 - ...p_GetRecoveryGroupReadinessSummary.go.snap | 1 - .../snapshot/api_op_GetResourceSet.go.snap | 1 - .../snapshot/api_op_ListCells.go.snap | 1 - ..._op_ListCrossAccountAuthorizations.go.snap | 1 - .../api_op_ListReadinessChecks.go.snap | 1 - .../api_op_ListRecoveryGroups.go.snap | 1 - .../snapshot/api_op_ListResourceSets.go.snap | 1 - .../snapshot/api_op_ListRules.go.snap | 1 - .../api_op_ListTagsForResources.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateCell.go.snap | 1 - .../api_op_UpdateReadinessCheck.go.snap | 1 - .../api_op_UpdateRecoveryGroup.go.snap | 1 - .../snapshot/api_op_UpdateResourceSet.go.snap | 1 - service/route53resolver/api_client.go | 31 -- .../api_op_AssociateFirewallRuleGroup.go | 3 - ...i_op_AssociateResolverEndpointIpAddress.go | 3 - .../api_op_AssociateResolverQueryLogConfig.go | 3 - .../api_op_AssociateResolverRule.go | 3 - .../api_op_CreateFirewallDomainList.go | 3 - .../api_op_CreateFirewallRule.go | 3 - .../api_op_CreateFirewallRuleGroup.go | 3 - .../api_op_CreateOutpostResolver.go | 3 - .../api_op_CreateResolverEndpoint.go | 3 - .../api_op_CreateResolverQueryLogConfig.go | 3 - .../api_op_CreateResolverRule.go | 3 - .../api_op_DeleteFirewallDomainList.go | 3 - .../api_op_DeleteFirewallRule.go | 3 - .../api_op_DeleteFirewallRuleGroup.go | 3 - .../api_op_DeleteOutpostResolver.go | 3 - .../api_op_DeleteResolverEndpoint.go | 3 - .../api_op_DeleteResolverQueryLogConfig.go | 3 - .../api_op_DeleteResolverRule.go | 3 - .../api_op_DisassociateFirewallRuleGroup.go | 3 - ...p_DisassociateResolverEndpointIpAddress.go | 3 - ...i_op_DisassociateResolverQueryLogConfig.go | 3 - .../api_op_DisassociateResolverRule.go | 3 - .../api_op_GetFirewallConfig.go | 3 - .../api_op_GetFirewallDomainList.go | 3 - .../api_op_GetFirewallRuleGroup.go | 3 - .../api_op_GetFirewallRuleGroupAssociation.go | 3 - .../api_op_GetFirewallRuleGroupPolicy.go | 3 - .../api_op_GetOutpostResolver.go | 3 - .../api_op_GetResolverConfig.go | 3 - .../api_op_GetResolverDnssecConfig.go | 3 - .../api_op_GetResolverEndpoint.go | 3 - .../api_op_GetResolverQueryLogConfig.go | 3 - ...op_GetResolverQueryLogConfigAssociation.go | 3 - .../api_op_GetResolverQueryLogConfigPolicy.go | 3 - .../route53resolver/api_op_GetResolverRule.go | 3 - .../api_op_GetResolverRuleAssociation.go | 3 - .../api_op_GetResolverRulePolicy.go | 3 - .../api_op_ImportFirewallDomains.go | 3 - .../api_op_ListFirewallConfigs.go | 3 - .../api_op_ListFirewallDomainLists.go | 3 - .../api_op_ListFirewallDomains.go | 3 - ...pi_op_ListFirewallRuleGroupAssociations.go | 3 - .../api_op_ListFirewallRuleGroups.go | 3 - .../api_op_ListFirewallRules.go | 3 - .../api_op_ListOutpostResolvers.go | 3 - .../api_op_ListResolverConfigs.go | 3 - .../api_op_ListResolverDnssecConfigs.go | 3 - .../api_op_ListResolverEndpointIpAddresses.go | 3 - .../api_op_ListResolverEndpoints.go | 3 - ..._ListResolverQueryLogConfigAssociations.go | 3 - .../api_op_ListResolverQueryLogConfigs.go | 3 - .../api_op_ListResolverRuleAssociations.go | 3 - .../api_op_ListResolverRules.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_PutFirewallRuleGroupPolicy.go | 3 - .../api_op_PutResolverQueryLogConfigPolicy.go | 3 - .../api_op_PutResolverRulePolicy.go | 3 - service/route53resolver/api_op_TagResource.go | 3 - .../route53resolver/api_op_UntagResource.go | 3 - .../api_op_UpdateFirewallConfig.go | 3 - .../api_op_UpdateFirewallDomains.go | 3 - .../api_op_UpdateFirewallRule.go | 3 - ...i_op_UpdateFirewallRuleGroupAssociation.go | 3 - .../api_op_UpdateOutpostResolver.go | 3 - .../api_op_UpdateResolverConfig.go | 3 - .../api_op_UpdateResolverDnssecConfig.go | 3 - .../api_op_UpdateResolverEndpoint.go | 3 - .../api_op_UpdateResolverRule.go | 3 - .../api_op_AssociateFirewallRuleGroup.go.snap | 1 - ...AssociateResolverEndpointIpAddress.go.snap | 1 - ...op_AssociateResolverQueryLogConfig.go.snap | 1 - .../api_op_AssociateResolverRule.go.snap | 1 - .../api_op_CreateFirewallDomainList.go.snap | 1 - .../api_op_CreateFirewallRule.go.snap | 1 - .../api_op_CreateFirewallRuleGroup.go.snap | 1 - .../api_op_CreateOutpostResolver.go.snap | 1 - .../api_op_CreateResolverEndpoint.go.snap | 1 - ...pi_op_CreateResolverQueryLogConfig.go.snap | 1 - .../api_op_CreateResolverRule.go.snap | 1 - .../api_op_DeleteFirewallDomainList.go.snap | 1 - .../api_op_DeleteFirewallRule.go.snap | 1 - .../api_op_DeleteFirewallRuleGroup.go.snap | 1 - .../api_op_DeleteOutpostResolver.go.snap | 1 - .../api_op_DeleteResolverEndpoint.go.snap | 1 - ...pi_op_DeleteResolverQueryLogConfig.go.snap | 1 - .../api_op_DeleteResolverRule.go.snap | 1 - ...i_op_DisassociateFirewallRuleGroup.go.snap | 1 - ...associateResolverEndpointIpAddress.go.snap | 1 - ...DisassociateResolverQueryLogConfig.go.snap | 1 - .../api_op_DisassociateResolverRule.go.snap | 1 - .../snapshot/api_op_GetFirewallConfig.go.snap | 1 - .../api_op_GetFirewallDomainList.go.snap | 1 - .../api_op_GetFirewallRuleGroup.go.snap | 1 - ...op_GetFirewallRuleGroupAssociation.go.snap | 1 - .../api_op_GetFirewallRuleGroupPolicy.go.snap | 1 - .../api_op_GetOutpostResolver.go.snap | 1 - .../snapshot/api_op_GetResolverConfig.go.snap | 1 - .../api_op_GetResolverDnssecConfig.go.snap | 1 - .../api_op_GetResolverEndpoint.go.snap | 1 - .../api_op_GetResolverQueryLogConfig.go.snap | 1 - ...tResolverQueryLogConfigAssociation.go.snap | 1 - ...op_GetResolverQueryLogConfigPolicy.go.snap | 1 - .../snapshot/api_op_GetResolverRule.go.snap | 1 - .../api_op_GetResolverRuleAssociation.go.snap | 1 - .../api_op_GetResolverRulePolicy.go.snap | 1 - .../api_op_ImportFirewallDomains.go.snap | 1 - .../api_op_ListFirewallConfigs.go.snap | 1 - .../api_op_ListFirewallDomainLists.go.snap | 1 - .../api_op_ListFirewallDomains.go.snap | 1 - ..._ListFirewallRuleGroupAssociations.go.snap | 1 - .../api_op_ListFirewallRuleGroups.go.snap | 1 - .../snapshot/api_op_ListFirewallRules.go.snap | 1 - .../api_op_ListOutpostResolvers.go.snap | 1 - .../api_op_ListResolverConfigs.go.snap | 1 - .../api_op_ListResolverDnssecConfigs.go.snap | 1 - ...op_ListResolverEndpointIpAddresses.go.snap | 1 - .../api_op_ListResolverEndpoints.go.snap | 1 - ...ResolverQueryLogConfigAssociations.go.snap | 1 - ...api_op_ListResolverQueryLogConfigs.go.snap | 1 - ...pi_op_ListResolverRuleAssociations.go.snap | 1 - .../snapshot/api_op_ListResolverRules.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_PutFirewallRuleGroupPolicy.go.snap | 1 - ...op_PutResolverQueryLogConfigPolicy.go.snap | 1 - .../api_op_PutResolverRulePolicy.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateFirewallConfig.go.snap | 1 - .../api_op_UpdateFirewallDomains.go.snap | 1 - .../api_op_UpdateFirewallRule.go.snap | 1 - ...UpdateFirewallRuleGroupAssociation.go.snap | 1 - .../api_op_UpdateOutpostResolver.go.snap | 1 - .../api_op_UpdateResolverConfig.go.snap | 1 - .../api_op_UpdateResolverDnssecConfig.go.snap | 1 - .../api_op_UpdateResolverEndpoint.go.snap | 1 - .../api_op_UpdateResolverRule.go.snap | 1 - service/rum/api_client.go | 31 -- .../api_op_BatchCreateRumMetricDefinitions.go | 3 - .../api_op_BatchDeleteRumMetricDefinitions.go | 3 - .../api_op_BatchGetRumMetricDefinitions.go | 3 - service/rum/api_op_CreateAppMonitor.go | 3 - service/rum/api_op_DeleteAppMonitor.go | 3 - .../rum/api_op_DeleteRumMetricsDestination.go | 3 - service/rum/api_op_GetAppMonitor.go | 3 - service/rum/api_op_GetAppMonitorData.go | 3 - service/rum/api_op_ListAppMonitors.go | 3 - .../rum/api_op_ListRumMetricsDestinations.go | 3 - service/rum/api_op_ListTagsForResource.go | 3 - service/rum/api_op_PutRumEvents.go | 3 - .../rum/api_op_PutRumMetricsDestination.go | 3 - service/rum/api_op_TagResource.go | 3 - service/rum/api_op_UntagResource.go | 3 - service/rum/api_op_UpdateAppMonitor.go | 3 - .../rum/api_op_UpdateRumMetricDefinition.go | 3 - ...op_BatchCreateRumMetricDefinitions.go.snap | 1 - ...op_BatchDeleteRumMetricDefinitions.go.snap | 1 - ...pi_op_BatchGetRumMetricDefinitions.go.snap | 1 - .../snapshot/api_op_CreateAppMonitor.go.snap | 1 - .../snapshot/api_op_DeleteAppMonitor.go.snap | 1 - ...api_op_DeleteRumMetricsDestination.go.snap | 1 - .../rum/snapshot/api_op_GetAppMonitor.go.snap | 1 - .../snapshot/api_op_GetAppMonitorData.go.snap | 1 - .../snapshot/api_op_ListAppMonitors.go.snap | 1 - .../api_op_ListRumMetricsDestinations.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../rum/snapshot/api_op_PutRumEvents.go.snap | 1 - .../api_op_PutRumMetricsDestination.go.snap | 1 - .../rum/snapshot/api_op_TagResource.go.snap | 1 - .../rum/snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateAppMonitor.go.snap | 1 - .../api_op_UpdateRumMetricDefinition.go.snap | 1 - service/s3/api_client.go | 31 -- service/s3/api_op_AbortMultipartUpload.go | 3 - service/s3/api_op_CompleteMultipartUpload.go | 3 - service/s3/api_op_CopyObject.go | 3 - service/s3/api_op_CreateBucket.go | 3 - ..._CreateBucketMetadataTableConfiguration.go | 3 - service/s3/api_op_CreateMultipartUpload.go | 3 - service/s3/api_op_CreateSession.go | 3 - service/s3/api_op_DeleteBucket.go | 3 - ...i_op_DeleteBucketAnalyticsConfiguration.go | 3 - service/s3/api_op_DeleteBucketCors.go | 3 - service/s3/api_op_DeleteBucketEncryption.go | 3 - ...teBucketIntelligentTieringConfiguration.go | 3 - ...i_op_DeleteBucketInventoryConfiguration.go | 3 - service/s3/api_op_DeleteBucketLifecycle.go | 3 - ..._DeleteBucketMetadataTableConfiguration.go | 3 - ...api_op_DeleteBucketMetricsConfiguration.go | 3 - .../api_op_DeleteBucketOwnershipControls.go | 3 - service/s3/api_op_DeleteBucketPolicy.go | 3 - service/s3/api_op_DeleteBucketReplication.go | 3 - service/s3/api_op_DeleteBucketTagging.go | 3 - service/s3/api_op_DeleteBucketWebsite.go | 3 - service/s3/api_op_DeleteObject.go | 3 - service/s3/api_op_DeleteObjectTagging.go | 3 - service/s3/api_op_DeleteObjects.go | 3 - service/s3/api_op_DeletePublicAccessBlock.go | 3 - ...api_op_GetBucketAccelerateConfiguration.go | 3 - service/s3/api_op_GetBucketAcl.go | 3 - .../api_op_GetBucketAnalyticsConfiguration.go | 3 - service/s3/api_op_GetBucketCors.go | 3 - service/s3/api_op_GetBucketEncryption.go | 3 - ...etBucketIntelligentTieringConfiguration.go | 3 - .../api_op_GetBucketInventoryConfiguration.go | 3 - .../api_op_GetBucketLifecycleConfiguration.go | 3 - service/s3/api_op_GetBucketLocation.go | 3 - service/s3/api_op_GetBucketLogging.go | 3 - ..._op_GetBucketMetadataTableConfiguration.go | 3 - .../api_op_GetBucketMetricsConfiguration.go | 3 - ...i_op_GetBucketNotificationConfiguration.go | 3 - .../s3/api_op_GetBucketOwnershipControls.go | 3 - service/s3/api_op_GetBucketPolicy.go | 3 - service/s3/api_op_GetBucketPolicyStatus.go | 3 - service/s3/api_op_GetBucketReplication.go | 3 - service/s3/api_op_GetBucketRequestPayment.go | 3 - service/s3/api_op_GetBucketTagging.go | 3 - service/s3/api_op_GetBucketVersioning.go | 3 - service/s3/api_op_GetBucketWebsite.go | 3 - service/s3/api_op_GetObject.go | 3 - service/s3/api_op_GetObjectAcl.go | 3 - service/s3/api_op_GetObjectAttributes.go | 3 - service/s3/api_op_GetObjectLegalHold.go | 3 - .../s3/api_op_GetObjectLockConfiguration.go | 3 - service/s3/api_op_GetObjectRetention.go | 3 - service/s3/api_op_GetObjectTagging.go | 3 - service/s3/api_op_GetObjectTorrent.go | 3 - service/s3/api_op_GetPublicAccessBlock.go | 3 - service/s3/api_op_HeadBucket.go | 3 - service/s3/api_op_HeadObject.go | 3 - ...pi_op_ListBucketAnalyticsConfigurations.go | 3 - ...tBucketIntelligentTieringConfigurations.go | 3 - ...pi_op_ListBucketInventoryConfigurations.go | 3 - .../api_op_ListBucketMetricsConfigurations.go | 3 - service/s3/api_op_ListBuckets.go | 3 - service/s3/api_op_ListDirectoryBuckets.go | 3 - service/s3/api_op_ListMultipartUploads.go | 3 - service/s3/api_op_ListObjectVersions.go | 3 - service/s3/api_op_ListObjects.go | 3 - service/s3/api_op_ListObjectsV2.go | 3 - service/s3/api_op_ListParts.go | 3 - ...api_op_PutBucketAccelerateConfiguration.go | 3 - service/s3/api_op_PutBucketAcl.go | 3 - .../api_op_PutBucketAnalyticsConfiguration.go | 3 - service/s3/api_op_PutBucketCors.go | 3 - service/s3/api_op_PutBucketEncryption.go | 3 - ...utBucketIntelligentTieringConfiguration.go | 3 - .../api_op_PutBucketInventoryConfiguration.go | 3 - .../api_op_PutBucketLifecycleConfiguration.go | 3 - service/s3/api_op_PutBucketLogging.go | 3 - .../api_op_PutBucketMetricsConfiguration.go | 3 - ...i_op_PutBucketNotificationConfiguration.go | 3 - .../s3/api_op_PutBucketOwnershipControls.go | 3 - service/s3/api_op_PutBucketPolicy.go | 3 - service/s3/api_op_PutBucketReplication.go | 3 - service/s3/api_op_PutBucketRequestPayment.go | 3 - service/s3/api_op_PutBucketTagging.go | 3 - service/s3/api_op_PutBucketVersioning.go | 3 - service/s3/api_op_PutBucketWebsite.go | 3 - service/s3/api_op_PutObject.go | 3 - service/s3/api_op_PutObjectAcl.go | 3 - service/s3/api_op_PutObjectLegalHold.go | 3 - .../s3/api_op_PutObjectLockConfiguration.go | 3 - service/s3/api_op_PutObjectRetention.go | 3 - service/s3/api_op_PutObjectTagging.go | 3 - service/s3/api_op_PutPublicAccessBlock.go | 3 - service/s3/api_op_RestoreObject.go | 3 - service/s3/api_op_SelectObjectContent.go | 3 - service/s3/api_op_UploadPart.go | 3 - service/s3/api_op_UploadPartCopy.go | 3 - service/s3/api_op_WriteGetObjectResponse.go | 3 - .../api_op_AbortMultipartUpload.go.snap | 1 - .../api_op_CompleteMultipartUpload.go.snap | 1 - service/s3/snapshot/api_op_CopyObject.go.snap | 1 - .../s3/snapshot/api_op_CreateBucket.go.snap | 1 - ...teBucketMetadataTableConfiguration.go.snap | 1 - .../api_op_CreateMultipartUpload.go.snap | 1 - .../s3/snapshot/api_op_CreateSession.go.snap | 1 - .../s3/snapshot/api_op_DeleteBucket.go.snap | 1 - ...DeleteBucketAnalyticsConfiguration.go.snap | 1 - .../snapshot/api_op_DeleteBucketCors.go.snap | 1 - .../api_op_DeleteBucketEncryption.go.snap | 1 - ...ketIntelligentTieringConfiguration.go.snap | 1 - ...DeleteBucketInventoryConfiguration.go.snap | 1 - .../api_op_DeleteBucketLifecycle.go.snap | 1 - ...teBucketMetadataTableConfiguration.go.snap | 1 - ...p_DeleteBucketMetricsConfiguration.go.snap | 1 - ...i_op_DeleteBucketOwnershipControls.go.snap | 1 - .../api_op_DeleteBucketPolicy.go.snap | 1 - .../api_op_DeleteBucketReplication.go.snap | 1 - .../api_op_DeleteBucketTagging.go.snap | 1 - .../api_op_DeleteBucketWebsite.go.snap | 1 - .../s3/snapshot/api_op_DeleteObject.go.snap | 1 - .../api_op_DeleteObjectTagging.go.snap | 1 - .../s3/snapshot/api_op_DeleteObjects.go.snap | 1 - .../api_op_DeletePublicAccessBlock.go.snap | 1 - ...p_GetBucketAccelerateConfiguration.go.snap | 1 - .../s3/snapshot/api_op_GetBucketAcl.go.snap | 1 - ...op_GetBucketAnalyticsConfiguration.go.snap | 1 - .../s3/snapshot/api_op_GetBucketCors.go.snap | 1 - .../api_op_GetBucketEncryption.go.snap | 1 - ...ketIntelligentTieringConfiguration.go.snap | 1 - ...op_GetBucketInventoryConfiguration.go.snap | 1 - ...op_GetBucketLifecycleConfiguration.go.snap | 1 - .../snapshot/api_op_GetBucketLocation.go.snap | 1 - .../snapshot/api_op_GetBucketLogging.go.snap | 1 - ...etBucketMetadataTableConfiguration.go.snap | 1 - ...i_op_GetBucketMetricsConfiguration.go.snap | 1 - ...GetBucketNotificationConfiguration.go.snap | 1 - .../api_op_GetBucketOwnershipControls.go.snap | 1 - .../snapshot/api_op_GetBucketPolicy.go.snap | 1 - .../api_op_GetBucketPolicyStatus.go.snap | 1 - .../api_op_GetBucketReplication.go.snap | 1 - .../api_op_GetBucketRequestPayment.go.snap | 1 - .../snapshot/api_op_GetBucketTagging.go.snap | 1 - .../api_op_GetBucketVersioning.go.snap | 1 - .../snapshot/api_op_GetBucketWebsite.go.snap | 1 - service/s3/snapshot/api_op_GetObject.go.snap | 1 - .../s3/snapshot/api_op_GetObjectAcl.go.snap | 1 - .../api_op_GetObjectAttributes.go.snap | 1 - .../api_op_GetObjectLegalHold.go.snap | 1 - .../api_op_GetObjectLockConfiguration.go.snap | 1 - .../api_op_GetObjectRetention.go.snap | 1 - .../snapshot/api_op_GetObjectTagging.go.snap | 1 - .../snapshot/api_op_GetObjectTorrent.go.snap | 1 - .../api_op_GetPublicAccessBlock.go.snap | 1 - service/s3/snapshot/api_op_HeadBucket.go.snap | 1 - service/s3/snapshot/api_op_HeadObject.go.snap | 1 - ..._ListBucketAnalyticsConfigurations.go.snap | 1 - ...etIntelligentTieringConfigurations.go.snap | 1 - ..._ListBucketInventoryConfigurations.go.snap | 1 - ...op_ListBucketMetricsConfigurations.go.snap | 1 - .../s3/snapshot/api_op_ListBuckets.go.snap | 1 - .../api_op_ListDirectoryBuckets.go.snap | 1 - .../api_op_ListMultipartUploads.go.snap | 1 - .../api_op_ListObjectVersions.go.snap | 1 - .../s3/snapshot/api_op_ListObjects.go.snap | 1 - .../s3/snapshot/api_op_ListObjectsV2.go.snap | 1 - service/s3/snapshot/api_op_ListParts.go.snap | 1 - ...p_PutBucketAccelerateConfiguration.go.snap | 1 - .../s3/snapshot/api_op_PutBucketAcl.go.snap | 1 - ...op_PutBucketAnalyticsConfiguration.go.snap | 1 - .../s3/snapshot/api_op_PutBucketCors.go.snap | 1 - .../api_op_PutBucketEncryption.go.snap | 1 - ...ketIntelligentTieringConfiguration.go.snap | 1 - ...op_PutBucketInventoryConfiguration.go.snap | 1 - ...op_PutBucketLifecycleConfiguration.go.snap | 1 - .../snapshot/api_op_PutBucketLogging.go.snap | 1 - ...i_op_PutBucketMetricsConfiguration.go.snap | 1 - ...PutBucketNotificationConfiguration.go.snap | 1 - .../api_op_PutBucketOwnershipControls.go.snap | 1 - .../snapshot/api_op_PutBucketPolicy.go.snap | 1 - .../api_op_PutBucketReplication.go.snap | 1 - .../api_op_PutBucketRequestPayment.go.snap | 1 - .../snapshot/api_op_PutBucketTagging.go.snap | 1 - .../api_op_PutBucketVersioning.go.snap | 1 - .../snapshot/api_op_PutBucketWebsite.go.snap | 1 - service/s3/snapshot/api_op_PutObject.go.snap | 1 - .../s3/snapshot/api_op_PutObjectAcl.go.snap | 1 - .../api_op_PutObjectLegalHold.go.snap | 1 - .../api_op_PutObjectLockConfiguration.go.snap | 1 - .../api_op_PutObjectRetention.go.snap | 1 - .../snapshot/api_op_PutObjectTagging.go.snap | 1 - .../api_op_PutPublicAccessBlock.go.snap | 1 - .../s3/snapshot/api_op_RestoreObject.go.snap | 1 - .../api_op_SelectObjectContent.go.snap | 1 - service/s3/snapshot/api_op_UploadPart.go.snap | 1 - .../s3/snapshot/api_op_UploadPartCopy.go.snap | 1 - .../api_op_WriteGetObjectResponse.go.snap | 1 - service/s3control/api_client.go | 31 -- ..._op_AssociateAccessGrantsIdentityCenter.go | 3 - service/s3control/api_op_CreateAccessGrant.go | 3 - .../api_op_CreateAccessGrantsInstance.go | 3 - .../api_op_CreateAccessGrantsLocation.go | 3 - service/s3control/api_op_CreateAccessPoint.go | 3 - ...api_op_CreateAccessPointForObjectLambda.go | 3 - service/s3control/api_op_CreateBucket.go | 3 - service/s3control/api_op_CreateJob.go | 3 - .../api_op_CreateMultiRegionAccessPoint.go | 3 - .../api_op_CreateStorageLensGroup.go | 3 - service/s3control/api_op_DeleteAccessGrant.go | 3 - .../api_op_DeleteAccessGrantsInstance.go | 3 - ...eleteAccessGrantsInstanceResourcePolicy.go | 3 - .../api_op_DeleteAccessGrantsLocation.go | 3 - service/s3control/api_op_DeleteAccessPoint.go | 3 - ...api_op_DeleteAccessPointForObjectLambda.go | 3 - .../api_op_DeleteAccessPointPolicy.go | 3 - ..._DeleteAccessPointPolicyForObjectLambda.go | 3 - service/s3control/api_op_DeleteBucket.go | 3 - ...i_op_DeleteBucketLifecycleConfiguration.go | 3 - .../s3control/api_op_DeleteBucketPolicy.go | 3 - .../api_op_DeleteBucketReplication.go | 3 - .../s3control/api_op_DeleteBucketTagging.go | 3 - service/s3control/api_op_DeleteJobTagging.go | 3 - .../api_op_DeleteMultiRegionAccessPoint.go | 3 - .../api_op_DeletePublicAccessBlock.go | 3 - .../api_op_DeleteStorageLensConfiguration.go | 3 - ...p_DeleteStorageLensConfigurationTagging.go | 3 - .../api_op_DeleteStorageLensGroup.go | 3 - service/s3control/api_op_DescribeJob.go | 3 - ...DescribeMultiRegionAccessPointOperation.go | 3 - ...op_DissociateAccessGrantsIdentityCenter.go | 3 - service/s3control/api_op_GetAccessGrant.go | 3 - .../api_op_GetAccessGrantsInstance.go | 3 - ...api_op_GetAccessGrantsInstanceForPrefix.go | 3 - ...p_GetAccessGrantsInstanceResourcePolicy.go | 3 - .../api_op_GetAccessGrantsLocation.go | 3 - service/s3control/api_op_GetAccessPoint.go | 3 - ...AccessPointConfigurationForObjectLambda.go | 3 - .../api_op_GetAccessPointForObjectLambda.go | 3 - .../s3control/api_op_GetAccessPointPolicy.go | 3 - ..._op_GetAccessPointPolicyForObjectLambda.go | 3 - .../api_op_GetAccessPointPolicyStatus.go | 3 - ...tAccessPointPolicyStatusForObjectLambda.go | 3 - service/s3control/api_op_GetBucket.go | 3 - .../api_op_GetBucketLifecycleConfiguration.go | 3 - service/s3control/api_op_GetBucketPolicy.go | 3 - .../s3control/api_op_GetBucketReplication.go | 3 - service/s3control/api_op_GetBucketTagging.go | 3 - .../s3control/api_op_GetBucketVersioning.go | 3 - service/s3control/api_op_GetDataAccess.go | 3 - service/s3control/api_op_GetJobTagging.go | 3 - .../api_op_GetMultiRegionAccessPoint.go | 3 - .../api_op_GetMultiRegionAccessPointPolicy.go | 3 - ...p_GetMultiRegionAccessPointPolicyStatus.go | 3 - .../api_op_GetMultiRegionAccessPointRoutes.go | 3 - .../s3control/api_op_GetPublicAccessBlock.go | 3 - .../api_op_GetStorageLensConfiguration.go | 3 - ...i_op_GetStorageLensConfigurationTagging.go | 3 - .../s3control/api_op_GetStorageLensGroup.go | 3 - service/s3control/api_op_ListAccessGrants.go | 3 - .../api_op_ListAccessGrantsInstances.go | 3 - .../api_op_ListAccessGrantsLocations.go | 3 - service/s3control/api_op_ListAccessPoints.go | 3 - .../api_op_ListAccessPointsForObjectLambda.go | 3 - .../api_op_ListCallerAccessGrants.go | 3 - service/s3control/api_op_ListJobs.go | 3 - .../api_op_ListMultiRegionAccessPoints.go | 3 - .../s3control/api_op_ListRegionalBuckets.go | 3 - .../api_op_ListStorageLensConfigurations.go | 3 - .../s3control/api_op_ListStorageLensGroups.go | 3 - .../s3control/api_op_ListTagsForResource.go | 3 - ...p_PutAccessGrantsInstanceResourcePolicy.go | 3 - ...AccessPointConfigurationForObjectLambda.go | 3 - .../s3control/api_op_PutAccessPointPolicy.go | 3 - ..._op_PutAccessPointPolicyForObjectLambda.go | 3 - .../api_op_PutBucketLifecycleConfiguration.go | 3 - service/s3control/api_op_PutBucketPolicy.go | 3 - .../s3control/api_op_PutBucketReplication.go | 3 - service/s3control/api_op_PutBucketTagging.go | 3 - .../s3control/api_op_PutBucketVersioning.go | 3 - service/s3control/api_op_PutJobTagging.go | 3 - .../api_op_PutMultiRegionAccessPointPolicy.go | 3 - .../s3control/api_op_PutPublicAccessBlock.go | 3 - .../api_op_PutStorageLensConfiguration.go | 3 - ...i_op_PutStorageLensConfigurationTagging.go | 3 - ...i_op_SubmitMultiRegionAccessPointRoutes.go | 3 - service/s3control/api_op_TagResource.go | 3 - service/s3control/api_op_UntagResource.go | 3 - .../api_op_UpdateAccessGrantsLocation.go | 3 - service/s3control/api_op_UpdateJobPriority.go | 3 - service/s3control/api_op_UpdateJobStatus.go | 3 - .../api_op_UpdateStorageLensGroup.go | 3 - ...ssociateAccessGrantsIdentityCenter.go.snap | 1 - .../snapshot/api_op_CreateAccessGrant.go.snap | 1 - .../api_op_CreateAccessGrantsInstance.go.snap | 1 - .../api_op_CreateAccessGrantsLocation.go.snap | 1 - .../snapshot/api_op_CreateAccessPoint.go.snap | 1 - ...p_CreateAccessPointForObjectLambda.go.snap | 1 - .../snapshot/api_op_CreateBucket.go.snap | 1 - .../snapshot/api_op_CreateJob.go.snap | 1 - ...pi_op_CreateMultiRegionAccessPoint.go.snap | 1 - .../api_op_CreateStorageLensGroup.go.snap | 1 - .../snapshot/api_op_DeleteAccessGrant.go.snap | 1 - .../api_op_DeleteAccessGrantsInstance.go.snap | 1 - ...AccessGrantsInstanceResourcePolicy.go.snap | 1 - .../api_op_DeleteAccessGrantsLocation.go.snap | 1 - .../snapshot/api_op_DeleteAccessPoint.go.snap | 1 - ...p_DeleteAccessPointForObjectLambda.go.snap | 1 - .../api_op_DeleteAccessPointPolicy.go.snap | 1 - ...teAccessPointPolicyForObjectLambda.go.snap | 1 - .../snapshot/api_op_DeleteBucket.go.snap | 1 - ...DeleteBucketLifecycleConfiguration.go.snap | 1 - .../api_op_DeleteBucketPolicy.go.snap | 1 - .../api_op_DeleteBucketReplication.go.snap | 1 - .../api_op_DeleteBucketTagging.go.snap | 1 - .../snapshot/api_op_DeleteJobTagging.go.snap | 1 - ...pi_op_DeleteMultiRegionAccessPoint.go.snap | 1 - .../api_op_DeletePublicAccessBlock.go.snap | 1 - ..._op_DeleteStorageLensConfiguration.go.snap | 1 - ...eteStorageLensConfigurationTagging.go.snap | 1 - .../api_op_DeleteStorageLensGroup.go.snap | 1 - .../snapshot/api_op_DescribeJob.go.snap | 1 - ...ibeMultiRegionAccessPointOperation.go.snap | 1 - ...ssociateAccessGrantsIdentityCenter.go.snap | 1 - .../snapshot/api_op_GetAccessGrant.go.snap | 1 - .../api_op_GetAccessGrantsInstance.go.snap | 1 - ...p_GetAccessGrantsInstanceForPrefix.go.snap | 1 - ...AccessGrantsInstanceResourcePolicy.go.snap | 1 - .../api_op_GetAccessGrantsLocation.go.snap | 1 - .../snapshot/api_op_GetAccessPoint.go.snap | 1 - ...sPointConfigurationForObjectLambda.go.snap | 1 - ...i_op_GetAccessPointForObjectLambda.go.snap | 1 - .../api_op_GetAccessPointPolicy.go.snap | 1 - ...etAccessPointPolicyForObjectLambda.go.snap | 1 - .../api_op_GetAccessPointPolicyStatus.go.snap | 1 - ...ssPointPolicyStatusForObjectLambda.go.snap | 1 - .../snapshot/api_op_GetBucket.go.snap | 1 - ...op_GetBucketLifecycleConfiguration.go.snap | 1 - .../snapshot/api_op_GetBucketPolicy.go.snap | 1 - .../api_op_GetBucketReplication.go.snap | 1 - .../snapshot/api_op_GetBucketTagging.go.snap | 1 - .../api_op_GetBucketVersioning.go.snap | 1 - .../snapshot/api_op_GetDataAccess.go.snap | 1 - .../snapshot/api_op_GetJobTagging.go.snap | 1 - .../api_op_GetMultiRegionAccessPoint.go.snap | 1 - ...op_GetMultiRegionAccessPointPolicy.go.snap | 1 - ...MultiRegionAccessPointPolicyStatus.go.snap | 1 - ...op_GetMultiRegionAccessPointRoutes.go.snap | 1 - .../api_op_GetPublicAccessBlock.go.snap | 1 - ...api_op_GetStorageLensConfiguration.go.snap | 1 - ...GetStorageLensConfigurationTagging.go.snap | 1 - .../api_op_GetStorageLensGroup.go.snap | 1 - .../snapshot/api_op_ListAccessGrants.go.snap | 1 - .../api_op_ListAccessGrantsInstances.go.snap | 1 - .../api_op_ListAccessGrantsLocations.go.snap | 1 - .../snapshot/api_op_ListAccessPoints.go.snap | 1 - ...op_ListAccessPointsForObjectLambda.go.snap | 1 - .../api_op_ListCallerAccessGrants.go.snap | 1 - .../snapshot/api_op_ListJobs.go.snap | 1 - ...api_op_ListMultiRegionAccessPoints.go.snap | 1 - .../api_op_ListRegionalBuckets.go.snap | 1 - ...i_op_ListStorageLensConfigurations.go.snap | 1 - .../api_op_ListStorageLensGroups.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - ...AccessGrantsInstanceResourcePolicy.go.snap | 1 - ...sPointConfigurationForObjectLambda.go.snap | 1 - .../api_op_PutAccessPointPolicy.go.snap | 1 - ...utAccessPointPolicyForObjectLambda.go.snap | 1 - ...op_PutBucketLifecycleConfiguration.go.snap | 1 - .../snapshot/api_op_PutBucketPolicy.go.snap | 1 - .../api_op_PutBucketReplication.go.snap | 1 - .../snapshot/api_op_PutBucketTagging.go.snap | 1 - .../api_op_PutBucketVersioning.go.snap | 1 - .../snapshot/api_op_PutJobTagging.go.snap | 1 - ...op_PutMultiRegionAccessPointPolicy.go.snap | 1 - .../api_op_PutPublicAccessBlock.go.snap | 1 - ...api_op_PutStorageLensConfiguration.go.snap | 1 - ...PutStorageLensConfigurationTagging.go.snap | 1 - ...SubmitMultiRegionAccessPointRoutes.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateAccessGrantsLocation.go.snap | 1 - .../snapshot/api_op_UpdateJobPriority.go.snap | 1 - .../snapshot/api_op_UpdateJobStatus.go.snap | 1 - .../api_op_UpdateStorageLensGroup.go.snap | 1 - service/s3outposts/api_client.go | 31 -- service/s3outposts/api_op_CreateEndpoint.go | 3 - service/s3outposts/api_op_DeleteEndpoint.go | 3 - service/s3outposts/api_op_ListEndpoints.go | 3 - .../s3outposts/api_op_ListOutpostsWithS3.go | 3 - .../s3outposts/api_op_ListSharedEndpoints.go | 3 - .../snapshot/api_op_CreateEndpoint.go.snap | 1 - .../snapshot/api_op_DeleteEndpoint.go.snap | 1 - .../snapshot/api_op_ListEndpoints.go.snap | 1 - .../api_op_ListOutpostsWithS3.go.snap | 1 - .../api_op_ListSharedEndpoints.go.snap | 1 - service/s3tables/api_client.go | 31 -- service/s3tables/api_op_CreateNamespace.go | 3 - service/s3tables/api_op_CreateTable.go | 3 - service/s3tables/api_op_CreateTableBucket.go | 3 - service/s3tables/api_op_DeleteNamespace.go | 3 - service/s3tables/api_op_DeleteTable.go | 3 - service/s3tables/api_op_DeleteTableBucket.go | 3 - .../api_op_DeleteTableBucketPolicy.go | 3 - service/s3tables/api_op_DeleteTablePolicy.go | 3 - service/s3tables/api_op_GetNamespace.go | 3 - service/s3tables/api_op_GetTable.go | 3 - service/s3tables/api_op_GetTableBucket.go | 3 - ..._GetTableBucketMaintenanceConfiguration.go | 3 - .../s3tables/api_op_GetTableBucketPolicy.go | 3 - ...api_op_GetTableMaintenanceConfiguration.go | 3 - .../api_op_GetTableMaintenanceJobStatus.go | 3 - .../api_op_GetTableMetadataLocation.go | 3 - service/s3tables/api_op_GetTablePolicy.go | 3 - service/s3tables/api_op_ListNamespaces.go | 3 - service/s3tables/api_op_ListTableBuckets.go | 3 - service/s3tables/api_op_ListTables.go | 3 - ..._PutTableBucketMaintenanceConfiguration.go | 3 - .../s3tables/api_op_PutTableBucketPolicy.go | 3 - ...api_op_PutTableMaintenanceConfiguration.go | 3 - service/s3tables/api_op_PutTablePolicy.go | 3 - service/s3tables/api_op_RenameTable.go | 3 - .../api_op_UpdateTableMetadataLocation.go | 3 - .../snapshot/api_op_CreateNamespace.go.snap | 1 - .../snapshot/api_op_CreateTable.go.snap | 1 - .../snapshot/api_op_CreateTableBucket.go.snap | 1 - .../snapshot/api_op_DeleteNamespace.go.snap | 1 - .../snapshot/api_op_DeleteTable.go.snap | 1 - .../snapshot/api_op_DeleteTableBucket.go.snap | 1 - .../api_op_DeleteTableBucketPolicy.go.snap | 1 - .../snapshot/api_op_DeleteTablePolicy.go.snap | 1 - .../snapshot/api_op_GetNamespace.go.snap | 1 - .../s3tables/snapshot/api_op_GetTable.go.snap | 1 - .../snapshot/api_op_GetTableBucket.go.snap | 1 - ...ableBucketMaintenanceConfiguration.go.snap | 1 - .../api_op_GetTableBucketPolicy.go.snap | 1 - ...p_GetTableMaintenanceConfiguration.go.snap | 1 - ...pi_op_GetTableMaintenanceJobStatus.go.snap | 1 - .../api_op_GetTableMetadataLocation.go.snap | 1 - .../snapshot/api_op_GetTablePolicy.go.snap | 1 - .../snapshot/api_op_ListNamespaces.go.snap | 1 - .../snapshot/api_op_ListTableBuckets.go.snap | 1 - .../snapshot/api_op_ListTables.go.snap | 1 - ...ableBucketMaintenanceConfiguration.go.snap | 1 - .../api_op_PutTableBucketPolicy.go.snap | 1 - ...p_PutTableMaintenanceConfiguration.go.snap | 1 - .../snapshot/api_op_PutTablePolicy.go.snap | 1 - .../snapshot/api_op_RenameTable.go.snap | 1 - ...api_op_UpdateTableMetadataLocation.go.snap | 1 - service/sagemaker/api_client.go | 31 -- service/sagemaker/api_op_AddAssociation.go | 3 - service/sagemaker/api_op_AddTags.go | 3 - .../api_op_AssociateTrialComponent.go | 3 - .../api_op_BatchDeleteClusterNodes.go | 3 - .../api_op_BatchDescribeModelPackage.go | 3 - service/sagemaker/api_op_CreateAction.go | 3 - service/sagemaker/api_op_CreateAlgorithm.go | 3 - service/sagemaker/api_op_CreateApp.go | 3 - .../sagemaker/api_op_CreateAppImageConfig.go | 3 - service/sagemaker/api_op_CreateArtifact.go | 3 - service/sagemaker/api_op_CreateAutoMLJob.go | 3 - service/sagemaker/api_op_CreateAutoMLJobV2.go | 3 - service/sagemaker/api_op_CreateCluster.go | 3 - .../api_op_CreateClusterSchedulerConfig.go | 3 - .../sagemaker/api_op_CreateCodeRepository.go | 3 - .../sagemaker/api_op_CreateCompilationJob.go | 3 - .../sagemaker/api_op_CreateComputeQuota.go | 3 - service/sagemaker/api_op_CreateContext.go | 3 - .../api_op_CreateDataQualityJobDefinition.go | 3 - service/sagemaker/api_op_CreateDeviceFleet.go | 3 - service/sagemaker/api_op_CreateDomain.go | 3 - .../api_op_CreateEdgeDeploymentPlan.go | 3 - .../api_op_CreateEdgeDeploymentStage.go | 3 - .../api_op_CreateEdgePackagingJob.go | 3 - service/sagemaker/api_op_CreateEndpoint.go | 3 - .../sagemaker/api_op_CreateEndpointConfig.go | 3 - service/sagemaker/api_op_CreateExperiment.go | 3 - .../sagemaker/api_op_CreateFeatureGroup.go | 3 - .../sagemaker/api_op_CreateFlowDefinition.go | 3 - service/sagemaker/api_op_CreateHub.go | 3 - .../api_op_CreateHubContentReference.go | 3 - service/sagemaker/api_op_CreateHumanTaskUi.go | 3 - .../api_op_CreateHyperParameterTuningJob.go | 3 - service/sagemaker/api_op_CreateImage.go | 3 - .../sagemaker/api_op_CreateImageVersion.go | 3 - .../api_op_CreateInferenceComponent.go | 3 - .../api_op_CreateInferenceExperiment.go | 3 - ...pi_op_CreateInferenceRecommendationsJob.go | 3 - service/sagemaker/api_op_CreateLabelingJob.go | 3 - .../api_op_CreateMlflowTrackingServer.go | 3 - service/sagemaker/api_op_CreateModel.go | 3 - .../api_op_CreateModelBiasJobDefinition.go | 3 - service/sagemaker/api_op_CreateModelCard.go | 3 - .../api_op_CreateModelCardExportJob.go | 3 - ..._CreateModelExplainabilityJobDefinition.go | 3 - .../sagemaker/api_op_CreateModelPackage.go | 3 - .../api_op_CreateModelPackageGroup.go | 3 - .../api_op_CreateModelQualityJobDefinition.go | 3 - .../api_op_CreateMonitoringSchedule.go | 3 - .../api_op_CreateNotebookInstance.go | 3 - ...p_CreateNotebookInstanceLifecycleConfig.go | 3 - .../sagemaker/api_op_CreateOptimizationJob.go | 3 - service/sagemaker/api_op_CreatePartnerApp.go | 3 - .../api_op_CreatePartnerAppPresignedUrl.go | 3 - service/sagemaker/api_op_CreatePipeline.go | 3 - .../api_op_CreatePresignedDomainUrl.go | 3 - ..._CreatePresignedMlflowTrackingServerUrl.go | 3 - ...i_op_CreatePresignedNotebookInstanceUrl.go | 3 - .../sagemaker/api_op_CreateProcessingJob.go | 3 - service/sagemaker/api_op_CreateProject.go | 3 - service/sagemaker/api_op_CreateSpace.go | 3 - .../api_op_CreateStudioLifecycleConfig.go | 3 - service/sagemaker/api_op_CreateTrainingJob.go | 3 - .../sagemaker/api_op_CreateTrainingPlan.go | 3 - .../sagemaker/api_op_CreateTransformJob.go | 3 - service/sagemaker/api_op_CreateTrial.go | 3 - .../sagemaker/api_op_CreateTrialComponent.go | 3 - service/sagemaker/api_op_CreateUserProfile.go | 3 - service/sagemaker/api_op_CreateWorkforce.go | 3 - service/sagemaker/api_op_CreateWorkteam.go | 3 - service/sagemaker/api_op_DeleteAction.go | 3 - service/sagemaker/api_op_DeleteAlgorithm.go | 3 - service/sagemaker/api_op_DeleteApp.go | 3 - .../sagemaker/api_op_DeleteAppImageConfig.go | 3 - service/sagemaker/api_op_DeleteArtifact.go | 3 - service/sagemaker/api_op_DeleteAssociation.go | 3 - service/sagemaker/api_op_DeleteCluster.go | 3 - .../api_op_DeleteClusterSchedulerConfig.go | 3 - .../sagemaker/api_op_DeleteCodeRepository.go | 3 - .../sagemaker/api_op_DeleteCompilationJob.go | 3 - .../sagemaker/api_op_DeleteComputeQuota.go | 3 - service/sagemaker/api_op_DeleteContext.go | 3 - .../api_op_DeleteDataQualityJobDefinition.go | 3 - service/sagemaker/api_op_DeleteDeviceFleet.go | 3 - service/sagemaker/api_op_DeleteDomain.go | 3 - .../api_op_DeleteEdgeDeploymentPlan.go | 3 - .../api_op_DeleteEdgeDeploymentStage.go | 3 - service/sagemaker/api_op_DeleteEndpoint.go | 3 - .../sagemaker/api_op_DeleteEndpointConfig.go | 3 - service/sagemaker/api_op_DeleteExperiment.go | 3 - .../sagemaker/api_op_DeleteFeatureGroup.go | 3 - .../sagemaker/api_op_DeleteFlowDefinition.go | 3 - service/sagemaker/api_op_DeleteHub.go | 3 - service/sagemaker/api_op_DeleteHubContent.go | 3 - .../api_op_DeleteHubContentReference.go | 3 - service/sagemaker/api_op_DeleteHumanTaskUi.go | 3 - .../api_op_DeleteHyperParameterTuningJob.go | 3 - service/sagemaker/api_op_DeleteImage.go | 3 - .../sagemaker/api_op_DeleteImageVersion.go | 3 - .../api_op_DeleteInferenceComponent.go | 3 - .../api_op_DeleteInferenceExperiment.go | 3 - .../api_op_DeleteMlflowTrackingServer.go | 3 - service/sagemaker/api_op_DeleteModel.go | 3 - .../api_op_DeleteModelBiasJobDefinition.go | 3 - service/sagemaker/api_op_DeleteModelCard.go | 3 - ..._DeleteModelExplainabilityJobDefinition.go | 3 - .../sagemaker/api_op_DeleteModelPackage.go | 3 - .../api_op_DeleteModelPackageGroup.go | 3 - .../api_op_DeleteModelPackageGroupPolicy.go | 3 - .../api_op_DeleteModelQualityJobDefinition.go | 3 - .../api_op_DeleteMonitoringSchedule.go | 3 - .../api_op_DeleteNotebookInstance.go | 3 - ...p_DeleteNotebookInstanceLifecycleConfig.go | 3 - .../sagemaker/api_op_DeleteOptimizationJob.go | 3 - service/sagemaker/api_op_DeletePartnerApp.go | 3 - service/sagemaker/api_op_DeletePipeline.go | 3 - service/sagemaker/api_op_DeleteProject.go | 3 - service/sagemaker/api_op_DeleteSpace.go | 3 - .../api_op_DeleteStudioLifecycleConfig.go | 3 - service/sagemaker/api_op_DeleteTags.go | 3 - service/sagemaker/api_op_DeleteTrial.go | 3 - .../sagemaker/api_op_DeleteTrialComponent.go | 3 - service/sagemaker/api_op_DeleteUserProfile.go | 3 - service/sagemaker/api_op_DeleteWorkforce.go | 3 - service/sagemaker/api_op_DeleteWorkteam.go | 3 - service/sagemaker/api_op_DeregisterDevices.go | 3 - service/sagemaker/api_op_DescribeAction.go | 3 - service/sagemaker/api_op_DescribeAlgorithm.go | 3 - service/sagemaker/api_op_DescribeApp.go | 3 - .../api_op_DescribeAppImageConfig.go | 3 - service/sagemaker/api_op_DescribeArtifact.go | 3 - service/sagemaker/api_op_DescribeAutoMLJob.go | 3 - .../sagemaker/api_op_DescribeAutoMLJobV2.go | 3 - service/sagemaker/api_op_DescribeCluster.go | 3 - .../sagemaker/api_op_DescribeClusterNode.go | 3 - .../api_op_DescribeClusterSchedulerConfig.go | 3 - .../api_op_DescribeCodeRepository.go | 3 - .../api_op_DescribeCompilationJob.go | 3 - .../sagemaker/api_op_DescribeComputeQuota.go | 3 - service/sagemaker/api_op_DescribeContext.go | 3 - ...api_op_DescribeDataQualityJobDefinition.go | 3 - service/sagemaker/api_op_DescribeDevice.go | 3 - .../sagemaker/api_op_DescribeDeviceFleet.go | 3 - service/sagemaker/api_op_DescribeDomain.go | 3 - .../api_op_DescribeEdgeDeploymentPlan.go | 3 - .../api_op_DescribeEdgePackagingJob.go | 3 - service/sagemaker/api_op_DescribeEndpoint.go | 3 - .../api_op_DescribeEndpointConfig.go | 3 - .../sagemaker/api_op_DescribeExperiment.go | 3 - .../sagemaker/api_op_DescribeFeatureGroup.go | 3 - .../api_op_DescribeFeatureMetadata.go | 3 - .../api_op_DescribeFlowDefinition.go | 3 - service/sagemaker/api_op_DescribeHub.go | 3 - .../sagemaker/api_op_DescribeHubContent.go | 3 - .../sagemaker/api_op_DescribeHumanTaskUi.go | 3 - .../api_op_DescribeHyperParameterTuningJob.go | 3 - service/sagemaker/api_op_DescribeImage.go | 3 - .../sagemaker/api_op_DescribeImageVersion.go | 3 - .../api_op_DescribeInferenceComponent.go | 3 - .../api_op_DescribeInferenceExperiment.go | 3 - ..._op_DescribeInferenceRecommendationsJob.go | 3 - .../sagemaker/api_op_DescribeLabelingJob.go | 3 - .../sagemaker/api_op_DescribeLineageGroup.go | 3 - .../api_op_DescribeMlflowTrackingServer.go | 3 - service/sagemaker/api_op_DescribeModel.go | 3 - .../api_op_DescribeModelBiasJobDefinition.go | 3 - service/sagemaker/api_op_DescribeModelCard.go | 3 - .../api_op_DescribeModelCardExportJob.go | 3 - ...escribeModelExplainabilityJobDefinition.go | 3 - .../sagemaker/api_op_DescribeModelPackage.go | 3 - .../api_op_DescribeModelPackageGroup.go | 3 - ...pi_op_DescribeModelQualityJobDefinition.go | 3 - .../api_op_DescribeMonitoringSchedule.go | 3 - .../api_op_DescribeNotebookInstance.go | 3 - ...DescribeNotebookInstanceLifecycleConfig.go | 3 - .../api_op_DescribeOptimizationJob.go | 3 - .../sagemaker/api_op_DescribePartnerApp.go | 3 - service/sagemaker/api_op_DescribePipeline.go | 3 - ..._DescribePipelineDefinitionForExecution.go | 3 - .../api_op_DescribePipelineExecution.go | 3 - .../sagemaker/api_op_DescribeProcessingJob.go | 3 - service/sagemaker/api_op_DescribeProject.go | 3 - service/sagemaker/api_op_DescribeSpace.go | 3 - .../api_op_DescribeStudioLifecycleConfig.go | 3 - .../api_op_DescribeSubscribedWorkteam.go | 3 - .../sagemaker/api_op_DescribeTrainingJob.go | 3 - .../sagemaker/api_op_DescribeTrainingPlan.go | 3 - .../sagemaker/api_op_DescribeTransformJob.go | 3 - service/sagemaker/api_op_DescribeTrial.go | 3 - .../api_op_DescribeTrialComponent.go | 3 - .../sagemaker/api_op_DescribeUserProfile.go | 3 - service/sagemaker/api_op_DescribeWorkforce.go | 3 - service/sagemaker/api_op_DescribeWorkteam.go | 3 - ...DisableSagemakerServicecatalogPortfolio.go | 3 - .../api_op_DisassociateTrialComponent.go | 3 - ..._EnableSagemakerServicecatalogPortfolio.go | 3 - .../sagemaker/api_op_GetDeviceFleetReport.go | 3 - .../sagemaker/api_op_GetLineageGroupPolicy.go | 3 - .../api_op_GetModelPackageGroupPolicy.go | 3 - ...tSagemakerServicecatalogPortfolioStatus.go | 3 - ...p_GetScalingConfigurationRecommendation.go | 3 - .../sagemaker/api_op_GetSearchSuggestions.go | 3 - service/sagemaker/api_op_ImportHubContent.go | 3 - service/sagemaker/api_op_ListActions.go | 3 - service/sagemaker/api_op_ListAlgorithms.go | 3 - service/sagemaker/api_op_ListAliases.go | 3 - .../sagemaker/api_op_ListAppImageConfigs.go | 3 - service/sagemaker/api_op_ListApps.go | 3 - service/sagemaker/api_op_ListArtifacts.go | 3 - service/sagemaker/api_op_ListAssociations.go | 3 - service/sagemaker/api_op_ListAutoMLJobs.go | 3 - .../api_op_ListCandidatesForAutoMLJob.go | 3 - service/sagemaker/api_op_ListClusterNodes.go | 3 - .../api_op_ListClusterSchedulerConfigs.go | 3 - service/sagemaker/api_op_ListClusters.go | 3 - .../sagemaker/api_op_ListCodeRepositories.go | 3 - .../sagemaker/api_op_ListCompilationJobs.go | 3 - service/sagemaker/api_op_ListComputeQuotas.go | 3 - service/sagemaker/api_op_ListContexts.go | 3 - .../api_op_ListDataQualityJobDefinitions.go | 3 - service/sagemaker/api_op_ListDeviceFleets.go | 3 - service/sagemaker/api_op_ListDevices.go | 3 - service/sagemaker/api_op_ListDomains.go | 3 - .../api_op_ListEdgeDeploymentPlans.go | 3 - .../sagemaker/api_op_ListEdgePackagingJobs.go | 3 - .../sagemaker/api_op_ListEndpointConfigs.go | 3 - service/sagemaker/api_op_ListEndpoints.go | 3 - service/sagemaker/api_op_ListExperiments.go | 3 - service/sagemaker/api_op_ListFeatureGroups.go | 3 - .../sagemaker/api_op_ListFlowDefinitions.go | 3 - .../api_op_ListHubContentVersions.go | 3 - service/sagemaker/api_op_ListHubContents.go | 3 - service/sagemaker/api_op_ListHubs.go | 3 - service/sagemaker/api_op_ListHumanTaskUis.go | 3 - .../api_op_ListHyperParameterTuningJobs.go | 3 - service/sagemaker/api_op_ListImageVersions.go | 3 - service/sagemaker/api_op_ListImages.go | 3 - .../api_op_ListInferenceComponents.go | 3 - .../api_op_ListInferenceExperiments.go | 3 - ...op_ListInferenceRecommendationsJobSteps.go | 3 - ...api_op_ListInferenceRecommendationsJobs.go | 3 - service/sagemaker/api_op_ListLabelingJobs.go | 3 - .../api_op_ListLabelingJobsForWorkteam.go | 3 - service/sagemaker/api_op_ListLineageGroups.go | 3 - .../api_op_ListMlflowTrackingServers.go | 3 - .../api_op_ListModelBiasJobDefinitions.go | 3 - .../api_op_ListModelCardExportJobs.go | 3 - .../sagemaker/api_op_ListModelCardVersions.go | 3 - service/sagemaker/api_op_ListModelCards.go | 3 - ...p_ListModelExplainabilityJobDefinitions.go | 3 - service/sagemaker/api_op_ListModelMetadata.go | 3 - .../api_op_ListModelPackageGroups.go | 3 - service/sagemaker/api_op_ListModelPackages.go | 3 - .../api_op_ListModelQualityJobDefinitions.go | 3 - service/sagemaker/api_op_ListModels.go | 3 - .../api_op_ListMonitoringAlertHistory.go | 3 - .../sagemaker/api_op_ListMonitoringAlerts.go | 3 - .../api_op_ListMonitoringExecutions.go | 3 - .../api_op_ListMonitoringSchedules.go | 3 - ...op_ListNotebookInstanceLifecycleConfigs.go | 3 - .../sagemaker/api_op_ListNotebookInstances.go | 3 - .../sagemaker/api_op_ListOptimizationJobs.go | 3 - service/sagemaker/api_op_ListPartnerApps.go | 3 - .../api_op_ListPipelineExecutionSteps.go | 3 - .../api_op_ListPipelineExecutions.go | 3 - ...i_op_ListPipelineParametersForExecution.go | 3 - service/sagemaker/api_op_ListPipelines.go | 3 - .../sagemaker/api_op_ListProcessingJobs.go | 3 - service/sagemaker/api_op_ListProjects.go | 3 - .../sagemaker/api_op_ListResourceCatalogs.go | 3 - service/sagemaker/api_op_ListSpaces.go | 3 - service/sagemaker/api_op_ListStageDevices.go | 3 - .../api_op_ListStudioLifecycleConfigs.go | 3 - .../api_op_ListSubscribedWorkteams.go | 3 - service/sagemaker/api_op_ListTags.go | 3 - service/sagemaker/api_op_ListTrainingJobs.go | 3 - ...tTrainingJobsForHyperParameterTuningJob.go | 3 - service/sagemaker/api_op_ListTrainingPlans.go | 3 - service/sagemaker/api_op_ListTransformJobs.go | 3 - .../sagemaker/api_op_ListTrialComponents.go | 3 - service/sagemaker/api_op_ListTrials.go | 3 - service/sagemaker/api_op_ListUserProfiles.go | 3 - service/sagemaker/api_op_ListWorkforces.go | 3 - service/sagemaker/api_op_ListWorkteams.go | 3 - .../api_op_PutModelPackageGroupPolicy.go | 3 - service/sagemaker/api_op_QueryLineage.go | 3 - service/sagemaker/api_op_RegisterDevices.go | 3 - service/sagemaker/api_op_RenderUiTemplate.go | 3 - .../api_op_RetryPipelineExecution.go | 3 - service/sagemaker/api_op_Search.go | 3 - .../api_op_SearchTrainingPlanOfferings.go | 3 - ...api_op_SendPipelineExecutionStepFailure.go | 3 - ...api_op_SendPipelineExecutionStepSuccess.go | 3 - .../api_op_StartEdgeDeploymentStage.go | 3 - .../api_op_StartInferenceExperiment.go | 3 - .../api_op_StartMlflowTrackingServer.go | 3 - .../api_op_StartMonitoringSchedule.go | 3 - .../sagemaker/api_op_StartNotebookInstance.go | 3 - .../api_op_StartPipelineExecution.go | 3 - service/sagemaker/api_op_StopAutoMLJob.go | 3 - .../sagemaker/api_op_StopCompilationJob.go | 3 - .../api_op_StopEdgeDeploymentStage.go | 3 - .../sagemaker/api_op_StopEdgePackagingJob.go | 3 - .../api_op_StopHyperParameterTuningJob.go | 3 - .../api_op_StopInferenceExperiment.go | 3 - .../api_op_StopInferenceRecommendationsJob.go | 3 - service/sagemaker/api_op_StopLabelingJob.go | 3 - .../api_op_StopMlflowTrackingServer.go | 3 - .../api_op_StopMonitoringSchedule.go | 3 - .../sagemaker/api_op_StopNotebookInstance.go | 3 - .../sagemaker/api_op_StopOptimizationJob.go | 3 - .../sagemaker/api_op_StopPipelineExecution.go | 3 - service/sagemaker/api_op_StopProcessingJob.go | 3 - service/sagemaker/api_op_StopTrainingJob.go | 3 - service/sagemaker/api_op_StopTransformJob.go | 3 - service/sagemaker/api_op_UpdateAction.go | 3 - .../sagemaker/api_op_UpdateAppImageConfig.go | 3 - service/sagemaker/api_op_UpdateArtifact.go | 3 - service/sagemaker/api_op_UpdateCluster.go | 3 - .../api_op_UpdateClusterSchedulerConfig.go | 3 - .../sagemaker/api_op_UpdateClusterSoftware.go | 3 - .../sagemaker/api_op_UpdateCodeRepository.go | 3 - .../sagemaker/api_op_UpdateComputeQuota.go | 3 - service/sagemaker/api_op_UpdateContext.go | 3 - service/sagemaker/api_op_UpdateDeviceFleet.go | 3 - service/sagemaker/api_op_UpdateDevices.go | 3 - service/sagemaker/api_op_UpdateDomain.go | 3 - service/sagemaker/api_op_UpdateEndpoint.go | 3 - ...i_op_UpdateEndpointWeightsAndCapacities.go | 3 - service/sagemaker/api_op_UpdateExperiment.go | 3 - .../sagemaker/api_op_UpdateFeatureGroup.go | 3 - .../sagemaker/api_op_UpdateFeatureMetadata.go | 3 - service/sagemaker/api_op_UpdateHub.go | 3 - service/sagemaker/api_op_UpdateImage.go | 3 - .../sagemaker/api_op_UpdateImageVersion.go | 3 - .../api_op_UpdateInferenceComponent.go | 3 - ...p_UpdateInferenceComponentRuntimeConfig.go | 3 - .../api_op_UpdateInferenceExperiment.go | 3 - .../api_op_UpdateMlflowTrackingServer.go | 3 - service/sagemaker/api_op_UpdateModelCard.go | 3 - .../sagemaker/api_op_UpdateModelPackage.go | 3 - .../sagemaker/api_op_UpdateMonitoringAlert.go | 3 - .../api_op_UpdateMonitoringSchedule.go | 3 - .../api_op_UpdateNotebookInstance.go | 3 - ...p_UpdateNotebookInstanceLifecycleConfig.go | 3 - service/sagemaker/api_op_UpdatePartnerApp.go | 3 - service/sagemaker/api_op_UpdatePipeline.go | 3 - .../api_op_UpdatePipelineExecution.go | 3 - service/sagemaker/api_op_UpdateProject.go | 3 - service/sagemaker/api_op_UpdateSpace.go | 3 - service/sagemaker/api_op_UpdateTrainingJob.go | 3 - service/sagemaker/api_op_UpdateTrial.go | 3 - .../sagemaker/api_op_UpdateTrialComponent.go | 3 - service/sagemaker/api_op_UpdateUserProfile.go | 3 - service/sagemaker/api_op_UpdateWorkforce.go | 3 - service/sagemaker/api_op_UpdateWorkteam.go | 3 - .../snapshot/api_op_AddAssociation.go.snap | 1 - .../sagemaker/snapshot/api_op_AddTags.go.snap | 1 - .../api_op_AssociateTrialComponent.go.snap | 1 - .../api_op_BatchDeleteClusterNodes.go.snap | 1 - .../api_op_BatchDescribeModelPackage.go.snap | 1 - .../snapshot/api_op_CreateAction.go.snap | 1 - .../snapshot/api_op_CreateAlgorithm.go.snap | 1 - .../snapshot/api_op_CreateApp.go.snap | 1 - .../api_op_CreateAppImageConfig.go.snap | 1 - .../snapshot/api_op_CreateArtifact.go.snap | 1 - .../snapshot/api_op_CreateAutoMLJob.go.snap | 1 - .../snapshot/api_op_CreateAutoMLJobV2.go.snap | 1 - .../snapshot/api_op_CreateCluster.go.snap | 1 - ...pi_op_CreateClusterSchedulerConfig.go.snap | 1 - .../api_op_CreateCodeRepository.go.snap | 1 - .../api_op_CreateCompilationJob.go.snap | 1 - .../api_op_CreateComputeQuota.go.snap | 1 - .../snapshot/api_op_CreateContext.go.snap | 1 - ..._op_CreateDataQualityJobDefinition.go.snap | 1 - .../snapshot/api_op_CreateDeviceFleet.go.snap | 1 - .../snapshot/api_op_CreateDomain.go.snap | 1 - .../api_op_CreateEdgeDeploymentPlan.go.snap | 1 - .../api_op_CreateEdgeDeploymentStage.go.snap | 1 - .../api_op_CreateEdgePackagingJob.go.snap | 1 - .../snapshot/api_op_CreateEndpoint.go.snap | 1 - .../api_op_CreateEndpointConfig.go.snap | 1 - .../snapshot/api_op_CreateExperiment.go.snap | 1 - .../api_op_CreateFeatureGroup.go.snap | 1 - .../api_op_CreateFlowDefinition.go.snap | 1 - .../snapshot/api_op_CreateHub.go.snap | 1 - .../api_op_CreateHubContentReference.go.snap | 1 - .../snapshot/api_op_CreateHumanTaskUi.go.snap | 1 - ...i_op_CreateHyperParameterTuningJob.go.snap | 1 - .../snapshot/api_op_CreateImage.go.snap | 1 - .../api_op_CreateImageVersion.go.snap | 1 - .../api_op_CreateInferenceComponent.go.snap | 1 - .../api_op_CreateInferenceExperiment.go.snap | 1 - ..._CreateInferenceRecommendationsJob.go.snap | 1 - .../snapshot/api_op_CreateLabelingJob.go.snap | 1 - .../api_op_CreateMlflowTrackingServer.go.snap | 1 - .../snapshot/api_op_CreateModel.go.snap | 1 - ...pi_op_CreateModelBiasJobDefinition.go.snap | 1 - .../snapshot/api_op_CreateModelCard.go.snap | 1 - .../api_op_CreateModelCardExportJob.go.snap | 1 - ...teModelExplainabilityJobDefinition.go.snap | 1 - .../api_op_CreateModelPackage.go.snap | 1 - .../api_op_CreateModelPackageGroup.go.snap | 1 - ...op_CreateModelQualityJobDefinition.go.snap | 1 - .../api_op_CreateMonitoringSchedule.go.snap | 1 - .../api_op_CreateNotebookInstance.go.snap | 1 - ...ateNotebookInstanceLifecycleConfig.go.snap | 1 - .../api_op_CreateOptimizationJob.go.snap | 1 - .../snapshot/api_op_CreatePartnerApp.go.snap | 1 - ...pi_op_CreatePartnerAppPresignedUrl.go.snap | 1 - .../snapshot/api_op_CreatePipeline.go.snap | 1 - .../api_op_CreatePresignedDomainUrl.go.snap | 1 - ...tePresignedMlflowTrackingServerUrl.go.snap | 1 - ...CreatePresignedNotebookInstanceUrl.go.snap | 1 - .../api_op_CreateProcessingJob.go.snap | 1 - .../snapshot/api_op_CreateProject.go.snap | 1 - .../snapshot/api_op_CreateSpace.go.snap | 1 - ...api_op_CreateStudioLifecycleConfig.go.snap | 1 - .../snapshot/api_op_CreateTrainingJob.go.snap | 1 - .../api_op_CreateTrainingPlan.go.snap | 1 - .../api_op_CreateTransformJob.go.snap | 1 - .../snapshot/api_op_CreateTrial.go.snap | 1 - .../api_op_CreateTrialComponent.go.snap | 1 - .../snapshot/api_op_CreateUserProfile.go.snap | 1 - .../snapshot/api_op_CreateWorkforce.go.snap | 1 - .../snapshot/api_op_CreateWorkteam.go.snap | 1 - .../snapshot/api_op_DeleteAction.go.snap | 1 - .../snapshot/api_op_DeleteAlgorithm.go.snap | 1 - .../snapshot/api_op_DeleteApp.go.snap | 1 - .../api_op_DeleteAppImageConfig.go.snap | 1 - .../snapshot/api_op_DeleteArtifact.go.snap | 1 - .../snapshot/api_op_DeleteAssociation.go.snap | 1 - .../snapshot/api_op_DeleteCluster.go.snap | 1 - ...pi_op_DeleteClusterSchedulerConfig.go.snap | 1 - .../api_op_DeleteCodeRepository.go.snap | 1 - .../api_op_DeleteCompilationJob.go.snap | 1 - .../api_op_DeleteComputeQuota.go.snap | 1 - .../snapshot/api_op_DeleteContext.go.snap | 1 - ..._op_DeleteDataQualityJobDefinition.go.snap | 1 - .../snapshot/api_op_DeleteDeviceFleet.go.snap | 1 - .../snapshot/api_op_DeleteDomain.go.snap | 1 - .../api_op_DeleteEdgeDeploymentPlan.go.snap | 1 - .../api_op_DeleteEdgeDeploymentStage.go.snap | 1 - .../snapshot/api_op_DeleteEndpoint.go.snap | 1 - .../api_op_DeleteEndpointConfig.go.snap | 1 - .../snapshot/api_op_DeleteExperiment.go.snap | 1 - .../api_op_DeleteFeatureGroup.go.snap | 1 - .../api_op_DeleteFlowDefinition.go.snap | 1 - .../snapshot/api_op_DeleteHub.go.snap | 1 - .../snapshot/api_op_DeleteHubContent.go.snap | 1 - .../api_op_DeleteHubContentReference.go.snap | 1 - .../snapshot/api_op_DeleteHumanTaskUi.go.snap | 1 - ...i_op_DeleteHyperParameterTuningJob.go.snap | 1 - .../snapshot/api_op_DeleteImage.go.snap | 1 - .../api_op_DeleteImageVersion.go.snap | 1 - .../api_op_DeleteInferenceComponent.go.snap | 1 - .../api_op_DeleteInferenceExperiment.go.snap | 1 - .../api_op_DeleteMlflowTrackingServer.go.snap | 1 - .../snapshot/api_op_DeleteModel.go.snap | 1 - ...pi_op_DeleteModelBiasJobDefinition.go.snap | 1 - .../snapshot/api_op_DeleteModelCard.go.snap | 1 - ...teModelExplainabilityJobDefinition.go.snap | 1 - .../api_op_DeleteModelPackage.go.snap | 1 - .../api_op_DeleteModelPackageGroup.go.snap | 1 - ...i_op_DeleteModelPackageGroupPolicy.go.snap | 1 - ...op_DeleteModelQualityJobDefinition.go.snap | 1 - .../api_op_DeleteMonitoringSchedule.go.snap | 1 - .../api_op_DeleteNotebookInstance.go.snap | 1 - ...eteNotebookInstanceLifecycleConfig.go.snap | 1 - .../api_op_DeleteOptimizationJob.go.snap | 1 - .../snapshot/api_op_DeletePartnerApp.go.snap | 1 - .../snapshot/api_op_DeletePipeline.go.snap | 1 - .../snapshot/api_op_DeleteProject.go.snap | 1 - .../snapshot/api_op_DeleteSpace.go.snap | 1 - ...api_op_DeleteStudioLifecycleConfig.go.snap | 1 - .../snapshot/api_op_DeleteTags.go.snap | 1 - .../snapshot/api_op_DeleteTrial.go.snap | 1 - .../api_op_DeleteTrialComponent.go.snap | 1 - .../snapshot/api_op_DeleteUserProfile.go.snap | 1 - .../snapshot/api_op_DeleteWorkforce.go.snap | 1 - .../snapshot/api_op_DeleteWorkteam.go.snap | 1 - .../snapshot/api_op_DeregisterDevices.go.snap | 1 - .../snapshot/api_op_DescribeAction.go.snap | 1 - .../snapshot/api_op_DescribeAlgorithm.go.snap | 1 - .../snapshot/api_op_DescribeApp.go.snap | 1 - .../api_op_DescribeAppImageConfig.go.snap | 1 - .../snapshot/api_op_DescribeArtifact.go.snap | 1 - .../snapshot/api_op_DescribeAutoMLJob.go.snap | 1 - .../api_op_DescribeAutoMLJobV2.go.snap | 1 - .../snapshot/api_op_DescribeCluster.go.snap | 1 - .../api_op_DescribeClusterNode.go.snap | 1 - ..._op_DescribeClusterSchedulerConfig.go.snap | 1 - .../api_op_DescribeCodeRepository.go.snap | 1 - .../api_op_DescribeCompilationJob.go.snap | 1 - .../api_op_DescribeComputeQuota.go.snap | 1 - .../snapshot/api_op_DescribeContext.go.snap | 1 - ...p_DescribeDataQualityJobDefinition.go.snap | 1 - .../snapshot/api_op_DescribeDevice.go.snap | 1 - .../api_op_DescribeDeviceFleet.go.snap | 1 - .../snapshot/api_op_DescribeDomain.go.snap | 1 - .../api_op_DescribeEdgeDeploymentPlan.go.snap | 1 - .../api_op_DescribeEdgePackagingJob.go.snap | 1 - .../snapshot/api_op_DescribeEndpoint.go.snap | 1 - .../api_op_DescribeEndpointConfig.go.snap | 1 - .../api_op_DescribeExperiment.go.snap | 1 - .../api_op_DescribeFeatureGroup.go.snap | 1 - .../api_op_DescribeFeatureMetadata.go.snap | 1 - .../api_op_DescribeFlowDefinition.go.snap | 1 - .../snapshot/api_op_DescribeHub.go.snap | 1 - .../api_op_DescribeHubContent.go.snap | 1 - .../api_op_DescribeHumanTaskUi.go.snap | 1 - ...op_DescribeHyperParameterTuningJob.go.snap | 1 - .../snapshot/api_op_DescribeImage.go.snap | 1 - .../api_op_DescribeImageVersion.go.snap | 1 - .../api_op_DescribeInferenceComponent.go.snap | 1 - ...api_op_DescribeInferenceExperiment.go.snap | 1 - ...escribeInferenceRecommendationsJob.go.snap | 1 - .../api_op_DescribeLabelingJob.go.snap | 1 - .../api_op_DescribeLineageGroup.go.snap | 1 - ...pi_op_DescribeMlflowTrackingServer.go.snap | 1 - .../snapshot/api_op_DescribeModel.go.snap | 1 - ..._op_DescribeModelBiasJobDefinition.go.snap | 1 - .../snapshot/api_op_DescribeModelCard.go.snap | 1 - .../api_op_DescribeModelCardExportJob.go.snap | 1 - ...beModelExplainabilityJobDefinition.go.snap | 1 - .../api_op_DescribeModelPackage.go.snap | 1 - .../api_op_DescribeModelPackageGroup.go.snap | 1 - ..._DescribeModelQualityJobDefinition.go.snap | 1 - .../api_op_DescribeMonitoringSchedule.go.snap | 1 - .../api_op_DescribeNotebookInstance.go.snap | 1 - ...ibeNotebookInstanceLifecycleConfig.go.snap | 1 - .../api_op_DescribeOptimizationJob.go.snap | 1 - .../api_op_DescribePartnerApp.go.snap | 1 - .../snapshot/api_op_DescribePipeline.go.snap | 1 - ...ribePipelineDefinitionForExecution.go.snap | 1 - .../api_op_DescribePipelineExecution.go.snap | 1 - .../api_op_DescribeProcessingJob.go.snap | 1 - .../snapshot/api_op_DescribeProject.go.snap | 1 - .../snapshot/api_op_DescribeSpace.go.snap | 1 - ...i_op_DescribeStudioLifecycleConfig.go.snap | 1 - .../api_op_DescribeSubscribedWorkteam.go.snap | 1 - .../api_op_DescribeTrainingJob.go.snap | 1 - .../api_op_DescribeTrainingPlan.go.snap | 1 - .../api_op_DescribeTransformJob.go.snap | 1 - .../snapshot/api_op_DescribeTrial.go.snap | 1 - .../api_op_DescribeTrialComponent.go.snap | 1 - .../api_op_DescribeUserProfile.go.snap | 1 - .../snapshot/api_op_DescribeWorkforce.go.snap | 1 - .../snapshot/api_op_DescribeWorkteam.go.snap | 1 - ...leSagemakerServicecatalogPortfolio.go.snap | 1 - .../api_op_DisassociateTrialComponent.go.snap | 1 - ...leSagemakerServicecatalogPortfolio.go.snap | 1 - .../api_op_GetDeviceFleetReport.go.snap | 1 - .../api_op_GetLineageGroupPolicy.go.snap | 1 - .../api_op_GetModelPackageGroupPolicy.go.snap | 1 - ...makerServicecatalogPortfolioStatus.go.snap | 1 - ...ScalingConfigurationRecommendation.go.snap | 1 - .../api_op_GetSearchSuggestions.go.snap | 1 - .../snapshot/api_op_ImportHubContent.go.snap | 1 - .../snapshot/api_op_ListActions.go.snap | 1 - .../snapshot/api_op_ListAlgorithms.go.snap | 1 - .../snapshot/api_op_ListAliases.go.snap | 1 - .../api_op_ListAppImageConfigs.go.snap | 1 - .../snapshot/api_op_ListApps.go.snap | 1 - .../snapshot/api_op_ListArtifacts.go.snap | 1 - .../snapshot/api_op_ListAssociations.go.snap | 1 - .../snapshot/api_op_ListAutoMLJobs.go.snap | 1 - .../api_op_ListCandidatesForAutoMLJob.go.snap | 1 - .../snapshot/api_op_ListClusterNodes.go.snap | 1 - ...api_op_ListClusterSchedulerConfigs.go.snap | 1 - .../snapshot/api_op_ListClusters.go.snap | 1 - .../api_op_ListCodeRepositories.go.snap | 1 - .../api_op_ListCompilationJobs.go.snap | 1 - .../snapshot/api_op_ListComputeQuotas.go.snap | 1 - .../snapshot/api_op_ListContexts.go.snap | 1 - ...i_op_ListDataQualityJobDefinitions.go.snap | 1 - .../snapshot/api_op_ListDeviceFleets.go.snap | 1 - .../snapshot/api_op_ListDevices.go.snap | 1 - .../snapshot/api_op_ListDomains.go.snap | 1 - .../api_op_ListEdgeDeploymentPlans.go.snap | 1 - .../api_op_ListEdgePackagingJobs.go.snap | 1 - .../api_op_ListEndpointConfigs.go.snap | 1 - .../snapshot/api_op_ListEndpoints.go.snap | 1 - .../snapshot/api_op_ListExperiments.go.snap | 1 - .../snapshot/api_op_ListFeatureGroups.go.snap | 1 - .../api_op_ListFlowDefinitions.go.snap | 1 - .../api_op_ListHubContentVersions.go.snap | 1 - .../snapshot/api_op_ListHubContents.go.snap | 1 - .../snapshot/api_op_ListHubs.go.snap | 1 - .../snapshot/api_op_ListHumanTaskUis.go.snap | 1 - ...pi_op_ListHyperParameterTuningJobs.go.snap | 1 - .../snapshot/api_op_ListImageVersions.go.snap | 1 - .../snapshot/api_op_ListImages.go.snap | 1 - .../api_op_ListInferenceComponents.go.snap | 1 - .../api_op_ListInferenceExperiments.go.snap | 1 - ...stInferenceRecommendationsJobSteps.go.snap | 1 - ...p_ListInferenceRecommendationsJobs.go.snap | 1 - .../snapshot/api_op_ListLabelingJobs.go.snap | 1 - ...api_op_ListLabelingJobsForWorkteam.go.snap | 1 - .../snapshot/api_op_ListLineageGroups.go.snap | 1 - .../api_op_ListMlflowTrackingServers.go.snap | 1 - ...api_op_ListModelBiasJobDefinitions.go.snap | 1 - .../api_op_ListModelCardExportJobs.go.snap | 1 - .../api_op_ListModelCardVersions.go.snap | 1 - .../snapshot/api_op_ListModelCards.go.snap | 1 - ...tModelExplainabilityJobDefinitions.go.snap | 1 - .../snapshot/api_op_ListModelMetadata.go.snap | 1 - .../api_op_ListModelPackageGroups.go.snap | 1 - .../snapshot/api_op_ListModelPackages.go.snap | 1 - ..._op_ListModelQualityJobDefinitions.go.snap | 1 - .../snapshot/api_op_ListModels.go.snap | 1 - .../api_op_ListMonitoringAlertHistory.go.snap | 1 - .../api_op_ListMonitoringAlerts.go.snap | 1 - .../api_op_ListMonitoringExecutions.go.snap | 1 - .../api_op_ListMonitoringSchedules.go.snap | 1 - ...stNotebookInstanceLifecycleConfigs.go.snap | 1 - .../api_op_ListNotebookInstances.go.snap | 1 - .../api_op_ListOptimizationJobs.go.snap | 1 - .../snapshot/api_op_ListPartnerApps.go.snap | 1 - .../api_op_ListPipelineExecutionSteps.go.snap | 1 - .../api_op_ListPipelineExecutions.go.snap | 1 - ...ListPipelineParametersForExecution.go.snap | 1 - .../snapshot/api_op_ListPipelines.go.snap | 1 - .../api_op_ListProcessingJobs.go.snap | 1 - .../snapshot/api_op_ListProjects.go.snap | 1 - .../api_op_ListResourceCatalogs.go.snap | 1 - .../snapshot/api_op_ListSpaces.go.snap | 1 - .../snapshot/api_op_ListStageDevices.go.snap | 1 - .../api_op_ListStudioLifecycleConfigs.go.snap | 1 - .../api_op_ListSubscribedWorkteams.go.snap | 1 - .../snapshot/api_op_ListTags.go.snap | 1 - .../snapshot/api_op_ListTrainingJobs.go.snap | 1 - ...ningJobsForHyperParameterTuningJob.go.snap | 1 - .../snapshot/api_op_ListTrainingPlans.go.snap | 1 - .../snapshot/api_op_ListTransformJobs.go.snap | 1 - .../api_op_ListTrialComponents.go.snap | 1 - .../snapshot/api_op_ListTrials.go.snap | 1 - .../snapshot/api_op_ListUserProfiles.go.snap | 1 - .../snapshot/api_op_ListWorkforces.go.snap | 1 - .../snapshot/api_op_ListWorkteams.go.snap | 1 - .../api_op_PutModelPackageGroupPolicy.go.snap | 1 - .../snapshot/api_op_QueryLineage.go.snap | 1 - .../snapshot/api_op_RegisterDevices.go.snap | 1 - .../snapshot/api_op_RenderUiTemplate.go.snap | 1 - .../api_op_RetryPipelineExecution.go.snap | 1 - .../sagemaker/snapshot/api_op_Search.go.snap | 1 - ...api_op_SearchTrainingPlanOfferings.go.snap | 1 - ...p_SendPipelineExecutionStepFailure.go.snap | 1 - ...p_SendPipelineExecutionStepSuccess.go.snap | 1 - .../api_op_StartEdgeDeploymentStage.go.snap | 1 - .../api_op_StartInferenceExperiment.go.snap | 1 - .../api_op_StartMlflowTrackingServer.go.snap | 1 - .../api_op_StartMonitoringSchedule.go.snap | 1 - .../api_op_StartNotebookInstance.go.snap | 1 - .../api_op_StartPipelineExecution.go.snap | 1 - .../snapshot/api_op_StopAutoMLJob.go.snap | 1 - .../api_op_StopCompilationJob.go.snap | 1 - .../api_op_StopEdgeDeploymentStage.go.snap | 1 - .../api_op_StopEdgePackagingJob.go.snap | 1 - ...api_op_StopHyperParameterTuningJob.go.snap | 1 - .../api_op_StopInferenceExperiment.go.snap | 1 - ...op_StopInferenceRecommendationsJob.go.snap | 1 - .../snapshot/api_op_StopLabelingJob.go.snap | 1 - .../api_op_StopMlflowTrackingServer.go.snap | 1 - .../api_op_StopMonitoringSchedule.go.snap | 1 - .../api_op_StopNotebookInstance.go.snap | 1 - .../api_op_StopOptimizationJob.go.snap | 1 - .../api_op_StopPipelineExecution.go.snap | 1 - .../snapshot/api_op_StopProcessingJob.go.snap | 1 - .../snapshot/api_op_StopTrainingJob.go.snap | 1 - .../snapshot/api_op_StopTransformJob.go.snap | 1 - .../snapshot/api_op_UpdateAction.go.snap | 1 - .../api_op_UpdateAppImageConfig.go.snap | 1 - .../snapshot/api_op_UpdateArtifact.go.snap | 1 - .../snapshot/api_op_UpdateCluster.go.snap | 1 - ...pi_op_UpdateClusterSchedulerConfig.go.snap | 1 - .../api_op_UpdateClusterSoftware.go.snap | 1 - .../api_op_UpdateCodeRepository.go.snap | 1 - .../api_op_UpdateComputeQuota.go.snap | 1 - .../snapshot/api_op_UpdateContext.go.snap | 1 - .../snapshot/api_op_UpdateDeviceFleet.go.snap | 1 - .../snapshot/api_op_UpdateDevices.go.snap | 1 - .../snapshot/api_op_UpdateDomain.go.snap | 1 - .../snapshot/api_op_UpdateEndpoint.go.snap | 1 - ...UpdateEndpointWeightsAndCapacities.go.snap | 1 - .../snapshot/api_op_UpdateExperiment.go.snap | 1 - .../api_op_UpdateFeatureGroup.go.snap | 1 - .../api_op_UpdateFeatureMetadata.go.snap | 1 - .../snapshot/api_op_UpdateHub.go.snap | 1 - .../snapshot/api_op_UpdateImage.go.snap | 1 - .../api_op_UpdateImageVersion.go.snap | 1 - .../api_op_UpdateInferenceComponent.go.snap | 1 - ...ateInferenceComponentRuntimeConfig.go.snap | 1 - .../api_op_UpdateInferenceExperiment.go.snap | 1 - .../api_op_UpdateMlflowTrackingServer.go.snap | 1 - .../snapshot/api_op_UpdateModelCard.go.snap | 1 - .../api_op_UpdateModelPackage.go.snap | 1 - .../api_op_UpdateMonitoringAlert.go.snap | 1 - .../api_op_UpdateMonitoringSchedule.go.snap | 1 - .../api_op_UpdateNotebookInstance.go.snap | 1 - ...ateNotebookInstanceLifecycleConfig.go.snap | 1 - .../snapshot/api_op_UpdatePartnerApp.go.snap | 1 - .../snapshot/api_op_UpdatePipeline.go.snap | 1 - .../api_op_UpdatePipelineExecution.go.snap | 1 - .../snapshot/api_op_UpdateProject.go.snap | 1 - .../snapshot/api_op_UpdateSpace.go.snap | 1 - .../snapshot/api_op_UpdateTrainingJob.go.snap | 1 - .../snapshot/api_op_UpdateTrial.go.snap | 1 - .../api_op_UpdateTrialComponent.go.snap | 1 - .../snapshot/api_op_UpdateUserProfile.go.snap | 1 - .../snapshot/api_op_UpdateWorkforce.go.snap | 1 - .../snapshot/api_op_UpdateWorkteam.go.snap | 1 - service/sagemakera2iruntime/api_client.go | 31 -- .../api_op_DeleteHumanLoop.go | 3 - .../api_op_DescribeHumanLoop.go | 3 - .../api_op_ListHumanLoops.go | 3 - .../api_op_StartHumanLoop.go | 3 - .../api_op_StopHumanLoop.go | 3 - .../snapshot/api_op_DeleteHumanLoop.go.snap | 1 - .../snapshot/api_op_DescribeHumanLoop.go.snap | 1 - .../snapshot/api_op_ListHumanLoops.go.snap | 1 - .../snapshot/api_op_StartHumanLoop.go.snap | 1 - .../snapshot/api_op_StopHumanLoop.go.snap | 1 - service/sagemakeredge/api_client.go | 31 -- .../sagemakeredge/api_op_GetDeployments.go | 3 - .../api_op_GetDeviceRegistration.go | 3 - service/sagemakeredge/api_op_SendHeartbeat.go | 3 - .../snapshot/api_op_GetDeployments.go.snap | 1 - .../api_op_GetDeviceRegistration.go.snap | 1 - .../snapshot/api_op_SendHeartbeat.go.snap | 1 - .../api_client.go | 31 -- .../api_op_BatchGetRecord.go | 3 - .../api_op_DeleteRecord.go | 3 - .../api_op_GetRecord.go | 3 - .../api_op_PutRecord.go | 3 - .../snapshot/api_op_BatchGetRecord.go.snap | 1 - .../snapshot/api_op_DeleteRecord.go.snap | 1 - .../snapshot/api_op_GetRecord.go.snap | 1 - .../snapshot/api_op_PutRecord.go.snap | 1 - service/sagemakergeospatial/api_client.go | 31 -- .../api_op_DeleteEarthObservationJob.go | 3 - .../api_op_DeleteVectorEnrichmentJob.go | 3 - .../api_op_ExportEarthObservationJob.go | 3 - .../api_op_ExportVectorEnrichmentJob.go | 3 - .../api_op_GetEarthObservationJob.go | 3 - .../api_op_GetRasterDataCollection.go | 3 - service/sagemakergeospatial/api_op_GetTile.go | 3 - .../api_op_GetVectorEnrichmentJob.go | 3 - .../api_op_ListEarthObservationJobs.go | 3 - .../api_op_ListRasterDataCollections.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_ListVectorEnrichmentJobs.go | 3 - .../api_op_SearchRasterDataCollection.go | 3 - .../api_op_StartEarthObservationJob.go | 3 - .../api_op_StartVectorEnrichmentJob.go | 3 - .../api_op_StopEarthObservationJob.go | 3 - .../api_op_StopVectorEnrichmentJob.go | 3 - .../sagemakergeospatial/api_op_TagResource.go | 3 - .../api_op_UntagResource.go | 3 - .../api_op_DeleteEarthObservationJob.go.snap | 1 - .../api_op_DeleteVectorEnrichmentJob.go.snap | 1 - .../api_op_ExportEarthObservationJob.go.snap | 1 - .../api_op_ExportVectorEnrichmentJob.go.snap | 1 - .../api_op_GetEarthObservationJob.go.snap | 1 - .../api_op_GetRasterDataCollection.go.snap | 1 - .../snapshot/api_op_GetTile.go.snap | 1 - .../api_op_GetVectorEnrichmentJob.go.snap | 1 - .../api_op_ListEarthObservationJobs.go.snap | 1 - .../api_op_ListRasterDataCollections.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListVectorEnrichmentJobs.go.snap | 1 - .../api_op_SearchRasterDataCollection.go.snap | 1 - .../api_op_StartEarthObservationJob.go.snap | 1 - .../api_op_StartVectorEnrichmentJob.go.snap | 1 - .../api_op_StopEarthObservationJob.go.snap | 1 - .../api_op_StopVectorEnrichmentJob.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - service/sagemakermetrics/api_client.go | 31 -- .../api_op_BatchGetMetrics.go | 3 - .../api_op_BatchPutMetrics.go | 3 - .../snapshot/api_op_BatchGetMetrics.go.snap | 1 - .../snapshot/api_op_BatchPutMetrics.go.snap | 1 - service/sagemakerruntime/api_client.go | 31 -- .../sagemakerruntime/api_op_InvokeEndpoint.go | 3 - .../api_op_InvokeEndpointAsync.go | 3 - ...api_op_InvokeEndpointWithResponseStream.go | 3 - .../snapshot/api_op_InvokeEndpoint.go.snap | 1 - .../api_op_InvokeEndpointAsync.go.snap | 1 - ...p_InvokeEndpointWithResponseStream.go.snap | 1 - service/savingsplans/api_client.go | 31 -- .../savingsplans/api_op_CreateSavingsPlan.go | 3 - .../api_op_DeleteQueuedSavingsPlan.go | 3 - .../api_op_DescribeSavingsPlanRates.go | 3 - .../api_op_DescribeSavingsPlans.go | 3 - ...pi_op_DescribeSavingsPlansOfferingRates.go | 3 - .../api_op_DescribeSavingsPlansOfferings.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../savingsplans/api_op_ReturnSavingsPlan.go | 3 - service/savingsplans/api_op_TagResource.go | 3 - service/savingsplans/api_op_UntagResource.go | 3 - .../snapshot/api_op_CreateSavingsPlan.go.snap | 1 - .../api_op_DeleteQueuedSavingsPlan.go.snap | 1 - .../api_op_DescribeSavingsPlanRates.go.snap | 1 - .../api_op_DescribeSavingsPlans.go.snap | 1 - ..._DescribeSavingsPlansOfferingRates.go.snap | 1 - ...i_op_DescribeSavingsPlansOfferings.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ReturnSavingsPlan.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - service/scheduler/api_client.go | 31 -- service/scheduler/api_op_CreateSchedule.go | 3 - .../scheduler/api_op_CreateScheduleGroup.go | 3 - service/scheduler/api_op_DeleteSchedule.go | 3 - .../scheduler/api_op_DeleteScheduleGroup.go | 3 - service/scheduler/api_op_GetSchedule.go | 3 - service/scheduler/api_op_GetScheduleGroup.go | 3 - .../scheduler/api_op_ListScheduleGroups.go | 3 - service/scheduler/api_op_ListSchedules.go | 3 - .../scheduler/api_op_ListTagsForResource.go | 3 - service/scheduler/api_op_TagResource.go | 3 - service/scheduler/api_op_UntagResource.go | 3 - service/scheduler/api_op_UpdateSchedule.go | 3 - .../snapshot/api_op_CreateSchedule.go.snap | 1 - .../api_op_CreateScheduleGroup.go.snap | 1 - .../snapshot/api_op_DeleteSchedule.go.snap | 1 - .../api_op_DeleteScheduleGroup.go.snap | 1 - .../snapshot/api_op_GetSchedule.go.snap | 1 - .../snapshot/api_op_GetScheduleGroup.go.snap | 1 - .../api_op_ListScheduleGroups.go.snap | 1 - .../snapshot/api_op_ListSchedules.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateSchedule.go.snap | 1 - service/schemas/api_client.go | 31 -- service/schemas/api_op_CreateDiscoverer.go | 3 - service/schemas/api_op_CreateRegistry.go | 3 - service/schemas/api_op_CreateSchema.go | 3 - service/schemas/api_op_DeleteDiscoverer.go | 3 - service/schemas/api_op_DeleteRegistry.go | 3 - .../schemas/api_op_DeleteResourcePolicy.go | 3 - service/schemas/api_op_DeleteSchema.go | 3 - service/schemas/api_op_DeleteSchemaVersion.go | 3 - service/schemas/api_op_DescribeCodeBinding.go | 3 - service/schemas/api_op_DescribeDiscoverer.go | 3 - service/schemas/api_op_DescribeRegistry.go | 3 - service/schemas/api_op_DescribeSchema.go | 3 - service/schemas/api_op_ExportSchema.go | 3 - .../schemas/api_op_GetCodeBindingSource.go | 3 - service/schemas/api_op_GetDiscoveredSchema.go | 3 - service/schemas/api_op_GetResourcePolicy.go | 3 - service/schemas/api_op_ListDiscoverers.go | 3 - service/schemas/api_op_ListRegistries.go | 3 - service/schemas/api_op_ListSchemaVersions.go | 3 - service/schemas/api_op_ListSchemas.go | 3 - service/schemas/api_op_ListTagsForResource.go | 3 - service/schemas/api_op_PutCodeBinding.go | 3 - service/schemas/api_op_PutResourcePolicy.go | 3 - service/schemas/api_op_SearchSchemas.go | 3 - service/schemas/api_op_StartDiscoverer.go | 3 - service/schemas/api_op_StopDiscoverer.go | 3 - service/schemas/api_op_TagResource.go | 3 - service/schemas/api_op_UntagResource.go | 3 - service/schemas/api_op_UpdateDiscoverer.go | 3 - service/schemas/api_op_UpdateRegistry.go | 3 - service/schemas/api_op_UpdateSchema.go | 3 - .../snapshot/api_op_CreateDiscoverer.go.snap | 1 - .../snapshot/api_op_CreateRegistry.go.snap | 1 - .../snapshot/api_op_CreateSchema.go.snap | 1 - .../snapshot/api_op_DeleteDiscoverer.go.snap | 1 - .../snapshot/api_op_DeleteRegistry.go.snap | 1 - .../api_op_DeleteResourcePolicy.go.snap | 1 - .../snapshot/api_op_DeleteSchema.go.snap | 1 - .../api_op_DeleteSchemaVersion.go.snap | 1 - .../api_op_DescribeCodeBinding.go.snap | 1 - .../api_op_DescribeDiscoverer.go.snap | 1 - .../snapshot/api_op_DescribeRegistry.go.snap | 1 - .../snapshot/api_op_DescribeSchema.go.snap | 1 - .../snapshot/api_op_ExportSchema.go.snap | 1 - .../api_op_GetCodeBindingSource.go.snap | 1 - .../api_op_GetDiscoveredSchema.go.snap | 1 - .../snapshot/api_op_GetResourcePolicy.go.snap | 1 - .../snapshot/api_op_ListDiscoverers.go.snap | 1 - .../snapshot/api_op_ListRegistries.go.snap | 1 - .../api_op_ListSchemaVersions.go.snap | 1 - .../snapshot/api_op_ListSchemas.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_PutCodeBinding.go.snap | 1 - .../snapshot/api_op_PutResourcePolicy.go.snap | 1 - .../snapshot/api_op_SearchSchemas.go.snap | 1 - .../snapshot/api_op_StartDiscoverer.go.snap | 1 - .../snapshot/api_op_StopDiscoverer.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateDiscoverer.go.snap | 1 - .../snapshot/api_op_UpdateRegistry.go.snap | 1 - .../snapshot/api_op_UpdateSchema.go.snap | 1 - service/secretsmanager/api_client.go | 31 -- .../api_op_BatchGetSecretValue.go | 3 - .../api_op_CancelRotateSecret.go | 3 - service/secretsmanager/api_op_CreateSecret.go | 3 - .../api_op_DeleteResourcePolicy.go | 3 - service/secretsmanager/api_op_DeleteSecret.go | 3 - .../secretsmanager/api_op_DescribeSecret.go | 3 - .../api_op_GetRandomPassword.go | 3 - .../api_op_GetResourcePolicy.go | 3 - .../secretsmanager/api_op_GetSecretValue.go | 3 - .../api_op_ListSecretVersionIds.go | 3 - service/secretsmanager/api_op_ListSecrets.go | 3 - .../api_op_PutResourcePolicy.go | 3 - .../secretsmanager/api_op_PutSecretValue.go | 3 - .../api_op_RemoveRegionsFromReplication.go | 3 - .../api_op_ReplicateSecretToRegions.go | 3 - .../secretsmanager/api_op_RestoreSecret.go | 3 - service/secretsmanager/api_op_RotateSecret.go | 3 - .../api_op_StopReplicationToReplica.go | 3 - service/secretsmanager/api_op_TagResource.go | 3 - .../secretsmanager/api_op_UntagResource.go | 3 - service/secretsmanager/api_op_UpdateSecret.go | 3 - .../api_op_UpdateSecretVersionStage.go | 3 - .../api_op_ValidateResourcePolicy.go | 3 - .../api_op_BatchGetSecretValue.go.snap | 1 - .../api_op_CancelRotateSecret.go.snap | 1 - .../snapshot/api_op_CreateSecret.go.snap | 1 - .../api_op_DeleteResourcePolicy.go.snap | 1 - .../snapshot/api_op_DeleteSecret.go.snap | 1 - .../snapshot/api_op_DescribeSecret.go.snap | 1 - .../snapshot/api_op_GetRandomPassword.go.snap | 1 - .../snapshot/api_op_GetResourcePolicy.go.snap | 1 - .../snapshot/api_op_GetSecretValue.go.snap | 1 - .../api_op_ListSecretVersionIds.go.snap | 1 - .../snapshot/api_op_ListSecrets.go.snap | 1 - .../snapshot/api_op_PutResourcePolicy.go.snap | 1 - .../snapshot/api_op_PutSecretValue.go.snap | 1 - ...pi_op_RemoveRegionsFromReplication.go.snap | 1 - .../api_op_ReplicateSecretToRegions.go.snap | 1 - .../snapshot/api_op_RestoreSecret.go.snap | 1 - .../snapshot/api_op_RotateSecret.go.snap | 1 - .../api_op_StopReplicationToReplica.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateSecret.go.snap | 1 - .../api_op_UpdateSecretVersionStage.go.snap | 1 - .../api_op_ValidateResourcePolicy.go.snap | 1 - service/securityhub/api_client.go | 31 -- .../api_op_AcceptAdministratorInvitation.go | 3 - .../securityhub/api_op_AcceptInvitation.go | 3 - .../api_op_BatchDeleteAutomationRules.go | 3 - .../api_op_BatchDisableStandards.go | 3 - .../api_op_BatchEnableStandards.go | 3 - .../api_op_BatchGetAutomationRules.go | 3 - ...BatchGetConfigurationPolicyAssociations.go | 3 - .../api_op_BatchGetSecurityControls.go | 3 - ...op_BatchGetStandardsControlAssociations.go | 3 - .../securityhub/api_op_BatchImportFindings.go | 3 - .../api_op_BatchUpdateAutomationRules.go | 3 - .../securityhub/api_op_BatchUpdateFindings.go | 3 - ...BatchUpdateStandardsControlAssociations.go | 3 - .../securityhub/api_op_CreateActionTarget.go | 3 - .../api_op_CreateAutomationRule.go | 3 - .../api_op_CreateConfigurationPolicy.go | 3 - .../api_op_CreateFindingAggregator.go | 3 - service/securityhub/api_op_CreateInsight.go | 3 - service/securityhub/api_op_CreateMembers.go | 3 - .../securityhub/api_op_DeclineInvitations.go | 3 - .../securityhub/api_op_DeleteActionTarget.go | 3 - .../api_op_DeleteConfigurationPolicy.go | 3 - .../api_op_DeleteFindingAggregator.go | 3 - service/securityhub/api_op_DeleteInsight.go | 3 - .../securityhub/api_op_DeleteInvitations.go | 3 - service/securityhub/api_op_DeleteMembers.go | 3 - .../api_op_DescribeActionTargets.go | 3 - service/securityhub/api_op_DescribeHub.go | 3 - ...pi_op_DescribeOrganizationConfiguration.go | 3 - .../securityhub/api_op_DescribeProducts.go | 3 - .../securityhub/api_op_DescribeStandards.go | 3 - .../api_op_DescribeStandardsControls.go | 3 - .../api_op_DisableImportFindingsForProduct.go | 3 - .../api_op_DisableOrganizationAdminAccount.go | 3 - .../securityhub/api_op_DisableSecurityHub.go | 3 - ...op_DisassociateFromAdministratorAccount.go | 3 - .../api_op_DisassociateFromMasterAccount.go | 3 - .../securityhub/api_op_DisassociateMembers.go | 3 - .../api_op_EnableImportFindingsForProduct.go | 3 - .../api_op_EnableOrganizationAdminAccount.go | 3 - .../securityhub/api_op_EnableSecurityHub.go | 3 - .../api_op_GetAdministratorAccount.go | 3 - .../api_op_GetConfigurationPolicy.go | 3 - ...pi_op_GetConfigurationPolicyAssociation.go | 3 - .../securityhub/api_op_GetEnabledStandards.go | 3 - .../api_op_GetFindingAggregator.go | 3 - .../securityhub/api_op_GetFindingHistory.go | 3 - service/securityhub/api_op_GetFindings.go | 3 - .../securityhub/api_op_GetInsightResults.go | 3 - service/securityhub/api_op_GetInsights.go | 3 - .../securityhub/api_op_GetInvitationsCount.go | 3 - .../securityhub/api_op_GetMasterAccount.go | 3 - service/securityhub/api_op_GetMembers.go | 3 - .../api_op_GetSecurityControlDefinition.go | 3 - service/securityhub/api_op_InviteMembers.go | 3 - .../securityhub/api_op_ListAutomationRules.go | 3 - .../api_op_ListConfigurationPolicies.go | 3 - ..._op_ListConfigurationPolicyAssociations.go | 3 - .../api_op_ListEnabledProductsForImport.go | 3 - .../api_op_ListFindingAggregators.go | 3 - service/securityhub/api_op_ListInvitations.go | 3 - service/securityhub/api_op_ListMembers.go | 3 - .../api_op_ListOrganizationAdminAccounts.go | 3 - .../api_op_ListSecurityControlDefinitions.go | 3 - ...api_op_ListStandardsControlAssociations.go | 3 - .../securityhub/api_op_ListTagsForResource.go | 3 - ..._op_StartConfigurationPolicyAssociation.go | 3 - ..._StartConfigurationPolicyDisassociation.go | 3 - service/securityhub/api_op_TagResource.go | 3 - service/securityhub/api_op_UntagResource.go | 3 - .../securityhub/api_op_UpdateActionTarget.go | 3 - .../api_op_UpdateConfigurationPolicy.go | 3 - .../api_op_UpdateFindingAggregator.go | 3 - service/securityhub/api_op_UpdateFindings.go | 3 - service/securityhub/api_op_UpdateInsight.go | 3 - .../api_op_UpdateOrganizationConfiguration.go | 3 - .../api_op_UpdateSecurityControl.go | 3 - .../api_op_UpdateSecurityHubConfiguration.go | 3 - .../api_op_UpdateStandardsControl.go | 3 - ...i_op_AcceptAdministratorInvitation.go.snap | 1 - .../snapshot/api_op_AcceptInvitation.go.snap | 1 - .../api_op_BatchDeleteAutomationRules.go.snap | 1 - .../api_op_BatchDisableStandards.go.snap | 1 - .../api_op_BatchEnableStandards.go.snap | 1 - .../api_op_BatchGetAutomationRules.go.snap | 1 - ...GetConfigurationPolicyAssociations.go.snap | 1 - .../api_op_BatchGetSecurityControls.go.snap | 1 - ...tchGetStandardsControlAssociations.go.snap | 1 - .../api_op_BatchImportFindings.go.snap | 1 - .../api_op_BatchUpdateAutomationRules.go.snap | 1 - .../api_op_BatchUpdateFindings.go.snap | 1 - ...UpdateStandardsControlAssociations.go.snap | 1 - .../api_op_CreateActionTarget.go.snap | 1 - .../api_op_CreateAutomationRule.go.snap | 1 - .../api_op_CreateConfigurationPolicy.go.snap | 1 - .../api_op_CreateFindingAggregator.go.snap | 1 - .../snapshot/api_op_CreateInsight.go.snap | 1 - .../snapshot/api_op_CreateMembers.go.snap | 1 - .../api_op_DeclineInvitations.go.snap | 1 - .../api_op_DeleteActionTarget.go.snap | 1 - .../api_op_DeleteConfigurationPolicy.go.snap | 1 - .../api_op_DeleteFindingAggregator.go.snap | 1 - .../snapshot/api_op_DeleteInsight.go.snap | 1 - .../snapshot/api_op_DeleteInvitations.go.snap | 1 - .../snapshot/api_op_DeleteMembers.go.snap | 1 - .../api_op_DescribeActionTargets.go.snap | 1 - .../snapshot/api_op_DescribeHub.go.snap | 1 - ..._DescribeOrganizationConfiguration.go.snap | 1 - .../snapshot/api_op_DescribeProducts.go.snap | 1 - .../snapshot/api_op_DescribeStandards.go.snap | 1 - .../api_op_DescribeStandardsControls.go.snap | 1 - ...op_DisableImportFindingsForProduct.go.snap | 1 - ...op_DisableOrganizationAdminAccount.go.snap | 1 - .../api_op_DisableSecurityHub.go.snap | 1 - ...sassociateFromAdministratorAccount.go.snap | 1 - ...i_op_DisassociateFromMasterAccount.go.snap | 1 - .../api_op_DisassociateMembers.go.snap | 1 - ..._op_EnableImportFindingsForProduct.go.snap | 1 - ..._op_EnableOrganizationAdminAccount.go.snap | 1 - .../snapshot/api_op_EnableSecurityHub.go.snap | 1 - .../api_op_GetAdministratorAccount.go.snap | 1 - .../api_op_GetConfigurationPolicy.go.snap | 1 - ..._GetConfigurationPolicyAssociation.go.snap | 1 - .../api_op_GetEnabledStandards.go.snap | 1 - .../api_op_GetFindingAggregator.go.snap | 1 - .../snapshot/api_op_GetFindingHistory.go.snap | 1 - .../snapshot/api_op_GetFindings.go.snap | 1 - .../snapshot/api_op_GetInsightResults.go.snap | 1 - .../snapshot/api_op_GetInsights.go.snap | 1 - .../api_op_GetInvitationsCount.go.snap | 1 - .../snapshot/api_op_GetMasterAccount.go.snap | 1 - .../snapshot/api_op_GetMembers.go.snap | 1 - ...pi_op_GetSecurityControlDefinition.go.snap | 1 - .../snapshot/api_op_InviteMembers.go.snap | 1 - .../api_op_ListAutomationRules.go.snap | 1 - .../api_op_ListConfigurationPolicies.go.snap | 1 - ...istConfigurationPolicyAssociations.go.snap | 1 - ...pi_op_ListEnabledProductsForImport.go.snap | 1 - .../api_op_ListFindingAggregators.go.snap | 1 - .../snapshot/api_op_ListInvitations.go.snap | 1 - .../snapshot/api_op_ListMembers.go.snap | 1 - ...i_op_ListOrganizationAdminAccounts.go.snap | 1 - ..._op_ListSecurityControlDefinitions.go.snap | 1 - ...p_ListStandardsControlAssociations.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - ...tartConfigurationPolicyAssociation.go.snap | 1 - ...tConfigurationPolicyDisassociation.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateActionTarget.go.snap | 1 - .../api_op_UpdateConfigurationPolicy.go.snap | 1 - .../api_op_UpdateFindingAggregator.go.snap | 1 - .../snapshot/api_op_UpdateFindings.go.snap | 1 - .../snapshot/api_op_UpdateInsight.go.snap | 1 - ...op_UpdateOrganizationConfiguration.go.snap | 1 - .../api_op_UpdateSecurityControl.go.snap | 1 - ..._op_UpdateSecurityHubConfiguration.go.snap | 1 - .../api_op_UpdateStandardsControl.go.snap | 1 - service/securityir/api_client.go | 31 -- .../api_op_BatchGetMemberAccountDetails.go | 3 - service/securityir/api_op_CancelMembership.go | 3 - service/securityir/api_op_CloseCase.go | 3 - service/securityir/api_op_CreateCase.go | 3 - .../securityir/api_op_CreateCaseComment.go | 3 - service/securityir/api_op_CreateMembership.go | 3 - service/securityir/api_op_GetCase.go | 3 - .../api_op_GetCaseAttachmentDownloadUrl.go | 3 - .../api_op_GetCaseAttachmentUploadUrl.go | 3 - service/securityir/api_op_GetMembership.go | 3 - service/securityir/api_op_ListCaseEdits.go | 3 - service/securityir/api_op_ListCases.go | 3 - service/securityir/api_op_ListComments.go | 3 - service/securityir/api_op_ListMemberships.go | 3 - .../securityir/api_op_ListTagsForResource.go | 3 - service/securityir/api_op_TagResource.go | 3 - service/securityir/api_op_UntagResource.go | 3 - service/securityir/api_op_UpdateCase.go | 3 - .../securityir/api_op_UpdateCaseComment.go | 3 - service/securityir/api_op_UpdateCaseStatus.go | 3 - service/securityir/api_op_UpdateMembership.go | 3 - .../securityir/api_op_UpdateResolverType.go | 3 - ...pi_op_BatchGetMemberAccountDetails.go.snap | 1 - .../snapshot/api_op_CancelMembership.go.snap | 1 - .../snapshot/api_op_CloseCase.go.snap | 1 - .../snapshot/api_op_CreateCase.go.snap | 1 - .../snapshot/api_op_CreateCaseComment.go.snap | 1 - .../snapshot/api_op_CreateMembership.go.snap | 1 - .../snapshot/api_op_GetCase.go.snap | 1 - ...pi_op_GetCaseAttachmentDownloadUrl.go.snap | 1 - .../api_op_GetCaseAttachmentUploadUrl.go.snap | 1 - .../snapshot/api_op_GetMembership.go.snap | 1 - .../snapshot/api_op_ListCaseEdits.go.snap | 1 - .../snapshot/api_op_ListCases.go.snap | 1 - .../snapshot/api_op_ListComments.go.snap | 1 - .../snapshot/api_op_ListMemberships.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateCase.go.snap | 1 - .../snapshot/api_op_UpdateCaseComment.go.snap | 1 - .../snapshot/api_op_UpdateCaseStatus.go.snap | 1 - .../snapshot/api_op_UpdateMembership.go.snap | 1 - .../api_op_UpdateResolverType.go.snap | 1 - service/securitylake/api_client.go | 31 -- .../securitylake/api_op_CreateAwsLogSource.go | 3 - .../api_op_CreateCustomLogSource.go | 3 - service/securitylake/api_op_CreateDataLake.go | 3 - ..._op_CreateDataLakeExceptionSubscription.go | 3 - ...CreateDataLakeOrganizationConfiguration.go | 3 - .../securitylake/api_op_CreateSubscriber.go | 3 - .../api_op_CreateSubscriberNotification.go | 3 - .../securitylake/api_op_DeleteAwsLogSource.go | 3 - .../api_op_DeleteCustomLogSource.go | 3 - service/securitylake/api_op_DeleteDataLake.go | 3 - ..._op_DeleteDataLakeExceptionSubscription.go | 3 - ...DeleteDataLakeOrganizationConfiguration.go | 3 - .../securitylake/api_op_DeleteSubscriber.go | 3 - .../api_op_DeleteSubscriberNotification.go | 3 - ...eregisterDataLakeDelegatedAdministrator.go | 3 - ...api_op_GetDataLakeExceptionSubscription.go | 3 - ...op_GetDataLakeOrganizationConfiguration.go | 3 - .../securitylake/api_op_GetDataLakeSources.go | 3 - service/securitylake/api_op_GetSubscriber.go | 3 - .../api_op_ListDataLakeExceptions.go | 3 - service/securitylake/api_op_ListDataLakes.go | 3 - service/securitylake/api_op_ListLogSources.go | 3 - .../securitylake/api_op_ListSubscribers.go | 3 - .../api_op_ListTagsForResource.go | 3 - ..._RegisterDataLakeDelegatedAdministrator.go | 3 - service/securitylake/api_op_TagResource.go | 3 - service/securitylake/api_op_UntagResource.go | 3 - service/securitylake/api_op_UpdateDataLake.go | 3 - ..._op_UpdateDataLakeExceptionSubscription.go | 3 - .../securitylake/api_op_UpdateSubscriber.go | 3 - .../api_op_UpdateSubscriberNotification.go | 3 - .../api_op_CreateAwsLogSource.go.snap | 1 - .../api_op_CreateCustomLogSource.go.snap | 1 - .../snapshot/api_op_CreateDataLake.go.snap | 1 - ...reateDataLakeExceptionSubscription.go.snap | 1 - ...eDataLakeOrganizationConfiguration.go.snap | 1 - .../snapshot/api_op_CreateSubscriber.go.snap | 1 - ...pi_op_CreateSubscriberNotification.go.snap | 1 - .../api_op_DeleteAwsLogSource.go.snap | 1 - .../api_op_DeleteCustomLogSource.go.snap | 1 - .../snapshot/api_op_DeleteDataLake.go.snap | 1 - ...eleteDataLakeExceptionSubscription.go.snap | 1 - ...eDataLakeOrganizationConfiguration.go.snap | 1 - .../snapshot/api_op_DeleteSubscriber.go.snap | 1 - ...pi_op_DeleteSubscriberNotification.go.snap | 1 - ...sterDataLakeDelegatedAdministrator.go.snap | 1 - ...p_GetDataLakeExceptionSubscription.go.snap | 1 - ...tDataLakeOrganizationConfiguration.go.snap | 1 - .../api_op_GetDataLakeSources.go.snap | 1 - .../snapshot/api_op_GetSubscriber.go.snap | 1 - .../api_op_ListDataLakeExceptions.go.snap | 1 - .../snapshot/api_op_ListDataLakes.go.snap | 1 - .../snapshot/api_op_ListLogSources.go.snap | 1 - .../snapshot/api_op_ListSubscribers.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - ...sterDataLakeDelegatedAdministrator.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateDataLake.go.snap | 1 - ...pdateDataLakeExceptionSubscription.go.snap | 1 - .../snapshot/api_op_UpdateSubscriber.go.snap | 1 - ...pi_op_UpdateSubscriberNotification.go.snap | 1 - .../api_client.go | 31 -- .../api_op_CreateApplication.go | 3 - .../api_op_CreateApplicationVersion.go | 3 - .../api_op_CreateCloudFormationChangeSet.go | 3 - .../api_op_CreateCloudFormationTemplate.go | 3 - .../api_op_DeleteApplication.go | 3 - .../api_op_GetApplication.go | 3 - .../api_op_GetApplicationPolicy.go | 3 - .../api_op_GetCloudFormationTemplate.go | 3 - .../api_op_ListApplicationDependencies.go | 3 - .../api_op_ListApplicationVersions.go | 3 - .../api_op_ListApplications.go | 3 - .../api_op_PutApplicationPolicy.go | 3 - .../api_op_UnshareApplication.go | 3 - .../api_op_UpdateApplication.go | 3 - .../snapshot/api_op_CreateApplication.go.snap | 1 - .../api_op_CreateApplicationVersion.go.snap | 1 - ...i_op_CreateCloudFormationChangeSet.go.snap | 1 - ...pi_op_CreateCloudFormationTemplate.go.snap | 1 - .../snapshot/api_op_DeleteApplication.go.snap | 1 - .../snapshot/api_op_GetApplication.go.snap | 1 - .../api_op_GetApplicationPolicy.go.snap | 1 - .../api_op_GetCloudFormationTemplate.go.snap | 1 - ...api_op_ListApplicationDependencies.go.snap | 1 - .../api_op_ListApplicationVersions.go.snap | 1 - .../snapshot/api_op_ListApplications.go.snap | 1 - .../api_op_PutApplicationPolicy.go.snap | 1 - .../api_op_UnshareApplication.go.snap | 1 - .../snapshot/api_op_UpdateApplication.go.snap | 1 - service/servicecatalog/api_client.go | 31 -- .../api_op_AcceptPortfolioShare.go | 3 - .../api_op_AssociateBudgetWithResource.go | 3 - .../api_op_AssociatePrincipalWithPortfolio.go | 3 - .../api_op_AssociateProductWithPortfolio.go | 3 - ...teServiceActionWithProvisioningArtifact.go | 3 - .../api_op_AssociateTagOptionWithResource.go | 3 - ...teServiceActionWithProvisioningArtifact.go | 3 - ...teServiceActionFromProvisioningArtifact.go | 3 - service/servicecatalog/api_op_CopyProduct.go | 3 - .../servicecatalog/api_op_CreateConstraint.go | 3 - .../servicecatalog/api_op_CreatePortfolio.go | 3 - .../api_op_CreatePortfolioShare.go | 3 - .../servicecatalog/api_op_CreateProduct.go | 3 - .../api_op_CreateProvisionedProductPlan.go | 3 - .../api_op_CreateProvisioningArtifact.go | 3 - .../api_op_CreateServiceAction.go | 3 - .../servicecatalog/api_op_CreateTagOption.go | 3 - .../servicecatalog/api_op_DeleteConstraint.go | 3 - .../servicecatalog/api_op_DeletePortfolio.go | 3 - .../api_op_DeletePortfolioShare.go | 3 - .../servicecatalog/api_op_DeleteProduct.go | 3 - .../api_op_DeleteProvisionedProductPlan.go | 3 - .../api_op_DeleteProvisioningArtifact.go | 3 - .../api_op_DeleteServiceAction.go | 3 - .../servicecatalog/api_op_DeleteTagOption.go | 3 - .../api_op_DescribeConstraint.go | 3 - .../api_op_DescribeCopyProductStatus.go | 3 - .../api_op_DescribePortfolio.go | 3 - .../api_op_DescribePortfolioShareStatus.go | 3 - .../api_op_DescribePortfolioShares.go | 3 - .../servicecatalog/api_op_DescribeProduct.go | 3 - .../api_op_DescribeProductAsAdmin.go | 3 - .../api_op_DescribeProductView.go | 3 - .../api_op_DescribeProvisionedProduct.go | 3 - .../api_op_DescribeProvisionedProductPlan.go | 3 - .../api_op_DescribeProvisioningArtifact.go | 3 - .../api_op_DescribeProvisioningParameters.go | 3 - .../servicecatalog/api_op_DescribeRecord.go | 3 - .../api_op_DescribeServiceAction.go | 3 - ...escribeServiceActionExecutionParameters.go | 3 - .../api_op_DescribeTagOption.go | 3 - .../api_op_DisableAWSOrganizationsAccess.go | 3 - .../api_op_DisassociateBudgetFromResource.go | 3 - ...i_op_DisassociatePrincipalFromPortfolio.go | 3 - ...api_op_DisassociateProductFromPortfolio.go | 3 - ...teServiceActionFromProvisioningArtifact.go | 3 - ...pi_op_DisassociateTagOptionFromResource.go | 3 - .../api_op_EnableAWSOrganizationsAccess.go | 3 - .../api_op_ExecuteProvisionedProductPlan.go | 3 - ..._ExecuteProvisionedProductServiceAction.go | 3 - .../api_op_GetAWSOrganizationsAccessStatus.go | 3 - .../api_op_GetProvisionedProductOutputs.go | 3 - .../api_op_ImportAsProvisionedProduct.go | 3 - .../api_op_ListAcceptedPortfolioShares.go | 3 - .../api_op_ListBudgetsForResource.go | 3 - .../api_op_ListConstraintsForPortfolio.go | 3 - .../servicecatalog/api_op_ListLaunchPaths.go | 3 - .../api_op_ListOrganizationPortfolioAccess.go | 3 - .../api_op_ListPortfolioAccess.go | 3 - .../servicecatalog/api_op_ListPortfolios.go | 3 - .../api_op_ListPortfoliosForProduct.go | 3 - .../api_op_ListPrincipalsForPortfolio.go | 3 - .../api_op_ListProvisionedProductPlans.go | 3 - .../api_op_ListProvisioningArtifacts.go | 3 - ...stProvisioningArtifactsForServiceAction.go | 3 - .../api_op_ListRecordHistory.go | 3 - .../api_op_ListResourcesForTagOption.go | 3 - .../api_op_ListServiceActions.go | 3 - ...stServiceActionsForProvisioningArtifact.go | 3 - ...ListStackInstancesForProvisionedProduct.go | 3 - .../servicecatalog/api_op_ListTagOptions.go | 3 - ...ifyProvisionProductEngineWorkflowResult.go | 3 - ...eProvisionedProductEngineWorkflowResult.go | 3 - ...eProvisionedProductEngineWorkflowResult.go | 3 - .../servicecatalog/api_op_ProvisionProduct.go | 3 - .../api_op_RejectPortfolioShare.go | 3 - .../api_op_ScanProvisionedProducts.go | 3 - .../servicecatalog/api_op_SearchProducts.go | 3 - .../api_op_SearchProductsAsAdmin.go | 3 - .../api_op_SearchProvisionedProducts.go | 3 - .../api_op_TerminateProvisionedProduct.go | 3 - .../servicecatalog/api_op_UpdateConstraint.go | 3 - .../servicecatalog/api_op_UpdatePortfolio.go | 3 - .../api_op_UpdatePortfolioShare.go | 3 - .../servicecatalog/api_op_UpdateProduct.go | 3 - .../api_op_UpdateProvisionedProduct.go | 3 - ...i_op_UpdateProvisionedProductProperties.go | 3 - .../api_op_UpdateProvisioningArtifact.go | 3 - .../api_op_UpdateServiceAction.go | 3 - .../servicecatalog/api_op_UpdateTagOption.go | 3 - .../api_op_AcceptPortfolioShare.go.snap | 1 - ...api_op_AssociateBudgetWithResource.go.snap | 1 - ...op_AssociatePrincipalWithPortfolio.go.snap | 1 - ...i_op_AssociateProductWithPortfolio.go.snap | 1 - ...viceActionWithProvisioningArtifact.go.snap | 1 - ..._op_AssociateTagOptionWithResource.go.snap | 1 - ...viceActionWithProvisioningArtifact.go.snap | 1 - ...viceActionFromProvisioningArtifact.go.snap | 1 - .../snapshot/api_op_CopyProduct.go.snap | 1 - .../snapshot/api_op_CreateConstraint.go.snap | 1 - .../snapshot/api_op_CreatePortfolio.go.snap | 1 - .../api_op_CreatePortfolioShare.go.snap | 1 - .../snapshot/api_op_CreateProduct.go.snap | 1 - ...pi_op_CreateProvisionedProductPlan.go.snap | 1 - .../api_op_CreateProvisioningArtifact.go.snap | 1 - .../api_op_CreateServiceAction.go.snap | 1 - .../snapshot/api_op_CreateTagOption.go.snap | 1 - .../snapshot/api_op_DeleteConstraint.go.snap | 1 - .../snapshot/api_op_DeletePortfolio.go.snap | 1 - .../api_op_DeletePortfolioShare.go.snap | 1 - .../snapshot/api_op_DeleteProduct.go.snap | 1 - ...pi_op_DeleteProvisionedProductPlan.go.snap | 1 - .../api_op_DeleteProvisioningArtifact.go.snap | 1 - .../api_op_DeleteServiceAction.go.snap | 1 - .../snapshot/api_op_DeleteTagOption.go.snap | 1 - .../api_op_DescribeConstraint.go.snap | 1 - .../api_op_DescribeCopyProductStatus.go.snap | 1 - .../snapshot/api_op_DescribePortfolio.go.snap | 1 - ...pi_op_DescribePortfolioShareStatus.go.snap | 1 - .../api_op_DescribePortfolioShares.go.snap | 1 - .../snapshot/api_op_DescribeProduct.go.snap | 1 - .../api_op_DescribeProductAsAdmin.go.snap | 1 - .../api_op_DescribeProductView.go.snap | 1 - .../api_op_DescribeProvisionedProduct.go.snap | 1 - ..._op_DescribeProvisionedProductPlan.go.snap | 1 - ...pi_op_DescribeProvisioningArtifact.go.snap | 1 - ..._op_DescribeProvisioningParameters.go.snap | 1 - .../snapshot/api_op_DescribeRecord.go.snap | 1 - .../api_op_DescribeServiceAction.go.snap | 1 - ...beServiceActionExecutionParameters.go.snap | 1 - .../snapshot/api_op_DescribeTagOption.go.snap | 1 - ...i_op_DisableAWSOrganizationsAccess.go.snap | 1 - ..._op_DisassociateBudgetFromResource.go.snap | 1 - ...DisassociatePrincipalFromPortfolio.go.snap | 1 - ...p_DisassociateProductFromPortfolio.go.snap | 1 - ...viceActionFromProvisioningArtifact.go.snap | 1 - ..._DisassociateTagOptionFromResource.go.snap | 1 - ...pi_op_EnableAWSOrganizationsAccess.go.snap | 1 - ...i_op_ExecuteProvisionedProductPlan.go.snap | 1 - ...uteProvisionedProductServiceAction.go.snap | 1 - ...op_GetAWSOrganizationsAccessStatus.go.snap | 1 - ...pi_op_GetProvisionedProductOutputs.go.snap | 1 - .../api_op_ImportAsProvisionedProduct.go.snap | 1 - ...api_op_ListAcceptedPortfolioShares.go.snap | 1 - .../api_op_ListBudgetsForResource.go.snap | 1 - ...api_op_ListConstraintsForPortfolio.go.snap | 1 - .../snapshot/api_op_ListLaunchPaths.go.snap | 1 - ...op_ListOrganizationPortfolioAccess.go.snap | 1 - .../api_op_ListPortfolioAccess.go.snap | 1 - .../snapshot/api_op_ListPortfolios.go.snap | 1 - .../api_op_ListPortfoliosForProduct.go.snap | 1 - .../api_op_ListPrincipalsForPortfolio.go.snap | 1 - ...api_op_ListProvisionedProductPlans.go.snap | 1 - .../api_op_ListProvisioningArtifacts.go.snap | 1 - ...visioningArtifactsForServiceAction.go.snap | 1 - .../snapshot/api_op_ListRecordHistory.go.snap | 1 - .../api_op_ListResourcesForTagOption.go.snap | 1 - .../api_op_ListServiceActions.go.snap | 1 - ...viceActionsForProvisioningArtifact.go.snap | 1 - ...tackInstancesForProvisionedProduct.go.snap | 1 - .../snapshot/api_op_ListTagOptions.go.snap | 1 - ...ovisionProductEngineWorkflowResult.go.snap | 1 - ...isionedProductEngineWorkflowResult.go.snap | 1 - ...isionedProductEngineWorkflowResult.go.snap | 1 - .../snapshot/api_op_ProvisionProduct.go.snap | 1 - .../api_op_RejectPortfolioShare.go.snap | 1 - .../api_op_ScanProvisionedProducts.go.snap | 1 - .../snapshot/api_op_SearchProducts.go.snap | 1 - .../api_op_SearchProductsAsAdmin.go.snap | 1 - .../api_op_SearchProvisionedProducts.go.snap | 1 - ...api_op_TerminateProvisionedProduct.go.snap | 1 - .../snapshot/api_op_UpdateConstraint.go.snap | 1 - .../snapshot/api_op_UpdatePortfolio.go.snap | 1 - .../api_op_UpdatePortfolioShare.go.snap | 1 - .../snapshot/api_op_UpdateProduct.go.snap | 1 - .../api_op_UpdateProvisionedProduct.go.snap | 1 - ...UpdateProvisionedProductProperties.go.snap | 1 - .../api_op_UpdateProvisioningArtifact.go.snap | 1 - .../api_op_UpdateServiceAction.go.snap | 1 - .../snapshot/api_op_UpdateTagOption.go.snap | 1 - .../servicecatalogappregistry/api_client.go | 31 -- .../api_op_AssociateAttributeGroup.go | 3 - .../api_op_AssociateResource.go | 3 - .../api_op_CreateApplication.go | 3 - .../api_op_CreateAttributeGroup.go | 3 - .../api_op_DeleteApplication.go | 3 - .../api_op_DeleteAttributeGroup.go | 3 - .../api_op_DisassociateAttributeGroup.go | 3 - .../api_op_DisassociateResource.go | 3 - .../api_op_GetApplication.go | 3 - .../api_op_GetAssociatedResource.go | 3 - .../api_op_GetAttributeGroup.go | 3 - .../api_op_GetConfiguration.go | 3 - .../api_op_ListApplications.go | 3 - .../api_op_ListAssociatedAttributeGroups.go | 3 - .../api_op_ListAssociatedResources.go | 3 - .../api_op_ListAttributeGroups.go | 3 - ...pi_op_ListAttributeGroupsForApplication.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_PutConfiguration.go | 3 - .../api_op_SyncResource.go | 3 - .../api_op_TagResource.go | 3 - .../api_op_UntagResource.go | 3 - .../api_op_UpdateApplication.go | 3 - .../api_op_UpdateAttributeGroup.go | 3 - .../api_op_AssociateAttributeGroup.go.snap | 1 - .../snapshot/api_op_AssociateResource.go.snap | 1 - .../snapshot/api_op_CreateApplication.go.snap | 1 - .../api_op_CreateAttributeGroup.go.snap | 1 - .../snapshot/api_op_DeleteApplication.go.snap | 1 - .../api_op_DeleteAttributeGroup.go.snap | 1 - .../api_op_DisassociateAttributeGroup.go.snap | 1 - .../api_op_DisassociateResource.go.snap | 1 - .../snapshot/api_op_GetApplication.go.snap | 1 - .../api_op_GetAssociatedResource.go.snap | 1 - .../snapshot/api_op_GetAttributeGroup.go.snap | 1 - .../snapshot/api_op_GetConfiguration.go.snap | 1 - .../snapshot/api_op_ListApplications.go.snap | 1 - ...i_op_ListAssociatedAttributeGroups.go.snap | 1 - .../api_op_ListAssociatedResources.go.snap | 1 - .../api_op_ListAttributeGroups.go.snap | 1 - ..._ListAttributeGroupsForApplication.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_PutConfiguration.go.snap | 1 - .../snapshot/api_op_SyncResource.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateApplication.go.snap | 1 - .../api_op_UpdateAttributeGroup.go.snap | 1 - service/servicediscovery/api_client.go | 31 -- .../api_op_CreateHttpNamespace.go | 3 - .../api_op_CreatePrivateDnsNamespace.go | 3 - .../api_op_CreatePublicDnsNamespace.go | 3 - .../servicediscovery/api_op_CreateService.go | 3 - .../api_op_DeleteNamespace.go | 3 - .../servicediscovery/api_op_DeleteService.go | 3 - .../api_op_DeleteServiceAttributes.go | 3 - .../api_op_DeregisterInstance.go | 3 - .../api_op_DiscoverInstances.go | 3 - .../api_op_DiscoverInstancesRevision.go | 3 - .../servicediscovery/api_op_GetInstance.go | 3 - .../api_op_GetInstancesHealthStatus.go | 3 - .../servicediscovery/api_op_GetNamespace.go | 3 - .../servicediscovery/api_op_GetOperation.go | 3 - service/servicediscovery/api_op_GetService.go | 3 - .../api_op_GetServiceAttributes.go | 3 - .../servicediscovery/api_op_ListInstances.go | 3 - .../servicediscovery/api_op_ListNamespaces.go | 3 - .../servicediscovery/api_op_ListOperations.go | 3 - .../servicediscovery/api_op_ListServices.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_RegisterInstance.go | 3 - .../servicediscovery/api_op_TagResource.go | 3 - .../servicediscovery/api_op_UntagResource.go | 3 - .../api_op_UpdateHttpNamespace.go | 3 - ...api_op_UpdateInstanceCustomHealthStatus.go | 3 - .../api_op_UpdatePrivateDnsNamespace.go | 3 - .../api_op_UpdatePublicDnsNamespace.go | 3 - .../servicediscovery/api_op_UpdateService.go | 3 - .../api_op_UpdateServiceAttributes.go | 3 - .../api_op_CreateHttpNamespace.go.snap | 1 - .../api_op_CreatePrivateDnsNamespace.go.snap | 1 - .../api_op_CreatePublicDnsNamespace.go.snap | 1 - .../snapshot/api_op_CreateService.go.snap | 1 - .../snapshot/api_op_DeleteNamespace.go.snap | 1 - .../snapshot/api_op_DeleteService.go.snap | 1 - .../api_op_DeleteServiceAttributes.go.snap | 1 - .../api_op_DeregisterInstance.go.snap | 1 - .../snapshot/api_op_DiscoverInstances.go.snap | 1 - .../api_op_DiscoverInstancesRevision.go.snap | 1 - .../snapshot/api_op_GetInstance.go.snap | 1 - .../api_op_GetInstancesHealthStatus.go.snap | 1 - .../snapshot/api_op_GetNamespace.go.snap | 1 - .../snapshot/api_op_GetOperation.go.snap | 1 - .../snapshot/api_op_GetService.go.snap | 1 - .../api_op_GetServiceAttributes.go.snap | 1 - .../snapshot/api_op_ListInstances.go.snap | 1 - .../snapshot/api_op_ListNamespaces.go.snap | 1 - .../snapshot/api_op_ListOperations.go.snap | 1 - .../snapshot/api_op_ListServices.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_RegisterInstance.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateHttpNamespace.go.snap | 1 - ...p_UpdateInstanceCustomHealthStatus.go.snap | 1 - .../api_op_UpdatePrivateDnsNamespace.go.snap | 1 - .../api_op_UpdatePublicDnsNamespace.go.snap | 1 - .../snapshot/api_op_UpdateService.go.snap | 1 - .../api_op_UpdateServiceAttributes.go.snap | 1 - service/servicequotas/api_client.go | 31 -- .../api_op_AssociateServiceQuotaTemplate.go | 3 - ...ServiceQuotaIncreaseRequestFromTemplate.go | 3 - ...api_op_DisassociateServiceQuotaTemplate.go | 3 - .../api_op_GetAWSDefaultServiceQuota.go | 3 - ...p_GetAssociationForServiceQuotaTemplate.go | 3 - .../api_op_GetRequestedServiceQuotaChange.go | 3 - .../servicequotas/api_op_GetServiceQuota.go | 3 - ...ServiceQuotaIncreaseRequestFromTemplate.go | 3 - .../api_op_ListAWSDefaultServiceQuotas.go | 3 - ..._ListRequestedServiceQuotaChangeHistory.go | 3 - ...questedServiceQuotaChangeHistoryByQuota.go | 3 - ...tServiceQuotaIncreaseRequestsInTemplate.go | 3 - .../servicequotas/api_op_ListServiceQuotas.go | 3 - service/servicequotas/api_op_ListServices.go | 3 - .../api_op_ListTagsForResource.go | 3 - ...ServiceQuotaIncreaseRequestIntoTemplate.go | 3 - .../api_op_RequestServiceQuotaIncrease.go | 3 - service/servicequotas/api_op_TagResource.go | 3 - service/servicequotas/api_op_UntagResource.go | 3 - ...i_op_AssociateServiceQuotaTemplate.go.snap | 1 - ...ceQuotaIncreaseRequestFromTemplate.go.snap | 1 - ...p_DisassociateServiceQuotaTemplate.go.snap | 1 - .../api_op_GetAWSDefaultServiceQuota.go.snap | 1 - ...AssociationForServiceQuotaTemplate.go.snap | 1 - ..._op_GetRequestedServiceQuotaChange.go.snap | 1 - .../snapshot/api_op_GetServiceQuota.go.snap | 1 - ...ceQuotaIncreaseRequestFromTemplate.go.snap | 1 - ...api_op_ListAWSDefaultServiceQuotas.go.snap | 1 - ...RequestedServiceQuotaChangeHistory.go.snap | 1 - ...edServiceQuotaChangeHistoryByQuota.go.snap | 1 - ...iceQuotaIncreaseRequestsInTemplate.go.snap | 1 - .../snapshot/api_op_ListServiceQuotas.go.snap | 1 - .../snapshot/api_op_ListServices.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - ...ceQuotaIncreaseRequestIntoTemplate.go.snap | 1 - ...api_op_RequestServiceQuotaIncrease.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - service/ses/api_client.go | 31 -- service/ses/api_op_CloneReceiptRuleSet.go | 3 - service/ses/api_op_CreateConfigurationSet.go | 3 - ..._CreateConfigurationSetEventDestination.go | 3 - ...p_CreateConfigurationSetTrackingOptions.go | 3 - ...p_CreateCustomVerificationEmailTemplate.go | 3 - service/ses/api_op_CreateReceiptFilter.go | 3 - service/ses/api_op_CreateReceiptRule.go | 3 - service/ses/api_op_CreateReceiptRuleSet.go | 3 - service/ses/api_op_CreateTemplate.go | 3 - service/ses/api_op_DeleteConfigurationSet.go | 3 - ..._DeleteConfigurationSetEventDestination.go | 3 - ...p_DeleteConfigurationSetTrackingOptions.go | 3 - ...p_DeleteCustomVerificationEmailTemplate.go | 3 - service/ses/api_op_DeleteIdentity.go | 3 - service/ses/api_op_DeleteIdentityPolicy.go | 3 - service/ses/api_op_DeleteReceiptFilter.go | 3 - service/ses/api_op_DeleteReceiptRule.go | 3 - service/ses/api_op_DeleteReceiptRuleSet.go | 3 - service/ses/api_op_DeleteTemplate.go | 3 - .../ses/api_op_DeleteVerifiedEmailAddress.go | 3 - .../api_op_DescribeActiveReceiptRuleSet.go | 3 - .../ses/api_op_DescribeConfigurationSet.go | 3 - service/ses/api_op_DescribeReceiptRule.go | 3 - service/ses/api_op_DescribeReceiptRuleSet.go | 3 - .../ses/api_op_GetAccountSendingEnabled.go | 3 - ...i_op_GetCustomVerificationEmailTemplate.go | 3 - .../ses/api_op_GetIdentityDkimAttributes.go | 3 - ..._op_GetIdentityMailFromDomainAttributes.go | 3 - ...pi_op_GetIdentityNotificationAttributes.go | 3 - service/ses/api_op_GetIdentityPolicies.go | 3 - ...pi_op_GetIdentityVerificationAttributes.go | 3 - service/ses/api_op_GetSendQuota.go | 3 - service/ses/api_op_GetSendStatistics.go | 3 - service/ses/api_op_GetTemplate.go | 3 - service/ses/api_op_ListConfigurationSets.go | 3 - ...op_ListCustomVerificationEmailTemplates.go | 3 - service/ses/api_op_ListIdentities.go | 3 - service/ses/api_op_ListIdentityPolicies.go | 3 - service/ses/api_op_ListReceiptFilters.go | 3 - service/ses/api_op_ListReceiptRuleSets.go | 3 - service/ses/api_op_ListTemplates.go | 3 - .../ses/api_op_ListVerifiedEmailAddresses.go | 3 - ...i_op_PutConfigurationSetDeliveryOptions.go | 3 - service/ses/api_op_PutIdentityPolicy.go | 3 - service/ses/api_op_ReorderReceiptRuleSet.go | 3 - service/ses/api_op_SendBounce.go | 3 - service/ses/api_op_SendBulkTemplatedEmail.go | 3 - .../ses/api_op_SendCustomVerificationEmail.go | 3 - service/ses/api_op_SendEmail.go | 3 - service/ses/api_op_SendRawEmail.go | 3 - service/ses/api_op_SendTemplatedEmail.go | 3 - service/ses/api_op_SetActiveReceiptRuleSet.go | 3 - service/ses/api_op_SetIdentityDkimEnabled.go | 3 - ...op_SetIdentityFeedbackForwardingEnabled.go | 3 - ...etIdentityHeadersInNotificationsEnabled.go | 3 - .../ses/api_op_SetIdentityMailFromDomain.go | 3 - .../api_op_SetIdentityNotificationTopic.go | 3 - service/ses/api_op_SetReceiptRulePosition.go | 3 - service/ses/api_op_TestRenderTemplate.go | 3 - .../ses/api_op_UpdateAccountSendingEnabled.go | 3 - ..._UpdateConfigurationSetEventDestination.go | 3 - ...onfigurationSetReputationMetricsEnabled.go | 3 - ...op_UpdateConfigurationSetSendingEnabled.go | 3 - ...p_UpdateConfigurationSetTrackingOptions.go | 3 - ...p_UpdateCustomVerificationEmailTemplate.go | 3 - service/ses/api_op_UpdateReceiptRule.go | 3 - service/ses/api_op_UpdateTemplate.go | 3 - service/ses/api_op_VerifyDomainDkim.go | 3 - service/ses/api_op_VerifyDomainIdentity.go | 3 - service/ses/api_op_VerifyEmailAddress.go | 3 - service/ses/api_op_VerifyEmailIdentity.go | 3 - .../api_op_CloneReceiptRuleSet.go.snap | 1 - .../api_op_CreateConfigurationSet.go.snap | 1 - ...teConfigurationSetEventDestination.go.snap | 1 - ...ateConfigurationSetTrackingOptions.go.snap | 1 - ...ateCustomVerificationEmailTemplate.go.snap | 1 - .../api_op_CreateReceiptFilter.go.snap | 1 - .../snapshot/api_op_CreateReceiptRule.go.snap | 1 - .../api_op_CreateReceiptRuleSet.go.snap | 1 - .../snapshot/api_op_CreateTemplate.go.snap | 1 - .../api_op_DeleteConfigurationSet.go.snap | 1 - ...teConfigurationSetEventDestination.go.snap | 1 - ...eteConfigurationSetTrackingOptions.go.snap | 1 - ...eteCustomVerificationEmailTemplate.go.snap | 1 - .../snapshot/api_op_DeleteIdentity.go.snap | 1 - .../api_op_DeleteIdentityPolicy.go.snap | 1 - .../api_op_DeleteReceiptFilter.go.snap | 1 - .../snapshot/api_op_DeleteReceiptRule.go.snap | 1 - .../api_op_DeleteReceiptRuleSet.go.snap | 1 - .../snapshot/api_op_DeleteTemplate.go.snap | 1 - .../api_op_DeleteVerifiedEmailAddress.go.snap | 1 - ...pi_op_DescribeActiveReceiptRuleSet.go.snap | 1 - .../api_op_DescribeConfigurationSet.go.snap | 1 - .../api_op_DescribeReceiptRule.go.snap | 1 - .../api_op_DescribeReceiptRuleSet.go.snap | 1 - .../api_op_GetAccountSendingEnabled.go.snap | 1 - ...GetCustomVerificationEmailTemplate.go.snap | 1 - .../api_op_GetIdentityDkimAttributes.go.snap | 1 - ...etIdentityMailFromDomainAttributes.go.snap | 1 - ..._GetIdentityNotificationAttributes.go.snap | 1 - .../api_op_GetIdentityPolicies.go.snap | 1 - ..._GetIdentityVerificationAttributes.go.snap | 1 - .../ses/snapshot/api_op_GetSendQuota.go.snap | 1 - .../snapshot/api_op_GetSendStatistics.go.snap | 1 - .../ses/snapshot/api_op_GetTemplate.go.snap | 1 - .../api_op_ListConfigurationSets.go.snap | 1 - ...stCustomVerificationEmailTemplates.go.snap | 1 - .../snapshot/api_op_ListIdentities.go.snap | 1 - .../api_op_ListIdentityPolicies.go.snap | 1 - .../api_op_ListReceiptFilters.go.snap | 1 - .../api_op_ListReceiptRuleSets.go.snap | 1 - .../ses/snapshot/api_op_ListTemplates.go.snap | 1 - .../api_op_ListVerifiedEmailAddresses.go.snap | 1 - ...PutConfigurationSetDeliveryOptions.go.snap | 1 - .../snapshot/api_op_PutIdentityPolicy.go.snap | 1 - .../api_op_ReorderReceiptRuleSet.go.snap | 1 - .../ses/snapshot/api_op_SendBounce.go.snap | 1 - .../api_op_SendBulkTemplatedEmail.go.snap | 1 - ...api_op_SendCustomVerificationEmail.go.snap | 1 - service/ses/snapshot/api_op_SendEmail.go.snap | 1 - .../ses/snapshot/api_op_SendRawEmail.go.snap | 1 - .../api_op_SendTemplatedEmail.go.snap | 1 - .../api_op_SetActiveReceiptRuleSet.go.snap | 1 - .../api_op_SetIdentityDkimEnabled.go.snap | 1 - ...tIdentityFeedbackForwardingEnabled.go.snap | 1 - ...ntityHeadersInNotificationsEnabled.go.snap | 1 - .../api_op_SetIdentityMailFromDomain.go.snap | 1 - ...pi_op_SetIdentityNotificationTopic.go.snap | 1 - .../api_op_SetReceiptRulePosition.go.snap | 1 - .../api_op_TestRenderTemplate.go.snap | 1 - ...api_op_UpdateAccountSendingEnabled.go.snap | 1 - ...teConfigurationSetEventDestination.go.snap | 1 - ...urationSetReputationMetricsEnabled.go.snap | 1 - ...dateConfigurationSetSendingEnabled.go.snap | 1 - ...ateConfigurationSetTrackingOptions.go.snap | 1 - ...ateCustomVerificationEmailTemplate.go.snap | 1 - .../snapshot/api_op_UpdateReceiptRule.go.snap | 1 - .../snapshot/api_op_UpdateTemplate.go.snap | 1 - .../snapshot/api_op_VerifyDomainDkim.go.snap | 1 - .../api_op_VerifyDomainIdentity.go.snap | 1 - .../api_op_VerifyEmailAddress.go.snap | 1 - .../api_op_VerifyEmailIdentity.go.snap | 1 - service/sesv2/api_client.go | 31 -- service/sesv2/api_op_BatchGetMetricData.go | 3 - service/sesv2/api_op_CancelExportJob.go | 3 - .../sesv2/api_op_CreateConfigurationSet.go | 3 - ..._CreateConfigurationSetEventDestination.go | 3 - service/sesv2/api_op_CreateContact.go | 3 - service/sesv2/api_op_CreateContactList.go | 3 - ...p_CreateCustomVerificationEmailTemplate.go | 3 - service/sesv2/api_op_CreateDedicatedIpPool.go | 3 - .../api_op_CreateDeliverabilityTestReport.go | 3 - service/sesv2/api_op_CreateEmailIdentity.go | 3 - .../sesv2/api_op_CreateEmailIdentityPolicy.go | 3 - service/sesv2/api_op_CreateEmailTemplate.go | 3 - service/sesv2/api_op_CreateExportJob.go | 3 - service/sesv2/api_op_CreateImportJob.go | 3 - .../sesv2/api_op_CreateMultiRegionEndpoint.go | 3 - .../sesv2/api_op_DeleteConfigurationSet.go | 3 - ..._DeleteConfigurationSetEventDestination.go | 3 - service/sesv2/api_op_DeleteContact.go | 3 - service/sesv2/api_op_DeleteContactList.go | 3 - ...p_DeleteCustomVerificationEmailTemplate.go | 3 - service/sesv2/api_op_DeleteDedicatedIpPool.go | 3 - service/sesv2/api_op_DeleteEmailIdentity.go | 3 - .../sesv2/api_op_DeleteEmailIdentityPolicy.go | 3 - service/sesv2/api_op_DeleteEmailTemplate.go | 3 - .../sesv2/api_op_DeleteMultiRegionEndpoint.go | 3 - .../api_op_DeleteSuppressedDestination.go | 3 - service/sesv2/api_op_GetAccount.go | 3 - service/sesv2/api_op_GetBlacklistReports.go | 3 - service/sesv2/api_op_GetConfigurationSet.go | 3 - ...op_GetConfigurationSetEventDestinations.go | 3 - service/sesv2/api_op_GetContact.go | 3 - service/sesv2/api_op_GetContactList.go | 3 - ...i_op_GetCustomVerificationEmailTemplate.go | 3 - service/sesv2/api_op_GetDedicatedIp.go | 3 - service/sesv2/api_op_GetDedicatedIpPool.go | 3 - service/sesv2/api_op_GetDedicatedIps.go | 3 - ...pi_op_GetDeliverabilityDashboardOptions.go | 3 - .../api_op_GetDeliverabilityTestReport.go | 3 - .../api_op_GetDomainDeliverabilityCampaign.go | 3 - .../sesv2/api_op_GetDomainStatisticsReport.go | 3 - service/sesv2/api_op_GetEmailIdentity.go | 3 - .../sesv2/api_op_GetEmailIdentityPolicies.go | 3 - service/sesv2/api_op_GetEmailTemplate.go | 3 - service/sesv2/api_op_GetExportJob.go | 3 - service/sesv2/api_op_GetImportJob.go | 3 - service/sesv2/api_op_GetMessageInsights.go | 3 - .../sesv2/api_op_GetMultiRegionEndpoint.go | 3 - .../sesv2/api_op_GetSuppressedDestination.go | 3 - service/sesv2/api_op_ListConfigurationSets.go | 3 - service/sesv2/api_op_ListContactLists.go | 3 - service/sesv2/api_op_ListContacts.go | 3 - ...op_ListCustomVerificationEmailTemplates.go | 3 - service/sesv2/api_op_ListDedicatedIpPools.go | 3 - .../api_op_ListDeliverabilityTestReports.go | 3 - ...pi_op_ListDomainDeliverabilityCampaigns.go | 3 - service/sesv2/api_op_ListEmailIdentities.go | 3 - service/sesv2/api_op_ListEmailTemplates.go | 3 - service/sesv2/api_op_ListExportJobs.go | 3 - service/sesv2/api_op_ListImportJobs.go | 3 - .../sesv2/api_op_ListMultiRegionEndpoints.go | 3 - service/sesv2/api_op_ListRecommendations.go | 3 - .../api_op_ListSuppressedDestinations.go | 3 - service/sesv2/api_op_ListTagsForResource.go | 3 - ...p_PutAccountDedicatedIpWarmupAttributes.go | 3 - service/sesv2/api_op_PutAccountDetails.go | 3 - .../api_op_PutAccountSendingAttributes.go | 3 - .../api_op_PutAccountSuppressionAttributes.go | 3 - .../sesv2/api_op_PutAccountVdmAttributes.go | 3 - ...i_op_PutConfigurationSetDeliveryOptions.go | 3 - ...op_PutConfigurationSetReputationOptions.go | 3 - ...pi_op_PutConfigurationSetSendingOptions.go | 3 - ...p_PutConfigurationSetSuppressionOptions.go | 3 - ...i_op_PutConfigurationSetTrackingOptions.go | 3 - .../api_op_PutConfigurationSetVdmOptions.go | 3 - service/sesv2/api_op_PutDedicatedIpInPool.go | 3 - ..._op_PutDedicatedIpPoolScalingAttributes.go | 3 - .../api_op_PutDedicatedIpWarmupAttributes.go | 3 - ...api_op_PutDeliverabilityDashboardOption.go | 3 - ...EmailIdentityConfigurationSetAttributes.go | 3 - .../api_op_PutEmailIdentityDkimAttributes.go | 3 - ...p_PutEmailIdentityDkimSigningAttributes.go | 3 - ...i_op_PutEmailIdentityFeedbackAttributes.go | 3 - ...i_op_PutEmailIdentityMailFromAttributes.go | 3 - .../sesv2/api_op_PutSuppressedDestination.go | 3 - service/sesv2/api_op_SendBulkEmail.go | 3 - .../api_op_SendCustomVerificationEmail.go | 3 - service/sesv2/api_op_SendEmail.go | 3 - service/sesv2/api_op_TagResource.go | 3 - .../sesv2/api_op_TestRenderEmailTemplate.go | 3 - service/sesv2/api_op_UntagResource.go | 3 - ..._UpdateConfigurationSetEventDestination.go | 3 - service/sesv2/api_op_UpdateContact.go | 3 - service/sesv2/api_op_UpdateContactList.go | 3 - ...p_UpdateCustomVerificationEmailTemplate.go | 3 - .../sesv2/api_op_UpdateEmailIdentityPolicy.go | 3 - service/sesv2/api_op_UpdateEmailTemplate.go | 3 - .../api_op_BatchGetMetricData.go.snap | 1 - .../snapshot/api_op_CancelExportJob.go.snap | 1 - .../api_op_CreateConfigurationSet.go.snap | 1 - ...teConfigurationSetEventDestination.go.snap | 1 - .../snapshot/api_op_CreateContact.go.snap | 1 - .../snapshot/api_op_CreateContactList.go.snap | 1 - ...ateCustomVerificationEmailTemplate.go.snap | 1 - .../api_op_CreateDedicatedIpPool.go.snap | 1 - ..._op_CreateDeliverabilityTestReport.go.snap | 1 - .../api_op_CreateEmailIdentity.go.snap | 1 - .../api_op_CreateEmailIdentityPolicy.go.snap | 1 - .../api_op_CreateEmailTemplate.go.snap | 1 - .../snapshot/api_op_CreateExportJob.go.snap | 1 - .../snapshot/api_op_CreateImportJob.go.snap | 1 - .../api_op_CreateMultiRegionEndpoint.go.snap | 1 - .../api_op_DeleteConfigurationSet.go.snap | 1 - ...teConfigurationSetEventDestination.go.snap | 1 - .../snapshot/api_op_DeleteContact.go.snap | 1 - .../snapshot/api_op_DeleteContactList.go.snap | 1 - ...eteCustomVerificationEmailTemplate.go.snap | 1 - .../api_op_DeleteDedicatedIpPool.go.snap | 1 - .../api_op_DeleteEmailIdentity.go.snap | 1 - .../api_op_DeleteEmailIdentityPolicy.go.snap | 1 - .../api_op_DeleteEmailTemplate.go.snap | 1 - .../api_op_DeleteMultiRegionEndpoint.go.snap | 1 - ...api_op_DeleteSuppressedDestination.go.snap | 1 - .../sesv2/snapshot/api_op_GetAccount.go.snap | 1 - .../api_op_GetBlacklistReports.go.snap | 1 - .../api_op_GetConfigurationSet.go.snap | 1 - ...tConfigurationSetEventDestinations.go.snap | 1 - .../sesv2/snapshot/api_op_GetContact.go.snap | 1 - .../snapshot/api_op_GetContactList.go.snap | 1 - ...GetCustomVerificationEmailTemplate.go.snap | 1 - .../snapshot/api_op_GetDedicatedIp.go.snap | 1 - .../api_op_GetDedicatedIpPool.go.snap | 1 - .../snapshot/api_op_GetDedicatedIps.go.snap | 1 - ..._GetDeliverabilityDashboardOptions.go.snap | 1 - ...api_op_GetDeliverabilityTestReport.go.snap | 1 - ...op_GetDomainDeliverabilityCampaign.go.snap | 1 - .../api_op_GetDomainStatisticsReport.go.snap | 1 - .../snapshot/api_op_GetEmailIdentity.go.snap | 1 - .../api_op_GetEmailIdentityPolicies.go.snap | 1 - .../snapshot/api_op_GetEmailTemplate.go.snap | 1 - .../snapshot/api_op_GetExportJob.go.snap | 1 - .../snapshot/api_op_GetImportJob.go.snap | 1 - .../api_op_GetMessageInsights.go.snap | 1 - .../api_op_GetMultiRegionEndpoint.go.snap | 1 - .../api_op_GetSuppressedDestination.go.snap | 1 - .../api_op_ListConfigurationSets.go.snap | 1 - .../snapshot/api_op_ListContactLists.go.snap | 1 - .../snapshot/api_op_ListContacts.go.snap | 1 - ...stCustomVerificationEmailTemplates.go.snap | 1 - .../api_op_ListDedicatedIpPools.go.snap | 1 - ...i_op_ListDeliverabilityTestReports.go.snap | 1 - ..._ListDomainDeliverabilityCampaigns.go.snap | 1 - .../api_op_ListEmailIdentities.go.snap | 1 - .../api_op_ListEmailTemplates.go.snap | 1 - .../snapshot/api_op_ListExportJobs.go.snap | 1 - .../snapshot/api_op_ListImportJobs.go.snap | 1 - .../api_op_ListMultiRegionEndpoints.go.snap | 1 - .../api_op_ListRecommendations.go.snap | 1 - .../api_op_ListSuppressedDestinations.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - ...AccountDedicatedIpWarmupAttributes.go.snap | 1 - .../snapshot/api_op_PutAccountDetails.go.snap | 1 - ...api_op_PutAccountSendingAttributes.go.snap | 1 - ...op_PutAccountSuppressionAttributes.go.snap | 1 - .../api_op_PutAccountVdmAttributes.go.snap | 1 - ...PutConfigurationSetDeliveryOptions.go.snap | 1 - ...tConfigurationSetReputationOptions.go.snap | 1 - ..._PutConfigurationSetSendingOptions.go.snap | 1 - ...ConfigurationSetSuppressionOptions.go.snap | 1 - ...PutConfigurationSetTrackingOptions.go.snap | 1 - ...i_op_PutConfigurationSetVdmOptions.go.snap | 1 - .../api_op_PutDedicatedIpInPool.go.snap | 1 - ...utDedicatedIpPoolScalingAttributes.go.snap | 1 - ..._op_PutDedicatedIpWarmupAttributes.go.snap | 1 - ...p_PutDeliverabilityDashboardOption.go.snap | 1 - ...IdentityConfigurationSetAttributes.go.snap | 1 - ..._op_PutEmailIdentityDkimAttributes.go.snap | 1 - ...EmailIdentityDkimSigningAttributes.go.snap | 1 - ...PutEmailIdentityFeedbackAttributes.go.snap | 1 - ...PutEmailIdentityMailFromAttributes.go.snap | 1 - .../api_op_PutSuppressedDestination.go.snap | 1 - .../snapshot/api_op_SendBulkEmail.go.snap | 1 - ...api_op_SendCustomVerificationEmail.go.snap | 1 - .../sesv2/snapshot/api_op_SendEmail.go.snap | 1 - .../sesv2/snapshot/api_op_TagResource.go.snap | 1 - .../api_op_TestRenderEmailTemplate.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - ...teConfigurationSetEventDestination.go.snap | 1 - .../snapshot/api_op_UpdateContact.go.snap | 1 - .../snapshot/api_op_UpdateContactList.go.snap | 1 - ...ateCustomVerificationEmailTemplate.go.snap | 1 - .../api_op_UpdateEmailIdentityPolicy.go.snap | 1 - .../api_op_UpdateEmailTemplate.go.snap | 1 - service/sfn/api_client.go | 31 -- service/sfn/api_op_CreateActivity.go | 3 - service/sfn/api_op_CreateStateMachine.go | 3 - service/sfn/api_op_CreateStateMachineAlias.go | 3 - service/sfn/api_op_DeleteActivity.go | 3 - service/sfn/api_op_DeleteStateMachine.go | 3 - service/sfn/api_op_DeleteStateMachineAlias.go | 3 - .../sfn/api_op_DeleteStateMachineVersion.go | 3 - service/sfn/api_op_DescribeActivity.go | 3 - service/sfn/api_op_DescribeExecution.go | 3 - service/sfn/api_op_DescribeMapRun.go | 3 - service/sfn/api_op_DescribeStateMachine.go | 3 - .../sfn/api_op_DescribeStateMachineAlias.go | 3 - ...api_op_DescribeStateMachineForExecution.go | 3 - service/sfn/api_op_GetActivityTask.go | 3 - service/sfn/api_op_GetExecutionHistory.go | 3 - service/sfn/api_op_ListActivities.go | 3 - service/sfn/api_op_ListExecutions.go | 3 - service/sfn/api_op_ListMapRuns.go | 3 - service/sfn/api_op_ListStateMachineAliases.go | 3 - .../sfn/api_op_ListStateMachineVersions.go | 3 - service/sfn/api_op_ListStateMachines.go | 3 - service/sfn/api_op_ListTagsForResource.go | 3 - .../sfn/api_op_PublishStateMachineVersion.go | 3 - service/sfn/api_op_RedriveExecution.go | 3 - service/sfn/api_op_SendTaskFailure.go | 3 - service/sfn/api_op_SendTaskHeartbeat.go | 3 - service/sfn/api_op_SendTaskSuccess.go | 3 - service/sfn/api_op_StartExecution.go | 3 - service/sfn/api_op_StartSyncExecution.go | 3 - service/sfn/api_op_StopExecution.go | 3 - service/sfn/api_op_TagResource.go | 3 - service/sfn/api_op_TestState.go | 3 - service/sfn/api_op_UntagResource.go | 3 - service/sfn/api_op_UpdateMapRun.go | 3 - service/sfn/api_op_UpdateStateMachine.go | 3 - service/sfn/api_op_UpdateStateMachineAlias.go | 3 - .../api_op_ValidateStateMachineDefinition.go | 3 - .../snapshot/api_op_CreateActivity.go.snap | 1 - .../api_op_CreateStateMachine.go.snap | 1 - .../api_op_CreateStateMachineAlias.go.snap | 1 - .../snapshot/api_op_DeleteActivity.go.snap | 1 - .../api_op_DeleteStateMachine.go.snap | 1 - .../api_op_DeleteStateMachineAlias.go.snap | 1 - .../api_op_DeleteStateMachineVersion.go.snap | 1 - .../snapshot/api_op_DescribeActivity.go.snap | 1 - .../snapshot/api_op_DescribeExecution.go.snap | 1 - .../snapshot/api_op_DescribeMapRun.go.snap | 1 - .../api_op_DescribeStateMachine.go.snap | 1 - .../api_op_DescribeStateMachineAlias.go.snap | 1 - ...p_DescribeStateMachineForExecution.go.snap | 1 - .../snapshot/api_op_GetActivityTask.go.snap | 1 - .../api_op_GetExecutionHistory.go.snap | 1 - .../snapshot/api_op_ListActivities.go.snap | 1 - .../snapshot/api_op_ListExecutions.go.snap | 1 - .../sfn/snapshot/api_op_ListMapRuns.go.snap | 1 - .../api_op_ListStateMachineAliases.go.snap | 1 - .../api_op_ListStateMachineVersions.go.snap | 1 - .../snapshot/api_op_ListStateMachines.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_PublishStateMachineVersion.go.snap | 1 - .../snapshot/api_op_RedriveExecution.go.snap | 1 - .../snapshot/api_op_SendTaskFailure.go.snap | 1 - .../snapshot/api_op_SendTaskHeartbeat.go.snap | 1 - .../snapshot/api_op_SendTaskSuccess.go.snap | 1 - .../snapshot/api_op_StartExecution.go.snap | 1 - .../api_op_StartSyncExecution.go.snap | 1 - .../sfn/snapshot/api_op_StopExecution.go.snap | 1 - .../sfn/snapshot/api_op_TagResource.go.snap | 1 - service/sfn/snapshot/api_op_TestState.go.snap | 1 - .../sfn/snapshot/api_op_UntagResource.go.snap | 1 - .../sfn/snapshot/api_op_UpdateMapRun.go.snap | 1 - .../api_op_UpdateStateMachine.go.snap | 1 - .../api_op_UpdateStateMachineAlias.go.snap | 1 - ..._op_ValidateStateMachineDefinition.go.snap | 1 - service/shield/api_client.go | 31 -- .../shield/api_op_AssociateDRTLogBucket.go | 3 - service/shield/api_op_AssociateDRTRole.go | 3 - service/shield/api_op_AssociateHealthCheck.go | 3 - ..._op_AssociateProactiveEngagementDetails.go | 3 - service/shield/api_op_CreateProtection.go | 3 - .../shield/api_op_CreateProtectionGroup.go | 3 - service/shield/api_op_CreateSubscription.go | 3 - service/shield/api_op_DeleteProtection.go | 3 - .../shield/api_op_DeleteProtectionGroup.go | 3 - service/shield/api_op_DeleteSubscription.go | 3 - service/shield/api_op_DescribeAttack.go | 3 - .../shield/api_op_DescribeAttackStatistics.go | 3 - service/shield/api_op_DescribeDRTAccess.go | 3 - ...api_op_DescribeEmergencyContactSettings.go | 3 - service/shield/api_op_DescribeProtection.go | 3 - .../shield/api_op_DescribeProtectionGroup.go | 3 - service/shield/api_op_DescribeSubscription.go | 3 - ...isableApplicationLayerAutomaticResponse.go | 3 - .../api_op_DisableProactiveEngagement.go | 3 - .../shield/api_op_DisassociateDRTLogBucket.go | 3 - service/shield/api_op_DisassociateDRTRole.go | 3 - .../shield/api_op_DisassociateHealthCheck.go | 3 - ...EnableApplicationLayerAutomaticResponse.go | 3 - .../api_op_EnableProactiveEngagement.go | 3 - service/shield/api_op_GetSubscriptionState.go | 3 - service/shield/api_op_ListAttacks.go | 3 - service/shield/api_op_ListProtectionGroups.go | 3 - service/shield/api_op_ListProtections.go | 3 - .../api_op_ListResourcesInProtectionGroup.go | 3 - service/shield/api_op_ListTagsForResource.go | 3 - service/shield/api_op_TagResource.go | 3 - service/shield/api_op_UntagResource.go | 3 - ...UpdateApplicationLayerAutomaticResponse.go | 3 - .../api_op_UpdateEmergencyContactSettings.go | 3 - .../shield/api_op_UpdateProtectionGroup.go | 3 - service/shield/api_op_UpdateSubscription.go | 3 - .../api_op_AssociateDRTLogBucket.go.snap | 1 - .../snapshot/api_op_AssociateDRTRole.go.snap | 1 - .../api_op_AssociateHealthCheck.go.snap | 1 - ...ssociateProactiveEngagementDetails.go.snap | 1 - .../snapshot/api_op_CreateProtection.go.snap | 1 - .../api_op_CreateProtectionGroup.go.snap | 1 - .../api_op_CreateSubscription.go.snap | 1 - .../snapshot/api_op_DeleteProtection.go.snap | 1 - .../api_op_DeleteProtectionGroup.go.snap | 1 - .../api_op_DeleteSubscription.go.snap | 1 - .../snapshot/api_op_DescribeAttack.go.snap | 1 - .../api_op_DescribeAttackStatistics.go.snap | 1 - .../snapshot/api_op_DescribeDRTAccess.go.snap | 1 - ...p_DescribeEmergencyContactSettings.go.snap | 1 - .../api_op_DescribeProtection.go.snap | 1 - .../api_op_DescribeProtectionGroup.go.snap | 1 - .../api_op_DescribeSubscription.go.snap | 1 - ...eApplicationLayerAutomaticResponse.go.snap | 1 - .../api_op_DisableProactiveEngagement.go.snap | 1 - .../api_op_DisassociateDRTLogBucket.go.snap | 1 - .../api_op_DisassociateDRTRole.go.snap | 1 - .../api_op_DisassociateHealthCheck.go.snap | 1 - ...eApplicationLayerAutomaticResponse.go.snap | 1 - .../api_op_EnableProactiveEngagement.go.snap | 1 - .../api_op_GetSubscriptionState.go.snap | 1 - .../snapshot/api_op_ListAttacks.go.snap | 1 - .../api_op_ListProtectionGroups.go.snap | 1 - .../snapshot/api_op_ListProtections.go.snap | 1 - ..._op_ListResourcesInProtectionGroup.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - ...eApplicationLayerAutomaticResponse.go.snap | 1 - ..._op_UpdateEmergencyContactSettings.go.snap | 1 - .../api_op_UpdateProtectionGroup.go.snap | 1 - .../api_op_UpdateSubscription.go.snap | 1 - service/signer/api_client.go | 31 -- service/signer/api_op_AddProfilePermission.go | 3 - service/signer/api_op_CancelSigningProfile.go | 3 - service/signer/api_op_DescribeSigningJob.go | 3 - service/signer/api_op_GetRevocationStatus.go | 3 - service/signer/api_op_GetSigningPlatform.go | 3 - service/signer/api_op_GetSigningProfile.go | 3 - .../signer/api_op_ListProfilePermissions.go | 3 - service/signer/api_op_ListSigningJobs.go | 3 - service/signer/api_op_ListSigningPlatforms.go | 3 - service/signer/api_op_ListSigningProfiles.go | 3 - service/signer/api_op_ListTagsForResource.go | 3 - service/signer/api_op_PutSigningProfile.go | 3 - .../signer/api_op_RemoveProfilePermission.go | 3 - service/signer/api_op_RevokeSignature.go | 3 - service/signer/api_op_RevokeSigningProfile.go | 3 - service/signer/api_op_SignPayload.go | 3 - service/signer/api_op_StartSigningJob.go | 3 - service/signer/api_op_TagResource.go | 3 - service/signer/api_op_UntagResource.go | 3 - .../api_op_AddProfilePermission.go.snap | 1 - .../api_op_CancelSigningProfile.go.snap | 1 - .../api_op_DescribeSigningJob.go.snap | 1 - .../api_op_GetRevocationStatus.go.snap | 1 - .../api_op_GetSigningPlatform.go.snap | 1 - .../snapshot/api_op_GetSigningProfile.go.snap | 1 - .../api_op_ListProfilePermissions.go.snap | 1 - .../snapshot/api_op_ListSigningJobs.go.snap | 1 - .../api_op_ListSigningPlatforms.go.snap | 1 - .../api_op_ListSigningProfiles.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_PutSigningProfile.go.snap | 1 - .../api_op_RemoveProfilePermission.go.snap | 1 - .../snapshot/api_op_RevokeSignature.go.snap | 1 - .../api_op_RevokeSigningProfile.go.snap | 1 - .../snapshot/api_op_SignPayload.go.snap | 1 - .../snapshot/api_op_StartSigningJob.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - service/simspaceweaver/api_client.go | 31 -- .../simspaceweaver/api_op_CreateSnapshot.go | 3 - service/simspaceweaver/api_op_DeleteApp.go | 3 - .../simspaceweaver/api_op_DeleteSimulation.go | 3 - service/simspaceweaver/api_op_DescribeApp.go | 3 - .../api_op_DescribeSimulation.go | 3 - service/simspaceweaver/api_op_ListApps.go | 3 - .../simspaceweaver/api_op_ListSimulations.go | 3 - .../api_op_ListTagsForResource.go | 3 - service/simspaceweaver/api_op_StartApp.go | 3 - service/simspaceweaver/api_op_StartClock.go | 3 - .../simspaceweaver/api_op_StartSimulation.go | 3 - service/simspaceweaver/api_op_StopApp.go | 3 - service/simspaceweaver/api_op_StopClock.go | 3 - .../simspaceweaver/api_op_StopSimulation.go | 3 - service/simspaceweaver/api_op_TagResource.go | 3 - .../simspaceweaver/api_op_UntagResource.go | 3 - .../snapshot/api_op_CreateSnapshot.go.snap | 1 - .../snapshot/api_op_DeleteApp.go.snap | 1 - .../snapshot/api_op_DeleteSimulation.go.snap | 1 - .../snapshot/api_op_DescribeApp.go.snap | 1 - .../api_op_DescribeSimulation.go.snap | 1 - .../snapshot/api_op_ListApps.go.snap | 1 - .../snapshot/api_op_ListSimulations.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_StartApp.go.snap | 1 - .../snapshot/api_op_StartClock.go.snap | 1 - .../snapshot/api_op_StartSimulation.go.snap | 1 - .../snapshot/api_op_StopApp.go.snap | 1 - .../snapshot/api_op_StopClock.go.snap | 1 - .../snapshot/api_op_StopSimulation.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - service/sms/api_client.go | 31 -- service/sms/api_op_CreateApp.go | 3 - service/sms/api_op_CreateReplicationJob.go | 3 - service/sms/api_op_DeleteApp.go | 3 - .../api_op_DeleteAppLaunchConfiguration.go | 3 - ...pi_op_DeleteAppReplicationConfiguration.go | 3 - ...api_op_DeleteAppValidationConfiguration.go | 3 - service/sms/api_op_DeleteReplicationJob.go | 3 - service/sms/api_op_DeleteServerCatalog.go | 3 - service/sms/api_op_DisassociateConnector.go | 3 - service/sms/api_op_GenerateChangeSet.go | 3 - service/sms/api_op_GenerateTemplate.go | 3 - service/sms/api_op_GetApp.go | 3 - .../sms/api_op_GetAppLaunchConfiguration.go | 3 - .../api_op_GetAppReplicationConfiguration.go | 3 - .../api_op_GetAppValidationConfiguration.go | 3 - service/sms/api_op_GetAppValidationOutput.go | 3 - service/sms/api_op_GetConnectors.go | 3 - service/sms/api_op_GetReplicationJobs.go | 3 - service/sms/api_op_GetReplicationRuns.go | 3 - service/sms/api_op_GetServers.go | 3 - service/sms/api_op_ImportAppCatalog.go | 3 - service/sms/api_op_ImportServerCatalog.go | 3 - service/sms/api_op_LaunchApp.go | 3 - service/sms/api_op_ListApps.go | 3 - .../sms/api_op_NotifyAppValidationOutput.go | 3 - .../sms/api_op_PutAppLaunchConfiguration.go | 3 - .../api_op_PutAppReplicationConfiguration.go | 3 - .../api_op_PutAppValidationConfiguration.go | 3 - service/sms/api_op_StartAppReplication.go | 3 - .../sms/api_op_StartOnDemandAppReplication.go | 3 - .../sms/api_op_StartOnDemandReplicationRun.go | 3 - service/sms/api_op_StopAppReplication.go | 3 - service/sms/api_op_TerminateApp.go | 3 - service/sms/api_op_UpdateApp.go | 3 - service/sms/api_op_UpdateReplicationJob.go | 3 - service/sms/snapshot/api_op_CreateApp.go.snap | 1 - .../api_op_CreateReplicationJob.go.snap | 1 - service/sms/snapshot/api_op_DeleteApp.go.snap | 1 - ...pi_op_DeleteAppLaunchConfiguration.go.snap | 1 - ..._DeleteAppReplicationConfiguration.go.snap | 1 - ...p_DeleteAppValidationConfiguration.go.snap | 1 - .../api_op_DeleteReplicationJob.go.snap | 1 - .../api_op_DeleteServerCatalog.go.snap | 1 - .../api_op_DisassociateConnector.go.snap | 1 - .../snapshot/api_op_GenerateChangeSet.go.snap | 1 - .../snapshot/api_op_GenerateTemplate.go.snap | 1 - service/sms/snapshot/api_op_GetApp.go.snap | 1 - .../api_op_GetAppLaunchConfiguration.go.snap | 1 - ..._op_GetAppReplicationConfiguration.go.snap | 1 - ...i_op_GetAppValidationConfiguration.go.snap | 1 - .../api_op_GetAppValidationOutput.go.snap | 1 - .../sms/snapshot/api_op_GetConnectors.go.snap | 1 - .../api_op_GetReplicationJobs.go.snap | 1 - .../api_op_GetReplicationRuns.go.snap | 1 - .../sms/snapshot/api_op_GetServers.go.snap | 1 - .../snapshot/api_op_ImportAppCatalog.go.snap | 1 - .../api_op_ImportServerCatalog.go.snap | 1 - service/sms/snapshot/api_op_LaunchApp.go.snap | 1 - service/sms/snapshot/api_op_ListApps.go.snap | 1 - .../api_op_NotifyAppValidationOutput.go.snap | 1 - .../api_op_PutAppLaunchConfiguration.go.snap | 1 - ..._op_PutAppReplicationConfiguration.go.snap | 1 - ...i_op_PutAppValidationConfiguration.go.snap | 1 - .../api_op_StartAppReplication.go.snap | 1 - ...api_op_StartOnDemandAppReplication.go.snap | 1 - ...api_op_StartOnDemandReplicationRun.go.snap | 1 - .../api_op_StopAppReplication.go.snap | 1 - .../sms/snapshot/api_op_TerminateApp.go.snap | 1 - service/sms/snapshot/api_op_UpdateApp.go.snap | 1 - .../api_op_UpdateReplicationJob.go.snap | 1 - service/snowball/api_client.go | 31 -- service/snowball/api_op_CancelCluster.go | 3 - service/snowball/api_op_CancelJob.go | 3 - service/snowball/api_op_CreateAddress.go | 3 - service/snowball/api_op_CreateCluster.go | 3 - service/snowball/api_op_CreateJob.go | 3 - .../snowball/api_op_CreateLongTermPricing.go | 3 - .../api_op_CreateReturnShippingLabel.go | 3 - service/snowball/api_op_DescribeAddress.go | 3 - service/snowball/api_op_DescribeAddresses.go | 3 - service/snowball/api_op_DescribeCluster.go | 3 - service/snowball/api_op_DescribeJob.go | 3 - .../api_op_DescribeReturnShippingLabel.go | 3 - service/snowball/api_op_GetJobManifest.go | 3 - service/snowball/api_op_GetJobUnlockCode.go | 3 - service/snowball/api_op_GetSnowballUsage.go | 3 - service/snowball/api_op_GetSoftwareUpdates.go | 3 - service/snowball/api_op_ListClusterJobs.go | 3 - service/snowball/api_op_ListClusters.go | 3 - .../snowball/api_op_ListCompatibleImages.go | 3 - service/snowball/api_op_ListJobs.go | 3 - .../snowball/api_op_ListLongTermPricing.go | 3 - .../snowball/api_op_ListPickupLocations.go | 3 - .../snowball/api_op_ListServiceVersions.go | 3 - service/snowball/api_op_UpdateCluster.go | 3 - service/snowball/api_op_UpdateJob.go | 3 - .../snowball/api_op_UpdateJobShipmentState.go | 3 - .../snowball/api_op_UpdateLongTermPricing.go | 3 - .../snapshot/api_op_CancelCluster.go.snap | 1 - .../snapshot/api_op_CancelJob.go.snap | 1 - .../snapshot/api_op_CreateAddress.go.snap | 1 - .../snapshot/api_op_CreateCluster.go.snap | 1 - .../snapshot/api_op_CreateJob.go.snap | 1 - .../api_op_CreateLongTermPricing.go.snap | 1 - .../api_op_CreateReturnShippingLabel.go.snap | 1 - .../snapshot/api_op_DescribeAddress.go.snap | 1 - .../snapshot/api_op_DescribeAddresses.go.snap | 1 - .../snapshot/api_op_DescribeCluster.go.snap | 1 - .../snapshot/api_op_DescribeJob.go.snap | 1 - ...api_op_DescribeReturnShippingLabel.go.snap | 1 - .../snapshot/api_op_GetJobManifest.go.snap | 1 - .../snapshot/api_op_GetJobUnlockCode.go.snap | 1 - .../snapshot/api_op_GetSnowballUsage.go.snap | 1 - .../api_op_GetSoftwareUpdates.go.snap | 1 - .../snapshot/api_op_ListClusterJobs.go.snap | 1 - .../snapshot/api_op_ListClusters.go.snap | 1 - .../api_op_ListCompatibleImages.go.snap | 1 - .../snowball/snapshot/api_op_ListJobs.go.snap | 1 - .../api_op_ListLongTermPricing.go.snap | 1 - .../api_op_ListPickupLocations.go.snap | 1 - .../api_op_ListServiceVersions.go.snap | 1 - .../snapshot/api_op_UpdateCluster.go.snap | 1 - .../snapshot/api_op_UpdateJob.go.snap | 1 - .../api_op_UpdateJobShipmentState.go.snap | 1 - .../api_op_UpdateLongTermPricing.go.snap | 1 - service/snowdevicemanagement/api_client.go | 31 -- .../snowdevicemanagement/api_op_CancelTask.go | 3 - .../snowdevicemanagement/api_op_CreateTask.go | 3 - .../api_op_DescribeDevice.go | 3 - .../api_op_DescribeDeviceEc2Instances.go | 3 - .../api_op_DescribeExecution.go | 3 - .../api_op_DescribeTask.go | 3 - .../api_op_ListDeviceResources.go | 3 - .../api_op_ListDevices.go | 3 - .../api_op_ListExecutions.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../snowdevicemanagement/api_op_ListTasks.go | 3 - .../api_op_TagResource.go | 3 - .../api_op_UntagResource.go | 3 - .../snapshot/api_op_CancelTask.go.snap | 1 - .../snapshot/api_op_CreateTask.go.snap | 1 - .../snapshot/api_op_DescribeDevice.go.snap | 1 - .../api_op_DescribeDeviceEc2Instances.go.snap | 1 - .../snapshot/api_op_DescribeExecution.go.snap | 1 - .../snapshot/api_op_DescribeTask.go.snap | 1 - .../api_op_ListDeviceResources.go.snap | 1 - .../snapshot/api_op_ListDevices.go.snap | 1 - .../snapshot/api_op_ListExecutions.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListTasks.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - service/sns/api_client.go | 31 -- service/sns/api_op_AddPermission.go | 3 - .../api_op_CheckIfPhoneNumberIsOptedOut.go | 3 - service/sns/api_op_ConfirmSubscription.go | 3 - .../sns/api_op_CreatePlatformApplication.go | 3 - service/sns/api_op_CreatePlatformEndpoint.go | 3 - .../sns/api_op_CreateSMSSandboxPhoneNumber.go | 3 - service/sns/api_op_CreateTopic.go | 3 - service/sns/api_op_DeleteEndpoint.go | 3 - .../sns/api_op_DeletePlatformApplication.go | 3 - .../sns/api_op_DeleteSMSSandboxPhoneNumber.go | 3 - service/sns/api_op_DeleteTopic.go | 3 - service/sns/api_op_GetDataProtectionPolicy.go | 3 - service/sns/api_op_GetEndpointAttributes.go | 3 - ...api_op_GetPlatformApplicationAttributes.go | 3 - service/sns/api_op_GetSMSAttributes.go | 3 - .../sns/api_op_GetSMSSandboxAccountStatus.go | 3 - .../sns/api_op_GetSubscriptionAttributes.go | 3 - service/sns/api_op_GetTopicAttributes.go | 3 - ...i_op_ListEndpointsByPlatformApplication.go | 3 - service/sns/api_op_ListOriginationNumbers.go | 3 - .../sns/api_op_ListPhoneNumbersOptedOut.go | 3 - .../sns/api_op_ListPlatformApplications.go | 3 - .../sns/api_op_ListSMSSandboxPhoneNumbers.go | 3 - service/sns/api_op_ListSubscriptions.go | 3 - .../sns/api_op_ListSubscriptionsByTopic.go | 3 - service/sns/api_op_ListTagsForResource.go | 3 - service/sns/api_op_ListTopics.go | 3 - service/sns/api_op_OptInPhoneNumber.go | 3 - service/sns/api_op_Publish.go | 3 - service/sns/api_op_PublishBatch.go | 3 - service/sns/api_op_PutDataProtectionPolicy.go | 3 - service/sns/api_op_RemovePermission.go | 3 - service/sns/api_op_SetEndpointAttributes.go | 3 - ...api_op_SetPlatformApplicationAttributes.go | 3 - service/sns/api_op_SetSMSAttributes.go | 3 - .../sns/api_op_SetSubscriptionAttributes.go | 3 - service/sns/api_op_SetTopicAttributes.go | 3 - service/sns/api_op_Subscribe.go | 3 - service/sns/api_op_TagResource.go | 3 - service/sns/api_op_Unsubscribe.go | 3 - service/sns/api_op_UntagResource.go | 3 - .../sns/api_op_VerifySMSSandboxPhoneNumber.go | 3 - .../sns/snapshot/api_op_AddPermission.go.snap | 1 - ...pi_op_CheckIfPhoneNumberIsOptedOut.go.snap | 1 - .../api_op_ConfirmSubscription.go.snap | 1 - .../api_op_CreatePlatformApplication.go.snap | 1 - .../api_op_CreatePlatformEndpoint.go.snap | 1 - ...api_op_CreateSMSSandboxPhoneNumber.go.snap | 1 - .../sns/snapshot/api_op_CreateTopic.go.snap | 1 - .../snapshot/api_op_DeleteEndpoint.go.snap | 1 - .../api_op_DeletePlatformApplication.go.snap | 1 - ...api_op_DeleteSMSSandboxPhoneNumber.go.snap | 1 - .../sns/snapshot/api_op_DeleteTopic.go.snap | 1 - .../api_op_GetDataProtectionPolicy.go.snap | 1 - .../api_op_GetEndpointAttributes.go.snap | 1 - ...p_GetPlatformApplicationAttributes.go.snap | 1 - .../snapshot/api_op_GetSMSAttributes.go.snap | 1 - .../api_op_GetSMSSandboxAccountStatus.go.snap | 1 - .../api_op_GetSubscriptionAttributes.go.snap | 1 - .../api_op_GetTopicAttributes.go.snap | 1 - ...ListEndpointsByPlatformApplication.go.snap | 1 - .../api_op_ListOriginationNumbers.go.snap | 1 - .../api_op_ListPhoneNumbersOptedOut.go.snap | 1 - .../api_op_ListPlatformApplications.go.snap | 1 - .../api_op_ListSMSSandboxPhoneNumbers.go.snap | 1 - .../snapshot/api_op_ListSubscriptions.go.snap | 1 - .../api_op_ListSubscriptionsByTopic.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../sns/snapshot/api_op_ListTopics.go.snap | 1 - .../snapshot/api_op_OptInPhoneNumber.go.snap | 1 - service/sns/snapshot/api_op_Publish.go.snap | 1 - .../sns/snapshot/api_op_PublishBatch.go.snap | 1 - .../api_op_PutDataProtectionPolicy.go.snap | 1 - .../snapshot/api_op_RemovePermission.go.snap | 1 - .../api_op_SetEndpointAttributes.go.snap | 1 - ...p_SetPlatformApplicationAttributes.go.snap | 1 - .../snapshot/api_op_SetSMSAttributes.go.snap | 1 - .../api_op_SetSubscriptionAttributes.go.snap | 1 - .../api_op_SetTopicAttributes.go.snap | 1 - service/sns/snapshot/api_op_Subscribe.go.snap | 1 - .../sns/snapshot/api_op_TagResource.go.snap | 1 - .../sns/snapshot/api_op_Unsubscribe.go.snap | 1 - .../sns/snapshot/api_op_UntagResource.go.snap | 1 - ...api_op_VerifySMSSandboxPhoneNumber.go.snap | 1 - service/socialmessaging/api_client.go | 31 -- ...api_op_AssociateWhatsAppBusinessAccount.go | 3 - .../api_op_DeleteWhatsAppMessageMedia.go | 3 - ..._op_DisassociateWhatsAppBusinessAccount.go | 3 - ...api_op_GetLinkedWhatsAppBusinessAccount.go | 3 - ...inkedWhatsAppBusinessAccountPhoneNumber.go | 3 - .../api_op_GetWhatsAppMessageMedia.go | 3 - ...i_op_ListLinkedWhatsAppBusinessAccounts.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_PostWhatsAppMessageMedia.go | 3 - ...hatsAppBusinessAccountEventDestinations.go | 3 - .../api_op_SendWhatsAppMessage.go | 3 - service/socialmessaging/api_op_TagResource.go | 3 - .../socialmessaging/api_op_UntagResource.go | 3 - ...p_AssociateWhatsAppBusinessAccount.go.snap | 1 - .../api_op_DeleteWhatsAppMessageMedia.go.snap | 1 - ...isassociateWhatsAppBusinessAccount.go.snap | 1 - ...p_GetLinkedWhatsAppBusinessAccount.go.snap | 1 - ...WhatsAppBusinessAccountPhoneNumber.go.snap | 1 - .../api_op_GetWhatsAppMessageMedia.go.snap | 1 - ...ListLinkedWhatsAppBusinessAccounts.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_PostWhatsAppMessageMedia.go.snap | 1 - ...ppBusinessAccountEventDestinations.go.snap | 1 - .../api_op_SendWhatsAppMessage.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - service/sqs/api_client.go | 31 -- service/sqs/api_op_AddPermission.go | 3 - service/sqs/api_op_CancelMessageMoveTask.go | 3 - service/sqs/api_op_ChangeMessageVisibility.go | 3 - .../api_op_ChangeMessageVisibilityBatch.go | 3 - service/sqs/api_op_CreateQueue.go | 3 - service/sqs/api_op_DeleteMessage.go | 3 - service/sqs/api_op_DeleteMessageBatch.go | 3 - service/sqs/api_op_DeleteQueue.go | 3 - service/sqs/api_op_GetQueueAttributes.go | 3 - service/sqs/api_op_GetQueueUrl.go | 3 - .../sqs/api_op_ListDeadLetterSourceQueues.go | 3 - service/sqs/api_op_ListMessageMoveTasks.go | 3 - service/sqs/api_op_ListQueueTags.go | 3 - service/sqs/api_op_ListQueues.go | 3 - service/sqs/api_op_PurgeQueue.go | 3 - service/sqs/api_op_ReceiveMessage.go | 3 - service/sqs/api_op_RemovePermission.go | 3 - service/sqs/api_op_SendMessage.go | 3 - service/sqs/api_op_SendMessageBatch.go | 3 - service/sqs/api_op_SetQueueAttributes.go | 3 - service/sqs/api_op_StartMessageMoveTask.go | 3 - service/sqs/api_op_TagQueue.go | 3 - service/sqs/api_op_UntagQueue.go | 3 - .../sqs/snapshot/api_op_AddPermission.go.snap | 1 - .../api_op_CancelMessageMoveTask.go.snap | 1 - .../api_op_ChangeMessageVisibility.go.snap | 1 - ...pi_op_ChangeMessageVisibilityBatch.go.snap | 1 - .../sqs/snapshot/api_op_CreateQueue.go.snap | 1 - .../sqs/snapshot/api_op_DeleteMessage.go.snap | 1 - .../api_op_DeleteMessageBatch.go.snap | 1 - .../sqs/snapshot/api_op_DeleteQueue.go.snap | 1 - .../api_op_GetQueueAttributes.go.snap | 1 - .../sqs/snapshot/api_op_GetQueueUrl.go.snap | 1 - .../api_op_ListDeadLetterSourceQueues.go.snap | 1 - .../api_op_ListMessageMoveTasks.go.snap | 1 - .../sqs/snapshot/api_op_ListQueueTags.go.snap | 1 - .../sqs/snapshot/api_op_ListQueues.go.snap | 1 - .../sqs/snapshot/api_op_PurgeQueue.go.snap | 1 - .../snapshot/api_op_ReceiveMessage.go.snap | 1 - .../snapshot/api_op_RemovePermission.go.snap | 1 - .../sqs/snapshot/api_op_SendMessage.go.snap | 1 - .../snapshot/api_op_SendMessageBatch.go.snap | 1 - .../api_op_SetQueueAttributes.go.snap | 1 - .../api_op_StartMessageMoveTask.go.snap | 1 - service/sqs/snapshot/api_op_TagQueue.go.snap | 1 - .../sqs/snapshot/api_op_UntagQueue.go.snap | 1 - service/ssm/api_client.go | 31 -- service/ssm/api_op_AddTagsToResource.go | 3 - .../ssm/api_op_AssociateOpsItemRelatedItem.go | 3 - service/ssm/api_op_CancelCommand.go | 3 - ...api_op_CancelMaintenanceWindowExecution.go | 3 - service/ssm/api_op_CreateActivation.go | 3 - service/ssm/api_op_CreateAssociation.go | 3 - service/ssm/api_op_CreateAssociationBatch.go | 3 - service/ssm/api_op_CreateDocument.go | 3 - service/ssm/api_op_CreateMaintenanceWindow.go | 3 - service/ssm/api_op_CreateOpsItem.go | 3 - service/ssm/api_op_CreateOpsMetadata.go | 3 - service/ssm/api_op_CreatePatchBaseline.go | 3 - service/ssm/api_op_CreateResourceDataSync.go | 3 - service/ssm/api_op_DeleteActivation.go | 3 - service/ssm/api_op_DeleteAssociation.go | 3 - service/ssm/api_op_DeleteDocument.go | 3 - service/ssm/api_op_DeleteInventory.go | 3 - service/ssm/api_op_DeleteMaintenanceWindow.go | 3 - service/ssm/api_op_DeleteOpsItem.go | 3 - service/ssm/api_op_DeleteOpsMetadata.go | 3 - service/ssm/api_op_DeleteParameter.go | 3 - service/ssm/api_op_DeleteParameters.go | 3 - service/ssm/api_op_DeletePatchBaseline.go | 3 - service/ssm/api_op_DeleteResourceDataSync.go | 3 - service/ssm/api_op_DeleteResourcePolicy.go | 3 - .../ssm/api_op_DeregisterManagedInstance.go | 3 - ...op_DeregisterPatchBaselineForPatchGroup.go | 3 - ...p_DeregisterTargetFromMaintenanceWindow.go | 3 - ..._op_DeregisterTaskFromMaintenanceWindow.go | 3 - service/ssm/api_op_DescribeActivations.go | 3 - service/ssm/api_op_DescribeAssociation.go | 3 - ..._op_DescribeAssociationExecutionTargets.go | 3 - .../api_op_DescribeAssociationExecutions.go | 3 - .../api_op_DescribeAutomationExecutions.go | 3 - ...api_op_DescribeAutomationStepExecutions.go | 3 - .../ssm/api_op_DescribeAvailablePatches.go | 3 - service/ssm/api_op_DescribeDocument.go | 3 - .../ssm/api_op_DescribeDocumentPermission.go | 3 - ...p_DescribeEffectiveInstanceAssociations.go | 3 - ...escribeEffectivePatchesForPatchBaseline.go | 3 - ...i_op_DescribeInstanceAssociationsStatus.go | 3 - .../ssm/api_op_DescribeInstanceInformation.go | 3 - .../ssm/api_op_DescribeInstancePatchStates.go | 3 - ...escribeInstancePatchStatesForPatchGroup.go | 3 - service/ssm/api_op_DescribeInstancePatches.go | 3 - .../ssm/api_op_DescribeInstanceProperties.go | 3 - .../ssm/api_op_DescribeInventoryDeletions.go | 3 - ...intenanceWindowExecutionTaskInvocations.go | 3 - ...DescribeMaintenanceWindowExecutionTasks.go | 3 - ..._op_DescribeMaintenanceWindowExecutions.go | 3 - ...pi_op_DescribeMaintenanceWindowSchedule.go | 3 - ...api_op_DescribeMaintenanceWindowTargets.go | 3 - .../api_op_DescribeMaintenanceWindowTasks.go | 3 - .../ssm/api_op_DescribeMaintenanceWindows.go | 3 - ..._op_DescribeMaintenanceWindowsForTarget.go | 3 - service/ssm/api_op_DescribeOpsItems.go | 3 - service/ssm/api_op_DescribeParameters.go | 3 - service/ssm/api_op_DescribePatchBaselines.go | 3 - service/ssm/api_op_DescribePatchGroupState.go | 3 - service/ssm/api_op_DescribePatchGroups.go | 3 - service/ssm/api_op_DescribePatchProperties.go | 3 - service/ssm/api_op_DescribeSessions.go | 3 - .../api_op_DisassociateOpsItemRelatedItem.go | 3 - service/ssm/api_op_GetAutomationExecution.go | 3 - service/ssm/api_op_GetCalendarState.go | 3 - service/ssm/api_op_GetCommandInvocation.go | 3 - service/ssm/api_op_GetConnectionStatus.go | 3 - service/ssm/api_op_GetDefaultPatchBaseline.go | 3 - ...p_GetDeployablePatchSnapshotForInstance.go | 3 - service/ssm/api_op_GetDocument.go | 3 - service/ssm/api_op_GetExecutionPreview.go | 3 - service/ssm/api_op_GetInventory.go | 3 - service/ssm/api_op_GetInventorySchema.go | 3 - service/ssm/api_op_GetMaintenanceWindow.go | 3 - .../api_op_GetMaintenanceWindowExecution.go | 3 - ...pi_op_GetMaintenanceWindowExecutionTask.go | 3 - ...aintenanceWindowExecutionTaskInvocation.go | 3 - .../ssm/api_op_GetMaintenanceWindowTask.go | 3 - service/ssm/api_op_GetOpsItem.go | 3 - service/ssm/api_op_GetOpsMetadata.go | 3 - service/ssm/api_op_GetOpsSummary.go | 3 - service/ssm/api_op_GetParameter.go | 3 - service/ssm/api_op_GetParameterHistory.go | 3 - service/ssm/api_op_GetParameters.go | 3 - service/ssm/api_op_GetParametersByPath.go | 3 - service/ssm/api_op_GetPatchBaseline.go | 3 - .../api_op_GetPatchBaselineForPatchGroup.go | 3 - service/ssm/api_op_GetResourcePolicies.go | 3 - service/ssm/api_op_GetServiceSetting.go | 3 - service/ssm/api_op_LabelParameterVersion.go | 3 - service/ssm/api_op_ListAssociationVersions.go | 3 - service/ssm/api_op_ListAssociations.go | 3 - service/ssm/api_op_ListCommandInvocations.go | 3 - service/ssm/api_op_ListCommands.go | 3 - service/ssm/api_op_ListComplianceItems.go | 3 - service/ssm/api_op_ListComplianceSummaries.go | 3 - .../ssm/api_op_ListDocumentMetadataHistory.go | 3 - service/ssm/api_op_ListDocumentVersions.go | 3 - service/ssm/api_op_ListDocuments.go | 3 - service/ssm/api_op_ListInventoryEntries.go | 3 - service/ssm/api_op_ListNodes.go | 3 - service/ssm/api_op_ListNodesSummary.go | 3 - service/ssm/api_op_ListOpsItemEvents.go | 3 - service/ssm/api_op_ListOpsItemRelatedItems.go | 3 - service/ssm/api_op_ListOpsMetadata.go | 3 - .../api_op_ListResourceComplianceSummaries.go | 3 - service/ssm/api_op_ListResourceDataSync.go | 3 - service/ssm/api_op_ListTagsForResource.go | 3 - .../ssm/api_op_ModifyDocumentPermission.go | 3 - service/ssm/api_op_PutComplianceItems.go | 3 - service/ssm/api_op_PutInventory.go | 3 - service/ssm/api_op_PutParameter.go | 3 - service/ssm/api_op_PutResourcePolicy.go | 3 - .../api_op_RegisterDefaultPatchBaseline.go | 3 - ...i_op_RegisterPatchBaselineForPatchGroup.go | 3 - ..._op_RegisterTargetWithMaintenanceWindow.go | 3 - ...pi_op_RegisterTaskWithMaintenanceWindow.go | 3 - service/ssm/api_op_RemoveTagsFromResource.go | 3 - service/ssm/api_op_ResetServiceSetting.go | 3 - service/ssm/api_op_ResumeSession.go | 3 - service/ssm/api_op_SendAutomationSignal.go | 3 - service/ssm/api_op_SendCommand.go | 3 - service/ssm/api_op_StartAssociationsOnce.go | 3 - .../ssm/api_op_StartAutomationExecution.go | 3 - .../ssm/api_op_StartChangeRequestExecution.go | 3 - service/ssm/api_op_StartExecutionPreview.go | 3 - service/ssm/api_op_StartSession.go | 3 - service/ssm/api_op_StopAutomationExecution.go | 3 - service/ssm/api_op_TerminateSession.go | 3 - service/ssm/api_op_UnlabelParameterVersion.go | 3 - service/ssm/api_op_UpdateAssociation.go | 3 - service/ssm/api_op_UpdateAssociationStatus.go | 3 - service/ssm/api_op_UpdateDocument.go | 3 - .../api_op_UpdateDocumentDefaultVersion.go | 3 - service/ssm/api_op_UpdateDocumentMetadata.go | 3 - service/ssm/api_op_UpdateMaintenanceWindow.go | 3 - .../api_op_UpdateMaintenanceWindowTarget.go | 3 - .../ssm/api_op_UpdateMaintenanceWindowTask.go | 3 - .../ssm/api_op_UpdateManagedInstanceRole.go | 3 - service/ssm/api_op_UpdateOpsItem.go | 3 - service/ssm/api_op_UpdateOpsMetadata.go | 3 - service/ssm/api_op_UpdatePatchBaseline.go | 3 - service/ssm/api_op_UpdateResourceDataSync.go | 3 - service/ssm/api_op_UpdateServiceSetting.go | 3 - .../snapshot/api_op_AddTagsToResource.go.snap | 1 - ...api_op_AssociateOpsItemRelatedItem.go.snap | 1 - .../ssm/snapshot/api_op_CancelCommand.go.snap | 1 - ...p_CancelMaintenanceWindowExecution.go.snap | 1 - .../snapshot/api_op_CreateActivation.go.snap | 1 - .../snapshot/api_op_CreateAssociation.go.snap | 1 - .../api_op_CreateAssociationBatch.go.snap | 1 - .../snapshot/api_op_CreateDocument.go.snap | 1 - .../api_op_CreateMaintenanceWindow.go.snap | 1 - .../ssm/snapshot/api_op_CreateOpsItem.go.snap | 1 - .../snapshot/api_op_CreateOpsMetadata.go.snap | 1 - .../api_op_CreatePatchBaseline.go.snap | 1 - .../api_op_CreateResourceDataSync.go.snap | 1 - .../snapshot/api_op_DeleteActivation.go.snap | 1 - .../snapshot/api_op_DeleteAssociation.go.snap | 1 - .../snapshot/api_op_DeleteDocument.go.snap | 1 - .../snapshot/api_op_DeleteInventory.go.snap | 1 - .../api_op_DeleteMaintenanceWindow.go.snap | 1 - .../ssm/snapshot/api_op_DeleteOpsItem.go.snap | 1 - .../snapshot/api_op_DeleteOpsMetadata.go.snap | 1 - .../snapshot/api_op_DeleteParameter.go.snap | 1 - .../snapshot/api_op_DeleteParameters.go.snap | 1 - .../api_op_DeletePatchBaseline.go.snap | 1 - .../api_op_DeleteResourceDataSync.go.snap | 1 - .../api_op_DeleteResourcePolicy.go.snap | 1 - .../api_op_DeregisterManagedInstance.go.snap | 1 - ...registerPatchBaselineForPatchGroup.go.snap | 1 - ...egisterTargetFromMaintenanceWindow.go.snap | 1 - ...eregisterTaskFromMaintenanceWindow.go.snap | 1 - .../api_op_DescribeActivations.go.snap | 1 - .../api_op_DescribeAssociation.go.snap | 1 - ...escribeAssociationExecutionTargets.go.snap | 1 - ...i_op_DescribeAssociationExecutions.go.snap | 1 - ...pi_op_DescribeAutomationExecutions.go.snap | 1 - ...p_DescribeAutomationStepExecutions.go.snap | 1 - .../api_op_DescribeAvailablePatches.go.snap | 1 - .../snapshot/api_op_DescribeDocument.go.snap | 1 - .../api_op_DescribeDocumentPermission.go.snap | 1 - ...cribeEffectiveInstanceAssociations.go.snap | 1 - ...beEffectivePatchesForPatchBaseline.go.snap | 1 - ...DescribeInstanceAssociationsStatus.go.snap | 1 - ...api_op_DescribeInstanceInformation.go.snap | 1 - ...api_op_DescribeInstancePatchStates.go.snap | 1 - ...beInstancePatchStatesForPatchGroup.go.snap | 1 - .../api_op_DescribeInstancePatches.go.snap | 1 - .../api_op_DescribeInstanceProperties.go.snap | 1 - .../api_op_DescribeInventoryDeletions.go.snap | 1 - ...anceWindowExecutionTaskInvocations.go.snap | 1 - ...ibeMaintenanceWindowExecutionTasks.go.snap | 1 - ...escribeMaintenanceWindowExecutions.go.snap | 1 - ..._DescribeMaintenanceWindowSchedule.go.snap | 1 - ...p_DescribeMaintenanceWindowTargets.go.snap | 1 - ..._op_DescribeMaintenanceWindowTasks.go.snap | 1 - .../api_op_DescribeMaintenanceWindows.go.snap | 1 - ...escribeMaintenanceWindowsForTarget.go.snap | 1 - .../snapshot/api_op_DescribeOpsItems.go.snap | 1 - .../api_op_DescribeParameters.go.snap | 1 - .../api_op_DescribePatchBaselines.go.snap | 1 - .../api_op_DescribePatchGroupState.go.snap | 1 - .../api_op_DescribePatchGroups.go.snap | 1 - .../api_op_DescribePatchProperties.go.snap | 1 - .../snapshot/api_op_DescribeSessions.go.snap | 1 - ..._op_DisassociateOpsItemRelatedItem.go.snap | 1 - .../api_op_GetAutomationExecution.go.snap | 1 - .../snapshot/api_op_GetCalendarState.go.snap | 1 - .../api_op_GetCommandInvocation.go.snap | 1 - .../api_op_GetConnectionStatus.go.snap | 1 - .../api_op_GetDefaultPatchBaseline.go.snap | 1 - ...DeployablePatchSnapshotForInstance.go.snap | 1 - .../ssm/snapshot/api_op_GetDocument.go.snap | 1 - .../api_op_GetExecutionPreview.go.snap | 1 - .../ssm/snapshot/api_op_GetInventory.go.snap | 1 - .../api_op_GetInventorySchema.go.snap | 1 - .../api_op_GetMaintenanceWindow.go.snap | 1 - ...i_op_GetMaintenanceWindowExecution.go.snap | 1 - ..._GetMaintenanceWindowExecutionTask.go.snap | 1 - ...nanceWindowExecutionTaskInvocation.go.snap | 1 - .../api_op_GetMaintenanceWindowTask.go.snap | 1 - .../ssm/snapshot/api_op_GetOpsItem.go.snap | 1 - .../snapshot/api_op_GetOpsMetadata.go.snap | 1 - .../ssm/snapshot/api_op_GetOpsSummary.go.snap | 1 - .../ssm/snapshot/api_op_GetParameter.go.snap | 1 - .../api_op_GetParameterHistory.go.snap | 1 - .../ssm/snapshot/api_op_GetParameters.go.snap | 1 - .../api_op_GetParametersByPath.go.snap | 1 - .../snapshot/api_op_GetPatchBaseline.go.snap | 1 - ...i_op_GetPatchBaselineForPatchGroup.go.snap | 1 - .../api_op_GetResourcePolicies.go.snap | 1 - .../snapshot/api_op_GetServiceSetting.go.snap | 1 - .../api_op_LabelParameterVersion.go.snap | 1 - .../api_op_ListAssociationVersions.go.snap | 1 - .../snapshot/api_op_ListAssociations.go.snap | 1 - .../api_op_ListCommandInvocations.go.snap | 1 - .../ssm/snapshot/api_op_ListCommands.go.snap | 1 - .../api_op_ListComplianceItems.go.snap | 1 - .../api_op_ListComplianceSummaries.go.snap | 1 - ...api_op_ListDocumentMetadataHistory.go.snap | 1 - .../api_op_ListDocumentVersions.go.snap | 1 - .../ssm/snapshot/api_op_ListDocuments.go.snap | 1 - .../api_op_ListInventoryEntries.go.snap | 1 - service/ssm/snapshot/api_op_ListNodes.go.snap | 1 - .../snapshot/api_op_ListNodesSummary.go.snap | 1 - .../snapshot/api_op_ListOpsItemEvents.go.snap | 1 - .../api_op_ListOpsItemRelatedItems.go.snap | 1 - .../snapshot/api_op_ListOpsMetadata.go.snap | 1 - ...op_ListResourceComplianceSummaries.go.snap | 1 - .../api_op_ListResourceDataSync.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ModifyDocumentPermission.go.snap | 1 - .../api_op_PutComplianceItems.go.snap | 1 - .../ssm/snapshot/api_op_PutInventory.go.snap | 1 - .../ssm/snapshot/api_op_PutParameter.go.snap | 1 - .../snapshot/api_op_PutResourcePolicy.go.snap | 1 - ...pi_op_RegisterDefaultPatchBaseline.go.snap | 1 - ...RegisterPatchBaselineForPatchGroup.go.snap | 1 - ...egisterTargetWithMaintenanceWindow.go.snap | 1 - ..._RegisterTaskWithMaintenanceWindow.go.snap | 1 - .../api_op_RemoveTagsFromResource.go.snap | 1 - .../api_op_ResetServiceSetting.go.snap | 1 - .../ssm/snapshot/api_op_ResumeSession.go.snap | 1 - .../api_op_SendAutomationSignal.go.snap | 1 - .../ssm/snapshot/api_op_SendCommand.go.snap | 1 - .../api_op_StartAssociationsOnce.go.snap | 1 - .../api_op_StartAutomationExecution.go.snap | 1 - ...api_op_StartChangeRequestExecution.go.snap | 1 - .../api_op_StartExecutionPreview.go.snap | 1 - .../ssm/snapshot/api_op_StartSession.go.snap | 1 - .../api_op_StopAutomationExecution.go.snap | 1 - .../snapshot/api_op_TerminateSession.go.snap | 1 - .../api_op_UnlabelParameterVersion.go.snap | 1 - .../snapshot/api_op_UpdateAssociation.go.snap | 1 - .../api_op_UpdateAssociationStatus.go.snap | 1 - .../snapshot/api_op_UpdateDocument.go.snap | 1 - ...pi_op_UpdateDocumentDefaultVersion.go.snap | 1 - .../api_op_UpdateDocumentMetadata.go.snap | 1 - .../api_op_UpdateMaintenanceWindow.go.snap | 1 - ...i_op_UpdateMaintenanceWindowTarget.go.snap | 1 - ...api_op_UpdateMaintenanceWindowTask.go.snap | 1 - .../api_op_UpdateManagedInstanceRole.go.snap | 1 - .../ssm/snapshot/api_op_UpdateOpsItem.go.snap | 1 - .../snapshot/api_op_UpdateOpsMetadata.go.snap | 1 - .../api_op_UpdatePatchBaseline.go.snap | 1 - .../api_op_UpdateResourceDataSync.go.snap | 1 - .../api_op_UpdateServiceSetting.go.snap | 1 - service/ssmcontacts/api_client.go | 31 -- service/ssmcontacts/api_op_AcceptPage.go | 3 - .../api_op_ActivateContactChannel.go | 3 - service/ssmcontacts/api_op_CreateContact.go | 3 - .../api_op_CreateContactChannel.go | 3 - service/ssmcontacts/api_op_CreateRotation.go | 3 - .../api_op_CreateRotationOverride.go | 3 - .../api_op_DeactivateContactChannel.go | 3 - service/ssmcontacts/api_op_DeleteContact.go | 3 - .../api_op_DeleteContactChannel.go | 3 - service/ssmcontacts/api_op_DeleteRotation.go | 3 - .../api_op_DeleteRotationOverride.go | 3 - .../ssmcontacts/api_op_DescribeEngagement.go | 3 - service/ssmcontacts/api_op_DescribePage.go | 3 - service/ssmcontacts/api_op_GetContact.go | 3 - .../ssmcontacts/api_op_GetContactChannel.go | 3 - .../ssmcontacts/api_op_GetContactPolicy.go | 3 - service/ssmcontacts/api_op_GetRotation.go | 3 - .../ssmcontacts/api_op_GetRotationOverride.go | 3 - .../ssmcontacts/api_op_ListContactChannels.go | 3 - service/ssmcontacts/api_op_ListContacts.go | 3 - service/ssmcontacts/api_op_ListEngagements.go | 3 - .../ssmcontacts/api_op_ListPageReceipts.go | 3 - .../ssmcontacts/api_op_ListPageResolutions.go | 3 - .../ssmcontacts/api_op_ListPagesByContact.go | 3 - .../api_op_ListPagesByEngagement.go | 3 - .../api_op_ListPreviewRotationShifts.go | 3 - .../api_op_ListRotationOverrides.go | 3 - .../ssmcontacts/api_op_ListRotationShifts.go | 3 - service/ssmcontacts/api_op_ListRotations.go | 3 - .../ssmcontacts/api_op_ListTagsForResource.go | 3 - .../ssmcontacts/api_op_PutContactPolicy.go | 3 - .../ssmcontacts/api_op_SendActivationCode.go | 3 - service/ssmcontacts/api_op_StartEngagement.go | 3 - service/ssmcontacts/api_op_StopEngagement.go | 3 - service/ssmcontacts/api_op_TagResource.go | 3 - service/ssmcontacts/api_op_UntagResource.go | 3 - service/ssmcontacts/api_op_UpdateContact.go | 3 - .../api_op_UpdateContactChannel.go | 3 - service/ssmcontacts/api_op_UpdateRotation.go | 3 - .../snapshot/api_op_AcceptPage.go.snap | 1 - .../api_op_ActivateContactChannel.go.snap | 1 - .../snapshot/api_op_CreateContact.go.snap | 1 - .../api_op_CreateContactChannel.go.snap | 1 - .../snapshot/api_op_CreateRotation.go.snap | 1 - .../api_op_CreateRotationOverride.go.snap | 1 - .../api_op_DeactivateContactChannel.go.snap | 1 - .../snapshot/api_op_DeleteContact.go.snap | 1 - .../api_op_DeleteContactChannel.go.snap | 1 - .../snapshot/api_op_DeleteRotation.go.snap | 1 - .../api_op_DeleteRotationOverride.go.snap | 1 - .../api_op_DescribeEngagement.go.snap | 1 - .../snapshot/api_op_DescribePage.go.snap | 1 - .../snapshot/api_op_GetContact.go.snap | 1 - .../snapshot/api_op_GetContactChannel.go.snap | 1 - .../snapshot/api_op_GetContactPolicy.go.snap | 1 - .../snapshot/api_op_GetRotation.go.snap | 1 - .../api_op_GetRotationOverride.go.snap | 1 - .../api_op_ListContactChannels.go.snap | 1 - .../snapshot/api_op_ListContacts.go.snap | 1 - .../snapshot/api_op_ListEngagements.go.snap | 1 - .../snapshot/api_op_ListPageReceipts.go.snap | 1 - .../api_op_ListPageResolutions.go.snap | 1 - .../api_op_ListPagesByContact.go.snap | 1 - .../api_op_ListPagesByEngagement.go.snap | 1 - .../api_op_ListPreviewRotationShifts.go.snap | 1 - .../api_op_ListRotationOverrides.go.snap | 1 - .../api_op_ListRotationShifts.go.snap | 1 - .../snapshot/api_op_ListRotations.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_PutContactPolicy.go.snap | 1 - .../api_op_SendActivationCode.go.snap | 1 - .../snapshot/api_op_StartEngagement.go.snap | 1 - .../snapshot/api_op_StopEngagement.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateContact.go.snap | 1 - .../api_op_UpdateContactChannel.go.snap | 1 - .../snapshot/api_op_UpdateRotation.go.snap | 1 - service/ssmincidents/api_client.go | 31 -- .../api_op_BatchGetIncidentFindings.go | 3 - .../api_op_CreateReplicationSet.go | 3 - .../ssmincidents/api_op_CreateResponsePlan.go | 3 - .../api_op_CreateTimelineEvent.go | 3 - .../api_op_DeleteIncidentRecord.go | 3 - .../api_op_DeleteReplicationSet.go | 3 - .../api_op_DeleteResourcePolicy.go | 3 - .../ssmincidents/api_op_DeleteResponsePlan.go | 3 - .../api_op_DeleteTimelineEvent.go | 3 - .../ssmincidents/api_op_GetIncidentRecord.go | 3 - .../ssmincidents/api_op_GetReplicationSet.go | 3 - .../api_op_GetResourcePolicies.go | 3 - .../ssmincidents/api_op_GetResponsePlan.go | 3 - .../ssmincidents/api_op_GetTimelineEvent.go | 3 - .../api_op_ListIncidentFindings.go | 3 - .../api_op_ListIncidentRecords.go | 3 - .../ssmincidents/api_op_ListRelatedItems.go | 3 - .../api_op_ListReplicationSets.go | 3 - .../ssmincidents/api_op_ListResponsePlans.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../ssmincidents/api_op_ListTimelineEvents.go | 3 - .../ssmincidents/api_op_PutResourcePolicy.go | 3 - service/ssmincidents/api_op_StartIncident.go | 3 - service/ssmincidents/api_op_TagResource.go | 3 - service/ssmincidents/api_op_UntagResource.go | 3 - .../api_op_UpdateDeletionProtection.go | 3 - .../api_op_UpdateIncidentRecord.go | 3 - .../ssmincidents/api_op_UpdateRelatedItems.go | 3 - .../api_op_UpdateReplicationSet.go | 3 - .../ssmincidents/api_op_UpdateResponsePlan.go | 3 - .../api_op_UpdateTimelineEvent.go | 3 - .../api_op_BatchGetIncidentFindings.go.snap | 1 - .../api_op_CreateReplicationSet.go.snap | 1 - .../api_op_CreateResponsePlan.go.snap | 1 - .../api_op_CreateTimelineEvent.go.snap | 1 - .../api_op_DeleteIncidentRecord.go.snap | 1 - .../api_op_DeleteReplicationSet.go.snap | 1 - .../api_op_DeleteResourcePolicy.go.snap | 1 - .../api_op_DeleteResponsePlan.go.snap | 1 - .../api_op_DeleteTimelineEvent.go.snap | 1 - .../snapshot/api_op_GetIncidentRecord.go.snap | 1 - .../snapshot/api_op_GetReplicationSet.go.snap | 1 - .../api_op_GetResourcePolicies.go.snap | 1 - .../snapshot/api_op_GetResponsePlan.go.snap | 1 - .../snapshot/api_op_GetTimelineEvent.go.snap | 1 - .../api_op_ListIncidentFindings.go.snap | 1 - .../api_op_ListIncidentRecords.go.snap | 1 - .../snapshot/api_op_ListRelatedItems.go.snap | 1 - .../api_op_ListReplicationSets.go.snap | 1 - .../snapshot/api_op_ListResponsePlans.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListTimelineEvents.go.snap | 1 - .../snapshot/api_op_PutResourcePolicy.go.snap | 1 - .../snapshot/api_op_StartIncident.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateDeletionProtection.go.snap | 1 - .../api_op_UpdateIncidentRecord.go.snap | 1 - .../api_op_UpdateRelatedItems.go.snap | 1 - .../api_op_UpdateReplicationSet.go.snap | 1 - .../api_op_UpdateResponsePlan.go.snap | 1 - .../api_op_UpdateTimelineEvent.go.snap | 1 - service/ssmquicksetup/api_client.go | 31 -- .../api_op_CreateConfigurationManager.go | 3 - .../api_op_DeleteConfigurationManager.go | 3 - .../ssmquicksetup/api_op_GetConfiguration.go | 3 - .../api_op_GetConfigurationManager.go | 3 - .../api_op_GetServiceSettings.go | 3 - .../api_op_ListConfigurationManagers.go | 3 - .../api_op_ListConfigurations.go | 3 - .../api_op_ListQuickSetupTypes.go | 3 - .../api_op_ListTagsForResource.go | 3 - service/ssmquicksetup/api_op_TagResource.go | 3 - service/ssmquicksetup/api_op_UntagResource.go | 3 - .../api_op_UpdateConfigurationDefinition.go | 3 - .../api_op_UpdateConfigurationManager.go | 3 - .../api_op_UpdateServiceSettings.go | 3 - .../api_op_CreateConfigurationManager.go.snap | 1 - .../api_op_DeleteConfigurationManager.go.snap | 1 - .../snapshot/api_op_GetConfiguration.go.snap | 1 - .../api_op_GetConfigurationManager.go.snap | 1 - .../api_op_GetServiceSettings.go.snap | 1 - .../api_op_ListConfigurationManagers.go.snap | 1 - .../api_op_ListConfigurations.go.snap | 1 - .../api_op_ListQuickSetupTypes.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - ...i_op_UpdateConfigurationDefinition.go.snap | 1 - .../api_op_UpdateConfigurationManager.go.snap | 1 - .../api_op_UpdateServiceSettings.go.snap | 1 - service/ssmsap/api_client.go | 31 -- .../ssmsap/api_op_DeleteResourcePermission.go | 3 - .../ssmsap/api_op_DeregisterApplication.go | 3 - service/ssmsap/api_op_GetApplication.go | 3 - service/ssmsap/api_op_GetComponent.go | 3 - service/ssmsap/api_op_GetDatabase.go | 3 - service/ssmsap/api_op_GetOperation.go | 3 - .../ssmsap/api_op_GetResourcePermission.go | 3 - service/ssmsap/api_op_ListApplications.go | 3 - service/ssmsap/api_op_ListComponents.go | 3 - service/ssmsap/api_op_ListDatabases.go | 3 - service/ssmsap/api_op_ListOperationEvents.go | 3 - service/ssmsap/api_op_ListOperations.go | 3 - service/ssmsap/api_op_ListTagsForResource.go | 3 - .../ssmsap/api_op_PutResourcePermission.go | 3 - service/ssmsap/api_op_RegisterApplication.go | 3 - service/ssmsap/api_op_StartApplication.go | 3 - .../ssmsap/api_op_StartApplicationRefresh.go | 3 - service/ssmsap/api_op_StopApplication.go | 3 - service/ssmsap/api_op_TagResource.go | 3 - service/ssmsap/api_op_UntagResource.go | 3 - .../api_op_UpdateApplicationSettings.go | 3 - .../api_op_DeleteResourcePermission.go.snap | 1 - .../api_op_DeregisterApplication.go.snap | 1 - .../snapshot/api_op_GetApplication.go.snap | 1 - .../snapshot/api_op_GetComponent.go.snap | 1 - .../snapshot/api_op_GetDatabase.go.snap | 1 - .../snapshot/api_op_GetOperation.go.snap | 1 - .../api_op_GetResourcePermission.go.snap | 1 - .../snapshot/api_op_ListApplications.go.snap | 1 - .../snapshot/api_op_ListComponents.go.snap | 1 - .../snapshot/api_op_ListDatabases.go.snap | 1 - .../api_op_ListOperationEvents.go.snap | 1 - .../snapshot/api_op_ListOperations.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_PutResourcePermission.go.snap | 1 - .../api_op_RegisterApplication.go.snap | 1 - .../snapshot/api_op_StartApplication.go.snap | 1 - .../api_op_StartApplicationRefresh.go.snap | 1 - .../snapshot/api_op_StopApplication.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateApplicationSettings.go.snap | 1 - service/sso/api_client.go | 31 -- service/sso/api_op_GetRoleCredentials.go | 3 - service/sso/api_op_ListAccountRoles.go | 3 - service/sso/api_op_ListAccounts.go | 3 - service/sso/api_op_Logout.go | 3 - .../api_op_GetRoleCredentials.go.snap | 1 - .../snapshot/api_op_ListAccountRoles.go.snap | 1 - .../sso/snapshot/api_op_ListAccounts.go.snap | 1 - service/sso/snapshot/api_op_Logout.go.snap | 1 - service/ssoadmin/api_client.go | 31 -- ...erManagedPolicyReferenceToPermissionSet.go | 3 - ...i_op_AttachManagedPolicyToPermissionSet.go | 3 - .../api_op_CreateAccountAssignment.go | 3 - service/ssoadmin/api_op_CreateApplication.go | 3 - .../api_op_CreateApplicationAssignment.go | 3 - service/ssoadmin/api_op_CreateInstance.go | 3 - ...anceAccessControlAttributeConfiguration.go | 3 - .../ssoadmin/api_op_CreatePermissionSet.go | 3 - .../api_op_CreateTrustedTokenIssuer.go | 3 - .../api_op_DeleteAccountAssignment.go | 3 - service/ssoadmin/api_op_DeleteApplication.go | 3 - .../api_op_DeleteApplicationAccessScope.go | 3 - .../api_op_DeleteApplicationAssignment.go | 3 - ...p_DeleteApplicationAuthenticationMethod.go | 3 - .../ssoadmin/api_op_DeleteApplicationGrant.go | 3 - ..._op_DeleteInlinePolicyFromPermissionSet.go | 3 - service/ssoadmin/api_op_DeleteInstance.go | 3 - ...anceAccessControlAttributeConfiguration.go | 3 - .../ssoadmin/api_op_DeletePermissionSet.go | 3 - ...etePermissionsBoundaryFromPermissionSet.go | 3 - .../api_op_DeleteTrustedTokenIssuer.go | 3 - ...DescribeAccountAssignmentCreationStatus.go | 3 - ...DescribeAccountAssignmentDeletionStatus.go | 3 - .../ssoadmin/api_op_DescribeApplication.go | 3 - .../api_op_DescribeApplicationAssignment.go | 3 - .../api_op_DescribeApplicationProvider.go | 3 - service/ssoadmin/api_op_DescribeInstance.go | 3 - ...anceAccessControlAttributeConfiguration.go | 3 - .../ssoadmin/api_op_DescribePermissionSet.go | 3 - ...DescribePermissionSetProvisioningStatus.go | 3 - .../api_op_DescribeTrustedTokenIssuer.go | 3 - ...ManagedPolicyReferenceFromPermissionSet.go | 3 - ...op_DetachManagedPolicyFromPermissionSet.go | 3 - .../api_op_GetApplicationAccessScope.go | 3 - ...p_GetApplicationAssignmentConfiguration.go | 3 - ...i_op_GetApplicationAuthenticationMethod.go | 3 - .../ssoadmin/api_op_GetApplicationGrant.go | 3 - .../api_op_GetInlinePolicyForPermissionSet.go | 3 - ..._GetPermissionsBoundaryForPermissionSet.go | 3 - ..._op_ListAccountAssignmentCreationStatus.go | 3 - ..._op_ListAccountAssignmentDeletionStatus.go | 3 - .../ssoadmin/api_op_ListAccountAssignments.go | 3 - ...i_op_ListAccountAssignmentsForPrincipal.go | 3 - ...ListAccountsForProvisionedPermissionSet.go | 3 - .../api_op_ListApplicationAccessScopes.go | 3 - .../api_op_ListApplicationAssignments.go | 3 - ..._ListApplicationAssignmentsForPrincipal.go | 3 - ...op_ListApplicationAuthenticationMethods.go | 3 - .../ssoadmin/api_op_ListApplicationGrants.go | 3 - .../api_op_ListApplicationProviders.go | 3 - service/ssoadmin/api_op_ListApplications.go | 3 - ...rManagedPolicyReferencesInPermissionSet.go | 3 - service/ssoadmin/api_op_ListInstances.go | 3 - ...i_op_ListManagedPoliciesInPermissionSet.go | 3 - ..._op_ListPermissionSetProvisioningStatus.go | 3 - service/ssoadmin/api_op_ListPermissionSets.go | 3 - ..._ListPermissionSetsProvisionedToAccount.go | 3 - .../ssoadmin/api_op_ListTagsForResource.go | 3 - .../api_op_ListTrustedTokenIssuers.go | 3 - .../ssoadmin/api_op_ProvisionPermissionSet.go | 3 - .../api_op_PutApplicationAccessScope.go | 3 - ...p_PutApplicationAssignmentConfiguration.go | 3 - ...i_op_PutApplicationAuthenticationMethod.go | 3 - .../ssoadmin/api_op_PutApplicationGrant.go | 3 - .../api_op_PutInlinePolicyToPermissionSet.go | 3 - ...p_PutPermissionsBoundaryToPermissionSet.go | 3 - service/ssoadmin/api_op_TagResource.go | 3 - service/ssoadmin/api_op_UntagResource.go | 3 - service/ssoadmin/api_op_UpdateApplication.go | 3 - service/ssoadmin/api_op_UpdateInstance.go | 3 - ...anceAccessControlAttributeConfiguration.go | 3 - .../ssoadmin/api_op_UpdatePermissionSet.go | 3 - .../api_op_UpdateTrustedTokenIssuer.go | 3 - ...agedPolicyReferenceToPermissionSet.go.snap | 1 - ...AttachManagedPolicyToPermissionSet.go.snap | 1 - .../api_op_CreateAccountAssignment.go.snap | 1 - .../snapshot/api_op_CreateApplication.go.snap | 1 - ...api_op_CreateApplicationAssignment.go.snap | 1 - .../snapshot/api_op_CreateInstance.go.snap | 1 - ...ccessControlAttributeConfiguration.go.snap | 1 - .../api_op_CreatePermissionSet.go.snap | 1 - .../api_op_CreateTrustedTokenIssuer.go.snap | 1 - .../api_op_DeleteAccountAssignment.go.snap | 1 - .../snapshot/api_op_DeleteApplication.go.snap | 1 - ...pi_op_DeleteApplicationAccessScope.go.snap | 1 - ...api_op_DeleteApplicationAssignment.go.snap | 1 - ...eteApplicationAuthenticationMethod.go.snap | 1 - .../api_op_DeleteApplicationGrant.go.snap | 1 - ...eleteInlinePolicyFromPermissionSet.go.snap | 1 - .../snapshot/api_op_DeleteInstance.go.snap | 1 - ...ccessControlAttributeConfiguration.go.snap | 1 - .../api_op_DeletePermissionSet.go.snap | 1 - ...rmissionsBoundaryFromPermissionSet.go.snap | 1 - .../api_op_DeleteTrustedTokenIssuer.go.snap | 1 - ...ibeAccountAssignmentCreationStatus.go.snap | 1 - ...ibeAccountAssignmentDeletionStatus.go.snap | 1 - .../api_op_DescribeApplication.go.snap | 1 - ...i_op_DescribeApplicationAssignment.go.snap | 1 - ...api_op_DescribeApplicationProvider.go.snap | 1 - .../snapshot/api_op_DescribeInstance.go.snap | 1 - ...ccessControlAttributeConfiguration.go.snap | 1 - .../api_op_DescribePermissionSet.go.snap | 1 - ...ibePermissionSetProvisioningStatus.go.snap | 1 - .../api_op_DescribeTrustedTokenIssuer.go.snap | 1 - ...edPolicyReferenceFromPermissionSet.go.snap | 1 - ...tachManagedPolicyFromPermissionSet.go.snap | 1 - .../api_op_GetApplicationAccessScope.go.snap | 1 - ...ApplicationAssignmentConfiguration.go.snap | 1 - ...GetApplicationAuthenticationMethod.go.snap | 1 - .../api_op_GetApplicationGrant.go.snap | 1 - ...op_GetInlinePolicyForPermissionSet.go.snap | 1 - ...ermissionsBoundaryForPermissionSet.go.snap | 1 - ...istAccountAssignmentCreationStatus.go.snap | 1 - ...istAccountAssignmentDeletionStatus.go.snap | 1 - .../api_op_ListAccountAssignments.go.snap | 1 - ...ListAccountAssignmentsForPrincipal.go.snap | 1 - ...ccountsForProvisionedPermissionSet.go.snap | 1 - ...api_op_ListApplicationAccessScopes.go.snap | 1 - .../api_op_ListApplicationAssignments.go.snap | 1 - ...ApplicationAssignmentsForPrincipal.go.snap | 1 - ...stApplicationAuthenticationMethods.go.snap | 1 - .../api_op_ListApplicationGrants.go.snap | 1 - .../api_op_ListApplicationProviders.go.snap | 1 - .../snapshot/api_op_ListApplications.go.snap | 1 - ...gedPolicyReferencesInPermissionSet.go.snap | 1 - .../snapshot/api_op_ListInstances.go.snap | 1 - ...ListManagedPoliciesInPermissionSet.go.snap | 1 - ...istPermissionSetProvisioningStatus.go.snap | 1 - .../api_op_ListPermissionSets.go.snap | 1 - ...PermissionSetsProvisionedToAccount.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListTrustedTokenIssuers.go.snap | 1 - .../api_op_ProvisionPermissionSet.go.snap | 1 - .../api_op_PutApplicationAccessScope.go.snap | 1 - ...ApplicationAssignmentConfiguration.go.snap | 1 - ...PutApplicationAuthenticationMethod.go.snap | 1 - .../api_op_PutApplicationGrant.go.snap | 1 - ..._op_PutInlinePolicyToPermissionSet.go.snap | 1 - ...PermissionsBoundaryToPermissionSet.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateApplication.go.snap | 1 - .../snapshot/api_op_UpdateInstance.go.snap | 1 - ...ccessControlAttributeConfiguration.go.snap | 1 - .../api_op_UpdatePermissionSet.go.snap | 1 - .../api_op_UpdateTrustedTokenIssuer.go.snap | 1 - service/ssooidc/api_client.go | 31 -- service/ssooidc/api_op_CreateToken.go | 3 - service/ssooidc/api_op_CreateTokenWithIAM.go | 3 - service/ssooidc/api_op_RegisterClient.go | 3 - .../api_op_StartDeviceAuthorization.go | 3 - .../snapshot/api_op_CreateToken.go.snap | 1 - .../api_op_CreateTokenWithIAM.go.snap | 1 - .../snapshot/api_op_RegisterClient.go.snap | 1 - .../api_op_StartDeviceAuthorization.go.snap | 1 - service/storagegateway/api_client.go | 31 -- .../storagegateway/api_op_ActivateGateway.go | 3 - service/storagegateway/api_op_AddCache.go | 3 - .../api_op_AddTagsToResource.go | 3 - .../storagegateway/api_op_AddUploadBuffer.go | 3 - .../api_op_AddWorkingStorage.go | 3 - .../storagegateway/api_op_AssignTapePool.go | 3 - .../api_op_AssociateFileSystem.go | 3 - service/storagegateway/api_op_AttachVolume.go | 3 - .../storagegateway/api_op_CancelArchival.go | 3 - .../api_op_CancelCacheReport.go | 3 - .../storagegateway/api_op_CancelRetrieval.go | 3 - .../api_op_CreateCachediSCSIVolume.go | 3 - .../api_op_CreateNFSFileShare.go | 3 - .../api_op_CreateSMBFileShare.go | 3 - .../storagegateway/api_op_CreateSnapshot.go | 3 - ...p_CreateSnapshotFromVolumeRecoveryPoint.go | 3 - .../api_op_CreateStorediSCSIVolume.go | 3 - .../storagegateway/api_op_CreateTapePool.go | 3 - .../api_op_CreateTapeWithBarcode.go | 3 - service/storagegateway/api_op_CreateTapes.go | 3 - ...pi_op_DeleteAutomaticTapeCreationPolicy.go | 3 - .../api_op_DeleteBandwidthRateLimit.go | 3 - .../api_op_DeleteCacheReport.go | 3 - .../api_op_DeleteChapCredentials.go | 3 - .../storagegateway/api_op_DeleteFileShare.go | 3 - .../storagegateway/api_op_DeleteGateway.go | 3 - .../api_op_DeleteSnapshotSchedule.go | 3 - service/storagegateway/api_op_DeleteTape.go | 3 - .../api_op_DeleteTapeArchive.go | 3 - .../storagegateway/api_op_DeleteTapePool.go | 3 - service/storagegateway/api_op_DeleteVolume.go | 3 - .../api_op_DescribeAvailabilityMonitorTest.go | 3 - .../api_op_DescribeBandwidthRateLimit.go | 3 - ...i_op_DescribeBandwidthRateLimitSchedule.go | 3 - .../storagegateway/api_op_DescribeCache.go | 3 - .../api_op_DescribeCacheReport.go | 3 - .../api_op_DescribeCachediSCSIVolumes.go | 3 - .../api_op_DescribeChapCredentials.go | 3 - .../api_op_DescribeFileSystemAssociations.go | 3 - .../api_op_DescribeGatewayInformation.go | 3 - .../api_op_DescribeMaintenanceStartTime.go | 3 - .../api_op_DescribeNFSFileShares.go | 3 - .../api_op_DescribeSMBFileShares.go | 3 - .../api_op_DescribeSMBSettings.go | 3 - .../api_op_DescribeSnapshotSchedule.go | 3 - .../api_op_DescribeStorediSCSIVolumes.go | 3 - .../api_op_DescribeTapeArchives.go | 3 - .../api_op_DescribeTapeRecoveryPoints.go | 3 - .../storagegateway/api_op_DescribeTapes.go | 3 - .../api_op_DescribeUploadBuffer.go | 3 - .../api_op_DescribeVTLDevices.go | 3 - .../api_op_DescribeWorkingStorage.go | 3 - service/storagegateway/api_op_DetachVolume.go | 3 - .../storagegateway/api_op_DisableGateway.go | 3 - .../api_op_DisassociateFileSystem.go | 3 - service/storagegateway/api_op_JoinDomain.go | 3 - ...pi_op_ListAutomaticTapeCreationPolicies.go | 3 - .../storagegateway/api_op_ListCacheReports.go | 3 - .../storagegateway/api_op_ListFileShares.go | 3 - .../api_op_ListFileSystemAssociations.go | 3 - service/storagegateway/api_op_ListGateways.go | 3 - .../storagegateway/api_op_ListLocalDisks.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../storagegateway/api_op_ListTapePools.go | 3 - service/storagegateway/api_op_ListTapes.go | 3 - .../api_op_ListVolumeInitiators.go | 3 - .../api_op_ListVolumeRecoveryPoints.go | 3 - service/storagegateway/api_op_ListVolumes.go | 3 - .../api_op_NotifyWhenUploaded.go | 3 - service/storagegateway/api_op_RefreshCache.go | 3 - .../api_op_RemoveTagsFromResource.go | 3 - service/storagegateway/api_op_ResetCache.go | 3 - .../api_op_RetrieveTapeArchive.go | 3 - .../api_op_RetrieveTapeRecoveryPoint.go | 3 - .../api_op_SetLocalConsolePassword.go | 3 - .../api_op_SetSMBGuestPassword.go | 3 - .../storagegateway/api_op_ShutdownGateway.go | 3 - .../api_op_StartAvailabilityMonitorTest.go | 3 - .../storagegateway/api_op_StartCacheReport.go | 3 - service/storagegateway/api_op_StartGateway.go | 3 - ...pi_op_UpdateAutomaticTapeCreationPolicy.go | 3 - .../api_op_UpdateBandwidthRateLimit.go | 3 - ...api_op_UpdateBandwidthRateLimitSchedule.go | 3 - .../api_op_UpdateChapCredentials.go | 3 - .../api_op_UpdateFileSystemAssociation.go | 3 - .../api_op_UpdateGatewayInformation.go | 3 - .../api_op_UpdateGatewaySoftwareNow.go | 3 - .../api_op_UpdateMaintenanceStartTime.go | 3 - .../api_op_UpdateNFSFileShare.go | 3 - .../api_op_UpdateSMBFileShare.go | 3 - .../api_op_UpdateSMBFileShareVisibility.go | 3 - .../api_op_UpdateSMBLocalGroups.go | 3 - .../api_op_UpdateSMBSecurityStrategy.go | 3 - .../api_op_UpdateSnapshotSchedule.go | 3 - .../api_op_UpdateVTLDeviceType.go | 3 - .../snapshot/api_op_ActivateGateway.go.snap | 1 - .../snapshot/api_op_AddCache.go.snap | 1 - .../snapshot/api_op_AddTagsToResource.go.snap | 1 - .../snapshot/api_op_AddUploadBuffer.go.snap | 1 - .../snapshot/api_op_AddWorkingStorage.go.snap | 1 - .../snapshot/api_op_AssignTapePool.go.snap | 1 - .../api_op_AssociateFileSystem.go.snap | 1 - .../snapshot/api_op_AttachVolume.go.snap | 1 - .../snapshot/api_op_CancelArchival.go.snap | 1 - .../snapshot/api_op_CancelCacheReport.go.snap | 1 - .../snapshot/api_op_CancelRetrieval.go.snap | 1 - .../api_op_CreateCachediSCSIVolume.go.snap | 1 - .../api_op_CreateNFSFileShare.go.snap | 1 - .../api_op_CreateSMBFileShare.go.snap | 1 - .../snapshot/api_op_CreateSnapshot.go.snap | 1 - ...ateSnapshotFromVolumeRecoveryPoint.go.snap | 1 - .../api_op_CreateStorediSCSIVolume.go.snap | 1 - .../snapshot/api_op_CreateTapePool.go.snap | 1 - .../api_op_CreateTapeWithBarcode.go.snap | 1 - .../snapshot/api_op_CreateTapes.go.snap | 1 - ..._DeleteAutomaticTapeCreationPolicy.go.snap | 1 - .../api_op_DeleteBandwidthRateLimit.go.snap | 1 - .../snapshot/api_op_DeleteCacheReport.go.snap | 1 - .../api_op_DeleteChapCredentials.go.snap | 1 - .../snapshot/api_op_DeleteFileShare.go.snap | 1 - .../snapshot/api_op_DeleteGateway.go.snap | 1 - .../api_op_DeleteSnapshotSchedule.go.snap | 1 - .../snapshot/api_op_DeleteTape.go.snap | 1 - .../snapshot/api_op_DeleteTapeArchive.go.snap | 1 - .../snapshot/api_op_DeleteTapePool.go.snap | 1 - .../snapshot/api_op_DeleteVolume.go.snap | 1 - ...op_DescribeAvailabilityMonitorTest.go.snap | 1 - .../api_op_DescribeBandwidthRateLimit.go.snap | 1 - ...DescribeBandwidthRateLimitSchedule.go.snap | 1 - .../snapshot/api_op_DescribeCache.go.snap | 1 - .../api_op_DescribeCacheReport.go.snap | 1 - .../api_op_DescribeCachediSCSIVolumes.go.snap | 1 - .../api_op_DescribeChapCredentials.go.snap | 1 - ..._op_DescribeFileSystemAssociations.go.snap | 1 - .../api_op_DescribeGatewayInformation.go.snap | 1 - ...pi_op_DescribeMaintenanceStartTime.go.snap | 1 - .../api_op_DescribeNFSFileShares.go.snap | 1 - .../api_op_DescribeSMBFileShares.go.snap | 1 - .../api_op_DescribeSMBSettings.go.snap | 1 - .../api_op_DescribeSnapshotSchedule.go.snap | 1 - .../api_op_DescribeStorediSCSIVolumes.go.snap | 1 - .../api_op_DescribeTapeArchives.go.snap | 1 - .../api_op_DescribeTapeRecoveryPoints.go.snap | 1 - .../snapshot/api_op_DescribeTapes.go.snap | 1 - .../api_op_DescribeUploadBuffer.go.snap | 1 - .../api_op_DescribeVTLDevices.go.snap | 1 - .../api_op_DescribeWorkingStorage.go.snap | 1 - .../snapshot/api_op_DetachVolume.go.snap | 1 - .../snapshot/api_op_DisableGateway.go.snap | 1 - .../api_op_DisassociateFileSystem.go.snap | 1 - .../snapshot/api_op_JoinDomain.go.snap | 1 - ..._ListAutomaticTapeCreationPolicies.go.snap | 1 - .../snapshot/api_op_ListCacheReports.go.snap | 1 - .../snapshot/api_op_ListFileShares.go.snap | 1 - .../api_op_ListFileSystemAssociations.go.snap | 1 - .../snapshot/api_op_ListGateways.go.snap | 1 - .../snapshot/api_op_ListLocalDisks.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListTapePools.go.snap | 1 - .../snapshot/api_op_ListTapes.go.snap | 1 - .../api_op_ListVolumeInitiators.go.snap | 1 - .../api_op_ListVolumeRecoveryPoints.go.snap | 1 - .../snapshot/api_op_ListVolumes.go.snap | 1 - .../api_op_NotifyWhenUploaded.go.snap | 1 - .../snapshot/api_op_RefreshCache.go.snap | 1 - .../api_op_RemoveTagsFromResource.go.snap | 1 - .../snapshot/api_op_ResetCache.go.snap | 1 - .../api_op_RetrieveTapeArchive.go.snap | 1 - .../api_op_RetrieveTapeRecoveryPoint.go.snap | 1 - .../api_op_SetLocalConsolePassword.go.snap | 1 - .../api_op_SetSMBGuestPassword.go.snap | 1 - .../snapshot/api_op_ShutdownGateway.go.snap | 1 - ...pi_op_StartAvailabilityMonitorTest.go.snap | 1 - .../snapshot/api_op_StartCacheReport.go.snap | 1 - .../snapshot/api_op_StartGateway.go.snap | 1 - ..._UpdateAutomaticTapeCreationPolicy.go.snap | 1 - .../api_op_UpdateBandwidthRateLimit.go.snap | 1 - ...p_UpdateBandwidthRateLimitSchedule.go.snap | 1 - .../api_op_UpdateChapCredentials.go.snap | 1 - ...api_op_UpdateFileSystemAssociation.go.snap | 1 - .../api_op_UpdateGatewayInformation.go.snap | 1 - .../api_op_UpdateGatewaySoftwareNow.go.snap | 1 - .../api_op_UpdateMaintenanceStartTime.go.snap | 1 - .../api_op_UpdateNFSFileShare.go.snap | 1 - .../api_op_UpdateSMBFileShare.go.snap | 1 - ...pi_op_UpdateSMBFileShareVisibility.go.snap | 1 - .../api_op_UpdateSMBLocalGroups.go.snap | 1 - .../api_op_UpdateSMBSecurityStrategy.go.snap | 1 - .../api_op_UpdateSnapshotSchedule.go.snap | 1 - .../api_op_UpdateVTLDeviceType.go.snap | 1 - service/sts/api_client.go | 31 -- service/sts/api_op_AssumeRole.go | 3 - service/sts/api_op_AssumeRoleWithSAML.go | 3 - .../sts/api_op_AssumeRoleWithWebIdentity.go | 3 - service/sts/api_op_AssumeRoot.go | 3 - .../sts/api_op_DecodeAuthorizationMessage.go | 3 - service/sts/api_op_GetAccessKeyInfo.go | 3 - service/sts/api_op_GetCallerIdentity.go | 3 - service/sts/api_op_GetFederationToken.go | 3 - service/sts/api_op_GetSessionToken.go | 3 - .../sts/snapshot/api_op_AssumeRole.go.snap | 1 - .../api_op_AssumeRoleWithSAML.go.snap | 1 - .../api_op_AssumeRoleWithWebIdentity.go.snap | 1 - .../sts/snapshot/api_op_AssumeRoot.go.snap | 1 - .../api_op_DecodeAuthorizationMessage.go.snap | 1 - .../snapshot/api_op_GetAccessKeyInfo.go.snap | 1 - .../snapshot/api_op_GetCallerIdentity.go.snap | 1 - .../api_op_GetFederationToken.go.snap | 1 - .../snapshot/api_op_GetSessionToken.go.snap | 1 - service/supplychain/api_client.go | 31 -- .../api_op_CreateBillOfMaterialsImportJob.go | 3 - .../api_op_CreateDataIntegrationFlow.go | 3 - .../api_op_CreateDataLakeDataset.go | 3 - service/supplychain/api_op_CreateInstance.go | 3 - .../api_op_DeleteDataIntegrationFlow.go | 3 - .../api_op_DeleteDataLakeDataset.go | 3 - service/supplychain/api_op_DeleteInstance.go | 3 - .../api_op_GetBillOfMaterialsImportJob.go | 3 - .../api_op_GetDataIntegrationFlow.go | 3 - .../supplychain/api_op_GetDataLakeDataset.go | 3 - service/supplychain/api_op_GetInstance.go | 3 - .../api_op_ListDataIntegrationFlows.go | 3 - .../api_op_ListDataLakeDatasets.go | 3 - service/supplychain/api_op_ListInstances.go | 3 - .../supplychain/api_op_ListTagsForResource.go | 3 - .../api_op_SendDataIntegrationEvent.go | 3 - service/supplychain/api_op_TagResource.go | 3 - service/supplychain/api_op_UntagResource.go | 3 - .../api_op_UpdateDataIntegrationFlow.go | 3 - .../api_op_UpdateDataLakeDataset.go | 3 - service/supplychain/api_op_UpdateInstance.go | 3 - ..._op_CreateBillOfMaterialsImportJob.go.snap | 1 - .../api_op_CreateDataIntegrationFlow.go.snap | 1 - .../api_op_CreateDataLakeDataset.go.snap | 1 - .../snapshot/api_op_CreateInstance.go.snap | 1 - .../api_op_DeleteDataIntegrationFlow.go.snap | 1 - .../api_op_DeleteDataLakeDataset.go.snap | 1 - .../snapshot/api_op_DeleteInstance.go.snap | 1 - ...api_op_GetBillOfMaterialsImportJob.go.snap | 1 - .../api_op_GetDataIntegrationFlow.go.snap | 1 - .../api_op_GetDataLakeDataset.go.snap | 1 - .../snapshot/api_op_GetInstance.go.snap | 1 - .../api_op_ListDataIntegrationFlows.go.snap | 1 - .../api_op_ListDataLakeDatasets.go.snap | 1 - .../snapshot/api_op_ListInstances.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_SendDataIntegrationEvent.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateDataIntegrationFlow.go.snap | 1 - .../api_op_UpdateDataLakeDataset.go.snap | 1 - .../snapshot/api_op_UpdateInstance.go.snap | 1 - service/support/api_client.go | 31 -- service/support/api_op_AddAttachmentsToSet.go | 3 - .../support/api_op_AddCommunicationToCase.go | 3 - service/support/api_op_CreateCase.go | 3 - service/support/api_op_DescribeAttachment.go | 3 - service/support/api_op_DescribeCases.go | 3 - .../support/api_op_DescribeCommunications.go | 3 - .../api_op_DescribeCreateCaseOptions.go | 3 - service/support/api_op_DescribeServices.go | 3 - .../support/api_op_DescribeSeverityLevels.go | 3 - .../api_op_DescribeSupportedLanguages.go | 3 - ...cribeTrustedAdvisorCheckRefreshStatuses.go | 3 - ...pi_op_DescribeTrustedAdvisorCheckResult.go | 3 - ...op_DescribeTrustedAdvisorCheckSummaries.go | 3 - .../api_op_DescribeTrustedAdvisorChecks.go | 3 - .../api_op_RefreshTrustedAdvisorCheck.go | 3 - service/support/api_op_ResolveCase.go | 3 - .../api_op_AddAttachmentsToSet.go.snap | 1 - .../api_op_AddCommunicationToCase.go.snap | 1 - .../snapshot/api_op_CreateCase.go.snap | 1 - .../api_op_DescribeAttachment.go.snap | 1 - .../snapshot/api_op_DescribeCases.go.snap | 1 - .../api_op_DescribeCommunications.go.snap | 1 - .../api_op_DescribeCreateCaseOptions.go.snap | 1 - .../snapshot/api_op_DescribeServices.go.snap | 1 - .../api_op_DescribeSeverityLevels.go.snap | 1 - .../api_op_DescribeSupportedLanguages.go.snap | 1 - ...TrustedAdvisorCheckRefreshStatuses.go.snap | 1 - ..._DescribeTrustedAdvisorCheckResult.go.snap | 1 - ...scribeTrustedAdvisorCheckSummaries.go.snap | 1 - ...pi_op_DescribeTrustedAdvisorChecks.go.snap | 1 - .../api_op_RefreshTrustedAdvisorCheck.go.snap | 1 - .../snapshot/api_op_ResolveCase.go.snap | 1 - service/supportapp/api_client.go | 31 -- .../api_op_CreateSlackChannelConfiguration.go | 3 - .../supportapp/api_op_DeleteAccountAlias.go | 3 - .../api_op_DeleteSlackChannelConfiguration.go | 3 - ...pi_op_DeleteSlackWorkspaceConfiguration.go | 3 - service/supportapp/api_op_GetAccountAlias.go | 3 - .../api_op_ListSlackChannelConfigurations.go | 3 - ...api_op_ListSlackWorkspaceConfigurations.go | 3 - service/supportapp/api_op_PutAccountAlias.go | 3 - ...p_RegisterSlackWorkspaceForOrganization.go | 3 - .../api_op_UpdateSlackChannelConfiguration.go | 3 - ...op_CreateSlackChannelConfiguration.go.snap | 1 - .../api_op_DeleteAccountAlias.go.snap | 1 - ...op_DeleteSlackChannelConfiguration.go.snap | 1 - ..._DeleteSlackWorkspaceConfiguration.go.snap | 1 - .../snapshot/api_op_GetAccountAlias.go.snap | 1 - ..._op_ListSlackChannelConfigurations.go.snap | 1 - ...p_ListSlackWorkspaceConfigurations.go.snap | 1 - .../snapshot/api_op_PutAccountAlias.go.snap | 1 - ...isterSlackWorkspaceForOrganization.go.snap | 1 - ...op_UpdateSlackChannelConfiguration.go.snap | 1 - service/swf/api_client.go | 31 -- .../api_op_CountClosedWorkflowExecutions.go | 3 - .../swf/api_op_CountOpenWorkflowExecutions.go | 3 - .../swf/api_op_CountPendingActivityTasks.go | 3 - .../swf/api_op_CountPendingDecisionTasks.go | 3 - service/swf/api_op_DeleteActivityType.go | 3 - service/swf/api_op_DeleteWorkflowType.go | 3 - service/swf/api_op_DeprecateActivityType.go | 3 - service/swf/api_op_DeprecateDomain.go | 3 - service/swf/api_op_DeprecateWorkflowType.go | 3 - service/swf/api_op_DescribeActivityType.go | 3 - service/swf/api_op_DescribeDomain.go | 3 - .../swf/api_op_DescribeWorkflowExecution.go | 3 - service/swf/api_op_DescribeWorkflowType.go | 3 - .../swf/api_op_GetWorkflowExecutionHistory.go | 3 - service/swf/api_op_ListActivityTypes.go | 3 - .../api_op_ListClosedWorkflowExecutions.go | 3 - service/swf/api_op_ListDomains.go | 3 - .../swf/api_op_ListOpenWorkflowExecutions.go | 3 - service/swf/api_op_ListTagsForResource.go | 3 - service/swf/api_op_ListWorkflowTypes.go | 3 - service/swf/api_op_PollForActivityTask.go | 3 - service/swf/api_op_PollForDecisionTask.go | 3 - .../swf/api_op_RecordActivityTaskHeartbeat.go | 3 - service/swf/api_op_RegisterActivityType.go | 3 - service/swf/api_op_RegisterDomain.go | 3 - service/swf/api_op_RegisterWorkflowType.go | 3 - .../api_op_RequestCancelWorkflowExecution.go | 3 - .../swf/api_op_RespondActivityTaskCanceled.go | 3 - .../api_op_RespondActivityTaskCompleted.go | 3 - .../swf/api_op_RespondActivityTaskFailed.go | 3 - .../api_op_RespondDecisionTaskCompleted.go | 3 - service/swf/api_op_SignalWorkflowExecution.go | 3 - service/swf/api_op_StartWorkflowExecution.go | 3 - service/swf/api_op_TagResource.go | 3 - .../swf/api_op_TerminateWorkflowExecution.go | 3 - service/swf/api_op_UndeprecateActivityType.go | 3 - service/swf/api_op_UndeprecateDomain.go | 3 - service/swf/api_op_UndeprecateWorkflowType.go | 3 - service/swf/api_op_UntagResource.go | 3 - ...i_op_CountClosedWorkflowExecutions.go.snap | 1 - ...api_op_CountOpenWorkflowExecutions.go.snap | 1 - .../api_op_CountPendingActivityTasks.go.snap | 1 - .../api_op_CountPendingDecisionTasks.go.snap | 1 - .../api_op_DeleteActivityType.go.snap | 1 - .../api_op_DeleteWorkflowType.go.snap | 1 - .../api_op_DeprecateActivityType.go.snap | 1 - .../snapshot/api_op_DeprecateDomain.go.snap | 1 - .../api_op_DeprecateWorkflowType.go.snap | 1 - .../api_op_DescribeActivityType.go.snap | 1 - .../snapshot/api_op_DescribeDomain.go.snap | 1 - .../api_op_DescribeWorkflowExecution.go.snap | 1 - .../api_op_DescribeWorkflowType.go.snap | 1 - ...api_op_GetWorkflowExecutionHistory.go.snap | 1 - .../snapshot/api_op_ListActivityTypes.go.snap | 1 - ...pi_op_ListClosedWorkflowExecutions.go.snap | 1 - .../swf/snapshot/api_op_ListDomains.go.snap | 1 - .../api_op_ListOpenWorkflowExecutions.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListWorkflowTypes.go.snap | 1 - .../api_op_PollForActivityTask.go.snap | 1 - .../api_op_PollForDecisionTask.go.snap | 1 - ...api_op_RecordActivityTaskHeartbeat.go.snap | 1 - .../api_op_RegisterActivityType.go.snap | 1 - .../snapshot/api_op_RegisterDomain.go.snap | 1 - .../api_op_RegisterWorkflowType.go.snap | 1 - ..._op_RequestCancelWorkflowExecution.go.snap | 1 - ...api_op_RespondActivityTaskCanceled.go.snap | 1 - ...pi_op_RespondActivityTaskCompleted.go.snap | 1 - .../api_op_RespondActivityTaskFailed.go.snap | 1 - ...pi_op_RespondDecisionTaskCompleted.go.snap | 1 - .../api_op_SignalWorkflowExecution.go.snap | 1 - .../api_op_StartWorkflowExecution.go.snap | 1 - .../swf/snapshot/api_op_TagResource.go.snap | 1 - .../api_op_TerminateWorkflowExecution.go.snap | 1 - .../api_op_UndeprecateActivityType.go.snap | 1 - .../snapshot/api_op_UndeprecateDomain.go.snap | 1 - .../api_op_UndeprecateWorkflowType.go.snap | 1 - .../swf/snapshot/api_op_UntagResource.go.snap | 1 - service/synthetics/api_client.go | 31 -- .../synthetics/api_op_AssociateResource.go | 3 - service/synthetics/api_op_CreateCanary.go | 3 - service/synthetics/api_op_CreateGroup.go | 3 - service/synthetics/api_op_DeleteCanary.go | 3 - service/synthetics/api_op_DeleteGroup.go | 3 - service/synthetics/api_op_DescribeCanaries.go | 3 - .../api_op_DescribeCanariesLastRun.go | 3 - .../api_op_DescribeRuntimeVersions.go | 3 - .../synthetics/api_op_DisassociateResource.go | 3 - service/synthetics/api_op_GetCanary.go | 3 - service/synthetics/api_op_GetCanaryRuns.go | 3 - service/synthetics/api_op_GetGroup.go | 3 - .../synthetics/api_op_ListAssociatedGroups.go | 3 - .../synthetics/api_op_ListGroupResources.go | 3 - service/synthetics/api_op_ListGroups.go | 3 - .../synthetics/api_op_ListTagsForResource.go | 3 - service/synthetics/api_op_StartCanary.go | 3 - service/synthetics/api_op_StopCanary.go | 3 - service/synthetics/api_op_TagResource.go | 3 - service/synthetics/api_op_UntagResource.go | 3 - service/synthetics/api_op_UpdateCanary.go | 3 - .../snapshot/api_op_AssociateResource.go.snap | 1 - .../snapshot/api_op_CreateCanary.go.snap | 1 - .../snapshot/api_op_CreateGroup.go.snap | 1 - .../snapshot/api_op_DeleteCanary.go.snap | 1 - .../snapshot/api_op_DeleteGroup.go.snap | 1 - .../snapshot/api_op_DescribeCanaries.go.snap | 1 - .../api_op_DescribeCanariesLastRun.go.snap | 1 - .../api_op_DescribeRuntimeVersions.go.snap | 1 - .../api_op_DisassociateResource.go.snap | 1 - .../snapshot/api_op_GetCanary.go.snap | 1 - .../snapshot/api_op_GetCanaryRuns.go.snap | 1 - .../snapshot/api_op_GetGroup.go.snap | 1 - .../api_op_ListAssociatedGroups.go.snap | 1 - .../api_op_ListGroupResources.go.snap | 1 - .../snapshot/api_op_ListGroups.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_StartCanary.go.snap | 1 - .../snapshot/api_op_StopCanary.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateCanary.go.snap | 1 - service/taxsettings/api_client.go | 31 -- .../api_op_BatchDeleteTaxRegistration.go | 3 - .../api_op_BatchGetTaxExemptions.go | 3 - .../api_op_BatchPutTaxRegistration.go | 3 - ...pi_op_DeleteSupplementalTaxRegistration.go | 3 - .../api_op_DeleteTaxRegistration.go | 3 - .../api_op_GetTaxExemptionTypes.go | 3 - .../taxsettings/api_op_GetTaxInheritance.go | 3 - .../taxsettings/api_op_GetTaxRegistration.go | 3 - .../api_op_GetTaxRegistrationDocument.go | 3 - ...api_op_ListSupplementalTaxRegistrations.go | 3 - .../taxsettings/api_op_ListTaxExemptions.go | 3 - .../api_op_ListTaxRegistrations.go | 3 - .../api_op_PutSupplementalTaxRegistration.go | 3 - service/taxsettings/api_op_PutTaxExemption.go | 3 - .../taxsettings/api_op_PutTaxInheritance.go | 3 - .../taxsettings/api_op_PutTaxRegistration.go | 3 - .../api_op_BatchDeleteTaxRegistration.go.snap | 1 - .../api_op_BatchGetTaxExemptions.go.snap | 1 - .../api_op_BatchPutTaxRegistration.go.snap | 1 - ..._DeleteSupplementalTaxRegistration.go.snap | 1 - .../api_op_DeleteTaxRegistration.go.snap | 1 - .../api_op_GetTaxExemptionTypes.go.snap | 1 - .../snapshot/api_op_GetTaxInheritance.go.snap | 1 - .../api_op_GetTaxRegistration.go.snap | 1 - .../api_op_GetTaxRegistrationDocument.go.snap | 1 - ...p_ListSupplementalTaxRegistrations.go.snap | 1 - .../snapshot/api_op_ListTaxExemptions.go.snap | 1 - .../api_op_ListTaxRegistrations.go.snap | 1 - ..._op_PutSupplementalTaxRegistration.go.snap | 1 - .../snapshot/api_op_PutTaxExemption.go.snap | 1 - .../snapshot/api_op_PutTaxInheritance.go.snap | 1 - .../api_op_PutTaxRegistration.go.snap | 1 - service/textract/api_client.go | 31 -- service/textract/api_op_AnalyzeDocument.go | 3 - service/textract/api_op_AnalyzeExpense.go | 3 - service/textract/api_op_AnalyzeID.go | 3 - service/textract/api_op_CreateAdapter.go | 3 - .../textract/api_op_CreateAdapterVersion.go | 3 - service/textract/api_op_DeleteAdapter.go | 3 - .../textract/api_op_DeleteAdapterVersion.go | 3 - service/textract/api_op_DetectDocumentText.go | 3 - service/textract/api_op_GetAdapter.go | 3 - service/textract/api_op_GetAdapterVersion.go | 3 - .../textract/api_op_GetDocumentAnalysis.go | 3 - .../api_op_GetDocumentTextDetection.go | 3 - service/textract/api_op_GetExpenseAnalysis.go | 3 - service/textract/api_op_GetLendingAnalysis.go | 3 - .../api_op_GetLendingAnalysisSummary.go | 3 - .../textract/api_op_ListAdapterVersions.go | 3 - service/textract/api_op_ListAdapters.go | 3 - .../textract/api_op_ListTagsForResource.go | 3 - .../textract/api_op_StartDocumentAnalysis.go | 3 - .../api_op_StartDocumentTextDetection.go | 3 - .../textract/api_op_StartExpenseAnalysis.go | 3 - .../textract/api_op_StartLendingAnalysis.go | 3 - service/textract/api_op_TagResource.go | 3 - service/textract/api_op_UntagResource.go | 3 - service/textract/api_op_UpdateAdapter.go | 3 - .../snapshot/api_op_AnalyzeDocument.go.snap | 1 - .../snapshot/api_op_AnalyzeExpense.go.snap | 1 - .../snapshot/api_op_AnalyzeID.go.snap | 1 - .../snapshot/api_op_CreateAdapter.go.snap | 1 - .../api_op_CreateAdapterVersion.go.snap | 1 - .../snapshot/api_op_DeleteAdapter.go.snap | 1 - .../api_op_DeleteAdapterVersion.go.snap | 1 - .../api_op_DetectDocumentText.go.snap | 1 - .../snapshot/api_op_GetAdapter.go.snap | 1 - .../snapshot/api_op_GetAdapterVersion.go.snap | 1 - .../api_op_GetDocumentAnalysis.go.snap | 1 - .../api_op_GetDocumentTextDetection.go.snap | 1 - .../api_op_GetExpenseAnalysis.go.snap | 1 - .../api_op_GetLendingAnalysis.go.snap | 1 - .../api_op_GetLendingAnalysisSummary.go.snap | 1 - .../api_op_ListAdapterVersions.go.snap | 1 - .../snapshot/api_op_ListAdapters.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_StartDocumentAnalysis.go.snap | 1 - .../api_op_StartDocumentTextDetection.go.snap | 1 - .../api_op_StartExpenseAnalysis.go.snap | 1 - .../api_op_StartLendingAnalysis.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateAdapter.go.snap | 1 - service/timestreaminfluxdb/api_client.go | 31 -- .../api_op_CreateDbCluster.go | 3 - .../api_op_CreateDbInstance.go | 3 - .../api_op_CreateDbParameterGroup.go | 3 - .../api_op_DeleteDbCluster.go | 3 - .../api_op_DeleteDbInstance.go | 3 - .../timestreaminfluxdb/api_op_GetDbCluster.go | 3 - .../api_op_GetDbInstance.go | 3 - .../api_op_GetDbParameterGroup.go | 3 - .../api_op_ListDbClusters.go | 3 - .../api_op_ListDbInstances.go | 3 - .../api_op_ListDbInstancesForCluster.go | 3 - .../api_op_ListDbParameterGroups.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../timestreaminfluxdb/api_op_TagResource.go | 3 - .../api_op_UntagResource.go | 3 - .../api_op_UpdateDbCluster.go | 3 - .../api_op_UpdateDbInstance.go | 3 - .../snapshot/api_op_CreateDbCluster.go.snap | 1 - .../snapshot/api_op_CreateDbInstance.go.snap | 1 - .../api_op_CreateDbParameterGroup.go.snap | 1 - .../snapshot/api_op_DeleteDbCluster.go.snap | 1 - .../snapshot/api_op_DeleteDbInstance.go.snap | 1 - .../snapshot/api_op_GetDbCluster.go.snap | 1 - .../snapshot/api_op_GetDbInstance.go.snap | 1 - .../api_op_GetDbParameterGroup.go.snap | 1 - .../snapshot/api_op_ListDbClusters.go.snap | 1 - .../snapshot/api_op_ListDbInstances.go.snap | 1 - .../api_op_ListDbInstancesForCluster.go.snap | 1 - .../api_op_ListDbParameterGroups.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateDbCluster.go.snap | 1 - .../snapshot/api_op_UpdateDbInstance.go.snap | 1 - service/timestreamquery/api_client.go | 31 -- service/timestreamquery/api_op_CancelQuery.go | 3 - .../api_op_CreateScheduledQuery.go | 3 - .../api_op_DeleteScheduledQuery.go | 3 - .../api_op_DescribeAccountSettings.go | 3 - .../api_op_DescribeEndpoints.go | 3 - .../api_op_DescribeScheduledQuery.go | 3 - .../api_op_ExecuteScheduledQuery.go | 3 - .../api_op_ListScheduledQueries.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../timestreamquery/api_op_PrepareQuery.go | 3 - service/timestreamquery/api_op_Query.go | 3 - service/timestreamquery/api_op_TagResource.go | 3 - .../timestreamquery/api_op_UntagResource.go | 3 - .../api_op_UpdateAccountSettings.go | 3 - .../api_op_UpdateScheduledQuery.go | 3 - .../snapshot/api_op_CancelQuery.go.snap | 1 - .../api_op_CreateScheduledQuery.go.snap | 1 - .../api_op_DeleteScheduledQuery.go.snap | 1 - .../api_op_DescribeAccountSettings.go.snap | 1 - .../snapshot/api_op_DescribeEndpoints.go.snap | 1 - .../api_op_DescribeScheduledQuery.go.snap | 1 - .../api_op_ExecuteScheduledQuery.go.snap | 1 - .../api_op_ListScheduledQueries.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_PrepareQuery.go.snap | 1 - .../snapshot/api_op_Query.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateAccountSettings.go.snap | 1 - .../api_op_UpdateScheduledQuery.go.snap | 1 - service/timestreamwrite/api_client.go | 31 -- .../api_op_CreateBatchLoadTask.go | 3 - .../timestreamwrite/api_op_CreateDatabase.go | 3 - service/timestreamwrite/api_op_CreateTable.go | 3 - .../timestreamwrite/api_op_DeleteDatabase.go | 3 - service/timestreamwrite/api_op_DeleteTable.go | 3 - .../api_op_DescribeBatchLoadTask.go | 3 - .../api_op_DescribeDatabase.go | 3 - .../api_op_DescribeEndpoints.go | 3 - .../timestreamwrite/api_op_DescribeTable.go | 3 - .../api_op_ListBatchLoadTasks.go | 3 - .../timestreamwrite/api_op_ListDatabases.go | 3 - service/timestreamwrite/api_op_ListTables.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_ResumeBatchLoadTask.go | 3 - service/timestreamwrite/api_op_TagResource.go | 3 - .../timestreamwrite/api_op_UntagResource.go | 3 - .../timestreamwrite/api_op_UpdateDatabase.go | 3 - service/timestreamwrite/api_op_UpdateTable.go | 3 - .../timestreamwrite/api_op_WriteRecords.go | 3 - .../api_op_CreateBatchLoadTask.go.snap | 1 - .../snapshot/api_op_CreateDatabase.go.snap | 1 - .../snapshot/api_op_CreateTable.go.snap | 1 - .../snapshot/api_op_DeleteDatabase.go.snap | 1 - .../snapshot/api_op_DeleteTable.go.snap | 1 - .../api_op_DescribeBatchLoadTask.go.snap | 1 - .../snapshot/api_op_DescribeDatabase.go.snap | 1 - .../snapshot/api_op_DescribeEndpoints.go.snap | 1 - .../snapshot/api_op_DescribeTable.go.snap | 1 - .../api_op_ListBatchLoadTasks.go.snap | 1 - .../snapshot/api_op_ListDatabases.go.snap | 1 - .../snapshot/api_op_ListTables.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ResumeBatchLoadTask.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateDatabase.go.snap | 1 - .../snapshot/api_op_UpdateTable.go.snap | 1 - .../snapshot/api_op_WriteRecords.go.snap | 1 - service/tnb/api_client.go | 31 -- .../tnb/api_op_CancelSolNetworkOperation.go | 3 - .../tnb/api_op_CreateSolFunctionPackage.go | 3 - .../tnb/api_op_CreateSolNetworkInstance.go | 3 - service/tnb/api_op_CreateSolNetworkPackage.go | 3 - .../tnb/api_op_DeleteSolFunctionPackage.go | 3 - .../tnb/api_op_DeleteSolNetworkInstance.go | 3 - service/tnb/api_op_DeleteSolNetworkPackage.go | 3 - service/tnb/api_op_GetSolFunctionInstance.go | 3 - service/tnb/api_op_GetSolFunctionPackage.go | 3 - .../api_op_GetSolFunctionPackageContent.go | 3 - .../api_op_GetSolFunctionPackageDescriptor.go | 3 - service/tnb/api_op_GetSolNetworkInstance.go | 3 - service/tnb/api_op_GetSolNetworkOperation.go | 3 - service/tnb/api_op_GetSolNetworkPackage.go | 3 - .../tnb/api_op_GetSolNetworkPackageContent.go | 3 - .../api_op_GetSolNetworkPackageDescriptor.go | 3 - .../api_op_InstantiateSolNetworkInstance.go | 3 - .../tnb/api_op_ListSolFunctionInstances.go | 3 - service/tnb/api_op_ListSolFunctionPackages.go | 3 - service/tnb/api_op_ListSolNetworkInstances.go | 3 - .../tnb/api_op_ListSolNetworkOperations.go | 3 - service/tnb/api_op_ListSolNetworkPackages.go | 3 - service/tnb/api_op_ListTagsForResource.go | 3 - .../api_op_PutSolFunctionPackageContent.go | 3 - .../tnb/api_op_PutSolNetworkPackageContent.go | 3 - service/tnb/api_op_TagResource.go | 3 - .../tnb/api_op_TerminateSolNetworkInstance.go | 3 - service/tnb/api_op_UntagResource.go | 3 - .../tnb/api_op_UpdateSolFunctionPackage.go | 3 - .../tnb/api_op_UpdateSolNetworkInstance.go | 3 - service/tnb/api_op_UpdateSolNetworkPackage.go | 3 - ...pi_op_ValidateSolFunctionPackageContent.go | 3 - ...api_op_ValidateSolNetworkPackageContent.go | 3 - .../api_op_CancelSolNetworkOperation.go.snap | 1 - .../api_op_CreateSolFunctionPackage.go.snap | 1 - .../api_op_CreateSolNetworkInstance.go.snap | 1 - .../api_op_CreateSolNetworkPackage.go.snap | 1 - .../api_op_DeleteSolFunctionPackage.go.snap | 1 - .../api_op_DeleteSolNetworkInstance.go.snap | 1 - .../api_op_DeleteSolNetworkPackage.go.snap | 1 - .../api_op_GetSolFunctionInstance.go.snap | 1 - .../api_op_GetSolFunctionPackage.go.snap | 1 - ...pi_op_GetSolFunctionPackageContent.go.snap | 1 - ...op_GetSolFunctionPackageDescriptor.go.snap | 1 - .../api_op_GetSolNetworkInstance.go.snap | 1 - .../api_op_GetSolNetworkOperation.go.snap | 1 - .../api_op_GetSolNetworkPackage.go.snap | 1 - ...api_op_GetSolNetworkPackageContent.go.snap | 1 - ..._op_GetSolNetworkPackageDescriptor.go.snap | 1 - ...i_op_InstantiateSolNetworkInstance.go.snap | 1 - .../api_op_ListSolFunctionInstances.go.snap | 1 - .../api_op_ListSolFunctionPackages.go.snap | 1 - .../api_op_ListSolNetworkInstances.go.snap | 1 - .../api_op_ListSolNetworkOperations.go.snap | 1 - .../api_op_ListSolNetworkPackages.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - ...pi_op_PutSolFunctionPackageContent.go.snap | 1 - ...api_op_PutSolNetworkPackageContent.go.snap | 1 - .../tnb/snapshot/api_op_TagResource.go.snap | 1 - ...api_op_TerminateSolNetworkInstance.go.snap | 1 - .../tnb/snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateSolFunctionPackage.go.snap | 1 - .../api_op_UpdateSolNetworkInstance.go.snap | 1 - .../api_op_UpdateSolNetworkPackage.go.snap | 1 - ..._ValidateSolFunctionPackageContent.go.snap | 1 - ...p_ValidateSolNetworkPackageContent.go.snap | 1 - service/transcribe/api_client.go | 31 -- .../api_op_CreateCallAnalyticsCategory.go | 3 - .../transcribe/api_op_CreateLanguageModel.go | 3 - .../api_op_CreateMedicalVocabulary.go | 3 - service/transcribe/api_op_CreateVocabulary.go | 3 - .../api_op_CreateVocabularyFilter.go | 3 - .../api_op_DeleteCallAnalyticsCategory.go | 3 - .../api_op_DeleteCallAnalyticsJob.go | 3 - .../transcribe/api_op_DeleteLanguageModel.go | 3 - .../api_op_DeleteMedicalScribeJob.go | 3 - .../api_op_DeleteMedicalTranscriptionJob.go | 3 - .../api_op_DeleteMedicalVocabulary.go | 3 - .../api_op_DeleteTranscriptionJob.go | 3 - service/transcribe/api_op_DeleteVocabulary.go | 3 - .../api_op_DeleteVocabularyFilter.go | 3 - .../api_op_DescribeLanguageModel.go | 3 - .../api_op_GetCallAnalyticsCategory.go | 3 - .../transcribe/api_op_GetCallAnalyticsJob.go | 3 - .../transcribe/api_op_GetMedicalScribeJob.go | 3 - .../api_op_GetMedicalTranscriptionJob.go | 3 - .../transcribe/api_op_GetMedicalVocabulary.go | 3 - .../transcribe/api_op_GetTranscriptionJob.go | 3 - service/transcribe/api_op_GetVocabulary.go | 3 - .../transcribe/api_op_GetVocabularyFilter.go | 3 - .../api_op_ListCallAnalyticsCategories.go | 3 - .../api_op_ListCallAnalyticsJobs.go | 3 - .../transcribe/api_op_ListLanguageModels.go | 3 - .../api_op_ListMedicalScribeJobs.go | 3 - .../api_op_ListMedicalTranscriptionJobs.go | 3 - .../api_op_ListMedicalVocabularies.go | 3 - .../transcribe/api_op_ListTagsForResource.go | 3 - .../api_op_ListTranscriptionJobs.go | 3 - service/transcribe/api_op_ListVocabularies.go | 3 - .../api_op_ListVocabularyFilters.go | 3 - .../api_op_StartCallAnalyticsJob.go | 3 - .../api_op_StartMedicalScribeJob.go | 3 - .../api_op_StartMedicalTranscriptionJob.go | 3 - .../api_op_StartTranscriptionJob.go | 3 - service/transcribe/api_op_TagResource.go | 3 - service/transcribe/api_op_UntagResource.go | 3 - .../api_op_UpdateCallAnalyticsCategory.go | 3 - .../api_op_UpdateMedicalVocabulary.go | 3 - service/transcribe/api_op_UpdateVocabulary.go | 3 - .../api_op_UpdateVocabularyFilter.go | 3 - ...api_op_CreateCallAnalyticsCategory.go.snap | 1 - .../api_op_CreateLanguageModel.go.snap | 1 - .../api_op_CreateMedicalVocabulary.go.snap | 1 - .../snapshot/api_op_CreateVocabulary.go.snap | 1 - .../api_op_CreateVocabularyFilter.go.snap | 1 - ...api_op_DeleteCallAnalyticsCategory.go.snap | 1 - .../api_op_DeleteCallAnalyticsJob.go.snap | 1 - .../api_op_DeleteLanguageModel.go.snap | 1 - .../api_op_DeleteMedicalScribeJob.go.snap | 1 - ...i_op_DeleteMedicalTranscriptionJob.go.snap | 1 - .../api_op_DeleteMedicalVocabulary.go.snap | 1 - .../api_op_DeleteTranscriptionJob.go.snap | 1 - .../snapshot/api_op_DeleteVocabulary.go.snap | 1 - .../api_op_DeleteVocabularyFilter.go.snap | 1 - .../api_op_DescribeLanguageModel.go.snap | 1 - .../api_op_GetCallAnalyticsCategory.go.snap | 1 - .../api_op_GetCallAnalyticsJob.go.snap | 1 - .../api_op_GetMedicalScribeJob.go.snap | 1 - .../api_op_GetMedicalTranscriptionJob.go.snap | 1 - .../api_op_GetMedicalVocabulary.go.snap | 1 - .../api_op_GetTranscriptionJob.go.snap | 1 - .../snapshot/api_op_GetVocabulary.go.snap | 1 - .../api_op_GetVocabularyFilter.go.snap | 1 - ...api_op_ListCallAnalyticsCategories.go.snap | 1 - .../api_op_ListCallAnalyticsJobs.go.snap | 1 - .../api_op_ListLanguageModels.go.snap | 1 - .../api_op_ListMedicalScribeJobs.go.snap | 1 - ...pi_op_ListMedicalTranscriptionJobs.go.snap | 1 - .../api_op_ListMedicalVocabularies.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListTranscriptionJobs.go.snap | 1 - .../snapshot/api_op_ListVocabularies.go.snap | 1 - .../api_op_ListVocabularyFilters.go.snap | 1 - .../api_op_StartCallAnalyticsJob.go.snap | 1 - .../api_op_StartMedicalScribeJob.go.snap | 1 - ...pi_op_StartMedicalTranscriptionJob.go.snap | 1 - .../api_op_StartTranscriptionJob.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - ...api_op_UpdateCallAnalyticsCategory.go.snap | 1 - .../api_op_UpdateMedicalVocabulary.go.snap | 1 - .../snapshot/api_op_UpdateVocabulary.go.snap | 1 - .../api_op_UpdateVocabularyFilter.go.snap | 1 - service/transcribestreaming/api_client.go | 31 -- .../api_op_GetMedicalScribeStream.go | 3 - ...p_StartCallAnalyticsStreamTranscription.go | 3 - .../api_op_StartMedicalScribeStream.go | 3 - .../api_op_StartMedicalStreamTranscription.go | 3 - .../api_op_StartStreamTranscription.go | 3 - .../api_op_GetMedicalScribeStream.go.snap | 1 - ...rtCallAnalyticsStreamTranscription.go.snap | 1 - .../api_op_StartMedicalScribeStream.go.snap | 1 - ...op_StartMedicalStreamTranscription.go.snap | 1 - .../api_op_StartStreamTranscription.go.snap | 1 - service/transfer/api_client.go | 31 -- service/transfer/api_op_CreateAccess.go | 3 - service/transfer/api_op_CreateAgreement.go | 3 - service/transfer/api_op_CreateConnector.go | 3 - service/transfer/api_op_CreateProfile.go | 3 - service/transfer/api_op_CreateServer.go | 3 - service/transfer/api_op_CreateUser.go | 3 - service/transfer/api_op_CreateWebApp.go | 3 - service/transfer/api_op_CreateWorkflow.go | 3 - service/transfer/api_op_DeleteAccess.go | 3 - service/transfer/api_op_DeleteAgreement.go | 3 - service/transfer/api_op_DeleteCertificate.go | 3 - service/transfer/api_op_DeleteConnector.go | 3 - service/transfer/api_op_DeleteHostKey.go | 3 - service/transfer/api_op_DeleteProfile.go | 3 - service/transfer/api_op_DeleteServer.go | 3 - service/transfer/api_op_DeleteSshPublicKey.go | 3 - service/transfer/api_op_DeleteUser.go | 3 - service/transfer/api_op_DeleteWebApp.go | 3 - .../api_op_DeleteWebAppCustomization.go | 3 - service/transfer/api_op_DeleteWorkflow.go | 3 - service/transfer/api_op_DescribeAccess.go | 3 - service/transfer/api_op_DescribeAgreement.go | 3 - .../transfer/api_op_DescribeCertificate.go | 3 - service/transfer/api_op_DescribeConnector.go | 3 - service/transfer/api_op_DescribeExecution.go | 3 - service/transfer/api_op_DescribeHostKey.go | 3 - service/transfer/api_op_DescribeProfile.go | 3 - .../transfer/api_op_DescribeSecurityPolicy.go | 3 - service/transfer/api_op_DescribeServer.go | 3 - service/transfer/api_op_DescribeUser.go | 3 - service/transfer/api_op_DescribeWebApp.go | 3 - .../api_op_DescribeWebAppCustomization.go | 3 - service/transfer/api_op_DescribeWorkflow.go | 3 - service/transfer/api_op_ImportCertificate.go | 3 - service/transfer/api_op_ImportHostKey.go | 3 - service/transfer/api_op_ImportSshPublicKey.go | 3 - service/transfer/api_op_ListAccesses.go | 3 - service/transfer/api_op_ListAgreements.go | 3 - service/transfer/api_op_ListCertificates.go | 3 - service/transfer/api_op_ListConnectors.go | 3 - service/transfer/api_op_ListExecutions.go | 3 - .../api_op_ListFileTransferResults.go | 3 - service/transfer/api_op_ListHostKeys.go | 3 - service/transfer/api_op_ListProfiles.go | 3 - .../transfer/api_op_ListSecurityPolicies.go | 3 - service/transfer/api_op_ListServers.go | 3 - .../transfer/api_op_ListTagsForResource.go | 3 - service/transfer/api_op_ListUsers.go | 3 - service/transfer/api_op_ListWebApps.go | 3 - service/transfer/api_op_ListWorkflows.go | 3 - .../transfer/api_op_SendWorkflowStepState.go | 3 - .../transfer/api_op_StartDirectoryListing.go | 3 - service/transfer/api_op_StartFileTransfer.go | 3 - service/transfer/api_op_StartServer.go | 3 - service/transfer/api_op_StopServer.go | 3 - service/transfer/api_op_TagResource.go | 3 - service/transfer/api_op_TestConnection.go | 3 - .../transfer/api_op_TestIdentityProvider.go | 3 - service/transfer/api_op_UntagResource.go | 3 - service/transfer/api_op_UpdateAccess.go | 3 - service/transfer/api_op_UpdateAgreement.go | 3 - service/transfer/api_op_UpdateCertificate.go | 3 - service/transfer/api_op_UpdateConnector.go | 3 - service/transfer/api_op_UpdateHostKey.go | 3 - service/transfer/api_op_UpdateProfile.go | 3 - service/transfer/api_op_UpdateServer.go | 3 - service/transfer/api_op_UpdateUser.go | 3 - service/transfer/api_op_UpdateWebApp.go | 3 - .../api_op_UpdateWebAppCustomization.go | 3 - .../snapshot/api_op_CreateAccess.go.snap | 1 - .../snapshot/api_op_CreateAgreement.go.snap | 1 - .../snapshot/api_op_CreateConnector.go.snap | 1 - .../snapshot/api_op_CreateProfile.go.snap | 1 - .../snapshot/api_op_CreateServer.go.snap | 1 - .../snapshot/api_op_CreateUser.go.snap | 1 - .../snapshot/api_op_CreateWebApp.go.snap | 1 - .../snapshot/api_op_CreateWorkflow.go.snap | 1 - .../snapshot/api_op_DeleteAccess.go.snap | 1 - .../snapshot/api_op_DeleteAgreement.go.snap | 1 - .../snapshot/api_op_DeleteCertificate.go.snap | 1 - .../snapshot/api_op_DeleteConnector.go.snap | 1 - .../snapshot/api_op_DeleteHostKey.go.snap | 1 - .../snapshot/api_op_DeleteProfile.go.snap | 1 - .../snapshot/api_op_DeleteServer.go.snap | 1 - .../api_op_DeleteSshPublicKey.go.snap | 1 - .../snapshot/api_op_DeleteUser.go.snap | 1 - .../snapshot/api_op_DeleteWebApp.go.snap | 1 - .../api_op_DeleteWebAppCustomization.go.snap | 1 - .../snapshot/api_op_DeleteWorkflow.go.snap | 1 - .../snapshot/api_op_DescribeAccess.go.snap | 1 - .../snapshot/api_op_DescribeAgreement.go.snap | 1 - .../api_op_DescribeCertificate.go.snap | 1 - .../snapshot/api_op_DescribeConnector.go.snap | 1 - .../snapshot/api_op_DescribeExecution.go.snap | 1 - .../snapshot/api_op_DescribeHostKey.go.snap | 1 - .../snapshot/api_op_DescribeProfile.go.snap | 1 - .../api_op_DescribeSecurityPolicy.go.snap | 1 - .../snapshot/api_op_DescribeServer.go.snap | 1 - .../snapshot/api_op_DescribeUser.go.snap | 1 - .../snapshot/api_op_DescribeWebApp.go.snap | 1 - ...api_op_DescribeWebAppCustomization.go.snap | 1 - .../snapshot/api_op_DescribeWorkflow.go.snap | 1 - .../snapshot/api_op_ImportCertificate.go.snap | 1 - .../snapshot/api_op_ImportHostKey.go.snap | 1 - .../api_op_ImportSshPublicKey.go.snap | 1 - .../snapshot/api_op_ListAccesses.go.snap | 1 - .../snapshot/api_op_ListAgreements.go.snap | 1 - .../snapshot/api_op_ListCertificates.go.snap | 1 - .../snapshot/api_op_ListConnectors.go.snap | 1 - .../snapshot/api_op_ListExecutions.go.snap | 1 - .../api_op_ListFileTransferResults.go.snap | 1 - .../snapshot/api_op_ListHostKeys.go.snap | 1 - .../snapshot/api_op_ListProfiles.go.snap | 1 - .../api_op_ListSecurityPolicies.go.snap | 1 - .../snapshot/api_op_ListServers.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListUsers.go.snap | 1 - .../snapshot/api_op_ListWebApps.go.snap | 1 - .../snapshot/api_op_ListWorkflows.go.snap | 1 - .../api_op_SendWorkflowStepState.go.snap | 1 - .../api_op_StartDirectoryListing.go.snap | 1 - .../snapshot/api_op_StartFileTransfer.go.snap | 1 - .../snapshot/api_op_StartServer.go.snap | 1 - .../snapshot/api_op_StopServer.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_TestConnection.go.snap | 1 - .../api_op_TestIdentityProvider.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateAccess.go.snap | 1 - .../snapshot/api_op_UpdateAgreement.go.snap | 1 - .../snapshot/api_op_UpdateCertificate.go.snap | 1 - .../snapshot/api_op_UpdateConnector.go.snap | 1 - .../snapshot/api_op_UpdateHostKey.go.snap | 1 - .../snapshot/api_op_UpdateProfile.go.snap | 1 - .../snapshot/api_op_UpdateServer.go.snap | 1 - .../snapshot/api_op_UpdateUser.go.snap | 1 - .../snapshot/api_op_UpdateWebApp.go.snap | 1 - .../api_op_UpdateWebAppCustomization.go.snap | 1 - service/translate/api_client.go | 31 -- .../translate/api_op_CreateParallelData.go | 3 - .../translate/api_op_DeleteParallelData.go | 3 - service/translate/api_op_DeleteTerminology.go | 3 - .../api_op_DescribeTextTranslationJob.go | 3 - service/translate/api_op_GetParallelData.go | 3 - service/translate/api_op_GetTerminology.go | 3 - service/translate/api_op_ImportTerminology.go | 3 - service/translate/api_op_ListLanguages.go | 3 - service/translate/api_op_ListParallelData.go | 3 - .../translate/api_op_ListTagsForResource.go | 3 - service/translate/api_op_ListTerminologies.go | 3 - .../api_op_ListTextTranslationJobs.go | 3 - .../api_op_StartTextTranslationJob.go | 3 - .../api_op_StopTextTranslationJob.go | 3 - service/translate/api_op_TagResource.go | 3 - service/translate/api_op_TranslateDocument.go | 3 - service/translate/api_op_TranslateText.go | 3 - service/translate/api_op_UntagResource.go | 3 - .../translate/api_op_UpdateParallelData.go | 3 - .../api_op_CreateParallelData.go.snap | 1 - .../api_op_DeleteParallelData.go.snap | 1 - .../snapshot/api_op_DeleteTerminology.go.snap | 1 - .../api_op_DescribeTextTranslationJob.go.snap | 1 - .../snapshot/api_op_GetParallelData.go.snap | 1 - .../snapshot/api_op_GetTerminology.go.snap | 1 - .../snapshot/api_op_ImportTerminology.go.snap | 1 - .../snapshot/api_op_ListLanguages.go.snap | 1 - .../snapshot/api_op_ListParallelData.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListTerminologies.go.snap | 1 - .../api_op_ListTextTranslationJobs.go.snap | 1 - .../api_op_StartTextTranslationJob.go.snap | 1 - .../api_op_StopTextTranslationJob.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_TranslateDocument.go.snap | 1 - .../snapshot/api_op_TranslateText.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateParallelData.go.snap | 1 - service/trustedadvisor/api_client.go | 31 -- ...chUpdateRecommendationResourceExclusion.go | 3 - .../api_op_GetOrganizationRecommendation.go | 3 - .../api_op_GetRecommendation.go | 3 - service/trustedadvisor/api_op_ListChecks.go | 3 - ..._ListOrganizationRecommendationAccounts.go | 3 - ...ListOrganizationRecommendationResources.go | 3 - .../api_op_ListOrganizationRecommendations.go | 3 - .../api_op_ListRecommendationResources.go | 3 - .../api_op_ListRecommendations.go | 3 - ...dateOrganizationRecommendationLifecycle.go | 3 - .../api_op_UpdateRecommendationLifecycle.go | 3 - ...ateRecommendationResourceExclusion.go.snap | 1 - ...i_op_GetOrganizationRecommendation.go.snap | 1 - .../snapshot/api_op_GetRecommendation.go.snap | 1 - .../snapshot/api_op_ListChecks.go.snap | 1 - ...OrganizationRecommendationAccounts.go.snap | 1 - ...rganizationRecommendationResources.go.snap | 1 - ...op_ListOrganizationRecommendations.go.snap | 1 - ...api_op_ListRecommendationResources.go.snap | 1 - .../api_op_ListRecommendations.go.snap | 1 - ...rganizationRecommendationLifecycle.go.snap | 1 - ...i_op_UpdateRecommendationLifecycle.go.snap | 1 - service/verifiedpermissions/api_client.go | 31 -- .../api_op_BatchGetPolicy.go | 3 - .../api_op_BatchIsAuthorized.go | 3 - .../api_op_BatchIsAuthorizedWithToken.go | 3 - .../api_op_CreateIdentitySource.go | 3 - .../api_op_CreatePolicy.go | 3 - .../api_op_CreatePolicyStore.go | 3 - .../api_op_CreatePolicyTemplate.go | 3 - .../api_op_DeleteIdentitySource.go | 3 - .../api_op_DeletePolicy.go | 3 - .../api_op_DeletePolicyStore.go | 3 - .../api_op_DeletePolicyTemplate.go | 3 - .../api_op_GetIdentitySource.go | 3 - .../verifiedpermissions/api_op_GetPolicy.go | 3 - .../api_op_GetPolicyStore.go | 3 - .../api_op_GetPolicyTemplate.go | 3 - .../verifiedpermissions/api_op_GetSchema.go | 3 - .../api_op_IsAuthorized.go | 3 - .../api_op_IsAuthorizedWithToken.go | 3 - .../api_op_ListIdentitySources.go | 3 - .../api_op_ListPolicies.go | 3 - .../api_op_ListPolicyStores.go | 3 - .../api_op_ListPolicyTemplates.go | 3 - .../verifiedpermissions/api_op_PutSchema.go | 3 - .../api_op_UpdateIdentitySource.go | 3 - .../api_op_UpdatePolicy.go | 3 - .../api_op_UpdatePolicyStore.go | 3 - .../api_op_UpdatePolicyTemplate.go | 3 - .../snapshot/api_op_BatchGetPolicy.go.snap | 1 - .../snapshot/api_op_BatchIsAuthorized.go.snap | 1 - .../api_op_BatchIsAuthorizedWithToken.go.snap | 1 - .../api_op_CreateIdentitySource.go.snap | 1 - .../snapshot/api_op_CreatePolicy.go.snap | 1 - .../snapshot/api_op_CreatePolicyStore.go.snap | 1 - .../api_op_CreatePolicyTemplate.go.snap | 1 - .../api_op_DeleteIdentitySource.go.snap | 1 - .../snapshot/api_op_DeletePolicy.go.snap | 1 - .../snapshot/api_op_DeletePolicyStore.go.snap | 1 - .../api_op_DeletePolicyTemplate.go.snap | 1 - .../snapshot/api_op_GetIdentitySource.go.snap | 1 - .../snapshot/api_op_GetPolicy.go.snap | 1 - .../snapshot/api_op_GetPolicyStore.go.snap | 1 - .../snapshot/api_op_GetPolicyTemplate.go.snap | 1 - .../snapshot/api_op_GetSchema.go.snap | 1 - .../snapshot/api_op_IsAuthorized.go.snap | 1 - .../api_op_IsAuthorizedWithToken.go.snap | 1 - .../api_op_ListIdentitySources.go.snap | 1 - .../snapshot/api_op_ListPolicies.go.snap | 1 - .../snapshot/api_op_ListPolicyStores.go.snap | 1 - .../api_op_ListPolicyTemplates.go.snap | 1 - .../snapshot/api_op_PutSchema.go.snap | 1 - .../api_op_UpdateIdentitySource.go.snap | 1 - .../snapshot/api_op_UpdatePolicy.go.snap | 1 - .../snapshot/api_op_UpdatePolicyStore.go.snap | 1 - .../api_op_UpdatePolicyTemplate.go.snap | 1 - service/voiceid/api_client.go | 31 -- service/voiceid/api_op_AssociateFraudster.go | 3 - service/voiceid/api_op_CreateDomain.go | 3 - service/voiceid/api_op_CreateWatchlist.go | 3 - service/voiceid/api_op_DeleteDomain.go | 3 - service/voiceid/api_op_DeleteFraudster.go | 3 - service/voiceid/api_op_DeleteSpeaker.go | 3 - service/voiceid/api_op_DeleteWatchlist.go | 3 - service/voiceid/api_op_DescribeDomain.go | 3 - service/voiceid/api_op_DescribeFraudster.go | 3 - ...api_op_DescribeFraudsterRegistrationJob.go | 3 - service/voiceid/api_op_DescribeSpeaker.go | 3 - .../api_op_DescribeSpeakerEnrollmentJob.go | 3 - service/voiceid/api_op_DescribeWatchlist.go | 3 - .../voiceid/api_op_DisassociateFraudster.go | 3 - service/voiceid/api_op_EvaluateSession.go | 3 - service/voiceid/api_op_ListDomains.go | 3 - .../api_op_ListFraudsterRegistrationJobs.go | 3 - service/voiceid/api_op_ListFraudsters.go | 3 - .../api_op_ListSpeakerEnrollmentJobs.go | 3 - service/voiceid/api_op_ListSpeakers.go | 3 - service/voiceid/api_op_ListTagsForResource.go | 3 - service/voiceid/api_op_ListWatchlists.go | 3 - service/voiceid/api_op_OptOutSpeaker.go | 3 - .../api_op_StartFraudsterRegistrationJob.go | 3 - .../api_op_StartSpeakerEnrollmentJob.go | 3 - service/voiceid/api_op_TagResource.go | 3 - service/voiceid/api_op_UntagResource.go | 3 - service/voiceid/api_op_UpdateDomain.go | 3 - service/voiceid/api_op_UpdateWatchlist.go | 3 - .../api_op_AssociateFraudster.go.snap | 1 - .../snapshot/api_op_CreateDomain.go.snap | 1 - .../snapshot/api_op_CreateWatchlist.go.snap | 1 - .../snapshot/api_op_DeleteDomain.go.snap | 1 - .../snapshot/api_op_DeleteFraudster.go.snap | 1 - .../snapshot/api_op_DeleteSpeaker.go.snap | 1 - .../snapshot/api_op_DeleteWatchlist.go.snap | 1 - .../snapshot/api_op_DescribeDomain.go.snap | 1 - .../snapshot/api_op_DescribeFraudster.go.snap | 1 - ...p_DescribeFraudsterRegistrationJob.go.snap | 1 - .../snapshot/api_op_DescribeSpeaker.go.snap | 1 - ...pi_op_DescribeSpeakerEnrollmentJob.go.snap | 1 - .../snapshot/api_op_DescribeWatchlist.go.snap | 1 - .../api_op_DisassociateFraudster.go.snap | 1 - .../snapshot/api_op_EvaluateSession.go.snap | 1 - .../snapshot/api_op_ListDomains.go.snap | 1 - ...i_op_ListFraudsterRegistrationJobs.go.snap | 1 - .../snapshot/api_op_ListFraudsters.go.snap | 1 - .../api_op_ListSpeakerEnrollmentJobs.go.snap | 1 - .../snapshot/api_op_ListSpeakers.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListWatchlists.go.snap | 1 - .../snapshot/api_op_OptOutSpeaker.go.snap | 1 - ...i_op_StartFraudsterRegistrationJob.go.snap | 1 - .../api_op_StartSpeakerEnrollmentJob.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateDomain.go.snap | 1 - .../snapshot/api_op_UpdateWatchlist.go.snap | 1 - service/vpclattice/api_client.go | 31 -- service/vpclattice/api_op_BatchUpdateRule.go | 3 - .../api_op_CreateAccessLogSubscription.go | 3 - service/vpclattice/api_op_CreateListener.go | 3 - .../api_op_CreateResourceConfiguration.go | 3 - .../api_op_CreateResourceGateway.go | 3 - service/vpclattice/api_op_CreateRule.go | 3 - service/vpclattice/api_op_CreateService.go | 3 - .../vpclattice/api_op_CreateServiceNetwork.go | 3 - ...CreateServiceNetworkResourceAssociation.go | 3 - ..._CreateServiceNetworkServiceAssociation.go | 3 - ...i_op_CreateServiceNetworkVpcAssociation.go | 3 - .../vpclattice/api_op_CreateTargetGroup.go | 3 - .../api_op_DeleteAccessLogSubscription.go | 3 - service/vpclattice/api_op_DeleteAuthPolicy.go | 3 - service/vpclattice/api_op_DeleteListener.go | 3 - .../api_op_DeleteResourceConfiguration.go | 3 - ...pi_op_DeleteResourceEndpointAssociation.go | 3 - .../api_op_DeleteResourceGateway.go | 3 - .../vpclattice/api_op_DeleteResourcePolicy.go | 3 - service/vpclattice/api_op_DeleteRule.go | 3 - service/vpclattice/api_op_DeleteService.go | 3 - .../vpclattice/api_op_DeleteServiceNetwork.go | 3 - ...DeleteServiceNetworkResourceAssociation.go | 3 - ..._DeleteServiceNetworkServiceAssociation.go | 3 - ...i_op_DeleteServiceNetworkVpcAssociation.go | 3 - .../vpclattice/api_op_DeleteTargetGroup.go | 3 - .../vpclattice/api_op_DeregisterTargets.go | 3 - .../api_op_GetAccessLogSubscription.go | 3 - service/vpclattice/api_op_GetAuthPolicy.go | 3 - service/vpclattice/api_op_GetListener.go | 3 - .../api_op_GetResourceConfiguration.go | 3 - .../vpclattice/api_op_GetResourceGateway.go | 3 - .../vpclattice/api_op_GetResourcePolicy.go | 3 - service/vpclattice/api_op_GetRule.go | 3 - service/vpclattice/api_op_GetService.go | 3 - .../vpclattice/api_op_GetServiceNetwork.go | 3 - ...op_GetServiceNetworkResourceAssociation.go | 3 - ..._op_GetServiceNetworkServiceAssociation.go | 3 - .../api_op_GetServiceNetworkVpcAssociation.go | 3 - service/vpclattice/api_op_GetTargetGroup.go | 3 - .../api_op_ListAccessLogSubscriptions.go | 3 - service/vpclattice/api_op_ListListeners.go | 3 - .../api_op_ListResourceConfigurations.go | 3 - ...api_op_ListResourceEndpointAssociations.go | 3 - .../vpclattice/api_op_ListResourceGateways.go | 3 - service/vpclattice/api_op_ListRules.go | 3 - ..._ListServiceNetworkResourceAssociations.go | 3 - ...p_ListServiceNetworkServiceAssociations.go | 3 - ...pi_op_ListServiceNetworkVpcAssociations.go | 3 - ...stServiceNetworkVpcEndpointAssociations.go | 3 - .../vpclattice/api_op_ListServiceNetworks.go | 3 - service/vpclattice/api_op_ListServices.go | 3 - .../vpclattice/api_op_ListTagsForResource.go | 3 - service/vpclattice/api_op_ListTargetGroups.go | 3 - service/vpclattice/api_op_ListTargets.go | 3 - service/vpclattice/api_op_PutAuthPolicy.go | 3 - .../vpclattice/api_op_PutResourcePolicy.go | 3 - service/vpclattice/api_op_RegisterTargets.go | 3 - service/vpclattice/api_op_TagResource.go | 3 - service/vpclattice/api_op_UntagResource.go | 3 - .../api_op_UpdateAccessLogSubscription.go | 3 - service/vpclattice/api_op_UpdateListener.go | 3 - .../api_op_UpdateResourceConfiguration.go | 3 - .../api_op_UpdateResourceGateway.go | 3 - service/vpclattice/api_op_UpdateRule.go | 3 - service/vpclattice/api_op_UpdateService.go | 3 - .../vpclattice/api_op_UpdateServiceNetwork.go | 3 - ...i_op_UpdateServiceNetworkVpcAssociation.go | 3 - .../vpclattice/api_op_UpdateTargetGroup.go | 3 - .../snapshot/api_op_BatchUpdateRule.go.snap | 1 - ...api_op_CreateAccessLogSubscription.go.snap | 1 - .../snapshot/api_op_CreateListener.go.snap | 1 - ...api_op_CreateResourceConfiguration.go.snap | 1 - .../api_op_CreateResourceGateway.go.snap | 1 - .../snapshot/api_op_CreateRule.go.snap | 1 - .../snapshot/api_op_CreateService.go.snap | 1 - .../api_op_CreateServiceNetwork.go.snap | 1 - ...eServiceNetworkResourceAssociation.go.snap | 1 - ...teServiceNetworkServiceAssociation.go.snap | 1 - ...CreateServiceNetworkVpcAssociation.go.snap | 1 - .../snapshot/api_op_CreateTargetGroup.go.snap | 1 - ...api_op_DeleteAccessLogSubscription.go.snap | 1 - .../snapshot/api_op_DeleteAuthPolicy.go.snap | 1 - .../snapshot/api_op_DeleteListener.go.snap | 1 - ...api_op_DeleteResourceConfiguration.go.snap | 1 - ..._DeleteResourceEndpointAssociation.go.snap | 1 - .../api_op_DeleteResourceGateway.go.snap | 1 - .../api_op_DeleteResourcePolicy.go.snap | 1 - .../snapshot/api_op_DeleteRule.go.snap | 1 - .../snapshot/api_op_DeleteService.go.snap | 1 - .../api_op_DeleteServiceNetwork.go.snap | 1 - ...eServiceNetworkResourceAssociation.go.snap | 1 - ...teServiceNetworkServiceAssociation.go.snap | 1 - ...DeleteServiceNetworkVpcAssociation.go.snap | 1 - .../snapshot/api_op_DeleteTargetGroup.go.snap | 1 - .../snapshot/api_op_DeregisterTargets.go.snap | 1 - .../api_op_GetAccessLogSubscription.go.snap | 1 - .../snapshot/api_op_GetAuthPolicy.go.snap | 1 - .../snapshot/api_op_GetListener.go.snap | 1 - .../api_op_GetResourceConfiguration.go.snap | 1 - .../api_op_GetResourceGateway.go.snap | 1 - .../snapshot/api_op_GetResourcePolicy.go.snap | 1 - .../snapshot/api_op_GetRule.go.snap | 1 - .../snapshot/api_op_GetService.go.snap | 1 - .../snapshot/api_op_GetServiceNetwork.go.snap | 1 - ...tServiceNetworkResourceAssociation.go.snap | 1 - ...etServiceNetworkServiceAssociation.go.snap | 1 - ...op_GetServiceNetworkVpcAssociation.go.snap | 1 - .../snapshot/api_op_GetTargetGroup.go.snap | 1 - .../api_op_ListAccessLogSubscriptions.go.snap | 1 - .../snapshot/api_op_ListListeners.go.snap | 1 - .../api_op_ListResourceConfigurations.go.snap | 1 - ...p_ListResourceEndpointAssociations.go.snap | 1 - .../api_op_ListResourceGateways.go.snap | 1 - .../snapshot/api_op_ListRules.go.snap | 1 - ...ServiceNetworkResourceAssociations.go.snap | 1 - ...tServiceNetworkServiceAssociations.go.snap | 1 - ..._ListServiceNetworkVpcAssociations.go.snap | 1 - ...viceNetworkVpcEndpointAssociations.go.snap | 1 - .../api_op_ListServiceNetworks.go.snap | 1 - .../snapshot/api_op_ListServices.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListTargetGroups.go.snap | 1 - .../snapshot/api_op_ListTargets.go.snap | 1 - .../snapshot/api_op_PutAuthPolicy.go.snap | 1 - .../snapshot/api_op_PutResourcePolicy.go.snap | 1 - .../snapshot/api_op_RegisterTargets.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - ...api_op_UpdateAccessLogSubscription.go.snap | 1 - .../snapshot/api_op_UpdateListener.go.snap | 1 - ...api_op_UpdateResourceConfiguration.go.snap | 1 - .../api_op_UpdateResourceGateway.go.snap | 1 - .../snapshot/api_op_UpdateRule.go.snap | 1 - .../snapshot/api_op_UpdateService.go.snap | 1 - .../api_op_UpdateServiceNetwork.go.snap | 1 - ...UpdateServiceNetworkVpcAssociation.go.snap | 1 - .../snapshot/api_op_UpdateTargetGroup.go.snap | 1 - service/waf/api_client.go | 31 -- service/waf/api_op_CreateByteMatchSet.go | 3 - service/waf/api_op_CreateGeoMatchSet.go | 3 - service/waf/api_op_CreateIPSet.go | 3 - service/waf/api_op_CreateRateBasedRule.go | 3 - service/waf/api_op_CreateRegexMatchSet.go | 3 - service/waf/api_op_CreateRegexPatternSet.go | 3 - service/waf/api_op_CreateRule.go | 3 - service/waf/api_op_CreateRuleGroup.go | 3 - service/waf/api_op_CreateSizeConstraintSet.go | 3 - .../waf/api_op_CreateSqlInjectionMatchSet.go | 3 - service/waf/api_op_CreateWebACL.go | 3 - .../waf/api_op_CreateWebACLMigrationStack.go | 3 - service/waf/api_op_CreateXssMatchSet.go | 3 - service/waf/api_op_DeleteByteMatchSet.go | 3 - service/waf/api_op_DeleteGeoMatchSet.go | 3 - service/waf/api_op_DeleteIPSet.go | 3 - .../waf/api_op_DeleteLoggingConfiguration.go | 3 - service/waf/api_op_DeletePermissionPolicy.go | 3 - service/waf/api_op_DeleteRateBasedRule.go | 3 - service/waf/api_op_DeleteRegexMatchSet.go | 3 - service/waf/api_op_DeleteRegexPatternSet.go | 3 - service/waf/api_op_DeleteRule.go | 3 - service/waf/api_op_DeleteRuleGroup.go | 3 - service/waf/api_op_DeleteSizeConstraintSet.go | 3 - .../waf/api_op_DeleteSqlInjectionMatchSet.go | 3 - service/waf/api_op_DeleteWebACL.go | 3 - service/waf/api_op_DeleteXssMatchSet.go | 3 - service/waf/api_op_GetByteMatchSet.go | 3 - service/waf/api_op_GetChangeToken.go | 3 - service/waf/api_op_GetChangeTokenStatus.go | 3 - service/waf/api_op_GetGeoMatchSet.go | 3 - service/waf/api_op_GetIPSet.go | 3 - service/waf/api_op_GetLoggingConfiguration.go | 3 - service/waf/api_op_GetPermissionPolicy.go | 3 - service/waf/api_op_GetRateBasedRule.go | 3 - .../waf/api_op_GetRateBasedRuleManagedKeys.go | 3 - service/waf/api_op_GetRegexMatchSet.go | 3 - service/waf/api_op_GetRegexPatternSet.go | 3 - service/waf/api_op_GetRule.go | 3 - service/waf/api_op_GetRuleGroup.go | 3 - service/waf/api_op_GetSampledRequests.go | 3 - service/waf/api_op_GetSizeConstraintSet.go | 3 - service/waf/api_op_GetSqlInjectionMatchSet.go | 3 - service/waf/api_op_GetWebACL.go | 3 - service/waf/api_op_GetXssMatchSet.go | 3 - .../api_op_ListActivatedRulesInRuleGroup.go | 3 - service/waf/api_op_ListByteMatchSets.go | 3 - service/waf/api_op_ListGeoMatchSets.go | 3 - service/waf/api_op_ListIPSets.go | 3 - .../waf/api_op_ListLoggingConfigurations.go | 3 - service/waf/api_op_ListRateBasedRules.go | 3 - service/waf/api_op_ListRegexMatchSets.go | 3 - service/waf/api_op_ListRegexPatternSets.go | 3 - service/waf/api_op_ListRuleGroups.go | 3 - service/waf/api_op_ListRules.go | 3 - service/waf/api_op_ListSizeConstraintSets.go | 3 - .../waf/api_op_ListSqlInjectionMatchSets.go | 3 - .../waf/api_op_ListSubscribedRuleGroups.go | 3 - service/waf/api_op_ListTagsForResource.go | 3 - service/waf/api_op_ListWebACLs.go | 3 - service/waf/api_op_ListXssMatchSets.go | 3 - service/waf/api_op_PutLoggingConfiguration.go | 3 - service/waf/api_op_PutPermissionPolicy.go | 3 - service/waf/api_op_TagResource.go | 3 - service/waf/api_op_UntagResource.go | 3 - service/waf/api_op_UpdateByteMatchSet.go | 3 - service/waf/api_op_UpdateGeoMatchSet.go | 3 - service/waf/api_op_UpdateIPSet.go | 3 - service/waf/api_op_UpdateRateBasedRule.go | 3 - service/waf/api_op_UpdateRegexMatchSet.go | 3 - service/waf/api_op_UpdateRegexPatternSet.go | 3 - service/waf/api_op_UpdateRule.go | 3 - service/waf/api_op_UpdateRuleGroup.go | 3 - service/waf/api_op_UpdateSizeConstraintSet.go | 3 - .../waf/api_op_UpdateSqlInjectionMatchSet.go | 3 - service/waf/api_op_UpdateWebACL.go | 3 - service/waf/api_op_UpdateXssMatchSet.go | 3 - .../api_op_CreateByteMatchSet.go.snap | 1 - .../snapshot/api_op_CreateGeoMatchSet.go.snap | 1 - .../waf/snapshot/api_op_CreateIPSet.go.snap | 1 - .../api_op_CreateRateBasedRule.go.snap | 1 - .../api_op_CreateRegexMatchSet.go.snap | 1 - .../api_op_CreateRegexPatternSet.go.snap | 1 - .../waf/snapshot/api_op_CreateRule.go.snap | 1 - .../snapshot/api_op_CreateRuleGroup.go.snap | 1 - .../api_op_CreateSizeConstraintSet.go.snap | 1 - .../api_op_CreateSqlInjectionMatchSet.go.snap | 1 - .../waf/snapshot/api_op_CreateWebACL.go.snap | 1 - .../api_op_CreateWebACLMigrationStack.go.snap | 1 - .../snapshot/api_op_CreateXssMatchSet.go.snap | 1 - .../api_op_DeleteByteMatchSet.go.snap | 1 - .../snapshot/api_op_DeleteGeoMatchSet.go.snap | 1 - .../waf/snapshot/api_op_DeleteIPSet.go.snap | 1 - .../api_op_DeleteLoggingConfiguration.go.snap | 1 - .../api_op_DeletePermissionPolicy.go.snap | 1 - .../api_op_DeleteRateBasedRule.go.snap | 1 - .../api_op_DeleteRegexMatchSet.go.snap | 1 - .../api_op_DeleteRegexPatternSet.go.snap | 1 - .../waf/snapshot/api_op_DeleteRule.go.snap | 1 - .../snapshot/api_op_DeleteRuleGroup.go.snap | 1 - .../api_op_DeleteSizeConstraintSet.go.snap | 1 - .../api_op_DeleteSqlInjectionMatchSet.go.snap | 1 - .../waf/snapshot/api_op_DeleteWebACL.go.snap | 1 - .../snapshot/api_op_DeleteXssMatchSet.go.snap | 1 - .../snapshot/api_op_GetByteMatchSet.go.snap | 1 - .../snapshot/api_op_GetChangeToken.go.snap | 1 - .../api_op_GetChangeTokenStatus.go.snap | 1 - .../snapshot/api_op_GetGeoMatchSet.go.snap | 1 - service/waf/snapshot/api_op_GetIPSet.go.snap | 1 - .../api_op_GetLoggingConfiguration.go.snap | 1 - .../api_op_GetPermissionPolicy.go.snap | 1 - .../snapshot/api_op_GetRateBasedRule.go.snap | 1 - ...api_op_GetRateBasedRuleManagedKeys.go.snap | 1 - .../snapshot/api_op_GetRegexMatchSet.go.snap | 1 - .../api_op_GetRegexPatternSet.go.snap | 1 - service/waf/snapshot/api_op_GetRule.go.snap | 1 - .../waf/snapshot/api_op_GetRuleGroup.go.snap | 1 - .../api_op_GetSampledRequests.go.snap | 1 - .../api_op_GetSizeConstraintSet.go.snap | 1 - .../api_op_GetSqlInjectionMatchSet.go.snap | 1 - service/waf/snapshot/api_op_GetWebACL.go.snap | 1 - .../snapshot/api_op_GetXssMatchSet.go.snap | 1 - ...i_op_ListActivatedRulesInRuleGroup.go.snap | 1 - .../snapshot/api_op_ListByteMatchSets.go.snap | 1 - .../snapshot/api_op_ListGeoMatchSets.go.snap | 1 - .../waf/snapshot/api_op_ListIPSets.go.snap | 1 - .../api_op_ListLoggingConfigurations.go.snap | 1 - .../api_op_ListRateBasedRules.go.snap | 1 - .../api_op_ListRegexMatchSets.go.snap | 1 - .../api_op_ListRegexPatternSets.go.snap | 1 - .../snapshot/api_op_ListRuleGroups.go.snap | 1 - service/waf/snapshot/api_op_ListRules.go.snap | 1 - .../api_op_ListSizeConstraintSets.go.snap | 1 - .../api_op_ListSqlInjectionMatchSets.go.snap | 1 - .../api_op_ListSubscribedRuleGroups.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../waf/snapshot/api_op_ListWebACLs.go.snap | 1 - .../snapshot/api_op_ListXssMatchSets.go.snap | 1 - .../api_op_PutLoggingConfiguration.go.snap | 1 - .../api_op_PutPermissionPolicy.go.snap | 1 - .../waf/snapshot/api_op_TagResource.go.snap | 1 - .../waf/snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateByteMatchSet.go.snap | 1 - .../snapshot/api_op_UpdateGeoMatchSet.go.snap | 1 - .../waf/snapshot/api_op_UpdateIPSet.go.snap | 1 - .../api_op_UpdateRateBasedRule.go.snap | 1 - .../api_op_UpdateRegexMatchSet.go.snap | 1 - .../api_op_UpdateRegexPatternSet.go.snap | 1 - .../waf/snapshot/api_op_UpdateRule.go.snap | 1 - .../snapshot/api_op_UpdateRuleGroup.go.snap | 1 - .../api_op_UpdateSizeConstraintSet.go.snap | 1 - .../api_op_UpdateSqlInjectionMatchSet.go.snap | 1 - .../waf/snapshot/api_op_UpdateWebACL.go.snap | 1 - .../snapshot/api_op_UpdateXssMatchSet.go.snap | 1 - service/wafregional/api_client.go | 31 -- service/wafregional/api_op_AssociateWebACL.go | 3 - .../wafregional/api_op_CreateByteMatchSet.go | 3 - .../wafregional/api_op_CreateGeoMatchSet.go | 3 - service/wafregional/api_op_CreateIPSet.go | 3 - .../wafregional/api_op_CreateRateBasedRule.go | 3 - .../wafregional/api_op_CreateRegexMatchSet.go | 3 - .../api_op_CreateRegexPatternSet.go | 3 - service/wafregional/api_op_CreateRule.go | 3 - service/wafregional/api_op_CreateRuleGroup.go | 3 - .../api_op_CreateSizeConstraintSet.go | 3 - .../api_op_CreateSqlInjectionMatchSet.go | 3 - service/wafregional/api_op_CreateWebACL.go | 3 - .../api_op_CreateWebACLMigrationStack.go | 3 - .../wafregional/api_op_CreateXssMatchSet.go | 3 - .../wafregional/api_op_DeleteByteMatchSet.go | 3 - .../wafregional/api_op_DeleteGeoMatchSet.go | 3 - service/wafregional/api_op_DeleteIPSet.go | 3 - .../api_op_DeleteLoggingConfiguration.go | 3 - .../api_op_DeletePermissionPolicy.go | 3 - .../wafregional/api_op_DeleteRateBasedRule.go | 3 - .../wafregional/api_op_DeleteRegexMatchSet.go | 3 - .../api_op_DeleteRegexPatternSet.go | 3 - service/wafregional/api_op_DeleteRule.go | 3 - service/wafregional/api_op_DeleteRuleGroup.go | 3 - .../api_op_DeleteSizeConstraintSet.go | 3 - .../api_op_DeleteSqlInjectionMatchSet.go | 3 - service/wafregional/api_op_DeleteWebACL.go | 3 - .../wafregional/api_op_DeleteXssMatchSet.go | 3 - .../wafregional/api_op_DisassociateWebACL.go | 3 - service/wafregional/api_op_GetByteMatchSet.go | 3 - service/wafregional/api_op_GetChangeToken.go | 3 - .../api_op_GetChangeTokenStatus.go | 3 - service/wafregional/api_op_GetGeoMatchSet.go | 3 - service/wafregional/api_op_GetIPSet.go | 3 - .../api_op_GetLoggingConfiguration.go | 3 - .../wafregional/api_op_GetPermissionPolicy.go | 3 - .../wafregional/api_op_GetRateBasedRule.go | 3 - .../api_op_GetRateBasedRuleManagedKeys.go | 3 - .../wafregional/api_op_GetRegexMatchSet.go | 3 - .../wafregional/api_op_GetRegexPatternSet.go | 3 - service/wafregional/api_op_GetRule.go | 3 - service/wafregional/api_op_GetRuleGroup.go | 3 - .../wafregional/api_op_GetSampledRequests.go | 3 - .../api_op_GetSizeConstraintSet.go | 3 - .../api_op_GetSqlInjectionMatchSet.go | 3 - service/wafregional/api_op_GetWebACL.go | 3 - .../api_op_GetWebACLForResource.go | 3 - service/wafregional/api_op_GetXssMatchSet.go | 3 - .../api_op_ListActivatedRulesInRuleGroup.go | 3 - .../wafregional/api_op_ListByteMatchSets.go | 3 - .../wafregional/api_op_ListGeoMatchSets.go | 3 - service/wafregional/api_op_ListIPSets.go | 3 - .../api_op_ListLoggingConfigurations.go | 3 - .../wafregional/api_op_ListRateBasedRules.go | 3 - .../wafregional/api_op_ListRegexMatchSets.go | 3 - .../api_op_ListRegexPatternSets.go | 3 - .../api_op_ListResourcesForWebACL.go | 3 - service/wafregional/api_op_ListRuleGroups.go | 3 - service/wafregional/api_op_ListRules.go | 3 - .../api_op_ListSizeConstraintSets.go | 3 - .../api_op_ListSqlInjectionMatchSets.go | 3 - .../api_op_ListSubscribedRuleGroups.go | 3 - .../wafregional/api_op_ListTagsForResource.go | 3 - service/wafregional/api_op_ListWebACLs.go | 3 - .../wafregional/api_op_ListXssMatchSets.go | 3 - .../api_op_PutLoggingConfiguration.go | 3 - .../wafregional/api_op_PutPermissionPolicy.go | 3 - service/wafregional/api_op_TagResource.go | 3 - service/wafregional/api_op_UntagResource.go | 3 - .../wafregional/api_op_UpdateByteMatchSet.go | 3 - .../wafregional/api_op_UpdateGeoMatchSet.go | 3 - service/wafregional/api_op_UpdateIPSet.go | 3 - .../wafregional/api_op_UpdateRateBasedRule.go | 3 - .../wafregional/api_op_UpdateRegexMatchSet.go | 3 - .../api_op_UpdateRegexPatternSet.go | 3 - service/wafregional/api_op_UpdateRule.go | 3 - service/wafregional/api_op_UpdateRuleGroup.go | 3 - .../api_op_UpdateSizeConstraintSet.go | 3 - .../api_op_UpdateSqlInjectionMatchSet.go | 3 - service/wafregional/api_op_UpdateWebACL.go | 3 - .../wafregional/api_op_UpdateXssMatchSet.go | 3 - .../snapshot/api_op_AssociateWebACL.go.snap | 1 - .../api_op_CreateByteMatchSet.go.snap | 1 - .../snapshot/api_op_CreateGeoMatchSet.go.snap | 1 - .../snapshot/api_op_CreateIPSet.go.snap | 1 - .../api_op_CreateRateBasedRule.go.snap | 1 - .../api_op_CreateRegexMatchSet.go.snap | 1 - .../api_op_CreateRegexPatternSet.go.snap | 1 - .../snapshot/api_op_CreateRule.go.snap | 1 - .../snapshot/api_op_CreateRuleGroup.go.snap | 1 - .../api_op_CreateSizeConstraintSet.go.snap | 1 - .../api_op_CreateSqlInjectionMatchSet.go.snap | 1 - .../snapshot/api_op_CreateWebACL.go.snap | 1 - .../api_op_CreateWebACLMigrationStack.go.snap | 1 - .../snapshot/api_op_CreateXssMatchSet.go.snap | 1 - .../api_op_DeleteByteMatchSet.go.snap | 1 - .../snapshot/api_op_DeleteGeoMatchSet.go.snap | 1 - .../snapshot/api_op_DeleteIPSet.go.snap | 1 - .../api_op_DeleteLoggingConfiguration.go.snap | 1 - .../api_op_DeletePermissionPolicy.go.snap | 1 - .../api_op_DeleteRateBasedRule.go.snap | 1 - .../api_op_DeleteRegexMatchSet.go.snap | 1 - .../api_op_DeleteRegexPatternSet.go.snap | 1 - .../snapshot/api_op_DeleteRule.go.snap | 1 - .../snapshot/api_op_DeleteRuleGroup.go.snap | 1 - .../api_op_DeleteSizeConstraintSet.go.snap | 1 - .../api_op_DeleteSqlInjectionMatchSet.go.snap | 1 - .../snapshot/api_op_DeleteWebACL.go.snap | 1 - .../snapshot/api_op_DeleteXssMatchSet.go.snap | 1 - .../api_op_DisassociateWebACL.go.snap | 1 - .../snapshot/api_op_GetByteMatchSet.go.snap | 1 - .../snapshot/api_op_GetChangeToken.go.snap | 1 - .../api_op_GetChangeTokenStatus.go.snap | 1 - .../snapshot/api_op_GetGeoMatchSet.go.snap | 1 - .../snapshot/api_op_GetIPSet.go.snap | 1 - .../api_op_GetLoggingConfiguration.go.snap | 1 - .../api_op_GetPermissionPolicy.go.snap | 1 - .../snapshot/api_op_GetRateBasedRule.go.snap | 1 - ...api_op_GetRateBasedRuleManagedKeys.go.snap | 1 - .../snapshot/api_op_GetRegexMatchSet.go.snap | 1 - .../api_op_GetRegexPatternSet.go.snap | 1 - .../snapshot/api_op_GetRule.go.snap | 1 - .../snapshot/api_op_GetRuleGroup.go.snap | 1 - .../api_op_GetSampledRequests.go.snap | 1 - .../api_op_GetSizeConstraintSet.go.snap | 1 - .../api_op_GetSqlInjectionMatchSet.go.snap | 1 - .../snapshot/api_op_GetWebACL.go.snap | 1 - .../api_op_GetWebACLForResource.go.snap | 1 - .../snapshot/api_op_GetXssMatchSet.go.snap | 1 - ...i_op_ListActivatedRulesInRuleGroup.go.snap | 1 - .../snapshot/api_op_ListByteMatchSets.go.snap | 1 - .../snapshot/api_op_ListGeoMatchSets.go.snap | 1 - .../snapshot/api_op_ListIPSets.go.snap | 1 - .../api_op_ListLoggingConfigurations.go.snap | 1 - .../api_op_ListRateBasedRules.go.snap | 1 - .../api_op_ListRegexMatchSets.go.snap | 1 - .../api_op_ListRegexPatternSets.go.snap | 1 - .../api_op_ListResourcesForWebACL.go.snap | 1 - .../snapshot/api_op_ListRuleGroups.go.snap | 1 - .../snapshot/api_op_ListRules.go.snap | 1 - .../api_op_ListSizeConstraintSets.go.snap | 1 - .../api_op_ListSqlInjectionMatchSets.go.snap | 1 - .../api_op_ListSubscribedRuleGroups.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListWebACLs.go.snap | 1 - .../snapshot/api_op_ListXssMatchSets.go.snap | 1 - .../api_op_PutLoggingConfiguration.go.snap | 1 - .../api_op_PutPermissionPolicy.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateByteMatchSet.go.snap | 1 - .../snapshot/api_op_UpdateGeoMatchSet.go.snap | 1 - .../snapshot/api_op_UpdateIPSet.go.snap | 1 - .../api_op_UpdateRateBasedRule.go.snap | 1 - .../api_op_UpdateRegexMatchSet.go.snap | 1 - .../api_op_UpdateRegexPatternSet.go.snap | 1 - .../snapshot/api_op_UpdateRule.go.snap | 1 - .../snapshot/api_op_UpdateRuleGroup.go.snap | 1 - .../api_op_UpdateSizeConstraintSet.go.snap | 1 - .../api_op_UpdateSqlInjectionMatchSet.go.snap | 1 - .../snapshot/api_op_UpdateWebACL.go.snap | 1 - .../snapshot/api_op_UpdateXssMatchSet.go.snap | 1 - service/wafv2/api_client.go | 31 -- service/wafv2/api_op_AssociateWebACL.go | 3 - service/wafv2/api_op_CheckCapacity.go | 3 - service/wafv2/api_op_CreateAPIKey.go | 3 - service/wafv2/api_op_CreateIPSet.go | 3 - service/wafv2/api_op_CreateRegexPatternSet.go | 3 - service/wafv2/api_op_CreateRuleGroup.go | 3 - service/wafv2/api_op_CreateWebACL.go | 3 - service/wafv2/api_op_DeleteAPIKey.go | 3 - .../api_op_DeleteFirewallManagerRuleGroups.go | 3 - service/wafv2/api_op_DeleteIPSet.go | 3 - .../api_op_DeleteLoggingConfiguration.go | 3 - .../wafv2/api_op_DeletePermissionPolicy.go | 3 - service/wafv2/api_op_DeleteRegexPatternSet.go | 3 - service/wafv2/api_op_DeleteRuleGroup.go | 3 - service/wafv2/api_op_DeleteWebACL.go | 3 - .../api_op_DescribeAllManagedProducts.go | 3 - .../api_op_DescribeManagedProductsByVendor.go | 3 - .../wafv2/api_op_DescribeManagedRuleGroup.go | 3 - service/wafv2/api_op_DisassociateWebACL.go | 3 - .../api_op_GenerateMobileSdkReleaseUrl.go | 3 - service/wafv2/api_op_GetDecryptedAPIKey.go | 3 - service/wafv2/api_op_GetIPSet.go | 3 - .../wafv2/api_op_GetLoggingConfiguration.go | 3 - service/wafv2/api_op_GetManagedRuleSet.go | 3 - service/wafv2/api_op_GetMobileSdkRelease.go | 3 - service/wafv2/api_op_GetPermissionPolicy.go | 3 - ...api_op_GetRateBasedStatementManagedKeys.go | 3 - service/wafv2/api_op_GetRegexPatternSet.go | 3 - service/wafv2/api_op_GetRuleGroup.go | 3 - service/wafv2/api_op_GetSampledRequests.go | 3 - service/wafv2/api_op_GetWebACL.go | 3 - service/wafv2/api_op_GetWebACLForResource.go | 3 - service/wafv2/api_op_ListAPIKeys.go | 3 - ...p_ListAvailableManagedRuleGroupVersions.go | 3 - .../api_op_ListAvailableManagedRuleGroups.go | 3 - service/wafv2/api_op_ListIPSets.go | 3 - .../wafv2/api_op_ListLoggingConfigurations.go | 3 - service/wafv2/api_op_ListManagedRuleSets.go | 3 - service/wafv2/api_op_ListMobileSdkReleases.go | 3 - service/wafv2/api_op_ListRegexPatternSets.go | 3 - .../wafv2/api_op_ListResourcesForWebACL.go | 3 - service/wafv2/api_op_ListRuleGroups.go | 3 - service/wafv2/api_op_ListTagsForResource.go | 3 - service/wafv2/api_op_ListWebACLs.go | 3 - .../wafv2/api_op_PutLoggingConfiguration.go | 3 - .../wafv2/api_op_PutManagedRuleSetVersions.go | 3 - service/wafv2/api_op_PutPermissionPolicy.go | 3 - service/wafv2/api_op_TagResource.go | 3 - service/wafv2/api_op_UntagResource.go | 3 - service/wafv2/api_op_UpdateIPSet.go | 3 - ...p_UpdateManagedRuleSetVersionExpiryDate.go | 3 - service/wafv2/api_op_UpdateRegexPatternSet.go | 3 - service/wafv2/api_op_UpdateRuleGroup.go | 3 - service/wafv2/api_op_UpdateWebACL.go | 3 - .../snapshot/api_op_AssociateWebACL.go.snap | 1 - .../snapshot/api_op_CheckCapacity.go.snap | 1 - .../snapshot/api_op_CreateAPIKey.go.snap | 1 - .../wafv2/snapshot/api_op_CreateIPSet.go.snap | 1 - .../api_op_CreateRegexPatternSet.go.snap | 1 - .../snapshot/api_op_CreateRuleGroup.go.snap | 1 - .../snapshot/api_op_CreateWebACL.go.snap | 1 - .../snapshot/api_op_DeleteAPIKey.go.snap | 1 - ...op_DeleteFirewallManagerRuleGroups.go.snap | 1 - .../wafv2/snapshot/api_op_DeleteIPSet.go.snap | 1 - .../api_op_DeleteLoggingConfiguration.go.snap | 1 - .../api_op_DeletePermissionPolicy.go.snap | 1 - .../api_op_DeleteRegexPatternSet.go.snap | 1 - .../snapshot/api_op_DeleteRuleGroup.go.snap | 1 - .../snapshot/api_op_DeleteWebACL.go.snap | 1 - .../api_op_DescribeAllManagedProducts.go.snap | 1 - ...op_DescribeManagedProductsByVendor.go.snap | 1 - .../api_op_DescribeManagedRuleGroup.go.snap | 1 - .../api_op_DisassociateWebACL.go.snap | 1 - ...api_op_GenerateMobileSdkReleaseUrl.go.snap | 1 - .../api_op_GetDecryptedAPIKey.go.snap | 1 - .../wafv2/snapshot/api_op_GetIPSet.go.snap | 1 - .../api_op_GetLoggingConfiguration.go.snap | 1 - .../snapshot/api_op_GetManagedRuleSet.go.snap | 1 - .../api_op_GetMobileSdkRelease.go.snap | 1 - .../api_op_GetPermissionPolicy.go.snap | 1 - ...p_GetRateBasedStatementManagedKeys.go.snap | 1 - .../api_op_GetRegexPatternSet.go.snap | 1 - .../snapshot/api_op_GetRuleGroup.go.snap | 1 - .../api_op_GetSampledRequests.go.snap | 1 - .../wafv2/snapshot/api_op_GetWebACL.go.snap | 1 - .../api_op_GetWebACLForResource.go.snap | 1 - .../wafv2/snapshot/api_op_ListAPIKeys.go.snap | 1 - ...tAvailableManagedRuleGroupVersions.go.snap | 1 - ..._op_ListAvailableManagedRuleGroups.go.snap | 1 - .../wafv2/snapshot/api_op_ListIPSets.go.snap | 1 - .../api_op_ListLoggingConfigurations.go.snap | 1 - .../api_op_ListManagedRuleSets.go.snap | 1 - .../api_op_ListMobileSdkReleases.go.snap | 1 - .../api_op_ListRegexPatternSets.go.snap | 1 - .../api_op_ListResourcesForWebACL.go.snap | 1 - .../snapshot/api_op_ListRuleGroups.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../wafv2/snapshot/api_op_ListWebACLs.go.snap | 1 - .../api_op_PutLoggingConfiguration.go.snap | 1 - .../api_op_PutManagedRuleSetVersions.go.snap | 1 - .../api_op_PutPermissionPolicy.go.snap | 1 - .../wafv2/snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../wafv2/snapshot/api_op_UpdateIPSet.go.snap | 1 - ...ateManagedRuleSetVersionExpiryDate.go.snap | 1 - .../api_op_UpdateRegexPatternSet.go.snap | 1 - .../snapshot/api_op_UpdateRuleGroup.go.snap | 1 - .../snapshot/api_op_UpdateWebACL.go.snap | 1 - service/wellarchitected/api_client.go | 31 -- .../wellarchitected/api_op_AssociateLenses.go | 3 - .../api_op_AssociateProfiles.go | 3 - .../wellarchitected/api_op_CreateLensShare.go | 3 - .../api_op_CreateLensVersion.go | 3 - .../wellarchitected/api_op_CreateMilestone.go | 3 - .../wellarchitected/api_op_CreateProfile.go | 3 - .../api_op_CreateProfileShare.go | 3 - .../api_op_CreateReviewTemplate.go | 3 - .../api_op_CreateTemplateShare.go | 3 - .../wellarchitected/api_op_CreateWorkload.go | 3 - .../api_op_CreateWorkloadShare.go | 3 - service/wellarchitected/api_op_DeleteLens.go | 3 - .../wellarchitected/api_op_DeleteLensShare.go | 3 - .../wellarchitected/api_op_DeleteProfile.go | 3 - .../api_op_DeleteProfileShare.go | 3 - .../api_op_DeleteReviewTemplate.go | 3 - .../api_op_DeleteTemplateShare.go | 3 - .../wellarchitected/api_op_DeleteWorkload.go | 3 - .../api_op_DeleteWorkloadShare.go | 3 - .../api_op_DisassociateLenses.go | 3 - .../api_op_DisassociateProfiles.go | 3 - service/wellarchitected/api_op_ExportLens.go | 3 - service/wellarchitected/api_op_GetAnswer.go | 3 - .../api_op_GetConsolidatedReport.go | 3 - .../api_op_GetGlobalSettings.go | 3 - service/wellarchitected/api_op_GetLens.go | 3 - .../wellarchitected/api_op_GetLensReview.go | 3 - .../api_op_GetLensReviewReport.go | 3 - .../api_op_GetLensVersionDifference.go | 3 - .../wellarchitected/api_op_GetMilestone.go | 3 - service/wellarchitected/api_op_GetProfile.go | 3 - .../api_op_GetProfileTemplate.go | 3 - .../api_op_GetReviewTemplate.go | 3 - .../api_op_GetReviewTemplateAnswer.go | 3 - .../api_op_GetReviewTemplateLensReview.go | 3 - service/wellarchitected/api_op_GetWorkload.go | 3 - service/wellarchitected/api_op_ImportLens.go | 3 - service/wellarchitected/api_op_ListAnswers.go | 3 - .../api_op_ListCheckDetails.go | 3 - .../api_op_ListCheckSummaries.go | 3 - .../api_op_ListLensReviewImprovements.go | 3 - .../wellarchitected/api_op_ListLensReviews.go | 3 - .../wellarchitected/api_op_ListLensShares.go | 3 - service/wellarchitected/api_op_ListLenses.go | 3 - .../wellarchitected/api_op_ListMilestones.go | 3 - .../api_op_ListNotifications.go | 3 - .../api_op_ListProfileNotifications.go | 3 - .../api_op_ListProfileShares.go | 3 - .../wellarchitected/api_op_ListProfiles.go | 3 - .../api_op_ListReviewTemplateAnswers.go | 3 - .../api_op_ListReviewTemplates.go | 3 - .../api_op_ListShareInvitations.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_ListTemplateShares.go | 3 - .../api_op_ListWorkloadShares.go | 3 - .../wellarchitected/api_op_ListWorkloads.go | 3 - service/wellarchitected/api_op_TagResource.go | 3 - .../wellarchitected/api_op_UntagResource.go | 3 - .../wellarchitected/api_op_UpdateAnswer.go | 3 - .../api_op_UpdateGlobalSettings.go | 3 - .../api_op_UpdateIntegration.go | 3 - .../api_op_UpdateLensReview.go | 3 - .../wellarchitected/api_op_UpdateProfile.go | 3 - .../api_op_UpdateReviewTemplate.go | 3 - .../api_op_UpdateReviewTemplateAnswer.go | 3 - .../api_op_UpdateReviewTemplateLensReview.go | 3 - .../api_op_UpdateShareInvitation.go | 3 - .../wellarchitected/api_op_UpdateWorkload.go | 3 - .../api_op_UpdateWorkloadShare.go | 3 - .../api_op_UpgradeLensReview.go | 3 - .../api_op_UpgradeProfileVersion.go | 3 - .../api_op_UpgradeReviewTemplateLensReview.go | 3 - .../snapshot/api_op_AssociateLenses.go.snap | 1 - .../snapshot/api_op_AssociateProfiles.go.snap | 1 - .../snapshot/api_op_CreateLensShare.go.snap | 1 - .../snapshot/api_op_CreateLensVersion.go.snap | 1 - .../snapshot/api_op_CreateMilestone.go.snap | 1 - .../snapshot/api_op_CreateProfile.go.snap | 1 - .../api_op_CreateProfileShare.go.snap | 1 - .../api_op_CreateReviewTemplate.go.snap | 1 - .../api_op_CreateTemplateShare.go.snap | 1 - .../snapshot/api_op_CreateWorkload.go.snap | 1 - .../api_op_CreateWorkloadShare.go.snap | 1 - .../snapshot/api_op_DeleteLens.go.snap | 1 - .../snapshot/api_op_DeleteLensShare.go.snap | 1 - .../snapshot/api_op_DeleteProfile.go.snap | 1 - .../api_op_DeleteProfileShare.go.snap | 1 - .../api_op_DeleteReviewTemplate.go.snap | 1 - .../api_op_DeleteTemplateShare.go.snap | 1 - .../snapshot/api_op_DeleteWorkload.go.snap | 1 - .../api_op_DeleteWorkloadShare.go.snap | 1 - .../api_op_DisassociateLenses.go.snap | 1 - .../api_op_DisassociateProfiles.go.snap | 1 - .../snapshot/api_op_ExportLens.go.snap | 1 - .../snapshot/api_op_GetAnswer.go.snap | 1 - .../api_op_GetConsolidatedReport.go.snap | 1 - .../snapshot/api_op_GetGlobalSettings.go.snap | 1 - .../snapshot/api_op_GetLens.go.snap | 1 - .../snapshot/api_op_GetLensReview.go.snap | 1 - .../api_op_GetLensReviewReport.go.snap | 1 - .../api_op_GetLensVersionDifference.go.snap | 1 - .../snapshot/api_op_GetMilestone.go.snap | 1 - .../snapshot/api_op_GetProfile.go.snap | 1 - .../api_op_GetProfileTemplate.go.snap | 1 - .../snapshot/api_op_GetReviewTemplate.go.snap | 1 - .../api_op_GetReviewTemplateAnswer.go.snap | 1 - ...api_op_GetReviewTemplateLensReview.go.snap | 1 - .../snapshot/api_op_GetWorkload.go.snap | 1 - .../snapshot/api_op_ImportLens.go.snap | 1 - .../snapshot/api_op_ListAnswers.go.snap | 1 - .../snapshot/api_op_ListCheckDetails.go.snap | 1 - .../api_op_ListCheckSummaries.go.snap | 1 - .../api_op_ListLensReviewImprovements.go.snap | 1 - .../snapshot/api_op_ListLensReviews.go.snap | 1 - .../snapshot/api_op_ListLensShares.go.snap | 1 - .../snapshot/api_op_ListLenses.go.snap | 1 - .../snapshot/api_op_ListMilestones.go.snap | 1 - .../snapshot/api_op_ListNotifications.go.snap | 1 - .../api_op_ListProfileNotifications.go.snap | 1 - .../snapshot/api_op_ListProfileShares.go.snap | 1 - .../snapshot/api_op_ListProfiles.go.snap | 1 - .../api_op_ListReviewTemplateAnswers.go.snap | 1 - .../api_op_ListReviewTemplates.go.snap | 1 - .../api_op_ListShareInvitations.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListTemplateShares.go.snap | 1 - .../api_op_ListWorkloadShares.go.snap | 1 - .../snapshot/api_op_ListWorkloads.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateAnswer.go.snap | 1 - .../api_op_UpdateGlobalSettings.go.snap | 1 - .../snapshot/api_op_UpdateIntegration.go.snap | 1 - .../snapshot/api_op_UpdateLensReview.go.snap | 1 - .../snapshot/api_op_UpdateProfile.go.snap | 1 - .../api_op_UpdateReviewTemplate.go.snap | 1 - .../api_op_UpdateReviewTemplateAnswer.go.snap | 1 - ..._op_UpdateReviewTemplateLensReview.go.snap | 1 - .../api_op_UpdateShareInvitation.go.snap | 1 - .../snapshot/api_op_UpdateWorkload.go.snap | 1 - .../api_op_UpdateWorkloadShare.go.snap | 1 - .../snapshot/api_op_UpgradeLensReview.go.snap | 1 - .../api_op_UpgradeProfileVersion.go.snap | 1 - ...op_UpgradeReviewTemplateLensReview.go.snap | 1 - service/wisdom/api_client.go | 31 -- service/wisdom/api_op_CreateAssistant.go | 3 - .../api_op_CreateAssistantAssociation.go | 3 - service/wisdom/api_op_CreateContent.go | 3 - service/wisdom/api_op_CreateKnowledgeBase.go | 3 - service/wisdom/api_op_CreateQuickResponse.go | 3 - service/wisdom/api_op_CreateSession.go | 3 - service/wisdom/api_op_DeleteAssistant.go | 3 - .../api_op_DeleteAssistantAssociation.go | 3 - service/wisdom/api_op_DeleteContent.go | 3 - service/wisdom/api_op_DeleteImportJob.go | 3 - service/wisdom/api_op_DeleteKnowledgeBase.go | 3 - service/wisdom/api_op_DeleteQuickResponse.go | 3 - service/wisdom/api_op_GetAssistant.go | 3 - .../wisdom/api_op_GetAssistantAssociation.go | 3 - service/wisdom/api_op_GetContent.go | 3 - service/wisdom/api_op_GetContentSummary.go | 3 - service/wisdom/api_op_GetImportJob.go | 3 - service/wisdom/api_op_GetKnowledgeBase.go | 3 - service/wisdom/api_op_GetQuickResponse.go | 3 - service/wisdom/api_op_GetRecommendations.go | 3 - service/wisdom/api_op_GetSession.go | 3 - .../api_op_ListAssistantAssociations.go | 3 - service/wisdom/api_op_ListAssistants.go | 3 - service/wisdom/api_op_ListContents.go | 3 - service/wisdom/api_op_ListImportJobs.go | 3 - service/wisdom/api_op_ListKnowledgeBases.go | 3 - service/wisdom/api_op_ListQuickResponses.go | 3 - service/wisdom/api_op_ListTagsForResource.go | 3 - .../api_op_NotifyRecommendationsReceived.go | 3 - service/wisdom/api_op_QueryAssistant.go | 3 - .../api_op_RemoveKnowledgeBaseTemplateUri.go | 3 - service/wisdom/api_op_SearchContent.go | 3 - service/wisdom/api_op_SearchQuickResponses.go | 3 - service/wisdom/api_op_SearchSessions.go | 3 - service/wisdom/api_op_StartContentUpload.go | 3 - service/wisdom/api_op_StartImportJob.go | 3 - service/wisdom/api_op_TagResource.go | 3 - service/wisdom/api_op_UntagResource.go | 3 - service/wisdom/api_op_UpdateContent.go | 3 - .../api_op_UpdateKnowledgeBaseTemplateUri.go | 3 - service/wisdom/api_op_UpdateQuickResponse.go | 3 - .../snapshot/api_op_CreateAssistant.go.snap | 1 - .../api_op_CreateAssistantAssociation.go.snap | 1 - .../snapshot/api_op_CreateContent.go.snap | 1 - .../api_op_CreateKnowledgeBase.go.snap | 1 - .../api_op_CreateQuickResponse.go.snap | 1 - .../snapshot/api_op_CreateSession.go.snap | 1 - .../snapshot/api_op_DeleteAssistant.go.snap | 1 - .../api_op_DeleteAssistantAssociation.go.snap | 1 - .../snapshot/api_op_DeleteContent.go.snap | 1 - .../snapshot/api_op_DeleteImportJob.go.snap | 1 - .../api_op_DeleteKnowledgeBase.go.snap | 1 - .../api_op_DeleteQuickResponse.go.snap | 1 - .../snapshot/api_op_GetAssistant.go.snap | 1 - .../api_op_GetAssistantAssociation.go.snap | 1 - .../wisdom/snapshot/api_op_GetContent.go.snap | 1 - .../snapshot/api_op_GetContentSummary.go.snap | 1 - .../snapshot/api_op_GetImportJob.go.snap | 1 - .../snapshot/api_op_GetKnowledgeBase.go.snap | 1 - .../snapshot/api_op_GetQuickResponse.go.snap | 1 - .../api_op_GetRecommendations.go.snap | 1 - .../wisdom/snapshot/api_op_GetSession.go.snap | 1 - .../api_op_ListAssistantAssociations.go.snap | 1 - .../snapshot/api_op_ListAssistants.go.snap | 1 - .../snapshot/api_op_ListContents.go.snap | 1 - .../snapshot/api_op_ListImportJobs.go.snap | 1 - .../api_op_ListKnowledgeBases.go.snap | 1 - .../api_op_ListQuickResponses.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - ...i_op_NotifyRecommendationsReceived.go.snap | 1 - .../snapshot/api_op_QueryAssistant.go.snap | 1 - ..._op_RemoveKnowledgeBaseTemplateUri.go.snap | 1 - .../snapshot/api_op_SearchContent.go.snap | 1 - .../api_op_SearchQuickResponses.go.snap | 1 - .../snapshot/api_op_SearchSessions.go.snap | 1 - .../api_op_StartContentUpload.go.snap | 1 - .../snapshot/api_op_StartImportJob.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateContent.go.snap | 1 - ..._op_UpdateKnowledgeBaseTemplateUri.go.snap | 1 - .../api_op_UpdateQuickResponse.go.snap | 1 - service/workdocs/api_client.go | 31 -- .../api_op_AbortDocumentVersionUpload.go | 3 - service/workdocs/api_op_ActivateUser.go | 3 - .../workdocs/api_op_AddResourcePermissions.go | 3 - service/workdocs/api_op_CreateComment.go | 3 - .../workdocs/api_op_CreateCustomMetadata.go | 3 - service/workdocs/api_op_CreateFolder.go | 3 - service/workdocs/api_op_CreateLabels.go | 3 - .../api_op_CreateNotificationSubscription.go | 3 - service/workdocs/api_op_CreateUser.go | 3 - service/workdocs/api_op_DeactivateUser.go | 3 - service/workdocs/api_op_DeleteComment.go | 3 - .../workdocs/api_op_DeleteCustomMetadata.go | 3 - service/workdocs/api_op_DeleteDocument.go | 3 - .../workdocs/api_op_DeleteDocumentVersion.go | 3 - service/workdocs/api_op_DeleteFolder.go | 3 - .../workdocs/api_op_DeleteFolderContents.go | 3 - service/workdocs/api_op_DeleteLabels.go | 3 - .../api_op_DeleteNotificationSubscription.go | 3 - service/workdocs/api_op_DeleteUser.go | 3 - service/workdocs/api_op_DescribeActivities.go | 3 - service/workdocs/api_op_DescribeComments.go | 3 - .../api_op_DescribeDocumentVersions.go | 3 - .../workdocs/api_op_DescribeFolderContents.go | 3 - service/workdocs/api_op_DescribeGroups.go | 3 - ...pi_op_DescribeNotificationSubscriptions.go | 3 - .../api_op_DescribeResourcePermissions.go | 3 - .../workdocs/api_op_DescribeRootFolders.go | 3 - service/workdocs/api_op_DescribeUsers.go | 3 - service/workdocs/api_op_GetCurrentUser.go | 3 - service/workdocs/api_op_GetDocument.go | 3 - service/workdocs/api_op_GetDocumentPath.go | 3 - service/workdocs/api_op_GetDocumentVersion.go | 3 - service/workdocs/api_op_GetFolder.go | 3 - service/workdocs/api_op_GetFolderPath.go | 3 - service/workdocs/api_op_GetResources.go | 3 - .../api_op_InitiateDocumentVersionUpload.go | 3 - .../api_op_RemoveAllResourcePermissions.go | 3 - .../api_op_RemoveResourcePermission.go | 3 - .../api_op_RestoreDocumentVersions.go | 3 - service/workdocs/api_op_SearchResources.go | 3 - service/workdocs/api_op_UpdateDocument.go | 3 - .../workdocs/api_op_UpdateDocumentVersion.go | 3 - service/workdocs/api_op_UpdateFolder.go | 3 - service/workdocs/api_op_UpdateUser.go | 3 - .../api_op_AbortDocumentVersionUpload.go.snap | 1 - .../snapshot/api_op_ActivateUser.go.snap | 1 - .../api_op_AddResourcePermissions.go.snap | 1 - .../snapshot/api_op_CreateComment.go.snap | 1 - .../api_op_CreateCustomMetadata.go.snap | 1 - .../snapshot/api_op_CreateFolder.go.snap | 1 - .../snapshot/api_op_CreateLabels.go.snap | 1 - ..._op_CreateNotificationSubscription.go.snap | 1 - .../snapshot/api_op_CreateUser.go.snap | 1 - .../snapshot/api_op_DeactivateUser.go.snap | 1 - .../snapshot/api_op_DeleteComment.go.snap | 1 - .../api_op_DeleteCustomMetadata.go.snap | 1 - .../snapshot/api_op_DeleteDocument.go.snap | 1 - .../api_op_DeleteDocumentVersion.go.snap | 1 - .../snapshot/api_op_DeleteFolder.go.snap | 1 - .../api_op_DeleteFolderContents.go.snap | 1 - .../snapshot/api_op_DeleteLabels.go.snap | 1 - ..._op_DeleteNotificationSubscription.go.snap | 1 - .../snapshot/api_op_DeleteUser.go.snap | 1 - .../api_op_DescribeActivities.go.snap | 1 - .../snapshot/api_op_DescribeComments.go.snap | 1 - .../api_op_DescribeDocumentVersions.go.snap | 1 - .../api_op_DescribeFolderContents.go.snap | 1 - .../snapshot/api_op_DescribeGroups.go.snap | 1 - ..._DescribeNotificationSubscriptions.go.snap | 1 - ...api_op_DescribeResourcePermissions.go.snap | 1 - .../api_op_DescribeRootFolders.go.snap | 1 - .../snapshot/api_op_DescribeUsers.go.snap | 1 - .../snapshot/api_op_GetCurrentUser.go.snap | 1 - .../snapshot/api_op_GetDocument.go.snap | 1 - .../snapshot/api_op_GetDocumentPath.go.snap | 1 - .../api_op_GetDocumentVersion.go.snap | 1 - .../snapshot/api_op_GetFolder.go.snap | 1 - .../snapshot/api_op_GetFolderPath.go.snap | 1 - .../snapshot/api_op_GetResources.go.snap | 1 - ...i_op_InitiateDocumentVersionUpload.go.snap | 1 - ...pi_op_RemoveAllResourcePermissions.go.snap | 1 - .../api_op_RemoveResourcePermission.go.snap | 1 - .../api_op_RestoreDocumentVersions.go.snap | 1 - .../snapshot/api_op_SearchResources.go.snap | 1 - .../snapshot/api_op_UpdateDocument.go.snap | 1 - .../api_op_UpdateDocumentVersion.go.snap | 1 - .../snapshot/api_op_UpdateFolder.go.snap | 1 - .../snapshot/api_op_UpdateUser.go.snap | 1 - service/workmail/api_client.go | 31 -- .../api_op_AssociateDelegateToResource.go | 3 - .../workmail/api_op_AssociateMemberToGroup.go | 3 - .../api_op_AssumeImpersonationRole.go | 3 - .../workmail/api_op_CancelMailboxExportJob.go | 3 - service/workmail/api_op_CreateAlias.go | 3 - .../api_op_CreateAvailabilityConfiguration.go | 3 - service/workmail/api_op_CreateGroup.go | 3 - .../api_op_CreateIdentityCenterApplication.go | 3 - .../api_op_CreateImpersonationRole.go | 3 - .../api_op_CreateMobileDeviceAccessRule.go | 3 - service/workmail/api_op_CreateOrganization.go | 3 - service/workmail/api_op_CreateResource.go | 3 - service/workmail/api_op_CreateUser.go | 3 - .../api_op_DeleteAccessControlRule.go | 3 - service/workmail/api_op_DeleteAlias.go | 3 - .../api_op_DeleteAvailabilityConfiguration.go | 3 - ...i_op_DeleteEmailMonitoringConfiguration.go | 3 - service/workmail/api_op_DeleteGroup.go | 3 - .../api_op_DeleteIdentityCenterApplication.go | 3 - ..._op_DeleteIdentityProviderConfiguration.go | 3 - .../api_op_DeleteImpersonationRole.go | 3 - .../api_op_DeleteMailboxPermissions.go | 3 - ...api_op_DeleteMobileDeviceAccessOverride.go | 3 - .../api_op_DeleteMobileDeviceAccessRule.go | 3 - service/workmail/api_op_DeleteOrganization.go | 3 - .../api_op_DeletePersonalAccessToken.go | 3 - service/workmail/api_op_DeleteResource.go | 3 - .../workmail/api_op_DeleteRetentionPolicy.go | 3 - service/workmail/api_op_DeleteUser.go | 3 - .../workmail/api_op_DeregisterFromWorkMail.go | 3 - .../workmail/api_op_DeregisterMailDomain.go | 3 - ...op_DescribeEmailMonitoringConfiguration.go | 3 - service/workmail/api_op_DescribeEntity.go | 3 - service/workmail/api_op_DescribeGroup.go | 3 - ...p_DescribeIdentityProviderConfiguration.go | 3 - .../api_op_DescribeInboundDmarcSettings.go | 3 - .../api_op_DescribeMailboxExportJob.go | 3 - .../workmail/api_op_DescribeOrganization.go | 3 - service/workmail/api_op_DescribeResource.go | 3 - service/workmail/api_op_DescribeUser.go | 3 - ...api_op_DisassociateDelegateFromResource.go | 3 - .../api_op_DisassociateMemberFromGroup.go | 3 - .../workmail/api_op_GetAccessControlEffect.go | 3 - .../api_op_GetDefaultRetentionPolicy.go | 3 - .../workmail/api_op_GetImpersonationRole.go | 3 - .../api_op_GetImpersonationRoleEffect.go | 3 - service/workmail/api_op_GetMailDomain.go | 3 - service/workmail/api_op_GetMailboxDetails.go | 3 - .../api_op_GetMobileDeviceAccessEffect.go | 3 - .../api_op_GetMobileDeviceAccessOverride.go | 3 - .../api_op_GetPersonalAccessTokenMetadata.go | 3 - .../workmail/api_op_ListAccessControlRules.go | 3 - service/workmail/api_op_ListAliases.go | 3 - .../api_op_ListAvailabilityConfigurations.go | 3 - service/workmail/api_op_ListGroupMembers.go | 3 - service/workmail/api_op_ListGroups.go | 3 - .../workmail/api_op_ListGroupsForEntity.go | 3 - .../workmail/api_op_ListImpersonationRoles.go | 3 - service/workmail/api_op_ListMailDomains.go | 3 - .../workmail/api_op_ListMailboxExportJobs.go | 3 - .../workmail/api_op_ListMailboxPermissions.go | 3 - .../api_op_ListMobileDeviceAccessOverrides.go | 3 - .../api_op_ListMobileDeviceAccessRules.go | 3 - service/workmail/api_op_ListOrganizations.go | 3 - .../api_op_ListPersonalAccessTokens.go | 3 - .../workmail/api_op_ListResourceDelegates.go | 3 - service/workmail/api_op_ListResources.go | 3 - .../workmail/api_op_ListTagsForResource.go | 3 - service/workmail/api_op_ListUsers.go | 3 - .../workmail/api_op_PutAccessControlRule.go | 3 - .../api_op_PutEmailMonitoringConfiguration.go | 3 - ...api_op_PutIdentityProviderConfiguration.go | 3 - .../api_op_PutInboundDmarcSettings.go | 3 - .../workmail/api_op_PutMailboxPermissions.go | 3 - .../api_op_PutMobileDeviceAccessOverride.go | 3 - service/workmail/api_op_PutRetentionPolicy.go | 3 - service/workmail/api_op_RegisterMailDomain.go | 3 - service/workmail/api_op_RegisterToWorkMail.go | 3 - service/workmail/api_op_ResetPassword.go | 3 - .../workmail/api_op_StartMailboxExportJob.go | 3 - service/workmail/api_op_TagResource.go | 3 - .../api_op_TestAvailabilityConfiguration.go | 3 - service/workmail/api_op_UntagResource.go | 3 - .../api_op_UpdateAvailabilityConfiguration.go | 3 - .../api_op_UpdateDefaultMailDomain.go | 3 - service/workmail/api_op_UpdateGroup.go | 3 - .../api_op_UpdateImpersonationRole.go | 3 - service/workmail/api_op_UpdateMailboxQuota.go | 3 - .../api_op_UpdateMobileDeviceAccessRule.go | 3 - .../api_op_UpdatePrimaryEmailAddress.go | 3 - service/workmail/api_op_UpdateResource.go | 3 - service/workmail/api_op_UpdateUser.go | 3 - ...api_op_AssociateDelegateToResource.go.snap | 1 - .../api_op_AssociateMemberToGroup.go.snap | 1 - .../api_op_AssumeImpersonationRole.go.snap | 1 - .../api_op_CancelMailboxExportJob.go.snap | 1 - .../snapshot/api_op_CreateAlias.go.snap | 1 - ...op_CreateAvailabilityConfiguration.go.snap | 1 - .../snapshot/api_op_CreateGroup.go.snap | 1 - ...op_CreateIdentityCenterApplication.go.snap | 1 - .../api_op_CreateImpersonationRole.go.snap | 1 - ...pi_op_CreateMobileDeviceAccessRule.go.snap | 1 - .../api_op_CreateOrganization.go.snap | 1 - .../snapshot/api_op_CreateResource.go.snap | 1 - .../snapshot/api_op_CreateUser.go.snap | 1 - .../api_op_DeleteAccessControlRule.go.snap | 1 - .../snapshot/api_op_DeleteAlias.go.snap | 1 - ...op_DeleteAvailabilityConfiguration.go.snap | 1 - ...DeleteEmailMonitoringConfiguration.go.snap | 1 - .../snapshot/api_op_DeleteGroup.go.snap | 1 - ...op_DeleteIdentityCenterApplication.go.snap | 1 - ...eleteIdentityProviderConfiguration.go.snap | 1 - .../api_op_DeleteImpersonationRole.go.snap | 1 - .../api_op_DeleteMailboxPermissions.go.snap | 1 - ...p_DeleteMobileDeviceAccessOverride.go.snap | 1 - ...pi_op_DeleteMobileDeviceAccessRule.go.snap | 1 - .../api_op_DeleteOrganization.go.snap | 1 - .../api_op_DeletePersonalAccessToken.go.snap | 1 - .../snapshot/api_op_DeleteResource.go.snap | 1 - .../api_op_DeleteRetentionPolicy.go.snap | 1 - .../snapshot/api_op_DeleteUser.go.snap | 1 - .../api_op_DeregisterFromWorkMail.go.snap | 1 - .../api_op_DeregisterMailDomain.go.snap | 1 - ...scribeEmailMonitoringConfiguration.go.snap | 1 - .../snapshot/api_op_DescribeEntity.go.snap | 1 - .../snapshot/api_op_DescribeGroup.go.snap | 1 - ...cribeIdentityProviderConfiguration.go.snap | 1 - ...pi_op_DescribeInboundDmarcSettings.go.snap | 1 - .../api_op_DescribeMailboxExportJob.go.snap | 1 - .../api_op_DescribeOrganization.go.snap | 1 - .../snapshot/api_op_DescribeResource.go.snap | 1 - .../snapshot/api_op_DescribeUser.go.snap | 1 - ...p_DisassociateDelegateFromResource.go.snap | 1 - ...api_op_DisassociateMemberFromGroup.go.snap | 1 - .../api_op_GetAccessControlEffect.go.snap | 1 - .../api_op_GetDefaultRetentionPolicy.go.snap | 1 - .../api_op_GetImpersonationRole.go.snap | 1 - .../api_op_GetImpersonationRoleEffect.go.snap | 1 - .../snapshot/api_op_GetMailDomain.go.snap | 1 - .../snapshot/api_op_GetMailboxDetails.go.snap | 1 - ...api_op_GetMobileDeviceAccessEffect.go.snap | 1 - ...i_op_GetMobileDeviceAccessOverride.go.snap | 1 - ..._op_GetPersonalAccessTokenMetadata.go.snap | 1 - .../api_op_ListAccessControlRules.go.snap | 1 - .../snapshot/api_op_ListAliases.go.snap | 1 - ..._op_ListAvailabilityConfigurations.go.snap | 1 - .../snapshot/api_op_ListGroupMembers.go.snap | 1 - .../snapshot/api_op_ListGroups.go.snap | 1 - .../api_op_ListGroupsForEntity.go.snap | 1 - .../api_op_ListImpersonationRoles.go.snap | 1 - .../snapshot/api_op_ListMailDomains.go.snap | 1 - .../api_op_ListMailboxExportJobs.go.snap | 1 - .../api_op_ListMailboxPermissions.go.snap | 1 - ...op_ListMobileDeviceAccessOverrides.go.snap | 1 - ...api_op_ListMobileDeviceAccessRules.go.snap | 1 - .../snapshot/api_op_ListOrganizations.go.snap | 1 - .../api_op_ListPersonalAccessTokens.go.snap | 1 - .../api_op_ListResourceDelegates.go.snap | 1 - .../snapshot/api_op_ListResources.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_ListUsers.go.snap | 1 - .../api_op_PutAccessControlRule.go.snap | 1 - ...op_PutEmailMonitoringConfiguration.go.snap | 1 - ...p_PutIdentityProviderConfiguration.go.snap | 1 - .../api_op_PutInboundDmarcSettings.go.snap | 1 - .../api_op_PutMailboxPermissions.go.snap | 1 - ...i_op_PutMobileDeviceAccessOverride.go.snap | 1 - .../api_op_PutRetentionPolicy.go.snap | 1 - .../api_op_RegisterMailDomain.go.snap | 1 - .../api_op_RegisterToWorkMail.go.snap | 1 - .../snapshot/api_op_ResetPassword.go.snap | 1 - .../api_op_StartMailboxExportJob.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - ...i_op_TestAvailabilityConfiguration.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - ...op_UpdateAvailabilityConfiguration.go.snap | 1 - .../api_op_UpdateDefaultMailDomain.go.snap | 1 - .../snapshot/api_op_UpdateGroup.go.snap | 1 - .../api_op_UpdateImpersonationRole.go.snap | 1 - .../api_op_UpdateMailboxQuota.go.snap | 1 - ...pi_op_UpdateMobileDeviceAccessRule.go.snap | 1 - .../api_op_UpdatePrimaryEmailAddress.go.snap | 1 - .../snapshot/api_op_UpdateResource.go.snap | 1 - .../snapshot/api_op_UpdateUser.go.snap | 1 - service/workmailmessageflow/api_client.go | 31 -- .../api_op_GetRawMessageContent.go | 3 - .../api_op_PutRawMessageContent.go | 3 - .../api_op_GetRawMessageContent.go.snap | 1 - .../api_op_PutRawMessageContent.go.snap | 1 - service/workspaces/api_client.go | 31 -- .../api_op_AcceptAccountLinkInvitation.go | 3 - .../api_op_AssociateConnectionAlias.go | 3 - .../workspaces/api_op_AssociateIpGroups.go | 3 - .../api_op_AssociateWorkspaceApplication.go | 3 - service/workspaces/api_op_AuthorizeIpRules.go | 3 - .../workspaces/api_op_CopyWorkspaceImage.go | 3 - .../api_op_CreateAccountLinkInvitation.go | 3 - .../api_op_CreateConnectClientAddIn.go | 3 - .../api_op_CreateConnectionAlias.go | 3 - service/workspaces/api_op_CreateIpGroup.go | 3 - .../api_op_CreateStandbyWorkspaces.go | 3 - service/workspaces/api_op_CreateTags.go | 3 - .../api_op_CreateUpdatedWorkspaceImage.go | 3 - .../api_op_CreateWorkspaceBundle.go | 3 - .../workspaces/api_op_CreateWorkspaceImage.go | 3 - service/workspaces/api_op_CreateWorkspaces.go | 3 - .../workspaces/api_op_CreateWorkspacesPool.go | 3 - .../api_op_DeleteAccountLinkInvitation.go | 3 - .../workspaces/api_op_DeleteClientBranding.go | 3 - .../api_op_DeleteConnectClientAddIn.go | 3 - .../api_op_DeleteConnectionAlias.go | 3 - service/workspaces/api_op_DeleteIpGroup.go | 3 - service/workspaces/api_op_DeleteTags.go | 3 - .../api_op_DeleteWorkspaceBundle.go | 3 - .../workspaces/api_op_DeleteWorkspaceImage.go | 3 - .../api_op_DeployWorkspaceApplications.go | 3 - .../api_op_DeregisterWorkspaceDirectory.go | 3 - service/workspaces/api_op_DescribeAccount.go | 3 - .../api_op_DescribeAccountModifications.go | 3 - .../api_op_DescribeApplicationAssociations.go | 3 - .../workspaces/api_op_DescribeApplications.go | 3 - .../api_op_DescribeBundleAssociations.go | 3 - .../api_op_DescribeClientBranding.go | 3 - .../api_op_DescribeClientProperties.go | 3 - .../api_op_DescribeConnectClientAddIns.go | 3 - ...i_op_DescribeConnectionAliasPermissions.go | 3 - .../api_op_DescribeConnectionAliases.go | 3 - .../api_op_DescribeImageAssociations.go | 3 - service/workspaces/api_op_DescribeIpGroups.go | 3 - service/workspaces/api_op_DescribeTags.go | 3 - .../api_op_DescribeWorkspaceAssociations.go | 3 - .../api_op_DescribeWorkspaceBundles.go | 3 - .../api_op_DescribeWorkspaceDirectories.go | 3 - ...pi_op_DescribeWorkspaceImagePermissions.go | 3 - .../api_op_DescribeWorkspaceImages.go | 3 - .../api_op_DescribeWorkspaceSnapshots.go | 3 - .../workspaces/api_op_DescribeWorkspaces.go | 3 - ...i_op_DescribeWorkspacesConnectionStatus.go | 3 - .../api_op_DescribeWorkspacesPoolSessions.go | 3 - .../api_op_DescribeWorkspacesPools.go | 3 - .../api_op_DisassociateConnectionAlias.go | 3 - .../workspaces/api_op_DisassociateIpGroups.go | 3 - ...api_op_DisassociateWorkspaceApplication.go | 3 - service/workspaces/api_op_GetAccountLink.go | 3 - .../workspaces/api_op_ImportClientBranding.go | 3 - .../workspaces/api_op_ImportWorkspaceImage.go | 3 - service/workspaces/api_op_ListAccountLinks.go | 3 - ...pi_op_ListAvailableManagementCidrRanges.go | 3 - service/workspaces/api_op_MigrateWorkspace.go | 3 - service/workspaces/api_op_ModifyAccount.go | 3 - ...op_ModifyCertificateBasedAuthProperties.go | 3 - .../api_op_ModifyClientProperties.go | 3 - .../workspaces/api_op_ModifySamlProperties.go | 3 - .../api_op_ModifySelfservicePermissions.go | 3 - .../api_op_ModifyStreamingProperties.go | 3 - .../api_op_ModifyWorkspaceAccessProperties.go | 3 - ...pi_op_ModifyWorkspaceCreationProperties.go | 3 - .../api_op_ModifyWorkspaceProperties.go | 3 - .../workspaces/api_op_ModifyWorkspaceState.go | 3 - service/workspaces/api_op_RebootWorkspaces.go | 3 - .../workspaces/api_op_RebuildWorkspaces.go | 3 - .../api_op_RegisterWorkspaceDirectory.go | 3 - .../api_op_RejectAccountLinkInvitation.go | 3 - service/workspaces/api_op_RestoreWorkspace.go | 3 - service/workspaces/api_op_RevokeIpRules.go | 3 - service/workspaces/api_op_StartWorkspaces.go | 3 - .../workspaces/api_op_StartWorkspacesPool.go | 3 - service/workspaces/api_op_StopWorkspaces.go | 3 - .../workspaces/api_op_StopWorkspacesPool.go | 3 - .../workspaces/api_op_TerminateWorkspaces.go | 3 - .../api_op_TerminateWorkspacesPool.go | 3 - .../api_op_TerminateWorkspacesPoolSession.go | 3 - .../api_op_UpdateConnectClientAddIn.go | 3 - .../api_op_UpdateConnectionAliasPermission.go | 3 - .../workspaces/api_op_UpdateRulesOfIpGroup.go | 3 - .../api_op_UpdateWorkspaceBundle.go | 3 - .../api_op_UpdateWorkspaceImagePermission.go | 3 - .../workspaces/api_op_UpdateWorkspacesPool.go | 3 - ...api_op_AcceptAccountLinkInvitation.go.snap | 1 - .../api_op_AssociateConnectionAlias.go.snap | 1 - .../snapshot/api_op_AssociateIpGroups.go.snap | 1 - ...i_op_AssociateWorkspaceApplication.go.snap | 1 - .../snapshot/api_op_AuthorizeIpRules.go.snap | 1 - .../api_op_CopyWorkspaceImage.go.snap | 1 - ...api_op_CreateAccountLinkInvitation.go.snap | 1 - .../api_op_CreateConnectClientAddIn.go.snap | 1 - .../api_op_CreateConnectionAlias.go.snap | 1 - .../snapshot/api_op_CreateIpGroup.go.snap | 1 - .../api_op_CreateStandbyWorkspaces.go.snap | 1 - .../snapshot/api_op_CreateTags.go.snap | 1 - ...api_op_CreateUpdatedWorkspaceImage.go.snap | 1 - .../api_op_CreateWorkspaceBundle.go.snap | 1 - .../api_op_CreateWorkspaceImage.go.snap | 1 - .../snapshot/api_op_CreateWorkspaces.go.snap | 1 - .../api_op_CreateWorkspacesPool.go.snap | 1 - ...api_op_DeleteAccountLinkInvitation.go.snap | 1 - .../api_op_DeleteClientBranding.go.snap | 1 - .../api_op_DeleteConnectClientAddIn.go.snap | 1 - .../api_op_DeleteConnectionAlias.go.snap | 1 - .../snapshot/api_op_DeleteIpGroup.go.snap | 1 - .../snapshot/api_op_DeleteTags.go.snap | 1 - .../api_op_DeleteWorkspaceBundle.go.snap | 1 - .../api_op_DeleteWorkspaceImage.go.snap | 1 - ...api_op_DeployWorkspaceApplications.go.snap | 1 - ...pi_op_DeregisterWorkspaceDirectory.go.snap | 1 - .../snapshot/api_op_DescribeAccount.go.snap | 1 - ...pi_op_DescribeAccountModifications.go.snap | 1 - ...op_DescribeApplicationAssociations.go.snap | 1 - .../api_op_DescribeApplications.go.snap | 1 - .../api_op_DescribeBundleAssociations.go.snap | 1 - .../api_op_DescribeClientBranding.go.snap | 1 - .../api_op_DescribeClientProperties.go.snap | 1 - ...api_op_DescribeConnectClientAddIns.go.snap | 1 - ...DescribeConnectionAliasPermissions.go.snap | 1 - .../api_op_DescribeConnectionAliases.go.snap | 1 - .../api_op_DescribeImageAssociations.go.snap | 1 - .../snapshot/api_op_DescribeIpGroups.go.snap | 1 - .../snapshot/api_op_DescribeTags.go.snap | 1 - ...i_op_DescribeWorkspaceAssociations.go.snap | 1 - .../api_op_DescribeWorkspaceBundles.go.snap | 1 - ...pi_op_DescribeWorkspaceDirectories.go.snap | 1 - ..._DescribeWorkspaceImagePermissions.go.snap | 1 - .../api_op_DescribeWorkspaceImages.go.snap | 1 - .../api_op_DescribeWorkspaceSnapshots.go.snap | 1 - .../api_op_DescribeWorkspaces.go.snap | 1 - ...DescribeWorkspacesConnectionStatus.go.snap | 1 - ..._op_DescribeWorkspacesPoolSessions.go.snap | 1 - .../api_op_DescribeWorkspacesPools.go.snap | 1 - ...api_op_DisassociateConnectionAlias.go.snap | 1 - .../api_op_DisassociateIpGroups.go.snap | 1 - ...p_DisassociateWorkspaceApplication.go.snap | 1 - .../snapshot/api_op_GetAccountLink.go.snap | 1 - .../api_op_ImportClientBranding.go.snap | 1 - .../api_op_ImportWorkspaceImage.go.snap | 1 - .../snapshot/api_op_ListAccountLinks.go.snap | 1 - ..._ListAvailableManagementCidrRanges.go.snap | 1 - .../snapshot/api_op_MigrateWorkspace.go.snap | 1 - .../snapshot/api_op_ModifyAccount.go.snap | 1 - ...difyCertificateBasedAuthProperties.go.snap | 1 - .../api_op_ModifyClientProperties.go.snap | 1 - .../api_op_ModifySamlProperties.go.snap | 1 - ...pi_op_ModifySelfservicePermissions.go.snap | 1 - .../api_op_ModifyStreamingProperties.go.snap | 1 - ...op_ModifyWorkspaceAccessProperties.go.snap | 1 - ..._ModifyWorkspaceCreationProperties.go.snap | 1 - .../api_op_ModifyWorkspaceProperties.go.snap | 1 - .../api_op_ModifyWorkspaceState.go.snap | 1 - .../snapshot/api_op_RebootWorkspaces.go.snap | 1 - .../snapshot/api_op_RebuildWorkspaces.go.snap | 1 - .../api_op_RegisterWorkspaceDirectory.go.snap | 1 - ...api_op_RejectAccountLinkInvitation.go.snap | 1 - .../snapshot/api_op_RestoreWorkspace.go.snap | 1 - .../snapshot/api_op_RevokeIpRules.go.snap | 1 - .../snapshot/api_op_StartWorkspaces.go.snap | 1 - .../api_op_StartWorkspacesPool.go.snap | 1 - .../snapshot/api_op_StopWorkspaces.go.snap | 1 - .../api_op_StopWorkspacesPool.go.snap | 1 - .../api_op_TerminateWorkspaces.go.snap | 1 - .../api_op_TerminateWorkspacesPool.go.snap | 1 - ..._op_TerminateWorkspacesPoolSession.go.snap | 1 - .../api_op_UpdateConnectClientAddIn.go.snap | 1 - ...op_UpdateConnectionAliasPermission.go.snap | 1 - .../api_op_UpdateRulesOfIpGroup.go.snap | 1 - .../api_op_UpdateWorkspaceBundle.go.snap | 1 - ..._op_UpdateWorkspaceImagePermission.go.snap | 1 - .../api_op_UpdateWorkspacesPool.go.snap | 1 - service/workspacesthinclient/api_client.go | 31 -- .../api_op_CreateEnvironment.go | 3 - .../api_op_DeleteDevice.go | 3 - .../api_op_DeleteEnvironment.go | 3 - .../api_op_DeregisterDevice.go | 3 - .../workspacesthinclient/api_op_GetDevice.go | 3 - .../api_op_GetEnvironment.go | 3 - .../api_op_GetSoftwareSet.go | 3 - .../api_op_ListDevices.go | 3 - .../api_op_ListEnvironments.go | 3 - .../api_op_ListSoftwareSets.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_TagResource.go | 3 - .../api_op_UntagResource.go | 3 - .../api_op_UpdateDevice.go | 3 - .../api_op_UpdateEnvironment.go | 3 - .../api_op_UpdateSoftwareSet.go | 3 - .../snapshot/api_op_CreateEnvironment.go.snap | 1 - .../snapshot/api_op_DeleteDevice.go.snap | 1 - .../snapshot/api_op_DeleteEnvironment.go.snap | 1 - .../snapshot/api_op_DeregisterDevice.go.snap | 1 - .../snapshot/api_op_GetDevice.go.snap | 1 - .../snapshot/api_op_GetEnvironment.go.snap | 1 - .../snapshot/api_op_GetSoftwareSet.go.snap | 1 - .../snapshot/api_op_ListDevices.go.snap | 1 - .../snapshot/api_op_ListEnvironments.go.snap | 1 - .../snapshot/api_op_ListSoftwareSets.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../snapshot/api_op_UpdateDevice.go.snap | 1 - .../snapshot/api_op_UpdateEnvironment.go.snap | 1 - .../snapshot/api_op_UpdateSoftwareSet.go.snap | 1 - service/workspacesweb/api_client.go | 31 -- .../api_op_AssociateBrowserSettings.go | 3 - .../api_op_AssociateDataProtectionSettings.go | 3 - .../api_op_AssociateIpAccessSettings.go | 3 - .../api_op_AssociateNetworkSettings.go | 3 - .../api_op_AssociateTrustStore.go | 3 - ...i_op_AssociateUserAccessLoggingSettings.go | 3 - .../api_op_AssociateUserSettings.go | 3 - .../api_op_CreateBrowserSettings.go | 3 - .../api_op_CreateDataProtectionSettings.go | 3 - .../api_op_CreateIdentityProvider.go | 3 - .../api_op_CreateIpAccessSettings.go | 3 - .../api_op_CreateNetworkSettings.go | 3 - service/workspacesweb/api_op_CreatePortal.go | 3 - .../workspacesweb/api_op_CreateTrustStore.go | 3 - .../api_op_CreateUserAccessLoggingSettings.go | 3 - .../api_op_CreateUserSettings.go | 3 - .../api_op_DeleteBrowserSettings.go | 3 - .../api_op_DeleteDataProtectionSettings.go | 3 - .../api_op_DeleteIdentityProvider.go | 3 - .../api_op_DeleteIpAccessSettings.go | 3 - .../api_op_DeleteNetworkSettings.go | 3 - service/workspacesweb/api_op_DeletePortal.go | 3 - .../workspacesweb/api_op_DeleteTrustStore.go | 3 - .../api_op_DeleteUserAccessLoggingSettings.go | 3 - .../api_op_DeleteUserSettings.go | 3 - .../api_op_DisassociateBrowserSettings.go | 3 - ...i_op_DisassociateDataProtectionSettings.go | 3 - .../api_op_DisassociateIpAccessSettings.go | 3 - .../api_op_DisassociateNetworkSettings.go | 3 - .../api_op_DisassociateTrustStore.go | 3 - ...p_DisassociateUserAccessLoggingSettings.go | 3 - .../api_op_DisassociateUserSettings.go | 3 - service/workspacesweb/api_op_ExpireSession.go | 3 - .../api_op_GetBrowserSettings.go | 3 - .../api_op_GetDataProtectionSettings.go | 3 - .../api_op_GetIdentityProvider.go | 3 - .../api_op_GetIpAccessSettings.go | 3 - .../api_op_GetNetworkSettings.go | 3 - service/workspacesweb/api_op_GetPortal.go | 3 - ...api_op_GetPortalServiceProviderMetadata.go | 3 - service/workspacesweb/api_op_GetSession.go | 3 - service/workspacesweb/api_op_GetTrustStore.go | 3 - .../api_op_GetTrustStoreCertificate.go | 3 - .../api_op_GetUserAccessLoggingSettings.go | 3 - .../workspacesweb/api_op_GetUserSettings.go | 3 - .../api_op_ListBrowserSettings.go | 3 - .../api_op_ListDataProtectionSettings.go | 3 - .../api_op_ListIdentityProviders.go | 3 - .../api_op_ListIpAccessSettings.go | 3 - .../api_op_ListNetworkSettings.go | 3 - service/workspacesweb/api_op_ListPortals.go | 3 - service/workspacesweb/api_op_ListSessions.go | 3 - .../api_op_ListTagsForResource.go | 3 - .../api_op_ListTrustStoreCertificates.go | 3 - .../workspacesweb/api_op_ListTrustStores.go | 3 - .../api_op_ListUserAccessLoggingSettings.go | 3 - .../workspacesweb/api_op_ListUserSettings.go | 3 - service/workspacesweb/api_op_TagResource.go | 3 - service/workspacesweb/api_op_UntagResource.go | 3 - .../api_op_UpdateBrowserSettings.go | 3 - .../api_op_UpdateDataProtectionSettings.go | 3 - .../api_op_UpdateIdentityProvider.go | 3 - .../api_op_UpdateIpAccessSettings.go | 3 - .../api_op_UpdateNetworkSettings.go | 3 - service/workspacesweb/api_op_UpdatePortal.go | 3 - .../workspacesweb/api_op_UpdateTrustStore.go | 3 - .../api_op_UpdateUserAccessLoggingSettings.go | 3 - .../api_op_UpdateUserSettings.go | 3 - .../api_op_AssociateBrowserSettings.go.snap | 1 - ...op_AssociateDataProtectionSettings.go.snap | 1 - .../api_op_AssociateIpAccessSettings.go.snap | 1 - .../api_op_AssociateNetworkSettings.go.snap | 1 - .../api_op_AssociateTrustStore.go.snap | 1 - ...AssociateUserAccessLoggingSettings.go.snap | 1 - .../api_op_AssociateUserSettings.go.snap | 1 - .../api_op_CreateBrowserSettings.go.snap | 1 - ...pi_op_CreateDataProtectionSettings.go.snap | 1 - .../api_op_CreateIdentityProvider.go.snap | 1 - .../api_op_CreateIpAccessSettings.go.snap | 1 - .../api_op_CreateNetworkSettings.go.snap | 1 - .../snapshot/api_op_CreatePortal.go.snap | 1 - .../snapshot/api_op_CreateTrustStore.go.snap | 1 - ...op_CreateUserAccessLoggingSettings.go.snap | 1 - .../api_op_CreateUserSettings.go.snap | 1 - .../api_op_DeleteBrowserSettings.go.snap | 1 - ...pi_op_DeleteDataProtectionSettings.go.snap | 1 - .../api_op_DeleteIdentityProvider.go.snap | 1 - .../api_op_DeleteIpAccessSettings.go.snap | 1 - .../api_op_DeleteNetworkSettings.go.snap | 1 - .../snapshot/api_op_DeletePortal.go.snap | 1 - .../snapshot/api_op_DeleteTrustStore.go.snap | 1 - ...op_DeleteUserAccessLoggingSettings.go.snap | 1 - .../api_op_DeleteUserSettings.go.snap | 1 - ...api_op_DisassociateBrowserSettings.go.snap | 1 - ...DisassociateDataProtectionSettings.go.snap | 1 - ...pi_op_DisassociateIpAccessSettings.go.snap | 1 - ...api_op_DisassociateNetworkSettings.go.snap | 1 - .../api_op_DisassociateTrustStore.go.snap | 1 - ...associateUserAccessLoggingSettings.go.snap | 1 - .../api_op_DisassociateUserSettings.go.snap | 1 - .../snapshot/api_op_ExpireSession.go.snap | 1 - .../api_op_GetBrowserSettings.go.snap | 1 - .../api_op_GetDataProtectionSettings.go.snap | 1 - .../api_op_GetIdentityProvider.go.snap | 1 - .../api_op_GetIpAccessSettings.go.snap | 1 - .../api_op_GetNetworkSettings.go.snap | 1 - .../snapshot/api_op_GetPortal.go.snap | 1 - ...p_GetPortalServiceProviderMetadata.go.snap | 1 - .../snapshot/api_op_GetSession.go.snap | 1 - .../snapshot/api_op_GetTrustStore.go.snap | 1 - .../api_op_GetTrustStoreCertificate.go.snap | 1 - ...pi_op_GetUserAccessLoggingSettings.go.snap | 1 - .../snapshot/api_op_GetUserSettings.go.snap | 1 - .../api_op_ListBrowserSettings.go.snap | 1 - .../api_op_ListDataProtectionSettings.go.snap | 1 - .../api_op_ListIdentityProviders.go.snap | 1 - .../api_op_ListIpAccessSettings.go.snap | 1 - .../api_op_ListNetworkSettings.go.snap | 1 - .../snapshot/api_op_ListPortals.go.snap | 1 - .../snapshot/api_op_ListSessions.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_ListTrustStoreCertificates.go.snap | 1 - .../snapshot/api_op_ListTrustStores.go.snap | 1 - ...i_op_ListUserAccessLoggingSettings.go.snap | 1 - .../snapshot/api_op_ListUserSettings.go.snap | 1 - .../snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../api_op_UpdateBrowserSettings.go.snap | 1 - ...pi_op_UpdateDataProtectionSettings.go.snap | 1 - .../api_op_UpdateIdentityProvider.go.snap | 1 - .../api_op_UpdateIpAccessSettings.go.snap | 1 - .../api_op_UpdateNetworkSettings.go.snap | 1 - .../snapshot/api_op_UpdatePortal.go.snap | 1 - .../snapshot/api_op_UpdateTrustStore.go.snap | 1 - ...op_UpdateUserAccessLoggingSettings.go.snap | 1 - .../api_op_UpdateUserSettings.go.snap | 1 - service/xray/api_client.go | 31 -- service/xray/api_op_BatchGetTraces.go | 3 - service/xray/api_op_CancelTraceRetrieval.go | 3 - service/xray/api_op_CreateGroup.go | 3 - service/xray/api_op_CreateSamplingRule.go | 3 - service/xray/api_op_DeleteGroup.go | 3 - service/xray/api_op_DeleteResourcePolicy.go | 3 - service/xray/api_op_DeleteSamplingRule.go | 3 - service/xray/api_op_GetEncryptionConfig.go | 3 - service/xray/api_op_GetGroup.go | 3 - service/xray/api_op_GetGroups.go | 3 - service/xray/api_op_GetIndexingRules.go | 3 - service/xray/api_op_GetInsight.go | 3 - service/xray/api_op_GetInsightEvents.go | 3 - service/xray/api_op_GetInsightImpactGraph.go | 3 - service/xray/api_op_GetInsightSummaries.go | 3 - .../xray/api_op_GetRetrievedTracesGraph.go | 3 - service/xray/api_op_GetSamplingRules.go | 3 - .../api_op_GetSamplingStatisticSummaries.go | 3 - service/xray/api_op_GetSamplingTargets.go | 3 - service/xray/api_op_GetServiceGraph.go | 3 - .../api_op_GetTimeSeriesServiceStatistics.go | 3 - service/xray/api_op_GetTraceGraph.go | 3 - .../xray/api_op_GetTraceSegmentDestination.go | 3 - service/xray/api_op_GetTraceSummaries.go | 3 - service/xray/api_op_ListResourcePolicies.go | 3 - service/xray/api_op_ListRetrievedTraces.go | 3 - service/xray/api_op_ListTagsForResource.go | 3 - service/xray/api_op_PutEncryptionConfig.go | 3 - service/xray/api_op_PutResourcePolicy.go | 3 - service/xray/api_op_PutTelemetryRecords.go | 3 - service/xray/api_op_PutTraceSegments.go | 3 - service/xray/api_op_StartTraceRetrieval.go | 3 - service/xray/api_op_TagResource.go | 3 - service/xray/api_op_UntagResource.go | 3 - service/xray/api_op_UpdateGroup.go | 3 - service/xray/api_op_UpdateIndexingRule.go | 3 - service/xray/api_op_UpdateSamplingRule.go | 3 - .../api_op_UpdateTraceSegmentDestination.go | 3 - .../snapshot/api_op_BatchGetTraces.go.snap | 1 - .../api_op_CancelTraceRetrieval.go.snap | 1 - .../xray/snapshot/api_op_CreateGroup.go.snap | 1 - .../api_op_CreateSamplingRule.go.snap | 1 - .../xray/snapshot/api_op_DeleteGroup.go.snap | 1 - .../api_op_DeleteResourcePolicy.go.snap | 1 - .../api_op_DeleteSamplingRule.go.snap | 1 - .../api_op_GetEncryptionConfig.go.snap | 1 - service/xray/snapshot/api_op_GetGroup.go.snap | 1 - .../xray/snapshot/api_op_GetGroups.go.snap | 1 - .../snapshot/api_op_GetIndexingRules.go.snap | 1 - .../xray/snapshot/api_op_GetInsight.go.snap | 1 - .../snapshot/api_op_GetInsightEvents.go.snap | 1 - .../api_op_GetInsightImpactGraph.go.snap | 1 - .../api_op_GetInsightSummaries.go.snap | 1 - .../api_op_GetRetrievedTracesGraph.go.snap | 1 - .../snapshot/api_op_GetSamplingRules.go.snap | 1 - ...i_op_GetSamplingStatisticSummaries.go.snap | 1 - .../api_op_GetSamplingTargets.go.snap | 1 - .../snapshot/api_op_GetServiceGraph.go.snap | 1 - ..._op_GetTimeSeriesServiceStatistics.go.snap | 1 - .../snapshot/api_op_GetTraceGraph.go.snap | 1 - .../api_op_GetTraceSegmentDestination.go.snap | 1 - .../snapshot/api_op_GetTraceSummaries.go.snap | 1 - .../api_op_ListResourcePolicies.go.snap | 1 - .../api_op_ListRetrievedTraces.go.snap | 1 - .../api_op_ListTagsForResource.go.snap | 1 - .../api_op_PutEncryptionConfig.go.snap | 1 - .../snapshot/api_op_PutResourcePolicy.go.snap | 1 - .../api_op_PutTelemetryRecords.go.snap | 1 - .../snapshot/api_op_PutTraceSegments.go.snap | 1 - .../api_op_StartTraceRetrieval.go.snap | 1 - .../xray/snapshot/api_op_TagResource.go.snap | 1 - .../snapshot/api_op_UntagResource.go.snap | 1 - .../xray/snapshot/api_op_UpdateGroup.go.snap | 1 - .../api_op_UpdateIndexingRule.go.snap | 1 - .../api_op_UpdateSamplingRule.go.snap | 1 - ...i_op_UpdateTraceSegmentDestination.go.snap | 1 - 34211 files changed, 440 insertions(+), 81039 deletions(-) create mode 100644 .changelog/e09f262cca454baaa532434210e9d892.json delete mode 100644 codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/CredentialSourceFeatureTrackerGenerator.java delete mode 100644 config/config_source_test.go delete mode 100644 config/testdata/config_ua_credential_provider delete mode 100644 config/testdata/config_ua_credential_provider_windows diff --git a/.changelog/e09f262cca454baaa532434210e9d892.json b/.changelog/e09f262cca454baaa532434210e9d892.json new file mode 100644 index 00000000000..fcd24c664be --- /dev/null +++ b/.changelog/e09f262cca454baaa532434210e9d892.json @@ -0,0 +1,418 @@ +{ + "id": "e09f262c-ca45-4baa-a532-434210e9d892", + "type": "bugfix", + "description": "Revert 'Track credential providers via User-Agent Feature ids (#3008)' This reverts commit 402370d1d1850404b5f14de989827c53b2411c98.", + "modules": [ + ".", + "config", + "credentials", + "internal/protocoltest/awsrestjson", + "internal/protocoltest/ec2query", + "internal/protocoltest/jsonrpc", + "internal/protocoltest/jsonrpc10", + "internal/protocoltest/query", + "internal/protocoltest/restxml", + "internal/protocoltest/restxmlwithnamespace", + "service/accessanalyzer", + "service/account", + "service/acm", + "service/acmpca", + "service/amp", + "service/amplify", + "service/amplifybackend", + "service/amplifyuibuilder", + "service/apigateway", + "service/apigatewaymanagementapi", + "service/apigatewayv2", + "service/appconfig", + "service/appconfigdata", + "service/appfabric", + "service/appflow", + "service/appintegrations", + "service/applicationautoscaling", + "service/applicationcostprofiler", + "service/applicationdiscoveryservice", + "service/applicationinsights", + "service/applicationsignals", + "service/appmesh", + "service/apprunner", + "service/appstream", + "service/appsync", + "service/apptest", + "service/arczonalshift", + "service/artifact", + "service/athena", + "service/auditmanager", + "service/autoscaling", + "service/autoscalingplans", + "service/b2bi", + "service/backup", + "service/backupgateway", + "service/backupsearch", + "service/batch", + "service/bcmdataexports", + "service/bcmpricingcalculator", + "service/bedrock", + "service/bedrockagent", + "service/bedrockagentruntime", + "service/bedrockdataautomation", + "service/bedrockdataautomationruntime", + "service/bedrockruntime", + "service/billing", + "service/billingconductor", + "service/braket", + "service/budgets", + "service/chatbot", + "service/chime", + "service/chimesdkidentity", + "service/chimesdkmediapipelines", + "service/chimesdkmeetings", + "service/chimesdkmessaging", + "service/chimesdkvoice", + "service/cleanrooms", + "service/cleanroomsml", + "service/cloud9", + "service/cloudcontrol", + "service/clouddirectory", + "service/cloudformation", + "service/cloudfront", + "service/cloudfrontkeyvaluestore", + "service/cloudhsm", + "service/cloudhsmv2", + "service/cloudsearch", + "service/cloudsearchdomain", + "service/cloudtrail", + "service/cloudtraildata", + "service/cloudwatch", + "service/cloudwatchevents", + "service/cloudwatchlogs", + "service/codeartifact", + "service/codebuild", + "service/codecommit", + "service/codeconnections", + "service/codedeploy", + "service/codeguruprofiler", + "service/codegurureviewer", + "service/codegurusecurity", + "service/codepipeline", + "service/codestarconnections", + "service/codestarnotifications", + "service/cognitoidentity", + "service/cognitoidentityprovider", + "service/cognitosync", + "service/comprehend", + "service/comprehendmedical", + "service/computeoptimizer", + "service/configservice", + "service/connect", + "service/connectcampaigns", + "service/connectcampaignsv2", + "service/connectcases", + "service/connectcontactlens", + "service/connectparticipant", + "service/controlcatalog", + "service/controltower", + "service/costandusagereportservice", + "service/costexplorer", + "service/costoptimizationhub", + "service/customerprofiles", + "service/databasemigrationservice", + "service/databrew", + "service/dataexchange", + "service/datapipeline", + "service/datasync", + "service/datazone", + "service/dax", + "service/deadline", + "service/detective", + "service/devicefarm", + "service/devopsguru", + "service/directconnect", + "service/directoryservice", + "service/directoryservicedata", + "service/dlm", + "service/docdb", + "service/docdbelastic", + "service/drs", + "service/dsql", + "service/dynamodb", + "service/dynamodbstreams", + "service/ebs", + "service/ec2", + "service/ec2instanceconnect", + "service/ecr", + "service/ecrpublic", + "service/ecs", + "service/efs", + "service/eks", + "service/eksauth", + "service/elasticache", + "service/elasticbeanstalk", + "service/elasticinference", + "service/elasticloadbalancing", + "service/elasticloadbalancingv2", + "service/elasticsearchservice", + "service/elastictranscoder", + "service/emr", + "service/emrcontainers", + "service/emrserverless", + "service/entityresolution", + "service/eventbridge", + "service/evidently", + "service/finspace", + "service/finspacedata", + "service/firehose", + "service/fis", + "service/fms", + "service/forecast", + "service/forecastquery", + "service/frauddetector", + "service/freetier", + "service/fsx", + "service/gamelift", + "service/geomaps", + "service/geoplaces", + "service/georoutes", + "service/glacier", + "service/globalaccelerator", + "service/glue", + "service/grafana", + "service/greengrass", + "service/greengrassv2", + "service/groundstation", + "service/guardduty", + "service/health", + "service/healthlake", + "service/iam", + "service/identitystore", + "service/imagebuilder", + "service/inspector", + "service/inspector2", + "service/inspectorscan", + "service/internetmonitor", + "service/invoicing", + "service/iot", + "service/iotanalytics", + "service/iotdataplane", + "service/iotdeviceadvisor", + "service/iotevents", + "service/ioteventsdata", + "service/iotfleethub", + "service/iotfleetwise", + "service/iotjobsdataplane", + "service/iotsecuretunneling", + "service/iotsitewise", + "service/iotthingsgraph", + "service/iottwinmaker", + "service/iotwireless", + "service/ivs", + "service/ivschat", + "service/ivsrealtime", + "service/kafka", + "service/kafkaconnect", + "service/kendra", + "service/kendraranking", + "service/keyspaces", + "service/kinesis", + "service/kinesisanalytics", + "service/kinesisanalyticsv2", + "service/kinesisvideo", + "service/kinesisvideoarchivedmedia", + "service/kinesisvideomedia", + "service/kinesisvideosignaling", + "service/kinesisvideowebrtcstorage", + "service/kms", + "service/lakeformation", + "service/lambda", + "service/launchwizard", + "service/lexmodelbuildingservice", + "service/lexmodelsv2", + "service/lexruntimeservice", + "service/lexruntimev2", + "service/licensemanager", + "service/licensemanagerlinuxsubscriptions", + "service/licensemanagerusersubscriptions", + "service/lightsail", + "service/location", + "service/lookoutequipment", + "service/lookoutmetrics", + "service/lookoutvision", + "service/m2", + "service/machinelearning", + "service/macie2", + "service/mailmanager", + "service/managedblockchain", + "service/managedblockchainquery", + "service/marketplaceagreement", + "service/marketplacecatalog", + "service/marketplacecommerceanalytics", + "service/marketplacedeployment", + "service/marketplaceentitlementservice", + "service/marketplacemetering", + "service/marketplacereporting", + "service/mediaconnect", + "service/mediaconvert", + "service/medialive", + "service/mediapackage", + "service/mediapackagev2", + "service/mediapackagevod", + "service/mediastore", + "service/mediastoredata", + "service/mediatailor", + "service/medicalimaging", + "service/memorydb", + "service/mgn", + "service/migrationhub", + "service/migrationhubconfig", + "service/migrationhuborchestrator", + "service/migrationhubrefactorspaces", + "service/migrationhubstrategy", + "service/mq", + "service/mturk", + "service/mwaa", + "service/neptune", + "service/neptunedata", + "service/neptunegraph", + "service/networkfirewall", + "service/networkflowmonitor", + "service/networkmanager", + "service/networkmonitor", + "service/notifications", + "service/notificationscontacts", + "service/oam", + "service/observabilityadmin", + "service/omics", + "service/opensearch", + "service/opensearchserverless", + "service/opsworks", + "service/opsworkscm", + "service/organizations", + "service/osis", + "service/outposts", + "service/panorama", + "service/partnercentralselling", + "service/paymentcryptography", + "service/paymentcryptographydata", + "service/pcaconnectorad", + "service/pcaconnectorscep", + "service/pcs", + "service/personalize", + "service/personalizeevents", + "service/personalizeruntime", + "service/pi", + "service/pinpoint", + "service/pinpointemail", + "service/pinpointsmsvoice", + "service/pinpointsmsvoicev2", + "service/pipes", + "service/polly", + "service/pricing", + "service/privatenetworks", + "service/proton", + "service/qapps", + "service/qbusiness", + "service/qconnect", + "service/qldb", + "service/qldbsession", + "service/quicksight", + "service/ram", + "service/rbin", + "service/rds", + "service/rdsdata", + "service/redshift", + "service/redshiftdata", + "service/redshiftserverless", + "service/rekognition", + "service/repostspace", + "service/resiliencehub", + "service/resourceexplorer2", + "service/resourcegroups", + "service/resourcegroupstaggingapi", + "service/robomaker", + "service/rolesanywhere", + "service/route53", + "service/route53domains", + "service/route53profiles", + "service/route53recoverycluster", + "service/route53recoverycontrolconfig", + "service/route53recoveryreadiness", + "service/route53resolver", + "service/rum", + "service/s3", + "service/s3control", + "service/s3outposts", + "service/s3tables", + "service/sagemaker", + "service/sagemakera2iruntime", + "service/sagemakeredge", + "service/sagemakerfeaturestoreruntime", + "service/sagemakergeospatial", + "service/sagemakermetrics", + "service/sagemakerruntime", + "service/savingsplans", + "service/scheduler", + "service/schemas", + "service/secretsmanager", + "service/securityhub", + "service/securityir", + "service/securitylake", + "service/serverlessapplicationrepository", + "service/servicecatalog", + "service/servicecatalogappregistry", + "service/servicediscovery", + "service/servicequotas", + "service/ses", + "service/sesv2", + "service/sfn", + "service/shield", + "service/signer", + "service/simspaceweaver", + "service/sms", + "service/snowball", + "service/snowdevicemanagement", + "service/sns", + "service/socialmessaging", + "service/sqs", + "service/ssm", + "service/ssmcontacts", + "service/ssmincidents", + "service/ssmquicksetup", + "service/ssmsap", + "service/sso", + "service/ssoadmin", + "service/ssooidc", + "service/storagegateway", + "service/sts", + "service/supplychain", + "service/support", + "service/supportapp", + "service/swf", + "service/synthetics", + "service/taxsettings", + "service/textract", + "service/timestreaminfluxdb", + "service/timestreamquery", + "service/timestreamwrite", + "service/tnb", + "service/transcribe", + "service/transcribestreaming", + "service/transfer", + "service/translate", + "service/trustedadvisor", + "service/verifiedpermissions", + "service/voiceid", + "service/vpclattice", + "service/waf", + "service/wafregional", + "service/wafv2", + "service/wellarchitected", + "service/wisdom", + "service/workdocs", + "service/workmail", + "service/workmailmessageflow", + "service/workspaces", + "service/workspacesthinclient", + "service/workspacesweb", + "service/xray" + ] +} \ No newline at end of file diff --git a/aws/credential_cache.go b/aws/credential_cache.go index 623890e8d80..781ac0ae2c0 100644 --- a/aws/credential_cache.go +++ b/aws/credential_cache.go @@ -172,17 +172,6 @@ func (p *CredentialsCache) getCreds() (Credentials, bool) { return *c, true } -// ProviderSources returns a list of where the underlying credential provider -// has been sourced, if available. Returns empty if the provider doesn't implement -// the interface -func (p *CredentialsCache) ProviderSources() []CredentialSource { - asSource, ok := p.provider.(CredentialProviderSource) - if !ok { - return []CredentialSource{} - } - return asSource.ProviderSources() -} - // Invalidate will invalidate the cached credentials. The next call to Retrieve // will cause the provider's Retrieve method to be called. func (p *CredentialsCache) Invalidate() { diff --git a/aws/credentials.go b/aws/credentials.go index 4ad2ee4405d..98ba7705642 100644 --- a/aws/credentials.go +++ b/aws/credentials.go @@ -70,56 +70,6 @@ func (AnonymousCredentials) Retrieve(context.Context) (Credentials, error) { fmt.Errorf("the AnonymousCredentials is not a valid credential provider, and cannot be used to sign AWS requests with") } -// CredentialSource is the source of the credential provider. -// A provider can have multiple credential sources: For example, a provider that reads a profile, calls ECS to -// get credentials and then assumes a role using STS will have all these as part of its provider chain. -type CredentialSource int - -const ( - // CredentialSourceUndefined is the sentinel zero value - CredentialSourceUndefined CredentialSource = iota - // CredentialSourceCode credentials resolved from code, cli parameters, session object, or client instance - CredentialSourceCode - // CredentialSourceEnvVars credentials resolved from environment variables - CredentialSourceEnvVars - // CredentialSourceEnvVarsSTSWebIDToken credentials resolved from environment variables for assuming a role with STS using a web identity token - CredentialSourceEnvVarsSTSWebIDToken - // CredentialSourceSTSAssumeRole credentials resolved from STS using AssumeRole - CredentialSourceSTSAssumeRole - // CredentialSourceSTSAssumeRoleSaml credentials resolved from STS using assume role with SAML - CredentialSourceSTSAssumeRoleSaml - // CredentialSourceSTSAssumeRoleWebID credentials resolved from STS using assume role with web identity - CredentialSourceSTSAssumeRoleWebID - // CredentialSourceSTSFederationToken credentials resolved from STS using a federation token - CredentialSourceSTSFederationToken - // CredentialSourceSTSSessionToken credentials resolved from STS using a session token S - CredentialSourceSTSSessionToken - // CredentialSourceProfile credentials resolved from a config file(s) profile with static credentials - CredentialSourceProfile - // CredentialSourceProfileSourceProfile credentials resolved from a source profile in a config file(s) profile - CredentialSourceProfileSourceProfile - // CredentialSourceProfileNamedProvider credentials resolved from a named provider in a config file(s) profile (like EcsContainer) - CredentialSourceProfileNamedProvider - // CredentialSourceProfileSTSWebIDToken credentials resolved from configuration for assuming a role with STS using web identity token in a config file(s) profile - CredentialSourceProfileSTSWebIDToken - // CredentialSourceProfileSSO credentials resolved from an SSO session in a config file(s) profile - CredentialSourceProfileSSO - // CredentialSourceSSO credentials resolved from an SSO session - CredentialSourceSSO - // CredentialSourceProfileSSOLegacy credentials resolved from an SSO session in a config file(s) profile using legacy format - CredentialSourceProfileSSOLegacy - // CredentialSourceSSOLegacy credentials resolved from an SSO session using legacy format - CredentialSourceSSOLegacy - // CredentialSourceProfileProcess credentials resolved from a process in a config file(s) profile - CredentialSourceProfileProcess - // CredentialSourceProcess credentials resolved from a process - CredentialSourceProcess - // CredentialSourceHTTP credentials resolved from an HTTP endpoint - CredentialSourceHTTP - // CredentialSourceIMDS credentials resolved from the instance metadata service (IMDS) - CredentialSourceIMDS -) - // A Credentials is the AWS credentials value for individual credential fields. type Credentials struct { // AWS Access key ID @@ -175,13 +125,6 @@ type CredentialsProvider interface { Retrieve(ctx context.Context) (Credentials, error) } -// CredentialProviderSource allows any credential provider to track -// all providers where a credential provider were sourced. For example, if the credentials came from a -// call to a role specified in the profile, this method will give the whole breadcrumb trail -type CredentialProviderSource interface { - ProviderSources() []CredentialSource -} - // CredentialsProviderFunc provides a helper wrapping a function value to // satisfy the CredentialsProvider interface. type CredentialsProviderFunc func(context.Context) (Credentials, error) diff --git a/aws/middleware/user_agent.go b/aws/middleware/user_agent.go index 6ee3391be27..95b6268f49e 100644 --- a/aws/middleware/user_agent.go +++ b/aws/middleware/user_agent.go @@ -109,57 +109,8 @@ const ( UserAgentFeatureRequestChecksumWhenRequired = "a" UserAgentFeatureResponseChecksumWhenSupported = "b" UserAgentFeatureResponseChecksumWhenRequired = "c" - - UserAgentFeatureDynamoDBUserAgent = "d" // not yet implemented - - UserAgentFeatureCredentialsCode = "e" - UserAgentFeatureCredentialsJvmSystemProperties = "f" // n/a (this is not a JVM sdk) - UserAgentFeatureCredentialsEnvVars = "g" - UserAgentFeatureCredentialsEnvVarsStsWebIDToken = "h" - UserAgentFeatureCredentialsStsAssumeRole = "i" - UserAgentFeatureCredentialsStsAssumeRoleSaml = "j" // not yet implemented - UserAgentFeatureCredentialsStsAssumeRoleWebID = "k" - UserAgentFeatureCredentialsStsFederationToken = "l" // not yet implemented - UserAgentFeatureCredentialsStsSessionToken = "m" // not yet implemented - UserAgentFeatureCredentialsProfile = "n" - UserAgentFeatureCredentialsProfileSourceProfile = "o" - UserAgentFeatureCredentialsProfileNamedProvider = "p" - UserAgentFeatureCredentialsProfileStsWebIDToken = "q" - UserAgentFeatureCredentialsProfileSso = "r" - UserAgentFeatureCredentialsSso = "s" - UserAgentFeatureCredentialsProfileSsoLegacy = "t" - UserAgentFeatureCredentialsSsoLegacy = "u" - UserAgentFeatureCredentialsProfileProcess = "v" - UserAgentFeatureCredentialsProcess = "w" - UserAgentFeatureCredentialsBoto2ConfigFile = "x" // n/a (this is not boto/Python) - UserAgentFeatureCredentialsAwsSdkStore = "y" // n/a (this is used by .NET based sdk) - UserAgentFeatureCredentialsHTTP = "z" - UserAgentFeatureCredentialsIMDS = "0" ) -var credentialSourceToFeature = map[aws.CredentialSource]UserAgentFeature{ - aws.CredentialSourceCode: UserAgentFeatureCredentialsCode, - aws.CredentialSourceEnvVars: UserAgentFeatureCredentialsEnvVars, - aws.CredentialSourceEnvVarsSTSWebIDToken: UserAgentFeatureCredentialsEnvVarsStsWebIDToken, - aws.CredentialSourceSTSAssumeRole: UserAgentFeatureCredentialsStsAssumeRole, - aws.CredentialSourceSTSAssumeRoleSaml: UserAgentFeatureCredentialsStsAssumeRoleSaml, - aws.CredentialSourceSTSAssumeRoleWebID: UserAgentFeatureCredentialsStsAssumeRoleWebID, - aws.CredentialSourceSTSFederationToken: UserAgentFeatureCredentialsStsFederationToken, - aws.CredentialSourceSTSSessionToken: UserAgentFeatureCredentialsStsSessionToken, - aws.CredentialSourceProfile: UserAgentFeatureCredentialsProfile, - aws.CredentialSourceProfileSourceProfile: UserAgentFeatureCredentialsProfileSourceProfile, - aws.CredentialSourceProfileNamedProvider: UserAgentFeatureCredentialsProfileNamedProvider, - aws.CredentialSourceProfileSTSWebIDToken: UserAgentFeatureCredentialsProfileStsWebIDToken, - aws.CredentialSourceProfileSSO: UserAgentFeatureCredentialsProfileSso, - aws.CredentialSourceSSO: UserAgentFeatureCredentialsSso, - aws.CredentialSourceProfileSSOLegacy: UserAgentFeatureCredentialsProfileSsoLegacy, - aws.CredentialSourceSSOLegacy: UserAgentFeatureCredentialsSsoLegacy, - aws.CredentialSourceProfileProcess: UserAgentFeatureCredentialsProfileProcess, - aws.CredentialSourceProcess: UserAgentFeatureCredentialsProcess, - aws.CredentialSourceHTTP: UserAgentFeatureCredentialsHTTP, - aws.CredentialSourceIMDS: UserAgentFeatureCredentialsIMDS, -} - // RequestUserAgent is a build middleware that set the User-Agent for the request. type RequestUserAgent struct { sdkAgent, userAgent *smithyhttp.UserAgentBuilder @@ -312,14 +263,6 @@ func (u *RequestUserAgent) AddSDKAgentKeyValue(keyType SDKAgentKeyType, key, val u.userAgent.AddKeyValue(keyType.string(), strings.Map(rules, key)+"#"+strings.Map(rules, value)) } -// AddCredentialsSource adds the credential source as a feature on the User-Agent string -func (u *RequestUserAgent) AddCredentialsSource(source aws.CredentialSource) { - x, ok := credentialSourceToFeature[source] - if ok { - u.AddUserAgentFeature(x) - } -} - // ID the name of the middleware. func (u *RequestUserAgent) ID() string { return "UserAgent" diff --git a/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/CredentialSourceFeatureTrackerGenerator.java b/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/CredentialSourceFeatureTrackerGenerator.java deleted file mode 100644 index bc4c074a228..00000000000 --- a/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/CredentialSourceFeatureTrackerGenerator.java +++ /dev/null @@ -1,85 +0,0 @@ -package software.amazon.smithy.aws.go.codegen; - -import software.amazon.smithy.go.codegen.SmithyGoDependency; -import software.amazon.smithy.go.codegen.integration.GoIntegration; -import software.amazon.smithy.go.codegen.integration.MiddlewareRegistrar; -import software.amazon.smithy.go.codegen.integration.RuntimeClientPlugin; -import software.amazon.smithy.go.codegen.GoCodegenContext; - -import java.util.List; -import java.util.Map; - -import static software.amazon.smithy.go.codegen.GoWriter.goTemplate; -import static software.amazon.smithy.go.codegen.SymbolUtils.buildPackageSymbol; - -/** - * Generates code to track which credential provider was used on - * the User Agent - */ -public class CredentialSourceFeatureTrackerGenerator implements GoIntegration { - - private static final MiddlewareRegistrar MIDDLEWARE = MiddlewareRegistrar.builder() - .resolvedFunction(buildPackageSymbol("addCredentialSource")) - .useClientOptions() - .build(); - - @Override - public List getClientPlugins() { - return List.of( - RuntimeClientPlugin.builder() - .registerMiddleware(MIDDLEWARE) - .servicePredicate(AwsSignatureVersion4::hasSigV4X) - .build() - ); - } - - @Override - public void writeAdditionalFiles(GoCodegenContext ctx) { - if (!AwsSignatureVersion4.hasSigV4X(ctx.model(), ctx.settings().getService(ctx.model()))) { - return; - } - - ctx.writerDelegator().useFileWriter("api_client.go", ctx.settings().getModuleName(), goTemplate(""" - $aws:D $awsMiddleware:D - - type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options - } - - func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - - func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, - ) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) - } - - func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) - } - """, - Map.of( - "aws", AwsGoDependency.AWS_CORE, - "awsMiddleware", AwsGoDependency.AWS_MIDDLEWARE, - "stack", SmithyGoDependency.SMITHY_MIDDLEWARE.struct("Stack") - ))); - } - - - -} diff --git a/codegen/smithy-aws-go-codegen/src/main/resources/META-INF/services/software.amazon.smithy.go.codegen.integration.GoIntegration b/codegen/smithy-aws-go-codegen/src/main/resources/META-INF/services/software.amazon.smithy.go.codegen.integration.GoIntegration index b2c700ed903..5fea5e1d7b1 100644 --- a/codegen/smithy-aws-go-codegen/src/main/resources/META-INF/services/software.amazon.smithy.go.codegen.integration.GoIntegration +++ b/codegen/smithy-aws-go-codegen/src/main/resources/META-INF/services/software.amazon.smithy.go.codegen.integration.GoIntegration @@ -89,4 +89,3 @@ software.amazon.smithy.aws.go.codegen.customization.DeprecateService software.amazon.smithy.aws.go.codegen.customization.BasicUserAgentFeatures software.amazon.smithy.aws.go.codegen.customization.ChecksumMetricsTracking software.amazon.smithy.aws.go.codegen.customization.AccountIdEndpointModeUserAgent -software.amazon.smithy.aws.go.codegen.CredentialSourceFeatureTrackerGenerator diff --git a/config/config_source_test.go b/config/config_source_test.go deleted file mode 100644 index eb31e6ae643..00000000000 --- a/config/config_source_test.go +++ /dev/null @@ -1,383 +0,0 @@ -package config - -import ( - "context" - "fmt" - "io" - "net/http" - "net/http/httptest" - "os" - "path/filepath" - "runtime" - "slices" - "strings" - "testing" - "time" - - "github.com/aws/aws-sdk-go-v2/aws" - "github.com/aws/aws-sdk-go-v2/aws/middleware" - "github.com/aws/aws-sdk-go-v2/credentials" - "github.com/aws/aws-sdk-go-v2/credentials/stscreds" - "github.com/aws/aws-sdk-go-v2/service/sts" - "github.com/aws/aws-sdk-go-v2/service/sts/types" - smithytime "github.com/aws/smithy-go/time" -) - -// HTTPClient implementation that captures the User-Agent header and -// the features associated with it. -// why STS? because it's an already existing dependency to this package, but in reality -// any client that uses Credentials would work -type stsCaptureUserAgentFeatures struct { - ua string - features []string - // lost of credential providers use an intermediate STS client to fetch credentials. - // capture which features were emitted by that client - intermediateFeatures []string -} - -func (u *stsCaptureUserAgentFeatures) Do(r *http.Request) (*http.Response, error) { - if err := r.ParseForm(); err != nil { - return nil, err - } - form := r.Form - switch form.Get("Action") { - // We use "DecodeAuthorization" as the sentinel value to say "this is the target operation, not an intermediate one" - case "DecodeAuthorizationMessage": - u.features = u.captureFeatures(r) - return &http.Response{StatusCode: 503, Body: http.NoBody}, nil - case "AssumeRoleWithWebIdentity": - u.features = u.captureFeatures(r) - return &http.Response{StatusCode: 200, Body: replaceDateInTemplate(assumeRoleWithWebIdentityResponse)}, nil - } - // if none of the above matched, assume his was an intermediate call and return the standard assume role response - u.intermediateFeatures = u.captureFeatures(r) - return &http.Response{StatusCode: 200, Body: replaceDateInTemplate(assumeRoleRespMsg)}, nil -} - -func (u *stsCaptureUserAgentFeatures) captureFeatures(r *http.Request) []string { - u.ua = r.Header.Get("User-Agent") - parts := strings.Split(u.ua, " ") - - var features string - for _, part := range parts { - if strings.HasPrefix(part, "m/") { - features = strings.TrimPrefix(part, "m/") - break - } - } - allFeatures := strings.Split(features, ",") - result := make([]string, 0) - // calling Split("x", ",") results in `["x"]`, so treat this as a special case - if len(allFeatures) == 1 { - result = append(result, allFeatures[0]) - return result - } - - for _, f := range allFeatures { - asRune := f[0] - // only capture features related to credentials providers - if (asRune >= 'e' && asRune <= 'z') || (asRune == '0') { - result = append(result, string(asRune)) - } - } - - return result -} - -// bunch of our templates have "%s" as a placeholder for expiration. Using this to quickly create an io readcloser from those -func replaceDateInTemplate(template string) io.ReadCloser { - t := fmt.Sprintf(template, smithytime.FormatDateTime(time.Now().Add(15*time.Minute))) - return io.NopCloser(strings.NewReader(t)) -} - -type mockAssumeRole struct { - TestInput func(*sts.AssumeRoleInput) -} - -func (s mockAssumeRole) AssumeRole(ctx context.Context, params *sts.AssumeRoleInput, optFns ...func(*sts.Options)) (*sts.AssumeRoleOutput, error) { - if s.TestInput != nil { - s.TestInput(params) - } - expiry := time.Now().Add(60 * time.Minute) - - return &sts.AssumeRoleOutput{ - AssumedRoleUser: &types.AssumedRoleUser{ - Arn: aws.String("arn:aws:sts::111111111111:assumed-role/assume-role-integration-test-role/Name"), - }, - Credentials: &types.Credentials{ - AccessKeyId: params.RoleArn, - SecretAccessKey: aws.String("assumedSecretAccessKey"), - SessionToken: aws.String("assumedSessionToken"), - Expiration: &expiry, - }, - }, nil -} - -// intercepts calls to IMDS and handles them appropriately -// forwards any that don't match known paths to the inner HTTPClient -type imdsForwarder struct { - innerClient HTTPClient -} - -func (f imdsForwarder) Do(r *http.Request) (*http.Response, error) { - if r.URL.Path == "/latest/api/token" { - header := http.Header{} - // bounce the TTL header - const ttlHeader = "X-Aws-Ec2-Metadata-Token-Ttl-Seconds" - header.Set(ttlHeader, r.Header.Get(ttlHeader)) - return &http.Response{StatusCode: 200, Header: header, Body: io.NopCloser(strings.NewReader("validToken"))}, nil - } - if r.URL.Path == "/latest/meta-data/iam/security-credentials/" { - return &http.Response{StatusCode: 200, Body: io.NopCloser(strings.NewReader("RoleName"))}, nil - } - if r.URL.Path == "/latest/meta-data/iam/security-credentials/RoleName" { - return &http.Response{StatusCode: 200, Body: io.NopCloser(strings.NewReader(ecsResponse))}, nil - } - return f.innerClient.Do(r) -} - -type ssoForwarder struct { - innerClient HTTPClient -} - -func (f ssoForwarder) Do(r *http.Request) (*http.Response, error) { - if strings.Contains(r.URL.Host, "sso") { - body := fmt.Sprintf( - getRoleCredentialsResponse, - time.Now(). - Add(15*time.Minute). - UnixNano()/int64(time.Millisecond)) - return &http.Response{StatusCode: 200, Body: io.NopCloser(strings.NewReader(body))}, nil - } - return f.innerClient.Do(r) -} - -func TestUserAgentCredentials(t *testing.T) { - cases := map[string]struct { - // given - ExtraLoadFunctions []func(*LoadOptions) error - Init func(*testing.T) - HTTPClientOverride func(existing HTTPClient) HTTPClient - - // assert - Expect []middleware.UserAgentFeature - ExpectIntermediateSts []middleware.UserAgentFeature - }{ - "hardcoded credentials": { - Expect: []middleware.UserAgentFeature{middleware.UserAgentFeatureCredentialsCode}, - ExtraLoadFunctions: []func(*LoadOptions) error{WithCredentialsProvider(credentials.NewStaticCredentialsProvider("key", "id", "session"))}, - }, - "environment credentials": { - Init: func(t *testing.T) { - t.Setenv("AWS_ACCESS_KEY_ID", "key") - t.Setenv("AWS_SECRET_ACCESS_KEY", "secret") - }, - Expect: []middleware.UserAgentFeature{middleware.UserAgentFeatureCredentialsEnvVars}, - }, - "web identity token from profile": { - Init: func(t *testing.T) { - t.Setenv("AWS_WEB_IDENTITY_TOKEN_FILE", "testdata/wit.txt") - t.Setenv("AWS_REGION", "us-east-1") - }, - ExtraLoadFunctions: []func(*LoadOptions) error{ - WithWebIdentityRoleCredentialOptions(func(options *stscreds.WebIdentityRoleOptions) { - options.RoleARN = "test-arn" - })}, - Expect: []middleware.UserAgentFeature{middleware.UserAgentFeatureCredentialsEnvVarsStsWebIDToken}, - }, - "sts assume role": { - ExtraLoadFunctions: []func(*LoadOptions) error{ - WithCredentialsProvider(stscreds.NewAssumeRoleProvider(mockAssumeRole{}, "role-arn", func(o *stscreds.AssumeRoleOptions) {}))}, - Expect: []middleware.UserAgentFeature{middleware.UserAgentFeatureCredentialsStsAssumeRole}, - }, - "credentials profile": { - ExtraLoadFunctions: []func(*LoadOptions) error{ - WithSharedCredentialsFiles([]string{"testdata/config_ua_credential_provider"}), - }, - Expect: []middleware.UserAgentFeature{middleware.UserAgentFeatureCredentialsProfile}, - }, - "assume role with source profile": { - ExtraLoadFunctions: []func(*LoadOptions) error{ - WithSharedConfigFiles([]string{"testdata/config_ua_credential_provider"}), - WithSharedConfigProfile("A"), - }, - Expect: []middleware.UserAgentFeature{ - middleware.UserAgentFeatureCredentialsProfile, - middleware.UserAgentFeatureCredentialsProfileSourceProfile, - middleware.UserAgentFeatureCredentialsStsAssumeRole, - }, - ExpectIntermediateSts: []middleware.UserAgentFeature{ - middleware.UserAgentFeatureCredentialsProfile, - middleware.UserAgentFeatureCredentialsProfileSourceProfile, - }, - }, - "named credentials profile http": { - ExtraLoadFunctions: []func(*LoadOptions) error{ - WithSharedConfigFiles([]string{"testdata/config_ua_credential_provider"}), - WithSharedConfigProfile("ecscontainer"), - }, - Init: func(t *testing.T) { - ecsMetadataServer := httptest.NewServer(http.HandlerFunc( - func(w http.ResponseWriter, r *http.Request) { - w.Write([]byte(ecsResponse)) - })) - t.Setenv("AWS_CONTAINER_CREDENTIALS_FULL_URI", ecsMetadataServer.URL) - t.Cleanup(ecsMetadataServer.Close) - }, - Expect: []middleware.UserAgentFeature{ - middleware.UserAgentFeatureCredentialsStsAssumeRole, - middleware.UserAgentFeatureCredentialsHTTP, - middleware.UserAgentFeatureCredentialsProfileNamedProvider, - }, - ExpectIntermediateSts: []middleware.UserAgentFeature{ - middleware.UserAgentFeatureCredentialsHTTP, - middleware.UserAgentFeatureCredentialsProfileNamedProvider, - }, - }, - "sso credentials": { - Init: func(t *testing.T) { - // filename is the sha1 of the sso_sesion value - ssoSetup(t, "d033e22ae348aeb5660fc2140aec35850c4da997.json") - }, - HTTPClientOverride: func(existing HTTPClient) HTTPClient { - return ssoForwarder{existing} - }, - Expect: []middleware.UserAgentFeature{ - middleware.UserAgentFeatureCredentialsProfileSso, - middleware.UserAgentFeatureCredentialsSso, - }, - ExtraLoadFunctions: []func(*LoadOptions) error{ - WithSharedConfigFiles([]string{"testdata/config_ua_credential_provider"}), - WithSharedConfigProfile("sso-token"), - }, - }, - "sso credentials legacy": { - Init: func(t *testing.T) { - // filename is sha1 of the host name - ssoSetup(t, "239e5a291d940f9e746e1c722f1b936d0dc3814d.json") - }, - HTTPClientOverride: func(existing HTTPClient) HTTPClient { - return ssoForwarder{existing} - }, - Expect: []middleware.UserAgentFeature{ - middleware.UserAgentFeatureCredentialsProfileSsoLegacy, - middleware.UserAgentFeatureCredentialsSsoLegacy, - }, - ExtraLoadFunctions: []func(*LoadOptions) error{ - WithSharedConfigFiles([]string{"testdata/config_ua_credential_provider"}), - WithSharedConfigProfile("sso_creds"), - }, - }, - "profile process": { - Expect: []middleware.UserAgentFeature{ - middleware.UserAgentFeatureCredentialsProfileProcess, - middleware.UserAgentFeatureCredentialsProcess, - }, - ExtraLoadFunctions: []func(*LoadOptions) error{ - func(options *LoadOptions) error { - if runtime.GOOS == "windows" { - options.SharedConfigFiles = []string{"testdata/config_ua_credential_provider_windows"} - } else { - options.SharedConfigFiles = []string{"testdata/config_ua_credential_provider"} - } - return nil - }, - WithSharedConfigProfile("process"), - }, - }, - "imds": { - Init: func(t *testing.T) { - // Actual value doesn't matter, as long as the env variable is set - t.Setenv("AWS_EC2_METADATA_SERVICE_ENDPOINT", "http://non-routable-just-setting-to-signal-ec2.invalid") - }, - HTTPClientOverride: func(existing HTTPClient) HTTPClient { - return imdsForwarder{existing} - }, - Expect: []middleware.UserAgentFeature{ - middleware.UserAgentFeatureCredentialsIMDS, - }, - }, - } - - for name, c := range cases { - t.Run(name, func(t *testing.T) { - var ua stsCaptureUserAgentFeatures - optFns := []func(*LoadOptions) error{ - WithHTTPClient(&ua), - // If any credentials or config files are set up locally, ignore them - // to prevent accidentally picking them up and messing up the tests - WithSharedConfigFiles([]string{""}), - WithSharedCredentialsFiles([]string{""}), - WithRetryer(func() aws.Retryer { - return aws.NopRetryer{} - }), - // some endpoint rules seem to require a region set up - WithRegion("us-east-1"), - } - if c.ExtraLoadFunctions != nil { - optFns = append(optFns, c.ExtraLoadFunctions...) - } - if c.Init != nil { - c.Init(t) - } - if c.HTTPClientOverride != nil { - optFns = append(optFns, WithHTTPClient(c.HTTPClientOverride(&ua))) - } - cfg, err := LoadDefaultConfig(context.TODO(), optFns...) - if err != nil { - t.Fatalf("expect no error, got %v", err) - } - - client := sts.NewFromConfig(cfg) - // doesn't matter, we're just making a call to record user agent - in := "test" - client.DecodeAuthorizationMessage(context.TODO(), &sts.DecodeAuthorizationMessageInput{EncodedMessage: &in}) - compareFeatures(t, c.Expect, ua.features) - if c.ExpectIntermediateSts != nil { - compareFeatures(t, c.ExpectIntermediateSts, ua.intermediateFeatures) - } - }) - } -} - -func compareFeatures(t *testing.T, expected []middleware.UserAgentFeature, actual []string) { - expectedStr := make([]string, 0, len(expected)) - for _, e := range expected { - expectedStr = append(expectedStr, string(e)) - } - - slices.Sort(expectedStr) - slices.Sort(actual) - ok := slices.Equal(actual, expectedStr) - if !ok { - t.Errorf("expect %v, got %v", expectedStr, actual) - } -} - -func ssoSetup(t *testing.T, filename string) { - dir := t.TempDir() - cacheDir := filepath.Join(dir, ".aws", "sso", "cache") - err := os.MkdirAll(cacheDir, 0750) - if err != nil { - t.Fatal(err) - } - - tokenFile, err := os.Create(filepath.Join(cacheDir, filename)) - if err != nil { - t.Fatal(err) - } - - defer tokenFile.Close() - - tokenContent := fmt.Sprintf(ssoTokenCacheFile, smithytime.FormatDateTime(time.Now().Add(15*time.Minute))) - _, err = tokenFile.WriteString(tokenContent) - if err != nil { - t.Fatal(err) - } - - if runtime.GOOS == "windows" { - t.Setenv("USERPROFILE", dir) - } else { - t.Setenv("HOME", dir) - } -} diff --git a/config/resolve_credentials.go b/config/resolve_credentials.go index b00259df03a..7ae252e2e87 100644 --- a/config/resolve_credentials.go +++ b/config/resolve_credentials.go @@ -112,15 +112,13 @@ func resolveCredentialChain(ctx context.Context, cfg *aws.Config, configs config switch { case sharedProfileSet: - ctx, err = resolveCredsFromProfile(ctx, cfg, envConfig, sharedConfig, other) + err = resolveCredsFromProfile(ctx, cfg, envConfig, sharedConfig, other) case envConfig.Credentials.HasKeys(): - ctx = addCredentialSource(ctx, aws.CredentialSourceEnvVars) - cfg.Credentials = credentials.StaticCredentialsProvider{Value: envConfig.Credentials, Source: getCredentialSources(ctx)} + cfg.Credentials = credentials.StaticCredentialsProvider{Value: envConfig.Credentials} case len(envConfig.WebIdentityTokenFilePath) > 0: - ctx = addCredentialSource(ctx, aws.CredentialSourceEnvVarsSTSWebIDToken) err = assumeWebIdentity(ctx, cfg, envConfig.WebIdentityTokenFilePath, envConfig.RoleARN, envConfig.RoleSessionName, configs) default: - ctx, err = resolveCredsFromProfile(ctx, cfg, envConfig, sharedConfig, other) + err = resolveCredsFromProfile(ctx, cfg, envConfig, sharedConfig, other) } if err != nil { return err @@ -135,71 +133,53 @@ func resolveCredentialChain(ctx context.Context, cfg *aws.Config, configs config return nil } -func resolveCredsFromProfile(ctx context.Context, cfg *aws.Config, envConfig *EnvConfig, sharedConfig *SharedConfig, configs configs) (ctx2 context.Context, err error) { +func resolveCredsFromProfile(ctx context.Context, cfg *aws.Config, envConfig *EnvConfig, sharedConfig *SharedConfig, configs configs) (err error) { + switch { case sharedConfig.Source != nil: - ctx = addCredentialSource(ctx, aws.CredentialSourceProfileSourceProfile) // Assume IAM role with credentials source from a different profile. - ctx, err = resolveCredsFromProfile(ctx, cfg, envConfig, sharedConfig.Source, configs) + err = resolveCredsFromProfile(ctx, cfg, envConfig, sharedConfig.Source, configs) case sharedConfig.Credentials.HasKeys(): // Static Credentials from Shared Config/Credentials file. - ctx = addCredentialSource(ctx, aws.CredentialSourceProfile) cfg.Credentials = credentials.StaticCredentialsProvider{ - Value: sharedConfig.Credentials, - Source: getCredentialSources(ctx), + Value: sharedConfig.Credentials, } case len(sharedConfig.CredentialSource) != 0: - ctx = addCredentialSource(ctx, aws.CredentialSourceProfileNamedProvider) - ctx, err = resolveCredsFromSource(ctx, cfg, envConfig, sharedConfig, configs) + err = resolveCredsFromSource(ctx, cfg, envConfig, sharedConfig, configs) case len(sharedConfig.WebIdentityTokenFile) != 0: // Credentials from Assume Web Identity token require an IAM Role, and // that roll will be assumed. May be wrapped with another assume role // via SourceProfile. - ctx = addCredentialSource(ctx, aws.CredentialSourceProfileSTSWebIDToken) - return ctx, assumeWebIdentity(ctx, cfg, sharedConfig.WebIdentityTokenFile, sharedConfig.RoleARN, sharedConfig.RoleSessionName, configs) + return assumeWebIdentity(ctx, cfg, sharedConfig.WebIdentityTokenFile, sharedConfig.RoleARN, sharedConfig.RoleSessionName, configs) case sharedConfig.hasSSOConfiguration(): - if sharedConfig.hasLegacySSOConfiguration() { - ctx = addCredentialSource(ctx, aws.CredentialSourceProfileSSOLegacy) - ctx = addCredentialSource(ctx, aws.CredentialSourceSSOLegacy) - } else { - ctx = addCredentialSource(ctx, aws.CredentialSourceSSO) - } - if sharedConfig.SSOSession != nil { - ctx = addCredentialSource(ctx, aws.CredentialSourceProfileSSO) - } err = resolveSSOCredentials(ctx, cfg, sharedConfig, configs) case len(sharedConfig.CredentialProcess) != 0: // Get credentials from CredentialProcess - ctx = addCredentialSource(ctx, aws.CredentialSourceProfileProcess) - ctx = addCredentialSource(ctx, aws.CredentialSourceProcess) err = processCredentials(ctx, cfg, sharedConfig, configs) case len(envConfig.ContainerCredentialsRelativePath) != 0: - ctx = addCredentialSource(ctx, aws.CredentialSourceHTTP) err = resolveHTTPCredProvider(ctx, cfg, ecsContainerURI(envConfig.ContainerCredentialsRelativePath), envConfig.ContainerAuthorizationToken, configs) case len(envConfig.ContainerCredentialsEndpoint) != 0: - ctx = addCredentialSource(ctx, aws.CredentialSourceHTTP) err = resolveLocalHTTPCredProvider(ctx, cfg, envConfig.ContainerCredentialsEndpoint, envConfig.ContainerAuthorizationToken, configs) default: - ctx = addCredentialSource(ctx, aws.CredentialSourceIMDS) err = resolveEC2RoleCredentials(ctx, cfg, configs) } if err != nil { - return ctx, err + return err } if len(sharedConfig.RoleARN) > 0 { - return ctx, credsFromAssumeRole(ctx, cfg, sharedConfig, configs) + return credsFromAssumeRole(ctx, cfg, sharedConfig, configs) } - return ctx, nil + return nil } func resolveSSOCredentials(ctx context.Context, cfg *aws.Config, sharedConfig *SharedConfig, configs configs) error { @@ -218,10 +198,6 @@ func resolveSSOCredentials(ctx context.Context, cfg *aws.Config, sharedConfig *S cfgCopy := cfg.Copy() - options = append(options, func(o *ssocreds.Options) { - o.CredentialSources = getCredentialSources(ctx) - }) - if sharedConfig.SSOSession != nil { ssoTokenProviderOptionsFn, found, err := getSSOTokenProviderOptions(ctx, configs) if err != nil { @@ -266,10 +242,6 @@ func processCredentials(ctx context.Context, cfg *aws.Config, sharedConfig *Shar opts = append(opts, options) } - opts = append(opts, func(o *processcreds.Options) { - o.CredentialSources = getCredentialSources(ctx) - }) - cfg.Credentials = processcreds.NewProvider(sharedConfig.CredentialProcess, opts...) return nil @@ -351,7 +323,6 @@ func resolveHTTPCredProvider(ctx context.Context, cfg *aws.Config, url, authToke if cfg.Retryer != nil { options.Retryer = cfg.Retryer() } - options.CredentialSources = getCredentialSources(ctx) }, } @@ -375,31 +346,28 @@ func resolveHTTPCredProvider(ctx context.Context, cfg *aws.Config, url, authToke return nil } -func resolveCredsFromSource(ctx context.Context, cfg *aws.Config, envConfig *EnvConfig, sharedCfg *SharedConfig, configs configs) (context.Context, error) { +func resolveCredsFromSource(ctx context.Context, cfg *aws.Config, envConfig *EnvConfig, sharedCfg *SharedConfig, configs configs) (err error) { switch sharedCfg.CredentialSource { case credSourceEc2Metadata: - ctx = addCredentialSource(ctx, aws.CredentialSourceIMDS) - return ctx, resolveEC2RoleCredentials(ctx, cfg, configs) + return resolveEC2RoleCredentials(ctx, cfg, configs) case credSourceEnvironment: - ctx = addCredentialSource(ctx, aws.CredentialSourceHTTP) - cfg.Credentials = credentials.StaticCredentialsProvider{Value: envConfig.Credentials, Source: getCredentialSources(ctx)} + cfg.Credentials = credentials.StaticCredentialsProvider{Value: envConfig.Credentials} case credSourceECSContainer: - ctx = addCredentialSource(ctx, aws.CredentialSourceHTTP) if len(envConfig.ContainerCredentialsRelativePath) != 0 { - return ctx, resolveHTTPCredProvider(ctx, cfg, ecsContainerURI(envConfig.ContainerCredentialsRelativePath), envConfig.ContainerAuthorizationToken, configs) + return resolveHTTPCredProvider(ctx, cfg, ecsContainerURI(envConfig.ContainerCredentialsRelativePath), envConfig.ContainerAuthorizationToken, configs) } if len(envConfig.ContainerCredentialsEndpoint) != 0 { - return ctx, resolveLocalHTTPCredProvider(ctx, cfg, envConfig.ContainerCredentialsEndpoint, envConfig.ContainerAuthorizationToken, configs) + return resolveLocalHTTPCredProvider(ctx, cfg, envConfig.ContainerCredentialsEndpoint, envConfig.ContainerAuthorizationToken, configs) } - return ctx, fmt.Errorf("EcsContainer was specified as the credential_source, but neither 'AWS_CONTAINER_CREDENTIALS_RELATIVE_URI' or AWS_CONTAINER_CREDENTIALS_FULL_URI' was set") + return fmt.Errorf("EcsContainer was specified as the credential_source, but neither 'AWS_CONTAINER_CREDENTIALS_RELATIVE_URI' or AWS_CONTAINER_CREDENTIALS_FULL_URI' was set") default: - return ctx, fmt.Errorf("credential_source values must be EcsContainer, Ec2InstanceMetadata, or Environment") + return fmt.Errorf("credential_source values must be EcsContainer, Ec2InstanceMetadata, or Environment") } - return ctx, nil + return nil } func resolveEC2RoleCredentials(ctx context.Context, cfg *aws.Config, configs configs) error { @@ -418,7 +386,6 @@ func resolveEC2RoleCredentials(ctx context.Context, cfg *aws.Config, configs con if o.Client == nil { o.Client = imds.NewFromConfig(*cfg) } - o.CredentialSources = getCredentialSources(ctx) }) provider := ec2rolecreds.New(optFns...) @@ -427,6 +394,7 @@ func resolveEC2RoleCredentials(ctx context.Context, cfg *aws.Config, configs con if err != nil { return err } + return nil } @@ -505,10 +473,6 @@ func assumeWebIdentity(ctx context.Context, cfg *aws.Config, filepath string, ro RoleARN: roleARN, } - optFns = append(optFns, func(options *stscreds.WebIdentityRoleOptions) { - options.CredentialSources = getCredentialSources(ctx) - }) - for _, fn := range optFns { fn(&opts) } @@ -530,8 +494,6 @@ func assumeWebIdentity(ctx context.Context, cfg *aws.Config, filepath string, ro } func credsFromAssumeRole(ctx context.Context, cfg *aws.Config, sharedCfg *SharedConfig, configs configs) (err error) { - // resolve credentials early - credentialSources := getCredentialSources(ctx) optFns := []func(*stscreds.AssumeRoleOptions){ func(options *stscreds.AssumeRoleOptions) { options.RoleSessionName = sharedCfg.RoleSessionName @@ -549,9 +511,6 @@ func credsFromAssumeRole(ctx context.Context, cfg *aws.Config, sharedCfg *Shared if len(sharedCfg.MFASerial) != 0 { options.SerialNumber = aws.String(sharedCfg.MFASerial) } - - // add existing credential chain - options.CredentialSources = credentialSources }, } @@ -574,6 +533,7 @@ func credsFromAssumeRole(ctx context.Context, cfg *aws.Config, sharedCfg *Shared return AssumeRoleTokenProviderNotSetError{} } } + cfg.Credentials = stscreds.NewAssumeRoleProvider(sts.NewFromConfig(*cfg), sharedCfg.RoleARN, optFns...) return nil @@ -607,21 +567,3 @@ func wrapWithCredentialsCache( return aws.NewCredentialsCache(provider, optFns...), nil } - -// credentialSource stores the chain of providers that was used to create an instance of -// a credentials provider on the context -type credentialSource struct{} - -func addCredentialSource(ctx context.Context, source aws.CredentialSource) context.Context { - existing, ok := ctx.Value(credentialSource{}).([]aws.CredentialSource) - if !ok { - existing = []aws.CredentialSource{source} - } else { - existing = append(existing, source) - } - return context.WithValue(ctx, credentialSource{}, existing) -} - -func getCredentialSources(ctx context.Context) []aws.CredentialSource { - return ctx.Value(credentialSource{}).([]aws.CredentialSource) -} diff --git a/config/testdata/config_ua_credential_provider b/config/testdata/config_ua_credential_provider deleted file mode 100644 index f6dd7238f42..00000000000 --- a/config/testdata/config_ua_credential_provider +++ /dev/null @@ -1,31 +0,0 @@ -[default] -aws_access_key_id = ACCESS_KEY_0 -aws_secret_access_key = SECRET_KEY_0 - -[profile A] -role_arn = arn:aws:iam::123456789:role/RoleA -source_profile = B - -[profile B] -aws_access_key_id = abc123 -aws_secret_access_key = def456 - -[profile ecscontainer] -role_arn = abc -credential_source = EcsContainer - -[profile sso_creds] -sso_account_id = 012345678901 -sso_region = us-west-2 -sso_role_name = TestRole -sso_start_url = https://invalid.com - -[profile sso-token] -sso_session = admin - -[sso-session admin] -sso_start_url = https://view.awsapps.com/start -sso_region = us-east-1 - -[profile process] -credential_process = echo '{"Version": 1, "AccessKeyId": "key", "SecretAccessKey": "secret", "SessionToken": "session", "Expiration": "2006-01-02T15:04:05.999Z" }' \ No newline at end of file diff --git a/config/testdata/config_ua_credential_provider_windows b/config/testdata/config_ua_credential_provider_windows deleted file mode 100644 index 79515af9aa1..00000000000 --- a/config/testdata/config_ua_credential_provider_windows +++ /dev/null @@ -1,31 +0,0 @@ -[default] -aws_access_key_id = ACCESS_KEY_0 -aws_secret_access_key = SECRET_KEY_0 - -[profile A] -role_arn = arn:aws:iam::123456789:role/RoleA -source_profile = B - -[profile B] -aws_access_key_id = abc123 -aws_secret_access_key = def456 - -[profile ecscontainer] -role_arn = abc -credential_source = EcsContainer - -[profile sso_creds] -sso_account_id = 012345678901 -sso_region = us-west-2 -sso_role_name = TestRole -sso_start_url = https://invalid.com - -[profile sso-token] -sso_session = admin - -[sso-session admin] -sso_start_url = https://view.awsapps.com/start -sso_region = us-east-1 - -[profile process] -credential_process = echo {"Version": 1, "AccessKeyId": "key", "SecretAccessKey": "secret", "SessionToken": "session", "Expiration": "2006-01-02T15:04:05.999Z" } \ No newline at end of file diff --git a/credentials/ec2rolecreds/provider.go b/credentials/ec2rolecreds/provider.go index a95e6c8bdd6..5c699f16650 100644 --- a/credentials/ec2rolecreds/provider.go +++ b/credentials/ec2rolecreds/provider.go @@ -47,10 +47,6 @@ type Options struct { // // If nil, the provider will default to the EC2 IMDS client. Client GetMetadataAPIClient - - // The chain of providers that was used to create this provider - // These values are for reporting purposes and are not meant to be set up directly - CredentialSources []aws.CredentialSource } // New returns an initialized Provider value configured to retrieve @@ -231,11 +227,3 @@ func requestCred(ctx context.Context, client GetMetadataAPIClient, credsName str return respCreds, nil } - -// ProviderSources returns the credential chain that was used to construct this provider -func (p *Provider) ProviderSources() []aws.CredentialSource { - if p.options.CredentialSources == nil { - return []aws.CredentialSource{aws.CredentialSourceIMDS} - } // If no source has been set, assume this is used directly which means just call to assume role - return p.options.CredentialSources -} diff --git a/credentials/endpointcreds/provider.go b/credentials/endpointcreds/provider.go index c8ac6d9ff18..2386153a9ec 100644 --- a/credentials/endpointcreds/provider.go +++ b/credentials/endpointcreds/provider.go @@ -98,10 +98,6 @@ type Options struct { // // Will override AuthorizationToken if configured AuthorizationTokenProvider AuthTokenProvider - - // The chain of providers that was used to create this provider - // These values are for reporting purposes and are not meant to be set up directly - CredentialSources []aws.CredentialSource } // AuthTokenProvider defines an interface to dynamically load a value to be passed @@ -195,13 +191,3 @@ func (p *Provider) resolveAuthToken() (string, error) { return authToken, nil } - -var _ aws.CredentialProviderSource = (*Provider)(nil) - -// ProviderSources returns the credential chain that was used to construct this provider -func (p *Provider) ProviderSources() []aws.CredentialSource { - if p.options.CredentialSources == nil { - return []aws.CredentialSource{aws.CredentialSourceHTTP} - } - return p.options.CredentialSources -} diff --git a/credentials/processcreds/provider.go b/credentials/processcreds/provider.go index dfc6b2548ed..911fcc32729 100644 --- a/credentials/processcreds/provider.go +++ b/credentials/processcreds/provider.go @@ -57,9 +57,6 @@ type Provider struct { type Options struct { // Timeout limits the time a process can run. Timeout time.Duration - // The chain of providers that was used to create this provider - // These values are for reporting purposes and are not meant to be set up directly - CredentialSources []aws.CredentialSource } // NewCommandBuilder provides the interface for specifying how command will be @@ -277,14 +274,6 @@ func (p *Provider) executeCredentialProcess(ctx context.Context) ([]byte, error) return out, nil } -// ProviderSources returns the credential chain that was used to construct this provider -func (p *Provider) ProviderSources() []aws.CredentialSource { - if p.options.CredentialSources == nil { - return []aws.CredentialSource{aws.CredentialSourceProcess} - } - return p.options.CredentialSources -} - func executeCommand(cmd *exec.Cmd, exec chan error) { // Start the command err := cmd.Start() diff --git a/credentials/ssocreds/sso_credentials_provider.go b/credentials/ssocreds/sso_credentials_provider.go index 3ed9cbb3ec0..8c230be8eb8 100644 --- a/credentials/ssocreds/sso_credentials_provider.go +++ b/credentials/ssocreds/sso_credentials_provider.go @@ -49,10 +49,6 @@ type Options struct { // Used by the SSOCredentialProvider if a token configuration // profile is used in the shared config SSOTokenProvider *SSOTokenProvider - - // The chain of providers that was used to create this provider. - // These values are for reporting purposes and are not meant to be set up directly - CredentialSources []aws.CredentialSource } // Provider is an AWS credential provider that retrieves temporary AWS @@ -137,14 +133,6 @@ func (p *Provider) Retrieve(ctx context.Context) (aws.Credentials, error) { }, nil } -// ProviderSources returns the credential chain that was used to construct this provider -func (p *Provider) ProviderSources() []aws.CredentialSource { - if p.options.CredentialSources == nil { - return []aws.CredentialSource{aws.CredentialSourceSSO} - } - return p.options.CredentialSources -} - // InvalidTokenError is the error type that is returned if loaded token has // expired or is otherwise invalid. To refresh the SSO session run AWS SSO // login with the corresponding profile. diff --git a/credentials/static_provider.go b/credentials/static_provider.go index a469abdb790..d525cac0960 100644 --- a/credentials/static_provider.go +++ b/credentials/static_provider.go @@ -22,16 +22,6 @@ func (*StaticCredentialsEmptyError) Error() string { // never expire. type StaticCredentialsProvider struct { Value aws.Credentials - // These values are for reporting purposes and are not meant to be set up directly - Source []aws.CredentialSource -} - -// ProviderSources returns the credential chain that was used to construct this provider -func (s StaticCredentialsProvider) ProviderSources() []aws.CredentialSource { - if s.Source == nil { - return []aws.CredentialSource{aws.CredentialSourceCode} // If no source has been set, assume this is used directly which means hardcoded creds - } - return s.Source } // NewStaticCredentialsProvider return a StaticCredentialsProvider initialized with the AWS diff --git a/credentials/stscreds/assume_role_provider.go b/credentials/stscreds/assume_role_provider.go index 1ccf71e77e6..4c7f7993f54 100644 --- a/credentials/stscreds/assume_role_provider.go +++ b/credentials/stscreds/assume_role_provider.go @@ -247,10 +247,6 @@ type AssumeRoleOptions struct { // (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html#id_session-tags_role-chaining) // in the IAM User Guide. This parameter is optional. TransitiveTagKeys []string - - // The chain of providers that was used to create this provider - // These values are for reporting purposes and are not meant to be set up directly - CredentialSources []aws.CredentialSource } // NewAssumeRoleProvider constructs and returns a credentials provider that @@ -328,11 +324,3 @@ func (p *AssumeRoleProvider) Retrieve(ctx context.Context) (aws.Credentials, err AccountID: accountID, }, nil } - -// ProviderSources returns the credential chain that was used to construct this provider -func (p *AssumeRoleProvider) ProviderSources() []aws.CredentialSource { - if p.options.CredentialSources == nil { - return []aws.CredentialSource{aws.CredentialSourceSTSAssumeRole} - } // If no source has been set, assume this is used directly which means just call to assume role - return append(p.options.CredentialSources, aws.CredentialSourceSTSAssumeRole) -} diff --git a/credentials/stscreds/web_identity_provider.go b/credentials/stscreds/web_identity_provider.go index 5f4286dda46..b4b71970862 100644 --- a/credentials/stscreds/web_identity_provider.go +++ b/credentials/stscreds/web_identity_provider.go @@ -64,10 +64,6 @@ type WebIdentityRoleOptions struct { // want to use as managed session policies. The policies must exist in the // same account as the role. PolicyARNs []types.PolicyDescriptorType - - // The chain of providers that was used to create this provider - // These values are for reporting purposes and are not meant to be set up directly - CredentialSources []aws.CredentialSource } // IdentityTokenRetriever is an interface for retrieving a JWT @@ -171,11 +167,3 @@ func getAccountID(u *types.AssumedRoleUser) string { } return parts[4] } - -// ProviderSources returns the credential chain that was used to construct this provider -func (p *WebIdentityRoleProvider) ProviderSources() []aws.CredentialSource { - if p.options.CredentialSources == nil { - return []aws.CredentialSource{aws.CredentialSourceSTSAssumeRoleWebID} - } - return p.options.CredentialSources -} diff --git a/internal/protocoltest/awsrestjson/api_client.go b/internal/protocoltest/awsrestjson/api_client.go index ed11f8e1c18..13444a80cfa 100644 --- a/internal/protocoltest/awsrestjson/api_client.go +++ b/internal/protocoltest/awsrestjson/api_client.go @@ -774,37 +774,6 @@ func addIsRequestCompressionUserAgent(stack *middleware.Stack, options Options) return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/internal/protocoltest/awsrestjson/api_op_AllQueryStringTypes.go b/internal/protocoltest/awsrestjson/api_op_AllQueryStringTypes.go index 2ab2b6905e6..9f169425e4c 100644 --- a/internal/protocoltest/awsrestjson/api_op_AllQueryStringTypes.go +++ b/internal/protocoltest/awsrestjson/api_op_AllQueryStringTypes.go @@ -145,9 +145,6 @@ func (c *Client) addOperationAllQueryStringTypesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAllQueryStringTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_ConstantAndVariableQueryString.go b/internal/protocoltest/awsrestjson/api_op_ConstantAndVariableQueryString.go index f6bbc6dc0f1..558249d12b5 100644 --- a/internal/protocoltest/awsrestjson/api_op_ConstantAndVariableQueryString.go +++ b/internal/protocoltest/awsrestjson/api_op_ConstantAndVariableQueryString.go @@ -107,9 +107,6 @@ func (c *Client) addOperationConstantAndVariableQueryStringMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opConstantAndVariableQueryString(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_ConstantQueryString.go b/internal/protocoltest/awsrestjson/api_op_ConstantQueryString.go index 67a68ee9f8f..84822c5e494 100644 --- a/internal/protocoltest/awsrestjson/api_op_ConstantQueryString.go +++ b/internal/protocoltest/awsrestjson/api_op_ConstantQueryString.go @@ -108,9 +108,6 @@ func (c *Client) addOperationConstantQueryStringMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpConstantQueryStringValidationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_ContentTypeParameters.go b/internal/protocoltest/awsrestjson/api_op_ContentTypeParameters.go index 6112d96455a..ad64d35a775 100644 --- a/internal/protocoltest/awsrestjson/api_op_ContentTypeParameters.go +++ b/internal/protocoltest/awsrestjson/api_op_ContentTypeParameters.go @@ -104,9 +104,6 @@ func (c *Client) addOperationContentTypeParametersMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opContentTypeParameters(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_DatetimeOffsets.go b/internal/protocoltest/awsrestjson/api_op_DatetimeOffsets.go index 5d590daa724..563df9ff208 100644 --- a/internal/protocoltest/awsrestjson/api_op_DatetimeOffsets.go +++ b/internal/protocoltest/awsrestjson/api_op_DatetimeOffsets.go @@ -103,9 +103,6 @@ func (c *Client) addOperationDatetimeOffsetsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDatetimeOffsets(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_DocumentType.go b/internal/protocoltest/awsrestjson/api_op_DocumentType.go index 4e819778673..884a34894bf 100644 --- a/internal/protocoltest/awsrestjson/api_op_DocumentType.go +++ b/internal/protocoltest/awsrestjson/api_op_DocumentType.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDocumentTypeMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDocumentType(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_DocumentTypeAsMapValue.go b/internal/protocoltest/awsrestjson/api_op_DocumentTypeAsMapValue.go index da156916f46..bbfd56b5afe 100644 --- a/internal/protocoltest/awsrestjson/api_op_DocumentTypeAsMapValue.go +++ b/internal/protocoltest/awsrestjson/api_op_DocumentTypeAsMapValue.go @@ -106,9 +106,6 @@ func (c *Client) addOperationDocumentTypeAsMapValueMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDocumentTypeAsMapValue(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_DocumentTypeAsPayload.go b/internal/protocoltest/awsrestjson/api_op_DocumentTypeAsPayload.go index 427eabbdaec..c32fc8140f6 100644 --- a/internal/protocoltest/awsrestjson/api_op_DocumentTypeAsPayload.go +++ b/internal/protocoltest/awsrestjson/api_op_DocumentTypeAsPayload.go @@ -106,9 +106,6 @@ func (c *Client) addOperationDocumentTypeAsPayloadMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDocumentTypeAsPayload(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_EmptyInputAndEmptyOutput.go b/internal/protocoltest/awsrestjson/api_op_EmptyInputAndEmptyOutput.go index e6cc314d165..c6a4bfe4022 100644 --- a/internal/protocoltest/awsrestjson/api_op_EmptyInputAndEmptyOutput.go +++ b/internal/protocoltest/awsrestjson/api_op_EmptyInputAndEmptyOutput.go @@ -104,9 +104,6 @@ func (c *Client) addOperationEmptyInputAndEmptyOutputMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEmptyInputAndEmptyOutput(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_EndpointOperation.go b/internal/protocoltest/awsrestjson/api_op_EndpointOperation.go index 5346a54c8dd..ac9bd4514c2 100644 --- a/internal/protocoltest/awsrestjson/api_op_EndpointOperation.go +++ b/internal/protocoltest/awsrestjson/api_op_EndpointOperation.go @@ -100,9 +100,6 @@ func (c *Client) addOperationEndpointOperationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opEndpointOperationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_EndpointWithHostLabelOperation.go b/internal/protocoltest/awsrestjson/api_op_EndpointWithHostLabelOperation.go index 8c60bc95621..ead6b347682 100644 --- a/internal/protocoltest/awsrestjson/api_op_EndpointWithHostLabelOperation.go +++ b/internal/protocoltest/awsrestjson/api_op_EndpointWithHostLabelOperation.go @@ -106,9 +106,6 @@ func (c *Client) addOperationEndpointWithHostLabelOperationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opEndpointWithHostLabelOperationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_FractionalSeconds.go b/internal/protocoltest/awsrestjson/api_op_FractionalSeconds.go index 77937ed895e..1f54be9b087 100644 --- a/internal/protocoltest/awsrestjson/api_op_FractionalSeconds.go +++ b/internal/protocoltest/awsrestjson/api_op_FractionalSeconds.go @@ -103,9 +103,6 @@ func (c *Client) addOperationFractionalSecondsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFractionalSeconds(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_GreetingWithErrors.go b/internal/protocoltest/awsrestjson/api_op_GreetingWithErrors.go index 45c91fe790d..bd868ced4c2 100644 --- a/internal/protocoltest/awsrestjson/api_op_GreetingWithErrors.go +++ b/internal/protocoltest/awsrestjson/api_op_GreetingWithErrors.go @@ -111,9 +111,6 @@ func (c *Client) addOperationGreetingWithErrorsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGreetingWithErrors(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_HostWithPathOperation.go b/internal/protocoltest/awsrestjson/api_op_HostWithPathOperation.go index b38a5a1d18b..1ab2d51838a 100644 --- a/internal/protocoltest/awsrestjson/api_op_HostWithPathOperation.go +++ b/internal/protocoltest/awsrestjson/api_op_HostWithPathOperation.go @@ -100,9 +100,6 @@ func (c *Client) addOperationHostWithPathOperationMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHostWithPathOperation(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_HttpChecksumRequired.go b/internal/protocoltest/awsrestjson/api_op_HttpChecksumRequired.go index a357d0626b2..db060a67d13 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpChecksumRequired.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpChecksumRequired.go @@ -105,9 +105,6 @@ func (c *Client) addOperationHttpChecksumRequiredMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_HttpEnumPayload.go b/internal/protocoltest/awsrestjson/api_op_HttpEnumPayload.go index 02dac82a7f8..f89c9f8ae52 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpEnumPayload.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpEnumPayload.go @@ -105,9 +105,6 @@ func (c *Client) addOperationHttpEnumPayloadMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpEnumPayload(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_HttpPayloadTraits.go b/internal/protocoltest/awsrestjson/api_op_HttpPayloadTraits.go index 3857aa3870f..72d9e50dfff 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpPayloadTraits.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpPayloadTraits.go @@ -112,9 +112,6 @@ func (c *Client) addOperationHttpPayloadTraitsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpPayloadTraits(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_HttpPayloadTraitsWithMediaType.go b/internal/protocoltest/awsrestjson/api_op_HttpPayloadTraitsWithMediaType.go index 2c06c7046c6..8c5db468941 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpPayloadTraitsWithMediaType.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpPayloadTraitsWithMediaType.go @@ -114,9 +114,6 @@ func (c *Client) addOperationHttpPayloadTraitsWithMediaTypeMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpPayloadTraitsWithMediaType(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_HttpPayloadWithStructure.go b/internal/protocoltest/awsrestjson/api_op_HttpPayloadWithStructure.go index 5c95ad5e647..97877f96ea6 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpPayloadWithStructure.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpPayloadWithStructure.go @@ -109,9 +109,6 @@ func (c *Client) addOperationHttpPayloadWithStructureMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpPayloadWithStructure(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_HttpPayloadWithUnion.go b/internal/protocoltest/awsrestjson/api_op_HttpPayloadWithUnion.go index b08ca4703e3..dff9d843286 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpPayloadWithUnion.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpPayloadWithUnion.go @@ -106,9 +106,6 @@ func (c *Client) addOperationHttpPayloadWithUnionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpPayloadWithUnion(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeaders.go b/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeaders.go index c00def951ac..90d067c532f 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeaders.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeaders.go @@ -110,9 +110,6 @@ func (c *Client) addOperationHttpPrefixHeadersMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpPrefixHeaders(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeadersInResponse.go b/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeadersInResponse.go index 1b52777448c..9783ee02a5e 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeadersInResponse.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeadersInResponse.go @@ -105,9 +105,6 @@ func (c *Client) addOperationHttpPrefixHeadersInResponseMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpPrefixHeadersInResponse(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_HttpRequestWithFloatLabels.go b/internal/protocoltest/awsrestjson/api_op_HttpRequestWithFloatLabels.go index c0dad1cddc7..70f141505b7 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpRequestWithFloatLabels.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpRequestWithFloatLabels.go @@ -107,9 +107,6 @@ func (c *Client) addOperationHttpRequestWithFloatLabelsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpHttpRequestWithFloatLabelsValidationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_HttpRequestWithGreedyLabelInPath.go b/internal/protocoltest/awsrestjson/api_op_HttpRequestWithGreedyLabelInPath.go index dee3bf77bae..905cbecf22f 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpRequestWithGreedyLabelInPath.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpRequestWithGreedyLabelInPath.go @@ -107,9 +107,6 @@ func (c *Client) addOperationHttpRequestWithGreedyLabelInPathMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpHttpRequestWithGreedyLabelInPathValidationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_HttpRequestWithLabels.go b/internal/protocoltest/awsrestjson/api_op_HttpRequestWithLabels.go index caffb2170bb..605559c4d38 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpRequestWithLabels.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpRequestWithLabels.go @@ -133,9 +133,6 @@ func (c *Client) addOperationHttpRequestWithLabelsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpHttpRequestWithLabelsValidationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_HttpRequestWithLabelsAndTimestampFormat.go b/internal/protocoltest/awsrestjson/api_op_HttpRequestWithLabelsAndTimestampFormat.go index a9732f9cce1..e7572af8924 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpRequestWithLabelsAndTimestampFormat.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpRequestWithLabelsAndTimestampFormat.go @@ -125,9 +125,6 @@ func (c *Client) addOperationHttpRequestWithLabelsAndTimestampFormatMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpHttpRequestWithLabelsAndTimestampFormatValidationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_HttpRequestWithRegexLiteral.go b/internal/protocoltest/awsrestjson/api_op_HttpRequestWithRegexLiteral.go index afa238cedd1..5a6d9782e3d 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpRequestWithRegexLiteral.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpRequestWithRegexLiteral.go @@ -104,9 +104,6 @@ func (c *Client) addOperationHttpRequestWithRegexLiteralMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpHttpRequestWithRegexLiteralValidationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_HttpResponseCode.go b/internal/protocoltest/awsrestjson/api_op_HttpResponseCode.go index 6cdc38876d3..375442eebcf 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpResponseCode.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpResponseCode.go @@ -102,9 +102,6 @@ func (c *Client) addOperationHttpResponseCodeMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpResponseCode(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_HttpStringPayload.go b/internal/protocoltest/awsrestjson/api_op_HttpStringPayload.go index e29ff33a4ab..d6cbf93bf0d 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpStringPayload.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpStringPayload.go @@ -104,9 +104,6 @@ func (c *Client) addOperationHttpStringPayloadMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpStringPayload(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_IgnoreQueryParamsInResponse.go b/internal/protocoltest/awsrestjson/api_op_IgnoreQueryParamsInResponse.go index 09212a70185..74fe75fbf79 100644 --- a/internal/protocoltest/awsrestjson/api_op_IgnoreQueryParamsInResponse.go +++ b/internal/protocoltest/awsrestjson/api_op_IgnoreQueryParamsInResponse.go @@ -105,9 +105,6 @@ func (c *Client) addOperationIgnoreQueryParamsInResponseMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opIgnoreQueryParamsInResponse(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_InputAndOutputWithHeaders.go b/internal/protocoltest/awsrestjson/api_op_InputAndOutputWithHeaders.go index 453a2d87120..0bb373d917c 100644 --- a/internal/protocoltest/awsrestjson/api_op_InputAndOutputWithHeaders.go +++ b/internal/protocoltest/awsrestjson/api_op_InputAndOutputWithHeaders.go @@ -176,9 +176,6 @@ func (c *Client) addOperationInputAndOutputWithHeadersMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInputAndOutputWithHeaders(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_JsonBlobs.go b/internal/protocoltest/awsrestjson/api_op_JsonBlobs.go index b7f47fbb9f6..d514dcc6faf 100644 --- a/internal/protocoltest/awsrestjson/api_op_JsonBlobs.go +++ b/internal/protocoltest/awsrestjson/api_op_JsonBlobs.go @@ -105,9 +105,6 @@ func (c *Client) addOperationJsonBlobsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opJsonBlobs(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_JsonEnums.go b/internal/protocoltest/awsrestjson/api_op_JsonEnums.go index 3cd0159f04a..249ca839219 100644 --- a/internal/protocoltest/awsrestjson/api_op_JsonEnums.go +++ b/internal/protocoltest/awsrestjson/api_op_JsonEnums.go @@ -126,9 +126,6 @@ func (c *Client) addOperationJsonEnumsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opJsonEnums(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_JsonIntEnums.go b/internal/protocoltest/awsrestjson/api_op_JsonIntEnums.go index 70bb167fccf..435a994a712 100644 --- a/internal/protocoltest/awsrestjson/api_op_JsonIntEnums.go +++ b/internal/protocoltest/awsrestjson/api_op_JsonIntEnums.go @@ -127,9 +127,6 @@ func (c *Client) addOperationJsonIntEnumsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opJsonIntEnums(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_JsonLists.go b/internal/protocoltest/awsrestjson/api_op_JsonLists.go index 1ac593d3318..80fc64fb3e3 100644 --- a/internal/protocoltest/awsrestjson/api_op_JsonLists.go +++ b/internal/protocoltest/awsrestjson/api_op_JsonLists.go @@ -147,9 +147,6 @@ func (c *Client) addOperationJsonListsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opJsonLists(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_JsonMaps.go b/internal/protocoltest/awsrestjson/api_op_JsonMaps.go index 37b23994068..cf9235953a1 100644 --- a/internal/protocoltest/awsrestjson/api_op_JsonMaps.go +++ b/internal/protocoltest/awsrestjson/api_op_JsonMaps.go @@ -122,9 +122,6 @@ func (c *Client) addOperationJsonMapsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opJsonMaps(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_JsonTimestamps.go b/internal/protocoltest/awsrestjson/api_op_JsonTimestamps.go index ade47be9ef8..6669304a637 100644 --- a/internal/protocoltest/awsrestjson/api_op_JsonTimestamps.go +++ b/internal/protocoltest/awsrestjson/api_op_JsonTimestamps.go @@ -131,9 +131,6 @@ func (c *Client) addOperationJsonTimestampsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opJsonTimestamps(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_JsonUnions.go b/internal/protocoltest/awsrestjson/api_op_JsonUnions.go index ea4264e56cd..cb7c9f79614 100644 --- a/internal/protocoltest/awsrestjson/api_op_JsonUnions.go +++ b/internal/protocoltest/awsrestjson/api_op_JsonUnions.go @@ -112,9 +112,6 @@ func (c *Client) addOperationJsonUnionsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opJsonUnions(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedAcceptWithBody.go b/internal/protocoltest/awsrestjson/api_op_MalformedAcceptWithBody.go index a788bfb47d2..d80220ac30b 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedAcceptWithBody.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedAcceptWithBody.go @@ -102,9 +102,6 @@ func (c *Client) addOperationMalformedAcceptWithBodyMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedAcceptWithBody(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedAcceptWithGenericString.go b/internal/protocoltest/awsrestjson/api_op_MalformedAcceptWithGenericString.go index 7694e729418..48550bb5c16 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedAcceptWithGenericString.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedAcceptWithGenericString.go @@ -102,9 +102,6 @@ func (c *Client) addOperationMalformedAcceptWithGenericStringMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedAcceptWithGenericString(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedAcceptWithPayload.go b/internal/protocoltest/awsrestjson/api_op_MalformedAcceptWithPayload.go index 96bd62381ae..dd0b3dd5d20 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedAcceptWithPayload.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedAcceptWithPayload.go @@ -104,9 +104,6 @@ func (c *Client) addOperationMalformedAcceptWithPayloadMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedAcceptWithPayload(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedBlob.go b/internal/protocoltest/awsrestjson/api_op_MalformedBlob.go index 661b003c904..de0c3558074 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedBlob.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedBlob.go @@ -102,9 +102,6 @@ func (c *Client) addOperationMalformedBlobMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedBlob(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedBoolean.go b/internal/protocoltest/awsrestjson/api_op_MalformedBoolean.go index 42a1ffc41e0..b82200c1b73 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedBoolean.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedBoolean.go @@ -110,9 +110,6 @@ func (c *Client) addOperationMalformedBooleanMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMalformedBooleanValidationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedByte.go b/internal/protocoltest/awsrestjson/api_op_MalformedByte.go index c9b90934f50..b8dd8d86f15 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedByte.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedByte.go @@ -110,9 +110,6 @@ func (c *Client) addOperationMalformedByteMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMalformedByteValidationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithBody.go b/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithBody.go index 041737b36f4..35f3c33a2fc 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithBody.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithBody.go @@ -102,9 +102,6 @@ func (c *Client) addOperationMalformedContentTypeWithBodyMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedContentTypeWithBody(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithGenericString.go b/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithGenericString.go index 4d684b82879..aa18d39f4f3 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithGenericString.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithGenericString.go @@ -102,9 +102,6 @@ func (c *Client) addOperationMalformedContentTypeWithGenericStringMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedContentTypeWithGenericString(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithPayload.go b/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithPayload.go index 5cca6dd2de6..01de2a110f6 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithPayload.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithPayload.go @@ -104,9 +104,6 @@ func (c *Client) addOperationMalformedContentTypeWithPayloadMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedContentTypeWithPayload(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithoutBody.go b/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithoutBody.go index 68bcf928d38..672fd3b3cc2 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithoutBody.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithoutBody.go @@ -100,9 +100,6 @@ func (c *Client) addOperationMalformedContentTypeWithoutBodyMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedContentTypeWithoutBody(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithoutBodyEmptyInput.go b/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithoutBodyEmptyInput.go index 78548de33ae..7483359acd1 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithoutBodyEmptyInput.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedContentTypeWithoutBodyEmptyInput.go @@ -102,9 +102,6 @@ func (c *Client) addOperationMalformedContentTypeWithoutBodyEmptyInputMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedContentTypeWithoutBodyEmptyInput(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedDouble.go b/internal/protocoltest/awsrestjson/api_op_MalformedDouble.go index 55e5f832014..071b2bf78a4 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedDouble.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedDouble.go @@ -110,9 +110,6 @@ func (c *Client) addOperationMalformedDoubleMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMalformedDoubleValidationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedFloat.go b/internal/protocoltest/awsrestjson/api_op_MalformedFloat.go index a5f821bbc91..5209e17c5e2 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedFloat.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedFloat.go @@ -110,9 +110,6 @@ func (c *Client) addOperationMalformedFloatMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMalformedFloatValidationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedInteger.go b/internal/protocoltest/awsrestjson/api_op_MalformedInteger.go index 195a12e56c6..f39f0a0a66a 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedInteger.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedInteger.go @@ -110,9 +110,6 @@ func (c *Client) addOperationMalformedIntegerMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMalformedIntegerValidationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedList.go b/internal/protocoltest/awsrestjson/api_op_MalformedList.go index 95346a3119e..072fe016fe2 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedList.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedList.go @@ -102,9 +102,6 @@ func (c *Client) addOperationMalformedListMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedList(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedLong.go b/internal/protocoltest/awsrestjson/api_op_MalformedLong.go index 8644d505faf..04ee1060971 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedLong.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedLong.go @@ -110,9 +110,6 @@ func (c *Client) addOperationMalformedLongMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMalformedLongValidationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedMap.go b/internal/protocoltest/awsrestjson/api_op_MalformedMap.go index 36f2ab4c525..5aab9371002 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedMap.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedMap.go @@ -102,9 +102,6 @@ func (c *Client) addOperationMalformedMapMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedMap(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedRequestBody.go b/internal/protocoltest/awsrestjson/api_op_MalformedRequestBody.go index 52219a1eabc..662b98cd882 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedRequestBody.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedRequestBody.go @@ -104,9 +104,6 @@ func (c *Client) addOperationMalformedRequestBodyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedRequestBody(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedShort.go b/internal/protocoltest/awsrestjson/api_op_MalformedShort.go index 64d47f1a3a9..22fd14a3e77 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedShort.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedShort.go @@ -110,9 +110,6 @@ func (c *Client) addOperationMalformedShortMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMalformedShortValidationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedString.go b/internal/protocoltest/awsrestjson/api_op_MalformedString.go index 96d6112e66f..4e4caa19648 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedString.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedString.go @@ -104,9 +104,6 @@ func (c *Client) addOperationMalformedStringMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedString(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampBodyDateTime.go b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampBodyDateTime.go index c627378f8db..854a4ada8b3 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampBodyDateTime.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampBodyDateTime.go @@ -105,9 +105,6 @@ func (c *Client) addOperationMalformedTimestampBodyDateTimeMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMalformedTimestampBodyDateTimeValidationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampBodyDefault.go b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampBodyDefault.go index 03077404121..670f16aeb4c 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampBodyDefault.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampBodyDefault.go @@ -105,9 +105,6 @@ func (c *Client) addOperationMalformedTimestampBodyDefaultMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMalformedTimestampBodyDefaultValidationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampBodyHttpDate.go b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampBodyHttpDate.go index 9293ab95803..11f8af4a9f8 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampBodyHttpDate.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampBodyHttpDate.go @@ -105,9 +105,6 @@ func (c *Client) addOperationMalformedTimestampBodyHttpDateMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMalformedTimestampBodyHttpDateValidationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampHeaderDateTime.go b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampHeaderDateTime.go index 68f82aed00c..3cda38db662 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampHeaderDateTime.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampHeaderDateTime.go @@ -105,9 +105,6 @@ func (c *Client) addOperationMalformedTimestampHeaderDateTimeMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMalformedTimestampHeaderDateTimeValidationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampHeaderDefault.go b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampHeaderDefault.go index 60b2212433c..256b970be71 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampHeaderDefault.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampHeaderDefault.go @@ -105,9 +105,6 @@ func (c *Client) addOperationMalformedTimestampHeaderDefaultMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMalformedTimestampHeaderDefaultValidationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampHeaderEpoch.go b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampHeaderEpoch.go index 02818dc004f..265cdf0887d 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampHeaderEpoch.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampHeaderEpoch.go @@ -105,9 +105,6 @@ func (c *Client) addOperationMalformedTimestampHeaderEpochMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMalformedTimestampHeaderEpochValidationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampPathDefault.go b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampPathDefault.go index 8d5b2cfa6ea..e9c7355b702 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampPathDefault.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampPathDefault.go @@ -105,9 +105,6 @@ func (c *Client) addOperationMalformedTimestampPathDefaultMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMalformedTimestampPathDefaultValidationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampPathEpoch.go b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampPathEpoch.go index 333af3dd90c..c0b45b4bd57 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampPathEpoch.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampPathEpoch.go @@ -105,9 +105,6 @@ func (c *Client) addOperationMalformedTimestampPathEpochMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMalformedTimestampPathEpochValidationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampPathHttpDate.go b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampPathHttpDate.go index 0a7ca74a140..d58703ee1ca 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampPathHttpDate.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampPathHttpDate.go @@ -105,9 +105,6 @@ func (c *Client) addOperationMalformedTimestampPathHttpDateMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMalformedTimestampPathHttpDateValidationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampQueryDefault.go b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampQueryDefault.go index 4a0a11d8411..e9652f7379b 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampQueryDefault.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampQueryDefault.go @@ -105,9 +105,6 @@ func (c *Client) addOperationMalformedTimestampQueryDefaultMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMalformedTimestampQueryDefaultValidationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampQueryEpoch.go b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampQueryEpoch.go index e86a86b0115..d4bbd817fb3 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampQueryEpoch.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampQueryEpoch.go @@ -105,9 +105,6 @@ func (c *Client) addOperationMalformedTimestampQueryEpochMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMalformedTimestampQueryEpochValidationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampQueryHttpDate.go b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampQueryHttpDate.go index 1f613840fc3..465c998f387 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedTimestampQueryHttpDate.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedTimestampQueryHttpDate.go @@ -105,9 +105,6 @@ func (c *Client) addOperationMalformedTimestampQueryHttpDateMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMalformedTimestampQueryHttpDateValidationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MalformedUnion.go b/internal/protocoltest/awsrestjson/api_op_MalformedUnion.go index c394c19be7a..0f3378bd184 100644 --- a/internal/protocoltest/awsrestjson/api_op_MalformedUnion.go +++ b/internal/protocoltest/awsrestjson/api_op_MalformedUnion.go @@ -103,9 +103,6 @@ func (c *Client) addOperationMalformedUnionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMalformedUnion(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_MediaTypeHeader.go b/internal/protocoltest/awsrestjson/api_op_MediaTypeHeader.go index 0a68fb6b38d..37128c40db9 100644 --- a/internal/protocoltest/awsrestjson/api_op_MediaTypeHeader.go +++ b/internal/protocoltest/awsrestjson/api_op_MediaTypeHeader.go @@ -109,9 +109,6 @@ func (c *Client) addOperationMediaTypeHeaderMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMediaTypeHeader(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_NoInputAndNoOutput.go b/internal/protocoltest/awsrestjson/api_op_NoInputAndNoOutput.go index 95bea5173b0..29e1cb49e54 100644 --- a/internal/protocoltest/awsrestjson/api_op_NoInputAndNoOutput.go +++ b/internal/protocoltest/awsrestjson/api_op_NoInputAndNoOutput.go @@ -103,9 +103,6 @@ func (c *Client) addOperationNoInputAndNoOutputMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNoInputAndNoOutput(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_NoInputAndOutput.go b/internal/protocoltest/awsrestjson/api_op_NoInputAndOutput.go index 76cbdac77fe..dc99c5ab7eb 100644 --- a/internal/protocoltest/awsrestjson/api_op_NoInputAndOutput.go +++ b/internal/protocoltest/awsrestjson/api_op_NoInputAndOutput.go @@ -103,9 +103,6 @@ func (c *Client) addOperationNoInputAndOutputMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNoInputAndOutput(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_NullAndEmptyHeadersClient.go b/internal/protocoltest/awsrestjson/api_op_NullAndEmptyHeadersClient.go index 25decc4a898..bbecb955721 100644 --- a/internal/protocoltest/awsrestjson/api_op_NullAndEmptyHeadersClient.go +++ b/internal/protocoltest/awsrestjson/api_op_NullAndEmptyHeadersClient.go @@ -113,9 +113,6 @@ func (c *Client) addOperationNullAndEmptyHeadersClientMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNullAndEmptyHeadersClient(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_NullAndEmptyHeadersServer.go b/internal/protocoltest/awsrestjson/api_op_NullAndEmptyHeadersServer.go index e9ed4eb56b8..f3744c21a5f 100644 --- a/internal/protocoltest/awsrestjson/api_op_NullAndEmptyHeadersServer.go +++ b/internal/protocoltest/awsrestjson/api_op_NullAndEmptyHeadersServer.go @@ -113,9 +113,6 @@ func (c *Client) addOperationNullAndEmptyHeadersServerMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNullAndEmptyHeadersServer(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_OmitsNullSerializesEmptyString.go b/internal/protocoltest/awsrestjson/api_op_OmitsNullSerializesEmptyString.go index c4efdc7b9fe..c0fccb716bf 100644 --- a/internal/protocoltest/awsrestjson/api_op_OmitsNullSerializesEmptyString.go +++ b/internal/protocoltest/awsrestjson/api_op_OmitsNullSerializesEmptyString.go @@ -105,9 +105,6 @@ func (c *Client) addOperationOmitsNullSerializesEmptyStringMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opOmitsNullSerializesEmptyString(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_OmitsSerializingEmptyLists.go b/internal/protocoltest/awsrestjson/api_op_OmitsSerializingEmptyLists.go index 62faab28887..f2fe80a6709 100644 --- a/internal/protocoltest/awsrestjson/api_op_OmitsSerializingEmptyLists.go +++ b/internal/protocoltest/awsrestjson/api_op_OmitsSerializingEmptyLists.go @@ -118,9 +118,6 @@ func (c *Client) addOperationOmitsSerializingEmptyListsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opOmitsSerializingEmptyLists(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_OperationWithDefaults.go b/internal/protocoltest/awsrestjson/api_op_OperationWithDefaults.go index 788a6e649a3..31307d6fa74 100644 --- a/internal/protocoltest/awsrestjson/api_op_OperationWithDefaults.go +++ b/internal/protocoltest/awsrestjson/api_op_OperationWithDefaults.go @@ -167,9 +167,6 @@ func (c *Client) addOperationOperationWithDefaultsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opOperationWithDefaults(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_OperationWithNestedStructure.go b/internal/protocoltest/awsrestjson/api_op_OperationWithNestedStructure.go index b7b8934ca39..c6f4f5d7c31 100644 --- a/internal/protocoltest/awsrestjson/api_op_OperationWithNestedStructure.go +++ b/internal/protocoltest/awsrestjson/api_op_OperationWithNestedStructure.go @@ -113,9 +113,6 @@ func (c *Client) addOperationOperationWithNestedStructureMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpOperationWithNestedStructureValidationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_PostPlayerAction.go b/internal/protocoltest/awsrestjson/api_op_PostPlayerAction.go index ccc2e0c74fc..c52adcb99c5 100644 --- a/internal/protocoltest/awsrestjson/api_op_PostPlayerAction.go +++ b/internal/protocoltest/awsrestjson/api_op_PostPlayerAction.go @@ -108,9 +108,6 @@ func (c *Client) addOperationPostPlayerActionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPostPlayerAction(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_PostUnionWithJsonName.go b/internal/protocoltest/awsrestjson/api_op_PostUnionWithJsonName.go index c59593fd110..3cb8bbbf6db 100644 --- a/internal/protocoltest/awsrestjson/api_op_PostUnionWithJsonName.go +++ b/internal/protocoltest/awsrestjson/api_op_PostUnionWithJsonName.go @@ -108,9 +108,6 @@ func (c *Client) addOperationPostUnionWithJsonNameMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPostUnionWithJsonName(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_PutWithContentEncoding.go b/internal/protocoltest/awsrestjson/api_op_PutWithContentEncoding.go index 06d88317f9a..281a7ae74c3 100644 --- a/internal/protocoltest/awsrestjson/api_op_PutWithContentEncoding.go +++ b/internal/protocoltest/awsrestjson/api_op_PutWithContentEncoding.go @@ -108,9 +108,6 @@ func (c *Client) addOperationPutWithContentEncodingMiddlewares(stack *middleware if err = addIsRequestCompressionUserAgent(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOperationPutWithContentEncodingRequestCompressionMiddleware(stack, options); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_QueryIdempotencyTokenAutoFill.go b/internal/protocoltest/awsrestjson/api_op_QueryIdempotencyTokenAutoFill.go index 59f09cc2718..3a64c1ad3a2 100644 --- a/internal/protocoltest/awsrestjson/api_op_QueryIdempotencyTokenAutoFill.go +++ b/internal/protocoltest/awsrestjson/api_op_QueryIdempotencyTokenAutoFill.go @@ -103,9 +103,6 @@ func (c *Client) addOperationQueryIdempotencyTokenAutoFillMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opQueryIdempotencyTokenAutoFillMiddleware(stack, options); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_QueryParamsAsStringListMap.go b/internal/protocoltest/awsrestjson/api_op_QueryParamsAsStringListMap.go index 09a2365b80d..05fe3ed0603 100644 --- a/internal/protocoltest/awsrestjson/api_op_QueryParamsAsStringListMap.go +++ b/internal/protocoltest/awsrestjson/api_op_QueryParamsAsStringListMap.go @@ -104,9 +104,6 @@ func (c *Client) addOperationQueryParamsAsStringListMapMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQueryParamsAsStringListMap(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_QueryPrecedence.go b/internal/protocoltest/awsrestjson/api_op_QueryPrecedence.go index 7c912986919..65a91357062 100644 --- a/internal/protocoltest/awsrestjson/api_op_QueryPrecedence.go +++ b/internal/protocoltest/awsrestjson/api_op_QueryPrecedence.go @@ -104,9 +104,6 @@ func (c *Client) addOperationQueryPrecedenceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQueryPrecedence(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_RecursiveShapes.go b/internal/protocoltest/awsrestjson/api_op_RecursiveShapes.go index a59839d78ee..47ed8cd6794 100644 --- a/internal/protocoltest/awsrestjson/api_op_RecursiveShapes.go +++ b/internal/protocoltest/awsrestjson/api_op_RecursiveShapes.go @@ -106,9 +106,6 @@ func (c *Client) addOperationRecursiveShapesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRecursiveShapes(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_ResponseCodeHttpFallback.go b/internal/protocoltest/awsrestjson/api_op_ResponseCodeHttpFallback.go index 626491c5fd2..6dbd9a31c3b 100644 --- a/internal/protocoltest/awsrestjson/api_op_ResponseCodeHttpFallback.go +++ b/internal/protocoltest/awsrestjson/api_op_ResponseCodeHttpFallback.go @@ -100,9 +100,6 @@ func (c *Client) addOperationResponseCodeHttpFallbackMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResponseCodeHttpFallback(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_ResponseCodeRequired.go b/internal/protocoltest/awsrestjson/api_op_ResponseCodeRequired.go index 6cc2e1a2d80..4cc20aa577f 100644 --- a/internal/protocoltest/awsrestjson/api_op_ResponseCodeRequired.go +++ b/internal/protocoltest/awsrestjson/api_op_ResponseCodeRequired.go @@ -104,9 +104,6 @@ func (c *Client) addOperationResponseCodeRequiredMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResponseCodeRequired(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_SimpleScalarProperties.go b/internal/protocoltest/awsrestjson/api_op_SimpleScalarProperties.go index 5dbafacfd5f..ccee154521d 100644 --- a/internal/protocoltest/awsrestjson/api_op_SimpleScalarProperties.go +++ b/internal/protocoltest/awsrestjson/api_op_SimpleScalarProperties.go @@ -140,9 +140,6 @@ func (c *Client) addOperationSimpleScalarPropertiesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSimpleScalarProperties(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_SparseJsonLists.go b/internal/protocoltest/awsrestjson/api_op_SparseJsonLists.go index 7327801a2b5..77717a362e3 100644 --- a/internal/protocoltest/awsrestjson/api_op_SparseJsonLists.go +++ b/internal/protocoltest/awsrestjson/api_op_SparseJsonLists.go @@ -108,9 +108,6 @@ func (c *Client) addOperationSparseJsonListsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSparseJsonLists(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_SparseJsonMaps.go b/internal/protocoltest/awsrestjson/api_op_SparseJsonMaps.go index f3577678c20..c238a7bbfe3 100644 --- a/internal/protocoltest/awsrestjson/api_op_SparseJsonMaps.go +++ b/internal/protocoltest/awsrestjson/api_op_SparseJsonMaps.go @@ -122,9 +122,6 @@ func (c *Client) addOperationSparseJsonMapsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSparseJsonMaps(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_StreamingTraits.go b/internal/protocoltest/awsrestjson/api_op_StreamingTraits.go index 9c30ee1cf97..eed5d4421fc 100644 --- a/internal/protocoltest/awsrestjson/api_op_StreamingTraits.go +++ b/internal/protocoltest/awsrestjson/api_op_StreamingTraits.go @@ -110,9 +110,6 @@ func (c *Client) addOperationStreamingTraitsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStreamingTraits(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_StreamingTraitsRequireLength.go b/internal/protocoltest/awsrestjson/api_op_StreamingTraitsRequireLength.go index a85c8512edd..7d1af715770 100644 --- a/internal/protocoltest/awsrestjson/api_op_StreamingTraitsRequireLength.go +++ b/internal/protocoltest/awsrestjson/api_op_StreamingTraitsRequireLength.go @@ -110,9 +110,6 @@ func (c *Client) addOperationStreamingTraitsRequireLengthMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStreamingTraitsRequireLength(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_StreamingTraitsWithMediaType.go b/internal/protocoltest/awsrestjson/api_op_StreamingTraitsWithMediaType.go index f71d1cef138..ae465d37e3b 100644 --- a/internal/protocoltest/awsrestjson/api_op_StreamingTraitsWithMediaType.go +++ b/internal/protocoltest/awsrestjson/api_op_StreamingTraitsWithMediaType.go @@ -114,9 +114,6 @@ func (c *Client) addOperationStreamingTraitsWithMediaTypeMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStreamingTraitsWithMediaType(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_TestBodyStructure.go b/internal/protocoltest/awsrestjson/api_op_TestBodyStructure.go index 141dc1b744c..9d60c4352b4 100644 --- a/internal/protocoltest/awsrestjson/api_op_TestBodyStructure.go +++ b/internal/protocoltest/awsrestjson/api_op_TestBodyStructure.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTestBodyStructureMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestBodyStructure(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_TestGetNoInputNoPayload.go b/internal/protocoltest/awsrestjson/api_op_TestGetNoInputNoPayload.go index 95ab3cce0b3..fa30ecbe9ad 100644 --- a/internal/protocoltest/awsrestjson/api_op_TestGetNoInputNoPayload.go +++ b/internal/protocoltest/awsrestjson/api_op_TestGetNoInputNoPayload.go @@ -108,9 +108,6 @@ func (c *Client) addOperationTestGetNoInputNoPayloadMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestGetNoInputNoPayload(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_TestGetNoPayload.go b/internal/protocoltest/awsrestjson/api_op_TestGetNoPayload.go index 139de98662a..7b5e7e0d210 100644 --- a/internal/protocoltest/awsrestjson/api_op_TestGetNoPayload.go +++ b/internal/protocoltest/awsrestjson/api_op_TestGetNoPayload.go @@ -109,9 +109,6 @@ func (c *Client) addOperationTestGetNoPayloadMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestGetNoPayload(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_TestPayloadBlob.go b/internal/protocoltest/awsrestjson/api_op_TestPayloadBlob.go index a328d4a5e53..1821c68265c 100644 --- a/internal/protocoltest/awsrestjson/api_op_TestPayloadBlob.go +++ b/internal/protocoltest/awsrestjson/api_op_TestPayloadBlob.go @@ -114,9 +114,6 @@ func (c *Client) addOperationTestPayloadBlobMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestPayloadBlob(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_TestPayloadStructure.go b/internal/protocoltest/awsrestjson/api_op_TestPayloadStructure.go index 8d0a45b4cf9..e1f71d4b4c2 100644 --- a/internal/protocoltest/awsrestjson/api_op_TestPayloadStructure.go +++ b/internal/protocoltest/awsrestjson/api_op_TestPayloadStructure.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTestPayloadStructureMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestPayloadStructure(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_TestPostNoInputNoPayload.go b/internal/protocoltest/awsrestjson/api_op_TestPostNoInputNoPayload.go index a02f4c6ff8f..756b2df24ab 100644 --- a/internal/protocoltest/awsrestjson/api_op_TestPostNoInputNoPayload.go +++ b/internal/protocoltest/awsrestjson/api_op_TestPostNoInputNoPayload.go @@ -107,9 +107,6 @@ func (c *Client) addOperationTestPostNoInputNoPayloadMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestPostNoInputNoPayload(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_TestPostNoPayload.go b/internal/protocoltest/awsrestjson/api_op_TestPostNoPayload.go index bf7e58b7334..a4216285940 100644 --- a/internal/protocoltest/awsrestjson/api_op_TestPostNoPayload.go +++ b/internal/protocoltest/awsrestjson/api_op_TestPostNoPayload.go @@ -108,9 +108,6 @@ func (c *Client) addOperationTestPostNoPayloadMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestPostNoPayload(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_TimestampFormatHeaders.go b/internal/protocoltest/awsrestjson/api_op_TimestampFormatHeaders.go index a7c30aad840..058e92a3dfb 100644 --- a/internal/protocoltest/awsrestjson/api_op_TimestampFormatHeaders.go +++ b/internal/protocoltest/awsrestjson/api_op_TimestampFormatHeaders.go @@ -130,9 +130,6 @@ func (c *Client) addOperationTimestampFormatHeadersMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTimestampFormatHeaders(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/api_op_UnitInputAndOutput.go b/internal/protocoltest/awsrestjson/api_op_UnitInputAndOutput.go index 1b75685a730..e3203db133e 100644 --- a/internal/protocoltest/awsrestjson/api_op_UnitInputAndOutput.go +++ b/internal/protocoltest/awsrestjson/api_op_UnitInputAndOutput.go @@ -101,9 +101,6 @@ func (c *Client) addOperationUnitInputAndOutputMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUnitInputAndOutput(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_AllQueryStringTypes.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_AllQueryStringTypes.go.snap index 18858bb3477..570849ef2ff 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_AllQueryStringTypes.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_AllQueryStringTypes.go.snap @@ -13,7 +13,6 @@ AllQueryStringTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_ConstantAndVariableQueryString.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_ConstantAndVariableQueryString.go.snap index b2ab2dd47c0..15e770776b7 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_ConstantAndVariableQueryString.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_ConstantAndVariableQueryString.go.snap @@ -13,7 +13,6 @@ ConstantAndVariableQueryString Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_ConstantQueryString.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_ConstantQueryString.go.snap index bc4688700ac..7d9e7fda303 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_ConstantQueryString.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_ConstantQueryString.go.snap @@ -14,7 +14,6 @@ ConstantQueryString Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_ContentTypeParameters.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_ContentTypeParameters.go.snap index ad5d047229d..afc776a0a16 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_ContentTypeParameters.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_ContentTypeParameters.go.snap @@ -13,7 +13,6 @@ ContentTypeParameters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_DatetimeOffsets.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_DatetimeOffsets.go.snap index 5dcb992e909..5276033461e 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_DatetimeOffsets.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_DatetimeOffsets.go.snap @@ -13,7 +13,6 @@ DatetimeOffsets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_DocumentType.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_DocumentType.go.snap index cff66375db8..13612dd6899 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_DocumentType.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_DocumentType.go.snap @@ -13,7 +13,6 @@ DocumentType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_DocumentTypeAsMapValue.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_DocumentTypeAsMapValue.go.snap index 17a8812fa37..b875d9feb2f 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_DocumentTypeAsMapValue.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_DocumentTypeAsMapValue.go.snap @@ -13,7 +13,6 @@ DocumentTypeAsMapValue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_DocumentTypeAsPayload.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_DocumentTypeAsPayload.go.snap index e4546bcce79..baad073706c 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_DocumentTypeAsPayload.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_DocumentTypeAsPayload.go.snap @@ -13,7 +13,6 @@ DocumentTypeAsPayload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_EmptyInputAndEmptyOutput.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_EmptyInputAndEmptyOutput.go.snap index 5e9235ef577..4302e515732 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_EmptyInputAndEmptyOutput.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_EmptyInputAndEmptyOutput.go.snap @@ -13,7 +13,6 @@ EmptyInputAndEmptyOutput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_EndpointOperation.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_EndpointOperation.go.snap index 3f840cff684..28503162eda 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_EndpointOperation.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_EndpointOperation.go.snap @@ -13,7 +13,6 @@ EndpointOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_EndpointWithHostLabelOperation.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_EndpointWithHostLabelOperation.go.snap index f8740311ef2..f3d3c7a5def 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_EndpointWithHostLabelOperation.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_EndpointWithHostLabelOperation.go.snap @@ -14,7 +14,6 @@ EndpointWithHostLabelOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_FractionalSeconds.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_FractionalSeconds.go.snap index 7117639c3aa..28a835e9cab 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_FractionalSeconds.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_FractionalSeconds.go.snap @@ -13,7 +13,6 @@ FractionalSeconds Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_GreetingWithErrors.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_GreetingWithErrors.go.snap index 120fc8ad942..189401fd7a7 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_GreetingWithErrors.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_GreetingWithErrors.go.snap @@ -13,7 +13,6 @@ GreetingWithErrors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_HostWithPathOperation.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_HostWithPathOperation.go.snap index 26ef08aef63..36b0f4338cb 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_HostWithPathOperation.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_HostWithPathOperation.go.snap @@ -13,7 +13,6 @@ HostWithPathOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_HttpChecksumRequired.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_HttpChecksumRequired.go.snap index deca1577825..f9e4c53073c 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_HttpChecksumRequired.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_HttpChecksumRequired.go.snap @@ -14,7 +14,6 @@ HttpChecksumRequired ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_HttpEnumPayload.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_HttpEnumPayload.go.snap index ecf50deb15b..db7be2af536 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_HttpEnumPayload.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_HttpEnumPayload.go.snap @@ -13,7 +13,6 @@ HttpEnumPayload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_HttpPayloadTraits.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_HttpPayloadTraits.go.snap index dea815ef34b..7730fd91ef5 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_HttpPayloadTraits.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_HttpPayloadTraits.go.snap @@ -13,7 +13,6 @@ HttpPayloadTraits Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_HttpPayloadTraitsWithMediaType.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_HttpPayloadTraitsWithMediaType.go.snap index 0e5a6f3b17e..7b2c7e043ae 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_HttpPayloadTraitsWithMediaType.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_HttpPayloadTraitsWithMediaType.go.snap @@ -13,7 +13,6 @@ HttpPayloadTraitsWithMediaType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_HttpPayloadWithStructure.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_HttpPayloadWithStructure.go.snap index d16794c39ae..ace33c6aab5 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_HttpPayloadWithStructure.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_HttpPayloadWithStructure.go.snap @@ -13,7 +13,6 @@ HttpPayloadWithStructure Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_HttpPayloadWithUnion.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_HttpPayloadWithUnion.go.snap index c3a99544db3..fadfd243112 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_HttpPayloadWithUnion.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_HttpPayloadWithUnion.go.snap @@ -13,7 +13,6 @@ HttpPayloadWithUnion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_HttpPrefixHeaders.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_HttpPrefixHeaders.go.snap index 5e621ec98b8..7c2dc1d7732 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_HttpPrefixHeaders.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_HttpPrefixHeaders.go.snap @@ -13,7 +13,6 @@ HttpPrefixHeaders Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_HttpPrefixHeadersInResponse.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_HttpPrefixHeadersInResponse.go.snap index 3b05c311977..ec153306093 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_HttpPrefixHeadersInResponse.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_HttpPrefixHeadersInResponse.go.snap @@ -13,7 +13,6 @@ HttpPrefixHeadersInResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_HttpRequestWithFloatLabels.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_HttpRequestWithFloatLabels.go.snap index d435392d76c..45018aeca9b 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_HttpRequestWithFloatLabels.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_HttpRequestWithFloatLabels.go.snap @@ -14,7 +14,6 @@ HttpRequestWithFloatLabels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_HttpRequestWithGreedyLabelInPath.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_HttpRequestWithGreedyLabelInPath.go.snap index 313c503d96a..66ed0d4b5e0 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_HttpRequestWithGreedyLabelInPath.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_HttpRequestWithGreedyLabelInPath.go.snap @@ -14,7 +14,6 @@ HttpRequestWithGreedyLabelInPath Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_HttpRequestWithLabels.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_HttpRequestWithLabels.go.snap index 2e3f445f799..ba0dc8e3f4d 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_HttpRequestWithLabels.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_HttpRequestWithLabels.go.snap @@ -14,7 +14,6 @@ HttpRequestWithLabels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_HttpRequestWithLabelsAndTimestampFormat.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_HttpRequestWithLabelsAndTimestampFormat.go.snap index 9d39bfc3df6..413bd960301 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_HttpRequestWithLabelsAndTimestampFormat.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_HttpRequestWithLabelsAndTimestampFormat.go.snap @@ -14,7 +14,6 @@ HttpRequestWithLabelsAndTimestampFormat Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_HttpRequestWithRegexLiteral.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_HttpRequestWithRegexLiteral.go.snap index 90c35c987aa..e60c952331d 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_HttpRequestWithRegexLiteral.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_HttpRequestWithRegexLiteral.go.snap @@ -14,7 +14,6 @@ HttpRequestWithRegexLiteral Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_HttpResponseCode.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_HttpResponseCode.go.snap index 4218d96eded..e115a7c2ed0 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_HttpResponseCode.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_HttpResponseCode.go.snap @@ -13,7 +13,6 @@ HttpResponseCode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_HttpStringPayload.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_HttpStringPayload.go.snap index 4e52f44b406..3d65d7d9794 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_HttpStringPayload.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_HttpStringPayload.go.snap @@ -13,7 +13,6 @@ HttpStringPayload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_IgnoreQueryParamsInResponse.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_IgnoreQueryParamsInResponse.go.snap index 8f94b627102..dc46f9c65a7 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_IgnoreQueryParamsInResponse.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_IgnoreQueryParamsInResponse.go.snap @@ -13,7 +13,6 @@ IgnoreQueryParamsInResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_InputAndOutputWithHeaders.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_InputAndOutputWithHeaders.go.snap index 7cfa315cf12..3c19a8b4a77 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_InputAndOutputWithHeaders.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_InputAndOutputWithHeaders.go.snap @@ -13,7 +13,6 @@ InputAndOutputWithHeaders Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_JsonBlobs.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_JsonBlobs.go.snap index d849e20d648..ad1a970f7c8 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_JsonBlobs.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_JsonBlobs.go.snap @@ -13,7 +13,6 @@ JsonBlobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_JsonEnums.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_JsonEnums.go.snap index ef776f87c56..d49c0bc0c86 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_JsonEnums.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_JsonEnums.go.snap @@ -13,7 +13,6 @@ JsonEnums Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_JsonIntEnums.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_JsonIntEnums.go.snap index a4517fe61f2..5caaa8b8255 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_JsonIntEnums.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_JsonIntEnums.go.snap @@ -13,7 +13,6 @@ JsonIntEnums Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_JsonLists.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_JsonLists.go.snap index 35eb40a5f82..7f3cbe1f061 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_JsonLists.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_JsonLists.go.snap @@ -13,7 +13,6 @@ JsonLists Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_JsonMaps.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_JsonMaps.go.snap index 3cce09b43b2..f18bd3185a0 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_JsonMaps.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_JsonMaps.go.snap @@ -13,7 +13,6 @@ JsonMaps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_JsonTimestamps.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_JsonTimestamps.go.snap index ee5fce3366e..62dbb84c39f 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_JsonTimestamps.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_JsonTimestamps.go.snap @@ -13,7 +13,6 @@ JsonTimestamps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_JsonUnions.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_JsonUnions.go.snap index 14d25fc2a85..2796ca31b37 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_JsonUnions.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_JsonUnions.go.snap @@ -13,7 +13,6 @@ JsonUnions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedAcceptWithBody.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedAcceptWithBody.go.snap index 822cb9998f1..bc629c2b85c 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedAcceptWithBody.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedAcceptWithBody.go.snap @@ -13,7 +13,6 @@ MalformedAcceptWithBody Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedAcceptWithGenericString.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedAcceptWithGenericString.go.snap index c0d8de49870..6dbd4518cb3 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedAcceptWithGenericString.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedAcceptWithGenericString.go.snap @@ -13,7 +13,6 @@ MalformedAcceptWithGenericString Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedAcceptWithPayload.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedAcceptWithPayload.go.snap index ad453bc76dc..797d6b63d82 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedAcceptWithPayload.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedAcceptWithPayload.go.snap @@ -13,7 +13,6 @@ MalformedAcceptWithPayload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedBlob.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedBlob.go.snap index b7fecee5568..acc5d7abd5d 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedBlob.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedBlob.go.snap @@ -13,7 +13,6 @@ MalformedBlob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedBoolean.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedBoolean.go.snap index 5a5acde04c9..5fa234d48bd 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedBoolean.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedBoolean.go.snap @@ -14,7 +14,6 @@ MalformedBoolean Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedByte.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedByte.go.snap index a7c93d880cb..1a02a133528 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedByte.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedByte.go.snap @@ -14,7 +14,6 @@ MalformedByte Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedContentTypeWithBody.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedContentTypeWithBody.go.snap index 609b5ed0cd3..da855fc0dc4 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedContentTypeWithBody.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedContentTypeWithBody.go.snap @@ -13,7 +13,6 @@ MalformedContentTypeWithBody Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedContentTypeWithGenericString.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedContentTypeWithGenericString.go.snap index 00afb758222..d79c4d3e64d 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedContentTypeWithGenericString.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedContentTypeWithGenericString.go.snap @@ -13,7 +13,6 @@ MalformedContentTypeWithGenericString Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedContentTypeWithPayload.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedContentTypeWithPayload.go.snap index cc5ca7a60c3..572b5782de7 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedContentTypeWithPayload.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedContentTypeWithPayload.go.snap @@ -13,7 +13,6 @@ MalformedContentTypeWithPayload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedContentTypeWithoutBody.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedContentTypeWithoutBody.go.snap index bf04306c4e3..d2772701c8a 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedContentTypeWithoutBody.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedContentTypeWithoutBody.go.snap @@ -13,7 +13,6 @@ MalformedContentTypeWithoutBody Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedContentTypeWithoutBodyEmptyInput.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedContentTypeWithoutBodyEmptyInput.go.snap index 404e7b8d567..6a436516da3 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedContentTypeWithoutBodyEmptyInput.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedContentTypeWithoutBodyEmptyInput.go.snap @@ -13,7 +13,6 @@ MalformedContentTypeWithoutBodyEmptyInput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedDouble.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedDouble.go.snap index 499ffe348f8..64c0a446a43 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedDouble.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedDouble.go.snap @@ -14,7 +14,6 @@ MalformedDouble Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedFloat.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedFloat.go.snap index 6264219d41c..44b6fb2ab73 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedFloat.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedFloat.go.snap @@ -14,7 +14,6 @@ MalformedFloat Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedInteger.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedInteger.go.snap index 2144460f047..2d5220b24ed 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedInteger.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedInteger.go.snap @@ -14,7 +14,6 @@ MalformedInteger Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedList.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedList.go.snap index 4711cc4ab18..2cbbf970771 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedList.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedList.go.snap @@ -13,7 +13,6 @@ MalformedList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedLong.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedLong.go.snap index 942a045b091..72ab2679c5a 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedLong.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedLong.go.snap @@ -14,7 +14,6 @@ MalformedLong Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedMap.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedMap.go.snap index 1d2d53e51ab..a9cbf96dc21 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedMap.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedMap.go.snap @@ -13,7 +13,6 @@ MalformedMap Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedRequestBody.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedRequestBody.go.snap index 07b5ab30d71..bb3019c325a 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedRequestBody.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedRequestBody.go.snap @@ -13,7 +13,6 @@ MalformedRequestBody Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedShort.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedShort.go.snap index e06838869b9..97af8e56330 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedShort.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedShort.go.snap @@ -14,7 +14,6 @@ MalformedShort Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedString.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedString.go.snap index 9ed100b6474..bfc657bc601 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedString.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedString.go.snap @@ -13,7 +13,6 @@ MalformedString Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampBodyDateTime.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampBodyDateTime.go.snap index facf4475ca0..5f6e4d41541 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampBodyDateTime.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampBodyDateTime.go.snap @@ -14,7 +14,6 @@ MalformedTimestampBodyDateTime Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampBodyDefault.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampBodyDefault.go.snap index 868fa80d823..d54ca9c9e99 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampBodyDefault.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampBodyDefault.go.snap @@ -14,7 +14,6 @@ MalformedTimestampBodyDefault Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampBodyHttpDate.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampBodyHttpDate.go.snap index c27f26cfc5a..9622169e4dc 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampBodyHttpDate.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampBodyHttpDate.go.snap @@ -14,7 +14,6 @@ MalformedTimestampBodyHttpDate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampHeaderDateTime.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampHeaderDateTime.go.snap index ea1663c2871..9943d06b8b3 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampHeaderDateTime.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampHeaderDateTime.go.snap @@ -14,7 +14,6 @@ MalformedTimestampHeaderDateTime Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampHeaderDefault.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampHeaderDefault.go.snap index 13d96240342..ee5087bff65 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampHeaderDefault.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampHeaderDefault.go.snap @@ -14,7 +14,6 @@ MalformedTimestampHeaderDefault Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampHeaderEpoch.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampHeaderEpoch.go.snap index 90db0c3d4a8..94ea01eac46 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampHeaderEpoch.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampHeaderEpoch.go.snap @@ -14,7 +14,6 @@ MalformedTimestampHeaderEpoch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampPathDefault.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampPathDefault.go.snap index 91e1f07ec9c..b56920486ee 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampPathDefault.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampPathDefault.go.snap @@ -14,7 +14,6 @@ MalformedTimestampPathDefault Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampPathEpoch.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampPathEpoch.go.snap index 566fa43d012..cff86282f2d 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampPathEpoch.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampPathEpoch.go.snap @@ -14,7 +14,6 @@ MalformedTimestampPathEpoch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampPathHttpDate.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampPathHttpDate.go.snap index 8776d8c4abf..9b543970796 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampPathHttpDate.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampPathHttpDate.go.snap @@ -14,7 +14,6 @@ MalformedTimestampPathHttpDate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampQueryDefault.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampQueryDefault.go.snap index d3d3555f512..696dae6d912 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampQueryDefault.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampQueryDefault.go.snap @@ -14,7 +14,6 @@ MalformedTimestampQueryDefault Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampQueryEpoch.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampQueryEpoch.go.snap index bbac02aec5b..b5eeca0894a 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampQueryEpoch.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampQueryEpoch.go.snap @@ -14,7 +14,6 @@ MalformedTimestampQueryEpoch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampQueryHttpDate.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampQueryHttpDate.go.snap index b96fe9bb78f..13b51fbc714 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampQueryHttpDate.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedTimestampQueryHttpDate.go.snap @@ -14,7 +14,6 @@ MalformedTimestampQueryHttpDate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedUnion.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedUnion.go.snap index 541a0954159..0969b6148f7 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedUnion.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MalformedUnion.go.snap @@ -13,7 +13,6 @@ MalformedUnion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_MediaTypeHeader.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_MediaTypeHeader.go.snap index 4a9c04b47e4..ff71cb068de 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_MediaTypeHeader.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_MediaTypeHeader.go.snap @@ -13,7 +13,6 @@ MediaTypeHeader Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_NoInputAndNoOutput.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_NoInputAndNoOutput.go.snap index 590efbb25df..d5b30b4e553 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_NoInputAndNoOutput.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_NoInputAndNoOutput.go.snap @@ -13,7 +13,6 @@ NoInputAndNoOutput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_NoInputAndOutput.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_NoInputAndOutput.go.snap index e5df4c1e8e3..1bc3bb43430 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_NoInputAndOutput.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_NoInputAndOutput.go.snap @@ -13,7 +13,6 @@ NoInputAndOutput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_NullAndEmptyHeadersClient.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_NullAndEmptyHeadersClient.go.snap index cf2205cba3a..6d9a59e5d50 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_NullAndEmptyHeadersClient.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_NullAndEmptyHeadersClient.go.snap @@ -13,7 +13,6 @@ NullAndEmptyHeadersClient Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_NullAndEmptyHeadersServer.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_NullAndEmptyHeadersServer.go.snap index 69418bd9866..1efdacf1040 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_NullAndEmptyHeadersServer.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_NullAndEmptyHeadersServer.go.snap @@ -13,7 +13,6 @@ NullAndEmptyHeadersServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_OmitsNullSerializesEmptyString.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_OmitsNullSerializesEmptyString.go.snap index 30f2357de1b..73dd85c98ce 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_OmitsNullSerializesEmptyString.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_OmitsNullSerializesEmptyString.go.snap @@ -13,7 +13,6 @@ OmitsNullSerializesEmptyString Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_OmitsSerializingEmptyLists.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_OmitsSerializingEmptyLists.go.snap index df5e601fd22..87e56501312 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_OmitsSerializingEmptyLists.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_OmitsSerializingEmptyLists.go.snap @@ -13,7 +13,6 @@ OmitsSerializingEmptyLists Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_OperationWithDefaults.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_OperationWithDefaults.go.snap index ed7ff594b50..ef53ee0434e 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_OperationWithDefaults.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_OperationWithDefaults.go.snap @@ -13,7 +13,6 @@ OperationWithDefaults Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_OperationWithNestedStructure.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_OperationWithNestedStructure.go.snap index 98a88ae1628..d57973e216c 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_OperationWithNestedStructure.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_OperationWithNestedStructure.go.snap @@ -14,7 +14,6 @@ OperationWithNestedStructure Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_PostPlayerAction.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_PostPlayerAction.go.snap index 056d68eaa1d..c0f5a07a63c 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_PostPlayerAction.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_PostPlayerAction.go.snap @@ -13,7 +13,6 @@ PostPlayerAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_PostUnionWithJsonName.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_PostUnionWithJsonName.go.snap index 3eff2bc31dc..e99fdb7aa3d 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_PostUnionWithJsonName.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_PostUnionWithJsonName.go.snap @@ -13,7 +13,6 @@ PostUnionWithJsonName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_PutWithContentEncoding.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_PutWithContentEncoding.go.snap index cc7f49f4284..6fda078ed45 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_PutWithContentEncoding.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_PutWithContentEncoding.go.snap @@ -14,7 +14,6 @@ PutWithContentEncoding Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_QueryIdempotencyTokenAutoFill.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_QueryIdempotencyTokenAutoFill.go.snap index 0ea89d88710..69bf33a910f 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_QueryIdempotencyTokenAutoFill.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_QueryIdempotencyTokenAutoFill.go.snap @@ -14,7 +14,6 @@ QueryIdempotencyTokenAutoFill Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_QueryParamsAsStringListMap.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_QueryParamsAsStringListMap.go.snap index ddfbc746022..d76e4a6a3e0 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_QueryParamsAsStringListMap.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_QueryParamsAsStringListMap.go.snap @@ -13,7 +13,6 @@ QueryParamsAsStringListMap Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_QueryPrecedence.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_QueryPrecedence.go.snap index 3141e84dbd8..23c0d6967f4 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_QueryPrecedence.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_QueryPrecedence.go.snap @@ -13,7 +13,6 @@ QueryPrecedence Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_RecursiveShapes.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_RecursiveShapes.go.snap index 0b2e9903923..53e6994b50b 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_RecursiveShapes.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_RecursiveShapes.go.snap @@ -13,7 +13,6 @@ RecursiveShapes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_ResponseCodeHttpFallback.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_ResponseCodeHttpFallback.go.snap index 2fda25a6dcb..2ceb265a2d9 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_ResponseCodeHttpFallback.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_ResponseCodeHttpFallback.go.snap @@ -13,7 +13,6 @@ ResponseCodeHttpFallback Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_ResponseCodeRequired.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_ResponseCodeRequired.go.snap index 8f8c4dcfe94..b2f8adc0fd0 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_ResponseCodeRequired.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_ResponseCodeRequired.go.snap @@ -13,7 +13,6 @@ ResponseCodeRequired Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_SimpleScalarProperties.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_SimpleScalarProperties.go.snap index f81df1f3faf..7ad46e10346 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_SimpleScalarProperties.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_SimpleScalarProperties.go.snap @@ -13,7 +13,6 @@ SimpleScalarProperties Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_SparseJsonLists.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_SparseJsonLists.go.snap index c1eca00e0c1..96c92e99f22 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_SparseJsonLists.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_SparseJsonLists.go.snap @@ -13,7 +13,6 @@ SparseJsonLists Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_SparseJsonMaps.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_SparseJsonMaps.go.snap index 4792523e82b..640bdb1a242 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_SparseJsonMaps.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_SparseJsonMaps.go.snap @@ -13,7 +13,6 @@ SparseJsonMaps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_StreamingTraits.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_StreamingTraits.go.snap index 2d9cf51fd23..e56c789ac34 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_StreamingTraits.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_StreamingTraits.go.snap @@ -13,7 +13,6 @@ StreamingTraits Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_StreamingTraitsRequireLength.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_StreamingTraitsRequireLength.go.snap index e0178c4848b..efd78524b4a 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_StreamingTraitsRequireLength.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_StreamingTraitsRequireLength.go.snap @@ -13,7 +13,6 @@ StreamingTraitsRequireLength Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_StreamingTraitsWithMediaType.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_StreamingTraitsWithMediaType.go.snap index b0b09f493dd..8ebb054621d 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_StreamingTraitsWithMediaType.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_StreamingTraitsWithMediaType.go.snap @@ -13,7 +13,6 @@ StreamingTraitsWithMediaType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_TestBodyStructure.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_TestBodyStructure.go.snap index c7b9f42b5db..d9129ce9ea1 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_TestBodyStructure.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_TestBodyStructure.go.snap @@ -13,7 +13,6 @@ TestBodyStructure Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_TestGetNoInputNoPayload.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_TestGetNoInputNoPayload.go.snap index dc862b15936..adee5e7938b 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_TestGetNoInputNoPayload.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_TestGetNoInputNoPayload.go.snap @@ -13,7 +13,6 @@ TestGetNoInputNoPayload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_TestGetNoPayload.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_TestGetNoPayload.go.snap index c29957dd348..656d0020798 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_TestGetNoPayload.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_TestGetNoPayload.go.snap @@ -13,7 +13,6 @@ TestGetNoPayload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_TestPayloadBlob.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_TestPayloadBlob.go.snap index 161e250a884..fffc82df856 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_TestPayloadBlob.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_TestPayloadBlob.go.snap @@ -13,7 +13,6 @@ TestPayloadBlob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_TestPayloadStructure.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_TestPayloadStructure.go.snap index 1402e8869f8..844d77248f4 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_TestPayloadStructure.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_TestPayloadStructure.go.snap @@ -13,7 +13,6 @@ TestPayloadStructure Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_TestPostNoInputNoPayload.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_TestPostNoInputNoPayload.go.snap index f4e2030ab17..006ef0517f5 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_TestPostNoInputNoPayload.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_TestPostNoInputNoPayload.go.snap @@ -13,7 +13,6 @@ TestPostNoInputNoPayload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_TestPostNoPayload.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_TestPostNoPayload.go.snap index 79a30845661..c77628db6df 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_TestPostNoPayload.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_TestPostNoPayload.go.snap @@ -13,7 +13,6 @@ TestPostNoPayload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_TimestampFormatHeaders.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_TimestampFormatHeaders.go.snap index 094233b0e51..7ef2b3dfcba 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_TimestampFormatHeaders.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_TimestampFormatHeaders.go.snap @@ -13,7 +13,6 @@ TimestampFormatHeaders Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/awsrestjson/snapshot/api_op_UnitInputAndOutput.go.snap b/internal/protocoltest/awsrestjson/snapshot/api_op_UnitInputAndOutput.go.snap index 7504464b69e..f53acb3d89e 100644 --- a/internal/protocoltest/awsrestjson/snapshot/api_op_UnitInputAndOutput.go.snap +++ b/internal/protocoltest/awsrestjson/snapshot/api_op_UnitInputAndOutput.go.snap @@ -13,7 +13,6 @@ UnitInputAndOutput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/ec2query/api_client.go b/internal/protocoltest/ec2query/api_client.go index 2731f435780..28e23c7c2c4 100644 --- a/internal/protocoltest/ec2query/api_client.go +++ b/internal/protocoltest/ec2query/api_client.go @@ -774,37 +774,6 @@ func addIsRequestCompressionUserAgent(stack *middleware.Stack, options Options) return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/internal/protocoltest/ec2query/api_op_DatetimeOffsets.go b/internal/protocoltest/ec2query/api_op_DatetimeOffsets.go index 8cedf9eb2ff..2c3ad0d31e6 100644 --- a/internal/protocoltest/ec2query/api_op_DatetimeOffsets.go +++ b/internal/protocoltest/ec2query/api_op_DatetimeOffsets.go @@ -103,9 +103,6 @@ func (c *Client) addOperationDatetimeOffsetsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDatetimeOffsets(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_EmptyInputAndEmptyOutput.go b/internal/protocoltest/ec2query/api_op_EmptyInputAndEmptyOutput.go index 20e43fe0554..4d6fa2a6c2a 100644 --- a/internal/protocoltest/ec2query/api_op_EmptyInputAndEmptyOutput.go +++ b/internal/protocoltest/ec2query/api_op_EmptyInputAndEmptyOutput.go @@ -104,9 +104,6 @@ func (c *Client) addOperationEmptyInputAndEmptyOutputMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEmptyInputAndEmptyOutput(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_EndpointOperation.go b/internal/protocoltest/ec2query/api_op_EndpointOperation.go index 5e9c03644da..89ac09d28a5 100644 --- a/internal/protocoltest/ec2query/api_op_EndpointOperation.go +++ b/internal/protocoltest/ec2query/api_op_EndpointOperation.go @@ -100,9 +100,6 @@ func (c *Client) addOperationEndpointOperationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opEndpointOperationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_EndpointWithHostLabelOperation.go b/internal/protocoltest/ec2query/api_op_EndpointWithHostLabelOperation.go index 91511fbc80d..f2d1d44ae63 100644 --- a/internal/protocoltest/ec2query/api_op_EndpointWithHostLabelOperation.go +++ b/internal/protocoltest/ec2query/api_op_EndpointWithHostLabelOperation.go @@ -106,9 +106,6 @@ func (c *Client) addOperationEndpointWithHostLabelOperationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opEndpointWithHostLabelOperationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_FractionalSeconds.go b/internal/protocoltest/ec2query/api_op_FractionalSeconds.go index 12a8041cdab..dbb8da29c6b 100644 --- a/internal/protocoltest/ec2query/api_op_FractionalSeconds.go +++ b/internal/protocoltest/ec2query/api_op_FractionalSeconds.go @@ -103,9 +103,6 @@ func (c *Client) addOperationFractionalSecondsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFractionalSeconds(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_GreetingWithErrors.go b/internal/protocoltest/ec2query/api_op_GreetingWithErrors.go index e11225d1809..967037ae4bb 100644 --- a/internal/protocoltest/ec2query/api_op_GreetingWithErrors.go +++ b/internal/protocoltest/ec2query/api_op_GreetingWithErrors.go @@ -107,9 +107,6 @@ func (c *Client) addOperationGreetingWithErrorsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGreetingWithErrors(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_HostWithPathOperation.go b/internal/protocoltest/ec2query/api_op_HostWithPathOperation.go index 6c8568b8460..e91459443b6 100644 --- a/internal/protocoltest/ec2query/api_op_HostWithPathOperation.go +++ b/internal/protocoltest/ec2query/api_op_HostWithPathOperation.go @@ -100,9 +100,6 @@ func (c *Client) addOperationHostWithPathOperationMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHostWithPathOperation(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_IgnoresWrappingXmlName.go b/internal/protocoltest/ec2query/api_op_IgnoresWrappingXmlName.go index 973f2322980..e52ef25e76b 100644 --- a/internal/protocoltest/ec2query/api_op_IgnoresWrappingXmlName.go +++ b/internal/protocoltest/ec2query/api_op_IgnoresWrappingXmlName.go @@ -105,9 +105,6 @@ func (c *Client) addOperationIgnoresWrappingXmlNameMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opIgnoresWrappingXmlName(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_NestedStructures.go b/internal/protocoltest/ec2query/api_op_NestedStructures.go index 56d5a4007a5..85612d460d4 100644 --- a/internal/protocoltest/ec2query/api_op_NestedStructures.go +++ b/internal/protocoltest/ec2query/api_op_NestedStructures.go @@ -104,9 +104,6 @@ func (c *Client) addOperationNestedStructuresMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNestedStructures(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_NoInputAndOutput.go b/internal/protocoltest/ec2query/api_op_NoInputAndOutput.go index e0de55718c1..f6ef10534b2 100644 --- a/internal/protocoltest/ec2query/api_op_NoInputAndOutput.go +++ b/internal/protocoltest/ec2query/api_op_NoInputAndOutput.go @@ -104,9 +104,6 @@ func (c *Client) addOperationNoInputAndOutputMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNoInputAndOutput(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_PutWithContentEncoding.go b/internal/protocoltest/ec2query/api_op_PutWithContentEncoding.go index 5099aed186f..4f3fa3d99d5 100644 --- a/internal/protocoltest/ec2query/api_op_PutWithContentEncoding.go +++ b/internal/protocoltest/ec2query/api_op_PutWithContentEncoding.go @@ -108,9 +108,6 @@ func (c *Client) addOperationPutWithContentEncodingMiddlewares(stack *middleware if err = addIsRequestCompressionUserAgent(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOperationPutWithContentEncodingRequestCompressionMiddleware(stack, options); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_QueryIdempotencyTokenAutoFill.go b/internal/protocoltest/ec2query/api_op_QueryIdempotencyTokenAutoFill.go index 52909381d3b..4b2a79fe8d5 100644 --- a/internal/protocoltest/ec2query/api_op_QueryIdempotencyTokenAutoFill.go +++ b/internal/protocoltest/ec2query/api_op_QueryIdempotencyTokenAutoFill.go @@ -103,9 +103,6 @@ func (c *Client) addOperationQueryIdempotencyTokenAutoFillMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opQueryIdempotencyTokenAutoFillMiddleware(stack, options); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_QueryLists.go b/internal/protocoltest/ec2query/api_op_QueryLists.go index 3522307e9dd..88a6c95f90a 100644 --- a/internal/protocoltest/ec2query/api_op_QueryLists.go +++ b/internal/protocoltest/ec2query/api_op_QueryLists.go @@ -112,9 +112,6 @@ func (c *Client) addOperationQueryListsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQueryLists(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_QueryTimestamps.go b/internal/protocoltest/ec2query/api_op_QueryTimestamps.go index 480101fdf51..aa6c52efc20 100644 --- a/internal/protocoltest/ec2query/api_op_QueryTimestamps.go +++ b/internal/protocoltest/ec2query/api_op_QueryTimestamps.go @@ -113,9 +113,6 @@ func (c *Client) addOperationQueryTimestampsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQueryTimestamps(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_RecursiveXmlShapes.go b/internal/protocoltest/ec2query/api_op_RecursiveXmlShapes.go index 361d141f4c2..1edc2026339 100644 --- a/internal/protocoltest/ec2query/api_op_RecursiveXmlShapes.go +++ b/internal/protocoltest/ec2query/api_op_RecursiveXmlShapes.go @@ -104,9 +104,6 @@ func (c *Client) addOperationRecursiveXmlShapesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRecursiveXmlShapes(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_SimpleInputParams.go b/internal/protocoltest/ec2query/api_op_SimpleInputParams.go index 903ba86c087..19ced215c36 100644 --- a/internal/protocoltest/ec2query/api_op_SimpleInputParams.go +++ b/internal/protocoltest/ec2query/api_op_SimpleInputParams.go @@ -124,9 +124,6 @@ func (c *Client) addOperationSimpleInputParamsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSimpleInputParams(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_SimpleScalarXmlProperties.go b/internal/protocoltest/ec2query/api_op_SimpleScalarXmlProperties.go index e8445e55ef6..def19f692c6 100644 --- a/internal/protocoltest/ec2query/api_op_SimpleScalarXmlProperties.go +++ b/internal/protocoltest/ec2query/api_op_SimpleScalarXmlProperties.go @@ -120,9 +120,6 @@ func (c *Client) addOperationSimpleScalarXmlPropertiesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSimpleScalarXmlProperties(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_XmlBlobs.go b/internal/protocoltest/ec2query/api_op_XmlBlobs.go index 566354019cd..b5c7ade52d7 100644 --- a/internal/protocoltest/ec2query/api_op_XmlBlobs.go +++ b/internal/protocoltest/ec2query/api_op_XmlBlobs.go @@ -103,9 +103,6 @@ func (c *Client) addOperationXmlBlobsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlBlobs(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_XmlEmptyBlobs.go b/internal/protocoltest/ec2query/api_op_XmlEmptyBlobs.go index ce161d764d0..a8eaa4169ad 100644 --- a/internal/protocoltest/ec2query/api_op_XmlEmptyBlobs.go +++ b/internal/protocoltest/ec2query/api_op_XmlEmptyBlobs.go @@ -102,9 +102,6 @@ func (c *Client) addOperationXmlEmptyBlobsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlEmptyBlobs(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_XmlEmptyLists.go b/internal/protocoltest/ec2query/api_op_XmlEmptyLists.go index 3d3f3d46d2e..6bff58e7557 100644 --- a/internal/protocoltest/ec2query/api_op_XmlEmptyLists.go +++ b/internal/protocoltest/ec2query/api_op_XmlEmptyLists.go @@ -131,9 +131,6 @@ func (c *Client) addOperationXmlEmptyListsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlEmptyLists(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_XmlEnums.go b/internal/protocoltest/ec2query/api_op_XmlEnums.go index 1d0d0e1529c..d3f7a1f43f5 100644 --- a/internal/protocoltest/ec2query/api_op_XmlEnums.go +++ b/internal/protocoltest/ec2query/api_op_XmlEnums.go @@ -114,9 +114,6 @@ func (c *Client) addOperationXmlEnumsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlEnums(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_XmlIntEnums.go b/internal/protocoltest/ec2query/api_op_XmlIntEnums.go index 7f4874fb3f6..c50b9b662fa 100644 --- a/internal/protocoltest/ec2query/api_op_XmlIntEnums.go +++ b/internal/protocoltest/ec2query/api_op_XmlIntEnums.go @@ -115,9 +115,6 @@ func (c *Client) addOperationXmlIntEnumsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlIntEnums(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_XmlLists.go b/internal/protocoltest/ec2query/api_op_XmlLists.go index 66dd35bcfa1..5f2d06ea398 100644 --- a/internal/protocoltest/ec2query/api_op_XmlLists.go +++ b/internal/protocoltest/ec2query/api_op_XmlLists.go @@ -142,9 +142,6 @@ func (c *Client) addOperationXmlListsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlLists(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_XmlNamespaces.go b/internal/protocoltest/ec2query/api_op_XmlNamespaces.go index 6f344af0e91..c003dee9376 100644 --- a/internal/protocoltest/ec2query/api_op_XmlNamespaces.go +++ b/internal/protocoltest/ec2query/api_op_XmlNamespaces.go @@ -103,9 +103,6 @@ func (c *Client) addOperationXmlNamespacesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlNamespaces(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/ec2query/api_op_XmlTimestamps.go b/internal/protocoltest/ec2query/api_op_XmlTimestamps.go index d37e4fd26b5..7f1c5e0fb70 100644 --- a/internal/protocoltest/ec2query/api_op_XmlTimestamps.go +++ b/internal/protocoltest/ec2query/api_op_XmlTimestamps.go @@ -117,9 +117,6 @@ func (c *Client) addOperationXmlTimestampsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlTimestamps(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/ec2query/snapshot/api_op_DatetimeOffsets.go.snap b/internal/protocoltest/ec2query/snapshot/api_op_DatetimeOffsets.go.snap index 5dcb992e909..5276033461e 100644 --- a/internal/protocoltest/ec2query/snapshot/api_op_DatetimeOffsets.go.snap +++ b/internal/protocoltest/ec2query/snapshot/api_op_DatetimeOffsets.go.snap @@ -13,7 +13,6 @@ DatetimeOffsets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/ec2query/snapshot/api_op_EmptyInputAndEmptyOutput.go.snap b/internal/protocoltest/ec2query/snapshot/api_op_EmptyInputAndEmptyOutput.go.snap index 5e9235ef577..4302e515732 100644 --- a/internal/protocoltest/ec2query/snapshot/api_op_EmptyInputAndEmptyOutput.go.snap +++ b/internal/protocoltest/ec2query/snapshot/api_op_EmptyInputAndEmptyOutput.go.snap @@ -13,7 +13,6 @@ EmptyInputAndEmptyOutput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/ec2query/snapshot/api_op_EndpointOperation.go.snap b/internal/protocoltest/ec2query/snapshot/api_op_EndpointOperation.go.snap index 3f840cff684..28503162eda 100644 --- a/internal/protocoltest/ec2query/snapshot/api_op_EndpointOperation.go.snap +++ b/internal/protocoltest/ec2query/snapshot/api_op_EndpointOperation.go.snap @@ -13,7 +13,6 @@ EndpointOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/ec2query/snapshot/api_op_EndpointWithHostLabelOperation.go.snap b/internal/protocoltest/ec2query/snapshot/api_op_EndpointWithHostLabelOperation.go.snap index f8740311ef2..f3d3c7a5def 100644 --- a/internal/protocoltest/ec2query/snapshot/api_op_EndpointWithHostLabelOperation.go.snap +++ b/internal/protocoltest/ec2query/snapshot/api_op_EndpointWithHostLabelOperation.go.snap @@ -14,7 +14,6 @@ EndpointWithHostLabelOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/ec2query/snapshot/api_op_FractionalSeconds.go.snap b/internal/protocoltest/ec2query/snapshot/api_op_FractionalSeconds.go.snap index 7117639c3aa..28a835e9cab 100644 --- a/internal/protocoltest/ec2query/snapshot/api_op_FractionalSeconds.go.snap +++ b/internal/protocoltest/ec2query/snapshot/api_op_FractionalSeconds.go.snap @@ -13,7 +13,6 @@ FractionalSeconds Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/ec2query/snapshot/api_op_GreetingWithErrors.go.snap b/internal/protocoltest/ec2query/snapshot/api_op_GreetingWithErrors.go.snap index 120fc8ad942..189401fd7a7 100644 --- a/internal/protocoltest/ec2query/snapshot/api_op_GreetingWithErrors.go.snap +++ b/internal/protocoltest/ec2query/snapshot/api_op_GreetingWithErrors.go.snap @@ -13,7 +13,6 @@ GreetingWithErrors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/ec2query/snapshot/api_op_HostWithPathOperation.go.snap b/internal/protocoltest/ec2query/snapshot/api_op_HostWithPathOperation.go.snap index 26ef08aef63..36b0f4338cb 100644 --- a/internal/protocoltest/ec2query/snapshot/api_op_HostWithPathOperation.go.snap +++ b/internal/protocoltest/ec2query/snapshot/api_op_HostWithPathOperation.go.snap @@ -13,7 +13,6 @@ HostWithPathOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/ec2query/snapshot/api_op_IgnoresWrappingXmlName.go.snap b/internal/protocoltest/ec2query/snapshot/api_op_IgnoresWrappingXmlName.go.snap index 9879d7d7dad..e0c9e44cc83 100644 --- a/internal/protocoltest/ec2query/snapshot/api_op_IgnoresWrappingXmlName.go.snap +++ b/internal/protocoltest/ec2query/snapshot/api_op_IgnoresWrappingXmlName.go.snap @@ -13,7 +13,6 @@ IgnoresWrappingXmlName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/ec2query/snapshot/api_op_NestedStructures.go.snap b/internal/protocoltest/ec2query/snapshot/api_op_NestedStructures.go.snap index 4d43f1a0dcf..0722460bda4 100644 --- a/internal/protocoltest/ec2query/snapshot/api_op_NestedStructures.go.snap +++ b/internal/protocoltest/ec2query/snapshot/api_op_NestedStructures.go.snap @@ -13,7 +13,6 @@ NestedStructures Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/ec2query/snapshot/api_op_NoInputAndOutput.go.snap b/internal/protocoltest/ec2query/snapshot/api_op_NoInputAndOutput.go.snap index e5df4c1e8e3..1bc3bb43430 100644 --- a/internal/protocoltest/ec2query/snapshot/api_op_NoInputAndOutput.go.snap +++ b/internal/protocoltest/ec2query/snapshot/api_op_NoInputAndOutput.go.snap @@ -13,7 +13,6 @@ NoInputAndOutput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/ec2query/snapshot/api_op_PutWithContentEncoding.go.snap b/internal/protocoltest/ec2query/snapshot/api_op_PutWithContentEncoding.go.snap index cc7f49f4284..6fda078ed45 100644 --- a/internal/protocoltest/ec2query/snapshot/api_op_PutWithContentEncoding.go.snap +++ b/internal/protocoltest/ec2query/snapshot/api_op_PutWithContentEncoding.go.snap @@ -14,7 +14,6 @@ PutWithContentEncoding Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/ec2query/snapshot/api_op_QueryIdempotencyTokenAutoFill.go.snap b/internal/protocoltest/ec2query/snapshot/api_op_QueryIdempotencyTokenAutoFill.go.snap index 0ea89d88710..69bf33a910f 100644 --- a/internal/protocoltest/ec2query/snapshot/api_op_QueryIdempotencyTokenAutoFill.go.snap +++ b/internal/protocoltest/ec2query/snapshot/api_op_QueryIdempotencyTokenAutoFill.go.snap @@ -14,7 +14,6 @@ QueryIdempotencyTokenAutoFill Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/ec2query/snapshot/api_op_QueryLists.go.snap b/internal/protocoltest/ec2query/snapshot/api_op_QueryLists.go.snap index 50d8bd465cc..56feabac88e 100644 --- a/internal/protocoltest/ec2query/snapshot/api_op_QueryLists.go.snap +++ b/internal/protocoltest/ec2query/snapshot/api_op_QueryLists.go.snap @@ -13,7 +13,6 @@ QueryLists Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/ec2query/snapshot/api_op_QueryTimestamps.go.snap b/internal/protocoltest/ec2query/snapshot/api_op_QueryTimestamps.go.snap index 35f97a9bfa2..89e73fcc5c2 100644 --- a/internal/protocoltest/ec2query/snapshot/api_op_QueryTimestamps.go.snap +++ b/internal/protocoltest/ec2query/snapshot/api_op_QueryTimestamps.go.snap @@ -13,7 +13,6 @@ QueryTimestamps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/ec2query/snapshot/api_op_RecursiveXmlShapes.go.snap b/internal/protocoltest/ec2query/snapshot/api_op_RecursiveXmlShapes.go.snap index 121ffcea397..aea84de9e4f 100644 --- a/internal/protocoltest/ec2query/snapshot/api_op_RecursiveXmlShapes.go.snap +++ b/internal/protocoltest/ec2query/snapshot/api_op_RecursiveXmlShapes.go.snap @@ -13,7 +13,6 @@ RecursiveXmlShapes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/ec2query/snapshot/api_op_SimpleInputParams.go.snap b/internal/protocoltest/ec2query/snapshot/api_op_SimpleInputParams.go.snap index a9b380d15d4..4639270d21a 100644 --- a/internal/protocoltest/ec2query/snapshot/api_op_SimpleInputParams.go.snap +++ b/internal/protocoltest/ec2query/snapshot/api_op_SimpleInputParams.go.snap @@ -13,7 +13,6 @@ SimpleInputParams Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/ec2query/snapshot/api_op_SimpleScalarXmlProperties.go.snap b/internal/protocoltest/ec2query/snapshot/api_op_SimpleScalarXmlProperties.go.snap index 171b9818326..b90ae30781f 100644 --- a/internal/protocoltest/ec2query/snapshot/api_op_SimpleScalarXmlProperties.go.snap +++ b/internal/protocoltest/ec2query/snapshot/api_op_SimpleScalarXmlProperties.go.snap @@ -13,7 +13,6 @@ SimpleScalarXmlProperties Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/ec2query/snapshot/api_op_XmlBlobs.go.snap b/internal/protocoltest/ec2query/snapshot/api_op_XmlBlobs.go.snap index d3ddfdf26e3..a8cbac81737 100644 --- a/internal/protocoltest/ec2query/snapshot/api_op_XmlBlobs.go.snap +++ b/internal/protocoltest/ec2query/snapshot/api_op_XmlBlobs.go.snap @@ -13,7 +13,6 @@ XmlBlobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/ec2query/snapshot/api_op_XmlEmptyBlobs.go.snap b/internal/protocoltest/ec2query/snapshot/api_op_XmlEmptyBlobs.go.snap index 29050dc9394..af5cc710c55 100644 --- a/internal/protocoltest/ec2query/snapshot/api_op_XmlEmptyBlobs.go.snap +++ b/internal/protocoltest/ec2query/snapshot/api_op_XmlEmptyBlobs.go.snap @@ -13,7 +13,6 @@ XmlEmptyBlobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/ec2query/snapshot/api_op_XmlEmptyLists.go.snap b/internal/protocoltest/ec2query/snapshot/api_op_XmlEmptyLists.go.snap index 9628f6f612a..21631cf20d2 100644 --- a/internal/protocoltest/ec2query/snapshot/api_op_XmlEmptyLists.go.snap +++ b/internal/protocoltest/ec2query/snapshot/api_op_XmlEmptyLists.go.snap @@ -13,7 +13,6 @@ XmlEmptyLists Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/ec2query/snapshot/api_op_XmlEnums.go.snap b/internal/protocoltest/ec2query/snapshot/api_op_XmlEnums.go.snap index d12e5e3102e..9709f220b18 100644 --- a/internal/protocoltest/ec2query/snapshot/api_op_XmlEnums.go.snap +++ b/internal/protocoltest/ec2query/snapshot/api_op_XmlEnums.go.snap @@ -13,7 +13,6 @@ XmlEnums Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/ec2query/snapshot/api_op_XmlIntEnums.go.snap b/internal/protocoltest/ec2query/snapshot/api_op_XmlIntEnums.go.snap index d888ec90554..e37655fccab 100644 --- a/internal/protocoltest/ec2query/snapshot/api_op_XmlIntEnums.go.snap +++ b/internal/protocoltest/ec2query/snapshot/api_op_XmlIntEnums.go.snap @@ -13,7 +13,6 @@ XmlIntEnums Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/ec2query/snapshot/api_op_XmlLists.go.snap b/internal/protocoltest/ec2query/snapshot/api_op_XmlLists.go.snap index b0a38e3e1c7..53fca601f59 100644 --- a/internal/protocoltest/ec2query/snapshot/api_op_XmlLists.go.snap +++ b/internal/protocoltest/ec2query/snapshot/api_op_XmlLists.go.snap @@ -13,7 +13,6 @@ XmlLists Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/ec2query/snapshot/api_op_XmlNamespaces.go.snap b/internal/protocoltest/ec2query/snapshot/api_op_XmlNamespaces.go.snap index e94ef9df1d4..5b3522a92ad 100644 --- a/internal/protocoltest/ec2query/snapshot/api_op_XmlNamespaces.go.snap +++ b/internal/protocoltest/ec2query/snapshot/api_op_XmlNamespaces.go.snap @@ -13,7 +13,6 @@ XmlNamespaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/ec2query/snapshot/api_op_XmlTimestamps.go.snap b/internal/protocoltest/ec2query/snapshot/api_op_XmlTimestamps.go.snap index 029e7fcf3f6..67fa7b3f166 100644 --- a/internal/protocoltest/ec2query/snapshot/api_op_XmlTimestamps.go.snap +++ b/internal/protocoltest/ec2query/snapshot/api_op_XmlTimestamps.go.snap @@ -13,7 +13,6 @@ XmlTimestamps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/jsonrpc/api_client.go b/internal/protocoltest/jsonrpc/api_client.go index 43c1879792a..50bba34d545 100644 --- a/internal/protocoltest/jsonrpc/api_client.go +++ b/internal/protocoltest/jsonrpc/api_client.go @@ -763,37 +763,6 @@ func addIsRequestCompressionUserAgent(stack *middleware.Stack, options Options) return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/internal/protocoltest/jsonrpc/api_op_ContentTypeParameters.go b/internal/protocoltest/jsonrpc/api_op_ContentTypeParameters.go index 6991b51c8c0..f4ece0a1df4 100644 --- a/internal/protocoltest/jsonrpc/api_op_ContentTypeParameters.go +++ b/internal/protocoltest/jsonrpc/api_op_ContentTypeParameters.go @@ -104,9 +104,6 @@ func (c *Client) addOperationContentTypeParametersMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opContentTypeParameters(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc/api_op_DatetimeOffsets.go b/internal/protocoltest/jsonrpc/api_op_DatetimeOffsets.go index 87c15fd5022..13629147232 100644 --- a/internal/protocoltest/jsonrpc/api_op_DatetimeOffsets.go +++ b/internal/protocoltest/jsonrpc/api_op_DatetimeOffsets.go @@ -103,9 +103,6 @@ func (c *Client) addOperationDatetimeOffsetsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDatetimeOffsets(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc/api_op_EmptyOperation.go b/internal/protocoltest/jsonrpc/api_op_EmptyOperation.go index f2f4902dc10..14fc6fa11e7 100644 --- a/internal/protocoltest/jsonrpc/api_op_EmptyOperation.go +++ b/internal/protocoltest/jsonrpc/api_op_EmptyOperation.go @@ -100,9 +100,6 @@ func (c *Client) addOperationEmptyOperationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEmptyOperation(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc/api_op_EndpointOperation.go b/internal/protocoltest/jsonrpc/api_op_EndpointOperation.go index 545bd6c0cbf..f478ed0eefb 100644 --- a/internal/protocoltest/jsonrpc/api_op_EndpointOperation.go +++ b/internal/protocoltest/jsonrpc/api_op_EndpointOperation.go @@ -100,9 +100,6 @@ func (c *Client) addOperationEndpointOperationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opEndpointOperationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc/api_op_EndpointWithHostLabelOperation.go b/internal/protocoltest/jsonrpc/api_op_EndpointWithHostLabelOperation.go index 8703413139f..ae9501018b9 100644 --- a/internal/protocoltest/jsonrpc/api_op_EndpointWithHostLabelOperation.go +++ b/internal/protocoltest/jsonrpc/api_op_EndpointWithHostLabelOperation.go @@ -106,9 +106,6 @@ func (c *Client) addOperationEndpointWithHostLabelOperationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opEndpointWithHostLabelOperationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc/api_op_FractionalSeconds.go b/internal/protocoltest/jsonrpc/api_op_FractionalSeconds.go index 01919d73a51..8c53accf9c0 100644 --- a/internal/protocoltest/jsonrpc/api_op_FractionalSeconds.go +++ b/internal/protocoltest/jsonrpc/api_op_FractionalSeconds.go @@ -103,9 +103,6 @@ func (c *Client) addOperationFractionalSecondsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFractionalSeconds(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc/api_op_GreetingWithErrors.go b/internal/protocoltest/jsonrpc/api_op_GreetingWithErrors.go index 66d72f75c24..720d4f7393d 100644 --- a/internal/protocoltest/jsonrpc/api_op_GreetingWithErrors.go +++ b/internal/protocoltest/jsonrpc/api_op_GreetingWithErrors.go @@ -110,9 +110,6 @@ func (c *Client) addOperationGreetingWithErrorsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGreetingWithErrors(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc/api_op_HostWithPathOperation.go b/internal/protocoltest/jsonrpc/api_op_HostWithPathOperation.go index b96a80be2e5..73db1b1b650 100644 --- a/internal/protocoltest/jsonrpc/api_op_HostWithPathOperation.go +++ b/internal/protocoltest/jsonrpc/api_op_HostWithPathOperation.go @@ -100,9 +100,6 @@ func (c *Client) addOperationHostWithPathOperationMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHostWithPathOperation(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc/api_op_JsonEnums.go b/internal/protocoltest/jsonrpc/api_op_JsonEnums.go index f4079b9ee48..db98781eef6 100644 --- a/internal/protocoltest/jsonrpc/api_op_JsonEnums.go +++ b/internal/protocoltest/jsonrpc/api_op_JsonEnums.go @@ -126,9 +126,6 @@ func (c *Client) addOperationJsonEnumsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opJsonEnums(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc/api_op_JsonIntEnums.go b/internal/protocoltest/jsonrpc/api_op_JsonIntEnums.go index 54ff27913bd..0e9d4a499a8 100644 --- a/internal/protocoltest/jsonrpc/api_op_JsonIntEnums.go +++ b/internal/protocoltest/jsonrpc/api_op_JsonIntEnums.go @@ -127,9 +127,6 @@ func (c *Client) addOperationJsonIntEnumsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opJsonIntEnums(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc/api_op_JsonUnions.go b/internal/protocoltest/jsonrpc/api_op_JsonUnions.go index a55ae7a4b8c..d507bd5b512 100644 --- a/internal/protocoltest/jsonrpc/api_op_JsonUnions.go +++ b/internal/protocoltest/jsonrpc/api_op_JsonUnions.go @@ -112,9 +112,6 @@ func (c *Client) addOperationJsonUnionsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opJsonUnions(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc/api_op_KitchenSinkOperation.go b/internal/protocoltest/jsonrpc/api_op_KitchenSinkOperation.go index a1a764f5a3a..fa82b99ac5f 100644 --- a/internal/protocoltest/jsonrpc/api_op_KitchenSinkOperation.go +++ b/internal/protocoltest/jsonrpc/api_op_KitchenSinkOperation.go @@ -208,9 +208,6 @@ func (c *Client) addOperationKitchenSinkOperationMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opKitchenSinkOperation(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc/api_op_NullOperation.go b/internal/protocoltest/jsonrpc/api_op_NullOperation.go index bfb5bb87a2c..ddf7b5b817f 100644 --- a/internal/protocoltest/jsonrpc/api_op_NullOperation.go +++ b/internal/protocoltest/jsonrpc/api_op_NullOperation.go @@ -104,9 +104,6 @@ func (c *Client) addOperationNullOperationMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNullOperation(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc/api_op_OperationWithOptionalInputOutput.go b/internal/protocoltest/jsonrpc/api_op_OperationWithOptionalInputOutput.go index af1a6c952e8..d1d7d6b3448 100644 --- a/internal/protocoltest/jsonrpc/api_op_OperationWithOptionalInputOutput.go +++ b/internal/protocoltest/jsonrpc/api_op_OperationWithOptionalInputOutput.go @@ -104,9 +104,6 @@ func (c *Client) addOperationOperationWithOptionalInputOutputMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opOperationWithOptionalInputOutput(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc/api_op_PutAndGetInlineDocuments.go b/internal/protocoltest/jsonrpc/api_op_PutAndGetInlineDocuments.go index 4360c710b24..d5558ea6d2d 100644 --- a/internal/protocoltest/jsonrpc/api_op_PutAndGetInlineDocuments.go +++ b/internal/protocoltest/jsonrpc/api_op_PutAndGetInlineDocuments.go @@ -106,9 +106,6 @@ func (c *Client) addOperationPutAndGetInlineDocumentsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAndGetInlineDocuments(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc/api_op_PutWithContentEncoding.go b/internal/protocoltest/jsonrpc/api_op_PutWithContentEncoding.go index a70b59fcaa0..5b3e6622a53 100644 --- a/internal/protocoltest/jsonrpc/api_op_PutWithContentEncoding.go +++ b/internal/protocoltest/jsonrpc/api_op_PutWithContentEncoding.go @@ -108,9 +108,6 @@ func (c *Client) addOperationPutWithContentEncodingMiddlewares(stack *middleware if err = addIsRequestCompressionUserAgent(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOperationPutWithContentEncodingRequestCompressionMiddleware(stack, options); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc/api_op_SimpleScalarProperties.go b/internal/protocoltest/jsonrpc/api_op_SimpleScalarProperties.go index 251edc68081..84863760e35 100644 --- a/internal/protocoltest/jsonrpc/api_op_SimpleScalarProperties.go +++ b/internal/protocoltest/jsonrpc/api_op_SimpleScalarProperties.go @@ -108,9 +108,6 @@ func (c *Client) addOperationSimpleScalarPropertiesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSimpleScalarProperties(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc/api_op_SparseNullsOperation.go b/internal/protocoltest/jsonrpc/api_op_SparseNullsOperation.go index d5a1cd1b5d4..11b02864f42 100644 --- a/internal/protocoltest/jsonrpc/api_op_SparseNullsOperation.go +++ b/internal/protocoltest/jsonrpc/api_op_SparseNullsOperation.go @@ -108,9 +108,6 @@ func (c *Client) addOperationSparseNullsOperationMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSparseNullsOperation(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc/snapshot/api_op_ContentTypeParameters.go.snap b/internal/protocoltest/jsonrpc/snapshot/api_op_ContentTypeParameters.go.snap index ad5d047229d..afc776a0a16 100644 --- a/internal/protocoltest/jsonrpc/snapshot/api_op_ContentTypeParameters.go.snap +++ b/internal/protocoltest/jsonrpc/snapshot/api_op_ContentTypeParameters.go.snap @@ -13,7 +13,6 @@ ContentTypeParameters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/jsonrpc/snapshot/api_op_DatetimeOffsets.go.snap b/internal/protocoltest/jsonrpc/snapshot/api_op_DatetimeOffsets.go.snap index 5dcb992e909..5276033461e 100644 --- a/internal/protocoltest/jsonrpc/snapshot/api_op_DatetimeOffsets.go.snap +++ b/internal/protocoltest/jsonrpc/snapshot/api_op_DatetimeOffsets.go.snap @@ -13,7 +13,6 @@ DatetimeOffsets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/jsonrpc/snapshot/api_op_EmptyOperation.go.snap b/internal/protocoltest/jsonrpc/snapshot/api_op_EmptyOperation.go.snap index 5d9e12a154a..d402c01c6ae 100644 --- a/internal/protocoltest/jsonrpc/snapshot/api_op_EmptyOperation.go.snap +++ b/internal/protocoltest/jsonrpc/snapshot/api_op_EmptyOperation.go.snap @@ -13,7 +13,6 @@ EmptyOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/jsonrpc/snapshot/api_op_EndpointOperation.go.snap b/internal/protocoltest/jsonrpc/snapshot/api_op_EndpointOperation.go.snap index 3f840cff684..28503162eda 100644 --- a/internal/protocoltest/jsonrpc/snapshot/api_op_EndpointOperation.go.snap +++ b/internal/protocoltest/jsonrpc/snapshot/api_op_EndpointOperation.go.snap @@ -13,7 +13,6 @@ EndpointOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/jsonrpc/snapshot/api_op_EndpointWithHostLabelOperation.go.snap b/internal/protocoltest/jsonrpc/snapshot/api_op_EndpointWithHostLabelOperation.go.snap index f8740311ef2..f3d3c7a5def 100644 --- a/internal/protocoltest/jsonrpc/snapshot/api_op_EndpointWithHostLabelOperation.go.snap +++ b/internal/protocoltest/jsonrpc/snapshot/api_op_EndpointWithHostLabelOperation.go.snap @@ -14,7 +14,6 @@ EndpointWithHostLabelOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/jsonrpc/snapshot/api_op_FractionalSeconds.go.snap b/internal/protocoltest/jsonrpc/snapshot/api_op_FractionalSeconds.go.snap index 7117639c3aa..28a835e9cab 100644 --- a/internal/protocoltest/jsonrpc/snapshot/api_op_FractionalSeconds.go.snap +++ b/internal/protocoltest/jsonrpc/snapshot/api_op_FractionalSeconds.go.snap @@ -13,7 +13,6 @@ FractionalSeconds Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/jsonrpc/snapshot/api_op_GreetingWithErrors.go.snap b/internal/protocoltest/jsonrpc/snapshot/api_op_GreetingWithErrors.go.snap index 120fc8ad942..189401fd7a7 100644 --- a/internal/protocoltest/jsonrpc/snapshot/api_op_GreetingWithErrors.go.snap +++ b/internal/protocoltest/jsonrpc/snapshot/api_op_GreetingWithErrors.go.snap @@ -13,7 +13,6 @@ GreetingWithErrors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/jsonrpc/snapshot/api_op_HostWithPathOperation.go.snap b/internal/protocoltest/jsonrpc/snapshot/api_op_HostWithPathOperation.go.snap index 26ef08aef63..36b0f4338cb 100644 --- a/internal/protocoltest/jsonrpc/snapshot/api_op_HostWithPathOperation.go.snap +++ b/internal/protocoltest/jsonrpc/snapshot/api_op_HostWithPathOperation.go.snap @@ -13,7 +13,6 @@ HostWithPathOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/jsonrpc/snapshot/api_op_JsonEnums.go.snap b/internal/protocoltest/jsonrpc/snapshot/api_op_JsonEnums.go.snap index ef776f87c56..d49c0bc0c86 100644 --- a/internal/protocoltest/jsonrpc/snapshot/api_op_JsonEnums.go.snap +++ b/internal/protocoltest/jsonrpc/snapshot/api_op_JsonEnums.go.snap @@ -13,7 +13,6 @@ JsonEnums Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/jsonrpc/snapshot/api_op_JsonIntEnums.go.snap b/internal/protocoltest/jsonrpc/snapshot/api_op_JsonIntEnums.go.snap index a4517fe61f2..5caaa8b8255 100644 --- a/internal/protocoltest/jsonrpc/snapshot/api_op_JsonIntEnums.go.snap +++ b/internal/protocoltest/jsonrpc/snapshot/api_op_JsonIntEnums.go.snap @@ -13,7 +13,6 @@ JsonIntEnums Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/jsonrpc/snapshot/api_op_JsonUnions.go.snap b/internal/protocoltest/jsonrpc/snapshot/api_op_JsonUnions.go.snap index 14d25fc2a85..2796ca31b37 100644 --- a/internal/protocoltest/jsonrpc/snapshot/api_op_JsonUnions.go.snap +++ b/internal/protocoltest/jsonrpc/snapshot/api_op_JsonUnions.go.snap @@ -13,7 +13,6 @@ JsonUnions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/jsonrpc/snapshot/api_op_KitchenSinkOperation.go.snap b/internal/protocoltest/jsonrpc/snapshot/api_op_KitchenSinkOperation.go.snap index 5a08ad2dc43..d8e359b47c4 100644 --- a/internal/protocoltest/jsonrpc/snapshot/api_op_KitchenSinkOperation.go.snap +++ b/internal/protocoltest/jsonrpc/snapshot/api_op_KitchenSinkOperation.go.snap @@ -13,7 +13,6 @@ KitchenSinkOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/jsonrpc/snapshot/api_op_NullOperation.go.snap b/internal/protocoltest/jsonrpc/snapshot/api_op_NullOperation.go.snap index db1d1306e22..4e5682af57e 100644 --- a/internal/protocoltest/jsonrpc/snapshot/api_op_NullOperation.go.snap +++ b/internal/protocoltest/jsonrpc/snapshot/api_op_NullOperation.go.snap @@ -13,7 +13,6 @@ NullOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/jsonrpc/snapshot/api_op_OperationWithOptionalInputOutput.go.snap b/internal/protocoltest/jsonrpc/snapshot/api_op_OperationWithOptionalInputOutput.go.snap index da5d17cb5af..65ddcdd6600 100644 --- a/internal/protocoltest/jsonrpc/snapshot/api_op_OperationWithOptionalInputOutput.go.snap +++ b/internal/protocoltest/jsonrpc/snapshot/api_op_OperationWithOptionalInputOutput.go.snap @@ -13,7 +13,6 @@ OperationWithOptionalInputOutput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/jsonrpc/snapshot/api_op_PutAndGetInlineDocuments.go.snap b/internal/protocoltest/jsonrpc/snapshot/api_op_PutAndGetInlineDocuments.go.snap index f7f2ebb7e47..335af319819 100644 --- a/internal/protocoltest/jsonrpc/snapshot/api_op_PutAndGetInlineDocuments.go.snap +++ b/internal/protocoltest/jsonrpc/snapshot/api_op_PutAndGetInlineDocuments.go.snap @@ -13,7 +13,6 @@ PutAndGetInlineDocuments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/jsonrpc/snapshot/api_op_PutWithContentEncoding.go.snap b/internal/protocoltest/jsonrpc/snapshot/api_op_PutWithContentEncoding.go.snap index cc7f49f4284..6fda078ed45 100644 --- a/internal/protocoltest/jsonrpc/snapshot/api_op_PutWithContentEncoding.go.snap +++ b/internal/protocoltest/jsonrpc/snapshot/api_op_PutWithContentEncoding.go.snap @@ -14,7 +14,6 @@ PutWithContentEncoding Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/jsonrpc/snapshot/api_op_SimpleScalarProperties.go.snap b/internal/protocoltest/jsonrpc/snapshot/api_op_SimpleScalarProperties.go.snap index f81df1f3faf..7ad46e10346 100644 --- a/internal/protocoltest/jsonrpc/snapshot/api_op_SimpleScalarProperties.go.snap +++ b/internal/protocoltest/jsonrpc/snapshot/api_op_SimpleScalarProperties.go.snap @@ -13,7 +13,6 @@ SimpleScalarProperties Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/jsonrpc/snapshot/api_op_SparseNullsOperation.go.snap b/internal/protocoltest/jsonrpc/snapshot/api_op_SparseNullsOperation.go.snap index 869850ca9ea..70e424aea89 100644 --- a/internal/protocoltest/jsonrpc/snapshot/api_op_SparseNullsOperation.go.snap +++ b/internal/protocoltest/jsonrpc/snapshot/api_op_SparseNullsOperation.go.snap @@ -13,7 +13,6 @@ SparseNullsOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/jsonrpc10/api_client.go b/internal/protocoltest/jsonrpc10/api_client.go index 3e819a377bd..6920b18ec7d 100644 --- a/internal/protocoltest/jsonrpc10/api_client.go +++ b/internal/protocoltest/jsonrpc10/api_client.go @@ -763,37 +763,6 @@ func addIsRequestCompressionUserAgent(stack *middleware.Stack, options Options) return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/internal/protocoltest/jsonrpc10/api_op_ContentTypeParameters.go b/internal/protocoltest/jsonrpc10/api_op_ContentTypeParameters.go index 4432f4d5664..284bb8842b5 100644 --- a/internal/protocoltest/jsonrpc10/api_op_ContentTypeParameters.go +++ b/internal/protocoltest/jsonrpc10/api_op_ContentTypeParameters.go @@ -104,9 +104,6 @@ func (c *Client) addOperationContentTypeParametersMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opContentTypeParameters(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc10/api_op_EmptyInputAndEmptyOutput.go b/internal/protocoltest/jsonrpc10/api_op_EmptyInputAndEmptyOutput.go index e40b6f22b7e..479aa23624e 100644 --- a/internal/protocoltest/jsonrpc10/api_op_EmptyInputAndEmptyOutput.go +++ b/internal/protocoltest/jsonrpc10/api_op_EmptyInputAndEmptyOutput.go @@ -104,9 +104,6 @@ func (c *Client) addOperationEmptyInputAndEmptyOutputMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEmptyInputAndEmptyOutput(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc10/api_op_EndpointOperation.go b/internal/protocoltest/jsonrpc10/api_op_EndpointOperation.go index 3f17e98a4ca..f4e01fb3def 100644 --- a/internal/protocoltest/jsonrpc10/api_op_EndpointOperation.go +++ b/internal/protocoltest/jsonrpc10/api_op_EndpointOperation.go @@ -100,9 +100,6 @@ func (c *Client) addOperationEndpointOperationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opEndpointOperationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc10/api_op_EndpointWithHostLabelOperation.go b/internal/protocoltest/jsonrpc10/api_op_EndpointWithHostLabelOperation.go index 0879e5412d2..90781c2ffa2 100644 --- a/internal/protocoltest/jsonrpc10/api_op_EndpointWithHostLabelOperation.go +++ b/internal/protocoltest/jsonrpc10/api_op_EndpointWithHostLabelOperation.go @@ -106,9 +106,6 @@ func (c *Client) addOperationEndpointWithHostLabelOperationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opEndpointWithHostLabelOperationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc10/api_op_GreetingWithErrors.go b/internal/protocoltest/jsonrpc10/api_op_GreetingWithErrors.go index 297f8d9d0b7..45016149c86 100644 --- a/internal/protocoltest/jsonrpc10/api_op_GreetingWithErrors.go +++ b/internal/protocoltest/jsonrpc10/api_op_GreetingWithErrors.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGreetingWithErrorsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGreetingWithErrors(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc10/api_op_HostWithPathOperation.go b/internal/protocoltest/jsonrpc10/api_op_HostWithPathOperation.go index b05837a1236..d8910f200d4 100644 --- a/internal/protocoltest/jsonrpc10/api_op_HostWithPathOperation.go +++ b/internal/protocoltest/jsonrpc10/api_op_HostWithPathOperation.go @@ -100,9 +100,6 @@ func (c *Client) addOperationHostWithPathOperationMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHostWithPathOperation(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc10/api_op_JsonUnions.go b/internal/protocoltest/jsonrpc10/api_op_JsonUnions.go index 3cc44571a38..3d3f125554d 100644 --- a/internal/protocoltest/jsonrpc10/api_op_JsonUnions.go +++ b/internal/protocoltest/jsonrpc10/api_op_JsonUnions.go @@ -110,9 +110,6 @@ func (c *Client) addOperationJsonUnionsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opJsonUnions(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc10/api_op_NoInputAndNoOutput.go b/internal/protocoltest/jsonrpc10/api_op_NoInputAndNoOutput.go index c492a27b477..f1aed2e31fb 100644 --- a/internal/protocoltest/jsonrpc10/api_op_NoInputAndNoOutput.go +++ b/internal/protocoltest/jsonrpc10/api_op_NoInputAndNoOutput.go @@ -103,9 +103,6 @@ func (c *Client) addOperationNoInputAndNoOutputMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNoInputAndNoOutput(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc10/api_op_NoInputAndOutput.go b/internal/protocoltest/jsonrpc10/api_op_NoInputAndOutput.go index 48d0a2a1c36..ae8e91c2d55 100644 --- a/internal/protocoltest/jsonrpc10/api_op_NoInputAndOutput.go +++ b/internal/protocoltest/jsonrpc10/api_op_NoInputAndOutput.go @@ -103,9 +103,6 @@ func (c *Client) addOperationNoInputAndOutputMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNoInputAndOutput(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc10/api_op_OperationWithDefaults.go b/internal/protocoltest/jsonrpc10/api_op_OperationWithDefaults.go index 30b59d74696..c0a36e7ef17 100644 --- a/internal/protocoltest/jsonrpc10/api_op_OperationWithDefaults.go +++ b/internal/protocoltest/jsonrpc10/api_op_OperationWithDefaults.go @@ -167,9 +167,6 @@ func (c *Client) addOperationOperationWithDefaultsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opOperationWithDefaults(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc10/api_op_OperationWithNestedStructure.go b/internal/protocoltest/jsonrpc10/api_op_OperationWithNestedStructure.go index 0450fac3783..c4d2c55cf0f 100644 --- a/internal/protocoltest/jsonrpc10/api_op_OperationWithNestedStructure.go +++ b/internal/protocoltest/jsonrpc10/api_op_OperationWithNestedStructure.go @@ -113,9 +113,6 @@ func (c *Client) addOperationOperationWithNestedStructureMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpOperationWithNestedStructureValidationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc10/api_op_OperationWithRequiredMembers.go b/internal/protocoltest/jsonrpc10/api_op_OperationWithRequiredMembers.go index 0aed126add7..e7b3fd77d25 100644 --- a/internal/protocoltest/jsonrpc10/api_op_OperationWithRequiredMembers.go +++ b/internal/protocoltest/jsonrpc10/api_op_OperationWithRequiredMembers.go @@ -138,9 +138,6 @@ func (c *Client) addOperationOperationWithRequiredMembersMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opOperationWithRequiredMembers(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc10/api_op_OperationWithRequiredMembersWithDefaults.go b/internal/protocoltest/jsonrpc10/api_op_OperationWithRequiredMembersWithDefaults.go index 73cc9381d35..5ef3924e316 100644 --- a/internal/protocoltest/jsonrpc10/api_op_OperationWithRequiredMembersWithDefaults.go +++ b/internal/protocoltest/jsonrpc10/api_op_OperationWithRequiredMembersWithDefaults.go @@ -145,9 +145,6 @@ func (c *Client) addOperationOperationWithRequiredMembersWithDefaultsMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opOperationWithRequiredMembersWithDefaults(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc10/api_op_PutWithContentEncoding.go b/internal/protocoltest/jsonrpc10/api_op_PutWithContentEncoding.go index a8e936ae043..ff9c2434af9 100644 --- a/internal/protocoltest/jsonrpc10/api_op_PutWithContentEncoding.go +++ b/internal/protocoltest/jsonrpc10/api_op_PutWithContentEncoding.go @@ -108,9 +108,6 @@ func (c *Client) addOperationPutWithContentEncodingMiddlewares(stack *middleware if err = addIsRequestCompressionUserAgent(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOperationPutWithContentEncodingRequestCompressionMiddleware(stack, options); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc10/api_op_SimpleScalarProperties.go b/internal/protocoltest/jsonrpc10/api_op_SimpleScalarProperties.go index e7ce90d925a..a316cc6c05b 100644 --- a/internal/protocoltest/jsonrpc10/api_op_SimpleScalarProperties.go +++ b/internal/protocoltest/jsonrpc10/api_op_SimpleScalarProperties.go @@ -108,9 +108,6 @@ func (c *Client) addOperationSimpleScalarPropertiesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSimpleScalarProperties(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/jsonrpc10/snapshot/api_op_ContentTypeParameters.go.snap b/internal/protocoltest/jsonrpc10/snapshot/api_op_ContentTypeParameters.go.snap index ad5d047229d..afc776a0a16 100644 --- a/internal/protocoltest/jsonrpc10/snapshot/api_op_ContentTypeParameters.go.snap +++ b/internal/protocoltest/jsonrpc10/snapshot/api_op_ContentTypeParameters.go.snap @@ -13,7 +13,6 @@ ContentTypeParameters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/jsonrpc10/snapshot/api_op_EmptyInputAndEmptyOutput.go.snap b/internal/protocoltest/jsonrpc10/snapshot/api_op_EmptyInputAndEmptyOutput.go.snap index 5e9235ef577..4302e515732 100644 --- a/internal/protocoltest/jsonrpc10/snapshot/api_op_EmptyInputAndEmptyOutput.go.snap +++ b/internal/protocoltest/jsonrpc10/snapshot/api_op_EmptyInputAndEmptyOutput.go.snap @@ -13,7 +13,6 @@ EmptyInputAndEmptyOutput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/jsonrpc10/snapshot/api_op_EndpointOperation.go.snap b/internal/protocoltest/jsonrpc10/snapshot/api_op_EndpointOperation.go.snap index 3f840cff684..28503162eda 100644 --- a/internal/protocoltest/jsonrpc10/snapshot/api_op_EndpointOperation.go.snap +++ b/internal/protocoltest/jsonrpc10/snapshot/api_op_EndpointOperation.go.snap @@ -13,7 +13,6 @@ EndpointOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/jsonrpc10/snapshot/api_op_EndpointWithHostLabelOperation.go.snap b/internal/protocoltest/jsonrpc10/snapshot/api_op_EndpointWithHostLabelOperation.go.snap index f8740311ef2..f3d3c7a5def 100644 --- a/internal/protocoltest/jsonrpc10/snapshot/api_op_EndpointWithHostLabelOperation.go.snap +++ b/internal/protocoltest/jsonrpc10/snapshot/api_op_EndpointWithHostLabelOperation.go.snap @@ -14,7 +14,6 @@ EndpointWithHostLabelOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/jsonrpc10/snapshot/api_op_GreetingWithErrors.go.snap b/internal/protocoltest/jsonrpc10/snapshot/api_op_GreetingWithErrors.go.snap index 120fc8ad942..189401fd7a7 100644 --- a/internal/protocoltest/jsonrpc10/snapshot/api_op_GreetingWithErrors.go.snap +++ b/internal/protocoltest/jsonrpc10/snapshot/api_op_GreetingWithErrors.go.snap @@ -13,7 +13,6 @@ GreetingWithErrors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/jsonrpc10/snapshot/api_op_HostWithPathOperation.go.snap b/internal/protocoltest/jsonrpc10/snapshot/api_op_HostWithPathOperation.go.snap index 26ef08aef63..36b0f4338cb 100644 --- a/internal/protocoltest/jsonrpc10/snapshot/api_op_HostWithPathOperation.go.snap +++ b/internal/protocoltest/jsonrpc10/snapshot/api_op_HostWithPathOperation.go.snap @@ -13,7 +13,6 @@ HostWithPathOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/jsonrpc10/snapshot/api_op_JsonUnions.go.snap b/internal/protocoltest/jsonrpc10/snapshot/api_op_JsonUnions.go.snap index 14d25fc2a85..2796ca31b37 100644 --- a/internal/protocoltest/jsonrpc10/snapshot/api_op_JsonUnions.go.snap +++ b/internal/protocoltest/jsonrpc10/snapshot/api_op_JsonUnions.go.snap @@ -13,7 +13,6 @@ JsonUnions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/jsonrpc10/snapshot/api_op_NoInputAndNoOutput.go.snap b/internal/protocoltest/jsonrpc10/snapshot/api_op_NoInputAndNoOutput.go.snap index 590efbb25df..d5b30b4e553 100644 --- a/internal/protocoltest/jsonrpc10/snapshot/api_op_NoInputAndNoOutput.go.snap +++ b/internal/protocoltest/jsonrpc10/snapshot/api_op_NoInputAndNoOutput.go.snap @@ -13,7 +13,6 @@ NoInputAndNoOutput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/jsonrpc10/snapshot/api_op_NoInputAndOutput.go.snap b/internal/protocoltest/jsonrpc10/snapshot/api_op_NoInputAndOutput.go.snap index e5df4c1e8e3..1bc3bb43430 100644 --- a/internal/protocoltest/jsonrpc10/snapshot/api_op_NoInputAndOutput.go.snap +++ b/internal/protocoltest/jsonrpc10/snapshot/api_op_NoInputAndOutput.go.snap @@ -13,7 +13,6 @@ NoInputAndOutput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/jsonrpc10/snapshot/api_op_OperationWithDefaults.go.snap b/internal/protocoltest/jsonrpc10/snapshot/api_op_OperationWithDefaults.go.snap index ed7ff594b50..ef53ee0434e 100644 --- a/internal/protocoltest/jsonrpc10/snapshot/api_op_OperationWithDefaults.go.snap +++ b/internal/protocoltest/jsonrpc10/snapshot/api_op_OperationWithDefaults.go.snap @@ -13,7 +13,6 @@ OperationWithDefaults Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/jsonrpc10/snapshot/api_op_OperationWithNestedStructure.go.snap b/internal/protocoltest/jsonrpc10/snapshot/api_op_OperationWithNestedStructure.go.snap index 98a88ae1628..d57973e216c 100644 --- a/internal/protocoltest/jsonrpc10/snapshot/api_op_OperationWithNestedStructure.go.snap +++ b/internal/protocoltest/jsonrpc10/snapshot/api_op_OperationWithNestedStructure.go.snap @@ -14,7 +14,6 @@ OperationWithNestedStructure Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/jsonrpc10/snapshot/api_op_OperationWithRequiredMembers.go.snap b/internal/protocoltest/jsonrpc10/snapshot/api_op_OperationWithRequiredMembers.go.snap index d7ce8459f18..6eb4a6d7326 100644 --- a/internal/protocoltest/jsonrpc10/snapshot/api_op_OperationWithRequiredMembers.go.snap +++ b/internal/protocoltest/jsonrpc10/snapshot/api_op_OperationWithRequiredMembers.go.snap @@ -13,7 +13,6 @@ OperationWithRequiredMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/jsonrpc10/snapshot/api_op_OperationWithRequiredMembersWithDefaults.go.snap b/internal/protocoltest/jsonrpc10/snapshot/api_op_OperationWithRequiredMembersWithDefaults.go.snap index 9da24d0f3c2..38b2182e12e 100644 --- a/internal/protocoltest/jsonrpc10/snapshot/api_op_OperationWithRequiredMembersWithDefaults.go.snap +++ b/internal/protocoltest/jsonrpc10/snapshot/api_op_OperationWithRequiredMembersWithDefaults.go.snap @@ -13,7 +13,6 @@ OperationWithRequiredMembersWithDefaults Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/jsonrpc10/snapshot/api_op_PutWithContentEncoding.go.snap b/internal/protocoltest/jsonrpc10/snapshot/api_op_PutWithContentEncoding.go.snap index cc7f49f4284..6fda078ed45 100644 --- a/internal/protocoltest/jsonrpc10/snapshot/api_op_PutWithContentEncoding.go.snap +++ b/internal/protocoltest/jsonrpc10/snapshot/api_op_PutWithContentEncoding.go.snap @@ -14,7 +14,6 @@ PutWithContentEncoding Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/jsonrpc10/snapshot/api_op_SimpleScalarProperties.go.snap b/internal/protocoltest/jsonrpc10/snapshot/api_op_SimpleScalarProperties.go.snap index f81df1f3faf..7ad46e10346 100644 --- a/internal/protocoltest/jsonrpc10/snapshot/api_op_SimpleScalarProperties.go.snap +++ b/internal/protocoltest/jsonrpc10/snapshot/api_op_SimpleScalarProperties.go.snap @@ -13,7 +13,6 @@ SimpleScalarProperties Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/query/api_client.go b/internal/protocoltest/query/api_client.go index 980889a4e9e..18631c986d5 100644 --- a/internal/protocoltest/query/api_client.go +++ b/internal/protocoltest/query/api_client.go @@ -774,37 +774,6 @@ func addIsRequestCompressionUserAgent(stack *middleware.Stack, options Options) return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/internal/protocoltest/query/api_op_DatetimeOffsets.go b/internal/protocoltest/query/api_op_DatetimeOffsets.go index e1c87e7cf5a..d6cd187a660 100644 --- a/internal/protocoltest/query/api_op_DatetimeOffsets.go +++ b/internal/protocoltest/query/api_op_DatetimeOffsets.go @@ -103,9 +103,6 @@ func (c *Client) addOperationDatetimeOffsetsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDatetimeOffsets(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_EmptyInputAndEmptyOutput.go b/internal/protocoltest/query/api_op_EmptyInputAndEmptyOutput.go index 14a52e69257..7149571b2ee 100644 --- a/internal/protocoltest/query/api_op_EmptyInputAndEmptyOutput.go +++ b/internal/protocoltest/query/api_op_EmptyInputAndEmptyOutput.go @@ -104,9 +104,6 @@ func (c *Client) addOperationEmptyInputAndEmptyOutputMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEmptyInputAndEmptyOutput(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_EndpointOperation.go b/internal/protocoltest/query/api_op_EndpointOperation.go index f55aadfbd5f..1e365c7c8cd 100644 --- a/internal/protocoltest/query/api_op_EndpointOperation.go +++ b/internal/protocoltest/query/api_op_EndpointOperation.go @@ -100,9 +100,6 @@ func (c *Client) addOperationEndpointOperationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opEndpointOperationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_EndpointWithHostLabelOperation.go b/internal/protocoltest/query/api_op_EndpointWithHostLabelOperation.go index b69cdcb7961..a66dbcd9d72 100644 --- a/internal/protocoltest/query/api_op_EndpointWithHostLabelOperation.go +++ b/internal/protocoltest/query/api_op_EndpointWithHostLabelOperation.go @@ -106,9 +106,6 @@ func (c *Client) addOperationEndpointWithHostLabelOperationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opEndpointWithHostLabelOperationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_FlattenedXmlMap.go b/internal/protocoltest/query/api_op_FlattenedXmlMap.go index d4615690c80..7fbec049201 100644 --- a/internal/protocoltest/query/api_op_FlattenedXmlMap.go +++ b/internal/protocoltest/query/api_op_FlattenedXmlMap.go @@ -104,9 +104,6 @@ func (c *Client) addOperationFlattenedXmlMapMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFlattenedXmlMap(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_FlattenedXmlMapWithXmlName.go b/internal/protocoltest/query/api_op_FlattenedXmlMapWithXmlName.go index df8dd063497..761852a557b 100644 --- a/internal/protocoltest/query/api_op_FlattenedXmlMapWithXmlName.go +++ b/internal/protocoltest/query/api_op_FlattenedXmlMapWithXmlName.go @@ -103,9 +103,6 @@ func (c *Client) addOperationFlattenedXmlMapWithXmlNameMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFlattenedXmlMapWithXmlName(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_FlattenedXmlMapWithXmlNamespace.go b/internal/protocoltest/query/api_op_FlattenedXmlMapWithXmlNamespace.go index ca23179697e..d89cff2f933 100644 --- a/internal/protocoltest/query/api_op_FlattenedXmlMapWithXmlNamespace.go +++ b/internal/protocoltest/query/api_op_FlattenedXmlMapWithXmlNamespace.go @@ -103,9 +103,6 @@ func (c *Client) addOperationFlattenedXmlMapWithXmlNamespaceMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFlattenedXmlMapWithXmlNamespace(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_FractionalSeconds.go b/internal/protocoltest/query/api_op_FractionalSeconds.go index 904236b134b..db30201f718 100644 --- a/internal/protocoltest/query/api_op_FractionalSeconds.go +++ b/internal/protocoltest/query/api_op_FractionalSeconds.go @@ -103,9 +103,6 @@ func (c *Client) addOperationFractionalSecondsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFractionalSeconds(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_GreetingWithErrors.go b/internal/protocoltest/query/api_op_GreetingWithErrors.go index adbe374b27a..4d4c52f98b1 100644 --- a/internal/protocoltest/query/api_op_GreetingWithErrors.go +++ b/internal/protocoltest/query/api_op_GreetingWithErrors.go @@ -107,9 +107,6 @@ func (c *Client) addOperationGreetingWithErrorsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGreetingWithErrors(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_HostWithPathOperation.go b/internal/protocoltest/query/api_op_HostWithPathOperation.go index d468d62db0b..b23021036e1 100644 --- a/internal/protocoltest/query/api_op_HostWithPathOperation.go +++ b/internal/protocoltest/query/api_op_HostWithPathOperation.go @@ -100,9 +100,6 @@ func (c *Client) addOperationHostWithPathOperationMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHostWithPathOperation(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_IgnoresWrappingXmlName.go b/internal/protocoltest/query/api_op_IgnoresWrappingXmlName.go index 06335e4293a..5af21103a14 100644 --- a/internal/protocoltest/query/api_op_IgnoresWrappingXmlName.go +++ b/internal/protocoltest/query/api_op_IgnoresWrappingXmlName.go @@ -106,9 +106,6 @@ func (c *Client) addOperationIgnoresWrappingXmlNameMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opIgnoresWrappingXmlName(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_NestedStructures.go b/internal/protocoltest/query/api_op_NestedStructures.go index 99a2bc15798..bbcd5c73dfc 100644 --- a/internal/protocoltest/query/api_op_NestedStructures.go +++ b/internal/protocoltest/query/api_op_NestedStructures.go @@ -104,9 +104,6 @@ func (c *Client) addOperationNestedStructuresMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNestedStructures(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_NoInputAndNoOutput.go b/internal/protocoltest/query/api_op_NoInputAndNoOutput.go index 0001705cc23..78b1f400f6a 100644 --- a/internal/protocoltest/query/api_op_NoInputAndNoOutput.go +++ b/internal/protocoltest/query/api_op_NoInputAndNoOutput.go @@ -104,9 +104,6 @@ func (c *Client) addOperationNoInputAndNoOutputMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNoInputAndNoOutput(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_NoInputAndOutput.go b/internal/protocoltest/query/api_op_NoInputAndOutput.go index 91d7ebf1d8f..eb3bb7fba71 100644 --- a/internal/protocoltest/query/api_op_NoInputAndOutput.go +++ b/internal/protocoltest/query/api_op_NoInputAndOutput.go @@ -104,9 +104,6 @@ func (c *Client) addOperationNoInputAndOutputMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNoInputAndOutput(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_PutWithContentEncoding.go b/internal/protocoltest/query/api_op_PutWithContentEncoding.go index 328838b0069..b55f3634dcb 100644 --- a/internal/protocoltest/query/api_op_PutWithContentEncoding.go +++ b/internal/protocoltest/query/api_op_PutWithContentEncoding.go @@ -108,9 +108,6 @@ func (c *Client) addOperationPutWithContentEncodingMiddlewares(stack *middleware if err = addIsRequestCompressionUserAgent(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOperationPutWithContentEncodingRequestCompressionMiddleware(stack, options); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_QueryIdempotencyTokenAutoFill.go b/internal/protocoltest/query/api_op_QueryIdempotencyTokenAutoFill.go index ecd4710d328..9474760b602 100644 --- a/internal/protocoltest/query/api_op_QueryIdempotencyTokenAutoFill.go +++ b/internal/protocoltest/query/api_op_QueryIdempotencyTokenAutoFill.go @@ -103,9 +103,6 @@ func (c *Client) addOperationQueryIdempotencyTokenAutoFillMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opQueryIdempotencyTokenAutoFillMiddleware(stack, options); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_QueryLists.go b/internal/protocoltest/query/api_op_QueryLists.go index 008416dcdda..62350917fd9 100644 --- a/internal/protocoltest/query/api_op_QueryLists.go +++ b/internal/protocoltest/query/api_op_QueryLists.go @@ -114,9 +114,6 @@ func (c *Client) addOperationQueryListsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQueryLists(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_QueryMaps.go b/internal/protocoltest/query/api_op_QueryMaps.go index 2b28ceb5b81..7de42933993 100644 --- a/internal/protocoltest/query/api_op_QueryMaps.go +++ b/internal/protocoltest/query/api_op_QueryMaps.go @@ -118,9 +118,6 @@ func (c *Client) addOperationQueryMapsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQueryMaps(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_QueryTimestamps.go b/internal/protocoltest/query/api_op_QueryTimestamps.go index 01b1aabe7ec..12f5a3f07de 100644 --- a/internal/protocoltest/query/api_op_QueryTimestamps.go +++ b/internal/protocoltest/query/api_op_QueryTimestamps.go @@ -113,9 +113,6 @@ func (c *Client) addOperationQueryTimestampsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQueryTimestamps(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_RecursiveXmlShapes.go b/internal/protocoltest/query/api_op_RecursiveXmlShapes.go index e9f48314d11..09101c43618 100644 --- a/internal/protocoltest/query/api_op_RecursiveXmlShapes.go +++ b/internal/protocoltest/query/api_op_RecursiveXmlShapes.go @@ -104,9 +104,6 @@ func (c *Client) addOperationRecursiveXmlShapesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRecursiveXmlShapes(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_SimpleInputParams.go b/internal/protocoltest/query/api_op_SimpleInputParams.go index 68d44d845b3..148ca7cf5f8 100644 --- a/internal/protocoltest/query/api_op_SimpleInputParams.go +++ b/internal/protocoltest/query/api_op_SimpleInputParams.go @@ -120,9 +120,6 @@ func (c *Client) addOperationSimpleInputParamsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSimpleInputParams(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_SimpleScalarXmlProperties.go b/internal/protocoltest/query/api_op_SimpleScalarXmlProperties.go index 3f6efbd3498..c614447008f 100644 --- a/internal/protocoltest/query/api_op_SimpleScalarXmlProperties.go +++ b/internal/protocoltest/query/api_op_SimpleScalarXmlProperties.go @@ -120,9 +120,6 @@ func (c *Client) addOperationSimpleScalarXmlPropertiesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSimpleScalarXmlProperties(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_XmlBlobs.go b/internal/protocoltest/query/api_op_XmlBlobs.go index 2013d8bf344..aa38801d295 100644 --- a/internal/protocoltest/query/api_op_XmlBlobs.go +++ b/internal/protocoltest/query/api_op_XmlBlobs.go @@ -103,9 +103,6 @@ func (c *Client) addOperationXmlBlobsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlBlobs(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_XmlEmptyBlobs.go b/internal/protocoltest/query/api_op_XmlEmptyBlobs.go index 6fae1a6452d..867e2b22d55 100644 --- a/internal/protocoltest/query/api_op_XmlEmptyBlobs.go +++ b/internal/protocoltest/query/api_op_XmlEmptyBlobs.go @@ -102,9 +102,6 @@ func (c *Client) addOperationXmlEmptyBlobsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlEmptyBlobs(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_XmlEmptyLists.go b/internal/protocoltest/query/api_op_XmlEmptyLists.go index ebe73c79a46..76d57171ce8 100644 --- a/internal/protocoltest/query/api_op_XmlEmptyLists.go +++ b/internal/protocoltest/query/api_op_XmlEmptyLists.go @@ -131,9 +131,6 @@ func (c *Client) addOperationXmlEmptyListsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlEmptyLists(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_XmlEmptyMaps.go b/internal/protocoltest/query/api_op_XmlEmptyMaps.go index 30d05a1f3ef..8ce69a97665 100644 --- a/internal/protocoltest/query/api_op_XmlEmptyMaps.go +++ b/internal/protocoltest/query/api_op_XmlEmptyMaps.go @@ -103,9 +103,6 @@ func (c *Client) addOperationXmlEmptyMapsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlEmptyMaps(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_XmlEnums.go b/internal/protocoltest/query/api_op_XmlEnums.go index 8d05382f3ec..97c9909f74b 100644 --- a/internal/protocoltest/query/api_op_XmlEnums.go +++ b/internal/protocoltest/query/api_op_XmlEnums.go @@ -114,9 +114,6 @@ func (c *Client) addOperationXmlEnumsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlEnums(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_XmlIntEnums.go b/internal/protocoltest/query/api_op_XmlIntEnums.go index dc2aa2a047a..b9d5e4f85ba 100644 --- a/internal/protocoltest/query/api_op_XmlIntEnums.go +++ b/internal/protocoltest/query/api_op_XmlIntEnums.go @@ -114,9 +114,6 @@ func (c *Client) addOperationXmlIntEnumsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlIntEnums(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_XmlLists.go b/internal/protocoltest/query/api_op_XmlLists.go index 925e1343654..73c16b7ddd2 100644 --- a/internal/protocoltest/query/api_op_XmlLists.go +++ b/internal/protocoltest/query/api_op_XmlLists.go @@ -141,9 +141,6 @@ func (c *Client) addOperationXmlListsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlLists(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_XmlMaps.go b/internal/protocoltest/query/api_op_XmlMaps.go index 8cda2612dd5..4500bf717f6 100644 --- a/internal/protocoltest/query/api_op_XmlMaps.go +++ b/internal/protocoltest/query/api_op_XmlMaps.go @@ -104,9 +104,6 @@ func (c *Client) addOperationXmlMapsMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlMaps(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_XmlMapsXmlName.go b/internal/protocoltest/query/api_op_XmlMapsXmlName.go index 0504609d490..00a3d418014 100644 --- a/internal/protocoltest/query/api_op_XmlMapsXmlName.go +++ b/internal/protocoltest/query/api_op_XmlMapsXmlName.go @@ -103,9 +103,6 @@ func (c *Client) addOperationXmlMapsXmlNameMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlMapsXmlName(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_XmlNamespaces.go b/internal/protocoltest/query/api_op_XmlNamespaces.go index 8b2512ba0f2..6775c1583fe 100644 --- a/internal/protocoltest/query/api_op_XmlNamespaces.go +++ b/internal/protocoltest/query/api_op_XmlNamespaces.go @@ -103,9 +103,6 @@ func (c *Client) addOperationXmlNamespacesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlNamespaces(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/query/api_op_XmlTimestamps.go b/internal/protocoltest/query/api_op_XmlTimestamps.go index fd60d1f9fe5..40587dd7de9 100644 --- a/internal/protocoltest/query/api_op_XmlTimestamps.go +++ b/internal/protocoltest/query/api_op_XmlTimestamps.go @@ -117,9 +117,6 @@ func (c *Client) addOperationXmlTimestampsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlTimestamps(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/query/snapshot/api_op_DatetimeOffsets.go.snap b/internal/protocoltest/query/snapshot/api_op_DatetimeOffsets.go.snap index 5dcb992e909..5276033461e 100644 --- a/internal/protocoltest/query/snapshot/api_op_DatetimeOffsets.go.snap +++ b/internal/protocoltest/query/snapshot/api_op_DatetimeOffsets.go.snap @@ -13,7 +13,6 @@ DatetimeOffsets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/query/snapshot/api_op_EmptyInputAndEmptyOutput.go.snap b/internal/protocoltest/query/snapshot/api_op_EmptyInputAndEmptyOutput.go.snap index 5e9235ef577..4302e515732 100644 --- a/internal/protocoltest/query/snapshot/api_op_EmptyInputAndEmptyOutput.go.snap +++ b/internal/protocoltest/query/snapshot/api_op_EmptyInputAndEmptyOutput.go.snap @@ -13,7 +13,6 @@ EmptyInputAndEmptyOutput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/query/snapshot/api_op_EndpointOperation.go.snap b/internal/protocoltest/query/snapshot/api_op_EndpointOperation.go.snap index 3f840cff684..28503162eda 100644 --- a/internal/protocoltest/query/snapshot/api_op_EndpointOperation.go.snap +++ b/internal/protocoltest/query/snapshot/api_op_EndpointOperation.go.snap @@ -13,7 +13,6 @@ EndpointOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/query/snapshot/api_op_EndpointWithHostLabelOperation.go.snap b/internal/protocoltest/query/snapshot/api_op_EndpointWithHostLabelOperation.go.snap index f8740311ef2..f3d3c7a5def 100644 --- a/internal/protocoltest/query/snapshot/api_op_EndpointWithHostLabelOperation.go.snap +++ b/internal/protocoltest/query/snapshot/api_op_EndpointWithHostLabelOperation.go.snap @@ -14,7 +14,6 @@ EndpointWithHostLabelOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/query/snapshot/api_op_FlattenedXmlMap.go.snap b/internal/protocoltest/query/snapshot/api_op_FlattenedXmlMap.go.snap index afcd0b7578e..5ab89466ec7 100644 --- a/internal/protocoltest/query/snapshot/api_op_FlattenedXmlMap.go.snap +++ b/internal/protocoltest/query/snapshot/api_op_FlattenedXmlMap.go.snap @@ -13,7 +13,6 @@ FlattenedXmlMap Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/query/snapshot/api_op_FlattenedXmlMapWithXmlName.go.snap b/internal/protocoltest/query/snapshot/api_op_FlattenedXmlMapWithXmlName.go.snap index 947dd04f5b7..ed954561f30 100644 --- a/internal/protocoltest/query/snapshot/api_op_FlattenedXmlMapWithXmlName.go.snap +++ b/internal/protocoltest/query/snapshot/api_op_FlattenedXmlMapWithXmlName.go.snap @@ -13,7 +13,6 @@ FlattenedXmlMapWithXmlName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/query/snapshot/api_op_FlattenedXmlMapWithXmlNamespace.go.snap b/internal/protocoltest/query/snapshot/api_op_FlattenedXmlMapWithXmlNamespace.go.snap index 1c33ab89798..f932f1cf789 100644 --- a/internal/protocoltest/query/snapshot/api_op_FlattenedXmlMapWithXmlNamespace.go.snap +++ b/internal/protocoltest/query/snapshot/api_op_FlattenedXmlMapWithXmlNamespace.go.snap @@ -13,7 +13,6 @@ FlattenedXmlMapWithXmlNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/query/snapshot/api_op_FractionalSeconds.go.snap b/internal/protocoltest/query/snapshot/api_op_FractionalSeconds.go.snap index 7117639c3aa..28a835e9cab 100644 --- a/internal/protocoltest/query/snapshot/api_op_FractionalSeconds.go.snap +++ b/internal/protocoltest/query/snapshot/api_op_FractionalSeconds.go.snap @@ -13,7 +13,6 @@ FractionalSeconds Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/query/snapshot/api_op_GreetingWithErrors.go.snap b/internal/protocoltest/query/snapshot/api_op_GreetingWithErrors.go.snap index 120fc8ad942..189401fd7a7 100644 --- a/internal/protocoltest/query/snapshot/api_op_GreetingWithErrors.go.snap +++ b/internal/protocoltest/query/snapshot/api_op_GreetingWithErrors.go.snap @@ -13,7 +13,6 @@ GreetingWithErrors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/query/snapshot/api_op_HostWithPathOperation.go.snap b/internal/protocoltest/query/snapshot/api_op_HostWithPathOperation.go.snap index 26ef08aef63..36b0f4338cb 100644 --- a/internal/protocoltest/query/snapshot/api_op_HostWithPathOperation.go.snap +++ b/internal/protocoltest/query/snapshot/api_op_HostWithPathOperation.go.snap @@ -13,7 +13,6 @@ HostWithPathOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/query/snapshot/api_op_IgnoresWrappingXmlName.go.snap b/internal/protocoltest/query/snapshot/api_op_IgnoresWrappingXmlName.go.snap index 9879d7d7dad..e0c9e44cc83 100644 --- a/internal/protocoltest/query/snapshot/api_op_IgnoresWrappingXmlName.go.snap +++ b/internal/protocoltest/query/snapshot/api_op_IgnoresWrappingXmlName.go.snap @@ -13,7 +13,6 @@ IgnoresWrappingXmlName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/query/snapshot/api_op_NestedStructures.go.snap b/internal/protocoltest/query/snapshot/api_op_NestedStructures.go.snap index 4d43f1a0dcf..0722460bda4 100644 --- a/internal/protocoltest/query/snapshot/api_op_NestedStructures.go.snap +++ b/internal/protocoltest/query/snapshot/api_op_NestedStructures.go.snap @@ -13,7 +13,6 @@ NestedStructures Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/query/snapshot/api_op_NoInputAndNoOutput.go.snap b/internal/protocoltest/query/snapshot/api_op_NoInputAndNoOutput.go.snap index 590efbb25df..d5b30b4e553 100644 --- a/internal/protocoltest/query/snapshot/api_op_NoInputAndNoOutput.go.snap +++ b/internal/protocoltest/query/snapshot/api_op_NoInputAndNoOutput.go.snap @@ -13,7 +13,6 @@ NoInputAndNoOutput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/query/snapshot/api_op_NoInputAndOutput.go.snap b/internal/protocoltest/query/snapshot/api_op_NoInputAndOutput.go.snap index e5df4c1e8e3..1bc3bb43430 100644 --- a/internal/protocoltest/query/snapshot/api_op_NoInputAndOutput.go.snap +++ b/internal/protocoltest/query/snapshot/api_op_NoInputAndOutput.go.snap @@ -13,7 +13,6 @@ NoInputAndOutput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/query/snapshot/api_op_PutWithContentEncoding.go.snap b/internal/protocoltest/query/snapshot/api_op_PutWithContentEncoding.go.snap index cc7f49f4284..6fda078ed45 100644 --- a/internal/protocoltest/query/snapshot/api_op_PutWithContentEncoding.go.snap +++ b/internal/protocoltest/query/snapshot/api_op_PutWithContentEncoding.go.snap @@ -14,7 +14,6 @@ PutWithContentEncoding Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/query/snapshot/api_op_QueryIdempotencyTokenAutoFill.go.snap b/internal/protocoltest/query/snapshot/api_op_QueryIdempotencyTokenAutoFill.go.snap index 0ea89d88710..69bf33a910f 100644 --- a/internal/protocoltest/query/snapshot/api_op_QueryIdempotencyTokenAutoFill.go.snap +++ b/internal/protocoltest/query/snapshot/api_op_QueryIdempotencyTokenAutoFill.go.snap @@ -14,7 +14,6 @@ QueryIdempotencyTokenAutoFill Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/query/snapshot/api_op_QueryLists.go.snap b/internal/protocoltest/query/snapshot/api_op_QueryLists.go.snap index 50d8bd465cc..56feabac88e 100644 --- a/internal/protocoltest/query/snapshot/api_op_QueryLists.go.snap +++ b/internal/protocoltest/query/snapshot/api_op_QueryLists.go.snap @@ -13,7 +13,6 @@ QueryLists Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/query/snapshot/api_op_QueryMaps.go.snap b/internal/protocoltest/query/snapshot/api_op_QueryMaps.go.snap index 2b688acade9..dff2dc5c6a7 100644 --- a/internal/protocoltest/query/snapshot/api_op_QueryMaps.go.snap +++ b/internal/protocoltest/query/snapshot/api_op_QueryMaps.go.snap @@ -13,7 +13,6 @@ QueryMaps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/query/snapshot/api_op_QueryTimestamps.go.snap b/internal/protocoltest/query/snapshot/api_op_QueryTimestamps.go.snap index 35f97a9bfa2..89e73fcc5c2 100644 --- a/internal/protocoltest/query/snapshot/api_op_QueryTimestamps.go.snap +++ b/internal/protocoltest/query/snapshot/api_op_QueryTimestamps.go.snap @@ -13,7 +13,6 @@ QueryTimestamps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/query/snapshot/api_op_RecursiveXmlShapes.go.snap b/internal/protocoltest/query/snapshot/api_op_RecursiveXmlShapes.go.snap index 121ffcea397..aea84de9e4f 100644 --- a/internal/protocoltest/query/snapshot/api_op_RecursiveXmlShapes.go.snap +++ b/internal/protocoltest/query/snapshot/api_op_RecursiveXmlShapes.go.snap @@ -13,7 +13,6 @@ RecursiveXmlShapes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/query/snapshot/api_op_SimpleInputParams.go.snap b/internal/protocoltest/query/snapshot/api_op_SimpleInputParams.go.snap index a9b380d15d4..4639270d21a 100644 --- a/internal/protocoltest/query/snapshot/api_op_SimpleInputParams.go.snap +++ b/internal/protocoltest/query/snapshot/api_op_SimpleInputParams.go.snap @@ -13,7 +13,6 @@ SimpleInputParams Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/query/snapshot/api_op_SimpleScalarXmlProperties.go.snap b/internal/protocoltest/query/snapshot/api_op_SimpleScalarXmlProperties.go.snap index 171b9818326..b90ae30781f 100644 --- a/internal/protocoltest/query/snapshot/api_op_SimpleScalarXmlProperties.go.snap +++ b/internal/protocoltest/query/snapshot/api_op_SimpleScalarXmlProperties.go.snap @@ -13,7 +13,6 @@ SimpleScalarXmlProperties Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/query/snapshot/api_op_XmlBlobs.go.snap b/internal/protocoltest/query/snapshot/api_op_XmlBlobs.go.snap index d3ddfdf26e3..a8cbac81737 100644 --- a/internal/protocoltest/query/snapshot/api_op_XmlBlobs.go.snap +++ b/internal/protocoltest/query/snapshot/api_op_XmlBlobs.go.snap @@ -13,7 +13,6 @@ XmlBlobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/query/snapshot/api_op_XmlEmptyBlobs.go.snap b/internal/protocoltest/query/snapshot/api_op_XmlEmptyBlobs.go.snap index 29050dc9394..af5cc710c55 100644 --- a/internal/protocoltest/query/snapshot/api_op_XmlEmptyBlobs.go.snap +++ b/internal/protocoltest/query/snapshot/api_op_XmlEmptyBlobs.go.snap @@ -13,7 +13,6 @@ XmlEmptyBlobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/query/snapshot/api_op_XmlEmptyLists.go.snap b/internal/protocoltest/query/snapshot/api_op_XmlEmptyLists.go.snap index 9628f6f612a..21631cf20d2 100644 --- a/internal/protocoltest/query/snapshot/api_op_XmlEmptyLists.go.snap +++ b/internal/protocoltest/query/snapshot/api_op_XmlEmptyLists.go.snap @@ -13,7 +13,6 @@ XmlEmptyLists Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/query/snapshot/api_op_XmlEmptyMaps.go.snap b/internal/protocoltest/query/snapshot/api_op_XmlEmptyMaps.go.snap index 35cbf05322b..5c2ac469f93 100644 --- a/internal/protocoltest/query/snapshot/api_op_XmlEmptyMaps.go.snap +++ b/internal/protocoltest/query/snapshot/api_op_XmlEmptyMaps.go.snap @@ -13,7 +13,6 @@ XmlEmptyMaps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/query/snapshot/api_op_XmlEnums.go.snap b/internal/protocoltest/query/snapshot/api_op_XmlEnums.go.snap index d12e5e3102e..9709f220b18 100644 --- a/internal/protocoltest/query/snapshot/api_op_XmlEnums.go.snap +++ b/internal/protocoltest/query/snapshot/api_op_XmlEnums.go.snap @@ -13,7 +13,6 @@ XmlEnums Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/query/snapshot/api_op_XmlIntEnums.go.snap b/internal/protocoltest/query/snapshot/api_op_XmlIntEnums.go.snap index d888ec90554..e37655fccab 100644 --- a/internal/protocoltest/query/snapshot/api_op_XmlIntEnums.go.snap +++ b/internal/protocoltest/query/snapshot/api_op_XmlIntEnums.go.snap @@ -13,7 +13,6 @@ XmlIntEnums Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/query/snapshot/api_op_XmlLists.go.snap b/internal/protocoltest/query/snapshot/api_op_XmlLists.go.snap index b0a38e3e1c7..53fca601f59 100644 --- a/internal/protocoltest/query/snapshot/api_op_XmlLists.go.snap +++ b/internal/protocoltest/query/snapshot/api_op_XmlLists.go.snap @@ -13,7 +13,6 @@ XmlLists Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/query/snapshot/api_op_XmlMaps.go.snap b/internal/protocoltest/query/snapshot/api_op_XmlMaps.go.snap index 24c9e29209a..25d2f41ece9 100644 --- a/internal/protocoltest/query/snapshot/api_op_XmlMaps.go.snap +++ b/internal/protocoltest/query/snapshot/api_op_XmlMaps.go.snap @@ -13,7 +13,6 @@ XmlMaps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/query/snapshot/api_op_XmlMapsXmlName.go.snap b/internal/protocoltest/query/snapshot/api_op_XmlMapsXmlName.go.snap index 97193045fe6..31ed4c5ad5a 100644 --- a/internal/protocoltest/query/snapshot/api_op_XmlMapsXmlName.go.snap +++ b/internal/protocoltest/query/snapshot/api_op_XmlMapsXmlName.go.snap @@ -13,7 +13,6 @@ XmlMapsXmlName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/query/snapshot/api_op_XmlNamespaces.go.snap b/internal/protocoltest/query/snapshot/api_op_XmlNamespaces.go.snap index e94ef9df1d4..5b3522a92ad 100644 --- a/internal/protocoltest/query/snapshot/api_op_XmlNamespaces.go.snap +++ b/internal/protocoltest/query/snapshot/api_op_XmlNamespaces.go.snap @@ -13,7 +13,6 @@ XmlNamespaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/query/snapshot/api_op_XmlTimestamps.go.snap b/internal/protocoltest/query/snapshot/api_op_XmlTimestamps.go.snap index 029e7fcf3f6..67fa7b3f166 100644 --- a/internal/protocoltest/query/snapshot/api_op_XmlTimestamps.go.snap +++ b/internal/protocoltest/query/snapshot/api_op_XmlTimestamps.go.snap @@ -13,7 +13,6 @@ XmlTimestamps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/api_client.go b/internal/protocoltest/restxml/api_client.go index bfe787ac95d..1560075496e 100644 --- a/internal/protocoltest/restxml/api_client.go +++ b/internal/protocoltest/restxml/api_client.go @@ -774,37 +774,6 @@ func addIsRequestCompressionUserAgent(stack *middleware.Stack, options Options) return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/internal/protocoltest/restxml/api_op_AllQueryStringTypes.go b/internal/protocoltest/restxml/api_op_AllQueryStringTypes.go index 051218a1ca1..9a2a240f10b 100644 --- a/internal/protocoltest/restxml/api_op_AllQueryStringTypes.go +++ b/internal/protocoltest/restxml/api_op_AllQueryStringTypes.go @@ -145,9 +145,6 @@ func (c *Client) addOperationAllQueryStringTypesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAllQueryStringTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_BodyWithXmlName.go b/internal/protocoltest/restxml/api_op_BodyWithXmlName.go index 826824bd000..16626bc917b 100644 --- a/internal/protocoltest/restxml/api_op_BodyWithXmlName.go +++ b/internal/protocoltest/restxml/api_op_BodyWithXmlName.go @@ -107,9 +107,6 @@ func (c *Client) addOperationBodyWithXmlNameMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBodyWithXmlName(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_ConstantAndVariableQueryString.go b/internal/protocoltest/restxml/api_op_ConstantAndVariableQueryString.go index 0b56dcbbc96..9209da9ba09 100644 --- a/internal/protocoltest/restxml/api_op_ConstantAndVariableQueryString.go +++ b/internal/protocoltest/restxml/api_op_ConstantAndVariableQueryString.go @@ -107,9 +107,6 @@ func (c *Client) addOperationConstantAndVariableQueryStringMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opConstantAndVariableQueryString(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_ConstantQueryString.go b/internal/protocoltest/restxml/api_op_ConstantQueryString.go index fa9e0308955..563fe47e955 100644 --- a/internal/protocoltest/restxml/api_op_ConstantQueryString.go +++ b/internal/protocoltest/restxml/api_op_ConstantQueryString.go @@ -108,9 +108,6 @@ func (c *Client) addOperationConstantQueryStringMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpConstantQueryStringValidationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_ContentTypeParameters.go b/internal/protocoltest/restxml/api_op_ContentTypeParameters.go index b000d2b93d8..7aac5d3638e 100644 --- a/internal/protocoltest/restxml/api_op_ContentTypeParameters.go +++ b/internal/protocoltest/restxml/api_op_ContentTypeParameters.go @@ -104,9 +104,6 @@ func (c *Client) addOperationContentTypeParametersMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opContentTypeParameters(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_DatetimeOffsets.go b/internal/protocoltest/restxml/api_op_DatetimeOffsets.go index 6d20b7cfe6e..877d2b36758 100644 --- a/internal/protocoltest/restxml/api_op_DatetimeOffsets.go +++ b/internal/protocoltest/restxml/api_op_DatetimeOffsets.go @@ -103,9 +103,6 @@ func (c *Client) addOperationDatetimeOffsetsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDatetimeOffsets(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_EmptyInputAndEmptyOutput.go b/internal/protocoltest/restxml/api_op_EmptyInputAndEmptyOutput.go index 97b71c25c9b..48cd954403a 100644 --- a/internal/protocoltest/restxml/api_op_EmptyInputAndEmptyOutput.go +++ b/internal/protocoltest/restxml/api_op_EmptyInputAndEmptyOutput.go @@ -104,9 +104,6 @@ func (c *Client) addOperationEmptyInputAndEmptyOutputMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEmptyInputAndEmptyOutput(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_EndpointOperation.go b/internal/protocoltest/restxml/api_op_EndpointOperation.go index a58972dbb43..f1f35903aa0 100644 --- a/internal/protocoltest/restxml/api_op_EndpointOperation.go +++ b/internal/protocoltest/restxml/api_op_EndpointOperation.go @@ -100,9 +100,6 @@ func (c *Client) addOperationEndpointOperationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opEndpointOperationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_EndpointWithHostLabelHeaderOperation.go b/internal/protocoltest/restxml/api_op_EndpointWithHostLabelHeaderOperation.go index e1f03213755..33a807c26aa 100644 --- a/internal/protocoltest/restxml/api_op_EndpointWithHostLabelHeaderOperation.go +++ b/internal/protocoltest/restxml/api_op_EndpointWithHostLabelHeaderOperation.go @@ -106,9 +106,6 @@ func (c *Client) addOperationEndpointWithHostLabelHeaderOperationMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opEndpointWithHostLabelHeaderOperationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_EndpointWithHostLabelOperation.go b/internal/protocoltest/restxml/api_op_EndpointWithHostLabelOperation.go index a5eb3a8cac4..f99ba7ecad1 100644 --- a/internal/protocoltest/restxml/api_op_EndpointWithHostLabelOperation.go +++ b/internal/protocoltest/restxml/api_op_EndpointWithHostLabelOperation.go @@ -106,9 +106,6 @@ func (c *Client) addOperationEndpointWithHostLabelOperationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opEndpointWithHostLabelOperationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_FlattenedXmlMap.go b/internal/protocoltest/restxml/api_op_FlattenedXmlMap.go index 8daa434a164..4d81cb3a384 100644 --- a/internal/protocoltest/restxml/api_op_FlattenedXmlMap.go +++ b/internal/protocoltest/restxml/api_op_FlattenedXmlMap.go @@ -106,9 +106,6 @@ func (c *Client) addOperationFlattenedXmlMapMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFlattenedXmlMap(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_FlattenedXmlMapWithXmlName.go b/internal/protocoltest/restxml/api_op_FlattenedXmlMapWithXmlName.go index 8af31cc2047..0d65b8ec5bc 100644 --- a/internal/protocoltest/restxml/api_op_FlattenedXmlMapWithXmlName.go +++ b/internal/protocoltest/restxml/api_op_FlattenedXmlMapWithXmlName.go @@ -105,9 +105,6 @@ func (c *Client) addOperationFlattenedXmlMapWithXmlNameMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFlattenedXmlMapWithXmlName(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_FlattenedXmlMapWithXmlNamespace.go b/internal/protocoltest/restxml/api_op_FlattenedXmlMapWithXmlNamespace.go index c3b95fbe479..436a98b01c2 100644 --- a/internal/protocoltest/restxml/api_op_FlattenedXmlMapWithXmlNamespace.go +++ b/internal/protocoltest/restxml/api_op_FlattenedXmlMapWithXmlNamespace.go @@ -103,9 +103,6 @@ func (c *Client) addOperationFlattenedXmlMapWithXmlNamespaceMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFlattenedXmlMapWithXmlNamespace(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_FractionalSeconds.go b/internal/protocoltest/restxml/api_op_FractionalSeconds.go index 7edf190dc97..31ce1188ba9 100644 --- a/internal/protocoltest/restxml/api_op_FractionalSeconds.go +++ b/internal/protocoltest/restxml/api_op_FractionalSeconds.go @@ -103,9 +103,6 @@ func (c *Client) addOperationFractionalSecondsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFractionalSeconds(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_GreetingWithErrors.go b/internal/protocoltest/restxml/api_op_GreetingWithErrors.go index 06018a1f32a..70bb25e3c0c 100644 --- a/internal/protocoltest/restxml/api_op_GreetingWithErrors.go +++ b/internal/protocoltest/restxml/api_op_GreetingWithErrors.go @@ -110,9 +110,6 @@ func (c *Client) addOperationGreetingWithErrorsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGreetingWithErrors(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_HttpEnumPayload.go b/internal/protocoltest/restxml/api_op_HttpEnumPayload.go index 574f50c53b6..7a077c28c57 100644 --- a/internal/protocoltest/restxml/api_op_HttpEnumPayload.go +++ b/internal/protocoltest/restxml/api_op_HttpEnumPayload.go @@ -105,9 +105,6 @@ func (c *Client) addOperationHttpEnumPayloadMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpEnumPayload(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_HttpPayloadTraits.go b/internal/protocoltest/restxml/api_op_HttpPayloadTraits.go index 0f0ef287b12..365a3ae70d7 100644 --- a/internal/protocoltest/restxml/api_op_HttpPayloadTraits.go +++ b/internal/protocoltest/restxml/api_op_HttpPayloadTraits.go @@ -112,9 +112,6 @@ func (c *Client) addOperationHttpPayloadTraitsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpPayloadTraits(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_HttpPayloadTraitsWithMediaType.go b/internal/protocoltest/restxml/api_op_HttpPayloadTraitsWithMediaType.go index b87bfeb6942..50f3d97feff 100644 --- a/internal/protocoltest/restxml/api_op_HttpPayloadTraitsWithMediaType.go +++ b/internal/protocoltest/restxml/api_op_HttpPayloadTraitsWithMediaType.go @@ -114,9 +114,6 @@ func (c *Client) addOperationHttpPayloadTraitsWithMediaTypeMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpPayloadTraitsWithMediaType(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_HttpPayloadWithMemberXmlName.go b/internal/protocoltest/restxml/api_op_HttpPayloadWithMemberXmlName.go index e97a8119c94..5d4895823c4 100644 --- a/internal/protocoltest/restxml/api_op_HttpPayloadWithMemberXmlName.go +++ b/internal/protocoltest/restxml/api_op_HttpPayloadWithMemberXmlName.go @@ -107,9 +107,6 @@ func (c *Client) addOperationHttpPayloadWithMemberXmlNameMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpPayloadWithMemberXmlName(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_HttpPayloadWithStructure.go b/internal/protocoltest/restxml/api_op_HttpPayloadWithStructure.go index fc90022e561..217d1fda774 100644 --- a/internal/protocoltest/restxml/api_op_HttpPayloadWithStructure.go +++ b/internal/protocoltest/restxml/api_op_HttpPayloadWithStructure.go @@ -109,9 +109,6 @@ func (c *Client) addOperationHttpPayloadWithStructureMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpPayloadWithStructure(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_HttpPayloadWithUnion.go b/internal/protocoltest/restxml/api_op_HttpPayloadWithUnion.go index 9849810de0d..327b45090dc 100644 --- a/internal/protocoltest/restxml/api_op_HttpPayloadWithUnion.go +++ b/internal/protocoltest/restxml/api_op_HttpPayloadWithUnion.go @@ -106,9 +106,6 @@ func (c *Client) addOperationHttpPayloadWithUnionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpPayloadWithUnion(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlName.go b/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlName.go index e45e6a2a32b..d79f1ddaafc 100644 --- a/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlName.go +++ b/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlName.go @@ -107,9 +107,6 @@ func (c *Client) addOperationHttpPayloadWithXmlNameMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpPayloadWithXmlName(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlNamespace.go b/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlNamespace.go index d8fcb8207c4..8a1819afb54 100644 --- a/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlNamespace.go +++ b/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlNamespace.go @@ -106,9 +106,6 @@ func (c *Client) addOperationHttpPayloadWithXmlNamespaceMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpPayloadWithXmlNamespace(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlNamespaceAndPrefix.go b/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlNamespaceAndPrefix.go index fced3c3a292..d6ea3dd0cf8 100644 --- a/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlNamespaceAndPrefix.go +++ b/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlNamespaceAndPrefix.go @@ -106,9 +106,6 @@ func (c *Client) addOperationHttpPayloadWithXmlNamespaceAndPrefixMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpPayloadWithXmlNamespaceAndPrefix(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_HttpPrefixHeaders.go b/internal/protocoltest/restxml/api_op_HttpPrefixHeaders.go index 2283042ae21..4f440ae69e3 100644 --- a/internal/protocoltest/restxml/api_op_HttpPrefixHeaders.go +++ b/internal/protocoltest/restxml/api_op_HttpPrefixHeaders.go @@ -110,9 +110,6 @@ func (c *Client) addOperationHttpPrefixHeadersMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpPrefixHeaders(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_HttpRequestWithFloatLabels.go b/internal/protocoltest/restxml/api_op_HttpRequestWithFloatLabels.go index a253d1f2016..4841a72b246 100644 --- a/internal/protocoltest/restxml/api_op_HttpRequestWithFloatLabels.go +++ b/internal/protocoltest/restxml/api_op_HttpRequestWithFloatLabels.go @@ -107,9 +107,6 @@ func (c *Client) addOperationHttpRequestWithFloatLabelsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpHttpRequestWithFloatLabelsValidationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_HttpRequestWithGreedyLabelInPath.go b/internal/protocoltest/restxml/api_op_HttpRequestWithGreedyLabelInPath.go index 68edb7a8919..a9dc49521a5 100644 --- a/internal/protocoltest/restxml/api_op_HttpRequestWithGreedyLabelInPath.go +++ b/internal/protocoltest/restxml/api_op_HttpRequestWithGreedyLabelInPath.go @@ -107,9 +107,6 @@ func (c *Client) addOperationHttpRequestWithGreedyLabelInPathMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpHttpRequestWithGreedyLabelInPathValidationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_HttpRequestWithLabels.go b/internal/protocoltest/restxml/api_op_HttpRequestWithLabels.go index 5fde61c2f8d..ad27a450647 100644 --- a/internal/protocoltest/restxml/api_op_HttpRequestWithLabels.go +++ b/internal/protocoltest/restxml/api_op_HttpRequestWithLabels.go @@ -133,9 +133,6 @@ func (c *Client) addOperationHttpRequestWithLabelsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpHttpRequestWithLabelsValidationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_HttpRequestWithLabelsAndTimestampFormat.go b/internal/protocoltest/restxml/api_op_HttpRequestWithLabelsAndTimestampFormat.go index 2f810dd5be4..46196af612f 100644 --- a/internal/protocoltest/restxml/api_op_HttpRequestWithLabelsAndTimestampFormat.go +++ b/internal/protocoltest/restxml/api_op_HttpRequestWithLabelsAndTimestampFormat.go @@ -125,9 +125,6 @@ func (c *Client) addOperationHttpRequestWithLabelsAndTimestampFormatMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpHttpRequestWithLabelsAndTimestampFormatValidationMiddleware(stack); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_HttpResponseCode.go b/internal/protocoltest/restxml/api_op_HttpResponseCode.go index e34e3c378c3..17d422292c6 100644 --- a/internal/protocoltest/restxml/api_op_HttpResponseCode.go +++ b/internal/protocoltest/restxml/api_op_HttpResponseCode.go @@ -102,9 +102,6 @@ func (c *Client) addOperationHttpResponseCodeMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpResponseCode(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_HttpStringPayload.go b/internal/protocoltest/restxml/api_op_HttpStringPayload.go index fdb79d2b839..93baaf2e22a 100644 --- a/internal/protocoltest/restxml/api_op_HttpStringPayload.go +++ b/internal/protocoltest/restxml/api_op_HttpStringPayload.go @@ -104,9 +104,6 @@ func (c *Client) addOperationHttpStringPayloadMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opHttpStringPayload(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_IgnoreQueryParamsInResponse.go b/internal/protocoltest/restxml/api_op_IgnoreQueryParamsInResponse.go index 3398462e760..30371639a2d 100644 --- a/internal/protocoltest/restxml/api_op_IgnoreQueryParamsInResponse.go +++ b/internal/protocoltest/restxml/api_op_IgnoreQueryParamsInResponse.go @@ -105,9 +105,6 @@ func (c *Client) addOperationIgnoreQueryParamsInResponseMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opIgnoreQueryParamsInResponse(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_InputAndOutputWithHeaders.go b/internal/protocoltest/restxml/api_op_InputAndOutputWithHeaders.go index c7988abe00c..31b43dc8433 100644 --- a/internal/protocoltest/restxml/api_op_InputAndOutputWithHeaders.go +++ b/internal/protocoltest/restxml/api_op_InputAndOutputWithHeaders.go @@ -168,9 +168,6 @@ func (c *Client) addOperationInputAndOutputWithHeadersMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInputAndOutputWithHeaders(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_NestedXmlMapWithXmlName.go b/internal/protocoltest/restxml/api_op_NestedXmlMapWithXmlName.go index 535e6961eb8..c4c97bb1fb3 100644 --- a/internal/protocoltest/restxml/api_op_NestedXmlMapWithXmlName.go +++ b/internal/protocoltest/restxml/api_op_NestedXmlMapWithXmlName.go @@ -105,9 +105,6 @@ func (c *Client) addOperationNestedXmlMapWithXmlNameMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNestedXmlMapWithXmlName(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_NestedXmlMaps.go b/internal/protocoltest/restxml/api_op_NestedXmlMaps.go index eeaff4f929d..08a493b2d25 100644 --- a/internal/protocoltest/restxml/api_op_NestedXmlMaps.go +++ b/internal/protocoltest/restxml/api_op_NestedXmlMaps.go @@ -109,9 +109,6 @@ func (c *Client) addOperationNestedXmlMapsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNestedXmlMaps(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_NoInputAndNoOutput.go b/internal/protocoltest/restxml/api_op_NoInputAndNoOutput.go index 2728f65c49b..af8ef93b893 100644 --- a/internal/protocoltest/restxml/api_op_NoInputAndNoOutput.go +++ b/internal/protocoltest/restxml/api_op_NoInputAndNoOutput.go @@ -103,9 +103,6 @@ func (c *Client) addOperationNoInputAndNoOutputMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNoInputAndNoOutput(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_NoInputAndOutput.go b/internal/protocoltest/restxml/api_op_NoInputAndOutput.go index 436e2f34bd5..f8c5b366576 100644 --- a/internal/protocoltest/restxml/api_op_NoInputAndOutput.go +++ b/internal/protocoltest/restxml/api_op_NoInputAndOutput.go @@ -103,9 +103,6 @@ func (c *Client) addOperationNoInputAndOutputMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNoInputAndOutput(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_NullAndEmptyHeadersClient.go b/internal/protocoltest/restxml/api_op_NullAndEmptyHeadersClient.go index 88882348ae1..ba32b1146f2 100644 --- a/internal/protocoltest/restxml/api_op_NullAndEmptyHeadersClient.go +++ b/internal/protocoltest/restxml/api_op_NullAndEmptyHeadersClient.go @@ -113,9 +113,6 @@ func (c *Client) addOperationNullAndEmptyHeadersClientMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNullAndEmptyHeadersClient(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_NullAndEmptyHeadersServer.go b/internal/protocoltest/restxml/api_op_NullAndEmptyHeadersServer.go index 68cf844fd30..05088cbc5e3 100644 --- a/internal/protocoltest/restxml/api_op_NullAndEmptyHeadersServer.go +++ b/internal/protocoltest/restxml/api_op_NullAndEmptyHeadersServer.go @@ -113,9 +113,6 @@ func (c *Client) addOperationNullAndEmptyHeadersServerMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opNullAndEmptyHeadersServer(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_OmitsNullSerializesEmptyString.go b/internal/protocoltest/restxml/api_op_OmitsNullSerializesEmptyString.go index 5e9e798544d..cef492e9d0d 100644 --- a/internal/protocoltest/restxml/api_op_OmitsNullSerializesEmptyString.go +++ b/internal/protocoltest/restxml/api_op_OmitsNullSerializesEmptyString.go @@ -105,9 +105,6 @@ func (c *Client) addOperationOmitsNullSerializesEmptyStringMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opOmitsNullSerializesEmptyString(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_PutWithContentEncoding.go b/internal/protocoltest/restxml/api_op_PutWithContentEncoding.go index f49300b4207..00c50110688 100644 --- a/internal/protocoltest/restxml/api_op_PutWithContentEncoding.go +++ b/internal/protocoltest/restxml/api_op_PutWithContentEncoding.go @@ -108,9 +108,6 @@ func (c *Client) addOperationPutWithContentEncodingMiddlewares(stack *middleware if err = addIsRequestCompressionUserAgent(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOperationPutWithContentEncodingRequestCompressionMiddleware(stack, options); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_QueryIdempotencyTokenAutoFill.go b/internal/protocoltest/restxml/api_op_QueryIdempotencyTokenAutoFill.go index bb41c19f5a2..f5306cfcd2c 100644 --- a/internal/protocoltest/restxml/api_op_QueryIdempotencyTokenAutoFill.go +++ b/internal/protocoltest/restxml/api_op_QueryIdempotencyTokenAutoFill.go @@ -103,9 +103,6 @@ func (c *Client) addOperationQueryIdempotencyTokenAutoFillMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opQueryIdempotencyTokenAutoFillMiddleware(stack, options); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_QueryParamsAsStringListMap.go b/internal/protocoltest/restxml/api_op_QueryParamsAsStringListMap.go index 694517b72d3..82e4d206a5c 100644 --- a/internal/protocoltest/restxml/api_op_QueryParamsAsStringListMap.go +++ b/internal/protocoltest/restxml/api_op_QueryParamsAsStringListMap.go @@ -104,9 +104,6 @@ func (c *Client) addOperationQueryParamsAsStringListMapMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQueryParamsAsStringListMap(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_QueryPrecedence.go b/internal/protocoltest/restxml/api_op_QueryPrecedence.go index 9cc6888b3fc..bf636ed8008 100644 --- a/internal/protocoltest/restxml/api_op_QueryPrecedence.go +++ b/internal/protocoltest/restxml/api_op_QueryPrecedence.go @@ -104,9 +104,6 @@ func (c *Client) addOperationQueryPrecedenceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQueryPrecedence(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_RecursiveShapes.go b/internal/protocoltest/restxml/api_op_RecursiveShapes.go index bbbe0e92e6f..d6e23598501 100644 --- a/internal/protocoltest/restxml/api_op_RecursiveShapes.go +++ b/internal/protocoltest/restxml/api_op_RecursiveShapes.go @@ -106,9 +106,6 @@ func (c *Client) addOperationRecursiveShapesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRecursiveShapes(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_SimpleScalarProperties.go b/internal/protocoltest/restxml/api_op_SimpleScalarProperties.go index 03f8cf19b43..425d6817cf4 100644 --- a/internal/protocoltest/restxml/api_op_SimpleScalarProperties.go +++ b/internal/protocoltest/restxml/api_op_SimpleScalarProperties.go @@ -140,9 +140,6 @@ func (c *Client) addOperationSimpleScalarPropertiesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSimpleScalarProperties(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_TimestampFormatHeaders.go b/internal/protocoltest/restxml/api_op_TimestampFormatHeaders.go index e24d62ddd71..29729bfdb06 100644 --- a/internal/protocoltest/restxml/api_op_TimestampFormatHeaders.go +++ b/internal/protocoltest/restxml/api_op_TimestampFormatHeaders.go @@ -130,9 +130,6 @@ func (c *Client) addOperationTimestampFormatHeadersMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTimestampFormatHeaders(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_XmlAttributes.go b/internal/protocoltest/restxml/api_op_XmlAttributes.go index 20dac29dc94..25fa209c6f5 100644 --- a/internal/protocoltest/restxml/api_op_XmlAttributes.go +++ b/internal/protocoltest/restxml/api_op_XmlAttributes.go @@ -109,9 +109,6 @@ func (c *Client) addOperationXmlAttributesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlAttributes(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_XmlAttributesOnPayload.go b/internal/protocoltest/restxml/api_op_XmlAttributesOnPayload.go index 6d1283ee4c5..7642bab9c70 100644 --- a/internal/protocoltest/restxml/api_op_XmlAttributesOnPayload.go +++ b/internal/protocoltest/restxml/api_op_XmlAttributesOnPayload.go @@ -106,9 +106,6 @@ func (c *Client) addOperationXmlAttributesOnPayloadMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlAttributesOnPayload(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_XmlBlobs.go b/internal/protocoltest/restxml/api_op_XmlBlobs.go index 405f9b1ad35..6e1e0a1bf77 100644 --- a/internal/protocoltest/restxml/api_op_XmlBlobs.go +++ b/internal/protocoltest/restxml/api_op_XmlBlobs.go @@ -105,9 +105,6 @@ func (c *Client) addOperationXmlBlobsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlBlobs(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_XmlEmptyBlobs.go b/internal/protocoltest/restxml/api_op_XmlEmptyBlobs.go index 3b95dd333bc..02285d16f12 100644 --- a/internal/protocoltest/restxml/api_op_XmlEmptyBlobs.go +++ b/internal/protocoltest/restxml/api_op_XmlEmptyBlobs.go @@ -105,9 +105,6 @@ func (c *Client) addOperationXmlEmptyBlobsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlEmptyBlobs(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_XmlEmptyLists.go b/internal/protocoltest/restxml/api_op_XmlEmptyLists.go index 37030d0b415..fd0efee27dc 100644 --- a/internal/protocoltest/restxml/api_op_XmlEmptyLists.go +++ b/internal/protocoltest/restxml/api_op_XmlEmptyLists.go @@ -164,9 +164,6 @@ func (c *Client) addOperationXmlEmptyListsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlEmptyLists(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_XmlEmptyMaps.go b/internal/protocoltest/restxml/api_op_XmlEmptyMaps.go index 77a0bbaae46..1c51176a6d3 100644 --- a/internal/protocoltest/restxml/api_op_XmlEmptyMaps.go +++ b/internal/protocoltest/restxml/api_op_XmlEmptyMaps.go @@ -105,9 +105,6 @@ func (c *Client) addOperationXmlEmptyMapsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlEmptyMaps(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_XmlEmptyStrings.go b/internal/protocoltest/restxml/api_op_XmlEmptyStrings.go index b17ec5d5974..7d0f849a4db 100644 --- a/internal/protocoltest/restxml/api_op_XmlEmptyStrings.go +++ b/internal/protocoltest/restxml/api_op_XmlEmptyStrings.go @@ -104,9 +104,6 @@ func (c *Client) addOperationXmlEmptyStringsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlEmptyStrings(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_XmlEnums.go b/internal/protocoltest/restxml/api_op_XmlEnums.go index 49147878eca..959d09f24bc 100644 --- a/internal/protocoltest/restxml/api_op_XmlEnums.go +++ b/internal/protocoltest/restxml/api_op_XmlEnums.go @@ -126,9 +126,6 @@ func (c *Client) addOperationXmlEnumsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlEnums(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_XmlIntEnums.go b/internal/protocoltest/restxml/api_op_XmlIntEnums.go index 6675e77c8d5..ff5d9a0e733 100644 --- a/internal/protocoltest/restxml/api_op_XmlIntEnums.go +++ b/internal/protocoltest/restxml/api_op_XmlIntEnums.go @@ -126,9 +126,6 @@ func (c *Client) addOperationXmlIntEnumsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlIntEnums(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_XmlLists.go b/internal/protocoltest/restxml/api_op_XmlLists.go index dd721b99613..ff1a4fe0f0b 100644 --- a/internal/protocoltest/restxml/api_op_XmlLists.go +++ b/internal/protocoltest/restxml/api_op_XmlLists.go @@ -176,9 +176,6 @@ func (c *Client) addOperationXmlListsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlLists(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_XmlMapWithXmlNamespace.go b/internal/protocoltest/restxml/api_op_XmlMapWithXmlNamespace.go index 36548d3acb6..40e1df1347a 100644 --- a/internal/protocoltest/restxml/api_op_XmlMapWithXmlNamespace.go +++ b/internal/protocoltest/restxml/api_op_XmlMapWithXmlNamespace.go @@ -105,9 +105,6 @@ func (c *Client) addOperationXmlMapWithXmlNamespaceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlMapWithXmlNamespace(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_XmlMaps.go b/internal/protocoltest/restxml/api_op_XmlMaps.go index 4faa89c4fc9..0a02a85d5aa 100644 --- a/internal/protocoltest/restxml/api_op_XmlMaps.go +++ b/internal/protocoltest/restxml/api_op_XmlMaps.go @@ -106,9 +106,6 @@ func (c *Client) addOperationXmlMapsMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlMaps(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_XmlMapsXmlName.go b/internal/protocoltest/restxml/api_op_XmlMapsXmlName.go index 576c5907768..bf5953fa590 100644 --- a/internal/protocoltest/restxml/api_op_XmlMapsXmlName.go +++ b/internal/protocoltest/restxml/api_op_XmlMapsXmlName.go @@ -105,9 +105,6 @@ func (c *Client) addOperationXmlMapsXmlNameMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlMapsXmlName(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_XmlNamespaces.go b/internal/protocoltest/restxml/api_op_XmlNamespaces.go index 22f05b8a2bf..d1854a0c135 100644 --- a/internal/protocoltest/restxml/api_op_XmlNamespaces.go +++ b/internal/protocoltest/restxml/api_op_XmlNamespaces.go @@ -105,9 +105,6 @@ func (c *Client) addOperationXmlNamespacesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlNamespaces(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_XmlTimestamps.go b/internal/protocoltest/restxml/api_op_XmlTimestamps.go index 020c8a2940a..306d43de074 100644 --- a/internal/protocoltest/restxml/api_op_XmlTimestamps.go +++ b/internal/protocoltest/restxml/api_op_XmlTimestamps.go @@ -131,9 +131,6 @@ func (c *Client) addOperationXmlTimestampsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlTimestamps(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/api_op_XmlUnions.go b/internal/protocoltest/restxml/api_op_XmlUnions.go index aeb80263fda..a6bcb8061fe 100644 --- a/internal/protocoltest/restxml/api_op_XmlUnions.go +++ b/internal/protocoltest/restxml/api_op_XmlUnions.go @@ -105,9 +105,6 @@ func (c *Client) addOperationXmlUnionsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opXmlUnions(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxml/snapshot/api_op_AllQueryStringTypes.go.snap b/internal/protocoltest/restxml/snapshot/api_op_AllQueryStringTypes.go.snap index 18858bb3477..570849ef2ff 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_AllQueryStringTypes.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_AllQueryStringTypes.go.snap @@ -13,7 +13,6 @@ AllQueryStringTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_BodyWithXmlName.go.snap b/internal/protocoltest/restxml/snapshot/api_op_BodyWithXmlName.go.snap index 6f1a53597e1..bba52670c3d 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_BodyWithXmlName.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_BodyWithXmlName.go.snap @@ -13,7 +13,6 @@ BodyWithXmlName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_ConstantAndVariableQueryString.go.snap b/internal/protocoltest/restxml/snapshot/api_op_ConstantAndVariableQueryString.go.snap index b2ab2dd47c0..15e770776b7 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_ConstantAndVariableQueryString.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_ConstantAndVariableQueryString.go.snap @@ -13,7 +13,6 @@ ConstantAndVariableQueryString Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_ConstantQueryString.go.snap b/internal/protocoltest/restxml/snapshot/api_op_ConstantQueryString.go.snap index bc4688700ac..7d9e7fda303 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_ConstantQueryString.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_ConstantQueryString.go.snap @@ -14,7 +14,6 @@ ConstantQueryString Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_ContentTypeParameters.go.snap b/internal/protocoltest/restxml/snapshot/api_op_ContentTypeParameters.go.snap index ad5d047229d..afc776a0a16 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_ContentTypeParameters.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_ContentTypeParameters.go.snap @@ -13,7 +13,6 @@ ContentTypeParameters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_DatetimeOffsets.go.snap b/internal/protocoltest/restxml/snapshot/api_op_DatetimeOffsets.go.snap index 5dcb992e909..5276033461e 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_DatetimeOffsets.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_DatetimeOffsets.go.snap @@ -13,7 +13,6 @@ DatetimeOffsets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_EmptyInputAndEmptyOutput.go.snap b/internal/protocoltest/restxml/snapshot/api_op_EmptyInputAndEmptyOutput.go.snap index 5e9235ef577..4302e515732 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_EmptyInputAndEmptyOutput.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_EmptyInputAndEmptyOutput.go.snap @@ -13,7 +13,6 @@ EmptyInputAndEmptyOutput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_EndpointOperation.go.snap b/internal/protocoltest/restxml/snapshot/api_op_EndpointOperation.go.snap index 3f840cff684..28503162eda 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_EndpointOperation.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_EndpointOperation.go.snap @@ -13,7 +13,6 @@ EndpointOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_EndpointWithHostLabelHeaderOperation.go.snap b/internal/protocoltest/restxml/snapshot/api_op_EndpointWithHostLabelHeaderOperation.go.snap index f4466213682..e27687c794e 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_EndpointWithHostLabelHeaderOperation.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_EndpointWithHostLabelHeaderOperation.go.snap @@ -14,7 +14,6 @@ EndpointWithHostLabelHeaderOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_EndpointWithHostLabelOperation.go.snap b/internal/protocoltest/restxml/snapshot/api_op_EndpointWithHostLabelOperation.go.snap index f8740311ef2..f3d3c7a5def 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_EndpointWithHostLabelOperation.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_EndpointWithHostLabelOperation.go.snap @@ -14,7 +14,6 @@ EndpointWithHostLabelOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_FlattenedXmlMap.go.snap b/internal/protocoltest/restxml/snapshot/api_op_FlattenedXmlMap.go.snap index afcd0b7578e..5ab89466ec7 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_FlattenedXmlMap.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_FlattenedXmlMap.go.snap @@ -13,7 +13,6 @@ FlattenedXmlMap Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_FlattenedXmlMapWithXmlName.go.snap b/internal/protocoltest/restxml/snapshot/api_op_FlattenedXmlMapWithXmlName.go.snap index 947dd04f5b7..ed954561f30 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_FlattenedXmlMapWithXmlName.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_FlattenedXmlMapWithXmlName.go.snap @@ -13,7 +13,6 @@ FlattenedXmlMapWithXmlName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_FlattenedXmlMapWithXmlNamespace.go.snap b/internal/protocoltest/restxml/snapshot/api_op_FlattenedXmlMapWithXmlNamespace.go.snap index 1c33ab89798..f932f1cf789 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_FlattenedXmlMapWithXmlNamespace.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_FlattenedXmlMapWithXmlNamespace.go.snap @@ -13,7 +13,6 @@ FlattenedXmlMapWithXmlNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_FractionalSeconds.go.snap b/internal/protocoltest/restxml/snapshot/api_op_FractionalSeconds.go.snap index 7117639c3aa..28a835e9cab 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_FractionalSeconds.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_FractionalSeconds.go.snap @@ -13,7 +13,6 @@ FractionalSeconds Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_GreetingWithErrors.go.snap b/internal/protocoltest/restxml/snapshot/api_op_GreetingWithErrors.go.snap index 120fc8ad942..189401fd7a7 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_GreetingWithErrors.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_GreetingWithErrors.go.snap @@ -13,7 +13,6 @@ GreetingWithErrors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_HttpEnumPayload.go.snap b/internal/protocoltest/restxml/snapshot/api_op_HttpEnumPayload.go.snap index ecf50deb15b..db7be2af536 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_HttpEnumPayload.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_HttpEnumPayload.go.snap @@ -13,7 +13,6 @@ HttpEnumPayload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_HttpPayloadTraits.go.snap b/internal/protocoltest/restxml/snapshot/api_op_HttpPayloadTraits.go.snap index dea815ef34b..7730fd91ef5 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_HttpPayloadTraits.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_HttpPayloadTraits.go.snap @@ -13,7 +13,6 @@ HttpPayloadTraits Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_HttpPayloadTraitsWithMediaType.go.snap b/internal/protocoltest/restxml/snapshot/api_op_HttpPayloadTraitsWithMediaType.go.snap index 0e5a6f3b17e..7b2c7e043ae 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_HttpPayloadTraitsWithMediaType.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_HttpPayloadTraitsWithMediaType.go.snap @@ -13,7 +13,6 @@ HttpPayloadTraitsWithMediaType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_HttpPayloadWithMemberXmlName.go.snap b/internal/protocoltest/restxml/snapshot/api_op_HttpPayloadWithMemberXmlName.go.snap index 6fedccdaf10..81987e71b8b 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_HttpPayloadWithMemberXmlName.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_HttpPayloadWithMemberXmlName.go.snap @@ -13,7 +13,6 @@ HttpPayloadWithMemberXmlName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_HttpPayloadWithStructure.go.snap b/internal/protocoltest/restxml/snapshot/api_op_HttpPayloadWithStructure.go.snap index d16794c39ae..ace33c6aab5 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_HttpPayloadWithStructure.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_HttpPayloadWithStructure.go.snap @@ -13,7 +13,6 @@ HttpPayloadWithStructure Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_HttpPayloadWithUnion.go.snap b/internal/protocoltest/restxml/snapshot/api_op_HttpPayloadWithUnion.go.snap index c3a99544db3..fadfd243112 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_HttpPayloadWithUnion.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_HttpPayloadWithUnion.go.snap @@ -13,7 +13,6 @@ HttpPayloadWithUnion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_HttpPayloadWithXmlName.go.snap b/internal/protocoltest/restxml/snapshot/api_op_HttpPayloadWithXmlName.go.snap index 1babcc0cc71..1d44c3b97bc 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_HttpPayloadWithXmlName.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_HttpPayloadWithXmlName.go.snap @@ -13,7 +13,6 @@ HttpPayloadWithXmlName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_HttpPayloadWithXmlNamespace.go.snap b/internal/protocoltest/restxml/snapshot/api_op_HttpPayloadWithXmlNamespace.go.snap index 779dd07309c..ad6ac190eab 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_HttpPayloadWithXmlNamespace.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_HttpPayloadWithXmlNamespace.go.snap @@ -13,7 +13,6 @@ HttpPayloadWithXmlNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_HttpPayloadWithXmlNamespaceAndPrefix.go.snap b/internal/protocoltest/restxml/snapshot/api_op_HttpPayloadWithXmlNamespaceAndPrefix.go.snap index 8875d9788b7..890dfddf23c 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_HttpPayloadWithXmlNamespaceAndPrefix.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_HttpPayloadWithXmlNamespaceAndPrefix.go.snap @@ -13,7 +13,6 @@ HttpPayloadWithXmlNamespaceAndPrefix Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_HttpPrefixHeaders.go.snap b/internal/protocoltest/restxml/snapshot/api_op_HttpPrefixHeaders.go.snap index 5e621ec98b8..7c2dc1d7732 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_HttpPrefixHeaders.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_HttpPrefixHeaders.go.snap @@ -13,7 +13,6 @@ HttpPrefixHeaders Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_HttpRequestWithFloatLabels.go.snap b/internal/protocoltest/restxml/snapshot/api_op_HttpRequestWithFloatLabels.go.snap index d435392d76c..45018aeca9b 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_HttpRequestWithFloatLabels.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_HttpRequestWithFloatLabels.go.snap @@ -14,7 +14,6 @@ HttpRequestWithFloatLabels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_HttpRequestWithGreedyLabelInPath.go.snap b/internal/protocoltest/restxml/snapshot/api_op_HttpRequestWithGreedyLabelInPath.go.snap index 313c503d96a..66ed0d4b5e0 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_HttpRequestWithGreedyLabelInPath.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_HttpRequestWithGreedyLabelInPath.go.snap @@ -14,7 +14,6 @@ HttpRequestWithGreedyLabelInPath Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_HttpRequestWithLabels.go.snap b/internal/protocoltest/restxml/snapshot/api_op_HttpRequestWithLabels.go.snap index 2e3f445f799..ba0dc8e3f4d 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_HttpRequestWithLabels.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_HttpRequestWithLabels.go.snap @@ -14,7 +14,6 @@ HttpRequestWithLabels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_HttpRequestWithLabelsAndTimestampFormat.go.snap b/internal/protocoltest/restxml/snapshot/api_op_HttpRequestWithLabelsAndTimestampFormat.go.snap index 9d39bfc3df6..413bd960301 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_HttpRequestWithLabelsAndTimestampFormat.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_HttpRequestWithLabelsAndTimestampFormat.go.snap @@ -14,7 +14,6 @@ HttpRequestWithLabelsAndTimestampFormat Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_HttpResponseCode.go.snap b/internal/protocoltest/restxml/snapshot/api_op_HttpResponseCode.go.snap index 4218d96eded..e115a7c2ed0 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_HttpResponseCode.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_HttpResponseCode.go.snap @@ -13,7 +13,6 @@ HttpResponseCode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_HttpStringPayload.go.snap b/internal/protocoltest/restxml/snapshot/api_op_HttpStringPayload.go.snap index 4e52f44b406..3d65d7d9794 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_HttpStringPayload.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_HttpStringPayload.go.snap @@ -13,7 +13,6 @@ HttpStringPayload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_IgnoreQueryParamsInResponse.go.snap b/internal/protocoltest/restxml/snapshot/api_op_IgnoreQueryParamsInResponse.go.snap index 8f94b627102..dc46f9c65a7 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_IgnoreQueryParamsInResponse.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_IgnoreQueryParamsInResponse.go.snap @@ -13,7 +13,6 @@ IgnoreQueryParamsInResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_InputAndOutputWithHeaders.go.snap b/internal/protocoltest/restxml/snapshot/api_op_InputAndOutputWithHeaders.go.snap index 7cfa315cf12..3c19a8b4a77 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_InputAndOutputWithHeaders.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_InputAndOutputWithHeaders.go.snap @@ -13,7 +13,6 @@ InputAndOutputWithHeaders Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_NestedXmlMapWithXmlName.go.snap b/internal/protocoltest/restxml/snapshot/api_op_NestedXmlMapWithXmlName.go.snap index aa18b8864a5..f69e0e6a91d 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_NestedXmlMapWithXmlName.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_NestedXmlMapWithXmlName.go.snap @@ -13,7 +13,6 @@ NestedXmlMapWithXmlName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_NestedXmlMaps.go.snap b/internal/protocoltest/restxml/snapshot/api_op_NestedXmlMaps.go.snap index 0991b19d823..9e0ed14788b 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_NestedXmlMaps.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_NestedXmlMaps.go.snap @@ -13,7 +13,6 @@ NestedXmlMaps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_NoInputAndNoOutput.go.snap b/internal/protocoltest/restxml/snapshot/api_op_NoInputAndNoOutput.go.snap index 590efbb25df..d5b30b4e553 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_NoInputAndNoOutput.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_NoInputAndNoOutput.go.snap @@ -13,7 +13,6 @@ NoInputAndNoOutput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_NoInputAndOutput.go.snap b/internal/protocoltest/restxml/snapshot/api_op_NoInputAndOutput.go.snap index e5df4c1e8e3..1bc3bb43430 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_NoInputAndOutput.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_NoInputAndOutput.go.snap @@ -13,7 +13,6 @@ NoInputAndOutput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_NullAndEmptyHeadersClient.go.snap b/internal/protocoltest/restxml/snapshot/api_op_NullAndEmptyHeadersClient.go.snap index cf2205cba3a..6d9a59e5d50 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_NullAndEmptyHeadersClient.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_NullAndEmptyHeadersClient.go.snap @@ -13,7 +13,6 @@ NullAndEmptyHeadersClient Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_NullAndEmptyHeadersServer.go.snap b/internal/protocoltest/restxml/snapshot/api_op_NullAndEmptyHeadersServer.go.snap index 69418bd9866..1efdacf1040 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_NullAndEmptyHeadersServer.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_NullAndEmptyHeadersServer.go.snap @@ -13,7 +13,6 @@ NullAndEmptyHeadersServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_OmitsNullSerializesEmptyString.go.snap b/internal/protocoltest/restxml/snapshot/api_op_OmitsNullSerializesEmptyString.go.snap index 30f2357de1b..73dd85c98ce 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_OmitsNullSerializesEmptyString.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_OmitsNullSerializesEmptyString.go.snap @@ -13,7 +13,6 @@ OmitsNullSerializesEmptyString Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_PutWithContentEncoding.go.snap b/internal/protocoltest/restxml/snapshot/api_op_PutWithContentEncoding.go.snap index cc7f49f4284..6fda078ed45 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_PutWithContentEncoding.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_PutWithContentEncoding.go.snap @@ -14,7 +14,6 @@ PutWithContentEncoding Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_QueryIdempotencyTokenAutoFill.go.snap b/internal/protocoltest/restxml/snapshot/api_op_QueryIdempotencyTokenAutoFill.go.snap index 0ea89d88710..69bf33a910f 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_QueryIdempotencyTokenAutoFill.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_QueryIdempotencyTokenAutoFill.go.snap @@ -14,7 +14,6 @@ QueryIdempotencyTokenAutoFill Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_QueryParamsAsStringListMap.go.snap b/internal/protocoltest/restxml/snapshot/api_op_QueryParamsAsStringListMap.go.snap index ddfbc746022..d76e4a6a3e0 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_QueryParamsAsStringListMap.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_QueryParamsAsStringListMap.go.snap @@ -13,7 +13,6 @@ QueryParamsAsStringListMap Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_QueryPrecedence.go.snap b/internal/protocoltest/restxml/snapshot/api_op_QueryPrecedence.go.snap index 3141e84dbd8..23c0d6967f4 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_QueryPrecedence.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_QueryPrecedence.go.snap @@ -13,7 +13,6 @@ QueryPrecedence Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_RecursiveShapes.go.snap b/internal/protocoltest/restxml/snapshot/api_op_RecursiveShapes.go.snap index 0b2e9903923..53e6994b50b 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_RecursiveShapes.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_RecursiveShapes.go.snap @@ -13,7 +13,6 @@ RecursiveShapes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_SimpleScalarProperties.go.snap b/internal/protocoltest/restxml/snapshot/api_op_SimpleScalarProperties.go.snap index f81df1f3faf..7ad46e10346 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_SimpleScalarProperties.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_SimpleScalarProperties.go.snap @@ -13,7 +13,6 @@ SimpleScalarProperties Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_TimestampFormatHeaders.go.snap b/internal/protocoltest/restxml/snapshot/api_op_TimestampFormatHeaders.go.snap index 094233b0e51..7ef2b3dfcba 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_TimestampFormatHeaders.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_TimestampFormatHeaders.go.snap @@ -13,7 +13,6 @@ TimestampFormatHeaders Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_XmlAttributes.go.snap b/internal/protocoltest/restxml/snapshot/api_op_XmlAttributes.go.snap index 4c7cfa1365c..3fb442e5a8a 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_XmlAttributes.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_XmlAttributes.go.snap @@ -13,7 +13,6 @@ XmlAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_XmlAttributesOnPayload.go.snap b/internal/protocoltest/restxml/snapshot/api_op_XmlAttributesOnPayload.go.snap index b2887df5c74..23a8d35518a 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_XmlAttributesOnPayload.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_XmlAttributesOnPayload.go.snap @@ -13,7 +13,6 @@ XmlAttributesOnPayload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_XmlBlobs.go.snap b/internal/protocoltest/restxml/snapshot/api_op_XmlBlobs.go.snap index d3ddfdf26e3..a8cbac81737 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_XmlBlobs.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_XmlBlobs.go.snap @@ -13,7 +13,6 @@ XmlBlobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_XmlEmptyBlobs.go.snap b/internal/protocoltest/restxml/snapshot/api_op_XmlEmptyBlobs.go.snap index 29050dc9394..af5cc710c55 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_XmlEmptyBlobs.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_XmlEmptyBlobs.go.snap @@ -13,7 +13,6 @@ XmlEmptyBlobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_XmlEmptyLists.go.snap b/internal/protocoltest/restxml/snapshot/api_op_XmlEmptyLists.go.snap index 9628f6f612a..21631cf20d2 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_XmlEmptyLists.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_XmlEmptyLists.go.snap @@ -13,7 +13,6 @@ XmlEmptyLists Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_XmlEmptyMaps.go.snap b/internal/protocoltest/restxml/snapshot/api_op_XmlEmptyMaps.go.snap index 35cbf05322b..5c2ac469f93 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_XmlEmptyMaps.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_XmlEmptyMaps.go.snap @@ -13,7 +13,6 @@ XmlEmptyMaps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_XmlEmptyStrings.go.snap b/internal/protocoltest/restxml/snapshot/api_op_XmlEmptyStrings.go.snap index fbfec13b56c..bfdd82bf1c2 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_XmlEmptyStrings.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_XmlEmptyStrings.go.snap @@ -13,7 +13,6 @@ XmlEmptyStrings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_XmlEnums.go.snap b/internal/protocoltest/restxml/snapshot/api_op_XmlEnums.go.snap index d12e5e3102e..9709f220b18 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_XmlEnums.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_XmlEnums.go.snap @@ -13,7 +13,6 @@ XmlEnums Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_XmlIntEnums.go.snap b/internal/protocoltest/restxml/snapshot/api_op_XmlIntEnums.go.snap index d888ec90554..e37655fccab 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_XmlIntEnums.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_XmlIntEnums.go.snap @@ -13,7 +13,6 @@ XmlIntEnums Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_XmlLists.go.snap b/internal/protocoltest/restxml/snapshot/api_op_XmlLists.go.snap index b0a38e3e1c7..53fca601f59 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_XmlLists.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_XmlLists.go.snap @@ -13,7 +13,6 @@ XmlLists Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_XmlMapWithXmlNamespace.go.snap b/internal/protocoltest/restxml/snapshot/api_op_XmlMapWithXmlNamespace.go.snap index c6a5a4fb87e..f9990c9be78 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_XmlMapWithXmlNamespace.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_XmlMapWithXmlNamespace.go.snap @@ -13,7 +13,6 @@ XmlMapWithXmlNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_XmlMaps.go.snap b/internal/protocoltest/restxml/snapshot/api_op_XmlMaps.go.snap index 24c9e29209a..25d2f41ece9 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_XmlMaps.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_XmlMaps.go.snap @@ -13,7 +13,6 @@ XmlMaps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_XmlMapsXmlName.go.snap b/internal/protocoltest/restxml/snapshot/api_op_XmlMapsXmlName.go.snap index 97193045fe6..31ed4c5ad5a 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_XmlMapsXmlName.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_XmlMapsXmlName.go.snap @@ -13,7 +13,6 @@ XmlMapsXmlName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_XmlNamespaces.go.snap b/internal/protocoltest/restxml/snapshot/api_op_XmlNamespaces.go.snap index e94ef9df1d4..5b3522a92ad 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_XmlNamespaces.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_XmlNamespaces.go.snap @@ -13,7 +13,6 @@ XmlNamespaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_XmlTimestamps.go.snap b/internal/protocoltest/restxml/snapshot/api_op_XmlTimestamps.go.snap index 029e7fcf3f6..67fa7b3f166 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_XmlTimestamps.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_XmlTimestamps.go.snap @@ -13,7 +13,6 @@ XmlTimestamps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxml/snapshot/api_op_XmlUnions.go.snap b/internal/protocoltest/restxml/snapshot/api_op_XmlUnions.go.snap index 95891d4d6f1..690ea0b2361 100644 --- a/internal/protocoltest/restxml/snapshot/api_op_XmlUnions.go.snap +++ b/internal/protocoltest/restxml/snapshot/api_op_XmlUnions.go.snap @@ -13,7 +13,6 @@ XmlUnions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/internal/protocoltest/restxmlwithnamespace/api_client.go b/internal/protocoltest/restxmlwithnamespace/api_client.go index 67c9a19c72c..fd5b37b4012 100644 --- a/internal/protocoltest/restxmlwithnamespace/api_client.go +++ b/internal/protocoltest/restxmlwithnamespace/api_client.go @@ -749,37 +749,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/internal/protocoltest/restxmlwithnamespace/api_op_SimpleScalarProperties.go b/internal/protocoltest/restxmlwithnamespace/api_op_SimpleScalarProperties.go index ce34224c7f2..b315c526db2 100644 --- a/internal/protocoltest/restxmlwithnamespace/api_op_SimpleScalarProperties.go +++ b/internal/protocoltest/restxmlwithnamespace/api_op_SimpleScalarProperties.go @@ -145,9 +145,6 @@ func (c *Client) addOperationSimpleScalarPropertiesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSimpleScalarProperties(options.Region), middleware.Before); err != nil { return err } diff --git a/internal/protocoltest/restxmlwithnamespace/snapshot/api_op_SimpleScalarProperties.go.snap b/internal/protocoltest/restxmlwithnamespace/snapshot/api_op_SimpleScalarProperties.go.snap index f81df1f3faf..7ad46e10346 100644 --- a/internal/protocoltest/restxmlwithnamespace/snapshot/api_op_SimpleScalarProperties.go.snap +++ b/internal/protocoltest/restxmlwithnamespace/snapshot/api_op_SimpleScalarProperties.go.snap @@ -13,7 +13,6 @@ SimpleScalarProperties Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/api_client.go b/service/accessanalyzer/api_client.go index f2023b8ed38..23f5605c1d7 100644 --- a/service/accessanalyzer/api_client.go +++ b/service/accessanalyzer/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/accessanalyzer/api_op_ApplyArchiveRule.go b/service/accessanalyzer/api_op_ApplyArchiveRule.go index d8bbb5cf5a0..22e2a6c994a 100644 --- a/service/accessanalyzer/api_op_ApplyArchiveRule.go +++ b/service/accessanalyzer/api_op_ApplyArchiveRule.go @@ -117,9 +117,6 @@ func (c *Client) addOperationApplyArchiveRuleMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opApplyArchiveRuleMiddleware(stack, options); err != nil { return err } diff --git a/service/accessanalyzer/api_op_CancelPolicyGeneration.go b/service/accessanalyzer/api_op_CancelPolicyGeneration.go index 4814e2f7b3f..6ec1f829f76 100644 --- a/service/accessanalyzer/api_op_CancelPolicyGeneration.go +++ b/service/accessanalyzer/api_op_CancelPolicyGeneration.go @@ -109,9 +109,6 @@ func (c *Client) addOperationCancelPolicyGenerationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelPolicyGenerationValidationMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_CheckAccessNotGranted.go b/service/accessanalyzer/api_op_CheckAccessNotGranted.go index 74615892700..c8d1b68b231 100644 --- a/service/accessanalyzer/api_op_CheckAccessNotGranted.go +++ b/service/accessanalyzer/api_op_CheckAccessNotGranted.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCheckAccessNotGrantedMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCheckAccessNotGrantedValidationMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_CheckNoNewAccess.go b/service/accessanalyzer/api_op_CheckNoNewAccess.go index 65e05ca396f..cb2e509980c 100644 --- a/service/accessanalyzer/api_op_CheckNoNewAccess.go +++ b/service/accessanalyzer/api_op_CheckNoNewAccess.go @@ -145,9 +145,6 @@ func (c *Client) addOperationCheckNoNewAccessMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCheckNoNewAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_CheckNoPublicAccess.go b/service/accessanalyzer/api_op_CheckNoPublicAccess.go index 77053e1afe1..32cecc4d7af 100644 --- a/service/accessanalyzer/api_op_CheckNoPublicAccess.go +++ b/service/accessanalyzer/api_op_CheckNoPublicAccess.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCheckNoPublicAccessMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCheckNoPublicAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_CreateAccessPreview.go b/service/accessanalyzer/api_op_CreateAccessPreview.go index a3fdc853e9e..1de9cbaacf1 100644 --- a/service/accessanalyzer/api_op_CreateAccessPreview.go +++ b/service/accessanalyzer/api_op_CreateAccessPreview.go @@ -129,9 +129,6 @@ func (c *Client) addOperationCreateAccessPreviewMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAccessPreviewMiddleware(stack, options); err != nil { return err } diff --git a/service/accessanalyzer/api_op_CreateAnalyzer.go b/service/accessanalyzer/api_op_CreateAnalyzer.go index 3dd9c55d6a4..69231f977ce 100644 --- a/service/accessanalyzer/api_op_CreateAnalyzer.go +++ b/service/accessanalyzer/api_op_CreateAnalyzer.go @@ -144,9 +144,6 @@ func (c *Client) addOperationCreateAnalyzerMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAnalyzerMiddleware(stack, options); err != nil { return err } diff --git a/service/accessanalyzer/api_op_CreateArchiveRule.go b/service/accessanalyzer/api_op_CreateArchiveRule.go index 5935c827e4d..8b39de5ea10 100644 --- a/service/accessanalyzer/api_op_CreateArchiveRule.go +++ b/service/accessanalyzer/api_op_CreateArchiveRule.go @@ -128,9 +128,6 @@ func (c *Client) addOperationCreateArchiveRuleMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateArchiveRuleMiddleware(stack, options); err != nil { return err } diff --git a/service/accessanalyzer/api_op_DeleteAnalyzer.go b/service/accessanalyzer/api_op_DeleteAnalyzer.go index 4ae3f9efa31..509379075fc 100644 --- a/service/accessanalyzer/api_op_DeleteAnalyzer.go +++ b/service/accessanalyzer/api_op_DeleteAnalyzer.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteAnalyzerMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteAnalyzerMiddleware(stack, options); err != nil { return err } diff --git a/service/accessanalyzer/api_op_DeleteArchiveRule.go b/service/accessanalyzer/api_op_DeleteArchiveRule.go index e2afb8f4f55..32589fa9426 100644 --- a/service/accessanalyzer/api_op_DeleteArchiveRule.go +++ b/service/accessanalyzer/api_op_DeleteArchiveRule.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteArchiveRuleMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteArchiveRuleMiddleware(stack, options); err != nil { return err } diff --git a/service/accessanalyzer/api_op_GenerateFindingRecommendation.go b/service/accessanalyzer/api_op_GenerateFindingRecommendation.go index c8a4d5ebab1..c4c8f9ad6e1 100644 --- a/service/accessanalyzer/api_op_GenerateFindingRecommendation.go +++ b/service/accessanalyzer/api_op_GenerateFindingRecommendation.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGenerateFindingRecommendationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGenerateFindingRecommendationValidationMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_GetAccessPreview.go b/service/accessanalyzer/api_op_GetAccessPreview.go index b987e283fd5..9a2a364c771 100644 --- a/service/accessanalyzer/api_op_GetAccessPreview.go +++ b/service/accessanalyzer/api_op_GetAccessPreview.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetAccessPreviewMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAccessPreviewValidationMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_GetAnalyzedResource.go b/service/accessanalyzer/api_op_GetAnalyzedResource.go index 19a34b94eb8..cd17fd5eab9 100644 --- a/service/accessanalyzer/api_op_GetAnalyzedResource.go +++ b/service/accessanalyzer/api_op_GetAnalyzedResource.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetAnalyzedResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAnalyzedResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_GetAnalyzer.go b/service/accessanalyzer/api_op_GetAnalyzer.go index cfe19b2edaf..60ee39bcfdc 100644 --- a/service/accessanalyzer/api_op_GetAnalyzer.go +++ b/service/accessanalyzer/api_op_GetAnalyzer.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetAnalyzerMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAnalyzerValidationMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_GetArchiveRule.go b/service/accessanalyzer/api_op_GetArchiveRule.go index dad384d1675..dcb9a61ffca 100644 --- a/service/accessanalyzer/api_op_GetArchiveRule.go +++ b/service/accessanalyzer/api_op_GetArchiveRule.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetArchiveRuleMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetArchiveRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_GetFinding.go b/service/accessanalyzer/api_op_GetFinding.go index a4291f63278..121b6ddb1ee 100644 --- a/service/accessanalyzer/api_op_GetFinding.go +++ b/service/accessanalyzer/api_op_GetFinding.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetFindingMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFindingValidationMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_GetFindingRecommendation.go b/service/accessanalyzer/api_op_GetFindingRecommendation.go index ed55dc37187..4ee9d6d677f 100644 --- a/service/accessanalyzer/api_op_GetFindingRecommendation.go +++ b/service/accessanalyzer/api_op_GetFindingRecommendation.go @@ -156,9 +156,6 @@ func (c *Client) addOperationGetFindingRecommendationMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFindingRecommendationValidationMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_GetFindingV2.go b/service/accessanalyzer/api_op_GetFindingV2.go index 5ce5b9ffe4b..8ce23c2c51c 100644 --- a/service/accessanalyzer/api_op_GetFindingV2.go +++ b/service/accessanalyzer/api_op_GetFindingV2.go @@ -182,9 +182,6 @@ func (c *Client) addOperationGetFindingV2Middlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFindingV2ValidationMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_GetFindingsStatistics.go b/service/accessanalyzer/api_op_GetFindingsStatistics.go index d4af5196dd4..7b5d9ec70c7 100644 --- a/service/accessanalyzer/api_op_GetFindingsStatistics.go +++ b/service/accessanalyzer/api_op_GetFindingsStatistics.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetFindingsStatisticsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFindingsStatisticsValidationMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_GetGeneratedPolicy.go b/service/accessanalyzer/api_op_GetGeneratedPolicy.go index 2b956e17e42..01d0fa19b7a 100644 --- a/service/accessanalyzer/api_op_GetGeneratedPolicy.go +++ b/service/accessanalyzer/api_op_GetGeneratedPolicy.go @@ -138,9 +138,6 @@ func (c *Client) addOperationGetGeneratedPolicyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetGeneratedPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_ListAccessPreviewFindings.go b/service/accessanalyzer/api_op_ListAccessPreviewFindings.go index 27583aab8c8..78673452e09 100644 --- a/service/accessanalyzer/api_op_ListAccessPreviewFindings.go +++ b/service/accessanalyzer/api_op_ListAccessPreviewFindings.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListAccessPreviewFindingsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAccessPreviewFindingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_ListAccessPreviews.go b/service/accessanalyzer/api_op_ListAccessPreviews.go index 5a9979e81ae..9471d1b0e1a 100644 --- a/service/accessanalyzer/api_op_ListAccessPreviews.go +++ b/service/accessanalyzer/api_op_ListAccessPreviews.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListAccessPreviewsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAccessPreviewsValidationMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_ListAnalyzedResources.go b/service/accessanalyzer/api_op_ListAnalyzedResources.go index 454e71725e5..d806f2451dd 100644 --- a/service/accessanalyzer/api_op_ListAnalyzedResources.go +++ b/service/accessanalyzer/api_op_ListAnalyzedResources.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListAnalyzedResourcesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAnalyzedResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_ListAnalyzers.go b/service/accessanalyzer/api_op_ListAnalyzers.go index 18d5f604263..f87aaec53ea 100644 --- a/service/accessanalyzer/api_op_ListAnalyzers.go +++ b/service/accessanalyzer/api_op_ListAnalyzers.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListAnalyzersMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAnalyzers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/accessanalyzer/api_op_ListArchiveRules.go b/service/accessanalyzer/api_op_ListArchiveRules.go index 494b1cec70e..4e7822f3349 100644 --- a/service/accessanalyzer/api_op_ListArchiveRules.go +++ b/service/accessanalyzer/api_op_ListArchiveRules.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListArchiveRulesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListArchiveRulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_ListFindings.go b/service/accessanalyzer/api_op_ListFindings.go index 86fb63a3a47..2385a207ae9 100644 --- a/service/accessanalyzer/api_op_ListFindings.go +++ b/service/accessanalyzer/api_op_ListFindings.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListFindingsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFindingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_ListFindingsV2.go b/service/accessanalyzer/api_op_ListFindingsV2.go index e5814cc569a..09d96cda794 100644 --- a/service/accessanalyzer/api_op_ListFindingsV2.go +++ b/service/accessanalyzer/api_op_ListFindingsV2.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListFindingsV2Middlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFindingsV2ValidationMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_ListPolicyGenerations.go b/service/accessanalyzer/api_op_ListPolicyGenerations.go index f8a5a3c9f2b..c542d98bbb5 100644 --- a/service/accessanalyzer/api_op_ListPolicyGenerations.go +++ b/service/accessanalyzer/api_op_ListPolicyGenerations.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListPolicyGenerationsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPolicyGenerations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/accessanalyzer/api_op_ListTagsForResource.go b/service/accessanalyzer/api_op_ListTagsForResource.go index 84af9955e9d..29b69bca2a6 100644 --- a/service/accessanalyzer/api_op_ListTagsForResource.go +++ b/service/accessanalyzer/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_StartPolicyGeneration.go b/service/accessanalyzer/api_op_StartPolicyGeneration.go index d28bd2ac34f..094b6bf77d4 100644 --- a/service/accessanalyzer/api_op_StartPolicyGeneration.go +++ b/service/accessanalyzer/api_op_StartPolicyGeneration.go @@ -131,9 +131,6 @@ func (c *Client) addOperationStartPolicyGenerationMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartPolicyGenerationMiddleware(stack, options); err != nil { return err } diff --git a/service/accessanalyzer/api_op_StartResourceScan.go b/service/accessanalyzer/api_op_StartResourceScan.go index 8fea68661e6..d8c53698929 100644 --- a/service/accessanalyzer/api_op_StartResourceScan.go +++ b/service/accessanalyzer/api_op_StartResourceScan.go @@ -120,9 +120,6 @@ func (c *Client) addOperationStartResourceScanMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartResourceScanValidationMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_TagResource.go b/service/accessanalyzer/api_op_TagResource.go index c5ab050a6ab..57f9276ae6c 100644 --- a/service/accessanalyzer/api_op_TagResource.go +++ b/service/accessanalyzer/api_op_TagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_UntagResource.go b/service/accessanalyzer/api_op_UntagResource.go index a40356be5f7..bf12a2a78bd 100644 --- a/service/accessanalyzer/api_op_UntagResource.go +++ b/service/accessanalyzer/api_op_UntagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_UpdateAnalyzer.go b/service/accessanalyzer/api_op_UpdateAnalyzer.go index ea58812d132..60d15c12595 100644 --- a/service/accessanalyzer/api_op_UpdateAnalyzer.go +++ b/service/accessanalyzer/api_op_UpdateAnalyzer.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUpdateAnalyzerMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAnalyzerValidationMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/api_op_UpdateArchiveRule.go b/service/accessanalyzer/api_op_UpdateArchiveRule.go index c7f4f03ac6a..7ce6e8cf9be 100644 --- a/service/accessanalyzer/api_op_UpdateArchiveRule.go +++ b/service/accessanalyzer/api_op_UpdateArchiveRule.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateArchiveRuleMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateArchiveRuleMiddleware(stack, options); err != nil { return err } diff --git a/service/accessanalyzer/api_op_UpdateFindings.go b/service/accessanalyzer/api_op_UpdateFindings.go index f43a2ddb407..4cc94d54598 100644 --- a/service/accessanalyzer/api_op_UpdateFindings.go +++ b/service/accessanalyzer/api_op_UpdateFindings.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateFindingsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateFindingsMiddleware(stack, options); err != nil { return err } diff --git a/service/accessanalyzer/api_op_ValidatePolicy.go b/service/accessanalyzer/api_op_ValidatePolicy.go index 01bf3dc6a4e..57996b57f5e 100644 --- a/service/accessanalyzer/api_op_ValidatePolicy.go +++ b/service/accessanalyzer/api_op_ValidatePolicy.go @@ -157,9 +157,6 @@ func (c *Client) addOperationValidatePolicyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpValidatePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/accessanalyzer/snapshot/api_op_ApplyArchiveRule.go.snap b/service/accessanalyzer/snapshot/api_op_ApplyArchiveRule.go.snap index 103215ba956..a3d6631c2c6 100644 --- a/service/accessanalyzer/snapshot/api_op_ApplyArchiveRule.go.snap +++ b/service/accessanalyzer/snapshot/api_op_ApplyArchiveRule.go.snap @@ -15,7 +15,6 @@ ApplyArchiveRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_CancelPolicyGeneration.go.snap b/service/accessanalyzer/snapshot/api_op_CancelPolicyGeneration.go.snap index 950673a43b3..d2eb863674e 100644 --- a/service/accessanalyzer/snapshot/api_op_CancelPolicyGeneration.go.snap +++ b/service/accessanalyzer/snapshot/api_op_CancelPolicyGeneration.go.snap @@ -14,7 +14,6 @@ CancelPolicyGeneration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_CheckAccessNotGranted.go.snap b/service/accessanalyzer/snapshot/api_op_CheckAccessNotGranted.go.snap index 306e68f22f0..ad26c421814 100644 --- a/service/accessanalyzer/snapshot/api_op_CheckAccessNotGranted.go.snap +++ b/service/accessanalyzer/snapshot/api_op_CheckAccessNotGranted.go.snap @@ -14,7 +14,6 @@ CheckAccessNotGranted Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_CheckNoNewAccess.go.snap b/service/accessanalyzer/snapshot/api_op_CheckNoNewAccess.go.snap index d8003612d94..2600872d87f 100644 --- a/service/accessanalyzer/snapshot/api_op_CheckNoNewAccess.go.snap +++ b/service/accessanalyzer/snapshot/api_op_CheckNoNewAccess.go.snap @@ -14,7 +14,6 @@ CheckNoNewAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_CheckNoPublicAccess.go.snap b/service/accessanalyzer/snapshot/api_op_CheckNoPublicAccess.go.snap index 3dde6914a11..2bd6d9e7ddf 100644 --- a/service/accessanalyzer/snapshot/api_op_CheckNoPublicAccess.go.snap +++ b/service/accessanalyzer/snapshot/api_op_CheckNoPublicAccess.go.snap @@ -14,7 +14,6 @@ CheckNoPublicAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_CreateAccessPreview.go.snap b/service/accessanalyzer/snapshot/api_op_CreateAccessPreview.go.snap index bf17f554534..3cb9596863a 100644 --- a/service/accessanalyzer/snapshot/api_op_CreateAccessPreview.go.snap +++ b/service/accessanalyzer/snapshot/api_op_CreateAccessPreview.go.snap @@ -15,7 +15,6 @@ CreateAccessPreview Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_CreateAnalyzer.go.snap b/service/accessanalyzer/snapshot/api_op_CreateAnalyzer.go.snap index df5443a12c0..45a981ed843 100644 --- a/service/accessanalyzer/snapshot/api_op_CreateAnalyzer.go.snap +++ b/service/accessanalyzer/snapshot/api_op_CreateAnalyzer.go.snap @@ -15,7 +15,6 @@ CreateAnalyzer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_CreateArchiveRule.go.snap b/service/accessanalyzer/snapshot/api_op_CreateArchiveRule.go.snap index c201cb2f38a..e8c7f910367 100644 --- a/service/accessanalyzer/snapshot/api_op_CreateArchiveRule.go.snap +++ b/service/accessanalyzer/snapshot/api_op_CreateArchiveRule.go.snap @@ -15,7 +15,6 @@ CreateArchiveRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_DeleteAnalyzer.go.snap b/service/accessanalyzer/snapshot/api_op_DeleteAnalyzer.go.snap index bb6b387fecc..c9492e67ee0 100644 --- a/service/accessanalyzer/snapshot/api_op_DeleteAnalyzer.go.snap +++ b/service/accessanalyzer/snapshot/api_op_DeleteAnalyzer.go.snap @@ -15,7 +15,6 @@ DeleteAnalyzer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_DeleteArchiveRule.go.snap b/service/accessanalyzer/snapshot/api_op_DeleteArchiveRule.go.snap index ef3590e4696..523a55910b2 100644 --- a/service/accessanalyzer/snapshot/api_op_DeleteArchiveRule.go.snap +++ b/service/accessanalyzer/snapshot/api_op_DeleteArchiveRule.go.snap @@ -15,7 +15,6 @@ DeleteArchiveRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_GenerateFindingRecommendation.go.snap b/service/accessanalyzer/snapshot/api_op_GenerateFindingRecommendation.go.snap index 0b263a4d195..a99f7adc0ae 100644 --- a/service/accessanalyzer/snapshot/api_op_GenerateFindingRecommendation.go.snap +++ b/service/accessanalyzer/snapshot/api_op_GenerateFindingRecommendation.go.snap @@ -14,7 +14,6 @@ GenerateFindingRecommendation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_GetAccessPreview.go.snap b/service/accessanalyzer/snapshot/api_op_GetAccessPreview.go.snap index 6fc27e5df1d..8052cd93d4e 100644 --- a/service/accessanalyzer/snapshot/api_op_GetAccessPreview.go.snap +++ b/service/accessanalyzer/snapshot/api_op_GetAccessPreview.go.snap @@ -14,7 +14,6 @@ GetAccessPreview Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_GetAnalyzedResource.go.snap b/service/accessanalyzer/snapshot/api_op_GetAnalyzedResource.go.snap index e648e2c3b89..e4e78e0a300 100644 --- a/service/accessanalyzer/snapshot/api_op_GetAnalyzedResource.go.snap +++ b/service/accessanalyzer/snapshot/api_op_GetAnalyzedResource.go.snap @@ -14,7 +14,6 @@ GetAnalyzedResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_GetAnalyzer.go.snap b/service/accessanalyzer/snapshot/api_op_GetAnalyzer.go.snap index 32e0e13065f..f097a5be267 100644 --- a/service/accessanalyzer/snapshot/api_op_GetAnalyzer.go.snap +++ b/service/accessanalyzer/snapshot/api_op_GetAnalyzer.go.snap @@ -14,7 +14,6 @@ GetAnalyzer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_GetArchiveRule.go.snap b/service/accessanalyzer/snapshot/api_op_GetArchiveRule.go.snap index 3e6aa7ed480..9c11703df16 100644 --- a/service/accessanalyzer/snapshot/api_op_GetArchiveRule.go.snap +++ b/service/accessanalyzer/snapshot/api_op_GetArchiveRule.go.snap @@ -14,7 +14,6 @@ GetArchiveRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_GetFinding.go.snap b/service/accessanalyzer/snapshot/api_op_GetFinding.go.snap index be7bf3dcc4b..596124f2f33 100644 --- a/service/accessanalyzer/snapshot/api_op_GetFinding.go.snap +++ b/service/accessanalyzer/snapshot/api_op_GetFinding.go.snap @@ -14,7 +14,6 @@ GetFinding Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_GetFindingRecommendation.go.snap b/service/accessanalyzer/snapshot/api_op_GetFindingRecommendation.go.snap index 79bcc43c0c4..e8019f2ffb2 100644 --- a/service/accessanalyzer/snapshot/api_op_GetFindingRecommendation.go.snap +++ b/service/accessanalyzer/snapshot/api_op_GetFindingRecommendation.go.snap @@ -14,7 +14,6 @@ GetFindingRecommendation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_GetFindingV2.go.snap b/service/accessanalyzer/snapshot/api_op_GetFindingV2.go.snap index ced2ea4bbc8..0940e539f23 100644 --- a/service/accessanalyzer/snapshot/api_op_GetFindingV2.go.snap +++ b/service/accessanalyzer/snapshot/api_op_GetFindingV2.go.snap @@ -14,7 +14,6 @@ GetFindingV2 Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_GetFindingsStatistics.go.snap b/service/accessanalyzer/snapshot/api_op_GetFindingsStatistics.go.snap index 1d701645c8e..f337cc54cdf 100644 --- a/service/accessanalyzer/snapshot/api_op_GetFindingsStatistics.go.snap +++ b/service/accessanalyzer/snapshot/api_op_GetFindingsStatistics.go.snap @@ -14,7 +14,6 @@ GetFindingsStatistics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_GetGeneratedPolicy.go.snap b/service/accessanalyzer/snapshot/api_op_GetGeneratedPolicy.go.snap index a68321b8001..a8ed3057afa 100644 --- a/service/accessanalyzer/snapshot/api_op_GetGeneratedPolicy.go.snap +++ b/service/accessanalyzer/snapshot/api_op_GetGeneratedPolicy.go.snap @@ -14,7 +14,6 @@ GetGeneratedPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_ListAccessPreviewFindings.go.snap b/service/accessanalyzer/snapshot/api_op_ListAccessPreviewFindings.go.snap index 40f2f86de35..621f64dfccf 100644 --- a/service/accessanalyzer/snapshot/api_op_ListAccessPreviewFindings.go.snap +++ b/service/accessanalyzer/snapshot/api_op_ListAccessPreviewFindings.go.snap @@ -14,7 +14,6 @@ ListAccessPreviewFindings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_ListAccessPreviews.go.snap b/service/accessanalyzer/snapshot/api_op_ListAccessPreviews.go.snap index ccd7d876ef6..60ce0fb2433 100644 --- a/service/accessanalyzer/snapshot/api_op_ListAccessPreviews.go.snap +++ b/service/accessanalyzer/snapshot/api_op_ListAccessPreviews.go.snap @@ -14,7 +14,6 @@ ListAccessPreviews Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_ListAnalyzedResources.go.snap b/service/accessanalyzer/snapshot/api_op_ListAnalyzedResources.go.snap index 35b9247415d..22698a124af 100644 --- a/service/accessanalyzer/snapshot/api_op_ListAnalyzedResources.go.snap +++ b/service/accessanalyzer/snapshot/api_op_ListAnalyzedResources.go.snap @@ -14,7 +14,6 @@ ListAnalyzedResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_ListAnalyzers.go.snap b/service/accessanalyzer/snapshot/api_op_ListAnalyzers.go.snap index 22338f5b45d..ea0cd4f5cd0 100644 --- a/service/accessanalyzer/snapshot/api_op_ListAnalyzers.go.snap +++ b/service/accessanalyzer/snapshot/api_op_ListAnalyzers.go.snap @@ -13,7 +13,6 @@ ListAnalyzers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_ListArchiveRules.go.snap b/service/accessanalyzer/snapshot/api_op_ListArchiveRules.go.snap index 4bf6bc77f12..aa29f6e6a6e 100644 --- a/service/accessanalyzer/snapshot/api_op_ListArchiveRules.go.snap +++ b/service/accessanalyzer/snapshot/api_op_ListArchiveRules.go.snap @@ -14,7 +14,6 @@ ListArchiveRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_ListFindings.go.snap b/service/accessanalyzer/snapshot/api_op_ListFindings.go.snap index e49bf85b731..1cf1834a5e6 100644 --- a/service/accessanalyzer/snapshot/api_op_ListFindings.go.snap +++ b/service/accessanalyzer/snapshot/api_op_ListFindings.go.snap @@ -14,7 +14,6 @@ ListFindings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_ListFindingsV2.go.snap b/service/accessanalyzer/snapshot/api_op_ListFindingsV2.go.snap index a3481e2ff36..01502926cd7 100644 --- a/service/accessanalyzer/snapshot/api_op_ListFindingsV2.go.snap +++ b/service/accessanalyzer/snapshot/api_op_ListFindingsV2.go.snap @@ -14,7 +14,6 @@ ListFindingsV2 Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_ListPolicyGenerations.go.snap b/service/accessanalyzer/snapshot/api_op_ListPolicyGenerations.go.snap index f43004916f9..c8ba623e24f 100644 --- a/service/accessanalyzer/snapshot/api_op_ListPolicyGenerations.go.snap +++ b/service/accessanalyzer/snapshot/api_op_ListPolicyGenerations.go.snap @@ -13,7 +13,6 @@ ListPolicyGenerations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_ListTagsForResource.go.snap b/service/accessanalyzer/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/accessanalyzer/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/accessanalyzer/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_StartPolicyGeneration.go.snap b/service/accessanalyzer/snapshot/api_op_StartPolicyGeneration.go.snap index f1998383f94..025ad3451d4 100644 --- a/service/accessanalyzer/snapshot/api_op_StartPolicyGeneration.go.snap +++ b/service/accessanalyzer/snapshot/api_op_StartPolicyGeneration.go.snap @@ -15,7 +15,6 @@ StartPolicyGeneration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_StartResourceScan.go.snap b/service/accessanalyzer/snapshot/api_op_StartResourceScan.go.snap index 7a675a6bda7..301948b6b3c 100644 --- a/service/accessanalyzer/snapshot/api_op_StartResourceScan.go.snap +++ b/service/accessanalyzer/snapshot/api_op_StartResourceScan.go.snap @@ -14,7 +14,6 @@ StartResourceScan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_TagResource.go.snap b/service/accessanalyzer/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/accessanalyzer/snapshot/api_op_TagResource.go.snap +++ b/service/accessanalyzer/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_UntagResource.go.snap b/service/accessanalyzer/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/accessanalyzer/snapshot/api_op_UntagResource.go.snap +++ b/service/accessanalyzer/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_UpdateAnalyzer.go.snap b/service/accessanalyzer/snapshot/api_op_UpdateAnalyzer.go.snap index 23c3bb6678c..450f308dbb5 100644 --- a/service/accessanalyzer/snapshot/api_op_UpdateAnalyzer.go.snap +++ b/service/accessanalyzer/snapshot/api_op_UpdateAnalyzer.go.snap @@ -14,7 +14,6 @@ UpdateAnalyzer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_UpdateArchiveRule.go.snap b/service/accessanalyzer/snapshot/api_op_UpdateArchiveRule.go.snap index fd5cc662c4f..abbca078b86 100644 --- a/service/accessanalyzer/snapshot/api_op_UpdateArchiveRule.go.snap +++ b/service/accessanalyzer/snapshot/api_op_UpdateArchiveRule.go.snap @@ -15,7 +15,6 @@ UpdateArchiveRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_UpdateFindings.go.snap b/service/accessanalyzer/snapshot/api_op_UpdateFindings.go.snap index b4d7d1a22de..5c1005f13db 100644 --- a/service/accessanalyzer/snapshot/api_op_UpdateFindings.go.snap +++ b/service/accessanalyzer/snapshot/api_op_UpdateFindings.go.snap @@ -15,7 +15,6 @@ UpdateFindings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/accessanalyzer/snapshot/api_op_ValidatePolicy.go.snap b/service/accessanalyzer/snapshot/api_op_ValidatePolicy.go.snap index fa6c4a107a3..375d234fc61 100644 --- a/service/accessanalyzer/snapshot/api_op_ValidatePolicy.go.snap +++ b/service/accessanalyzer/snapshot/api_op_ValidatePolicy.go.snap @@ -14,7 +14,6 @@ ValidatePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/account/api_client.go b/service/account/api_client.go index a6c25cdeb85..0500a8f8532 100644 --- a/service/account/api_client.go +++ b/service/account/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/account/api_op_AcceptPrimaryEmailUpdate.go b/service/account/api_op_AcceptPrimaryEmailUpdate.go index 71594f31b97..44098ba61c2 100644 --- a/service/account/api_op_AcceptPrimaryEmailUpdate.go +++ b/service/account/api_op_AcceptPrimaryEmailUpdate.go @@ -140,9 +140,6 @@ func (c *Client) addOperationAcceptPrimaryEmailUpdateMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptPrimaryEmailUpdateValidationMiddleware(stack); err != nil { return err } diff --git a/service/account/api_op_DeleteAlternateContact.go b/service/account/api_op_DeleteAlternateContact.go index 5d954629e0a..717ec751f75 100644 --- a/service/account/api_op_DeleteAlternateContact.go +++ b/service/account/api_op_DeleteAlternateContact.go @@ -143,9 +143,6 @@ func (c *Client) addOperationDeleteAlternateContactMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAlternateContactValidationMiddleware(stack); err != nil { return err } diff --git a/service/account/api_op_DisableRegion.go b/service/account/api_op_DisableRegion.go index 64ca2838e6a..1df4a7298a5 100644 --- a/service/account/api_op_DisableRegion.go +++ b/service/account/api_op_DisableRegion.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDisableRegionMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableRegionValidationMiddleware(stack); err != nil { return err } diff --git a/service/account/api_op_EnableRegion.go b/service/account/api_op_EnableRegion.go index 10868f47467..6df384a4615 100644 --- a/service/account/api_op_EnableRegion.go +++ b/service/account/api_op_EnableRegion.go @@ -134,9 +134,6 @@ func (c *Client) addOperationEnableRegionMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableRegionValidationMiddleware(stack); err != nil { return err } diff --git a/service/account/api_op_GetAlternateContact.go b/service/account/api_op_GetAlternateContact.go index a31584f7e22..af44d23f6ce 100644 --- a/service/account/api_op_GetAlternateContact.go +++ b/service/account/api_op_GetAlternateContact.go @@ -148,9 +148,6 @@ func (c *Client) addOperationGetAlternateContactMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAlternateContactValidationMiddleware(stack); err != nil { return err } diff --git a/service/account/api_op_GetContactInformation.go b/service/account/api_op_GetContactInformation.go index d31dec9addc..74667cbe491 100644 --- a/service/account/api_op_GetContactInformation.go +++ b/service/account/api_op_GetContactInformation.go @@ -134,9 +134,6 @@ func (c *Client) addOperationGetContactInformationMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetContactInformation(options.Region), middleware.Before); err != nil { return err } diff --git a/service/account/api_op_GetPrimaryEmail.go b/service/account/api_op_GetPrimaryEmail.go index a0b065f018f..dd6ac6d4272 100644 --- a/service/account/api_op_GetPrimaryEmail.go +++ b/service/account/api_op_GetPrimaryEmail.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetPrimaryEmailMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPrimaryEmailValidationMiddleware(stack); err != nil { return err } diff --git a/service/account/api_op_GetRegionOptStatus.go b/service/account/api_op_GetRegionOptStatus.go index 522e7e0df26..0a61f9623df 100644 --- a/service/account/api_op_GetRegionOptStatus.go +++ b/service/account/api_op_GetRegionOptStatus.go @@ -140,9 +140,6 @@ func (c *Client) addOperationGetRegionOptStatusMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRegionOptStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/account/api_op_ListRegions.go b/service/account/api_op_ListRegions.go index 97412a75309..c8973ecaf98 100644 --- a/service/account/api_op_ListRegions.go +++ b/service/account/api_op_ListRegions.go @@ -161,9 +161,6 @@ func (c *Client) addOperationListRegionsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRegions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/account/api_op_PutAlternateContact.go b/service/account/api_op_PutAlternateContact.go index 9d0a3287867..c201d1bc95c 100644 --- a/service/account/api_op_PutAlternateContact.go +++ b/service/account/api_op_PutAlternateContact.go @@ -164,9 +164,6 @@ func (c *Client) addOperationPutAlternateContactMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutAlternateContactValidationMiddleware(stack); err != nil { return err } diff --git a/service/account/api_op_PutContactInformation.go b/service/account/api_op_PutContactInformation.go index 276dce75008..7b9f673bed5 100644 --- a/service/account/api_op_PutContactInformation.go +++ b/service/account/api_op_PutContactInformation.go @@ -135,9 +135,6 @@ func (c *Client) addOperationPutContactInformationMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutContactInformationValidationMiddleware(stack); err != nil { return err } diff --git a/service/account/api_op_StartPrimaryEmailUpdate.go b/service/account/api_op_StartPrimaryEmailUpdate.go index 4b3ec30e08e..2626a0472c7 100644 --- a/service/account/api_op_StartPrimaryEmailUpdate.go +++ b/service/account/api_op_StartPrimaryEmailUpdate.go @@ -134,9 +134,6 @@ func (c *Client) addOperationStartPrimaryEmailUpdateMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartPrimaryEmailUpdateValidationMiddleware(stack); err != nil { return err } diff --git a/service/account/snapshot/api_op_AcceptPrimaryEmailUpdate.go.snap b/service/account/snapshot/api_op_AcceptPrimaryEmailUpdate.go.snap index 9277de94d8d..b4b01126faa 100644 --- a/service/account/snapshot/api_op_AcceptPrimaryEmailUpdate.go.snap +++ b/service/account/snapshot/api_op_AcceptPrimaryEmailUpdate.go.snap @@ -14,7 +14,6 @@ AcceptPrimaryEmailUpdate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/account/snapshot/api_op_DeleteAlternateContact.go.snap b/service/account/snapshot/api_op_DeleteAlternateContact.go.snap index 5f54a1324b6..82208d8c138 100644 --- a/service/account/snapshot/api_op_DeleteAlternateContact.go.snap +++ b/service/account/snapshot/api_op_DeleteAlternateContact.go.snap @@ -14,7 +14,6 @@ DeleteAlternateContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/account/snapshot/api_op_DisableRegion.go.snap b/service/account/snapshot/api_op_DisableRegion.go.snap index 6c499803c18..964b279a702 100644 --- a/service/account/snapshot/api_op_DisableRegion.go.snap +++ b/service/account/snapshot/api_op_DisableRegion.go.snap @@ -14,7 +14,6 @@ DisableRegion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/account/snapshot/api_op_EnableRegion.go.snap b/service/account/snapshot/api_op_EnableRegion.go.snap index 6d270ec0c8f..c30b4f70b2c 100644 --- a/service/account/snapshot/api_op_EnableRegion.go.snap +++ b/service/account/snapshot/api_op_EnableRegion.go.snap @@ -14,7 +14,6 @@ EnableRegion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/account/snapshot/api_op_GetAlternateContact.go.snap b/service/account/snapshot/api_op_GetAlternateContact.go.snap index 9deada4fa06..3307eaa271a 100644 --- a/service/account/snapshot/api_op_GetAlternateContact.go.snap +++ b/service/account/snapshot/api_op_GetAlternateContact.go.snap @@ -14,7 +14,6 @@ GetAlternateContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/account/snapshot/api_op_GetContactInformation.go.snap b/service/account/snapshot/api_op_GetContactInformation.go.snap index b5d263273ec..4d4f4f9b24e 100644 --- a/service/account/snapshot/api_op_GetContactInformation.go.snap +++ b/service/account/snapshot/api_op_GetContactInformation.go.snap @@ -13,7 +13,6 @@ GetContactInformation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/account/snapshot/api_op_GetPrimaryEmail.go.snap b/service/account/snapshot/api_op_GetPrimaryEmail.go.snap index 2b1f6507aac..cfccc5c221c 100644 --- a/service/account/snapshot/api_op_GetPrimaryEmail.go.snap +++ b/service/account/snapshot/api_op_GetPrimaryEmail.go.snap @@ -14,7 +14,6 @@ GetPrimaryEmail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/account/snapshot/api_op_GetRegionOptStatus.go.snap b/service/account/snapshot/api_op_GetRegionOptStatus.go.snap index 0d7e8b4d228..ca47ac3b7df 100644 --- a/service/account/snapshot/api_op_GetRegionOptStatus.go.snap +++ b/service/account/snapshot/api_op_GetRegionOptStatus.go.snap @@ -14,7 +14,6 @@ GetRegionOptStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/account/snapshot/api_op_ListRegions.go.snap b/service/account/snapshot/api_op_ListRegions.go.snap index 032c914cd68..313cae3e0d6 100644 --- a/service/account/snapshot/api_op_ListRegions.go.snap +++ b/service/account/snapshot/api_op_ListRegions.go.snap @@ -13,7 +13,6 @@ ListRegions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/account/snapshot/api_op_PutAlternateContact.go.snap b/service/account/snapshot/api_op_PutAlternateContact.go.snap index e7f3760e519..4730f5307d2 100644 --- a/service/account/snapshot/api_op_PutAlternateContact.go.snap +++ b/service/account/snapshot/api_op_PutAlternateContact.go.snap @@ -14,7 +14,6 @@ PutAlternateContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/account/snapshot/api_op_PutContactInformation.go.snap b/service/account/snapshot/api_op_PutContactInformation.go.snap index 356aedf4ff2..5bb1f7e5550 100644 --- a/service/account/snapshot/api_op_PutContactInformation.go.snap +++ b/service/account/snapshot/api_op_PutContactInformation.go.snap @@ -14,7 +14,6 @@ PutContactInformation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/account/snapshot/api_op_StartPrimaryEmailUpdate.go.snap b/service/account/snapshot/api_op_StartPrimaryEmailUpdate.go.snap index 01fd4a8dd19..ea03c714204 100644 --- a/service/account/snapshot/api_op_StartPrimaryEmailUpdate.go.snap +++ b/service/account/snapshot/api_op_StartPrimaryEmailUpdate.go.snap @@ -14,7 +14,6 @@ StartPrimaryEmailUpdate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acm/api_client.go b/service/acm/api_client.go index a0ddfe457f8..a4230c6519c 100644 --- a/service/acm/api_client.go +++ b/service/acm/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/acm/api_op_AddTagsToCertificate.go b/service/acm/api_op_AddTagsToCertificate.go index 058fa73ea99..77f76dc2744 100644 --- a/service/acm/api_op_AddTagsToCertificate.go +++ b/service/acm/api_op_AddTagsToCertificate.go @@ -137,9 +137,6 @@ func (c *Client) addOperationAddTagsToCertificateMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddTagsToCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/acm/api_op_DeleteCertificate.go b/service/acm/api_op_DeleteCertificate.go index 4b03e9e6355..3e62df1e788 100644 --- a/service/acm/api_op_DeleteCertificate.go +++ b/service/acm/api_op_DeleteCertificate.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteCertificateMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/acm/api_op_DescribeCertificate.go b/service/acm/api_op_DescribeCertificate.go index d4e02dc73a0..ea001a6b115 100644 --- a/service/acm/api_op_DescribeCertificate.go +++ b/service/acm/api_op_DescribeCertificate.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeCertificateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/acm/api_op_ExportCertificate.go b/service/acm/api_op_ExportCertificate.go index bf5a0bd2cb9..c33145b5669 100644 --- a/service/acm/api_op_ExportCertificate.go +++ b/service/acm/api_op_ExportCertificate.go @@ -145,9 +145,6 @@ func (c *Client) addOperationExportCertificateMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExportCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/acm/api_op_GetAccountConfiguration.go b/service/acm/api_op_GetAccountConfiguration.go index d09b12cace6..77e10e3e93c 100644 --- a/service/acm/api_op_GetAccountConfiguration.go +++ b/service/acm/api_op_GetAccountConfiguration.go @@ -108,9 +108,6 @@ func (c *Client) addOperationGetAccountConfigurationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/acm/api_op_GetCertificate.go b/service/acm/api_op_GetCertificate.go index 645ed53eba6..3c5963f44e8 100644 --- a/service/acm/api_op_GetCertificate.go +++ b/service/acm/api_op_GetCertificate.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGetCertificateMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/acm/api_op_ImportCertificate.go b/service/acm/api_op_ImportCertificate.go index 7e403db8d56..19217dda310 100644 --- a/service/acm/api_op_ImportCertificate.go +++ b/service/acm/api_op_ImportCertificate.go @@ -183,9 +183,6 @@ func (c *Client) addOperationImportCertificateMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/acm/api_op_ListCertificates.go b/service/acm/api_op_ListCertificates.go index 8c6041b8bed..1c03688d1f2 100644 --- a/service/acm/api_op_ListCertificates.go +++ b/service/acm/api_op_ListCertificates.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListCertificatesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCertificates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/acm/api_op_ListTagsForCertificate.go b/service/acm/api_op_ListTagsForCertificate.go index 3210fd0948a..5a765219ef7 100644 --- a/service/acm/api_op_ListTagsForCertificate.go +++ b/service/acm/api_op_ListTagsForCertificate.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListTagsForCertificateMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/acm/api_op_PutAccountConfiguration.go b/service/acm/api_op_PutAccountConfiguration.go index 8decff347a0..273338cd059 100644 --- a/service/acm/api_op_PutAccountConfiguration.go +++ b/service/acm/api_op_PutAccountConfiguration.go @@ -122,9 +122,6 @@ func (c *Client) addOperationPutAccountConfigurationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutAccountConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/acm/api_op_RemoveTagsFromCertificate.go b/service/acm/api_op_RemoveTagsFromCertificate.go index c8559845af0..8be1b6de7b5 100644 --- a/service/acm/api_op_RemoveTagsFromCertificate.go +++ b/service/acm/api_op_RemoveTagsFromCertificate.go @@ -126,9 +126,6 @@ func (c *Client) addOperationRemoveTagsFromCertificateMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveTagsFromCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/acm/api_op_RenewCertificate.go b/service/acm/api_op_RenewCertificate.go index 54a3f7e56ae..81200d7268f 100644 --- a/service/acm/api_op_RenewCertificate.go +++ b/service/acm/api_op_RenewCertificate.go @@ -120,9 +120,6 @@ func (c *Client) addOperationRenewCertificateMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRenewCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/acm/api_op_RequestCertificate.go b/service/acm/api_op_RequestCertificate.go index 51359185fff..17e4ad8a430 100644 --- a/service/acm/api_op_RequestCertificate.go +++ b/service/acm/api_op_RequestCertificate.go @@ -245,9 +245,6 @@ func (c *Client) addOperationRequestCertificateMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRequestCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/acm/api_op_ResendValidationEmail.go b/service/acm/api_op_ResendValidationEmail.go index 40e844b35ab..827d52113a7 100644 --- a/service/acm/api_op_ResendValidationEmail.go +++ b/service/acm/api_op_ResendValidationEmail.go @@ -149,9 +149,6 @@ func (c *Client) addOperationResendValidationEmailMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResendValidationEmailValidationMiddleware(stack); err != nil { return err } diff --git a/service/acm/api_op_UpdateCertificateOptions.go b/service/acm/api_op_UpdateCertificateOptions.go index 92c1ff42931..6e220d97e26 100644 --- a/service/acm/api_op_UpdateCertificateOptions.go +++ b/service/acm/api_op_UpdateCertificateOptions.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateCertificateOptionsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCertificateOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/acm/snapshot/api_op_AddTagsToCertificate.go.snap b/service/acm/snapshot/api_op_AddTagsToCertificate.go.snap index 8c7d77d3e58..c9ae63c9bf4 100644 --- a/service/acm/snapshot/api_op_AddTagsToCertificate.go.snap +++ b/service/acm/snapshot/api_op_AddTagsToCertificate.go.snap @@ -14,7 +14,6 @@ AddTagsToCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acm/snapshot/api_op_DeleteCertificate.go.snap b/service/acm/snapshot/api_op_DeleteCertificate.go.snap index 03832808c49..142de0aec69 100644 --- a/service/acm/snapshot/api_op_DeleteCertificate.go.snap +++ b/service/acm/snapshot/api_op_DeleteCertificate.go.snap @@ -14,7 +14,6 @@ DeleteCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acm/snapshot/api_op_DescribeCertificate.go.snap b/service/acm/snapshot/api_op_DescribeCertificate.go.snap index 207f80a3273..eef39259d04 100644 --- a/service/acm/snapshot/api_op_DescribeCertificate.go.snap +++ b/service/acm/snapshot/api_op_DescribeCertificate.go.snap @@ -14,7 +14,6 @@ DescribeCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acm/snapshot/api_op_ExportCertificate.go.snap b/service/acm/snapshot/api_op_ExportCertificate.go.snap index 60594f56250..3dfd8f6a750 100644 --- a/service/acm/snapshot/api_op_ExportCertificate.go.snap +++ b/service/acm/snapshot/api_op_ExportCertificate.go.snap @@ -14,7 +14,6 @@ ExportCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acm/snapshot/api_op_GetAccountConfiguration.go.snap b/service/acm/snapshot/api_op_GetAccountConfiguration.go.snap index 716f0620405..f658b244d4a 100644 --- a/service/acm/snapshot/api_op_GetAccountConfiguration.go.snap +++ b/service/acm/snapshot/api_op_GetAccountConfiguration.go.snap @@ -13,7 +13,6 @@ GetAccountConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acm/snapshot/api_op_GetCertificate.go.snap b/service/acm/snapshot/api_op_GetCertificate.go.snap index 81298b896d6..253a56e8c6b 100644 --- a/service/acm/snapshot/api_op_GetCertificate.go.snap +++ b/service/acm/snapshot/api_op_GetCertificate.go.snap @@ -14,7 +14,6 @@ GetCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acm/snapshot/api_op_ImportCertificate.go.snap b/service/acm/snapshot/api_op_ImportCertificate.go.snap index 976afb13c38..82e8127262e 100644 --- a/service/acm/snapshot/api_op_ImportCertificate.go.snap +++ b/service/acm/snapshot/api_op_ImportCertificate.go.snap @@ -14,7 +14,6 @@ ImportCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acm/snapshot/api_op_ListCertificates.go.snap b/service/acm/snapshot/api_op_ListCertificates.go.snap index 96af69583e5..924cb4f54f0 100644 --- a/service/acm/snapshot/api_op_ListCertificates.go.snap +++ b/service/acm/snapshot/api_op_ListCertificates.go.snap @@ -13,7 +13,6 @@ ListCertificates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acm/snapshot/api_op_ListTagsForCertificate.go.snap b/service/acm/snapshot/api_op_ListTagsForCertificate.go.snap index 9dc0bbe5423..469a007f4ff 100644 --- a/service/acm/snapshot/api_op_ListTagsForCertificate.go.snap +++ b/service/acm/snapshot/api_op_ListTagsForCertificate.go.snap @@ -14,7 +14,6 @@ ListTagsForCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acm/snapshot/api_op_PutAccountConfiguration.go.snap b/service/acm/snapshot/api_op_PutAccountConfiguration.go.snap index 9b27fd0c80a..1062f1fae40 100644 --- a/service/acm/snapshot/api_op_PutAccountConfiguration.go.snap +++ b/service/acm/snapshot/api_op_PutAccountConfiguration.go.snap @@ -14,7 +14,6 @@ PutAccountConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acm/snapshot/api_op_RemoveTagsFromCertificate.go.snap b/service/acm/snapshot/api_op_RemoveTagsFromCertificate.go.snap index fd0a75f58aa..9bc7c5aec25 100644 --- a/service/acm/snapshot/api_op_RemoveTagsFromCertificate.go.snap +++ b/service/acm/snapshot/api_op_RemoveTagsFromCertificate.go.snap @@ -14,7 +14,6 @@ RemoveTagsFromCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acm/snapshot/api_op_RenewCertificate.go.snap b/service/acm/snapshot/api_op_RenewCertificate.go.snap index a354ad15ec8..a2d809c89f7 100644 --- a/service/acm/snapshot/api_op_RenewCertificate.go.snap +++ b/service/acm/snapshot/api_op_RenewCertificate.go.snap @@ -14,7 +14,6 @@ RenewCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acm/snapshot/api_op_RequestCertificate.go.snap b/service/acm/snapshot/api_op_RequestCertificate.go.snap index 7ac30a06740..ec12fb53bb5 100644 --- a/service/acm/snapshot/api_op_RequestCertificate.go.snap +++ b/service/acm/snapshot/api_op_RequestCertificate.go.snap @@ -14,7 +14,6 @@ RequestCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acm/snapshot/api_op_ResendValidationEmail.go.snap b/service/acm/snapshot/api_op_ResendValidationEmail.go.snap index 5d49d50782a..2a98871a858 100644 --- a/service/acm/snapshot/api_op_ResendValidationEmail.go.snap +++ b/service/acm/snapshot/api_op_ResendValidationEmail.go.snap @@ -14,7 +14,6 @@ ResendValidationEmail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acm/snapshot/api_op_UpdateCertificateOptions.go.snap b/service/acm/snapshot/api_op_UpdateCertificateOptions.go.snap index 8d4594f5d77..3b2eb035d94 100644 --- a/service/acm/snapshot/api_op_UpdateCertificateOptions.go.snap +++ b/service/acm/snapshot/api_op_UpdateCertificateOptions.go.snap @@ -14,7 +14,6 @@ UpdateCertificateOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acmpca/api_client.go b/service/acmpca/api_client.go index 306f3ffc54d..772047f9e24 100644 --- a/service/acmpca/api_client.go +++ b/service/acmpca/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/acmpca/api_op_CreateCertificateAuthority.go b/service/acmpca/api_op_CreateCertificateAuthority.go index 4ea96b10a5c..525ef37c594 100644 --- a/service/acmpca/api_op_CreateCertificateAuthority.go +++ b/service/acmpca/api_op_CreateCertificateAuthority.go @@ -212,9 +212,6 @@ func (c *Client) addOperationCreateCertificateAuthorityMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCertificateAuthorityValidationMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_CreateCertificateAuthorityAuditReport.go b/service/acmpca/api_op_CreateCertificateAuthorityAuditReport.go index 597c178b82e..8bb17f4c309 100644 --- a/service/acmpca/api_op_CreateCertificateAuthorityAuditReport.go +++ b/service/acmpca/api_op_CreateCertificateAuthorityAuditReport.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCreateCertificateAuthorityAuditReportMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCertificateAuthorityAuditReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_CreatePermission.go b/service/acmpca/api_op_CreatePermission.go index f9aa2e4c36a..20c1c1e9d46 100644 --- a/service/acmpca/api_op_CreatePermission.go +++ b/service/acmpca/api_op_CreatePermission.go @@ -153,9 +153,6 @@ func (c *Client) addOperationCreatePermissionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_DeleteCertificateAuthority.go b/service/acmpca/api_op_DeleteCertificateAuthority.go index 87d6229efde..8dd43d1c32e 100644 --- a/service/acmpca/api_op_DeleteCertificateAuthority.go +++ b/service/acmpca/api_op_DeleteCertificateAuthority.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDeleteCertificateAuthorityMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCertificateAuthorityValidationMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_DeletePermission.go b/service/acmpca/api_op_DeletePermission.go index 5747f5e8a54..eb7b6018554 100644 --- a/service/acmpca/api_op_DeletePermission.go +++ b/service/acmpca/api_op_DeletePermission.go @@ -148,9 +148,6 @@ func (c *Client) addOperationDeletePermissionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_DeletePolicy.go b/service/acmpca/api_op_DeletePolicy.go index 236994a108d..92cb9fc3755 100644 --- a/service/acmpca/api_op_DeletePolicy.go +++ b/service/acmpca/api_op_DeletePolicy.go @@ -148,9 +148,6 @@ func (c *Client) addOperationDeletePolicyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_DescribeCertificateAuthority.go b/service/acmpca/api_op_DescribeCertificateAuthority.go index a02a4150d4f..84145c51ad8 100644 --- a/service/acmpca/api_op_DescribeCertificateAuthority.go +++ b/service/acmpca/api_op_DescribeCertificateAuthority.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDescribeCertificateAuthorityMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCertificateAuthorityValidationMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_DescribeCertificateAuthorityAuditReport.go b/service/acmpca/api_op_DescribeCertificateAuthorityAuditReport.go index facd41a095c..596d64ad246 100644 --- a/service/acmpca/api_op_DescribeCertificateAuthorityAuditReport.go +++ b/service/acmpca/api_op_DescribeCertificateAuthorityAuditReport.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDescribeCertificateAuthorityAuditReportMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCertificateAuthorityAuditReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_GetCertificate.go b/service/acmpca/api_op_GetCertificate.go index 1a969cdb440..7964a8ce53c 100644 --- a/service/acmpca/api_op_GetCertificate.go +++ b/service/acmpca/api_op_GetCertificate.go @@ -144,9 +144,6 @@ func (c *Client) addOperationGetCertificateMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_GetCertificateAuthorityCertificate.go b/service/acmpca/api_op_GetCertificateAuthorityCertificate.go index e99ded40d1d..9c59bfbe817 100644 --- a/service/acmpca/api_op_GetCertificateAuthorityCertificate.go +++ b/service/acmpca/api_op_GetCertificateAuthorityCertificate.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetCertificateAuthorityCertificateMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCertificateAuthorityCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_GetCertificateAuthorityCsr.go b/service/acmpca/api_op_GetCertificateAuthorityCsr.go index 7fe7503e5bc..a9b94052fab 100644 --- a/service/acmpca/api_op_GetCertificateAuthorityCsr.go +++ b/service/acmpca/api_op_GetCertificateAuthorityCsr.go @@ -130,9 +130,6 @@ func (c *Client) addOperationGetCertificateAuthorityCsrMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCertificateAuthorityCsrValidationMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_GetPolicy.go b/service/acmpca/api_op_GetPolicy.go index 73ef990f76a..6b105ce35f8 100644 --- a/service/acmpca/api_op_GetPolicy.go +++ b/service/acmpca/api_op_GetPolicy.go @@ -141,9 +141,6 @@ func (c *Client) addOperationGetPolicyMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_ImportCertificateAuthorityCertificate.go b/service/acmpca/api_op_ImportCertificateAuthorityCertificate.go index 73a8280e55b..68bf4c52df4 100644 --- a/service/acmpca/api_op_ImportCertificateAuthorityCertificate.go +++ b/service/acmpca/api_op_ImportCertificateAuthorityCertificate.go @@ -223,9 +223,6 @@ func (c *Client) addOperationImportCertificateAuthorityCertificateMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportCertificateAuthorityCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_IssueCertificate.go b/service/acmpca/api_op_IssueCertificate.go index 30f57e06209..06e27107245 100644 --- a/service/acmpca/api_op_IssueCertificate.go +++ b/service/acmpca/api_op_IssueCertificate.go @@ -235,9 +235,6 @@ func (c *Client) addOperationIssueCertificateMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpIssueCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_ListCertificateAuthorities.go b/service/acmpca/api_op_ListCertificateAuthorities.go index 93371bf264c..562be3bf7a1 100644 --- a/service/acmpca/api_op_ListCertificateAuthorities.go +++ b/service/acmpca/api_op_ListCertificateAuthorities.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListCertificateAuthoritiesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCertificateAuthorities(options.Region), middleware.Before); err != nil { return err } diff --git a/service/acmpca/api_op_ListPermissions.go b/service/acmpca/api_op_ListPermissions.go index f43937c8d2e..5de5dc1cad2 100644 --- a/service/acmpca/api_op_ListPermissions.go +++ b/service/acmpca/api_op_ListPermissions.go @@ -157,9 +157,6 @@ func (c *Client) addOperationListPermissionsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_ListTags.go b/service/acmpca/api_op_ListTags.go index 0ee55d3c651..8a68129ba20 100644 --- a/service/acmpca/api_op_ListTags.go +++ b/service/acmpca/api_op_ListTags.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListTagsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_PutPolicy.go b/service/acmpca/api_op_PutPolicy.go index 6c203d94105..12e5143f80d 100644 --- a/service/acmpca/api_op_PutPolicy.go +++ b/service/acmpca/api_op_PutPolicy.go @@ -150,9 +150,6 @@ func (c *Client) addOperationPutPolicyMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_RestoreCertificateAuthority.go b/service/acmpca/api_op_RestoreCertificateAuthority.go index 53410300b38..4ca2b697d68 100644 --- a/service/acmpca/api_op_RestoreCertificateAuthority.go +++ b/service/acmpca/api_op_RestoreCertificateAuthority.go @@ -129,9 +129,6 @@ func (c *Client) addOperationRestoreCertificateAuthorityMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreCertificateAuthorityValidationMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_RevokeCertificate.go b/service/acmpca/api_op_RevokeCertificate.go index 52e08cf1ef1..486b808b6ef 100644 --- a/service/acmpca/api_op_RevokeCertificate.go +++ b/service/acmpca/api_op_RevokeCertificate.go @@ -156,9 +156,6 @@ func (c *Client) addOperationRevokeCertificateMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRevokeCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_TagCertificateAuthority.go b/service/acmpca/api_op_TagCertificateAuthority.go index e7bec38121b..4e14eae0197 100644 --- a/service/acmpca/api_op_TagCertificateAuthority.go +++ b/service/acmpca/api_op_TagCertificateAuthority.go @@ -135,9 +135,6 @@ func (c *Client) addOperationTagCertificateAuthorityMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagCertificateAuthorityValidationMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_UntagCertificateAuthority.go b/service/acmpca/api_op_UntagCertificateAuthority.go index d810d82fb25..95e8b974087 100644 --- a/service/acmpca/api_op_UntagCertificateAuthority.go +++ b/service/acmpca/api_op_UntagCertificateAuthority.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUntagCertificateAuthorityMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagCertificateAuthorityValidationMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/api_op_UpdateCertificateAuthority.go b/service/acmpca/api_op_UpdateCertificateAuthority.go index 45734bf3e03..2a3ddaed7be 100644 --- a/service/acmpca/api_op_UpdateCertificateAuthority.go +++ b/service/acmpca/api_op_UpdateCertificateAuthority.go @@ -161,9 +161,6 @@ func (c *Client) addOperationUpdateCertificateAuthorityMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCertificateAuthorityValidationMiddleware(stack); err != nil { return err } diff --git a/service/acmpca/snapshot/api_op_CreateCertificateAuthority.go.snap b/service/acmpca/snapshot/api_op_CreateCertificateAuthority.go.snap index 98d920b4aea..ee4faeaa5dc 100644 --- a/service/acmpca/snapshot/api_op_CreateCertificateAuthority.go.snap +++ b/service/acmpca/snapshot/api_op_CreateCertificateAuthority.go.snap @@ -14,7 +14,6 @@ CreateCertificateAuthority Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acmpca/snapshot/api_op_CreateCertificateAuthorityAuditReport.go.snap b/service/acmpca/snapshot/api_op_CreateCertificateAuthorityAuditReport.go.snap index e4b132ebf04..8232ce3e076 100644 --- a/service/acmpca/snapshot/api_op_CreateCertificateAuthorityAuditReport.go.snap +++ b/service/acmpca/snapshot/api_op_CreateCertificateAuthorityAuditReport.go.snap @@ -14,7 +14,6 @@ CreateCertificateAuthorityAuditReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acmpca/snapshot/api_op_CreatePermission.go.snap b/service/acmpca/snapshot/api_op_CreatePermission.go.snap index b3000f6a3f0..211662b41b7 100644 --- a/service/acmpca/snapshot/api_op_CreatePermission.go.snap +++ b/service/acmpca/snapshot/api_op_CreatePermission.go.snap @@ -14,7 +14,6 @@ CreatePermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acmpca/snapshot/api_op_DeleteCertificateAuthority.go.snap b/service/acmpca/snapshot/api_op_DeleteCertificateAuthority.go.snap index 374136fa88a..55bb7472f3f 100644 --- a/service/acmpca/snapshot/api_op_DeleteCertificateAuthority.go.snap +++ b/service/acmpca/snapshot/api_op_DeleteCertificateAuthority.go.snap @@ -14,7 +14,6 @@ DeleteCertificateAuthority Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acmpca/snapshot/api_op_DeletePermission.go.snap b/service/acmpca/snapshot/api_op_DeletePermission.go.snap index e1ac34fcbb5..42fc1b8a493 100644 --- a/service/acmpca/snapshot/api_op_DeletePermission.go.snap +++ b/service/acmpca/snapshot/api_op_DeletePermission.go.snap @@ -14,7 +14,6 @@ DeletePermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acmpca/snapshot/api_op_DeletePolicy.go.snap b/service/acmpca/snapshot/api_op_DeletePolicy.go.snap index 82f0492a4e2..cf5ab0d043a 100644 --- a/service/acmpca/snapshot/api_op_DeletePolicy.go.snap +++ b/service/acmpca/snapshot/api_op_DeletePolicy.go.snap @@ -14,7 +14,6 @@ DeletePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acmpca/snapshot/api_op_DescribeCertificateAuthority.go.snap b/service/acmpca/snapshot/api_op_DescribeCertificateAuthority.go.snap index 551ba0402b8..e2be4aa7c79 100644 --- a/service/acmpca/snapshot/api_op_DescribeCertificateAuthority.go.snap +++ b/service/acmpca/snapshot/api_op_DescribeCertificateAuthority.go.snap @@ -14,7 +14,6 @@ DescribeCertificateAuthority Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acmpca/snapshot/api_op_DescribeCertificateAuthorityAuditReport.go.snap b/service/acmpca/snapshot/api_op_DescribeCertificateAuthorityAuditReport.go.snap index 9b4b53caf82..65eeeebad38 100644 --- a/service/acmpca/snapshot/api_op_DescribeCertificateAuthorityAuditReport.go.snap +++ b/service/acmpca/snapshot/api_op_DescribeCertificateAuthorityAuditReport.go.snap @@ -14,7 +14,6 @@ DescribeCertificateAuthorityAuditReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acmpca/snapshot/api_op_GetCertificate.go.snap b/service/acmpca/snapshot/api_op_GetCertificate.go.snap index 81298b896d6..253a56e8c6b 100644 --- a/service/acmpca/snapshot/api_op_GetCertificate.go.snap +++ b/service/acmpca/snapshot/api_op_GetCertificate.go.snap @@ -14,7 +14,6 @@ GetCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acmpca/snapshot/api_op_GetCertificateAuthorityCertificate.go.snap b/service/acmpca/snapshot/api_op_GetCertificateAuthorityCertificate.go.snap index d222d4c51a9..1643ade429c 100644 --- a/service/acmpca/snapshot/api_op_GetCertificateAuthorityCertificate.go.snap +++ b/service/acmpca/snapshot/api_op_GetCertificateAuthorityCertificate.go.snap @@ -14,7 +14,6 @@ GetCertificateAuthorityCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acmpca/snapshot/api_op_GetCertificateAuthorityCsr.go.snap b/service/acmpca/snapshot/api_op_GetCertificateAuthorityCsr.go.snap index 26c8d03809f..012e0a81f76 100644 --- a/service/acmpca/snapshot/api_op_GetCertificateAuthorityCsr.go.snap +++ b/service/acmpca/snapshot/api_op_GetCertificateAuthorityCsr.go.snap @@ -14,7 +14,6 @@ GetCertificateAuthorityCsr Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acmpca/snapshot/api_op_GetPolicy.go.snap b/service/acmpca/snapshot/api_op_GetPolicy.go.snap index dc1a8d53693..1a5ac50a868 100644 --- a/service/acmpca/snapshot/api_op_GetPolicy.go.snap +++ b/service/acmpca/snapshot/api_op_GetPolicy.go.snap @@ -14,7 +14,6 @@ GetPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acmpca/snapshot/api_op_ImportCertificateAuthorityCertificate.go.snap b/service/acmpca/snapshot/api_op_ImportCertificateAuthorityCertificate.go.snap index 4b14a12e14a..094b8969e66 100644 --- a/service/acmpca/snapshot/api_op_ImportCertificateAuthorityCertificate.go.snap +++ b/service/acmpca/snapshot/api_op_ImportCertificateAuthorityCertificate.go.snap @@ -14,7 +14,6 @@ ImportCertificateAuthorityCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acmpca/snapshot/api_op_IssueCertificate.go.snap b/service/acmpca/snapshot/api_op_IssueCertificate.go.snap index 693b02ced92..b20aaa020b3 100644 --- a/service/acmpca/snapshot/api_op_IssueCertificate.go.snap +++ b/service/acmpca/snapshot/api_op_IssueCertificate.go.snap @@ -14,7 +14,6 @@ IssueCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acmpca/snapshot/api_op_ListCertificateAuthorities.go.snap b/service/acmpca/snapshot/api_op_ListCertificateAuthorities.go.snap index e62de94cff3..ea1713eed2a 100644 --- a/service/acmpca/snapshot/api_op_ListCertificateAuthorities.go.snap +++ b/service/acmpca/snapshot/api_op_ListCertificateAuthorities.go.snap @@ -13,7 +13,6 @@ ListCertificateAuthorities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acmpca/snapshot/api_op_ListPermissions.go.snap b/service/acmpca/snapshot/api_op_ListPermissions.go.snap index 07f05345c9d..1fa40597d79 100644 --- a/service/acmpca/snapshot/api_op_ListPermissions.go.snap +++ b/service/acmpca/snapshot/api_op_ListPermissions.go.snap @@ -14,7 +14,6 @@ ListPermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acmpca/snapshot/api_op_ListTags.go.snap b/service/acmpca/snapshot/api_op_ListTags.go.snap index 1b1e99185a9..438bd1b7aec 100644 --- a/service/acmpca/snapshot/api_op_ListTags.go.snap +++ b/service/acmpca/snapshot/api_op_ListTags.go.snap @@ -14,7 +14,6 @@ ListTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acmpca/snapshot/api_op_PutPolicy.go.snap b/service/acmpca/snapshot/api_op_PutPolicy.go.snap index 6803ae065d5..fc906cad0ff 100644 --- a/service/acmpca/snapshot/api_op_PutPolicy.go.snap +++ b/service/acmpca/snapshot/api_op_PutPolicy.go.snap @@ -14,7 +14,6 @@ PutPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acmpca/snapshot/api_op_RestoreCertificateAuthority.go.snap b/service/acmpca/snapshot/api_op_RestoreCertificateAuthority.go.snap index 11da99e1d29..3f85f1e1dda 100644 --- a/service/acmpca/snapshot/api_op_RestoreCertificateAuthority.go.snap +++ b/service/acmpca/snapshot/api_op_RestoreCertificateAuthority.go.snap @@ -14,7 +14,6 @@ RestoreCertificateAuthority Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acmpca/snapshot/api_op_RevokeCertificate.go.snap b/service/acmpca/snapshot/api_op_RevokeCertificate.go.snap index 18b7b91291b..99a2db6a64c 100644 --- a/service/acmpca/snapshot/api_op_RevokeCertificate.go.snap +++ b/service/acmpca/snapshot/api_op_RevokeCertificate.go.snap @@ -14,7 +14,6 @@ RevokeCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acmpca/snapshot/api_op_TagCertificateAuthority.go.snap b/service/acmpca/snapshot/api_op_TagCertificateAuthority.go.snap index 917d8794f8a..62c8dc8d4f5 100644 --- a/service/acmpca/snapshot/api_op_TagCertificateAuthority.go.snap +++ b/service/acmpca/snapshot/api_op_TagCertificateAuthority.go.snap @@ -14,7 +14,6 @@ TagCertificateAuthority Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acmpca/snapshot/api_op_UntagCertificateAuthority.go.snap b/service/acmpca/snapshot/api_op_UntagCertificateAuthority.go.snap index 7ea0d7555de..2f28f45204a 100644 --- a/service/acmpca/snapshot/api_op_UntagCertificateAuthority.go.snap +++ b/service/acmpca/snapshot/api_op_UntagCertificateAuthority.go.snap @@ -14,7 +14,6 @@ UntagCertificateAuthority Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/acmpca/snapshot/api_op_UpdateCertificateAuthority.go.snap b/service/acmpca/snapshot/api_op_UpdateCertificateAuthority.go.snap index 744d00d76ff..d346a994aae 100644 --- a/service/acmpca/snapshot/api_op_UpdateCertificateAuthority.go.snap +++ b/service/acmpca/snapshot/api_op_UpdateCertificateAuthority.go.snap @@ -14,7 +14,6 @@ UpdateCertificateAuthority Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amp/api_client.go b/service/amp/api_client.go index d3046e269b9..9ee8501af58 100644 --- a/service/amp/api_client.go +++ b/service/amp/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/amp/api_op_CreateAlertManagerDefinition.go b/service/amp/api_op_CreateAlertManagerDefinition.go index bb51736facf..2bbcc66f637 100644 --- a/service/amp/api_op_CreateAlertManagerDefinition.go +++ b/service/amp/api_op_CreateAlertManagerDefinition.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateAlertManagerDefinitionMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAlertManagerDefinitionMiddleware(stack, options); err != nil { return err } diff --git a/service/amp/api_op_CreateLoggingConfiguration.go b/service/amp/api_op_CreateLoggingConfiguration.go index 1dfa97c495f..ad030f5d0f9 100644 --- a/service/amp/api_op_CreateLoggingConfiguration.go +++ b/service/amp/api_op_CreateLoggingConfiguration.go @@ -128,9 +128,6 @@ func (c *Client) addOperationCreateLoggingConfigurationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateLoggingConfigurationMiddleware(stack, options); err != nil { return err } diff --git a/service/amp/api_op_CreateRuleGroupsNamespace.go b/service/amp/api_op_CreateRuleGroupsNamespace.go index 07f174a6e04..1cf779f1444 100644 --- a/service/amp/api_op_CreateRuleGroupsNamespace.go +++ b/service/amp/api_op_CreateRuleGroupsNamespace.go @@ -157,9 +157,6 @@ func (c *Client) addOperationCreateRuleGroupsNamespaceMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateRuleGroupsNamespaceMiddleware(stack, options); err != nil { return err } diff --git a/service/amp/api_op_CreateScraper.go b/service/amp/api_op_CreateScraper.go index 91a8cef66c9..be0d3c32c74 100644 --- a/service/amp/api_op_CreateScraper.go +++ b/service/amp/api_op_CreateScraper.go @@ -176,9 +176,6 @@ func (c *Client) addOperationCreateScraperMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateScraperMiddleware(stack, options); err != nil { return err } diff --git a/service/amp/api_op_CreateWorkspace.go b/service/amp/api_op_CreateWorkspace.go index 524c2529b19..744eada2e98 100644 --- a/service/amp/api_op_CreateWorkspace.go +++ b/service/amp/api_op_CreateWorkspace.go @@ -152,9 +152,6 @@ func (c *Client) addOperationCreateWorkspaceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateWorkspaceMiddleware(stack, options); err != nil { return err } diff --git a/service/amp/api_op_DeleteAlertManagerDefinition.go b/service/amp/api_op_DeleteAlertManagerDefinition.go index a9b24dfdc3b..ea843bfee48 100644 --- a/service/amp/api_op_DeleteAlertManagerDefinition.go +++ b/service/amp/api_op_DeleteAlertManagerDefinition.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteAlertManagerDefinitionMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteAlertManagerDefinitionMiddleware(stack, options); err != nil { return err } diff --git a/service/amp/api_op_DeleteLoggingConfiguration.go b/service/amp/api_op_DeleteLoggingConfiguration.go index 97b4dbc9c0a..58acb90dba4 100644 --- a/service/amp/api_op_DeleteLoggingConfiguration.go +++ b/service/amp/api_op_DeleteLoggingConfiguration.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteLoggingConfigurationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteLoggingConfigurationMiddleware(stack, options); err != nil { return err } diff --git a/service/amp/api_op_DeleteRuleGroupsNamespace.go b/service/amp/api_op_DeleteRuleGroupsNamespace.go index 79cd23990f2..acda5a87abe 100644 --- a/service/amp/api_op_DeleteRuleGroupsNamespace.go +++ b/service/amp/api_op_DeleteRuleGroupsNamespace.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteRuleGroupsNamespaceMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteRuleGroupsNamespaceMiddleware(stack, options); err != nil { return err } diff --git a/service/amp/api_op_DeleteScraper.go b/service/amp/api_op_DeleteScraper.go index 2d5b46d01b2..6a8e34e4ddc 100644 --- a/service/amp/api_op_DeleteScraper.go +++ b/service/amp/api_op_DeleteScraper.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDeleteScraperMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteScraperMiddleware(stack, options); err != nil { return err } diff --git a/service/amp/api_op_DeleteWorkspace.go b/service/amp/api_op_DeleteWorkspace.go index 7479315e6ca..1095610766e 100644 --- a/service/amp/api_op_DeleteWorkspace.go +++ b/service/amp/api_op_DeleteWorkspace.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteWorkspaceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteWorkspaceMiddleware(stack, options); err != nil { return err } diff --git a/service/amp/api_op_DescribeAlertManagerDefinition.go b/service/amp/api_op_DescribeAlertManagerDefinition.go index 4dedc7015b2..60832511032 100644 --- a/service/amp/api_op_DescribeAlertManagerDefinition.go +++ b/service/amp/api_op_DescribeAlertManagerDefinition.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDescribeAlertManagerDefinitionMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAlertManagerDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/amp/api_op_DescribeLoggingConfiguration.go b/service/amp/api_op_DescribeLoggingConfiguration.go index 3dbaae917ff..c110a49d27e 100644 --- a/service/amp/api_op_DescribeLoggingConfiguration.go +++ b/service/amp/api_op_DescribeLoggingConfiguration.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDescribeLoggingConfigurationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeLoggingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/amp/api_op_DescribeRuleGroupsNamespace.go b/service/amp/api_op_DescribeRuleGroupsNamespace.go index 1a066b17edf..c1dc3ecc506 100644 --- a/service/amp/api_op_DescribeRuleGroupsNamespace.go +++ b/service/amp/api_op_DescribeRuleGroupsNamespace.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeRuleGroupsNamespaceMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRuleGroupsNamespaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/amp/api_op_DescribeScraper.go b/service/amp/api_op_DescribeScraper.go index b2da59c360a..f36eea7edee 100644 --- a/service/amp/api_op_DescribeScraper.go +++ b/service/amp/api_op_DescribeScraper.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDescribeScraperMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeScraperValidationMiddleware(stack); err != nil { return err } diff --git a/service/amp/api_op_DescribeWorkspace.go b/service/amp/api_op_DescribeWorkspace.go index 1e28b90db5e..3340a67c0c9 100644 --- a/service/amp/api_op_DescribeWorkspace.go +++ b/service/amp/api_op_DescribeWorkspace.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDescribeWorkspaceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeWorkspaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/amp/api_op_GetDefaultScraperConfiguration.go b/service/amp/api_op_GetDefaultScraperConfiguration.go index 53b9400f1d6..126515e1361 100644 --- a/service/amp/api_op_GetDefaultScraperConfiguration.go +++ b/service/amp/api_op_GetDefaultScraperConfiguration.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetDefaultScraperConfigurationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDefaultScraperConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/amp/api_op_ListRuleGroupsNamespaces.go b/service/amp/api_op_ListRuleGroupsNamespaces.go index afef3d99127..4a1a4617da3 100644 --- a/service/amp/api_op_ListRuleGroupsNamespaces.go +++ b/service/amp/api_op_ListRuleGroupsNamespaces.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListRuleGroupsNamespacesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRuleGroupsNamespacesValidationMiddleware(stack); err != nil { return err } diff --git a/service/amp/api_op_ListScrapers.go b/service/amp/api_op_ListScrapers.go index 60a1448d3d9..884e40d6f15 100644 --- a/service/amp/api_op_ListScrapers.go +++ b/service/amp/api_op_ListScrapers.go @@ -146,9 +146,6 @@ func (c *Client) addOperationListScrapersMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListScrapers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/amp/api_op_ListTagsForResource.go b/service/amp/api_op_ListTagsForResource.go index 7df9cf43eb5..331146181fd 100644 --- a/service/amp/api_op_ListTagsForResource.go +++ b/service/amp/api_op_ListTagsForResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/amp/api_op_ListWorkspaces.go b/service/amp/api_op_ListWorkspaces.go index a3e56332564..eb52c3fe2cc 100644 --- a/service/amp/api_op_ListWorkspaces.go +++ b/service/amp/api_op_ListWorkspaces.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListWorkspacesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkspaces(options.Region), middleware.Before); err != nil { return err } diff --git a/service/amp/api_op_PutAlertManagerDefinition.go b/service/amp/api_op_PutAlertManagerDefinition.go index a7bf1d85c17..5bee9d5a2b8 100644 --- a/service/amp/api_op_PutAlertManagerDefinition.go +++ b/service/amp/api_op_PutAlertManagerDefinition.go @@ -132,9 +132,6 @@ func (c *Client) addOperationPutAlertManagerDefinitionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opPutAlertManagerDefinitionMiddleware(stack, options); err != nil { return err } diff --git a/service/amp/api_op_PutRuleGroupsNamespace.go b/service/amp/api_op_PutRuleGroupsNamespace.go index 21ece62037b..e4605fd2c64 100644 --- a/service/amp/api_op_PutRuleGroupsNamespace.go +++ b/service/amp/api_op_PutRuleGroupsNamespace.go @@ -156,9 +156,6 @@ func (c *Client) addOperationPutRuleGroupsNamespaceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opPutRuleGroupsNamespaceMiddleware(stack, options); err != nil { return err } diff --git a/service/amp/api_op_TagResource.go b/service/amp/api_op_TagResource.go index 3606825ee10..c26f39eb097 100644 --- a/service/amp/api_op_TagResource.go +++ b/service/amp/api_op_TagResource.go @@ -121,9 +121,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/amp/api_op_UntagResource.go b/service/amp/api_op_UntagResource.go index ad6231af8bf..e99d931c905 100644 --- a/service/amp/api_op_UntagResource.go +++ b/service/amp/api_op_UntagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/amp/api_op_UpdateLoggingConfiguration.go b/service/amp/api_op_UpdateLoggingConfiguration.go index 3a3fb40ae94..4517d694762 100644 --- a/service/amp/api_op_UpdateLoggingConfiguration.go +++ b/service/amp/api_op_UpdateLoggingConfiguration.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateLoggingConfigurationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateLoggingConfigurationMiddleware(stack, options); err != nil { return err } diff --git a/service/amp/api_op_UpdateScraper.go b/service/amp/api_op_UpdateScraper.go index b5ae207e18a..644ba042903 100644 --- a/service/amp/api_op_UpdateScraper.go +++ b/service/amp/api_op_UpdateScraper.go @@ -152,9 +152,6 @@ func (c *Client) addOperationUpdateScraperMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateScraperMiddleware(stack, options); err != nil { return err } diff --git a/service/amp/api_op_UpdateWorkspaceAlias.go b/service/amp/api_op_UpdateWorkspaceAlias.go index ec035a0d1e1..73524dc9751 100644 --- a/service/amp/api_op_UpdateWorkspaceAlias.go +++ b/service/amp/api_op_UpdateWorkspaceAlias.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateWorkspaceAliasMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateWorkspaceAliasMiddleware(stack, options); err != nil { return err } diff --git a/service/amp/snapshot/api_op_CreateAlertManagerDefinition.go.snap b/service/amp/snapshot/api_op_CreateAlertManagerDefinition.go.snap index da1e96bde1b..a04bf1835a1 100644 --- a/service/amp/snapshot/api_op_CreateAlertManagerDefinition.go.snap +++ b/service/amp/snapshot/api_op_CreateAlertManagerDefinition.go.snap @@ -15,7 +15,6 @@ CreateAlertManagerDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amp/snapshot/api_op_CreateLoggingConfiguration.go.snap b/service/amp/snapshot/api_op_CreateLoggingConfiguration.go.snap index 77b1ecdf608..a3192177cb4 100644 --- a/service/amp/snapshot/api_op_CreateLoggingConfiguration.go.snap +++ b/service/amp/snapshot/api_op_CreateLoggingConfiguration.go.snap @@ -15,7 +15,6 @@ CreateLoggingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amp/snapshot/api_op_CreateRuleGroupsNamespace.go.snap b/service/amp/snapshot/api_op_CreateRuleGroupsNamespace.go.snap index c243c232612..88f984f873c 100644 --- a/service/amp/snapshot/api_op_CreateRuleGroupsNamespace.go.snap +++ b/service/amp/snapshot/api_op_CreateRuleGroupsNamespace.go.snap @@ -15,7 +15,6 @@ CreateRuleGroupsNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amp/snapshot/api_op_CreateScraper.go.snap b/service/amp/snapshot/api_op_CreateScraper.go.snap index 73faf520c92..c7e1566b1bb 100644 --- a/service/amp/snapshot/api_op_CreateScraper.go.snap +++ b/service/amp/snapshot/api_op_CreateScraper.go.snap @@ -15,7 +15,6 @@ CreateScraper Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amp/snapshot/api_op_CreateWorkspace.go.snap b/service/amp/snapshot/api_op_CreateWorkspace.go.snap index a858408d1f3..965d5a99ed0 100644 --- a/service/amp/snapshot/api_op_CreateWorkspace.go.snap +++ b/service/amp/snapshot/api_op_CreateWorkspace.go.snap @@ -14,7 +14,6 @@ CreateWorkspace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amp/snapshot/api_op_DeleteAlertManagerDefinition.go.snap b/service/amp/snapshot/api_op_DeleteAlertManagerDefinition.go.snap index c0ec6134fad..d01dc364674 100644 --- a/service/amp/snapshot/api_op_DeleteAlertManagerDefinition.go.snap +++ b/service/amp/snapshot/api_op_DeleteAlertManagerDefinition.go.snap @@ -15,7 +15,6 @@ DeleteAlertManagerDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amp/snapshot/api_op_DeleteLoggingConfiguration.go.snap b/service/amp/snapshot/api_op_DeleteLoggingConfiguration.go.snap index eb02e453a84..c8108db0764 100644 --- a/service/amp/snapshot/api_op_DeleteLoggingConfiguration.go.snap +++ b/service/amp/snapshot/api_op_DeleteLoggingConfiguration.go.snap @@ -15,7 +15,6 @@ DeleteLoggingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amp/snapshot/api_op_DeleteRuleGroupsNamespace.go.snap b/service/amp/snapshot/api_op_DeleteRuleGroupsNamespace.go.snap index 385b21b8d4b..2e48e620c32 100644 --- a/service/amp/snapshot/api_op_DeleteRuleGroupsNamespace.go.snap +++ b/service/amp/snapshot/api_op_DeleteRuleGroupsNamespace.go.snap @@ -15,7 +15,6 @@ DeleteRuleGroupsNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amp/snapshot/api_op_DeleteScraper.go.snap b/service/amp/snapshot/api_op_DeleteScraper.go.snap index 98c170e1d88..d956ab5c305 100644 --- a/service/amp/snapshot/api_op_DeleteScraper.go.snap +++ b/service/amp/snapshot/api_op_DeleteScraper.go.snap @@ -15,7 +15,6 @@ DeleteScraper Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amp/snapshot/api_op_DeleteWorkspace.go.snap b/service/amp/snapshot/api_op_DeleteWorkspace.go.snap index e7257d31864..8c007c54ed8 100644 --- a/service/amp/snapshot/api_op_DeleteWorkspace.go.snap +++ b/service/amp/snapshot/api_op_DeleteWorkspace.go.snap @@ -15,7 +15,6 @@ DeleteWorkspace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amp/snapshot/api_op_DescribeAlertManagerDefinition.go.snap b/service/amp/snapshot/api_op_DescribeAlertManagerDefinition.go.snap index 6f5f03f8dae..30b9f726cd1 100644 --- a/service/amp/snapshot/api_op_DescribeAlertManagerDefinition.go.snap +++ b/service/amp/snapshot/api_op_DescribeAlertManagerDefinition.go.snap @@ -14,7 +14,6 @@ DescribeAlertManagerDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amp/snapshot/api_op_DescribeLoggingConfiguration.go.snap b/service/amp/snapshot/api_op_DescribeLoggingConfiguration.go.snap index d37ff25400a..06c6ea28c92 100644 --- a/service/amp/snapshot/api_op_DescribeLoggingConfiguration.go.snap +++ b/service/amp/snapshot/api_op_DescribeLoggingConfiguration.go.snap @@ -14,7 +14,6 @@ DescribeLoggingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amp/snapshot/api_op_DescribeRuleGroupsNamespace.go.snap b/service/amp/snapshot/api_op_DescribeRuleGroupsNamespace.go.snap index 4a8a52f9259..6655078a956 100644 --- a/service/amp/snapshot/api_op_DescribeRuleGroupsNamespace.go.snap +++ b/service/amp/snapshot/api_op_DescribeRuleGroupsNamespace.go.snap @@ -14,7 +14,6 @@ DescribeRuleGroupsNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amp/snapshot/api_op_DescribeScraper.go.snap b/service/amp/snapshot/api_op_DescribeScraper.go.snap index d31ac69579c..332f4920f03 100644 --- a/service/amp/snapshot/api_op_DescribeScraper.go.snap +++ b/service/amp/snapshot/api_op_DescribeScraper.go.snap @@ -14,7 +14,6 @@ DescribeScraper Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amp/snapshot/api_op_DescribeWorkspace.go.snap b/service/amp/snapshot/api_op_DescribeWorkspace.go.snap index e73809604ba..99d3520a0b2 100644 --- a/service/amp/snapshot/api_op_DescribeWorkspace.go.snap +++ b/service/amp/snapshot/api_op_DescribeWorkspace.go.snap @@ -14,7 +14,6 @@ DescribeWorkspace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amp/snapshot/api_op_GetDefaultScraperConfiguration.go.snap b/service/amp/snapshot/api_op_GetDefaultScraperConfiguration.go.snap index f43db52343c..02b86f83123 100644 --- a/service/amp/snapshot/api_op_GetDefaultScraperConfiguration.go.snap +++ b/service/amp/snapshot/api_op_GetDefaultScraperConfiguration.go.snap @@ -13,7 +13,6 @@ GetDefaultScraperConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amp/snapshot/api_op_ListRuleGroupsNamespaces.go.snap b/service/amp/snapshot/api_op_ListRuleGroupsNamespaces.go.snap index 246ed54e3fb..4061d8ee9b8 100644 --- a/service/amp/snapshot/api_op_ListRuleGroupsNamespaces.go.snap +++ b/service/amp/snapshot/api_op_ListRuleGroupsNamespaces.go.snap @@ -14,7 +14,6 @@ ListRuleGroupsNamespaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amp/snapshot/api_op_ListScrapers.go.snap b/service/amp/snapshot/api_op_ListScrapers.go.snap index 43b60f19be0..c5a2f600ba9 100644 --- a/service/amp/snapshot/api_op_ListScrapers.go.snap +++ b/service/amp/snapshot/api_op_ListScrapers.go.snap @@ -13,7 +13,6 @@ ListScrapers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amp/snapshot/api_op_ListTagsForResource.go.snap b/service/amp/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/amp/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/amp/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amp/snapshot/api_op_ListWorkspaces.go.snap b/service/amp/snapshot/api_op_ListWorkspaces.go.snap index 475152c3df8..2dfae92fc35 100644 --- a/service/amp/snapshot/api_op_ListWorkspaces.go.snap +++ b/service/amp/snapshot/api_op_ListWorkspaces.go.snap @@ -13,7 +13,6 @@ ListWorkspaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amp/snapshot/api_op_PutAlertManagerDefinition.go.snap b/service/amp/snapshot/api_op_PutAlertManagerDefinition.go.snap index 441aab1d801..ee6584de2a1 100644 --- a/service/amp/snapshot/api_op_PutAlertManagerDefinition.go.snap +++ b/service/amp/snapshot/api_op_PutAlertManagerDefinition.go.snap @@ -15,7 +15,6 @@ PutAlertManagerDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amp/snapshot/api_op_PutRuleGroupsNamespace.go.snap b/service/amp/snapshot/api_op_PutRuleGroupsNamespace.go.snap index f56dfda6714..d5e495b9857 100644 --- a/service/amp/snapshot/api_op_PutRuleGroupsNamespace.go.snap +++ b/service/amp/snapshot/api_op_PutRuleGroupsNamespace.go.snap @@ -15,7 +15,6 @@ PutRuleGroupsNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amp/snapshot/api_op_TagResource.go.snap b/service/amp/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/amp/snapshot/api_op_TagResource.go.snap +++ b/service/amp/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amp/snapshot/api_op_UntagResource.go.snap b/service/amp/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/amp/snapshot/api_op_UntagResource.go.snap +++ b/service/amp/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amp/snapshot/api_op_UpdateLoggingConfiguration.go.snap b/service/amp/snapshot/api_op_UpdateLoggingConfiguration.go.snap index 92ca9020883..148f891bf31 100644 --- a/service/amp/snapshot/api_op_UpdateLoggingConfiguration.go.snap +++ b/service/amp/snapshot/api_op_UpdateLoggingConfiguration.go.snap @@ -15,7 +15,6 @@ UpdateLoggingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amp/snapshot/api_op_UpdateScraper.go.snap b/service/amp/snapshot/api_op_UpdateScraper.go.snap index 5b86d77f178..d96c3c8d811 100644 --- a/service/amp/snapshot/api_op_UpdateScraper.go.snap +++ b/service/amp/snapshot/api_op_UpdateScraper.go.snap @@ -15,7 +15,6 @@ UpdateScraper Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amp/snapshot/api_op_UpdateWorkspaceAlias.go.snap b/service/amp/snapshot/api_op_UpdateWorkspaceAlias.go.snap index 7edba4a7935..93290927501 100644 --- a/service/amp/snapshot/api_op_UpdateWorkspaceAlias.go.snap +++ b/service/amp/snapshot/api_op_UpdateWorkspaceAlias.go.snap @@ -15,7 +15,6 @@ UpdateWorkspaceAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/api_client.go b/service/amplify/api_client.go index 7d685a3b491..1e1d844f4f9 100644 --- a/service/amplify/api_client.go +++ b/service/amplify/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/amplify/api_op_CreateApp.go b/service/amplify/api_op_CreateApp.go index 92f087e110e..50817b60ce1 100644 --- a/service/amplify/api_op_CreateApp.go +++ b/service/amplify/api_op_CreateApp.go @@ -227,9 +227,6 @@ func (c *Client) addOperationCreateAppMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAppValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_CreateBackendEnvironment.go b/service/amplify/api_op_CreateBackendEnvironment.go index 0c5c7048749..f722c7fa2ca 100644 --- a/service/amplify/api_op_CreateBackendEnvironment.go +++ b/service/amplify/api_op_CreateBackendEnvironment.go @@ -133,9 +133,6 @@ func (c *Client) addOperationCreateBackendEnvironmentMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBackendEnvironmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_CreateBranch.go b/service/amplify/api_op_CreateBranch.go index 395dbaa242d..ab549796d48 100644 --- a/service/amplify/api_op_CreateBranch.go +++ b/service/amplify/api_op_CreateBranch.go @@ -195,9 +195,6 @@ func (c *Client) addOperationCreateBranchMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBranchValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_CreateDeployment.go b/service/amplify/api_op_CreateDeployment.go index bb54707c86f..8e1aff92ebd 100644 --- a/service/amplify/api_op_CreateDeployment.go +++ b/service/amplify/api_op_CreateDeployment.go @@ -141,9 +141,6 @@ func (c *Client) addOperationCreateDeploymentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_CreateDomainAssociation.go b/service/amplify/api_op_CreateDomainAssociation.go index 74c1ed6f72f..664010b4651 100644 --- a/service/amplify/api_op_CreateDomainAssociation.go +++ b/service/amplify/api_op_CreateDomainAssociation.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCreateDomainAssociationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDomainAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_CreateWebhook.go b/service/amplify/api_op_CreateWebhook.go index 62a2dd9a114..7256f107912 100644 --- a/service/amplify/api_op_CreateWebhook.go +++ b/service/amplify/api_op_CreateWebhook.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCreateWebhookMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateWebhookValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_DeleteApp.go b/service/amplify/api_op_DeleteApp.go index 738c126448a..db043e136be 100644 --- a/service/amplify/api_op_DeleteApp.go +++ b/service/amplify/api_op_DeleteApp.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteAppMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAppValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_DeleteBackendEnvironment.go b/service/amplify/api_op_DeleteBackendEnvironment.go index 30eb3b20954..cd66c58867d 100644 --- a/service/amplify/api_op_DeleteBackendEnvironment.go +++ b/service/amplify/api_op_DeleteBackendEnvironment.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDeleteBackendEnvironmentMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBackendEnvironmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_DeleteBranch.go b/service/amplify/api_op_DeleteBranch.go index 62c19bdea2d..208eed3f1af 100644 --- a/service/amplify/api_op_DeleteBranch.go +++ b/service/amplify/api_op_DeleteBranch.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteBranchMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBranchValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_DeleteDomainAssociation.go b/service/amplify/api_op_DeleteDomainAssociation.go index f0ae4ae0f3d..63daa3a7139 100644 --- a/service/amplify/api_op_DeleteDomainAssociation.go +++ b/service/amplify/api_op_DeleteDomainAssociation.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteDomainAssociationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDomainAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_DeleteJob.go b/service/amplify/api_op_DeleteJob.go index 6f5767275cf..bb0d1472a51 100644 --- a/service/amplify/api_op_DeleteJob.go +++ b/service/amplify/api_op_DeleteJob.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDeleteJobMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_DeleteWebhook.go b/service/amplify/api_op_DeleteWebhook.go index 2cc757f3399..521ca9616b1 100644 --- a/service/amplify/api_op_DeleteWebhook.go +++ b/service/amplify/api_op_DeleteWebhook.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteWebhookMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWebhookValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_GenerateAccessLogs.go b/service/amplify/api_op_GenerateAccessLogs.go index bac229d3078..d2375e16952 100644 --- a/service/amplify/api_op_GenerateAccessLogs.go +++ b/service/amplify/api_op_GenerateAccessLogs.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGenerateAccessLogsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGenerateAccessLogsValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_GetApp.go b/service/amplify/api_op_GetApp.go index 9e4d9b28f0a..df0ed29200e 100644 --- a/service/amplify/api_op_GetApp.go +++ b/service/amplify/api_op_GetApp.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetAppMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAppValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_GetArtifactUrl.go b/service/amplify/api_op_GetArtifactUrl.go index 2f34e5eba4d..e0b2d856d99 100644 --- a/service/amplify/api_op_GetArtifactUrl.go +++ b/service/amplify/api_op_GetArtifactUrl.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetArtifactUrlMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetArtifactUrlValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_GetBackendEnvironment.go b/service/amplify/api_op_GetBackendEnvironment.go index 8fe8674ea42..02ad7ffd02a 100644 --- a/service/amplify/api_op_GetBackendEnvironment.go +++ b/service/amplify/api_op_GetBackendEnvironment.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetBackendEnvironmentMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBackendEnvironmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_GetBranch.go b/service/amplify/api_op_GetBranch.go index ec5fb4a61d4..7800e18f066 100644 --- a/service/amplify/api_op_GetBranch.go +++ b/service/amplify/api_op_GetBranch.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetBranchMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBranchValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_GetDomainAssociation.go b/service/amplify/api_op_GetDomainAssociation.go index 38a97377e7d..da925f053d7 100644 --- a/service/amplify/api_op_GetDomainAssociation.go +++ b/service/amplify/api_op_GetDomainAssociation.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetDomainAssociationMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDomainAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_GetJob.go b/service/amplify/api_op_GetJob.go index 80c05641a77..9fedea9a7cc 100644 --- a/service/amplify/api_op_GetJob.go +++ b/service/amplify/api_op_GetJob.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetJobMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_GetWebhook.go b/service/amplify/api_op_GetWebhook.go index f7d0b450951..361ea872fdc 100644 --- a/service/amplify/api_op_GetWebhook.go +++ b/service/amplify/api_op_GetWebhook.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetWebhookMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWebhookValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_ListApps.go b/service/amplify/api_op_ListApps.go index cccc438ade7..1417a1a1799 100644 --- a/service/amplify/api_op_ListApps.go +++ b/service/amplify/api_op_ListApps.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListAppsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApps(options.Region), middleware.Before); err != nil { return err } diff --git a/service/amplify/api_op_ListArtifacts.go b/service/amplify/api_op_ListArtifacts.go index 19e7cb0139e..84a559b8a2b 100644 --- a/service/amplify/api_op_ListArtifacts.go +++ b/service/amplify/api_op_ListArtifacts.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListArtifactsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListArtifactsValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_ListBackendEnvironments.go b/service/amplify/api_op_ListBackendEnvironments.go index afacc9d7493..04cdca32f33 100644 --- a/service/amplify/api_op_ListBackendEnvironments.go +++ b/service/amplify/api_op_ListBackendEnvironments.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListBackendEnvironmentsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBackendEnvironmentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_ListBranches.go b/service/amplify/api_op_ListBranches.go index f598d8e7919..221bbca6148 100644 --- a/service/amplify/api_op_ListBranches.go +++ b/service/amplify/api_op_ListBranches.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListBranchesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBranchesValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_ListDomainAssociations.go b/service/amplify/api_op_ListDomainAssociations.go index d8b4b682c9a..026c293eb08 100644 --- a/service/amplify/api_op_ListDomainAssociations.go +++ b/service/amplify/api_op_ListDomainAssociations.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListDomainAssociationsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDomainAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_ListJobs.go b/service/amplify/api_op_ListJobs.go index 4c46db88d2f..35a25058b95 100644 --- a/service/amplify/api_op_ListJobs.go +++ b/service/amplify/api_op_ListJobs.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListJobsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_ListTagsForResource.go b/service/amplify/api_op_ListTagsForResource.go index 2b98a5e42f4..37dc8408e09 100644 --- a/service/amplify/api_op_ListTagsForResource.go +++ b/service/amplify/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_ListWebhooks.go b/service/amplify/api_op_ListWebhooks.go index 663e24b643d..3fba0155c5a 100644 --- a/service/amplify/api_op_ListWebhooks.go +++ b/service/amplify/api_op_ListWebhooks.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListWebhooksMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListWebhooksValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_StartDeployment.go b/service/amplify/api_op_StartDeployment.go index 39df5c4604e..9a33d46e760 100644 --- a/service/amplify/api_op_StartDeployment.go +++ b/service/amplify/api_op_StartDeployment.go @@ -141,9 +141,6 @@ func (c *Client) addOperationStartDeploymentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_StartJob.go b/service/amplify/api_op_StartJob.go index cfbaf6efd51..9ebc10195d0 100644 --- a/service/amplify/api_op_StartJob.go +++ b/service/amplify/api_op_StartJob.go @@ -148,9 +148,6 @@ func (c *Client) addOperationStartJobMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_StopJob.go b/service/amplify/api_op_StopJob.go index fb52dc8b171..d76949ea92a 100644 --- a/service/amplify/api_op_StopJob.go +++ b/service/amplify/api_op_StopJob.go @@ -126,9 +126,6 @@ func (c *Client) addOperationStopJobMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_TagResource.go b/service/amplify/api_op_TagResource.go index 68e8ba907a8..037316c6978 100644 --- a/service/amplify/api_op_TagResource.go +++ b/service/amplify/api_op_TagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_UntagResource.go b/service/amplify/api_op_UntagResource.go index 152d76a989f..9cb3be1d044 100644 --- a/service/amplify/api_op_UntagResource.go +++ b/service/amplify/api_op_UntagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_UpdateApp.go b/service/amplify/api_op_UpdateApp.go index 86855373171..35edb5f94a4 100644 --- a/service/amplify/api_op_UpdateApp.go +++ b/service/amplify/api_op_UpdateApp.go @@ -217,9 +217,6 @@ func (c *Client) addOperationUpdateAppMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAppValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_UpdateBranch.go b/service/amplify/api_op_UpdateBranch.go index a7d98ea4181..6188f278960 100644 --- a/service/amplify/api_op_UpdateBranch.go +++ b/service/amplify/api_op_UpdateBranch.go @@ -191,9 +191,6 @@ func (c *Client) addOperationUpdateBranchMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBranchValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_UpdateDomainAssociation.go b/service/amplify/api_op_UpdateDomainAssociation.go index bddcb55a1c7..56994b6032c 100644 --- a/service/amplify/api_op_UpdateDomainAssociation.go +++ b/service/amplify/api_op_UpdateDomainAssociation.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateDomainAssociationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDomainAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/api_op_UpdateWebhook.go b/service/amplify/api_op_UpdateWebhook.go index ff7933b02c3..ebdafa918b1 100644 --- a/service/amplify/api_op_UpdateWebhook.go +++ b/service/amplify/api_op_UpdateWebhook.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateWebhookMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateWebhookValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplify/snapshot/api_op_CreateApp.go.snap b/service/amplify/snapshot/api_op_CreateApp.go.snap index b4303227129..d73b17a92f7 100644 --- a/service/amplify/snapshot/api_op_CreateApp.go.snap +++ b/service/amplify/snapshot/api_op_CreateApp.go.snap @@ -14,7 +14,6 @@ CreateApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_CreateBackendEnvironment.go.snap b/service/amplify/snapshot/api_op_CreateBackendEnvironment.go.snap index 77545a75a34..c537c1bbab8 100644 --- a/service/amplify/snapshot/api_op_CreateBackendEnvironment.go.snap +++ b/service/amplify/snapshot/api_op_CreateBackendEnvironment.go.snap @@ -14,7 +14,6 @@ CreateBackendEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_CreateBranch.go.snap b/service/amplify/snapshot/api_op_CreateBranch.go.snap index 5f76537cf64..8f00f86d25c 100644 --- a/service/amplify/snapshot/api_op_CreateBranch.go.snap +++ b/service/amplify/snapshot/api_op_CreateBranch.go.snap @@ -14,7 +14,6 @@ CreateBranch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_CreateDeployment.go.snap b/service/amplify/snapshot/api_op_CreateDeployment.go.snap index 6a95eb66d05..3334cbaf46f 100644 --- a/service/amplify/snapshot/api_op_CreateDeployment.go.snap +++ b/service/amplify/snapshot/api_op_CreateDeployment.go.snap @@ -14,7 +14,6 @@ CreateDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_CreateDomainAssociation.go.snap b/service/amplify/snapshot/api_op_CreateDomainAssociation.go.snap index ba94b5a94bc..151e11d1bdf 100644 --- a/service/amplify/snapshot/api_op_CreateDomainAssociation.go.snap +++ b/service/amplify/snapshot/api_op_CreateDomainAssociation.go.snap @@ -14,7 +14,6 @@ CreateDomainAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_CreateWebhook.go.snap b/service/amplify/snapshot/api_op_CreateWebhook.go.snap index 3fa6a43fce4..00947e2746b 100644 --- a/service/amplify/snapshot/api_op_CreateWebhook.go.snap +++ b/service/amplify/snapshot/api_op_CreateWebhook.go.snap @@ -14,7 +14,6 @@ CreateWebhook Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_DeleteApp.go.snap b/service/amplify/snapshot/api_op_DeleteApp.go.snap index 5e024f33011..d8467fecd56 100644 --- a/service/amplify/snapshot/api_op_DeleteApp.go.snap +++ b/service/amplify/snapshot/api_op_DeleteApp.go.snap @@ -14,7 +14,6 @@ DeleteApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_DeleteBackendEnvironment.go.snap b/service/amplify/snapshot/api_op_DeleteBackendEnvironment.go.snap index 20ca5a53da0..b91633d8e4b 100644 --- a/service/amplify/snapshot/api_op_DeleteBackendEnvironment.go.snap +++ b/service/amplify/snapshot/api_op_DeleteBackendEnvironment.go.snap @@ -14,7 +14,6 @@ DeleteBackendEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_DeleteBranch.go.snap b/service/amplify/snapshot/api_op_DeleteBranch.go.snap index 4e8b994fc92..bcd574da034 100644 --- a/service/amplify/snapshot/api_op_DeleteBranch.go.snap +++ b/service/amplify/snapshot/api_op_DeleteBranch.go.snap @@ -14,7 +14,6 @@ DeleteBranch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_DeleteDomainAssociation.go.snap b/service/amplify/snapshot/api_op_DeleteDomainAssociation.go.snap index 0a52f5a1560..8a0b5ee2ab1 100644 --- a/service/amplify/snapshot/api_op_DeleteDomainAssociation.go.snap +++ b/service/amplify/snapshot/api_op_DeleteDomainAssociation.go.snap @@ -14,7 +14,6 @@ DeleteDomainAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_DeleteJob.go.snap b/service/amplify/snapshot/api_op_DeleteJob.go.snap index fa2c54dcf0a..d47c3554a1e 100644 --- a/service/amplify/snapshot/api_op_DeleteJob.go.snap +++ b/service/amplify/snapshot/api_op_DeleteJob.go.snap @@ -14,7 +14,6 @@ DeleteJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_DeleteWebhook.go.snap b/service/amplify/snapshot/api_op_DeleteWebhook.go.snap index ffa6f8edb66..c23474f10d4 100644 --- a/service/amplify/snapshot/api_op_DeleteWebhook.go.snap +++ b/service/amplify/snapshot/api_op_DeleteWebhook.go.snap @@ -14,7 +14,6 @@ DeleteWebhook Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_GenerateAccessLogs.go.snap b/service/amplify/snapshot/api_op_GenerateAccessLogs.go.snap index bfec0432fa2..88368641286 100644 --- a/service/amplify/snapshot/api_op_GenerateAccessLogs.go.snap +++ b/service/amplify/snapshot/api_op_GenerateAccessLogs.go.snap @@ -14,7 +14,6 @@ GenerateAccessLogs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_GetApp.go.snap b/service/amplify/snapshot/api_op_GetApp.go.snap index 0b529ede89d..6ba8466c4a6 100644 --- a/service/amplify/snapshot/api_op_GetApp.go.snap +++ b/service/amplify/snapshot/api_op_GetApp.go.snap @@ -14,7 +14,6 @@ GetApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_GetArtifactUrl.go.snap b/service/amplify/snapshot/api_op_GetArtifactUrl.go.snap index e59425f5bcc..940725c1752 100644 --- a/service/amplify/snapshot/api_op_GetArtifactUrl.go.snap +++ b/service/amplify/snapshot/api_op_GetArtifactUrl.go.snap @@ -14,7 +14,6 @@ GetArtifactUrl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_GetBackendEnvironment.go.snap b/service/amplify/snapshot/api_op_GetBackendEnvironment.go.snap index 635347bd7bd..059f8f8279e 100644 --- a/service/amplify/snapshot/api_op_GetBackendEnvironment.go.snap +++ b/service/amplify/snapshot/api_op_GetBackendEnvironment.go.snap @@ -14,7 +14,6 @@ GetBackendEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_GetBranch.go.snap b/service/amplify/snapshot/api_op_GetBranch.go.snap index 39b2d1ae70a..dec646a02a9 100644 --- a/service/amplify/snapshot/api_op_GetBranch.go.snap +++ b/service/amplify/snapshot/api_op_GetBranch.go.snap @@ -14,7 +14,6 @@ GetBranch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_GetDomainAssociation.go.snap b/service/amplify/snapshot/api_op_GetDomainAssociation.go.snap index a1cdaa59545..1da52be0791 100644 --- a/service/amplify/snapshot/api_op_GetDomainAssociation.go.snap +++ b/service/amplify/snapshot/api_op_GetDomainAssociation.go.snap @@ -14,7 +14,6 @@ GetDomainAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_GetJob.go.snap b/service/amplify/snapshot/api_op_GetJob.go.snap index 8785dbdb074..6e4ff7bd3f6 100644 --- a/service/amplify/snapshot/api_op_GetJob.go.snap +++ b/service/amplify/snapshot/api_op_GetJob.go.snap @@ -14,7 +14,6 @@ GetJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_GetWebhook.go.snap b/service/amplify/snapshot/api_op_GetWebhook.go.snap index 176108c2ff2..b285fc1d59c 100644 --- a/service/amplify/snapshot/api_op_GetWebhook.go.snap +++ b/service/amplify/snapshot/api_op_GetWebhook.go.snap @@ -14,7 +14,6 @@ GetWebhook Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_ListApps.go.snap b/service/amplify/snapshot/api_op_ListApps.go.snap index 80402f2bba1..07a43ca47ec 100644 --- a/service/amplify/snapshot/api_op_ListApps.go.snap +++ b/service/amplify/snapshot/api_op_ListApps.go.snap @@ -13,7 +13,6 @@ ListApps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_ListArtifacts.go.snap b/service/amplify/snapshot/api_op_ListArtifacts.go.snap index 411333bf1df..781b3d22b03 100644 --- a/service/amplify/snapshot/api_op_ListArtifacts.go.snap +++ b/service/amplify/snapshot/api_op_ListArtifacts.go.snap @@ -14,7 +14,6 @@ ListArtifacts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_ListBackendEnvironments.go.snap b/service/amplify/snapshot/api_op_ListBackendEnvironments.go.snap index 4020af3d4c9..e54abeeefcc 100644 --- a/service/amplify/snapshot/api_op_ListBackendEnvironments.go.snap +++ b/service/amplify/snapshot/api_op_ListBackendEnvironments.go.snap @@ -14,7 +14,6 @@ ListBackendEnvironments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_ListBranches.go.snap b/service/amplify/snapshot/api_op_ListBranches.go.snap index 28809527b10..8c1025b633d 100644 --- a/service/amplify/snapshot/api_op_ListBranches.go.snap +++ b/service/amplify/snapshot/api_op_ListBranches.go.snap @@ -14,7 +14,6 @@ ListBranches Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_ListDomainAssociations.go.snap b/service/amplify/snapshot/api_op_ListDomainAssociations.go.snap index 3a025b54f9a..94d3b9349da 100644 --- a/service/amplify/snapshot/api_op_ListDomainAssociations.go.snap +++ b/service/amplify/snapshot/api_op_ListDomainAssociations.go.snap @@ -14,7 +14,6 @@ ListDomainAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_ListJobs.go.snap b/service/amplify/snapshot/api_op_ListJobs.go.snap index a6ea48db4f8..1cfad16e424 100644 --- a/service/amplify/snapshot/api_op_ListJobs.go.snap +++ b/service/amplify/snapshot/api_op_ListJobs.go.snap @@ -14,7 +14,6 @@ ListJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_ListTagsForResource.go.snap b/service/amplify/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/amplify/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/amplify/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_ListWebhooks.go.snap b/service/amplify/snapshot/api_op_ListWebhooks.go.snap index f8ec5f7aac3..87dde828ffd 100644 --- a/service/amplify/snapshot/api_op_ListWebhooks.go.snap +++ b/service/amplify/snapshot/api_op_ListWebhooks.go.snap @@ -14,7 +14,6 @@ ListWebhooks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_StartDeployment.go.snap b/service/amplify/snapshot/api_op_StartDeployment.go.snap index 5a324e37800..e10cf6b2ea8 100644 --- a/service/amplify/snapshot/api_op_StartDeployment.go.snap +++ b/service/amplify/snapshot/api_op_StartDeployment.go.snap @@ -14,7 +14,6 @@ StartDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_StartJob.go.snap b/service/amplify/snapshot/api_op_StartJob.go.snap index 669cac60a98..1383dc8637a 100644 --- a/service/amplify/snapshot/api_op_StartJob.go.snap +++ b/service/amplify/snapshot/api_op_StartJob.go.snap @@ -14,7 +14,6 @@ StartJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_StopJob.go.snap b/service/amplify/snapshot/api_op_StopJob.go.snap index a20efaf5231..bff2146f841 100644 --- a/service/amplify/snapshot/api_op_StopJob.go.snap +++ b/service/amplify/snapshot/api_op_StopJob.go.snap @@ -14,7 +14,6 @@ StopJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_TagResource.go.snap b/service/amplify/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/amplify/snapshot/api_op_TagResource.go.snap +++ b/service/amplify/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_UntagResource.go.snap b/service/amplify/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/amplify/snapshot/api_op_UntagResource.go.snap +++ b/service/amplify/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_UpdateApp.go.snap b/service/amplify/snapshot/api_op_UpdateApp.go.snap index 075bf64a87d..2baf300a08e 100644 --- a/service/amplify/snapshot/api_op_UpdateApp.go.snap +++ b/service/amplify/snapshot/api_op_UpdateApp.go.snap @@ -14,7 +14,6 @@ UpdateApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_UpdateBranch.go.snap b/service/amplify/snapshot/api_op_UpdateBranch.go.snap index 2cd201435ab..49df3cc91ae 100644 --- a/service/amplify/snapshot/api_op_UpdateBranch.go.snap +++ b/service/amplify/snapshot/api_op_UpdateBranch.go.snap @@ -14,7 +14,6 @@ UpdateBranch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_UpdateDomainAssociation.go.snap b/service/amplify/snapshot/api_op_UpdateDomainAssociation.go.snap index ce0fe77dfa1..b7a1466ebf9 100644 --- a/service/amplify/snapshot/api_op_UpdateDomainAssociation.go.snap +++ b/service/amplify/snapshot/api_op_UpdateDomainAssociation.go.snap @@ -14,7 +14,6 @@ UpdateDomainAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplify/snapshot/api_op_UpdateWebhook.go.snap b/service/amplify/snapshot/api_op_UpdateWebhook.go.snap index a11c241b367..5952ecd28a1 100644 --- a/service/amplify/snapshot/api_op_UpdateWebhook.go.snap +++ b/service/amplify/snapshot/api_op_UpdateWebhook.go.snap @@ -14,7 +14,6 @@ UpdateWebhook Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifybackend/api_client.go b/service/amplifybackend/api_client.go index 4be0789df18..6ea016a0e07 100644 --- a/service/amplifybackend/api_client.go +++ b/service/amplifybackend/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/amplifybackend/api_op_CloneBackend.go b/service/amplifybackend/api_op_CloneBackend.go index ca80fdd54a1..eef37c11050 100644 --- a/service/amplifybackend/api_op_CloneBackend.go +++ b/service/amplifybackend/api_op_CloneBackend.go @@ -137,9 +137,6 @@ func (c *Client) addOperationCloneBackendMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCloneBackendValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_CreateBackend.go b/service/amplifybackend/api_op_CreateBackend.go index e475b253173..d0d83637d0e 100644 --- a/service/amplifybackend/api_op_CreateBackend.go +++ b/service/amplifybackend/api_op_CreateBackend.go @@ -145,9 +145,6 @@ func (c *Client) addOperationCreateBackendMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBackendValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_CreateBackendAPI.go b/service/amplifybackend/api_op_CreateBackendAPI.go index f26c43f5f59..41758c84b58 100644 --- a/service/amplifybackend/api_op_CreateBackendAPI.go +++ b/service/amplifybackend/api_op_CreateBackendAPI.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCreateBackendAPIMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBackendAPIValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_CreateBackendAuth.go b/service/amplifybackend/api_op_CreateBackendAuth.go index ee64280ddf0..277869a63d9 100644 --- a/service/amplifybackend/api_op_CreateBackendAuth.go +++ b/service/amplifybackend/api_op_CreateBackendAuth.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCreateBackendAuthMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBackendAuthValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_CreateBackendConfig.go b/service/amplifybackend/api_op_CreateBackendConfig.go index 1d7dac59b2b..154296640d2 100644 --- a/service/amplifybackend/api_op_CreateBackendConfig.go +++ b/service/amplifybackend/api_op_CreateBackendConfig.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCreateBackendConfigMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBackendConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_CreateBackendStorage.go b/service/amplifybackend/api_op_CreateBackendStorage.go index 56c27e8f45d..e7c6ce98183 100644 --- a/service/amplifybackend/api_op_CreateBackendStorage.go +++ b/service/amplifybackend/api_op_CreateBackendStorage.go @@ -137,9 +137,6 @@ func (c *Client) addOperationCreateBackendStorageMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBackendStorageValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_CreateToken.go b/service/amplifybackend/api_op_CreateToken.go index 866ee8224fa..47c94fed309 100644 --- a/service/amplifybackend/api_op_CreateToken.go +++ b/service/amplifybackend/api_op_CreateToken.go @@ -121,9 +121,6 @@ func (c *Client) addOperationCreateTokenMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTokenValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_DeleteBackend.go b/service/amplifybackend/api_op_DeleteBackend.go index 6137f9788fd..71df4a1e1a0 100644 --- a/service/amplifybackend/api_op_DeleteBackend.go +++ b/service/amplifybackend/api_op_DeleteBackend.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDeleteBackendMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBackendValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_DeleteBackendAPI.go b/service/amplifybackend/api_op_DeleteBackendAPI.go index 90b622b70d6..322af5bf783 100644 --- a/service/amplifybackend/api_op_DeleteBackendAPI.go +++ b/service/amplifybackend/api_op_DeleteBackendAPI.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDeleteBackendAPIMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBackendAPIValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_DeleteBackendAuth.go b/service/amplifybackend/api_op_DeleteBackendAuth.go index 14dadda79c2..c3ec800cfa7 100644 --- a/service/amplifybackend/api_op_DeleteBackendAuth.go +++ b/service/amplifybackend/api_op_DeleteBackendAuth.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDeleteBackendAuthMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBackendAuthValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_DeleteBackendStorage.go b/service/amplifybackend/api_op_DeleteBackendStorage.go index 576b2d7b8a3..2e7a65e6831 100644 --- a/service/amplifybackend/api_op_DeleteBackendStorage.go +++ b/service/amplifybackend/api_op_DeleteBackendStorage.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDeleteBackendStorageMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBackendStorageValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_DeleteToken.go b/service/amplifybackend/api_op_DeleteToken.go index ad31462301b..90a285e7529 100644 --- a/service/amplifybackend/api_op_DeleteToken.go +++ b/service/amplifybackend/api_op_DeleteToken.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteTokenMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTokenValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_GenerateBackendAPIModels.go b/service/amplifybackend/api_op_GenerateBackendAPIModels.go index 2fa6e91cc93..61d5dacefd2 100644 --- a/service/amplifybackend/api_op_GenerateBackendAPIModels.go +++ b/service/amplifybackend/api_op_GenerateBackendAPIModels.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGenerateBackendAPIModelsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGenerateBackendAPIModelsValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_GetBackend.go b/service/amplifybackend/api_op_GetBackend.go index 81358378ec9..e93220cda1c 100644 --- a/service/amplifybackend/api_op_GetBackend.go +++ b/service/amplifybackend/api_op_GetBackend.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetBackendMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBackendValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_GetBackendAPI.go b/service/amplifybackend/api_op_GetBackendAPI.go index 9da1a397a7f..f532db9f3f1 100644 --- a/service/amplifybackend/api_op_GetBackendAPI.go +++ b/service/amplifybackend/api_op_GetBackendAPI.go @@ -138,9 +138,6 @@ func (c *Client) addOperationGetBackendAPIMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBackendAPIValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_GetBackendAPIModels.go b/service/amplifybackend/api_op_GetBackendAPIModels.go index 056aad7dceb..a05734a6bea 100644 --- a/service/amplifybackend/api_op_GetBackendAPIModels.go +++ b/service/amplifybackend/api_op_GetBackendAPIModels.go @@ -130,9 +130,6 @@ func (c *Client) addOperationGetBackendAPIModelsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBackendAPIModelsValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_GetBackendAuth.go b/service/amplifybackend/api_op_GetBackendAuth.go index 0b1d46c03df..1e8240a5d3f 100644 --- a/service/amplifybackend/api_op_GetBackendAuth.go +++ b/service/amplifybackend/api_op_GetBackendAuth.go @@ -136,9 +136,6 @@ func (c *Client) addOperationGetBackendAuthMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBackendAuthValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_GetBackendJob.go b/service/amplifybackend/api_op_GetBackendJob.go index ed23796a8ef..3b4e2e170e3 100644 --- a/service/amplifybackend/api_op_GetBackendJob.go +++ b/service/amplifybackend/api_op_GetBackendJob.go @@ -142,9 +142,6 @@ func (c *Client) addOperationGetBackendJobMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBackendJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_GetBackendStorage.go b/service/amplifybackend/api_op_GetBackendStorage.go index 33f6e2b8ad5..0994897359a 100644 --- a/service/amplifybackend/api_op_GetBackendStorage.go +++ b/service/amplifybackend/api_op_GetBackendStorage.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetBackendStorageMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBackendStorageValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_GetToken.go b/service/amplifybackend/api_op_GetToken.go index 2a17c31b9e1..752e16434a9 100644 --- a/service/amplifybackend/api_op_GetToken.go +++ b/service/amplifybackend/api_op_GetToken.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetTokenMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTokenValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_ImportBackendAuth.go b/service/amplifybackend/api_op_ImportBackendAuth.go index d3ca191421a..1269c88c63b 100644 --- a/service/amplifybackend/api_op_ImportBackendAuth.go +++ b/service/amplifybackend/api_op_ImportBackendAuth.go @@ -150,9 +150,6 @@ func (c *Client) addOperationImportBackendAuthMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportBackendAuthValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_ImportBackendStorage.go b/service/amplifybackend/api_op_ImportBackendStorage.go index 1c25fc03e60..26a73f2abfa 100644 --- a/service/amplifybackend/api_op_ImportBackendStorage.go +++ b/service/amplifybackend/api_op_ImportBackendStorage.go @@ -135,9 +135,6 @@ func (c *Client) addOperationImportBackendStorageMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportBackendStorageValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_ListBackendJobs.go b/service/amplifybackend/api_op_ListBackendJobs.go index 4f016f29801..b1a5cc62a86 100644 --- a/service/amplifybackend/api_op_ListBackendJobs.go +++ b/service/amplifybackend/api_op_ListBackendJobs.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListBackendJobsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBackendJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_ListS3Buckets.go b/service/amplifybackend/api_op_ListS3Buckets.go index c4edfd52425..d8fe9c918f7 100644 --- a/service/amplifybackend/api_op_ListS3Buckets.go +++ b/service/amplifybackend/api_op_ListS3Buckets.go @@ -114,9 +114,6 @@ func (c *Client) addOperationListS3BucketsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListS3Buckets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/amplifybackend/api_op_RemoveAllBackends.go b/service/amplifybackend/api_op_RemoveAllBackends.go index d0dcf798c11..68ebab3b383 100644 --- a/service/amplifybackend/api_op_RemoveAllBackends.go +++ b/service/amplifybackend/api_op_RemoveAllBackends.go @@ -127,9 +127,6 @@ func (c *Client) addOperationRemoveAllBackendsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveAllBackendsValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_RemoveBackendConfig.go b/service/amplifybackend/api_op_RemoveBackendConfig.go index c4c2d0c3ce5..5a0d29263f1 100644 --- a/service/amplifybackend/api_op_RemoveBackendConfig.go +++ b/service/amplifybackend/api_op_RemoveBackendConfig.go @@ -111,9 +111,6 @@ func (c *Client) addOperationRemoveBackendConfigMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveBackendConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_UpdateBackendAPI.go b/service/amplifybackend/api_op_UpdateBackendAPI.go index ded0f82e440..6f006b2f68d 100644 --- a/service/amplifybackend/api_op_UpdateBackendAPI.go +++ b/service/amplifybackend/api_op_UpdateBackendAPI.go @@ -141,9 +141,6 @@ func (c *Client) addOperationUpdateBackendAPIMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBackendAPIValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_UpdateBackendAuth.go b/service/amplifybackend/api_op_UpdateBackendAuth.go index 243ac551e8c..e0a05e69824 100644 --- a/service/amplifybackend/api_op_UpdateBackendAuth.go +++ b/service/amplifybackend/api_op_UpdateBackendAuth.go @@ -143,9 +143,6 @@ func (c *Client) addOperationUpdateBackendAuthMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBackendAuthValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_UpdateBackendConfig.go b/service/amplifybackend/api_op_UpdateBackendConfig.go index ec97ba1a2af..0fac108df93 100644 --- a/service/amplifybackend/api_op_UpdateBackendConfig.go +++ b/service/amplifybackend/api_op_UpdateBackendConfig.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateBackendConfigMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBackendConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_UpdateBackendJob.go b/service/amplifybackend/api_op_UpdateBackendJob.go index affc03ff140..d9ba9ecac09 100644 --- a/service/amplifybackend/api_op_UpdateBackendJob.go +++ b/service/amplifybackend/api_op_UpdateBackendJob.go @@ -151,9 +151,6 @@ func (c *Client) addOperationUpdateBackendJobMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBackendJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/api_op_UpdateBackendStorage.go b/service/amplifybackend/api_op_UpdateBackendStorage.go index 3fb75afb5a3..13b12ba65d8 100644 --- a/service/amplifybackend/api_op_UpdateBackendStorage.go +++ b/service/amplifybackend/api_op_UpdateBackendStorage.go @@ -137,9 +137,6 @@ func (c *Client) addOperationUpdateBackendStorageMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBackendStorageValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifybackend/snapshot/api_op_CloneBackend.go.snap b/service/amplifybackend/snapshot/api_op_CloneBackend.go.snap index 8e8662e4545..44dad0656c9 100644 --- a/service/amplifybackend/snapshot/api_op_CloneBackend.go.snap +++ b/service/amplifybackend/snapshot/api_op_CloneBackend.go.snap @@ -14,7 +14,6 @@ CloneBackend Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifybackend/snapshot/api_op_CreateBackend.go.snap b/service/amplifybackend/snapshot/api_op_CreateBackend.go.snap index 4577c65e63b..5127d731084 100644 --- a/service/amplifybackend/snapshot/api_op_CreateBackend.go.snap +++ b/service/amplifybackend/snapshot/api_op_CreateBackend.go.snap @@ -14,7 +14,6 @@ CreateBackend Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifybackend/snapshot/api_op_CreateBackendAPI.go.snap b/service/amplifybackend/snapshot/api_op_CreateBackendAPI.go.snap index 1c9993138a0..a34e1167e4a 100644 --- a/service/amplifybackend/snapshot/api_op_CreateBackendAPI.go.snap +++ b/service/amplifybackend/snapshot/api_op_CreateBackendAPI.go.snap @@ -14,7 +14,6 @@ CreateBackendAPI Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifybackend/snapshot/api_op_CreateBackendAuth.go.snap b/service/amplifybackend/snapshot/api_op_CreateBackendAuth.go.snap index 8ecb57a2c51..b34089fb1d0 100644 --- a/service/amplifybackend/snapshot/api_op_CreateBackendAuth.go.snap +++ b/service/amplifybackend/snapshot/api_op_CreateBackendAuth.go.snap @@ -14,7 +14,6 @@ CreateBackendAuth Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifybackend/snapshot/api_op_CreateBackendConfig.go.snap b/service/amplifybackend/snapshot/api_op_CreateBackendConfig.go.snap index cb4622b97b9..76e19c8062f 100644 --- a/service/amplifybackend/snapshot/api_op_CreateBackendConfig.go.snap +++ b/service/amplifybackend/snapshot/api_op_CreateBackendConfig.go.snap @@ -14,7 +14,6 @@ CreateBackendConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifybackend/snapshot/api_op_CreateBackendStorage.go.snap b/service/amplifybackend/snapshot/api_op_CreateBackendStorage.go.snap index c9023cd94c9..f04ba8cba21 100644 --- a/service/amplifybackend/snapshot/api_op_CreateBackendStorage.go.snap +++ b/service/amplifybackend/snapshot/api_op_CreateBackendStorage.go.snap @@ -14,7 +14,6 @@ CreateBackendStorage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifybackend/snapshot/api_op_CreateToken.go.snap b/service/amplifybackend/snapshot/api_op_CreateToken.go.snap index 3339a178f95..e9b83328568 100644 --- a/service/amplifybackend/snapshot/api_op_CreateToken.go.snap +++ b/service/amplifybackend/snapshot/api_op_CreateToken.go.snap @@ -14,7 +14,6 @@ CreateToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifybackend/snapshot/api_op_DeleteBackend.go.snap b/service/amplifybackend/snapshot/api_op_DeleteBackend.go.snap index bd80c538bd2..b749f403bac 100644 --- a/service/amplifybackend/snapshot/api_op_DeleteBackend.go.snap +++ b/service/amplifybackend/snapshot/api_op_DeleteBackend.go.snap @@ -14,7 +14,6 @@ DeleteBackend Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifybackend/snapshot/api_op_DeleteBackendAPI.go.snap b/service/amplifybackend/snapshot/api_op_DeleteBackendAPI.go.snap index dd5c4e592ac..8b75edbe668 100644 --- a/service/amplifybackend/snapshot/api_op_DeleteBackendAPI.go.snap +++ b/service/amplifybackend/snapshot/api_op_DeleteBackendAPI.go.snap @@ -14,7 +14,6 @@ DeleteBackendAPI Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifybackend/snapshot/api_op_DeleteBackendAuth.go.snap b/service/amplifybackend/snapshot/api_op_DeleteBackendAuth.go.snap index 86f755939c0..56443f92ef9 100644 --- a/service/amplifybackend/snapshot/api_op_DeleteBackendAuth.go.snap +++ b/service/amplifybackend/snapshot/api_op_DeleteBackendAuth.go.snap @@ -14,7 +14,6 @@ DeleteBackendAuth Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifybackend/snapshot/api_op_DeleteBackendStorage.go.snap b/service/amplifybackend/snapshot/api_op_DeleteBackendStorage.go.snap index a64d9027ebf..9f8909782a3 100644 --- a/service/amplifybackend/snapshot/api_op_DeleteBackendStorage.go.snap +++ b/service/amplifybackend/snapshot/api_op_DeleteBackendStorage.go.snap @@ -14,7 +14,6 @@ DeleteBackendStorage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifybackend/snapshot/api_op_DeleteToken.go.snap b/service/amplifybackend/snapshot/api_op_DeleteToken.go.snap index 9b61b1c7198..88bd44596b1 100644 --- a/service/amplifybackend/snapshot/api_op_DeleteToken.go.snap +++ b/service/amplifybackend/snapshot/api_op_DeleteToken.go.snap @@ -14,7 +14,6 @@ DeleteToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifybackend/snapshot/api_op_GenerateBackendAPIModels.go.snap b/service/amplifybackend/snapshot/api_op_GenerateBackendAPIModels.go.snap index 3abada98c5d..348f0029e76 100644 --- a/service/amplifybackend/snapshot/api_op_GenerateBackendAPIModels.go.snap +++ b/service/amplifybackend/snapshot/api_op_GenerateBackendAPIModels.go.snap @@ -14,7 +14,6 @@ GenerateBackendAPIModels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifybackend/snapshot/api_op_GetBackend.go.snap b/service/amplifybackend/snapshot/api_op_GetBackend.go.snap index d9ccb059f74..004b0234664 100644 --- a/service/amplifybackend/snapshot/api_op_GetBackend.go.snap +++ b/service/amplifybackend/snapshot/api_op_GetBackend.go.snap @@ -14,7 +14,6 @@ GetBackend Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifybackend/snapshot/api_op_GetBackendAPI.go.snap b/service/amplifybackend/snapshot/api_op_GetBackendAPI.go.snap index aaa4ee562b9..7fc927ecd27 100644 --- a/service/amplifybackend/snapshot/api_op_GetBackendAPI.go.snap +++ b/service/amplifybackend/snapshot/api_op_GetBackendAPI.go.snap @@ -14,7 +14,6 @@ GetBackendAPI Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifybackend/snapshot/api_op_GetBackendAPIModels.go.snap b/service/amplifybackend/snapshot/api_op_GetBackendAPIModels.go.snap index 59a6c38c963..cdb8baedd5a 100644 --- a/service/amplifybackend/snapshot/api_op_GetBackendAPIModels.go.snap +++ b/service/amplifybackend/snapshot/api_op_GetBackendAPIModels.go.snap @@ -14,7 +14,6 @@ GetBackendAPIModels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifybackend/snapshot/api_op_GetBackendAuth.go.snap b/service/amplifybackend/snapshot/api_op_GetBackendAuth.go.snap index 8513369d77c..98ed4066517 100644 --- a/service/amplifybackend/snapshot/api_op_GetBackendAuth.go.snap +++ b/service/amplifybackend/snapshot/api_op_GetBackendAuth.go.snap @@ -14,7 +14,6 @@ GetBackendAuth Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifybackend/snapshot/api_op_GetBackendJob.go.snap b/service/amplifybackend/snapshot/api_op_GetBackendJob.go.snap index b6746ae1128..e8243f178db 100644 --- a/service/amplifybackend/snapshot/api_op_GetBackendJob.go.snap +++ b/service/amplifybackend/snapshot/api_op_GetBackendJob.go.snap @@ -14,7 +14,6 @@ GetBackendJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifybackend/snapshot/api_op_GetBackendStorage.go.snap b/service/amplifybackend/snapshot/api_op_GetBackendStorage.go.snap index 6e7ad447147..066a91fa1e8 100644 --- a/service/amplifybackend/snapshot/api_op_GetBackendStorage.go.snap +++ b/service/amplifybackend/snapshot/api_op_GetBackendStorage.go.snap @@ -14,7 +14,6 @@ GetBackendStorage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifybackend/snapshot/api_op_GetToken.go.snap b/service/amplifybackend/snapshot/api_op_GetToken.go.snap index 7e8b89d6e7d..ca3decfe17e 100644 --- a/service/amplifybackend/snapshot/api_op_GetToken.go.snap +++ b/service/amplifybackend/snapshot/api_op_GetToken.go.snap @@ -14,7 +14,6 @@ GetToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifybackend/snapshot/api_op_ImportBackendAuth.go.snap b/service/amplifybackend/snapshot/api_op_ImportBackendAuth.go.snap index fa61609a1d1..ad60381b313 100644 --- a/service/amplifybackend/snapshot/api_op_ImportBackendAuth.go.snap +++ b/service/amplifybackend/snapshot/api_op_ImportBackendAuth.go.snap @@ -14,7 +14,6 @@ ImportBackendAuth Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifybackend/snapshot/api_op_ImportBackendStorage.go.snap b/service/amplifybackend/snapshot/api_op_ImportBackendStorage.go.snap index 95fb772d91c..756a29001a1 100644 --- a/service/amplifybackend/snapshot/api_op_ImportBackendStorage.go.snap +++ b/service/amplifybackend/snapshot/api_op_ImportBackendStorage.go.snap @@ -14,7 +14,6 @@ ImportBackendStorage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifybackend/snapshot/api_op_ListBackendJobs.go.snap b/service/amplifybackend/snapshot/api_op_ListBackendJobs.go.snap index 5bb5ee6cfe5..706e281dc17 100644 --- a/service/amplifybackend/snapshot/api_op_ListBackendJobs.go.snap +++ b/service/amplifybackend/snapshot/api_op_ListBackendJobs.go.snap @@ -14,7 +14,6 @@ ListBackendJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifybackend/snapshot/api_op_ListS3Buckets.go.snap b/service/amplifybackend/snapshot/api_op_ListS3Buckets.go.snap index 7271e5cf704..c0d4cbc7b44 100644 --- a/service/amplifybackend/snapshot/api_op_ListS3Buckets.go.snap +++ b/service/amplifybackend/snapshot/api_op_ListS3Buckets.go.snap @@ -13,7 +13,6 @@ ListS3Buckets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifybackend/snapshot/api_op_RemoveAllBackends.go.snap b/service/amplifybackend/snapshot/api_op_RemoveAllBackends.go.snap index 9964cbcb25a..d9f8f71708e 100644 --- a/service/amplifybackend/snapshot/api_op_RemoveAllBackends.go.snap +++ b/service/amplifybackend/snapshot/api_op_RemoveAllBackends.go.snap @@ -14,7 +14,6 @@ RemoveAllBackends Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifybackend/snapshot/api_op_RemoveBackendConfig.go.snap b/service/amplifybackend/snapshot/api_op_RemoveBackendConfig.go.snap index e7e6ed6169d..91aa581374b 100644 --- a/service/amplifybackend/snapshot/api_op_RemoveBackendConfig.go.snap +++ b/service/amplifybackend/snapshot/api_op_RemoveBackendConfig.go.snap @@ -14,7 +14,6 @@ RemoveBackendConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifybackend/snapshot/api_op_UpdateBackendAPI.go.snap b/service/amplifybackend/snapshot/api_op_UpdateBackendAPI.go.snap index 89b2270651d..29944e33c84 100644 --- a/service/amplifybackend/snapshot/api_op_UpdateBackendAPI.go.snap +++ b/service/amplifybackend/snapshot/api_op_UpdateBackendAPI.go.snap @@ -14,7 +14,6 @@ UpdateBackendAPI Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifybackend/snapshot/api_op_UpdateBackendAuth.go.snap b/service/amplifybackend/snapshot/api_op_UpdateBackendAuth.go.snap index f08ddd1e9d8..7b5e5fe3c64 100644 --- a/service/amplifybackend/snapshot/api_op_UpdateBackendAuth.go.snap +++ b/service/amplifybackend/snapshot/api_op_UpdateBackendAuth.go.snap @@ -14,7 +14,6 @@ UpdateBackendAuth Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifybackend/snapshot/api_op_UpdateBackendConfig.go.snap b/service/amplifybackend/snapshot/api_op_UpdateBackendConfig.go.snap index 511d9fa8bb7..e0577dc3588 100644 --- a/service/amplifybackend/snapshot/api_op_UpdateBackendConfig.go.snap +++ b/service/amplifybackend/snapshot/api_op_UpdateBackendConfig.go.snap @@ -14,7 +14,6 @@ UpdateBackendConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifybackend/snapshot/api_op_UpdateBackendJob.go.snap b/service/amplifybackend/snapshot/api_op_UpdateBackendJob.go.snap index 128fc26188f..f66cb18afde 100644 --- a/service/amplifybackend/snapshot/api_op_UpdateBackendJob.go.snap +++ b/service/amplifybackend/snapshot/api_op_UpdateBackendJob.go.snap @@ -14,7 +14,6 @@ UpdateBackendJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifybackend/snapshot/api_op_UpdateBackendStorage.go.snap b/service/amplifybackend/snapshot/api_op_UpdateBackendStorage.go.snap index 5e771c58536..bc97be8eac2 100644 --- a/service/amplifybackend/snapshot/api_op_UpdateBackendStorage.go.snap +++ b/service/amplifybackend/snapshot/api_op_UpdateBackendStorage.go.snap @@ -14,7 +14,6 @@ UpdateBackendStorage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifyuibuilder/api_client.go b/service/amplifyuibuilder/api_client.go index b25d7dea5d7..ffd1051c705 100644 --- a/service/amplifyuibuilder/api_client.go +++ b/service/amplifyuibuilder/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/amplifyuibuilder/api_op_CreateComponent.go b/service/amplifyuibuilder/api_op_CreateComponent.go index b5c92a19b88..cf30ca49026 100644 --- a/service/amplifyuibuilder/api_op_CreateComponent.go +++ b/service/amplifyuibuilder/api_op_CreateComponent.go @@ -125,9 +125,6 @@ func (c *Client) addOperationCreateComponentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateComponentMiddleware(stack, options); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_CreateForm.go b/service/amplifyuibuilder/api_op_CreateForm.go index d2d7b8ee225..1c902930338 100644 --- a/service/amplifyuibuilder/api_op_CreateForm.go +++ b/service/amplifyuibuilder/api_op_CreateForm.go @@ -125,9 +125,6 @@ func (c *Client) addOperationCreateFormMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateFormMiddleware(stack, options); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_CreateTheme.go b/service/amplifyuibuilder/api_op_CreateTheme.go index 3c0a77e89b9..8dbc05818c7 100644 --- a/service/amplifyuibuilder/api_op_CreateTheme.go +++ b/service/amplifyuibuilder/api_op_CreateTheme.go @@ -125,9 +125,6 @@ func (c *Client) addOperationCreateThemeMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateThemeMiddleware(stack, options); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_DeleteComponent.go b/service/amplifyuibuilder/api_op_DeleteComponent.go index 50d03c157c1..41f116da984 100644 --- a/service/amplifyuibuilder/api_op_DeleteComponent.go +++ b/service/amplifyuibuilder/api_op_DeleteComponent.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteComponentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteComponentValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_DeleteForm.go b/service/amplifyuibuilder/api_op_DeleteForm.go index f628ba07b10..662513d7cd7 100644 --- a/service/amplifyuibuilder/api_op_DeleteForm.go +++ b/service/amplifyuibuilder/api_op_DeleteForm.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteFormMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFormValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_DeleteTheme.go b/service/amplifyuibuilder/api_op_DeleteTheme.go index 018365a9481..282a270e2be 100644 --- a/service/amplifyuibuilder/api_op_DeleteTheme.go +++ b/service/amplifyuibuilder/api_op_DeleteTheme.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteThemeMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteThemeValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_ExchangeCodeForToken.go b/service/amplifyuibuilder/api_op_ExchangeCodeForToken.go index 279eb091759..0b71b73d41e 100644 --- a/service/amplifyuibuilder/api_op_ExchangeCodeForToken.go +++ b/service/amplifyuibuilder/api_op_ExchangeCodeForToken.go @@ -132,9 +132,6 @@ func (c *Client) addOperationExchangeCodeForTokenMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExchangeCodeForTokenValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_ExportComponents.go b/service/amplifyuibuilder/api_op_ExportComponents.go index b617b46d96f..ee5d1f73feb 100644 --- a/service/amplifyuibuilder/api_op_ExportComponents.go +++ b/service/amplifyuibuilder/api_op_ExportComponents.go @@ -126,9 +126,6 @@ func (c *Client) addOperationExportComponentsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExportComponentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_ExportForms.go b/service/amplifyuibuilder/api_op_ExportForms.go index 7a30da8b8f7..45de9770899 100644 --- a/service/amplifyuibuilder/api_op_ExportForms.go +++ b/service/amplifyuibuilder/api_op_ExportForms.go @@ -126,9 +126,6 @@ func (c *Client) addOperationExportFormsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExportFormsValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_ExportThemes.go b/service/amplifyuibuilder/api_op_ExportThemes.go index 018e5e69faa..1563d6b3ca8 100644 --- a/service/amplifyuibuilder/api_op_ExportThemes.go +++ b/service/amplifyuibuilder/api_op_ExportThemes.go @@ -126,9 +126,6 @@ func (c *Client) addOperationExportThemesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExportThemesValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_GetCodegenJob.go b/service/amplifyuibuilder/api_op_GetCodegenJob.go index 03fc4d96223..d632b8cebad 100644 --- a/service/amplifyuibuilder/api_op_GetCodegenJob.go +++ b/service/amplifyuibuilder/api_op_GetCodegenJob.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetCodegenJobMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCodegenJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_GetComponent.go b/service/amplifyuibuilder/api_op_GetComponent.go index 1246360e705..f98516c79aa 100644 --- a/service/amplifyuibuilder/api_op_GetComponent.go +++ b/service/amplifyuibuilder/api_op_GetComponent.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetComponentMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetComponentValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_GetForm.go b/service/amplifyuibuilder/api_op_GetForm.go index f47511ac65d..c573e7b7170 100644 --- a/service/amplifyuibuilder/api_op_GetForm.go +++ b/service/amplifyuibuilder/api_op_GetForm.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetFormMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFormValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_GetMetadata.go b/service/amplifyuibuilder/api_op_GetMetadata.go index f5ec41474f6..a85e4fc5349 100644 --- a/service/amplifyuibuilder/api_op_GetMetadata.go +++ b/service/amplifyuibuilder/api_op_GetMetadata.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetMetadataMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_GetTheme.go b/service/amplifyuibuilder/api_op_GetTheme.go index ad0a7e3b011..08fb0989513 100644 --- a/service/amplifyuibuilder/api_op_GetTheme.go +++ b/service/amplifyuibuilder/api_op_GetTheme.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetThemeMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetThemeValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_ListCodegenJobs.go b/service/amplifyuibuilder/api_op_ListCodegenJobs.go index 888d298cbec..8722d58da4c 100644 --- a/service/amplifyuibuilder/api_op_ListCodegenJobs.go +++ b/service/amplifyuibuilder/api_op_ListCodegenJobs.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListCodegenJobsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCodegenJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_ListComponents.go b/service/amplifyuibuilder/api_op_ListComponents.go index 62f4bdba071..a30b44f5423 100644 --- a/service/amplifyuibuilder/api_op_ListComponents.go +++ b/service/amplifyuibuilder/api_op_ListComponents.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListComponentsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListComponentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_ListForms.go b/service/amplifyuibuilder/api_op_ListForms.go index 5b59d87a9d3..1504f261076 100644 --- a/service/amplifyuibuilder/api_op_ListForms.go +++ b/service/amplifyuibuilder/api_op_ListForms.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListFormsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFormsValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_ListTagsForResource.go b/service/amplifyuibuilder/api_op_ListTagsForResource.go index 6afd1f1341d..091b2c2d072 100644 --- a/service/amplifyuibuilder/api_op_ListTagsForResource.go +++ b/service/amplifyuibuilder/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_ListThemes.go b/service/amplifyuibuilder/api_op_ListThemes.go index 38835d30b5f..c2d84fc8b1b 100644 --- a/service/amplifyuibuilder/api_op_ListThemes.go +++ b/service/amplifyuibuilder/api_op_ListThemes.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListThemesMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListThemesValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_PutMetadataFlag.go b/service/amplifyuibuilder/api_op_PutMetadataFlag.go index a953b22877e..7b473ff9f48 100644 --- a/service/amplifyuibuilder/api_op_PutMetadataFlag.go +++ b/service/amplifyuibuilder/api_op_PutMetadataFlag.go @@ -123,9 +123,6 @@ func (c *Client) addOperationPutMetadataFlagMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutMetadataFlagValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_RefreshToken.go b/service/amplifyuibuilder/api_op_RefreshToken.go index bcc964bdc20..be6392f9c57 100644 --- a/service/amplifyuibuilder/api_op_RefreshToken.go +++ b/service/amplifyuibuilder/api_op_RefreshToken.go @@ -127,9 +127,6 @@ func (c *Client) addOperationRefreshTokenMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRefreshTokenValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_StartCodegenJob.go b/service/amplifyuibuilder/api_op_StartCodegenJob.go index 4357fdf6ee7..2d2181fbe88 100644 --- a/service/amplifyuibuilder/api_op_StartCodegenJob.go +++ b/service/amplifyuibuilder/api_op_StartCodegenJob.go @@ -128,9 +128,6 @@ func (c *Client) addOperationStartCodegenJobMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartCodegenJobMiddleware(stack, options); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_TagResource.go b/service/amplifyuibuilder/api_op_TagResource.go index d876f197730..f63f1ce9d93 100644 --- a/service/amplifyuibuilder/api_op_TagResource.go +++ b/service/amplifyuibuilder/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_UntagResource.go b/service/amplifyuibuilder/api_op_UntagResource.go index 526c7104169..5d2416ee878 100644 --- a/service/amplifyuibuilder/api_op_UntagResource.go +++ b/service/amplifyuibuilder/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_UpdateComponent.go b/service/amplifyuibuilder/api_op_UpdateComponent.go index 05307e6e167..07507711dc2 100644 --- a/service/amplifyuibuilder/api_op_UpdateComponent.go +++ b/service/amplifyuibuilder/api_op_UpdateComponent.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateComponentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateComponentMiddleware(stack, options); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_UpdateForm.go b/service/amplifyuibuilder/api_op_UpdateForm.go index 61e374837e2..44e9f6ebf4f 100644 --- a/service/amplifyuibuilder/api_op_UpdateForm.go +++ b/service/amplifyuibuilder/api_op_UpdateForm.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateFormMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateFormMiddleware(stack, options); err != nil { return err } diff --git a/service/amplifyuibuilder/api_op_UpdateTheme.go b/service/amplifyuibuilder/api_op_UpdateTheme.go index cfdac542617..efd0eabe245 100644 --- a/service/amplifyuibuilder/api_op_UpdateTheme.go +++ b/service/amplifyuibuilder/api_op_UpdateTheme.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateThemeMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateThemeMiddleware(stack, options); err != nil { return err } diff --git a/service/amplifyuibuilder/snapshot/api_op_CreateComponent.go.snap b/service/amplifyuibuilder/snapshot/api_op_CreateComponent.go.snap index 28a16c4f51c..12b5fb80720 100644 --- a/service/amplifyuibuilder/snapshot/api_op_CreateComponent.go.snap +++ b/service/amplifyuibuilder/snapshot/api_op_CreateComponent.go.snap @@ -15,7 +15,6 @@ CreateComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifyuibuilder/snapshot/api_op_CreateForm.go.snap b/service/amplifyuibuilder/snapshot/api_op_CreateForm.go.snap index 94d41f9b10a..15058f1a232 100644 --- a/service/amplifyuibuilder/snapshot/api_op_CreateForm.go.snap +++ b/service/amplifyuibuilder/snapshot/api_op_CreateForm.go.snap @@ -15,7 +15,6 @@ CreateForm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifyuibuilder/snapshot/api_op_CreateTheme.go.snap b/service/amplifyuibuilder/snapshot/api_op_CreateTheme.go.snap index dba302ce1f4..76dcd994d45 100644 --- a/service/amplifyuibuilder/snapshot/api_op_CreateTheme.go.snap +++ b/service/amplifyuibuilder/snapshot/api_op_CreateTheme.go.snap @@ -15,7 +15,6 @@ CreateTheme Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifyuibuilder/snapshot/api_op_DeleteComponent.go.snap b/service/amplifyuibuilder/snapshot/api_op_DeleteComponent.go.snap index 41afbb31f32..8511e11596a 100644 --- a/service/amplifyuibuilder/snapshot/api_op_DeleteComponent.go.snap +++ b/service/amplifyuibuilder/snapshot/api_op_DeleteComponent.go.snap @@ -14,7 +14,6 @@ DeleteComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifyuibuilder/snapshot/api_op_DeleteForm.go.snap b/service/amplifyuibuilder/snapshot/api_op_DeleteForm.go.snap index ab938ac681d..09c96830904 100644 --- a/service/amplifyuibuilder/snapshot/api_op_DeleteForm.go.snap +++ b/service/amplifyuibuilder/snapshot/api_op_DeleteForm.go.snap @@ -14,7 +14,6 @@ DeleteForm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifyuibuilder/snapshot/api_op_DeleteTheme.go.snap b/service/amplifyuibuilder/snapshot/api_op_DeleteTheme.go.snap index 759264392f7..11de3df4398 100644 --- a/service/amplifyuibuilder/snapshot/api_op_DeleteTheme.go.snap +++ b/service/amplifyuibuilder/snapshot/api_op_DeleteTheme.go.snap @@ -14,7 +14,6 @@ DeleteTheme Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifyuibuilder/snapshot/api_op_ExchangeCodeForToken.go.snap b/service/amplifyuibuilder/snapshot/api_op_ExchangeCodeForToken.go.snap index fbb264d9df1..0c9f06f3de8 100644 --- a/service/amplifyuibuilder/snapshot/api_op_ExchangeCodeForToken.go.snap +++ b/service/amplifyuibuilder/snapshot/api_op_ExchangeCodeForToken.go.snap @@ -14,7 +14,6 @@ ExchangeCodeForToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifyuibuilder/snapshot/api_op_ExportComponents.go.snap b/service/amplifyuibuilder/snapshot/api_op_ExportComponents.go.snap index 38edc835b05..8ca343d1ca4 100644 --- a/service/amplifyuibuilder/snapshot/api_op_ExportComponents.go.snap +++ b/service/amplifyuibuilder/snapshot/api_op_ExportComponents.go.snap @@ -14,7 +14,6 @@ ExportComponents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifyuibuilder/snapshot/api_op_ExportForms.go.snap b/service/amplifyuibuilder/snapshot/api_op_ExportForms.go.snap index 13c8d79e49c..7ee8c93e494 100644 --- a/service/amplifyuibuilder/snapshot/api_op_ExportForms.go.snap +++ b/service/amplifyuibuilder/snapshot/api_op_ExportForms.go.snap @@ -14,7 +14,6 @@ ExportForms Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifyuibuilder/snapshot/api_op_ExportThemes.go.snap b/service/amplifyuibuilder/snapshot/api_op_ExportThemes.go.snap index 9b6387dfb1b..89fe08e3855 100644 --- a/service/amplifyuibuilder/snapshot/api_op_ExportThemes.go.snap +++ b/service/amplifyuibuilder/snapshot/api_op_ExportThemes.go.snap @@ -14,7 +14,6 @@ ExportThemes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifyuibuilder/snapshot/api_op_GetCodegenJob.go.snap b/service/amplifyuibuilder/snapshot/api_op_GetCodegenJob.go.snap index 08a74fa2a44..4866a5ceab6 100644 --- a/service/amplifyuibuilder/snapshot/api_op_GetCodegenJob.go.snap +++ b/service/amplifyuibuilder/snapshot/api_op_GetCodegenJob.go.snap @@ -14,7 +14,6 @@ GetCodegenJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifyuibuilder/snapshot/api_op_GetComponent.go.snap b/service/amplifyuibuilder/snapshot/api_op_GetComponent.go.snap index 5768daf3ae8..680830a7f4d 100644 --- a/service/amplifyuibuilder/snapshot/api_op_GetComponent.go.snap +++ b/service/amplifyuibuilder/snapshot/api_op_GetComponent.go.snap @@ -14,7 +14,6 @@ GetComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifyuibuilder/snapshot/api_op_GetForm.go.snap b/service/amplifyuibuilder/snapshot/api_op_GetForm.go.snap index c9fa8460300..c939adbc012 100644 --- a/service/amplifyuibuilder/snapshot/api_op_GetForm.go.snap +++ b/service/amplifyuibuilder/snapshot/api_op_GetForm.go.snap @@ -14,7 +14,6 @@ GetForm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifyuibuilder/snapshot/api_op_GetMetadata.go.snap b/service/amplifyuibuilder/snapshot/api_op_GetMetadata.go.snap index 8f3e5c12d2e..8be990035ce 100644 --- a/service/amplifyuibuilder/snapshot/api_op_GetMetadata.go.snap +++ b/service/amplifyuibuilder/snapshot/api_op_GetMetadata.go.snap @@ -14,7 +14,6 @@ GetMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifyuibuilder/snapshot/api_op_GetTheme.go.snap b/service/amplifyuibuilder/snapshot/api_op_GetTheme.go.snap index 220024a93e9..847a9036170 100644 --- a/service/amplifyuibuilder/snapshot/api_op_GetTheme.go.snap +++ b/service/amplifyuibuilder/snapshot/api_op_GetTheme.go.snap @@ -14,7 +14,6 @@ GetTheme Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifyuibuilder/snapshot/api_op_ListCodegenJobs.go.snap b/service/amplifyuibuilder/snapshot/api_op_ListCodegenJobs.go.snap index c90d8bb1876..c3c6c8d6857 100644 --- a/service/amplifyuibuilder/snapshot/api_op_ListCodegenJobs.go.snap +++ b/service/amplifyuibuilder/snapshot/api_op_ListCodegenJobs.go.snap @@ -14,7 +14,6 @@ ListCodegenJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifyuibuilder/snapshot/api_op_ListComponents.go.snap b/service/amplifyuibuilder/snapshot/api_op_ListComponents.go.snap index 4ee988ccf3d..e21445d40cc 100644 --- a/service/amplifyuibuilder/snapshot/api_op_ListComponents.go.snap +++ b/service/amplifyuibuilder/snapshot/api_op_ListComponents.go.snap @@ -14,7 +14,6 @@ ListComponents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifyuibuilder/snapshot/api_op_ListForms.go.snap b/service/amplifyuibuilder/snapshot/api_op_ListForms.go.snap index c735f7cd8d3..bc7e1b3fda9 100644 --- a/service/amplifyuibuilder/snapshot/api_op_ListForms.go.snap +++ b/service/amplifyuibuilder/snapshot/api_op_ListForms.go.snap @@ -14,7 +14,6 @@ ListForms Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifyuibuilder/snapshot/api_op_ListTagsForResource.go.snap b/service/amplifyuibuilder/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/amplifyuibuilder/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/amplifyuibuilder/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifyuibuilder/snapshot/api_op_ListThemes.go.snap b/service/amplifyuibuilder/snapshot/api_op_ListThemes.go.snap index 9ce387ace9a..8fa590a6455 100644 --- a/service/amplifyuibuilder/snapshot/api_op_ListThemes.go.snap +++ b/service/amplifyuibuilder/snapshot/api_op_ListThemes.go.snap @@ -14,7 +14,6 @@ ListThemes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifyuibuilder/snapshot/api_op_PutMetadataFlag.go.snap b/service/amplifyuibuilder/snapshot/api_op_PutMetadataFlag.go.snap index 99404d50b18..c045cc013da 100644 --- a/service/amplifyuibuilder/snapshot/api_op_PutMetadataFlag.go.snap +++ b/service/amplifyuibuilder/snapshot/api_op_PutMetadataFlag.go.snap @@ -14,7 +14,6 @@ PutMetadataFlag Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifyuibuilder/snapshot/api_op_RefreshToken.go.snap b/service/amplifyuibuilder/snapshot/api_op_RefreshToken.go.snap index 0001755c129..5987acab542 100644 --- a/service/amplifyuibuilder/snapshot/api_op_RefreshToken.go.snap +++ b/service/amplifyuibuilder/snapshot/api_op_RefreshToken.go.snap @@ -14,7 +14,6 @@ RefreshToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifyuibuilder/snapshot/api_op_StartCodegenJob.go.snap b/service/amplifyuibuilder/snapshot/api_op_StartCodegenJob.go.snap index 0ed3df70790..b27d97fd7f4 100644 --- a/service/amplifyuibuilder/snapshot/api_op_StartCodegenJob.go.snap +++ b/service/amplifyuibuilder/snapshot/api_op_StartCodegenJob.go.snap @@ -15,7 +15,6 @@ StartCodegenJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifyuibuilder/snapshot/api_op_TagResource.go.snap b/service/amplifyuibuilder/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/amplifyuibuilder/snapshot/api_op_TagResource.go.snap +++ b/service/amplifyuibuilder/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifyuibuilder/snapshot/api_op_UntagResource.go.snap b/service/amplifyuibuilder/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/amplifyuibuilder/snapshot/api_op_UntagResource.go.snap +++ b/service/amplifyuibuilder/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifyuibuilder/snapshot/api_op_UpdateComponent.go.snap b/service/amplifyuibuilder/snapshot/api_op_UpdateComponent.go.snap index 6e7a97ae4c8..3f72526e908 100644 --- a/service/amplifyuibuilder/snapshot/api_op_UpdateComponent.go.snap +++ b/service/amplifyuibuilder/snapshot/api_op_UpdateComponent.go.snap @@ -15,7 +15,6 @@ UpdateComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifyuibuilder/snapshot/api_op_UpdateForm.go.snap b/service/amplifyuibuilder/snapshot/api_op_UpdateForm.go.snap index 6ca14642325..94bf54a47f0 100644 --- a/service/amplifyuibuilder/snapshot/api_op_UpdateForm.go.snap +++ b/service/amplifyuibuilder/snapshot/api_op_UpdateForm.go.snap @@ -15,7 +15,6 @@ UpdateForm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/amplifyuibuilder/snapshot/api_op_UpdateTheme.go.snap b/service/amplifyuibuilder/snapshot/api_op_UpdateTheme.go.snap index 9053c57ccd2..5a1ab67f697 100644 --- a/service/amplifyuibuilder/snapshot/api_op_UpdateTheme.go.snap +++ b/service/amplifyuibuilder/snapshot/api_op_UpdateTheme.go.snap @@ -15,7 +15,6 @@ UpdateTheme Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/api_client.go b/service/apigateway/api_client.go index ee2f2cd9999..543320c374a 100644 --- a/service/apigateway/api_client.go +++ b/service/apigateway/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/apigateway/api_op_CreateApiKey.go b/service/apigateway/api_op_CreateApiKey.go index 7d6b61950f7..12b9553e4c9 100644 --- a/service/apigateway/api_op_CreateApiKey.go +++ b/service/apigateway/api_op_CreateApiKey.go @@ -169,9 +169,6 @@ func (c *Client) addOperationCreateApiKeyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApiKey(options.Region), middleware.Before); err != nil { return err } diff --git a/service/apigateway/api_op_CreateAuthorizer.go b/service/apigateway/api_op_CreateAuthorizer.go index 7db4908ee22..7f3897db4b0 100644 --- a/service/apigateway/api_op_CreateAuthorizer.go +++ b/service/apigateway/api_op_CreateAuthorizer.go @@ -263,9 +263,6 @@ func (c *Client) addOperationCreateAuthorizerMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAuthorizerValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_CreateBasePathMapping.go b/service/apigateway/api_op_CreateBasePathMapping.go index 6ebc085c789..3f7a5ff5c48 100644 --- a/service/apigateway/api_op_CreateBasePathMapping.go +++ b/service/apigateway/api_op_CreateBasePathMapping.go @@ -141,9 +141,6 @@ func (c *Client) addOperationCreateBasePathMappingMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBasePathMappingValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_CreateDeployment.go b/service/apigateway/api_op_CreateDeployment.go index 90d70ae6a39..f55777f514c 100644 --- a/service/apigateway/api_op_CreateDeployment.go +++ b/service/apigateway/api_op_CreateDeployment.go @@ -158,9 +158,6 @@ func (c *Client) addOperationCreateDeploymentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_CreateDocumentationPart.go b/service/apigateway/api_op_CreateDocumentationPart.go index 2f5719eac0e..8c14d72e0f8 100644 --- a/service/apigateway/api_op_CreateDocumentationPart.go +++ b/service/apigateway/api_op_CreateDocumentationPart.go @@ -142,9 +142,6 @@ func (c *Client) addOperationCreateDocumentationPartMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDocumentationPartValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_CreateDocumentationVersion.go b/service/apigateway/api_op_CreateDocumentationVersion.go index 98450580b18..b24fbb45f2f 100644 --- a/service/apigateway/api_op_CreateDocumentationVersion.go +++ b/service/apigateway/api_op_CreateDocumentationVersion.go @@ -131,9 +131,6 @@ func (c *Client) addOperationCreateDocumentationVersionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDocumentationVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_CreateDomainName.go b/service/apigateway/api_op_CreateDomainName.go index fe86a96472b..ac0e606f81a 100644 --- a/service/apigateway/api_op_CreateDomainName.go +++ b/service/apigateway/api_op_CreateDomainName.go @@ -275,9 +275,6 @@ func (c *Client) addOperationCreateDomainNameMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDomainNameValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_CreateDomainNameAccessAssociation.go b/service/apigateway/api_op_CreateDomainNameAccessAssociation.go index f889f9c720e..338b62e799d 100644 --- a/service/apigateway/api_op_CreateDomainNameAccessAssociation.go +++ b/service/apigateway/api_op_CreateDomainNameAccessAssociation.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCreateDomainNameAccessAssociationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDomainNameAccessAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_CreateModel.go b/service/apigateway/api_op_CreateModel.go index 5fc1c0cf069..d901be92e59 100644 --- a/service/apigateway/api_op_CreateModel.go +++ b/service/apigateway/api_op_CreateModel.go @@ -146,9 +146,6 @@ func (c *Client) addOperationCreateModelMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_CreateRequestValidator.go b/service/apigateway/api_op_CreateRequestValidator.go index faa406e3541..b25ae3bf518 100644 --- a/service/apigateway/api_op_CreateRequestValidator.go +++ b/service/apigateway/api_op_CreateRequestValidator.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateRequestValidatorMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRequestValidatorValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_CreateResource.go b/service/apigateway/api_op_CreateResource.go index c7a2aded49d..da471f970b7 100644 --- a/service/apigateway/api_op_CreateResource.go +++ b/service/apigateway/api_op_CreateResource.go @@ -136,9 +136,6 @@ func (c *Client) addOperationCreateResourceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_CreateRestApi.go b/service/apigateway/api_op_CreateRestApi.go index 4dc52606f5a..f81086fb450 100644 --- a/service/apigateway/api_op_CreateRestApi.go +++ b/service/apigateway/api_op_CreateRestApi.go @@ -216,9 +216,6 @@ func (c *Client) addOperationCreateRestApiMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRestApiValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_CreateStage.go b/service/apigateway/api_op_CreateStage.go index 3f17d7e68f3..33cf1864b93 100644 --- a/service/apigateway/api_op_CreateStage.go +++ b/service/apigateway/api_op_CreateStage.go @@ -219,9 +219,6 @@ func (c *Client) addOperationCreateStageMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateStageValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_CreateUsagePlan.go b/service/apigateway/api_op_CreateUsagePlan.go index 88b348aef1d..2329f1de4c4 100644 --- a/service/apigateway/api_op_CreateUsagePlan.go +++ b/service/apigateway/api_op_CreateUsagePlan.go @@ -163,9 +163,6 @@ func (c *Client) addOperationCreateUsagePlanMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateUsagePlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_CreateUsagePlanKey.go b/service/apigateway/api_op_CreateUsagePlanKey.go index 1342198b365..7f8c4ac9603 100644 --- a/service/apigateway/api_op_CreateUsagePlanKey.go +++ b/service/apigateway/api_op_CreateUsagePlanKey.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCreateUsagePlanKeyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateUsagePlanKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_CreateVpcLink.go b/service/apigateway/api_op_CreateVpcLink.go index 47e2740953a..17ad443ac38 100644 --- a/service/apigateway/api_op_CreateVpcLink.go +++ b/service/apigateway/api_op_CreateVpcLink.go @@ -159,9 +159,6 @@ func (c *Client) addOperationCreateVpcLinkMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVpcLinkValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteApiKey.go b/service/apigateway/api_op_DeleteApiKey.go index e9d85013603..a156a1bd477 100644 --- a/service/apigateway/api_op_DeleteApiKey.go +++ b/service/apigateway/api_op_DeleteApiKey.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteApiKeyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApiKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteAuthorizer.go b/service/apigateway/api_op_DeleteAuthorizer.go index c64c749fbfb..42baa987beb 100644 --- a/service/apigateway/api_op_DeleteAuthorizer.go +++ b/service/apigateway/api_op_DeleteAuthorizer.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteAuthorizerMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAuthorizerValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteBasePathMapping.go b/service/apigateway/api_op_DeleteBasePathMapping.go index da7864138de..52ae80bac51 100644 --- a/service/apigateway/api_op_DeleteBasePathMapping.go +++ b/service/apigateway/api_op_DeleteBasePathMapping.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteBasePathMappingMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBasePathMappingValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteClientCertificate.go b/service/apigateway/api_op_DeleteClientCertificate.go index aceb8b63e9f..fb51a982279 100644 --- a/service/apigateway/api_op_DeleteClientCertificate.go +++ b/service/apigateway/api_op_DeleteClientCertificate.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteClientCertificateMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteClientCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteDeployment.go b/service/apigateway/api_op_DeleteDeployment.go index 5c097803be2..63675202200 100644 --- a/service/apigateway/api_op_DeleteDeployment.go +++ b/service/apigateway/api_op_DeleteDeployment.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteDeploymentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteDocumentationPart.go b/service/apigateway/api_op_DeleteDocumentationPart.go index b1fb9fabedd..b5a5b6dbef9 100644 --- a/service/apigateway/api_op_DeleteDocumentationPart.go +++ b/service/apigateway/api_op_DeleteDocumentationPart.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteDocumentationPartMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDocumentationPartValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteDocumentationVersion.go b/service/apigateway/api_op_DeleteDocumentationVersion.go index 703775a20ab..1e1c62774b6 100644 --- a/service/apigateway/api_op_DeleteDocumentationVersion.go +++ b/service/apigateway/api_op_DeleteDocumentationVersion.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteDocumentationVersionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDocumentationVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteDomainName.go b/service/apigateway/api_op_DeleteDomainName.go index 99616d4c128..e0267b70ae7 100644 --- a/service/apigateway/api_op_DeleteDomainName.go +++ b/service/apigateway/api_op_DeleteDomainName.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteDomainNameMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDomainNameValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteDomainNameAccessAssociation.go b/service/apigateway/api_op_DeleteDomainNameAccessAssociation.go index 960d64ff672..a37f219697c 100644 --- a/service/apigateway/api_op_DeleteDomainNameAccessAssociation.go +++ b/service/apigateway/api_op_DeleteDomainNameAccessAssociation.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteDomainNameAccessAssociationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDomainNameAccessAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteGatewayResponse.go b/service/apigateway/api_op_DeleteGatewayResponse.go index 6464e859570..3f5a89865ef 100644 --- a/service/apigateway/api_op_DeleteGatewayResponse.go +++ b/service/apigateway/api_op_DeleteGatewayResponse.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteGatewayResponseMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGatewayResponseValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteIntegration.go b/service/apigateway/api_op_DeleteIntegration.go index 036b1042361..a26b8f930f7 100644 --- a/service/apigateway/api_op_DeleteIntegration.go +++ b/service/apigateway/api_op_DeleteIntegration.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteIntegrationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIntegrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteIntegrationResponse.go b/service/apigateway/api_op_DeleteIntegrationResponse.go index 1a5b3c986e3..2074d052a54 100644 --- a/service/apigateway/api_op_DeleteIntegrationResponse.go +++ b/service/apigateway/api_op_DeleteIntegrationResponse.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteIntegrationResponseMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIntegrationResponseValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteMethod.go b/service/apigateway/api_op_DeleteMethod.go index b0000d5c53c..9eff696f8ad 100644 --- a/service/apigateway/api_op_DeleteMethod.go +++ b/service/apigateway/api_op_DeleteMethod.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteMethodMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMethodValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteMethodResponse.go b/service/apigateway/api_op_DeleteMethodResponse.go index b6fb6b6f3e8..182c1a2bf18 100644 --- a/service/apigateway/api_op_DeleteMethodResponse.go +++ b/service/apigateway/api_op_DeleteMethodResponse.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteMethodResponseMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMethodResponseValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteModel.go b/service/apigateway/api_op_DeleteModel.go index c1104646768..05f93795d0c 100644 --- a/service/apigateway/api_op_DeleteModel.go +++ b/service/apigateway/api_op_DeleteModel.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteModelMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteRequestValidator.go b/service/apigateway/api_op_DeleteRequestValidator.go index 7fb3f15d26f..52292c984e0 100644 --- a/service/apigateway/api_op_DeleteRequestValidator.go +++ b/service/apigateway/api_op_DeleteRequestValidator.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteRequestValidatorMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRequestValidatorValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteResource.go b/service/apigateway/api_op_DeleteResource.go index 6fee918aca1..fff94bf77f2 100644 --- a/service/apigateway/api_op_DeleteResource.go +++ b/service/apigateway/api_op_DeleteResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteResourceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteRestApi.go b/service/apigateway/api_op_DeleteRestApi.go index 0a3b8730d6c..85e412d9296 100644 --- a/service/apigateway/api_op_DeleteRestApi.go +++ b/service/apigateway/api_op_DeleteRestApi.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteRestApiMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRestApiValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteStage.go b/service/apigateway/api_op_DeleteStage.go index 66ae3a12428..214877646e3 100644 --- a/service/apigateway/api_op_DeleteStage.go +++ b/service/apigateway/api_op_DeleteStage.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteStageMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteStageValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteUsagePlan.go b/service/apigateway/api_op_DeleteUsagePlan.go index 4094bd0c48c..19c9690d40b 100644 --- a/service/apigateway/api_op_DeleteUsagePlan.go +++ b/service/apigateway/api_op_DeleteUsagePlan.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteUsagePlanMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUsagePlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteUsagePlanKey.go b/service/apigateway/api_op_DeleteUsagePlanKey.go index 3ce51ce6c8c..3313f70c471 100644 --- a/service/apigateway/api_op_DeleteUsagePlanKey.go +++ b/service/apigateway/api_op_DeleteUsagePlanKey.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteUsagePlanKeyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUsagePlanKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_DeleteVpcLink.go b/service/apigateway/api_op_DeleteVpcLink.go index 7d6dbb957a8..cbac1fdfab6 100644 --- a/service/apigateway/api_op_DeleteVpcLink.go +++ b/service/apigateway/api_op_DeleteVpcLink.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteVpcLinkMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVpcLinkValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_FlushStageAuthorizersCache.go b/service/apigateway/api_op_FlushStageAuthorizersCache.go index f014631d6b0..cd553f5f4dd 100644 --- a/service/apigateway/api_op_FlushStageAuthorizersCache.go +++ b/service/apigateway/api_op_FlushStageAuthorizersCache.go @@ -113,9 +113,6 @@ func (c *Client) addOperationFlushStageAuthorizersCacheMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpFlushStageAuthorizersCacheValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_FlushStageCache.go b/service/apigateway/api_op_FlushStageCache.go index c42ce958ed0..dd655669891 100644 --- a/service/apigateway/api_op_FlushStageCache.go +++ b/service/apigateway/api_op_FlushStageCache.go @@ -113,9 +113,6 @@ func (c *Client) addOperationFlushStageCacheMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpFlushStageCacheValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GenerateClientCertificate.go b/service/apigateway/api_op_GenerateClientCertificate.go index 7e931c1957c..4e67839dafa 100644 --- a/service/apigateway/api_op_GenerateClientCertificate.go +++ b/service/apigateway/api_op_GenerateClientCertificate.go @@ -134,9 +134,6 @@ func (c *Client) addOperationGenerateClientCertificateMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGenerateClientCertificate(options.Region), middleware.Before); err != nil { return err } diff --git a/service/apigateway/api_op_GetAccount.go b/service/apigateway/api_op_GetAccount.go index 7e428c4187d..a6aaba76507 100644 --- a/service/apigateway/api_op_GetAccount.go +++ b/service/apigateway/api_op_GetAccount.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetAccountMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/apigateway/api_op_GetApiKey.go b/service/apigateway/api_op_GetApiKey.go index 304c61bfedd..e02d47b0c3a 100644 --- a/service/apigateway/api_op_GetApiKey.go +++ b/service/apigateway/api_op_GetApiKey.go @@ -149,9 +149,6 @@ func (c *Client) addOperationGetApiKeyMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApiKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetApiKeys.go b/service/apigateway/api_op_GetApiKeys.go index db2fe2c7776..97dd64821d5 100644 --- a/service/apigateway/api_op_GetApiKeys.go +++ b/service/apigateway/api_op_GetApiKeys.go @@ -134,9 +134,6 @@ func (c *Client) addOperationGetApiKeysMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApiKeys(options.Region), middleware.Before); err != nil { return err } diff --git a/service/apigateway/api_op_GetAuthorizer.go b/service/apigateway/api_op_GetAuthorizer.go index e76aae00699..4c079bc98ac 100644 --- a/service/apigateway/api_op_GetAuthorizer.go +++ b/service/apigateway/api_op_GetAuthorizer.go @@ -192,9 +192,6 @@ func (c *Client) addOperationGetAuthorizerMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAuthorizerValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetAuthorizers.go b/service/apigateway/api_op_GetAuthorizers.go index 73839bafb57..3f06d518459 100644 --- a/service/apigateway/api_op_GetAuthorizers.go +++ b/service/apigateway/api_op_GetAuthorizers.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetAuthorizersMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAuthorizersValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetBasePathMapping.go b/service/apigateway/api_op_GetBasePathMapping.go index be3d1401a3a..b085bb99dca 100644 --- a/service/apigateway/api_op_GetBasePathMapping.go +++ b/service/apigateway/api_op_GetBasePathMapping.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetBasePathMappingMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBasePathMappingValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetBasePathMappings.go b/service/apigateway/api_op_GetBasePathMappings.go index f2d99ddf4d8..bf58096c005 100644 --- a/service/apigateway/api_op_GetBasePathMappings.go +++ b/service/apigateway/api_op_GetBasePathMappings.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetBasePathMappingsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBasePathMappingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetClientCertificate.go b/service/apigateway/api_op_GetClientCertificate.go index b8d080015c1..87a9f75ef58 100644 --- a/service/apigateway/api_op_GetClientCertificate.go +++ b/service/apigateway/api_op_GetClientCertificate.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetClientCertificateMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetClientCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetClientCertificates.go b/service/apigateway/api_op_GetClientCertificates.go index 75f0be42fbf..1029e7ed77f 100644 --- a/service/apigateway/api_op_GetClientCertificates.go +++ b/service/apigateway/api_op_GetClientCertificates.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetClientCertificatesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetClientCertificates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/apigateway/api_op_GetDeployment.go b/service/apigateway/api_op_GetDeployment.go index a9a5b2ef131..5380b1435bc 100644 --- a/service/apigateway/api_op_GetDeployment.go +++ b/service/apigateway/api_op_GetDeployment.go @@ -143,9 +143,6 @@ func (c *Client) addOperationGetDeploymentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetDeployments.go b/service/apigateway/api_op_GetDeployments.go index b7793c1a611..a6e9c22f59c 100644 --- a/service/apigateway/api_op_GetDeployments.go +++ b/service/apigateway/api_op_GetDeployments.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetDeploymentsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeploymentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetDocumentationPart.go b/service/apigateway/api_op_GetDocumentationPart.go index d26e3d6460a..62618f8b39c 100644 --- a/service/apigateway/api_op_GetDocumentationPart.go +++ b/service/apigateway/api_op_GetDocumentationPart.go @@ -135,9 +135,6 @@ func (c *Client) addOperationGetDocumentationPartMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDocumentationPartValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetDocumentationParts.go b/service/apigateway/api_op_GetDocumentationParts.go index 08670e4f9e5..10be07c021c 100644 --- a/service/apigateway/api_op_GetDocumentationParts.go +++ b/service/apigateway/api_op_GetDocumentationParts.go @@ -139,9 +139,6 @@ func (c *Client) addOperationGetDocumentationPartsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDocumentationPartsValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetDocumentationVersion.go b/service/apigateway/api_op_GetDocumentationVersion.go index f5eb8a83715..aaf8f82f692 100644 --- a/service/apigateway/api_op_GetDocumentationVersion.go +++ b/service/apigateway/api_op_GetDocumentationVersion.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetDocumentationVersionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDocumentationVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetDocumentationVersions.go b/service/apigateway/api_op_GetDocumentationVersions.go index 4f4f5460025..32361986f69 100644 --- a/service/apigateway/api_op_GetDocumentationVersions.go +++ b/service/apigateway/api_op_GetDocumentationVersions.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetDocumentationVersionsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDocumentationVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetDomainName.go b/service/apigateway/api_op_GetDomainName.go index 8bf9c8cd03d..c37fc17f79c 100644 --- a/service/apigateway/api_op_GetDomainName.go +++ b/service/apigateway/api_op_GetDomainName.go @@ -216,9 +216,6 @@ func (c *Client) addOperationGetDomainNameMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDomainNameValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetDomainNameAccessAssociations.go b/service/apigateway/api_op_GetDomainNameAccessAssociations.go index d0b8dd05f52..ff822497d2e 100644 --- a/service/apigateway/api_op_GetDomainNameAccessAssociations.go +++ b/service/apigateway/api_op_GetDomainNameAccessAssociations.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetDomainNameAccessAssociationsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDomainNameAccessAssociations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/apigateway/api_op_GetDomainNames.go b/service/apigateway/api_op_GetDomainNames.go index f4e34bd7828..9543bb115fa 100644 --- a/service/apigateway/api_op_GetDomainNames.go +++ b/service/apigateway/api_op_GetDomainNames.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetDomainNamesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDomainNames(options.Region), middleware.Before); err != nil { return err } diff --git a/service/apigateway/api_op_GetExport.go b/service/apigateway/api_op_GetExport.go index 91019fd196c..46e0423eff7 100644 --- a/service/apigateway/api_op_GetExport.go +++ b/service/apigateway/api_op_GetExport.go @@ -145,9 +145,6 @@ func (c *Client) addOperationGetExportMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetExportValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetGatewayResponse.go b/service/apigateway/api_op_GetGatewayResponse.go index 1d330f133c7..750efa5f302 100644 --- a/service/apigateway/api_op_GetGatewayResponse.go +++ b/service/apigateway/api_op_GetGatewayResponse.go @@ -136,9 +136,6 @@ func (c *Client) addOperationGetGatewayResponseMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetGatewayResponseValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetGatewayResponses.go b/service/apigateway/api_op_GetGatewayResponses.go index 1aa9f9951d3..5683dda483b 100644 --- a/service/apigateway/api_op_GetGatewayResponses.go +++ b/service/apigateway/api_op_GetGatewayResponses.go @@ -135,9 +135,6 @@ func (c *Client) addOperationGetGatewayResponsesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetGatewayResponsesValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetIntegration.go b/service/apigateway/api_op_GetIntegration.go index 2cadb125087..71fd43f1f65 100644 --- a/service/apigateway/api_op_GetIntegration.go +++ b/service/apigateway/api_op_GetIntegration.go @@ -239,9 +239,6 @@ func (c *Client) addOperationGetIntegrationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIntegrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetIntegrationResponse.go b/service/apigateway/api_op_GetIntegrationResponse.go index 18f0f48f739..74f0667c385 100644 --- a/service/apigateway/api_op_GetIntegrationResponse.go +++ b/service/apigateway/api_op_GetIntegrationResponse.go @@ -167,9 +167,6 @@ func (c *Client) addOperationGetIntegrationResponseMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIntegrationResponseValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetMethod.go b/service/apigateway/api_op_GetMethod.go index d3efa655177..fcc0cdf13c6 100644 --- a/service/apigateway/api_op_GetMethod.go +++ b/service/apigateway/api_op_GetMethod.go @@ -188,9 +188,6 @@ func (c *Client) addOperationGetMethodMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMethodValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetMethodResponse.go b/service/apigateway/api_op_GetMethodResponse.go index 216fbf1f028..bbf8fae77e6 100644 --- a/service/apigateway/api_op_GetMethodResponse.go +++ b/service/apigateway/api_op_GetMethodResponse.go @@ -150,9 +150,6 @@ func (c *Client) addOperationGetMethodResponseMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMethodResponseValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetModel.go b/service/apigateway/api_op_GetModel.go index be93b38e737..c9d2f9b0086 100644 --- a/service/apigateway/api_op_GetModel.go +++ b/service/apigateway/api_op_GetModel.go @@ -139,9 +139,6 @@ func (c *Client) addOperationGetModelMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetModelTemplate.go b/service/apigateway/api_op_GetModelTemplate.go index 1244aed915f..fa52576cced 100644 --- a/service/apigateway/api_op_GetModelTemplate.go +++ b/service/apigateway/api_op_GetModelTemplate.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetModelTemplateMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetModelTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetModels.go b/service/apigateway/api_op_GetModels.go index d28edf09cca..a85f8f07974 100644 --- a/service/apigateway/api_op_GetModels.go +++ b/service/apigateway/api_op_GetModels.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetModelsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetModelsValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetRequestValidator.go b/service/apigateway/api_op_GetRequestValidator.go index f9b92ae0cbb..13fa069fd8c 100644 --- a/service/apigateway/api_op_GetRequestValidator.go +++ b/service/apigateway/api_op_GetRequestValidator.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGetRequestValidatorMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRequestValidatorValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetRequestValidators.go b/service/apigateway/api_op_GetRequestValidators.go index 778734ae980..585b23ae3b9 100644 --- a/service/apigateway/api_op_GetRequestValidators.go +++ b/service/apigateway/api_op_GetRequestValidators.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetRequestValidatorsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRequestValidatorsValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetResource.go b/service/apigateway/api_op_GetResource.go index f4aed1203b5..5173c32415d 100644 --- a/service/apigateway/api_op_GetResource.go +++ b/service/apigateway/api_op_GetResource.go @@ -139,9 +139,6 @@ func (c *Client) addOperationGetResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetResources.go b/service/apigateway/api_op_GetResources.go index de792fd1ac6..ffa22e86a54 100644 --- a/service/apigateway/api_op_GetResources.go +++ b/service/apigateway/api_op_GetResources.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetResourcesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetRestApi.go b/service/apigateway/api_op_GetRestApi.go index 341852bf62c..412a46a3d11 100644 --- a/service/apigateway/api_op_GetRestApi.go +++ b/service/apigateway/api_op_GetRestApi.go @@ -170,9 +170,6 @@ func (c *Client) addOperationGetRestApiMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRestApiValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetRestApis.go b/service/apigateway/api_op_GetRestApis.go index 06abcb157c1..cf6b39c21f9 100644 --- a/service/apigateway/api_op_GetRestApis.go +++ b/service/apigateway/api_op_GetRestApis.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetRestApisMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRestApis(options.Region), middleware.Before); err != nil { return err } diff --git a/service/apigateway/api_op_GetSdk.go b/service/apigateway/api_op_GetSdk.go index 3860eba7aec..d9a2e993724 100644 --- a/service/apigateway/api_op_GetSdk.go +++ b/service/apigateway/api_op_GetSdk.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGetSdkMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSdkValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetSdkType.go b/service/apigateway/api_op_GetSdkType.go index 544598e949f..961e0907b52 100644 --- a/service/apigateway/api_op_GetSdkType.go +++ b/service/apigateway/api_op_GetSdkType.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetSdkTypeMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSdkTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetSdkTypes.go b/service/apigateway/api_op_GetSdkTypes.go index 961a2d53037..22931efe2a5 100644 --- a/service/apigateway/api_op_GetSdkTypes.go +++ b/service/apigateway/api_op_GetSdkTypes.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetSdkTypesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSdkTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/apigateway/api_op_GetStage.go b/service/apigateway/api_op_GetStage.go index e3f23800b66..a05b589979f 100644 --- a/service/apigateway/api_op_GetStage.go +++ b/service/apigateway/api_op_GetStage.go @@ -181,9 +181,6 @@ func (c *Client) addOperationGetStageMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetStageValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetStages.go b/service/apigateway/api_op_GetStages.go index e62b8ff8e82..4d93b4d8db1 100644 --- a/service/apigateway/api_op_GetStages.go +++ b/service/apigateway/api_op_GetStages.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetStagesMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetStagesValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetTags.go b/service/apigateway/api_op_GetTags.go index 788e272e6c7..9d14932f20c 100644 --- a/service/apigateway/api_op_GetTags.go +++ b/service/apigateway/api_op_GetTags.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetTagsMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetUsage.go b/service/apigateway/api_op_GetUsage.go index 2e9389b89e9..9e1ba91b2f4 100644 --- a/service/apigateway/api_op_GetUsage.go +++ b/service/apigateway/api_op_GetUsage.go @@ -150,9 +150,6 @@ func (c *Client) addOperationGetUsageMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUsageValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetUsagePlan.go b/service/apigateway/api_op_GetUsagePlan.go index 62319469893..7845634bb66 100644 --- a/service/apigateway/api_op_GetUsagePlan.go +++ b/service/apigateway/api_op_GetUsagePlan.go @@ -143,9 +143,6 @@ func (c *Client) addOperationGetUsagePlanMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUsagePlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetUsagePlanKey.go b/service/apigateway/api_op_GetUsagePlanKey.go index 158a2a60d70..79101125888 100644 --- a/service/apigateway/api_op_GetUsagePlanKey.go +++ b/service/apigateway/api_op_GetUsagePlanKey.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGetUsagePlanKeyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUsagePlanKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetUsagePlanKeys.go b/service/apigateway/api_op_GetUsagePlanKeys.go index 63a70eb1f2b..18f179dd1e4 100644 --- a/service/apigateway/api_op_GetUsagePlanKeys.go +++ b/service/apigateway/api_op_GetUsagePlanKeys.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetUsagePlanKeysMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUsagePlanKeysValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetUsagePlans.go b/service/apigateway/api_op_GetUsagePlans.go index 20ace929105..5ad8cbd970d 100644 --- a/service/apigateway/api_op_GetUsagePlans.go +++ b/service/apigateway/api_op_GetUsagePlans.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetUsagePlansMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUsagePlans(options.Region), middleware.Before); err != nil { return err } diff --git a/service/apigateway/api_op_GetVpcLink.go b/service/apigateway/api_op_GetVpcLink.go index 79fe31d0f6c..e60ba537ad7 100644 --- a/service/apigateway/api_op_GetVpcLink.go +++ b/service/apigateway/api_op_GetVpcLink.go @@ -139,9 +139,6 @@ func (c *Client) addOperationGetVpcLinkMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVpcLinkValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_GetVpcLinks.go b/service/apigateway/api_op_GetVpcLinks.go index 9c1389a8a7e..4f82288b258 100644 --- a/service/apigateway/api_op_GetVpcLinks.go +++ b/service/apigateway/api_op_GetVpcLinks.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetVpcLinksMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVpcLinks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/apigateway/api_op_ImportApiKeys.go b/service/apigateway/api_op_ImportApiKeys.go index 66f069b6989..9a4c7472c37 100644 --- a/service/apigateway/api_op_ImportApiKeys.go +++ b/service/apigateway/api_op_ImportApiKeys.go @@ -129,9 +129,6 @@ func (c *Client) addOperationImportApiKeysMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportApiKeysValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_ImportDocumentationParts.go b/service/apigateway/api_op_ImportDocumentationParts.go index 1d29c2f494c..2c1263f4451 100644 --- a/service/apigateway/api_op_ImportDocumentationParts.go +++ b/service/apigateway/api_op_ImportDocumentationParts.go @@ -133,9 +133,6 @@ func (c *Client) addOperationImportDocumentationPartsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportDocumentationPartsValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_ImportRestApi.go b/service/apigateway/api_op_ImportRestApi.go index 9b5be3d1053..7750a65d3de 100644 --- a/service/apigateway/api_op_ImportRestApi.go +++ b/service/apigateway/api_op_ImportRestApi.go @@ -193,9 +193,6 @@ func (c *Client) addOperationImportRestApiMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportRestApiValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_PutGatewayResponse.go b/service/apigateway/api_op_PutGatewayResponse.go index 9930ec25c73..c26ac9aabd1 100644 --- a/service/apigateway/api_op_PutGatewayResponse.go +++ b/service/apigateway/api_op_PutGatewayResponse.go @@ -149,9 +149,6 @@ func (c *Client) addOperationPutGatewayResponseMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutGatewayResponseValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_PutIntegration.go b/service/apigateway/api_op_PutIntegration.go index 8bde22774e5..e6570b0dbad 100644 --- a/service/apigateway/api_op_PutIntegration.go +++ b/service/apigateway/api_op_PutIntegration.go @@ -328,9 +328,6 @@ func (c *Client) addOperationPutIntegrationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutIntegrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_PutIntegrationResponse.go b/service/apigateway/api_op_PutIntegrationResponse.go index fd55f28b8d1..e91d71df30d 100644 --- a/service/apigateway/api_op_PutIntegrationResponse.go +++ b/service/apigateway/api_op_PutIntegrationResponse.go @@ -194,9 +194,6 @@ func (c *Client) addOperationPutIntegrationResponseMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutIntegrationResponseValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_PutMethod.go b/service/apigateway/api_op_PutMethod.go index bb3d9ba18b3..1c3ad6aefa6 100644 --- a/service/apigateway/api_op_PutMethod.go +++ b/service/apigateway/api_op_PutMethod.go @@ -236,9 +236,6 @@ func (c *Client) addOperationPutMethodMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutMethodValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_PutMethodResponse.go b/service/apigateway/api_op_PutMethodResponse.go index 6205fa0b2b3..418362e2a47 100644 --- a/service/apigateway/api_op_PutMethodResponse.go +++ b/service/apigateway/api_op_PutMethodResponse.go @@ -169,9 +169,6 @@ func (c *Client) addOperationPutMethodResponseMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutMethodResponseValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_PutRestApi.go b/service/apigateway/api_op_PutRestApi.go index 774bd7696c2..f5cfc8df5a8 100644 --- a/service/apigateway/api_op_PutRestApi.go +++ b/service/apigateway/api_op_PutRestApi.go @@ -195,9 +195,6 @@ func (c *Client) addOperationPutRestApiMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutRestApiValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_RejectDomainNameAccessAssociation.go b/service/apigateway/api_op_RejectDomainNameAccessAssociation.go index a86370b98a1..4b2b593c192 100644 --- a/service/apigateway/api_op_RejectDomainNameAccessAssociation.go +++ b/service/apigateway/api_op_RejectDomainNameAccessAssociation.go @@ -117,9 +117,6 @@ func (c *Client) addOperationRejectDomainNameAccessAssociationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRejectDomainNameAccessAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_TagResource.go b/service/apigateway/api_op_TagResource.go index 5857dfa390f..7b09ba72610 100644 --- a/service/apigateway/api_op_TagResource.go +++ b/service/apigateway/api_op_TagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_TestInvokeAuthorizer.go b/service/apigateway/api_op_TestInvokeAuthorizer.go index 94b1141c31b..478e3d45e5b 100644 --- a/service/apigateway/api_op_TestInvokeAuthorizer.go +++ b/service/apigateway/api_op_TestInvokeAuthorizer.go @@ -162,9 +162,6 @@ func (c *Client) addOperationTestInvokeAuthorizerMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTestInvokeAuthorizerValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_TestInvokeMethod.go b/service/apigateway/api_op_TestInvokeMethod.go index 0468af46d30..fc93f9af163 100644 --- a/service/apigateway/api_op_TestInvokeMethod.go +++ b/service/apigateway/api_op_TestInvokeMethod.go @@ -162,9 +162,6 @@ func (c *Client) addOperationTestInvokeMethodMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTestInvokeMethodValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UntagResource.go b/service/apigateway/api_op_UntagResource.go index d3a0b5cb13e..7501e504d29 100644 --- a/service/apigateway/api_op_UntagResource.go +++ b/service/apigateway/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateAccount.go b/service/apigateway/api_op_UpdateAccount.go index 6445795b749..2377a169b31 100644 --- a/service/apigateway/api_op_UpdateAccount.go +++ b/service/apigateway/api_op_UpdateAccount.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateAccountMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAccount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateApiKey.go b/service/apigateway/api_op_UpdateApiKey.go index a6fe7f83fbe..275d4e539df 100644 --- a/service/apigateway/api_op_UpdateApiKey.go +++ b/service/apigateway/api_op_UpdateApiKey.go @@ -151,9 +151,6 @@ func (c *Client) addOperationUpdateApiKeyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApiKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateAuthorizer.go b/service/apigateway/api_op_UpdateAuthorizer.go index 0a56fb3536a..bb830ae22ce 100644 --- a/service/apigateway/api_op_UpdateAuthorizer.go +++ b/service/apigateway/api_op_UpdateAuthorizer.go @@ -197,9 +197,6 @@ func (c *Client) addOperationUpdateAuthorizerMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAuthorizerValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateBasePathMapping.go b/service/apigateway/api_op_UpdateBasePathMapping.go index 110fa3e31d3..dc3871a02b0 100644 --- a/service/apigateway/api_op_UpdateBasePathMapping.go +++ b/service/apigateway/api_op_UpdateBasePathMapping.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateBasePathMappingMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBasePathMappingValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateClientCertificate.go b/service/apigateway/api_op_UpdateClientCertificate.go index 537de99ec6e..4bddd5d96ed 100644 --- a/service/apigateway/api_op_UpdateClientCertificate.go +++ b/service/apigateway/api_op_UpdateClientCertificate.go @@ -137,9 +137,6 @@ func (c *Client) addOperationUpdateClientCertificateMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateClientCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateDeployment.go b/service/apigateway/api_op_UpdateDeployment.go index 058f86c11e6..2df68ec4c0d 100644 --- a/service/apigateway/api_op_UpdateDeployment.go +++ b/service/apigateway/api_op_UpdateDeployment.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateDeploymentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateDocumentationPart.go b/service/apigateway/api_op_UpdateDocumentationPart.go index 3e444e88fa1..1c24459fa0c 100644 --- a/service/apigateway/api_op_UpdateDocumentationPart.go +++ b/service/apigateway/api_op_UpdateDocumentationPart.go @@ -140,9 +140,6 @@ func (c *Client) addOperationUpdateDocumentationPartMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDocumentationPartValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateDocumentationVersion.go b/service/apigateway/api_op_UpdateDocumentationVersion.go index 86c47ed5d6b..57877b30ad9 100644 --- a/service/apigateway/api_op_UpdateDocumentationVersion.go +++ b/service/apigateway/api_op_UpdateDocumentationVersion.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateDocumentationVersionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDocumentationVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateDomainName.go b/service/apigateway/api_op_UpdateDomainName.go index 484431eaf94..25b1b453f9f 100644 --- a/service/apigateway/api_op_UpdateDomainName.go +++ b/service/apigateway/api_op_UpdateDomainName.go @@ -220,9 +220,6 @@ func (c *Client) addOperationUpdateDomainNameMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDomainNameValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateGatewayResponse.go b/service/apigateway/api_op_UpdateGatewayResponse.go index cca44b713db..ec205e86a6c 100644 --- a/service/apigateway/api_op_UpdateGatewayResponse.go +++ b/service/apigateway/api_op_UpdateGatewayResponse.go @@ -141,9 +141,6 @@ func (c *Client) addOperationUpdateGatewayResponseMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateGatewayResponseValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateIntegration.go b/service/apigateway/api_op_UpdateIntegration.go index 84243eee37d..be2b18f726c 100644 --- a/service/apigateway/api_op_UpdateIntegration.go +++ b/service/apigateway/api_op_UpdateIntegration.go @@ -244,9 +244,6 @@ func (c *Client) addOperationUpdateIntegrationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateIntegrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateIntegrationResponse.go b/service/apigateway/api_op_UpdateIntegrationResponse.go index e8847efe6db..9a654c951b8 100644 --- a/service/apigateway/api_op_UpdateIntegrationResponse.go +++ b/service/apigateway/api_op_UpdateIntegrationResponse.go @@ -172,9 +172,6 @@ func (c *Client) addOperationUpdateIntegrationResponseMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateIntegrationResponseValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateMethod.go b/service/apigateway/api_op_UpdateMethod.go index 822d139fa64..f6e10d00820 100644 --- a/service/apigateway/api_op_UpdateMethod.go +++ b/service/apigateway/api_op_UpdateMethod.go @@ -193,9 +193,6 @@ func (c *Client) addOperationUpdateMethodMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMethodValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateMethodResponse.go b/service/apigateway/api_op_UpdateMethodResponse.go index 570ddbfa89d..95e2be1d983 100644 --- a/service/apigateway/api_op_UpdateMethodResponse.go +++ b/service/apigateway/api_op_UpdateMethodResponse.go @@ -156,9 +156,6 @@ func (c *Client) addOperationUpdateMethodResponseMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMethodResponseValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateModel.go b/service/apigateway/api_op_UpdateModel.go index 102d5318c92..607fe50bb00 100644 --- a/service/apigateway/api_op_UpdateModel.go +++ b/service/apigateway/api_op_UpdateModel.go @@ -140,9 +140,6 @@ func (c *Client) addOperationUpdateModelMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateRequestValidator.go b/service/apigateway/api_op_UpdateRequestValidator.go index 57215d82a5f..e32c91186ea 100644 --- a/service/apigateway/api_op_UpdateRequestValidator.go +++ b/service/apigateway/api_op_UpdateRequestValidator.go @@ -135,9 +135,6 @@ func (c *Client) addOperationUpdateRequestValidatorMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRequestValidatorValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateResource.go b/service/apigateway/api_op_UpdateResource.go index 6ae107c37cd..b6b9edc3452 100644 --- a/service/apigateway/api_op_UpdateResource.go +++ b/service/apigateway/api_op_UpdateResource.go @@ -136,9 +136,6 @@ func (c *Client) addOperationUpdateResourceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateRestApi.go b/service/apigateway/api_op_UpdateRestApi.go index aa350cc7fed..2d7df116190 100644 --- a/service/apigateway/api_op_UpdateRestApi.go +++ b/service/apigateway/api_op_UpdateRestApi.go @@ -175,9 +175,6 @@ func (c *Client) addOperationUpdateRestApiMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRestApiValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateStage.go b/service/apigateway/api_op_UpdateStage.go index 0eac7688c97..c0c0470e60e 100644 --- a/service/apigateway/api_op_UpdateStage.go +++ b/service/apigateway/api_op_UpdateStage.go @@ -186,9 +186,6 @@ func (c *Client) addOperationUpdateStageMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateStageValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateUsage.go b/service/apigateway/api_op_UpdateUsage.go index 9b114807466..21e347ae6a2 100644 --- a/service/apigateway/api_op_UpdateUsage.go +++ b/service/apigateway/api_op_UpdateUsage.go @@ -143,9 +143,6 @@ func (c *Client) addOperationUpdateUsageMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateUsageValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateUsagePlan.go b/service/apigateway/api_op_UpdateUsagePlan.go index 9a014daa990..dd74daea4d7 100644 --- a/service/apigateway/api_op_UpdateUsagePlan.go +++ b/service/apigateway/api_op_UpdateUsagePlan.go @@ -148,9 +148,6 @@ func (c *Client) addOperationUpdateUsagePlanMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateUsagePlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/api_op_UpdateVpcLink.go b/service/apigateway/api_op_UpdateVpcLink.go index ccadbfe2a98..4bc1f6fdb96 100644 --- a/service/apigateway/api_op_UpdateVpcLink.go +++ b/service/apigateway/api_op_UpdateVpcLink.go @@ -144,9 +144,6 @@ func (c *Client) addOperationUpdateVpcLinkMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateVpcLinkValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigateway/snapshot/api_op_CreateApiKey.go.snap b/service/apigateway/snapshot/api_op_CreateApiKey.go.snap index 3839a8d1839..00aefa3f35b 100644 --- a/service/apigateway/snapshot/api_op_CreateApiKey.go.snap +++ b/service/apigateway/snapshot/api_op_CreateApiKey.go.snap @@ -13,7 +13,6 @@ CreateApiKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_CreateAuthorizer.go.snap b/service/apigateway/snapshot/api_op_CreateAuthorizer.go.snap index a4f6bfd733f..0b050275854 100644 --- a/service/apigateway/snapshot/api_op_CreateAuthorizer.go.snap +++ b/service/apigateway/snapshot/api_op_CreateAuthorizer.go.snap @@ -14,7 +14,6 @@ CreateAuthorizer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_CreateBasePathMapping.go.snap b/service/apigateway/snapshot/api_op_CreateBasePathMapping.go.snap index c1af34c70e7..3473a682154 100644 --- a/service/apigateway/snapshot/api_op_CreateBasePathMapping.go.snap +++ b/service/apigateway/snapshot/api_op_CreateBasePathMapping.go.snap @@ -14,7 +14,6 @@ CreateBasePathMapping Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_CreateDeployment.go.snap b/service/apigateway/snapshot/api_op_CreateDeployment.go.snap index cc267cd3317..d954f5ee43d 100644 --- a/service/apigateway/snapshot/api_op_CreateDeployment.go.snap +++ b/service/apigateway/snapshot/api_op_CreateDeployment.go.snap @@ -14,7 +14,6 @@ CreateDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_CreateDocumentationPart.go.snap b/service/apigateway/snapshot/api_op_CreateDocumentationPart.go.snap index dc3bdf0060f..ff9c9392b09 100644 --- a/service/apigateway/snapshot/api_op_CreateDocumentationPart.go.snap +++ b/service/apigateway/snapshot/api_op_CreateDocumentationPart.go.snap @@ -14,7 +14,6 @@ CreateDocumentationPart Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_CreateDocumentationVersion.go.snap b/service/apigateway/snapshot/api_op_CreateDocumentationVersion.go.snap index 9257e791ce6..8d77f430dba 100644 --- a/service/apigateway/snapshot/api_op_CreateDocumentationVersion.go.snap +++ b/service/apigateway/snapshot/api_op_CreateDocumentationVersion.go.snap @@ -14,7 +14,6 @@ CreateDocumentationVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_CreateDomainName.go.snap b/service/apigateway/snapshot/api_op_CreateDomainName.go.snap index c2826484bf8..2182ff2dc8e 100644 --- a/service/apigateway/snapshot/api_op_CreateDomainName.go.snap +++ b/service/apigateway/snapshot/api_op_CreateDomainName.go.snap @@ -14,7 +14,6 @@ CreateDomainName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_CreateDomainNameAccessAssociation.go.snap b/service/apigateway/snapshot/api_op_CreateDomainNameAccessAssociation.go.snap index 634b0f8b3b8..de21875f86b 100644 --- a/service/apigateway/snapshot/api_op_CreateDomainNameAccessAssociation.go.snap +++ b/service/apigateway/snapshot/api_op_CreateDomainNameAccessAssociation.go.snap @@ -14,7 +14,6 @@ CreateDomainNameAccessAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_CreateModel.go.snap b/service/apigateway/snapshot/api_op_CreateModel.go.snap index 34d350fe699..e8bf15cedd2 100644 --- a/service/apigateway/snapshot/api_op_CreateModel.go.snap +++ b/service/apigateway/snapshot/api_op_CreateModel.go.snap @@ -14,7 +14,6 @@ CreateModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_CreateRequestValidator.go.snap b/service/apigateway/snapshot/api_op_CreateRequestValidator.go.snap index 9fe12d7d707..47233952088 100644 --- a/service/apigateway/snapshot/api_op_CreateRequestValidator.go.snap +++ b/service/apigateway/snapshot/api_op_CreateRequestValidator.go.snap @@ -14,7 +14,6 @@ CreateRequestValidator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_CreateResource.go.snap b/service/apigateway/snapshot/api_op_CreateResource.go.snap index df0cdc5ddd3..66be09a797d 100644 --- a/service/apigateway/snapshot/api_op_CreateResource.go.snap +++ b/service/apigateway/snapshot/api_op_CreateResource.go.snap @@ -14,7 +14,6 @@ CreateResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_CreateRestApi.go.snap b/service/apigateway/snapshot/api_op_CreateRestApi.go.snap index 2b7c410e89a..cb47d38b2d7 100644 --- a/service/apigateway/snapshot/api_op_CreateRestApi.go.snap +++ b/service/apigateway/snapshot/api_op_CreateRestApi.go.snap @@ -14,7 +14,6 @@ CreateRestApi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_CreateStage.go.snap b/service/apigateway/snapshot/api_op_CreateStage.go.snap index 78da70c4e4e..0435cb1d1a7 100644 --- a/service/apigateway/snapshot/api_op_CreateStage.go.snap +++ b/service/apigateway/snapshot/api_op_CreateStage.go.snap @@ -14,7 +14,6 @@ CreateStage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_CreateUsagePlan.go.snap b/service/apigateway/snapshot/api_op_CreateUsagePlan.go.snap index a1bd2aeef71..610643ab728 100644 --- a/service/apigateway/snapshot/api_op_CreateUsagePlan.go.snap +++ b/service/apigateway/snapshot/api_op_CreateUsagePlan.go.snap @@ -14,7 +14,6 @@ CreateUsagePlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_CreateUsagePlanKey.go.snap b/service/apigateway/snapshot/api_op_CreateUsagePlanKey.go.snap index da99663f21c..6c0043d7a5c 100644 --- a/service/apigateway/snapshot/api_op_CreateUsagePlanKey.go.snap +++ b/service/apigateway/snapshot/api_op_CreateUsagePlanKey.go.snap @@ -14,7 +14,6 @@ CreateUsagePlanKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_CreateVpcLink.go.snap b/service/apigateway/snapshot/api_op_CreateVpcLink.go.snap index f61f7ffcd00..ffe22c3168b 100644 --- a/service/apigateway/snapshot/api_op_CreateVpcLink.go.snap +++ b/service/apigateway/snapshot/api_op_CreateVpcLink.go.snap @@ -14,7 +14,6 @@ CreateVpcLink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_DeleteApiKey.go.snap b/service/apigateway/snapshot/api_op_DeleteApiKey.go.snap index 2505d06d86b..65aae1769ea 100644 --- a/service/apigateway/snapshot/api_op_DeleteApiKey.go.snap +++ b/service/apigateway/snapshot/api_op_DeleteApiKey.go.snap @@ -14,7 +14,6 @@ DeleteApiKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_DeleteAuthorizer.go.snap b/service/apigateway/snapshot/api_op_DeleteAuthorizer.go.snap index 75ebb140891..8ef29b9e6d4 100644 --- a/service/apigateway/snapshot/api_op_DeleteAuthorizer.go.snap +++ b/service/apigateway/snapshot/api_op_DeleteAuthorizer.go.snap @@ -14,7 +14,6 @@ DeleteAuthorizer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_DeleteBasePathMapping.go.snap b/service/apigateway/snapshot/api_op_DeleteBasePathMapping.go.snap index 29f9effdee3..b84f1677e85 100644 --- a/service/apigateway/snapshot/api_op_DeleteBasePathMapping.go.snap +++ b/service/apigateway/snapshot/api_op_DeleteBasePathMapping.go.snap @@ -14,7 +14,6 @@ DeleteBasePathMapping Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_DeleteClientCertificate.go.snap b/service/apigateway/snapshot/api_op_DeleteClientCertificate.go.snap index df14397119e..9dda2685b14 100644 --- a/service/apigateway/snapshot/api_op_DeleteClientCertificate.go.snap +++ b/service/apigateway/snapshot/api_op_DeleteClientCertificate.go.snap @@ -14,7 +14,6 @@ DeleteClientCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_DeleteDeployment.go.snap b/service/apigateway/snapshot/api_op_DeleteDeployment.go.snap index b63b0d0e6f8..0c78d78bfe5 100644 --- a/service/apigateway/snapshot/api_op_DeleteDeployment.go.snap +++ b/service/apigateway/snapshot/api_op_DeleteDeployment.go.snap @@ -14,7 +14,6 @@ DeleteDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_DeleteDocumentationPart.go.snap b/service/apigateway/snapshot/api_op_DeleteDocumentationPart.go.snap index 999568e49af..8af715b9fa5 100644 --- a/service/apigateway/snapshot/api_op_DeleteDocumentationPart.go.snap +++ b/service/apigateway/snapshot/api_op_DeleteDocumentationPart.go.snap @@ -14,7 +14,6 @@ DeleteDocumentationPart Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_DeleteDocumentationVersion.go.snap b/service/apigateway/snapshot/api_op_DeleteDocumentationVersion.go.snap index 80834c0e897..a0188b9bc0c 100644 --- a/service/apigateway/snapshot/api_op_DeleteDocumentationVersion.go.snap +++ b/service/apigateway/snapshot/api_op_DeleteDocumentationVersion.go.snap @@ -14,7 +14,6 @@ DeleteDocumentationVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_DeleteDomainName.go.snap b/service/apigateway/snapshot/api_op_DeleteDomainName.go.snap index 5febaae73fd..3afe9bc8e8a 100644 --- a/service/apigateway/snapshot/api_op_DeleteDomainName.go.snap +++ b/service/apigateway/snapshot/api_op_DeleteDomainName.go.snap @@ -14,7 +14,6 @@ DeleteDomainName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_DeleteDomainNameAccessAssociation.go.snap b/service/apigateway/snapshot/api_op_DeleteDomainNameAccessAssociation.go.snap index b38ac8a234b..557378da7e3 100644 --- a/service/apigateway/snapshot/api_op_DeleteDomainNameAccessAssociation.go.snap +++ b/service/apigateway/snapshot/api_op_DeleteDomainNameAccessAssociation.go.snap @@ -14,7 +14,6 @@ DeleteDomainNameAccessAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_DeleteGatewayResponse.go.snap b/service/apigateway/snapshot/api_op_DeleteGatewayResponse.go.snap index 3243c9b9ab1..60b888c04bd 100644 --- a/service/apigateway/snapshot/api_op_DeleteGatewayResponse.go.snap +++ b/service/apigateway/snapshot/api_op_DeleteGatewayResponse.go.snap @@ -14,7 +14,6 @@ DeleteGatewayResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_DeleteIntegration.go.snap b/service/apigateway/snapshot/api_op_DeleteIntegration.go.snap index 6184b5513bd..4ae5f47444f 100644 --- a/service/apigateway/snapshot/api_op_DeleteIntegration.go.snap +++ b/service/apigateway/snapshot/api_op_DeleteIntegration.go.snap @@ -14,7 +14,6 @@ DeleteIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_DeleteIntegrationResponse.go.snap b/service/apigateway/snapshot/api_op_DeleteIntegrationResponse.go.snap index 7096966689c..98db64ad2db 100644 --- a/service/apigateway/snapshot/api_op_DeleteIntegrationResponse.go.snap +++ b/service/apigateway/snapshot/api_op_DeleteIntegrationResponse.go.snap @@ -14,7 +14,6 @@ DeleteIntegrationResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_DeleteMethod.go.snap b/service/apigateway/snapshot/api_op_DeleteMethod.go.snap index 4912007261e..f275a980e40 100644 --- a/service/apigateway/snapshot/api_op_DeleteMethod.go.snap +++ b/service/apigateway/snapshot/api_op_DeleteMethod.go.snap @@ -14,7 +14,6 @@ DeleteMethod Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_DeleteMethodResponse.go.snap b/service/apigateway/snapshot/api_op_DeleteMethodResponse.go.snap index 22dbc71c408..674f3016962 100644 --- a/service/apigateway/snapshot/api_op_DeleteMethodResponse.go.snap +++ b/service/apigateway/snapshot/api_op_DeleteMethodResponse.go.snap @@ -14,7 +14,6 @@ DeleteMethodResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_DeleteModel.go.snap b/service/apigateway/snapshot/api_op_DeleteModel.go.snap index 626f384d2c7..0027863e865 100644 --- a/service/apigateway/snapshot/api_op_DeleteModel.go.snap +++ b/service/apigateway/snapshot/api_op_DeleteModel.go.snap @@ -14,7 +14,6 @@ DeleteModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_DeleteRequestValidator.go.snap b/service/apigateway/snapshot/api_op_DeleteRequestValidator.go.snap index 8370f3907cc..6afed695a5c 100644 --- a/service/apigateway/snapshot/api_op_DeleteRequestValidator.go.snap +++ b/service/apigateway/snapshot/api_op_DeleteRequestValidator.go.snap @@ -14,7 +14,6 @@ DeleteRequestValidator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_DeleteResource.go.snap b/service/apigateway/snapshot/api_op_DeleteResource.go.snap index 2baa6c82339..bfd8ce1ac54 100644 --- a/service/apigateway/snapshot/api_op_DeleteResource.go.snap +++ b/service/apigateway/snapshot/api_op_DeleteResource.go.snap @@ -14,7 +14,6 @@ DeleteResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_DeleteRestApi.go.snap b/service/apigateway/snapshot/api_op_DeleteRestApi.go.snap index 0edf85592f0..c38693fc1f7 100644 --- a/service/apigateway/snapshot/api_op_DeleteRestApi.go.snap +++ b/service/apigateway/snapshot/api_op_DeleteRestApi.go.snap @@ -14,7 +14,6 @@ DeleteRestApi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_DeleteStage.go.snap b/service/apigateway/snapshot/api_op_DeleteStage.go.snap index f4072fbb8c2..fe59150f26e 100644 --- a/service/apigateway/snapshot/api_op_DeleteStage.go.snap +++ b/service/apigateway/snapshot/api_op_DeleteStage.go.snap @@ -14,7 +14,6 @@ DeleteStage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_DeleteUsagePlan.go.snap b/service/apigateway/snapshot/api_op_DeleteUsagePlan.go.snap index e1016ae63e6..0b75db9f179 100644 --- a/service/apigateway/snapshot/api_op_DeleteUsagePlan.go.snap +++ b/service/apigateway/snapshot/api_op_DeleteUsagePlan.go.snap @@ -14,7 +14,6 @@ DeleteUsagePlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_DeleteUsagePlanKey.go.snap b/service/apigateway/snapshot/api_op_DeleteUsagePlanKey.go.snap index 6ae0e26971c..a811e346c24 100644 --- a/service/apigateway/snapshot/api_op_DeleteUsagePlanKey.go.snap +++ b/service/apigateway/snapshot/api_op_DeleteUsagePlanKey.go.snap @@ -14,7 +14,6 @@ DeleteUsagePlanKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_DeleteVpcLink.go.snap b/service/apigateway/snapshot/api_op_DeleteVpcLink.go.snap index 2b0464b4c1a..bfcb747395f 100644 --- a/service/apigateway/snapshot/api_op_DeleteVpcLink.go.snap +++ b/service/apigateway/snapshot/api_op_DeleteVpcLink.go.snap @@ -14,7 +14,6 @@ DeleteVpcLink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_FlushStageAuthorizersCache.go.snap b/service/apigateway/snapshot/api_op_FlushStageAuthorizersCache.go.snap index 5dd5953c483..3f421dc7f99 100644 --- a/service/apigateway/snapshot/api_op_FlushStageAuthorizersCache.go.snap +++ b/service/apigateway/snapshot/api_op_FlushStageAuthorizersCache.go.snap @@ -14,7 +14,6 @@ FlushStageAuthorizersCache Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_FlushStageCache.go.snap b/service/apigateway/snapshot/api_op_FlushStageCache.go.snap index 250a41a2a73..a886abcb28d 100644 --- a/service/apigateway/snapshot/api_op_FlushStageCache.go.snap +++ b/service/apigateway/snapshot/api_op_FlushStageCache.go.snap @@ -14,7 +14,6 @@ FlushStageCache Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GenerateClientCertificate.go.snap b/service/apigateway/snapshot/api_op_GenerateClientCertificate.go.snap index fa00858d40f..d05dcff669c 100644 --- a/service/apigateway/snapshot/api_op_GenerateClientCertificate.go.snap +++ b/service/apigateway/snapshot/api_op_GenerateClientCertificate.go.snap @@ -13,7 +13,6 @@ GenerateClientCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetAccount.go.snap b/service/apigateway/snapshot/api_op_GetAccount.go.snap index 21722a5be43..52c2b571d06 100644 --- a/service/apigateway/snapshot/api_op_GetAccount.go.snap +++ b/service/apigateway/snapshot/api_op_GetAccount.go.snap @@ -13,7 +13,6 @@ GetAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetApiKey.go.snap b/service/apigateway/snapshot/api_op_GetApiKey.go.snap index e1fff90cbf6..b3d67b56f38 100644 --- a/service/apigateway/snapshot/api_op_GetApiKey.go.snap +++ b/service/apigateway/snapshot/api_op_GetApiKey.go.snap @@ -14,7 +14,6 @@ GetApiKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetApiKeys.go.snap b/service/apigateway/snapshot/api_op_GetApiKeys.go.snap index 3161003e8e0..60880bb900b 100644 --- a/service/apigateway/snapshot/api_op_GetApiKeys.go.snap +++ b/service/apigateway/snapshot/api_op_GetApiKeys.go.snap @@ -13,7 +13,6 @@ GetApiKeys Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetAuthorizer.go.snap b/service/apigateway/snapshot/api_op_GetAuthorizer.go.snap index bbc4d962889..d5bba0353d7 100644 --- a/service/apigateway/snapshot/api_op_GetAuthorizer.go.snap +++ b/service/apigateway/snapshot/api_op_GetAuthorizer.go.snap @@ -14,7 +14,6 @@ GetAuthorizer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetAuthorizers.go.snap b/service/apigateway/snapshot/api_op_GetAuthorizers.go.snap index 9838cf5b7bd..63c0711fdf2 100644 --- a/service/apigateway/snapshot/api_op_GetAuthorizers.go.snap +++ b/service/apigateway/snapshot/api_op_GetAuthorizers.go.snap @@ -14,7 +14,6 @@ GetAuthorizers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetBasePathMapping.go.snap b/service/apigateway/snapshot/api_op_GetBasePathMapping.go.snap index c8d2cddceaf..3a3f35e3497 100644 --- a/service/apigateway/snapshot/api_op_GetBasePathMapping.go.snap +++ b/service/apigateway/snapshot/api_op_GetBasePathMapping.go.snap @@ -14,7 +14,6 @@ GetBasePathMapping Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetBasePathMappings.go.snap b/service/apigateway/snapshot/api_op_GetBasePathMappings.go.snap index 89629dfe70f..b4e06737ef3 100644 --- a/service/apigateway/snapshot/api_op_GetBasePathMappings.go.snap +++ b/service/apigateway/snapshot/api_op_GetBasePathMappings.go.snap @@ -14,7 +14,6 @@ GetBasePathMappings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetClientCertificate.go.snap b/service/apigateway/snapshot/api_op_GetClientCertificate.go.snap index 39e2199bab6..2c3843036a0 100644 --- a/service/apigateway/snapshot/api_op_GetClientCertificate.go.snap +++ b/service/apigateway/snapshot/api_op_GetClientCertificate.go.snap @@ -14,7 +14,6 @@ GetClientCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetClientCertificates.go.snap b/service/apigateway/snapshot/api_op_GetClientCertificates.go.snap index dde60e8c59b..e98451df37c 100644 --- a/service/apigateway/snapshot/api_op_GetClientCertificates.go.snap +++ b/service/apigateway/snapshot/api_op_GetClientCertificates.go.snap @@ -13,7 +13,6 @@ GetClientCertificates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetDeployment.go.snap b/service/apigateway/snapshot/api_op_GetDeployment.go.snap index 4baeefe051c..9f1017403aa 100644 --- a/service/apigateway/snapshot/api_op_GetDeployment.go.snap +++ b/service/apigateway/snapshot/api_op_GetDeployment.go.snap @@ -14,7 +14,6 @@ GetDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetDeployments.go.snap b/service/apigateway/snapshot/api_op_GetDeployments.go.snap index 5078f07f69b..299321fe8a3 100644 --- a/service/apigateway/snapshot/api_op_GetDeployments.go.snap +++ b/service/apigateway/snapshot/api_op_GetDeployments.go.snap @@ -14,7 +14,6 @@ GetDeployments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetDocumentationPart.go.snap b/service/apigateway/snapshot/api_op_GetDocumentationPart.go.snap index d387c225086..0c18a9ea9e5 100644 --- a/service/apigateway/snapshot/api_op_GetDocumentationPart.go.snap +++ b/service/apigateway/snapshot/api_op_GetDocumentationPart.go.snap @@ -14,7 +14,6 @@ GetDocumentationPart Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetDocumentationParts.go.snap b/service/apigateway/snapshot/api_op_GetDocumentationParts.go.snap index 1430cf05b22..af4fb64c5f7 100644 --- a/service/apigateway/snapshot/api_op_GetDocumentationParts.go.snap +++ b/service/apigateway/snapshot/api_op_GetDocumentationParts.go.snap @@ -14,7 +14,6 @@ GetDocumentationParts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetDocumentationVersion.go.snap b/service/apigateway/snapshot/api_op_GetDocumentationVersion.go.snap index f24e5a71aff..2a03dc26735 100644 --- a/service/apigateway/snapshot/api_op_GetDocumentationVersion.go.snap +++ b/service/apigateway/snapshot/api_op_GetDocumentationVersion.go.snap @@ -14,7 +14,6 @@ GetDocumentationVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetDocumentationVersions.go.snap b/service/apigateway/snapshot/api_op_GetDocumentationVersions.go.snap index 9b045aff657..941b043ba52 100644 --- a/service/apigateway/snapshot/api_op_GetDocumentationVersions.go.snap +++ b/service/apigateway/snapshot/api_op_GetDocumentationVersions.go.snap @@ -14,7 +14,6 @@ GetDocumentationVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetDomainName.go.snap b/service/apigateway/snapshot/api_op_GetDomainName.go.snap index 3372856677e..fec81291460 100644 --- a/service/apigateway/snapshot/api_op_GetDomainName.go.snap +++ b/service/apigateway/snapshot/api_op_GetDomainName.go.snap @@ -14,7 +14,6 @@ GetDomainName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetDomainNameAccessAssociations.go.snap b/service/apigateway/snapshot/api_op_GetDomainNameAccessAssociations.go.snap index 9406bac700a..50eb0c378cf 100644 --- a/service/apigateway/snapshot/api_op_GetDomainNameAccessAssociations.go.snap +++ b/service/apigateway/snapshot/api_op_GetDomainNameAccessAssociations.go.snap @@ -13,7 +13,6 @@ GetDomainNameAccessAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetDomainNames.go.snap b/service/apigateway/snapshot/api_op_GetDomainNames.go.snap index d0035049a4b..c8d08c9fab7 100644 --- a/service/apigateway/snapshot/api_op_GetDomainNames.go.snap +++ b/service/apigateway/snapshot/api_op_GetDomainNames.go.snap @@ -13,7 +13,6 @@ GetDomainNames Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetExport.go.snap b/service/apigateway/snapshot/api_op_GetExport.go.snap index 80ecae956c2..874f13b05c1 100644 --- a/service/apigateway/snapshot/api_op_GetExport.go.snap +++ b/service/apigateway/snapshot/api_op_GetExport.go.snap @@ -14,7 +14,6 @@ GetExport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetGatewayResponse.go.snap b/service/apigateway/snapshot/api_op_GetGatewayResponse.go.snap index a6886f03372..2e57b69b4f9 100644 --- a/service/apigateway/snapshot/api_op_GetGatewayResponse.go.snap +++ b/service/apigateway/snapshot/api_op_GetGatewayResponse.go.snap @@ -14,7 +14,6 @@ GetGatewayResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetGatewayResponses.go.snap b/service/apigateway/snapshot/api_op_GetGatewayResponses.go.snap index 3299f9c7a24..95ff7daa067 100644 --- a/service/apigateway/snapshot/api_op_GetGatewayResponses.go.snap +++ b/service/apigateway/snapshot/api_op_GetGatewayResponses.go.snap @@ -14,7 +14,6 @@ GetGatewayResponses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetIntegration.go.snap b/service/apigateway/snapshot/api_op_GetIntegration.go.snap index e20ede680c5..0562cbf70a4 100644 --- a/service/apigateway/snapshot/api_op_GetIntegration.go.snap +++ b/service/apigateway/snapshot/api_op_GetIntegration.go.snap @@ -14,7 +14,6 @@ GetIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetIntegrationResponse.go.snap b/service/apigateway/snapshot/api_op_GetIntegrationResponse.go.snap index 2a63277feb5..cdb79d8abfc 100644 --- a/service/apigateway/snapshot/api_op_GetIntegrationResponse.go.snap +++ b/service/apigateway/snapshot/api_op_GetIntegrationResponse.go.snap @@ -14,7 +14,6 @@ GetIntegrationResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetMethod.go.snap b/service/apigateway/snapshot/api_op_GetMethod.go.snap index 5c9b7d684c6..521f13464b3 100644 --- a/service/apigateway/snapshot/api_op_GetMethod.go.snap +++ b/service/apigateway/snapshot/api_op_GetMethod.go.snap @@ -14,7 +14,6 @@ GetMethod Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetMethodResponse.go.snap b/service/apigateway/snapshot/api_op_GetMethodResponse.go.snap index 9610f2fc793..7eb268e5b84 100644 --- a/service/apigateway/snapshot/api_op_GetMethodResponse.go.snap +++ b/service/apigateway/snapshot/api_op_GetMethodResponse.go.snap @@ -14,7 +14,6 @@ GetMethodResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetModel.go.snap b/service/apigateway/snapshot/api_op_GetModel.go.snap index f2e4cb14995..00533fbf8f1 100644 --- a/service/apigateway/snapshot/api_op_GetModel.go.snap +++ b/service/apigateway/snapshot/api_op_GetModel.go.snap @@ -14,7 +14,6 @@ GetModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetModelTemplate.go.snap b/service/apigateway/snapshot/api_op_GetModelTemplate.go.snap index 3e350e4ef24..464e6ae0e4d 100644 --- a/service/apigateway/snapshot/api_op_GetModelTemplate.go.snap +++ b/service/apigateway/snapshot/api_op_GetModelTemplate.go.snap @@ -14,7 +14,6 @@ GetModelTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetModels.go.snap b/service/apigateway/snapshot/api_op_GetModels.go.snap index 0ab43ff7e8c..36a9f4bf556 100644 --- a/service/apigateway/snapshot/api_op_GetModels.go.snap +++ b/service/apigateway/snapshot/api_op_GetModels.go.snap @@ -14,7 +14,6 @@ GetModels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetRequestValidator.go.snap b/service/apigateway/snapshot/api_op_GetRequestValidator.go.snap index 85dfce713b9..7cdcd76ee1b 100644 --- a/service/apigateway/snapshot/api_op_GetRequestValidator.go.snap +++ b/service/apigateway/snapshot/api_op_GetRequestValidator.go.snap @@ -14,7 +14,6 @@ GetRequestValidator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetRequestValidators.go.snap b/service/apigateway/snapshot/api_op_GetRequestValidators.go.snap index 74048326682..c66a4294b97 100644 --- a/service/apigateway/snapshot/api_op_GetRequestValidators.go.snap +++ b/service/apigateway/snapshot/api_op_GetRequestValidators.go.snap @@ -14,7 +14,6 @@ GetRequestValidators Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetResource.go.snap b/service/apigateway/snapshot/api_op_GetResource.go.snap index 2aa91f5ed35..27fc74c2e46 100644 --- a/service/apigateway/snapshot/api_op_GetResource.go.snap +++ b/service/apigateway/snapshot/api_op_GetResource.go.snap @@ -14,7 +14,6 @@ GetResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetResources.go.snap b/service/apigateway/snapshot/api_op_GetResources.go.snap index 7433b9fa7c2..9ea859c1813 100644 --- a/service/apigateway/snapshot/api_op_GetResources.go.snap +++ b/service/apigateway/snapshot/api_op_GetResources.go.snap @@ -14,7 +14,6 @@ GetResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetRestApi.go.snap b/service/apigateway/snapshot/api_op_GetRestApi.go.snap index 90757da9eac..1d03c28d6fe 100644 --- a/service/apigateway/snapshot/api_op_GetRestApi.go.snap +++ b/service/apigateway/snapshot/api_op_GetRestApi.go.snap @@ -14,7 +14,6 @@ GetRestApi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetRestApis.go.snap b/service/apigateway/snapshot/api_op_GetRestApis.go.snap index 3f37995a1a0..22fcbc2c187 100644 --- a/service/apigateway/snapshot/api_op_GetRestApis.go.snap +++ b/service/apigateway/snapshot/api_op_GetRestApis.go.snap @@ -13,7 +13,6 @@ GetRestApis Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetSdk.go.snap b/service/apigateway/snapshot/api_op_GetSdk.go.snap index 52e4e865d9e..fb7da9540e7 100644 --- a/service/apigateway/snapshot/api_op_GetSdk.go.snap +++ b/service/apigateway/snapshot/api_op_GetSdk.go.snap @@ -14,7 +14,6 @@ GetSdk Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetSdkType.go.snap b/service/apigateway/snapshot/api_op_GetSdkType.go.snap index a34188ba0ab..0e3c9592b02 100644 --- a/service/apigateway/snapshot/api_op_GetSdkType.go.snap +++ b/service/apigateway/snapshot/api_op_GetSdkType.go.snap @@ -14,7 +14,6 @@ GetSdkType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetSdkTypes.go.snap b/service/apigateway/snapshot/api_op_GetSdkTypes.go.snap index 87457cd871f..8bd326701d1 100644 --- a/service/apigateway/snapshot/api_op_GetSdkTypes.go.snap +++ b/service/apigateway/snapshot/api_op_GetSdkTypes.go.snap @@ -13,7 +13,6 @@ GetSdkTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetStage.go.snap b/service/apigateway/snapshot/api_op_GetStage.go.snap index fa07f66ce21..aa365bd6610 100644 --- a/service/apigateway/snapshot/api_op_GetStage.go.snap +++ b/service/apigateway/snapshot/api_op_GetStage.go.snap @@ -14,7 +14,6 @@ GetStage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetStages.go.snap b/service/apigateway/snapshot/api_op_GetStages.go.snap index 202450a79a1..3bf55bd30af 100644 --- a/service/apigateway/snapshot/api_op_GetStages.go.snap +++ b/service/apigateway/snapshot/api_op_GetStages.go.snap @@ -14,7 +14,6 @@ GetStages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetTags.go.snap b/service/apigateway/snapshot/api_op_GetTags.go.snap index 55d77899b8d..37ebc964471 100644 --- a/service/apigateway/snapshot/api_op_GetTags.go.snap +++ b/service/apigateway/snapshot/api_op_GetTags.go.snap @@ -14,7 +14,6 @@ GetTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetUsage.go.snap b/service/apigateway/snapshot/api_op_GetUsage.go.snap index 1535951649e..d1a3872af9f 100644 --- a/service/apigateway/snapshot/api_op_GetUsage.go.snap +++ b/service/apigateway/snapshot/api_op_GetUsage.go.snap @@ -14,7 +14,6 @@ GetUsage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetUsagePlan.go.snap b/service/apigateway/snapshot/api_op_GetUsagePlan.go.snap index 639a7414a4f..f311e1953cf 100644 --- a/service/apigateway/snapshot/api_op_GetUsagePlan.go.snap +++ b/service/apigateway/snapshot/api_op_GetUsagePlan.go.snap @@ -14,7 +14,6 @@ GetUsagePlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetUsagePlanKey.go.snap b/service/apigateway/snapshot/api_op_GetUsagePlanKey.go.snap index 66c633c836f..caa5ad8a547 100644 --- a/service/apigateway/snapshot/api_op_GetUsagePlanKey.go.snap +++ b/service/apigateway/snapshot/api_op_GetUsagePlanKey.go.snap @@ -14,7 +14,6 @@ GetUsagePlanKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetUsagePlanKeys.go.snap b/service/apigateway/snapshot/api_op_GetUsagePlanKeys.go.snap index b85c0f2d71e..3bc5693ca1a 100644 --- a/service/apigateway/snapshot/api_op_GetUsagePlanKeys.go.snap +++ b/service/apigateway/snapshot/api_op_GetUsagePlanKeys.go.snap @@ -14,7 +14,6 @@ GetUsagePlanKeys Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetUsagePlans.go.snap b/service/apigateway/snapshot/api_op_GetUsagePlans.go.snap index e65a4d59866..6855a22d185 100644 --- a/service/apigateway/snapshot/api_op_GetUsagePlans.go.snap +++ b/service/apigateway/snapshot/api_op_GetUsagePlans.go.snap @@ -13,7 +13,6 @@ GetUsagePlans Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetVpcLink.go.snap b/service/apigateway/snapshot/api_op_GetVpcLink.go.snap index 76345531214..759aafbe9ee 100644 --- a/service/apigateway/snapshot/api_op_GetVpcLink.go.snap +++ b/service/apigateway/snapshot/api_op_GetVpcLink.go.snap @@ -14,7 +14,6 @@ GetVpcLink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_GetVpcLinks.go.snap b/service/apigateway/snapshot/api_op_GetVpcLinks.go.snap index 34d8fb758dd..87a5024c868 100644 --- a/service/apigateway/snapshot/api_op_GetVpcLinks.go.snap +++ b/service/apigateway/snapshot/api_op_GetVpcLinks.go.snap @@ -13,7 +13,6 @@ GetVpcLinks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_ImportApiKeys.go.snap b/service/apigateway/snapshot/api_op_ImportApiKeys.go.snap index 0d6db7d7ccb..384de5a268b 100644 --- a/service/apigateway/snapshot/api_op_ImportApiKeys.go.snap +++ b/service/apigateway/snapshot/api_op_ImportApiKeys.go.snap @@ -14,7 +14,6 @@ ImportApiKeys Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_ImportDocumentationParts.go.snap b/service/apigateway/snapshot/api_op_ImportDocumentationParts.go.snap index 96d7f5b1f8a..c9334a16c80 100644 --- a/service/apigateway/snapshot/api_op_ImportDocumentationParts.go.snap +++ b/service/apigateway/snapshot/api_op_ImportDocumentationParts.go.snap @@ -14,7 +14,6 @@ ImportDocumentationParts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_ImportRestApi.go.snap b/service/apigateway/snapshot/api_op_ImportRestApi.go.snap index da56b5a4580..06598fd14cb 100644 --- a/service/apigateway/snapshot/api_op_ImportRestApi.go.snap +++ b/service/apigateway/snapshot/api_op_ImportRestApi.go.snap @@ -14,7 +14,6 @@ ImportRestApi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_PutGatewayResponse.go.snap b/service/apigateway/snapshot/api_op_PutGatewayResponse.go.snap index 1e88c5f4c34..95bb8374a48 100644 --- a/service/apigateway/snapshot/api_op_PutGatewayResponse.go.snap +++ b/service/apigateway/snapshot/api_op_PutGatewayResponse.go.snap @@ -14,7 +14,6 @@ PutGatewayResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_PutIntegration.go.snap b/service/apigateway/snapshot/api_op_PutIntegration.go.snap index fbe45f9ce9a..55ae74e1ddd 100644 --- a/service/apigateway/snapshot/api_op_PutIntegration.go.snap +++ b/service/apigateway/snapshot/api_op_PutIntegration.go.snap @@ -14,7 +14,6 @@ PutIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_PutIntegrationResponse.go.snap b/service/apigateway/snapshot/api_op_PutIntegrationResponse.go.snap index 03d0357de87..f5bad5c9b75 100644 --- a/service/apigateway/snapshot/api_op_PutIntegrationResponse.go.snap +++ b/service/apigateway/snapshot/api_op_PutIntegrationResponse.go.snap @@ -14,7 +14,6 @@ PutIntegrationResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_PutMethod.go.snap b/service/apigateway/snapshot/api_op_PutMethod.go.snap index 53661151faa..2daebc8b7eb 100644 --- a/service/apigateway/snapshot/api_op_PutMethod.go.snap +++ b/service/apigateway/snapshot/api_op_PutMethod.go.snap @@ -14,7 +14,6 @@ PutMethod Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_PutMethodResponse.go.snap b/service/apigateway/snapshot/api_op_PutMethodResponse.go.snap index cb7e5a89d6f..f3fa1762cfc 100644 --- a/service/apigateway/snapshot/api_op_PutMethodResponse.go.snap +++ b/service/apigateway/snapshot/api_op_PutMethodResponse.go.snap @@ -14,7 +14,6 @@ PutMethodResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_PutRestApi.go.snap b/service/apigateway/snapshot/api_op_PutRestApi.go.snap index 07ba829411f..ed945b65e9b 100644 --- a/service/apigateway/snapshot/api_op_PutRestApi.go.snap +++ b/service/apigateway/snapshot/api_op_PutRestApi.go.snap @@ -14,7 +14,6 @@ PutRestApi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_RejectDomainNameAccessAssociation.go.snap b/service/apigateway/snapshot/api_op_RejectDomainNameAccessAssociation.go.snap index b866661fa6c..26ee23f1243 100644 --- a/service/apigateway/snapshot/api_op_RejectDomainNameAccessAssociation.go.snap +++ b/service/apigateway/snapshot/api_op_RejectDomainNameAccessAssociation.go.snap @@ -14,7 +14,6 @@ RejectDomainNameAccessAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_TagResource.go.snap b/service/apigateway/snapshot/api_op_TagResource.go.snap index 39beb729b69..82bcdac04a4 100644 --- a/service/apigateway/snapshot/api_op_TagResource.go.snap +++ b/service/apigateway/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_TestInvokeAuthorizer.go.snap b/service/apigateway/snapshot/api_op_TestInvokeAuthorizer.go.snap index 0a46fac268c..a5a70600eed 100644 --- a/service/apigateway/snapshot/api_op_TestInvokeAuthorizer.go.snap +++ b/service/apigateway/snapshot/api_op_TestInvokeAuthorizer.go.snap @@ -14,7 +14,6 @@ TestInvokeAuthorizer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_TestInvokeMethod.go.snap b/service/apigateway/snapshot/api_op_TestInvokeMethod.go.snap index 90ccf167eec..096f2dff353 100644 --- a/service/apigateway/snapshot/api_op_TestInvokeMethod.go.snap +++ b/service/apigateway/snapshot/api_op_TestInvokeMethod.go.snap @@ -14,7 +14,6 @@ TestInvokeMethod Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_UntagResource.go.snap b/service/apigateway/snapshot/api_op_UntagResource.go.snap index d5ab556010f..be5e6243037 100644 --- a/service/apigateway/snapshot/api_op_UntagResource.go.snap +++ b/service/apigateway/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_UpdateAccount.go.snap b/service/apigateway/snapshot/api_op_UpdateAccount.go.snap index f9fb02cf595..6069b44fc84 100644 --- a/service/apigateway/snapshot/api_op_UpdateAccount.go.snap +++ b/service/apigateway/snapshot/api_op_UpdateAccount.go.snap @@ -13,7 +13,6 @@ UpdateAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_UpdateApiKey.go.snap b/service/apigateway/snapshot/api_op_UpdateApiKey.go.snap index 77b3adfda5f..9a2ac7fb100 100644 --- a/service/apigateway/snapshot/api_op_UpdateApiKey.go.snap +++ b/service/apigateway/snapshot/api_op_UpdateApiKey.go.snap @@ -14,7 +14,6 @@ UpdateApiKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_UpdateAuthorizer.go.snap b/service/apigateway/snapshot/api_op_UpdateAuthorizer.go.snap index d3b661a9587..216c27c2a36 100644 --- a/service/apigateway/snapshot/api_op_UpdateAuthorizer.go.snap +++ b/service/apigateway/snapshot/api_op_UpdateAuthorizer.go.snap @@ -14,7 +14,6 @@ UpdateAuthorizer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_UpdateBasePathMapping.go.snap b/service/apigateway/snapshot/api_op_UpdateBasePathMapping.go.snap index 2ee28e9c2ec..c710a98f37e 100644 --- a/service/apigateway/snapshot/api_op_UpdateBasePathMapping.go.snap +++ b/service/apigateway/snapshot/api_op_UpdateBasePathMapping.go.snap @@ -14,7 +14,6 @@ UpdateBasePathMapping Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_UpdateClientCertificate.go.snap b/service/apigateway/snapshot/api_op_UpdateClientCertificate.go.snap index e6ef5c4921a..26d8879fd33 100644 --- a/service/apigateway/snapshot/api_op_UpdateClientCertificate.go.snap +++ b/service/apigateway/snapshot/api_op_UpdateClientCertificate.go.snap @@ -14,7 +14,6 @@ UpdateClientCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_UpdateDeployment.go.snap b/service/apigateway/snapshot/api_op_UpdateDeployment.go.snap index 1b444d862e0..7e38153399d 100644 --- a/service/apigateway/snapshot/api_op_UpdateDeployment.go.snap +++ b/service/apigateway/snapshot/api_op_UpdateDeployment.go.snap @@ -14,7 +14,6 @@ UpdateDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_UpdateDocumentationPart.go.snap b/service/apigateway/snapshot/api_op_UpdateDocumentationPart.go.snap index 3d77e372dbd..d54284bfe24 100644 --- a/service/apigateway/snapshot/api_op_UpdateDocumentationPart.go.snap +++ b/service/apigateway/snapshot/api_op_UpdateDocumentationPart.go.snap @@ -14,7 +14,6 @@ UpdateDocumentationPart Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_UpdateDocumentationVersion.go.snap b/service/apigateway/snapshot/api_op_UpdateDocumentationVersion.go.snap index 63732f86a15..a5ce0ba746e 100644 --- a/service/apigateway/snapshot/api_op_UpdateDocumentationVersion.go.snap +++ b/service/apigateway/snapshot/api_op_UpdateDocumentationVersion.go.snap @@ -14,7 +14,6 @@ UpdateDocumentationVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_UpdateDomainName.go.snap b/service/apigateway/snapshot/api_op_UpdateDomainName.go.snap index cde75f8a006..68b5d69968f 100644 --- a/service/apigateway/snapshot/api_op_UpdateDomainName.go.snap +++ b/service/apigateway/snapshot/api_op_UpdateDomainName.go.snap @@ -14,7 +14,6 @@ UpdateDomainName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_UpdateGatewayResponse.go.snap b/service/apigateway/snapshot/api_op_UpdateGatewayResponse.go.snap index bd7c8d8c77e..fdbbbf012e2 100644 --- a/service/apigateway/snapshot/api_op_UpdateGatewayResponse.go.snap +++ b/service/apigateway/snapshot/api_op_UpdateGatewayResponse.go.snap @@ -14,7 +14,6 @@ UpdateGatewayResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_UpdateIntegration.go.snap b/service/apigateway/snapshot/api_op_UpdateIntegration.go.snap index 75e0e20a871..a586b7b7b06 100644 --- a/service/apigateway/snapshot/api_op_UpdateIntegration.go.snap +++ b/service/apigateway/snapshot/api_op_UpdateIntegration.go.snap @@ -14,7 +14,6 @@ UpdateIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_UpdateIntegrationResponse.go.snap b/service/apigateway/snapshot/api_op_UpdateIntegrationResponse.go.snap index d9c51977a5b..051f0852849 100644 --- a/service/apigateway/snapshot/api_op_UpdateIntegrationResponse.go.snap +++ b/service/apigateway/snapshot/api_op_UpdateIntegrationResponse.go.snap @@ -14,7 +14,6 @@ UpdateIntegrationResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_UpdateMethod.go.snap b/service/apigateway/snapshot/api_op_UpdateMethod.go.snap index e7980c91439..63e4bb2fcb1 100644 --- a/service/apigateway/snapshot/api_op_UpdateMethod.go.snap +++ b/service/apigateway/snapshot/api_op_UpdateMethod.go.snap @@ -14,7 +14,6 @@ UpdateMethod Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_UpdateMethodResponse.go.snap b/service/apigateway/snapshot/api_op_UpdateMethodResponse.go.snap index 948419cdc35..a516ed63b3b 100644 --- a/service/apigateway/snapshot/api_op_UpdateMethodResponse.go.snap +++ b/service/apigateway/snapshot/api_op_UpdateMethodResponse.go.snap @@ -14,7 +14,6 @@ UpdateMethodResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_UpdateModel.go.snap b/service/apigateway/snapshot/api_op_UpdateModel.go.snap index 2acf692e990..b10b088369f 100644 --- a/service/apigateway/snapshot/api_op_UpdateModel.go.snap +++ b/service/apigateway/snapshot/api_op_UpdateModel.go.snap @@ -14,7 +14,6 @@ UpdateModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_UpdateRequestValidator.go.snap b/service/apigateway/snapshot/api_op_UpdateRequestValidator.go.snap index 281579f33fd..6bc27ec40aa 100644 --- a/service/apigateway/snapshot/api_op_UpdateRequestValidator.go.snap +++ b/service/apigateway/snapshot/api_op_UpdateRequestValidator.go.snap @@ -14,7 +14,6 @@ UpdateRequestValidator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_UpdateResource.go.snap b/service/apigateway/snapshot/api_op_UpdateResource.go.snap index f4e5a163e84..890169837d1 100644 --- a/service/apigateway/snapshot/api_op_UpdateResource.go.snap +++ b/service/apigateway/snapshot/api_op_UpdateResource.go.snap @@ -14,7 +14,6 @@ UpdateResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_UpdateRestApi.go.snap b/service/apigateway/snapshot/api_op_UpdateRestApi.go.snap index f33943751b9..3530ee46fd6 100644 --- a/service/apigateway/snapshot/api_op_UpdateRestApi.go.snap +++ b/service/apigateway/snapshot/api_op_UpdateRestApi.go.snap @@ -14,7 +14,6 @@ UpdateRestApi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_UpdateStage.go.snap b/service/apigateway/snapshot/api_op_UpdateStage.go.snap index 66f4211ba19..2e9a443540d 100644 --- a/service/apigateway/snapshot/api_op_UpdateStage.go.snap +++ b/service/apigateway/snapshot/api_op_UpdateStage.go.snap @@ -14,7 +14,6 @@ UpdateStage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_UpdateUsage.go.snap b/service/apigateway/snapshot/api_op_UpdateUsage.go.snap index 597def7dd0f..cbcfc347b50 100644 --- a/service/apigateway/snapshot/api_op_UpdateUsage.go.snap +++ b/service/apigateway/snapshot/api_op_UpdateUsage.go.snap @@ -14,7 +14,6 @@ UpdateUsage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_UpdateUsagePlan.go.snap b/service/apigateway/snapshot/api_op_UpdateUsagePlan.go.snap index 8e2d8d56ad8..e02e6dbc2aa 100644 --- a/service/apigateway/snapshot/api_op_UpdateUsagePlan.go.snap +++ b/service/apigateway/snapshot/api_op_UpdateUsagePlan.go.snap @@ -14,7 +14,6 @@ UpdateUsagePlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigateway/snapshot/api_op_UpdateVpcLink.go.snap b/service/apigateway/snapshot/api_op_UpdateVpcLink.go.snap index e223fbf2331..62cabc421dc 100644 --- a/service/apigateway/snapshot/api_op_UpdateVpcLink.go.snap +++ b/service/apigateway/snapshot/api_op_UpdateVpcLink.go.snap @@ -14,7 +14,6 @@ UpdateVpcLink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewaymanagementapi/api_client.go b/service/apigatewaymanagementapi/api_client.go index acb65402e0d..562fa53443b 100644 --- a/service/apigatewaymanagementapi/api_client.go +++ b/service/apigatewaymanagementapi/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/apigatewaymanagementapi/api_op_DeleteConnection.go b/service/apigatewaymanagementapi/api_op_DeleteConnection.go index 1f0e2a419c4..b179a5ccdf4 100644 --- a/service/apigatewaymanagementapi/api_op_DeleteConnection.go +++ b/service/apigatewaymanagementapi/api_op_DeleteConnection.go @@ -105,9 +105,6 @@ func (c *Client) addOperationDeleteConnectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewaymanagementapi/api_op_GetConnection.go b/service/apigatewaymanagementapi/api_op_GetConnection.go index baf9396705d..7bcda94be4c 100644 --- a/service/apigatewaymanagementapi/api_op_GetConnection.go +++ b/service/apigatewaymanagementapi/api_op_GetConnection.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetConnectionMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewaymanagementapi/api_op_PostToConnection.go b/service/apigatewaymanagementapi/api_op_PostToConnection.go index 340e69fae70..86adaae8faf 100644 --- a/service/apigatewaymanagementapi/api_op_PostToConnection.go +++ b/service/apigatewaymanagementapi/api_op_PostToConnection.go @@ -112,9 +112,6 @@ func (c *Client) addOperationPostToConnectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPostToConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewaymanagementapi/snapshot/api_op_DeleteConnection.go.snap b/service/apigatewaymanagementapi/snapshot/api_op_DeleteConnection.go.snap index 95b646dafd7..a9cca584913 100644 --- a/service/apigatewaymanagementapi/snapshot/api_op_DeleteConnection.go.snap +++ b/service/apigatewaymanagementapi/snapshot/api_op_DeleteConnection.go.snap @@ -14,7 +14,6 @@ DeleteConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewaymanagementapi/snapshot/api_op_GetConnection.go.snap b/service/apigatewaymanagementapi/snapshot/api_op_GetConnection.go.snap index b305d4ada6d..b6411ef260a 100644 --- a/service/apigatewaymanagementapi/snapshot/api_op_GetConnection.go.snap +++ b/service/apigatewaymanagementapi/snapshot/api_op_GetConnection.go.snap @@ -14,7 +14,6 @@ GetConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewaymanagementapi/snapshot/api_op_PostToConnection.go.snap b/service/apigatewaymanagementapi/snapshot/api_op_PostToConnection.go.snap index b625e8764d7..eded36eb47e 100644 --- a/service/apigatewaymanagementapi/snapshot/api_op_PostToConnection.go.snap +++ b/service/apigatewaymanagementapi/snapshot/api_op_PostToConnection.go.snap @@ -14,7 +14,6 @@ PostToConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/api_client.go b/service/apigatewayv2/api_client.go index e7a1c2109b3..1323fe33b7a 100644 --- a/service/apigatewayv2/api_client.go +++ b/service/apigatewayv2/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/apigatewayv2/api_op_CreateApi.go b/service/apigatewayv2/api_op_CreateApi.go index 8b43704ebca..3cad3f09209 100644 --- a/service/apigatewayv2/api_op_CreateApi.go +++ b/service/apigatewayv2/api_op_CreateApi.go @@ -241,9 +241,6 @@ func (c *Client) addOperationCreateApiMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateApiValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_CreateApiMapping.go b/service/apigatewayv2/api_op_CreateApiMapping.go index b7224aa6e48..b7e99760186 100644 --- a/service/apigatewayv2/api_op_CreateApiMapping.go +++ b/service/apigatewayv2/api_op_CreateApiMapping.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCreateApiMappingMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateApiMappingValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_CreateAuthorizer.go b/service/apigatewayv2/api_op_CreateAuthorizer.go index 1cac900475b..3773f6f539f 100644 --- a/service/apigatewayv2/api_op_CreateAuthorizer.go +++ b/service/apigatewayv2/api_op_CreateAuthorizer.go @@ -276,9 +276,6 @@ func (c *Client) addOperationCreateAuthorizerMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAuthorizerValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_CreateDeployment.go b/service/apigatewayv2/api_op_CreateDeployment.go index 5ccde562e9a..434ca7b801f 100644 --- a/service/apigatewayv2/api_op_CreateDeployment.go +++ b/service/apigatewayv2/api_op_CreateDeployment.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateDeploymentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_CreateDomainName.go b/service/apigatewayv2/api_op_CreateDomainName.go index 5d58710682c..0fb17287f7b 100644 --- a/service/apigatewayv2/api_op_CreateDomainName.go +++ b/service/apigatewayv2/api_op_CreateDomainName.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCreateDomainNameMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDomainNameValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_CreateIntegration.go b/service/apigatewayv2/api_op_CreateIntegration.go index 384de2747a9..e261fa72cc6 100644 --- a/service/apigatewayv2/api_op_CreateIntegration.go +++ b/service/apigatewayv2/api_op_CreateIntegration.go @@ -462,9 +462,6 @@ func (c *Client) addOperationCreateIntegrationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateIntegrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_CreateIntegrationResponse.go b/service/apigatewayv2/api_op_CreateIntegrationResponse.go index d1c0d2f1b9a..6d2538bab14 100644 --- a/service/apigatewayv2/api_op_CreateIntegrationResponse.go +++ b/service/apigatewayv2/api_op_CreateIntegrationResponse.go @@ -198,9 +198,6 @@ func (c *Client) addOperationCreateIntegrationResponseMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateIntegrationResponseValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_CreateModel.go b/service/apigatewayv2/api_op_CreateModel.go index 200eecc03e6..1848f6f36ac 100644 --- a/service/apigatewayv2/api_op_CreateModel.go +++ b/service/apigatewayv2/api_op_CreateModel.go @@ -142,9 +142,6 @@ func (c *Client) addOperationCreateModelMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_CreateRoute.go b/service/apigatewayv2/api_op_CreateRoute.go index 7a07c41cbe3..0c1162e0ed6 100644 --- a/service/apigatewayv2/api_op_CreateRoute.go +++ b/service/apigatewayv2/api_op_CreateRoute.go @@ -208,9 +208,6 @@ func (c *Client) addOperationCreateRouteMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRouteValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_CreateRouteResponse.go b/service/apigatewayv2/api_op_CreateRouteResponse.go index 907c9e71f73..cfbb3cb8a8b 100644 --- a/service/apigatewayv2/api_op_CreateRouteResponse.go +++ b/service/apigatewayv2/api_op_CreateRouteResponse.go @@ -146,9 +146,6 @@ func (c *Client) addOperationCreateRouteResponseMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRouteResponseValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_CreateStage.go b/service/apigatewayv2/api_op_CreateStage.go index 8da2e695851..7a758655aad 100644 --- a/service/apigatewayv2/api_op_CreateStage.go +++ b/service/apigatewayv2/api_op_CreateStage.go @@ -197,9 +197,6 @@ func (c *Client) addOperationCreateStageMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateStageValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_CreateVpcLink.go b/service/apigatewayv2/api_op_CreateVpcLink.go index fc9fa2fd062..812892f2679 100644 --- a/service/apigatewayv2/api_op_CreateVpcLink.go +++ b/service/apigatewayv2/api_op_CreateVpcLink.go @@ -149,9 +149,6 @@ func (c *Client) addOperationCreateVpcLinkMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVpcLinkValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_DeleteAccessLogSettings.go b/service/apigatewayv2/api_op_DeleteAccessLogSettings.go index 9785ed6ac1a..f8dd7f14461 100644 --- a/service/apigatewayv2/api_op_DeleteAccessLogSettings.go +++ b/service/apigatewayv2/api_op_DeleteAccessLogSettings.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteAccessLogSettingsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAccessLogSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_DeleteApi.go b/service/apigatewayv2/api_op_DeleteApi.go index f2b75a65707..015e21a118a 100644 --- a/service/apigatewayv2/api_op_DeleteApi.go +++ b/service/apigatewayv2/api_op_DeleteApi.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteApiMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApiValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_DeleteApiMapping.go b/service/apigatewayv2/api_op_DeleteApiMapping.go index ba6d057f28d..f22a91b5076 100644 --- a/service/apigatewayv2/api_op_DeleteApiMapping.go +++ b/service/apigatewayv2/api_op_DeleteApiMapping.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteApiMappingMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApiMappingValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_DeleteAuthorizer.go b/service/apigatewayv2/api_op_DeleteAuthorizer.go index 93221baac32..c3b18f02f2d 100644 --- a/service/apigatewayv2/api_op_DeleteAuthorizer.go +++ b/service/apigatewayv2/api_op_DeleteAuthorizer.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteAuthorizerMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAuthorizerValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_DeleteCorsConfiguration.go b/service/apigatewayv2/api_op_DeleteCorsConfiguration.go index bd8236484e2..722808c9dfc 100644 --- a/service/apigatewayv2/api_op_DeleteCorsConfiguration.go +++ b/service/apigatewayv2/api_op_DeleteCorsConfiguration.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteCorsConfigurationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCorsConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_DeleteDeployment.go b/service/apigatewayv2/api_op_DeleteDeployment.go index af850457ef9..d77efdf0720 100644 --- a/service/apigatewayv2/api_op_DeleteDeployment.go +++ b/service/apigatewayv2/api_op_DeleteDeployment.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteDeploymentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_DeleteDomainName.go b/service/apigatewayv2/api_op_DeleteDomainName.go index 4ff5c4779d7..515d8b8d757 100644 --- a/service/apigatewayv2/api_op_DeleteDomainName.go +++ b/service/apigatewayv2/api_op_DeleteDomainName.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteDomainNameMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDomainNameValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_DeleteIntegration.go b/service/apigatewayv2/api_op_DeleteIntegration.go index 0fdba235b4e..ecba65655e5 100644 --- a/service/apigatewayv2/api_op_DeleteIntegration.go +++ b/service/apigatewayv2/api_op_DeleteIntegration.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteIntegrationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIntegrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_DeleteIntegrationResponse.go b/service/apigatewayv2/api_op_DeleteIntegrationResponse.go index 0aa5cff4726..31901f98ee7 100644 --- a/service/apigatewayv2/api_op_DeleteIntegrationResponse.go +++ b/service/apigatewayv2/api_op_DeleteIntegrationResponse.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteIntegrationResponseMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIntegrationResponseValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_DeleteModel.go b/service/apigatewayv2/api_op_DeleteModel.go index 6719af9c42a..a235c96dd1a 100644 --- a/service/apigatewayv2/api_op_DeleteModel.go +++ b/service/apigatewayv2/api_op_DeleteModel.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteModelMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_DeleteRoute.go b/service/apigatewayv2/api_op_DeleteRoute.go index bb2de1e39f7..c75f05fed4c 100644 --- a/service/apigatewayv2/api_op_DeleteRoute.go +++ b/service/apigatewayv2/api_op_DeleteRoute.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteRouteMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRouteValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_DeleteRouteRequestParameter.go b/service/apigatewayv2/api_op_DeleteRouteRequestParameter.go index 0967316cc06..e757aab3553 100644 --- a/service/apigatewayv2/api_op_DeleteRouteRequestParameter.go +++ b/service/apigatewayv2/api_op_DeleteRouteRequestParameter.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteRouteRequestParameterMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRouteRequestParameterValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_DeleteRouteResponse.go b/service/apigatewayv2/api_op_DeleteRouteResponse.go index 8f5bf6f205d..dee6d59d4b2 100644 --- a/service/apigatewayv2/api_op_DeleteRouteResponse.go +++ b/service/apigatewayv2/api_op_DeleteRouteResponse.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteRouteResponseMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRouteResponseValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_DeleteRouteSettings.go b/service/apigatewayv2/api_op_DeleteRouteSettings.go index eeaf821ee02..ae137b7408b 100644 --- a/service/apigatewayv2/api_op_DeleteRouteSettings.go +++ b/service/apigatewayv2/api_op_DeleteRouteSettings.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteRouteSettingsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRouteSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_DeleteStage.go b/service/apigatewayv2/api_op_DeleteStage.go index f2c37c76b9e..17e485bd010 100644 --- a/service/apigatewayv2/api_op_DeleteStage.go +++ b/service/apigatewayv2/api_op_DeleteStage.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteStageMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteStageValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_DeleteVpcLink.go b/service/apigatewayv2/api_op_DeleteVpcLink.go index 66537794626..56cd610f827 100644 --- a/service/apigatewayv2/api_op_DeleteVpcLink.go +++ b/service/apigatewayv2/api_op_DeleteVpcLink.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteVpcLinkMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVpcLinkValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_ExportApi.go b/service/apigatewayv2/api_op_ExportApi.go index f4f9ced87af..8eeb58be260 100644 --- a/service/apigatewayv2/api_op_ExportApi.go +++ b/service/apigatewayv2/api_op_ExportApi.go @@ -137,9 +137,6 @@ func (c *Client) addOperationExportApiMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExportApiValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetApi.go b/service/apigatewayv2/api_op_GetApi.go index d48964091b5..75445707bb7 100644 --- a/service/apigatewayv2/api_op_GetApi.go +++ b/service/apigatewayv2/api_op_GetApi.go @@ -175,9 +175,6 @@ func (c *Client) addOperationGetApiMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApiValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetApiMapping.go b/service/apigatewayv2/api_op_GetApiMapping.go index a870a8f738c..59fda564ba7 100644 --- a/service/apigatewayv2/api_op_GetApiMapping.go +++ b/service/apigatewayv2/api_op_GetApiMapping.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetApiMappingMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApiMappingValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetApiMappings.go b/service/apigatewayv2/api_op_GetApiMappings.go index 4f2d0658927..80eb129ffcf 100644 --- a/service/apigatewayv2/api_op_GetApiMappings.go +++ b/service/apigatewayv2/api_op_GetApiMappings.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetApiMappingsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApiMappingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetApis.go b/service/apigatewayv2/api_op_GetApis.go index 212b2d4e6e2..0ea20f3793d 100644 --- a/service/apigatewayv2/api_op_GetApis.go +++ b/service/apigatewayv2/api_op_GetApis.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetApisMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApis(options.Region), middleware.Before); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetAuthorizer.go b/service/apigatewayv2/api_op_GetAuthorizer.go index 60a4c9d7607..2e12b4b6976 100644 --- a/service/apigatewayv2/api_op_GetAuthorizer.go +++ b/service/apigatewayv2/api_op_GetAuthorizer.go @@ -195,9 +195,6 @@ func (c *Client) addOperationGetAuthorizerMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAuthorizerValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetAuthorizers.go b/service/apigatewayv2/api_op_GetAuthorizers.go index 550c8d66657..89fc4dd17fb 100644 --- a/service/apigatewayv2/api_op_GetAuthorizers.go +++ b/service/apigatewayv2/api_op_GetAuthorizers.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetAuthorizersMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAuthorizersValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetDeployment.go b/service/apigatewayv2/api_op_GetDeployment.go index 69bc92540b2..48174f4cba5 100644 --- a/service/apigatewayv2/api_op_GetDeployment.go +++ b/service/apigatewayv2/api_op_GetDeployment.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetDeploymentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetDeployments.go b/service/apigatewayv2/api_op_GetDeployments.go index c1f1d6674ef..dfb5beb929b 100644 --- a/service/apigatewayv2/api_op_GetDeployments.go +++ b/service/apigatewayv2/api_op_GetDeployments.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetDeploymentsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeploymentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetDomainName.go b/service/apigatewayv2/api_op_GetDomainName.go index 903d498b850..41d8832a019 100644 --- a/service/apigatewayv2/api_op_GetDomainName.go +++ b/service/apigatewayv2/api_op_GetDomainName.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetDomainNameMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDomainNameValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetDomainNames.go b/service/apigatewayv2/api_op_GetDomainNames.go index a0407009ea5..8596b68572e 100644 --- a/service/apigatewayv2/api_op_GetDomainNames.go +++ b/service/apigatewayv2/api_op_GetDomainNames.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetDomainNamesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDomainNames(options.Region), middleware.Before); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetIntegration.go b/service/apigatewayv2/api_op_GetIntegration.go index 7b3f11b65cd..b0982720152 100644 --- a/service/apigatewayv2/api_op_GetIntegration.go +++ b/service/apigatewayv2/api_op_GetIntegration.go @@ -296,9 +296,6 @@ func (c *Client) addOperationGetIntegrationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIntegrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetIntegrationResponse.go b/service/apigatewayv2/api_op_GetIntegrationResponse.go index a4034950012..b337db54871 100644 --- a/service/apigatewayv2/api_op_GetIntegrationResponse.go +++ b/service/apigatewayv2/api_op_GetIntegrationResponse.go @@ -161,9 +161,6 @@ func (c *Client) addOperationGetIntegrationResponseMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIntegrationResponseValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetIntegrationResponses.go b/service/apigatewayv2/api_op_GetIntegrationResponses.go index caf950c17cf..5e5c730dcea 100644 --- a/service/apigatewayv2/api_op_GetIntegrationResponses.go +++ b/service/apigatewayv2/api_op_GetIntegrationResponses.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetIntegrationResponsesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIntegrationResponsesValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetIntegrations.go b/service/apigatewayv2/api_op_GetIntegrations.go index 824ef536a0c..0d5fdc0a846 100644 --- a/service/apigatewayv2/api_op_GetIntegrations.go +++ b/service/apigatewayv2/api_op_GetIntegrations.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetIntegrationsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIntegrationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetModel.go b/service/apigatewayv2/api_op_GetModel.go index a522ce2ad95..1ba09b3be4f 100644 --- a/service/apigatewayv2/api_op_GetModel.go +++ b/service/apigatewayv2/api_op_GetModel.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGetModelMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetModelTemplate.go b/service/apigatewayv2/api_op_GetModelTemplate.go index 7d188dfc325..da4c917b253 100644 --- a/service/apigatewayv2/api_op_GetModelTemplate.go +++ b/service/apigatewayv2/api_op_GetModelTemplate.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetModelTemplateMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetModelTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetModels.go b/service/apigatewayv2/api_op_GetModels.go index 0de70595fb1..921405ca406 100644 --- a/service/apigatewayv2/api_op_GetModels.go +++ b/service/apigatewayv2/api_op_GetModels.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetModelsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetModelsValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetRoute.go b/service/apigatewayv2/api_op_GetRoute.go index feaaa6acec0..fd353b3baff 100644 --- a/service/apigatewayv2/api_op_GetRoute.go +++ b/service/apigatewayv2/api_op_GetRoute.go @@ -169,9 +169,6 @@ func (c *Client) addOperationGetRouteMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRouteValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetRouteResponse.go b/service/apigatewayv2/api_op_GetRouteResponse.go index 25c8469d996..bc7a84cdf70 100644 --- a/service/apigatewayv2/api_op_GetRouteResponse.go +++ b/service/apigatewayv2/api_op_GetRouteResponse.go @@ -135,9 +135,6 @@ func (c *Client) addOperationGetRouteResponseMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRouteResponseValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetRouteResponses.go b/service/apigatewayv2/api_op_GetRouteResponses.go index b78c3675bc4..d9dacd9046b 100644 --- a/service/apigatewayv2/api_op_GetRouteResponses.go +++ b/service/apigatewayv2/api_op_GetRouteResponses.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetRouteResponsesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRouteResponsesValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetRoutes.go b/service/apigatewayv2/api_op_GetRoutes.go index 2d6897519a1..6e8f98da030 100644 --- a/service/apigatewayv2/api_op_GetRoutes.go +++ b/service/apigatewayv2/api_op_GetRoutes.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetRoutesMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRoutesValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetStage.go b/service/apigatewayv2/api_op_GetStage.go index a6e9fabee8a..ff5757217c6 100644 --- a/service/apigatewayv2/api_op_GetStage.go +++ b/service/apigatewayv2/api_op_GetStage.go @@ -166,9 +166,6 @@ func (c *Client) addOperationGetStageMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetStageValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetStages.go b/service/apigatewayv2/api_op_GetStages.go index 5a5518ea5f4..14f8600fcdf 100644 --- a/service/apigatewayv2/api_op_GetStages.go +++ b/service/apigatewayv2/api_op_GetStages.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetStagesMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetStagesValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetTags.go b/service/apigatewayv2/api_op_GetTags.go index 16910253d38..2e7fb22397d 100644 --- a/service/apigatewayv2/api_op_GetTags.go +++ b/service/apigatewayv2/api_op_GetTags.go @@ -111,9 +111,6 @@ func (c *Client) addOperationGetTagsMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetVpcLink.go b/service/apigatewayv2/api_op_GetVpcLink.go index 4712a425fa2..0b1ec4ed474 100644 --- a/service/apigatewayv2/api_op_GetVpcLink.go +++ b/service/apigatewayv2/api_op_GetVpcLink.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGetVpcLinkMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVpcLinkValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_GetVpcLinks.go b/service/apigatewayv2/api_op_GetVpcLinks.go index e15b3bf666b..454eb11a5d9 100644 --- a/service/apigatewayv2/api_op_GetVpcLinks.go +++ b/service/apigatewayv2/api_op_GetVpcLinks.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetVpcLinksMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVpcLinks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/apigatewayv2/api_op_ImportApi.go b/service/apigatewayv2/api_op_ImportApi.go index 7a85f09bfc4..e162f7cf2fa 100644 --- a/service/apigatewayv2/api_op_ImportApi.go +++ b/service/apigatewayv2/api_op_ImportApi.go @@ -186,9 +186,6 @@ func (c *Client) addOperationImportApiMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportApiValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_ReimportApi.go b/service/apigatewayv2/api_op_ReimportApi.go index 4d10c3874ee..ef5577e1b23 100644 --- a/service/apigatewayv2/api_op_ReimportApi.go +++ b/service/apigatewayv2/api_op_ReimportApi.go @@ -191,9 +191,6 @@ func (c *Client) addOperationReimportApiMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpReimportApiValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_ResetAuthorizersCache.go b/service/apigatewayv2/api_op_ResetAuthorizersCache.go index 632425dfecb..ca2f6573032 100644 --- a/service/apigatewayv2/api_op_ResetAuthorizersCache.go +++ b/service/apigatewayv2/api_op_ResetAuthorizersCache.go @@ -113,9 +113,6 @@ func (c *Client) addOperationResetAuthorizersCacheMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResetAuthorizersCacheValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_TagResource.go b/service/apigatewayv2/api_op_TagResource.go index 217233178d4..ba06aac3f56 100644 --- a/service/apigatewayv2/api_op_TagResource.go +++ b/service/apigatewayv2/api_op_TagResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_UntagResource.go b/service/apigatewayv2/api_op_UntagResource.go index 068cd197be0..58f0818d22d 100644 --- a/service/apigatewayv2/api_op_UntagResource.go +++ b/service/apigatewayv2/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_UpdateApi.go b/service/apigatewayv2/api_op_UpdateApi.go index 5dd4e4dfdc5..42b416e6703 100644 --- a/service/apigatewayv2/api_op_UpdateApi.go +++ b/service/apigatewayv2/api_op_UpdateApi.go @@ -234,9 +234,6 @@ func (c *Client) addOperationUpdateApiMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApiValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_UpdateApiMapping.go b/service/apigatewayv2/api_op_UpdateApiMapping.go index bca258879de..6863d66815c 100644 --- a/service/apigatewayv2/api_op_UpdateApiMapping.go +++ b/service/apigatewayv2/api_op_UpdateApiMapping.go @@ -137,9 +137,6 @@ func (c *Client) addOperationUpdateApiMappingMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApiMappingValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_UpdateAuthorizer.go b/service/apigatewayv2/api_op_UpdateAuthorizer.go index b8bd7a121dc..524098f6eb0 100644 --- a/service/apigatewayv2/api_op_UpdateAuthorizer.go +++ b/service/apigatewayv2/api_op_UpdateAuthorizer.go @@ -275,9 +275,6 @@ func (c *Client) addOperationUpdateAuthorizerMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAuthorizerValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_UpdateDeployment.go b/service/apigatewayv2/api_op_UpdateDeployment.go index a12166e157f..5bc6b68812c 100644 --- a/service/apigatewayv2/api_op_UpdateDeployment.go +++ b/service/apigatewayv2/api_op_UpdateDeployment.go @@ -137,9 +137,6 @@ func (c *Client) addOperationUpdateDeploymentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_UpdateDomainName.go b/service/apigatewayv2/api_op_UpdateDomainName.go index 84a4e73a256..2b90f478932 100644 --- a/service/apigatewayv2/api_op_UpdateDomainName.go +++ b/service/apigatewayv2/api_op_UpdateDomainName.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateDomainNameMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDomainNameValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_UpdateIntegration.go b/service/apigatewayv2/api_op_UpdateIntegration.go index 207ddc537e7..5de4a449a2e 100644 --- a/service/apigatewayv2/api_op_UpdateIntegration.go +++ b/service/apigatewayv2/api_op_UpdateIntegration.go @@ -465,9 +465,6 @@ func (c *Client) addOperationUpdateIntegrationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateIntegrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_UpdateIntegrationResponse.go b/service/apigatewayv2/api_op_UpdateIntegrationResponse.go index 2dea61d8b99..00e9432251a 100644 --- a/service/apigatewayv2/api_op_UpdateIntegrationResponse.go +++ b/service/apigatewayv2/api_op_UpdateIntegrationResponse.go @@ -202,9 +202,6 @@ func (c *Client) addOperationUpdateIntegrationResponseMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateIntegrationResponseValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_UpdateModel.go b/service/apigatewayv2/api_op_UpdateModel.go index 0215bdfe136..b8e1a8f5967 100644 --- a/service/apigatewayv2/api_op_UpdateModel.go +++ b/service/apigatewayv2/api_op_UpdateModel.go @@ -143,9 +143,6 @@ func (c *Client) addOperationUpdateModelMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_UpdateRoute.go b/service/apigatewayv2/api_op_UpdateRoute.go index ffcec7cc4bc..63609990264 100644 --- a/service/apigatewayv2/api_op_UpdateRoute.go +++ b/service/apigatewayv2/api_op_UpdateRoute.go @@ -211,9 +211,6 @@ func (c *Client) addOperationUpdateRouteMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRouteValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_UpdateRouteResponse.go b/service/apigatewayv2/api_op_UpdateRouteResponse.go index e0a6ebc52dc..1e230e0c063 100644 --- a/service/apigatewayv2/api_op_UpdateRouteResponse.go +++ b/service/apigatewayv2/api_op_UpdateRouteResponse.go @@ -149,9 +149,6 @@ func (c *Client) addOperationUpdateRouteResponseMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRouteResponseValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_UpdateStage.go b/service/apigatewayv2/api_op_UpdateStage.go index f13a659f647..7ef3342806a 100644 --- a/service/apigatewayv2/api_op_UpdateStage.go +++ b/service/apigatewayv2/api_op_UpdateStage.go @@ -195,9 +195,6 @@ func (c *Client) addOperationUpdateStageMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateStageValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/api_op_UpdateVpcLink.go b/service/apigatewayv2/api_op_UpdateVpcLink.go index e6c9cf4f882..3f937a34faa 100644 --- a/service/apigatewayv2/api_op_UpdateVpcLink.go +++ b/service/apigatewayv2/api_op_UpdateVpcLink.go @@ -141,9 +141,6 @@ func (c *Client) addOperationUpdateVpcLinkMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateVpcLinkValidationMiddleware(stack); err != nil { return err } diff --git a/service/apigatewayv2/snapshot/api_op_CreateApi.go.snap b/service/apigatewayv2/snapshot/api_op_CreateApi.go.snap index c86fe52f9de..54f3f19238c 100644 --- a/service/apigatewayv2/snapshot/api_op_CreateApi.go.snap +++ b/service/apigatewayv2/snapshot/api_op_CreateApi.go.snap @@ -14,7 +14,6 @@ CreateApi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_CreateApiMapping.go.snap b/service/apigatewayv2/snapshot/api_op_CreateApiMapping.go.snap index 7219aa8096b..c9b40613dd6 100644 --- a/service/apigatewayv2/snapshot/api_op_CreateApiMapping.go.snap +++ b/service/apigatewayv2/snapshot/api_op_CreateApiMapping.go.snap @@ -14,7 +14,6 @@ CreateApiMapping Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_CreateAuthorizer.go.snap b/service/apigatewayv2/snapshot/api_op_CreateAuthorizer.go.snap index 9149c223ef9..d979f6feb63 100644 --- a/service/apigatewayv2/snapshot/api_op_CreateAuthorizer.go.snap +++ b/service/apigatewayv2/snapshot/api_op_CreateAuthorizer.go.snap @@ -14,7 +14,6 @@ CreateAuthorizer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_CreateDeployment.go.snap b/service/apigatewayv2/snapshot/api_op_CreateDeployment.go.snap index 6a95eb66d05..3334cbaf46f 100644 --- a/service/apigatewayv2/snapshot/api_op_CreateDeployment.go.snap +++ b/service/apigatewayv2/snapshot/api_op_CreateDeployment.go.snap @@ -14,7 +14,6 @@ CreateDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_CreateDomainName.go.snap b/service/apigatewayv2/snapshot/api_op_CreateDomainName.go.snap index d0379086de7..0462bf307f9 100644 --- a/service/apigatewayv2/snapshot/api_op_CreateDomainName.go.snap +++ b/service/apigatewayv2/snapshot/api_op_CreateDomainName.go.snap @@ -14,7 +14,6 @@ CreateDomainName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_CreateIntegration.go.snap b/service/apigatewayv2/snapshot/api_op_CreateIntegration.go.snap index c23fbf5af89..d22fcfb6a4e 100644 --- a/service/apigatewayv2/snapshot/api_op_CreateIntegration.go.snap +++ b/service/apigatewayv2/snapshot/api_op_CreateIntegration.go.snap @@ -14,7 +14,6 @@ CreateIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_CreateIntegrationResponse.go.snap b/service/apigatewayv2/snapshot/api_op_CreateIntegrationResponse.go.snap index ec86ad8ad89..ba704b71f5e 100644 --- a/service/apigatewayv2/snapshot/api_op_CreateIntegrationResponse.go.snap +++ b/service/apigatewayv2/snapshot/api_op_CreateIntegrationResponse.go.snap @@ -14,7 +14,6 @@ CreateIntegrationResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_CreateModel.go.snap b/service/apigatewayv2/snapshot/api_op_CreateModel.go.snap index 362f06e40d9..977cbdf5ef8 100644 --- a/service/apigatewayv2/snapshot/api_op_CreateModel.go.snap +++ b/service/apigatewayv2/snapshot/api_op_CreateModel.go.snap @@ -14,7 +14,6 @@ CreateModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_CreateRoute.go.snap b/service/apigatewayv2/snapshot/api_op_CreateRoute.go.snap index e2c6f361a94..2d9cadacdfe 100644 --- a/service/apigatewayv2/snapshot/api_op_CreateRoute.go.snap +++ b/service/apigatewayv2/snapshot/api_op_CreateRoute.go.snap @@ -14,7 +14,6 @@ CreateRoute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_CreateRouteResponse.go.snap b/service/apigatewayv2/snapshot/api_op_CreateRouteResponse.go.snap index 7554aea2233..4321961c864 100644 --- a/service/apigatewayv2/snapshot/api_op_CreateRouteResponse.go.snap +++ b/service/apigatewayv2/snapshot/api_op_CreateRouteResponse.go.snap @@ -14,7 +14,6 @@ CreateRouteResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_CreateStage.go.snap b/service/apigatewayv2/snapshot/api_op_CreateStage.go.snap index c342e56fe51..a7c7072ae79 100644 --- a/service/apigatewayv2/snapshot/api_op_CreateStage.go.snap +++ b/service/apigatewayv2/snapshot/api_op_CreateStage.go.snap @@ -14,7 +14,6 @@ CreateStage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_CreateVpcLink.go.snap b/service/apigatewayv2/snapshot/api_op_CreateVpcLink.go.snap index 8c67a6b2b15..cd2fb7b7144 100644 --- a/service/apigatewayv2/snapshot/api_op_CreateVpcLink.go.snap +++ b/service/apigatewayv2/snapshot/api_op_CreateVpcLink.go.snap @@ -14,7 +14,6 @@ CreateVpcLink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_DeleteAccessLogSettings.go.snap b/service/apigatewayv2/snapshot/api_op_DeleteAccessLogSettings.go.snap index 4758882aa36..af1f2a650fb 100644 --- a/service/apigatewayv2/snapshot/api_op_DeleteAccessLogSettings.go.snap +++ b/service/apigatewayv2/snapshot/api_op_DeleteAccessLogSettings.go.snap @@ -14,7 +14,6 @@ DeleteAccessLogSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_DeleteApi.go.snap b/service/apigatewayv2/snapshot/api_op_DeleteApi.go.snap index 15776b88e70..58e59958509 100644 --- a/service/apigatewayv2/snapshot/api_op_DeleteApi.go.snap +++ b/service/apigatewayv2/snapshot/api_op_DeleteApi.go.snap @@ -14,7 +14,6 @@ DeleteApi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_DeleteApiMapping.go.snap b/service/apigatewayv2/snapshot/api_op_DeleteApiMapping.go.snap index 8aea9089022..be4b9e37140 100644 --- a/service/apigatewayv2/snapshot/api_op_DeleteApiMapping.go.snap +++ b/service/apigatewayv2/snapshot/api_op_DeleteApiMapping.go.snap @@ -14,7 +14,6 @@ DeleteApiMapping Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_DeleteAuthorizer.go.snap b/service/apigatewayv2/snapshot/api_op_DeleteAuthorizer.go.snap index 6df61fc1ee1..7e9da3fa1ff 100644 --- a/service/apigatewayv2/snapshot/api_op_DeleteAuthorizer.go.snap +++ b/service/apigatewayv2/snapshot/api_op_DeleteAuthorizer.go.snap @@ -14,7 +14,6 @@ DeleteAuthorizer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_DeleteCorsConfiguration.go.snap b/service/apigatewayv2/snapshot/api_op_DeleteCorsConfiguration.go.snap index 7d18d553538..918dd4274e7 100644 --- a/service/apigatewayv2/snapshot/api_op_DeleteCorsConfiguration.go.snap +++ b/service/apigatewayv2/snapshot/api_op_DeleteCorsConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteCorsConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_DeleteDeployment.go.snap b/service/apigatewayv2/snapshot/api_op_DeleteDeployment.go.snap index e7a35d80b4f..964f6b772df 100644 --- a/service/apigatewayv2/snapshot/api_op_DeleteDeployment.go.snap +++ b/service/apigatewayv2/snapshot/api_op_DeleteDeployment.go.snap @@ -14,7 +14,6 @@ DeleteDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_DeleteDomainName.go.snap b/service/apigatewayv2/snapshot/api_op_DeleteDomainName.go.snap index 4b6d086a914..b9235856f40 100644 --- a/service/apigatewayv2/snapshot/api_op_DeleteDomainName.go.snap +++ b/service/apigatewayv2/snapshot/api_op_DeleteDomainName.go.snap @@ -14,7 +14,6 @@ DeleteDomainName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_DeleteIntegration.go.snap b/service/apigatewayv2/snapshot/api_op_DeleteIntegration.go.snap index b138e678938..cc8fc148389 100644 --- a/service/apigatewayv2/snapshot/api_op_DeleteIntegration.go.snap +++ b/service/apigatewayv2/snapshot/api_op_DeleteIntegration.go.snap @@ -14,7 +14,6 @@ DeleteIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_DeleteIntegrationResponse.go.snap b/service/apigatewayv2/snapshot/api_op_DeleteIntegrationResponse.go.snap index 40b7a2ce5c2..9758adcb0f8 100644 --- a/service/apigatewayv2/snapshot/api_op_DeleteIntegrationResponse.go.snap +++ b/service/apigatewayv2/snapshot/api_op_DeleteIntegrationResponse.go.snap @@ -14,7 +14,6 @@ DeleteIntegrationResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_DeleteModel.go.snap b/service/apigatewayv2/snapshot/api_op_DeleteModel.go.snap index e7d81439c82..4e87eb729a8 100644 --- a/service/apigatewayv2/snapshot/api_op_DeleteModel.go.snap +++ b/service/apigatewayv2/snapshot/api_op_DeleteModel.go.snap @@ -14,7 +14,6 @@ DeleteModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_DeleteRoute.go.snap b/service/apigatewayv2/snapshot/api_op_DeleteRoute.go.snap index ec3f8a11fa2..8d7b1473a8c 100644 --- a/service/apigatewayv2/snapshot/api_op_DeleteRoute.go.snap +++ b/service/apigatewayv2/snapshot/api_op_DeleteRoute.go.snap @@ -14,7 +14,6 @@ DeleteRoute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_DeleteRouteRequestParameter.go.snap b/service/apigatewayv2/snapshot/api_op_DeleteRouteRequestParameter.go.snap index 9596cea878a..a78d3e74012 100644 --- a/service/apigatewayv2/snapshot/api_op_DeleteRouteRequestParameter.go.snap +++ b/service/apigatewayv2/snapshot/api_op_DeleteRouteRequestParameter.go.snap @@ -14,7 +14,6 @@ DeleteRouteRequestParameter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_DeleteRouteResponse.go.snap b/service/apigatewayv2/snapshot/api_op_DeleteRouteResponse.go.snap index 85e7d46e680..5e7da9535d6 100644 --- a/service/apigatewayv2/snapshot/api_op_DeleteRouteResponse.go.snap +++ b/service/apigatewayv2/snapshot/api_op_DeleteRouteResponse.go.snap @@ -14,7 +14,6 @@ DeleteRouteResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_DeleteRouteSettings.go.snap b/service/apigatewayv2/snapshot/api_op_DeleteRouteSettings.go.snap index 4c85b514eed..4c215e3a6b2 100644 --- a/service/apigatewayv2/snapshot/api_op_DeleteRouteSettings.go.snap +++ b/service/apigatewayv2/snapshot/api_op_DeleteRouteSettings.go.snap @@ -14,7 +14,6 @@ DeleteRouteSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_DeleteStage.go.snap b/service/apigatewayv2/snapshot/api_op_DeleteStage.go.snap index f1a1c39e497..b3095c02f0d 100644 --- a/service/apigatewayv2/snapshot/api_op_DeleteStage.go.snap +++ b/service/apigatewayv2/snapshot/api_op_DeleteStage.go.snap @@ -14,7 +14,6 @@ DeleteStage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_DeleteVpcLink.go.snap b/service/apigatewayv2/snapshot/api_op_DeleteVpcLink.go.snap index a55d64486dc..5fbe4715508 100644 --- a/service/apigatewayv2/snapshot/api_op_DeleteVpcLink.go.snap +++ b/service/apigatewayv2/snapshot/api_op_DeleteVpcLink.go.snap @@ -14,7 +14,6 @@ DeleteVpcLink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_ExportApi.go.snap b/service/apigatewayv2/snapshot/api_op_ExportApi.go.snap index c160fcf2546..3d576f8f388 100644 --- a/service/apigatewayv2/snapshot/api_op_ExportApi.go.snap +++ b/service/apigatewayv2/snapshot/api_op_ExportApi.go.snap @@ -14,7 +14,6 @@ ExportApi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_GetApi.go.snap b/service/apigatewayv2/snapshot/api_op_GetApi.go.snap index f6de5cdb937..0941cd07e08 100644 --- a/service/apigatewayv2/snapshot/api_op_GetApi.go.snap +++ b/service/apigatewayv2/snapshot/api_op_GetApi.go.snap @@ -14,7 +14,6 @@ GetApi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_GetApiMapping.go.snap b/service/apigatewayv2/snapshot/api_op_GetApiMapping.go.snap index 2394cbdb676..e0cf85eb83a 100644 --- a/service/apigatewayv2/snapshot/api_op_GetApiMapping.go.snap +++ b/service/apigatewayv2/snapshot/api_op_GetApiMapping.go.snap @@ -14,7 +14,6 @@ GetApiMapping Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_GetApiMappings.go.snap b/service/apigatewayv2/snapshot/api_op_GetApiMappings.go.snap index 219993bdcc0..d583e23ea8c 100644 --- a/service/apigatewayv2/snapshot/api_op_GetApiMappings.go.snap +++ b/service/apigatewayv2/snapshot/api_op_GetApiMappings.go.snap @@ -14,7 +14,6 @@ GetApiMappings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_GetApis.go.snap b/service/apigatewayv2/snapshot/api_op_GetApis.go.snap index e0633eef3d7..9c6269f6c5f 100644 --- a/service/apigatewayv2/snapshot/api_op_GetApis.go.snap +++ b/service/apigatewayv2/snapshot/api_op_GetApis.go.snap @@ -13,7 +13,6 @@ GetApis Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_GetAuthorizer.go.snap b/service/apigatewayv2/snapshot/api_op_GetAuthorizer.go.snap index e77a6ab20b9..e0809fd253d 100644 --- a/service/apigatewayv2/snapshot/api_op_GetAuthorizer.go.snap +++ b/service/apigatewayv2/snapshot/api_op_GetAuthorizer.go.snap @@ -14,7 +14,6 @@ GetAuthorizer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_GetAuthorizers.go.snap b/service/apigatewayv2/snapshot/api_op_GetAuthorizers.go.snap index 5ef7b03367e..6b81ae2eb8c 100644 --- a/service/apigatewayv2/snapshot/api_op_GetAuthorizers.go.snap +++ b/service/apigatewayv2/snapshot/api_op_GetAuthorizers.go.snap @@ -14,7 +14,6 @@ GetAuthorizers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_GetDeployment.go.snap b/service/apigatewayv2/snapshot/api_op_GetDeployment.go.snap index 65b4d552af7..7f1504a336c 100644 --- a/service/apigatewayv2/snapshot/api_op_GetDeployment.go.snap +++ b/service/apigatewayv2/snapshot/api_op_GetDeployment.go.snap @@ -14,7 +14,6 @@ GetDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_GetDeployments.go.snap b/service/apigatewayv2/snapshot/api_op_GetDeployments.go.snap index 265980ca0b8..9f332445fa0 100644 --- a/service/apigatewayv2/snapshot/api_op_GetDeployments.go.snap +++ b/service/apigatewayv2/snapshot/api_op_GetDeployments.go.snap @@ -14,7 +14,6 @@ GetDeployments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_GetDomainName.go.snap b/service/apigatewayv2/snapshot/api_op_GetDomainName.go.snap index cde748f6b34..5e59f5f503b 100644 --- a/service/apigatewayv2/snapshot/api_op_GetDomainName.go.snap +++ b/service/apigatewayv2/snapshot/api_op_GetDomainName.go.snap @@ -14,7 +14,6 @@ GetDomainName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_GetDomainNames.go.snap b/service/apigatewayv2/snapshot/api_op_GetDomainNames.go.snap index 78255c6d5f5..95f61e2a213 100644 --- a/service/apigatewayv2/snapshot/api_op_GetDomainNames.go.snap +++ b/service/apigatewayv2/snapshot/api_op_GetDomainNames.go.snap @@ -13,7 +13,6 @@ GetDomainNames Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_GetIntegration.go.snap b/service/apigatewayv2/snapshot/api_op_GetIntegration.go.snap index a5713de922b..220f9fd1707 100644 --- a/service/apigatewayv2/snapshot/api_op_GetIntegration.go.snap +++ b/service/apigatewayv2/snapshot/api_op_GetIntegration.go.snap @@ -14,7 +14,6 @@ GetIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_GetIntegrationResponse.go.snap b/service/apigatewayv2/snapshot/api_op_GetIntegrationResponse.go.snap index 4bbe91520fe..8391ce4b324 100644 --- a/service/apigatewayv2/snapshot/api_op_GetIntegrationResponse.go.snap +++ b/service/apigatewayv2/snapshot/api_op_GetIntegrationResponse.go.snap @@ -14,7 +14,6 @@ GetIntegrationResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_GetIntegrationResponses.go.snap b/service/apigatewayv2/snapshot/api_op_GetIntegrationResponses.go.snap index 545180f97b4..4f9d25bd59f 100644 --- a/service/apigatewayv2/snapshot/api_op_GetIntegrationResponses.go.snap +++ b/service/apigatewayv2/snapshot/api_op_GetIntegrationResponses.go.snap @@ -14,7 +14,6 @@ GetIntegrationResponses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_GetIntegrations.go.snap b/service/apigatewayv2/snapshot/api_op_GetIntegrations.go.snap index f4bf1fa0328..a2bdd18d07b 100644 --- a/service/apigatewayv2/snapshot/api_op_GetIntegrations.go.snap +++ b/service/apigatewayv2/snapshot/api_op_GetIntegrations.go.snap @@ -14,7 +14,6 @@ GetIntegrations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_GetModel.go.snap b/service/apigatewayv2/snapshot/api_op_GetModel.go.snap index e8f7227eae6..f28d5ad10df 100644 --- a/service/apigatewayv2/snapshot/api_op_GetModel.go.snap +++ b/service/apigatewayv2/snapshot/api_op_GetModel.go.snap @@ -14,7 +14,6 @@ GetModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_GetModelTemplate.go.snap b/service/apigatewayv2/snapshot/api_op_GetModelTemplate.go.snap index aea0523e0e2..33e99735fd0 100644 --- a/service/apigatewayv2/snapshot/api_op_GetModelTemplate.go.snap +++ b/service/apigatewayv2/snapshot/api_op_GetModelTemplate.go.snap @@ -14,7 +14,6 @@ GetModelTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_GetModels.go.snap b/service/apigatewayv2/snapshot/api_op_GetModels.go.snap index 1fc2cfac83e..66a8bc1e450 100644 --- a/service/apigatewayv2/snapshot/api_op_GetModels.go.snap +++ b/service/apigatewayv2/snapshot/api_op_GetModels.go.snap @@ -14,7 +14,6 @@ GetModels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_GetRoute.go.snap b/service/apigatewayv2/snapshot/api_op_GetRoute.go.snap index 5486ca6c63b..6dccc91459b 100644 --- a/service/apigatewayv2/snapshot/api_op_GetRoute.go.snap +++ b/service/apigatewayv2/snapshot/api_op_GetRoute.go.snap @@ -14,7 +14,6 @@ GetRoute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_GetRouteResponse.go.snap b/service/apigatewayv2/snapshot/api_op_GetRouteResponse.go.snap index 91641df8815..fd2411feee0 100644 --- a/service/apigatewayv2/snapshot/api_op_GetRouteResponse.go.snap +++ b/service/apigatewayv2/snapshot/api_op_GetRouteResponse.go.snap @@ -14,7 +14,6 @@ GetRouteResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_GetRouteResponses.go.snap b/service/apigatewayv2/snapshot/api_op_GetRouteResponses.go.snap index 3ab17d68d88..3e349789b6f 100644 --- a/service/apigatewayv2/snapshot/api_op_GetRouteResponses.go.snap +++ b/service/apigatewayv2/snapshot/api_op_GetRouteResponses.go.snap @@ -14,7 +14,6 @@ GetRouteResponses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_GetRoutes.go.snap b/service/apigatewayv2/snapshot/api_op_GetRoutes.go.snap index 62e4c123ce5..8dff7388efa 100644 --- a/service/apigatewayv2/snapshot/api_op_GetRoutes.go.snap +++ b/service/apigatewayv2/snapshot/api_op_GetRoutes.go.snap @@ -14,7 +14,6 @@ GetRoutes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_GetStage.go.snap b/service/apigatewayv2/snapshot/api_op_GetStage.go.snap index df9013ec2d0..4fe1a545818 100644 --- a/service/apigatewayv2/snapshot/api_op_GetStage.go.snap +++ b/service/apigatewayv2/snapshot/api_op_GetStage.go.snap @@ -14,7 +14,6 @@ GetStage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_GetStages.go.snap b/service/apigatewayv2/snapshot/api_op_GetStages.go.snap index f5c79ea863a..e03e6c620a6 100644 --- a/service/apigatewayv2/snapshot/api_op_GetStages.go.snap +++ b/service/apigatewayv2/snapshot/api_op_GetStages.go.snap @@ -14,7 +14,6 @@ GetStages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_GetTags.go.snap b/service/apigatewayv2/snapshot/api_op_GetTags.go.snap index ac57500ef60..0ad3eb6ac2f 100644 --- a/service/apigatewayv2/snapshot/api_op_GetTags.go.snap +++ b/service/apigatewayv2/snapshot/api_op_GetTags.go.snap @@ -14,7 +14,6 @@ GetTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_GetVpcLink.go.snap b/service/apigatewayv2/snapshot/api_op_GetVpcLink.go.snap index ade24f27d44..81802f529ad 100644 --- a/service/apigatewayv2/snapshot/api_op_GetVpcLink.go.snap +++ b/service/apigatewayv2/snapshot/api_op_GetVpcLink.go.snap @@ -14,7 +14,6 @@ GetVpcLink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_GetVpcLinks.go.snap b/service/apigatewayv2/snapshot/api_op_GetVpcLinks.go.snap index a1248bdbb31..d8ce8a43f0e 100644 --- a/service/apigatewayv2/snapshot/api_op_GetVpcLinks.go.snap +++ b/service/apigatewayv2/snapshot/api_op_GetVpcLinks.go.snap @@ -13,7 +13,6 @@ GetVpcLinks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_ImportApi.go.snap b/service/apigatewayv2/snapshot/api_op_ImportApi.go.snap index 8618d86b2ae..5ea3e5fb6da 100644 --- a/service/apigatewayv2/snapshot/api_op_ImportApi.go.snap +++ b/service/apigatewayv2/snapshot/api_op_ImportApi.go.snap @@ -14,7 +14,6 @@ ImportApi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_ReimportApi.go.snap b/service/apigatewayv2/snapshot/api_op_ReimportApi.go.snap index bc63bf8701d..efbefe717c8 100644 --- a/service/apigatewayv2/snapshot/api_op_ReimportApi.go.snap +++ b/service/apigatewayv2/snapshot/api_op_ReimportApi.go.snap @@ -14,7 +14,6 @@ ReimportApi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_ResetAuthorizersCache.go.snap b/service/apigatewayv2/snapshot/api_op_ResetAuthorizersCache.go.snap index 30e1cd3050e..d8559bd43a0 100644 --- a/service/apigatewayv2/snapshot/api_op_ResetAuthorizersCache.go.snap +++ b/service/apigatewayv2/snapshot/api_op_ResetAuthorizersCache.go.snap @@ -14,7 +14,6 @@ ResetAuthorizersCache Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_TagResource.go.snap b/service/apigatewayv2/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/apigatewayv2/snapshot/api_op_TagResource.go.snap +++ b/service/apigatewayv2/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_UntagResource.go.snap b/service/apigatewayv2/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/apigatewayv2/snapshot/api_op_UntagResource.go.snap +++ b/service/apigatewayv2/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_UpdateApi.go.snap b/service/apigatewayv2/snapshot/api_op_UpdateApi.go.snap index 2069a579074..579c92d50c7 100644 --- a/service/apigatewayv2/snapshot/api_op_UpdateApi.go.snap +++ b/service/apigatewayv2/snapshot/api_op_UpdateApi.go.snap @@ -14,7 +14,6 @@ UpdateApi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_UpdateApiMapping.go.snap b/service/apigatewayv2/snapshot/api_op_UpdateApiMapping.go.snap index 4e11125b9cb..046f5f50a07 100644 --- a/service/apigatewayv2/snapshot/api_op_UpdateApiMapping.go.snap +++ b/service/apigatewayv2/snapshot/api_op_UpdateApiMapping.go.snap @@ -14,7 +14,6 @@ UpdateApiMapping Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_UpdateAuthorizer.go.snap b/service/apigatewayv2/snapshot/api_op_UpdateAuthorizer.go.snap index b84df902753..c9d335ed62c 100644 --- a/service/apigatewayv2/snapshot/api_op_UpdateAuthorizer.go.snap +++ b/service/apigatewayv2/snapshot/api_op_UpdateAuthorizer.go.snap @@ -14,7 +14,6 @@ UpdateAuthorizer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_UpdateDeployment.go.snap b/service/apigatewayv2/snapshot/api_op_UpdateDeployment.go.snap index ff2517d7e52..6fc300a7fa1 100644 --- a/service/apigatewayv2/snapshot/api_op_UpdateDeployment.go.snap +++ b/service/apigatewayv2/snapshot/api_op_UpdateDeployment.go.snap @@ -14,7 +14,6 @@ UpdateDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_UpdateDomainName.go.snap b/service/apigatewayv2/snapshot/api_op_UpdateDomainName.go.snap index 32cf0ecc9c8..4d8382b821e 100644 --- a/service/apigatewayv2/snapshot/api_op_UpdateDomainName.go.snap +++ b/service/apigatewayv2/snapshot/api_op_UpdateDomainName.go.snap @@ -14,7 +14,6 @@ UpdateDomainName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_UpdateIntegration.go.snap b/service/apigatewayv2/snapshot/api_op_UpdateIntegration.go.snap index bc43a93243d..bee3cd9accc 100644 --- a/service/apigatewayv2/snapshot/api_op_UpdateIntegration.go.snap +++ b/service/apigatewayv2/snapshot/api_op_UpdateIntegration.go.snap @@ -14,7 +14,6 @@ UpdateIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_UpdateIntegrationResponse.go.snap b/service/apigatewayv2/snapshot/api_op_UpdateIntegrationResponse.go.snap index adb7c305f30..093f3313a2e 100644 --- a/service/apigatewayv2/snapshot/api_op_UpdateIntegrationResponse.go.snap +++ b/service/apigatewayv2/snapshot/api_op_UpdateIntegrationResponse.go.snap @@ -14,7 +14,6 @@ UpdateIntegrationResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_UpdateModel.go.snap b/service/apigatewayv2/snapshot/api_op_UpdateModel.go.snap index ee1931970d4..9309142d990 100644 --- a/service/apigatewayv2/snapshot/api_op_UpdateModel.go.snap +++ b/service/apigatewayv2/snapshot/api_op_UpdateModel.go.snap @@ -14,7 +14,6 @@ UpdateModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_UpdateRoute.go.snap b/service/apigatewayv2/snapshot/api_op_UpdateRoute.go.snap index 49d40157d3c..8c0b3198652 100644 --- a/service/apigatewayv2/snapshot/api_op_UpdateRoute.go.snap +++ b/service/apigatewayv2/snapshot/api_op_UpdateRoute.go.snap @@ -14,7 +14,6 @@ UpdateRoute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_UpdateRouteResponse.go.snap b/service/apigatewayv2/snapshot/api_op_UpdateRouteResponse.go.snap index fc736ed4cc3..56b65a30e91 100644 --- a/service/apigatewayv2/snapshot/api_op_UpdateRouteResponse.go.snap +++ b/service/apigatewayv2/snapshot/api_op_UpdateRouteResponse.go.snap @@ -14,7 +14,6 @@ UpdateRouteResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_UpdateStage.go.snap b/service/apigatewayv2/snapshot/api_op_UpdateStage.go.snap index 5adbe603ad0..fec562dc2ae 100644 --- a/service/apigatewayv2/snapshot/api_op_UpdateStage.go.snap +++ b/service/apigatewayv2/snapshot/api_op_UpdateStage.go.snap @@ -14,7 +14,6 @@ UpdateStage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apigatewayv2/snapshot/api_op_UpdateVpcLink.go.snap b/service/apigatewayv2/snapshot/api_op_UpdateVpcLink.go.snap index 84a05a2f935..b761d9d12de 100644 --- a/service/apigatewayv2/snapshot/api_op_UpdateVpcLink.go.snap +++ b/service/apigatewayv2/snapshot/api_op_UpdateVpcLink.go.snap @@ -14,7 +14,6 @@ UpdateVpcLink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/api_client.go b/service/appconfig/api_client.go index 6c576e02030..44a77826349 100644 --- a/service/appconfig/api_client.go +++ b/service/appconfig/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/appconfig/api_op_CreateApplication.go b/service/appconfig/api_op_CreateApplication.go index 9a2e39222c7..7d7a21adaef 100644 --- a/service/appconfig/api_op_CreateApplication.go +++ b/service/appconfig/api_op_CreateApplication.go @@ -129,9 +129,6 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_CreateConfigurationProfile.go b/service/appconfig/api_op_CreateConfigurationProfile.go index 67cd08f8b12..737094bf62e 100644 --- a/service/appconfig/api_op_CreateConfigurationProfile.go +++ b/service/appconfig/api_op_CreateConfigurationProfile.go @@ -251,9 +251,6 @@ func (c *Client) addOperationCreateConfigurationProfileMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConfigurationProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_CreateDeploymentStrategy.go b/service/appconfig/api_op_CreateDeploymentStrategy.go index 7c8aa2c098b..20cef31e7f1 100644 --- a/service/appconfig/api_op_CreateDeploymentStrategy.go +++ b/service/appconfig/api_op_CreateDeploymentStrategy.go @@ -198,9 +198,6 @@ func (c *Client) addOperationCreateDeploymentStrategyMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDeploymentStrategyValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_CreateEnvironment.go b/service/appconfig/api_op_CreateEnvironment.go index a8fe2eb5f97..7ad72a8ba78 100644 --- a/service/appconfig/api_op_CreateEnvironment.go +++ b/service/appconfig/api_op_CreateEnvironment.go @@ -150,9 +150,6 @@ func (c *Client) addOperationCreateEnvironmentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEnvironmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_CreateExtension.go b/service/appconfig/api_op_CreateExtension.go index 817ebff336e..f39c836da5d 100644 --- a/service/appconfig/api_op_CreateExtension.go +++ b/service/appconfig/api_op_CreateExtension.go @@ -181,9 +181,6 @@ func (c *Client) addOperationCreateExtensionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateExtensionValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_CreateExtensionAssociation.go b/service/appconfig/api_op_CreateExtensionAssociation.go index d6a4c6e6cc6..1dd6291cbad 100644 --- a/service/appconfig/api_op_CreateExtensionAssociation.go +++ b/service/appconfig/api_op_CreateExtensionAssociation.go @@ -157,9 +157,6 @@ func (c *Client) addOperationCreateExtensionAssociationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateExtensionAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_CreateHostedConfigurationVersion.go b/service/appconfig/api_op_CreateHostedConfigurationVersion.go index be788364015..0cbec146baa 100644 --- a/service/appconfig/api_op_CreateHostedConfigurationVersion.go +++ b/service/appconfig/api_op_CreateHostedConfigurationVersion.go @@ -178,9 +178,6 @@ func (c *Client) addOperationCreateHostedConfigurationVersionMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateHostedConfigurationVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_DeleteApplication.go b/service/appconfig/api_op_DeleteApplication.go index 240bd192452..27d9f7c1e1f 100644 --- a/service/appconfig/api_op_DeleteApplication.go +++ b/service/appconfig/api_op_DeleteApplication.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_DeleteConfigurationProfile.go b/service/appconfig/api_op_DeleteConfigurationProfile.go index 0c3be69d039..2e436396e58 100644 --- a/service/appconfig/api_op_DeleteConfigurationProfile.go +++ b/service/appconfig/api_op_DeleteConfigurationProfile.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDeleteConfigurationProfileMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConfigurationProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_DeleteDeploymentStrategy.go b/service/appconfig/api_op_DeleteDeploymentStrategy.go index d0cdb9aa119..86974706846 100644 --- a/service/appconfig/api_op_DeleteDeploymentStrategy.go +++ b/service/appconfig/api_op_DeleteDeploymentStrategy.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteDeploymentStrategyMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDeploymentStrategyValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_DeleteEnvironment.go b/service/appconfig/api_op_DeleteEnvironment.go index 37c4f2bd441..deca254a4f4 100644 --- a/service/appconfig/api_op_DeleteEnvironment.go +++ b/service/appconfig/api_op_DeleteEnvironment.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDeleteEnvironmentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEnvironmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_DeleteExtension.go b/service/appconfig/api_op_DeleteExtension.go index 88e162c93d1..b9e2ac8bd01 100644 --- a/service/appconfig/api_op_DeleteExtension.go +++ b/service/appconfig/api_op_DeleteExtension.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteExtensionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteExtensionValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_DeleteExtensionAssociation.go b/service/appconfig/api_op_DeleteExtensionAssociation.go index 35c3e1ac876..178b426e613 100644 --- a/service/appconfig/api_op_DeleteExtensionAssociation.go +++ b/service/appconfig/api_op_DeleteExtensionAssociation.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteExtensionAssociationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteExtensionAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_DeleteHostedConfigurationVersion.go b/service/appconfig/api_op_DeleteHostedConfigurationVersion.go index 8f45d0f18d2..98f9516514e 100644 --- a/service/appconfig/api_op_DeleteHostedConfigurationVersion.go +++ b/service/appconfig/api_op_DeleteHostedConfigurationVersion.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteHostedConfigurationVersionMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteHostedConfigurationVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_GetAccountSettings.go b/service/appconfig/api_op_GetAccountSettings.go index 22e44a490f1..b6e986cb106 100644 --- a/service/appconfig/api_op_GetAccountSettings.go +++ b/service/appconfig/api_op_GetAccountSettings.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetAccountSettingsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appconfig/api_op_GetApplication.go b/service/appconfig/api_op_GetApplication.go index 9cd981d5af4..96a0e0cab80 100644 --- a/service/appconfig/api_op_GetApplication.go +++ b/service/appconfig/api_op_GetApplication.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetApplicationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_GetConfiguration.go b/service/appconfig/api_op_GetConfiguration.go index 9b9f82ad6de..6c22f5bc81a 100644 --- a/service/appconfig/api_op_GetConfiguration.go +++ b/service/appconfig/api_op_GetConfiguration.go @@ -183,9 +183,6 @@ func (c *Client) addOperationGetConfigurationMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_GetConfigurationProfile.go b/service/appconfig/api_op_GetConfigurationProfile.go index 1bd452cbfb7..b851dca338c 100644 --- a/service/appconfig/api_op_GetConfigurationProfile.go +++ b/service/appconfig/api_op_GetConfigurationProfile.go @@ -159,9 +159,6 @@ func (c *Client) addOperationGetConfigurationProfileMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConfigurationProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_GetDeployment.go b/service/appconfig/api_op_GetDeployment.go index c6fe2e0a704..e470bba727c 100644 --- a/service/appconfig/api_op_GetDeployment.go +++ b/service/appconfig/api_op_GetDeployment.go @@ -195,9 +195,6 @@ func (c *Client) addOperationGetDeploymentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_GetDeploymentStrategy.go b/service/appconfig/api_op_GetDeploymentStrategy.go index ddd320e57b2..25ea59fb945 100644 --- a/service/appconfig/api_op_GetDeploymentStrategy.go +++ b/service/appconfig/api_op_GetDeploymentStrategy.go @@ -139,9 +139,6 @@ func (c *Client) addOperationGetDeploymentStrategyMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeploymentStrategyValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_GetEnvironment.go b/service/appconfig/api_op_GetEnvironment.go index 92d1ea5666c..44579799da9 100644 --- a/service/appconfig/api_op_GetEnvironment.go +++ b/service/appconfig/api_op_GetEnvironment.go @@ -138,9 +138,6 @@ func (c *Client) addOperationGetEnvironmentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEnvironmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_GetExtension.go b/service/appconfig/api_op_GetExtension.go index 0faa282e4d5..805c5dae08e 100644 --- a/service/appconfig/api_op_GetExtension.go +++ b/service/appconfig/api_op_GetExtension.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGetExtensionMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetExtensionValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_GetExtensionAssociation.go b/service/appconfig/api_op_GetExtensionAssociation.go index 08a114aa1fe..4b3b2e4c10f 100644 --- a/service/appconfig/api_op_GetExtensionAssociation.go +++ b/service/appconfig/api_op_GetExtensionAssociation.go @@ -130,9 +130,6 @@ func (c *Client) addOperationGetExtensionAssociationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetExtensionAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_GetHostedConfigurationVersion.go b/service/appconfig/api_op_GetHostedConfigurationVersion.go index f3b6593928a..cec3512da74 100644 --- a/service/appconfig/api_op_GetHostedConfigurationVersion.go +++ b/service/appconfig/api_op_GetHostedConfigurationVersion.go @@ -147,9 +147,6 @@ func (c *Client) addOperationGetHostedConfigurationVersionMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetHostedConfigurationVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_ListApplications.go b/service/appconfig/api_op_ListApplications.go index d9fc39000bd..4c0137c0403 100644 --- a/service/appconfig/api_op_ListApplications.go +++ b/service/appconfig/api_op_ListApplications.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListApplicationsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplications(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appconfig/api_op_ListConfigurationProfiles.go b/service/appconfig/api_op_ListConfigurationProfiles.go index eab77ffdba4..f0e3f3de20c 100644 --- a/service/appconfig/api_op_ListConfigurationProfiles.go +++ b/service/appconfig/api_op_ListConfigurationProfiles.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListConfigurationProfilesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListConfigurationProfilesValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_ListDeploymentStrategies.go b/service/appconfig/api_op_ListDeploymentStrategies.go index c646dd19d0a..95809200409 100644 --- a/service/appconfig/api_op_ListDeploymentStrategies.go +++ b/service/appconfig/api_op_ListDeploymentStrategies.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListDeploymentStrategiesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeploymentStrategies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appconfig/api_op_ListDeployments.go b/service/appconfig/api_op_ListDeployments.go index 78d6ed5bd9c..ba8451ba7d0 100644 --- a/service/appconfig/api_op_ListDeployments.go +++ b/service/appconfig/api_op_ListDeployments.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListDeploymentsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDeploymentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_ListEnvironments.go b/service/appconfig/api_op_ListEnvironments.go index 94b75f608bf..4c6660f4190 100644 --- a/service/appconfig/api_op_ListEnvironments.go +++ b/service/appconfig/api_op_ListEnvironments.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListEnvironmentsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEnvironmentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_ListExtensionAssociations.go b/service/appconfig/api_op_ListExtensionAssociations.go index e13de64c079..dd9affb99a4 100644 --- a/service/appconfig/api_op_ListExtensionAssociations.go +++ b/service/appconfig/api_op_ListExtensionAssociations.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListExtensionAssociationsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExtensionAssociations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appconfig/api_op_ListExtensions.go b/service/appconfig/api_op_ListExtensions.go index a7f79389f1f..4067ecdd272 100644 --- a/service/appconfig/api_op_ListExtensions.go +++ b/service/appconfig/api_op_ListExtensions.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListExtensionsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExtensions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appconfig/api_op_ListHostedConfigurationVersions.go b/service/appconfig/api_op_ListHostedConfigurationVersions.go index eab6793f1f5..2c4111fdc2b 100644 --- a/service/appconfig/api_op_ListHostedConfigurationVersions.go +++ b/service/appconfig/api_op_ListHostedConfigurationVersions.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListHostedConfigurationVersionsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListHostedConfigurationVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_ListTagsForResource.go b/service/appconfig/api_op_ListTagsForResource.go index c6bf73007c3..4ffbc4b4ccb 100644 --- a/service/appconfig/api_op_ListTagsForResource.go +++ b/service/appconfig/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_StartDeployment.go b/service/appconfig/api_op_StartDeployment.go index 89674aa0558..352be54d45d 100644 --- a/service/appconfig/api_op_StartDeployment.go +++ b/service/appconfig/api_op_StartDeployment.go @@ -223,9 +223,6 @@ func (c *Client) addOperationStartDeploymentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_StopDeployment.go b/service/appconfig/api_op_StopDeployment.go index a6d7105bcf9..1d92d117f08 100644 --- a/service/appconfig/api_op_StopDeployment.go +++ b/service/appconfig/api_op_StopDeployment.go @@ -204,9 +204,6 @@ func (c *Client) addOperationStopDeploymentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_TagResource.go b/service/appconfig/api_op_TagResource.go index 4d9338d0be6..69e7465dcb5 100644 --- a/service/appconfig/api_op_TagResource.go +++ b/service/appconfig/api_op_TagResource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_UntagResource.go b/service/appconfig/api_op_UntagResource.go index 7a694016101..10650c8ffcb 100644 --- a/service/appconfig/api_op_UntagResource.go +++ b/service/appconfig/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_UpdateAccountSettings.go b/service/appconfig/api_op_UpdateAccountSettings.go index e9a7b1a00ed..64a0526d8f8 100644 --- a/service/appconfig/api_op_UpdateAccountSettings.go +++ b/service/appconfig/api_op_UpdateAccountSettings.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateAccountSettingsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAccountSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appconfig/api_op_UpdateApplication.go b/service/appconfig/api_op_UpdateApplication.go index 95434b3ddb1..95e5d4ff8e0 100644 --- a/service/appconfig/api_op_UpdateApplication.go +++ b/service/appconfig/api_op_UpdateApplication.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_UpdateConfigurationProfile.go b/service/appconfig/api_op_UpdateConfigurationProfile.go index 72ea2de5468..92a7e915a54 100644 --- a/service/appconfig/api_op_UpdateConfigurationProfile.go +++ b/service/appconfig/api_op_UpdateConfigurationProfile.go @@ -179,9 +179,6 @@ func (c *Client) addOperationUpdateConfigurationProfileMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConfigurationProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_UpdateDeploymentStrategy.go b/service/appconfig/api_op_UpdateDeploymentStrategy.go index 2cd6299592a..713c0e9b51d 100644 --- a/service/appconfig/api_op_UpdateDeploymentStrategy.go +++ b/service/appconfig/api_op_UpdateDeploymentStrategy.go @@ -176,9 +176,6 @@ func (c *Client) addOperationUpdateDeploymentStrategyMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDeploymentStrategyValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_UpdateEnvironment.go b/service/appconfig/api_op_UpdateEnvironment.go index adcb8307d86..3a2b1ccf401 100644 --- a/service/appconfig/api_op_UpdateEnvironment.go +++ b/service/appconfig/api_op_UpdateEnvironment.go @@ -142,9 +142,6 @@ func (c *Client) addOperationUpdateEnvironmentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEnvironmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_UpdateExtension.go b/service/appconfig/api_op_UpdateExtension.go index 7c1447aca6a..7519ab7f2c4 100644 --- a/service/appconfig/api_op_UpdateExtension.go +++ b/service/appconfig/api_op_UpdateExtension.go @@ -148,9 +148,6 @@ func (c *Client) addOperationUpdateExtensionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateExtensionValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_UpdateExtensionAssociation.go b/service/appconfig/api_op_UpdateExtensionAssociation.go index d3b1b3e4e17..a1ee0477dad 100644 --- a/service/appconfig/api_op_UpdateExtensionAssociation.go +++ b/service/appconfig/api_op_UpdateExtensionAssociation.go @@ -133,9 +133,6 @@ func (c *Client) addOperationUpdateExtensionAssociationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateExtensionAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/api_op_ValidateConfiguration.go b/service/appconfig/api_op_ValidateConfiguration.go index 558ce80cdfd..06f8b2173af 100644 --- a/service/appconfig/api_op_ValidateConfiguration.go +++ b/service/appconfig/api_op_ValidateConfiguration.go @@ -117,9 +117,6 @@ func (c *Client) addOperationValidateConfigurationMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpValidateConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfig/snapshot/api_op_CreateApplication.go.snap b/service/appconfig/snapshot/api_op_CreateApplication.go.snap index 503ca240c75..7174d11f956 100644 --- a/service/appconfig/snapshot/api_op_CreateApplication.go.snap +++ b/service/appconfig/snapshot/api_op_CreateApplication.go.snap @@ -14,7 +14,6 @@ CreateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_CreateConfigurationProfile.go.snap b/service/appconfig/snapshot/api_op_CreateConfigurationProfile.go.snap index d8ffb12bf16..6e9c6b0797e 100644 --- a/service/appconfig/snapshot/api_op_CreateConfigurationProfile.go.snap +++ b/service/appconfig/snapshot/api_op_CreateConfigurationProfile.go.snap @@ -14,7 +14,6 @@ CreateConfigurationProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_CreateDeploymentStrategy.go.snap b/service/appconfig/snapshot/api_op_CreateDeploymentStrategy.go.snap index b422f6dbd97..d570c5d9569 100644 --- a/service/appconfig/snapshot/api_op_CreateDeploymentStrategy.go.snap +++ b/service/appconfig/snapshot/api_op_CreateDeploymentStrategy.go.snap @@ -14,7 +14,6 @@ CreateDeploymentStrategy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_CreateEnvironment.go.snap b/service/appconfig/snapshot/api_op_CreateEnvironment.go.snap index b57bec0043d..04b7f27479d 100644 --- a/service/appconfig/snapshot/api_op_CreateEnvironment.go.snap +++ b/service/appconfig/snapshot/api_op_CreateEnvironment.go.snap @@ -14,7 +14,6 @@ CreateEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_CreateExtension.go.snap b/service/appconfig/snapshot/api_op_CreateExtension.go.snap index ccbee4ece66..8175d09eae3 100644 --- a/service/appconfig/snapshot/api_op_CreateExtension.go.snap +++ b/service/appconfig/snapshot/api_op_CreateExtension.go.snap @@ -14,7 +14,6 @@ CreateExtension Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_CreateExtensionAssociation.go.snap b/service/appconfig/snapshot/api_op_CreateExtensionAssociation.go.snap index 3bd776c6962..156d1cae141 100644 --- a/service/appconfig/snapshot/api_op_CreateExtensionAssociation.go.snap +++ b/service/appconfig/snapshot/api_op_CreateExtensionAssociation.go.snap @@ -14,7 +14,6 @@ CreateExtensionAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_CreateHostedConfigurationVersion.go.snap b/service/appconfig/snapshot/api_op_CreateHostedConfigurationVersion.go.snap index 48561dd5abb..897db5e2a2b 100644 --- a/service/appconfig/snapshot/api_op_CreateHostedConfigurationVersion.go.snap +++ b/service/appconfig/snapshot/api_op_CreateHostedConfigurationVersion.go.snap @@ -14,7 +14,6 @@ CreateHostedConfigurationVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_DeleteApplication.go.snap b/service/appconfig/snapshot/api_op_DeleteApplication.go.snap index 80790355ed5..ffda37a527f 100644 --- a/service/appconfig/snapshot/api_op_DeleteApplication.go.snap +++ b/service/appconfig/snapshot/api_op_DeleteApplication.go.snap @@ -14,7 +14,6 @@ DeleteApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_DeleteConfigurationProfile.go.snap b/service/appconfig/snapshot/api_op_DeleteConfigurationProfile.go.snap index 815eadaef95..fb43b95a136 100644 --- a/service/appconfig/snapshot/api_op_DeleteConfigurationProfile.go.snap +++ b/service/appconfig/snapshot/api_op_DeleteConfigurationProfile.go.snap @@ -14,7 +14,6 @@ DeleteConfigurationProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_DeleteDeploymentStrategy.go.snap b/service/appconfig/snapshot/api_op_DeleteDeploymentStrategy.go.snap index 2b62c73e230..b11fd360ce7 100644 --- a/service/appconfig/snapshot/api_op_DeleteDeploymentStrategy.go.snap +++ b/service/appconfig/snapshot/api_op_DeleteDeploymentStrategy.go.snap @@ -14,7 +14,6 @@ DeleteDeploymentStrategy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_DeleteEnvironment.go.snap b/service/appconfig/snapshot/api_op_DeleteEnvironment.go.snap index c799f299d43..b7abf2a0643 100644 --- a/service/appconfig/snapshot/api_op_DeleteEnvironment.go.snap +++ b/service/appconfig/snapshot/api_op_DeleteEnvironment.go.snap @@ -14,7 +14,6 @@ DeleteEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_DeleteExtension.go.snap b/service/appconfig/snapshot/api_op_DeleteExtension.go.snap index 93487cfa4a1..c93b4a667db 100644 --- a/service/appconfig/snapshot/api_op_DeleteExtension.go.snap +++ b/service/appconfig/snapshot/api_op_DeleteExtension.go.snap @@ -14,7 +14,6 @@ DeleteExtension Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_DeleteExtensionAssociation.go.snap b/service/appconfig/snapshot/api_op_DeleteExtensionAssociation.go.snap index ce718e6390a..b7deea7122b 100644 --- a/service/appconfig/snapshot/api_op_DeleteExtensionAssociation.go.snap +++ b/service/appconfig/snapshot/api_op_DeleteExtensionAssociation.go.snap @@ -14,7 +14,6 @@ DeleteExtensionAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_DeleteHostedConfigurationVersion.go.snap b/service/appconfig/snapshot/api_op_DeleteHostedConfigurationVersion.go.snap index 03e960283b7..3ba60152be6 100644 --- a/service/appconfig/snapshot/api_op_DeleteHostedConfigurationVersion.go.snap +++ b/service/appconfig/snapshot/api_op_DeleteHostedConfigurationVersion.go.snap @@ -14,7 +14,6 @@ DeleteHostedConfigurationVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_GetAccountSettings.go.snap b/service/appconfig/snapshot/api_op_GetAccountSettings.go.snap index 95499ead228..57ca9f6cbf4 100644 --- a/service/appconfig/snapshot/api_op_GetAccountSettings.go.snap +++ b/service/appconfig/snapshot/api_op_GetAccountSettings.go.snap @@ -13,7 +13,6 @@ GetAccountSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_GetApplication.go.snap b/service/appconfig/snapshot/api_op_GetApplication.go.snap index 3307f56eb00..ffc8b0228f7 100644 --- a/service/appconfig/snapshot/api_op_GetApplication.go.snap +++ b/service/appconfig/snapshot/api_op_GetApplication.go.snap @@ -14,7 +14,6 @@ GetApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_GetConfiguration.go.snap b/service/appconfig/snapshot/api_op_GetConfiguration.go.snap index 98c4453509a..0b146124fb1 100644 --- a/service/appconfig/snapshot/api_op_GetConfiguration.go.snap +++ b/service/appconfig/snapshot/api_op_GetConfiguration.go.snap @@ -14,7 +14,6 @@ GetConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_GetConfigurationProfile.go.snap b/service/appconfig/snapshot/api_op_GetConfigurationProfile.go.snap index 9dc5c876c52..4750f8cfc2d 100644 --- a/service/appconfig/snapshot/api_op_GetConfigurationProfile.go.snap +++ b/service/appconfig/snapshot/api_op_GetConfigurationProfile.go.snap @@ -14,7 +14,6 @@ GetConfigurationProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_GetDeployment.go.snap b/service/appconfig/snapshot/api_op_GetDeployment.go.snap index 65b4d552af7..7f1504a336c 100644 --- a/service/appconfig/snapshot/api_op_GetDeployment.go.snap +++ b/service/appconfig/snapshot/api_op_GetDeployment.go.snap @@ -14,7 +14,6 @@ GetDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_GetDeploymentStrategy.go.snap b/service/appconfig/snapshot/api_op_GetDeploymentStrategy.go.snap index a627246a162..fbf111130ea 100644 --- a/service/appconfig/snapshot/api_op_GetDeploymentStrategy.go.snap +++ b/service/appconfig/snapshot/api_op_GetDeploymentStrategy.go.snap @@ -14,7 +14,6 @@ GetDeploymentStrategy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_GetEnvironment.go.snap b/service/appconfig/snapshot/api_op_GetEnvironment.go.snap index 6f558393d06..9485ee9410e 100644 --- a/service/appconfig/snapshot/api_op_GetEnvironment.go.snap +++ b/service/appconfig/snapshot/api_op_GetEnvironment.go.snap @@ -14,7 +14,6 @@ GetEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_GetExtension.go.snap b/service/appconfig/snapshot/api_op_GetExtension.go.snap index 5d180656132..35f85bc98e4 100644 --- a/service/appconfig/snapshot/api_op_GetExtension.go.snap +++ b/service/appconfig/snapshot/api_op_GetExtension.go.snap @@ -14,7 +14,6 @@ GetExtension Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_GetExtensionAssociation.go.snap b/service/appconfig/snapshot/api_op_GetExtensionAssociation.go.snap index c0ae8c0ae00..6be4cbbf4a8 100644 --- a/service/appconfig/snapshot/api_op_GetExtensionAssociation.go.snap +++ b/service/appconfig/snapshot/api_op_GetExtensionAssociation.go.snap @@ -14,7 +14,6 @@ GetExtensionAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_GetHostedConfigurationVersion.go.snap b/service/appconfig/snapshot/api_op_GetHostedConfigurationVersion.go.snap index a3237b211a9..8907d0afc76 100644 --- a/service/appconfig/snapshot/api_op_GetHostedConfigurationVersion.go.snap +++ b/service/appconfig/snapshot/api_op_GetHostedConfigurationVersion.go.snap @@ -14,7 +14,6 @@ GetHostedConfigurationVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_ListApplications.go.snap b/service/appconfig/snapshot/api_op_ListApplications.go.snap index e18746bd34f..6029195b8e8 100644 --- a/service/appconfig/snapshot/api_op_ListApplications.go.snap +++ b/service/appconfig/snapshot/api_op_ListApplications.go.snap @@ -13,7 +13,6 @@ ListApplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_ListConfigurationProfiles.go.snap b/service/appconfig/snapshot/api_op_ListConfigurationProfiles.go.snap index 24e35cd1369..df9ab6f0d37 100644 --- a/service/appconfig/snapshot/api_op_ListConfigurationProfiles.go.snap +++ b/service/appconfig/snapshot/api_op_ListConfigurationProfiles.go.snap @@ -14,7 +14,6 @@ ListConfigurationProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_ListDeploymentStrategies.go.snap b/service/appconfig/snapshot/api_op_ListDeploymentStrategies.go.snap index 56952c5e74f..130c8db7f95 100644 --- a/service/appconfig/snapshot/api_op_ListDeploymentStrategies.go.snap +++ b/service/appconfig/snapshot/api_op_ListDeploymentStrategies.go.snap @@ -13,7 +13,6 @@ ListDeploymentStrategies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_ListDeployments.go.snap b/service/appconfig/snapshot/api_op_ListDeployments.go.snap index a27f685db14..4e35f0f1293 100644 --- a/service/appconfig/snapshot/api_op_ListDeployments.go.snap +++ b/service/appconfig/snapshot/api_op_ListDeployments.go.snap @@ -14,7 +14,6 @@ ListDeployments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_ListEnvironments.go.snap b/service/appconfig/snapshot/api_op_ListEnvironments.go.snap index 7c237cc1cdf..1bf27beef05 100644 --- a/service/appconfig/snapshot/api_op_ListEnvironments.go.snap +++ b/service/appconfig/snapshot/api_op_ListEnvironments.go.snap @@ -14,7 +14,6 @@ ListEnvironments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_ListExtensionAssociations.go.snap b/service/appconfig/snapshot/api_op_ListExtensionAssociations.go.snap index a63f2efb34b..635a45e15b5 100644 --- a/service/appconfig/snapshot/api_op_ListExtensionAssociations.go.snap +++ b/service/appconfig/snapshot/api_op_ListExtensionAssociations.go.snap @@ -13,7 +13,6 @@ ListExtensionAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_ListExtensions.go.snap b/service/appconfig/snapshot/api_op_ListExtensions.go.snap index 34b010467ee..b030d71e13f 100644 --- a/service/appconfig/snapshot/api_op_ListExtensions.go.snap +++ b/service/appconfig/snapshot/api_op_ListExtensions.go.snap @@ -13,7 +13,6 @@ ListExtensions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_ListHostedConfigurationVersions.go.snap b/service/appconfig/snapshot/api_op_ListHostedConfigurationVersions.go.snap index 4eb95c2a9f7..696d5d638cc 100644 --- a/service/appconfig/snapshot/api_op_ListHostedConfigurationVersions.go.snap +++ b/service/appconfig/snapshot/api_op_ListHostedConfigurationVersions.go.snap @@ -14,7 +14,6 @@ ListHostedConfigurationVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_ListTagsForResource.go.snap b/service/appconfig/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/appconfig/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/appconfig/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_StartDeployment.go.snap b/service/appconfig/snapshot/api_op_StartDeployment.go.snap index 5a324e37800..e10cf6b2ea8 100644 --- a/service/appconfig/snapshot/api_op_StartDeployment.go.snap +++ b/service/appconfig/snapshot/api_op_StartDeployment.go.snap @@ -14,7 +14,6 @@ StartDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_StopDeployment.go.snap b/service/appconfig/snapshot/api_op_StopDeployment.go.snap index b7b339dc83d..9f760afd513 100644 --- a/service/appconfig/snapshot/api_op_StopDeployment.go.snap +++ b/service/appconfig/snapshot/api_op_StopDeployment.go.snap @@ -14,7 +14,6 @@ StopDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_TagResource.go.snap b/service/appconfig/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/appconfig/snapshot/api_op_TagResource.go.snap +++ b/service/appconfig/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_UntagResource.go.snap b/service/appconfig/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/appconfig/snapshot/api_op_UntagResource.go.snap +++ b/service/appconfig/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_UpdateAccountSettings.go.snap b/service/appconfig/snapshot/api_op_UpdateAccountSettings.go.snap index 2d48f636076..443e69d651e 100644 --- a/service/appconfig/snapshot/api_op_UpdateAccountSettings.go.snap +++ b/service/appconfig/snapshot/api_op_UpdateAccountSettings.go.snap @@ -13,7 +13,6 @@ UpdateAccountSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_UpdateApplication.go.snap b/service/appconfig/snapshot/api_op_UpdateApplication.go.snap index 5ec4c02edff..d4e2fa4991a 100644 --- a/service/appconfig/snapshot/api_op_UpdateApplication.go.snap +++ b/service/appconfig/snapshot/api_op_UpdateApplication.go.snap @@ -14,7 +14,6 @@ UpdateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_UpdateConfigurationProfile.go.snap b/service/appconfig/snapshot/api_op_UpdateConfigurationProfile.go.snap index 8b14b2e0571..6a9956138c8 100644 --- a/service/appconfig/snapshot/api_op_UpdateConfigurationProfile.go.snap +++ b/service/appconfig/snapshot/api_op_UpdateConfigurationProfile.go.snap @@ -14,7 +14,6 @@ UpdateConfigurationProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_UpdateDeploymentStrategy.go.snap b/service/appconfig/snapshot/api_op_UpdateDeploymentStrategy.go.snap index c7d97c63d72..e1c14bc7752 100644 --- a/service/appconfig/snapshot/api_op_UpdateDeploymentStrategy.go.snap +++ b/service/appconfig/snapshot/api_op_UpdateDeploymentStrategy.go.snap @@ -14,7 +14,6 @@ UpdateDeploymentStrategy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_UpdateEnvironment.go.snap b/service/appconfig/snapshot/api_op_UpdateEnvironment.go.snap index 239e2fa41bc..abe9dc8e4d3 100644 --- a/service/appconfig/snapshot/api_op_UpdateEnvironment.go.snap +++ b/service/appconfig/snapshot/api_op_UpdateEnvironment.go.snap @@ -14,7 +14,6 @@ UpdateEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_UpdateExtension.go.snap b/service/appconfig/snapshot/api_op_UpdateExtension.go.snap index d1047cd60bb..1fdefb30db3 100644 --- a/service/appconfig/snapshot/api_op_UpdateExtension.go.snap +++ b/service/appconfig/snapshot/api_op_UpdateExtension.go.snap @@ -14,7 +14,6 @@ UpdateExtension Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_UpdateExtensionAssociation.go.snap b/service/appconfig/snapshot/api_op_UpdateExtensionAssociation.go.snap index af54898608e..bd28441d19c 100644 --- a/service/appconfig/snapshot/api_op_UpdateExtensionAssociation.go.snap +++ b/service/appconfig/snapshot/api_op_UpdateExtensionAssociation.go.snap @@ -14,7 +14,6 @@ UpdateExtensionAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfig/snapshot/api_op_ValidateConfiguration.go.snap b/service/appconfig/snapshot/api_op_ValidateConfiguration.go.snap index 2998273611a..275b17cbac5 100644 --- a/service/appconfig/snapshot/api_op_ValidateConfiguration.go.snap +++ b/service/appconfig/snapshot/api_op_ValidateConfiguration.go.snap @@ -14,7 +14,6 @@ ValidateConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfigdata/api_client.go b/service/appconfigdata/api_client.go index c498490a0fc..a6b178e94e8 100644 --- a/service/appconfigdata/api_client.go +++ b/service/appconfigdata/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/appconfigdata/api_op_GetLatestConfiguration.go b/service/appconfigdata/api_op_GetLatestConfiguration.go index 51e63f331c4..2d5d657c9ba 100644 --- a/service/appconfigdata/api_op_GetLatestConfiguration.go +++ b/service/appconfigdata/api_op_GetLatestConfiguration.go @@ -156,9 +156,6 @@ func (c *Client) addOperationGetLatestConfigurationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLatestConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfigdata/api_op_StartConfigurationSession.go b/service/appconfigdata/api_op_StartConfigurationSession.go index 759ff55b7c5..fb804bda800 100644 --- a/service/appconfigdata/api_op_StartConfigurationSession.go +++ b/service/appconfigdata/api_op_StartConfigurationSession.go @@ -140,9 +140,6 @@ func (c *Client) addOperationStartConfigurationSessionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartConfigurationSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/appconfigdata/snapshot/api_op_GetLatestConfiguration.go.snap b/service/appconfigdata/snapshot/api_op_GetLatestConfiguration.go.snap index b74245b436a..6111f06c721 100644 --- a/service/appconfigdata/snapshot/api_op_GetLatestConfiguration.go.snap +++ b/service/appconfigdata/snapshot/api_op_GetLatestConfiguration.go.snap @@ -14,7 +14,6 @@ GetLatestConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appconfigdata/snapshot/api_op_StartConfigurationSession.go.snap b/service/appconfigdata/snapshot/api_op_StartConfigurationSession.go.snap index 3c912867da8..2315a7e08da 100644 --- a/service/appconfigdata/snapshot/api_op_StartConfigurationSession.go.snap +++ b/service/appconfigdata/snapshot/api_op_StartConfigurationSession.go.snap @@ -14,7 +14,6 @@ StartConfigurationSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appfabric/api_client.go b/service/appfabric/api_client.go index 85d0a75b5d5..5738f7dab93 100644 --- a/service/appfabric/api_client.go +++ b/service/appfabric/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/appfabric/api_op_BatchGetUserAccessTasks.go b/service/appfabric/api_op_BatchGetUserAccessTasks.go index 337bf4e4e77..3585ed6cb97 100644 --- a/service/appfabric/api_op_BatchGetUserAccessTasks.go +++ b/service/appfabric/api_op_BatchGetUserAccessTasks.go @@ -121,9 +121,6 @@ func (c *Client) addOperationBatchGetUserAccessTasksMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetUserAccessTasksValidationMiddleware(stack); err != nil { return err } diff --git a/service/appfabric/api_op_ConnectAppAuthorization.go b/service/appfabric/api_op_ConnectAppAuthorization.go index 4efd02c270f..0ebf194bd89 100644 --- a/service/appfabric/api_op_ConnectAppAuthorization.go +++ b/service/appfabric/api_op_ConnectAppAuthorization.go @@ -128,9 +128,6 @@ func (c *Client) addOperationConnectAppAuthorizationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpConnectAppAuthorizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appfabric/api_op_CreateAppAuthorization.go b/service/appfabric/api_op_CreateAppAuthorization.go index 4099c500749..6b531583cf4 100644 --- a/service/appfabric/api_op_CreateAppAuthorization.go +++ b/service/appfabric/api_op_CreateAppAuthorization.go @@ -186,9 +186,6 @@ func (c *Client) addOperationCreateAppAuthorizationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAppAuthorizationMiddleware(stack, options); err != nil { return err } diff --git a/service/appfabric/api_op_CreateAppBundle.go b/service/appfabric/api_op_CreateAppBundle.go index 3be366b2eef..c0a80251c87 100644 --- a/service/appfabric/api_op_CreateAppBundle.go +++ b/service/appfabric/api_op_CreateAppBundle.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateAppBundleMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAppBundleMiddleware(stack, options); err != nil { return err } diff --git a/service/appfabric/api_op_CreateIngestion.go b/service/appfabric/api_op_CreateIngestion.go index 1752c8a7f0b..6e8f747710b 100644 --- a/service/appfabric/api_op_CreateIngestion.go +++ b/service/appfabric/api_op_CreateIngestion.go @@ -174,9 +174,6 @@ func (c *Client) addOperationCreateIngestionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateIngestionMiddleware(stack, options); err != nil { return err } diff --git a/service/appfabric/api_op_CreateIngestionDestination.go b/service/appfabric/api_op_CreateIngestionDestination.go index 1858baebe93..af6a7f43546 100644 --- a/service/appfabric/api_op_CreateIngestionDestination.go +++ b/service/appfabric/api_op_CreateIngestionDestination.go @@ -150,9 +150,6 @@ func (c *Client) addOperationCreateIngestionDestinationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateIngestionDestinationMiddleware(stack, options); err != nil { return err } diff --git a/service/appfabric/api_op_DeleteAppAuthorization.go b/service/appfabric/api_op_DeleteAppAuthorization.go index 180045a9c8e..b5c6f77d5d9 100644 --- a/service/appfabric/api_op_DeleteAppAuthorization.go +++ b/service/appfabric/api_op_DeleteAppAuthorization.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteAppAuthorizationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAppAuthorizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appfabric/api_op_DeleteAppBundle.go b/service/appfabric/api_op_DeleteAppBundle.go index 02179fc33de..0a7c619cb35 100644 --- a/service/appfabric/api_op_DeleteAppBundle.go +++ b/service/appfabric/api_op_DeleteAppBundle.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteAppBundleMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAppBundleValidationMiddleware(stack); err != nil { return err } diff --git a/service/appfabric/api_op_DeleteIngestion.go b/service/appfabric/api_op_DeleteIngestion.go index a1a8984085b..cb2ad762f10 100644 --- a/service/appfabric/api_op_DeleteIngestion.go +++ b/service/appfabric/api_op_DeleteIngestion.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteIngestionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIngestionValidationMiddleware(stack); err != nil { return err } diff --git a/service/appfabric/api_op_DeleteIngestionDestination.go b/service/appfabric/api_op_DeleteIngestionDestination.go index 65205716701..3aac7e777f7 100644 --- a/service/appfabric/api_op_DeleteIngestionDestination.go +++ b/service/appfabric/api_op_DeleteIngestionDestination.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDeleteIngestionDestinationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIngestionDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appfabric/api_op_GetAppAuthorization.go b/service/appfabric/api_op_GetAppAuthorization.go index 4d4c29171be..6a249e236ea 100644 --- a/service/appfabric/api_op_GetAppAuthorization.go +++ b/service/appfabric/api_op_GetAppAuthorization.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetAppAuthorizationMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAppAuthorizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appfabric/api_op_GetAppBundle.go b/service/appfabric/api_op_GetAppBundle.go index 2bd2b089a5f..5185155d055 100644 --- a/service/appfabric/api_op_GetAppBundle.go +++ b/service/appfabric/api_op_GetAppBundle.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetAppBundleMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAppBundleValidationMiddleware(stack); err != nil { return err } diff --git a/service/appfabric/api_op_GetIngestion.go b/service/appfabric/api_op_GetIngestion.go index 7a7454e4a9d..e4238cd1ed0 100644 --- a/service/appfabric/api_op_GetIngestion.go +++ b/service/appfabric/api_op_GetIngestion.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetIngestionMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIngestionValidationMiddleware(stack); err != nil { return err } diff --git a/service/appfabric/api_op_GetIngestionDestination.go b/service/appfabric/api_op_GetIngestionDestination.go index af8b789a848..7b2e45cdcaa 100644 --- a/service/appfabric/api_op_GetIngestionDestination.go +++ b/service/appfabric/api_op_GetIngestionDestination.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetIngestionDestinationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIngestionDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appfabric/api_op_ListAppAuthorizations.go b/service/appfabric/api_op_ListAppAuthorizations.go index 73dad8faeb7..85aab4747a5 100644 --- a/service/appfabric/api_op_ListAppAuthorizations.go +++ b/service/appfabric/api_op_ListAppAuthorizations.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListAppAuthorizationsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAppAuthorizationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/appfabric/api_op_ListAppBundles.go b/service/appfabric/api_op_ListAppBundles.go index cdff0e09606..6e746ac78f9 100644 --- a/service/appfabric/api_op_ListAppBundles.go +++ b/service/appfabric/api_op_ListAppBundles.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListAppBundlesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAppBundles(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appfabric/api_op_ListIngestionDestinations.go b/service/appfabric/api_op_ListIngestionDestinations.go index 090d6e4461d..415c29dca6f 100644 --- a/service/appfabric/api_op_ListIngestionDestinations.go +++ b/service/appfabric/api_op_ListIngestionDestinations.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListIngestionDestinationsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIngestionDestinationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/appfabric/api_op_ListIngestions.go b/service/appfabric/api_op_ListIngestions.go index 98cc7abd782..0d43c7387fc 100644 --- a/service/appfabric/api_op_ListIngestions.go +++ b/service/appfabric/api_op_ListIngestions.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListIngestionsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIngestionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/appfabric/api_op_ListTagsForResource.go b/service/appfabric/api_op_ListTagsForResource.go index 97597de5af8..34ac37c2b00 100644 --- a/service/appfabric/api_op_ListTagsForResource.go +++ b/service/appfabric/api_op_ListTagsForResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/appfabric/api_op_StartIngestion.go b/service/appfabric/api_op_StartIngestion.go index 60a226688cc..9f01091d349 100644 --- a/service/appfabric/api_op_StartIngestion.go +++ b/service/appfabric/api_op_StartIngestion.go @@ -114,9 +114,6 @@ func (c *Client) addOperationStartIngestionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartIngestionValidationMiddleware(stack); err != nil { return err } diff --git a/service/appfabric/api_op_StartUserAccessTasks.go b/service/appfabric/api_op_StartUserAccessTasks.go index e8f3625f1ed..0d380ac4974 100644 --- a/service/appfabric/api_op_StartUserAccessTasks.go +++ b/service/appfabric/api_op_StartUserAccessTasks.go @@ -121,9 +121,6 @@ func (c *Client) addOperationStartUserAccessTasksMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartUserAccessTasksValidationMiddleware(stack); err != nil { return err } diff --git a/service/appfabric/api_op_StopIngestion.go b/service/appfabric/api_op_StopIngestion.go index 4cfe0cc3461..f15ce6eed78 100644 --- a/service/appfabric/api_op_StopIngestion.go +++ b/service/appfabric/api_op_StopIngestion.go @@ -114,9 +114,6 @@ func (c *Client) addOperationStopIngestionMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopIngestionValidationMiddleware(stack); err != nil { return err } diff --git a/service/appfabric/api_op_TagResource.go b/service/appfabric/api_op_TagResource.go index 1e73b6f4c4a..9c9590d763b 100644 --- a/service/appfabric/api_op_TagResource.go +++ b/service/appfabric/api_op_TagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/appfabric/api_op_UntagResource.go b/service/appfabric/api_op_UntagResource.go index 1e97feabd30..00f5773cf38 100644 --- a/service/appfabric/api_op_UntagResource.go +++ b/service/appfabric/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/appfabric/api_op_UpdateAppAuthorization.go b/service/appfabric/api_op_UpdateAppAuthorization.go index e02c7be8a5a..fce1786fd93 100644 --- a/service/appfabric/api_op_UpdateAppAuthorization.go +++ b/service/appfabric/api_op_UpdateAppAuthorization.go @@ -137,9 +137,6 @@ func (c *Client) addOperationUpdateAppAuthorizationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAppAuthorizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appfabric/api_op_UpdateIngestionDestination.go b/service/appfabric/api_op_UpdateIngestionDestination.go index b70501fa19d..8c8565df09d 100644 --- a/service/appfabric/api_op_UpdateIngestionDestination.go +++ b/service/appfabric/api_op_UpdateIngestionDestination.go @@ -133,9 +133,6 @@ func (c *Client) addOperationUpdateIngestionDestinationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateIngestionDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appfabric/snapshot/api_op_BatchGetUserAccessTasks.go.snap b/service/appfabric/snapshot/api_op_BatchGetUserAccessTasks.go.snap index f557cf443b4..d8cd34f84f8 100644 --- a/service/appfabric/snapshot/api_op_BatchGetUserAccessTasks.go.snap +++ b/service/appfabric/snapshot/api_op_BatchGetUserAccessTasks.go.snap @@ -14,7 +14,6 @@ BatchGetUserAccessTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appfabric/snapshot/api_op_ConnectAppAuthorization.go.snap b/service/appfabric/snapshot/api_op_ConnectAppAuthorization.go.snap index ed14c30d7c9..f5cf30bc817 100644 --- a/service/appfabric/snapshot/api_op_ConnectAppAuthorization.go.snap +++ b/service/appfabric/snapshot/api_op_ConnectAppAuthorization.go.snap @@ -14,7 +14,6 @@ ConnectAppAuthorization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appfabric/snapshot/api_op_CreateAppAuthorization.go.snap b/service/appfabric/snapshot/api_op_CreateAppAuthorization.go.snap index a319752ecf3..f8737a540eb 100644 --- a/service/appfabric/snapshot/api_op_CreateAppAuthorization.go.snap +++ b/service/appfabric/snapshot/api_op_CreateAppAuthorization.go.snap @@ -15,7 +15,6 @@ CreateAppAuthorization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appfabric/snapshot/api_op_CreateAppBundle.go.snap b/service/appfabric/snapshot/api_op_CreateAppBundle.go.snap index 9d2e0a6ad64..7a228d9e125 100644 --- a/service/appfabric/snapshot/api_op_CreateAppBundle.go.snap +++ b/service/appfabric/snapshot/api_op_CreateAppBundle.go.snap @@ -15,7 +15,6 @@ CreateAppBundle Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appfabric/snapshot/api_op_CreateIngestion.go.snap b/service/appfabric/snapshot/api_op_CreateIngestion.go.snap index 64010991984..f194eead75b 100644 --- a/service/appfabric/snapshot/api_op_CreateIngestion.go.snap +++ b/service/appfabric/snapshot/api_op_CreateIngestion.go.snap @@ -15,7 +15,6 @@ CreateIngestion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appfabric/snapshot/api_op_CreateIngestionDestination.go.snap b/service/appfabric/snapshot/api_op_CreateIngestionDestination.go.snap index d3a02a45cbe..76636916d13 100644 --- a/service/appfabric/snapshot/api_op_CreateIngestionDestination.go.snap +++ b/service/appfabric/snapshot/api_op_CreateIngestionDestination.go.snap @@ -15,7 +15,6 @@ CreateIngestionDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appfabric/snapshot/api_op_DeleteAppAuthorization.go.snap b/service/appfabric/snapshot/api_op_DeleteAppAuthorization.go.snap index 1791448b52e..a0c56623fb0 100644 --- a/service/appfabric/snapshot/api_op_DeleteAppAuthorization.go.snap +++ b/service/appfabric/snapshot/api_op_DeleteAppAuthorization.go.snap @@ -14,7 +14,6 @@ DeleteAppAuthorization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appfabric/snapshot/api_op_DeleteAppBundle.go.snap b/service/appfabric/snapshot/api_op_DeleteAppBundle.go.snap index d42f18dcce7..47a572d8d35 100644 --- a/service/appfabric/snapshot/api_op_DeleteAppBundle.go.snap +++ b/service/appfabric/snapshot/api_op_DeleteAppBundle.go.snap @@ -14,7 +14,6 @@ DeleteAppBundle Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appfabric/snapshot/api_op_DeleteIngestion.go.snap b/service/appfabric/snapshot/api_op_DeleteIngestion.go.snap index 36146000704..9e308f8a8dc 100644 --- a/service/appfabric/snapshot/api_op_DeleteIngestion.go.snap +++ b/service/appfabric/snapshot/api_op_DeleteIngestion.go.snap @@ -14,7 +14,6 @@ DeleteIngestion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appfabric/snapshot/api_op_DeleteIngestionDestination.go.snap b/service/appfabric/snapshot/api_op_DeleteIngestionDestination.go.snap index aae3724ba58..7e699cdae01 100644 --- a/service/appfabric/snapshot/api_op_DeleteIngestionDestination.go.snap +++ b/service/appfabric/snapshot/api_op_DeleteIngestionDestination.go.snap @@ -14,7 +14,6 @@ DeleteIngestionDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appfabric/snapshot/api_op_GetAppAuthorization.go.snap b/service/appfabric/snapshot/api_op_GetAppAuthorization.go.snap index 37961ab03bb..b79a1bf8dab 100644 --- a/service/appfabric/snapshot/api_op_GetAppAuthorization.go.snap +++ b/service/appfabric/snapshot/api_op_GetAppAuthorization.go.snap @@ -14,7 +14,6 @@ GetAppAuthorization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appfabric/snapshot/api_op_GetAppBundle.go.snap b/service/appfabric/snapshot/api_op_GetAppBundle.go.snap index 7f997d7cf4b..7a52785fd77 100644 --- a/service/appfabric/snapshot/api_op_GetAppBundle.go.snap +++ b/service/appfabric/snapshot/api_op_GetAppBundle.go.snap @@ -14,7 +14,6 @@ GetAppBundle Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appfabric/snapshot/api_op_GetIngestion.go.snap b/service/appfabric/snapshot/api_op_GetIngestion.go.snap index ea23c21fae1..1fe893861a0 100644 --- a/service/appfabric/snapshot/api_op_GetIngestion.go.snap +++ b/service/appfabric/snapshot/api_op_GetIngestion.go.snap @@ -14,7 +14,6 @@ GetIngestion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appfabric/snapshot/api_op_GetIngestionDestination.go.snap b/service/appfabric/snapshot/api_op_GetIngestionDestination.go.snap index adaa25084c3..ac1a74cc2ea 100644 --- a/service/appfabric/snapshot/api_op_GetIngestionDestination.go.snap +++ b/service/appfabric/snapshot/api_op_GetIngestionDestination.go.snap @@ -14,7 +14,6 @@ GetIngestionDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appfabric/snapshot/api_op_ListAppAuthorizations.go.snap b/service/appfabric/snapshot/api_op_ListAppAuthorizations.go.snap index 3c72bb54174..9189273993a 100644 --- a/service/appfabric/snapshot/api_op_ListAppAuthorizations.go.snap +++ b/service/appfabric/snapshot/api_op_ListAppAuthorizations.go.snap @@ -14,7 +14,6 @@ ListAppAuthorizations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appfabric/snapshot/api_op_ListAppBundles.go.snap b/service/appfabric/snapshot/api_op_ListAppBundles.go.snap index 8e891394954..384a88d38ba 100644 --- a/service/appfabric/snapshot/api_op_ListAppBundles.go.snap +++ b/service/appfabric/snapshot/api_op_ListAppBundles.go.snap @@ -13,7 +13,6 @@ ListAppBundles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appfabric/snapshot/api_op_ListIngestionDestinations.go.snap b/service/appfabric/snapshot/api_op_ListIngestionDestinations.go.snap index 3540e7df69f..a43425023b6 100644 --- a/service/appfabric/snapshot/api_op_ListIngestionDestinations.go.snap +++ b/service/appfabric/snapshot/api_op_ListIngestionDestinations.go.snap @@ -14,7 +14,6 @@ ListIngestionDestinations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appfabric/snapshot/api_op_ListIngestions.go.snap b/service/appfabric/snapshot/api_op_ListIngestions.go.snap index 02c32096f78..50d5bd4223d 100644 --- a/service/appfabric/snapshot/api_op_ListIngestions.go.snap +++ b/service/appfabric/snapshot/api_op_ListIngestions.go.snap @@ -14,7 +14,6 @@ ListIngestions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appfabric/snapshot/api_op_ListTagsForResource.go.snap b/service/appfabric/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/appfabric/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/appfabric/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appfabric/snapshot/api_op_StartIngestion.go.snap b/service/appfabric/snapshot/api_op_StartIngestion.go.snap index 35841a45aca..064588c5ee8 100644 --- a/service/appfabric/snapshot/api_op_StartIngestion.go.snap +++ b/service/appfabric/snapshot/api_op_StartIngestion.go.snap @@ -14,7 +14,6 @@ StartIngestion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appfabric/snapshot/api_op_StartUserAccessTasks.go.snap b/service/appfabric/snapshot/api_op_StartUserAccessTasks.go.snap index e33101abb1a..7c183cfc17b 100644 --- a/service/appfabric/snapshot/api_op_StartUserAccessTasks.go.snap +++ b/service/appfabric/snapshot/api_op_StartUserAccessTasks.go.snap @@ -14,7 +14,6 @@ StartUserAccessTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appfabric/snapshot/api_op_StopIngestion.go.snap b/service/appfabric/snapshot/api_op_StopIngestion.go.snap index f89d2185273..8644f41f130 100644 --- a/service/appfabric/snapshot/api_op_StopIngestion.go.snap +++ b/service/appfabric/snapshot/api_op_StopIngestion.go.snap @@ -14,7 +14,6 @@ StopIngestion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appfabric/snapshot/api_op_TagResource.go.snap b/service/appfabric/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/appfabric/snapshot/api_op_TagResource.go.snap +++ b/service/appfabric/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appfabric/snapshot/api_op_UntagResource.go.snap b/service/appfabric/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/appfabric/snapshot/api_op_UntagResource.go.snap +++ b/service/appfabric/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appfabric/snapshot/api_op_UpdateAppAuthorization.go.snap b/service/appfabric/snapshot/api_op_UpdateAppAuthorization.go.snap index f6ab7eb95e1..bd01a400907 100644 --- a/service/appfabric/snapshot/api_op_UpdateAppAuthorization.go.snap +++ b/service/appfabric/snapshot/api_op_UpdateAppAuthorization.go.snap @@ -14,7 +14,6 @@ UpdateAppAuthorization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appfabric/snapshot/api_op_UpdateIngestionDestination.go.snap b/service/appfabric/snapshot/api_op_UpdateIngestionDestination.go.snap index eb14ddea83a..9d7f4694fbd 100644 --- a/service/appfabric/snapshot/api_op_UpdateIngestionDestination.go.snap +++ b/service/appfabric/snapshot/api_op_UpdateIngestionDestination.go.snap @@ -14,7 +14,6 @@ UpdateIngestionDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appflow/api_client.go b/service/appflow/api_client.go index 797276433ef..28364b866ac 100644 --- a/service/appflow/api_client.go +++ b/service/appflow/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/appflow/api_op_CancelFlowExecutions.go b/service/appflow/api_op_CancelFlowExecutions.go index e315c1b8aa9..cf1763c7c07 100644 --- a/service/appflow/api_op_CancelFlowExecutions.go +++ b/service/appflow/api_op_CancelFlowExecutions.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCancelFlowExecutionsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelFlowExecutionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_CreateConnectorProfile.go b/service/appflow/api_op_CreateConnectorProfile.go index 7489abd2382..40f2555fff1 100644 --- a/service/appflow/api_op_CreateConnectorProfile.go +++ b/service/appflow/api_op_CreateConnectorProfile.go @@ -162,9 +162,6 @@ func (c *Client) addOperationCreateConnectorProfileMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateConnectorProfileMiddleware(stack, options); err != nil { return err } diff --git a/service/appflow/api_op_CreateFlow.go b/service/appflow/api_op_CreateFlow.go index 10791c5dd17..321094851e4 100644 --- a/service/appflow/api_op_CreateFlow.go +++ b/service/appflow/api_op_CreateFlow.go @@ -176,9 +176,6 @@ func (c *Client) addOperationCreateFlowMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateFlowMiddleware(stack, options); err != nil { return err } diff --git a/service/appflow/api_op_DeleteConnectorProfile.go b/service/appflow/api_op_DeleteConnectorProfile.go index d8efc1da78f..4eb88ed2ebe 100644 --- a/service/appflow/api_op_DeleteConnectorProfile.go +++ b/service/appflow/api_op_DeleteConnectorProfile.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteConnectorProfileMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConnectorProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_DeleteFlow.go b/service/appflow/api_op_DeleteFlow.go index ddf2a25036f..4532e3915e9 100644 --- a/service/appflow/api_op_DeleteFlow.go +++ b/service/appflow/api_op_DeleteFlow.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteFlowMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFlowValidationMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_DescribeConnector.go b/service/appflow/api_op_DescribeConnector.go index 33b7d130a00..c50312d8728 100644 --- a/service/appflow/api_op_DescribeConnector.go +++ b/service/appflow/api_op_DescribeConnector.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDescribeConnectorMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeConnectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_DescribeConnectorEntity.go b/service/appflow/api_op_DescribeConnectorEntity.go index 835a9f526ca..fd7647574a9 100644 --- a/service/appflow/api_op_DescribeConnectorEntity.go +++ b/service/appflow/api_op_DescribeConnectorEntity.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeConnectorEntityMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeConnectorEntityValidationMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_DescribeConnectorProfiles.go b/service/appflow/api_op_DescribeConnectorProfiles.go index fc329656b4c..a80c64c8ac0 100644 --- a/service/appflow/api_op_DescribeConnectorProfiles.go +++ b/service/appflow/api_op_DescribeConnectorProfiles.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribeConnectorProfilesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConnectorProfiles(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appflow/api_op_DescribeConnectors.go b/service/appflow/api_op_DescribeConnectors.go index 71281f90e98..9afec95a0f0 100644 --- a/service/appflow/api_op_DescribeConnectors.go +++ b/service/appflow/api_op_DescribeConnectors.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeConnectorsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConnectors(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appflow/api_op_DescribeFlow.go b/service/appflow/api_op_DescribeFlow.go index 76eba2561fb..b8dac3ae213 100644 --- a/service/appflow/api_op_DescribeFlow.go +++ b/service/appflow/api_op_DescribeFlow.go @@ -187,9 +187,6 @@ func (c *Client) addOperationDescribeFlowMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFlowValidationMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_DescribeFlowExecutionRecords.go b/service/appflow/api_op_DescribeFlowExecutionRecords.go index 037be9fe765..f4cecbc244c 100644 --- a/service/appflow/api_op_DescribeFlowExecutionRecords.go +++ b/service/appflow/api_op_DescribeFlowExecutionRecords.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeFlowExecutionRecordsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFlowExecutionRecordsValidationMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_ListConnectorEntities.go b/service/appflow/api_op_ListConnectorEntities.go index ec3f5ccc6be..0a1b35653c5 100644 --- a/service/appflow/api_op_ListConnectorEntities.go +++ b/service/appflow/api_op_ListConnectorEntities.go @@ -146,9 +146,6 @@ func (c *Client) addOperationListConnectorEntitiesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConnectorEntities(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appflow/api_op_ListConnectors.go b/service/appflow/api_op_ListConnectors.go index 7a91de8fb42..21f99be9c33 100644 --- a/service/appflow/api_op_ListConnectors.go +++ b/service/appflow/api_op_ListConnectors.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListConnectorsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConnectors(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appflow/api_op_ListFlows.go b/service/appflow/api_op_ListFlows.go index 04662ee9c0b..3052f4a596c 100644 --- a/service/appflow/api_op_ListFlows.go +++ b/service/appflow/api_op_ListFlows.go @@ -117,9 +117,6 @@ func (c *Client) addOperationListFlowsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFlows(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appflow/api_op_ListTagsForResource.go b/service/appflow/api_op_ListTagsForResource.go index eafceb29036..86c783444d6 100644 --- a/service/appflow/api_op_ListTagsForResource.go +++ b/service/appflow/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_RegisterConnector.go b/service/appflow/api_op_RegisterConnector.go index 2709198a0e1..0bf1ac271a5 100644 --- a/service/appflow/api_op_RegisterConnector.go +++ b/service/appflow/api_op_RegisterConnector.go @@ -139,9 +139,6 @@ func (c *Client) addOperationRegisterConnectorMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opRegisterConnectorMiddleware(stack, options); err != nil { return err } diff --git a/service/appflow/api_op_ResetConnectorMetadataCache.go b/service/appflow/api_op_ResetConnectorMetadataCache.go index 027228f8f37..29f4674b4af 100644 --- a/service/appflow/api_op_ResetConnectorMetadataCache.go +++ b/service/appflow/api_op_ResetConnectorMetadataCache.go @@ -165,9 +165,6 @@ func (c *Client) addOperationResetConnectorMetadataCacheMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResetConnectorMetadataCache(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appflow/api_op_StartFlow.go b/service/appflow/api_op_StartFlow.go index 2350ca7075e..5f1e09d4975 100644 --- a/service/appflow/api_op_StartFlow.go +++ b/service/appflow/api_op_StartFlow.go @@ -142,9 +142,6 @@ func (c *Client) addOperationStartFlowMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartFlowMiddleware(stack, options); err != nil { return err } diff --git a/service/appflow/api_op_StopFlow.go b/service/appflow/api_op_StopFlow.go index f711b95aec2..b45f9c2e5b1 100644 --- a/service/appflow/api_op_StopFlow.go +++ b/service/appflow/api_op_StopFlow.go @@ -119,9 +119,6 @@ func (c *Client) addOperationStopFlowMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopFlowValidationMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_TagResource.go b/service/appflow/api_op_TagResource.go index 7f81e95fd12..01eff4dcdcc 100644 --- a/service/appflow/api_op_TagResource.go +++ b/service/appflow/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_UnregisterConnector.go b/service/appflow/api_op_UnregisterConnector.go index e0d33ae3f9f..2a00cfe3dab 100644 --- a/service/appflow/api_op_UnregisterConnector.go +++ b/service/appflow/api_op_UnregisterConnector.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUnregisterConnectorMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUnregisterConnectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_UntagResource.go b/service/appflow/api_op_UntagResource.go index 5982b0d87e8..97bbb3fc775 100644 --- a/service/appflow/api_op_UntagResource.go +++ b/service/appflow/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/appflow/api_op_UpdateConnectorProfile.go b/service/appflow/api_op_UpdateConnectorProfile.go index cc81482d579..18e91e97b91 100644 --- a/service/appflow/api_op_UpdateConnectorProfile.go +++ b/service/appflow/api_op_UpdateConnectorProfile.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateConnectorProfileMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateConnectorProfileMiddleware(stack, options); err != nil { return err } diff --git a/service/appflow/api_op_UpdateConnectorRegistration.go b/service/appflow/api_op_UpdateConnectorRegistration.go index 1deb438d236..2211356c8aa 100644 --- a/service/appflow/api_op_UpdateConnectorRegistration.go +++ b/service/appflow/api_op_UpdateConnectorRegistration.go @@ -140,9 +140,6 @@ func (c *Client) addOperationUpdateConnectorRegistrationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateConnectorRegistrationMiddleware(stack, options); err != nil { return err } diff --git a/service/appflow/api_op_UpdateFlow.go b/service/appflow/api_op_UpdateFlow.go index 97f8c33f2fd..c90e80ecb8b 100644 --- a/service/appflow/api_op_UpdateFlow.go +++ b/service/appflow/api_op_UpdateFlow.go @@ -159,9 +159,6 @@ func (c *Client) addOperationUpdateFlowMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateFlowMiddleware(stack, options); err != nil { return err } diff --git a/service/appflow/snapshot/api_op_CancelFlowExecutions.go.snap b/service/appflow/snapshot/api_op_CancelFlowExecutions.go.snap index 38afb37c9ee..adc828651d4 100644 --- a/service/appflow/snapshot/api_op_CancelFlowExecutions.go.snap +++ b/service/appflow/snapshot/api_op_CancelFlowExecutions.go.snap @@ -14,7 +14,6 @@ CancelFlowExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appflow/snapshot/api_op_CreateConnectorProfile.go.snap b/service/appflow/snapshot/api_op_CreateConnectorProfile.go.snap index 4f665a208d1..c46b11ec2b2 100644 --- a/service/appflow/snapshot/api_op_CreateConnectorProfile.go.snap +++ b/service/appflow/snapshot/api_op_CreateConnectorProfile.go.snap @@ -15,7 +15,6 @@ CreateConnectorProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appflow/snapshot/api_op_CreateFlow.go.snap b/service/appflow/snapshot/api_op_CreateFlow.go.snap index 80b533f46f4..e0a597a3dd4 100644 --- a/service/appflow/snapshot/api_op_CreateFlow.go.snap +++ b/service/appflow/snapshot/api_op_CreateFlow.go.snap @@ -15,7 +15,6 @@ CreateFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appflow/snapshot/api_op_DeleteConnectorProfile.go.snap b/service/appflow/snapshot/api_op_DeleteConnectorProfile.go.snap index 2f43a1470a1..f7b64e62910 100644 --- a/service/appflow/snapshot/api_op_DeleteConnectorProfile.go.snap +++ b/service/appflow/snapshot/api_op_DeleteConnectorProfile.go.snap @@ -14,7 +14,6 @@ DeleteConnectorProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appflow/snapshot/api_op_DeleteFlow.go.snap b/service/appflow/snapshot/api_op_DeleteFlow.go.snap index 133440e076e..4e0191ae096 100644 --- a/service/appflow/snapshot/api_op_DeleteFlow.go.snap +++ b/service/appflow/snapshot/api_op_DeleteFlow.go.snap @@ -14,7 +14,6 @@ DeleteFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appflow/snapshot/api_op_DescribeConnector.go.snap b/service/appflow/snapshot/api_op_DescribeConnector.go.snap index 261224f6337..e88421ae9f4 100644 --- a/service/appflow/snapshot/api_op_DescribeConnector.go.snap +++ b/service/appflow/snapshot/api_op_DescribeConnector.go.snap @@ -14,7 +14,6 @@ DescribeConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appflow/snapshot/api_op_DescribeConnectorEntity.go.snap b/service/appflow/snapshot/api_op_DescribeConnectorEntity.go.snap index 85606fcce90..cc1732a7d7f 100644 --- a/service/appflow/snapshot/api_op_DescribeConnectorEntity.go.snap +++ b/service/appflow/snapshot/api_op_DescribeConnectorEntity.go.snap @@ -14,7 +14,6 @@ DescribeConnectorEntity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appflow/snapshot/api_op_DescribeConnectorProfiles.go.snap b/service/appflow/snapshot/api_op_DescribeConnectorProfiles.go.snap index 1cf218db57a..bcf6608309f 100644 --- a/service/appflow/snapshot/api_op_DescribeConnectorProfiles.go.snap +++ b/service/appflow/snapshot/api_op_DescribeConnectorProfiles.go.snap @@ -13,7 +13,6 @@ DescribeConnectorProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appflow/snapshot/api_op_DescribeConnectors.go.snap b/service/appflow/snapshot/api_op_DescribeConnectors.go.snap index a0f48209882..fa31304b963 100644 --- a/service/appflow/snapshot/api_op_DescribeConnectors.go.snap +++ b/service/appflow/snapshot/api_op_DescribeConnectors.go.snap @@ -13,7 +13,6 @@ DescribeConnectors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appflow/snapshot/api_op_DescribeFlow.go.snap b/service/appflow/snapshot/api_op_DescribeFlow.go.snap index 8f385804049..657c732fe43 100644 --- a/service/appflow/snapshot/api_op_DescribeFlow.go.snap +++ b/service/appflow/snapshot/api_op_DescribeFlow.go.snap @@ -14,7 +14,6 @@ DescribeFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appflow/snapshot/api_op_DescribeFlowExecutionRecords.go.snap b/service/appflow/snapshot/api_op_DescribeFlowExecutionRecords.go.snap index e63e69b840c..76f4cba5de0 100644 --- a/service/appflow/snapshot/api_op_DescribeFlowExecutionRecords.go.snap +++ b/service/appflow/snapshot/api_op_DescribeFlowExecutionRecords.go.snap @@ -14,7 +14,6 @@ DescribeFlowExecutionRecords Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appflow/snapshot/api_op_ListConnectorEntities.go.snap b/service/appflow/snapshot/api_op_ListConnectorEntities.go.snap index 81b59261d84..9f680e1fe92 100644 --- a/service/appflow/snapshot/api_op_ListConnectorEntities.go.snap +++ b/service/appflow/snapshot/api_op_ListConnectorEntities.go.snap @@ -13,7 +13,6 @@ ListConnectorEntities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appflow/snapshot/api_op_ListConnectors.go.snap b/service/appflow/snapshot/api_op_ListConnectors.go.snap index 43a1f535ec6..713efc01581 100644 --- a/service/appflow/snapshot/api_op_ListConnectors.go.snap +++ b/service/appflow/snapshot/api_op_ListConnectors.go.snap @@ -13,7 +13,6 @@ ListConnectors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appflow/snapshot/api_op_ListFlows.go.snap b/service/appflow/snapshot/api_op_ListFlows.go.snap index 60dea0909f1..34a5034919c 100644 --- a/service/appflow/snapshot/api_op_ListFlows.go.snap +++ b/service/appflow/snapshot/api_op_ListFlows.go.snap @@ -13,7 +13,6 @@ ListFlows Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appflow/snapshot/api_op_ListTagsForResource.go.snap b/service/appflow/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/appflow/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/appflow/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appflow/snapshot/api_op_RegisterConnector.go.snap b/service/appflow/snapshot/api_op_RegisterConnector.go.snap index ac1b3fdf8aa..a43e17b8c71 100644 --- a/service/appflow/snapshot/api_op_RegisterConnector.go.snap +++ b/service/appflow/snapshot/api_op_RegisterConnector.go.snap @@ -15,7 +15,6 @@ RegisterConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appflow/snapshot/api_op_ResetConnectorMetadataCache.go.snap b/service/appflow/snapshot/api_op_ResetConnectorMetadataCache.go.snap index 428a9798470..04fa1a29d21 100644 --- a/service/appflow/snapshot/api_op_ResetConnectorMetadataCache.go.snap +++ b/service/appflow/snapshot/api_op_ResetConnectorMetadataCache.go.snap @@ -13,7 +13,6 @@ ResetConnectorMetadataCache Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appflow/snapshot/api_op_StartFlow.go.snap b/service/appflow/snapshot/api_op_StartFlow.go.snap index 4c739d26b2f..a5e126de71c 100644 --- a/service/appflow/snapshot/api_op_StartFlow.go.snap +++ b/service/appflow/snapshot/api_op_StartFlow.go.snap @@ -15,7 +15,6 @@ StartFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appflow/snapshot/api_op_StopFlow.go.snap b/service/appflow/snapshot/api_op_StopFlow.go.snap index 5a21c3d5ddf..519ba7fb003 100644 --- a/service/appflow/snapshot/api_op_StopFlow.go.snap +++ b/service/appflow/snapshot/api_op_StopFlow.go.snap @@ -14,7 +14,6 @@ StopFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appflow/snapshot/api_op_TagResource.go.snap b/service/appflow/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/appflow/snapshot/api_op_TagResource.go.snap +++ b/service/appflow/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appflow/snapshot/api_op_UnregisterConnector.go.snap b/service/appflow/snapshot/api_op_UnregisterConnector.go.snap index cb3103a44f7..f7a10c9eb29 100644 --- a/service/appflow/snapshot/api_op_UnregisterConnector.go.snap +++ b/service/appflow/snapshot/api_op_UnregisterConnector.go.snap @@ -14,7 +14,6 @@ UnregisterConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appflow/snapshot/api_op_UntagResource.go.snap b/service/appflow/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/appflow/snapshot/api_op_UntagResource.go.snap +++ b/service/appflow/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appflow/snapshot/api_op_UpdateConnectorProfile.go.snap b/service/appflow/snapshot/api_op_UpdateConnectorProfile.go.snap index dac0d34ef88..535e3cf618f 100644 --- a/service/appflow/snapshot/api_op_UpdateConnectorProfile.go.snap +++ b/service/appflow/snapshot/api_op_UpdateConnectorProfile.go.snap @@ -15,7 +15,6 @@ UpdateConnectorProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appflow/snapshot/api_op_UpdateConnectorRegistration.go.snap b/service/appflow/snapshot/api_op_UpdateConnectorRegistration.go.snap index c7f211f2eff..8f4994f704a 100644 --- a/service/appflow/snapshot/api_op_UpdateConnectorRegistration.go.snap +++ b/service/appflow/snapshot/api_op_UpdateConnectorRegistration.go.snap @@ -15,7 +15,6 @@ UpdateConnectorRegistration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appflow/snapshot/api_op_UpdateFlow.go.snap b/service/appflow/snapshot/api_op_UpdateFlow.go.snap index 442aa0e5b62..8be596fad1a 100644 --- a/service/appflow/snapshot/api_op_UpdateFlow.go.snap +++ b/service/appflow/snapshot/api_op_UpdateFlow.go.snap @@ -15,7 +15,6 @@ UpdateFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appintegrations/api_client.go b/service/appintegrations/api_client.go index 6c82fd4a2a8..e4246825d04 100644 --- a/service/appintegrations/api_client.go +++ b/service/appintegrations/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/appintegrations/api_op_CreateApplication.go b/service/appintegrations/api_op_CreateApplication.go index 3e809c11fd0..7d56cbcf666 100644 --- a/service/appintegrations/api_op_CreateApplication.go +++ b/service/appintegrations/api_op_CreateApplication.go @@ -152,9 +152,6 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateApplicationMiddleware(stack, options); err != nil { return err } diff --git a/service/appintegrations/api_op_CreateDataIntegration.go b/service/appintegrations/api_op_CreateDataIntegration.go index 285dc04f258..0b0c3f92bab 100644 --- a/service/appintegrations/api_op_CreateDataIntegration.go +++ b/service/appintegrations/api_op_CreateDataIntegration.go @@ -182,9 +182,6 @@ func (c *Client) addOperationCreateDataIntegrationMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDataIntegrationMiddleware(stack, options); err != nil { return err } diff --git a/service/appintegrations/api_op_CreateDataIntegrationAssociation.go b/service/appintegrations/api_op_CreateDataIntegrationAssociation.go index 8dfbd911fd4..17ee7be40d5 100644 --- a/service/appintegrations/api_op_CreateDataIntegrationAssociation.go +++ b/service/appintegrations/api_op_CreateDataIntegrationAssociation.go @@ -138,9 +138,6 @@ func (c *Client) addOperationCreateDataIntegrationAssociationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDataIntegrationAssociationMiddleware(stack, options); err != nil { return err } diff --git a/service/appintegrations/api_op_CreateEventIntegration.go b/service/appintegrations/api_op_CreateEventIntegration.go index 274b92b5914..f79d7f525d9 100644 --- a/service/appintegrations/api_op_CreateEventIntegration.go +++ b/service/appintegrations/api_op_CreateEventIntegration.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateEventIntegrationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateEventIntegrationMiddleware(stack, options); err != nil { return err } diff --git a/service/appintegrations/api_op_DeleteApplication.go b/service/appintegrations/api_op_DeleteApplication.go index f2e742c5573..4659426cd43 100644 --- a/service/appintegrations/api_op_DeleteApplication.go +++ b/service/appintegrations/api_op_DeleteApplication.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appintegrations/api_op_DeleteDataIntegration.go b/service/appintegrations/api_op_DeleteDataIntegration.go index 9c7ad6e03f0..d46aa7027a7 100644 --- a/service/appintegrations/api_op_DeleteDataIntegration.go +++ b/service/appintegrations/api_op_DeleteDataIntegration.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteDataIntegrationMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDataIntegrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appintegrations/api_op_DeleteEventIntegration.go b/service/appintegrations/api_op_DeleteEventIntegration.go index 90c0d8eed35..2e48b4a290a 100644 --- a/service/appintegrations/api_op_DeleteEventIntegration.go +++ b/service/appintegrations/api_op_DeleteEventIntegration.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteEventIntegrationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEventIntegrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appintegrations/api_op_GetApplication.go b/service/appintegrations/api_op_GetApplication.go index d91128d6f47..39ce1bd8083 100644 --- a/service/appintegrations/api_op_GetApplication.go +++ b/service/appintegrations/api_op_GetApplication.go @@ -151,9 +151,6 @@ func (c *Client) addOperationGetApplicationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appintegrations/api_op_GetDataIntegration.go b/service/appintegrations/api_op_GetDataIntegration.go index d1f673e785b..0898089ce2a 100644 --- a/service/appintegrations/api_op_GetDataIntegration.go +++ b/service/appintegrations/api_op_GetDataIntegration.go @@ -146,9 +146,6 @@ func (c *Client) addOperationGetDataIntegrationMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataIntegrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appintegrations/api_op_GetEventIntegration.go b/service/appintegrations/api_op_GetEventIntegration.go index cf28726b369..f5ded89ed30 100644 --- a/service/appintegrations/api_op_GetEventIntegration.go +++ b/service/appintegrations/api_op_GetEventIntegration.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetEventIntegrationMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEventIntegrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appintegrations/api_op_ListApplicationAssociations.go b/service/appintegrations/api_op_ListApplicationAssociations.go index 7c37dd3eb2a..b11fac91e37 100644 --- a/service/appintegrations/api_op_ListApplicationAssociations.go +++ b/service/appintegrations/api_op_ListApplicationAssociations.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListApplicationAssociationsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListApplicationAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/appintegrations/api_op_ListApplications.go b/service/appintegrations/api_op_ListApplications.go index fd79df3ff09..33e0defb258 100644 --- a/service/appintegrations/api_op_ListApplications.go +++ b/service/appintegrations/api_op_ListApplications.go @@ -117,9 +117,6 @@ func (c *Client) addOperationListApplicationsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplications(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appintegrations/api_op_ListDataIntegrationAssociations.go b/service/appintegrations/api_op_ListDataIntegrationAssociations.go index 54b2d62abc0..013fccd5f8f 100644 --- a/service/appintegrations/api_op_ListDataIntegrationAssociations.go +++ b/service/appintegrations/api_op_ListDataIntegrationAssociations.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListDataIntegrationAssociationsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDataIntegrationAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/appintegrations/api_op_ListDataIntegrations.go b/service/appintegrations/api_op_ListDataIntegrations.go index 2605a6ca0a4..dd7034b0fe8 100644 --- a/service/appintegrations/api_op_ListDataIntegrations.go +++ b/service/appintegrations/api_op_ListDataIntegrations.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListDataIntegrationsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataIntegrations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appintegrations/api_op_ListEventIntegrationAssociations.go b/service/appintegrations/api_op_ListEventIntegrationAssociations.go index 2d0100e0742..c91ad984ac8 100644 --- a/service/appintegrations/api_op_ListEventIntegrationAssociations.go +++ b/service/appintegrations/api_op_ListEventIntegrationAssociations.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListEventIntegrationAssociationsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEventIntegrationAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/appintegrations/api_op_ListEventIntegrations.go b/service/appintegrations/api_op_ListEventIntegrations.go index e67f68de542..371fd118c4d 100644 --- a/service/appintegrations/api_op_ListEventIntegrations.go +++ b/service/appintegrations/api_op_ListEventIntegrations.go @@ -117,9 +117,6 @@ func (c *Client) addOperationListEventIntegrationsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEventIntegrations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appintegrations/api_op_ListTagsForResource.go b/service/appintegrations/api_op_ListTagsForResource.go index 35416ec6b88..129e096107d 100644 --- a/service/appintegrations/api_op_ListTagsForResource.go +++ b/service/appintegrations/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/appintegrations/api_op_TagResource.go b/service/appintegrations/api_op_TagResource.go index 0c89e6bfdff..0b70585bb16 100644 --- a/service/appintegrations/api_op_TagResource.go +++ b/service/appintegrations/api_op_TagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/appintegrations/api_op_UntagResource.go b/service/appintegrations/api_op_UntagResource.go index e9824999229..ac7bf375f77 100644 --- a/service/appintegrations/api_op_UntagResource.go +++ b/service/appintegrations/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/appintegrations/api_op_UpdateApplication.go b/service/appintegrations/api_op_UpdateApplication.go index 93a0df973ea..7fde330632b 100644 --- a/service/appintegrations/api_op_UpdateApplication.go +++ b/service/appintegrations/api_op_UpdateApplication.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appintegrations/api_op_UpdateDataIntegration.go b/service/appintegrations/api_op_UpdateDataIntegration.go index b0c5b311a29..6308c45f985 100644 --- a/service/appintegrations/api_op_UpdateDataIntegration.go +++ b/service/appintegrations/api_op_UpdateDataIntegration.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateDataIntegrationMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDataIntegrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appintegrations/api_op_UpdateDataIntegrationAssociation.go b/service/appintegrations/api_op_UpdateDataIntegrationAssociation.go index f3b18dffe45..eef044a42b2 100644 --- a/service/appintegrations/api_op_UpdateDataIntegrationAssociation.go +++ b/service/appintegrations/api_op_UpdateDataIntegrationAssociation.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateDataIntegrationAssociationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDataIntegrationAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appintegrations/api_op_UpdateEventIntegration.go b/service/appintegrations/api_op_UpdateEventIntegration.go index cf1f8eb5242..2c7ba455ac3 100644 --- a/service/appintegrations/api_op_UpdateEventIntegration.go +++ b/service/appintegrations/api_op_UpdateEventIntegration.go @@ -110,9 +110,6 @@ func (c *Client) addOperationUpdateEventIntegrationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEventIntegrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appintegrations/snapshot/api_op_CreateApplication.go.snap b/service/appintegrations/snapshot/api_op_CreateApplication.go.snap index 55ae9fa9488..cb4df90a3ee 100644 --- a/service/appintegrations/snapshot/api_op_CreateApplication.go.snap +++ b/service/appintegrations/snapshot/api_op_CreateApplication.go.snap @@ -15,7 +15,6 @@ CreateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appintegrations/snapshot/api_op_CreateDataIntegration.go.snap b/service/appintegrations/snapshot/api_op_CreateDataIntegration.go.snap index f65675982b0..bbf993a1fb1 100644 --- a/service/appintegrations/snapshot/api_op_CreateDataIntegration.go.snap +++ b/service/appintegrations/snapshot/api_op_CreateDataIntegration.go.snap @@ -15,7 +15,6 @@ CreateDataIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appintegrations/snapshot/api_op_CreateDataIntegrationAssociation.go.snap b/service/appintegrations/snapshot/api_op_CreateDataIntegrationAssociation.go.snap index 6774ee4d802..7939960ea53 100644 --- a/service/appintegrations/snapshot/api_op_CreateDataIntegrationAssociation.go.snap +++ b/service/appintegrations/snapshot/api_op_CreateDataIntegrationAssociation.go.snap @@ -15,7 +15,6 @@ CreateDataIntegrationAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appintegrations/snapshot/api_op_CreateEventIntegration.go.snap b/service/appintegrations/snapshot/api_op_CreateEventIntegration.go.snap index 05d81314750..a157f3c93e8 100644 --- a/service/appintegrations/snapshot/api_op_CreateEventIntegration.go.snap +++ b/service/appintegrations/snapshot/api_op_CreateEventIntegration.go.snap @@ -15,7 +15,6 @@ CreateEventIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appintegrations/snapshot/api_op_DeleteApplication.go.snap b/service/appintegrations/snapshot/api_op_DeleteApplication.go.snap index 80790355ed5..ffda37a527f 100644 --- a/service/appintegrations/snapshot/api_op_DeleteApplication.go.snap +++ b/service/appintegrations/snapshot/api_op_DeleteApplication.go.snap @@ -14,7 +14,6 @@ DeleteApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appintegrations/snapshot/api_op_DeleteDataIntegration.go.snap b/service/appintegrations/snapshot/api_op_DeleteDataIntegration.go.snap index 2d7f318774d..1d551cd828f 100644 --- a/service/appintegrations/snapshot/api_op_DeleteDataIntegration.go.snap +++ b/service/appintegrations/snapshot/api_op_DeleteDataIntegration.go.snap @@ -14,7 +14,6 @@ DeleteDataIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appintegrations/snapshot/api_op_DeleteEventIntegration.go.snap b/service/appintegrations/snapshot/api_op_DeleteEventIntegration.go.snap index 65e317a433e..a9d8d12a546 100644 --- a/service/appintegrations/snapshot/api_op_DeleteEventIntegration.go.snap +++ b/service/appintegrations/snapshot/api_op_DeleteEventIntegration.go.snap @@ -14,7 +14,6 @@ DeleteEventIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appintegrations/snapshot/api_op_GetApplication.go.snap b/service/appintegrations/snapshot/api_op_GetApplication.go.snap index 3307f56eb00..ffc8b0228f7 100644 --- a/service/appintegrations/snapshot/api_op_GetApplication.go.snap +++ b/service/appintegrations/snapshot/api_op_GetApplication.go.snap @@ -14,7 +14,6 @@ GetApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appintegrations/snapshot/api_op_GetDataIntegration.go.snap b/service/appintegrations/snapshot/api_op_GetDataIntegration.go.snap index 4e1b7cdf59c..6db37cd5eef 100644 --- a/service/appintegrations/snapshot/api_op_GetDataIntegration.go.snap +++ b/service/appintegrations/snapshot/api_op_GetDataIntegration.go.snap @@ -14,7 +14,6 @@ GetDataIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appintegrations/snapshot/api_op_GetEventIntegration.go.snap b/service/appintegrations/snapshot/api_op_GetEventIntegration.go.snap index e6840b88666..62900d8a84b 100644 --- a/service/appintegrations/snapshot/api_op_GetEventIntegration.go.snap +++ b/service/appintegrations/snapshot/api_op_GetEventIntegration.go.snap @@ -14,7 +14,6 @@ GetEventIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appintegrations/snapshot/api_op_ListApplicationAssociations.go.snap b/service/appintegrations/snapshot/api_op_ListApplicationAssociations.go.snap index 4e264b405d4..f8f20250a5e 100644 --- a/service/appintegrations/snapshot/api_op_ListApplicationAssociations.go.snap +++ b/service/appintegrations/snapshot/api_op_ListApplicationAssociations.go.snap @@ -14,7 +14,6 @@ ListApplicationAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appintegrations/snapshot/api_op_ListApplications.go.snap b/service/appintegrations/snapshot/api_op_ListApplications.go.snap index e18746bd34f..6029195b8e8 100644 --- a/service/appintegrations/snapshot/api_op_ListApplications.go.snap +++ b/service/appintegrations/snapshot/api_op_ListApplications.go.snap @@ -13,7 +13,6 @@ ListApplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appintegrations/snapshot/api_op_ListDataIntegrationAssociations.go.snap b/service/appintegrations/snapshot/api_op_ListDataIntegrationAssociations.go.snap index 6d29ffffc69..6a80903ef55 100644 --- a/service/appintegrations/snapshot/api_op_ListDataIntegrationAssociations.go.snap +++ b/service/appintegrations/snapshot/api_op_ListDataIntegrationAssociations.go.snap @@ -14,7 +14,6 @@ ListDataIntegrationAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appintegrations/snapshot/api_op_ListDataIntegrations.go.snap b/service/appintegrations/snapshot/api_op_ListDataIntegrations.go.snap index f4ed5ee34ed..b81e825aec3 100644 --- a/service/appintegrations/snapshot/api_op_ListDataIntegrations.go.snap +++ b/service/appintegrations/snapshot/api_op_ListDataIntegrations.go.snap @@ -13,7 +13,6 @@ ListDataIntegrations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appintegrations/snapshot/api_op_ListEventIntegrationAssociations.go.snap b/service/appintegrations/snapshot/api_op_ListEventIntegrationAssociations.go.snap index aee02049365..67f4d88e8af 100644 --- a/service/appintegrations/snapshot/api_op_ListEventIntegrationAssociations.go.snap +++ b/service/appintegrations/snapshot/api_op_ListEventIntegrationAssociations.go.snap @@ -14,7 +14,6 @@ ListEventIntegrationAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appintegrations/snapshot/api_op_ListEventIntegrations.go.snap b/service/appintegrations/snapshot/api_op_ListEventIntegrations.go.snap index f0e0039444d..10ed8769dbb 100644 --- a/service/appintegrations/snapshot/api_op_ListEventIntegrations.go.snap +++ b/service/appintegrations/snapshot/api_op_ListEventIntegrations.go.snap @@ -13,7 +13,6 @@ ListEventIntegrations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appintegrations/snapshot/api_op_ListTagsForResource.go.snap b/service/appintegrations/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/appintegrations/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/appintegrations/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appintegrations/snapshot/api_op_TagResource.go.snap b/service/appintegrations/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/appintegrations/snapshot/api_op_TagResource.go.snap +++ b/service/appintegrations/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appintegrations/snapshot/api_op_UntagResource.go.snap b/service/appintegrations/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/appintegrations/snapshot/api_op_UntagResource.go.snap +++ b/service/appintegrations/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appintegrations/snapshot/api_op_UpdateApplication.go.snap b/service/appintegrations/snapshot/api_op_UpdateApplication.go.snap index 5ec4c02edff..d4e2fa4991a 100644 --- a/service/appintegrations/snapshot/api_op_UpdateApplication.go.snap +++ b/service/appintegrations/snapshot/api_op_UpdateApplication.go.snap @@ -14,7 +14,6 @@ UpdateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appintegrations/snapshot/api_op_UpdateDataIntegration.go.snap b/service/appintegrations/snapshot/api_op_UpdateDataIntegration.go.snap index 04466325f59..be712c373ac 100644 --- a/service/appintegrations/snapshot/api_op_UpdateDataIntegration.go.snap +++ b/service/appintegrations/snapshot/api_op_UpdateDataIntegration.go.snap @@ -14,7 +14,6 @@ UpdateDataIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appintegrations/snapshot/api_op_UpdateDataIntegrationAssociation.go.snap b/service/appintegrations/snapshot/api_op_UpdateDataIntegrationAssociation.go.snap index 7b3465cfa56..7a65d3063ca 100644 --- a/service/appintegrations/snapshot/api_op_UpdateDataIntegrationAssociation.go.snap +++ b/service/appintegrations/snapshot/api_op_UpdateDataIntegrationAssociation.go.snap @@ -14,7 +14,6 @@ UpdateDataIntegrationAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appintegrations/snapshot/api_op_UpdateEventIntegration.go.snap b/service/appintegrations/snapshot/api_op_UpdateEventIntegration.go.snap index b48e6dc7b93..d133cbaaac5 100644 --- a/service/appintegrations/snapshot/api_op_UpdateEventIntegration.go.snap +++ b/service/appintegrations/snapshot/api_op_UpdateEventIntegration.go.snap @@ -14,7 +14,6 @@ UpdateEventIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationautoscaling/api_client.go b/service/applicationautoscaling/api_client.go index 61316dbe51e..993c4c93bd8 100644 --- a/service/applicationautoscaling/api_client.go +++ b/service/applicationautoscaling/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/applicationautoscaling/api_op_DeleteScalingPolicy.go b/service/applicationautoscaling/api_op_DeleteScalingPolicy.go index 5cd0e10b1ad..66d43366785 100644 --- a/service/applicationautoscaling/api_op_DeleteScalingPolicy.go +++ b/service/applicationautoscaling/api_op_DeleteScalingPolicy.go @@ -278,9 +278,6 @@ func (c *Client) addOperationDeleteScalingPolicyMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteScalingPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationautoscaling/api_op_DeleteScheduledAction.go b/service/applicationautoscaling/api_op_DeleteScheduledAction.go index 50f26b1d682..7d8c04bceed 100644 --- a/service/applicationautoscaling/api_op_DeleteScheduledAction.go +++ b/service/applicationautoscaling/api_op_DeleteScheduledAction.go @@ -273,9 +273,6 @@ func (c *Client) addOperationDeleteScheduledActionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteScheduledActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationautoscaling/api_op_DeregisterScalableTarget.go b/service/applicationautoscaling/api_op_DeregisterScalableTarget.go index a9050d25cff..c5000d1a575 100644 --- a/service/applicationautoscaling/api_op_DeregisterScalableTarget.go +++ b/service/applicationautoscaling/api_op_DeregisterScalableTarget.go @@ -269,9 +269,6 @@ func (c *Client) addOperationDeregisterScalableTargetMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterScalableTargetValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationautoscaling/api_op_DescribeScalableTargets.go b/service/applicationautoscaling/api_op_DescribeScalableTargets.go index 5e2e83bfce2..98eabecc9b3 100644 --- a/service/applicationautoscaling/api_op_DescribeScalableTargets.go +++ b/service/applicationautoscaling/api_op_DescribeScalableTargets.go @@ -282,9 +282,6 @@ func (c *Client) addOperationDescribeScalableTargetsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeScalableTargetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationautoscaling/api_op_DescribeScalingActivities.go b/service/applicationautoscaling/api_op_DescribeScalingActivities.go index 7567d80902c..8dfc08349aa 100644 --- a/service/applicationautoscaling/api_op_DescribeScalingActivities.go +++ b/service/applicationautoscaling/api_op_DescribeScalingActivities.go @@ -297,9 +297,6 @@ func (c *Client) addOperationDescribeScalingActivitiesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeScalingActivitiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationautoscaling/api_op_DescribeScalingPolicies.go b/service/applicationautoscaling/api_op_DescribeScalingPolicies.go index 2ff14905f90..94955ba1e0c 100644 --- a/service/applicationautoscaling/api_op_DescribeScalingPolicies.go +++ b/service/applicationautoscaling/api_op_DescribeScalingPolicies.go @@ -292,9 +292,6 @@ func (c *Client) addOperationDescribeScalingPoliciesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeScalingPoliciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationautoscaling/api_op_DescribeScheduledActions.go b/service/applicationautoscaling/api_op_DescribeScheduledActions.go index c57368782ea..7fd6721a2f6 100644 --- a/service/applicationautoscaling/api_op_DescribeScheduledActions.go +++ b/service/applicationautoscaling/api_op_DescribeScheduledActions.go @@ -291,9 +291,6 @@ func (c *Client) addOperationDescribeScheduledActionsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeScheduledActionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationautoscaling/api_op_GetPredictiveScalingForecast.go b/service/applicationautoscaling/api_op_GetPredictiveScalingForecast.go index b9ce7f7e670..099ed548723 100644 --- a/service/applicationautoscaling/api_op_GetPredictiveScalingForecast.go +++ b/service/applicationautoscaling/api_op_GetPredictiveScalingForecast.go @@ -157,9 +157,6 @@ func (c *Client) addOperationGetPredictiveScalingForecastMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPredictiveScalingForecastValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationautoscaling/api_op_ListTagsForResource.go b/service/applicationautoscaling/api_op_ListTagsForResource.go index 1247b2c562d..6d0739f69ff 100644 --- a/service/applicationautoscaling/api_op_ListTagsForResource.go +++ b/service/applicationautoscaling/api_op_ListTagsForResource.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationautoscaling/api_op_PutScalingPolicy.go b/service/applicationautoscaling/api_op_PutScalingPolicy.go index 6ea325a833c..6bb2f235e01 100644 --- a/service/applicationautoscaling/api_op_PutScalingPolicy.go +++ b/service/applicationautoscaling/api_op_PutScalingPolicy.go @@ -347,9 +347,6 @@ func (c *Client) addOperationPutScalingPolicyMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutScalingPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationautoscaling/api_op_PutScheduledAction.go b/service/applicationautoscaling/api_op_PutScheduledAction.go index d2a4e42c40f..2d8da133e0a 100644 --- a/service/applicationautoscaling/api_op_PutScheduledAction.go +++ b/service/applicationautoscaling/api_op_PutScheduledAction.go @@ -339,9 +339,6 @@ func (c *Client) addOperationPutScheduledActionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutScheduledActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationautoscaling/api_op_RegisterScalableTarget.go b/service/applicationautoscaling/api_op_RegisterScalableTarget.go index 5638121004c..51c2c3f4939 100644 --- a/service/applicationautoscaling/api_op_RegisterScalableTarget.go +++ b/service/applicationautoscaling/api_op_RegisterScalableTarget.go @@ -409,9 +409,6 @@ func (c *Client) addOperationRegisterScalableTargetMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterScalableTargetValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationautoscaling/api_op_TagResource.go b/service/applicationautoscaling/api_op_TagResource.go index eea5ce389b3..e92aa384d9b 100644 --- a/service/applicationautoscaling/api_op_TagResource.go +++ b/service/applicationautoscaling/api_op_TagResource.go @@ -150,9 +150,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationautoscaling/api_op_UntagResource.go b/service/applicationautoscaling/api_op_UntagResource.go index 89f16b0b9a6..ed52db7fb2c 100644 --- a/service/applicationautoscaling/api_op_UntagResource.go +++ b/service/applicationautoscaling/api_op_UntagResource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationautoscaling/snapshot/api_op_DeleteScalingPolicy.go.snap b/service/applicationautoscaling/snapshot/api_op_DeleteScalingPolicy.go.snap index 67c25aaecfe..228eb9490f4 100644 --- a/service/applicationautoscaling/snapshot/api_op_DeleteScalingPolicy.go.snap +++ b/service/applicationautoscaling/snapshot/api_op_DeleteScalingPolicy.go.snap @@ -14,7 +14,6 @@ DeleteScalingPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationautoscaling/snapshot/api_op_DeleteScheduledAction.go.snap b/service/applicationautoscaling/snapshot/api_op_DeleteScheduledAction.go.snap index a0420da12e4..4bd5e808d1e 100644 --- a/service/applicationautoscaling/snapshot/api_op_DeleteScheduledAction.go.snap +++ b/service/applicationautoscaling/snapshot/api_op_DeleteScheduledAction.go.snap @@ -14,7 +14,6 @@ DeleteScheduledAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationautoscaling/snapshot/api_op_DeregisterScalableTarget.go.snap b/service/applicationautoscaling/snapshot/api_op_DeregisterScalableTarget.go.snap index be88f6306d1..06aa8e42020 100644 --- a/service/applicationautoscaling/snapshot/api_op_DeregisterScalableTarget.go.snap +++ b/service/applicationautoscaling/snapshot/api_op_DeregisterScalableTarget.go.snap @@ -14,7 +14,6 @@ DeregisterScalableTarget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationautoscaling/snapshot/api_op_DescribeScalableTargets.go.snap b/service/applicationautoscaling/snapshot/api_op_DescribeScalableTargets.go.snap index 5b8f94962a9..5acf38f392e 100644 --- a/service/applicationautoscaling/snapshot/api_op_DescribeScalableTargets.go.snap +++ b/service/applicationautoscaling/snapshot/api_op_DescribeScalableTargets.go.snap @@ -14,7 +14,6 @@ DescribeScalableTargets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationautoscaling/snapshot/api_op_DescribeScalingActivities.go.snap b/service/applicationautoscaling/snapshot/api_op_DescribeScalingActivities.go.snap index deda443fd7b..251b1db8671 100644 --- a/service/applicationautoscaling/snapshot/api_op_DescribeScalingActivities.go.snap +++ b/service/applicationautoscaling/snapshot/api_op_DescribeScalingActivities.go.snap @@ -14,7 +14,6 @@ DescribeScalingActivities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationautoscaling/snapshot/api_op_DescribeScalingPolicies.go.snap b/service/applicationautoscaling/snapshot/api_op_DescribeScalingPolicies.go.snap index cff300c5a86..091063ce54a 100644 --- a/service/applicationautoscaling/snapshot/api_op_DescribeScalingPolicies.go.snap +++ b/service/applicationautoscaling/snapshot/api_op_DescribeScalingPolicies.go.snap @@ -14,7 +14,6 @@ DescribeScalingPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationautoscaling/snapshot/api_op_DescribeScheduledActions.go.snap b/service/applicationautoscaling/snapshot/api_op_DescribeScheduledActions.go.snap index 352f8230512..8c7bc76c544 100644 --- a/service/applicationautoscaling/snapshot/api_op_DescribeScheduledActions.go.snap +++ b/service/applicationautoscaling/snapshot/api_op_DescribeScheduledActions.go.snap @@ -14,7 +14,6 @@ DescribeScheduledActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationautoscaling/snapshot/api_op_GetPredictiveScalingForecast.go.snap b/service/applicationautoscaling/snapshot/api_op_GetPredictiveScalingForecast.go.snap index 1fffd4b588e..0a19a8eedf1 100644 --- a/service/applicationautoscaling/snapshot/api_op_GetPredictiveScalingForecast.go.snap +++ b/service/applicationautoscaling/snapshot/api_op_GetPredictiveScalingForecast.go.snap @@ -14,7 +14,6 @@ GetPredictiveScalingForecast Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationautoscaling/snapshot/api_op_ListTagsForResource.go.snap b/service/applicationautoscaling/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/applicationautoscaling/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/applicationautoscaling/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationautoscaling/snapshot/api_op_PutScalingPolicy.go.snap b/service/applicationautoscaling/snapshot/api_op_PutScalingPolicy.go.snap index b759dbeedf0..74daf1b852f 100644 --- a/service/applicationautoscaling/snapshot/api_op_PutScalingPolicy.go.snap +++ b/service/applicationautoscaling/snapshot/api_op_PutScalingPolicy.go.snap @@ -14,7 +14,6 @@ PutScalingPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationautoscaling/snapshot/api_op_PutScheduledAction.go.snap b/service/applicationautoscaling/snapshot/api_op_PutScheduledAction.go.snap index b002f88c79a..9a3654cb80a 100644 --- a/service/applicationautoscaling/snapshot/api_op_PutScheduledAction.go.snap +++ b/service/applicationautoscaling/snapshot/api_op_PutScheduledAction.go.snap @@ -14,7 +14,6 @@ PutScheduledAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationautoscaling/snapshot/api_op_RegisterScalableTarget.go.snap b/service/applicationautoscaling/snapshot/api_op_RegisterScalableTarget.go.snap index c3f61c71452..1809d93d5b0 100644 --- a/service/applicationautoscaling/snapshot/api_op_RegisterScalableTarget.go.snap +++ b/service/applicationautoscaling/snapshot/api_op_RegisterScalableTarget.go.snap @@ -14,7 +14,6 @@ RegisterScalableTarget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationautoscaling/snapshot/api_op_TagResource.go.snap b/service/applicationautoscaling/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/applicationautoscaling/snapshot/api_op_TagResource.go.snap +++ b/service/applicationautoscaling/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationautoscaling/snapshot/api_op_UntagResource.go.snap b/service/applicationautoscaling/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/applicationautoscaling/snapshot/api_op_UntagResource.go.snap +++ b/service/applicationautoscaling/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationcostprofiler/api_client.go b/service/applicationcostprofiler/api_client.go index fdc8bd29f8f..0e146a55372 100644 --- a/service/applicationcostprofiler/api_client.go +++ b/service/applicationcostprofiler/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/applicationcostprofiler/api_op_DeleteReportDefinition.go b/service/applicationcostprofiler/api_op_DeleteReportDefinition.go index 44372b86d38..b047edcfd15 100644 --- a/service/applicationcostprofiler/api_op_DeleteReportDefinition.go +++ b/service/applicationcostprofiler/api_op_DeleteReportDefinition.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteReportDefinitionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteReportDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationcostprofiler/api_op_GetReportDefinition.go b/service/applicationcostprofiler/api_op_GetReportDefinition.go index 40177a82191..6469147546b 100644 --- a/service/applicationcostprofiler/api_op_GetReportDefinition.go +++ b/service/applicationcostprofiler/api_op_GetReportDefinition.go @@ -146,9 +146,6 @@ func (c *Client) addOperationGetReportDefinitionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetReportDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationcostprofiler/api_op_ImportApplicationUsage.go b/service/applicationcostprofiler/api_op_ImportApplicationUsage.go index 03ddddac1f8..d0162a3c4f3 100644 --- a/service/applicationcostprofiler/api_op_ImportApplicationUsage.go +++ b/service/applicationcostprofiler/api_op_ImportApplicationUsage.go @@ -118,9 +118,6 @@ func (c *Client) addOperationImportApplicationUsageMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportApplicationUsageValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationcostprofiler/api_op_ListReportDefinitions.go b/service/applicationcostprofiler/api_op_ListReportDefinitions.go index 7795029c021..cd7165d5e31 100644 --- a/service/applicationcostprofiler/api_op_ListReportDefinitions.go +++ b/service/applicationcostprofiler/api_op_ListReportDefinitions.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListReportDefinitionsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReportDefinitions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/applicationcostprofiler/api_op_PutReportDefinition.go b/service/applicationcostprofiler/api_op_PutReportDefinition.go index 3e1671b50ae..7adf43faef7 100644 --- a/service/applicationcostprofiler/api_op_PutReportDefinition.go +++ b/service/applicationcostprofiler/api_op_PutReportDefinition.go @@ -134,9 +134,6 @@ func (c *Client) addOperationPutReportDefinitionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutReportDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationcostprofiler/api_op_UpdateReportDefinition.go b/service/applicationcostprofiler/api_op_UpdateReportDefinition.go index fb277dbaeb1..87606cea8f9 100644 --- a/service/applicationcostprofiler/api_op_UpdateReportDefinition.go +++ b/service/applicationcostprofiler/api_op_UpdateReportDefinition.go @@ -133,9 +133,6 @@ func (c *Client) addOperationUpdateReportDefinitionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateReportDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationcostprofiler/snapshot/api_op_DeleteReportDefinition.go.snap b/service/applicationcostprofiler/snapshot/api_op_DeleteReportDefinition.go.snap index 89c727dabf3..2506d1315fc 100644 --- a/service/applicationcostprofiler/snapshot/api_op_DeleteReportDefinition.go.snap +++ b/service/applicationcostprofiler/snapshot/api_op_DeleteReportDefinition.go.snap @@ -14,7 +14,6 @@ DeleteReportDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationcostprofiler/snapshot/api_op_GetReportDefinition.go.snap b/service/applicationcostprofiler/snapshot/api_op_GetReportDefinition.go.snap index 40489d4b772..2118856b476 100644 --- a/service/applicationcostprofiler/snapshot/api_op_GetReportDefinition.go.snap +++ b/service/applicationcostprofiler/snapshot/api_op_GetReportDefinition.go.snap @@ -14,7 +14,6 @@ GetReportDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationcostprofiler/snapshot/api_op_ImportApplicationUsage.go.snap b/service/applicationcostprofiler/snapshot/api_op_ImportApplicationUsage.go.snap index 298db250c14..99bbed23ab7 100644 --- a/service/applicationcostprofiler/snapshot/api_op_ImportApplicationUsage.go.snap +++ b/service/applicationcostprofiler/snapshot/api_op_ImportApplicationUsage.go.snap @@ -14,7 +14,6 @@ ImportApplicationUsage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationcostprofiler/snapshot/api_op_ListReportDefinitions.go.snap b/service/applicationcostprofiler/snapshot/api_op_ListReportDefinitions.go.snap index 149e2a9708f..74886de758f 100644 --- a/service/applicationcostprofiler/snapshot/api_op_ListReportDefinitions.go.snap +++ b/service/applicationcostprofiler/snapshot/api_op_ListReportDefinitions.go.snap @@ -13,7 +13,6 @@ ListReportDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationcostprofiler/snapshot/api_op_PutReportDefinition.go.snap b/service/applicationcostprofiler/snapshot/api_op_PutReportDefinition.go.snap index da3e4e00182..646b750853d 100644 --- a/service/applicationcostprofiler/snapshot/api_op_PutReportDefinition.go.snap +++ b/service/applicationcostprofiler/snapshot/api_op_PutReportDefinition.go.snap @@ -14,7 +14,6 @@ PutReportDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationcostprofiler/snapshot/api_op_UpdateReportDefinition.go.snap b/service/applicationcostprofiler/snapshot/api_op_UpdateReportDefinition.go.snap index c0fdb6d0482..8ebf61500be 100644 --- a/service/applicationcostprofiler/snapshot/api_op_UpdateReportDefinition.go.snap +++ b/service/applicationcostprofiler/snapshot/api_op_UpdateReportDefinition.go.snap @@ -14,7 +14,6 @@ UpdateReportDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationdiscoveryservice/api_client.go b/service/applicationdiscoveryservice/api_client.go index 643b3f3b2ab..853276d8cb9 100644 --- a/service/applicationdiscoveryservice/api_client.go +++ b/service/applicationdiscoveryservice/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/applicationdiscoveryservice/api_op_AssociateConfigurationItemsToApplication.go b/service/applicationdiscoveryservice/api_op_AssociateConfigurationItemsToApplication.go index 98e71727584..810e90b0434 100644 --- a/service/applicationdiscoveryservice/api_op_AssociateConfigurationItemsToApplication.go +++ b/service/applicationdiscoveryservice/api_op_AssociateConfigurationItemsToApplication.go @@ -112,9 +112,6 @@ func (c *Client) addOperationAssociateConfigurationItemsToApplicationMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateConfigurationItemsToApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_BatchDeleteAgents.go b/service/applicationdiscoveryservice/api_op_BatchDeleteAgents.go index 1589780abbd..87039f65c64 100644 --- a/service/applicationdiscoveryservice/api_op_BatchDeleteAgents.go +++ b/service/applicationdiscoveryservice/api_op_BatchDeleteAgents.go @@ -116,9 +116,6 @@ func (c *Client) addOperationBatchDeleteAgentsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDeleteAgentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_BatchDeleteImportData.go b/service/applicationdiscoveryservice/api_op_BatchDeleteImportData.go index 50142934c38..526a73b34c3 100644 --- a/service/applicationdiscoveryservice/api_op_BatchDeleteImportData.go +++ b/service/applicationdiscoveryservice/api_op_BatchDeleteImportData.go @@ -124,9 +124,6 @@ func (c *Client) addOperationBatchDeleteImportDataMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDeleteImportDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_CreateApplication.go b/service/applicationdiscoveryservice/api_op_CreateApplication.go index 5c706068cc4..a39c17085ab 100644 --- a/service/applicationdiscoveryservice/api_op_CreateApplication.go +++ b/service/applicationdiscoveryservice/api_op_CreateApplication.go @@ -117,9 +117,6 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_CreateTags.go b/service/applicationdiscoveryservice/api_op_CreateTags.go index b346391382d..113cc9e48ab 100644 --- a/service/applicationdiscoveryservice/api_op_CreateTags.go +++ b/service/applicationdiscoveryservice/api_op_CreateTags.go @@ -120,9 +120,6 @@ func (c *Client) addOperationCreateTagsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_DeleteApplications.go b/service/applicationdiscoveryservice/api_op_DeleteApplications.go index d246c5e058d..63313a396c6 100644 --- a/service/applicationdiscoveryservice/api_op_DeleteApplications.go +++ b/service/applicationdiscoveryservice/api_op_DeleteApplications.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteApplicationsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_DeleteTags.go b/service/applicationdiscoveryservice/api_op_DeleteTags.go index cc084141263..8c94e96ec50 100644 --- a/service/applicationdiscoveryservice/api_op_DeleteTags.go +++ b/service/applicationdiscoveryservice/api_op_DeleteTags.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteTagsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_DescribeAgents.go b/service/applicationdiscoveryservice/api_op_DescribeAgents.go index 8ef69975830..275b4d760d2 100644 --- a/service/applicationdiscoveryservice/api_op_DescribeAgents.go +++ b/service/applicationdiscoveryservice/api_op_DescribeAgents.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDescribeAgentsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAgentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_DescribeBatchDeleteConfigurationTask.go b/service/applicationdiscoveryservice/api_op_DescribeBatchDeleteConfigurationTask.go index 10a8e6ddd0c..bdaf16bbfa1 100644 --- a/service/applicationdiscoveryservice/api_op_DescribeBatchDeleteConfigurationTask.go +++ b/service/applicationdiscoveryservice/api_op_DescribeBatchDeleteConfigurationTask.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDescribeBatchDeleteConfigurationTaskMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBatchDeleteConfigurationTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_DescribeConfigurations.go b/service/applicationdiscoveryservice/api_op_DescribeConfigurations.go index d25ef61f686..f10aa5e5c7a 100644 --- a/service/applicationdiscoveryservice/api_op_DescribeConfigurations.go +++ b/service/applicationdiscoveryservice/api_op_DescribeConfigurations.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeConfigurationsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeConfigurationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_DescribeContinuousExports.go b/service/applicationdiscoveryservice/api_op_DescribeContinuousExports.go index b3865ef5b18..472fd9d69a1 100644 --- a/service/applicationdiscoveryservice/api_op_DescribeContinuousExports.go +++ b/service/applicationdiscoveryservice/api_op_DescribeContinuousExports.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeContinuousExportsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeContinuousExports(options.Region), middleware.Before); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_DescribeExportConfigurations.go b/service/applicationdiscoveryservice/api_op_DescribeExportConfigurations.go index 9ac54dee494..17fa8cec61c 100644 --- a/service/applicationdiscoveryservice/api_op_DescribeExportConfigurations.go +++ b/service/applicationdiscoveryservice/api_op_DescribeExportConfigurations.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeExportConfigurationsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeExportConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_DescribeExportTasks.go b/service/applicationdiscoveryservice/api_op_DescribeExportTasks.go index 2e85e000ae1..3fc2699d577 100644 --- a/service/applicationdiscoveryservice/api_op_DescribeExportTasks.go +++ b/service/applicationdiscoveryservice/api_op_DescribeExportTasks.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribeExportTasksMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeExportTasksValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_DescribeImportTasks.go b/service/applicationdiscoveryservice/api_op_DescribeImportTasks.go index 8a293d24376..aa0246909ae 100644 --- a/service/applicationdiscoveryservice/api_op_DescribeImportTasks.go +++ b/service/applicationdiscoveryservice/api_op_DescribeImportTasks.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeImportTasksMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeImportTasks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_DescribeTags.go b/service/applicationdiscoveryservice/api_op_DescribeTags.go index 5ca8b4a54bd..c4a5c4bd42c 100644 --- a/service/applicationdiscoveryservice/api_op_DescribeTags.go +++ b/service/applicationdiscoveryservice/api_op_DescribeTags.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDescribeTagsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_DisassociateConfigurationItemsFromApplication.go b/service/applicationdiscoveryservice/api_op_DisassociateConfigurationItemsFromApplication.go index b21e8ecc6e8..51144ed5cc0 100644 --- a/service/applicationdiscoveryservice/api_op_DisassociateConfigurationItemsFromApplication.go +++ b/service/applicationdiscoveryservice/api_op_DisassociateConfigurationItemsFromApplication.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDisassociateConfigurationItemsFromApplicationMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateConfigurationItemsFromApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_ExportConfigurations.go b/service/applicationdiscoveryservice/api_op_ExportConfigurations.go index 357485bbefa..bd6e6c4e733 100644 --- a/service/applicationdiscoveryservice/api_op_ExportConfigurations.go +++ b/service/applicationdiscoveryservice/api_op_ExportConfigurations.go @@ -114,9 +114,6 @@ func (c *Client) addOperationExportConfigurationsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExportConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_GetDiscoverySummary.go b/service/applicationdiscoveryservice/api_op_GetDiscoverySummary.go index 65b29e93cb5..05473e1f200 100644 --- a/service/applicationdiscoveryservice/api_op_GetDiscoverySummary.go +++ b/service/applicationdiscoveryservice/api_op_GetDiscoverySummary.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetDiscoverySummaryMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDiscoverySummary(options.Region), middleware.Before); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_ListConfigurations.go b/service/applicationdiscoveryservice/api_op_ListConfigurations.go index e35d030fa98..12ef09a23e1 100644 --- a/service/applicationdiscoveryservice/api_op_ListConfigurations.go +++ b/service/applicationdiscoveryservice/api_op_ListConfigurations.go @@ -149,9 +149,6 @@ func (c *Client) addOperationListConfigurationsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListConfigurationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_ListServerNeighbors.go b/service/applicationdiscoveryservice/api_op_ListServerNeighbors.go index b757c451080..28b9eb9fb2a 100644 --- a/service/applicationdiscoveryservice/api_op_ListServerNeighbors.go +++ b/service/applicationdiscoveryservice/api_op_ListServerNeighbors.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListServerNeighborsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListServerNeighborsValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_StartBatchDeleteConfigurationTask.go b/service/applicationdiscoveryservice/api_op_StartBatchDeleteConfigurationTask.go index b96c87c3937..6bb1b28c8ad 100644 --- a/service/applicationdiscoveryservice/api_op_StartBatchDeleteConfigurationTask.go +++ b/service/applicationdiscoveryservice/api_op_StartBatchDeleteConfigurationTask.go @@ -120,9 +120,6 @@ func (c *Client) addOperationStartBatchDeleteConfigurationTaskMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartBatchDeleteConfigurationTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_StartContinuousExport.go b/service/applicationdiscoveryservice/api_op_StartContinuousExport.go index 510c1d1c9a6..8f646f7ad45 100644 --- a/service/applicationdiscoveryservice/api_op_StartContinuousExport.go +++ b/service/applicationdiscoveryservice/api_op_StartContinuousExport.go @@ -122,9 +122,6 @@ func (c *Client) addOperationStartContinuousExportMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartContinuousExport(options.Region), middleware.Before); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_StartDataCollectionByAgentIds.go b/service/applicationdiscoveryservice/api_op_StartDataCollectionByAgentIds.go index 970ea5d7400..b8de1cfe1fd 100644 --- a/service/applicationdiscoveryservice/api_op_StartDataCollectionByAgentIds.go +++ b/service/applicationdiscoveryservice/api_op_StartDataCollectionByAgentIds.go @@ -120,9 +120,6 @@ func (c *Client) addOperationStartDataCollectionByAgentIdsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartDataCollectionByAgentIdsValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_StartExportTask.go b/service/applicationdiscoveryservice/api_op_StartExportTask.go index 56c936999de..8ac0301073f 100644 --- a/service/applicationdiscoveryservice/api_op_StartExportTask.go +++ b/service/applicationdiscoveryservice/api_op_StartExportTask.go @@ -160,9 +160,6 @@ func (c *Client) addOperationStartExportTaskMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartExportTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_StartImportTask.go b/service/applicationdiscoveryservice/api_op_StartImportTask.go index f6b99df6cf3..12cbe14395e 100644 --- a/service/applicationdiscoveryservice/api_op_StartImportTask.go +++ b/service/applicationdiscoveryservice/api_op_StartImportTask.go @@ -164,9 +164,6 @@ func (c *Client) addOperationStartImportTaskMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartImportTaskMiddleware(stack, options); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_StopContinuousExport.go b/service/applicationdiscoveryservice/api_op_StopContinuousExport.go index 114504e93c3..ab0ba99f7eb 100644 --- a/service/applicationdiscoveryservice/api_op_StopContinuousExport.go +++ b/service/applicationdiscoveryservice/api_op_StopContinuousExport.go @@ -115,9 +115,6 @@ func (c *Client) addOperationStopContinuousExportMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopContinuousExportValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_StopDataCollectionByAgentIds.go b/service/applicationdiscoveryservice/api_op_StopDataCollectionByAgentIds.go index b7ed7d95787..5c7ab218de7 100644 --- a/service/applicationdiscoveryservice/api_op_StopDataCollectionByAgentIds.go +++ b/service/applicationdiscoveryservice/api_op_StopDataCollectionByAgentIds.go @@ -114,9 +114,6 @@ func (c *Client) addOperationStopDataCollectionByAgentIdsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopDataCollectionByAgentIdsValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/api_op_UpdateApplication.go b/service/applicationdiscoveryservice/api_op_UpdateApplication.go index eb2114a4199..f52c0c42af6 100644 --- a/service/applicationdiscoveryservice/api_op_UpdateApplication.go +++ b/service/applicationdiscoveryservice/api_op_UpdateApplication.go @@ -116,9 +116,6 @@ func (c *Client) addOperationUpdateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationdiscoveryservice/snapshot/api_op_AssociateConfigurationItemsToApplication.go.snap b/service/applicationdiscoveryservice/snapshot/api_op_AssociateConfigurationItemsToApplication.go.snap index 99a8227a3fe..0a4ad68d3a7 100644 --- a/service/applicationdiscoveryservice/snapshot/api_op_AssociateConfigurationItemsToApplication.go.snap +++ b/service/applicationdiscoveryservice/snapshot/api_op_AssociateConfigurationItemsToApplication.go.snap @@ -14,7 +14,6 @@ AssociateConfigurationItemsToApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationdiscoveryservice/snapshot/api_op_BatchDeleteAgents.go.snap b/service/applicationdiscoveryservice/snapshot/api_op_BatchDeleteAgents.go.snap index 9b36c6ad331..41368bf7639 100644 --- a/service/applicationdiscoveryservice/snapshot/api_op_BatchDeleteAgents.go.snap +++ b/service/applicationdiscoveryservice/snapshot/api_op_BatchDeleteAgents.go.snap @@ -14,7 +14,6 @@ BatchDeleteAgents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationdiscoveryservice/snapshot/api_op_BatchDeleteImportData.go.snap b/service/applicationdiscoveryservice/snapshot/api_op_BatchDeleteImportData.go.snap index 99ec77b4292..93c9ffddf3e 100644 --- a/service/applicationdiscoveryservice/snapshot/api_op_BatchDeleteImportData.go.snap +++ b/service/applicationdiscoveryservice/snapshot/api_op_BatchDeleteImportData.go.snap @@ -14,7 +14,6 @@ BatchDeleteImportData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationdiscoveryservice/snapshot/api_op_CreateApplication.go.snap b/service/applicationdiscoveryservice/snapshot/api_op_CreateApplication.go.snap index 503ca240c75..7174d11f956 100644 --- a/service/applicationdiscoveryservice/snapshot/api_op_CreateApplication.go.snap +++ b/service/applicationdiscoveryservice/snapshot/api_op_CreateApplication.go.snap @@ -14,7 +14,6 @@ CreateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationdiscoveryservice/snapshot/api_op_CreateTags.go.snap b/service/applicationdiscoveryservice/snapshot/api_op_CreateTags.go.snap index fe83545a271..2507df3be57 100644 --- a/service/applicationdiscoveryservice/snapshot/api_op_CreateTags.go.snap +++ b/service/applicationdiscoveryservice/snapshot/api_op_CreateTags.go.snap @@ -14,7 +14,6 @@ CreateTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationdiscoveryservice/snapshot/api_op_DeleteApplications.go.snap b/service/applicationdiscoveryservice/snapshot/api_op_DeleteApplications.go.snap index 7d0a320d291..a7bf500e81a 100644 --- a/service/applicationdiscoveryservice/snapshot/api_op_DeleteApplications.go.snap +++ b/service/applicationdiscoveryservice/snapshot/api_op_DeleteApplications.go.snap @@ -14,7 +14,6 @@ DeleteApplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationdiscoveryservice/snapshot/api_op_DeleteTags.go.snap b/service/applicationdiscoveryservice/snapshot/api_op_DeleteTags.go.snap index 7821a01e140..0eeb01dca01 100644 --- a/service/applicationdiscoveryservice/snapshot/api_op_DeleteTags.go.snap +++ b/service/applicationdiscoveryservice/snapshot/api_op_DeleteTags.go.snap @@ -14,7 +14,6 @@ DeleteTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationdiscoveryservice/snapshot/api_op_DescribeAgents.go.snap b/service/applicationdiscoveryservice/snapshot/api_op_DescribeAgents.go.snap index 38448551b23..638bcd78439 100644 --- a/service/applicationdiscoveryservice/snapshot/api_op_DescribeAgents.go.snap +++ b/service/applicationdiscoveryservice/snapshot/api_op_DescribeAgents.go.snap @@ -14,7 +14,6 @@ DescribeAgents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationdiscoveryservice/snapshot/api_op_DescribeBatchDeleteConfigurationTask.go.snap b/service/applicationdiscoveryservice/snapshot/api_op_DescribeBatchDeleteConfigurationTask.go.snap index 3ca9d6d5596..eddf5db8dc9 100644 --- a/service/applicationdiscoveryservice/snapshot/api_op_DescribeBatchDeleteConfigurationTask.go.snap +++ b/service/applicationdiscoveryservice/snapshot/api_op_DescribeBatchDeleteConfigurationTask.go.snap @@ -14,7 +14,6 @@ DescribeBatchDeleteConfigurationTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationdiscoveryservice/snapshot/api_op_DescribeConfigurations.go.snap b/service/applicationdiscoveryservice/snapshot/api_op_DescribeConfigurations.go.snap index 254018bb4c3..5677050b291 100644 --- a/service/applicationdiscoveryservice/snapshot/api_op_DescribeConfigurations.go.snap +++ b/service/applicationdiscoveryservice/snapshot/api_op_DescribeConfigurations.go.snap @@ -14,7 +14,6 @@ DescribeConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationdiscoveryservice/snapshot/api_op_DescribeContinuousExports.go.snap b/service/applicationdiscoveryservice/snapshot/api_op_DescribeContinuousExports.go.snap index e6b194b9027..b6f1a9a9111 100644 --- a/service/applicationdiscoveryservice/snapshot/api_op_DescribeContinuousExports.go.snap +++ b/service/applicationdiscoveryservice/snapshot/api_op_DescribeContinuousExports.go.snap @@ -13,7 +13,6 @@ DescribeContinuousExports Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationdiscoveryservice/snapshot/api_op_DescribeExportConfigurations.go.snap b/service/applicationdiscoveryservice/snapshot/api_op_DescribeExportConfigurations.go.snap index c89b8d12518..c966e06146c 100644 --- a/service/applicationdiscoveryservice/snapshot/api_op_DescribeExportConfigurations.go.snap +++ b/service/applicationdiscoveryservice/snapshot/api_op_DescribeExportConfigurations.go.snap @@ -13,7 +13,6 @@ DescribeExportConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationdiscoveryservice/snapshot/api_op_DescribeExportTasks.go.snap b/service/applicationdiscoveryservice/snapshot/api_op_DescribeExportTasks.go.snap index 37c8b2d0ea0..d1af7be7479 100644 --- a/service/applicationdiscoveryservice/snapshot/api_op_DescribeExportTasks.go.snap +++ b/service/applicationdiscoveryservice/snapshot/api_op_DescribeExportTasks.go.snap @@ -14,7 +14,6 @@ DescribeExportTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationdiscoveryservice/snapshot/api_op_DescribeImportTasks.go.snap b/service/applicationdiscoveryservice/snapshot/api_op_DescribeImportTasks.go.snap index 16407d7d997..2c48da4381a 100644 --- a/service/applicationdiscoveryservice/snapshot/api_op_DescribeImportTasks.go.snap +++ b/service/applicationdiscoveryservice/snapshot/api_op_DescribeImportTasks.go.snap @@ -13,7 +13,6 @@ DescribeImportTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationdiscoveryservice/snapshot/api_op_DescribeTags.go.snap b/service/applicationdiscoveryservice/snapshot/api_op_DescribeTags.go.snap index e4bd617c306..9e3c32c55d1 100644 --- a/service/applicationdiscoveryservice/snapshot/api_op_DescribeTags.go.snap +++ b/service/applicationdiscoveryservice/snapshot/api_op_DescribeTags.go.snap @@ -14,7 +14,6 @@ DescribeTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationdiscoveryservice/snapshot/api_op_DisassociateConfigurationItemsFromApplication.go.snap b/service/applicationdiscoveryservice/snapshot/api_op_DisassociateConfigurationItemsFromApplication.go.snap index 5941a941449..d7a193811d8 100644 --- a/service/applicationdiscoveryservice/snapshot/api_op_DisassociateConfigurationItemsFromApplication.go.snap +++ b/service/applicationdiscoveryservice/snapshot/api_op_DisassociateConfigurationItemsFromApplication.go.snap @@ -14,7 +14,6 @@ DisassociateConfigurationItemsFromApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationdiscoveryservice/snapshot/api_op_ExportConfigurations.go.snap b/service/applicationdiscoveryservice/snapshot/api_op_ExportConfigurations.go.snap index 2d287fdd1af..e813b346928 100644 --- a/service/applicationdiscoveryservice/snapshot/api_op_ExportConfigurations.go.snap +++ b/service/applicationdiscoveryservice/snapshot/api_op_ExportConfigurations.go.snap @@ -13,7 +13,6 @@ ExportConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationdiscoveryservice/snapshot/api_op_GetDiscoverySummary.go.snap b/service/applicationdiscoveryservice/snapshot/api_op_GetDiscoverySummary.go.snap index 4696e55560a..d1d62e60099 100644 --- a/service/applicationdiscoveryservice/snapshot/api_op_GetDiscoverySummary.go.snap +++ b/service/applicationdiscoveryservice/snapshot/api_op_GetDiscoverySummary.go.snap @@ -13,7 +13,6 @@ GetDiscoverySummary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationdiscoveryservice/snapshot/api_op_ListConfigurations.go.snap b/service/applicationdiscoveryservice/snapshot/api_op_ListConfigurations.go.snap index e9fd59097da..e58c3d1f5c8 100644 --- a/service/applicationdiscoveryservice/snapshot/api_op_ListConfigurations.go.snap +++ b/service/applicationdiscoveryservice/snapshot/api_op_ListConfigurations.go.snap @@ -14,7 +14,6 @@ ListConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationdiscoveryservice/snapshot/api_op_ListServerNeighbors.go.snap b/service/applicationdiscoveryservice/snapshot/api_op_ListServerNeighbors.go.snap index 9271015c7fb..4f46c8593b8 100644 --- a/service/applicationdiscoveryservice/snapshot/api_op_ListServerNeighbors.go.snap +++ b/service/applicationdiscoveryservice/snapshot/api_op_ListServerNeighbors.go.snap @@ -14,7 +14,6 @@ ListServerNeighbors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationdiscoveryservice/snapshot/api_op_StartBatchDeleteConfigurationTask.go.snap b/service/applicationdiscoveryservice/snapshot/api_op_StartBatchDeleteConfigurationTask.go.snap index aebaeb306c6..dd7f68684c7 100644 --- a/service/applicationdiscoveryservice/snapshot/api_op_StartBatchDeleteConfigurationTask.go.snap +++ b/service/applicationdiscoveryservice/snapshot/api_op_StartBatchDeleteConfigurationTask.go.snap @@ -14,7 +14,6 @@ StartBatchDeleteConfigurationTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationdiscoveryservice/snapshot/api_op_StartContinuousExport.go.snap b/service/applicationdiscoveryservice/snapshot/api_op_StartContinuousExport.go.snap index cfef0ec7c60..b266659ec68 100644 --- a/service/applicationdiscoveryservice/snapshot/api_op_StartContinuousExport.go.snap +++ b/service/applicationdiscoveryservice/snapshot/api_op_StartContinuousExport.go.snap @@ -13,7 +13,6 @@ StartContinuousExport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationdiscoveryservice/snapshot/api_op_StartDataCollectionByAgentIds.go.snap b/service/applicationdiscoveryservice/snapshot/api_op_StartDataCollectionByAgentIds.go.snap index c324f86accb..e8593fbecdb 100644 --- a/service/applicationdiscoveryservice/snapshot/api_op_StartDataCollectionByAgentIds.go.snap +++ b/service/applicationdiscoveryservice/snapshot/api_op_StartDataCollectionByAgentIds.go.snap @@ -14,7 +14,6 @@ StartDataCollectionByAgentIds Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationdiscoveryservice/snapshot/api_op_StartExportTask.go.snap b/service/applicationdiscoveryservice/snapshot/api_op_StartExportTask.go.snap index 372f83d4d85..7cb5950c4fa 100644 --- a/service/applicationdiscoveryservice/snapshot/api_op_StartExportTask.go.snap +++ b/service/applicationdiscoveryservice/snapshot/api_op_StartExportTask.go.snap @@ -14,7 +14,6 @@ StartExportTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationdiscoveryservice/snapshot/api_op_StartImportTask.go.snap b/service/applicationdiscoveryservice/snapshot/api_op_StartImportTask.go.snap index eb52ec52344..b470b1be084 100644 --- a/service/applicationdiscoveryservice/snapshot/api_op_StartImportTask.go.snap +++ b/service/applicationdiscoveryservice/snapshot/api_op_StartImportTask.go.snap @@ -15,7 +15,6 @@ StartImportTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationdiscoveryservice/snapshot/api_op_StopContinuousExport.go.snap b/service/applicationdiscoveryservice/snapshot/api_op_StopContinuousExport.go.snap index ece0b6549fd..111909a0ac7 100644 --- a/service/applicationdiscoveryservice/snapshot/api_op_StopContinuousExport.go.snap +++ b/service/applicationdiscoveryservice/snapshot/api_op_StopContinuousExport.go.snap @@ -14,7 +14,6 @@ StopContinuousExport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationdiscoveryservice/snapshot/api_op_StopDataCollectionByAgentIds.go.snap b/service/applicationdiscoveryservice/snapshot/api_op_StopDataCollectionByAgentIds.go.snap index d28fe481472..db5af36e6ab 100644 --- a/service/applicationdiscoveryservice/snapshot/api_op_StopDataCollectionByAgentIds.go.snap +++ b/service/applicationdiscoveryservice/snapshot/api_op_StopDataCollectionByAgentIds.go.snap @@ -14,7 +14,6 @@ StopDataCollectionByAgentIds Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationdiscoveryservice/snapshot/api_op_UpdateApplication.go.snap b/service/applicationdiscoveryservice/snapshot/api_op_UpdateApplication.go.snap index 5ec4c02edff..d4e2fa4991a 100644 --- a/service/applicationdiscoveryservice/snapshot/api_op_UpdateApplication.go.snap +++ b/service/applicationdiscoveryservice/snapshot/api_op_UpdateApplication.go.snap @@ -14,7 +14,6 @@ UpdateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationinsights/api_client.go b/service/applicationinsights/api_client.go index cc7253dc4f6..aef5a820c81 100644 --- a/service/applicationinsights/api_client.go +++ b/service/applicationinsights/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/applicationinsights/api_op_AddWorkload.go b/service/applicationinsights/api_op_AddWorkload.go index 225a393ee8a..5fe7a36a73a 100644 --- a/service/applicationinsights/api_op_AddWorkload.go +++ b/service/applicationinsights/api_op_AddWorkload.go @@ -127,9 +127,6 @@ func (c *Client) addOperationAddWorkloadMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddWorkloadValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_CreateApplication.go b/service/applicationinsights/api_op_CreateApplication.go index 8d34e9bcd34..65350443aec 100644 --- a/service/applicationinsights/api_op_CreateApplication.go +++ b/service/applicationinsights/api_op_CreateApplication.go @@ -148,9 +148,6 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_CreateComponent.go b/service/applicationinsights/api_op_CreateComponent.go index f21c4563b1d..69575f2e20f 100644 --- a/service/applicationinsights/api_op_CreateComponent.go +++ b/service/applicationinsights/api_op_CreateComponent.go @@ -117,9 +117,6 @@ func (c *Client) addOperationCreateComponentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateComponentValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_CreateLogPattern.go b/service/applicationinsights/api_op_CreateLogPattern.go index d4ddae14c38..35fbd5e41a9 100644 --- a/service/applicationinsights/api_op_CreateLogPattern.go +++ b/service/applicationinsights/api_op_CreateLogPattern.go @@ -144,9 +144,6 @@ func (c *Client) addOperationCreateLogPatternMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLogPatternValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_DeleteApplication.go b/service/applicationinsights/api_op_DeleteApplication.go index 24002892f06..f4913ed0e03 100644 --- a/service/applicationinsights/api_op_DeleteApplication.go +++ b/service/applicationinsights/api_op_DeleteApplication.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_DeleteComponent.go b/service/applicationinsights/api_op_DeleteComponent.go index edc8f50dd9d..8454218f863 100644 --- a/service/applicationinsights/api_op_DeleteComponent.go +++ b/service/applicationinsights/api_op_DeleteComponent.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteComponentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteComponentValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_DeleteLogPattern.go b/service/applicationinsights/api_op_DeleteLogPattern.go index 6dbf8c04660..e5939a5e462 100644 --- a/service/applicationinsights/api_op_DeleteLogPattern.go +++ b/service/applicationinsights/api_op_DeleteLogPattern.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteLogPatternMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLogPatternValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_DescribeApplication.go b/service/applicationinsights/api_op_DescribeApplication.go index 22c742b6a09..d72179fe2f9 100644 --- a/service/applicationinsights/api_op_DescribeApplication.go +++ b/service/applicationinsights/api_op_DescribeApplication.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDescribeApplicationMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_DescribeComponent.go b/service/applicationinsights/api_op_DescribeComponent.go index 6b3846a6653..28835fa0926 100644 --- a/service/applicationinsights/api_op_DescribeComponent.go +++ b/service/applicationinsights/api_op_DescribeComponent.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribeComponentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeComponentValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_DescribeComponentConfiguration.go b/service/applicationinsights/api_op_DescribeComponentConfiguration.go index 47da61cd44a..9022c35dee4 100644 --- a/service/applicationinsights/api_op_DescribeComponentConfiguration.go +++ b/service/applicationinsights/api_op_DescribeComponentConfiguration.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDescribeComponentConfigurationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeComponentConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_DescribeComponentConfigurationRecommendation.go b/service/applicationinsights/api_op_DescribeComponentConfigurationRecommendation.go index d06c842c7bb..6776334b54d 100644 --- a/service/applicationinsights/api_op_DescribeComponentConfigurationRecommendation.go +++ b/service/applicationinsights/api_op_DescribeComponentConfigurationRecommendation.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeComponentConfigurationRecommendationMiddlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeComponentConfigurationRecommendationValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_DescribeLogPattern.go b/service/applicationinsights/api_op_DescribeLogPattern.go index 85ab8363242..315b30ffe47 100644 --- a/service/applicationinsights/api_op_DescribeLogPattern.go +++ b/service/applicationinsights/api_op_DescribeLogPattern.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeLogPatternMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeLogPatternValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_DescribeObservation.go b/service/applicationinsights/api_op_DescribeObservation.go index 540f07f17ec..ac6b4df5c19 100644 --- a/service/applicationinsights/api_op_DescribeObservation.go +++ b/service/applicationinsights/api_op_DescribeObservation.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDescribeObservationMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeObservationValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_DescribeProblem.go b/service/applicationinsights/api_op_DescribeProblem.go index 5dd85fba9fe..7977b6c2de1 100644 --- a/service/applicationinsights/api_op_DescribeProblem.go +++ b/service/applicationinsights/api_op_DescribeProblem.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeProblemMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeProblemValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_DescribeProblemObservations.go b/service/applicationinsights/api_op_DescribeProblemObservations.go index 8a1fac4a5ce..ffd35769f97 100644 --- a/service/applicationinsights/api_op_DescribeProblemObservations.go +++ b/service/applicationinsights/api_op_DescribeProblemObservations.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDescribeProblemObservationsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeProblemObservationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_DescribeWorkload.go b/service/applicationinsights/api_op_DescribeWorkload.go index 6b1eb777b46..81fadf1a1a6 100644 --- a/service/applicationinsights/api_op_DescribeWorkload.go +++ b/service/applicationinsights/api_op_DescribeWorkload.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeWorkloadMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeWorkloadValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_ListApplications.go b/service/applicationinsights/api_op_ListApplications.go index 5441e8e6fbd..86160eaf216 100644 --- a/service/applicationinsights/api_op_ListApplications.go +++ b/service/applicationinsights/api_op_ListApplications.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListApplicationsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplications(options.Region), middleware.Before); err != nil { return err } diff --git a/service/applicationinsights/api_op_ListComponents.go b/service/applicationinsights/api_op_ListComponents.go index 22e73922fa5..50001456569 100644 --- a/service/applicationinsights/api_op_ListComponents.go +++ b/service/applicationinsights/api_op_ListComponents.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListComponentsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListComponentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_ListConfigurationHistory.go b/service/applicationinsights/api_op_ListConfigurationHistory.go index 1938ab81aae..21827030f82 100644 --- a/service/applicationinsights/api_op_ListConfigurationHistory.go +++ b/service/applicationinsights/api_op_ListConfigurationHistory.go @@ -154,9 +154,6 @@ func (c *Client) addOperationListConfigurationHistoryMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConfigurationHistory(options.Region), middleware.Before); err != nil { return err } diff --git a/service/applicationinsights/api_op_ListLogPatternSets.go b/service/applicationinsights/api_op_ListLogPatternSets.go index 6cc882fd4ea..9c3c5a0d3b8 100644 --- a/service/applicationinsights/api_op_ListLogPatternSets.go +++ b/service/applicationinsights/api_op_ListLogPatternSets.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListLogPatternSetsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListLogPatternSetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_ListLogPatterns.go b/service/applicationinsights/api_op_ListLogPatterns.go index 84355bcb5e0..0a5c833100f 100644 --- a/service/applicationinsights/api_op_ListLogPatterns.go +++ b/service/applicationinsights/api_op_ListLogPatterns.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListLogPatternsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListLogPatternsValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_ListProblems.go b/service/applicationinsights/api_op_ListProblems.go index 0336d5c55a9..db750632b32 100644 --- a/service/applicationinsights/api_op_ListProblems.go +++ b/service/applicationinsights/api_op_ListProblems.go @@ -146,9 +146,6 @@ func (c *Client) addOperationListProblemsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProblems(options.Region), middleware.Before); err != nil { return err } diff --git a/service/applicationinsights/api_op_ListTagsForResource.go b/service/applicationinsights/api_op_ListTagsForResource.go index 2e440cda5f3..14403dcedbf 100644 --- a/service/applicationinsights/api_op_ListTagsForResource.go +++ b/service/applicationinsights/api_op_ListTagsForResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_ListWorkloads.go b/service/applicationinsights/api_op_ListWorkloads.go index 204935704bb..204d8a6ddf9 100644 --- a/service/applicationinsights/api_op_ListWorkloads.go +++ b/service/applicationinsights/api_op_ListWorkloads.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListWorkloadsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListWorkloadsValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_RemoveWorkload.go b/service/applicationinsights/api_op_RemoveWorkload.go index 1769a9558f9..a1dc54aa71a 100644 --- a/service/applicationinsights/api_op_RemoveWorkload.go +++ b/service/applicationinsights/api_op_RemoveWorkload.go @@ -117,9 +117,6 @@ func (c *Client) addOperationRemoveWorkloadMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveWorkloadValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_TagResource.go b/service/applicationinsights/api_op_TagResource.go index ff436a6c4e1..4b2ea1b6733 100644 --- a/service/applicationinsights/api_op_TagResource.go +++ b/service/applicationinsights/api_op_TagResource.go @@ -123,9 +123,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_UntagResource.go b/service/applicationinsights/api_op_UntagResource.go index 405ef260a84..412c14d981e 100644 --- a/service/applicationinsights/api_op_UntagResource.go +++ b/service/applicationinsights/api_op_UntagResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_UpdateApplication.go b/service/applicationinsights/api_op_UpdateApplication.go index 3e2534bd017..f2b8f6a5e55 100644 --- a/service/applicationinsights/api_op_UpdateApplication.go +++ b/service/applicationinsights/api_op_UpdateApplication.go @@ -139,9 +139,6 @@ func (c *Client) addOperationUpdateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_UpdateComponent.go b/service/applicationinsights/api_op_UpdateComponent.go index 23a2d166dec..8597c524cb8 100644 --- a/service/applicationinsights/api_op_UpdateComponent.go +++ b/service/applicationinsights/api_op_UpdateComponent.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateComponentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateComponentValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_UpdateComponentConfiguration.go b/service/applicationinsights/api_op_UpdateComponentConfiguration.go index 58ce653347a..027ea0956e2 100644 --- a/service/applicationinsights/api_op_UpdateComponentConfiguration.go +++ b/service/applicationinsights/api_op_UpdateComponentConfiguration.go @@ -135,9 +135,6 @@ func (c *Client) addOperationUpdateComponentConfigurationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateComponentConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_UpdateLogPattern.go b/service/applicationinsights/api_op_UpdateLogPattern.go index 9ae1b9a6602..98021d6f217 100644 --- a/service/applicationinsights/api_op_UpdateLogPattern.go +++ b/service/applicationinsights/api_op_UpdateLogPattern.go @@ -140,9 +140,6 @@ func (c *Client) addOperationUpdateLogPatternMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLogPatternValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_UpdateProblem.go b/service/applicationinsights/api_op_UpdateProblem.go index b61f7bba0c7..c68d87e2176 100644 --- a/service/applicationinsights/api_op_UpdateProblem.go +++ b/service/applicationinsights/api_op_UpdateProblem.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUpdateProblemMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateProblemValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/api_op_UpdateWorkload.go b/service/applicationinsights/api_op_UpdateWorkload.go index 39d37871ece..e0938ef80ca 100644 --- a/service/applicationinsights/api_op_UpdateWorkload.go +++ b/service/applicationinsights/api_op_UpdateWorkload.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateWorkloadMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateWorkloadValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationinsights/snapshot/api_op_AddWorkload.go.snap b/service/applicationinsights/snapshot/api_op_AddWorkload.go.snap index 7bbd43d66dd..843ed8e27b9 100644 --- a/service/applicationinsights/snapshot/api_op_AddWorkload.go.snap +++ b/service/applicationinsights/snapshot/api_op_AddWorkload.go.snap @@ -14,7 +14,6 @@ AddWorkload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationinsights/snapshot/api_op_CreateApplication.go.snap b/service/applicationinsights/snapshot/api_op_CreateApplication.go.snap index 503ca240c75..7174d11f956 100644 --- a/service/applicationinsights/snapshot/api_op_CreateApplication.go.snap +++ b/service/applicationinsights/snapshot/api_op_CreateApplication.go.snap @@ -14,7 +14,6 @@ CreateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationinsights/snapshot/api_op_CreateComponent.go.snap b/service/applicationinsights/snapshot/api_op_CreateComponent.go.snap index 13dfcc71e90..99fc952b71c 100644 --- a/service/applicationinsights/snapshot/api_op_CreateComponent.go.snap +++ b/service/applicationinsights/snapshot/api_op_CreateComponent.go.snap @@ -14,7 +14,6 @@ CreateComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationinsights/snapshot/api_op_CreateLogPattern.go.snap b/service/applicationinsights/snapshot/api_op_CreateLogPattern.go.snap index 31629c65cac..c8a31a93808 100644 --- a/service/applicationinsights/snapshot/api_op_CreateLogPattern.go.snap +++ b/service/applicationinsights/snapshot/api_op_CreateLogPattern.go.snap @@ -14,7 +14,6 @@ CreateLogPattern Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationinsights/snapshot/api_op_DeleteApplication.go.snap b/service/applicationinsights/snapshot/api_op_DeleteApplication.go.snap index 80790355ed5..ffda37a527f 100644 --- a/service/applicationinsights/snapshot/api_op_DeleteApplication.go.snap +++ b/service/applicationinsights/snapshot/api_op_DeleteApplication.go.snap @@ -14,7 +14,6 @@ DeleteApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationinsights/snapshot/api_op_DeleteComponent.go.snap b/service/applicationinsights/snapshot/api_op_DeleteComponent.go.snap index 41afbb31f32..8511e11596a 100644 --- a/service/applicationinsights/snapshot/api_op_DeleteComponent.go.snap +++ b/service/applicationinsights/snapshot/api_op_DeleteComponent.go.snap @@ -14,7 +14,6 @@ DeleteComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationinsights/snapshot/api_op_DeleteLogPattern.go.snap b/service/applicationinsights/snapshot/api_op_DeleteLogPattern.go.snap index 4fb00fa8bba..3827eaac898 100644 --- a/service/applicationinsights/snapshot/api_op_DeleteLogPattern.go.snap +++ b/service/applicationinsights/snapshot/api_op_DeleteLogPattern.go.snap @@ -14,7 +14,6 @@ DeleteLogPattern Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationinsights/snapshot/api_op_DescribeApplication.go.snap b/service/applicationinsights/snapshot/api_op_DescribeApplication.go.snap index 9e58fc0215e..c6fbc3e201d 100644 --- a/service/applicationinsights/snapshot/api_op_DescribeApplication.go.snap +++ b/service/applicationinsights/snapshot/api_op_DescribeApplication.go.snap @@ -14,7 +14,6 @@ DescribeApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationinsights/snapshot/api_op_DescribeComponent.go.snap b/service/applicationinsights/snapshot/api_op_DescribeComponent.go.snap index 4747ed111fa..439b2d23298 100644 --- a/service/applicationinsights/snapshot/api_op_DescribeComponent.go.snap +++ b/service/applicationinsights/snapshot/api_op_DescribeComponent.go.snap @@ -14,7 +14,6 @@ DescribeComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationinsights/snapshot/api_op_DescribeComponentConfiguration.go.snap b/service/applicationinsights/snapshot/api_op_DescribeComponentConfiguration.go.snap index 56dc80ac567..78ea2889500 100644 --- a/service/applicationinsights/snapshot/api_op_DescribeComponentConfiguration.go.snap +++ b/service/applicationinsights/snapshot/api_op_DescribeComponentConfiguration.go.snap @@ -14,7 +14,6 @@ DescribeComponentConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationinsights/snapshot/api_op_DescribeComponentConfigurationRecommendation.go.snap b/service/applicationinsights/snapshot/api_op_DescribeComponentConfigurationRecommendation.go.snap index e3af32132ca..e233442f986 100644 --- a/service/applicationinsights/snapshot/api_op_DescribeComponentConfigurationRecommendation.go.snap +++ b/service/applicationinsights/snapshot/api_op_DescribeComponentConfigurationRecommendation.go.snap @@ -14,7 +14,6 @@ DescribeComponentConfigurationRecommendation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationinsights/snapshot/api_op_DescribeLogPattern.go.snap b/service/applicationinsights/snapshot/api_op_DescribeLogPattern.go.snap index 18eef8eea90..8ef5ac00501 100644 --- a/service/applicationinsights/snapshot/api_op_DescribeLogPattern.go.snap +++ b/service/applicationinsights/snapshot/api_op_DescribeLogPattern.go.snap @@ -14,7 +14,6 @@ DescribeLogPattern Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationinsights/snapshot/api_op_DescribeObservation.go.snap b/service/applicationinsights/snapshot/api_op_DescribeObservation.go.snap index 8bd78e2ca69..8162dfb80a0 100644 --- a/service/applicationinsights/snapshot/api_op_DescribeObservation.go.snap +++ b/service/applicationinsights/snapshot/api_op_DescribeObservation.go.snap @@ -14,7 +14,6 @@ DescribeObservation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationinsights/snapshot/api_op_DescribeProblem.go.snap b/service/applicationinsights/snapshot/api_op_DescribeProblem.go.snap index 336fadb154f..06781a290d5 100644 --- a/service/applicationinsights/snapshot/api_op_DescribeProblem.go.snap +++ b/service/applicationinsights/snapshot/api_op_DescribeProblem.go.snap @@ -14,7 +14,6 @@ DescribeProblem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationinsights/snapshot/api_op_DescribeProblemObservations.go.snap b/service/applicationinsights/snapshot/api_op_DescribeProblemObservations.go.snap index 3f80487aa9b..78bc52b6c15 100644 --- a/service/applicationinsights/snapshot/api_op_DescribeProblemObservations.go.snap +++ b/service/applicationinsights/snapshot/api_op_DescribeProblemObservations.go.snap @@ -14,7 +14,6 @@ DescribeProblemObservations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationinsights/snapshot/api_op_DescribeWorkload.go.snap b/service/applicationinsights/snapshot/api_op_DescribeWorkload.go.snap index 88081b23105..35a6396183a 100644 --- a/service/applicationinsights/snapshot/api_op_DescribeWorkload.go.snap +++ b/service/applicationinsights/snapshot/api_op_DescribeWorkload.go.snap @@ -14,7 +14,6 @@ DescribeWorkload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationinsights/snapshot/api_op_ListApplications.go.snap b/service/applicationinsights/snapshot/api_op_ListApplications.go.snap index e18746bd34f..6029195b8e8 100644 --- a/service/applicationinsights/snapshot/api_op_ListApplications.go.snap +++ b/service/applicationinsights/snapshot/api_op_ListApplications.go.snap @@ -13,7 +13,6 @@ ListApplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationinsights/snapshot/api_op_ListComponents.go.snap b/service/applicationinsights/snapshot/api_op_ListComponents.go.snap index 4ee988ccf3d..e21445d40cc 100644 --- a/service/applicationinsights/snapshot/api_op_ListComponents.go.snap +++ b/service/applicationinsights/snapshot/api_op_ListComponents.go.snap @@ -14,7 +14,6 @@ ListComponents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationinsights/snapshot/api_op_ListConfigurationHistory.go.snap b/service/applicationinsights/snapshot/api_op_ListConfigurationHistory.go.snap index 9b55bf42643..42595f16497 100644 --- a/service/applicationinsights/snapshot/api_op_ListConfigurationHistory.go.snap +++ b/service/applicationinsights/snapshot/api_op_ListConfigurationHistory.go.snap @@ -13,7 +13,6 @@ ListConfigurationHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationinsights/snapshot/api_op_ListLogPatternSets.go.snap b/service/applicationinsights/snapshot/api_op_ListLogPatternSets.go.snap index 5001a3fa5a1..fc7d84e1eba 100644 --- a/service/applicationinsights/snapshot/api_op_ListLogPatternSets.go.snap +++ b/service/applicationinsights/snapshot/api_op_ListLogPatternSets.go.snap @@ -14,7 +14,6 @@ ListLogPatternSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationinsights/snapshot/api_op_ListLogPatterns.go.snap b/service/applicationinsights/snapshot/api_op_ListLogPatterns.go.snap index 4e53b3a896b..1b4502e6fd2 100644 --- a/service/applicationinsights/snapshot/api_op_ListLogPatterns.go.snap +++ b/service/applicationinsights/snapshot/api_op_ListLogPatterns.go.snap @@ -14,7 +14,6 @@ ListLogPatterns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationinsights/snapshot/api_op_ListProblems.go.snap b/service/applicationinsights/snapshot/api_op_ListProblems.go.snap index f844538933f..6f2878ad13e 100644 --- a/service/applicationinsights/snapshot/api_op_ListProblems.go.snap +++ b/service/applicationinsights/snapshot/api_op_ListProblems.go.snap @@ -13,7 +13,6 @@ ListProblems Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationinsights/snapshot/api_op_ListTagsForResource.go.snap b/service/applicationinsights/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/applicationinsights/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/applicationinsights/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationinsights/snapshot/api_op_ListWorkloads.go.snap b/service/applicationinsights/snapshot/api_op_ListWorkloads.go.snap index 5f7dd84407c..1af998ce286 100644 --- a/service/applicationinsights/snapshot/api_op_ListWorkloads.go.snap +++ b/service/applicationinsights/snapshot/api_op_ListWorkloads.go.snap @@ -14,7 +14,6 @@ ListWorkloads Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationinsights/snapshot/api_op_RemoveWorkload.go.snap b/service/applicationinsights/snapshot/api_op_RemoveWorkload.go.snap index 1ce129875e5..a56363c9818 100644 --- a/service/applicationinsights/snapshot/api_op_RemoveWorkload.go.snap +++ b/service/applicationinsights/snapshot/api_op_RemoveWorkload.go.snap @@ -14,7 +14,6 @@ RemoveWorkload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationinsights/snapshot/api_op_TagResource.go.snap b/service/applicationinsights/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/applicationinsights/snapshot/api_op_TagResource.go.snap +++ b/service/applicationinsights/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationinsights/snapshot/api_op_UntagResource.go.snap b/service/applicationinsights/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/applicationinsights/snapshot/api_op_UntagResource.go.snap +++ b/service/applicationinsights/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationinsights/snapshot/api_op_UpdateApplication.go.snap b/service/applicationinsights/snapshot/api_op_UpdateApplication.go.snap index 5ec4c02edff..d4e2fa4991a 100644 --- a/service/applicationinsights/snapshot/api_op_UpdateApplication.go.snap +++ b/service/applicationinsights/snapshot/api_op_UpdateApplication.go.snap @@ -14,7 +14,6 @@ UpdateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationinsights/snapshot/api_op_UpdateComponent.go.snap b/service/applicationinsights/snapshot/api_op_UpdateComponent.go.snap index a114b4bad76..93965dc7891 100644 --- a/service/applicationinsights/snapshot/api_op_UpdateComponent.go.snap +++ b/service/applicationinsights/snapshot/api_op_UpdateComponent.go.snap @@ -14,7 +14,6 @@ UpdateComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationinsights/snapshot/api_op_UpdateComponentConfiguration.go.snap b/service/applicationinsights/snapshot/api_op_UpdateComponentConfiguration.go.snap index 79e9dcd44a2..3fdced2d970 100644 --- a/service/applicationinsights/snapshot/api_op_UpdateComponentConfiguration.go.snap +++ b/service/applicationinsights/snapshot/api_op_UpdateComponentConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateComponentConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationinsights/snapshot/api_op_UpdateLogPattern.go.snap b/service/applicationinsights/snapshot/api_op_UpdateLogPattern.go.snap index b71009b1f56..a8f8cdf70f1 100644 --- a/service/applicationinsights/snapshot/api_op_UpdateLogPattern.go.snap +++ b/service/applicationinsights/snapshot/api_op_UpdateLogPattern.go.snap @@ -14,7 +14,6 @@ UpdateLogPattern Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationinsights/snapshot/api_op_UpdateProblem.go.snap b/service/applicationinsights/snapshot/api_op_UpdateProblem.go.snap index 4c8a422eda9..b333f552892 100644 --- a/service/applicationinsights/snapshot/api_op_UpdateProblem.go.snap +++ b/service/applicationinsights/snapshot/api_op_UpdateProblem.go.snap @@ -14,7 +14,6 @@ UpdateProblem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationinsights/snapshot/api_op_UpdateWorkload.go.snap b/service/applicationinsights/snapshot/api_op_UpdateWorkload.go.snap index ad367e42e7c..b0e9e4a667b 100644 --- a/service/applicationinsights/snapshot/api_op_UpdateWorkload.go.snap +++ b/service/applicationinsights/snapshot/api_op_UpdateWorkload.go.snap @@ -14,7 +14,6 @@ UpdateWorkload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationsignals/api_client.go b/service/applicationsignals/api_client.go index fb56f84b0c2..aeb0884d909 100644 --- a/service/applicationsignals/api_client.go +++ b/service/applicationsignals/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/applicationsignals/api_op_BatchGetServiceLevelObjectiveBudgetReport.go b/service/applicationsignals/api_op_BatchGetServiceLevelObjectiveBudgetReport.go index 90f633f2908..c60beff96fc 100644 --- a/service/applicationsignals/api_op_BatchGetServiceLevelObjectiveBudgetReport.go +++ b/service/applicationsignals/api_op_BatchGetServiceLevelObjectiveBudgetReport.go @@ -148,9 +148,6 @@ func (c *Client) addOperationBatchGetServiceLevelObjectiveBudgetReportMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetServiceLevelObjectiveBudgetReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationsignals/api_op_CreateServiceLevelObjective.go b/service/applicationsignals/api_op_CreateServiceLevelObjective.go index 64239150907..af4cdc94f69 100644 --- a/service/applicationsignals/api_op_CreateServiceLevelObjective.go +++ b/service/applicationsignals/api_op_CreateServiceLevelObjective.go @@ -226,9 +226,6 @@ func (c *Client) addOperationCreateServiceLevelObjectiveMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateServiceLevelObjectiveValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationsignals/api_op_DeleteServiceLevelObjective.go b/service/applicationsignals/api_op_DeleteServiceLevelObjective.go index 1bc1e4dff6f..21584612159 100644 --- a/service/applicationsignals/api_op_DeleteServiceLevelObjective.go +++ b/service/applicationsignals/api_op_DeleteServiceLevelObjective.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteServiceLevelObjectiveMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteServiceLevelObjectiveValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationsignals/api_op_GetService.go b/service/applicationsignals/api_op_GetService.go index 14ea9dd66ea..8b61fdbbfe9 100644 --- a/service/applicationsignals/api_op_GetService.go +++ b/service/applicationsignals/api_op_GetService.go @@ -179,9 +179,6 @@ func (c *Client) addOperationGetServiceMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetServiceValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationsignals/api_op_GetServiceLevelObjective.go b/service/applicationsignals/api_op_GetServiceLevelObjective.go index 7131e0e5d37..1ea7d8896f9 100644 --- a/service/applicationsignals/api_op_GetServiceLevelObjective.go +++ b/service/applicationsignals/api_op_GetServiceLevelObjective.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetServiceLevelObjectiveMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetServiceLevelObjectiveValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationsignals/api_op_ListServiceDependencies.go b/service/applicationsignals/api_op_ListServiceDependencies.go index cff5452c307..8cc6518ced6 100644 --- a/service/applicationsignals/api_op_ListServiceDependencies.go +++ b/service/applicationsignals/api_op_ListServiceDependencies.go @@ -186,9 +186,6 @@ func (c *Client) addOperationListServiceDependenciesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListServiceDependenciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationsignals/api_op_ListServiceDependents.go b/service/applicationsignals/api_op_ListServiceDependents.go index 85cdce771d6..86b8c73a791 100644 --- a/service/applicationsignals/api_op_ListServiceDependents.go +++ b/service/applicationsignals/api_op_ListServiceDependents.go @@ -185,9 +185,6 @@ func (c *Client) addOperationListServiceDependentsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListServiceDependentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationsignals/api_op_ListServiceLevelObjectives.go b/service/applicationsignals/api_op_ListServiceLevelObjectives.go index 04aeb09d4d0..0710ddbaea1 100644 --- a/service/applicationsignals/api_op_ListServiceLevelObjectives.go +++ b/service/applicationsignals/api_op_ListServiceLevelObjectives.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListServiceLevelObjectivesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServiceLevelObjectives(options.Region), middleware.Before); err != nil { return err } diff --git a/service/applicationsignals/api_op_ListServiceOperations.go b/service/applicationsignals/api_op_ListServiceOperations.go index 4a278a97197..a5312b0394a 100644 --- a/service/applicationsignals/api_op_ListServiceOperations.go +++ b/service/applicationsignals/api_op_ListServiceOperations.go @@ -185,9 +185,6 @@ func (c *Client) addOperationListServiceOperationsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListServiceOperationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationsignals/api_op_ListServices.go b/service/applicationsignals/api_op_ListServices.go index 7b8a935e714..d0f430ab35c 100644 --- a/service/applicationsignals/api_op_ListServices.go +++ b/service/applicationsignals/api_op_ListServices.go @@ -165,9 +165,6 @@ func (c *Client) addOperationListServicesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListServicesValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationsignals/api_op_ListTagsForResource.go b/service/applicationsignals/api_op_ListTagsForResource.go index e113fc32a2a..fe533ff7d52 100644 --- a/service/applicationsignals/api_op_ListTagsForResource.go +++ b/service/applicationsignals/api_op_ListTagsForResource.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationsignals/api_op_StartDiscovery.go b/service/applicationsignals/api_op_StartDiscovery.go index 1b7adb94373..755f4fe393a 100644 --- a/service/applicationsignals/api_op_StartDiscovery.go +++ b/service/applicationsignals/api_op_StartDiscovery.go @@ -123,9 +123,6 @@ func (c *Client) addOperationStartDiscoveryMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartDiscovery(options.Region), middleware.Before); err != nil { return err } diff --git a/service/applicationsignals/api_op_TagResource.go b/service/applicationsignals/api_op_TagResource.go index f9a61c42e7c..1fbfca8a227 100644 --- a/service/applicationsignals/api_op_TagResource.go +++ b/service/applicationsignals/api_op_TagResource.go @@ -138,9 +138,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationsignals/api_op_UntagResource.go b/service/applicationsignals/api_op_UntagResource.go index 84d28f43a40..5b78f7e54ad 100644 --- a/service/applicationsignals/api_op_UntagResource.go +++ b/service/applicationsignals/api_op_UntagResource.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationsignals/api_op_UpdateServiceLevelObjective.go b/service/applicationsignals/api_op_UpdateServiceLevelObjective.go index b53bcdc4edd..6355feb3978 100644 --- a/service/applicationsignals/api_op_UpdateServiceLevelObjective.go +++ b/service/applicationsignals/api_op_UpdateServiceLevelObjective.go @@ -142,9 +142,6 @@ func (c *Client) addOperationUpdateServiceLevelObjectiveMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateServiceLevelObjectiveValidationMiddleware(stack); err != nil { return err } diff --git a/service/applicationsignals/snapshot/api_op_BatchGetServiceLevelObjectiveBudgetReport.go.snap b/service/applicationsignals/snapshot/api_op_BatchGetServiceLevelObjectiveBudgetReport.go.snap index 9bf5746c1e8..06d2b6b3ba4 100644 --- a/service/applicationsignals/snapshot/api_op_BatchGetServiceLevelObjectiveBudgetReport.go.snap +++ b/service/applicationsignals/snapshot/api_op_BatchGetServiceLevelObjectiveBudgetReport.go.snap @@ -14,7 +14,6 @@ BatchGetServiceLevelObjectiveBudgetReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationsignals/snapshot/api_op_CreateServiceLevelObjective.go.snap b/service/applicationsignals/snapshot/api_op_CreateServiceLevelObjective.go.snap index 0fa56076622..ecdaddb4c9b 100644 --- a/service/applicationsignals/snapshot/api_op_CreateServiceLevelObjective.go.snap +++ b/service/applicationsignals/snapshot/api_op_CreateServiceLevelObjective.go.snap @@ -14,7 +14,6 @@ CreateServiceLevelObjective Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationsignals/snapshot/api_op_DeleteServiceLevelObjective.go.snap b/service/applicationsignals/snapshot/api_op_DeleteServiceLevelObjective.go.snap index 272d7b353c7..8c34647aff3 100644 --- a/service/applicationsignals/snapshot/api_op_DeleteServiceLevelObjective.go.snap +++ b/service/applicationsignals/snapshot/api_op_DeleteServiceLevelObjective.go.snap @@ -14,7 +14,6 @@ DeleteServiceLevelObjective Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationsignals/snapshot/api_op_GetService.go.snap b/service/applicationsignals/snapshot/api_op_GetService.go.snap index c5e405f61cb..aad7d0d939e 100644 --- a/service/applicationsignals/snapshot/api_op_GetService.go.snap +++ b/service/applicationsignals/snapshot/api_op_GetService.go.snap @@ -14,7 +14,6 @@ GetService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationsignals/snapshot/api_op_GetServiceLevelObjective.go.snap b/service/applicationsignals/snapshot/api_op_GetServiceLevelObjective.go.snap index d3ee327d55b..ea1c8284980 100644 --- a/service/applicationsignals/snapshot/api_op_GetServiceLevelObjective.go.snap +++ b/service/applicationsignals/snapshot/api_op_GetServiceLevelObjective.go.snap @@ -14,7 +14,6 @@ GetServiceLevelObjective Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationsignals/snapshot/api_op_ListServiceDependencies.go.snap b/service/applicationsignals/snapshot/api_op_ListServiceDependencies.go.snap index 294633a2c24..4bc58b2d9dd 100644 --- a/service/applicationsignals/snapshot/api_op_ListServiceDependencies.go.snap +++ b/service/applicationsignals/snapshot/api_op_ListServiceDependencies.go.snap @@ -14,7 +14,6 @@ ListServiceDependencies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationsignals/snapshot/api_op_ListServiceDependents.go.snap b/service/applicationsignals/snapshot/api_op_ListServiceDependents.go.snap index e9b1e462e41..9bbb686c15b 100644 --- a/service/applicationsignals/snapshot/api_op_ListServiceDependents.go.snap +++ b/service/applicationsignals/snapshot/api_op_ListServiceDependents.go.snap @@ -14,7 +14,6 @@ ListServiceDependents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationsignals/snapshot/api_op_ListServiceLevelObjectives.go.snap b/service/applicationsignals/snapshot/api_op_ListServiceLevelObjectives.go.snap index 7cdc508b2a5..0af022fe351 100644 --- a/service/applicationsignals/snapshot/api_op_ListServiceLevelObjectives.go.snap +++ b/service/applicationsignals/snapshot/api_op_ListServiceLevelObjectives.go.snap @@ -13,7 +13,6 @@ ListServiceLevelObjectives Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationsignals/snapshot/api_op_ListServiceOperations.go.snap b/service/applicationsignals/snapshot/api_op_ListServiceOperations.go.snap index 65879b15b8f..9bc4ec59402 100644 --- a/service/applicationsignals/snapshot/api_op_ListServiceOperations.go.snap +++ b/service/applicationsignals/snapshot/api_op_ListServiceOperations.go.snap @@ -14,7 +14,6 @@ ListServiceOperations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationsignals/snapshot/api_op_ListServices.go.snap b/service/applicationsignals/snapshot/api_op_ListServices.go.snap index 726eac6f5a5..724b7cfbbd5 100644 --- a/service/applicationsignals/snapshot/api_op_ListServices.go.snap +++ b/service/applicationsignals/snapshot/api_op_ListServices.go.snap @@ -14,7 +14,6 @@ ListServices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationsignals/snapshot/api_op_ListTagsForResource.go.snap b/service/applicationsignals/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/applicationsignals/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/applicationsignals/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationsignals/snapshot/api_op_StartDiscovery.go.snap b/service/applicationsignals/snapshot/api_op_StartDiscovery.go.snap index 754874e17b7..5edb33429f5 100644 --- a/service/applicationsignals/snapshot/api_op_StartDiscovery.go.snap +++ b/service/applicationsignals/snapshot/api_op_StartDiscovery.go.snap @@ -13,7 +13,6 @@ StartDiscovery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationsignals/snapshot/api_op_TagResource.go.snap b/service/applicationsignals/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/applicationsignals/snapshot/api_op_TagResource.go.snap +++ b/service/applicationsignals/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationsignals/snapshot/api_op_UntagResource.go.snap b/service/applicationsignals/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/applicationsignals/snapshot/api_op_UntagResource.go.snap +++ b/service/applicationsignals/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/applicationsignals/snapshot/api_op_UpdateServiceLevelObjective.go.snap b/service/applicationsignals/snapshot/api_op_UpdateServiceLevelObjective.go.snap index d6b095ad658..cd9beae76f3 100644 --- a/service/applicationsignals/snapshot/api_op_UpdateServiceLevelObjective.go.snap +++ b/service/applicationsignals/snapshot/api_op_UpdateServiceLevelObjective.go.snap @@ -14,7 +14,6 @@ UpdateServiceLevelObjective Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/api_client.go b/service/appmesh/api_client.go index 4b287b39651..d624362a1df 100644 --- a/service/appmesh/api_client.go +++ b/service/appmesh/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/appmesh/api_op_CreateGatewayRoute.go b/service/appmesh/api_op_CreateGatewayRoute.go index 552f2d21fae..93b94702c71 100644 --- a/service/appmesh/api_op_CreateGatewayRoute.go +++ b/service/appmesh/api_op_CreateGatewayRoute.go @@ -157,9 +157,6 @@ func (c *Client) addOperationCreateGatewayRouteMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateGatewayRouteMiddleware(stack, options); err != nil { return err } diff --git a/service/appmesh/api_op_CreateMesh.go b/service/appmesh/api_op_CreateMesh.go index 822feef5cb4..622ac66ee71 100644 --- a/service/appmesh/api_op_CreateMesh.go +++ b/service/appmesh/api_op_CreateMesh.go @@ -136,9 +136,6 @@ func (c *Client) addOperationCreateMeshMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateMeshMiddleware(stack, options); err != nil { return err } diff --git a/service/appmesh/api_op_CreateRoute.go b/service/appmesh/api_op_CreateRoute.go index eb4bbbea39c..8ecc6863d5f 100644 --- a/service/appmesh/api_op_CreateRoute.go +++ b/service/appmesh/api_op_CreateRoute.go @@ -156,9 +156,6 @@ func (c *Client) addOperationCreateRouteMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateRouteMiddleware(stack, options); err != nil { return err } diff --git a/service/appmesh/api_op_CreateVirtualGateway.go b/service/appmesh/api_op_CreateVirtualGateway.go index da33b77c62f..6121719de5a 100644 --- a/service/appmesh/api_op_CreateVirtualGateway.go +++ b/service/appmesh/api_op_CreateVirtualGateway.go @@ -152,9 +152,6 @@ func (c *Client) addOperationCreateVirtualGatewayMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateVirtualGatewayMiddleware(stack, options); err != nil { return err } diff --git a/service/appmesh/api_op_CreateVirtualNode.go b/service/appmesh/api_op_CreateVirtualNode.go index c4f7f061679..4dee70b9813 100644 --- a/service/appmesh/api_op_CreateVirtualNode.go +++ b/service/appmesh/api_op_CreateVirtualNode.go @@ -171,9 +171,6 @@ func (c *Client) addOperationCreateVirtualNodeMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateVirtualNodeMiddleware(stack, options); err != nil { return err } diff --git a/service/appmesh/api_op_CreateVirtualRouter.go b/service/appmesh/api_op_CreateVirtualRouter.go index 01143fb7120..20a587f85a6 100644 --- a/service/appmesh/api_op_CreateVirtualRouter.go +++ b/service/appmesh/api_op_CreateVirtualRouter.go @@ -152,9 +152,6 @@ func (c *Client) addOperationCreateVirtualRouterMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateVirtualRouterMiddleware(stack, options); err != nil { return err } diff --git a/service/appmesh/api_op_CreateVirtualService.go b/service/appmesh/api_op_CreateVirtualService.go index d0b7d6ab53a..b106af5ea33 100644 --- a/service/appmesh/api_op_CreateVirtualService.go +++ b/service/appmesh/api_op_CreateVirtualService.go @@ -152,9 +152,6 @@ func (c *Client) addOperationCreateVirtualServiceMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateVirtualServiceMiddleware(stack, options); err != nil { return err } diff --git a/service/appmesh/api_op_DeleteGatewayRoute.go b/service/appmesh/api_op_DeleteGatewayRoute.go index 37c10279394..d049e2178f6 100644 --- a/service/appmesh/api_op_DeleteGatewayRoute.go +++ b/service/appmesh/api_op_DeleteGatewayRoute.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDeleteGatewayRouteMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGatewayRouteValidationMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_DeleteMesh.go b/service/appmesh/api_op_DeleteMesh.go index 04099403be2..48d9235fb79 100644 --- a/service/appmesh/api_op_DeleteMesh.go +++ b/service/appmesh/api_op_DeleteMesh.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteMeshMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMeshValidationMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_DeleteRoute.go b/service/appmesh/api_op_DeleteRoute.go index 50cf95d8e3d..5cf7a24b53c 100644 --- a/service/appmesh/api_op_DeleteRoute.go +++ b/service/appmesh/api_op_DeleteRoute.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDeleteRouteMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRouteValidationMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_DeleteVirtualGateway.go b/service/appmesh/api_op_DeleteVirtualGateway.go index d1c164f7e72..11e46a0be5a 100644 --- a/service/appmesh/api_op_DeleteVirtualGateway.go +++ b/service/appmesh/api_op_DeleteVirtualGateway.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDeleteVirtualGatewayMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVirtualGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_DeleteVirtualNode.go b/service/appmesh/api_op_DeleteVirtualNode.go index 792e623e156..1cc962d507e 100644 --- a/service/appmesh/api_op_DeleteVirtualNode.go +++ b/service/appmesh/api_op_DeleteVirtualNode.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDeleteVirtualNodeMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVirtualNodeValidationMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_DeleteVirtualRouter.go b/service/appmesh/api_op_DeleteVirtualRouter.go index f89c28b0865..d758b78c518 100644 --- a/service/appmesh/api_op_DeleteVirtualRouter.go +++ b/service/appmesh/api_op_DeleteVirtualRouter.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDeleteVirtualRouterMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVirtualRouterValidationMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_DeleteVirtualService.go b/service/appmesh/api_op_DeleteVirtualService.go index d731794869b..b03cdf5b721 100644 --- a/service/appmesh/api_op_DeleteVirtualService.go +++ b/service/appmesh/api_op_DeleteVirtualService.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDeleteVirtualServiceMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVirtualServiceValidationMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_DescribeGatewayRoute.go b/service/appmesh/api_op_DescribeGatewayRoute.go index 79b773ce38d..2c954c73f36 100644 --- a/service/appmesh/api_op_DescribeGatewayRoute.go +++ b/service/appmesh/api_op_DescribeGatewayRoute.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeGatewayRouteMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeGatewayRouteValidationMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_DescribeMesh.go b/service/appmesh/api_op_DescribeMesh.go index 77505962c2c..e8cebcfe412 100644 --- a/service/appmesh/api_op_DescribeMesh.go +++ b/service/appmesh/api_op_DescribeMesh.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeMeshMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeMeshValidationMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_DescribeRoute.go b/service/appmesh/api_op_DescribeRoute.go index f442fbb05eb..bd38f1fdf0a 100644 --- a/service/appmesh/api_op_DescribeRoute.go +++ b/service/appmesh/api_op_DescribeRoute.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeRouteMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRouteValidationMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_DescribeVirtualGateway.go b/service/appmesh/api_op_DescribeVirtualGateway.go index ef457cec727..fb2d2b6330d 100644 --- a/service/appmesh/api_op_DescribeVirtualGateway.go +++ b/service/appmesh/api_op_DescribeVirtualGateway.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeVirtualGatewayMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeVirtualGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_DescribeVirtualNode.go b/service/appmesh/api_op_DescribeVirtualNode.go index 29ee01132db..eca193d82d2 100644 --- a/service/appmesh/api_op_DescribeVirtualNode.go +++ b/service/appmesh/api_op_DescribeVirtualNode.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeVirtualNodeMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeVirtualNodeValidationMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_DescribeVirtualRouter.go b/service/appmesh/api_op_DescribeVirtualRouter.go index a934c1cfc72..1f03ff0f73b 100644 --- a/service/appmesh/api_op_DescribeVirtualRouter.go +++ b/service/appmesh/api_op_DescribeVirtualRouter.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeVirtualRouterMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeVirtualRouterValidationMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_DescribeVirtualService.go b/service/appmesh/api_op_DescribeVirtualService.go index 999892108e9..69705f9e448 100644 --- a/service/appmesh/api_op_DescribeVirtualService.go +++ b/service/appmesh/api_op_DescribeVirtualService.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeVirtualServiceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeVirtualServiceValidationMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_ListGatewayRoutes.go b/service/appmesh/api_op_ListGatewayRoutes.go index a05eb04ecf8..0cbdfb34cdf 100644 --- a/service/appmesh/api_op_ListGatewayRoutes.go +++ b/service/appmesh/api_op_ListGatewayRoutes.go @@ -149,9 +149,6 @@ func (c *Client) addOperationListGatewayRoutesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListGatewayRoutesValidationMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_ListMeshes.go b/service/appmesh/api_op_ListMeshes.go index 0fa8ff4206c..a1dee372523 100644 --- a/service/appmesh/api_op_ListMeshes.go +++ b/service/appmesh/api_op_ListMeshes.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListMeshesMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMeshes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appmesh/api_op_ListRoutes.go b/service/appmesh/api_op_ListRoutes.go index 2f240f1b42d..29754b58968 100644 --- a/service/appmesh/api_op_ListRoutes.go +++ b/service/appmesh/api_op_ListRoutes.go @@ -147,9 +147,6 @@ func (c *Client) addOperationListRoutesMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRoutesValidationMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_ListTagsForResource.go b/service/appmesh/api_op_ListTagsForResource.go index 41bbd098d59..8aee3757ba1 100644 --- a/service/appmesh/api_op_ListTagsForResource.go +++ b/service/appmesh/api_op_ListTagsForResource.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_ListVirtualGateways.go b/service/appmesh/api_op_ListVirtualGateways.go index 19da1d965f6..cdcb0208762 100644 --- a/service/appmesh/api_op_ListVirtualGateways.go +++ b/service/appmesh/api_op_ListVirtualGateways.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListVirtualGatewaysMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListVirtualGatewaysValidationMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_ListVirtualNodes.go b/service/appmesh/api_op_ListVirtualNodes.go index 65e8c3121ec..afe3c700ef7 100644 --- a/service/appmesh/api_op_ListVirtualNodes.go +++ b/service/appmesh/api_op_ListVirtualNodes.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListVirtualNodesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListVirtualNodesValidationMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_ListVirtualRouters.go b/service/appmesh/api_op_ListVirtualRouters.go index 420fade8a2f..6de4e792fef 100644 --- a/service/appmesh/api_op_ListVirtualRouters.go +++ b/service/appmesh/api_op_ListVirtualRouters.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListVirtualRoutersMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListVirtualRoutersValidationMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_ListVirtualServices.go b/service/appmesh/api_op_ListVirtualServices.go index d236f7afd0a..7930bd44a14 100644 --- a/service/appmesh/api_op_ListVirtualServices.go +++ b/service/appmesh/api_op_ListVirtualServices.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListVirtualServicesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListVirtualServicesValidationMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_TagResource.go b/service/appmesh/api_op_TagResource.go index 1e0ff3b64f3..09218c908d9 100644 --- a/service/appmesh/api_op_TagResource.go +++ b/service/appmesh/api_op_TagResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_UntagResource.go b/service/appmesh/api_op_UntagResource.go index 1e96cbd5672..f3ac4bf5669 100644 --- a/service/appmesh/api_op_UntagResource.go +++ b/service/appmesh/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/appmesh/api_op_UpdateGatewayRoute.go b/service/appmesh/api_op_UpdateGatewayRoute.go index 7fe6b223ce1..7485a20cc35 100644 --- a/service/appmesh/api_op_UpdateGatewayRoute.go +++ b/service/appmesh/api_op_UpdateGatewayRoute.go @@ -141,9 +141,6 @@ func (c *Client) addOperationUpdateGatewayRouteMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateGatewayRouteMiddleware(stack, options); err != nil { return err } diff --git a/service/appmesh/api_op_UpdateMesh.go b/service/appmesh/api_op_UpdateMesh.go index 6dffc7bfa4a..5e068f6a290 100644 --- a/service/appmesh/api_op_UpdateMesh.go +++ b/service/appmesh/api_op_UpdateMesh.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateMeshMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateMeshMiddleware(stack, options); err != nil { return err } diff --git a/service/appmesh/api_op_UpdateRoute.go b/service/appmesh/api_op_UpdateRoute.go index 69a9a744ccc..48547bbb121 100644 --- a/service/appmesh/api_op_UpdateRoute.go +++ b/service/appmesh/api_op_UpdateRoute.go @@ -140,9 +140,6 @@ func (c *Client) addOperationUpdateRouteMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateRouteMiddleware(stack, options); err != nil { return err } diff --git a/service/appmesh/api_op_UpdateVirtualGateway.go b/service/appmesh/api_op_UpdateVirtualGateway.go index 1f0b1cff0c1..a1f0ecb2ae4 100644 --- a/service/appmesh/api_op_UpdateVirtualGateway.go +++ b/service/appmesh/api_op_UpdateVirtualGateway.go @@ -136,9 +136,6 @@ func (c *Client) addOperationUpdateVirtualGatewayMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateVirtualGatewayMiddleware(stack, options); err != nil { return err } diff --git a/service/appmesh/api_op_UpdateVirtualNode.go b/service/appmesh/api_op_UpdateVirtualNode.go index f7d2016a6f5..6ca214e4b48 100644 --- a/service/appmesh/api_op_UpdateVirtualNode.go +++ b/service/appmesh/api_op_UpdateVirtualNode.go @@ -135,9 +135,6 @@ func (c *Client) addOperationUpdateVirtualNodeMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateVirtualNodeMiddleware(stack, options); err != nil { return err } diff --git a/service/appmesh/api_op_UpdateVirtualRouter.go b/service/appmesh/api_op_UpdateVirtualRouter.go index e1ffb78c1fd..396d12b7e5d 100644 --- a/service/appmesh/api_op_UpdateVirtualRouter.go +++ b/service/appmesh/api_op_UpdateVirtualRouter.go @@ -136,9 +136,6 @@ func (c *Client) addOperationUpdateVirtualRouterMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateVirtualRouterMiddleware(stack, options); err != nil { return err } diff --git a/service/appmesh/api_op_UpdateVirtualService.go b/service/appmesh/api_op_UpdateVirtualService.go index dbc03421513..04b1198b744 100644 --- a/service/appmesh/api_op_UpdateVirtualService.go +++ b/service/appmesh/api_op_UpdateVirtualService.go @@ -136,9 +136,6 @@ func (c *Client) addOperationUpdateVirtualServiceMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateVirtualServiceMiddleware(stack, options); err != nil { return err } diff --git a/service/appmesh/snapshot/api_op_CreateGatewayRoute.go.snap b/service/appmesh/snapshot/api_op_CreateGatewayRoute.go.snap index 8f4084f2fa7..1b40a056196 100644 --- a/service/appmesh/snapshot/api_op_CreateGatewayRoute.go.snap +++ b/service/appmesh/snapshot/api_op_CreateGatewayRoute.go.snap @@ -15,7 +15,6 @@ CreateGatewayRoute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_CreateMesh.go.snap b/service/appmesh/snapshot/api_op_CreateMesh.go.snap index 2637c257172..f902e30b69f 100644 --- a/service/appmesh/snapshot/api_op_CreateMesh.go.snap +++ b/service/appmesh/snapshot/api_op_CreateMesh.go.snap @@ -15,7 +15,6 @@ CreateMesh Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_CreateRoute.go.snap b/service/appmesh/snapshot/api_op_CreateRoute.go.snap index bc3207b6a18..73fc9e4ee12 100644 --- a/service/appmesh/snapshot/api_op_CreateRoute.go.snap +++ b/service/appmesh/snapshot/api_op_CreateRoute.go.snap @@ -15,7 +15,6 @@ CreateRoute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_CreateVirtualGateway.go.snap b/service/appmesh/snapshot/api_op_CreateVirtualGateway.go.snap index 717675c45b0..8390ea2c765 100644 --- a/service/appmesh/snapshot/api_op_CreateVirtualGateway.go.snap +++ b/service/appmesh/snapshot/api_op_CreateVirtualGateway.go.snap @@ -15,7 +15,6 @@ CreateVirtualGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_CreateVirtualNode.go.snap b/service/appmesh/snapshot/api_op_CreateVirtualNode.go.snap index 6b260896720..1e77708b302 100644 --- a/service/appmesh/snapshot/api_op_CreateVirtualNode.go.snap +++ b/service/appmesh/snapshot/api_op_CreateVirtualNode.go.snap @@ -15,7 +15,6 @@ CreateVirtualNode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_CreateVirtualRouter.go.snap b/service/appmesh/snapshot/api_op_CreateVirtualRouter.go.snap index fa627bc8756..2e85500c949 100644 --- a/service/appmesh/snapshot/api_op_CreateVirtualRouter.go.snap +++ b/service/appmesh/snapshot/api_op_CreateVirtualRouter.go.snap @@ -15,7 +15,6 @@ CreateVirtualRouter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_CreateVirtualService.go.snap b/service/appmesh/snapshot/api_op_CreateVirtualService.go.snap index 2bd7be04fd6..c664e1941ee 100644 --- a/service/appmesh/snapshot/api_op_CreateVirtualService.go.snap +++ b/service/appmesh/snapshot/api_op_CreateVirtualService.go.snap @@ -15,7 +15,6 @@ CreateVirtualService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_DeleteGatewayRoute.go.snap b/service/appmesh/snapshot/api_op_DeleteGatewayRoute.go.snap index 60c7e552843..bfc2e4816bb 100644 --- a/service/appmesh/snapshot/api_op_DeleteGatewayRoute.go.snap +++ b/service/appmesh/snapshot/api_op_DeleteGatewayRoute.go.snap @@ -14,7 +14,6 @@ DeleteGatewayRoute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_DeleteMesh.go.snap b/service/appmesh/snapshot/api_op_DeleteMesh.go.snap index c90dc421a70..df2c0d1d9b3 100644 --- a/service/appmesh/snapshot/api_op_DeleteMesh.go.snap +++ b/service/appmesh/snapshot/api_op_DeleteMesh.go.snap @@ -14,7 +14,6 @@ DeleteMesh Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_DeleteRoute.go.snap b/service/appmesh/snapshot/api_op_DeleteRoute.go.snap index ec3f8a11fa2..8d7b1473a8c 100644 --- a/service/appmesh/snapshot/api_op_DeleteRoute.go.snap +++ b/service/appmesh/snapshot/api_op_DeleteRoute.go.snap @@ -14,7 +14,6 @@ DeleteRoute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_DeleteVirtualGateway.go.snap b/service/appmesh/snapshot/api_op_DeleteVirtualGateway.go.snap index 2b10b2cb8c6..96a516b5726 100644 --- a/service/appmesh/snapshot/api_op_DeleteVirtualGateway.go.snap +++ b/service/appmesh/snapshot/api_op_DeleteVirtualGateway.go.snap @@ -14,7 +14,6 @@ DeleteVirtualGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_DeleteVirtualNode.go.snap b/service/appmesh/snapshot/api_op_DeleteVirtualNode.go.snap index e61723e4a99..1f3d000722d 100644 --- a/service/appmesh/snapshot/api_op_DeleteVirtualNode.go.snap +++ b/service/appmesh/snapshot/api_op_DeleteVirtualNode.go.snap @@ -14,7 +14,6 @@ DeleteVirtualNode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_DeleteVirtualRouter.go.snap b/service/appmesh/snapshot/api_op_DeleteVirtualRouter.go.snap index 34f4df88ae4..ba913cec2bf 100644 --- a/service/appmesh/snapshot/api_op_DeleteVirtualRouter.go.snap +++ b/service/appmesh/snapshot/api_op_DeleteVirtualRouter.go.snap @@ -14,7 +14,6 @@ DeleteVirtualRouter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_DeleteVirtualService.go.snap b/service/appmesh/snapshot/api_op_DeleteVirtualService.go.snap index 9cc19a042dc..a9e4cc976c8 100644 --- a/service/appmesh/snapshot/api_op_DeleteVirtualService.go.snap +++ b/service/appmesh/snapshot/api_op_DeleteVirtualService.go.snap @@ -14,7 +14,6 @@ DeleteVirtualService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_DescribeGatewayRoute.go.snap b/service/appmesh/snapshot/api_op_DescribeGatewayRoute.go.snap index 9e33cb479ba..02dc0e6baf6 100644 --- a/service/appmesh/snapshot/api_op_DescribeGatewayRoute.go.snap +++ b/service/appmesh/snapshot/api_op_DescribeGatewayRoute.go.snap @@ -14,7 +14,6 @@ DescribeGatewayRoute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_DescribeMesh.go.snap b/service/appmesh/snapshot/api_op_DescribeMesh.go.snap index 29ac2a2e739..9f7b08a0c87 100644 --- a/service/appmesh/snapshot/api_op_DescribeMesh.go.snap +++ b/service/appmesh/snapshot/api_op_DescribeMesh.go.snap @@ -14,7 +14,6 @@ DescribeMesh Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_DescribeRoute.go.snap b/service/appmesh/snapshot/api_op_DescribeRoute.go.snap index 6fa27f685fa..734e495cb1c 100644 --- a/service/appmesh/snapshot/api_op_DescribeRoute.go.snap +++ b/service/appmesh/snapshot/api_op_DescribeRoute.go.snap @@ -14,7 +14,6 @@ DescribeRoute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_DescribeVirtualGateway.go.snap b/service/appmesh/snapshot/api_op_DescribeVirtualGateway.go.snap index 12889e208f9..783b963f72b 100644 --- a/service/appmesh/snapshot/api_op_DescribeVirtualGateway.go.snap +++ b/service/appmesh/snapshot/api_op_DescribeVirtualGateway.go.snap @@ -14,7 +14,6 @@ DescribeVirtualGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_DescribeVirtualNode.go.snap b/service/appmesh/snapshot/api_op_DescribeVirtualNode.go.snap index 23a234135bd..5737fd5b474 100644 --- a/service/appmesh/snapshot/api_op_DescribeVirtualNode.go.snap +++ b/service/appmesh/snapshot/api_op_DescribeVirtualNode.go.snap @@ -14,7 +14,6 @@ DescribeVirtualNode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_DescribeVirtualRouter.go.snap b/service/appmesh/snapshot/api_op_DescribeVirtualRouter.go.snap index a0fdb848deb..6c4984f55d0 100644 --- a/service/appmesh/snapshot/api_op_DescribeVirtualRouter.go.snap +++ b/service/appmesh/snapshot/api_op_DescribeVirtualRouter.go.snap @@ -14,7 +14,6 @@ DescribeVirtualRouter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_DescribeVirtualService.go.snap b/service/appmesh/snapshot/api_op_DescribeVirtualService.go.snap index 2deddb01e66..718f9c7ee6e 100644 --- a/service/appmesh/snapshot/api_op_DescribeVirtualService.go.snap +++ b/service/appmesh/snapshot/api_op_DescribeVirtualService.go.snap @@ -14,7 +14,6 @@ DescribeVirtualService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_ListGatewayRoutes.go.snap b/service/appmesh/snapshot/api_op_ListGatewayRoutes.go.snap index c0c4ae375c0..4aeefe3a29a 100644 --- a/service/appmesh/snapshot/api_op_ListGatewayRoutes.go.snap +++ b/service/appmesh/snapshot/api_op_ListGatewayRoutes.go.snap @@ -14,7 +14,6 @@ ListGatewayRoutes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_ListMeshes.go.snap b/service/appmesh/snapshot/api_op_ListMeshes.go.snap index 4afc9d927ac..5cc4c5a657b 100644 --- a/service/appmesh/snapshot/api_op_ListMeshes.go.snap +++ b/service/appmesh/snapshot/api_op_ListMeshes.go.snap @@ -13,7 +13,6 @@ ListMeshes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_ListRoutes.go.snap b/service/appmesh/snapshot/api_op_ListRoutes.go.snap index 41759f5ea0e..2aa92dc369c 100644 --- a/service/appmesh/snapshot/api_op_ListRoutes.go.snap +++ b/service/appmesh/snapshot/api_op_ListRoutes.go.snap @@ -14,7 +14,6 @@ ListRoutes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_ListTagsForResource.go.snap b/service/appmesh/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/appmesh/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/appmesh/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_ListVirtualGateways.go.snap b/service/appmesh/snapshot/api_op_ListVirtualGateways.go.snap index 4b159edcb9a..ca97fad60c8 100644 --- a/service/appmesh/snapshot/api_op_ListVirtualGateways.go.snap +++ b/service/appmesh/snapshot/api_op_ListVirtualGateways.go.snap @@ -14,7 +14,6 @@ ListVirtualGateways Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_ListVirtualNodes.go.snap b/service/appmesh/snapshot/api_op_ListVirtualNodes.go.snap index 69a21129634..646513a4c8f 100644 --- a/service/appmesh/snapshot/api_op_ListVirtualNodes.go.snap +++ b/service/appmesh/snapshot/api_op_ListVirtualNodes.go.snap @@ -14,7 +14,6 @@ ListVirtualNodes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_ListVirtualRouters.go.snap b/service/appmesh/snapshot/api_op_ListVirtualRouters.go.snap index 87afa4ff629..f6c3f64294e 100644 --- a/service/appmesh/snapshot/api_op_ListVirtualRouters.go.snap +++ b/service/appmesh/snapshot/api_op_ListVirtualRouters.go.snap @@ -14,7 +14,6 @@ ListVirtualRouters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_ListVirtualServices.go.snap b/service/appmesh/snapshot/api_op_ListVirtualServices.go.snap index 15821b874a1..e69396eac18 100644 --- a/service/appmesh/snapshot/api_op_ListVirtualServices.go.snap +++ b/service/appmesh/snapshot/api_op_ListVirtualServices.go.snap @@ -14,7 +14,6 @@ ListVirtualServices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_TagResource.go.snap b/service/appmesh/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/appmesh/snapshot/api_op_TagResource.go.snap +++ b/service/appmesh/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_UntagResource.go.snap b/service/appmesh/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/appmesh/snapshot/api_op_UntagResource.go.snap +++ b/service/appmesh/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_UpdateGatewayRoute.go.snap b/service/appmesh/snapshot/api_op_UpdateGatewayRoute.go.snap index 741d92cb781..c84c67bba8b 100644 --- a/service/appmesh/snapshot/api_op_UpdateGatewayRoute.go.snap +++ b/service/appmesh/snapshot/api_op_UpdateGatewayRoute.go.snap @@ -15,7 +15,6 @@ UpdateGatewayRoute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_UpdateMesh.go.snap b/service/appmesh/snapshot/api_op_UpdateMesh.go.snap index 5d44520b16a..f0499e39870 100644 --- a/service/appmesh/snapshot/api_op_UpdateMesh.go.snap +++ b/service/appmesh/snapshot/api_op_UpdateMesh.go.snap @@ -15,7 +15,6 @@ UpdateMesh Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_UpdateRoute.go.snap b/service/appmesh/snapshot/api_op_UpdateRoute.go.snap index 09b702018be..876b2e71ffb 100644 --- a/service/appmesh/snapshot/api_op_UpdateRoute.go.snap +++ b/service/appmesh/snapshot/api_op_UpdateRoute.go.snap @@ -15,7 +15,6 @@ UpdateRoute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_UpdateVirtualGateway.go.snap b/service/appmesh/snapshot/api_op_UpdateVirtualGateway.go.snap index e5d69611f83..8190440b780 100644 --- a/service/appmesh/snapshot/api_op_UpdateVirtualGateway.go.snap +++ b/service/appmesh/snapshot/api_op_UpdateVirtualGateway.go.snap @@ -15,7 +15,6 @@ UpdateVirtualGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_UpdateVirtualNode.go.snap b/service/appmesh/snapshot/api_op_UpdateVirtualNode.go.snap index fa95ce85668..ccea433605c 100644 --- a/service/appmesh/snapshot/api_op_UpdateVirtualNode.go.snap +++ b/service/appmesh/snapshot/api_op_UpdateVirtualNode.go.snap @@ -15,7 +15,6 @@ UpdateVirtualNode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_UpdateVirtualRouter.go.snap b/service/appmesh/snapshot/api_op_UpdateVirtualRouter.go.snap index 5ef81dfec60..75d0a9b603b 100644 --- a/service/appmesh/snapshot/api_op_UpdateVirtualRouter.go.snap +++ b/service/appmesh/snapshot/api_op_UpdateVirtualRouter.go.snap @@ -15,7 +15,6 @@ UpdateVirtualRouter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appmesh/snapshot/api_op_UpdateVirtualService.go.snap b/service/appmesh/snapshot/api_op_UpdateVirtualService.go.snap index 617d0ec7736..afdd58759dc 100644 --- a/service/appmesh/snapshot/api_op_UpdateVirtualService.go.snap +++ b/service/appmesh/snapshot/api_op_UpdateVirtualService.go.snap @@ -15,7 +15,6 @@ UpdateVirtualService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/api_client.go b/service/apprunner/api_client.go index 077dce20235..620058655ee 100644 --- a/service/apprunner/api_client.go +++ b/service/apprunner/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/apprunner/api_op_AssociateCustomDomain.go b/service/apprunner/api_op_AssociateCustomDomain.go index 0907171a916..c704702b214 100644 --- a/service/apprunner/api_op_AssociateCustomDomain.go +++ b/service/apprunner/api_op_AssociateCustomDomain.go @@ -155,9 +155,6 @@ func (c *Client) addOperationAssociateCustomDomainMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateCustomDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_CreateAutoScalingConfiguration.go b/service/apprunner/api_op_CreateAutoScalingConfiguration.go index a7100e8d595..8d4dc829c1c 100644 --- a/service/apprunner/api_op_CreateAutoScalingConfiguration.go +++ b/service/apprunner/api_op_CreateAutoScalingConfiguration.go @@ -185,9 +185,6 @@ func (c *Client) addOperationCreateAutoScalingConfigurationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAutoScalingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_CreateConnection.go b/service/apprunner/api_op_CreateConnection.go index e06139752bd..4502b005248 100644 --- a/service/apprunner/api_op_CreateConnection.go +++ b/service/apprunner/api_op_CreateConnection.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateConnectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_CreateObservabilityConfiguration.go b/service/apprunner/api_op_CreateObservabilityConfiguration.go index 34cc6378f8c..6157e419592 100644 --- a/service/apprunner/api_op_CreateObservabilityConfiguration.go +++ b/service/apprunner/api_op_CreateObservabilityConfiguration.go @@ -149,9 +149,6 @@ func (c *Client) addOperationCreateObservabilityConfigurationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateObservabilityConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_CreateService.go b/service/apprunner/api_op_CreateService.go index b33b5e07b96..4e613dd1bcf 100644 --- a/service/apprunner/api_op_CreateService.go +++ b/service/apprunner/api_op_CreateService.go @@ -171,9 +171,6 @@ func (c *Client) addOperationCreateServiceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateServiceValidationMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_CreateVpcConnector.go b/service/apprunner/api_op_CreateVpcConnector.go index b26eed6bbd7..e958da9d016 100644 --- a/service/apprunner/api_op_CreateVpcConnector.go +++ b/service/apprunner/api_op_CreateVpcConnector.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateVpcConnectorMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVpcConnectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_CreateVpcIngressConnection.go b/service/apprunner/api_op_CreateVpcIngressConnection.go index e0aa2ddc582..0f53913465e 100644 --- a/service/apprunner/api_op_CreateVpcIngressConnection.go +++ b/service/apprunner/api_op_CreateVpcIngressConnection.go @@ -136,9 +136,6 @@ func (c *Client) addOperationCreateVpcIngressConnectionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVpcIngressConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_DeleteAutoScalingConfiguration.go b/service/apprunner/api_op_DeleteAutoScalingConfiguration.go index 79d2e0dd9a8..5ec7d1a1c41 100644 --- a/service/apprunner/api_op_DeleteAutoScalingConfiguration.go +++ b/service/apprunner/api_op_DeleteAutoScalingConfiguration.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDeleteAutoScalingConfigurationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAutoScalingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_DeleteConnection.go b/service/apprunner/api_op_DeleteConnection.go index 40c6513314f..54c734cd592 100644 --- a/service/apprunner/api_op_DeleteConnection.go +++ b/service/apprunner/api_op_DeleteConnection.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteConnectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_DeleteObservabilityConfiguration.go b/service/apprunner/api_op_DeleteObservabilityConfiguration.go index cf92efedcc1..fc717235507 100644 --- a/service/apprunner/api_op_DeleteObservabilityConfiguration.go +++ b/service/apprunner/api_op_DeleteObservabilityConfiguration.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteObservabilityConfigurationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteObservabilityConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_DeleteService.go b/service/apprunner/api_op_DeleteService.go index d03019f7093..2751ba87c34 100644 --- a/service/apprunner/api_op_DeleteService.go +++ b/service/apprunner/api_op_DeleteService.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDeleteServiceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteServiceValidationMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_DeleteVpcConnector.go b/service/apprunner/api_op_DeleteVpcConnector.go index 6e301bf04ce..2cc2f2bb3d9 100644 --- a/service/apprunner/api_op_DeleteVpcConnector.go +++ b/service/apprunner/api_op_DeleteVpcConnector.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteVpcConnectorMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVpcConnectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_DeleteVpcIngressConnection.go b/service/apprunner/api_op_DeleteVpcIngressConnection.go index 7cece1315f8..158a2e6c5a9 100644 --- a/service/apprunner/api_op_DeleteVpcIngressConnection.go +++ b/service/apprunner/api_op_DeleteVpcIngressConnection.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDeleteVpcIngressConnectionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVpcIngressConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_DescribeAutoScalingConfiguration.go b/service/apprunner/api_op_DescribeAutoScalingConfiguration.go index b6dd419ad19..30bd17a363d 100644 --- a/service/apprunner/api_op_DescribeAutoScalingConfiguration.go +++ b/service/apprunner/api_op_DescribeAutoScalingConfiguration.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeAutoScalingConfigurationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAutoScalingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_DescribeCustomDomains.go b/service/apprunner/api_op_DescribeCustomDomains.go index 3472f741348..ccbc8079c55 100644 --- a/service/apprunner/api_op_DescribeCustomDomains.go +++ b/service/apprunner/api_op_DescribeCustomDomains.go @@ -153,9 +153,6 @@ func (c *Client) addOperationDescribeCustomDomainsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCustomDomainsValidationMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_DescribeObservabilityConfiguration.go b/service/apprunner/api_op_DescribeObservabilityConfiguration.go index 80fd19f221a..2eb7907a3ac 100644 --- a/service/apprunner/api_op_DescribeObservabilityConfiguration.go +++ b/service/apprunner/api_op_DescribeObservabilityConfiguration.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDescribeObservabilityConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeObservabilityConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_DescribeService.go b/service/apprunner/api_op_DescribeService.go index b9a1ed2fd66..d62e7ae512d 100644 --- a/service/apprunner/api_op_DescribeService.go +++ b/service/apprunner/api_op_DescribeService.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDescribeServiceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeServiceValidationMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_DescribeVpcConnector.go b/service/apprunner/api_op_DescribeVpcConnector.go index 44617807ca1..20b64cc8584 100644 --- a/service/apprunner/api_op_DescribeVpcConnector.go +++ b/service/apprunner/api_op_DescribeVpcConnector.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDescribeVpcConnectorMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeVpcConnectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_DescribeVpcIngressConnection.go b/service/apprunner/api_op_DescribeVpcIngressConnection.go index cdbafc29189..9034ffd7e76 100644 --- a/service/apprunner/api_op_DescribeVpcIngressConnection.go +++ b/service/apprunner/api_op_DescribeVpcIngressConnection.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDescribeVpcIngressConnectionMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeVpcIngressConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_DisassociateCustomDomain.go b/service/apprunner/api_op_DisassociateCustomDomain.go index d9a76730e82..5d68b0df39e 100644 --- a/service/apprunner/api_op_DisassociateCustomDomain.go +++ b/service/apprunner/api_op_DisassociateCustomDomain.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDisassociateCustomDomainMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateCustomDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_ListAutoScalingConfigurations.go b/service/apprunner/api_op_ListAutoScalingConfigurations.go index 35ee9040e5e..05308358c12 100644 --- a/service/apprunner/api_op_ListAutoScalingConfigurations.go +++ b/service/apprunner/api_op_ListAutoScalingConfigurations.go @@ -148,9 +148,6 @@ func (c *Client) addOperationListAutoScalingConfigurationsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAutoScalingConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/apprunner/api_op_ListConnections.go b/service/apprunner/api_op_ListConnections.go index a30f18f5a85..62e202bd59b 100644 --- a/service/apprunner/api_op_ListConnections.go +++ b/service/apprunner/api_op_ListConnections.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListConnectionsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConnections(options.Region), middleware.Before); err != nil { return err } diff --git a/service/apprunner/api_op_ListObservabilityConfigurations.go b/service/apprunner/api_op_ListObservabilityConfigurations.go index c69949e4668..207d56405e3 100644 --- a/service/apprunner/api_op_ListObservabilityConfigurations.go +++ b/service/apprunner/api_op_ListObservabilityConfigurations.go @@ -147,9 +147,6 @@ func (c *Client) addOperationListObservabilityConfigurationsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListObservabilityConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/apprunner/api_op_ListOperations.go b/service/apprunner/api_op_ListOperations.go index e9ec14ac9a7..6d3251ba145 100644 --- a/service/apprunner/api_op_ListOperations.go +++ b/service/apprunner/api_op_ListOperations.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListOperationsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListOperationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_ListServices.go b/service/apprunner/api_op_ListServices.go index 4a801451b82..b687c05cc6a 100644 --- a/service/apprunner/api_op_ListServices.go +++ b/service/apprunner/api_op_ListServices.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListServicesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServices(options.Region), middleware.Before); err != nil { return err } diff --git a/service/apprunner/api_op_ListServicesForAutoScalingConfiguration.go b/service/apprunner/api_op_ListServicesForAutoScalingConfiguration.go index 4955d81ae13..0aeec891e1c 100644 --- a/service/apprunner/api_op_ListServicesForAutoScalingConfiguration.go +++ b/service/apprunner/api_op_ListServicesForAutoScalingConfiguration.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListServicesForAutoScalingConfigurationMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListServicesForAutoScalingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_ListTagsForResource.go b/service/apprunner/api_op_ListTagsForResource.go index e8f96404e8f..7ed1d0b7fc2 100644 --- a/service/apprunner/api_op_ListTagsForResource.go +++ b/service/apprunner/api_op_ListTagsForResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_ListVpcConnectors.go b/service/apprunner/api_op_ListVpcConnectors.go index 8a64c3197ff..c99ed59b0ee 100644 --- a/service/apprunner/api_op_ListVpcConnectors.go +++ b/service/apprunner/api_op_ListVpcConnectors.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListVpcConnectorsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVpcConnectors(options.Region), middleware.Before); err != nil { return err } diff --git a/service/apprunner/api_op_ListVpcIngressConnections.go b/service/apprunner/api_op_ListVpcIngressConnections.go index cf258332541..0447e96c3cd 100644 --- a/service/apprunner/api_op_ListVpcIngressConnections.go +++ b/service/apprunner/api_op_ListVpcIngressConnections.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListVpcIngressConnectionsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVpcIngressConnections(options.Region), middleware.Before); err != nil { return err } diff --git a/service/apprunner/api_op_PauseService.go b/service/apprunner/api_op_PauseService.go index 7f7268a2c0a..b3e1cfc5bb6 100644 --- a/service/apprunner/api_op_PauseService.go +++ b/service/apprunner/api_op_PauseService.go @@ -122,9 +122,6 @@ func (c *Client) addOperationPauseServiceMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPauseServiceValidationMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_ResumeService.go b/service/apprunner/api_op_ResumeService.go index 82d2a2fe491..d047f8273df 100644 --- a/service/apprunner/api_op_ResumeService.go +++ b/service/apprunner/api_op_ResumeService.go @@ -123,9 +123,6 @@ func (c *Client) addOperationResumeServiceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResumeServiceValidationMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_StartDeployment.go b/service/apprunner/api_op_StartDeployment.go index cf31b5966a7..0cde14bd4f0 100644 --- a/service/apprunner/api_op_StartDeployment.go +++ b/service/apprunner/api_op_StartDeployment.go @@ -124,9 +124,6 @@ func (c *Client) addOperationStartDeploymentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_TagResource.go b/service/apprunner/api_op_TagResource.go index 9a67f786c5a..2f8e79e1d26 100644 --- a/service/apprunner/api_op_TagResource.go +++ b/service/apprunner/api_op_TagResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_UntagResource.go b/service/apprunner/api_op_UntagResource.go index 2504a56868e..17b9be76581 100644 --- a/service/apprunner/api_op_UntagResource.go +++ b/service/apprunner/api_op_UntagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_UpdateDefaultAutoScalingConfiguration.go b/service/apprunner/api_op_UpdateDefaultAutoScalingConfiguration.go index 088adb77c05..a52f93c778f 100644 --- a/service/apprunner/api_op_UpdateDefaultAutoScalingConfiguration.go +++ b/service/apprunner/api_op_UpdateDefaultAutoScalingConfiguration.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateDefaultAutoScalingConfigurationMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDefaultAutoScalingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_UpdateService.go b/service/apprunner/api_op_UpdateService.go index 970c1c660ab..ff4b4fe22cf 100644 --- a/service/apprunner/api_op_UpdateService.go +++ b/service/apprunner/api_op_UpdateService.go @@ -161,9 +161,6 @@ func (c *Client) addOperationUpdateServiceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateServiceValidationMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/api_op_UpdateVpcIngressConnection.go b/service/apprunner/api_op_UpdateVpcIngressConnection.go index 6f8d1a53552..e55223be3f0 100644 --- a/service/apprunner/api_op_UpdateVpcIngressConnection.go +++ b/service/apprunner/api_op_UpdateVpcIngressConnection.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateVpcIngressConnectionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateVpcIngressConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/apprunner/snapshot/api_op_AssociateCustomDomain.go.snap b/service/apprunner/snapshot/api_op_AssociateCustomDomain.go.snap index 2265edea2f6..b64539bce40 100644 --- a/service/apprunner/snapshot/api_op_AssociateCustomDomain.go.snap +++ b/service/apprunner/snapshot/api_op_AssociateCustomDomain.go.snap @@ -14,7 +14,6 @@ AssociateCustomDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_CreateAutoScalingConfiguration.go.snap b/service/apprunner/snapshot/api_op_CreateAutoScalingConfiguration.go.snap index 0b4576c4c32..c49bb78ffd3 100644 --- a/service/apprunner/snapshot/api_op_CreateAutoScalingConfiguration.go.snap +++ b/service/apprunner/snapshot/api_op_CreateAutoScalingConfiguration.go.snap @@ -14,7 +14,6 @@ CreateAutoScalingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_CreateConnection.go.snap b/service/apprunner/snapshot/api_op_CreateConnection.go.snap index 2925a097d86..744b4a055f4 100644 --- a/service/apprunner/snapshot/api_op_CreateConnection.go.snap +++ b/service/apprunner/snapshot/api_op_CreateConnection.go.snap @@ -14,7 +14,6 @@ CreateConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_CreateObservabilityConfiguration.go.snap b/service/apprunner/snapshot/api_op_CreateObservabilityConfiguration.go.snap index 1dcd8a7a01e..d931ff1ccec 100644 --- a/service/apprunner/snapshot/api_op_CreateObservabilityConfiguration.go.snap +++ b/service/apprunner/snapshot/api_op_CreateObservabilityConfiguration.go.snap @@ -14,7 +14,6 @@ CreateObservabilityConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_CreateService.go.snap b/service/apprunner/snapshot/api_op_CreateService.go.snap index 5255cb082a9..538fa6b4f3b 100644 --- a/service/apprunner/snapshot/api_op_CreateService.go.snap +++ b/service/apprunner/snapshot/api_op_CreateService.go.snap @@ -14,7 +14,6 @@ CreateService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_CreateVpcConnector.go.snap b/service/apprunner/snapshot/api_op_CreateVpcConnector.go.snap index 6442af441ba..6fb154084be 100644 --- a/service/apprunner/snapshot/api_op_CreateVpcConnector.go.snap +++ b/service/apprunner/snapshot/api_op_CreateVpcConnector.go.snap @@ -14,7 +14,6 @@ CreateVpcConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_CreateVpcIngressConnection.go.snap b/service/apprunner/snapshot/api_op_CreateVpcIngressConnection.go.snap index ee579107872..3558659d3d8 100644 --- a/service/apprunner/snapshot/api_op_CreateVpcIngressConnection.go.snap +++ b/service/apprunner/snapshot/api_op_CreateVpcIngressConnection.go.snap @@ -14,7 +14,6 @@ CreateVpcIngressConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_DeleteAutoScalingConfiguration.go.snap b/service/apprunner/snapshot/api_op_DeleteAutoScalingConfiguration.go.snap index 9e31e9b5705..075344f8daa 100644 --- a/service/apprunner/snapshot/api_op_DeleteAutoScalingConfiguration.go.snap +++ b/service/apprunner/snapshot/api_op_DeleteAutoScalingConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteAutoScalingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_DeleteConnection.go.snap b/service/apprunner/snapshot/api_op_DeleteConnection.go.snap index 95b646dafd7..a9cca584913 100644 --- a/service/apprunner/snapshot/api_op_DeleteConnection.go.snap +++ b/service/apprunner/snapshot/api_op_DeleteConnection.go.snap @@ -14,7 +14,6 @@ DeleteConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_DeleteObservabilityConfiguration.go.snap b/service/apprunner/snapshot/api_op_DeleteObservabilityConfiguration.go.snap index 630cf9fe95c..d5d3e88a2c8 100644 --- a/service/apprunner/snapshot/api_op_DeleteObservabilityConfiguration.go.snap +++ b/service/apprunner/snapshot/api_op_DeleteObservabilityConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteObservabilityConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_DeleteService.go.snap b/service/apprunner/snapshot/api_op_DeleteService.go.snap index 0ca8d33ca7c..b57f6142373 100644 --- a/service/apprunner/snapshot/api_op_DeleteService.go.snap +++ b/service/apprunner/snapshot/api_op_DeleteService.go.snap @@ -14,7 +14,6 @@ DeleteService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_DeleteVpcConnector.go.snap b/service/apprunner/snapshot/api_op_DeleteVpcConnector.go.snap index 1b994af861b..bd7d490d39c 100644 --- a/service/apprunner/snapshot/api_op_DeleteVpcConnector.go.snap +++ b/service/apprunner/snapshot/api_op_DeleteVpcConnector.go.snap @@ -14,7 +14,6 @@ DeleteVpcConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_DeleteVpcIngressConnection.go.snap b/service/apprunner/snapshot/api_op_DeleteVpcIngressConnection.go.snap index b373f60c2fb..8117d1999eb 100644 --- a/service/apprunner/snapshot/api_op_DeleteVpcIngressConnection.go.snap +++ b/service/apprunner/snapshot/api_op_DeleteVpcIngressConnection.go.snap @@ -14,7 +14,6 @@ DeleteVpcIngressConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_DescribeAutoScalingConfiguration.go.snap b/service/apprunner/snapshot/api_op_DescribeAutoScalingConfiguration.go.snap index 504f88022da..dc854672c00 100644 --- a/service/apprunner/snapshot/api_op_DescribeAutoScalingConfiguration.go.snap +++ b/service/apprunner/snapshot/api_op_DescribeAutoScalingConfiguration.go.snap @@ -14,7 +14,6 @@ DescribeAutoScalingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_DescribeCustomDomains.go.snap b/service/apprunner/snapshot/api_op_DescribeCustomDomains.go.snap index c40ceadc7eb..049299690d7 100644 --- a/service/apprunner/snapshot/api_op_DescribeCustomDomains.go.snap +++ b/service/apprunner/snapshot/api_op_DescribeCustomDomains.go.snap @@ -14,7 +14,6 @@ DescribeCustomDomains Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_DescribeObservabilityConfiguration.go.snap b/service/apprunner/snapshot/api_op_DescribeObservabilityConfiguration.go.snap index ad4afee901c..6183957441b 100644 --- a/service/apprunner/snapshot/api_op_DescribeObservabilityConfiguration.go.snap +++ b/service/apprunner/snapshot/api_op_DescribeObservabilityConfiguration.go.snap @@ -14,7 +14,6 @@ DescribeObservabilityConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_DescribeService.go.snap b/service/apprunner/snapshot/api_op_DescribeService.go.snap index 0a82e24093d..f0c216e0e2c 100644 --- a/service/apprunner/snapshot/api_op_DescribeService.go.snap +++ b/service/apprunner/snapshot/api_op_DescribeService.go.snap @@ -14,7 +14,6 @@ DescribeService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_DescribeVpcConnector.go.snap b/service/apprunner/snapshot/api_op_DescribeVpcConnector.go.snap index 794fd68a1e8..f4b2d462a66 100644 --- a/service/apprunner/snapshot/api_op_DescribeVpcConnector.go.snap +++ b/service/apprunner/snapshot/api_op_DescribeVpcConnector.go.snap @@ -14,7 +14,6 @@ DescribeVpcConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_DescribeVpcIngressConnection.go.snap b/service/apprunner/snapshot/api_op_DescribeVpcIngressConnection.go.snap index 5eaf3feaec4..4e33b38606b 100644 --- a/service/apprunner/snapshot/api_op_DescribeVpcIngressConnection.go.snap +++ b/service/apprunner/snapshot/api_op_DescribeVpcIngressConnection.go.snap @@ -14,7 +14,6 @@ DescribeVpcIngressConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_DisassociateCustomDomain.go.snap b/service/apprunner/snapshot/api_op_DisassociateCustomDomain.go.snap index e5541a1de1d..26cd38acfc3 100644 --- a/service/apprunner/snapshot/api_op_DisassociateCustomDomain.go.snap +++ b/service/apprunner/snapshot/api_op_DisassociateCustomDomain.go.snap @@ -14,7 +14,6 @@ DisassociateCustomDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_ListAutoScalingConfigurations.go.snap b/service/apprunner/snapshot/api_op_ListAutoScalingConfigurations.go.snap index df30c102c34..17ae26f715b 100644 --- a/service/apprunner/snapshot/api_op_ListAutoScalingConfigurations.go.snap +++ b/service/apprunner/snapshot/api_op_ListAutoScalingConfigurations.go.snap @@ -13,7 +13,6 @@ ListAutoScalingConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_ListConnections.go.snap b/service/apprunner/snapshot/api_op_ListConnections.go.snap index 6701dc960d7..3a6172bafc5 100644 --- a/service/apprunner/snapshot/api_op_ListConnections.go.snap +++ b/service/apprunner/snapshot/api_op_ListConnections.go.snap @@ -13,7 +13,6 @@ ListConnections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_ListObservabilityConfigurations.go.snap b/service/apprunner/snapshot/api_op_ListObservabilityConfigurations.go.snap index 45f15dac63c..dddc8bc4d5f 100644 --- a/service/apprunner/snapshot/api_op_ListObservabilityConfigurations.go.snap +++ b/service/apprunner/snapshot/api_op_ListObservabilityConfigurations.go.snap @@ -13,7 +13,6 @@ ListObservabilityConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_ListOperations.go.snap b/service/apprunner/snapshot/api_op_ListOperations.go.snap index c18016b563d..8c5c7bc2f08 100644 --- a/service/apprunner/snapshot/api_op_ListOperations.go.snap +++ b/service/apprunner/snapshot/api_op_ListOperations.go.snap @@ -14,7 +14,6 @@ ListOperations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_ListServices.go.snap b/service/apprunner/snapshot/api_op_ListServices.go.snap index 6f09c01d3f4..3cc1a93f1f2 100644 --- a/service/apprunner/snapshot/api_op_ListServices.go.snap +++ b/service/apprunner/snapshot/api_op_ListServices.go.snap @@ -13,7 +13,6 @@ ListServices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_ListServicesForAutoScalingConfiguration.go.snap b/service/apprunner/snapshot/api_op_ListServicesForAutoScalingConfiguration.go.snap index ac6b81d9d01..c970f48ab76 100644 --- a/service/apprunner/snapshot/api_op_ListServicesForAutoScalingConfiguration.go.snap +++ b/service/apprunner/snapshot/api_op_ListServicesForAutoScalingConfiguration.go.snap @@ -14,7 +14,6 @@ ListServicesForAutoScalingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_ListTagsForResource.go.snap b/service/apprunner/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/apprunner/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/apprunner/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_ListVpcConnectors.go.snap b/service/apprunner/snapshot/api_op_ListVpcConnectors.go.snap index 21b375929b3..75f063df030 100644 --- a/service/apprunner/snapshot/api_op_ListVpcConnectors.go.snap +++ b/service/apprunner/snapshot/api_op_ListVpcConnectors.go.snap @@ -13,7 +13,6 @@ ListVpcConnectors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_ListVpcIngressConnections.go.snap b/service/apprunner/snapshot/api_op_ListVpcIngressConnections.go.snap index 7a2cfcf6a78..820e9a7a99d 100644 --- a/service/apprunner/snapshot/api_op_ListVpcIngressConnections.go.snap +++ b/service/apprunner/snapshot/api_op_ListVpcIngressConnections.go.snap @@ -13,7 +13,6 @@ ListVpcIngressConnections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_PauseService.go.snap b/service/apprunner/snapshot/api_op_PauseService.go.snap index 1c8fa8789ee..5a2fdb06319 100644 --- a/service/apprunner/snapshot/api_op_PauseService.go.snap +++ b/service/apprunner/snapshot/api_op_PauseService.go.snap @@ -14,7 +14,6 @@ PauseService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_ResumeService.go.snap b/service/apprunner/snapshot/api_op_ResumeService.go.snap index b6676bb6fed..db4097a1637 100644 --- a/service/apprunner/snapshot/api_op_ResumeService.go.snap +++ b/service/apprunner/snapshot/api_op_ResumeService.go.snap @@ -14,7 +14,6 @@ ResumeService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_StartDeployment.go.snap b/service/apprunner/snapshot/api_op_StartDeployment.go.snap index 5a324e37800..e10cf6b2ea8 100644 --- a/service/apprunner/snapshot/api_op_StartDeployment.go.snap +++ b/service/apprunner/snapshot/api_op_StartDeployment.go.snap @@ -14,7 +14,6 @@ StartDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_TagResource.go.snap b/service/apprunner/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/apprunner/snapshot/api_op_TagResource.go.snap +++ b/service/apprunner/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_UntagResource.go.snap b/service/apprunner/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/apprunner/snapshot/api_op_UntagResource.go.snap +++ b/service/apprunner/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_UpdateDefaultAutoScalingConfiguration.go.snap b/service/apprunner/snapshot/api_op_UpdateDefaultAutoScalingConfiguration.go.snap index 3f7347e6695..f8b2d8423fa 100644 --- a/service/apprunner/snapshot/api_op_UpdateDefaultAutoScalingConfiguration.go.snap +++ b/service/apprunner/snapshot/api_op_UpdateDefaultAutoScalingConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateDefaultAutoScalingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_UpdateService.go.snap b/service/apprunner/snapshot/api_op_UpdateService.go.snap index 813a9e72802..bf0abbe4b1a 100644 --- a/service/apprunner/snapshot/api_op_UpdateService.go.snap +++ b/service/apprunner/snapshot/api_op_UpdateService.go.snap @@ -14,7 +14,6 @@ UpdateService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apprunner/snapshot/api_op_UpdateVpcIngressConnection.go.snap b/service/apprunner/snapshot/api_op_UpdateVpcIngressConnection.go.snap index aa5c241a944..6f233ea2436 100644 --- a/service/apprunner/snapshot/api_op_UpdateVpcIngressConnection.go.snap +++ b/service/apprunner/snapshot/api_op_UpdateVpcIngressConnection.go.snap @@ -14,7 +14,6 @@ UpdateVpcIngressConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/api_client.go b/service/appstream/api_client.go index a522dd669da..25d4ad48ed9 100644 --- a/service/appstream/api_client.go +++ b/service/appstream/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/appstream/api_op_AssociateAppBlockBuilderAppBlock.go b/service/appstream/api_op_AssociateAppBlockBuilderAppBlock.go index 0c269f6862f..7e74ad7f4cd 100644 --- a/service/appstream/api_op_AssociateAppBlockBuilderAppBlock.go +++ b/service/appstream/api_op_AssociateAppBlockBuilderAppBlock.go @@ -117,9 +117,6 @@ func (c *Client) addOperationAssociateAppBlockBuilderAppBlockMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateAppBlockBuilderAppBlockValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_AssociateApplicationFleet.go b/service/appstream/api_op_AssociateApplicationFleet.go index cf7851cf9bf..a44b8a42782 100644 --- a/service/appstream/api_op_AssociateApplicationFleet.go +++ b/service/appstream/api_op_AssociateApplicationFleet.go @@ -120,9 +120,6 @@ func (c *Client) addOperationAssociateApplicationFleetMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateApplicationFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_AssociateApplicationToEntitlement.go b/service/appstream/api_op_AssociateApplicationToEntitlement.go index 756aaa03205..83325a69f24 100644 --- a/service/appstream/api_op_AssociateApplicationToEntitlement.go +++ b/service/appstream/api_op_AssociateApplicationToEntitlement.go @@ -117,9 +117,6 @@ func (c *Client) addOperationAssociateApplicationToEntitlementMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateApplicationToEntitlementValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_AssociateFleet.go b/service/appstream/api_op_AssociateFleet.go index 44af16c3aae..f2e87f14b23 100644 --- a/service/appstream/api_op_AssociateFleet.go +++ b/service/appstream/api_op_AssociateFleet.go @@ -112,9 +112,6 @@ func (c *Client) addOperationAssociateFleetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_BatchAssociateUserStack.go b/service/appstream/api_op_BatchAssociateUserStack.go index 9bdb26c638e..8d974c50f65 100644 --- a/service/appstream/api_op_BatchAssociateUserStack.go +++ b/service/appstream/api_op_BatchAssociateUserStack.go @@ -114,9 +114,6 @@ func (c *Client) addOperationBatchAssociateUserStackMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchAssociateUserStackValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_BatchDisassociateUserStack.go b/service/appstream/api_op_BatchDisassociateUserStack.go index d2f49da747c..98296ef30fa 100644 --- a/service/appstream/api_op_BatchDisassociateUserStack.go +++ b/service/appstream/api_op_BatchDisassociateUserStack.go @@ -112,9 +112,6 @@ func (c *Client) addOperationBatchDisassociateUserStackMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDisassociateUserStackValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_CopyImage.go b/service/appstream/api_op_CopyImage.go index 57a8a669d49..b67b898460a 100644 --- a/service/appstream/api_op_CopyImage.go +++ b/service/appstream/api_op_CopyImage.go @@ -126,9 +126,6 @@ func (c *Client) addOperationCopyImageMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCopyImageValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_CreateAppBlock.go b/service/appstream/api_op_CreateAppBlock.go index d6cef5e7cd0..710c381181b 100644 --- a/service/appstream/api_op_CreateAppBlock.go +++ b/service/appstream/api_op_CreateAppBlock.go @@ -145,9 +145,6 @@ func (c *Client) addOperationCreateAppBlockMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAppBlockValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_CreateAppBlockBuilder.go b/service/appstream/api_op_CreateAppBlockBuilder.go index bf853ebcc92..2ff021777c9 100644 --- a/service/appstream/api_op_CreateAppBlockBuilder.go +++ b/service/appstream/api_op_CreateAppBlockBuilder.go @@ -184,9 +184,6 @@ func (c *Client) addOperationCreateAppBlockBuilderMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAppBlockBuilderValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_CreateAppBlockBuilderStreamingURL.go b/service/appstream/api_op_CreateAppBlockBuilderStreamingURL.go index ba91e27ec3c..b6dc68b4a6f 100644 --- a/service/appstream/api_op_CreateAppBlockBuilderStreamingURL.go +++ b/service/appstream/api_op_CreateAppBlockBuilderStreamingURL.go @@ -119,9 +119,6 @@ func (c *Client) addOperationCreateAppBlockBuilderStreamingURLMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAppBlockBuilderStreamingURLValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_CreateApplication.go b/service/appstream/api_op_CreateApplication.go index be7c0a92f17..7526520a206 100644 --- a/service/appstream/api_op_CreateApplication.go +++ b/service/appstream/api_op_CreateApplication.go @@ -165,9 +165,6 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_CreateDirectoryConfig.go b/service/appstream/api_op_CreateDirectoryConfig.go index 71e9d0046ee..ab91d22ec85 100644 --- a/service/appstream/api_op_CreateDirectoryConfig.go +++ b/service/appstream/api_op_CreateDirectoryConfig.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCreateDirectoryConfigMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDirectoryConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_CreateEntitlement.go b/service/appstream/api_op_CreateEntitlement.go index 0cf75e6bd0a..84f9812e821 100644 --- a/service/appstream/api_op_CreateEntitlement.go +++ b/service/appstream/api_op_CreateEntitlement.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateEntitlementMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEntitlementValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_CreateFleet.go b/service/appstream/api_op_CreateFleet.go index 45a7583524b..c3a878fd400 100644 --- a/service/appstream/api_op_CreateFleet.go +++ b/service/appstream/api_op_CreateFleet.go @@ -351,9 +351,6 @@ func (c *Client) addOperationCreateFleetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_CreateImageBuilder.go b/service/appstream/api_op_CreateImageBuilder.go index 423a43551d5..fdb28deff94 100644 --- a/service/appstream/api_op_CreateImageBuilder.go +++ b/service/appstream/api_op_CreateImageBuilder.go @@ -247,9 +247,6 @@ func (c *Client) addOperationCreateImageBuilderMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateImageBuilderValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_CreateImageBuilderStreamingURL.go b/service/appstream/api_op_CreateImageBuilderStreamingURL.go index 9ff06650e90..326c29526bb 100644 --- a/service/appstream/api_op_CreateImageBuilderStreamingURL.go +++ b/service/appstream/api_op_CreateImageBuilderStreamingURL.go @@ -119,9 +119,6 @@ func (c *Client) addOperationCreateImageBuilderStreamingURLMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateImageBuilderStreamingURLValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_CreateStack.go b/service/appstream/api_op_CreateStack.go index 6ce28bdf765..f442153f5a4 100644 --- a/service/appstream/api_op_CreateStack.go +++ b/service/appstream/api_op_CreateStack.go @@ -168,9 +168,6 @@ func (c *Client) addOperationCreateStackMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateStackValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_CreateStreamingURL.go b/service/appstream/api_op_CreateStreamingURL.go index 069010837d1..6be470e67e5 100644 --- a/service/appstream/api_op_CreateStreamingURL.go +++ b/service/appstream/api_op_CreateStreamingURL.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCreateStreamingURLMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateStreamingURLValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_CreateThemeForStack.go b/service/appstream/api_op_CreateThemeForStack.go index 44c738f1f51..958edee17c2 100644 --- a/service/appstream/api_op_CreateThemeForStack.go +++ b/service/appstream/api_op_CreateThemeForStack.go @@ -144,9 +144,6 @@ func (c *Client) addOperationCreateThemeForStackMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateThemeForStackValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_CreateUpdatedImage.go b/service/appstream/api_op_CreateUpdatedImage.go index 14f657ec786..b478aa9f769 100644 --- a/service/appstream/api_op_CreateUpdatedImage.go +++ b/service/appstream/api_op_CreateUpdatedImage.go @@ -158,9 +158,6 @@ func (c *Client) addOperationCreateUpdatedImageMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateUpdatedImageValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_CreateUsageReportSubscription.go b/service/appstream/api_op_CreateUsageReportSubscription.go index 9c69498e1b6..31c43027bbb 100644 --- a/service/appstream/api_op_CreateUsageReportSubscription.go +++ b/service/appstream/api_op_CreateUsageReportSubscription.go @@ -116,9 +116,6 @@ func (c *Client) addOperationCreateUsageReportSubscriptionMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUsageReportSubscription(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appstream/api_op_CreateUser.go b/service/appstream/api_op_CreateUser.go index da22d1fca98..a168ecc821d 100644 --- a/service/appstream/api_op_CreateUser.go +++ b/service/appstream/api_op_CreateUser.go @@ -133,9 +133,6 @@ func (c *Client) addOperationCreateUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DeleteAppBlock.go b/service/appstream/api_op_DeleteAppBlock.go index 66d99f47b71..6d67d39a468 100644 --- a/service/appstream/api_op_DeleteAppBlock.go +++ b/service/appstream/api_op_DeleteAppBlock.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteAppBlockMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAppBlockValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DeleteAppBlockBuilder.go b/service/appstream/api_op_DeleteAppBlockBuilder.go index 908531af1fa..e1ca7b7dfe7 100644 --- a/service/appstream/api_op_DeleteAppBlockBuilder.go +++ b/service/appstream/api_op_DeleteAppBlockBuilder.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteAppBlockBuilderMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAppBlockBuilderValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DeleteApplication.go b/service/appstream/api_op_DeleteApplication.go index 1d89b560b5f..c38f9a18535 100644 --- a/service/appstream/api_op_DeleteApplication.go +++ b/service/appstream/api_op_DeleteApplication.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DeleteDirectoryConfig.go b/service/appstream/api_op_DeleteDirectoryConfig.go index cc13465e259..13b75a5b56a 100644 --- a/service/appstream/api_op_DeleteDirectoryConfig.go +++ b/service/appstream/api_op_DeleteDirectoryConfig.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteDirectoryConfigMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDirectoryConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DeleteEntitlement.go b/service/appstream/api_op_DeleteEntitlement.go index 3e2563cc2d4..6105e104bf2 100644 --- a/service/appstream/api_op_DeleteEntitlement.go +++ b/service/appstream/api_op_DeleteEntitlement.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteEntitlementMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEntitlementValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DeleteFleet.go b/service/appstream/api_op_DeleteFleet.go index 9bd2a4314ea..f424666fcac 100644 --- a/service/appstream/api_op_DeleteFleet.go +++ b/service/appstream/api_op_DeleteFleet.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteFleetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DeleteImage.go b/service/appstream/api_op_DeleteImage.go index 91db835e67f..a0d609d0968 100644 --- a/service/appstream/api_op_DeleteImage.go +++ b/service/appstream/api_op_DeleteImage.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteImageMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteImageValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DeleteImageBuilder.go b/service/appstream/api_op_DeleteImageBuilder.go index 11a9ab42c99..4494dfa0ccd 100644 --- a/service/appstream/api_op_DeleteImageBuilder.go +++ b/service/appstream/api_op_DeleteImageBuilder.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteImageBuilderMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteImageBuilderValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DeleteImagePermissions.go b/service/appstream/api_op_DeleteImagePermissions.go index add59595226..49ca8a64353 100644 --- a/service/appstream/api_op_DeleteImagePermissions.go +++ b/service/appstream/api_op_DeleteImagePermissions.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteImagePermissionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteImagePermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DeleteStack.go b/service/appstream/api_op_DeleteStack.go index 908714d7c9e..99e0ad96596 100644 --- a/service/appstream/api_op_DeleteStack.go +++ b/service/appstream/api_op_DeleteStack.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteStackMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteStackValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DeleteThemeForStack.go b/service/appstream/api_op_DeleteThemeForStack.go index 23e6a00984d..9b20daa9bc3 100644 --- a/service/appstream/api_op_DeleteThemeForStack.go +++ b/service/appstream/api_op_DeleteThemeForStack.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteThemeForStackMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteThemeForStackValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DeleteUsageReportSubscription.go b/service/appstream/api_op_DeleteUsageReportSubscription.go index f90d216e1d7..638d6178d17 100644 --- a/service/appstream/api_op_DeleteUsageReportSubscription.go +++ b/service/appstream/api_op_DeleteUsageReportSubscription.go @@ -101,9 +101,6 @@ func (c *Client) addOperationDeleteUsageReportSubscriptionMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteUsageReportSubscription(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appstream/api_op_DeleteUser.go b/service/appstream/api_op_DeleteUser.go index 93fe2c7cd98..62b8d5bf7fe 100644 --- a/service/appstream/api_op_DeleteUser.go +++ b/service/appstream/api_op_DeleteUser.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DescribeAppBlockBuilderAppBlockAssociations.go b/service/appstream/api_op_DescribeAppBlockBuilderAppBlockAssociations.go index e1563514043..4d7c614e3e6 100644 --- a/service/appstream/api_op_DescribeAppBlockBuilderAppBlockAssociations.go +++ b/service/appstream/api_op_DescribeAppBlockBuilderAppBlockAssociations.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeAppBlockBuilderAppBlockAssociationsMiddlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAppBlockBuilderAppBlockAssociations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appstream/api_op_DescribeAppBlockBuilders.go b/service/appstream/api_op_DescribeAppBlockBuilders.go index 1a82d95f6a9..efef061c7a7 100644 --- a/service/appstream/api_op_DescribeAppBlockBuilders.go +++ b/service/appstream/api_op_DescribeAppBlockBuilders.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeAppBlockBuildersMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAppBlockBuilders(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appstream/api_op_DescribeAppBlocks.go b/service/appstream/api_op_DescribeAppBlocks.go index 07f916edb23..517cbabcdb0 100644 --- a/service/appstream/api_op_DescribeAppBlocks.go +++ b/service/appstream/api_op_DescribeAppBlocks.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeAppBlocksMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAppBlocks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appstream/api_op_DescribeApplicationFleetAssociations.go b/service/appstream/api_op_DescribeApplicationFleetAssociations.go index 08f05f76f7d..335816dfa61 100644 --- a/service/appstream/api_op_DescribeApplicationFleetAssociations.go +++ b/service/appstream/api_op_DescribeApplicationFleetAssociations.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribeApplicationFleetAssociationsMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeApplicationFleetAssociations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appstream/api_op_DescribeApplications.go b/service/appstream/api_op_DescribeApplications.go index 4f1bd5ebbf5..3adf456801e 100644 --- a/service/appstream/api_op_DescribeApplications.go +++ b/service/appstream/api_op_DescribeApplications.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeApplicationsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeApplications(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appstream/api_op_DescribeDirectoryConfigs.go b/service/appstream/api_op_DescribeDirectoryConfigs.go index 595f05d10c8..98803633fdb 100644 --- a/service/appstream/api_op_DescribeDirectoryConfigs.go +++ b/service/appstream/api_op_DescribeDirectoryConfigs.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeDirectoryConfigsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDirectoryConfigs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appstream/api_op_DescribeEntitlements.go b/service/appstream/api_op_DescribeEntitlements.go index 812178682af..fb09c1b6307 100644 --- a/service/appstream/api_op_DescribeEntitlements.go +++ b/service/appstream/api_op_DescribeEntitlements.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeEntitlementsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEntitlementsValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DescribeFleets.go b/service/appstream/api_op_DescribeFleets.go index b4114591aa9..9c9cbdb9ee3 100644 --- a/service/appstream/api_op_DescribeFleets.go +++ b/service/appstream/api_op_DescribeFleets.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeFleetsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFleets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appstream/api_op_DescribeImageBuilders.go b/service/appstream/api_op_DescribeImageBuilders.go index 531ee4d884f..9954531f957 100644 --- a/service/appstream/api_op_DescribeImageBuilders.go +++ b/service/appstream/api_op_DescribeImageBuilders.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeImageBuildersMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeImageBuilders(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appstream/api_op_DescribeImagePermissions.go b/service/appstream/api_op_DescribeImagePermissions.go index 547adc9c947..d02222ba588 100644 --- a/service/appstream/api_op_DescribeImagePermissions.go +++ b/service/appstream/api_op_DescribeImagePermissions.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeImagePermissionsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeImagePermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DescribeImages.go b/service/appstream/api_op_DescribeImages.go index 3abc87ac1a1..bdca7da56e3 100644 --- a/service/appstream/api_op_DescribeImages.go +++ b/service/appstream/api_op_DescribeImages.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeImagesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeImages(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appstream/api_op_DescribeSessions.go b/service/appstream/api_op_DescribeSessions.go index b77269f455c..4057b3607a3 100644 --- a/service/appstream/api_op_DescribeSessions.go +++ b/service/appstream/api_op_DescribeSessions.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDescribeSessionsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSessionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DescribeStacks.go b/service/appstream/api_op_DescribeStacks.go index 7b94afa75e4..54e7d87fbeb 100644 --- a/service/appstream/api_op_DescribeStacks.go +++ b/service/appstream/api_op_DescribeStacks.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeStacksMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStacks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appstream/api_op_DescribeThemeForStack.go b/service/appstream/api_op_DescribeThemeForStack.go index e28a9375a5d..f18b161a03d 100644 --- a/service/appstream/api_op_DescribeThemeForStack.go +++ b/service/appstream/api_op_DescribeThemeForStack.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribeThemeForStackMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeThemeForStackValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DescribeUsageReportSubscriptions.go b/service/appstream/api_op_DescribeUsageReportSubscriptions.go index 827bf39e354..605d7d9977b 100644 --- a/service/appstream/api_op_DescribeUsageReportSubscriptions.go +++ b/service/appstream/api_op_DescribeUsageReportSubscriptions.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDescribeUsageReportSubscriptionsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUsageReportSubscriptions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appstream/api_op_DescribeUserStackAssociations.go b/service/appstream/api_op_DescribeUserStackAssociations.go index 7160a8d1d7c..1d12b0c6384 100644 --- a/service/appstream/api_op_DescribeUserStackAssociations.go +++ b/service/appstream/api_op_DescribeUserStackAssociations.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribeUserStackAssociationsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUserStackAssociations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appstream/api_op_DescribeUsers.go b/service/appstream/api_op_DescribeUsers.go index dc81a784af8..513d30608f3 100644 --- a/service/appstream/api_op_DescribeUsers.go +++ b/service/appstream/api_op_DescribeUsers.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeUsersMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeUsersValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DisableUser.go b/service/appstream/api_op_DisableUser.go index 50be7475813..1d544900dda 100644 --- a/service/appstream/api_op_DisableUser.go +++ b/service/appstream/api_op_DisableUser.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDisableUserMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DisassociateAppBlockBuilderAppBlock.go b/service/appstream/api_op_DisassociateAppBlockBuilderAppBlock.go index 26a79b812de..6f82663784c 100644 --- a/service/appstream/api_op_DisassociateAppBlockBuilderAppBlock.go +++ b/service/appstream/api_op_DisassociateAppBlockBuilderAppBlock.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDisassociateAppBlockBuilderAppBlockMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateAppBlockBuilderAppBlockValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DisassociateApplicationFleet.go b/service/appstream/api_op_DisassociateApplicationFleet.go index 4f71aaaa9b0..0eece3b7dc9 100644 --- a/service/appstream/api_op_DisassociateApplicationFleet.go +++ b/service/appstream/api_op_DisassociateApplicationFleet.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDisassociateApplicationFleetMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateApplicationFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DisassociateApplicationFromEntitlement.go b/service/appstream/api_op_DisassociateApplicationFromEntitlement.go index 2bf47223568..63f06b44b22 100644 --- a/service/appstream/api_op_DisassociateApplicationFromEntitlement.go +++ b/service/appstream/api_op_DisassociateApplicationFromEntitlement.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDisassociateApplicationFromEntitlementMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateApplicationFromEntitlementValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_DisassociateFleet.go b/service/appstream/api_op_DisassociateFleet.go index 38f18180d7c..6bdaaa57be2 100644 --- a/service/appstream/api_op_DisassociateFleet.go +++ b/service/appstream/api_op_DisassociateFleet.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDisassociateFleetMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_EnableUser.go b/service/appstream/api_op_EnableUser.go index cf54d6f12ec..8d06599be04 100644 --- a/service/appstream/api_op_EnableUser.go +++ b/service/appstream/api_op_EnableUser.go @@ -119,9 +119,6 @@ func (c *Client) addOperationEnableUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_ExpireSession.go b/service/appstream/api_op_ExpireSession.go index 2c34e2109b6..a9b7fd1a684 100644 --- a/service/appstream/api_op_ExpireSession.go +++ b/service/appstream/api_op_ExpireSession.go @@ -107,9 +107,6 @@ func (c *Client) addOperationExpireSessionMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExpireSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_ListAssociatedFleets.go b/service/appstream/api_op_ListAssociatedFleets.go index 8cec53e346e..0655716f228 100644 --- a/service/appstream/api_op_ListAssociatedFleets.go +++ b/service/appstream/api_op_ListAssociatedFleets.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListAssociatedFleetsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAssociatedFleetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_ListAssociatedStacks.go b/service/appstream/api_op_ListAssociatedStacks.go index dec341fbc1d..00ebd2d24cc 100644 --- a/service/appstream/api_op_ListAssociatedStacks.go +++ b/service/appstream/api_op_ListAssociatedStacks.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListAssociatedStacksMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAssociatedStacksValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_ListEntitledApplications.go b/service/appstream/api_op_ListEntitledApplications.go index 6e105e8188b..e94ded1ef6a 100644 --- a/service/appstream/api_op_ListEntitledApplications.go +++ b/service/appstream/api_op_ListEntitledApplications.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListEntitledApplicationsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEntitledApplicationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_ListTagsForResource.go b/service/appstream/api_op_ListTagsForResource.go index d3aa2075337..d6baa5d528a 100644 --- a/service/appstream/api_op_ListTagsForResource.go +++ b/service/appstream/api_op_ListTagsForResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_StartAppBlockBuilder.go b/service/appstream/api_op_StartAppBlockBuilder.go index 16c20a3fdfa..a32695292f4 100644 --- a/service/appstream/api_op_StartAppBlockBuilder.go +++ b/service/appstream/api_op_StartAppBlockBuilder.go @@ -117,9 +117,6 @@ func (c *Client) addOperationStartAppBlockBuilderMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartAppBlockBuilderValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_StartFleet.go b/service/appstream/api_op_StartFleet.go index fdf4fb3e478..c878b9edf37 100644 --- a/service/appstream/api_op_StartFleet.go +++ b/service/appstream/api_op_StartFleet.go @@ -107,9 +107,6 @@ func (c *Client) addOperationStartFleetMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_StartImageBuilder.go b/service/appstream/api_op_StartImageBuilder.go index c3622e9c2c9..8b31cab9f63 100644 --- a/service/appstream/api_op_StartImageBuilder.go +++ b/service/appstream/api_op_StartImageBuilder.go @@ -116,9 +116,6 @@ func (c *Client) addOperationStartImageBuilderMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartImageBuilderValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_StopAppBlockBuilder.go b/service/appstream/api_op_StopAppBlockBuilder.go index 67585142946..f06fde6694c 100644 --- a/service/appstream/api_op_StopAppBlockBuilder.go +++ b/service/appstream/api_op_StopAppBlockBuilder.go @@ -115,9 +115,6 @@ func (c *Client) addOperationStopAppBlockBuilderMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopAppBlockBuilderValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_StopFleet.go b/service/appstream/api_op_StopFleet.go index 811d70ebdd0..2c1da574e26 100644 --- a/service/appstream/api_op_StopFleet.go +++ b/service/appstream/api_op_StopFleet.go @@ -107,9 +107,6 @@ func (c *Client) addOperationStopFleetMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_StopImageBuilder.go b/service/appstream/api_op_StopImageBuilder.go index 29ea537065f..122e2952968 100644 --- a/service/appstream/api_op_StopImageBuilder.go +++ b/service/appstream/api_op_StopImageBuilder.go @@ -112,9 +112,6 @@ func (c *Client) addOperationStopImageBuilderMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopImageBuilderValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_TagResource.go b/service/appstream/api_op_TagResource.go index ad57b014ab3..6f9cb92f729 100644 --- a/service/appstream/api_op_TagResource.go +++ b/service/appstream/api_op_TagResource.go @@ -132,9 +132,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_UntagResource.go b/service/appstream/api_op_UntagResource.go index 8a77f2200dc..7c2f1d6e3ba 100644 --- a/service/appstream/api_op_UntagResource.go +++ b/service/appstream/api_op_UntagResource.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_UpdateAppBlockBuilder.go b/service/appstream/api_op_UpdateAppBlockBuilder.go index d652a28d314..b1d9968d7ca 100644 --- a/service/appstream/api_op_UpdateAppBlockBuilder.go +++ b/service/appstream/api_op_UpdateAppBlockBuilder.go @@ -170,9 +170,6 @@ func (c *Client) addOperationUpdateAppBlockBuilderMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAppBlockBuilderValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_UpdateApplication.go b/service/appstream/api_op_UpdateApplication.go index 0716b5b8bcc..0d5e66e8ed9 100644 --- a/service/appstream/api_op_UpdateApplication.go +++ b/service/appstream/api_op_UpdateApplication.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_UpdateDirectoryConfig.go b/service/appstream/api_op_UpdateDirectoryConfig.go index 06d0f63207a..87865a1ea5e 100644 --- a/service/appstream/api_op_UpdateDirectoryConfig.go +++ b/service/appstream/api_op_UpdateDirectoryConfig.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdateDirectoryConfigMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDirectoryConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_UpdateEntitlement.go b/service/appstream/api_op_UpdateEntitlement.go index e75d1dab7ba..90364221bab 100644 --- a/service/appstream/api_op_UpdateEntitlement.go +++ b/service/appstream/api_op_UpdateEntitlement.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateEntitlementMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEntitlementValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_UpdateFleet.go b/service/appstream/api_op_UpdateFleet.go index ca13d13f4a4..56a6f3295e3 100644 --- a/service/appstream/api_op_UpdateFleet.go +++ b/service/appstream/api_op_UpdateFleet.go @@ -333,9 +333,6 @@ func (c *Client) addOperationUpdateFleetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_UpdateImagePermissions.go b/service/appstream/api_op_UpdateImagePermissions.go index e675adef13a..91f1b3589b6 100644 --- a/service/appstream/api_op_UpdateImagePermissions.go +++ b/service/appstream/api_op_UpdateImagePermissions.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateImagePermissionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateImagePermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_UpdateStack.go b/service/appstream/api_op_UpdateStack.go index 261f1ffd2a4..87a650ba709 100644 --- a/service/appstream/api_op_UpdateStack.go +++ b/service/appstream/api_op_UpdateStack.go @@ -158,9 +158,6 @@ func (c *Client) addOperationUpdateStackMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateStackValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/api_op_UpdateThemeForStack.go b/service/appstream/api_op_UpdateThemeForStack.go index b0cde234984..37944f00809 100644 --- a/service/appstream/api_op_UpdateThemeForStack.go +++ b/service/appstream/api_op_UpdateThemeForStack.go @@ -142,9 +142,6 @@ func (c *Client) addOperationUpdateThemeForStackMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateThemeForStackValidationMiddleware(stack); err != nil { return err } diff --git a/service/appstream/snapshot/api_op_AssociateAppBlockBuilderAppBlock.go.snap b/service/appstream/snapshot/api_op_AssociateAppBlockBuilderAppBlock.go.snap index c13e5dd8c68..47c2dc23d45 100644 --- a/service/appstream/snapshot/api_op_AssociateAppBlockBuilderAppBlock.go.snap +++ b/service/appstream/snapshot/api_op_AssociateAppBlockBuilderAppBlock.go.snap @@ -14,7 +14,6 @@ AssociateAppBlockBuilderAppBlock Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_AssociateApplicationFleet.go.snap b/service/appstream/snapshot/api_op_AssociateApplicationFleet.go.snap index a19074288ac..6974c4b0abd 100644 --- a/service/appstream/snapshot/api_op_AssociateApplicationFleet.go.snap +++ b/service/appstream/snapshot/api_op_AssociateApplicationFleet.go.snap @@ -14,7 +14,6 @@ AssociateApplicationFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_AssociateApplicationToEntitlement.go.snap b/service/appstream/snapshot/api_op_AssociateApplicationToEntitlement.go.snap index 7181c77104c..767e13eb287 100644 --- a/service/appstream/snapshot/api_op_AssociateApplicationToEntitlement.go.snap +++ b/service/appstream/snapshot/api_op_AssociateApplicationToEntitlement.go.snap @@ -14,7 +14,6 @@ AssociateApplicationToEntitlement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_AssociateFleet.go.snap b/service/appstream/snapshot/api_op_AssociateFleet.go.snap index ed95c08375f..8adb8144ffa 100644 --- a/service/appstream/snapshot/api_op_AssociateFleet.go.snap +++ b/service/appstream/snapshot/api_op_AssociateFleet.go.snap @@ -14,7 +14,6 @@ AssociateFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_BatchAssociateUserStack.go.snap b/service/appstream/snapshot/api_op_BatchAssociateUserStack.go.snap index 0d168fe9e0f..473b3791bd8 100644 --- a/service/appstream/snapshot/api_op_BatchAssociateUserStack.go.snap +++ b/service/appstream/snapshot/api_op_BatchAssociateUserStack.go.snap @@ -14,7 +14,6 @@ BatchAssociateUserStack Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_BatchDisassociateUserStack.go.snap b/service/appstream/snapshot/api_op_BatchDisassociateUserStack.go.snap index 58bab59983a..b1286e7b449 100644 --- a/service/appstream/snapshot/api_op_BatchDisassociateUserStack.go.snap +++ b/service/appstream/snapshot/api_op_BatchDisassociateUserStack.go.snap @@ -14,7 +14,6 @@ BatchDisassociateUserStack Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_CopyImage.go.snap b/service/appstream/snapshot/api_op_CopyImage.go.snap index 33a62e56ad3..713cb3cfc30 100644 --- a/service/appstream/snapshot/api_op_CopyImage.go.snap +++ b/service/appstream/snapshot/api_op_CopyImage.go.snap @@ -14,7 +14,6 @@ CopyImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_CreateAppBlock.go.snap b/service/appstream/snapshot/api_op_CreateAppBlock.go.snap index 1028baa6336..bbbdeaa7d94 100644 --- a/service/appstream/snapshot/api_op_CreateAppBlock.go.snap +++ b/service/appstream/snapshot/api_op_CreateAppBlock.go.snap @@ -14,7 +14,6 @@ CreateAppBlock Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_CreateAppBlockBuilder.go.snap b/service/appstream/snapshot/api_op_CreateAppBlockBuilder.go.snap index e87a7ce144b..22835bfbf74 100644 --- a/service/appstream/snapshot/api_op_CreateAppBlockBuilder.go.snap +++ b/service/appstream/snapshot/api_op_CreateAppBlockBuilder.go.snap @@ -14,7 +14,6 @@ CreateAppBlockBuilder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_CreateAppBlockBuilderStreamingURL.go.snap b/service/appstream/snapshot/api_op_CreateAppBlockBuilderStreamingURL.go.snap index bc76b8fe988..6f6507476d2 100644 --- a/service/appstream/snapshot/api_op_CreateAppBlockBuilderStreamingURL.go.snap +++ b/service/appstream/snapshot/api_op_CreateAppBlockBuilderStreamingURL.go.snap @@ -14,7 +14,6 @@ CreateAppBlockBuilderStreamingURL Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_CreateApplication.go.snap b/service/appstream/snapshot/api_op_CreateApplication.go.snap index 503ca240c75..7174d11f956 100644 --- a/service/appstream/snapshot/api_op_CreateApplication.go.snap +++ b/service/appstream/snapshot/api_op_CreateApplication.go.snap @@ -14,7 +14,6 @@ CreateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_CreateDirectoryConfig.go.snap b/service/appstream/snapshot/api_op_CreateDirectoryConfig.go.snap index 21c63a1ac43..21e666e5743 100644 --- a/service/appstream/snapshot/api_op_CreateDirectoryConfig.go.snap +++ b/service/appstream/snapshot/api_op_CreateDirectoryConfig.go.snap @@ -14,7 +14,6 @@ CreateDirectoryConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_CreateEntitlement.go.snap b/service/appstream/snapshot/api_op_CreateEntitlement.go.snap index 28e6e4dc8b1..036ac935d64 100644 --- a/service/appstream/snapshot/api_op_CreateEntitlement.go.snap +++ b/service/appstream/snapshot/api_op_CreateEntitlement.go.snap @@ -14,7 +14,6 @@ CreateEntitlement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_CreateFleet.go.snap b/service/appstream/snapshot/api_op_CreateFleet.go.snap index e305f1ff665..de432044562 100644 --- a/service/appstream/snapshot/api_op_CreateFleet.go.snap +++ b/service/appstream/snapshot/api_op_CreateFleet.go.snap @@ -14,7 +14,6 @@ CreateFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_CreateImageBuilder.go.snap b/service/appstream/snapshot/api_op_CreateImageBuilder.go.snap index 1a02d450f4e..da20842843a 100644 --- a/service/appstream/snapshot/api_op_CreateImageBuilder.go.snap +++ b/service/appstream/snapshot/api_op_CreateImageBuilder.go.snap @@ -14,7 +14,6 @@ CreateImageBuilder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_CreateImageBuilderStreamingURL.go.snap b/service/appstream/snapshot/api_op_CreateImageBuilderStreamingURL.go.snap index 34a8417a75a..43100433e88 100644 --- a/service/appstream/snapshot/api_op_CreateImageBuilderStreamingURL.go.snap +++ b/service/appstream/snapshot/api_op_CreateImageBuilderStreamingURL.go.snap @@ -14,7 +14,6 @@ CreateImageBuilderStreamingURL Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_CreateStack.go.snap b/service/appstream/snapshot/api_op_CreateStack.go.snap index aacc3d6b1e0..450b37916a9 100644 --- a/service/appstream/snapshot/api_op_CreateStack.go.snap +++ b/service/appstream/snapshot/api_op_CreateStack.go.snap @@ -14,7 +14,6 @@ CreateStack Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_CreateStreamingURL.go.snap b/service/appstream/snapshot/api_op_CreateStreamingURL.go.snap index 58b05eff18b..1ae5a3a28d2 100644 --- a/service/appstream/snapshot/api_op_CreateStreamingURL.go.snap +++ b/service/appstream/snapshot/api_op_CreateStreamingURL.go.snap @@ -14,7 +14,6 @@ CreateStreamingURL Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_CreateThemeForStack.go.snap b/service/appstream/snapshot/api_op_CreateThemeForStack.go.snap index 75ca8e53ec8..426f86b1f0b 100644 --- a/service/appstream/snapshot/api_op_CreateThemeForStack.go.snap +++ b/service/appstream/snapshot/api_op_CreateThemeForStack.go.snap @@ -14,7 +14,6 @@ CreateThemeForStack Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_CreateUpdatedImage.go.snap b/service/appstream/snapshot/api_op_CreateUpdatedImage.go.snap index fc336b93e8d..5b6844cae54 100644 --- a/service/appstream/snapshot/api_op_CreateUpdatedImage.go.snap +++ b/service/appstream/snapshot/api_op_CreateUpdatedImage.go.snap @@ -14,7 +14,6 @@ CreateUpdatedImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_CreateUsageReportSubscription.go.snap b/service/appstream/snapshot/api_op_CreateUsageReportSubscription.go.snap index 84ee168eb7d..65e1f35a0e7 100644 --- a/service/appstream/snapshot/api_op_CreateUsageReportSubscription.go.snap +++ b/service/appstream/snapshot/api_op_CreateUsageReportSubscription.go.snap @@ -13,7 +13,6 @@ CreateUsageReportSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_CreateUser.go.snap b/service/appstream/snapshot/api_op_CreateUser.go.snap index bfcfbd2c853..d278c15935b 100644 --- a/service/appstream/snapshot/api_op_CreateUser.go.snap +++ b/service/appstream/snapshot/api_op_CreateUser.go.snap @@ -14,7 +14,6 @@ CreateUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DeleteAppBlock.go.snap b/service/appstream/snapshot/api_op_DeleteAppBlock.go.snap index 133bedbcd57..ef85b1b9db9 100644 --- a/service/appstream/snapshot/api_op_DeleteAppBlock.go.snap +++ b/service/appstream/snapshot/api_op_DeleteAppBlock.go.snap @@ -14,7 +14,6 @@ DeleteAppBlock Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DeleteAppBlockBuilder.go.snap b/service/appstream/snapshot/api_op_DeleteAppBlockBuilder.go.snap index d3eb2fb8a2c..0bc2a7ee79a 100644 --- a/service/appstream/snapshot/api_op_DeleteAppBlockBuilder.go.snap +++ b/service/appstream/snapshot/api_op_DeleteAppBlockBuilder.go.snap @@ -14,7 +14,6 @@ DeleteAppBlockBuilder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DeleteApplication.go.snap b/service/appstream/snapshot/api_op_DeleteApplication.go.snap index 80790355ed5..ffda37a527f 100644 --- a/service/appstream/snapshot/api_op_DeleteApplication.go.snap +++ b/service/appstream/snapshot/api_op_DeleteApplication.go.snap @@ -14,7 +14,6 @@ DeleteApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DeleteDirectoryConfig.go.snap b/service/appstream/snapshot/api_op_DeleteDirectoryConfig.go.snap index 2d5923ff7e3..42212fa97bd 100644 --- a/service/appstream/snapshot/api_op_DeleteDirectoryConfig.go.snap +++ b/service/appstream/snapshot/api_op_DeleteDirectoryConfig.go.snap @@ -14,7 +14,6 @@ DeleteDirectoryConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DeleteEntitlement.go.snap b/service/appstream/snapshot/api_op_DeleteEntitlement.go.snap index 1b35a5611f3..d943b9afe0b 100644 --- a/service/appstream/snapshot/api_op_DeleteEntitlement.go.snap +++ b/service/appstream/snapshot/api_op_DeleteEntitlement.go.snap @@ -14,7 +14,6 @@ DeleteEntitlement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DeleteFleet.go.snap b/service/appstream/snapshot/api_op_DeleteFleet.go.snap index 33858ccc341..d726bd6cf54 100644 --- a/service/appstream/snapshot/api_op_DeleteFleet.go.snap +++ b/service/appstream/snapshot/api_op_DeleteFleet.go.snap @@ -14,7 +14,6 @@ DeleteFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DeleteImage.go.snap b/service/appstream/snapshot/api_op_DeleteImage.go.snap index 12d011fb117..1eed2629cd0 100644 --- a/service/appstream/snapshot/api_op_DeleteImage.go.snap +++ b/service/appstream/snapshot/api_op_DeleteImage.go.snap @@ -14,7 +14,6 @@ DeleteImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DeleteImageBuilder.go.snap b/service/appstream/snapshot/api_op_DeleteImageBuilder.go.snap index 599d80cc426..cd679b85a9b 100644 --- a/service/appstream/snapshot/api_op_DeleteImageBuilder.go.snap +++ b/service/appstream/snapshot/api_op_DeleteImageBuilder.go.snap @@ -14,7 +14,6 @@ DeleteImageBuilder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DeleteImagePermissions.go.snap b/service/appstream/snapshot/api_op_DeleteImagePermissions.go.snap index 8a0f5188947..2466d4a05ad 100644 --- a/service/appstream/snapshot/api_op_DeleteImagePermissions.go.snap +++ b/service/appstream/snapshot/api_op_DeleteImagePermissions.go.snap @@ -14,7 +14,6 @@ DeleteImagePermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DeleteStack.go.snap b/service/appstream/snapshot/api_op_DeleteStack.go.snap index 0cf0f3311dc..562d86a1c85 100644 --- a/service/appstream/snapshot/api_op_DeleteStack.go.snap +++ b/service/appstream/snapshot/api_op_DeleteStack.go.snap @@ -14,7 +14,6 @@ DeleteStack Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DeleteThemeForStack.go.snap b/service/appstream/snapshot/api_op_DeleteThemeForStack.go.snap index 22b2ad5ef75..ceaad9422cb 100644 --- a/service/appstream/snapshot/api_op_DeleteThemeForStack.go.snap +++ b/service/appstream/snapshot/api_op_DeleteThemeForStack.go.snap @@ -14,7 +14,6 @@ DeleteThemeForStack Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DeleteUsageReportSubscription.go.snap b/service/appstream/snapshot/api_op_DeleteUsageReportSubscription.go.snap index 794278ecec5..a3c598e4a51 100644 --- a/service/appstream/snapshot/api_op_DeleteUsageReportSubscription.go.snap +++ b/service/appstream/snapshot/api_op_DeleteUsageReportSubscription.go.snap @@ -13,7 +13,6 @@ DeleteUsageReportSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DeleteUser.go.snap b/service/appstream/snapshot/api_op_DeleteUser.go.snap index 43834da9879..eda6e5fae30 100644 --- a/service/appstream/snapshot/api_op_DeleteUser.go.snap +++ b/service/appstream/snapshot/api_op_DeleteUser.go.snap @@ -14,7 +14,6 @@ DeleteUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DescribeAppBlockBuilderAppBlockAssociations.go.snap b/service/appstream/snapshot/api_op_DescribeAppBlockBuilderAppBlockAssociations.go.snap index f2bc18c5282..a8d339a0c3a 100644 --- a/service/appstream/snapshot/api_op_DescribeAppBlockBuilderAppBlockAssociations.go.snap +++ b/service/appstream/snapshot/api_op_DescribeAppBlockBuilderAppBlockAssociations.go.snap @@ -13,7 +13,6 @@ DescribeAppBlockBuilderAppBlockAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DescribeAppBlockBuilders.go.snap b/service/appstream/snapshot/api_op_DescribeAppBlockBuilders.go.snap index 445b83f6b7e..4ea498e0f07 100644 --- a/service/appstream/snapshot/api_op_DescribeAppBlockBuilders.go.snap +++ b/service/appstream/snapshot/api_op_DescribeAppBlockBuilders.go.snap @@ -13,7 +13,6 @@ DescribeAppBlockBuilders Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DescribeAppBlocks.go.snap b/service/appstream/snapshot/api_op_DescribeAppBlocks.go.snap index 8a314970e61..064cdbb670d 100644 --- a/service/appstream/snapshot/api_op_DescribeAppBlocks.go.snap +++ b/service/appstream/snapshot/api_op_DescribeAppBlocks.go.snap @@ -13,7 +13,6 @@ DescribeAppBlocks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DescribeApplicationFleetAssociations.go.snap b/service/appstream/snapshot/api_op_DescribeApplicationFleetAssociations.go.snap index 1bef98b3c01..c1eb962dda2 100644 --- a/service/appstream/snapshot/api_op_DescribeApplicationFleetAssociations.go.snap +++ b/service/appstream/snapshot/api_op_DescribeApplicationFleetAssociations.go.snap @@ -13,7 +13,6 @@ DescribeApplicationFleetAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DescribeApplications.go.snap b/service/appstream/snapshot/api_op_DescribeApplications.go.snap index 0c53965f2bd..5cc77594f9f 100644 --- a/service/appstream/snapshot/api_op_DescribeApplications.go.snap +++ b/service/appstream/snapshot/api_op_DescribeApplications.go.snap @@ -13,7 +13,6 @@ DescribeApplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DescribeDirectoryConfigs.go.snap b/service/appstream/snapshot/api_op_DescribeDirectoryConfigs.go.snap index 9b327dee7c1..ed9d630e917 100644 --- a/service/appstream/snapshot/api_op_DescribeDirectoryConfigs.go.snap +++ b/service/appstream/snapshot/api_op_DescribeDirectoryConfigs.go.snap @@ -13,7 +13,6 @@ DescribeDirectoryConfigs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DescribeEntitlements.go.snap b/service/appstream/snapshot/api_op_DescribeEntitlements.go.snap index 8bc3eac5f13..35bc153fb3e 100644 --- a/service/appstream/snapshot/api_op_DescribeEntitlements.go.snap +++ b/service/appstream/snapshot/api_op_DescribeEntitlements.go.snap @@ -14,7 +14,6 @@ DescribeEntitlements Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DescribeFleets.go.snap b/service/appstream/snapshot/api_op_DescribeFleets.go.snap index a9dc6fee5cf..6fa5fcc0d13 100644 --- a/service/appstream/snapshot/api_op_DescribeFleets.go.snap +++ b/service/appstream/snapshot/api_op_DescribeFleets.go.snap @@ -13,7 +13,6 @@ DescribeFleets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DescribeImageBuilders.go.snap b/service/appstream/snapshot/api_op_DescribeImageBuilders.go.snap index 4d3e6bd570a..e94d58e3b7e 100644 --- a/service/appstream/snapshot/api_op_DescribeImageBuilders.go.snap +++ b/service/appstream/snapshot/api_op_DescribeImageBuilders.go.snap @@ -13,7 +13,6 @@ DescribeImageBuilders Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DescribeImagePermissions.go.snap b/service/appstream/snapshot/api_op_DescribeImagePermissions.go.snap index a54ca249305..95f9ddb1039 100644 --- a/service/appstream/snapshot/api_op_DescribeImagePermissions.go.snap +++ b/service/appstream/snapshot/api_op_DescribeImagePermissions.go.snap @@ -14,7 +14,6 @@ DescribeImagePermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DescribeImages.go.snap b/service/appstream/snapshot/api_op_DescribeImages.go.snap index 56e680ba513..c9c1e13a7ab 100644 --- a/service/appstream/snapshot/api_op_DescribeImages.go.snap +++ b/service/appstream/snapshot/api_op_DescribeImages.go.snap @@ -13,7 +13,6 @@ DescribeImages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DescribeSessions.go.snap b/service/appstream/snapshot/api_op_DescribeSessions.go.snap index 95d9323d293..dc9ce6083bd 100644 --- a/service/appstream/snapshot/api_op_DescribeSessions.go.snap +++ b/service/appstream/snapshot/api_op_DescribeSessions.go.snap @@ -14,7 +14,6 @@ DescribeSessions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DescribeStacks.go.snap b/service/appstream/snapshot/api_op_DescribeStacks.go.snap index 32eda12f946..6f67872a839 100644 --- a/service/appstream/snapshot/api_op_DescribeStacks.go.snap +++ b/service/appstream/snapshot/api_op_DescribeStacks.go.snap @@ -13,7 +13,6 @@ DescribeStacks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DescribeThemeForStack.go.snap b/service/appstream/snapshot/api_op_DescribeThemeForStack.go.snap index 6fed45a3e9b..3a4e1d242c4 100644 --- a/service/appstream/snapshot/api_op_DescribeThemeForStack.go.snap +++ b/service/appstream/snapshot/api_op_DescribeThemeForStack.go.snap @@ -14,7 +14,6 @@ DescribeThemeForStack Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DescribeUsageReportSubscriptions.go.snap b/service/appstream/snapshot/api_op_DescribeUsageReportSubscriptions.go.snap index 746992274ed..4f086a6d449 100644 --- a/service/appstream/snapshot/api_op_DescribeUsageReportSubscriptions.go.snap +++ b/service/appstream/snapshot/api_op_DescribeUsageReportSubscriptions.go.snap @@ -13,7 +13,6 @@ DescribeUsageReportSubscriptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DescribeUserStackAssociations.go.snap b/service/appstream/snapshot/api_op_DescribeUserStackAssociations.go.snap index 016f721595e..f3797b1915d 100644 --- a/service/appstream/snapshot/api_op_DescribeUserStackAssociations.go.snap +++ b/service/appstream/snapshot/api_op_DescribeUserStackAssociations.go.snap @@ -13,7 +13,6 @@ DescribeUserStackAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DescribeUsers.go.snap b/service/appstream/snapshot/api_op_DescribeUsers.go.snap index 5426fc171f5..c384ad1048b 100644 --- a/service/appstream/snapshot/api_op_DescribeUsers.go.snap +++ b/service/appstream/snapshot/api_op_DescribeUsers.go.snap @@ -14,7 +14,6 @@ DescribeUsers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DisableUser.go.snap b/service/appstream/snapshot/api_op_DisableUser.go.snap index 2a32dc99447..9e38b7bb68d 100644 --- a/service/appstream/snapshot/api_op_DisableUser.go.snap +++ b/service/appstream/snapshot/api_op_DisableUser.go.snap @@ -14,7 +14,6 @@ DisableUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DisassociateAppBlockBuilderAppBlock.go.snap b/service/appstream/snapshot/api_op_DisassociateAppBlockBuilderAppBlock.go.snap index 6d9831a4d68..9006f4c860e 100644 --- a/service/appstream/snapshot/api_op_DisassociateAppBlockBuilderAppBlock.go.snap +++ b/service/appstream/snapshot/api_op_DisassociateAppBlockBuilderAppBlock.go.snap @@ -14,7 +14,6 @@ DisassociateAppBlockBuilderAppBlock Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DisassociateApplicationFleet.go.snap b/service/appstream/snapshot/api_op_DisassociateApplicationFleet.go.snap index 43d4bdad214..566bf148769 100644 --- a/service/appstream/snapshot/api_op_DisassociateApplicationFleet.go.snap +++ b/service/appstream/snapshot/api_op_DisassociateApplicationFleet.go.snap @@ -14,7 +14,6 @@ DisassociateApplicationFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DisassociateApplicationFromEntitlement.go.snap b/service/appstream/snapshot/api_op_DisassociateApplicationFromEntitlement.go.snap index 59cd0753a09..836426ac599 100644 --- a/service/appstream/snapshot/api_op_DisassociateApplicationFromEntitlement.go.snap +++ b/service/appstream/snapshot/api_op_DisassociateApplicationFromEntitlement.go.snap @@ -14,7 +14,6 @@ DisassociateApplicationFromEntitlement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_DisassociateFleet.go.snap b/service/appstream/snapshot/api_op_DisassociateFleet.go.snap index 32361149764..7b9724d1b3b 100644 --- a/service/appstream/snapshot/api_op_DisassociateFleet.go.snap +++ b/service/appstream/snapshot/api_op_DisassociateFleet.go.snap @@ -14,7 +14,6 @@ DisassociateFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_EnableUser.go.snap b/service/appstream/snapshot/api_op_EnableUser.go.snap index 79c6280ef1a..9ba1f733337 100644 --- a/service/appstream/snapshot/api_op_EnableUser.go.snap +++ b/service/appstream/snapshot/api_op_EnableUser.go.snap @@ -14,7 +14,6 @@ EnableUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_ExpireSession.go.snap b/service/appstream/snapshot/api_op_ExpireSession.go.snap index 1a9fa23d121..dfc7a407950 100644 --- a/service/appstream/snapshot/api_op_ExpireSession.go.snap +++ b/service/appstream/snapshot/api_op_ExpireSession.go.snap @@ -14,7 +14,6 @@ ExpireSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_ListAssociatedFleets.go.snap b/service/appstream/snapshot/api_op_ListAssociatedFleets.go.snap index cdcd5f9f2b3..5415263bdb8 100644 --- a/service/appstream/snapshot/api_op_ListAssociatedFleets.go.snap +++ b/service/appstream/snapshot/api_op_ListAssociatedFleets.go.snap @@ -14,7 +14,6 @@ ListAssociatedFleets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_ListAssociatedStacks.go.snap b/service/appstream/snapshot/api_op_ListAssociatedStacks.go.snap index 29b1a0f3604..c65aeb3f32e 100644 --- a/service/appstream/snapshot/api_op_ListAssociatedStacks.go.snap +++ b/service/appstream/snapshot/api_op_ListAssociatedStacks.go.snap @@ -14,7 +14,6 @@ ListAssociatedStacks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_ListEntitledApplications.go.snap b/service/appstream/snapshot/api_op_ListEntitledApplications.go.snap index 205c0941fc3..4dfadbc0893 100644 --- a/service/appstream/snapshot/api_op_ListEntitledApplications.go.snap +++ b/service/appstream/snapshot/api_op_ListEntitledApplications.go.snap @@ -14,7 +14,6 @@ ListEntitledApplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_ListTagsForResource.go.snap b/service/appstream/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/appstream/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/appstream/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_StartAppBlockBuilder.go.snap b/service/appstream/snapshot/api_op_StartAppBlockBuilder.go.snap index bdc1452b928..f9bcf0616b1 100644 --- a/service/appstream/snapshot/api_op_StartAppBlockBuilder.go.snap +++ b/service/appstream/snapshot/api_op_StartAppBlockBuilder.go.snap @@ -14,7 +14,6 @@ StartAppBlockBuilder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_StartFleet.go.snap b/service/appstream/snapshot/api_op_StartFleet.go.snap index beb88b913af..f694c82bd34 100644 --- a/service/appstream/snapshot/api_op_StartFleet.go.snap +++ b/service/appstream/snapshot/api_op_StartFleet.go.snap @@ -14,7 +14,6 @@ StartFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_StartImageBuilder.go.snap b/service/appstream/snapshot/api_op_StartImageBuilder.go.snap index 5f8558e677c..e430d74015f 100644 --- a/service/appstream/snapshot/api_op_StartImageBuilder.go.snap +++ b/service/appstream/snapshot/api_op_StartImageBuilder.go.snap @@ -14,7 +14,6 @@ StartImageBuilder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_StopAppBlockBuilder.go.snap b/service/appstream/snapshot/api_op_StopAppBlockBuilder.go.snap index 7d497976180..4747ad9c4e0 100644 --- a/service/appstream/snapshot/api_op_StopAppBlockBuilder.go.snap +++ b/service/appstream/snapshot/api_op_StopAppBlockBuilder.go.snap @@ -14,7 +14,6 @@ StopAppBlockBuilder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_StopFleet.go.snap b/service/appstream/snapshot/api_op_StopFleet.go.snap index 5deca8437cf..0c470b4e287 100644 --- a/service/appstream/snapshot/api_op_StopFleet.go.snap +++ b/service/appstream/snapshot/api_op_StopFleet.go.snap @@ -14,7 +14,6 @@ StopFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_StopImageBuilder.go.snap b/service/appstream/snapshot/api_op_StopImageBuilder.go.snap index d6da4b0363d..d6ea84227c8 100644 --- a/service/appstream/snapshot/api_op_StopImageBuilder.go.snap +++ b/service/appstream/snapshot/api_op_StopImageBuilder.go.snap @@ -14,7 +14,6 @@ StopImageBuilder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_TagResource.go.snap b/service/appstream/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/appstream/snapshot/api_op_TagResource.go.snap +++ b/service/appstream/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_UntagResource.go.snap b/service/appstream/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/appstream/snapshot/api_op_UntagResource.go.snap +++ b/service/appstream/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_UpdateAppBlockBuilder.go.snap b/service/appstream/snapshot/api_op_UpdateAppBlockBuilder.go.snap index 57998f1ff14..cc4552760a7 100644 --- a/service/appstream/snapshot/api_op_UpdateAppBlockBuilder.go.snap +++ b/service/appstream/snapshot/api_op_UpdateAppBlockBuilder.go.snap @@ -14,7 +14,6 @@ UpdateAppBlockBuilder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_UpdateApplication.go.snap b/service/appstream/snapshot/api_op_UpdateApplication.go.snap index 5ec4c02edff..d4e2fa4991a 100644 --- a/service/appstream/snapshot/api_op_UpdateApplication.go.snap +++ b/service/appstream/snapshot/api_op_UpdateApplication.go.snap @@ -14,7 +14,6 @@ UpdateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_UpdateDirectoryConfig.go.snap b/service/appstream/snapshot/api_op_UpdateDirectoryConfig.go.snap index d6130a70518..7d6a3a06c6e 100644 --- a/service/appstream/snapshot/api_op_UpdateDirectoryConfig.go.snap +++ b/service/appstream/snapshot/api_op_UpdateDirectoryConfig.go.snap @@ -14,7 +14,6 @@ UpdateDirectoryConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_UpdateEntitlement.go.snap b/service/appstream/snapshot/api_op_UpdateEntitlement.go.snap index 4cdb24eeb56..a3e5909d46e 100644 --- a/service/appstream/snapshot/api_op_UpdateEntitlement.go.snap +++ b/service/appstream/snapshot/api_op_UpdateEntitlement.go.snap @@ -14,7 +14,6 @@ UpdateEntitlement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_UpdateFleet.go.snap b/service/appstream/snapshot/api_op_UpdateFleet.go.snap index 8d6e4ad9bc9..01960fdb712 100644 --- a/service/appstream/snapshot/api_op_UpdateFleet.go.snap +++ b/service/appstream/snapshot/api_op_UpdateFleet.go.snap @@ -14,7 +14,6 @@ UpdateFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_UpdateImagePermissions.go.snap b/service/appstream/snapshot/api_op_UpdateImagePermissions.go.snap index 169261dffe4..efbdceea4c6 100644 --- a/service/appstream/snapshot/api_op_UpdateImagePermissions.go.snap +++ b/service/appstream/snapshot/api_op_UpdateImagePermissions.go.snap @@ -14,7 +14,6 @@ UpdateImagePermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_UpdateStack.go.snap b/service/appstream/snapshot/api_op_UpdateStack.go.snap index 56a2bc2f983..590a1b70f85 100644 --- a/service/appstream/snapshot/api_op_UpdateStack.go.snap +++ b/service/appstream/snapshot/api_op_UpdateStack.go.snap @@ -14,7 +14,6 @@ UpdateStack Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appstream/snapshot/api_op_UpdateThemeForStack.go.snap b/service/appstream/snapshot/api_op_UpdateThemeForStack.go.snap index 2c3ab788d99..ddbc42399c6 100644 --- a/service/appstream/snapshot/api_op_UpdateThemeForStack.go.snap +++ b/service/appstream/snapshot/api_op_UpdateThemeForStack.go.snap @@ -14,7 +14,6 @@ UpdateThemeForStack Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/api_client.go b/service/appsync/api_client.go index eedecde59e0..5d18d3fccff 100644 --- a/service/appsync/api_client.go +++ b/service/appsync/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/appsync/api_op_AssociateApi.go b/service/appsync/api_op_AssociateApi.go index ef4d86f047d..ee4ec67c85b 100644 --- a/service/appsync/api_op_AssociateApi.go +++ b/service/appsync/api_op_AssociateApi.go @@ -117,9 +117,6 @@ func (c *Client) addOperationAssociateApiMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateApiValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_AssociateMergedGraphqlApi.go b/service/appsync/api_op_AssociateMergedGraphqlApi.go index 43d5c06e6c6..89a0dddde95 100644 --- a/service/appsync/api_op_AssociateMergedGraphqlApi.go +++ b/service/appsync/api_op_AssociateMergedGraphqlApi.go @@ -132,9 +132,6 @@ func (c *Client) addOperationAssociateMergedGraphqlApiMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateMergedGraphqlApiValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_AssociateSourceGraphqlApi.go b/service/appsync/api_op_AssociateSourceGraphqlApi.go index 1848f999fa0..45ea840f011 100644 --- a/service/appsync/api_op_AssociateSourceGraphqlApi.go +++ b/service/appsync/api_op_AssociateSourceGraphqlApi.go @@ -132,9 +132,6 @@ func (c *Client) addOperationAssociateSourceGraphqlApiMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateSourceGraphqlApiValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_CreateApi.go b/service/appsync/api_op_CreateApi.go index 77b91678df7..ce36f798b1a 100644 --- a/service/appsync/api_op_CreateApi.go +++ b/service/appsync/api_op_CreateApi.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCreateApiMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateApiValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_CreateApiCache.go b/service/appsync/api_op_CreateApiCache.go index e15b86aefda..af6fa91a00f 100644 --- a/service/appsync/api_op_CreateApiCache.go +++ b/service/appsync/api_op_CreateApiCache.go @@ -198,9 +198,6 @@ func (c *Client) addOperationCreateApiCacheMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateApiCacheValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_CreateApiKey.go b/service/appsync/api_op_CreateApiKey.go index 8c9705cb737..390ec8ada64 100644 --- a/service/appsync/api_op_CreateApiKey.go +++ b/service/appsync/api_op_CreateApiKey.go @@ -121,9 +121,6 @@ func (c *Client) addOperationCreateApiKeyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateApiKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_CreateChannelNamespace.go b/service/appsync/api_op_CreateChannelNamespace.go index dc81ffb1201..f2d574d4c76 100644 --- a/service/appsync/api_op_CreateChannelNamespace.go +++ b/service/appsync/api_op_CreateChannelNamespace.go @@ -133,9 +133,6 @@ func (c *Client) addOperationCreateChannelNamespaceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateChannelNamespaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_CreateDataSource.go b/service/appsync/api_op_CreateDataSource.go index f61c9def6ff..d80d7968e1d 100644 --- a/service/appsync/api_op_CreateDataSource.go +++ b/service/appsync/api_op_CreateDataSource.go @@ -164,9 +164,6 @@ func (c *Client) addOperationCreateDataSourceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_CreateDomainName.go b/service/appsync/api_op_CreateDomainName.go index b799bab5678..17708adbb8b 100644 --- a/service/appsync/api_op_CreateDomainName.go +++ b/service/appsync/api_op_CreateDomainName.go @@ -122,9 +122,6 @@ func (c *Client) addOperationCreateDomainNameMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDomainNameValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_CreateFunction.go b/service/appsync/api_op_CreateFunction.go index 827339aef0d..8bdfbb514d8 100644 --- a/service/appsync/api_op_CreateFunction.go +++ b/service/appsync/api_op_CreateFunction.go @@ -159,9 +159,6 @@ func (c *Client) addOperationCreateFunctionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFunctionValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_CreateGraphqlApi.go b/service/appsync/api_op_CreateGraphqlApi.go index 40aed1b1196..0849c6e078b 100644 --- a/service/appsync/api_op_CreateGraphqlApi.go +++ b/service/appsync/api_op_CreateGraphqlApi.go @@ -189,9 +189,6 @@ func (c *Client) addOperationCreateGraphqlApiMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGraphqlApiValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_CreateResolver.go b/service/appsync/api_op_CreateResolver.go index 525c312275c..f5ca26dd6ea 100644 --- a/service/appsync/api_op_CreateResolver.go +++ b/service/appsync/api_op_CreateResolver.go @@ -183,9 +183,6 @@ func (c *Client) addOperationCreateResolverMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateResolverValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_CreateType.go b/service/appsync/api_op_CreateType.go index d809d4339a1..1c18995c828 100644 --- a/service/appsync/api_op_CreateType.go +++ b/service/appsync/api_op_CreateType.go @@ -126,9 +126,6 @@ func (c *Client) addOperationCreateTypeMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_DeleteApi.go b/service/appsync/api_op_DeleteApi.go index c6ca771a1cb..584b850fe31 100644 --- a/service/appsync/api_op_DeleteApi.go +++ b/service/appsync/api_op_DeleteApi.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteApiMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApiValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_DeleteApiCache.go b/service/appsync/api_op_DeleteApiCache.go index f294b8f8727..9c3a6359566 100644 --- a/service/appsync/api_op_DeleteApiCache.go +++ b/service/appsync/api_op_DeleteApiCache.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteApiCacheMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApiCacheValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_DeleteApiKey.go b/service/appsync/api_op_DeleteApiKey.go index 23fd8fbb43f..ae364506854 100644 --- a/service/appsync/api_op_DeleteApiKey.go +++ b/service/appsync/api_op_DeleteApiKey.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteApiKeyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApiKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_DeleteChannelNamespace.go b/service/appsync/api_op_DeleteChannelNamespace.go index 2a6700960c1..e4e714b393e 100644 --- a/service/appsync/api_op_DeleteChannelNamespace.go +++ b/service/appsync/api_op_DeleteChannelNamespace.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteChannelNamespaceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteChannelNamespaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_DeleteDataSource.go b/service/appsync/api_op_DeleteDataSource.go index 9371a51b791..17a28659682 100644 --- a/service/appsync/api_op_DeleteDataSource.go +++ b/service/appsync/api_op_DeleteDataSource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteDataSourceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_DeleteDomainName.go b/service/appsync/api_op_DeleteDomainName.go index 0cd7534cdca..c1a6943c8b6 100644 --- a/service/appsync/api_op_DeleteDomainName.go +++ b/service/appsync/api_op_DeleteDomainName.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteDomainNameMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDomainNameValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_DeleteFunction.go b/service/appsync/api_op_DeleteFunction.go index 891e7230d39..2621e62379f 100644 --- a/service/appsync/api_op_DeleteFunction.go +++ b/service/appsync/api_op_DeleteFunction.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteFunctionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFunctionValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_DeleteGraphqlApi.go b/service/appsync/api_op_DeleteGraphqlApi.go index 17e88642d41..4167ca1e9f9 100644 --- a/service/appsync/api_op_DeleteGraphqlApi.go +++ b/service/appsync/api_op_DeleteGraphqlApi.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteGraphqlApiMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGraphqlApiValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_DeleteResolver.go b/service/appsync/api_op_DeleteResolver.go index 0d041e16a14..28692c9890e 100644 --- a/service/appsync/api_op_DeleteResolver.go +++ b/service/appsync/api_op_DeleteResolver.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteResolverMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResolverValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_DeleteType.go b/service/appsync/api_op_DeleteType.go index 6facae8ab76..1496284d9ff 100644 --- a/service/appsync/api_op_DeleteType.go +++ b/service/appsync/api_op_DeleteType.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteTypeMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_DisassociateApi.go b/service/appsync/api_op_DisassociateApi.go index 2bf6b554503..88a76b33cbe 100644 --- a/service/appsync/api_op_DisassociateApi.go +++ b/service/appsync/api_op_DisassociateApi.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDisassociateApiMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateApiValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_DisassociateMergedGraphqlApi.go b/service/appsync/api_op_DisassociateMergedGraphqlApi.go index 30e485c3559..f230fb5ee97 100644 --- a/service/appsync/api_op_DisassociateMergedGraphqlApi.go +++ b/service/appsync/api_op_DisassociateMergedGraphqlApi.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDisassociateMergedGraphqlApiMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateMergedGraphqlApiValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_DisassociateSourceGraphqlApi.go b/service/appsync/api_op_DisassociateSourceGraphqlApi.go index 9fa8f2427d4..01391dbe1af 100644 --- a/service/appsync/api_op_DisassociateSourceGraphqlApi.go +++ b/service/appsync/api_op_DisassociateSourceGraphqlApi.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDisassociateSourceGraphqlApiMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateSourceGraphqlApiValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_EvaluateCode.go b/service/appsync/api_op_EvaluateCode.go index bab82ae2866..7d65b9a5144 100644 --- a/service/appsync/api_op_EvaluateCode.go +++ b/service/appsync/api_op_EvaluateCode.go @@ -151,9 +151,6 @@ func (c *Client) addOperationEvaluateCodeMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEvaluateCodeValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_EvaluateMappingTemplate.go b/service/appsync/api_op_EvaluateMappingTemplate.go index 759a0e8255e..843e74bfa45 100644 --- a/service/appsync/api_op_EvaluateMappingTemplate.go +++ b/service/appsync/api_op_EvaluateMappingTemplate.go @@ -143,9 +143,6 @@ func (c *Client) addOperationEvaluateMappingTemplateMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEvaluateMappingTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_FlushApiCache.go b/service/appsync/api_op_FlushApiCache.go index 87a0b918ff9..7317d9b0958 100644 --- a/service/appsync/api_op_FlushApiCache.go +++ b/service/appsync/api_op_FlushApiCache.go @@ -109,9 +109,6 @@ func (c *Client) addOperationFlushApiCacheMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpFlushApiCacheValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_GetApi.go b/service/appsync/api_op_GetApi.go index 1bf223e2f56..e09e71af02c 100644 --- a/service/appsync/api_op_GetApi.go +++ b/service/appsync/api_op_GetApi.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetApiMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApiValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_GetApiAssociation.go b/service/appsync/api_op_GetApiAssociation.go index 1084ef7c927..2f8fdc51a9b 100644 --- a/service/appsync/api_op_GetApiAssociation.go +++ b/service/appsync/api_op_GetApiAssociation.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetApiAssociationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApiAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_GetApiCache.go b/service/appsync/api_op_GetApiCache.go index e336ecc5102..7df16b5af5d 100644 --- a/service/appsync/api_op_GetApiCache.go +++ b/service/appsync/api_op_GetApiCache.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetApiCacheMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApiCacheValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_GetChannelNamespace.go b/service/appsync/api_op_GetChannelNamespace.go index 83052dcfe24..64840b224e7 100644 --- a/service/appsync/api_op_GetChannelNamespace.go +++ b/service/appsync/api_op_GetChannelNamespace.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetChannelNamespaceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetChannelNamespaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_GetDataSource.go b/service/appsync/api_op_GetDataSource.go index 05f8562dfad..fa48f9e198b 100644 --- a/service/appsync/api_op_GetDataSource.go +++ b/service/appsync/api_op_GetDataSource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetDataSourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_GetDataSourceIntrospection.go b/service/appsync/api_op_GetDataSourceIntrospection.go index 789398b9145..28f3426d7a9 100644 --- a/service/appsync/api_op_GetDataSourceIntrospection.go +++ b/service/appsync/api_op_GetDataSourceIntrospection.go @@ -146,9 +146,6 @@ func (c *Client) addOperationGetDataSourceIntrospectionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataSourceIntrospectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_GetDomainName.go b/service/appsync/api_op_GetDomainName.go index 4a7860b3190..80828d25a72 100644 --- a/service/appsync/api_op_GetDomainName.go +++ b/service/appsync/api_op_GetDomainName.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetDomainNameMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDomainNameValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_GetFunction.go b/service/appsync/api_op_GetFunction.go index 38242a22092..56cb9d5274c 100644 --- a/service/appsync/api_op_GetFunction.go +++ b/service/appsync/api_op_GetFunction.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetFunctionMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFunctionValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_GetGraphqlApi.go b/service/appsync/api_op_GetGraphqlApi.go index 8f2c79338b4..8788e610be7 100644 --- a/service/appsync/api_op_GetGraphqlApi.go +++ b/service/appsync/api_op_GetGraphqlApi.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetGraphqlApiMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetGraphqlApiValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_GetGraphqlApiEnvironmentVariables.go b/service/appsync/api_op_GetGraphqlApiEnvironmentVariables.go index 9da57ef223c..74fcd7b623c 100644 --- a/service/appsync/api_op_GetGraphqlApiEnvironmentVariables.go +++ b/service/appsync/api_op_GetGraphqlApiEnvironmentVariables.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetGraphqlApiEnvironmentVariablesMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetGraphqlApiEnvironmentVariablesValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_GetIntrospectionSchema.go b/service/appsync/api_op_GetIntrospectionSchema.go index f8b542a7ff1..751d9867365 100644 --- a/service/appsync/api_op_GetIntrospectionSchema.go +++ b/service/appsync/api_op_GetIntrospectionSchema.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetIntrospectionSchemaMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIntrospectionSchemaValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_GetResolver.go b/service/appsync/api_op_GetResolver.go index 2e18eff380c..1ca800b9bb6 100644 --- a/service/appsync/api_op_GetResolver.go +++ b/service/appsync/api_op_GetResolver.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetResolverMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResolverValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_GetSchemaCreationStatus.go b/service/appsync/api_op_GetSchemaCreationStatus.go index cace1348068..ac70ee5beeb 100644 --- a/service/appsync/api_op_GetSchemaCreationStatus.go +++ b/service/appsync/api_op_GetSchemaCreationStatus.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetSchemaCreationStatusMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSchemaCreationStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_GetSourceApiAssociation.go b/service/appsync/api_op_GetSourceApiAssociation.go index e2c58b1991d..81821dddeb3 100644 --- a/service/appsync/api_op_GetSourceApiAssociation.go +++ b/service/appsync/api_op_GetSourceApiAssociation.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetSourceApiAssociationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSourceApiAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_GetType.go b/service/appsync/api_op_GetType.go index 10156420cad..5164795d53d 100644 --- a/service/appsync/api_op_GetType.go +++ b/service/appsync/api_op_GetType.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetTypeMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_ListApiKeys.go b/service/appsync/api_op_ListApiKeys.go index 70ab9e66e35..cf306de2a03 100644 --- a/service/appsync/api_op_ListApiKeys.go +++ b/service/appsync/api_op_ListApiKeys.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListApiKeysMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListApiKeysValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_ListApis.go b/service/appsync/api_op_ListApis.go index 9dcece0db6a..2fc70710e33 100644 --- a/service/appsync/api_op_ListApis.go +++ b/service/appsync/api_op_ListApis.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListApisMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApis(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appsync/api_op_ListChannelNamespaces.go b/service/appsync/api_op_ListChannelNamespaces.go index 50dcd8de88a..972c9807b04 100644 --- a/service/appsync/api_op_ListChannelNamespaces.go +++ b/service/appsync/api_op_ListChannelNamespaces.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListChannelNamespacesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListChannelNamespacesValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_ListDataSources.go b/service/appsync/api_op_ListDataSources.go index 9799f389d2a..ff66d57834b 100644 --- a/service/appsync/api_op_ListDataSources.go +++ b/service/appsync/api_op_ListDataSources.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListDataSourcesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDataSourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_ListDomainNames.go b/service/appsync/api_op_ListDomainNames.go index fd2236700b7..558f4be76b6 100644 --- a/service/appsync/api_op_ListDomainNames.go +++ b/service/appsync/api_op_ListDomainNames.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListDomainNamesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDomainNames(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appsync/api_op_ListFunctions.go b/service/appsync/api_op_ListFunctions.go index c2f4f960f48..904db6e8f0e 100644 --- a/service/appsync/api_op_ListFunctions.go +++ b/service/appsync/api_op_ListFunctions.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListFunctionsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFunctionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_ListGraphqlApis.go b/service/appsync/api_op_ListGraphqlApis.go index 7283992b298..a70f3527d18 100644 --- a/service/appsync/api_op_ListGraphqlApis.go +++ b/service/appsync/api_op_ListGraphqlApis.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListGraphqlApisMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGraphqlApis(options.Region), middleware.Before); err != nil { return err } diff --git a/service/appsync/api_op_ListResolvers.go b/service/appsync/api_op_ListResolvers.go index 7453a8fb1ab..e268a8087c9 100644 --- a/service/appsync/api_op_ListResolvers.go +++ b/service/appsync/api_op_ListResolvers.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListResolversMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListResolversValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_ListResolversByFunction.go b/service/appsync/api_op_ListResolversByFunction.go index 2d5c26199bc..1f15c16e851 100644 --- a/service/appsync/api_op_ListResolversByFunction.go +++ b/service/appsync/api_op_ListResolversByFunction.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListResolversByFunctionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListResolversByFunctionValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_ListSourceApiAssociations.go b/service/appsync/api_op_ListSourceApiAssociations.go index ca5ebe7128a..ea81fd2daf7 100644 --- a/service/appsync/api_op_ListSourceApiAssociations.go +++ b/service/appsync/api_op_ListSourceApiAssociations.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListSourceApiAssociationsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSourceApiAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_ListTagsForResource.go b/service/appsync/api_op_ListTagsForResource.go index f3891a65365..258f16d9503 100644 --- a/service/appsync/api_op_ListTagsForResource.go +++ b/service/appsync/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_ListTypes.go b/service/appsync/api_op_ListTypes.go index 6ce715ccf9f..540147e1577 100644 --- a/service/appsync/api_op_ListTypes.go +++ b/service/appsync/api_op_ListTypes.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListTypesMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTypesValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_ListTypesByAssociation.go b/service/appsync/api_op_ListTypesByAssociation.go index c5353007b56..536320d9c15 100644 --- a/service/appsync/api_op_ListTypesByAssociation.go +++ b/service/appsync/api_op_ListTypesByAssociation.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListTypesByAssociationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTypesByAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_PutGraphqlApiEnvironmentVariables.go b/service/appsync/api_op_PutGraphqlApiEnvironmentVariables.go index 891b77caede..b2cff1c36c8 100644 --- a/service/appsync/api_op_PutGraphqlApiEnvironmentVariables.go +++ b/service/appsync/api_op_PutGraphqlApiEnvironmentVariables.go @@ -174,9 +174,6 @@ func (c *Client) addOperationPutGraphqlApiEnvironmentVariablesMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutGraphqlApiEnvironmentVariablesValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_StartDataSourceIntrospection.go b/service/appsync/api_op_StartDataSourceIntrospection.go index 38918826021..168910f64bc 100644 --- a/service/appsync/api_op_StartDataSourceIntrospection.go +++ b/service/appsync/api_op_StartDataSourceIntrospection.go @@ -124,9 +124,6 @@ func (c *Client) addOperationStartDataSourceIntrospectionMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartDataSourceIntrospectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_StartSchemaCreation.go b/service/appsync/api_op_StartSchemaCreation.go index 255e565b003..31421f2d9f8 100644 --- a/service/appsync/api_op_StartSchemaCreation.go +++ b/service/appsync/api_op_StartSchemaCreation.go @@ -120,9 +120,6 @@ func (c *Client) addOperationStartSchemaCreationMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartSchemaCreationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_StartSchemaMerge.go b/service/appsync/api_op_StartSchemaMerge.go index 7e1ff887734..51ab45bc0c6 100644 --- a/service/appsync/api_op_StartSchemaMerge.go +++ b/service/appsync/api_op_StartSchemaMerge.go @@ -122,9 +122,6 @@ func (c *Client) addOperationStartSchemaMergeMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartSchemaMergeValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_TagResource.go b/service/appsync/api_op_TagResource.go index 79d9b0bea77..4b467a27601 100644 --- a/service/appsync/api_op_TagResource.go +++ b/service/appsync/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_UntagResource.go b/service/appsync/api_op_UntagResource.go index 8ed586eb7c2..010c6780269 100644 --- a/service/appsync/api_op_UntagResource.go +++ b/service/appsync/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_UpdateApi.go b/service/appsync/api_op_UpdateApi.go index 467febf28df..18314c413d4 100644 --- a/service/appsync/api_op_UpdateApi.go +++ b/service/appsync/api_op_UpdateApi.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateApiMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApiValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_UpdateApiCache.go b/service/appsync/api_op_UpdateApiCache.go index 6f42119a439..f9658b3010a 100644 --- a/service/appsync/api_op_UpdateApiCache.go +++ b/service/appsync/api_op_UpdateApiCache.go @@ -190,9 +190,6 @@ func (c *Client) addOperationUpdateApiCacheMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApiCacheValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_UpdateApiKey.go b/service/appsync/api_op_UpdateApiKey.go index fd016a89f87..b4ba09ab676 100644 --- a/service/appsync/api_op_UpdateApiKey.go +++ b/service/appsync/api_op_UpdateApiKey.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateApiKeyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApiKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_UpdateChannelNamespace.go b/service/appsync/api_op_UpdateChannelNamespace.go index 6ebaf902b2e..d545ba6f3d6 100644 --- a/service/appsync/api_op_UpdateChannelNamespace.go +++ b/service/appsync/api_op_UpdateChannelNamespace.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateChannelNamespaceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateChannelNamespaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_UpdateDataSource.go b/service/appsync/api_op_UpdateDataSource.go index 4c3b0133e05..26afc2103e7 100644 --- a/service/appsync/api_op_UpdateDataSource.go +++ b/service/appsync/api_op_UpdateDataSource.go @@ -162,9 +162,6 @@ func (c *Client) addOperationUpdateDataSourceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_UpdateDomainName.go b/service/appsync/api_op_UpdateDomainName.go index 400f33bff94..c7f4f54d475 100644 --- a/service/appsync/api_op_UpdateDomainName.go +++ b/service/appsync/api_op_UpdateDomainName.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUpdateDomainNameMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDomainNameValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_UpdateFunction.go b/service/appsync/api_op_UpdateFunction.go index a5ac1685278..2b5a680a154 100644 --- a/service/appsync/api_op_UpdateFunction.go +++ b/service/appsync/api_op_UpdateFunction.go @@ -161,9 +161,6 @@ func (c *Client) addOperationUpdateFunctionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFunctionValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_UpdateGraphqlApi.go b/service/appsync/api_op_UpdateGraphqlApi.go index 9a03e600055..f1ccf0b2986 100644 --- a/service/appsync/api_op_UpdateGraphqlApi.go +++ b/service/appsync/api_op_UpdateGraphqlApi.go @@ -181,9 +181,6 @@ func (c *Client) addOperationUpdateGraphqlApiMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateGraphqlApiValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_UpdateResolver.go b/service/appsync/api_op_UpdateResolver.go index d71ea13baf7..5586ba50ffc 100644 --- a/service/appsync/api_op_UpdateResolver.go +++ b/service/appsync/api_op_UpdateResolver.go @@ -180,9 +180,6 @@ func (c *Client) addOperationUpdateResolverMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateResolverValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_UpdateSourceApiAssociation.go b/service/appsync/api_op_UpdateSourceApiAssociation.go index 3a24c0cfc75..ce15a49da57 100644 --- a/service/appsync/api_op_UpdateSourceApiAssociation.go +++ b/service/appsync/api_op_UpdateSourceApiAssociation.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateSourceApiAssociationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSourceApiAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/api_op_UpdateType.go b/service/appsync/api_op_UpdateType.go index 6045175f9a7..240d0df4e2d 100644 --- a/service/appsync/api_op_UpdateType.go +++ b/service/appsync/api_op_UpdateType.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateTypeMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/appsync/snapshot/api_op_AssociateApi.go.snap b/service/appsync/snapshot/api_op_AssociateApi.go.snap index 0d8eece9050..621ed1372de 100644 --- a/service/appsync/snapshot/api_op_AssociateApi.go.snap +++ b/service/appsync/snapshot/api_op_AssociateApi.go.snap @@ -14,7 +14,6 @@ AssociateApi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_AssociateMergedGraphqlApi.go.snap b/service/appsync/snapshot/api_op_AssociateMergedGraphqlApi.go.snap index 4ac9afca4e6..30a402380c5 100644 --- a/service/appsync/snapshot/api_op_AssociateMergedGraphqlApi.go.snap +++ b/service/appsync/snapshot/api_op_AssociateMergedGraphqlApi.go.snap @@ -14,7 +14,6 @@ AssociateMergedGraphqlApi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_AssociateSourceGraphqlApi.go.snap b/service/appsync/snapshot/api_op_AssociateSourceGraphqlApi.go.snap index 0bafd024f4d..cc8cfa64f59 100644 --- a/service/appsync/snapshot/api_op_AssociateSourceGraphqlApi.go.snap +++ b/service/appsync/snapshot/api_op_AssociateSourceGraphqlApi.go.snap @@ -14,7 +14,6 @@ AssociateSourceGraphqlApi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_CreateApi.go.snap b/service/appsync/snapshot/api_op_CreateApi.go.snap index c86fe52f9de..54f3f19238c 100644 --- a/service/appsync/snapshot/api_op_CreateApi.go.snap +++ b/service/appsync/snapshot/api_op_CreateApi.go.snap @@ -14,7 +14,6 @@ CreateApi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_CreateApiCache.go.snap b/service/appsync/snapshot/api_op_CreateApiCache.go.snap index a5baba2effb..f356498633d 100644 --- a/service/appsync/snapshot/api_op_CreateApiCache.go.snap +++ b/service/appsync/snapshot/api_op_CreateApiCache.go.snap @@ -14,7 +14,6 @@ CreateApiCache Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_CreateApiKey.go.snap b/service/appsync/snapshot/api_op_CreateApiKey.go.snap index 32d8210bdfc..696e8b0027e 100644 --- a/service/appsync/snapshot/api_op_CreateApiKey.go.snap +++ b/service/appsync/snapshot/api_op_CreateApiKey.go.snap @@ -14,7 +14,6 @@ CreateApiKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_CreateChannelNamespace.go.snap b/service/appsync/snapshot/api_op_CreateChannelNamespace.go.snap index 52800481b5d..b7d160c4b4a 100644 --- a/service/appsync/snapshot/api_op_CreateChannelNamespace.go.snap +++ b/service/appsync/snapshot/api_op_CreateChannelNamespace.go.snap @@ -14,7 +14,6 @@ CreateChannelNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_CreateDataSource.go.snap b/service/appsync/snapshot/api_op_CreateDataSource.go.snap index 940184e6ce1..26975d703c9 100644 --- a/service/appsync/snapshot/api_op_CreateDataSource.go.snap +++ b/service/appsync/snapshot/api_op_CreateDataSource.go.snap @@ -14,7 +14,6 @@ CreateDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_CreateDomainName.go.snap b/service/appsync/snapshot/api_op_CreateDomainName.go.snap index d0379086de7..0462bf307f9 100644 --- a/service/appsync/snapshot/api_op_CreateDomainName.go.snap +++ b/service/appsync/snapshot/api_op_CreateDomainName.go.snap @@ -14,7 +14,6 @@ CreateDomainName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_CreateFunction.go.snap b/service/appsync/snapshot/api_op_CreateFunction.go.snap index f9c9ef13a79..7d115afcd10 100644 --- a/service/appsync/snapshot/api_op_CreateFunction.go.snap +++ b/service/appsync/snapshot/api_op_CreateFunction.go.snap @@ -14,7 +14,6 @@ CreateFunction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_CreateGraphqlApi.go.snap b/service/appsync/snapshot/api_op_CreateGraphqlApi.go.snap index 27393c92925..b51d065d296 100644 --- a/service/appsync/snapshot/api_op_CreateGraphqlApi.go.snap +++ b/service/appsync/snapshot/api_op_CreateGraphqlApi.go.snap @@ -14,7 +14,6 @@ CreateGraphqlApi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_CreateResolver.go.snap b/service/appsync/snapshot/api_op_CreateResolver.go.snap index 97b2aef2e6b..5a64f301923 100644 --- a/service/appsync/snapshot/api_op_CreateResolver.go.snap +++ b/service/appsync/snapshot/api_op_CreateResolver.go.snap @@ -14,7 +14,6 @@ CreateResolver Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_CreateType.go.snap b/service/appsync/snapshot/api_op_CreateType.go.snap index 67cf12b9b85..aeb50abf3f0 100644 --- a/service/appsync/snapshot/api_op_CreateType.go.snap +++ b/service/appsync/snapshot/api_op_CreateType.go.snap @@ -14,7 +14,6 @@ CreateType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_DeleteApi.go.snap b/service/appsync/snapshot/api_op_DeleteApi.go.snap index 15776b88e70..58e59958509 100644 --- a/service/appsync/snapshot/api_op_DeleteApi.go.snap +++ b/service/appsync/snapshot/api_op_DeleteApi.go.snap @@ -14,7 +14,6 @@ DeleteApi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_DeleteApiCache.go.snap b/service/appsync/snapshot/api_op_DeleteApiCache.go.snap index 0690e5f0ad0..ef55ae06e12 100644 --- a/service/appsync/snapshot/api_op_DeleteApiCache.go.snap +++ b/service/appsync/snapshot/api_op_DeleteApiCache.go.snap @@ -14,7 +14,6 @@ DeleteApiCache Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_DeleteApiKey.go.snap b/service/appsync/snapshot/api_op_DeleteApiKey.go.snap index b5a5b693765..156194de7e4 100644 --- a/service/appsync/snapshot/api_op_DeleteApiKey.go.snap +++ b/service/appsync/snapshot/api_op_DeleteApiKey.go.snap @@ -14,7 +14,6 @@ DeleteApiKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_DeleteChannelNamespace.go.snap b/service/appsync/snapshot/api_op_DeleteChannelNamespace.go.snap index f0ac7eb07cd..d0555002e2e 100644 --- a/service/appsync/snapshot/api_op_DeleteChannelNamespace.go.snap +++ b/service/appsync/snapshot/api_op_DeleteChannelNamespace.go.snap @@ -14,7 +14,6 @@ DeleteChannelNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_DeleteDataSource.go.snap b/service/appsync/snapshot/api_op_DeleteDataSource.go.snap index 4c10faa3f53..e6bf94d552e 100644 --- a/service/appsync/snapshot/api_op_DeleteDataSource.go.snap +++ b/service/appsync/snapshot/api_op_DeleteDataSource.go.snap @@ -14,7 +14,6 @@ DeleteDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_DeleteDomainName.go.snap b/service/appsync/snapshot/api_op_DeleteDomainName.go.snap index 4b6d086a914..b9235856f40 100644 --- a/service/appsync/snapshot/api_op_DeleteDomainName.go.snap +++ b/service/appsync/snapshot/api_op_DeleteDomainName.go.snap @@ -14,7 +14,6 @@ DeleteDomainName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_DeleteFunction.go.snap b/service/appsync/snapshot/api_op_DeleteFunction.go.snap index 4fd033d8ed6..7e2aca5451a 100644 --- a/service/appsync/snapshot/api_op_DeleteFunction.go.snap +++ b/service/appsync/snapshot/api_op_DeleteFunction.go.snap @@ -14,7 +14,6 @@ DeleteFunction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_DeleteGraphqlApi.go.snap b/service/appsync/snapshot/api_op_DeleteGraphqlApi.go.snap index 9bf89f8c255..24614556ee7 100644 --- a/service/appsync/snapshot/api_op_DeleteGraphqlApi.go.snap +++ b/service/appsync/snapshot/api_op_DeleteGraphqlApi.go.snap @@ -14,7 +14,6 @@ DeleteGraphqlApi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_DeleteResolver.go.snap b/service/appsync/snapshot/api_op_DeleteResolver.go.snap index 4abec271980..79eaa7f4930 100644 --- a/service/appsync/snapshot/api_op_DeleteResolver.go.snap +++ b/service/appsync/snapshot/api_op_DeleteResolver.go.snap @@ -14,7 +14,6 @@ DeleteResolver Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_DeleteType.go.snap b/service/appsync/snapshot/api_op_DeleteType.go.snap index c4b5e1c4040..0e75338235d 100644 --- a/service/appsync/snapshot/api_op_DeleteType.go.snap +++ b/service/appsync/snapshot/api_op_DeleteType.go.snap @@ -14,7 +14,6 @@ DeleteType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_DisassociateApi.go.snap b/service/appsync/snapshot/api_op_DisassociateApi.go.snap index 0665ebb096f..b5d2b1a1f68 100644 --- a/service/appsync/snapshot/api_op_DisassociateApi.go.snap +++ b/service/appsync/snapshot/api_op_DisassociateApi.go.snap @@ -14,7 +14,6 @@ DisassociateApi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_DisassociateMergedGraphqlApi.go.snap b/service/appsync/snapshot/api_op_DisassociateMergedGraphqlApi.go.snap index 93cd5ebd7f6..19dc239ee62 100644 --- a/service/appsync/snapshot/api_op_DisassociateMergedGraphqlApi.go.snap +++ b/service/appsync/snapshot/api_op_DisassociateMergedGraphqlApi.go.snap @@ -14,7 +14,6 @@ DisassociateMergedGraphqlApi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_DisassociateSourceGraphqlApi.go.snap b/service/appsync/snapshot/api_op_DisassociateSourceGraphqlApi.go.snap index f38cad39751..a968ff548ce 100644 --- a/service/appsync/snapshot/api_op_DisassociateSourceGraphqlApi.go.snap +++ b/service/appsync/snapshot/api_op_DisassociateSourceGraphqlApi.go.snap @@ -14,7 +14,6 @@ DisassociateSourceGraphqlApi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_EvaluateCode.go.snap b/service/appsync/snapshot/api_op_EvaluateCode.go.snap index aadc2ed4aae..9388d7bc460 100644 --- a/service/appsync/snapshot/api_op_EvaluateCode.go.snap +++ b/service/appsync/snapshot/api_op_EvaluateCode.go.snap @@ -14,7 +14,6 @@ EvaluateCode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_EvaluateMappingTemplate.go.snap b/service/appsync/snapshot/api_op_EvaluateMappingTemplate.go.snap index 516cbeb9050..30554990dd0 100644 --- a/service/appsync/snapshot/api_op_EvaluateMappingTemplate.go.snap +++ b/service/appsync/snapshot/api_op_EvaluateMappingTemplate.go.snap @@ -14,7 +14,6 @@ EvaluateMappingTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_FlushApiCache.go.snap b/service/appsync/snapshot/api_op_FlushApiCache.go.snap index 0fc42e2fc32..3c4989c3f66 100644 --- a/service/appsync/snapshot/api_op_FlushApiCache.go.snap +++ b/service/appsync/snapshot/api_op_FlushApiCache.go.snap @@ -14,7 +14,6 @@ FlushApiCache Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_GetApi.go.snap b/service/appsync/snapshot/api_op_GetApi.go.snap index f6de5cdb937..0941cd07e08 100644 --- a/service/appsync/snapshot/api_op_GetApi.go.snap +++ b/service/appsync/snapshot/api_op_GetApi.go.snap @@ -14,7 +14,6 @@ GetApi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_GetApiAssociation.go.snap b/service/appsync/snapshot/api_op_GetApiAssociation.go.snap index eee0e4dc463..0160f3d1234 100644 --- a/service/appsync/snapshot/api_op_GetApiAssociation.go.snap +++ b/service/appsync/snapshot/api_op_GetApiAssociation.go.snap @@ -14,7 +14,6 @@ GetApiAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_GetApiCache.go.snap b/service/appsync/snapshot/api_op_GetApiCache.go.snap index ed6fcffceb4..4665228f2f3 100644 --- a/service/appsync/snapshot/api_op_GetApiCache.go.snap +++ b/service/appsync/snapshot/api_op_GetApiCache.go.snap @@ -14,7 +14,6 @@ GetApiCache Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_GetChannelNamespace.go.snap b/service/appsync/snapshot/api_op_GetChannelNamespace.go.snap index 42475d4a025..38fbb40e735 100644 --- a/service/appsync/snapshot/api_op_GetChannelNamespace.go.snap +++ b/service/appsync/snapshot/api_op_GetChannelNamespace.go.snap @@ -14,7 +14,6 @@ GetChannelNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_GetDataSource.go.snap b/service/appsync/snapshot/api_op_GetDataSource.go.snap index 02f70812fc1..710bc995cac 100644 --- a/service/appsync/snapshot/api_op_GetDataSource.go.snap +++ b/service/appsync/snapshot/api_op_GetDataSource.go.snap @@ -14,7 +14,6 @@ GetDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_GetDataSourceIntrospection.go.snap b/service/appsync/snapshot/api_op_GetDataSourceIntrospection.go.snap index fdfd737119c..aa0605e457c 100644 --- a/service/appsync/snapshot/api_op_GetDataSourceIntrospection.go.snap +++ b/service/appsync/snapshot/api_op_GetDataSourceIntrospection.go.snap @@ -14,7 +14,6 @@ GetDataSourceIntrospection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_GetDomainName.go.snap b/service/appsync/snapshot/api_op_GetDomainName.go.snap index cde748f6b34..5e59f5f503b 100644 --- a/service/appsync/snapshot/api_op_GetDomainName.go.snap +++ b/service/appsync/snapshot/api_op_GetDomainName.go.snap @@ -14,7 +14,6 @@ GetDomainName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_GetFunction.go.snap b/service/appsync/snapshot/api_op_GetFunction.go.snap index be354927f8e..9022f391f26 100644 --- a/service/appsync/snapshot/api_op_GetFunction.go.snap +++ b/service/appsync/snapshot/api_op_GetFunction.go.snap @@ -14,7 +14,6 @@ GetFunction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_GetGraphqlApi.go.snap b/service/appsync/snapshot/api_op_GetGraphqlApi.go.snap index 2d8680c3df5..b132cf8f44c 100644 --- a/service/appsync/snapshot/api_op_GetGraphqlApi.go.snap +++ b/service/appsync/snapshot/api_op_GetGraphqlApi.go.snap @@ -14,7 +14,6 @@ GetGraphqlApi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_GetGraphqlApiEnvironmentVariables.go.snap b/service/appsync/snapshot/api_op_GetGraphqlApiEnvironmentVariables.go.snap index 81697962d2b..e2ca855c3dd 100644 --- a/service/appsync/snapshot/api_op_GetGraphqlApiEnvironmentVariables.go.snap +++ b/service/appsync/snapshot/api_op_GetGraphqlApiEnvironmentVariables.go.snap @@ -14,7 +14,6 @@ GetGraphqlApiEnvironmentVariables Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_GetIntrospectionSchema.go.snap b/service/appsync/snapshot/api_op_GetIntrospectionSchema.go.snap index 73744023f8b..a79a0b4c3f2 100644 --- a/service/appsync/snapshot/api_op_GetIntrospectionSchema.go.snap +++ b/service/appsync/snapshot/api_op_GetIntrospectionSchema.go.snap @@ -14,7 +14,6 @@ GetIntrospectionSchema Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_GetResolver.go.snap b/service/appsync/snapshot/api_op_GetResolver.go.snap index eca5b5b4810..60bd803feb7 100644 --- a/service/appsync/snapshot/api_op_GetResolver.go.snap +++ b/service/appsync/snapshot/api_op_GetResolver.go.snap @@ -14,7 +14,6 @@ GetResolver Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_GetSchemaCreationStatus.go.snap b/service/appsync/snapshot/api_op_GetSchemaCreationStatus.go.snap index 44a69716a65..5791aff90c7 100644 --- a/service/appsync/snapshot/api_op_GetSchemaCreationStatus.go.snap +++ b/service/appsync/snapshot/api_op_GetSchemaCreationStatus.go.snap @@ -14,7 +14,6 @@ GetSchemaCreationStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_GetSourceApiAssociation.go.snap b/service/appsync/snapshot/api_op_GetSourceApiAssociation.go.snap index 91612804f42..a5096a09f92 100644 --- a/service/appsync/snapshot/api_op_GetSourceApiAssociation.go.snap +++ b/service/appsync/snapshot/api_op_GetSourceApiAssociation.go.snap @@ -14,7 +14,6 @@ GetSourceApiAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_GetType.go.snap b/service/appsync/snapshot/api_op_GetType.go.snap index f134b1f18bf..5a9fd791d2d 100644 --- a/service/appsync/snapshot/api_op_GetType.go.snap +++ b/service/appsync/snapshot/api_op_GetType.go.snap @@ -14,7 +14,6 @@ GetType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_ListApiKeys.go.snap b/service/appsync/snapshot/api_op_ListApiKeys.go.snap index 4c7f487fdd2..75cb11b1d6e 100644 --- a/service/appsync/snapshot/api_op_ListApiKeys.go.snap +++ b/service/appsync/snapshot/api_op_ListApiKeys.go.snap @@ -14,7 +14,6 @@ ListApiKeys Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_ListApis.go.snap b/service/appsync/snapshot/api_op_ListApis.go.snap index 6b1ae81eadf..34bb6de58a0 100644 --- a/service/appsync/snapshot/api_op_ListApis.go.snap +++ b/service/appsync/snapshot/api_op_ListApis.go.snap @@ -13,7 +13,6 @@ ListApis Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_ListChannelNamespaces.go.snap b/service/appsync/snapshot/api_op_ListChannelNamespaces.go.snap index 0d11c8e7106..31bf887d5dd 100644 --- a/service/appsync/snapshot/api_op_ListChannelNamespaces.go.snap +++ b/service/appsync/snapshot/api_op_ListChannelNamespaces.go.snap @@ -14,7 +14,6 @@ ListChannelNamespaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_ListDataSources.go.snap b/service/appsync/snapshot/api_op_ListDataSources.go.snap index c47a00675e6..2ef138c6eb5 100644 --- a/service/appsync/snapshot/api_op_ListDataSources.go.snap +++ b/service/appsync/snapshot/api_op_ListDataSources.go.snap @@ -14,7 +14,6 @@ ListDataSources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_ListDomainNames.go.snap b/service/appsync/snapshot/api_op_ListDomainNames.go.snap index 4a7e5309986..41390e6e2df 100644 --- a/service/appsync/snapshot/api_op_ListDomainNames.go.snap +++ b/service/appsync/snapshot/api_op_ListDomainNames.go.snap @@ -13,7 +13,6 @@ ListDomainNames Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_ListFunctions.go.snap b/service/appsync/snapshot/api_op_ListFunctions.go.snap index f0a821e66b1..e292486b923 100644 --- a/service/appsync/snapshot/api_op_ListFunctions.go.snap +++ b/service/appsync/snapshot/api_op_ListFunctions.go.snap @@ -14,7 +14,6 @@ ListFunctions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_ListGraphqlApis.go.snap b/service/appsync/snapshot/api_op_ListGraphqlApis.go.snap index 9313e537f14..0216ed0fded 100644 --- a/service/appsync/snapshot/api_op_ListGraphqlApis.go.snap +++ b/service/appsync/snapshot/api_op_ListGraphqlApis.go.snap @@ -13,7 +13,6 @@ ListGraphqlApis Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_ListResolvers.go.snap b/service/appsync/snapshot/api_op_ListResolvers.go.snap index caf0319f6fc..b5e667797e0 100644 --- a/service/appsync/snapshot/api_op_ListResolvers.go.snap +++ b/service/appsync/snapshot/api_op_ListResolvers.go.snap @@ -14,7 +14,6 @@ ListResolvers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_ListResolversByFunction.go.snap b/service/appsync/snapshot/api_op_ListResolversByFunction.go.snap index b59ad7f89c3..07df9dbbe21 100644 --- a/service/appsync/snapshot/api_op_ListResolversByFunction.go.snap +++ b/service/appsync/snapshot/api_op_ListResolversByFunction.go.snap @@ -14,7 +14,6 @@ ListResolversByFunction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_ListSourceApiAssociations.go.snap b/service/appsync/snapshot/api_op_ListSourceApiAssociations.go.snap index 015c9d57f46..797cc85ee72 100644 --- a/service/appsync/snapshot/api_op_ListSourceApiAssociations.go.snap +++ b/service/appsync/snapshot/api_op_ListSourceApiAssociations.go.snap @@ -14,7 +14,6 @@ ListSourceApiAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_ListTagsForResource.go.snap b/service/appsync/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/appsync/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/appsync/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_ListTypes.go.snap b/service/appsync/snapshot/api_op_ListTypes.go.snap index e762360edc0..5e386c7b538 100644 --- a/service/appsync/snapshot/api_op_ListTypes.go.snap +++ b/service/appsync/snapshot/api_op_ListTypes.go.snap @@ -14,7 +14,6 @@ ListTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_ListTypesByAssociation.go.snap b/service/appsync/snapshot/api_op_ListTypesByAssociation.go.snap index ff507bcfcb4..0cb4217f4fa 100644 --- a/service/appsync/snapshot/api_op_ListTypesByAssociation.go.snap +++ b/service/appsync/snapshot/api_op_ListTypesByAssociation.go.snap @@ -14,7 +14,6 @@ ListTypesByAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_PutGraphqlApiEnvironmentVariables.go.snap b/service/appsync/snapshot/api_op_PutGraphqlApiEnvironmentVariables.go.snap index 9f919f705b7..8f5cd00b0da 100644 --- a/service/appsync/snapshot/api_op_PutGraphqlApiEnvironmentVariables.go.snap +++ b/service/appsync/snapshot/api_op_PutGraphqlApiEnvironmentVariables.go.snap @@ -14,7 +14,6 @@ PutGraphqlApiEnvironmentVariables Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_StartDataSourceIntrospection.go.snap b/service/appsync/snapshot/api_op_StartDataSourceIntrospection.go.snap index 1f1d528f195..3dc3bb1e06b 100644 --- a/service/appsync/snapshot/api_op_StartDataSourceIntrospection.go.snap +++ b/service/appsync/snapshot/api_op_StartDataSourceIntrospection.go.snap @@ -14,7 +14,6 @@ StartDataSourceIntrospection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_StartSchemaCreation.go.snap b/service/appsync/snapshot/api_op_StartSchemaCreation.go.snap index b32aadc2458..e94980c2b05 100644 --- a/service/appsync/snapshot/api_op_StartSchemaCreation.go.snap +++ b/service/appsync/snapshot/api_op_StartSchemaCreation.go.snap @@ -14,7 +14,6 @@ StartSchemaCreation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_StartSchemaMerge.go.snap b/service/appsync/snapshot/api_op_StartSchemaMerge.go.snap index 5ffa275f437..3bf8e435ede 100644 --- a/service/appsync/snapshot/api_op_StartSchemaMerge.go.snap +++ b/service/appsync/snapshot/api_op_StartSchemaMerge.go.snap @@ -14,7 +14,6 @@ StartSchemaMerge Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_TagResource.go.snap b/service/appsync/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/appsync/snapshot/api_op_TagResource.go.snap +++ b/service/appsync/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_UntagResource.go.snap b/service/appsync/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/appsync/snapshot/api_op_UntagResource.go.snap +++ b/service/appsync/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_UpdateApi.go.snap b/service/appsync/snapshot/api_op_UpdateApi.go.snap index 2069a579074..579c92d50c7 100644 --- a/service/appsync/snapshot/api_op_UpdateApi.go.snap +++ b/service/appsync/snapshot/api_op_UpdateApi.go.snap @@ -14,7 +14,6 @@ UpdateApi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_UpdateApiCache.go.snap b/service/appsync/snapshot/api_op_UpdateApiCache.go.snap index 88bac40f0c9..15589eecafc 100644 --- a/service/appsync/snapshot/api_op_UpdateApiCache.go.snap +++ b/service/appsync/snapshot/api_op_UpdateApiCache.go.snap @@ -14,7 +14,6 @@ UpdateApiCache Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_UpdateApiKey.go.snap b/service/appsync/snapshot/api_op_UpdateApiKey.go.snap index e91283c62fb..9b30222003e 100644 --- a/service/appsync/snapshot/api_op_UpdateApiKey.go.snap +++ b/service/appsync/snapshot/api_op_UpdateApiKey.go.snap @@ -14,7 +14,6 @@ UpdateApiKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_UpdateChannelNamespace.go.snap b/service/appsync/snapshot/api_op_UpdateChannelNamespace.go.snap index a9208f12314..ecb707abd39 100644 --- a/service/appsync/snapshot/api_op_UpdateChannelNamespace.go.snap +++ b/service/appsync/snapshot/api_op_UpdateChannelNamespace.go.snap @@ -14,7 +14,6 @@ UpdateChannelNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_UpdateDataSource.go.snap b/service/appsync/snapshot/api_op_UpdateDataSource.go.snap index 7c4d5cf15b4..02ae762c076 100644 --- a/service/appsync/snapshot/api_op_UpdateDataSource.go.snap +++ b/service/appsync/snapshot/api_op_UpdateDataSource.go.snap @@ -14,7 +14,6 @@ UpdateDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_UpdateDomainName.go.snap b/service/appsync/snapshot/api_op_UpdateDomainName.go.snap index 32cf0ecc9c8..4d8382b821e 100644 --- a/service/appsync/snapshot/api_op_UpdateDomainName.go.snap +++ b/service/appsync/snapshot/api_op_UpdateDomainName.go.snap @@ -14,7 +14,6 @@ UpdateDomainName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_UpdateFunction.go.snap b/service/appsync/snapshot/api_op_UpdateFunction.go.snap index 0551c182c35..f4edf2f5283 100644 --- a/service/appsync/snapshot/api_op_UpdateFunction.go.snap +++ b/service/appsync/snapshot/api_op_UpdateFunction.go.snap @@ -14,7 +14,6 @@ UpdateFunction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_UpdateGraphqlApi.go.snap b/service/appsync/snapshot/api_op_UpdateGraphqlApi.go.snap index e5049d56796..aeb69c02c32 100644 --- a/service/appsync/snapshot/api_op_UpdateGraphqlApi.go.snap +++ b/service/appsync/snapshot/api_op_UpdateGraphqlApi.go.snap @@ -14,7 +14,6 @@ UpdateGraphqlApi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_UpdateResolver.go.snap b/service/appsync/snapshot/api_op_UpdateResolver.go.snap index 6bf305a8d37..00352b2e479 100644 --- a/service/appsync/snapshot/api_op_UpdateResolver.go.snap +++ b/service/appsync/snapshot/api_op_UpdateResolver.go.snap @@ -14,7 +14,6 @@ UpdateResolver Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_UpdateSourceApiAssociation.go.snap b/service/appsync/snapshot/api_op_UpdateSourceApiAssociation.go.snap index 3ce5fe451bc..ece96ea87a2 100644 --- a/service/appsync/snapshot/api_op_UpdateSourceApiAssociation.go.snap +++ b/service/appsync/snapshot/api_op_UpdateSourceApiAssociation.go.snap @@ -14,7 +14,6 @@ UpdateSourceApiAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/appsync/snapshot/api_op_UpdateType.go.snap b/service/appsync/snapshot/api_op_UpdateType.go.snap index 8f52745ff46..a2265c68fe5 100644 --- a/service/appsync/snapshot/api_op_UpdateType.go.snap +++ b/service/appsync/snapshot/api_op_UpdateType.go.snap @@ -14,7 +14,6 @@ UpdateType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apptest/api_client.go b/service/apptest/api_client.go index a1b108ddadd..123443a4c17 100644 --- a/service/apptest/api_client.go +++ b/service/apptest/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/apptest/api_op_CreateTestCase.go b/service/apptest/api_op_CreateTestCase.go index c10cc0ed756..fcbe0b8d816 100644 --- a/service/apptest/api_op_CreateTestCase.go +++ b/service/apptest/api_op_CreateTestCase.go @@ -133,9 +133,6 @@ func (c *Client) addOperationCreateTestCaseMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateTestCaseMiddleware(stack, options); err != nil { return err } diff --git a/service/apptest/api_op_CreateTestConfiguration.go b/service/apptest/api_op_CreateTestConfiguration.go index 49d59b6dc39..bbec356a837 100644 --- a/service/apptest/api_op_CreateTestConfiguration.go +++ b/service/apptest/api_op_CreateTestConfiguration.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateTestConfigurationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateTestConfigurationMiddleware(stack, options); err != nil { return err } diff --git a/service/apptest/api_op_CreateTestSuite.go b/service/apptest/api_op_CreateTestSuite.go index 16ef14bfae1..c90bdb7a5ab 100644 --- a/service/apptest/api_op_CreateTestSuite.go +++ b/service/apptest/api_op_CreateTestSuite.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateTestSuiteMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateTestSuiteMiddleware(stack, options); err != nil { return err } diff --git a/service/apptest/api_op_DeleteTestCase.go b/service/apptest/api_op_DeleteTestCase.go index 5087cdeb776..232be7c6c3e 100644 --- a/service/apptest/api_op_DeleteTestCase.go +++ b/service/apptest/api_op_DeleteTestCase.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteTestCaseMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTestCaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/apptest/api_op_DeleteTestConfiguration.go b/service/apptest/api_op_DeleteTestConfiguration.go index 5fd8146265a..a9e7022e85b 100644 --- a/service/apptest/api_op_DeleteTestConfiguration.go +++ b/service/apptest/api_op_DeleteTestConfiguration.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteTestConfigurationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTestConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/apptest/api_op_DeleteTestRun.go b/service/apptest/api_op_DeleteTestRun.go index eb30b399657..a14b7e824c0 100644 --- a/service/apptest/api_op_DeleteTestRun.go +++ b/service/apptest/api_op_DeleteTestRun.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteTestRunMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTestRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/apptest/api_op_DeleteTestSuite.go b/service/apptest/api_op_DeleteTestSuite.go index 98eab46cc4d..7c33dbca7e2 100644 --- a/service/apptest/api_op_DeleteTestSuite.go +++ b/service/apptest/api_op_DeleteTestSuite.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteTestSuiteMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTestSuiteValidationMiddleware(stack); err != nil { return err } diff --git a/service/apptest/api_op_GetTestCase.go b/service/apptest/api_op_GetTestCase.go index 6efdf08901e..91564b9891c 100644 --- a/service/apptest/api_op_GetTestCase.go +++ b/service/apptest/api_op_GetTestCase.go @@ -167,9 +167,6 @@ func (c *Client) addOperationGetTestCaseMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTestCaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/apptest/api_op_GetTestConfiguration.go b/service/apptest/api_op_GetTestConfiguration.go index 8957a399afe..3ad83eeaa12 100644 --- a/service/apptest/api_op_GetTestConfiguration.go +++ b/service/apptest/api_op_GetTestConfiguration.go @@ -175,9 +175,6 @@ func (c *Client) addOperationGetTestConfigurationMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTestConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/apptest/api_op_GetTestRunStep.go b/service/apptest/api_op_GetTestRunStep.go index d8b4d996b35..a419dc7922f 100644 --- a/service/apptest/api_op_GetTestRunStep.go +++ b/service/apptest/api_op_GetTestRunStep.go @@ -168,9 +168,6 @@ func (c *Client) addOperationGetTestRunStepMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTestRunStepValidationMiddleware(stack); err != nil { return err } diff --git a/service/apptest/api_op_GetTestSuite.go b/service/apptest/api_op_GetTestSuite.go index d2de79f714a..8c5d74426a9 100644 --- a/service/apptest/api_op_GetTestSuite.go +++ b/service/apptest/api_op_GetTestSuite.go @@ -175,9 +175,6 @@ func (c *Client) addOperationGetTestSuiteMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTestSuiteValidationMiddleware(stack); err != nil { return err } diff --git a/service/apptest/api_op_ListTagsForResource.go b/service/apptest/api_op_ListTagsForResource.go index ccc86efcdbe..f007f6c4c6d 100644 --- a/service/apptest/api_op_ListTagsForResource.go +++ b/service/apptest/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/apptest/api_op_ListTestCases.go b/service/apptest/api_op_ListTestCases.go index 3313765a002..5879bf76009 100644 --- a/service/apptest/api_op_ListTestCases.go +++ b/service/apptest/api_op_ListTestCases.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListTestCasesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTestCases(options.Region), middleware.Before); err != nil { return err } diff --git a/service/apptest/api_op_ListTestConfigurations.go b/service/apptest/api_op_ListTestConfigurations.go index 2a55f6f01d1..773a762fadd 100644 --- a/service/apptest/api_op_ListTestConfigurations.go +++ b/service/apptest/api_op_ListTestConfigurations.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListTestConfigurationsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTestConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/apptest/api_op_ListTestRunSteps.go b/service/apptest/api_op_ListTestRunSteps.go index b4223c8eec8..d55268e88e3 100644 --- a/service/apptest/api_op_ListTestRunSteps.go +++ b/service/apptest/api_op_ListTestRunSteps.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListTestRunStepsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTestRunStepsValidationMiddleware(stack); err != nil { return err } diff --git a/service/apptest/api_op_ListTestRunTestCases.go b/service/apptest/api_op_ListTestRunTestCases.go index 934b5424397..f41c11d47ed 100644 --- a/service/apptest/api_op_ListTestRunTestCases.go +++ b/service/apptest/api_op_ListTestRunTestCases.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListTestRunTestCasesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTestRunTestCasesValidationMiddleware(stack); err != nil { return err } diff --git a/service/apptest/api_op_ListTestRuns.go b/service/apptest/api_op_ListTestRuns.go index 092ed8ee940..c2a5c235da2 100644 --- a/service/apptest/api_op_ListTestRuns.go +++ b/service/apptest/api_op_ListTestRuns.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListTestRunsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTestRuns(options.Region), middleware.Before); err != nil { return err } diff --git a/service/apptest/api_op_ListTestSuites.go b/service/apptest/api_op_ListTestSuites.go index bb93f2861a9..a587fef09dc 100644 --- a/service/apptest/api_op_ListTestSuites.go +++ b/service/apptest/api_op_ListTestSuites.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListTestSuitesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTestSuites(options.Region), middleware.Before); err != nil { return err } diff --git a/service/apptest/api_op_StartTestRun.go b/service/apptest/api_op_StartTestRun.go index dc8007db358..969a8bc8ede 100644 --- a/service/apptest/api_op_StartTestRun.go +++ b/service/apptest/api_op_StartTestRun.go @@ -128,9 +128,6 @@ func (c *Client) addOperationStartTestRunMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartTestRunMiddleware(stack, options); err != nil { return err } diff --git a/service/apptest/api_op_TagResource.go b/service/apptest/api_op_TagResource.go index 411c4fa9ecb..dcd1b29404b 100644 --- a/service/apptest/api_op_TagResource.go +++ b/service/apptest/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/apptest/api_op_UntagResource.go b/service/apptest/api_op_UntagResource.go index 558b0338efd..f24d98b7bdd 100644 --- a/service/apptest/api_op_UntagResource.go +++ b/service/apptest/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/apptest/api_op_UpdateTestCase.go b/service/apptest/api_op_UpdateTestCase.go index 4cbac8864be..00d4dee02e0 100644 --- a/service/apptest/api_op_UpdateTestCase.go +++ b/service/apptest/api_op_UpdateTestCase.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateTestCaseMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTestCaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/apptest/api_op_UpdateTestConfiguration.go b/service/apptest/api_op_UpdateTestConfiguration.go index 51f8f80754f..23a5a4b1a12 100644 --- a/service/apptest/api_op_UpdateTestConfiguration.go +++ b/service/apptest/api_op_UpdateTestConfiguration.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateTestConfigurationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTestConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/apptest/api_op_UpdateTestSuite.go b/service/apptest/api_op_UpdateTestSuite.go index fd31b2ea80d..7b9e6e020ee 100644 --- a/service/apptest/api_op_UpdateTestSuite.go +++ b/service/apptest/api_op_UpdateTestSuite.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUpdateTestSuiteMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTestSuiteValidationMiddleware(stack); err != nil { return err } diff --git a/service/apptest/snapshot/api_op_CreateTestCase.go.snap b/service/apptest/snapshot/api_op_CreateTestCase.go.snap index caa228f570c..e725b113db7 100644 --- a/service/apptest/snapshot/api_op_CreateTestCase.go.snap +++ b/service/apptest/snapshot/api_op_CreateTestCase.go.snap @@ -15,7 +15,6 @@ CreateTestCase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apptest/snapshot/api_op_CreateTestConfiguration.go.snap b/service/apptest/snapshot/api_op_CreateTestConfiguration.go.snap index df8857d9837..22184669d4e 100644 --- a/service/apptest/snapshot/api_op_CreateTestConfiguration.go.snap +++ b/service/apptest/snapshot/api_op_CreateTestConfiguration.go.snap @@ -15,7 +15,6 @@ CreateTestConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apptest/snapshot/api_op_CreateTestSuite.go.snap b/service/apptest/snapshot/api_op_CreateTestSuite.go.snap index 311d5592f8e..08f185608b3 100644 --- a/service/apptest/snapshot/api_op_CreateTestSuite.go.snap +++ b/service/apptest/snapshot/api_op_CreateTestSuite.go.snap @@ -15,7 +15,6 @@ CreateTestSuite Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apptest/snapshot/api_op_DeleteTestCase.go.snap b/service/apptest/snapshot/api_op_DeleteTestCase.go.snap index 8d0739d0c98..17ee7cce92d 100644 --- a/service/apptest/snapshot/api_op_DeleteTestCase.go.snap +++ b/service/apptest/snapshot/api_op_DeleteTestCase.go.snap @@ -14,7 +14,6 @@ DeleteTestCase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apptest/snapshot/api_op_DeleteTestConfiguration.go.snap b/service/apptest/snapshot/api_op_DeleteTestConfiguration.go.snap index dcd8b95dbcd..341be81af27 100644 --- a/service/apptest/snapshot/api_op_DeleteTestConfiguration.go.snap +++ b/service/apptest/snapshot/api_op_DeleteTestConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteTestConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apptest/snapshot/api_op_DeleteTestRun.go.snap b/service/apptest/snapshot/api_op_DeleteTestRun.go.snap index d4b3e1bd9c2..30f22a13b0a 100644 --- a/service/apptest/snapshot/api_op_DeleteTestRun.go.snap +++ b/service/apptest/snapshot/api_op_DeleteTestRun.go.snap @@ -14,7 +14,6 @@ DeleteTestRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apptest/snapshot/api_op_DeleteTestSuite.go.snap b/service/apptest/snapshot/api_op_DeleteTestSuite.go.snap index 38a39924099..cae516c889a 100644 --- a/service/apptest/snapshot/api_op_DeleteTestSuite.go.snap +++ b/service/apptest/snapshot/api_op_DeleteTestSuite.go.snap @@ -14,7 +14,6 @@ DeleteTestSuite Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apptest/snapshot/api_op_GetTestCase.go.snap b/service/apptest/snapshot/api_op_GetTestCase.go.snap index 95d5242a565..1f0cefbf377 100644 --- a/service/apptest/snapshot/api_op_GetTestCase.go.snap +++ b/service/apptest/snapshot/api_op_GetTestCase.go.snap @@ -14,7 +14,6 @@ GetTestCase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apptest/snapshot/api_op_GetTestConfiguration.go.snap b/service/apptest/snapshot/api_op_GetTestConfiguration.go.snap index 94e5c11daec..2be38bb0b4b 100644 --- a/service/apptest/snapshot/api_op_GetTestConfiguration.go.snap +++ b/service/apptest/snapshot/api_op_GetTestConfiguration.go.snap @@ -14,7 +14,6 @@ GetTestConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apptest/snapshot/api_op_GetTestRunStep.go.snap b/service/apptest/snapshot/api_op_GetTestRunStep.go.snap index 0c21bfbd6b8..a2ed173a8e6 100644 --- a/service/apptest/snapshot/api_op_GetTestRunStep.go.snap +++ b/service/apptest/snapshot/api_op_GetTestRunStep.go.snap @@ -14,7 +14,6 @@ GetTestRunStep Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apptest/snapshot/api_op_GetTestSuite.go.snap b/service/apptest/snapshot/api_op_GetTestSuite.go.snap index 7196afc5489..b35487a524f 100644 --- a/service/apptest/snapshot/api_op_GetTestSuite.go.snap +++ b/service/apptest/snapshot/api_op_GetTestSuite.go.snap @@ -14,7 +14,6 @@ GetTestSuite Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apptest/snapshot/api_op_ListTagsForResource.go.snap b/service/apptest/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/apptest/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/apptest/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apptest/snapshot/api_op_ListTestCases.go.snap b/service/apptest/snapshot/api_op_ListTestCases.go.snap index b5eacb1a579..5655d6b1f35 100644 --- a/service/apptest/snapshot/api_op_ListTestCases.go.snap +++ b/service/apptest/snapshot/api_op_ListTestCases.go.snap @@ -13,7 +13,6 @@ ListTestCases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apptest/snapshot/api_op_ListTestConfigurations.go.snap b/service/apptest/snapshot/api_op_ListTestConfigurations.go.snap index 25109d1753e..d1afa3318f2 100644 --- a/service/apptest/snapshot/api_op_ListTestConfigurations.go.snap +++ b/service/apptest/snapshot/api_op_ListTestConfigurations.go.snap @@ -13,7 +13,6 @@ ListTestConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apptest/snapshot/api_op_ListTestRunSteps.go.snap b/service/apptest/snapshot/api_op_ListTestRunSteps.go.snap index 504519a03ce..0d2983f4786 100644 --- a/service/apptest/snapshot/api_op_ListTestRunSteps.go.snap +++ b/service/apptest/snapshot/api_op_ListTestRunSteps.go.snap @@ -14,7 +14,6 @@ ListTestRunSteps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apptest/snapshot/api_op_ListTestRunTestCases.go.snap b/service/apptest/snapshot/api_op_ListTestRunTestCases.go.snap index 4f2aa8308bf..9cee0b00424 100644 --- a/service/apptest/snapshot/api_op_ListTestRunTestCases.go.snap +++ b/service/apptest/snapshot/api_op_ListTestRunTestCases.go.snap @@ -14,7 +14,6 @@ ListTestRunTestCases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apptest/snapshot/api_op_ListTestRuns.go.snap b/service/apptest/snapshot/api_op_ListTestRuns.go.snap index a030f980e5e..8236c54e6de 100644 --- a/service/apptest/snapshot/api_op_ListTestRuns.go.snap +++ b/service/apptest/snapshot/api_op_ListTestRuns.go.snap @@ -13,7 +13,6 @@ ListTestRuns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apptest/snapshot/api_op_ListTestSuites.go.snap b/service/apptest/snapshot/api_op_ListTestSuites.go.snap index cce303d3663..9962e1e7880 100644 --- a/service/apptest/snapshot/api_op_ListTestSuites.go.snap +++ b/service/apptest/snapshot/api_op_ListTestSuites.go.snap @@ -13,7 +13,6 @@ ListTestSuites Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apptest/snapshot/api_op_StartTestRun.go.snap b/service/apptest/snapshot/api_op_StartTestRun.go.snap index 1bf3a184ef1..3bc3a8532b8 100644 --- a/service/apptest/snapshot/api_op_StartTestRun.go.snap +++ b/service/apptest/snapshot/api_op_StartTestRun.go.snap @@ -15,7 +15,6 @@ StartTestRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apptest/snapshot/api_op_TagResource.go.snap b/service/apptest/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/apptest/snapshot/api_op_TagResource.go.snap +++ b/service/apptest/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apptest/snapshot/api_op_UntagResource.go.snap b/service/apptest/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/apptest/snapshot/api_op_UntagResource.go.snap +++ b/service/apptest/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apptest/snapshot/api_op_UpdateTestCase.go.snap b/service/apptest/snapshot/api_op_UpdateTestCase.go.snap index a18e7737730..28fc511de9e 100644 --- a/service/apptest/snapshot/api_op_UpdateTestCase.go.snap +++ b/service/apptest/snapshot/api_op_UpdateTestCase.go.snap @@ -14,7 +14,6 @@ UpdateTestCase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apptest/snapshot/api_op_UpdateTestConfiguration.go.snap b/service/apptest/snapshot/api_op_UpdateTestConfiguration.go.snap index 034655511fd..b1a74245fbb 100644 --- a/service/apptest/snapshot/api_op_UpdateTestConfiguration.go.snap +++ b/service/apptest/snapshot/api_op_UpdateTestConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateTestConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/apptest/snapshot/api_op_UpdateTestSuite.go.snap b/service/apptest/snapshot/api_op_UpdateTestSuite.go.snap index 3dcd536984d..f62ee91bd8c 100644 --- a/service/apptest/snapshot/api_op_UpdateTestSuite.go.snap +++ b/service/apptest/snapshot/api_op_UpdateTestSuite.go.snap @@ -14,7 +14,6 @@ UpdateTestSuite Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/arczonalshift/api_client.go b/service/arczonalshift/api_client.go index f3541d3a015..6fa13683024 100644 --- a/service/arczonalshift/api_client.go +++ b/service/arczonalshift/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/arczonalshift/api_op_CancelZonalShift.go b/service/arczonalshift/api_op_CancelZonalShift.go index 964c6a47ede..5312361ad3e 100644 --- a/service/arczonalshift/api_op_CancelZonalShift.go +++ b/service/arczonalshift/api_op_CancelZonalShift.go @@ -176,9 +176,6 @@ func (c *Client) addOperationCancelZonalShiftMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelZonalShiftValidationMiddleware(stack); err != nil { return err } diff --git a/service/arczonalshift/api_op_CreatePracticeRunConfiguration.go b/service/arczonalshift/api_op_CreatePracticeRunConfiguration.go index 3f70933b3eb..50ed63c719d 100644 --- a/service/arczonalshift/api_op_CreatePracticeRunConfiguration.go +++ b/service/arczonalshift/api_op_CreatePracticeRunConfiguration.go @@ -202,9 +202,6 @@ func (c *Client) addOperationCreatePracticeRunConfigurationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePracticeRunConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/arczonalshift/api_op_DeletePracticeRunConfiguration.go b/service/arczonalshift/api_op_DeletePracticeRunConfiguration.go index ebd4d2a6fb8..38d023e0f28 100644 --- a/service/arczonalshift/api_op_DeletePracticeRunConfiguration.go +++ b/service/arczonalshift/api_op_DeletePracticeRunConfiguration.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDeletePracticeRunConfigurationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePracticeRunConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/arczonalshift/api_op_GetAutoshiftObserverNotificationStatus.go b/service/arczonalshift/api_op_GetAutoshiftObserverNotificationStatus.go index 902f075602d..0103145e155 100644 --- a/service/arczonalshift/api_op_GetAutoshiftObserverNotificationStatus.go +++ b/service/arczonalshift/api_op_GetAutoshiftObserverNotificationStatus.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetAutoshiftObserverNotificationStatusMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAutoshiftObserverNotificationStatus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/arczonalshift/api_op_GetManagedResource.go b/service/arczonalshift/api_op_GetManagedResource.go index 43220f5820a..a30e540b183 100644 --- a/service/arczonalshift/api_op_GetManagedResource.go +++ b/service/arczonalshift/api_op_GetManagedResource.go @@ -153,9 +153,6 @@ func (c *Client) addOperationGetManagedResourceMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetManagedResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/arczonalshift/api_op_ListAutoshifts.go b/service/arczonalshift/api_op_ListAutoshifts.go index c14b43a2a0a..907e0fbe560 100644 --- a/service/arczonalshift/api_op_ListAutoshifts.go +++ b/service/arczonalshift/api_op_ListAutoshifts.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListAutoshiftsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAutoshifts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/arczonalshift/api_op_ListManagedResources.go b/service/arczonalshift/api_op_ListManagedResources.go index 25c54614960..c65594065a8 100644 --- a/service/arczonalshift/api_op_ListManagedResources.go +++ b/service/arczonalshift/api_op_ListManagedResources.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListManagedResourcesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListManagedResources(options.Region), middleware.Before); err != nil { return err } diff --git a/service/arczonalshift/api_op_ListZonalShifts.go b/service/arczonalshift/api_op_ListZonalShifts.go index 41df07e54ad..c48b069d841 100644 --- a/service/arczonalshift/api_op_ListZonalShifts.go +++ b/service/arczonalshift/api_op_ListZonalShifts.go @@ -146,9 +146,6 @@ func (c *Client) addOperationListZonalShiftsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListZonalShifts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/arczonalshift/api_op_StartZonalShift.go b/service/arczonalshift/api_op_StartZonalShift.go index 8a60383a0bc..11dc23d2fa8 100644 --- a/service/arczonalshift/api_op_StartZonalShift.go +++ b/service/arczonalshift/api_op_StartZonalShift.go @@ -231,9 +231,6 @@ func (c *Client) addOperationStartZonalShiftMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartZonalShiftValidationMiddleware(stack); err != nil { return err } diff --git a/service/arczonalshift/api_op_UpdateAutoshiftObserverNotificationStatus.go b/service/arczonalshift/api_op_UpdateAutoshiftObserverNotificationStatus.go index 8332c06c0f3..9d30d3cb4fe 100644 --- a/service/arczonalshift/api_op_UpdateAutoshiftObserverNotificationStatus.go +++ b/service/arczonalshift/api_op_UpdateAutoshiftObserverNotificationStatus.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateAutoshiftObserverNotificationStatusMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAutoshiftObserverNotificationStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/arczonalshift/api_op_UpdatePracticeRunConfiguration.go b/service/arczonalshift/api_op_UpdatePracticeRunConfiguration.go index afe839f9efb..d11ed67609f 100644 --- a/service/arczonalshift/api_op_UpdatePracticeRunConfiguration.go +++ b/service/arczonalshift/api_op_UpdatePracticeRunConfiguration.go @@ -168,9 +168,6 @@ func (c *Client) addOperationUpdatePracticeRunConfigurationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePracticeRunConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/arczonalshift/api_op_UpdateZonalAutoshiftConfiguration.go b/service/arczonalshift/api_op_UpdateZonalAutoshiftConfiguration.go index 0e7df2d7a55..ab5753e1766 100644 --- a/service/arczonalshift/api_op_UpdateZonalAutoshiftConfiguration.go +++ b/service/arczonalshift/api_op_UpdateZonalAutoshiftConfiguration.go @@ -142,9 +142,6 @@ func (c *Client) addOperationUpdateZonalAutoshiftConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateZonalAutoshiftConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/arczonalshift/api_op_UpdateZonalShift.go b/service/arczonalshift/api_op_UpdateZonalShift.go index b59e185ec78..82683f0c832 100644 --- a/service/arczonalshift/api_op_UpdateZonalShift.go +++ b/service/arczonalshift/api_op_UpdateZonalShift.go @@ -198,9 +198,6 @@ func (c *Client) addOperationUpdateZonalShiftMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateZonalShiftValidationMiddleware(stack); err != nil { return err } diff --git a/service/arczonalshift/snapshot/api_op_CancelZonalShift.go.snap b/service/arczonalshift/snapshot/api_op_CancelZonalShift.go.snap index f019bc561d9..248015f1edf 100644 --- a/service/arczonalshift/snapshot/api_op_CancelZonalShift.go.snap +++ b/service/arczonalshift/snapshot/api_op_CancelZonalShift.go.snap @@ -14,7 +14,6 @@ CancelZonalShift Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/arczonalshift/snapshot/api_op_CreatePracticeRunConfiguration.go.snap b/service/arczonalshift/snapshot/api_op_CreatePracticeRunConfiguration.go.snap index c993d5303e8..00f430e3068 100644 --- a/service/arczonalshift/snapshot/api_op_CreatePracticeRunConfiguration.go.snap +++ b/service/arczonalshift/snapshot/api_op_CreatePracticeRunConfiguration.go.snap @@ -14,7 +14,6 @@ CreatePracticeRunConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/arczonalshift/snapshot/api_op_DeletePracticeRunConfiguration.go.snap b/service/arczonalshift/snapshot/api_op_DeletePracticeRunConfiguration.go.snap index 38373e65a52..5bce81d1e86 100644 --- a/service/arczonalshift/snapshot/api_op_DeletePracticeRunConfiguration.go.snap +++ b/service/arczonalshift/snapshot/api_op_DeletePracticeRunConfiguration.go.snap @@ -14,7 +14,6 @@ DeletePracticeRunConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/arczonalshift/snapshot/api_op_GetAutoshiftObserverNotificationStatus.go.snap b/service/arczonalshift/snapshot/api_op_GetAutoshiftObserverNotificationStatus.go.snap index 26e6bc70e5f..8226597a968 100644 --- a/service/arczonalshift/snapshot/api_op_GetAutoshiftObserverNotificationStatus.go.snap +++ b/service/arczonalshift/snapshot/api_op_GetAutoshiftObserverNotificationStatus.go.snap @@ -13,7 +13,6 @@ GetAutoshiftObserverNotificationStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/arczonalshift/snapshot/api_op_GetManagedResource.go.snap b/service/arczonalshift/snapshot/api_op_GetManagedResource.go.snap index 3322767b6ae..30498862e51 100644 --- a/service/arczonalshift/snapshot/api_op_GetManagedResource.go.snap +++ b/service/arczonalshift/snapshot/api_op_GetManagedResource.go.snap @@ -14,7 +14,6 @@ GetManagedResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/arczonalshift/snapshot/api_op_ListAutoshifts.go.snap b/service/arczonalshift/snapshot/api_op_ListAutoshifts.go.snap index 896b03dac7c..663f8d0b40f 100644 --- a/service/arczonalshift/snapshot/api_op_ListAutoshifts.go.snap +++ b/service/arczonalshift/snapshot/api_op_ListAutoshifts.go.snap @@ -13,7 +13,6 @@ ListAutoshifts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/arczonalshift/snapshot/api_op_ListManagedResources.go.snap b/service/arczonalshift/snapshot/api_op_ListManagedResources.go.snap index 83498f9d69e..ca5c76b7e1a 100644 --- a/service/arczonalshift/snapshot/api_op_ListManagedResources.go.snap +++ b/service/arczonalshift/snapshot/api_op_ListManagedResources.go.snap @@ -13,7 +13,6 @@ ListManagedResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/arczonalshift/snapshot/api_op_ListZonalShifts.go.snap b/service/arczonalshift/snapshot/api_op_ListZonalShifts.go.snap index 149be3b33bf..5cf98b9c518 100644 --- a/service/arczonalshift/snapshot/api_op_ListZonalShifts.go.snap +++ b/service/arczonalshift/snapshot/api_op_ListZonalShifts.go.snap @@ -13,7 +13,6 @@ ListZonalShifts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/arczonalshift/snapshot/api_op_StartZonalShift.go.snap b/service/arczonalshift/snapshot/api_op_StartZonalShift.go.snap index 504cba711f7..40e96bf4090 100644 --- a/service/arczonalshift/snapshot/api_op_StartZonalShift.go.snap +++ b/service/arczonalshift/snapshot/api_op_StartZonalShift.go.snap @@ -14,7 +14,6 @@ StartZonalShift Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/arczonalshift/snapshot/api_op_UpdateAutoshiftObserverNotificationStatus.go.snap b/service/arczonalshift/snapshot/api_op_UpdateAutoshiftObserverNotificationStatus.go.snap index d3d30c36f02..cd2bf702bcf 100644 --- a/service/arczonalshift/snapshot/api_op_UpdateAutoshiftObserverNotificationStatus.go.snap +++ b/service/arczonalshift/snapshot/api_op_UpdateAutoshiftObserverNotificationStatus.go.snap @@ -14,7 +14,6 @@ UpdateAutoshiftObserverNotificationStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/arczonalshift/snapshot/api_op_UpdatePracticeRunConfiguration.go.snap b/service/arczonalshift/snapshot/api_op_UpdatePracticeRunConfiguration.go.snap index 2b86afdabc7..274495001de 100644 --- a/service/arczonalshift/snapshot/api_op_UpdatePracticeRunConfiguration.go.snap +++ b/service/arczonalshift/snapshot/api_op_UpdatePracticeRunConfiguration.go.snap @@ -14,7 +14,6 @@ UpdatePracticeRunConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/arczonalshift/snapshot/api_op_UpdateZonalAutoshiftConfiguration.go.snap b/service/arczonalshift/snapshot/api_op_UpdateZonalAutoshiftConfiguration.go.snap index 02a1ffb7961..9e3d65aebac 100644 --- a/service/arczonalshift/snapshot/api_op_UpdateZonalAutoshiftConfiguration.go.snap +++ b/service/arczonalshift/snapshot/api_op_UpdateZonalAutoshiftConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateZonalAutoshiftConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/arczonalshift/snapshot/api_op_UpdateZonalShift.go.snap b/service/arczonalshift/snapshot/api_op_UpdateZonalShift.go.snap index 3725bd35c05..3ab63b6079b 100644 --- a/service/arczonalshift/snapshot/api_op_UpdateZonalShift.go.snap +++ b/service/arczonalshift/snapshot/api_op_UpdateZonalShift.go.snap @@ -14,7 +14,6 @@ UpdateZonalShift Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/artifact/api_client.go b/service/artifact/api_client.go index 704091b2f3c..4e69064427e 100644 --- a/service/artifact/api_client.go +++ b/service/artifact/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/artifact/api_op_GetAccountSettings.go b/service/artifact/api_op_GetAccountSettings.go index 21445d49e82..723a10e0388 100644 --- a/service/artifact/api_op_GetAccountSettings.go +++ b/service/artifact/api_op_GetAccountSettings.go @@ -106,9 +106,6 @@ func (c *Client) addOperationGetAccountSettingsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/artifact/api_op_GetReport.go b/service/artifact/api_op_GetReport.go index a6459cbd406..8eb95eb4cd7 100644 --- a/service/artifact/api_op_GetReport.go +++ b/service/artifact/api_op_GetReport.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetReportMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/artifact/api_op_GetReportMetadata.go b/service/artifact/api_op_GetReportMetadata.go index 3227df709b7..2078031ea5b 100644 --- a/service/artifact/api_op_GetReportMetadata.go +++ b/service/artifact/api_op_GetReportMetadata.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetReportMetadataMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetReportMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/artifact/api_op_GetTermForReport.go b/service/artifact/api_op_GetTermForReport.go index d02a582d8c2..6ce78fe8ad2 100644 --- a/service/artifact/api_op_GetTermForReport.go +++ b/service/artifact/api_op_GetTermForReport.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetTermForReportMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTermForReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/artifact/api_op_ListCustomerAgreements.go b/service/artifact/api_op_ListCustomerAgreements.go index a0e4613edfa..ad8d3a4430e 100644 --- a/service/artifact/api_op_ListCustomerAgreements.go +++ b/service/artifact/api_op_ListCustomerAgreements.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListCustomerAgreementsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCustomerAgreements(options.Region), middleware.Before); err != nil { return err } diff --git a/service/artifact/api_op_ListReports.go b/service/artifact/api_op_ListReports.go index 03f2864dca4..4825e639ea5 100644 --- a/service/artifact/api_op_ListReports.go +++ b/service/artifact/api_op_ListReports.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListReportsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReports(options.Region), middleware.Before); err != nil { return err } diff --git a/service/artifact/api_op_PutAccountSettings.go b/service/artifact/api_op_PutAccountSettings.go index 0c6bade4720..69af4220c97 100644 --- a/service/artifact/api_op_PutAccountSettings.go +++ b/service/artifact/api_op_PutAccountSettings.go @@ -110,9 +110,6 @@ func (c *Client) addOperationPutAccountSettingsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAccountSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/artifact/snapshot/api_op_GetAccountSettings.go.snap b/service/artifact/snapshot/api_op_GetAccountSettings.go.snap index 95499ead228..57ca9f6cbf4 100644 --- a/service/artifact/snapshot/api_op_GetAccountSettings.go.snap +++ b/service/artifact/snapshot/api_op_GetAccountSettings.go.snap @@ -13,7 +13,6 @@ GetAccountSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/artifact/snapshot/api_op_GetReport.go.snap b/service/artifact/snapshot/api_op_GetReport.go.snap index 9e0a3ecbbad..007546a62c1 100644 --- a/service/artifact/snapshot/api_op_GetReport.go.snap +++ b/service/artifact/snapshot/api_op_GetReport.go.snap @@ -14,7 +14,6 @@ GetReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/artifact/snapshot/api_op_GetReportMetadata.go.snap b/service/artifact/snapshot/api_op_GetReportMetadata.go.snap index e33bcff6cea..002e8d151b6 100644 --- a/service/artifact/snapshot/api_op_GetReportMetadata.go.snap +++ b/service/artifact/snapshot/api_op_GetReportMetadata.go.snap @@ -14,7 +14,6 @@ GetReportMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/artifact/snapshot/api_op_GetTermForReport.go.snap b/service/artifact/snapshot/api_op_GetTermForReport.go.snap index 61da398f7ee..439b5970a3e 100644 --- a/service/artifact/snapshot/api_op_GetTermForReport.go.snap +++ b/service/artifact/snapshot/api_op_GetTermForReport.go.snap @@ -14,7 +14,6 @@ GetTermForReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/artifact/snapshot/api_op_ListCustomerAgreements.go.snap b/service/artifact/snapshot/api_op_ListCustomerAgreements.go.snap index a735fe2064d..41817cf31d0 100644 --- a/service/artifact/snapshot/api_op_ListCustomerAgreements.go.snap +++ b/service/artifact/snapshot/api_op_ListCustomerAgreements.go.snap @@ -13,7 +13,6 @@ ListCustomerAgreements Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/artifact/snapshot/api_op_ListReports.go.snap b/service/artifact/snapshot/api_op_ListReports.go.snap index 3622cb81415..93ec1592b78 100644 --- a/service/artifact/snapshot/api_op_ListReports.go.snap +++ b/service/artifact/snapshot/api_op_ListReports.go.snap @@ -13,7 +13,6 @@ ListReports Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/artifact/snapshot/api_op_PutAccountSettings.go.snap b/service/artifact/snapshot/api_op_PutAccountSettings.go.snap index cb8902ecd9c..37ab24a3964 100644 --- a/service/artifact/snapshot/api_op_PutAccountSettings.go.snap +++ b/service/artifact/snapshot/api_op_PutAccountSettings.go.snap @@ -13,7 +13,6 @@ PutAccountSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/api_client.go b/service/athena/api_client.go index 24468853b12..c4aeada919d 100644 --- a/service/athena/api_client.go +++ b/service/athena/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/athena/api_op_BatchGetNamedQuery.go b/service/athena/api_op_BatchGetNamedQuery.go index b5aeeb86b48..acc0290a512 100644 --- a/service/athena/api_op_BatchGetNamedQuery.go +++ b/service/athena/api_op_BatchGetNamedQuery.go @@ -122,9 +122,6 @@ func (c *Client) addOperationBatchGetNamedQueryMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetNamedQueryValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_BatchGetPreparedStatement.go b/service/athena/api_op_BatchGetPreparedStatement.go index d190c363522..c70058ddbc8 100644 --- a/service/athena/api_op_BatchGetPreparedStatement.go +++ b/service/athena/api_op_BatchGetPreparedStatement.go @@ -125,9 +125,6 @@ func (c *Client) addOperationBatchGetPreparedStatementMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetPreparedStatementValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_BatchGetQueryExecution.go b/service/athena/api_op_BatchGetQueryExecution.go index f47a7edb62e..3d6c58c0836 100644 --- a/service/athena/api_op_BatchGetQueryExecution.go +++ b/service/athena/api_op_BatchGetQueryExecution.go @@ -120,9 +120,6 @@ func (c *Client) addOperationBatchGetQueryExecutionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetQueryExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_CancelCapacityReservation.go b/service/athena/api_op_CancelCapacityReservation.go index 38701a36a15..fa9e56db85d 100644 --- a/service/athena/api_op_CancelCapacityReservation.go +++ b/service/athena/api_op_CancelCapacityReservation.go @@ -111,9 +111,6 @@ func (c *Client) addOperationCancelCapacityReservationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelCapacityReservationValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_CreateCapacityReservation.go b/service/athena/api_op_CreateCapacityReservation.go index ceadcaa2b57..2a1016986f0 100644 --- a/service/athena/api_op_CreateCapacityReservation.go +++ b/service/athena/api_op_CreateCapacityReservation.go @@ -117,9 +117,6 @@ func (c *Client) addOperationCreateCapacityReservationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCapacityReservationValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_CreateDataCatalog.go b/service/athena/api_op_CreateDataCatalog.go index 0d6d495688e..1d2b26ee9b4 100644 --- a/service/athena/api_op_CreateDataCatalog.go +++ b/service/athena/api_op_CreateDataCatalog.go @@ -211,9 +211,6 @@ func (c *Client) addOperationCreateDataCatalogMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDataCatalogValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_CreateNamedQuery.go b/service/athena/api_op_CreateNamedQuery.go index 984ef27d3d3..e61e66fcbea 100644 --- a/service/athena/api_op_CreateNamedQuery.go +++ b/service/athena/api_op_CreateNamedQuery.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateNamedQueryMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateNamedQueryMiddleware(stack, options); err != nil { return err } diff --git a/service/athena/api_op_CreateNotebook.go b/service/athena/api_op_CreateNotebook.go index 67791a25fb2..7c81fe49b38 100644 --- a/service/athena/api_op_CreateNotebook.go +++ b/service/athena/api_op_CreateNotebook.go @@ -127,9 +127,6 @@ func (c *Client) addOperationCreateNotebookMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateNotebookValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_CreatePreparedStatement.go b/service/athena/api_op_CreatePreparedStatement.go index 0b1c640d2f1..bc8f3bee84d 100644 --- a/service/athena/api_op_CreatePreparedStatement.go +++ b/service/athena/api_op_CreatePreparedStatement.go @@ -120,9 +120,6 @@ func (c *Client) addOperationCreatePreparedStatementMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePreparedStatementValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_CreatePresignedNotebookUrl.go b/service/athena/api_op_CreatePresignedNotebookUrl.go index 463084cb600..95b19d64bf4 100644 --- a/service/athena/api_op_CreatePresignedNotebookUrl.go +++ b/service/athena/api_op_CreatePresignedNotebookUrl.go @@ -129,9 +129,6 @@ func (c *Client) addOperationCreatePresignedNotebookUrlMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePresignedNotebookUrlValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_CreateWorkGroup.go b/service/athena/api_op_CreateWorkGroup.go index 1be9c452d45..2bbfaf7f5d3 100644 --- a/service/athena/api_op_CreateWorkGroup.go +++ b/service/athena/api_op_CreateWorkGroup.go @@ -125,9 +125,6 @@ func (c *Client) addOperationCreateWorkGroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateWorkGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_DeleteCapacityReservation.go b/service/athena/api_op_DeleteCapacityReservation.go index c6782f0a4da..1212f21044d 100644 --- a/service/athena/api_op_DeleteCapacityReservation.go +++ b/service/athena/api_op_DeleteCapacityReservation.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteCapacityReservationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCapacityReservationValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_DeleteDataCatalog.go b/service/athena/api_op_DeleteDataCatalog.go index 8adb9cbca19..b29f3ca85dd 100644 --- a/service/athena/api_op_DeleteDataCatalog.go +++ b/service/athena/api_op_DeleteDataCatalog.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteDataCatalogMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDataCatalogValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_DeleteNamedQuery.go b/service/athena/api_op_DeleteNamedQuery.go index d83992e460d..2ec7d3c04a7 100644 --- a/service/athena/api_op_DeleteNamedQuery.go +++ b/service/athena/api_op_DeleteNamedQuery.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteNamedQueryMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteNamedQueryMiddleware(stack, options); err != nil { return err } diff --git a/service/athena/api_op_DeleteNotebook.go b/service/athena/api_op_DeleteNotebook.go index 85bb0483054..83cdf4d477f 100644 --- a/service/athena/api_op_DeleteNotebook.go +++ b/service/athena/api_op_DeleteNotebook.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteNotebookMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteNotebookValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_DeletePreparedStatement.go b/service/athena/api_op_DeletePreparedStatement.go index 4025661b6f8..4ecfa3a6c55 100644 --- a/service/athena/api_op_DeletePreparedStatement.go +++ b/service/athena/api_op_DeletePreparedStatement.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeletePreparedStatementMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePreparedStatementValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_DeleteWorkGroup.go b/service/athena/api_op_DeleteWorkGroup.go index 03f32d8d195..cda96e8c958 100644 --- a/service/athena/api_op_DeleteWorkGroup.go +++ b/service/athena/api_op_DeleteWorkGroup.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteWorkGroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWorkGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_ExportNotebook.go b/service/athena/api_op_ExportNotebook.go index 9063c08eace..0acb66e6f3c 100644 --- a/service/athena/api_op_ExportNotebook.go +++ b/service/athena/api_op_ExportNotebook.go @@ -115,9 +115,6 @@ func (c *Client) addOperationExportNotebookMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExportNotebookValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_GetCalculationExecution.go b/service/athena/api_op_GetCalculationExecution.go index c6664d70c08..7cf4f507352 100644 --- a/service/athena/api_op_GetCalculationExecution.go +++ b/service/athena/api_op_GetCalculationExecution.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetCalculationExecutionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCalculationExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_GetCalculationExecutionCode.go b/service/athena/api_op_GetCalculationExecutionCode.go index f5864706291..7e472fbfca2 100644 --- a/service/athena/api_op_GetCalculationExecutionCode.go +++ b/service/athena/api_op_GetCalculationExecutionCode.go @@ -111,9 +111,6 @@ func (c *Client) addOperationGetCalculationExecutionCodeMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCalculationExecutionCodeValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_GetCalculationExecutionStatus.go b/service/athena/api_op_GetCalculationExecutionStatus.go index 8d76984a07d..bf4d83500b8 100644 --- a/service/athena/api_op_GetCalculationExecutionStatus.go +++ b/service/athena/api_op_GetCalculationExecutionStatus.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetCalculationExecutionStatusMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCalculationExecutionStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_GetCapacityAssignmentConfiguration.go b/service/athena/api_op_GetCapacityAssignmentConfiguration.go index 473476c9d03..706f4e34ed2 100644 --- a/service/athena/api_op_GetCapacityAssignmentConfiguration.go +++ b/service/athena/api_op_GetCapacityAssignmentConfiguration.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetCapacityAssignmentConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCapacityAssignmentConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_GetCapacityReservation.go b/service/athena/api_op_GetCapacityReservation.go index 5106ef1499f..0085de17b13 100644 --- a/service/athena/api_op_GetCapacityReservation.go +++ b/service/athena/api_op_GetCapacityReservation.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetCapacityReservationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCapacityReservationValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_GetDataCatalog.go b/service/athena/api_op_GetDataCatalog.go index d1e8a68401e..ce6377a0a9d 100644 --- a/service/athena/api_op_GetDataCatalog.go +++ b/service/athena/api_op_GetDataCatalog.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetDataCatalogMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataCatalogValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_GetDatabase.go b/service/athena/api_op_GetDatabase.go index f32737aa60d..f49d7dade45 100644 --- a/service/athena/api_op_GetDatabase.go +++ b/service/athena/api_op_GetDatabase.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetDatabaseMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDatabaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_GetNamedQuery.go b/service/athena/api_op_GetNamedQuery.go index 7a6b0318e23..a8c9c573654 100644 --- a/service/athena/api_op_GetNamedQuery.go +++ b/service/athena/api_op_GetNamedQuery.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetNamedQueryMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetNamedQueryValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_GetNotebookMetadata.go b/service/athena/api_op_GetNotebookMetadata.go index e5fbc1bf82d..a929965e946 100644 --- a/service/athena/api_op_GetNotebookMetadata.go +++ b/service/athena/api_op_GetNotebookMetadata.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetNotebookMetadataMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetNotebookMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_GetPreparedStatement.go b/service/athena/api_op_GetPreparedStatement.go index 82d27ab533d..97bd84d007a 100644 --- a/service/athena/api_op_GetPreparedStatement.go +++ b/service/athena/api_op_GetPreparedStatement.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetPreparedStatementMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPreparedStatementValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_GetQueryExecution.go b/service/athena/api_op_GetQueryExecution.go index f399ad0c31e..da881e5bfc9 100644 --- a/service/athena/api_op_GetQueryExecution.go +++ b/service/athena/api_op_GetQueryExecution.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetQueryExecutionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetQueryExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_GetQueryResults.go b/service/athena/api_op_GetQueryResults.go index 39dbf7dadf6..12c6461185e 100644 --- a/service/athena/api_op_GetQueryResults.go +++ b/service/athena/api_op_GetQueryResults.go @@ -144,9 +144,6 @@ func (c *Client) addOperationGetQueryResultsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetQueryResultsValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_GetQueryRuntimeStatistics.go b/service/athena/api_op_GetQueryRuntimeStatistics.go index 2bd28ab3168..2077930639c 100644 --- a/service/athena/api_op_GetQueryRuntimeStatistics.go +++ b/service/athena/api_op_GetQueryRuntimeStatistics.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetQueryRuntimeStatisticsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetQueryRuntimeStatisticsValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_GetSession.go b/service/athena/api_op_GetSession.go index b01c3997c30..ff22fa9f875 100644 --- a/service/athena/api_op_GetSession.go +++ b/service/athena/api_op_GetSession.go @@ -138,9 +138,6 @@ func (c *Client) addOperationGetSessionMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_GetSessionStatus.go b/service/athena/api_op_GetSessionStatus.go index 4ea354ff954..96217f17be7 100644 --- a/service/athena/api_op_GetSessionStatus.go +++ b/service/athena/api_op_GetSessionStatus.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetSessionStatusMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSessionStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_GetTableMetadata.go b/service/athena/api_op_GetTableMetadata.go index 3efbafcaa41..ed85d3bf2e7 100644 --- a/service/athena/api_op_GetTableMetadata.go +++ b/service/athena/api_op_GetTableMetadata.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetTableMetadataMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTableMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_GetWorkGroup.go b/service/athena/api_op_GetWorkGroup.go index fdc882ced56..e13c8549ef9 100644 --- a/service/athena/api_op_GetWorkGroup.go +++ b/service/athena/api_op_GetWorkGroup.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetWorkGroupMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWorkGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_ImportNotebook.go b/service/athena/api_op_ImportNotebook.go index 725fbf2365f..6a1b647428e 100644 --- a/service/athena/api_op_ImportNotebook.go +++ b/service/athena/api_op_ImportNotebook.go @@ -142,9 +142,6 @@ func (c *Client) addOperationImportNotebookMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportNotebookValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_ListApplicationDPUSizes.go b/service/athena/api_op_ListApplicationDPUSizes.go index 4db6238bdd7..ecc03561154 100644 --- a/service/athena/api_op_ListApplicationDPUSizes.go +++ b/service/athena/api_op_ListApplicationDPUSizes.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListApplicationDPUSizesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplicationDPUSizes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/athena/api_op_ListCalculationExecutions.go b/service/athena/api_op_ListCalculationExecutions.go index 8c17aab2d3f..5c1f3e82c7d 100644 --- a/service/athena/api_op_ListCalculationExecutions.go +++ b/service/athena/api_op_ListCalculationExecutions.go @@ -148,9 +148,6 @@ func (c *Client) addOperationListCalculationExecutionsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCalculationExecutionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_ListCapacityReservations.go b/service/athena/api_op_ListCapacityReservations.go index b17680d24aa..820ac51558e 100644 --- a/service/athena/api_op_ListCapacityReservations.go +++ b/service/athena/api_op_ListCapacityReservations.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListCapacityReservationsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCapacityReservations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/athena/api_op_ListDataCatalogs.go b/service/athena/api_op_ListDataCatalogs.go index 7b6bed79350..0f27c306974 100644 --- a/service/athena/api_op_ListDataCatalogs.go +++ b/service/athena/api_op_ListDataCatalogs.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListDataCatalogsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataCatalogs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/athena/api_op_ListDatabases.go b/service/athena/api_op_ListDatabases.go index fe73adecd23..44e98eb581c 100644 --- a/service/athena/api_op_ListDatabases.go +++ b/service/athena/api_op_ListDatabases.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListDatabasesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDatabasesValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_ListEngineVersions.go b/service/athena/api_op_ListEngineVersions.go index 31ef68df72a..362b2680051 100644 --- a/service/athena/api_op_ListEngineVersions.go +++ b/service/athena/api_op_ListEngineVersions.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListEngineVersionsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEngineVersions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/athena/api_op_ListExecutors.go b/service/athena/api_op_ListExecutors.go index c76044289b1..daee6b2cb3e 100644 --- a/service/athena/api_op_ListExecutors.go +++ b/service/athena/api_op_ListExecutors.go @@ -147,9 +147,6 @@ func (c *Client) addOperationListExecutorsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListExecutorsValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_ListNamedQueries.go b/service/athena/api_op_ListNamedQueries.go index c013f9fae24..24fd65894b6 100644 --- a/service/athena/api_op_ListNamedQueries.go +++ b/service/athena/api_op_ListNamedQueries.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListNamedQueriesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNamedQueries(options.Region), middleware.Before); err != nil { return err } diff --git a/service/athena/api_op_ListNotebookMetadata.go b/service/athena/api_op_ListNotebookMetadata.go index b796bd2e913..3d13cbf9439 100644 --- a/service/athena/api_op_ListNotebookMetadata.go +++ b/service/athena/api_op_ListNotebookMetadata.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListNotebookMetadataMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListNotebookMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_ListNotebookSessions.go b/service/athena/api_op_ListNotebookSessions.go index 182a5b7a768..00ab5a315d3 100644 --- a/service/athena/api_op_ListNotebookSessions.go +++ b/service/athena/api_op_ListNotebookSessions.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListNotebookSessionsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListNotebookSessionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_ListPreparedStatements.go b/service/athena/api_op_ListPreparedStatements.go index 42ea7954c22..8418ea6829a 100644 --- a/service/athena/api_op_ListPreparedStatements.go +++ b/service/athena/api_op_ListPreparedStatements.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListPreparedStatementsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPreparedStatementsValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_ListQueryExecutions.go b/service/athena/api_op_ListQueryExecutions.go index b5bd5c9ac88..e425af2bd6f 100644 --- a/service/athena/api_op_ListQueryExecutions.go +++ b/service/athena/api_op_ListQueryExecutions.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListQueryExecutionsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListQueryExecutions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/athena/api_op_ListSessions.go b/service/athena/api_op_ListSessions.go index 6ec02e8f4eb..f09bf2ee93c 100644 --- a/service/athena/api_op_ListSessions.go +++ b/service/athena/api_op_ListSessions.go @@ -147,9 +147,6 @@ func (c *Client) addOperationListSessionsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSessionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_ListTableMetadata.go b/service/athena/api_op_ListTableMetadata.go index aa31ffffa3a..9b6b50ceecb 100644 --- a/service/athena/api_op_ListTableMetadata.go +++ b/service/athena/api_op_ListTableMetadata.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListTableMetadataMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTableMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_ListTagsForResource.go b/service/athena/api_op_ListTagsForResource.go index 601cb1d08d4..0ca934eb09f 100644 --- a/service/athena/api_op_ListTagsForResource.go +++ b/service/athena/api_op_ListTagsForResource.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_ListWorkGroups.go b/service/athena/api_op_ListWorkGroups.go index 9187fd19cea..121c2b28713 100644 --- a/service/athena/api_op_ListWorkGroups.go +++ b/service/athena/api_op_ListWorkGroups.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListWorkGroupsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/athena/api_op_PutCapacityAssignmentConfiguration.go b/service/athena/api_op_PutCapacityAssignmentConfiguration.go index 80b5a11b678..3294767a426 100644 --- a/service/athena/api_op_PutCapacityAssignmentConfiguration.go +++ b/service/athena/api_op_PutCapacityAssignmentConfiguration.go @@ -116,9 +116,6 @@ func (c *Client) addOperationPutCapacityAssignmentConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutCapacityAssignmentConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_StartCalculationExecution.go b/service/athena/api_op_StartCalculationExecution.go index c9b5266b576..48fabae4041 100644 --- a/service/athena/api_op_StartCalculationExecution.go +++ b/service/athena/api_op_StartCalculationExecution.go @@ -159,9 +159,6 @@ func (c *Client) addOperationStartCalculationExecutionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartCalculationExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_StartQueryExecution.go b/service/athena/api_op_StartQueryExecution.go index ea5cb628e53..77a71ba9c07 100644 --- a/service/athena/api_op_StartQueryExecution.go +++ b/service/athena/api_op_StartQueryExecution.go @@ -152,9 +152,6 @@ func (c *Client) addOperationStartQueryExecutionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartQueryExecutionMiddleware(stack, options); err != nil { return err } diff --git a/service/athena/api_op_StartSession.go b/service/athena/api_op_StartSession.go index f7dc42c71b6..2a2977e0414 100644 --- a/service/athena/api_op_StartSession.go +++ b/service/athena/api_op_StartSession.go @@ -163,9 +163,6 @@ func (c *Client) addOperationStartSessionMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_StopCalculationExecution.go b/service/athena/api_op_StopCalculationExecution.go index a99be195eb5..5268fc1051c 100644 --- a/service/athena/api_op_StopCalculationExecution.go +++ b/service/athena/api_op_StopCalculationExecution.go @@ -135,9 +135,6 @@ func (c *Client) addOperationStopCalculationExecutionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopCalculationExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_StopQueryExecution.go b/service/athena/api_op_StopQueryExecution.go index f0e4c868ee7..11d9bed95c9 100644 --- a/service/athena/api_op_StopQueryExecution.go +++ b/service/athena/api_op_StopQueryExecution.go @@ -108,9 +108,6 @@ func (c *Client) addOperationStopQueryExecutionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStopQueryExecutionMiddleware(stack, options); err != nil { return err } diff --git a/service/athena/api_op_TagResource.go b/service/athena/api_op_TagResource.go index efc2b6359b1..9bf317d552e 100644 --- a/service/athena/api_op_TagResource.go +++ b/service/athena/api_op_TagResource.go @@ -126,9 +126,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_TerminateSession.go b/service/athena/api_op_TerminateSession.go index 51b9f1f8dae..7ec8adce561 100644 --- a/service/athena/api_op_TerminateSession.go +++ b/service/athena/api_op_TerminateSession.go @@ -133,9 +133,6 @@ func (c *Client) addOperationTerminateSessionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTerminateSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_UntagResource.go b/service/athena/api_op_UntagResource.go index f61cc9a61af..2cd934379f9 100644 --- a/service/athena/api_op_UntagResource.go +++ b/service/athena/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_UpdateCapacityReservation.go b/service/athena/api_op_UpdateCapacityReservation.go index fba31fc2bde..1db9708ad2c 100644 --- a/service/athena/api_op_UpdateCapacityReservation.go +++ b/service/athena/api_op_UpdateCapacityReservation.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUpdateCapacityReservationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCapacityReservationValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_UpdateDataCatalog.go b/service/athena/api_op_UpdateDataCatalog.go index d9d106fea3a..468761f2417 100644 --- a/service/athena/api_op_UpdateDataCatalog.go +++ b/service/athena/api_op_UpdateDataCatalog.go @@ -143,9 +143,6 @@ func (c *Client) addOperationUpdateDataCatalogMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDataCatalogValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_UpdateNamedQuery.go b/service/athena/api_op_UpdateNamedQuery.go index 10a9f9e6582..f42a10b551e 100644 --- a/service/athena/api_op_UpdateNamedQuery.go +++ b/service/athena/api_op_UpdateNamedQuery.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdateNamedQueryMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateNamedQueryValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_UpdateNotebook.go b/service/athena/api_op_UpdateNotebook.go index 44637cefe19..1412826e7ef 100644 --- a/service/athena/api_op_UpdateNotebook.go +++ b/service/athena/api_op_UpdateNotebook.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateNotebookMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateNotebookValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_UpdateNotebookMetadata.go b/service/athena/api_op_UpdateNotebookMetadata.go index eea7730626c..330dd54ff28 100644 --- a/service/athena/api_op_UpdateNotebookMetadata.go +++ b/service/athena/api_op_UpdateNotebookMetadata.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateNotebookMetadataMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateNotebookMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_UpdatePreparedStatement.go b/service/athena/api_op_UpdatePreparedStatement.go index 193237e2550..f751e1252db 100644 --- a/service/athena/api_op_UpdatePreparedStatement.go +++ b/service/athena/api_op_UpdatePreparedStatement.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdatePreparedStatementMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePreparedStatementValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/api_op_UpdateWorkGroup.go b/service/athena/api_op_UpdateWorkGroup.go index e92f51a959b..77f163e9b3a 100644 --- a/service/athena/api_op_UpdateWorkGroup.go +++ b/service/athena/api_op_UpdateWorkGroup.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateWorkGroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateWorkGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/athena/snapshot/api_op_BatchGetNamedQuery.go.snap b/service/athena/snapshot/api_op_BatchGetNamedQuery.go.snap index e2b5717ff7a..55eec83668d 100644 --- a/service/athena/snapshot/api_op_BatchGetNamedQuery.go.snap +++ b/service/athena/snapshot/api_op_BatchGetNamedQuery.go.snap @@ -14,7 +14,6 @@ BatchGetNamedQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_BatchGetPreparedStatement.go.snap b/service/athena/snapshot/api_op_BatchGetPreparedStatement.go.snap index d787dcac106..92b751d49d8 100644 --- a/service/athena/snapshot/api_op_BatchGetPreparedStatement.go.snap +++ b/service/athena/snapshot/api_op_BatchGetPreparedStatement.go.snap @@ -14,7 +14,6 @@ BatchGetPreparedStatement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_BatchGetQueryExecution.go.snap b/service/athena/snapshot/api_op_BatchGetQueryExecution.go.snap index f67cd5741d1..84838893510 100644 --- a/service/athena/snapshot/api_op_BatchGetQueryExecution.go.snap +++ b/service/athena/snapshot/api_op_BatchGetQueryExecution.go.snap @@ -14,7 +14,6 @@ BatchGetQueryExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_CancelCapacityReservation.go.snap b/service/athena/snapshot/api_op_CancelCapacityReservation.go.snap index 254a981a439..3a59fef9d64 100644 --- a/service/athena/snapshot/api_op_CancelCapacityReservation.go.snap +++ b/service/athena/snapshot/api_op_CancelCapacityReservation.go.snap @@ -14,7 +14,6 @@ CancelCapacityReservation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_CreateCapacityReservation.go.snap b/service/athena/snapshot/api_op_CreateCapacityReservation.go.snap index 965a57d3f74..17308d095c8 100644 --- a/service/athena/snapshot/api_op_CreateCapacityReservation.go.snap +++ b/service/athena/snapshot/api_op_CreateCapacityReservation.go.snap @@ -14,7 +14,6 @@ CreateCapacityReservation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_CreateDataCatalog.go.snap b/service/athena/snapshot/api_op_CreateDataCatalog.go.snap index a8551468bfa..00faa42a5d4 100644 --- a/service/athena/snapshot/api_op_CreateDataCatalog.go.snap +++ b/service/athena/snapshot/api_op_CreateDataCatalog.go.snap @@ -14,7 +14,6 @@ CreateDataCatalog Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_CreateNamedQuery.go.snap b/service/athena/snapshot/api_op_CreateNamedQuery.go.snap index 3c79f29d171..66412ceda99 100644 --- a/service/athena/snapshot/api_op_CreateNamedQuery.go.snap +++ b/service/athena/snapshot/api_op_CreateNamedQuery.go.snap @@ -15,7 +15,6 @@ CreateNamedQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_CreateNotebook.go.snap b/service/athena/snapshot/api_op_CreateNotebook.go.snap index 4989aa07b40..8942d4334f7 100644 --- a/service/athena/snapshot/api_op_CreateNotebook.go.snap +++ b/service/athena/snapshot/api_op_CreateNotebook.go.snap @@ -14,7 +14,6 @@ CreateNotebook Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_CreatePreparedStatement.go.snap b/service/athena/snapshot/api_op_CreatePreparedStatement.go.snap index 1cc7ae1b6bb..1e01b14218f 100644 --- a/service/athena/snapshot/api_op_CreatePreparedStatement.go.snap +++ b/service/athena/snapshot/api_op_CreatePreparedStatement.go.snap @@ -14,7 +14,6 @@ CreatePreparedStatement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_CreatePresignedNotebookUrl.go.snap b/service/athena/snapshot/api_op_CreatePresignedNotebookUrl.go.snap index 16631243005..2a9cec37fae 100644 --- a/service/athena/snapshot/api_op_CreatePresignedNotebookUrl.go.snap +++ b/service/athena/snapshot/api_op_CreatePresignedNotebookUrl.go.snap @@ -14,7 +14,6 @@ CreatePresignedNotebookUrl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_CreateWorkGroup.go.snap b/service/athena/snapshot/api_op_CreateWorkGroup.go.snap index aedc47a154c..262740b4662 100644 --- a/service/athena/snapshot/api_op_CreateWorkGroup.go.snap +++ b/service/athena/snapshot/api_op_CreateWorkGroup.go.snap @@ -14,7 +14,6 @@ CreateWorkGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_DeleteCapacityReservation.go.snap b/service/athena/snapshot/api_op_DeleteCapacityReservation.go.snap index 8a9f47009ee..f0d3505348a 100644 --- a/service/athena/snapshot/api_op_DeleteCapacityReservation.go.snap +++ b/service/athena/snapshot/api_op_DeleteCapacityReservation.go.snap @@ -14,7 +14,6 @@ DeleteCapacityReservation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_DeleteDataCatalog.go.snap b/service/athena/snapshot/api_op_DeleteDataCatalog.go.snap index 3afce57b8bb..4f412718768 100644 --- a/service/athena/snapshot/api_op_DeleteDataCatalog.go.snap +++ b/service/athena/snapshot/api_op_DeleteDataCatalog.go.snap @@ -14,7 +14,6 @@ DeleteDataCatalog Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_DeleteNamedQuery.go.snap b/service/athena/snapshot/api_op_DeleteNamedQuery.go.snap index 868a4397a2b..971d57d3458 100644 --- a/service/athena/snapshot/api_op_DeleteNamedQuery.go.snap +++ b/service/athena/snapshot/api_op_DeleteNamedQuery.go.snap @@ -15,7 +15,6 @@ DeleteNamedQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_DeleteNotebook.go.snap b/service/athena/snapshot/api_op_DeleteNotebook.go.snap index 80cfda2056b..ff333af8034 100644 --- a/service/athena/snapshot/api_op_DeleteNotebook.go.snap +++ b/service/athena/snapshot/api_op_DeleteNotebook.go.snap @@ -14,7 +14,6 @@ DeleteNotebook Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_DeletePreparedStatement.go.snap b/service/athena/snapshot/api_op_DeletePreparedStatement.go.snap index 12d41830d0b..f0d8b0c37ae 100644 --- a/service/athena/snapshot/api_op_DeletePreparedStatement.go.snap +++ b/service/athena/snapshot/api_op_DeletePreparedStatement.go.snap @@ -14,7 +14,6 @@ DeletePreparedStatement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_DeleteWorkGroup.go.snap b/service/athena/snapshot/api_op_DeleteWorkGroup.go.snap index cf636553b09..14241206bef 100644 --- a/service/athena/snapshot/api_op_DeleteWorkGroup.go.snap +++ b/service/athena/snapshot/api_op_DeleteWorkGroup.go.snap @@ -14,7 +14,6 @@ DeleteWorkGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_ExportNotebook.go.snap b/service/athena/snapshot/api_op_ExportNotebook.go.snap index 44f0c0ebd31..bbd0a70dd4d 100644 --- a/service/athena/snapshot/api_op_ExportNotebook.go.snap +++ b/service/athena/snapshot/api_op_ExportNotebook.go.snap @@ -14,7 +14,6 @@ ExportNotebook Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_GetCalculationExecution.go.snap b/service/athena/snapshot/api_op_GetCalculationExecution.go.snap index 0b4ebaa87c1..a20580a11b0 100644 --- a/service/athena/snapshot/api_op_GetCalculationExecution.go.snap +++ b/service/athena/snapshot/api_op_GetCalculationExecution.go.snap @@ -14,7 +14,6 @@ GetCalculationExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_GetCalculationExecutionCode.go.snap b/service/athena/snapshot/api_op_GetCalculationExecutionCode.go.snap index 10b36936d0c..651715325f9 100644 --- a/service/athena/snapshot/api_op_GetCalculationExecutionCode.go.snap +++ b/service/athena/snapshot/api_op_GetCalculationExecutionCode.go.snap @@ -14,7 +14,6 @@ GetCalculationExecutionCode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_GetCalculationExecutionStatus.go.snap b/service/athena/snapshot/api_op_GetCalculationExecutionStatus.go.snap index a485811993c..998d256c9ee 100644 --- a/service/athena/snapshot/api_op_GetCalculationExecutionStatus.go.snap +++ b/service/athena/snapshot/api_op_GetCalculationExecutionStatus.go.snap @@ -14,7 +14,6 @@ GetCalculationExecutionStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_GetCapacityAssignmentConfiguration.go.snap b/service/athena/snapshot/api_op_GetCapacityAssignmentConfiguration.go.snap index 0f01a07be8a..d6df65716f8 100644 --- a/service/athena/snapshot/api_op_GetCapacityAssignmentConfiguration.go.snap +++ b/service/athena/snapshot/api_op_GetCapacityAssignmentConfiguration.go.snap @@ -14,7 +14,6 @@ GetCapacityAssignmentConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_GetCapacityReservation.go.snap b/service/athena/snapshot/api_op_GetCapacityReservation.go.snap index 1362de1ddda..c6d5922053a 100644 --- a/service/athena/snapshot/api_op_GetCapacityReservation.go.snap +++ b/service/athena/snapshot/api_op_GetCapacityReservation.go.snap @@ -14,7 +14,6 @@ GetCapacityReservation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_GetDataCatalog.go.snap b/service/athena/snapshot/api_op_GetDataCatalog.go.snap index ad2beff1dec..ab5d5fa6b2f 100644 --- a/service/athena/snapshot/api_op_GetDataCatalog.go.snap +++ b/service/athena/snapshot/api_op_GetDataCatalog.go.snap @@ -14,7 +14,6 @@ GetDataCatalog Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_GetDatabase.go.snap b/service/athena/snapshot/api_op_GetDatabase.go.snap index 43bb4620956..3b1c2f8ca68 100644 --- a/service/athena/snapshot/api_op_GetDatabase.go.snap +++ b/service/athena/snapshot/api_op_GetDatabase.go.snap @@ -14,7 +14,6 @@ GetDatabase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_GetNamedQuery.go.snap b/service/athena/snapshot/api_op_GetNamedQuery.go.snap index 37e0f1a72c2..d2f593d700f 100644 --- a/service/athena/snapshot/api_op_GetNamedQuery.go.snap +++ b/service/athena/snapshot/api_op_GetNamedQuery.go.snap @@ -14,7 +14,6 @@ GetNamedQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_GetNotebookMetadata.go.snap b/service/athena/snapshot/api_op_GetNotebookMetadata.go.snap index e9073581439..f51e50f1d0d 100644 --- a/service/athena/snapshot/api_op_GetNotebookMetadata.go.snap +++ b/service/athena/snapshot/api_op_GetNotebookMetadata.go.snap @@ -14,7 +14,6 @@ GetNotebookMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_GetPreparedStatement.go.snap b/service/athena/snapshot/api_op_GetPreparedStatement.go.snap index 10c56d99909..b3a86c430cb 100644 --- a/service/athena/snapshot/api_op_GetPreparedStatement.go.snap +++ b/service/athena/snapshot/api_op_GetPreparedStatement.go.snap @@ -14,7 +14,6 @@ GetPreparedStatement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_GetQueryExecution.go.snap b/service/athena/snapshot/api_op_GetQueryExecution.go.snap index e19b09202ff..bd9ef12feb3 100644 --- a/service/athena/snapshot/api_op_GetQueryExecution.go.snap +++ b/service/athena/snapshot/api_op_GetQueryExecution.go.snap @@ -14,7 +14,6 @@ GetQueryExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_GetQueryResults.go.snap b/service/athena/snapshot/api_op_GetQueryResults.go.snap index 7f73c5ba632..68a5b62133d 100644 --- a/service/athena/snapshot/api_op_GetQueryResults.go.snap +++ b/service/athena/snapshot/api_op_GetQueryResults.go.snap @@ -14,7 +14,6 @@ GetQueryResults Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_GetQueryRuntimeStatistics.go.snap b/service/athena/snapshot/api_op_GetQueryRuntimeStatistics.go.snap index 7631beaffdf..8f7a8bcc1aa 100644 --- a/service/athena/snapshot/api_op_GetQueryRuntimeStatistics.go.snap +++ b/service/athena/snapshot/api_op_GetQueryRuntimeStatistics.go.snap @@ -14,7 +14,6 @@ GetQueryRuntimeStatistics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_GetSession.go.snap b/service/athena/snapshot/api_op_GetSession.go.snap index b1fe5b7fa64..409a87aab6e 100644 --- a/service/athena/snapshot/api_op_GetSession.go.snap +++ b/service/athena/snapshot/api_op_GetSession.go.snap @@ -14,7 +14,6 @@ GetSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_GetSessionStatus.go.snap b/service/athena/snapshot/api_op_GetSessionStatus.go.snap index 187a3ebbc24..d50e7378179 100644 --- a/service/athena/snapshot/api_op_GetSessionStatus.go.snap +++ b/service/athena/snapshot/api_op_GetSessionStatus.go.snap @@ -14,7 +14,6 @@ GetSessionStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_GetTableMetadata.go.snap b/service/athena/snapshot/api_op_GetTableMetadata.go.snap index a5e8eab11f6..98d3aeb7d3f 100644 --- a/service/athena/snapshot/api_op_GetTableMetadata.go.snap +++ b/service/athena/snapshot/api_op_GetTableMetadata.go.snap @@ -14,7 +14,6 @@ GetTableMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_GetWorkGroup.go.snap b/service/athena/snapshot/api_op_GetWorkGroup.go.snap index 7b5d7ef2015..ef4cd8bc647 100644 --- a/service/athena/snapshot/api_op_GetWorkGroup.go.snap +++ b/service/athena/snapshot/api_op_GetWorkGroup.go.snap @@ -14,7 +14,6 @@ GetWorkGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_ImportNotebook.go.snap b/service/athena/snapshot/api_op_ImportNotebook.go.snap index be320a9781a..a459c529a2e 100644 --- a/service/athena/snapshot/api_op_ImportNotebook.go.snap +++ b/service/athena/snapshot/api_op_ImportNotebook.go.snap @@ -14,7 +14,6 @@ ImportNotebook Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_ListApplicationDPUSizes.go.snap b/service/athena/snapshot/api_op_ListApplicationDPUSizes.go.snap index 3bcedfe9b8a..73400b5c768 100644 --- a/service/athena/snapshot/api_op_ListApplicationDPUSizes.go.snap +++ b/service/athena/snapshot/api_op_ListApplicationDPUSizes.go.snap @@ -13,7 +13,6 @@ ListApplicationDPUSizes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_ListCalculationExecutions.go.snap b/service/athena/snapshot/api_op_ListCalculationExecutions.go.snap index ae07d536caa..db1a342dbd1 100644 --- a/service/athena/snapshot/api_op_ListCalculationExecutions.go.snap +++ b/service/athena/snapshot/api_op_ListCalculationExecutions.go.snap @@ -14,7 +14,6 @@ ListCalculationExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_ListCapacityReservations.go.snap b/service/athena/snapshot/api_op_ListCapacityReservations.go.snap index 051cb4636f8..d644c8e95a2 100644 --- a/service/athena/snapshot/api_op_ListCapacityReservations.go.snap +++ b/service/athena/snapshot/api_op_ListCapacityReservations.go.snap @@ -13,7 +13,6 @@ ListCapacityReservations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_ListDataCatalogs.go.snap b/service/athena/snapshot/api_op_ListDataCatalogs.go.snap index c061ce66e47..625cb9f7119 100644 --- a/service/athena/snapshot/api_op_ListDataCatalogs.go.snap +++ b/service/athena/snapshot/api_op_ListDataCatalogs.go.snap @@ -13,7 +13,6 @@ ListDataCatalogs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_ListDatabases.go.snap b/service/athena/snapshot/api_op_ListDatabases.go.snap index 91fd1102574..e174b0efd4d 100644 --- a/service/athena/snapshot/api_op_ListDatabases.go.snap +++ b/service/athena/snapshot/api_op_ListDatabases.go.snap @@ -14,7 +14,6 @@ ListDatabases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_ListEngineVersions.go.snap b/service/athena/snapshot/api_op_ListEngineVersions.go.snap index 007a39a86c9..515267982ae 100644 --- a/service/athena/snapshot/api_op_ListEngineVersions.go.snap +++ b/service/athena/snapshot/api_op_ListEngineVersions.go.snap @@ -13,7 +13,6 @@ ListEngineVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_ListExecutors.go.snap b/service/athena/snapshot/api_op_ListExecutors.go.snap index 40c433f291f..ed606e3a8b4 100644 --- a/service/athena/snapshot/api_op_ListExecutors.go.snap +++ b/service/athena/snapshot/api_op_ListExecutors.go.snap @@ -14,7 +14,6 @@ ListExecutors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_ListNamedQueries.go.snap b/service/athena/snapshot/api_op_ListNamedQueries.go.snap index 848f2583d17..88c37014587 100644 --- a/service/athena/snapshot/api_op_ListNamedQueries.go.snap +++ b/service/athena/snapshot/api_op_ListNamedQueries.go.snap @@ -13,7 +13,6 @@ ListNamedQueries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_ListNotebookMetadata.go.snap b/service/athena/snapshot/api_op_ListNotebookMetadata.go.snap index aa1ae3de5a8..851479b2e64 100644 --- a/service/athena/snapshot/api_op_ListNotebookMetadata.go.snap +++ b/service/athena/snapshot/api_op_ListNotebookMetadata.go.snap @@ -14,7 +14,6 @@ ListNotebookMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_ListNotebookSessions.go.snap b/service/athena/snapshot/api_op_ListNotebookSessions.go.snap index e541dd32b9b..c25a67b83af 100644 --- a/service/athena/snapshot/api_op_ListNotebookSessions.go.snap +++ b/service/athena/snapshot/api_op_ListNotebookSessions.go.snap @@ -14,7 +14,6 @@ ListNotebookSessions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_ListPreparedStatements.go.snap b/service/athena/snapshot/api_op_ListPreparedStatements.go.snap index cc380b131b6..1f30a2ad6b9 100644 --- a/service/athena/snapshot/api_op_ListPreparedStatements.go.snap +++ b/service/athena/snapshot/api_op_ListPreparedStatements.go.snap @@ -14,7 +14,6 @@ ListPreparedStatements Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_ListQueryExecutions.go.snap b/service/athena/snapshot/api_op_ListQueryExecutions.go.snap index bcde8ddb77b..c853f4e66b0 100644 --- a/service/athena/snapshot/api_op_ListQueryExecutions.go.snap +++ b/service/athena/snapshot/api_op_ListQueryExecutions.go.snap @@ -13,7 +13,6 @@ ListQueryExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_ListSessions.go.snap b/service/athena/snapshot/api_op_ListSessions.go.snap index 36259a68421..b90480a5eb2 100644 --- a/service/athena/snapshot/api_op_ListSessions.go.snap +++ b/service/athena/snapshot/api_op_ListSessions.go.snap @@ -14,7 +14,6 @@ ListSessions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_ListTableMetadata.go.snap b/service/athena/snapshot/api_op_ListTableMetadata.go.snap index 7f147971dee..410c47d4b43 100644 --- a/service/athena/snapshot/api_op_ListTableMetadata.go.snap +++ b/service/athena/snapshot/api_op_ListTableMetadata.go.snap @@ -14,7 +14,6 @@ ListTableMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_ListTagsForResource.go.snap b/service/athena/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/athena/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/athena/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_ListWorkGroups.go.snap b/service/athena/snapshot/api_op_ListWorkGroups.go.snap index dffbe5a58b8..76a71220d44 100644 --- a/service/athena/snapshot/api_op_ListWorkGroups.go.snap +++ b/service/athena/snapshot/api_op_ListWorkGroups.go.snap @@ -13,7 +13,6 @@ ListWorkGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_PutCapacityAssignmentConfiguration.go.snap b/service/athena/snapshot/api_op_PutCapacityAssignmentConfiguration.go.snap index f05d64193e5..2a12150384c 100644 --- a/service/athena/snapshot/api_op_PutCapacityAssignmentConfiguration.go.snap +++ b/service/athena/snapshot/api_op_PutCapacityAssignmentConfiguration.go.snap @@ -14,7 +14,6 @@ PutCapacityAssignmentConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_StartCalculationExecution.go.snap b/service/athena/snapshot/api_op_StartCalculationExecution.go.snap index c1a54022a53..3f2722a25dc 100644 --- a/service/athena/snapshot/api_op_StartCalculationExecution.go.snap +++ b/service/athena/snapshot/api_op_StartCalculationExecution.go.snap @@ -14,7 +14,6 @@ StartCalculationExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_StartQueryExecution.go.snap b/service/athena/snapshot/api_op_StartQueryExecution.go.snap index f12f059a071..b12153517ed 100644 --- a/service/athena/snapshot/api_op_StartQueryExecution.go.snap +++ b/service/athena/snapshot/api_op_StartQueryExecution.go.snap @@ -15,7 +15,6 @@ StartQueryExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_StartSession.go.snap b/service/athena/snapshot/api_op_StartSession.go.snap index 115e486b605..8b3b71d2ba7 100644 --- a/service/athena/snapshot/api_op_StartSession.go.snap +++ b/service/athena/snapshot/api_op_StartSession.go.snap @@ -14,7 +14,6 @@ StartSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_StopCalculationExecution.go.snap b/service/athena/snapshot/api_op_StopCalculationExecution.go.snap index b64b2220060..3908f186e27 100644 --- a/service/athena/snapshot/api_op_StopCalculationExecution.go.snap +++ b/service/athena/snapshot/api_op_StopCalculationExecution.go.snap @@ -14,7 +14,6 @@ StopCalculationExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_StopQueryExecution.go.snap b/service/athena/snapshot/api_op_StopQueryExecution.go.snap index 5bb0481b2d3..012b4ce9640 100644 --- a/service/athena/snapshot/api_op_StopQueryExecution.go.snap +++ b/service/athena/snapshot/api_op_StopQueryExecution.go.snap @@ -15,7 +15,6 @@ StopQueryExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_TagResource.go.snap b/service/athena/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/athena/snapshot/api_op_TagResource.go.snap +++ b/service/athena/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_TerminateSession.go.snap b/service/athena/snapshot/api_op_TerminateSession.go.snap index 75c23a8243e..0aefa271d32 100644 --- a/service/athena/snapshot/api_op_TerminateSession.go.snap +++ b/service/athena/snapshot/api_op_TerminateSession.go.snap @@ -14,7 +14,6 @@ TerminateSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_UntagResource.go.snap b/service/athena/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/athena/snapshot/api_op_UntagResource.go.snap +++ b/service/athena/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_UpdateCapacityReservation.go.snap b/service/athena/snapshot/api_op_UpdateCapacityReservation.go.snap index 9a5959e4d97..bdc8768fcb0 100644 --- a/service/athena/snapshot/api_op_UpdateCapacityReservation.go.snap +++ b/service/athena/snapshot/api_op_UpdateCapacityReservation.go.snap @@ -14,7 +14,6 @@ UpdateCapacityReservation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_UpdateDataCatalog.go.snap b/service/athena/snapshot/api_op_UpdateDataCatalog.go.snap index a1ed71c562d..0eb365873ce 100644 --- a/service/athena/snapshot/api_op_UpdateDataCatalog.go.snap +++ b/service/athena/snapshot/api_op_UpdateDataCatalog.go.snap @@ -14,7 +14,6 @@ UpdateDataCatalog Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_UpdateNamedQuery.go.snap b/service/athena/snapshot/api_op_UpdateNamedQuery.go.snap index 713c99449ec..e0767d9e169 100644 --- a/service/athena/snapshot/api_op_UpdateNamedQuery.go.snap +++ b/service/athena/snapshot/api_op_UpdateNamedQuery.go.snap @@ -14,7 +14,6 @@ UpdateNamedQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_UpdateNotebook.go.snap b/service/athena/snapshot/api_op_UpdateNotebook.go.snap index d9eb8b85de9..e7a379adaba 100644 --- a/service/athena/snapshot/api_op_UpdateNotebook.go.snap +++ b/service/athena/snapshot/api_op_UpdateNotebook.go.snap @@ -14,7 +14,6 @@ UpdateNotebook Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_UpdateNotebookMetadata.go.snap b/service/athena/snapshot/api_op_UpdateNotebookMetadata.go.snap index 78d7b55212b..a71590ad686 100644 --- a/service/athena/snapshot/api_op_UpdateNotebookMetadata.go.snap +++ b/service/athena/snapshot/api_op_UpdateNotebookMetadata.go.snap @@ -14,7 +14,6 @@ UpdateNotebookMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_UpdatePreparedStatement.go.snap b/service/athena/snapshot/api_op_UpdatePreparedStatement.go.snap index 9a3069928e0..7466df09434 100644 --- a/service/athena/snapshot/api_op_UpdatePreparedStatement.go.snap +++ b/service/athena/snapshot/api_op_UpdatePreparedStatement.go.snap @@ -14,7 +14,6 @@ UpdatePreparedStatement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/athena/snapshot/api_op_UpdateWorkGroup.go.snap b/service/athena/snapshot/api_op_UpdateWorkGroup.go.snap index effa389cd9f..4421eededf5 100644 --- a/service/athena/snapshot/api_op_UpdateWorkGroup.go.snap +++ b/service/athena/snapshot/api_op_UpdateWorkGroup.go.snap @@ -14,7 +14,6 @@ UpdateWorkGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/api_client.go b/service/auditmanager/api_client.go index 246113603c4..3f19d59a25d 100644 --- a/service/auditmanager/api_client.go +++ b/service/auditmanager/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/auditmanager/api_op_AssociateAssessmentReportEvidenceFolder.go b/service/auditmanager/api_op_AssociateAssessmentReportEvidenceFolder.go index 480d7be3042..99b08f40015 100644 --- a/service/auditmanager/api_op_AssociateAssessmentReportEvidenceFolder.go +++ b/service/auditmanager/api_op_AssociateAssessmentReportEvidenceFolder.go @@ -114,9 +114,6 @@ func (c *Client) addOperationAssociateAssessmentReportEvidenceFolderMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateAssessmentReportEvidenceFolderValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_BatchAssociateAssessmentReportEvidence.go b/service/auditmanager/api_op_BatchAssociateAssessmentReportEvidence.go index f2302ca87af..c619b3f2358 100644 --- a/service/auditmanager/api_op_BatchAssociateAssessmentReportEvidence.go +++ b/service/auditmanager/api_op_BatchAssociateAssessmentReportEvidence.go @@ -127,9 +127,6 @@ func (c *Client) addOperationBatchAssociateAssessmentReportEvidenceMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchAssociateAssessmentReportEvidenceValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_BatchCreateDelegationByAssessment.go b/service/auditmanager/api_op_BatchCreateDelegationByAssessment.go index 6681233c442..ab58f750d48 100644 --- a/service/auditmanager/api_op_BatchCreateDelegationByAssessment.go +++ b/service/auditmanager/api_op_BatchCreateDelegationByAssessment.go @@ -120,9 +120,6 @@ func (c *Client) addOperationBatchCreateDelegationByAssessmentMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchCreateDelegationByAssessmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_BatchDeleteDelegationByAssessment.go b/service/auditmanager/api_op_BatchDeleteDelegationByAssessment.go index e32ad7f77ce..b0cb037c63e 100644 --- a/service/auditmanager/api_op_BatchDeleteDelegationByAssessment.go +++ b/service/auditmanager/api_op_BatchDeleteDelegationByAssessment.go @@ -117,9 +117,6 @@ func (c *Client) addOperationBatchDeleteDelegationByAssessmentMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDeleteDelegationByAssessmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_BatchDisassociateAssessmentReportEvidence.go b/service/auditmanager/api_op_BatchDisassociateAssessmentReportEvidence.go index 3dba86aeae0..ecb90ab2a2d 100644 --- a/service/auditmanager/api_op_BatchDisassociateAssessmentReportEvidence.go +++ b/service/auditmanager/api_op_BatchDisassociateAssessmentReportEvidence.go @@ -126,9 +126,6 @@ func (c *Client) addOperationBatchDisassociateAssessmentReportEvidenceMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDisassociateAssessmentReportEvidenceValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_BatchImportEvidenceToAssessmentControl.go b/service/auditmanager/api_op_BatchImportEvidenceToAssessmentControl.go index 09b98971f1f..e03a468e4d3 100644 --- a/service/auditmanager/api_op_BatchImportEvidenceToAssessmentControl.go +++ b/service/auditmanager/api_op_BatchImportEvidenceToAssessmentControl.go @@ -148,9 +148,6 @@ func (c *Client) addOperationBatchImportEvidenceToAssessmentControlMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchImportEvidenceToAssessmentControlValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_CreateAssessment.go b/service/auditmanager/api_op_CreateAssessment.go index 504e0ddf49f..cb16d82de6f 100644 --- a/service/auditmanager/api_op_CreateAssessment.go +++ b/service/auditmanager/api_op_CreateAssessment.go @@ -151,9 +151,6 @@ func (c *Client) addOperationCreateAssessmentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAssessmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_CreateAssessmentFramework.go b/service/auditmanager/api_op_CreateAssessmentFramework.go index ce4a58e579e..daf66a73cc8 100644 --- a/service/auditmanager/api_op_CreateAssessmentFramework.go +++ b/service/auditmanager/api_op_CreateAssessmentFramework.go @@ -127,9 +127,6 @@ func (c *Client) addOperationCreateAssessmentFrameworkMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAssessmentFrameworkValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_CreateAssessmentReport.go b/service/auditmanager/api_op_CreateAssessmentReport.go index 9e7137b084f..699af99d9bf 100644 --- a/service/auditmanager/api_op_CreateAssessmentReport.go +++ b/service/auditmanager/api_op_CreateAssessmentReport.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateAssessmentReportMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAssessmentReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_CreateControl.go b/service/auditmanager/api_op_CreateControl.go index 1d5ef12ef7f..a68d9a0b2fa 100644 --- a/service/auditmanager/api_op_CreateControl.go +++ b/service/auditmanager/api_op_CreateControl.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateControlMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateControlValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_DeleteAssessment.go b/service/auditmanager/api_op_DeleteAssessment.go index 9661e1461b2..4071620e46d 100644 --- a/service/auditmanager/api_op_DeleteAssessment.go +++ b/service/auditmanager/api_op_DeleteAssessment.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteAssessmentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAssessmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_DeleteAssessmentFramework.go b/service/auditmanager/api_op_DeleteAssessmentFramework.go index 28898e89481..e4b0211ff57 100644 --- a/service/auditmanager/api_op_DeleteAssessmentFramework.go +++ b/service/auditmanager/api_op_DeleteAssessmentFramework.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteAssessmentFrameworkMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAssessmentFrameworkValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_DeleteAssessmentFrameworkShare.go b/service/auditmanager/api_op_DeleteAssessmentFrameworkShare.go index e0ad62db97b..519b25d6354 100644 --- a/service/auditmanager/api_op_DeleteAssessmentFrameworkShare.go +++ b/service/auditmanager/api_op_DeleteAssessmentFrameworkShare.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteAssessmentFrameworkShareMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAssessmentFrameworkShareValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_DeleteAssessmentReport.go b/service/auditmanager/api_op_DeleteAssessmentReport.go index c1d663189fe..662512e5b49 100644 --- a/service/auditmanager/api_op_DeleteAssessmentReport.go +++ b/service/auditmanager/api_op_DeleteAssessmentReport.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDeleteAssessmentReportMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAssessmentReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_DeleteControl.go b/service/auditmanager/api_op_DeleteControl.go index ab99cb18ad8..49125942d6f 100644 --- a/service/auditmanager/api_op_DeleteControl.go +++ b/service/auditmanager/api_op_DeleteControl.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteControlMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteControlValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_DeregisterAccount.go b/service/auditmanager/api_op_DeregisterAccount.go index 8bc43b10a2b..ceafacd6a4c 100644 --- a/service/auditmanager/api_op_DeregisterAccount.go +++ b/service/auditmanager/api_op_DeregisterAccount.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeregisterAccountMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterAccount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/auditmanager/api_op_DeregisterOrganizationAdminAccount.go b/service/auditmanager/api_op_DeregisterOrganizationAdminAccount.go index fb841216b4e..5b5f332e061 100644 --- a/service/auditmanager/api_op_DeregisterOrganizationAdminAccount.go +++ b/service/auditmanager/api_op_DeregisterOrganizationAdminAccount.go @@ -169,9 +169,6 @@ func (c *Client) addOperationDeregisterOrganizationAdminAccountMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterOrganizationAdminAccount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/auditmanager/api_op_DisassociateAssessmentReportEvidenceFolder.go b/service/auditmanager/api_op_DisassociateAssessmentReportEvidenceFolder.go index abb90df6bdd..f3846907872 100644 --- a/service/auditmanager/api_op_DisassociateAssessmentReportEvidenceFolder.go +++ b/service/auditmanager/api_op_DisassociateAssessmentReportEvidenceFolder.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDisassociateAssessmentReportEvidenceFolderMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateAssessmentReportEvidenceFolderValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_GetAccountStatus.go b/service/auditmanager/api_op_GetAccountStatus.go index fb2ddbabeec..1f7b1806c7c 100644 --- a/service/auditmanager/api_op_GetAccountStatus.go +++ b/service/auditmanager/api_op_GetAccountStatus.go @@ -106,9 +106,6 @@ func (c *Client) addOperationGetAccountStatusMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountStatus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/auditmanager/api_op_GetAssessment.go b/service/auditmanager/api_op_GetAssessment.go index 9f269ea96f4..21e9a955b8b 100644 --- a/service/auditmanager/api_op_GetAssessment.go +++ b/service/auditmanager/api_op_GetAssessment.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetAssessmentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAssessmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_GetAssessmentFramework.go b/service/auditmanager/api_op_GetAssessmentFramework.go index 7912ea65b83..98bd117a37e 100644 --- a/service/auditmanager/api_op_GetAssessmentFramework.go +++ b/service/auditmanager/api_op_GetAssessmentFramework.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetAssessmentFrameworkMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAssessmentFrameworkValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_GetAssessmentReportUrl.go b/service/auditmanager/api_op_GetAssessmentReportUrl.go index 4ae61a11f50..59440873cff 100644 --- a/service/auditmanager/api_op_GetAssessmentReportUrl.go +++ b/service/auditmanager/api_op_GetAssessmentReportUrl.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetAssessmentReportUrlMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAssessmentReportUrlValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_GetChangeLogs.go b/service/auditmanager/api_op_GetChangeLogs.go index 9b1b91b853d..6d581e0fd5b 100644 --- a/service/auditmanager/api_op_GetChangeLogs.go +++ b/service/auditmanager/api_op_GetChangeLogs.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetChangeLogsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetChangeLogsValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_GetControl.go b/service/auditmanager/api_op_GetControl.go index c36970d153f..2d110032549 100644 --- a/service/auditmanager/api_op_GetControl.go +++ b/service/auditmanager/api_op_GetControl.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetControlMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetControlValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_GetDelegations.go b/service/auditmanager/api_op_GetDelegations.go index bbf95ff11f5..b0d4c55b894 100644 --- a/service/auditmanager/api_op_GetDelegations.go +++ b/service/auditmanager/api_op_GetDelegations.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetDelegationsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDelegations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/auditmanager/api_op_GetEvidence.go b/service/auditmanager/api_op_GetEvidence.go index 71b5316e23f..031c317861e 100644 --- a/service/auditmanager/api_op_GetEvidence.go +++ b/service/auditmanager/api_op_GetEvidence.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetEvidenceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEvidenceValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_GetEvidenceByEvidenceFolder.go b/service/auditmanager/api_op_GetEvidenceByEvidenceFolder.go index 1e61f20919d..13659d2e6f5 100644 --- a/service/auditmanager/api_op_GetEvidenceByEvidenceFolder.go +++ b/service/auditmanager/api_op_GetEvidenceByEvidenceFolder.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetEvidenceByEvidenceFolderMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEvidenceByEvidenceFolderValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_GetEvidenceFileUploadUrl.go b/service/auditmanager/api_op_GetEvidenceFileUploadUrl.go index 2e2004f1c59..0532b8fa798 100644 --- a/service/auditmanager/api_op_GetEvidenceFileUploadUrl.go +++ b/service/auditmanager/api_op_GetEvidenceFileUploadUrl.go @@ -134,9 +134,6 @@ func (c *Client) addOperationGetEvidenceFileUploadUrlMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEvidenceFileUploadUrlValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_GetEvidenceFolder.go b/service/auditmanager/api_op_GetEvidenceFolder.go index b4d66914262..4c694d8d60a 100644 --- a/service/auditmanager/api_op_GetEvidenceFolder.go +++ b/service/auditmanager/api_op_GetEvidenceFolder.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetEvidenceFolderMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEvidenceFolderValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_GetEvidenceFoldersByAssessment.go b/service/auditmanager/api_op_GetEvidenceFoldersByAssessment.go index 1fd7552bb6b..6032cd00003 100644 --- a/service/auditmanager/api_op_GetEvidenceFoldersByAssessment.go +++ b/service/auditmanager/api_op_GetEvidenceFoldersByAssessment.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetEvidenceFoldersByAssessmentMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEvidenceFoldersByAssessmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_GetEvidenceFoldersByAssessmentControl.go b/service/auditmanager/api_op_GetEvidenceFoldersByAssessmentControl.go index 708ebf0eee9..8f5fc365437 100644 --- a/service/auditmanager/api_op_GetEvidenceFoldersByAssessmentControl.go +++ b/service/auditmanager/api_op_GetEvidenceFoldersByAssessmentControl.go @@ -134,9 +134,6 @@ func (c *Client) addOperationGetEvidenceFoldersByAssessmentControlMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEvidenceFoldersByAssessmentControlValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_GetInsights.go b/service/auditmanager/api_op_GetInsights.go index 38cf7abd1a0..276cb88e097 100644 --- a/service/auditmanager/api_op_GetInsights.go +++ b/service/auditmanager/api_op_GetInsights.go @@ -106,9 +106,6 @@ func (c *Client) addOperationGetInsightsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInsights(options.Region), middleware.Before); err != nil { return err } diff --git a/service/auditmanager/api_op_GetInsightsByAssessment.go b/service/auditmanager/api_op_GetInsightsByAssessment.go index 17091c442c3..c737a33fb09 100644 --- a/service/auditmanager/api_op_GetInsightsByAssessment.go +++ b/service/auditmanager/api_op_GetInsightsByAssessment.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetInsightsByAssessmentMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInsightsByAssessmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_GetOrganizationAdminAccount.go b/service/auditmanager/api_op_GetOrganizationAdminAccount.go index a4980207b12..98fc88f6a77 100644 --- a/service/auditmanager/api_op_GetOrganizationAdminAccount.go +++ b/service/auditmanager/api_op_GetOrganizationAdminAccount.go @@ -110,9 +110,6 @@ func (c *Client) addOperationGetOrganizationAdminAccountMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOrganizationAdminAccount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/auditmanager/api_op_GetServicesInScope.go b/service/auditmanager/api_op_GetServicesInScope.go index aead9477965..1caab87ca1f 100644 --- a/service/auditmanager/api_op_GetServicesInScope.go +++ b/service/auditmanager/api_op_GetServicesInScope.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetServicesInScopeMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServicesInScope(options.Region), middleware.Before); err != nil { return err } diff --git a/service/auditmanager/api_op_GetSettings.go b/service/auditmanager/api_op_GetSettings.go index 708ee4846b0..67a43a733f5 100644 --- a/service/auditmanager/api_op_GetSettings.go +++ b/service/auditmanager/api_op_GetSettings.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetSettingsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_ListAssessmentControlInsightsByControlDomain.go b/service/auditmanager/api_op_ListAssessmentControlInsightsByControlDomain.go index ec7e2894153..30da105c5e4 100644 --- a/service/auditmanager/api_op_ListAssessmentControlInsightsByControlDomain.go +++ b/service/auditmanager/api_op_ListAssessmentControlInsightsByControlDomain.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListAssessmentControlInsightsByControlDomainMiddlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAssessmentControlInsightsByControlDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_ListAssessmentFrameworkShareRequests.go b/service/auditmanager/api_op_ListAssessmentFrameworkShareRequests.go index 40918584159..fa03d68eb5e 100644 --- a/service/auditmanager/api_op_ListAssessmentFrameworkShareRequests.go +++ b/service/auditmanager/api_op_ListAssessmentFrameworkShareRequests.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListAssessmentFrameworkShareRequestsMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAssessmentFrameworkShareRequestsValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_ListAssessmentFrameworks.go b/service/auditmanager/api_op_ListAssessmentFrameworks.go index fd419245bf2..f4fd5c71a11 100644 --- a/service/auditmanager/api_op_ListAssessmentFrameworks.go +++ b/service/auditmanager/api_op_ListAssessmentFrameworks.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListAssessmentFrameworksMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAssessmentFrameworksValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_ListAssessmentReports.go b/service/auditmanager/api_op_ListAssessmentReports.go index b572b56d074..2c3cf7e63e7 100644 --- a/service/auditmanager/api_op_ListAssessmentReports.go +++ b/service/auditmanager/api_op_ListAssessmentReports.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListAssessmentReportsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssessmentReports(options.Region), middleware.Before); err != nil { return err } diff --git a/service/auditmanager/api_op_ListAssessments.go b/service/auditmanager/api_op_ListAssessments.go index 40e2bbb8582..fcf852a6580 100644 --- a/service/auditmanager/api_op_ListAssessments.go +++ b/service/auditmanager/api_op_ListAssessments.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListAssessmentsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssessments(options.Region), middleware.Before); err != nil { return err } diff --git a/service/auditmanager/api_op_ListControlDomainInsights.go b/service/auditmanager/api_op_ListControlDomainInsights.go index 1b73306f0ae..6dee84cc56c 100644 --- a/service/auditmanager/api_op_ListControlDomainInsights.go +++ b/service/auditmanager/api_op_ListControlDomainInsights.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListControlDomainInsightsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListControlDomainInsights(options.Region), middleware.Before); err != nil { return err } diff --git a/service/auditmanager/api_op_ListControlDomainInsightsByAssessment.go b/service/auditmanager/api_op_ListControlDomainInsightsByAssessment.go index 966bb0bb015..937b254b3d5 100644 --- a/service/auditmanager/api_op_ListControlDomainInsightsByAssessment.go +++ b/service/auditmanager/api_op_ListControlDomainInsightsByAssessment.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListControlDomainInsightsByAssessmentMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListControlDomainInsightsByAssessmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_ListControlInsightsByControlDomain.go b/service/auditmanager/api_op_ListControlInsightsByControlDomain.go index 96cdceb0bd3..f8463eafaf7 100644 --- a/service/auditmanager/api_op_ListControlInsightsByControlDomain.go +++ b/service/auditmanager/api_op_ListControlInsightsByControlDomain.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListControlInsightsByControlDomainMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListControlInsightsByControlDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_ListControls.go b/service/auditmanager/api_op_ListControls.go index 2720e5b1ff8..fe5f0ffa142 100644 --- a/service/auditmanager/api_op_ListControls.go +++ b/service/auditmanager/api_op_ListControls.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListControlsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListControlsValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_ListKeywordsForDataSource.go b/service/auditmanager/api_op_ListKeywordsForDataSource.go index 8729cf623ed..14e50f13515 100644 --- a/service/auditmanager/api_op_ListKeywordsForDataSource.go +++ b/service/auditmanager/api_op_ListKeywordsForDataSource.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListKeywordsForDataSourceMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListKeywordsForDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_ListNotifications.go b/service/auditmanager/api_op_ListNotifications.go index 92b48874e11..4b1b96e80de 100644 --- a/service/auditmanager/api_op_ListNotifications.go +++ b/service/auditmanager/api_op_ListNotifications.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListNotificationsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNotifications(options.Region), middleware.Before); err != nil { return err } diff --git a/service/auditmanager/api_op_ListTagsForResource.go b/service/auditmanager/api_op_ListTagsForResource.go index 9d61e9b48e6..89cc85e4540 100644 --- a/service/auditmanager/api_op_ListTagsForResource.go +++ b/service/auditmanager/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_RegisterAccount.go b/service/auditmanager/api_op_RegisterAccount.go index 34289b62a4b..7b95d6b620b 100644 --- a/service/auditmanager/api_op_RegisterAccount.go +++ b/service/auditmanager/api_op_RegisterAccount.go @@ -113,9 +113,6 @@ func (c *Client) addOperationRegisterAccountMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterAccount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/auditmanager/api_op_RegisterOrganizationAdminAccount.go b/service/auditmanager/api_op_RegisterOrganizationAdminAccount.go index 6ab664cc45e..928c51bf792 100644 --- a/service/auditmanager/api_op_RegisterOrganizationAdminAccount.go +++ b/service/auditmanager/api_op_RegisterOrganizationAdminAccount.go @@ -116,9 +116,6 @@ func (c *Client) addOperationRegisterOrganizationAdminAccountMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterOrganizationAdminAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_StartAssessmentFrameworkShare.go b/service/auditmanager/api_op_StartAssessmentFrameworkShare.go index 552ed68a985..47be0f3a3e3 100644 --- a/service/auditmanager/api_op_StartAssessmentFrameworkShare.go +++ b/service/auditmanager/api_op_StartAssessmentFrameworkShare.go @@ -164,9 +164,6 @@ func (c *Client) addOperationStartAssessmentFrameworkShareMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartAssessmentFrameworkShareValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_TagResource.go b/service/auditmanager/api_op_TagResource.go index a264f18671c..eed33571837 100644 --- a/service/auditmanager/api_op_TagResource.go +++ b/service/auditmanager/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_UntagResource.go b/service/auditmanager/api_op_UntagResource.go index fdd6fe2f3b1..206ecafbc9c 100644 --- a/service/auditmanager/api_op_UntagResource.go +++ b/service/auditmanager/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_UpdateAssessment.go b/service/auditmanager/api_op_UpdateAssessment.go index 3405e029d15..5b1ce46887c 100644 --- a/service/auditmanager/api_op_UpdateAssessment.go +++ b/service/auditmanager/api_op_UpdateAssessment.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateAssessmentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAssessmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_UpdateAssessmentControl.go b/service/auditmanager/api_op_UpdateAssessmentControl.go index 4b511e78f57..aec4901d7f5 100644 --- a/service/auditmanager/api_op_UpdateAssessmentControl.go +++ b/service/auditmanager/api_op_UpdateAssessmentControl.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUpdateAssessmentControlMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAssessmentControlValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_UpdateAssessmentControlSetStatus.go b/service/auditmanager/api_op_UpdateAssessmentControlSetStatus.go index 22e6c4a4377..416a34845a4 100644 --- a/service/auditmanager/api_op_UpdateAssessmentControlSetStatus.go +++ b/service/auditmanager/api_op_UpdateAssessmentControlSetStatus.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateAssessmentControlSetStatusMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAssessmentControlSetStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_UpdateAssessmentFramework.go b/service/auditmanager/api_op_UpdateAssessmentFramework.go index dafe154a498..26bdc32127c 100644 --- a/service/auditmanager/api_op_UpdateAssessmentFramework.go +++ b/service/auditmanager/api_op_UpdateAssessmentFramework.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUpdateAssessmentFrameworkMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAssessmentFrameworkValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_UpdateAssessmentFrameworkShare.go b/service/auditmanager/api_op_UpdateAssessmentFrameworkShare.go index ab165466dcb..dbb9d9706a8 100644 --- a/service/auditmanager/api_op_UpdateAssessmentFrameworkShare.go +++ b/service/auditmanager/api_op_UpdateAssessmentFrameworkShare.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateAssessmentFrameworkShareMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAssessmentFrameworkShareValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_UpdateAssessmentStatus.go b/service/auditmanager/api_op_UpdateAssessmentStatus.go index 63f9fe34a35..0c7c2bc4972 100644 --- a/service/auditmanager/api_op_UpdateAssessmentStatus.go +++ b/service/auditmanager/api_op_UpdateAssessmentStatus.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateAssessmentStatusMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAssessmentStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_UpdateControl.go b/service/auditmanager/api_op_UpdateControl.go index 06fbe2dc85a..859ee87966c 100644 --- a/service/auditmanager/api_op_UpdateControl.go +++ b/service/auditmanager/api_op_UpdateControl.go @@ -134,9 +134,6 @@ func (c *Client) addOperationUpdateControlMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateControlValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_UpdateSettings.go b/service/auditmanager/api_op_UpdateSettings.go index 7e33f18386c..25875884d33 100644 --- a/service/auditmanager/api_op_UpdateSettings.go +++ b/service/auditmanager/api_op_UpdateSettings.go @@ -140,9 +140,6 @@ func (c *Client) addOperationUpdateSettingsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/api_op_ValidateAssessmentReportIntegrity.go b/service/auditmanager/api_op_ValidateAssessmentReportIntegrity.go index 5c06a8e0dde..380ce68572e 100644 --- a/service/auditmanager/api_op_ValidateAssessmentReportIntegrity.go +++ b/service/auditmanager/api_op_ValidateAssessmentReportIntegrity.go @@ -125,9 +125,6 @@ func (c *Client) addOperationValidateAssessmentReportIntegrityMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpValidateAssessmentReportIntegrityValidationMiddleware(stack); err != nil { return err } diff --git a/service/auditmanager/snapshot/api_op_AssociateAssessmentReportEvidenceFolder.go.snap b/service/auditmanager/snapshot/api_op_AssociateAssessmentReportEvidenceFolder.go.snap index 0a7ff5a902d..2e00e117a4b 100644 --- a/service/auditmanager/snapshot/api_op_AssociateAssessmentReportEvidenceFolder.go.snap +++ b/service/auditmanager/snapshot/api_op_AssociateAssessmentReportEvidenceFolder.go.snap @@ -14,7 +14,6 @@ AssociateAssessmentReportEvidenceFolder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_BatchAssociateAssessmentReportEvidence.go.snap b/service/auditmanager/snapshot/api_op_BatchAssociateAssessmentReportEvidence.go.snap index 624d8463afb..4a7a3ac8485 100644 --- a/service/auditmanager/snapshot/api_op_BatchAssociateAssessmentReportEvidence.go.snap +++ b/service/auditmanager/snapshot/api_op_BatchAssociateAssessmentReportEvidence.go.snap @@ -14,7 +14,6 @@ BatchAssociateAssessmentReportEvidence Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_BatchCreateDelegationByAssessment.go.snap b/service/auditmanager/snapshot/api_op_BatchCreateDelegationByAssessment.go.snap index 9d2ede1be3a..9ea5f6e54a3 100644 --- a/service/auditmanager/snapshot/api_op_BatchCreateDelegationByAssessment.go.snap +++ b/service/auditmanager/snapshot/api_op_BatchCreateDelegationByAssessment.go.snap @@ -14,7 +14,6 @@ BatchCreateDelegationByAssessment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_BatchDeleteDelegationByAssessment.go.snap b/service/auditmanager/snapshot/api_op_BatchDeleteDelegationByAssessment.go.snap index 194f7939f76..4c59b3f1739 100644 --- a/service/auditmanager/snapshot/api_op_BatchDeleteDelegationByAssessment.go.snap +++ b/service/auditmanager/snapshot/api_op_BatchDeleteDelegationByAssessment.go.snap @@ -14,7 +14,6 @@ BatchDeleteDelegationByAssessment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_BatchDisassociateAssessmentReportEvidence.go.snap b/service/auditmanager/snapshot/api_op_BatchDisassociateAssessmentReportEvidence.go.snap index e1364aa4750..36acfdc5280 100644 --- a/service/auditmanager/snapshot/api_op_BatchDisassociateAssessmentReportEvidence.go.snap +++ b/service/auditmanager/snapshot/api_op_BatchDisassociateAssessmentReportEvidence.go.snap @@ -14,7 +14,6 @@ BatchDisassociateAssessmentReportEvidence Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_BatchImportEvidenceToAssessmentControl.go.snap b/service/auditmanager/snapshot/api_op_BatchImportEvidenceToAssessmentControl.go.snap index 3a98dd80838..5fd68232494 100644 --- a/service/auditmanager/snapshot/api_op_BatchImportEvidenceToAssessmentControl.go.snap +++ b/service/auditmanager/snapshot/api_op_BatchImportEvidenceToAssessmentControl.go.snap @@ -14,7 +14,6 @@ BatchImportEvidenceToAssessmentControl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_CreateAssessment.go.snap b/service/auditmanager/snapshot/api_op_CreateAssessment.go.snap index 836fd7fa3b2..e1a9b99f841 100644 --- a/service/auditmanager/snapshot/api_op_CreateAssessment.go.snap +++ b/service/auditmanager/snapshot/api_op_CreateAssessment.go.snap @@ -14,7 +14,6 @@ CreateAssessment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_CreateAssessmentFramework.go.snap b/service/auditmanager/snapshot/api_op_CreateAssessmentFramework.go.snap index 72d911f0cf2..93ccfc329d1 100644 --- a/service/auditmanager/snapshot/api_op_CreateAssessmentFramework.go.snap +++ b/service/auditmanager/snapshot/api_op_CreateAssessmentFramework.go.snap @@ -14,7 +14,6 @@ CreateAssessmentFramework Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_CreateAssessmentReport.go.snap b/service/auditmanager/snapshot/api_op_CreateAssessmentReport.go.snap index 8cb59da462f..eb8ffc08397 100644 --- a/service/auditmanager/snapshot/api_op_CreateAssessmentReport.go.snap +++ b/service/auditmanager/snapshot/api_op_CreateAssessmentReport.go.snap @@ -14,7 +14,6 @@ CreateAssessmentReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_CreateControl.go.snap b/service/auditmanager/snapshot/api_op_CreateControl.go.snap index cec6c24b32e..6986d221007 100644 --- a/service/auditmanager/snapshot/api_op_CreateControl.go.snap +++ b/service/auditmanager/snapshot/api_op_CreateControl.go.snap @@ -14,7 +14,6 @@ CreateControl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_DeleteAssessment.go.snap b/service/auditmanager/snapshot/api_op_DeleteAssessment.go.snap index 88b01e344f3..cfff815cbb4 100644 --- a/service/auditmanager/snapshot/api_op_DeleteAssessment.go.snap +++ b/service/auditmanager/snapshot/api_op_DeleteAssessment.go.snap @@ -14,7 +14,6 @@ DeleteAssessment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_DeleteAssessmentFramework.go.snap b/service/auditmanager/snapshot/api_op_DeleteAssessmentFramework.go.snap index ec3cded0219..5f4201d0929 100644 --- a/service/auditmanager/snapshot/api_op_DeleteAssessmentFramework.go.snap +++ b/service/auditmanager/snapshot/api_op_DeleteAssessmentFramework.go.snap @@ -14,7 +14,6 @@ DeleteAssessmentFramework Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_DeleteAssessmentFrameworkShare.go.snap b/service/auditmanager/snapshot/api_op_DeleteAssessmentFrameworkShare.go.snap index c9a2c6e2980..72a6bcc13c9 100644 --- a/service/auditmanager/snapshot/api_op_DeleteAssessmentFrameworkShare.go.snap +++ b/service/auditmanager/snapshot/api_op_DeleteAssessmentFrameworkShare.go.snap @@ -14,7 +14,6 @@ DeleteAssessmentFrameworkShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_DeleteAssessmentReport.go.snap b/service/auditmanager/snapshot/api_op_DeleteAssessmentReport.go.snap index baf04754a4f..764230c8f51 100644 --- a/service/auditmanager/snapshot/api_op_DeleteAssessmentReport.go.snap +++ b/service/auditmanager/snapshot/api_op_DeleteAssessmentReport.go.snap @@ -14,7 +14,6 @@ DeleteAssessmentReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_DeleteControl.go.snap b/service/auditmanager/snapshot/api_op_DeleteControl.go.snap index ca073949e11..7dc855914ea 100644 --- a/service/auditmanager/snapshot/api_op_DeleteControl.go.snap +++ b/service/auditmanager/snapshot/api_op_DeleteControl.go.snap @@ -14,7 +14,6 @@ DeleteControl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_DeregisterAccount.go.snap b/service/auditmanager/snapshot/api_op_DeregisterAccount.go.snap index 120d486bb6d..cbbbb859eb8 100644 --- a/service/auditmanager/snapshot/api_op_DeregisterAccount.go.snap +++ b/service/auditmanager/snapshot/api_op_DeregisterAccount.go.snap @@ -13,7 +13,6 @@ DeregisterAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_DeregisterOrganizationAdminAccount.go.snap b/service/auditmanager/snapshot/api_op_DeregisterOrganizationAdminAccount.go.snap index 6c2c1574906..ec2e2ad5d51 100644 --- a/service/auditmanager/snapshot/api_op_DeregisterOrganizationAdminAccount.go.snap +++ b/service/auditmanager/snapshot/api_op_DeregisterOrganizationAdminAccount.go.snap @@ -13,7 +13,6 @@ DeregisterOrganizationAdminAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_DisassociateAssessmentReportEvidenceFolder.go.snap b/service/auditmanager/snapshot/api_op_DisassociateAssessmentReportEvidenceFolder.go.snap index 51546828785..300642c37b5 100644 --- a/service/auditmanager/snapshot/api_op_DisassociateAssessmentReportEvidenceFolder.go.snap +++ b/service/auditmanager/snapshot/api_op_DisassociateAssessmentReportEvidenceFolder.go.snap @@ -14,7 +14,6 @@ DisassociateAssessmentReportEvidenceFolder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_GetAccountStatus.go.snap b/service/auditmanager/snapshot/api_op_GetAccountStatus.go.snap index 5a2b4a3b4f7..d31fdc7e067 100644 --- a/service/auditmanager/snapshot/api_op_GetAccountStatus.go.snap +++ b/service/auditmanager/snapshot/api_op_GetAccountStatus.go.snap @@ -13,7 +13,6 @@ GetAccountStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_GetAssessment.go.snap b/service/auditmanager/snapshot/api_op_GetAssessment.go.snap index d3d00bbd4e4..ddb7ed95a91 100644 --- a/service/auditmanager/snapshot/api_op_GetAssessment.go.snap +++ b/service/auditmanager/snapshot/api_op_GetAssessment.go.snap @@ -14,7 +14,6 @@ GetAssessment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_GetAssessmentFramework.go.snap b/service/auditmanager/snapshot/api_op_GetAssessmentFramework.go.snap index f32aeac5cd5..6e923f21ff1 100644 --- a/service/auditmanager/snapshot/api_op_GetAssessmentFramework.go.snap +++ b/service/auditmanager/snapshot/api_op_GetAssessmentFramework.go.snap @@ -14,7 +14,6 @@ GetAssessmentFramework Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_GetAssessmentReportUrl.go.snap b/service/auditmanager/snapshot/api_op_GetAssessmentReportUrl.go.snap index bd7d982b7b5..bb56b6b1b8c 100644 --- a/service/auditmanager/snapshot/api_op_GetAssessmentReportUrl.go.snap +++ b/service/auditmanager/snapshot/api_op_GetAssessmentReportUrl.go.snap @@ -14,7 +14,6 @@ GetAssessmentReportUrl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_GetChangeLogs.go.snap b/service/auditmanager/snapshot/api_op_GetChangeLogs.go.snap index 5220df3e89b..a89be904f4d 100644 --- a/service/auditmanager/snapshot/api_op_GetChangeLogs.go.snap +++ b/service/auditmanager/snapshot/api_op_GetChangeLogs.go.snap @@ -14,7 +14,6 @@ GetChangeLogs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_GetControl.go.snap b/service/auditmanager/snapshot/api_op_GetControl.go.snap index a2e936d617e..b8a9c3a6616 100644 --- a/service/auditmanager/snapshot/api_op_GetControl.go.snap +++ b/service/auditmanager/snapshot/api_op_GetControl.go.snap @@ -14,7 +14,6 @@ GetControl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_GetDelegations.go.snap b/service/auditmanager/snapshot/api_op_GetDelegations.go.snap index ecd59ebac54..3c96482a69a 100644 --- a/service/auditmanager/snapshot/api_op_GetDelegations.go.snap +++ b/service/auditmanager/snapshot/api_op_GetDelegations.go.snap @@ -13,7 +13,6 @@ GetDelegations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_GetEvidence.go.snap b/service/auditmanager/snapshot/api_op_GetEvidence.go.snap index ae39d1e15cc..b301f54fbf9 100644 --- a/service/auditmanager/snapshot/api_op_GetEvidence.go.snap +++ b/service/auditmanager/snapshot/api_op_GetEvidence.go.snap @@ -14,7 +14,6 @@ GetEvidence Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_GetEvidenceByEvidenceFolder.go.snap b/service/auditmanager/snapshot/api_op_GetEvidenceByEvidenceFolder.go.snap index 2c5d69dfa6c..8475127c8dc 100644 --- a/service/auditmanager/snapshot/api_op_GetEvidenceByEvidenceFolder.go.snap +++ b/service/auditmanager/snapshot/api_op_GetEvidenceByEvidenceFolder.go.snap @@ -14,7 +14,6 @@ GetEvidenceByEvidenceFolder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_GetEvidenceFileUploadUrl.go.snap b/service/auditmanager/snapshot/api_op_GetEvidenceFileUploadUrl.go.snap index b330e1ca4c5..187062122d9 100644 --- a/service/auditmanager/snapshot/api_op_GetEvidenceFileUploadUrl.go.snap +++ b/service/auditmanager/snapshot/api_op_GetEvidenceFileUploadUrl.go.snap @@ -14,7 +14,6 @@ GetEvidenceFileUploadUrl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_GetEvidenceFolder.go.snap b/service/auditmanager/snapshot/api_op_GetEvidenceFolder.go.snap index dcbeddf4521..0747cbdefb4 100644 --- a/service/auditmanager/snapshot/api_op_GetEvidenceFolder.go.snap +++ b/service/auditmanager/snapshot/api_op_GetEvidenceFolder.go.snap @@ -14,7 +14,6 @@ GetEvidenceFolder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_GetEvidenceFoldersByAssessment.go.snap b/service/auditmanager/snapshot/api_op_GetEvidenceFoldersByAssessment.go.snap index f14d945f2fa..3a28ca35727 100644 --- a/service/auditmanager/snapshot/api_op_GetEvidenceFoldersByAssessment.go.snap +++ b/service/auditmanager/snapshot/api_op_GetEvidenceFoldersByAssessment.go.snap @@ -14,7 +14,6 @@ GetEvidenceFoldersByAssessment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_GetEvidenceFoldersByAssessmentControl.go.snap b/service/auditmanager/snapshot/api_op_GetEvidenceFoldersByAssessmentControl.go.snap index fd4501650b2..e25e8d83bea 100644 --- a/service/auditmanager/snapshot/api_op_GetEvidenceFoldersByAssessmentControl.go.snap +++ b/service/auditmanager/snapshot/api_op_GetEvidenceFoldersByAssessmentControl.go.snap @@ -14,7 +14,6 @@ GetEvidenceFoldersByAssessmentControl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_GetInsights.go.snap b/service/auditmanager/snapshot/api_op_GetInsights.go.snap index 7745d46f0f2..551e5ec8130 100644 --- a/service/auditmanager/snapshot/api_op_GetInsights.go.snap +++ b/service/auditmanager/snapshot/api_op_GetInsights.go.snap @@ -13,7 +13,6 @@ GetInsights Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_GetInsightsByAssessment.go.snap b/service/auditmanager/snapshot/api_op_GetInsightsByAssessment.go.snap index f34f3443da1..95f96346a69 100644 --- a/service/auditmanager/snapshot/api_op_GetInsightsByAssessment.go.snap +++ b/service/auditmanager/snapshot/api_op_GetInsightsByAssessment.go.snap @@ -14,7 +14,6 @@ GetInsightsByAssessment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_GetOrganizationAdminAccount.go.snap b/service/auditmanager/snapshot/api_op_GetOrganizationAdminAccount.go.snap index d96059cfd9b..7cefd388b9c 100644 --- a/service/auditmanager/snapshot/api_op_GetOrganizationAdminAccount.go.snap +++ b/service/auditmanager/snapshot/api_op_GetOrganizationAdminAccount.go.snap @@ -13,7 +13,6 @@ GetOrganizationAdminAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_GetServicesInScope.go.snap b/service/auditmanager/snapshot/api_op_GetServicesInScope.go.snap index 7278cdb8793..cb3e8217c36 100644 --- a/service/auditmanager/snapshot/api_op_GetServicesInScope.go.snap +++ b/service/auditmanager/snapshot/api_op_GetServicesInScope.go.snap @@ -13,7 +13,6 @@ GetServicesInScope Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_GetSettings.go.snap b/service/auditmanager/snapshot/api_op_GetSettings.go.snap index c92755f2f50..dba683a9529 100644 --- a/service/auditmanager/snapshot/api_op_GetSettings.go.snap +++ b/service/auditmanager/snapshot/api_op_GetSettings.go.snap @@ -14,7 +14,6 @@ GetSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_ListAssessmentControlInsightsByControlDomain.go.snap b/service/auditmanager/snapshot/api_op_ListAssessmentControlInsightsByControlDomain.go.snap index cb5ef55d7b0..466fdfeb04d 100644 --- a/service/auditmanager/snapshot/api_op_ListAssessmentControlInsightsByControlDomain.go.snap +++ b/service/auditmanager/snapshot/api_op_ListAssessmentControlInsightsByControlDomain.go.snap @@ -14,7 +14,6 @@ ListAssessmentControlInsightsByControlDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_ListAssessmentFrameworkShareRequests.go.snap b/service/auditmanager/snapshot/api_op_ListAssessmentFrameworkShareRequests.go.snap index 5d6087dce76..8a6a30901a3 100644 --- a/service/auditmanager/snapshot/api_op_ListAssessmentFrameworkShareRequests.go.snap +++ b/service/auditmanager/snapshot/api_op_ListAssessmentFrameworkShareRequests.go.snap @@ -14,7 +14,6 @@ ListAssessmentFrameworkShareRequests Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_ListAssessmentFrameworks.go.snap b/service/auditmanager/snapshot/api_op_ListAssessmentFrameworks.go.snap index 01ffcc30dd7..51bf5af9d2e 100644 --- a/service/auditmanager/snapshot/api_op_ListAssessmentFrameworks.go.snap +++ b/service/auditmanager/snapshot/api_op_ListAssessmentFrameworks.go.snap @@ -14,7 +14,6 @@ ListAssessmentFrameworks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_ListAssessmentReports.go.snap b/service/auditmanager/snapshot/api_op_ListAssessmentReports.go.snap index 1e4bd147e3c..c2aa2294b55 100644 --- a/service/auditmanager/snapshot/api_op_ListAssessmentReports.go.snap +++ b/service/auditmanager/snapshot/api_op_ListAssessmentReports.go.snap @@ -13,7 +13,6 @@ ListAssessmentReports Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_ListAssessments.go.snap b/service/auditmanager/snapshot/api_op_ListAssessments.go.snap index 560757d3f1b..d20e3c30bdf 100644 --- a/service/auditmanager/snapshot/api_op_ListAssessments.go.snap +++ b/service/auditmanager/snapshot/api_op_ListAssessments.go.snap @@ -13,7 +13,6 @@ ListAssessments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_ListControlDomainInsights.go.snap b/service/auditmanager/snapshot/api_op_ListControlDomainInsights.go.snap index a7386b87aca..0dcb1dfade4 100644 --- a/service/auditmanager/snapshot/api_op_ListControlDomainInsights.go.snap +++ b/service/auditmanager/snapshot/api_op_ListControlDomainInsights.go.snap @@ -13,7 +13,6 @@ ListControlDomainInsights Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_ListControlDomainInsightsByAssessment.go.snap b/service/auditmanager/snapshot/api_op_ListControlDomainInsightsByAssessment.go.snap index 5da1cca8b13..22980f15214 100644 --- a/service/auditmanager/snapshot/api_op_ListControlDomainInsightsByAssessment.go.snap +++ b/service/auditmanager/snapshot/api_op_ListControlDomainInsightsByAssessment.go.snap @@ -14,7 +14,6 @@ ListControlDomainInsightsByAssessment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_ListControlInsightsByControlDomain.go.snap b/service/auditmanager/snapshot/api_op_ListControlInsightsByControlDomain.go.snap index f35da36cf17..ee6e644b3e9 100644 --- a/service/auditmanager/snapshot/api_op_ListControlInsightsByControlDomain.go.snap +++ b/service/auditmanager/snapshot/api_op_ListControlInsightsByControlDomain.go.snap @@ -14,7 +14,6 @@ ListControlInsightsByControlDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_ListControls.go.snap b/service/auditmanager/snapshot/api_op_ListControls.go.snap index a8c6547eede..44e685f293e 100644 --- a/service/auditmanager/snapshot/api_op_ListControls.go.snap +++ b/service/auditmanager/snapshot/api_op_ListControls.go.snap @@ -14,7 +14,6 @@ ListControls Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_ListKeywordsForDataSource.go.snap b/service/auditmanager/snapshot/api_op_ListKeywordsForDataSource.go.snap index 41cc2d16e02..c875b38ce53 100644 --- a/service/auditmanager/snapshot/api_op_ListKeywordsForDataSource.go.snap +++ b/service/auditmanager/snapshot/api_op_ListKeywordsForDataSource.go.snap @@ -14,7 +14,6 @@ ListKeywordsForDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_ListNotifications.go.snap b/service/auditmanager/snapshot/api_op_ListNotifications.go.snap index 8a7167f4888..bff4f26e906 100644 --- a/service/auditmanager/snapshot/api_op_ListNotifications.go.snap +++ b/service/auditmanager/snapshot/api_op_ListNotifications.go.snap @@ -13,7 +13,6 @@ ListNotifications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_ListTagsForResource.go.snap b/service/auditmanager/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/auditmanager/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/auditmanager/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_RegisterAccount.go.snap b/service/auditmanager/snapshot/api_op_RegisterAccount.go.snap index eb150a85254..09374184c35 100644 --- a/service/auditmanager/snapshot/api_op_RegisterAccount.go.snap +++ b/service/auditmanager/snapshot/api_op_RegisterAccount.go.snap @@ -13,7 +13,6 @@ RegisterAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_RegisterOrganizationAdminAccount.go.snap b/service/auditmanager/snapshot/api_op_RegisterOrganizationAdminAccount.go.snap index c60a9c662ae..a14d5287238 100644 --- a/service/auditmanager/snapshot/api_op_RegisterOrganizationAdminAccount.go.snap +++ b/service/auditmanager/snapshot/api_op_RegisterOrganizationAdminAccount.go.snap @@ -14,7 +14,6 @@ RegisterOrganizationAdminAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_StartAssessmentFrameworkShare.go.snap b/service/auditmanager/snapshot/api_op_StartAssessmentFrameworkShare.go.snap index 277aab9ede6..9276cd71d96 100644 --- a/service/auditmanager/snapshot/api_op_StartAssessmentFrameworkShare.go.snap +++ b/service/auditmanager/snapshot/api_op_StartAssessmentFrameworkShare.go.snap @@ -14,7 +14,6 @@ StartAssessmentFrameworkShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_TagResource.go.snap b/service/auditmanager/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/auditmanager/snapshot/api_op_TagResource.go.snap +++ b/service/auditmanager/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_UntagResource.go.snap b/service/auditmanager/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/auditmanager/snapshot/api_op_UntagResource.go.snap +++ b/service/auditmanager/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_UpdateAssessment.go.snap b/service/auditmanager/snapshot/api_op_UpdateAssessment.go.snap index d6138e16f16..e5e8c229327 100644 --- a/service/auditmanager/snapshot/api_op_UpdateAssessment.go.snap +++ b/service/auditmanager/snapshot/api_op_UpdateAssessment.go.snap @@ -14,7 +14,6 @@ UpdateAssessment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_UpdateAssessmentControl.go.snap b/service/auditmanager/snapshot/api_op_UpdateAssessmentControl.go.snap index 8ba403cb496..ad849bf6b16 100644 --- a/service/auditmanager/snapshot/api_op_UpdateAssessmentControl.go.snap +++ b/service/auditmanager/snapshot/api_op_UpdateAssessmentControl.go.snap @@ -14,7 +14,6 @@ UpdateAssessmentControl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_UpdateAssessmentControlSetStatus.go.snap b/service/auditmanager/snapshot/api_op_UpdateAssessmentControlSetStatus.go.snap index 48e912fc86b..f89939fa6d2 100644 --- a/service/auditmanager/snapshot/api_op_UpdateAssessmentControlSetStatus.go.snap +++ b/service/auditmanager/snapshot/api_op_UpdateAssessmentControlSetStatus.go.snap @@ -14,7 +14,6 @@ UpdateAssessmentControlSetStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_UpdateAssessmentFramework.go.snap b/service/auditmanager/snapshot/api_op_UpdateAssessmentFramework.go.snap index 9ca7a5338f2..3c34568c837 100644 --- a/service/auditmanager/snapshot/api_op_UpdateAssessmentFramework.go.snap +++ b/service/auditmanager/snapshot/api_op_UpdateAssessmentFramework.go.snap @@ -14,7 +14,6 @@ UpdateAssessmentFramework Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_UpdateAssessmentFrameworkShare.go.snap b/service/auditmanager/snapshot/api_op_UpdateAssessmentFrameworkShare.go.snap index fd5eb10bdf2..1ffafd84a9e 100644 --- a/service/auditmanager/snapshot/api_op_UpdateAssessmentFrameworkShare.go.snap +++ b/service/auditmanager/snapshot/api_op_UpdateAssessmentFrameworkShare.go.snap @@ -14,7 +14,6 @@ UpdateAssessmentFrameworkShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_UpdateAssessmentStatus.go.snap b/service/auditmanager/snapshot/api_op_UpdateAssessmentStatus.go.snap index c11898dc772..9f20ec0f105 100644 --- a/service/auditmanager/snapshot/api_op_UpdateAssessmentStatus.go.snap +++ b/service/auditmanager/snapshot/api_op_UpdateAssessmentStatus.go.snap @@ -14,7 +14,6 @@ UpdateAssessmentStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_UpdateControl.go.snap b/service/auditmanager/snapshot/api_op_UpdateControl.go.snap index cf5bad18218..d375ad029b0 100644 --- a/service/auditmanager/snapshot/api_op_UpdateControl.go.snap +++ b/service/auditmanager/snapshot/api_op_UpdateControl.go.snap @@ -14,7 +14,6 @@ UpdateControl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_UpdateSettings.go.snap b/service/auditmanager/snapshot/api_op_UpdateSettings.go.snap index 4fb1de5f348..d36aaedb32e 100644 --- a/service/auditmanager/snapshot/api_op_UpdateSettings.go.snap +++ b/service/auditmanager/snapshot/api_op_UpdateSettings.go.snap @@ -14,7 +14,6 @@ UpdateSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/auditmanager/snapshot/api_op_ValidateAssessmentReportIntegrity.go.snap b/service/auditmanager/snapshot/api_op_ValidateAssessmentReportIntegrity.go.snap index 91b0a5abaf5..eca697851e5 100644 --- a/service/auditmanager/snapshot/api_op_ValidateAssessmentReportIntegrity.go.snap +++ b/service/auditmanager/snapshot/api_op_ValidateAssessmentReportIntegrity.go.snap @@ -14,7 +14,6 @@ ValidateAssessmentReportIntegrity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/api_client.go b/service/autoscaling/api_client.go index d505eebb760..2ff19cb1670 100644 --- a/service/autoscaling/api_client.go +++ b/service/autoscaling/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/autoscaling/api_op_AttachInstances.go b/service/autoscaling/api_op_AttachInstances.go index c19691f9e00..e26fbf65896 100644 --- a/service/autoscaling/api_op_AttachInstances.go +++ b/service/autoscaling/api_op_AttachInstances.go @@ -124,9 +124,6 @@ func (c *Client) addOperationAttachInstancesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAttachInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_AttachLoadBalancerTargetGroups.go b/service/autoscaling/api_op_AttachLoadBalancerTargetGroups.go index d5e4525f42f..48bdefff80d 100644 --- a/service/autoscaling/api_op_AttachLoadBalancerTargetGroups.go +++ b/service/autoscaling/api_op_AttachLoadBalancerTargetGroups.go @@ -145,9 +145,6 @@ func (c *Client) addOperationAttachLoadBalancerTargetGroupsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAttachLoadBalancerTargetGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_AttachLoadBalancers.go b/service/autoscaling/api_op_AttachLoadBalancers.go index 8d316ef7df3..2d848bf7fe8 100644 --- a/service/autoscaling/api_op_AttachLoadBalancers.go +++ b/service/autoscaling/api_op_AttachLoadBalancers.go @@ -133,9 +133,6 @@ func (c *Client) addOperationAttachLoadBalancersMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAttachLoadBalancersValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_AttachTrafficSources.go b/service/autoscaling/api_op_AttachTrafficSources.go index 1a22612557e..4c019db4919 100644 --- a/service/autoscaling/api_op_AttachTrafficSources.go +++ b/service/autoscaling/api_op_AttachTrafficSources.go @@ -144,9 +144,6 @@ func (c *Client) addOperationAttachTrafficSourcesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAttachTrafficSourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_BatchDeleteScheduledAction.go b/service/autoscaling/api_op_BatchDeleteScheduledAction.go index bd51af41166..e39316cc2da 100644 --- a/service/autoscaling/api_op_BatchDeleteScheduledAction.go +++ b/service/autoscaling/api_op_BatchDeleteScheduledAction.go @@ -118,9 +118,6 @@ func (c *Client) addOperationBatchDeleteScheduledActionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDeleteScheduledActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_BatchPutScheduledUpdateGroupAction.go b/service/autoscaling/api_op_BatchPutScheduledUpdateGroupAction.go index c1ed433543c..574bc7ba6dc 100644 --- a/service/autoscaling/api_op_BatchPutScheduledUpdateGroupAction.go +++ b/service/autoscaling/api_op_BatchPutScheduledUpdateGroupAction.go @@ -119,9 +119,6 @@ func (c *Client) addOperationBatchPutScheduledUpdateGroupActionMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchPutScheduledUpdateGroupActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_CancelInstanceRefresh.go b/service/autoscaling/api_op_CancelInstanceRefresh.go index 76def98fef2..7951069c724 100644 --- a/service/autoscaling/api_op_CancelInstanceRefresh.go +++ b/service/autoscaling/api_op_CancelInstanceRefresh.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCancelInstanceRefreshMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelInstanceRefreshValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_CompleteLifecycleAction.go b/service/autoscaling/api_op_CompleteLifecycleAction.go index 774ce7e8e35..af19192ed8e 100644 --- a/service/autoscaling/api_op_CompleteLifecycleAction.go +++ b/service/autoscaling/api_op_CompleteLifecycleAction.go @@ -155,9 +155,6 @@ func (c *Client) addOperationCompleteLifecycleActionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCompleteLifecycleActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_CreateAutoScalingGroup.go b/service/autoscaling/api_op_CreateAutoScalingGroup.go index 95e23946b2c..e1938ba82d0 100644 --- a/service/autoscaling/api_op_CreateAutoScalingGroup.go +++ b/service/autoscaling/api_op_CreateAutoScalingGroup.go @@ -397,9 +397,6 @@ func (c *Client) addOperationCreateAutoScalingGroupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAutoScalingGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_CreateLaunchConfiguration.go b/service/autoscaling/api_op_CreateLaunchConfiguration.go index 2f118fd80ba..e9e0df1425c 100644 --- a/service/autoscaling/api_op_CreateLaunchConfiguration.go +++ b/service/autoscaling/api_op_CreateLaunchConfiguration.go @@ -288,9 +288,6 @@ func (c *Client) addOperationCreateLaunchConfigurationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLaunchConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_CreateOrUpdateTags.go b/service/autoscaling/api_op_CreateOrUpdateTags.go index a0ffa4542cf..d6e695acf7b 100644 --- a/service/autoscaling/api_op_CreateOrUpdateTags.go +++ b/service/autoscaling/api_op_CreateOrUpdateTags.go @@ -115,9 +115,6 @@ func (c *Client) addOperationCreateOrUpdateTagsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateOrUpdateTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DeleteAutoScalingGroup.go b/service/autoscaling/api_op_DeleteAutoScalingGroup.go index cf96264d6cc..b11047100fa 100644 --- a/service/autoscaling/api_op_DeleteAutoScalingGroup.go +++ b/service/autoscaling/api_op_DeleteAutoScalingGroup.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDeleteAutoScalingGroupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAutoScalingGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DeleteLaunchConfiguration.go b/service/autoscaling/api_op_DeleteLaunchConfiguration.go index 0b78d58b30c..4d45ea0dac1 100644 --- a/service/autoscaling/api_op_DeleteLaunchConfiguration.go +++ b/service/autoscaling/api_op_DeleteLaunchConfiguration.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteLaunchConfigurationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLaunchConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DeleteLifecycleHook.go b/service/autoscaling/api_op_DeleteLifecycleHook.go index cc3b744471f..7f4eb19b498 100644 --- a/service/autoscaling/api_op_DeleteLifecycleHook.go +++ b/service/autoscaling/api_op_DeleteLifecycleHook.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteLifecycleHookMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLifecycleHookValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DeleteNotificationConfiguration.go b/service/autoscaling/api_op_DeleteNotificationConfiguration.go index 538af05539d..66d0593383f 100644 --- a/service/autoscaling/api_op_DeleteNotificationConfiguration.go +++ b/service/autoscaling/api_op_DeleteNotificationConfiguration.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteNotificationConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteNotificationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DeletePolicy.go b/service/autoscaling/api_op_DeletePolicy.go index 9a006573daf..c6265039235 100644 --- a/service/autoscaling/api_op_DeletePolicy.go +++ b/service/autoscaling/api_op_DeletePolicy.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeletePolicyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DeleteScheduledAction.go b/service/autoscaling/api_op_DeleteScheduledAction.go index b897c02f762..22d56ef5dc5 100644 --- a/service/autoscaling/api_op_DeleteScheduledAction.go +++ b/service/autoscaling/api_op_DeleteScheduledAction.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteScheduledActionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteScheduledActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DeleteTags.go b/service/autoscaling/api_op_DeleteTags.go index 584c9aff6c1..f87d68a5b56 100644 --- a/service/autoscaling/api_op_DeleteTags.go +++ b/service/autoscaling/api_op_DeleteTags.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteTagsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DeleteWarmPool.go b/service/autoscaling/api_op_DeleteWarmPool.go index 1613a5a697a..a953026406c 100644 --- a/service/autoscaling/api_op_DeleteWarmPool.go +++ b/service/autoscaling/api_op_DeleteWarmPool.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteWarmPoolMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWarmPoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeAccountLimits.go b/service/autoscaling/api_op_DescribeAccountLimits.go index 08b7f776a00..a884dd2903e 100644 --- a/service/autoscaling/api_op_DescribeAccountLimits.go +++ b/service/autoscaling/api_op_DescribeAccountLimits.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeAccountLimitsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountLimits(options.Region), middleware.Before); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeAdjustmentTypes.go b/service/autoscaling/api_op_DescribeAdjustmentTypes.go index 131fa4cb84d..ffec10570f2 100644 --- a/service/autoscaling/api_op_DescribeAdjustmentTypes.go +++ b/service/autoscaling/api_op_DescribeAdjustmentTypes.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDescribeAdjustmentTypesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAdjustmentTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeAutoScalingGroups.go b/service/autoscaling/api_op_DescribeAutoScalingGroups.go index 1965fa5efab..1bc272e512a 100644 --- a/service/autoscaling/api_op_DescribeAutoScalingGroups.go +++ b/service/autoscaling/api_op_DescribeAutoScalingGroups.go @@ -148,9 +148,6 @@ func (c *Client) addOperationDescribeAutoScalingGroupsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAutoScalingGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeAutoScalingInstances.go b/service/autoscaling/api_op_DescribeAutoScalingInstances.go index d63e054b963..f7a1c81f372 100644 --- a/service/autoscaling/api_op_DescribeAutoScalingInstances.go +++ b/service/autoscaling/api_op_DescribeAutoScalingInstances.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDescribeAutoScalingInstancesMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAutoScalingInstances(options.Region), middleware.Before); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeAutoScalingNotificationTypes.go b/service/autoscaling/api_op_DescribeAutoScalingNotificationTypes.go index e2b90d0260c..0e56397cdf6 100644 --- a/service/autoscaling/api_op_DescribeAutoScalingNotificationTypes.go +++ b/service/autoscaling/api_op_DescribeAutoScalingNotificationTypes.go @@ -105,9 +105,6 @@ func (c *Client) addOperationDescribeAutoScalingNotificationTypesMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAutoScalingNotificationTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeInstanceRefreshes.go b/service/autoscaling/api_op_DescribeInstanceRefreshes.go index 7cdbedf7296..add9b49d6a0 100644 --- a/service/autoscaling/api_op_DescribeInstanceRefreshes.go +++ b/service/autoscaling/api_op_DescribeInstanceRefreshes.go @@ -145,9 +145,6 @@ func (c *Client) addOperationDescribeInstanceRefreshesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeInstanceRefreshesValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeLaunchConfigurations.go b/service/autoscaling/api_op_DescribeLaunchConfigurations.go index 54d0c107609..ac55bfd1ec2 100644 --- a/service/autoscaling/api_op_DescribeLaunchConfigurations.go +++ b/service/autoscaling/api_op_DescribeLaunchConfigurations.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeLaunchConfigurationsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLaunchConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeLifecycleHookTypes.go b/service/autoscaling/api_op_DescribeLifecycleHookTypes.go index 07071648804..7cd5fd617f5 100644 --- a/service/autoscaling/api_op_DescribeLifecycleHookTypes.go +++ b/service/autoscaling/api_op_DescribeLifecycleHookTypes.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDescribeLifecycleHookTypesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLifecycleHookTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeLifecycleHooks.go b/service/autoscaling/api_op_DescribeLifecycleHooks.go index 3bda56286cc..2e529129edf 100644 --- a/service/autoscaling/api_op_DescribeLifecycleHooks.go +++ b/service/autoscaling/api_op_DescribeLifecycleHooks.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDescribeLifecycleHooksMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeLifecycleHooksValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeLoadBalancerTargetGroups.go b/service/autoscaling/api_op_DescribeLoadBalancerTargetGroups.go index e91e971a79f..8475fcdb2b9 100644 --- a/service/autoscaling/api_op_DescribeLoadBalancerTargetGroups.go +++ b/service/autoscaling/api_op_DescribeLoadBalancerTargetGroups.go @@ -163,9 +163,6 @@ func (c *Client) addOperationDescribeLoadBalancerTargetGroupsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeLoadBalancerTargetGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeLoadBalancers.go b/service/autoscaling/api_op_DescribeLoadBalancers.go index 12e58bc3c0a..805b78b91e5 100644 --- a/service/autoscaling/api_op_DescribeLoadBalancers.go +++ b/service/autoscaling/api_op_DescribeLoadBalancers.go @@ -162,9 +162,6 @@ func (c *Client) addOperationDescribeLoadBalancersMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeLoadBalancersValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeMetricCollectionTypes.go b/service/autoscaling/api_op_DescribeMetricCollectionTypes.go index e9a51af88a7..8879aea731d 100644 --- a/service/autoscaling/api_op_DescribeMetricCollectionTypes.go +++ b/service/autoscaling/api_op_DescribeMetricCollectionTypes.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDescribeMetricCollectionTypesMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMetricCollectionTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeNotificationConfigurations.go b/service/autoscaling/api_op_DescribeNotificationConfigurations.go index cdc20ee2a6d..49396287363 100644 --- a/service/autoscaling/api_op_DescribeNotificationConfigurations.go +++ b/service/autoscaling/api_op_DescribeNotificationConfigurations.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeNotificationConfigurationsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNotificationConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribePolicies.go b/service/autoscaling/api_op_DescribePolicies.go index 4c657a67fdd..810be811676 100644 --- a/service/autoscaling/api_op_DescribePolicies.go +++ b/service/autoscaling/api_op_DescribePolicies.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDescribePoliciesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePolicies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeScalingActivities.go b/service/autoscaling/api_op_DescribeScalingActivities.go index e37b64baeb2..cb9f874b2af 100644 --- a/service/autoscaling/api_op_DescribeScalingActivities.go +++ b/service/autoscaling/api_op_DescribeScalingActivities.go @@ -151,9 +151,6 @@ func (c *Client) addOperationDescribeScalingActivitiesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeScalingActivities(options.Region), middleware.Before); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeScalingProcessTypes.go b/service/autoscaling/api_op_DescribeScalingProcessTypes.go index c54bf9ecc42..2f245b76685 100644 --- a/service/autoscaling/api_op_DescribeScalingProcessTypes.go +++ b/service/autoscaling/api_op_DescribeScalingProcessTypes.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDescribeScalingProcessTypesMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeScalingProcessTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeScheduledActions.go b/service/autoscaling/api_op_DescribeScheduledActions.go index 4aff634ab66..d4bb9891c4f 100644 --- a/service/autoscaling/api_op_DescribeScheduledActions.go +++ b/service/autoscaling/api_op_DescribeScheduledActions.go @@ -146,9 +146,6 @@ func (c *Client) addOperationDescribeScheduledActionsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeScheduledActions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeTags.go b/service/autoscaling/api_op_DescribeTags.go index 62c8e667ce1..bc56bdd36f4 100644 --- a/service/autoscaling/api_op_DescribeTags.go +++ b/service/autoscaling/api_op_DescribeTags.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDescribeTagsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTags(options.Region), middleware.Before); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeTerminationPolicyTypes.go b/service/autoscaling/api_op_DescribeTerminationPolicyTypes.go index 36782aba473..6f98da267c5 100644 --- a/service/autoscaling/api_op_DescribeTerminationPolicyTypes.go +++ b/service/autoscaling/api_op_DescribeTerminationPolicyTypes.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDescribeTerminationPolicyTypesMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTerminationPolicyTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeTrafficSources.go b/service/autoscaling/api_op_DescribeTrafficSources.go index a08bfc7a2a9..b5c32cb25d4 100644 --- a/service/autoscaling/api_op_DescribeTrafficSources.go +++ b/service/autoscaling/api_op_DescribeTrafficSources.go @@ -143,9 +143,6 @@ func (c *Client) addOperationDescribeTrafficSourcesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTrafficSourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DescribeWarmPool.go b/service/autoscaling/api_op_DescribeWarmPool.go index ca1b56511c9..81e4e4cc760 100644 --- a/service/autoscaling/api_op_DescribeWarmPool.go +++ b/service/autoscaling/api_op_DescribeWarmPool.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeWarmPoolMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeWarmPoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DetachInstances.go b/service/autoscaling/api_op_DetachInstances.go index c7586ab9de8..41b0699e59f 100644 --- a/service/autoscaling/api_op_DetachInstances.go +++ b/service/autoscaling/api_op_DetachInstances.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDetachInstancesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetachInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DetachLoadBalancerTargetGroups.go b/service/autoscaling/api_op_DetachLoadBalancerTargetGroups.go index c0b512e2deb..74236ec538b 100644 --- a/service/autoscaling/api_op_DetachLoadBalancerTargetGroups.go +++ b/service/autoscaling/api_op_DetachLoadBalancerTargetGroups.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDetachLoadBalancerTargetGroupsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetachLoadBalancerTargetGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DetachLoadBalancers.go b/service/autoscaling/api_op_DetachLoadBalancers.go index cc27dca17e2..52194fb9f7b 100644 --- a/service/autoscaling/api_op_DetachLoadBalancers.go +++ b/service/autoscaling/api_op_DetachLoadBalancers.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDetachLoadBalancersMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetachLoadBalancersValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DetachTrafficSources.go b/service/autoscaling/api_op_DetachTrafficSources.go index 1af5ad507b6..9e3ee3f19ac 100644 --- a/service/autoscaling/api_op_DetachTrafficSources.go +++ b/service/autoscaling/api_op_DetachTrafficSources.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDetachTrafficSourcesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetachTrafficSourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_DisableMetricsCollection.go b/service/autoscaling/api_op_DisableMetricsCollection.go index 9f1e7fda9c3..3bb1c90cb83 100644 --- a/service/autoscaling/api_op_DisableMetricsCollection.go +++ b/service/autoscaling/api_op_DisableMetricsCollection.go @@ -158,9 +158,6 @@ func (c *Client) addOperationDisableMetricsCollectionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableMetricsCollectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_EnableMetricsCollection.go b/service/autoscaling/api_op_EnableMetricsCollection.go index 0fa1ffd8ed0..341f9dcfbba 100644 --- a/service/autoscaling/api_op_EnableMetricsCollection.go +++ b/service/autoscaling/api_op_EnableMetricsCollection.go @@ -172,9 +172,6 @@ func (c *Client) addOperationEnableMetricsCollectionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableMetricsCollectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_EnterStandby.go b/service/autoscaling/api_op_EnterStandby.go index b188fa00784..c3af4cce87b 100644 --- a/service/autoscaling/api_op_EnterStandby.go +++ b/service/autoscaling/api_op_EnterStandby.go @@ -134,9 +134,6 @@ func (c *Client) addOperationEnterStandbyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnterStandbyValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_ExecutePolicy.go b/service/autoscaling/api_op_ExecutePolicy.go index 7e1f95ad0b8..c5def6f5f22 100644 --- a/service/autoscaling/api_op_ExecutePolicy.go +++ b/service/autoscaling/api_op_ExecutePolicy.go @@ -137,9 +137,6 @@ func (c *Client) addOperationExecutePolicyMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExecutePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_ExitStandby.go b/service/autoscaling/api_op_ExitStandby.go index a047eea251c..2ac064b27e4 100644 --- a/service/autoscaling/api_op_ExitStandby.go +++ b/service/autoscaling/api_op_ExitStandby.go @@ -122,9 +122,6 @@ func (c *Client) addOperationExitStandbyMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExitStandbyValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_GetPredictiveScalingForecast.go b/service/autoscaling/api_op_GetPredictiveScalingForecast.go index 13e9eb5b628..bab5481a78d 100644 --- a/service/autoscaling/api_op_GetPredictiveScalingForecast.go +++ b/service/autoscaling/api_op_GetPredictiveScalingForecast.go @@ -159,9 +159,6 @@ func (c *Client) addOperationGetPredictiveScalingForecastMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPredictiveScalingForecastValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_PutLifecycleHook.go b/service/autoscaling/api_op_PutLifecycleHook.go index e01c606fb77..34cef90076e 100644 --- a/service/autoscaling/api_op_PutLifecycleHook.go +++ b/service/autoscaling/api_op_PutLifecycleHook.go @@ -205,9 +205,6 @@ func (c *Client) addOperationPutLifecycleHookMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutLifecycleHookValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_PutNotificationConfiguration.go b/service/autoscaling/api_op_PutNotificationConfiguration.go index fdaffcaac39..ccfb7f56bd3 100644 --- a/service/autoscaling/api_op_PutNotificationConfiguration.go +++ b/service/autoscaling/api_op_PutNotificationConfiguration.go @@ -131,9 +131,6 @@ func (c *Client) addOperationPutNotificationConfigurationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutNotificationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_PutScalingPolicy.go b/service/autoscaling/api_op_PutScalingPolicy.go index e4f18985541..df01f570000 100644 --- a/service/autoscaling/api_op_PutScalingPolicy.go +++ b/service/autoscaling/api_op_PutScalingPolicy.go @@ -273,9 +273,6 @@ func (c *Client) addOperationPutScalingPolicyMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutScalingPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_PutScheduledUpdateGroupAction.go b/service/autoscaling/api_op_PutScheduledUpdateGroupAction.go index d02a8520219..ff2b715de0e 100644 --- a/service/autoscaling/api_op_PutScheduledUpdateGroupAction.go +++ b/service/autoscaling/api_op_PutScheduledUpdateGroupAction.go @@ -178,9 +178,6 @@ func (c *Client) addOperationPutScheduledUpdateGroupActionMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutScheduledUpdateGroupActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_PutWarmPool.go b/service/autoscaling/api_op_PutWarmPool.go index 589821ef895..e6b74d411a2 100644 --- a/service/autoscaling/api_op_PutWarmPool.go +++ b/service/autoscaling/api_op_PutWarmPool.go @@ -158,9 +158,6 @@ func (c *Client) addOperationPutWarmPoolMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutWarmPoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_RecordLifecycleActionHeartbeat.go b/service/autoscaling/api_op_RecordLifecycleActionHeartbeat.go index 78578fd016f..f461f28f44e 100644 --- a/service/autoscaling/api_op_RecordLifecycleActionHeartbeat.go +++ b/service/autoscaling/api_op_RecordLifecycleActionHeartbeat.go @@ -152,9 +152,6 @@ func (c *Client) addOperationRecordLifecycleActionHeartbeatMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRecordLifecycleActionHeartbeatValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_ResumeProcesses.go b/service/autoscaling/api_op_ResumeProcesses.go index 2a3fed2b240..43623440631 100644 --- a/service/autoscaling/api_op_ResumeProcesses.go +++ b/service/autoscaling/api_op_ResumeProcesses.go @@ -135,9 +135,6 @@ func (c *Client) addOperationResumeProcessesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResumeProcessesValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_RollbackInstanceRefresh.go b/service/autoscaling/api_op_RollbackInstanceRefresh.go index 675572322ad..5cc3e704c74 100644 --- a/service/autoscaling/api_op_RollbackInstanceRefresh.go +++ b/service/autoscaling/api_op_RollbackInstanceRefresh.go @@ -137,9 +137,6 @@ func (c *Client) addOperationRollbackInstanceRefreshMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRollbackInstanceRefreshValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_SetDesiredCapacity.go b/service/autoscaling/api_op_SetDesiredCapacity.go index 0f864b140bd..3fd0802e3d4 100644 --- a/service/autoscaling/api_op_SetDesiredCapacity.go +++ b/service/autoscaling/api_op_SetDesiredCapacity.go @@ -127,9 +127,6 @@ func (c *Client) addOperationSetDesiredCapacityMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetDesiredCapacityValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_SetInstanceHealth.go b/service/autoscaling/api_op_SetInstanceHealth.go index 7aaea73a015..fe31cec54a3 100644 --- a/service/autoscaling/api_op_SetInstanceHealth.go +++ b/service/autoscaling/api_op_SetInstanceHealth.go @@ -129,9 +129,6 @@ func (c *Client) addOperationSetInstanceHealthMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetInstanceHealthValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_SetInstanceProtection.go b/service/autoscaling/api_op_SetInstanceProtection.go index 121df5e6241..6f33d39ef64 100644 --- a/service/autoscaling/api_op_SetInstanceProtection.go +++ b/service/autoscaling/api_op_SetInstanceProtection.go @@ -126,9 +126,6 @@ func (c *Client) addOperationSetInstanceProtectionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetInstanceProtectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_StartInstanceRefresh.go b/service/autoscaling/api_op_StartInstanceRefresh.go index 8aea926c20b..4f2b87a44e8 100644 --- a/service/autoscaling/api_op_StartInstanceRefresh.go +++ b/service/autoscaling/api_op_StartInstanceRefresh.go @@ -176,9 +176,6 @@ func (c *Client) addOperationStartInstanceRefreshMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartInstanceRefreshValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_SuspendProcesses.go b/service/autoscaling/api_op_SuspendProcesses.go index c9e3bceff16..6b1df8f9df7 100644 --- a/service/autoscaling/api_op_SuspendProcesses.go +++ b/service/autoscaling/api_op_SuspendProcesses.go @@ -140,9 +140,6 @@ func (c *Client) addOperationSuspendProcessesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSuspendProcessesValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_TerminateInstanceInAutoScalingGroup.go b/service/autoscaling/api_op_TerminateInstanceInAutoScalingGroup.go index 7c720a2fd47..97b7d78b1cc 100644 --- a/service/autoscaling/api_op_TerminateInstanceInAutoScalingGroup.go +++ b/service/autoscaling/api_op_TerminateInstanceInAutoScalingGroup.go @@ -135,9 +135,6 @@ func (c *Client) addOperationTerminateInstanceInAutoScalingGroupMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTerminateInstanceInAutoScalingGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/api_op_UpdateAutoScalingGroup.go b/service/autoscaling/api_op_UpdateAutoScalingGroup.go index 51106fad91c..caeb4b8bfe3 100644 --- a/service/autoscaling/api_op_UpdateAutoScalingGroup.go +++ b/service/autoscaling/api_op_UpdateAutoScalingGroup.go @@ -336,9 +336,6 @@ func (c *Client) addOperationUpdateAutoScalingGroupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAutoScalingGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscaling/snapshot/api_op_AttachInstances.go.snap b/service/autoscaling/snapshot/api_op_AttachInstances.go.snap index 84db703c335..ad17c6db97d 100644 --- a/service/autoscaling/snapshot/api_op_AttachInstances.go.snap +++ b/service/autoscaling/snapshot/api_op_AttachInstances.go.snap @@ -14,7 +14,6 @@ AttachInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_AttachLoadBalancerTargetGroups.go.snap b/service/autoscaling/snapshot/api_op_AttachLoadBalancerTargetGroups.go.snap index 2a0dfdf4615..57d7113ab3a 100644 --- a/service/autoscaling/snapshot/api_op_AttachLoadBalancerTargetGroups.go.snap +++ b/service/autoscaling/snapshot/api_op_AttachLoadBalancerTargetGroups.go.snap @@ -14,7 +14,6 @@ AttachLoadBalancerTargetGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_AttachLoadBalancers.go.snap b/service/autoscaling/snapshot/api_op_AttachLoadBalancers.go.snap index 431854b3278..3d898ac3362 100644 --- a/service/autoscaling/snapshot/api_op_AttachLoadBalancers.go.snap +++ b/service/autoscaling/snapshot/api_op_AttachLoadBalancers.go.snap @@ -14,7 +14,6 @@ AttachLoadBalancers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_AttachTrafficSources.go.snap b/service/autoscaling/snapshot/api_op_AttachTrafficSources.go.snap index 0773cbf629c..89f2a7107dc 100644 --- a/service/autoscaling/snapshot/api_op_AttachTrafficSources.go.snap +++ b/service/autoscaling/snapshot/api_op_AttachTrafficSources.go.snap @@ -14,7 +14,6 @@ AttachTrafficSources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_BatchDeleteScheduledAction.go.snap b/service/autoscaling/snapshot/api_op_BatchDeleteScheduledAction.go.snap index a705bc45f5d..d6cf095ad46 100644 --- a/service/autoscaling/snapshot/api_op_BatchDeleteScheduledAction.go.snap +++ b/service/autoscaling/snapshot/api_op_BatchDeleteScheduledAction.go.snap @@ -14,7 +14,6 @@ BatchDeleteScheduledAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_BatchPutScheduledUpdateGroupAction.go.snap b/service/autoscaling/snapshot/api_op_BatchPutScheduledUpdateGroupAction.go.snap index 95720845f31..92d0b2e0454 100644 --- a/service/autoscaling/snapshot/api_op_BatchPutScheduledUpdateGroupAction.go.snap +++ b/service/autoscaling/snapshot/api_op_BatchPutScheduledUpdateGroupAction.go.snap @@ -14,7 +14,6 @@ BatchPutScheduledUpdateGroupAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_CancelInstanceRefresh.go.snap b/service/autoscaling/snapshot/api_op_CancelInstanceRefresh.go.snap index bbe6f4555a8..234cf505eda 100644 --- a/service/autoscaling/snapshot/api_op_CancelInstanceRefresh.go.snap +++ b/service/autoscaling/snapshot/api_op_CancelInstanceRefresh.go.snap @@ -14,7 +14,6 @@ CancelInstanceRefresh Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_CompleteLifecycleAction.go.snap b/service/autoscaling/snapshot/api_op_CompleteLifecycleAction.go.snap index 9cafefc1896..e7f54ef3be9 100644 --- a/service/autoscaling/snapshot/api_op_CompleteLifecycleAction.go.snap +++ b/service/autoscaling/snapshot/api_op_CompleteLifecycleAction.go.snap @@ -14,7 +14,6 @@ CompleteLifecycleAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_CreateAutoScalingGroup.go.snap b/service/autoscaling/snapshot/api_op_CreateAutoScalingGroup.go.snap index 7a0fb23ab27..79208bddcc0 100644 --- a/service/autoscaling/snapshot/api_op_CreateAutoScalingGroup.go.snap +++ b/service/autoscaling/snapshot/api_op_CreateAutoScalingGroup.go.snap @@ -14,7 +14,6 @@ CreateAutoScalingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_CreateLaunchConfiguration.go.snap b/service/autoscaling/snapshot/api_op_CreateLaunchConfiguration.go.snap index 80bedda7445..ad577d5081b 100644 --- a/service/autoscaling/snapshot/api_op_CreateLaunchConfiguration.go.snap +++ b/service/autoscaling/snapshot/api_op_CreateLaunchConfiguration.go.snap @@ -14,7 +14,6 @@ CreateLaunchConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_CreateOrUpdateTags.go.snap b/service/autoscaling/snapshot/api_op_CreateOrUpdateTags.go.snap index caf59c9aa57..6e970f34c7f 100644 --- a/service/autoscaling/snapshot/api_op_CreateOrUpdateTags.go.snap +++ b/service/autoscaling/snapshot/api_op_CreateOrUpdateTags.go.snap @@ -14,7 +14,6 @@ CreateOrUpdateTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DeleteAutoScalingGroup.go.snap b/service/autoscaling/snapshot/api_op_DeleteAutoScalingGroup.go.snap index 61df4038d4e..cc7afa5a1bc 100644 --- a/service/autoscaling/snapshot/api_op_DeleteAutoScalingGroup.go.snap +++ b/service/autoscaling/snapshot/api_op_DeleteAutoScalingGroup.go.snap @@ -14,7 +14,6 @@ DeleteAutoScalingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DeleteLaunchConfiguration.go.snap b/service/autoscaling/snapshot/api_op_DeleteLaunchConfiguration.go.snap index 4ef2cd8e25b..d5818bc38f2 100644 --- a/service/autoscaling/snapshot/api_op_DeleteLaunchConfiguration.go.snap +++ b/service/autoscaling/snapshot/api_op_DeleteLaunchConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteLaunchConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DeleteLifecycleHook.go.snap b/service/autoscaling/snapshot/api_op_DeleteLifecycleHook.go.snap index 4f7dacae283..d187d7da97c 100644 --- a/service/autoscaling/snapshot/api_op_DeleteLifecycleHook.go.snap +++ b/service/autoscaling/snapshot/api_op_DeleteLifecycleHook.go.snap @@ -14,7 +14,6 @@ DeleteLifecycleHook Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DeleteNotificationConfiguration.go.snap b/service/autoscaling/snapshot/api_op_DeleteNotificationConfiguration.go.snap index 2573a1a5c4e..1fac8d111eb 100644 --- a/service/autoscaling/snapshot/api_op_DeleteNotificationConfiguration.go.snap +++ b/service/autoscaling/snapshot/api_op_DeleteNotificationConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteNotificationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DeletePolicy.go.snap b/service/autoscaling/snapshot/api_op_DeletePolicy.go.snap index 82f0492a4e2..cf5ab0d043a 100644 --- a/service/autoscaling/snapshot/api_op_DeletePolicy.go.snap +++ b/service/autoscaling/snapshot/api_op_DeletePolicy.go.snap @@ -14,7 +14,6 @@ DeletePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DeleteScheduledAction.go.snap b/service/autoscaling/snapshot/api_op_DeleteScheduledAction.go.snap index a0420da12e4..4bd5e808d1e 100644 --- a/service/autoscaling/snapshot/api_op_DeleteScheduledAction.go.snap +++ b/service/autoscaling/snapshot/api_op_DeleteScheduledAction.go.snap @@ -14,7 +14,6 @@ DeleteScheduledAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DeleteTags.go.snap b/service/autoscaling/snapshot/api_op_DeleteTags.go.snap index 7821a01e140..0eeb01dca01 100644 --- a/service/autoscaling/snapshot/api_op_DeleteTags.go.snap +++ b/service/autoscaling/snapshot/api_op_DeleteTags.go.snap @@ -14,7 +14,6 @@ DeleteTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DeleteWarmPool.go.snap b/service/autoscaling/snapshot/api_op_DeleteWarmPool.go.snap index ad2a729760f..0032f91208a 100644 --- a/service/autoscaling/snapshot/api_op_DeleteWarmPool.go.snap +++ b/service/autoscaling/snapshot/api_op_DeleteWarmPool.go.snap @@ -14,7 +14,6 @@ DeleteWarmPool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DescribeAccountLimits.go.snap b/service/autoscaling/snapshot/api_op_DescribeAccountLimits.go.snap index 84ffa497501..283376e4c97 100644 --- a/service/autoscaling/snapshot/api_op_DescribeAccountLimits.go.snap +++ b/service/autoscaling/snapshot/api_op_DescribeAccountLimits.go.snap @@ -13,7 +13,6 @@ DescribeAccountLimits Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DescribeAdjustmentTypes.go.snap b/service/autoscaling/snapshot/api_op_DescribeAdjustmentTypes.go.snap index 00ffbe34547..7d455ce75f6 100644 --- a/service/autoscaling/snapshot/api_op_DescribeAdjustmentTypes.go.snap +++ b/service/autoscaling/snapshot/api_op_DescribeAdjustmentTypes.go.snap @@ -13,7 +13,6 @@ DescribeAdjustmentTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DescribeAutoScalingGroups.go.snap b/service/autoscaling/snapshot/api_op_DescribeAutoScalingGroups.go.snap index badf7407fdc..782e4b473b9 100644 --- a/service/autoscaling/snapshot/api_op_DescribeAutoScalingGroups.go.snap +++ b/service/autoscaling/snapshot/api_op_DescribeAutoScalingGroups.go.snap @@ -13,7 +13,6 @@ DescribeAutoScalingGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DescribeAutoScalingInstances.go.snap b/service/autoscaling/snapshot/api_op_DescribeAutoScalingInstances.go.snap index e723ba9a9cc..abc72f77787 100644 --- a/service/autoscaling/snapshot/api_op_DescribeAutoScalingInstances.go.snap +++ b/service/autoscaling/snapshot/api_op_DescribeAutoScalingInstances.go.snap @@ -13,7 +13,6 @@ DescribeAutoScalingInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DescribeAutoScalingNotificationTypes.go.snap b/service/autoscaling/snapshot/api_op_DescribeAutoScalingNotificationTypes.go.snap index 17b77efb08e..fca0ea9f290 100644 --- a/service/autoscaling/snapshot/api_op_DescribeAutoScalingNotificationTypes.go.snap +++ b/service/autoscaling/snapshot/api_op_DescribeAutoScalingNotificationTypes.go.snap @@ -13,7 +13,6 @@ DescribeAutoScalingNotificationTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DescribeInstanceRefreshes.go.snap b/service/autoscaling/snapshot/api_op_DescribeInstanceRefreshes.go.snap index 9f1f8ac558f..4c1d7abdf21 100644 --- a/service/autoscaling/snapshot/api_op_DescribeInstanceRefreshes.go.snap +++ b/service/autoscaling/snapshot/api_op_DescribeInstanceRefreshes.go.snap @@ -14,7 +14,6 @@ DescribeInstanceRefreshes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DescribeLaunchConfigurations.go.snap b/service/autoscaling/snapshot/api_op_DescribeLaunchConfigurations.go.snap index bb26ce4917b..0c5da6b3892 100644 --- a/service/autoscaling/snapshot/api_op_DescribeLaunchConfigurations.go.snap +++ b/service/autoscaling/snapshot/api_op_DescribeLaunchConfigurations.go.snap @@ -13,7 +13,6 @@ DescribeLaunchConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DescribeLifecycleHookTypes.go.snap b/service/autoscaling/snapshot/api_op_DescribeLifecycleHookTypes.go.snap index a6cd3edeb94..10d4c030f34 100644 --- a/service/autoscaling/snapshot/api_op_DescribeLifecycleHookTypes.go.snap +++ b/service/autoscaling/snapshot/api_op_DescribeLifecycleHookTypes.go.snap @@ -13,7 +13,6 @@ DescribeLifecycleHookTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DescribeLifecycleHooks.go.snap b/service/autoscaling/snapshot/api_op_DescribeLifecycleHooks.go.snap index 81edd13aa0a..9fac0d40d54 100644 --- a/service/autoscaling/snapshot/api_op_DescribeLifecycleHooks.go.snap +++ b/service/autoscaling/snapshot/api_op_DescribeLifecycleHooks.go.snap @@ -14,7 +14,6 @@ DescribeLifecycleHooks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DescribeLoadBalancerTargetGroups.go.snap b/service/autoscaling/snapshot/api_op_DescribeLoadBalancerTargetGroups.go.snap index 7058ac92802..f37c3e419e8 100644 --- a/service/autoscaling/snapshot/api_op_DescribeLoadBalancerTargetGroups.go.snap +++ b/service/autoscaling/snapshot/api_op_DescribeLoadBalancerTargetGroups.go.snap @@ -14,7 +14,6 @@ DescribeLoadBalancerTargetGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DescribeLoadBalancers.go.snap b/service/autoscaling/snapshot/api_op_DescribeLoadBalancers.go.snap index 97c7e4c1585..a3b6387cbc1 100644 --- a/service/autoscaling/snapshot/api_op_DescribeLoadBalancers.go.snap +++ b/service/autoscaling/snapshot/api_op_DescribeLoadBalancers.go.snap @@ -14,7 +14,6 @@ DescribeLoadBalancers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DescribeMetricCollectionTypes.go.snap b/service/autoscaling/snapshot/api_op_DescribeMetricCollectionTypes.go.snap index 350eea28697..72fa6216b5e 100644 --- a/service/autoscaling/snapshot/api_op_DescribeMetricCollectionTypes.go.snap +++ b/service/autoscaling/snapshot/api_op_DescribeMetricCollectionTypes.go.snap @@ -13,7 +13,6 @@ DescribeMetricCollectionTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DescribeNotificationConfigurations.go.snap b/service/autoscaling/snapshot/api_op_DescribeNotificationConfigurations.go.snap index 5d13aaa2d12..2e7b6115dff 100644 --- a/service/autoscaling/snapshot/api_op_DescribeNotificationConfigurations.go.snap +++ b/service/autoscaling/snapshot/api_op_DescribeNotificationConfigurations.go.snap @@ -13,7 +13,6 @@ DescribeNotificationConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DescribePolicies.go.snap b/service/autoscaling/snapshot/api_op_DescribePolicies.go.snap index 03834d272e7..1f099a0e3e0 100644 --- a/service/autoscaling/snapshot/api_op_DescribePolicies.go.snap +++ b/service/autoscaling/snapshot/api_op_DescribePolicies.go.snap @@ -13,7 +13,6 @@ DescribePolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DescribeScalingActivities.go.snap b/service/autoscaling/snapshot/api_op_DescribeScalingActivities.go.snap index 57bc00a936b..61bbcd6ff02 100644 --- a/service/autoscaling/snapshot/api_op_DescribeScalingActivities.go.snap +++ b/service/autoscaling/snapshot/api_op_DescribeScalingActivities.go.snap @@ -13,7 +13,6 @@ DescribeScalingActivities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DescribeScalingProcessTypes.go.snap b/service/autoscaling/snapshot/api_op_DescribeScalingProcessTypes.go.snap index 02632eb98e5..7132191ffb7 100644 --- a/service/autoscaling/snapshot/api_op_DescribeScalingProcessTypes.go.snap +++ b/service/autoscaling/snapshot/api_op_DescribeScalingProcessTypes.go.snap @@ -13,7 +13,6 @@ DescribeScalingProcessTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DescribeScheduledActions.go.snap b/service/autoscaling/snapshot/api_op_DescribeScheduledActions.go.snap index 1feb7e43303..615b013d264 100644 --- a/service/autoscaling/snapshot/api_op_DescribeScheduledActions.go.snap +++ b/service/autoscaling/snapshot/api_op_DescribeScheduledActions.go.snap @@ -13,7 +13,6 @@ DescribeScheduledActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DescribeTags.go.snap b/service/autoscaling/snapshot/api_op_DescribeTags.go.snap index 1f7ddc78181..c53b71dd605 100644 --- a/service/autoscaling/snapshot/api_op_DescribeTags.go.snap +++ b/service/autoscaling/snapshot/api_op_DescribeTags.go.snap @@ -13,7 +13,6 @@ DescribeTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DescribeTerminationPolicyTypes.go.snap b/service/autoscaling/snapshot/api_op_DescribeTerminationPolicyTypes.go.snap index cb614604a76..3d0e16cb3a9 100644 --- a/service/autoscaling/snapshot/api_op_DescribeTerminationPolicyTypes.go.snap +++ b/service/autoscaling/snapshot/api_op_DescribeTerminationPolicyTypes.go.snap @@ -13,7 +13,6 @@ DescribeTerminationPolicyTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DescribeTrafficSources.go.snap b/service/autoscaling/snapshot/api_op_DescribeTrafficSources.go.snap index 59bfb6107b3..1460bae28eb 100644 --- a/service/autoscaling/snapshot/api_op_DescribeTrafficSources.go.snap +++ b/service/autoscaling/snapshot/api_op_DescribeTrafficSources.go.snap @@ -14,7 +14,6 @@ DescribeTrafficSources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DescribeWarmPool.go.snap b/service/autoscaling/snapshot/api_op_DescribeWarmPool.go.snap index fd13ea2c6a8..6fa2181d330 100644 --- a/service/autoscaling/snapshot/api_op_DescribeWarmPool.go.snap +++ b/service/autoscaling/snapshot/api_op_DescribeWarmPool.go.snap @@ -14,7 +14,6 @@ DescribeWarmPool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DetachInstances.go.snap b/service/autoscaling/snapshot/api_op_DetachInstances.go.snap index 2b5f28adc23..9dbd1900c9f 100644 --- a/service/autoscaling/snapshot/api_op_DetachInstances.go.snap +++ b/service/autoscaling/snapshot/api_op_DetachInstances.go.snap @@ -14,7 +14,6 @@ DetachInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DetachLoadBalancerTargetGroups.go.snap b/service/autoscaling/snapshot/api_op_DetachLoadBalancerTargetGroups.go.snap index 04465b318db..f7d304e6bf5 100644 --- a/service/autoscaling/snapshot/api_op_DetachLoadBalancerTargetGroups.go.snap +++ b/service/autoscaling/snapshot/api_op_DetachLoadBalancerTargetGroups.go.snap @@ -14,7 +14,6 @@ DetachLoadBalancerTargetGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DetachLoadBalancers.go.snap b/service/autoscaling/snapshot/api_op_DetachLoadBalancers.go.snap index 73048af6999..aa15e68baeb 100644 --- a/service/autoscaling/snapshot/api_op_DetachLoadBalancers.go.snap +++ b/service/autoscaling/snapshot/api_op_DetachLoadBalancers.go.snap @@ -14,7 +14,6 @@ DetachLoadBalancers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DetachTrafficSources.go.snap b/service/autoscaling/snapshot/api_op_DetachTrafficSources.go.snap index 435caa14a90..e527ebd3cf1 100644 --- a/service/autoscaling/snapshot/api_op_DetachTrafficSources.go.snap +++ b/service/autoscaling/snapshot/api_op_DetachTrafficSources.go.snap @@ -14,7 +14,6 @@ DetachTrafficSources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_DisableMetricsCollection.go.snap b/service/autoscaling/snapshot/api_op_DisableMetricsCollection.go.snap index 97dadd249c3..133500acdb4 100644 --- a/service/autoscaling/snapshot/api_op_DisableMetricsCollection.go.snap +++ b/service/autoscaling/snapshot/api_op_DisableMetricsCollection.go.snap @@ -14,7 +14,6 @@ DisableMetricsCollection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_EnableMetricsCollection.go.snap b/service/autoscaling/snapshot/api_op_EnableMetricsCollection.go.snap index e162818880f..c7ff50b5221 100644 --- a/service/autoscaling/snapshot/api_op_EnableMetricsCollection.go.snap +++ b/service/autoscaling/snapshot/api_op_EnableMetricsCollection.go.snap @@ -14,7 +14,6 @@ EnableMetricsCollection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_EnterStandby.go.snap b/service/autoscaling/snapshot/api_op_EnterStandby.go.snap index dcd6ef1123d..7cc6507c509 100644 --- a/service/autoscaling/snapshot/api_op_EnterStandby.go.snap +++ b/service/autoscaling/snapshot/api_op_EnterStandby.go.snap @@ -14,7 +14,6 @@ EnterStandby Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_ExecutePolicy.go.snap b/service/autoscaling/snapshot/api_op_ExecutePolicy.go.snap index a96647e2a81..e63ee629ac7 100644 --- a/service/autoscaling/snapshot/api_op_ExecutePolicy.go.snap +++ b/service/autoscaling/snapshot/api_op_ExecutePolicy.go.snap @@ -14,7 +14,6 @@ ExecutePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_ExitStandby.go.snap b/service/autoscaling/snapshot/api_op_ExitStandby.go.snap index 955c07a2cff..f6ba1156021 100644 --- a/service/autoscaling/snapshot/api_op_ExitStandby.go.snap +++ b/service/autoscaling/snapshot/api_op_ExitStandby.go.snap @@ -14,7 +14,6 @@ ExitStandby Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_GetPredictiveScalingForecast.go.snap b/service/autoscaling/snapshot/api_op_GetPredictiveScalingForecast.go.snap index 1fffd4b588e..0a19a8eedf1 100644 --- a/service/autoscaling/snapshot/api_op_GetPredictiveScalingForecast.go.snap +++ b/service/autoscaling/snapshot/api_op_GetPredictiveScalingForecast.go.snap @@ -14,7 +14,6 @@ GetPredictiveScalingForecast Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_PutLifecycleHook.go.snap b/service/autoscaling/snapshot/api_op_PutLifecycleHook.go.snap index d6ba64085f3..232e50e9752 100644 --- a/service/autoscaling/snapshot/api_op_PutLifecycleHook.go.snap +++ b/service/autoscaling/snapshot/api_op_PutLifecycleHook.go.snap @@ -14,7 +14,6 @@ PutLifecycleHook Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_PutNotificationConfiguration.go.snap b/service/autoscaling/snapshot/api_op_PutNotificationConfiguration.go.snap index 7029a9de3f4..363c93e6eca 100644 --- a/service/autoscaling/snapshot/api_op_PutNotificationConfiguration.go.snap +++ b/service/autoscaling/snapshot/api_op_PutNotificationConfiguration.go.snap @@ -14,7 +14,6 @@ PutNotificationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_PutScalingPolicy.go.snap b/service/autoscaling/snapshot/api_op_PutScalingPolicy.go.snap index b759dbeedf0..74daf1b852f 100644 --- a/service/autoscaling/snapshot/api_op_PutScalingPolicy.go.snap +++ b/service/autoscaling/snapshot/api_op_PutScalingPolicy.go.snap @@ -14,7 +14,6 @@ PutScalingPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_PutScheduledUpdateGroupAction.go.snap b/service/autoscaling/snapshot/api_op_PutScheduledUpdateGroupAction.go.snap index 200132a6d97..157220771ce 100644 --- a/service/autoscaling/snapshot/api_op_PutScheduledUpdateGroupAction.go.snap +++ b/service/autoscaling/snapshot/api_op_PutScheduledUpdateGroupAction.go.snap @@ -14,7 +14,6 @@ PutScheduledUpdateGroupAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_PutWarmPool.go.snap b/service/autoscaling/snapshot/api_op_PutWarmPool.go.snap index 54e3fc89a57..cfc779b9ed8 100644 --- a/service/autoscaling/snapshot/api_op_PutWarmPool.go.snap +++ b/service/autoscaling/snapshot/api_op_PutWarmPool.go.snap @@ -14,7 +14,6 @@ PutWarmPool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_RecordLifecycleActionHeartbeat.go.snap b/service/autoscaling/snapshot/api_op_RecordLifecycleActionHeartbeat.go.snap index a7ec0dedca9..6a4ab863df1 100644 --- a/service/autoscaling/snapshot/api_op_RecordLifecycleActionHeartbeat.go.snap +++ b/service/autoscaling/snapshot/api_op_RecordLifecycleActionHeartbeat.go.snap @@ -14,7 +14,6 @@ RecordLifecycleActionHeartbeat Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_ResumeProcesses.go.snap b/service/autoscaling/snapshot/api_op_ResumeProcesses.go.snap index 9d2719b6a8c..3008afa558e 100644 --- a/service/autoscaling/snapshot/api_op_ResumeProcesses.go.snap +++ b/service/autoscaling/snapshot/api_op_ResumeProcesses.go.snap @@ -14,7 +14,6 @@ ResumeProcesses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_RollbackInstanceRefresh.go.snap b/service/autoscaling/snapshot/api_op_RollbackInstanceRefresh.go.snap index 229f27adf15..7ad9699dc6e 100644 --- a/service/autoscaling/snapshot/api_op_RollbackInstanceRefresh.go.snap +++ b/service/autoscaling/snapshot/api_op_RollbackInstanceRefresh.go.snap @@ -14,7 +14,6 @@ RollbackInstanceRefresh Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_SetDesiredCapacity.go.snap b/service/autoscaling/snapshot/api_op_SetDesiredCapacity.go.snap index e391f025b5b..443ddfa2e04 100644 --- a/service/autoscaling/snapshot/api_op_SetDesiredCapacity.go.snap +++ b/service/autoscaling/snapshot/api_op_SetDesiredCapacity.go.snap @@ -14,7 +14,6 @@ SetDesiredCapacity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_SetInstanceHealth.go.snap b/service/autoscaling/snapshot/api_op_SetInstanceHealth.go.snap index 12985ace859..1cfac5e4c92 100644 --- a/service/autoscaling/snapshot/api_op_SetInstanceHealth.go.snap +++ b/service/autoscaling/snapshot/api_op_SetInstanceHealth.go.snap @@ -14,7 +14,6 @@ SetInstanceHealth Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_SetInstanceProtection.go.snap b/service/autoscaling/snapshot/api_op_SetInstanceProtection.go.snap index 42b2c0f97a6..14c415aa6c8 100644 --- a/service/autoscaling/snapshot/api_op_SetInstanceProtection.go.snap +++ b/service/autoscaling/snapshot/api_op_SetInstanceProtection.go.snap @@ -14,7 +14,6 @@ SetInstanceProtection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_StartInstanceRefresh.go.snap b/service/autoscaling/snapshot/api_op_StartInstanceRefresh.go.snap index e2266a98359..f24c8eca08a 100644 --- a/service/autoscaling/snapshot/api_op_StartInstanceRefresh.go.snap +++ b/service/autoscaling/snapshot/api_op_StartInstanceRefresh.go.snap @@ -14,7 +14,6 @@ StartInstanceRefresh Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_SuspendProcesses.go.snap b/service/autoscaling/snapshot/api_op_SuspendProcesses.go.snap index 9fe64fed078..874586bf6ae 100644 --- a/service/autoscaling/snapshot/api_op_SuspendProcesses.go.snap +++ b/service/autoscaling/snapshot/api_op_SuspendProcesses.go.snap @@ -14,7 +14,6 @@ SuspendProcesses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_TerminateInstanceInAutoScalingGroup.go.snap b/service/autoscaling/snapshot/api_op_TerminateInstanceInAutoScalingGroup.go.snap index 1b9193d61ea..a6f9ebfc40c 100644 --- a/service/autoscaling/snapshot/api_op_TerminateInstanceInAutoScalingGroup.go.snap +++ b/service/autoscaling/snapshot/api_op_TerminateInstanceInAutoScalingGroup.go.snap @@ -14,7 +14,6 @@ TerminateInstanceInAutoScalingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscaling/snapshot/api_op_UpdateAutoScalingGroup.go.snap b/service/autoscaling/snapshot/api_op_UpdateAutoScalingGroup.go.snap index fa749348091..a5cc29b783b 100644 --- a/service/autoscaling/snapshot/api_op_UpdateAutoScalingGroup.go.snap +++ b/service/autoscaling/snapshot/api_op_UpdateAutoScalingGroup.go.snap @@ -14,7 +14,6 @@ UpdateAutoScalingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscalingplans/api_client.go b/service/autoscalingplans/api_client.go index c2581605e3e..fbea163d3c7 100644 --- a/service/autoscalingplans/api_client.go +++ b/service/autoscalingplans/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/autoscalingplans/api_op_CreateScalingPlan.go b/service/autoscalingplans/api_op_CreateScalingPlan.go index 2a5949a0fd4..6f4d3b04263 100644 --- a/service/autoscalingplans/api_op_CreateScalingPlan.go +++ b/service/autoscalingplans/api_op_CreateScalingPlan.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateScalingPlanMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateScalingPlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscalingplans/api_op_DeleteScalingPlan.go b/service/autoscalingplans/api_op_DeleteScalingPlan.go index fdd38400b4b..23e8ff77c53 100644 --- a/service/autoscalingplans/api_op_DeleteScalingPlan.go +++ b/service/autoscalingplans/api_op_DeleteScalingPlan.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteScalingPlanMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteScalingPlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscalingplans/api_op_DescribeScalingPlanResources.go b/service/autoscalingplans/api_op_DescribeScalingPlanResources.go index ad877486729..a4614856645 100644 --- a/service/autoscalingplans/api_op_DescribeScalingPlanResources.go +++ b/service/autoscalingplans/api_op_DescribeScalingPlanResources.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDescribeScalingPlanResourcesMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeScalingPlanResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscalingplans/api_op_DescribeScalingPlans.go b/service/autoscalingplans/api_op_DescribeScalingPlans.go index 1d632cc9f8f..feaefaa0120 100644 --- a/service/autoscalingplans/api_op_DescribeScalingPlans.go +++ b/service/autoscalingplans/api_op_DescribeScalingPlans.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeScalingPlansMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeScalingPlans(options.Region), middleware.Before); err != nil { return err } diff --git a/service/autoscalingplans/api_op_GetScalingPlanResourceForecastData.go b/service/autoscalingplans/api_op_GetScalingPlanResourceForecastData.go index a827ce02a75..4cdb07fa185 100644 --- a/service/autoscalingplans/api_op_GetScalingPlanResourceForecastData.go +++ b/service/autoscalingplans/api_op_GetScalingPlanResourceForecastData.go @@ -175,9 +175,6 @@ func (c *Client) addOperationGetScalingPlanResourceForecastDataMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetScalingPlanResourceForecastDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscalingplans/api_op_UpdateScalingPlan.go b/service/autoscalingplans/api_op_UpdateScalingPlan.go index a6cac4657c0..512d82d1a2a 100644 --- a/service/autoscalingplans/api_op_UpdateScalingPlan.go +++ b/service/autoscalingplans/api_op_UpdateScalingPlan.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateScalingPlanMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateScalingPlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/autoscalingplans/snapshot/api_op_CreateScalingPlan.go.snap b/service/autoscalingplans/snapshot/api_op_CreateScalingPlan.go.snap index 5718583c57a..77fa673fc64 100644 --- a/service/autoscalingplans/snapshot/api_op_CreateScalingPlan.go.snap +++ b/service/autoscalingplans/snapshot/api_op_CreateScalingPlan.go.snap @@ -14,7 +14,6 @@ CreateScalingPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscalingplans/snapshot/api_op_DeleteScalingPlan.go.snap b/service/autoscalingplans/snapshot/api_op_DeleteScalingPlan.go.snap index 3bf57737c5f..b2eafd33d5d 100644 --- a/service/autoscalingplans/snapshot/api_op_DeleteScalingPlan.go.snap +++ b/service/autoscalingplans/snapshot/api_op_DeleteScalingPlan.go.snap @@ -14,7 +14,6 @@ DeleteScalingPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscalingplans/snapshot/api_op_DescribeScalingPlanResources.go.snap b/service/autoscalingplans/snapshot/api_op_DescribeScalingPlanResources.go.snap index 031864069a3..dd69b1b8b1c 100644 --- a/service/autoscalingplans/snapshot/api_op_DescribeScalingPlanResources.go.snap +++ b/service/autoscalingplans/snapshot/api_op_DescribeScalingPlanResources.go.snap @@ -14,7 +14,6 @@ DescribeScalingPlanResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscalingplans/snapshot/api_op_DescribeScalingPlans.go.snap b/service/autoscalingplans/snapshot/api_op_DescribeScalingPlans.go.snap index 48c419eb274..ca709a8b4fb 100644 --- a/service/autoscalingplans/snapshot/api_op_DescribeScalingPlans.go.snap +++ b/service/autoscalingplans/snapshot/api_op_DescribeScalingPlans.go.snap @@ -13,7 +13,6 @@ DescribeScalingPlans Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscalingplans/snapshot/api_op_GetScalingPlanResourceForecastData.go.snap b/service/autoscalingplans/snapshot/api_op_GetScalingPlanResourceForecastData.go.snap index 6a365e640c8..1bf81fc0b26 100644 --- a/service/autoscalingplans/snapshot/api_op_GetScalingPlanResourceForecastData.go.snap +++ b/service/autoscalingplans/snapshot/api_op_GetScalingPlanResourceForecastData.go.snap @@ -14,7 +14,6 @@ GetScalingPlanResourceForecastData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/autoscalingplans/snapshot/api_op_UpdateScalingPlan.go.snap b/service/autoscalingplans/snapshot/api_op_UpdateScalingPlan.go.snap index e6839fac7af..bd644cb861a 100644 --- a/service/autoscalingplans/snapshot/api_op_UpdateScalingPlan.go.snap +++ b/service/autoscalingplans/snapshot/api_op_UpdateScalingPlan.go.snap @@ -14,7 +14,6 @@ UpdateScalingPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/b2bi/api_client.go b/service/b2bi/api_client.go index fab8aa6aee7..c5fce79dd13 100644 --- a/service/b2bi/api_client.go +++ b/service/b2bi/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/b2bi/api_op_CreateCapability.go b/service/b2bi/api_op_CreateCapability.go index 5f019bc991b..70df56eb16a 100644 --- a/service/b2bi/api_op_CreateCapability.go +++ b/service/b2bi/api_op_CreateCapability.go @@ -171,9 +171,6 @@ func (c *Client) addOperationCreateCapabilityMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateCapabilityMiddleware(stack, options); err != nil { return err } diff --git a/service/b2bi/api_op_CreatePartnership.go b/service/b2bi/api_op_CreatePartnership.go index 6778224ac41..89b2deb900e 100644 --- a/service/b2bi/api_op_CreatePartnership.go +++ b/service/b2bi/api_op_CreatePartnership.go @@ -183,9 +183,6 @@ func (c *Client) addOperationCreatePartnershipMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreatePartnershipMiddleware(stack, options); err != nil { return err } diff --git a/service/b2bi/api_op_CreateProfile.go b/service/b2bi/api_op_CreateProfile.go index 583dd201f97..02ede272fdd 100644 --- a/service/b2bi/api_op_CreateProfile.go +++ b/service/b2bi/api_op_CreateProfile.go @@ -177,9 +177,6 @@ func (c *Client) addOperationCreateProfileMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateProfileMiddleware(stack, options); err != nil { return err } diff --git a/service/b2bi/api_op_CreateStarterMappingTemplate.go b/service/b2bi/api_op_CreateStarterMappingTemplate.go index c61206bb943..de0f1bc51a4 100644 --- a/service/b2bi/api_op_CreateStarterMappingTemplate.go +++ b/service/b2bi/api_op_CreateStarterMappingTemplate.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateStarterMappingTemplateMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateStarterMappingTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/b2bi/api_op_CreateTransformer.go b/service/b2bi/api_op_CreateTransformer.go index 8d282c63404..efc551ccb87 100644 --- a/service/b2bi/api_op_CreateTransformer.go +++ b/service/b2bi/api_op_CreateTransformer.go @@ -264,9 +264,6 @@ func (c *Client) addOperationCreateTransformerMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateTransformerMiddleware(stack, options); err != nil { return err } diff --git a/service/b2bi/api_op_DeleteCapability.go b/service/b2bi/api_op_DeleteCapability.go index 4a82ea849c8..288ba4afaf8 100644 --- a/service/b2bi/api_op_DeleteCapability.go +++ b/service/b2bi/api_op_DeleteCapability.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteCapabilityMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCapabilityValidationMiddleware(stack); err != nil { return err } diff --git a/service/b2bi/api_op_DeletePartnership.go b/service/b2bi/api_op_DeletePartnership.go index 38c3d2d65d9..a8a13be9d91 100644 --- a/service/b2bi/api_op_DeletePartnership.go +++ b/service/b2bi/api_op_DeletePartnership.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeletePartnershipMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePartnershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/b2bi/api_op_DeleteProfile.go b/service/b2bi/api_op_DeleteProfile.go index bf770831c5b..7fa59e43a0d 100644 --- a/service/b2bi/api_op_DeleteProfile.go +++ b/service/b2bi/api_op_DeleteProfile.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteProfileMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/b2bi/api_op_DeleteTransformer.go b/service/b2bi/api_op_DeleteTransformer.go index 5dd123a2086..eba2d2de69e 100644 --- a/service/b2bi/api_op_DeleteTransformer.go +++ b/service/b2bi/api_op_DeleteTransformer.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteTransformerMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTransformerValidationMiddleware(stack); err != nil { return err } diff --git a/service/b2bi/api_op_GenerateMapping.go b/service/b2bi/api_op_GenerateMapping.go index 12a98d39e5e..d992d710302 100644 --- a/service/b2bi/api_op_GenerateMapping.go +++ b/service/b2bi/api_op_GenerateMapping.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGenerateMappingMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGenerateMappingValidationMiddleware(stack); err != nil { return err } diff --git a/service/b2bi/api_op_GetCapability.go b/service/b2bi/api_op_GetCapability.go index 6fc25735bed..1039fc4b6c0 100644 --- a/service/b2bi/api_op_GetCapability.go +++ b/service/b2bi/api_op_GetCapability.go @@ -151,9 +151,6 @@ func (c *Client) addOperationGetCapabilityMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCapabilityValidationMiddleware(stack); err != nil { return err } diff --git a/service/b2bi/api_op_GetPartnership.go b/service/b2bi/api_op_GetPartnership.go index f6c3687624a..6f5a7501c33 100644 --- a/service/b2bi/api_op_GetPartnership.go +++ b/service/b2bi/api_op_GetPartnership.go @@ -156,9 +156,6 @@ func (c *Client) addOperationGetPartnershipMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPartnershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/b2bi/api_op_GetProfile.go b/service/b2bi/api_op_GetProfile.go index 4eb93bfb1a2..d9fd97f1ab1 100644 --- a/service/b2bi/api_op_GetProfile.go +++ b/service/b2bi/api_op_GetProfile.go @@ -154,9 +154,6 @@ func (c *Client) addOperationGetProfileMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/b2bi/api_op_GetTransformer.go b/service/b2bi/api_op_GetTransformer.go index 2a71918ed0d..6ef822b21e1 100644 --- a/service/b2bi/api_op_GetTransformer.go +++ b/service/b2bi/api_op_GetTransformer.go @@ -189,9 +189,6 @@ func (c *Client) addOperationGetTransformerMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTransformerValidationMiddleware(stack); err != nil { return err } diff --git a/service/b2bi/api_op_GetTransformerJob.go b/service/b2bi/api_op_GetTransformerJob.go index c0577034377..6169542c722 100644 --- a/service/b2bi/api_op_GetTransformerJob.go +++ b/service/b2bi/api_op_GetTransformerJob.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGetTransformerJobMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTransformerJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/b2bi/api_op_ListCapabilities.go b/service/b2bi/api_op_ListCapabilities.go index bef7170cb4b..9d0201a1f9d 100644 --- a/service/b2bi/api_op_ListCapabilities.go +++ b/service/b2bi/api_op_ListCapabilities.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListCapabilitiesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCapabilities(options.Region), middleware.Before); err != nil { return err } diff --git a/service/b2bi/api_op_ListPartnerships.go b/service/b2bi/api_op_ListPartnerships.go index 58f0722123d..6ab76ca21fc 100644 --- a/service/b2bi/api_op_ListPartnerships.go +++ b/service/b2bi/api_op_ListPartnerships.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListPartnershipsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPartnerships(options.Region), middleware.Before); err != nil { return err } diff --git a/service/b2bi/api_op_ListProfiles.go b/service/b2bi/api_op_ListProfiles.go index 998786c499e..abc1b32304f 100644 --- a/service/b2bi/api_op_ListProfiles.go +++ b/service/b2bi/api_op_ListProfiles.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListProfilesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProfiles(options.Region), middleware.Before); err != nil { return err } diff --git a/service/b2bi/api_op_ListTagsForResource.go b/service/b2bi/api_op_ListTagsForResource.go index f9b87c020af..895c2b15181 100644 --- a/service/b2bi/api_op_ListTagsForResource.go +++ b/service/b2bi/api_op_ListTagsForResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/b2bi/api_op_ListTransformers.go b/service/b2bi/api_op_ListTransformers.go index e3b2463e93f..726ca027e43 100644 --- a/service/b2bi/api_op_ListTransformers.go +++ b/service/b2bi/api_op_ListTransformers.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListTransformersMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTransformers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/b2bi/api_op_StartTransformerJob.go b/service/b2bi/api_op_StartTransformerJob.go index fe95fbf8630..591b952bb0a 100644 --- a/service/b2bi/api_op_StartTransformerJob.go +++ b/service/b2bi/api_op_StartTransformerJob.go @@ -136,9 +136,6 @@ func (c *Client) addOperationStartTransformerJobMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartTransformerJobMiddleware(stack, options); err != nil { return err } diff --git a/service/b2bi/api_op_TagResource.go b/service/b2bi/api_op_TagResource.go index 5b8adcc4f7b..9d2092c124e 100644 --- a/service/b2bi/api_op_TagResource.go +++ b/service/b2bi/api_op_TagResource.go @@ -120,9 +120,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/b2bi/api_op_TestConversion.go b/service/b2bi/api_op_TestConversion.go index e444a05ce48..51bc76261c5 100644 --- a/service/b2bi/api_op_TestConversion.go +++ b/service/b2bi/api_op_TestConversion.go @@ -126,9 +126,6 @@ func (c *Client) addOperationTestConversionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTestConversionValidationMiddleware(stack); err != nil { return err } diff --git a/service/b2bi/api_op_TestMapping.go b/service/b2bi/api_op_TestMapping.go index d067f4e6390..c2c75fef0e4 100644 --- a/service/b2bi/api_op_TestMapping.go +++ b/service/b2bi/api_op_TestMapping.go @@ -135,9 +135,6 @@ func (c *Client) addOperationTestMappingMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTestMappingValidationMiddleware(stack); err != nil { return err } diff --git a/service/b2bi/api_op_TestParsing.go b/service/b2bi/api_op_TestParsing.go index b72e7db16f8..05aa24d729d 100644 --- a/service/b2bi/api_op_TestParsing.go +++ b/service/b2bi/api_op_TestParsing.go @@ -130,9 +130,6 @@ func (c *Client) addOperationTestParsingMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTestParsingValidationMiddleware(stack); err != nil { return err } diff --git a/service/b2bi/api_op_UntagResource.go b/service/b2bi/api_op_UntagResource.go index 21302d91c8b..70701a9f9df 100644 --- a/service/b2bi/api_op_UntagResource.go +++ b/service/b2bi/api_op_UntagResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/b2bi/api_op_UpdateCapability.go b/service/b2bi/api_op_UpdateCapability.go index 63579f60d19..fc6d6e0689e 100644 --- a/service/b2bi/api_op_UpdateCapability.go +++ b/service/b2bi/api_op_UpdateCapability.go @@ -162,9 +162,6 @@ func (c *Client) addOperationUpdateCapabilityMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCapabilityValidationMiddleware(stack); err != nil { return err } diff --git a/service/b2bi/api_op_UpdatePartnership.go b/service/b2bi/api_op_UpdatePartnership.go index 0cbbf6e3c88..5969592b6c4 100644 --- a/service/b2bi/api_op_UpdatePartnership.go +++ b/service/b2bi/api_op_UpdatePartnership.go @@ -167,9 +167,6 @@ func (c *Client) addOperationUpdatePartnershipMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePartnershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/b2bi/api_op_UpdateProfile.go b/service/b2bi/api_op_UpdateProfile.go index 1c784eb8d39..9c968bc3691 100644 --- a/service/b2bi/api_op_UpdateProfile.go +++ b/service/b2bi/api_op_UpdateProfile.go @@ -165,9 +165,6 @@ func (c *Client) addOperationUpdateProfileMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/b2bi/api_op_UpdateTransformer.go b/service/b2bi/api_op_UpdateTransformer.go index 7e684270309..540cb0f5e99 100644 --- a/service/b2bi/api_op_UpdateTransformer.go +++ b/service/b2bi/api_op_UpdateTransformer.go @@ -248,9 +248,6 @@ func (c *Client) addOperationUpdateTransformerMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTransformerValidationMiddleware(stack); err != nil { return err } diff --git a/service/b2bi/snapshot/api_op_CreateCapability.go.snap b/service/b2bi/snapshot/api_op_CreateCapability.go.snap index c67207af6b4..3d7140ea0ec 100644 --- a/service/b2bi/snapshot/api_op_CreateCapability.go.snap +++ b/service/b2bi/snapshot/api_op_CreateCapability.go.snap @@ -15,7 +15,6 @@ CreateCapability Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/b2bi/snapshot/api_op_CreatePartnership.go.snap b/service/b2bi/snapshot/api_op_CreatePartnership.go.snap index ddb894a0430..cd99a378ef3 100644 --- a/service/b2bi/snapshot/api_op_CreatePartnership.go.snap +++ b/service/b2bi/snapshot/api_op_CreatePartnership.go.snap @@ -15,7 +15,6 @@ CreatePartnership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/b2bi/snapshot/api_op_CreateProfile.go.snap b/service/b2bi/snapshot/api_op_CreateProfile.go.snap index 57f49308510..3a41a2aba3d 100644 --- a/service/b2bi/snapshot/api_op_CreateProfile.go.snap +++ b/service/b2bi/snapshot/api_op_CreateProfile.go.snap @@ -15,7 +15,6 @@ CreateProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/b2bi/snapshot/api_op_CreateStarterMappingTemplate.go.snap b/service/b2bi/snapshot/api_op_CreateStarterMappingTemplate.go.snap index 1f79dba86b9..720801b6b1d 100644 --- a/service/b2bi/snapshot/api_op_CreateStarterMappingTemplate.go.snap +++ b/service/b2bi/snapshot/api_op_CreateStarterMappingTemplate.go.snap @@ -14,7 +14,6 @@ CreateStarterMappingTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/b2bi/snapshot/api_op_CreateTransformer.go.snap b/service/b2bi/snapshot/api_op_CreateTransformer.go.snap index 02ce03f7d18..a844b4988fc 100644 --- a/service/b2bi/snapshot/api_op_CreateTransformer.go.snap +++ b/service/b2bi/snapshot/api_op_CreateTransformer.go.snap @@ -15,7 +15,6 @@ CreateTransformer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/b2bi/snapshot/api_op_DeleteCapability.go.snap b/service/b2bi/snapshot/api_op_DeleteCapability.go.snap index 8edb0f51bb4..d0d43d1a523 100644 --- a/service/b2bi/snapshot/api_op_DeleteCapability.go.snap +++ b/service/b2bi/snapshot/api_op_DeleteCapability.go.snap @@ -14,7 +14,6 @@ DeleteCapability Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/b2bi/snapshot/api_op_DeletePartnership.go.snap b/service/b2bi/snapshot/api_op_DeletePartnership.go.snap index f9a3b6701d9..e6189df16e4 100644 --- a/service/b2bi/snapshot/api_op_DeletePartnership.go.snap +++ b/service/b2bi/snapshot/api_op_DeletePartnership.go.snap @@ -14,7 +14,6 @@ DeletePartnership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/b2bi/snapshot/api_op_DeleteProfile.go.snap b/service/b2bi/snapshot/api_op_DeleteProfile.go.snap index 799e701b0b8..05282b5914c 100644 --- a/service/b2bi/snapshot/api_op_DeleteProfile.go.snap +++ b/service/b2bi/snapshot/api_op_DeleteProfile.go.snap @@ -14,7 +14,6 @@ DeleteProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/b2bi/snapshot/api_op_DeleteTransformer.go.snap b/service/b2bi/snapshot/api_op_DeleteTransformer.go.snap index 01a598722d4..562be35f5ab 100644 --- a/service/b2bi/snapshot/api_op_DeleteTransformer.go.snap +++ b/service/b2bi/snapshot/api_op_DeleteTransformer.go.snap @@ -14,7 +14,6 @@ DeleteTransformer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/b2bi/snapshot/api_op_GenerateMapping.go.snap b/service/b2bi/snapshot/api_op_GenerateMapping.go.snap index 42f8dad979f..834289314e8 100644 --- a/service/b2bi/snapshot/api_op_GenerateMapping.go.snap +++ b/service/b2bi/snapshot/api_op_GenerateMapping.go.snap @@ -14,7 +14,6 @@ GenerateMapping Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/b2bi/snapshot/api_op_GetCapability.go.snap b/service/b2bi/snapshot/api_op_GetCapability.go.snap index 5a9e20e386d..dd6c4d6f2db 100644 --- a/service/b2bi/snapshot/api_op_GetCapability.go.snap +++ b/service/b2bi/snapshot/api_op_GetCapability.go.snap @@ -14,7 +14,6 @@ GetCapability Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/b2bi/snapshot/api_op_GetPartnership.go.snap b/service/b2bi/snapshot/api_op_GetPartnership.go.snap index ab69e741584..3f53f05cddd 100644 --- a/service/b2bi/snapshot/api_op_GetPartnership.go.snap +++ b/service/b2bi/snapshot/api_op_GetPartnership.go.snap @@ -14,7 +14,6 @@ GetPartnership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/b2bi/snapshot/api_op_GetProfile.go.snap b/service/b2bi/snapshot/api_op_GetProfile.go.snap index b0b71d50a56..67bf1a1e445 100644 --- a/service/b2bi/snapshot/api_op_GetProfile.go.snap +++ b/service/b2bi/snapshot/api_op_GetProfile.go.snap @@ -14,7 +14,6 @@ GetProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/b2bi/snapshot/api_op_GetTransformer.go.snap b/service/b2bi/snapshot/api_op_GetTransformer.go.snap index 48a0dc4cb47..9af9fea8fdc 100644 --- a/service/b2bi/snapshot/api_op_GetTransformer.go.snap +++ b/service/b2bi/snapshot/api_op_GetTransformer.go.snap @@ -14,7 +14,6 @@ GetTransformer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/b2bi/snapshot/api_op_GetTransformerJob.go.snap b/service/b2bi/snapshot/api_op_GetTransformerJob.go.snap index 8e216e412ae..376d8a10a36 100644 --- a/service/b2bi/snapshot/api_op_GetTransformerJob.go.snap +++ b/service/b2bi/snapshot/api_op_GetTransformerJob.go.snap @@ -14,7 +14,6 @@ GetTransformerJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/b2bi/snapshot/api_op_ListCapabilities.go.snap b/service/b2bi/snapshot/api_op_ListCapabilities.go.snap index b4fb5238e93..d66d4b17431 100644 --- a/service/b2bi/snapshot/api_op_ListCapabilities.go.snap +++ b/service/b2bi/snapshot/api_op_ListCapabilities.go.snap @@ -13,7 +13,6 @@ ListCapabilities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/b2bi/snapshot/api_op_ListPartnerships.go.snap b/service/b2bi/snapshot/api_op_ListPartnerships.go.snap index dcc2dede692..f33550e5c0e 100644 --- a/service/b2bi/snapshot/api_op_ListPartnerships.go.snap +++ b/service/b2bi/snapshot/api_op_ListPartnerships.go.snap @@ -13,7 +13,6 @@ ListPartnerships Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/b2bi/snapshot/api_op_ListProfiles.go.snap b/service/b2bi/snapshot/api_op_ListProfiles.go.snap index 630e6c9bc09..5606d9bd3a7 100644 --- a/service/b2bi/snapshot/api_op_ListProfiles.go.snap +++ b/service/b2bi/snapshot/api_op_ListProfiles.go.snap @@ -13,7 +13,6 @@ ListProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/b2bi/snapshot/api_op_ListTagsForResource.go.snap b/service/b2bi/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/b2bi/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/b2bi/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/b2bi/snapshot/api_op_ListTransformers.go.snap b/service/b2bi/snapshot/api_op_ListTransformers.go.snap index ef97201893d..ed6aaaf16ef 100644 --- a/service/b2bi/snapshot/api_op_ListTransformers.go.snap +++ b/service/b2bi/snapshot/api_op_ListTransformers.go.snap @@ -13,7 +13,6 @@ ListTransformers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/b2bi/snapshot/api_op_StartTransformerJob.go.snap b/service/b2bi/snapshot/api_op_StartTransformerJob.go.snap index 12fd9be37c1..ef7bcdf0522 100644 --- a/service/b2bi/snapshot/api_op_StartTransformerJob.go.snap +++ b/service/b2bi/snapshot/api_op_StartTransformerJob.go.snap @@ -15,7 +15,6 @@ StartTransformerJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/b2bi/snapshot/api_op_TagResource.go.snap b/service/b2bi/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/b2bi/snapshot/api_op_TagResource.go.snap +++ b/service/b2bi/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/b2bi/snapshot/api_op_TestConversion.go.snap b/service/b2bi/snapshot/api_op_TestConversion.go.snap index 46f358d8dda..6ca7f120229 100644 --- a/service/b2bi/snapshot/api_op_TestConversion.go.snap +++ b/service/b2bi/snapshot/api_op_TestConversion.go.snap @@ -14,7 +14,6 @@ TestConversion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/b2bi/snapshot/api_op_TestMapping.go.snap b/service/b2bi/snapshot/api_op_TestMapping.go.snap index cf0dbaf7081..f9de1d898fa 100644 --- a/service/b2bi/snapshot/api_op_TestMapping.go.snap +++ b/service/b2bi/snapshot/api_op_TestMapping.go.snap @@ -14,7 +14,6 @@ TestMapping Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/b2bi/snapshot/api_op_TestParsing.go.snap b/service/b2bi/snapshot/api_op_TestParsing.go.snap index b9b29c21203..0b981f06b79 100644 --- a/service/b2bi/snapshot/api_op_TestParsing.go.snap +++ b/service/b2bi/snapshot/api_op_TestParsing.go.snap @@ -14,7 +14,6 @@ TestParsing Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/b2bi/snapshot/api_op_UntagResource.go.snap b/service/b2bi/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/b2bi/snapshot/api_op_UntagResource.go.snap +++ b/service/b2bi/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/b2bi/snapshot/api_op_UpdateCapability.go.snap b/service/b2bi/snapshot/api_op_UpdateCapability.go.snap index d44d7a09c02..624ade18620 100644 --- a/service/b2bi/snapshot/api_op_UpdateCapability.go.snap +++ b/service/b2bi/snapshot/api_op_UpdateCapability.go.snap @@ -14,7 +14,6 @@ UpdateCapability Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/b2bi/snapshot/api_op_UpdatePartnership.go.snap b/service/b2bi/snapshot/api_op_UpdatePartnership.go.snap index 1739602beb1..0c902687932 100644 --- a/service/b2bi/snapshot/api_op_UpdatePartnership.go.snap +++ b/service/b2bi/snapshot/api_op_UpdatePartnership.go.snap @@ -14,7 +14,6 @@ UpdatePartnership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/b2bi/snapshot/api_op_UpdateProfile.go.snap b/service/b2bi/snapshot/api_op_UpdateProfile.go.snap index f4e607b39cf..d65b51d1ab2 100644 --- a/service/b2bi/snapshot/api_op_UpdateProfile.go.snap +++ b/service/b2bi/snapshot/api_op_UpdateProfile.go.snap @@ -14,7 +14,6 @@ UpdateProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/b2bi/snapshot/api_op_UpdateTransformer.go.snap b/service/b2bi/snapshot/api_op_UpdateTransformer.go.snap index cd7ac75d931..3b9493de77e 100644 --- a/service/b2bi/snapshot/api_op_UpdateTransformer.go.snap +++ b/service/b2bi/snapshot/api_op_UpdateTransformer.go.snap @@ -14,7 +14,6 @@ UpdateTransformer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/api_client.go b/service/backup/api_client.go index 209278d89ac..54123bc765f 100644 --- a/service/backup/api_client.go +++ b/service/backup/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/backup/api_op_CancelLegalHold.go b/service/backup/api_op_CancelLegalHold.go index 042ad93a053..2d26e103bfd 100644 --- a/service/backup/api_op_CancelLegalHold.go +++ b/service/backup/api_op_CancelLegalHold.go @@ -116,9 +116,6 @@ func (c *Client) addOperationCancelLegalHoldMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelLegalHoldValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_CreateBackupPlan.go b/service/backup/api_op_CreateBackupPlan.go index f537a34d900..15c667d2645 100644 --- a/service/backup/api_op_CreateBackupPlan.go +++ b/service/backup/api_op_CreateBackupPlan.go @@ -149,9 +149,6 @@ func (c *Client) addOperationCreateBackupPlanMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBackupPlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_CreateBackupSelection.go b/service/backup/api_op_CreateBackupSelection.go index 38a5d0e6674..8b0fa9bedda 100644 --- a/service/backup/api_op_CreateBackupSelection.go +++ b/service/backup/api_op_CreateBackupSelection.go @@ -138,9 +138,6 @@ func (c *Client) addOperationCreateBackupSelectionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBackupSelectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_CreateBackupVault.go b/service/backup/api_op_CreateBackupVault.go index a7d31fb6c9e..8dc13277f55 100644 --- a/service/backup/api_op_CreateBackupVault.go +++ b/service/backup/api_op_CreateBackupVault.go @@ -148,9 +148,6 @@ func (c *Client) addOperationCreateBackupVaultMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBackupVaultValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_CreateFramework.go b/service/backup/api_op_CreateFramework.go index b834f766feb..60aff1738b6 100644 --- a/service/backup/api_op_CreateFramework.go +++ b/service/backup/api_op_CreateFramework.go @@ -141,9 +141,6 @@ func (c *Client) addOperationCreateFrameworkMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateFrameworkMiddleware(stack, options); err != nil { return err } diff --git a/service/backup/api_op_CreateLegalHold.go b/service/backup/api_op_CreateLegalHold.go index 17cb5c19b9a..84f857c4b4a 100644 --- a/service/backup/api_op_CreateLegalHold.go +++ b/service/backup/api_op_CreateLegalHold.go @@ -154,9 +154,6 @@ func (c *Client) addOperationCreateLegalHoldMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLegalHoldValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_CreateLogicallyAirGappedBackupVault.go b/service/backup/api_op_CreateLogicallyAirGappedBackupVault.go index 1e739c743a5..067bc1a3e96 100644 --- a/service/backup/api_op_CreateLogicallyAirGappedBackupVault.go +++ b/service/backup/api_op_CreateLogicallyAirGappedBackupVault.go @@ -159,9 +159,6 @@ func (c *Client) addOperationCreateLogicallyAirGappedBackupVaultMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLogicallyAirGappedBackupVaultValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_CreateReportPlan.go b/service/backup/api_op_CreateReportPlan.go index da7a86e1587..cee5b60f993 100644 --- a/service/backup/api_op_CreateReportPlan.go +++ b/service/backup/api_op_CreateReportPlan.go @@ -160,9 +160,6 @@ func (c *Client) addOperationCreateReportPlanMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateReportPlanMiddleware(stack, options); err != nil { return err } diff --git a/service/backup/api_op_CreateRestoreTestingPlan.go b/service/backup/api_op_CreateRestoreTestingPlan.go index a08826d7106..718f24b856c 100644 --- a/service/backup/api_op_CreateRestoreTestingPlan.go +++ b/service/backup/api_op_CreateRestoreTestingPlan.go @@ -150,9 +150,6 @@ func (c *Client) addOperationCreateRestoreTestingPlanMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRestoreTestingPlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_CreateRestoreTestingSelection.go b/service/backup/api_op_CreateRestoreTestingSelection.go index 9d8ba1879f5..f1d9ec0b889 100644 --- a/service/backup/api_op_CreateRestoreTestingSelection.go +++ b/service/backup/api_op_CreateRestoreTestingSelection.go @@ -176,9 +176,6 @@ func (c *Client) addOperationCreateRestoreTestingSelectionMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRestoreTestingSelectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DeleteBackupPlan.go b/service/backup/api_op_DeleteBackupPlan.go index 4d2535e28cb..16257a4bb0d 100644 --- a/service/backup/api_op_DeleteBackupPlan.go +++ b/service/backup/api_op_DeleteBackupPlan.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDeleteBackupPlanMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBackupPlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DeleteBackupSelection.go b/service/backup/api_op_DeleteBackupSelection.go index c81fa65692c..ca975ae04b7 100644 --- a/service/backup/api_op_DeleteBackupSelection.go +++ b/service/backup/api_op_DeleteBackupSelection.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteBackupSelectionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBackupSelectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DeleteBackupVault.go b/service/backup/api_op_DeleteBackupVault.go index a3b1dde137b..1dd99d58194 100644 --- a/service/backup/api_op_DeleteBackupVault.go +++ b/service/backup/api_op_DeleteBackupVault.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteBackupVaultMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBackupVaultValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DeleteBackupVaultAccessPolicy.go b/service/backup/api_op_DeleteBackupVaultAccessPolicy.go index e59fac0408a..1fb1c30cb3f 100644 --- a/service/backup/api_op_DeleteBackupVaultAccessPolicy.go +++ b/service/backup/api_op_DeleteBackupVaultAccessPolicy.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteBackupVaultAccessPolicyMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBackupVaultAccessPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DeleteBackupVaultLockConfiguration.go b/service/backup/api_op_DeleteBackupVaultLockConfiguration.go index fec87b089ca..21882bd5a7c 100644 --- a/service/backup/api_op_DeleteBackupVaultLockConfiguration.go +++ b/service/backup/api_op_DeleteBackupVaultLockConfiguration.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteBackupVaultLockConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBackupVaultLockConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DeleteBackupVaultNotifications.go b/service/backup/api_op_DeleteBackupVaultNotifications.go index 85553dd8b83..6ab9ba2a1d8 100644 --- a/service/backup/api_op_DeleteBackupVaultNotifications.go +++ b/service/backup/api_op_DeleteBackupVaultNotifications.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteBackupVaultNotificationsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBackupVaultNotificationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DeleteFramework.go b/service/backup/api_op_DeleteFramework.go index a0a5fecc07e..56178f21abf 100644 --- a/service/backup/api_op_DeleteFramework.go +++ b/service/backup/api_op_DeleteFramework.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteFrameworkMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFrameworkValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DeleteRecoveryPoint.go b/service/backup/api_op_DeleteRecoveryPoint.go index 64514320ab6..6155d48a4db 100644 --- a/service/backup/api_op_DeleteRecoveryPoint.go +++ b/service/backup/api_op_DeleteRecoveryPoint.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDeleteRecoveryPointMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRecoveryPointValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DeleteReportPlan.go b/service/backup/api_op_DeleteReportPlan.go index 2489082195f..31c082f9150 100644 --- a/service/backup/api_op_DeleteReportPlan.go +++ b/service/backup/api_op_DeleteReportPlan.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteReportPlanMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteReportPlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DeleteRestoreTestingPlan.go b/service/backup/api_op_DeleteRestoreTestingPlan.go index fff8131acab..0c80cd06bdc 100644 --- a/service/backup/api_op_DeleteRestoreTestingPlan.go +++ b/service/backup/api_op_DeleteRestoreTestingPlan.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteRestoreTestingPlanMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRestoreTestingPlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DeleteRestoreTestingSelection.go b/service/backup/api_op_DeleteRestoreTestingSelection.go index e31f33d0620..91872b99bf2 100644 --- a/service/backup/api_op_DeleteRestoreTestingSelection.go +++ b/service/backup/api_op_DeleteRestoreTestingSelection.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteRestoreTestingSelectionMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRestoreTestingSelectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DescribeBackupJob.go b/service/backup/api_op_DescribeBackupJob.go index a0c3f811118..1004a4fed36 100644 --- a/service/backup/api_op_DescribeBackupJob.go +++ b/service/backup/api_op_DescribeBackupJob.go @@ -227,9 +227,6 @@ func (c *Client) addOperationDescribeBackupJobMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBackupJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DescribeBackupVault.go b/service/backup/api_op_DescribeBackupVault.go index c296551852c..f22b536a0a2 100644 --- a/service/backup/api_op_DescribeBackupVault.go +++ b/service/backup/api_op_DescribeBackupVault.go @@ -192,9 +192,6 @@ func (c *Client) addOperationDescribeBackupVaultMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBackupVaultValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DescribeCopyJob.go b/service/backup/api_op_DescribeCopyJob.go index cf108422555..9d24b728449 100644 --- a/service/backup/api_op_DescribeCopyJob.go +++ b/service/backup/api_op_DescribeCopyJob.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDescribeCopyJobMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCopyJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DescribeFramework.go b/service/backup/api_op_DescribeFramework.go index 310705d3787..761cffa6e20 100644 --- a/service/backup/api_op_DescribeFramework.go +++ b/service/backup/api_op_DescribeFramework.go @@ -157,9 +157,6 @@ func (c *Client) addOperationDescribeFrameworkMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFrameworkValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DescribeGlobalSettings.go b/service/backup/api_op_DescribeGlobalSettings.go index a08ef1af070..f4a19f3e26a 100644 --- a/service/backup/api_op_DescribeGlobalSettings.go +++ b/service/backup/api_op_DescribeGlobalSettings.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribeGlobalSettingsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGlobalSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/backup/api_op_DescribeProtectedResource.go b/service/backup/api_op_DescribeProtectedResource.go index b40e55cb5ea..ea1b63393f0 100644 --- a/service/backup/api_op_DescribeProtectedResource.go +++ b/service/backup/api_op_DescribeProtectedResource.go @@ -145,9 +145,6 @@ func (c *Client) addOperationDescribeProtectedResourceMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeProtectedResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DescribeRecoveryPoint.go b/service/backup/api_op_DescribeRecoveryPoint.go index 9e7f5b7c22b..948b304fee1 100644 --- a/service/backup/api_op_DescribeRecoveryPoint.go +++ b/service/backup/api_op_DescribeRecoveryPoint.go @@ -289,9 +289,6 @@ func (c *Client) addOperationDescribeRecoveryPointMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRecoveryPointValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DescribeRegionSettings.go b/service/backup/api_op_DescribeRegionSettings.go index 1ccd8909da5..63ab23876a3 100644 --- a/service/backup/api_op_DescribeRegionSettings.go +++ b/service/backup/api_op_DescribeRegionSettings.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeRegionSettingsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRegionSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/backup/api_op_DescribeReportJob.go b/service/backup/api_op_DescribeReportJob.go index 9196589f3f6..c4d7a535bbc 100644 --- a/service/backup/api_op_DescribeReportJob.go +++ b/service/backup/api_op_DescribeReportJob.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDescribeReportJobMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeReportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DescribeReportPlan.go b/service/backup/api_op_DescribeReportPlan.go index 534ab2e0646..84e13fcb9e6 100644 --- a/service/backup/api_op_DescribeReportPlan.go +++ b/service/backup/api_op_DescribeReportPlan.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDescribeReportPlanMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeReportPlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DescribeRestoreJob.go b/service/backup/api_op_DescribeRestoreJob.go index 09556362bb8..18ba7b840c3 100644 --- a/service/backup/api_op_DescribeRestoreJob.go +++ b/service/backup/api_op_DescribeRestoreJob.go @@ -182,9 +182,6 @@ func (c *Client) addOperationDescribeRestoreJobMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRestoreJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DisassociateRecoveryPoint.go b/service/backup/api_op_DisassociateRecoveryPoint.go index 971c483af3c..d4ebd841dde 100644 --- a/service/backup/api_op_DisassociateRecoveryPoint.go +++ b/service/backup/api_op_DisassociateRecoveryPoint.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDisassociateRecoveryPointMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateRecoveryPointValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_DisassociateRecoveryPointFromParent.go b/service/backup/api_op_DisassociateRecoveryPointFromParent.go index fa3ff90a108..176b4ad57eb 100644 --- a/service/backup/api_op_DisassociateRecoveryPointFromParent.go +++ b/service/backup/api_op_DisassociateRecoveryPointFromParent.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDisassociateRecoveryPointFromParentMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateRecoveryPointFromParentValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_ExportBackupPlanTemplate.go b/service/backup/api_op_ExportBackupPlanTemplate.go index 88be31462b1..4db665a76a2 100644 --- a/service/backup/api_op_ExportBackupPlanTemplate.go +++ b/service/backup/api_op_ExportBackupPlanTemplate.go @@ -114,9 +114,6 @@ func (c *Client) addOperationExportBackupPlanTemplateMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExportBackupPlanTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_GetBackupPlan.go b/service/backup/api_op_GetBackupPlan.go index c114b0c2d68..fb1fc862873 100644 --- a/service/backup/api_op_GetBackupPlan.go +++ b/service/backup/api_op_GetBackupPlan.go @@ -157,9 +157,6 @@ func (c *Client) addOperationGetBackupPlanMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBackupPlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_GetBackupPlanFromJSON.go b/service/backup/api_op_GetBackupPlanFromJSON.go index 386b332c7cc..202ffa2d0b3 100644 --- a/service/backup/api_op_GetBackupPlanFromJSON.go +++ b/service/backup/api_op_GetBackupPlanFromJSON.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetBackupPlanFromJSONMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBackupPlanFromJSONValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_GetBackupPlanFromTemplate.go b/service/backup/api_op_GetBackupPlanFromTemplate.go index d7f24849aa0..b21a61294b4 100644 --- a/service/backup/api_op_GetBackupPlanFromTemplate.go +++ b/service/backup/api_op_GetBackupPlanFromTemplate.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetBackupPlanFromTemplateMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBackupPlanFromTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_GetBackupSelection.go b/service/backup/api_op_GetBackupSelection.go index 0255feb57d7..3fe57e02591 100644 --- a/service/backup/api_op_GetBackupSelection.go +++ b/service/backup/api_op_GetBackupSelection.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGetBackupSelectionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBackupSelectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_GetBackupVaultAccessPolicy.go b/service/backup/api_op_GetBackupVaultAccessPolicy.go index b628d13d953..ee2c5545622 100644 --- a/service/backup/api_op_GetBackupVaultAccessPolicy.go +++ b/service/backup/api_op_GetBackupVaultAccessPolicy.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetBackupVaultAccessPolicyMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBackupVaultAccessPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_GetBackupVaultNotifications.go b/service/backup/api_op_GetBackupVaultNotifications.go index 125cb8bb9c3..8a3d60a2832 100644 --- a/service/backup/api_op_GetBackupVaultNotifications.go +++ b/service/backup/api_op_GetBackupVaultNotifications.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetBackupVaultNotificationsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBackupVaultNotificationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_GetLegalHold.go b/service/backup/api_op_GetLegalHold.go index 4d20ade8b67..e850fc06cb9 100644 --- a/service/backup/api_op_GetLegalHold.go +++ b/service/backup/api_op_GetLegalHold.go @@ -143,9 +143,6 @@ func (c *Client) addOperationGetLegalHoldMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLegalHoldValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_GetRecoveryPointIndexDetails.go b/service/backup/api_op_GetRecoveryPointIndexDetails.go index 64db84d3d62..c95cb690134 100644 --- a/service/backup/api_op_GetRecoveryPointIndexDetails.go +++ b/service/backup/api_op_GetRecoveryPointIndexDetails.go @@ -171,9 +171,6 @@ func (c *Client) addOperationGetRecoveryPointIndexDetailsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRecoveryPointIndexDetailsValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_GetRecoveryPointRestoreMetadata.go b/service/backup/api_op_GetRecoveryPointRestoreMetadata.go index b08a95343fe..aaccda9831d 100644 --- a/service/backup/api_op_GetRecoveryPointRestoreMetadata.go +++ b/service/backup/api_op_GetRecoveryPointRestoreMetadata.go @@ -138,9 +138,6 @@ func (c *Client) addOperationGetRecoveryPointRestoreMetadataMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRecoveryPointRestoreMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_GetRestoreJobMetadata.go b/service/backup/api_op_GetRestoreJobMetadata.go index 6c85a27b8d5..16e759ac1b3 100644 --- a/service/backup/api_op_GetRestoreJobMetadata.go +++ b/service/backup/api_op_GetRestoreJobMetadata.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetRestoreJobMetadataMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRestoreJobMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_GetRestoreTestingInferredMetadata.go b/service/backup/api_op_GetRestoreTestingInferredMetadata.go index 3aa2b87499a..3bebad5f5ea 100644 --- a/service/backup/api_op_GetRestoreTestingInferredMetadata.go +++ b/service/backup/api_op_GetRestoreTestingInferredMetadata.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGetRestoreTestingInferredMetadataMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRestoreTestingInferredMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_GetRestoreTestingPlan.go b/service/backup/api_op_GetRestoreTestingPlan.go index 0e3470e0bf3..f86698103d8 100644 --- a/service/backup/api_op_GetRestoreTestingPlan.go +++ b/service/backup/api_op_GetRestoreTestingPlan.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetRestoreTestingPlanMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRestoreTestingPlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_GetRestoreTestingSelection.go b/service/backup/api_op_GetRestoreTestingSelection.go index fa5242a5d79..7930479dd49 100644 --- a/service/backup/api_op_GetRestoreTestingSelection.go +++ b/service/backup/api_op_GetRestoreTestingSelection.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetRestoreTestingSelectionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRestoreTestingSelectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_GetSupportedResourceTypes.go b/service/backup/api_op_GetSupportedResourceTypes.go index 0d2db62c61a..3fbf0a4c045 100644 --- a/service/backup/api_op_GetSupportedResourceTypes.go +++ b/service/backup/api_op_GetSupportedResourceTypes.go @@ -138,9 +138,6 @@ func (c *Client) addOperationGetSupportedResourceTypesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSupportedResourceTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/backup/api_op_ListBackupJobSummaries.go b/service/backup/api_op_ListBackupJobSummaries.go index 68b41f26491..60b069a4089 100644 --- a/service/backup/api_op_ListBackupJobSummaries.go +++ b/service/backup/api_op_ListBackupJobSummaries.go @@ -202,9 +202,6 @@ func (c *Client) addOperationListBackupJobSummariesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBackupJobSummaries(options.Region), middleware.Before); err != nil { return err } diff --git a/service/backup/api_op_ListBackupJobs.go b/service/backup/api_op_ListBackupJobs.go index a83e64d8199..013ff47c215 100644 --- a/service/backup/api_op_ListBackupJobs.go +++ b/service/backup/api_op_ListBackupJobs.go @@ -227,9 +227,6 @@ func (c *Client) addOperationListBackupJobsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBackupJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/backup/api_op_ListBackupPlanTemplates.go b/service/backup/api_op_ListBackupPlanTemplates.go index 46d4efb2a32..a0ed70b504c 100644 --- a/service/backup/api_op_ListBackupPlanTemplates.go +++ b/service/backup/api_op_ListBackupPlanTemplates.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListBackupPlanTemplatesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBackupPlanTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/backup/api_op_ListBackupPlanVersions.go b/service/backup/api_op_ListBackupPlanVersions.go index 8d897b0d432..0c54a2fb757 100644 --- a/service/backup/api_op_ListBackupPlanVersions.go +++ b/service/backup/api_op_ListBackupPlanVersions.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListBackupPlanVersionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBackupPlanVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_ListBackupPlans.go b/service/backup/api_op_ListBackupPlans.go index c1781bd814f..d5db52e1d8d 100644 --- a/service/backup/api_op_ListBackupPlans.go +++ b/service/backup/api_op_ListBackupPlans.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListBackupPlansMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBackupPlans(options.Region), middleware.Before); err != nil { return err } diff --git a/service/backup/api_op_ListBackupSelections.go b/service/backup/api_op_ListBackupSelections.go index 4f9fcf6a3a4..1ae66268c4c 100644 --- a/service/backup/api_op_ListBackupSelections.go +++ b/service/backup/api_op_ListBackupSelections.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListBackupSelectionsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBackupSelectionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_ListBackupVaults.go b/service/backup/api_op_ListBackupVaults.go index a9dff7ab61f..f6cc90b9f09 100644 --- a/service/backup/api_op_ListBackupVaults.go +++ b/service/backup/api_op_ListBackupVaults.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListBackupVaultsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBackupVaults(options.Region), middleware.Before); err != nil { return err } diff --git a/service/backup/api_op_ListCopyJobSummaries.go b/service/backup/api_op_ListCopyJobSummaries.go index 6efa015c384..68d90d16911 100644 --- a/service/backup/api_op_ListCopyJobSummaries.go +++ b/service/backup/api_op_ListCopyJobSummaries.go @@ -192,9 +192,6 @@ func (c *Client) addOperationListCopyJobSummariesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCopyJobSummaries(options.Region), middleware.Before); err != nil { return err } diff --git a/service/backup/api_op_ListCopyJobs.go b/service/backup/api_op_ListCopyJobs.go index bc5764819ab..690d2c8bbba 100644 --- a/service/backup/api_op_ListCopyJobs.go +++ b/service/backup/api_op_ListCopyJobs.go @@ -209,9 +209,6 @@ func (c *Client) addOperationListCopyJobsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCopyJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/backup/api_op_ListFrameworks.go b/service/backup/api_op_ListFrameworks.go index cd614dc9545..8b6a11de87f 100644 --- a/service/backup/api_op_ListFrameworks.go +++ b/service/backup/api_op_ListFrameworks.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListFrameworksMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFrameworks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/backup/api_op_ListIndexedRecoveryPoints.go b/service/backup/api_op_ListIndexedRecoveryPoints.go index 1a9bb84bcc5..92e92a6e537 100644 --- a/service/backup/api_op_ListIndexedRecoveryPoints.go +++ b/service/backup/api_op_ListIndexedRecoveryPoints.go @@ -158,9 +158,6 @@ func (c *Client) addOperationListIndexedRecoveryPointsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIndexedRecoveryPoints(options.Region), middleware.Before); err != nil { return err } diff --git a/service/backup/api_op_ListLegalHolds.go b/service/backup/api_op_ListLegalHolds.go index 70845a66a25..843bea3a122 100644 --- a/service/backup/api_op_ListLegalHolds.go +++ b/service/backup/api_op_ListLegalHolds.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListLegalHoldsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLegalHolds(options.Region), middleware.Before); err != nil { return err } diff --git a/service/backup/api_op_ListProtectedResources.go b/service/backup/api_op_ListProtectedResources.go index 18430d6d8c7..afafcad4de4 100644 --- a/service/backup/api_op_ListProtectedResources.go +++ b/service/backup/api_op_ListProtectedResources.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListProtectedResourcesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProtectedResources(options.Region), middleware.Before); err != nil { return err } diff --git a/service/backup/api_op_ListProtectedResourcesByBackupVault.go b/service/backup/api_op_ListProtectedResourcesByBackupVault.go index bced97e21d2..2e1da449987 100644 --- a/service/backup/api_op_ListProtectedResourcesByBackupVault.go +++ b/service/backup/api_op_ListProtectedResourcesByBackupVault.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListProtectedResourcesByBackupVaultMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListProtectedResourcesByBackupVaultValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_ListRecoveryPointsByBackupVault.go b/service/backup/api_op_ListRecoveryPointsByBackupVault.go index 39673e4603d..9ac21203ccf 100644 --- a/service/backup/api_op_ListRecoveryPointsByBackupVault.go +++ b/service/backup/api_op_ListRecoveryPointsByBackupVault.go @@ -190,9 +190,6 @@ func (c *Client) addOperationListRecoveryPointsByBackupVaultMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRecoveryPointsByBackupVaultValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_ListRecoveryPointsByLegalHold.go b/service/backup/api_op_ListRecoveryPointsByLegalHold.go index 59d2f8ab66d..4565f1c59c6 100644 --- a/service/backup/api_op_ListRecoveryPointsByLegalHold.go +++ b/service/backup/api_op_ListRecoveryPointsByLegalHold.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListRecoveryPointsByLegalHoldMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRecoveryPointsByLegalHoldValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_ListRecoveryPointsByResource.go b/service/backup/api_op_ListRecoveryPointsByResource.go index 357a95eb69e..e84bec749a1 100644 --- a/service/backup/api_op_ListRecoveryPointsByResource.go +++ b/service/backup/api_op_ListRecoveryPointsByResource.go @@ -148,9 +148,6 @@ func (c *Client) addOperationListRecoveryPointsByResourceMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRecoveryPointsByResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_ListReportJobs.go b/service/backup/api_op_ListReportJobs.go index 544c0ffb2b4..a1179a2188a 100644 --- a/service/backup/api_op_ListReportJobs.go +++ b/service/backup/api_op_ListReportJobs.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListReportJobsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReportJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/backup/api_op_ListReportPlans.go b/service/backup/api_op_ListReportPlans.go index 5d115bf8db3..d999d60b867 100644 --- a/service/backup/api_op_ListReportPlans.go +++ b/service/backup/api_op_ListReportPlans.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListReportPlansMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReportPlans(options.Region), middleware.Before); err != nil { return err } diff --git a/service/backup/api_op_ListRestoreJobSummaries.go b/service/backup/api_op_ListRestoreJobSummaries.go index a09edb7dc32..b157919bc48 100644 --- a/service/backup/api_op_ListRestoreJobSummaries.go +++ b/service/backup/api_op_ListRestoreJobSummaries.go @@ -179,9 +179,6 @@ func (c *Client) addOperationListRestoreJobSummariesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRestoreJobSummaries(options.Region), middleware.Before); err != nil { return err } diff --git a/service/backup/api_op_ListRestoreJobs.go b/service/backup/api_op_ListRestoreJobs.go index 978e1e79bf7..0490aa7bb2b 100644 --- a/service/backup/api_op_ListRestoreJobs.go +++ b/service/backup/api_op_ListRestoreJobs.go @@ -186,9 +186,6 @@ func (c *Client) addOperationListRestoreJobsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRestoreJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/backup/api_op_ListRestoreJobsByProtectedResource.go b/service/backup/api_op_ListRestoreJobsByProtectedResource.go index 133ef1e3475..624ddf1cbfe 100644 --- a/service/backup/api_op_ListRestoreJobsByProtectedResource.go +++ b/service/backup/api_op_ListRestoreJobsByProtectedResource.go @@ -145,9 +145,6 @@ func (c *Client) addOperationListRestoreJobsByProtectedResourceMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRestoreJobsByProtectedResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_ListRestoreTestingPlans.go b/service/backup/api_op_ListRestoreTestingPlans.go index 28996047142..ae2a18fd69e 100644 --- a/service/backup/api_op_ListRestoreTestingPlans.go +++ b/service/backup/api_op_ListRestoreTestingPlans.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListRestoreTestingPlansMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRestoreTestingPlans(options.Region), middleware.Before); err != nil { return err } diff --git a/service/backup/api_op_ListRestoreTestingSelections.go b/service/backup/api_op_ListRestoreTestingSelections.go index ab9bf4162d3..80c2a48297a 100644 --- a/service/backup/api_op_ListRestoreTestingSelections.go +++ b/service/backup/api_op_ListRestoreTestingSelections.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListRestoreTestingSelectionsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRestoreTestingSelectionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_ListTags.go b/service/backup/api_op_ListTags.go index 6ebbb4eaac5..e00868990d1 100644 --- a/service/backup/api_op_ListTags.go +++ b/service/backup/api_op_ListTags.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListTagsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_PutBackupVaultAccessPolicy.go b/service/backup/api_op_PutBackupVaultAccessPolicy.go index 2fa519428c5..1aa0af9d16a 100644 --- a/service/backup/api_op_PutBackupVaultAccessPolicy.go +++ b/service/backup/api_op_PutBackupVaultAccessPolicy.go @@ -114,9 +114,6 @@ func (c *Client) addOperationPutBackupVaultAccessPolicyMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutBackupVaultAccessPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_PutBackupVaultLockConfiguration.go b/service/backup/api_op_PutBackupVaultLockConfiguration.go index 4d5b4ffe308..bae0e2e5bfe 100644 --- a/service/backup/api_op_PutBackupVaultLockConfiguration.go +++ b/service/backup/api_op_PutBackupVaultLockConfiguration.go @@ -178,9 +178,6 @@ func (c *Client) addOperationPutBackupVaultLockConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutBackupVaultLockConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_PutBackupVaultNotifications.go b/service/backup/api_op_PutBackupVaultNotifications.go index a29c44a711c..f81502d5539 100644 --- a/service/backup/api_op_PutBackupVaultNotifications.go +++ b/service/backup/api_op_PutBackupVaultNotifications.go @@ -140,9 +140,6 @@ func (c *Client) addOperationPutBackupVaultNotificationsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutBackupVaultNotificationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_PutRestoreValidationResult.go b/service/backup/api_op_PutRestoreValidationResult.go index 22d39cf0133..34427132ebb 100644 --- a/service/backup/api_op_PutRestoreValidationResult.go +++ b/service/backup/api_op_PutRestoreValidationResult.go @@ -119,9 +119,6 @@ func (c *Client) addOperationPutRestoreValidationResultMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutRestoreValidationResultValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_StartBackupJob.go b/service/backup/api_op_StartBackupJob.go index 15ecdaba5e1..066b3ebe779 100644 --- a/service/backup/api_op_StartBackupJob.go +++ b/service/backup/api_op_StartBackupJob.go @@ -220,9 +220,6 @@ func (c *Client) addOperationStartBackupJobMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartBackupJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_StartCopyJob.go b/service/backup/api_op_StartCopyJob.go index 2a839b86959..0af6aab9b93 100644 --- a/service/backup/api_op_StartCopyJob.go +++ b/service/backup/api_op_StartCopyJob.go @@ -171,9 +171,6 @@ func (c *Client) addOperationStartCopyJobMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartCopyJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_StartReportJob.go b/service/backup/api_op_StartReportJob.go index 7a53347361d..4a99547210b 100644 --- a/service/backup/api_op_StartReportJob.go +++ b/service/backup/api_op_StartReportJob.go @@ -118,9 +118,6 @@ func (c *Client) addOperationStartReportJobMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartReportJobMiddleware(stack, options); err != nil { return err } diff --git a/service/backup/api_op_StartRestoreJob.go b/service/backup/api_op_StartRestoreJob.go index 73f24d9584f..9252d7e7b83 100644 --- a/service/backup/api_op_StartRestoreJob.go +++ b/service/backup/api_op_StartRestoreJob.go @@ -220,9 +220,6 @@ func (c *Client) addOperationStartRestoreJobMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartRestoreJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_StopBackupJob.go b/service/backup/api_op_StopBackupJob.go index 44a368bb561..cbb56a1828f 100644 --- a/service/backup/api_op_StopBackupJob.go +++ b/service/backup/api_op_StopBackupJob.go @@ -112,9 +112,6 @@ func (c *Client) addOperationStopBackupJobMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopBackupJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_TagResource.go b/service/backup/api_op_TagResource.go index fc137ed9d0b..0a6e1137c28 100644 --- a/service/backup/api_op_TagResource.go +++ b/service/backup/api_op_TagResource.go @@ -124,9 +124,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_UntagResource.go b/service/backup/api_op_UntagResource.go index 1223afd2020..188380aaaf0 100644 --- a/service/backup/api_op_UntagResource.go +++ b/service/backup/api_op_UntagResource.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_UpdateBackupPlan.go b/service/backup/api_op_UpdateBackupPlan.go index 0f90c579eb2..4476b500a8f 100644 --- a/service/backup/api_op_UpdateBackupPlan.go +++ b/service/backup/api_op_UpdateBackupPlan.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateBackupPlanMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBackupPlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_UpdateFramework.go b/service/backup/api_op_UpdateFramework.go index 05a53271697..a052bc5b065 100644 --- a/service/backup/api_op_UpdateFramework.go +++ b/service/backup/api_op_UpdateFramework.go @@ -139,9 +139,6 @@ func (c *Client) addOperationUpdateFrameworkMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateFrameworkMiddleware(stack, options); err != nil { return err } diff --git a/service/backup/api_op_UpdateGlobalSettings.go b/service/backup/api_op_UpdateGlobalSettings.go index 925fa851b03..9325ad0ea70 100644 --- a/service/backup/api_op_UpdateGlobalSettings.go +++ b/service/backup/api_op_UpdateGlobalSettings.go @@ -109,9 +109,6 @@ func (c *Client) addOperationUpdateGlobalSettingsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGlobalSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/backup/api_op_UpdateRecoveryPointIndexSettings.go b/service/backup/api_op_UpdateRecoveryPointIndexSettings.go index deae3484c22..d47c830c7f2 100644 --- a/service/backup/api_op_UpdateRecoveryPointIndexSettings.go +++ b/service/backup/api_op_UpdateRecoveryPointIndexSettings.go @@ -164,9 +164,6 @@ func (c *Client) addOperationUpdateRecoveryPointIndexSettingsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRecoveryPointIndexSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_UpdateRecoveryPointLifecycle.go b/service/backup/api_op_UpdateRecoveryPointLifecycle.go index e380b6a1ec6..b6df384601c 100644 --- a/service/backup/api_op_UpdateRecoveryPointLifecycle.go +++ b/service/backup/api_op_UpdateRecoveryPointLifecycle.go @@ -179,9 +179,6 @@ func (c *Client) addOperationUpdateRecoveryPointLifecycleMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRecoveryPointLifecycleValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_UpdateRegionSettings.go b/service/backup/api_op_UpdateRegionSettings.go index e7035438ae6..69d84b94944 100644 --- a/service/backup/api_op_UpdateRegionSettings.go +++ b/service/backup/api_op_UpdateRegionSettings.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateRegionSettingsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRegionSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/backup/api_op_UpdateReportPlan.go b/service/backup/api_op_UpdateReportPlan.go index de48d621203..dc233b355b6 100644 --- a/service/backup/api_op_UpdateReportPlan.go +++ b/service/backup/api_op_UpdateReportPlan.go @@ -148,9 +148,6 @@ func (c *Client) addOperationUpdateReportPlanMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateReportPlanMiddleware(stack, options); err != nil { return err } diff --git a/service/backup/api_op_UpdateRestoreTestingPlan.go b/service/backup/api_op_UpdateRestoreTestingPlan.go index de5b3f2e074..8bbf1e1c781 100644 --- a/service/backup/api_op_UpdateRestoreTestingPlan.go +++ b/service/backup/api_op_UpdateRestoreTestingPlan.go @@ -149,9 +149,6 @@ func (c *Client) addOperationUpdateRestoreTestingPlanMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRestoreTestingPlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/api_op_UpdateRestoreTestingSelection.go b/service/backup/api_op_UpdateRestoreTestingSelection.go index d04271ab718..3fa0e8877ec 100644 --- a/service/backup/api_op_UpdateRestoreTestingSelection.go +++ b/service/backup/api_op_UpdateRestoreTestingSelection.go @@ -155,9 +155,6 @@ func (c *Client) addOperationUpdateRestoreTestingSelectionMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRestoreTestingSelectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/backup/snapshot/api_op_CancelLegalHold.go.snap b/service/backup/snapshot/api_op_CancelLegalHold.go.snap index 7a1fea2520b..f60406ad8c8 100644 --- a/service/backup/snapshot/api_op_CancelLegalHold.go.snap +++ b/service/backup/snapshot/api_op_CancelLegalHold.go.snap @@ -14,7 +14,6 @@ CancelLegalHold Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_CreateBackupPlan.go.snap b/service/backup/snapshot/api_op_CreateBackupPlan.go.snap index 5531a8fe470..a6337459832 100644 --- a/service/backup/snapshot/api_op_CreateBackupPlan.go.snap +++ b/service/backup/snapshot/api_op_CreateBackupPlan.go.snap @@ -14,7 +14,6 @@ CreateBackupPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_CreateBackupSelection.go.snap b/service/backup/snapshot/api_op_CreateBackupSelection.go.snap index dbb12389da0..be2101af535 100644 --- a/service/backup/snapshot/api_op_CreateBackupSelection.go.snap +++ b/service/backup/snapshot/api_op_CreateBackupSelection.go.snap @@ -14,7 +14,6 @@ CreateBackupSelection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_CreateBackupVault.go.snap b/service/backup/snapshot/api_op_CreateBackupVault.go.snap index cdb71174c1c..556aaae8eec 100644 --- a/service/backup/snapshot/api_op_CreateBackupVault.go.snap +++ b/service/backup/snapshot/api_op_CreateBackupVault.go.snap @@ -14,7 +14,6 @@ CreateBackupVault Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_CreateFramework.go.snap b/service/backup/snapshot/api_op_CreateFramework.go.snap index 8d215a535c7..f7d0bdd01a5 100644 --- a/service/backup/snapshot/api_op_CreateFramework.go.snap +++ b/service/backup/snapshot/api_op_CreateFramework.go.snap @@ -15,7 +15,6 @@ CreateFramework Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_CreateLegalHold.go.snap b/service/backup/snapshot/api_op_CreateLegalHold.go.snap index 25a4847fa41..9ce90a2e798 100644 --- a/service/backup/snapshot/api_op_CreateLegalHold.go.snap +++ b/service/backup/snapshot/api_op_CreateLegalHold.go.snap @@ -14,7 +14,6 @@ CreateLegalHold Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_CreateLogicallyAirGappedBackupVault.go.snap b/service/backup/snapshot/api_op_CreateLogicallyAirGappedBackupVault.go.snap index ee23a9bc154..fb04535e37f 100644 --- a/service/backup/snapshot/api_op_CreateLogicallyAirGappedBackupVault.go.snap +++ b/service/backup/snapshot/api_op_CreateLogicallyAirGappedBackupVault.go.snap @@ -14,7 +14,6 @@ CreateLogicallyAirGappedBackupVault Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_CreateReportPlan.go.snap b/service/backup/snapshot/api_op_CreateReportPlan.go.snap index 199efb2c42b..6003ea50e96 100644 --- a/service/backup/snapshot/api_op_CreateReportPlan.go.snap +++ b/service/backup/snapshot/api_op_CreateReportPlan.go.snap @@ -15,7 +15,6 @@ CreateReportPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_CreateRestoreTestingPlan.go.snap b/service/backup/snapshot/api_op_CreateRestoreTestingPlan.go.snap index 4ef8ac3d99c..0e0663cda96 100644 --- a/service/backup/snapshot/api_op_CreateRestoreTestingPlan.go.snap +++ b/service/backup/snapshot/api_op_CreateRestoreTestingPlan.go.snap @@ -14,7 +14,6 @@ CreateRestoreTestingPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_CreateRestoreTestingSelection.go.snap b/service/backup/snapshot/api_op_CreateRestoreTestingSelection.go.snap index 6d8fa942540..2deb4e470f5 100644 --- a/service/backup/snapshot/api_op_CreateRestoreTestingSelection.go.snap +++ b/service/backup/snapshot/api_op_CreateRestoreTestingSelection.go.snap @@ -14,7 +14,6 @@ CreateRestoreTestingSelection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_DeleteBackupPlan.go.snap b/service/backup/snapshot/api_op_DeleteBackupPlan.go.snap index 278a15b608d..78b6c7e3f08 100644 --- a/service/backup/snapshot/api_op_DeleteBackupPlan.go.snap +++ b/service/backup/snapshot/api_op_DeleteBackupPlan.go.snap @@ -14,7 +14,6 @@ DeleteBackupPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_DeleteBackupSelection.go.snap b/service/backup/snapshot/api_op_DeleteBackupSelection.go.snap index da42f5cb445..00c2726642d 100644 --- a/service/backup/snapshot/api_op_DeleteBackupSelection.go.snap +++ b/service/backup/snapshot/api_op_DeleteBackupSelection.go.snap @@ -14,7 +14,6 @@ DeleteBackupSelection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_DeleteBackupVault.go.snap b/service/backup/snapshot/api_op_DeleteBackupVault.go.snap index 7484b2b7d74..723c7be492c 100644 --- a/service/backup/snapshot/api_op_DeleteBackupVault.go.snap +++ b/service/backup/snapshot/api_op_DeleteBackupVault.go.snap @@ -14,7 +14,6 @@ DeleteBackupVault Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_DeleteBackupVaultAccessPolicy.go.snap b/service/backup/snapshot/api_op_DeleteBackupVaultAccessPolicy.go.snap index 7be688e91f7..04119422432 100644 --- a/service/backup/snapshot/api_op_DeleteBackupVaultAccessPolicy.go.snap +++ b/service/backup/snapshot/api_op_DeleteBackupVaultAccessPolicy.go.snap @@ -14,7 +14,6 @@ DeleteBackupVaultAccessPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_DeleteBackupVaultLockConfiguration.go.snap b/service/backup/snapshot/api_op_DeleteBackupVaultLockConfiguration.go.snap index 397033c0bbd..bad72d18e4f 100644 --- a/service/backup/snapshot/api_op_DeleteBackupVaultLockConfiguration.go.snap +++ b/service/backup/snapshot/api_op_DeleteBackupVaultLockConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteBackupVaultLockConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_DeleteBackupVaultNotifications.go.snap b/service/backup/snapshot/api_op_DeleteBackupVaultNotifications.go.snap index e3c9db2a4be..248a4fc9fe2 100644 --- a/service/backup/snapshot/api_op_DeleteBackupVaultNotifications.go.snap +++ b/service/backup/snapshot/api_op_DeleteBackupVaultNotifications.go.snap @@ -14,7 +14,6 @@ DeleteBackupVaultNotifications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_DeleteFramework.go.snap b/service/backup/snapshot/api_op_DeleteFramework.go.snap index fdfb3049e8f..efa8f9aae5c 100644 --- a/service/backup/snapshot/api_op_DeleteFramework.go.snap +++ b/service/backup/snapshot/api_op_DeleteFramework.go.snap @@ -14,7 +14,6 @@ DeleteFramework Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_DeleteRecoveryPoint.go.snap b/service/backup/snapshot/api_op_DeleteRecoveryPoint.go.snap index c610397b2d3..1934a77abb6 100644 --- a/service/backup/snapshot/api_op_DeleteRecoveryPoint.go.snap +++ b/service/backup/snapshot/api_op_DeleteRecoveryPoint.go.snap @@ -14,7 +14,6 @@ DeleteRecoveryPoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_DeleteReportPlan.go.snap b/service/backup/snapshot/api_op_DeleteReportPlan.go.snap index a1ad2879c2d..e96eceb5955 100644 --- a/service/backup/snapshot/api_op_DeleteReportPlan.go.snap +++ b/service/backup/snapshot/api_op_DeleteReportPlan.go.snap @@ -14,7 +14,6 @@ DeleteReportPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_DeleteRestoreTestingPlan.go.snap b/service/backup/snapshot/api_op_DeleteRestoreTestingPlan.go.snap index f61e2020963..4fa419d2318 100644 --- a/service/backup/snapshot/api_op_DeleteRestoreTestingPlan.go.snap +++ b/service/backup/snapshot/api_op_DeleteRestoreTestingPlan.go.snap @@ -14,7 +14,6 @@ DeleteRestoreTestingPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_DeleteRestoreTestingSelection.go.snap b/service/backup/snapshot/api_op_DeleteRestoreTestingSelection.go.snap index 7cde0c320bd..49e6b233ab1 100644 --- a/service/backup/snapshot/api_op_DeleteRestoreTestingSelection.go.snap +++ b/service/backup/snapshot/api_op_DeleteRestoreTestingSelection.go.snap @@ -14,7 +14,6 @@ DeleteRestoreTestingSelection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_DescribeBackupJob.go.snap b/service/backup/snapshot/api_op_DescribeBackupJob.go.snap index 16b669460a6..84b6f5cc046 100644 --- a/service/backup/snapshot/api_op_DescribeBackupJob.go.snap +++ b/service/backup/snapshot/api_op_DescribeBackupJob.go.snap @@ -14,7 +14,6 @@ DescribeBackupJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_DescribeBackupVault.go.snap b/service/backup/snapshot/api_op_DescribeBackupVault.go.snap index 49cb8fbd78b..c84069d162b 100644 --- a/service/backup/snapshot/api_op_DescribeBackupVault.go.snap +++ b/service/backup/snapshot/api_op_DescribeBackupVault.go.snap @@ -14,7 +14,6 @@ DescribeBackupVault Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_DescribeCopyJob.go.snap b/service/backup/snapshot/api_op_DescribeCopyJob.go.snap index 4370f8b0c2e..b804d35c175 100644 --- a/service/backup/snapshot/api_op_DescribeCopyJob.go.snap +++ b/service/backup/snapshot/api_op_DescribeCopyJob.go.snap @@ -14,7 +14,6 @@ DescribeCopyJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_DescribeFramework.go.snap b/service/backup/snapshot/api_op_DescribeFramework.go.snap index 4bdc0e2a49d..f9307439008 100644 --- a/service/backup/snapshot/api_op_DescribeFramework.go.snap +++ b/service/backup/snapshot/api_op_DescribeFramework.go.snap @@ -14,7 +14,6 @@ DescribeFramework Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_DescribeGlobalSettings.go.snap b/service/backup/snapshot/api_op_DescribeGlobalSettings.go.snap index a3cf1ae8a76..0a155a19224 100644 --- a/service/backup/snapshot/api_op_DescribeGlobalSettings.go.snap +++ b/service/backup/snapshot/api_op_DescribeGlobalSettings.go.snap @@ -13,7 +13,6 @@ DescribeGlobalSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_DescribeProtectedResource.go.snap b/service/backup/snapshot/api_op_DescribeProtectedResource.go.snap index e0f21ea3aac..a3c4cc059d5 100644 --- a/service/backup/snapshot/api_op_DescribeProtectedResource.go.snap +++ b/service/backup/snapshot/api_op_DescribeProtectedResource.go.snap @@ -14,7 +14,6 @@ DescribeProtectedResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_DescribeRecoveryPoint.go.snap b/service/backup/snapshot/api_op_DescribeRecoveryPoint.go.snap index 3fb9edbe9d6..89763fda5cf 100644 --- a/service/backup/snapshot/api_op_DescribeRecoveryPoint.go.snap +++ b/service/backup/snapshot/api_op_DescribeRecoveryPoint.go.snap @@ -14,7 +14,6 @@ DescribeRecoveryPoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_DescribeRegionSettings.go.snap b/service/backup/snapshot/api_op_DescribeRegionSettings.go.snap index b19424b96ab..83563e551e2 100644 --- a/service/backup/snapshot/api_op_DescribeRegionSettings.go.snap +++ b/service/backup/snapshot/api_op_DescribeRegionSettings.go.snap @@ -13,7 +13,6 @@ DescribeRegionSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_DescribeReportJob.go.snap b/service/backup/snapshot/api_op_DescribeReportJob.go.snap index f639340addf..6ac405b53fe 100644 --- a/service/backup/snapshot/api_op_DescribeReportJob.go.snap +++ b/service/backup/snapshot/api_op_DescribeReportJob.go.snap @@ -14,7 +14,6 @@ DescribeReportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_DescribeReportPlan.go.snap b/service/backup/snapshot/api_op_DescribeReportPlan.go.snap index 4f3ecf14735..1609955ca93 100644 --- a/service/backup/snapshot/api_op_DescribeReportPlan.go.snap +++ b/service/backup/snapshot/api_op_DescribeReportPlan.go.snap @@ -14,7 +14,6 @@ DescribeReportPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_DescribeRestoreJob.go.snap b/service/backup/snapshot/api_op_DescribeRestoreJob.go.snap index 1a4753d62b3..2d115a6a303 100644 --- a/service/backup/snapshot/api_op_DescribeRestoreJob.go.snap +++ b/service/backup/snapshot/api_op_DescribeRestoreJob.go.snap @@ -14,7 +14,6 @@ DescribeRestoreJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_DisassociateRecoveryPoint.go.snap b/service/backup/snapshot/api_op_DisassociateRecoveryPoint.go.snap index 0caa0ea1e58..ed71c1d9702 100644 --- a/service/backup/snapshot/api_op_DisassociateRecoveryPoint.go.snap +++ b/service/backup/snapshot/api_op_DisassociateRecoveryPoint.go.snap @@ -14,7 +14,6 @@ DisassociateRecoveryPoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_DisassociateRecoveryPointFromParent.go.snap b/service/backup/snapshot/api_op_DisassociateRecoveryPointFromParent.go.snap index c108a2c15a2..b2c5c74b507 100644 --- a/service/backup/snapshot/api_op_DisassociateRecoveryPointFromParent.go.snap +++ b/service/backup/snapshot/api_op_DisassociateRecoveryPointFromParent.go.snap @@ -14,7 +14,6 @@ DisassociateRecoveryPointFromParent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_ExportBackupPlanTemplate.go.snap b/service/backup/snapshot/api_op_ExportBackupPlanTemplate.go.snap index 201c8d9d672..ad982f26fea 100644 --- a/service/backup/snapshot/api_op_ExportBackupPlanTemplate.go.snap +++ b/service/backup/snapshot/api_op_ExportBackupPlanTemplate.go.snap @@ -14,7 +14,6 @@ ExportBackupPlanTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_GetBackupPlan.go.snap b/service/backup/snapshot/api_op_GetBackupPlan.go.snap index 048b4ccc550..e58a9af9ece 100644 --- a/service/backup/snapshot/api_op_GetBackupPlan.go.snap +++ b/service/backup/snapshot/api_op_GetBackupPlan.go.snap @@ -14,7 +14,6 @@ GetBackupPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_GetBackupPlanFromJSON.go.snap b/service/backup/snapshot/api_op_GetBackupPlanFromJSON.go.snap index 6af32797538..8b667b4c039 100644 --- a/service/backup/snapshot/api_op_GetBackupPlanFromJSON.go.snap +++ b/service/backup/snapshot/api_op_GetBackupPlanFromJSON.go.snap @@ -14,7 +14,6 @@ GetBackupPlanFromJSON Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_GetBackupPlanFromTemplate.go.snap b/service/backup/snapshot/api_op_GetBackupPlanFromTemplate.go.snap index b31924debe8..cf1c0831853 100644 --- a/service/backup/snapshot/api_op_GetBackupPlanFromTemplate.go.snap +++ b/service/backup/snapshot/api_op_GetBackupPlanFromTemplate.go.snap @@ -14,7 +14,6 @@ GetBackupPlanFromTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_GetBackupSelection.go.snap b/service/backup/snapshot/api_op_GetBackupSelection.go.snap index 59a64f5fadb..0547743e229 100644 --- a/service/backup/snapshot/api_op_GetBackupSelection.go.snap +++ b/service/backup/snapshot/api_op_GetBackupSelection.go.snap @@ -14,7 +14,6 @@ GetBackupSelection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_GetBackupVaultAccessPolicy.go.snap b/service/backup/snapshot/api_op_GetBackupVaultAccessPolicy.go.snap index 3f09ba6d6d9..1f0f1d556ad 100644 --- a/service/backup/snapshot/api_op_GetBackupVaultAccessPolicy.go.snap +++ b/service/backup/snapshot/api_op_GetBackupVaultAccessPolicy.go.snap @@ -14,7 +14,6 @@ GetBackupVaultAccessPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_GetBackupVaultNotifications.go.snap b/service/backup/snapshot/api_op_GetBackupVaultNotifications.go.snap index b3707d57c87..6cf79fa2881 100644 --- a/service/backup/snapshot/api_op_GetBackupVaultNotifications.go.snap +++ b/service/backup/snapshot/api_op_GetBackupVaultNotifications.go.snap @@ -14,7 +14,6 @@ GetBackupVaultNotifications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_GetLegalHold.go.snap b/service/backup/snapshot/api_op_GetLegalHold.go.snap index e7adbede041..eb86f5f3c0b 100644 --- a/service/backup/snapshot/api_op_GetLegalHold.go.snap +++ b/service/backup/snapshot/api_op_GetLegalHold.go.snap @@ -14,7 +14,6 @@ GetLegalHold Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_GetRecoveryPointIndexDetails.go.snap b/service/backup/snapshot/api_op_GetRecoveryPointIndexDetails.go.snap index ba74a1ce573..0768b1f5d92 100644 --- a/service/backup/snapshot/api_op_GetRecoveryPointIndexDetails.go.snap +++ b/service/backup/snapshot/api_op_GetRecoveryPointIndexDetails.go.snap @@ -14,7 +14,6 @@ GetRecoveryPointIndexDetails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_GetRecoveryPointRestoreMetadata.go.snap b/service/backup/snapshot/api_op_GetRecoveryPointRestoreMetadata.go.snap index dc8b8a20448..ff46c28defc 100644 --- a/service/backup/snapshot/api_op_GetRecoveryPointRestoreMetadata.go.snap +++ b/service/backup/snapshot/api_op_GetRecoveryPointRestoreMetadata.go.snap @@ -14,7 +14,6 @@ GetRecoveryPointRestoreMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_GetRestoreJobMetadata.go.snap b/service/backup/snapshot/api_op_GetRestoreJobMetadata.go.snap index 7418a9faf0c..f7e04e43b48 100644 --- a/service/backup/snapshot/api_op_GetRestoreJobMetadata.go.snap +++ b/service/backup/snapshot/api_op_GetRestoreJobMetadata.go.snap @@ -14,7 +14,6 @@ GetRestoreJobMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_GetRestoreTestingInferredMetadata.go.snap b/service/backup/snapshot/api_op_GetRestoreTestingInferredMetadata.go.snap index 4a87a32f7c2..20e88441a9b 100644 --- a/service/backup/snapshot/api_op_GetRestoreTestingInferredMetadata.go.snap +++ b/service/backup/snapshot/api_op_GetRestoreTestingInferredMetadata.go.snap @@ -14,7 +14,6 @@ GetRestoreTestingInferredMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_GetRestoreTestingPlan.go.snap b/service/backup/snapshot/api_op_GetRestoreTestingPlan.go.snap index 18589f1d4fd..b87509b06d1 100644 --- a/service/backup/snapshot/api_op_GetRestoreTestingPlan.go.snap +++ b/service/backup/snapshot/api_op_GetRestoreTestingPlan.go.snap @@ -14,7 +14,6 @@ GetRestoreTestingPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_GetRestoreTestingSelection.go.snap b/service/backup/snapshot/api_op_GetRestoreTestingSelection.go.snap index 713ab3c3ca8..b8f0659415c 100644 --- a/service/backup/snapshot/api_op_GetRestoreTestingSelection.go.snap +++ b/service/backup/snapshot/api_op_GetRestoreTestingSelection.go.snap @@ -14,7 +14,6 @@ GetRestoreTestingSelection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_GetSupportedResourceTypes.go.snap b/service/backup/snapshot/api_op_GetSupportedResourceTypes.go.snap index f80bd214edb..bcd7ae99f8f 100644 --- a/service/backup/snapshot/api_op_GetSupportedResourceTypes.go.snap +++ b/service/backup/snapshot/api_op_GetSupportedResourceTypes.go.snap @@ -13,7 +13,6 @@ GetSupportedResourceTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_ListBackupJobSummaries.go.snap b/service/backup/snapshot/api_op_ListBackupJobSummaries.go.snap index d5ceabf82e8..777d027d076 100644 --- a/service/backup/snapshot/api_op_ListBackupJobSummaries.go.snap +++ b/service/backup/snapshot/api_op_ListBackupJobSummaries.go.snap @@ -13,7 +13,6 @@ ListBackupJobSummaries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_ListBackupJobs.go.snap b/service/backup/snapshot/api_op_ListBackupJobs.go.snap index 8517ad98ed0..116367bf134 100644 --- a/service/backup/snapshot/api_op_ListBackupJobs.go.snap +++ b/service/backup/snapshot/api_op_ListBackupJobs.go.snap @@ -13,7 +13,6 @@ ListBackupJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_ListBackupPlanTemplates.go.snap b/service/backup/snapshot/api_op_ListBackupPlanTemplates.go.snap index 43c1da2c670..58602a22432 100644 --- a/service/backup/snapshot/api_op_ListBackupPlanTemplates.go.snap +++ b/service/backup/snapshot/api_op_ListBackupPlanTemplates.go.snap @@ -13,7 +13,6 @@ ListBackupPlanTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_ListBackupPlanVersions.go.snap b/service/backup/snapshot/api_op_ListBackupPlanVersions.go.snap index 11446011828..78c04d48391 100644 --- a/service/backup/snapshot/api_op_ListBackupPlanVersions.go.snap +++ b/service/backup/snapshot/api_op_ListBackupPlanVersions.go.snap @@ -14,7 +14,6 @@ ListBackupPlanVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_ListBackupPlans.go.snap b/service/backup/snapshot/api_op_ListBackupPlans.go.snap index bb92ce4ff65..840cb332ed2 100644 --- a/service/backup/snapshot/api_op_ListBackupPlans.go.snap +++ b/service/backup/snapshot/api_op_ListBackupPlans.go.snap @@ -13,7 +13,6 @@ ListBackupPlans Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_ListBackupSelections.go.snap b/service/backup/snapshot/api_op_ListBackupSelections.go.snap index f3ad762f858..eb71caf3a03 100644 --- a/service/backup/snapshot/api_op_ListBackupSelections.go.snap +++ b/service/backup/snapshot/api_op_ListBackupSelections.go.snap @@ -14,7 +14,6 @@ ListBackupSelections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_ListBackupVaults.go.snap b/service/backup/snapshot/api_op_ListBackupVaults.go.snap index df4c72e6f2d..9c6912509d4 100644 --- a/service/backup/snapshot/api_op_ListBackupVaults.go.snap +++ b/service/backup/snapshot/api_op_ListBackupVaults.go.snap @@ -13,7 +13,6 @@ ListBackupVaults Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_ListCopyJobSummaries.go.snap b/service/backup/snapshot/api_op_ListCopyJobSummaries.go.snap index aa8132d424b..57ec431c6f4 100644 --- a/service/backup/snapshot/api_op_ListCopyJobSummaries.go.snap +++ b/service/backup/snapshot/api_op_ListCopyJobSummaries.go.snap @@ -13,7 +13,6 @@ ListCopyJobSummaries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_ListCopyJobs.go.snap b/service/backup/snapshot/api_op_ListCopyJobs.go.snap index e0920b6a025..edac656dd05 100644 --- a/service/backup/snapshot/api_op_ListCopyJobs.go.snap +++ b/service/backup/snapshot/api_op_ListCopyJobs.go.snap @@ -13,7 +13,6 @@ ListCopyJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_ListFrameworks.go.snap b/service/backup/snapshot/api_op_ListFrameworks.go.snap index fe1c60c5581..bd0cf6892d9 100644 --- a/service/backup/snapshot/api_op_ListFrameworks.go.snap +++ b/service/backup/snapshot/api_op_ListFrameworks.go.snap @@ -13,7 +13,6 @@ ListFrameworks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_ListIndexedRecoveryPoints.go.snap b/service/backup/snapshot/api_op_ListIndexedRecoveryPoints.go.snap index 261ec874e70..cc8aff7a4aa 100644 --- a/service/backup/snapshot/api_op_ListIndexedRecoveryPoints.go.snap +++ b/service/backup/snapshot/api_op_ListIndexedRecoveryPoints.go.snap @@ -13,7 +13,6 @@ ListIndexedRecoveryPoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_ListLegalHolds.go.snap b/service/backup/snapshot/api_op_ListLegalHolds.go.snap index ac0ab38cddd..c0410569f40 100644 --- a/service/backup/snapshot/api_op_ListLegalHolds.go.snap +++ b/service/backup/snapshot/api_op_ListLegalHolds.go.snap @@ -13,7 +13,6 @@ ListLegalHolds Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_ListProtectedResources.go.snap b/service/backup/snapshot/api_op_ListProtectedResources.go.snap index 8536d63deb6..c04468805f6 100644 --- a/service/backup/snapshot/api_op_ListProtectedResources.go.snap +++ b/service/backup/snapshot/api_op_ListProtectedResources.go.snap @@ -13,7 +13,6 @@ ListProtectedResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_ListProtectedResourcesByBackupVault.go.snap b/service/backup/snapshot/api_op_ListProtectedResourcesByBackupVault.go.snap index 64315287554..b8462b72ad2 100644 --- a/service/backup/snapshot/api_op_ListProtectedResourcesByBackupVault.go.snap +++ b/service/backup/snapshot/api_op_ListProtectedResourcesByBackupVault.go.snap @@ -14,7 +14,6 @@ ListProtectedResourcesByBackupVault Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_ListRecoveryPointsByBackupVault.go.snap b/service/backup/snapshot/api_op_ListRecoveryPointsByBackupVault.go.snap index c5a39212342..60defce3e3b 100644 --- a/service/backup/snapshot/api_op_ListRecoveryPointsByBackupVault.go.snap +++ b/service/backup/snapshot/api_op_ListRecoveryPointsByBackupVault.go.snap @@ -14,7 +14,6 @@ ListRecoveryPointsByBackupVault Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_ListRecoveryPointsByLegalHold.go.snap b/service/backup/snapshot/api_op_ListRecoveryPointsByLegalHold.go.snap index 7ec65bcab94..45df6fa1b46 100644 --- a/service/backup/snapshot/api_op_ListRecoveryPointsByLegalHold.go.snap +++ b/service/backup/snapshot/api_op_ListRecoveryPointsByLegalHold.go.snap @@ -14,7 +14,6 @@ ListRecoveryPointsByLegalHold Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_ListRecoveryPointsByResource.go.snap b/service/backup/snapshot/api_op_ListRecoveryPointsByResource.go.snap index 0e2d039bba3..7125f24665c 100644 --- a/service/backup/snapshot/api_op_ListRecoveryPointsByResource.go.snap +++ b/service/backup/snapshot/api_op_ListRecoveryPointsByResource.go.snap @@ -14,7 +14,6 @@ ListRecoveryPointsByResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_ListReportJobs.go.snap b/service/backup/snapshot/api_op_ListReportJobs.go.snap index d93c608f0d5..4c9405660ed 100644 --- a/service/backup/snapshot/api_op_ListReportJobs.go.snap +++ b/service/backup/snapshot/api_op_ListReportJobs.go.snap @@ -13,7 +13,6 @@ ListReportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_ListReportPlans.go.snap b/service/backup/snapshot/api_op_ListReportPlans.go.snap index 71f2bacda93..8530808a6be 100644 --- a/service/backup/snapshot/api_op_ListReportPlans.go.snap +++ b/service/backup/snapshot/api_op_ListReportPlans.go.snap @@ -13,7 +13,6 @@ ListReportPlans Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_ListRestoreJobSummaries.go.snap b/service/backup/snapshot/api_op_ListRestoreJobSummaries.go.snap index d79df2804c7..48906a3ae3f 100644 --- a/service/backup/snapshot/api_op_ListRestoreJobSummaries.go.snap +++ b/service/backup/snapshot/api_op_ListRestoreJobSummaries.go.snap @@ -13,7 +13,6 @@ ListRestoreJobSummaries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_ListRestoreJobs.go.snap b/service/backup/snapshot/api_op_ListRestoreJobs.go.snap index d9a359bd50a..fdcaceaa01e 100644 --- a/service/backup/snapshot/api_op_ListRestoreJobs.go.snap +++ b/service/backup/snapshot/api_op_ListRestoreJobs.go.snap @@ -13,7 +13,6 @@ ListRestoreJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_ListRestoreJobsByProtectedResource.go.snap b/service/backup/snapshot/api_op_ListRestoreJobsByProtectedResource.go.snap index d9002ccd4ab..62cfd1dd582 100644 --- a/service/backup/snapshot/api_op_ListRestoreJobsByProtectedResource.go.snap +++ b/service/backup/snapshot/api_op_ListRestoreJobsByProtectedResource.go.snap @@ -14,7 +14,6 @@ ListRestoreJobsByProtectedResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_ListRestoreTestingPlans.go.snap b/service/backup/snapshot/api_op_ListRestoreTestingPlans.go.snap index 219216e42f6..fa7775ce146 100644 --- a/service/backup/snapshot/api_op_ListRestoreTestingPlans.go.snap +++ b/service/backup/snapshot/api_op_ListRestoreTestingPlans.go.snap @@ -13,7 +13,6 @@ ListRestoreTestingPlans Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_ListRestoreTestingSelections.go.snap b/service/backup/snapshot/api_op_ListRestoreTestingSelections.go.snap index de3ffbde0cb..bbd997cf505 100644 --- a/service/backup/snapshot/api_op_ListRestoreTestingSelections.go.snap +++ b/service/backup/snapshot/api_op_ListRestoreTestingSelections.go.snap @@ -14,7 +14,6 @@ ListRestoreTestingSelections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_ListTags.go.snap b/service/backup/snapshot/api_op_ListTags.go.snap index 1b1e99185a9..438bd1b7aec 100644 --- a/service/backup/snapshot/api_op_ListTags.go.snap +++ b/service/backup/snapshot/api_op_ListTags.go.snap @@ -14,7 +14,6 @@ ListTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_PutBackupVaultAccessPolicy.go.snap b/service/backup/snapshot/api_op_PutBackupVaultAccessPolicy.go.snap index 2f8001f18d0..dd12d392cfc 100644 --- a/service/backup/snapshot/api_op_PutBackupVaultAccessPolicy.go.snap +++ b/service/backup/snapshot/api_op_PutBackupVaultAccessPolicy.go.snap @@ -14,7 +14,6 @@ PutBackupVaultAccessPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_PutBackupVaultLockConfiguration.go.snap b/service/backup/snapshot/api_op_PutBackupVaultLockConfiguration.go.snap index 08456ab68c8..a9053cbc584 100644 --- a/service/backup/snapshot/api_op_PutBackupVaultLockConfiguration.go.snap +++ b/service/backup/snapshot/api_op_PutBackupVaultLockConfiguration.go.snap @@ -14,7 +14,6 @@ PutBackupVaultLockConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_PutBackupVaultNotifications.go.snap b/service/backup/snapshot/api_op_PutBackupVaultNotifications.go.snap index 37cc56c4da3..e1dfc957dc2 100644 --- a/service/backup/snapshot/api_op_PutBackupVaultNotifications.go.snap +++ b/service/backup/snapshot/api_op_PutBackupVaultNotifications.go.snap @@ -14,7 +14,6 @@ PutBackupVaultNotifications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_PutRestoreValidationResult.go.snap b/service/backup/snapshot/api_op_PutRestoreValidationResult.go.snap index aa5d7c91062..a102c4dc97d 100644 --- a/service/backup/snapshot/api_op_PutRestoreValidationResult.go.snap +++ b/service/backup/snapshot/api_op_PutRestoreValidationResult.go.snap @@ -14,7 +14,6 @@ PutRestoreValidationResult Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_StartBackupJob.go.snap b/service/backup/snapshot/api_op_StartBackupJob.go.snap index 35ee8516475..c655d7142ec 100644 --- a/service/backup/snapshot/api_op_StartBackupJob.go.snap +++ b/service/backup/snapshot/api_op_StartBackupJob.go.snap @@ -14,7 +14,6 @@ StartBackupJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_StartCopyJob.go.snap b/service/backup/snapshot/api_op_StartCopyJob.go.snap index c94fabedb18..7ce77996501 100644 --- a/service/backup/snapshot/api_op_StartCopyJob.go.snap +++ b/service/backup/snapshot/api_op_StartCopyJob.go.snap @@ -14,7 +14,6 @@ StartCopyJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_StartReportJob.go.snap b/service/backup/snapshot/api_op_StartReportJob.go.snap index 29b839c2b82..57b0af303a0 100644 --- a/service/backup/snapshot/api_op_StartReportJob.go.snap +++ b/service/backup/snapshot/api_op_StartReportJob.go.snap @@ -15,7 +15,6 @@ StartReportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_StartRestoreJob.go.snap b/service/backup/snapshot/api_op_StartRestoreJob.go.snap index eb828c2b12a..5d0e8a1b621 100644 --- a/service/backup/snapshot/api_op_StartRestoreJob.go.snap +++ b/service/backup/snapshot/api_op_StartRestoreJob.go.snap @@ -14,7 +14,6 @@ StartRestoreJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_StopBackupJob.go.snap b/service/backup/snapshot/api_op_StopBackupJob.go.snap index da7402f9a2a..00d5719888b 100644 --- a/service/backup/snapshot/api_op_StopBackupJob.go.snap +++ b/service/backup/snapshot/api_op_StopBackupJob.go.snap @@ -14,7 +14,6 @@ StopBackupJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_TagResource.go.snap b/service/backup/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/backup/snapshot/api_op_TagResource.go.snap +++ b/service/backup/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_UntagResource.go.snap b/service/backup/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/backup/snapshot/api_op_UntagResource.go.snap +++ b/service/backup/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_UpdateBackupPlan.go.snap b/service/backup/snapshot/api_op_UpdateBackupPlan.go.snap index 32a983f1a86..4cdc52ec598 100644 --- a/service/backup/snapshot/api_op_UpdateBackupPlan.go.snap +++ b/service/backup/snapshot/api_op_UpdateBackupPlan.go.snap @@ -14,7 +14,6 @@ UpdateBackupPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_UpdateFramework.go.snap b/service/backup/snapshot/api_op_UpdateFramework.go.snap index 82c2097b98f..90faaf0d3fd 100644 --- a/service/backup/snapshot/api_op_UpdateFramework.go.snap +++ b/service/backup/snapshot/api_op_UpdateFramework.go.snap @@ -15,7 +15,6 @@ UpdateFramework Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_UpdateGlobalSettings.go.snap b/service/backup/snapshot/api_op_UpdateGlobalSettings.go.snap index 3163e3d4a3b..276f741cb85 100644 --- a/service/backup/snapshot/api_op_UpdateGlobalSettings.go.snap +++ b/service/backup/snapshot/api_op_UpdateGlobalSettings.go.snap @@ -13,7 +13,6 @@ UpdateGlobalSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_UpdateRecoveryPointIndexSettings.go.snap b/service/backup/snapshot/api_op_UpdateRecoveryPointIndexSettings.go.snap index 31d340d9518..effd6563c5f 100644 --- a/service/backup/snapshot/api_op_UpdateRecoveryPointIndexSettings.go.snap +++ b/service/backup/snapshot/api_op_UpdateRecoveryPointIndexSettings.go.snap @@ -14,7 +14,6 @@ UpdateRecoveryPointIndexSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_UpdateRecoveryPointLifecycle.go.snap b/service/backup/snapshot/api_op_UpdateRecoveryPointLifecycle.go.snap index 859c9f40411..819abffcf13 100644 --- a/service/backup/snapshot/api_op_UpdateRecoveryPointLifecycle.go.snap +++ b/service/backup/snapshot/api_op_UpdateRecoveryPointLifecycle.go.snap @@ -14,7 +14,6 @@ UpdateRecoveryPointLifecycle Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_UpdateRegionSettings.go.snap b/service/backup/snapshot/api_op_UpdateRegionSettings.go.snap index 44a7b3db48b..f1068a4d211 100644 --- a/service/backup/snapshot/api_op_UpdateRegionSettings.go.snap +++ b/service/backup/snapshot/api_op_UpdateRegionSettings.go.snap @@ -13,7 +13,6 @@ UpdateRegionSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_UpdateReportPlan.go.snap b/service/backup/snapshot/api_op_UpdateReportPlan.go.snap index 6b3643f62b4..420436a53ec 100644 --- a/service/backup/snapshot/api_op_UpdateReportPlan.go.snap +++ b/service/backup/snapshot/api_op_UpdateReportPlan.go.snap @@ -15,7 +15,6 @@ UpdateReportPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_UpdateRestoreTestingPlan.go.snap b/service/backup/snapshot/api_op_UpdateRestoreTestingPlan.go.snap index 7fc98951aa6..9939788fbe3 100644 --- a/service/backup/snapshot/api_op_UpdateRestoreTestingPlan.go.snap +++ b/service/backup/snapshot/api_op_UpdateRestoreTestingPlan.go.snap @@ -14,7 +14,6 @@ UpdateRestoreTestingPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backup/snapshot/api_op_UpdateRestoreTestingSelection.go.snap b/service/backup/snapshot/api_op_UpdateRestoreTestingSelection.go.snap index efb69126713..2f9688c50fd 100644 --- a/service/backup/snapshot/api_op_UpdateRestoreTestingSelection.go.snap +++ b/service/backup/snapshot/api_op_UpdateRestoreTestingSelection.go.snap @@ -14,7 +14,6 @@ UpdateRestoreTestingSelection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupgateway/api_client.go b/service/backupgateway/api_client.go index 6596ecc4cb8..0f5c03bc085 100644 --- a/service/backupgateway/api_client.go +++ b/service/backupgateway/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/backupgateway/api_op_AssociateGatewayToServer.go b/service/backupgateway/api_op_AssociateGatewayToServer.go index 218989b0b7b..1e1309bcad0 100644 --- a/service/backupgateway/api_op_AssociateGatewayToServer.go +++ b/service/backupgateway/api_op_AssociateGatewayToServer.go @@ -118,9 +118,6 @@ func (c *Client) addOperationAssociateGatewayToServerMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateGatewayToServerValidationMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_CreateGateway.go b/service/backupgateway/api_op_CreateGateway.go index 1fc1e2ddb10..06d93345d1e 100644 --- a/service/backupgateway/api_op_CreateGateway.go +++ b/service/backupgateway/api_op_CreateGateway.go @@ -126,9 +126,6 @@ func (c *Client) addOperationCreateGatewayMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_DeleteGateway.go b/service/backupgateway/api_op_DeleteGateway.go index d2f63adc163..a82cb8c30a4 100644 --- a/service/backupgateway/api_op_DeleteGateway.go +++ b/service/backupgateway/api_op_DeleteGateway.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteGatewayMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_DeleteHypervisor.go b/service/backupgateway/api_op_DeleteHypervisor.go index 23f8653f835..62b80d8201d 100644 --- a/service/backupgateway/api_op_DeleteHypervisor.go +++ b/service/backupgateway/api_op_DeleteHypervisor.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteHypervisorMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteHypervisorValidationMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_DisassociateGatewayFromServer.go b/service/backupgateway/api_op_DisassociateGatewayFromServer.go index 26a3023a01f..138728c1696 100644 --- a/service/backupgateway/api_op_DisassociateGatewayFromServer.go +++ b/service/backupgateway/api_op_DisassociateGatewayFromServer.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDisassociateGatewayFromServerMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateGatewayFromServerValidationMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_GetBandwidthRateLimitSchedule.go b/service/backupgateway/api_op_GetBandwidthRateLimitSchedule.go index 5fab510d751..22c9ad31298 100644 --- a/service/backupgateway/api_op_GetBandwidthRateLimitSchedule.go +++ b/service/backupgateway/api_op_GetBandwidthRateLimitSchedule.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetBandwidthRateLimitScheduleMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBandwidthRateLimitScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_GetGateway.go b/service/backupgateway/api_op_GetGateway.go index 260ecb30c61..de4ebb9110c 100644 --- a/service/backupgateway/api_op_GetGateway.go +++ b/service/backupgateway/api_op_GetGateway.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetGatewayMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_GetHypervisor.go b/service/backupgateway/api_op_GetHypervisor.go index 6cea8304977..3e7661091b3 100644 --- a/service/backupgateway/api_op_GetHypervisor.go +++ b/service/backupgateway/api_op_GetHypervisor.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetHypervisorMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetHypervisorValidationMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_GetHypervisorPropertyMappings.go b/service/backupgateway/api_op_GetHypervisorPropertyMappings.go index 48f5258a5e3..2fa05c5ebb9 100644 --- a/service/backupgateway/api_op_GetHypervisorPropertyMappings.go +++ b/service/backupgateway/api_op_GetHypervisorPropertyMappings.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetHypervisorPropertyMappingsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetHypervisorPropertyMappingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_GetVirtualMachine.go b/service/backupgateway/api_op_GetVirtualMachine.go index 2bc99fc2de5..c9b8c275f13 100644 --- a/service/backupgateway/api_op_GetVirtualMachine.go +++ b/service/backupgateway/api_op_GetVirtualMachine.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetVirtualMachineMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVirtualMachineValidationMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_ImportHypervisorConfiguration.go b/service/backupgateway/api_op_ImportHypervisorConfiguration.go index b91a9efa5f6..15c12850632 100644 --- a/service/backupgateway/api_op_ImportHypervisorConfiguration.go +++ b/service/backupgateway/api_op_ImportHypervisorConfiguration.go @@ -130,9 +130,6 @@ func (c *Client) addOperationImportHypervisorConfigurationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportHypervisorConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_ListGateways.go b/service/backupgateway/api_op_ListGateways.go index f76699bcf28..bab02db7720 100644 --- a/service/backupgateway/api_op_ListGateways.go +++ b/service/backupgateway/api_op_ListGateways.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListGatewaysMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGateways(options.Region), middleware.Before); err != nil { return err } diff --git a/service/backupgateway/api_op_ListHypervisors.go b/service/backupgateway/api_op_ListHypervisors.go index 1f51dbb86d6..59ccf5de19c 100644 --- a/service/backupgateway/api_op_ListHypervisors.go +++ b/service/backupgateway/api_op_ListHypervisors.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListHypervisorsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHypervisors(options.Region), middleware.Before); err != nil { return err } diff --git a/service/backupgateway/api_op_ListTagsForResource.go b/service/backupgateway/api_op_ListTagsForResource.go index 964ddbb458c..9b9ea59780d 100644 --- a/service/backupgateway/api_op_ListTagsForResource.go +++ b/service/backupgateway/api_op_ListTagsForResource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_ListVirtualMachines.go b/service/backupgateway/api_op_ListVirtualMachines.go index 43c24c24b12..ac83078bf51 100644 --- a/service/backupgateway/api_op_ListVirtualMachines.go +++ b/service/backupgateway/api_op_ListVirtualMachines.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListVirtualMachinesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVirtualMachines(options.Region), middleware.Before); err != nil { return err } diff --git a/service/backupgateway/api_op_PutBandwidthRateLimitSchedule.go b/service/backupgateway/api_op_PutBandwidthRateLimitSchedule.go index 04076651e5a..e84e0295ed4 100644 --- a/service/backupgateway/api_op_PutBandwidthRateLimitSchedule.go +++ b/service/backupgateway/api_op_PutBandwidthRateLimitSchedule.go @@ -127,9 +127,6 @@ func (c *Client) addOperationPutBandwidthRateLimitScheduleMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutBandwidthRateLimitScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_PutHypervisorPropertyMappings.go b/service/backupgateway/api_op_PutHypervisorPropertyMappings.go index 897fe6e1c04..ef96211a910 100644 --- a/service/backupgateway/api_op_PutHypervisorPropertyMappings.go +++ b/service/backupgateway/api_op_PutHypervisorPropertyMappings.go @@ -126,9 +126,6 @@ func (c *Client) addOperationPutHypervisorPropertyMappingsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutHypervisorPropertyMappingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_PutMaintenanceStartTime.go b/service/backupgateway/api_op_PutMaintenanceStartTime.go index 4890501c786..3a8f20730f6 100644 --- a/service/backupgateway/api_op_PutMaintenanceStartTime.go +++ b/service/backupgateway/api_op_PutMaintenanceStartTime.go @@ -131,9 +131,6 @@ func (c *Client) addOperationPutMaintenanceStartTimeMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutMaintenanceStartTimeValidationMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_StartVirtualMachinesMetadataSync.go b/service/backupgateway/api_op_StartVirtualMachinesMetadataSync.go index 7546ff21e39..04572d4d6b8 100644 --- a/service/backupgateway/api_op_StartVirtualMachinesMetadataSync.go +++ b/service/backupgateway/api_op_StartVirtualMachinesMetadataSync.go @@ -112,9 +112,6 @@ func (c *Client) addOperationStartVirtualMachinesMetadataSyncMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartVirtualMachinesMetadataSyncValidationMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_TagResource.go b/service/backupgateway/api_op_TagResource.go index cce64e7f04f..e35fa5df8f2 100644 --- a/service/backupgateway/api_op_TagResource.go +++ b/service/backupgateway/api_op_TagResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_TestHypervisorConfiguration.go b/service/backupgateway/api_op_TestHypervisorConfiguration.go index f8225a9153f..a95c3ef4991 100644 --- a/service/backupgateway/api_op_TestHypervisorConfiguration.go +++ b/service/backupgateway/api_op_TestHypervisorConfiguration.go @@ -120,9 +120,6 @@ func (c *Client) addOperationTestHypervisorConfigurationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTestHypervisorConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_UntagResource.go b/service/backupgateway/api_op_UntagResource.go index 8f72215d263..4491a0ad1b1 100644 --- a/service/backupgateway/api_op_UntagResource.go +++ b/service/backupgateway/api_op_UntagResource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_UpdateGatewayInformation.go b/service/backupgateway/api_op_UpdateGatewayInformation.go index 9985f5e2264..4dba4c05cb2 100644 --- a/service/backupgateway/api_op_UpdateGatewayInformation.go +++ b/service/backupgateway/api_op_UpdateGatewayInformation.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUpdateGatewayInformationMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateGatewayInformationValidationMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_UpdateGatewaySoftwareNow.go b/service/backupgateway/api_op_UpdateGatewaySoftwareNow.go index bd75609720c..e834865da44 100644 --- a/service/backupgateway/api_op_UpdateGatewaySoftwareNow.go +++ b/service/backupgateway/api_op_UpdateGatewaySoftwareNow.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUpdateGatewaySoftwareNowMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateGatewaySoftwareNowValidationMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/api_op_UpdateHypervisor.go b/service/backupgateway/api_op_UpdateHypervisor.go index a2916229bfa..a1e0df5c5d3 100644 --- a/service/backupgateway/api_op_UpdateHypervisor.go +++ b/service/backupgateway/api_op_UpdateHypervisor.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateHypervisorMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateHypervisorValidationMiddleware(stack); err != nil { return err } diff --git a/service/backupgateway/snapshot/api_op_AssociateGatewayToServer.go.snap b/service/backupgateway/snapshot/api_op_AssociateGatewayToServer.go.snap index a104aef1d26..ba78e7bf176 100644 --- a/service/backupgateway/snapshot/api_op_AssociateGatewayToServer.go.snap +++ b/service/backupgateway/snapshot/api_op_AssociateGatewayToServer.go.snap @@ -14,7 +14,6 @@ AssociateGatewayToServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupgateway/snapshot/api_op_CreateGateway.go.snap b/service/backupgateway/snapshot/api_op_CreateGateway.go.snap index 4b420977c1e..3e4ba923aaa 100644 --- a/service/backupgateway/snapshot/api_op_CreateGateway.go.snap +++ b/service/backupgateway/snapshot/api_op_CreateGateway.go.snap @@ -14,7 +14,6 @@ CreateGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupgateway/snapshot/api_op_DeleteGateway.go.snap b/service/backupgateway/snapshot/api_op_DeleteGateway.go.snap index 7d7ab9437f3..70571611919 100644 --- a/service/backupgateway/snapshot/api_op_DeleteGateway.go.snap +++ b/service/backupgateway/snapshot/api_op_DeleteGateway.go.snap @@ -14,7 +14,6 @@ DeleteGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupgateway/snapshot/api_op_DeleteHypervisor.go.snap b/service/backupgateway/snapshot/api_op_DeleteHypervisor.go.snap index 2dda9d07153..8a0cc95804b 100644 --- a/service/backupgateway/snapshot/api_op_DeleteHypervisor.go.snap +++ b/service/backupgateway/snapshot/api_op_DeleteHypervisor.go.snap @@ -14,7 +14,6 @@ DeleteHypervisor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupgateway/snapshot/api_op_DisassociateGatewayFromServer.go.snap b/service/backupgateway/snapshot/api_op_DisassociateGatewayFromServer.go.snap index 8cdb5767076..c35166b1f93 100644 --- a/service/backupgateway/snapshot/api_op_DisassociateGatewayFromServer.go.snap +++ b/service/backupgateway/snapshot/api_op_DisassociateGatewayFromServer.go.snap @@ -14,7 +14,6 @@ DisassociateGatewayFromServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupgateway/snapshot/api_op_GetBandwidthRateLimitSchedule.go.snap b/service/backupgateway/snapshot/api_op_GetBandwidthRateLimitSchedule.go.snap index 1065057e230..ec3e090e497 100644 --- a/service/backupgateway/snapshot/api_op_GetBandwidthRateLimitSchedule.go.snap +++ b/service/backupgateway/snapshot/api_op_GetBandwidthRateLimitSchedule.go.snap @@ -14,7 +14,6 @@ GetBandwidthRateLimitSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupgateway/snapshot/api_op_GetGateway.go.snap b/service/backupgateway/snapshot/api_op_GetGateway.go.snap index fc1baae5ed7..02b023f10bd 100644 --- a/service/backupgateway/snapshot/api_op_GetGateway.go.snap +++ b/service/backupgateway/snapshot/api_op_GetGateway.go.snap @@ -14,7 +14,6 @@ GetGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupgateway/snapshot/api_op_GetHypervisor.go.snap b/service/backupgateway/snapshot/api_op_GetHypervisor.go.snap index e30b7899cd9..28358244fd5 100644 --- a/service/backupgateway/snapshot/api_op_GetHypervisor.go.snap +++ b/service/backupgateway/snapshot/api_op_GetHypervisor.go.snap @@ -14,7 +14,6 @@ GetHypervisor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupgateway/snapshot/api_op_GetHypervisorPropertyMappings.go.snap b/service/backupgateway/snapshot/api_op_GetHypervisorPropertyMappings.go.snap index 2a341511a97..ffc6a5d522c 100644 --- a/service/backupgateway/snapshot/api_op_GetHypervisorPropertyMappings.go.snap +++ b/service/backupgateway/snapshot/api_op_GetHypervisorPropertyMappings.go.snap @@ -14,7 +14,6 @@ GetHypervisorPropertyMappings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupgateway/snapshot/api_op_GetVirtualMachine.go.snap b/service/backupgateway/snapshot/api_op_GetVirtualMachine.go.snap index f66312a06c1..501ab8c0f0e 100644 --- a/service/backupgateway/snapshot/api_op_GetVirtualMachine.go.snap +++ b/service/backupgateway/snapshot/api_op_GetVirtualMachine.go.snap @@ -14,7 +14,6 @@ GetVirtualMachine Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupgateway/snapshot/api_op_ImportHypervisorConfiguration.go.snap b/service/backupgateway/snapshot/api_op_ImportHypervisorConfiguration.go.snap index 32817af1b0a..524515309a7 100644 --- a/service/backupgateway/snapshot/api_op_ImportHypervisorConfiguration.go.snap +++ b/service/backupgateway/snapshot/api_op_ImportHypervisorConfiguration.go.snap @@ -14,7 +14,6 @@ ImportHypervisorConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupgateway/snapshot/api_op_ListGateways.go.snap b/service/backupgateway/snapshot/api_op_ListGateways.go.snap index 7a4f682e3d5..a9c429c3a6b 100644 --- a/service/backupgateway/snapshot/api_op_ListGateways.go.snap +++ b/service/backupgateway/snapshot/api_op_ListGateways.go.snap @@ -13,7 +13,6 @@ ListGateways Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupgateway/snapshot/api_op_ListHypervisors.go.snap b/service/backupgateway/snapshot/api_op_ListHypervisors.go.snap index aa842e570ac..528e9a2859d 100644 --- a/service/backupgateway/snapshot/api_op_ListHypervisors.go.snap +++ b/service/backupgateway/snapshot/api_op_ListHypervisors.go.snap @@ -13,7 +13,6 @@ ListHypervisors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupgateway/snapshot/api_op_ListTagsForResource.go.snap b/service/backupgateway/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/backupgateway/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/backupgateway/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupgateway/snapshot/api_op_ListVirtualMachines.go.snap b/service/backupgateway/snapshot/api_op_ListVirtualMachines.go.snap index 2a608171696..bac24b59270 100644 --- a/service/backupgateway/snapshot/api_op_ListVirtualMachines.go.snap +++ b/service/backupgateway/snapshot/api_op_ListVirtualMachines.go.snap @@ -13,7 +13,6 @@ ListVirtualMachines Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupgateway/snapshot/api_op_PutBandwidthRateLimitSchedule.go.snap b/service/backupgateway/snapshot/api_op_PutBandwidthRateLimitSchedule.go.snap index 05b1ef6b7ac..90a20d8aeaf 100644 --- a/service/backupgateway/snapshot/api_op_PutBandwidthRateLimitSchedule.go.snap +++ b/service/backupgateway/snapshot/api_op_PutBandwidthRateLimitSchedule.go.snap @@ -14,7 +14,6 @@ PutBandwidthRateLimitSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupgateway/snapshot/api_op_PutHypervisorPropertyMappings.go.snap b/service/backupgateway/snapshot/api_op_PutHypervisorPropertyMappings.go.snap index dab587c9163..4155ae635ad 100644 --- a/service/backupgateway/snapshot/api_op_PutHypervisorPropertyMappings.go.snap +++ b/service/backupgateway/snapshot/api_op_PutHypervisorPropertyMappings.go.snap @@ -14,7 +14,6 @@ PutHypervisorPropertyMappings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupgateway/snapshot/api_op_PutMaintenanceStartTime.go.snap b/service/backupgateway/snapshot/api_op_PutMaintenanceStartTime.go.snap index f6fe56c7290..58164e795e6 100644 --- a/service/backupgateway/snapshot/api_op_PutMaintenanceStartTime.go.snap +++ b/service/backupgateway/snapshot/api_op_PutMaintenanceStartTime.go.snap @@ -14,7 +14,6 @@ PutMaintenanceStartTime Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupgateway/snapshot/api_op_StartVirtualMachinesMetadataSync.go.snap b/service/backupgateway/snapshot/api_op_StartVirtualMachinesMetadataSync.go.snap index cc81801e39b..6028a51e916 100644 --- a/service/backupgateway/snapshot/api_op_StartVirtualMachinesMetadataSync.go.snap +++ b/service/backupgateway/snapshot/api_op_StartVirtualMachinesMetadataSync.go.snap @@ -14,7 +14,6 @@ StartVirtualMachinesMetadataSync Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupgateway/snapshot/api_op_TagResource.go.snap b/service/backupgateway/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/backupgateway/snapshot/api_op_TagResource.go.snap +++ b/service/backupgateway/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupgateway/snapshot/api_op_TestHypervisorConfiguration.go.snap b/service/backupgateway/snapshot/api_op_TestHypervisorConfiguration.go.snap index b24fea89cfb..7e098e1ef8d 100644 --- a/service/backupgateway/snapshot/api_op_TestHypervisorConfiguration.go.snap +++ b/service/backupgateway/snapshot/api_op_TestHypervisorConfiguration.go.snap @@ -14,7 +14,6 @@ TestHypervisorConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupgateway/snapshot/api_op_UntagResource.go.snap b/service/backupgateway/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/backupgateway/snapshot/api_op_UntagResource.go.snap +++ b/service/backupgateway/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupgateway/snapshot/api_op_UpdateGatewayInformation.go.snap b/service/backupgateway/snapshot/api_op_UpdateGatewayInformation.go.snap index 6193ce51713..36bdd29b561 100644 --- a/service/backupgateway/snapshot/api_op_UpdateGatewayInformation.go.snap +++ b/service/backupgateway/snapshot/api_op_UpdateGatewayInformation.go.snap @@ -14,7 +14,6 @@ UpdateGatewayInformation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupgateway/snapshot/api_op_UpdateGatewaySoftwareNow.go.snap b/service/backupgateway/snapshot/api_op_UpdateGatewaySoftwareNow.go.snap index 219c36387dc..397295ad6b7 100644 --- a/service/backupgateway/snapshot/api_op_UpdateGatewaySoftwareNow.go.snap +++ b/service/backupgateway/snapshot/api_op_UpdateGatewaySoftwareNow.go.snap @@ -14,7 +14,6 @@ UpdateGatewaySoftwareNow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupgateway/snapshot/api_op_UpdateHypervisor.go.snap b/service/backupgateway/snapshot/api_op_UpdateHypervisor.go.snap index 62197dd0a52..053ffe45fe8 100644 --- a/service/backupgateway/snapshot/api_op_UpdateHypervisor.go.snap +++ b/service/backupgateway/snapshot/api_op_UpdateHypervisor.go.snap @@ -14,7 +14,6 @@ UpdateHypervisor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupsearch/api_client.go b/service/backupsearch/api_client.go index 53bd55f705f..13451035c2d 100644 --- a/service/backupsearch/api_client.go +++ b/service/backupsearch/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/backupsearch/api_op_GetSearchJob.go b/service/backupsearch/api_op_GetSearchJob.go index 77bd37a58ec..81011fdabea 100644 --- a/service/backupsearch/api_op_GetSearchJob.go +++ b/service/backupsearch/api_op_GetSearchJob.go @@ -182,9 +182,6 @@ func (c *Client) addOperationGetSearchJobMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSearchJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/backupsearch/api_op_GetSearchResultExportJob.go b/service/backupsearch/api_op_GetSearchResultExportJob.go index 721b30a67c0..f5656d6b58d 100644 --- a/service/backupsearch/api_op_GetSearchResultExportJob.go +++ b/service/backupsearch/api_op_GetSearchResultExportJob.go @@ -153,9 +153,6 @@ func (c *Client) addOperationGetSearchResultExportJobMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSearchResultExportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/backupsearch/api_op_ListSearchJobBackups.go b/service/backupsearch/api_op_ListSearchJobBackups.go index 8aafed01ff6..595b5d17041 100644 --- a/service/backupsearch/api_op_ListSearchJobBackups.go +++ b/service/backupsearch/api_op_ListSearchJobBackups.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListSearchJobBackupsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSearchJobBackupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/backupsearch/api_op_ListSearchJobResults.go b/service/backupsearch/api_op_ListSearchJobResults.go index c328f185f92..9c092cb4192 100644 --- a/service/backupsearch/api_op_ListSearchJobResults.go +++ b/service/backupsearch/api_op_ListSearchJobResults.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListSearchJobResultsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSearchJobResultsValidationMiddleware(stack); err != nil { return err } diff --git a/service/backupsearch/api_op_ListSearchJobs.go b/service/backupsearch/api_op_ListSearchJobs.go index c7d05e35b23..2f85a174657 100644 --- a/service/backupsearch/api_op_ListSearchJobs.go +++ b/service/backupsearch/api_op_ListSearchJobs.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListSearchJobsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSearchJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/backupsearch/api_op_ListSearchResultExportJobs.go b/service/backupsearch/api_op_ListSearchResultExportJobs.go index f14499fe2ef..4d4a116c566 100644 --- a/service/backupsearch/api_op_ListSearchResultExportJobs.go +++ b/service/backupsearch/api_op_ListSearchResultExportJobs.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListSearchResultExportJobsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSearchResultExportJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/backupsearch/api_op_ListTagsForResource.go b/service/backupsearch/api_op_ListTagsForResource.go index c927532b24f..c8276a77903 100644 --- a/service/backupsearch/api_op_ListTagsForResource.go +++ b/service/backupsearch/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/backupsearch/api_op_StartSearchJob.go b/service/backupsearch/api_op_StartSearchJob.go index 355e940993d..3ab4ee1d16c 100644 --- a/service/backupsearch/api_op_StartSearchJob.go +++ b/service/backupsearch/api_op_StartSearchJob.go @@ -150,9 +150,6 @@ func (c *Client) addOperationStartSearchJobMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartSearchJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/backupsearch/api_op_StartSearchResultExportJob.go b/service/backupsearch/api_op_StartSearchResultExportJob.go index ebcdf8ec252..b31df6dba17 100644 --- a/service/backupsearch/api_op_StartSearchResultExportJob.go +++ b/service/backupsearch/api_op_StartSearchResultExportJob.go @@ -141,9 +141,6 @@ func (c *Client) addOperationStartSearchResultExportJobMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartSearchResultExportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/backupsearch/api_op_StopSearchJob.go b/service/backupsearch/api_op_StopSearchJob.go index 8e0c8dc6568..dc6b1d936fa 100644 --- a/service/backupsearch/api_op_StopSearchJob.go +++ b/service/backupsearch/api_op_StopSearchJob.go @@ -109,9 +109,6 @@ func (c *Client) addOperationStopSearchJobMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopSearchJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/backupsearch/api_op_TagResource.go b/service/backupsearch/api_op_TagResource.go index 145d095f66e..19cd977b333 100644 --- a/service/backupsearch/api_op_TagResource.go +++ b/service/backupsearch/api_op_TagResource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/backupsearch/api_op_UntagResource.go b/service/backupsearch/api_op_UntagResource.go index 6cb406b2bc7..10f0aa09fae 100644 --- a/service/backupsearch/api_op_UntagResource.go +++ b/service/backupsearch/api_op_UntagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/backupsearch/snapshot/api_op_GetSearchJob.go.snap b/service/backupsearch/snapshot/api_op_GetSearchJob.go.snap index d1913179645..fa4868a425e 100644 --- a/service/backupsearch/snapshot/api_op_GetSearchJob.go.snap +++ b/service/backupsearch/snapshot/api_op_GetSearchJob.go.snap @@ -14,7 +14,6 @@ GetSearchJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupsearch/snapshot/api_op_GetSearchResultExportJob.go.snap b/service/backupsearch/snapshot/api_op_GetSearchResultExportJob.go.snap index d806c010a65..4928ae99fa2 100644 --- a/service/backupsearch/snapshot/api_op_GetSearchResultExportJob.go.snap +++ b/service/backupsearch/snapshot/api_op_GetSearchResultExportJob.go.snap @@ -14,7 +14,6 @@ GetSearchResultExportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupsearch/snapshot/api_op_ListSearchJobBackups.go.snap b/service/backupsearch/snapshot/api_op_ListSearchJobBackups.go.snap index 6755137fbc0..ef8b33ca32e 100644 --- a/service/backupsearch/snapshot/api_op_ListSearchJobBackups.go.snap +++ b/service/backupsearch/snapshot/api_op_ListSearchJobBackups.go.snap @@ -14,7 +14,6 @@ ListSearchJobBackups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupsearch/snapshot/api_op_ListSearchJobResults.go.snap b/service/backupsearch/snapshot/api_op_ListSearchJobResults.go.snap index 249d85fa468..d30ebd3223d 100644 --- a/service/backupsearch/snapshot/api_op_ListSearchJobResults.go.snap +++ b/service/backupsearch/snapshot/api_op_ListSearchJobResults.go.snap @@ -14,7 +14,6 @@ ListSearchJobResults Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupsearch/snapshot/api_op_ListSearchJobs.go.snap b/service/backupsearch/snapshot/api_op_ListSearchJobs.go.snap index e9483518746..3df44dd0a83 100644 --- a/service/backupsearch/snapshot/api_op_ListSearchJobs.go.snap +++ b/service/backupsearch/snapshot/api_op_ListSearchJobs.go.snap @@ -13,7 +13,6 @@ ListSearchJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupsearch/snapshot/api_op_ListSearchResultExportJobs.go.snap b/service/backupsearch/snapshot/api_op_ListSearchResultExportJobs.go.snap index ec349e9c3a5..bba45730d1b 100644 --- a/service/backupsearch/snapshot/api_op_ListSearchResultExportJobs.go.snap +++ b/service/backupsearch/snapshot/api_op_ListSearchResultExportJobs.go.snap @@ -13,7 +13,6 @@ ListSearchResultExportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupsearch/snapshot/api_op_ListTagsForResource.go.snap b/service/backupsearch/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/backupsearch/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/backupsearch/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupsearch/snapshot/api_op_StartSearchJob.go.snap b/service/backupsearch/snapshot/api_op_StartSearchJob.go.snap index ef7f921942b..e777d3fe47e 100644 --- a/service/backupsearch/snapshot/api_op_StartSearchJob.go.snap +++ b/service/backupsearch/snapshot/api_op_StartSearchJob.go.snap @@ -14,7 +14,6 @@ StartSearchJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupsearch/snapshot/api_op_StartSearchResultExportJob.go.snap b/service/backupsearch/snapshot/api_op_StartSearchResultExportJob.go.snap index acf4aace672..44f33e163f6 100644 --- a/service/backupsearch/snapshot/api_op_StartSearchResultExportJob.go.snap +++ b/service/backupsearch/snapshot/api_op_StartSearchResultExportJob.go.snap @@ -14,7 +14,6 @@ StartSearchResultExportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupsearch/snapshot/api_op_StopSearchJob.go.snap b/service/backupsearch/snapshot/api_op_StopSearchJob.go.snap index 29447bdcfb0..730513858c2 100644 --- a/service/backupsearch/snapshot/api_op_StopSearchJob.go.snap +++ b/service/backupsearch/snapshot/api_op_StopSearchJob.go.snap @@ -14,7 +14,6 @@ StopSearchJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupsearch/snapshot/api_op_TagResource.go.snap b/service/backupsearch/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/backupsearch/snapshot/api_op_TagResource.go.snap +++ b/service/backupsearch/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/backupsearch/snapshot/api_op_UntagResource.go.snap b/service/backupsearch/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/backupsearch/snapshot/api_op_UntagResource.go.snap +++ b/service/backupsearch/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/batch/api_client.go b/service/batch/api_client.go index 67d1bdf17a5..2aa7d2c9c1e 100644 --- a/service/batch/api_client.go +++ b/service/batch/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/batch/api_op_CancelJob.go b/service/batch/api_op_CancelJob.go index 0f5e936e80d..4da1b449cb8 100644 --- a/service/batch/api_op_CancelJob.go +++ b/service/batch/api_op_CancelJob.go @@ -129,9 +129,6 @@ func (c *Client) addOperationCancelJobMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_CreateComputeEnvironment.go b/service/batch/api_op_CreateComputeEnvironment.go index d3f8b904760..8031d29a198 100644 --- a/service/batch/api_op_CreateComputeEnvironment.go +++ b/service/batch/api_op_CreateComputeEnvironment.go @@ -296,9 +296,6 @@ func (c *Client) addOperationCreateComputeEnvironmentMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateComputeEnvironmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_CreateJobQueue.go b/service/batch/api_op_CreateJobQueue.go index e278f1e3559..884e6d5c907 100644 --- a/service/batch/api_op_CreateJobQueue.go +++ b/service/batch/api_op_CreateJobQueue.go @@ -190,9 +190,6 @@ func (c *Client) addOperationCreateJobQueueMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateJobQueueValidationMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_CreateSchedulingPolicy.go b/service/batch/api_op_CreateSchedulingPolicy.go index 6a91436fd77..fd87241749c 100644 --- a/service/batch/api_op_CreateSchedulingPolicy.go +++ b/service/batch/api_op_CreateSchedulingPolicy.go @@ -138,9 +138,6 @@ func (c *Client) addOperationCreateSchedulingPolicyMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSchedulingPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_DeleteComputeEnvironment.go b/service/batch/api_op_DeleteComputeEnvironment.go index ccd384af41d..0b20cde8e8d 100644 --- a/service/batch/api_op_DeleteComputeEnvironment.go +++ b/service/batch/api_op_DeleteComputeEnvironment.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteComputeEnvironmentMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteComputeEnvironmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_DeleteJobQueue.go b/service/batch/api_op_DeleteJobQueue.go index 202020ed37c..95d97b08f29 100644 --- a/service/batch/api_op_DeleteJobQueue.go +++ b/service/batch/api_op_DeleteJobQueue.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteJobQueueMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteJobQueueValidationMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_DeleteSchedulingPolicy.go b/service/batch/api_op_DeleteSchedulingPolicy.go index 7d7586de6ad..298913f45ef 100644 --- a/service/batch/api_op_DeleteSchedulingPolicy.go +++ b/service/batch/api_op_DeleteSchedulingPolicy.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteSchedulingPolicyMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSchedulingPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_DeregisterJobDefinition.go b/service/batch/api_op_DeregisterJobDefinition.go index 70357b86576..d7f356942e8 100644 --- a/service/batch/api_op_DeregisterJobDefinition.go +++ b/service/batch/api_op_DeregisterJobDefinition.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeregisterJobDefinitionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterJobDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_DescribeComputeEnvironments.go b/service/batch/api_op_DescribeComputeEnvironments.go index bbeb40f517a..febda012d96 100644 --- a/service/batch/api_op_DescribeComputeEnvironments.go +++ b/service/batch/api_op_DescribeComputeEnvironments.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDescribeComputeEnvironmentsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeComputeEnvironments(options.Region), middleware.Before); err != nil { return err } diff --git a/service/batch/api_op_DescribeJobDefinitions.go b/service/batch/api_op_DescribeJobDefinitions.go index 82355ae4d05..2738faf259c 100644 --- a/service/batch/api_op_DescribeJobDefinitions.go +++ b/service/batch/api_op_DescribeJobDefinitions.go @@ -148,9 +148,6 @@ func (c *Client) addOperationDescribeJobDefinitionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeJobDefinitions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/batch/api_op_DescribeJobQueues.go b/service/batch/api_op_DescribeJobQueues.go index 7532e15e186..500948e1a27 100644 --- a/service/batch/api_op_DescribeJobQueues.go +++ b/service/batch/api_op_DescribeJobQueues.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDescribeJobQueuesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeJobQueues(options.Region), middleware.Before); err != nil { return err } diff --git a/service/batch/api_op_DescribeJobs.go b/service/batch/api_op_DescribeJobs.go index 242b7484b18..14af36ae4b9 100644 --- a/service/batch/api_op_DescribeJobs.go +++ b/service/batch/api_op_DescribeJobs.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDescribeJobsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_DescribeSchedulingPolicies.go b/service/batch/api_op_DescribeSchedulingPolicies.go index ce8697c97c6..964c01b57bc 100644 --- a/service/batch/api_op_DescribeSchedulingPolicies.go +++ b/service/batch/api_op_DescribeSchedulingPolicies.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDescribeSchedulingPoliciesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSchedulingPoliciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_GetJobQueueSnapshot.go b/service/batch/api_op_GetJobQueueSnapshot.go index b9b7b7836b6..80dfc8a0400 100644 --- a/service/batch/api_op_GetJobQueueSnapshot.go +++ b/service/batch/api_op_GetJobQueueSnapshot.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetJobQueueSnapshotMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetJobQueueSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_ListJobs.go b/service/batch/api_op_ListJobs.go index cc81ee0be19..62d6452effd 100644 --- a/service/batch/api_op_ListJobs.go +++ b/service/batch/api_op_ListJobs.go @@ -208,9 +208,6 @@ func (c *Client) addOperationListJobsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/batch/api_op_ListSchedulingPolicies.go b/service/batch/api_op_ListSchedulingPolicies.go index 23b114fcd0e..c0242af6517 100644 --- a/service/batch/api_op_ListSchedulingPolicies.go +++ b/service/batch/api_op_ListSchedulingPolicies.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListSchedulingPoliciesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSchedulingPolicies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/batch/api_op_ListTagsForResource.go b/service/batch/api_op_ListTagsForResource.go index 9627fdc875d..901bc808cd5 100644 --- a/service/batch/api_op_ListTagsForResource.go +++ b/service/batch/api_op_ListTagsForResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_RegisterJobDefinition.go b/service/batch/api_op_RegisterJobDefinition.go index 648850a17d9..a63c454b600 100644 --- a/service/batch/api_op_RegisterJobDefinition.go +++ b/service/batch/api_op_RegisterJobDefinition.go @@ -227,9 +227,6 @@ func (c *Client) addOperationRegisterJobDefinitionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterJobDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_SubmitJob.go b/service/batch/api_op_SubmitJob.go index f8c167dbc7e..38c9b01ff46 100644 --- a/service/batch/api_op_SubmitJob.go +++ b/service/batch/api_op_SubmitJob.go @@ -247,9 +247,6 @@ func (c *Client) addOperationSubmitJobMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSubmitJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_TagResource.go b/service/batch/api_op_TagResource.go index 3892aa5ff84..0b844396ef6 100644 --- a/service/batch/api_op_TagResource.go +++ b/service/batch/api_op_TagResource.go @@ -125,9 +125,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_TerminateJob.go b/service/batch/api_op_TerminateJob.go index 2f08a805b1c..7a016708358 100644 --- a/service/batch/api_op_TerminateJob.go +++ b/service/batch/api_op_TerminateJob.go @@ -119,9 +119,6 @@ func (c *Client) addOperationTerminateJobMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTerminateJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_UntagResource.go b/service/batch/api_op_UntagResource.go index 03a7dbf758e..7c8cb91f77c 100644 --- a/service/batch/api_op_UntagResource.go +++ b/service/batch/api_op_UntagResource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_UpdateComputeEnvironment.go b/service/batch/api_op_UpdateComputeEnvironment.go index 51bfcb66181..435567d5cbf 100644 --- a/service/batch/api_op_UpdateComputeEnvironment.go +++ b/service/batch/api_op_UpdateComputeEnvironment.go @@ -192,9 +192,6 @@ func (c *Client) addOperationUpdateComputeEnvironmentMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateComputeEnvironmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_UpdateJobQueue.go b/service/batch/api_op_UpdateJobQueue.go index df332a5e90f..7fb1415dc0c 100644 --- a/service/batch/api_op_UpdateJobQueue.go +++ b/service/batch/api_op_UpdateJobQueue.go @@ -155,9 +155,6 @@ func (c *Client) addOperationUpdateJobQueueMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateJobQueueValidationMiddleware(stack); err != nil { return err } diff --git a/service/batch/api_op_UpdateSchedulingPolicy.go b/service/batch/api_op_UpdateSchedulingPolicy.go index 936f0ba965b..991672b4064 100644 --- a/service/batch/api_op_UpdateSchedulingPolicy.go +++ b/service/batch/api_op_UpdateSchedulingPolicy.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUpdateSchedulingPolicyMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSchedulingPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/batch/snapshot/api_op_CancelJob.go.snap b/service/batch/snapshot/api_op_CancelJob.go.snap index 51903387e8d..b36a88b69e0 100644 --- a/service/batch/snapshot/api_op_CancelJob.go.snap +++ b/service/batch/snapshot/api_op_CancelJob.go.snap @@ -14,7 +14,6 @@ CancelJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/batch/snapshot/api_op_CreateComputeEnvironment.go.snap b/service/batch/snapshot/api_op_CreateComputeEnvironment.go.snap index 02fd65079d6..e6bb58ed67f 100644 --- a/service/batch/snapshot/api_op_CreateComputeEnvironment.go.snap +++ b/service/batch/snapshot/api_op_CreateComputeEnvironment.go.snap @@ -14,7 +14,6 @@ CreateComputeEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/batch/snapshot/api_op_CreateJobQueue.go.snap b/service/batch/snapshot/api_op_CreateJobQueue.go.snap index 2075666713c..5fe508d915f 100644 --- a/service/batch/snapshot/api_op_CreateJobQueue.go.snap +++ b/service/batch/snapshot/api_op_CreateJobQueue.go.snap @@ -14,7 +14,6 @@ CreateJobQueue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/batch/snapshot/api_op_CreateSchedulingPolicy.go.snap b/service/batch/snapshot/api_op_CreateSchedulingPolicy.go.snap index e882dbbd022..1b6e7c36b4b 100644 --- a/service/batch/snapshot/api_op_CreateSchedulingPolicy.go.snap +++ b/service/batch/snapshot/api_op_CreateSchedulingPolicy.go.snap @@ -14,7 +14,6 @@ CreateSchedulingPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/batch/snapshot/api_op_DeleteComputeEnvironment.go.snap b/service/batch/snapshot/api_op_DeleteComputeEnvironment.go.snap index aca0d2ad4e3..be7680bb116 100644 --- a/service/batch/snapshot/api_op_DeleteComputeEnvironment.go.snap +++ b/service/batch/snapshot/api_op_DeleteComputeEnvironment.go.snap @@ -14,7 +14,6 @@ DeleteComputeEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/batch/snapshot/api_op_DeleteJobQueue.go.snap b/service/batch/snapshot/api_op_DeleteJobQueue.go.snap index 8c4a29b7345..a5c8e677e12 100644 --- a/service/batch/snapshot/api_op_DeleteJobQueue.go.snap +++ b/service/batch/snapshot/api_op_DeleteJobQueue.go.snap @@ -14,7 +14,6 @@ DeleteJobQueue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/batch/snapshot/api_op_DeleteSchedulingPolicy.go.snap b/service/batch/snapshot/api_op_DeleteSchedulingPolicy.go.snap index 1d7b3a0e553..1e634d15e53 100644 --- a/service/batch/snapshot/api_op_DeleteSchedulingPolicy.go.snap +++ b/service/batch/snapshot/api_op_DeleteSchedulingPolicy.go.snap @@ -14,7 +14,6 @@ DeleteSchedulingPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/batch/snapshot/api_op_DeregisterJobDefinition.go.snap b/service/batch/snapshot/api_op_DeregisterJobDefinition.go.snap index 13916a7ff02..dafb48ad7d9 100644 --- a/service/batch/snapshot/api_op_DeregisterJobDefinition.go.snap +++ b/service/batch/snapshot/api_op_DeregisterJobDefinition.go.snap @@ -14,7 +14,6 @@ DeregisterJobDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/batch/snapshot/api_op_DescribeComputeEnvironments.go.snap b/service/batch/snapshot/api_op_DescribeComputeEnvironments.go.snap index 836fe847cba..3d1df5cc332 100644 --- a/service/batch/snapshot/api_op_DescribeComputeEnvironments.go.snap +++ b/service/batch/snapshot/api_op_DescribeComputeEnvironments.go.snap @@ -13,7 +13,6 @@ DescribeComputeEnvironments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/batch/snapshot/api_op_DescribeJobDefinitions.go.snap b/service/batch/snapshot/api_op_DescribeJobDefinitions.go.snap index ad81f22dcff..ec2b713588e 100644 --- a/service/batch/snapshot/api_op_DescribeJobDefinitions.go.snap +++ b/service/batch/snapshot/api_op_DescribeJobDefinitions.go.snap @@ -13,7 +13,6 @@ DescribeJobDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/batch/snapshot/api_op_DescribeJobQueues.go.snap b/service/batch/snapshot/api_op_DescribeJobQueues.go.snap index 6a2f2630d38..1113a6fb531 100644 --- a/service/batch/snapshot/api_op_DescribeJobQueues.go.snap +++ b/service/batch/snapshot/api_op_DescribeJobQueues.go.snap @@ -13,7 +13,6 @@ DescribeJobQueues Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/batch/snapshot/api_op_DescribeJobs.go.snap b/service/batch/snapshot/api_op_DescribeJobs.go.snap index ed4291e8ee8..eb134fd6c31 100644 --- a/service/batch/snapshot/api_op_DescribeJobs.go.snap +++ b/service/batch/snapshot/api_op_DescribeJobs.go.snap @@ -14,7 +14,6 @@ DescribeJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/batch/snapshot/api_op_DescribeSchedulingPolicies.go.snap b/service/batch/snapshot/api_op_DescribeSchedulingPolicies.go.snap index ccbad31f322..eb72894d945 100644 --- a/service/batch/snapshot/api_op_DescribeSchedulingPolicies.go.snap +++ b/service/batch/snapshot/api_op_DescribeSchedulingPolicies.go.snap @@ -14,7 +14,6 @@ DescribeSchedulingPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/batch/snapshot/api_op_GetJobQueueSnapshot.go.snap b/service/batch/snapshot/api_op_GetJobQueueSnapshot.go.snap index c5a6761b286..c630433ca17 100644 --- a/service/batch/snapshot/api_op_GetJobQueueSnapshot.go.snap +++ b/service/batch/snapshot/api_op_GetJobQueueSnapshot.go.snap @@ -14,7 +14,6 @@ GetJobQueueSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/batch/snapshot/api_op_ListJobs.go.snap b/service/batch/snapshot/api_op_ListJobs.go.snap index a2366e394ac..3ec2f2c0720 100644 --- a/service/batch/snapshot/api_op_ListJobs.go.snap +++ b/service/batch/snapshot/api_op_ListJobs.go.snap @@ -13,7 +13,6 @@ ListJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/batch/snapshot/api_op_ListSchedulingPolicies.go.snap b/service/batch/snapshot/api_op_ListSchedulingPolicies.go.snap index 848294482b4..8a244a7f30d 100644 --- a/service/batch/snapshot/api_op_ListSchedulingPolicies.go.snap +++ b/service/batch/snapshot/api_op_ListSchedulingPolicies.go.snap @@ -13,7 +13,6 @@ ListSchedulingPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/batch/snapshot/api_op_ListTagsForResource.go.snap b/service/batch/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/batch/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/batch/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/batch/snapshot/api_op_RegisterJobDefinition.go.snap b/service/batch/snapshot/api_op_RegisterJobDefinition.go.snap index 8bf4f39ccab..e6e2a2e5cad 100644 --- a/service/batch/snapshot/api_op_RegisterJobDefinition.go.snap +++ b/service/batch/snapshot/api_op_RegisterJobDefinition.go.snap @@ -14,7 +14,6 @@ RegisterJobDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/batch/snapshot/api_op_SubmitJob.go.snap b/service/batch/snapshot/api_op_SubmitJob.go.snap index fd55354c886..45e6cd7d7ae 100644 --- a/service/batch/snapshot/api_op_SubmitJob.go.snap +++ b/service/batch/snapshot/api_op_SubmitJob.go.snap @@ -14,7 +14,6 @@ SubmitJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/batch/snapshot/api_op_TagResource.go.snap b/service/batch/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/batch/snapshot/api_op_TagResource.go.snap +++ b/service/batch/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/batch/snapshot/api_op_TerminateJob.go.snap b/service/batch/snapshot/api_op_TerminateJob.go.snap index 0006c04bb8f..6f544bcd2b4 100644 --- a/service/batch/snapshot/api_op_TerminateJob.go.snap +++ b/service/batch/snapshot/api_op_TerminateJob.go.snap @@ -14,7 +14,6 @@ TerminateJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/batch/snapshot/api_op_UntagResource.go.snap b/service/batch/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/batch/snapshot/api_op_UntagResource.go.snap +++ b/service/batch/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/batch/snapshot/api_op_UpdateComputeEnvironment.go.snap b/service/batch/snapshot/api_op_UpdateComputeEnvironment.go.snap index c07b3c51ed7..a9ddf9c7299 100644 --- a/service/batch/snapshot/api_op_UpdateComputeEnvironment.go.snap +++ b/service/batch/snapshot/api_op_UpdateComputeEnvironment.go.snap @@ -14,7 +14,6 @@ UpdateComputeEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/batch/snapshot/api_op_UpdateJobQueue.go.snap b/service/batch/snapshot/api_op_UpdateJobQueue.go.snap index 31d2081867a..f27e17294de 100644 --- a/service/batch/snapshot/api_op_UpdateJobQueue.go.snap +++ b/service/batch/snapshot/api_op_UpdateJobQueue.go.snap @@ -14,7 +14,6 @@ UpdateJobQueue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/batch/snapshot/api_op_UpdateSchedulingPolicy.go.snap b/service/batch/snapshot/api_op_UpdateSchedulingPolicy.go.snap index cc41fc8c2a1..57368abdb47 100644 --- a/service/batch/snapshot/api_op_UpdateSchedulingPolicy.go.snap +++ b/service/batch/snapshot/api_op_UpdateSchedulingPolicy.go.snap @@ -14,7 +14,6 @@ UpdateSchedulingPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmdataexports/api_client.go b/service/bcmdataexports/api_client.go index 44be19bb3d3..fa3156bfa37 100644 --- a/service/bcmdataexports/api_client.go +++ b/service/bcmdataexports/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/bcmdataexports/api_op_CreateExport.go b/service/bcmdataexports/api_op_CreateExport.go index 92b23f27eff..4d839949a97 100644 --- a/service/bcmdataexports/api_op_CreateExport.go +++ b/service/bcmdataexports/api_op_CreateExport.go @@ -136,9 +136,6 @@ func (c *Client) addOperationCreateExportMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateExportValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmdataexports/api_op_DeleteExport.go b/service/bcmdataexports/api_op_DeleteExport.go index fd6e1374ac3..9761a18f78b 100644 --- a/service/bcmdataexports/api_op_DeleteExport.go +++ b/service/bcmdataexports/api_op_DeleteExport.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteExportMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteExportValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmdataexports/api_op_GetExecution.go b/service/bcmdataexports/api_op_GetExecution.go index e85c1e1d535..ab6e97207ee 100644 --- a/service/bcmdataexports/api_op_GetExecution.go +++ b/service/bcmdataexports/api_op_GetExecution.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetExecutionMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmdataexports/api_op_GetExport.go b/service/bcmdataexports/api_op_GetExport.go index 517e33e6f43..ef78bd4ced9 100644 --- a/service/bcmdataexports/api_op_GetExport.go +++ b/service/bcmdataexports/api_op_GetExport.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetExportMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetExportValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmdataexports/api_op_GetTable.go b/service/bcmdataexports/api_op_GetTable.go index bfc6889e023..dae4b0e2282 100644 --- a/service/bcmdataexports/api_op_GetTable.go +++ b/service/bcmdataexports/api_op_GetTable.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetTableMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmdataexports/api_op_ListExecutions.go b/service/bcmdataexports/api_op_ListExecutions.go index 7ae525c9f6e..702a6d6ba04 100644 --- a/service/bcmdataexports/api_op_ListExecutions.go +++ b/service/bcmdataexports/api_op_ListExecutions.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListExecutionsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListExecutionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmdataexports/api_op_ListExports.go b/service/bcmdataexports/api_op_ListExports.go index 2fb7b4dc6e1..786493c6324 100644 --- a/service/bcmdataexports/api_op_ListExports.go +++ b/service/bcmdataexports/api_op_ListExports.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListExportsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExports(options.Region), middleware.Before); err != nil { return err } diff --git a/service/bcmdataexports/api_op_ListTables.go b/service/bcmdataexports/api_op_ListTables.go index 744abe4fcb8..af8456af00b 100644 --- a/service/bcmdataexports/api_op_ListTables.go +++ b/service/bcmdataexports/api_op_ListTables.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListTablesMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTables(options.Region), middleware.Before); err != nil { return err } diff --git a/service/bcmdataexports/api_op_ListTagsForResource.go b/service/bcmdataexports/api_op_ListTagsForResource.go index 5d607a16ef9..1fb58d09a9e 100644 --- a/service/bcmdataexports/api_op_ListTagsForResource.go +++ b/service/bcmdataexports/api_op_ListTagsForResource.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmdataexports/api_op_TagResource.go b/service/bcmdataexports/api_op_TagResource.go index f24128673ff..4df96135850 100644 --- a/service/bcmdataexports/api_op_TagResource.go +++ b/service/bcmdataexports/api_op_TagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmdataexports/api_op_UntagResource.go b/service/bcmdataexports/api_op_UntagResource.go index bc1c83d98f8..a182406695c 100644 --- a/service/bcmdataexports/api_op_UntagResource.go +++ b/service/bcmdataexports/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmdataexports/api_op_UpdateExport.go b/service/bcmdataexports/api_op_UpdateExport.go index 3fda78b25bc..f6aaac9b8f3 100644 --- a/service/bcmdataexports/api_op_UpdateExport.go +++ b/service/bcmdataexports/api_op_UpdateExport.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateExportMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateExportValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmdataexports/snapshot/api_op_CreateExport.go.snap b/service/bcmdataexports/snapshot/api_op_CreateExport.go.snap index b63e4ceda82..39d6a3ea6dc 100644 --- a/service/bcmdataexports/snapshot/api_op_CreateExport.go.snap +++ b/service/bcmdataexports/snapshot/api_op_CreateExport.go.snap @@ -14,7 +14,6 @@ CreateExport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmdataexports/snapshot/api_op_DeleteExport.go.snap b/service/bcmdataexports/snapshot/api_op_DeleteExport.go.snap index fcf195f2461..7625b46ee8f 100644 --- a/service/bcmdataexports/snapshot/api_op_DeleteExport.go.snap +++ b/service/bcmdataexports/snapshot/api_op_DeleteExport.go.snap @@ -14,7 +14,6 @@ DeleteExport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmdataexports/snapshot/api_op_GetExecution.go.snap b/service/bcmdataexports/snapshot/api_op_GetExecution.go.snap index eb8dad98331..cdf7be03b05 100644 --- a/service/bcmdataexports/snapshot/api_op_GetExecution.go.snap +++ b/service/bcmdataexports/snapshot/api_op_GetExecution.go.snap @@ -14,7 +14,6 @@ GetExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmdataexports/snapshot/api_op_GetExport.go.snap b/service/bcmdataexports/snapshot/api_op_GetExport.go.snap index 067e684ae0b..c16b988449c 100644 --- a/service/bcmdataexports/snapshot/api_op_GetExport.go.snap +++ b/service/bcmdataexports/snapshot/api_op_GetExport.go.snap @@ -14,7 +14,6 @@ GetExport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmdataexports/snapshot/api_op_GetTable.go.snap b/service/bcmdataexports/snapshot/api_op_GetTable.go.snap index 5566367ab4e..af9c480381f 100644 --- a/service/bcmdataexports/snapshot/api_op_GetTable.go.snap +++ b/service/bcmdataexports/snapshot/api_op_GetTable.go.snap @@ -14,7 +14,6 @@ GetTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmdataexports/snapshot/api_op_ListExecutions.go.snap b/service/bcmdataexports/snapshot/api_op_ListExecutions.go.snap index cea1e63c399..bf1c6a17e97 100644 --- a/service/bcmdataexports/snapshot/api_op_ListExecutions.go.snap +++ b/service/bcmdataexports/snapshot/api_op_ListExecutions.go.snap @@ -14,7 +14,6 @@ ListExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmdataexports/snapshot/api_op_ListExports.go.snap b/service/bcmdataexports/snapshot/api_op_ListExports.go.snap index 711d1eed083..40d43cc0824 100644 --- a/service/bcmdataexports/snapshot/api_op_ListExports.go.snap +++ b/service/bcmdataexports/snapshot/api_op_ListExports.go.snap @@ -13,7 +13,6 @@ ListExports Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmdataexports/snapshot/api_op_ListTables.go.snap b/service/bcmdataexports/snapshot/api_op_ListTables.go.snap index 11b08fd2255..b870647673c 100644 --- a/service/bcmdataexports/snapshot/api_op_ListTables.go.snap +++ b/service/bcmdataexports/snapshot/api_op_ListTables.go.snap @@ -13,7 +13,6 @@ ListTables Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmdataexports/snapshot/api_op_ListTagsForResource.go.snap b/service/bcmdataexports/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/bcmdataexports/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/bcmdataexports/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmdataexports/snapshot/api_op_TagResource.go.snap b/service/bcmdataexports/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/bcmdataexports/snapshot/api_op_TagResource.go.snap +++ b/service/bcmdataexports/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmdataexports/snapshot/api_op_UntagResource.go.snap b/service/bcmdataexports/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/bcmdataexports/snapshot/api_op_UntagResource.go.snap +++ b/service/bcmdataexports/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmdataexports/snapshot/api_op_UpdateExport.go.snap b/service/bcmdataexports/snapshot/api_op_UpdateExport.go.snap index b05752ca879..be409216bcb 100644 --- a/service/bcmdataexports/snapshot/api_op_UpdateExport.go.snap +++ b/service/bcmdataexports/snapshot/api_op_UpdateExport.go.snap @@ -14,7 +14,6 @@ UpdateExport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/api_client.go b/service/bcmpricingcalculator/api_client.go index 8cfe7a51bb1..b3d6f003eed 100644 --- a/service/bcmpricingcalculator/api_client.go +++ b/service/bcmpricingcalculator/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/bcmpricingcalculator/api_op_BatchCreateBillScenarioCommitmentModification.go b/service/bcmpricingcalculator/api_op_BatchCreateBillScenarioCommitmentModification.go index 9f7dfb50fff..a27beb4614c 100644 --- a/service/bcmpricingcalculator/api_op_BatchCreateBillScenarioCommitmentModification.go +++ b/service/bcmpricingcalculator/api_op_BatchCreateBillScenarioCommitmentModification.go @@ -134,9 +134,6 @@ func (c *Client) addOperationBatchCreateBillScenarioCommitmentModificationMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opBatchCreateBillScenarioCommitmentModificationMiddleware(stack, options); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_BatchCreateBillScenarioUsageModification.go b/service/bcmpricingcalculator/api_op_BatchCreateBillScenarioUsageModification.go index f1adf2cb5ca..bf80bd501e1 100644 --- a/service/bcmpricingcalculator/api_op_BatchCreateBillScenarioUsageModification.go +++ b/service/bcmpricingcalculator/api_op_BatchCreateBillScenarioUsageModification.go @@ -133,9 +133,6 @@ func (c *Client) addOperationBatchCreateBillScenarioUsageModificationMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opBatchCreateBillScenarioUsageModificationMiddleware(stack, options); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_BatchCreateWorkloadEstimateUsage.go b/service/bcmpricingcalculator/api_op_BatchCreateWorkloadEstimateUsage.go index 5d358e7485c..997d4bd8f5c 100644 --- a/service/bcmpricingcalculator/api_op_BatchCreateWorkloadEstimateUsage.go +++ b/service/bcmpricingcalculator/api_op_BatchCreateWorkloadEstimateUsage.go @@ -134,9 +134,6 @@ func (c *Client) addOperationBatchCreateWorkloadEstimateUsageMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opBatchCreateWorkloadEstimateUsageMiddleware(stack, options); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_BatchDeleteBillScenarioCommitmentModification.go b/service/bcmpricingcalculator/api_op_BatchDeleteBillScenarioCommitmentModification.go index ca9eb1b0c65..b1408d9c2dc 100644 --- a/service/bcmpricingcalculator/api_op_BatchDeleteBillScenarioCommitmentModification.go +++ b/service/bcmpricingcalculator/api_op_BatchDeleteBillScenarioCommitmentModification.go @@ -131,9 +131,6 @@ func (c *Client) addOperationBatchDeleteBillScenarioCommitmentModificationMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDeleteBillScenarioCommitmentModificationValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_BatchDeleteBillScenarioUsageModification.go b/service/bcmpricingcalculator/api_op_BatchDeleteBillScenarioUsageModification.go index 3c8c254b56c..cd983e63ece 100644 --- a/service/bcmpricingcalculator/api_op_BatchDeleteBillScenarioUsageModification.go +++ b/service/bcmpricingcalculator/api_op_BatchDeleteBillScenarioUsageModification.go @@ -128,9 +128,6 @@ func (c *Client) addOperationBatchDeleteBillScenarioUsageModificationMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDeleteBillScenarioUsageModificationValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_BatchDeleteWorkloadEstimateUsage.go b/service/bcmpricingcalculator/api_op_BatchDeleteWorkloadEstimateUsage.go index f9517e5b326..d14642b5028 100644 --- a/service/bcmpricingcalculator/api_op_BatchDeleteWorkloadEstimateUsage.go +++ b/service/bcmpricingcalculator/api_op_BatchDeleteWorkloadEstimateUsage.go @@ -129,9 +129,6 @@ func (c *Client) addOperationBatchDeleteWorkloadEstimateUsageMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDeleteWorkloadEstimateUsageValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_BatchUpdateBillScenarioCommitmentModification.go b/service/bcmpricingcalculator/api_op_BatchUpdateBillScenarioCommitmentModification.go index b3250c93838..0c59ee1fa8e 100644 --- a/service/bcmpricingcalculator/api_op_BatchUpdateBillScenarioCommitmentModification.go +++ b/service/bcmpricingcalculator/api_op_BatchUpdateBillScenarioCommitmentModification.go @@ -130,9 +130,6 @@ func (c *Client) addOperationBatchUpdateBillScenarioCommitmentModificationMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchUpdateBillScenarioCommitmentModificationValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_BatchUpdateBillScenarioUsageModification.go b/service/bcmpricingcalculator/api_op_BatchUpdateBillScenarioUsageModification.go index fca82be121e..29f6107a615 100644 --- a/service/bcmpricingcalculator/api_op_BatchUpdateBillScenarioUsageModification.go +++ b/service/bcmpricingcalculator/api_op_BatchUpdateBillScenarioUsageModification.go @@ -130,9 +130,6 @@ func (c *Client) addOperationBatchUpdateBillScenarioUsageModificationMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchUpdateBillScenarioUsageModificationValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_BatchUpdateWorkloadEstimateUsage.go b/service/bcmpricingcalculator/api_op_BatchUpdateWorkloadEstimateUsage.go index ea3c883beb9..5263e6ee076 100644 --- a/service/bcmpricingcalculator/api_op_BatchUpdateWorkloadEstimateUsage.go +++ b/service/bcmpricingcalculator/api_op_BatchUpdateWorkloadEstimateUsage.go @@ -130,9 +130,6 @@ func (c *Client) addOperationBatchUpdateWorkloadEstimateUsageMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchUpdateWorkloadEstimateUsageValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_CreateBillEstimate.go b/service/bcmpricingcalculator/api_op_CreateBillEstimate.go index 2a11534a39e..9b535efe2dd 100644 --- a/service/bcmpricingcalculator/api_op_CreateBillEstimate.go +++ b/service/bcmpricingcalculator/api_op_CreateBillEstimate.go @@ -189,9 +189,6 @@ func (c *Client) addOperationCreateBillEstimateMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateBillEstimateMiddleware(stack, options); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_CreateBillScenario.go b/service/bcmpricingcalculator/api_op_CreateBillScenario.go index bcbd00d30cb..aa0bbe5efa9 100644 --- a/service/bcmpricingcalculator/api_op_CreateBillScenario.go +++ b/service/bcmpricingcalculator/api_op_CreateBillScenario.go @@ -141,9 +141,6 @@ func (c *Client) addOperationCreateBillScenarioMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateBillScenarioMiddleware(stack, options); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_CreateWorkloadEstimate.go b/service/bcmpricingcalculator/api_op_CreateWorkloadEstimate.go index 5ee9de31443..21cee052282 100644 --- a/service/bcmpricingcalculator/api_op_CreateWorkloadEstimate.go +++ b/service/bcmpricingcalculator/api_op_CreateWorkloadEstimate.go @@ -152,9 +152,6 @@ func (c *Client) addOperationCreateWorkloadEstimateMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateWorkloadEstimateMiddleware(stack, options); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_DeleteBillEstimate.go b/service/bcmpricingcalculator/api_op_DeleteBillEstimate.go index f684636ed46..24e7c9afc81 100644 --- a/service/bcmpricingcalculator/api_op_DeleteBillEstimate.go +++ b/service/bcmpricingcalculator/api_op_DeleteBillEstimate.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteBillEstimateMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBillEstimateValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_DeleteBillScenario.go b/service/bcmpricingcalculator/api_op_DeleteBillScenario.go index ad55b9ce297..9c2f6304445 100644 --- a/service/bcmpricingcalculator/api_op_DeleteBillScenario.go +++ b/service/bcmpricingcalculator/api_op_DeleteBillScenario.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteBillScenarioMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBillScenarioValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_DeleteWorkloadEstimate.go b/service/bcmpricingcalculator/api_op_DeleteWorkloadEstimate.go index df2290d17c1..cd4c14a1034 100644 --- a/service/bcmpricingcalculator/api_op_DeleteWorkloadEstimate.go +++ b/service/bcmpricingcalculator/api_op_DeleteWorkloadEstimate.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteWorkloadEstimateMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWorkloadEstimateValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_GetBillEstimate.go b/service/bcmpricingcalculator/api_op_GetBillEstimate.go index aafc3800415..1f8886f09fa 100644 --- a/service/bcmpricingcalculator/api_op_GetBillEstimate.go +++ b/service/bcmpricingcalculator/api_op_GetBillEstimate.go @@ -136,9 +136,6 @@ func (c *Client) addOperationGetBillEstimateMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBillEstimateValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_GetBillScenario.go b/service/bcmpricingcalculator/api_op_GetBillScenario.go index 292bf66493a..0d929ea11a6 100644 --- a/service/bcmpricingcalculator/api_op_GetBillScenario.go +++ b/service/bcmpricingcalculator/api_op_GetBillScenario.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetBillScenarioMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBillScenarioValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_GetPreferences.go b/service/bcmpricingcalculator/api_op_GetPreferences.go index 363e1c8408b..0502096fad4 100644 --- a/service/bcmpricingcalculator/api_op_GetPreferences.go +++ b/service/bcmpricingcalculator/api_op_GetPreferences.go @@ -111,9 +111,6 @@ func (c *Client) addOperationGetPreferencesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPreferences(options.Region), middleware.Before); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_GetWorkloadEstimate.go b/service/bcmpricingcalculator/api_op_GetWorkloadEstimate.go index 8ead5b77092..fba0116b145 100644 --- a/service/bcmpricingcalculator/api_op_GetWorkloadEstimate.go +++ b/service/bcmpricingcalculator/api_op_GetWorkloadEstimate.go @@ -143,9 +143,6 @@ func (c *Client) addOperationGetWorkloadEstimateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWorkloadEstimateValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_ListBillEstimateCommitments.go b/service/bcmpricingcalculator/api_op_ListBillEstimateCommitments.go index 8857efecb9d..8a85849894a 100644 --- a/service/bcmpricingcalculator/api_op_ListBillEstimateCommitments.go +++ b/service/bcmpricingcalculator/api_op_ListBillEstimateCommitments.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListBillEstimateCommitmentsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBillEstimateCommitmentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_ListBillEstimateInputCommitmentModifications.go b/service/bcmpricingcalculator/api_op_ListBillEstimateInputCommitmentModifications.go index ff70fba6066..64fd5cd88ff 100644 --- a/service/bcmpricingcalculator/api_op_ListBillEstimateInputCommitmentModifications.go +++ b/service/bcmpricingcalculator/api_op_ListBillEstimateInputCommitmentModifications.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListBillEstimateInputCommitmentModificationsMiddlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBillEstimateInputCommitmentModificationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_ListBillEstimateInputUsageModifications.go b/service/bcmpricingcalculator/api_op_ListBillEstimateInputUsageModifications.go index 1916232f451..d1b97215203 100644 --- a/service/bcmpricingcalculator/api_op_ListBillEstimateInputUsageModifications.go +++ b/service/bcmpricingcalculator/api_op_ListBillEstimateInputUsageModifications.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListBillEstimateInputUsageModificationsMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBillEstimateInputUsageModificationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_ListBillEstimateLineItems.go b/service/bcmpricingcalculator/api_op_ListBillEstimateLineItems.go index 271c98c5eb2..5d12b7bc331 100644 --- a/service/bcmpricingcalculator/api_op_ListBillEstimateLineItems.go +++ b/service/bcmpricingcalculator/api_op_ListBillEstimateLineItems.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListBillEstimateLineItemsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBillEstimateLineItemsValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_ListBillEstimates.go b/service/bcmpricingcalculator/api_op_ListBillEstimates.go index d7e4f3c6fed..7e033e0a245 100644 --- a/service/bcmpricingcalculator/api_op_ListBillEstimates.go +++ b/service/bcmpricingcalculator/api_op_ListBillEstimates.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListBillEstimatesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBillEstimatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_ListBillScenarioCommitmentModifications.go b/service/bcmpricingcalculator/api_op_ListBillScenarioCommitmentModifications.go index 635c80478c8..c9a13afe950 100644 --- a/service/bcmpricingcalculator/api_op_ListBillScenarioCommitmentModifications.go +++ b/service/bcmpricingcalculator/api_op_ListBillScenarioCommitmentModifications.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListBillScenarioCommitmentModificationsMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBillScenarioCommitmentModificationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_ListBillScenarioUsageModifications.go b/service/bcmpricingcalculator/api_op_ListBillScenarioUsageModifications.go index 2ecdd8a6062..bdb93e77e14 100644 --- a/service/bcmpricingcalculator/api_op_ListBillScenarioUsageModifications.go +++ b/service/bcmpricingcalculator/api_op_ListBillScenarioUsageModifications.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListBillScenarioUsageModificationsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBillScenarioUsageModificationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_ListBillScenarios.go b/service/bcmpricingcalculator/api_op_ListBillScenarios.go index 45c9cd4d7a8..5674f9ccba1 100644 --- a/service/bcmpricingcalculator/api_op_ListBillScenarios.go +++ b/service/bcmpricingcalculator/api_op_ListBillScenarios.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListBillScenariosMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBillScenariosValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_ListTagsForResource.go b/service/bcmpricingcalculator/api_op_ListTagsForResource.go index 069e33596e3..c8317a83b5a 100644 --- a/service/bcmpricingcalculator/api_op_ListTagsForResource.go +++ b/service/bcmpricingcalculator/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_ListWorkloadEstimateUsage.go b/service/bcmpricingcalculator/api_op_ListWorkloadEstimateUsage.go index 019b6e1b5b7..abb3244c8f2 100644 --- a/service/bcmpricingcalculator/api_op_ListWorkloadEstimateUsage.go +++ b/service/bcmpricingcalculator/api_op_ListWorkloadEstimateUsage.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListWorkloadEstimateUsageMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListWorkloadEstimateUsageValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_ListWorkloadEstimates.go b/service/bcmpricingcalculator/api_op_ListWorkloadEstimates.go index 9b721581323..430eabea05b 100644 --- a/service/bcmpricingcalculator/api_op_ListWorkloadEstimates.go +++ b/service/bcmpricingcalculator/api_op_ListWorkloadEstimates.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListWorkloadEstimatesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListWorkloadEstimatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_TagResource.go b/service/bcmpricingcalculator/api_op_TagResource.go index d9dd5a14108..5cae986cfec 100644 --- a/service/bcmpricingcalculator/api_op_TagResource.go +++ b/service/bcmpricingcalculator/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_UntagResource.go b/service/bcmpricingcalculator/api_op_UntagResource.go index c3f9b7d112e..51339806d42 100644 --- a/service/bcmpricingcalculator/api_op_UntagResource.go +++ b/service/bcmpricingcalculator/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_UpdateBillEstimate.go b/service/bcmpricingcalculator/api_op_UpdateBillEstimate.go index 6706ae4fc52..08819b8f384 100644 --- a/service/bcmpricingcalculator/api_op_UpdateBillEstimate.go +++ b/service/bcmpricingcalculator/api_op_UpdateBillEstimate.go @@ -142,9 +142,6 @@ func (c *Client) addOperationUpdateBillEstimateMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBillEstimateValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_UpdateBillScenario.go b/service/bcmpricingcalculator/api_op_UpdateBillScenario.go index b148c311157..41563b05e77 100644 --- a/service/bcmpricingcalculator/api_op_UpdateBillScenario.go +++ b/service/bcmpricingcalculator/api_op_UpdateBillScenario.go @@ -139,9 +139,6 @@ func (c *Client) addOperationUpdateBillScenarioMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBillScenarioValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_UpdatePreferences.go b/service/bcmpricingcalculator/api_op_UpdatePreferences.go index 34ae3e8c537..ab62cffc11c 100644 --- a/service/bcmpricingcalculator/api_op_UpdatePreferences.go +++ b/service/bcmpricingcalculator/api_op_UpdatePreferences.go @@ -116,9 +116,6 @@ func (c *Client) addOperationUpdatePreferencesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePreferences(options.Region), middleware.Before); err != nil { return err } diff --git a/service/bcmpricingcalculator/api_op_UpdateWorkloadEstimate.go b/service/bcmpricingcalculator/api_op_UpdateWorkloadEstimate.go index b056af786bf..25328ac2a84 100644 --- a/service/bcmpricingcalculator/api_op_UpdateWorkloadEstimate.go +++ b/service/bcmpricingcalculator/api_op_UpdateWorkloadEstimate.go @@ -149,9 +149,6 @@ func (c *Client) addOperationUpdateWorkloadEstimateMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateWorkloadEstimateValidationMiddleware(stack); err != nil { return err } diff --git a/service/bcmpricingcalculator/snapshot/api_op_BatchCreateBillScenarioCommitmentModification.go.snap b/service/bcmpricingcalculator/snapshot/api_op_BatchCreateBillScenarioCommitmentModification.go.snap index 789c48e224d..721b42ef5d4 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_BatchCreateBillScenarioCommitmentModification.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_BatchCreateBillScenarioCommitmentModification.go.snap @@ -15,7 +15,6 @@ BatchCreateBillScenarioCommitmentModification Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_BatchCreateBillScenarioUsageModification.go.snap b/service/bcmpricingcalculator/snapshot/api_op_BatchCreateBillScenarioUsageModification.go.snap index 47224fc5c93..c85eb9c89a4 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_BatchCreateBillScenarioUsageModification.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_BatchCreateBillScenarioUsageModification.go.snap @@ -15,7 +15,6 @@ BatchCreateBillScenarioUsageModification Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_BatchCreateWorkloadEstimateUsage.go.snap b/service/bcmpricingcalculator/snapshot/api_op_BatchCreateWorkloadEstimateUsage.go.snap index 1a39ca3e1b3..c0f1c447152 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_BatchCreateWorkloadEstimateUsage.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_BatchCreateWorkloadEstimateUsage.go.snap @@ -15,7 +15,6 @@ BatchCreateWorkloadEstimateUsage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_BatchDeleteBillScenarioCommitmentModification.go.snap b/service/bcmpricingcalculator/snapshot/api_op_BatchDeleteBillScenarioCommitmentModification.go.snap index 747774337cf..ef1ed4b76c7 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_BatchDeleteBillScenarioCommitmentModification.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_BatchDeleteBillScenarioCommitmentModification.go.snap @@ -14,7 +14,6 @@ BatchDeleteBillScenarioCommitmentModification Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_BatchDeleteBillScenarioUsageModification.go.snap b/service/bcmpricingcalculator/snapshot/api_op_BatchDeleteBillScenarioUsageModification.go.snap index 72f825a9186..6ca13994684 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_BatchDeleteBillScenarioUsageModification.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_BatchDeleteBillScenarioUsageModification.go.snap @@ -14,7 +14,6 @@ BatchDeleteBillScenarioUsageModification Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_BatchDeleteWorkloadEstimateUsage.go.snap b/service/bcmpricingcalculator/snapshot/api_op_BatchDeleteWorkloadEstimateUsage.go.snap index ae77ea7cbc3..aa2bfa1417e 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_BatchDeleteWorkloadEstimateUsage.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_BatchDeleteWorkloadEstimateUsage.go.snap @@ -14,7 +14,6 @@ BatchDeleteWorkloadEstimateUsage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_BatchUpdateBillScenarioCommitmentModification.go.snap b/service/bcmpricingcalculator/snapshot/api_op_BatchUpdateBillScenarioCommitmentModification.go.snap index 753bf533a0f..f3c073ebd2b 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_BatchUpdateBillScenarioCommitmentModification.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_BatchUpdateBillScenarioCommitmentModification.go.snap @@ -14,7 +14,6 @@ BatchUpdateBillScenarioCommitmentModification Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_BatchUpdateBillScenarioUsageModification.go.snap b/service/bcmpricingcalculator/snapshot/api_op_BatchUpdateBillScenarioUsageModification.go.snap index ca18c012fb2..a6209c31c65 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_BatchUpdateBillScenarioUsageModification.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_BatchUpdateBillScenarioUsageModification.go.snap @@ -14,7 +14,6 @@ BatchUpdateBillScenarioUsageModification Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_BatchUpdateWorkloadEstimateUsage.go.snap b/service/bcmpricingcalculator/snapshot/api_op_BatchUpdateWorkloadEstimateUsage.go.snap index 3fe64f06119..c73cd593b32 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_BatchUpdateWorkloadEstimateUsage.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_BatchUpdateWorkloadEstimateUsage.go.snap @@ -14,7 +14,6 @@ BatchUpdateWorkloadEstimateUsage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_CreateBillEstimate.go.snap b/service/bcmpricingcalculator/snapshot/api_op_CreateBillEstimate.go.snap index a1ee169fe52..b4e97e1c5ad 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_CreateBillEstimate.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_CreateBillEstimate.go.snap @@ -15,7 +15,6 @@ CreateBillEstimate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_CreateBillScenario.go.snap b/service/bcmpricingcalculator/snapshot/api_op_CreateBillScenario.go.snap index aadd9c8d470..07799ac282a 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_CreateBillScenario.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_CreateBillScenario.go.snap @@ -15,7 +15,6 @@ CreateBillScenario Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_CreateWorkloadEstimate.go.snap b/service/bcmpricingcalculator/snapshot/api_op_CreateWorkloadEstimate.go.snap index b66e8689083..eb6749a4785 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_CreateWorkloadEstimate.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_CreateWorkloadEstimate.go.snap @@ -15,7 +15,6 @@ CreateWorkloadEstimate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_DeleteBillEstimate.go.snap b/service/bcmpricingcalculator/snapshot/api_op_DeleteBillEstimate.go.snap index 67a965ca450..573910eb30a 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_DeleteBillEstimate.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_DeleteBillEstimate.go.snap @@ -14,7 +14,6 @@ DeleteBillEstimate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_DeleteBillScenario.go.snap b/service/bcmpricingcalculator/snapshot/api_op_DeleteBillScenario.go.snap index bb617d522f1..61d7da54ce2 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_DeleteBillScenario.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_DeleteBillScenario.go.snap @@ -14,7 +14,6 @@ DeleteBillScenario Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_DeleteWorkloadEstimate.go.snap b/service/bcmpricingcalculator/snapshot/api_op_DeleteWorkloadEstimate.go.snap index 6d308fc0041..707baa4452d 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_DeleteWorkloadEstimate.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_DeleteWorkloadEstimate.go.snap @@ -14,7 +14,6 @@ DeleteWorkloadEstimate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_GetBillEstimate.go.snap b/service/bcmpricingcalculator/snapshot/api_op_GetBillEstimate.go.snap index e2d0d10487a..342a6fcf7bc 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_GetBillEstimate.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_GetBillEstimate.go.snap @@ -14,7 +14,6 @@ GetBillEstimate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_GetBillScenario.go.snap b/service/bcmpricingcalculator/snapshot/api_op_GetBillScenario.go.snap index ed7f2a8839b..3e2bc0ebc8b 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_GetBillScenario.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_GetBillScenario.go.snap @@ -14,7 +14,6 @@ GetBillScenario Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_GetPreferences.go.snap b/service/bcmpricingcalculator/snapshot/api_op_GetPreferences.go.snap index 9c7db8ef978..f14aed5df6e 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_GetPreferences.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_GetPreferences.go.snap @@ -13,7 +13,6 @@ GetPreferences Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_GetWorkloadEstimate.go.snap b/service/bcmpricingcalculator/snapshot/api_op_GetWorkloadEstimate.go.snap index 3ccc9b0cbd6..1f8f4867aa3 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_GetWorkloadEstimate.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_GetWorkloadEstimate.go.snap @@ -14,7 +14,6 @@ GetWorkloadEstimate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_ListBillEstimateCommitments.go.snap b/service/bcmpricingcalculator/snapshot/api_op_ListBillEstimateCommitments.go.snap index e39078f5edc..1b79b4b12d6 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_ListBillEstimateCommitments.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_ListBillEstimateCommitments.go.snap @@ -14,7 +14,6 @@ ListBillEstimateCommitments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_ListBillEstimateInputCommitmentModifications.go.snap b/service/bcmpricingcalculator/snapshot/api_op_ListBillEstimateInputCommitmentModifications.go.snap index 884240531c0..9603c921012 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_ListBillEstimateInputCommitmentModifications.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_ListBillEstimateInputCommitmentModifications.go.snap @@ -14,7 +14,6 @@ ListBillEstimateInputCommitmentModifications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_ListBillEstimateInputUsageModifications.go.snap b/service/bcmpricingcalculator/snapshot/api_op_ListBillEstimateInputUsageModifications.go.snap index ba05fa23713..1f780c05913 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_ListBillEstimateInputUsageModifications.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_ListBillEstimateInputUsageModifications.go.snap @@ -14,7 +14,6 @@ ListBillEstimateInputUsageModifications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_ListBillEstimateLineItems.go.snap b/service/bcmpricingcalculator/snapshot/api_op_ListBillEstimateLineItems.go.snap index 0f0bf795da6..d78a351edd2 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_ListBillEstimateLineItems.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_ListBillEstimateLineItems.go.snap @@ -14,7 +14,6 @@ ListBillEstimateLineItems Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_ListBillEstimates.go.snap b/service/bcmpricingcalculator/snapshot/api_op_ListBillEstimates.go.snap index 974b111de73..17a68fcea74 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_ListBillEstimates.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_ListBillEstimates.go.snap @@ -14,7 +14,6 @@ ListBillEstimates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_ListBillScenarioCommitmentModifications.go.snap b/service/bcmpricingcalculator/snapshot/api_op_ListBillScenarioCommitmentModifications.go.snap index 0b3f471cfce..0a5b04c80d4 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_ListBillScenarioCommitmentModifications.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_ListBillScenarioCommitmentModifications.go.snap @@ -14,7 +14,6 @@ ListBillScenarioCommitmentModifications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_ListBillScenarioUsageModifications.go.snap b/service/bcmpricingcalculator/snapshot/api_op_ListBillScenarioUsageModifications.go.snap index 7138ab6212b..099bb549cd7 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_ListBillScenarioUsageModifications.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_ListBillScenarioUsageModifications.go.snap @@ -14,7 +14,6 @@ ListBillScenarioUsageModifications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_ListBillScenarios.go.snap b/service/bcmpricingcalculator/snapshot/api_op_ListBillScenarios.go.snap index 28b35423e65..2523ef2c872 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_ListBillScenarios.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_ListBillScenarios.go.snap @@ -14,7 +14,6 @@ ListBillScenarios Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_ListTagsForResource.go.snap b/service/bcmpricingcalculator/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_ListWorkloadEstimateUsage.go.snap b/service/bcmpricingcalculator/snapshot/api_op_ListWorkloadEstimateUsage.go.snap index 8029b8556ab..950f73cb8af 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_ListWorkloadEstimateUsage.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_ListWorkloadEstimateUsage.go.snap @@ -14,7 +14,6 @@ ListWorkloadEstimateUsage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_ListWorkloadEstimates.go.snap b/service/bcmpricingcalculator/snapshot/api_op_ListWorkloadEstimates.go.snap index 0b74d34b384..51afb9995c0 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_ListWorkloadEstimates.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_ListWorkloadEstimates.go.snap @@ -14,7 +14,6 @@ ListWorkloadEstimates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_TagResource.go.snap b/service/bcmpricingcalculator/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_TagResource.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_UntagResource.go.snap b/service/bcmpricingcalculator/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_UntagResource.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_UpdateBillEstimate.go.snap b/service/bcmpricingcalculator/snapshot/api_op_UpdateBillEstimate.go.snap index 7cb1ecf0040..ddf3c5a41d3 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_UpdateBillEstimate.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_UpdateBillEstimate.go.snap @@ -14,7 +14,6 @@ UpdateBillEstimate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_UpdateBillScenario.go.snap b/service/bcmpricingcalculator/snapshot/api_op_UpdateBillScenario.go.snap index b97e2676c53..fa7e5857352 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_UpdateBillScenario.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_UpdateBillScenario.go.snap @@ -14,7 +14,6 @@ UpdateBillScenario Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_UpdatePreferences.go.snap b/service/bcmpricingcalculator/snapshot/api_op_UpdatePreferences.go.snap index 979fab4328c..f4f358ea0e2 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_UpdatePreferences.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_UpdatePreferences.go.snap @@ -13,7 +13,6 @@ UpdatePreferences Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bcmpricingcalculator/snapshot/api_op_UpdateWorkloadEstimate.go.snap b/service/bcmpricingcalculator/snapshot/api_op_UpdateWorkloadEstimate.go.snap index f1172a4a968..126ec2723de 100644 --- a/service/bcmpricingcalculator/snapshot/api_op_UpdateWorkloadEstimate.go.snap +++ b/service/bcmpricingcalculator/snapshot/api_op_UpdateWorkloadEstimate.go.snap @@ -14,7 +14,6 @@ UpdateWorkloadEstimate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/api_client.go b/service/bedrock/api_client.go index 235784ccf61..d46d9278d43 100644 --- a/service/bedrock/api_client.go +++ b/service/bedrock/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/bedrock/api_op_BatchDeleteEvaluationJob.go b/service/bedrock/api_op_BatchDeleteEvaluationJob.go index 010b7d0651d..02b054c816a 100644 --- a/service/bedrock/api_op_BatchDeleteEvaluationJob.go +++ b/service/bedrock/api_op_BatchDeleteEvaluationJob.go @@ -123,9 +123,6 @@ func (c *Client) addOperationBatchDeleteEvaluationJobMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDeleteEvaluationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrock/api_op_CreateEvaluationJob.go b/service/bedrock/api_op_CreateEvaluationJob.go index fdbcdc32617..b0ec5b1abed 100644 --- a/service/bedrock/api_op_CreateEvaluationJob.go +++ b/service/bedrock/api_op_CreateEvaluationJob.go @@ -168,9 +168,6 @@ func (c *Client) addOperationCreateEvaluationJobMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateEvaluationJobMiddleware(stack, options); err != nil { return err } diff --git a/service/bedrock/api_op_CreateGuardrail.go b/service/bedrock/api_op_CreateGuardrail.go index 134c2b3fabe..e79c946bcd2 100644 --- a/service/bedrock/api_op_CreateGuardrail.go +++ b/service/bedrock/api_op_CreateGuardrail.go @@ -199,9 +199,6 @@ func (c *Client) addOperationCreateGuardrailMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateGuardrailMiddleware(stack, options); err != nil { return err } diff --git a/service/bedrock/api_op_CreateGuardrailVersion.go b/service/bedrock/api_op_CreateGuardrailVersion.go index 75b88ee8b51..02f3b7b149d 100644 --- a/service/bedrock/api_op_CreateGuardrailVersion.go +++ b/service/bedrock/api_op_CreateGuardrailVersion.go @@ -131,9 +131,6 @@ func (c *Client) addOperationCreateGuardrailVersionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateGuardrailVersionMiddleware(stack, options); err != nil { return err } diff --git a/service/bedrock/api_op_CreateInferenceProfile.go b/service/bedrock/api_op_CreateInferenceProfile.go index a0fb9feb916..609d393f199 100644 --- a/service/bedrock/api_op_CreateInferenceProfile.go +++ b/service/bedrock/api_op_CreateInferenceProfile.go @@ -149,9 +149,6 @@ func (c *Client) addOperationCreateInferenceProfileMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateInferenceProfileMiddleware(stack, options); err != nil { return err } diff --git a/service/bedrock/api_op_CreateMarketplaceModelEndpoint.go b/service/bedrock/api_op_CreateMarketplaceModelEndpoint.go index 9d35348b8cd..70841357476 100644 --- a/service/bedrock/api_op_CreateMarketplaceModelEndpoint.go +++ b/service/bedrock/api_op_CreateMarketplaceModelEndpoint.go @@ -144,9 +144,6 @@ func (c *Client) addOperationCreateMarketplaceModelEndpointMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateMarketplaceModelEndpointMiddleware(stack, options); err != nil { return err } diff --git a/service/bedrock/api_op_CreateModelCopyJob.go b/service/bedrock/api_op_CreateModelCopyJob.go index e3b7d473b41..4eb4e6d3183 100644 --- a/service/bedrock/api_op_CreateModelCopyJob.go +++ b/service/bedrock/api_op_CreateModelCopyJob.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateModelCopyJobMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateModelCopyJobMiddleware(stack, options); err != nil { return err } diff --git a/service/bedrock/api_op_CreateModelCustomizationJob.go b/service/bedrock/api_op_CreateModelCustomizationJob.go index 0bab41467bb..673b7f35a05 100644 --- a/service/bedrock/api_op_CreateModelCustomizationJob.go +++ b/service/bedrock/api_op_CreateModelCustomizationJob.go @@ -197,9 +197,6 @@ func (c *Client) addOperationCreateModelCustomizationJobMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateModelCustomizationJobMiddleware(stack, options); err != nil { return err } diff --git a/service/bedrock/api_op_CreateModelImportJob.go b/service/bedrock/api_op_CreateModelImportJob.go index 99fedb91279..32cdf1728dc 100644 --- a/service/bedrock/api_op_CreateModelImportJob.go +++ b/service/bedrock/api_op_CreateModelImportJob.go @@ -152,9 +152,6 @@ func (c *Client) addOperationCreateModelImportJobMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateModelImportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrock/api_op_CreateModelInvocationJob.go b/service/bedrock/api_op_CreateModelInvocationJob.go index ffb18972f5d..a85f553eb6e 100644 --- a/service/bedrock/api_op_CreateModelInvocationJob.go +++ b/service/bedrock/api_op_CreateModelInvocationJob.go @@ -168,9 +168,6 @@ func (c *Client) addOperationCreateModelInvocationJobMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateModelInvocationJobMiddleware(stack, options); err != nil { return err } diff --git a/service/bedrock/api_op_CreateProvisionedModelThroughput.go b/service/bedrock/api_op_CreateProvisionedModelThroughput.go index 18841462a07..5b1cffd39f9 100644 --- a/service/bedrock/api_op_CreateProvisionedModelThroughput.go +++ b/service/bedrock/api_op_CreateProvisionedModelThroughput.go @@ -171,9 +171,6 @@ func (c *Client) addOperationCreateProvisionedModelThroughputMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateProvisionedModelThroughputMiddleware(stack, options); err != nil { return err } diff --git a/service/bedrock/api_op_DeleteCustomModel.go b/service/bedrock/api_op_DeleteCustomModel.go index 1f782143f35..82c4f27d521 100644 --- a/service/bedrock/api_op_DeleteCustomModel.go +++ b/service/bedrock/api_op_DeleteCustomModel.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteCustomModelMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCustomModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrock/api_op_DeleteGuardrail.go b/service/bedrock/api_op_DeleteGuardrail.go index 2a34e2df622..db8464b2624 100644 --- a/service/bedrock/api_op_DeleteGuardrail.go +++ b/service/bedrock/api_op_DeleteGuardrail.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteGuardrailMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGuardrailValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrock/api_op_DeleteImportedModel.go b/service/bedrock/api_op_DeleteImportedModel.go index f2b36de1d96..5e003443ec3 100644 --- a/service/bedrock/api_op_DeleteImportedModel.go +++ b/service/bedrock/api_op_DeleteImportedModel.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteImportedModelMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteImportedModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrock/api_op_DeleteInferenceProfile.go b/service/bedrock/api_op_DeleteInferenceProfile.go index 0b04caa1a44..cb88965e329 100644 --- a/service/bedrock/api_op_DeleteInferenceProfile.go +++ b/service/bedrock/api_op_DeleteInferenceProfile.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteInferenceProfileMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInferenceProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrock/api_op_DeleteMarketplaceModelEndpoint.go b/service/bedrock/api_op_DeleteMarketplaceModelEndpoint.go index cbb1f607c81..c4dcfdb217f 100644 --- a/service/bedrock/api_op_DeleteMarketplaceModelEndpoint.go +++ b/service/bedrock/api_op_DeleteMarketplaceModelEndpoint.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteMarketplaceModelEndpointMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMarketplaceModelEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrock/api_op_DeleteModelInvocationLoggingConfiguration.go b/service/bedrock/api_op_DeleteModelInvocationLoggingConfiguration.go index 17ac225dfce..64f3b96b603 100644 --- a/service/bedrock/api_op_DeleteModelInvocationLoggingConfiguration.go +++ b/service/bedrock/api_op_DeleteModelInvocationLoggingConfiguration.go @@ -101,9 +101,6 @@ func (c *Client) addOperationDeleteModelInvocationLoggingConfigurationMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteModelInvocationLoggingConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/bedrock/api_op_DeleteProvisionedModelThroughput.go b/service/bedrock/api_op_DeleteProvisionedModelThroughput.go index a2c08055f6e..f8b026cc2e3 100644 --- a/service/bedrock/api_op_DeleteProvisionedModelThroughput.go +++ b/service/bedrock/api_op_DeleteProvisionedModelThroughput.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteProvisionedModelThroughputMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProvisionedModelThroughputValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrock/api_op_DeregisterMarketplaceModelEndpoint.go b/service/bedrock/api_op_DeregisterMarketplaceModelEndpoint.go index 0bb0494f6be..7a4bf096ee8 100644 --- a/service/bedrock/api_op_DeregisterMarketplaceModelEndpoint.go +++ b/service/bedrock/api_op_DeregisterMarketplaceModelEndpoint.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeregisterMarketplaceModelEndpointMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterMarketplaceModelEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrock/api_op_GetCustomModel.go b/service/bedrock/api_op_GetCustomModel.go index e4b4a439dfe..df837b0ee9b 100644 --- a/service/bedrock/api_op_GetCustomModel.go +++ b/service/bedrock/api_op_GetCustomModel.go @@ -176,9 +176,6 @@ func (c *Client) addOperationGetCustomModelMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCustomModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrock/api_op_GetEvaluationJob.go b/service/bedrock/api_op_GetEvaluationJob.go index 36aa3f8dc57..f7d99fadf21 100644 --- a/service/bedrock/api_op_GetEvaluationJob.go +++ b/service/bedrock/api_op_GetEvaluationJob.go @@ -177,9 +177,6 @@ func (c *Client) addOperationGetEvaluationJobMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEvaluationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrock/api_op_GetFoundationModel.go b/service/bedrock/api_op_GetFoundationModel.go index e4e126f7f6d..b994ca6175a 100644 --- a/service/bedrock/api_op_GetFoundationModel.go +++ b/service/bedrock/api_op_GetFoundationModel.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetFoundationModelMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFoundationModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrock/api_op_GetGuardrail.go b/service/bedrock/api_op_GetGuardrail.go index 2873583dcaf..f9611fede36 100644 --- a/service/bedrock/api_op_GetGuardrail.go +++ b/service/bedrock/api_op_GetGuardrail.go @@ -190,9 +190,6 @@ func (c *Client) addOperationGetGuardrailMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetGuardrailValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrock/api_op_GetImportedModel.go b/service/bedrock/api_op_GetImportedModel.go index 81a06bf7f77..48330afad91 100644 --- a/service/bedrock/api_op_GetImportedModel.go +++ b/service/bedrock/api_op_GetImportedModel.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGetImportedModelMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetImportedModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrock/api_op_GetInferenceProfile.go b/service/bedrock/api_op_GetInferenceProfile.go index 33bfc558b98..7af098ff924 100644 --- a/service/bedrock/api_op_GetInferenceProfile.go +++ b/service/bedrock/api_op_GetInferenceProfile.go @@ -160,9 +160,6 @@ func (c *Client) addOperationGetInferenceProfileMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInferenceProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrock/api_op_GetMarketplaceModelEndpoint.go b/service/bedrock/api_op_GetMarketplaceModelEndpoint.go index fdd4f020bd5..a350eb69cab 100644 --- a/service/bedrock/api_op_GetMarketplaceModelEndpoint.go +++ b/service/bedrock/api_op_GetMarketplaceModelEndpoint.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetMarketplaceModelEndpointMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMarketplaceModelEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrock/api_op_GetModelCopyJob.go b/service/bedrock/api_op_GetModelCopyJob.go index 38e4434cea7..41bf0a901c8 100644 --- a/service/bedrock/api_op_GetModelCopyJob.go +++ b/service/bedrock/api_op_GetModelCopyJob.go @@ -160,9 +160,6 @@ func (c *Client) addOperationGetModelCopyJobMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetModelCopyJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrock/api_op_GetModelCustomizationJob.go b/service/bedrock/api_op_GetModelCustomizationJob.go index 21285d91d90..bc30ca9e72f 100644 --- a/service/bedrock/api_op_GetModelCustomizationJob.go +++ b/service/bedrock/api_op_GetModelCustomizationJob.go @@ -203,9 +203,6 @@ func (c *Client) addOperationGetModelCustomizationJobMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetModelCustomizationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrock/api_op_GetModelImportJob.go b/service/bedrock/api_op_GetModelImportJob.go index 55d748c2482..fd22ca236ac 100644 --- a/service/bedrock/api_op_GetModelImportJob.go +++ b/service/bedrock/api_op_GetModelImportJob.go @@ -155,9 +155,6 @@ func (c *Client) addOperationGetModelImportJobMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetModelImportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrock/api_op_GetModelInvocationJob.go b/service/bedrock/api_op_GetModelInvocationJob.go index b43e4e4db4b..2560f7afbeb 100644 --- a/service/bedrock/api_op_GetModelInvocationJob.go +++ b/service/bedrock/api_op_GetModelInvocationJob.go @@ -225,9 +225,6 @@ func (c *Client) addOperationGetModelInvocationJobMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetModelInvocationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrock/api_op_GetModelInvocationLoggingConfiguration.go b/service/bedrock/api_op_GetModelInvocationLoggingConfiguration.go index e51682ffdf8..f32839b178e 100644 --- a/service/bedrock/api_op_GetModelInvocationLoggingConfiguration.go +++ b/service/bedrock/api_op_GetModelInvocationLoggingConfiguration.go @@ -106,9 +106,6 @@ func (c *Client) addOperationGetModelInvocationLoggingConfigurationMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetModelInvocationLoggingConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/bedrock/api_op_GetPromptRouter.go b/service/bedrock/api_op_GetPromptRouter.go index df03d1f375f..9c4b688bfb5 100644 --- a/service/bedrock/api_op_GetPromptRouter.go +++ b/service/bedrock/api_op_GetPromptRouter.go @@ -154,9 +154,6 @@ func (c *Client) addOperationGetPromptRouterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPromptRouterValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrock/api_op_GetProvisionedModelThroughput.go b/service/bedrock/api_op_GetProvisionedModelThroughput.go index e1d023330db..678bb1df88b 100644 --- a/service/bedrock/api_op_GetProvisionedModelThroughput.go +++ b/service/bedrock/api_op_GetProvisionedModelThroughput.go @@ -180,9 +180,6 @@ func (c *Client) addOperationGetProvisionedModelThroughputMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetProvisionedModelThroughputValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrock/api_op_ListCustomModels.go b/service/bedrock/api_op_ListCustomModels.go index d3f64597d8e..c905182b514 100644 --- a/service/bedrock/api_op_ListCustomModels.go +++ b/service/bedrock/api_op_ListCustomModels.go @@ -157,9 +157,6 @@ func (c *Client) addOperationListCustomModelsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCustomModels(options.Region), middleware.Before); err != nil { return err } diff --git a/service/bedrock/api_op_ListEvaluationJobs.go b/service/bedrock/api_op_ListEvaluationJobs.go index 8452bdb7646..c8523eb4139 100644 --- a/service/bedrock/api_op_ListEvaluationJobs.go +++ b/service/bedrock/api_op_ListEvaluationJobs.go @@ -144,9 +144,6 @@ func (c *Client) addOperationListEvaluationJobsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEvaluationJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/bedrock/api_op_ListFoundationModels.go b/service/bedrock/api_op_ListFoundationModels.go index 18da02fbffe..a5884418ec8 100644 --- a/service/bedrock/api_op_ListFoundationModels.go +++ b/service/bedrock/api_op_ListFoundationModels.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListFoundationModelsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFoundationModels(options.Region), middleware.Before); err != nil { return err } diff --git a/service/bedrock/api_op_ListGuardrails.go b/service/bedrock/api_op_ListGuardrails.go index a3ce65fcf30..b14600fd7b6 100644 --- a/service/bedrock/api_op_ListGuardrails.go +++ b/service/bedrock/api_op_ListGuardrails.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListGuardrailsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGuardrails(options.Region), middleware.Before); err != nil { return err } diff --git a/service/bedrock/api_op_ListImportedModels.go b/service/bedrock/api_op_ListImportedModels.go index daae15ce430..1aa3d5168aa 100644 --- a/service/bedrock/api_op_ListImportedModels.go +++ b/service/bedrock/api_op_ListImportedModels.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListImportedModelsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImportedModels(options.Region), middleware.Before); err != nil { return err } diff --git a/service/bedrock/api_op_ListInferenceProfiles.go b/service/bedrock/api_op_ListInferenceProfiles.go index d193273554f..5feedc00fa6 100644 --- a/service/bedrock/api_op_ListInferenceProfiles.go +++ b/service/bedrock/api_op_ListInferenceProfiles.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListInferenceProfilesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInferenceProfiles(options.Region), middleware.Before); err != nil { return err } diff --git a/service/bedrock/api_op_ListMarketplaceModelEndpoints.go b/service/bedrock/api_op_ListMarketplaceModelEndpoints.go index e3129136620..7814376d247 100644 --- a/service/bedrock/api_op_ListMarketplaceModelEndpoints.go +++ b/service/bedrock/api_op_ListMarketplaceModelEndpoints.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListMarketplaceModelEndpointsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMarketplaceModelEndpoints(options.Region), middleware.Before); err != nil { return err } diff --git a/service/bedrock/api_op_ListModelCopyJobs.go b/service/bedrock/api_op_ListModelCopyJobs.go index 15b34ee9799..49dca6f1283 100644 --- a/service/bedrock/api_op_ListModelCopyJobs.go +++ b/service/bedrock/api_op_ListModelCopyJobs.go @@ -155,9 +155,6 @@ func (c *Client) addOperationListModelCopyJobsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListModelCopyJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/bedrock/api_op_ListModelCustomizationJobs.go b/service/bedrock/api_op_ListModelCustomizationJobs.go index 9ce2174b627..73c75b7e735 100644 --- a/service/bedrock/api_op_ListModelCustomizationJobs.go +++ b/service/bedrock/api_op_ListModelCustomizationJobs.go @@ -148,9 +148,6 @@ func (c *Client) addOperationListModelCustomizationJobsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListModelCustomizationJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/bedrock/api_op_ListModelImportJobs.go b/service/bedrock/api_op_ListModelImportJobs.go index 250b2e3dd85..210a7c705b4 100644 --- a/service/bedrock/api_op_ListModelImportJobs.go +++ b/service/bedrock/api_op_ListModelImportJobs.go @@ -146,9 +146,6 @@ func (c *Client) addOperationListModelImportJobsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListModelImportJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/bedrock/api_op_ListModelInvocationJobs.go b/service/bedrock/api_op_ListModelInvocationJobs.go index 742bc165dfe..f6adaa2abd9 100644 --- a/service/bedrock/api_op_ListModelInvocationJobs.go +++ b/service/bedrock/api_op_ListModelInvocationJobs.go @@ -191,9 +191,6 @@ func (c *Client) addOperationListModelInvocationJobsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListModelInvocationJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/bedrock/api_op_ListPromptRouters.go b/service/bedrock/api_op_ListPromptRouters.go index ff440b8ffb4..2c99926d737 100644 --- a/service/bedrock/api_op_ListPromptRouters.go +++ b/service/bedrock/api_op_ListPromptRouters.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListPromptRoutersMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPromptRouters(options.Region), middleware.Before); err != nil { return err } diff --git a/service/bedrock/api_op_ListProvisionedModelThroughputs.go b/service/bedrock/api_op_ListProvisionedModelThroughputs.go index d4c8bc26a9d..78f6aede180 100644 --- a/service/bedrock/api_op_ListProvisionedModelThroughputs.go +++ b/service/bedrock/api_op_ListProvisionedModelThroughputs.go @@ -153,9 +153,6 @@ func (c *Client) addOperationListProvisionedModelThroughputsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProvisionedModelThroughputs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/bedrock/api_op_ListTagsForResource.go b/service/bedrock/api_op_ListTagsForResource.go index a645fa43ca1..f54e62ce980 100644 --- a/service/bedrock/api_op_ListTagsForResource.go +++ b/service/bedrock/api_op_ListTagsForResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrock/api_op_PutModelInvocationLoggingConfiguration.go b/service/bedrock/api_op_PutModelInvocationLoggingConfiguration.go index b59ffa9c809..34142f600ac 100644 --- a/service/bedrock/api_op_PutModelInvocationLoggingConfiguration.go +++ b/service/bedrock/api_op_PutModelInvocationLoggingConfiguration.go @@ -108,9 +108,6 @@ func (c *Client) addOperationPutModelInvocationLoggingConfigurationMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutModelInvocationLoggingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrock/api_op_RegisterMarketplaceModelEndpoint.go b/service/bedrock/api_op_RegisterMarketplaceModelEndpoint.go index 873fcd6874e..1703125a780 100644 --- a/service/bedrock/api_op_RegisterMarketplaceModelEndpoint.go +++ b/service/bedrock/api_op_RegisterMarketplaceModelEndpoint.go @@ -122,9 +122,6 @@ func (c *Client) addOperationRegisterMarketplaceModelEndpointMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterMarketplaceModelEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrock/api_op_StopEvaluationJob.go b/service/bedrock/api_op_StopEvaluationJob.go index f82c6a4312f..f6a97630cbd 100644 --- a/service/bedrock/api_op_StopEvaluationJob.go +++ b/service/bedrock/api_op_StopEvaluationJob.go @@ -107,9 +107,6 @@ func (c *Client) addOperationStopEvaluationJobMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopEvaluationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrock/api_op_StopModelCustomizationJob.go b/service/bedrock/api_op_StopModelCustomizationJob.go index b0d2c075d88..1dc57339c01 100644 --- a/service/bedrock/api_op_StopModelCustomizationJob.go +++ b/service/bedrock/api_op_StopModelCustomizationJob.go @@ -110,9 +110,6 @@ func (c *Client) addOperationStopModelCustomizationJobMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopModelCustomizationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrock/api_op_StopModelInvocationJob.go b/service/bedrock/api_op_StopModelInvocationJob.go index 212ac6e7fd5..f7ef0377360 100644 --- a/service/bedrock/api_op_StopModelInvocationJob.go +++ b/service/bedrock/api_op_StopModelInvocationJob.go @@ -110,9 +110,6 @@ func (c *Client) addOperationStopModelInvocationJobMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopModelInvocationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrock/api_op_TagResource.go b/service/bedrock/api_op_TagResource.go index 8abbb0737cd..2c08d5c7350 100644 --- a/service/bedrock/api_op_TagResource.go +++ b/service/bedrock/api_op_TagResource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrock/api_op_UntagResource.go b/service/bedrock/api_op_UntagResource.go index 8ec76eae32d..ff6580fdba4 100644 --- a/service/bedrock/api_op_UntagResource.go +++ b/service/bedrock/api_op_UntagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrock/api_op_UpdateGuardrail.go b/service/bedrock/api_op_UpdateGuardrail.go index 506df9f82dd..4965f4a33a5 100644 --- a/service/bedrock/api_op_UpdateGuardrail.go +++ b/service/bedrock/api_op_UpdateGuardrail.go @@ -198,9 +198,6 @@ func (c *Client) addOperationUpdateGuardrailMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateGuardrailValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrock/api_op_UpdateMarketplaceModelEndpoint.go b/service/bedrock/api_op_UpdateMarketplaceModelEndpoint.go index 1c63d05f037..816e69283f4 100644 --- a/service/bedrock/api_op_UpdateMarketplaceModelEndpoint.go +++ b/service/bedrock/api_op_UpdateMarketplaceModelEndpoint.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateMarketplaceModelEndpointMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateMarketplaceModelEndpointMiddleware(stack, options); err != nil { return err } diff --git a/service/bedrock/api_op_UpdateProvisionedModelThroughput.go b/service/bedrock/api_op_UpdateProvisionedModelThroughput.go index 2347d5df7d5..99a7f6650bd 100644 --- a/service/bedrock/api_op_UpdateProvisionedModelThroughput.go +++ b/service/bedrock/api_op_UpdateProvisionedModelThroughput.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateProvisionedModelThroughputMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateProvisionedModelThroughputValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrock/snapshot/api_op_BatchDeleteEvaluationJob.go.snap b/service/bedrock/snapshot/api_op_BatchDeleteEvaluationJob.go.snap index 2bb82811253..af88185ed88 100644 --- a/service/bedrock/snapshot/api_op_BatchDeleteEvaluationJob.go.snap +++ b/service/bedrock/snapshot/api_op_BatchDeleteEvaluationJob.go.snap @@ -14,7 +14,6 @@ BatchDeleteEvaluationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_CreateEvaluationJob.go.snap b/service/bedrock/snapshot/api_op_CreateEvaluationJob.go.snap index 20decae2d26..0fdfb5ddcf2 100644 --- a/service/bedrock/snapshot/api_op_CreateEvaluationJob.go.snap +++ b/service/bedrock/snapshot/api_op_CreateEvaluationJob.go.snap @@ -15,7 +15,6 @@ CreateEvaluationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_CreateGuardrail.go.snap b/service/bedrock/snapshot/api_op_CreateGuardrail.go.snap index e1e034ac49c..83a6f169235 100644 --- a/service/bedrock/snapshot/api_op_CreateGuardrail.go.snap +++ b/service/bedrock/snapshot/api_op_CreateGuardrail.go.snap @@ -15,7 +15,6 @@ CreateGuardrail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_CreateGuardrailVersion.go.snap b/service/bedrock/snapshot/api_op_CreateGuardrailVersion.go.snap index 24546a9ad32..13be2e5269c 100644 --- a/service/bedrock/snapshot/api_op_CreateGuardrailVersion.go.snap +++ b/service/bedrock/snapshot/api_op_CreateGuardrailVersion.go.snap @@ -15,7 +15,6 @@ CreateGuardrailVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_CreateInferenceProfile.go.snap b/service/bedrock/snapshot/api_op_CreateInferenceProfile.go.snap index 6e1200fc085..581e5cf0298 100644 --- a/service/bedrock/snapshot/api_op_CreateInferenceProfile.go.snap +++ b/service/bedrock/snapshot/api_op_CreateInferenceProfile.go.snap @@ -15,7 +15,6 @@ CreateInferenceProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_CreateMarketplaceModelEndpoint.go.snap b/service/bedrock/snapshot/api_op_CreateMarketplaceModelEndpoint.go.snap index 2eb76d2da41..8d53168b1d0 100644 --- a/service/bedrock/snapshot/api_op_CreateMarketplaceModelEndpoint.go.snap +++ b/service/bedrock/snapshot/api_op_CreateMarketplaceModelEndpoint.go.snap @@ -15,7 +15,6 @@ CreateMarketplaceModelEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_CreateModelCopyJob.go.snap b/service/bedrock/snapshot/api_op_CreateModelCopyJob.go.snap index 92b9e661add..799b6649760 100644 --- a/service/bedrock/snapshot/api_op_CreateModelCopyJob.go.snap +++ b/service/bedrock/snapshot/api_op_CreateModelCopyJob.go.snap @@ -15,7 +15,6 @@ CreateModelCopyJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_CreateModelCustomizationJob.go.snap b/service/bedrock/snapshot/api_op_CreateModelCustomizationJob.go.snap index 16ae7944fa8..e86ee8dcbf5 100644 --- a/service/bedrock/snapshot/api_op_CreateModelCustomizationJob.go.snap +++ b/service/bedrock/snapshot/api_op_CreateModelCustomizationJob.go.snap @@ -15,7 +15,6 @@ CreateModelCustomizationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_CreateModelImportJob.go.snap b/service/bedrock/snapshot/api_op_CreateModelImportJob.go.snap index e58c42863ae..2bc76012bd0 100644 --- a/service/bedrock/snapshot/api_op_CreateModelImportJob.go.snap +++ b/service/bedrock/snapshot/api_op_CreateModelImportJob.go.snap @@ -14,7 +14,6 @@ CreateModelImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_CreateModelInvocationJob.go.snap b/service/bedrock/snapshot/api_op_CreateModelInvocationJob.go.snap index 401ad315a34..c1f162c5302 100644 --- a/service/bedrock/snapshot/api_op_CreateModelInvocationJob.go.snap +++ b/service/bedrock/snapshot/api_op_CreateModelInvocationJob.go.snap @@ -15,7 +15,6 @@ CreateModelInvocationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_CreateProvisionedModelThroughput.go.snap b/service/bedrock/snapshot/api_op_CreateProvisionedModelThroughput.go.snap index 733e4e95f96..80976ce3d21 100644 --- a/service/bedrock/snapshot/api_op_CreateProvisionedModelThroughput.go.snap +++ b/service/bedrock/snapshot/api_op_CreateProvisionedModelThroughput.go.snap @@ -15,7 +15,6 @@ CreateProvisionedModelThroughput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_DeleteCustomModel.go.snap b/service/bedrock/snapshot/api_op_DeleteCustomModel.go.snap index 44c4b1f8e3a..4ad8858669f 100644 --- a/service/bedrock/snapshot/api_op_DeleteCustomModel.go.snap +++ b/service/bedrock/snapshot/api_op_DeleteCustomModel.go.snap @@ -14,7 +14,6 @@ DeleteCustomModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_DeleteGuardrail.go.snap b/service/bedrock/snapshot/api_op_DeleteGuardrail.go.snap index a49800060da..863b1caf77b 100644 --- a/service/bedrock/snapshot/api_op_DeleteGuardrail.go.snap +++ b/service/bedrock/snapshot/api_op_DeleteGuardrail.go.snap @@ -14,7 +14,6 @@ DeleteGuardrail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_DeleteImportedModel.go.snap b/service/bedrock/snapshot/api_op_DeleteImportedModel.go.snap index ec214a4fbe7..5ade235a81c 100644 --- a/service/bedrock/snapshot/api_op_DeleteImportedModel.go.snap +++ b/service/bedrock/snapshot/api_op_DeleteImportedModel.go.snap @@ -14,7 +14,6 @@ DeleteImportedModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_DeleteInferenceProfile.go.snap b/service/bedrock/snapshot/api_op_DeleteInferenceProfile.go.snap index ff1b7963f97..379aa9f67b1 100644 --- a/service/bedrock/snapshot/api_op_DeleteInferenceProfile.go.snap +++ b/service/bedrock/snapshot/api_op_DeleteInferenceProfile.go.snap @@ -14,7 +14,6 @@ DeleteInferenceProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_DeleteMarketplaceModelEndpoint.go.snap b/service/bedrock/snapshot/api_op_DeleteMarketplaceModelEndpoint.go.snap index ba1f2f3d38b..feb0a191819 100644 --- a/service/bedrock/snapshot/api_op_DeleteMarketplaceModelEndpoint.go.snap +++ b/service/bedrock/snapshot/api_op_DeleteMarketplaceModelEndpoint.go.snap @@ -14,7 +14,6 @@ DeleteMarketplaceModelEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_DeleteModelInvocationLoggingConfiguration.go.snap b/service/bedrock/snapshot/api_op_DeleteModelInvocationLoggingConfiguration.go.snap index 3d4e3572ed9..91258f93a06 100644 --- a/service/bedrock/snapshot/api_op_DeleteModelInvocationLoggingConfiguration.go.snap +++ b/service/bedrock/snapshot/api_op_DeleteModelInvocationLoggingConfiguration.go.snap @@ -13,7 +13,6 @@ DeleteModelInvocationLoggingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_DeleteProvisionedModelThroughput.go.snap b/service/bedrock/snapshot/api_op_DeleteProvisionedModelThroughput.go.snap index d4abc478ece..aaaf310abd5 100644 --- a/service/bedrock/snapshot/api_op_DeleteProvisionedModelThroughput.go.snap +++ b/service/bedrock/snapshot/api_op_DeleteProvisionedModelThroughput.go.snap @@ -14,7 +14,6 @@ DeleteProvisionedModelThroughput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_DeregisterMarketplaceModelEndpoint.go.snap b/service/bedrock/snapshot/api_op_DeregisterMarketplaceModelEndpoint.go.snap index 8ff425b71ab..bec25397956 100644 --- a/service/bedrock/snapshot/api_op_DeregisterMarketplaceModelEndpoint.go.snap +++ b/service/bedrock/snapshot/api_op_DeregisterMarketplaceModelEndpoint.go.snap @@ -14,7 +14,6 @@ DeregisterMarketplaceModelEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_GetCustomModel.go.snap b/service/bedrock/snapshot/api_op_GetCustomModel.go.snap index 75e1e9ec2a7..e461e869f29 100644 --- a/service/bedrock/snapshot/api_op_GetCustomModel.go.snap +++ b/service/bedrock/snapshot/api_op_GetCustomModel.go.snap @@ -14,7 +14,6 @@ GetCustomModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_GetEvaluationJob.go.snap b/service/bedrock/snapshot/api_op_GetEvaluationJob.go.snap index ce2ad372181..5bd08c53258 100644 --- a/service/bedrock/snapshot/api_op_GetEvaluationJob.go.snap +++ b/service/bedrock/snapshot/api_op_GetEvaluationJob.go.snap @@ -14,7 +14,6 @@ GetEvaluationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_GetFoundationModel.go.snap b/service/bedrock/snapshot/api_op_GetFoundationModel.go.snap index 619a7c89ff9..54b56d4de28 100644 --- a/service/bedrock/snapshot/api_op_GetFoundationModel.go.snap +++ b/service/bedrock/snapshot/api_op_GetFoundationModel.go.snap @@ -14,7 +14,6 @@ GetFoundationModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_GetGuardrail.go.snap b/service/bedrock/snapshot/api_op_GetGuardrail.go.snap index 9e81f28569d..031fc8d8865 100644 --- a/service/bedrock/snapshot/api_op_GetGuardrail.go.snap +++ b/service/bedrock/snapshot/api_op_GetGuardrail.go.snap @@ -14,7 +14,6 @@ GetGuardrail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_GetImportedModel.go.snap b/service/bedrock/snapshot/api_op_GetImportedModel.go.snap index 8174207a761..46a84f35a27 100644 --- a/service/bedrock/snapshot/api_op_GetImportedModel.go.snap +++ b/service/bedrock/snapshot/api_op_GetImportedModel.go.snap @@ -14,7 +14,6 @@ GetImportedModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_GetInferenceProfile.go.snap b/service/bedrock/snapshot/api_op_GetInferenceProfile.go.snap index a3dc468e531..7e5dfc1afe9 100644 --- a/service/bedrock/snapshot/api_op_GetInferenceProfile.go.snap +++ b/service/bedrock/snapshot/api_op_GetInferenceProfile.go.snap @@ -14,7 +14,6 @@ GetInferenceProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_GetMarketplaceModelEndpoint.go.snap b/service/bedrock/snapshot/api_op_GetMarketplaceModelEndpoint.go.snap index 6015d4e89f0..03e84c2df16 100644 --- a/service/bedrock/snapshot/api_op_GetMarketplaceModelEndpoint.go.snap +++ b/service/bedrock/snapshot/api_op_GetMarketplaceModelEndpoint.go.snap @@ -14,7 +14,6 @@ GetMarketplaceModelEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_GetModelCopyJob.go.snap b/service/bedrock/snapshot/api_op_GetModelCopyJob.go.snap index c71f504038a..2ff32335405 100644 --- a/service/bedrock/snapshot/api_op_GetModelCopyJob.go.snap +++ b/service/bedrock/snapshot/api_op_GetModelCopyJob.go.snap @@ -14,7 +14,6 @@ GetModelCopyJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_GetModelCustomizationJob.go.snap b/service/bedrock/snapshot/api_op_GetModelCustomizationJob.go.snap index a418204166a..7d77bc63ed1 100644 --- a/service/bedrock/snapshot/api_op_GetModelCustomizationJob.go.snap +++ b/service/bedrock/snapshot/api_op_GetModelCustomizationJob.go.snap @@ -14,7 +14,6 @@ GetModelCustomizationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_GetModelImportJob.go.snap b/service/bedrock/snapshot/api_op_GetModelImportJob.go.snap index 7baed95c59f..6615efe49b8 100644 --- a/service/bedrock/snapshot/api_op_GetModelImportJob.go.snap +++ b/service/bedrock/snapshot/api_op_GetModelImportJob.go.snap @@ -14,7 +14,6 @@ GetModelImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_GetModelInvocationJob.go.snap b/service/bedrock/snapshot/api_op_GetModelInvocationJob.go.snap index d6a1b5856a2..478450475dc 100644 --- a/service/bedrock/snapshot/api_op_GetModelInvocationJob.go.snap +++ b/service/bedrock/snapshot/api_op_GetModelInvocationJob.go.snap @@ -14,7 +14,6 @@ GetModelInvocationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_GetModelInvocationLoggingConfiguration.go.snap b/service/bedrock/snapshot/api_op_GetModelInvocationLoggingConfiguration.go.snap index 2240f1a8b63..39cd2810628 100644 --- a/service/bedrock/snapshot/api_op_GetModelInvocationLoggingConfiguration.go.snap +++ b/service/bedrock/snapshot/api_op_GetModelInvocationLoggingConfiguration.go.snap @@ -13,7 +13,6 @@ GetModelInvocationLoggingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_GetPromptRouter.go.snap b/service/bedrock/snapshot/api_op_GetPromptRouter.go.snap index e841ec16d4c..7a5f35edc32 100644 --- a/service/bedrock/snapshot/api_op_GetPromptRouter.go.snap +++ b/service/bedrock/snapshot/api_op_GetPromptRouter.go.snap @@ -14,7 +14,6 @@ GetPromptRouter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_GetProvisionedModelThroughput.go.snap b/service/bedrock/snapshot/api_op_GetProvisionedModelThroughput.go.snap index e6057349802..d4a5e0aeb40 100644 --- a/service/bedrock/snapshot/api_op_GetProvisionedModelThroughput.go.snap +++ b/service/bedrock/snapshot/api_op_GetProvisionedModelThroughput.go.snap @@ -14,7 +14,6 @@ GetProvisionedModelThroughput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_ListCustomModels.go.snap b/service/bedrock/snapshot/api_op_ListCustomModels.go.snap index 74e3f4b5bae..40bac42ea65 100644 --- a/service/bedrock/snapshot/api_op_ListCustomModels.go.snap +++ b/service/bedrock/snapshot/api_op_ListCustomModels.go.snap @@ -13,7 +13,6 @@ ListCustomModels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_ListEvaluationJobs.go.snap b/service/bedrock/snapshot/api_op_ListEvaluationJobs.go.snap index 44313479176..8b119e08b71 100644 --- a/service/bedrock/snapshot/api_op_ListEvaluationJobs.go.snap +++ b/service/bedrock/snapshot/api_op_ListEvaluationJobs.go.snap @@ -13,7 +13,6 @@ ListEvaluationJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_ListFoundationModels.go.snap b/service/bedrock/snapshot/api_op_ListFoundationModels.go.snap index 744bff8b14d..a70e2ca037a 100644 --- a/service/bedrock/snapshot/api_op_ListFoundationModels.go.snap +++ b/service/bedrock/snapshot/api_op_ListFoundationModels.go.snap @@ -13,7 +13,6 @@ ListFoundationModels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_ListGuardrails.go.snap b/service/bedrock/snapshot/api_op_ListGuardrails.go.snap index b7b6372d781..2a305f9be46 100644 --- a/service/bedrock/snapshot/api_op_ListGuardrails.go.snap +++ b/service/bedrock/snapshot/api_op_ListGuardrails.go.snap @@ -13,7 +13,6 @@ ListGuardrails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_ListImportedModels.go.snap b/service/bedrock/snapshot/api_op_ListImportedModels.go.snap index 9dbf996f1e9..cdb9fd8652a 100644 --- a/service/bedrock/snapshot/api_op_ListImportedModels.go.snap +++ b/service/bedrock/snapshot/api_op_ListImportedModels.go.snap @@ -13,7 +13,6 @@ ListImportedModels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_ListInferenceProfiles.go.snap b/service/bedrock/snapshot/api_op_ListInferenceProfiles.go.snap index 58f77ed7ef5..822611b0f3a 100644 --- a/service/bedrock/snapshot/api_op_ListInferenceProfiles.go.snap +++ b/service/bedrock/snapshot/api_op_ListInferenceProfiles.go.snap @@ -13,7 +13,6 @@ ListInferenceProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_ListMarketplaceModelEndpoints.go.snap b/service/bedrock/snapshot/api_op_ListMarketplaceModelEndpoints.go.snap index bf945d7011b..13321cc4d63 100644 --- a/service/bedrock/snapshot/api_op_ListMarketplaceModelEndpoints.go.snap +++ b/service/bedrock/snapshot/api_op_ListMarketplaceModelEndpoints.go.snap @@ -13,7 +13,6 @@ ListMarketplaceModelEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_ListModelCopyJobs.go.snap b/service/bedrock/snapshot/api_op_ListModelCopyJobs.go.snap index 4c11da168fc..d51771744d0 100644 --- a/service/bedrock/snapshot/api_op_ListModelCopyJobs.go.snap +++ b/service/bedrock/snapshot/api_op_ListModelCopyJobs.go.snap @@ -13,7 +13,6 @@ ListModelCopyJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_ListModelCustomizationJobs.go.snap b/service/bedrock/snapshot/api_op_ListModelCustomizationJobs.go.snap index 3da1333a809..bfafa97e758 100644 --- a/service/bedrock/snapshot/api_op_ListModelCustomizationJobs.go.snap +++ b/service/bedrock/snapshot/api_op_ListModelCustomizationJobs.go.snap @@ -13,7 +13,6 @@ ListModelCustomizationJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_ListModelImportJobs.go.snap b/service/bedrock/snapshot/api_op_ListModelImportJobs.go.snap index 29dfc2a9e3a..96c169193ec 100644 --- a/service/bedrock/snapshot/api_op_ListModelImportJobs.go.snap +++ b/service/bedrock/snapshot/api_op_ListModelImportJobs.go.snap @@ -13,7 +13,6 @@ ListModelImportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_ListModelInvocationJobs.go.snap b/service/bedrock/snapshot/api_op_ListModelInvocationJobs.go.snap index eed2ba9d473..12d2091a0b2 100644 --- a/service/bedrock/snapshot/api_op_ListModelInvocationJobs.go.snap +++ b/service/bedrock/snapshot/api_op_ListModelInvocationJobs.go.snap @@ -13,7 +13,6 @@ ListModelInvocationJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_ListPromptRouters.go.snap b/service/bedrock/snapshot/api_op_ListPromptRouters.go.snap index 7144c3e92b2..6deb6d8762b 100644 --- a/service/bedrock/snapshot/api_op_ListPromptRouters.go.snap +++ b/service/bedrock/snapshot/api_op_ListPromptRouters.go.snap @@ -13,7 +13,6 @@ ListPromptRouters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_ListProvisionedModelThroughputs.go.snap b/service/bedrock/snapshot/api_op_ListProvisionedModelThroughputs.go.snap index d5c2c271d02..88ad81de6f6 100644 --- a/service/bedrock/snapshot/api_op_ListProvisionedModelThroughputs.go.snap +++ b/service/bedrock/snapshot/api_op_ListProvisionedModelThroughputs.go.snap @@ -13,7 +13,6 @@ ListProvisionedModelThroughputs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_ListTagsForResource.go.snap b/service/bedrock/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/bedrock/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/bedrock/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_PutModelInvocationLoggingConfiguration.go.snap b/service/bedrock/snapshot/api_op_PutModelInvocationLoggingConfiguration.go.snap index 54cb5bb47af..8ba0b7dd7ff 100644 --- a/service/bedrock/snapshot/api_op_PutModelInvocationLoggingConfiguration.go.snap +++ b/service/bedrock/snapshot/api_op_PutModelInvocationLoggingConfiguration.go.snap @@ -14,7 +14,6 @@ PutModelInvocationLoggingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_RegisterMarketplaceModelEndpoint.go.snap b/service/bedrock/snapshot/api_op_RegisterMarketplaceModelEndpoint.go.snap index 421ea69584a..218bc06e578 100644 --- a/service/bedrock/snapshot/api_op_RegisterMarketplaceModelEndpoint.go.snap +++ b/service/bedrock/snapshot/api_op_RegisterMarketplaceModelEndpoint.go.snap @@ -14,7 +14,6 @@ RegisterMarketplaceModelEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_StopEvaluationJob.go.snap b/service/bedrock/snapshot/api_op_StopEvaluationJob.go.snap index 605e35b6556..9c4de480650 100644 --- a/service/bedrock/snapshot/api_op_StopEvaluationJob.go.snap +++ b/service/bedrock/snapshot/api_op_StopEvaluationJob.go.snap @@ -14,7 +14,6 @@ StopEvaluationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_StopModelCustomizationJob.go.snap b/service/bedrock/snapshot/api_op_StopModelCustomizationJob.go.snap index e53f396b682..69fe322488d 100644 --- a/service/bedrock/snapshot/api_op_StopModelCustomizationJob.go.snap +++ b/service/bedrock/snapshot/api_op_StopModelCustomizationJob.go.snap @@ -14,7 +14,6 @@ StopModelCustomizationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_StopModelInvocationJob.go.snap b/service/bedrock/snapshot/api_op_StopModelInvocationJob.go.snap index 7229c3b6c16..754d4deed02 100644 --- a/service/bedrock/snapshot/api_op_StopModelInvocationJob.go.snap +++ b/service/bedrock/snapshot/api_op_StopModelInvocationJob.go.snap @@ -14,7 +14,6 @@ StopModelInvocationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_TagResource.go.snap b/service/bedrock/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/bedrock/snapshot/api_op_TagResource.go.snap +++ b/service/bedrock/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_UntagResource.go.snap b/service/bedrock/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/bedrock/snapshot/api_op_UntagResource.go.snap +++ b/service/bedrock/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_UpdateGuardrail.go.snap b/service/bedrock/snapshot/api_op_UpdateGuardrail.go.snap index 5c7522f5bb0..cde1647c8d5 100644 --- a/service/bedrock/snapshot/api_op_UpdateGuardrail.go.snap +++ b/service/bedrock/snapshot/api_op_UpdateGuardrail.go.snap @@ -14,7 +14,6 @@ UpdateGuardrail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_UpdateMarketplaceModelEndpoint.go.snap b/service/bedrock/snapshot/api_op_UpdateMarketplaceModelEndpoint.go.snap index 20a83f6d5f7..23ef87e1a4d 100644 --- a/service/bedrock/snapshot/api_op_UpdateMarketplaceModelEndpoint.go.snap +++ b/service/bedrock/snapshot/api_op_UpdateMarketplaceModelEndpoint.go.snap @@ -15,7 +15,6 @@ UpdateMarketplaceModelEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrock/snapshot/api_op_UpdateProvisionedModelThroughput.go.snap b/service/bedrock/snapshot/api_op_UpdateProvisionedModelThroughput.go.snap index bd1620b6b7b..2975028b832 100644 --- a/service/bedrock/snapshot/api_op_UpdateProvisionedModelThroughput.go.snap +++ b/service/bedrock/snapshot/api_op_UpdateProvisionedModelThroughput.go.snap @@ -14,7 +14,6 @@ UpdateProvisionedModelThroughput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/api_client.go b/service/bedrockagent/api_client.go index 4cf1f0d4191..835687f7187 100644 --- a/service/bedrockagent/api_client.go +++ b/service/bedrockagent/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/bedrockagent/api_op_AssociateAgentCollaborator.go b/service/bedrockagent/api_op_AssociateAgentCollaborator.go index e8548e975f9..016105881fe 100644 --- a/service/bedrockagent/api_op_AssociateAgentCollaborator.go +++ b/service/bedrockagent/api_op_AssociateAgentCollaborator.go @@ -140,9 +140,6 @@ func (c *Client) addOperationAssociateAgentCollaboratorMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opAssociateAgentCollaboratorMiddleware(stack, options); err != nil { return err } diff --git a/service/bedrockagent/api_op_AssociateAgentKnowledgeBase.go b/service/bedrockagent/api_op_AssociateAgentKnowledgeBase.go index f00025cfd30..ddedcda2a16 100644 --- a/service/bedrockagent/api_op_AssociateAgentKnowledgeBase.go +++ b/service/bedrockagent/api_op_AssociateAgentKnowledgeBase.go @@ -138,9 +138,6 @@ func (c *Client) addOperationAssociateAgentKnowledgeBaseMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateAgentKnowledgeBaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_CreateAgent.go b/service/bedrockagent/api_op_CreateAgent.go index 0326b191558..c503d8742d1 100644 --- a/service/bedrockagent/api_op_CreateAgent.go +++ b/service/bedrockagent/api_op_CreateAgent.go @@ -230,9 +230,6 @@ func (c *Client) addOperationCreateAgentMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAgentMiddleware(stack, options); err != nil { return err } diff --git a/service/bedrockagent/api_op_CreateAgentActionGroup.go b/service/bedrockagent/api_op_CreateAgentActionGroup.go index 64d62a9b0c6..84d7e39aeeb 100644 --- a/service/bedrockagent/api_op_CreateAgentActionGroup.go +++ b/service/bedrockagent/api_op_CreateAgentActionGroup.go @@ -192,9 +192,6 @@ func (c *Client) addOperationCreateAgentActionGroupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAgentActionGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/bedrockagent/api_op_CreateAgentAlias.go b/service/bedrockagent/api_op_CreateAgentAlias.go index 3f2a6f2bfd6..bc562ce7f61 100644 --- a/service/bedrockagent/api_op_CreateAgentAlias.go +++ b/service/bedrockagent/api_op_CreateAgentAlias.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateAgentAliasMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAgentAliasMiddleware(stack, options); err != nil { return err } diff --git a/service/bedrockagent/api_op_CreateDataSource.go b/service/bedrockagent/api_op_CreateDataSource.go index 3df1a2deaf1..3602ef5ba05 100644 --- a/service/bedrockagent/api_op_CreateDataSource.go +++ b/service/bedrockagent/api_op_CreateDataSource.go @@ -159,9 +159,6 @@ func (c *Client) addOperationCreateDataSourceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDataSourceMiddleware(stack, options); err != nil { return err } diff --git a/service/bedrockagent/api_op_CreateFlow.go b/service/bedrockagent/api_op_CreateFlow.go index 05bcdf6b533..dd48173374d 100644 --- a/service/bedrockagent/api_op_CreateFlow.go +++ b/service/bedrockagent/api_op_CreateFlow.go @@ -199,9 +199,6 @@ func (c *Client) addOperationCreateFlowMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateFlowMiddleware(stack, options); err != nil { return err } diff --git a/service/bedrockagent/api_op_CreateFlowAlias.go b/service/bedrockagent/api_op_CreateFlowAlias.go index 728e97db9ed..7964a02bf5e 100644 --- a/service/bedrockagent/api_op_CreateFlowAlias.go +++ b/service/bedrockagent/api_op_CreateFlowAlias.go @@ -177,9 +177,6 @@ func (c *Client) addOperationCreateFlowAliasMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateFlowAliasMiddleware(stack, options); err != nil { return err } diff --git a/service/bedrockagent/api_op_CreateFlowVersion.go b/service/bedrockagent/api_op_CreateFlowVersion.go index 2a9f2e34576..aeba44746b8 100644 --- a/service/bedrockagent/api_op_CreateFlowVersion.go +++ b/service/bedrockagent/api_op_CreateFlowVersion.go @@ -171,9 +171,6 @@ func (c *Client) addOperationCreateFlowVersionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateFlowVersionMiddleware(stack, options); err != nil { return err } diff --git a/service/bedrockagent/api_op_CreateKnowledgeBase.go b/service/bedrockagent/api_op_CreateKnowledgeBase.go index d839ff3841c..08c57fc8f98 100644 --- a/service/bedrockagent/api_op_CreateKnowledgeBase.go +++ b/service/bedrockagent/api_op_CreateKnowledgeBase.go @@ -179,9 +179,6 @@ func (c *Client) addOperationCreateKnowledgeBaseMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateKnowledgeBaseMiddleware(stack, options); err != nil { return err } diff --git a/service/bedrockagent/api_op_CreatePrompt.go b/service/bedrockagent/api_op_CreatePrompt.go index d2794800368..e3fb938456e 100644 --- a/service/bedrockagent/api_op_CreatePrompt.go +++ b/service/bedrockagent/api_op_CreatePrompt.go @@ -186,9 +186,6 @@ func (c *Client) addOperationCreatePromptMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreatePromptMiddleware(stack, options); err != nil { return err } diff --git a/service/bedrockagent/api_op_CreatePromptVersion.go b/service/bedrockagent/api_op_CreatePromptVersion.go index 0664eabb29b..d70b849057e 100644 --- a/service/bedrockagent/api_op_CreatePromptVersion.go +++ b/service/bedrockagent/api_op_CreatePromptVersion.go @@ -176,9 +176,6 @@ func (c *Client) addOperationCreatePromptVersionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreatePromptVersionMiddleware(stack, options); err != nil { return err } diff --git a/service/bedrockagent/api_op_DeleteAgent.go b/service/bedrockagent/api_op_DeleteAgent.go index 78d46f07b36..46b2e44c263 100644 --- a/service/bedrockagent/api_op_DeleteAgent.go +++ b/service/bedrockagent/api_op_DeleteAgent.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteAgentMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAgentValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_DeleteAgentActionGroup.go b/service/bedrockagent/api_op_DeleteAgentActionGroup.go index b482600a0f7..ae103ba3d8b 100644 --- a/service/bedrockagent/api_op_DeleteAgentActionGroup.go +++ b/service/bedrockagent/api_op_DeleteAgentActionGroup.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteAgentActionGroupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAgentActionGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_DeleteAgentAlias.go b/service/bedrockagent/api_op_DeleteAgentAlias.go index 3d681497d2e..214eb8a5526 100644 --- a/service/bedrockagent/api_op_DeleteAgentAlias.go +++ b/service/bedrockagent/api_op_DeleteAgentAlias.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDeleteAgentAliasMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAgentAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_DeleteAgentVersion.go b/service/bedrockagent/api_op_DeleteAgentVersion.go index 6a1dd3134b0..d9aa5da16c4 100644 --- a/service/bedrockagent/api_op_DeleteAgentVersion.go +++ b/service/bedrockagent/api_op_DeleteAgentVersion.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDeleteAgentVersionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAgentVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_DeleteDataSource.go b/service/bedrockagent/api_op_DeleteDataSource.go index 0cb793d7434..793b96bd15f 100644 --- a/service/bedrockagent/api_op_DeleteDataSource.go +++ b/service/bedrockagent/api_op_DeleteDataSource.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDeleteDataSourceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_DeleteFlow.go b/service/bedrockagent/api_op_DeleteFlow.go index 6e515fd70ff..b47ba10cd0a 100644 --- a/service/bedrockagent/api_op_DeleteFlow.go +++ b/service/bedrockagent/api_op_DeleteFlow.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteFlowMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFlowValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_DeleteFlowAlias.go b/service/bedrockagent/api_op_DeleteFlowAlias.go index e81280191c9..aff0a539292 100644 --- a/service/bedrockagent/api_op_DeleteFlowAlias.go +++ b/service/bedrockagent/api_op_DeleteFlowAlias.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteFlowAliasMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFlowAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_DeleteFlowVersion.go b/service/bedrockagent/api_op_DeleteFlowVersion.go index 680c7b7d4dc..d34577b09da 100644 --- a/service/bedrockagent/api_op_DeleteFlowVersion.go +++ b/service/bedrockagent/api_op_DeleteFlowVersion.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteFlowVersionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFlowVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_DeleteKnowledgeBase.go b/service/bedrockagent/api_op_DeleteKnowledgeBase.go index 5cd300f009e..20a8be7fedc 100644 --- a/service/bedrockagent/api_op_DeleteKnowledgeBase.go +++ b/service/bedrockagent/api_op_DeleteKnowledgeBase.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteKnowledgeBaseMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteKnowledgeBaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_DeleteKnowledgeBaseDocuments.go b/service/bedrockagent/api_op_DeleteKnowledgeBaseDocuments.go index b494a701d3d..3df097077aa 100644 --- a/service/bedrockagent/api_op_DeleteKnowledgeBaseDocuments.go +++ b/service/bedrockagent/api_op_DeleteKnowledgeBaseDocuments.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDeleteKnowledgeBaseDocumentsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteKnowledgeBaseDocumentsMiddleware(stack, options); err != nil { return err } diff --git a/service/bedrockagent/api_op_DeletePrompt.go b/service/bedrockagent/api_op_DeletePrompt.go index 67617f3d95a..3e671e1eaba 100644 --- a/service/bedrockagent/api_op_DeletePrompt.go +++ b/service/bedrockagent/api_op_DeletePrompt.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeletePromptMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePromptValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_DisassociateAgentCollaborator.go b/service/bedrockagent/api_op_DisassociateAgentCollaborator.go index ebbf9435e3d..deb398cac89 100644 --- a/service/bedrockagent/api_op_DisassociateAgentCollaborator.go +++ b/service/bedrockagent/api_op_DisassociateAgentCollaborator.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDisassociateAgentCollaboratorMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateAgentCollaboratorValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_DisassociateAgentKnowledgeBase.go b/service/bedrockagent/api_op_DisassociateAgentKnowledgeBase.go index 90a04cbc208..17aeb34ee39 100644 --- a/service/bedrockagent/api_op_DisassociateAgentKnowledgeBase.go +++ b/service/bedrockagent/api_op_DisassociateAgentKnowledgeBase.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDisassociateAgentKnowledgeBaseMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateAgentKnowledgeBaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_GetAgent.go b/service/bedrockagent/api_op_GetAgent.go index 2f2b3a536d3..3ff3b7a4740 100644 --- a/service/bedrockagent/api_op_GetAgent.go +++ b/service/bedrockagent/api_op_GetAgent.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetAgentMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAgentValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_GetAgentActionGroup.go b/service/bedrockagent/api_op_GetAgentActionGroup.go index 53077d25e4c..37d49f33f87 100644 --- a/service/bedrockagent/api_op_GetAgentActionGroup.go +++ b/service/bedrockagent/api_op_GetAgentActionGroup.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetAgentActionGroupMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAgentActionGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_GetAgentAlias.go b/service/bedrockagent/api_op_GetAgentAlias.go index 51e26a0392a..8656878a1f9 100644 --- a/service/bedrockagent/api_op_GetAgentAlias.go +++ b/service/bedrockagent/api_op_GetAgentAlias.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetAgentAliasMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAgentAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_GetAgentCollaborator.go b/service/bedrockagent/api_op_GetAgentCollaborator.go index f4610b992de..c427c24acc3 100644 --- a/service/bedrockagent/api_op_GetAgentCollaborator.go +++ b/service/bedrockagent/api_op_GetAgentCollaborator.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetAgentCollaboratorMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAgentCollaboratorValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_GetAgentKnowledgeBase.go b/service/bedrockagent/api_op_GetAgentKnowledgeBase.go index 18b3b55ced9..cbc584205ff 100644 --- a/service/bedrockagent/api_op_GetAgentKnowledgeBase.go +++ b/service/bedrockagent/api_op_GetAgentKnowledgeBase.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetAgentKnowledgeBaseMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAgentKnowledgeBaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_GetAgentVersion.go b/service/bedrockagent/api_op_GetAgentVersion.go index aa1d97e9d4b..78f52db9ab0 100644 --- a/service/bedrockagent/api_op_GetAgentVersion.go +++ b/service/bedrockagent/api_op_GetAgentVersion.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetAgentVersionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAgentVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_GetDataSource.go b/service/bedrockagent/api_op_GetDataSource.go index d5032f95dc4..2aee15da8e4 100644 --- a/service/bedrockagent/api_op_GetDataSource.go +++ b/service/bedrockagent/api_op_GetDataSource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetDataSourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_GetFlow.go b/service/bedrockagent/api_op_GetFlow.go index 438ae692c4f..cb61caa7108 100644 --- a/service/bedrockagent/api_op_GetFlow.go +++ b/service/bedrockagent/api_op_GetFlow.go @@ -186,9 +186,6 @@ func (c *Client) addOperationGetFlowMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFlowValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_GetFlowAlias.go b/service/bedrockagent/api_op_GetFlowAlias.go index afdc3b4c0e4..0a651a9311d 100644 --- a/service/bedrockagent/api_op_GetFlowAlias.go +++ b/service/bedrockagent/api_op_GetFlowAlias.go @@ -156,9 +156,6 @@ func (c *Client) addOperationGetFlowAliasMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFlowAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_GetFlowVersion.go b/service/bedrockagent/api_op_GetFlowVersion.go index c424bbb0500..9b148b74e22 100644 --- a/service/bedrockagent/api_op_GetFlowVersion.go +++ b/service/bedrockagent/api_op_GetFlowVersion.go @@ -166,9 +166,6 @@ func (c *Client) addOperationGetFlowVersionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFlowVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_GetIngestionJob.go b/service/bedrockagent/api_op_GetIngestionJob.go index 1608cc1e2c2..2f1d016bcd6 100644 --- a/service/bedrockagent/api_op_GetIngestionJob.go +++ b/service/bedrockagent/api_op_GetIngestionJob.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetIngestionJobMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIngestionJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_GetKnowledgeBase.go b/service/bedrockagent/api_op_GetKnowledgeBase.go index 873748a05e2..bd20056b011 100644 --- a/service/bedrockagent/api_op_GetKnowledgeBase.go +++ b/service/bedrockagent/api_op_GetKnowledgeBase.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetKnowledgeBaseMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetKnowledgeBaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_GetKnowledgeBaseDocuments.go b/service/bedrockagent/api_op_GetKnowledgeBaseDocuments.go index 6aee44395ae..6cebc3578f0 100644 --- a/service/bedrockagent/api_op_GetKnowledgeBaseDocuments.go +++ b/service/bedrockagent/api_op_GetKnowledgeBaseDocuments.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetKnowledgeBaseDocumentsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetKnowledgeBaseDocumentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_GetPrompt.go b/service/bedrockagent/api_op_GetPrompt.go index 174aa5a8089..367cee80d5a 100644 --- a/service/bedrockagent/api_op_GetPrompt.go +++ b/service/bedrockagent/api_op_GetPrompt.go @@ -165,9 +165,6 @@ func (c *Client) addOperationGetPromptMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPromptValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_IngestKnowledgeBaseDocuments.go b/service/bedrockagent/api_op_IngestKnowledgeBaseDocuments.go index 91826b59072..6d2d9796d9b 100644 --- a/service/bedrockagent/api_op_IngestKnowledgeBaseDocuments.go +++ b/service/bedrockagent/api_op_IngestKnowledgeBaseDocuments.go @@ -137,9 +137,6 @@ func (c *Client) addOperationIngestKnowledgeBaseDocumentsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opIngestKnowledgeBaseDocumentsMiddleware(stack, options); err != nil { return err } diff --git a/service/bedrockagent/api_op_ListAgentActionGroups.go b/service/bedrockagent/api_op_ListAgentActionGroups.go index 96048efcd5e..266b1e6559c 100644 --- a/service/bedrockagent/api_op_ListAgentActionGroups.go +++ b/service/bedrockagent/api_op_ListAgentActionGroups.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListAgentActionGroupsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAgentActionGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_ListAgentAliases.go b/service/bedrockagent/api_op_ListAgentAliases.go index 0a6b35bcc4f..72d3810e5cf 100644 --- a/service/bedrockagent/api_op_ListAgentAliases.go +++ b/service/bedrockagent/api_op_ListAgentAliases.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListAgentAliasesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAgentAliasesValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_ListAgentCollaborators.go b/service/bedrockagent/api_op_ListAgentCollaborators.go index 13f2f61634f..03baa56369b 100644 --- a/service/bedrockagent/api_op_ListAgentCollaborators.go +++ b/service/bedrockagent/api_op_ListAgentCollaborators.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListAgentCollaboratorsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAgentCollaboratorsValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_ListAgentKnowledgeBases.go b/service/bedrockagent/api_op_ListAgentKnowledgeBases.go index 07ccc67a02e..fc6292e12ff 100644 --- a/service/bedrockagent/api_op_ListAgentKnowledgeBases.go +++ b/service/bedrockagent/api_op_ListAgentKnowledgeBases.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListAgentKnowledgeBasesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAgentKnowledgeBasesValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_ListAgentVersions.go b/service/bedrockagent/api_op_ListAgentVersions.go index 30dd58d4bb0..46a11b7126f 100644 --- a/service/bedrockagent/api_op_ListAgentVersions.go +++ b/service/bedrockagent/api_op_ListAgentVersions.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListAgentVersionsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAgentVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_ListAgents.go b/service/bedrockagent/api_op_ListAgents.go index c6b17dd95f5..c80063367f1 100644 --- a/service/bedrockagent/api_op_ListAgents.go +++ b/service/bedrockagent/api_op_ListAgents.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListAgentsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAgents(options.Region), middleware.Before); err != nil { return err } diff --git a/service/bedrockagent/api_op_ListDataSources.go b/service/bedrockagent/api_op_ListDataSources.go index dc890e4f811..dd7d90c692e 100644 --- a/service/bedrockagent/api_op_ListDataSources.go +++ b/service/bedrockagent/api_op_ListDataSources.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListDataSourcesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDataSourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_ListFlowAliases.go b/service/bedrockagent/api_op_ListFlowAliases.go index 866926bc60c..23ec7378ea0 100644 --- a/service/bedrockagent/api_op_ListFlowAliases.go +++ b/service/bedrockagent/api_op_ListFlowAliases.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListFlowAliasesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFlowAliasesValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_ListFlowVersions.go b/service/bedrockagent/api_op_ListFlowVersions.go index 4ac75b5bf8c..de8b249486a 100644 --- a/service/bedrockagent/api_op_ListFlowVersions.go +++ b/service/bedrockagent/api_op_ListFlowVersions.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListFlowVersionsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFlowVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_ListFlows.go b/service/bedrockagent/api_op_ListFlows.go index 335736bb664..7e8ee2618b1 100644 --- a/service/bedrockagent/api_op_ListFlows.go +++ b/service/bedrockagent/api_op_ListFlows.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListFlowsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFlows(options.Region), middleware.Before); err != nil { return err } diff --git a/service/bedrockagent/api_op_ListIngestionJobs.go b/service/bedrockagent/api_op_ListIngestionJobs.go index 9a02ecf7742..6325485917d 100644 --- a/service/bedrockagent/api_op_ListIngestionJobs.go +++ b/service/bedrockagent/api_op_ListIngestionJobs.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListIngestionJobsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIngestionJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_ListKnowledgeBaseDocuments.go b/service/bedrockagent/api_op_ListKnowledgeBaseDocuments.go index 62a9b4b3ca8..308fa080db8 100644 --- a/service/bedrockagent/api_op_ListKnowledgeBaseDocuments.go +++ b/service/bedrockagent/api_op_ListKnowledgeBaseDocuments.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListKnowledgeBaseDocumentsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListKnowledgeBaseDocumentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_ListKnowledgeBases.go b/service/bedrockagent/api_op_ListKnowledgeBases.go index 85c6631b8bf..1cc68a4f724 100644 --- a/service/bedrockagent/api_op_ListKnowledgeBases.go +++ b/service/bedrockagent/api_op_ListKnowledgeBases.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListKnowledgeBasesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListKnowledgeBases(options.Region), middleware.Before); err != nil { return err } diff --git a/service/bedrockagent/api_op_ListPrompts.go b/service/bedrockagent/api_op_ListPrompts.go index 1623612a368..84be8ce5398 100644 --- a/service/bedrockagent/api_op_ListPrompts.go +++ b/service/bedrockagent/api_op_ListPrompts.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListPromptsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPrompts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/bedrockagent/api_op_ListTagsForResource.go b/service/bedrockagent/api_op_ListTagsForResource.go index b402c4ec184..bc44bf94f15 100644 --- a/service/bedrockagent/api_op_ListTagsForResource.go +++ b/service/bedrockagent/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_PrepareAgent.go b/service/bedrockagent/api_op_PrepareAgent.go index 6fda30ea53f..eec5ed29adc 100644 --- a/service/bedrockagent/api_op_PrepareAgent.go +++ b/service/bedrockagent/api_op_PrepareAgent.go @@ -130,9 +130,6 @@ func (c *Client) addOperationPrepareAgentMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPrepareAgentValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_PrepareFlow.go b/service/bedrockagent/api_op_PrepareFlow.go index 1ed80ed9f7b..43d6e43750a 100644 --- a/service/bedrockagent/api_op_PrepareFlow.go +++ b/service/bedrockagent/api_op_PrepareFlow.go @@ -124,9 +124,6 @@ func (c *Client) addOperationPrepareFlowMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPrepareFlowValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_StartIngestionJob.go b/service/bedrockagent/api_op_StartIngestionJob.go index e46580ebfdb..e7637bd34a1 100644 --- a/service/bedrockagent/api_op_StartIngestionJob.go +++ b/service/bedrockagent/api_op_StartIngestionJob.go @@ -131,9 +131,6 @@ func (c *Client) addOperationStartIngestionJobMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartIngestionJobMiddleware(stack, options); err != nil { return err } diff --git a/service/bedrockagent/api_op_StopIngestionJob.go b/service/bedrockagent/api_op_StopIngestionJob.go index 40b836b0bde..4cdf08ae1c1 100644 --- a/service/bedrockagent/api_op_StopIngestionJob.go +++ b/service/bedrockagent/api_op_StopIngestionJob.go @@ -127,9 +127,6 @@ func (c *Client) addOperationStopIngestionJobMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopIngestionJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_TagResource.go b/service/bedrockagent/api_op_TagResource.go index 08afac689dc..4f2c07bba45 100644 --- a/service/bedrockagent/api_op_TagResource.go +++ b/service/bedrockagent/api_op_TagResource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_UntagResource.go b/service/bedrockagent/api_op_UntagResource.go index cdc24fb3131..0e4184dbd5d 100644 --- a/service/bedrockagent/api_op_UntagResource.go +++ b/service/bedrockagent/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_UpdateAgent.go b/service/bedrockagent/api_op_UpdateAgent.go index 251b4e99dd8..01449f76527 100644 --- a/service/bedrockagent/api_op_UpdateAgent.go +++ b/service/bedrockagent/api_op_UpdateAgent.go @@ -198,9 +198,6 @@ func (c *Client) addOperationUpdateAgentMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAgentValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_UpdateAgentActionGroup.go b/service/bedrockagent/api_op_UpdateAgentActionGroup.go index 19a4d136270..4c26477f45c 100644 --- a/service/bedrockagent/api_op_UpdateAgentActionGroup.go +++ b/service/bedrockagent/api_op_UpdateAgentActionGroup.go @@ -166,9 +166,6 @@ func (c *Client) addOperationUpdateAgentActionGroupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAgentActionGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_UpdateAgentAlias.go b/service/bedrockagent/api_op_UpdateAgentAlias.go index ee7e4c15ac4..01310e5f399 100644 --- a/service/bedrockagent/api_op_UpdateAgentAlias.go +++ b/service/bedrockagent/api_op_UpdateAgentAlias.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateAgentAliasMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAgentAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_UpdateAgentCollaborator.go b/service/bedrockagent/api_op_UpdateAgentCollaborator.go index e02411a2e8e..e79a5e5cfd3 100644 --- a/service/bedrockagent/api_op_UpdateAgentCollaborator.go +++ b/service/bedrockagent/api_op_UpdateAgentCollaborator.go @@ -142,9 +142,6 @@ func (c *Client) addOperationUpdateAgentCollaboratorMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAgentCollaboratorValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_UpdateAgentKnowledgeBase.go b/service/bedrockagent/api_op_UpdateAgentKnowledgeBase.go index 5e8aa3c42db..30062e2f644 100644 --- a/service/bedrockagent/api_op_UpdateAgentKnowledgeBase.go +++ b/service/bedrockagent/api_op_UpdateAgentKnowledgeBase.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateAgentKnowledgeBaseMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAgentKnowledgeBaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_UpdateDataSource.go b/service/bedrockagent/api_op_UpdateDataSource.go index 2e86bc697e6..e90dd322a67 100644 --- a/service/bedrockagent/api_op_UpdateDataSource.go +++ b/service/bedrockagent/api_op_UpdateDataSource.go @@ -144,9 +144,6 @@ func (c *Client) addOperationUpdateDataSourceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_UpdateFlow.go b/service/bedrockagent/api_op_UpdateFlow.go index affa333f147..588073b9c85 100644 --- a/service/bedrockagent/api_op_UpdateFlow.go +++ b/service/bedrockagent/api_op_UpdateFlow.go @@ -190,9 +190,6 @@ func (c *Client) addOperationUpdateFlowMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFlowValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_UpdateFlowAlias.go b/service/bedrockagent/api_op_UpdateFlowAlias.go index 9f57da0971a..cbeb90741b1 100644 --- a/service/bedrockagent/api_op_UpdateFlowAlias.go +++ b/service/bedrockagent/api_op_UpdateFlowAlias.go @@ -170,9 +170,6 @@ func (c *Client) addOperationUpdateFlowAliasMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFlowAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_UpdateKnowledgeBase.go b/service/bedrockagent/api_op_UpdateKnowledgeBase.go index 1fd26a05a38..8ea7697ec6f 100644 --- a/service/bedrockagent/api_op_UpdateKnowledgeBase.go +++ b/service/bedrockagent/api_op_UpdateKnowledgeBase.go @@ -155,9 +155,6 @@ func (c *Client) addOperationUpdateKnowledgeBaseMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateKnowledgeBaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_UpdatePrompt.go b/service/bedrockagent/api_op_UpdatePrompt.go index 646ee055859..18fb09d0fc4 100644 --- a/service/bedrockagent/api_op_UpdatePrompt.go +++ b/service/bedrockagent/api_op_UpdatePrompt.go @@ -181,9 +181,6 @@ func (c *Client) addOperationUpdatePromptMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePromptValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/api_op_ValidateFlowDefinition.go b/service/bedrockagent/api_op_ValidateFlowDefinition.go index a1b6402a21b..ba40957c329 100644 --- a/service/bedrockagent/api_op_ValidateFlowDefinition.go +++ b/service/bedrockagent/api_op_ValidateFlowDefinition.go @@ -115,9 +115,6 @@ func (c *Client) addOperationValidateFlowDefinitionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpValidateFlowDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagent/snapshot/api_op_AssociateAgentCollaborator.go.snap b/service/bedrockagent/snapshot/api_op_AssociateAgentCollaborator.go.snap index 06b554184cd..e8613371e01 100644 --- a/service/bedrockagent/snapshot/api_op_AssociateAgentCollaborator.go.snap +++ b/service/bedrockagent/snapshot/api_op_AssociateAgentCollaborator.go.snap @@ -15,7 +15,6 @@ AssociateAgentCollaborator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_AssociateAgentKnowledgeBase.go.snap b/service/bedrockagent/snapshot/api_op_AssociateAgentKnowledgeBase.go.snap index ede4add13b6..58d0279a6bb 100644 --- a/service/bedrockagent/snapshot/api_op_AssociateAgentKnowledgeBase.go.snap +++ b/service/bedrockagent/snapshot/api_op_AssociateAgentKnowledgeBase.go.snap @@ -14,7 +14,6 @@ AssociateAgentKnowledgeBase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_CreateAgent.go.snap b/service/bedrockagent/snapshot/api_op_CreateAgent.go.snap index dfdc44adf61..219b3c23f20 100644 --- a/service/bedrockagent/snapshot/api_op_CreateAgent.go.snap +++ b/service/bedrockagent/snapshot/api_op_CreateAgent.go.snap @@ -15,7 +15,6 @@ CreateAgent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_CreateAgentActionGroup.go.snap b/service/bedrockagent/snapshot/api_op_CreateAgentActionGroup.go.snap index b2fca56775c..2e14d8a8290 100644 --- a/service/bedrockagent/snapshot/api_op_CreateAgentActionGroup.go.snap +++ b/service/bedrockagent/snapshot/api_op_CreateAgentActionGroup.go.snap @@ -15,7 +15,6 @@ CreateAgentActionGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_CreateAgentAlias.go.snap b/service/bedrockagent/snapshot/api_op_CreateAgentAlias.go.snap index 21e9a65246a..bc29603e63f 100644 --- a/service/bedrockagent/snapshot/api_op_CreateAgentAlias.go.snap +++ b/service/bedrockagent/snapshot/api_op_CreateAgentAlias.go.snap @@ -15,7 +15,6 @@ CreateAgentAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_CreateDataSource.go.snap b/service/bedrockagent/snapshot/api_op_CreateDataSource.go.snap index 8e050aefe11..69b70d6c00e 100644 --- a/service/bedrockagent/snapshot/api_op_CreateDataSource.go.snap +++ b/service/bedrockagent/snapshot/api_op_CreateDataSource.go.snap @@ -15,7 +15,6 @@ CreateDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_CreateFlow.go.snap b/service/bedrockagent/snapshot/api_op_CreateFlow.go.snap index 80b533f46f4..e0a597a3dd4 100644 --- a/service/bedrockagent/snapshot/api_op_CreateFlow.go.snap +++ b/service/bedrockagent/snapshot/api_op_CreateFlow.go.snap @@ -15,7 +15,6 @@ CreateFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_CreateFlowAlias.go.snap b/service/bedrockagent/snapshot/api_op_CreateFlowAlias.go.snap index dd30e3212f1..24c809f1e55 100644 --- a/service/bedrockagent/snapshot/api_op_CreateFlowAlias.go.snap +++ b/service/bedrockagent/snapshot/api_op_CreateFlowAlias.go.snap @@ -15,7 +15,6 @@ CreateFlowAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_CreateFlowVersion.go.snap b/service/bedrockagent/snapshot/api_op_CreateFlowVersion.go.snap index 1aafb2f8989..4d2d8f324b6 100644 --- a/service/bedrockagent/snapshot/api_op_CreateFlowVersion.go.snap +++ b/service/bedrockagent/snapshot/api_op_CreateFlowVersion.go.snap @@ -15,7 +15,6 @@ CreateFlowVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_CreateKnowledgeBase.go.snap b/service/bedrockagent/snapshot/api_op_CreateKnowledgeBase.go.snap index 942cdc3f999..aee9f8ba322 100644 --- a/service/bedrockagent/snapshot/api_op_CreateKnowledgeBase.go.snap +++ b/service/bedrockagent/snapshot/api_op_CreateKnowledgeBase.go.snap @@ -15,7 +15,6 @@ CreateKnowledgeBase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_CreatePrompt.go.snap b/service/bedrockagent/snapshot/api_op_CreatePrompt.go.snap index 5198d534421..a1d162c8e85 100644 --- a/service/bedrockagent/snapshot/api_op_CreatePrompt.go.snap +++ b/service/bedrockagent/snapshot/api_op_CreatePrompt.go.snap @@ -15,7 +15,6 @@ CreatePrompt Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_CreatePromptVersion.go.snap b/service/bedrockagent/snapshot/api_op_CreatePromptVersion.go.snap index 356f3ba0096..444aede234d 100644 --- a/service/bedrockagent/snapshot/api_op_CreatePromptVersion.go.snap +++ b/service/bedrockagent/snapshot/api_op_CreatePromptVersion.go.snap @@ -15,7 +15,6 @@ CreatePromptVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_DeleteAgent.go.snap b/service/bedrockagent/snapshot/api_op_DeleteAgent.go.snap index ee30f6c9988..1c12e47cfa9 100644 --- a/service/bedrockagent/snapshot/api_op_DeleteAgent.go.snap +++ b/service/bedrockagent/snapshot/api_op_DeleteAgent.go.snap @@ -14,7 +14,6 @@ DeleteAgent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_DeleteAgentActionGroup.go.snap b/service/bedrockagent/snapshot/api_op_DeleteAgentActionGroup.go.snap index 74ebad60643..17492c9b12f 100644 --- a/service/bedrockagent/snapshot/api_op_DeleteAgentActionGroup.go.snap +++ b/service/bedrockagent/snapshot/api_op_DeleteAgentActionGroup.go.snap @@ -14,7 +14,6 @@ DeleteAgentActionGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_DeleteAgentAlias.go.snap b/service/bedrockagent/snapshot/api_op_DeleteAgentAlias.go.snap index 878be4a5561..204786d05dc 100644 --- a/service/bedrockagent/snapshot/api_op_DeleteAgentAlias.go.snap +++ b/service/bedrockagent/snapshot/api_op_DeleteAgentAlias.go.snap @@ -14,7 +14,6 @@ DeleteAgentAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_DeleteAgentVersion.go.snap b/service/bedrockagent/snapshot/api_op_DeleteAgentVersion.go.snap index 1ed2efb3161..2e1d8128f70 100644 --- a/service/bedrockagent/snapshot/api_op_DeleteAgentVersion.go.snap +++ b/service/bedrockagent/snapshot/api_op_DeleteAgentVersion.go.snap @@ -14,7 +14,6 @@ DeleteAgentVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_DeleteDataSource.go.snap b/service/bedrockagent/snapshot/api_op_DeleteDataSource.go.snap index 4c10faa3f53..e6bf94d552e 100644 --- a/service/bedrockagent/snapshot/api_op_DeleteDataSource.go.snap +++ b/service/bedrockagent/snapshot/api_op_DeleteDataSource.go.snap @@ -14,7 +14,6 @@ DeleteDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_DeleteFlow.go.snap b/service/bedrockagent/snapshot/api_op_DeleteFlow.go.snap index 133440e076e..4e0191ae096 100644 --- a/service/bedrockagent/snapshot/api_op_DeleteFlow.go.snap +++ b/service/bedrockagent/snapshot/api_op_DeleteFlow.go.snap @@ -14,7 +14,6 @@ DeleteFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_DeleteFlowAlias.go.snap b/service/bedrockagent/snapshot/api_op_DeleteFlowAlias.go.snap index aef4a332744..8746fea039f 100644 --- a/service/bedrockagent/snapshot/api_op_DeleteFlowAlias.go.snap +++ b/service/bedrockagent/snapshot/api_op_DeleteFlowAlias.go.snap @@ -14,7 +14,6 @@ DeleteFlowAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_DeleteFlowVersion.go.snap b/service/bedrockagent/snapshot/api_op_DeleteFlowVersion.go.snap index 4901583ef88..1efd86c05ba 100644 --- a/service/bedrockagent/snapshot/api_op_DeleteFlowVersion.go.snap +++ b/service/bedrockagent/snapshot/api_op_DeleteFlowVersion.go.snap @@ -14,7 +14,6 @@ DeleteFlowVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_DeleteKnowledgeBase.go.snap b/service/bedrockagent/snapshot/api_op_DeleteKnowledgeBase.go.snap index c7aa91b3dcf..125e1b22706 100644 --- a/service/bedrockagent/snapshot/api_op_DeleteKnowledgeBase.go.snap +++ b/service/bedrockagent/snapshot/api_op_DeleteKnowledgeBase.go.snap @@ -14,7 +14,6 @@ DeleteKnowledgeBase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_DeleteKnowledgeBaseDocuments.go.snap b/service/bedrockagent/snapshot/api_op_DeleteKnowledgeBaseDocuments.go.snap index 645c586b5b7..f9a796eadc9 100644 --- a/service/bedrockagent/snapshot/api_op_DeleteKnowledgeBaseDocuments.go.snap +++ b/service/bedrockagent/snapshot/api_op_DeleteKnowledgeBaseDocuments.go.snap @@ -15,7 +15,6 @@ DeleteKnowledgeBaseDocuments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_DeletePrompt.go.snap b/service/bedrockagent/snapshot/api_op_DeletePrompt.go.snap index c5df7693bd0..e019e537785 100644 --- a/service/bedrockagent/snapshot/api_op_DeletePrompt.go.snap +++ b/service/bedrockagent/snapshot/api_op_DeletePrompt.go.snap @@ -14,7 +14,6 @@ DeletePrompt Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_DisassociateAgentCollaborator.go.snap b/service/bedrockagent/snapshot/api_op_DisassociateAgentCollaborator.go.snap index 4366da2dd4c..9ede4dda49c 100644 --- a/service/bedrockagent/snapshot/api_op_DisassociateAgentCollaborator.go.snap +++ b/service/bedrockagent/snapshot/api_op_DisassociateAgentCollaborator.go.snap @@ -14,7 +14,6 @@ DisassociateAgentCollaborator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_DisassociateAgentKnowledgeBase.go.snap b/service/bedrockagent/snapshot/api_op_DisassociateAgentKnowledgeBase.go.snap index 81887c28fbf..310f58255f0 100644 --- a/service/bedrockagent/snapshot/api_op_DisassociateAgentKnowledgeBase.go.snap +++ b/service/bedrockagent/snapshot/api_op_DisassociateAgentKnowledgeBase.go.snap @@ -14,7 +14,6 @@ DisassociateAgentKnowledgeBase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_GetAgent.go.snap b/service/bedrockagent/snapshot/api_op_GetAgent.go.snap index 0093f89ced3..c80855474d1 100644 --- a/service/bedrockagent/snapshot/api_op_GetAgent.go.snap +++ b/service/bedrockagent/snapshot/api_op_GetAgent.go.snap @@ -14,7 +14,6 @@ GetAgent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_GetAgentActionGroup.go.snap b/service/bedrockagent/snapshot/api_op_GetAgentActionGroup.go.snap index 3ed49ef93a7..3898b75a21f 100644 --- a/service/bedrockagent/snapshot/api_op_GetAgentActionGroup.go.snap +++ b/service/bedrockagent/snapshot/api_op_GetAgentActionGroup.go.snap @@ -14,7 +14,6 @@ GetAgentActionGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_GetAgentAlias.go.snap b/service/bedrockagent/snapshot/api_op_GetAgentAlias.go.snap index 93ee4330b29..ee13f1efbf0 100644 --- a/service/bedrockagent/snapshot/api_op_GetAgentAlias.go.snap +++ b/service/bedrockagent/snapshot/api_op_GetAgentAlias.go.snap @@ -14,7 +14,6 @@ GetAgentAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_GetAgentCollaborator.go.snap b/service/bedrockagent/snapshot/api_op_GetAgentCollaborator.go.snap index f35bc62e5bb..1bcc2837e72 100644 --- a/service/bedrockagent/snapshot/api_op_GetAgentCollaborator.go.snap +++ b/service/bedrockagent/snapshot/api_op_GetAgentCollaborator.go.snap @@ -14,7 +14,6 @@ GetAgentCollaborator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_GetAgentKnowledgeBase.go.snap b/service/bedrockagent/snapshot/api_op_GetAgentKnowledgeBase.go.snap index efef690aa9b..3c255ec8282 100644 --- a/service/bedrockagent/snapshot/api_op_GetAgentKnowledgeBase.go.snap +++ b/service/bedrockagent/snapshot/api_op_GetAgentKnowledgeBase.go.snap @@ -14,7 +14,6 @@ GetAgentKnowledgeBase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_GetAgentVersion.go.snap b/service/bedrockagent/snapshot/api_op_GetAgentVersion.go.snap index 9b2ab341f77..91870a7c329 100644 --- a/service/bedrockagent/snapshot/api_op_GetAgentVersion.go.snap +++ b/service/bedrockagent/snapshot/api_op_GetAgentVersion.go.snap @@ -14,7 +14,6 @@ GetAgentVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_GetDataSource.go.snap b/service/bedrockagent/snapshot/api_op_GetDataSource.go.snap index 02f70812fc1..710bc995cac 100644 --- a/service/bedrockagent/snapshot/api_op_GetDataSource.go.snap +++ b/service/bedrockagent/snapshot/api_op_GetDataSource.go.snap @@ -14,7 +14,6 @@ GetDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_GetFlow.go.snap b/service/bedrockagent/snapshot/api_op_GetFlow.go.snap index 434677913d6..27c62d2a316 100644 --- a/service/bedrockagent/snapshot/api_op_GetFlow.go.snap +++ b/service/bedrockagent/snapshot/api_op_GetFlow.go.snap @@ -14,7 +14,6 @@ GetFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_GetFlowAlias.go.snap b/service/bedrockagent/snapshot/api_op_GetFlowAlias.go.snap index 1585abfa55c..c70f3f2c62b 100644 --- a/service/bedrockagent/snapshot/api_op_GetFlowAlias.go.snap +++ b/service/bedrockagent/snapshot/api_op_GetFlowAlias.go.snap @@ -14,7 +14,6 @@ GetFlowAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_GetFlowVersion.go.snap b/service/bedrockagent/snapshot/api_op_GetFlowVersion.go.snap index b5f6d61bdbc..3d77b6b45b6 100644 --- a/service/bedrockagent/snapshot/api_op_GetFlowVersion.go.snap +++ b/service/bedrockagent/snapshot/api_op_GetFlowVersion.go.snap @@ -14,7 +14,6 @@ GetFlowVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_GetIngestionJob.go.snap b/service/bedrockagent/snapshot/api_op_GetIngestionJob.go.snap index c497a6ab841..30cf2ec4643 100644 --- a/service/bedrockagent/snapshot/api_op_GetIngestionJob.go.snap +++ b/service/bedrockagent/snapshot/api_op_GetIngestionJob.go.snap @@ -14,7 +14,6 @@ GetIngestionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_GetKnowledgeBase.go.snap b/service/bedrockagent/snapshot/api_op_GetKnowledgeBase.go.snap index 8e0eaee5f9f..3aa21a23981 100644 --- a/service/bedrockagent/snapshot/api_op_GetKnowledgeBase.go.snap +++ b/service/bedrockagent/snapshot/api_op_GetKnowledgeBase.go.snap @@ -14,7 +14,6 @@ GetKnowledgeBase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_GetKnowledgeBaseDocuments.go.snap b/service/bedrockagent/snapshot/api_op_GetKnowledgeBaseDocuments.go.snap index 5f9df5174b8..b7b24e5cfc4 100644 --- a/service/bedrockagent/snapshot/api_op_GetKnowledgeBaseDocuments.go.snap +++ b/service/bedrockagent/snapshot/api_op_GetKnowledgeBaseDocuments.go.snap @@ -14,7 +14,6 @@ GetKnowledgeBaseDocuments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_GetPrompt.go.snap b/service/bedrockagent/snapshot/api_op_GetPrompt.go.snap index 3cc1a6213fc..0d39dc07cef 100644 --- a/service/bedrockagent/snapshot/api_op_GetPrompt.go.snap +++ b/service/bedrockagent/snapshot/api_op_GetPrompt.go.snap @@ -14,7 +14,6 @@ GetPrompt Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_IngestKnowledgeBaseDocuments.go.snap b/service/bedrockagent/snapshot/api_op_IngestKnowledgeBaseDocuments.go.snap index 331b81b6c26..817b7f5bd06 100644 --- a/service/bedrockagent/snapshot/api_op_IngestKnowledgeBaseDocuments.go.snap +++ b/service/bedrockagent/snapshot/api_op_IngestKnowledgeBaseDocuments.go.snap @@ -15,7 +15,6 @@ IngestKnowledgeBaseDocuments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_ListAgentActionGroups.go.snap b/service/bedrockagent/snapshot/api_op_ListAgentActionGroups.go.snap index e87610c47f8..8f507da857b 100644 --- a/service/bedrockagent/snapshot/api_op_ListAgentActionGroups.go.snap +++ b/service/bedrockagent/snapshot/api_op_ListAgentActionGroups.go.snap @@ -14,7 +14,6 @@ ListAgentActionGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_ListAgentAliases.go.snap b/service/bedrockagent/snapshot/api_op_ListAgentAliases.go.snap index 587eef4da60..7378d5539cd 100644 --- a/service/bedrockagent/snapshot/api_op_ListAgentAliases.go.snap +++ b/service/bedrockagent/snapshot/api_op_ListAgentAliases.go.snap @@ -14,7 +14,6 @@ ListAgentAliases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_ListAgentCollaborators.go.snap b/service/bedrockagent/snapshot/api_op_ListAgentCollaborators.go.snap index 899f8f6029c..8e83369b1ec 100644 --- a/service/bedrockagent/snapshot/api_op_ListAgentCollaborators.go.snap +++ b/service/bedrockagent/snapshot/api_op_ListAgentCollaborators.go.snap @@ -14,7 +14,6 @@ ListAgentCollaborators Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_ListAgentKnowledgeBases.go.snap b/service/bedrockagent/snapshot/api_op_ListAgentKnowledgeBases.go.snap index 1d527fbf3f1..f710ddeb645 100644 --- a/service/bedrockagent/snapshot/api_op_ListAgentKnowledgeBases.go.snap +++ b/service/bedrockagent/snapshot/api_op_ListAgentKnowledgeBases.go.snap @@ -14,7 +14,6 @@ ListAgentKnowledgeBases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_ListAgentVersions.go.snap b/service/bedrockagent/snapshot/api_op_ListAgentVersions.go.snap index 311797f96d1..bb2112ce6a5 100644 --- a/service/bedrockagent/snapshot/api_op_ListAgentVersions.go.snap +++ b/service/bedrockagent/snapshot/api_op_ListAgentVersions.go.snap @@ -14,7 +14,6 @@ ListAgentVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_ListAgents.go.snap b/service/bedrockagent/snapshot/api_op_ListAgents.go.snap index ef1de45827e..9600644cd9e 100644 --- a/service/bedrockagent/snapshot/api_op_ListAgents.go.snap +++ b/service/bedrockagent/snapshot/api_op_ListAgents.go.snap @@ -13,7 +13,6 @@ ListAgents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_ListDataSources.go.snap b/service/bedrockagent/snapshot/api_op_ListDataSources.go.snap index c47a00675e6..2ef138c6eb5 100644 --- a/service/bedrockagent/snapshot/api_op_ListDataSources.go.snap +++ b/service/bedrockagent/snapshot/api_op_ListDataSources.go.snap @@ -14,7 +14,6 @@ ListDataSources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_ListFlowAliases.go.snap b/service/bedrockagent/snapshot/api_op_ListFlowAliases.go.snap index 5d527c2fc1b..c495cc9c305 100644 --- a/service/bedrockagent/snapshot/api_op_ListFlowAliases.go.snap +++ b/service/bedrockagent/snapshot/api_op_ListFlowAliases.go.snap @@ -14,7 +14,6 @@ ListFlowAliases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_ListFlowVersions.go.snap b/service/bedrockagent/snapshot/api_op_ListFlowVersions.go.snap index 30b5515c8f2..5f5474b1bfa 100644 --- a/service/bedrockagent/snapshot/api_op_ListFlowVersions.go.snap +++ b/service/bedrockagent/snapshot/api_op_ListFlowVersions.go.snap @@ -14,7 +14,6 @@ ListFlowVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_ListFlows.go.snap b/service/bedrockagent/snapshot/api_op_ListFlows.go.snap index 60dea0909f1..34a5034919c 100644 --- a/service/bedrockagent/snapshot/api_op_ListFlows.go.snap +++ b/service/bedrockagent/snapshot/api_op_ListFlows.go.snap @@ -13,7 +13,6 @@ ListFlows Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_ListIngestionJobs.go.snap b/service/bedrockagent/snapshot/api_op_ListIngestionJobs.go.snap index 7310b88aa4b..1d8c9bbdb31 100644 --- a/service/bedrockagent/snapshot/api_op_ListIngestionJobs.go.snap +++ b/service/bedrockagent/snapshot/api_op_ListIngestionJobs.go.snap @@ -14,7 +14,6 @@ ListIngestionJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_ListKnowledgeBaseDocuments.go.snap b/service/bedrockagent/snapshot/api_op_ListKnowledgeBaseDocuments.go.snap index 97871db133e..9959f5b3675 100644 --- a/service/bedrockagent/snapshot/api_op_ListKnowledgeBaseDocuments.go.snap +++ b/service/bedrockagent/snapshot/api_op_ListKnowledgeBaseDocuments.go.snap @@ -14,7 +14,6 @@ ListKnowledgeBaseDocuments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_ListKnowledgeBases.go.snap b/service/bedrockagent/snapshot/api_op_ListKnowledgeBases.go.snap index 7d3f985be30..9d6991f7a7e 100644 --- a/service/bedrockagent/snapshot/api_op_ListKnowledgeBases.go.snap +++ b/service/bedrockagent/snapshot/api_op_ListKnowledgeBases.go.snap @@ -13,7 +13,6 @@ ListKnowledgeBases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_ListPrompts.go.snap b/service/bedrockagent/snapshot/api_op_ListPrompts.go.snap index b2fb51fbb79..a41b837f756 100644 --- a/service/bedrockagent/snapshot/api_op_ListPrompts.go.snap +++ b/service/bedrockagent/snapshot/api_op_ListPrompts.go.snap @@ -13,7 +13,6 @@ ListPrompts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_ListTagsForResource.go.snap b/service/bedrockagent/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/bedrockagent/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/bedrockagent/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_PrepareAgent.go.snap b/service/bedrockagent/snapshot/api_op_PrepareAgent.go.snap index bfd4c80bc9d..aab51268ccb 100644 --- a/service/bedrockagent/snapshot/api_op_PrepareAgent.go.snap +++ b/service/bedrockagent/snapshot/api_op_PrepareAgent.go.snap @@ -14,7 +14,6 @@ PrepareAgent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_PrepareFlow.go.snap b/service/bedrockagent/snapshot/api_op_PrepareFlow.go.snap index 96f5a74c94d..abbdab0434e 100644 --- a/service/bedrockagent/snapshot/api_op_PrepareFlow.go.snap +++ b/service/bedrockagent/snapshot/api_op_PrepareFlow.go.snap @@ -14,7 +14,6 @@ PrepareFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_StartIngestionJob.go.snap b/service/bedrockagent/snapshot/api_op_StartIngestionJob.go.snap index dad492d0430..5155f62356e 100644 --- a/service/bedrockagent/snapshot/api_op_StartIngestionJob.go.snap +++ b/service/bedrockagent/snapshot/api_op_StartIngestionJob.go.snap @@ -15,7 +15,6 @@ StartIngestionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_StopIngestionJob.go.snap b/service/bedrockagent/snapshot/api_op_StopIngestionJob.go.snap index 1524a85dd4e..0681f4596c6 100644 --- a/service/bedrockagent/snapshot/api_op_StopIngestionJob.go.snap +++ b/service/bedrockagent/snapshot/api_op_StopIngestionJob.go.snap @@ -14,7 +14,6 @@ StopIngestionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_TagResource.go.snap b/service/bedrockagent/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/bedrockagent/snapshot/api_op_TagResource.go.snap +++ b/service/bedrockagent/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_UntagResource.go.snap b/service/bedrockagent/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/bedrockagent/snapshot/api_op_UntagResource.go.snap +++ b/service/bedrockagent/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_UpdateAgent.go.snap b/service/bedrockagent/snapshot/api_op_UpdateAgent.go.snap index 3edc2d4ef12..78c7ae68e9d 100644 --- a/service/bedrockagent/snapshot/api_op_UpdateAgent.go.snap +++ b/service/bedrockagent/snapshot/api_op_UpdateAgent.go.snap @@ -14,7 +14,6 @@ UpdateAgent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_UpdateAgentActionGroup.go.snap b/service/bedrockagent/snapshot/api_op_UpdateAgentActionGroup.go.snap index debc034b361..b3de1dd006b 100644 --- a/service/bedrockagent/snapshot/api_op_UpdateAgentActionGroup.go.snap +++ b/service/bedrockagent/snapshot/api_op_UpdateAgentActionGroup.go.snap @@ -14,7 +14,6 @@ UpdateAgentActionGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_UpdateAgentAlias.go.snap b/service/bedrockagent/snapshot/api_op_UpdateAgentAlias.go.snap index 246e92b890f..af23f7cc551 100644 --- a/service/bedrockagent/snapshot/api_op_UpdateAgentAlias.go.snap +++ b/service/bedrockagent/snapshot/api_op_UpdateAgentAlias.go.snap @@ -14,7 +14,6 @@ UpdateAgentAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_UpdateAgentCollaborator.go.snap b/service/bedrockagent/snapshot/api_op_UpdateAgentCollaborator.go.snap index ee12f7276f3..34ff03eb588 100644 --- a/service/bedrockagent/snapshot/api_op_UpdateAgentCollaborator.go.snap +++ b/service/bedrockagent/snapshot/api_op_UpdateAgentCollaborator.go.snap @@ -14,7 +14,6 @@ UpdateAgentCollaborator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_UpdateAgentKnowledgeBase.go.snap b/service/bedrockagent/snapshot/api_op_UpdateAgentKnowledgeBase.go.snap index 2fe7713a569..6e3b8d9c949 100644 --- a/service/bedrockagent/snapshot/api_op_UpdateAgentKnowledgeBase.go.snap +++ b/service/bedrockagent/snapshot/api_op_UpdateAgentKnowledgeBase.go.snap @@ -14,7 +14,6 @@ UpdateAgentKnowledgeBase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_UpdateDataSource.go.snap b/service/bedrockagent/snapshot/api_op_UpdateDataSource.go.snap index 7c4d5cf15b4..02ae762c076 100644 --- a/service/bedrockagent/snapshot/api_op_UpdateDataSource.go.snap +++ b/service/bedrockagent/snapshot/api_op_UpdateDataSource.go.snap @@ -14,7 +14,6 @@ UpdateDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_UpdateFlow.go.snap b/service/bedrockagent/snapshot/api_op_UpdateFlow.go.snap index 57d21f51dba..fa7e770e94c 100644 --- a/service/bedrockagent/snapshot/api_op_UpdateFlow.go.snap +++ b/service/bedrockagent/snapshot/api_op_UpdateFlow.go.snap @@ -14,7 +14,6 @@ UpdateFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_UpdateFlowAlias.go.snap b/service/bedrockagent/snapshot/api_op_UpdateFlowAlias.go.snap index b73660996b5..82770b8e159 100644 --- a/service/bedrockagent/snapshot/api_op_UpdateFlowAlias.go.snap +++ b/service/bedrockagent/snapshot/api_op_UpdateFlowAlias.go.snap @@ -14,7 +14,6 @@ UpdateFlowAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_UpdateKnowledgeBase.go.snap b/service/bedrockagent/snapshot/api_op_UpdateKnowledgeBase.go.snap index 2f002581ed9..d540c0f3917 100644 --- a/service/bedrockagent/snapshot/api_op_UpdateKnowledgeBase.go.snap +++ b/service/bedrockagent/snapshot/api_op_UpdateKnowledgeBase.go.snap @@ -14,7 +14,6 @@ UpdateKnowledgeBase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_UpdatePrompt.go.snap b/service/bedrockagent/snapshot/api_op_UpdatePrompt.go.snap index e31eb61b548..c2c03cce58f 100644 --- a/service/bedrockagent/snapshot/api_op_UpdatePrompt.go.snap +++ b/service/bedrockagent/snapshot/api_op_UpdatePrompt.go.snap @@ -14,7 +14,6 @@ UpdatePrompt Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagent/snapshot/api_op_ValidateFlowDefinition.go.snap b/service/bedrockagent/snapshot/api_op_ValidateFlowDefinition.go.snap index b0f05ff89f3..2a7298cb768 100644 --- a/service/bedrockagent/snapshot/api_op_ValidateFlowDefinition.go.snap +++ b/service/bedrockagent/snapshot/api_op_ValidateFlowDefinition.go.snap @@ -14,7 +14,6 @@ ValidateFlowDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagentruntime/api_client.go b/service/bedrockagentruntime/api_client.go index 048a1406e16..7aea1da7579 100644 --- a/service/bedrockagentruntime/api_client.go +++ b/service/bedrockagentruntime/api_client.go @@ -764,37 +764,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/bedrockagentruntime/api_op_DeleteAgentMemory.go b/service/bedrockagentruntime/api_op_DeleteAgentMemory.go index 72570b4b028..36a35a12800 100644 --- a/service/bedrockagentruntime/api_op_DeleteAgentMemory.go +++ b/service/bedrockagentruntime/api_op_DeleteAgentMemory.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteAgentMemoryMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAgentMemoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagentruntime/api_op_GenerateQuery.go b/service/bedrockagentruntime/api_op_GenerateQuery.go index cb22b127e5c..9c8161492b8 100644 --- a/service/bedrockagentruntime/api_op_GenerateQuery.go +++ b/service/bedrockagentruntime/api_op_GenerateQuery.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGenerateQueryMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGenerateQueryValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagentruntime/api_op_GetAgentMemory.go b/service/bedrockagentruntime/api_op_GetAgentMemory.go index e2b6b469886..13fff81791b 100644 --- a/service/bedrockagentruntime/api_op_GetAgentMemory.go +++ b/service/bedrockagentruntime/api_op_GetAgentMemory.go @@ -143,9 +143,6 @@ func (c *Client) addOperationGetAgentMemoryMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAgentMemoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagentruntime/api_op_InvokeAgent.go b/service/bedrockagentruntime/api_op_InvokeAgent.go index 997f61445f3..3f28db1908e 100644 --- a/service/bedrockagentruntime/api_op_InvokeAgent.go +++ b/service/bedrockagentruntime/api_op_InvokeAgent.go @@ -220,9 +220,6 @@ func (c *Client) addOperationInvokeAgentMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpInvokeAgentValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagentruntime/api_op_InvokeFlow.go b/service/bedrockagentruntime/api_op_InvokeFlow.go index 86737149b15..d82c4495efa 100644 --- a/service/bedrockagentruntime/api_op_InvokeFlow.go +++ b/service/bedrockagentruntime/api_op_InvokeFlow.go @@ -148,9 +148,6 @@ func (c *Client) addOperationInvokeFlowMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpInvokeFlowValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagentruntime/api_op_InvokeInlineAgent.go b/service/bedrockagentruntime/api_op_InvokeInlineAgent.go index eb94d2c5a86..24337e3d887 100644 --- a/service/bedrockagentruntime/api_op_InvokeInlineAgent.go +++ b/service/bedrockagentruntime/api_op_InvokeInlineAgent.go @@ -225,9 +225,6 @@ func (c *Client) addOperationInvokeInlineAgentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpInvokeInlineAgentValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagentruntime/api_op_OptimizePrompt.go b/service/bedrockagentruntime/api_op_OptimizePrompt.go index a4028a9fa25..918e364306a 100644 --- a/service/bedrockagentruntime/api_op_OptimizePrompt.go +++ b/service/bedrockagentruntime/api_op_OptimizePrompt.go @@ -122,9 +122,6 @@ func (c *Client) addOperationOptimizePromptMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpOptimizePromptValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagentruntime/api_op_Rerank.go b/service/bedrockagentruntime/api_op_Rerank.go index aed03c4ff22..705ea3af08c 100644 --- a/service/bedrockagentruntime/api_op_Rerank.go +++ b/service/bedrockagentruntime/api_op_Rerank.go @@ -139,9 +139,6 @@ func (c *Client) addOperationRerankMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRerankValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagentruntime/api_op_Retrieve.go b/service/bedrockagentruntime/api_op_Retrieve.go index a5f024b4bf6..fc4bd09de57 100644 --- a/service/bedrockagentruntime/api_op_Retrieve.go +++ b/service/bedrockagentruntime/api_op_Retrieve.go @@ -141,9 +141,6 @@ func (c *Client) addOperationRetrieveMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRetrieveValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagentruntime/api_op_RetrieveAndGenerate.go b/service/bedrockagentruntime/api_op_RetrieveAndGenerate.go index fd5fa2841e9..55345c1eb83 100644 --- a/service/bedrockagentruntime/api_op_RetrieveAndGenerate.go +++ b/service/bedrockagentruntime/api_op_RetrieveAndGenerate.go @@ -150,9 +150,6 @@ func (c *Client) addOperationRetrieveAndGenerateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRetrieveAndGenerateValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagentruntime/api_op_RetrieveAndGenerateStream.go b/service/bedrockagentruntime/api_op_RetrieveAndGenerateStream.go index 67bce389b51..b846c927939 100644 --- a/service/bedrockagentruntime/api_op_RetrieveAndGenerateStream.go +++ b/service/bedrockagentruntime/api_op_RetrieveAndGenerateStream.go @@ -141,9 +141,6 @@ func (c *Client) addOperationRetrieveAndGenerateStreamMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRetrieveAndGenerateStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockagentruntime/snapshot/api_op_DeleteAgentMemory.go.snap b/service/bedrockagentruntime/snapshot/api_op_DeleteAgentMemory.go.snap index a181e063830..87e66890808 100644 --- a/service/bedrockagentruntime/snapshot/api_op_DeleteAgentMemory.go.snap +++ b/service/bedrockagentruntime/snapshot/api_op_DeleteAgentMemory.go.snap @@ -14,7 +14,6 @@ DeleteAgentMemory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagentruntime/snapshot/api_op_GenerateQuery.go.snap b/service/bedrockagentruntime/snapshot/api_op_GenerateQuery.go.snap index 15a45bcddeb..d8dabc81d59 100644 --- a/service/bedrockagentruntime/snapshot/api_op_GenerateQuery.go.snap +++ b/service/bedrockagentruntime/snapshot/api_op_GenerateQuery.go.snap @@ -14,7 +14,6 @@ GenerateQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagentruntime/snapshot/api_op_GetAgentMemory.go.snap b/service/bedrockagentruntime/snapshot/api_op_GetAgentMemory.go.snap index 08d7b6c14e6..699e54d3892 100644 --- a/service/bedrockagentruntime/snapshot/api_op_GetAgentMemory.go.snap +++ b/service/bedrockagentruntime/snapshot/api_op_GetAgentMemory.go.snap @@ -14,7 +14,6 @@ GetAgentMemory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagentruntime/snapshot/api_op_InvokeAgent.go.snap b/service/bedrockagentruntime/snapshot/api_op_InvokeAgent.go.snap index ef942bddae0..bb61226b772 100644 --- a/service/bedrockagentruntime/snapshot/api_op_InvokeAgent.go.snap +++ b/service/bedrockagentruntime/snapshot/api_op_InvokeAgent.go.snap @@ -14,7 +14,6 @@ InvokeAgent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagentruntime/snapshot/api_op_InvokeFlow.go.snap b/service/bedrockagentruntime/snapshot/api_op_InvokeFlow.go.snap index 1d2b9c509aa..ea50c04d3cd 100644 --- a/service/bedrockagentruntime/snapshot/api_op_InvokeFlow.go.snap +++ b/service/bedrockagentruntime/snapshot/api_op_InvokeFlow.go.snap @@ -14,7 +14,6 @@ InvokeFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagentruntime/snapshot/api_op_InvokeInlineAgent.go.snap b/service/bedrockagentruntime/snapshot/api_op_InvokeInlineAgent.go.snap index ebecc402a5e..ca19648a179 100644 --- a/service/bedrockagentruntime/snapshot/api_op_InvokeInlineAgent.go.snap +++ b/service/bedrockagentruntime/snapshot/api_op_InvokeInlineAgent.go.snap @@ -14,7 +14,6 @@ InvokeInlineAgent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagentruntime/snapshot/api_op_OptimizePrompt.go.snap b/service/bedrockagentruntime/snapshot/api_op_OptimizePrompt.go.snap index eaf02e39c23..37d7663397e 100644 --- a/service/bedrockagentruntime/snapshot/api_op_OptimizePrompt.go.snap +++ b/service/bedrockagentruntime/snapshot/api_op_OptimizePrompt.go.snap @@ -14,7 +14,6 @@ OptimizePrompt Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagentruntime/snapshot/api_op_Rerank.go.snap b/service/bedrockagentruntime/snapshot/api_op_Rerank.go.snap index e33591c715b..b2081a890b7 100644 --- a/service/bedrockagentruntime/snapshot/api_op_Rerank.go.snap +++ b/service/bedrockagentruntime/snapshot/api_op_Rerank.go.snap @@ -14,7 +14,6 @@ Rerank Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagentruntime/snapshot/api_op_Retrieve.go.snap b/service/bedrockagentruntime/snapshot/api_op_Retrieve.go.snap index eb9e00cf928..265075ecbde 100644 --- a/service/bedrockagentruntime/snapshot/api_op_Retrieve.go.snap +++ b/service/bedrockagentruntime/snapshot/api_op_Retrieve.go.snap @@ -14,7 +14,6 @@ Retrieve Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagentruntime/snapshot/api_op_RetrieveAndGenerate.go.snap b/service/bedrockagentruntime/snapshot/api_op_RetrieveAndGenerate.go.snap index 6392b5b04c9..c3feccf77af 100644 --- a/service/bedrockagentruntime/snapshot/api_op_RetrieveAndGenerate.go.snap +++ b/service/bedrockagentruntime/snapshot/api_op_RetrieveAndGenerate.go.snap @@ -14,7 +14,6 @@ RetrieveAndGenerate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockagentruntime/snapshot/api_op_RetrieveAndGenerateStream.go.snap b/service/bedrockagentruntime/snapshot/api_op_RetrieveAndGenerateStream.go.snap index 572ccebf882..ee2dd84ba83 100644 --- a/service/bedrockagentruntime/snapshot/api_op_RetrieveAndGenerateStream.go.snap +++ b/service/bedrockagentruntime/snapshot/api_op_RetrieveAndGenerateStream.go.snap @@ -14,7 +14,6 @@ RetrieveAndGenerateStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockdataautomation/api_client.go b/service/bedrockdataautomation/api_client.go index 98e806c1675..c7ed8d5dc48 100644 --- a/service/bedrockdataautomation/api_client.go +++ b/service/bedrockdataautomation/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/bedrockdataautomation/api_op_CreateBlueprint.go b/service/bedrockdataautomation/api_op_CreateBlueprint.go index c14f86165a6..878867747d2 100644 --- a/service/bedrockdataautomation/api_op_CreateBlueprint.go +++ b/service/bedrockdataautomation/api_op_CreateBlueprint.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateBlueprintMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateBlueprintMiddleware(stack, options); err != nil { return err } diff --git a/service/bedrockdataautomation/api_op_CreateBlueprintVersion.go b/service/bedrockdataautomation/api_op_CreateBlueprintVersion.go index cbafb532408..50b4f950583 100644 --- a/service/bedrockdataautomation/api_op_CreateBlueprintVersion.go +++ b/service/bedrockdataautomation/api_op_CreateBlueprintVersion.go @@ -119,9 +119,6 @@ func (c *Client) addOperationCreateBlueprintVersionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateBlueprintVersionMiddleware(stack, options); err != nil { return err } diff --git a/service/bedrockdataautomation/api_op_CreateDataAutomationProject.go b/service/bedrockdataautomation/api_op_CreateDataAutomationProject.go index c3cefdd6874..727f46c37ed 100644 --- a/service/bedrockdataautomation/api_op_CreateDataAutomationProject.go +++ b/service/bedrockdataautomation/api_op_CreateDataAutomationProject.go @@ -145,9 +145,6 @@ func (c *Client) addOperationCreateDataAutomationProjectMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDataAutomationProjectMiddleware(stack, options); err != nil { return err } diff --git a/service/bedrockdataautomation/api_op_DeleteBlueprint.go b/service/bedrockdataautomation/api_op_DeleteBlueprint.go index e1ff5eee125..3d0740247a0 100644 --- a/service/bedrockdataautomation/api_op_DeleteBlueprint.go +++ b/service/bedrockdataautomation/api_op_DeleteBlueprint.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteBlueprintMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBlueprintValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockdataautomation/api_op_DeleteDataAutomationProject.go b/service/bedrockdataautomation/api_op_DeleteDataAutomationProject.go index 7c7ffcf2c75..5b6eccfbc93 100644 --- a/service/bedrockdataautomation/api_op_DeleteDataAutomationProject.go +++ b/service/bedrockdataautomation/api_op_DeleteDataAutomationProject.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteDataAutomationProjectMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDataAutomationProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockdataautomation/api_op_GetBlueprint.go b/service/bedrockdataautomation/api_op_GetBlueprint.go index 2b119835392..c79929c15a4 100644 --- a/service/bedrockdataautomation/api_op_GetBlueprint.go +++ b/service/bedrockdataautomation/api_op_GetBlueprint.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetBlueprintMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBlueprintValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockdataautomation/api_op_GetDataAutomationProject.go b/service/bedrockdataautomation/api_op_GetDataAutomationProject.go index f90581ce5c3..4761e945c66 100644 --- a/service/bedrockdataautomation/api_op_GetDataAutomationProject.go +++ b/service/bedrockdataautomation/api_op_GetDataAutomationProject.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetDataAutomationProjectMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataAutomationProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockdataautomation/api_op_ListBlueprints.go b/service/bedrockdataautomation/api_op_ListBlueprints.go index 166b1b9b5e1..55694f0121a 100644 --- a/service/bedrockdataautomation/api_op_ListBlueprints.go +++ b/service/bedrockdataautomation/api_op_ListBlueprints.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListBlueprintsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBlueprintsValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockdataautomation/api_op_ListDataAutomationProjects.go b/service/bedrockdataautomation/api_op_ListDataAutomationProjects.go index 84f259ace70..9a274e50858 100644 --- a/service/bedrockdataautomation/api_op_ListDataAutomationProjects.go +++ b/service/bedrockdataautomation/api_op_ListDataAutomationProjects.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListDataAutomationProjectsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDataAutomationProjectsValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockdataautomation/api_op_UpdateBlueprint.go b/service/bedrockdataautomation/api_op_UpdateBlueprint.go index c5e27c164bd..27068268a0e 100644 --- a/service/bedrockdataautomation/api_op_UpdateBlueprint.go +++ b/service/bedrockdataautomation/api_op_UpdateBlueprint.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateBlueprintMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBlueprintValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockdataautomation/api_op_UpdateDataAutomationProject.go b/service/bedrockdataautomation/api_op_UpdateDataAutomationProject.go index ffab21429f8..7fa61b99954 100644 --- a/service/bedrockdataautomation/api_op_UpdateDataAutomationProject.go +++ b/service/bedrockdataautomation/api_op_UpdateDataAutomationProject.go @@ -139,9 +139,6 @@ func (c *Client) addOperationUpdateDataAutomationProjectMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDataAutomationProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockdataautomation/snapshot/api_op_CreateBlueprint.go.snap b/service/bedrockdataautomation/snapshot/api_op_CreateBlueprint.go.snap index e5115e0cc40..cffe74e32ff 100644 --- a/service/bedrockdataautomation/snapshot/api_op_CreateBlueprint.go.snap +++ b/service/bedrockdataautomation/snapshot/api_op_CreateBlueprint.go.snap @@ -15,7 +15,6 @@ CreateBlueprint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockdataautomation/snapshot/api_op_CreateBlueprintVersion.go.snap b/service/bedrockdataautomation/snapshot/api_op_CreateBlueprintVersion.go.snap index e13bb252cd0..03b9e2ecac8 100644 --- a/service/bedrockdataautomation/snapshot/api_op_CreateBlueprintVersion.go.snap +++ b/service/bedrockdataautomation/snapshot/api_op_CreateBlueprintVersion.go.snap @@ -15,7 +15,6 @@ CreateBlueprintVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockdataautomation/snapshot/api_op_CreateDataAutomationProject.go.snap b/service/bedrockdataautomation/snapshot/api_op_CreateDataAutomationProject.go.snap index 115652b54c2..238f694ff57 100644 --- a/service/bedrockdataautomation/snapshot/api_op_CreateDataAutomationProject.go.snap +++ b/service/bedrockdataautomation/snapshot/api_op_CreateDataAutomationProject.go.snap @@ -15,7 +15,6 @@ CreateDataAutomationProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockdataautomation/snapshot/api_op_DeleteBlueprint.go.snap b/service/bedrockdataautomation/snapshot/api_op_DeleteBlueprint.go.snap index 62649f39806..70012d0a8d4 100644 --- a/service/bedrockdataautomation/snapshot/api_op_DeleteBlueprint.go.snap +++ b/service/bedrockdataautomation/snapshot/api_op_DeleteBlueprint.go.snap @@ -14,7 +14,6 @@ DeleteBlueprint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockdataautomation/snapshot/api_op_DeleteDataAutomationProject.go.snap b/service/bedrockdataautomation/snapshot/api_op_DeleteDataAutomationProject.go.snap index ea065954338..3b3fd8da7ac 100644 --- a/service/bedrockdataautomation/snapshot/api_op_DeleteDataAutomationProject.go.snap +++ b/service/bedrockdataautomation/snapshot/api_op_DeleteDataAutomationProject.go.snap @@ -14,7 +14,6 @@ DeleteDataAutomationProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockdataautomation/snapshot/api_op_GetBlueprint.go.snap b/service/bedrockdataautomation/snapshot/api_op_GetBlueprint.go.snap index 6924ca8a598..fb6b7393901 100644 --- a/service/bedrockdataautomation/snapshot/api_op_GetBlueprint.go.snap +++ b/service/bedrockdataautomation/snapshot/api_op_GetBlueprint.go.snap @@ -14,7 +14,6 @@ GetBlueprint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockdataautomation/snapshot/api_op_GetDataAutomationProject.go.snap b/service/bedrockdataautomation/snapshot/api_op_GetDataAutomationProject.go.snap index 68e5efd39de..15766b6ee39 100644 --- a/service/bedrockdataautomation/snapshot/api_op_GetDataAutomationProject.go.snap +++ b/service/bedrockdataautomation/snapshot/api_op_GetDataAutomationProject.go.snap @@ -14,7 +14,6 @@ GetDataAutomationProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockdataautomation/snapshot/api_op_ListBlueprints.go.snap b/service/bedrockdataautomation/snapshot/api_op_ListBlueprints.go.snap index 5532ba22589..7d81d214aec 100644 --- a/service/bedrockdataautomation/snapshot/api_op_ListBlueprints.go.snap +++ b/service/bedrockdataautomation/snapshot/api_op_ListBlueprints.go.snap @@ -14,7 +14,6 @@ ListBlueprints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockdataautomation/snapshot/api_op_ListDataAutomationProjects.go.snap b/service/bedrockdataautomation/snapshot/api_op_ListDataAutomationProjects.go.snap index c6450d13231..01e0ef988c1 100644 --- a/service/bedrockdataautomation/snapshot/api_op_ListDataAutomationProjects.go.snap +++ b/service/bedrockdataautomation/snapshot/api_op_ListDataAutomationProjects.go.snap @@ -14,7 +14,6 @@ ListDataAutomationProjects Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockdataautomation/snapshot/api_op_UpdateBlueprint.go.snap b/service/bedrockdataautomation/snapshot/api_op_UpdateBlueprint.go.snap index 868e18ba433..2d6d8ec995c 100644 --- a/service/bedrockdataautomation/snapshot/api_op_UpdateBlueprint.go.snap +++ b/service/bedrockdataautomation/snapshot/api_op_UpdateBlueprint.go.snap @@ -14,7 +14,6 @@ UpdateBlueprint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockdataautomation/snapshot/api_op_UpdateDataAutomationProject.go.snap b/service/bedrockdataautomation/snapshot/api_op_UpdateDataAutomationProject.go.snap index d517bf9e638..592929849b4 100644 --- a/service/bedrockdataautomation/snapshot/api_op_UpdateDataAutomationProject.go.snap +++ b/service/bedrockdataautomation/snapshot/api_op_UpdateDataAutomationProject.go.snap @@ -14,7 +14,6 @@ UpdateDataAutomationProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockdataautomationruntime/api_client.go b/service/bedrockdataautomationruntime/api_client.go index c042e3778b8..8de30721ce0 100644 --- a/service/bedrockdataautomationruntime/api_client.go +++ b/service/bedrockdataautomationruntime/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/bedrockdataautomationruntime/api_op_GetDataAutomationStatus.go b/service/bedrockdataautomationruntime/api_op_GetDataAutomationStatus.go index d52c1cdf1fe..92678018ef0 100644 --- a/service/bedrockdataautomationruntime/api_op_GetDataAutomationStatus.go +++ b/service/bedrockdataautomationruntime/api_op_GetDataAutomationStatus.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetDataAutomationStatusMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataAutomationStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockdataautomationruntime/api_op_InvokeDataAutomationAsync.go b/service/bedrockdataautomationruntime/api_op_InvokeDataAutomationAsync.go index 545ea4e2c3c..f4d972c3fc7 100644 --- a/service/bedrockdataautomationruntime/api_op_InvokeDataAutomationAsync.go +++ b/service/bedrockdataautomationruntime/api_op_InvokeDataAutomationAsync.go @@ -136,9 +136,6 @@ func (c *Client) addOperationInvokeDataAutomationAsyncMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opInvokeDataAutomationAsyncMiddleware(stack, options); err != nil { return err } diff --git a/service/bedrockdataautomationruntime/snapshot/api_op_GetDataAutomationStatus.go.snap b/service/bedrockdataautomationruntime/snapshot/api_op_GetDataAutomationStatus.go.snap index c5815d2b0f9..c6cd9758b02 100644 --- a/service/bedrockdataautomationruntime/snapshot/api_op_GetDataAutomationStatus.go.snap +++ b/service/bedrockdataautomationruntime/snapshot/api_op_GetDataAutomationStatus.go.snap @@ -14,7 +14,6 @@ GetDataAutomationStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockdataautomationruntime/snapshot/api_op_InvokeDataAutomationAsync.go.snap b/service/bedrockdataautomationruntime/snapshot/api_op_InvokeDataAutomationAsync.go.snap index 80602fe5a60..74a2ea9c728 100644 --- a/service/bedrockdataautomationruntime/snapshot/api_op_InvokeDataAutomationAsync.go.snap +++ b/service/bedrockdataautomationruntime/snapshot/api_op_InvokeDataAutomationAsync.go.snap @@ -15,7 +15,6 @@ InvokeDataAutomationAsync Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockruntime/api_client.go b/service/bedrockruntime/api_client.go index b990221c6f6..53afca875cb 100644 --- a/service/bedrockruntime/api_client.go +++ b/service/bedrockruntime/api_client.go @@ -775,37 +775,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/bedrockruntime/api_op_ApplyGuardrail.go b/service/bedrockruntime/api_op_ApplyGuardrail.go index 1b79791d7ae..ad8f96056a8 100644 --- a/service/bedrockruntime/api_op_ApplyGuardrail.go +++ b/service/bedrockruntime/api_op_ApplyGuardrail.go @@ -152,9 +152,6 @@ func (c *Client) addOperationApplyGuardrailMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpApplyGuardrailValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockruntime/api_op_Converse.go b/service/bedrockruntime/api_op_Converse.go index c18c91089d9..381c75d1735 100644 --- a/service/bedrockruntime/api_op_Converse.go +++ b/service/bedrockruntime/api_op_Converse.go @@ -271,9 +271,6 @@ func (c *Client) addOperationConverseMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpConverseValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockruntime/api_op_ConverseStream.go b/service/bedrockruntime/api_op_ConverseStream.go index a2b40e83d77..c13319a2117 100644 --- a/service/bedrockruntime/api_op_ConverseStream.go +++ b/service/bedrockruntime/api_op_ConverseStream.go @@ -254,9 +254,6 @@ func (c *Client) addOperationConverseStreamMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpConverseStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockruntime/api_op_GetAsyncInvoke.go b/service/bedrockruntime/api_op_GetAsyncInvoke.go index bfb895ef576..a90567b14cc 100644 --- a/service/bedrockruntime/api_op_GetAsyncInvoke.go +++ b/service/bedrockruntime/api_op_GetAsyncInvoke.go @@ -147,9 +147,6 @@ func (c *Client) addOperationGetAsyncInvokeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAsyncInvokeValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockruntime/api_op_InvokeModel.go b/service/bedrockruntime/api_op_InvokeModel.go index ba72c7479ca..e4b63131953 100644 --- a/service/bedrockruntime/api_op_InvokeModel.go +++ b/service/bedrockruntime/api_op_InvokeModel.go @@ -214,9 +214,6 @@ func (c *Client) addOperationInvokeModelMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpInvokeModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockruntime/api_op_InvokeModelWithResponseStream.go b/service/bedrockruntime/api_op_InvokeModelWithResponseStream.go index 397c8e53ef8..193a843ec54 100644 --- a/service/bedrockruntime/api_op_InvokeModelWithResponseStream.go +++ b/service/bedrockruntime/api_op_InvokeModelWithResponseStream.go @@ -218,9 +218,6 @@ func (c *Client) addOperationInvokeModelWithResponseStreamMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpInvokeModelWithResponseStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/bedrockruntime/api_op_ListAsyncInvokes.go b/service/bedrockruntime/api_op_ListAsyncInvokes.go index 11f88e06fec..eaaaea6ef05 100644 --- a/service/bedrockruntime/api_op_ListAsyncInvokes.go +++ b/service/bedrockruntime/api_op_ListAsyncInvokes.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListAsyncInvokesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAsyncInvokes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/bedrockruntime/api_op_StartAsyncInvoke.go b/service/bedrockruntime/api_op_StartAsyncInvoke.go index fb13f445fa5..965ace47e8c 100644 --- a/service/bedrockruntime/api_op_StartAsyncInvoke.go +++ b/service/bedrockruntime/api_op_StartAsyncInvoke.go @@ -143,9 +143,6 @@ func (c *Client) addOperationStartAsyncInvokeMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartAsyncInvokeMiddleware(stack, options); err != nil { return err } diff --git a/service/bedrockruntime/snapshot/api_op_ApplyGuardrail.go.snap b/service/bedrockruntime/snapshot/api_op_ApplyGuardrail.go.snap index 25c62c7f237..4f64472703f 100644 --- a/service/bedrockruntime/snapshot/api_op_ApplyGuardrail.go.snap +++ b/service/bedrockruntime/snapshot/api_op_ApplyGuardrail.go.snap @@ -14,7 +14,6 @@ ApplyGuardrail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockruntime/snapshot/api_op_Converse.go.snap b/service/bedrockruntime/snapshot/api_op_Converse.go.snap index f6f4e89c070..20eee186525 100644 --- a/service/bedrockruntime/snapshot/api_op_Converse.go.snap +++ b/service/bedrockruntime/snapshot/api_op_Converse.go.snap @@ -14,7 +14,6 @@ Converse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockruntime/snapshot/api_op_ConverseStream.go.snap b/service/bedrockruntime/snapshot/api_op_ConverseStream.go.snap index e470d34b111..22513b7d17b 100644 --- a/service/bedrockruntime/snapshot/api_op_ConverseStream.go.snap +++ b/service/bedrockruntime/snapshot/api_op_ConverseStream.go.snap @@ -14,7 +14,6 @@ ConverseStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockruntime/snapshot/api_op_GetAsyncInvoke.go.snap b/service/bedrockruntime/snapshot/api_op_GetAsyncInvoke.go.snap index b45fb4ccb99..0e320c2b932 100644 --- a/service/bedrockruntime/snapshot/api_op_GetAsyncInvoke.go.snap +++ b/service/bedrockruntime/snapshot/api_op_GetAsyncInvoke.go.snap @@ -14,7 +14,6 @@ GetAsyncInvoke Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockruntime/snapshot/api_op_InvokeModel.go.snap b/service/bedrockruntime/snapshot/api_op_InvokeModel.go.snap index 320f9bdae78..62d1e02e2c8 100644 --- a/service/bedrockruntime/snapshot/api_op_InvokeModel.go.snap +++ b/service/bedrockruntime/snapshot/api_op_InvokeModel.go.snap @@ -14,7 +14,6 @@ InvokeModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockruntime/snapshot/api_op_InvokeModelWithResponseStream.go.snap b/service/bedrockruntime/snapshot/api_op_InvokeModelWithResponseStream.go.snap index e3c3b1ed2f3..a5cc7ce175a 100644 --- a/service/bedrockruntime/snapshot/api_op_InvokeModelWithResponseStream.go.snap +++ b/service/bedrockruntime/snapshot/api_op_InvokeModelWithResponseStream.go.snap @@ -14,7 +14,6 @@ InvokeModelWithResponseStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockruntime/snapshot/api_op_ListAsyncInvokes.go.snap b/service/bedrockruntime/snapshot/api_op_ListAsyncInvokes.go.snap index ae6705c81a2..70d8b6e0d96 100644 --- a/service/bedrockruntime/snapshot/api_op_ListAsyncInvokes.go.snap +++ b/service/bedrockruntime/snapshot/api_op_ListAsyncInvokes.go.snap @@ -13,7 +13,6 @@ ListAsyncInvokes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/bedrockruntime/snapshot/api_op_StartAsyncInvoke.go.snap b/service/bedrockruntime/snapshot/api_op_StartAsyncInvoke.go.snap index 25edb2783ae..519f9d27273 100644 --- a/service/bedrockruntime/snapshot/api_op_StartAsyncInvoke.go.snap +++ b/service/bedrockruntime/snapshot/api_op_StartAsyncInvoke.go.snap @@ -15,7 +15,6 @@ StartAsyncInvoke Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billing/api_client.go b/service/billing/api_client.go index c17e28574c4..60ae1adf3bd 100644 --- a/service/billing/api_client.go +++ b/service/billing/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/billing/api_op_CreateBillingView.go b/service/billing/api_op_CreateBillingView.go index 6979ddaedda..a6b4d1efa27 100644 --- a/service/billing/api_op_CreateBillingView.go +++ b/service/billing/api_op_CreateBillingView.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCreateBillingViewMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateBillingViewMiddleware(stack, options); err != nil { return err } diff --git a/service/billing/api_op_DeleteBillingView.go b/service/billing/api_op_DeleteBillingView.go index a5750b8edba..9d3a04e4caa 100644 --- a/service/billing/api_op_DeleteBillingView.go +++ b/service/billing/api_op_DeleteBillingView.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteBillingViewMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBillingViewValidationMiddleware(stack); err != nil { return err } diff --git a/service/billing/api_op_GetBillingView.go b/service/billing/api_op_GetBillingView.go index 051e8b3cfcc..d0f68551fe0 100644 --- a/service/billing/api_op_GetBillingView.go +++ b/service/billing/api_op_GetBillingView.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetBillingViewMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBillingViewValidationMiddleware(stack); err != nil { return err } diff --git a/service/billing/api_op_GetResourcePolicy.go b/service/billing/api_op_GetResourcePolicy.go index 627d9086cc2..1c37048e0c6 100644 --- a/service/billing/api_op_GetResourcePolicy.go +++ b/service/billing/api_op_GetResourcePolicy.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/billing/api_op_ListBillingViews.go b/service/billing/api_op_ListBillingViews.go index 566b7083fd4..e599c0b9b66 100644 --- a/service/billing/api_op_ListBillingViews.go +++ b/service/billing/api_op_ListBillingViews.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListBillingViewsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBillingViewsValidationMiddleware(stack); err != nil { return err } diff --git a/service/billing/api_op_ListSourceViewsForBillingView.go b/service/billing/api_op_ListSourceViewsForBillingView.go index 9496e8e117a..eac712ca6e3 100644 --- a/service/billing/api_op_ListSourceViewsForBillingView.go +++ b/service/billing/api_op_ListSourceViewsForBillingView.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListSourceViewsForBillingViewMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSourceViewsForBillingViewValidationMiddleware(stack); err != nil { return err } diff --git a/service/billing/api_op_ListTagsForResource.go b/service/billing/api_op_ListTagsForResource.go index aaca692941b..2ba144d7de2 100644 --- a/service/billing/api_op_ListTagsForResource.go +++ b/service/billing/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/billing/api_op_TagResource.go b/service/billing/api_op_TagResource.go index cc003a88cea..7ccdf6b420b 100644 --- a/service/billing/api_op_TagResource.go +++ b/service/billing/api_op_TagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/billing/api_op_UntagResource.go b/service/billing/api_op_UntagResource.go index c6960ac0e9d..6e17ed3b8cc 100644 --- a/service/billing/api_op_UntagResource.go +++ b/service/billing/api_op_UntagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/billing/api_op_UpdateBillingView.go b/service/billing/api_op_UpdateBillingView.go index 83f50263394..b76f1c9b57b 100644 --- a/service/billing/api_op_UpdateBillingView.go +++ b/service/billing/api_op_UpdateBillingView.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateBillingViewMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBillingViewValidationMiddleware(stack); err != nil { return err } diff --git a/service/billing/snapshot/api_op_CreateBillingView.go.snap b/service/billing/snapshot/api_op_CreateBillingView.go.snap index 150701e45ff..3fea1651def 100644 --- a/service/billing/snapshot/api_op_CreateBillingView.go.snap +++ b/service/billing/snapshot/api_op_CreateBillingView.go.snap @@ -15,7 +15,6 @@ CreateBillingView Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billing/snapshot/api_op_DeleteBillingView.go.snap b/service/billing/snapshot/api_op_DeleteBillingView.go.snap index 7a2c9df0868..14b1c028b2b 100644 --- a/service/billing/snapshot/api_op_DeleteBillingView.go.snap +++ b/service/billing/snapshot/api_op_DeleteBillingView.go.snap @@ -14,7 +14,6 @@ DeleteBillingView Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billing/snapshot/api_op_GetBillingView.go.snap b/service/billing/snapshot/api_op_GetBillingView.go.snap index 894780f3823..f512662b03c 100644 --- a/service/billing/snapshot/api_op_GetBillingView.go.snap +++ b/service/billing/snapshot/api_op_GetBillingView.go.snap @@ -14,7 +14,6 @@ GetBillingView Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billing/snapshot/api_op_GetResourcePolicy.go.snap b/service/billing/snapshot/api_op_GetResourcePolicy.go.snap index e3408c09804..4b3e7d017fa 100644 --- a/service/billing/snapshot/api_op_GetResourcePolicy.go.snap +++ b/service/billing/snapshot/api_op_GetResourcePolicy.go.snap @@ -14,7 +14,6 @@ GetResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billing/snapshot/api_op_ListBillingViews.go.snap b/service/billing/snapshot/api_op_ListBillingViews.go.snap index 3d29ddb9b16..41e52323ebe 100644 --- a/service/billing/snapshot/api_op_ListBillingViews.go.snap +++ b/service/billing/snapshot/api_op_ListBillingViews.go.snap @@ -14,7 +14,6 @@ ListBillingViews Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billing/snapshot/api_op_ListSourceViewsForBillingView.go.snap b/service/billing/snapshot/api_op_ListSourceViewsForBillingView.go.snap index 512adfa4cdb..c6f9d5a7cfc 100644 --- a/service/billing/snapshot/api_op_ListSourceViewsForBillingView.go.snap +++ b/service/billing/snapshot/api_op_ListSourceViewsForBillingView.go.snap @@ -14,7 +14,6 @@ ListSourceViewsForBillingView Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billing/snapshot/api_op_ListTagsForResource.go.snap b/service/billing/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/billing/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/billing/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billing/snapshot/api_op_TagResource.go.snap b/service/billing/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/billing/snapshot/api_op_TagResource.go.snap +++ b/service/billing/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billing/snapshot/api_op_UntagResource.go.snap b/service/billing/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/billing/snapshot/api_op_UntagResource.go.snap +++ b/service/billing/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billing/snapshot/api_op_UpdateBillingView.go.snap b/service/billing/snapshot/api_op_UpdateBillingView.go.snap index 1248da3cd29..d4e2252dfec 100644 --- a/service/billing/snapshot/api_op_UpdateBillingView.go.snap +++ b/service/billing/snapshot/api_op_UpdateBillingView.go.snap @@ -14,7 +14,6 @@ UpdateBillingView Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billingconductor/api_client.go b/service/billingconductor/api_client.go index 8de1960ba44..6bab0861f07 100644 --- a/service/billingconductor/api_client.go +++ b/service/billingconductor/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/billingconductor/api_op_AssociateAccounts.go b/service/billingconductor/api_op_AssociateAccounts.go index 57a14a3eedb..6c4e447bddf 100644 --- a/service/billingconductor/api_op_AssociateAccounts.go +++ b/service/billingconductor/api_op_AssociateAccounts.go @@ -122,9 +122,6 @@ func (c *Client) addOperationAssociateAccountsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateAccountsValidationMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_AssociatePricingRules.go b/service/billingconductor/api_op_AssociatePricingRules.go index bf70f2c5fb5..07565b2ca12 100644 --- a/service/billingconductor/api_op_AssociatePricingRules.go +++ b/service/billingconductor/api_op_AssociatePricingRules.go @@ -117,9 +117,6 @@ func (c *Client) addOperationAssociatePricingRulesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociatePricingRulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_BatchAssociateResourcesToCustomLineItem.go b/service/billingconductor/api_op_BatchAssociateResourcesToCustomLineItem.go index a7295c23e76..98e7b49b505 100644 --- a/service/billingconductor/api_op_BatchAssociateResourcesToCustomLineItem.go +++ b/service/billingconductor/api_op_BatchAssociateResourcesToCustomLineItem.go @@ -125,9 +125,6 @@ func (c *Client) addOperationBatchAssociateResourcesToCustomLineItemMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchAssociateResourcesToCustomLineItemValidationMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_BatchDisassociateResourcesFromCustomLineItem.go b/service/billingconductor/api_op_BatchDisassociateResourcesFromCustomLineItem.go index 3c4fd5cea7a..72259c86494 100644 --- a/service/billingconductor/api_op_BatchDisassociateResourcesFromCustomLineItem.go +++ b/service/billingconductor/api_op_BatchDisassociateResourcesFromCustomLineItem.go @@ -125,9 +125,6 @@ func (c *Client) addOperationBatchDisassociateResourcesFromCustomLineItemMiddlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDisassociateResourcesFromCustomLineItemValidationMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_CreateBillingGroup.go b/service/billingconductor/api_op_CreateBillingGroup.go index a5c103b20f6..778b5adec23 100644 --- a/service/billingconductor/api_op_CreateBillingGroup.go +++ b/service/billingconductor/api_op_CreateBillingGroup.go @@ -141,9 +141,6 @@ func (c *Client) addOperationCreateBillingGroupMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateBillingGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/billingconductor/api_op_CreateCustomLineItem.go b/service/billingconductor/api_op_CreateCustomLineItem.go index c6a790ebd47..c2cb8273d5a 100644 --- a/service/billingconductor/api_op_CreateCustomLineItem.go +++ b/service/billingconductor/api_op_CreateCustomLineItem.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCreateCustomLineItemMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateCustomLineItemMiddleware(stack, options); err != nil { return err } diff --git a/service/billingconductor/api_op_CreatePricingPlan.go b/service/billingconductor/api_op_CreatePricingPlan.go index 2b4bc7ec92f..0112a56e392 100644 --- a/service/billingconductor/api_op_CreatePricingPlan.go +++ b/service/billingconductor/api_op_CreatePricingPlan.go @@ -127,9 +127,6 @@ func (c *Client) addOperationCreatePricingPlanMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreatePricingPlanMiddleware(stack, options); err != nil { return err } diff --git a/service/billingconductor/api_op_CreatePricingRule.go b/service/billingconductor/api_op_CreatePricingRule.go index 515e7b9ec7f..9efb7ab5f96 100644 --- a/service/billingconductor/api_op_CreatePricingRule.go +++ b/service/billingconductor/api_op_CreatePricingRule.go @@ -166,9 +166,6 @@ func (c *Client) addOperationCreatePricingRuleMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreatePricingRuleMiddleware(stack, options); err != nil { return err } diff --git a/service/billingconductor/api_op_DeleteBillingGroup.go b/service/billingconductor/api_op_DeleteBillingGroup.go index 37b6c3629a7..5f88842943b 100644 --- a/service/billingconductor/api_op_DeleteBillingGroup.go +++ b/service/billingconductor/api_op_DeleteBillingGroup.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteBillingGroupMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBillingGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_DeleteCustomLineItem.go b/service/billingconductor/api_op_DeleteCustomLineItem.go index 6af0e96b42c..021993eb114 100644 --- a/service/billingconductor/api_op_DeleteCustomLineItem.go +++ b/service/billingconductor/api_op_DeleteCustomLineItem.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteCustomLineItemMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCustomLineItemValidationMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_DeletePricingPlan.go b/service/billingconductor/api_op_DeletePricingPlan.go index 4f4abc6795b..7ccd186c82b 100644 --- a/service/billingconductor/api_op_DeletePricingPlan.go +++ b/service/billingconductor/api_op_DeletePricingPlan.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeletePricingPlanMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePricingPlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_DeletePricingRule.go b/service/billingconductor/api_op_DeletePricingRule.go index 76478db76db..810dd08474f 100644 --- a/service/billingconductor/api_op_DeletePricingRule.go +++ b/service/billingconductor/api_op_DeletePricingRule.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeletePricingRuleMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePricingRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_DisassociateAccounts.go b/service/billingconductor/api_op_DisassociateAccounts.go index 81e6bd2a20f..bcd90f14f24 100644 --- a/service/billingconductor/api_op_DisassociateAccounts.go +++ b/service/billingconductor/api_op_DisassociateAccounts.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDisassociateAccountsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateAccountsValidationMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_DisassociatePricingRules.go b/service/billingconductor/api_op_DisassociatePricingRules.go index f6574858cdd..d8fc7b27d32 100644 --- a/service/billingconductor/api_op_DisassociatePricingRules.go +++ b/service/billingconductor/api_op_DisassociatePricingRules.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDisassociatePricingRulesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociatePricingRulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_GetBillingGroupCostReport.go b/service/billingconductor/api_op_GetBillingGroupCostReport.go index bb6bf68760c..90a8378d39a 100644 --- a/service/billingconductor/api_op_GetBillingGroupCostReport.go +++ b/service/billingconductor/api_op_GetBillingGroupCostReport.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetBillingGroupCostReportMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBillingGroupCostReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_ListAccountAssociations.go b/service/billingconductor/api_op_ListAccountAssociations.go index 276c573d929..7d98e48dd1c 100644 --- a/service/billingconductor/api_op_ListAccountAssociations.go +++ b/service/billingconductor/api_op_ListAccountAssociations.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListAccountAssociationsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccountAssociations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/billingconductor/api_op_ListBillingGroupCostReports.go b/service/billingconductor/api_op_ListBillingGroupCostReports.go index e9010640016..b3fafcef7ab 100644 --- a/service/billingconductor/api_op_ListBillingGroupCostReports.go +++ b/service/billingconductor/api_op_ListBillingGroupCostReports.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListBillingGroupCostReportsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBillingGroupCostReports(options.Region), middleware.Before); err != nil { return err } diff --git a/service/billingconductor/api_op_ListBillingGroups.go b/service/billingconductor/api_op_ListBillingGroups.go index ce726ea3f02..5604387ea5f 100644 --- a/service/billingconductor/api_op_ListBillingGroups.go +++ b/service/billingconductor/api_op_ListBillingGroups.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListBillingGroupsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBillingGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/billingconductor/api_op_ListCustomLineItemVersions.go b/service/billingconductor/api_op_ListCustomLineItemVersions.go index 34372183976..b4451efbb19 100644 --- a/service/billingconductor/api_op_ListCustomLineItemVersions.go +++ b/service/billingconductor/api_op_ListCustomLineItemVersions.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListCustomLineItemVersionsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCustomLineItemVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_ListCustomLineItems.go b/service/billingconductor/api_op_ListCustomLineItems.go index 3b5f0133b79..7635fdab671 100644 --- a/service/billingconductor/api_op_ListCustomLineItems.go +++ b/service/billingconductor/api_op_ListCustomLineItems.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListCustomLineItemsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCustomLineItems(options.Region), middleware.Before); err != nil { return err } diff --git a/service/billingconductor/api_op_ListPricingPlans.go b/service/billingconductor/api_op_ListPricingPlans.go index 3803e0b6147..06e943488e8 100644 --- a/service/billingconductor/api_op_ListPricingPlans.go +++ b/service/billingconductor/api_op_ListPricingPlans.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListPricingPlansMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPricingPlans(options.Region), middleware.Before); err != nil { return err } diff --git a/service/billingconductor/api_op_ListPricingPlansAssociatedWithPricingRule.go b/service/billingconductor/api_op_ListPricingPlansAssociatedWithPricingRule.go index 706a0df682f..6dcf74ee3e4 100644 --- a/service/billingconductor/api_op_ListPricingPlansAssociatedWithPricingRule.go +++ b/service/billingconductor/api_op_ListPricingPlansAssociatedWithPricingRule.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListPricingPlansAssociatedWithPricingRuleMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPricingPlansAssociatedWithPricingRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_ListPricingRules.go b/service/billingconductor/api_op_ListPricingRules.go index 1ba3c05cb44..2ddb45e09cc 100644 --- a/service/billingconductor/api_op_ListPricingRules.go +++ b/service/billingconductor/api_op_ListPricingRules.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListPricingRulesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPricingRules(options.Region), middleware.Before); err != nil { return err } diff --git a/service/billingconductor/api_op_ListPricingRulesAssociatedToPricingPlan.go b/service/billingconductor/api_op_ListPricingRulesAssociatedToPricingPlan.go index d0b6bbd2944..a7b2781f153 100644 --- a/service/billingconductor/api_op_ListPricingRulesAssociatedToPricingPlan.go +++ b/service/billingconductor/api_op_ListPricingRulesAssociatedToPricingPlan.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListPricingRulesAssociatedToPricingPlanMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPricingRulesAssociatedToPricingPlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_ListResourcesAssociatedToCustomLineItem.go b/service/billingconductor/api_op_ListResourcesAssociatedToCustomLineItem.go index a7f4eb6683d..078334f038f 100644 --- a/service/billingconductor/api_op_ListResourcesAssociatedToCustomLineItem.go +++ b/service/billingconductor/api_op_ListResourcesAssociatedToCustomLineItem.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListResourcesAssociatedToCustomLineItemMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListResourcesAssociatedToCustomLineItemValidationMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_ListTagsForResource.go b/service/billingconductor/api_op_ListTagsForResource.go index 6d8cfe1fea0..8ee31c594c5 100644 --- a/service/billingconductor/api_op_ListTagsForResource.go +++ b/service/billingconductor/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_TagResource.go b/service/billingconductor/api_op_TagResource.go index 20c07c148d8..741dfc86879 100644 --- a/service/billingconductor/api_op_TagResource.go +++ b/service/billingconductor/api_op_TagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_UntagResource.go b/service/billingconductor/api_op_UntagResource.go index 238c6a9d5b0..781434cc0bf 100644 --- a/service/billingconductor/api_op_UntagResource.go +++ b/service/billingconductor/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_UpdateBillingGroup.go b/service/billingconductor/api_op_UpdateBillingGroup.go index e20561721f5..6a1eb435fe1 100644 --- a/service/billingconductor/api_op_UpdateBillingGroup.go +++ b/service/billingconductor/api_op_UpdateBillingGroup.go @@ -158,9 +158,6 @@ func (c *Client) addOperationUpdateBillingGroupMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBillingGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_UpdateCustomLineItem.go b/service/billingconductor/api_op_UpdateCustomLineItem.go index a2afcdfb134..27884a11d48 100644 --- a/service/billingconductor/api_op_UpdateCustomLineItem.go +++ b/service/billingconductor/api_op_UpdateCustomLineItem.go @@ -144,9 +144,6 @@ func (c *Client) addOperationUpdateCustomLineItemMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCustomLineItemValidationMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_UpdatePricingPlan.go b/service/billingconductor/api_op_UpdatePricingPlan.go index dc51b691f87..b02b326e5b7 100644 --- a/service/billingconductor/api_op_UpdatePricingPlan.go +++ b/service/billingconductor/api_op_UpdatePricingPlan.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdatePricingPlanMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePricingPlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/api_op_UpdatePricingRule.go b/service/billingconductor/api_op_UpdatePricingRule.go index eba5976281a..a81f09fa6f3 100644 --- a/service/billingconductor/api_op_UpdatePricingRule.go +++ b/service/billingconductor/api_op_UpdatePricingRule.go @@ -178,9 +178,6 @@ func (c *Client) addOperationUpdatePricingRuleMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePricingRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/billingconductor/snapshot/api_op_AssociateAccounts.go.snap b/service/billingconductor/snapshot/api_op_AssociateAccounts.go.snap index b8988dc2be9..fa67d750662 100644 --- a/service/billingconductor/snapshot/api_op_AssociateAccounts.go.snap +++ b/service/billingconductor/snapshot/api_op_AssociateAccounts.go.snap @@ -14,7 +14,6 @@ AssociateAccounts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billingconductor/snapshot/api_op_AssociatePricingRules.go.snap b/service/billingconductor/snapshot/api_op_AssociatePricingRules.go.snap index 68965c76bd2..9de641bb600 100644 --- a/service/billingconductor/snapshot/api_op_AssociatePricingRules.go.snap +++ b/service/billingconductor/snapshot/api_op_AssociatePricingRules.go.snap @@ -14,7 +14,6 @@ AssociatePricingRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billingconductor/snapshot/api_op_BatchAssociateResourcesToCustomLineItem.go.snap b/service/billingconductor/snapshot/api_op_BatchAssociateResourcesToCustomLineItem.go.snap index f94ece480d1..eb6f05d165d 100644 --- a/service/billingconductor/snapshot/api_op_BatchAssociateResourcesToCustomLineItem.go.snap +++ b/service/billingconductor/snapshot/api_op_BatchAssociateResourcesToCustomLineItem.go.snap @@ -14,7 +14,6 @@ BatchAssociateResourcesToCustomLineItem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billingconductor/snapshot/api_op_BatchDisassociateResourcesFromCustomLineItem.go.snap b/service/billingconductor/snapshot/api_op_BatchDisassociateResourcesFromCustomLineItem.go.snap index 9695c29bdc9..5474ab81bb0 100644 --- a/service/billingconductor/snapshot/api_op_BatchDisassociateResourcesFromCustomLineItem.go.snap +++ b/service/billingconductor/snapshot/api_op_BatchDisassociateResourcesFromCustomLineItem.go.snap @@ -14,7 +14,6 @@ BatchDisassociateResourcesFromCustomLineItem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billingconductor/snapshot/api_op_CreateBillingGroup.go.snap b/service/billingconductor/snapshot/api_op_CreateBillingGroup.go.snap index 933e809dfdb..7c61d50b0dd 100644 --- a/service/billingconductor/snapshot/api_op_CreateBillingGroup.go.snap +++ b/service/billingconductor/snapshot/api_op_CreateBillingGroup.go.snap @@ -15,7 +15,6 @@ CreateBillingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billingconductor/snapshot/api_op_CreateCustomLineItem.go.snap b/service/billingconductor/snapshot/api_op_CreateCustomLineItem.go.snap index ce5ccc84aff..d8a0e6feef4 100644 --- a/service/billingconductor/snapshot/api_op_CreateCustomLineItem.go.snap +++ b/service/billingconductor/snapshot/api_op_CreateCustomLineItem.go.snap @@ -15,7 +15,6 @@ CreateCustomLineItem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billingconductor/snapshot/api_op_CreatePricingPlan.go.snap b/service/billingconductor/snapshot/api_op_CreatePricingPlan.go.snap index 36e68a85001..fcde7912122 100644 --- a/service/billingconductor/snapshot/api_op_CreatePricingPlan.go.snap +++ b/service/billingconductor/snapshot/api_op_CreatePricingPlan.go.snap @@ -15,7 +15,6 @@ CreatePricingPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billingconductor/snapshot/api_op_CreatePricingRule.go.snap b/service/billingconductor/snapshot/api_op_CreatePricingRule.go.snap index 231be762054..a1f74a4c3f0 100644 --- a/service/billingconductor/snapshot/api_op_CreatePricingRule.go.snap +++ b/service/billingconductor/snapshot/api_op_CreatePricingRule.go.snap @@ -15,7 +15,6 @@ CreatePricingRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billingconductor/snapshot/api_op_DeleteBillingGroup.go.snap b/service/billingconductor/snapshot/api_op_DeleteBillingGroup.go.snap index 27054620397..ce18a7a75b4 100644 --- a/service/billingconductor/snapshot/api_op_DeleteBillingGroup.go.snap +++ b/service/billingconductor/snapshot/api_op_DeleteBillingGroup.go.snap @@ -14,7 +14,6 @@ DeleteBillingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billingconductor/snapshot/api_op_DeleteCustomLineItem.go.snap b/service/billingconductor/snapshot/api_op_DeleteCustomLineItem.go.snap index 57449af4ebe..1958fd9444b 100644 --- a/service/billingconductor/snapshot/api_op_DeleteCustomLineItem.go.snap +++ b/service/billingconductor/snapshot/api_op_DeleteCustomLineItem.go.snap @@ -14,7 +14,6 @@ DeleteCustomLineItem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billingconductor/snapshot/api_op_DeletePricingPlan.go.snap b/service/billingconductor/snapshot/api_op_DeletePricingPlan.go.snap index e1081094345..1a940527132 100644 --- a/service/billingconductor/snapshot/api_op_DeletePricingPlan.go.snap +++ b/service/billingconductor/snapshot/api_op_DeletePricingPlan.go.snap @@ -14,7 +14,6 @@ DeletePricingPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billingconductor/snapshot/api_op_DeletePricingRule.go.snap b/service/billingconductor/snapshot/api_op_DeletePricingRule.go.snap index 92676c2af97..25919a470cb 100644 --- a/service/billingconductor/snapshot/api_op_DeletePricingRule.go.snap +++ b/service/billingconductor/snapshot/api_op_DeletePricingRule.go.snap @@ -14,7 +14,6 @@ DeletePricingRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billingconductor/snapshot/api_op_DisassociateAccounts.go.snap b/service/billingconductor/snapshot/api_op_DisassociateAccounts.go.snap index 15a154f3b9f..fc04c5aaeef 100644 --- a/service/billingconductor/snapshot/api_op_DisassociateAccounts.go.snap +++ b/service/billingconductor/snapshot/api_op_DisassociateAccounts.go.snap @@ -14,7 +14,6 @@ DisassociateAccounts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billingconductor/snapshot/api_op_DisassociatePricingRules.go.snap b/service/billingconductor/snapshot/api_op_DisassociatePricingRules.go.snap index 2df758a754b..446cf310e97 100644 --- a/service/billingconductor/snapshot/api_op_DisassociatePricingRules.go.snap +++ b/service/billingconductor/snapshot/api_op_DisassociatePricingRules.go.snap @@ -14,7 +14,6 @@ DisassociatePricingRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billingconductor/snapshot/api_op_GetBillingGroupCostReport.go.snap b/service/billingconductor/snapshot/api_op_GetBillingGroupCostReport.go.snap index 6b7c1321790..53aded12645 100644 --- a/service/billingconductor/snapshot/api_op_GetBillingGroupCostReport.go.snap +++ b/service/billingconductor/snapshot/api_op_GetBillingGroupCostReport.go.snap @@ -14,7 +14,6 @@ GetBillingGroupCostReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billingconductor/snapshot/api_op_ListAccountAssociations.go.snap b/service/billingconductor/snapshot/api_op_ListAccountAssociations.go.snap index 3ab8b3d2db8..9b7a29dfd52 100644 --- a/service/billingconductor/snapshot/api_op_ListAccountAssociations.go.snap +++ b/service/billingconductor/snapshot/api_op_ListAccountAssociations.go.snap @@ -13,7 +13,6 @@ ListAccountAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billingconductor/snapshot/api_op_ListBillingGroupCostReports.go.snap b/service/billingconductor/snapshot/api_op_ListBillingGroupCostReports.go.snap index a8838a20784..a71b457da48 100644 --- a/service/billingconductor/snapshot/api_op_ListBillingGroupCostReports.go.snap +++ b/service/billingconductor/snapshot/api_op_ListBillingGroupCostReports.go.snap @@ -13,7 +13,6 @@ ListBillingGroupCostReports Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billingconductor/snapshot/api_op_ListBillingGroups.go.snap b/service/billingconductor/snapshot/api_op_ListBillingGroups.go.snap index 4b9ab1c91a2..8cfe74b37ba 100644 --- a/service/billingconductor/snapshot/api_op_ListBillingGroups.go.snap +++ b/service/billingconductor/snapshot/api_op_ListBillingGroups.go.snap @@ -13,7 +13,6 @@ ListBillingGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billingconductor/snapshot/api_op_ListCustomLineItemVersions.go.snap b/service/billingconductor/snapshot/api_op_ListCustomLineItemVersions.go.snap index a8563e935fe..8c65a67a303 100644 --- a/service/billingconductor/snapshot/api_op_ListCustomLineItemVersions.go.snap +++ b/service/billingconductor/snapshot/api_op_ListCustomLineItemVersions.go.snap @@ -14,7 +14,6 @@ ListCustomLineItemVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billingconductor/snapshot/api_op_ListCustomLineItems.go.snap b/service/billingconductor/snapshot/api_op_ListCustomLineItems.go.snap index bb6c728a4e3..b43a76ea958 100644 --- a/service/billingconductor/snapshot/api_op_ListCustomLineItems.go.snap +++ b/service/billingconductor/snapshot/api_op_ListCustomLineItems.go.snap @@ -13,7 +13,6 @@ ListCustomLineItems Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billingconductor/snapshot/api_op_ListPricingPlans.go.snap b/service/billingconductor/snapshot/api_op_ListPricingPlans.go.snap index 1a9f7230e47..04278b98c99 100644 --- a/service/billingconductor/snapshot/api_op_ListPricingPlans.go.snap +++ b/service/billingconductor/snapshot/api_op_ListPricingPlans.go.snap @@ -13,7 +13,6 @@ ListPricingPlans Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billingconductor/snapshot/api_op_ListPricingPlansAssociatedWithPricingRule.go.snap b/service/billingconductor/snapshot/api_op_ListPricingPlansAssociatedWithPricingRule.go.snap index 90dbe9319f7..e2efad0b6b6 100644 --- a/service/billingconductor/snapshot/api_op_ListPricingPlansAssociatedWithPricingRule.go.snap +++ b/service/billingconductor/snapshot/api_op_ListPricingPlansAssociatedWithPricingRule.go.snap @@ -14,7 +14,6 @@ ListPricingPlansAssociatedWithPricingRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billingconductor/snapshot/api_op_ListPricingRules.go.snap b/service/billingconductor/snapshot/api_op_ListPricingRules.go.snap index 6b467f5d564..260e6d033aa 100644 --- a/service/billingconductor/snapshot/api_op_ListPricingRules.go.snap +++ b/service/billingconductor/snapshot/api_op_ListPricingRules.go.snap @@ -13,7 +13,6 @@ ListPricingRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billingconductor/snapshot/api_op_ListPricingRulesAssociatedToPricingPlan.go.snap b/service/billingconductor/snapshot/api_op_ListPricingRulesAssociatedToPricingPlan.go.snap index e7168c572d1..3da2f92eaab 100644 --- a/service/billingconductor/snapshot/api_op_ListPricingRulesAssociatedToPricingPlan.go.snap +++ b/service/billingconductor/snapshot/api_op_ListPricingRulesAssociatedToPricingPlan.go.snap @@ -14,7 +14,6 @@ ListPricingRulesAssociatedToPricingPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billingconductor/snapshot/api_op_ListResourcesAssociatedToCustomLineItem.go.snap b/service/billingconductor/snapshot/api_op_ListResourcesAssociatedToCustomLineItem.go.snap index 84c87d6acb5..e8f2741a46c 100644 --- a/service/billingconductor/snapshot/api_op_ListResourcesAssociatedToCustomLineItem.go.snap +++ b/service/billingconductor/snapshot/api_op_ListResourcesAssociatedToCustomLineItem.go.snap @@ -14,7 +14,6 @@ ListResourcesAssociatedToCustomLineItem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billingconductor/snapshot/api_op_ListTagsForResource.go.snap b/service/billingconductor/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/billingconductor/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/billingconductor/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billingconductor/snapshot/api_op_TagResource.go.snap b/service/billingconductor/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/billingconductor/snapshot/api_op_TagResource.go.snap +++ b/service/billingconductor/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billingconductor/snapshot/api_op_UntagResource.go.snap b/service/billingconductor/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/billingconductor/snapshot/api_op_UntagResource.go.snap +++ b/service/billingconductor/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billingconductor/snapshot/api_op_UpdateBillingGroup.go.snap b/service/billingconductor/snapshot/api_op_UpdateBillingGroup.go.snap index 1992ba3b2fe..9ecb1f21225 100644 --- a/service/billingconductor/snapshot/api_op_UpdateBillingGroup.go.snap +++ b/service/billingconductor/snapshot/api_op_UpdateBillingGroup.go.snap @@ -14,7 +14,6 @@ UpdateBillingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billingconductor/snapshot/api_op_UpdateCustomLineItem.go.snap b/service/billingconductor/snapshot/api_op_UpdateCustomLineItem.go.snap index f5d12c1cd71..0e950e8945f 100644 --- a/service/billingconductor/snapshot/api_op_UpdateCustomLineItem.go.snap +++ b/service/billingconductor/snapshot/api_op_UpdateCustomLineItem.go.snap @@ -14,7 +14,6 @@ UpdateCustomLineItem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billingconductor/snapshot/api_op_UpdatePricingPlan.go.snap b/service/billingconductor/snapshot/api_op_UpdatePricingPlan.go.snap index a670e8cb00e..ce192096dbf 100644 --- a/service/billingconductor/snapshot/api_op_UpdatePricingPlan.go.snap +++ b/service/billingconductor/snapshot/api_op_UpdatePricingPlan.go.snap @@ -14,7 +14,6 @@ UpdatePricingPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/billingconductor/snapshot/api_op_UpdatePricingRule.go.snap b/service/billingconductor/snapshot/api_op_UpdatePricingRule.go.snap index 6bd1ebadeab..cdad5d866a1 100644 --- a/service/billingconductor/snapshot/api_op_UpdatePricingRule.go.snap +++ b/service/billingconductor/snapshot/api_op_UpdatePricingRule.go.snap @@ -14,7 +14,6 @@ UpdatePricingRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/braket/api_client.go b/service/braket/api_client.go index d87f8a4ef15..ea12d6bf649 100644 --- a/service/braket/api_client.go +++ b/service/braket/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/braket/api_op_CancelJob.go b/service/braket/api_op_CancelJob.go index 44d499b322b..4e0b9ec932c 100644 --- a/service/braket/api_op_CancelJob.go +++ b/service/braket/api_op_CancelJob.go @@ -119,9 +119,6 @@ func (c *Client) addOperationCancelJobMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/braket/api_op_CancelQuantumTask.go b/service/braket/api_op_CancelQuantumTask.go index 5f9f33eb055..c0ef3056e06 100644 --- a/service/braket/api_op_CancelQuantumTask.go +++ b/service/braket/api_op_CancelQuantumTask.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCancelQuantumTaskMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCancelQuantumTaskMiddleware(stack, options); err != nil { return err } diff --git a/service/braket/api_op_CreateJob.go b/service/braket/api_op_CreateJob.go index 37935d5bb94..856d26a8662 100644 --- a/service/braket/api_op_CreateJob.go +++ b/service/braket/api_op_CreateJob.go @@ -175,9 +175,6 @@ func (c *Client) addOperationCreateJobMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateJobMiddleware(stack, options); err != nil { return err } diff --git a/service/braket/api_op_CreateQuantumTask.go b/service/braket/api_op_CreateQuantumTask.go index 371d2ba8100..e6e39ffcbbb 100644 --- a/service/braket/api_op_CreateQuantumTask.go +++ b/service/braket/api_op_CreateQuantumTask.go @@ -155,9 +155,6 @@ func (c *Client) addOperationCreateQuantumTaskMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateQuantumTaskMiddleware(stack, options); err != nil { return err } diff --git a/service/braket/api_op_GetDevice.go b/service/braket/api_op_GetDevice.go index 61d5cacd883..94c33690c91 100644 --- a/service/braket/api_op_GetDevice.go +++ b/service/braket/api_op_GetDevice.go @@ -153,9 +153,6 @@ func (c *Client) addOperationGetDeviceMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/braket/api_op_GetJob.go b/service/braket/api_op_GetJob.go index 1c750c41d9b..948da17ed25 100644 --- a/service/braket/api_op_GetJob.go +++ b/service/braket/api_op_GetJob.go @@ -206,9 +206,6 @@ func (c *Client) addOperationGetJobMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/braket/api_op_GetQuantumTask.go b/service/braket/api_op_GetQuantumTask.go index 3067210632d..1ff1eda32e2 100644 --- a/service/braket/api_op_GetQuantumTask.go +++ b/service/braket/api_op_GetQuantumTask.go @@ -175,9 +175,6 @@ func (c *Client) addOperationGetQuantumTaskMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetQuantumTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/braket/api_op_ListTagsForResource.go b/service/braket/api_op_ListTagsForResource.go index 3ea1475a50d..10483f8e70e 100644 --- a/service/braket/api_op_ListTagsForResource.go +++ b/service/braket/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/braket/api_op_SearchDevices.go b/service/braket/api_op_SearchDevices.go index 626e57c233f..14f4542fea9 100644 --- a/service/braket/api_op_SearchDevices.go +++ b/service/braket/api_op_SearchDevices.go @@ -128,9 +128,6 @@ func (c *Client) addOperationSearchDevicesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchDevicesValidationMiddleware(stack); err != nil { return err } diff --git a/service/braket/api_op_SearchJobs.go b/service/braket/api_op_SearchJobs.go index 908f28988c5..c1a498a36ba 100644 --- a/service/braket/api_op_SearchJobs.go +++ b/service/braket/api_op_SearchJobs.go @@ -128,9 +128,6 @@ func (c *Client) addOperationSearchJobsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/braket/api_op_SearchQuantumTasks.go b/service/braket/api_op_SearchQuantumTasks.go index d751a21021a..3dbd3541333 100644 --- a/service/braket/api_op_SearchQuantumTasks.go +++ b/service/braket/api_op_SearchQuantumTasks.go @@ -128,9 +128,6 @@ func (c *Client) addOperationSearchQuantumTasksMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchQuantumTasksValidationMiddleware(stack); err != nil { return err } diff --git a/service/braket/api_op_TagResource.go b/service/braket/api_op_TagResource.go index 509e1d676c6..b6cefdcfab1 100644 --- a/service/braket/api_op_TagResource.go +++ b/service/braket/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/braket/api_op_UntagResource.go b/service/braket/api_op_UntagResource.go index 3df7811638b..548a70e67de 100644 --- a/service/braket/api_op_UntagResource.go +++ b/service/braket/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/braket/snapshot/api_op_CancelJob.go.snap b/service/braket/snapshot/api_op_CancelJob.go.snap index 51903387e8d..b36a88b69e0 100644 --- a/service/braket/snapshot/api_op_CancelJob.go.snap +++ b/service/braket/snapshot/api_op_CancelJob.go.snap @@ -14,7 +14,6 @@ CancelJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/braket/snapshot/api_op_CancelQuantumTask.go.snap b/service/braket/snapshot/api_op_CancelQuantumTask.go.snap index 58b9fb4c894..027c6ff1314 100644 --- a/service/braket/snapshot/api_op_CancelQuantumTask.go.snap +++ b/service/braket/snapshot/api_op_CancelQuantumTask.go.snap @@ -15,7 +15,6 @@ CancelQuantumTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/braket/snapshot/api_op_CreateJob.go.snap b/service/braket/snapshot/api_op_CreateJob.go.snap index b3c59d36cdd..3962763039b 100644 --- a/service/braket/snapshot/api_op_CreateJob.go.snap +++ b/service/braket/snapshot/api_op_CreateJob.go.snap @@ -15,7 +15,6 @@ CreateJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/braket/snapshot/api_op_CreateQuantumTask.go.snap b/service/braket/snapshot/api_op_CreateQuantumTask.go.snap index 0f47922b360..452d664e18f 100644 --- a/service/braket/snapshot/api_op_CreateQuantumTask.go.snap +++ b/service/braket/snapshot/api_op_CreateQuantumTask.go.snap @@ -15,7 +15,6 @@ CreateQuantumTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/braket/snapshot/api_op_GetDevice.go.snap b/service/braket/snapshot/api_op_GetDevice.go.snap index efed86149c3..5e9c636c206 100644 --- a/service/braket/snapshot/api_op_GetDevice.go.snap +++ b/service/braket/snapshot/api_op_GetDevice.go.snap @@ -14,7 +14,6 @@ GetDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/braket/snapshot/api_op_GetJob.go.snap b/service/braket/snapshot/api_op_GetJob.go.snap index 8785dbdb074..6e4ff7bd3f6 100644 --- a/service/braket/snapshot/api_op_GetJob.go.snap +++ b/service/braket/snapshot/api_op_GetJob.go.snap @@ -14,7 +14,6 @@ GetJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/braket/snapshot/api_op_GetQuantumTask.go.snap b/service/braket/snapshot/api_op_GetQuantumTask.go.snap index c37f2244f9a..ef44ac6035e 100644 --- a/service/braket/snapshot/api_op_GetQuantumTask.go.snap +++ b/service/braket/snapshot/api_op_GetQuantumTask.go.snap @@ -14,7 +14,6 @@ GetQuantumTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/braket/snapshot/api_op_ListTagsForResource.go.snap b/service/braket/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/braket/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/braket/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/braket/snapshot/api_op_SearchDevices.go.snap b/service/braket/snapshot/api_op_SearchDevices.go.snap index 72a72022b9b..69193498b2c 100644 --- a/service/braket/snapshot/api_op_SearchDevices.go.snap +++ b/service/braket/snapshot/api_op_SearchDevices.go.snap @@ -14,7 +14,6 @@ SearchDevices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/braket/snapshot/api_op_SearchJobs.go.snap b/service/braket/snapshot/api_op_SearchJobs.go.snap index 950ac1acdf9..ec1ef702040 100644 --- a/service/braket/snapshot/api_op_SearchJobs.go.snap +++ b/service/braket/snapshot/api_op_SearchJobs.go.snap @@ -14,7 +14,6 @@ SearchJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/braket/snapshot/api_op_SearchQuantumTasks.go.snap b/service/braket/snapshot/api_op_SearchQuantumTasks.go.snap index bd586aa270f..f34c7f2c275 100644 --- a/service/braket/snapshot/api_op_SearchQuantumTasks.go.snap +++ b/service/braket/snapshot/api_op_SearchQuantumTasks.go.snap @@ -14,7 +14,6 @@ SearchQuantumTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/braket/snapshot/api_op_TagResource.go.snap b/service/braket/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/braket/snapshot/api_op_TagResource.go.snap +++ b/service/braket/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/braket/snapshot/api_op_UntagResource.go.snap b/service/braket/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/braket/snapshot/api_op_UntagResource.go.snap +++ b/service/braket/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/budgets/api_client.go b/service/budgets/api_client.go index a2509b76696..ae7d97e99a6 100644 --- a/service/budgets/api_client.go +++ b/service/budgets/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/budgets/api_op_CreateBudget.go b/service/budgets/api_op_CreateBudget.go index 753c4812e36..26da25b3c30 100644 --- a/service/budgets/api_op_CreateBudget.go +++ b/service/budgets/api_op_CreateBudget.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateBudgetMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBudgetValidationMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_CreateBudgetAction.go b/service/budgets/api_op_CreateBudgetAction.go index dfaf442e1c8..87cbaac07e6 100644 --- a/service/budgets/api_op_CreateBudgetAction.go +++ b/service/budgets/api_op_CreateBudgetAction.go @@ -172,9 +172,6 @@ func (c *Client) addOperationCreateBudgetActionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBudgetActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_CreateNotification.go b/service/budgets/api_op_CreateNotification.go index 02d693484be..a2a7182d6fc 100644 --- a/service/budgets/api_op_CreateNotification.go +++ b/service/budgets/api_op_CreateNotification.go @@ -129,9 +129,6 @@ func (c *Client) addOperationCreateNotificationMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateNotificationValidationMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_CreateSubscriber.go b/service/budgets/api_op_CreateSubscriber.go index a371fb5bbde..db20ac19b81 100644 --- a/service/budgets/api_op_CreateSubscriber.go +++ b/service/budgets/api_op_CreateSubscriber.go @@ -128,9 +128,6 @@ func (c *Client) addOperationCreateSubscriberMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSubscriberValidationMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_DeleteBudget.go b/service/budgets/api_op_DeleteBudget.go index b213591e3c1..2320203d48a 100644 --- a/service/budgets/api_op_DeleteBudget.go +++ b/service/budgets/api_op_DeleteBudget.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteBudgetMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBudgetValidationMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_DeleteBudgetAction.go b/service/budgets/api_op_DeleteBudgetAction.go index 1d6b15b99cb..24d5057d747 100644 --- a/service/budgets/api_op_DeleteBudgetAction.go +++ b/service/budgets/api_op_DeleteBudgetAction.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDeleteBudgetActionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBudgetActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_DeleteNotification.go b/service/budgets/api_op_DeleteNotification.go index d1f66f34230..da5f264d3fc 100644 --- a/service/budgets/api_op_DeleteNotification.go +++ b/service/budgets/api_op_DeleteNotification.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteNotificationMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteNotificationValidationMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_DeleteSubscriber.go b/service/budgets/api_op_DeleteSubscriber.go index 4b054e024b3..f9a93c9f9dd 100644 --- a/service/budgets/api_op_DeleteSubscriber.go +++ b/service/budgets/api_op_DeleteSubscriber.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteSubscriberMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSubscriberValidationMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_DescribeBudget.go b/service/budgets/api_op_DescribeBudget.go index 5a98a4c51e8..ebc1e64b94c 100644 --- a/service/budgets/api_op_DescribeBudget.go +++ b/service/budgets/api_op_DescribeBudget.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeBudgetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBudgetValidationMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_DescribeBudgetAction.go b/service/budgets/api_op_DescribeBudgetAction.go index 560bbb41c7b..ed211ece79b 100644 --- a/service/budgets/api_op_DescribeBudgetAction.go +++ b/service/budgets/api_op_DescribeBudgetAction.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribeBudgetActionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBudgetActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_DescribeBudgetActionHistories.go b/service/budgets/api_op_DescribeBudgetActionHistories.go index 4c1497b7865..e2d3ef06723 100644 --- a/service/budgets/api_op_DescribeBudgetActionHistories.go +++ b/service/budgets/api_op_DescribeBudgetActionHistories.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDescribeBudgetActionHistoriesMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBudgetActionHistoriesValidationMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_DescribeBudgetActionsForAccount.go b/service/budgets/api_op_DescribeBudgetActionsForAccount.go index c18b8c7a247..3ab86688162 100644 --- a/service/budgets/api_op_DescribeBudgetActionsForAccount.go +++ b/service/budgets/api_op_DescribeBudgetActionsForAccount.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeBudgetActionsForAccountMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBudgetActionsForAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_DescribeBudgetActionsForBudget.go b/service/budgets/api_op_DescribeBudgetActionsForBudget.go index e4d7239f902..a1ec642f326 100644 --- a/service/budgets/api_op_DescribeBudgetActionsForBudget.go +++ b/service/budgets/api_op_DescribeBudgetActionsForBudget.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeBudgetActionsForBudgetMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBudgetActionsForBudgetValidationMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_DescribeBudgetNotificationsForAccount.go b/service/budgets/api_op_DescribeBudgetNotificationsForAccount.go index aab5b044fd7..11b3a67fea0 100644 --- a/service/budgets/api_op_DescribeBudgetNotificationsForAccount.go +++ b/service/budgets/api_op_DescribeBudgetNotificationsForAccount.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeBudgetNotificationsForAccountMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBudgetNotificationsForAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_DescribeBudgetPerformanceHistory.go b/service/budgets/api_op_DescribeBudgetPerformanceHistory.go index 0d1e349cafc..c32a105d632 100644 --- a/service/budgets/api_op_DescribeBudgetPerformanceHistory.go +++ b/service/budgets/api_op_DescribeBudgetPerformanceHistory.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDescribeBudgetPerformanceHistoryMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBudgetPerformanceHistoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_DescribeBudgets.go b/service/budgets/api_op_DescribeBudgets.go index e581e9702b3..23d6e8eda9a 100644 --- a/service/budgets/api_op_DescribeBudgets.go +++ b/service/budgets/api_op_DescribeBudgets.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeBudgetsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBudgetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_DescribeNotificationsForBudget.go b/service/budgets/api_op_DescribeNotificationsForBudget.go index 263e8d1a9d0..bae173e8cee 100644 --- a/service/budgets/api_op_DescribeNotificationsForBudget.go +++ b/service/budgets/api_op_DescribeNotificationsForBudget.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeNotificationsForBudgetMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeNotificationsForBudgetValidationMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_DescribeSubscribersForNotification.go b/service/budgets/api_op_DescribeSubscribersForNotification.go index 08e7947e8ac..0efba47de2c 100644 --- a/service/budgets/api_op_DescribeSubscribersForNotification.go +++ b/service/budgets/api_op_DescribeSubscribersForNotification.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDescribeSubscribersForNotificationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSubscribersForNotificationValidationMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_ExecuteBudgetAction.go b/service/budgets/api_op_ExecuteBudgetAction.go index 851f1d47a41..a9eb0821331 100644 --- a/service/budgets/api_op_ExecuteBudgetAction.go +++ b/service/budgets/api_op_ExecuteBudgetAction.go @@ -146,9 +146,6 @@ func (c *Client) addOperationExecuteBudgetActionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExecuteBudgetActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_ListTagsForResource.go b/service/budgets/api_op_ListTagsForResource.go index eface0c06e7..c1212773a1b 100644 --- a/service/budgets/api_op_ListTagsForResource.go +++ b/service/budgets/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_TagResource.go b/service/budgets/api_op_TagResource.go index cb3d3538577..e8bea2dd389 100644 --- a/service/budgets/api_op_TagResource.go +++ b/service/budgets/api_op_TagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_UntagResource.go b/service/budgets/api_op_UntagResource.go index 3027b9b825f..58d798a3843 100644 --- a/service/budgets/api_op_UntagResource.go +++ b/service/budgets/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_UpdateBudget.go b/service/budgets/api_op_UpdateBudget.go index 59065cdac9a..23804bbf2da 100644 --- a/service/budgets/api_op_UpdateBudget.go +++ b/service/budgets/api_op_UpdateBudget.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateBudgetMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBudgetValidationMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_UpdateBudgetAction.go b/service/budgets/api_op_UpdateBudgetAction.go index a28678969dc..4b754292885 100644 --- a/service/budgets/api_op_UpdateBudgetAction.go +++ b/service/budgets/api_op_UpdateBudgetAction.go @@ -160,9 +160,6 @@ func (c *Client) addOperationUpdateBudgetActionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBudgetActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_UpdateNotification.go b/service/budgets/api_op_UpdateNotification.go index ec00760bc8d..b905a3de2ff 100644 --- a/service/budgets/api_op_UpdateNotification.go +++ b/service/budgets/api_op_UpdateNotification.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateNotificationMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateNotificationValidationMiddleware(stack); err != nil { return err } diff --git a/service/budgets/api_op_UpdateSubscriber.go b/service/budgets/api_op_UpdateSubscriber.go index 1f14e4c8b31..7af73b27c3b 100644 --- a/service/budgets/api_op_UpdateSubscriber.go +++ b/service/budgets/api_op_UpdateSubscriber.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateSubscriberMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSubscriberValidationMiddleware(stack); err != nil { return err } diff --git a/service/budgets/snapshot/api_op_CreateBudget.go.snap b/service/budgets/snapshot/api_op_CreateBudget.go.snap index bf6e18389a2..b1c1befa1b2 100644 --- a/service/budgets/snapshot/api_op_CreateBudget.go.snap +++ b/service/budgets/snapshot/api_op_CreateBudget.go.snap @@ -14,7 +14,6 @@ CreateBudget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/budgets/snapshot/api_op_CreateBudgetAction.go.snap b/service/budgets/snapshot/api_op_CreateBudgetAction.go.snap index 7caaa323c0c..1c6c43d6abe 100644 --- a/service/budgets/snapshot/api_op_CreateBudgetAction.go.snap +++ b/service/budgets/snapshot/api_op_CreateBudgetAction.go.snap @@ -14,7 +14,6 @@ CreateBudgetAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/budgets/snapshot/api_op_CreateNotification.go.snap b/service/budgets/snapshot/api_op_CreateNotification.go.snap index d2f6238d2ad..ddbe5cbeb32 100644 --- a/service/budgets/snapshot/api_op_CreateNotification.go.snap +++ b/service/budgets/snapshot/api_op_CreateNotification.go.snap @@ -14,7 +14,6 @@ CreateNotification Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/budgets/snapshot/api_op_CreateSubscriber.go.snap b/service/budgets/snapshot/api_op_CreateSubscriber.go.snap index c464af2c651..bec71766ef2 100644 --- a/service/budgets/snapshot/api_op_CreateSubscriber.go.snap +++ b/service/budgets/snapshot/api_op_CreateSubscriber.go.snap @@ -14,7 +14,6 @@ CreateSubscriber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/budgets/snapshot/api_op_DeleteBudget.go.snap b/service/budgets/snapshot/api_op_DeleteBudget.go.snap index 480812e3d09..633e5f96b37 100644 --- a/service/budgets/snapshot/api_op_DeleteBudget.go.snap +++ b/service/budgets/snapshot/api_op_DeleteBudget.go.snap @@ -14,7 +14,6 @@ DeleteBudget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/budgets/snapshot/api_op_DeleteBudgetAction.go.snap b/service/budgets/snapshot/api_op_DeleteBudgetAction.go.snap index ae70fc7c7b8..9844f2aab7e 100644 --- a/service/budgets/snapshot/api_op_DeleteBudgetAction.go.snap +++ b/service/budgets/snapshot/api_op_DeleteBudgetAction.go.snap @@ -14,7 +14,6 @@ DeleteBudgetAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/budgets/snapshot/api_op_DeleteNotification.go.snap b/service/budgets/snapshot/api_op_DeleteNotification.go.snap index e25717b6964..8080490c742 100644 --- a/service/budgets/snapshot/api_op_DeleteNotification.go.snap +++ b/service/budgets/snapshot/api_op_DeleteNotification.go.snap @@ -14,7 +14,6 @@ DeleteNotification Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/budgets/snapshot/api_op_DeleteSubscriber.go.snap b/service/budgets/snapshot/api_op_DeleteSubscriber.go.snap index a52adb4f490..b89437fca44 100644 --- a/service/budgets/snapshot/api_op_DeleteSubscriber.go.snap +++ b/service/budgets/snapshot/api_op_DeleteSubscriber.go.snap @@ -14,7 +14,6 @@ DeleteSubscriber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/budgets/snapshot/api_op_DescribeBudget.go.snap b/service/budgets/snapshot/api_op_DescribeBudget.go.snap index 72b9ce4f2cf..63b85ba5f97 100644 --- a/service/budgets/snapshot/api_op_DescribeBudget.go.snap +++ b/service/budgets/snapshot/api_op_DescribeBudget.go.snap @@ -14,7 +14,6 @@ DescribeBudget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/budgets/snapshot/api_op_DescribeBudgetAction.go.snap b/service/budgets/snapshot/api_op_DescribeBudgetAction.go.snap index bc4fd28633f..f975dd5ea35 100644 --- a/service/budgets/snapshot/api_op_DescribeBudgetAction.go.snap +++ b/service/budgets/snapshot/api_op_DescribeBudgetAction.go.snap @@ -14,7 +14,6 @@ DescribeBudgetAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/budgets/snapshot/api_op_DescribeBudgetActionHistories.go.snap b/service/budgets/snapshot/api_op_DescribeBudgetActionHistories.go.snap index ee66776b181..cb18b4722ac 100644 --- a/service/budgets/snapshot/api_op_DescribeBudgetActionHistories.go.snap +++ b/service/budgets/snapshot/api_op_DescribeBudgetActionHistories.go.snap @@ -14,7 +14,6 @@ DescribeBudgetActionHistories Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/budgets/snapshot/api_op_DescribeBudgetActionsForAccount.go.snap b/service/budgets/snapshot/api_op_DescribeBudgetActionsForAccount.go.snap index 861eba18758..88e66b08ae8 100644 --- a/service/budgets/snapshot/api_op_DescribeBudgetActionsForAccount.go.snap +++ b/service/budgets/snapshot/api_op_DescribeBudgetActionsForAccount.go.snap @@ -14,7 +14,6 @@ DescribeBudgetActionsForAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/budgets/snapshot/api_op_DescribeBudgetActionsForBudget.go.snap b/service/budgets/snapshot/api_op_DescribeBudgetActionsForBudget.go.snap index 1674cae31ca..06b00dd87be 100644 --- a/service/budgets/snapshot/api_op_DescribeBudgetActionsForBudget.go.snap +++ b/service/budgets/snapshot/api_op_DescribeBudgetActionsForBudget.go.snap @@ -14,7 +14,6 @@ DescribeBudgetActionsForBudget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/budgets/snapshot/api_op_DescribeBudgetNotificationsForAccount.go.snap b/service/budgets/snapshot/api_op_DescribeBudgetNotificationsForAccount.go.snap index 9bd457204ad..567ceb380bc 100644 --- a/service/budgets/snapshot/api_op_DescribeBudgetNotificationsForAccount.go.snap +++ b/service/budgets/snapshot/api_op_DescribeBudgetNotificationsForAccount.go.snap @@ -14,7 +14,6 @@ DescribeBudgetNotificationsForAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/budgets/snapshot/api_op_DescribeBudgetPerformanceHistory.go.snap b/service/budgets/snapshot/api_op_DescribeBudgetPerformanceHistory.go.snap index c64df40f07b..a019fddc804 100644 --- a/service/budgets/snapshot/api_op_DescribeBudgetPerformanceHistory.go.snap +++ b/service/budgets/snapshot/api_op_DescribeBudgetPerformanceHistory.go.snap @@ -14,7 +14,6 @@ DescribeBudgetPerformanceHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/budgets/snapshot/api_op_DescribeBudgets.go.snap b/service/budgets/snapshot/api_op_DescribeBudgets.go.snap index 9c0dd8b40e2..6b05843eb3a 100644 --- a/service/budgets/snapshot/api_op_DescribeBudgets.go.snap +++ b/service/budgets/snapshot/api_op_DescribeBudgets.go.snap @@ -14,7 +14,6 @@ DescribeBudgets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/budgets/snapshot/api_op_DescribeNotificationsForBudget.go.snap b/service/budgets/snapshot/api_op_DescribeNotificationsForBudget.go.snap index 57c729d2107..9c4c0e8abcb 100644 --- a/service/budgets/snapshot/api_op_DescribeNotificationsForBudget.go.snap +++ b/service/budgets/snapshot/api_op_DescribeNotificationsForBudget.go.snap @@ -14,7 +14,6 @@ DescribeNotificationsForBudget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/budgets/snapshot/api_op_DescribeSubscribersForNotification.go.snap b/service/budgets/snapshot/api_op_DescribeSubscribersForNotification.go.snap index c3b6b95c13d..e5b8c7aff46 100644 --- a/service/budgets/snapshot/api_op_DescribeSubscribersForNotification.go.snap +++ b/service/budgets/snapshot/api_op_DescribeSubscribersForNotification.go.snap @@ -14,7 +14,6 @@ DescribeSubscribersForNotification Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/budgets/snapshot/api_op_ExecuteBudgetAction.go.snap b/service/budgets/snapshot/api_op_ExecuteBudgetAction.go.snap index d9c6d5e1347..58444d860b1 100644 --- a/service/budgets/snapshot/api_op_ExecuteBudgetAction.go.snap +++ b/service/budgets/snapshot/api_op_ExecuteBudgetAction.go.snap @@ -14,7 +14,6 @@ ExecuteBudgetAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/budgets/snapshot/api_op_ListTagsForResource.go.snap b/service/budgets/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/budgets/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/budgets/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/budgets/snapshot/api_op_TagResource.go.snap b/service/budgets/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/budgets/snapshot/api_op_TagResource.go.snap +++ b/service/budgets/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/budgets/snapshot/api_op_UntagResource.go.snap b/service/budgets/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/budgets/snapshot/api_op_UntagResource.go.snap +++ b/service/budgets/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/budgets/snapshot/api_op_UpdateBudget.go.snap b/service/budgets/snapshot/api_op_UpdateBudget.go.snap index 5b019a802a0..eb6427bcdd5 100644 --- a/service/budgets/snapshot/api_op_UpdateBudget.go.snap +++ b/service/budgets/snapshot/api_op_UpdateBudget.go.snap @@ -14,7 +14,6 @@ UpdateBudget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/budgets/snapshot/api_op_UpdateBudgetAction.go.snap b/service/budgets/snapshot/api_op_UpdateBudgetAction.go.snap index 29cba73c526..5a195ac9e47 100644 --- a/service/budgets/snapshot/api_op_UpdateBudgetAction.go.snap +++ b/service/budgets/snapshot/api_op_UpdateBudgetAction.go.snap @@ -14,7 +14,6 @@ UpdateBudgetAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/budgets/snapshot/api_op_UpdateNotification.go.snap b/service/budgets/snapshot/api_op_UpdateNotification.go.snap index 36c88802936..ca1db58a230 100644 --- a/service/budgets/snapshot/api_op_UpdateNotification.go.snap +++ b/service/budgets/snapshot/api_op_UpdateNotification.go.snap @@ -14,7 +14,6 @@ UpdateNotification Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/budgets/snapshot/api_op_UpdateSubscriber.go.snap b/service/budgets/snapshot/api_op_UpdateSubscriber.go.snap index 44a7b63f38d..a9f3d9ecfc8 100644 --- a/service/budgets/snapshot/api_op_UpdateSubscriber.go.snap +++ b/service/budgets/snapshot/api_op_UpdateSubscriber.go.snap @@ -14,7 +14,6 @@ UpdateSubscriber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/api_client.go b/service/chatbot/api_client.go index 6ea86b58a9b..0cecfa9c6a1 100644 --- a/service/chatbot/api_client.go +++ b/service/chatbot/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/chatbot/api_op_AssociateToConfiguration.go b/service/chatbot/api_op_AssociateToConfiguration.go index 266f3770337..cae435efd15 100644 --- a/service/chatbot/api_op_AssociateToConfiguration.go +++ b/service/chatbot/api_op_AssociateToConfiguration.go @@ -112,9 +112,6 @@ func (c *Client) addOperationAssociateToConfigurationMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateToConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chatbot/api_op_CreateChimeWebhookConfiguration.go b/service/chatbot/api_op_CreateChimeWebhookConfiguration.go index 61a0081f3c4..9c033de8ab4 100644 --- a/service/chatbot/api_op_CreateChimeWebhookConfiguration.go +++ b/service/chatbot/api_op_CreateChimeWebhookConfiguration.go @@ -150,9 +150,6 @@ func (c *Client) addOperationCreateChimeWebhookConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateChimeWebhookConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chatbot/api_op_CreateCustomAction.go b/service/chatbot/api_op_CreateCustomAction.go index c73987071cc..e7c67262619 100644 --- a/service/chatbot/api_op_CreateCustomAction.go +++ b/service/chatbot/api_op_CreateCustomAction.go @@ -142,9 +142,6 @@ func (c *Client) addOperationCreateCustomActionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateCustomActionMiddleware(stack, options); err != nil { return err } diff --git a/service/chatbot/api_op_CreateMicrosoftTeamsChannelConfiguration.go b/service/chatbot/api_op_CreateMicrosoftTeamsChannelConfiguration.go index 68b85f3a7c5..6d49d3b0096 100644 --- a/service/chatbot/api_op_CreateMicrosoftTeamsChannelConfiguration.go +++ b/service/chatbot/api_op_CreateMicrosoftTeamsChannelConfiguration.go @@ -168,9 +168,6 @@ func (c *Client) addOperationCreateMicrosoftTeamsChannelConfigurationMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateMicrosoftTeamsChannelConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chatbot/api_op_CreateSlackChannelConfiguration.go b/service/chatbot/api_op_CreateSlackChannelConfiguration.go index 5226aae2818..d390d670d7c 100644 --- a/service/chatbot/api_op_CreateSlackChannelConfiguration.go +++ b/service/chatbot/api_op_CreateSlackChannelConfiguration.go @@ -157,9 +157,6 @@ func (c *Client) addOperationCreateSlackChannelConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSlackChannelConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chatbot/api_op_DeleteChimeWebhookConfiguration.go b/service/chatbot/api_op_DeleteChimeWebhookConfiguration.go index 5c9e3d91a7f..4e5d94d589d 100644 --- a/service/chatbot/api_op_DeleteChimeWebhookConfiguration.go +++ b/service/chatbot/api_op_DeleteChimeWebhookConfiguration.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteChimeWebhookConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteChimeWebhookConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chatbot/api_op_DeleteCustomAction.go b/service/chatbot/api_op_DeleteCustomAction.go index bc82ce0f798..e9569973184 100644 --- a/service/chatbot/api_op_DeleteCustomAction.go +++ b/service/chatbot/api_op_DeleteCustomAction.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteCustomActionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCustomActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/chatbot/api_op_DeleteMicrosoftTeamsChannelConfiguration.go b/service/chatbot/api_op_DeleteMicrosoftTeamsChannelConfiguration.go index a0cde1c0fba..b7762623fc4 100644 --- a/service/chatbot/api_op_DeleteMicrosoftTeamsChannelConfiguration.go +++ b/service/chatbot/api_op_DeleteMicrosoftTeamsChannelConfiguration.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteMicrosoftTeamsChannelConfigurationMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMicrosoftTeamsChannelConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chatbot/api_op_DeleteMicrosoftTeamsConfiguredTeam.go b/service/chatbot/api_op_DeleteMicrosoftTeamsConfiguredTeam.go index 94304c1eb66..c68db67e180 100644 --- a/service/chatbot/api_op_DeleteMicrosoftTeamsConfiguredTeam.go +++ b/service/chatbot/api_op_DeleteMicrosoftTeamsConfiguredTeam.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteMicrosoftTeamsConfiguredTeamMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMicrosoftTeamsConfiguredTeamValidationMiddleware(stack); err != nil { return err } diff --git a/service/chatbot/api_op_DeleteMicrosoftTeamsUserIdentity.go b/service/chatbot/api_op_DeleteMicrosoftTeamsUserIdentity.go index 1791460ecd1..a9750cab18c 100644 --- a/service/chatbot/api_op_DeleteMicrosoftTeamsUserIdentity.go +++ b/service/chatbot/api_op_DeleteMicrosoftTeamsUserIdentity.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteMicrosoftTeamsUserIdentityMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMicrosoftTeamsUserIdentityValidationMiddleware(stack); err != nil { return err } diff --git a/service/chatbot/api_op_DeleteSlackChannelConfiguration.go b/service/chatbot/api_op_DeleteSlackChannelConfiguration.go index e9867bcb227..1c6ca5e6ef2 100644 --- a/service/chatbot/api_op_DeleteSlackChannelConfiguration.go +++ b/service/chatbot/api_op_DeleteSlackChannelConfiguration.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteSlackChannelConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSlackChannelConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chatbot/api_op_DeleteSlackUserIdentity.go b/service/chatbot/api_op_DeleteSlackUserIdentity.go index 72412e9b7de..943fa98b736 100644 --- a/service/chatbot/api_op_DeleteSlackUserIdentity.go +++ b/service/chatbot/api_op_DeleteSlackUserIdentity.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteSlackUserIdentityMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSlackUserIdentityValidationMiddleware(stack); err != nil { return err } diff --git a/service/chatbot/api_op_DeleteSlackWorkspaceAuthorization.go b/service/chatbot/api_op_DeleteSlackWorkspaceAuthorization.go index ca2e2ea24f8..d822d172592 100644 --- a/service/chatbot/api_op_DeleteSlackWorkspaceAuthorization.go +++ b/service/chatbot/api_op_DeleteSlackWorkspaceAuthorization.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteSlackWorkspaceAuthorizationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSlackWorkspaceAuthorizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chatbot/api_op_DescribeChimeWebhookConfigurations.go b/service/chatbot/api_op_DescribeChimeWebhookConfigurations.go index 88344757aff..f780f1eb709 100644 --- a/service/chatbot/api_op_DescribeChimeWebhookConfigurations.go +++ b/service/chatbot/api_op_DescribeChimeWebhookConfigurations.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeChimeWebhookConfigurationsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeChimeWebhookConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chatbot/api_op_DescribeSlackChannelConfigurations.go b/service/chatbot/api_op_DescribeSlackChannelConfigurations.go index 3c9ae30aabf..9a35d535fcc 100644 --- a/service/chatbot/api_op_DescribeSlackChannelConfigurations.go +++ b/service/chatbot/api_op_DescribeSlackChannelConfigurations.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeSlackChannelConfigurationsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSlackChannelConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chatbot/api_op_DescribeSlackUserIdentities.go b/service/chatbot/api_op_DescribeSlackUserIdentities.go index 79434237770..018f3da3888 100644 --- a/service/chatbot/api_op_DescribeSlackUserIdentities.go +++ b/service/chatbot/api_op_DescribeSlackUserIdentities.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeSlackUserIdentitiesMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSlackUserIdentities(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chatbot/api_op_DescribeSlackWorkspaces.go b/service/chatbot/api_op_DescribeSlackWorkspaces.go index fa0e41b61d7..20126d64d06 100644 --- a/service/chatbot/api_op_DescribeSlackWorkspaces.go +++ b/service/chatbot/api_op_DescribeSlackWorkspaces.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeSlackWorkspacesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSlackWorkspaces(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chatbot/api_op_DisassociateFromConfiguration.go b/service/chatbot/api_op_DisassociateFromConfiguration.go index a24164c3678..166971d4bb0 100644 --- a/service/chatbot/api_op_DisassociateFromConfiguration.go +++ b/service/chatbot/api_op_DisassociateFromConfiguration.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDisassociateFromConfigurationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateFromConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chatbot/api_op_GetAccountPreferences.go b/service/chatbot/api_op_GetAccountPreferences.go index e6c1a8b4490..d63bcc09def 100644 --- a/service/chatbot/api_op_GetAccountPreferences.go +++ b/service/chatbot/api_op_GetAccountPreferences.go @@ -106,9 +106,6 @@ func (c *Client) addOperationGetAccountPreferencesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountPreferences(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chatbot/api_op_GetCustomAction.go b/service/chatbot/api_op_GetCustomAction.go index 828c69c8acd..231a42ce05d 100644 --- a/service/chatbot/api_op_GetCustomAction.go +++ b/service/chatbot/api_op_GetCustomAction.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetCustomActionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCustomActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/chatbot/api_op_GetMicrosoftTeamsChannelConfiguration.go b/service/chatbot/api_op_GetMicrosoftTeamsChannelConfiguration.go index 40f3f9b0033..ee995c5ef40 100644 --- a/service/chatbot/api_op_GetMicrosoftTeamsChannelConfiguration.go +++ b/service/chatbot/api_op_GetMicrosoftTeamsChannelConfiguration.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetMicrosoftTeamsChannelConfigurationMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMicrosoftTeamsChannelConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chatbot/api_op_ListAssociations.go b/service/chatbot/api_op_ListAssociations.go index cfd3c7d03c0..f7ab9a360de 100644 --- a/service/chatbot/api_op_ListAssociations.go +++ b/service/chatbot/api_op_ListAssociations.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListAssociationsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chatbot/api_op_ListCustomActions.go b/service/chatbot/api_op_ListCustomActions.go index 90957d6c063..4e87cafa9cd 100644 --- a/service/chatbot/api_op_ListCustomActions.go +++ b/service/chatbot/api_op_ListCustomActions.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListCustomActionsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCustomActions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chatbot/api_op_ListMicrosoftTeamsChannelConfigurations.go b/service/chatbot/api_op_ListMicrosoftTeamsChannelConfigurations.go index 304d6efef36..0c5bcc9019f 100644 --- a/service/chatbot/api_op_ListMicrosoftTeamsChannelConfigurations.go +++ b/service/chatbot/api_op_ListMicrosoftTeamsChannelConfigurations.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListMicrosoftTeamsChannelConfigurationsMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMicrosoftTeamsChannelConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chatbot/api_op_ListMicrosoftTeamsConfiguredTeams.go b/service/chatbot/api_op_ListMicrosoftTeamsConfiguredTeams.go index 9886cb965d8..479e2c449a8 100644 --- a/service/chatbot/api_op_ListMicrosoftTeamsConfiguredTeams.go +++ b/service/chatbot/api_op_ListMicrosoftTeamsConfiguredTeams.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListMicrosoftTeamsConfiguredTeamsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMicrosoftTeamsConfiguredTeams(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chatbot/api_op_ListMicrosoftTeamsUserIdentities.go b/service/chatbot/api_op_ListMicrosoftTeamsUserIdentities.go index 3bd8356ca05..5867715d808 100644 --- a/service/chatbot/api_op_ListMicrosoftTeamsUserIdentities.go +++ b/service/chatbot/api_op_ListMicrosoftTeamsUserIdentities.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListMicrosoftTeamsUserIdentitiesMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMicrosoftTeamsUserIdentities(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chatbot/api_op_ListTagsForResource.go b/service/chatbot/api_op_ListTagsForResource.go index 000bee60456..305ff178fc0 100644 --- a/service/chatbot/api_op_ListTagsForResource.go +++ b/service/chatbot/api_op_ListTagsForResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/chatbot/api_op_TagResource.go b/service/chatbot/api_op_TagResource.go index 83edabacaa6..76514e88e84 100644 --- a/service/chatbot/api_op_TagResource.go +++ b/service/chatbot/api_op_TagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/chatbot/api_op_UntagResource.go b/service/chatbot/api_op_UntagResource.go index c80b9ecbbf8..f20b40001b0 100644 --- a/service/chatbot/api_op_UntagResource.go +++ b/service/chatbot/api_op_UntagResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/chatbot/api_op_UpdateAccountPreferences.go b/service/chatbot/api_op_UpdateAccountPreferences.go index 9dd9c85996a..5511ae0bf3b 100644 --- a/service/chatbot/api_op_UpdateAccountPreferences.go +++ b/service/chatbot/api_op_UpdateAccountPreferences.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateAccountPreferencesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAccountPreferences(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chatbot/api_op_UpdateChimeWebhookConfiguration.go b/service/chatbot/api_op_UpdateChimeWebhookConfiguration.go index a011413398b..14fc8f5d175 100644 --- a/service/chatbot/api_op_UpdateChimeWebhookConfiguration.go +++ b/service/chatbot/api_op_UpdateChimeWebhookConfiguration.go @@ -137,9 +137,6 @@ func (c *Client) addOperationUpdateChimeWebhookConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateChimeWebhookConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chatbot/api_op_UpdateCustomAction.go b/service/chatbot/api_op_UpdateCustomAction.go index 47d7d28f8f2..07299132b3f 100644 --- a/service/chatbot/api_op_UpdateCustomAction.go +++ b/service/chatbot/api_op_UpdateCustomAction.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateCustomActionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCustomActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/chatbot/api_op_UpdateMicrosoftTeamsChannelConfiguration.go b/service/chatbot/api_op_UpdateMicrosoftTeamsChannelConfiguration.go index 8154de14aff..0a8d2c6e58b 100644 --- a/service/chatbot/api_op_UpdateMicrosoftTeamsChannelConfiguration.go +++ b/service/chatbot/api_op_UpdateMicrosoftTeamsChannelConfiguration.go @@ -142,9 +142,6 @@ func (c *Client) addOperationUpdateMicrosoftTeamsChannelConfigurationMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMicrosoftTeamsChannelConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chatbot/api_op_UpdateSlackChannelConfiguration.go b/service/chatbot/api_op_UpdateSlackChannelConfiguration.go index b4ff9b79799..6c28836db55 100644 --- a/service/chatbot/api_op_UpdateSlackChannelConfiguration.go +++ b/service/chatbot/api_op_UpdateSlackChannelConfiguration.go @@ -146,9 +146,6 @@ func (c *Client) addOperationUpdateSlackChannelConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSlackChannelConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chatbot/snapshot/api_op_AssociateToConfiguration.go.snap b/service/chatbot/snapshot/api_op_AssociateToConfiguration.go.snap index f07c504ea72..5c4c5d4bfc5 100644 --- a/service/chatbot/snapshot/api_op_AssociateToConfiguration.go.snap +++ b/service/chatbot/snapshot/api_op_AssociateToConfiguration.go.snap @@ -14,7 +14,6 @@ AssociateToConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/snapshot/api_op_CreateChimeWebhookConfiguration.go.snap b/service/chatbot/snapshot/api_op_CreateChimeWebhookConfiguration.go.snap index 9ec55807e6f..3d384fd0dea 100644 --- a/service/chatbot/snapshot/api_op_CreateChimeWebhookConfiguration.go.snap +++ b/service/chatbot/snapshot/api_op_CreateChimeWebhookConfiguration.go.snap @@ -14,7 +14,6 @@ CreateChimeWebhookConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/snapshot/api_op_CreateCustomAction.go.snap b/service/chatbot/snapshot/api_op_CreateCustomAction.go.snap index ca742a9167e..2fd16d0835f 100644 --- a/service/chatbot/snapshot/api_op_CreateCustomAction.go.snap +++ b/service/chatbot/snapshot/api_op_CreateCustomAction.go.snap @@ -15,7 +15,6 @@ CreateCustomAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/snapshot/api_op_CreateMicrosoftTeamsChannelConfiguration.go.snap b/service/chatbot/snapshot/api_op_CreateMicrosoftTeamsChannelConfiguration.go.snap index c3a54ac3f79..e669782425a 100644 --- a/service/chatbot/snapshot/api_op_CreateMicrosoftTeamsChannelConfiguration.go.snap +++ b/service/chatbot/snapshot/api_op_CreateMicrosoftTeamsChannelConfiguration.go.snap @@ -14,7 +14,6 @@ CreateMicrosoftTeamsChannelConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/snapshot/api_op_CreateSlackChannelConfiguration.go.snap b/service/chatbot/snapshot/api_op_CreateSlackChannelConfiguration.go.snap index 879e2540b31..453c78b0323 100644 --- a/service/chatbot/snapshot/api_op_CreateSlackChannelConfiguration.go.snap +++ b/service/chatbot/snapshot/api_op_CreateSlackChannelConfiguration.go.snap @@ -14,7 +14,6 @@ CreateSlackChannelConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/snapshot/api_op_DeleteChimeWebhookConfiguration.go.snap b/service/chatbot/snapshot/api_op_DeleteChimeWebhookConfiguration.go.snap index 6e966f4de01..98581748056 100644 --- a/service/chatbot/snapshot/api_op_DeleteChimeWebhookConfiguration.go.snap +++ b/service/chatbot/snapshot/api_op_DeleteChimeWebhookConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteChimeWebhookConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/snapshot/api_op_DeleteCustomAction.go.snap b/service/chatbot/snapshot/api_op_DeleteCustomAction.go.snap index f2adcee819c..177417ecff5 100644 --- a/service/chatbot/snapshot/api_op_DeleteCustomAction.go.snap +++ b/service/chatbot/snapshot/api_op_DeleteCustomAction.go.snap @@ -14,7 +14,6 @@ DeleteCustomAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/snapshot/api_op_DeleteMicrosoftTeamsChannelConfiguration.go.snap b/service/chatbot/snapshot/api_op_DeleteMicrosoftTeamsChannelConfiguration.go.snap index e04468ba461..c29da8d16a7 100644 --- a/service/chatbot/snapshot/api_op_DeleteMicrosoftTeamsChannelConfiguration.go.snap +++ b/service/chatbot/snapshot/api_op_DeleteMicrosoftTeamsChannelConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteMicrosoftTeamsChannelConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/snapshot/api_op_DeleteMicrosoftTeamsConfiguredTeam.go.snap b/service/chatbot/snapshot/api_op_DeleteMicrosoftTeamsConfiguredTeam.go.snap index 2971128d328..2dedecb7f4d 100644 --- a/service/chatbot/snapshot/api_op_DeleteMicrosoftTeamsConfiguredTeam.go.snap +++ b/service/chatbot/snapshot/api_op_DeleteMicrosoftTeamsConfiguredTeam.go.snap @@ -14,7 +14,6 @@ DeleteMicrosoftTeamsConfiguredTeam Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/snapshot/api_op_DeleteMicrosoftTeamsUserIdentity.go.snap b/service/chatbot/snapshot/api_op_DeleteMicrosoftTeamsUserIdentity.go.snap index 28b26b4f33f..7bb52fc4d71 100644 --- a/service/chatbot/snapshot/api_op_DeleteMicrosoftTeamsUserIdentity.go.snap +++ b/service/chatbot/snapshot/api_op_DeleteMicrosoftTeamsUserIdentity.go.snap @@ -14,7 +14,6 @@ DeleteMicrosoftTeamsUserIdentity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/snapshot/api_op_DeleteSlackChannelConfiguration.go.snap b/service/chatbot/snapshot/api_op_DeleteSlackChannelConfiguration.go.snap index 3ce4ddaef47..7cc74d161c9 100644 --- a/service/chatbot/snapshot/api_op_DeleteSlackChannelConfiguration.go.snap +++ b/service/chatbot/snapshot/api_op_DeleteSlackChannelConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteSlackChannelConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/snapshot/api_op_DeleteSlackUserIdentity.go.snap b/service/chatbot/snapshot/api_op_DeleteSlackUserIdentity.go.snap index 168c9c0173c..77383d09715 100644 --- a/service/chatbot/snapshot/api_op_DeleteSlackUserIdentity.go.snap +++ b/service/chatbot/snapshot/api_op_DeleteSlackUserIdentity.go.snap @@ -14,7 +14,6 @@ DeleteSlackUserIdentity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/snapshot/api_op_DeleteSlackWorkspaceAuthorization.go.snap b/service/chatbot/snapshot/api_op_DeleteSlackWorkspaceAuthorization.go.snap index b41ff43aac3..52edbda4365 100644 --- a/service/chatbot/snapshot/api_op_DeleteSlackWorkspaceAuthorization.go.snap +++ b/service/chatbot/snapshot/api_op_DeleteSlackWorkspaceAuthorization.go.snap @@ -14,7 +14,6 @@ DeleteSlackWorkspaceAuthorization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/snapshot/api_op_DescribeChimeWebhookConfigurations.go.snap b/service/chatbot/snapshot/api_op_DescribeChimeWebhookConfigurations.go.snap index cb0ba0409ba..42912dd28d4 100644 --- a/service/chatbot/snapshot/api_op_DescribeChimeWebhookConfigurations.go.snap +++ b/service/chatbot/snapshot/api_op_DescribeChimeWebhookConfigurations.go.snap @@ -13,7 +13,6 @@ DescribeChimeWebhookConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/snapshot/api_op_DescribeSlackChannelConfigurations.go.snap b/service/chatbot/snapshot/api_op_DescribeSlackChannelConfigurations.go.snap index 321c1e3e6f7..0fac584b083 100644 --- a/service/chatbot/snapshot/api_op_DescribeSlackChannelConfigurations.go.snap +++ b/service/chatbot/snapshot/api_op_DescribeSlackChannelConfigurations.go.snap @@ -13,7 +13,6 @@ DescribeSlackChannelConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/snapshot/api_op_DescribeSlackUserIdentities.go.snap b/service/chatbot/snapshot/api_op_DescribeSlackUserIdentities.go.snap index 8015d60cb52..5e1d2936949 100644 --- a/service/chatbot/snapshot/api_op_DescribeSlackUserIdentities.go.snap +++ b/service/chatbot/snapshot/api_op_DescribeSlackUserIdentities.go.snap @@ -13,7 +13,6 @@ DescribeSlackUserIdentities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/snapshot/api_op_DescribeSlackWorkspaces.go.snap b/service/chatbot/snapshot/api_op_DescribeSlackWorkspaces.go.snap index 88e61e0f498..1c15ce7dd8f 100644 --- a/service/chatbot/snapshot/api_op_DescribeSlackWorkspaces.go.snap +++ b/service/chatbot/snapshot/api_op_DescribeSlackWorkspaces.go.snap @@ -13,7 +13,6 @@ DescribeSlackWorkspaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/snapshot/api_op_DisassociateFromConfiguration.go.snap b/service/chatbot/snapshot/api_op_DisassociateFromConfiguration.go.snap index 8718bb94cfd..4fc4d30f79c 100644 --- a/service/chatbot/snapshot/api_op_DisassociateFromConfiguration.go.snap +++ b/service/chatbot/snapshot/api_op_DisassociateFromConfiguration.go.snap @@ -14,7 +14,6 @@ DisassociateFromConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/snapshot/api_op_GetAccountPreferences.go.snap b/service/chatbot/snapshot/api_op_GetAccountPreferences.go.snap index 83fae57a660..e165ff25a1d 100644 --- a/service/chatbot/snapshot/api_op_GetAccountPreferences.go.snap +++ b/service/chatbot/snapshot/api_op_GetAccountPreferences.go.snap @@ -13,7 +13,6 @@ GetAccountPreferences Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/snapshot/api_op_GetCustomAction.go.snap b/service/chatbot/snapshot/api_op_GetCustomAction.go.snap index 79ffe6fdeda..378af37f006 100644 --- a/service/chatbot/snapshot/api_op_GetCustomAction.go.snap +++ b/service/chatbot/snapshot/api_op_GetCustomAction.go.snap @@ -14,7 +14,6 @@ GetCustomAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/snapshot/api_op_GetMicrosoftTeamsChannelConfiguration.go.snap b/service/chatbot/snapshot/api_op_GetMicrosoftTeamsChannelConfiguration.go.snap index 176d9af684b..6a65222a423 100644 --- a/service/chatbot/snapshot/api_op_GetMicrosoftTeamsChannelConfiguration.go.snap +++ b/service/chatbot/snapshot/api_op_GetMicrosoftTeamsChannelConfiguration.go.snap @@ -14,7 +14,6 @@ GetMicrosoftTeamsChannelConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/snapshot/api_op_ListAssociations.go.snap b/service/chatbot/snapshot/api_op_ListAssociations.go.snap index b5276949bc1..a0073117f51 100644 --- a/service/chatbot/snapshot/api_op_ListAssociations.go.snap +++ b/service/chatbot/snapshot/api_op_ListAssociations.go.snap @@ -14,7 +14,6 @@ ListAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/snapshot/api_op_ListCustomActions.go.snap b/service/chatbot/snapshot/api_op_ListCustomActions.go.snap index 0a58e502b34..b8e460e9b3d 100644 --- a/service/chatbot/snapshot/api_op_ListCustomActions.go.snap +++ b/service/chatbot/snapshot/api_op_ListCustomActions.go.snap @@ -13,7 +13,6 @@ ListCustomActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/snapshot/api_op_ListMicrosoftTeamsChannelConfigurations.go.snap b/service/chatbot/snapshot/api_op_ListMicrosoftTeamsChannelConfigurations.go.snap index 9cb802cdd8f..c8d037174cd 100644 --- a/service/chatbot/snapshot/api_op_ListMicrosoftTeamsChannelConfigurations.go.snap +++ b/service/chatbot/snapshot/api_op_ListMicrosoftTeamsChannelConfigurations.go.snap @@ -13,7 +13,6 @@ ListMicrosoftTeamsChannelConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/snapshot/api_op_ListMicrosoftTeamsConfiguredTeams.go.snap b/service/chatbot/snapshot/api_op_ListMicrosoftTeamsConfiguredTeams.go.snap index adc01be0fd2..752bed64911 100644 --- a/service/chatbot/snapshot/api_op_ListMicrosoftTeamsConfiguredTeams.go.snap +++ b/service/chatbot/snapshot/api_op_ListMicrosoftTeamsConfiguredTeams.go.snap @@ -13,7 +13,6 @@ ListMicrosoftTeamsConfiguredTeams Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/snapshot/api_op_ListMicrosoftTeamsUserIdentities.go.snap b/service/chatbot/snapshot/api_op_ListMicrosoftTeamsUserIdentities.go.snap index 6324647a473..1f9ec3e6a1c 100644 --- a/service/chatbot/snapshot/api_op_ListMicrosoftTeamsUserIdentities.go.snap +++ b/service/chatbot/snapshot/api_op_ListMicrosoftTeamsUserIdentities.go.snap @@ -13,7 +13,6 @@ ListMicrosoftTeamsUserIdentities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/snapshot/api_op_ListTagsForResource.go.snap b/service/chatbot/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/chatbot/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/chatbot/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/snapshot/api_op_TagResource.go.snap b/service/chatbot/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/chatbot/snapshot/api_op_TagResource.go.snap +++ b/service/chatbot/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/snapshot/api_op_UntagResource.go.snap b/service/chatbot/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/chatbot/snapshot/api_op_UntagResource.go.snap +++ b/service/chatbot/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/snapshot/api_op_UpdateAccountPreferences.go.snap b/service/chatbot/snapshot/api_op_UpdateAccountPreferences.go.snap index 113fdc3d74e..5db6735e781 100644 --- a/service/chatbot/snapshot/api_op_UpdateAccountPreferences.go.snap +++ b/service/chatbot/snapshot/api_op_UpdateAccountPreferences.go.snap @@ -13,7 +13,6 @@ UpdateAccountPreferences Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/snapshot/api_op_UpdateChimeWebhookConfiguration.go.snap b/service/chatbot/snapshot/api_op_UpdateChimeWebhookConfiguration.go.snap index 8be4612648c..0d94811d7f7 100644 --- a/service/chatbot/snapshot/api_op_UpdateChimeWebhookConfiguration.go.snap +++ b/service/chatbot/snapshot/api_op_UpdateChimeWebhookConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateChimeWebhookConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/snapshot/api_op_UpdateCustomAction.go.snap b/service/chatbot/snapshot/api_op_UpdateCustomAction.go.snap index 1cdcf7108eb..a882390dc3a 100644 --- a/service/chatbot/snapshot/api_op_UpdateCustomAction.go.snap +++ b/service/chatbot/snapshot/api_op_UpdateCustomAction.go.snap @@ -14,7 +14,6 @@ UpdateCustomAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/snapshot/api_op_UpdateMicrosoftTeamsChannelConfiguration.go.snap b/service/chatbot/snapshot/api_op_UpdateMicrosoftTeamsChannelConfiguration.go.snap index 2de55255075..9768d2a6a7a 100644 --- a/service/chatbot/snapshot/api_op_UpdateMicrosoftTeamsChannelConfiguration.go.snap +++ b/service/chatbot/snapshot/api_op_UpdateMicrosoftTeamsChannelConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateMicrosoftTeamsChannelConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chatbot/snapshot/api_op_UpdateSlackChannelConfiguration.go.snap b/service/chatbot/snapshot/api_op_UpdateSlackChannelConfiguration.go.snap index 654a34ec3f5..4aa6c10ca31 100644 --- a/service/chatbot/snapshot/api_op_UpdateSlackChannelConfiguration.go.snap +++ b/service/chatbot/snapshot/api_op_UpdateSlackChannelConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateSlackChannelConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/api_client.go b/service/chime/api_client.go index 8a47993a974..ad97bbff332 100644 --- a/service/chime/api_client.go +++ b/service/chime/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/chime/api_op_AssociatePhoneNumberWithUser.go b/service/chime/api_op_AssociatePhoneNumberWithUser.go index 051381f584b..8b5bb1f7628 100644 --- a/service/chime/api_op_AssociatePhoneNumberWithUser.go +++ b/service/chime/api_op_AssociatePhoneNumberWithUser.go @@ -117,9 +117,6 @@ func (c *Client) addOperationAssociatePhoneNumberWithUserMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociatePhoneNumberWithUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_AssociatePhoneNumbersWithVoiceConnector.go b/service/chime/api_op_AssociatePhoneNumbersWithVoiceConnector.go index 88f1b45dc90..9ac08f8368e 100644 --- a/service/chime/api_op_AssociatePhoneNumbersWithVoiceConnector.go +++ b/service/chime/api_op_AssociatePhoneNumbersWithVoiceConnector.go @@ -135,9 +135,6 @@ func (c *Client) addOperationAssociatePhoneNumbersWithVoiceConnectorMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociatePhoneNumbersWithVoiceConnectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_AssociatePhoneNumbersWithVoiceConnectorGroup.go b/service/chime/api_op_AssociatePhoneNumbersWithVoiceConnectorGroup.go index ed76ca92cab..0b611d11ba2 100644 --- a/service/chime/api_op_AssociatePhoneNumbersWithVoiceConnectorGroup.go +++ b/service/chime/api_op_AssociatePhoneNumbersWithVoiceConnectorGroup.go @@ -136,9 +136,6 @@ func (c *Client) addOperationAssociatePhoneNumbersWithVoiceConnectorGroupMiddlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociatePhoneNumbersWithVoiceConnectorGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_AssociateSigninDelegateGroupsWithAccount.go b/service/chime/api_op_AssociateSigninDelegateGroupsWithAccount.go index f966e848659..1628864b581 100644 --- a/service/chime/api_op_AssociateSigninDelegateGroupsWithAccount.go +++ b/service/chime/api_op_AssociateSigninDelegateGroupsWithAccount.go @@ -114,9 +114,6 @@ func (c *Client) addOperationAssociateSigninDelegateGroupsWithAccountMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateSigninDelegateGroupsWithAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_BatchCreateAttendee.go b/service/chime/api_op_BatchCreateAttendee.go index 18db9baea7f..2e0434c0598 100644 --- a/service/chime/api_op_BatchCreateAttendee.go +++ b/service/chime/api_op_BatchCreateAttendee.go @@ -137,9 +137,6 @@ func (c *Client) addOperationBatchCreateAttendeeMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchCreateAttendeeValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_BatchCreateChannelMembership.go b/service/chime/api_op_BatchCreateChannelMembership.go index b7fc82f67a4..bd1f1fafbb4 100644 --- a/service/chime/api_op_BatchCreateChannelMembership.go +++ b/service/chime/api_op_BatchCreateChannelMembership.go @@ -142,9 +142,6 @@ func (c *Client) addOperationBatchCreateChannelMembershipMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opBatchCreateChannelMembershipMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_BatchCreateRoomMembership.go b/service/chime/api_op_BatchCreateRoomMembership.go index 9affb99d95f..b08ac4a3d95 100644 --- a/service/chime/api_op_BatchCreateRoomMembership.go +++ b/service/chime/api_op_BatchCreateRoomMembership.go @@ -125,9 +125,6 @@ func (c *Client) addOperationBatchCreateRoomMembershipMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchCreateRoomMembershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_BatchDeletePhoneNumber.go b/service/chime/api_op_BatchDeletePhoneNumber.go index fde20390018..aa2f6b51152 100644 --- a/service/chime/api_op_BatchDeletePhoneNumber.go +++ b/service/chime/api_op_BatchDeletePhoneNumber.go @@ -119,9 +119,6 @@ func (c *Client) addOperationBatchDeletePhoneNumberMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDeletePhoneNumberValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_BatchSuspendUser.go b/service/chime/api_op_BatchSuspendUser.go index d4396666d29..4cc8f565498 100644 --- a/service/chime/api_op_BatchSuspendUser.go +++ b/service/chime/api_op_BatchSuspendUser.go @@ -133,9 +133,6 @@ func (c *Client) addOperationBatchSuspendUserMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchSuspendUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_BatchUnsuspendUser.go b/service/chime/api_op_BatchUnsuspendUser.go index 59244b1e147..34beca319fb 100644 --- a/service/chime/api_op_BatchUnsuspendUser.go +++ b/service/chime/api_op_BatchUnsuspendUser.go @@ -127,9 +127,6 @@ func (c *Client) addOperationBatchUnsuspendUserMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchUnsuspendUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_BatchUpdatePhoneNumber.go b/service/chime/api_op_BatchUpdatePhoneNumber.go index 35c9e0a20d1..ce582fe576e 100644 --- a/service/chime/api_op_BatchUpdatePhoneNumber.go +++ b/service/chime/api_op_BatchUpdatePhoneNumber.go @@ -124,9 +124,6 @@ func (c *Client) addOperationBatchUpdatePhoneNumberMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchUpdatePhoneNumberValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_BatchUpdateUser.go b/service/chime/api_op_BatchUpdateUser.go index 79c135e5f59..23e1e6c9da9 100644 --- a/service/chime/api_op_BatchUpdateUser.go +++ b/service/chime/api_op_BatchUpdateUser.go @@ -120,9 +120,6 @@ func (c *Client) addOperationBatchUpdateUserMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchUpdateUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateAccount.go b/service/chime/api_op_CreateAccount.go index 0a3fba4edd5..b1fdbfe2f55 100644 --- a/service/chime/api_op_CreateAccount.go +++ b/service/chime/api_op_CreateAccount.go @@ -116,9 +116,6 @@ func (c *Client) addOperationCreateAccountMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateAppInstance.go b/service/chime/api_op_CreateAppInstance.go index 9fb25df9d26..5aa583b888e 100644 --- a/service/chime/api_op_CreateAppInstance.go +++ b/service/chime/api_op_CreateAppInstance.go @@ -137,9 +137,6 @@ func (c *Client) addOperationCreateAppInstanceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateAppInstanceMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateAppInstanceAdmin.go b/service/chime/api_op_CreateAppInstanceAdmin.go index ccb3fb2ccb8..8193738b590 100644 --- a/service/chime/api_op_CreateAppInstanceAdmin.go +++ b/service/chime/api_op_CreateAppInstanceAdmin.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateAppInstanceAdminMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateAppInstanceAdminMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateAppInstanceUser.go b/service/chime/api_op_CreateAppInstanceUser.go index 67db24f58bf..7db4af34ba8 100644 --- a/service/chime/api_op_CreateAppInstanceUser.go +++ b/service/chime/api_op_CreateAppInstanceUser.go @@ -146,9 +146,6 @@ func (c *Client) addOperationCreateAppInstanceUserMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateAppInstanceUserMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateAttendee.go b/service/chime/api_op_CreateAttendee.go index 2036adf10e9..b9628ad0c22 100644 --- a/service/chime/api_op_CreateAttendee.go +++ b/service/chime/api_op_CreateAttendee.go @@ -137,9 +137,6 @@ func (c *Client) addOperationCreateAttendeeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAttendeeValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateBot.go b/service/chime/api_op_CreateBot.go index 92a780dad1b..58aa49a4023 100644 --- a/service/chime/api_op_CreateBot.go +++ b/service/chime/api_op_CreateBot.go @@ -120,9 +120,6 @@ func (c *Client) addOperationCreateBotMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBotValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateChannel.go b/service/chime/api_op_CreateChannel.go index 61295abca4c..681441ea005 100644 --- a/service/chime/api_op_CreateChannel.go +++ b/service/chime/api_op_CreateChannel.go @@ -158,9 +158,6 @@ func (c *Client) addOperationCreateChannelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateChannelMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateChannelBan.go b/service/chime/api_op_CreateChannelBan.go index 92f3766bf2a..727385081fb 100644 --- a/service/chime/api_op_CreateChannelBan.go +++ b/service/chime/api_op_CreateChannelBan.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCreateChannelBanMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateChannelBanMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateChannelMembership.go b/service/chime/api_op_CreateChannelMembership.go index 3a7b7f07cc7..5fd7c2c5be4 100644 --- a/service/chime/api_op_CreateChannelMembership.go +++ b/service/chime/api_op_CreateChannelMembership.go @@ -164,9 +164,6 @@ func (c *Client) addOperationCreateChannelMembershipMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateChannelMembershipMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateChannelModerator.go b/service/chime/api_op_CreateChannelModerator.go index 086a81863ff..4b3db826efc 100644 --- a/service/chime/api_op_CreateChannelModerator.go +++ b/service/chime/api_op_CreateChannelModerator.go @@ -148,9 +148,6 @@ func (c *Client) addOperationCreateChannelModeratorMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateChannelModeratorMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateMediaCapturePipeline.go b/service/chime/api_op_CreateMediaCapturePipeline.go index fe93235b02f..de827566235 100644 --- a/service/chime/api_op_CreateMediaCapturePipeline.go +++ b/service/chime/api_op_CreateMediaCapturePipeline.go @@ -150,9 +150,6 @@ func (c *Client) addOperationCreateMediaCapturePipelineMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateMediaCapturePipelineMiddleware(stack, options); err != nil { return err } diff --git a/service/chime/api_op_CreateMeeting.go b/service/chime/api_op_CreateMeeting.go index f5bb7c42a64..374f7ddc4fe 100644 --- a/service/chime/api_op_CreateMeeting.go +++ b/service/chime/api_op_CreateMeeting.go @@ -150,9 +150,6 @@ func (c *Client) addOperationCreateMeetingMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateMeetingMiddleware(stack, options); err != nil { return err } diff --git a/service/chime/api_op_CreateMeetingDialOut.go b/service/chime/api_op_CreateMeetingDialOut.go index 33dd3c066ab..2bbb9596c3b 100644 --- a/service/chime/api_op_CreateMeetingDialOut.go +++ b/service/chime/api_op_CreateMeetingDialOut.go @@ -138,9 +138,6 @@ func (c *Client) addOperationCreateMeetingDialOutMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateMeetingDialOutValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateMeetingWithAttendees.go b/service/chime/api_op_CreateMeetingWithAttendees.go index 46c118604ef..c42e2b24bc7 100644 --- a/service/chime/api_op_CreateMeetingWithAttendees.go +++ b/service/chime/api_op_CreateMeetingWithAttendees.go @@ -163,9 +163,6 @@ func (c *Client) addOperationCreateMeetingWithAttendeesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateMeetingWithAttendeesMiddleware(stack, options); err != nil { return err } diff --git a/service/chime/api_op_CreatePhoneNumberOrder.go b/service/chime/api_op_CreatePhoneNumberOrder.go index 1293305b615..054ba3e8a97 100644 --- a/service/chime/api_op_CreatePhoneNumberOrder.go +++ b/service/chime/api_op_CreatePhoneNumberOrder.go @@ -120,9 +120,6 @@ func (c *Client) addOperationCreatePhoneNumberOrderMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePhoneNumberOrderValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateProxySession.go b/service/chime/api_op_CreateProxySession.go index 75c996a2fdf..cf659899d60 100644 --- a/service/chime/api_op_CreateProxySession.go +++ b/service/chime/api_op_CreateProxySession.go @@ -152,9 +152,6 @@ func (c *Client) addOperationCreateProxySessionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateProxySessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateRoom.go b/service/chime/api_op_CreateRoom.go index 782bcce459b..06610f2d0cb 100644 --- a/service/chime/api_op_CreateRoom.go +++ b/service/chime/api_op_CreateRoom.go @@ -120,9 +120,6 @@ func (c *Client) addOperationCreateRoomMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateRoomMiddleware(stack, options); err != nil { return err } diff --git a/service/chime/api_op_CreateRoomMembership.go b/service/chime/api_op_CreateRoomMembership.go index 8fcdba58d82..e3d570f2fc8 100644 --- a/service/chime/api_op_CreateRoomMembership.go +++ b/service/chime/api_op_CreateRoomMembership.go @@ -127,9 +127,6 @@ func (c *Client) addOperationCreateRoomMembershipMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRoomMembershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateSipMediaApplication.go b/service/chime/api_op_CreateSipMediaApplication.go index 188f9894dbe..0bba3bd81d7 100644 --- a/service/chime/api_op_CreateSipMediaApplication.go +++ b/service/chime/api_op_CreateSipMediaApplication.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateSipMediaApplicationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSipMediaApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateSipMediaApplicationCall.go b/service/chime/api_op_CreateSipMediaApplicationCall.go index f15df520d78..b589add9bb0 100644 --- a/service/chime/api_op_CreateSipMediaApplicationCall.go +++ b/service/chime/api_op_CreateSipMediaApplicationCall.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateSipMediaApplicationCallMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSipMediaApplicationCallValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateSipRule.go b/service/chime/api_op_CreateSipRule.go index 5874794136d..09b7229ff58 100644 --- a/service/chime/api_op_CreateSipRule.go +++ b/service/chime/api_op_CreateSipRule.go @@ -150,9 +150,6 @@ func (c *Client) addOperationCreateSipRuleMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSipRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateUser.go b/service/chime/api_op_CreateUser.go index 33022215c13..10c26318f9e 100644 --- a/service/chime/api_op_CreateUser.go +++ b/service/chime/api_op_CreateUser.go @@ -121,9 +121,6 @@ func (c *Client) addOperationCreateUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateVoiceConnector.go b/service/chime/api_op_CreateVoiceConnector.go index 4ec76212653..0575987217a 100644 --- a/service/chime/api_op_CreateVoiceConnector.go +++ b/service/chime/api_op_CreateVoiceConnector.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateVoiceConnectorMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVoiceConnectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_CreateVoiceConnectorGroup.go b/service/chime/api_op_CreateVoiceConnectorGroup.go index c5871b67f78..f93ad817981 100644 --- a/service/chime/api_op_CreateVoiceConnectorGroup.go +++ b/service/chime/api_op_CreateVoiceConnectorGroup.go @@ -133,9 +133,6 @@ func (c *Client) addOperationCreateVoiceConnectorGroupMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVoiceConnectorGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteAccount.go b/service/chime/api_op_DeleteAccount.go index 724e653ea51..9e7033312cf 100644 --- a/service/chime/api_op_DeleteAccount.go +++ b/service/chime/api_op_DeleteAccount.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteAccountMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteAppInstance.go b/service/chime/api_op_DeleteAppInstance.go index bc75462c08d..0106c96ac1b 100644 --- a/service/chime/api_op_DeleteAppInstance.go +++ b/service/chime/api_op_DeleteAppInstance.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteAppInstanceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteAppInstanceMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteAppInstanceAdmin.go b/service/chime/api_op_DeleteAppInstanceAdmin.go index 7bb28facc59..84849be3b4d 100644 --- a/service/chime/api_op_DeleteAppInstanceAdmin.go +++ b/service/chime/api_op_DeleteAppInstanceAdmin.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDeleteAppInstanceAdminMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteAppInstanceAdminMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteAppInstanceStreamingConfigurations.go b/service/chime/api_op_DeleteAppInstanceStreamingConfigurations.go index ef9d86c5c2c..d46df9b2c27 100644 --- a/service/chime/api_op_DeleteAppInstanceStreamingConfigurations.go +++ b/service/chime/api_op_DeleteAppInstanceStreamingConfigurations.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteAppInstanceStreamingConfigurationsMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAppInstanceStreamingConfigurationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteAppInstanceUser.go b/service/chime/api_op_DeleteAppInstanceUser.go index 8f27e7efc7e..9b8c882e548 100644 --- a/service/chime/api_op_DeleteAppInstanceUser.go +++ b/service/chime/api_op_DeleteAppInstanceUser.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteAppInstanceUserMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteAppInstanceUserMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteAttendee.go b/service/chime/api_op_DeleteAttendee.go index 3a297b7e95c..318f78ae1a4 100644 --- a/service/chime/api_op_DeleteAttendee.go +++ b/service/chime/api_op_DeleteAttendee.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteAttendeeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAttendeeValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteChannel.go b/service/chime/api_op_DeleteChannel.go index 782c59a71b8..98326d873b0 100644 --- a/service/chime/api_op_DeleteChannel.go +++ b/service/chime/api_op_DeleteChannel.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDeleteChannelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteChannelMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteChannelBan.go b/service/chime/api_op_DeleteChannelBan.go index bfa653a2fbb..de14a8fe4ca 100644 --- a/service/chime/api_op_DeleteChannelBan.go +++ b/service/chime/api_op_DeleteChannelBan.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDeleteChannelBanMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteChannelBanMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteChannelMembership.go b/service/chime/api_op_DeleteChannelMembership.go index 7937dc72d25..645cc5aa47a 100644 --- a/service/chime/api_op_DeleteChannelMembership.go +++ b/service/chime/api_op_DeleteChannelMembership.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDeleteChannelMembershipMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteChannelMembershipMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteChannelMessage.go b/service/chime/api_op_DeleteChannelMessage.go index 36386057d5a..a54a633386c 100644 --- a/service/chime/api_op_DeleteChannelMessage.go +++ b/service/chime/api_op_DeleteChannelMessage.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDeleteChannelMessageMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteChannelMessageMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteChannelModerator.go b/service/chime/api_op_DeleteChannelModerator.go index 9d7e4b0ed1b..1a636d677d4 100644 --- a/service/chime/api_op_DeleteChannelModerator.go +++ b/service/chime/api_op_DeleteChannelModerator.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDeleteChannelModeratorMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteChannelModeratorMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteEventsConfiguration.go b/service/chime/api_op_DeleteEventsConfiguration.go index 5a77656f180..d13d1cc19bd 100644 --- a/service/chime/api_op_DeleteEventsConfiguration.go +++ b/service/chime/api_op_DeleteEventsConfiguration.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteEventsConfigurationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEventsConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteMediaCapturePipeline.go b/service/chime/api_op_DeleteMediaCapturePipeline.go index f572752b6af..36173ca0da6 100644 --- a/service/chime/api_op_DeleteMediaCapturePipeline.go +++ b/service/chime/api_op_DeleteMediaCapturePipeline.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteMediaCapturePipelineMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMediaCapturePipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteMeeting.go b/service/chime/api_op_DeleteMeeting.go index 3781d817a76..81fe89a1657 100644 --- a/service/chime/api_op_DeleteMeeting.go +++ b/service/chime/api_op_DeleteMeeting.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteMeetingMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMeetingValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeletePhoneNumber.go b/service/chime/api_op_DeletePhoneNumber.go index 155af1d3dfe..f9b269c650b 100644 --- a/service/chime/api_op_DeletePhoneNumber.go +++ b/service/chime/api_op_DeletePhoneNumber.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeletePhoneNumberMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePhoneNumberValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteProxySession.go b/service/chime/api_op_DeleteProxySession.go index b176af92b88..688635c443f 100644 --- a/service/chime/api_op_DeleteProxySession.go +++ b/service/chime/api_op_DeleteProxySession.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDeleteProxySessionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProxySessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteRoom.go b/service/chime/api_op_DeleteRoom.go index 6f5402d45b0..4ccb4985a3a 100644 --- a/service/chime/api_op_DeleteRoom.go +++ b/service/chime/api_op_DeleteRoom.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteRoomMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRoomValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteRoomMembership.go b/service/chime/api_op_DeleteRoomMembership.go index db7a0d06807..490c28b7a89 100644 --- a/service/chime/api_op_DeleteRoomMembership.go +++ b/service/chime/api_op_DeleteRoomMembership.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteRoomMembershipMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRoomMembershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteSipMediaApplication.go b/service/chime/api_op_DeleteSipMediaApplication.go index 08bda32a2c6..70bcfa223be 100644 --- a/service/chime/api_op_DeleteSipMediaApplication.go +++ b/service/chime/api_op_DeleteSipMediaApplication.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteSipMediaApplicationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSipMediaApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteSipRule.go b/service/chime/api_op_DeleteSipRule.go index 9581e808754..29ab6ea5610 100644 --- a/service/chime/api_op_DeleteSipRule.go +++ b/service/chime/api_op_DeleteSipRule.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteSipRuleMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSipRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteVoiceConnector.go b/service/chime/api_op_DeleteVoiceConnector.go index 3c8803cdf4d..b14b6182d4c 100644 --- a/service/chime/api_op_DeleteVoiceConnector.go +++ b/service/chime/api_op_DeleteVoiceConnector.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteVoiceConnectorMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVoiceConnectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteVoiceConnectorEmergencyCallingConfiguration.go b/service/chime/api_op_DeleteVoiceConnectorEmergencyCallingConfiguration.go index c4581b9365d..ba0f030c461 100644 --- a/service/chime/api_op_DeleteVoiceConnectorEmergencyCallingConfiguration.go +++ b/service/chime/api_op_DeleteVoiceConnectorEmergencyCallingConfiguration.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteVoiceConnectorEmergencyCallingConfigurationMi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVoiceConnectorEmergencyCallingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteVoiceConnectorGroup.go b/service/chime/api_op_DeleteVoiceConnectorGroup.go index 106b5c9efa6..846d8195463 100644 --- a/service/chime/api_op_DeleteVoiceConnectorGroup.go +++ b/service/chime/api_op_DeleteVoiceConnectorGroup.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteVoiceConnectorGroupMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVoiceConnectorGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteVoiceConnectorOrigination.go b/service/chime/api_op_DeleteVoiceConnectorOrigination.go index b53b3d36661..199ee4c05b1 100644 --- a/service/chime/api_op_DeleteVoiceConnectorOrigination.go +++ b/service/chime/api_op_DeleteVoiceConnectorOrigination.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteVoiceConnectorOriginationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVoiceConnectorOriginationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteVoiceConnectorProxy.go b/service/chime/api_op_DeleteVoiceConnectorProxy.go index 610024a3cb6..5799834e445 100644 --- a/service/chime/api_op_DeleteVoiceConnectorProxy.go +++ b/service/chime/api_op_DeleteVoiceConnectorProxy.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteVoiceConnectorProxyMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVoiceConnectorProxyValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteVoiceConnectorStreamingConfiguration.go b/service/chime/api_op_DeleteVoiceConnectorStreamingConfiguration.go index 0ab17f6d257..ec4f991ab2e 100644 --- a/service/chime/api_op_DeleteVoiceConnectorStreamingConfiguration.go +++ b/service/chime/api_op_DeleteVoiceConnectorStreamingConfiguration.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteVoiceConnectorStreamingConfigurationMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVoiceConnectorStreamingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteVoiceConnectorTermination.go b/service/chime/api_op_DeleteVoiceConnectorTermination.go index 964b1f79207..cd68296bd09 100644 --- a/service/chime/api_op_DeleteVoiceConnectorTermination.go +++ b/service/chime/api_op_DeleteVoiceConnectorTermination.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteVoiceConnectorTerminationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVoiceConnectorTerminationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DeleteVoiceConnectorTerminationCredentials.go b/service/chime/api_op_DeleteVoiceConnectorTerminationCredentials.go index fb566c8e2a8..345705e4b0b 100644 --- a/service/chime/api_op_DeleteVoiceConnectorTerminationCredentials.go +++ b/service/chime/api_op_DeleteVoiceConnectorTerminationCredentials.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDeleteVoiceConnectorTerminationCredentialsMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVoiceConnectorTerminationCredentialsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DescribeAppInstance.go b/service/chime/api_op_DescribeAppInstance.go index 9d5b41f5bd0..f6e198ca298 100644 --- a/service/chime/api_op_DescribeAppInstance.go +++ b/service/chime/api_op_DescribeAppInstance.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribeAppInstanceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeAppInstanceMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DescribeAppInstanceAdmin.go b/service/chime/api_op_DescribeAppInstanceAdmin.go index c194470c1db..478107e525f 100644 --- a/service/chime/api_op_DescribeAppInstanceAdmin.go +++ b/service/chime/api_op_DescribeAppInstanceAdmin.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeAppInstanceAdminMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeAppInstanceAdminMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DescribeAppInstanceUser.go b/service/chime/api_op_DescribeAppInstanceUser.go index 2c9cde983e6..d882f900fa7 100644 --- a/service/chime/api_op_DescribeAppInstanceUser.go +++ b/service/chime/api_op_DescribeAppInstanceUser.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeAppInstanceUserMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeAppInstanceUserMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DescribeChannel.go b/service/chime/api_op_DescribeChannel.go index dde0cb8ebd9..8eb19e5ee93 100644 --- a/service/chime/api_op_DescribeChannel.go +++ b/service/chime/api_op_DescribeChannel.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeChannelMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeChannelMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DescribeChannelBan.go b/service/chime/api_op_DescribeChannelBan.go index 7f55dc62873..56615f63718 100644 --- a/service/chime/api_op_DescribeChannelBan.go +++ b/service/chime/api_op_DescribeChannelBan.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDescribeChannelBanMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeChannelBanMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DescribeChannelMembership.go b/service/chime/api_op_DescribeChannelMembership.go index ec5e5c858c3..b8ce1458c59 100644 --- a/service/chime/api_op_DescribeChannelMembership.go +++ b/service/chime/api_op_DescribeChannelMembership.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDescribeChannelMembershipMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeChannelMembershipMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DescribeChannelMembershipForAppInstanceUser.go b/service/chime/api_op_DescribeChannelMembershipForAppInstanceUser.go index 0a00e5a4e6d..910e5602eb4 100644 --- a/service/chime/api_op_DescribeChannelMembershipForAppInstanceUser.go +++ b/service/chime/api_op_DescribeChannelMembershipForAppInstanceUser.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDescribeChannelMembershipForAppInstanceUserMiddlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeChannelMembershipForAppInstanceUserMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DescribeChannelModeratedByAppInstanceUser.go b/service/chime/api_op_DescribeChannelModeratedByAppInstanceUser.go index fda56fa142d..00ae0f46217 100644 --- a/service/chime/api_op_DescribeChannelModeratedByAppInstanceUser.go +++ b/service/chime/api_op_DescribeChannelModeratedByAppInstanceUser.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribeChannelModeratedByAppInstanceUserMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeChannelModeratedByAppInstanceUserMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DescribeChannelModerator.go b/service/chime/api_op_DescribeChannelModerator.go index 2141a07f30f..f7ded64be85 100644 --- a/service/chime/api_op_DescribeChannelModerator.go +++ b/service/chime/api_op_DescribeChannelModerator.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDescribeChannelModeratorMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeChannelModeratorMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DisassociatePhoneNumberFromUser.go b/service/chime/api_op_DisassociatePhoneNumberFromUser.go index 984905c2c2a..89bbd766c52 100644 --- a/service/chime/api_op_DisassociatePhoneNumberFromUser.go +++ b/service/chime/api_op_DisassociatePhoneNumberFromUser.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDisassociatePhoneNumberFromUserMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociatePhoneNumberFromUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DisassociatePhoneNumbersFromVoiceConnector.go b/service/chime/api_op_DisassociatePhoneNumbersFromVoiceConnector.go index bb73ab1a8bf..8f933d8e776 100644 --- a/service/chime/api_op_DisassociatePhoneNumbersFromVoiceConnector.go +++ b/service/chime/api_op_DisassociatePhoneNumbersFromVoiceConnector.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDisassociatePhoneNumbersFromVoiceConnectorMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociatePhoneNumbersFromVoiceConnectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DisassociatePhoneNumbersFromVoiceConnectorGroup.go b/service/chime/api_op_DisassociatePhoneNumbersFromVoiceConnectorGroup.go index 56e78c29bfb..2cb0bf443da 100644 --- a/service/chime/api_op_DisassociatePhoneNumbersFromVoiceConnectorGroup.go +++ b/service/chime/api_op_DisassociatePhoneNumbersFromVoiceConnectorGroup.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDisassociatePhoneNumbersFromVoiceConnectorGroupMidd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociatePhoneNumbersFromVoiceConnectorGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_DisassociateSigninDelegateGroupsFromAccount.go b/service/chime/api_op_DisassociateSigninDelegateGroupsFromAccount.go index 6882c5ac63c..144ddc8c336 100644 --- a/service/chime/api_op_DisassociateSigninDelegateGroupsFromAccount.go +++ b/service/chime/api_op_DisassociateSigninDelegateGroupsFromAccount.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDisassociateSigninDelegateGroupsFromAccountMiddlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateSigninDelegateGroupsFromAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetAccount.go b/service/chime/api_op_GetAccount.go index b116f49d355..1c833b57f0c 100644 --- a/service/chime/api_op_GetAccount.go +++ b/service/chime/api_op_GetAccount.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetAccountMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetAccountSettings.go b/service/chime/api_op_GetAccountSettings.go index 8cc4b291e67..786a2f34616 100644 --- a/service/chime/api_op_GetAccountSettings.go +++ b/service/chime/api_op_GetAccountSettings.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetAccountSettingsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAccountSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetAppInstanceRetentionSettings.go b/service/chime/api_op_GetAppInstanceRetentionSettings.go index 48b1097b5c6..69b13643f60 100644 --- a/service/chime/api_op_GetAppInstanceRetentionSettings.go +++ b/service/chime/api_op_GetAppInstanceRetentionSettings.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGetAppInstanceRetentionSettingsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetAppInstanceRetentionSettingsMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetAppInstanceStreamingConfigurations.go b/service/chime/api_op_GetAppInstanceStreamingConfigurations.go index 63d098c7411..b7e031d9f2e 100644 --- a/service/chime/api_op_GetAppInstanceStreamingConfigurations.go +++ b/service/chime/api_op_GetAppInstanceStreamingConfigurations.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetAppInstanceStreamingConfigurationsMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAppInstanceStreamingConfigurationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetAttendee.go b/service/chime/api_op_GetAttendee.go index 86813579efb..b71af246dca 100644 --- a/service/chime/api_op_GetAttendee.go +++ b/service/chime/api_op_GetAttendee.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetAttendeeMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAttendeeValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetBot.go b/service/chime/api_op_GetBot.go index 7710899368b..21216b96c29 100644 --- a/service/chime/api_op_GetBot.go +++ b/service/chime/api_op_GetBot.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetBotMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBotValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetChannelMessage.go b/service/chime/api_op_GetChannelMessage.go index 8aacf3c1ffb..575e723d34e 100644 --- a/service/chime/api_op_GetChannelMessage.go +++ b/service/chime/api_op_GetChannelMessage.go @@ -135,9 +135,6 @@ func (c *Client) addOperationGetChannelMessageMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetChannelMessageMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetEventsConfiguration.go b/service/chime/api_op_GetEventsConfiguration.go index bb2a5fbbeaa..ec06a51d9dd 100644 --- a/service/chime/api_op_GetEventsConfiguration.go +++ b/service/chime/api_op_GetEventsConfiguration.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetEventsConfigurationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEventsConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetGlobalSettings.go b/service/chime/api_op_GetGlobalSettings.go index 91f7a66fddd..742adc5c308 100644 --- a/service/chime/api_op_GetGlobalSettings.go +++ b/service/chime/api_op_GetGlobalSettings.go @@ -110,9 +110,6 @@ func (c *Client) addOperationGetGlobalSettingsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGlobalSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chime/api_op_GetMediaCapturePipeline.go b/service/chime/api_op_GetMediaCapturePipeline.go index 0f7bc502100..f20408022a9 100644 --- a/service/chime/api_op_GetMediaCapturePipeline.go +++ b/service/chime/api_op_GetMediaCapturePipeline.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetMediaCapturePipelineMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMediaCapturePipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetMeeting.go b/service/chime/api_op_GetMeeting.go index 240f4adc336..0827581971a 100644 --- a/service/chime/api_op_GetMeeting.go +++ b/service/chime/api_op_GetMeeting.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetMeetingMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMeetingValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetMessagingSessionEndpoint.go b/service/chime/api_op_GetMessagingSessionEndpoint.go index b0edad13cbb..3b4cf8394e6 100644 --- a/service/chime/api_op_GetMessagingSessionEndpoint.go +++ b/service/chime/api_op_GetMessagingSessionEndpoint.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetMessagingSessionEndpointMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetMessagingSessionEndpointMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetPhoneNumber.go b/service/chime/api_op_GetPhoneNumber.go index 7885622b16d..ebbf6ad92fa 100644 --- a/service/chime/api_op_GetPhoneNumber.go +++ b/service/chime/api_op_GetPhoneNumber.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetPhoneNumberMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPhoneNumberValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetPhoneNumberOrder.go b/service/chime/api_op_GetPhoneNumberOrder.go index 74ded26b573..d5cd8966433 100644 --- a/service/chime/api_op_GetPhoneNumberOrder.go +++ b/service/chime/api_op_GetPhoneNumberOrder.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetPhoneNumberOrderMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPhoneNumberOrderValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetPhoneNumberSettings.go b/service/chime/api_op_GetPhoneNumberSettings.go index e9875bfd94d..ed17bd962bb 100644 --- a/service/chime/api_op_GetPhoneNumberSettings.go +++ b/service/chime/api_op_GetPhoneNumberSettings.go @@ -110,9 +110,6 @@ func (c *Client) addOperationGetPhoneNumberSettingsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPhoneNumberSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chime/api_op_GetProxySession.go b/service/chime/api_op_GetProxySession.go index eae62430154..77ba96cd202 100644 --- a/service/chime/api_op_GetProxySession.go +++ b/service/chime/api_op_GetProxySession.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGetProxySessionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetProxySessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetRetentionSettings.go b/service/chime/api_op_GetRetentionSettings.go index 9b79c7020c1..42c05f949ad 100644 --- a/service/chime/api_op_GetRetentionSettings.go +++ b/service/chime/api_op_GetRetentionSettings.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetRetentionSettingsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRetentionSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetRoom.go b/service/chime/api_op_GetRoom.go index e0958c12d68..27b21ac73de 100644 --- a/service/chime/api_op_GetRoom.go +++ b/service/chime/api_op_GetRoom.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetRoomMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRoomValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetSipMediaApplication.go b/service/chime/api_op_GetSipMediaApplication.go index 42e3f8fd295..0f8c4945c02 100644 --- a/service/chime/api_op_GetSipMediaApplication.go +++ b/service/chime/api_op_GetSipMediaApplication.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetSipMediaApplicationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSipMediaApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetSipMediaApplicationLoggingConfiguration.go b/service/chime/api_op_GetSipMediaApplicationLoggingConfiguration.go index f6836ac8512..51f3c1c8012 100644 --- a/service/chime/api_op_GetSipMediaApplicationLoggingConfiguration.go +++ b/service/chime/api_op_GetSipMediaApplicationLoggingConfiguration.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetSipMediaApplicationLoggingConfigurationMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSipMediaApplicationLoggingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetSipRule.go b/service/chime/api_op_GetSipRule.go index 51f099e402a..75db68f431a 100644 --- a/service/chime/api_op_GetSipRule.go +++ b/service/chime/api_op_GetSipRule.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetSipRuleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSipRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetUser.go b/service/chime/api_op_GetUser.go index cf06abf3729..65a68cb946b 100644 --- a/service/chime/api_op_GetUser.go +++ b/service/chime/api_op_GetUser.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetUserMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetUserSettings.go b/service/chime/api_op_GetUserSettings.go index a38e179ccfd..5ed919a50d6 100644 --- a/service/chime/api_op_GetUserSettings.go +++ b/service/chime/api_op_GetUserSettings.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetUserSettingsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUserSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetVoiceConnector.go b/service/chime/api_op_GetVoiceConnector.go index 61e793c2b1b..10173913325 100644 --- a/service/chime/api_op_GetVoiceConnector.go +++ b/service/chime/api_op_GetVoiceConnector.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetVoiceConnectorMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVoiceConnectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetVoiceConnectorEmergencyCallingConfiguration.go b/service/chime/api_op_GetVoiceConnectorEmergencyCallingConfiguration.go index 7f613eb432f..9b5855b808e 100644 --- a/service/chime/api_op_GetVoiceConnectorEmergencyCallingConfiguration.go +++ b/service/chime/api_op_GetVoiceConnectorEmergencyCallingConfiguration.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetVoiceConnectorEmergencyCallingConfigurationMiddl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVoiceConnectorEmergencyCallingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetVoiceConnectorGroup.go b/service/chime/api_op_GetVoiceConnectorGroup.go index 6ac85d9d581..404b489901c 100644 --- a/service/chime/api_op_GetVoiceConnectorGroup.go +++ b/service/chime/api_op_GetVoiceConnectorGroup.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetVoiceConnectorGroupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVoiceConnectorGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetVoiceConnectorLoggingConfiguration.go b/service/chime/api_op_GetVoiceConnectorLoggingConfiguration.go index 2fad82099af..25ace2e38e2 100644 --- a/service/chime/api_op_GetVoiceConnectorLoggingConfiguration.go +++ b/service/chime/api_op_GetVoiceConnectorLoggingConfiguration.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetVoiceConnectorLoggingConfigurationMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVoiceConnectorLoggingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetVoiceConnectorOrigination.go b/service/chime/api_op_GetVoiceConnectorOrigination.go index effd66ced77..2c97f7270c6 100644 --- a/service/chime/api_op_GetVoiceConnectorOrigination.go +++ b/service/chime/api_op_GetVoiceConnectorOrigination.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetVoiceConnectorOriginationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVoiceConnectorOriginationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetVoiceConnectorProxy.go b/service/chime/api_op_GetVoiceConnectorProxy.go index 1a8b11101f8..ed459d4b0c2 100644 --- a/service/chime/api_op_GetVoiceConnectorProxy.go +++ b/service/chime/api_op_GetVoiceConnectorProxy.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetVoiceConnectorProxyMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVoiceConnectorProxyValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetVoiceConnectorStreamingConfiguration.go b/service/chime/api_op_GetVoiceConnectorStreamingConfiguration.go index 14cc55e6ab5..9f709747379 100644 --- a/service/chime/api_op_GetVoiceConnectorStreamingConfiguration.go +++ b/service/chime/api_op_GetVoiceConnectorStreamingConfiguration.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetVoiceConnectorStreamingConfigurationMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVoiceConnectorStreamingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetVoiceConnectorTermination.go b/service/chime/api_op_GetVoiceConnectorTermination.go index 3d6c15be407..bc62b808274 100644 --- a/service/chime/api_op_GetVoiceConnectorTermination.go +++ b/service/chime/api_op_GetVoiceConnectorTermination.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetVoiceConnectorTerminationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVoiceConnectorTerminationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_GetVoiceConnectorTerminationHealth.go b/service/chime/api_op_GetVoiceConnectorTerminationHealth.go index ff90156b397..f5639654f21 100644 --- a/service/chime/api_op_GetVoiceConnectorTerminationHealth.go +++ b/service/chime/api_op_GetVoiceConnectorTerminationHealth.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetVoiceConnectorTerminationHealthMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVoiceConnectorTerminationHealthValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_InviteUsers.go b/service/chime/api_op_InviteUsers.go index 28ed3a7d3a9..f2443a6eb00 100644 --- a/service/chime/api_op_InviteUsers.go +++ b/service/chime/api_op_InviteUsers.go @@ -122,9 +122,6 @@ func (c *Client) addOperationInviteUsersMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpInviteUsersValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListAccounts.go b/service/chime/api_op_ListAccounts.go index d195c72f0f0..afac4a24113 100644 --- a/service/chime/api_op_ListAccounts.go +++ b/service/chime/api_op_ListAccounts.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListAccountsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccounts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chime/api_op_ListAppInstanceAdmins.go b/service/chime/api_op_ListAppInstanceAdmins.go index ad74d94307b..e88a5625f8e 100644 --- a/service/chime/api_op_ListAppInstanceAdmins.go +++ b/service/chime/api_op_ListAppInstanceAdmins.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListAppInstanceAdminsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListAppInstanceAdminsMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListAppInstanceUsers.go b/service/chime/api_op_ListAppInstanceUsers.go index 33c1b69bb02..6b5581f1278 100644 --- a/service/chime/api_op_ListAppInstanceUsers.go +++ b/service/chime/api_op_ListAppInstanceUsers.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListAppInstanceUsersMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListAppInstanceUsersMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListAppInstances.go b/service/chime/api_op_ListAppInstances.go index 9a6c0d3a9d5..97348e4977d 100644 --- a/service/chime/api_op_ListAppInstances.go +++ b/service/chime/api_op_ListAppInstances.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListAppInstancesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListAppInstancesMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListAttendeeTags.go b/service/chime/api_op_ListAttendeeTags.go index 03656d87e3b..26f2ee71cfd 100644 --- a/service/chime/api_op_ListAttendeeTags.go +++ b/service/chime/api_op_ListAttendeeTags.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListAttendeeTagsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAttendeeTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListAttendees.go b/service/chime/api_op_ListAttendees.go index 3daa228e053..a24829be813 100644 --- a/service/chime/api_op_ListAttendees.go +++ b/service/chime/api_op_ListAttendees.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListAttendeesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAttendeesValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListBots.go b/service/chime/api_op_ListBots.go index 3166d073ec4..8ad2a1b652f 100644 --- a/service/chime/api_op_ListBots.go +++ b/service/chime/api_op_ListBots.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListBotsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBotsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListChannelBans.go b/service/chime/api_op_ListChannelBans.go index d2d607d775e..44558d89e4c 100644 --- a/service/chime/api_op_ListChannelBans.go +++ b/service/chime/api_op_ListChannelBans.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListChannelBansMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListChannelBansMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListChannelMemberships.go b/service/chime/api_op_ListChannelMemberships.go index e576db23ab4..4416b2b7d6b 100644 --- a/service/chime/api_op_ListChannelMemberships.go +++ b/service/chime/api_op_ListChannelMemberships.go @@ -150,9 +150,6 @@ func (c *Client) addOperationListChannelMembershipsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListChannelMembershipsMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListChannelMembershipsForAppInstanceUser.go b/service/chime/api_op_ListChannelMembershipsForAppInstanceUser.go index 5d06727c563..f6811428481 100644 --- a/service/chime/api_op_ListChannelMembershipsForAppInstanceUser.go +++ b/service/chime/api_op_ListChannelMembershipsForAppInstanceUser.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListChannelMembershipsForAppInstanceUserMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListChannelMembershipsForAppInstanceUserMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListChannelMessages.go b/service/chime/api_op_ListChannelMessages.go index 185fa6bd217..0d6ed22bd0a 100644 --- a/service/chime/api_op_ListChannelMessages.go +++ b/service/chime/api_op_ListChannelMessages.go @@ -161,9 +161,6 @@ func (c *Client) addOperationListChannelMessagesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListChannelMessagesMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListChannelModerators.go b/service/chime/api_op_ListChannelModerators.go index 98b1e553c61..c67bc5b666d 100644 --- a/service/chime/api_op_ListChannelModerators.go +++ b/service/chime/api_op_ListChannelModerators.go @@ -144,9 +144,6 @@ func (c *Client) addOperationListChannelModeratorsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListChannelModeratorsMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListChannels.go b/service/chime/api_op_ListChannels.go index 9da828d1ce5..e3e32e1f9be 100644 --- a/service/chime/api_op_ListChannels.go +++ b/service/chime/api_op_ListChannels.go @@ -153,9 +153,6 @@ func (c *Client) addOperationListChannelsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListChannelsMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListChannelsModeratedByAppInstanceUser.go b/service/chime/api_op_ListChannelsModeratedByAppInstanceUser.go index 0b48764e580..d5d82b8b059 100644 --- a/service/chime/api_op_ListChannelsModeratedByAppInstanceUser.go +++ b/service/chime/api_op_ListChannelsModeratedByAppInstanceUser.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListChannelsModeratedByAppInstanceUserMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListChannelsModeratedByAppInstanceUserMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListMediaCapturePipelines.go b/service/chime/api_op_ListMediaCapturePipelines.go index c981a275486..c7a0de04614 100644 --- a/service/chime/api_op_ListMediaCapturePipelines.go +++ b/service/chime/api_op_ListMediaCapturePipelines.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListMediaCapturePipelinesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMediaCapturePipelines(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chime/api_op_ListMeetingTags.go b/service/chime/api_op_ListMeetingTags.go index 55ffcfb12b7..92b2f9c6496 100644 --- a/service/chime/api_op_ListMeetingTags.go +++ b/service/chime/api_op_ListMeetingTags.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListMeetingTagsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMeetingTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListMeetings.go b/service/chime/api_op_ListMeetings.go index 65bbc807c50..dde7c1b2b7d 100644 --- a/service/chime/api_op_ListMeetings.go +++ b/service/chime/api_op_ListMeetings.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListMeetingsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMeetings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chime/api_op_ListPhoneNumberOrders.go b/service/chime/api_op_ListPhoneNumberOrders.go index adb516eba0b..a60314929da 100644 --- a/service/chime/api_op_ListPhoneNumberOrders.go +++ b/service/chime/api_op_ListPhoneNumberOrders.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListPhoneNumberOrdersMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPhoneNumberOrders(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chime/api_op_ListPhoneNumbers.go b/service/chime/api_op_ListPhoneNumbers.go index ccad64f28b8..4a27e7c1e3d 100644 --- a/service/chime/api_op_ListPhoneNumbers.go +++ b/service/chime/api_op_ListPhoneNumbers.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListPhoneNumbersMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPhoneNumbers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chime/api_op_ListProxySessions.go b/service/chime/api_op_ListProxySessions.go index 49d5d9d1a0f..44648dcc447 100644 --- a/service/chime/api_op_ListProxySessions.go +++ b/service/chime/api_op_ListProxySessions.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListProxySessionsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListProxySessionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListRoomMemberships.go b/service/chime/api_op_ListRoomMemberships.go index 7d47847f316..fe4517b4b21 100644 --- a/service/chime/api_op_ListRoomMemberships.go +++ b/service/chime/api_op_ListRoomMemberships.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListRoomMembershipsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRoomMembershipsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListRooms.go b/service/chime/api_op_ListRooms.go index 419c9a4a4fc..1f0932eb254 100644 --- a/service/chime/api_op_ListRooms.go +++ b/service/chime/api_op_ListRooms.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListRoomsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRoomsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListSipMediaApplications.go b/service/chime/api_op_ListSipMediaApplications.go index 133038b810d..5ff2cf24ed0 100644 --- a/service/chime/api_op_ListSipMediaApplications.go +++ b/service/chime/api_op_ListSipMediaApplications.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListSipMediaApplicationsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSipMediaApplications(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chime/api_op_ListSipRules.go b/service/chime/api_op_ListSipRules.go index 59a1c07eec0..0c9d86109f3 100644 --- a/service/chime/api_op_ListSipRules.go +++ b/service/chime/api_op_ListSipRules.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListSipRulesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSipRules(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chime/api_op_ListSupportedPhoneNumberCountries.go b/service/chime/api_op_ListSupportedPhoneNumberCountries.go index 42166b6fcc1..401d9499e1c 100644 --- a/service/chime/api_op_ListSupportedPhoneNumberCountries.go +++ b/service/chime/api_op_ListSupportedPhoneNumberCountries.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListSupportedPhoneNumberCountriesMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSupportedPhoneNumberCountriesValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListTagsForResource.go b/service/chime/api_op_ListTagsForResource.go index c5e3a0cafdc..bd33a28ddb4 100644 --- a/service/chime/api_op_ListTagsForResource.go +++ b/service/chime/api_op_ListTagsForResource.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListUsers.go b/service/chime/api_op_ListUsers.go index c217afa2ac8..c08b6cedfbb 100644 --- a/service/chime/api_op_ListUsers.go +++ b/service/chime/api_op_ListUsers.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListUsersMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListUsersValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListVoiceConnectorGroups.go b/service/chime/api_op_ListVoiceConnectorGroups.go index 8628519eaeb..6f7d5d49b02 100644 --- a/service/chime/api_op_ListVoiceConnectorGroups.go +++ b/service/chime/api_op_ListVoiceConnectorGroups.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListVoiceConnectorGroupsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVoiceConnectorGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chime/api_op_ListVoiceConnectorTerminationCredentials.go b/service/chime/api_op_ListVoiceConnectorTerminationCredentials.go index b1c3fe65c1e..5c9dcd21c2a 100644 --- a/service/chime/api_op_ListVoiceConnectorTerminationCredentials.go +++ b/service/chime/api_op_ListVoiceConnectorTerminationCredentials.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListVoiceConnectorTerminationCredentialsMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListVoiceConnectorTerminationCredentialsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ListVoiceConnectors.go b/service/chime/api_op_ListVoiceConnectors.go index afdb114b767..58cf291a7fe 100644 --- a/service/chime/api_op_ListVoiceConnectors.go +++ b/service/chime/api_op_ListVoiceConnectors.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListVoiceConnectorsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVoiceConnectors(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chime/api_op_LogoutUser.go b/service/chime/api_op_LogoutUser.go index 2e50dc96db3..d394e303901 100644 --- a/service/chime/api_op_LogoutUser.go +++ b/service/chime/api_op_LogoutUser.go @@ -113,9 +113,6 @@ func (c *Client) addOperationLogoutUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpLogoutUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_PutAppInstanceRetentionSettings.go b/service/chime/api_op_PutAppInstanceRetentionSettings.go index 9bb32f93ee4..7d485a14755 100644 --- a/service/chime/api_op_PutAppInstanceRetentionSettings.go +++ b/service/chime/api_op_PutAppInstanceRetentionSettings.go @@ -133,9 +133,6 @@ func (c *Client) addOperationPutAppInstanceRetentionSettingsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opPutAppInstanceRetentionSettingsMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_PutAppInstanceStreamingConfigurations.go b/service/chime/api_op_PutAppInstanceStreamingConfigurations.go index 7b1945dcb66..1df4a7f6066 100644 --- a/service/chime/api_op_PutAppInstanceStreamingConfigurations.go +++ b/service/chime/api_op_PutAppInstanceStreamingConfigurations.go @@ -129,9 +129,6 @@ func (c *Client) addOperationPutAppInstanceStreamingConfigurationsMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutAppInstanceStreamingConfigurationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_PutEventsConfiguration.go b/service/chime/api_op_PutEventsConfiguration.go index d229f7dd560..37c6f6f0e11 100644 --- a/service/chime/api_op_PutEventsConfiguration.go +++ b/service/chime/api_op_PutEventsConfiguration.go @@ -126,9 +126,6 @@ func (c *Client) addOperationPutEventsConfigurationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutEventsConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_PutRetentionSettings.go b/service/chime/api_op_PutRetentionSettings.go index e3b490c9bb2..18873ddb998 100644 --- a/service/chime/api_op_PutRetentionSettings.go +++ b/service/chime/api_op_PutRetentionSettings.go @@ -133,9 +133,6 @@ func (c *Client) addOperationPutRetentionSettingsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutRetentionSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_PutSipMediaApplicationLoggingConfiguration.go b/service/chime/api_op_PutSipMediaApplicationLoggingConfiguration.go index 73a43bc7afc..72cd2f65dd1 100644 --- a/service/chime/api_op_PutSipMediaApplicationLoggingConfiguration.go +++ b/service/chime/api_op_PutSipMediaApplicationLoggingConfiguration.go @@ -127,9 +127,6 @@ func (c *Client) addOperationPutSipMediaApplicationLoggingConfigurationMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutSipMediaApplicationLoggingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_PutVoiceConnectorEmergencyCallingConfiguration.go b/service/chime/api_op_PutVoiceConnectorEmergencyCallingConfiguration.go index 4a1d6949af9..4f59bc42c15 100644 --- a/service/chime/api_op_PutVoiceConnectorEmergencyCallingConfiguration.go +++ b/service/chime/api_op_PutVoiceConnectorEmergencyCallingConfiguration.go @@ -132,9 +132,6 @@ func (c *Client) addOperationPutVoiceConnectorEmergencyCallingConfigurationMiddl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutVoiceConnectorEmergencyCallingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_PutVoiceConnectorLoggingConfiguration.go b/service/chime/api_op_PutVoiceConnectorLoggingConfiguration.go index a94dbd12ae7..4935534b443 100644 --- a/service/chime/api_op_PutVoiceConnectorLoggingConfiguration.go +++ b/service/chime/api_op_PutVoiceConnectorLoggingConfiguration.go @@ -131,9 +131,6 @@ func (c *Client) addOperationPutVoiceConnectorLoggingConfigurationMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutVoiceConnectorLoggingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_PutVoiceConnectorOrigination.go b/service/chime/api_op_PutVoiceConnectorOrigination.go index 3c1b9e27ed4..159d1c016b1 100644 --- a/service/chime/api_op_PutVoiceConnectorOrigination.go +++ b/service/chime/api_op_PutVoiceConnectorOrigination.go @@ -132,9 +132,6 @@ func (c *Client) addOperationPutVoiceConnectorOriginationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutVoiceConnectorOriginationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_PutVoiceConnectorProxy.go b/service/chime/api_op_PutVoiceConnectorProxy.go index cba869abe98..4dc10793a32 100644 --- a/service/chime/api_op_PutVoiceConnectorProxy.go +++ b/service/chime/api_op_PutVoiceConnectorProxy.go @@ -142,9 +142,6 @@ func (c *Client) addOperationPutVoiceConnectorProxyMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutVoiceConnectorProxyValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_PutVoiceConnectorStreamingConfiguration.go b/service/chime/api_op_PutVoiceConnectorStreamingConfiguration.go index 254595cc28e..96ff8b13e38 100644 --- a/service/chime/api_op_PutVoiceConnectorStreamingConfiguration.go +++ b/service/chime/api_op_PutVoiceConnectorStreamingConfiguration.go @@ -132,9 +132,6 @@ func (c *Client) addOperationPutVoiceConnectorStreamingConfigurationMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutVoiceConnectorStreamingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_PutVoiceConnectorTermination.go b/service/chime/api_op_PutVoiceConnectorTermination.go index 46dedf9cfe0..b3829adc1de 100644 --- a/service/chime/api_op_PutVoiceConnectorTermination.go +++ b/service/chime/api_op_PutVoiceConnectorTermination.go @@ -132,9 +132,6 @@ func (c *Client) addOperationPutVoiceConnectorTerminationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutVoiceConnectorTerminationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_PutVoiceConnectorTerminationCredentials.go b/service/chime/api_op_PutVoiceConnectorTerminationCredentials.go index 9d9a2f88b43..8b6d1ada770 100644 --- a/service/chime/api_op_PutVoiceConnectorTerminationCredentials.go +++ b/service/chime/api_op_PutVoiceConnectorTerminationCredentials.go @@ -123,9 +123,6 @@ func (c *Client) addOperationPutVoiceConnectorTerminationCredentialsMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutVoiceConnectorTerminationCredentialsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_RedactChannelMessage.go b/service/chime/api_op_RedactChannelMessage.go index e2ad3c2cb65..7c566373062 100644 --- a/service/chime/api_op_RedactChannelMessage.go +++ b/service/chime/api_op_RedactChannelMessage.go @@ -138,9 +138,6 @@ func (c *Client) addOperationRedactChannelMessageMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opRedactChannelMessageMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_RedactConversationMessage.go b/service/chime/api_op_RedactConversationMessage.go index 4d131da8b79..e22923e0ea8 100644 --- a/service/chime/api_op_RedactConversationMessage.go +++ b/service/chime/api_op_RedactConversationMessage.go @@ -117,9 +117,6 @@ func (c *Client) addOperationRedactConversationMessageMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRedactConversationMessageValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_RedactRoomMessage.go b/service/chime/api_op_RedactRoomMessage.go index 8a4190ef36f..6beb87c0137 100644 --- a/service/chime/api_op_RedactRoomMessage.go +++ b/service/chime/api_op_RedactRoomMessage.go @@ -117,9 +117,6 @@ func (c *Client) addOperationRedactRoomMessageMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRedactRoomMessageValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_RegenerateSecurityToken.go b/service/chime/api_op_RegenerateSecurityToken.go index b9bd2d85c28..860f2889fca 100644 --- a/service/chime/api_op_RegenerateSecurityToken.go +++ b/service/chime/api_op_RegenerateSecurityToken.go @@ -118,9 +118,6 @@ func (c *Client) addOperationRegenerateSecurityTokenMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegenerateSecurityTokenValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ResetPersonalPIN.go b/service/chime/api_op_ResetPersonalPIN.go index 25135260cff..1e5288a8f2c 100644 --- a/service/chime/api_op_ResetPersonalPIN.go +++ b/service/chime/api_op_ResetPersonalPIN.go @@ -118,9 +118,6 @@ func (c *Client) addOperationResetPersonalPINMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResetPersonalPINValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_RestorePhoneNumber.go b/service/chime/api_op_RestorePhoneNumber.go index b7724429a81..d9a0cec079e 100644 --- a/service/chime/api_op_RestorePhoneNumber.go +++ b/service/chime/api_op_RestorePhoneNumber.go @@ -113,9 +113,6 @@ func (c *Client) addOperationRestorePhoneNumberMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestorePhoneNumberValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_SearchAvailablePhoneNumbers.go b/service/chime/api_op_SearchAvailablePhoneNumbers.go index b4efdb5a823..a9f985df179 100644 --- a/service/chime/api_op_SearchAvailablePhoneNumbers.go +++ b/service/chime/api_op_SearchAvailablePhoneNumbers.go @@ -139,9 +139,6 @@ func (c *Client) addOperationSearchAvailablePhoneNumbersMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchAvailablePhoneNumbers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chime/api_op_SendChannelMessage.go b/service/chime/api_op_SendChannelMessage.go index bcbd47e86bb..444ec99e6cf 100644 --- a/service/chime/api_op_SendChannelMessage.go +++ b/service/chime/api_op_SendChannelMessage.go @@ -160,9 +160,6 @@ func (c *Client) addOperationSendChannelMessageMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opSendChannelMessageMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_StartMeetingTranscription.go b/service/chime/api_op_StartMeetingTranscription.go index 21f0374ae80..b10cd9c74c8 100644 --- a/service/chime/api_op_StartMeetingTranscription.go +++ b/service/chime/api_op_StartMeetingTranscription.go @@ -139,9 +139,6 @@ func (c *Client) addOperationStartMeetingTranscriptionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartMeetingTranscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_StopMeetingTranscription.go b/service/chime/api_op_StopMeetingTranscription.go index b32e6168044..da645dce9e8 100644 --- a/service/chime/api_op_StopMeetingTranscription.go +++ b/service/chime/api_op_StopMeetingTranscription.go @@ -119,9 +119,6 @@ func (c *Client) addOperationStopMeetingTranscriptionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopMeetingTranscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_TagAttendee.go b/service/chime/api_op_TagAttendee.go index 4eed8cb4206..4205cdd9bb4 100644 --- a/service/chime/api_op_TagAttendee.go +++ b/service/chime/api_op_TagAttendee.go @@ -124,9 +124,6 @@ func (c *Client) addOperationTagAttendeeMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagAttendeeValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_TagMeeting.go b/service/chime/api_op_TagMeeting.go index 491ba975c88..232249e2924 100644 --- a/service/chime/api_op_TagMeeting.go +++ b/service/chime/api_op_TagMeeting.go @@ -124,9 +124,6 @@ func (c *Client) addOperationTagMeetingMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagMeetingValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_TagResource.go b/service/chime/api_op_TagResource.go index d702d7fdca3..0fb1f62b80a 100644 --- a/service/chime/api_op_TagResource.go +++ b/service/chime/api_op_TagResource.go @@ -126,9 +126,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UntagAttendee.go b/service/chime/api_op_UntagAttendee.go index 8f0ba78c7e8..636a188b412 100644 --- a/service/chime/api_op_UntagAttendee.go +++ b/service/chime/api_op_UntagAttendee.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUntagAttendeeMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagAttendeeValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UntagMeeting.go b/service/chime/api_op_UntagMeeting.go index 64fe82d8fcb..006837cf731 100644 --- a/service/chime/api_op_UntagMeeting.go +++ b/service/chime/api_op_UntagMeeting.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUntagMeetingMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagMeetingValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UntagResource.go b/service/chime/api_op_UntagResource.go index adc60f44f7d..b4983f0fa00 100644 --- a/service/chime/api_op_UntagResource.go +++ b/service/chime/api_op_UntagResource.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateAccount.go b/service/chime/api_op_UpdateAccount.go index b86fcd20925..8d84a8f93af 100644 --- a/service/chime/api_op_UpdateAccount.go +++ b/service/chime/api_op_UpdateAccount.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateAccountMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateAccountSettings.go b/service/chime/api_op_UpdateAccountSettings.go index 5c0ca71c2e2..3eb5ad096c5 100644 --- a/service/chime/api_op_UpdateAccountSettings.go +++ b/service/chime/api_op_UpdateAccountSettings.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateAccountSettingsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAccountSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateAppInstance.go b/service/chime/api_op_UpdateAppInstance.go index 2763e61db35..67162712481 100644 --- a/service/chime/api_op_UpdateAppInstance.go +++ b/service/chime/api_op_UpdateAppInstance.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateAppInstanceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateAppInstanceMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateAppInstanceUser.go b/service/chime/api_op_UpdateAppInstanceUser.go index c9346ccfaea..0a2a25404a7 100644 --- a/service/chime/api_op_UpdateAppInstanceUser.go +++ b/service/chime/api_op_UpdateAppInstanceUser.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateAppInstanceUserMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateAppInstanceUserMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateBot.go b/service/chime/api_op_UpdateBot.go index f2fa30d4e8d..dc80c1307bf 100644 --- a/service/chime/api_op_UpdateBot.go +++ b/service/chime/api_op_UpdateBot.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateBotMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBotValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateChannel.go b/service/chime/api_op_UpdateChannel.go index 515a2aa3abd..1fc36a1284d 100644 --- a/service/chime/api_op_UpdateChannel.go +++ b/service/chime/api_op_UpdateChannel.go @@ -145,9 +145,6 @@ func (c *Client) addOperationUpdateChannelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateChannelMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateChannelMessage.go b/service/chime/api_op_UpdateChannelMessage.go index b9512ceafe9..683fbf5674c 100644 --- a/service/chime/api_op_UpdateChannelMessage.go +++ b/service/chime/api_op_UpdateChannelMessage.go @@ -143,9 +143,6 @@ func (c *Client) addOperationUpdateChannelMessageMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateChannelMessageMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateChannelReadMarker.go b/service/chime/api_op_UpdateChannelReadMarker.go index b93f2479db5..b0d0cfca1cd 100644 --- a/service/chime/api_op_UpdateChannelReadMarker.go +++ b/service/chime/api_op_UpdateChannelReadMarker.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUpdateChannelReadMarkerMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateChannelReadMarkerMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateGlobalSettings.go b/service/chime/api_op_UpdateGlobalSettings.go index c9a93ac4b08..69df4876e35 100644 --- a/service/chime/api_op_UpdateGlobalSettings.go +++ b/service/chime/api_op_UpdateGlobalSettings.go @@ -110,9 +110,6 @@ func (c *Client) addOperationUpdateGlobalSettingsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGlobalSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chime/api_op_UpdatePhoneNumber.go b/service/chime/api_op_UpdatePhoneNumber.go index ed9a5a7412a..abc010aa2bd 100644 --- a/service/chime/api_op_UpdatePhoneNumber.go +++ b/service/chime/api_op_UpdatePhoneNumber.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUpdatePhoneNumberMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePhoneNumberValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdatePhoneNumberSettings.go b/service/chime/api_op_UpdatePhoneNumberSettings.go index dab6bd0a5c1..b640382a5a1 100644 --- a/service/chime/api_op_UpdatePhoneNumberSettings.go +++ b/service/chime/api_op_UpdatePhoneNumberSettings.go @@ -110,9 +110,6 @@ func (c *Client) addOperationUpdatePhoneNumberSettingsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePhoneNumberSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateProxySession.go b/service/chime/api_op_UpdateProxySession.go index 89b44a132d4..724bfd3e42a 100644 --- a/service/chime/api_op_UpdateProxySession.go +++ b/service/chime/api_op_UpdateProxySession.go @@ -137,9 +137,6 @@ func (c *Client) addOperationUpdateProxySessionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateProxySessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateRoom.go b/service/chime/api_op_UpdateRoom.go index b3d3f607a91..6de4818de58 100644 --- a/service/chime/api_op_UpdateRoom.go +++ b/service/chime/api_op_UpdateRoom.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateRoomMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRoomValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateRoomMembership.go b/service/chime/api_op_UpdateRoomMembership.go index d8d5fb2b040..279ca9d09e4 100644 --- a/service/chime/api_op_UpdateRoomMembership.go +++ b/service/chime/api_op_UpdateRoomMembership.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateRoomMembershipMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRoomMembershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateSipMediaApplication.go b/service/chime/api_op_UpdateSipMediaApplication.go index 5c6e7afdedc..64d470fffac 100644 --- a/service/chime/api_op_UpdateSipMediaApplication.go +++ b/service/chime/api_op_UpdateSipMediaApplication.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateSipMediaApplicationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSipMediaApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateSipMediaApplicationCall.go b/service/chime/api_op_UpdateSipMediaApplicationCall.go index 4e2776d551f..4c6ef7af835 100644 --- a/service/chime/api_op_UpdateSipMediaApplicationCall.go +++ b/service/chime/api_op_UpdateSipMediaApplicationCall.go @@ -137,9 +137,6 @@ func (c *Client) addOperationUpdateSipMediaApplicationCallMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSipMediaApplicationCallValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateSipRule.go b/service/chime/api_op_UpdateSipRule.go index 220b93bb2d2..de0c125fe4c 100644 --- a/service/chime/api_op_UpdateSipRule.go +++ b/service/chime/api_op_UpdateSipRule.go @@ -134,9 +134,6 @@ func (c *Client) addOperationUpdateSipRuleMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSipRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateUser.go b/service/chime/api_op_UpdateUser.go index b75a15249bb..95a2a9e99a6 100644 --- a/service/chime/api_op_UpdateUser.go +++ b/service/chime/api_op_UpdateUser.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateUserSettings.go b/service/chime/api_op_UpdateUserSettings.go index 2c95bfc524a..e4bc26e2644 100644 --- a/service/chime/api_op_UpdateUserSettings.go +++ b/service/chime/api_op_UpdateUserSettings.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateUserSettingsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateUserSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateVoiceConnector.go b/service/chime/api_op_UpdateVoiceConnector.go index 672cbcd4ceb..a04ec2c5abf 100644 --- a/service/chime/api_op_UpdateVoiceConnector.go +++ b/service/chime/api_op_UpdateVoiceConnector.go @@ -134,9 +134,6 @@ func (c *Client) addOperationUpdateVoiceConnectorMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateVoiceConnectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_UpdateVoiceConnectorGroup.go b/service/chime/api_op_UpdateVoiceConnectorGroup.go index 75f717e462c..774bf7a6863 100644 --- a/service/chime/api_op_UpdateVoiceConnectorGroup.go +++ b/service/chime/api_op_UpdateVoiceConnectorGroup.go @@ -135,9 +135,6 @@ func (c *Client) addOperationUpdateVoiceConnectorGroupMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateVoiceConnectorGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/api_op_ValidateE911Address.go b/service/chime/api_op_ValidateE911Address.go index 618461ddb09..41d466e7548 100644 --- a/service/chime/api_op_ValidateE911Address.go +++ b/service/chime/api_op_ValidateE911Address.go @@ -168,9 +168,6 @@ func (c *Client) addOperationValidateE911AddressMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpValidateE911AddressValidationMiddleware(stack); err != nil { return err } diff --git a/service/chime/snapshot/api_op_AssociatePhoneNumberWithUser.go.snap b/service/chime/snapshot/api_op_AssociatePhoneNumberWithUser.go.snap index c17df5c3346..3f3d9e7b4f3 100644 --- a/service/chime/snapshot/api_op_AssociatePhoneNumberWithUser.go.snap +++ b/service/chime/snapshot/api_op_AssociatePhoneNumberWithUser.go.snap @@ -14,7 +14,6 @@ AssociatePhoneNumberWithUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_AssociatePhoneNumbersWithVoiceConnector.go.snap b/service/chime/snapshot/api_op_AssociatePhoneNumbersWithVoiceConnector.go.snap index 20496005114..75a5d0548e9 100644 --- a/service/chime/snapshot/api_op_AssociatePhoneNumbersWithVoiceConnector.go.snap +++ b/service/chime/snapshot/api_op_AssociatePhoneNumbersWithVoiceConnector.go.snap @@ -14,7 +14,6 @@ AssociatePhoneNumbersWithVoiceConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_AssociatePhoneNumbersWithVoiceConnectorGroup.go.snap b/service/chime/snapshot/api_op_AssociatePhoneNumbersWithVoiceConnectorGroup.go.snap index 1c251431206..fd3662632f3 100644 --- a/service/chime/snapshot/api_op_AssociatePhoneNumbersWithVoiceConnectorGroup.go.snap +++ b/service/chime/snapshot/api_op_AssociatePhoneNumbersWithVoiceConnectorGroup.go.snap @@ -14,7 +14,6 @@ AssociatePhoneNumbersWithVoiceConnectorGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_AssociateSigninDelegateGroupsWithAccount.go.snap b/service/chime/snapshot/api_op_AssociateSigninDelegateGroupsWithAccount.go.snap index c25c214d9ca..37bd03f320a 100644 --- a/service/chime/snapshot/api_op_AssociateSigninDelegateGroupsWithAccount.go.snap +++ b/service/chime/snapshot/api_op_AssociateSigninDelegateGroupsWithAccount.go.snap @@ -14,7 +14,6 @@ AssociateSigninDelegateGroupsWithAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_BatchCreateAttendee.go.snap b/service/chime/snapshot/api_op_BatchCreateAttendee.go.snap index df668e1f828..f841a4ae2a7 100644 --- a/service/chime/snapshot/api_op_BatchCreateAttendee.go.snap +++ b/service/chime/snapshot/api_op_BatchCreateAttendee.go.snap @@ -14,7 +14,6 @@ BatchCreateAttendee Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_BatchCreateChannelMembership.go.snap b/service/chime/snapshot/api_op_BatchCreateChannelMembership.go.snap index 86d64bf0b6c..cfd87e4c6d7 100644 --- a/service/chime/snapshot/api_op_BatchCreateChannelMembership.go.snap +++ b/service/chime/snapshot/api_op_BatchCreateChannelMembership.go.snap @@ -14,7 +14,6 @@ BatchCreateChannelMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_BatchCreateRoomMembership.go.snap b/service/chime/snapshot/api_op_BatchCreateRoomMembership.go.snap index 83115dab699..4480abd3082 100644 --- a/service/chime/snapshot/api_op_BatchCreateRoomMembership.go.snap +++ b/service/chime/snapshot/api_op_BatchCreateRoomMembership.go.snap @@ -14,7 +14,6 @@ BatchCreateRoomMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_BatchDeletePhoneNumber.go.snap b/service/chime/snapshot/api_op_BatchDeletePhoneNumber.go.snap index 5d4571f498a..25d5e7dd135 100644 --- a/service/chime/snapshot/api_op_BatchDeletePhoneNumber.go.snap +++ b/service/chime/snapshot/api_op_BatchDeletePhoneNumber.go.snap @@ -14,7 +14,6 @@ BatchDeletePhoneNumber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_BatchSuspendUser.go.snap b/service/chime/snapshot/api_op_BatchSuspendUser.go.snap index 888379c14e9..e94e2bb459f 100644 --- a/service/chime/snapshot/api_op_BatchSuspendUser.go.snap +++ b/service/chime/snapshot/api_op_BatchSuspendUser.go.snap @@ -14,7 +14,6 @@ BatchSuspendUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_BatchUnsuspendUser.go.snap b/service/chime/snapshot/api_op_BatchUnsuspendUser.go.snap index 0c6eefafd96..5af3f62161b 100644 --- a/service/chime/snapshot/api_op_BatchUnsuspendUser.go.snap +++ b/service/chime/snapshot/api_op_BatchUnsuspendUser.go.snap @@ -14,7 +14,6 @@ BatchUnsuspendUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_BatchUpdatePhoneNumber.go.snap b/service/chime/snapshot/api_op_BatchUpdatePhoneNumber.go.snap index 5bc559f8596..19dd0c3d099 100644 --- a/service/chime/snapshot/api_op_BatchUpdatePhoneNumber.go.snap +++ b/service/chime/snapshot/api_op_BatchUpdatePhoneNumber.go.snap @@ -14,7 +14,6 @@ BatchUpdatePhoneNumber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_BatchUpdateUser.go.snap b/service/chime/snapshot/api_op_BatchUpdateUser.go.snap index 10c8360ec42..150ddab8281 100644 --- a/service/chime/snapshot/api_op_BatchUpdateUser.go.snap +++ b/service/chime/snapshot/api_op_BatchUpdateUser.go.snap @@ -14,7 +14,6 @@ BatchUpdateUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_CreateAccount.go.snap b/service/chime/snapshot/api_op_CreateAccount.go.snap index d8dc54098c7..e6373b4a26f 100644 --- a/service/chime/snapshot/api_op_CreateAccount.go.snap +++ b/service/chime/snapshot/api_op_CreateAccount.go.snap @@ -14,7 +14,6 @@ CreateAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_CreateAppInstance.go.snap b/service/chime/snapshot/api_op_CreateAppInstance.go.snap index b4b60889665..fff76b2582b 100644 --- a/service/chime/snapshot/api_op_CreateAppInstance.go.snap +++ b/service/chime/snapshot/api_op_CreateAppInstance.go.snap @@ -15,7 +15,6 @@ CreateAppInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_CreateAppInstanceAdmin.go.snap b/service/chime/snapshot/api_op_CreateAppInstanceAdmin.go.snap index e66f7aa6447..03c1665b969 100644 --- a/service/chime/snapshot/api_op_CreateAppInstanceAdmin.go.snap +++ b/service/chime/snapshot/api_op_CreateAppInstanceAdmin.go.snap @@ -14,7 +14,6 @@ CreateAppInstanceAdmin Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_CreateAppInstanceUser.go.snap b/service/chime/snapshot/api_op_CreateAppInstanceUser.go.snap index b95b12f5f70..72485ab72ae 100644 --- a/service/chime/snapshot/api_op_CreateAppInstanceUser.go.snap +++ b/service/chime/snapshot/api_op_CreateAppInstanceUser.go.snap @@ -15,7 +15,6 @@ CreateAppInstanceUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_CreateAttendee.go.snap b/service/chime/snapshot/api_op_CreateAttendee.go.snap index 355d59ab9c4..3b0a9f171ad 100644 --- a/service/chime/snapshot/api_op_CreateAttendee.go.snap +++ b/service/chime/snapshot/api_op_CreateAttendee.go.snap @@ -14,7 +14,6 @@ CreateAttendee Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_CreateBot.go.snap b/service/chime/snapshot/api_op_CreateBot.go.snap index e3c216f8242..1d541e032a1 100644 --- a/service/chime/snapshot/api_op_CreateBot.go.snap +++ b/service/chime/snapshot/api_op_CreateBot.go.snap @@ -14,7 +14,6 @@ CreateBot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_CreateChannel.go.snap b/service/chime/snapshot/api_op_CreateChannel.go.snap index 89f44031e7c..3ccf4cdb0aa 100644 --- a/service/chime/snapshot/api_op_CreateChannel.go.snap +++ b/service/chime/snapshot/api_op_CreateChannel.go.snap @@ -15,7 +15,6 @@ CreateChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_CreateChannelBan.go.snap b/service/chime/snapshot/api_op_CreateChannelBan.go.snap index f0a49f43040..7e217c0fe13 100644 --- a/service/chime/snapshot/api_op_CreateChannelBan.go.snap +++ b/service/chime/snapshot/api_op_CreateChannelBan.go.snap @@ -14,7 +14,6 @@ CreateChannelBan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_CreateChannelMembership.go.snap b/service/chime/snapshot/api_op_CreateChannelMembership.go.snap index 1e3dac6e117..827b3140fae 100644 --- a/service/chime/snapshot/api_op_CreateChannelMembership.go.snap +++ b/service/chime/snapshot/api_op_CreateChannelMembership.go.snap @@ -14,7 +14,6 @@ CreateChannelMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_CreateChannelModerator.go.snap b/service/chime/snapshot/api_op_CreateChannelModerator.go.snap index 858ddbd4de7..f24c4b24e73 100644 --- a/service/chime/snapshot/api_op_CreateChannelModerator.go.snap +++ b/service/chime/snapshot/api_op_CreateChannelModerator.go.snap @@ -14,7 +14,6 @@ CreateChannelModerator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_CreateMediaCapturePipeline.go.snap b/service/chime/snapshot/api_op_CreateMediaCapturePipeline.go.snap index b6b61282d1f..5e6297692e1 100644 --- a/service/chime/snapshot/api_op_CreateMediaCapturePipeline.go.snap +++ b/service/chime/snapshot/api_op_CreateMediaCapturePipeline.go.snap @@ -15,7 +15,6 @@ CreateMediaCapturePipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_CreateMeeting.go.snap b/service/chime/snapshot/api_op_CreateMeeting.go.snap index 597314b9b7d..f160a65ea06 100644 --- a/service/chime/snapshot/api_op_CreateMeeting.go.snap +++ b/service/chime/snapshot/api_op_CreateMeeting.go.snap @@ -15,7 +15,6 @@ CreateMeeting Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_CreateMeetingDialOut.go.snap b/service/chime/snapshot/api_op_CreateMeetingDialOut.go.snap index ae9f8c3ba03..0bff8e6e379 100644 --- a/service/chime/snapshot/api_op_CreateMeetingDialOut.go.snap +++ b/service/chime/snapshot/api_op_CreateMeetingDialOut.go.snap @@ -14,7 +14,6 @@ CreateMeetingDialOut Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_CreateMeetingWithAttendees.go.snap b/service/chime/snapshot/api_op_CreateMeetingWithAttendees.go.snap index 8a04c7218d4..c5887ac18f4 100644 --- a/service/chime/snapshot/api_op_CreateMeetingWithAttendees.go.snap +++ b/service/chime/snapshot/api_op_CreateMeetingWithAttendees.go.snap @@ -15,7 +15,6 @@ CreateMeetingWithAttendees Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_CreatePhoneNumberOrder.go.snap b/service/chime/snapshot/api_op_CreatePhoneNumberOrder.go.snap index de4cca68762..f4dd05fd216 100644 --- a/service/chime/snapshot/api_op_CreatePhoneNumberOrder.go.snap +++ b/service/chime/snapshot/api_op_CreatePhoneNumberOrder.go.snap @@ -14,7 +14,6 @@ CreatePhoneNumberOrder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_CreateProxySession.go.snap b/service/chime/snapshot/api_op_CreateProxySession.go.snap index c216f8dbd50..5b3afb76ba1 100644 --- a/service/chime/snapshot/api_op_CreateProxySession.go.snap +++ b/service/chime/snapshot/api_op_CreateProxySession.go.snap @@ -14,7 +14,6 @@ CreateProxySession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_CreateRoom.go.snap b/service/chime/snapshot/api_op_CreateRoom.go.snap index 828b4bb2e58..622eab37e81 100644 --- a/service/chime/snapshot/api_op_CreateRoom.go.snap +++ b/service/chime/snapshot/api_op_CreateRoom.go.snap @@ -15,7 +15,6 @@ CreateRoom Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_CreateRoomMembership.go.snap b/service/chime/snapshot/api_op_CreateRoomMembership.go.snap index e64356a877b..72b5568bba1 100644 --- a/service/chime/snapshot/api_op_CreateRoomMembership.go.snap +++ b/service/chime/snapshot/api_op_CreateRoomMembership.go.snap @@ -14,7 +14,6 @@ CreateRoomMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_CreateSipMediaApplication.go.snap b/service/chime/snapshot/api_op_CreateSipMediaApplication.go.snap index 79ecf625f9e..cf8e3f7231f 100644 --- a/service/chime/snapshot/api_op_CreateSipMediaApplication.go.snap +++ b/service/chime/snapshot/api_op_CreateSipMediaApplication.go.snap @@ -14,7 +14,6 @@ CreateSipMediaApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_CreateSipMediaApplicationCall.go.snap b/service/chime/snapshot/api_op_CreateSipMediaApplicationCall.go.snap index 9ba41920242..c3fce779750 100644 --- a/service/chime/snapshot/api_op_CreateSipMediaApplicationCall.go.snap +++ b/service/chime/snapshot/api_op_CreateSipMediaApplicationCall.go.snap @@ -14,7 +14,6 @@ CreateSipMediaApplicationCall Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_CreateSipRule.go.snap b/service/chime/snapshot/api_op_CreateSipRule.go.snap index e9f0b702b10..2bbdfa849d8 100644 --- a/service/chime/snapshot/api_op_CreateSipRule.go.snap +++ b/service/chime/snapshot/api_op_CreateSipRule.go.snap @@ -14,7 +14,6 @@ CreateSipRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_CreateUser.go.snap b/service/chime/snapshot/api_op_CreateUser.go.snap index bfcfbd2c853..d278c15935b 100644 --- a/service/chime/snapshot/api_op_CreateUser.go.snap +++ b/service/chime/snapshot/api_op_CreateUser.go.snap @@ -14,7 +14,6 @@ CreateUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_CreateVoiceConnector.go.snap b/service/chime/snapshot/api_op_CreateVoiceConnector.go.snap index fbf4d89adc9..acad055455f 100644 --- a/service/chime/snapshot/api_op_CreateVoiceConnector.go.snap +++ b/service/chime/snapshot/api_op_CreateVoiceConnector.go.snap @@ -14,7 +14,6 @@ CreateVoiceConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_CreateVoiceConnectorGroup.go.snap b/service/chime/snapshot/api_op_CreateVoiceConnectorGroup.go.snap index cc959f9daea..c1cf2d1e1ab 100644 --- a/service/chime/snapshot/api_op_CreateVoiceConnectorGroup.go.snap +++ b/service/chime/snapshot/api_op_CreateVoiceConnectorGroup.go.snap @@ -14,7 +14,6 @@ CreateVoiceConnectorGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DeleteAccount.go.snap b/service/chime/snapshot/api_op_DeleteAccount.go.snap index 62b261837f3..b81cf92dfb1 100644 --- a/service/chime/snapshot/api_op_DeleteAccount.go.snap +++ b/service/chime/snapshot/api_op_DeleteAccount.go.snap @@ -14,7 +14,6 @@ DeleteAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DeleteAppInstance.go.snap b/service/chime/snapshot/api_op_DeleteAppInstance.go.snap index 654d7154be8..1bd489a703d 100644 --- a/service/chime/snapshot/api_op_DeleteAppInstance.go.snap +++ b/service/chime/snapshot/api_op_DeleteAppInstance.go.snap @@ -14,7 +14,6 @@ DeleteAppInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DeleteAppInstanceAdmin.go.snap b/service/chime/snapshot/api_op_DeleteAppInstanceAdmin.go.snap index b8aae0d642b..5aaf670cef7 100644 --- a/service/chime/snapshot/api_op_DeleteAppInstanceAdmin.go.snap +++ b/service/chime/snapshot/api_op_DeleteAppInstanceAdmin.go.snap @@ -14,7 +14,6 @@ DeleteAppInstanceAdmin Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DeleteAppInstanceStreamingConfigurations.go.snap b/service/chime/snapshot/api_op_DeleteAppInstanceStreamingConfigurations.go.snap index ec9537c2f02..7524d0fd412 100644 --- a/service/chime/snapshot/api_op_DeleteAppInstanceStreamingConfigurations.go.snap +++ b/service/chime/snapshot/api_op_DeleteAppInstanceStreamingConfigurations.go.snap @@ -14,7 +14,6 @@ DeleteAppInstanceStreamingConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DeleteAppInstanceUser.go.snap b/service/chime/snapshot/api_op_DeleteAppInstanceUser.go.snap index 66a9e4e4d0b..41d398c6bae 100644 --- a/service/chime/snapshot/api_op_DeleteAppInstanceUser.go.snap +++ b/service/chime/snapshot/api_op_DeleteAppInstanceUser.go.snap @@ -14,7 +14,6 @@ DeleteAppInstanceUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DeleteAttendee.go.snap b/service/chime/snapshot/api_op_DeleteAttendee.go.snap index 3a9a79c60ff..60ddb165e1e 100644 --- a/service/chime/snapshot/api_op_DeleteAttendee.go.snap +++ b/service/chime/snapshot/api_op_DeleteAttendee.go.snap @@ -14,7 +14,6 @@ DeleteAttendee Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DeleteChannel.go.snap b/service/chime/snapshot/api_op_DeleteChannel.go.snap index 85eefcf64b5..e4b29f1870e 100644 --- a/service/chime/snapshot/api_op_DeleteChannel.go.snap +++ b/service/chime/snapshot/api_op_DeleteChannel.go.snap @@ -14,7 +14,6 @@ DeleteChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DeleteChannelBan.go.snap b/service/chime/snapshot/api_op_DeleteChannelBan.go.snap index 4c65648da24..f3b01996822 100644 --- a/service/chime/snapshot/api_op_DeleteChannelBan.go.snap +++ b/service/chime/snapshot/api_op_DeleteChannelBan.go.snap @@ -14,7 +14,6 @@ DeleteChannelBan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DeleteChannelMembership.go.snap b/service/chime/snapshot/api_op_DeleteChannelMembership.go.snap index cfbdd0e6b5f..290e1cb9d77 100644 --- a/service/chime/snapshot/api_op_DeleteChannelMembership.go.snap +++ b/service/chime/snapshot/api_op_DeleteChannelMembership.go.snap @@ -14,7 +14,6 @@ DeleteChannelMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DeleteChannelMessage.go.snap b/service/chime/snapshot/api_op_DeleteChannelMessage.go.snap index aa931b6abf5..1ca55ac2f26 100644 --- a/service/chime/snapshot/api_op_DeleteChannelMessage.go.snap +++ b/service/chime/snapshot/api_op_DeleteChannelMessage.go.snap @@ -14,7 +14,6 @@ DeleteChannelMessage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DeleteChannelModerator.go.snap b/service/chime/snapshot/api_op_DeleteChannelModerator.go.snap index 9e2916fea48..06b5a8518fa 100644 --- a/service/chime/snapshot/api_op_DeleteChannelModerator.go.snap +++ b/service/chime/snapshot/api_op_DeleteChannelModerator.go.snap @@ -14,7 +14,6 @@ DeleteChannelModerator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DeleteEventsConfiguration.go.snap b/service/chime/snapshot/api_op_DeleteEventsConfiguration.go.snap index a58a4f36771..e370e111a7d 100644 --- a/service/chime/snapshot/api_op_DeleteEventsConfiguration.go.snap +++ b/service/chime/snapshot/api_op_DeleteEventsConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteEventsConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DeleteMediaCapturePipeline.go.snap b/service/chime/snapshot/api_op_DeleteMediaCapturePipeline.go.snap index c05f1ea51de..4c5474be21c 100644 --- a/service/chime/snapshot/api_op_DeleteMediaCapturePipeline.go.snap +++ b/service/chime/snapshot/api_op_DeleteMediaCapturePipeline.go.snap @@ -14,7 +14,6 @@ DeleteMediaCapturePipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DeleteMeeting.go.snap b/service/chime/snapshot/api_op_DeleteMeeting.go.snap index 3daaae868bf..ca45b06269f 100644 --- a/service/chime/snapshot/api_op_DeleteMeeting.go.snap +++ b/service/chime/snapshot/api_op_DeleteMeeting.go.snap @@ -14,7 +14,6 @@ DeleteMeeting Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DeletePhoneNumber.go.snap b/service/chime/snapshot/api_op_DeletePhoneNumber.go.snap index 13cb2e68100..29d593b6c88 100644 --- a/service/chime/snapshot/api_op_DeletePhoneNumber.go.snap +++ b/service/chime/snapshot/api_op_DeletePhoneNumber.go.snap @@ -14,7 +14,6 @@ DeletePhoneNumber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DeleteProxySession.go.snap b/service/chime/snapshot/api_op_DeleteProxySession.go.snap index a63e11e0b82..ecfcd965a0a 100644 --- a/service/chime/snapshot/api_op_DeleteProxySession.go.snap +++ b/service/chime/snapshot/api_op_DeleteProxySession.go.snap @@ -14,7 +14,6 @@ DeleteProxySession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DeleteRoom.go.snap b/service/chime/snapshot/api_op_DeleteRoom.go.snap index dd3f50f9e1d..31dea61cead 100644 --- a/service/chime/snapshot/api_op_DeleteRoom.go.snap +++ b/service/chime/snapshot/api_op_DeleteRoom.go.snap @@ -14,7 +14,6 @@ DeleteRoom Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DeleteRoomMembership.go.snap b/service/chime/snapshot/api_op_DeleteRoomMembership.go.snap index 1f6af64fea2..8b369ca9ccd 100644 --- a/service/chime/snapshot/api_op_DeleteRoomMembership.go.snap +++ b/service/chime/snapshot/api_op_DeleteRoomMembership.go.snap @@ -14,7 +14,6 @@ DeleteRoomMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DeleteSipMediaApplication.go.snap b/service/chime/snapshot/api_op_DeleteSipMediaApplication.go.snap index 36a248d1465..f2f061b8a42 100644 --- a/service/chime/snapshot/api_op_DeleteSipMediaApplication.go.snap +++ b/service/chime/snapshot/api_op_DeleteSipMediaApplication.go.snap @@ -14,7 +14,6 @@ DeleteSipMediaApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DeleteSipRule.go.snap b/service/chime/snapshot/api_op_DeleteSipRule.go.snap index b598f980ecb..44deb9d1136 100644 --- a/service/chime/snapshot/api_op_DeleteSipRule.go.snap +++ b/service/chime/snapshot/api_op_DeleteSipRule.go.snap @@ -14,7 +14,6 @@ DeleteSipRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DeleteVoiceConnector.go.snap b/service/chime/snapshot/api_op_DeleteVoiceConnector.go.snap index feff75869fa..099dde1c92d 100644 --- a/service/chime/snapshot/api_op_DeleteVoiceConnector.go.snap +++ b/service/chime/snapshot/api_op_DeleteVoiceConnector.go.snap @@ -14,7 +14,6 @@ DeleteVoiceConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DeleteVoiceConnectorEmergencyCallingConfiguration.go.snap b/service/chime/snapshot/api_op_DeleteVoiceConnectorEmergencyCallingConfiguration.go.snap index c2fa61a6dc6..114fc5da5a5 100644 --- a/service/chime/snapshot/api_op_DeleteVoiceConnectorEmergencyCallingConfiguration.go.snap +++ b/service/chime/snapshot/api_op_DeleteVoiceConnectorEmergencyCallingConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteVoiceConnectorEmergencyCallingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DeleteVoiceConnectorGroup.go.snap b/service/chime/snapshot/api_op_DeleteVoiceConnectorGroup.go.snap index ecb238b1f2e..ceddbc7ea4a 100644 --- a/service/chime/snapshot/api_op_DeleteVoiceConnectorGroup.go.snap +++ b/service/chime/snapshot/api_op_DeleteVoiceConnectorGroup.go.snap @@ -14,7 +14,6 @@ DeleteVoiceConnectorGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DeleteVoiceConnectorOrigination.go.snap b/service/chime/snapshot/api_op_DeleteVoiceConnectorOrigination.go.snap index 7a72728fa78..24e337c665f 100644 --- a/service/chime/snapshot/api_op_DeleteVoiceConnectorOrigination.go.snap +++ b/service/chime/snapshot/api_op_DeleteVoiceConnectorOrigination.go.snap @@ -14,7 +14,6 @@ DeleteVoiceConnectorOrigination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DeleteVoiceConnectorProxy.go.snap b/service/chime/snapshot/api_op_DeleteVoiceConnectorProxy.go.snap index f1d4399e5f7..af4865c5b00 100644 --- a/service/chime/snapshot/api_op_DeleteVoiceConnectorProxy.go.snap +++ b/service/chime/snapshot/api_op_DeleteVoiceConnectorProxy.go.snap @@ -14,7 +14,6 @@ DeleteVoiceConnectorProxy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DeleteVoiceConnectorStreamingConfiguration.go.snap b/service/chime/snapshot/api_op_DeleteVoiceConnectorStreamingConfiguration.go.snap index b698c1de371..4c628a3914f 100644 --- a/service/chime/snapshot/api_op_DeleteVoiceConnectorStreamingConfiguration.go.snap +++ b/service/chime/snapshot/api_op_DeleteVoiceConnectorStreamingConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteVoiceConnectorStreamingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DeleteVoiceConnectorTermination.go.snap b/service/chime/snapshot/api_op_DeleteVoiceConnectorTermination.go.snap index 756b3e09cdf..29684f80e36 100644 --- a/service/chime/snapshot/api_op_DeleteVoiceConnectorTermination.go.snap +++ b/service/chime/snapshot/api_op_DeleteVoiceConnectorTermination.go.snap @@ -14,7 +14,6 @@ DeleteVoiceConnectorTermination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DeleteVoiceConnectorTerminationCredentials.go.snap b/service/chime/snapshot/api_op_DeleteVoiceConnectorTerminationCredentials.go.snap index 3d3206f0cae..486e4391577 100644 --- a/service/chime/snapshot/api_op_DeleteVoiceConnectorTerminationCredentials.go.snap +++ b/service/chime/snapshot/api_op_DeleteVoiceConnectorTerminationCredentials.go.snap @@ -14,7 +14,6 @@ DeleteVoiceConnectorTerminationCredentials Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DescribeAppInstance.go.snap b/service/chime/snapshot/api_op_DescribeAppInstance.go.snap index d8fef7e1b3f..01e1de01cc2 100644 --- a/service/chime/snapshot/api_op_DescribeAppInstance.go.snap +++ b/service/chime/snapshot/api_op_DescribeAppInstance.go.snap @@ -14,7 +14,6 @@ DescribeAppInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DescribeAppInstanceAdmin.go.snap b/service/chime/snapshot/api_op_DescribeAppInstanceAdmin.go.snap index 9de42341e70..2c86ba291ad 100644 --- a/service/chime/snapshot/api_op_DescribeAppInstanceAdmin.go.snap +++ b/service/chime/snapshot/api_op_DescribeAppInstanceAdmin.go.snap @@ -14,7 +14,6 @@ DescribeAppInstanceAdmin Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DescribeAppInstanceUser.go.snap b/service/chime/snapshot/api_op_DescribeAppInstanceUser.go.snap index 085a197467d..b6eafba5750 100644 --- a/service/chime/snapshot/api_op_DescribeAppInstanceUser.go.snap +++ b/service/chime/snapshot/api_op_DescribeAppInstanceUser.go.snap @@ -14,7 +14,6 @@ DescribeAppInstanceUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DescribeChannel.go.snap b/service/chime/snapshot/api_op_DescribeChannel.go.snap index ae01975abeb..7f5e153e816 100644 --- a/service/chime/snapshot/api_op_DescribeChannel.go.snap +++ b/service/chime/snapshot/api_op_DescribeChannel.go.snap @@ -14,7 +14,6 @@ DescribeChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DescribeChannelBan.go.snap b/service/chime/snapshot/api_op_DescribeChannelBan.go.snap index 2db8d43c007..fe9754d1371 100644 --- a/service/chime/snapshot/api_op_DescribeChannelBan.go.snap +++ b/service/chime/snapshot/api_op_DescribeChannelBan.go.snap @@ -14,7 +14,6 @@ DescribeChannelBan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DescribeChannelMembership.go.snap b/service/chime/snapshot/api_op_DescribeChannelMembership.go.snap index 1b838f47430..a136e7e1521 100644 --- a/service/chime/snapshot/api_op_DescribeChannelMembership.go.snap +++ b/service/chime/snapshot/api_op_DescribeChannelMembership.go.snap @@ -14,7 +14,6 @@ DescribeChannelMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DescribeChannelMembershipForAppInstanceUser.go.snap b/service/chime/snapshot/api_op_DescribeChannelMembershipForAppInstanceUser.go.snap index a62d20f1bbd..2c2fa190a3d 100644 --- a/service/chime/snapshot/api_op_DescribeChannelMembershipForAppInstanceUser.go.snap +++ b/service/chime/snapshot/api_op_DescribeChannelMembershipForAppInstanceUser.go.snap @@ -14,7 +14,6 @@ DescribeChannelMembershipForAppInstanceUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DescribeChannelModeratedByAppInstanceUser.go.snap b/service/chime/snapshot/api_op_DescribeChannelModeratedByAppInstanceUser.go.snap index 7674ef6771d..7e7544b70aa 100644 --- a/service/chime/snapshot/api_op_DescribeChannelModeratedByAppInstanceUser.go.snap +++ b/service/chime/snapshot/api_op_DescribeChannelModeratedByAppInstanceUser.go.snap @@ -14,7 +14,6 @@ DescribeChannelModeratedByAppInstanceUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DescribeChannelModerator.go.snap b/service/chime/snapshot/api_op_DescribeChannelModerator.go.snap index e333558e384..237ed4e4f67 100644 --- a/service/chime/snapshot/api_op_DescribeChannelModerator.go.snap +++ b/service/chime/snapshot/api_op_DescribeChannelModerator.go.snap @@ -14,7 +14,6 @@ DescribeChannelModerator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DisassociatePhoneNumberFromUser.go.snap b/service/chime/snapshot/api_op_DisassociatePhoneNumberFromUser.go.snap index 1304559388b..d3c49007c96 100644 --- a/service/chime/snapshot/api_op_DisassociatePhoneNumberFromUser.go.snap +++ b/service/chime/snapshot/api_op_DisassociatePhoneNumberFromUser.go.snap @@ -14,7 +14,6 @@ DisassociatePhoneNumberFromUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DisassociatePhoneNumbersFromVoiceConnector.go.snap b/service/chime/snapshot/api_op_DisassociatePhoneNumbersFromVoiceConnector.go.snap index 82f0ab23692..d2dfea6b627 100644 --- a/service/chime/snapshot/api_op_DisassociatePhoneNumbersFromVoiceConnector.go.snap +++ b/service/chime/snapshot/api_op_DisassociatePhoneNumbersFromVoiceConnector.go.snap @@ -14,7 +14,6 @@ DisassociatePhoneNumbersFromVoiceConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DisassociatePhoneNumbersFromVoiceConnectorGroup.go.snap b/service/chime/snapshot/api_op_DisassociatePhoneNumbersFromVoiceConnectorGroup.go.snap index 09f45a6a884..1f726118f5d 100644 --- a/service/chime/snapshot/api_op_DisassociatePhoneNumbersFromVoiceConnectorGroup.go.snap +++ b/service/chime/snapshot/api_op_DisassociatePhoneNumbersFromVoiceConnectorGroup.go.snap @@ -14,7 +14,6 @@ DisassociatePhoneNumbersFromVoiceConnectorGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_DisassociateSigninDelegateGroupsFromAccount.go.snap b/service/chime/snapshot/api_op_DisassociateSigninDelegateGroupsFromAccount.go.snap index 627fea182dd..176d5cd8924 100644 --- a/service/chime/snapshot/api_op_DisassociateSigninDelegateGroupsFromAccount.go.snap +++ b/service/chime/snapshot/api_op_DisassociateSigninDelegateGroupsFromAccount.go.snap @@ -14,7 +14,6 @@ DisassociateSigninDelegateGroupsFromAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_GetAccount.go.snap b/service/chime/snapshot/api_op_GetAccount.go.snap index 009fa150fc5..72c63b510c3 100644 --- a/service/chime/snapshot/api_op_GetAccount.go.snap +++ b/service/chime/snapshot/api_op_GetAccount.go.snap @@ -14,7 +14,6 @@ GetAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_GetAccountSettings.go.snap b/service/chime/snapshot/api_op_GetAccountSettings.go.snap index 33ff063ddc8..57d375d703d 100644 --- a/service/chime/snapshot/api_op_GetAccountSettings.go.snap +++ b/service/chime/snapshot/api_op_GetAccountSettings.go.snap @@ -14,7 +14,6 @@ GetAccountSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_GetAppInstanceRetentionSettings.go.snap b/service/chime/snapshot/api_op_GetAppInstanceRetentionSettings.go.snap index 75567e1ebbd..b83ab5ac4ea 100644 --- a/service/chime/snapshot/api_op_GetAppInstanceRetentionSettings.go.snap +++ b/service/chime/snapshot/api_op_GetAppInstanceRetentionSettings.go.snap @@ -14,7 +14,6 @@ GetAppInstanceRetentionSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_GetAppInstanceStreamingConfigurations.go.snap b/service/chime/snapshot/api_op_GetAppInstanceStreamingConfigurations.go.snap index d2406073a47..344a43db529 100644 --- a/service/chime/snapshot/api_op_GetAppInstanceStreamingConfigurations.go.snap +++ b/service/chime/snapshot/api_op_GetAppInstanceStreamingConfigurations.go.snap @@ -14,7 +14,6 @@ GetAppInstanceStreamingConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_GetAttendee.go.snap b/service/chime/snapshot/api_op_GetAttendee.go.snap index 949e81943a5..0fa9d4e0948 100644 --- a/service/chime/snapshot/api_op_GetAttendee.go.snap +++ b/service/chime/snapshot/api_op_GetAttendee.go.snap @@ -14,7 +14,6 @@ GetAttendee Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_GetBot.go.snap b/service/chime/snapshot/api_op_GetBot.go.snap index cc251e03ce9..6631987d77b 100644 --- a/service/chime/snapshot/api_op_GetBot.go.snap +++ b/service/chime/snapshot/api_op_GetBot.go.snap @@ -14,7 +14,6 @@ GetBot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_GetChannelMessage.go.snap b/service/chime/snapshot/api_op_GetChannelMessage.go.snap index df69401a28f..23303239d2e 100644 --- a/service/chime/snapshot/api_op_GetChannelMessage.go.snap +++ b/service/chime/snapshot/api_op_GetChannelMessage.go.snap @@ -14,7 +14,6 @@ GetChannelMessage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_GetEventsConfiguration.go.snap b/service/chime/snapshot/api_op_GetEventsConfiguration.go.snap index 63b61ea5566..3251d1d90b3 100644 --- a/service/chime/snapshot/api_op_GetEventsConfiguration.go.snap +++ b/service/chime/snapshot/api_op_GetEventsConfiguration.go.snap @@ -14,7 +14,6 @@ GetEventsConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_GetGlobalSettings.go.snap b/service/chime/snapshot/api_op_GetGlobalSettings.go.snap index d57272d8a74..67a6842fc48 100644 --- a/service/chime/snapshot/api_op_GetGlobalSettings.go.snap +++ b/service/chime/snapshot/api_op_GetGlobalSettings.go.snap @@ -13,7 +13,6 @@ GetGlobalSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_GetMediaCapturePipeline.go.snap b/service/chime/snapshot/api_op_GetMediaCapturePipeline.go.snap index b52bba44734..4f2de92433d 100644 --- a/service/chime/snapshot/api_op_GetMediaCapturePipeline.go.snap +++ b/service/chime/snapshot/api_op_GetMediaCapturePipeline.go.snap @@ -14,7 +14,6 @@ GetMediaCapturePipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_GetMeeting.go.snap b/service/chime/snapshot/api_op_GetMeeting.go.snap index 45267002140..0eee7142572 100644 --- a/service/chime/snapshot/api_op_GetMeeting.go.snap +++ b/service/chime/snapshot/api_op_GetMeeting.go.snap @@ -14,7 +14,6 @@ GetMeeting Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_GetMessagingSessionEndpoint.go.snap b/service/chime/snapshot/api_op_GetMessagingSessionEndpoint.go.snap index 59eb8a312a6..89bb6a531b1 100644 --- a/service/chime/snapshot/api_op_GetMessagingSessionEndpoint.go.snap +++ b/service/chime/snapshot/api_op_GetMessagingSessionEndpoint.go.snap @@ -13,7 +13,6 @@ GetMessagingSessionEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_GetPhoneNumber.go.snap b/service/chime/snapshot/api_op_GetPhoneNumber.go.snap index d0539b342d5..284772ba05e 100644 --- a/service/chime/snapshot/api_op_GetPhoneNumber.go.snap +++ b/service/chime/snapshot/api_op_GetPhoneNumber.go.snap @@ -14,7 +14,6 @@ GetPhoneNumber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_GetPhoneNumberOrder.go.snap b/service/chime/snapshot/api_op_GetPhoneNumberOrder.go.snap index 06b4060f479..3f24aff154c 100644 --- a/service/chime/snapshot/api_op_GetPhoneNumberOrder.go.snap +++ b/service/chime/snapshot/api_op_GetPhoneNumberOrder.go.snap @@ -14,7 +14,6 @@ GetPhoneNumberOrder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_GetPhoneNumberSettings.go.snap b/service/chime/snapshot/api_op_GetPhoneNumberSettings.go.snap index 91bfe6bf02e..a611459b760 100644 --- a/service/chime/snapshot/api_op_GetPhoneNumberSettings.go.snap +++ b/service/chime/snapshot/api_op_GetPhoneNumberSettings.go.snap @@ -13,7 +13,6 @@ GetPhoneNumberSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_GetProxySession.go.snap b/service/chime/snapshot/api_op_GetProxySession.go.snap index d21ceb9bef0..e0e67b1501d 100644 --- a/service/chime/snapshot/api_op_GetProxySession.go.snap +++ b/service/chime/snapshot/api_op_GetProxySession.go.snap @@ -14,7 +14,6 @@ GetProxySession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_GetRetentionSettings.go.snap b/service/chime/snapshot/api_op_GetRetentionSettings.go.snap index cdfd1d748fc..1099edb8505 100644 --- a/service/chime/snapshot/api_op_GetRetentionSettings.go.snap +++ b/service/chime/snapshot/api_op_GetRetentionSettings.go.snap @@ -14,7 +14,6 @@ GetRetentionSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_GetRoom.go.snap b/service/chime/snapshot/api_op_GetRoom.go.snap index 2b0e6d4734c..ef4ea93966a 100644 --- a/service/chime/snapshot/api_op_GetRoom.go.snap +++ b/service/chime/snapshot/api_op_GetRoom.go.snap @@ -14,7 +14,6 @@ GetRoom Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_GetSipMediaApplication.go.snap b/service/chime/snapshot/api_op_GetSipMediaApplication.go.snap index 4eb07ad9a72..ac284e706dc 100644 --- a/service/chime/snapshot/api_op_GetSipMediaApplication.go.snap +++ b/service/chime/snapshot/api_op_GetSipMediaApplication.go.snap @@ -14,7 +14,6 @@ GetSipMediaApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_GetSipMediaApplicationLoggingConfiguration.go.snap b/service/chime/snapshot/api_op_GetSipMediaApplicationLoggingConfiguration.go.snap index c3fc52e72c3..6b76cab31ed 100644 --- a/service/chime/snapshot/api_op_GetSipMediaApplicationLoggingConfiguration.go.snap +++ b/service/chime/snapshot/api_op_GetSipMediaApplicationLoggingConfiguration.go.snap @@ -14,7 +14,6 @@ GetSipMediaApplicationLoggingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_GetSipRule.go.snap b/service/chime/snapshot/api_op_GetSipRule.go.snap index 90ea5c88184..312620c2672 100644 --- a/service/chime/snapshot/api_op_GetSipRule.go.snap +++ b/service/chime/snapshot/api_op_GetSipRule.go.snap @@ -14,7 +14,6 @@ GetSipRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_GetUser.go.snap b/service/chime/snapshot/api_op_GetUser.go.snap index b46d4656e9a..f5c0f99bd52 100644 --- a/service/chime/snapshot/api_op_GetUser.go.snap +++ b/service/chime/snapshot/api_op_GetUser.go.snap @@ -14,7 +14,6 @@ GetUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_GetUserSettings.go.snap b/service/chime/snapshot/api_op_GetUserSettings.go.snap index 5c70752bfef..e0d3046532c 100644 --- a/service/chime/snapshot/api_op_GetUserSettings.go.snap +++ b/service/chime/snapshot/api_op_GetUserSettings.go.snap @@ -14,7 +14,6 @@ GetUserSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_GetVoiceConnector.go.snap b/service/chime/snapshot/api_op_GetVoiceConnector.go.snap index 70d38abb5db..e1d575616da 100644 --- a/service/chime/snapshot/api_op_GetVoiceConnector.go.snap +++ b/service/chime/snapshot/api_op_GetVoiceConnector.go.snap @@ -14,7 +14,6 @@ GetVoiceConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_GetVoiceConnectorEmergencyCallingConfiguration.go.snap b/service/chime/snapshot/api_op_GetVoiceConnectorEmergencyCallingConfiguration.go.snap index cde6c8fd28c..a2fcd35ce24 100644 --- a/service/chime/snapshot/api_op_GetVoiceConnectorEmergencyCallingConfiguration.go.snap +++ b/service/chime/snapshot/api_op_GetVoiceConnectorEmergencyCallingConfiguration.go.snap @@ -14,7 +14,6 @@ GetVoiceConnectorEmergencyCallingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_GetVoiceConnectorGroup.go.snap b/service/chime/snapshot/api_op_GetVoiceConnectorGroup.go.snap index d1dd794bbad..890be16a873 100644 --- a/service/chime/snapshot/api_op_GetVoiceConnectorGroup.go.snap +++ b/service/chime/snapshot/api_op_GetVoiceConnectorGroup.go.snap @@ -14,7 +14,6 @@ GetVoiceConnectorGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_GetVoiceConnectorLoggingConfiguration.go.snap b/service/chime/snapshot/api_op_GetVoiceConnectorLoggingConfiguration.go.snap index 995ceae124f..054a13dc98b 100644 --- a/service/chime/snapshot/api_op_GetVoiceConnectorLoggingConfiguration.go.snap +++ b/service/chime/snapshot/api_op_GetVoiceConnectorLoggingConfiguration.go.snap @@ -14,7 +14,6 @@ GetVoiceConnectorLoggingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_GetVoiceConnectorOrigination.go.snap b/service/chime/snapshot/api_op_GetVoiceConnectorOrigination.go.snap index dd915e2158c..884bcaa466c 100644 --- a/service/chime/snapshot/api_op_GetVoiceConnectorOrigination.go.snap +++ b/service/chime/snapshot/api_op_GetVoiceConnectorOrigination.go.snap @@ -14,7 +14,6 @@ GetVoiceConnectorOrigination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_GetVoiceConnectorProxy.go.snap b/service/chime/snapshot/api_op_GetVoiceConnectorProxy.go.snap index ecc9511427b..080c94b50bf 100644 --- a/service/chime/snapshot/api_op_GetVoiceConnectorProxy.go.snap +++ b/service/chime/snapshot/api_op_GetVoiceConnectorProxy.go.snap @@ -14,7 +14,6 @@ GetVoiceConnectorProxy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_GetVoiceConnectorStreamingConfiguration.go.snap b/service/chime/snapshot/api_op_GetVoiceConnectorStreamingConfiguration.go.snap index 332a6f84091..95b93bdf0cd 100644 --- a/service/chime/snapshot/api_op_GetVoiceConnectorStreamingConfiguration.go.snap +++ b/service/chime/snapshot/api_op_GetVoiceConnectorStreamingConfiguration.go.snap @@ -14,7 +14,6 @@ GetVoiceConnectorStreamingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_GetVoiceConnectorTermination.go.snap b/service/chime/snapshot/api_op_GetVoiceConnectorTermination.go.snap index 8c0c01c7099..a9be311a900 100644 --- a/service/chime/snapshot/api_op_GetVoiceConnectorTermination.go.snap +++ b/service/chime/snapshot/api_op_GetVoiceConnectorTermination.go.snap @@ -14,7 +14,6 @@ GetVoiceConnectorTermination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_GetVoiceConnectorTerminationHealth.go.snap b/service/chime/snapshot/api_op_GetVoiceConnectorTerminationHealth.go.snap index 0399840f78b..4a15d8625cb 100644 --- a/service/chime/snapshot/api_op_GetVoiceConnectorTerminationHealth.go.snap +++ b/service/chime/snapshot/api_op_GetVoiceConnectorTerminationHealth.go.snap @@ -14,7 +14,6 @@ GetVoiceConnectorTerminationHealth Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_InviteUsers.go.snap b/service/chime/snapshot/api_op_InviteUsers.go.snap index a3de6afac01..e0630effcab 100644 --- a/service/chime/snapshot/api_op_InviteUsers.go.snap +++ b/service/chime/snapshot/api_op_InviteUsers.go.snap @@ -14,7 +14,6 @@ InviteUsers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_ListAccounts.go.snap b/service/chime/snapshot/api_op_ListAccounts.go.snap index 869e69a4070..bda45a2cf05 100644 --- a/service/chime/snapshot/api_op_ListAccounts.go.snap +++ b/service/chime/snapshot/api_op_ListAccounts.go.snap @@ -13,7 +13,6 @@ ListAccounts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_ListAppInstanceAdmins.go.snap b/service/chime/snapshot/api_op_ListAppInstanceAdmins.go.snap index 6854a69f99e..7b6251b8cdc 100644 --- a/service/chime/snapshot/api_op_ListAppInstanceAdmins.go.snap +++ b/service/chime/snapshot/api_op_ListAppInstanceAdmins.go.snap @@ -14,7 +14,6 @@ ListAppInstanceAdmins Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_ListAppInstanceUsers.go.snap b/service/chime/snapshot/api_op_ListAppInstanceUsers.go.snap index 3c6b4bcddbd..ad120452eee 100644 --- a/service/chime/snapshot/api_op_ListAppInstanceUsers.go.snap +++ b/service/chime/snapshot/api_op_ListAppInstanceUsers.go.snap @@ -14,7 +14,6 @@ ListAppInstanceUsers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_ListAppInstances.go.snap b/service/chime/snapshot/api_op_ListAppInstances.go.snap index 8a3e8e90071..028d1aa314b 100644 --- a/service/chime/snapshot/api_op_ListAppInstances.go.snap +++ b/service/chime/snapshot/api_op_ListAppInstances.go.snap @@ -13,7 +13,6 @@ ListAppInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_ListAttendeeTags.go.snap b/service/chime/snapshot/api_op_ListAttendeeTags.go.snap index 8a2f3153060..df1fa0f14e3 100644 --- a/service/chime/snapshot/api_op_ListAttendeeTags.go.snap +++ b/service/chime/snapshot/api_op_ListAttendeeTags.go.snap @@ -14,7 +14,6 @@ ListAttendeeTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_ListAttendees.go.snap b/service/chime/snapshot/api_op_ListAttendees.go.snap index ced891b5da3..2e17990cec4 100644 --- a/service/chime/snapshot/api_op_ListAttendees.go.snap +++ b/service/chime/snapshot/api_op_ListAttendees.go.snap @@ -14,7 +14,6 @@ ListAttendees Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_ListBots.go.snap b/service/chime/snapshot/api_op_ListBots.go.snap index 4e5910d2fd6..ee82b0ffb5a 100644 --- a/service/chime/snapshot/api_op_ListBots.go.snap +++ b/service/chime/snapshot/api_op_ListBots.go.snap @@ -14,7 +14,6 @@ ListBots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_ListChannelBans.go.snap b/service/chime/snapshot/api_op_ListChannelBans.go.snap index 9d60bab88b8..120737e3bf7 100644 --- a/service/chime/snapshot/api_op_ListChannelBans.go.snap +++ b/service/chime/snapshot/api_op_ListChannelBans.go.snap @@ -14,7 +14,6 @@ ListChannelBans Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_ListChannelMemberships.go.snap b/service/chime/snapshot/api_op_ListChannelMemberships.go.snap index 9fbd080dccf..604916ebb69 100644 --- a/service/chime/snapshot/api_op_ListChannelMemberships.go.snap +++ b/service/chime/snapshot/api_op_ListChannelMemberships.go.snap @@ -14,7 +14,6 @@ ListChannelMemberships Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_ListChannelMembershipsForAppInstanceUser.go.snap b/service/chime/snapshot/api_op_ListChannelMembershipsForAppInstanceUser.go.snap index 9fefe10459e..e7ed3c9665f 100644 --- a/service/chime/snapshot/api_op_ListChannelMembershipsForAppInstanceUser.go.snap +++ b/service/chime/snapshot/api_op_ListChannelMembershipsForAppInstanceUser.go.snap @@ -13,7 +13,6 @@ ListChannelMembershipsForAppInstanceUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_ListChannelMessages.go.snap b/service/chime/snapshot/api_op_ListChannelMessages.go.snap index 0b0736e09ce..8f21841b61d 100644 --- a/service/chime/snapshot/api_op_ListChannelMessages.go.snap +++ b/service/chime/snapshot/api_op_ListChannelMessages.go.snap @@ -14,7 +14,6 @@ ListChannelMessages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_ListChannelModerators.go.snap b/service/chime/snapshot/api_op_ListChannelModerators.go.snap index e15b406fe49..516675b22e0 100644 --- a/service/chime/snapshot/api_op_ListChannelModerators.go.snap +++ b/service/chime/snapshot/api_op_ListChannelModerators.go.snap @@ -14,7 +14,6 @@ ListChannelModerators Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_ListChannels.go.snap b/service/chime/snapshot/api_op_ListChannels.go.snap index 85a0021998f..c807e139098 100644 --- a/service/chime/snapshot/api_op_ListChannels.go.snap +++ b/service/chime/snapshot/api_op_ListChannels.go.snap @@ -14,7 +14,6 @@ ListChannels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_ListChannelsModeratedByAppInstanceUser.go.snap b/service/chime/snapshot/api_op_ListChannelsModeratedByAppInstanceUser.go.snap index 0ea0021fe65..c59474f45bb 100644 --- a/service/chime/snapshot/api_op_ListChannelsModeratedByAppInstanceUser.go.snap +++ b/service/chime/snapshot/api_op_ListChannelsModeratedByAppInstanceUser.go.snap @@ -13,7 +13,6 @@ ListChannelsModeratedByAppInstanceUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_ListMediaCapturePipelines.go.snap b/service/chime/snapshot/api_op_ListMediaCapturePipelines.go.snap index a730b877f41..e9fdece75d9 100644 --- a/service/chime/snapshot/api_op_ListMediaCapturePipelines.go.snap +++ b/service/chime/snapshot/api_op_ListMediaCapturePipelines.go.snap @@ -13,7 +13,6 @@ ListMediaCapturePipelines Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_ListMeetingTags.go.snap b/service/chime/snapshot/api_op_ListMeetingTags.go.snap index 7695f2c7d26..45683e0fd05 100644 --- a/service/chime/snapshot/api_op_ListMeetingTags.go.snap +++ b/service/chime/snapshot/api_op_ListMeetingTags.go.snap @@ -14,7 +14,6 @@ ListMeetingTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_ListMeetings.go.snap b/service/chime/snapshot/api_op_ListMeetings.go.snap index 2c991b05704..d41cf19e335 100644 --- a/service/chime/snapshot/api_op_ListMeetings.go.snap +++ b/service/chime/snapshot/api_op_ListMeetings.go.snap @@ -13,7 +13,6 @@ ListMeetings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_ListPhoneNumberOrders.go.snap b/service/chime/snapshot/api_op_ListPhoneNumberOrders.go.snap index e9ae6f6c578..bf2a2ace989 100644 --- a/service/chime/snapshot/api_op_ListPhoneNumberOrders.go.snap +++ b/service/chime/snapshot/api_op_ListPhoneNumberOrders.go.snap @@ -13,7 +13,6 @@ ListPhoneNumberOrders Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_ListPhoneNumbers.go.snap b/service/chime/snapshot/api_op_ListPhoneNumbers.go.snap index 635538a574f..530e7b4bff3 100644 --- a/service/chime/snapshot/api_op_ListPhoneNumbers.go.snap +++ b/service/chime/snapshot/api_op_ListPhoneNumbers.go.snap @@ -13,7 +13,6 @@ ListPhoneNumbers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_ListProxySessions.go.snap b/service/chime/snapshot/api_op_ListProxySessions.go.snap index be49696f99e..898c06d3096 100644 --- a/service/chime/snapshot/api_op_ListProxySessions.go.snap +++ b/service/chime/snapshot/api_op_ListProxySessions.go.snap @@ -14,7 +14,6 @@ ListProxySessions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_ListRoomMemberships.go.snap b/service/chime/snapshot/api_op_ListRoomMemberships.go.snap index 61df0291565..c7b36ce30ec 100644 --- a/service/chime/snapshot/api_op_ListRoomMemberships.go.snap +++ b/service/chime/snapshot/api_op_ListRoomMemberships.go.snap @@ -14,7 +14,6 @@ ListRoomMemberships Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_ListRooms.go.snap b/service/chime/snapshot/api_op_ListRooms.go.snap index dc33c370a49..aed221cf2aa 100644 --- a/service/chime/snapshot/api_op_ListRooms.go.snap +++ b/service/chime/snapshot/api_op_ListRooms.go.snap @@ -14,7 +14,6 @@ ListRooms Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_ListSipMediaApplications.go.snap b/service/chime/snapshot/api_op_ListSipMediaApplications.go.snap index c949bd22060..ced0d72d5c8 100644 --- a/service/chime/snapshot/api_op_ListSipMediaApplications.go.snap +++ b/service/chime/snapshot/api_op_ListSipMediaApplications.go.snap @@ -13,7 +13,6 @@ ListSipMediaApplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_ListSipRules.go.snap b/service/chime/snapshot/api_op_ListSipRules.go.snap index 99028dec72f..72d5677f3f9 100644 --- a/service/chime/snapshot/api_op_ListSipRules.go.snap +++ b/service/chime/snapshot/api_op_ListSipRules.go.snap @@ -13,7 +13,6 @@ ListSipRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_ListSupportedPhoneNumberCountries.go.snap b/service/chime/snapshot/api_op_ListSupportedPhoneNumberCountries.go.snap index fb6e99ea36f..f6855c2aec7 100644 --- a/service/chime/snapshot/api_op_ListSupportedPhoneNumberCountries.go.snap +++ b/service/chime/snapshot/api_op_ListSupportedPhoneNumberCountries.go.snap @@ -14,7 +14,6 @@ ListSupportedPhoneNumberCountries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_ListTagsForResource.go.snap b/service/chime/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/chime/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/chime/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_ListUsers.go.snap b/service/chime/snapshot/api_op_ListUsers.go.snap index e806475e845..214b3b04368 100644 --- a/service/chime/snapshot/api_op_ListUsers.go.snap +++ b/service/chime/snapshot/api_op_ListUsers.go.snap @@ -14,7 +14,6 @@ ListUsers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_ListVoiceConnectorGroups.go.snap b/service/chime/snapshot/api_op_ListVoiceConnectorGroups.go.snap index 09191957e6a..5f2406926bf 100644 --- a/service/chime/snapshot/api_op_ListVoiceConnectorGroups.go.snap +++ b/service/chime/snapshot/api_op_ListVoiceConnectorGroups.go.snap @@ -13,7 +13,6 @@ ListVoiceConnectorGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_ListVoiceConnectorTerminationCredentials.go.snap b/service/chime/snapshot/api_op_ListVoiceConnectorTerminationCredentials.go.snap index f5dafcd3745..ff55be88289 100644 --- a/service/chime/snapshot/api_op_ListVoiceConnectorTerminationCredentials.go.snap +++ b/service/chime/snapshot/api_op_ListVoiceConnectorTerminationCredentials.go.snap @@ -14,7 +14,6 @@ ListVoiceConnectorTerminationCredentials Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_ListVoiceConnectors.go.snap b/service/chime/snapshot/api_op_ListVoiceConnectors.go.snap index 8d9b81517a7..d53065ebb90 100644 --- a/service/chime/snapshot/api_op_ListVoiceConnectors.go.snap +++ b/service/chime/snapshot/api_op_ListVoiceConnectors.go.snap @@ -13,7 +13,6 @@ ListVoiceConnectors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_LogoutUser.go.snap b/service/chime/snapshot/api_op_LogoutUser.go.snap index 929d1224846..ede3b88b920 100644 --- a/service/chime/snapshot/api_op_LogoutUser.go.snap +++ b/service/chime/snapshot/api_op_LogoutUser.go.snap @@ -14,7 +14,6 @@ LogoutUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_PutAppInstanceRetentionSettings.go.snap b/service/chime/snapshot/api_op_PutAppInstanceRetentionSettings.go.snap index 304c06f2563..6f396abbb4d 100644 --- a/service/chime/snapshot/api_op_PutAppInstanceRetentionSettings.go.snap +++ b/service/chime/snapshot/api_op_PutAppInstanceRetentionSettings.go.snap @@ -14,7 +14,6 @@ PutAppInstanceRetentionSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_PutAppInstanceStreamingConfigurations.go.snap b/service/chime/snapshot/api_op_PutAppInstanceStreamingConfigurations.go.snap index a6650766e04..c1d444478a2 100644 --- a/service/chime/snapshot/api_op_PutAppInstanceStreamingConfigurations.go.snap +++ b/service/chime/snapshot/api_op_PutAppInstanceStreamingConfigurations.go.snap @@ -14,7 +14,6 @@ PutAppInstanceStreamingConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_PutEventsConfiguration.go.snap b/service/chime/snapshot/api_op_PutEventsConfiguration.go.snap index 6c3b3fa2b2e..da2ba9bbada 100644 --- a/service/chime/snapshot/api_op_PutEventsConfiguration.go.snap +++ b/service/chime/snapshot/api_op_PutEventsConfiguration.go.snap @@ -14,7 +14,6 @@ PutEventsConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_PutRetentionSettings.go.snap b/service/chime/snapshot/api_op_PutRetentionSettings.go.snap index b630df2d445..2136470a917 100644 --- a/service/chime/snapshot/api_op_PutRetentionSettings.go.snap +++ b/service/chime/snapshot/api_op_PutRetentionSettings.go.snap @@ -14,7 +14,6 @@ PutRetentionSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_PutSipMediaApplicationLoggingConfiguration.go.snap b/service/chime/snapshot/api_op_PutSipMediaApplicationLoggingConfiguration.go.snap index 63c074437d2..1b11c7a0fc1 100644 --- a/service/chime/snapshot/api_op_PutSipMediaApplicationLoggingConfiguration.go.snap +++ b/service/chime/snapshot/api_op_PutSipMediaApplicationLoggingConfiguration.go.snap @@ -14,7 +14,6 @@ PutSipMediaApplicationLoggingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_PutVoiceConnectorEmergencyCallingConfiguration.go.snap b/service/chime/snapshot/api_op_PutVoiceConnectorEmergencyCallingConfiguration.go.snap index 98e03120620..1a408d908b4 100644 --- a/service/chime/snapshot/api_op_PutVoiceConnectorEmergencyCallingConfiguration.go.snap +++ b/service/chime/snapshot/api_op_PutVoiceConnectorEmergencyCallingConfiguration.go.snap @@ -14,7 +14,6 @@ PutVoiceConnectorEmergencyCallingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_PutVoiceConnectorLoggingConfiguration.go.snap b/service/chime/snapshot/api_op_PutVoiceConnectorLoggingConfiguration.go.snap index 0aa6a95d05e..a5e1a37c2c1 100644 --- a/service/chime/snapshot/api_op_PutVoiceConnectorLoggingConfiguration.go.snap +++ b/service/chime/snapshot/api_op_PutVoiceConnectorLoggingConfiguration.go.snap @@ -14,7 +14,6 @@ PutVoiceConnectorLoggingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_PutVoiceConnectorOrigination.go.snap b/service/chime/snapshot/api_op_PutVoiceConnectorOrigination.go.snap index 271243a4095..f0577c6ea9c 100644 --- a/service/chime/snapshot/api_op_PutVoiceConnectorOrigination.go.snap +++ b/service/chime/snapshot/api_op_PutVoiceConnectorOrigination.go.snap @@ -14,7 +14,6 @@ PutVoiceConnectorOrigination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_PutVoiceConnectorProxy.go.snap b/service/chime/snapshot/api_op_PutVoiceConnectorProxy.go.snap index f3c5d0c72f1..251719e86b8 100644 --- a/service/chime/snapshot/api_op_PutVoiceConnectorProxy.go.snap +++ b/service/chime/snapshot/api_op_PutVoiceConnectorProxy.go.snap @@ -14,7 +14,6 @@ PutVoiceConnectorProxy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_PutVoiceConnectorStreamingConfiguration.go.snap b/service/chime/snapshot/api_op_PutVoiceConnectorStreamingConfiguration.go.snap index 445aa85d457..35d200a75fb 100644 --- a/service/chime/snapshot/api_op_PutVoiceConnectorStreamingConfiguration.go.snap +++ b/service/chime/snapshot/api_op_PutVoiceConnectorStreamingConfiguration.go.snap @@ -14,7 +14,6 @@ PutVoiceConnectorStreamingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_PutVoiceConnectorTermination.go.snap b/service/chime/snapshot/api_op_PutVoiceConnectorTermination.go.snap index dddc5ae480c..24cf370171e 100644 --- a/service/chime/snapshot/api_op_PutVoiceConnectorTermination.go.snap +++ b/service/chime/snapshot/api_op_PutVoiceConnectorTermination.go.snap @@ -14,7 +14,6 @@ PutVoiceConnectorTermination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_PutVoiceConnectorTerminationCredentials.go.snap b/service/chime/snapshot/api_op_PutVoiceConnectorTerminationCredentials.go.snap index c0f278ddfb7..633838bd8b6 100644 --- a/service/chime/snapshot/api_op_PutVoiceConnectorTerminationCredentials.go.snap +++ b/service/chime/snapshot/api_op_PutVoiceConnectorTerminationCredentials.go.snap @@ -14,7 +14,6 @@ PutVoiceConnectorTerminationCredentials Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_RedactChannelMessage.go.snap b/service/chime/snapshot/api_op_RedactChannelMessage.go.snap index 7130ace2f43..b0a6e99670c 100644 --- a/service/chime/snapshot/api_op_RedactChannelMessage.go.snap +++ b/service/chime/snapshot/api_op_RedactChannelMessage.go.snap @@ -14,7 +14,6 @@ RedactChannelMessage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_RedactConversationMessage.go.snap b/service/chime/snapshot/api_op_RedactConversationMessage.go.snap index db6afe19c03..0023dd2ff78 100644 --- a/service/chime/snapshot/api_op_RedactConversationMessage.go.snap +++ b/service/chime/snapshot/api_op_RedactConversationMessage.go.snap @@ -14,7 +14,6 @@ RedactConversationMessage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_RedactRoomMessage.go.snap b/service/chime/snapshot/api_op_RedactRoomMessage.go.snap index f95b94b5f83..46300c15801 100644 --- a/service/chime/snapshot/api_op_RedactRoomMessage.go.snap +++ b/service/chime/snapshot/api_op_RedactRoomMessage.go.snap @@ -14,7 +14,6 @@ RedactRoomMessage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_RegenerateSecurityToken.go.snap b/service/chime/snapshot/api_op_RegenerateSecurityToken.go.snap index 83a8fa25986..7ffbd857ff7 100644 --- a/service/chime/snapshot/api_op_RegenerateSecurityToken.go.snap +++ b/service/chime/snapshot/api_op_RegenerateSecurityToken.go.snap @@ -14,7 +14,6 @@ RegenerateSecurityToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_ResetPersonalPIN.go.snap b/service/chime/snapshot/api_op_ResetPersonalPIN.go.snap index 8f297ec0c2d..410167088a1 100644 --- a/service/chime/snapshot/api_op_ResetPersonalPIN.go.snap +++ b/service/chime/snapshot/api_op_ResetPersonalPIN.go.snap @@ -14,7 +14,6 @@ ResetPersonalPIN Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_RestorePhoneNumber.go.snap b/service/chime/snapshot/api_op_RestorePhoneNumber.go.snap index 861a7c6e239..5a1e6742c04 100644 --- a/service/chime/snapshot/api_op_RestorePhoneNumber.go.snap +++ b/service/chime/snapshot/api_op_RestorePhoneNumber.go.snap @@ -14,7 +14,6 @@ RestorePhoneNumber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_SearchAvailablePhoneNumbers.go.snap b/service/chime/snapshot/api_op_SearchAvailablePhoneNumbers.go.snap index 2523f9df1ba..99b31ab2278 100644 --- a/service/chime/snapshot/api_op_SearchAvailablePhoneNumbers.go.snap +++ b/service/chime/snapshot/api_op_SearchAvailablePhoneNumbers.go.snap @@ -13,7 +13,6 @@ SearchAvailablePhoneNumbers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_SendChannelMessage.go.snap b/service/chime/snapshot/api_op_SendChannelMessage.go.snap index f966f3845c1..0bce421ae41 100644 --- a/service/chime/snapshot/api_op_SendChannelMessage.go.snap +++ b/service/chime/snapshot/api_op_SendChannelMessage.go.snap @@ -15,7 +15,6 @@ SendChannelMessage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_StartMeetingTranscription.go.snap b/service/chime/snapshot/api_op_StartMeetingTranscription.go.snap index 32e02297fd9..f10fc4aa6b2 100644 --- a/service/chime/snapshot/api_op_StartMeetingTranscription.go.snap +++ b/service/chime/snapshot/api_op_StartMeetingTranscription.go.snap @@ -14,7 +14,6 @@ StartMeetingTranscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_StopMeetingTranscription.go.snap b/service/chime/snapshot/api_op_StopMeetingTranscription.go.snap index c4474eebf9d..1170ffda1da 100644 --- a/service/chime/snapshot/api_op_StopMeetingTranscription.go.snap +++ b/service/chime/snapshot/api_op_StopMeetingTranscription.go.snap @@ -14,7 +14,6 @@ StopMeetingTranscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_TagAttendee.go.snap b/service/chime/snapshot/api_op_TagAttendee.go.snap index 422d3a4ce81..c23fa9a0e9b 100644 --- a/service/chime/snapshot/api_op_TagAttendee.go.snap +++ b/service/chime/snapshot/api_op_TagAttendee.go.snap @@ -14,7 +14,6 @@ TagAttendee Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_TagMeeting.go.snap b/service/chime/snapshot/api_op_TagMeeting.go.snap index 3e09029d59e..34c8d1266f0 100644 --- a/service/chime/snapshot/api_op_TagMeeting.go.snap +++ b/service/chime/snapshot/api_op_TagMeeting.go.snap @@ -14,7 +14,6 @@ TagMeeting Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_TagResource.go.snap b/service/chime/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/chime/snapshot/api_op_TagResource.go.snap +++ b/service/chime/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_UntagAttendee.go.snap b/service/chime/snapshot/api_op_UntagAttendee.go.snap index c15e6ac112e..0172b973919 100644 --- a/service/chime/snapshot/api_op_UntagAttendee.go.snap +++ b/service/chime/snapshot/api_op_UntagAttendee.go.snap @@ -14,7 +14,6 @@ UntagAttendee Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_UntagMeeting.go.snap b/service/chime/snapshot/api_op_UntagMeeting.go.snap index 6922fe140cd..d2debc65633 100644 --- a/service/chime/snapshot/api_op_UntagMeeting.go.snap +++ b/service/chime/snapshot/api_op_UntagMeeting.go.snap @@ -14,7 +14,6 @@ UntagMeeting Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_UntagResource.go.snap b/service/chime/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/chime/snapshot/api_op_UntagResource.go.snap +++ b/service/chime/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_UpdateAccount.go.snap b/service/chime/snapshot/api_op_UpdateAccount.go.snap index bef639c49b2..131d54bea34 100644 --- a/service/chime/snapshot/api_op_UpdateAccount.go.snap +++ b/service/chime/snapshot/api_op_UpdateAccount.go.snap @@ -14,7 +14,6 @@ UpdateAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_UpdateAccountSettings.go.snap b/service/chime/snapshot/api_op_UpdateAccountSettings.go.snap index d69f82cf445..0768f34df66 100644 --- a/service/chime/snapshot/api_op_UpdateAccountSettings.go.snap +++ b/service/chime/snapshot/api_op_UpdateAccountSettings.go.snap @@ -14,7 +14,6 @@ UpdateAccountSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_UpdateAppInstance.go.snap b/service/chime/snapshot/api_op_UpdateAppInstance.go.snap index ed6e55974c0..e3b9362c2a6 100644 --- a/service/chime/snapshot/api_op_UpdateAppInstance.go.snap +++ b/service/chime/snapshot/api_op_UpdateAppInstance.go.snap @@ -14,7 +14,6 @@ UpdateAppInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_UpdateAppInstanceUser.go.snap b/service/chime/snapshot/api_op_UpdateAppInstanceUser.go.snap index 9fa72e872c0..ff31c337c23 100644 --- a/service/chime/snapshot/api_op_UpdateAppInstanceUser.go.snap +++ b/service/chime/snapshot/api_op_UpdateAppInstanceUser.go.snap @@ -14,7 +14,6 @@ UpdateAppInstanceUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_UpdateBot.go.snap b/service/chime/snapshot/api_op_UpdateBot.go.snap index ac1a2f230a6..fc332ca237a 100644 --- a/service/chime/snapshot/api_op_UpdateBot.go.snap +++ b/service/chime/snapshot/api_op_UpdateBot.go.snap @@ -14,7 +14,6 @@ UpdateBot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_UpdateChannel.go.snap b/service/chime/snapshot/api_op_UpdateChannel.go.snap index 72413c703d8..117bc00810e 100644 --- a/service/chime/snapshot/api_op_UpdateChannel.go.snap +++ b/service/chime/snapshot/api_op_UpdateChannel.go.snap @@ -14,7 +14,6 @@ UpdateChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_UpdateChannelMessage.go.snap b/service/chime/snapshot/api_op_UpdateChannelMessage.go.snap index 7ef58e0b9d5..ba1148be5d0 100644 --- a/service/chime/snapshot/api_op_UpdateChannelMessage.go.snap +++ b/service/chime/snapshot/api_op_UpdateChannelMessage.go.snap @@ -14,7 +14,6 @@ UpdateChannelMessage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_UpdateChannelReadMarker.go.snap b/service/chime/snapshot/api_op_UpdateChannelReadMarker.go.snap index 8f61e2c1436..1b3bd6e54bb 100644 --- a/service/chime/snapshot/api_op_UpdateChannelReadMarker.go.snap +++ b/service/chime/snapshot/api_op_UpdateChannelReadMarker.go.snap @@ -14,7 +14,6 @@ UpdateChannelReadMarker Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_UpdateGlobalSettings.go.snap b/service/chime/snapshot/api_op_UpdateGlobalSettings.go.snap index 3163e3d4a3b..276f741cb85 100644 --- a/service/chime/snapshot/api_op_UpdateGlobalSettings.go.snap +++ b/service/chime/snapshot/api_op_UpdateGlobalSettings.go.snap @@ -13,7 +13,6 @@ UpdateGlobalSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_UpdatePhoneNumber.go.snap b/service/chime/snapshot/api_op_UpdatePhoneNumber.go.snap index ea27f48ae8a..5bd3b027498 100644 --- a/service/chime/snapshot/api_op_UpdatePhoneNumber.go.snap +++ b/service/chime/snapshot/api_op_UpdatePhoneNumber.go.snap @@ -14,7 +14,6 @@ UpdatePhoneNumber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_UpdatePhoneNumberSettings.go.snap b/service/chime/snapshot/api_op_UpdatePhoneNumberSettings.go.snap index da4f5cb9b61..0e561e30208 100644 --- a/service/chime/snapshot/api_op_UpdatePhoneNumberSettings.go.snap +++ b/service/chime/snapshot/api_op_UpdatePhoneNumberSettings.go.snap @@ -14,7 +14,6 @@ UpdatePhoneNumberSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_UpdateProxySession.go.snap b/service/chime/snapshot/api_op_UpdateProxySession.go.snap index 7d77cee3b30..df95b6620cb 100644 --- a/service/chime/snapshot/api_op_UpdateProxySession.go.snap +++ b/service/chime/snapshot/api_op_UpdateProxySession.go.snap @@ -14,7 +14,6 @@ UpdateProxySession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_UpdateRoom.go.snap b/service/chime/snapshot/api_op_UpdateRoom.go.snap index 32b992dc9e0..26b98e85599 100644 --- a/service/chime/snapshot/api_op_UpdateRoom.go.snap +++ b/service/chime/snapshot/api_op_UpdateRoom.go.snap @@ -14,7 +14,6 @@ UpdateRoom Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_UpdateRoomMembership.go.snap b/service/chime/snapshot/api_op_UpdateRoomMembership.go.snap index c0ec3f08b17..617224f03db 100644 --- a/service/chime/snapshot/api_op_UpdateRoomMembership.go.snap +++ b/service/chime/snapshot/api_op_UpdateRoomMembership.go.snap @@ -14,7 +14,6 @@ UpdateRoomMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_UpdateSipMediaApplication.go.snap b/service/chime/snapshot/api_op_UpdateSipMediaApplication.go.snap index 17d3e6f7df4..6f62e2b2ca0 100644 --- a/service/chime/snapshot/api_op_UpdateSipMediaApplication.go.snap +++ b/service/chime/snapshot/api_op_UpdateSipMediaApplication.go.snap @@ -14,7 +14,6 @@ UpdateSipMediaApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_UpdateSipMediaApplicationCall.go.snap b/service/chime/snapshot/api_op_UpdateSipMediaApplicationCall.go.snap index 8ebd276b1ec..05f63965fb7 100644 --- a/service/chime/snapshot/api_op_UpdateSipMediaApplicationCall.go.snap +++ b/service/chime/snapshot/api_op_UpdateSipMediaApplicationCall.go.snap @@ -14,7 +14,6 @@ UpdateSipMediaApplicationCall Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_UpdateSipRule.go.snap b/service/chime/snapshot/api_op_UpdateSipRule.go.snap index bfc42be8f41..a4be3ecca72 100644 --- a/service/chime/snapshot/api_op_UpdateSipRule.go.snap +++ b/service/chime/snapshot/api_op_UpdateSipRule.go.snap @@ -14,7 +14,6 @@ UpdateSipRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_UpdateUser.go.snap b/service/chime/snapshot/api_op_UpdateUser.go.snap index 52e6424cb0f..bee553c064e 100644 --- a/service/chime/snapshot/api_op_UpdateUser.go.snap +++ b/service/chime/snapshot/api_op_UpdateUser.go.snap @@ -14,7 +14,6 @@ UpdateUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_UpdateUserSettings.go.snap b/service/chime/snapshot/api_op_UpdateUserSettings.go.snap index a02b2aa15e5..a8a09f3bf08 100644 --- a/service/chime/snapshot/api_op_UpdateUserSettings.go.snap +++ b/service/chime/snapshot/api_op_UpdateUserSettings.go.snap @@ -14,7 +14,6 @@ UpdateUserSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_UpdateVoiceConnector.go.snap b/service/chime/snapshot/api_op_UpdateVoiceConnector.go.snap index d1724b45631..87628283579 100644 --- a/service/chime/snapshot/api_op_UpdateVoiceConnector.go.snap +++ b/service/chime/snapshot/api_op_UpdateVoiceConnector.go.snap @@ -14,7 +14,6 @@ UpdateVoiceConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_UpdateVoiceConnectorGroup.go.snap b/service/chime/snapshot/api_op_UpdateVoiceConnectorGroup.go.snap index f3892cb6f81..04569504bff 100644 --- a/service/chime/snapshot/api_op_UpdateVoiceConnectorGroup.go.snap +++ b/service/chime/snapshot/api_op_UpdateVoiceConnectorGroup.go.snap @@ -14,7 +14,6 @@ UpdateVoiceConnectorGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chime/snapshot/api_op_ValidateE911Address.go.snap b/service/chime/snapshot/api_op_ValidateE911Address.go.snap index 7029697a1c9..f8c3645e34d 100644 --- a/service/chime/snapshot/api_op_ValidateE911Address.go.snap +++ b/service/chime/snapshot/api_op_ValidateE911Address.go.snap @@ -14,7 +14,6 @@ ValidateE911Address Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkidentity/api_client.go b/service/chimesdkidentity/api_client.go index 393c03f6977..db60c0a52d9 100644 --- a/service/chimesdkidentity/api_client.go +++ b/service/chimesdkidentity/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/chimesdkidentity/api_op_CreateAppInstance.go b/service/chimesdkidentity/api_op_CreateAppInstance.go index d78f8fdcc60..96bb7faa5f6 100644 --- a/service/chimesdkidentity/api_op_CreateAppInstance.go +++ b/service/chimesdkidentity/api_op_CreateAppInstance.go @@ -128,9 +128,6 @@ func (c *Client) addOperationCreateAppInstanceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAppInstanceMiddleware(stack, options); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_CreateAppInstanceAdmin.go b/service/chimesdkidentity/api_op_CreateAppInstanceAdmin.go index f0c50d6b42a..408c54b2ebd 100644 --- a/service/chimesdkidentity/api_op_CreateAppInstanceAdmin.go +++ b/service/chimesdkidentity/api_op_CreateAppInstanceAdmin.go @@ -129,9 +129,6 @@ func (c *Client) addOperationCreateAppInstanceAdminMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAppInstanceAdminValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_CreateAppInstanceBot.go b/service/chimesdkidentity/api_op_CreateAppInstanceBot.go index 05ac60b4f5c..a9831b0b077 100644 --- a/service/chimesdkidentity/api_op_CreateAppInstanceBot.go +++ b/service/chimesdkidentity/api_op_CreateAppInstanceBot.go @@ -133,9 +133,6 @@ func (c *Client) addOperationCreateAppInstanceBotMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAppInstanceBotMiddleware(stack, options); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_CreateAppInstanceUser.go b/service/chimesdkidentity/api_op_CreateAppInstanceUser.go index 70aa7aac7a9..6688d8481fa 100644 --- a/service/chimesdkidentity/api_op_CreateAppInstanceUser.go +++ b/service/chimesdkidentity/api_op_CreateAppInstanceUser.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateAppInstanceUserMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAppInstanceUserMiddleware(stack, options); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_DeleteAppInstance.go b/service/chimesdkidentity/api_op_DeleteAppInstance.go index 593c7f0233b..0b42f85e3a5 100644 --- a/service/chimesdkidentity/api_op_DeleteAppInstance.go +++ b/service/chimesdkidentity/api_op_DeleteAppInstance.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteAppInstanceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAppInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_DeleteAppInstanceAdmin.go b/service/chimesdkidentity/api_op_DeleteAppInstanceAdmin.go index f05afd2d0fc..49f73f4184e 100644 --- a/service/chimesdkidentity/api_op_DeleteAppInstanceAdmin.go +++ b/service/chimesdkidentity/api_op_DeleteAppInstanceAdmin.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteAppInstanceAdminMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAppInstanceAdminValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_DeleteAppInstanceBot.go b/service/chimesdkidentity/api_op_DeleteAppInstanceBot.go index c819df764ff..d579705f7b6 100644 --- a/service/chimesdkidentity/api_op_DeleteAppInstanceBot.go +++ b/service/chimesdkidentity/api_op_DeleteAppInstanceBot.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteAppInstanceBotMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAppInstanceBotValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_DeleteAppInstanceUser.go b/service/chimesdkidentity/api_op_DeleteAppInstanceUser.go index c519fbb3b7a..83742efc21c 100644 --- a/service/chimesdkidentity/api_op_DeleteAppInstanceUser.go +++ b/service/chimesdkidentity/api_op_DeleteAppInstanceUser.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteAppInstanceUserMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAppInstanceUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_DeregisterAppInstanceUserEndpoint.go b/service/chimesdkidentity/api_op_DeregisterAppInstanceUserEndpoint.go index 1e4610b8093..7340272f5ef 100644 --- a/service/chimesdkidentity/api_op_DeregisterAppInstanceUserEndpoint.go +++ b/service/chimesdkidentity/api_op_DeregisterAppInstanceUserEndpoint.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeregisterAppInstanceUserEndpointMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterAppInstanceUserEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_DescribeAppInstance.go b/service/chimesdkidentity/api_op_DescribeAppInstance.go index b045782ce15..9945796b929 100644 --- a/service/chimesdkidentity/api_op_DescribeAppInstance.go +++ b/service/chimesdkidentity/api_op_DescribeAppInstance.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDescribeAppInstanceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAppInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_DescribeAppInstanceAdmin.go b/service/chimesdkidentity/api_op_DescribeAppInstanceAdmin.go index e8a0db6c019..08fe00f7af6 100644 --- a/service/chimesdkidentity/api_op_DescribeAppInstanceAdmin.go +++ b/service/chimesdkidentity/api_op_DescribeAppInstanceAdmin.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDescribeAppInstanceAdminMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAppInstanceAdminValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_DescribeAppInstanceBot.go b/service/chimesdkidentity/api_op_DescribeAppInstanceBot.go index 86abb5a40ad..7079bdbe37c 100644 --- a/service/chimesdkidentity/api_op_DescribeAppInstanceBot.go +++ b/service/chimesdkidentity/api_op_DescribeAppInstanceBot.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDescribeAppInstanceBotMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAppInstanceBotValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_DescribeAppInstanceUser.go b/service/chimesdkidentity/api_op_DescribeAppInstanceUser.go index ee9eec79e9e..f6408bdd882 100644 --- a/service/chimesdkidentity/api_op_DescribeAppInstanceUser.go +++ b/service/chimesdkidentity/api_op_DescribeAppInstanceUser.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDescribeAppInstanceUserMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAppInstanceUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_DescribeAppInstanceUserEndpoint.go b/service/chimesdkidentity/api_op_DescribeAppInstanceUserEndpoint.go index 951f3691624..5a6d97b6cbe 100644 --- a/service/chimesdkidentity/api_op_DescribeAppInstanceUserEndpoint.go +++ b/service/chimesdkidentity/api_op_DescribeAppInstanceUserEndpoint.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeAppInstanceUserEndpointMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAppInstanceUserEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_GetAppInstanceRetentionSettings.go b/service/chimesdkidentity/api_op_GetAppInstanceRetentionSettings.go index ba6293910b6..c75ff39ccb1 100644 --- a/service/chimesdkidentity/api_op_GetAppInstanceRetentionSettings.go +++ b/service/chimesdkidentity/api_op_GetAppInstanceRetentionSettings.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetAppInstanceRetentionSettingsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAppInstanceRetentionSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_ListAppInstanceAdmins.go b/service/chimesdkidentity/api_op_ListAppInstanceAdmins.go index 8a9b844465b..2e55ccac7bd 100644 --- a/service/chimesdkidentity/api_op_ListAppInstanceAdmins.go +++ b/service/chimesdkidentity/api_op_ListAppInstanceAdmins.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListAppInstanceAdminsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAppInstanceAdminsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_ListAppInstanceBots.go b/service/chimesdkidentity/api_op_ListAppInstanceBots.go index 6092de83b99..f048d9e8360 100644 --- a/service/chimesdkidentity/api_op_ListAppInstanceBots.go +++ b/service/chimesdkidentity/api_op_ListAppInstanceBots.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListAppInstanceBotsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAppInstanceBotsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_ListAppInstanceUserEndpoints.go b/service/chimesdkidentity/api_op_ListAppInstanceUserEndpoints.go index f8ad343c3bd..99acda6995d 100644 --- a/service/chimesdkidentity/api_op_ListAppInstanceUserEndpoints.go +++ b/service/chimesdkidentity/api_op_ListAppInstanceUserEndpoints.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListAppInstanceUserEndpointsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAppInstanceUserEndpointsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_ListAppInstanceUsers.go b/service/chimesdkidentity/api_op_ListAppInstanceUsers.go index 0d3cc6af1c1..65906941e69 100644 --- a/service/chimesdkidentity/api_op_ListAppInstanceUsers.go +++ b/service/chimesdkidentity/api_op_ListAppInstanceUsers.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListAppInstanceUsersMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAppInstanceUsersValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_ListAppInstances.go b/service/chimesdkidentity/api_op_ListAppInstances.go index 51895d009c8..26b57949624 100644 --- a/service/chimesdkidentity/api_op_ListAppInstances.go +++ b/service/chimesdkidentity/api_op_ListAppInstances.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListAppInstancesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAppInstances(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_ListTagsForResource.go b/service/chimesdkidentity/api_op_ListTagsForResource.go index 3b56bc4f38b..ed182f1c03d 100644 --- a/service/chimesdkidentity/api_op_ListTagsForResource.go +++ b/service/chimesdkidentity/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_PutAppInstanceRetentionSettings.go b/service/chimesdkidentity/api_op_PutAppInstanceRetentionSettings.go index d2e52e168b3..1d8c9e1d902 100644 --- a/service/chimesdkidentity/api_op_PutAppInstanceRetentionSettings.go +++ b/service/chimesdkidentity/api_op_PutAppInstanceRetentionSettings.go @@ -121,9 +121,6 @@ func (c *Client) addOperationPutAppInstanceRetentionSettingsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutAppInstanceRetentionSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_PutAppInstanceUserExpirationSettings.go b/service/chimesdkidentity/api_op_PutAppInstanceUserExpirationSettings.go index 4719fb2e1a0..494d583dd5c 100644 --- a/service/chimesdkidentity/api_op_PutAppInstanceUserExpirationSettings.go +++ b/service/chimesdkidentity/api_op_PutAppInstanceUserExpirationSettings.go @@ -126,9 +126,6 @@ func (c *Client) addOperationPutAppInstanceUserExpirationSettingsMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutAppInstanceUserExpirationSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_RegisterAppInstanceUserEndpoint.go b/service/chimesdkidentity/api_op_RegisterAppInstanceUserEndpoint.go index 0895955b46d..d25a6adde6a 100644 --- a/service/chimesdkidentity/api_op_RegisterAppInstanceUserEndpoint.go +++ b/service/chimesdkidentity/api_op_RegisterAppInstanceUserEndpoint.go @@ -155,9 +155,6 @@ func (c *Client) addOperationRegisterAppInstanceUserEndpointMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opRegisterAppInstanceUserEndpointMiddleware(stack, options); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_TagResource.go b/service/chimesdkidentity/api_op_TagResource.go index 82720c6ba7a..a772f85f529 100644 --- a/service/chimesdkidentity/api_op_TagResource.go +++ b/service/chimesdkidentity/api_op_TagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_UntagResource.go b/service/chimesdkidentity/api_op_UntagResource.go index a40ee53d590..4aeb11af037 100644 --- a/service/chimesdkidentity/api_op_UntagResource.go +++ b/service/chimesdkidentity/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_UpdateAppInstance.go b/service/chimesdkidentity/api_op_UpdateAppInstance.go index 961cc8f97da..496ef6de1ff 100644 --- a/service/chimesdkidentity/api_op_UpdateAppInstance.go +++ b/service/chimesdkidentity/api_op_UpdateAppInstance.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateAppInstanceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAppInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_UpdateAppInstanceBot.go b/service/chimesdkidentity/api_op_UpdateAppInstanceBot.go index 48f05649ccc..0ca3114797b 100644 --- a/service/chimesdkidentity/api_op_UpdateAppInstanceBot.go +++ b/service/chimesdkidentity/api_op_UpdateAppInstanceBot.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateAppInstanceBotMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAppInstanceBotValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_UpdateAppInstanceUser.go b/service/chimesdkidentity/api_op_UpdateAppInstanceUser.go index d0852be28bd..976edcb682b 100644 --- a/service/chimesdkidentity/api_op_UpdateAppInstanceUser.go +++ b/service/chimesdkidentity/api_op_UpdateAppInstanceUser.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateAppInstanceUserMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAppInstanceUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/api_op_UpdateAppInstanceUserEndpoint.go b/service/chimesdkidentity/api_op_UpdateAppInstanceUserEndpoint.go index 576ec521339..cf918f45e00 100644 --- a/service/chimesdkidentity/api_op_UpdateAppInstanceUserEndpoint.go +++ b/service/chimesdkidentity/api_op_UpdateAppInstanceUserEndpoint.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUpdateAppInstanceUserEndpointMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAppInstanceUserEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkidentity/snapshot/api_op_CreateAppInstance.go.snap b/service/chimesdkidentity/snapshot/api_op_CreateAppInstance.go.snap index aa0cd5acae5..748105fa5f4 100644 --- a/service/chimesdkidentity/snapshot/api_op_CreateAppInstance.go.snap +++ b/service/chimesdkidentity/snapshot/api_op_CreateAppInstance.go.snap @@ -15,7 +15,6 @@ CreateAppInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkidentity/snapshot/api_op_CreateAppInstanceAdmin.go.snap b/service/chimesdkidentity/snapshot/api_op_CreateAppInstanceAdmin.go.snap index 3f954232770..a6c609c0f47 100644 --- a/service/chimesdkidentity/snapshot/api_op_CreateAppInstanceAdmin.go.snap +++ b/service/chimesdkidentity/snapshot/api_op_CreateAppInstanceAdmin.go.snap @@ -14,7 +14,6 @@ CreateAppInstanceAdmin Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkidentity/snapshot/api_op_CreateAppInstanceBot.go.snap b/service/chimesdkidentity/snapshot/api_op_CreateAppInstanceBot.go.snap index c2144196f6b..f4eb3148838 100644 --- a/service/chimesdkidentity/snapshot/api_op_CreateAppInstanceBot.go.snap +++ b/service/chimesdkidentity/snapshot/api_op_CreateAppInstanceBot.go.snap @@ -15,7 +15,6 @@ CreateAppInstanceBot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkidentity/snapshot/api_op_CreateAppInstanceUser.go.snap b/service/chimesdkidentity/snapshot/api_op_CreateAppInstanceUser.go.snap index fdaf27b7daa..60663fa14d9 100644 --- a/service/chimesdkidentity/snapshot/api_op_CreateAppInstanceUser.go.snap +++ b/service/chimesdkidentity/snapshot/api_op_CreateAppInstanceUser.go.snap @@ -15,7 +15,6 @@ CreateAppInstanceUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkidentity/snapshot/api_op_DeleteAppInstance.go.snap b/service/chimesdkidentity/snapshot/api_op_DeleteAppInstance.go.snap index 18ffec9e3bf..1dfc55a5252 100644 --- a/service/chimesdkidentity/snapshot/api_op_DeleteAppInstance.go.snap +++ b/service/chimesdkidentity/snapshot/api_op_DeleteAppInstance.go.snap @@ -14,7 +14,6 @@ DeleteAppInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkidentity/snapshot/api_op_DeleteAppInstanceAdmin.go.snap b/service/chimesdkidentity/snapshot/api_op_DeleteAppInstanceAdmin.go.snap index 646a658fc74..e72e71a38f9 100644 --- a/service/chimesdkidentity/snapshot/api_op_DeleteAppInstanceAdmin.go.snap +++ b/service/chimesdkidentity/snapshot/api_op_DeleteAppInstanceAdmin.go.snap @@ -14,7 +14,6 @@ DeleteAppInstanceAdmin Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkidentity/snapshot/api_op_DeleteAppInstanceBot.go.snap b/service/chimesdkidentity/snapshot/api_op_DeleteAppInstanceBot.go.snap index fced6af05b0..c8653c042e0 100644 --- a/service/chimesdkidentity/snapshot/api_op_DeleteAppInstanceBot.go.snap +++ b/service/chimesdkidentity/snapshot/api_op_DeleteAppInstanceBot.go.snap @@ -14,7 +14,6 @@ DeleteAppInstanceBot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkidentity/snapshot/api_op_DeleteAppInstanceUser.go.snap b/service/chimesdkidentity/snapshot/api_op_DeleteAppInstanceUser.go.snap index 3a0f3c853f3..ebc8a555a69 100644 --- a/service/chimesdkidentity/snapshot/api_op_DeleteAppInstanceUser.go.snap +++ b/service/chimesdkidentity/snapshot/api_op_DeleteAppInstanceUser.go.snap @@ -14,7 +14,6 @@ DeleteAppInstanceUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkidentity/snapshot/api_op_DeregisterAppInstanceUserEndpoint.go.snap b/service/chimesdkidentity/snapshot/api_op_DeregisterAppInstanceUserEndpoint.go.snap index 70beec88ce9..913a1938fa2 100644 --- a/service/chimesdkidentity/snapshot/api_op_DeregisterAppInstanceUserEndpoint.go.snap +++ b/service/chimesdkidentity/snapshot/api_op_DeregisterAppInstanceUserEndpoint.go.snap @@ -14,7 +14,6 @@ DeregisterAppInstanceUserEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkidentity/snapshot/api_op_DescribeAppInstance.go.snap b/service/chimesdkidentity/snapshot/api_op_DescribeAppInstance.go.snap index c94e7cc8192..0cd2adc913c 100644 --- a/service/chimesdkidentity/snapshot/api_op_DescribeAppInstance.go.snap +++ b/service/chimesdkidentity/snapshot/api_op_DescribeAppInstance.go.snap @@ -14,7 +14,6 @@ DescribeAppInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkidentity/snapshot/api_op_DescribeAppInstanceAdmin.go.snap b/service/chimesdkidentity/snapshot/api_op_DescribeAppInstanceAdmin.go.snap index 0f388def789..05d6a441238 100644 --- a/service/chimesdkidentity/snapshot/api_op_DescribeAppInstanceAdmin.go.snap +++ b/service/chimesdkidentity/snapshot/api_op_DescribeAppInstanceAdmin.go.snap @@ -14,7 +14,6 @@ DescribeAppInstanceAdmin Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkidentity/snapshot/api_op_DescribeAppInstanceBot.go.snap b/service/chimesdkidentity/snapshot/api_op_DescribeAppInstanceBot.go.snap index 5c173a080a7..a2cf741ef7e 100644 --- a/service/chimesdkidentity/snapshot/api_op_DescribeAppInstanceBot.go.snap +++ b/service/chimesdkidentity/snapshot/api_op_DescribeAppInstanceBot.go.snap @@ -14,7 +14,6 @@ DescribeAppInstanceBot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkidentity/snapshot/api_op_DescribeAppInstanceUser.go.snap b/service/chimesdkidentity/snapshot/api_op_DescribeAppInstanceUser.go.snap index 30220d8b808..108104b199e 100644 --- a/service/chimesdkidentity/snapshot/api_op_DescribeAppInstanceUser.go.snap +++ b/service/chimesdkidentity/snapshot/api_op_DescribeAppInstanceUser.go.snap @@ -14,7 +14,6 @@ DescribeAppInstanceUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkidentity/snapshot/api_op_DescribeAppInstanceUserEndpoint.go.snap b/service/chimesdkidentity/snapshot/api_op_DescribeAppInstanceUserEndpoint.go.snap index ace040497d6..48223de9338 100644 --- a/service/chimesdkidentity/snapshot/api_op_DescribeAppInstanceUserEndpoint.go.snap +++ b/service/chimesdkidentity/snapshot/api_op_DescribeAppInstanceUserEndpoint.go.snap @@ -14,7 +14,6 @@ DescribeAppInstanceUserEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkidentity/snapshot/api_op_GetAppInstanceRetentionSettings.go.snap b/service/chimesdkidentity/snapshot/api_op_GetAppInstanceRetentionSettings.go.snap index 74c220dd800..54d54cbb39d 100644 --- a/service/chimesdkidentity/snapshot/api_op_GetAppInstanceRetentionSettings.go.snap +++ b/service/chimesdkidentity/snapshot/api_op_GetAppInstanceRetentionSettings.go.snap @@ -14,7 +14,6 @@ GetAppInstanceRetentionSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkidentity/snapshot/api_op_ListAppInstanceAdmins.go.snap b/service/chimesdkidentity/snapshot/api_op_ListAppInstanceAdmins.go.snap index dd331436909..95190e21d5a 100644 --- a/service/chimesdkidentity/snapshot/api_op_ListAppInstanceAdmins.go.snap +++ b/service/chimesdkidentity/snapshot/api_op_ListAppInstanceAdmins.go.snap @@ -14,7 +14,6 @@ ListAppInstanceAdmins Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkidentity/snapshot/api_op_ListAppInstanceBots.go.snap b/service/chimesdkidentity/snapshot/api_op_ListAppInstanceBots.go.snap index e1bedc17406..143da9a2b90 100644 --- a/service/chimesdkidentity/snapshot/api_op_ListAppInstanceBots.go.snap +++ b/service/chimesdkidentity/snapshot/api_op_ListAppInstanceBots.go.snap @@ -14,7 +14,6 @@ ListAppInstanceBots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkidentity/snapshot/api_op_ListAppInstanceUserEndpoints.go.snap b/service/chimesdkidentity/snapshot/api_op_ListAppInstanceUserEndpoints.go.snap index d95d1935086..2de0551f02d 100644 --- a/service/chimesdkidentity/snapshot/api_op_ListAppInstanceUserEndpoints.go.snap +++ b/service/chimesdkidentity/snapshot/api_op_ListAppInstanceUserEndpoints.go.snap @@ -14,7 +14,6 @@ ListAppInstanceUserEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkidentity/snapshot/api_op_ListAppInstanceUsers.go.snap b/service/chimesdkidentity/snapshot/api_op_ListAppInstanceUsers.go.snap index 43630182fcd..fd3676c59b2 100644 --- a/service/chimesdkidentity/snapshot/api_op_ListAppInstanceUsers.go.snap +++ b/service/chimesdkidentity/snapshot/api_op_ListAppInstanceUsers.go.snap @@ -14,7 +14,6 @@ ListAppInstanceUsers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkidentity/snapshot/api_op_ListAppInstances.go.snap b/service/chimesdkidentity/snapshot/api_op_ListAppInstances.go.snap index edb8c12cce3..1f511e65f8e 100644 --- a/service/chimesdkidentity/snapshot/api_op_ListAppInstances.go.snap +++ b/service/chimesdkidentity/snapshot/api_op_ListAppInstances.go.snap @@ -13,7 +13,6 @@ ListAppInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkidentity/snapshot/api_op_ListTagsForResource.go.snap b/service/chimesdkidentity/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/chimesdkidentity/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/chimesdkidentity/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkidentity/snapshot/api_op_PutAppInstanceRetentionSettings.go.snap b/service/chimesdkidentity/snapshot/api_op_PutAppInstanceRetentionSettings.go.snap index 240bdaaaa7d..f04bf1bfb86 100644 --- a/service/chimesdkidentity/snapshot/api_op_PutAppInstanceRetentionSettings.go.snap +++ b/service/chimesdkidentity/snapshot/api_op_PutAppInstanceRetentionSettings.go.snap @@ -14,7 +14,6 @@ PutAppInstanceRetentionSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkidentity/snapshot/api_op_PutAppInstanceUserExpirationSettings.go.snap b/service/chimesdkidentity/snapshot/api_op_PutAppInstanceUserExpirationSettings.go.snap index 06017b5fa65..7d4b8dbbc26 100644 --- a/service/chimesdkidentity/snapshot/api_op_PutAppInstanceUserExpirationSettings.go.snap +++ b/service/chimesdkidentity/snapshot/api_op_PutAppInstanceUserExpirationSettings.go.snap @@ -14,7 +14,6 @@ PutAppInstanceUserExpirationSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkidentity/snapshot/api_op_RegisterAppInstanceUserEndpoint.go.snap b/service/chimesdkidentity/snapshot/api_op_RegisterAppInstanceUserEndpoint.go.snap index 14e85fb1c58..a48b76d272f 100644 --- a/service/chimesdkidentity/snapshot/api_op_RegisterAppInstanceUserEndpoint.go.snap +++ b/service/chimesdkidentity/snapshot/api_op_RegisterAppInstanceUserEndpoint.go.snap @@ -15,7 +15,6 @@ RegisterAppInstanceUserEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkidentity/snapshot/api_op_TagResource.go.snap b/service/chimesdkidentity/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/chimesdkidentity/snapshot/api_op_TagResource.go.snap +++ b/service/chimesdkidentity/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkidentity/snapshot/api_op_UntagResource.go.snap b/service/chimesdkidentity/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/chimesdkidentity/snapshot/api_op_UntagResource.go.snap +++ b/service/chimesdkidentity/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkidentity/snapshot/api_op_UpdateAppInstance.go.snap b/service/chimesdkidentity/snapshot/api_op_UpdateAppInstance.go.snap index daf0c688169..6a05e980eef 100644 --- a/service/chimesdkidentity/snapshot/api_op_UpdateAppInstance.go.snap +++ b/service/chimesdkidentity/snapshot/api_op_UpdateAppInstance.go.snap @@ -14,7 +14,6 @@ UpdateAppInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkidentity/snapshot/api_op_UpdateAppInstanceBot.go.snap b/service/chimesdkidentity/snapshot/api_op_UpdateAppInstanceBot.go.snap index 588adaee6b5..19ec375bafb 100644 --- a/service/chimesdkidentity/snapshot/api_op_UpdateAppInstanceBot.go.snap +++ b/service/chimesdkidentity/snapshot/api_op_UpdateAppInstanceBot.go.snap @@ -14,7 +14,6 @@ UpdateAppInstanceBot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkidentity/snapshot/api_op_UpdateAppInstanceUser.go.snap b/service/chimesdkidentity/snapshot/api_op_UpdateAppInstanceUser.go.snap index 34ade003f0d..d0bb3ada1fa 100644 --- a/service/chimesdkidentity/snapshot/api_op_UpdateAppInstanceUser.go.snap +++ b/service/chimesdkidentity/snapshot/api_op_UpdateAppInstanceUser.go.snap @@ -14,7 +14,6 @@ UpdateAppInstanceUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkidentity/snapshot/api_op_UpdateAppInstanceUserEndpoint.go.snap b/service/chimesdkidentity/snapshot/api_op_UpdateAppInstanceUserEndpoint.go.snap index 62658a330af..67abf28776f 100644 --- a/service/chimesdkidentity/snapshot/api_op_UpdateAppInstanceUserEndpoint.go.snap +++ b/service/chimesdkidentity/snapshot/api_op_UpdateAppInstanceUserEndpoint.go.snap @@ -14,7 +14,6 @@ UpdateAppInstanceUserEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmediapipelines/api_client.go b/service/chimesdkmediapipelines/api_client.go index cab50e09d9f..4b473c10a8e 100644 --- a/service/chimesdkmediapipelines/api_client.go +++ b/service/chimesdkmediapipelines/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/chimesdkmediapipelines/api_op_CreateMediaCapturePipeline.go b/service/chimesdkmediapipelines/api_op_CreateMediaCapturePipeline.go index bf1c65fbecd..ad9128ce354 100644 --- a/service/chimesdkmediapipelines/api_op_CreateMediaCapturePipeline.go +++ b/service/chimesdkmediapipelines/api_op_CreateMediaCapturePipeline.go @@ -158,9 +158,6 @@ func (c *Client) addOperationCreateMediaCapturePipelineMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateMediaCapturePipelineMiddleware(stack, options); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_CreateMediaConcatenationPipeline.go b/service/chimesdkmediapipelines/api_op_CreateMediaConcatenationPipeline.go index 20d18f15b4e..462730c8f64 100644 --- a/service/chimesdkmediapipelines/api_op_CreateMediaConcatenationPipeline.go +++ b/service/chimesdkmediapipelines/api_op_CreateMediaConcatenationPipeline.go @@ -125,9 +125,6 @@ func (c *Client) addOperationCreateMediaConcatenationPipelineMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateMediaConcatenationPipelineMiddleware(stack, options); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_CreateMediaInsightsPipeline.go b/service/chimesdkmediapipelines/api_op_CreateMediaInsightsPipeline.go index 72973a0b9a4..06b6f02d3a3 100644 --- a/service/chimesdkmediapipelines/api_op_CreateMediaInsightsPipeline.go +++ b/service/chimesdkmediapipelines/api_op_CreateMediaInsightsPipeline.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateMediaInsightsPipelineMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateMediaInsightsPipelineMiddleware(stack, options); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_CreateMediaInsightsPipelineConfiguration.go b/service/chimesdkmediapipelines/api_op_CreateMediaInsightsPipelineConfiguration.go index d0d90d7ec17..92c7edc9097 100644 --- a/service/chimesdkmediapipelines/api_op_CreateMediaInsightsPipelineConfiguration.go +++ b/service/chimesdkmediapipelines/api_op_CreateMediaInsightsPipelineConfiguration.go @@ -136,9 +136,6 @@ func (c *Client) addOperationCreateMediaInsightsPipelineConfigurationMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateMediaInsightsPipelineConfigurationMiddleware(stack, options); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_CreateMediaLiveConnectorPipeline.go b/service/chimesdkmediapipelines/api_op_CreateMediaLiveConnectorPipeline.go index d71c94d585b..e8e999d99ac 100644 --- a/service/chimesdkmediapipelines/api_op_CreateMediaLiveConnectorPipeline.go +++ b/service/chimesdkmediapipelines/api_op_CreateMediaLiveConnectorPipeline.go @@ -123,9 +123,6 @@ func (c *Client) addOperationCreateMediaLiveConnectorPipelineMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateMediaLiveConnectorPipelineMiddleware(stack, options); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_CreateMediaPipelineKinesisVideoStreamPool.go b/service/chimesdkmediapipelines/api_op_CreateMediaPipelineKinesisVideoStreamPool.go index 7e088249618..4c3333ca79a 100644 --- a/service/chimesdkmediapipelines/api_op_CreateMediaPipelineKinesisVideoStreamPool.go +++ b/service/chimesdkmediapipelines/api_op_CreateMediaPipelineKinesisVideoStreamPool.go @@ -142,9 +142,6 @@ func (c *Client) addOperationCreateMediaPipelineKinesisVideoStreamPoolMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateMediaPipelineKinesisVideoStreamPoolMiddleware(stack, options); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_CreateMediaStreamPipeline.go b/service/chimesdkmediapipelines/api_op_CreateMediaStreamPipeline.go index d58574a2d19..1f58bc6cf90 100644 --- a/service/chimesdkmediapipelines/api_op_CreateMediaStreamPipeline.go +++ b/service/chimesdkmediapipelines/api_op_CreateMediaStreamPipeline.go @@ -123,9 +123,6 @@ func (c *Client) addOperationCreateMediaStreamPipelineMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateMediaStreamPipelineMiddleware(stack, options); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_DeleteMediaCapturePipeline.go b/service/chimesdkmediapipelines/api_op_DeleteMediaCapturePipeline.go index d6726565816..49390d8cbb2 100644 --- a/service/chimesdkmediapipelines/api_op_DeleteMediaCapturePipeline.go +++ b/service/chimesdkmediapipelines/api_op_DeleteMediaCapturePipeline.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteMediaCapturePipelineMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMediaCapturePipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_DeleteMediaInsightsPipelineConfiguration.go b/service/chimesdkmediapipelines/api_op_DeleteMediaInsightsPipelineConfiguration.go index 9753b4a8d2c..cce1da3d891 100644 --- a/service/chimesdkmediapipelines/api_op_DeleteMediaInsightsPipelineConfiguration.go +++ b/service/chimesdkmediapipelines/api_op_DeleteMediaInsightsPipelineConfiguration.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteMediaInsightsPipelineConfigurationMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMediaInsightsPipelineConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_DeleteMediaPipeline.go b/service/chimesdkmediapipelines/api_op_DeleteMediaPipeline.go index 7480494d2f4..b55efc36cf8 100644 --- a/service/chimesdkmediapipelines/api_op_DeleteMediaPipeline.go +++ b/service/chimesdkmediapipelines/api_op_DeleteMediaPipeline.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteMediaPipelineMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMediaPipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_DeleteMediaPipelineKinesisVideoStreamPool.go b/service/chimesdkmediapipelines/api_op_DeleteMediaPipelineKinesisVideoStreamPool.go index eea9679ac7a..97add320807 100644 --- a/service/chimesdkmediapipelines/api_op_DeleteMediaPipelineKinesisVideoStreamPool.go +++ b/service/chimesdkmediapipelines/api_op_DeleteMediaPipelineKinesisVideoStreamPool.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteMediaPipelineKinesisVideoStreamPoolMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMediaPipelineKinesisVideoStreamPoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_GetMediaCapturePipeline.go b/service/chimesdkmediapipelines/api_op_GetMediaCapturePipeline.go index 6e7f0237418..7661714f54b 100644 --- a/service/chimesdkmediapipelines/api_op_GetMediaCapturePipeline.go +++ b/service/chimesdkmediapipelines/api_op_GetMediaCapturePipeline.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetMediaCapturePipelineMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMediaCapturePipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_GetMediaInsightsPipelineConfiguration.go b/service/chimesdkmediapipelines/api_op_GetMediaInsightsPipelineConfiguration.go index 49cd0c1582f..0b272c16b7c 100644 --- a/service/chimesdkmediapipelines/api_op_GetMediaInsightsPipelineConfiguration.go +++ b/service/chimesdkmediapipelines/api_op_GetMediaInsightsPipelineConfiguration.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetMediaInsightsPipelineConfigurationMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMediaInsightsPipelineConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_GetMediaPipeline.go b/service/chimesdkmediapipelines/api_op_GetMediaPipeline.go index 0f4ec6c5f6d..65cd4c0406f 100644 --- a/service/chimesdkmediapipelines/api_op_GetMediaPipeline.go +++ b/service/chimesdkmediapipelines/api_op_GetMediaPipeline.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetMediaPipelineMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMediaPipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_GetMediaPipelineKinesisVideoStreamPool.go b/service/chimesdkmediapipelines/api_op_GetMediaPipelineKinesisVideoStreamPool.go index 841ae9021b7..cc326a59912 100644 --- a/service/chimesdkmediapipelines/api_op_GetMediaPipelineKinesisVideoStreamPool.go +++ b/service/chimesdkmediapipelines/api_op_GetMediaPipelineKinesisVideoStreamPool.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetMediaPipelineKinesisVideoStreamPoolMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMediaPipelineKinesisVideoStreamPoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_GetSpeakerSearchTask.go b/service/chimesdkmediapipelines/api_op_GetSpeakerSearchTask.go index 031406be91b..919dd94d879 100644 --- a/service/chimesdkmediapipelines/api_op_GetSpeakerSearchTask.go +++ b/service/chimesdkmediapipelines/api_op_GetSpeakerSearchTask.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetSpeakerSearchTaskMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSpeakerSearchTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_GetVoiceToneAnalysisTask.go b/service/chimesdkmediapipelines/api_op_GetVoiceToneAnalysisTask.go index dd927d23101..03fbd259fe2 100644 --- a/service/chimesdkmediapipelines/api_op_GetVoiceToneAnalysisTask.go +++ b/service/chimesdkmediapipelines/api_op_GetVoiceToneAnalysisTask.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetVoiceToneAnalysisTaskMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVoiceToneAnalysisTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_ListMediaCapturePipelines.go b/service/chimesdkmediapipelines/api_op_ListMediaCapturePipelines.go index 393c1215a5a..9687bb48232 100644 --- a/service/chimesdkmediapipelines/api_op_ListMediaCapturePipelines.go +++ b/service/chimesdkmediapipelines/api_op_ListMediaCapturePipelines.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListMediaCapturePipelinesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMediaCapturePipelines(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_ListMediaInsightsPipelineConfigurations.go b/service/chimesdkmediapipelines/api_op_ListMediaInsightsPipelineConfigurations.go index 4785cb91aaa..cc944907070 100644 --- a/service/chimesdkmediapipelines/api_op_ListMediaInsightsPipelineConfigurations.go +++ b/service/chimesdkmediapipelines/api_op_ListMediaInsightsPipelineConfigurations.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListMediaInsightsPipelineConfigurationsMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMediaInsightsPipelineConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_ListMediaPipelineKinesisVideoStreamPools.go b/service/chimesdkmediapipelines/api_op_ListMediaPipelineKinesisVideoStreamPools.go index 7eb93586cfc..0fabf42233d 100644 --- a/service/chimesdkmediapipelines/api_op_ListMediaPipelineKinesisVideoStreamPools.go +++ b/service/chimesdkmediapipelines/api_op_ListMediaPipelineKinesisVideoStreamPools.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListMediaPipelineKinesisVideoStreamPoolsMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMediaPipelineKinesisVideoStreamPools(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_ListMediaPipelines.go b/service/chimesdkmediapipelines/api_op_ListMediaPipelines.go index 8835a5a01cf..cb92c81aa1b 100644 --- a/service/chimesdkmediapipelines/api_op_ListMediaPipelines.go +++ b/service/chimesdkmediapipelines/api_op_ListMediaPipelines.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListMediaPipelinesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMediaPipelines(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_ListTagsForResource.go b/service/chimesdkmediapipelines/api_op_ListTagsForResource.go index a73e5e291c1..ebc0c2cd485 100644 --- a/service/chimesdkmediapipelines/api_op_ListTagsForResource.go +++ b/service/chimesdkmediapipelines/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_StartSpeakerSearchTask.go b/service/chimesdkmediapipelines/api_op_StartSpeakerSearchTask.go index 6b6377f168f..a45f9219305 100644 --- a/service/chimesdkmediapipelines/api_op_StartSpeakerSearchTask.go +++ b/service/chimesdkmediapipelines/api_op_StartSpeakerSearchTask.go @@ -132,9 +132,6 @@ func (c *Client) addOperationStartSpeakerSearchTaskMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartSpeakerSearchTaskMiddleware(stack, options); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_StartVoiceToneAnalysisTask.go b/service/chimesdkmediapipelines/api_op_StartVoiceToneAnalysisTask.go index 08e64dcd551..e7758291312 100644 --- a/service/chimesdkmediapipelines/api_op_StartVoiceToneAnalysisTask.go +++ b/service/chimesdkmediapipelines/api_op_StartVoiceToneAnalysisTask.go @@ -134,9 +134,6 @@ func (c *Client) addOperationStartVoiceToneAnalysisTaskMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartVoiceToneAnalysisTaskMiddleware(stack, options); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_StopSpeakerSearchTask.go b/service/chimesdkmediapipelines/api_op_StopSpeakerSearchTask.go index ae4fdf75d0a..6b17fc9b8ce 100644 --- a/service/chimesdkmediapipelines/api_op_StopSpeakerSearchTask.go +++ b/service/chimesdkmediapipelines/api_op_StopSpeakerSearchTask.go @@ -113,9 +113,6 @@ func (c *Client) addOperationStopSpeakerSearchTaskMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopSpeakerSearchTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_StopVoiceToneAnalysisTask.go b/service/chimesdkmediapipelines/api_op_StopVoiceToneAnalysisTask.go index 0cc43e05483..85cefc34672 100644 --- a/service/chimesdkmediapipelines/api_op_StopVoiceToneAnalysisTask.go +++ b/service/chimesdkmediapipelines/api_op_StopVoiceToneAnalysisTask.go @@ -113,9 +113,6 @@ func (c *Client) addOperationStopVoiceToneAnalysisTaskMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopVoiceToneAnalysisTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_TagResource.go b/service/chimesdkmediapipelines/api_op_TagResource.go index 4d455e1f9ce..b53abe8c833 100644 --- a/service/chimesdkmediapipelines/api_op_TagResource.go +++ b/service/chimesdkmediapipelines/api_op_TagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_UntagResource.go b/service/chimesdkmediapipelines/api_op_UntagResource.go index 3118e22ff32..c059fc6d62a 100644 --- a/service/chimesdkmediapipelines/api_op_UntagResource.go +++ b/service/chimesdkmediapipelines/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_UpdateMediaInsightsPipelineConfiguration.go b/service/chimesdkmediapipelines/api_op_UpdateMediaInsightsPipelineConfiguration.go index 2245232a263..64b95966320 100644 --- a/service/chimesdkmediapipelines/api_op_UpdateMediaInsightsPipelineConfiguration.go +++ b/service/chimesdkmediapipelines/api_op_UpdateMediaInsightsPipelineConfiguration.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateMediaInsightsPipelineConfigurationMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMediaInsightsPipelineConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_UpdateMediaInsightsPipelineStatus.go b/service/chimesdkmediapipelines/api_op_UpdateMediaInsightsPipelineStatus.go index 237e7b49e6b..55e796a52fb 100644 --- a/service/chimesdkmediapipelines/api_op_UpdateMediaInsightsPipelineStatus.go +++ b/service/chimesdkmediapipelines/api_op_UpdateMediaInsightsPipelineStatus.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUpdateMediaInsightsPipelineStatusMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMediaInsightsPipelineStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/api_op_UpdateMediaPipelineKinesisVideoStreamPool.go b/service/chimesdkmediapipelines/api_op_UpdateMediaPipelineKinesisVideoStreamPool.go index d8c0ddf9f21..ecdb63d1552 100644 --- a/service/chimesdkmediapipelines/api_op_UpdateMediaPipelineKinesisVideoStreamPool.go +++ b/service/chimesdkmediapipelines/api_op_UpdateMediaPipelineKinesisVideoStreamPool.go @@ -116,9 +116,6 @@ func (c *Client) addOperationUpdateMediaPipelineKinesisVideoStreamPoolMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMediaPipelineKinesisVideoStreamPoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmediapipelines/snapshot/api_op_CreateMediaCapturePipeline.go.snap b/service/chimesdkmediapipelines/snapshot/api_op_CreateMediaCapturePipeline.go.snap index b6b61282d1f..5e6297692e1 100644 --- a/service/chimesdkmediapipelines/snapshot/api_op_CreateMediaCapturePipeline.go.snap +++ b/service/chimesdkmediapipelines/snapshot/api_op_CreateMediaCapturePipeline.go.snap @@ -15,7 +15,6 @@ CreateMediaCapturePipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmediapipelines/snapshot/api_op_CreateMediaConcatenationPipeline.go.snap b/service/chimesdkmediapipelines/snapshot/api_op_CreateMediaConcatenationPipeline.go.snap index 310b737c2c1..8c89461df1d 100644 --- a/service/chimesdkmediapipelines/snapshot/api_op_CreateMediaConcatenationPipeline.go.snap +++ b/service/chimesdkmediapipelines/snapshot/api_op_CreateMediaConcatenationPipeline.go.snap @@ -15,7 +15,6 @@ CreateMediaConcatenationPipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmediapipelines/snapshot/api_op_CreateMediaInsightsPipeline.go.snap b/service/chimesdkmediapipelines/snapshot/api_op_CreateMediaInsightsPipeline.go.snap index 8208d32f63a..397df67644d 100644 --- a/service/chimesdkmediapipelines/snapshot/api_op_CreateMediaInsightsPipeline.go.snap +++ b/service/chimesdkmediapipelines/snapshot/api_op_CreateMediaInsightsPipeline.go.snap @@ -15,7 +15,6 @@ CreateMediaInsightsPipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmediapipelines/snapshot/api_op_CreateMediaInsightsPipelineConfiguration.go.snap b/service/chimesdkmediapipelines/snapshot/api_op_CreateMediaInsightsPipelineConfiguration.go.snap index 9e7d05969fb..cbd8980ed77 100644 --- a/service/chimesdkmediapipelines/snapshot/api_op_CreateMediaInsightsPipelineConfiguration.go.snap +++ b/service/chimesdkmediapipelines/snapshot/api_op_CreateMediaInsightsPipelineConfiguration.go.snap @@ -15,7 +15,6 @@ CreateMediaInsightsPipelineConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmediapipelines/snapshot/api_op_CreateMediaLiveConnectorPipeline.go.snap b/service/chimesdkmediapipelines/snapshot/api_op_CreateMediaLiveConnectorPipeline.go.snap index 9c20bf78be0..d60718444cf 100644 --- a/service/chimesdkmediapipelines/snapshot/api_op_CreateMediaLiveConnectorPipeline.go.snap +++ b/service/chimesdkmediapipelines/snapshot/api_op_CreateMediaLiveConnectorPipeline.go.snap @@ -15,7 +15,6 @@ CreateMediaLiveConnectorPipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmediapipelines/snapshot/api_op_CreateMediaPipelineKinesisVideoStreamPool.go.snap b/service/chimesdkmediapipelines/snapshot/api_op_CreateMediaPipelineKinesisVideoStreamPool.go.snap index 9cf276d6eaa..7c8cdfeeffb 100644 --- a/service/chimesdkmediapipelines/snapshot/api_op_CreateMediaPipelineKinesisVideoStreamPool.go.snap +++ b/service/chimesdkmediapipelines/snapshot/api_op_CreateMediaPipelineKinesisVideoStreamPool.go.snap @@ -15,7 +15,6 @@ CreateMediaPipelineKinesisVideoStreamPool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmediapipelines/snapshot/api_op_CreateMediaStreamPipeline.go.snap b/service/chimesdkmediapipelines/snapshot/api_op_CreateMediaStreamPipeline.go.snap index 5e0b76e128a..8fe94cd2171 100644 --- a/service/chimesdkmediapipelines/snapshot/api_op_CreateMediaStreamPipeline.go.snap +++ b/service/chimesdkmediapipelines/snapshot/api_op_CreateMediaStreamPipeline.go.snap @@ -15,7 +15,6 @@ CreateMediaStreamPipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmediapipelines/snapshot/api_op_DeleteMediaCapturePipeline.go.snap b/service/chimesdkmediapipelines/snapshot/api_op_DeleteMediaCapturePipeline.go.snap index c05f1ea51de..4c5474be21c 100644 --- a/service/chimesdkmediapipelines/snapshot/api_op_DeleteMediaCapturePipeline.go.snap +++ b/service/chimesdkmediapipelines/snapshot/api_op_DeleteMediaCapturePipeline.go.snap @@ -14,7 +14,6 @@ DeleteMediaCapturePipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmediapipelines/snapshot/api_op_DeleteMediaInsightsPipelineConfiguration.go.snap b/service/chimesdkmediapipelines/snapshot/api_op_DeleteMediaInsightsPipelineConfiguration.go.snap index 588242310dc..b7b9a072fe2 100644 --- a/service/chimesdkmediapipelines/snapshot/api_op_DeleteMediaInsightsPipelineConfiguration.go.snap +++ b/service/chimesdkmediapipelines/snapshot/api_op_DeleteMediaInsightsPipelineConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteMediaInsightsPipelineConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmediapipelines/snapshot/api_op_DeleteMediaPipeline.go.snap b/service/chimesdkmediapipelines/snapshot/api_op_DeleteMediaPipeline.go.snap index 6002d513fd3..e46cf584808 100644 --- a/service/chimesdkmediapipelines/snapshot/api_op_DeleteMediaPipeline.go.snap +++ b/service/chimesdkmediapipelines/snapshot/api_op_DeleteMediaPipeline.go.snap @@ -14,7 +14,6 @@ DeleteMediaPipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmediapipelines/snapshot/api_op_DeleteMediaPipelineKinesisVideoStreamPool.go.snap b/service/chimesdkmediapipelines/snapshot/api_op_DeleteMediaPipelineKinesisVideoStreamPool.go.snap index 79219629b81..9b7340ae146 100644 --- a/service/chimesdkmediapipelines/snapshot/api_op_DeleteMediaPipelineKinesisVideoStreamPool.go.snap +++ b/service/chimesdkmediapipelines/snapshot/api_op_DeleteMediaPipelineKinesisVideoStreamPool.go.snap @@ -14,7 +14,6 @@ DeleteMediaPipelineKinesisVideoStreamPool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmediapipelines/snapshot/api_op_GetMediaCapturePipeline.go.snap b/service/chimesdkmediapipelines/snapshot/api_op_GetMediaCapturePipeline.go.snap index b52bba44734..4f2de92433d 100644 --- a/service/chimesdkmediapipelines/snapshot/api_op_GetMediaCapturePipeline.go.snap +++ b/service/chimesdkmediapipelines/snapshot/api_op_GetMediaCapturePipeline.go.snap @@ -14,7 +14,6 @@ GetMediaCapturePipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmediapipelines/snapshot/api_op_GetMediaInsightsPipelineConfiguration.go.snap b/service/chimesdkmediapipelines/snapshot/api_op_GetMediaInsightsPipelineConfiguration.go.snap index f3bde9c9e3d..cfb5e25c275 100644 --- a/service/chimesdkmediapipelines/snapshot/api_op_GetMediaInsightsPipelineConfiguration.go.snap +++ b/service/chimesdkmediapipelines/snapshot/api_op_GetMediaInsightsPipelineConfiguration.go.snap @@ -14,7 +14,6 @@ GetMediaInsightsPipelineConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmediapipelines/snapshot/api_op_GetMediaPipeline.go.snap b/service/chimesdkmediapipelines/snapshot/api_op_GetMediaPipeline.go.snap index e18138a06ab..3fd00ee2837 100644 --- a/service/chimesdkmediapipelines/snapshot/api_op_GetMediaPipeline.go.snap +++ b/service/chimesdkmediapipelines/snapshot/api_op_GetMediaPipeline.go.snap @@ -14,7 +14,6 @@ GetMediaPipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmediapipelines/snapshot/api_op_GetMediaPipelineKinesisVideoStreamPool.go.snap b/service/chimesdkmediapipelines/snapshot/api_op_GetMediaPipelineKinesisVideoStreamPool.go.snap index 92df4a73d67..f35fe14a07c 100644 --- a/service/chimesdkmediapipelines/snapshot/api_op_GetMediaPipelineKinesisVideoStreamPool.go.snap +++ b/service/chimesdkmediapipelines/snapshot/api_op_GetMediaPipelineKinesisVideoStreamPool.go.snap @@ -14,7 +14,6 @@ GetMediaPipelineKinesisVideoStreamPool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmediapipelines/snapshot/api_op_GetSpeakerSearchTask.go.snap b/service/chimesdkmediapipelines/snapshot/api_op_GetSpeakerSearchTask.go.snap index 7a395330c89..739616f8b1b 100644 --- a/service/chimesdkmediapipelines/snapshot/api_op_GetSpeakerSearchTask.go.snap +++ b/service/chimesdkmediapipelines/snapshot/api_op_GetSpeakerSearchTask.go.snap @@ -14,7 +14,6 @@ GetSpeakerSearchTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmediapipelines/snapshot/api_op_GetVoiceToneAnalysisTask.go.snap b/service/chimesdkmediapipelines/snapshot/api_op_GetVoiceToneAnalysisTask.go.snap index da977468694..5cded7bc5d6 100644 --- a/service/chimesdkmediapipelines/snapshot/api_op_GetVoiceToneAnalysisTask.go.snap +++ b/service/chimesdkmediapipelines/snapshot/api_op_GetVoiceToneAnalysisTask.go.snap @@ -14,7 +14,6 @@ GetVoiceToneAnalysisTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmediapipelines/snapshot/api_op_ListMediaCapturePipelines.go.snap b/service/chimesdkmediapipelines/snapshot/api_op_ListMediaCapturePipelines.go.snap index a730b877f41..e9fdece75d9 100644 --- a/service/chimesdkmediapipelines/snapshot/api_op_ListMediaCapturePipelines.go.snap +++ b/service/chimesdkmediapipelines/snapshot/api_op_ListMediaCapturePipelines.go.snap @@ -13,7 +13,6 @@ ListMediaCapturePipelines Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmediapipelines/snapshot/api_op_ListMediaInsightsPipelineConfigurations.go.snap b/service/chimesdkmediapipelines/snapshot/api_op_ListMediaInsightsPipelineConfigurations.go.snap index e229d4a79b1..b86e0957d52 100644 --- a/service/chimesdkmediapipelines/snapshot/api_op_ListMediaInsightsPipelineConfigurations.go.snap +++ b/service/chimesdkmediapipelines/snapshot/api_op_ListMediaInsightsPipelineConfigurations.go.snap @@ -13,7 +13,6 @@ ListMediaInsightsPipelineConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmediapipelines/snapshot/api_op_ListMediaPipelineKinesisVideoStreamPools.go.snap b/service/chimesdkmediapipelines/snapshot/api_op_ListMediaPipelineKinesisVideoStreamPools.go.snap index d23a8ee5d4f..345c5ee2d79 100644 --- a/service/chimesdkmediapipelines/snapshot/api_op_ListMediaPipelineKinesisVideoStreamPools.go.snap +++ b/service/chimesdkmediapipelines/snapshot/api_op_ListMediaPipelineKinesisVideoStreamPools.go.snap @@ -13,7 +13,6 @@ ListMediaPipelineKinesisVideoStreamPools Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmediapipelines/snapshot/api_op_ListMediaPipelines.go.snap b/service/chimesdkmediapipelines/snapshot/api_op_ListMediaPipelines.go.snap index a4b90981d45..4abf28a22ab 100644 --- a/service/chimesdkmediapipelines/snapshot/api_op_ListMediaPipelines.go.snap +++ b/service/chimesdkmediapipelines/snapshot/api_op_ListMediaPipelines.go.snap @@ -13,7 +13,6 @@ ListMediaPipelines Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmediapipelines/snapshot/api_op_ListTagsForResource.go.snap b/service/chimesdkmediapipelines/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/chimesdkmediapipelines/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/chimesdkmediapipelines/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmediapipelines/snapshot/api_op_StartSpeakerSearchTask.go.snap b/service/chimesdkmediapipelines/snapshot/api_op_StartSpeakerSearchTask.go.snap index 33f5facbd86..cf1fdf1a2fc 100644 --- a/service/chimesdkmediapipelines/snapshot/api_op_StartSpeakerSearchTask.go.snap +++ b/service/chimesdkmediapipelines/snapshot/api_op_StartSpeakerSearchTask.go.snap @@ -15,7 +15,6 @@ StartSpeakerSearchTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmediapipelines/snapshot/api_op_StartVoiceToneAnalysisTask.go.snap b/service/chimesdkmediapipelines/snapshot/api_op_StartVoiceToneAnalysisTask.go.snap index 83b6d65c4e6..0165ab3903c 100644 --- a/service/chimesdkmediapipelines/snapshot/api_op_StartVoiceToneAnalysisTask.go.snap +++ b/service/chimesdkmediapipelines/snapshot/api_op_StartVoiceToneAnalysisTask.go.snap @@ -15,7 +15,6 @@ StartVoiceToneAnalysisTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmediapipelines/snapshot/api_op_StopSpeakerSearchTask.go.snap b/service/chimesdkmediapipelines/snapshot/api_op_StopSpeakerSearchTask.go.snap index 8cafdf7de21..0238f0076cd 100644 --- a/service/chimesdkmediapipelines/snapshot/api_op_StopSpeakerSearchTask.go.snap +++ b/service/chimesdkmediapipelines/snapshot/api_op_StopSpeakerSearchTask.go.snap @@ -14,7 +14,6 @@ StopSpeakerSearchTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmediapipelines/snapshot/api_op_StopVoiceToneAnalysisTask.go.snap b/service/chimesdkmediapipelines/snapshot/api_op_StopVoiceToneAnalysisTask.go.snap index 89a1e11940d..7490466e03f 100644 --- a/service/chimesdkmediapipelines/snapshot/api_op_StopVoiceToneAnalysisTask.go.snap +++ b/service/chimesdkmediapipelines/snapshot/api_op_StopVoiceToneAnalysisTask.go.snap @@ -14,7 +14,6 @@ StopVoiceToneAnalysisTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmediapipelines/snapshot/api_op_TagResource.go.snap b/service/chimesdkmediapipelines/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/chimesdkmediapipelines/snapshot/api_op_TagResource.go.snap +++ b/service/chimesdkmediapipelines/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmediapipelines/snapshot/api_op_UntagResource.go.snap b/service/chimesdkmediapipelines/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/chimesdkmediapipelines/snapshot/api_op_UntagResource.go.snap +++ b/service/chimesdkmediapipelines/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmediapipelines/snapshot/api_op_UpdateMediaInsightsPipelineConfiguration.go.snap b/service/chimesdkmediapipelines/snapshot/api_op_UpdateMediaInsightsPipelineConfiguration.go.snap index 63d545a283b..c226fb8137c 100644 --- a/service/chimesdkmediapipelines/snapshot/api_op_UpdateMediaInsightsPipelineConfiguration.go.snap +++ b/service/chimesdkmediapipelines/snapshot/api_op_UpdateMediaInsightsPipelineConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateMediaInsightsPipelineConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmediapipelines/snapshot/api_op_UpdateMediaInsightsPipelineStatus.go.snap b/service/chimesdkmediapipelines/snapshot/api_op_UpdateMediaInsightsPipelineStatus.go.snap index e6669460db4..ffd551069c5 100644 --- a/service/chimesdkmediapipelines/snapshot/api_op_UpdateMediaInsightsPipelineStatus.go.snap +++ b/service/chimesdkmediapipelines/snapshot/api_op_UpdateMediaInsightsPipelineStatus.go.snap @@ -14,7 +14,6 @@ UpdateMediaInsightsPipelineStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmediapipelines/snapshot/api_op_UpdateMediaPipelineKinesisVideoStreamPool.go.snap b/service/chimesdkmediapipelines/snapshot/api_op_UpdateMediaPipelineKinesisVideoStreamPool.go.snap index 730798763dc..e3c58176642 100644 --- a/service/chimesdkmediapipelines/snapshot/api_op_UpdateMediaPipelineKinesisVideoStreamPool.go.snap +++ b/service/chimesdkmediapipelines/snapshot/api_op_UpdateMediaPipelineKinesisVideoStreamPool.go.snap @@ -14,7 +14,6 @@ UpdateMediaPipelineKinesisVideoStreamPool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmeetings/api_client.go b/service/chimesdkmeetings/api_client.go index b614b2c2fce..349a95ce0ec 100644 --- a/service/chimesdkmeetings/api_client.go +++ b/service/chimesdkmeetings/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/chimesdkmeetings/api_op_BatchCreateAttendee.go b/service/chimesdkmeetings/api_op_BatchCreateAttendee.go index 3b86b827951..ae17a4db588 100644 --- a/service/chimesdkmeetings/api_op_BatchCreateAttendee.go +++ b/service/chimesdkmeetings/api_op_BatchCreateAttendee.go @@ -124,9 +124,6 @@ func (c *Client) addOperationBatchCreateAttendeeMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchCreateAttendeeValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmeetings/api_op_BatchUpdateAttendeeCapabilitiesExcept.go b/service/chimesdkmeetings/api_op_BatchUpdateAttendeeCapabilitiesExcept.go index 6d34dbbc851..f8dad72b2ab 100644 --- a/service/chimesdkmeetings/api_op_BatchUpdateAttendeeCapabilitiesExcept.go +++ b/service/chimesdkmeetings/api_op_BatchUpdateAttendeeCapabilitiesExcept.go @@ -148,9 +148,6 @@ func (c *Client) addOperationBatchUpdateAttendeeCapabilitiesExceptMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchUpdateAttendeeCapabilitiesExceptValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmeetings/api_op_CreateAttendee.go b/service/chimesdkmeetings/api_op_CreateAttendee.go index 7105cd3163a..2989f6b6b40 100644 --- a/service/chimesdkmeetings/api_op_CreateAttendee.go +++ b/service/chimesdkmeetings/api_op_CreateAttendee.go @@ -162,9 +162,6 @@ func (c *Client) addOperationCreateAttendeeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAttendeeValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmeetings/api_op_CreateMeeting.go b/service/chimesdkmeetings/api_op_CreateMeeting.go index f6362dca173..f8f62c3dec6 100644 --- a/service/chimesdkmeetings/api_op_CreateMeeting.go +++ b/service/chimesdkmeetings/api_op_CreateMeeting.go @@ -204,9 +204,6 @@ func (c *Client) addOperationCreateMeetingMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateMeetingMiddleware(stack, options); err != nil { return err } diff --git a/service/chimesdkmeetings/api_op_CreateMeetingWithAttendees.go b/service/chimesdkmeetings/api_op_CreateMeetingWithAttendees.go index 3d1a44cc656..4ae820abc5f 100644 --- a/service/chimesdkmeetings/api_op_CreateMeetingWithAttendees.go +++ b/service/chimesdkmeetings/api_op_CreateMeetingWithAttendees.go @@ -177,9 +177,6 @@ func (c *Client) addOperationCreateMeetingWithAttendeesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateMeetingWithAttendeesMiddleware(stack, options); err != nil { return err } diff --git a/service/chimesdkmeetings/api_op_DeleteAttendee.go b/service/chimesdkmeetings/api_op_DeleteAttendee.go index 86ae1610d51..61cef1f4345 100644 --- a/service/chimesdkmeetings/api_op_DeleteAttendee.go +++ b/service/chimesdkmeetings/api_op_DeleteAttendee.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteAttendeeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAttendeeValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmeetings/api_op_DeleteMeeting.go b/service/chimesdkmeetings/api_op_DeleteMeeting.go index aa2669372f9..1dae87d95bf 100644 --- a/service/chimesdkmeetings/api_op_DeleteMeeting.go +++ b/service/chimesdkmeetings/api_op_DeleteMeeting.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteMeetingMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMeetingValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmeetings/api_op_GetAttendee.go b/service/chimesdkmeetings/api_op_GetAttendee.go index 53d1d7a10a8..035ddb22756 100644 --- a/service/chimesdkmeetings/api_op_GetAttendee.go +++ b/service/chimesdkmeetings/api_op_GetAttendee.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetAttendeeMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAttendeeValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmeetings/api_op_GetMeeting.go b/service/chimesdkmeetings/api_op_GetMeeting.go index 2bb04ff3405..b13d5da5bb8 100644 --- a/service/chimesdkmeetings/api_op_GetMeeting.go +++ b/service/chimesdkmeetings/api_op_GetMeeting.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetMeetingMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMeetingValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmeetings/api_op_ListAttendees.go b/service/chimesdkmeetings/api_op_ListAttendees.go index 73c56540797..c96e6a1f0b9 100644 --- a/service/chimesdkmeetings/api_op_ListAttendees.go +++ b/service/chimesdkmeetings/api_op_ListAttendees.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListAttendeesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAttendeesValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmeetings/api_op_ListTagsForResource.go b/service/chimesdkmeetings/api_op_ListTagsForResource.go index a5608303b9d..2de76d3e87f 100644 --- a/service/chimesdkmeetings/api_op_ListTagsForResource.go +++ b/service/chimesdkmeetings/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmeetings/api_op_StartMeetingTranscription.go b/service/chimesdkmeetings/api_op_StartMeetingTranscription.go index c7f8227070a..980f1a38667 100644 --- a/service/chimesdkmeetings/api_op_StartMeetingTranscription.go +++ b/service/chimesdkmeetings/api_op_StartMeetingTranscription.go @@ -136,9 +136,6 @@ func (c *Client) addOperationStartMeetingTranscriptionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartMeetingTranscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmeetings/api_op_StopMeetingTranscription.go b/service/chimesdkmeetings/api_op_StopMeetingTranscription.go index a771811b6e4..cc57f799396 100644 --- a/service/chimesdkmeetings/api_op_StopMeetingTranscription.go +++ b/service/chimesdkmeetings/api_op_StopMeetingTranscription.go @@ -123,9 +123,6 @@ func (c *Client) addOperationStopMeetingTranscriptionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopMeetingTranscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmeetings/api_op_TagResource.go b/service/chimesdkmeetings/api_op_TagResource.go index 64e487eab82..0d0a7367a58 100644 --- a/service/chimesdkmeetings/api_op_TagResource.go +++ b/service/chimesdkmeetings/api_op_TagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmeetings/api_op_UntagResource.go b/service/chimesdkmeetings/api_op_UntagResource.go index e57c31fa639..4566aefe1f3 100644 --- a/service/chimesdkmeetings/api_op_UntagResource.go +++ b/service/chimesdkmeetings/api_op_UntagResource.go @@ -135,9 +135,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmeetings/api_op_UpdateAttendeeCapabilities.go b/service/chimesdkmeetings/api_op_UpdateAttendeeCapabilities.go index e5674df63b5..2780aa4514d 100644 --- a/service/chimesdkmeetings/api_op_UpdateAttendeeCapabilities.go +++ b/service/chimesdkmeetings/api_op_UpdateAttendeeCapabilities.go @@ -151,9 +151,6 @@ func (c *Client) addOperationUpdateAttendeeCapabilitiesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAttendeeCapabilitiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmeetings/snapshot/api_op_BatchCreateAttendee.go.snap b/service/chimesdkmeetings/snapshot/api_op_BatchCreateAttendee.go.snap index df668e1f828..f841a4ae2a7 100644 --- a/service/chimesdkmeetings/snapshot/api_op_BatchCreateAttendee.go.snap +++ b/service/chimesdkmeetings/snapshot/api_op_BatchCreateAttendee.go.snap @@ -14,7 +14,6 @@ BatchCreateAttendee Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmeetings/snapshot/api_op_BatchUpdateAttendeeCapabilitiesExcept.go.snap b/service/chimesdkmeetings/snapshot/api_op_BatchUpdateAttendeeCapabilitiesExcept.go.snap index 81bbbadb118..3b2d7a34366 100644 --- a/service/chimesdkmeetings/snapshot/api_op_BatchUpdateAttendeeCapabilitiesExcept.go.snap +++ b/service/chimesdkmeetings/snapshot/api_op_BatchUpdateAttendeeCapabilitiesExcept.go.snap @@ -14,7 +14,6 @@ BatchUpdateAttendeeCapabilitiesExcept Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmeetings/snapshot/api_op_CreateAttendee.go.snap b/service/chimesdkmeetings/snapshot/api_op_CreateAttendee.go.snap index 355d59ab9c4..3b0a9f171ad 100644 --- a/service/chimesdkmeetings/snapshot/api_op_CreateAttendee.go.snap +++ b/service/chimesdkmeetings/snapshot/api_op_CreateAttendee.go.snap @@ -14,7 +14,6 @@ CreateAttendee Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmeetings/snapshot/api_op_CreateMeeting.go.snap b/service/chimesdkmeetings/snapshot/api_op_CreateMeeting.go.snap index 597314b9b7d..f160a65ea06 100644 --- a/service/chimesdkmeetings/snapshot/api_op_CreateMeeting.go.snap +++ b/service/chimesdkmeetings/snapshot/api_op_CreateMeeting.go.snap @@ -15,7 +15,6 @@ CreateMeeting Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmeetings/snapshot/api_op_CreateMeetingWithAttendees.go.snap b/service/chimesdkmeetings/snapshot/api_op_CreateMeetingWithAttendees.go.snap index 8a04c7218d4..c5887ac18f4 100644 --- a/service/chimesdkmeetings/snapshot/api_op_CreateMeetingWithAttendees.go.snap +++ b/service/chimesdkmeetings/snapshot/api_op_CreateMeetingWithAttendees.go.snap @@ -15,7 +15,6 @@ CreateMeetingWithAttendees Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmeetings/snapshot/api_op_DeleteAttendee.go.snap b/service/chimesdkmeetings/snapshot/api_op_DeleteAttendee.go.snap index 3a9a79c60ff..60ddb165e1e 100644 --- a/service/chimesdkmeetings/snapshot/api_op_DeleteAttendee.go.snap +++ b/service/chimesdkmeetings/snapshot/api_op_DeleteAttendee.go.snap @@ -14,7 +14,6 @@ DeleteAttendee Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmeetings/snapshot/api_op_DeleteMeeting.go.snap b/service/chimesdkmeetings/snapshot/api_op_DeleteMeeting.go.snap index 3daaae868bf..ca45b06269f 100644 --- a/service/chimesdkmeetings/snapshot/api_op_DeleteMeeting.go.snap +++ b/service/chimesdkmeetings/snapshot/api_op_DeleteMeeting.go.snap @@ -14,7 +14,6 @@ DeleteMeeting Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmeetings/snapshot/api_op_GetAttendee.go.snap b/service/chimesdkmeetings/snapshot/api_op_GetAttendee.go.snap index 949e81943a5..0fa9d4e0948 100644 --- a/service/chimesdkmeetings/snapshot/api_op_GetAttendee.go.snap +++ b/service/chimesdkmeetings/snapshot/api_op_GetAttendee.go.snap @@ -14,7 +14,6 @@ GetAttendee Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmeetings/snapshot/api_op_GetMeeting.go.snap b/service/chimesdkmeetings/snapshot/api_op_GetMeeting.go.snap index 45267002140..0eee7142572 100644 --- a/service/chimesdkmeetings/snapshot/api_op_GetMeeting.go.snap +++ b/service/chimesdkmeetings/snapshot/api_op_GetMeeting.go.snap @@ -14,7 +14,6 @@ GetMeeting Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmeetings/snapshot/api_op_ListAttendees.go.snap b/service/chimesdkmeetings/snapshot/api_op_ListAttendees.go.snap index ced891b5da3..2e17990cec4 100644 --- a/service/chimesdkmeetings/snapshot/api_op_ListAttendees.go.snap +++ b/service/chimesdkmeetings/snapshot/api_op_ListAttendees.go.snap @@ -14,7 +14,6 @@ ListAttendees Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmeetings/snapshot/api_op_ListTagsForResource.go.snap b/service/chimesdkmeetings/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/chimesdkmeetings/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/chimesdkmeetings/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmeetings/snapshot/api_op_StartMeetingTranscription.go.snap b/service/chimesdkmeetings/snapshot/api_op_StartMeetingTranscription.go.snap index 32e02297fd9..f10fc4aa6b2 100644 --- a/service/chimesdkmeetings/snapshot/api_op_StartMeetingTranscription.go.snap +++ b/service/chimesdkmeetings/snapshot/api_op_StartMeetingTranscription.go.snap @@ -14,7 +14,6 @@ StartMeetingTranscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmeetings/snapshot/api_op_StopMeetingTranscription.go.snap b/service/chimesdkmeetings/snapshot/api_op_StopMeetingTranscription.go.snap index c4474eebf9d..1170ffda1da 100644 --- a/service/chimesdkmeetings/snapshot/api_op_StopMeetingTranscription.go.snap +++ b/service/chimesdkmeetings/snapshot/api_op_StopMeetingTranscription.go.snap @@ -14,7 +14,6 @@ StopMeetingTranscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmeetings/snapshot/api_op_TagResource.go.snap b/service/chimesdkmeetings/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/chimesdkmeetings/snapshot/api_op_TagResource.go.snap +++ b/service/chimesdkmeetings/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmeetings/snapshot/api_op_UntagResource.go.snap b/service/chimesdkmeetings/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/chimesdkmeetings/snapshot/api_op_UntagResource.go.snap +++ b/service/chimesdkmeetings/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmeetings/snapshot/api_op_UpdateAttendeeCapabilities.go.snap b/service/chimesdkmeetings/snapshot/api_op_UpdateAttendeeCapabilities.go.snap index 745613bf00d..a715e966404 100644 --- a/service/chimesdkmeetings/snapshot/api_op_UpdateAttendeeCapabilities.go.snap +++ b/service/chimesdkmeetings/snapshot/api_op_UpdateAttendeeCapabilities.go.snap @@ -14,7 +14,6 @@ UpdateAttendeeCapabilities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/api_client.go b/service/chimesdkmessaging/api_client.go index 31687a6045b..c2d1c0cd1a6 100644 --- a/service/chimesdkmessaging/api_client.go +++ b/service/chimesdkmessaging/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/chimesdkmessaging/api_op_AssociateChannelFlow.go b/service/chimesdkmessaging/api_op_AssociateChannelFlow.go index a0a84f9ec88..804411b0f14 100644 --- a/service/chimesdkmessaging/api_op_AssociateChannelFlow.go +++ b/service/chimesdkmessaging/api_op_AssociateChannelFlow.go @@ -124,9 +124,6 @@ func (c *Client) addOperationAssociateChannelFlowMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateChannelFlowValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_BatchCreateChannelMembership.go b/service/chimesdkmessaging/api_op_BatchCreateChannelMembership.go index c1778e68e98..5af95d58088 100644 --- a/service/chimesdkmessaging/api_op_BatchCreateChannelMembership.go +++ b/service/chimesdkmessaging/api_op_BatchCreateChannelMembership.go @@ -139,9 +139,6 @@ func (c *Client) addOperationBatchCreateChannelMembershipMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchCreateChannelMembershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_ChannelFlowCallback.go b/service/chimesdkmessaging/api_op_ChannelFlowCallback.go index dfff1ac6ea0..67523369fc9 100644 --- a/service/chimesdkmessaging/api_op_ChannelFlowCallback.go +++ b/service/chimesdkmessaging/api_op_ChannelFlowCallback.go @@ -139,9 +139,6 @@ func (c *Client) addOperationChannelFlowCallbackMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opChannelFlowCallbackMiddleware(stack, options); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_CreateChannel.go b/service/chimesdkmessaging/api_op_CreateChannel.go index 17d2ed0348f..cea312040fd 100644 --- a/service/chimesdkmessaging/api_op_CreateChannel.go +++ b/service/chimesdkmessaging/api_op_CreateChannel.go @@ -166,9 +166,6 @@ func (c *Client) addOperationCreateChannelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateChannelMiddleware(stack, options); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_CreateChannelBan.go b/service/chimesdkmessaging/api_op_CreateChannelBan.go index 7f34a38d417..337c3e1cdc9 100644 --- a/service/chimesdkmessaging/api_op_CreateChannelBan.go +++ b/service/chimesdkmessaging/api_op_CreateChannelBan.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCreateChannelBanMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateChannelBanValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_CreateChannelFlow.go b/service/chimesdkmessaging/api_op_CreateChannelFlow.go index 1720a4ce674..0fe7d38f7a4 100644 --- a/service/chimesdkmessaging/api_op_CreateChannelFlow.go +++ b/service/chimesdkmessaging/api_op_CreateChannelFlow.go @@ -148,9 +148,6 @@ func (c *Client) addOperationCreateChannelFlowMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateChannelFlowMiddleware(stack, options); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_CreateChannelMembership.go b/service/chimesdkmessaging/api_op_CreateChannelMembership.go index 11938f2e6e6..5c581b7fd6b 100644 --- a/service/chimesdkmessaging/api_op_CreateChannelMembership.go +++ b/service/chimesdkmessaging/api_op_CreateChannelMembership.go @@ -164,9 +164,6 @@ func (c *Client) addOperationCreateChannelMembershipMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateChannelMembershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_CreateChannelModerator.go b/service/chimesdkmessaging/api_op_CreateChannelModerator.go index 88ddb138737..a908226c11d 100644 --- a/service/chimesdkmessaging/api_op_CreateChannelModerator.go +++ b/service/chimesdkmessaging/api_op_CreateChannelModerator.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateChannelModeratorMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateChannelModeratorValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_DeleteChannel.go b/service/chimesdkmessaging/api_op_DeleteChannel.go index 2f5731b253b..0111612bfd7 100644 --- a/service/chimesdkmessaging/api_op_DeleteChannel.go +++ b/service/chimesdkmessaging/api_op_DeleteChannel.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteChannelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_DeleteChannelBan.go b/service/chimesdkmessaging/api_op_DeleteChannelBan.go index fb9c2e1d117..a2ffe549e6e 100644 --- a/service/chimesdkmessaging/api_op_DeleteChannelBan.go +++ b/service/chimesdkmessaging/api_op_DeleteChannelBan.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteChannelBanMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteChannelBanValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_DeleteChannelFlow.go b/service/chimesdkmessaging/api_op_DeleteChannelFlow.go index 50f914dbf11..9f70af834f7 100644 --- a/service/chimesdkmessaging/api_op_DeleteChannelFlow.go +++ b/service/chimesdkmessaging/api_op_DeleteChannelFlow.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteChannelFlowMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteChannelFlowValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_DeleteChannelMembership.go b/service/chimesdkmessaging/api_op_DeleteChannelMembership.go index 6b244b78b82..9ac2065adf2 100644 --- a/service/chimesdkmessaging/api_op_DeleteChannelMembership.go +++ b/service/chimesdkmessaging/api_op_DeleteChannelMembership.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDeleteChannelMembershipMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteChannelMembershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_DeleteChannelMessage.go b/service/chimesdkmessaging/api_op_DeleteChannelMessage.go index 4094a0819ee..67712775fe6 100644 --- a/service/chimesdkmessaging/api_op_DeleteChannelMessage.go +++ b/service/chimesdkmessaging/api_op_DeleteChannelMessage.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteChannelMessageMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteChannelMessageValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_DeleteChannelModerator.go b/service/chimesdkmessaging/api_op_DeleteChannelModerator.go index 682f859a51a..5654f7c53d2 100644 --- a/service/chimesdkmessaging/api_op_DeleteChannelModerator.go +++ b/service/chimesdkmessaging/api_op_DeleteChannelModerator.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteChannelModeratorMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteChannelModeratorValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_DeleteMessagingStreamingConfigurations.go b/service/chimesdkmessaging/api_op_DeleteMessagingStreamingConfigurations.go index cca140276f5..2df3d29f097 100644 --- a/service/chimesdkmessaging/api_op_DeleteMessagingStreamingConfigurations.go +++ b/service/chimesdkmessaging/api_op_DeleteMessagingStreamingConfigurations.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteMessagingStreamingConfigurationsMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMessagingStreamingConfigurationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_DescribeChannel.go b/service/chimesdkmessaging/api_op_DescribeChannel.go index 03e78d990da..094f4e6ba84 100644 --- a/service/chimesdkmessaging/api_op_DescribeChannel.go +++ b/service/chimesdkmessaging/api_op_DescribeChannel.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeChannelMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_DescribeChannelBan.go b/service/chimesdkmessaging/api_op_DescribeChannelBan.go index 8700ce8a372..2b16c678c82 100644 --- a/service/chimesdkmessaging/api_op_DescribeChannelBan.go +++ b/service/chimesdkmessaging/api_op_DescribeChannelBan.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeChannelBanMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeChannelBanValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_DescribeChannelFlow.go b/service/chimesdkmessaging/api_op_DescribeChannelFlow.go index 09d69e2baa4..d7598026d59 100644 --- a/service/chimesdkmessaging/api_op_DescribeChannelFlow.go +++ b/service/chimesdkmessaging/api_op_DescribeChannelFlow.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDescribeChannelFlowMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeChannelFlowValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_DescribeChannelMembership.go b/service/chimesdkmessaging/api_op_DescribeChannelMembership.go index c0c0e1c34df..7093356cb45 100644 --- a/service/chimesdkmessaging/api_op_DescribeChannelMembership.go +++ b/service/chimesdkmessaging/api_op_DescribeChannelMembership.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeChannelMembershipMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeChannelMembershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_DescribeChannelMembershipForAppInstanceUser.go b/service/chimesdkmessaging/api_op_DescribeChannelMembershipForAppInstanceUser.go index abca42a65f6..61063ed0bdf 100644 --- a/service/chimesdkmessaging/api_op_DescribeChannelMembershipForAppInstanceUser.go +++ b/service/chimesdkmessaging/api_op_DescribeChannelMembershipForAppInstanceUser.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDescribeChannelMembershipForAppInstanceUserMiddlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeChannelMembershipForAppInstanceUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_DescribeChannelModeratedByAppInstanceUser.go b/service/chimesdkmessaging/api_op_DescribeChannelModeratedByAppInstanceUser.go index 54547cf0fe2..432cbe1ffae 100644 --- a/service/chimesdkmessaging/api_op_DescribeChannelModeratedByAppInstanceUser.go +++ b/service/chimesdkmessaging/api_op_DescribeChannelModeratedByAppInstanceUser.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeChannelModeratedByAppInstanceUserMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeChannelModeratedByAppInstanceUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_DescribeChannelModerator.go b/service/chimesdkmessaging/api_op_DescribeChannelModerator.go index 09698e1a7ee..533432f7d2e 100644 --- a/service/chimesdkmessaging/api_op_DescribeChannelModerator.go +++ b/service/chimesdkmessaging/api_op_DescribeChannelModerator.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribeChannelModeratorMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeChannelModeratorValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_DisassociateChannelFlow.go b/service/chimesdkmessaging/api_op_DisassociateChannelFlow.go index c74ad4dfdf0..539a84d6998 100644 --- a/service/chimesdkmessaging/api_op_DisassociateChannelFlow.go +++ b/service/chimesdkmessaging/api_op_DisassociateChannelFlow.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDisassociateChannelFlowMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateChannelFlowValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_GetChannelMembershipPreferences.go b/service/chimesdkmessaging/api_op_GetChannelMembershipPreferences.go index 5dde3b12a89..0969f6e7bc2 100644 --- a/service/chimesdkmessaging/api_op_GetChannelMembershipPreferences.go +++ b/service/chimesdkmessaging/api_op_GetChannelMembershipPreferences.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGetChannelMembershipPreferencesMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetChannelMembershipPreferencesValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_GetChannelMessage.go b/service/chimesdkmessaging/api_op_GetChannelMessage.go index db8392a2154..d64f2f08eee 100644 --- a/service/chimesdkmessaging/api_op_GetChannelMessage.go +++ b/service/chimesdkmessaging/api_op_GetChannelMessage.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetChannelMessageMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetChannelMessageValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_GetChannelMessageStatus.go b/service/chimesdkmessaging/api_op_GetChannelMessageStatus.go index b472947c196..10fe3d37cb4 100644 --- a/service/chimesdkmessaging/api_op_GetChannelMessageStatus.go +++ b/service/chimesdkmessaging/api_op_GetChannelMessageStatus.go @@ -150,9 +150,6 @@ func (c *Client) addOperationGetChannelMessageStatusMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetChannelMessageStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_GetMessagingSessionEndpoint.go b/service/chimesdkmessaging/api_op_GetMessagingSessionEndpoint.go index df072628a24..ad46e8948a3 100644 --- a/service/chimesdkmessaging/api_op_GetMessagingSessionEndpoint.go +++ b/service/chimesdkmessaging/api_op_GetMessagingSessionEndpoint.go @@ -106,9 +106,6 @@ func (c *Client) addOperationGetMessagingSessionEndpointMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMessagingSessionEndpoint(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_GetMessagingStreamingConfigurations.go b/service/chimesdkmessaging/api_op_GetMessagingStreamingConfigurations.go index 9d3e7f4ef7f..66b6ca7768c 100644 --- a/service/chimesdkmessaging/api_op_GetMessagingStreamingConfigurations.go +++ b/service/chimesdkmessaging/api_op_GetMessagingStreamingConfigurations.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetMessagingStreamingConfigurationsMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMessagingStreamingConfigurationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_ListChannelBans.go b/service/chimesdkmessaging/api_op_ListChannelBans.go index a505fa670b4..93d1074fa8e 100644 --- a/service/chimesdkmessaging/api_op_ListChannelBans.go +++ b/service/chimesdkmessaging/api_op_ListChannelBans.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListChannelBansMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListChannelBansValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_ListChannelFlows.go b/service/chimesdkmessaging/api_op_ListChannelFlows.go index 399716fe385..6533a97df88 100644 --- a/service/chimesdkmessaging/api_op_ListChannelFlows.go +++ b/service/chimesdkmessaging/api_op_ListChannelFlows.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListChannelFlowsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListChannelFlowsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_ListChannelMemberships.go b/service/chimesdkmessaging/api_op_ListChannelMemberships.go index fe56e8c188b..fd3c36b0d2c 100644 --- a/service/chimesdkmessaging/api_op_ListChannelMemberships.go +++ b/service/chimesdkmessaging/api_op_ListChannelMemberships.go @@ -151,9 +151,6 @@ func (c *Client) addOperationListChannelMembershipsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListChannelMembershipsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_ListChannelMembershipsForAppInstanceUser.go b/service/chimesdkmessaging/api_op_ListChannelMembershipsForAppInstanceUser.go index b434a626526..a23945a5b56 100644 --- a/service/chimesdkmessaging/api_op_ListChannelMembershipsForAppInstanceUser.go +++ b/service/chimesdkmessaging/api_op_ListChannelMembershipsForAppInstanceUser.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListChannelMembershipsForAppInstanceUserMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListChannelMembershipsForAppInstanceUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_ListChannelMessages.go b/service/chimesdkmessaging/api_op_ListChannelMessages.go index fcee27c2eb5..493d9bbd035 100644 --- a/service/chimesdkmessaging/api_op_ListChannelMessages.go +++ b/service/chimesdkmessaging/api_op_ListChannelMessages.go @@ -160,9 +160,6 @@ func (c *Client) addOperationListChannelMessagesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListChannelMessagesValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_ListChannelModerators.go b/service/chimesdkmessaging/api_op_ListChannelModerators.go index 324b6e7fa56..04431a5bd91 100644 --- a/service/chimesdkmessaging/api_op_ListChannelModerators.go +++ b/service/chimesdkmessaging/api_op_ListChannelModerators.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListChannelModeratorsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListChannelModeratorsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_ListChannels.go b/service/chimesdkmessaging/api_op_ListChannels.go index 7539c892b7d..84d90fe25d2 100644 --- a/service/chimesdkmessaging/api_op_ListChannels.go +++ b/service/chimesdkmessaging/api_op_ListChannels.go @@ -145,9 +145,6 @@ func (c *Client) addOperationListChannelsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListChannelsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_ListChannelsAssociatedWithChannelFlow.go b/service/chimesdkmessaging/api_op_ListChannelsAssociatedWithChannelFlow.go index 71c6b0f173d..651db2aea0e 100644 --- a/service/chimesdkmessaging/api_op_ListChannelsAssociatedWithChannelFlow.go +++ b/service/chimesdkmessaging/api_op_ListChannelsAssociatedWithChannelFlow.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListChannelsAssociatedWithChannelFlowMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListChannelsAssociatedWithChannelFlowValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_ListChannelsModeratedByAppInstanceUser.go b/service/chimesdkmessaging/api_op_ListChannelsModeratedByAppInstanceUser.go index 4402bc3afc0..3d2e331d724 100644 --- a/service/chimesdkmessaging/api_op_ListChannelsModeratedByAppInstanceUser.go +++ b/service/chimesdkmessaging/api_op_ListChannelsModeratedByAppInstanceUser.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListChannelsModeratedByAppInstanceUserMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListChannelsModeratedByAppInstanceUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_ListSubChannels.go b/service/chimesdkmessaging/api_op_ListSubChannels.go index b823c92514f..29c56a209fd 100644 --- a/service/chimesdkmessaging/api_op_ListSubChannels.go +++ b/service/chimesdkmessaging/api_op_ListSubChannels.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListSubChannelsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSubChannelsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_ListTagsForResource.go b/service/chimesdkmessaging/api_op_ListTagsForResource.go index 82f18e2f471..6a1d0c730c9 100644 --- a/service/chimesdkmessaging/api_op_ListTagsForResource.go +++ b/service/chimesdkmessaging/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_PutChannelExpirationSettings.go b/service/chimesdkmessaging/api_op_PutChannelExpirationSettings.go index 671a544c048..de707b99eec 100644 --- a/service/chimesdkmessaging/api_op_PutChannelExpirationSettings.go +++ b/service/chimesdkmessaging/api_op_PutChannelExpirationSettings.go @@ -131,9 +131,6 @@ func (c *Client) addOperationPutChannelExpirationSettingsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutChannelExpirationSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_PutChannelMembershipPreferences.go b/service/chimesdkmessaging/api_op_PutChannelMembershipPreferences.go index dfe0b6c3d91..156ea8c7c37 100644 --- a/service/chimesdkmessaging/api_op_PutChannelMembershipPreferences.go +++ b/service/chimesdkmessaging/api_op_PutChannelMembershipPreferences.go @@ -142,9 +142,6 @@ func (c *Client) addOperationPutChannelMembershipPreferencesMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutChannelMembershipPreferencesValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_PutMessagingStreamingConfigurations.go b/service/chimesdkmessaging/api_op_PutMessagingStreamingConfigurations.go index 6c5e76fd864..1d46a36c2ce 100644 --- a/service/chimesdkmessaging/api_op_PutMessagingStreamingConfigurations.go +++ b/service/chimesdkmessaging/api_op_PutMessagingStreamingConfigurations.go @@ -120,9 +120,6 @@ func (c *Client) addOperationPutMessagingStreamingConfigurationsMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutMessagingStreamingConfigurationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_RedactChannelMessage.go b/service/chimesdkmessaging/api_op_RedactChannelMessage.go index be9e6bb02ca..2d2db70dcd4 100644 --- a/service/chimesdkmessaging/api_op_RedactChannelMessage.go +++ b/service/chimesdkmessaging/api_op_RedactChannelMessage.go @@ -137,9 +137,6 @@ func (c *Client) addOperationRedactChannelMessageMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRedactChannelMessageValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_SearchChannels.go b/service/chimesdkmessaging/api_op_SearchChannels.go index fbe72a73930..04349f896db 100644 --- a/service/chimesdkmessaging/api_op_SearchChannels.go +++ b/service/chimesdkmessaging/api_op_SearchChannels.go @@ -132,9 +132,6 @@ func (c *Client) addOperationSearchChannelsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchChannelsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_SendChannelMessage.go b/service/chimesdkmessaging/api_op_SendChannelMessage.go index e74b2b7f71f..3bba543c45e 100644 --- a/service/chimesdkmessaging/api_op_SendChannelMessage.go +++ b/service/chimesdkmessaging/api_op_SendChannelMessage.go @@ -185,9 +185,6 @@ func (c *Client) addOperationSendChannelMessageMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opSendChannelMessageMiddleware(stack, options); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_TagResource.go b/service/chimesdkmessaging/api_op_TagResource.go index 4ddd658f6c0..65aef6d6bdc 100644 --- a/service/chimesdkmessaging/api_op_TagResource.go +++ b/service/chimesdkmessaging/api_op_TagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_UntagResource.go b/service/chimesdkmessaging/api_op_UntagResource.go index 2847dae75eb..bdc8248d71d 100644 --- a/service/chimesdkmessaging/api_op_UntagResource.go +++ b/service/chimesdkmessaging/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_UpdateChannel.go b/service/chimesdkmessaging/api_op_UpdateChannel.go index d6c1fe77d66..f37f5333f49 100644 --- a/service/chimesdkmessaging/api_op_UpdateChannel.go +++ b/service/chimesdkmessaging/api_op_UpdateChannel.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdateChannelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_UpdateChannelFlow.go b/service/chimesdkmessaging/api_op_UpdateChannelFlow.go index 99211f780e7..152bbdb9e31 100644 --- a/service/chimesdkmessaging/api_op_UpdateChannelFlow.go +++ b/service/chimesdkmessaging/api_op_UpdateChannelFlow.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateChannelFlowMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateChannelFlowValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_UpdateChannelMessage.go b/service/chimesdkmessaging/api_op_UpdateChannelMessage.go index 83ef337a7aa..deec4be6cc7 100644 --- a/service/chimesdkmessaging/api_op_UpdateChannelMessage.go +++ b/service/chimesdkmessaging/api_op_UpdateChannelMessage.go @@ -151,9 +151,6 @@ func (c *Client) addOperationUpdateChannelMessageMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateChannelMessageValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/api_op_UpdateChannelReadMarker.go b/service/chimesdkmessaging/api_op_UpdateChannelReadMarker.go index 09630beb5bb..30794aa1a29 100644 --- a/service/chimesdkmessaging/api_op_UpdateChannelReadMarker.go +++ b/service/chimesdkmessaging/api_op_UpdateChannelReadMarker.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdateChannelReadMarkerMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateChannelReadMarkerValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkmessaging/snapshot/api_op_AssociateChannelFlow.go.snap b/service/chimesdkmessaging/snapshot/api_op_AssociateChannelFlow.go.snap index e6319c5d025..ea22ad909ac 100644 --- a/service/chimesdkmessaging/snapshot/api_op_AssociateChannelFlow.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_AssociateChannelFlow.go.snap @@ -14,7 +14,6 @@ AssociateChannelFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_BatchCreateChannelMembership.go.snap b/service/chimesdkmessaging/snapshot/api_op_BatchCreateChannelMembership.go.snap index 25ef4cbeece..714d0e9a2ae 100644 --- a/service/chimesdkmessaging/snapshot/api_op_BatchCreateChannelMembership.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_BatchCreateChannelMembership.go.snap @@ -14,7 +14,6 @@ BatchCreateChannelMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_ChannelFlowCallback.go.snap b/service/chimesdkmessaging/snapshot/api_op_ChannelFlowCallback.go.snap index 5391e16a084..9025d1da069 100644 --- a/service/chimesdkmessaging/snapshot/api_op_ChannelFlowCallback.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_ChannelFlowCallback.go.snap @@ -15,7 +15,6 @@ ChannelFlowCallback Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_CreateChannel.go.snap b/service/chimesdkmessaging/snapshot/api_op_CreateChannel.go.snap index 0c5cdf1ab36..8c2652a4b53 100644 --- a/service/chimesdkmessaging/snapshot/api_op_CreateChannel.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_CreateChannel.go.snap @@ -15,7 +15,6 @@ CreateChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_CreateChannelBan.go.snap b/service/chimesdkmessaging/snapshot/api_op_CreateChannelBan.go.snap index 64a4b88028f..7459f4b9c71 100644 --- a/service/chimesdkmessaging/snapshot/api_op_CreateChannelBan.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_CreateChannelBan.go.snap @@ -14,7 +14,6 @@ CreateChannelBan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_CreateChannelFlow.go.snap b/service/chimesdkmessaging/snapshot/api_op_CreateChannelFlow.go.snap index 156f7f68371..d3e605b42aa 100644 --- a/service/chimesdkmessaging/snapshot/api_op_CreateChannelFlow.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_CreateChannelFlow.go.snap @@ -15,7 +15,6 @@ CreateChannelFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_CreateChannelMembership.go.snap b/service/chimesdkmessaging/snapshot/api_op_CreateChannelMembership.go.snap index 26cc39a1b75..3fd8cccc8f2 100644 --- a/service/chimesdkmessaging/snapshot/api_op_CreateChannelMembership.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_CreateChannelMembership.go.snap @@ -14,7 +14,6 @@ CreateChannelMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_CreateChannelModerator.go.snap b/service/chimesdkmessaging/snapshot/api_op_CreateChannelModerator.go.snap index 9e1398c63de..8943b3c6dbd 100644 --- a/service/chimesdkmessaging/snapshot/api_op_CreateChannelModerator.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_CreateChannelModerator.go.snap @@ -14,7 +14,6 @@ CreateChannelModerator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_DeleteChannel.go.snap b/service/chimesdkmessaging/snapshot/api_op_DeleteChannel.go.snap index c5d8eebaca6..ff973c1a071 100644 --- a/service/chimesdkmessaging/snapshot/api_op_DeleteChannel.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_DeleteChannel.go.snap @@ -14,7 +14,6 @@ DeleteChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_DeleteChannelBan.go.snap b/service/chimesdkmessaging/snapshot/api_op_DeleteChannelBan.go.snap index 12308fc8abc..8052c47722d 100644 --- a/service/chimesdkmessaging/snapshot/api_op_DeleteChannelBan.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_DeleteChannelBan.go.snap @@ -14,7 +14,6 @@ DeleteChannelBan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_DeleteChannelFlow.go.snap b/service/chimesdkmessaging/snapshot/api_op_DeleteChannelFlow.go.snap index 6cadf41f954..5bec03f6b8f 100644 --- a/service/chimesdkmessaging/snapshot/api_op_DeleteChannelFlow.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_DeleteChannelFlow.go.snap @@ -14,7 +14,6 @@ DeleteChannelFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_DeleteChannelMembership.go.snap b/service/chimesdkmessaging/snapshot/api_op_DeleteChannelMembership.go.snap index cdc5203939a..1c2967c4a3b 100644 --- a/service/chimesdkmessaging/snapshot/api_op_DeleteChannelMembership.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_DeleteChannelMembership.go.snap @@ -14,7 +14,6 @@ DeleteChannelMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_DeleteChannelMessage.go.snap b/service/chimesdkmessaging/snapshot/api_op_DeleteChannelMessage.go.snap index 162117a97ab..9e5663ccb43 100644 --- a/service/chimesdkmessaging/snapshot/api_op_DeleteChannelMessage.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_DeleteChannelMessage.go.snap @@ -14,7 +14,6 @@ DeleteChannelMessage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_DeleteChannelModerator.go.snap b/service/chimesdkmessaging/snapshot/api_op_DeleteChannelModerator.go.snap index 99eccdf5666..89ba2d9b1e7 100644 --- a/service/chimesdkmessaging/snapshot/api_op_DeleteChannelModerator.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_DeleteChannelModerator.go.snap @@ -14,7 +14,6 @@ DeleteChannelModerator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_DeleteMessagingStreamingConfigurations.go.snap b/service/chimesdkmessaging/snapshot/api_op_DeleteMessagingStreamingConfigurations.go.snap index 4e5094c26aa..64d3ab14695 100644 --- a/service/chimesdkmessaging/snapshot/api_op_DeleteMessagingStreamingConfigurations.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_DeleteMessagingStreamingConfigurations.go.snap @@ -14,7 +14,6 @@ DeleteMessagingStreamingConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_DescribeChannel.go.snap b/service/chimesdkmessaging/snapshot/api_op_DescribeChannel.go.snap index 2365be8f025..70f1006d89e 100644 --- a/service/chimesdkmessaging/snapshot/api_op_DescribeChannel.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_DescribeChannel.go.snap @@ -14,7 +14,6 @@ DescribeChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_DescribeChannelBan.go.snap b/service/chimesdkmessaging/snapshot/api_op_DescribeChannelBan.go.snap index 7079e24df60..62455db0eeb 100644 --- a/service/chimesdkmessaging/snapshot/api_op_DescribeChannelBan.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_DescribeChannelBan.go.snap @@ -14,7 +14,6 @@ DescribeChannelBan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_DescribeChannelFlow.go.snap b/service/chimesdkmessaging/snapshot/api_op_DescribeChannelFlow.go.snap index 56f6114eacb..af1cabef1a6 100644 --- a/service/chimesdkmessaging/snapshot/api_op_DescribeChannelFlow.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_DescribeChannelFlow.go.snap @@ -14,7 +14,6 @@ DescribeChannelFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_DescribeChannelMembership.go.snap b/service/chimesdkmessaging/snapshot/api_op_DescribeChannelMembership.go.snap index 4432e691335..bccbaea3ba9 100644 --- a/service/chimesdkmessaging/snapshot/api_op_DescribeChannelMembership.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_DescribeChannelMembership.go.snap @@ -14,7 +14,6 @@ DescribeChannelMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_DescribeChannelMembershipForAppInstanceUser.go.snap b/service/chimesdkmessaging/snapshot/api_op_DescribeChannelMembershipForAppInstanceUser.go.snap index 18e76ecd025..2e1fc874df8 100644 --- a/service/chimesdkmessaging/snapshot/api_op_DescribeChannelMembershipForAppInstanceUser.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_DescribeChannelMembershipForAppInstanceUser.go.snap @@ -14,7 +14,6 @@ DescribeChannelMembershipForAppInstanceUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_DescribeChannelModeratedByAppInstanceUser.go.snap b/service/chimesdkmessaging/snapshot/api_op_DescribeChannelModeratedByAppInstanceUser.go.snap index 24a51f533e6..323e0af1258 100644 --- a/service/chimesdkmessaging/snapshot/api_op_DescribeChannelModeratedByAppInstanceUser.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_DescribeChannelModeratedByAppInstanceUser.go.snap @@ -14,7 +14,6 @@ DescribeChannelModeratedByAppInstanceUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_DescribeChannelModerator.go.snap b/service/chimesdkmessaging/snapshot/api_op_DescribeChannelModerator.go.snap index 8e5ddaf2fe6..a062f4db8d3 100644 --- a/service/chimesdkmessaging/snapshot/api_op_DescribeChannelModerator.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_DescribeChannelModerator.go.snap @@ -14,7 +14,6 @@ DescribeChannelModerator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_DisassociateChannelFlow.go.snap b/service/chimesdkmessaging/snapshot/api_op_DisassociateChannelFlow.go.snap index 0e9338f79c9..38f2ede90e0 100644 --- a/service/chimesdkmessaging/snapshot/api_op_DisassociateChannelFlow.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_DisassociateChannelFlow.go.snap @@ -14,7 +14,6 @@ DisassociateChannelFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_GetChannelMembershipPreferences.go.snap b/service/chimesdkmessaging/snapshot/api_op_GetChannelMembershipPreferences.go.snap index c689278b826..c3a8196a69f 100644 --- a/service/chimesdkmessaging/snapshot/api_op_GetChannelMembershipPreferences.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_GetChannelMembershipPreferences.go.snap @@ -14,7 +14,6 @@ GetChannelMembershipPreferences Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_GetChannelMessage.go.snap b/service/chimesdkmessaging/snapshot/api_op_GetChannelMessage.go.snap index b25ac0a4885..a02014e07d6 100644 --- a/service/chimesdkmessaging/snapshot/api_op_GetChannelMessage.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_GetChannelMessage.go.snap @@ -14,7 +14,6 @@ GetChannelMessage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_GetChannelMessageStatus.go.snap b/service/chimesdkmessaging/snapshot/api_op_GetChannelMessageStatus.go.snap index a9e2dbe2244..1ae29f921ad 100644 --- a/service/chimesdkmessaging/snapshot/api_op_GetChannelMessageStatus.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_GetChannelMessageStatus.go.snap @@ -14,7 +14,6 @@ GetChannelMessageStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_GetMessagingSessionEndpoint.go.snap b/service/chimesdkmessaging/snapshot/api_op_GetMessagingSessionEndpoint.go.snap index 759a088f712..6463d7ded35 100644 --- a/service/chimesdkmessaging/snapshot/api_op_GetMessagingSessionEndpoint.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_GetMessagingSessionEndpoint.go.snap @@ -13,7 +13,6 @@ GetMessagingSessionEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_GetMessagingStreamingConfigurations.go.snap b/service/chimesdkmessaging/snapshot/api_op_GetMessagingStreamingConfigurations.go.snap index b418fec3f31..419af27f986 100644 --- a/service/chimesdkmessaging/snapshot/api_op_GetMessagingStreamingConfigurations.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_GetMessagingStreamingConfigurations.go.snap @@ -14,7 +14,6 @@ GetMessagingStreamingConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_ListChannelBans.go.snap b/service/chimesdkmessaging/snapshot/api_op_ListChannelBans.go.snap index 82380e5d373..190f69cb2a6 100644 --- a/service/chimesdkmessaging/snapshot/api_op_ListChannelBans.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_ListChannelBans.go.snap @@ -14,7 +14,6 @@ ListChannelBans Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_ListChannelFlows.go.snap b/service/chimesdkmessaging/snapshot/api_op_ListChannelFlows.go.snap index a3c9fbbbc7c..0eeee5e26d6 100644 --- a/service/chimesdkmessaging/snapshot/api_op_ListChannelFlows.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_ListChannelFlows.go.snap @@ -14,7 +14,6 @@ ListChannelFlows Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_ListChannelMemberships.go.snap b/service/chimesdkmessaging/snapshot/api_op_ListChannelMemberships.go.snap index 54be9cd39d1..0f74cbcd16f 100644 --- a/service/chimesdkmessaging/snapshot/api_op_ListChannelMemberships.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_ListChannelMemberships.go.snap @@ -14,7 +14,6 @@ ListChannelMemberships Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_ListChannelMembershipsForAppInstanceUser.go.snap b/service/chimesdkmessaging/snapshot/api_op_ListChannelMembershipsForAppInstanceUser.go.snap index f57f7ca76a0..0e0c3dac691 100644 --- a/service/chimesdkmessaging/snapshot/api_op_ListChannelMembershipsForAppInstanceUser.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_ListChannelMembershipsForAppInstanceUser.go.snap @@ -14,7 +14,6 @@ ListChannelMembershipsForAppInstanceUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_ListChannelMessages.go.snap b/service/chimesdkmessaging/snapshot/api_op_ListChannelMessages.go.snap index d04376a3e91..ff700f4eb3e 100644 --- a/service/chimesdkmessaging/snapshot/api_op_ListChannelMessages.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_ListChannelMessages.go.snap @@ -14,7 +14,6 @@ ListChannelMessages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_ListChannelModerators.go.snap b/service/chimesdkmessaging/snapshot/api_op_ListChannelModerators.go.snap index baf063ec9b6..6d80a376beb 100644 --- a/service/chimesdkmessaging/snapshot/api_op_ListChannelModerators.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_ListChannelModerators.go.snap @@ -14,7 +14,6 @@ ListChannelModerators Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_ListChannels.go.snap b/service/chimesdkmessaging/snapshot/api_op_ListChannels.go.snap index ce86206744d..5a0797d47d0 100644 --- a/service/chimesdkmessaging/snapshot/api_op_ListChannels.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_ListChannels.go.snap @@ -14,7 +14,6 @@ ListChannels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_ListChannelsAssociatedWithChannelFlow.go.snap b/service/chimesdkmessaging/snapshot/api_op_ListChannelsAssociatedWithChannelFlow.go.snap index cf46ad32147..c5f252cdce0 100644 --- a/service/chimesdkmessaging/snapshot/api_op_ListChannelsAssociatedWithChannelFlow.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_ListChannelsAssociatedWithChannelFlow.go.snap @@ -14,7 +14,6 @@ ListChannelsAssociatedWithChannelFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_ListChannelsModeratedByAppInstanceUser.go.snap b/service/chimesdkmessaging/snapshot/api_op_ListChannelsModeratedByAppInstanceUser.go.snap index 2dff7a52e63..d41095ed197 100644 --- a/service/chimesdkmessaging/snapshot/api_op_ListChannelsModeratedByAppInstanceUser.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_ListChannelsModeratedByAppInstanceUser.go.snap @@ -14,7 +14,6 @@ ListChannelsModeratedByAppInstanceUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_ListSubChannels.go.snap b/service/chimesdkmessaging/snapshot/api_op_ListSubChannels.go.snap index 41f7fd41054..841c1da0cf0 100644 --- a/service/chimesdkmessaging/snapshot/api_op_ListSubChannels.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_ListSubChannels.go.snap @@ -14,7 +14,6 @@ ListSubChannels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_ListTagsForResource.go.snap b/service/chimesdkmessaging/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/chimesdkmessaging/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_PutChannelExpirationSettings.go.snap b/service/chimesdkmessaging/snapshot/api_op_PutChannelExpirationSettings.go.snap index 4649779ee27..58b8e3ceb9e 100644 --- a/service/chimesdkmessaging/snapshot/api_op_PutChannelExpirationSettings.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_PutChannelExpirationSettings.go.snap @@ -14,7 +14,6 @@ PutChannelExpirationSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_PutChannelMembershipPreferences.go.snap b/service/chimesdkmessaging/snapshot/api_op_PutChannelMembershipPreferences.go.snap index 8fa760a995d..913ddab0bb3 100644 --- a/service/chimesdkmessaging/snapshot/api_op_PutChannelMembershipPreferences.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_PutChannelMembershipPreferences.go.snap @@ -14,7 +14,6 @@ PutChannelMembershipPreferences Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_PutMessagingStreamingConfigurations.go.snap b/service/chimesdkmessaging/snapshot/api_op_PutMessagingStreamingConfigurations.go.snap index d67cdc0bb54..ff12338b1c9 100644 --- a/service/chimesdkmessaging/snapshot/api_op_PutMessagingStreamingConfigurations.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_PutMessagingStreamingConfigurations.go.snap @@ -14,7 +14,6 @@ PutMessagingStreamingConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_RedactChannelMessage.go.snap b/service/chimesdkmessaging/snapshot/api_op_RedactChannelMessage.go.snap index 7f069ca92d1..1501a01c357 100644 --- a/service/chimesdkmessaging/snapshot/api_op_RedactChannelMessage.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_RedactChannelMessage.go.snap @@ -14,7 +14,6 @@ RedactChannelMessage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_SearchChannels.go.snap b/service/chimesdkmessaging/snapshot/api_op_SearchChannels.go.snap index a15a4c15a70..01b898c736b 100644 --- a/service/chimesdkmessaging/snapshot/api_op_SearchChannels.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_SearchChannels.go.snap @@ -14,7 +14,6 @@ SearchChannels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_SendChannelMessage.go.snap b/service/chimesdkmessaging/snapshot/api_op_SendChannelMessage.go.snap index 1c245d423b9..4829d6e096f 100644 --- a/service/chimesdkmessaging/snapshot/api_op_SendChannelMessage.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_SendChannelMessage.go.snap @@ -15,7 +15,6 @@ SendChannelMessage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_TagResource.go.snap b/service/chimesdkmessaging/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/chimesdkmessaging/snapshot/api_op_TagResource.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_UntagResource.go.snap b/service/chimesdkmessaging/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/chimesdkmessaging/snapshot/api_op_UntagResource.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_UpdateChannel.go.snap b/service/chimesdkmessaging/snapshot/api_op_UpdateChannel.go.snap index 4ee65c8c5a7..f4150e2b85f 100644 --- a/service/chimesdkmessaging/snapshot/api_op_UpdateChannel.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_UpdateChannel.go.snap @@ -14,7 +14,6 @@ UpdateChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_UpdateChannelFlow.go.snap b/service/chimesdkmessaging/snapshot/api_op_UpdateChannelFlow.go.snap index c848d7ee8b1..9ed2e4c1354 100644 --- a/service/chimesdkmessaging/snapshot/api_op_UpdateChannelFlow.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_UpdateChannelFlow.go.snap @@ -14,7 +14,6 @@ UpdateChannelFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_UpdateChannelMessage.go.snap b/service/chimesdkmessaging/snapshot/api_op_UpdateChannelMessage.go.snap index c1141da57c6..dd166a8b354 100644 --- a/service/chimesdkmessaging/snapshot/api_op_UpdateChannelMessage.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_UpdateChannelMessage.go.snap @@ -14,7 +14,6 @@ UpdateChannelMessage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkmessaging/snapshot/api_op_UpdateChannelReadMarker.go.snap b/service/chimesdkmessaging/snapshot/api_op_UpdateChannelReadMarker.go.snap index 31c91c80123..15c4f10e907 100644 --- a/service/chimesdkmessaging/snapshot/api_op_UpdateChannelReadMarker.go.snap +++ b/service/chimesdkmessaging/snapshot/api_op_UpdateChannelReadMarker.go.snap @@ -14,7 +14,6 @@ UpdateChannelReadMarker Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/api_client.go b/service/chimesdkvoice/api_client.go index b31add15e55..be9c1376fb1 100644 --- a/service/chimesdkvoice/api_client.go +++ b/service/chimesdkvoice/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/chimesdkvoice/api_op_AssociatePhoneNumbersWithVoiceConnector.go b/service/chimesdkvoice/api_op_AssociatePhoneNumbersWithVoiceConnector.go index 50c549dd6ab..1dcf00c16c5 100644 --- a/service/chimesdkvoice/api_op_AssociatePhoneNumbersWithVoiceConnector.go +++ b/service/chimesdkvoice/api_op_AssociatePhoneNumbersWithVoiceConnector.go @@ -123,9 +123,6 @@ func (c *Client) addOperationAssociatePhoneNumbersWithVoiceConnectorMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociatePhoneNumbersWithVoiceConnectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_AssociatePhoneNumbersWithVoiceConnectorGroup.go b/service/chimesdkvoice/api_op_AssociatePhoneNumbersWithVoiceConnectorGroup.go index 7877d822954..9f7d8216f3c 100644 --- a/service/chimesdkvoice/api_op_AssociatePhoneNumbersWithVoiceConnectorGroup.go +++ b/service/chimesdkvoice/api_op_AssociatePhoneNumbersWithVoiceConnectorGroup.go @@ -125,9 +125,6 @@ func (c *Client) addOperationAssociatePhoneNumbersWithVoiceConnectorGroupMiddlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociatePhoneNumbersWithVoiceConnectorGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_BatchDeletePhoneNumber.go b/service/chimesdkvoice/api_op_BatchDeletePhoneNumber.go index cae524f63c6..e635abf8ad7 100644 --- a/service/chimesdkvoice/api_op_BatchDeletePhoneNumber.go +++ b/service/chimesdkvoice/api_op_BatchDeletePhoneNumber.go @@ -119,9 +119,6 @@ func (c *Client) addOperationBatchDeletePhoneNumberMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDeletePhoneNumberValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_BatchUpdatePhoneNumber.go b/service/chimesdkvoice/api_op_BatchUpdatePhoneNumber.go index ab2a3e348d3..efa27a2cdbc 100644 --- a/service/chimesdkvoice/api_op_BatchUpdatePhoneNumber.go +++ b/service/chimesdkvoice/api_op_BatchUpdatePhoneNumber.go @@ -116,9 +116,6 @@ func (c *Client) addOperationBatchUpdatePhoneNumberMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchUpdatePhoneNumberValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_CreatePhoneNumberOrder.go b/service/chimesdkvoice/api_op_CreatePhoneNumberOrder.go index 08fb089362c..45a6fb7a742 100644 --- a/service/chimesdkvoice/api_op_CreatePhoneNumberOrder.go +++ b/service/chimesdkvoice/api_op_CreatePhoneNumberOrder.go @@ -122,9 +122,6 @@ func (c *Client) addOperationCreatePhoneNumberOrderMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePhoneNumberOrderValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_CreateProxySession.go b/service/chimesdkvoice/api_op_CreateProxySession.go index 20d2820a76e..01ed92600e5 100644 --- a/service/chimesdkvoice/api_op_CreateProxySession.go +++ b/service/chimesdkvoice/api_op_CreateProxySession.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreateProxySessionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateProxySessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_CreateSipMediaApplication.go b/service/chimesdkvoice/api_op_CreateSipMediaApplication.go index 8e6b90562c5..7cd32432fe7 100644 --- a/service/chimesdkvoice/api_op_CreateSipMediaApplication.go +++ b/service/chimesdkvoice/api_op_CreateSipMediaApplication.go @@ -128,9 +128,6 @@ func (c *Client) addOperationCreateSipMediaApplicationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSipMediaApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_CreateSipMediaApplicationCall.go b/service/chimesdkvoice/api_op_CreateSipMediaApplicationCall.go index 02e28da90a9..a997bdc4ead 100644 --- a/service/chimesdkvoice/api_op_CreateSipMediaApplicationCall.go +++ b/service/chimesdkvoice/api_op_CreateSipMediaApplicationCall.go @@ -131,9 +131,6 @@ func (c *Client) addOperationCreateSipMediaApplicationCallMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSipMediaApplicationCallValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_CreateSipRule.go b/service/chimesdkvoice/api_op_CreateSipRule.go index fdb29f5cd85..7cb2c8d35b2 100644 --- a/service/chimesdkvoice/api_op_CreateSipRule.go +++ b/service/chimesdkvoice/api_op_CreateSipRule.go @@ -141,9 +141,6 @@ func (c *Client) addOperationCreateSipRuleMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSipRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_CreateVoiceConnector.go b/service/chimesdkvoice/api_op_CreateVoiceConnector.go index 9a799156b8f..0f7243615c7 100644 --- a/service/chimesdkvoice/api_op_CreateVoiceConnector.go +++ b/service/chimesdkvoice/api_op_CreateVoiceConnector.go @@ -154,9 +154,6 @@ func (c *Client) addOperationCreateVoiceConnectorMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVoiceConnectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_CreateVoiceConnectorGroup.go b/service/chimesdkvoice/api_op_CreateVoiceConnectorGroup.go index 9265c14c37e..75f3ea2389e 100644 --- a/service/chimesdkvoice/api_op_CreateVoiceConnectorGroup.go +++ b/service/chimesdkvoice/api_op_CreateVoiceConnectorGroup.go @@ -120,9 +120,6 @@ func (c *Client) addOperationCreateVoiceConnectorGroupMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVoiceConnectorGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_CreateVoiceProfile.go b/service/chimesdkvoice/api_op_CreateVoiceProfile.go index f33a6464a6f..0fdaca3e5f1 100644 --- a/service/chimesdkvoice/api_op_CreateVoiceProfile.go +++ b/service/chimesdkvoice/api_op_CreateVoiceProfile.go @@ -123,9 +123,6 @@ func (c *Client) addOperationCreateVoiceProfileMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVoiceProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_CreateVoiceProfileDomain.go b/service/chimesdkvoice/api_op_CreateVoiceProfileDomain.go index 6b2f5010a77..346c80324f7 100644 --- a/service/chimesdkvoice/api_op_CreateVoiceProfileDomain.go +++ b/service/chimesdkvoice/api_op_CreateVoiceProfileDomain.go @@ -138,9 +138,6 @@ func (c *Client) addOperationCreateVoiceProfileDomainMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVoiceProfileDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_DeletePhoneNumber.go b/service/chimesdkvoice/api_op_DeletePhoneNumber.go index c6c1fac9faa..c0a42704294 100644 --- a/service/chimesdkvoice/api_op_DeletePhoneNumber.go +++ b/service/chimesdkvoice/api_op_DeletePhoneNumber.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeletePhoneNumberMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePhoneNumberValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_DeleteProxySession.go b/service/chimesdkvoice/api_op_DeleteProxySession.go index 9b9b9115a5e..c3e49b5575f 100644 --- a/service/chimesdkvoice/api_op_DeleteProxySession.go +++ b/service/chimesdkvoice/api_op_DeleteProxySession.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteProxySessionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProxySessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_DeleteSipMediaApplication.go b/service/chimesdkvoice/api_op_DeleteSipMediaApplication.go index d3833a1f727..f909cc0f4a5 100644 --- a/service/chimesdkvoice/api_op_DeleteSipMediaApplication.go +++ b/service/chimesdkvoice/api_op_DeleteSipMediaApplication.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteSipMediaApplicationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSipMediaApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_DeleteSipRule.go b/service/chimesdkvoice/api_op_DeleteSipRule.go index 5d4a54dd6b9..e1bbe0f4c01 100644 --- a/service/chimesdkvoice/api_op_DeleteSipRule.go +++ b/service/chimesdkvoice/api_op_DeleteSipRule.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteSipRuleMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSipRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_DeleteVoiceConnector.go b/service/chimesdkvoice/api_op_DeleteVoiceConnector.go index e7d88beecfe..68140d513c7 100644 --- a/service/chimesdkvoice/api_op_DeleteVoiceConnector.go +++ b/service/chimesdkvoice/api_op_DeleteVoiceConnector.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteVoiceConnectorMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVoiceConnectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_DeleteVoiceConnectorEmergencyCallingConfiguration.go b/service/chimesdkvoice/api_op_DeleteVoiceConnectorEmergencyCallingConfiguration.go index 3f3ec3bdc4b..f01348c431f 100644 --- a/service/chimesdkvoice/api_op_DeleteVoiceConnectorEmergencyCallingConfiguration.go +++ b/service/chimesdkvoice/api_op_DeleteVoiceConnectorEmergencyCallingConfiguration.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteVoiceConnectorEmergencyCallingConfigurationMi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVoiceConnectorEmergencyCallingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_DeleteVoiceConnectorExternalSystemsConfiguration.go b/service/chimesdkvoice/api_op_DeleteVoiceConnectorExternalSystemsConfiguration.go index 578f88ae18f..0735eabb120 100644 --- a/service/chimesdkvoice/api_op_DeleteVoiceConnectorExternalSystemsConfiguration.go +++ b/service/chimesdkvoice/api_op_DeleteVoiceConnectorExternalSystemsConfiguration.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteVoiceConnectorExternalSystemsConfigurationMid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVoiceConnectorExternalSystemsConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_DeleteVoiceConnectorGroup.go b/service/chimesdkvoice/api_op_DeleteVoiceConnectorGroup.go index 421bcaed971..58f7e0b8c62 100644 --- a/service/chimesdkvoice/api_op_DeleteVoiceConnectorGroup.go +++ b/service/chimesdkvoice/api_op_DeleteVoiceConnectorGroup.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteVoiceConnectorGroupMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVoiceConnectorGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_DeleteVoiceConnectorOrigination.go b/service/chimesdkvoice/api_op_DeleteVoiceConnectorOrigination.go index d4028fe872e..2325ca98916 100644 --- a/service/chimesdkvoice/api_op_DeleteVoiceConnectorOrigination.go +++ b/service/chimesdkvoice/api_op_DeleteVoiceConnectorOrigination.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteVoiceConnectorOriginationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVoiceConnectorOriginationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_DeleteVoiceConnectorProxy.go b/service/chimesdkvoice/api_op_DeleteVoiceConnectorProxy.go index ddc5555f129..f93e6186a63 100644 --- a/service/chimesdkvoice/api_op_DeleteVoiceConnectorProxy.go +++ b/service/chimesdkvoice/api_op_DeleteVoiceConnectorProxy.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteVoiceConnectorProxyMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVoiceConnectorProxyValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_DeleteVoiceConnectorStreamingConfiguration.go b/service/chimesdkvoice/api_op_DeleteVoiceConnectorStreamingConfiguration.go index 8974b3a06d7..00c936c8809 100644 --- a/service/chimesdkvoice/api_op_DeleteVoiceConnectorStreamingConfiguration.go +++ b/service/chimesdkvoice/api_op_DeleteVoiceConnectorStreamingConfiguration.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteVoiceConnectorStreamingConfigurationMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVoiceConnectorStreamingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_DeleteVoiceConnectorTermination.go b/service/chimesdkvoice/api_op_DeleteVoiceConnectorTermination.go index 2c49909ac71..d35a2b2bc33 100644 --- a/service/chimesdkvoice/api_op_DeleteVoiceConnectorTermination.go +++ b/service/chimesdkvoice/api_op_DeleteVoiceConnectorTermination.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteVoiceConnectorTerminationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVoiceConnectorTerminationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_DeleteVoiceConnectorTerminationCredentials.go b/service/chimesdkvoice/api_op_DeleteVoiceConnectorTerminationCredentials.go index d99483476b8..7954e307d17 100644 --- a/service/chimesdkvoice/api_op_DeleteVoiceConnectorTerminationCredentials.go +++ b/service/chimesdkvoice/api_op_DeleteVoiceConnectorTerminationCredentials.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteVoiceConnectorTerminationCredentialsMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVoiceConnectorTerminationCredentialsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_DeleteVoiceProfile.go b/service/chimesdkvoice/api_op_DeleteVoiceProfile.go index 84babe355ba..cb4d5f7a213 100644 --- a/service/chimesdkvoice/api_op_DeleteVoiceProfile.go +++ b/service/chimesdkvoice/api_op_DeleteVoiceProfile.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteVoiceProfileMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVoiceProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_DeleteVoiceProfileDomain.go b/service/chimesdkvoice/api_op_DeleteVoiceProfileDomain.go index efae202770b..9a454d8f206 100644 --- a/service/chimesdkvoice/api_op_DeleteVoiceProfileDomain.go +++ b/service/chimesdkvoice/api_op_DeleteVoiceProfileDomain.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteVoiceProfileDomainMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVoiceProfileDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_DisassociatePhoneNumbersFromVoiceConnector.go b/service/chimesdkvoice/api_op_DisassociatePhoneNumbersFromVoiceConnector.go index 2fb4f14f74b..8addba7f24d 100644 --- a/service/chimesdkvoice/api_op_DisassociatePhoneNumbersFromVoiceConnector.go +++ b/service/chimesdkvoice/api_op_DisassociatePhoneNumbersFromVoiceConnector.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDisassociatePhoneNumbersFromVoiceConnectorMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociatePhoneNumbersFromVoiceConnectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_DisassociatePhoneNumbersFromVoiceConnectorGroup.go b/service/chimesdkvoice/api_op_DisassociatePhoneNumbersFromVoiceConnectorGroup.go index cdebc91f6ab..f5b5d5e3cb3 100644 --- a/service/chimesdkvoice/api_op_DisassociatePhoneNumbersFromVoiceConnectorGroup.go +++ b/service/chimesdkvoice/api_op_DisassociatePhoneNumbersFromVoiceConnectorGroup.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDisassociatePhoneNumbersFromVoiceConnectorGroupMidd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociatePhoneNumbersFromVoiceConnectorGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetGlobalSettings.go b/service/chimesdkvoice/api_op_GetGlobalSettings.go index b4998a4f48a..a38a6661609 100644 --- a/service/chimesdkvoice/api_op_GetGlobalSettings.go +++ b/service/chimesdkvoice/api_op_GetGlobalSettings.go @@ -107,9 +107,6 @@ func (c *Client) addOperationGetGlobalSettingsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGlobalSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetPhoneNumber.go b/service/chimesdkvoice/api_op_GetPhoneNumber.go index 9e75382643c..b3d36890d2d 100644 --- a/service/chimesdkvoice/api_op_GetPhoneNumber.go +++ b/service/chimesdkvoice/api_op_GetPhoneNumber.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetPhoneNumberMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPhoneNumberValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetPhoneNumberOrder.go b/service/chimesdkvoice/api_op_GetPhoneNumberOrder.go index fed266cd96f..a428aab1578 100644 --- a/service/chimesdkvoice/api_op_GetPhoneNumberOrder.go +++ b/service/chimesdkvoice/api_op_GetPhoneNumberOrder.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetPhoneNumberOrderMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPhoneNumberOrderValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetPhoneNumberSettings.go b/service/chimesdkvoice/api_op_GetPhoneNumberSettings.go index 9c45674897a..4b7acd04911 100644 --- a/service/chimesdkvoice/api_op_GetPhoneNumberSettings.go +++ b/service/chimesdkvoice/api_op_GetPhoneNumberSettings.go @@ -110,9 +110,6 @@ func (c *Client) addOperationGetPhoneNumberSettingsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPhoneNumberSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetProxySession.go b/service/chimesdkvoice/api_op_GetProxySession.go index 491b19ba56e..24648ae8893 100644 --- a/service/chimesdkvoice/api_op_GetProxySession.go +++ b/service/chimesdkvoice/api_op_GetProxySession.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetProxySessionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetProxySessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetSipMediaApplication.go b/service/chimesdkvoice/api_op_GetSipMediaApplication.go index f68240712dd..bb42ef67fe3 100644 --- a/service/chimesdkvoice/api_op_GetSipMediaApplication.go +++ b/service/chimesdkvoice/api_op_GetSipMediaApplication.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetSipMediaApplicationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSipMediaApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetSipMediaApplicationAlexaSkillConfiguration.go b/service/chimesdkvoice/api_op_GetSipMediaApplicationAlexaSkillConfiguration.go index 703ad1c0a5f..70887e04464 100644 --- a/service/chimesdkvoice/api_op_GetSipMediaApplicationAlexaSkillConfiguration.go +++ b/service/chimesdkvoice/api_op_GetSipMediaApplicationAlexaSkillConfiguration.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetSipMediaApplicationAlexaSkillConfigurationMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSipMediaApplicationAlexaSkillConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetSipMediaApplicationLoggingConfiguration.go b/service/chimesdkvoice/api_op_GetSipMediaApplicationLoggingConfiguration.go index f54a717fd71..ca01cb5f6b1 100644 --- a/service/chimesdkvoice/api_op_GetSipMediaApplicationLoggingConfiguration.go +++ b/service/chimesdkvoice/api_op_GetSipMediaApplicationLoggingConfiguration.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetSipMediaApplicationLoggingConfigurationMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSipMediaApplicationLoggingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetSipRule.go b/service/chimesdkvoice/api_op_GetSipRule.go index cb46b5b77ce..d76d74ea90f 100644 --- a/service/chimesdkvoice/api_op_GetSipRule.go +++ b/service/chimesdkvoice/api_op_GetSipRule.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetSipRuleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSipRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetSpeakerSearchTask.go b/service/chimesdkvoice/api_op_GetSpeakerSearchTask.go index 122f1c39064..c5488071f87 100644 --- a/service/chimesdkvoice/api_op_GetSpeakerSearchTask.go +++ b/service/chimesdkvoice/api_op_GetSpeakerSearchTask.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetSpeakerSearchTaskMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSpeakerSearchTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetVoiceConnector.go b/service/chimesdkvoice/api_op_GetVoiceConnector.go index 59b745a1e82..5b1f3840bd6 100644 --- a/service/chimesdkvoice/api_op_GetVoiceConnector.go +++ b/service/chimesdkvoice/api_op_GetVoiceConnector.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetVoiceConnectorMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVoiceConnectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetVoiceConnectorEmergencyCallingConfiguration.go b/service/chimesdkvoice/api_op_GetVoiceConnectorEmergencyCallingConfiguration.go index 9d638bb8754..87bd9dc2463 100644 --- a/service/chimesdkvoice/api_op_GetVoiceConnectorEmergencyCallingConfiguration.go +++ b/service/chimesdkvoice/api_op_GetVoiceConnectorEmergencyCallingConfiguration.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetVoiceConnectorEmergencyCallingConfigurationMiddl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVoiceConnectorEmergencyCallingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetVoiceConnectorExternalSystemsConfiguration.go b/service/chimesdkvoice/api_op_GetVoiceConnectorExternalSystemsConfiguration.go index 2fb5bb0a9e7..ebf4b26647c 100644 --- a/service/chimesdkvoice/api_op_GetVoiceConnectorExternalSystemsConfiguration.go +++ b/service/chimesdkvoice/api_op_GetVoiceConnectorExternalSystemsConfiguration.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetVoiceConnectorExternalSystemsConfigurationMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVoiceConnectorExternalSystemsConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetVoiceConnectorGroup.go b/service/chimesdkvoice/api_op_GetVoiceConnectorGroup.go index 88ab5251724..d5d3079bc24 100644 --- a/service/chimesdkvoice/api_op_GetVoiceConnectorGroup.go +++ b/service/chimesdkvoice/api_op_GetVoiceConnectorGroup.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetVoiceConnectorGroupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVoiceConnectorGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetVoiceConnectorLoggingConfiguration.go b/service/chimesdkvoice/api_op_GetVoiceConnectorLoggingConfiguration.go index ef2770ea2a8..3c5c9c9f9b9 100644 --- a/service/chimesdkvoice/api_op_GetVoiceConnectorLoggingConfiguration.go +++ b/service/chimesdkvoice/api_op_GetVoiceConnectorLoggingConfiguration.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetVoiceConnectorLoggingConfigurationMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVoiceConnectorLoggingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetVoiceConnectorOrigination.go b/service/chimesdkvoice/api_op_GetVoiceConnectorOrigination.go index 60cd53265ef..4b6397cd73f 100644 --- a/service/chimesdkvoice/api_op_GetVoiceConnectorOrigination.go +++ b/service/chimesdkvoice/api_op_GetVoiceConnectorOrigination.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetVoiceConnectorOriginationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVoiceConnectorOriginationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetVoiceConnectorProxy.go b/service/chimesdkvoice/api_op_GetVoiceConnectorProxy.go index cc454dae9e0..d8d1e29e9e6 100644 --- a/service/chimesdkvoice/api_op_GetVoiceConnectorProxy.go +++ b/service/chimesdkvoice/api_op_GetVoiceConnectorProxy.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetVoiceConnectorProxyMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVoiceConnectorProxyValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetVoiceConnectorStreamingConfiguration.go b/service/chimesdkvoice/api_op_GetVoiceConnectorStreamingConfiguration.go index 00aeecc6247..4ecf149b977 100644 --- a/service/chimesdkvoice/api_op_GetVoiceConnectorStreamingConfiguration.go +++ b/service/chimesdkvoice/api_op_GetVoiceConnectorStreamingConfiguration.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetVoiceConnectorStreamingConfigurationMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVoiceConnectorStreamingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetVoiceConnectorTermination.go b/service/chimesdkvoice/api_op_GetVoiceConnectorTermination.go index d06a38b552c..9ae2bbdfef1 100644 --- a/service/chimesdkvoice/api_op_GetVoiceConnectorTermination.go +++ b/service/chimesdkvoice/api_op_GetVoiceConnectorTermination.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetVoiceConnectorTerminationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVoiceConnectorTerminationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetVoiceConnectorTerminationHealth.go b/service/chimesdkvoice/api_op_GetVoiceConnectorTerminationHealth.go index f022dcdac12..9011fee3bcb 100644 --- a/service/chimesdkvoice/api_op_GetVoiceConnectorTerminationHealth.go +++ b/service/chimesdkvoice/api_op_GetVoiceConnectorTerminationHealth.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetVoiceConnectorTerminationHealthMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVoiceConnectorTerminationHealthValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetVoiceProfile.go b/service/chimesdkvoice/api_op_GetVoiceProfile.go index ce800f90485..c03fe5301b2 100644 --- a/service/chimesdkvoice/api_op_GetVoiceProfile.go +++ b/service/chimesdkvoice/api_op_GetVoiceProfile.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetVoiceProfileMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVoiceProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetVoiceProfileDomain.go b/service/chimesdkvoice/api_op_GetVoiceProfileDomain.go index ad744cb47d2..2cca3a247d7 100644 --- a/service/chimesdkvoice/api_op_GetVoiceProfileDomain.go +++ b/service/chimesdkvoice/api_op_GetVoiceProfileDomain.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetVoiceProfileDomainMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVoiceProfileDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_GetVoiceToneAnalysisTask.go b/service/chimesdkvoice/api_op_GetVoiceToneAnalysisTask.go index da296dcc3ad..24f515eec58 100644 --- a/service/chimesdkvoice/api_op_GetVoiceToneAnalysisTask.go +++ b/service/chimesdkvoice/api_op_GetVoiceToneAnalysisTask.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetVoiceToneAnalysisTaskMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVoiceToneAnalysisTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_ListAvailableVoiceConnectorRegions.go b/service/chimesdkvoice/api_op_ListAvailableVoiceConnectorRegions.go index a1eab9f2c46..a8641c7aa32 100644 --- a/service/chimesdkvoice/api_op_ListAvailableVoiceConnectorRegions.go +++ b/service/chimesdkvoice/api_op_ListAvailableVoiceConnectorRegions.go @@ -107,9 +107,6 @@ func (c *Client) addOperationListAvailableVoiceConnectorRegionsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAvailableVoiceConnectorRegions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_ListPhoneNumberOrders.go b/service/chimesdkvoice/api_op_ListPhoneNumberOrders.go index 0c91ee87206..bec68ec5588 100644 --- a/service/chimesdkvoice/api_op_ListPhoneNumberOrders.go +++ b/service/chimesdkvoice/api_op_ListPhoneNumberOrders.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListPhoneNumberOrdersMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPhoneNumberOrders(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_ListPhoneNumbers.go b/service/chimesdkvoice/api_op_ListPhoneNumbers.go index 50c1b399c24..a004ec10ab5 100644 --- a/service/chimesdkvoice/api_op_ListPhoneNumbers.go +++ b/service/chimesdkvoice/api_op_ListPhoneNumbers.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListPhoneNumbersMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPhoneNumbers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_ListProxySessions.go b/service/chimesdkvoice/api_op_ListProxySessions.go index c37ef9192a7..2cba046fab1 100644 --- a/service/chimesdkvoice/api_op_ListProxySessions.go +++ b/service/chimesdkvoice/api_op_ListProxySessions.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListProxySessionsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListProxySessionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_ListSipMediaApplications.go b/service/chimesdkvoice/api_op_ListSipMediaApplications.go index f92d1c9e17f..e91a98a7a6e 100644 --- a/service/chimesdkvoice/api_op_ListSipMediaApplications.go +++ b/service/chimesdkvoice/api_op_ListSipMediaApplications.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListSipMediaApplicationsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSipMediaApplications(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_ListSipRules.go b/service/chimesdkvoice/api_op_ListSipRules.go index 998dcd773e6..79b33b6ea8a 100644 --- a/service/chimesdkvoice/api_op_ListSipRules.go +++ b/service/chimesdkvoice/api_op_ListSipRules.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListSipRulesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSipRules(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_ListSupportedPhoneNumberCountries.go b/service/chimesdkvoice/api_op_ListSupportedPhoneNumberCountries.go index 00dd43c3e30..3010592c2fe 100644 --- a/service/chimesdkvoice/api_op_ListSupportedPhoneNumberCountries.go +++ b/service/chimesdkvoice/api_op_ListSupportedPhoneNumberCountries.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListSupportedPhoneNumberCountriesMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSupportedPhoneNumberCountriesValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_ListTagsForResource.go b/service/chimesdkvoice/api_op_ListTagsForResource.go index 1dcdfd20659..8ac65c2874b 100644 --- a/service/chimesdkvoice/api_op_ListTagsForResource.go +++ b/service/chimesdkvoice/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_ListVoiceConnectorGroups.go b/service/chimesdkvoice/api_op_ListVoiceConnectorGroups.go index 6be3a65b65e..e7b1e5091de 100644 --- a/service/chimesdkvoice/api_op_ListVoiceConnectorGroups.go +++ b/service/chimesdkvoice/api_op_ListVoiceConnectorGroups.go @@ -117,9 +117,6 @@ func (c *Client) addOperationListVoiceConnectorGroupsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVoiceConnectorGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_ListVoiceConnectorTerminationCredentials.go b/service/chimesdkvoice/api_op_ListVoiceConnectorTerminationCredentials.go index 1a28d2d533e..d16b815bb48 100644 --- a/service/chimesdkvoice/api_op_ListVoiceConnectorTerminationCredentials.go +++ b/service/chimesdkvoice/api_op_ListVoiceConnectorTerminationCredentials.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListVoiceConnectorTerminationCredentialsMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListVoiceConnectorTerminationCredentialsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_ListVoiceConnectors.go b/service/chimesdkvoice/api_op_ListVoiceConnectors.go index 30f53a9cc37..28dc052b91a 100644 --- a/service/chimesdkvoice/api_op_ListVoiceConnectors.go +++ b/service/chimesdkvoice/api_op_ListVoiceConnectors.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListVoiceConnectorsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVoiceConnectors(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_ListVoiceProfileDomains.go b/service/chimesdkvoice/api_op_ListVoiceProfileDomains.go index e3eea5ac82b..d1312948ee6 100644 --- a/service/chimesdkvoice/api_op_ListVoiceProfileDomains.go +++ b/service/chimesdkvoice/api_op_ListVoiceProfileDomains.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListVoiceProfileDomainsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVoiceProfileDomains(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_ListVoiceProfiles.go b/service/chimesdkvoice/api_op_ListVoiceProfiles.go index f4c95264f08..07be8ac194d 100644 --- a/service/chimesdkvoice/api_op_ListVoiceProfiles.go +++ b/service/chimesdkvoice/api_op_ListVoiceProfiles.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListVoiceProfilesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListVoiceProfilesValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_PutSipMediaApplicationAlexaSkillConfiguration.go b/service/chimesdkvoice/api_op_PutSipMediaApplicationAlexaSkillConfiguration.go index 2f2b6a96a5e..ebef768e21b 100644 --- a/service/chimesdkvoice/api_op_PutSipMediaApplicationAlexaSkillConfiguration.go +++ b/service/chimesdkvoice/api_op_PutSipMediaApplicationAlexaSkillConfiguration.go @@ -124,9 +124,6 @@ func (c *Client) addOperationPutSipMediaApplicationAlexaSkillConfigurationMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutSipMediaApplicationAlexaSkillConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_PutSipMediaApplicationLoggingConfiguration.go b/service/chimesdkvoice/api_op_PutSipMediaApplicationLoggingConfiguration.go index 4de4036729b..0249de64626 100644 --- a/service/chimesdkvoice/api_op_PutSipMediaApplicationLoggingConfiguration.go +++ b/service/chimesdkvoice/api_op_PutSipMediaApplicationLoggingConfiguration.go @@ -115,9 +115,6 @@ func (c *Client) addOperationPutSipMediaApplicationLoggingConfigurationMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutSipMediaApplicationLoggingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_PutVoiceConnectorEmergencyCallingConfiguration.go b/service/chimesdkvoice/api_op_PutVoiceConnectorEmergencyCallingConfiguration.go index 25ac67ba5e0..71fb63a630d 100644 --- a/service/chimesdkvoice/api_op_PutVoiceConnectorEmergencyCallingConfiguration.go +++ b/service/chimesdkvoice/api_op_PutVoiceConnectorEmergencyCallingConfiguration.go @@ -117,9 +117,6 @@ func (c *Client) addOperationPutVoiceConnectorEmergencyCallingConfigurationMiddl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutVoiceConnectorEmergencyCallingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_PutVoiceConnectorExternalSystemsConfiguration.go b/service/chimesdkvoice/api_op_PutVoiceConnectorExternalSystemsConfiguration.go index f8f7ec7fa35..f7b7c587371 100644 --- a/service/chimesdkvoice/api_op_PutVoiceConnectorExternalSystemsConfiguration.go +++ b/service/chimesdkvoice/api_op_PutVoiceConnectorExternalSystemsConfiguration.go @@ -120,9 +120,6 @@ func (c *Client) addOperationPutVoiceConnectorExternalSystemsConfigurationMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutVoiceConnectorExternalSystemsConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_PutVoiceConnectorLoggingConfiguration.go b/service/chimesdkvoice/api_op_PutVoiceConnectorLoggingConfiguration.go index e4154e4b9b3..b7912ce8171 100644 --- a/service/chimesdkvoice/api_op_PutVoiceConnectorLoggingConfiguration.go +++ b/service/chimesdkvoice/api_op_PutVoiceConnectorLoggingConfiguration.go @@ -117,9 +117,6 @@ func (c *Client) addOperationPutVoiceConnectorLoggingConfigurationMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutVoiceConnectorLoggingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_PutVoiceConnectorOrigination.go b/service/chimesdkvoice/api_op_PutVoiceConnectorOrigination.go index 65fd37b0ec9..2ead800bae5 100644 --- a/service/chimesdkvoice/api_op_PutVoiceConnectorOrigination.go +++ b/service/chimesdkvoice/api_op_PutVoiceConnectorOrigination.go @@ -117,9 +117,6 @@ func (c *Client) addOperationPutVoiceConnectorOriginationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutVoiceConnectorOriginationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_PutVoiceConnectorProxy.go b/service/chimesdkvoice/api_op_PutVoiceConnectorProxy.go index 0fbcf1429b1..ec37dd1b4d5 100644 --- a/service/chimesdkvoice/api_op_PutVoiceConnectorProxy.go +++ b/service/chimesdkvoice/api_op_PutVoiceConnectorProxy.go @@ -130,9 +130,6 @@ func (c *Client) addOperationPutVoiceConnectorProxyMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutVoiceConnectorProxyValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_PutVoiceConnectorStreamingConfiguration.go b/service/chimesdkvoice/api_op_PutVoiceConnectorStreamingConfiguration.go index c89ed63ef62..a9a0c183c14 100644 --- a/service/chimesdkvoice/api_op_PutVoiceConnectorStreamingConfiguration.go +++ b/service/chimesdkvoice/api_op_PutVoiceConnectorStreamingConfiguration.go @@ -117,9 +117,6 @@ func (c *Client) addOperationPutVoiceConnectorStreamingConfigurationMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutVoiceConnectorStreamingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_PutVoiceConnectorTermination.go b/service/chimesdkvoice/api_op_PutVoiceConnectorTermination.go index e9e6d0d6d09..029b55f2ae4 100644 --- a/service/chimesdkvoice/api_op_PutVoiceConnectorTermination.go +++ b/service/chimesdkvoice/api_op_PutVoiceConnectorTermination.go @@ -117,9 +117,6 @@ func (c *Client) addOperationPutVoiceConnectorTerminationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutVoiceConnectorTerminationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_PutVoiceConnectorTerminationCredentials.go b/service/chimesdkvoice/api_op_PutVoiceConnectorTerminationCredentials.go index 03c9ea1c72d..c3f195b429e 100644 --- a/service/chimesdkvoice/api_op_PutVoiceConnectorTerminationCredentials.go +++ b/service/chimesdkvoice/api_op_PutVoiceConnectorTerminationCredentials.go @@ -111,9 +111,6 @@ func (c *Client) addOperationPutVoiceConnectorTerminationCredentialsMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutVoiceConnectorTerminationCredentialsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_RestorePhoneNumber.go b/service/chimesdkvoice/api_op_RestorePhoneNumber.go index c6ef7b66685..48b04d8a81d 100644 --- a/service/chimesdkvoice/api_op_RestorePhoneNumber.go +++ b/service/chimesdkvoice/api_op_RestorePhoneNumber.go @@ -112,9 +112,6 @@ func (c *Client) addOperationRestorePhoneNumberMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestorePhoneNumberValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_SearchAvailablePhoneNumbers.go b/service/chimesdkvoice/api_op_SearchAvailablePhoneNumbers.go index a08b8a7e5a1..e8f19248782 100644 --- a/service/chimesdkvoice/api_op_SearchAvailablePhoneNumbers.go +++ b/service/chimesdkvoice/api_op_SearchAvailablePhoneNumbers.go @@ -138,9 +138,6 @@ func (c *Client) addOperationSearchAvailablePhoneNumbersMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchAvailablePhoneNumbers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_StartSpeakerSearchTask.go b/service/chimesdkvoice/api_op_StartSpeakerSearchTask.go index bb7b0eaf5da..783ab0e6792 100644 --- a/service/chimesdkvoice/api_op_StartSpeakerSearchTask.go +++ b/service/chimesdkvoice/api_op_StartSpeakerSearchTask.go @@ -135,9 +135,6 @@ func (c *Client) addOperationStartSpeakerSearchTaskMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartSpeakerSearchTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_StartVoiceToneAnalysisTask.go b/service/chimesdkvoice/api_op_StartVoiceToneAnalysisTask.go index 2e5ccf9a65a..332ce4970ff 100644 --- a/service/chimesdkvoice/api_op_StartVoiceToneAnalysisTask.go +++ b/service/chimesdkvoice/api_op_StartVoiceToneAnalysisTask.go @@ -134,9 +134,6 @@ func (c *Client) addOperationStartVoiceToneAnalysisTaskMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartVoiceToneAnalysisTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_StopSpeakerSearchTask.go b/service/chimesdkvoice/api_op_StopSpeakerSearchTask.go index 3c7a9cf0024..e42245c3392 100644 --- a/service/chimesdkvoice/api_op_StopSpeakerSearchTask.go +++ b/service/chimesdkvoice/api_op_StopSpeakerSearchTask.go @@ -112,9 +112,6 @@ func (c *Client) addOperationStopSpeakerSearchTaskMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopSpeakerSearchTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_StopVoiceToneAnalysisTask.go b/service/chimesdkvoice/api_op_StopVoiceToneAnalysisTask.go index 55a061885c1..b083ca5e2b0 100644 --- a/service/chimesdkvoice/api_op_StopVoiceToneAnalysisTask.go +++ b/service/chimesdkvoice/api_op_StopVoiceToneAnalysisTask.go @@ -112,9 +112,6 @@ func (c *Client) addOperationStopVoiceToneAnalysisTaskMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopVoiceToneAnalysisTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_TagResource.go b/service/chimesdkvoice/api_op_TagResource.go index 70f21db6dd9..d32e95d4d69 100644 --- a/service/chimesdkvoice/api_op_TagResource.go +++ b/service/chimesdkvoice/api_op_TagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_UntagResource.go b/service/chimesdkvoice/api_op_UntagResource.go index 11cae83bb08..ecc453489b6 100644 --- a/service/chimesdkvoice/api_op_UntagResource.go +++ b/service/chimesdkvoice/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_UpdateGlobalSettings.go b/service/chimesdkvoice/api_op_UpdateGlobalSettings.go index fd9a6803474..57c012d6606 100644 --- a/service/chimesdkvoice/api_op_UpdateGlobalSettings.go +++ b/service/chimesdkvoice/api_op_UpdateGlobalSettings.go @@ -107,9 +107,6 @@ func (c *Client) addOperationUpdateGlobalSettingsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGlobalSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_UpdatePhoneNumber.go b/service/chimesdkvoice/api_op_UpdatePhoneNumber.go index 246c1ffef9a..aa4a3f99516 100644 --- a/service/chimesdkvoice/api_op_UpdatePhoneNumber.go +++ b/service/chimesdkvoice/api_op_UpdatePhoneNumber.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdatePhoneNumberMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePhoneNumberValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_UpdatePhoneNumberSettings.go b/service/chimesdkvoice/api_op_UpdatePhoneNumberSettings.go index 0c64b6d2ae2..09dfcd40040 100644 --- a/service/chimesdkvoice/api_op_UpdatePhoneNumberSettings.go +++ b/service/chimesdkvoice/api_op_UpdatePhoneNumberSettings.go @@ -110,9 +110,6 @@ func (c *Client) addOperationUpdatePhoneNumberSettingsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePhoneNumberSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_UpdateProxySession.go b/service/chimesdkvoice/api_op_UpdateProxySession.go index fdf52368743..51542146cd9 100644 --- a/service/chimesdkvoice/api_op_UpdateProxySession.go +++ b/service/chimesdkvoice/api_op_UpdateProxySession.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateProxySessionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateProxySessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_UpdateSipMediaApplication.go b/service/chimesdkvoice/api_op_UpdateSipMediaApplication.go index d51038fbec5..e43edba2c8d 100644 --- a/service/chimesdkvoice/api_op_UpdateSipMediaApplication.go +++ b/service/chimesdkvoice/api_op_UpdateSipMediaApplication.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateSipMediaApplicationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSipMediaApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_UpdateSipMediaApplicationCall.go b/service/chimesdkvoice/api_op_UpdateSipMediaApplicationCall.go index 55cbd100431..9c1bc6f1783 100644 --- a/service/chimesdkvoice/api_op_UpdateSipMediaApplicationCall.go +++ b/service/chimesdkvoice/api_op_UpdateSipMediaApplicationCall.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateSipMediaApplicationCallMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSipMediaApplicationCallValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_UpdateSipRule.go b/service/chimesdkvoice/api_op_UpdateSipRule.go index a203e401d95..4d38b7892d6 100644 --- a/service/chimesdkvoice/api_op_UpdateSipRule.go +++ b/service/chimesdkvoice/api_op_UpdateSipRule.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateSipRuleMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSipRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_UpdateVoiceConnector.go b/service/chimesdkvoice/api_op_UpdateVoiceConnector.go index f32cb5bee7d..d0f2d779647 100644 --- a/service/chimesdkvoice/api_op_UpdateVoiceConnector.go +++ b/service/chimesdkvoice/api_op_UpdateVoiceConnector.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateVoiceConnectorMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateVoiceConnectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_UpdateVoiceConnectorGroup.go b/service/chimesdkvoice/api_op_UpdateVoiceConnectorGroup.go index 720cd042793..59662d865c1 100644 --- a/service/chimesdkvoice/api_op_UpdateVoiceConnectorGroup.go +++ b/service/chimesdkvoice/api_op_UpdateVoiceConnectorGroup.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateVoiceConnectorGroupMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateVoiceConnectorGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_UpdateVoiceProfile.go b/service/chimesdkvoice/api_op_UpdateVoiceProfile.go index 528a461282d..8a04345f9c6 100644 --- a/service/chimesdkvoice/api_op_UpdateVoiceProfile.go +++ b/service/chimesdkvoice/api_op_UpdateVoiceProfile.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateVoiceProfileMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateVoiceProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_UpdateVoiceProfileDomain.go b/service/chimesdkvoice/api_op_UpdateVoiceProfileDomain.go index c275a8d251c..7e2cdb1ed75 100644 --- a/service/chimesdkvoice/api_op_UpdateVoiceProfileDomain.go +++ b/service/chimesdkvoice/api_op_UpdateVoiceProfileDomain.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateVoiceProfileDomainMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateVoiceProfileDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/api_op_ValidateE911Address.go b/service/chimesdkvoice/api_op_ValidateE911Address.go index 0d7b1df71dc..306ff171709 100644 --- a/service/chimesdkvoice/api_op_ValidateE911Address.go +++ b/service/chimesdkvoice/api_op_ValidateE911Address.go @@ -167,9 +167,6 @@ func (c *Client) addOperationValidateE911AddressMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpValidateE911AddressValidationMiddleware(stack); err != nil { return err } diff --git a/service/chimesdkvoice/snapshot/api_op_AssociatePhoneNumbersWithVoiceConnector.go.snap b/service/chimesdkvoice/snapshot/api_op_AssociatePhoneNumbersWithVoiceConnector.go.snap index 20496005114..75a5d0548e9 100644 --- a/service/chimesdkvoice/snapshot/api_op_AssociatePhoneNumbersWithVoiceConnector.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_AssociatePhoneNumbersWithVoiceConnector.go.snap @@ -14,7 +14,6 @@ AssociatePhoneNumbersWithVoiceConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_AssociatePhoneNumbersWithVoiceConnectorGroup.go.snap b/service/chimesdkvoice/snapshot/api_op_AssociatePhoneNumbersWithVoiceConnectorGroup.go.snap index 1c251431206..fd3662632f3 100644 --- a/service/chimesdkvoice/snapshot/api_op_AssociatePhoneNumbersWithVoiceConnectorGroup.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_AssociatePhoneNumbersWithVoiceConnectorGroup.go.snap @@ -14,7 +14,6 @@ AssociatePhoneNumbersWithVoiceConnectorGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_BatchDeletePhoneNumber.go.snap b/service/chimesdkvoice/snapshot/api_op_BatchDeletePhoneNumber.go.snap index 5d4571f498a..25d5e7dd135 100644 --- a/service/chimesdkvoice/snapshot/api_op_BatchDeletePhoneNumber.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_BatchDeletePhoneNumber.go.snap @@ -14,7 +14,6 @@ BatchDeletePhoneNumber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_BatchUpdatePhoneNumber.go.snap b/service/chimesdkvoice/snapshot/api_op_BatchUpdatePhoneNumber.go.snap index 5bc559f8596..19dd0c3d099 100644 --- a/service/chimesdkvoice/snapshot/api_op_BatchUpdatePhoneNumber.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_BatchUpdatePhoneNumber.go.snap @@ -14,7 +14,6 @@ BatchUpdatePhoneNumber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_CreatePhoneNumberOrder.go.snap b/service/chimesdkvoice/snapshot/api_op_CreatePhoneNumberOrder.go.snap index de4cca68762..f4dd05fd216 100644 --- a/service/chimesdkvoice/snapshot/api_op_CreatePhoneNumberOrder.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_CreatePhoneNumberOrder.go.snap @@ -14,7 +14,6 @@ CreatePhoneNumberOrder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_CreateProxySession.go.snap b/service/chimesdkvoice/snapshot/api_op_CreateProxySession.go.snap index c216f8dbd50..5b3afb76ba1 100644 --- a/service/chimesdkvoice/snapshot/api_op_CreateProxySession.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_CreateProxySession.go.snap @@ -14,7 +14,6 @@ CreateProxySession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_CreateSipMediaApplication.go.snap b/service/chimesdkvoice/snapshot/api_op_CreateSipMediaApplication.go.snap index 79ecf625f9e..cf8e3f7231f 100644 --- a/service/chimesdkvoice/snapshot/api_op_CreateSipMediaApplication.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_CreateSipMediaApplication.go.snap @@ -14,7 +14,6 @@ CreateSipMediaApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_CreateSipMediaApplicationCall.go.snap b/service/chimesdkvoice/snapshot/api_op_CreateSipMediaApplicationCall.go.snap index 9ba41920242..c3fce779750 100644 --- a/service/chimesdkvoice/snapshot/api_op_CreateSipMediaApplicationCall.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_CreateSipMediaApplicationCall.go.snap @@ -14,7 +14,6 @@ CreateSipMediaApplicationCall Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_CreateSipRule.go.snap b/service/chimesdkvoice/snapshot/api_op_CreateSipRule.go.snap index e9f0b702b10..2bbdfa849d8 100644 --- a/service/chimesdkvoice/snapshot/api_op_CreateSipRule.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_CreateSipRule.go.snap @@ -14,7 +14,6 @@ CreateSipRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_CreateVoiceConnector.go.snap b/service/chimesdkvoice/snapshot/api_op_CreateVoiceConnector.go.snap index fbf4d89adc9..acad055455f 100644 --- a/service/chimesdkvoice/snapshot/api_op_CreateVoiceConnector.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_CreateVoiceConnector.go.snap @@ -14,7 +14,6 @@ CreateVoiceConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_CreateVoiceConnectorGroup.go.snap b/service/chimesdkvoice/snapshot/api_op_CreateVoiceConnectorGroup.go.snap index cc959f9daea..c1cf2d1e1ab 100644 --- a/service/chimesdkvoice/snapshot/api_op_CreateVoiceConnectorGroup.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_CreateVoiceConnectorGroup.go.snap @@ -14,7 +14,6 @@ CreateVoiceConnectorGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_CreateVoiceProfile.go.snap b/service/chimesdkvoice/snapshot/api_op_CreateVoiceProfile.go.snap index 922adf1a181..faffb102718 100644 --- a/service/chimesdkvoice/snapshot/api_op_CreateVoiceProfile.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_CreateVoiceProfile.go.snap @@ -14,7 +14,6 @@ CreateVoiceProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_CreateVoiceProfileDomain.go.snap b/service/chimesdkvoice/snapshot/api_op_CreateVoiceProfileDomain.go.snap index 80a08047f30..f9f160a57f1 100644 --- a/service/chimesdkvoice/snapshot/api_op_CreateVoiceProfileDomain.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_CreateVoiceProfileDomain.go.snap @@ -14,7 +14,6 @@ CreateVoiceProfileDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_DeletePhoneNumber.go.snap b/service/chimesdkvoice/snapshot/api_op_DeletePhoneNumber.go.snap index 13cb2e68100..29d593b6c88 100644 --- a/service/chimesdkvoice/snapshot/api_op_DeletePhoneNumber.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_DeletePhoneNumber.go.snap @@ -14,7 +14,6 @@ DeletePhoneNumber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_DeleteProxySession.go.snap b/service/chimesdkvoice/snapshot/api_op_DeleteProxySession.go.snap index a63e11e0b82..ecfcd965a0a 100644 --- a/service/chimesdkvoice/snapshot/api_op_DeleteProxySession.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_DeleteProxySession.go.snap @@ -14,7 +14,6 @@ DeleteProxySession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_DeleteSipMediaApplication.go.snap b/service/chimesdkvoice/snapshot/api_op_DeleteSipMediaApplication.go.snap index 36a248d1465..f2f061b8a42 100644 --- a/service/chimesdkvoice/snapshot/api_op_DeleteSipMediaApplication.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_DeleteSipMediaApplication.go.snap @@ -14,7 +14,6 @@ DeleteSipMediaApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_DeleteSipRule.go.snap b/service/chimesdkvoice/snapshot/api_op_DeleteSipRule.go.snap index b598f980ecb..44deb9d1136 100644 --- a/service/chimesdkvoice/snapshot/api_op_DeleteSipRule.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_DeleteSipRule.go.snap @@ -14,7 +14,6 @@ DeleteSipRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnector.go.snap b/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnector.go.snap index feff75869fa..099dde1c92d 100644 --- a/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnector.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnector.go.snap @@ -14,7 +14,6 @@ DeleteVoiceConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnectorEmergencyCallingConfiguration.go.snap b/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnectorEmergencyCallingConfiguration.go.snap index c2fa61a6dc6..114fc5da5a5 100644 --- a/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnectorEmergencyCallingConfiguration.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnectorEmergencyCallingConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteVoiceConnectorEmergencyCallingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnectorExternalSystemsConfiguration.go.snap b/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnectorExternalSystemsConfiguration.go.snap index 1c75c6f57d6..cd45f19b9be 100644 --- a/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnectorExternalSystemsConfiguration.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnectorExternalSystemsConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteVoiceConnectorExternalSystemsConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnectorGroup.go.snap b/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnectorGroup.go.snap index ecb238b1f2e..ceddbc7ea4a 100644 --- a/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnectorGroup.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnectorGroup.go.snap @@ -14,7 +14,6 @@ DeleteVoiceConnectorGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnectorOrigination.go.snap b/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnectorOrigination.go.snap index 7a72728fa78..24e337c665f 100644 --- a/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnectorOrigination.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnectorOrigination.go.snap @@ -14,7 +14,6 @@ DeleteVoiceConnectorOrigination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnectorProxy.go.snap b/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnectorProxy.go.snap index f1d4399e5f7..af4865c5b00 100644 --- a/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnectorProxy.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnectorProxy.go.snap @@ -14,7 +14,6 @@ DeleteVoiceConnectorProxy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnectorStreamingConfiguration.go.snap b/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnectorStreamingConfiguration.go.snap index b698c1de371..4c628a3914f 100644 --- a/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnectorStreamingConfiguration.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnectorStreamingConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteVoiceConnectorStreamingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnectorTermination.go.snap b/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnectorTermination.go.snap index 756b3e09cdf..29684f80e36 100644 --- a/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnectorTermination.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnectorTermination.go.snap @@ -14,7 +14,6 @@ DeleteVoiceConnectorTermination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnectorTerminationCredentials.go.snap b/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnectorTerminationCredentials.go.snap index 3d3206f0cae..486e4391577 100644 --- a/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnectorTerminationCredentials.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_DeleteVoiceConnectorTerminationCredentials.go.snap @@ -14,7 +14,6 @@ DeleteVoiceConnectorTerminationCredentials Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_DeleteVoiceProfile.go.snap b/service/chimesdkvoice/snapshot/api_op_DeleteVoiceProfile.go.snap index bc91017f995..b0db75676a8 100644 --- a/service/chimesdkvoice/snapshot/api_op_DeleteVoiceProfile.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_DeleteVoiceProfile.go.snap @@ -14,7 +14,6 @@ DeleteVoiceProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_DeleteVoiceProfileDomain.go.snap b/service/chimesdkvoice/snapshot/api_op_DeleteVoiceProfileDomain.go.snap index f6dc73e803b..ef208ff355b 100644 --- a/service/chimesdkvoice/snapshot/api_op_DeleteVoiceProfileDomain.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_DeleteVoiceProfileDomain.go.snap @@ -14,7 +14,6 @@ DeleteVoiceProfileDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_DisassociatePhoneNumbersFromVoiceConnector.go.snap b/service/chimesdkvoice/snapshot/api_op_DisassociatePhoneNumbersFromVoiceConnector.go.snap index 82f0ab23692..d2dfea6b627 100644 --- a/service/chimesdkvoice/snapshot/api_op_DisassociatePhoneNumbersFromVoiceConnector.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_DisassociatePhoneNumbersFromVoiceConnector.go.snap @@ -14,7 +14,6 @@ DisassociatePhoneNumbersFromVoiceConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_DisassociatePhoneNumbersFromVoiceConnectorGroup.go.snap b/service/chimesdkvoice/snapshot/api_op_DisassociatePhoneNumbersFromVoiceConnectorGroup.go.snap index 09f45a6a884..1f726118f5d 100644 --- a/service/chimesdkvoice/snapshot/api_op_DisassociatePhoneNumbersFromVoiceConnectorGroup.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_DisassociatePhoneNumbersFromVoiceConnectorGroup.go.snap @@ -14,7 +14,6 @@ DisassociatePhoneNumbersFromVoiceConnectorGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_GetGlobalSettings.go.snap b/service/chimesdkvoice/snapshot/api_op_GetGlobalSettings.go.snap index d57272d8a74..67a6842fc48 100644 --- a/service/chimesdkvoice/snapshot/api_op_GetGlobalSettings.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_GetGlobalSettings.go.snap @@ -13,7 +13,6 @@ GetGlobalSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_GetPhoneNumber.go.snap b/service/chimesdkvoice/snapshot/api_op_GetPhoneNumber.go.snap index d0539b342d5..284772ba05e 100644 --- a/service/chimesdkvoice/snapshot/api_op_GetPhoneNumber.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_GetPhoneNumber.go.snap @@ -14,7 +14,6 @@ GetPhoneNumber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_GetPhoneNumberOrder.go.snap b/service/chimesdkvoice/snapshot/api_op_GetPhoneNumberOrder.go.snap index 06b4060f479..3f24aff154c 100644 --- a/service/chimesdkvoice/snapshot/api_op_GetPhoneNumberOrder.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_GetPhoneNumberOrder.go.snap @@ -14,7 +14,6 @@ GetPhoneNumberOrder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_GetPhoneNumberSettings.go.snap b/service/chimesdkvoice/snapshot/api_op_GetPhoneNumberSettings.go.snap index 91bfe6bf02e..a611459b760 100644 --- a/service/chimesdkvoice/snapshot/api_op_GetPhoneNumberSettings.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_GetPhoneNumberSettings.go.snap @@ -13,7 +13,6 @@ GetPhoneNumberSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_GetProxySession.go.snap b/service/chimesdkvoice/snapshot/api_op_GetProxySession.go.snap index d21ceb9bef0..e0e67b1501d 100644 --- a/service/chimesdkvoice/snapshot/api_op_GetProxySession.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_GetProxySession.go.snap @@ -14,7 +14,6 @@ GetProxySession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_GetSipMediaApplication.go.snap b/service/chimesdkvoice/snapshot/api_op_GetSipMediaApplication.go.snap index 4eb07ad9a72..ac284e706dc 100644 --- a/service/chimesdkvoice/snapshot/api_op_GetSipMediaApplication.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_GetSipMediaApplication.go.snap @@ -14,7 +14,6 @@ GetSipMediaApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_GetSipMediaApplicationAlexaSkillConfiguration.go.snap b/service/chimesdkvoice/snapshot/api_op_GetSipMediaApplicationAlexaSkillConfiguration.go.snap index 14943578174..a69e369cb46 100644 --- a/service/chimesdkvoice/snapshot/api_op_GetSipMediaApplicationAlexaSkillConfiguration.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_GetSipMediaApplicationAlexaSkillConfiguration.go.snap @@ -14,7 +14,6 @@ GetSipMediaApplicationAlexaSkillConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_GetSipMediaApplicationLoggingConfiguration.go.snap b/service/chimesdkvoice/snapshot/api_op_GetSipMediaApplicationLoggingConfiguration.go.snap index c3fc52e72c3..6b76cab31ed 100644 --- a/service/chimesdkvoice/snapshot/api_op_GetSipMediaApplicationLoggingConfiguration.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_GetSipMediaApplicationLoggingConfiguration.go.snap @@ -14,7 +14,6 @@ GetSipMediaApplicationLoggingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_GetSipRule.go.snap b/service/chimesdkvoice/snapshot/api_op_GetSipRule.go.snap index 90ea5c88184..312620c2672 100644 --- a/service/chimesdkvoice/snapshot/api_op_GetSipRule.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_GetSipRule.go.snap @@ -14,7 +14,6 @@ GetSipRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_GetSpeakerSearchTask.go.snap b/service/chimesdkvoice/snapshot/api_op_GetSpeakerSearchTask.go.snap index 7a395330c89..739616f8b1b 100644 --- a/service/chimesdkvoice/snapshot/api_op_GetSpeakerSearchTask.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_GetSpeakerSearchTask.go.snap @@ -14,7 +14,6 @@ GetSpeakerSearchTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_GetVoiceConnector.go.snap b/service/chimesdkvoice/snapshot/api_op_GetVoiceConnector.go.snap index 70d38abb5db..e1d575616da 100644 --- a/service/chimesdkvoice/snapshot/api_op_GetVoiceConnector.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_GetVoiceConnector.go.snap @@ -14,7 +14,6 @@ GetVoiceConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorEmergencyCallingConfiguration.go.snap b/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorEmergencyCallingConfiguration.go.snap index cde6c8fd28c..a2fcd35ce24 100644 --- a/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorEmergencyCallingConfiguration.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorEmergencyCallingConfiguration.go.snap @@ -14,7 +14,6 @@ GetVoiceConnectorEmergencyCallingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorExternalSystemsConfiguration.go.snap b/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorExternalSystemsConfiguration.go.snap index 66aec300b6e..416be9599f2 100644 --- a/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorExternalSystemsConfiguration.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorExternalSystemsConfiguration.go.snap @@ -14,7 +14,6 @@ GetVoiceConnectorExternalSystemsConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorGroup.go.snap b/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorGroup.go.snap index d1dd794bbad..890be16a873 100644 --- a/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorGroup.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorGroup.go.snap @@ -14,7 +14,6 @@ GetVoiceConnectorGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorLoggingConfiguration.go.snap b/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorLoggingConfiguration.go.snap index 995ceae124f..054a13dc98b 100644 --- a/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorLoggingConfiguration.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorLoggingConfiguration.go.snap @@ -14,7 +14,6 @@ GetVoiceConnectorLoggingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorOrigination.go.snap b/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorOrigination.go.snap index dd915e2158c..884bcaa466c 100644 --- a/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorOrigination.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorOrigination.go.snap @@ -14,7 +14,6 @@ GetVoiceConnectorOrigination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorProxy.go.snap b/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorProxy.go.snap index ecc9511427b..080c94b50bf 100644 --- a/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorProxy.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorProxy.go.snap @@ -14,7 +14,6 @@ GetVoiceConnectorProxy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorStreamingConfiguration.go.snap b/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorStreamingConfiguration.go.snap index 332a6f84091..95b93bdf0cd 100644 --- a/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorStreamingConfiguration.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorStreamingConfiguration.go.snap @@ -14,7 +14,6 @@ GetVoiceConnectorStreamingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorTermination.go.snap b/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorTermination.go.snap index 8c0c01c7099..a9be311a900 100644 --- a/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorTermination.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorTermination.go.snap @@ -14,7 +14,6 @@ GetVoiceConnectorTermination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorTerminationHealth.go.snap b/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorTerminationHealth.go.snap index 0399840f78b..4a15d8625cb 100644 --- a/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorTerminationHealth.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_GetVoiceConnectorTerminationHealth.go.snap @@ -14,7 +14,6 @@ GetVoiceConnectorTerminationHealth Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_GetVoiceProfile.go.snap b/service/chimesdkvoice/snapshot/api_op_GetVoiceProfile.go.snap index ef26b7eb6bf..9ca5e968791 100644 --- a/service/chimesdkvoice/snapshot/api_op_GetVoiceProfile.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_GetVoiceProfile.go.snap @@ -14,7 +14,6 @@ GetVoiceProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_GetVoiceProfileDomain.go.snap b/service/chimesdkvoice/snapshot/api_op_GetVoiceProfileDomain.go.snap index aaee58f9518..313710698ef 100644 --- a/service/chimesdkvoice/snapshot/api_op_GetVoiceProfileDomain.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_GetVoiceProfileDomain.go.snap @@ -14,7 +14,6 @@ GetVoiceProfileDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_GetVoiceToneAnalysisTask.go.snap b/service/chimesdkvoice/snapshot/api_op_GetVoiceToneAnalysisTask.go.snap index da977468694..5cded7bc5d6 100644 --- a/service/chimesdkvoice/snapshot/api_op_GetVoiceToneAnalysisTask.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_GetVoiceToneAnalysisTask.go.snap @@ -14,7 +14,6 @@ GetVoiceToneAnalysisTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_ListAvailableVoiceConnectorRegions.go.snap b/service/chimesdkvoice/snapshot/api_op_ListAvailableVoiceConnectorRegions.go.snap index ce179cbcfa1..68015df2a70 100644 --- a/service/chimesdkvoice/snapshot/api_op_ListAvailableVoiceConnectorRegions.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_ListAvailableVoiceConnectorRegions.go.snap @@ -13,7 +13,6 @@ ListAvailableVoiceConnectorRegions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_ListPhoneNumberOrders.go.snap b/service/chimesdkvoice/snapshot/api_op_ListPhoneNumberOrders.go.snap index e9ae6f6c578..bf2a2ace989 100644 --- a/service/chimesdkvoice/snapshot/api_op_ListPhoneNumberOrders.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_ListPhoneNumberOrders.go.snap @@ -13,7 +13,6 @@ ListPhoneNumberOrders Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_ListPhoneNumbers.go.snap b/service/chimesdkvoice/snapshot/api_op_ListPhoneNumbers.go.snap index 635538a574f..530e7b4bff3 100644 --- a/service/chimesdkvoice/snapshot/api_op_ListPhoneNumbers.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_ListPhoneNumbers.go.snap @@ -13,7 +13,6 @@ ListPhoneNumbers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_ListProxySessions.go.snap b/service/chimesdkvoice/snapshot/api_op_ListProxySessions.go.snap index be49696f99e..898c06d3096 100644 --- a/service/chimesdkvoice/snapshot/api_op_ListProxySessions.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_ListProxySessions.go.snap @@ -14,7 +14,6 @@ ListProxySessions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_ListSipMediaApplications.go.snap b/service/chimesdkvoice/snapshot/api_op_ListSipMediaApplications.go.snap index c949bd22060..ced0d72d5c8 100644 --- a/service/chimesdkvoice/snapshot/api_op_ListSipMediaApplications.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_ListSipMediaApplications.go.snap @@ -13,7 +13,6 @@ ListSipMediaApplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_ListSipRules.go.snap b/service/chimesdkvoice/snapshot/api_op_ListSipRules.go.snap index 99028dec72f..72d5677f3f9 100644 --- a/service/chimesdkvoice/snapshot/api_op_ListSipRules.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_ListSipRules.go.snap @@ -13,7 +13,6 @@ ListSipRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_ListSupportedPhoneNumberCountries.go.snap b/service/chimesdkvoice/snapshot/api_op_ListSupportedPhoneNumberCountries.go.snap index fb6e99ea36f..f6855c2aec7 100644 --- a/service/chimesdkvoice/snapshot/api_op_ListSupportedPhoneNumberCountries.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_ListSupportedPhoneNumberCountries.go.snap @@ -14,7 +14,6 @@ ListSupportedPhoneNumberCountries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_ListTagsForResource.go.snap b/service/chimesdkvoice/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/chimesdkvoice/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_ListVoiceConnectorGroups.go.snap b/service/chimesdkvoice/snapshot/api_op_ListVoiceConnectorGroups.go.snap index 09191957e6a..5f2406926bf 100644 --- a/service/chimesdkvoice/snapshot/api_op_ListVoiceConnectorGroups.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_ListVoiceConnectorGroups.go.snap @@ -13,7 +13,6 @@ ListVoiceConnectorGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_ListVoiceConnectorTerminationCredentials.go.snap b/service/chimesdkvoice/snapshot/api_op_ListVoiceConnectorTerminationCredentials.go.snap index f5dafcd3745..ff55be88289 100644 --- a/service/chimesdkvoice/snapshot/api_op_ListVoiceConnectorTerminationCredentials.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_ListVoiceConnectorTerminationCredentials.go.snap @@ -14,7 +14,6 @@ ListVoiceConnectorTerminationCredentials Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_ListVoiceConnectors.go.snap b/service/chimesdkvoice/snapshot/api_op_ListVoiceConnectors.go.snap index 8d9b81517a7..d53065ebb90 100644 --- a/service/chimesdkvoice/snapshot/api_op_ListVoiceConnectors.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_ListVoiceConnectors.go.snap @@ -13,7 +13,6 @@ ListVoiceConnectors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_ListVoiceProfileDomains.go.snap b/service/chimesdkvoice/snapshot/api_op_ListVoiceProfileDomains.go.snap index 097298ba19c..de0909c1b51 100644 --- a/service/chimesdkvoice/snapshot/api_op_ListVoiceProfileDomains.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_ListVoiceProfileDomains.go.snap @@ -13,7 +13,6 @@ ListVoiceProfileDomains Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_ListVoiceProfiles.go.snap b/service/chimesdkvoice/snapshot/api_op_ListVoiceProfiles.go.snap index 437d1708bdc..bc68aa1fd4e 100644 --- a/service/chimesdkvoice/snapshot/api_op_ListVoiceProfiles.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_ListVoiceProfiles.go.snap @@ -14,7 +14,6 @@ ListVoiceProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_PutSipMediaApplicationAlexaSkillConfiguration.go.snap b/service/chimesdkvoice/snapshot/api_op_PutSipMediaApplicationAlexaSkillConfiguration.go.snap index fd232e8b417..9f32e454902 100644 --- a/service/chimesdkvoice/snapshot/api_op_PutSipMediaApplicationAlexaSkillConfiguration.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_PutSipMediaApplicationAlexaSkillConfiguration.go.snap @@ -14,7 +14,6 @@ PutSipMediaApplicationAlexaSkillConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_PutSipMediaApplicationLoggingConfiguration.go.snap b/service/chimesdkvoice/snapshot/api_op_PutSipMediaApplicationLoggingConfiguration.go.snap index 63c074437d2..1b11c7a0fc1 100644 --- a/service/chimesdkvoice/snapshot/api_op_PutSipMediaApplicationLoggingConfiguration.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_PutSipMediaApplicationLoggingConfiguration.go.snap @@ -14,7 +14,6 @@ PutSipMediaApplicationLoggingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_PutVoiceConnectorEmergencyCallingConfiguration.go.snap b/service/chimesdkvoice/snapshot/api_op_PutVoiceConnectorEmergencyCallingConfiguration.go.snap index 98e03120620..1a408d908b4 100644 --- a/service/chimesdkvoice/snapshot/api_op_PutVoiceConnectorEmergencyCallingConfiguration.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_PutVoiceConnectorEmergencyCallingConfiguration.go.snap @@ -14,7 +14,6 @@ PutVoiceConnectorEmergencyCallingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_PutVoiceConnectorExternalSystemsConfiguration.go.snap b/service/chimesdkvoice/snapshot/api_op_PutVoiceConnectorExternalSystemsConfiguration.go.snap index 8ef667f32f6..3cc4ea4bddc 100644 --- a/service/chimesdkvoice/snapshot/api_op_PutVoiceConnectorExternalSystemsConfiguration.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_PutVoiceConnectorExternalSystemsConfiguration.go.snap @@ -14,7 +14,6 @@ PutVoiceConnectorExternalSystemsConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_PutVoiceConnectorLoggingConfiguration.go.snap b/service/chimesdkvoice/snapshot/api_op_PutVoiceConnectorLoggingConfiguration.go.snap index 0aa6a95d05e..a5e1a37c2c1 100644 --- a/service/chimesdkvoice/snapshot/api_op_PutVoiceConnectorLoggingConfiguration.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_PutVoiceConnectorLoggingConfiguration.go.snap @@ -14,7 +14,6 @@ PutVoiceConnectorLoggingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_PutVoiceConnectorOrigination.go.snap b/service/chimesdkvoice/snapshot/api_op_PutVoiceConnectorOrigination.go.snap index 271243a4095..f0577c6ea9c 100644 --- a/service/chimesdkvoice/snapshot/api_op_PutVoiceConnectorOrigination.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_PutVoiceConnectorOrigination.go.snap @@ -14,7 +14,6 @@ PutVoiceConnectorOrigination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_PutVoiceConnectorProxy.go.snap b/service/chimesdkvoice/snapshot/api_op_PutVoiceConnectorProxy.go.snap index f3c5d0c72f1..251719e86b8 100644 --- a/service/chimesdkvoice/snapshot/api_op_PutVoiceConnectorProxy.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_PutVoiceConnectorProxy.go.snap @@ -14,7 +14,6 @@ PutVoiceConnectorProxy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_PutVoiceConnectorStreamingConfiguration.go.snap b/service/chimesdkvoice/snapshot/api_op_PutVoiceConnectorStreamingConfiguration.go.snap index 445aa85d457..35d200a75fb 100644 --- a/service/chimesdkvoice/snapshot/api_op_PutVoiceConnectorStreamingConfiguration.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_PutVoiceConnectorStreamingConfiguration.go.snap @@ -14,7 +14,6 @@ PutVoiceConnectorStreamingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_PutVoiceConnectorTermination.go.snap b/service/chimesdkvoice/snapshot/api_op_PutVoiceConnectorTermination.go.snap index dddc5ae480c..24cf370171e 100644 --- a/service/chimesdkvoice/snapshot/api_op_PutVoiceConnectorTermination.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_PutVoiceConnectorTermination.go.snap @@ -14,7 +14,6 @@ PutVoiceConnectorTermination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_PutVoiceConnectorTerminationCredentials.go.snap b/service/chimesdkvoice/snapshot/api_op_PutVoiceConnectorTerminationCredentials.go.snap index c0f278ddfb7..633838bd8b6 100644 --- a/service/chimesdkvoice/snapshot/api_op_PutVoiceConnectorTerminationCredentials.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_PutVoiceConnectorTerminationCredentials.go.snap @@ -14,7 +14,6 @@ PutVoiceConnectorTerminationCredentials Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_RestorePhoneNumber.go.snap b/service/chimesdkvoice/snapshot/api_op_RestorePhoneNumber.go.snap index 861a7c6e239..5a1e6742c04 100644 --- a/service/chimesdkvoice/snapshot/api_op_RestorePhoneNumber.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_RestorePhoneNumber.go.snap @@ -14,7 +14,6 @@ RestorePhoneNumber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_SearchAvailablePhoneNumbers.go.snap b/service/chimesdkvoice/snapshot/api_op_SearchAvailablePhoneNumbers.go.snap index 2523f9df1ba..99b31ab2278 100644 --- a/service/chimesdkvoice/snapshot/api_op_SearchAvailablePhoneNumbers.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_SearchAvailablePhoneNumbers.go.snap @@ -13,7 +13,6 @@ SearchAvailablePhoneNumbers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_StartSpeakerSearchTask.go.snap b/service/chimesdkvoice/snapshot/api_op_StartSpeakerSearchTask.go.snap index c74ffa77904..950508be28e 100644 --- a/service/chimesdkvoice/snapshot/api_op_StartSpeakerSearchTask.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_StartSpeakerSearchTask.go.snap @@ -14,7 +14,6 @@ StartSpeakerSearchTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_StartVoiceToneAnalysisTask.go.snap b/service/chimesdkvoice/snapshot/api_op_StartVoiceToneAnalysisTask.go.snap index a4839007860..dfb1127c19a 100644 --- a/service/chimesdkvoice/snapshot/api_op_StartVoiceToneAnalysisTask.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_StartVoiceToneAnalysisTask.go.snap @@ -14,7 +14,6 @@ StartVoiceToneAnalysisTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_StopSpeakerSearchTask.go.snap b/service/chimesdkvoice/snapshot/api_op_StopSpeakerSearchTask.go.snap index 8cafdf7de21..0238f0076cd 100644 --- a/service/chimesdkvoice/snapshot/api_op_StopSpeakerSearchTask.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_StopSpeakerSearchTask.go.snap @@ -14,7 +14,6 @@ StopSpeakerSearchTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_StopVoiceToneAnalysisTask.go.snap b/service/chimesdkvoice/snapshot/api_op_StopVoiceToneAnalysisTask.go.snap index 89a1e11940d..7490466e03f 100644 --- a/service/chimesdkvoice/snapshot/api_op_StopVoiceToneAnalysisTask.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_StopVoiceToneAnalysisTask.go.snap @@ -14,7 +14,6 @@ StopVoiceToneAnalysisTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_TagResource.go.snap b/service/chimesdkvoice/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/chimesdkvoice/snapshot/api_op_TagResource.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_UntagResource.go.snap b/service/chimesdkvoice/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/chimesdkvoice/snapshot/api_op_UntagResource.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_UpdateGlobalSettings.go.snap b/service/chimesdkvoice/snapshot/api_op_UpdateGlobalSettings.go.snap index 3163e3d4a3b..276f741cb85 100644 --- a/service/chimesdkvoice/snapshot/api_op_UpdateGlobalSettings.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_UpdateGlobalSettings.go.snap @@ -13,7 +13,6 @@ UpdateGlobalSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_UpdatePhoneNumber.go.snap b/service/chimesdkvoice/snapshot/api_op_UpdatePhoneNumber.go.snap index ea27f48ae8a..5bd3b027498 100644 --- a/service/chimesdkvoice/snapshot/api_op_UpdatePhoneNumber.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_UpdatePhoneNumber.go.snap @@ -14,7 +14,6 @@ UpdatePhoneNumber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_UpdatePhoneNumberSettings.go.snap b/service/chimesdkvoice/snapshot/api_op_UpdatePhoneNumberSettings.go.snap index da4f5cb9b61..0e561e30208 100644 --- a/service/chimesdkvoice/snapshot/api_op_UpdatePhoneNumberSettings.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_UpdatePhoneNumberSettings.go.snap @@ -14,7 +14,6 @@ UpdatePhoneNumberSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_UpdateProxySession.go.snap b/service/chimesdkvoice/snapshot/api_op_UpdateProxySession.go.snap index 7d77cee3b30..df95b6620cb 100644 --- a/service/chimesdkvoice/snapshot/api_op_UpdateProxySession.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_UpdateProxySession.go.snap @@ -14,7 +14,6 @@ UpdateProxySession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_UpdateSipMediaApplication.go.snap b/service/chimesdkvoice/snapshot/api_op_UpdateSipMediaApplication.go.snap index 17d3e6f7df4..6f62e2b2ca0 100644 --- a/service/chimesdkvoice/snapshot/api_op_UpdateSipMediaApplication.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_UpdateSipMediaApplication.go.snap @@ -14,7 +14,6 @@ UpdateSipMediaApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_UpdateSipMediaApplicationCall.go.snap b/service/chimesdkvoice/snapshot/api_op_UpdateSipMediaApplicationCall.go.snap index 8ebd276b1ec..05f63965fb7 100644 --- a/service/chimesdkvoice/snapshot/api_op_UpdateSipMediaApplicationCall.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_UpdateSipMediaApplicationCall.go.snap @@ -14,7 +14,6 @@ UpdateSipMediaApplicationCall Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_UpdateSipRule.go.snap b/service/chimesdkvoice/snapshot/api_op_UpdateSipRule.go.snap index bfc42be8f41..a4be3ecca72 100644 --- a/service/chimesdkvoice/snapshot/api_op_UpdateSipRule.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_UpdateSipRule.go.snap @@ -14,7 +14,6 @@ UpdateSipRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_UpdateVoiceConnector.go.snap b/service/chimesdkvoice/snapshot/api_op_UpdateVoiceConnector.go.snap index d1724b45631..87628283579 100644 --- a/service/chimesdkvoice/snapshot/api_op_UpdateVoiceConnector.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_UpdateVoiceConnector.go.snap @@ -14,7 +14,6 @@ UpdateVoiceConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_UpdateVoiceConnectorGroup.go.snap b/service/chimesdkvoice/snapshot/api_op_UpdateVoiceConnectorGroup.go.snap index f3892cb6f81..04569504bff 100644 --- a/service/chimesdkvoice/snapshot/api_op_UpdateVoiceConnectorGroup.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_UpdateVoiceConnectorGroup.go.snap @@ -14,7 +14,6 @@ UpdateVoiceConnectorGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_UpdateVoiceProfile.go.snap b/service/chimesdkvoice/snapshot/api_op_UpdateVoiceProfile.go.snap index 9be67db1b49..e2950f89728 100644 --- a/service/chimesdkvoice/snapshot/api_op_UpdateVoiceProfile.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_UpdateVoiceProfile.go.snap @@ -14,7 +14,6 @@ UpdateVoiceProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_UpdateVoiceProfileDomain.go.snap b/service/chimesdkvoice/snapshot/api_op_UpdateVoiceProfileDomain.go.snap index 7cfd8a01500..82bfe9e9dc2 100644 --- a/service/chimesdkvoice/snapshot/api_op_UpdateVoiceProfileDomain.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_UpdateVoiceProfileDomain.go.snap @@ -14,7 +14,6 @@ UpdateVoiceProfileDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/chimesdkvoice/snapshot/api_op_ValidateE911Address.go.snap b/service/chimesdkvoice/snapshot/api_op_ValidateE911Address.go.snap index 7029697a1c9..f8c3645e34d 100644 --- a/service/chimesdkvoice/snapshot/api_op_ValidateE911Address.go.snap +++ b/service/chimesdkvoice/snapshot/api_op_ValidateE911Address.go.snap @@ -14,7 +14,6 @@ ValidateE911Address Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/api_client.go b/service/cleanrooms/api_client.go index 466ed0e075b..c8999ba5221 100644 --- a/service/cleanrooms/api_client.go +++ b/service/cleanrooms/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/cleanrooms/api_op_BatchGetCollaborationAnalysisTemplate.go b/service/cleanrooms/api_op_BatchGetCollaborationAnalysisTemplate.go index cea391f63ca..a7c54faa1c6 100644 --- a/service/cleanrooms/api_op_BatchGetCollaborationAnalysisTemplate.go +++ b/service/cleanrooms/api_op_BatchGetCollaborationAnalysisTemplate.go @@ -129,9 +129,6 @@ func (c *Client) addOperationBatchGetCollaborationAnalysisTemplateMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetCollaborationAnalysisTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_BatchGetSchema.go b/service/cleanrooms/api_op_BatchGetSchema.go index eb15a07dc1c..28d0d05bfc9 100644 --- a/service/cleanrooms/api_op_BatchGetSchema.go +++ b/service/cleanrooms/api_op_BatchGetSchema.go @@ -126,9 +126,6 @@ func (c *Client) addOperationBatchGetSchemaMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetSchemaValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_BatchGetSchemaAnalysisRule.go b/service/cleanrooms/api_op_BatchGetSchemaAnalysisRule.go index 476459aed13..76c6812fc50 100644 --- a/service/cleanrooms/api_op_BatchGetSchemaAnalysisRule.go +++ b/service/cleanrooms/api_op_BatchGetSchemaAnalysisRule.go @@ -126,9 +126,6 @@ func (c *Client) addOperationBatchGetSchemaAnalysisRuleMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetSchemaAnalysisRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_CreateAnalysisTemplate.go b/service/cleanrooms/api_op_CreateAnalysisTemplate.go index c80b8a25b8d..d29c8baf836 100644 --- a/service/cleanrooms/api_op_CreateAnalysisTemplate.go +++ b/service/cleanrooms/api_op_CreateAnalysisTemplate.go @@ -142,9 +142,6 @@ func (c *Client) addOperationCreateAnalysisTemplateMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAnalysisTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_CreateCollaboration.go b/service/cleanrooms/api_op_CreateCollaboration.go index 3e8c729c6b3..cc9d83f57f8 100644 --- a/service/cleanrooms/api_op_CreateCollaboration.go +++ b/service/cleanrooms/api_op_CreateCollaboration.go @@ -168,9 +168,6 @@ func (c *Client) addOperationCreateCollaborationMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCollaborationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_CreateConfiguredAudienceModelAssociation.go b/service/cleanrooms/api_op_CreateConfiguredAudienceModelAssociation.go index f49a63f1375..d283d589b5a 100644 --- a/service/cleanrooms/api_op_CreateConfiguredAudienceModelAssociation.go +++ b/service/cleanrooms/api_op_CreateConfiguredAudienceModelAssociation.go @@ -151,9 +151,6 @@ func (c *Client) addOperationCreateConfiguredAudienceModelAssociationMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConfiguredAudienceModelAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_CreateConfiguredTable.go b/service/cleanrooms/api_op_CreateConfiguredTable.go index 45bf1c15499..75512b04703 100644 --- a/service/cleanrooms/api_op_CreateConfiguredTable.go +++ b/service/cleanrooms/api_op_CreateConfiguredTable.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreateConfiguredTableMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConfiguredTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_CreateConfiguredTableAnalysisRule.go b/service/cleanrooms/api_op_CreateConfiguredTableAnalysisRule.go index be385b973b1..d21dba5f6be 100644 --- a/service/cleanrooms/api_op_CreateConfiguredTableAnalysisRule.go +++ b/service/cleanrooms/api_op_CreateConfiguredTableAnalysisRule.go @@ -126,9 +126,6 @@ func (c *Client) addOperationCreateConfiguredTableAnalysisRuleMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConfiguredTableAnalysisRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_CreateConfiguredTableAssociation.go b/service/cleanrooms/api_op_CreateConfiguredTableAssociation.go index 4fc3fd88d2b..6609034f7ee 100644 --- a/service/cleanrooms/api_op_CreateConfiguredTableAssociation.go +++ b/service/cleanrooms/api_op_CreateConfiguredTableAssociation.go @@ -144,9 +144,6 @@ func (c *Client) addOperationCreateConfiguredTableAssociationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConfiguredTableAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_CreateConfiguredTableAssociationAnalysisRule.go b/service/cleanrooms/api_op_CreateConfiguredTableAssociationAnalysisRule.go index 998114ec8b2..c0b2015a1b2 100644 --- a/service/cleanrooms/api_op_CreateConfiguredTableAssociationAnalysisRule.go +++ b/service/cleanrooms/api_op_CreateConfiguredTableAssociationAnalysisRule.go @@ -133,9 +133,6 @@ func (c *Client) addOperationCreateConfiguredTableAssociationAnalysisRuleMiddlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConfiguredTableAssociationAnalysisRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_CreateIdMappingTable.go b/service/cleanrooms/api_op_CreateIdMappingTable.go index 029a4fb3660..351dccee9e2 100644 --- a/service/cleanrooms/api_op_CreateIdMappingTable.go +++ b/service/cleanrooms/api_op_CreateIdMappingTable.go @@ -137,9 +137,6 @@ func (c *Client) addOperationCreateIdMappingTableMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateIdMappingTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_CreateIdNamespaceAssociation.go b/service/cleanrooms/api_op_CreateIdNamespaceAssociation.go index 027ad1195a9..2ff2ec3624a 100644 --- a/service/cleanrooms/api_op_CreateIdNamespaceAssociation.go +++ b/service/cleanrooms/api_op_CreateIdNamespaceAssociation.go @@ -137,9 +137,6 @@ func (c *Client) addOperationCreateIdNamespaceAssociationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateIdNamespaceAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_CreateMembership.go b/service/cleanrooms/api_op_CreateMembership.go index 418ea655612..0bc763242ba 100644 --- a/service/cleanrooms/api_op_CreateMembership.go +++ b/service/cleanrooms/api_op_CreateMembership.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateMembershipMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateMembershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_CreatePrivacyBudgetTemplate.go b/service/cleanrooms/api_op_CreatePrivacyBudgetTemplate.go index f8e68482907..481e6ebc7e0 100644 --- a/service/cleanrooms/api_op_CreatePrivacyBudgetTemplate.go +++ b/service/cleanrooms/api_op_CreatePrivacyBudgetTemplate.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCreatePrivacyBudgetTemplateMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePrivacyBudgetTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_DeleteAnalysisTemplate.go b/service/cleanrooms/api_op_DeleteAnalysisTemplate.go index 9fce925d167..1cbfcc6ea2b 100644 --- a/service/cleanrooms/api_op_DeleteAnalysisTemplate.go +++ b/service/cleanrooms/api_op_DeleteAnalysisTemplate.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteAnalysisTemplateMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAnalysisTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_DeleteCollaboration.go b/service/cleanrooms/api_op_DeleteCollaboration.go index 86ab3564195..637110cf43f 100644 --- a/service/cleanrooms/api_op_DeleteCollaboration.go +++ b/service/cleanrooms/api_op_DeleteCollaboration.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteCollaborationMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCollaborationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_DeleteConfiguredAudienceModelAssociation.go b/service/cleanrooms/api_op_DeleteConfiguredAudienceModelAssociation.go index 21bf7f941e5..c714a2da4c8 100644 --- a/service/cleanrooms/api_op_DeleteConfiguredAudienceModelAssociation.go +++ b/service/cleanrooms/api_op_DeleteConfiguredAudienceModelAssociation.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteConfiguredAudienceModelAssociationMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConfiguredAudienceModelAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_DeleteConfiguredTable.go b/service/cleanrooms/api_op_DeleteConfiguredTable.go index a9e92952d3f..7a607fbe038 100644 --- a/service/cleanrooms/api_op_DeleteConfiguredTable.go +++ b/service/cleanrooms/api_op_DeleteConfiguredTable.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteConfiguredTableMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConfiguredTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_DeleteConfiguredTableAnalysisRule.go b/service/cleanrooms/api_op_DeleteConfiguredTableAnalysisRule.go index 0c468179614..b561af91616 100644 --- a/service/cleanrooms/api_op_DeleteConfiguredTableAnalysisRule.go +++ b/service/cleanrooms/api_op_DeleteConfiguredTableAnalysisRule.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteConfiguredTableAnalysisRuleMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConfiguredTableAnalysisRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_DeleteConfiguredTableAssociation.go b/service/cleanrooms/api_op_DeleteConfiguredTableAssociation.go index 271099d4de4..26d49096a06 100644 --- a/service/cleanrooms/api_op_DeleteConfiguredTableAssociation.go +++ b/service/cleanrooms/api_op_DeleteConfiguredTableAssociation.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteConfiguredTableAssociationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConfiguredTableAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_DeleteConfiguredTableAssociationAnalysisRule.go b/service/cleanrooms/api_op_DeleteConfiguredTableAssociationAnalysisRule.go index 585d2447793..6d5e2f96e72 100644 --- a/service/cleanrooms/api_op_DeleteConfiguredTableAssociationAnalysisRule.go +++ b/service/cleanrooms/api_op_DeleteConfiguredTableAssociationAnalysisRule.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteConfiguredTableAssociationAnalysisRuleMiddlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConfiguredTableAssociationAnalysisRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_DeleteIdMappingTable.go b/service/cleanrooms/api_op_DeleteIdMappingTable.go index ae1fd9a5e43..37f100681e3 100644 --- a/service/cleanrooms/api_op_DeleteIdMappingTable.go +++ b/service/cleanrooms/api_op_DeleteIdMappingTable.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteIdMappingTableMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIdMappingTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_DeleteIdNamespaceAssociation.go b/service/cleanrooms/api_op_DeleteIdNamespaceAssociation.go index 4b029026162..f52a824f206 100644 --- a/service/cleanrooms/api_op_DeleteIdNamespaceAssociation.go +++ b/service/cleanrooms/api_op_DeleteIdNamespaceAssociation.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteIdNamespaceAssociationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIdNamespaceAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_DeleteMember.go b/service/cleanrooms/api_op_DeleteMember.go index d309426d5cd..2623062ff4d 100644 --- a/service/cleanrooms/api_op_DeleteMember.go +++ b/service/cleanrooms/api_op_DeleteMember.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteMemberMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMemberValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_DeleteMembership.go b/service/cleanrooms/api_op_DeleteMembership.go index 1879e3de6e0..3eb743a5cf8 100644 --- a/service/cleanrooms/api_op_DeleteMembership.go +++ b/service/cleanrooms/api_op_DeleteMembership.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteMembershipMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMembershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_DeletePrivacyBudgetTemplate.go b/service/cleanrooms/api_op_DeletePrivacyBudgetTemplate.go index d86c526ebfc..9e5d51e4bad 100644 --- a/service/cleanrooms/api_op_DeletePrivacyBudgetTemplate.go +++ b/service/cleanrooms/api_op_DeletePrivacyBudgetTemplate.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeletePrivacyBudgetTemplateMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePrivacyBudgetTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_GetAnalysisTemplate.go b/service/cleanrooms/api_op_GetAnalysisTemplate.go index 552dd67489e..a2b00303c8b 100644 --- a/service/cleanrooms/api_op_GetAnalysisTemplate.go +++ b/service/cleanrooms/api_op_GetAnalysisTemplate.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetAnalysisTemplateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAnalysisTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_GetCollaboration.go b/service/cleanrooms/api_op_GetCollaboration.go index 329ce98ad7e..59ef13fcbdc 100644 --- a/service/cleanrooms/api_op_GetCollaboration.go +++ b/service/cleanrooms/api_op_GetCollaboration.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetCollaborationMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCollaborationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_GetCollaborationAnalysisTemplate.go b/service/cleanrooms/api_op_GetCollaborationAnalysisTemplate.go index c2245bccc66..65fed68b3ff 100644 --- a/service/cleanrooms/api_op_GetCollaborationAnalysisTemplate.go +++ b/service/cleanrooms/api_op_GetCollaborationAnalysisTemplate.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetCollaborationAnalysisTemplateMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCollaborationAnalysisTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_GetCollaborationConfiguredAudienceModelAssociation.go b/service/cleanrooms/api_op_GetCollaborationConfiguredAudienceModelAssociation.go index 9865db64fd7..fbc0b24eca3 100644 --- a/service/cleanrooms/api_op_GetCollaborationConfiguredAudienceModelAssociation.go +++ b/service/cleanrooms/api_op_GetCollaborationConfiguredAudienceModelAssociation.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetCollaborationConfiguredAudienceModelAssociationM if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCollaborationConfiguredAudienceModelAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_GetCollaborationIdNamespaceAssociation.go b/service/cleanrooms/api_op_GetCollaborationIdNamespaceAssociation.go index 6846fbbd9fe..dc88272b5c9 100644 --- a/service/cleanrooms/api_op_GetCollaborationIdNamespaceAssociation.go +++ b/service/cleanrooms/api_op_GetCollaborationIdNamespaceAssociation.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetCollaborationIdNamespaceAssociationMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCollaborationIdNamespaceAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_GetCollaborationPrivacyBudgetTemplate.go b/service/cleanrooms/api_op_GetCollaborationPrivacyBudgetTemplate.go index cb06c35db0e..27dab06dc8d 100644 --- a/service/cleanrooms/api_op_GetCollaborationPrivacyBudgetTemplate.go +++ b/service/cleanrooms/api_op_GetCollaborationPrivacyBudgetTemplate.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetCollaborationPrivacyBudgetTemplateMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCollaborationPrivacyBudgetTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_GetConfiguredAudienceModelAssociation.go b/service/cleanrooms/api_op_GetConfiguredAudienceModelAssociation.go index 6dc21247883..d78ae697a4b 100644 --- a/service/cleanrooms/api_op_GetConfiguredAudienceModelAssociation.go +++ b/service/cleanrooms/api_op_GetConfiguredAudienceModelAssociation.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetConfiguredAudienceModelAssociationMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConfiguredAudienceModelAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_GetConfiguredTable.go b/service/cleanrooms/api_op_GetConfiguredTable.go index fc63e61d3e8..86de9b1ea76 100644 --- a/service/cleanrooms/api_op_GetConfiguredTable.go +++ b/service/cleanrooms/api_op_GetConfiguredTable.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetConfiguredTableMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConfiguredTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_GetConfiguredTableAnalysisRule.go b/service/cleanrooms/api_op_GetConfiguredTableAnalysisRule.go index 1b9fc1663ce..f721db7e274 100644 --- a/service/cleanrooms/api_op_GetConfiguredTableAnalysisRule.go +++ b/service/cleanrooms/api_op_GetConfiguredTableAnalysisRule.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetConfiguredTableAnalysisRuleMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConfiguredTableAnalysisRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_GetConfiguredTableAssociation.go b/service/cleanrooms/api_op_GetConfiguredTableAssociation.go index f67aaec4e56..b1ffb59b5c2 100644 --- a/service/cleanrooms/api_op_GetConfiguredTableAssociation.go +++ b/service/cleanrooms/api_op_GetConfiguredTableAssociation.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetConfiguredTableAssociationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConfiguredTableAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_GetConfiguredTableAssociationAnalysisRule.go b/service/cleanrooms/api_op_GetConfiguredTableAssociationAnalysisRule.go index d3ae61eb5d7..cfe08b1b42c 100644 --- a/service/cleanrooms/api_op_GetConfiguredTableAssociationAnalysisRule.go +++ b/service/cleanrooms/api_op_GetConfiguredTableAssociationAnalysisRule.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetConfiguredTableAssociationAnalysisRuleMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConfiguredTableAssociationAnalysisRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_GetIdMappingTable.go b/service/cleanrooms/api_op_GetIdMappingTable.go index 0213188dd31..fa44bbfda5b 100644 --- a/service/cleanrooms/api_op_GetIdMappingTable.go +++ b/service/cleanrooms/api_op_GetIdMappingTable.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetIdMappingTableMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIdMappingTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_GetIdNamespaceAssociation.go b/service/cleanrooms/api_op_GetIdNamespaceAssociation.go index a5f17b1657d..da0a539fb09 100644 --- a/service/cleanrooms/api_op_GetIdNamespaceAssociation.go +++ b/service/cleanrooms/api_op_GetIdNamespaceAssociation.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetIdNamespaceAssociationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIdNamespaceAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_GetMembership.go b/service/cleanrooms/api_op_GetMembership.go index cc6ef812bdb..8937916615a 100644 --- a/service/cleanrooms/api_op_GetMembership.go +++ b/service/cleanrooms/api_op_GetMembership.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetMembershipMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMembershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_GetPrivacyBudgetTemplate.go b/service/cleanrooms/api_op_GetPrivacyBudgetTemplate.go index 12a268685d0..234e87abf34 100644 --- a/service/cleanrooms/api_op_GetPrivacyBudgetTemplate.go +++ b/service/cleanrooms/api_op_GetPrivacyBudgetTemplate.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetPrivacyBudgetTemplateMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPrivacyBudgetTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_GetProtectedQuery.go b/service/cleanrooms/api_op_GetProtectedQuery.go index 21888bcc181..54518826ad5 100644 --- a/service/cleanrooms/api_op_GetProtectedQuery.go +++ b/service/cleanrooms/api_op_GetProtectedQuery.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetProtectedQueryMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetProtectedQueryValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_GetSchema.go b/service/cleanrooms/api_op_GetSchema.go index fc8a5080a48..fd9d6880d59 100644 --- a/service/cleanrooms/api_op_GetSchema.go +++ b/service/cleanrooms/api_op_GetSchema.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetSchemaMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSchemaValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_GetSchemaAnalysisRule.go b/service/cleanrooms/api_op_GetSchemaAnalysisRule.go index 77d0534fc1a..6a9f32446bc 100644 --- a/service/cleanrooms/api_op_GetSchemaAnalysisRule.go +++ b/service/cleanrooms/api_op_GetSchemaAnalysisRule.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetSchemaAnalysisRuleMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSchemaAnalysisRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_ListAnalysisTemplates.go b/service/cleanrooms/api_op_ListAnalysisTemplates.go index 81d2e26e283..1735b65a80e 100644 --- a/service/cleanrooms/api_op_ListAnalysisTemplates.go +++ b/service/cleanrooms/api_op_ListAnalysisTemplates.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListAnalysisTemplatesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAnalysisTemplatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_ListCollaborationAnalysisTemplates.go b/service/cleanrooms/api_op_ListCollaborationAnalysisTemplates.go index 6aaa5c34ce2..6c7b451fe8b 100644 --- a/service/cleanrooms/api_op_ListCollaborationAnalysisTemplates.go +++ b/service/cleanrooms/api_op_ListCollaborationAnalysisTemplates.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListCollaborationAnalysisTemplatesMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCollaborationAnalysisTemplatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_ListCollaborationConfiguredAudienceModelAssociations.go b/service/cleanrooms/api_op_ListCollaborationConfiguredAudienceModelAssociations.go index cf40ea670d9..b12f4dc43ec 100644 --- a/service/cleanrooms/api_op_ListCollaborationConfiguredAudienceModelAssociations.go +++ b/service/cleanrooms/api_op_ListCollaborationConfiguredAudienceModelAssociations.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListCollaborationConfiguredAudienceModelAssociation if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCollaborationConfiguredAudienceModelAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_ListCollaborationIdNamespaceAssociations.go b/service/cleanrooms/api_op_ListCollaborationIdNamespaceAssociations.go index 0f1d083159b..0fc23ffa825 100644 --- a/service/cleanrooms/api_op_ListCollaborationIdNamespaceAssociations.go +++ b/service/cleanrooms/api_op_ListCollaborationIdNamespaceAssociations.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListCollaborationIdNamespaceAssociationsMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCollaborationIdNamespaceAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_ListCollaborationPrivacyBudgetTemplates.go b/service/cleanrooms/api_op_ListCollaborationPrivacyBudgetTemplates.go index a2f44f9e5ed..5624b680676 100644 --- a/service/cleanrooms/api_op_ListCollaborationPrivacyBudgetTemplates.go +++ b/service/cleanrooms/api_op_ListCollaborationPrivacyBudgetTemplates.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListCollaborationPrivacyBudgetTemplatesMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCollaborationPrivacyBudgetTemplatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_ListCollaborationPrivacyBudgets.go b/service/cleanrooms/api_op_ListCollaborationPrivacyBudgets.go index ae5e3dc7763..3d49a483357 100644 --- a/service/cleanrooms/api_op_ListCollaborationPrivacyBudgets.go +++ b/service/cleanrooms/api_op_ListCollaborationPrivacyBudgets.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListCollaborationPrivacyBudgetsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCollaborationPrivacyBudgetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_ListCollaborations.go b/service/cleanrooms/api_op_ListCollaborations.go index dd5ca607c24..4fdedc6deb4 100644 --- a/service/cleanrooms/api_op_ListCollaborations.go +++ b/service/cleanrooms/api_op_ListCollaborations.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListCollaborationsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCollaborations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cleanrooms/api_op_ListConfiguredAudienceModelAssociations.go b/service/cleanrooms/api_op_ListConfiguredAudienceModelAssociations.go index 805b890fbcc..d73b0e5f34b 100644 --- a/service/cleanrooms/api_op_ListConfiguredAudienceModelAssociations.go +++ b/service/cleanrooms/api_op_ListConfiguredAudienceModelAssociations.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListConfiguredAudienceModelAssociationsMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListConfiguredAudienceModelAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_ListConfiguredTableAssociations.go b/service/cleanrooms/api_op_ListConfiguredTableAssociations.go index e6e095e6e99..718ff9c112a 100644 --- a/service/cleanrooms/api_op_ListConfiguredTableAssociations.go +++ b/service/cleanrooms/api_op_ListConfiguredTableAssociations.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListConfiguredTableAssociationsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListConfiguredTableAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_ListConfiguredTables.go b/service/cleanrooms/api_op_ListConfiguredTables.go index c3656c34475..889b2fc8279 100644 --- a/service/cleanrooms/api_op_ListConfiguredTables.go +++ b/service/cleanrooms/api_op_ListConfiguredTables.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListConfiguredTablesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConfiguredTables(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cleanrooms/api_op_ListIdMappingTables.go b/service/cleanrooms/api_op_ListIdMappingTables.go index 379f655e3ac..04989c8f417 100644 --- a/service/cleanrooms/api_op_ListIdMappingTables.go +++ b/service/cleanrooms/api_op_ListIdMappingTables.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListIdMappingTablesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIdMappingTablesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_ListIdNamespaceAssociations.go b/service/cleanrooms/api_op_ListIdNamespaceAssociations.go index 3e88e1a3056..db19c1c4063 100644 --- a/service/cleanrooms/api_op_ListIdNamespaceAssociations.go +++ b/service/cleanrooms/api_op_ListIdNamespaceAssociations.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListIdNamespaceAssociationsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIdNamespaceAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_ListMembers.go b/service/cleanrooms/api_op_ListMembers.go index 67863cf6785..a7389c28b8e 100644 --- a/service/cleanrooms/api_op_ListMembers.go +++ b/service/cleanrooms/api_op_ListMembers.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListMembersMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMembersValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_ListMemberships.go b/service/cleanrooms/api_op_ListMemberships.go index cef5c7fabcf..39a3982c1dd 100644 --- a/service/cleanrooms/api_op_ListMemberships.go +++ b/service/cleanrooms/api_op_ListMemberships.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListMembershipsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMemberships(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cleanrooms/api_op_ListPrivacyBudgetTemplates.go b/service/cleanrooms/api_op_ListPrivacyBudgetTemplates.go index 46df79085be..51ef347e316 100644 --- a/service/cleanrooms/api_op_ListPrivacyBudgetTemplates.go +++ b/service/cleanrooms/api_op_ListPrivacyBudgetTemplates.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListPrivacyBudgetTemplatesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPrivacyBudgetTemplatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_ListPrivacyBudgets.go b/service/cleanrooms/api_op_ListPrivacyBudgets.go index fef1704ba99..efd47879f7e 100644 --- a/service/cleanrooms/api_op_ListPrivacyBudgets.go +++ b/service/cleanrooms/api_op_ListPrivacyBudgets.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListPrivacyBudgetsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPrivacyBudgetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_ListProtectedQueries.go b/service/cleanrooms/api_op_ListProtectedQueries.go index 01d1a0bb5bd..7565d5fe88a 100644 --- a/service/cleanrooms/api_op_ListProtectedQueries.go +++ b/service/cleanrooms/api_op_ListProtectedQueries.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListProtectedQueriesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListProtectedQueriesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_ListSchemas.go b/service/cleanrooms/api_op_ListSchemas.go index b5a458b8c65..b4136963ec3 100644 --- a/service/cleanrooms/api_op_ListSchemas.go +++ b/service/cleanrooms/api_op_ListSchemas.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListSchemasMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSchemasValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_ListTagsForResource.go b/service/cleanrooms/api_op_ListTagsForResource.go index 8014ce7a728..7f4760dacd1 100644 --- a/service/cleanrooms/api_op_ListTagsForResource.go +++ b/service/cleanrooms/api_op_ListTagsForResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_PopulateIdMappingTable.go b/service/cleanrooms/api_op_PopulateIdMappingTable.go index c387fd3ee5d..62f70cba282 100644 --- a/service/cleanrooms/api_op_PopulateIdMappingTable.go +++ b/service/cleanrooms/api_op_PopulateIdMappingTable.go @@ -120,9 +120,6 @@ func (c *Client) addOperationPopulateIdMappingTableMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPopulateIdMappingTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_PreviewPrivacyImpact.go b/service/cleanrooms/api_op_PreviewPrivacyImpact.go index b18552dc924..08bd0ae481a 100644 --- a/service/cleanrooms/api_op_PreviewPrivacyImpact.go +++ b/service/cleanrooms/api_op_PreviewPrivacyImpact.go @@ -123,9 +123,6 @@ func (c *Client) addOperationPreviewPrivacyImpactMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPreviewPrivacyImpactValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_StartProtectedQuery.go b/service/cleanrooms/api_op_StartProtectedQuery.go index c8f34d768dc..79e775e8587 100644 --- a/service/cleanrooms/api_op_StartProtectedQuery.go +++ b/service/cleanrooms/api_op_StartProtectedQuery.go @@ -131,9 +131,6 @@ func (c *Client) addOperationStartProtectedQueryMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartProtectedQueryValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_TagResource.go b/service/cleanrooms/api_op_TagResource.go index 3467b6b7445..feb7e4a0120 100644 --- a/service/cleanrooms/api_op_TagResource.go +++ b/service/cleanrooms/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_UntagResource.go b/service/cleanrooms/api_op_UntagResource.go index 416d781c746..1817857cb2d 100644 --- a/service/cleanrooms/api_op_UntagResource.go +++ b/service/cleanrooms/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_UpdateAnalysisTemplate.go b/service/cleanrooms/api_op_UpdateAnalysisTemplate.go index 2733e0e056e..a192f3578d6 100644 --- a/service/cleanrooms/api_op_UpdateAnalysisTemplate.go +++ b/service/cleanrooms/api_op_UpdateAnalysisTemplate.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateAnalysisTemplateMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAnalysisTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_UpdateCollaboration.go b/service/cleanrooms/api_op_UpdateCollaboration.go index b7891785782..ecf70d9ad62 100644 --- a/service/cleanrooms/api_op_UpdateCollaboration.go +++ b/service/cleanrooms/api_op_UpdateCollaboration.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateCollaborationMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCollaborationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_UpdateConfiguredAudienceModelAssociation.go b/service/cleanrooms/api_op_UpdateConfiguredAudienceModelAssociation.go index 03d112d55e9..96ce8697e2e 100644 --- a/service/cleanrooms/api_op_UpdateConfiguredAudienceModelAssociation.go +++ b/service/cleanrooms/api_op_UpdateConfiguredAudienceModelAssociation.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateConfiguredAudienceModelAssociationMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConfiguredAudienceModelAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_UpdateConfiguredTable.go b/service/cleanrooms/api_op_UpdateConfiguredTable.go index 84066f3d0d8..730dd7af536 100644 --- a/service/cleanrooms/api_op_UpdateConfiguredTable.go +++ b/service/cleanrooms/api_op_UpdateConfiguredTable.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateConfiguredTableMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConfiguredTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_UpdateConfiguredTableAnalysisRule.go b/service/cleanrooms/api_op_UpdateConfiguredTableAnalysisRule.go index e1551cbc924..1bd10e6768b 100644 --- a/service/cleanrooms/api_op_UpdateConfiguredTableAnalysisRule.go +++ b/service/cleanrooms/api_op_UpdateConfiguredTableAnalysisRule.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateConfiguredTableAnalysisRuleMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConfiguredTableAnalysisRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_UpdateConfiguredTableAssociation.go b/service/cleanrooms/api_op_UpdateConfiguredTableAssociation.go index 57edef36b60..0ee329ee179 100644 --- a/service/cleanrooms/api_op_UpdateConfiguredTableAssociation.go +++ b/service/cleanrooms/api_op_UpdateConfiguredTableAssociation.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateConfiguredTableAssociationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConfiguredTableAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_UpdateConfiguredTableAssociationAnalysisRule.go b/service/cleanrooms/api_op_UpdateConfiguredTableAssociationAnalysisRule.go index 71bd0475f6d..bddef835082 100644 --- a/service/cleanrooms/api_op_UpdateConfiguredTableAssociationAnalysisRule.go +++ b/service/cleanrooms/api_op_UpdateConfiguredTableAssociationAnalysisRule.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdateConfiguredTableAssociationAnalysisRuleMiddlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConfiguredTableAssociationAnalysisRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_UpdateIdMappingTable.go b/service/cleanrooms/api_op_UpdateIdMappingTable.go index 7dcd2d14893..5e70936e648 100644 --- a/service/cleanrooms/api_op_UpdateIdMappingTable.go +++ b/service/cleanrooms/api_op_UpdateIdMappingTable.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateIdMappingTableMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateIdMappingTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_UpdateIdNamespaceAssociation.go b/service/cleanrooms/api_op_UpdateIdNamespaceAssociation.go index e147902c369..bfbcc85d5f3 100644 --- a/service/cleanrooms/api_op_UpdateIdNamespaceAssociation.go +++ b/service/cleanrooms/api_op_UpdateIdNamespaceAssociation.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUpdateIdNamespaceAssociationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateIdNamespaceAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_UpdateMembership.go b/service/cleanrooms/api_op_UpdateMembership.go index 4c0f50907e7..0b284a87c74 100644 --- a/service/cleanrooms/api_op_UpdateMembership.go +++ b/service/cleanrooms/api_op_UpdateMembership.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateMembershipMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMembershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_UpdatePrivacyBudgetTemplate.go b/service/cleanrooms/api_op_UpdatePrivacyBudgetTemplate.go index 24bb764f6e5..017d6cfb3f0 100644 --- a/service/cleanrooms/api_op_UpdatePrivacyBudgetTemplate.go +++ b/service/cleanrooms/api_op_UpdatePrivacyBudgetTemplate.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUpdatePrivacyBudgetTemplateMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePrivacyBudgetTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/api_op_UpdateProtectedQuery.go b/service/cleanrooms/api_op_UpdateProtectedQuery.go index d2000abe151..d349c90607e 100644 --- a/service/cleanrooms/api_op_UpdateProtectedQuery.go +++ b/service/cleanrooms/api_op_UpdateProtectedQuery.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateProtectedQueryMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateProtectedQueryValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanrooms/snapshot/api_op_BatchGetCollaborationAnalysisTemplate.go.snap b/service/cleanrooms/snapshot/api_op_BatchGetCollaborationAnalysisTemplate.go.snap index 14de3de5552..0c6ae9e8188 100644 --- a/service/cleanrooms/snapshot/api_op_BatchGetCollaborationAnalysisTemplate.go.snap +++ b/service/cleanrooms/snapshot/api_op_BatchGetCollaborationAnalysisTemplate.go.snap @@ -14,7 +14,6 @@ BatchGetCollaborationAnalysisTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_BatchGetSchema.go.snap b/service/cleanrooms/snapshot/api_op_BatchGetSchema.go.snap index bca9ed81c5b..7da175e1005 100644 --- a/service/cleanrooms/snapshot/api_op_BatchGetSchema.go.snap +++ b/service/cleanrooms/snapshot/api_op_BatchGetSchema.go.snap @@ -14,7 +14,6 @@ BatchGetSchema Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_BatchGetSchemaAnalysisRule.go.snap b/service/cleanrooms/snapshot/api_op_BatchGetSchemaAnalysisRule.go.snap index 069f25e6df2..15ff37c886e 100644 --- a/service/cleanrooms/snapshot/api_op_BatchGetSchemaAnalysisRule.go.snap +++ b/service/cleanrooms/snapshot/api_op_BatchGetSchemaAnalysisRule.go.snap @@ -14,7 +14,6 @@ BatchGetSchemaAnalysisRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_CreateAnalysisTemplate.go.snap b/service/cleanrooms/snapshot/api_op_CreateAnalysisTemplate.go.snap index a1bac52e8cc..8817db2eefb 100644 --- a/service/cleanrooms/snapshot/api_op_CreateAnalysisTemplate.go.snap +++ b/service/cleanrooms/snapshot/api_op_CreateAnalysisTemplate.go.snap @@ -14,7 +14,6 @@ CreateAnalysisTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_CreateCollaboration.go.snap b/service/cleanrooms/snapshot/api_op_CreateCollaboration.go.snap index 5f62ecf9703..6623e920fac 100644 --- a/service/cleanrooms/snapshot/api_op_CreateCollaboration.go.snap +++ b/service/cleanrooms/snapshot/api_op_CreateCollaboration.go.snap @@ -14,7 +14,6 @@ CreateCollaboration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_CreateConfiguredAudienceModelAssociation.go.snap b/service/cleanrooms/snapshot/api_op_CreateConfiguredAudienceModelAssociation.go.snap index 380dbd346ba..f875bff43f3 100644 --- a/service/cleanrooms/snapshot/api_op_CreateConfiguredAudienceModelAssociation.go.snap +++ b/service/cleanrooms/snapshot/api_op_CreateConfiguredAudienceModelAssociation.go.snap @@ -14,7 +14,6 @@ CreateConfiguredAudienceModelAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_CreateConfiguredTable.go.snap b/service/cleanrooms/snapshot/api_op_CreateConfiguredTable.go.snap index 0d441bfc1bd..3eaa3b7bcc9 100644 --- a/service/cleanrooms/snapshot/api_op_CreateConfiguredTable.go.snap +++ b/service/cleanrooms/snapshot/api_op_CreateConfiguredTable.go.snap @@ -14,7 +14,6 @@ CreateConfiguredTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_CreateConfiguredTableAnalysisRule.go.snap b/service/cleanrooms/snapshot/api_op_CreateConfiguredTableAnalysisRule.go.snap index 61f056eabd7..ce9dfd25c64 100644 --- a/service/cleanrooms/snapshot/api_op_CreateConfiguredTableAnalysisRule.go.snap +++ b/service/cleanrooms/snapshot/api_op_CreateConfiguredTableAnalysisRule.go.snap @@ -14,7 +14,6 @@ CreateConfiguredTableAnalysisRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_CreateConfiguredTableAssociation.go.snap b/service/cleanrooms/snapshot/api_op_CreateConfiguredTableAssociation.go.snap index 3ebd7029418..893680c7e21 100644 --- a/service/cleanrooms/snapshot/api_op_CreateConfiguredTableAssociation.go.snap +++ b/service/cleanrooms/snapshot/api_op_CreateConfiguredTableAssociation.go.snap @@ -14,7 +14,6 @@ CreateConfiguredTableAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_CreateConfiguredTableAssociationAnalysisRule.go.snap b/service/cleanrooms/snapshot/api_op_CreateConfiguredTableAssociationAnalysisRule.go.snap index f15b6e35946..513b2d57171 100644 --- a/service/cleanrooms/snapshot/api_op_CreateConfiguredTableAssociationAnalysisRule.go.snap +++ b/service/cleanrooms/snapshot/api_op_CreateConfiguredTableAssociationAnalysisRule.go.snap @@ -14,7 +14,6 @@ CreateConfiguredTableAssociationAnalysisRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_CreateIdMappingTable.go.snap b/service/cleanrooms/snapshot/api_op_CreateIdMappingTable.go.snap index 1dbb0d27f4c..4f73eb157c0 100644 --- a/service/cleanrooms/snapshot/api_op_CreateIdMappingTable.go.snap +++ b/service/cleanrooms/snapshot/api_op_CreateIdMappingTable.go.snap @@ -14,7 +14,6 @@ CreateIdMappingTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_CreateIdNamespaceAssociation.go.snap b/service/cleanrooms/snapshot/api_op_CreateIdNamespaceAssociation.go.snap index afd2714ff51..babe7bb1aa2 100644 --- a/service/cleanrooms/snapshot/api_op_CreateIdNamespaceAssociation.go.snap +++ b/service/cleanrooms/snapshot/api_op_CreateIdNamespaceAssociation.go.snap @@ -14,7 +14,6 @@ CreateIdNamespaceAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_CreateMembership.go.snap b/service/cleanrooms/snapshot/api_op_CreateMembership.go.snap index 9f9defdd780..a331c9ce2b4 100644 --- a/service/cleanrooms/snapshot/api_op_CreateMembership.go.snap +++ b/service/cleanrooms/snapshot/api_op_CreateMembership.go.snap @@ -14,7 +14,6 @@ CreateMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_CreatePrivacyBudgetTemplate.go.snap b/service/cleanrooms/snapshot/api_op_CreatePrivacyBudgetTemplate.go.snap index 28bd7fd2fdc..cb8e8605404 100644 --- a/service/cleanrooms/snapshot/api_op_CreatePrivacyBudgetTemplate.go.snap +++ b/service/cleanrooms/snapshot/api_op_CreatePrivacyBudgetTemplate.go.snap @@ -14,7 +14,6 @@ CreatePrivacyBudgetTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_DeleteAnalysisTemplate.go.snap b/service/cleanrooms/snapshot/api_op_DeleteAnalysisTemplate.go.snap index 52cb0d7fe97..c938bdf5de4 100644 --- a/service/cleanrooms/snapshot/api_op_DeleteAnalysisTemplate.go.snap +++ b/service/cleanrooms/snapshot/api_op_DeleteAnalysisTemplate.go.snap @@ -14,7 +14,6 @@ DeleteAnalysisTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_DeleteCollaboration.go.snap b/service/cleanrooms/snapshot/api_op_DeleteCollaboration.go.snap index f7c83e5ebfb..c7ba657f5d9 100644 --- a/service/cleanrooms/snapshot/api_op_DeleteCollaboration.go.snap +++ b/service/cleanrooms/snapshot/api_op_DeleteCollaboration.go.snap @@ -14,7 +14,6 @@ DeleteCollaboration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_DeleteConfiguredAudienceModelAssociation.go.snap b/service/cleanrooms/snapshot/api_op_DeleteConfiguredAudienceModelAssociation.go.snap index 69a8e102d3d..071f4f4c616 100644 --- a/service/cleanrooms/snapshot/api_op_DeleteConfiguredAudienceModelAssociation.go.snap +++ b/service/cleanrooms/snapshot/api_op_DeleteConfiguredAudienceModelAssociation.go.snap @@ -14,7 +14,6 @@ DeleteConfiguredAudienceModelAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_DeleteConfiguredTable.go.snap b/service/cleanrooms/snapshot/api_op_DeleteConfiguredTable.go.snap index 310f8833812..632d7065850 100644 --- a/service/cleanrooms/snapshot/api_op_DeleteConfiguredTable.go.snap +++ b/service/cleanrooms/snapshot/api_op_DeleteConfiguredTable.go.snap @@ -14,7 +14,6 @@ DeleteConfiguredTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_DeleteConfiguredTableAnalysisRule.go.snap b/service/cleanrooms/snapshot/api_op_DeleteConfiguredTableAnalysisRule.go.snap index 0d763266ef3..1b343bc3374 100644 --- a/service/cleanrooms/snapshot/api_op_DeleteConfiguredTableAnalysisRule.go.snap +++ b/service/cleanrooms/snapshot/api_op_DeleteConfiguredTableAnalysisRule.go.snap @@ -14,7 +14,6 @@ DeleteConfiguredTableAnalysisRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_DeleteConfiguredTableAssociation.go.snap b/service/cleanrooms/snapshot/api_op_DeleteConfiguredTableAssociation.go.snap index 22ba4cb78a1..c1607e59ba7 100644 --- a/service/cleanrooms/snapshot/api_op_DeleteConfiguredTableAssociation.go.snap +++ b/service/cleanrooms/snapshot/api_op_DeleteConfiguredTableAssociation.go.snap @@ -14,7 +14,6 @@ DeleteConfiguredTableAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_DeleteConfiguredTableAssociationAnalysisRule.go.snap b/service/cleanrooms/snapshot/api_op_DeleteConfiguredTableAssociationAnalysisRule.go.snap index 5182be1a719..1a3fe4a967a 100644 --- a/service/cleanrooms/snapshot/api_op_DeleteConfiguredTableAssociationAnalysisRule.go.snap +++ b/service/cleanrooms/snapshot/api_op_DeleteConfiguredTableAssociationAnalysisRule.go.snap @@ -14,7 +14,6 @@ DeleteConfiguredTableAssociationAnalysisRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_DeleteIdMappingTable.go.snap b/service/cleanrooms/snapshot/api_op_DeleteIdMappingTable.go.snap index 98d7618d66a..c13eea628ac 100644 --- a/service/cleanrooms/snapshot/api_op_DeleteIdMappingTable.go.snap +++ b/service/cleanrooms/snapshot/api_op_DeleteIdMappingTable.go.snap @@ -14,7 +14,6 @@ DeleteIdMappingTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_DeleteIdNamespaceAssociation.go.snap b/service/cleanrooms/snapshot/api_op_DeleteIdNamespaceAssociation.go.snap index 33fdc716a44..c2bd26791d7 100644 --- a/service/cleanrooms/snapshot/api_op_DeleteIdNamespaceAssociation.go.snap +++ b/service/cleanrooms/snapshot/api_op_DeleteIdNamespaceAssociation.go.snap @@ -14,7 +14,6 @@ DeleteIdNamespaceAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_DeleteMember.go.snap b/service/cleanrooms/snapshot/api_op_DeleteMember.go.snap index d57271614b8..a3a8981046c 100644 --- a/service/cleanrooms/snapshot/api_op_DeleteMember.go.snap +++ b/service/cleanrooms/snapshot/api_op_DeleteMember.go.snap @@ -14,7 +14,6 @@ DeleteMember Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_DeleteMembership.go.snap b/service/cleanrooms/snapshot/api_op_DeleteMembership.go.snap index 0f10a36c88c..c6b28ef54a6 100644 --- a/service/cleanrooms/snapshot/api_op_DeleteMembership.go.snap +++ b/service/cleanrooms/snapshot/api_op_DeleteMembership.go.snap @@ -14,7 +14,6 @@ DeleteMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_DeletePrivacyBudgetTemplate.go.snap b/service/cleanrooms/snapshot/api_op_DeletePrivacyBudgetTemplate.go.snap index 6d6d9229420..fc45f3b90b1 100644 --- a/service/cleanrooms/snapshot/api_op_DeletePrivacyBudgetTemplate.go.snap +++ b/service/cleanrooms/snapshot/api_op_DeletePrivacyBudgetTemplate.go.snap @@ -14,7 +14,6 @@ DeletePrivacyBudgetTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_GetAnalysisTemplate.go.snap b/service/cleanrooms/snapshot/api_op_GetAnalysisTemplate.go.snap index fb9e6b5f026..07072fc2f5e 100644 --- a/service/cleanrooms/snapshot/api_op_GetAnalysisTemplate.go.snap +++ b/service/cleanrooms/snapshot/api_op_GetAnalysisTemplate.go.snap @@ -14,7 +14,6 @@ GetAnalysisTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_GetCollaboration.go.snap b/service/cleanrooms/snapshot/api_op_GetCollaboration.go.snap index 6352d4924c0..a3dea6a9992 100644 --- a/service/cleanrooms/snapshot/api_op_GetCollaboration.go.snap +++ b/service/cleanrooms/snapshot/api_op_GetCollaboration.go.snap @@ -14,7 +14,6 @@ GetCollaboration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_GetCollaborationAnalysisTemplate.go.snap b/service/cleanrooms/snapshot/api_op_GetCollaborationAnalysisTemplate.go.snap index f9ab268ddf2..874efd3c513 100644 --- a/service/cleanrooms/snapshot/api_op_GetCollaborationAnalysisTemplate.go.snap +++ b/service/cleanrooms/snapshot/api_op_GetCollaborationAnalysisTemplate.go.snap @@ -14,7 +14,6 @@ GetCollaborationAnalysisTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_GetCollaborationConfiguredAudienceModelAssociation.go.snap b/service/cleanrooms/snapshot/api_op_GetCollaborationConfiguredAudienceModelAssociation.go.snap index ec8cfcbfbdf..f66b810cb71 100644 --- a/service/cleanrooms/snapshot/api_op_GetCollaborationConfiguredAudienceModelAssociation.go.snap +++ b/service/cleanrooms/snapshot/api_op_GetCollaborationConfiguredAudienceModelAssociation.go.snap @@ -14,7 +14,6 @@ GetCollaborationConfiguredAudienceModelAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_GetCollaborationIdNamespaceAssociation.go.snap b/service/cleanrooms/snapshot/api_op_GetCollaborationIdNamespaceAssociation.go.snap index bcc24157953..4ee0f8e7cf8 100644 --- a/service/cleanrooms/snapshot/api_op_GetCollaborationIdNamespaceAssociation.go.snap +++ b/service/cleanrooms/snapshot/api_op_GetCollaborationIdNamespaceAssociation.go.snap @@ -14,7 +14,6 @@ GetCollaborationIdNamespaceAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_GetCollaborationPrivacyBudgetTemplate.go.snap b/service/cleanrooms/snapshot/api_op_GetCollaborationPrivacyBudgetTemplate.go.snap index c14de7119e8..88fd0b4bdd3 100644 --- a/service/cleanrooms/snapshot/api_op_GetCollaborationPrivacyBudgetTemplate.go.snap +++ b/service/cleanrooms/snapshot/api_op_GetCollaborationPrivacyBudgetTemplate.go.snap @@ -14,7 +14,6 @@ GetCollaborationPrivacyBudgetTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_GetConfiguredAudienceModelAssociation.go.snap b/service/cleanrooms/snapshot/api_op_GetConfiguredAudienceModelAssociation.go.snap index 1e266c8834c..e491c64806d 100644 --- a/service/cleanrooms/snapshot/api_op_GetConfiguredAudienceModelAssociation.go.snap +++ b/service/cleanrooms/snapshot/api_op_GetConfiguredAudienceModelAssociation.go.snap @@ -14,7 +14,6 @@ GetConfiguredAudienceModelAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_GetConfiguredTable.go.snap b/service/cleanrooms/snapshot/api_op_GetConfiguredTable.go.snap index 818f9e0dc08..33b1022d26d 100644 --- a/service/cleanrooms/snapshot/api_op_GetConfiguredTable.go.snap +++ b/service/cleanrooms/snapshot/api_op_GetConfiguredTable.go.snap @@ -14,7 +14,6 @@ GetConfiguredTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_GetConfiguredTableAnalysisRule.go.snap b/service/cleanrooms/snapshot/api_op_GetConfiguredTableAnalysisRule.go.snap index ec05b824533..b6422795278 100644 --- a/service/cleanrooms/snapshot/api_op_GetConfiguredTableAnalysisRule.go.snap +++ b/service/cleanrooms/snapshot/api_op_GetConfiguredTableAnalysisRule.go.snap @@ -14,7 +14,6 @@ GetConfiguredTableAnalysisRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_GetConfiguredTableAssociation.go.snap b/service/cleanrooms/snapshot/api_op_GetConfiguredTableAssociation.go.snap index 63b1c4d6cd0..675fd731616 100644 --- a/service/cleanrooms/snapshot/api_op_GetConfiguredTableAssociation.go.snap +++ b/service/cleanrooms/snapshot/api_op_GetConfiguredTableAssociation.go.snap @@ -14,7 +14,6 @@ GetConfiguredTableAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_GetConfiguredTableAssociationAnalysisRule.go.snap b/service/cleanrooms/snapshot/api_op_GetConfiguredTableAssociationAnalysisRule.go.snap index 67f86781358..0594590e456 100644 --- a/service/cleanrooms/snapshot/api_op_GetConfiguredTableAssociationAnalysisRule.go.snap +++ b/service/cleanrooms/snapshot/api_op_GetConfiguredTableAssociationAnalysisRule.go.snap @@ -14,7 +14,6 @@ GetConfiguredTableAssociationAnalysisRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_GetIdMappingTable.go.snap b/service/cleanrooms/snapshot/api_op_GetIdMappingTable.go.snap index 2d66b0e715f..12161f9c54b 100644 --- a/service/cleanrooms/snapshot/api_op_GetIdMappingTable.go.snap +++ b/service/cleanrooms/snapshot/api_op_GetIdMappingTable.go.snap @@ -14,7 +14,6 @@ GetIdMappingTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_GetIdNamespaceAssociation.go.snap b/service/cleanrooms/snapshot/api_op_GetIdNamespaceAssociation.go.snap index 5f9570278a8..4ada068546d 100644 --- a/service/cleanrooms/snapshot/api_op_GetIdNamespaceAssociation.go.snap +++ b/service/cleanrooms/snapshot/api_op_GetIdNamespaceAssociation.go.snap @@ -14,7 +14,6 @@ GetIdNamespaceAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_GetMembership.go.snap b/service/cleanrooms/snapshot/api_op_GetMembership.go.snap index dd253dcb7f1..d2037712295 100644 --- a/service/cleanrooms/snapshot/api_op_GetMembership.go.snap +++ b/service/cleanrooms/snapshot/api_op_GetMembership.go.snap @@ -14,7 +14,6 @@ GetMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_GetPrivacyBudgetTemplate.go.snap b/service/cleanrooms/snapshot/api_op_GetPrivacyBudgetTemplate.go.snap index b087497870c..d6aef05e206 100644 --- a/service/cleanrooms/snapshot/api_op_GetPrivacyBudgetTemplate.go.snap +++ b/service/cleanrooms/snapshot/api_op_GetPrivacyBudgetTemplate.go.snap @@ -14,7 +14,6 @@ GetPrivacyBudgetTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_GetProtectedQuery.go.snap b/service/cleanrooms/snapshot/api_op_GetProtectedQuery.go.snap index 6f82163c088..0418e5e7ae7 100644 --- a/service/cleanrooms/snapshot/api_op_GetProtectedQuery.go.snap +++ b/service/cleanrooms/snapshot/api_op_GetProtectedQuery.go.snap @@ -14,7 +14,6 @@ GetProtectedQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_GetSchema.go.snap b/service/cleanrooms/snapshot/api_op_GetSchema.go.snap index 93f07aaad6a..6bdbb8410f2 100644 --- a/service/cleanrooms/snapshot/api_op_GetSchema.go.snap +++ b/service/cleanrooms/snapshot/api_op_GetSchema.go.snap @@ -14,7 +14,6 @@ GetSchema Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_GetSchemaAnalysisRule.go.snap b/service/cleanrooms/snapshot/api_op_GetSchemaAnalysisRule.go.snap index 4ee4c8de15f..76e68808a8a 100644 --- a/service/cleanrooms/snapshot/api_op_GetSchemaAnalysisRule.go.snap +++ b/service/cleanrooms/snapshot/api_op_GetSchemaAnalysisRule.go.snap @@ -14,7 +14,6 @@ GetSchemaAnalysisRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_ListAnalysisTemplates.go.snap b/service/cleanrooms/snapshot/api_op_ListAnalysisTemplates.go.snap index 25cd087597d..a515f6172d7 100644 --- a/service/cleanrooms/snapshot/api_op_ListAnalysisTemplates.go.snap +++ b/service/cleanrooms/snapshot/api_op_ListAnalysisTemplates.go.snap @@ -14,7 +14,6 @@ ListAnalysisTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_ListCollaborationAnalysisTemplates.go.snap b/service/cleanrooms/snapshot/api_op_ListCollaborationAnalysisTemplates.go.snap index 8d88bed7217..2ca7fec78f3 100644 --- a/service/cleanrooms/snapshot/api_op_ListCollaborationAnalysisTemplates.go.snap +++ b/service/cleanrooms/snapshot/api_op_ListCollaborationAnalysisTemplates.go.snap @@ -14,7 +14,6 @@ ListCollaborationAnalysisTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_ListCollaborationConfiguredAudienceModelAssociations.go.snap b/service/cleanrooms/snapshot/api_op_ListCollaborationConfiguredAudienceModelAssociations.go.snap index e389deccc40..b5d2dbcd086 100644 --- a/service/cleanrooms/snapshot/api_op_ListCollaborationConfiguredAudienceModelAssociations.go.snap +++ b/service/cleanrooms/snapshot/api_op_ListCollaborationConfiguredAudienceModelAssociations.go.snap @@ -14,7 +14,6 @@ ListCollaborationConfiguredAudienceModelAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_ListCollaborationIdNamespaceAssociations.go.snap b/service/cleanrooms/snapshot/api_op_ListCollaborationIdNamespaceAssociations.go.snap index e9cf5f283fc..ff185860989 100644 --- a/service/cleanrooms/snapshot/api_op_ListCollaborationIdNamespaceAssociations.go.snap +++ b/service/cleanrooms/snapshot/api_op_ListCollaborationIdNamespaceAssociations.go.snap @@ -14,7 +14,6 @@ ListCollaborationIdNamespaceAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_ListCollaborationPrivacyBudgetTemplates.go.snap b/service/cleanrooms/snapshot/api_op_ListCollaborationPrivacyBudgetTemplates.go.snap index 1db05156564..762384f61ec 100644 --- a/service/cleanrooms/snapshot/api_op_ListCollaborationPrivacyBudgetTemplates.go.snap +++ b/service/cleanrooms/snapshot/api_op_ListCollaborationPrivacyBudgetTemplates.go.snap @@ -14,7 +14,6 @@ ListCollaborationPrivacyBudgetTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_ListCollaborationPrivacyBudgets.go.snap b/service/cleanrooms/snapshot/api_op_ListCollaborationPrivacyBudgets.go.snap index bcc76db617e..7b65d860512 100644 --- a/service/cleanrooms/snapshot/api_op_ListCollaborationPrivacyBudgets.go.snap +++ b/service/cleanrooms/snapshot/api_op_ListCollaborationPrivacyBudgets.go.snap @@ -14,7 +14,6 @@ ListCollaborationPrivacyBudgets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_ListCollaborations.go.snap b/service/cleanrooms/snapshot/api_op_ListCollaborations.go.snap index 63fca3d18aa..0474764321c 100644 --- a/service/cleanrooms/snapshot/api_op_ListCollaborations.go.snap +++ b/service/cleanrooms/snapshot/api_op_ListCollaborations.go.snap @@ -13,7 +13,6 @@ ListCollaborations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_ListConfiguredAudienceModelAssociations.go.snap b/service/cleanrooms/snapshot/api_op_ListConfiguredAudienceModelAssociations.go.snap index 5732ada5d54..ade3f27b104 100644 --- a/service/cleanrooms/snapshot/api_op_ListConfiguredAudienceModelAssociations.go.snap +++ b/service/cleanrooms/snapshot/api_op_ListConfiguredAudienceModelAssociations.go.snap @@ -14,7 +14,6 @@ ListConfiguredAudienceModelAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_ListConfiguredTableAssociations.go.snap b/service/cleanrooms/snapshot/api_op_ListConfiguredTableAssociations.go.snap index 6315d75a7d3..d88b515f8f1 100644 --- a/service/cleanrooms/snapshot/api_op_ListConfiguredTableAssociations.go.snap +++ b/service/cleanrooms/snapshot/api_op_ListConfiguredTableAssociations.go.snap @@ -14,7 +14,6 @@ ListConfiguredTableAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_ListConfiguredTables.go.snap b/service/cleanrooms/snapshot/api_op_ListConfiguredTables.go.snap index 7387e3c4009..ff6c2afed00 100644 --- a/service/cleanrooms/snapshot/api_op_ListConfiguredTables.go.snap +++ b/service/cleanrooms/snapshot/api_op_ListConfiguredTables.go.snap @@ -13,7 +13,6 @@ ListConfiguredTables Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_ListIdMappingTables.go.snap b/service/cleanrooms/snapshot/api_op_ListIdMappingTables.go.snap index 180072cbb27..7b41599f3c5 100644 --- a/service/cleanrooms/snapshot/api_op_ListIdMappingTables.go.snap +++ b/service/cleanrooms/snapshot/api_op_ListIdMappingTables.go.snap @@ -14,7 +14,6 @@ ListIdMappingTables Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_ListIdNamespaceAssociations.go.snap b/service/cleanrooms/snapshot/api_op_ListIdNamespaceAssociations.go.snap index 89d78476d0b..0d7fd931358 100644 --- a/service/cleanrooms/snapshot/api_op_ListIdNamespaceAssociations.go.snap +++ b/service/cleanrooms/snapshot/api_op_ListIdNamespaceAssociations.go.snap @@ -14,7 +14,6 @@ ListIdNamespaceAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_ListMembers.go.snap b/service/cleanrooms/snapshot/api_op_ListMembers.go.snap index ded0c54dcae..7f717e539ee 100644 --- a/service/cleanrooms/snapshot/api_op_ListMembers.go.snap +++ b/service/cleanrooms/snapshot/api_op_ListMembers.go.snap @@ -14,7 +14,6 @@ ListMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_ListMemberships.go.snap b/service/cleanrooms/snapshot/api_op_ListMemberships.go.snap index 55469b8a8f4..dbbf472a51d 100644 --- a/service/cleanrooms/snapshot/api_op_ListMemberships.go.snap +++ b/service/cleanrooms/snapshot/api_op_ListMemberships.go.snap @@ -13,7 +13,6 @@ ListMemberships Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_ListPrivacyBudgetTemplates.go.snap b/service/cleanrooms/snapshot/api_op_ListPrivacyBudgetTemplates.go.snap index 0121b956967..0f101a3ac0d 100644 --- a/service/cleanrooms/snapshot/api_op_ListPrivacyBudgetTemplates.go.snap +++ b/service/cleanrooms/snapshot/api_op_ListPrivacyBudgetTemplates.go.snap @@ -14,7 +14,6 @@ ListPrivacyBudgetTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_ListPrivacyBudgets.go.snap b/service/cleanrooms/snapshot/api_op_ListPrivacyBudgets.go.snap index d53ed66b3f7..b3ec473311a 100644 --- a/service/cleanrooms/snapshot/api_op_ListPrivacyBudgets.go.snap +++ b/service/cleanrooms/snapshot/api_op_ListPrivacyBudgets.go.snap @@ -14,7 +14,6 @@ ListPrivacyBudgets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_ListProtectedQueries.go.snap b/service/cleanrooms/snapshot/api_op_ListProtectedQueries.go.snap index 271686fa752..17b687bc118 100644 --- a/service/cleanrooms/snapshot/api_op_ListProtectedQueries.go.snap +++ b/service/cleanrooms/snapshot/api_op_ListProtectedQueries.go.snap @@ -14,7 +14,6 @@ ListProtectedQueries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_ListSchemas.go.snap b/service/cleanrooms/snapshot/api_op_ListSchemas.go.snap index f744910a7e6..88bfba5ff3f 100644 --- a/service/cleanrooms/snapshot/api_op_ListSchemas.go.snap +++ b/service/cleanrooms/snapshot/api_op_ListSchemas.go.snap @@ -14,7 +14,6 @@ ListSchemas Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_ListTagsForResource.go.snap b/service/cleanrooms/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/cleanrooms/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/cleanrooms/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_PopulateIdMappingTable.go.snap b/service/cleanrooms/snapshot/api_op_PopulateIdMappingTable.go.snap index 607de3856da..c32e5358e78 100644 --- a/service/cleanrooms/snapshot/api_op_PopulateIdMappingTable.go.snap +++ b/service/cleanrooms/snapshot/api_op_PopulateIdMappingTable.go.snap @@ -14,7 +14,6 @@ PopulateIdMappingTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_PreviewPrivacyImpact.go.snap b/service/cleanrooms/snapshot/api_op_PreviewPrivacyImpact.go.snap index a0c2c97af58..ad820d0adfd 100644 --- a/service/cleanrooms/snapshot/api_op_PreviewPrivacyImpact.go.snap +++ b/service/cleanrooms/snapshot/api_op_PreviewPrivacyImpact.go.snap @@ -14,7 +14,6 @@ PreviewPrivacyImpact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_StartProtectedQuery.go.snap b/service/cleanrooms/snapshot/api_op_StartProtectedQuery.go.snap index d8ebd252491..ca09d8ef225 100644 --- a/service/cleanrooms/snapshot/api_op_StartProtectedQuery.go.snap +++ b/service/cleanrooms/snapshot/api_op_StartProtectedQuery.go.snap @@ -14,7 +14,6 @@ StartProtectedQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_TagResource.go.snap b/service/cleanrooms/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/cleanrooms/snapshot/api_op_TagResource.go.snap +++ b/service/cleanrooms/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_UntagResource.go.snap b/service/cleanrooms/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/cleanrooms/snapshot/api_op_UntagResource.go.snap +++ b/service/cleanrooms/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_UpdateAnalysisTemplate.go.snap b/service/cleanrooms/snapshot/api_op_UpdateAnalysisTemplate.go.snap index 5bbfa6aaa13..7ef1e25deb8 100644 --- a/service/cleanrooms/snapshot/api_op_UpdateAnalysisTemplate.go.snap +++ b/service/cleanrooms/snapshot/api_op_UpdateAnalysisTemplate.go.snap @@ -14,7 +14,6 @@ UpdateAnalysisTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_UpdateCollaboration.go.snap b/service/cleanrooms/snapshot/api_op_UpdateCollaboration.go.snap index aa21c9a74a7..c1eae9726dd 100644 --- a/service/cleanrooms/snapshot/api_op_UpdateCollaboration.go.snap +++ b/service/cleanrooms/snapshot/api_op_UpdateCollaboration.go.snap @@ -14,7 +14,6 @@ UpdateCollaboration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_UpdateConfiguredAudienceModelAssociation.go.snap b/service/cleanrooms/snapshot/api_op_UpdateConfiguredAudienceModelAssociation.go.snap index b1a181b52b8..36c9beb7ef1 100644 --- a/service/cleanrooms/snapshot/api_op_UpdateConfiguredAudienceModelAssociation.go.snap +++ b/service/cleanrooms/snapshot/api_op_UpdateConfiguredAudienceModelAssociation.go.snap @@ -14,7 +14,6 @@ UpdateConfiguredAudienceModelAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_UpdateConfiguredTable.go.snap b/service/cleanrooms/snapshot/api_op_UpdateConfiguredTable.go.snap index 02ab240ca7e..53ab01b1e10 100644 --- a/service/cleanrooms/snapshot/api_op_UpdateConfiguredTable.go.snap +++ b/service/cleanrooms/snapshot/api_op_UpdateConfiguredTable.go.snap @@ -14,7 +14,6 @@ UpdateConfiguredTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_UpdateConfiguredTableAnalysisRule.go.snap b/service/cleanrooms/snapshot/api_op_UpdateConfiguredTableAnalysisRule.go.snap index e142dc69203..59a37e25132 100644 --- a/service/cleanrooms/snapshot/api_op_UpdateConfiguredTableAnalysisRule.go.snap +++ b/service/cleanrooms/snapshot/api_op_UpdateConfiguredTableAnalysisRule.go.snap @@ -14,7 +14,6 @@ UpdateConfiguredTableAnalysisRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_UpdateConfiguredTableAssociation.go.snap b/service/cleanrooms/snapshot/api_op_UpdateConfiguredTableAssociation.go.snap index 926ab031cf3..d65f9cb8c49 100644 --- a/service/cleanrooms/snapshot/api_op_UpdateConfiguredTableAssociation.go.snap +++ b/service/cleanrooms/snapshot/api_op_UpdateConfiguredTableAssociation.go.snap @@ -14,7 +14,6 @@ UpdateConfiguredTableAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_UpdateConfiguredTableAssociationAnalysisRule.go.snap b/service/cleanrooms/snapshot/api_op_UpdateConfiguredTableAssociationAnalysisRule.go.snap index 711f61d23b0..0b3901df9f5 100644 --- a/service/cleanrooms/snapshot/api_op_UpdateConfiguredTableAssociationAnalysisRule.go.snap +++ b/service/cleanrooms/snapshot/api_op_UpdateConfiguredTableAssociationAnalysisRule.go.snap @@ -14,7 +14,6 @@ UpdateConfiguredTableAssociationAnalysisRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_UpdateIdMappingTable.go.snap b/service/cleanrooms/snapshot/api_op_UpdateIdMappingTable.go.snap index 29cfd0f8dfe..a24354438cf 100644 --- a/service/cleanrooms/snapshot/api_op_UpdateIdMappingTable.go.snap +++ b/service/cleanrooms/snapshot/api_op_UpdateIdMappingTable.go.snap @@ -14,7 +14,6 @@ UpdateIdMappingTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_UpdateIdNamespaceAssociation.go.snap b/service/cleanrooms/snapshot/api_op_UpdateIdNamespaceAssociation.go.snap index 4ba67a4f333..92a36236a7c 100644 --- a/service/cleanrooms/snapshot/api_op_UpdateIdNamespaceAssociation.go.snap +++ b/service/cleanrooms/snapshot/api_op_UpdateIdNamespaceAssociation.go.snap @@ -14,7 +14,6 @@ UpdateIdNamespaceAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_UpdateMembership.go.snap b/service/cleanrooms/snapshot/api_op_UpdateMembership.go.snap index fe1c57838ed..7ef78367d40 100644 --- a/service/cleanrooms/snapshot/api_op_UpdateMembership.go.snap +++ b/service/cleanrooms/snapshot/api_op_UpdateMembership.go.snap @@ -14,7 +14,6 @@ UpdateMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_UpdatePrivacyBudgetTemplate.go.snap b/service/cleanrooms/snapshot/api_op_UpdatePrivacyBudgetTemplate.go.snap index 52abd072f18..cbaf66b69b4 100644 --- a/service/cleanrooms/snapshot/api_op_UpdatePrivacyBudgetTemplate.go.snap +++ b/service/cleanrooms/snapshot/api_op_UpdatePrivacyBudgetTemplate.go.snap @@ -14,7 +14,6 @@ UpdatePrivacyBudgetTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanrooms/snapshot/api_op_UpdateProtectedQuery.go.snap b/service/cleanrooms/snapshot/api_op_UpdateProtectedQuery.go.snap index 41b79deeaf7..ed0bcf1ebbd 100644 --- a/service/cleanrooms/snapshot/api_op_UpdateProtectedQuery.go.snap +++ b/service/cleanrooms/snapshot/api_op_UpdateProtectedQuery.go.snap @@ -14,7 +14,6 @@ UpdateProtectedQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/api_client.go b/service/cleanroomsml/api_client.go index dc66c08394a..e292d67ac1a 100644 --- a/service/cleanroomsml/api_client.go +++ b/service/cleanroomsml/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/cleanroomsml/api_op_CancelTrainedModel.go b/service/cleanroomsml/api_op_CancelTrainedModel.go index 45c467d1a9e..97f0e39822a 100644 --- a/service/cleanroomsml/api_op_CancelTrainedModel.go +++ b/service/cleanroomsml/api_op_CancelTrainedModel.go @@ -112,9 +112,6 @@ func (c *Client) addOperationCancelTrainedModelMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelTrainedModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_CancelTrainedModelInferenceJob.go b/service/cleanroomsml/api_op_CancelTrainedModelInferenceJob.go index cd71272a824..0a89593a730 100644 --- a/service/cleanroomsml/api_op_CancelTrainedModelInferenceJob.go +++ b/service/cleanroomsml/api_op_CancelTrainedModelInferenceJob.go @@ -113,9 +113,6 @@ func (c *Client) addOperationCancelTrainedModelInferenceJobMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelTrainedModelInferenceJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_CreateAudienceModel.go b/service/cleanroomsml/api_op_CreateAudienceModel.go index 59eb02e9ce8..41f42c694fb 100644 --- a/service/cleanroomsml/api_op_CreateAudienceModel.go +++ b/service/cleanroomsml/api_op_CreateAudienceModel.go @@ -165,9 +165,6 @@ func (c *Client) addOperationCreateAudienceModelMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAudienceModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_CreateConfiguredAudienceModel.go b/service/cleanroomsml/api_op_CreateConfiguredAudienceModel.go index b71844788a6..66a0cbaf8be 100644 --- a/service/cleanroomsml/api_op_CreateConfiguredAudienceModel.go +++ b/service/cleanroomsml/api_op_CreateConfiguredAudienceModel.go @@ -190,9 +190,6 @@ func (c *Client) addOperationCreateConfiguredAudienceModelMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConfiguredAudienceModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_CreateConfiguredModelAlgorithm.go b/service/cleanroomsml/api_op_CreateConfiguredModelAlgorithm.go index 57f5e1d6cd4..b4a732f0cf3 100644 --- a/service/cleanroomsml/api_op_CreateConfiguredModelAlgorithm.go +++ b/service/cleanroomsml/api_op_CreateConfiguredModelAlgorithm.go @@ -167,9 +167,6 @@ func (c *Client) addOperationCreateConfiguredModelAlgorithmMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConfiguredModelAlgorithmValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_CreateConfiguredModelAlgorithmAssociation.go b/service/cleanroomsml/api_op_CreateConfiguredModelAlgorithmAssociation.go index 0ad14f47e15..1c3573f2a7c 100644 --- a/service/cleanroomsml/api_op_CreateConfiguredModelAlgorithmAssociation.go +++ b/service/cleanroomsml/api_op_CreateConfiguredModelAlgorithmAssociation.go @@ -165,9 +165,6 @@ func (c *Client) addOperationCreateConfiguredModelAlgorithmAssociationMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConfiguredModelAlgorithmAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_CreateMLInputChannel.go b/service/cleanroomsml/api_op_CreateMLInputChannel.go index be1be1b1056..bfd71527f79 100644 --- a/service/cleanroomsml/api_op_CreateMLInputChannel.go +++ b/service/cleanroomsml/api_op_CreateMLInputChannel.go @@ -173,9 +173,6 @@ func (c *Client) addOperationCreateMLInputChannelMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateMLInputChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_CreateTrainedModel.go b/service/cleanroomsml/api_op_CreateTrainedModel.go index 67e0e0bf7a4..89bfd422a3d 100644 --- a/service/cleanroomsml/api_op_CreateTrainedModel.go +++ b/service/cleanroomsml/api_op_CreateTrainedModel.go @@ -182,9 +182,6 @@ func (c *Client) addOperationCreateTrainedModelMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTrainedModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_CreateTrainingDataset.go b/service/cleanroomsml/api_op_CreateTrainingDataset.go index 90ba759cd0d..51bb976eaa0 100644 --- a/service/cleanroomsml/api_op_CreateTrainingDataset.go +++ b/service/cleanroomsml/api_op_CreateTrainingDataset.go @@ -166,9 +166,6 @@ func (c *Client) addOperationCreateTrainingDatasetMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTrainingDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_DeleteAudienceGenerationJob.go b/service/cleanroomsml/api_op_DeleteAudienceGenerationJob.go index 4c3fefabe4a..8bcf8c3d90c 100644 --- a/service/cleanroomsml/api_op_DeleteAudienceGenerationJob.go +++ b/service/cleanroomsml/api_op_DeleteAudienceGenerationJob.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteAudienceGenerationJobMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAudienceGenerationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_DeleteAudienceModel.go b/service/cleanroomsml/api_op_DeleteAudienceModel.go index 83cbc938fb5..04db916a760 100644 --- a/service/cleanroomsml/api_op_DeleteAudienceModel.go +++ b/service/cleanroomsml/api_op_DeleteAudienceModel.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteAudienceModelMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAudienceModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_DeleteConfiguredAudienceModel.go b/service/cleanroomsml/api_op_DeleteConfiguredAudienceModel.go index 253a53312e1..d2c2475f90c 100644 --- a/service/cleanroomsml/api_op_DeleteConfiguredAudienceModel.go +++ b/service/cleanroomsml/api_op_DeleteConfiguredAudienceModel.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteConfiguredAudienceModelMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConfiguredAudienceModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_DeleteConfiguredAudienceModelPolicy.go b/service/cleanroomsml/api_op_DeleteConfiguredAudienceModelPolicy.go index 0a013715e37..b26e2b6c63b 100644 --- a/service/cleanroomsml/api_op_DeleteConfiguredAudienceModelPolicy.go +++ b/service/cleanroomsml/api_op_DeleteConfiguredAudienceModelPolicy.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteConfiguredAudienceModelPolicyMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConfiguredAudienceModelPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_DeleteConfiguredModelAlgorithm.go b/service/cleanroomsml/api_op_DeleteConfiguredModelAlgorithm.go index 6b668d93a2f..15090c3a806 100644 --- a/service/cleanroomsml/api_op_DeleteConfiguredModelAlgorithm.go +++ b/service/cleanroomsml/api_op_DeleteConfiguredModelAlgorithm.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteConfiguredModelAlgorithmMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConfiguredModelAlgorithmValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_DeleteConfiguredModelAlgorithmAssociation.go b/service/cleanroomsml/api_op_DeleteConfiguredModelAlgorithmAssociation.go index aae9bbdc2f9..f8043c18725 100644 --- a/service/cleanroomsml/api_op_DeleteConfiguredModelAlgorithmAssociation.go +++ b/service/cleanroomsml/api_op_DeleteConfiguredModelAlgorithmAssociation.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteConfiguredModelAlgorithmAssociationMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConfiguredModelAlgorithmAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_DeleteMLConfiguration.go b/service/cleanroomsml/api_op_DeleteMLConfiguration.go index 3738b5beff6..553d033e202 100644 --- a/service/cleanroomsml/api_op_DeleteMLConfiguration.go +++ b/service/cleanroomsml/api_op_DeleteMLConfiguration.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteMLConfigurationMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMLConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_DeleteMLInputChannelData.go b/service/cleanroomsml/api_op_DeleteMLInputChannelData.go index 98ec691a3e9..37435ca4e9f 100644 --- a/service/cleanroomsml/api_op_DeleteMLInputChannelData.go +++ b/service/cleanroomsml/api_op_DeleteMLInputChannelData.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteMLInputChannelDataMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMLInputChannelDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_DeleteTrainedModelOutput.go b/service/cleanroomsml/api_op_DeleteTrainedModelOutput.go index fad4c775d65..95605c11a25 100644 --- a/service/cleanroomsml/api_op_DeleteTrainedModelOutput.go +++ b/service/cleanroomsml/api_op_DeleteTrainedModelOutput.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteTrainedModelOutputMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTrainedModelOutputValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_DeleteTrainingDataset.go b/service/cleanroomsml/api_op_DeleteTrainingDataset.go index 4e06dd436c7..af0038d29b3 100644 --- a/service/cleanroomsml/api_op_DeleteTrainingDataset.go +++ b/service/cleanroomsml/api_op_DeleteTrainingDataset.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteTrainingDatasetMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTrainingDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_GetAudienceGenerationJob.go b/service/cleanroomsml/api_op_GetAudienceGenerationJob.go index 82ac8ad4446..e4a0f812115 100644 --- a/service/cleanroomsml/api_op_GetAudienceGenerationJob.go +++ b/service/cleanroomsml/api_op_GetAudienceGenerationJob.go @@ -178,9 +178,6 @@ func (c *Client) addOperationGetAudienceGenerationJobMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAudienceGenerationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_GetAudienceModel.go b/service/cleanroomsml/api_op_GetAudienceModel.go index b3810ef6f88..1ae99aaed84 100644 --- a/service/cleanroomsml/api_op_GetAudienceModel.go +++ b/service/cleanroomsml/api_op_GetAudienceModel.go @@ -159,9 +159,6 @@ func (c *Client) addOperationGetAudienceModelMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAudienceModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_GetCollaborationConfiguredModelAlgorithmAssociation.go b/service/cleanroomsml/api_op_GetCollaborationConfiguredModelAlgorithmAssociation.go index b40cc8f0229..5533e3cd420 100644 --- a/service/cleanroomsml/api_op_GetCollaborationConfiguredModelAlgorithmAssociation.go +++ b/service/cleanroomsml/api_op_GetCollaborationConfiguredModelAlgorithmAssociation.go @@ -169,9 +169,6 @@ func (c *Client) addOperationGetCollaborationConfiguredModelAlgorithmAssociation if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCollaborationConfiguredModelAlgorithmAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_GetCollaborationMLInputChannel.go b/service/cleanroomsml/api_op_GetCollaborationMLInputChannel.go index 005a657ea2f..46713c55a3b 100644 --- a/service/cleanroomsml/api_op_GetCollaborationMLInputChannel.go +++ b/service/cleanroomsml/api_op_GetCollaborationMLInputChannel.go @@ -176,9 +176,6 @@ func (c *Client) addOperationGetCollaborationMLInputChannelMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCollaborationMLInputChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_GetCollaborationTrainedModel.go b/service/cleanroomsml/api_op_GetCollaborationTrainedModel.go index 5a586a332f2..7fa8774c7ca 100644 --- a/service/cleanroomsml/api_op_GetCollaborationTrainedModel.go +++ b/service/cleanroomsml/api_op_GetCollaborationTrainedModel.go @@ -190,9 +190,6 @@ func (c *Client) addOperationGetCollaborationTrainedModelMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCollaborationTrainedModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_GetConfiguredAudienceModel.go b/service/cleanroomsml/api_op_GetConfiguredAudienceModel.go index 9e67e104bf7..b33dd421c9e 100644 --- a/service/cleanroomsml/api_op_GetConfiguredAudienceModel.go +++ b/service/cleanroomsml/api_op_GetConfiguredAudienceModel.go @@ -173,9 +173,6 @@ func (c *Client) addOperationGetConfiguredAudienceModelMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConfiguredAudienceModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_GetConfiguredAudienceModelPolicy.go b/service/cleanroomsml/api_op_GetConfiguredAudienceModelPolicy.go index 4eeb90776f6..088554104ef 100644 --- a/service/cleanroomsml/api_op_GetConfiguredAudienceModelPolicy.go +++ b/service/cleanroomsml/api_op_GetConfiguredAudienceModelPolicy.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetConfiguredAudienceModelPolicyMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConfiguredAudienceModelPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_GetConfiguredModelAlgorithm.go b/service/cleanroomsml/api_op_GetConfiguredModelAlgorithm.go index d86c7966246..e4b43b0f438 100644 --- a/service/cleanroomsml/api_op_GetConfiguredModelAlgorithm.go +++ b/service/cleanroomsml/api_op_GetConfiguredModelAlgorithm.go @@ -181,9 +181,6 @@ func (c *Client) addOperationGetConfiguredModelAlgorithmMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConfiguredModelAlgorithmValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_GetConfiguredModelAlgorithmAssociation.go b/service/cleanroomsml/api_op_GetConfiguredModelAlgorithmAssociation.go index bf48f365d69..55db149a9a8 100644 --- a/service/cleanroomsml/api_op_GetConfiguredModelAlgorithmAssociation.go +++ b/service/cleanroomsml/api_op_GetConfiguredModelAlgorithmAssociation.go @@ -193,9 +193,6 @@ func (c *Client) addOperationGetConfiguredModelAlgorithmAssociationMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConfiguredModelAlgorithmAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_GetMLConfiguration.go b/service/cleanroomsml/api_op_GetMLConfiguration.go index 6fb7465de0b..74a51a33b65 100644 --- a/service/cleanroomsml/api_op_GetMLConfiguration.go +++ b/service/cleanroomsml/api_op_GetMLConfiguration.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetMLConfigurationMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMLConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_GetMLInputChannel.go b/service/cleanroomsml/api_op_GetMLInputChannel.go index 26caf7c21da..655cf6d47b7 100644 --- a/service/cleanroomsml/api_op_GetMLInputChannel.go +++ b/service/cleanroomsml/api_op_GetMLInputChannel.go @@ -219,9 +219,6 @@ func (c *Client) addOperationGetMLInputChannelMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMLInputChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_GetTrainedModel.go b/service/cleanroomsml/api_op_GetTrainedModel.go index 7575dc9e543..e3d2394a164 100644 --- a/service/cleanroomsml/api_op_GetTrainedModel.go +++ b/service/cleanroomsml/api_op_GetTrainedModel.go @@ -229,9 +229,6 @@ func (c *Client) addOperationGetTrainedModelMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTrainedModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_GetTrainedModelInferenceJob.go b/service/cleanroomsml/api_op_GetTrainedModelInferenceJob.go index 34f57dbdd83..3ecd77bc1d7 100644 --- a/service/cleanroomsml/api_op_GetTrainedModelInferenceJob.go +++ b/service/cleanroomsml/api_op_GetTrainedModelInferenceJob.go @@ -234,9 +234,6 @@ func (c *Client) addOperationGetTrainedModelInferenceJobMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTrainedModelInferenceJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_GetTrainingDataset.go b/service/cleanroomsml/api_op_GetTrainingDataset.go index a802fbec80a..e2b1463fa48 100644 --- a/service/cleanroomsml/api_op_GetTrainingDataset.go +++ b/service/cleanroomsml/api_op_GetTrainingDataset.go @@ -152,9 +152,6 @@ func (c *Client) addOperationGetTrainingDatasetMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTrainingDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_ListAudienceExportJobs.go b/service/cleanroomsml/api_op_ListAudienceExportJobs.go index d2caebc92c1..0fb689ddcc3 100644 --- a/service/cleanroomsml/api_op_ListAudienceExportJobs.go +++ b/service/cleanroomsml/api_op_ListAudienceExportJobs.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListAudienceExportJobsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAudienceExportJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cleanroomsml/api_op_ListAudienceGenerationJobs.go b/service/cleanroomsml/api_op_ListAudienceGenerationJobs.go index bd543757c17..4f158bc56a2 100644 --- a/service/cleanroomsml/api_op_ListAudienceGenerationJobs.go +++ b/service/cleanroomsml/api_op_ListAudienceGenerationJobs.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListAudienceGenerationJobsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAudienceGenerationJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cleanroomsml/api_op_ListAudienceModels.go b/service/cleanroomsml/api_op_ListAudienceModels.go index c445bb2eec9..c8a98342f1b 100644 --- a/service/cleanroomsml/api_op_ListAudienceModels.go +++ b/service/cleanroomsml/api_op_ListAudienceModels.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListAudienceModelsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAudienceModels(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cleanroomsml/api_op_ListCollaborationConfiguredModelAlgorithmAssociations.go b/service/cleanroomsml/api_op_ListCollaborationConfiguredModelAlgorithmAssociations.go index 68f512c2370..2c3f83301b8 100644 --- a/service/cleanroomsml/api_op_ListCollaborationConfiguredModelAlgorithmAssociations.go +++ b/service/cleanroomsml/api_op_ListCollaborationConfiguredModelAlgorithmAssociations.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListCollaborationConfiguredModelAlgorithmAssociatio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCollaborationConfiguredModelAlgorithmAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_ListCollaborationMLInputChannels.go b/service/cleanroomsml/api_op_ListCollaborationMLInputChannels.go index 7d1ff96428a..7827a6b3308 100644 --- a/service/cleanroomsml/api_op_ListCollaborationMLInputChannels.go +++ b/service/cleanroomsml/api_op_ListCollaborationMLInputChannels.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListCollaborationMLInputChannelsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCollaborationMLInputChannelsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_ListCollaborationTrainedModelExportJobs.go b/service/cleanroomsml/api_op_ListCollaborationTrainedModelExportJobs.go index 6848cef2e7d..6bb0c6ed00b 100644 --- a/service/cleanroomsml/api_op_ListCollaborationTrainedModelExportJobs.go +++ b/service/cleanroomsml/api_op_ListCollaborationTrainedModelExportJobs.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListCollaborationTrainedModelExportJobsMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCollaborationTrainedModelExportJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_ListCollaborationTrainedModelInferenceJobs.go b/service/cleanroomsml/api_op_ListCollaborationTrainedModelInferenceJobs.go index 5c1ad54ff3a..00582024b18 100644 --- a/service/cleanroomsml/api_op_ListCollaborationTrainedModelInferenceJobs.go +++ b/service/cleanroomsml/api_op_ListCollaborationTrainedModelInferenceJobs.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListCollaborationTrainedModelInferenceJobsMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCollaborationTrainedModelInferenceJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_ListCollaborationTrainedModels.go b/service/cleanroomsml/api_op_ListCollaborationTrainedModels.go index 651528bd305..a7a1880590e 100644 --- a/service/cleanroomsml/api_op_ListCollaborationTrainedModels.go +++ b/service/cleanroomsml/api_op_ListCollaborationTrainedModels.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListCollaborationTrainedModelsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCollaborationTrainedModelsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_ListConfiguredAudienceModels.go b/service/cleanroomsml/api_op_ListConfiguredAudienceModels.go index 0ba21e25c6f..2f58c8f452a 100644 --- a/service/cleanroomsml/api_op_ListConfiguredAudienceModels.go +++ b/service/cleanroomsml/api_op_ListConfiguredAudienceModels.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListConfiguredAudienceModelsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConfiguredAudienceModels(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cleanroomsml/api_op_ListConfiguredModelAlgorithmAssociations.go b/service/cleanroomsml/api_op_ListConfiguredModelAlgorithmAssociations.go index 9ca97d65031..d5a65d11120 100644 --- a/service/cleanroomsml/api_op_ListConfiguredModelAlgorithmAssociations.go +++ b/service/cleanroomsml/api_op_ListConfiguredModelAlgorithmAssociations.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListConfiguredModelAlgorithmAssociationsMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListConfiguredModelAlgorithmAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_ListConfiguredModelAlgorithms.go b/service/cleanroomsml/api_op_ListConfiguredModelAlgorithms.go index e9788ca36e8..4a6085a7f7d 100644 --- a/service/cleanroomsml/api_op_ListConfiguredModelAlgorithms.go +++ b/service/cleanroomsml/api_op_ListConfiguredModelAlgorithms.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListConfiguredModelAlgorithmsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConfiguredModelAlgorithms(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cleanroomsml/api_op_ListMLInputChannels.go b/service/cleanroomsml/api_op_ListMLInputChannels.go index da9edd10919..d1b4df5f300 100644 --- a/service/cleanroomsml/api_op_ListMLInputChannels.go +++ b/service/cleanroomsml/api_op_ListMLInputChannels.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListMLInputChannelsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMLInputChannelsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_ListTagsForResource.go b/service/cleanroomsml/api_op_ListTagsForResource.go index e639dde67ea..f54ebbb3de7 100644 --- a/service/cleanroomsml/api_op_ListTagsForResource.go +++ b/service/cleanroomsml/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_ListTrainedModelInferenceJobs.go b/service/cleanroomsml/api_op_ListTrainedModelInferenceJobs.go index 1ec4a6ee624..c9980155a7d 100644 --- a/service/cleanroomsml/api_op_ListTrainedModelInferenceJobs.go +++ b/service/cleanroomsml/api_op_ListTrainedModelInferenceJobs.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListTrainedModelInferenceJobsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTrainedModelInferenceJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_ListTrainedModels.go b/service/cleanroomsml/api_op_ListTrainedModels.go index d497c13f82f..0fbd127c941 100644 --- a/service/cleanroomsml/api_op_ListTrainedModels.go +++ b/service/cleanroomsml/api_op_ListTrainedModels.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListTrainedModelsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTrainedModelsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_ListTrainingDatasets.go b/service/cleanroomsml/api_op_ListTrainingDatasets.go index db4bf76354d..2f8b171c629 100644 --- a/service/cleanroomsml/api_op_ListTrainingDatasets.go +++ b/service/cleanroomsml/api_op_ListTrainingDatasets.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListTrainingDatasetsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTrainingDatasets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cleanroomsml/api_op_PutConfiguredAudienceModelPolicy.go b/service/cleanroomsml/api_op_PutConfiguredAudienceModelPolicy.go index 67845c80dbf..3f7c36692a2 100644 --- a/service/cleanroomsml/api_op_PutConfiguredAudienceModelPolicy.go +++ b/service/cleanroomsml/api_op_PutConfiguredAudienceModelPolicy.go @@ -133,9 +133,6 @@ func (c *Client) addOperationPutConfiguredAudienceModelPolicyMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutConfiguredAudienceModelPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_PutMLConfiguration.go b/service/cleanroomsml/api_op_PutMLConfiguration.go index 1e0de2151c6..183fb90f4b0 100644 --- a/service/cleanroomsml/api_op_PutMLConfiguration.go +++ b/service/cleanroomsml/api_op_PutMLConfiguration.go @@ -114,9 +114,6 @@ func (c *Client) addOperationPutMLConfigurationMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutMLConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_StartAudienceExportJob.go b/service/cleanroomsml/api_op_StartAudienceExportJob.go index f4ed0625758..286dfa100fe 100644 --- a/service/cleanroomsml/api_op_StartAudienceExportJob.go +++ b/service/cleanroomsml/api_op_StartAudienceExportJob.go @@ -123,9 +123,6 @@ func (c *Client) addOperationStartAudienceExportJobMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartAudienceExportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_StartAudienceGenerationJob.go b/service/cleanroomsml/api_op_StartAudienceGenerationJob.go index bb67def6f88..301787a128e 100644 --- a/service/cleanroomsml/api_op_StartAudienceGenerationJob.go +++ b/service/cleanroomsml/api_op_StartAudienceGenerationJob.go @@ -164,9 +164,6 @@ func (c *Client) addOperationStartAudienceGenerationJobMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartAudienceGenerationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_StartTrainedModelExportJob.go b/service/cleanroomsml/api_op_StartTrainedModelExportJob.go index e6104d00aff..1bc0a80a4e6 100644 --- a/service/cleanroomsml/api_op_StartTrainedModelExportJob.go +++ b/service/cleanroomsml/api_op_StartTrainedModelExportJob.go @@ -127,9 +127,6 @@ func (c *Client) addOperationStartTrainedModelExportJobMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartTrainedModelExportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_StartTrainedModelInferenceJob.go b/service/cleanroomsml/api_op_StartTrainedModelInferenceJob.go index 393735c5662..0dd628a5acf 100644 --- a/service/cleanroomsml/api_op_StartTrainedModelInferenceJob.go +++ b/service/cleanroomsml/api_op_StartTrainedModelInferenceJob.go @@ -189,9 +189,6 @@ func (c *Client) addOperationStartTrainedModelInferenceJobMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartTrainedModelInferenceJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_TagResource.go b/service/cleanroomsml/api_op_TagResource.go index 9b5b817a4c5..82184350190 100644 --- a/service/cleanroomsml/api_op_TagResource.go +++ b/service/cleanroomsml/api_op_TagResource.go @@ -139,9 +139,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_UntagResource.go b/service/cleanroomsml/api_op_UntagResource.go index 683aef600c5..5bafba97b92 100644 --- a/service/cleanroomsml/api_op_UntagResource.go +++ b/service/cleanroomsml/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/api_op_UpdateConfiguredAudienceModel.go b/service/cleanroomsml/api_op_UpdateConfiguredAudienceModel.go index 07c994dc8f1..fc41f209d5d 100644 --- a/service/cleanroomsml/api_op_UpdateConfiguredAudienceModel.go +++ b/service/cleanroomsml/api_op_UpdateConfiguredAudienceModel.go @@ -137,9 +137,6 @@ func (c *Client) addOperationUpdateConfiguredAudienceModelMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConfiguredAudienceModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/cleanroomsml/snapshot/api_op_CancelTrainedModel.go.snap b/service/cleanroomsml/snapshot/api_op_CancelTrainedModel.go.snap index 0f86e5e59d6..6910003db26 100644 --- a/service/cleanroomsml/snapshot/api_op_CancelTrainedModel.go.snap +++ b/service/cleanroomsml/snapshot/api_op_CancelTrainedModel.go.snap @@ -14,7 +14,6 @@ CancelTrainedModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_CancelTrainedModelInferenceJob.go.snap b/service/cleanroomsml/snapshot/api_op_CancelTrainedModelInferenceJob.go.snap index 28607a1daca..de0619cd9c9 100644 --- a/service/cleanroomsml/snapshot/api_op_CancelTrainedModelInferenceJob.go.snap +++ b/service/cleanroomsml/snapshot/api_op_CancelTrainedModelInferenceJob.go.snap @@ -14,7 +14,6 @@ CancelTrainedModelInferenceJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_CreateAudienceModel.go.snap b/service/cleanroomsml/snapshot/api_op_CreateAudienceModel.go.snap index 8ebc63ef2b2..259fcf2fc9a 100644 --- a/service/cleanroomsml/snapshot/api_op_CreateAudienceModel.go.snap +++ b/service/cleanroomsml/snapshot/api_op_CreateAudienceModel.go.snap @@ -14,7 +14,6 @@ CreateAudienceModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_CreateConfiguredAudienceModel.go.snap b/service/cleanroomsml/snapshot/api_op_CreateConfiguredAudienceModel.go.snap index bad073ec384..c305047f94e 100644 --- a/service/cleanroomsml/snapshot/api_op_CreateConfiguredAudienceModel.go.snap +++ b/service/cleanroomsml/snapshot/api_op_CreateConfiguredAudienceModel.go.snap @@ -14,7 +14,6 @@ CreateConfiguredAudienceModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_CreateConfiguredModelAlgorithm.go.snap b/service/cleanroomsml/snapshot/api_op_CreateConfiguredModelAlgorithm.go.snap index b7ce930f826..0793f27dc84 100644 --- a/service/cleanroomsml/snapshot/api_op_CreateConfiguredModelAlgorithm.go.snap +++ b/service/cleanroomsml/snapshot/api_op_CreateConfiguredModelAlgorithm.go.snap @@ -14,7 +14,6 @@ CreateConfiguredModelAlgorithm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_CreateConfiguredModelAlgorithmAssociation.go.snap b/service/cleanroomsml/snapshot/api_op_CreateConfiguredModelAlgorithmAssociation.go.snap index d167d093ae9..4dbdc596902 100644 --- a/service/cleanroomsml/snapshot/api_op_CreateConfiguredModelAlgorithmAssociation.go.snap +++ b/service/cleanroomsml/snapshot/api_op_CreateConfiguredModelAlgorithmAssociation.go.snap @@ -14,7 +14,6 @@ CreateConfiguredModelAlgorithmAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_CreateMLInputChannel.go.snap b/service/cleanroomsml/snapshot/api_op_CreateMLInputChannel.go.snap index 36b021df63a..8432b73cf60 100644 --- a/service/cleanroomsml/snapshot/api_op_CreateMLInputChannel.go.snap +++ b/service/cleanroomsml/snapshot/api_op_CreateMLInputChannel.go.snap @@ -14,7 +14,6 @@ CreateMLInputChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_CreateTrainedModel.go.snap b/service/cleanroomsml/snapshot/api_op_CreateTrainedModel.go.snap index 5b545f1e6d7..5dd5f3430d4 100644 --- a/service/cleanroomsml/snapshot/api_op_CreateTrainedModel.go.snap +++ b/service/cleanroomsml/snapshot/api_op_CreateTrainedModel.go.snap @@ -14,7 +14,6 @@ CreateTrainedModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_CreateTrainingDataset.go.snap b/service/cleanroomsml/snapshot/api_op_CreateTrainingDataset.go.snap index f04569979ba..29e143b48f0 100644 --- a/service/cleanroomsml/snapshot/api_op_CreateTrainingDataset.go.snap +++ b/service/cleanroomsml/snapshot/api_op_CreateTrainingDataset.go.snap @@ -14,7 +14,6 @@ CreateTrainingDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_DeleteAudienceGenerationJob.go.snap b/service/cleanroomsml/snapshot/api_op_DeleteAudienceGenerationJob.go.snap index 67e4a720ec0..d5f99441fec 100644 --- a/service/cleanroomsml/snapshot/api_op_DeleteAudienceGenerationJob.go.snap +++ b/service/cleanroomsml/snapshot/api_op_DeleteAudienceGenerationJob.go.snap @@ -14,7 +14,6 @@ DeleteAudienceGenerationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_DeleteAudienceModel.go.snap b/service/cleanroomsml/snapshot/api_op_DeleteAudienceModel.go.snap index ecfc9033ec6..e26012e8b14 100644 --- a/service/cleanroomsml/snapshot/api_op_DeleteAudienceModel.go.snap +++ b/service/cleanroomsml/snapshot/api_op_DeleteAudienceModel.go.snap @@ -14,7 +14,6 @@ DeleteAudienceModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_DeleteConfiguredAudienceModel.go.snap b/service/cleanroomsml/snapshot/api_op_DeleteConfiguredAudienceModel.go.snap index 2774e4c4305..75832baea91 100644 --- a/service/cleanroomsml/snapshot/api_op_DeleteConfiguredAudienceModel.go.snap +++ b/service/cleanroomsml/snapshot/api_op_DeleteConfiguredAudienceModel.go.snap @@ -14,7 +14,6 @@ DeleteConfiguredAudienceModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_DeleteConfiguredAudienceModelPolicy.go.snap b/service/cleanroomsml/snapshot/api_op_DeleteConfiguredAudienceModelPolicy.go.snap index cda8f5aa63a..328d0e64743 100644 --- a/service/cleanroomsml/snapshot/api_op_DeleteConfiguredAudienceModelPolicy.go.snap +++ b/service/cleanroomsml/snapshot/api_op_DeleteConfiguredAudienceModelPolicy.go.snap @@ -14,7 +14,6 @@ DeleteConfiguredAudienceModelPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_DeleteConfiguredModelAlgorithm.go.snap b/service/cleanroomsml/snapshot/api_op_DeleteConfiguredModelAlgorithm.go.snap index 91b8cfd1bbe..1720822ea2d 100644 --- a/service/cleanroomsml/snapshot/api_op_DeleteConfiguredModelAlgorithm.go.snap +++ b/service/cleanroomsml/snapshot/api_op_DeleteConfiguredModelAlgorithm.go.snap @@ -14,7 +14,6 @@ DeleteConfiguredModelAlgorithm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_DeleteConfiguredModelAlgorithmAssociation.go.snap b/service/cleanroomsml/snapshot/api_op_DeleteConfiguredModelAlgorithmAssociation.go.snap index 076659b64cf..8f2f7985164 100644 --- a/service/cleanroomsml/snapshot/api_op_DeleteConfiguredModelAlgorithmAssociation.go.snap +++ b/service/cleanroomsml/snapshot/api_op_DeleteConfiguredModelAlgorithmAssociation.go.snap @@ -14,7 +14,6 @@ DeleteConfiguredModelAlgorithmAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_DeleteMLConfiguration.go.snap b/service/cleanroomsml/snapshot/api_op_DeleteMLConfiguration.go.snap index 915bfaef41a..eb07ad19e69 100644 --- a/service/cleanroomsml/snapshot/api_op_DeleteMLConfiguration.go.snap +++ b/service/cleanroomsml/snapshot/api_op_DeleteMLConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteMLConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_DeleteMLInputChannelData.go.snap b/service/cleanroomsml/snapshot/api_op_DeleteMLInputChannelData.go.snap index efd4c607ecd..09ff61898f8 100644 --- a/service/cleanroomsml/snapshot/api_op_DeleteMLInputChannelData.go.snap +++ b/service/cleanroomsml/snapshot/api_op_DeleteMLInputChannelData.go.snap @@ -14,7 +14,6 @@ DeleteMLInputChannelData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_DeleteTrainedModelOutput.go.snap b/service/cleanroomsml/snapshot/api_op_DeleteTrainedModelOutput.go.snap index efe8a75192c..4437fd32fbf 100644 --- a/service/cleanroomsml/snapshot/api_op_DeleteTrainedModelOutput.go.snap +++ b/service/cleanroomsml/snapshot/api_op_DeleteTrainedModelOutput.go.snap @@ -14,7 +14,6 @@ DeleteTrainedModelOutput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_DeleteTrainingDataset.go.snap b/service/cleanroomsml/snapshot/api_op_DeleteTrainingDataset.go.snap index 4ecd6d3e11b..4144a0b129f 100644 --- a/service/cleanroomsml/snapshot/api_op_DeleteTrainingDataset.go.snap +++ b/service/cleanroomsml/snapshot/api_op_DeleteTrainingDataset.go.snap @@ -14,7 +14,6 @@ DeleteTrainingDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_GetAudienceGenerationJob.go.snap b/service/cleanroomsml/snapshot/api_op_GetAudienceGenerationJob.go.snap index e2f01bb9eca..d21b1f44a71 100644 --- a/service/cleanroomsml/snapshot/api_op_GetAudienceGenerationJob.go.snap +++ b/service/cleanroomsml/snapshot/api_op_GetAudienceGenerationJob.go.snap @@ -14,7 +14,6 @@ GetAudienceGenerationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_GetAudienceModel.go.snap b/service/cleanroomsml/snapshot/api_op_GetAudienceModel.go.snap index 11b9ab5eda7..8d5869ced75 100644 --- a/service/cleanroomsml/snapshot/api_op_GetAudienceModel.go.snap +++ b/service/cleanroomsml/snapshot/api_op_GetAudienceModel.go.snap @@ -14,7 +14,6 @@ GetAudienceModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_GetCollaborationConfiguredModelAlgorithmAssociation.go.snap b/service/cleanroomsml/snapshot/api_op_GetCollaborationConfiguredModelAlgorithmAssociation.go.snap index ff8c907faad..1a04a52b4b8 100644 --- a/service/cleanroomsml/snapshot/api_op_GetCollaborationConfiguredModelAlgorithmAssociation.go.snap +++ b/service/cleanroomsml/snapshot/api_op_GetCollaborationConfiguredModelAlgorithmAssociation.go.snap @@ -14,7 +14,6 @@ GetCollaborationConfiguredModelAlgorithmAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_GetCollaborationMLInputChannel.go.snap b/service/cleanroomsml/snapshot/api_op_GetCollaborationMLInputChannel.go.snap index 6a776ac01e6..28a56918e7b 100644 --- a/service/cleanroomsml/snapshot/api_op_GetCollaborationMLInputChannel.go.snap +++ b/service/cleanroomsml/snapshot/api_op_GetCollaborationMLInputChannel.go.snap @@ -14,7 +14,6 @@ GetCollaborationMLInputChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_GetCollaborationTrainedModel.go.snap b/service/cleanroomsml/snapshot/api_op_GetCollaborationTrainedModel.go.snap index 5f015e184f9..52fefd7d753 100644 --- a/service/cleanroomsml/snapshot/api_op_GetCollaborationTrainedModel.go.snap +++ b/service/cleanroomsml/snapshot/api_op_GetCollaborationTrainedModel.go.snap @@ -14,7 +14,6 @@ GetCollaborationTrainedModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_GetConfiguredAudienceModel.go.snap b/service/cleanroomsml/snapshot/api_op_GetConfiguredAudienceModel.go.snap index 2d484b8211c..dadb6c4c3f2 100644 --- a/service/cleanroomsml/snapshot/api_op_GetConfiguredAudienceModel.go.snap +++ b/service/cleanroomsml/snapshot/api_op_GetConfiguredAudienceModel.go.snap @@ -14,7 +14,6 @@ GetConfiguredAudienceModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_GetConfiguredAudienceModelPolicy.go.snap b/service/cleanroomsml/snapshot/api_op_GetConfiguredAudienceModelPolicy.go.snap index a372f1aa4f2..7c310369b35 100644 --- a/service/cleanroomsml/snapshot/api_op_GetConfiguredAudienceModelPolicy.go.snap +++ b/service/cleanroomsml/snapshot/api_op_GetConfiguredAudienceModelPolicy.go.snap @@ -14,7 +14,6 @@ GetConfiguredAudienceModelPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_GetConfiguredModelAlgorithm.go.snap b/service/cleanroomsml/snapshot/api_op_GetConfiguredModelAlgorithm.go.snap index a10457cd156..e8a57a82f1d 100644 --- a/service/cleanroomsml/snapshot/api_op_GetConfiguredModelAlgorithm.go.snap +++ b/service/cleanroomsml/snapshot/api_op_GetConfiguredModelAlgorithm.go.snap @@ -14,7 +14,6 @@ GetConfiguredModelAlgorithm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_GetConfiguredModelAlgorithmAssociation.go.snap b/service/cleanroomsml/snapshot/api_op_GetConfiguredModelAlgorithmAssociation.go.snap index e7cb5db63d9..6572908d536 100644 --- a/service/cleanroomsml/snapshot/api_op_GetConfiguredModelAlgorithmAssociation.go.snap +++ b/service/cleanroomsml/snapshot/api_op_GetConfiguredModelAlgorithmAssociation.go.snap @@ -14,7 +14,6 @@ GetConfiguredModelAlgorithmAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_GetMLConfiguration.go.snap b/service/cleanroomsml/snapshot/api_op_GetMLConfiguration.go.snap index a8cbd0d5dac..f7c3d916052 100644 --- a/service/cleanroomsml/snapshot/api_op_GetMLConfiguration.go.snap +++ b/service/cleanroomsml/snapshot/api_op_GetMLConfiguration.go.snap @@ -14,7 +14,6 @@ GetMLConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_GetMLInputChannel.go.snap b/service/cleanroomsml/snapshot/api_op_GetMLInputChannel.go.snap index df66d85f658..28c0b42bb8c 100644 --- a/service/cleanroomsml/snapshot/api_op_GetMLInputChannel.go.snap +++ b/service/cleanroomsml/snapshot/api_op_GetMLInputChannel.go.snap @@ -14,7 +14,6 @@ GetMLInputChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_GetTrainedModel.go.snap b/service/cleanroomsml/snapshot/api_op_GetTrainedModel.go.snap index 87bdb341b1a..ce90d28fc0f 100644 --- a/service/cleanroomsml/snapshot/api_op_GetTrainedModel.go.snap +++ b/service/cleanroomsml/snapshot/api_op_GetTrainedModel.go.snap @@ -14,7 +14,6 @@ GetTrainedModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_GetTrainedModelInferenceJob.go.snap b/service/cleanroomsml/snapshot/api_op_GetTrainedModelInferenceJob.go.snap index 33f7bb41cfc..8e8eac37280 100644 --- a/service/cleanroomsml/snapshot/api_op_GetTrainedModelInferenceJob.go.snap +++ b/service/cleanroomsml/snapshot/api_op_GetTrainedModelInferenceJob.go.snap @@ -14,7 +14,6 @@ GetTrainedModelInferenceJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_GetTrainingDataset.go.snap b/service/cleanroomsml/snapshot/api_op_GetTrainingDataset.go.snap index 9c67440e84c..a9d62d73211 100644 --- a/service/cleanroomsml/snapshot/api_op_GetTrainingDataset.go.snap +++ b/service/cleanroomsml/snapshot/api_op_GetTrainingDataset.go.snap @@ -14,7 +14,6 @@ GetTrainingDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_ListAudienceExportJobs.go.snap b/service/cleanroomsml/snapshot/api_op_ListAudienceExportJobs.go.snap index 2772094613c..a1d34f94260 100644 --- a/service/cleanroomsml/snapshot/api_op_ListAudienceExportJobs.go.snap +++ b/service/cleanroomsml/snapshot/api_op_ListAudienceExportJobs.go.snap @@ -13,7 +13,6 @@ ListAudienceExportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_ListAudienceGenerationJobs.go.snap b/service/cleanroomsml/snapshot/api_op_ListAudienceGenerationJobs.go.snap index 0cbef8c24be..390d07964b5 100644 --- a/service/cleanroomsml/snapshot/api_op_ListAudienceGenerationJobs.go.snap +++ b/service/cleanroomsml/snapshot/api_op_ListAudienceGenerationJobs.go.snap @@ -13,7 +13,6 @@ ListAudienceGenerationJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_ListAudienceModels.go.snap b/service/cleanroomsml/snapshot/api_op_ListAudienceModels.go.snap index 1b65d58ce4c..f5f0f4875f8 100644 --- a/service/cleanroomsml/snapshot/api_op_ListAudienceModels.go.snap +++ b/service/cleanroomsml/snapshot/api_op_ListAudienceModels.go.snap @@ -13,7 +13,6 @@ ListAudienceModels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_ListCollaborationConfiguredModelAlgorithmAssociations.go.snap b/service/cleanroomsml/snapshot/api_op_ListCollaborationConfiguredModelAlgorithmAssociations.go.snap index 4a017196de8..6fc39f75457 100644 --- a/service/cleanroomsml/snapshot/api_op_ListCollaborationConfiguredModelAlgorithmAssociations.go.snap +++ b/service/cleanroomsml/snapshot/api_op_ListCollaborationConfiguredModelAlgorithmAssociations.go.snap @@ -14,7 +14,6 @@ ListCollaborationConfiguredModelAlgorithmAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_ListCollaborationMLInputChannels.go.snap b/service/cleanroomsml/snapshot/api_op_ListCollaborationMLInputChannels.go.snap index b5ab418bef5..0ed675a8017 100644 --- a/service/cleanroomsml/snapshot/api_op_ListCollaborationMLInputChannels.go.snap +++ b/service/cleanroomsml/snapshot/api_op_ListCollaborationMLInputChannels.go.snap @@ -14,7 +14,6 @@ ListCollaborationMLInputChannels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_ListCollaborationTrainedModelExportJobs.go.snap b/service/cleanroomsml/snapshot/api_op_ListCollaborationTrainedModelExportJobs.go.snap index da21292604e..495d7b75e9c 100644 --- a/service/cleanroomsml/snapshot/api_op_ListCollaborationTrainedModelExportJobs.go.snap +++ b/service/cleanroomsml/snapshot/api_op_ListCollaborationTrainedModelExportJobs.go.snap @@ -14,7 +14,6 @@ ListCollaborationTrainedModelExportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_ListCollaborationTrainedModelInferenceJobs.go.snap b/service/cleanroomsml/snapshot/api_op_ListCollaborationTrainedModelInferenceJobs.go.snap index fee34cd0ddd..d2e4ba7d968 100644 --- a/service/cleanroomsml/snapshot/api_op_ListCollaborationTrainedModelInferenceJobs.go.snap +++ b/service/cleanroomsml/snapshot/api_op_ListCollaborationTrainedModelInferenceJobs.go.snap @@ -14,7 +14,6 @@ ListCollaborationTrainedModelInferenceJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_ListCollaborationTrainedModels.go.snap b/service/cleanroomsml/snapshot/api_op_ListCollaborationTrainedModels.go.snap index 8222943dd10..97fe5adfcb7 100644 --- a/service/cleanroomsml/snapshot/api_op_ListCollaborationTrainedModels.go.snap +++ b/service/cleanroomsml/snapshot/api_op_ListCollaborationTrainedModels.go.snap @@ -14,7 +14,6 @@ ListCollaborationTrainedModels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_ListConfiguredAudienceModels.go.snap b/service/cleanroomsml/snapshot/api_op_ListConfiguredAudienceModels.go.snap index becf32fc1e1..16ac86e4c95 100644 --- a/service/cleanroomsml/snapshot/api_op_ListConfiguredAudienceModels.go.snap +++ b/service/cleanroomsml/snapshot/api_op_ListConfiguredAudienceModels.go.snap @@ -13,7 +13,6 @@ ListConfiguredAudienceModels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_ListConfiguredModelAlgorithmAssociations.go.snap b/service/cleanroomsml/snapshot/api_op_ListConfiguredModelAlgorithmAssociations.go.snap index ba21f2a6ddc..bae281921cb 100644 --- a/service/cleanroomsml/snapshot/api_op_ListConfiguredModelAlgorithmAssociations.go.snap +++ b/service/cleanroomsml/snapshot/api_op_ListConfiguredModelAlgorithmAssociations.go.snap @@ -14,7 +14,6 @@ ListConfiguredModelAlgorithmAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_ListConfiguredModelAlgorithms.go.snap b/service/cleanroomsml/snapshot/api_op_ListConfiguredModelAlgorithms.go.snap index 1e8fb57ccf8..a71fc99dc78 100644 --- a/service/cleanroomsml/snapshot/api_op_ListConfiguredModelAlgorithms.go.snap +++ b/service/cleanroomsml/snapshot/api_op_ListConfiguredModelAlgorithms.go.snap @@ -13,7 +13,6 @@ ListConfiguredModelAlgorithms Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_ListMLInputChannels.go.snap b/service/cleanroomsml/snapshot/api_op_ListMLInputChannels.go.snap index c8b1696dabb..45b1753842b 100644 --- a/service/cleanroomsml/snapshot/api_op_ListMLInputChannels.go.snap +++ b/service/cleanroomsml/snapshot/api_op_ListMLInputChannels.go.snap @@ -14,7 +14,6 @@ ListMLInputChannels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_ListTagsForResource.go.snap b/service/cleanroomsml/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/cleanroomsml/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/cleanroomsml/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_ListTrainedModelInferenceJobs.go.snap b/service/cleanroomsml/snapshot/api_op_ListTrainedModelInferenceJobs.go.snap index 4cdb4d4f961..33d5f6f259b 100644 --- a/service/cleanroomsml/snapshot/api_op_ListTrainedModelInferenceJobs.go.snap +++ b/service/cleanroomsml/snapshot/api_op_ListTrainedModelInferenceJobs.go.snap @@ -14,7 +14,6 @@ ListTrainedModelInferenceJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_ListTrainedModels.go.snap b/service/cleanroomsml/snapshot/api_op_ListTrainedModels.go.snap index 174388ca436..28c0f2b437e 100644 --- a/service/cleanroomsml/snapshot/api_op_ListTrainedModels.go.snap +++ b/service/cleanroomsml/snapshot/api_op_ListTrainedModels.go.snap @@ -14,7 +14,6 @@ ListTrainedModels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_ListTrainingDatasets.go.snap b/service/cleanroomsml/snapshot/api_op_ListTrainingDatasets.go.snap index 9b06e20d4d6..9cca8ad2a91 100644 --- a/service/cleanroomsml/snapshot/api_op_ListTrainingDatasets.go.snap +++ b/service/cleanroomsml/snapshot/api_op_ListTrainingDatasets.go.snap @@ -13,7 +13,6 @@ ListTrainingDatasets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_PutConfiguredAudienceModelPolicy.go.snap b/service/cleanroomsml/snapshot/api_op_PutConfiguredAudienceModelPolicy.go.snap index 75c94b65ed5..f89e2bfaf6e 100644 --- a/service/cleanroomsml/snapshot/api_op_PutConfiguredAudienceModelPolicy.go.snap +++ b/service/cleanroomsml/snapshot/api_op_PutConfiguredAudienceModelPolicy.go.snap @@ -14,7 +14,6 @@ PutConfiguredAudienceModelPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_PutMLConfiguration.go.snap b/service/cleanroomsml/snapshot/api_op_PutMLConfiguration.go.snap index 385764b9020..aa2f52d3540 100644 --- a/service/cleanroomsml/snapshot/api_op_PutMLConfiguration.go.snap +++ b/service/cleanroomsml/snapshot/api_op_PutMLConfiguration.go.snap @@ -14,7 +14,6 @@ PutMLConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_StartAudienceExportJob.go.snap b/service/cleanroomsml/snapshot/api_op_StartAudienceExportJob.go.snap index 6ed73eab039..e860f161429 100644 --- a/service/cleanroomsml/snapshot/api_op_StartAudienceExportJob.go.snap +++ b/service/cleanroomsml/snapshot/api_op_StartAudienceExportJob.go.snap @@ -14,7 +14,6 @@ StartAudienceExportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_StartAudienceGenerationJob.go.snap b/service/cleanroomsml/snapshot/api_op_StartAudienceGenerationJob.go.snap index ef45df1a70c..292df9a85a7 100644 --- a/service/cleanroomsml/snapshot/api_op_StartAudienceGenerationJob.go.snap +++ b/service/cleanroomsml/snapshot/api_op_StartAudienceGenerationJob.go.snap @@ -14,7 +14,6 @@ StartAudienceGenerationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_StartTrainedModelExportJob.go.snap b/service/cleanroomsml/snapshot/api_op_StartTrainedModelExportJob.go.snap index 5b50ac6f5bd..8d2b842e8c4 100644 --- a/service/cleanroomsml/snapshot/api_op_StartTrainedModelExportJob.go.snap +++ b/service/cleanroomsml/snapshot/api_op_StartTrainedModelExportJob.go.snap @@ -14,7 +14,6 @@ StartTrainedModelExportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_StartTrainedModelInferenceJob.go.snap b/service/cleanroomsml/snapshot/api_op_StartTrainedModelInferenceJob.go.snap index be5cfff3318..43c9d6a34db 100644 --- a/service/cleanroomsml/snapshot/api_op_StartTrainedModelInferenceJob.go.snap +++ b/service/cleanroomsml/snapshot/api_op_StartTrainedModelInferenceJob.go.snap @@ -14,7 +14,6 @@ StartTrainedModelInferenceJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_TagResource.go.snap b/service/cleanroomsml/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/cleanroomsml/snapshot/api_op_TagResource.go.snap +++ b/service/cleanroomsml/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_UntagResource.go.snap b/service/cleanroomsml/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/cleanroomsml/snapshot/api_op_UntagResource.go.snap +++ b/service/cleanroomsml/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cleanroomsml/snapshot/api_op_UpdateConfiguredAudienceModel.go.snap b/service/cleanroomsml/snapshot/api_op_UpdateConfiguredAudienceModel.go.snap index ea4f97b92a9..712289bd7df 100644 --- a/service/cleanroomsml/snapshot/api_op_UpdateConfiguredAudienceModel.go.snap +++ b/service/cleanroomsml/snapshot/api_op_UpdateConfiguredAudienceModel.go.snap @@ -14,7 +14,6 @@ UpdateConfiguredAudienceModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloud9/api_client.go b/service/cloud9/api_client.go index 0bb4fca0789..a1871321f71 100644 --- a/service/cloud9/api_client.go +++ b/service/cloud9/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/cloud9/api_op_CreateEnvironmentEC2.go b/service/cloud9/api_op_CreateEnvironmentEC2.go index 013f81d30e3..072328af937 100644 --- a/service/cloud9/api_op_CreateEnvironmentEC2.go +++ b/service/cloud9/api_op_CreateEnvironmentEC2.go @@ -208,9 +208,6 @@ func (c *Client) addOperationCreateEnvironmentEC2Middlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEnvironmentEC2ValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloud9/api_op_CreateEnvironmentMembership.go b/service/cloud9/api_op_CreateEnvironmentMembership.go index 33740e15df9..704cba4569e 100644 --- a/service/cloud9/api_op_CreateEnvironmentMembership.go +++ b/service/cloud9/api_op_CreateEnvironmentMembership.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCreateEnvironmentMembershipMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEnvironmentMembershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloud9/api_op_DeleteEnvironment.go b/service/cloud9/api_op_DeleteEnvironment.go index 56a0dd92e07..af7f81cbc13 100644 --- a/service/cloud9/api_op_DeleteEnvironment.go +++ b/service/cloud9/api_op_DeleteEnvironment.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteEnvironmentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEnvironmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloud9/api_op_DeleteEnvironmentMembership.go b/service/cloud9/api_op_DeleteEnvironmentMembership.go index 1337aaae8cc..388289b5994 100644 --- a/service/cloud9/api_op_DeleteEnvironmentMembership.go +++ b/service/cloud9/api_op_DeleteEnvironmentMembership.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteEnvironmentMembershipMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEnvironmentMembershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloud9/api_op_DescribeEnvironmentMemberships.go b/service/cloud9/api_op_DescribeEnvironmentMemberships.go index a85561be145..20b95d073c9 100644 --- a/service/cloud9/api_op_DescribeEnvironmentMemberships.go +++ b/service/cloud9/api_op_DescribeEnvironmentMemberships.go @@ -151,9 +151,6 @@ func (c *Client) addOperationDescribeEnvironmentMembershipsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEnvironmentMemberships(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloud9/api_op_DescribeEnvironmentStatus.go b/service/cloud9/api_op_DescribeEnvironmentStatus.go index 898fbf29ce1..cf61e572426 100644 --- a/service/cloud9/api_op_DescribeEnvironmentStatus.go +++ b/service/cloud9/api_op_DescribeEnvironmentStatus.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDescribeEnvironmentStatusMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEnvironmentStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloud9/api_op_DescribeEnvironments.go b/service/cloud9/api_op_DescribeEnvironments.go index 3b71114e411..5b029a6d8f2 100644 --- a/service/cloud9/api_op_DescribeEnvironments.go +++ b/service/cloud9/api_op_DescribeEnvironments.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDescribeEnvironmentsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEnvironmentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloud9/api_op_ListEnvironments.go b/service/cloud9/api_op_ListEnvironments.go index d03f0b16ce6..e17f3c45ab6 100644 --- a/service/cloud9/api_op_ListEnvironments.go +++ b/service/cloud9/api_op_ListEnvironments.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListEnvironmentsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEnvironments(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloud9/api_op_ListTagsForResource.go b/service/cloud9/api_op_ListTagsForResource.go index e6f27bb2928..48e7fda81dd 100644 --- a/service/cloud9/api_op_ListTagsForResource.go +++ b/service/cloud9/api_op_ListTagsForResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloud9/api_op_TagResource.go b/service/cloud9/api_op_TagResource.go index cd44808d537..79fe27aa1ba 100644 --- a/service/cloud9/api_op_TagResource.go +++ b/service/cloud9/api_op_TagResource.go @@ -122,9 +122,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloud9/api_op_UntagResource.go b/service/cloud9/api_op_UntagResource.go index 8e431335c6a..8f8e62df63b 100644 --- a/service/cloud9/api_op_UntagResource.go +++ b/service/cloud9/api_op_UntagResource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloud9/api_op_UpdateEnvironment.go b/service/cloud9/api_op_UpdateEnvironment.go index 4bac5db21ee..a172c699954 100644 --- a/service/cloud9/api_op_UpdateEnvironment.go +++ b/service/cloud9/api_op_UpdateEnvironment.go @@ -133,9 +133,6 @@ func (c *Client) addOperationUpdateEnvironmentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEnvironmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloud9/api_op_UpdateEnvironmentMembership.go b/service/cloud9/api_op_UpdateEnvironmentMembership.go index 60dbf666bb2..f987a981d40 100644 --- a/service/cloud9/api_op_UpdateEnvironmentMembership.go +++ b/service/cloud9/api_op_UpdateEnvironmentMembership.go @@ -135,9 +135,6 @@ func (c *Client) addOperationUpdateEnvironmentMembershipMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEnvironmentMembershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloud9/snapshot/api_op_CreateEnvironmentEC2.go.snap b/service/cloud9/snapshot/api_op_CreateEnvironmentEC2.go.snap index cc0f80e12ed..d35d1a8a5a3 100644 --- a/service/cloud9/snapshot/api_op_CreateEnvironmentEC2.go.snap +++ b/service/cloud9/snapshot/api_op_CreateEnvironmentEC2.go.snap @@ -14,7 +14,6 @@ CreateEnvironmentEC2 Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloud9/snapshot/api_op_CreateEnvironmentMembership.go.snap b/service/cloud9/snapshot/api_op_CreateEnvironmentMembership.go.snap index 6793a7fd99f..fd31c95d6af 100644 --- a/service/cloud9/snapshot/api_op_CreateEnvironmentMembership.go.snap +++ b/service/cloud9/snapshot/api_op_CreateEnvironmentMembership.go.snap @@ -14,7 +14,6 @@ CreateEnvironmentMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloud9/snapshot/api_op_DeleteEnvironment.go.snap b/service/cloud9/snapshot/api_op_DeleteEnvironment.go.snap index c799f299d43..b7abf2a0643 100644 --- a/service/cloud9/snapshot/api_op_DeleteEnvironment.go.snap +++ b/service/cloud9/snapshot/api_op_DeleteEnvironment.go.snap @@ -14,7 +14,6 @@ DeleteEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloud9/snapshot/api_op_DeleteEnvironmentMembership.go.snap b/service/cloud9/snapshot/api_op_DeleteEnvironmentMembership.go.snap index b76c413b24b..99ff4c47a2b 100644 --- a/service/cloud9/snapshot/api_op_DeleteEnvironmentMembership.go.snap +++ b/service/cloud9/snapshot/api_op_DeleteEnvironmentMembership.go.snap @@ -14,7 +14,6 @@ DeleteEnvironmentMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloud9/snapshot/api_op_DescribeEnvironmentMemberships.go.snap b/service/cloud9/snapshot/api_op_DescribeEnvironmentMemberships.go.snap index 3289da7554a..751e37ab3cf 100644 --- a/service/cloud9/snapshot/api_op_DescribeEnvironmentMemberships.go.snap +++ b/service/cloud9/snapshot/api_op_DescribeEnvironmentMemberships.go.snap @@ -13,7 +13,6 @@ DescribeEnvironmentMemberships Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloud9/snapshot/api_op_DescribeEnvironmentStatus.go.snap b/service/cloud9/snapshot/api_op_DescribeEnvironmentStatus.go.snap index 82a774c9c09..9d8329df30a 100644 --- a/service/cloud9/snapshot/api_op_DescribeEnvironmentStatus.go.snap +++ b/service/cloud9/snapshot/api_op_DescribeEnvironmentStatus.go.snap @@ -14,7 +14,6 @@ DescribeEnvironmentStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloud9/snapshot/api_op_DescribeEnvironments.go.snap b/service/cloud9/snapshot/api_op_DescribeEnvironments.go.snap index d0024c71ed0..6e26fb35859 100644 --- a/service/cloud9/snapshot/api_op_DescribeEnvironments.go.snap +++ b/service/cloud9/snapshot/api_op_DescribeEnvironments.go.snap @@ -14,7 +14,6 @@ DescribeEnvironments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloud9/snapshot/api_op_ListEnvironments.go.snap b/service/cloud9/snapshot/api_op_ListEnvironments.go.snap index 4e02d7ffa8b..882ae7a5f97 100644 --- a/service/cloud9/snapshot/api_op_ListEnvironments.go.snap +++ b/service/cloud9/snapshot/api_op_ListEnvironments.go.snap @@ -13,7 +13,6 @@ ListEnvironments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloud9/snapshot/api_op_ListTagsForResource.go.snap b/service/cloud9/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/cloud9/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/cloud9/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloud9/snapshot/api_op_TagResource.go.snap b/service/cloud9/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/cloud9/snapshot/api_op_TagResource.go.snap +++ b/service/cloud9/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloud9/snapshot/api_op_UntagResource.go.snap b/service/cloud9/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/cloud9/snapshot/api_op_UntagResource.go.snap +++ b/service/cloud9/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloud9/snapshot/api_op_UpdateEnvironment.go.snap b/service/cloud9/snapshot/api_op_UpdateEnvironment.go.snap index 239e2fa41bc..abe9dc8e4d3 100644 --- a/service/cloud9/snapshot/api_op_UpdateEnvironment.go.snap +++ b/service/cloud9/snapshot/api_op_UpdateEnvironment.go.snap @@ -14,7 +14,6 @@ UpdateEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloud9/snapshot/api_op_UpdateEnvironmentMembership.go.snap b/service/cloud9/snapshot/api_op_UpdateEnvironmentMembership.go.snap index a9aabd9ed12..d5839d9e600 100644 --- a/service/cloud9/snapshot/api_op_UpdateEnvironmentMembership.go.snap +++ b/service/cloud9/snapshot/api_op_UpdateEnvironmentMembership.go.snap @@ -14,7 +14,6 @@ UpdateEnvironmentMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudcontrol/api_client.go b/service/cloudcontrol/api_client.go index e94783e761c..926ac9f1298 100644 --- a/service/cloudcontrol/api_client.go +++ b/service/cloudcontrol/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/cloudcontrol/api_op_CancelResourceRequest.go b/service/cloudcontrol/api_op_CancelResourceRequest.go index 2396fd8c3d9..101c402bd23 100644 --- a/service/cloudcontrol/api_op_CancelResourceRequest.go +++ b/service/cloudcontrol/api_op_CancelResourceRequest.go @@ -122,9 +122,6 @@ func (c *Client) addOperationCancelResourceRequestMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelResourceRequestValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudcontrol/api_op_CreateResource.go b/service/cloudcontrol/api_op_CreateResource.go index 794a0b780eb..3c376c3d2e9 100644 --- a/service/cloudcontrol/api_op_CreateResource.go +++ b/service/cloudcontrol/api_op_CreateResource.go @@ -188,9 +188,6 @@ func (c *Client) addOperationCreateResourceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateResourceMiddleware(stack, options); err != nil { return err } diff --git a/service/cloudcontrol/api_op_DeleteResource.go b/service/cloudcontrol/api_op_DeleteResource.go index 1075f61b4a0..1ced88e6697 100644 --- a/service/cloudcontrol/api_op_DeleteResource.go +++ b/service/cloudcontrol/api_op_DeleteResource.go @@ -185,9 +185,6 @@ func (c *Client) addOperationDeleteResourceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteResourceMiddleware(stack, options); err != nil { return err } diff --git a/service/cloudcontrol/api_op_GetResource.go b/service/cloudcontrol/api_op_GetResource.go index 23109cb0966..48cab18c1c2 100644 --- a/service/cloudcontrol/api_op_GetResource.go +++ b/service/cloudcontrol/api_op_GetResource.go @@ -163,9 +163,6 @@ func (c *Client) addOperationGetResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudcontrol/api_op_GetResourceRequestStatus.go b/service/cloudcontrol/api_op_GetResourceRequestStatus.go index 11578393d71..cbc305774d9 100644 --- a/service/cloudcontrol/api_op_GetResourceRequestStatus.go +++ b/service/cloudcontrol/api_op_GetResourceRequestStatus.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetResourceRequestStatusMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourceRequestStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudcontrol/api_op_ListResourceRequests.go b/service/cloudcontrol/api_op_ListResourceRequests.go index 492858ec089..36e43eb3622 100644 --- a/service/cloudcontrol/api_op_ListResourceRequests.go +++ b/service/cloudcontrol/api_op_ListResourceRequests.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListResourceRequestsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourceRequests(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudcontrol/api_op_ListResources.go b/service/cloudcontrol/api_op_ListResources.go index 72155ebfb5d..49fab8f646b 100644 --- a/service/cloudcontrol/api_op_ListResources.go +++ b/service/cloudcontrol/api_op_ListResources.go @@ -163,9 +163,6 @@ func (c *Client) addOperationListResourcesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudcontrol/api_op_UpdateResource.go b/service/cloudcontrol/api_op_UpdateResource.go index 16885a574dc..21400585b00 100644 --- a/service/cloudcontrol/api_op_UpdateResource.go +++ b/service/cloudcontrol/api_op_UpdateResource.go @@ -203,9 +203,6 @@ func (c *Client) addOperationUpdateResourceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateResourceMiddleware(stack, options); err != nil { return err } diff --git a/service/cloudcontrol/snapshot/api_op_CancelResourceRequest.go.snap b/service/cloudcontrol/snapshot/api_op_CancelResourceRequest.go.snap index ad2901b6a49..01763d8a184 100644 --- a/service/cloudcontrol/snapshot/api_op_CancelResourceRequest.go.snap +++ b/service/cloudcontrol/snapshot/api_op_CancelResourceRequest.go.snap @@ -14,7 +14,6 @@ CancelResourceRequest Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudcontrol/snapshot/api_op_CreateResource.go.snap b/service/cloudcontrol/snapshot/api_op_CreateResource.go.snap index a8bbc51aa4b..e0050f9a1e7 100644 --- a/service/cloudcontrol/snapshot/api_op_CreateResource.go.snap +++ b/service/cloudcontrol/snapshot/api_op_CreateResource.go.snap @@ -15,7 +15,6 @@ CreateResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudcontrol/snapshot/api_op_DeleteResource.go.snap b/service/cloudcontrol/snapshot/api_op_DeleteResource.go.snap index 1c0b7a38678..148284d4a66 100644 --- a/service/cloudcontrol/snapshot/api_op_DeleteResource.go.snap +++ b/service/cloudcontrol/snapshot/api_op_DeleteResource.go.snap @@ -15,7 +15,6 @@ DeleteResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudcontrol/snapshot/api_op_GetResource.go.snap b/service/cloudcontrol/snapshot/api_op_GetResource.go.snap index 8fac016a0b2..bf713354604 100644 --- a/service/cloudcontrol/snapshot/api_op_GetResource.go.snap +++ b/service/cloudcontrol/snapshot/api_op_GetResource.go.snap @@ -14,7 +14,6 @@ GetResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudcontrol/snapshot/api_op_GetResourceRequestStatus.go.snap b/service/cloudcontrol/snapshot/api_op_GetResourceRequestStatus.go.snap index 29ba693a016..90e7b29124e 100644 --- a/service/cloudcontrol/snapshot/api_op_GetResourceRequestStatus.go.snap +++ b/service/cloudcontrol/snapshot/api_op_GetResourceRequestStatus.go.snap @@ -14,7 +14,6 @@ GetResourceRequestStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudcontrol/snapshot/api_op_ListResourceRequests.go.snap b/service/cloudcontrol/snapshot/api_op_ListResourceRequests.go.snap index fc3c02c1c95..09f529a6350 100644 --- a/service/cloudcontrol/snapshot/api_op_ListResourceRequests.go.snap +++ b/service/cloudcontrol/snapshot/api_op_ListResourceRequests.go.snap @@ -13,7 +13,6 @@ ListResourceRequests Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudcontrol/snapshot/api_op_ListResources.go.snap b/service/cloudcontrol/snapshot/api_op_ListResources.go.snap index ef5c53317cd..4dfe792a25a 100644 --- a/service/cloudcontrol/snapshot/api_op_ListResources.go.snap +++ b/service/cloudcontrol/snapshot/api_op_ListResources.go.snap @@ -14,7 +14,6 @@ ListResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudcontrol/snapshot/api_op_UpdateResource.go.snap b/service/cloudcontrol/snapshot/api_op_UpdateResource.go.snap index 8631dd48ba0..4d6de2de3b9 100644 --- a/service/cloudcontrol/snapshot/api_op_UpdateResource.go.snap +++ b/service/cloudcontrol/snapshot/api_op_UpdateResource.go.snap @@ -15,7 +15,6 @@ UpdateResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/api_client.go b/service/clouddirectory/api_client.go index d6f9e689bae..b4bd57b8fc8 100644 --- a/service/clouddirectory/api_client.go +++ b/service/clouddirectory/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/clouddirectory/api_op_AddFacetToObject.go b/service/clouddirectory/api_op_AddFacetToObject.go index 4cc6036acf2..c369bfc0d00 100644 --- a/service/clouddirectory/api_op_AddFacetToObject.go +++ b/service/clouddirectory/api_op_AddFacetToObject.go @@ -122,9 +122,6 @@ func (c *Client) addOperationAddFacetToObjectMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddFacetToObjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ApplySchema.go b/service/clouddirectory/api_op_ApplySchema.go index af34601e7d5..d8dc4b793f4 100644 --- a/service/clouddirectory/api_op_ApplySchema.go +++ b/service/clouddirectory/api_op_ApplySchema.go @@ -124,9 +124,6 @@ func (c *Client) addOperationApplySchemaMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpApplySchemaValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_AttachObject.go b/service/clouddirectory/api_op_AttachObject.go index 2a54d060e46..4ea897e4086 100644 --- a/service/clouddirectory/api_op_AttachObject.go +++ b/service/clouddirectory/api_op_AttachObject.go @@ -133,9 +133,6 @@ func (c *Client) addOperationAttachObjectMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAttachObjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_AttachPolicy.go b/service/clouddirectory/api_op_AttachPolicy.go index c1d27d5612d..0c840abcb83 100644 --- a/service/clouddirectory/api_op_AttachPolicy.go +++ b/service/clouddirectory/api_op_AttachPolicy.go @@ -120,9 +120,6 @@ func (c *Client) addOperationAttachPolicyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAttachPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_AttachToIndex.go b/service/clouddirectory/api_op_AttachToIndex.go index 5375ba6635d..8ef2adfc2cf 100644 --- a/service/clouddirectory/api_op_AttachToIndex.go +++ b/service/clouddirectory/api_op_AttachToIndex.go @@ -123,9 +123,6 @@ func (c *Client) addOperationAttachToIndexMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAttachToIndexValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_AttachTypedLink.go b/service/clouddirectory/api_op_AttachTypedLink.go index 4bbf7c7d999..0d69f4d3853 100644 --- a/service/clouddirectory/api_op_AttachTypedLink.go +++ b/service/clouddirectory/api_op_AttachTypedLink.go @@ -136,9 +136,6 @@ func (c *Client) addOperationAttachTypedLinkMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAttachTypedLinkValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_BatchRead.go b/service/clouddirectory/api_op_BatchRead.go index e3d07b5c7b2..af598321a8f 100644 --- a/service/clouddirectory/api_op_BatchRead.go +++ b/service/clouddirectory/api_op_BatchRead.go @@ -122,9 +122,6 @@ func (c *Client) addOperationBatchReadMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchReadValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_BatchWrite.go b/service/clouddirectory/api_op_BatchWrite.go index a8f126e5064..44cd355ae3a 100644 --- a/service/clouddirectory/api_op_BatchWrite.go +++ b/service/clouddirectory/api_op_BatchWrite.go @@ -119,9 +119,6 @@ func (c *Client) addOperationBatchWriteMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchWriteValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_CreateDirectory.go b/service/clouddirectory/api_op_CreateDirectory.go index e636fa63ec5..21dc1baab46 100644 --- a/service/clouddirectory/api_op_CreateDirectory.go +++ b/service/clouddirectory/api_op_CreateDirectory.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCreateDirectoryMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDirectoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_CreateFacet.go b/service/clouddirectory/api_op_CreateFacet.go index 4efc9c4ea62..786bcfbee06 100644 --- a/service/clouddirectory/api_op_CreateFacet.go +++ b/service/clouddirectory/api_op_CreateFacet.go @@ -137,9 +137,6 @@ func (c *Client) addOperationCreateFacetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFacetValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_CreateIndex.go b/service/clouddirectory/api_op_CreateIndex.go index c2a09335861..de1c9549dcf 100644 --- a/service/clouddirectory/api_op_CreateIndex.go +++ b/service/clouddirectory/api_op_CreateIndex.go @@ -131,9 +131,6 @@ func (c *Client) addOperationCreateIndexMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateIndexValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_CreateObject.go b/service/clouddirectory/api_op_CreateObject.go index 9fd6d1d2c30..fe3854acb0c 100644 --- a/service/clouddirectory/api_op_CreateObject.go +++ b/service/clouddirectory/api_op_CreateObject.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateObjectMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateObjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_CreateSchema.go b/service/clouddirectory/api_op_CreateSchema.go index eefe9f036ac..46c822df25a 100644 --- a/service/clouddirectory/api_op_CreateSchema.go +++ b/service/clouddirectory/api_op_CreateSchema.go @@ -123,9 +123,6 @@ func (c *Client) addOperationCreateSchemaMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSchemaValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_CreateTypedLinkFacet.go b/service/clouddirectory/api_op_CreateTypedLinkFacet.go index 3c4798e7465..da20e7540c5 100644 --- a/service/clouddirectory/api_op_CreateTypedLinkFacet.go +++ b/service/clouddirectory/api_op_CreateTypedLinkFacet.go @@ -116,9 +116,6 @@ func (c *Client) addOperationCreateTypedLinkFacetMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTypedLinkFacetValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_DeleteDirectory.go b/service/clouddirectory/api_op_DeleteDirectory.go index 7a330583885..a13ba704b6a 100644 --- a/service/clouddirectory/api_op_DeleteDirectory.go +++ b/service/clouddirectory/api_op_DeleteDirectory.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteDirectoryMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDirectoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_DeleteFacet.go b/service/clouddirectory/api_op_DeleteFacet.go index 18c591031dd..5aec978e357 100644 --- a/service/clouddirectory/api_op_DeleteFacet.go +++ b/service/clouddirectory/api_op_DeleteFacet.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteFacetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFacetValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_DeleteObject.go b/service/clouddirectory/api_op_DeleteObject.go index dd7a68f21d9..36781e39cc4 100644 --- a/service/clouddirectory/api_op_DeleteObject.go +++ b/service/clouddirectory/api_op_DeleteObject.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteObjectMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteObjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_DeleteSchema.go b/service/clouddirectory/api_op_DeleteSchema.go index 5f442591ed4..819080432a8 100644 --- a/service/clouddirectory/api_op_DeleteSchema.go +++ b/service/clouddirectory/api_op_DeleteSchema.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteSchemaMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSchemaValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_DeleteTypedLinkFacet.go b/service/clouddirectory/api_op_DeleteTypedLinkFacet.go index f97ef00cb96..e994759cb84 100644 --- a/service/clouddirectory/api_op_DeleteTypedLinkFacet.go +++ b/service/clouddirectory/api_op_DeleteTypedLinkFacet.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteTypedLinkFacetMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTypedLinkFacetValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_DetachFromIndex.go b/service/clouddirectory/api_op_DetachFromIndex.go index 29a72271595..3b02d897aef 100644 --- a/service/clouddirectory/api_op_DetachFromIndex.go +++ b/service/clouddirectory/api_op_DetachFromIndex.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDetachFromIndexMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetachFromIndexValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_DetachObject.go b/service/clouddirectory/api_op_DetachObject.go index 1f3cb512e65..213d8db36d6 100644 --- a/service/clouddirectory/api_op_DetachObject.go +++ b/service/clouddirectory/api_op_DetachObject.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDetachObjectMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetachObjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_DetachPolicy.go b/service/clouddirectory/api_op_DetachPolicy.go index 2e1d2466f08..964ad53c46d 100644 --- a/service/clouddirectory/api_op_DetachPolicy.go +++ b/service/clouddirectory/api_op_DetachPolicy.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDetachPolicyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetachPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_DetachTypedLink.go b/service/clouddirectory/api_op_DetachTypedLink.go index c3d7beb6ecd..48f89054f32 100644 --- a/service/clouddirectory/api_op_DetachTypedLink.go +++ b/service/clouddirectory/api_op_DetachTypedLink.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDetachTypedLinkMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetachTypedLinkValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_DisableDirectory.go b/service/clouddirectory/api_op_DisableDirectory.go index 4ed2ee70828..5710fe89768 100644 --- a/service/clouddirectory/api_op_DisableDirectory.go +++ b/service/clouddirectory/api_op_DisableDirectory.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDisableDirectoryMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableDirectoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_EnableDirectory.go b/service/clouddirectory/api_op_EnableDirectory.go index fd3dd25fcb3..aa6993bafb3 100644 --- a/service/clouddirectory/api_op_EnableDirectory.go +++ b/service/clouddirectory/api_op_EnableDirectory.go @@ -114,9 +114,6 @@ func (c *Client) addOperationEnableDirectoryMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableDirectoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_GetAppliedSchemaVersion.go b/service/clouddirectory/api_op_GetAppliedSchemaVersion.go index 4ca5dbd3524..991b70ff287 100644 --- a/service/clouddirectory/api_op_GetAppliedSchemaVersion.go +++ b/service/clouddirectory/api_op_GetAppliedSchemaVersion.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetAppliedSchemaVersionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAppliedSchemaVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_GetDirectory.go b/service/clouddirectory/api_op_GetDirectory.go index b859ee3b0fd..89a9bcd14b9 100644 --- a/service/clouddirectory/api_op_GetDirectory.go +++ b/service/clouddirectory/api_op_GetDirectory.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetDirectoryMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDirectoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_GetFacet.go b/service/clouddirectory/api_op_GetFacet.go index 0703ce9e78b..c2aa41a6a75 100644 --- a/service/clouddirectory/api_op_GetFacet.go +++ b/service/clouddirectory/api_op_GetFacet.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetFacetMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFacetValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_GetLinkAttributes.go b/service/clouddirectory/api_op_GetLinkAttributes.go index 8fc81f449e9..e8cc7705049 100644 --- a/service/clouddirectory/api_op_GetLinkAttributes.go +++ b/service/clouddirectory/api_op_GetLinkAttributes.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetLinkAttributesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLinkAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_GetObjectAttributes.go b/service/clouddirectory/api_op_GetObjectAttributes.go index 18938a9e54d..743ee73c10e 100644 --- a/service/clouddirectory/api_op_GetObjectAttributes.go +++ b/service/clouddirectory/api_op_GetObjectAttributes.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetObjectAttributesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetObjectAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_GetObjectInformation.go b/service/clouddirectory/api_op_GetObjectInformation.go index 1dea5c7f329..d5ce4019c14 100644 --- a/service/clouddirectory/api_op_GetObjectInformation.go +++ b/service/clouddirectory/api_op_GetObjectInformation.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetObjectInformationMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetObjectInformationValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_GetSchemaAsJson.go b/service/clouddirectory/api_op_GetSchemaAsJson.go index d22d202343e..fa7ea99d608 100644 --- a/service/clouddirectory/api_op_GetSchemaAsJson.go +++ b/service/clouddirectory/api_op_GetSchemaAsJson.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetSchemaAsJsonMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSchemaAsJsonValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_GetTypedLinkFacetInformation.go b/service/clouddirectory/api_op_GetTypedLinkFacetInformation.go index ba7611c9763..a5d84b87911 100644 --- a/service/clouddirectory/api_op_GetTypedLinkFacetInformation.go +++ b/service/clouddirectory/api_op_GetTypedLinkFacetInformation.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGetTypedLinkFacetInformationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTypedLinkFacetInformationValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListAppliedSchemaArns.go b/service/clouddirectory/api_op_ListAppliedSchemaArns.go index 2ae8b29258a..e70157beefe 100644 --- a/service/clouddirectory/api_op_ListAppliedSchemaArns.go +++ b/service/clouddirectory/api_op_ListAppliedSchemaArns.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListAppliedSchemaArnsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAppliedSchemaArnsValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListAttachedIndices.go b/service/clouddirectory/api_op_ListAttachedIndices.go index c8eb96bc518..b890fe17d2a 100644 --- a/service/clouddirectory/api_op_ListAttachedIndices.go +++ b/service/clouddirectory/api_op_ListAttachedIndices.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListAttachedIndicesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAttachedIndicesValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListDevelopmentSchemaArns.go b/service/clouddirectory/api_op_ListDevelopmentSchemaArns.go index 09ed981749c..10b990400cc 100644 --- a/service/clouddirectory/api_op_ListDevelopmentSchemaArns.go +++ b/service/clouddirectory/api_op_ListDevelopmentSchemaArns.go @@ -115,9 +115,6 @@ func (c *Client) addOperationListDevelopmentSchemaArnsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDevelopmentSchemaArns(options.Region), middleware.Before); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListDirectories.go b/service/clouddirectory/api_op_ListDirectories.go index 6bf140a1502..464a25b12d8 100644 --- a/service/clouddirectory/api_op_ListDirectories.go +++ b/service/clouddirectory/api_op_ListDirectories.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListDirectoriesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDirectories(options.Region), middleware.Before); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListFacetAttributes.go b/service/clouddirectory/api_op_ListFacetAttributes.go index b24bb5786c7..9d24982f3e7 100644 --- a/service/clouddirectory/api_op_ListFacetAttributes.go +++ b/service/clouddirectory/api_op_ListFacetAttributes.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListFacetAttributesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFacetAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListFacetNames.go b/service/clouddirectory/api_op_ListFacetNames.go index 51899be93f8..25d08342281 100644 --- a/service/clouddirectory/api_op_ListFacetNames.go +++ b/service/clouddirectory/api_op_ListFacetNames.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListFacetNamesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFacetNamesValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListIncomingTypedLinks.go b/service/clouddirectory/api_op_ListIncomingTypedLinks.go index b8604f6fd8f..54017710592 100644 --- a/service/clouddirectory/api_op_ListIncomingTypedLinks.go +++ b/service/clouddirectory/api_op_ListIncomingTypedLinks.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListIncomingTypedLinksMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIncomingTypedLinksValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListIndex.go b/service/clouddirectory/api_op_ListIndex.go index d47eab1e172..b2ddf01106e 100644 --- a/service/clouddirectory/api_op_ListIndex.go +++ b/service/clouddirectory/api_op_ListIndex.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListIndexMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIndexValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListManagedSchemaArns.go b/service/clouddirectory/api_op_ListManagedSchemaArns.go index 8e8c90ca3b7..278639659eb 100644 --- a/service/clouddirectory/api_op_ListManagedSchemaArns.go +++ b/service/clouddirectory/api_op_ListManagedSchemaArns.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListManagedSchemaArnsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListManagedSchemaArns(options.Region), middleware.Before); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListObjectAttributes.go b/service/clouddirectory/api_op_ListObjectAttributes.go index a964f6fc38d..30716e2d2e3 100644 --- a/service/clouddirectory/api_op_ListObjectAttributes.go +++ b/service/clouddirectory/api_op_ListObjectAttributes.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListObjectAttributesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListObjectAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListObjectChildren.go b/service/clouddirectory/api_op_ListObjectChildren.go index 215d7f0c201..8f05bf4f4a3 100644 --- a/service/clouddirectory/api_op_ListObjectChildren.go +++ b/service/clouddirectory/api_op_ListObjectChildren.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListObjectChildrenMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListObjectChildrenValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListObjectParentPaths.go b/service/clouddirectory/api_op_ListObjectParentPaths.go index ffb741e8906..b2aba462a2d 100644 --- a/service/clouddirectory/api_op_ListObjectParentPaths.go +++ b/service/clouddirectory/api_op_ListObjectParentPaths.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListObjectParentPathsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListObjectParentPathsValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListObjectParents.go b/service/clouddirectory/api_op_ListObjectParents.go index 2281273992c..a71da6548cf 100644 --- a/service/clouddirectory/api_op_ListObjectParents.go +++ b/service/clouddirectory/api_op_ListObjectParents.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListObjectParentsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListObjectParentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListObjectPolicies.go b/service/clouddirectory/api_op_ListObjectPolicies.go index 1d501d75487..ad489f3b959 100644 --- a/service/clouddirectory/api_op_ListObjectPolicies.go +++ b/service/clouddirectory/api_op_ListObjectPolicies.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListObjectPoliciesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListObjectPoliciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListOutgoingTypedLinks.go b/service/clouddirectory/api_op_ListOutgoingTypedLinks.go index e51ad08be4d..4a7ae590c98 100644 --- a/service/clouddirectory/api_op_ListOutgoingTypedLinks.go +++ b/service/clouddirectory/api_op_ListOutgoingTypedLinks.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListOutgoingTypedLinksMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListOutgoingTypedLinksValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListPolicyAttachments.go b/service/clouddirectory/api_op_ListPolicyAttachments.go index c9c9bcd648e..05b59d5d142 100644 --- a/service/clouddirectory/api_op_ListPolicyAttachments.go +++ b/service/clouddirectory/api_op_ListPolicyAttachments.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListPolicyAttachmentsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPolicyAttachmentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListPublishedSchemaArns.go b/service/clouddirectory/api_op_ListPublishedSchemaArns.go index 52ac8944571..fc31b471596 100644 --- a/service/clouddirectory/api_op_ListPublishedSchemaArns.go +++ b/service/clouddirectory/api_op_ListPublishedSchemaArns.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListPublishedSchemaArnsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPublishedSchemaArns(options.Region), middleware.Before); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListTagsForResource.go b/service/clouddirectory/api_op_ListTagsForResource.go index 0a9ad98e792..da64437033f 100644 --- a/service/clouddirectory/api_op_ListTagsForResource.go +++ b/service/clouddirectory/api_op_ListTagsForResource.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListTypedLinkFacetAttributes.go b/service/clouddirectory/api_op_ListTypedLinkFacetAttributes.go index 1770627d74e..0b7ceb8ab5c 100644 --- a/service/clouddirectory/api_op_ListTypedLinkFacetAttributes.go +++ b/service/clouddirectory/api_op_ListTypedLinkFacetAttributes.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListTypedLinkFacetAttributesMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTypedLinkFacetAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_ListTypedLinkFacetNames.go b/service/clouddirectory/api_op_ListTypedLinkFacetNames.go index 51d976c496e..0df91b9b13c 100644 --- a/service/clouddirectory/api_op_ListTypedLinkFacetNames.go +++ b/service/clouddirectory/api_op_ListTypedLinkFacetNames.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListTypedLinkFacetNamesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTypedLinkFacetNamesValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_LookupPolicy.go b/service/clouddirectory/api_op_LookupPolicy.go index 9148b1b78dc..a36dad3bef6 100644 --- a/service/clouddirectory/api_op_LookupPolicy.go +++ b/service/clouddirectory/api_op_LookupPolicy.go @@ -138,9 +138,6 @@ func (c *Client) addOperationLookupPolicyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpLookupPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_PublishSchema.go b/service/clouddirectory/api_op_PublishSchema.go index cb7cdf58f59..c7a19faf01a 100644 --- a/service/clouddirectory/api_op_PublishSchema.go +++ b/service/clouddirectory/api_op_PublishSchema.go @@ -128,9 +128,6 @@ func (c *Client) addOperationPublishSchemaMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPublishSchemaValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_PutSchemaFromJson.go b/service/clouddirectory/api_op_PutSchemaFromJson.go index 699cd1c72cd..e8aa4f09316 100644 --- a/service/clouddirectory/api_op_PutSchemaFromJson.go +++ b/service/clouddirectory/api_op_PutSchemaFromJson.go @@ -119,9 +119,6 @@ func (c *Client) addOperationPutSchemaFromJsonMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutSchemaFromJsonValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_RemoveFacetFromObject.go b/service/clouddirectory/api_op_RemoveFacetFromObject.go index ff51bbfe7ef..abf910c5e70 100644 --- a/service/clouddirectory/api_op_RemoveFacetFromObject.go +++ b/service/clouddirectory/api_op_RemoveFacetFromObject.go @@ -118,9 +118,6 @@ func (c *Client) addOperationRemoveFacetFromObjectMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveFacetFromObjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_TagResource.go b/service/clouddirectory/api_op_TagResource.go index df6076553b9..78d07a6daf2 100644 --- a/service/clouddirectory/api_op_TagResource.go +++ b/service/clouddirectory/api_op_TagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_UntagResource.go b/service/clouddirectory/api_op_UntagResource.go index 536a87595c6..246fc9c31a2 100644 --- a/service/clouddirectory/api_op_UntagResource.go +++ b/service/clouddirectory/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_UpdateFacet.go b/service/clouddirectory/api_op_UpdateFacet.go index 41e49c4e728..8bdbfcae177 100644 --- a/service/clouddirectory/api_op_UpdateFacet.go +++ b/service/clouddirectory/api_op_UpdateFacet.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateFacetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFacetValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_UpdateLinkAttributes.go b/service/clouddirectory/api_op_UpdateLinkAttributes.go index 243f2efcfa2..a02e178315a 100644 --- a/service/clouddirectory/api_op_UpdateLinkAttributes.go +++ b/service/clouddirectory/api_op_UpdateLinkAttributes.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateLinkAttributesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLinkAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_UpdateObjectAttributes.go b/service/clouddirectory/api_op_UpdateObjectAttributes.go index 2d48ebc2a1a..982b91c9fe6 100644 --- a/service/clouddirectory/api_op_UpdateObjectAttributes.go +++ b/service/clouddirectory/api_op_UpdateObjectAttributes.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateObjectAttributesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateObjectAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_UpdateSchema.go b/service/clouddirectory/api_op_UpdateSchema.go index bfa329e70bd..e2762c1390d 100644 --- a/service/clouddirectory/api_op_UpdateSchema.go +++ b/service/clouddirectory/api_op_UpdateSchema.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateSchemaMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSchemaValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_UpdateTypedLinkFacet.go b/service/clouddirectory/api_op_UpdateTypedLinkFacet.go index 265dba608f4..a0c825c328b 100644 --- a/service/clouddirectory/api_op_UpdateTypedLinkFacet.go +++ b/service/clouddirectory/api_op_UpdateTypedLinkFacet.go @@ -135,9 +135,6 @@ func (c *Client) addOperationUpdateTypedLinkFacetMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTypedLinkFacetValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_UpgradeAppliedSchema.go b/service/clouddirectory/api_op_UpgradeAppliedSchema.go index 25844b4d8d4..b70d69097cb 100644 --- a/service/clouddirectory/api_op_UpgradeAppliedSchema.go +++ b/service/clouddirectory/api_op_UpgradeAppliedSchema.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUpgradeAppliedSchemaMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpgradeAppliedSchemaValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/api_op_UpgradePublishedSchema.go b/service/clouddirectory/api_op_UpgradePublishedSchema.go index 42c981b2f7e..e6dbc5cf9e7 100644 --- a/service/clouddirectory/api_op_UpgradePublishedSchema.go +++ b/service/clouddirectory/api_op_UpgradePublishedSchema.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUpgradePublishedSchemaMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpgradePublishedSchemaValidationMiddleware(stack); err != nil { return err } diff --git a/service/clouddirectory/snapshot/api_op_AddFacetToObject.go.snap b/service/clouddirectory/snapshot/api_op_AddFacetToObject.go.snap index 46ffb647692..747927af38c 100644 --- a/service/clouddirectory/snapshot/api_op_AddFacetToObject.go.snap +++ b/service/clouddirectory/snapshot/api_op_AddFacetToObject.go.snap @@ -14,7 +14,6 @@ AddFacetToObject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_ApplySchema.go.snap b/service/clouddirectory/snapshot/api_op_ApplySchema.go.snap index f0f58b4d20c..baf547f3e6d 100644 --- a/service/clouddirectory/snapshot/api_op_ApplySchema.go.snap +++ b/service/clouddirectory/snapshot/api_op_ApplySchema.go.snap @@ -14,7 +14,6 @@ ApplySchema Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_AttachObject.go.snap b/service/clouddirectory/snapshot/api_op_AttachObject.go.snap index fcd87ce799f..c216b37175c 100644 --- a/service/clouddirectory/snapshot/api_op_AttachObject.go.snap +++ b/service/clouddirectory/snapshot/api_op_AttachObject.go.snap @@ -14,7 +14,6 @@ AttachObject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_AttachPolicy.go.snap b/service/clouddirectory/snapshot/api_op_AttachPolicy.go.snap index 0205ccc8d25..bbf49744c86 100644 --- a/service/clouddirectory/snapshot/api_op_AttachPolicy.go.snap +++ b/service/clouddirectory/snapshot/api_op_AttachPolicy.go.snap @@ -14,7 +14,6 @@ AttachPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_AttachToIndex.go.snap b/service/clouddirectory/snapshot/api_op_AttachToIndex.go.snap index fbb120122f1..d23ddddd98d 100644 --- a/service/clouddirectory/snapshot/api_op_AttachToIndex.go.snap +++ b/service/clouddirectory/snapshot/api_op_AttachToIndex.go.snap @@ -14,7 +14,6 @@ AttachToIndex Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_AttachTypedLink.go.snap b/service/clouddirectory/snapshot/api_op_AttachTypedLink.go.snap index 596762125ff..f1dbaf25fd9 100644 --- a/service/clouddirectory/snapshot/api_op_AttachTypedLink.go.snap +++ b/service/clouddirectory/snapshot/api_op_AttachTypedLink.go.snap @@ -14,7 +14,6 @@ AttachTypedLink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_BatchRead.go.snap b/service/clouddirectory/snapshot/api_op_BatchRead.go.snap index 6357a8399dc..41cf9ea819a 100644 --- a/service/clouddirectory/snapshot/api_op_BatchRead.go.snap +++ b/service/clouddirectory/snapshot/api_op_BatchRead.go.snap @@ -14,7 +14,6 @@ BatchRead Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_BatchWrite.go.snap b/service/clouddirectory/snapshot/api_op_BatchWrite.go.snap index 27f7f0b0261..79018dab6f1 100644 --- a/service/clouddirectory/snapshot/api_op_BatchWrite.go.snap +++ b/service/clouddirectory/snapshot/api_op_BatchWrite.go.snap @@ -14,7 +14,6 @@ BatchWrite Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_CreateDirectory.go.snap b/service/clouddirectory/snapshot/api_op_CreateDirectory.go.snap index 12de58e1c24..4632d20e75b 100644 --- a/service/clouddirectory/snapshot/api_op_CreateDirectory.go.snap +++ b/service/clouddirectory/snapshot/api_op_CreateDirectory.go.snap @@ -14,7 +14,6 @@ CreateDirectory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_CreateFacet.go.snap b/service/clouddirectory/snapshot/api_op_CreateFacet.go.snap index fbe58b852df..0fd8303dd65 100644 --- a/service/clouddirectory/snapshot/api_op_CreateFacet.go.snap +++ b/service/clouddirectory/snapshot/api_op_CreateFacet.go.snap @@ -14,7 +14,6 @@ CreateFacet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_CreateIndex.go.snap b/service/clouddirectory/snapshot/api_op_CreateIndex.go.snap index 7d5b32b304f..56dbaa11077 100644 --- a/service/clouddirectory/snapshot/api_op_CreateIndex.go.snap +++ b/service/clouddirectory/snapshot/api_op_CreateIndex.go.snap @@ -14,7 +14,6 @@ CreateIndex Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_CreateObject.go.snap b/service/clouddirectory/snapshot/api_op_CreateObject.go.snap index 80940ea2f28..f78db502b12 100644 --- a/service/clouddirectory/snapshot/api_op_CreateObject.go.snap +++ b/service/clouddirectory/snapshot/api_op_CreateObject.go.snap @@ -14,7 +14,6 @@ CreateObject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_CreateSchema.go.snap b/service/clouddirectory/snapshot/api_op_CreateSchema.go.snap index 1d4156efd14..5922a5ee3e9 100644 --- a/service/clouddirectory/snapshot/api_op_CreateSchema.go.snap +++ b/service/clouddirectory/snapshot/api_op_CreateSchema.go.snap @@ -14,7 +14,6 @@ CreateSchema Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_CreateTypedLinkFacet.go.snap b/service/clouddirectory/snapshot/api_op_CreateTypedLinkFacet.go.snap index 0354b32c7b9..7799331718b 100644 --- a/service/clouddirectory/snapshot/api_op_CreateTypedLinkFacet.go.snap +++ b/service/clouddirectory/snapshot/api_op_CreateTypedLinkFacet.go.snap @@ -14,7 +14,6 @@ CreateTypedLinkFacet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_DeleteDirectory.go.snap b/service/clouddirectory/snapshot/api_op_DeleteDirectory.go.snap index d2b31658889..cc523115ef6 100644 --- a/service/clouddirectory/snapshot/api_op_DeleteDirectory.go.snap +++ b/service/clouddirectory/snapshot/api_op_DeleteDirectory.go.snap @@ -14,7 +14,6 @@ DeleteDirectory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_DeleteFacet.go.snap b/service/clouddirectory/snapshot/api_op_DeleteFacet.go.snap index 5cdd13a21d5..f4324069e37 100644 --- a/service/clouddirectory/snapshot/api_op_DeleteFacet.go.snap +++ b/service/clouddirectory/snapshot/api_op_DeleteFacet.go.snap @@ -14,7 +14,6 @@ DeleteFacet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_DeleteObject.go.snap b/service/clouddirectory/snapshot/api_op_DeleteObject.go.snap index f77ca139f8b..7505db786ec 100644 --- a/service/clouddirectory/snapshot/api_op_DeleteObject.go.snap +++ b/service/clouddirectory/snapshot/api_op_DeleteObject.go.snap @@ -14,7 +14,6 @@ DeleteObject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_DeleteSchema.go.snap b/service/clouddirectory/snapshot/api_op_DeleteSchema.go.snap index 753ed53e6a6..043389aaa5f 100644 --- a/service/clouddirectory/snapshot/api_op_DeleteSchema.go.snap +++ b/service/clouddirectory/snapshot/api_op_DeleteSchema.go.snap @@ -14,7 +14,6 @@ DeleteSchema Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_DeleteTypedLinkFacet.go.snap b/service/clouddirectory/snapshot/api_op_DeleteTypedLinkFacet.go.snap index 43a64f1084e..17bdb499999 100644 --- a/service/clouddirectory/snapshot/api_op_DeleteTypedLinkFacet.go.snap +++ b/service/clouddirectory/snapshot/api_op_DeleteTypedLinkFacet.go.snap @@ -14,7 +14,6 @@ DeleteTypedLinkFacet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_DetachFromIndex.go.snap b/service/clouddirectory/snapshot/api_op_DetachFromIndex.go.snap index 03a9b134f97..bb5878c0334 100644 --- a/service/clouddirectory/snapshot/api_op_DetachFromIndex.go.snap +++ b/service/clouddirectory/snapshot/api_op_DetachFromIndex.go.snap @@ -14,7 +14,6 @@ DetachFromIndex Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_DetachObject.go.snap b/service/clouddirectory/snapshot/api_op_DetachObject.go.snap index 14d3ff95c9c..4523101e65b 100644 --- a/service/clouddirectory/snapshot/api_op_DetachObject.go.snap +++ b/service/clouddirectory/snapshot/api_op_DetachObject.go.snap @@ -14,7 +14,6 @@ DetachObject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_DetachPolicy.go.snap b/service/clouddirectory/snapshot/api_op_DetachPolicy.go.snap index f92a38a4bf6..3a4818e6ca0 100644 --- a/service/clouddirectory/snapshot/api_op_DetachPolicy.go.snap +++ b/service/clouddirectory/snapshot/api_op_DetachPolicy.go.snap @@ -14,7 +14,6 @@ DetachPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_DetachTypedLink.go.snap b/service/clouddirectory/snapshot/api_op_DetachTypedLink.go.snap index b7a01e8374e..667ad2a641a 100644 --- a/service/clouddirectory/snapshot/api_op_DetachTypedLink.go.snap +++ b/service/clouddirectory/snapshot/api_op_DetachTypedLink.go.snap @@ -14,7 +14,6 @@ DetachTypedLink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_DisableDirectory.go.snap b/service/clouddirectory/snapshot/api_op_DisableDirectory.go.snap index c76cc8e6163..541bcb999a9 100644 --- a/service/clouddirectory/snapshot/api_op_DisableDirectory.go.snap +++ b/service/clouddirectory/snapshot/api_op_DisableDirectory.go.snap @@ -14,7 +14,6 @@ DisableDirectory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_EnableDirectory.go.snap b/service/clouddirectory/snapshot/api_op_EnableDirectory.go.snap index b7ef3744482..fba5d232308 100644 --- a/service/clouddirectory/snapshot/api_op_EnableDirectory.go.snap +++ b/service/clouddirectory/snapshot/api_op_EnableDirectory.go.snap @@ -14,7 +14,6 @@ EnableDirectory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_GetAppliedSchemaVersion.go.snap b/service/clouddirectory/snapshot/api_op_GetAppliedSchemaVersion.go.snap index 883bc3c69e2..a4451a44350 100644 --- a/service/clouddirectory/snapshot/api_op_GetAppliedSchemaVersion.go.snap +++ b/service/clouddirectory/snapshot/api_op_GetAppliedSchemaVersion.go.snap @@ -14,7 +14,6 @@ GetAppliedSchemaVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_GetDirectory.go.snap b/service/clouddirectory/snapshot/api_op_GetDirectory.go.snap index 4a1db4d1f7a..f74329c1573 100644 --- a/service/clouddirectory/snapshot/api_op_GetDirectory.go.snap +++ b/service/clouddirectory/snapshot/api_op_GetDirectory.go.snap @@ -14,7 +14,6 @@ GetDirectory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_GetFacet.go.snap b/service/clouddirectory/snapshot/api_op_GetFacet.go.snap index e3ab5cd4e62..c88bc11e94b 100644 --- a/service/clouddirectory/snapshot/api_op_GetFacet.go.snap +++ b/service/clouddirectory/snapshot/api_op_GetFacet.go.snap @@ -14,7 +14,6 @@ GetFacet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_GetLinkAttributes.go.snap b/service/clouddirectory/snapshot/api_op_GetLinkAttributes.go.snap index 931a67efabe..f6883a19790 100644 --- a/service/clouddirectory/snapshot/api_op_GetLinkAttributes.go.snap +++ b/service/clouddirectory/snapshot/api_op_GetLinkAttributes.go.snap @@ -14,7 +14,6 @@ GetLinkAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_GetObjectAttributes.go.snap b/service/clouddirectory/snapshot/api_op_GetObjectAttributes.go.snap index 057cd3b745e..846be5f5ca4 100644 --- a/service/clouddirectory/snapshot/api_op_GetObjectAttributes.go.snap +++ b/service/clouddirectory/snapshot/api_op_GetObjectAttributes.go.snap @@ -14,7 +14,6 @@ GetObjectAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_GetObjectInformation.go.snap b/service/clouddirectory/snapshot/api_op_GetObjectInformation.go.snap index a9802352a18..97789ccf668 100644 --- a/service/clouddirectory/snapshot/api_op_GetObjectInformation.go.snap +++ b/service/clouddirectory/snapshot/api_op_GetObjectInformation.go.snap @@ -14,7 +14,6 @@ GetObjectInformation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_GetSchemaAsJson.go.snap b/service/clouddirectory/snapshot/api_op_GetSchemaAsJson.go.snap index e04562b896f..9bba9ffd74e 100644 --- a/service/clouddirectory/snapshot/api_op_GetSchemaAsJson.go.snap +++ b/service/clouddirectory/snapshot/api_op_GetSchemaAsJson.go.snap @@ -14,7 +14,6 @@ GetSchemaAsJson Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_GetTypedLinkFacetInformation.go.snap b/service/clouddirectory/snapshot/api_op_GetTypedLinkFacetInformation.go.snap index 05c21a5c051..1cab0f02431 100644 --- a/service/clouddirectory/snapshot/api_op_GetTypedLinkFacetInformation.go.snap +++ b/service/clouddirectory/snapshot/api_op_GetTypedLinkFacetInformation.go.snap @@ -14,7 +14,6 @@ GetTypedLinkFacetInformation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_ListAppliedSchemaArns.go.snap b/service/clouddirectory/snapshot/api_op_ListAppliedSchemaArns.go.snap index 5c5ce1d5421..a21291ffc06 100644 --- a/service/clouddirectory/snapshot/api_op_ListAppliedSchemaArns.go.snap +++ b/service/clouddirectory/snapshot/api_op_ListAppliedSchemaArns.go.snap @@ -14,7 +14,6 @@ ListAppliedSchemaArns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_ListAttachedIndices.go.snap b/service/clouddirectory/snapshot/api_op_ListAttachedIndices.go.snap index fd7025ce206..556d3606b7d 100644 --- a/service/clouddirectory/snapshot/api_op_ListAttachedIndices.go.snap +++ b/service/clouddirectory/snapshot/api_op_ListAttachedIndices.go.snap @@ -14,7 +14,6 @@ ListAttachedIndices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_ListDevelopmentSchemaArns.go.snap b/service/clouddirectory/snapshot/api_op_ListDevelopmentSchemaArns.go.snap index 782246337e9..29936dffe10 100644 --- a/service/clouddirectory/snapshot/api_op_ListDevelopmentSchemaArns.go.snap +++ b/service/clouddirectory/snapshot/api_op_ListDevelopmentSchemaArns.go.snap @@ -13,7 +13,6 @@ ListDevelopmentSchemaArns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_ListDirectories.go.snap b/service/clouddirectory/snapshot/api_op_ListDirectories.go.snap index 431c3e5fdb2..0868d1fd549 100644 --- a/service/clouddirectory/snapshot/api_op_ListDirectories.go.snap +++ b/service/clouddirectory/snapshot/api_op_ListDirectories.go.snap @@ -13,7 +13,6 @@ ListDirectories Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_ListFacetAttributes.go.snap b/service/clouddirectory/snapshot/api_op_ListFacetAttributes.go.snap index 901a7176850..284cddf6c3d 100644 --- a/service/clouddirectory/snapshot/api_op_ListFacetAttributes.go.snap +++ b/service/clouddirectory/snapshot/api_op_ListFacetAttributes.go.snap @@ -14,7 +14,6 @@ ListFacetAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_ListFacetNames.go.snap b/service/clouddirectory/snapshot/api_op_ListFacetNames.go.snap index 9e6a6ecda9f..55cac6db236 100644 --- a/service/clouddirectory/snapshot/api_op_ListFacetNames.go.snap +++ b/service/clouddirectory/snapshot/api_op_ListFacetNames.go.snap @@ -14,7 +14,6 @@ ListFacetNames Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_ListIncomingTypedLinks.go.snap b/service/clouddirectory/snapshot/api_op_ListIncomingTypedLinks.go.snap index f232430fcb9..cfc2a2ebf37 100644 --- a/service/clouddirectory/snapshot/api_op_ListIncomingTypedLinks.go.snap +++ b/service/clouddirectory/snapshot/api_op_ListIncomingTypedLinks.go.snap @@ -14,7 +14,6 @@ ListIncomingTypedLinks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_ListIndex.go.snap b/service/clouddirectory/snapshot/api_op_ListIndex.go.snap index 5fcf3a16d75..ad59b7806cb 100644 --- a/service/clouddirectory/snapshot/api_op_ListIndex.go.snap +++ b/service/clouddirectory/snapshot/api_op_ListIndex.go.snap @@ -14,7 +14,6 @@ ListIndex Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_ListManagedSchemaArns.go.snap b/service/clouddirectory/snapshot/api_op_ListManagedSchemaArns.go.snap index 61229aaf8eb..4c136cf7546 100644 --- a/service/clouddirectory/snapshot/api_op_ListManagedSchemaArns.go.snap +++ b/service/clouddirectory/snapshot/api_op_ListManagedSchemaArns.go.snap @@ -13,7 +13,6 @@ ListManagedSchemaArns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_ListObjectAttributes.go.snap b/service/clouddirectory/snapshot/api_op_ListObjectAttributes.go.snap index 55df02201c0..e673f668c5d 100644 --- a/service/clouddirectory/snapshot/api_op_ListObjectAttributes.go.snap +++ b/service/clouddirectory/snapshot/api_op_ListObjectAttributes.go.snap @@ -14,7 +14,6 @@ ListObjectAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_ListObjectChildren.go.snap b/service/clouddirectory/snapshot/api_op_ListObjectChildren.go.snap index c7b390ffd4d..7794f9e3ed4 100644 --- a/service/clouddirectory/snapshot/api_op_ListObjectChildren.go.snap +++ b/service/clouddirectory/snapshot/api_op_ListObjectChildren.go.snap @@ -14,7 +14,6 @@ ListObjectChildren Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_ListObjectParentPaths.go.snap b/service/clouddirectory/snapshot/api_op_ListObjectParentPaths.go.snap index 85908d5984b..aa8b70bb1bc 100644 --- a/service/clouddirectory/snapshot/api_op_ListObjectParentPaths.go.snap +++ b/service/clouddirectory/snapshot/api_op_ListObjectParentPaths.go.snap @@ -14,7 +14,6 @@ ListObjectParentPaths Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_ListObjectParents.go.snap b/service/clouddirectory/snapshot/api_op_ListObjectParents.go.snap index 28a47c2319f..9cf5800df55 100644 --- a/service/clouddirectory/snapshot/api_op_ListObjectParents.go.snap +++ b/service/clouddirectory/snapshot/api_op_ListObjectParents.go.snap @@ -14,7 +14,6 @@ ListObjectParents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_ListObjectPolicies.go.snap b/service/clouddirectory/snapshot/api_op_ListObjectPolicies.go.snap index 343b9fd36b9..a94682b2dfe 100644 --- a/service/clouddirectory/snapshot/api_op_ListObjectPolicies.go.snap +++ b/service/clouddirectory/snapshot/api_op_ListObjectPolicies.go.snap @@ -14,7 +14,6 @@ ListObjectPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_ListOutgoingTypedLinks.go.snap b/service/clouddirectory/snapshot/api_op_ListOutgoingTypedLinks.go.snap index 2b02bd0fb1f..88b8c4a0608 100644 --- a/service/clouddirectory/snapshot/api_op_ListOutgoingTypedLinks.go.snap +++ b/service/clouddirectory/snapshot/api_op_ListOutgoingTypedLinks.go.snap @@ -14,7 +14,6 @@ ListOutgoingTypedLinks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_ListPolicyAttachments.go.snap b/service/clouddirectory/snapshot/api_op_ListPolicyAttachments.go.snap index e738aaf0948..ae059ace053 100644 --- a/service/clouddirectory/snapshot/api_op_ListPolicyAttachments.go.snap +++ b/service/clouddirectory/snapshot/api_op_ListPolicyAttachments.go.snap @@ -14,7 +14,6 @@ ListPolicyAttachments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_ListPublishedSchemaArns.go.snap b/service/clouddirectory/snapshot/api_op_ListPublishedSchemaArns.go.snap index 2d0852ff779..be7d4a75c77 100644 --- a/service/clouddirectory/snapshot/api_op_ListPublishedSchemaArns.go.snap +++ b/service/clouddirectory/snapshot/api_op_ListPublishedSchemaArns.go.snap @@ -13,7 +13,6 @@ ListPublishedSchemaArns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_ListTagsForResource.go.snap b/service/clouddirectory/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/clouddirectory/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/clouddirectory/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_ListTypedLinkFacetAttributes.go.snap b/service/clouddirectory/snapshot/api_op_ListTypedLinkFacetAttributes.go.snap index da3c6304f6e..c08193d3f46 100644 --- a/service/clouddirectory/snapshot/api_op_ListTypedLinkFacetAttributes.go.snap +++ b/service/clouddirectory/snapshot/api_op_ListTypedLinkFacetAttributes.go.snap @@ -14,7 +14,6 @@ ListTypedLinkFacetAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_ListTypedLinkFacetNames.go.snap b/service/clouddirectory/snapshot/api_op_ListTypedLinkFacetNames.go.snap index 2d7bb41aad3..d75aa07e2cd 100644 --- a/service/clouddirectory/snapshot/api_op_ListTypedLinkFacetNames.go.snap +++ b/service/clouddirectory/snapshot/api_op_ListTypedLinkFacetNames.go.snap @@ -14,7 +14,6 @@ ListTypedLinkFacetNames Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_LookupPolicy.go.snap b/service/clouddirectory/snapshot/api_op_LookupPolicy.go.snap index 5c26704f381..190e2cc172e 100644 --- a/service/clouddirectory/snapshot/api_op_LookupPolicy.go.snap +++ b/service/clouddirectory/snapshot/api_op_LookupPolicy.go.snap @@ -14,7 +14,6 @@ LookupPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_PublishSchema.go.snap b/service/clouddirectory/snapshot/api_op_PublishSchema.go.snap index 87835493407..c0ab056edab 100644 --- a/service/clouddirectory/snapshot/api_op_PublishSchema.go.snap +++ b/service/clouddirectory/snapshot/api_op_PublishSchema.go.snap @@ -14,7 +14,6 @@ PublishSchema Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_PutSchemaFromJson.go.snap b/service/clouddirectory/snapshot/api_op_PutSchemaFromJson.go.snap index 8d47756dca8..164f0c80258 100644 --- a/service/clouddirectory/snapshot/api_op_PutSchemaFromJson.go.snap +++ b/service/clouddirectory/snapshot/api_op_PutSchemaFromJson.go.snap @@ -14,7 +14,6 @@ PutSchemaFromJson Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_RemoveFacetFromObject.go.snap b/service/clouddirectory/snapshot/api_op_RemoveFacetFromObject.go.snap index 91e65cb9c50..9dfbaf502e9 100644 --- a/service/clouddirectory/snapshot/api_op_RemoveFacetFromObject.go.snap +++ b/service/clouddirectory/snapshot/api_op_RemoveFacetFromObject.go.snap @@ -14,7 +14,6 @@ RemoveFacetFromObject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_TagResource.go.snap b/service/clouddirectory/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/clouddirectory/snapshot/api_op_TagResource.go.snap +++ b/service/clouddirectory/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_UntagResource.go.snap b/service/clouddirectory/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/clouddirectory/snapshot/api_op_UntagResource.go.snap +++ b/service/clouddirectory/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_UpdateFacet.go.snap b/service/clouddirectory/snapshot/api_op_UpdateFacet.go.snap index c565122a598..22478ab0892 100644 --- a/service/clouddirectory/snapshot/api_op_UpdateFacet.go.snap +++ b/service/clouddirectory/snapshot/api_op_UpdateFacet.go.snap @@ -14,7 +14,6 @@ UpdateFacet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_UpdateLinkAttributes.go.snap b/service/clouddirectory/snapshot/api_op_UpdateLinkAttributes.go.snap index 5a27b0d530f..a29f3fa3bdb 100644 --- a/service/clouddirectory/snapshot/api_op_UpdateLinkAttributes.go.snap +++ b/service/clouddirectory/snapshot/api_op_UpdateLinkAttributes.go.snap @@ -14,7 +14,6 @@ UpdateLinkAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_UpdateObjectAttributes.go.snap b/service/clouddirectory/snapshot/api_op_UpdateObjectAttributes.go.snap index c66eb851068..c5ff42a724c 100644 --- a/service/clouddirectory/snapshot/api_op_UpdateObjectAttributes.go.snap +++ b/service/clouddirectory/snapshot/api_op_UpdateObjectAttributes.go.snap @@ -14,7 +14,6 @@ UpdateObjectAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_UpdateSchema.go.snap b/service/clouddirectory/snapshot/api_op_UpdateSchema.go.snap index af4f14872a4..613d2291900 100644 --- a/service/clouddirectory/snapshot/api_op_UpdateSchema.go.snap +++ b/service/clouddirectory/snapshot/api_op_UpdateSchema.go.snap @@ -14,7 +14,6 @@ UpdateSchema Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_UpdateTypedLinkFacet.go.snap b/service/clouddirectory/snapshot/api_op_UpdateTypedLinkFacet.go.snap index e47c3205cff..331a703954d 100644 --- a/service/clouddirectory/snapshot/api_op_UpdateTypedLinkFacet.go.snap +++ b/service/clouddirectory/snapshot/api_op_UpdateTypedLinkFacet.go.snap @@ -14,7 +14,6 @@ UpdateTypedLinkFacet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_UpgradeAppliedSchema.go.snap b/service/clouddirectory/snapshot/api_op_UpgradeAppliedSchema.go.snap index f7e16f3d4f0..de57547c5b8 100644 --- a/service/clouddirectory/snapshot/api_op_UpgradeAppliedSchema.go.snap +++ b/service/clouddirectory/snapshot/api_op_UpgradeAppliedSchema.go.snap @@ -14,7 +14,6 @@ UpgradeAppliedSchema Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/clouddirectory/snapshot/api_op_UpgradePublishedSchema.go.snap b/service/clouddirectory/snapshot/api_op_UpgradePublishedSchema.go.snap index af813e60862..6b96604a07d 100644 --- a/service/clouddirectory/snapshot/api_op_UpgradePublishedSchema.go.snap +++ b/service/clouddirectory/snapshot/api_op_UpgradePublishedSchema.go.snap @@ -14,7 +14,6 @@ UpgradePublishedSchema Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/api_client.go b/service/cloudformation/api_client.go index 10d65d2251c..52a4b6e775e 100644 --- a/service/cloudformation/api_client.go +++ b/service/cloudformation/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/cloudformation/api_op_ActivateOrganizationsAccess.go b/service/cloudformation/api_op_ActivateOrganizationsAccess.go index 7a057232167..7a593bd50f5 100644 --- a/service/cloudformation/api_op_ActivateOrganizationsAccess.go +++ b/service/cloudformation/api_op_ActivateOrganizationsAccess.go @@ -103,9 +103,6 @@ func (c *Client) addOperationActivateOrganizationsAccessMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opActivateOrganizationsAccess(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudformation/api_op_ActivateType.go b/service/cloudformation/api_op_ActivateType.go index 4610faa023a..0a37c39a364 100644 --- a/service/cloudformation/api_op_ActivateType.go +++ b/service/cloudformation/api_op_ActivateType.go @@ -178,9 +178,6 @@ func (c *Client) addOperationActivateTypeMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpActivateTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_BatchDescribeTypeConfigurations.go b/service/cloudformation/api_op_BatchDescribeTypeConfigurations.go index 40c364d0fa0..cba0014d0a1 100644 --- a/service/cloudformation/api_op_BatchDescribeTypeConfigurations.go +++ b/service/cloudformation/api_op_BatchDescribeTypeConfigurations.go @@ -126,9 +126,6 @@ func (c *Client) addOperationBatchDescribeTypeConfigurationsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDescribeTypeConfigurationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_CancelUpdateStack.go b/service/cloudformation/api_op_CancelUpdateStack.go index 6568a5ac083..7a6bfa22f43 100644 --- a/service/cloudformation/api_op_CancelUpdateStack.go +++ b/service/cloudformation/api_op_CancelUpdateStack.go @@ -129,9 +129,6 @@ func (c *Client) addOperationCancelUpdateStackMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelUpdateStackValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_ContinueUpdateRollback.go b/service/cloudformation/api_op_ContinueUpdateRollback.go index c49e1aad084..aeace9ad137 100644 --- a/service/cloudformation/api_op_ContinueUpdateRollback.go +++ b/service/cloudformation/api_op_ContinueUpdateRollback.go @@ -179,9 +179,6 @@ func (c *Client) addOperationContinueUpdateRollbackMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpContinueUpdateRollbackValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_CreateChangeSet.go b/service/cloudformation/api_op_CreateChangeSet.go index bff06ddfc0c..ca73ea5a2ce 100644 --- a/service/cloudformation/api_op_CreateChangeSet.go +++ b/service/cloudformation/api_op_CreateChangeSet.go @@ -360,9 +360,6 @@ func (c *Client) addOperationCreateChangeSetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateChangeSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_CreateGeneratedTemplate.go b/service/cloudformation/api_op_CreateGeneratedTemplate.go index 30731f79d6e..1989514e9bc 100644 --- a/service/cloudformation/api_op_CreateGeneratedTemplate.go +++ b/service/cloudformation/api_op_CreateGeneratedTemplate.go @@ -129,9 +129,6 @@ func (c *Client) addOperationCreateGeneratedTemplateMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGeneratedTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_CreateStack.go b/service/cloudformation/api_op_CreateStack.go index e5615a68183..3b1732ce24d 100644 --- a/service/cloudformation/api_op_CreateStack.go +++ b/service/cloudformation/api_op_CreateStack.go @@ -343,9 +343,6 @@ func (c *Client) addOperationCreateStackMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateStackValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_CreateStackInstances.go b/service/cloudformation/api_op_CreateStackInstances.go index 8eb5d96e04b..fe3e08c4995 100644 --- a/service/cloudformation/api_op_CreateStackInstances.go +++ b/service/cloudformation/api_op_CreateStackInstances.go @@ -199,9 +199,6 @@ func (c *Client) addOperationCreateStackInstancesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateStackInstancesMiddleware(stack, options); err != nil { return err } diff --git a/service/cloudformation/api_op_CreateStackRefactor.go b/service/cloudformation/api_op_CreateStackRefactor.go index c4566544726..a0921bbcbc1 100644 --- a/service/cloudformation/api_op_CreateStackRefactor.go +++ b/service/cloudformation/api_op_CreateStackRefactor.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCreateStackRefactorMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateStackRefactorValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_CreateStackSet.go b/service/cloudformation/api_op_CreateStackSet.go index e5a301779c7..58d4c3dc7f3 100644 --- a/service/cloudformation/api_op_CreateStackSet.go +++ b/service/cloudformation/api_op_CreateStackSet.go @@ -294,9 +294,6 @@ func (c *Client) addOperationCreateStackSetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateStackSetMiddleware(stack, options); err != nil { return err } diff --git a/service/cloudformation/api_op_DeactivateOrganizationsAccess.go b/service/cloudformation/api_op_DeactivateOrganizationsAccess.go index 2e9276782c7..922c4908a70 100644 --- a/service/cloudformation/api_op_DeactivateOrganizationsAccess.go +++ b/service/cloudformation/api_op_DeactivateOrganizationsAccess.go @@ -103,9 +103,6 @@ func (c *Client) addOperationDeactivateOrganizationsAccessMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeactivateOrganizationsAccess(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudformation/api_op_DeactivateType.go b/service/cloudformation/api_op_DeactivateType.go index 6ef2046c075..9817f9fb815 100644 --- a/service/cloudformation/api_op_DeactivateType.go +++ b/service/cloudformation/api_op_DeactivateType.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDeactivateTypeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeactivateType(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudformation/api_op_DeleteChangeSet.go b/service/cloudformation/api_op_DeleteChangeSet.go index 7a642b51cb5..0f964be965c 100644 --- a/service/cloudformation/api_op_DeleteChangeSet.go +++ b/service/cloudformation/api_op_DeleteChangeSet.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteChangeSetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteChangeSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DeleteGeneratedTemplate.go b/service/cloudformation/api_op_DeleteGeneratedTemplate.go index 421b8c64e18..59d9e55f9ff 100644 --- a/service/cloudformation/api_op_DeleteGeneratedTemplate.go +++ b/service/cloudformation/api_op_DeleteGeneratedTemplate.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteGeneratedTemplateMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGeneratedTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DeleteStack.go b/service/cloudformation/api_op_DeleteStack.go index 1c2093f9250..fb70b8d9af3 100644 --- a/service/cloudformation/api_op_DeleteStack.go +++ b/service/cloudformation/api_op_DeleteStack.go @@ -160,9 +160,6 @@ func (c *Client) addOperationDeleteStackMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteStackValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DeleteStackInstances.go b/service/cloudformation/api_op_DeleteStackInstances.go index 42e11530148..f7aa5944451 100644 --- a/service/cloudformation/api_op_DeleteStackInstances.go +++ b/service/cloudformation/api_op_DeleteStackInstances.go @@ -177,9 +177,6 @@ func (c *Client) addOperationDeleteStackInstancesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteStackInstancesMiddleware(stack, options); err != nil { return err } diff --git a/service/cloudformation/api_op_DeleteStackSet.go b/service/cloudformation/api_op_DeleteStackSet.go index 3a9fad99205..d49da5a1564 100644 --- a/service/cloudformation/api_op_DeleteStackSet.go +++ b/service/cloudformation/api_op_DeleteStackSet.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDeleteStackSetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteStackSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DeregisterType.go b/service/cloudformation/api_op_DeregisterType.go index ace3ebd2a47..e34eb123ee1 100644 --- a/service/cloudformation/api_op_DeregisterType.go +++ b/service/cloudformation/api_op_DeregisterType.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDeregisterTypeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterType(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribeAccountLimits.go b/service/cloudformation/api_op_DescribeAccountLimits.go index 785a9f32b8e..ba10e26879b 100644 --- a/service/cloudformation/api_op_DescribeAccountLimits.go +++ b/service/cloudformation/api_op_DescribeAccountLimits.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeAccountLimitsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountLimits(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribeChangeSet.go b/service/cloudformation/api_op_DescribeChangeSet.go index 88eddc4abe3..08ca854bdc0 100644 --- a/service/cloudformation/api_op_DescribeChangeSet.go +++ b/service/cloudformation/api_op_DescribeChangeSet.go @@ -233,9 +233,6 @@ func (c *Client) addOperationDescribeChangeSetMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeChangeSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribeChangeSetHooks.go b/service/cloudformation/api_op_DescribeChangeSetHooks.go index b3646d7a318..221dbde2d98 100644 --- a/service/cloudformation/api_op_DescribeChangeSetHooks.go +++ b/service/cloudformation/api_op_DescribeChangeSetHooks.go @@ -143,9 +143,6 @@ func (c *Client) addOperationDescribeChangeSetHooksMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeChangeSetHooksValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribeGeneratedTemplate.go b/service/cloudformation/api_op_DescribeGeneratedTemplate.go index 06718a2ef0e..90b6dd9512d 100644 --- a/service/cloudformation/api_op_DescribeGeneratedTemplate.go +++ b/service/cloudformation/api_op_DescribeGeneratedTemplate.go @@ -171,9 +171,6 @@ func (c *Client) addOperationDescribeGeneratedTemplateMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeGeneratedTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribeOrganizationsAccess.go b/service/cloudformation/api_op_DescribeOrganizationsAccess.go index 68a187414c4..fa7ffe06220 100644 --- a/service/cloudformation/api_op_DescribeOrganizationsAccess.go +++ b/service/cloudformation/api_op_DescribeOrganizationsAccess.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDescribeOrganizationsAccessMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOrganizationsAccess(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribePublisher.go b/service/cloudformation/api_op_DescribePublisher.go index 785f24a5a5b..46ec89a6223 100644 --- a/service/cloudformation/api_op_DescribePublisher.go +++ b/service/cloudformation/api_op_DescribePublisher.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDescribePublisherMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePublisher(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribeResourceScan.go b/service/cloudformation/api_op_DescribeResourceScan.go index 2d87efe65ad..db5071f8cb2 100644 --- a/service/cloudformation/api_op_DescribeResourceScan.go +++ b/service/cloudformation/api_op_DescribeResourceScan.go @@ -164,9 +164,6 @@ func (c *Client) addOperationDescribeResourceScanMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeResourceScanValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribeStackDriftDetectionStatus.go b/service/cloudformation/api_op_DescribeStackDriftDetectionStatus.go index 1eaee57b20c..b0fa8ed414b 100644 --- a/service/cloudformation/api_op_DescribeStackDriftDetectionStatus.go +++ b/service/cloudformation/api_op_DescribeStackDriftDetectionStatus.go @@ -189,9 +189,6 @@ func (c *Client) addOperationDescribeStackDriftDetectionStatusMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeStackDriftDetectionStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribeStackEvents.go b/service/cloudformation/api_op_DescribeStackEvents.go index dfbd7ed294f..4f49cce0221 100644 --- a/service/cloudformation/api_op_DescribeStackEvents.go +++ b/service/cloudformation/api_op_DescribeStackEvents.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeStackEventsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStackEvents(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribeStackInstance.go b/service/cloudformation/api_op_DescribeStackInstance.go index 9b609303983..0023882243e 100644 --- a/service/cloudformation/api_op_DescribeStackInstance.go +++ b/service/cloudformation/api_op_DescribeStackInstance.go @@ -147,9 +147,6 @@ func (c *Client) addOperationDescribeStackInstanceMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeStackInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribeStackRefactor.go b/service/cloudformation/api_op_DescribeStackRefactor.go index bf8601ff1e7..b93d4c0d91e 100644 --- a/service/cloudformation/api_op_DescribeStackRefactor.go +++ b/service/cloudformation/api_op_DescribeStackRefactor.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribeStackRefactorMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeStackRefactorValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribeStackResource.go b/service/cloudformation/api_op_DescribeStackResource.go index 697bdbc2f27..a8e7257c17e 100644 --- a/service/cloudformation/api_op_DescribeStackResource.go +++ b/service/cloudformation/api_op_DescribeStackResource.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeStackResourceMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeStackResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribeStackResourceDrifts.go b/service/cloudformation/api_op_DescribeStackResourceDrifts.go index b0223ec5526..ebea6c37698 100644 --- a/service/cloudformation/api_op_DescribeStackResourceDrifts.go +++ b/service/cloudformation/api_op_DescribeStackResourceDrifts.go @@ -167,9 +167,6 @@ func (c *Client) addOperationDescribeStackResourceDriftsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeStackResourceDriftsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribeStackResources.go b/service/cloudformation/api_op_DescribeStackResources.go index 67f7bff4b3f..1aac488c5f2 100644 --- a/service/cloudformation/api_op_DescribeStackResources.go +++ b/service/cloudformation/api_op_DescribeStackResources.go @@ -161,9 +161,6 @@ func (c *Client) addOperationDescribeStackResourcesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStackResources(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribeStackSet.go b/service/cloudformation/api_op_DescribeStackSet.go index 3cd1e450d58..7fcce8b611d 100644 --- a/service/cloudformation/api_op_DescribeStackSet.go +++ b/service/cloudformation/api_op_DescribeStackSet.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeStackSetMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeStackSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribeStackSetOperation.go b/service/cloudformation/api_op_DescribeStackSetOperation.go index 95c750c4f96..07c0782c82b 100644 --- a/service/cloudformation/api_op_DescribeStackSetOperation.go +++ b/service/cloudformation/api_op_DescribeStackSetOperation.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribeStackSetOperationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeStackSetOperationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribeStacks.go b/service/cloudformation/api_op_DescribeStacks.go index cf9cf503bea..5e0d8bb2a02 100644 --- a/service/cloudformation/api_op_DescribeStacks.go +++ b/service/cloudformation/api_op_DescribeStacks.go @@ -152,9 +152,6 @@ func (c *Client) addOperationDescribeStacksMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStacks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribeType.go b/service/cloudformation/api_op_DescribeType.go index a54d96eef15..2401cf41a2e 100644 --- a/service/cloudformation/api_op_DescribeType.go +++ b/service/cloudformation/api_op_DescribeType.go @@ -374,9 +374,6 @@ func (c *Client) addOperationDescribeTypeMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeType(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudformation/api_op_DescribeTypeRegistration.go b/service/cloudformation/api_op_DescribeTypeRegistration.go index 49a5aa8dd7b..c201485b297 100644 --- a/service/cloudformation/api_op_DescribeTypeRegistration.go +++ b/service/cloudformation/api_op_DescribeTypeRegistration.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeTypeRegistrationMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTypeRegistrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DetectStackDrift.go b/service/cloudformation/api_op_DetectStackDrift.go index 89137850604..0086e198a0b 100644 --- a/service/cloudformation/api_op_DetectStackDrift.go +++ b/service/cloudformation/api_op_DetectStackDrift.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDetectStackDriftMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetectStackDriftValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DetectStackResourceDrift.go b/service/cloudformation/api_op_DetectStackResourceDrift.go index 662d0e7c089..dfa28872340 100644 --- a/service/cloudformation/api_op_DetectStackResourceDrift.go +++ b/service/cloudformation/api_op_DetectStackResourceDrift.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDetectStackResourceDriftMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetectStackResourceDriftValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_DetectStackSetDrift.go b/service/cloudformation/api_op_DetectStackSetDrift.go index 3b1e09fba44..9778080986f 100644 --- a/service/cloudformation/api_op_DetectStackSetDrift.go +++ b/service/cloudformation/api_op_DetectStackSetDrift.go @@ -174,9 +174,6 @@ func (c *Client) addOperationDetectStackSetDriftMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDetectStackSetDriftMiddleware(stack, options); err != nil { return err } diff --git a/service/cloudformation/api_op_EstimateTemplateCost.go b/service/cloudformation/api_op_EstimateTemplateCost.go index dc394a15b3c..5fabc79380d 100644 --- a/service/cloudformation/api_op_EstimateTemplateCost.go +++ b/service/cloudformation/api_op_EstimateTemplateCost.go @@ -130,9 +130,6 @@ func (c *Client) addOperationEstimateTemplateCostMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEstimateTemplateCost(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudformation/api_op_ExecuteChangeSet.go b/service/cloudformation/api_op_ExecuteChangeSet.go index 9a5d7734512..6587e9817eb 100644 --- a/service/cloudformation/api_op_ExecuteChangeSet.go +++ b/service/cloudformation/api_op_ExecuteChangeSet.go @@ -156,9 +156,6 @@ func (c *Client) addOperationExecuteChangeSetMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExecuteChangeSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_ExecuteStackRefactor.go b/service/cloudformation/api_op_ExecuteStackRefactor.go index 9bcfe874fd0..58d4df8b30e 100644 --- a/service/cloudformation/api_op_ExecuteStackRefactor.go +++ b/service/cloudformation/api_op_ExecuteStackRefactor.go @@ -107,9 +107,6 @@ func (c *Client) addOperationExecuteStackRefactorMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExecuteStackRefactorValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_GetGeneratedTemplate.go b/service/cloudformation/api_op_GetGeneratedTemplate.go index 4968e6bbdaf..23fd519ddbc 100644 --- a/service/cloudformation/api_op_GetGeneratedTemplate.go +++ b/service/cloudformation/api_op_GetGeneratedTemplate.go @@ -147,9 +147,6 @@ func (c *Client) addOperationGetGeneratedTemplateMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetGeneratedTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_GetStackPolicy.go b/service/cloudformation/api_op_GetStackPolicy.go index 28cd2dccb49..69c69487f3a 100644 --- a/service/cloudformation/api_op_GetStackPolicy.go +++ b/service/cloudformation/api_op_GetStackPolicy.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetStackPolicyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetStackPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_GetTemplate.go b/service/cloudformation/api_op_GetTemplate.go index a1604684d66..42b641f765e 100644 --- a/service/cloudformation/api_op_GetTemplate.go +++ b/service/cloudformation/api_op_GetTemplate.go @@ -149,9 +149,6 @@ func (c *Client) addOperationGetTemplateMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTemplate(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudformation/api_op_GetTemplateSummary.go b/service/cloudformation/api_op_GetTemplateSummary.go index 6ac29162918..d3524225884 100644 --- a/service/cloudformation/api_op_GetTemplateSummary.go +++ b/service/cloudformation/api_op_GetTemplateSummary.go @@ -210,9 +210,6 @@ func (c *Client) addOperationGetTemplateSummaryMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTemplateSummary(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudformation/api_op_ImportStacksToStackSet.go b/service/cloudformation/api_op_ImportStacksToStackSet.go index 13622dd7d2e..ab035077f30 100644 --- a/service/cloudformation/api_op_ImportStacksToStackSet.go +++ b/service/cloudformation/api_op_ImportStacksToStackSet.go @@ -151,9 +151,6 @@ func (c *Client) addOperationImportStacksToStackSetMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opImportStacksToStackSetMiddleware(stack, options); err != nil { return err } diff --git a/service/cloudformation/api_op_ListChangeSets.go b/service/cloudformation/api_op_ListChangeSets.go index 2fea3739296..55cefb22bb7 100644 --- a/service/cloudformation/api_op_ListChangeSets.go +++ b/service/cloudformation/api_op_ListChangeSets.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListChangeSetsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListChangeSetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_ListExports.go b/service/cloudformation/api_op_ListExports.go index 21bd149491b..53ed34be0d0 100644 --- a/service/cloudformation/api_op_ListExports.go +++ b/service/cloudformation/api_op_ListExports.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListExportsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExports(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudformation/api_op_ListGeneratedTemplates.go b/service/cloudformation/api_op_ListGeneratedTemplates.go index 275d7c9d965..f1aa020ff51 100644 --- a/service/cloudformation/api_op_ListGeneratedTemplates.go +++ b/service/cloudformation/api_op_ListGeneratedTemplates.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListGeneratedTemplatesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGeneratedTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudformation/api_op_ListHookResults.go b/service/cloudformation/api_op_ListHookResults.go index a807bade84b..6fe2161800c 100644 --- a/service/cloudformation/api_op_ListHookResults.go +++ b/service/cloudformation/api_op_ListHookResults.go @@ -145,9 +145,6 @@ func (c *Client) addOperationListHookResultsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListHookResultsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_ListImports.go b/service/cloudformation/api_op_ListImports.go index 4de84b4e200..e9aabf80b6d 100644 --- a/service/cloudformation/api_op_ListImports.go +++ b/service/cloudformation/api_op_ListImports.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListImportsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListImportsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_ListResourceScanRelatedResources.go b/service/cloudformation/api_op_ListResourceScanRelatedResources.go index 96754f782a3..3b1c893b036 100644 --- a/service/cloudformation/api_op_ListResourceScanRelatedResources.go +++ b/service/cloudformation/api_op_ListResourceScanRelatedResources.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListResourceScanRelatedResourcesMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListResourceScanRelatedResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_ListResourceScanResources.go b/service/cloudformation/api_op_ListResourceScanResources.go index 247db7c21d3..c753f52aa5c 100644 --- a/service/cloudformation/api_op_ListResourceScanResources.go +++ b/service/cloudformation/api_op_ListResourceScanResources.go @@ -146,9 +146,6 @@ func (c *Client) addOperationListResourceScanResourcesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListResourceScanResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_ListResourceScans.go b/service/cloudformation/api_op_ListResourceScans.go index c613d35c3ed..3279fa96980 100644 --- a/service/cloudformation/api_op_ListResourceScans.go +++ b/service/cloudformation/api_op_ListResourceScans.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListResourceScansMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourceScans(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudformation/api_op_ListStackInstanceResourceDrifts.go b/service/cloudformation/api_op_ListStackInstanceResourceDrifts.go index 1b280e401a0..2bd5cada0c0 100644 --- a/service/cloudformation/api_op_ListStackInstanceResourceDrifts.go +++ b/service/cloudformation/api_op_ListStackInstanceResourceDrifts.go @@ -187,9 +187,6 @@ func (c *Client) addOperationListStackInstanceResourceDriftsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListStackInstanceResourceDriftsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_ListStackInstances.go b/service/cloudformation/api_op_ListStackInstances.go index ec100798cc6..4349cbb45fa 100644 --- a/service/cloudformation/api_op_ListStackInstances.go +++ b/service/cloudformation/api_op_ListStackInstances.go @@ -165,9 +165,6 @@ func (c *Client) addOperationListStackInstancesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListStackInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_ListStackRefactorActions.go b/service/cloudformation/api_op_ListStackRefactorActions.go index 83c54d39654..b1c7b11f845 100644 --- a/service/cloudformation/api_op_ListStackRefactorActions.go +++ b/service/cloudformation/api_op_ListStackRefactorActions.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListStackRefactorActionsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListStackRefactorActionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_ListStackRefactors.go b/service/cloudformation/api_op_ListStackRefactors.go index 4d471e1f1ab..1b09d906e48 100644 --- a/service/cloudformation/api_op_ListStackRefactors.go +++ b/service/cloudformation/api_op_ListStackRefactors.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListStackRefactorsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStackRefactors(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudformation/api_op_ListStackResources.go b/service/cloudformation/api_op_ListStackResources.go index 035865ced92..14f9042ecd0 100644 --- a/service/cloudformation/api_op_ListStackResources.go +++ b/service/cloudformation/api_op_ListStackResources.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListStackResourcesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListStackResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_ListStackSetAutoDeploymentTargets.go b/service/cloudformation/api_op_ListStackSetAutoDeploymentTargets.go index 94b5dc41384..b244d7f8245 100644 --- a/service/cloudformation/api_op_ListStackSetAutoDeploymentTargets.go +++ b/service/cloudformation/api_op_ListStackSetAutoDeploymentTargets.go @@ -150,9 +150,6 @@ func (c *Client) addOperationListStackSetAutoDeploymentTargetsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListStackSetAutoDeploymentTargetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_ListStackSetOperationResults.go b/service/cloudformation/api_op_ListStackSetOperationResults.go index ad93fe0ad68..41c8d1aba61 100644 --- a/service/cloudformation/api_op_ListStackSetOperationResults.go +++ b/service/cloudformation/api_op_ListStackSetOperationResults.go @@ -161,9 +161,6 @@ func (c *Client) addOperationListStackSetOperationResultsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListStackSetOperationResultsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_ListStackSetOperations.go b/service/cloudformation/api_op_ListStackSetOperations.go index 14e94804215..60bd26db980 100644 --- a/service/cloudformation/api_op_ListStackSetOperations.go +++ b/service/cloudformation/api_op_ListStackSetOperations.go @@ -152,9 +152,6 @@ func (c *Client) addOperationListStackSetOperationsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListStackSetOperationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_ListStackSets.go b/service/cloudformation/api_op_ListStackSets.go index c52d32e4a8b..c40b32dfd09 100644 --- a/service/cloudformation/api_op_ListStackSets.go +++ b/service/cloudformation/api_op_ListStackSets.go @@ -161,9 +161,6 @@ func (c *Client) addOperationListStackSetsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStackSets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudformation/api_op_ListStacks.go b/service/cloudformation/api_op_ListStacks.go index e32f4daba1f..7566b786926 100644 --- a/service/cloudformation/api_op_ListStacks.go +++ b/service/cloudformation/api_op_ListStacks.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListStacksMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStacks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudformation/api_op_ListTypeRegistrations.go b/service/cloudformation/api_op_ListTypeRegistrations.go index ed1f96ae860..27cc8be98e0 100644 --- a/service/cloudformation/api_op_ListTypeRegistrations.go +++ b/service/cloudformation/api_op_ListTypeRegistrations.go @@ -148,9 +148,6 @@ func (c *Client) addOperationListTypeRegistrationsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTypeRegistrations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudformation/api_op_ListTypeVersions.go b/service/cloudformation/api_op_ListTypeVersions.go index 46591e7df2c..7005498fa4c 100644 --- a/service/cloudformation/api_op_ListTypeVersions.go +++ b/service/cloudformation/api_op_ListTypeVersions.go @@ -162,9 +162,6 @@ func (c *Client) addOperationListTypeVersionsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTypeVersions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudformation/api_op_ListTypes.go b/service/cloudformation/api_op_ListTypes.go index 63be0903734..1e74921e7d8 100644 --- a/service/cloudformation/api_op_ListTypes.go +++ b/service/cloudformation/api_op_ListTypes.go @@ -187,9 +187,6 @@ func (c *Client) addOperationListTypesMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudformation/api_op_PublishType.go b/service/cloudformation/api_op_PublishType.go index 6d93f520641..bb4b46975fc 100644 --- a/service/cloudformation/api_op_PublishType.go +++ b/service/cloudformation/api_op_PublishType.go @@ -150,9 +150,6 @@ func (c *Client) addOperationPublishTypeMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPublishType(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudformation/api_op_RecordHandlerProgress.go b/service/cloudformation/api_op_RecordHandlerProgress.go index 8e4e87eac49..874d61ccddb 100644 --- a/service/cloudformation/api_op_RecordHandlerProgress.go +++ b/service/cloudformation/api_op_RecordHandlerProgress.go @@ -146,9 +146,6 @@ func (c *Client) addOperationRecordHandlerProgressMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRecordHandlerProgressValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_RegisterPublisher.go b/service/cloudformation/api_op_RegisterPublisher.go index 0b7192f7ce0..4058091627e 100644 --- a/service/cloudformation/api_op_RegisterPublisher.go +++ b/service/cloudformation/api_op_RegisterPublisher.go @@ -132,9 +132,6 @@ func (c *Client) addOperationRegisterPublisherMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterPublisher(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudformation/api_op_RegisterType.go b/service/cloudformation/api_op_RegisterType.go index 4ae17e1bc7e..94b4bba2f13 100644 --- a/service/cloudformation/api_op_RegisterType.go +++ b/service/cloudformation/api_op_RegisterType.go @@ -216,9 +216,6 @@ func (c *Client) addOperationRegisterTypeMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_RollbackStack.go b/service/cloudformation/api_op_RollbackStack.go index 6db2c08b9ed..5d228f5072f 100644 --- a/service/cloudformation/api_op_RollbackStack.go +++ b/service/cloudformation/api_op_RollbackStack.go @@ -144,9 +144,6 @@ func (c *Client) addOperationRollbackStackMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRollbackStackValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_SetStackPolicy.go b/service/cloudformation/api_op_SetStackPolicy.go index 6b3fb35585c..ed586c4b563 100644 --- a/service/cloudformation/api_op_SetStackPolicy.go +++ b/service/cloudformation/api_op_SetStackPolicy.go @@ -122,9 +122,6 @@ func (c *Client) addOperationSetStackPolicyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetStackPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_SetTypeConfiguration.go b/service/cloudformation/api_op_SetTypeConfiguration.go index db42b0b9e97..7d3dc9510e6 100644 --- a/service/cloudformation/api_op_SetTypeConfiguration.go +++ b/service/cloudformation/api_op_SetTypeConfiguration.go @@ -164,9 +164,6 @@ func (c *Client) addOperationSetTypeConfigurationMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetTypeConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_SetTypeDefaultVersion.go b/service/cloudformation/api_op_SetTypeDefaultVersion.go index 9b19d5b0c28..1e496bdcb6f 100644 --- a/service/cloudformation/api_op_SetTypeDefaultVersion.go +++ b/service/cloudformation/api_op_SetTypeDefaultVersion.go @@ -125,9 +125,6 @@ func (c *Client) addOperationSetTypeDefaultVersionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetTypeDefaultVersion(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudformation/api_op_SignalResource.go b/service/cloudformation/api_op_SignalResource.go index 98f24a5354e..9b2e15bf6d7 100644 --- a/service/cloudformation/api_op_SignalResource.go +++ b/service/cloudformation/api_op_SignalResource.go @@ -135,9 +135,6 @@ func (c *Client) addOperationSignalResourceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSignalResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_StartResourceScan.go b/service/cloudformation/api_op_StartResourceScan.go index 3ea56bd727e..65b35992b38 100644 --- a/service/cloudformation/api_op_StartResourceScan.go +++ b/service/cloudformation/api_op_StartResourceScan.go @@ -116,9 +116,6 @@ func (c *Client) addOperationStartResourceScanMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartResourceScan(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudformation/api_op_StopStackSetOperation.go b/service/cloudformation/api_op_StopStackSetOperation.go index 34b0e7f0d98..2b640b1b606 100644 --- a/service/cloudformation/api_op_StopStackSetOperation.go +++ b/service/cloudformation/api_op_StopStackSetOperation.go @@ -134,9 +134,6 @@ func (c *Client) addOperationStopStackSetOperationMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopStackSetOperationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_TestType.go b/service/cloudformation/api_op_TestType.go index 98186b13962..08131899ccc 100644 --- a/service/cloudformation/api_op_TestType.go +++ b/service/cloudformation/api_op_TestType.go @@ -176,9 +176,6 @@ func (c *Client) addOperationTestTypeMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTestType(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudformation/api_op_UpdateGeneratedTemplate.go b/service/cloudformation/api_op_UpdateGeneratedTemplate.go index e8b51e41ea3..e71e07b3f12 100644 --- a/service/cloudformation/api_op_UpdateGeneratedTemplate.go +++ b/service/cloudformation/api_op_UpdateGeneratedTemplate.go @@ -139,9 +139,6 @@ func (c *Client) addOperationUpdateGeneratedTemplateMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateGeneratedTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_UpdateStack.go b/service/cloudformation/api_op_UpdateStack.go index 6705bf629ae..e8cfcd0e2f5 100644 --- a/service/cloudformation/api_op_UpdateStack.go +++ b/service/cloudformation/api_op_UpdateStack.go @@ -345,9 +345,6 @@ func (c *Client) addOperationUpdateStackMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateStackValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_UpdateStackInstances.go b/service/cloudformation/api_op_UpdateStackInstances.go index 4a9eb6617ef..789e238ceca 100644 --- a/service/cloudformation/api_op_UpdateStackInstances.go +++ b/service/cloudformation/api_op_UpdateStackInstances.go @@ -223,9 +223,6 @@ func (c *Client) addOperationUpdateStackInstancesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateStackInstancesMiddleware(stack, options); err != nil { return err } diff --git a/service/cloudformation/api_op_UpdateStackSet.go b/service/cloudformation/api_op_UpdateStackSet.go index 33729fc7489..c4c44e6ae65 100644 --- a/service/cloudformation/api_op_UpdateStackSet.go +++ b/service/cloudformation/api_op_UpdateStackSet.go @@ -384,9 +384,6 @@ func (c *Client) addOperationUpdateStackSetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateStackSetMiddleware(stack, options); err != nil { return err } diff --git a/service/cloudformation/api_op_UpdateTerminationProtection.go b/service/cloudformation/api_op_UpdateTerminationProtection.go index 348a9ee0ed1..84cd454d11a 100644 --- a/service/cloudformation/api_op_UpdateTerminationProtection.go +++ b/service/cloudformation/api_op_UpdateTerminationProtection.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateTerminationProtectionMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTerminationProtectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudformation/api_op_ValidateTemplate.go b/service/cloudformation/api_op_ValidateTemplate.go index c562b5c4a81..4fc092252a5 100644 --- a/service/cloudformation/api_op_ValidateTemplate.go +++ b/service/cloudformation/api_op_ValidateTemplate.go @@ -146,9 +146,6 @@ func (c *Client) addOperationValidateTemplateMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opValidateTemplate(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudformation/snapshot/api_op_ActivateOrganizationsAccess.go.snap b/service/cloudformation/snapshot/api_op_ActivateOrganizationsAccess.go.snap index 0ff5d424808..f3f25aa7516 100644 --- a/service/cloudformation/snapshot/api_op_ActivateOrganizationsAccess.go.snap +++ b/service/cloudformation/snapshot/api_op_ActivateOrganizationsAccess.go.snap @@ -13,7 +13,6 @@ ActivateOrganizationsAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_ActivateType.go.snap b/service/cloudformation/snapshot/api_op_ActivateType.go.snap index bc77fab438e..72dd8bb78a1 100644 --- a/service/cloudformation/snapshot/api_op_ActivateType.go.snap +++ b/service/cloudformation/snapshot/api_op_ActivateType.go.snap @@ -14,7 +14,6 @@ ActivateType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_BatchDescribeTypeConfigurations.go.snap b/service/cloudformation/snapshot/api_op_BatchDescribeTypeConfigurations.go.snap index 4457faffef9..1a8a84ae823 100644 --- a/service/cloudformation/snapshot/api_op_BatchDescribeTypeConfigurations.go.snap +++ b/service/cloudformation/snapshot/api_op_BatchDescribeTypeConfigurations.go.snap @@ -14,7 +14,6 @@ BatchDescribeTypeConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_CancelUpdateStack.go.snap b/service/cloudformation/snapshot/api_op_CancelUpdateStack.go.snap index d4f14953869..741835f0938 100644 --- a/service/cloudformation/snapshot/api_op_CancelUpdateStack.go.snap +++ b/service/cloudformation/snapshot/api_op_CancelUpdateStack.go.snap @@ -14,7 +14,6 @@ CancelUpdateStack Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_ContinueUpdateRollback.go.snap b/service/cloudformation/snapshot/api_op_ContinueUpdateRollback.go.snap index 22d40f79183..f6b25169a2d 100644 --- a/service/cloudformation/snapshot/api_op_ContinueUpdateRollback.go.snap +++ b/service/cloudformation/snapshot/api_op_ContinueUpdateRollback.go.snap @@ -14,7 +14,6 @@ ContinueUpdateRollback Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_CreateChangeSet.go.snap b/service/cloudformation/snapshot/api_op_CreateChangeSet.go.snap index eb13fc3ec89..bcdc27d7c92 100644 --- a/service/cloudformation/snapshot/api_op_CreateChangeSet.go.snap +++ b/service/cloudformation/snapshot/api_op_CreateChangeSet.go.snap @@ -14,7 +14,6 @@ CreateChangeSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_CreateGeneratedTemplate.go.snap b/service/cloudformation/snapshot/api_op_CreateGeneratedTemplate.go.snap index ca6f0cfbbf0..1dfd32b1bcc 100644 --- a/service/cloudformation/snapshot/api_op_CreateGeneratedTemplate.go.snap +++ b/service/cloudformation/snapshot/api_op_CreateGeneratedTemplate.go.snap @@ -14,7 +14,6 @@ CreateGeneratedTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_CreateStack.go.snap b/service/cloudformation/snapshot/api_op_CreateStack.go.snap index aacc3d6b1e0..450b37916a9 100644 --- a/service/cloudformation/snapshot/api_op_CreateStack.go.snap +++ b/service/cloudformation/snapshot/api_op_CreateStack.go.snap @@ -14,7 +14,6 @@ CreateStack Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_CreateStackInstances.go.snap b/service/cloudformation/snapshot/api_op_CreateStackInstances.go.snap index 55169d29d1c..0b66066ba1a 100644 --- a/service/cloudformation/snapshot/api_op_CreateStackInstances.go.snap +++ b/service/cloudformation/snapshot/api_op_CreateStackInstances.go.snap @@ -15,7 +15,6 @@ CreateStackInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_CreateStackRefactor.go.snap b/service/cloudformation/snapshot/api_op_CreateStackRefactor.go.snap index 34b2b71a432..182c8850bea 100644 --- a/service/cloudformation/snapshot/api_op_CreateStackRefactor.go.snap +++ b/service/cloudformation/snapshot/api_op_CreateStackRefactor.go.snap @@ -14,7 +14,6 @@ CreateStackRefactor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_CreateStackSet.go.snap b/service/cloudformation/snapshot/api_op_CreateStackSet.go.snap index 715db332a20..ae9fa9d0df3 100644 --- a/service/cloudformation/snapshot/api_op_CreateStackSet.go.snap +++ b/service/cloudformation/snapshot/api_op_CreateStackSet.go.snap @@ -15,7 +15,6 @@ CreateStackSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_DeactivateOrganizationsAccess.go.snap b/service/cloudformation/snapshot/api_op_DeactivateOrganizationsAccess.go.snap index 80b285c26df..18b65b4a462 100644 --- a/service/cloudformation/snapshot/api_op_DeactivateOrganizationsAccess.go.snap +++ b/service/cloudformation/snapshot/api_op_DeactivateOrganizationsAccess.go.snap @@ -13,7 +13,6 @@ DeactivateOrganizationsAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_DeactivateType.go.snap b/service/cloudformation/snapshot/api_op_DeactivateType.go.snap index 36515e73bc3..346aaa29677 100644 --- a/service/cloudformation/snapshot/api_op_DeactivateType.go.snap +++ b/service/cloudformation/snapshot/api_op_DeactivateType.go.snap @@ -13,7 +13,6 @@ DeactivateType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_DeleteChangeSet.go.snap b/service/cloudformation/snapshot/api_op_DeleteChangeSet.go.snap index 55031a38858..19e5273e22a 100644 --- a/service/cloudformation/snapshot/api_op_DeleteChangeSet.go.snap +++ b/service/cloudformation/snapshot/api_op_DeleteChangeSet.go.snap @@ -14,7 +14,6 @@ DeleteChangeSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_DeleteGeneratedTemplate.go.snap b/service/cloudformation/snapshot/api_op_DeleteGeneratedTemplate.go.snap index c1527cf7afd..77562c0e55b 100644 --- a/service/cloudformation/snapshot/api_op_DeleteGeneratedTemplate.go.snap +++ b/service/cloudformation/snapshot/api_op_DeleteGeneratedTemplate.go.snap @@ -14,7 +14,6 @@ DeleteGeneratedTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_DeleteStack.go.snap b/service/cloudformation/snapshot/api_op_DeleteStack.go.snap index 0cf0f3311dc..562d86a1c85 100644 --- a/service/cloudformation/snapshot/api_op_DeleteStack.go.snap +++ b/service/cloudformation/snapshot/api_op_DeleteStack.go.snap @@ -14,7 +14,6 @@ DeleteStack Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_DeleteStackInstances.go.snap b/service/cloudformation/snapshot/api_op_DeleteStackInstances.go.snap index b1656afde59..420ec04fef4 100644 --- a/service/cloudformation/snapshot/api_op_DeleteStackInstances.go.snap +++ b/service/cloudformation/snapshot/api_op_DeleteStackInstances.go.snap @@ -15,7 +15,6 @@ DeleteStackInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_DeleteStackSet.go.snap b/service/cloudformation/snapshot/api_op_DeleteStackSet.go.snap index 6d8079e4380..485a3ae6818 100644 --- a/service/cloudformation/snapshot/api_op_DeleteStackSet.go.snap +++ b/service/cloudformation/snapshot/api_op_DeleteStackSet.go.snap @@ -14,7 +14,6 @@ DeleteStackSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_DeregisterType.go.snap b/service/cloudformation/snapshot/api_op_DeregisterType.go.snap index 45ff58b884e..5f4dc4b7d53 100644 --- a/service/cloudformation/snapshot/api_op_DeregisterType.go.snap +++ b/service/cloudformation/snapshot/api_op_DeregisterType.go.snap @@ -13,7 +13,6 @@ DeregisterType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_DescribeAccountLimits.go.snap b/service/cloudformation/snapshot/api_op_DescribeAccountLimits.go.snap index 84ffa497501..283376e4c97 100644 --- a/service/cloudformation/snapshot/api_op_DescribeAccountLimits.go.snap +++ b/service/cloudformation/snapshot/api_op_DescribeAccountLimits.go.snap @@ -13,7 +13,6 @@ DescribeAccountLimits Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_DescribeChangeSet.go.snap b/service/cloudformation/snapshot/api_op_DescribeChangeSet.go.snap index 8793e5f128c..ab004484da1 100644 --- a/service/cloudformation/snapshot/api_op_DescribeChangeSet.go.snap +++ b/service/cloudformation/snapshot/api_op_DescribeChangeSet.go.snap @@ -14,7 +14,6 @@ DescribeChangeSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_DescribeChangeSetHooks.go.snap b/service/cloudformation/snapshot/api_op_DescribeChangeSetHooks.go.snap index f2ec23fa760..c6a686e836f 100644 --- a/service/cloudformation/snapshot/api_op_DescribeChangeSetHooks.go.snap +++ b/service/cloudformation/snapshot/api_op_DescribeChangeSetHooks.go.snap @@ -14,7 +14,6 @@ DescribeChangeSetHooks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_DescribeGeneratedTemplate.go.snap b/service/cloudformation/snapshot/api_op_DescribeGeneratedTemplate.go.snap index 4cb3edcd5d6..84affe4ab1e 100644 --- a/service/cloudformation/snapshot/api_op_DescribeGeneratedTemplate.go.snap +++ b/service/cloudformation/snapshot/api_op_DescribeGeneratedTemplate.go.snap @@ -14,7 +14,6 @@ DescribeGeneratedTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_DescribeOrganizationsAccess.go.snap b/service/cloudformation/snapshot/api_op_DescribeOrganizationsAccess.go.snap index 287a138836c..63fe73015e3 100644 --- a/service/cloudformation/snapshot/api_op_DescribeOrganizationsAccess.go.snap +++ b/service/cloudformation/snapshot/api_op_DescribeOrganizationsAccess.go.snap @@ -13,7 +13,6 @@ DescribeOrganizationsAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_DescribePublisher.go.snap b/service/cloudformation/snapshot/api_op_DescribePublisher.go.snap index 92a93ef9d51..e195a6054de 100644 --- a/service/cloudformation/snapshot/api_op_DescribePublisher.go.snap +++ b/service/cloudformation/snapshot/api_op_DescribePublisher.go.snap @@ -13,7 +13,6 @@ DescribePublisher Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_DescribeResourceScan.go.snap b/service/cloudformation/snapshot/api_op_DescribeResourceScan.go.snap index 2cdca52db19..4b79c2d1f69 100644 --- a/service/cloudformation/snapshot/api_op_DescribeResourceScan.go.snap +++ b/service/cloudformation/snapshot/api_op_DescribeResourceScan.go.snap @@ -14,7 +14,6 @@ DescribeResourceScan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_DescribeStackDriftDetectionStatus.go.snap b/service/cloudformation/snapshot/api_op_DescribeStackDriftDetectionStatus.go.snap index 39495a546ee..eefaa4b60c7 100644 --- a/service/cloudformation/snapshot/api_op_DescribeStackDriftDetectionStatus.go.snap +++ b/service/cloudformation/snapshot/api_op_DescribeStackDriftDetectionStatus.go.snap @@ -14,7 +14,6 @@ DescribeStackDriftDetectionStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_DescribeStackEvents.go.snap b/service/cloudformation/snapshot/api_op_DescribeStackEvents.go.snap index d48e50da438..54b72e6e387 100644 --- a/service/cloudformation/snapshot/api_op_DescribeStackEvents.go.snap +++ b/service/cloudformation/snapshot/api_op_DescribeStackEvents.go.snap @@ -13,7 +13,6 @@ DescribeStackEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_DescribeStackInstance.go.snap b/service/cloudformation/snapshot/api_op_DescribeStackInstance.go.snap index 81f8c0f41a9..b886a98f907 100644 --- a/service/cloudformation/snapshot/api_op_DescribeStackInstance.go.snap +++ b/service/cloudformation/snapshot/api_op_DescribeStackInstance.go.snap @@ -14,7 +14,6 @@ DescribeStackInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_DescribeStackRefactor.go.snap b/service/cloudformation/snapshot/api_op_DescribeStackRefactor.go.snap index e9b2f1d8b2e..d04e5136bc1 100644 --- a/service/cloudformation/snapshot/api_op_DescribeStackRefactor.go.snap +++ b/service/cloudformation/snapshot/api_op_DescribeStackRefactor.go.snap @@ -14,7 +14,6 @@ DescribeStackRefactor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_DescribeStackResource.go.snap b/service/cloudformation/snapshot/api_op_DescribeStackResource.go.snap index 049202f9ea0..617941b7a90 100644 --- a/service/cloudformation/snapshot/api_op_DescribeStackResource.go.snap +++ b/service/cloudformation/snapshot/api_op_DescribeStackResource.go.snap @@ -14,7 +14,6 @@ DescribeStackResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_DescribeStackResourceDrifts.go.snap b/service/cloudformation/snapshot/api_op_DescribeStackResourceDrifts.go.snap index 0a128b89592..7897f28635f 100644 --- a/service/cloudformation/snapshot/api_op_DescribeStackResourceDrifts.go.snap +++ b/service/cloudformation/snapshot/api_op_DescribeStackResourceDrifts.go.snap @@ -14,7 +14,6 @@ DescribeStackResourceDrifts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_DescribeStackResources.go.snap b/service/cloudformation/snapshot/api_op_DescribeStackResources.go.snap index 46bc7f64960..e9e5bd309e1 100644 --- a/service/cloudformation/snapshot/api_op_DescribeStackResources.go.snap +++ b/service/cloudformation/snapshot/api_op_DescribeStackResources.go.snap @@ -13,7 +13,6 @@ DescribeStackResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_DescribeStackSet.go.snap b/service/cloudformation/snapshot/api_op_DescribeStackSet.go.snap index ee2b4c53585..4edbeb910d6 100644 --- a/service/cloudformation/snapshot/api_op_DescribeStackSet.go.snap +++ b/service/cloudformation/snapshot/api_op_DescribeStackSet.go.snap @@ -14,7 +14,6 @@ DescribeStackSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_DescribeStackSetOperation.go.snap b/service/cloudformation/snapshot/api_op_DescribeStackSetOperation.go.snap index 7dcf906c5f9..124402cb17b 100644 --- a/service/cloudformation/snapshot/api_op_DescribeStackSetOperation.go.snap +++ b/service/cloudformation/snapshot/api_op_DescribeStackSetOperation.go.snap @@ -14,7 +14,6 @@ DescribeStackSetOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_DescribeStacks.go.snap b/service/cloudformation/snapshot/api_op_DescribeStacks.go.snap index 32eda12f946..6f67872a839 100644 --- a/service/cloudformation/snapshot/api_op_DescribeStacks.go.snap +++ b/service/cloudformation/snapshot/api_op_DescribeStacks.go.snap @@ -13,7 +13,6 @@ DescribeStacks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_DescribeType.go.snap b/service/cloudformation/snapshot/api_op_DescribeType.go.snap index 3902f715403..20a5274c77c 100644 --- a/service/cloudformation/snapshot/api_op_DescribeType.go.snap +++ b/service/cloudformation/snapshot/api_op_DescribeType.go.snap @@ -13,7 +13,6 @@ DescribeType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_DescribeTypeRegistration.go.snap b/service/cloudformation/snapshot/api_op_DescribeTypeRegistration.go.snap index 51dcbd1e1d2..6d2d706f3e4 100644 --- a/service/cloudformation/snapshot/api_op_DescribeTypeRegistration.go.snap +++ b/service/cloudformation/snapshot/api_op_DescribeTypeRegistration.go.snap @@ -14,7 +14,6 @@ DescribeTypeRegistration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_DetectStackDrift.go.snap b/service/cloudformation/snapshot/api_op_DetectStackDrift.go.snap index 33de230f7c3..84bd8388f64 100644 --- a/service/cloudformation/snapshot/api_op_DetectStackDrift.go.snap +++ b/service/cloudformation/snapshot/api_op_DetectStackDrift.go.snap @@ -14,7 +14,6 @@ DetectStackDrift Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_DetectStackResourceDrift.go.snap b/service/cloudformation/snapshot/api_op_DetectStackResourceDrift.go.snap index ff275a5b6c7..33dbfaf031d 100644 --- a/service/cloudformation/snapshot/api_op_DetectStackResourceDrift.go.snap +++ b/service/cloudformation/snapshot/api_op_DetectStackResourceDrift.go.snap @@ -14,7 +14,6 @@ DetectStackResourceDrift Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_DetectStackSetDrift.go.snap b/service/cloudformation/snapshot/api_op_DetectStackSetDrift.go.snap index 05db85f28ba..4185d562401 100644 --- a/service/cloudformation/snapshot/api_op_DetectStackSetDrift.go.snap +++ b/service/cloudformation/snapshot/api_op_DetectStackSetDrift.go.snap @@ -15,7 +15,6 @@ DetectStackSetDrift Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_EstimateTemplateCost.go.snap b/service/cloudformation/snapshot/api_op_EstimateTemplateCost.go.snap index ba1d239443e..638842f9d70 100644 --- a/service/cloudformation/snapshot/api_op_EstimateTemplateCost.go.snap +++ b/service/cloudformation/snapshot/api_op_EstimateTemplateCost.go.snap @@ -13,7 +13,6 @@ EstimateTemplateCost Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_ExecuteChangeSet.go.snap b/service/cloudformation/snapshot/api_op_ExecuteChangeSet.go.snap index e22e4647060..9220013642f 100644 --- a/service/cloudformation/snapshot/api_op_ExecuteChangeSet.go.snap +++ b/service/cloudformation/snapshot/api_op_ExecuteChangeSet.go.snap @@ -14,7 +14,6 @@ ExecuteChangeSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_ExecuteStackRefactor.go.snap b/service/cloudformation/snapshot/api_op_ExecuteStackRefactor.go.snap index 782d770f6b6..8acec9d1ce4 100644 --- a/service/cloudformation/snapshot/api_op_ExecuteStackRefactor.go.snap +++ b/service/cloudformation/snapshot/api_op_ExecuteStackRefactor.go.snap @@ -14,7 +14,6 @@ ExecuteStackRefactor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_GetGeneratedTemplate.go.snap b/service/cloudformation/snapshot/api_op_GetGeneratedTemplate.go.snap index 6f40638412d..acd30e64675 100644 --- a/service/cloudformation/snapshot/api_op_GetGeneratedTemplate.go.snap +++ b/service/cloudformation/snapshot/api_op_GetGeneratedTemplate.go.snap @@ -14,7 +14,6 @@ GetGeneratedTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_GetStackPolicy.go.snap b/service/cloudformation/snapshot/api_op_GetStackPolicy.go.snap index c7b31f7300e..6819310b079 100644 --- a/service/cloudformation/snapshot/api_op_GetStackPolicy.go.snap +++ b/service/cloudformation/snapshot/api_op_GetStackPolicy.go.snap @@ -14,7 +14,6 @@ GetStackPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_GetTemplate.go.snap b/service/cloudformation/snapshot/api_op_GetTemplate.go.snap index 15a96caa572..9e9f2e3e393 100644 --- a/service/cloudformation/snapshot/api_op_GetTemplate.go.snap +++ b/service/cloudformation/snapshot/api_op_GetTemplate.go.snap @@ -13,7 +13,6 @@ GetTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_GetTemplateSummary.go.snap b/service/cloudformation/snapshot/api_op_GetTemplateSummary.go.snap index 2565c718442..2323eb727ea 100644 --- a/service/cloudformation/snapshot/api_op_GetTemplateSummary.go.snap +++ b/service/cloudformation/snapshot/api_op_GetTemplateSummary.go.snap @@ -13,7 +13,6 @@ GetTemplateSummary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_ImportStacksToStackSet.go.snap b/service/cloudformation/snapshot/api_op_ImportStacksToStackSet.go.snap index e1c61b63793..19fc7830185 100644 --- a/service/cloudformation/snapshot/api_op_ImportStacksToStackSet.go.snap +++ b/service/cloudformation/snapshot/api_op_ImportStacksToStackSet.go.snap @@ -15,7 +15,6 @@ ImportStacksToStackSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_ListChangeSets.go.snap b/service/cloudformation/snapshot/api_op_ListChangeSets.go.snap index 398604bfdbd..295529c460a 100644 --- a/service/cloudformation/snapshot/api_op_ListChangeSets.go.snap +++ b/service/cloudformation/snapshot/api_op_ListChangeSets.go.snap @@ -14,7 +14,6 @@ ListChangeSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_ListExports.go.snap b/service/cloudformation/snapshot/api_op_ListExports.go.snap index 711d1eed083..40d43cc0824 100644 --- a/service/cloudformation/snapshot/api_op_ListExports.go.snap +++ b/service/cloudformation/snapshot/api_op_ListExports.go.snap @@ -13,7 +13,6 @@ ListExports Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_ListGeneratedTemplates.go.snap b/service/cloudformation/snapshot/api_op_ListGeneratedTemplates.go.snap index e60462abeea..de6300d5ea3 100644 --- a/service/cloudformation/snapshot/api_op_ListGeneratedTemplates.go.snap +++ b/service/cloudformation/snapshot/api_op_ListGeneratedTemplates.go.snap @@ -13,7 +13,6 @@ ListGeneratedTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_ListHookResults.go.snap b/service/cloudformation/snapshot/api_op_ListHookResults.go.snap index 534fa2844c0..6b08e921f0a 100644 --- a/service/cloudformation/snapshot/api_op_ListHookResults.go.snap +++ b/service/cloudformation/snapshot/api_op_ListHookResults.go.snap @@ -14,7 +14,6 @@ ListHookResults Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_ListImports.go.snap b/service/cloudformation/snapshot/api_op_ListImports.go.snap index 43faeef3586..2d86346ef23 100644 --- a/service/cloudformation/snapshot/api_op_ListImports.go.snap +++ b/service/cloudformation/snapshot/api_op_ListImports.go.snap @@ -14,7 +14,6 @@ ListImports Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_ListResourceScanRelatedResources.go.snap b/service/cloudformation/snapshot/api_op_ListResourceScanRelatedResources.go.snap index a1b28369b36..80dd1303759 100644 --- a/service/cloudformation/snapshot/api_op_ListResourceScanRelatedResources.go.snap +++ b/service/cloudformation/snapshot/api_op_ListResourceScanRelatedResources.go.snap @@ -14,7 +14,6 @@ ListResourceScanRelatedResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_ListResourceScanResources.go.snap b/service/cloudformation/snapshot/api_op_ListResourceScanResources.go.snap index 65317078a6f..0ccd0e7360f 100644 --- a/service/cloudformation/snapshot/api_op_ListResourceScanResources.go.snap +++ b/service/cloudformation/snapshot/api_op_ListResourceScanResources.go.snap @@ -14,7 +14,6 @@ ListResourceScanResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_ListResourceScans.go.snap b/service/cloudformation/snapshot/api_op_ListResourceScans.go.snap index c3c49dd4eb9..e9755f54876 100644 --- a/service/cloudformation/snapshot/api_op_ListResourceScans.go.snap +++ b/service/cloudformation/snapshot/api_op_ListResourceScans.go.snap @@ -13,7 +13,6 @@ ListResourceScans Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_ListStackInstanceResourceDrifts.go.snap b/service/cloudformation/snapshot/api_op_ListStackInstanceResourceDrifts.go.snap index 335b3073f27..d0988698827 100644 --- a/service/cloudformation/snapshot/api_op_ListStackInstanceResourceDrifts.go.snap +++ b/service/cloudformation/snapshot/api_op_ListStackInstanceResourceDrifts.go.snap @@ -14,7 +14,6 @@ ListStackInstanceResourceDrifts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_ListStackInstances.go.snap b/service/cloudformation/snapshot/api_op_ListStackInstances.go.snap index 2f2a93c8e05..a93c04f4d78 100644 --- a/service/cloudformation/snapshot/api_op_ListStackInstances.go.snap +++ b/service/cloudformation/snapshot/api_op_ListStackInstances.go.snap @@ -14,7 +14,6 @@ ListStackInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_ListStackRefactorActions.go.snap b/service/cloudformation/snapshot/api_op_ListStackRefactorActions.go.snap index 91df98fe0f1..84917e2e871 100644 --- a/service/cloudformation/snapshot/api_op_ListStackRefactorActions.go.snap +++ b/service/cloudformation/snapshot/api_op_ListStackRefactorActions.go.snap @@ -14,7 +14,6 @@ ListStackRefactorActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_ListStackRefactors.go.snap b/service/cloudformation/snapshot/api_op_ListStackRefactors.go.snap index bfd19c40dfc..28323dee10f 100644 --- a/service/cloudformation/snapshot/api_op_ListStackRefactors.go.snap +++ b/service/cloudformation/snapshot/api_op_ListStackRefactors.go.snap @@ -13,7 +13,6 @@ ListStackRefactors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_ListStackResources.go.snap b/service/cloudformation/snapshot/api_op_ListStackResources.go.snap index 07d5e3a4193..a2f7ef6510a 100644 --- a/service/cloudformation/snapshot/api_op_ListStackResources.go.snap +++ b/service/cloudformation/snapshot/api_op_ListStackResources.go.snap @@ -14,7 +14,6 @@ ListStackResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_ListStackSetAutoDeploymentTargets.go.snap b/service/cloudformation/snapshot/api_op_ListStackSetAutoDeploymentTargets.go.snap index 953a22b7603..0153c1a0b53 100644 --- a/service/cloudformation/snapshot/api_op_ListStackSetAutoDeploymentTargets.go.snap +++ b/service/cloudformation/snapshot/api_op_ListStackSetAutoDeploymentTargets.go.snap @@ -14,7 +14,6 @@ ListStackSetAutoDeploymentTargets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_ListStackSetOperationResults.go.snap b/service/cloudformation/snapshot/api_op_ListStackSetOperationResults.go.snap index cfb8e60bc9a..abf44fec368 100644 --- a/service/cloudformation/snapshot/api_op_ListStackSetOperationResults.go.snap +++ b/service/cloudformation/snapshot/api_op_ListStackSetOperationResults.go.snap @@ -14,7 +14,6 @@ ListStackSetOperationResults Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_ListStackSetOperations.go.snap b/service/cloudformation/snapshot/api_op_ListStackSetOperations.go.snap index 186dc2f7738..9d8e7637832 100644 --- a/service/cloudformation/snapshot/api_op_ListStackSetOperations.go.snap +++ b/service/cloudformation/snapshot/api_op_ListStackSetOperations.go.snap @@ -14,7 +14,6 @@ ListStackSetOperations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_ListStackSets.go.snap b/service/cloudformation/snapshot/api_op_ListStackSets.go.snap index b02bf2f3608..fb5d1c45d25 100644 --- a/service/cloudformation/snapshot/api_op_ListStackSets.go.snap +++ b/service/cloudformation/snapshot/api_op_ListStackSets.go.snap @@ -13,7 +13,6 @@ ListStackSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_ListStacks.go.snap b/service/cloudformation/snapshot/api_op_ListStacks.go.snap index 71bd3d45214..d053d49b939 100644 --- a/service/cloudformation/snapshot/api_op_ListStacks.go.snap +++ b/service/cloudformation/snapshot/api_op_ListStacks.go.snap @@ -13,7 +13,6 @@ ListStacks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_ListTypeRegistrations.go.snap b/service/cloudformation/snapshot/api_op_ListTypeRegistrations.go.snap index 2fc51107c7b..b6eea04d046 100644 --- a/service/cloudformation/snapshot/api_op_ListTypeRegistrations.go.snap +++ b/service/cloudformation/snapshot/api_op_ListTypeRegistrations.go.snap @@ -13,7 +13,6 @@ ListTypeRegistrations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_ListTypeVersions.go.snap b/service/cloudformation/snapshot/api_op_ListTypeVersions.go.snap index bc5a39c7ee3..eda65e13e42 100644 --- a/service/cloudformation/snapshot/api_op_ListTypeVersions.go.snap +++ b/service/cloudformation/snapshot/api_op_ListTypeVersions.go.snap @@ -13,7 +13,6 @@ ListTypeVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_ListTypes.go.snap b/service/cloudformation/snapshot/api_op_ListTypes.go.snap index 8ed1710b248..0aef077e4f5 100644 --- a/service/cloudformation/snapshot/api_op_ListTypes.go.snap +++ b/service/cloudformation/snapshot/api_op_ListTypes.go.snap @@ -13,7 +13,6 @@ ListTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_PublishType.go.snap b/service/cloudformation/snapshot/api_op_PublishType.go.snap index 3413037f202..0bee4da6a46 100644 --- a/service/cloudformation/snapshot/api_op_PublishType.go.snap +++ b/service/cloudformation/snapshot/api_op_PublishType.go.snap @@ -13,7 +13,6 @@ PublishType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_RecordHandlerProgress.go.snap b/service/cloudformation/snapshot/api_op_RecordHandlerProgress.go.snap index 3c8054b83e3..62508ce40d2 100644 --- a/service/cloudformation/snapshot/api_op_RecordHandlerProgress.go.snap +++ b/service/cloudformation/snapshot/api_op_RecordHandlerProgress.go.snap @@ -14,7 +14,6 @@ RecordHandlerProgress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_RegisterPublisher.go.snap b/service/cloudformation/snapshot/api_op_RegisterPublisher.go.snap index 69f572f73fc..905228f926a 100644 --- a/service/cloudformation/snapshot/api_op_RegisterPublisher.go.snap +++ b/service/cloudformation/snapshot/api_op_RegisterPublisher.go.snap @@ -13,7 +13,6 @@ RegisterPublisher Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_RegisterType.go.snap b/service/cloudformation/snapshot/api_op_RegisterType.go.snap index 831dbacda96..22577040d54 100644 --- a/service/cloudformation/snapshot/api_op_RegisterType.go.snap +++ b/service/cloudformation/snapshot/api_op_RegisterType.go.snap @@ -14,7 +14,6 @@ RegisterType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_RollbackStack.go.snap b/service/cloudformation/snapshot/api_op_RollbackStack.go.snap index 27e07012153..c21abfaa0b7 100644 --- a/service/cloudformation/snapshot/api_op_RollbackStack.go.snap +++ b/service/cloudformation/snapshot/api_op_RollbackStack.go.snap @@ -14,7 +14,6 @@ RollbackStack Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_SetStackPolicy.go.snap b/service/cloudformation/snapshot/api_op_SetStackPolicy.go.snap index d19de09f757..8245da866d8 100644 --- a/service/cloudformation/snapshot/api_op_SetStackPolicy.go.snap +++ b/service/cloudformation/snapshot/api_op_SetStackPolicy.go.snap @@ -14,7 +14,6 @@ SetStackPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_SetTypeConfiguration.go.snap b/service/cloudformation/snapshot/api_op_SetTypeConfiguration.go.snap index ae48bc0f709..a0f4ef23925 100644 --- a/service/cloudformation/snapshot/api_op_SetTypeConfiguration.go.snap +++ b/service/cloudformation/snapshot/api_op_SetTypeConfiguration.go.snap @@ -14,7 +14,6 @@ SetTypeConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_SetTypeDefaultVersion.go.snap b/service/cloudformation/snapshot/api_op_SetTypeDefaultVersion.go.snap index 4ff3f3d36a3..8752b9ee9d2 100644 --- a/service/cloudformation/snapshot/api_op_SetTypeDefaultVersion.go.snap +++ b/service/cloudformation/snapshot/api_op_SetTypeDefaultVersion.go.snap @@ -13,7 +13,6 @@ SetTypeDefaultVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_SignalResource.go.snap b/service/cloudformation/snapshot/api_op_SignalResource.go.snap index cda6fa63370..b8e1d1edf8f 100644 --- a/service/cloudformation/snapshot/api_op_SignalResource.go.snap +++ b/service/cloudformation/snapshot/api_op_SignalResource.go.snap @@ -14,7 +14,6 @@ SignalResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_StartResourceScan.go.snap b/service/cloudformation/snapshot/api_op_StartResourceScan.go.snap index d3950bb8cdd..a54c7a71903 100644 --- a/service/cloudformation/snapshot/api_op_StartResourceScan.go.snap +++ b/service/cloudformation/snapshot/api_op_StartResourceScan.go.snap @@ -13,7 +13,6 @@ StartResourceScan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_StopStackSetOperation.go.snap b/service/cloudformation/snapshot/api_op_StopStackSetOperation.go.snap index dae0c960145..7315fe8a7d8 100644 --- a/service/cloudformation/snapshot/api_op_StopStackSetOperation.go.snap +++ b/service/cloudformation/snapshot/api_op_StopStackSetOperation.go.snap @@ -14,7 +14,6 @@ StopStackSetOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_TestType.go.snap b/service/cloudformation/snapshot/api_op_TestType.go.snap index 39bc097d61a..ea7474ce327 100644 --- a/service/cloudformation/snapshot/api_op_TestType.go.snap +++ b/service/cloudformation/snapshot/api_op_TestType.go.snap @@ -13,7 +13,6 @@ TestType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_UpdateGeneratedTemplate.go.snap b/service/cloudformation/snapshot/api_op_UpdateGeneratedTemplate.go.snap index 1996221e1a1..99703cbf1ed 100644 --- a/service/cloudformation/snapshot/api_op_UpdateGeneratedTemplate.go.snap +++ b/service/cloudformation/snapshot/api_op_UpdateGeneratedTemplate.go.snap @@ -14,7 +14,6 @@ UpdateGeneratedTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_UpdateStack.go.snap b/service/cloudformation/snapshot/api_op_UpdateStack.go.snap index 56a2bc2f983..590a1b70f85 100644 --- a/service/cloudformation/snapshot/api_op_UpdateStack.go.snap +++ b/service/cloudformation/snapshot/api_op_UpdateStack.go.snap @@ -14,7 +14,6 @@ UpdateStack Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_UpdateStackInstances.go.snap b/service/cloudformation/snapshot/api_op_UpdateStackInstances.go.snap index 043057f4b46..597200821de 100644 --- a/service/cloudformation/snapshot/api_op_UpdateStackInstances.go.snap +++ b/service/cloudformation/snapshot/api_op_UpdateStackInstances.go.snap @@ -15,7 +15,6 @@ UpdateStackInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_UpdateStackSet.go.snap b/service/cloudformation/snapshot/api_op_UpdateStackSet.go.snap index 3b75184503d..8cf57861335 100644 --- a/service/cloudformation/snapshot/api_op_UpdateStackSet.go.snap +++ b/service/cloudformation/snapshot/api_op_UpdateStackSet.go.snap @@ -15,7 +15,6 @@ UpdateStackSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_UpdateTerminationProtection.go.snap b/service/cloudformation/snapshot/api_op_UpdateTerminationProtection.go.snap index 0b1139ca025..b4fdf8ab7b6 100644 --- a/service/cloudformation/snapshot/api_op_UpdateTerminationProtection.go.snap +++ b/service/cloudformation/snapshot/api_op_UpdateTerminationProtection.go.snap @@ -14,7 +14,6 @@ UpdateTerminationProtection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudformation/snapshot/api_op_ValidateTemplate.go.snap b/service/cloudformation/snapshot/api_op_ValidateTemplate.go.snap index 13507cd97ac..10240935fad 100644 --- a/service/cloudformation/snapshot/api_op_ValidateTemplate.go.snap +++ b/service/cloudformation/snapshot/api_op_ValidateTemplate.go.snap @@ -13,7 +13,6 @@ ValidateTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/api_client.go b/service/cloudfront/api_client.go index ea1cd375e0f..957d048c44c 100644 --- a/service/cloudfront/api_client.go +++ b/service/cloudfront/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/cloudfront/api_op_AssociateAlias.go b/service/cloudfront/api_op_AssociateAlias.go index 136127a9caa..72d08ebaa41 100644 --- a/service/cloudfront/api_op_AssociateAlias.go +++ b/service/cloudfront/api_op_AssociateAlias.go @@ -126,9 +126,6 @@ func (c *Client) addOperationAssociateAliasMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CopyDistribution.go b/service/cloudfront/api_op_CopyDistribution.go index 492c09a3503..2542923c88b 100644 --- a/service/cloudfront/api_op_CopyDistribution.go +++ b/service/cloudfront/api_op_CopyDistribution.go @@ -164,9 +164,6 @@ func (c *Client) addOperationCopyDistributionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCopyDistributionValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateAnycastIpList.go b/service/cloudfront/api_op_CreateAnycastIpList.go index 6643bdb268e..6ed7760f34b 100644 --- a/service/cloudfront/api_op_CreateAnycastIpList.go +++ b/service/cloudfront/api_op_CreateAnycastIpList.go @@ -125,9 +125,6 @@ func (c *Client) addOperationCreateAnycastIpListMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAnycastIpListValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateCachePolicy.go b/service/cloudfront/api_op_CreateCachePolicy.go index b907ce996ad..d97cb1f2ba0 100644 --- a/service/cloudfront/api_op_CreateCachePolicy.go +++ b/service/cloudfront/api_op_CreateCachePolicy.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreateCachePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCachePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateCloudFrontOriginAccessIdentity.go b/service/cloudfront/api_op_CreateCloudFrontOriginAccessIdentity.go index 6ba95e9260a..333c9175535 100644 --- a/service/cloudfront/api_op_CreateCloudFrontOriginAccessIdentity.go +++ b/service/cloudfront/api_op_CreateCloudFrontOriginAccessIdentity.go @@ -131,9 +131,6 @@ func (c *Client) addOperationCreateCloudFrontOriginAccessIdentityMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCloudFrontOriginAccessIdentityValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateContinuousDeploymentPolicy.go b/service/cloudfront/api_op_CreateContinuousDeploymentPolicy.go index 1b391a14664..ea053c224ef 100644 --- a/service/cloudfront/api_op_CreateContinuousDeploymentPolicy.go +++ b/service/cloudfront/api_op_CreateContinuousDeploymentPolicy.go @@ -129,9 +129,6 @@ func (c *Client) addOperationCreateContinuousDeploymentPolicyMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateContinuousDeploymentPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateDistribution.go b/service/cloudfront/api_op_CreateDistribution.go index 6aeac92ba05..055b3dc9892 100644 --- a/service/cloudfront/api_op_CreateDistribution.go +++ b/service/cloudfront/api_op_CreateDistribution.go @@ -120,9 +120,6 @@ func (c *Client) addOperationCreateDistributionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDistributionValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateDistributionWithTags.go b/service/cloudfront/api_op_CreateDistributionWithTags.go index 062e5b333de..7af9e7afd79 100644 --- a/service/cloudfront/api_op_CreateDistributionWithTags.go +++ b/service/cloudfront/api_op_CreateDistributionWithTags.go @@ -128,9 +128,6 @@ func (c *Client) addOperationCreateDistributionWithTagsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDistributionWithTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateFieldLevelEncryptionConfig.go b/service/cloudfront/api_op_CreateFieldLevelEncryptionConfig.go index 184aa572355..d328fe2bb59 100644 --- a/service/cloudfront/api_op_CreateFieldLevelEncryptionConfig.go +++ b/service/cloudfront/api_op_CreateFieldLevelEncryptionConfig.go @@ -119,9 +119,6 @@ func (c *Client) addOperationCreateFieldLevelEncryptionConfigMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFieldLevelEncryptionConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateFieldLevelEncryptionProfile.go b/service/cloudfront/api_op_CreateFieldLevelEncryptionProfile.go index 791e07bcb0f..3ff9faea496 100644 --- a/service/cloudfront/api_op_CreateFieldLevelEncryptionProfile.go +++ b/service/cloudfront/api_op_CreateFieldLevelEncryptionProfile.go @@ -119,9 +119,6 @@ func (c *Client) addOperationCreateFieldLevelEncryptionProfileMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFieldLevelEncryptionProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateFunction.go b/service/cloudfront/api_op_CreateFunction.go index 310e4f97067..4a4dcb442d0 100644 --- a/service/cloudfront/api_op_CreateFunction.go +++ b/service/cloudfront/api_op_CreateFunction.go @@ -145,9 +145,6 @@ func (c *Client) addOperationCreateFunctionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFunctionValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateInvalidation.go b/service/cloudfront/api_op_CreateInvalidation.go index 5c2310d4885..73708538785 100644 --- a/service/cloudfront/api_op_CreateInvalidation.go +++ b/service/cloudfront/api_op_CreateInvalidation.go @@ -126,9 +126,6 @@ func (c *Client) addOperationCreateInvalidationMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateInvalidationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateKeyGroup.go b/service/cloudfront/api_op_CreateKeyGroup.go index b00563cadc4..444c88ad440 100644 --- a/service/cloudfront/api_op_CreateKeyGroup.go +++ b/service/cloudfront/api_op_CreateKeyGroup.go @@ -130,9 +130,6 @@ func (c *Client) addOperationCreateKeyGroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateKeyGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateKeyValueStore.go b/service/cloudfront/api_op_CreateKeyValueStore.go index b71b95a5351..7527eebde4a 100644 --- a/service/cloudfront/api_op_CreateKeyValueStore.go +++ b/service/cloudfront/api_op_CreateKeyValueStore.go @@ -129,9 +129,6 @@ func (c *Client) addOperationCreateKeyValueStoreMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateKeyValueStoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateMonitoringSubscription.go b/service/cloudfront/api_op_CreateMonitoringSubscription.go index d507f6427fb..fb98db58fed 100644 --- a/service/cloudfront/api_op_CreateMonitoringSubscription.go +++ b/service/cloudfront/api_op_CreateMonitoringSubscription.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCreateMonitoringSubscriptionMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateMonitoringSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateOriginAccessControl.go b/service/cloudfront/api_op_CreateOriginAccessControl.go index 70fb880de6a..4e494b12fc0 100644 --- a/service/cloudfront/api_op_CreateOriginAccessControl.go +++ b/service/cloudfront/api_op_CreateOriginAccessControl.go @@ -128,9 +128,6 @@ func (c *Client) addOperationCreateOriginAccessControlMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateOriginAccessControlValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateOriginRequestPolicy.go b/service/cloudfront/api_op_CreateOriginRequestPolicy.go index ab9109f6b0e..944a37f2917 100644 --- a/service/cloudfront/api_op_CreateOriginRequestPolicy.go +++ b/service/cloudfront/api_op_CreateOriginRequestPolicy.go @@ -144,9 +144,6 @@ func (c *Client) addOperationCreateOriginRequestPolicyMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateOriginRequestPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreatePublicKey.go b/service/cloudfront/api_op_CreatePublicKey.go index bd3758198fa..836c950f83c 100644 --- a/service/cloudfront/api_op_CreatePublicKey.go +++ b/service/cloudfront/api_op_CreatePublicKey.go @@ -121,9 +121,6 @@ func (c *Client) addOperationCreatePublicKeyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePublicKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateRealtimeLogConfig.go b/service/cloudfront/api_op_CreateRealtimeLogConfig.go index 37574c282da..9005876dec1 100644 --- a/service/cloudfront/api_op_CreateRealtimeLogConfig.go +++ b/service/cloudfront/api_op_CreateRealtimeLogConfig.go @@ -144,9 +144,6 @@ func (c *Client) addOperationCreateRealtimeLogConfigMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRealtimeLogConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateResponseHeadersPolicy.go b/service/cloudfront/api_op_CreateResponseHeadersPolicy.go index b4062c72b5f..197a2844c79 100644 --- a/service/cloudfront/api_op_CreateResponseHeadersPolicy.go +++ b/service/cloudfront/api_op_CreateResponseHeadersPolicy.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCreateResponseHeadersPolicyMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateResponseHeadersPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateStreamingDistribution.go b/service/cloudfront/api_op_CreateStreamingDistribution.go index ab77bafb525..8b2ce4c5ba9 100644 --- a/service/cloudfront/api_op_CreateStreamingDistribution.go +++ b/service/cloudfront/api_op_CreateStreamingDistribution.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCreateStreamingDistributionMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateStreamingDistributionValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateStreamingDistributionWithTags.go b/service/cloudfront/api_op_CreateStreamingDistributionWithTags.go index efd8e0952ad..807919c6cb2 100644 --- a/service/cloudfront/api_op_CreateStreamingDistributionWithTags.go +++ b/service/cloudfront/api_op_CreateStreamingDistributionWithTags.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCreateStreamingDistributionWithTagsMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateStreamingDistributionWithTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_CreateVpcOrigin.go b/service/cloudfront/api_op_CreateVpcOrigin.go index 51ee1df1025..73743c5ccc5 100644 --- a/service/cloudfront/api_op_CreateVpcOrigin.go +++ b/service/cloudfront/api_op_CreateVpcOrigin.go @@ -121,9 +121,6 @@ func (c *Client) addOperationCreateVpcOriginMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVpcOriginValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DeleteAnycastIpList.go b/service/cloudfront/api_op_DeleteAnycastIpList.go index d329fece4b8..d4ab735236c 100644 --- a/service/cloudfront/api_op_DeleteAnycastIpList.go +++ b/service/cloudfront/api_op_DeleteAnycastIpList.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteAnycastIpListMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAnycastIpListValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DeleteCachePolicy.go b/service/cloudfront/api_op_DeleteCachePolicy.go index ebde3bd6975..96fe57cc999 100644 --- a/service/cloudfront/api_op_DeleteCachePolicy.go +++ b/service/cloudfront/api_op_DeleteCachePolicy.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteCachePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCachePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DeleteCloudFrontOriginAccessIdentity.go b/service/cloudfront/api_op_DeleteCloudFrontOriginAccessIdentity.go index 968d4a3b83c..72d6f7e438e 100644 --- a/service/cloudfront/api_op_DeleteCloudFrontOriginAccessIdentity.go +++ b/service/cloudfront/api_op_DeleteCloudFrontOriginAccessIdentity.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteCloudFrontOriginAccessIdentityMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCloudFrontOriginAccessIdentityValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DeleteContinuousDeploymentPolicy.go b/service/cloudfront/api_op_DeleteContinuousDeploymentPolicy.go index 14b262bea69..143b126dc51 100644 --- a/service/cloudfront/api_op_DeleteContinuousDeploymentPolicy.go +++ b/service/cloudfront/api_op_DeleteContinuousDeploymentPolicy.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteContinuousDeploymentPolicyMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteContinuousDeploymentPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DeleteDistribution.go b/service/cloudfront/api_op_DeleteDistribution.go index 19d12978756..825e9e9c6a2 100644 --- a/service/cloudfront/api_op_DeleteDistribution.go +++ b/service/cloudfront/api_op_DeleteDistribution.go @@ -147,9 +147,6 @@ func (c *Client) addOperationDeleteDistributionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDistributionValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DeleteFieldLevelEncryptionConfig.go b/service/cloudfront/api_op_DeleteFieldLevelEncryptionConfig.go index 1e087e378e9..5b124b24c61 100644 --- a/service/cloudfront/api_op_DeleteFieldLevelEncryptionConfig.go +++ b/service/cloudfront/api_op_DeleteFieldLevelEncryptionConfig.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteFieldLevelEncryptionConfigMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFieldLevelEncryptionConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DeleteFieldLevelEncryptionProfile.go b/service/cloudfront/api_op_DeleteFieldLevelEncryptionProfile.go index 8b6017c9d4b..ebb87f07548 100644 --- a/service/cloudfront/api_op_DeleteFieldLevelEncryptionProfile.go +++ b/service/cloudfront/api_op_DeleteFieldLevelEncryptionProfile.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteFieldLevelEncryptionProfileMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFieldLevelEncryptionProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DeleteFunction.go b/service/cloudfront/api_op_DeleteFunction.go index 09a343a8678..59c0c346662 100644 --- a/service/cloudfront/api_op_DeleteFunction.go +++ b/service/cloudfront/api_op_DeleteFunction.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteFunctionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFunctionValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DeleteKeyGroup.go b/service/cloudfront/api_op_DeleteKeyGroup.go index 0c9df19475f..94771513ffe 100644 --- a/service/cloudfront/api_op_DeleteKeyGroup.go +++ b/service/cloudfront/api_op_DeleteKeyGroup.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteKeyGroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteKeyGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DeleteKeyValueStore.go b/service/cloudfront/api_op_DeleteKeyValueStore.go index 11ce070e323..2201051b20f 100644 --- a/service/cloudfront/api_op_DeleteKeyValueStore.go +++ b/service/cloudfront/api_op_DeleteKeyValueStore.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteKeyValueStoreMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteKeyValueStoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DeleteMonitoringSubscription.go b/service/cloudfront/api_op_DeleteMonitoringSubscription.go index 2647c5a1d6e..9ed68a00667 100644 --- a/service/cloudfront/api_op_DeleteMonitoringSubscription.go +++ b/service/cloudfront/api_op_DeleteMonitoringSubscription.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteMonitoringSubscriptionMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMonitoringSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DeleteOriginAccessControl.go b/service/cloudfront/api_op_DeleteOriginAccessControl.go index 9dfea5d3cbc..3e94399b1d8 100644 --- a/service/cloudfront/api_op_DeleteOriginAccessControl.go +++ b/service/cloudfront/api_op_DeleteOriginAccessControl.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteOriginAccessControlMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteOriginAccessControlValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DeleteOriginRequestPolicy.go b/service/cloudfront/api_op_DeleteOriginRequestPolicy.go index d301a1534dd..11cdf565f72 100644 --- a/service/cloudfront/api_op_DeleteOriginRequestPolicy.go +++ b/service/cloudfront/api_op_DeleteOriginRequestPolicy.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteOriginRequestPolicyMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteOriginRequestPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DeletePublicKey.go b/service/cloudfront/api_op_DeletePublicKey.go index ce5da51bef9..13945148ae1 100644 --- a/service/cloudfront/api_op_DeletePublicKey.go +++ b/service/cloudfront/api_op_DeletePublicKey.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeletePublicKeyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePublicKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DeleteRealtimeLogConfig.go b/service/cloudfront/api_op_DeleteRealtimeLogConfig.go index 04006b13ebb..4db10362ccb 100644 --- a/service/cloudfront/api_op_DeleteRealtimeLogConfig.go +++ b/service/cloudfront/api_op_DeleteRealtimeLogConfig.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteRealtimeLogConfigMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRealtimeLogConfig(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudfront/api_op_DeleteResponseHeadersPolicy.go b/service/cloudfront/api_op_DeleteResponseHeadersPolicy.go index 4d32a003d2d..77fcc6e3306 100644 --- a/service/cloudfront/api_op_DeleteResponseHeadersPolicy.go +++ b/service/cloudfront/api_op_DeleteResponseHeadersPolicy.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteResponseHeadersPolicyMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResponseHeadersPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DeleteStreamingDistribution.go b/service/cloudfront/api_op_DeleteStreamingDistribution.go index f8473a934d8..8a4049b84d2 100644 --- a/service/cloudfront/api_op_DeleteStreamingDistribution.go +++ b/service/cloudfront/api_op_DeleteStreamingDistribution.go @@ -148,9 +148,6 @@ func (c *Client) addOperationDeleteStreamingDistributionMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteStreamingDistributionValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DeleteVpcOrigin.go b/service/cloudfront/api_op_DeleteVpcOrigin.go index c0be047289a..4a9b4bb8372 100644 --- a/service/cloudfront/api_op_DeleteVpcOrigin.go +++ b/service/cloudfront/api_op_DeleteVpcOrigin.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteVpcOriginMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVpcOriginValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DescribeFunction.go b/service/cloudfront/api_op_DescribeFunction.go index dd61f8be780..558448cac45 100644 --- a/service/cloudfront/api_op_DescribeFunction.go +++ b/service/cloudfront/api_op_DescribeFunction.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeFunctionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFunctionValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_DescribeKeyValueStore.go b/service/cloudfront/api_op_DescribeKeyValueStore.go index 147ee25a20e..d84341d4a96 100644 --- a/service/cloudfront/api_op_DescribeKeyValueStore.go +++ b/service/cloudfront/api_op_DescribeKeyValueStore.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDescribeKeyValueStoreMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeKeyValueStoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetAnycastIpList.go b/service/cloudfront/api_op_GetAnycastIpList.go index 2fd2d48bc30..0ce6faaf0f6 100644 --- a/service/cloudfront/api_op_GetAnycastIpList.go +++ b/service/cloudfront/api_op_GetAnycastIpList.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetAnycastIpListMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAnycastIpListValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetCachePolicy.go b/service/cloudfront/api_op_GetCachePolicy.go index 4ffa7d4124d..a093512b831 100644 --- a/service/cloudfront/api_op_GetCachePolicy.go +++ b/service/cloudfront/api_op_GetCachePolicy.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetCachePolicyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCachePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetCachePolicyConfig.go b/service/cloudfront/api_op_GetCachePolicyConfig.go index 56aaef37422..eb6fbaa88b2 100644 --- a/service/cloudfront/api_op_GetCachePolicyConfig.go +++ b/service/cloudfront/api_op_GetCachePolicyConfig.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetCachePolicyConfigMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCachePolicyConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetCloudFrontOriginAccessIdentity.go b/service/cloudfront/api_op_GetCloudFrontOriginAccessIdentity.go index 225662c7a72..c21699bb512 100644 --- a/service/cloudfront/api_op_GetCloudFrontOriginAccessIdentity.go +++ b/service/cloudfront/api_op_GetCloudFrontOriginAccessIdentity.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetCloudFrontOriginAccessIdentityMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCloudFrontOriginAccessIdentityValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetCloudFrontOriginAccessIdentityConfig.go b/service/cloudfront/api_op_GetCloudFrontOriginAccessIdentityConfig.go index 14e80128a14..99eb5bca943 100644 --- a/service/cloudfront/api_op_GetCloudFrontOriginAccessIdentityConfig.go +++ b/service/cloudfront/api_op_GetCloudFrontOriginAccessIdentityConfig.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetCloudFrontOriginAccessIdentityConfigMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCloudFrontOriginAccessIdentityConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetContinuousDeploymentPolicy.go b/service/cloudfront/api_op_GetContinuousDeploymentPolicy.go index cd0068fcfcc..d0a5d966bd9 100644 --- a/service/cloudfront/api_op_GetContinuousDeploymentPolicy.go +++ b/service/cloudfront/api_op_GetContinuousDeploymentPolicy.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetContinuousDeploymentPolicyMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetContinuousDeploymentPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetContinuousDeploymentPolicyConfig.go b/service/cloudfront/api_op_GetContinuousDeploymentPolicyConfig.go index fdbd9646698..61df01be38c 100644 --- a/service/cloudfront/api_op_GetContinuousDeploymentPolicyConfig.go +++ b/service/cloudfront/api_op_GetContinuousDeploymentPolicyConfig.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetContinuousDeploymentPolicyConfigMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetContinuousDeploymentPolicyConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetDistribution.go b/service/cloudfront/api_op_GetDistribution.go index a875c4ea793..512198978ee 100644 --- a/service/cloudfront/api_op_GetDistribution.go +++ b/service/cloudfront/api_op_GetDistribution.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetDistributionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDistributionValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetDistributionConfig.go b/service/cloudfront/api_op_GetDistributionConfig.go index 9cbb2ccfcfd..c8798ca5e8b 100644 --- a/service/cloudfront/api_op_GetDistributionConfig.go +++ b/service/cloudfront/api_op_GetDistributionConfig.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetDistributionConfigMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDistributionConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetFieldLevelEncryption.go b/service/cloudfront/api_op_GetFieldLevelEncryption.go index dc0a63cae34..144cb735f2e 100644 --- a/service/cloudfront/api_op_GetFieldLevelEncryption.go +++ b/service/cloudfront/api_op_GetFieldLevelEncryption.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetFieldLevelEncryptionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFieldLevelEncryptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetFieldLevelEncryptionConfig.go b/service/cloudfront/api_op_GetFieldLevelEncryptionConfig.go index 8bae2639956..a69934ff9ea 100644 --- a/service/cloudfront/api_op_GetFieldLevelEncryptionConfig.go +++ b/service/cloudfront/api_op_GetFieldLevelEncryptionConfig.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetFieldLevelEncryptionConfigMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFieldLevelEncryptionConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetFieldLevelEncryptionProfile.go b/service/cloudfront/api_op_GetFieldLevelEncryptionProfile.go index d437099b863..3f564f3a6cc 100644 --- a/service/cloudfront/api_op_GetFieldLevelEncryptionProfile.go +++ b/service/cloudfront/api_op_GetFieldLevelEncryptionProfile.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetFieldLevelEncryptionProfileMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFieldLevelEncryptionProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetFieldLevelEncryptionProfileConfig.go b/service/cloudfront/api_op_GetFieldLevelEncryptionProfileConfig.go index 55e6c4edc2a..a75ecef90cd 100644 --- a/service/cloudfront/api_op_GetFieldLevelEncryptionProfileConfig.go +++ b/service/cloudfront/api_op_GetFieldLevelEncryptionProfileConfig.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetFieldLevelEncryptionProfileConfigMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFieldLevelEncryptionProfileConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetFunction.go b/service/cloudfront/api_op_GetFunction.go index aa41e5e44a5..e473706fed6 100644 --- a/service/cloudfront/api_op_GetFunction.go +++ b/service/cloudfront/api_op_GetFunction.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetFunctionMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFunctionValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetInvalidation.go b/service/cloudfront/api_op_GetInvalidation.go index 64a197966df..b0cef6fd802 100644 --- a/service/cloudfront/api_op_GetInvalidation.go +++ b/service/cloudfront/api_op_GetInvalidation.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetInvalidationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInvalidationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetKeyGroup.go b/service/cloudfront/api_op_GetKeyGroup.go index a71c6e837e5..f707f07d5b1 100644 --- a/service/cloudfront/api_op_GetKeyGroup.go +++ b/service/cloudfront/api_op_GetKeyGroup.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetKeyGroupMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetKeyGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetKeyGroupConfig.go b/service/cloudfront/api_op_GetKeyGroupConfig.go index ba6f8821aae..be485a1c226 100644 --- a/service/cloudfront/api_op_GetKeyGroupConfig.go +++ b/service/cloudfront/api_op_GetKeyGroupConfig.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetKeyGroupConfigMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetKeyGroupConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetMonitoringSubscription.go b/service/cloudfront/api_op_GetMonitoringSubscription.go index eac65a2a201..7537dfda4b3 100644 --- a/service/cloudfront/api_op_GetMonitoringSubscription.go +++ b/service/cloudfront/api_op_GetMonitoringSubscription.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetMonitoringSubscriptionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMonitoringSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetOriginAccessControl.go b/service/cloudfront/api_op_GetOriginAccessControl.go index 4090552bc4b..9fd8a44a709 100644 --- a/service/cloudfront/api_op_GetOriginAccessControl.go +++ b/service/cloudfront/api_op_GetOriginAccessControl.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetOriginAccessControlMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetOriginAccessControlValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetOriginAccessControlConfig.go b/service/cloudfront/api_op_GetOriginAccessControlConfig.go index 6c057e7783b..c79c7ee2bd0 100644 --- a/service/cloudfront/api_op_GetOriginAccessControlConfig.go +++ b/service/cloudfront/api_op_GetOriginAccessControlConfig.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetOriginAccessControlConfigMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetOriginAccessControlConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetOriginRequestPolicy.go b/service/cloudfront/api_op_GetOriginRequestPolicy.go index 012081b8788..d7f37a76589 100644 --- a/service/cloudfront/api_op_GetOriginRequestPolicy.go +++ b/service/cloudfront/api_op_GetOriginRequestPolicy.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGetOriginRequestPolicyMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetOriginRequestPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetOriginRequestPolicyConfig.go b/service/cloudfront/api_op_GetOriginRequestPolicyConfig.go index be0d961e359..be86fdc6c39 100644 --- a/service/cloudfront/api_op_GetOriginRequestPolicyConfig.go +++ b/service/cloudfront/api_op_GetOriginRequestPolicyConfig.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetOriginRequestPolicyConfigMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetOriginRequestPolicyConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetPublicKey.go b/service/cloudfront/api_op_GetPublicKey.go index dba1b4546ca..fa0bb2e77ab 100644 --- a/service/cloudfront/api_op_GetPublicKey.go +++ b/service/cloudfront/api_op_GetPublicKey.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetPublicKeyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPublicKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetPublicKeyConfig.go b/service/cloudfront/api_op_GetPublicKeyConfig.go index 12ce8177fe2..b24b52aae36 100644 --- a/service/cloudfront/api_op_GetPublicKeyConfig.go +++ b/service/cloudfront/api_op_GetPublicKeyConfig.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetPublicKeyConfigMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPublicKeyConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetRealtimeLogConfig.go b/service/cloudfront/api_op_GetRealtimeLogConfig.go index f0abcecf665..e85ecf8b82d 100644 --- a/service/cloudfront/api_op_GetRealtimeLogConfig.go +++ b/service/cloudfront/api_op_GetRealtimeLogConfig.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetRealtimeLogConfigMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRealtimeLogConfig(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudfront/api_op_GetResponseHeadersPolicy.go b/service/cloudfront/api_op_GetResponseHeadersPolicy.go index 5db7fcb8e48..d7c0941c9bc 100644 --- a/service/cloudfront/api_op_GetResponseHeadersPolicy.go +++ b/service/cloudfront/api_op_GetResponseHeadersPolicy.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetResponseHeadersPolicyMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResponseHeadersPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetResponseHeadersPolicyConfig.go b/service/cloudfront/api_op_GetResponseHeadersPolicyConfig.go index 040adb1fc18..8c17d9f490c 100644 --- a/service/cloudfront/api_op_GetResponseHeadersPolicyConfig.go +++ b/service/cloudfront/api_op_GetResponseHeadersPolicyConfig.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetResponseHeadersPolicyConfigMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResponseHeadersPolicyConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetStreamingDistribution.go b/service/cloudfront/api_op_GetStreamingDistribution.go index 71ff4534a4c..fab0ffa74c5 100644 --- a/service/cloudfront/api_op_GetStreamingDistribution.go +++ b/service/cloudfront/api_op_GetStreamingDistribution.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetStreamingDistributionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetStreamingDistributionValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetStreamingDistributionConfig.go b/service/cloudfront/api_op_GetStreamingDistributionConfig.go index c62dc511b71..b1a918bcd08 100644 --- a/service/cloudfront/api_op_GetStreamingDistributionConfig.go +++ b/service/cloudfront/api_op_GetStreamingDistributionConfig.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetStreamingDistributionConfigMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetStreamingDistributionConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_GetVpcOrigin.go b/service/cloudfront/api_op_GetVpcOrigin.go index 090f15b8474..50011545bd8 100644 --- a/service/cloudfront/api_op_GetVpcOrigin.go +++ b/service/cloudfront/api_op_GetVpcOrigin.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetVpcOriginMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVpcOriginValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListAnycastIpLists.go b/service/cloudfront/api_op_ListAnycastIpLists.go index cc1de415e64..464c6e511ce 100644 --- a/service/cloudfront/api_op_ListAnycastIpLists.go +++ b/service/cloudfront/api_op_ListAnycastIpLists.go @@ -117,9 +117,6 @@ func (c *Client) addOperationListAnycastIpListsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAnycastIpLists(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudfront/api_op_ListCachePolicies.go b/service/cloudfront/api_op_ListCachePolicies.go index e4bf9991810..5a76254ac51 100644 --- a/service/cloudfront/api_op_ListCachePolicies.go +++ b/service/cloudfront/api_op_ListCachePolicies.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListCachePoliciesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCachePolicies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudfront/api_op_ListCloudFrontOriginAccessIdentities.go b/service/cloudfront/api_op_ListCloudFrontOriginAccessIdentities.go index 74155f01cf0..d386163f42a 100644 --- a/service/cloudfront/api_op_ListCloudFrontOriginAccessIdentities.go +++ b/service/cloudfront/api_op_ListCloudFrontOriginAccessIdentities.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListCloudFrontOriginAccessIdentitiesMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCloudFrontOriginAccessIdentities(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudfront/api_op_ListConflictingAliases.go b/service/cloudfront/api_op_ListConflictingAliases.go index eef607e2b0d..a933406f5a3 100644 --- a/service/cloudfront/api_op_ListConflictingAliases.go +++ b/service/cloudfront/api_op_ListConflictingAliases.go @@ -153,9 +153,6 @@ func (c *Client) addOperationListConflictingAliasesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListConflictingAliasesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListContinuousDeploymentPolicies.go b/service/cloudfront/api_op_ListContinuousDeploymentPolicies.go index 30ab91ecd0e..314a05030bd 100644 --- a/service/cloudfront/api_op_ListContinuousDeploymentPolicies.go +++ b/service/cloudfront/api_op_ListContinuousDeploymentPolicies.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListContinuousDeploymentPoliciesMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListContinuousDeploymentPolicies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudfront/api_op_ListDistributions.go b/service/cloudfront/api_op_ListDistributions.go index 7a11b6c21b1..f4b3edf1556 100644 --- a/service/cloudfront/api_op_ListDistributions.go +++ b/service/cloudfront/api_op_ListDistributions.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListDistributionsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDistributions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudfront/api_op_ListDistributionsByAnycastIpListId.go b/service/cloudfront/api_op_ListDistributionsByAnycastIpListId.go index 03ffd85cd16..23230348a82 100644 --- a/service/cloudfront/api_op_ListDistributionsByAnycastIpListId.go +++ b/service/cloudfront/api_op_ListDistributionsByAnycastIpListId.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListDistributionsByAnycastIpListIdMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDistributionsByAnycastIpListIdValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListDistributionsByCachePolicyId.go b/service/cloudfront/api_op_ListDistributionsByCachePolicyId.go index f9a04db7e9b..a24440d1285 100644 --- a/service/cloudfront/api_op_ListDistributionsByCachePolicyId.go +++ b/service/cloudfront/api_op_ListDistributionsByCachePolicyId.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListDistributionsByCachePolicyIdMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDistributionsByCachePolicyIdValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListDistributionsByKeyGroup.go b/service/cloudfront/api_op_ListDistributionsByKeyGroup.go index 9bc026131c5..a880d347fa0 100644 --- a/service/cloudfront/api_op_ListDistributionsByKeyGroup.go +++ b/service/cloudfront/api_op_ListDistributionsByKeyGroup.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListDistributionsByKeyGroupMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDistributionsByKeyGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListDistributionsByOriginRequestPolicyId.go b/service/cloudfront/api_op_ListDistributionsByOriginRequestPolicyId.go index 102ef5cdae9..dda79ab1310 100644 --- a/service/cloudfront/api_op_ListDistributionsByOriginRequestPolicyId.go +++ b/service/cloudfront/api_op_ListDistributionsByOriginRequestPolicyId.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListDistributionsByOriginRequestPolicyIdMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDistributionsByOriginRequestPolicyIdValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListDistributionsByRealtimeLogConfig.go b/service/cloudfront/api_op_ListDistributionsByRealtimeLogConfig.go index 12e04e3d6a8..d879cb22e4a 100644 --- a/service/cloudfront/api_op_ListDistributionsByRealtimeLogConfig.go +++ b/service/cloudfront/api_op_ListDistributionsByRealtimeLogConfig.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListDistributionsByRealtimeLogConfigMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDistributionsByRealtimeLogConfig(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudfront/api_op_ListDistributionsByResponseHeadersPolicyId.go b/service/cloudfront/api_op_ListDistributionsByResponseHeadersPolicyId.go index f7750dcaf00..f5f96162227 100644 --- a/service/cloudfront/api_op_ListDistributionsByResponseHeadersPolicyId.go +++ b/service/cloudfront/api_op_ListDistributionsByResponseHeadersPolicyId.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListDistributionsByResponseHeadersPolicyIdMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDistributionsByResponseHeadersPolicyIdValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListDistributionsByVpcOriginId.go b/service/cloudfront/api_op_ListDistributionsByVpcOriginId.go index c1dae27ce4d..61c7a48c36f 100644 --- a/service/cloudfront/api_op_ListDistributionsByVpcOriginId.go +++ b/service/cloudfront/api_op_ListDistributionsByVpcOriginId.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListDistributionsByVpcOriginIdMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDistributionsByVpcOriginIdValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListDistributionsByWebACLId.go b/service/cloudfront/api_op_ListDistributionsByWebACLId.go index a7d8edfa9c6..029c7715bf5 100644 --- a/service/cloudfront/api_op_ListDistributionsByWebACLId.go +++ b/service/cloudfront/api_op_ListDistributionsByWebACLId.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListDistributionsByWebACLIdMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDistributionsByWebACLIdValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListFieldLevelEncryptionConfigs.go b/service/cloudfront/api_op_ListFieldLevelEncryptionConfigs.go index 7ae86554bf6..264f8ca9ce1 100644 --- a/service/cloudfront/api_op_ListFieldLevelEncryptionConfigs.go +++ b/service/cloudfront/api_op_ListFieldLevelEncryptionConfigs.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListFieldLevelEncryptionConfigsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFieldLevelEncryptionConfigs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudfront/api_op_ListFieldLevelEncryptionProfiles.go b/service/cloudfront/api_op_ListFieldLevelEncryptionProfiles.go index 467dfa0899a..a498ac7c307 100644 --- a/service/cloudfront/api_op_ListFieldLevelEncryptionProfiles.go +++ b/service/cloudfront/api_op_ListFieldLevelEncryptionProfiles.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListFieldLevelEncryptionProfilesMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFieldLevelEncryptionProfiles(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudfront/api_op_ListFunctions.go b/service/cloudfront/api_op_ListFunctions.go index d274992b151..0a12f84e627 100644 --- a/service/cloudfront/api_op_ListFunctions.go +++ b/service/cloudfront/api_op_ListFunctions.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListFunctionsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFunctions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudfront/api_op_ListInvalidations.go b/service/cloudfront/api_op_ListInvalidations.go index d242b39dddc..c358f443844 100644 --- a/service/cloudfront/api_op_ListInvalidations.go +++ b/service/cloudfront/api_op_ListInvalidations.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListInvalidationsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListInvalidationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListKeyGroups.go b/service/cloudfront/api_op_ListKeyGroups.go index 4fb8a5b14f2..f607db7f620 100644 --- a/service/cloudfront/api_op_ListKeyGroups.go +++ b/service/cloudfront/api_op_ListKeyGroups.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListKeyGroupsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListKeyGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudfront/api_op_ListKeyValueStores.go b/service/cloudfront/api_op_ListKeyValueStores.go index cac646dc709..7ccdccbf0d8 100644 --- a/service/cloudfront/api_op_ListKeyValueStores.go +++ b/service/cloudfront/api_op_ListKeyValueStores.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListKeyValueStoresMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListKeyValueStores(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudfront/api_op_ListOriginAccessControls.go b/service/cloudfront/api_op_ListOriginAccessControls.go index ad65fb8f36f..07185b10bc3 100644 --- a/service/cloudfront/api_op_ListOriginAccessControls.go +++ b/service/cloudfront/api_op_ListOriginAccessControls.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListOriginAccessControlsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOriginAccessControls(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudfront/api_op_ListOriginRequestPolicies.go b/service/cloudfront/api_op_ListOriginRequestPolicies.go index 545f0309e7a..2ab5f6d17b0 100644 --- a/service/cloudfront/api_op_ListOriginRequestPolicies.go +++ b/service/cloudfront/api_op_ListOriginRequestPolicies.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListOriginRequestPoliciesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOriginRequestPolicies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudfront/api_op_ListPublicKeys.go b/service/cloudfront/api_op_ListPublicKeys.go index 84cf7b8cb39..5b81e8137e8 100644 --- a/service/cloudfront/api_op_ListPublicKeys.go +++ b/service/cloudfront/api_op_ListPublicKeys.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListPublicKeysMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPublicKeys(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudfront/api_op_ListRealtimeLogConfigs.go b/service/cloudfront/api_op_ListRealtimeLogConfigs.go index 5f96c7723bb..15be273bc09 100644 --- a/service/cloudfront/api_op_ListRealtimeLogConfigs.go +++ b/service/cloudfront/api_op_ListRealtimeLogConfigs.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListRealtimeLogConfigsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRealtimeLogConfigs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudfront/api_op_ListResponseHeadersPolicies.go b/service/cloudfront/api_op_ListResponseHeadersPolicies.go index ad6f2406251..1cada1b3c72 100644 --- a/service/cloudfront/api_op_ListResponseHeadersPolicies.go +++ b/service/cloudfront/api_op_ListResponseHeadersPolicies.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListResponseHeadersPoliciesMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResponseHeadersPolicies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudfront/api_op_ListStreamingDistributions.go b/service/cloudfront/api_op_ListStreamingDistributions.go index 44a72fc03ab..d987da5ccd6 100644 --- a/service/cloudfront/api_op_ListStreamingDistributions.go +++ b/service/cloudfront/api_op_ListStreamingDistributions.go @@ -115,9 +115,6 @@ func (c *Client) addOperationListStreamingDistributionsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStreamingDistributions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudfront/api_op_ListTagsForResource.go b/service/cloudfront/api_op_ListTagsForResource.go index b75f73b6880..bea36fd6507 100644 --- a/service/cloudfront/api_op_ListTagsForResource.go +++ b/service/cloudfront/api_op_ListTagsForResource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_ListVpcOrigins.go b/service/cloudfront/api_op_ListVpcOrigins.go index dd99a272080..323e9fd45ba 100644 --- a/service/cloudfront/api_op_ListVpcOrigins.go +++ b/service/cloudfront/api_op_ListVpcOrigins.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListVpcOriginsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVpcOrigins(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudfront/api_op_PublishFunction.go b/service/cloudfront/api_op_PublishFunction.go index b9bec51b166..de4f8325035 100644 --- a/service/cloudfront/api_op_PublishFunction.go +++ b/service/cloudfront/api_op_PublishFunction.go @@ -127,9 +127,6 @@ func (c *Client) addOperationPublishFunctionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPublishFunctionValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_TagResource.go b/service/cloudfront/api_op_TagResource.go index a6690bba641..90c901fbe6f 100644 --- a/service/cloudfront/api_op_TagResource.go +++ b/service/cloudfront/api_op_TagResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_TestFunction.go b/service/cloudfront/api_op_TestFunction.go index f1fbf898b4c..4d90245639a 100644 --- a/service/cloudfront/api_op_TestFunction.go +++ b/service/cloudfront/api_op_TestFunction.go @@ -144,9 +144,6 @@ func (c *Client) addOperationTestFunctionMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTestFunctionValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UntagResource.go b/service/cloudfront/api_op_UntagResource.go index cb19a36bf84..0e4dd13becc 100644 --- a/service/cloudfront/api_op_UntagResource.go +++ b/service/cloudfront/api_op_UntagResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UpdateCachePolicy.go b/service/cloudfront/api_op_UpdateCachePolicy.go index 8f69eaff3a4..10736666057 100644 --- a/service/cloudfront/api_op_UpdateCachePolicy.go +++ b/service/cloudfront/api_op_UpdateCachePolicy.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateCachePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCachePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UpdateCloudFrontOriginAccessIdentity.go b/service/cloudfront/api_op_UpdateCloudFrontOriginAccessIdentity.go index adf2a04c59b..a385d9a346a 100644 --- a/service/cloudfront/api_op_UpdateCloudFrontOriginAccessIdentity.go +++ b/service/cloudfront/api_op_UpdateCloudFrontOriginAccessIdentity.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateCloudFrontOriginAccessIdentityMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCloudFrontOriginAccessIdentityValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UpdateContinuousDeploymentPolicy.go b/service/cloudfront/api_op_UpdateContinuousDeploymentPolicy.go index 96e5d86b95d..79590345c37 100644 --- a/service/cloudfront/api_op_UpdateContinuousDeploymentPolicy.go +++ b/service/cloudfront/api_op_UpdateContinuousDeploymentPolicy.go @@ -142,9 +142,6 @@ func (c *Client) addOperationUpdateContinuousDeploymentPolicyMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateContinuousDeploymentPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UpdateDistribution.go b/service/cloudfront/api_op_UpdateDistribution.go index d89d542f9d4..38a721e345b 100644 --- a/service/cloudfront/api_op_UpdateDistribution.go +++ b/service/cloudfront/api_op_UpdateDistribution.go @@ -150,9 +150,6 @@ func (c *Client) addOperationUpdateDistributionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDistributionValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UpdateDistributionWithStagingConfig.go b/service/cloudfront/api_op_UpdateDistributionWithStagingConfig.go index e23752cb220..f84e105ce62 100644 --- a/service/cloudfront/api_op_UpdateDistributionWithStagingConfig.go +++ b/service/cloudfront/api_op_UpdateDistributionWithStagingConfig.go @@ -147,9 +147,6 @@ func (c *Client) addOperationUpdateDistributionWithStagingConfigMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDistributionWithStagingConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UpdateFieldLevelEncryptionConfig.go b/service/cloudfront/api_op_UpdateFieldLevelEncryptionConfig.go index 5c3eb7dcd3f..ad022e431ec 100644 --- a/service/cloudfront/api_op_UpdateFieldLevelEncryptionConfig.go +++ b/service/cloudfront/api_op_UpdateFieldLevelEncryptionConfig.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateFieldLevelEncryptionConfigMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFieldLevelEncryptionConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UpdateFieldLevelEncryptionProfile.go b/service/cloudfront/api_op_UpdateFieldLevelEncryptionProfile.go index 8b24c8a4ea6..bc73d68ac99 100644 --- a/service/cloudfront/api_op_UpdateFieldLevelEncryptionProfile.go +++ b/service/cloudfront/api_op_UpdateFieldLevelEncryptionProfile.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateFieldLevelEncryptionProfileMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFieldLevelEncryptionProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UpdateFunction.go b/service/cloudfront/api_op_UpdateFunction.go index 795d2e6042a..ef8be7fe6a7 100644 --- a/service/cloudfront/api_op_UpdateFunction.go +++ b/service/cloudfront/api_op_UpdateFunction.go @@ -141,9 +141,6 @@ func (c *Client) addOperationUpdateFunctionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFunctionValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UpdateKeyGroup.go b/service/cloudfront/api_op_UpdateKeyGroup.go index aaa7ee7b066..5acca6eb0e7 100644 --- a/service/cloudfront/api_op_UpdateKeyGroup.go +++ b/service/cloudfront/api_op_UpdateKeyGroup.go @@ -136,9 +136,6 @@ func (c *Client) addOperationUpdateKeyGroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateKeyGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UpdateKeyValueStore.go b/service/cloudfront/api_op_UpdateKeyValueStore.go index 01770312541..c12f0867099 100644 --- a/service/cloudfront/api_op_UpdateKeyValueStore.go +++ b/service/cloudfront/api_op_UpdateKeyValueStore.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateKeyValueStoreMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateKeyValueStoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UpdateOriginAccessControl.go b/service/cloudfront/api_op_UpdateOriginAccessControl.go index d439f6207d8..2fdd6044901 100644 --- a/service/cloudfront/api_op_UpdateOriginAccessControl.go +++ b/service/cloudfront/api_op_UpdateOriginAccessControl.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateOriginAccessControlMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateOriginAccessControlValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UpdateOriginRequestPolicy.go b/service/cloudfront/api_op_UpdateOriginRequestPolicy.go index 3e55a102aea..cc4ecb92a3c 100644 --- a/service/cloudfront/api_op_UpdateOriginRequestPolicy.go +++ b/service/cloudfront/api_op_UpdateOriginRequestPolicy.go @@ -139,9 +139,6 @@ func (c *Client) addOperationUpdateOriginRequestPolicyMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateOriginRequestPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UpdatePublicKey.go b/service/cloudfront/api_op_UpdatePublicKey.go index 82a0cbdbec4..71a64574937 100644 --- a/service/cloudfront/api_op_UpdatePublicKey.go +++ b/service/cloudfront/api_op_UpdatePublicKey.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdatePublicKeyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePublicKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UpdateRealtimeLogConfig.go b/service/cloudfront/api_op_UpdateRealtimeLogConfig.go index 1cf97f92db5..175baf92554 100644 --- a/service/cloudfront/api_op_UpdateRealtimeLogConfig.go +++ b/service/cloudfront/api_op_UpdateRealtimeLogConfig.go @@ -145,9 +145,6 @@ func (c *Client) addOperationUpdateRealtimeLogConfigMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRealtimeLogConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UpdateResponseHeadersPolicy.go b/service/cloudfront/api_op_UpdateResponseHeadersPolicy.go index 2510482cc56..63eb1a02e1a 100644 --- a/service/cloudfront/api_op_UpdateResponseHeadersPolicy.go +++ b/service/cloudfront/api_op_UpdateResponseHeadersPolicy.go @@ -139,9 +139,6 @@ func (c *Client) addOperationUpdateResponseHeadersPolicyMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateResponseHeadersPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UpdateStreamingDistribution.go b/service/cloudfront/api_op_UpdateStreamingDistribution.go index fccbe4f24ed..129af7dbc9f 100644 --- a/service/cloudfront/api_op_UpdateStreamingDistribution.go +++ b/service/cloudfront/api_op_UpdateStreamingDistribution.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateStreamingDistributionMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateStreamingDistributionValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/api_op_UpdateVpcOrigin.go b/service/cloudfront/api_op_UpdateVpcOrigin.go index 8e32eb15c6c..1f40e58a381 100644 --- a/service/cloudfront/api_op_UpdateVpcOrigin.go +++ b/service/cloudfront/api_op_UpdateVpcOrigin.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateVpcOriginMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateVpcOriginValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfront/snapshot/api_op_AssociateAlias.go.snap b/service/cloudfront/snapshot/api_op_AssociateAlias.go.snap index e520cff23c7..f2627273d0e 100644 --- a/service/cloudfront/snapshot/api_op_AssociateAlias.go.snap +++ b/service/cloudfront/snapshot/api_op_AssociateAlias.go.snap @@ -14,7 +14,6 @@ AssociateAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_CopyDistribution.go.snap b/service/cloudfront/snapshot/api_op_CopyDistribution.go.snap index f12c657e0fc..486a15c7970 100644 --- a/service/cloudfront/snapshot/api_op_CopyDistribution.go.snap +++ b/service/cloudfront/snapshot/api_op_CopyDistribution.go.snap @@ -14,7 +14,6 @@ CopyDistribution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_CreateAnycastIpList.go.snap b/service/cloudfront/snapshot/api_op_CreateAnycastIpList.go.snap index 5ba8703d049..824ac98f950 100644 --- a/service/cloudfront/snapshot/api_op_CreateAnycastIpList.go.snap +++ b/service/cloudfront/snapshot/api_op_CreateAnycastIpList.go.snap @@ -14,7 +14,6 @@ CreateAnycastIpList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_CreateCachePolicy.go.snap b/service/cloudfront/snapshot/api_op_CreateCachePolicy.go.snap index c20e98ba6b2..8089484d228 100644 --- a/service/cloudfront/snapshot/api_op_CreateCachePolicy.go.snap +++ b/service/cloudfront/snapshot/api_op_CreateCachePolicy.go.snap @@ -14,7 +14,6 @@ CreateCachePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_CreateCloudFrontOriginAccessIdentity.go.snap b/service/cloudfront/snapshot/api_op_CreateCloudFrontOriginAccessIdentity.go.snap index 50db69f12ab..5313780d7a4 100644 --- a/service/cloudfront/snapshot/api_op_CreateCloudFrontOriginAccessIdentity.go.snap +++ b/service/cloudfront/snapshot/api_op_CreateCloudFrontOriginAccessIdentity.go.snap @@ -14,7 +14,6 @@ CreateCloudFrontOriginAccessIdentity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_CreateContinuousDeploymentPolicy.go.snap b/service/cloudfront/snapshot/api_op_CreateContinuousDeploymentPolicy.go.snap index 8ddf6213eb2..e17b4985316 100644 --- a/service/cloudfront/snapshot/api_op_CreateContinuousDeploymentPolicy.go.snap +++ b/service/cloudfront/snapshot/api_op_CreateContinuousDeploymentPolicy.go.snap @@ -14,7 +14,6 @@ CreateContinuousDeploymentPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_CreateDistribution.go.snap b/service/cloudfront/snapshot/api_op_CreateDistribution.go.snap index d95c93096b7..3f6c692c628 100644 --- a/service/cloudfront/snapshot/api_op_CreateDistribution.go.snap +++ b/service/cloudfront/snapshot/api_op_CreateDistribution.go.snap @@ -14,7 +14,6 @@ CreateDistribution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_CreateDistributionWithTags.go.snap b/service/cloudfront/snapshot/api_op_CreateDistributionWithTags.go.snap index e7e34af7f93..0cefcaa68de 100644 --- a/service/cloudfront/snapshot/api_op_CreateDistributionWithTags.go.snap +++ b/service/cloudfront/snapshot/api_op_CreateDistributionWithTags.go.snap @@ -14,7 +14,6 @@ CreateDistributionWithTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_CreateFieldLevelEncryptionConfig.go.snap b/service/cloudfront/snapshot/api_op_CreateFieldLevelEncryptionConfig.go.snap index 39541eb7385..03cd084761a 100644 --- a/service/cloudfront/snapshot/api_op_CreateFieldLevelEncryptionConfig.go.snap +++ b/service/cloudfront/snapshot/api_op_CreateFieldLevelEncryptionConfig.go.snap @@ -14,7 +14,6 @@ CreateFieldLevelEncryptionConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_CreateFieldLevelEncryptionProfile.go.snap b/service/cloudfront/snapshot/api_op_CreateFieldLevelEncryptionProfile.go.snap index 3ef40f0bb11..183ac20491b 100644 --- a/service/cloudfront/snapshot/api_op_CreateFieldLevelEncryptionProfile.go.snap +++ b/service/cloudfront/snapshot/api_op_CreateFieldLevelEncryptionProfile.go.snap @@ -14,7 +14,6 @@ CreateFieldLevelEncryptionProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_CreateFunction.go.snap b/service/cloudfront/snapshot/api_op_CreateFunction.go.snap index f9c9ef13a79..7d115afcd10 100644 --- a/service/cloudfront/snapshot/api_op_CreateFunction.go.snap +++ b/service/cloudfront/snapshot/api_op_CreateFunction.go.snap @@ -14,7 +14,6 @@ CreateFunction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_CreateInvalidation.go.snap b/service/cloudfront/snapshot/api_op_CreateInvalidation.go.snap index 0a5361158c8..76327b25d46 100644 --- a/service/cloudfront/snapshot/api_op_CreateInvalidation.go.snap +++ b/service/cloudfront/snapshot/api_op_CreateInvalidation.go.snap @@ -14,7 +14,6 @@ CreateInvalidation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_CreateKeyGroup.go.snap b/service/cloudfront/snapshot/api_op_CreateKeyGroup.go.snap index c3b67995ac5..9570497933a 100644 --- a/service/cloudfront/snapshot/api_op_CreateKeyGroup.go.snap +++ b/service/cloudfront/snapshot/api_op_CreateKeyGroup.go.snap @@ -14,7 +14,6 @@ CreateKeyGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_CreateKeyValueStore.go.snap b/service/cloudfront/snapshot/api_op_CreateKeyValueStore.go.snap index 97d54bb29a7..e9f779e8df2 100644 --- a/service/cloudfront/snapshot/api_op_CreateKeyValueStore.go.snap +++ b/service/cloudfront/snapshot/api_op_CreateKeyValueStore.go.snap @@ -14,7 +14,6 @@ CreateKeyValueStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_CreateMonitoringSubscription.go.snap b/service/cloudfront/snapshot/api_op_CreateMonitoringSubscription.go.snap index 874ed20870b..8a15a6f7a3a 100644 --- a/service/cloudfront/snapshot/api_op_CreateMonitoringSubscription.go.snap +++ b/service/cloudfront/snapshot/api_op_CreateMonitoringSubscription.go.snap @@ -14,7 +14,6 @@ CreateMonitoringSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_CreateOriginAccessControl.go.snap b/service/cloudfront/snapshot/api_op_CreateOriginAccessControl.go.snap index 586ea8a7dff..18b100c8a15 100644 --- a/service/cloudfront/snapshot/api_op_CreateOriginAccessControl.go.snap +++ b/service/cloudfront/snapshot/api_op_CreateOriginAccessControl.go.snap @@ -14,7 +14,6 @@ CreateOriginAccessControl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_CreateOriginRequestPolicy.go.snap b/service/cloudfront/snapshot/api_op_CreateOriginRequestPolicy.go.snap index 6da8863cc06..e99996a831d 100644 --- a/service/cloudfront/snapshot/api_op_CreateOriginRequestPolicy.go.snap +++ b/service/cloudfront/snapshot/api_op_CreateOriginRequestPolicy.go.snap @@ -14,7 +14,6 @@ CreateOriginRequestPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_CreatePublicKey.go.snap b/service/cloudfront/snapshot/api_op_CreatePublicKey.go.snap index 49639ea6346..bdecb348ef3 100644 --- a/service/cloudfront/snapshot/api_op_CreatePublicKey.go.snap +++ b/service/cloudfront/snapshot/api_op_CreatePublicKey.go.snap @@ -14,7 +14,6 @@ CreatePublicKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_CreateRealtimeLogConfig.go.snap b/service/cloudfront/snapshot/api_op_CreateRealtimeLogConfig.go.snap index fccebb1c751..c552e525038 100644 --- a/service/cloudfront/snapshot/api_op_CreateRealtimeLogConfig.go.snap +++ b/service/cloudfront/snapshot/api_op_CreateRealtimeLogConfig.go.snap @@ -14,7 +14,6 @@ CreateRealtimeLogConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_CreateResponseHeadersPolicy.go.snap b/service/cloudfront/snapshot/api_op_CreateResponseHeadersPolicy.go.snap index 31d5e830aa0..8633cde2f0e 100644 --- a/service/cloudfront/snapshot/api_op_CreateResponseHeadersPolicy.go.snap +++ b/service/cloudfront/snapshot/api_op_CreateResponseHeadersPolicy.go.snap @@ -14,7 +14,6 @@ CreateResponseHeadersPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_CreateStreamingDistribution.go.snap b/service/cloudfront/snapshot/api_op_CreateStreamingDistribution.go.snap index 12b6ac4bdbb..be7a9ed7c2f 100644 --- a/service/cloudfront/snapshot/api_op_CreateStreamingDistribution.go.snap +++ b/service/cloudfront/snapshot/api_op_CreateStreamingDistribution.go.snap @@ -14,7 +14,6 @@ CreateStreamingDistribution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_CreateStreamingDistributionWithTags.go.snap b/service/cloudfront/snapshot/api_op_CreateStreamingDistributionWithTags.go.snap index c323b1685fe..40f8386a149 100644 --- a/service/cloudfront/snapshot/api_op_CreateStreamingDistributionWithTags.go.snap +++ b/service/cloudfront/snapshot/api_op_CreateStreamingDistributionWithTags.go.snap @@ -14,7 +14,6 @@ CreateStreamingDistributionWithTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_CreateVpcOrigin.go.snap b/service/cloudfront/snapshot/api_op_CreateVpcOrigin.go.snap index d1fd6e18f3a..06743235050 100644 --- a/service/cloudfront/snapshot/api_op_CreateVpcOrigin.go.snap +++ b/service/cloudfront/snapshot/api_op_CreateVpcOrigin.go.snap @@ -14,7 +14,6 @@ CreateVpcOrigin Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_DeleteAnycastIpList.go.snap b/service/cloudfront/snapshot/api_op_DeleteAnycastIpList.go.snap index d74016ad42d..017d8a0f9d0 100644 --- a/service/cloudfront/snapshot/api_op_DeleteAnycastIpList.go.snap +++ b/service/cloudfront/snapshot/api_op_DeleteAnycastIpList.go.snap @@ -14,7 +14,6 @@ DeleteAnycastIpList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_DeleteCachePolicy.go.snap b/service/cloudfront/snapshot/api_op_DeleteCachePolicy.go.snap index 771dbc295eb..2c586c22357 100644 --- a/service/cloudfront/snapshot/api_op_DeleteCachePolicy.go.snap +++ b/service/cloudfront/snapshot/api_op_DeleteCachePolicy.go.snap @@ -14,7 +14,6 @@ DeleteCachePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_DeleteCloudFrontOriginAccessIdentity.go.snap b/service/cloudfront/snapshot/api_op_DeleteCloudFrontOriginAccessIdentity.go.snap index 179c46f2d1c..ed8625b0faa 100644 --- a/service/cloudfront/snapshot/api_op_DeleteCloudFrontOriginAccessIdentity.go.snap +++ b/service/cloudfront/snapshot/api_op_DeleteCloudFrontOriginAccessIdentity.go.snap @@ -14,7 +14,6 @@ DeleteCloudFrontOriginAccessIdentity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_DeleteContinuousDeploymentPolicy.go.snap b/service/cloudfront/snapshot/api_op_DeleteContinuousDeploymentPolicy.go.snap index 8e9ad8c9de9..621fdb52c80 100644 --- a/service/cloudfront/snapshot/api_op_DeleteContinuousDeploymentPolicy.go.snap +++ b/service/cloudfront/snapshot/api_op_DeleteContinuousDeploymentPolicy.go.snap @@ -14,7 +14,6 @@ DeleteContinuousDeploymentPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_DeleteDistribution.go.snap b/service/cloudfront/snapshot/api_op_DeleteDistribution.go.snap index 96b2ff3e555..5a1f703d1c4 100644 --- a/service/cloudfront/snapshot/api_op_DeleteDistribution.go.snap +++ b/service/cloudfront/snapshot/api_op_DeleteDistribution.go.snap @@ -14,7 +14,6 @@ DeleteDistribution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_DeleteFieldLevelEncryptionConfig.go.snap b/service/cloudfront/snapshot/api_op_DeleteFieldLevelEncryptionConfig.go.snap index 5e31f5fce1e..7433804dee1 100644 --- a/service/cloudfront/snapshot/api_op_DeleteFieldLevelEncryptionConfig.go.snap +++ b/service/cloudfront/snapshot/api_op_DeleteFieldLevelEncryptionConfig.go.snap @@ -14,7 +14,6 @@ DeleteFieldLevelEncryptionConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_DeleteFieldLevelEncryptionProfile.go.snap b/service/cloudfront/snapshot/api_op_DeleteFieldLevelEncryptionProfile.go.snap index 7a1970a044f..62bc51d2900 100644 --- a/service/cloudfront/snapshot/api_op_DeleteFieldLevelEncryptionProfile.go.snap +++ b/service/cloudfront/snapshot/api_op_DeleteFieldLevelEncryptionProfile.go.snap @@ -14,7 +14,6 @@ DeleteFieldLevelEncryptionProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_DeleteFunction.go.snap b/service/cloudfront/snapshot/api_op_DeleteFunction.go.snap index 4fd033d8ed6..7e2aca5451a 100644 --- a/service/cloudfront/snapshot/api_op_DeleteFunction.go.snap +++ b/service/cloudfront/snapshot/api_op_DeleteFunction.go.snap @@ -14,7 +14,6 @@ DeleteFunction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_DeleteKeyGroup.go.snap b/service/cloudfront/snapshot/api_op_DeleteKeyGroup.go.snap index ba660cc58f7..eae5dece0b7 100644 --- a/service/cloudfront/snapshot/api_op_DeleteKeyGroup.go.snap +++ b/service/cloudfront/snapshot/api_op_DeleteKeyGroup.go.snap @@ -14,7 +14,6 @@ DeleteKeyGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_DeleteKeyValueStore.go.snap b/service/cloudfront/snapshot/api_op_DeleteKeyValueStore.go.snap index 77bf7d3bad5..55587377bdb 100644 --- a/service/cloudfront/snapshot/api_op_DeleteKeyValueStore.go.snap +++ b/service/cloudfront/snapshot/api_op_DeleteKeyValueStore.go.snap @@ -14,7 +14,6 @@ DeleteKeyValueStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_DeleteMonitoringSubscription.go.snap b/service/cloudfront/snapshot/api_op_DeleteMonitoringSubscription.go.snap index 1e2d442b7be..796a249f521 100644 --- a/service/cloudfront/snapshot/api_op_DeleteMonitoringSubscription.go.snap +++ b/service/cloudfront/snapshot/api_op_DeleteMonitoringSubscription.go.snap @@ -14,7 +14,6 @@ DeleteMonitoringSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_DeleteOriginAccessControl.go.snap b/service/cloudfront/snapshot/api_op_DeleteOriginAccessControl.go.snap index a955d3c6bbf..334adab8a4e 100644 --- a/service/cloudfront/snapshot/api_op_DeleteOriginAccessControl.go.snap +++ b/service/cloudfront/snapshot/api_op_DeleteOriginAccessControl.go.snap @@ -14,7 +14,6 @@ DeleteOriginAccessControl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_DeleteOriginRequestPolicy.go.snap b/service/cloudfront/snapshot/api_op_DeleteOriginRequestPolicy.go.snap index 6ce5ccf7dbd..72fe4f12459 100644 --- a/service/cloudfront/snapshot/api_op_DeleteOriginRequestPolicy.go.snap +++ b/service/cloudfront/snapshot/api_op_DeleteOriginRequestPolicy.go.snap @@ -14,7 +14,6 @@ DeleteOriginRequestPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_DeletePublicKey.go.snap b/service/cloudfront/snapshot/api_op_DeletePublicKey.go.snap index 19a19055fd0..e4cc2eeacd8 100644 --- a/service/cloudfront/snapshot/api_op_DeletePublicKey.go.snap +++ b/service/cloudfront/snapshot/api_op_DeletePublicKey.go.snap @@ -14,7 +14,6 @@ DeletePublicKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_DeleteRealtimeLogConfig.go.snap b/service/cloudfront/snapshot/api_op_DeleteRealtimeLogConfig.go.snap index 076b942e1f7..480e4c9d22f 100644 --- a/service/cloudfront/snapshot/api_op_DeleteRealtimeLogConfig.go.snap +++ b/service/cloudfront/snapshot/api_op_DeleteRealtimeLogConfig.go.snap @@ -13,7 +13,6 @@ DeleteRealtimeLogConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_DeleteResponseHeadersPolicy.go.snap b/service/cloudfront/snapshot/api_op_DeleteResponseHeadersPolicy.go.snap index 1c3da186297..54ae7d29605 100644 --- a/service/cloudfront/snapshot/api_op_DeleteResponseHeadersPolicy.go.snap +++ b/service/cloudfront/snapshot/api_op_DeleteResponseHeadersPolicy.go.snap @@ -14,7 +14,6 @@ DeleteResponseHeadersPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_DeleteStreamingDistribution.go.snap b/service/cloudfront/snapshot/api_op_DeleteStreamingDistribution.go.snap index b8128d329b0..06f99c7f9d7 100644 --- a/service/cloudfront/snapshot/api_op_DeleteStreamingDistribution.go.snap +++ b/service/cloudfront/snapshot/api_op_DeleteStreamingDistribution.go.snap @@ -14,7 +14,6 @@ DeleteStreamingDistribution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_DeleteVpcOrigin.go.snap b/service/cloudfront/snapshot/api_op_DeleteVpcOrigin.go.snap index 5f8b0cfb647..95af4d35ceb 100644 --- a/service/cloudfront/snapshot/api_op_DeleteVpcOrigin.go.snap +++ b/service/cloudfront/snapshot/api_op_DeleteVpcOrigin.go.snap @@ -14,7 +14,6 @@ DeleteVpcOrigin Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_DescribeFunction.go.snap b/service/cloudfront/snapshot/api_op_DescribeFunction.go.snap index 002acb05721..03989c17deb 100644 --- a/service/cloudfront/snapshot/api_op_DescribeFunction.go.snap +++ b/service/cloudfront/snapshot/api_op_DescribeFunction.go.snap @@ -14,7 +14,6 @@ DescribeFunction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_DescribeKeyValueStore.go.snap b/service/cloudfront/snapshot/api_op_DescribeKeyValueStore.go.snap index 41ea5830419..36a7c638870 100644 --- a/service/cloudfront/snapshot/api_op_DescribeKeyValueStore.go.snap +++ b/service/cloudfront/snapshot/api_op_DescribeKeyValueStore.go.snap @@ -14,7 +14,6 @@ DescribeKeyValueStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_GetAnycastIpList.go.snap b/service/cloudfront/snapshot/api_op_GetAnycastIpList.go.snap index 0b86dddef24..ba992027755 100644 --- a/service/cloudfront/snapshot/api_op_GetAnycastIpList.go.snap +++ b/service/cloudfront/snapshot/api_op_GetAnycastIpList.go.snap @@ -14,7 +14,6 @@ GetAnycastIpList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_GetCachePolicy.go.snap b/service/cloudfront/snapshot/api_op_GetCachePolicy.go.snap index 82f2103d621..a966f6a1753 100644 --- a/service/cloudfront/snapshot/api_op_GetCachePolicy.go.snap +++ b/service/cloudfront/snapshot/api_op_GetCachePolicy.go.snap @@ -14,7 +14,6 @@ GetCachePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_GetCachePolicyConfig.go.snap b/service/cloudfront/snapshot/api_op_GetCachePolicyConfig.go.snap index 104412df243..c3d4a421889 100644 --- a/service/cloudfront/snapshot/api_op_GetCachePolicyConfig.go.snap +++ b/service/cloudfront/snapshot/api_op_GetCachePolicyConfig.go.snap @@ -14,7 +14,6 @@ GetCachePolicyConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_GetCloudFrontOriginAccessIdentity.go.snap b/service/cloudfront/snapshot/api_op_GetCloudFrontOriginAccessIdentity.go.snap index f2fa9e19bd6..5574a81bbbd 100644 --- a/service/cloudfront/snapshot/api_op_GetCloudFrontOriginAccessIdentity.go.snap +++ b/service/cloudfront/snapshot/api_op_GetCloudFrontOriginAccessIdentity.go.snap @@ -14,7 +14,6 @@ GetCloudFrontOriginAccessIdentity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_GetCloudFrontOriginAccessIdentityConfig.go.snap b/service/cloudfront/snapshot/api_op_GetCloudFrontOriginAccessIdentityConfig.go.snap index ce0a7179e85..b059b1a6ed0 100644 --- a/service/cloudfront/snapshot/api_op_GetCloudFrontOriginAccessIdentityConfig.go.snap +++ b/service/cloudfront/snapshot/api_op_GetCloudFrontOriginAccessIdentityConfig.go.snap @@ -14,7 +14,6 @@ GetCloudFrontOriginAccessIdentityConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_GetContinuousDeploymentPolicy.go.snap b/service/cloudfront/snapshot/api_op_GetContinuousDeploymentPolicy.go.snap index b5dce749beb..5d3a9193369 100644 --- a/service/cloudfront/snapshot/api_op_GetContinuousDeploymentPolicy.go.snap +++ b/service/cloudfront/snapshot/api_op_GetContinuousDeploymentPolicy.go.snap @@ -14,7 +14,6 @@ GetContinuousDeploymentPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_GetContinuousDeploymentPolicyConfig.go.snap b/service/cloudfront/snapshot/api_op_GetContinuousDeploymentPolicyConfig.go.snap index 7c75a082013..089ae7971c0 100644 --- a/service/cloudfront/snapshot/api_op_GetContinuousDeploymentPolicyConfig.go.snap +++ b/service/cloudfront/snapshot/api_op_GetContinuousDeploymentPolicyConfig.go.snap @@ -14,7 +14,6 @@ GetContinuousDeploymentPolicyConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_GetDistribution.go.snap b/service/cloudfront/snapshot/api_op_GetDistribution.go.snap index 31e3db257e8..5f2d5570325 100644 --- a/service/cloudfront/snapshot/api_op_GetDistribution.go.snap +++ b/service/cloudfront/snapshot/api_op_GetDistribution.go.snap @@ -14,7 +14,6 @@ GetDistribution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_GetDistributionConfig.go.snap b/service/cloudfront/snapshot/api_op_GetDistributionConfig.go.snap index 5179b1539bb..1dd4d8272d3 100644 --- a/service/cloudfront/snapshot/api_op_GetDistributionConfig.go.snap +++ b/service/cloudfront/snapshot/api_op_GetDistributionConfig.go.snap @@ -14,7 +14,6 @@ GetDistributionConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_GetFieldLevelEncryption.go.snap b/service/cloudfront/snapshot/api_op_GetFieldLevelEncryption.go.snap index 4743c1fbf9b..4d29148e3c7 100644 --- a/service/cloudfront/snapshot/api_op_GetFieldLevelEncryption.go.snap +++ b/service/cloudfront/snapshot/api_op_GetFieldLevelEncryption.go.snap @@ -14,7 +14,6 @@ GetFieldLevelEncryption Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_GetFieldLevelEncryptionConfig.go.snap b/service/cloudfront/snapshot/api_op_GetFieldLevelEncryptionConfig.go.snap index 918978db2b9..021acf1b7cf 100644 --- a/service/cloudfront/snapshot/api_op_GetFieldLevelEncryptionConfig.go.snap +++ b/service/cloudfront/snapshot/api_op_GetFieldLevelEncryptionConfig.go.snap @@ -14,7 +14,6 @@ GetFieldLevelEncryptionConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_GetFieldLevelEncryptionProfile.go.snap b/service/cloudfront/snapshot/api_op_GetFieldLevelEncryptionProfile.go.snap index d5d2f1cc069..18aca39209e 100644 --- a/service/cloudfront/snapshot/api_op_GetFieldLevelEncryptionProfile.go.snap +++ b/service/cloudfront/snapshot/api_op_GetFieldLevelEncryptionProfile.go.snap @@ -14,7 +14,6 @@ GetFieldLevelEncryptionProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_GetFieldLevelEncryptionProfileConfig.go.snap b/service/cloudfront/snapshot/api_op_GetFieldLevelEncryptionProfileConfig.go.snap index afb22513de0..26b11e11900 100644 --- a/service/cloudfront/snapshot/api_op_GetFieldLevelEncryptionProfileConfig.go.snap +++ b/service/cloudfront/snapshot/api_op_GetFieldLevelEncryptionProfileConfig.go.snap @@ -14,7 +14,6 @@ GetFieldLevelEncryptionProfileConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_GetFunction.go.snap b/service/cloudfront/snapshot/api_op_GetFunction.go.snap index be354927f8e..9022f391f26 100644 --- a/service/cloudfront/snapshot/api_op_GetFunction.go.snap +++ b/service/cloudfront/snapshot/api_op_GetFunction.go.snap @@ -14,7 +14,6 @@ GetFunction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_GetInvalidation.go.snap b/service/cloudfront/snapshot/api_op_GetInvalidation.go.snap index c846c7a8c44..6471192b118 100644 --- a/service/cloudfront/snapshot/api_op_GetInvalidation.go.snap +++ b/service/cloudfront/snapshot/api_op_GetInvalidation.go.snap @@ -14,7 +14,6 @@ GetInvalidation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_GetKeyGroup.go.snap b/service/cloudfront/snapshot/api_op_GetKeyGroup.go.snap index 44e4fec1330..bc1f9d48a22 100644 --- a/service/cloudfront/snapshot/api_op_GetKeyGroup.go.snap +++ b/service/cloudfront/snapshot/api_op_GetKeyGroup.go.snap @@ -14,7 +14,6 @@ GetKeyGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_GetKeyGroupConfig.go.snap b/service/cloudfront/snapshot/api_op_GetKeyGroupConfig.go.snap index e3b8021c339..9a987648678 100644 --- a/service/cloudfront/snapshot/api_op_GetKeyGroupConfig.go.snap +++ b/service/cloudfront/snapshot/api_op_GetKeyGroupConfig.go.snap @@ -14,7 +14,6 @@ GetKeyGroupConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_GetMonitoringSubscription.go.snap b/service/cloudfront/snapshot/api_op_GetMonitoringSubscription.go.snap index 67adc784247..741d304f5b8 100644 --- a/service/cloudfront/snapshot/api_op_GetMonitoringSubscription.go.snap +++ b/service/cloudfront/snapshot/api_op_GetMonitoringSubscription.go.snap @@ -14,7 +14,6 @@ GetMonitoringSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_GetOriginAccessControl.go.snap b/service/cloudfront/snapshot/api_op_GetOriginAccessControl.go.snap index 4ea06a9bad4..7bd3bd94f1b 100644 --- a/service/cloudfront/snapshot/api_op_GetOriginAccessControl.go.snap +++ b/service/cloudfront/snapshot/api_op_GetOriginAccessControl.go.snap @@ -14,7 +14,6 @@ GetOriginAccessControl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_GetOriginAccessControlConfig.go.snap b/service/cloudfront/snapshot/api_op_GetOriginAccessControlConfig.go.snap index afe667cce42..54ed8eb6f6c 100644 --- a/service/cloudfront/snapshot/api_op_GetOriginAccessControlConfig.go.snap +++ b/service/cloudfront/snapshot/api_op_GetOriginAccessControlConfig.go.snap @@ -14,7 +14,6 @@ GetOriginAccessControlConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_GetOriginRequestPolicy.go.snap b/service/cloudfront/snapshot/api_op_GetOriginRequestPolicy.go.snap index a6a3d2aa021..812df0f2d61 100644 --- a/service/cloudfront/snapshot/api_op_GetOriginRequestPolicy.go.snap +++ b/service/cloudfront/snapshot/api_op_GetOriginRequestPolicy.go.snap @@ -14,7 +14,6 @@ GetOriginRequestPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_GetOriginRequestPolicyConfig.go.snap b/service/cloudfront/snapshot/api_op_GetOriginRequestPolicyConfig.go.snap index 9fcad594919..d0643746550 100644 --- a/service/cloudfront/snapshot/api_op_GetOriginRequestPolicyConfig.go.snap +++ b/service/cloudfront/snapshot/api_op_GetOriginRequestPolicyConfig.go.snap @@ -14,7 +14,6 @@ GetOriginRequestPolicyConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_GetPublicKey.go.snap b/service/cloudfront/snapshot/api_op_GetPublicKey.go.snap index b04f259cb83..150b1f6ebe9 100644 --- a/service/cloudfront/snapshot/api_op_GetPublicKey.go.snap +++ b/service/cloudfront/snapshot/api_op_GetPublicKey.go.snap @@ -14,7 +14,6 @@ GetPublicKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_GetPublicKeyConfig.go.snap b/service/cloudfront/snapshot/api_op_GetPublicKeyConfig.go.snap index 8926b9cb1f5..d75a83eb424 100644 --- a/service/cloudfront/snapshot/api_op_GetPublicKeyConfig.go.snap +++ b/service/cloudfront/snapshot/api_op_GetPublicKeyConfig.go.snap @@ -14,7 +14,6 @@ GetPublicKeyConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_GetRealtimeLogConfig.go.snap b/service/cloudfront/snapshot/api_op_GetRealtimeLogConfig.go.snap index e2d09b062f0..610b9a8d77e 100644 --- a/service/cloudfront/snapshot/api_op_GetRealtimeLogConfig.go.snap +++ b/service/cloudfront/snapshot/api_op_GetRealtimeLogConfig.go.snap @@ -13,7 +13,6 @@ GetRealtimeLogConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_GetResponseHeadersPolicy.go.snap b/service/cloudfront/snapshot/api_op_GetResponseHeadersPolicy.go.snap index 0979be0c764..139a0d02fa4 100644 --- a/service/cloudfront/snapshot/api_op_GetResponseHeadersPolicy.go.snap +++ b/service/cloudfront/snapshot/api_op_GetResponseHeadersPolicy.go.snap @@ -14,7 +14,6 @@ GetResponseHeadersPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_GetResponseHeadersPolicyConfig.go.snap b/service/cloudfront/snapshot/api_op_GetResponseHeadersPolicyConfig.go.snap index f0eeefd836c..37324bc9560 100644 --- a/service/cloudfront/snapshot/api_op_GetResponseHeadersPolicyConfig.go.snap +++ b/service/cloudfront/snapshot/api_op_GetResponseHeadersPolicyConfig.go.snap @@ -14,7 +14,6 @@ GetResponseHeadersPolicyConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_GetStreamingDistribution.go.snap b/service/cloudfront/snapshot/api_op_GetStreamingDistribution.go.snap index 11f58b23294..37a1de32417 100644 --- a/service/cloudfront/snapshot/api_op_GetStreamingDistribution.go.snap +++ b/service/cloudfront/snapshot/api_op_GetStreamingDistribution.go.snap @@ -14,7 +14,6 @@ GetStreamingDistribution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_GetStreamingDistributionConfig.go.snap b/service/cloudfront/snapshot/api_op_GetStreamingDistributionConfig.go.snap index 4bc9510822b..4651d8003f6 100644 --- a/service/cloudfront/snapshot/api_op_GetStreamingDistributionConfig.go.snap +++ b/service/cloudfront/snapshot/api_op_GetStreamingDistributionConfig.go.snap @@ -14,7 +14,6 @@ GetStreamingDistributionConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_GetVpcOrigin.go.snap b/service/cloudfront/snapshot/api_op_GetVpcOrigin.go.snap index 7f2f8962a61..898a855be99 100644 --- a/service/cloudfront/snapshot/api_op_GetVpcOrigin.go.snap +++ b/service/cloudfront/snapshot/api_op_GetVpcOrigin.go.snap @@ -14,7 +14,6 @@ GetVpcOrigin Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_ListAnycastIpLists.go.snap b/service/cloudfront/snapshot/api_op_ListAnycastIpLists.go.snap index 29b39c856d3..c02c4384523 100644 --- a/service/cloudfront/snapshot/api_op_ListAnycastIpLists.go.snap +++ b/service/cloudfront/snapshot/api_op_ListAnycastIpLists.go.snap @@ -13,7 +13,6 @@ ListAnycastIpLists Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_ListCachePolicies.go.snap b/service/cloudfront/snapshot/api_op_ListCachePolicies.go.snap index fd339c688df..b5eeb0ab748 100644 --- a/service/cloudfront/snapshot/api_op_ListCachePolicies.go.snap +++ b/service/cloudfront/snapshot/api_op_ListCachePolicies.go.snap @@ -13,7 +13,6 @@ ListCachePolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_ListCloudFrontOriginAccessIdentities.go.snap b/service/cloudfront/snapshot/api_op_ListCloudFrontOriginAccessIdentities.go.snap index d0641477245..085daa6f408 100644 --- a/service/cloudfront/snapshot/api_op_ListCloudFrontOriginAccessIdentities.go.snap +++ b/service/cloudfront/snapshot/api_op_ListCloudFrontOriginAccessIdentities.go.snap @@ -13,7 +13,6 @@ ListCloudFrontOriginAccessIdentities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_ListConflictingAliases.go.snap b/service/cloudfront/snapshot/api_op_ListConflictingAliases.go.snap index 7ab57472da5..990df86a74a 100644 --- a/service/cloudfront/snapshot/api_op_ListConflictingAliases.go.snap +++ b/service/cloudfront/snapshot/api_op_ListConflictingAliases.go.snap @@ -14,7 +14,6 @@ ListConflictingAliases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_ListContinuousDeploymentPolicies.go.snap b/service/cloudfront/snapshot/api_op_ListContinuousDeploymentPolicies.go.snap index ea83675140f..3631200c576 100644 --- a/service/cloudfront/snapshot/api_op_ListContinuousDeploymentPolicies.go.snap +++ b/service/cloudfront/snapshot/api_op_ListContinuousDeploymentPolicies.go.snap @@ -13,7 +13,6 @@ ListContinuousDeploymentPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_ListDistributions.go.snap b/service/cloudfront/snapshot/api_op_ListDistributions.go.snap index 7b970cf7357..72451514a83 100644 --- a/service/cloudfront/snapshot/api_op_ListDistributions.go.snap +++ b/service/cloudfront/snapshot/api_op_ListDistributions.go.snap @@ -13,7 +13,6 @@ ListDistributions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_ListDistributionsByAnycastIpListId.go.snap b/service/cloudfront/snapshot/api_op_ListDistributionsByAnycastIpListId.go.snap index bb37af6cef8..bc4ac459d02 100644 --- a/service/cloudfront/snapshot/api_op_ListDistributionsByAnycastIpListId.go.snap +++ b/service/cloudfront/snapshot/api_op_ListDistributionsByAnycastIpListId.go.snap @@ -14,7 +14,6 @@ ListDistributionsByAnycastIpListId Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_ListDistributionsByCachePolicyId.go.snap b/service/cloudfront/snapshot/api_op_ListDistributionsByCachePolicyId.go.snap index 238cd82c870..0fdbb25a9fd 100644 --- a/service/cloudfront/snapshot/api_op_ListDistributionsByCachePolicyId.go.snap +++ b/service/cloudfront/snapshot/api_op_ListDistributionsByCachePolicyId.go.snap @@ -14,7 +14,6 @@ ListDistributionsByCachePolicyId Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_ListDistributionsByKeyGroup.go.snap b/service/cloudfront/snapshot/api_op_ListDistributionsByKeyGroup.go.snap index 1a6d84eaf6f..6e1cb54e2f6 100644 --- a/service/cloudfront/snapshot/api_op_ListDistributionsByKeyGroup.go.snap +++ b/service/cloudfront/snapshot/api_op_ListDistributionsByKeyGroup.go.snap @@ -14,7 +14,6 @@ ListDistributionsByKeyGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_ListDistributionsByOriginRequestPolicyId.go.snap b/service/cloudfront/snapshot/api_op_ListDistributionsByOriginRequestPolicyId.go.snap index 094484b1716..9b0ba6b4cad 100644 --- a/service/cloudfront/snapshot/api_op_ListDistributionsByOriginRequestPolicyId.go.snap +++ b/service/cloudfront/snapshot/api_op_ListDistributionsByOriginRequestPolicyId.go.snap @@ -14,7 +14,6 @@ ListDistributionsByOriginRequestPolicyId Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_ListDistributionsByRealtimeLogConfig.go.snap b/service/cloudfront/snapshot/api_op_ListDistributionsByRealtimeLogConfig.go.snap index fe9f443dcc4..686153dd9b7 100644 --- a/service/cloudfront/snapshot/api_op_ListDistributionsByRealtimeLogConfig.go.snap +++ b/service/cloudfront/snapshot/api_op_ListDistributionsByRealtimeLogConfig.go.snap @@ -13,7 +13,6 @@ ListDistributionsByRealtimeLogConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_ListDistributionsByResponseHeadersPolicyId.go.snap b/service/cloudfront/snapshot/api_op_ListDistributionsByResponseHeadersPolicyId.go.snap index 9c559013b84..f4259d68cfb 100644 --- a/service/cloudfront/snapshot/api_op_ListDistributionsByResponseHeadersPolicyId.go.snap +++ b/service/cloudfront/snapshot/api_op_ListDistributionsByResponseHeadersPolicyId.go.snap @@ -14,7 +14,6 @@ ListDistributionsByResponseHeadersPolicyId Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_ListDistributionsByVpcOriginId.go.snap b/service/cloudfront/snapshot/api_op_ListDistributionsByVpcOriginId.go.snap index c720eea19ea..7b0bf30298b 100644 --- a/service/cloudfront/snapshot/api_op_ListDistributionsByVpcOriginId.go.snap +++ b/service/cloudfront/snapshot/api_op_ListDistributionsByVpcOriginId.go.snap @@ -14,7 +14,6 @@ ListDistributionsByVpcOriginId Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_ListDistributionsByWebACLId.go.snap b/service/cloudfront/snapshot/api_op_ListDistributionsByWebACLId.go.snap index d3d87fc8853..c5a2e2e1175 100644 --- a/service/cloudfront/snapshot/api_op_ListDistributionsByWebACLId.go.snap +++ b/service/cloudfront/snapshot/api_op_ListDistributionsByWebACLId.go.snap @@ -14,7 +14,6 @@ ListDistributionsByWebACLId Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_ListFieldLevelEncryptionConfigs.go.snap b/service/cloudfront/snapshot/api_op_ListFieldLevelEncryptionConfigs.go.snap index ba4ab3253a8..b78a36e9c3d 100644 --- a/service/cloudfront/snapshot/api_op_ListFieldLevelEncryptionConfigs.go.snap +++ b/service/cloudfront/snapshot/api_op_ListFieldLevelEncryptionConfigs.go.snap @@ -13,7 +13,6 @@ ListFieldLevelEncryptionConfigs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_ListFieldLevelEncryptionProfiles.go.snap b/service/cloudfront/snapshot/api_op_ListFieldLevelEncryptionProfiles.go.snap index 5e031536296..e9b8d6e88cb 100644 --- a/service/cloudfront/snapshot/api_op_ListFieldLevelEncryptionProfiles.go.snap +++ b/service/cloudfront/snapshot/api_op_ListFieldLevelEncryptionProfiles.go.snap @@ -13,7 +13,6 @@ ListFieldLevelEncryptionProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_ListFunctions.go.snap b/service/cloudfront/snapshot/api_op_ListFunctions.go.snap index 04c5b32f3e4..c065b2ac7a8 100644 --- a/service/cloudfront/snapshot/api_op_ListFunctions.go.snap +++ b/service/cloudfront/snapshot/api_op_ListFunctions.go.snap @@ -13,7 +13,6 @@ ListFunctions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_ListInvalidations.go.snap b/service/cloudfront/snapshot/api_op_ListInvalidations.go.snap index ad868591920..c03d91cbdaf 100644 --- a/service/cloudfront/snapshot/api_op_ListInvalidations.go.snap +++ b/service/cloudfront/snapshot/api_op_ListInvalidations.go.snap @@ -14,7 +14,6 @@ ListInvalidations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_ListKeyGroups.go.snap b/service/cloudfront/snapshot/api_op_ListKeyGroups.go.snap index 48b8fed2157..d2c89f14c45 100644 --- a/service/cloudfront/snapshot/api_op_ListKeyGroups.go.snap +++ b/service/cloudfront/snapshot/api_op_ListKeyGroups.go.snap @@ -13,7 +13,6 @@ ListKeyGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_ListKeyValueStores.go.snap b/service/cloudfront/snapshot/api_op_ListKeyValueStores.go.snap index d189e954dc3..c3f7aed59ab 100644 --- a/service/cloudfront/snapshot/api_op_ListKeyValueStores.go.snap +++ b/service/cloudfront/snapshot/api_op_ListKeyValueStores.go.snap @@ -13,7 +13,6 @@ ListKeyValueStores Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_ListOriginAccessControls.go.snap b/service/cloudfront/snapshot/api_op_ListOriginAccessControls.go.snap index 77bfe09d6c7..2a6f3e022c4 100644 --- a/service/cloudfront/snapshot/api_op_ListOriginAccessControls.go.snap +++ b/service/cloudfront/snapshot/api_op_ListOriginAccessControls.go.snap @@ -13,7 +13,6 @@ ListOriginAccessControls Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_ListOriginRequestPolicies.go.snap b/service/cloudfront/snapshot/api_op_ListOriginRequestPolicies.go.snap index cf031702d5d..3696241cc03 100644 --- a/service/cloudfront/snapshot/api_op_ListOriginRequestPolicies.go.snap +++ b/service/cloudfront/snapshot/api_op_ListOriginRequestPolicies.go.snap @@ -13,7 +13,6 @@ ListOriginRequestPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_ListPublicKeys.go.snap b/service/cloudfront/snapshot/api_op_ListPublicKeys.go.snap index 63f50b7ceee..92498507334 100644 --- a/service/cloudfront/snapshot/api_op_ListPublicKeys.go.snap +++ b/service/cloudfront/snapshot/api_op_ListPublicKeys.go.snap @@ -13,7 +13,6 @@ ListPublicKeys Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_ListRealtimeLogConfigs.go.snap b/service/cloudfront/snapshot/api_op_ListRealtimeLogConfigs.go.snap index 9af3e95e5fe..d3473ec6dbe 100644 --- a/service/cloudfront/snapshot/api_op_ListRealtimeLogConfigs.go.snap +++ b/service/cloudfront/snapshot/api_op_ListRealtimeLogConfigs.go.snap @@ -13,7 +13,6 @@ ListRealtimeLogConfigs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_ListResponseHeadersPolicies.go.snap b/service/cloudfront/snapshot/api_op_ListResponseHeadersPolicies.go.snap index 5b11922c9f8..ba023e67866 100644 --- a/service/cloudfront/snapshot/api_op_ListResponseHeadersPolicies.go.snap +++ b/service/cloudfront/snapshot/api_op_ListResponseHeadersPolicies.go.snap @@ -13,7 +13,6 @@ ListResponseHeadersPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_ListStreamingDistributions.go.snap b/service/cloudfront/snapshot/api_op_ListStreamingDistributions.go.snap index 433c40636f2..e6ebe8e983d 100644 --- a/service/cloudfront/snapshot/api_op_ListStreamingDistributions.go.snap +++ b/service/cloudfront/snapshot/api_op_ListStreamingDistributions.go.snap @@ -13,7 +13,6 @@ ListStreamingDistributions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_ListTagsForResource.go.snap b/service/cloudfront/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/cloudfront/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/cloudfront/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_ListVpcOrigins.go.snap b/service/cloudfront/snapshot/api_op_ListVpcOrigins.go.snap index 802abd14a8c..0b5a8d897d3 100644 --- a/service/cloudfront/snapshot/api_op_ListVpcOrigins.go.snap +++ b/service/cloudfront/snapshot/api_op_ListVpcOrigins.go.snap @@ -13,7 +13,6 @@ ListVpcOrigins Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_PublishFunction.go.snap b/service/cloudfront/snapshot/api_op_PublishFunction.go.snap index 7f2a0dbdc6e..eb5b196570a 100644 --- a/service/cloudfront/snapshot/api_op_PublishFunction.go.snap +++ b/service/cloudfront/snapshot/api_op_PublishFunction.go.snap @@ -14,7 +14,6 @@ PublishFunction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_TagResource.go.snap b/service/cloudfront/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/cloudfront/snapshot/api_op_TagResource.go.snap +++ b/service/cloudfront/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_TestFunction.go.snap b/service/cloudfront/snapshot/api_op_TestFunction.go.snap index f40a7d991e9..755ee16fb33 100644 --- a/service/cloudfront/snapshot/api_op_TestFunction.go.snap +++ b/service/cloudfront/snapshot/api_op_TestFunction.go.snap @@ -14,7 +14,6 @@ TestFunction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_UntagResource.go.snap b/service/cloudfront/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/cloudfront/snapshot/api_op_UntagResource.go.snap +++ b/service/cloudfront/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_UpdateCachePolicy.go.snap b/service/cloudfront/snapshot/api_op_UpdateCachePolicy.go.snap index 60f71fec828..062cae966d5 100644 --- a/service/cloudfront/snapshot/api_op_UpdateCachePolicy.go.snap +++ b/service/cloudfront/snapshot/api_op_UpdateCachePolicy.go.snap @@ -14,7 +14,6 @@ UpdateCachePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_UpdateCloudFrontOriginAccessIdentity.go.snap b/service/cloudfront/snapshot/api_op_UpdateCloudFrontOriginAccessIdentity.go.snap index 8b03800fbaa..ab690bbe811 100644 --- a/service/cloudfront/snapshot/api_op_UpdateCloudFrontOriginAccessIdentity.go.snap +++ b/service/cloudfront/snapshot/api_op_UpdateCloudFrontOriginAccessIdentity.go.snap @@ -14,7 +14,6 @@ UpdateCloudFrontOriginAccessIdentity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_UpdateContinuousDeploymentPolicy.go.snap b/service/cloudfront/snapshot/api_op_UpdateContinuousDeploymentPolicy.go.snap index 9cfb4d86b3b..c91a9f455a9 100644 --- a/service/cloudfront/snapshot/api_op_UpdateContinuousDeploymentPolicy.go.snap +++ b/service/cloudfront/snapshot/api_op_UpdateContinuousDeploymentPolicy.go.snap @@ -14,7 +14,6 @@ UpdateContinuousDeploymentPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_UpdateDistribution.go.snap b/service/cloudfront/snapshot/api_op_UpdateDistribution.go.snap index af0699f840a..438da81f160 100644 --- a/service/cloudfront/snapshot/api_op_UpdateDistribution.go.snap +++ b/service/cloudfront/snapshot/api_op_UpdateDistribution.go.snap @@ -14,7 +14,6 @@ UpdateDistribution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_UpdateDistributionWithStagingConfig.go.snap b/service/cloudfront/snapshot/api_op_UpdateDistributionWithStagingConfig.go.snap index c3063b558eb..617f63eb46a 100644 --- a/service/cloudfront/snapshot/api_op_UpdateDistributionWithStagingConfig.go.snap +++ b/service/cloudfront/snapshot/api_op_UpdateDistributionWithStagingConfig.go.snap @@ -14,7 +14,6 @@ UpdateDistributionWithStagingConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_UpdateFieldLevelEncryptionConfig.go.snap b/service/cloudfront/snapshot/api_op_UpdateFieldLevelEncryptionConfig.go.snap index 005f553e50f..946bb095306 100644 --- a/service/cloudfront/snapshot/api_op_UpdateFieldLevelEncryptionConfig.go.snap +++ b/service/cloudfront/snapshot/api_op_UpdateFieldLevelEncryptionConfig.go.snap @@ -14,7 +14,6 @@ UpdateFieldLevelEncryptionConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_UpdateFieldLevelEncryptionProfile.go.snap b/service/cloudfront/snapshot/api_op_UpdateFieldLevelEncryptionProfile.go.snap index beeb5c89890..cc233d1df99 100644 --- a/service/cloudfront/snapshot/api_op_UpdateFieldLevelEncryptionProfile.go.snap +++ b/service/cloudfront/snapshot/api_op_UpdateFieldLevelEncryptionProfile.go.snap @@ -14,7 +14,6 @@ UpdateFieldLevelEncryptionProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_UpdateFunction.go.snap b/service/cloudfront/snapshot/api_op_UpdateFunction.go.snap index 0551c182c35..f4edf2f5283 100644 --- a/service/cloudfront/snapshot/api_op_UpdateFunction.go.snap +++ b/service/cloudfront/snapshot/api_op_UpdateFunction.go.snap @@ -14,7 +14,6 @@ UpdateFunction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_UpdateKeyGroup.go.snap b/service/cloudfront/snapshot/api_op_UpdateKeyGroup.go.snap index 16e0a0393b7..6ec2502cf19 100644 --- a/service/cloudfront/snapshot/api_op_UpdateKeyGroup.go.snap +++ b/service/cloudfront/snapshot/api_op_UpdateKeyGroup.go.snap @@ -14,7 +14,6 @@ UpdateKeyGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_UpdateKeyValueStore.go.snap b/service/cloudfront/snapshot/api_op_UpdateKeyValueStore.go.snap index 44f0c6c13c8..3c03eeb8549 100644 --- a/service/cloudfront/snapshot/api_op_UpdateKeyValueStore.go.snap +++ b/service/cloudfront/snapshot/api_op_UpdateKeyValueStore.go.snap @@ -14,7 +14,6 @@ UpdateKeyValueStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_UpdateOriginAccessControl.go.snap b/service/cloudfront/snapshot/api_op_UpdateOriginAccessControl.go.snap index 6ee45647b74..7444226a978 100644 --- a/service/cloudfront/snapshot/api_op_UpdateOriginAccessControl.go.snap +++ b/service/cloudfront/snapshot/api_op_UpdateOriginAccessControl.go.snap @@ -14,7 +14,6 @@ UpdateOriginAccessControl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_UpdateOriginRequestPolicy.go.snap b/service/cloudfront/snapshot/api_op_UpdateOriginRequestPolicy.go.snap index 44c0c38e2dd..9a2465ca8f8 100644 --- a/service/cloudfront/snapshot/api_op_UpdateOriginRequestPolicy.go.snap +++ b/service/cloudfront/snapshot/api_op_UpdateOriginRequestPolicy.go.snap @@ -14,7 +14,6 @@ UpdateOriginRequestPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_UpdatePublicKey.go.snap b/service/cloudfront/snapshot/api_op_UpdatePublicKey.go.snap index 81dd73085e9..96283bf76ed 100644 --- a/service/cloudfront/snapshot/api_op_UpdatePublicKey.go.snap +++ b/service/cloudfront/snapshot/api_op_UpdatePublicKey.go.snap @@ -14,7 +14,6 @@ UpdatePublicKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_UpdateRealtimeLogConfig.go.snap b/service/cloudfront/snapshot/api_op_UpdateRealtimeLogConfig.go.snap index 1030415120f..d901ec9ae6b 100644 --- a/service/cloudfront/snapshot/api_op_UpdateRealtimeLogConfig.go.snap +++ b/service/cloudfront/snapshot/api_op_UpdateRealtimeLogConfig.go.snap @@ -14,7 +14,6 @@ UpdateRealtimeLogConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_UpdateResponseHeadersPolicy.go.snap b/service/cloudfront/snapshot/api_op_UpdateResponseHeadersPolicy.go.snap index 65d169abc0b..e0c673a4945 100644 --- a/service/cloudfront/snapshot/api_op_UpdateResponseHeadersPolicy.go.snap +++ b/service/cloudfront/snapshot/api_op_UpdateResponseHeadersPolicy.go.snap @@ -14,7 +14,6 @@ UpdateResponseHeadersPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_UpdateStreamingDistribution.go.snap b/service/cloudfront/snapshot/api_op_UpdateStreamingDistribution.go.snap index b13625d94e6..bfaf9516da7 100644 --- a/service/cloudfront/snapshot/api_op_UpdateStreamingDistribution.go.snap +++ b/service/cloudfront/snapshot/api_op_UpdateStreamingDistribution.go.snap @@ -14,7 +14,6 @@ UpdateStreamingDistribution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfront/snapshot/api_op_UpdateVpcOrigin.go.snap b/service/cloudfront/snapshot/api_op_UpdateVpcOrigin.go.snap index e0c2f2ffac6..ff6f5f9e732 100644 --- a/service/cloudfront/snapshot/api_op_UpdateVpcOrigin.go.snap +++ b/service/cloudfront/snapshot/api_op_UpdateVpcOrigin.go.snap @@ -14,7 +14,6 @@ UpdateVpcOrigin Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfrontkeyvaluestore/api_client.go b/service/cloudfrontkeyvaluestore/api_client.go index 710131d115b..7c496216755 100644 --- a/service/cloudfrontkeyvaluestore/api_client.go +++ b/service/cloudfrontkeyvaluestore/api_client.go @@ -790,37 +790,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/cloudfrontkeyvaluestore/api_op_DeleteKey.go b/service/cloudfrontkeyvaluestore/api_op_DeleteKey.go index ce2b1601c77..872fda13668 100644 --- a/service/cloudfrontkeyvaluestore/api_op_DeleteKey.go +++ b/service/cloudfrontkeyvaluestore/api_op_DeleteKey.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDeleteKeyMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfrontkeyvaluestore/api_op_DescribeKeyValueStore.go b/service/cloudfrontkeyvaluestore/api_op_DescribeKeyValueStore.go index 6cb32eed332..a7de950074e 100644 --- a/service/cloudfrontkeyvaluestore/api_op_DescribeKeyValueStore.go +++ b/service/cloudfrontkeyvaluestore/api_op_DescribeKeyValueStore.go @@ -150,9 +150,6 @@ func (c *Client) addOperationDescribeKeyValueStoreMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeKeyValueStoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfrontkeyvaluestore/api_op_GetKey.go b/service/cloudfrontkeyvaluestore/api_op_GetKey.go index d0f01daf3d2..03b014969d5 100644 --- a/service/cloudfrontkeyvaluestore/api_op_GetKey.go +++ b/service/cloudfrontkeyvaluestore/api_op_GetKey.go @@ -140,9 +140,6 @@ func (c *Client) addOperationGetKeyMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfrontkeyvaluestore/api_op_ListKeys.go b/service/cloudfrontkeyvaluestore/api_op_ListKeys.go index ae4a2e7bf31..b071d65ab24 100644 --- a/service/cloudfrontkeyvaluestore/api_op_ListKeys.go +++ b/service/cloudfrontkeyvaluestore/api_op_ListKeys.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListKeysMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListKeysValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfrontkeyvaluestore/api_op_PutKey.go b/service/cloudfrontkeyvaluestore/api_op_PutKey.go index 7b18fc534db..96611b1f436 100644 --- a/service/cloudfrontkeyvaluestore/api_op_PutKey.go +++ b/service/cloudfrontkeyvaluestore/api_op_PutKey.go @@ -147,9 +147,6 @@ func (c *Client) addOperationPutKeyMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfrontkeyvaluestore/api_op_UpdateKeys.go b/service/cloudfrontkeyvaluestore/api_op_UpdateKeys.go index ba93de457d4..4df42e94eb4 100644 --- a/service/cloudfrontkeyvaluestore/api_op_UpdateKeys.go +++ b/service/cloudfrontkeyvaluestore/api_op_UpdateKeys.go @@ -144,9 +144,6 @@ func (c *Client) addOperationUpdateKeysMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateKeysValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudfrontkeyvaluestore/snapshot/api_op_DeleteKey.go.snap b/service/cloudfrontkeyvaluestore/snapshot/api_op_DeleteKey.go.snap index af47ac6b77f..02530e367a8 100644 --- a/service/cloudfrontkeyvaluestore/snapshot/api_op_DeleteKey.go.snap +++ b/service/cloudfrontkeyvaluestore/snapshot/api_op_DeleteKey.go.snap @@ -14,7 +14,6 @@ DeleteKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfrontkeyvaluestore/snapshot/api_op_DescribeKeyValueStore.go.snap b/service/cloudfrontkeyvaluestore/snapshot/api_op_DescribeKeyValueStore.go.snap index 41ea5830419..36a7c638870 100644 --- a/service/cloudfrontkeyvaluestore/snapshot/api_op_DescribeKeyValueStore.go.snap +++ b/service/cloudfrontkeyvaluestore/snapshot/api_op_DescribeKeyValueStore.go.snap @@ -14,7 +14,6 @@ DescribeKeyValueStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfrontkeyvaluestore/snapshot/api_op_GetKey.go.snap b/service/cloudfrontkeyvaluestore/snapshot/api_op_GetKey.go.snap index 3103b154404..990c03c7c0c 100644 --- a/service/cloudfrontkeyvaluestore/snapshot/api_op_GetKey.go.snap +++ b/service/cloudfrontkeyvaluestore/snapshot/api_op_GetKey.go.snap @@ -14,7 +14,6 @@ GetKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfrontkeyvaluestore/snapshot/api_op_ListKeys.go.snap b/service/cloudfrontkeyvaluestore/snapshot/api_op_ListKeys.go.snap index c6f743a1d1a..317e299594c 100644 --- a/service/cloudfrontkeyvaluestore/snapshot/api_op_ListKeys.go.snap +++ b/service/cloudfrontkeyvaluestore/snapshot/api_op_ListKeys.go.snap @@ -14,7 +14,6 @@ ListKeys Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfrontkeyvaluestore/snapshot/api_op_PutKey.go.snap b/service/cloudfrontkeyvaluestore/snapshot/api_op_PutKey.go.snap index 724f4a826c4..b36b16584a4 100644 --- a/service/cloudfrontkeyvaluestore/snapshot/api_op_PutKey.go.snap +++ b/service/cloudfrontkeyvaluestore/snapshot/api_op_PutKey.go.snap @@ -14,7 +14,6 @@ PutKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudfrontkeyvaluestore/snapshot/api_op_UpdateKeys.go.snap b/service/cloudfrontkeyvaluestore/snapshot/api_op_UpdateKeys.go.snap index 115b3c202bd..9b4feda226c 100644 --- a/service/cloudfrontkeyvaluestore/snapshot/api_op_UpdateKeys.go.snap +++ b/service/cloudfrontkeyvaluestore/snapshot/api_op_UpdateKeys.go.snap @@ -14,7 +14,6 @@ UpdateKeys Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsm/api_client.go b/service/cloudhsm/api_client.go index e20fa6d5dc9..bcf7c692e9d 100644 --- a/service/cloudhsm/api_client.go +++ b/service/cloudhsm/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/cloudhsm/api_op_AddTagsToResource.go b/service/cloudhsm/api_op_AddTagsToResource.go index 477f8f63663..22916d5145d 100644 --- a/service/cloudhsm/api_op_AddTagsToResource.go +++ b/service/cloudhsm/api_op_AddTagsToResource.go @@ -136,9 +136,6 @@ func (c *Client) addOperationAddTagsToResourceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddTagsToResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/api_op_CreateHapg.go b/service/cloudhsm/api_op_CreateHapg.go index 88b0395c29b..3b78296f65d 100644 --- a/service/cloudhsm/api_op_CreateHapg.go +++ b/service/cloudhsm/api_op_CreateHapg.go @@ -128,9 +128,6 @@ func (c *Client) addOperationCreateHapgMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateHapgValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/api_op_CreateHsm.go b/service/cloudhsm/api_op_CreateHsm.go index a4ac2a3f268..8c6d7ca9564 100644 --- a/service/cloudhsm/api_op_CreateHsm.go +++ b/service/cloudhsm/api_op_CreateHsm.go @@ -175,9 +175,6 @@ func (c *Client) addOperationCreateHsmMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateHsmValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/api_op_CreateLunaClient.go b/service/cloudhsm/api_op_CreateLunaClient.go index 00e571a6597..c6833f344df 100644 --- a/service/cloudhsm/api_op_CreateLunaClient.go +++ b/service/cloudhsm/api_op_CreateLunaClient.go @@ -131,9 +131,6 @@ func (c *Client) addOperationCreateLunaClientMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLunaClientValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/api_op_DeleteHapg.go b/service/cloudhsm/api_op_DeleteHapg.go index 02528fa0513..58190aa7433 100644 --- a/service/cloudhsm/api_op_DeleteHapg.go +++ b/service/cloudhsm/api_op_DeleteHapg.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDeleteHapgMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteHapgValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/api_op_DeleteHsm.go b/service/cloudhsm/api_op_DeleteHsm.go index af540ec9de7..ea9fe0b11e6 100644 --- a/service/cloudhsm/api_op_DeleteHsm.go +++ b/service/cloudhsm/api_op_DeleteHsm.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDeleteHsmMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteHsmValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/api_op_DeleteLunaClient.go b/service/cloudhsm/api_op_DeleteLunaClient.go index 198256ad2a2..9c6093b9bc1 100644 --- a/service/cloudhsm/api_op_DeleteLunaClient.go +++ b/service/cloudhsm/api_op_DeleteLunaClient.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDeleteLunaClientMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLunaClientValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/api_op_DescribeHapg.go b/service/cloudhsm/api_op_DescribeHapg.go index 69e42c01953..25b99463862 100644 --- a/service/cloudhsm/api_op_DescribeHapg.go +++ b/service/cloudhsm/api_op_DescribeHapg.go @@ -153,9 +153,6 @@ func (c *Client) addOperationDescribeHapgMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeHapgValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/api_op_DescribeHsm.go b/service/cloudhsm/api_op_DescribeHsm.go index c910b5e7f6f..f6c0fdfcb2d 100644 --- a/service/cloudhsm/api_op_DescribeHsm.go +++ b/service/cloudhsm/api_op_DescribeHsm.go @@ -196,9 +196,6 @@ func (c *Client) addOperationDescribeHsmMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeHsm(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudhsm/api_op_DescribeLunaClient.go b/service/cloudhsm/api_op_DescribeLunaClient.go index 55f18487956..7161bf6bb75 100644 --- a/service/cloudhsm/api_op_DescribeLunaClient.go +++ b/service/cloudhsm/api_op_DescribeLunaClient.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDescribeLunaClientMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLunaClient(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudhsm/api_op_GetConfig.go b/service/cloudhsm/api_op_GetConfig.go index 9d02f89c1e8..8b82727dfb1 100644 --- a/service/cloudhsm/api_op_GetConfig.go +++ b/service/cloudhsm/api_op_GetConfig.go @@ -144,9 +144,6 @@ func (c *Client) addOperationGetConfigMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/api_op_ListAvailableZones.go b/service/cloudhsm/api_op_ListAvailableZones.go index b32fa74aef4..ab0212869b0 100644 --- a/service/cloudhsm/api_op_ListAvailableZones.go +++ b/service/cloudhsm/api_op_ListAvailableZones.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListAvailableZonesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAvailableZones(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudhsm/api_op_ListHapgs.go b/service/cloudhsm/api_op_ListHapgs.go index 1b0b1aaff29..e5296e4f9f6 100644 --- a/service/cloudhsm/api_op_ListHapgs.go +++ b/service/cloudhsm/api_op_ListHapgs.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListHapgsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHapgs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudhsm/api_op_ListHsms.go b/service/cloudhsm/api_op_ListHsms.go index 603275a0a6e..a863ccf8044 100644 --- a/service/cloudhsm/api_op_ListHsms.go +++ b/service/cloudhsm/api_op_ListHsms.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListHsmsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHsms(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudhsm/api_op_ListLunaClients.go b/service/cloudhsm/api_op_ListLunaClients.go index a57ccf8a2ab..eaf6ca305ce 100644 --- a/service/cloudhsm/api_op_ListLunaClients.go +++ b/service/cloudhsm/api_op_ListLunaClients.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListLunaClientsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLunaClients(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudhsm/api_op_ListTagsForResource.go b/service/cloudhsm/api_op_ListTagsForResource.go index 62eacf438c3..5e09143d828 100644 --- a/service/cloudhsm/api_op_ListTagsForResource.go +++ b/service/cloudhsm/api_op_ListTagsForResource.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/api_op_ModifyHapg.go b/service/cloudhsm/api_op_ModifyHapg.go index 4410bba234d..fedcee4a0c0 100644 --- a/service/cloudhsm/api_op_ModifyHapg.go +++ b/service/cloudhsm/api_op_ModifyHapg.go @@ -132,9 +132,6 @@ func (c *Client) addOperationModifyHapgMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyHapgValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/api_op_ModifyHsm.go b/service/cloudhsm/api_op_ModifyHsm.go index 423793787a0..002579891f1 100644 --- a/service/cloudhsm/api_op_ModifyHsm.go +++ b/service/cloudhsm/api_op_ModifyHsm.go @@ -152,9 +152,6 @@ func (c *Client) addOperationModifyHsmMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyHsmValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/api_op_ModifyLunaClient.go b/service/cloudhsm/api_op_ModifyLunaClient.go index 5672fb1a6d2..d8c146179ce 100644 --- a/service/cloudhsm/api_op_ModifyLunaClient.go +++ b/service/cloudhsm/api_op_ModifyLunaClient.go @@ -133,9 +133,6 @@ func (c *Client) addOperationModifyLunaClientMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyLunaClientValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/api_op_RemoveTagsFromResource.go b/service/cloudhsm/api_op_RemoveTagsFromResource.go index 1e7ce0cc24b..fe68336e48d 100644 --- a/service/cloudhsm/api_op_RemoveTagsFromResource.go +++ b/service/cloudhsm/api_op_RemoveTagsFromResource.go @@ -138,9 +138,6 @@ func (c *Client) addOperationRemoveTagsFromResourceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveTagsFromResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsm/snapshot/api_op_AddTagsToResource.go.snap b/service/cloudhsm/snapshot/api_op_AddTagsToResource.go.snap index adf3a58c167..23e3b3e3966 100644 --- a/service/cloudhsm/snapshot/api_op_AddTagsToResource.go.snap +++ b/service/cloudhsm/snapshot/api_op_AddTagsToResource.go.snap @@ -14,7 +14,6 @@ AddTagsToResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsm/snapshot/api_op_CreateHapg.go.snap b/service/cloudhsm/snapshot/api_op_CreateHapg.go.snap index fc04656c127..c53b3fae30a 100644 --- a/service/cloudhsm/snapshot/api_op_CreateHapg.go.snap +++ b/service/cloudhsm/snapshot/api_op_CreateHapg.go.snap @@ -14,7 +14,6 @@ CreateHapg Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsm/snapshot/api_op_CreateHsm.go.snap b/service/cloudhsm/snapshot/api_op_CreateHsm.go.snap index 6d3bfb809b3..ba9bbb73496 100644 --- a/service/cloudhsm/snapshot/api_op_CreateHsm.go.snap +++ b/service/cloudhsm/snapshot/api_op_CreateHsm.go.snap @@ -14,7 +14,6 @@ CreateHsm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsm/snapshot/api_op_CreateLunaClient.go.snap b/service/cloudhsm/snapshot/api_op_CreateLunaClient.go.snap index cf825de3666..7c63e354950 100644 --- a/service/cloudhsm/snapshot/api_op_CreateLunaClient.go.snap +++ b/service/cloudhsm/snapshot/api_op_CreateLunaClient.go.snap @@ -14,7 +14,6 @@ CreateLunaClient Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsm/snapshot/api_op_DeleteHapg.go.snap b/service/cloudhsm/snapshot/api_op_DeleteHapg.go.snap index c4c82b6dde3..916b622e0fd 100644 --- a/service/cloudhsm/snapshot/api_op_DeleteHapg.go.snap +++ b/service/cloudhsm/snapshot/api_op_DeleteHapg.go.snap @@ -14,7 +14,6 @@ DeleteHapg Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsm/snapshot/api_op_DeleteHsm.go.snap b/service/cloudhsm/snapshot/api_op_DeleteHsm.go.snap index 81ebf3384d7..27c1c88b325 100644 --- a/service/cloudhsm/snapshot/api_op_DeleteHsm.go.snap +++ b/service/cloudhsm/snapshot/api_op_DeleteHsm.go.snap @@ -14,7 +14,6 @@ DeleteHsm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsm/snapshot/api_op_DeleteLunaClient.go.snap b/service/cloudhsm/snapshot/api_op_DeleteLunaClient.go.snap index 47ba582da04..583fd585550 100644 --- a/service/cloudhsm/snapshot/api_op_DeleteLunaClient.go.snap +++ b/service/cloudhsm/snapshot/api_op_DeleteLunaClient.go.snap @@ -14,7 +14,6 @@ DeleteLunaClient Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsm/snapshot/api_op_DescribeHapg.go.snap b/service/cloudhsm/snapshot/api_op_DescribeHapg.go.snap index 5e1e1167878..00840543f3a 100644 --- a/service/cloudhsm/snapshot/api_op_DescribeHapg.go.snap +++ b/service/cloudhsm/snapshot/api_op_DescribeHapg.go.snap @@ -14,7 +14,6 @@ DescribeHapg Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsm/snapshot/api_op_DescribeHsm.go.snap b/service/cloudhsm/snapshot/api_op_DescribeHsm.go.snap index f0f2aae96d8..f228a9dacc3 100644 --- a/service/cloudhsm/snapshot/api_op_DescribeHsm.go.snap +++ b/service/cloudhsm/snapshot/api_op_DescribeHsm.go.snap @@ -13,7 +13,6 @@ DescribeHsm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsm/snapshot/api_op_DescribeLunaClient.go.snap b/service/cloudhsm/snapshot/api_op_DescribeLunaClient.go.snap index ad887af0782..b371432f364 100644 --- a/service/cloudhsm/snapshot/api_op_DescribeLunaClient.go.snap +++ b/service/cloudhsm/snapshot/api_op_DescribeLunaClient.go.snap @@ -13,7 +13,6 @@ DescribeLunaClient Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsm/snapshot/api_op_GetConfig.go.snap b/service/cloudhsm/snapshot/api_op_GetConfig.go.snap index dd8b1247e50..ca4027b607e 100644 --- a/service/cloudhsm/snapshot/api_op_GetConfig.go.snap +++ b/service/cloudhsm/snapshot/api_op_GetConfig.go.snap @@ -14,7 +14,6 @@ GetConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsm/snapshot/api_op_ListAvailableZones.go.snap b/service/cloudhsm/snapshot/api_op_ListAvailableZones.go.snap index ec262ed268f..db566b455ad 100644 --- a/service/cloudhsm/snapshot/api_op_ListAvailableZones.go.snap +++ b/service/cloudhsm/snapshot/api_op_ListAvailableZones.go.snap @@ -13,7 +13,6 @@ ListAvailableZones Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsm/snapshot/api_op_ListHapgs.go.snap b/service/cloudhsm/snapshot/api_op_ListHapgs.go.snap index 4b25d0c01ae..df4fca4864f 100644 --- a/service/cloudhsm/snapshot/api_op_ListHapgs.go.snap +++ b/service/cloudhsm/snapshot/api_op_ListHapgs.go.snap @@ -13,7 +13,6 @@ ListHapgs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsm/snapshot/api_op_ListHsms.go.snap b/service/cloudhsm/snapshot/api_op_ListHsms.go.snap index ad93f27497e..f317e5484d0 100644 --- a/service/cloudhsm/snapshot/api_op_ListHsms.go.snap +++ b/service/cloudhsm/snapshot/api_op_ListHsms.go.snap @@ -13,7 +13,6 @@ ListHsms Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsm/snapshot/api_op_ListLunaClients.go.snap b/service/cloudhsm/snapshot/api_op_ListLunaClients.go.snap index 34d3f3d8a07..2a38a80302c 100644 --- a/service/cloudhsm/snapshot/api_op_ListLunaClients.go.snap +++ b/service/cloudhsm/snapshot/api_op_ListLunaClients.go.snap @@ -13,7 +13,6 @@ ListLunaClients Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsm/snapshot/api_op_ListTagsForResource.go.snap b/service/cloudhsm/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/cloudhsm/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/cloudhsm/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsm/snapshot/api_op_ModifyHapg.go.snap b/service/cloudhsm/snapshot/api_op_ModifyHapg.go.snap index d667f96c774..7c953713904 100644 --- a/service/cloudhsm/snapshot/api_op_ModifyHapg.go.snap +++ b/service/cloudhsm/snapshot/api_op_ModifyHapg.go.snap @@ -14,7 +14,6 @@ ModifyHapg Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsm/snapshot/api_op_ModifyHsm.go.snap b/service/cloudhsm/snapshot/api_op_ModifyHsm.go.snap index 8c8576024e8..0d735b70942 100644 --- a/service/cloudhsm/snapshot/api_op_ModifyHsm.go.snap +++ b/service/cloudhsm/snapshot/api_op_ModifyHsm.go.snap @@ -14,7 +14,6 @@ ModifyHsm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsm/snapshot/api_op_ModifyLunaClient.go.snap b/service/cloudhsm/snapshot/api_op_ModifyLunaClient.go.snap index 9cc434d0c72..bce23da6c90 100644 --- a/service/cloudhsm/snapshot/api_op_ModifyLunaClient.go.snap +++ b/service/cloudhsm/snapshot/api_op_ModifyLunaClient.go.snap @@ -14,7 +14,6 @@ ModifyLunaClient Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsm/snapshot/api_op_RemoveTagsFromResource.go.snap b/service/cloudhsm/snapshot/api_op_RemoveTagsFromResource.go.snap index e43df9156ac..48a29e492e9 100644 --- a/service/cloudhsm/snapshot/api_op_RemoveTagsFromResource.go.snap +++ b/service/cloudhsm/snapshot/api_op_RemoveTagsFromResource.go.snap @@ -14,7 +14,6 @@ RemoveTagsFromResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsmv2/api_client.go b/service/cloudhsmv2/api_client.go index 57f49d94e8c..c415d2eea6d 100644 --- a/service/cloudhsmv2/api_client.go +++ b/service/cloudhsmv2/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/cloudhsmv2/api_op_CopyBackupToRegion.go b/service/cloudhsmv2/api_op_CopyBackupToRegion.go index 6405630a53a..00e2b5fc209 100644 --- a/service/cloudhsmv2/api_op_CopyBackupToRegion.go +++ b/service/cloudhsmv2/api_op_CopyBackupToRegion.go @@ -131,9 +131,6 @@ func (c *Client) addOperationCopyBackupToRegionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCopyBackupToRegionValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsmv2/api_op_CreateCluster.go b/service/cloudhsmv2/api_op_CreateCluster.go index 5812d000732..badafbc8708 100644 --- a/service/cloudhsmv2/api_op_CreateCluster.go +++ b/service/cloudhsmv2/api_op_CreateCluster.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCreateClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsmv2/api_op_CreateHsm.go b/service/cloudhsmv2/api_op_CreateHsm.go index 26ddd153735..8a5a55b078d 100644 --- a/service/cloudhsmv2/api_op_CreateHsm.go +++ b/service/cloudhsmv2/api_op_CreateHsm.go @@ -126,9 +126,6 @@ func (c *Client) addOperationCreateHsmMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateHsmValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsmv2/api_op_DeleteBackup.go b/service/cloudhsmv2/api_op_DeleteBackup.go index 404fc364e5a..6f696069031 100644 --- a/service/cloudhsmv2/api_op_DeleteBackup.go +++ b/service/cloudhsmv2/api_op_DeleteBackup.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteBackupMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBackupValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsmv2/api_op_DeleteCluster.go b/service/cloudhsmv2/api_op_DeleteCluster.go index a6ab3b29b6d..17673d2af60 100644 --- a/service/cloudhsmv2/api_op_DeleteCluster.go +++ b/service/cloudhsmv2/api_op_DeleteCluster.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsmv2/api_op_DeleteHsm.go b/service/cloudhsmv2/api_op_DeleteHsm.go index 3f157fefd1a..23d0549075a 100644 --- a/service/cloudhsmv2/api_op_DeleteHsm.go +++ b/service/cloudhsmv2/api_op_DeleteHsm.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteHsmMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteHsmValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsmv2/api_op_DeleteResourcePolicy.go b/service/cloudhsmv2/api_op_DeleteResourcePolicy.go index 7f10fd48eb3..3e6c0be821c 100644 --- a/service/cloudhsmv2/api_op_DeleteResourcePolicy.go +++ b/service/cloudhsmv2/api_op_DeleteResourcePolicy.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourcePolicy(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudhsmv2/api_op_DescribeBackups.go b/service/cloudhsmv2/api_op_DescribeBackups.go index 50042b90eec..24e8f5f7eb2 100644 --- a/service/cloudhsmv2/api_op_DescribeBackups.go +++ b/service/cloudhsmv2/api_op_DescribeBackups.go @@ -168,9 +168,6 @@ func (c *Client) addOperationDescribeBackupsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBackups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudhsmv2/api_op_DescribeClusters.go b/service/cloudhsmv2/api_op_DescribeClusters.go index 6fb36de39e7..eadd70fca3c 100644 --- a/service/cloudhsmv2/api_op_DescribeClusters.go +++ b/service/cloudhsmv2/api_op_DescribeClusters.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeClustersMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClusters(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudhsmv2/api_op_GetResourcePolicy.go b/service/cloudhsmv2/api_op_GetResourcePolicy.go index c1982a30843..1f9e17e6e5d 100644 --- a/service/cloudhsmv2/api_op_GetResourcePolicy.go +++ b/service/cloudhsmv2/api_op_GetResourcePolicy.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourcePolicy(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudhsmv2/api_op_InitializeCluster.go b/service/cloudhsmv2/api_op_InitializeCluster.go index eb2706617d7..135988a8350 100644 --- a/service/cloudhsmv2/api_op_InitializeCluster.go +++ b/service/cloudhsmv2/api_op_InitializeCluster.go @@ -138,9 +138,6 @@ func (c *Client) addOperationInitializeClusterMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpInitializeClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsmv2/api_op_ListTags.go b/service/cloudhsmv2/api_op_ListTags.go index 5f27d658358..5d7cf6a2029 100644 --- a/service/cloudhsmv2/api_op_ListTags.go +++ b/service/cloudhsmv2/api_op_ListTags.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListTagsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsmv2/api_op_ModifyBackupAttributes.go b/service/cloudhsmv2/api_op_ModifyBackupAttributes.go index d9724f229d6..de743c80185 100644 --- a/service/cloudhsmv2/api_op_ModifyBackupAttributes.go +++ b/service/cloudhsmv2/api_op_ModifyBackupAttributes.go @@ -128,9 +128,6 @@ func (c *Client) addOperationModifyBackupAttributesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyBackupAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsmv2/api_op_ModifyCluster.go b/service/cloudhsmv2/api_op_ModifyCluster.go index 7057600f571..dd49016d173 100644 --- a/service/cloudhsmv2/api_op_ModifyCluster.go +++ b/service/cloudhsmv2/api_op_ModifyCluster.go @@ -122,9 +122,6 @@ func (c *Client) addOperationModifyClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsmv2/api_op_PutResourcePolicy.go b/service/cloudhsmv2/api_op_PutResourcePolicy.go index 124fbd91042..9e42ff6e547 100644 --- a/service/cloudhsmv2/api_op_PutResourcePolicy.go +++ b/service/cloudhsmv2/api_op_PutResourcePolicy.go @@ -143,9 +143,6 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutResourcePolicy(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudhsmv2/api_op_RestoreBackup.go b/service/cloudhsmv2/api_op_RestoreBackup.go index 38c82b5da55..fcb9d4ceb5d 100644 --- a/service/cloudhsmv2/api_op_RestoreBackup.go +++ b/service/cloudhsmv2/api_op_RestoreBackup.go @@ -117,9 +117,6 @@ func (c *Client) addOperationRestoreBackupMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreBackupValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsmv2/api_op_TagResource.go b/service/cloudhsmv2/api_op_TagResource.go index 58ad57b404e..f5ad68aa715 100644 --- a/service/cloudhsmv2/api_op_TagResource.go +++ b/service/cloudhsmv2/api_op_TagResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsmv2/api_op_UntagResource.go b/service/cloudhsmv2/api_op_UntagResource.go index 40a0bc8d06f..11d33072bbe 100644 --- a/service/cloudhsmv2/api_op_UntagResource.go +++ b/service/cloudhsmv2/api_op_UntagResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudhsmv2/snapshot/api_op_CopyBackupToRegion.go.snap b/service/cloudhsmv2/snapshot/api_op_CopyBackupToRegion.go.snap index 8402d04e50a..d7d8a110845 100644 --- a/service/cloudhsmv2/snapshot/api_op_CopyBackupToRegion.go.snap +++ b/service/cloudhsmv2/snapshot/api_op_CopyBackupToRegion.go.snap @@ -14,7 +14,6 @@ CopyBackupToRegion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsmv2/snapshot/api_op_CreateCluster.go.snap b/service/cloudhsmv2/snapshot/api_op_CreateCluster.go.snap index 1ee274e1f6c..03ac0c0d2e6 100644 --- a/service/cloudhsmv2/snapshot/api_op_CreateCluster.go.snap +++ b/service/cloudhsmv2/snapshot/api_op_CreateCluster.go.snap @@ -14,7 +14,6 @@ CreateCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsmv2/snapshot/api_op_CreateHsm.go.snap b/service/cloudhsmv2/snapshot/api_op_CreateHsm.go.snap index 6d3bfb809b3..ba9bbb73496 100644 --- a/service/cloudhsmv2/snapshot/api_op_CreateHsm.go.snap +++ b/service/cloudhsmv2/snapshot/api_op_CreateHsm.go.snap @@ -14,7 +14,6 @@ CreateHsm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsmv2/snapshot/api_op_DeleteBackup.go.snap b/service/cloudhsmv2/snapshot/api_op_DeleteBackup.go.snap index 97fcc0c4ae6..32e2f475334 100644 --- a/service/cloudhsmv2/snapshot/api_op_DeleteBackup.go.snap +++ b/service/cloudhsmv2/snapshot/api_op_DeleteBackup.go.snap @@ -14,7 +14,6 @@ DeleteBackup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsmv2/snapshot/api_op_DeleteCluster.go.snap b/service/cloudhsmv2/snapshot/api_op_DeleteCluster.go.snap index 8eeb23b33c5..9df5248d4d6 100644 --- a/service/cloudhsmv2/snapshot/api_op_DeleteCluster.go.snap +++ b/service/cloudhsmv2/snapshot/api_op_DeleteCluster.go.snap @@ -14,7 +14,6 @@ DeleteCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsmv2/snapshot/api_op_DeleteHsm.go.snap b/service/cloudhsmv2/snapshot/api_op_DeleteHsm.go.snap index 81ebf3384d7..27c1c88b325 100644 --- a/service/cloudhsmv2/snapshot/api_op_DeleteHsm.go.snap +++ b/service/cloudhsmv2/snapshot/api_op_DeleteHsm.go.snap @@ -14,7 +14,6 @@ DeleteHsm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsmv2/snapshot/api_op_DeleteResourcePolicy.go.snap b/service/cloudhsmv2/snapshot/api_op_DeleteResourcePolicy.go.snap index 71f4a3802ad..88f47f54773 100644 --- a/service/cloudhsmv2/snapshot/api_op_DeleteResourcePolicy.go.snap +++ b/service/cloudhsmv2/snapshot/api_op_DeleteResourcePolicy.go.snap @@ -13,7 +13,6 @@ DeleteResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsmv2/snapshot/api_op_DescribeBackups.go.snap b/service/cloudhsmv2/snapshot/api_op_DescribeBackups.go.snap index e5a75436dfc..d6d6f55f5fa 100644 --- a/service/cloudhsmv2/snapshot/api_op_DescribeBackups.go.snap +++ b/service/cloudhsmv2/snapshot/api_op_DescribeBackups.go.snap @@ -13,7 +13,6 @@ DescribeBackups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsmv2/snapshot/api_op_DescribeClusters.go.snap b/service/cloudhsmv2/snapshot/api_op_DescribeClusters.go.snap index f52d125d54e..bfa7d3b3625 100644 --- a/service/cloudhsmv2/snapshot/api_op_DescribeClusters.go.snap +++ b/service/cloudhsmv2/snapshot/api_op_DescribeClusters.go.snap @@ -13,7 +13,6 @@ DescribeClusters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsmv2/snapshot/api_op_GetResourcePolicy.go.snap b/service/cloudhsmv2/snapshot/api_op_GetResourcePolicy.go.snap index a9a7e4734cf..81881043eef 100644 --- a/service/cloudhsmv2/snapshot/api_op_GetResourcePolicy.go.snap +++ b/service/cloudhsmv2/snapshot/api_op_GetResourcePolicy.go.snap @@ -13,7 +13,6 @@ GetResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsmv2/snapshot/api_op_InitializeCluster.go.snap b/service/cloudhsmv2/snapshot/api_op_InitializeCluster.go.snap index 2ce92bfa1c9..b1d676a5a06 100644 --- a/service/cloudhsmv2/snapshot/api_op_InitializeCluster.go.snap +++ b/service/cloudhsmv2/snapshot/api_op_InitializeCluster.go.snap @@ -14,7 +14,6 @@ InitializeCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsmv2/snapshot/api_op_ListTags.go.snap b/service/cloudhsmv2/snapshot/api_op_ListTags.go.snap index 1b1e99185a9..438bd1b7aec 100644 --- a/service/cloudhsmv2/snapshot/api_op_ListTags.go.snap +++ b/service/cloudhsmv2/snapshot/api_op_ListTags.go.snap @@ -14,7 +14,6 @@ ListTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsmv2/snapshot/api_op_ModifyBackupAttributes.go.snap b/service/cloudhsmv2/snapshot/api_op_ModifyBackupAttributes.go.snap index 875d7969c8b..5402de14a65 100644 --- a/service/cloudhsmv2/snapshot/api_op_ModifyBackupAttributes.go.snap +++ b/service/cloudhsmv2/snapshot/api_op_ModifyBackupAttributes.go.snap @@ -14,7 +14,6 @@ ModifyBackupAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsmv2/snapshot/api_op_ModifyCluster.go.snap b/service/cloudhsmv2/snapshot/api_op_ModifyCluster.go.snap index 76970ec6bd0..f67333e3f96 100644 --- a/service/cloudhsmv2/snapshot/api_op_ModifyCluster.go.snap +++ b/service/cloudhsmv2/snapshot/api_op_ModifyCluster.go.snap @@ -14,7 +14,6 @@ ModifyCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsmv2/snapshot/api_op_PutResourcePolicy.go.snap b/service/cloudhsmv2/snapshot/api_op_PutResourcePolicy.go.snap index 6299a5230a2..d456de016c6 100644 --- a/service/cloudhsmv2/snapshot/api_op_PutResourcePolicy.go.snap +++ b/service/cloudhsmv2/snapshot/api_op_PutResourcePolicy.go.snap @@ -13,7 +13,6 @@ PutResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsmv2/snapshot/api_op_RestoreBackup.go.snap b/service/cloudhsmv2/snapshot/api_op_RestoreBackup.go.snap index 4796e0aedec..93bf88ad16a 100644 --- a/service/cloudhsmv2/snapshot/api_op_RestoreBackup.go.snap +++ b/service/cloudhsmv2/snapshot/api_op_RestoreBackup.go.snap @@ -14,7 +14,6 @@ RestoreBackup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsmv2/snapshot/api_op_TagResource.go.snap b/service/cloudhsmv2/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/cloudhsmv2/snapshot/api_op_TagResource.go.snap +++ b/service/cloudhsmv2/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudhsmv2/snapshot/api_op_UntagResource.go.snap b/service/cloudhsmv2/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/cloudhsmv2/snapshot/api_op_UntagResource.go.snap +++ b/service/cloudhsmv2/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudsearch/api_client.go b/service/cloudsearch/api_client.go index d71149324b7..8d80d0cb533 100644 --- a/service/cloudsearch/api_client.go +++ b/service/cloudsearch/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/cloudsearch/api_op_BuildSuggesters.go b/service/cloudsearch/api_op_BuildSuggesters.go index 954af111bdd..2233c5012ef 100644 --- a/service/cloudsearch/api_op_BuildSuggesters.go +++ b/service/cloudsearch/api_op_BuildSuggesters.go @@ -121,9 +121,6 @@ func (c *Client) addOperationBuildSuggestersMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBuildSuggestersValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_CreateDomain.go b/service/cloudsearch/api_op_CreateDomain.go index 608d4e552b3..8f2dfe1e944 100644 --- a/service/cloudsearch/api_op_CreateDomain.go +++ b/service/cloudsearch/api_op_CreateDomain.go @@ -121,9 +121,6 @@ func (c *Client) addOperationCreateDomainMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DefineAnalysisScheme.go b/service/cloudsearch/api_op_DefineAnalysisScheme.go index 2fed5907cdc..876148055ed 100644 --- a/service/cloudsearch/api_op_DefineAnalysisScheme.go +++ b/service/cloudsearch/api_op_DefineAnalysisScheme.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDefineAnalysisSchemeMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDefineAnalysisSchemeValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DefineExpression.go b/service/cloudsearch/api_op_DefineExpression.go index cc9560afd51..6fc42fff697 100644 --- a/service/cloudsearch/api_op_DefineExpression.go +++ b/service/cloudsearch/api_op_DefineExpression.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDefineExpressionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDefineExpressionValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DefineIndexField.go b/service/cloudsearch/api_op_DefineIndexField.go index 0e7bce3122c..21cdb135b05 100644 --- a/service/cloudsearch/api_op_DefineIndexField.go +++ b/service/cloudsearch/api_op_DefineIndexField.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDefineIndexFieldMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDefineIndexFieldValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DefineSuggester.go b/service/cloudsearch/api_op_DefineSuggester.go index 5b69676da08..51d289c0d54 100644 --- a/service/cloudsearch/api_op_DefineSuggester.go +++ b/service/cloudsearch/api_op_DefineSuggester.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDefineSuggesterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDefineSuggesterValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DeleteAnalysisScheme.go b/service/cloudsearch/api_op_DeleteAnalysisScheme.go index 64052814b47..4202cbe2737 100644 --- a/service/cloudsearch/api_op_DeleteAnalysisScheme.go +++ b/service/cloudsearch/api_op_DeleteAnalysisScheme.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDeleteAnalysisSchemeMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAnalysisSchemeValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DeleteDomain.go b/service/cloudsearch/api_op_DeleteDomain.go index 6422c51859c..73711b20997 100644 --- a/service/cloudsearch/api_op_DeleteDomain.go +++ b/service/cloudsearch/api_op_DeleteDomain.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteDomainMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DeleteExpression.go b/service/cloudsearch/api_op_DeleteExpression.go index f67ed6606a1..8fea0b66b31 100644 --- a/service/cloudsearch/api_op_DeleteExpression.go +++ b/service/cloudsearch/api_op_DeleteExpression.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteExpressionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteExpressionValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DeleteIndexField.go b/service/cloudsearch/api_op_DeleteIndexField.go index d0a071c100a..2b313c1a04c 100644 --- a/service/cloudsearch/api_op_DeleteIndexField.go +++ b/service/cloudsearch/api_op_DeleteIndexField.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDeleteIndexFieldMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIndexFieldValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DeleteSuggester.go b/service/cloudsearch/api_op_DeleteSuggester.go index 96a2ce6d38b..ca43712df26 100644 --- a/service/cloudsearch/api_op_DeleteSuggester.go +++ b/service/cloudsearch/api_op_DeleteSuggester.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDeleteSuggesterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSuggesterValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DescribeAnalysisSchemes.go b/service/cloudsearch/api_op_DescribeAnalysisSchemes.go index 43498c131d7..f369e1bbd9f 100644 --- a/service/cloudsearch/api_op_DescribeAnalysisSchemes.go +++ b/service/cloudsearch/api_op_DescribeAnalysisSchemes.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDescribeAnalysisSchemesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAnalysisSchemesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DescribeAvailabilityOptions.go b/service/cloudsearch/api_op_DescribeAvailabilityOptions.go index a154b93f8f7..77cd756602e 100644 --- a/service/cloudsearch/api_op_DescribeAvailabilityOptions.go +++ b/service/cloudsearch/api_op_DescribeAvailabilityOptions.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeAvailabilityOptionsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAvailabilityOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DescribeDomainEndpointOptions.go b/service/cloudsearch/api_op_DescribeDomainEndpointOptions.go index cbbc2575109..aa4c40f789c 100644 --- a/service/cloudsearch/api_op_DescribeDomainEndpointOptions.go +++ b/service/cloudsearch/api_op_DescribeDomainEndpointOptions.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribeDomainEndpointOptionsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDomainEndpointOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DescribeDomains.go b/service/cloudsearch/api_op_DescribeDomains.go index f22d47bd1a1..59b2303ee4f 100644 --- a/service/cloudsearch/api_op_DescribeDomains.go +++ b/service/cloudsearch/api_op_DescribeDomains.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeDomainsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDomains(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudsearch/api_op_DescribeExpressions.go b/service/cloudsearch/api_op_DescribeExpressions.go index dfb28c1dac1..d1277cce5b0 100644 --- a/service/cloudsearch/api_op_DescribeExpressions.go +++ b/service/cloudsearch/api_op_DescribeExpressions.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeExpressionsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeExpressionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DescribeIndexFields.go b/service/cloudsearch/api_op_DescribeIndexFields.go index 523f0eaeebe..1575bcf6be2 100644 --- a/service/cloudsearch/api_op_DescribeIndexFields.go +++ b/service/cloudsearch/api_op_DescribeIndexFields.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDescribeIndexFieldsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeIndexFieldsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DescribeScalingParameters.go b/service/cloudsearch/api_op_DescribeScalingParameters.go index 5c3d74de6d7..1bc2e92476a 100644 --- a/service/cloudsearch/api_op_DescribeScalingParameters.go +++ b/service/cloudsearch/api_op_DescribeScalingParameters.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribeScalingParametersMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeScalingParametersValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DescribeServiceAccessPolicies.go b/service/cloudsearch/api_op_DescribeServiceAccessPolicies.go index e4dc56e82c3..dd3b5b4b837 100644 --- a/service/cloudsearch/api_op_DescribeServiceAccessPolicies.go +++ b/service/cloudsearch/api_op_DescribeServiceAccessPolicies.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDescribeServiceAccessPoliciesMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeServiceAccessPoliciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_DescribeSuggesters.go b/service/cloudsearch/api_op_DescribeSuggesters.go index fd50ed38532..f4c77d48af9 100644 --- a/service/cloudsearch/api_op_DescribeSuggesters.go +++ b/service/cloudsearch/api_op_DescribeSuggesters.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeSuggestersMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSuggestersValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_IndexDocuments.go b/service/cloudsearch/api_op_IndexDocuments.go index 36b259f7ed7..c0d0c5271b7 100644 --- a/service/cloudsearch/api_op_IndexDocuments.go +++ b/service/cloudsearch/api_op_IndexDocuments.go @@ -120,9 +120,6 @@ func (c *Client) addOperationIndexDocumentsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpIndexDocumentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_ListDomainNames.go b/service/cloudsearch/api_op_ListDomainNames.go index 636c8f6dc4c..eadefd4c263 100644 --- a/service/cloudsearch/api_op_ListDomainNames.go +++ b/service/cloudsearch/api_op_ListDomainNames.go @@ -107,9 +107,6 @@ func (c *Client) addOperationListDomainNamesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDomainNames(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudsearch/api_op_UpdateAvailabilityOptions.go b/service/cloudsearch/api_op_UpdateAvailabilityOptions.go index de2d4939afa..2935758cc1a 100644 --- a/service/cloudsearch/api_op_UpdateAvailabilityOptions.go +++ b/service/cloudsearch/api_op_UpdateAvailabilityOptions.go @@ -134,9 +134,6 @@ func (c *Client) addOperationUpdateAvailabilityOptionsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAvailabilityOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_UpdateDomainEndpointOptions.go b/service/cloudsearch/api_op_UpdateDomainEndpointOptions.go index 3c1f9081307..bc97fb11d4b 100644 --- a/service/cloudsearch/api_op_UpdateDomainEndpointOptions.go +++ b/service/cloudsearch/api_op_UpdateDomainEndpointOptions.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateDomainEndpointOptionsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDomainEndpointOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_UpdateScalingParameters.go b/service/cloudsearch/api_op_UpdateScalingParameters.go index e564018b5f6..535a382e84b 100644 --- a/service/cloudsearch/api_op_UpdateScalingParameters.go +++ b/service/cloudsearch/api_op_UpdateScalingParameters.go @@ -135,9 +135,6 @@ func (c *Client) addOperationUpdateScalingParametersMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateScalingParametersValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/api_op_UpdateServiceAccessPolicies.go b/service/cloudsearch/api_op_UpdateServiceAccessPolicies.go index 9312340747d..3f18198f870 100644 --- a/service/cloudsearch/api_op_UpdateServiceAccessPolicies.go +++ b/service/cloudsearch/api_op_UpdateServiceAccessPolicies.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUpdateServiceAccessPoliciesMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateServiceAccessPoliciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearch/snapshot/api_op_BuildSuggesters.go.snap b/service/cloudsearch/snapshot/api_op_BuildSuggesters.go.snap index b4f4fef6687..0a0c06ef1ee 100644 --- a/service/cloudsearch/snapshot/api_op_BuildSuggesters.go.snap +++ b/service/cloudsearch/snapshot/api_op_BuildSuggesters.go.snap @@ -14,7 +14,6 @@ BuildSuggesters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudsearch/snapshot/api_op_CreateDomain.go.snap b/service/cloudsearch/snapshot/api_op_CreateDomain.go.snap index 16feb8a4d42..91a84f443d8 100644 --- a/service/cloudsearch/snapshot/api_op_CreateDomain.go.snap +++ b/service/cloudsearch/snapshot/api_op_CreateDomain.go.snap @@ -14,7 +14,6 @@ CreateDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudsearch/snapshot/api_op_DefineAnalysisScheme.go.snap b/service/cloudsearch/snapshot/api_op_DefineAnalysisScheme.go.snap index cbd7ac89eb9..6ee2a1fcac2 100644 --- a/service/cloudsearch/snapshot/api_op_DefineAnalysisScheme.go.snap +++ b/service/cloudsearch/snapshot/api_op_DefineAnalysisScheme.go.snap @@ -14,7 +14,6 @@ DefineAnalysisScheme Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudsearch/snapshot/api_op_DefineExpression.go.snap b/service/cloudsearch/snapshot/api_op_DefineExpression.go.snap index fb23a656c86..e480781dddc 100644 --- a/service/cloudsearch/snapshot/api_op_DefineExpression.go.snap +++ b/service/cloudsearch/snapshot/api_op_DefineExpression.go.snap @@ -14,7 +14,6 @@ DefineExpression Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudsearch/snapshot/api_op_DefineIndexField.go.snap b/service/cloudsearch/snapshot/api_op_DefineIndexField.go.snap index 3a233ec0dab..15342394475 100644 --- a/service/cloudsearch/snapshot/api_op_DefineIndexField.go.snap +++ b/service/cloudsearch/snapshot/api_op_DefineIndexField.go.snap @@ -14,7 +14,6 @@ DefineIndexField Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudsearch/snapshot/api_op_DefineSuggester.go.snap b/service/cloudsearch/snapshot/api_op_DefineSuggester.go.snap index 762bd6fbf86..e5484845d7f 100644 --- a/service/cloudsearch/snapshot/api_op_DefineSuggester.go.snap +++ b/service/cloudsearch/snapshot/api_op_DefineSuggester.go.snap @@ -14,7 +14,6 @@ DefineSuggester Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudsearch/snapshot/api_op_DeleteAnalysisScheme.go.snap b/service/cloudsearch/snapshot/api_op_DeleteAnalysisScheme.go.snap index efb94b9f6f3..47a8c7c317c 100644 --- a/service/cloudsearch/snapshot/api_op_DeleteAnalysisScheme.go.snap +++ b/service/cloudsearch/snapshot/api_op_DeleteAnalysisScheme.go.snap @@ -14,7 +14,6 @@ DeleteAnalysisScheme Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudsearch/snapshot/api_op_DeleteDomain.go.snap b/service/cloudsearch/snapshot/api_op_DeleteDomain.go.snap index 24c9a1b0eb3..9a8c40f82ef 100644 --- a/service/cloudsearch/snapshot/api_op_DeleteDomain.go.snap +++ b/service/cloudsearch/snapshot/api_op_DeleteDomain.go.snap @@ -14,7 +14,6 @@ DeleteDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudsearch/snapshot/api_op_DeleteExpression.go.snap b/service/cloudsearch/snapshot/api_op_DeleteExpression.go.snap index 80a3c3dfd24..37105f231f8 100644 --- a/service/cloudsearch/snapshot/api_op_DeleteExpression.go.snap +++ b/service/cloudsearch/snapshot/api_op_DeleteExpression.go.snap @@ -14,7 +14,6 @@ DeleteExpression Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudsearch/snapshot/api_op_DeleteIndexField.go.snap b/service/cloudsearch/snapshot/api_op_DeleteIndexField.go.snap index c849a6c1e6b..ca874b16c33 100644 --- a/service/cloudsearch/snapshot/api_op_DeleteIndexField.go.snap +++ b/service/cloudsearch/snapshot/api_op_DeleteIndexField.go.snap @@ -14,7 +14,6 @@ DeleteIndexField Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudsearch/snapshot/api_op_DeleteSuggester.go.snap b/service/cloudsearch/snapshot/api_op_DeleteSuggester.go.snap index c765ac8518f..d2b2a530480 100644 --- a/service/cloudsearch/snapshot/api_op_DeleteSuggester.go.snap +++ b/service/cloudsearch/snapshot/api_op_DeleteSuggester.go.snap @@ -14,7 +14,6 @@ DeleteSuggester Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudsearch/snapshot/api_op_DescribeAnalysisSchemes.go.snap b/service/cloudsearch/snapshot/api_op_DescribeAnalysisSchemes.go.snap index 7a1a79be5b6..cf1e7669620 100644 --- a/service/cloudsearch/snapshot/api_op_DescribeAnalysisSchemes.go.snap +++ b/service/cloudsearch/snapshot/api_op_DescribeAnalysisSchemes.go.snap @@ -14,7 +14,6 @@ DescribeAnalysisSchemes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudsearch/snapshot/api_op_DescribeAvailabilityOptions.go.snap b/service/cloudsearch/snapshot/api_op_DescribeAvailabilityOptions.go.snap index 99c58d117e2..768681f0003 100644 --- a/service/cloudsearch/snapshot/api_op_DescribeAvailabilityOptions.go.snap +++ b/service/cloudsearch/snapshot/api_op_DescribeAvailabilityOptions.go.snap @@ -14,7 +14,6 @@ DescribeAvailabilityOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudsearch/snapshot/api_op_DescribeDomainEndpointOptions.go.snap b/service/cloudsearch/snapshot/api_op_DescribeDomainEndpointOptions.go.snap index 62fd757e0b7..0b68bfa0538 100644 --- a/service/cloudsearch/snapshot/api_op_DescribeDomainEndpointOptions.go.snap +++ b/service/cloudsearch/snapshot/api_op_DescribeDomainEndpointOptions.go.snap @@ -14,7 +14,6 @@ DescribeDomainEndpointOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudsearch/snapshot/api_op_DescribeDomains.go.snap b/service/cloudsearch/snapshot/api_op_DescribeDomains.go.snap index 49330aeff08..d482405af74 100644 --- a/service/cloudsearch/snapshot/api_op_DescribeDomains.go.snap +++ b/service/cloudsearch/snapshot/api_op_DescribeDomains.go.snap @@ -13,7 +13,6 @@ DescribeDomains Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudsearch/snapshot/api_op_DescribeExpressions.go.snap b/service/cloudsearch/snapshot/api_op_DescribeExpressions.go.snap index e2a99e07d16..7a06e083489 100644 --- a/service/cloudsearch/snapshot/api_op_DescribeExpressions.go.snap +++ b/service/cloudsearch/snapshot/api_op_DescribeExpressions.go.snap @@ -14,7 +14,6 @@ DescribeExpressions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudsearch/snapshot/api_op_DescribeIndexFields.go.snap b/service/cloudsearch/snapshot/api_op_DescribeIndexFields.go.snap index d7a1c37270e..6f4cdb09d1a 100644 --- a/service/cloudsearch/snapshot/api_op_DescribeIndexFields.go.snap +++ b/service/cloudsearch/snapshot/api_op_DescribeIndexFields.go.snap @@ -14,7 +14,6 @@ DescribeIndexFields Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudsearch/snapshot/api_op_DescribeScalingParameters.go.snap b/service/cloudsearch/snapshot/api_op_DescribeScalingParameters.go.snap index d7c60a6936d..a64f8405c11 100644 --- a/service/cloudsearch/snapshot/api_op_DescribeScalingParameters.go.snap +++ b/service/cloudsearch/snapshot/api_op_DescribeScalingParameters.go.snap @@ -14,7 +14,6 @@ DescribeScalingParameters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudsearch/snapshot/api_op_DescribeServiceAccessPolicies.go.snap b/service/cloudsearch/snapshot/api_op_DescribeServiceAccessPolicies.go.snap index ce5e6c55eb3..b3e37a08b05 100644 --- a/service/cloudsearch/snapshot/api_op_DescribeServiceAccessPolicies.go.snap +++ b/service/cloudsearch/snapshot/api_op_DescribeServiceAccessPolicies.go.snap @@ -14,7 +14,6 @@ DescribeServiceAccessPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudsearch/snapshot/api_op_DescribeSuggesters.go.snap b/service/cloudsearch/snapshot/api_op_DescribeSuggesters.go.snap index f3e7640a584..8e9107e4fc5 100644 --- a/service/cloudsearch/snapshot/api_op_DescribeSuggesters.go.snap +++ b/service/cloudsearch/snapshot/api_op_DescribeSuggesters.go.snap @@ -14,7 +14,6 @@ DescribeSuggesters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudsearch/snapshot/api_op_IndexDocuments.go.snap b/service/cloudsearch/snapshot/api_op_IndexDocuments.go.snap index f378ebed3b8..2eb5e88240c 100644 --- a/service/cloudsearch/snapshot/api_op_IndexDocuments.go.snap +++ b/service/cloudsearch/snapshot/api_op_IndexDocuments.go.snap @@ -14,7 +14,6 @@ IndexDocuments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudsearch/snapshot/api_op_ListDomainNames.go.snap b/service/cloudsearch/snapshot/api_op_ListDomainNames.go.snap index 4a7e5309986..41390e6e2df 100644 --- a/service/cloudsearch/snapshot/api_op_ListDomainNames.go.snap +++ b/service/cloudsearch/snapshot/api_op_ListDomainNames.go.snap @@ -13,7 +13,6 @@ ListDomainNames Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudsearch/snapshot/api_op_UpdateAvailabilityOptions.go.snap b/service/cloudsearch/snapshot/api_op_UpdateAvailabilityOptions.go.snap index 4f5fd9a606c..c5af6005563 100644 --- a/service/cloudsearch/snapshot/api_op_UpdateAvailabilityOptions.go.snap +++ b/service/cloudsearch/snapshot/api_op_UpdateAvailabilityOptions.go.snap @@ -14,7 +14,6 @@ UpdateAvailabilityOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudsearch/snapshot/api_op_UpdateDomainEndpointOptions.go.snap b/service/cloudsearch/snapshot/api_op_UpdateDomainEndpointOptions.go.snap index 91670a685cb..4ac816a1d49 100644 --- a/service/cloudsearch/snapshot/api_op_UpdateDomainEndpointOptions.go.snap +++ b/service/cloudsearch/snapshot/api_op_UpdateDomainEndpointOptions.go.snap @@ -14,7 +14,6 @@ UpdateDomainEndpointOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudsearch/snapshot/api_op_UpdateScalingParameters.go.snap b/service/cloudsearch/snapshot/api_op_UpdateScalingParameters.go.snap index c969b2a4515..46304bcbc3d 100644 --- a/service/cloudsearch/snapshot/api_op_UpdateScalingParameters.go.snap +++ b/service/cloudsearch/snapshot/api_op_UpdateScalingParameters.go.snap @@ -14,7 +14,6 @@ UpdateScalingParameters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudsearch/snapshot/api_op_UpdateServiceAccessPolicies.go.snap b/service/cloudsearch/snapshot/api_op_UpdateServiceAccessPolicies.go.snap index f2fafe72b1f..85e3a0953c2 100644 --- a/service/cloudsearch/snapshot/api_op_UpdateServiceAccessPolicies.go.snap +++ b/service/cloudsearch/snapshot/api_op_UpdateServiceAccessPolicies.go.snap @@ -14,7 +14,6 @@ UpdateServiceAccessPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudsearchdomain/api_client.go b/service/cloudsearchdomain/api_client.go index de9bcf8d385..bf1afa2d699 100644 --- a/service/cloudsearchdomain/api_client.go +++ b/service/cloudsearchdomain/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/cloudsearchdomain/api_op_Search.go b/service/cloudsearchdomain/api_op_Search.go index 4cb271a6b7d..394d3bf356f 100644 --- a/service/cloudsearchdomain/api_op_Search.go +++ b/service/cloudsearchdomain/api_op_Search.go @@ -449,9 +449,6 @@ func (c *Client) addOperationSearchMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearchdomain/api_op_Suggest.go b/service/cloudsearchdomain/api_op_Suggest.go index 629961faa5c..386614e2a14 100644 --- a/service/cloudsearchdomain/api_op_Suggest.go +++ b/service/cloudsearchdomain/api_op_Suggest.go @@ -143,9 +143,6 @@ func (c *Client) addOperationSuggestMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSuggestValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearchdomain/api_op_UploadDocuments.go b/service/cloudsearchdomain/api_op_UploadDocuments.go index 68489a2a67b..921d91e70a9 100644 --- a/service/cloudsearchdomain/api_op_UploadDocuments.go +++ b/service/cloudsearchdomain/api_op_UploadDocuments.go @@ -156,9 +156,6 @@ func (c *Client) addOperationUploadDocumentsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUploadDocumentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudsearchdomain/snapshot/api_op_Search.go.snap b/service/cloudsearchdomain/snapshot/api_op_Search.go.snap index 96b2a05a873..30f266bd59c 100644 --- a/service/cloudsearchdomain/snapshot/api_op_Search.go.snap +++ b/service/cloudsearchdomain/snapshot/api_op_Search.go.snap @@ -14,7 +14,6 @@ Search Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudsearchdomain/snapshot/api_op_Suggest.go.snap b/service/cloudsearchdomain/snapshot/api_op_Suggest.go.snap index 02b1fbefb9c..f717a637c99 100644 --- a/service/cloudsearchdomain/snapshot/api_op_Suggest.go.snap +++ b/service/cloudsearchdomain/snapshot/api_op_Suggest.go.snap @@ -14,7 +14,6 @@ Suggest Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudsearchdomain/snapshot/api_op_UploadDocuments.go.snap b/service/cloudsearchdomain/snapshot/api_op_UploadDocuments.go.snap index ab1792d23f9..2872ebcd5b1 100644 --- a/service/cloudsearchdomain/snapshot/api_op_UploadDocuments.go.snap +++ b/service/cloudsearchdomain/snapshot/api_op_UploadDocuments.go.snap @@ -14,7 +14,6 @@ UploadDocuments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/api_client.go b/service/cloudtrail/api_client.go index 32df5618309..6ef3e2aaaa3 100644 --- a/service/cloudtrail/api_client.go +++ b/service/cloudtrail/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/cloudtrail/api_op_AddTags.go b/service/cloudtrail/api_op_AddTags.go index 2b7b3dc4d45..8636ea506d2 100644 --- a/service/cloudtrail/api_op_AddTags.go +++ b/service/cloudtrail/api_op_AddTags.go @@ -135,9 +135,6 @@ func (c *Client) addOperationAddTagsMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_CancelQuery.go b/service/cloudtrail/api_op_CancelQuery.go index 8b3a7a54e7b..f77add5f7fc 100644 --- a/service/cloudtrail/api_op_CancelQuery.go +++ b/service/cloudtrail/api_op_CancelQuery.go @@ -137,9 +137,6 @@ func (c *Client) addOperationCancelQueryMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelQueryValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_CreateChannel.go b/service/cloudtrail/api_op_CreateChannel.go index ac5916258cf..eb5ed56491c 100644 --- a/service/cloudtrail/api_op_CreateChannel.go +++ b/service/cloudtrail/api_op_CreateChannel.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCreateChannelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_CreateDashboard.go b/service/cloudtrail/api_op_CreateDashboard.go index bf87400a900..650f4e463e2 100644 --- a/service/cloudtrail/api_op_CreateDashboard.go +++ b/service/cloudtrail/api_op_CreateDashboard.go @@ -181,9 +181,6 @@ func (c *Client) addOperationCreateDashboardMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDashboardValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_CreateEventDataStore.go b/service/cloudtrail/api_op_CreateEventDataStore.go index df170dfc407..567485c02e6 100644 --- a/service/cloudtrail/api_op_CreateEventDataStore.go +++ b/service/cloudtrail/api_op_CreateEventDataStore.go @@ -263,9 +263,6 @@ func (c *Client) addOperationCreateEventDataStoreMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEventDataStoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_CreateTrail.go b/service/cloudtrail/api_op_CreateTrail.go index c51d7dc41cd..8a7b149b61f 100644 --- a/service/cloudtrail/api_op_CreateTrail.go +++ b/service/cloudtrail/api_op_CreateTrail.go @@ -264,9 +264,6 @@ func (c *Client) addOperationCreateTrailMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTrailValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_DeleteChannel.go b/service/cloudtrail/api_op_DeleteChannel.go index 97e823a0dff..13eede4cbb2 100644 --- a/service/cloudtrail/api_op_DeleteChannel.go +++ b/service/cloudtrail/api_op_DeleteChannel.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteChannelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_DeleteDashboard.go b/service/cloudtrail/api_op_DeleteDashboard.go index 6e1bd5fcbb8..a7a506ca8e0 100644 --- a/service/cloudtrail/api_op_DeleteDashboard.go +++ b/service/cloudtrail/api_op_DeleteDashboard.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteDashboardMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDashboardValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_DeleteEventDataStore.go b/service/cloudtrail/api_op_DeleteEventDataStore.go index a65ba06d230..4245863c187 100644 --- a/service/cloudtrail/api_op_DeleteEventDataStore.go +++ b/service/cloudtrail/api_op_DeleteEventDataStore.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteEventDataStoreMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEventDataStoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_DeleteResourcePolicy.go b/service/cloudtrail/api_op_DeleteResourcePolicy.go index 04f2e905e0a..cd934a986a6 100644 --- a/service/cloudtrail/api_op_DeleteResourcePolicy.go +++ b/service/cloudtrail/api_op_DeleteResourcePolicy.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_DeleteTrail.go b/service/cloudtrail/api_op_DeleteTrail.go index f76b454d8c9..2ba52750834 100644 --- a/service/cloudtrail/api_op_DeleteTrail.go +++ b/service/cloudtrail/api_op_DeleteTrail.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteTrailMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTrailValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_DeregisterOrganizationDelegatedAdmin.go b/service/cloudtrail/api_op_DeregisterOrganizationDelegatedAdmin.go index 92818205d6b..f6b98fa80ca 100644 --- a/service/cloudtrail/api_op_DeregisterOrganizationDelegatedAdmin.go +++ b/service/cloudtrail/api_op_DeregisterOrganizationDelegatedAdmin.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeregisterOrganizationDelegatedAdminMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterOrganizationDelegatedAdminValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_DescribeQuery.go b/service/cloudtrail/api_op_DescribeQuery.go index 39160ea4f90..72829724de6 100644 --- a/service/cloudtrail/api_op_DescribeQuery.go +++ b/service/cloudtrail/api_op_DescribeQuery.go @@ -164,9 +164,6 @@ func (c *Client) addOperationDescribeQueryMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeQuery(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudtrail/api_op_DescribeTrails.go b/service/cloudtrail/api_op_DescribeTrails.go index c275d1f7847..21254567bd3 100644 --- a/service/cloudtrail/api_op_DescribeTrails.go +++ b/service/cloudtrail/api_op_DescribeTrails.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDescribeTrailsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTrails(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudtrail/api_op_DisableFederation.go b/service/cloudtrail/api_op_DisableFederation.go index 50d55b9250b..360457f3ff3 100644 --- a/service/cloudtrail/api_op_DisableFederation.go +++ b/service/cloudtrail/api_op_DisableFederation.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDisableFederationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableFederationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_EnableFederation.go b/service/cloudtrail/api_op_EnableFederation.go index 30d47d6b584..a979573f10f 100644 --- a/service/cloudtrail/api_op_EnableFederation.go +++ b/service/cloudtrail/api_op_EnableFederation.go @@ -147,9 +147,6 @@ func (c *Client) addOperationEnableFederationMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableFederationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_GenerateQuery.go b/service/cloudtrail/api_op_GenerateQuery.go index 9a3a531ec8b..19a8a6e959f 100644 --- a/service/cloudtrail/api_op_GenerateQuery.go +++ b/service/cloudtrail/api_op_GenerateQuery.go @@ -145,9 +145,6 @@ func (c *Client) addOperationGenerateQueryMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGenerateQueryValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_GetChannel.go b/service/cloudtrail/api_op_GetChannel.go index 1e8cff5f226..1ef02e4644a 100644 --- a/service/cloudtrail/api_op_GetChannel.go +++ b/service/cloudtrail/api_op_GetChannel.go @@ -136,9 +136,6 @@ func (c *Client) addOperationGetChannelMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_GetDashboard.go b/service/cloudtrail/api_op_GetDashboard.go index 37f6de5be0e..138da8c4c03 100644 --- a/service/cloudtrail/api_op_GetDashboard.go +++ b/service/cloudtrail/api_op_GetDashboard.go @@ -140,9 +140,6 @@ func (c *Client) addOperationGetDashboardMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDashboardValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_GetEventDataStore.go b/service/cloudtrail/api_op_GetEventDataStore.go index 43ed3433c7b..8c7d78e846d 100644 --- a/service/cloudtrail/api_op_GetEventDataStore.go +++ b/service/cloudtrail/api_op_GetEventDataStore.go @@ -171,9 +171,6 @@ func (c *Client) addOperationGetEventDataStoreMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEventDataStoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_GetEventSelectors.go b/service/cloudtrail/api_op_GetEventSelectors.go index 3f32806b241..650abcae228 100644 --- a/service/cloudtrail/api_op_GetEventSelectors.go +++ b/service/cloudtrail/api_op_GetEventSelectors.go @@ -161,9 +161,6 @@ func (c *Client) addOperationGetEventSelectorsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEventSelectorsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_GetImport.go b/service/cloudtrail/api_op_GetImport.go index c5b09d0d308..bf433156b67 100644 --- a/service/cloudtrail/api_op_GetImport.go +++ b/service/cloudtrail/api_op_GetImport.go @@ -142,9 +142,6 @@ func (c *Client) addOperationGetImportMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetImportValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_GetInsightSelectors.go b/service/cloudtrail/api_op_GetInsightSelectors.go index 2a04ff48e21..4eb6dcd6784 100644 --- a/service/cloudtrail/api_op_GetInsightSelectors.go +++ b/service/cloudtrail/api_op_GetInsightSelectors.go @@ -160,9 +160,6 @@ func (c *Client) addOperationGetInsightSelectorsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInsightSelectors(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudtrail/api_op_GetQueryResults.go b/service/cloudtrail/api_op_GetQueryResults.go index b628be0250a..8c5603ce038 100644 --- a/service/cloudtrail/api_op_GetQueryResults.go +++ b/service/cloudtrail/api_op_GetQueryResults.go @@ -141,9 +141,6 @@ func (c *Client) addOperationGetQueryResultsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetQueryResultsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_GetResourcePolicy.go b/service/cloudtrail/api_op_GetResourcePolicy.go index 34da82bbe86..eb13954c020 100644 --- a/service/cloudtrail/api_op_GetResourcePolicy.go +++ b/service/cloudtrail/api_op_GetResourcePolicy.go @@ -145,9 +145,6 @@ func (c *Client) addOperationGetResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_GetTrail.go b/service/cloudtrail/api_op_GetTrail.go index d7e8cb5f355..238d8e68cd0 100644 --- a/service/cloudtrail/api_op_GetTrail.go +++ b/service/cloudtrail/api_op_GetTrail.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetTrailMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTrailValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_GetTrailStatus.go b/service/cloudtrail/api_op_GetTrailStatus.go index fa78b38d787..e4944c7af25 100644 --- a/service/cloudtrail/api_op_GetTrailStatus.go +++ b/service/cloudtrail/api_op_GetTrailStatus.go @@ -206,9 +206,6 @@ func (c *Client) addOperationGetTrailStatusMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTrailStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_ListChannels.go b/service/cloudtrail/api_op_ListChannels.go index 0e04fbc21b2..a7f3017165a 100644 --- a/service/cloudtrail/api_op_ListChannels.go +++ b/service/cloudtrail/api_op_ListChannels.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListChannelsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChannels(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudtrail/api_op_ListDashboards.go b/service/cloudtrail/api_op_ListDashboards.go index 261a3e4dc27..f4d552af392 100644 --- a/service/cloudtrail/api_op_ListDashboards.go +++ b/service/cloudtrail/api_op_ListDashboards.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListDashboardsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDashboards(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudtrail/api_op_ListEventDataStores.go b/service/cloudtrail/api_op_ListEventDataStores.go index 669588b37f1..ff76527a25e 100644 --- a/service/cloudtrail/api_op_ListEventDataStores.go +++ b/service/cloudtrail/api_op_ListEventDataStores.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListEventDataStoresMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEventDataStores(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudtrail/api_op_ListImportFailures.go b/service/cloudtrail/api_op_ListImportFailures.go index ffcdfd20304..118e5eae7a7 100644 --- a/service/cloudtrail/api_op_ListImportFailures.go +++ b/service/cloudtrail/api_op_ListImportFailures.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListImportFailuresMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListImportFailuresValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_ListImports.go b/service/cloudtrail/api_op_ListImports.go index 55e1e1c36b4..d338ab80123 100644 --- a/service/cloudtrail/api_op_ListImports.go +++ b/service/cloudtrail/api_op_ListImports.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListImportsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImports(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudtrail/api_op_ListInsightsMetricData.go b/service/cloudtrail/api_op_ListInsightsMetricData.go index 5b9732688df..7b05bfb6e2e 100644 --- a/service/cloudtrail/api_op_ListInsightsMetricData.go +++ b/service/cloudtrail/api_op_ListInsightsMetricData.go @@ -218,9 +218,6 @@ func (c *Client) addOperationListInsightsMetricDataMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListInsightsMetricDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_ListPublicKeys.go b/service/cloudtrail/api_op_ListPublicKeys.go index d54c3866aeb..ca2e2e821cf 100644 --- a/service/cloudtrail/api_op_ListPublicKeys.go +++ b/service/cloudtrail/api_op_ListPublicKeys.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListPublicKeysMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPublicKeys(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudtrail/api_op_ListQueries.go b/service/cloudtrail/api_op_ListQueries.go index d0d1e2b7bef..c993ac18d9a 100644 --- a/service/cloudtrail/api_op_ListQueries.go +++ b/service/cloudtrail/api_op_ListQueries.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListQueriesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListQueriesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_ListTags.go b/service/cloudtrail/api_op_ListTags.go index cb2d7e41803..aae61d57b8f 100644 --- a/service/cloudtrail/api_op_ListTags.go +++ b/service/cloudtrail/api_op_ListTags.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListTagsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_ListTrails.go b/service/cloudtrail/api_op_ListTrails.go index 7737c1d6be1..8e5731df166 100644 --- a/service/cloudtrail/api_op_ListTrails.go +++ b/service/cloudtrail/api_op_ListTrails.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListTrailsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTrails(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudtrail/api_op_LookupEvents.go b/service/cloudtrail/api_op_LookupEvents.go index a517822442d..14243c2353f 100644 --- a/service/cloudtrail/api_op_LookupEvents.go +++ b/service/cloudtrail/api_op_LookupEvents.go @@ -191,9 +191,6 @@ func (c *Client) addOperationLookupEventsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpLookupEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_PutEventSelectors.go b/service/cloudtrail/api_op_PutEventSelectors.go index 11373cbc692..1b67ab615f4 100644 --- a/service/cloudtrail/api_op_PutEventSelectors.go +++ b/service/cloudtrail/api_op_PutEventSelectors.go @@ -230,9 +230,6 @@ func (c *Client) addOperationPutEventSelectorsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutEventSelectorsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_PutInsightSelectors.go b/service/cloudtrail/api_op_PutInsightSelectors.go index 355de23da03..8a55d7b63f1 100644 --- a/service/cloudtrail/api_op_PutInsightSelectors.go +++ b/service/cloudtrail/api_op_PutInsightSelectors.go @@ -181,9 +181,6 @@ func (c *Client) addOperationPutInsightSelectorsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutInsightSelectorsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_PutResourcePolicy.go b/service/cloudtrail/api_op_PutResourcePolicy.go index 75bc176691a..586ada218cc 100644 --- a/service/cloudtrail/api_op_PutResourcePolicy.go +++ b/service/cloudtrail/api_op_PutResourcePolicy.go @@ -157,9 +157,6 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_RegisterOrganizationDelegatedAdmin.go b/service/cloudtrail/api_op_RegisterOrganizationDelegatedAdmin.go index bbd8e5167c9..81658f69eae 100644 --- a/service/cloudtrail/api_op_RegisterOrganizationDelegatedAdmin.go +++ b/service/cloudtrail/api_op_RegisterOrganizationDelegatedAdmin.go @@ -113,9 +113,6 @@ func (c *Client) addOperationRegisterOrganizationDelegatedAdminMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterOrganizationDelegatedAdminValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_RemoveTags.go b/service/cloudtrail/api_op_RemoveTags.go index 1fca9d42361..a60312bd288 100644 --- a/service/cloudtrail/api_op_RemoveTags.go +++ b/service/cloudtrail/api_op_RemoveTags.go @@ -131,9 +131,6 @@ func (c *Client) addOperationRemoveTagsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_RestoreEventDataStore.go b/service/cloudtrail/api_op_RestoreEventDataStore.go index b518e7c0be2..482cf12157a 100644 --- a/service/cloudtrail/api_op_RestoreEventDataStore.go +++ b/service/cloudtrail/api_op_RestoreEventDataStore.go @@ -158,9 +158,6 @@ func (c *Client) addOperationRestoreEventDataStoreMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreEventDataStoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_SearchSampleQueries.go b/service/cloudtrail/api_op_SearchSampleQueries.go index c0afdc27e57..e4ffbd9ca1a 100644 --- a/service/cloudtrail/api_op_SearchSampleQueries.go +++ b/service/cloudtrail/api_op_SearchSampleQueries.go @@ -128,9 +128,6 @@ func (c *Client) addOperationSearchSampleQueriesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchSampleQueriesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_StartDashboardRefresh.go b/service/cloudtrail/api_op_StartDashboardRefresh.go index 104b1d3704a..59ebbf095c7 100644 --- a/service/cloudtrail/api_op_StartDashboardRefresh.go +++ b/service/cloudtrail/api_op_StartDashboardRefresh.go @@ -129,9 +129,6 @@ func (c *Client) addOperationStartDashboardRefreshMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartDashboardRefreshValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_StartEventDataStoreIngestion.go b/service/cloudtrail/api_op_StartEventDataStoreIngestion.go index 60d968086a4..dba3d0319f9 100644 --- a/service/cloudtrail/api_op_StartEventDataStoreIngestion.go +++ b/service/cloudtrail/api_op_StartEventDataStoreIngestion.go @@ -111,9 +111,6 @@ func (c *Client) addOperationStartEventDataStoreIngestionMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartEventDataStoreIngestionValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_StartImport.go b/service/cloudtrail/api_op_StartImport.go index dda4f23de3d..4e570dcba88 100644 --- a/service/cloudtrail/api_op_StartImport.go +++ b/service/cloudtrail/api_op_StartImport.go @@ -178,9 +178,6 @@ func (c *Client) addOperationStartImportMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartImportValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_StartLogging.go b/service/cloudtrail/api_op_StartLogging.go index 509f3b95339..467cbf2bc37 100644 --- a/service/cloudtrail/api_op_StartLogging.go +++ b/service/cloudtrail/api_op_StartLogging.go @@ -118,9 +118,6 @@ func (c *Client) addOperationStartLoggingMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartLoggingValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_StartQuery.go b/service/cloudtrail/api_op_StartQuery.go index f8b12f905b2..4b7dea9d23e 100644 --- a/service/cloudtrail/api_op_StartQuery.go +++ b/service/cloudtrail/api_op_StartQuery.go @@ -131,9 +131,6 @@ func (c *Client) addOperationStartQueryMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartQuery(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudtrail/api_op_StopEventDataStoreIngestion.go b/service/cloudtrail/api_op_StopEventDataStoreIngestion.go index c8549515e15..fed8b572738 100644 --- a/service/cloudtrail/api_op_StopEventDataStoreIngestion.go +++ b/service/cloudtrail/api_op_StopEventDataStoreIngestion.go @@ -111,9 +111,6 @@ func (c *Client) addOperationStopEventDataStoreIngestionMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopEventDataStoreIngestionValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_StopImport.go b/service/cloudtrail/api_op_StopImport.go index 3dcec6eb299..4bf0277f223 100644 --- a/service/cloudtrail/api_op_StopImport.go +++ b/service/cloudtrail/api_op_StopImport.go @@ -139,9 +139,6 @@ func (c *Client) addOperationStopImportMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopImportValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_StopLogging.go b/service/cloudtrail/api_op_StopLogging.go index e48d50a6564..7375ff5da4d 100644 --- a/service/cloudtrail/api_op_StopLogging.go +++ b/service/cloudtrail/api_op_StopLogging.go @@ -122,9 +122,6 @@ func (c *Client) addOperationStopLoggingMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopLoggingValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_UpdateChannel.go b/service/cloudtrail/api_op_UpdateChannel.go index 63888bd4160..2ce2ec0d123 100644 --- a/service/cloudtrail/api_op_UpdateChannel.go +++ b/service/cloudtrail/api_op_UpdateChannel.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateChannelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_UpdateDashboard.go b/service/cloudtrail/api_op_UpdateDashboard.go index 4c612c8ee06..c370b9d763d 100644 --- a/service/cloudtrail/api_op_UpdateDashboard.go +++ b/service/cloudtrail/api_op_UpdateDashboard.go @@ -168,9 +168,6 @@ func (c *Client) addOperationUpdateDashboardMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDashboardValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_UpdateEventDataStore.go b/service/cloudtrail/api_op_UpdateEventDataStore.go index 8f5523a195d..8332a939d36 100644 --- a/service/cloudtrail/api_op_UpdateEventDataStore.go +++ b/service/cloudtrail/api_op_UpdateEventDataStore.go @@ -273,9 +273,6 @@ func (c *Client) addOperationUpdateEventDataStoreMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEventDataStoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/api_op_UpdateTrail.go b/service/cloudtrail/api_op_UpdateTrail.go index 683e368fc66..754536d20ad 100644 --- a/service/cloudtrail/api_op_UpdateTrail.go +++ b/service/cloudtrail/api_op_UpdateTrail.go @@ -278,9 +278,6 @@ func (c *Client) addOperationUpdateTrailMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTrailValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtrail/snapshot/api_op_AddTags.go.snap b/service/cloudtrail/snapshot/api_op_AddTags.go.snap index 0d887673903..96fb5e7b63d 100644 --- a/service/cloudtrail/snapshot/api_op_AddTags.go.snap +++ b/service/cloudtrail/snapshot/api_op_AddTags.go.snap @@ -14,7 +14,6 @@ AddTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_CancelQuery.go.snap b/service/cloudtrail/snapshot/api_op_CancelQuery.go.snap index d00b02c96f9..f9b56a23d1f 100644 --- a/service/cloudtrail/snapshot/api_op_CancelQuery.go.snap +++ b/service/cloudtrail/snapshot/api_op_CancelQuery.go.snap @@ -14,7 +14,6 @@ CancelQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_CreateChannel.go.snap b/service/cloudtrail/snapshot/api_op_CreateChannel.go.snap index c4492831992..ee3ad890378 100644 --- a/service/cloudtrail/snapshot/api_op_CreateChannel.go.snap +++ b/service/cloudtrail/snapshot/api_op_CreateChannel.go.snap @@ -14,7 +14,6 @@ CreateChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_CreateDashboard.go.snap b/service/cloudtrail/snapshot/api_op_CreateDashboard.go.snap index 31dc6c21e1e..d27b7282c64 100644 --- a/service/cloudtrail/snapshot/api_op_CreateDashboard.go.snap +++ b/service/cloudtrail/snapshot/api_op_CreateDashboard.go.snap @@ -14,7 +14,6 @@ CreateDashboard Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_CreateEventDataStore.go.snap b/service/cloudtrail/snapshot/api_op_CreateEventDataStore.go.snap index 3e937f97a3d..4d8c471e022 100644 --- a/service/cloudtrail/snapshot/api_op_CreateEventDataStore.go.snap +++ b/service/cloudtrail/snapshot/api_op_CreateEventDataStore.go.snap @@ -14,7 +14,6 @@ CreateEventDataStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_CreateTrail.go.snap b/service/cloudtrail/snapshot/api_op_CreateTrail.go.snap index 8fddf7d60a2..175cc4d4aed 100644 --- a/service/cloudtrail/snapshot/api_op_CreateTrail.go.snap +++ b/service/cloudtrail/snapshot/api_op_CreateTrail.go.snap @@ -14,7 +14,6 @@ CreateTrail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_DeleteChannel.go.snap b/service/cloudtrail/snapshot/api_op_DeleteChannel.go.snap index c5d8eebaca6..ff973c1a071 100644 --- a/service/cloudtrail/snapshot/api_op_DeleteChannel.go.snap +++ b/service/cloudtrail/snapshot/api_op_DeleteChannel.go.snap @@ -14,7 +14,6 @@ DeleteChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_DeleteDashboard.go.snap b/service/cloudtrail/snapshot/api_op_DeleteDashboard.go.snap index 14ec08bffec..6f6da35b7c0 100644 --- a/service/cloudtrail/snapshot/api_op_DeleteDashboard.go.snap +++ b/service/cloudtrail/snapshot/api_op_DeleteDashboard.go.snap @@ -14,7 +14,6 @@ DeleteDashboard Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_DeleteEventDataStore.go.snap b/service/cloudtrail/snapshot/api_op_DeleteEventDataStore.go.snap index 85abce95fba..16b495bc5ef 100644 --- a/service/cloudtrail/snapshot/api_op_DeleteEventDataStore.go.snap +++ b/service/cloudtrail/snapshot/api_op_DeleteEventDataStore.go.snap @@ -14,7 +14,6 @@ DeleteEventDataStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_DeleteResourcePolicy.go.snap b/service/cloudtrail/snapshot/api_op_DeleteResourcePolicy.go.snap index 21dbc8dfcde..9948d797360 100644 --- a/service/cloudtrail/snapshot/api_op_DeleteResourcePolicy.go.snap +++ b/service/cloudtrail/snapshot/api_op_DeleteResourcePolicy.go.snap @@ -14,7 +14,6 @@ DeleteResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_DeleteTrail.go.snap b/service/cloudtrail/snapshot/api_op_DeleteTrail.go.snap index 5e1eec11ff9..77aa553f793 100644 --- a/service/cloudtrail/snapshot/api_op_DeleteTrail.go.snap +++ b/service/cloudtrail/snapshot/api_op_DeleteTrail.go.snap @@ -14,7 +14,6 @@ DeleteTrail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_DeregisterOrganizationDelegatedAdmin.go.snap b/service/cloudtrail/snapshot/api_op_DeregisterOrganizationDelegatedAdmin.go.snap index f529d56b277..d2997e57693 100644 --- a/service/cloudtrail/snapshot/api_op_DeregisterOrganizationDelegatedAdmin.go.snap +++ b/service/cloudtrail/snapshot/api_op_DeregisterOrganizationDelegatedAdmin.go.snap @@ -14,7 +14,6 @@ DeregisterOrganizationDelegatedAdmin Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_DescribeQuery.go.snap b/service/cloudtrail/snapshot/api_op_DescribeQuery.go.snap index 1b219002390..e8b2ee7994b 100644 --- a/service/cloudtrail/snapshot/api_op_DescribeQuery.go.snap +++ b/service/cloudtrail/snapshot/api_op_DescribeQuery.go.snap @@ -13,7 +13,6 @@ DescribeQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_DescribeTrails.go.snap b/service/cloudtrail/snapshot/api_op_DescribeTrails.go.snap index 1992afa3eac..b54dce64abd 100644 --- a/service/cloudtrail/snapshot/api_op_DescribeTrails.go.snap +++ b/service/cloudtrail/snapshot/api_op_DescribeTrails.go.snap @@ -13,7 +13,6 @@ DescribeTrails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_DisableFederation.go.snap b/service/cloudtrail/snapshot/api_op_DisableFederation.go.snap index e83bcfb377a..04a8aa20a6a 100644 --- a/service/cloudtrail/snapshot/api_op_DisableFederation.go.snap +++ b/service/cloudtrail/snapshot/api_op_DisableFederation.go.snap @@ -14,7 +14,6 @@ DisableFederation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_EnableFederation.go.snap b/service/cloudtrail/snapshot/api_op_EnableFederation.go.snap index e8ae0073cb0..cc27e814ef0 100644 --- a/service/cloudtrail/snapshot/api_op_EnableFederation.go.snap +++ b/service/cloudtrail/snapshot/api_op_EnableFederation.go.snap @@ -14,7 +14,6 @@ EnableFederation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_GenerateQuery.go.snap b/service/cloudtrail/snapshot/api_op_GenerateQuery.go.snap index 15a45bcddeb..d8dabc81d59 100644 --- a/service/cloudtrail/snapshot/api_op_GenerateQuery.go.snap +++ b/service/cloudtrail/snapshot/api_op_GenerateQuery.go.snap @@ -14,7 +14,6 @@ GenerateQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_GetChannel.go.snap b/service/cloudtrail/snapshot/api_op_GetChannel.go.snap index 470db8f1e77..8a99dcaf3f1 100644 --- a/service/cloudtrail/snapshot/api_op_GetChannel.go.snap +++ b/service/cloudtrail/snapshot/api_op_GetChannel.go.snap @@ -14,7 +14,6 @@ GetChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_GetDashboard.go.snap b/service/cloudtrail/snapshot/api_op_GetDashboard.go.snap index 6f9163e1c21..0921d4bf82b 100644 --- a/service/cloudtrail/snapshot/api_op_GetDashboard.go.snap +++ b/service/cloudtrail/snapshot/api_op_GetDashboard.go.snap @@ -14,7 +14,6 @@ GetDashboard Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_GetEventDataStore.go.snap b/service/cloudtrail/snapshot/api_op_GetEventDataStore.go.snap index ae79d80eb77..694d5a343b3 100644 --- a/service/cloudtrail/snapshot/api_op_GetEventDataStore.go.snap +++ b/service/cloudtrail/snapshot/api_op_GetEventDataStore.go.snap @@ -14,7 +14,6 @@ GetEventDataStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_GetEventSelectors.go.snap b/service/cloudtrail/snapshot/api_op_GetEventSelectors.go.snap index 1934f0f0004..20fcf2ecfd9 100644 --- a/service/cloudtrail/snapshot/api_op_GetEventSelectors.go.snap +++ b/service/cloudtrail/snapshot/api_op_GetEventSelectors.go.snap @@ -14,7 +14,6 @@ GetEventSelectors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_GetImport.go.snap b/service/cloudtrail/snapshot/api_op_GetImport.go.snap index de7d9fb96ee..dca58f258a9 100644 --- a/service/cloudtrail/snapshot/api_op_GetImport.go.snap +++ b/service/cloudtrail/snapshot/api_op_GetImport.go.snap @@ -14,7 +14,6 @@ GetImport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_GetInsightSelectors.go.snap b/service/cloudtrail/snapshot/api_op_GetInsightSelectors.go.snap index 355b16d15a6..440613e54f2 100644 --- a/service/cloudtrail/snapshot/api_op_GetInsightSelectors.go.snap +++ b/service/cloudtrail/snapshot/api_op_GetInsightSelectors.go.snap @@ -13,7 +13,6 @@ GetInsightSelectors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_GetQueryResults.go.snap b/service/cloudtrail/snapshot/api_op_GetQueryResults.go.snap index 7f73c5ba632..68a5b62133d 100644 --- a/service/cloudtrail/snapshot/api_op_GetQueryResults.go.snap +++ b/service/cloudtrail/snapshot/api_op_GetQueryResults.go.snap @@ -14,7 +14,6 @@ GetQueryResults Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_GetResourcePolicy.go.snap b/service/cloudtrail/snapshot/api_op_GetResourcePolicy.go.snap index e3408c09804..4b3e7d017fa 100644 --- a/service/cloudtrail/snapshot/api_op_GetResourcePolicy.go.snap +++ b/service/cloudtrail/snapshot/api_op_GetResourcePolicy.go.snap @@ -14,7 +14,6 @@ GetResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_GetTrail.go.snap b/service/cloudtrail/snapshot/api_op_GetTrail.go.snap index 8333dc64bfb..614b06774e4 100644 --- a/service/cloudtrail/snapshot/api_op_GetTrail.go.snap +++ b/service/cloudtrail/snapshot/api_op_GetTrail.go.snap @@ -14,7 +14,6 @@ GetTrail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_GetTrailStatus.go.snap b/service/cloudtrail/snapshot/api_op_GetTrailStatus.go.snap index 691f8537e4b..525b878aa1e 100644 --- a/service/cloudtrail/snapshot/api_op_GetTrailStatus.go.snap +++ b/service/cloudtrail/snapshot/api_op_GetTrailStatus.go.snap @@ -14,7 +14,6 @@ GetTrailStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_ListChannels.go.snap b/service/cloudtrail/snapshot/api_op_ListChannels.go.snap index ba520959789..a6c9b89d3b2 100644 --- a/service/cloudtrail/snapshot/api_op_ListChannels.go.snap +++ b/service/cloudtrail/snapshot/api_op_ListChannels.go.snap @@ -13,7 +13,6 @@ ListChannels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_ListDashboards.go.snap b/service/cloudtrail/snapshot/api_op_ListDashboards.go.snap index c6d6501d481..c95c55e3a38 100644 --- a/service/cloudtrail/snapshot/api_op_ListDashboards.go.snap +++ b/service/cloudtrail/snapshot/api_op_ListDashboards.go.snap @@ -13,7 +13,6 @@ ListDashboards Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_ListEventDataStores.go.snap b/service/cloudtrail/snapshot/api_op_ListEventDataStores.go.snap index a7341ab9844..586adb9a59a 100644 --- a/service/cloudtrail/snapshot/api_op_ListEventDataStores.go.snap +++ b/service/cloudtrail/snapshot/api_op_ListEventDataStores.go.snap @@ -13,7 +13,6 @@ ListEventDataStores Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_ListImportFailures.go.snap b/service/cloudtrail/snapshot/api_op_ListImportFailures.go.snap index 6629c065ca8..fe354c79fb5 100644 --- a/service/cloudtrail/snapshot/api_op_ListImportFailures.go.snap +++ b/service/cloudtrail/snapshot/api_op_ListImportFailures.go.snap @@ -14,7 +14,6 @@ ListImportFailures Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_ListImports.go.snap b/service/cloudtrail/snapshot/api_op_ListImports.go.snap index 6488b45f588..df03e4bff6a 100644 --- a/service/cloudtrail/snapshot/api_op_ListImports.go.snap +++ b/service/cloudtrail/snapshot/api_op_ListImports.go.snap @@ -13,7 +13,6 @@ ListImports Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_ListInsightsMetricData.go.snap b/service/cloudtrail/snapshot/api_op_ListInsightsMetricData.go.snap index 7e7d35b6fcf..f308485f603 100644 --- a/service/cloudtrail/snapshot/api_op_ListInsightsMetricData.go.snap +++ b/service/cloudtrail/snapshot/api_op_ListInsightsMetricData.go.snap @@ -14,7 +14,6 @@ ListInsightsMetricData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_ListPublicKeys.go.snap b/service/cloudtrail/snapshot/api_op_ListPublicKeys.go.snap index 63f50b7ceee..92498507334 100644 --- a/service/cloudtrail/snapshot/api_op_ListPublicKeys.go.snap +++ b/service/cloudtrail/snapshot/api_op_ListPublicKeys.go.snap @@ -13,7 +13,6 @@ ListPublicKeys Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_ListQueries.go.snap b/service/cloudtrail/snapshot/api_op_ListQueries.go.snap index e1dcd46b655..61de1b2c894 100644 --- a/service/cloudtrail/snapshot/api_op_ListQueries.go.snap +++ b/service/cloudtrail/snapshot/api_op_ListQueries.go.snap @@ -14,7 +14,6 @@ ListQueries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_ListTags.go.snap b/service/cloudtrail/snapshot/api_op_ListTags.go.snap index 1b1e99185a9..438bd1b7aec 100644 --- a/service/cloudtrail/snapshot/api_op_ListTags.go.snap +++ b/service/cloudtrail/snapshot/api_op_ListTags.go.snap @@ -14,7 +14,6 @@ ListTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_ListTrails.go.snap b/service/cloudtrail/snapshot/api_op_ListTrails.go.snap index ddfbd8ffab3..cc11f381da0 100644 --- a/service/cloudtrail/snapshot/api_op_ListTrails.go.snap +++ b/service/cloudtrail/snapshot/api_op_ListTrails.go.snap @@ -13,7 +13,6 @@ ListTrails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_LookupEvents.go.snap b/service/cloudtrail/snapshot/api_op_LookupEvents.go.snap index 26ce9cdd45c..acc336f610a 100644 --- a/service/cloudtrail/snapshot/api_op_LookupEvents.go.snap +++ b/service/cloudtrail/snapshot/api_op_LookupEvents.go.snap @@ -14,7 +14,6 @@ LookupEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_PutEventSelectors.go.snap b/service/cloudtrail/snapshot/api_op_PutEventSelectors.go.snap index 96ff2bce817..5c73d831d7b 100644 --- a/service/cloudtrail/snapshot/api_op_PutEventSelectors.go.snap +++ b/service/cloudtrail/snapshot/api_op_PutEventSelectors.go.snap @@ -14,7 +14,6 @@ PutEventSelectors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_PutInsightSelectors.go.snap b/service/cloudtrail/snapshot/api_op_PutInsightSelectors.go.snap index 3be22bf0b23..b0b057d8cff 100644 --- a/service/cloudtrail/snapshot/api_op_PutInsightSelectors.go.snap +++ b/service/cloudtrail/snapshot/api_op_PutInsightSelectors.go.snap @@ -14,7 +14,6 @@ PutInsightSelectors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_PutResourcePolicy.go.snap b/service/cloudtrail/snapshot/api_op_PutResourcePolicy.go.snap index 30530b1514f..47bad3fad0e 100644 --- a/service/cloudtrail/snapshot/api_op_PutResourcePolicy.go.snap +++ b/service/cloudtrail/snapshot/api_op_PutResourcePolicy.go.snap @@ -14,7 +14,6 @@ PutResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_RegisterOrganizationDelegatedAdmin.go.snap b/service/cloudtrail/snapshot/api_op_RegisterOrganizationDelegatedAdmin.go.snap index 69da8539761..84f7b577966 100644 --- a/service/cloudtrail/snapshot/api_op_RegisterOrganizationDelegatedAdmin.go.snap +++ b/service/cloudtrail/snapshot/api_op_RegisterOrganizationDelegatedAdmin.go.snap @@ -14,7 +14,6 @@ RegisterOrganizationDelegatedAdmin Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_RemoveTags.go.snap b/service/cloudtrail/snapshot/api_op_RemoveTags.go.snap index eb11fc26f76..e1cbd329051 100644 --- a/service/cloudtrail/snapshot/api_op_RemoveTags.go.snap +++ b/service/cloudtrail/snapshot/api_op_RemoveTags.go.snap @@ -14,7 +14,6 @@ RemoveTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_RestoreEventDataStore.go.snap b/service/cloudtrail/snapshot/api_op_RestoreEventDataStore.go.snap index b41a0a4d1b8..a6716de864e 100644 --- a/service/cloudtrail/snapshot/api_op_RestoreEventDataStore.go.snap +++ b/service/cloudtrail/snapshot/api_op_RestoreEventDataStore.go.snap @@ -14,7 +14,6 @@ RestoreEventDataStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_SearchSampleQueries.go.snap b/service/cloudtrail/snapshot/api_op_SearchSampleQueries.go.snap index 3344b5c9e66..a83c7b8233f 100644 --- a/service/cloudtrail/snapshot/api_op_SearchSampleQueries.go.snap +++ b/service/cloudtrail/snapshot/api_op_SearchSampleQueries.go.snap @@ -14,7 +14,6 @@ SearchSampleQueries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_StartDashboardRefresh.go.snap b/service/cloudtrail/snapshot/api_op_StartDashboardRefresh.go.snap index 975284b8226..d16b92a8ff4 100644 --- a/service/cloudtrail/snapshot/api_op_StartDashboardRefresh.go.snap +++ b/service/cloudtrail/snapshot/api_op_StartDashboardRefresh.go.snap @@ -14,7 +14,6 @@ StartDashboardRefresh Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_StartEventDataStoreIngestion.go.snap b/service/cloudtrail/snapshot/api_op_StartEventDataStoreIngestion.go.snap index 227a6d49e34..5ad340f0fc9 100644 --- a/service/cloudtrail/snapshot/api_op_StartEventDataStoreIngestion.go.snap +++ b/service/cloudtrail/snapshot/api_op_StartEventDataStoreIngestion.go.snap @@ -14,7 +14,6 @@ StartEventDataStoreIngestion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_StartImport.go.snap b/service/cloudtrail/snapshot/api_op_StartImport.go.snap index cc18bd3db0b..e9617340a4a 100644 --- a/service/cloudtrail/snapshot/api_op_StartImport.go.snap +++ b/service/cloudtrail/snapshot/api_op_StartImport.go.snap @@ -14,7 +14,6 @@ StartImport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_StartLogging.go.snap b/service/cloudtrail/snapshot/api_op_StartLogging.go.snap index da60c23fc5b..896b60c18e9 100644 --- a/service/cloudtrail/snapshot/api_op_StartLogging.go.snap +++ b/service/cloudtrail/snapshot/api_op_StartLogging.go.snap @@ -14,7 +14,6 @@ StartLogging Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_StartQuery.go.snap b/service/cloudtrail/snapshot/api_op_StartQuery.go.snap index 4edafe9e0b7..16b32c80ed0 100644 --- a/service/cloudtrail/snapshot/api_op_StartQuery.go.snap +++ b/service/cloudtrail/snapshot/api_op_StartQuery.go.snap @@ -13,7 +13,6 @@ StartQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_StopEventDataStoreIngestion.go.snap b/service/cloudtrail/snapshot/api_op_StopEventDataStoreIngestion.go.snap index 5bf65f9712e..d147d4e50f1 100644 --- a/service/cloudtrail/snapshot/api_op_StopEventDataStoreIngestion.go.snap +++ b/service/cloudtrail/snapshot/api_op_StopEventDataStoreIngestion.go.snap @@ -14,7 +14,6 @@ StopEventDataStoreIngestion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_StopImport.go.snap b/service/cloudtrail/snapshot/api_op_StopImport.go.snap index bf1e9411343..1c7903203ae 100644 --- a/service/cloudtrail/snapshot/api_op_StopImport.go.snap +++ b/service/cloudtrail/snapshot/api_op_StopImport.go.snap @@ -14,7 +14,6 @@ StopImport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_StopLogging.go.snap b/service/cloudtrail/snapshot/api_op_StopLogging.go.snap index 732ef0ec054..ebc8144334c 100644 --- a/service/cloudtrail/snapshot/api_op_StopLogging.go.snap +++ b/service/cloudtrail/snapshot/api_op_StopLogging.go.snap @@ -14,7 +14,6 @@ StopLogging Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_UpdateChannel.go.snap b/service/cloudtrail/snapshot/api_op_UpdateChannel.go.snap index 4ee65c8c5a7..f4150e2b85f 100644 --- a/service/cloudtrail/snapshot/api_op_UpdateChannel.go.snap +++ b/service/cloudtrail/snapshot/api_op_UpdateChannel.go.snap @@ -14,7 +14,6 @@ UpdateChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_UpdateDashboard.go.snap b/service/cloudtrail/snapshot/api_op_UpdateDashboard.go.snap index 7e154c9832a..b0e69548223 100644 --- a/service/cloudtrail/snapshot/api_op_UpdateDashboard.go.snap +++ b/service/cloudtrail/snapshot/api_op_UpdateDashboard.go.snap @@ -14,7 +14,6 @@ UpdateDashboard Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_UpdateEventDataStore.go.snap b/service/cloudtrail/snapshot/api_op_UpdateEventDataStore.go.snap index 079d0b6a997..99a89a0b0eb 100644 --- a/service/cloudtrail/snapshot/api_op_UpdateEventDataStore.go.snap +++ b/service/cloudtrail/snapshot/api_op_UpdateEventDataStore.go.snap @@ -14,7 +14,6 @@ UpdateEventDataStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtrail/snapshot/api_op_UpdateTrail.go.snap b/service/cloudtrail/snapshot/api_op_UpdateTrail.go.snap index 07b87f01cb8..cec331ceac5 100644 --- a/service/cloudtrail/snapshot/api_op_UpdateTrail.go.snap +++ b/service/cloudtrail/snapshot/api_op_UpdateTrail.go.snap @@ -14,7 +14,6 @@ UpdateTrail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudtraildata/api_client.go b/service/cloudtraildata/api_client.go index 8bfc5bd6297..f335bb8f028 100644 --- a/service/cloudtraildata/api_client.go +++ b/service/cloudtraildata/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/cloudtraildata/api_op_PutAuditEvents.go b/service/cloudtraildata/api_op_PutAuditEvents.go index b700fa352c8..8d84bf36293 100644 --- a/service/cloudtraildata/api_op_PutAuditEvents.go +++ b/service/cloudtraildata/api_op_PutAuditEvents.go @@ -136,9 +136,6 @@ func (c *Client) addOperationPutAuditEventsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutAuditEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudtraildata/snapshot/api_op_PutAuditEvents.go.snap b/service/cloudtraildata/snapshot/api_op_PutAuditEvents.go.snap index 2bf16ff7523..f3048ba8982 100644 --- a/service/cloudtraildata/snapshot/api_op_PutAuditEvents.go.snap +++ b/service/cloudtraildata/snapshot/api_op_PutAuditEvents.go.snap @@ -14,7 +14,6 @@ PutAuditEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/api_client.go b/service/cloudwatch/api_client.go index 1f34439248a..bf0a80a86f0 100644 --- a/service/cloudwatch/api_client.go +++ b/service/cloudwatch/api_client.go @@ -775,37 +775,6 @@ func addIsRequestCompressionUserAgent(stack *middleware.Stack, options Options) return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/cloudwatch/api_op_DeleteAlarms.go b/service/cloudwatch/api_op_DeleteAlarms.go index 694d96de597..4dee8253772 100644 --- a/service/cloudwatch/api_op_DeleteAlarms.go +++ b/service/cloudwatch/api_op_DeleteAlarms.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDeleteAlarmsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAlarmsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_DeleteAnomalyDetector.go b/service/cloudwatch/api_op_DeleteAnomalyDetector.go index fb1876215ec..64cf2b5c0dc 100644 --- a/service/cloudwatch/api_op_DeleteAnomalyDetector.go +++ b/service/cloudwatch/api_op_DeleteAnomalyDetector.go @@ -166,9 +166,6 @@ func (c *Client) addOperationDeleteAnomalyDetectorMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAnomalyDetectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_DeleteDashboards.go b/service/cloudwatch/api_op_DeleteDashboards.go index 2c61edad33f..f75ed860dee 100644 --- a/service/cloudwatch/api_op_DeleteDashboards.go +++ b/service/cloudwatch/api_op_DeleteDashboards.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteDashboardsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDashboardsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_DeleteInsightRules.go b/service/cloudwatch/api_op_DeleteInsightRules.go index 00df778658a..87971acc266 100644 --- a/service/cloudwatch/api_op_DeleteInsightRules.go +++ b/service/cloudwatch/api_op_DeleteInsightRules.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteInsightRulesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInsightRulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_DeleteMetricStream.go b/service/cloudwatch/api_op_DeleteMetricStream.go index edadc539e01..6581975a60e 100644 --- a/service/cloudwatch/api_op_DeleteMetricStream.go +++ b/service/cloudwatch/api_op_DeleteMetricStream.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteMetricStreamMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMetricStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_DescribeAlarmHistory.go b/service/cloudwatch/api_op_DescribeAlarmHistory.go index 3afbdaf22e9..2b6b65b8da9 100644 --- a/service/cloudwatch/api_op_DescribeAlarmHistory.go +++ b/service/cloudwatch/api_op_DescribeAlarmHistory.go @@ -149,9 +149,6 @@ func (c *Client) addOperationDescribeAlarmHistoryMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAlarmHistory(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatch/api_op_DescribeAlarms.go b/service/cloudwatch/api_op_DescribeAlarms.go index 0b385d249f3..0d7ea9a4db0 100644 --- a/service/cloudwatch/api_op_DescribeAlarms.go +++ b/service/cloudwatch/api_op_DescribeAlarms.go @@ -194,9 +194,6 @@ func (c *Client) addOperationDescribeAlarmsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAlarms(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatch/api_op_DescribeAlarmsForMetric.go b/service/cloudwatch/api_op_DescribeAlarmsForMetric.go index d8537f6cf27..6343ef4f96c 100644 --- a/service/cloudwatch/api_op_DescribeAlarmsForMetric.go +++ b/service/cloudwatch/api_op_DescribeAlarmsForMetric.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDescribeAlarmsForMetricMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAlarmsForMetricValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_DescribeAnomalyDetectors.go b/service/cloudwatch/api_op_DescribeAnomalyDetectors.go index d76fe7a5034..9fc87d54322 100644 --- a/service/cloudwatch/api_op_DescribeAnomalyDetectors.go +++ b/service/cloudwatch/api_op_DescribeAnomalyDetectors.go @@ -146,9 +146,6 @@ func (c *Client) addOperationDescribeAnomalyDetectorsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAnomalyDetectorsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_DescribeInsightRules.go b/service/cloudwatch/api_op_DescribeInsightRules.go index a9770157a03..26a38dbc77e 100644 --- a/service/cloudwatch/api_op_DescribeInsightRules.go +++ b/service/cloudwatch/api_op_DescribeInsightRules.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeInsightRulesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInsightRules(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatch/api_op_DisableAlarmActions.go b/service/cloudwatch/api_op_DisableAlarmActions.go index 40d7e5252b2..6853eeb87af 100644 --- a/service/cloudwatch/api_op_DisableAlarmActions.go +++ b/service/cloudwatch/api_op_DisableAlarmActions.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDisableAlarmActionsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableAlarmActionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_DisableInsightRules.go b/service/cloudwatch/api_op_DisableInsightRules.go index 08e7cbc6e5b..09fd693df29 100644 --- a/service/cloudwatch/api_op_DisableInsightRules.go +++ b/service/cloudwatch/api_op_DisableInsightRules.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDisableInsightRulesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableInsightRulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_EnableAlarmActions.go b/service/cloudwatch/api_op_EnableAlarmActions.go index 370b06e5d2f..596bb05f63c 100644 --- a/service/cloudwatch/api_op_EnableAlarmActions.go +++ b/service/cloudwatch/api_op_EnableAlarmActions.go @@ -107,9 +107,6 @@ func (c *Client) addOperationEnableAlarmActionsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableAlarmActionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_EnableInsightRules.go b/service/cloudwatch/api_op_EnableInsightRules.go index 15f7956b1f3..ee2201cc45e 100644 --- a/service/cloudwatch/api_op_EnableInsightRules.go +++ b/service/cloudwatch/api_op_EnableInsightRules.go @@ -117,9 +117,6 @@ func (c *Client) addOperationEnableInsightRulesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableInsightRulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_GetDashboard.go b/service/cloudwatch/api_op_GetDashboard.go index 6b88eb63a8d..03971d834b6 100644 --- a/service/cloudwatch/api_op_GetDashboard.go +++ b/service/cloudwatch/api_op_GetDashboard.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetDashboardMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDashboardValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_GetInsightRuleReport.go b/service/cloudwatch/api_op_GetInsightRuleReport.go index dfe6c33015c..ae65b36bd01 100644 --- a/service/cloudwatch/api_op_GetInsightRuleReport.go +++ b/service/cloudwatch/api_op_GetInsightRuleReport.go @@ -221,9 +221,6 @@ func (c *Client) addOperationGetInsightRuleReportMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInsightRuleReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_GetMetricData.go b/service/cloudwatch/api_op_GetMetricData.go index 92102b3034c..9a8752e6879 100644 --- a/service/cloudwatch/api_op_GetMetricData.go +++ b/service/cloudwatch/api_op_GetMetricData.go @@ -260,9 +260,6 @@ func (c *Client) addOperationGetMetricDataMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMetricDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_GetMetricStatistics.go b/service/cloudwatch/api_op_GetMetricStatistics.go index 128569616a7..24aad1d2128 100644 --- a/service/cloudwatch/api_op_GetMetricStatistics.go +++ b/service/cloudwatch/api_op_GetMetricStatistics.go @@ -265,9 +265,6 @@ func (c *Client) addOperationGetMetricStatisticsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMetricStatisticsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_GetMetricStream.go b/service/cloudwatch/api_op_GetMetricStream.go index 6459335f12a..ca823555cb5 100644 --- a/service/cloudwatch/api_op_GetMetricStream.go +++ b/service/cloudwatch/api_op_GetMetricStream.go @@ -161,9 +161,6 @@ func (c *Client) addOperationGetMetricStreamMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMetricStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_GetMetricWidgetImage.go b/service/cloudwatch/api_op_GetMetricWidgetImage.go index e9722c4796c..e0afc5c3f4e 100644 --- a/service/cloudwatch/api_op_GetMetricWidgetImage.go +++ b/service/cloudwatch/api_op_GetMetricWidgetImage.go @@ -154,9 +154,6 @@ func (c *Client) addOperationGetMetricWidgetImageMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMetricWidgetImageValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_ListDashboards.go b/service/cloudwatch/api_op_ListDashboards.go index c893154baaa..8fadf3c8072 100644 --- a/service/cloudwatch/api_op_ListDashboards.go +++ b/service/cloudwatch/api_op_ListDashboards.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListDashboardsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDashboards(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatch/api_op_ListManagedInsightRules.go b/service/cloudwatch/api_op_ListManagedInsightRules.go index f1c10a033bd..fb3507ffd5e 100644 --- a/service/cloudwatch/api_op_ListManagedInsightRules.go +++ b/service/cloudwatch/api_op_ListManagedInsightRules.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListManagedInsightRulesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListManagedInsightRulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_ListMetricStreams.go b/service/cloudwatch/api_op_ListMetricStreams.go index 90a2e0681a0..2cbd2e70e12 100644 --- a/service/cloudwatch/api_op_ListMetricStreams.go +++ b/service/cloudwatch/api_op_ListMetricStreams.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListMetricStreamsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMetricStreams(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatch/api_op_ListMetrics.go b/service/cloudwatch/api_op_ListMetrics.go index 2379caa669b..d7885d5c8a1 100644 --- a/service/cloudwatch/api_op_ListMetrics.go +++ b/service/cloudwatch/api_op_ListMetrics.go @@ -172,9 +172,6 @@ func (c *Client) addOperationListMetricsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMetricsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_ListTagsForResource.go b/service/cloudwatch/api_op_ListTagsForResource.go index 30536374790..49093ccaf0a 100644 --- a/service/cloudwatch/api_op_ListTagsForResource.go +++ b/service/cloudwatch/api_op_ListTagsForResource.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_PutAnomalyDetector.go b/service/cloudwatch/api_op_PutAnomalyDetector.go index 99b21203b37..b33cecc5eaa 100644 --- a/service/cloudwatch/api_op_PutAnomalyDetector.go +++ b/service/cloudwatch/api_op_PutAnomalyDetector.go @@ -183,9 +183,6 @@ func (c *Client) addOperationPutAnomalyDetectorMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutAnomalyDetectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_PutCompositeAlarm.go b/service/cloudwatch/api_op_PutCompositeAlarm.go index 6a60adfee90..ead8c144e98 100644 --- a/service/cloudwatch/api_op_PutCompositeAlarm.go +++ b/service/cloudwatch/api_op_PutCompositeAlarm.go @@ -332,9 +332,6 @@ func (c *Client) addOperationPutCompositeAlarmMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutCompositeAlarmValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_PutDashboard.go b/service/cloudwatch/api_op_PutDashboard.go index 781f168189a..0218a50fe1b 100644 --- a/service/cloudwatch/api_op_PutDashboard.go +++ b/service/cloudwatch/api_op_PutDashboard.go @@ -151,9 +151,6 @@ func (c *Client) addOperationPutDashboardMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutDashboardValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_PutInsightRule.go b/service/cloudwatch/api_op_PutInsightRule.go index 4d57c550f3e..6f1d7c52587 100644 --- a/service/cloudwatch/api_op_PutInsightRule.go +++ b/service/cloudwatch/api_op_PutInsightRule.go @@ -144,9 +144,6 @@ func (c *Client) addOperationPutInsightRuleMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutInsightRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_PutManagedInsightRules.go b/service/cloudwatch/api_op_PutManagedInsightRules.go index 585ccada99c..328c5dc18b3 100644 --- a/service/cloudwatch/api_op_PutManagedInsightRules.go +++ b/service/cloudwatch/api_op_PutManagedInsightRules.go @@ -120,9 +120,6 @@ func (c *Client) addOperationPutManagedInsightRulesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutManagedInsightRulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_PutMetricAlarm.go b/service/cloudwatch/api_op_PutMetricAlarm.go index 3296f3a9342..edc692c1b4c 100644 --- a/service/cloudwatch/api_op_PutMetricAlarm.go +++ b/service/cloudwatch/api_op_PutMetricAlarm.go @@ -525,9 +525,6 @@ func (c *Client) addOperationPutMetricAlarmMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutMetricAlarmValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_PutMetricData.go b/service/cloudwatch/api_op_PutMetricData.go index 4eef21d3083..12ff10fee20 100644 --- a/service/cloudwatch/api_op_PutMetricData.go +++ b/service/cloudwatch/api_op_PutMetricData.go @@ -224,9 +224,6 @@ func (c *Client) addOperationPutMetricDataMiddlewares(stack *middleware.Stack, o if err = addIsRequestCompressionUserAgent(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOperationPutMetricDataRequestCompressionMiddleware(stack, options); err != nil { return err } diff --git a/service/cloudwatch/api_op_PutMetricStream.go b/service/cloudwatch/api_op_PutMetricStream.go index df23b2c9cf8..3dca810b7c2 100644 --- a/service/cloudwatch/api_op_PutMetricStream.go +++ b/service/cloudwatch/api_op_PutMetricStream.go @@ -230,9 +230,6 @@ func (c *Client) addOperationPutMetricStreamMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutMetricStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_SetAlarmState.go b/service/cloudwatch/api_op_SetAlarmState.go index 71e55840c4c..492661a473f 100644 --- a/service/cloudwatch/api_op_SetAlarmState.go +++ b/service/cloudwatch/api_op_SetAlarmState.go @@ -144,9 +144,6 @@ func (c *Client) addOperationSetAlarmStateMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetAlarmStateValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_StartMetricStreams.go b/service/cloudwatch/api_op_StartMetricStreams.go index 579e8154b10..394ab1612fc 100644 --- a/service/cloudwatch/api_op_StartMetricStreams.go +++ b/service/cloudwatch/api_op_StartMetricStreams.go @@ -111,9 +111,6 @@ func (c *Client) addOperationStartMetricStreamsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartMetricStreamsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_StopMetricStreams.go b/service/cloudwatch/api_op_StopMetricStreams.go index 657a7a64b8f..6ac7cff546f 100644 --- a/service/cloudwatch/api_op_StopMetricStreams.go +++ b/service/cloudwatch/api_op_StopMetricStreams.go @@ -111,9 +111,6 @@ func (c *Client) addOperationStopMetricStreamsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopMetricStreamsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_TagResource.go b/service/cloudwatch/api_op_TagResource.go index 14a07c293a1..85b25530f43 100644 --- a/service/cloudwatch/api_op_TagResource.go +++ b/service/cloudwatch/api_op_TagResource.go @@ -141,9 +141,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/api_op_UntagResource.go b/service/cloudwatch/api_op_UntagResource.go index 46166de8707..fe1e81aa7db 100644 --- a/service/cloudwatch/api_op_UntagResource.go +++ b/service/cloudwatch/api_op_UntagResource.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatch/snapshot/api_op_DeleteAlarms.go.snap b/service/cloudwatch/snapshot/api_op_DeleteAlarms.go.snap index 29bdd9fda26..8bbb54557ea 100644 --- a/service/cloudwatch/snapshot/api_op_DeleteAlarms.go.snap +++ b/service/cloudwatch/snapshot/api_op_DeleteAlarms.go.snap @@ -14,7 +14,6 @@ DeleteAlarms Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_DeleteAnomalyDetector.go.snap b/service/cloudwatch/snapshot/api_op_DeleteAnomalyDetector.go.snap index a19f7195769..2596fe45385 100644 --- a/service/cloudwatch/snapshot/api_op_DeleteAnomalyDetector.go.snap +++ b/service/cloudwatch/snapshot/api_op_DeleteAnomalyDetector.go.snap @@ -14,7 +14,6 @@ DeleteAnomalyDetector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_DeleteDashboards.go.snap b/service/cloudwatch/snapshot/api_op_DeleteDashboards.go.snap index 3e00b5a44fe..d69010e2fce 100644 --- a/service/cloudwatch/snapshot/api_op_DeleteDashboards.go.snap +++ b/service/cloudwatch/snapshot/api_op_DeleteDashboards.go.snap @@ -14,7 +14,6 @@ DeleteDashboards Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_DeleteInsightRules.go.snap b/service/cloudwatch/snapshot/api_op_DeleteInsightRules.go.snap index da19a3a1ced..79e8a6c9f0b 100644 --- a/service/cloudwatch/snapshot/api_op_DeleteInsightRules.go.snap +++ b/service/cloudwatch/snapshot/api_op_DeleteInsightRules.go.snap @@ -14,7 +14,6 @@ DeleteInsightRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_DeleteMetricStream.go.snap b/service/cloudwatch/snapshot/api_op_DeleteMetricStream.go.snap index 74af03a0ec8..848b655acdd 100644 --- a/service/cloudwatch/snapshot/api_op_DeleteMetricStream.go.snap +++ b/service/cloudwatch/snapshot/api_op_DeleteMetricStream.go.snap @@ -14,7 +14,6 @@ DeleteMetricStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_DescribeAlarmHistory.go.snap b/service/cloudwatch/snapshot/api_op_DescribeAlarmHistory.go.snap index b5c7fc1ed84..5d3a1524d6f 100644 --- a/service/cloudwatch/snapshot/api_op_DescribeAlarmHistory.go.snap +++ b/service/cloudwatch/snapshot/api_op_DescribeAlarmHistory.go.snap @@ -13,7 +13,6 @@ DescribeAlarmHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_DescribeAlarms.go.snap b/service/cloudwatch/snapshot/api_op_DescribeAlarms.go.snap index ab661896973..890fd462c55 100644 --- a/service/cloudwatch/snapshot/api_op_DescribeAlarms.go.snap +++ b/service/cloudwatch/snapshot/api_op_DescribeAlarms.go.snap @@ -13,7 +13,6 @@ DescribeAlarms Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_DescribeAlarmsForMetric.go.snap b/service/cloudwatch/snapshot/api_op_DescribeAlarmsForMetric.go.snap index af167a6bb98..41d98ea945b 100644 --- a/service/cloudwatch/snapshot/api_op_DescribeAlarmsForMetric.go.snap +++ b/service/cloudwatch/snapshot/api_op_DescribeAlarmsForMetric.go.snap @@ -14,7 +14,6 @@ DescribeAlarmsForMetric Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_DescribeAnomalyDetectors.go.snap b/service/cloudwatch/snapshot/api_op_DescribeAnomalyDetectors.go.snap index 766b3119c73..52b1074b628 100644 --- a/service/cloudwatch/snapshot/api_op_DescribeAnomalyDetectors.go.snap +++ b/service/cloudwatch/snapshot/api_op_DescribeAnomalyDetectors.go.snap @@ -14,7 +14,6 @@ DescribeAnomalyDetectors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_DescribeInsightRules.go.snap b/service/cloudwatch/snapshot/api_op_DescribeInsightRules.go.snap index 42f7f52a985..83da95a70a3 100644 --- a/service/cloudwatch/snapshot/api_op_DescribeInsightRules.go.snap +++ b/service/cloudwatch/snapshot/api_op_DescribeInsightRules.go.snap @@ -13,7 +13,6 @@ DescribeInsightRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_DisableAlarmActions.go.snap b/service/cloudwatch/snapshot/api_op_DisableAlarmActions.go.snap index 40d5ef6e66f..0d978055047 100644 --- a/service/cloudwatch/snapshot/api_op_DisableAlarmActions.go.snap +++ b/service/cloudwatch/snapshot/api_op_DisableAlarmActions.go.snap @@ -14,7 +14,6 @@ DisableAlarmActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_DisableInsightRules.go.snap b/service/cloudwatch/snapshot/api_op_DisableInsightRules.go.snap index d1557ca0146..096a1b58c82 100644 --- a/service/cloudwatch/snapshot/api_op_DisableInsightRules.go.snap +++ b/service/cloudwatch/snapshot/api_op_DisableInsightRules.go.snap @@ -14,7 +14,6 @@ DisableInsightRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_EnableAlarmActions.go.snap b/service/cloudwatch/snapshot/api_op_EnableAlarmActions.go.snap index da543ad12f7..9c8f60c4b74 100644 --- a/service/cloudwatch/snapshot/api_op_EnableAlarmActions.go.snap +++ b/service/cloudwatch/snapshot/api_op_EnableAlarmActions.go.snap @@ -14,7 +14,6 @@ EnableAlarmActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_EnableInsightRules.go.snap b/service/cloudwatch/snapshot/api_op_EnableInsightRules.go.snap index e0e1eaa7bbe..b3baa41e307 100644 --- a/service/cloudwatch/snapshot/api_op_EnableInsightRules.go.snap +++ b/service/cloudwatch/snapshot/api_op_EnableInsightRules.go.snap @@ -14,7 +14,6 @@ EnableInsightRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_GetDashboard.go.snap b/service/cloudwatch/snapshot/api_op_GetDashboard.go.snap index 6f9163e1c21..0921d4bf82b 100644 --- a/service/cloudwatch/snapshot/api_op_GetDashboard.go.snap +++ b/service/cloudwatch/snapshot/api_op_GetDashboard.go.snap @@ -14,7 +14,6 @@ GetDashboard Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_GetInsightRuleReport.go.snap b/service/cloudwatch/snapshot/api_op_GetInsightRuleReport.go.snap index 8783650c2f2..461b3c48643 100644 --- a/service/cloudwatch/snapshot/api_op_GetInsightRuleReport.go.snap +++ b/service/cloudwatch/snapshot/api_op_GetInsightRuleReport.go.snap @@ -14,7 +14,6 @@ GetInsightRuleReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_GetMetricData.go.snap b/service/cloudwatch/snapshot/api_op_GetMetricData.go.snap index 61e99872f38..9d59a092b9a 100644 --- a/service/cloudwatch/snapshot/api_op_GetMetricData.go.snap +++ b/service/cloudwatch/snapshot/api_op_GetMetricData.go.snap @@ -14,7 +14,6 @@ GetMetricData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_GetMetricStatistics.go.snap b/service/cloudwatch/snapshot/api_op_GetMetricStatistics.go.snap index c96a167454f..d8eec632f1d 100644 --- a/service/cloudwatch/snapshot/api_op_GetMetricStatistics.go.snap +++ b/service/cloudwatch/snapshot/api_op_GetMetricStatistics.go.snap @@ -14,7 +14,6 @@ GetMetricStatistics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_GetMetricStream.go.snap b/service/cloudwatch/snapshot/api_op_GetMetricStream.go.snap index 7f300dbc8f1..81c17090296 100644 --- a/service/cloudwatch/snapshot/api_op_GetMetricStream.go.snap +++ b/service/cloudwatch/snapshot/api_op_GetMetricStream.go.snap @@ -14,7 +14,6 @@ GetMetricStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_GetMetricWidgetImage.go.snap b/service/cloudwatch/snapshot/api_op_GetMetricWidgetImage.go.snap index 5a2d1008a48..aebd20a7db0 100644 --- a/service/cloudwatch/snapshot/api_op_GetMetricWidgetImage.go.snap +++ b/service/cloudwatch/snapshot/api_op_GetMetricWidgetImage.go.snap @@ -14,7 +14,6 @@ GetMetricWidgetImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_ListDashboards.go.snap b/service/cloudwatch/snapshot/api_op_ListDashboards.go.snap index c6d6501d481..c95c55e3a38 100644 --- a/service/cloudwatch/snapshot/api_op_ListDashboards.go.snap +++ b/service/cloudwatch/snapshot/api_op_ListDashboards.go.snap @@ -13,7 +13,6 @@ ListDashboards Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_ListManagedInsightRules.go.snap b/service/cloudwatch/snapshot/api_op_ListManagedInsightRules.go.snap index 863b27e2cb6..db4393acfdc 100644 --- a/service/cloudwatch/snapshot/api_op_ListManagedInsightRules.go.snap +++ b/service/cloudwatch/snapshot/api_op_ListManagedInsightRules.go.snap @@ -14,7 +14,6 @@ ListManagedInsightRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_ListMetricStreams.go.snap b/service/cloudwatch/snapshot/api_op_ListMetricStreams.go.snap index d2da9862077..4028413ad2f 100644 --- a/service/cloudwatch/snapshot/api_op_ListMetricStreams.go.snap +++ b/service/cloudwatch/snapshot/api_op_ListMetricStreams.go.snap @@ -13,7 +13,6 @@ ListMetricStreams Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_ListMetrics.go.snap b/service/cloudwatch/snapshot/api_op_ListMetrics.go.snap index 182e83cc82e..33a47dba895 100644 --- a/service/cloudwatch/snapshot/api_op_ListMetrics.go.snap +++ b/service/cloudwatch/snapshot/api_op_ListMetrics.go.snap @@ -14,7 +14,6 @@ ListMetrics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_ListTagsForResource.go.snap b/service/cloudwatch/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/cloudwatch/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/cloudwatch/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_PutAnomalyDetector.go.snap b/service/cloudwatch/snapshot/api_op_PutAnomalyDetector.go.snap index 4bd15c54adb..68bbe563ee5 100644 --- a/service/cloudwatch/snapshot/api_op_PutAnomalyDetector.go.snap +++ b/service/cloudwatch/snapshot/api_op_PutAnomalyDetector.go.snap @@ -14,7 +14,6 @@ PutAnomalyDetector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_PutCompositeAlarm.go.snap b/service/cloudwatch/snapshot/api_op_PutCompositeAlarm.go.snap index 0411e0f11a6..7a8785a7002 100644 --- a/service/cloudwatch/snapshot/api_op_PutCompositeAlarm.go.snap +++ b/service/cloudwatch/snapshot/api_op_PutCompositeAlarm.go.snap @@ -14,7 +14,6 @@ PutCompositeAlarm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_PutDashboard.go.snap b/service/cloudwatch/snapshot/api_op_PutDashboard.go.snap index dcdb9e8f4ac..df80da2b546 100644 --- a/service/cloudwatch/snapshot/api_op_PutDashboard.go.snap +++ b/service/cloudwatch/snapshot/api_op_PutDashboard.go.snap @@ -14,7 +14,6 @@ PutDashboard Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_PutInsightRule.go.snap b/service/cloudwatch/snapshot/api_op_PutInsightRule.go.snap index 704ddf55d08..678be5c0b23 100644 --- a/service/cloudwatch/snapshot/api_op_PutInsightRule.go.snap +++ b/service/cloudwatch/snapshot/api_op_PutInsightRule.go.snap @@ -14,7 +14,6 @@ PutInsightRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_PutManagedInsightRules.go.snap b/service/cloudwatch/snapshot/api_op_PutManagedInsightRules.go.snap index fc6e633d941..e881947896b 100644 --- a/service/cloudwatch/snapshot/api_op_PutManagedInsightRules.go.snap +++ b/service/cloudwatch/snapshot/api_op_PutManagedInsightRules.go.snap @@ -14,7 +14,6 @@ PutManagedInsightRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_PutMetricAlarm.go.snap b/service/cloudwatch/snapshot/api_op_PutMetricAlarm.go.snap index 0e49ab84ce6..132e61d9487 100644 --- a/service/cloudwatch/snapshot/api_op_PutMetricAlarm.go.snap +++ b/service/cloudwatch/snapshot/api_op_PutMetricAlarm.go.snap @@ -14,7 +14,6 @@ PutMetricAlarm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_PutMetricData.go.snap b/service/cloudwatch/snapshot/api_op_PutMetricData.go.snap index b0a211dfcf6..88adb1e541e 100644 --- a/service/cloudwatch/snapshot/api_op_PutMetricData.go.snap +++ b/service/cloudwatch/snapshot/api_op_PutMetricData.go.snap @@ -15,7 +15,6 @@ PutMetricData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_PutMetricStream.go.snap b/service/cloudwatch/snapshot/api_op_PutMetricStream.go.snap index 2c2f2af38a3..86bf91df70e 100644 --- a/service/cloudwatch/snapshot/api_op_PutMetricStream.go.snap +++ b/service/cloudwatch/snapshot/api_op_PutMetricStream.go.snap @@ -14,7 +14,6 @@ PutMetricStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_SetAlarmState.go.snap b/service/cloudwatch/snapshot/api_op_SetAlarmState.go.snap index e401bc7c97d..646ce9ae221 100644 --- a/service/cloudwatch/snapshot/api_op_SetAlarmState.go.snap +++ b/service/cloudwatch/snapshot/api_op_SetAlarmState.go.snap @@ -14,7 +14,6 @@ SetAlarmState Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_StartMetricStreams.go.snap b/service/cloudwatch/snapshot/api_op_StartMetricStreams.go.snap index 4c1580f835f..470928f132f 100644 --- a/service/cloudwatch/snapshot/api_op_StartMetricStreams.go.snap +++ b/service/cloudwatch/snapshot/api_op_StartMetricStreams.go.snap @@ -14,7 +14,6 @@ StartMetricStreams Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_StopMetricStreams.go.snap b/service/cloudwatch/snapshot/api_op_StopMetricStreams.go.snap index 17f28c85714..505e1b06265 100644 --- a/service/cloudwatch/snapshot/api_op_StopMetricStreams.go.snap +++ b/service/cloudwatch/snapshot/api_op_StopMetricStreams.go.snap @@ -14,7 +14,6 @@ StopMetricStreams Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_TagResource.go.snap b/service/cloudwatch/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/cloudwatch/snapshot/api_op_TagResource.go.snap +++ b/service/cloudwatch/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatch/snapshot/api_op_UntagResource.go.snap b/service/cloudwatch/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/cloudwatch/snapshot/api_op_UntagResource.go.snap +++ b/service/cloudwatch/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/api_client.go b/service/cloudwatchevents/api_client.go index 06b8c459cd4..c712db16499 100644 --- a/service/cloudwatchevents/api_client.go +++ b/service/cloudwatchevents/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/cloudwatchevents/api_op_ActivateEventSource.go b/service/cloudwatchevents/api_op_ActivateEventSource.go index ffa43b50cd5..6c45920e428 100644 --- a/service/cloudwatchevents/api_op_ActivateEventSource.go +++ b/service/cloudwatchevents/api_op_ActivateEventSource.go @@ -108,9 +108,6 @@ func (c *Client) addOperationActivateEventSourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpActivateEventSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_CancelReplay.go b/service/cloudwatchevents/api_op_CancelReplay.go index f976abe1b54..e2f81fd984b 100644 --- a/service/cloudwatchevents/api_op_CancelReplay.go +++ b/service/cloudwatchevents/api_op_CancelReplay.go @@ -118,9 +118,6 @@ func (c *Client) addOperationCancelReplayMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelReplayValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_CreateApiDestination.go b/service/cloudwatchevents/api_op_CreateApiDestination.go index 602fa11d36e..ab1ca616786 100644 --- a/service/cloudwatchevents/api_op_CreateApiDestination.go +++ b/service/cloudwatchevents/api_op_CreateApiDestination.go @@ -146,9 +146,6 @@ func (c *Client) addOperationCreateApiDestinationMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateApiDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_CreateArchive.go b/service/cloudwatchevents/api_op_CreateArchive.go index 102ac4e35df..854600b82f3 100644 --- a/service/cloudwatchevents/api_op_CreateArchive.go +++ b/service/cloudwatchevents/api_op_CreateArchive.go @@ -141,9 +141,6 @@ func (c *Client) addOperationCreateArchiveMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateArchiveValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_CreateConnection.go b/service/cloudwatchevents/api_op_CreateConnection.go index d58fb741213..5bfb874f873 100644 --- a/service/cloudwatchevents/api_op_CreateConnection.go +++ b/service/cloudwatchevents/api_op_CreateConnection.go @@ -137,9 +137,6 @@ func (c *Client) addOperationCreateConnectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_CreateEventBus.go b/service/cloudwatchevents/api_op_CreateEventBus.go index cf87731d802..0928c3d9dc4 100644 --- a/service/cloudwatchevents/api_op_CreateEventBus.go +++ b/service/cloudwatchevents/api_op_CreateEventBus.go @@ -128,9 +128,6 @@ func (c *Client) addOperationCreateEventBusMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEventBusValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_CreatePartnerEventSource.go b/service/cloudwatchevents/api_op_CreatePartnerEventSource.go index bf046d3fd6d..5d60c9871bf 100644 --- a/service/cloudwatchevents/api_op_CreatePartnerEventSource.go +++ b/service/cloudwatchevents/api_op_CreatePartnerEventSource.go @@ -146,9 +146,6 @@ func (c *Client) addOperationCreatePartnerEventSourceMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePartnerEventSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DeactivateEventSource.go b/service/cloudwatchevents/api_op_DeactivateEventSource.go index b95c3932c5e..db81f9fda18 100644 --- a/service/cloudwatchevents/api_op_DeactivateEventSource.go +++ b/service/cloudwatchevents/api_op_DeactivateEventSource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeactivateEventSourceMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeactivateEventSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DeauthorizeConnection.go b/service/cloudwatchevents/api_op_DeauthorizeConnection.go index 879e273de67..f66f915387a 100644 --- a/service/cloudwatchevents/api_op_DeauthorizeConnection.go +++ b/service/cloudwatchevents/api_op_DeauthorizeConnection.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDeauthorizeConnectionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeauthorizeConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DeleteApiDestination.go b/service/cloudwatchevents/api_op_DeleteApiDestination.go index c2c32706ce0..9a9b4961a17 100644 --- a/service/cloudwatchevents/api_op_DeleteApiDestination.go +++ b/service/cloudwatchevents/api_op_DeleteApiDestination.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteApiDestinationMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApiDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DeleteArchive.go b/service/cloudwatchevents/api_op_DeleteArchive.go index 366f6a22cd7..a279b844318 100644 --- a/service/cloudwatchevents/api_op_DeleteArchive.go +++ b/service/cloudwatchevents/api_op_DeleteArchive.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteArchiveMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteArchiveValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DeleteConnection.go b/service/cloudwatchevents/api_op_DeleteConnection.go index ba5bc34b3c4..8425c676d12 100644 --- a/service/cloudwatchevents/api_op_DeleteConnection.go +++ b/service/cloudwatchevents/api_op_DeleteConnection.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDeleteConnectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DeleteEventBus.go b/service/cloudwatchevents/api_op_DeleteEventBus.go index 5885f4c2e1f..16e4d347ffd 100644 --- a/service/cloudwatchevents/api_op_DeleteEventBus.go +++ b/service/cloudwatchevents/api_op_DeleteEventBus.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteEventBusMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEventBusValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DeletePartnerEventSource.go b/service/cloudwatchevents/api_op_DeletePartnerEventSource.go index 67feea6f578..ce7784474d9 100644 --- a/service/cloudwatchevents/api_op_DeletePartnerEventSource.go +++ b/service/cloudwatchevents/api_op_DeletePartnerEventSource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeletePartnerEventSourceMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePartnerEventSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DeleteRule.go b/service/cloudwatchevents/api_op_DeleteRule.go index 99e339ad257..9e213f1ebc2 100644 --- a/service/cloudwatchevents/api_op_DeleteRule.go +++ b/service/cloudwatchevents/api_op_DeleteRule.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDeleteRuleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DescribeApiDestination.go b/service/cloudwatchevents/api_op_DescribeApiDestination.go index 01c8f697fc4..725ac0ff500 100644 --- a/service/cloudwatchevents/api_op_DescribeApiDestination.go +++ b/service/cloudwatchevents/api_op_DescribeApiDestination.go @@ -146,9 +146,6 @@ func (c *Client) addOperationDescribeApiDestinationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeApiDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DescribeArchive.go b/service/cloudwatchevents/api_op_DescribeArchive.go index 4564530388f..b54a1ae83a5 100644 --- a/service/cloudwatchevents/api_op_DescribeArchive.go +++ b/service/cloudwatchevents/api_op_DescribeArchive.go @@ -143,9 +143,6 @@ func (c *Client) addOperationDescribeArchiveMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeArchiveValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DescribeConnection.go b/service/cloudwatchevents/api_op_DescribeConnection.go index a54eb9cf736..8e6e2aa2e2a 100644 --- a/service/cloudwatchevents/api_op_DescribeConnection.go +++ b/service/cloudwatchevents/api_op_DescribeConnection.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDescribeConnectionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DescribeEventBus.go b/service/cloudwatchevents/api_op_DescribeEventBus.go index 31ec80cbffc..d1cbbfc26e5 100644 --- a/service/cloudwatchevents/api_op_DescribeEventBus.go +++ b/service/cloudwatchevents/api_op_DescribeEventBus.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDescribeEventBusMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEventBus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DescribeEventSource.go b/service/cloudwatchevents/api_op_DescribeEventSource.go index 3ffb602e95b..af831cd4bf3 100644 --- a/service/cloudwatchevents/api_op_DescribeEventSource.go +++ b/service/cloudwatchevents/api_op_DescribeEventSource.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeEventSourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEventSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DescribePartnerEventSource.go b/service/cloudwatchevents/api_op_DescribePartnerEventSource.go index fd235fe7856..93a8782be78 100644 --- a/service/cloudwatchevents/api_op_DescribePartnerEventSource.go +++ b/service/cloudwatchevents/api_op_DescribePartnerEventSource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribePartnerEventSourceMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePartnerEventSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DescribeReplay.go b/service/cloudwatchevents/api_op_DescribeReplay.go index 2c7e96c6d23..76692aa2af4 100644 --- a/service/cloudwatchevents/api_op_DescribeReplay.go +++ b/service/cloudwatchevents/api_op_DescribeReplay.go @@ -154,9 +154,6 @@ func (c *Client) addOperationDescribeReplayMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeReplayValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DescribeRule.go b/service/cloudwatchevents/api_op_DescribeRule.go index 09655e1bb0a..9fed173e27f 100644 --- a/service/cloudwatchevents/api_op_DescribeRule.go +++ b/service/cloudwatchevents/api_op_DescribeRule.go @@ -157,9 +157,6 @@ func (c *Client) addOperationDescribeRuleMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_DisableRule.go b/service/cloudwatchevents/api_op_DisableRule.go index 716401ff2b0..40742d6feb0 100644 --- a/service/cloudwatchevents/api_op_DisableRule.go +++ b/service/cloudwatchevents/api_op_DisableRule.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDisableRuleMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_EnableRule.go b/service/cloudwatchevents/api_op_EnableRule.go index 1b2d71f2a94..046750efd75 100644 --- a/service/cloudwatchevents/api_op_EnableRule.go +++ b/service/cloudwatchevents/api_op_EnableRule.go @@ -114,9 +114,6 @@ func (c *Client) addOperationEnableRuleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_ListApiDestinations.go b/service/cloudwatchevents/api_op_ListApiDestinations.go index 6e692987a0c..70d94308052 100644 --- a/service/cloudwatchevents/api_op_ListApiDestinations.go +++ b/service/cloudwatchevents/api_op_ListApiDestinations.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListApiDestinationsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApiDestinations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_ListArchives.go b/service/cloudwatchevents/api_op_ListArchives.go index be92479bc30..a0a12a54b19 100644 --- a/service/cloudwatchevents/api_op_ListArchives.go +++ b/service/cloudwatchevents/api_op_ListArchives.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListArchivesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListArchives(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_ListConnections.go b/service/cloudwatchevents/api_op_ListConnections.go index 4901e2199ca..21d93157d70 100644 --- a/service/cloudwatchevents/api_op_ListConnections.go +++ b/service/cloudwatchevents/api_op_ListConnections.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListConnectionsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConnections(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_ListEventBuses.go b/service/cloudwatchevents/api_op_ListEventBuses.go index b99b2416849..23e6084c54f 100644 --- a/service/cloudwatchevents/api_op_ListEventBuses.go +++ b/service/cloudwatchevents/api_op_ListEventBuses.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListEventBusesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEventBuses(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_ListEventSources.go b/service/cloudwatchevents/api_op_ListEventSources.go index 2d5194f69da..f8443897f50 100644 --- a/service/cloudwatchevents/api_op_ListEventSources.go +++ b/service/cloudwatchevents/api_op_ListEventSources.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListEventSourcesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEventSources(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_ListPartnerEventSourceAccounts.go b/service/cloudwatchevents/api_op_ListPartnerEventSourceAccounts.go index 41aa9894e78..40394707274 100644 --- a/service/cloudwatchevents/api_op_ListPartnerEventSourceAccounts.go +++ b/service/cloudwatchevents/api_op_ListPartnerEventSourceAccounts.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListPartnerEventSourceAccountsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPartnerEventSourceAccountsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_ListPartnerEventSources.go b/service/cloudwatchevents/api_op_ListPartnerEventSources.go index 7af87bee21c..be5a994e332 100644 --- a/service/cloudwatchevents/api_op_ListPartnerEventSources.go +++ b/service/cloudwatchevents/api_op_ListPartnerEventSources.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListPartnerEventSourcesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPartnerEventSourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_ListReplays.go b/service/cloudwatchevents/api_op_ListReplays.go index ab957b76605..d670ea98686 100644 --- a/service/cloudwatchevents/api_op_ListReplays.go +++ b/service/cloudwatchevents/api_op_ListReplays.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListReplaysMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReplays(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_ListRuleNamesByTarget.go b/service/cloudwatchevents/api_op_ListRuleNamesByTarget.go index f3673ca0bcd..78944a932d7 100644 --- a/service/cloudwatchevents/api_op_ListRuleNamesByTarget.go +++ b/service/cloudwatchevents/api_op_ListRuleNamesByTarget.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListRuleNamesByTargetMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRuleNamesByTargetValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_ListRules.go b/service/cloudwatchevents/api_op_ListRules.go index 15fb71deffb..0c10343eee5 100644 --- a/service/cloudwatchevents/api_op_ListRules.go +++ b/service/cloudwatchevents/api_op_ListRules.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListRulesMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRules(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_ListTagsForResource.go b/service/cloudwatchevents/api_op_ListTagsForResource.go index e77fbc7d5ac..0e97d815beb 100644 --- a/service/cloudwatchevents/api_op_ListTagsForResource.go +++ b/service/cloudwatchevents/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_ListTargetsByRule.go b/service/cloudwatchevents/api_op_ListTargetsByRule.go index f4cbf0eaeb5..a12d478cab4 100644 --- a/service/cloudwatchevents/api_op_ListTargetsByRule.go +++ b/service/cloudwatchevents/api_op_ListTargetsByRule.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListTargetsByRuleMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTargetsByRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_PutEvents.go b/service/cloudwatchevents/api_op_PutEvents.go index 00fbe44fdf1..2090fd1d4bf 100644 --- a/service/cloudwatchevents/api_op_PutEvents.go +++ b/service/cloudwatchevents/api_op_PutEvents.go @@ -119,9 +119,6 @@ func (c *Client) addOperationPutEventsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_PutPartnerEvents.go b/service/cloudwatchevents/api_op_PutPartnerEvents.go index c7e6f438ba9..e3b0d454dd5 100644 --- a/service/cloudwatchevents/api_op_PutPartnerEvents.go +++ b/service/cloudwatchevents/api_op_PutPartnerEvents.go @@ -118,9 +118,6 @@ func (c *Client) addOperationPutPartnerEventsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutPartnerEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_PutPermission.go b/service/cloudwatchevents/api_op_PutPermission.go index 22a709023b6..cbc1daa4c21 100644 --- a/service/cloudwatchevents/api_op_PutPermission.go +++ b/service/cloudwatchevents/api_op_PutPermission.go @@ -169,9 +169,6 @@ func (c *Client) addOperationPutPermissionMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutPermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_PutRule.go b/service/cloudwatchevents/api_op_PutRule.go index ff25feb8a20..9ec84a61486 100644 --- a/service/cloudwatchevents/api_op_PutRule.go +++ b/service/cloudwatchevents/api_op_PutRule.go @@ -201,9 +201,6 @@ func (c *Client) addOperationPutRuleMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_PutTargets.go b/service/cloudwatchevents/api_op_PutTargets.go index aba3bfc4919..bdf4e63e6e1 100644 --- a/service/cloudwatchevents/api_op_PutTargets.go +++ b/service/cloudwatchevents/api_op_PutTargets.go @@ -256,9 +256,6 @@ func (c *Client) addOperationPutTargetsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutTargetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_RemovePermission.go b/service/cloudwatchevents/api_op_RemovePermission.go index 6e31ef49dee..2523e67f500 100644 --- a/service/cloudwatchevents/api_op_RemovePermission.go +++ b/service/cloudwatchevents/api_op_RemovePermission.go @@ -118,9 +118,6 @@ func (c *Client) addOperationRemovePermissionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemovePermission(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_RemoveTargets.go b/service/cloudwatchevents/api_op_RemoveTargets.go index 403829009d7..d9f00f2c702 100644 --- a/service/cloudwatchevents/api_op_RemoveTargets.go +++ b/service/cloudwatchevents/api_op_RemoveTargets.go @@ -140,9 +140,6 @@ func (c *Client) addOperationRemoveTargetsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveTargetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_StartReplay.go b/service/cloudwatchevents/api_op_StartReplay.go index 3fd3569b5b9..b55e69d50fd 100644 --- a/service/cloudwatchevents/api_op_StartReplay.go +++ b/service/cloudwatchevents/api_op_StartReplay.go @@ -156,9 +156,6 @@ func (c *Client) addOperationStartReplayMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartReplayValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_TagResource.go b/service/cloudwatchevents/api_op_TagResource.go index 24ceb86e07f..ca3f9e635ab 100644 --- a/service/cloudwatchevents/api_op_TagResource.go +++ b/service/cloudwatchevents/api_op_TagResource.go @@ -128,9 +128,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_TestEventPattern.go b/service/cloudwatchevents/api_op_TestEventPattern.go index c2df3422562..c6f88cdb050 100644 --- a/service/cloudwatchevents/api_op_TestEventPattern.go +++ b/service/cloudwatchevents/api_op_TestEventPattern.go @@ -141,9 +141,6 @@ func (c *Client) addOperationTestEventPatternMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTestEventPatternValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_UntagResource.go b/service/cloudwatchevents/api_op_UntagResource.go index b51b1b308be..5190bbf125b 100644 --- a/service/cloudwatchevents/api_op_UntagResource.go +++ b/service/cloudwatchevents/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_UpdateApiDestination.go b/service/cloudwatchevents/api_op_UpdateApiDestination.go index 6762ec8d35b..9361cc66d6f 100644 --- a/service/cloudwatchevents/api_op_UpdateApiDestination.go +++ b/service/cloudwatchevents/api_op_UpdateApiDestination.go @@ -137,9 +137,6 @@ func (c *Client) addOperationUpdateApiDestinationMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApiDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_UpdateArchive.go b/service/cloudwatchevents/api_op_UpdateArchive.go index 33a9a13a7a1..0f956a1056a 100644 --- a/service/cloudwatchevents/api_op_UpdateArchive.go +++ b/service/cloudwatchevents/api_op_UpdateArchive.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateArchiveMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateArchiveValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/api_op_UpdateConnection.go b/service/cloudwatchevents/api_op_UpdateConnection.go index a18ed7cce71..966383dcd18 100644 --- a/service/cloudwatchevents/api_op_UpdateConnection.go +++ b/service/cloudwatchevents/api_op_UpdateConnection.go @@ -134,9 +134,6 @@ func (c *Client) addOperationUpdateConnectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchevents/snapshot/api_op_ActivateEventSource.go.snap b/service/cloudwatchevents/snapshot/api_op_ActivateEventSource.go.snap index 13578241260..bdc4cf9feed 100644 --- a/service/cloudwatchevents/snapshot/api_op_ActivateEventSource.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_ActivateEventSource.go.snap @@ -14,7 +14,6 @@ ActivateEventSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_CancelReplay.go.snap b/service/cloudwatchevents/snapshot/api_op_CancelReplay.go.snap index efd16f7d562..89a5f86e0ba 100644 --- a/service/cloudwatchevents/snapshot/api_op_CancelReplay.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_CancelReplay.go.snap @@ -14,7 +14,6 @@ CancelReplay Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_CreateApiDestination.go.snap b/service/cloudwatchevents/snapshot/api_op_CreateApiDestination.go.snap index 01ce4f3f7f6..6efea0f4fb4 100644 --- a/service/cloudwatchevents/snapshot/api_op_CreateApiDestination.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_CreateApiDestination.go.snap @@ -14,7 +14,6 @@ CreateApiDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_CreateArchive.go.snap b/service/cloudwatchevents/snapshot/api_op_CreateArchive.go.snap index 150e4e437ba..04f21dc9ab7 100644 --- a/service/cloudwatchevents/snapshot/api_op_CreateArchive.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_CreateArchive.go.snap @@ -14,7 +14,6 @@ CreateArchive Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_CreateConnection.go.snap b/service/cloudwatchevents/snapshot/api_op_CreateConnection.go.snap index 2925a097d86..744b4a055f4 100644 --- a/service/cloudwatchevents/snapshot/api_op_CreateConnection.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_CreateConnection.go.snap @@ -14,7 +14,6 @@ CreateConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_CreateEventBus.go.snap b/service/cloudwatchevents/snapshot/api_op_CreateEventBus.go.snap index 49277728682..83a22ea5504 100644 --- a/service/cloudwatchevents/snapshot/api_op_CreateEventBus.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_CreateEventBus.go.snap @@ -14,7 +14,6 @@ CreateEventBus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_CreatePartnerEventSource.go.snap b/service/cloudwatchevents/snapshot/api_op_CreatePartnerEventSource.go.snap index f620be70de1..8dc7c3d0ad5 100644 --- a/service/cloudwatchevents/snapshot/api_op_CreatePartnerEventSource.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_CreatePartnerEventSource.go.snap @@ -14,7 +14,6 @@ CreatePartnerEventSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_DeactivateEventSource.go.snap b/service/cloudwatchevents/snapshot/api_op_DeactivateEventSource.go.snap index 96eaf6898f8..491f07d6464 100644 --- a/service/cloudwatchevents/snapshot/api_op_DeactivateEventSource.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_DeactivateEventSource.go.snap @@ -14,7 +14,6 @@ DeactivateEventSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_DeauthorizeConnection.go.snap b/service/cloudwatchevents/snapshot/api_op_DeauthorizeConnection.go.snap index 874d5dd6092..a0787815188 100644 --- a/service/cloudwatchevents/snapshot/api_op_DeauthorizeConnection.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_DeauthorizeConnection.go.snap @@ -14,7 +14,6 @@ DeauthorizeConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_DeleteApiDestination.go.snap b/service/cloudwatchevents/snapshot/api_op_DeleteApiDestination.go.snap index c98e99aac26..1066f808dea 100644 --- a/service/cloudwatchevents/snapshot/api_op_DeleteApiDestination.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_DeleteApiDestination.go.snap @@ -14,7 +14,6 @@ DeleteApiDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_DeleteArchive.go.snap b/service/cloudwatchevents/snapshot/api_op_DeleteArchive.go.snap index f9b75f67fc3..37427d3c201 100644 --- a/service/cloudwatchevents/snapshot/api_op_DeleteArchive.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_DeleteArchive.go.snap @@ -14,7 +14,6 @@ DeleteArchive Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_DeleteConnection.go.snap b/service/cloudwatchevents/snapshot/api_op_DeleteConnection.go.snap index 95b646dafd7..a9cca584913 100644 --- a/service/cloudwatchevents/snapshot/api_op_DeleteConnection.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_DeleteConnection.go.snap @@ -14,7 +14,6 @@ DeleteConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_DeleteEventBus.go.snap b/service/cloudwatchevents/snapshot/api_op_DeleteEventBus.go.snap index 5489ed89684..b460794eacf 100644 --- a/service/cloudwatchevents/snapshot/api_op_DeleteEventBus.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_DeleteEventBus.go.snap @@ -14,7 +14,6 @@ DeleteEventBus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_DeletePartnerEventSource.go.snap b/service/cloudwatchevents/snapshot/api_op_DeletePartnerEventSource.go.snap index 0c7e5731c34..25236a19825 100644 --- a/service/cloudwatchevents/snapshot/api_op_DeletePartnerEventSource.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_DeletePartnerEventSource.go.snap @@ -14,7 +14,6 @@ DeletePartnerEventSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_DeleteRule.go.snap b/service/cloudwatchevents/snapshot/api_op_DeleteRule.go.snap index dd841287b59..a6bc8103292 100644 --- a/service/cloudwatchevents/snapshot/api_op_DeleteRule.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_DeleteRule.go.snap @@ -14,7 +14,6 @@ DeleteRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_DescribeApiDestination.go.snap b/service/cloudwatchevents/snapshot/api_op_DescribeApiDestination.go.snap index af26fc07b23..efc609b777c 100644 --- a/service/cloudwatchevents/snapshot/api_op_DescribeApiDestination.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_DescribeApiDestination.go.snap @@ -14,7 +14,6 @@ DescribeApiDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_DescribeArchive.go.snap b/service/cloudwatchevents/snapshot/api_op_DescribeArchive.go.snap index ffbc9214499..22e94de4eab 100644 --- a/service/cloudwatchevents/snapshot/api_op_DescribeArchive.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_DescribeArchive.go.snap @@ -14,7 +14,6 @@ DescribeArchive Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_DescribeConnection.go.snap b/service/cloudwatchevents/snapshot/api_op_DescribeConnection.go.snap index 7d98a31f141..1b706d2ae91 100644 --- a/service/cloudwatchevents/snapshot/api_op_DescribeConnection.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_DescribeConnection.go.snap @@ -14,7 +14,6 @@ DescribeConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_DescribeEventBus.go.snap b/service/cloudwatchevents/snapshot/api_op_DescribeEventBus.go.snap index 88420a2491e..5791fb4ed1d 100644 --- a/service/cloudwatchevents/snapshot/api_op_DescribeEventBus.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_DescribeEventBus.go.snap @@ -13,7 +13,6 @@ DescribeEventBus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_DescribeEventSource.go.snap b/service/cloudwatchevents/snapshot/api_op_DescribeEventSource.go.snap index 8e9be74535c..c4ae6b321a6 100644 --- a/service/cloudwatchevents/snapshot/api_op_DescribeEventSource.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_DescribeEventSource.go.snap @@ -14,7 +14,6 @@ DescribeEventSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_DescribePartnerEventSource.go.snap b/service/cloudwatchevents/snapshot/api_op_DescribePartnerEventSource.go.snap index dd85d6817ef..a91e17f553a 100644 --- a/service/cloudwatchevents/snapshot/api_op_DescribePartnerEventSource.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_DescribePartnerEventSource.go.snap @@ -14,7 +14,6 @@ DescribePartnerEventSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_DescribeReplay.go.snap b/service/cloudwatchevents/snapshot/api_op_DescribeReplay.go.snap index e85cdc48fc0..93f7c48dbb4 100644 --- a/service/cloudwatchevents/snapshot/api_op_DescribeReplay.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_DescribeReplay.go.snap @@ -14,7 +14,6 @@ DescribeReplay Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_DescribeRule.go.snap b/service/cloudwatchevents/snapshot/api_op_DescribeRule.go.snap index 1b2d09c8586..6e8498aaeaf 100644 --- a/service/cloudwatchevents/snapshot/api_op_DescribeRule.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_DescribeRule.go.snap @@ -14,7 +14,6 @@ DescribeRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_DisableRule.go.snap b/service/cloudwatchevents/snapshot/api_op_DisableRule.go.snap index 00368e876e2..1ce9b647275 100644 --- a/service/cloudwatchevents/snapshot/api_op_DisableRule.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_DisableRule.go.snap @@ -14,7 +14,6 @@ DisableRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_EnableRule.go.snap b/service/cloudwatchevents/snapshot/api_op_EnableRule.go.snap index 10cf33b9895..948914f1971 100644 --- a/service/cloudwatchevents/snapshot/api_op_EnableRule.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_EnableRule.go.snap @@ -14,7 +14,6 @@ EnableRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_ListApiDestinations.go.snap b/service/cloudwatchevents/snapshot/api_op_ListApiDestinations.go.snap index b2a5770af41..67cd6245754 100644 --- a/service/cloudwatchevents/snapshot/api_op_ListApiDestinations.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_ListApiDestinations.go.snap @@ -13,7 +13,6 @@ ListApiDestinations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_ListArchives.go.snap b/service/cloudwatchevents/snapshot/api_op_ListArchives.go.snap index 504490d1dd5..30242ee7272 100644 --- a/service/cloudwatchevents/snapshot/api_op_ListArchives.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_ListArchives.go.snap @@ -13,7 +13,6 @@ ListArchives Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_ListConnections.go.snap b/service/cloudwatchevents/snapshot/api_op_ListConnections.go.snap index 6701dc960d7..3a6172bafc5 100644 --- a/service/cloudwatchevents/snapshot/api_op_ListConnections.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_ListConnections.go.snap @@ -13,7 +13,6 @@ ListConnections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_ListEventBuses.go.snap b/service/cloudwatchevents/snapshot/api_op_ListEventBuses.go.snap index 2466911bdc8..5dbb15fbc20 100644 --- a/service/cloudwatchevents/snapshot/api_op_ListEventBuses.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_ListEventBuses.go.snap @@ -13,7 +13,6 @@ ListEventBuses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_ListEventSources.go.snap b/service/cloudwatchevents/snapshot/api_op_ListEventSources.go.snap index a60fab498d1..c12f6082516 100644 --- a/service/cloudwatchevents/snapshot/api_op_ListEventSources.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_ListEventSources.go.snap @@ -13,7 +13,6 @@ ListEventSources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_ListPartnerEventSourceAccounts.go.snap b/service/cloudwatchevents/snapshot/api_op_ListPartnerEventSourceAccounts.go.snap index 155414caeb1..6619dbde016 100644 --- a/service/cloudwatchevents/snapshot/api_op_ListPartnerEventSourceAccounts.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_ListPartnerEventSourceAccounts.go.snap @@ -14,7 +14,6 @@ ListPartnerEventSourceAccounts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_ListPartnerEventSources.go.snap b/service/cloudwatchevents/snapshot/api_op_ListPartnerEventSources.go.snap index cf975bbfd83..254b3f79c7b 100644 --- a/service/cloudwatchevents/snapshot/api_op_ListPartnerEventSources.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_ListPartnerEventSources.go.snap @@ -14,7 +14,6 @@ ListPartnerEventSources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_ListReplays.go.snap b/service/cloudwatchevents/snapshot/api_op_ListReplays.go.snap index d19a54d94d1..bae0fe62a24 100644 --- a/service/cloudwatchevents/snapshot/api_op_ListReplays.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_ListReplays.go.snap @@ -13,7 +13,6 @@ ListReplays Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_ListRuleNamesByTarget.go.snap b/service/cloudwatchevents/snapshot/api_op_ListRuleNamesByTarget.go.snap index 8ff8855d06d..573747e5f11 100644 --- a/service/cloudwatchevents/snapshot/api_op_ListRuleNamesByTarget.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_ListRuleNamesByTarget.go.snap @@ -14,7 +14,6 @@ ListRuleNamesByTarget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_ListRules.go.snap b/service/cloudwatchevents/snapshot/api_op_ListRules.go.snap index e978e5342cf..b45cb373aa6 100644 --- a/service/cloudwatchevents/snapshot/api_op_ListRules.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_ListRules.go.snap @@ -13,7 +13,6 @@ ListRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_ListTagsForResource.go.snap b/service/cloudwatchevents/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/cloudwatchevents/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_ListTargetsByRule.go.snap b/service/cloudwatchevents/snapshot/api_op_ListTargetsByRule.go.snap index 4dc3eab5bcd..3e5dd2faf56 100644 --- a/service/cloudwatchevents/snapshot/api_op_ListTargetsByRule.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_ListTargetsByRule.go.snap @@ -14,7 +14,6 @@ ListTargetsByRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_PutEvents.go.snap b/service/cloudwatchevents/snapshot/api_op_PutEvents.go.snap index e89dc6a29e8..84dd8b33f3d 100644 --- a/service/cloudwatchevents/snapshot/api_op_PutEvents.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_PutEvents.go.snap @@ -14,7 +14,6 @@ PutEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_PutPartnerEvents.go.snap b/service/cloudwatchevents/snapshot/api_op_PutPartnerEvents.go.snap index 4ee8f71be6d..512974f3355 100644 --- a/service/cloudwatchevents/snapshot/api_op_PutPartnerEvents.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_PutPartnerEvents.go.snap @@ -14,7 +14,6 @@ PutPartnerEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_PutPermission.go.snap b/service/cloudwatchevents/snapshot/api_op_PutPermission.go.snap index c4ec5e323b3..f32dd9f502e 100644 --- a/service/cloudwatchevents/snapshot/api_op_PutPermission.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_PutPermission.go.snap @@ -14,7 +14,6 @@ PutPermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_PutRule.go.snap b/service/cloudwatchevents/snapshot/api_op_PutRule.go.snap index 76568595772..50358278fc2 100644 --- a/service/cloudwatchevents/snapshot/api_op_PutRule.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_PutRule.go.snap @@ -14,7 +14,6 @@ PutRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_PutTargets.go.snap b/service/cloudwatchevents/snapshot/api_op_PutTargets.go.snap index 3b36f5515d5..0045ac9e6d9 100644 --- a/service/cloudwatchevents/snapshot/api_op_PutTargets.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_PutTargets.go.snap @@ -14,7 +14,6 @@ PutTargets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_RemovePermission.go.snap b/service/cloudwatchevents/snapshot/api_op_RemovePermission.go.snap index b7ff68a91a7..7c908d129cf 100644 --- a/service/cloudwatchevents/snapshot/api_op_RemovePermission.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_RemovePermission.go.snap @@ -13,7 +13,6 @@ RemovePermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_RemoveTargets.go.snap b/service/cloudwatchevents/snapshot/api_op_RemoveTargets.go.snap index bb49e7c68de..e04b296f8c2 100644 --- a/service/cloudwatchevents/snapshot/api_op_RemoveTargets.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_RemoveTargets.go.snap @@ -14,7 +14,6 @@ RemoveTargets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_StartReplay.go.snap b/service/cloudwatchevents/snapshot/api_op_StartReplay.go.snap index cf1cf49a329..88a0a42f6d7 100644 --- a/service/cloudwatchevents/snapshot/api_op_StartReplay.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_StartReplay.go.snap @@ -14,7 +14,6 @@ StartReplay Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_TagResource.go.snap b/service/cloudwatchevents/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/cloudwatchevents/snapshot/api_op_TagResource.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_TestEventPattern.go.snap b/service/cloudwatchevents/snapshot/api_op_TestEventPattern.go.snap index 1eb41a9dcf5..fca1aea0bc8 100644 --- a/service/cloudwatchevents/snapshot/api_op_TestEventPattern.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_TestEventPattern.go.snap @@ -14,7 +14,6 @@ TestEventPattern Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_UntagResource.go.snap b/service/cloudwatchevents/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/cloudwatchevents/snapshot/api_op_UntagResource.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_UpdateApiDestination.go.snap b/service/cloudwatchevents/snapshot/api_op_UpdateApiDestination.go.snap index eda337bf6db..54f68bcd739 100644 --- a/service/cloudwatchevents/snapshot/api_op_UpdateApiDestination.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_UpdateApiDestination.go.snap @@ -14,7 +14,6 @@ UpdateApiDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_UpdateArchive.go.snap b/service/cloudwatchevents/snapshot/api_op_UpdateArchive.go.snap index f94593bcbb8..df2a1c64d4c 100644 --- a/service/cloudwatchevents/snapshot/api_op_UpdateArchive.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_UpdateArchive.go.snap @@ -14,7 +14,6 @@ UpdateArchive Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchevents/snapshot/api_op_UpdateConnection.go.snap b/service/cloudwatchevents/snapshot/api_op_UpdateConnection.go.snap index 8bcc0bccc85..f8c8899dab6 100644 --- a/service/cloudwatchevents/snapshot/api_op_UpdateConnection.go.snap +++ b/service/cloudwatchevents/snapshot/api_op_UpdateConnection.go.snap @@ -14,7 +14,6 @@ UpdateConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/api_client.go b/service/cloudwatchlogs/api_client.go index f26a1ad099c..ad82efb4aef 100644 --- a/service/cloudwatchlogs/api_client.go +++ b/service/cloudwatchlogs/api_client.go @@ -775,37 +775,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/cloudwatchlogs/api_op_AssociateKmsKey.go b/service/cloudwatchlogs/api_op_AssociateKmsKey.go index 674d6e18fa9..e537e7a3c2c 100644 --- a/service/cloudwatchlogs/api_op_AssociateKmsKey.go +++ b/service/cloudwatchlogs/api_op_AssociateKmsKey.go @@ -195,9 +195,6 @@ func (c *Client) addOperationAssociateKmsKeyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateKmsKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_CancelExportTask.go b/service/cloudwatchlogs/api_op_CancelExportTask.go index 74329ccb46f..aebf03b107b 100644 --- a/service/cloudwatchlogs/api_op_CancelExportTask.go +++ b/service/cloudwatchlogs/api_op_CancelExportTask.go @@ -109,9 +109,6 @@ func (c *Client) addOperationCancelExportTaskMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelExportTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_CreateDelivery.go b/service/cloudwatchlogs/api_op_CreateDelivery.go index 7dfe935040a..ed913712a19 100644 --- a/service/cloudwatchlogs/api_op_CreateDelivery.go +++ b/service/cloudwatchlogs/api_op_CreateDelivery.go @@ -173,9 +173,6 @@ func (c *Client) addOperationCreateDeliveryMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDeliveryValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_CreateExportTask.go b/service/cloudwatchlogs/api_op_CreateExportTask.go index cd51da31110..86132dbe70e 100644 --- a/service/cloudwatchlogs/api_op_CreateExportTask.go +++ b/service/cloudwatchlogs/api_op_CreateExportTask.go @@ -179,9 +179,6 @@ func (c *Client) addOperationCreateExportTaskMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateExportTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_CreateLogAnomalyDetector.go b/service/cloudwatchlogs/api_op_CreateLogAnomalyDetector.go index 16f33dda8d5..1deae4eed73 100644 --- a/service/cloudwatchlogs/api_op_CreateLogAnomalyDetector.go +++ b/service/cloudwatchlogs/api_op_CreateLogAnomalyDetector.go @@ -187,9 +187,6 @@ func (c *Client) addOperationCreateLogAnomalyDetectorMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLogAnomalyDetectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_CreateLogGroup.go b/service/cloudwatchlogs/api_op_CreateLogGroup.go index 322243b9e14..948be01a5df 100644 --- a/service/cloudwatchlogs/api_op_CreateLogGroup.go +++ b/service/cloudwatchlogs/api_op_CreateLogGroup.go @@ -177,9 +177,6 @@ func (c *Client) addOperationCreateLogGroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLogGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_CreateLogStream.go b/service/cloudwatchlogs/api_op_CreateLogStream.go index 4f369b1579d..e58e1d097d5 100644 --- a/service/cloudwatchlogs/api_op_CreateLogStream.go +++ b/service/cloudwatchlogs/api_op_CreateLogStream.go @@ -126,9 +126,6 @@ func (c *Client) addOperationCreateLogStreamMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLogStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DeleteAccountPolicy.go b/service/cloudwatchlogs/api_op_DeleteAccountPolicy.go index 62507285a00..600587b2eaf 100644 --- a/service/cloudwatchlogs/api_op_DeleteAccountPolicy.go +++ b/service/cloudwatchlogs/api_op_DeleteAccountPolicy.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDeleteAccountPolicyMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAccountPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DeleteDataProtectionPolicy.go b/service/cloudwatchlogs/api_op_DeleteDataProtectionPolicy.go index 4588e8cb558..f2aaf068a47 100644 --- a/service/cloudwatchlogs/api_op_DeleteDataProtectionPolicy.go +++ b/service/cloudwatchlogs/api_op_DeleteDataProtectionPolicy.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteDataProtectionPolicyMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDataProtectionPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DeleteDelivery.go b/service/cloudwatchlogs/api_op_DeleteDelivery.go index bea0a1918f0..20b7f7e4290 100644 --- a/service/cloudwatchlogs/api_op_DeleteDelivery.go +++ b/service/cloudwatchlogs/api_op_DeleteDelivery.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteDeliveryMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDeliveryValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DeleteDeliveryDestination.go b/service/cloudwatchlogs/api_op_DeleteDeliveryDestination.go index baa964c1965..7086295a509 100644 --- a/service/cloudwatchlogs/api_op_DeleteDeliveryDestination.go +++ b/service/cloudwatchlogs/api_op_DeleteDeliveryDestination.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteDeliveryDestinationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDeliveryDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DeleteDeliveryDestinationPolicy.go b/service/cloudwatchlogs/api_op_DeleteDeliveryDestinationPolicy.go index 2876294ec43..f1a5f161f02 100644 --- a/service/cloudwatchlogs/api_op_DeleteDeliveryDestinationPolicy.go +++ b/service/cloudwatchlogs/api_op_DeleteDeliveryDestinationPolicy.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteDeliveryDestinationPolicyMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDeliveryDestinationPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DeleteDeliverySource.go b/service/cloudwatchlogs/api_op_DeleteDeliverySource.go index 96c4110a225..1b88d0813b7 100644 --- a/service/cloudwatchlogs/api_op_DeleteDeliverySource.go +++ b/service/cloudwatchlogs/api_op_DeleteDeliverySource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteDeliverySourceMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDeliverySourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DeleteDestination.go b/service/cloudwatchlogs/api_op_DeleteDestination.go index fe187946eeb..8afe7260ee7 100644 --- a/service/cloudwatchlogs/api_op_DeleteDestination.go +++ b/service/cloudwatchlogs/api_op_DeleteDestination.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteDestinationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DeleteIndexPolicy.go b/service/cloudwatchlogs/api_op_DeleteIndexPolicy.go index 5f2e521f845..12e84d98c32 100644 --- a/service/cloudwatchlogs/api_op_DeleteIndexPolicy.go +++ b/service/cloudwatchlogs/api_op_DeleteIndexPolicy.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteIndexPolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIndexPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DeleteIntegration.go b/service/cloudwatchlogs/api_op_DeleteIntegration.go index fef00d14b9e..3a745416163 100644 --- a/service/cloudwatchlogs/api_op_DeleteIntegration.go +++ b/service/cloudwatchlogs/api_op_DeleteIntegration.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteIntegrationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIntegrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DeleteLogAnomalyDetector.go b/service/cloudwatchlogs/api_op_DeleteLogAnomalyDetector.go index be86038ec70..78e05202582 100644 --- a/service/cloudwatchlogs/api_op_DeleteLogAnomalyDetector.go +++ b/service/cloudwatchlogs/api_op_DeleteLogAnomalyDetector.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteLogAnomalyDetectorMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLogAnomalyDetectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DeleteLogGroup.go b/service/cloudwatchlogs/api_op_DeleteLogGroup.go index 9a2209e3b83..c67d976f653 100644 --- a/service/cloudwatchlogs/api_op_DeleteLogGroup.go +++ b/service/cloudwatchlogs/api_op_DeleteLogGroup.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteLogGroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLogGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DeleteLogStream.go b/service/cloudwatchlogs/api_op_DeleteLogStream.go index 4cf8c3d3653..ea3a118e752 100644 --- a/service/cloudwatchlogs/api_op_DeleteLogStream.go +++ b/service/cloudwatchlogs/api_op_DeleteLogStream.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteLogStreamMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLogStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DeleteMetricFilter.go b/service/cloudwatchlogs/api_op_DeleteMetricFilter.go index b57e62bc1a7..e2d23f05251 100644 --- a/service/cloudwatchlogs/api_op_DeleteMetricFilter.go +++ b/service/cloudwatchlogs/api_op_DeleteMetricFilter.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteMetricFilterMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMetricFilterValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DeleteQueryDefinition.go b/service/cloudwatchlogs/api_op_DeleteQueryDefinition.go index 8c3457e1615..7c93f24d0cf 100644 --- a/service/cloudwatchlogs/api_op_DeleteQueryDefinition.go +++ b/service/cloudwatchlogs/api_op_DeleteQueryDefinition.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteQueryDefinitionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteQueryDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DeleteResourcePolicy.go b/service/cloudwatchlogs/api_op_DeleteResourcePolicy.go index 9af6955c6c7..b9754039801 100644 --- a/service/cloudwatchlogs/api_op_DeleteResourcePolicy.go +++ b/service/cloudwatchlogs/api_op_DeleteResourcePolicy.go @@ -106,9 +106,6 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourcePolicy(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DeleteRetentionPolicy.go b/service/cloudwatchlogs/api_op_DeleteRetentionPolicy.go index dcc53d7870a..ec48b2cee2e 100644 --- a/service/cloudwatchlogs/api_op_DeleteRetentionPolicy.go +++ b/service/cloudwatchlogs/api_op_DeleteRetentionPolicy.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteRetentionPolicyMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRetentionPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DeleteSubscriptionFilter.go b/service/cloudwatchlogs/api_op_DeleteSubscriptionFilter.go index 0bd5935a000..4925f08a098 100644 --- a/service/cloudwatchlogs/api_op_DeleteSubscriptionFilter.go +++ b/service/cloudwatchlogs/api_op_DeleteSubscriptionFilter.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteSubscriptionFilterMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSubscriptionFilterValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DeleteTransformer.go b/service/cloudwatchlogs/api_op_DeleteTransformer.go index b8a79450005..0fd19ebb374 100644 --- a/service/cloudwatchlogs/api_op_DeleteTransformer.go +++ b/service/cloudwatchlogs/api_op_DeleteTransformer.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteTransformerMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTransformerValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DescribeAccountPolicies.go b/service/cloudwatchlogs/api_op_DescribeAccountPolicies.go index 7a17e0c31d0..62194fdc80a 100644 --- a/service/cloudwatchlogs/api_op_DescribeAccountPolicies.go +++ b/service/cloudwatchlogs/api_op_DescribeAccountPolicies.go @@ -150,9 +150,6 @@ func (c *Client) addOperationDescribeAccountPoliciesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAccountPoliciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DescribeConfigurationTemplates.go b/service/cloudwatchlogs/api_op_DescribeConfigurationTemplates.go index ce7264639c8..82ce469ec4c 100644 --- a/service/cloudwatchlogs/api_op_DescribeConfigurationTemplates.go +++ b/service/cloudwatchlogs/api_op_DescribeConfigurationTemplates.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDescribeConfigurationTemplatesMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConfigurationTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DescribeDeliveries.go b/service/cloudwatchlogs/api_op_DescribeDeliveries.go index cee46589289..343b18e43d3 100644 --- a/service/cloudwatchlogs/api_op_DescribeDeliveries.go +++ b/service/cloudwatchlogs/api_op_DescribeDeliveries.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDescribeDeliveriesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDeliveries(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DescribeDeliveryDestinations.go b/service/cloudwatchlogs/api_op_DescribeDeliveryDestinations.go index b7af948538d..719cded5b1d 100644 --- a/service/cloudwatchlogs/api_op_DescribeDeliveryDestinations.go +++ b/service/cloudwatchlogs/api_op_DescribeDeliveryDestinations.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeDeliveryDestinationsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDeliveryDestinations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DescribeDeliverySources.go b/service/cloudwatchlogs/api_op_DescribeDeliverySources.go index 9b139fe6972..5e61c3e12f9 100644 --- a/service/cloudwatchlogs/api_op_DescribeDeliverySources.go +++ b/service/cloudwatchlogs/api_op_DescribeDeliverySources.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDescribeDeliverySourcesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDeliverySources(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DescribeDestinations.go b/service/cloudwatchlogs/api_op_DescribeDestinations.go index 768fe80b3b5..17307dbca26 100644 --- a/service/cloudwatchlogs/api_op_DescribeDestinations.go +++ b/service/cloudwatchlogs/api_op_DescribeDestinations.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeDestinationsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDestinations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DescribeExportTasks.go b/service/cloudwatchlogs/api_op_DescribeExportTasks.go index 12a0a5d0513..7f1742dfa77 100644 --- a/service/cloudwatchlogs/api_op_DescribeExportTasks.go +++ b/service/cloudwatchlogs/api_op_DescribeExportTasks.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeExportTasksMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeExportTasks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DescribeFieldIndexes.go b/service/cloudwatchlogs/api_op_DescribeFieldIndexes.go index 18556d8af4b..3cc942a5c62 100644 --- a/service/cloudwatchlogs/api_op_DescribeFieldIndexes.go +++ b/service/cloudwatchlogs/api_op_DescribeFieldIndexes.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeFieldIndexesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFieldIndexesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DescribeIndexPolicies.go b/service/cloudwatchlogs/api_op_DescribeIndexPolicies.go index bf71dd0912c..a2a8683c650 100644 --- a/service/cloudwatchlogs/api_op_DescribeIndexPolicies.go +++ b/service/cloudwatchlogs/api_op_DescribeIndexPolicies.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeIndexPoliciesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeIndexPoliciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DescribeLogGroups.go b/service/cloudwatchlogs/api_op_DescribeLogGroups.go index 4140505ea5e..6b1706e354b 100644 --- a/service/cloudwatchlogs/api_op_DescribeLogGroups.go +++ b/service/cloudwatchlogs/api_op_DescribeLogGroups.go @@ -180,9 +180,6 @@ func (c *Client) addOperationDescribeLogGroupsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLogGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DescribeLogStreams.go b/service/cloudwatchlogs/api_op_DescribeLogStreams.go index 87904a2fc5a..3c4642bbf6e 100644 --- a/service/cloudwatchlogs/api_op_DescribeLogStreams.go +++ b/service/cloudwatchlogs/api_op_DescribeLogStreams.go @@ -168,9 +168,6 @@ func (c *Client) addOperationDescribeLogStreamsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLogStreams(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DescribeMetricFilters.go b/service/cloudwatchlogs/api_op_DescribeMetricFilters.go index 4bcbeffb8e5..e87a31451fc 100644 --- a/service/cloudwatchlogs/api_op_DescribeMetricFilters.go +++ b/service/cloudwatchlogs/api_op_DescribeMetricFilters.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDescribeMetricFiltersMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMetricFilters(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DescribeQueries.go b/service/cloudwatchlogs/api_op_DescribeQueries.go index 3ebfba84209..210c844b4f0 100644 --- a/service/cloudwatchlogs/api_op_DescribeQueries.go +++ b/service/cloudwatchlogs/api_op_DescribeQueries.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeQueriesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeQueries(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DescribeQueryDefinitions.go b/service/cloudwatchlogs/api_op_DescribeQueryDefinitions.go index 582883bb31b..1641cc943ac 100644 --- a/service/cloudwatchlogs/api_op_DescribeQueryDefinitions.go +++ b/service/cloudwatchlogs/api_op_DescribeQueryDefinitions.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeQueryDefinitionsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeQueryDefinitions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DescribeResourcePolicies.go b/service/cloudwatchlogs/api_op_DescribeResourcePolicies.go index 86526e4ef47..6f6ccccffb0 100644 --- a/service/cloudwatchlogs/api_op_DescribeResourcePolicies.go +++ b/service/cloudwatchlogs/api_op_DescribeResourcePolicies.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDescribeResourcePoliciesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeResourcePolicies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DescribeSubscriptionFilters.go b/service/cloudwatchlogs/api_op_DescribeSubscriptionFilters.go index 901cd9ede78..694f78e90e5 100644 --- a/service/cloudwatchlogs/api_op_DescribeSubscriptionFilters.go +++ b/service/cloudwatchlogs/api_op_DescribeSubscriptionFilters.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDescribeSubscriptionFiltersMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSubscriptionFiltersValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_DisassociateKmsKey.go b/service/cloudwatchlogs/api_op_DisassociateKmsKey.go index 5b739b2c13b..a0fe2e5964b 100644 --- a/service/cloudwatchlogs/api_op_DisassociateKmsKey.go +++ b/service/cloudwatchlogs/api_op_DisassociateKmsKey.go @@ -155,9 +155,6 @@ func (c *Client) addOperationDisassociateKmsKeyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateKmsKey(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_FilterLogEvents.go b/service/cloudwatchlogs/api_op_FilterLogEvents.go index 855555b9609..db2ea5760cd 100644 --- a/service/cloudwatchlogs/api_op_FilterLogEvents.go +++ b/service/cloudwatchlogs/api_op_FilterLogEvents.go @@ -211,9 +211,6 @@ func (c *Client) addOperationFilterLogEventsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFilterLogEvents(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_GetDataProtectionPolicy.go b/service/cloudwatchlogs/api_op_GetDataProtectionPolicy.go index f46b263bd72..9a991b71e9e 100644 --- a/service/cloudwatchlogs/api_op_GetDataProtectionPolicy.go +++ b/service/cloudwatchlogs/api_op_GetDataProtectionPolicy.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetDataProtectionPolicyMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataProtectionPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_GetDelivery.go b/service/cloudwatchlogs/api_op_GetDelivery.go index e6852f6e8b4..2fbae8a544f 100644 --- a/service/cloudwatchlogs/api_op_GetDelivery.go +++ b/service/cloudwatchlogs/api_op_GetDelivery.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetDeliveryMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeliveryValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_GetDeliveryDestination.go b/service/cloudwatchlogs/api_op_GetDeliveryDestination.go index a01dc31d90f..c1456b6e74e 100644 --- a/service/cloudwatchlogs/api_op_GetDeliveryDestination.go +++ b/service/cloudwatchlogs/api_op_GetDeliveryDestination.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetDeliveryDestinationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeliveryDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_GetDeliveryDestinationPolicy.go b/service/cloudwatchlogs/api_op_GetDeliveryDestinationPolicy.go index 5d08aa538dc..b0e739e5b35 100644 --- a/service/cloudwatchlogs/api_op_GetDeliveryDestinationPolicy.go +++ b/service/cloudwatchlogs/api_op_GetDeliveryDestinationPolicy.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetDeliveryDestinationPolicyMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeliveryDestinationPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_GetDeliverySource.go b/service/cloudwatchlogs/api_op_GetDeliverySource.go index e6638a75108..c2a4621ea03 100644 --- a/service/cloudwatchlogs/api_op_GetDeliverySource.go +++ b/service/cloudwatchlogs/api_op_GetDeliverySource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetDeliverySourceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeliverySourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_GetIntegration.go b/service/cloudwatchlogs/api_op_GetIntegration.go index 483236a1a8b..52858b295dd 100644 --- a/service/cloudwatchlogs/api_op_GetIntegration.go +++ b/service/cloudwatchlogs/api_op_GetIntegration.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGetIntegrationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIntegrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_GetLogAnomalyDetector.go b/service/cloudwatchlogs/api_op_GetLogAnomalyDetector.go index dd6813f19e7..642095e5967 100644 --- a/service/cloudwatchlogs/api_op_GetLogAnomalyDetector.go +++ b/service/cloudwatchlogs/api_op_GetLogAnomalyDetector.go @@ -151,9 +151,6 @@ func (c *Client) addOperationGetLogAnomalyDetectorMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLogAnomalyDetectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_GetLogEvents.go b/service/cloudwatchlogs/api_op_GetLogEvents.go index e9238a8157e..ad4e94726fc 100644 --- a/service/cloudwatchlogs/api_op_GetLogEvents.go +++ b/service/cloudwatchlogs/api_op_GetLogEvents.go @@ -184,9 +184,6 @@ func (c *Client) addOperationGetLogEventsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLogEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_GetLogGroupFields.go b/service/cloudwatchlogs/api_op_GetLogGroupFields.go index 23815830daf..b14a34d6131 100644 --- a/service/cloudwatchlogs/api_op_GetLogGroupFields.go +++ b/service/cloudwatchlogs/api_op_GetLogGroupFields.go @@ -149,9 +149,6 @@ func (c *Client) addOperationGetLogGroupFieldsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLogGroupFields(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_GetLogRecord.go b/service/cloudwatchlogs/api_op_GetLogRecord.go index 3b8c798fbc3..c366330d96a 100644 --- a/service/cloudwatchlogs/api_op_GetLogRecord.go +++ b/service/cloudwatchlogs/api_op_GetLogRecord.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetLogRecordMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLogRecordValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_GetQueryResults.go b/service/cloudwatchlogs/api_op_GetQueryResults.go index 4e99cf45b43..b31b1b3c670 100644 --- a/service/cloudwatchlogs/api_op_GetQueryResults.go +++ b/service/cloudwatchlogs/api_op_GetQueryResults.go @@ -163,9 +163,6 @@ func (c *Client) addOperationGetQueryResultsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetQueryResultsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_GetTransformer.go b/service/cloudwatchlogs/api_op_GetTransformer.go index 40923c0c4db..381fede74cf 100644 --- a/service/cloudwatchlogs/api_op_GetTransformer.go +++ b/service/cloudwatchlogs/api_op_GetTransformer.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetTransformerMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTransformerValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_ListAnomalies.go b/service/cloudwatchlogs/api_op_ListAnomalies.go index 5dfd2389861..10c685cf8e3 100644 --- a/service/cloudwatchlogs/api_op_ListAnomalies.go +++ b/service/cloudwatchlogs/api_op_ListAnomalies.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListAnomaliesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAnomalies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_ListIntegrations.go b/service/cloudwatchlogs/api_op_ListIntegrations.go index f6850e03c86..e3f133c9634 100644 --- a/service/cloudwatchlogs/api_op_ListIntegrations.go +++ b/service/cloudwatchlogs/api_op_ListIntegrations.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListIntegrationsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIntegrations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_ListLogAnomalyDetectors.go b/service/cloudwatchlogs/api_op_ListLogAnomalyDetectors.go index 1dc599a3f5d..2fbd567a613 100644 --- a/service/cloudwatchlogs/api_op_ListLogAnomalyDetectors.go +++ b/service/cloudwatchlogs/api_op_ListLogAnomalyDetectors.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListLogAnomalyDetectorsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLogAnomalyDetectors(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_ListLogGroupsForQuery.go b/service/cloudwatchlogs/api_op_ListLogGroupsForQuery.go index dc42f50a76a..c39851b2c53 100644 --- a/service/cloudwatchlogs/api_op_ListLogGroupsForQuery.go +++ b/service/cloudwatchlogs/api_op_ListLogGroupsForQuery.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListLogGroupsForQueryMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListLogGroupsForQueryValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_ListTagsForResource.go b/service/cloudwatchlogs/api_op_ListTagsForResource.go index c3e9f6ba500..19b8db8eab1 100644 --- a/service/cloudwatchlogs/api_op_ListTagsForResource.go +++ b/service/cloudwatchlogs/api_op_ListTagsForResource.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_ListTagsLogGroup.go b/service/cloudwatchlogs/api_op_ListTagsLogGroup.go index 20c0878e5e1..11214abb343 100644 --- a/service/cloudwatchlogs/api_op_ListTagsLogGroup.go +++ b/service/cloudwatchlogs/api_op_ListTagsLogGroup.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListTagsLogGroupMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsLogGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_PutAccountPolicy.go b/service/cloudwatchlogs/api_op_PutAccountPolicy.go index b31d5080fca..7d8407b9ab4 100644 --- a/service/cloudwatchlogs/api_op_PutAccountPolicy.go +++ b/service/cloudwatchlogs/api_op_PutAccountPolicy.go @@ -419,9 +419,6 @@ func (c *Client) addOperationPutAccountPolicyMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutAccountPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_PutDataProtectionPolicy.go b/service/cloudwatchlogs/api_op_PutDataProtectionPolicy.go index 6457b3dee9a..a72834344ee 100644 --- a/service/cloudwatchlogs/api_op_PutDataProtectionPolicy.go +++ b/service/cloudwatchlogs/api_op_PutDataProtectionPolicy.go @@ -184,9 +184,6 @@ func (c *Client) addOperationPutDataProtectionPolicyMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutDataProtectionPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_PutDeliveryDestination.go b/service/cloudwatchlogs/api_op_PutDeliveryDestination.go index a763ab3eb7c..3d021d2f403 100644 --- a/service/cloudwatchlogs/api_op_PutDeliveryDestination.go +++ b/service/cloudwatchlogs/api_op_PutDeliveryDestination.go @@ -167,9 +167,6 @@ func (c *Client) addOperationPutDeliveryDestinationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutDeliveryDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_PutDeliveryDestinationPolicy.go b/service/cloudwatchlogs/api_op_PutDeliveryDestinationPolicy.go index 7760bfa2bdb..bf0fa8f7db5 100644 --- a/service/cloudwatchlogs/api_op_PutDeliveryDestinationPolicy.go +++ b/service/cloudwatchlogs/api_op_PutDeliveryDestinationPolicy.go @@ -145,9 +145,6 @@ func (c *Client) addOperationPutDeliveryDestinationPolicyMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutDeliveryDestinationPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_PutDeliverySource.go b/service/cloudwatchlogs/api_op_PutDeliverySource.go index f6e89c47c09..7be48120fe8 100644 --- a/service/cloudwatchlogs/api_op_PutDeliverySource.go +++ b/service/cloudwatchlogs/api_op_PutDeliverySource.go @@ -192,9 +192,6 @@ func (c *Client) addOperationPutDeliverySourceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutDeliverySourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_PutDestination.go b/service/cloudwatchlogs/api_op_PutDestination.go index 5eef3392294..e12ba0e180f 100644 --- a/service/cloudwatchlogs/api_op_PutDestination.go +++ b/service/cloudwatchlogs/api_op_PutDestination.go @@ -147,9 +147,6 @@ func (c *Client) addOperationPutDestinationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_PutDestinationPolicy.go b/service/cloudwatchlogs/api_op_PutDestinationPolicy.go index 7e88532dc01..5370b8baa04 100644 --- a/service/cloudwatchlogs/api_op_PutDestinationPolicy.go +++ b/service/cloudwatchlogs/api_op_PutDestinationPolicy.go @@ -130,9 +130,6 @@ func (c *Client) addOperationPutDestinationPolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutDestinationPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_PutIndexPolicy.go b/service/cloudwatchlogs/api_op_PutIndexPolicy.go index b9bdab74fef..fe3d377faa2 100644 --- a/service/cloudwatchlogs/api_op_PutIndexPolicy.go +++ b/service/cloudwatchlogs/api_op_PutIndexPolicy.go @@ -167,9 +167,6 @@ func (c *Client) addOperationPutIndexPolicyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutIndexPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_PutIntegration.go b/service/cloudwatchlogs/api_op_PutIntegration.go index 404072c52f7..42ac9ca7008 100644 --- a/service/cloudwatchlogs/api_op_PutIntegration.go +++ b/service/cloudwatchlogs/api_op_PutIntegration.go @@ -140,9 +140,6 @@ func (c *Client) addOperationPutIntegrationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutIntegrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_PutLogEvents.go b/service/cloudwatchlogs/api_op_PutLogEvents.go index d939a973b10..f8f3ae09f27 100644 --- a/service/cloudwatchlogs/api_op_PutLogEvents.go +++ b/service/cloudwatchlogs/api_op_PutLogEvents.go @@ -187,9 +187,6 @@ func (c *Client) addOperationPutLogEventsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutLogEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_PutMetricFilter.go b/service/cloudwatchlogs/api_op_PutMetricFilter.go index 02fd63ee2d6..74d75fc1ec4 100644 --- a/service/cloudwatchlogs/api_op_PutMetricFilter.go +++ b/service/cloudwatchlogs/api_op_PutMetricFilter.go @@ -163,9 +163,6 @@ func (c *Client) addOperationPutMetricFilterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutMetricFilterValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_PutQueryDefinition.go b/service/cloudwatchlogs/api_op_PutQueryDefinition.go index 2524737a70a..a44fea9d6df 100644 --- a/service/cloudwatchlogs/api_op_PutQueryDefinition.go +++ b/service/cloudwatchlogs/api_op_PutQueryDefinition.go @@ -171,9 +171,6 @@ func (c *Client) addOperationPutQueryDefinitionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opPutQueryDefinitionMiddleware(stack, options); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_PutResourcePolicy.go b/service/cloudwatchlogs/api_op_PutResourcePolicy.go index ce1b211989c..5f624590771 100644 --- a/service/cloudwatchlogs/api_op_PutResourcePolicy.go +++ b/service/cloudwatchlogs/api_op_PutResourcePolicy.go @@ -137,9 +137,6 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutResourcePolicy(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_PutRetentionPolicy.go b/service/cloudwatchlogs/api_op_PutRetentionPolicy.go index 927e9e226a4..45e77adaad7 100644 --- a/service/cloudwatchlogs/api_op_PutRetentionPolicy.go +++ b/service/cloudwatchlogs/api_op_PutRetentionPolicy.go @@ -138,9 +138,6 @@ func (c *Client) addOperationPutRetentionPolicyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutRetentionPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_PutSubscriptionFilter.go b/service/cloudwatchlogs/api_op_PutSubscriptionFilter.go index e6731e01ebd..3fee0221c80 100644 --- a/service/cloudwatchlogs/api_op_PutSubscriptionFilter.go +++ b/service/cloudwatchlogs/api_op_PutSubscriptionFilter.go @@ -204,9 +204,6 @@ func (c *Client) addOperationPutSubscriptionFilterMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutSubscriptionFilterValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_PutTransformer.go b/service/cloudwatchlogs/api_op_PutTransformer.go index 4aaa6a3aac4..cb26197a67d 100644 --- a/service/cloudwatchlogs/api_op_PutTransformer.go +++ b/service/cloudwatchlogs/api_op_PutTransformer.go @@ -152,9 +152,6 @@ func (c *Client) addOperationPutTransformerMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutTransformerValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_StartLiveTail.go b/service/cloudwatchlogs/api_op_StartLiveTail.go index a3fc7e2f499..7b12e4ac201 100644 --- a/service/cloudwatchlogs/api_op_StartLiveTail.go +++ b/service/cloudwatchlogs/api_op_StartLiveTail.go @@ -199,9 +199,6 @@ func (c *Client) addOperationStartLiveTailMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opStartLiveTailMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_StartQuery.go b/service/cloudwatchlogs/api_op_StartQuery.go index d5e92ab6113..6f337b87e75 100644 --- a/service/cloudwatchlogs/api_op_StartQuery.go +++ b/service/cloudwatchlogs/api_op_StartQuery.go @@ -215,9 +215,6 @@ func (c *Client) addOperationStartQueryMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartQueryValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_StopQuery.go b/service/cloudwatchlogs/api_op_StopQuery.go index cf174c576f3..ff01349bc18 100644 --- a/service/cloudwatchlogs/api_op_StopQuery.go +++ b/service/cloudwatchlogs/api_op_StopQuery.go @@ -113,9 +113,6 @@ func (c *Client) addOperationStopQueryMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopQueryValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_TagLogGroup.go b/service/cloudwatchlogs/api_op_TagLogGroup.go index d01de90ac39..0b79f51dc8a 100644 --- a/service/cloudwatchlogs/api_op_TagLogGroup.go +++ b/service/cloudwatchlogs/api_op_TagLogGroup.go @@ -131,9 +131,6 @@ func (c *Client) addOperationTagLogGroupMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagLogGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_TagResource.go b/service/cloudwatchlogs/api_op_TagResource.go index 1531cc73a64..e34b8037ed0 100644 --- a/service/cloudwatchlogs/api_op_TagResource.go +++ b/service/cloudwatchlogs/api_op_TagResource.go @@ -139,9 +139,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_TestMetricFilter.go b/service/cloudwatchlogs/api_op_TestMetricFilter.go index 6b00cc14304..1d96b0f1cc4 100644 --- a/service/cloudwatchlogs/api_op_TestMetricFilter.go +++ b/service/cloudwatchlogs/api_op_TestMetricFilter.go @@ -122,9 +122,6 @@ func (c *Client) addOperationTestMetricFilterMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTestMetricFilterValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_TestTransformer.go b/service/cloudwatchlogs/api_op_TestTransformer.go index 909ff778af2..18a4ad1eacb 100644 --- a/service/cloudwatchlogs/api_op_TestTransformer.go +++ b/service/cloudwatchlogs/api_op_TestTransformer.go @@ -122,9 +122,6 @@ func (c *Client) addOperationTestTransformerMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTestTransformerValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_UntagLogGroup.go b/service/cloudwatchlogs/api_op_UntagLogGroup.go index eb69283ac18..fcc797e4f69 100644 --- a/service/cloudwatchlogs/api_op_UntagLogGroup.go +++ b/service/cloudwatchlogs/api_op_UntagLogGroup.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUntagLogGroupMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagLogGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_UntagResource.go b/service/cloudwatchlogs/api_op_UntagResource.go index 3f9de28455a..ea05542ffb1 100644 --- a/service/cloudwatchlogs/api_op_UntagResource.go +++ b/service/cloudwatchlogs/api_op_UntagResource.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_UpdateAnomaly.go b/service/cloudwatchlogs/api_op_UpdateAnomaly.go index b7601d53699..0856bc957ab 100644 --- a/service/cloudwatchlogs/api_op_UpdateAnomaly.go +++ b/service/cloudwatchlogs/api_op_UpdateAnomaly.go @@ -150,9 +150,6 @@ func (c *Client) addOperationUpdateAnomalyMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAnomalyValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_UpdateDeliveryConfiguration.go b/service/cloudwatchlogs/api_op_UpdateDeliveryConfiguration.go index 44112aa21b2..802fb9c4391 100644 --- a/service/cloudwatchlogs/api_op_UpdateDeliveryConfiguration.go +++ b/service/cloudwatchlogs/api_op_UpdateDeliveryConfiguration.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateDeliveryConfigurationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDeliveryConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/api_op_UpdateLogAnomalyDetector.go b/service/cloudwatchlogs/api_op_UpdateLogAnomalyDetector.go index 95014fc95c8..d0cfaa9cc74 100644 --- a/service/cloudwatchlogs/api_op_UpdateLogAnomalyDetector.go +++ b/service/cloudwatchlogs/api_op_UpdateLogAnomalyDetector.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdateLogAnomalyDetectorMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLogAnomalyDetectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/cloudwatchlogs/snapshot/api_op_AssociateKmsKey.go.snap b/service/cloudwatchlogs/snapshot/api_op_AssociateKmsKey.go.snap index 433cb2d5156..38a48a64953 100644 --- a/service/cloudwatchlogs/snapshot/api_op_AssociateKmsKey.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_AssociateKmsKey.go.snap @@ -14,7 +14,6 @@ AssociateKmsKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_CancelExportTask.go.snap b/service/cloudwatchlogs/snapshot/api_op_CancelExportTask.go.snap index bfe84b37bba..e3777470e3e 100644 --- a/service/cloudwatchlogs/snapshot/api_op_CancelExportTask.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_CancelExportTask.go.snap @@ -14,7 +14,6 @@ CancelExportTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_CreateDelivery.go.snap b/service/cloudwatchlogs/snapshot/api_op_CreateDelivery.go.snap index 895b3da6c6a..4cd66aa9916 100644 --- a/service/cloudwatchlogs/snapshot/api_op_CreateDelivery.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_CreateDelivery.go.snap @@ -14,7 +14,6 @@ CreateDelivery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_CreateExportTask.go.snap b/service/cloudwatchlogs/snapshot/api_op_CreateExportTask.go.snap index d88baa3857e..8c3be27f41b 100644 --- a/service/cloudwatchlogs/snapshot/api_op_CreateExportTask.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_CreateExportTask.go.snap @@ -14,7 +14,6 @@ CreateExportTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_CreateLogAnomalyDetector.go.snap b/service/cloudwatchlogs/snapshot/api_op_CreateLogAnomalyDetector.go.snap index 68d451c6b2a..2cd4176f904 100644 --- a/service/cloudwatchlogs/snapshot/api_op_CreateLogAnomalyDetector.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_CreateLogAnomalyDetector.go.snap @@ -14,7 +14,6 @@ CreateLogAnomalyDetector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_CreateLogGroup.go.snap b/service/cloudwatchlogs/snapshot/api_op_CreateLogGroup.go.snap index cf6de765773..46d0e273306 100644 --- a/service/cloudwatchlogs/snapshot/api_op_CreateLogGroup.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_CreateLogGroup.go.snap @@ -14,7 +14,6 @@ CreateLogGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_CreateLogStream.go.snap b/service/cloudwatchlogs/snapshot/api_op_CreateLogStream.go.snap index 5ca0c908e99..21be049315c 100644 --- a/service/cloudwatchlogs/snapshot/api_op_CreateLogStream.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_CreateLogStream.go.snap @@ -14,7 +14,6 @@ CreateLogStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DeleteAccountPolicy.go.snap b/service/cloudwatchlogs/snapshot/api_op_DeleteAccountPolicy.go.snap index b039523c093..2b259ac1d63 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DeleteAccountPolicy.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DeleteAccountPolicy.go.snap @@ -14,7 +14,6 @@ DeleteAccountPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DeleteDataProtectionPolicy.go.snap b/service/cloudwatchlogs/snapshot/api_op_DeleteDataProtectionPolicy.go.snap index 008d261c65b..c8e712d76c9 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DeleteDataProtectionPolicy.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DeleteDataProtectionPolicy.go.snap @@ -14,7 +14,6 @@ DeleteDataProtectionPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DeleteDelivery.go.snap b/service/cloudwatchlogs/snapshot/api_op_DeleteDelivery.go.snap index c9525745548..12ec3c982b2 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DeleteDelivery.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DeleteDelivery.go.snap @@ -14,7 +14,6 @@ DeleteDelivery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DeleteDeliveryDestination.go.snap b/service/cloudwatchlogs/snapshot/api_op_DeleteDeliveryDestination.go.snap index 3b87ee4067c..c3777485893 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DeleteDeliveryDestination.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DeleteDeliveryDestination.go.snap @@ -14,7 +14,6 @@ DeleteDeliveryDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DeleteDeliveryDestinationPolicy.go.snap b/service/cloudwatchlogs/snapshot/api_op_DeleteDeliveryDestinationPolicy.go.snap index 53c6c57ca61..8e0a25054fc 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DeleteDeliveryDestinationPolicy.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DeleteDeliveryDestinationPolicy.go.snap @@ -14,7 +14,6 @@ DeleteDeliveryDestinationPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DeleteDeliverySource.go.snap b/service/cloudwatchlogs/snapshot/api_op_DeleteDeliverySource.go.snap index 1b9cafc300b..e638325052c 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DeleteDeliverySource.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DeleteDeliverySource.go.snap @@ -14,7 +14,6 @@ DeleteDeliverySource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DeleteDestination.go.snap b/service/cloudwatchlogs/snapshot/api_op_DeleteDestination.go.snap index b6d4cd3fe7c..d047c25e070 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DeleteDestination.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DeleteDestination.go.snap @@ -14,7 +14,6 @@ DeleteDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DeleteIndexPolicy.go.snap b/service/cloudwatchlogs/snapshot/api_op_DeleteIndexPolicy.go.snap index e13854f5b0c..731188ffea7 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DeleteIndexPolicy.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DeleteIndexPolicy.go.snap @@ -14,7 +14,6 @@ DeleteIndexPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DeleteIntegration.go.snap b/service/cloudwatchlogs/snapshot/api_op_DeleteIntegration.go.snap index b138e678938..cc8fc148389 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DeleteIntegration.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DeleteIntegration.go.snap @@ -14,7 +14,6 @@ DeleteIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DeleteLogAnomalyDetector.go.snap b/service/cloudwatchlogs/snapshot/api_op_DeleteLogAnomalyDetector.go.snap index 612370ba393..22baaad73f6 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DeleteLogAnomalyDetector.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DeleteLogAnomalyDetector.go.snap @@ -14,7 +14,6 @@ DeleteLogAnomalyDetector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DeleteLogGroup.go.snap b/service/cloudwatchlogs/snapshot/api_op_DeleteLogGroup.go.snap index 7d471438801..e18c6f068e2 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DeleteLogGroup.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DeleteLogGroup.go.snap @@ -14,7 +14,6 @@ DeleteLogGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DeleteLogStream.go.snap b/service/cloudwatchlogs/snapshot/api_op_DeleteLogStream.go.snap index 2cd0fe1877a..de18f8523c9 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DeleteLogStream.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DeleteLogStream.go.snap @@ -14,7 +14,6 @@ DeleteLogStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DeleteMetricFilter.go.snap b/service/cloudwatchlogs/snapshot/api_op_DeleteMetricFilter.go.snap index 54991aff8a2..9fad24b9f94 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DeleteMetricFilter.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DeleteMetricFilter.go.snap @@ -14,7 +14,6 @@ DeleteMetricFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DeleteQueryDefinition.go.snap b/service/cloudwatchlogs/snapshot/api_op_DeleteQueryDefinition.go.snap index e9ac5e1b1de..ad50a6a0a0f 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DeleteQueryDefinition.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DeleteQueryDefinition.go.snap @@ -14,7 +14,6 @@ DeleteQueryDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DeleteResourcePolicy.go.snap b/service/cloudwatchlogs/snapshot/api_op_DeleteResourcePolicy.go.snap index 71f4a3802ad..88f47f54773 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DeleteResourcePolicy.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DeleteResourcePolicy.go.snap @@ -13,7 +13,6 @@ DeleteResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DeleteRetentionPolicy.go.snap b/service/cloudwatchlogs/snapshot/api_op_DeleteRetentionPolicy.go.snap index 6a72704fedc..80987e58d63 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DeleteRetentionPolicy.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DeleteRetentionPolicy.go.snap @@ -14,7 +14,6 @@ DeleteRetentionPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DeleteSubscriptionFilter.go.snap b/service/cloudwatchlogs/snapshot/api_op_DeleteSubscriptionFilter.go.snap index 13fa1fdf917..1d1a494eed2 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DeleteSubscriptionFilter.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DeleteSubscriptionFilter.go.snap @@ -14,7 +14,6 @@ DeleteSubscriptionFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DeleteTransformer.go.snap b/service/cloudwatchlogs/snapshot/api_op_DeleteTransformer.go.snap index 01a598722d4..562be35f5ab 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DeleteTransformer.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DeleteTransformer.go.snap @@ -14,7 +14,6 @@ DeleteTransformer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DescribeAccountPolicies.go.snap b/service/cloudwatchlogs/snapshot/api_op_DescribeAccountPolicies.go.snap index 0d657ef32f3..4b1a509e372 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DescribeAccountPolicies.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DescribeAccountPolicies.go.snap @@ -14,7 +14,6 @@ DescribeAccountPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DescribeConfigurationTemplates.go.snap b/service/cloudwatchlogs/snapshot/api_op_DescribeConfigurationTemplates.go.snap index 6df2089c603..cf3f0a3b151 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DescribeConfigurationTemplates.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DescribeConfigurationTemplates.go.snap @@ -13,7 +13,6 @@ DescribeConfigurationTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DescribeDeliveries.go.snap b/service/cloudwatchlogs/snapshot/api_op_DescribeDeliveries.go.snap index b955259ca9c..4f41fd52ec6 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DescribeDeliveries.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DescribeDeliveries.go.snap @@ -13,7 +13,6 @@ DescribeDeliveries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DescribeDeliveryDestinations.go.snap b/service/cloudwatchlogs/snapshot/api_op_DescribeDeliveryDestinations.go.snap index 6de200e31e8..a9f9bad4fb3 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DescribeDeliveryDestinations.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DescribeDeliveryDestinations.go.snap @@ -13,7 +13,6 @@ DescribeDeliveryDestinations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DescribeDeliverySources.go.snap b/service/cloudwatchlogs/snapshot/api_op_DescribeDeliverySources.go.snap index 794094c3b7d..d2f817463d4 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DescribeDeliverySources.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DescribeDeliverySources.go.snap @@ -13,7 +13,6 @@ DescribeDeliverySources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DescribeDestinations.go.snap b/service/cloudwatchlogs/snapshot/api_op_DescribeDestinations.go.snap index 514d9fd87ef..12ad89d0436 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DescribeDestinations.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DescribeDestinations.go.snap @@ -13,7 +13,6 @@ DescribeDestinations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DescribeExportTasks.go.snap b/service/cloudwatchlogs/snapshot/api_op_DescribeExportTasks.go.snap index cedee63d11b..c785b83157e 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DescribeExportTasks.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DescribeExportTasks.go.snap @@ -13,7 +13,6 @@ DescribeExportTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DescribeFieldIndexes.go.snap b/service/cloudwatchlogs/snapshot/api_op_DescribeFieldIndexes.go.snap index 3cd49d8957d..b371edee3d7 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DescribeFieldIndexes.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DescribeFieldIndexes.go.snap @@ -14,7 +14,6 @@ DescribeFieldIndexes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DescribeIndexPolicies.go.snap b/service/cloudwatchlogs/snapshot/api_op_DescribeIndexPolicies.go.snap index 3db980ab678..39d76638e34 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DescribeIndexPolicies.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DescribeIndexPolicies.go.snap @@ -14,7 +14,6 @@ DescribeIndexPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DescribeLogGroups.go.snap b/service/cloudwatchlogs/snapshot/api_op_DescribeLogGroups.go.snap index be0c0ffc077..56b46e93945 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DescribeLogGroups.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DescribeLogGroups.go.snap @@ -13,7 +13,6 @@ DescribeLogGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DescribeLogStreams.go.snap b/service/cloudwatchlogs/snapshot/api_op_DescribeLogStreams.go.snap index 704852ea6cf..64c6539e606 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DescribeLogStreams.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DescribeLogStreams.go.snap @@ -13,7 +13,6 @@ DescribeLogStreams Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DescribeMetricFilters.go.snap b/service/cloudwatchlogs/snapshot/api_op_DescribeMetricFilters.go.snap index a497ee97337..f929788442e 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DescribeMetricFilters.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DescribeMetricFilters.go.snap @@ -13,7 +13,6 @@ DescribeMetricFilters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DescribeQueries.go.snap b/service/cloudwatchlogs/snapshot/api_op_DescribeQueries.go.snap index 02456cca464..0f6c23a2a15 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DescribeQueries.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DescribeQueries.go.snap @@ -13,7 +13,6 @@ DescribeQueries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DescribeQueryDefinitions.go.snap b/service/cloudwatchlogs/snapshot/api_op_DescribeQueryDefinitions.go.snap index 492a96ff1f6..d5de58f3e84 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DescribeQueryDefinitions.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DescribeQueryDefinitions.go.snap @@ -13,7 +13,6 @@ DescribeQueryDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DescribeResourcePolicies.go.snap b/service/cloudwatchlogs/snapshot/api_op_DescribeResourcePolicies.go.snap index f5fab364215..766888c618b 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DescribeResourcePolicies.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DescribeResourcePolicies.go.snap @@ -13,7 +13,6 @@ DescribeResourcePolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DescribeSubscriptionFilters.go.snap b/service/cloudwatchlogs/snapshot/api_op_DescribeSubscriptionFilters.go.snap index e668de878e7..366965285fc 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DescribeSubscriptionFilters.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DescribeSubscriptionFilters.go.snap @@ -14,7 +14,6 @@ DescribeSubscriptionFilters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_DisassociateKmsKey.go.snap b/service/cloudwatchlogs/snapshot/api_op_DisassociateKmsKey.go.snap index 144366bd524..64cfd86b1f3 100644 --- a/service/cloudwatchlogs/snapshot/api_op_DisassociateKmsKey.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_DisassociateKmsKey.go.snap @@ -13,7 +13,6 @@ DisassociateKmsKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_FilterLogEvents.go.snap b/service/cloudwatchlogs/snapshot/api_op_FilterLogEvents.go.snap index 1fb4cc6a1ae..cea0b1f0961 100644 --- a/service/cloudwatchlogs/snapshot/api_op_FilterLogEvents.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_FilterLogEvents.go.snap @@ -13,7 +13,6 @@ FilterLogEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_GetDataProtectionPolicy.go.snap b/service/cloudwatchlogs/snapshot/api_op_GetDataProtectionPolicy.go.snap index 7e10b148653..453e0a0b2a5 100644 --- a/service/cloudwatchlogs/snapshot/api_op_GetDataProtectionPolicy.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_GetDataProtectionPolicy.go.snap @@ -14,7 +14,6 @@ GetDataProtectionPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_GetDelivery.go.snap b/service/cloudwatchlogs/snapshot/api_op_GetDelivery.go.snap index f27092c3cfa..912dea96809 100644 --- a/service/cloudwatchlogs/snapshot/api_op_GetDelivery.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_GetDelivery.go.snap @@ -14,7 +14,6 @@ GetDelivery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_GetDeliveryDestination.go.snap b/service/cloudwatchlogs/snapshot/api_op_GetDeliveryDestination.go.snap index a77c1ea1237..d3b7a1547ca 100644 --- a/service/cloudwatchlogs/snapshot/api_op_GetDeliveryDestination.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_GetDeliveryDestination.go.snap @@ -14,7 +14,6 @@ GetDeliveryDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_GetDeliveryDestinationPolicy.go.snap b/service/cloudwatchlogs/snapshot/api_op_GetDeliveryDestinationPolicy.go.snap index 3effcb75fbb..b00876bd86e 100644 --- a/service/cloudwatchlogs/snapshot/api_op_GetDeliveryDestinationPolicy.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_GetDeliveryDestinationPolicy.go.snap @@ -14,7 +14,6 @@ GetDeliveryDestinationPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_GetDeliverySource.go.snap b/service/cloudwatchlogs/snapshot/api_op_GetDeliverySource.go.snap index 87711163ba0..46d4f4913d5 100644 --- a/service/cloudwatchlogs/snapshot/api_op_GetDeliverySource.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_GetDeliverySource.go.snap @@ -14,7 +14,6 @@ GetDeliverySource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_GetIntegration.go.snap b/service/cloudwatchlogs/snapshot/api_op_GetIntegration.go.snap index a5713de922b..220f9fd1707 100644 --- a/service/cloudwatchlogs/snapshot/api_op_GetIntegration.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_GetIntegration.go.snap @@ -14,7 +14,6 @@ GetIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_GetLogAnomalyDetector.go.snap b/service/cloudwatchlogs/snapshot/api_op_GetLogAnomalyDetector.go.snap index e95c7ca3d37..c9af63d8b6b 100644 --- a/service/cloudwatchlogs/snapshot/api_op_GetLogAnomalyDetector.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_GetLogAnomalyDetector.go.snap @@ -14,7 +14,6 @@ GetLogAnomalyDetector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_GetLogEvents.go.snap b/service/cloudwatchlogs/snapshot/api_op_GetLogEvents.go.snap index 40c1748eb33..0cba5fb5ab2 100644 --- a/service/cloudwatchlogs/snapshot/api_op_GetLogEvents.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_GetLogEvents.go.snap @@ -14,7 +14,6 @@ GetLogEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_GetLogGroupFields.go.snap b/service/cloudwatchlogs/snapshot/api_op_GetLogGroupFields.go.snap index f5f4d6159bf..8810b8856ae 100644 --- a/service/cloudwatchlogs/snapshot/api_op_GetLogGroupFields.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_GetLogGroupFields.go.snap @@ -13,7 +13,6 @@ GetLogGroupFields Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_GetLogRecord.go.snap b/service/cloudwatchlogs/snapshot/api_op_GetLogRecord.go.snap index 79aeb838024..453bb246247 100644 --- a/service/cloudwatchlogs/snapshot/api_op_GetLogRecord.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_GetLogRecord.go.snap @@ -14,7 +14,6 @@ GetLogRecord Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_GetQueryResults.go.snap b/service/cloudwatchlogs/snapshot/api_op_GetQueryResults.go.snap index 7f73c5ba632..68a5b62133d 100644 --- a/service/cloudwatchlogs/snapshot/api_op_GetQueryResults.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_GetQueryResults.go.snap @@ -14,7 +14,6 @@ GetQueryResults Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_GetTransformer.go.snap b/service/cloudwatchlogs/snapshot/api_op_GetTransformer.go.snap index 48a0dc4cb47..9af9fea8fdc 100644 --- a/service/cloudwatchlogs/snapshot/api_op_GetTransformer.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_GetTransformer.go.snap @@ -14,7 +14,6 @@ GetTransformer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_ListAnomalies.go.snap b/service/cloudwatchlogs/snapshot/api_op_ListAnomalies.go.snap index d11505e38d2..ab9f38996cf 100644 --- a/service/cloudwatchlogs/snapshot/api_op_ListAnomalies.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_ListAnomalies.go.snap @@ -13,7 +13,6 @@ ListAnomalies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_ListIntegrations.go.snap b/service/cloudwatchlogs/snapshot/api_op_ListIntegrations.go.snap index b81238aad3a..d01073be8ec 100644 --- a/service/cloudwatchlogs/snapshot/api_op_ListIntegrations.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_ListIntegrations.go.snap @@ -13,7 +13,6 @@ ListIntegrations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_ListLogAnomalyDetectors.go.snap b/service/cloudwatchlogs/snapshot/api_op_ListLogAnomalyDetectors.go.snap index d19924fedd3..bb122eafab6 100644 --- a/service/cloudwatchlogs/snapshot/api_op_ListLogAnomalyDetectors.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_ListLogAnomalyDetectors.go.snap @@ -13,7 +13,6 @@ ListLogAnomalyDetectors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_ListLogGroupsForQuery.go.snap b/service/cloudwatchlogs/snapshot/api_op_ListLogGroupsForQuery.go.snap index 2a7380321b4..3ede210dc97 100644 --- a/service/cloudwatchlogs/snapshot/api_op_ListLogGroupsForQuery.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_ListLogGroupsForQuery.go.snap @@ -14,7 +14,6 @@ ListLogGroupsForQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_ListTagsForResource.go.snap b/service/cloudwatchlogs/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/cloudwatchlogs/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_ListTagsLogGroup.go.snap b/service/cloudwatchlogs/snapshot/api_op_ListTagsLogGroup.go.snap index 264b011eba7..fa1403e0fa8 100644 --- a/service/cloudwatchlogs/snapshot/api_op_ListTagsLogGroup.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_ListTagsLogGroup.go.snap @@ -14,7 +14,6 @@ ListTagsLogGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_PutAccountPolicy.go.snap b/service/cloudwatchlogs/snapshot/api_op_PutAccountPolicy.go.snap index 1b573759571..1de0581e6e2 100644 --- a/service/cloudwatchlogs/snapshot/api_op_PutAccountPolicy.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_PutAccountPolicy.go.snap @@ -14,7 +14,6 @@ PutAccountPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_PutDataProtectionPolicy.go.snap b/service/cloudwatchlogs/snapshot/api_op_PutDataProtectionPolicy.go.snap index 5b4948e35fd..65af3fece14 100644 --- a/service/cloudwatchlogs/snapshot/api_op_PutDataProtectionPolicy.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_PutDataProtectionPolicy.go.snap @@ -14,7 +14,6 @@ PutDataProtectionPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_PutDeliveryDestination.go.snap b/service/cloudwatchlogs/snapshot/api_op_PutDeliveryDestination.go.snap index c3897e2ec88..6790de0b649 100644 --- a/service/cloudwatchlogs/snapshot/api_op_PutDeliveryDestination.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_PutDeliveryDestination.go.snap @@ -14,7 +14,6 @@ PutDeliveryDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_PutDeliveryDestinationPolicy.go.snap b/service/cloudwatchlogs/snapshot/api_op_PutDeliveryDestinationPolicy.go.snap index 37c48c6a185..3875688e2ed 100644 --- a/service/cloudwatchlogs/snapshot/api_op_PutDeliveryDestinationPolicy.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_PutDeliveryDestinationPolicy.go.snap @@ -14,7 +14,6 @@ PutDeliveryDestinationPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_PutDeliverySource.go.snap b/service/cloudwatchlogs/snapshot/api_op_PutDeliverySource.go.snap index 90989cc2d2b..e3dc10e12d2 100644 --- a/service/cloudwatchlogs/snapshot/api_op_PutDeliverySource.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_PutDeliverySource.go.snap @@ -14,7 +14,6 @@ PutDeliverySource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_PutDestination.go.snap b/service/cloudwatchlogs/snapshot/api_op_PutDestination.go.snap index 9f503f41994..6c3548593cf 100644 --- a/service/cloudwatchlogs/snapshot/api_op_PutDestination.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_PutDestination.go.snap @@ -14,7 +14,6 @@ PutDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_PutDestinationPolicy.go.snap b/service/cloudwatchlogs/snapshot/api_op_PutDestinationPolicy.go.snap index f5b460c8ead..6c8b7aeb6fc 100644 --- a/service/cloudwatchlogs/snapshot/api_op_PutDestinationPolicy.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_PutDestinationPolicy.go.snap @@ -14,7 +14,6 @@ PutDestinationPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_PutIndexPolicy.go.snap b/service/cloudwatchlogs/snapshot/api_op_PutIndexPolicy.go.snap index 030792639e1..4b902873a9f 100644 --- a/service/cloudwatchlogs/snapshot/api_op_PutIndexPolicy.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_PutIndexPolicy.go.snap @@ -14,7 +14,6 @@ PutIndexPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_PutIntegration.go.snap b/service/cloudwatchlogs/snapshot/api_op_PutIntegration.go.snap index 27351926bf1..395aec85b25 100644 --- a/service/cloudwatchlogs/snapshot/api_op_PutIntegration.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_PutIntegration.go.snap @@ -14,7 +14,6 @@ PutIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_PutLogEvents.go.snap b/service/cloudwatchlogs/snapshot/api_op_PutLogEvents.go.snap index 64584258010..3fba3554b25 100644 --- a/service/cloudwatchlogs/snapshot/api_op_PutLogEvents.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_PutLogEvents.go.snap @@ -14,7 +14,6 @@ PutLogEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_PutMetricFilter.go.snap b/service/cloudwatchlogs/snapshot/api_op_PutMetricFilter.go.snap index 9f669ea446d..8235d10be3d 100644 --- a/service/cloudwatchlogs/snapshot/api_op_PutMetricFilter.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_PutMetricFilter.go.snap @@ -14,7 +14,6 @@ PutMetricFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_PutQueryDefinition.go.snap b/service/cloudwatchlogs/snapshot/api_op_PutQueryDefinition.go.snap index 2ca61bac9a6..4043cf146a5 100644 --- a/service/cloudwatchlogs/snapshot/api_op_PutQueryDefinition.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_PutQueryDefinition.go.snap @@ -15,7 +15,6 @@ PutQueryDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_PutResourcePolicy.go.snap b/service/cloudwatchlogs/snapshot/api_op_PutResourcePolicy.go.snap index 6299a5230a2..d456de016c6 100644 --- a/service/cloudwatchlogs/snapshot/api_op_PutResourcePolicy.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_PutResourcePolicy.go.snap @@ -13,7 +13,6 @@ PutResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_PutRetentionPolicy.go.snap b/service/cloudwatchlogs/snapshot/api_op_PutRetentionPolicy.go.snap index 869cd0f20cd..12e461d2246 100644 --- a/service/cloudwatchlogs/snapshot/api_op_PutRetentionPolicy.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_PutRetentionPolicy.go.snap @@ -14,7 +14,6 @@ PutRetentionPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_PutSubscriptionFilter.go.snap b/service/cloudwatchlogs/snapshot/api_op_PutSubscriptionFilter.go.snap index bc448e7596c..e34921b5fc5 100644 --- a/service/cloudwatchlogs/snapshot/api_op_PutSubscriptionFilter.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_PutSubscriptionFilter.go.snap @@ -14,7 +14,6 @@ PutSubscriptionFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_PutTransformer.go.snap b/service/cloudwatchlogs/snapshot/api_op_PutTransformer.go.snap index ff653cca501..43eb58e2d29 100644 --- a/service/cloudwatchlogs/snapshot/api_op_PutTransformer.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_PutTransformer.go.snap @@ -14,7 +14,6 @@ PutTransformer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_StartLiveTail.go.snap b/service/cloudwatchlogs/snapshot/api_op_StartLiveTail.go.snap index 3cc55b1ec06..e91b47dc3e7 100644 --- a/service/cloudwatchlogs/snapshot/api_op_StartLiveTail.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_StartLiveTail.go.snap @@ -14,7 +14,6 @@ StartLiveTail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_StartQuery.go.snap b/service/cloudwatchlogs/snapshot/api_op_StartQuery.go.snap index 33a39c42b1f..dc8dabdf9ee 100644 --- a/service/cloudwatchlogs/snapshot/api_op_StartQuery.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_StartQuery.go.snap @@ -14,7 +14,6 @@ StartQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_StopQuery.go.snap b/service/cloudwatchlogs/snapshot/api_op_StopQuery.go.snap index 2adcbd62512..b969761bb2c 100644 --- a/service/cloudwatchlogs/snapshot/api_op_StopQuery.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_StopQuery.go.snap @@ -14,7 +14,6 @@ StopQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_TagLogGroup.go.snap b/service/cloudwatchlogs/snapshot/api_op_TagLogGroup.go.snap index e729b866212..b2d63d6c789 100644 --- a/service/cloudwatchlogs/snapshot/api_op_TagLogGroup.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_TagLogGroup.go.snap @@ -14,7 +14,6 @@ TagLogGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_TagResource.go.snap b/service/cloudwatchlogs/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/cloudwatchlogs/snapshot/api_op_TagResource.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_TestMetricFilter.go.snap b/service/cloudwatchlogs/snapshot/api_op_TestMetricFilter.go.snap index 0636550ee52..a39a91450f9 100644 --- a/service/cloudwatchlogs/snapshot/api_op_TestMetricFilter.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_TestMetricFilter.go.snap @@ -14,7 +14,6 @@ TestMetricFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_TestTransformer.go.snap b/service/cloudwatchlogs/snapshot/api_op_TestTransformer.go.snap index 24032f6f608..0e29573e869 100644 --- a/service/cloudwatchlogs/snapshot/api_op_TestTransformer.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_TestTransformer.go.snap @@ -14,7 +14,6 @@ TestTransformer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_UntagLogGroup.go.snap b/service/cloudwatchlogs/snapshot/api_op_UntagLogGroup.go.snap index 70ddcec32ff..23bbf2e2bae 100644 --- a/service/cloudwatchlogs/snapshot/api_op_UntagLogGroup.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_UntagLogGroup.go.snap @@ -14,7 +14,6 @@ UntagLogGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_UntagResource.go.snap b/service/cloudwatchlogs/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/cloudwatchlogs/snapshot/api_op_UntagResource.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_UpdateAnomaly.go.snap b/service/cloudwatchlogs/snapshot/api_op_UpdateAnomaly.go.snap index 7a70f7aa57b..20a5f3888f9 100644 --- a/service/cloudwatchlogs/snapshot/api_op_UpdateAnomaly.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_UpdateAnomaly.go.snap @@ -14,7 +14,6 @@ UpdateAnomaly Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_UpdateDeliveryConfiguration.go.snap b/service/cloudwatchlogs/snapshot/api_op_UpdateDeliveryConfiguration.go.snap index fe3a31462be..aca285058f4 100644 --- a/service/cloudwatchlogs/snapshot/api_op_UpdateDeliveryConfiguration.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_UpdateDeliveryConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateDeliveryConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cloudwatchlogs/snapshot/api_op_UpdateLogAnomalyDetector.go.snap b/service/cloudwatchlogs/snapshot/api_op_UpdateLogAnomalyDetector.go.snap index 352341c93ec..66ce0856315 100644 --- a/service/cloudwatchlogs/snapshot/api_op_UpdateLogAnomalyDetector.go.snap +++ b/service/cloudwatchlogs/snapshot/api_op_UpdateLogAnomalyDetector.go.snap @@ -14,7 +14,6 @@ UpdateLogAnomalyDetector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/api_client.go b/service/codeartifact/api_client.go index 237616a568f..58f5a945adc 100644 --- a/service/codeartifact/api_client.go +++ b/service/codeartifact/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/codeartifact/api_op_AssociateExternalConnection.go b/service/codeartifact/api_op_AssociateExternalConnection.go index 42ac60e84c9..45489b0a32e 100644 --- a/service/codeartifact/api_op_AssociateExternalConnection.go +++ b/service/codeartifact/api_op_AssociateExternalConnection.go @@ -151,9 +151,6 @@ func (c *Client) addOperationAssociateExternalConnectionMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateExternalConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_CopyPackageVersions.go b/service/codeartifact/api_op_CopyPackageVersions.go index 10e30f16be1..be922ab66d1 100644 --- a/service/codeartifact/api_op_CopyPackageVersions.go +++ b/service/codeartifact/api_op_CopyPackageVersions.go @@ -206,9 +206,6 @@ func (c *Client) addOperationCopyPackageVersionsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCopyPackageVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_CreateDomain.go b/service/codeartifact/api_op_CreateDomain.go index c66ed49407d..55416d59b38 100644 --- a/service/codeartifact/api_op_CreateDomain.go +++ b/service/codeartifact/api_op_CreateDomain.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCreateDomainMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_CreatePackageGroup.go b/service/codeartifact/api_op_CreatePackageGroup.go index f9572c16578..c1dee8ea38a 100644 --- a/service/codeartifact/api_op_CreatePackageGroup.go +++ b/service/codeartifact/api_op_CreatePackageGroup.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreatePackageGroupMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePackageGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_CreateRepository.go b/service/codeartifact/api_op_CreateRepository.go index 5702f7ff698..52458140267 100644 --- a/service/codeartifact/api_op_CreateRepository.go +++ b/service/codeartifact/api_op_CreateRepository.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCreateRepositoryMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRepositoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_DeleteDomain.go b/service/codeartifact/api_op_DeleteDomain.go index bf34fda50bb..89d184467c6 100644 --- a/service/codeartifact/api_op_DeleteDomain.go +++ b/service/codeartifact/api_op_DeleteDomain.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteDomainMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_DeleteDomainPermissionsPolicy.go b/service/codeartifact/api_op_DeleteDomainPermissionsPolicy.go index 778c565bf32..7b92dcc0e71 100644 --- a/service/codeartifact/api_op_DeleteDomainPermissionsPolicy.go +++ b/service/codeartifact/api_op_DeleteDomainPermissionsPolicy.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteDomainPermissionsPolicyMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDomainPermissionsPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_DeletePackage.go b/service/codeartifact/api_op_DeletePackage.go index 26a32867487..daa2d498b6b 100644 --- a/service/codeartifact/api_op_DeletePackage.go +++ b/service/codeartifact/api_op_DeletePackage.go @@ -156,9 +156,6 @@ func (c *Client) addOperationDeletePackageMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePackageValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_DeletePackageGroup.go b/service/codeartifact/api_op_DeletePackageGroup.go index ea66921ab14..70b1aabd079 100644 --- a/service/codeartifact/api_op_DeletePackageGroup.go +++ b/service/codeartifact/api_op_DeletePackageGroup.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDeletePackageGroupMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePackageGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_DeletePackageVersions.go b/service/codeartifact/api_op_DeletePackageVersions.go index 163b2e6ef48..c3e5d288eca 100644 --- a/service/codeartifact/api_op_DeletePackageVersions.go +++ b/service/codeartifact/api_op_DeletePackageVersions.go @@ -187,9 +187,6 @@ func (c *Client) addOperationDeletePackageVersionsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePackageVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_DeleteRepository.go b/service/codeartifact/api_op_DeleteRepository.go index c9a7c7964cc..0482da07a65 100644 --- a/service/codeartifact/api_op_DeleteRepository.go +++ b/service/codeartifact/api_op_DeleteRepository.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteRepositoryMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRepositoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_DeleteRepositoryPermissionsPolicy.go b/service/codeartifact/api_op_DeleteRepositoryPermissionsPolicy.go index 7e99d428ad8..64620d5ed32 100644 --- a/service/codeartifact/api_op_DeleteRepositoryPermissionsPolicy.go +++ b/service/codeartifact/api_op_DeleteRepositoryPermissionsPolicy.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDeleteRepositoryPermissionsPolicyMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRepositoryPermissionsPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_DescribeDomain.go b/service/codeartifact/api_op_DescribeDomain.go index 21f9b25e8f3..ddb7a3a1f77 100644 --- a/service/codeartifact/api_op_DescribeDomain.go +++ b/service/codeartifact/api_op_DescribeDomain.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeDomainMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_DescribePackage.go b/service/codeartifact/api_op_DescribePackage.go index 4f636b72edc..4eaab5a77cd 100644 --- a/service/codeartifact/api_op_DescribePackage.go +++ b/service/codeartifact/api_op_DescribePackage.go @@ -159,9 +159,6 @@ func (c *Client) addOperationDescribePackageMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePackageValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_DescribePackageGroup.go b/service/codeartifact/api_op_DescribePackageGroup.go index 42b4eee2864..55c50d9e0e2 100644 --- a/service/codeartifact/api_op_DescribePackageGroup.go +++ b/service/codeartifact/api_op_DescribePackageGroup.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribePackageGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePackageGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_DescribePackageVersion.go b/service/codeartifact/api_op_DescribePackageVersion.go index 269fc128248..7869f254282 100644 --- a/service/codeartifact/api_op_DescribePackageVersion.go +++ b/service/codeartifact/api_op_DescribePackageVersion.go @@ -168,9 +168,6 @@ func (c *Client) addOperationDescribePackageVersionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePackageVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_DescribeRepository.go b/service/codeartifact/api_op_DescribeRepository.go index 8d67e57997d..82eb855214c 100644 --- a/service/codeartifact/api_op_DescribeRepository.go +++ b/service/codeartifact/api_op_DescribeRepository.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeRepositoryMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRepositoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_DisassociateExternalConnection.go b/service/codeartifact/api_op_DisassociateExternalConnection.go index 2c42881c8e1..901eedccb9a 100644 --- a/service/codeartifact/api_op_DisassociateExternalConnection.go +++ b/service/codeartifact/api_op_DisassociateExternalConnection.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDisassociateExternalConnectionMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateExternalConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_DisposePackageVersions.go b/service/codeartifact/api_op_DisposePackageVersions.go index 6d3f4388208..d1a78df6046 100644 --- a/service/codeartifact/api_op_DisposePackageVersions.go +++ b/service/codeartifact/api_op_DisposePackageVersions.go @@ -194,9 +194,6 @@ func (c *Client) addOperationDisposePackageVersionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisposePackageVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_GetAssociatedPackageGroup.go b/service/codeartifact/api_op_GetAssociatedPackageGroup.go index a8636f10a09..300b4805b12 100644 --- a/service/codeartifact/api_op_GetAssociatedPackageGroup.go +++ b/service/codeartifact/api_op_GetAssociatedPackageGroup.go @@ -166,9 +166,6 @@ func (c *Client) addOperationGetAssociatedPackageGroupMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAssociatedPackageGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_GetAuthorizationToken.go b/service/codeartifact/api_op_GetAuthorizationToken.go index 984261db023..7c38945a6ff 100644 --- a/service/codeartifact/api_op_GetAuthorizationToken.go +++ b/service/codeartifact/api_op_GetAuthorizationToken.go @@ -148,9 +148,6 @@ func (c *Client) addOperationGetAuthorizationTokenMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAuthorizationTokenValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_GetDomainPermissionsPolicy.go b/service/codeartifact/api_op_GetDomainPermissionsPolicy.go index b8b774fdbf6..5bfe2ef5b35 100644 --- a/service/codeartifact/api_op_GetDomainPermissionsPolicy.go +++ b/service/codeartifact/api_op_GetDomainPermissionsPolicy.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetDomainPermissionsPolicyMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDomainPermissionsPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_GetPackageVersionAsset.go b/service/codeartifact/api_op_GetPackageVersionAsset.go index bd3131a87a5..488ae2bf3cf 100644 --- a/service/codeartifact/api_op_GetPackageVersionAsset.go +++ b/service/codeartifact/api_op_GetPackageVersionAsset.go @@ -179,9 +179,6 @@ func (c *Client) addOperationGetPackageVersionAssetMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPackageVersionAssetValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_GetPackageVersionReadme.go b/service/codeartifact/api_op_GetPackageVersionReadme.go index 1c04ea593ad..257bf94a0bc 100644 --- a/service/codeartifact/api_op_GetPackageVersionReadme.go +++ b/service/codeartifact/api_op_GetPackageVersionReadme.go @@ -190,9 +190,6 @@ func (c *Client) addOperationGetPackageVersionReadmeMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPackageVersionReadmeValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_GetRepositoryEndpoint.go b/service/codeartifact/api_op_GetRepositoryEndpoint.go index d1126bf2264..5fdb694ac8c 100644 --- a/service/codeartifact/api_op_GetRepositoryEndpoint.go +++ b/service/codeartifact/api_op_GetRepositoryEndpoint.go @@ -148,9 +148,6 @@ func (c *Client) addOperationGetRepositoryEndpointMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRepositoryEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_GetRepositoryPermissionsPolicy.go b/service/codeartifact/api_op_GetRepositoryPermissionsPolicy.go index b567fc83c3c..eba2f50a628 100644 --- a/service/codeartifact/api_op_GetRepositoryPermissionsPolicy.go +++ b/service/codeartifact/api_op_GetRepositoryPermissionsPolicy.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetRepositoryPermissionsPolicyMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRepositoryPermissionsPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_ListAllowedRepositoriesForGroup.go b/service/codeartifact/api_op_ListAllowedRepositoriesForGroup.go index 41714d3e5e6..7e2bd55c6df 100644 --- a/service/codeartifact/api_op_ListAllowedRepositoriesForGroup.go +++ b/service/codeartifact/api_op_ListAllowedRepositoriesForGroup.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListAllowedRepositoriesForGroupMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAllowedRepositoriesForGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_ListAssociatedPackages.go b/service/codeartifact/api_op_ListAssociatedPackages.go index dc581022011..0c25881994d 100644 --- a/service/codeartifact/api_op_ListAssociatedPackages.go +++ b/service/codeartifact/api_op_ListAssociatedPackages.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListAssociatedPackagesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAssociatedPackagesValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_ListDomains.go b/service/codeartifact/api_op_ListDomains.go index cb02a1f0f3e..6fbe87382e1 100644 --- a/service/codeartifact/api_op_ListDomains.go +++ b/service/codeartifact/api_op_ListDomains.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListDomainsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDomains(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codeartifact/api_op_ListPackageGroups.go b/service/codeartifact/api_op_ListPackageGroups.go index eb2dc7a4702..04b570a38fe 100644 --- a/service/codeartifact/api_op_ListPackageGroups.go +++ b/service/codeartifact/api_op_ListPackageGroups.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListPackageGroupsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPackageGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_ListPackageVersionAssets.go b/service/codeartifact/api_op_ListPackageVersionAssets.go index 986fc362ab2..584ddabc101 100644 --- a/service/codeartifact/api_op_ListPackageVersionAssets.go +++ b/service/codeartifact/api_op_ListPackageVersionAssets.go @@ -204,9 +204,6 @@ func (c *Client) addOperationListPackageVersionAssetsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPackageVersionAssetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_ListPackageVersionDependencies.go b/service/codeartifact/api_op_ListPackageVersionDependencies.go index 86d7905ea79..7419ffd6b02 100644 --- a/service/codeartifact/api_op_ListPackageVersionDependencies.go +++ b/service/codeartifact/api_op_ListPackageVersionDependencies.go @@ -202,9 +202,6 @@ func (c *Client) addOperationListPackageVersionDependenciesMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPackageVersionDependenciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_ListPackageVersions.go b/service/codeartifact/api_op_ListPackageVersions.go index f943636ccd6..d48006570e6 100644 --- a/service/codeartifact/api_op_ListPackageVersions.go +++ b/service/codeartifact/api_op_ListPackageVersions.go @@ -212,9 +212,6 @@ func (c *Client) addOperationListPackageVersionsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPackageVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_ListPackages.go b/service/codeartifact/api_op_ListPackages.go index 8e0f3a50fd7..d537efd7c6f 100644 --- a/service/codeartifact/api_op_ListPackages.go +++ b/service/codeartifact/api_op_ListPackages.go @@ -179,9 +179,6 @@ func (c *Client) addOperationListPackagesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPackagesValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_ListRepositories.go b/service/codeartifact/api_op_ListRepositories.go index 2f258f952b0..a775925383c 100644 --- a/service/codeartifact/api_op_ListRepositories.go +++ b/service/codeartifact/api_op_ListRepositories.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListRepositoriesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRepositories(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codeartifact/api_op_ListRepositoriesInDomain.go b/service/codeartifact/api_op_ListRepositoriesInDomain.go index 3fe4905d53b..89c4bb749ff 100644 --- a/service/codeartifact/api_op_ListRepositoriesInDomain.go +++ b/service/codeartifact/api_op_ListRepositoriesInDomain.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListRepositoriesInDomainMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRepositoriesInDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_ListSubPackageGroups.go b/service/codeartifact/api_op_ListSubPackageGroups.go index 040a4166a73..36084facb06 100644 --- a/service/codeartifact/api_op_ListSubPackageGroups.go +++ b/service/codeartifact/api_op_ListSubPackageGroups.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListSubPackageGroupsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSubPackageGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_ListTagsForResource.go b/service/codeartifact/api_op_ListTagsForResource.go index 6a9eb6a4893..437f3f532dc 100644 --- a/service/codeartifact/api_op_ListTagsForResource.go +++ b/service/codeartifact/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_PublishPackageVersion.go b/service/codeartifact/api_op_PublishPackageVersion.go index b54536fc8bd..888132f5f26 100644 --- a/service/codeartifact/api_op_PublishPackageVersion.go +++ b/service/codeartifact/api_op_PublishPackageVersion.go @@ -213,9 +213,6 @@ func (c *Client) addOperationPublishPackageVersionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPublishPackageVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_PutDomainPermissionsPolicy.go b/service/codeartifact/api_op_PutDomainPermissionsPolicy.go index 44259fd789d..9cd9d3c16af 100644 --- a/service/codeartifact/api_op_PutDomainPermissionsPolicy.go +++ b/service/codeartifact/api_op_PutDomainPermissionsPolicy.go @@ -132,9 +132,6 @@ func (c *Client) addOperationPutDomainPermissionsPolicyMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutDomainPermissionsPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_PutPackageOriginConfiguration.go b/service/codeartifact/api_op_PutPackageOriginConfiguration.go index 26b4d09e743..1c7c8893649 100644 --- a/service/codeartifact/api_op_PutPackageOriginConfiguration.go +++ b/service/codeartifact/api_op_PutPackageOriginConfiguration.go @@ -179,9 +179,6 @@ func (c *Client) addOperationPutPackageOriginConfigurationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutPackageOriginConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_PutRepositoryPermissionsPolicy.go b/service/codeartifact/api_op_PutRepositoryPermissionsPolicy.go index 14213270cad..49eb4cf643e 100644 --- a/service/codeartifact/api_op_PutRepositoryPermissionsPolicy.go +++ b/service/codeartifact/api_op_PutRepositoryPermissionsPolicy.go @@ -140,9 +140,6 @@ func (c *Client) addOperationPutRepositoryPermissionsPolicyMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutRepositoryPermissionsPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_TagResource.go b/service/codeartifact/api_op_TagResource.go index 4bd53dc69c2..813f3bb5240 100644 --- a/service/codeartifact/api_op_TagResource.go +++ b/service/codeartifact/api_op_TagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_UntagResource.go b/service/codeartifact/api_op_UntagResource.go index e3eae1d9afe..93d3b167d70 100644 --- a/service/codeartifact/api_op_UntagResource.go +++ b/service/codeartifact/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_UpdatePackageGroup.go b/service/codeartifact/api_op_UpdatePackageGroup.go index 8cb9479d6ad..d65a31a2ff6 100644 --- a/service/codeartifact/api_op_UpdatePackageGroup.go +++ b/service/codeartifact/api_op_UpdatePackageGroup.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdatePackageGroupMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePackageGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_UpdatePackageGroupOriginConfiguration.go b/service/codeartifact/api_op_UpdatePackageGroupOriginConfiguration.go index ec02ad52b8f..8ae76406e03 100644 --- a/service/codeartifact/api_op_UpdatePackageGroupOriginConfiguration.go +++ b/service/codeartifact/api_op_UpdatePackageGroupOriginConfiguration.go @@ -145,9 +145,6 @@ func (c *Client) addOperationUpdatePackageGroupOriginConfigurationMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePackageGroupOriginConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_UpdatePackageVersionsStatus.go b/service/codeartifact/api_op_UpdatePackageVersionsStatus.go index fbf212be3b4..d1d262ec8fc 100644 --- a/service/codeartifact/api_op_UpdatePackageVersionsStatus.go +++ b/service/codeartifact/api_op_UpdatePackageVersionsStatus.go @@ -179,9 +179,6 @@ func (c *Client) addOperationUpdatePackageVersionsStatusMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePackageVersionsStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/api_op_UpdateRepository.go b/service/codeartifact/api_op_UpdateRepository.go index f3a1aee6f8f..b5647a7aa64 100644 --- a/service/codeartifact/api_op_UpdateRepository.go +++ b/service/codeartifact/api_op_UpdateRepository.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateRepositoryMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRepositoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeartifact/snapshot/api_op_AssociateExternalConnection.go.snap b/service/codeartifact/snapshot/api_op_AssociateExternalConnection.go.snap index 55e1159cc1b..79c6ffed62e 100644 --- a/service/codeartifact/snapshot/api_op_AssociateExternalConnection.go.snap +++ b/service/codeartifact/snapshot/api_op_AssociateExternalConnection.go.snap @@ -14,7 +14,6 @@ AssociateExternalConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_CopyPackageVersions.go.snap b/service/codeartifact/snapshot/api_op_CopyPackageVersions.go.snap index 469ffa26b41..4f4fb9b59ce 100644 --- a/service/codeartifact/snapshot/api_op_CopyPackageVersions.go.snap +++ b/service/codeartifact/snapshot/api_op_CopyPackageVersions.go.snap @@ -14,7 +14,6 @@ CopyPackageVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_CreateDomain.go.snap b/service/codeartifact/snapshot/api_op_CreateDomain.go.snap index 16feb8a4d42..91a84f443d8 100644 --- a/service/codeartifact/snapshot/api_op_CreateDomain.go.snap +++ b/service/codeartifact/snapshot/api_op_CreateDomain.go.snap @@ -14,7 +14,6 @@ CreateDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_CreatePackageGroup.go.snap b/service/codeartifact/snapshot/api_op_CreatePackageGroup.go.snap index a38eace7bf0..86bc8a5501b 100644 --- a/service/codeartifact/snapshot/api_op_CreatePackageGroup.go.snap +++ b/service/codeartifact/snapshot/api_op_CreatePackageGroup.go.snap @@ -14,7 +14,6 @@ CreatePackageGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_CreateRepository.go.snap b/service/codeartifact/snapshot/api_op_CreateRepository.go.snap index 89c86dfaf56..6f61c5b4675 100644 --- a/service/codeartifact/snapshot/api_op_CreateRepository.go.snap +++ b/service/codeartifact/snapshot/api_op_CreateRepository.go.snap @@ -14,7 +14,6 @@ CreateRepository Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_DeleteDomain.go.snap b/service/codeartifact/snapshot/api_op_DeleteDomain.go.snap index 24c9a1b0eb3..9a8c40f82ef 100644 --- a/service/codeartifact/snapshot/api_op_DeleteDomain.go.snap +++ b/service/codeartifact/snapshot/api_op_DeleteDomain.go.snap @@ -14,7 +14,6 @@ DeleteDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_DeleteDomainPermissionsPolicy.go.snap b/service/codeartifact/snapshot/api_op_DeleteDomainPermissionsPolicy.go.snap index 0b09b6a6acb..e359dd82379 100644 --- a/service/codeartifact/snapshot/api_op_DeleteDomainPermissionsPolicy.go.snap +++ b/service/codeartifact/snapshot/api_op_DeleteDomainPermissionsPolicy.go.snap @@ -14,7 +14,6 @@ DeleteDomainPermissionsPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_DeletePackage.go.snap b/service/codeartifact/snapshot/api_op_DeletePackage.go.snap index dba6b0ad28c..d4bc64169bf 100644 --- a/service/codeartifact/snapshot/api_op_DeletePackage.go.snap +++ b/service/codeartifact/snapshot/api_op_DeletePackage.go.snap @@ -14,7 +14,6 @@ DeletePackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_DeletePackageGroup.go.snap b/service/codeartifact/snapshot/api_op_DeletePackageGroup.go.snap index 523c8909a00..d51507a84eb 100644 --- a/service/codeartifact/snapshot/api_op_DeletePackageGroup.go.snap +++ b/service/codeartifact/snapshot/api_op_DeletePackageGroup.go.snap @@ -14,7 +14,6 @@ DeletePackageGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_DeletePackageVersions.go.snap b/service/codeartifact/snapshot/api_op_DeletePackageVersions.go.snap index 8821bb85987..0e552d1dc99 100644 --- a/service/codeartifact/snapshot/api_op_DeletePackageVersions.go.snap +++ b/service/codeartifact/snapshot/api_op_DeletePackageVersions.go.snap @@ -14,7 +14,6 @@ DeletePackageVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_DeleteRepository.go.snap b/service/codeartifact/snapshot/api_op_DeleteRepository.go.snap index f94a590e30e..9a621bc6069 100644 --- a/service/codeartifact/snapshot/api_op_DeleteRepository.go.snap +++ b/service/codeartifact/snapshot/api_op_DeleteRepository.go.snap @@ -14,7 +14,6 @@ DeleteRepository Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_DeleteRepositoryPermissionsPolicy.go.snap b/service/codeartifact/snapshot/api_op_DeleteRepositoryPermissionsPolicy.go.snap index a858c7baaf9..8c96d8f7f06 100644 --- a/service/codeartifact/snapshot/api_op_DeleteRepositoryPermissionsPolicy.go.snap +++ b/service/codeartifact/snapshot/api_op_DeleteRepositoryPermissionsPolicy.go.snap @@ -14,7 +14,6 @@ DeleteRepositoryPermissionsPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_DescribeDomain.go.snap b/service/codeartifact/snapshot/api_op_DescribeDomain.go.snap index 5f596bc704b..25b39221775 100644 --- a/service/codeartifact/snapshot/api_op_DescribeDomain.go.snap +++ b/service/codeartifact/snapshot/api_op_DescribeDomain.go.snap @@ -14,7 +14,6 @@ DescribeDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_DescribePackage.go.snap b/service/codeartifact/snapshot/api_op_DescribePackage.go.snap index 2eccacb01d7..bd3a3cf7486 100644 --- a/service/codeartifact/snapshot/api_op_DescribePackage.go.snap +++ b/service/codeartifact/snapshot/api_op_DescribePackage.go.snap @@ -14,7 +14,6 @@ DescribePackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_DescribePackageGroup.go.snap b/service/codeartifact/snapshot/api_op_DescribePackageGroup.go.snap index 65eaae04042..f2df2acf686 100644 --- a/service/codeartifact/snapshot/api_op_DescribePackageGroup.go.snap +++ b/service/codeartifact/snapshot/api_op_DescribePackageGroup.go.snap @@ -14,7 +14,6 @@ DescribePackageGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_DescribePackageVersion.go.snap b/service/codeartifact/snapshot/api_op_DescribePackageVersion.go.snap index 3c514428648..34d1720610c 100644 --- a/service/codeartifact/snapshot/api_op_DescribePackageVersion.go.snap +++ b/service/codeartifact/snapshot/api_op_DescribePackageVersion.go.snap @@ -14,7 +14,6 @@ DescribePackageVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_DescribeRepository.go.snap b/service/codeartifact/snapshot/api_op_DescribeRepository.go.snap index cf5bfaa33fb..d4478fb665d 100644 --- a/service/codeartifact/snapshot/api_op_DescribeRepository.go.snap +++ b/service/codeartifact/snapshot/api_op_DescribeRepository.go.snap @@ -14,7 +14,6 @@ DescribeRepository Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_DisassociateExternalConnection.go.snap b/service/codeartifact/snapshot/api_op_DisassociateExternalConnection.go.snap index c20944e4399..e82395180f2 100644 --- a/service/codeartifact/snapshot/api_op_DisassociateExternalConnection.go.snap +++ b/service/codeartifact/snapshot/api_op_DisassociateExternalConnection.go.snap @@ -14,7 +14,6 @@ DisassociateExternalConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_DisposePackageVersions.go.snap b/service/codeartifact/snapshot/api_op_DisposePackageVersions.go.snap index edd9ef2abf9..6073fc20345 100644 --- a/service/codeartifact/snapshot/api_op_DisposePackageVersions.go.snap +++ b/service/codeartifact/snapshot/api_op_DisposePackageVersions.go.snap @@ -14,7 +14,6 @@ DisposePackageVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_GetAssociatedPackageGroup.go.snap b/service/codeartifact/snapshot/api_op_GetAssociatedPackageGroup.go.snap index 8dcdcbb01e3..9f8a789fa25 100644 --- a/service/codeartifact/snapshot/api_op_GetAssociatedPackageGroup.go.snap +++ b/service/codeartifact/snapshot/api_op_GetAssociatedPackageGroup.go.snap @@ -14,7 +14,6 @@ GetAssociatedPackageGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_GetAuthorizationToken.go.snap b/service/codeartifact/snapshot/api_op_GetAuthorizationToken.go.snap index a06dd49b5cf..389631ee015 100644 --- a/service/codeartifact/snapshot/api_op_GetAuthorizationToken.go.snap +++ b/service/codeartifact/snapshot/api_op_GetAuthorizationToken.go.snap @@ -14,7 +14,6 @@ GetAuthorizationToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_GetDomainPermissionsPolicy.go.snap b/service/codeartifact/snapshot/api_op_GetDomainPermissionsPolicy.go.snap index 9ebb804c8db..8536b3063de 100644 --- a/service/codeartifact/snapshot/api_op_GetDomainPermissionsPolicy.go.snap +++ b/service/codeartifact/snapshot/api_op_GetDomainPermissionsPolicy.go.snap @@ -14,7 +14,6 @@ GetDomainPermissionsPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_GetPackageVersionAsset.go.snap b/service/codeartifact/snapshot/api_op_GetPackageVersionAsset.go.snap index c9b2bd4cfd7..19c3de52a40 100644 --- a/service/codeartifact/snapshot/api_op_GetPackageVersionAsset.go.snap +++ b/service/codeartifact/snapshot/api_op_GetPackageVersionAsset.go.snap @@ -14,7 +14,6 @@ GetPackageVersionAsset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_GetPackageVersionReadme.go.snap b/service/codeartifact/snapshot/api_op_GetPackageVersionReadme.go.snap index 4176a1135f3..d8100ff9f61 100644 --- a/service/codeartifact/snapshot/api_op_GetPackageVersionReadme.go.snap +++ b/service/codeartifact/snapshot/api_op_GetPackageVersionReadme.go.snap @@ -14,7 +14,6 @@ GetPackageVersionReadme Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_GetRepositoryEndpoint.go.snap b/service/codeartifact/snapshot/api_op_GetRepositoryEndpoint.go.snap index 6c2a260a304..02e70d6ae35 100644 --- a/service/codeartifact/snapshot/api_op_GetRepositoryEndpoint.go.snap +++ b/service/codeartifact/snapshot/api_op_GetRepositoryEndpoint.go.snap @@ -14,7 +14,6 @@ GetRepositoryEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_GetRepositoryPermissionsPolicy.go.snap b/service/codeartifact/snapshot/api_op_GetRepositoryPermissionsPolicy.go.snap index c1acf1b7d3b..0d4cae09d0c 100644 --- a/service/codeartifact/snapshot/api_op_GetRepositoryPermissionsPolicy.go.snap +++ b/service/codeartifact/snapshot/api_op_GetRepositoryPermissionsPolicy.go.snap @@ -14,7 +14,6 @@ GetRepositoryPermissionsPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_ListAllowedRepositoriesForGroup.go.snap b/service/codeartifact/snapshot/api_op_ListAllowedRepositoriesForGroup.go.snap index 5289dbaf2ec..5a3f64fcb0a 100644 --- a/service/codeartifact/snapshot/api_op_ListAllowedRepositoriesForGroup.go.snap +++ b/service/codeartifact/snapshot/api_op_ListAllowedRepositoriesForGroup.go.snap @@ -14,7 +14,6 @@ ListAllowedRepositoriesForGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_ListAssociatedPackages.go.snap b/service/codeartifact/snapshot/api_op_ListAssociatedPackages.go.snap index 0d84941af65..aa1bd24735d 100644 --- a/service/codeartifact/snapshot/api_op_ListAssociatedPackages.go.snap +++ b/service/codeartifact/snapshot/api_op_ListAssociatedPackages.go.snap @@ -14,7 +14,6 @@ ListAssociatedPackages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_ListDomains.go.snap b/service/codeartifact/snapshot/api_op_ListDomains.go.snap index 2bbde619ff2..8bf23a39993 100644 --- a/service/codeartifact/snapshot/api_op_ListDomains.go.snap +++ b/service/codeartifact/snapshot/api_op_ListDomains.go.snap @@ -13,7 +13,6 @@ ListDomains Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_ListPackageGroups.go.snap b/service/codeartifact/snapshot/api_op_ListPackageGroups.go.snap index 3092e98025b..da237eb54c6 100644 --- a/service/codeartifact/snapshot/api_op_ListPackageGroups.go.snap +++ b/service/codeartifact/snapshot/api_op_ListPackageGroups.go.snap @@ -14,7 +14,6 @@ ListPackageGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_ListPackageVersionAssets.go.snap b/service/codeartifact/snapshot/api_op_ListPackageVersionAssets.go.snap index b83f6914587..4141a1f05c0 100644 --- a/service/codeartifact/snapshot/api_op_ListPackageVersionAssets.go.snap +++ b/service/codeartifact/snapshot/api_op_ListPackageVersionAssets.go.snap @@ -14,7 +14,6 @@ ListPackageVersionAssets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_ListPackageVersionDependencies.go.snap b/service/codeartifact/snapshot/api_op_ListPackageVersionDependencies.go.snap index 0d8a4be2cce..32b041eb5c0 100644 --- a/service/codeartifact/snapshot/api_op_ListPackageVersionDependencies.go.snap +++ b/service/codeartifact/snapshot/api_op_ListPackageVersionDependencies.go.snap @@ -14,7 +14,6 @@ ListPackageVersionDependencies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_ListPackageVersions.go.snap b/service/codeartifact/snapshot/api_op_ListPackageVersions.go.snap index 5f580e11618..86698c79068 100644 --- a/service/codeartifact/snapshot/api_op_ListPackageVersions.go.snap +++ b/service/codeartifact/snapshot/api_op_ListPackageVersions.go.snap @@ -14,7 +14,6 @@ ListPackageVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_ListPackages.go.snap b/service/codeartifact/snapshot/api_op_ListPackages.go.snap index e161c7d7be6..ab0c433be2b 100644 --- a/service/codeartifact/snapshot/api_op_ListPackages.go.snap +++ b/service/codeartifact/snapshot/api_op_ListPackages.go.snap @@ -14,7 +14,6 @@ ListPackages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_ListRepositories.go.snap b/service/codeartifact/snapshot/api_op_ListRepositories.go.snap index f1cf42911a4..8e9de194287 100644 --- a/service/codeartifact/snapshot/api_op_ListRepositories.go.snap +++ b/service/codeartifact/snapshot/api_op_ListRepositories.go.snap @@ -13,7 +13,6 @@ ListRepositories Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_ListRepositoriesInDomain.go.snap b/service/codeartifact/snapshot/api_op_ListRepositoriesInDomain.go.snap index b16963a05ea..70c63891d5f 100644 --- a/service/codeartifact/snapshot/api_op_ListRepositoriesInDomain.go.snap +++ b/service/codeartifact/snapshot/api_op_ListRepositoriesInDomain.go.snap @@ -14,7 +14,6 @@ ListRepositoriesInDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_ListSubPackageGroups.go.snap b/service/codeartifact/snapshot/api_op_ListSubPackageGroups.go.snap index c151336ab49..7c49f7dc5c6 100644 --- a/service/codeartifact/snapshot/api_op_ListSubPackageGroups.go.snap +++ b/service/codeartifact/snapshot/api_op_ListSubPackageGroups.go.snap @@ -14,7 +14,6 @@ ListSubPackageGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_ListTagsForResource.go.snap b/service/codeartifact/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/codeartifact/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/codeartifact/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_PublishPackageVersion.go.snap b/service/codeartifact/snapshot/api_op_PublishPackageVersion.go.snap index 6c7f018e831..563588ca589 100644 --- a/service/codeartifact/snapshot/api_op_PublishPackageVersion.go.snap +++ b/service/codeartifact/snapshot/api_op_PublishPackageVersion.go.snap @@ -14,7 +14,6 @@ PublishPackageVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_PutDomainPermissionsPolicy.go.snap b/service/codeartifact/snapshot/api_op_PutDomainPermissionsPolicy.go.snap index 78094ddd49b..6bb39b0169a 100644 --- a/service/codeartifact/snapshot/api_op_PutDomainPermissionsPolicy.go.snap +++ b/service/codeartifact/snapshot/api_op_PutDomainPermissionsPolicy.go.snap @@ -14,7 +14,6 @@ PutDomainPermissionsPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_PutPackageOriginConfiguration.go.snap b/service/codeartifact/snapshot/api_op_PutPackageOriginConfiguration.go.snap index 1b64a689540..9f6772bc4f8 100644 --- a/service/codeartifact/snapshot/api_op_PutPackageOriginConfiguration.go.snap +++ b/service/codeartifact/snapshot/api_op_PutPackageOriginConfiguration.go.snap @@ -14,7 +14,6 @@ PutPackageOriginConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_PutRepositoryPermissionsPolicy.go.snap b/service/codeartifact/snapshot/api_op_PutRepositoryPermissionsPolicy.go.snap index 021e477a974..9933097f309 100644 --- a/service/codeartifact/snapshot/api_op_PutRepositoryPermissionsPolicy.go.snap +++ b/service/codeartifact/snapshot/api_op_PutRepositoryPermissionsPolicy.go.snap @@ -14,7 +14,6 @@ PutRepositoryPermissionsPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_TagResource.go.snap b/service/codeartifact/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/codeartifact/snapshot/api_op_TagResource.go.snap +++ b/service/codeartifact/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_UntagResource.go.snap b/service/codeartifact/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/codeartifact/snapshot/api_op_UntagResource.go.snap +++ b/service/codeartifact/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_UpdatePackageGroup.go.snap b/service/codeartifact/snapshot/api_op_UpdatePackageGroup.go.snap index 2f425a804d2..63b040e943b 100644 --- a/service/codeartifact/snapshot/api_op_UpdatePackageGroup.go.snap +++ b/service/codeartifact/snapshot/api_op_UpdatePackageGroup.go.snap @@ -14,7 +14,6 @@ UpdatePackageGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_UpdatePackageGroupOriginConfiguration.go.snap b/service/codeartifact/snapshot/api_op_UpdatePackageGroupOriginConfiguration.go.snap index c603cd1cab7..a157be2ce88 100644 --- a/service/codeartifact/snapshot/api_op_UpdatePackageGroupOriginConfiguration.go.snap +++ b/service/codeartifact/snapshot/api_op_UpdatePackageGroupOriginConfiguration.go.snap @@ -14,7 +14,6 @@ UpdatePackageGroupOriginConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_UpdatePackageVersionsStatus.go.snap b/service/codeartifact/snapshot/api_op_UpdatePackageVersionsStatus.go.snap index d5724157dd6..f4e67abaee8 100644 --- a/service/codeartifact/snapshot/api_op_UpdatePackageVersionsStatus.go.snap +++ b/service/codeartifact/snapshot/api_op_UpdatePackageVersionsStatus.go.snap @@ -14,7 +14,6 @@ UpdatePackageVersionsStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeartifact/snapshot/api_op_UpdateRepository.go.snap b/service/codeartifact/snapshot/api_op_UpdateRepository.go.snap index d0dc9d448d5..3ff9f419117 100644 --- a/service/codeartifact/snapshot/api_op_UpdateRepository.go.snap +++ b/service/codeartifact/snapshot/api_op_UpdateRepository.go.snap @@ -14,7 +14,6 @@ UpdateRepository Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/api_client.go b/service/codebuild/api_client.go index 0a3ef43af84..10847a47478 100644 --- a/service/codebuild/api_client.go +++ b/service/codebuild/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/codebuild/api_op_BatchDeleteBuilds.go b/service/codebuild/api_op_BatchDeleteBuilds.go index 82f85b490e1..b6e732a16cb 100644 --- a/service/codebuild/api_op_BatchDeleteBuilds.go +++ b/service/codebuild/api_op_BatchDeleteBuilds.go @@ -115,9 +115,6 @@ func (c *Client) addOperationBatchDeleteBuildsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDeleteBuildsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_BatchGetBuildBatches.go b/service/codebuild/api_op_BatchGetBuildBatches.go index def14a691a3..b2b577d732b 100644 --- a/service/codebuild/api_op_BatchGetBuildBatches.go +++ b/service/codebuild/api_op_BatchGetBuildBatches.go @@ -115,9 +115,6 @@ func (c *Client) addOperationBatchGetBuildBatchesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetBuildBatchesValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_BatchGetBuilds.go b/service/codebuild/api_op_BatchGetBuilds.go index 67a1f173d1f..60359ea4daf 100644 --- a/service/codebuild/api_op_BatchGetBuilds.go +++ b/service/codebuild/api_op_BatchGetBuilds.go @@ -115,9 +115,6 @@ func (c *Client) addOperationBatchGetBuildsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetBuildsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_BatchGetFleets.go b/service/codebuild/api_op_BatchGetFleets.go index 7b1a1e66b51..296a62c02b1 100644 --- a/service/codebuild/api_op_BatchGetFleets.go +++ b/service/codebuild/api_op_BatchGetFleets.go @@ -115,9 +115,6 @@ func (c *Client) addOperationBatchGetFleetsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetFleetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_BatchGetProjects.go b/service/codebuild/api_op_BatchGetProjects.go index dcfdfd62648..c6ea6415a1e 100644 --- a/service/codebuild/api_op_BatchGetProjects.go +++ b/service/codebuild/api_op_BatchGetProjects.go @@ -117,9 +117,6 @@ func (c *Client) addOperationBatchGetProjectsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetProjectsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_BatchGetReportGroups.go b/service/codebuild/api_op_BatchGetReportGroups.go index 0be2529e097..d6dfe891c8c 100644 --- a/service/codebuild/api_op_BatchGetReportGroups.go +++ b/service/codebuild/api_op_BatchGetReportGroups.go @@ -116,9 +116,6 @@ func (c *Client) addOperationBatchGetReportGroupsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetReportGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_BatchGetReports.go b/service/codebuild/api_op_BatchGetReports.go index 0f7cd354f1d..c4825dce685 100644 --- a/service/codebuild/api_op_BatchGetReports.go +++ b/service/codebuild/api_op_BatchGetReports.go @@ -116,9 +116,6 @@ func (c *Client) addOperationBatchGetReportsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetReportsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_CreateFleet.go b/service/codebuild/api_op_CreateFleet.go index 65dd5f8d5a2..dcc00d5657d 100644 --- a/service/codebuild/api_op_CreateFleet.go +++ b/service/codebuild/api_op_CreateFleet.go @@ -286,9 +286,6 @@ func (c *Client) addOperationCreateFleetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_CreateProject.go b/service/codebuild/api_op_CreateProject.go index e29be9c3842..cb3fd5d6fa8 100644 --- a/service/codebuild/api_op_CreateProject.go +++ b/service/codebuild/api_op_CreateProject.go @@ -239,9 +239,6 @@ func (c *Client) addOperationCreateProjectMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_CreateReportGroup.go b/service/codebuild/api_op_CreateReportGroup.go index 6ab94edd141..aa6abc96c59 100644 --- a/service/codebuild/api_op_CreateReportGroup.go +++ b/service/codebuild/api_op_CreateReportGroup.go @@ -129,9 +129,6 @@ func (c *Client) addOperationCreateReportGroupMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateReportGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_CreateWebhook.go b/service/codebuild/api_op_CreateWebhook.go index 09d6b3a5b94..2531e0bc8fa 100644 --- a/service/codebuild/api_op_CreateWebhook.go +++ b/service/codebuild/api_op_CreateWebhook.go @@ -163,9 +163,6 @@ func (c *Client) addOperationCreateWebhookMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateWebhookValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_DeleteBuildBatch.go b/service/codebuild/api_op_DeleteBuildBatch.go index c0f7e64aa10..6cdae0ee318 100644 --- a/service/codebuild/api_op_DeleteBuildBatch.go +++ b/service/codebuild/api_op_DeleteBuildBatch.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteBuildBatchMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBuildBatchValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_DeleteFleet.go b/service/codebuild/api_op_DeleteFleet.go index f8153b7a297..75427eae687 100644 --- a/service/codebuild/api_op_DeleteFleet.go +++ b/service/codebuild/api_op_DeleteFleet.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteFleetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_DeleteProject.go b/service/codebuild/api_op_DeleteProject.go index 77d5dd5a803..c55c596dff3 100644 --- a/service/codebuild/api_op_DeleteProject.go +++ b/service/codebuild/api_op_DeleteProject.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteProjectMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_DeleteReport.go b/service/codebuild/api_op_DeleteReport.go index 7b9d769650c..a05b28fe704 100644 --- a/service/codebuild/api_op_DeleteReport.go +++ b/service/codebuild/api_op_DeleteReport.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteReportMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_DeleteReportGroup.go b/service/codebuild/api_op_DeleteReportGroup.go index 82008a83d76..aa1d2369319 100644 --- a/service/codebuild/api_op_DeleteReportGroup.go +++ b/service/codebuild/api_op_DeleteReportGroup.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteReportGroupMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteReportGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_DeleteResourcePolicy.go b/service/codebuild/api_op_DeleteResourcePolicy.go index c19b008d896..a4b513618ce 100644 --- a/service/codebuild/api_op_DeleteResourcePolicy.go +++ b/service/codebuild/api_op_DeleteResourcePolicy.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_DeleteSourceCredentials.go b/service/codebuild/api_op_DeleteSourceCredentials.go index 54ef3b68061..7735be050d2 100644 --- a/service/codebuild/api_op_DeleteSourceCredentials.go +++ b/service/codebuild/api_op_DeleteSourceCredentials.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteSourceCredentialsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSourceCredentialsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_DeleteWebhook.go b/service/codebuild/api_op_DeleteWebhook.go index 1f2b76dca56..6c254639306 100644 --- a/service/codebuild/api_op_DeleteWebhook.go +++ b/service/codebuild/api_op_DeleteWebhook.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteWebhookMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWebhookValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_DescribeCodeCoverages.go b/service/codebuild/api_op_DescribeCodeCoverages.go index 65caffc90e3..64bf2d57f8a 100644 --- a/service/codebuild/api_op_DescribeCodeCoverages.go +++ b/service/codebuild/api_op_DescribeCodeCoverages.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeCodeCoveragesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCodeCoveragesValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_DescribeTestCases.go b/service/codebuild/api_op_DescribeTestCases.go index 50b05527677..ccb621856ee 100644 --- a/service/codebuild/api_op_DescribeTestCases.go +++ b/service/codebuild/api_op_DescribeTestCases.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribeTestCasesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTestCasesValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_GetReportGroupTrend.go b/service/codebuild/api_op_GetReportGroupTrend.go index 434ad337468..ebba1bc3e51 100644 --- a/service/codebuild/api_op_GetReportGroupTrend.go +++ b/service/codebuild/api_op_GetReportGroupTrend.go @@ -151,9 +151,6 @@ func (c *Client) addOperationGetReportGroupTrendMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetReportGroupTrendValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_GetResourcePolicy.go b/service/codebuild/api_op_GetResourcePolicy.go index a6ed80b1d99..ec34b1a661b 100644 --- a/service/codebuild/api_op_GetResourcePolicy.go +++ b/service/codebuild/api_op_GetResourcePolicy.go @@ -111,9 +111,6 @@ func (c *Client) addOperationGetResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_ImportSourceCredentials.go b/service/codebuild/api_op_ImportSourceCredentials.go index 032b8070fcf..3632f8b4977 100644 --- a/service/codebuild/api_op_ImportSourceCredentials.go +++ b/service/codebuild/api_op_ImportSourceCredentials.go @@ -138,9 +138,6 @@ func (c *Client) addOperationImportSourceCredentialsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportSourceCredentialsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_InvalidateProjectCache.go b/service/codebuild/api_op_InvalidateProjectCache.go index 1141cbc909f..61443d44d7f 100644 --- a/service/codebuild/api_op_InvalidateProjectCache.go +++ b/service/codebuild/api_op_InvalidateProjectCache.go @@ -107,9 +107,6 @@ func (c *Client) addOperationInvalidateProjectCacheMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpInvalidateProjectCacheValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_ListBuildBatches.go b/service/codebuild/api_op_ListBuildBatches.go index 08d474b44e7..389c155d7d3 100644 --- a/service/codebuild/api_op_ListBuildBatches.go +++ b/service/codebuild/api_op_ListBuildBatches.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListBuildBatchesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBuildBatches(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codebuild/api_op_ListBuildBatchesForProject.go b/service/codebuild/api_op_ListBuildBatchesForProject.go index 3c6b4547214..8d5a529b549 100644 --- a/service/codebuild/api_op_ListBuildBatchesForProject.go +++ b/service/codebuild/api_op_ListBuildBatchesForProject.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListBuildBatchesForProjectMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBuildBatchesForProject(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codebuild/api_op_ListBuilds.go b/service/codebuild/api_op_ListBuilds.go index 826005d9474..bfb63ff52d0 100644 --- a/service/codebuild/api_op_ListBuilds.go +++ b/service/codebuild/api_op_ListBuilds.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListBuildsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBuilds(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codebuild/api_op_ListBuildsForProject.go b/service/codebuild/api_op_ListBuildsForProject.go index 276929fc60e..cc54e0face0 100644 --- a/service/codebuild/api_op_ListBuildsForProject.go +++ b/service/codebuild/api_op_ListBuildsForProject.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListBuildsForProjectMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBuildsForProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_ListCuratedEnvironmentImages.go b/service/codebuild/api_op_ListCuratedEnvironmentImages.go index f6b1a40baa5..3b3c25474c5 100644 --- a/service/codebuild/api_op_ListCuratedEnvironmentImages.go +++ b/service/codebuild/api_op_ListCuratedEnvironmentImages.go @@ -107,9 +107,6 @@ func (c *Client) addOperationListCuratedEnvironmentImagesMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCuratedEnvironmentImages(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codebuild/api_op_ListFleets.go b/service/codebuild/api_op_ListFleets.go index 73483b95f69..740e70b8cf5 100644 --- a/service/codebuild/api_op_ListFleets.go +++ b/service/codebuild/api_op_ListFleets.go @@ -148,9 +148,6 @@ func (c *Client) addOperationListFleetsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFleets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codebuild/api_op_ListProjects.go b/service/codebuild/api_op_ListProjects.go index ab9508fd386..f154edbdbdc 100644 --- a/service/codebuild/api_op_ListProjects.go +++ b/service/codebuild/api_op_ListProjects.go @@ -145,9 +145,6 @@ func (c *Client) addOperationListProjectsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProjects(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codebuild/api_op_ListReportGroups.go b/service/codebuild/api_op_ListReportGroups.go index 500fa116dc6..010b5efafe6 100644 --- a/service/codebuild/api_op_ListReportGroups.go +++ b/service/codebuild/api_op_ListReportGroups.go @@ -144,9 +144,6 @@ func (c *Client) addOperationListReportGroupsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReportGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codebuild/api_op_ListReports.go b/service/codebuild/api_op_ListReports.go index 10070185069..32754a5e326 100644 --- a/service/codebuild/api_op_ListReports.go +++ b/service/codebuild/api_op_ListReports.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListReportsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReports(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codebuild/api_op_ListReportsForReportGroup.go b/service/codebuild/api_op_ListReportsForReportGroup.go index 6bb792f3a88..87b9a852d32 100644 --- a/service/codebuild/api_op_ListReportsForReportGroup.go +++ b/service/codebuild/api_op_ListReportsForReportGroup.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListReportsForReportGroupMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListReportsForReportGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_ListSharedProjects.go b/service/codebuild/api_op_ListSharedProjects.go index fcf532e49bd..4175dab4876 100644 --- a/service/codebuild/api_op_ListSharedProjects.go +++ b/service/codebuild/api_op_ListSharedProjects.go @@ -147,9 +147,6 @@ func (c *Client) addOperationListSharedProjectsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSharedProjects(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codebuild/api_op_ListSharedReportGroups.go b/service/codebuild/api_op_ListSharedReportGroups.go index b78d97b1c59..89080597e3a 100644 --- a/service/codebuild/api_op_ListSharedReportGroups.go +++ b/service/codebuild/api_op_ListSharedReportGroups.go @@ -147,9 +147,6 @@ func (c *Client) addOperationListSharedReportGroupsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSharedReportGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codebuild/api_op_ListSourceCredentials.go b/service/codebuild/api_op_ListSourceCredentials.go index 03c741ab978..6b7f092f43d 100644 --- a/service/codebuild/api_op_ListSourceCredentials.go +++ b/service/codebuild/api_op_ListSourceCredentials.go @@ -108,9 +108,6 @@ func (c *Client) addOperationListSourceCredentialsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSourceCredentials(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codebuild/api_op_PutResourcePolicy.go b/service/codebuild/api_op_PutResourcePolicy.go index 7c8598c31a7..d3a38e48f4e 100644 --- a/service/codebuild/api_op_PutResourcePolicy.go +++ b/service/codebuild/api_op_PutResourcePolicy.go @@ -122,9 +122,6 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_RetryBuild.go b/service/codebuild/api_op_RetryBuild.go index 28119405047..1bcb995babb 100644 --- a/service/codebuild/api_op_RetryBuild.go +++ b/service/codebuild/api_op_RetryBuild.go @@ -116,9 +116,6 @@ func (c *Client) addOperationRetryBuildMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRetryBuild(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codebuild/api_op_RetryBuildBatch.go b/service/codebuild/api_op_RetryBuildBatch.go index 5fb97f85c3f..61f06794d83 100644 --- a/service/codebuild/api_op_RetryBuildBatch.go +++ b/service/codebuild/api_op_RetryBuildBatch.go @@ -121,9 +121,6 @@ func (c *Client) addOperationRetryBuildBatchMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRetryBuildBatch(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codebuild/api_op_StartBuild.go b/service/codebuild/api_op_StartBuild.go index 66818d4fb03..6d4d9ecdfaa 100644 --- a/service/codebuild/api_op_StartBuild.go +++ b/service/codebuild/api_op_StartBuild.go @@ -322,9 +322,6 @@ func (c *Client) addOperationStartBuildMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartBuildValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_StartBuildBatch.go b/service/codebuild/api_op_StartBuildBatch.go index 00039af595b..271c49513b0 100644 --- a/service/codebuild/api_op_StartBuildBatch.go +++ b/service/codebuild/api_op_StartBuildBatch.go @@ -292,9 +292,6 @@ func (c *Client) addOperationStartBuildBatchMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartBuildBatchValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_StopBuild.go b/service/codebuild/api_op_StopBuild.go index 3869e11d17d..bdb6874c0df 100644 --- a/service/codebuild/api_op_StopBuild.go +++ b/service/codebuild/api_op_StopBuild.go @@ -112,9 +112,6 @@ func (c *Client) addOperationStopBuildMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopBuildValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_StopBuildBatch.go b/service/codebuild/api_op_StopBuildBatch.go index 6c001187d23..bbb72d55d7b 100644 --- a/service/codebuild/api_op_StopBuildBatch.go +++ b/service/codebuild/api_op_StopBuildBatch.go @@ -112,9 +112,6 @@ func (c *Client) addOperationStopBuildBatchMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopBuildBatchValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_UpdateFleet.go b/service/codebuild/api_op_UpdateFleet.go index bad045bab77..51ab16730ba 100644 --- a/service/codebuild/api_op_UpdateFleet.go +++ b/service/codebuild/api_op_UpdateFleet.go @@ -280,9 +280,6 @@ func (c *Client) addOperationUpdateFleetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_UpdateProject.go b/service/codebuild/api_op_UpdateProject.go index 19f25ea482a..e524f2f2dbf 100644 --- a/service/codebuild/api_op_UpdateProject.go +++ b/service/codebuild/api_op_UpdateProject.go @@ -234,9 +234,6 @@ func (c *Client) addOperationUpdateProjectMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_UpdateProjectVisibility.go b/service/codebuild/api_op_UpdateProjectVisibility.go index 0bfdb2ffcff..e8ebafe7e67 100644 --- a/service/codebuild/api_op_UpdateProjectVisibility.go +++ b/service/codebuild/api_op_UpdateProjectVisibility.go @@ -163,9 +163,6 @@ func (c *Client) addOperationUpdateProjectVisibilityMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateProjectVisibilityValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_UpdateReportGroup.go b/service/codebuild/api_op_UpdateReportGroup.go index 73800b26048..ce55cc85c7a 100644 --- a/service/codebuild/api_op_UpdateReportGroup.go +++ b/service/codebuild/api_op_UpdateReportGroup.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateReportGroupMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateReportGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/api_op_UpdateWebhook.go b/service/codebuild/api_op_UpdateWebhook.go index 38f378a63b4..35cd3273fce 100644 --- a/service/codebuild/api_op_UpdateWebhook.go +++ b/service/codebuild/api_op_UpdateWebhook.go @@ -141,9 +141,6 @@ func (c *Client) addOperationUpdateWebhookMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateWebhookValidationMiddleware(stack); err != nil { return err } diff --git a/service/codebuild/snapshot/api_op_BatchDeleteBuilds.go.snap b/service/codebuild/snapshot/api_op_BatchDeleteBuilds.go.snap index 3f79a129b59..f7828524081 100644 --- a/service/codebuild/snapshot/api_op_BatchDeleteBuilds.go.snap +++ b/service/codebuild/snapshot/api_op_BatchDeleteBuilds.go.snap @@ -14,7 +14,6 @@ BatchDeleteBuilds Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_BatchGetBuildBatches.go.snap b/service/codebuild/snapshot/api_op_BatchGetBuildBatches.go.snap index bd8c19e069e..21c0bc883c0 100644 --- a/service/codebuild/snapshot/api_op_BatchGetBuildBatches.go.snap +++ b/service/codebuild/snapshot/api_op_BatchGetBuildBatches.go.snap @@ -14,7 +14,6 @@ BatchGetBuildBatches Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_BatchGetBuilds.go.snap b/service/codebuild/snapshot/api_op_BatchGetBuilds.go.snap index 1c4e465ef9e..bf255065eb7 100644 --- a/service/codebuild/snapshot/api_op_BatchGetBuilds.go.snap +++ b/service/codebuild/snapshot/api_op_BatchGetBuilds.go.snap @@ -14,7 +14,6 @@ BatchGetBuilds Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_BatchGetFleets.go.snap b/service/codebuild/snapshot/api_op_BatchGetFleets.go.snap index 179c5176159..423f7a33139 100644 --- a/service/codebuild/snapshot/api_op_BatchGetFleets.go.snap +++ b/service/codebuild/snapshot/api_op_BatchGetFleets.go.snap @@ -14,7 +14,6 @@ BatchGetFleets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_BatchGetProjects.go.snap b/service/codebuild/snapshot/api_op_BatchGetProjects.go.snap index 2a99616277e..586b3376999 100644 --- a/service/codebuild/snapshot/api_op_BatchGetProjects.go.snap +++ b/service/codebuild/snapshot/api_op_BatchGetProjects.go.snap @@ -14,7 +14,6 @@ BatchGetProjects Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_BatchGetReportGroups.go.snap b/service/codebuild/snapshot/api_op_BatchGetReportGroups.go.snap index 06f5616db6a..2fe33259f1a 100644 --- a/service/codebuild/snapshot/api_op_BatchGetReportGroups.go.snap +++ b/service/codebuild/snapshot/api_op_BatchGetReportGroups.go.snap @@ -14,7 +14,6 @@ BatchGetReportGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_BatchGetReports.go.snap b/service/codebuild/snapshot/api_op_BatchGetReports.go.snap index 84d9e961943..91caab0729a 100644 --- a/service/codebuild/snapshot/api_op_BatchGetReports.go.snap +++ b/service/codebuild/snapshot/api_op_BatchGetReports.go.snap @@ -14,7 +14,6 @@ BatchGetReports Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_CreateFleet.go.snap b/service/codebuild/snapshot/api_op_CreateFleet.go.snap index e305f1ff665..de432044562 100644 --- a/service/codebuild/snapshot/api_op_CreateFleet.go.snap +++ b/service/codebuild/snapshot/api_op_CreateFleet.go.snap @@ -14,7 +14,6 @@ CreateFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_CreateProject.go.snap b/service/codebuild/snapshot/api_op_CreateProject.go.snap index 5011a8d8cc3..7ae2b811d6c 100644 --- a/service/codebuild/snapshot/api_op_CreateProject.go.snap +++ b/service/codebuild/snapshot/api_op_CreateProject.go.snap @@ -14,7 +14,6 @@ CreateProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_CreateReportGroup.go.snap b/service/codebuild/snapshot/api_op_CreateReportGroup.go.snap index dbe558750d5..88b520ab09f 100644 --- a/service/codebuild/snapshot/api_op_CreateReportGroup.go.snap +++ b/service/codebuild/snapshot/api_op_CreateReportGroup.go.snap @@ -14,7 +14,6 @@ CreateReportGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_CreateWebhook.go.snap b/service/codebuild/snapshot/api_op_CreateWebhook.go.snap index 3fa6a43fce4..00947e2746b 100644 --- a/service/codebuild/snapshot/api_op_CreateWebhook.go.snap +++ b/service/codebuild/snapshot/api_op_CreateWebhook.go.snap @@ -14,7 +14,6 @@ CreateWebhook Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_DeleteBuildBatch.go.snap b/service/codebuild/snapshot/api_op_DeleteBuildBatch.go.snap index a72d3d17d06..d3dd6b63f50 100644 --- a/service/codebuild/snapshot/api_op_DeleteBuildBatch.go.snap +++ b/service/codebuild/snapshot/api_op_DeleteBuildBatch.go.snap @@ -14,7 +14,6 @@ DeleteBuildBatch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_DeleteFleet.go.snap b/service/codebuild/snapshot/api_op_DeleteFleet.go.snap index 33858ccc341..d726bd6cf54 100644 --- a/service/codebuild/snapshot/api_op_DeleteFleet.go.snap +++ b/service/codebuild/snapshot/api_op_DeleteFleet.go.snap @@ -14,7 +14,6 @@ DeleteFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_DeleteProject.go.snap b/service/codebuild/snapshot/api_op_DeleteProject.go.snap index 382ba97b69d..175218d872d 100644 --- a/service/codebuild/snapshot/api_op_DeleteProject.go.snap +++ b/service/codebuild/snapshot/api_op_DeleteProject.go.snap @@ -14,7 +14,6 @@ DeleteProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_DeleteReport.go.snap b/service/codebuild/snapshot/api_op_DeleteReport.go.snap index b112231d8bc..95bebae60c0 100644 --- a/service/codebuild/snapshot/api_op_DeleteReport.go.snap +++ b/service/codebuild/snapshot/api_op_DeleteReport.go.snap @@ -14,7 +14,6 @@ DeleteReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_DeleteReportGroup.go.snap b/service/codebuild/snapshot/api_op_DeleteReportGroup.go.snap index 8037679e051..0989cac7d09 100644 --- a/service/codebuild/snapshot/api_op_DeleteReportGroup.go.snap +++ b/service/codebuild/snapshot/api_op_DeleteReportGroup.go.snap @@ -14,7 +14,6 @@ DeleteReportGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_DeleteResourcePolicy.go.snap b/service/codebuild/snapshot/api_op_DeleteResourcePolicy.go.snap index 21dbc8dfcde..9948d797360 100644 --- a/service/codebuild/snapshot/api_op_DeleteResourcePolicy.go.snap +++ b/service/codebuild/snapshot/api_op_DeleteResourcePolicy.go.snap @@ -14,7 +14,6 @@ DeleteResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_DeleteSourceCredentials.go.snap b/service/codebuild/snapshot/api_op_DeleteSourceCredentials.go.snap index 51d04bf777a..af418040a8d 100644 --- a/service/codebuild/snapshot/api_op_DeleteSourceCredentials.go.snap +++ b/service/codebuild/snapshot/api_op_DeleteSourceCredentials.go.snap @@ -14,7 +14,6 @@ DeleteSourceCredentials Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_DeleteWebhook.go.snap b/service/codebuild/snapshot/api_op_DeleteWebhook.go.snap index ffa6f8edb66..c23474f10d4 100644 --- a/service/codebuild/snapshot/api_op_DeleteWebhook.go.snap +++ b/service/codebuild/snapshot/api_op_DeleteWebhook.go.snap @@ -14,7 +14,6 @@ DeleteWebhook Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_DescribeCodeCoverages.go.snap b/service/codebuild/snapshot/api_op_DescribeCodeCoverages.go.snap index b149b8a9daa..a19c1d8b173 100644 --- a/service/codebuild/snapshot/api_op_DescribeCodeCoverages.go.snap +++ b/service/codebuild/snapshot/api_op_DescribeCodeCoverages.go.snap @@ -14,7 +14,6 @@ DescribeCodeCoverages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_DescribeTestCases.go.snap b/service/codebuild/snapshot/api_op_DescribeTestCases.go.snap index 18962a48cc2..ff9d6204048 100644 --- a/service/codebuild/snapshot/api_op_DescribeTestCases.go.snap +++ b/service/codebuild/snapshot/api_op_DescribeTestCases.go.snap @@ -14,7 +14,6 @@ DescribeTestCases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_GetReportGroupTrend.go.snap b/service/codebuild/snapshot/api_op_GetReportGroupTrend.go.snap index bdb5360ba52..f0b65abcbcf 100644 --- a/service/codebuild/snapshot/api_op_GetReportGroupTrend.go.snap +++ b/service/codebuild/snapshot/api_op_GetReportGroupTrend.go.snap @@ -14,7 +14,6 @@ GetReportGroupTrend Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_GetResourcePolicy.go.snap b/service/codebuild/snapshot/api_op_GetResourcePolicy.go.snap index e3408c09804..4b3e7d017fa 100644 --- a/service/codebuild/snapshot/api_op_GetResourcePolicy.go.snap +++ b/service/codebuild/snapshot/api_op_GetResourcePolicy.go.snap @@ -14,7 +14,6 @@ GetResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_ImportSourceCredentials.go.snap b/service/codebuild/snapshot/api_op_ImportSourceCredentials.go.snap index cf922bc11da..c3c52b5e684 100644 --- a/service/codebuild/snapshot/api_op_ImportSourceCredentials.go.snap +++ b/service/codebuild/snapshot/api_op_ImportSourceCredentials.go.snap @@ -14,7 +14,6 @@ ImportSourceCredentials Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_InvalidateProjectCache.go.snap b/service/codebuild/snapshot/api_op_InvalidateProjectCache.go.snap index 20c2e9e5d2d..7f18e4f169d 100644 --- a/service/codebuild/snapshot/api_op_InvalidateProjectCache.go.snap +++ b/service/codebuild/snapshot/api_op_InvalidateProjectCache.go.snap @@ -14,7 +14,6 @@ InvalidateProjectCache Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_ListBuildBatches.go.snap b/service/codebuild/snapshot/api_op_ListBuildBatches.go.snap index 6d4a0ec1f99..1a9c1d962ae 100644 --- a/service/codebuild/snapshot/api_op_ListBuildBatches.go.snap +++ b/service/codebuild/snapshot/api_op_ListBuildBatches.go.snap @@ -13,7 +13,6 @@ ListBuildBatches Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_ListBuildBatchesForProject.go.snap b/service/codebuild/snapshot/api_op_ListBuildBatchesForProject.go.snap index c43b89dcb7d..e521093106f 100644 --- a/service/codebuild/snapshot/api_op_ListBuildBatchesForProject.go.snap +++ b/service/codebuild/snapshot/api_op_ListBuildBatchesForProject.go.snap @@ -13,7 +13,6 @@ ListBuildBatchesForProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_ListBuilds.go.snap b/service/codebuild/snapshot/api_op_ListBuilds.go.snap index 6317a9c1f78..c191099cc42 100644 --- a/service/codebuild/snapshot/api_op_ListBuilds.go.snap +++ b/service/codebuild/snapshot/api_op_ListBuilds.go.snap @@ -13,7 +13,6 @@ ListBuilds Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_ListBuildsForProject.go.snap b/service/codebuild/snapshot/api_op_ListBuildsForProject.go.snap index 3aadd7e9319..027a0a72493 100644 --- a/service/codebuild/snapshot/api_op_ListBuildsForProject.go.snap +++ b/service/codebuild/snapshot/api_op_ListBuildsForProject.go.snap @@ -14,7 +14,6 @@ ListBuildsForProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_ListCuratedEnvironmentImages.go.snap b/service/codebuild/snapshot/api_op_ListCuratedEnvironmentImages.go.snap index d1bc8c5bcfb..92590d7a5ed 100644 --- a/service/codebuild/snapshot/api_op_ListCuratedEnvironmentImages.go.snap +++ b/service/codebuild/snapshot/api_op_ListCuratedEnvironmentImages.go.snap @@ -13,7 +13,6 @@ ListCuratedEnvironmentImages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_ListFleets.go.snap b/service/codebuild/snapshot/api_op_ListFleets.go.snap index 8ddb712ca86..1932a10d210 100644 --- a/service/codebuild/snapshot/api_op_ListFleets.go.snap +++ b/service/codebuild/snapshot/api_op_ListFleets.go.snap @@ -13,7 +13,6 @@ ListFleets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_ListProjects.go.snap b/service/codebuild/snapshot/api_op_ListProjects.go.snap index adb78614633..e63a9b58f58 100644 --- a/service/codebuild/snapshot/api_op_ListProjects.go.snap +++ b/service/codebuild/snapshot/api_op_ListProjects.go.snap @@ -13,7 +13,6 @@ ListProjects Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_ListReportGroups.go.snap b/service/codebuild/snapshot/api_op_ListReportGroups.go.snap index 969cf232b69..f5b7116fa57 100644 --- a/service/codebuild/snapshot/api_op_ListReportGroups.go.snap +++ b/service/codebuild/snapshot/api_op_ListReportGroups.go.snap @@ -13,7 +13,6 @@ ListReportGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_ListReports.go.snap b/service/codebuild/snapshot/api_op_ListReports.go.snap index 3622cb81415..93ec1592b78 100644 --- a/service/codebuild/snapshot/api_op_ListReports.go.snap +++ b/service/codebuild/snapshot/api_op_ListReports.go.snap @@ -13,7 +13,6 @@ ListReports Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_ListReportsForReportGroup.go.snap b/service/codebuild/snapshot/api_op_ListReportsForReportGroup.go.snap index 408794e3957..174125c8e67 100644 --- a/service/codebuild/snapshot/api_op_ListReportsForReportGroup.go.snap +++ b/service/codebuild/snapshot/api_op_ListReportsForReportGroup.go.snap @@ -14,7 +14,6 @@ ListReportsForReportGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_ListSharedProjects.go.snap b/service/codebuild/snapshot/api_op_ListSharedProjects.go.snap index 42768931753..537234e9d6b 100644 --- a/service/codebuild/snapshot/api_op_ListSharedProjects.go.snap +++ b/service/codebuild/snapshot/api_op_ListSharedProjects.go.snap @@ -13,7 +13,6 @@ ListSharedProjects Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_ListSharedReportGroups.go.snap b/service/codebuild/snapshot/api_op_ListSharedReportGroups.go.snap index 12a24842f81..c4f9f944055 100644 --- a/service/codebuild/snapshot/api_op_ListSharedReportGroups.go.snap +++ b/service/codebuild/snapshot/api_op_ListSharedReportGroups.go.snap @@ -13,7 +13,6 @@ ListSharedReportGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_ListSourceCredentials.go.snap b/service/codebuild/snapshot/api_op_ListSourceCredentials.go.snap index e73ba34131e..c60b6776aae 100644 --- a/service/codebuild/snapshot/api_op_ListSourceCredentials.go.snap +++ b/service/codebuild/snapshot/api_op_ListSourceCredentials.go.snap @@ -13,7 +13,6 @@ ListSourceCredentials Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_PutResourcePolicy.go.snap b/service/codebuild/snapshot/api_op_PutResourcePolicy.go.snap index 30530b1514f..47bad3fad0e 100644 --- a/service/codebuild/snapshot/api_op_PutResourcePolicy.go.snap +++ b/service/codebuild/snapshot/api_op_PutResourcePolicy.go.snap @@ -14,7 +14,6 @@ PutResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_RetryBuild.go.snap b/service/codebuild/snapshot/api_op_RetryBuild.go.snap index f6c224ef008..2208fd2d9f3 100644 --- a/service/codebuild/snapshot/api_op_RetryBuild.go.snap +++ b/service/codebuild/snapshot/api_op_RetryBuild.go.snap @@ -13,7 +13,6 @@ RetryBuild Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_RetryBuildBatch.go.snap b/service/codebuild/snapshot/api_op_RetryBuildBatch.go.snap index 4105531cad5..4431dfae6fc 100644 --- a/service/codebuild/snapshot/api_op_RetryBuildBatch.go.snap +++ b/service/codebuild/snapshot/api_op_RetryBuildBatch.go.snap @@ -13,7 +13,6 @@ RetryBuildBatch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_StartBuild.go.snap b/service/codebuild/snapshot/api_op_StartBuild.go.snap index f9fe6eff704..4645dfd515a 100644 --- a/service/codebuild/snapshot/api_op_StartBuild.go.snap +++ b/service/codebuild/snapshot/api_op_StartBuild.go.snap @@ -14,7 +14,6 @@ StartBuild Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_StartBuildBatch.go.snap b/service/codebuild/snapshot/api_op_StartBuildBatch.go.snap index c3aeacc9f3e..8e629cb8e26 100644 --- a/service/codebuild/snapshot/api_op_StartBuildBatch.go.snap +++ b/service/codebuild/snapshot/api_op_StartBuildBatch.go.snap @@ -14,7 +14,6 @@ StartBuildBatch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_StopBuild.go.snap b/service/codebuild/snapshot/api_op_StopBuild.go.snap index c2c30f9e02c..65eda5a1096 100644 --- a/service/codebuild/snapshot/api_op_StopBuild.go.snap +++ b/service/codebuild/snapshot/api_op_StopBuild.go.snap @@ -14,7 +14,6 @@ StopBuild Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_StopBuildBatch.go.snap b/service/codebuild/snapshot/api_op_StopBuildBatch.go.snap index 6f408ba9409..a2ead608032 100644 --- a/service/codebuild/snapshot/api_op_StopBuildBatch.go.snap +++ b/service/codebuild/snapshot/api_op_StopBuildBatch.go.snap @@ -14,7 +14,6 @@ StopBuildBatch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_UpdateFleet.go.snap b/service/codebuild/snapshot/api_op_UpdateFleet.go.snap index 8d6e4ad9bc9..01960fdb712 100644 --- a/service/codebuild/snapshot/api_op_UpdateFleet.go.snap +++ b/service/codebuild/snapshot/api_op_UpdateFleet.go.snap @@ -14,7 +14,6 @@ UpdateFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_UpdateProject.go.snap b/service/codebuild/snapshot/api_op_UpdateProject.go.snap index 5c3e188e688..58c24534d10 100644 --- a/service/codebuild/snapshot/api_op_UpdateProject.go.snap +++ b/service/codebuild/snapshot/api_op_UpdateProject.go.snap @@ -14,7 +14,6 @@ UpdateProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_UpdateProjectVisibility.go.snap b/service/codebuild/snapshot/api_op_UpdateProjectVisibility.go.snap index 4b99f60434d..6da1c817d76 100644 --- a/service/codebuild/snapshot/api_op_UpdateProjectVisibility.go.snap +++ b/service/codebuild/snapshot/api_op_UpdateProjectVisibility.go.snap @@ -14,7 +14,6 @@ UpdateProjectVisibility Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_UpdateReportGroup.go.snap b/service/codebuild/snapshot/api_op_UpdateReportGroup.go.snap index 8aafa857b99..6b660ce9bd3 100644 --- a/service/codebuild/snapshot/api_op_UpdateReportGroup.go.snap +++ b/service/codebuild/snapshot/api_op_UpdateReportGroup.go.snap @@ -14,7 +14,6 @@ UpdateReportGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codebuild/snapshot/api_op_UpdateWebhook.go.snap b/service/codebuild/snapshot/api_op_UpdateWebhook.go.snap index a11c241b367..5952ecd28a1 100644 --- a/service/codebuild/snapshot/api_op_UpdateWebhook.go.snap +++ b/service/codebuild/snapshot/api_op_UpdateWebhook.go.snap @@ -14,7 +14,6 @@ UpdateWebhook Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/api_client.go b/service/codecommit/api_client.go index 77b76d3b456..183a7def21c 100644 --- a/service/codecommit/api_client.go +++ b/service/codecommit/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/codecommit/api_op_AssociateApprovalRuleTemplateWithRepository.go b/service/codecommit/api_op_AssociateApprovalRuleTemplateWithRepository.go index 2906fbc73ae..03372966f49 100644 --- a/service/codecommit/api_op_AssociateApprovalRuleTemplateWithRepository.go +++ b/service/codecommit/api_op_AssociateApprovalRuleTemplateWithRepository.go @@ -118,9 +118,6 @@ func (c *Client) addOperationAssociateApprovalRuleTemplateWithRepositoryMiddlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateApprovalRuleTemplateWithRepositoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_BatchAssociateApprovalRuleTemplateWithRepositories.go b/service/codecommit/api_op_BatchAssociateApprovalRuleTemplateWithRepositories.go index 09046c46bfb..eeb7d7c8ca5 100644 --- a/service/codecommit/api_op_BatchAssociateApprovalRuleTemplateWithRepositories.go +++ b/service/codecommit/api_op_BatchAssociateApprovalRuleTemplateWithRepositories.go @@ -129,9 +129,6 @@ func (c *Client) addOperationBatchAssociateApprovalRuleTemplateWithRepositoriesM if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchAssociateApprovalRuleTemplateWithRepositoriesValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_BatchDescribeMergeConflicts.go b/service/codecommit/api_op_BatchDescribeMergeConflicts.go index d70a1f75672..61d55a68930 100644 --- a/service/codecommit/api_op_BatchDescribeMergeConflicts.go +++ b/service/codecommit/api_op_BatchDescribeMergeConflicts.go @@ -182,9 +182,6 @@ func (c *Client) addOperationBatchDescribeMergeConflictsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDescribeMergeConflictsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_BatchDisassociateApprovalRuleTemplateFromRepositories.go b/service/codecommit/api_op_BatchDisassociateApprovalRuleTemplateFromRepositories.go index 7e160f3c080..67a40b72189 100644 --- a/service/codecommit/api_op_BatchDisassociateApprovalRuleTemplateFromRepositories.go +++ b/service/codecommit/api_op_BatchDisassociateApprovalRuleTemplateFromRepositories.go @@ -132,9 +132,6 @@ func (c *Client) addOperationBatchDisassociateApprovalRuleTemplateFromRepositori if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDisassociateApprovalRuleTemplateFromRepositoriesValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_BatchGetCommits.go b/service/codecommit/api_op_BatchGetCommits.go index 428afa68de3..ad1a1cd9a59 100644 --- a/service/codecommit/api_op_BatchGetCommits.go +++ b/service/codecommit/api_op_BatchGetCommits.go @@ -126,9 +126,6 @@ func (c *Client) addOperationBatchGetCommitsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetCommitsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_BatchGetRepositories.go b/service/codecommit/api_op_BatchGetRepositories.go index cc976530d4b..054b2a81c72 100644 --- a/service/codecommit/api_op_BatchGetRepositories.go +++ b/service/codecommit/api_op_BatchGetRepositories.go @@ -130,9 +130,6 @@ func (c *Client) addOperationBatchGetRepositoriesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetRepositoriesValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_CreateApprovalRuleTemplate.go b/service/codecommit/api_op_CreateApprovalRuleTemplate.go index 27170b6f41e..0392aa405a0 100644 --- a/service/codecommit/api_op_CreateApprovalRuleTemplate.go +++ b/service/codecommit/api_op_CreateApprovalRuleTemplate.go @@ -161,9 +161,6 @@ func (c *Client) addOperationCreateApprovalRuleTemplateMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateApprovalRuleTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_CreateBranch.go b/service/codecommit/api_op_CreateBranch.go index 04b0a95d45f..653b2ea4330 100644 --- a/service/codecommit/api_op_CreateBranch.go +++ b/service/codecommit/api_op_CreateBranch.go @@ -121,9 +121,6 @@ func (c *Client) addOperationCreateBranchMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBranchValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_CreateCommit.go b/service/codecommit/api_op_CreateCommit.go index bb981d15bc9..4c1f4d2a6c0 100644 --- a/service/codecommit/api_op_CreateCommit.go +++ b/service/codecommit/api_op_CreateCommit.go @@ -159,9 +159,6 @@ func (c *Client) addOperationCreateCommitMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCommitValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_CreatePullRequest.go b/service/codecommit/api_op_CreatePullRequest.go index 40198eb565d..78e3d65a068 100644 --- a/service/codecommit/api_op_CreatePullRequest.go +++ b/service/codecommit/api_op_CreatePullRequest.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreatePullRequestMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreatePullRequestMiddleware(stack, options); err != nil { return err } diff --git a/service/codecommit/api_op_CreatePullRequestApprovalRule.go b/service/codecommit/api_op_CreatePullRequestApprovalRule.go index 3fe7678964e..2b77f756cf8 100644 --- a/service/codecommit/api_op_CreatePullRequestApprovalRule.go +++ b/service/codecommit/api_op_CreatePullRequestApprovalRule.go @@ -155,9 +155,6 @@ func (c *Client) addOperationCreatePullRequestApprovalRuleMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePullRequestApprovalRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_CreateRepository.go b/service/codecommit/api_op_CreateRepository.go index d96048f3f7c..982dd19dec1 100644 --- a/service/codecommit/api_op_CreateRepository.go +++ b/service/codecommit/api_op_CreateRepository.go @@ -145,9 +145,6 @@ func (c *Client) addOperationCreateRepositoryMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRepositoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_CreateUnreferencedMergeCommit.go b/service/codecommit/api_op_CreateUnreferencedMergeCommit.go index 1bf1888764d..3bf77d6b971 100644 --- a/service/codecommit/api_op_CreateUnreferencedMergeCommit.go +++ b/service/codecommit/api_op_CreateUnreferencedMergeCommit.go @@ -172,9 +172,6 @@ func (c *Client) addOperationCreateUnreferencedMergeCommitMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateUnreferencedMergeCommitValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_DeleteApprovalRuleTemplate.go b/service/codecommit/api_op_DeleteApprovalRuleTemplate.go index 228cb2b028f..b585bb7c20b 100644 --- a/service/codecommit/api_op_DeleteApprovalRuleTemplate.go +++ b/service/codecommit/api_op_DeleteApprovalRuleTemplate.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteApprovalRuleTemplateMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApprovalRuleTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_DeleteBranch.go b/service/codecommit/api_op_DeleteBranch.go index b4920525f4f..66f85bac6e2 100644 --- a/service/codecommit/api_op_DeleteBranch.go +++ b/service/codecommit/api_op_DeleteBranch.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteBranchMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBranchValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_DeleteCommentContent.go b/service/codecommit/api_op_DeleteCommentContent.go index 60b58f24835..81715ccf130 100644 --- a/service/codecommit/api_op_DeleteCommentContent.go +++ b/service/codecommit/api_op_DeleteCommentContent.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteCommentContentMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCommentContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_DeleteFile.go b/service/codecommit/api_op_DeleteFile.go index 3b4be76d709..fb576da1366 100644 --- a/service/codecommit/api_op_DeleteFile.go +++ b/service/codecommit/api_op_DeleteFile.go @@ -172,9 +172,6 @@ func (c *Client) addOperationDeleteFileMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFileValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_DeletePullRequestApprovalRule.go b/service/codecommit/api_op_DeletePullRequestApprovalRule.go index 3123eb0adf3..b16ae3d7d58 100644 --- a/service/codecommit/api_op_DeletePullRequestApprovalRule.go +++ b/service/codecommit/api_op_DeletePullRequestApprovalRule.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDeletePullRequestApprovalRuleMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePullRequestApprovalRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_DeleteRepository.go b/service/codecommit/api_op_DeleteRepository.go index 19defdbd306..d7041232cc6 100644 --- a/service/codecommit/api_op_DeleteRepository.go +++ b/service/codecommit/api_op_DeleteRepository.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteRepositoryMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRepositoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_DescribeMergeConflicts.go b/service/codecommit/api_op_DescribeMergeConflicts.go index 564d6fc3432..31e9012bfe0 100644 --- a/service/codecommit/api_op_DescribeMergeConflicts.go +++ b/service/codecommit/api_op_DescribeMergeConflicts.go @@ -183,9 +183,6 @@ func (c *Client) addOperationDescribeMergeConflictsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeMergeConflictsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_DescribePullRequestEvents.go b/service/codecommit/api_op_DescribePullRequestEvents.go index 701c4312dba..4bc9d5e86e0 100644 --- a/service/codecommit/api_op_DescribePullRequestEvents.go +++ b/service/codecommit/api_op_DescribePullRequestEvents.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribePullRequestEventsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePullRequestEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_DisassociateApprovalRuleTemplateFromRepository.go b/service/codecommit/api_op_DisassociateApprovalRuleTemplateFromRepository.go index 884ea60c0c3..4ee96d4f687 100644 --- a/service/codecommit/api_op_DisassociateApprovalRuleTemplateFromRepository.go +++ b/service/codecommit/api_op_DisassociateApprovalRuleTemplateFromRepository.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDisassociateApprovalRuleTemplateFromRepositoryMiddl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateApprovalRuleTemplateFromRepositoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_EvaluatePullRequestApprovalRules.go b/service/codecommit/api_op_EvaluatePullRequestApprovalRules.go index e6404728e9e..56acdcfeeae 100644 --- a/service/codecommit/api_op_EvaluatePullRequestApprovalRules.go +++ b/service/codecommit/api_op_EvaluatePullRequestApprovalRules.go @@ -124,9 +124,6 @@ func (c *Client) addOperationEvaluatePullRequestApprovalRulesMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEvaluatePullRequestApprovalRulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetApprovalRuleTemplate.go b/service/codecommit/api_op_GetApprovalRuleTemplate.go index 6ebaf9de63c..c38af465a96 100644 --- a/service/codecommit/api_op_GetApprovalRuleTemplate.go +++ b/service/codecommit/api_op_GetApprovalRuleTemplate.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetApprovalRuleTemplateMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApprovalRuleTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetBlob.go b/service/codecommit/api_op_GetBlob.go index f54aa382fa5..c551161fa96 100644 --- a/service/codecommit/api_op_GetBlob.go +++ b/service/codecommit/api_op_GetBlob.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetBlobMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBlobValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetBranch.go b/service/codecommit/api_op_GetBranch.go index 77e69e4374a..8a8b9fd7cb2 100644 --- a/service/codecommit/api_op_GetBranch.go +++ b/service/codecommit/api_op_GetBranch.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetBranchMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBranch(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codecommit/api_op_GetComment.go b/service/codecommit/api_op_GetComment.go index 0583a5cc199..ae9d562186b 100644 --- a/service/codecommit/api_op_GetComment.go +++ b/service/codecommit/api_op_GetComment.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetCommentMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCommentValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetCommentReactions.go b/service/codecommit/api_op_GetCommentReactions.go index e132ed14eee..c9fccab4b0e 100644 --- a/service/codecommit/api_op_GetCommentReactions.go +++ b/service/codecommit/api_op_GetCommentReactions.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetCommentReactionsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCommentReactionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetCommentsForComparedCommit.go b/service/codecommit/api_op_GetCommentsForComparedCommit.go index e6a06d05f47..5c13fd5fe3a 100644 --- a/service/codecommit/api_op_GetCommentsForComparedCommit.go +++ b/service/codecommit/api_op_GetCommentsForComparedCommit.go @@ -138,9 +138,6 @@ func (c *Client) addOperationGetCommentsForComparedCommitMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCommentsForComparedCommitValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetCommentsForPullRequest.go b/service/codecommit/api_op_GetCommentsForPullRequest.go index 93a66332dd6..91e28a83fc1 100644 --- a/service/codecommit/api_op_GetCommentsForPullRequest.go +++ b/service/codecommit/api_op_GetCommentsForPullRequest.go @@ -144,9 +144,6 @@ func (c *Client) addOperationGetCommentsForPullRequestMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCommentsForPullRequestValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetCommit.go b/service/codecommit/api_op_GetCommit.go index 6ae2407f181..7bb2348fd26 100644 --- a/service/codecommit/api_op_GetCommit.go +++ b/service/codecommit/api_op_GetCommit.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetCommitMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCommitValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetDifferences.go b/service/codecommit/api_op_GetDifferences.go index 9f9c3405b7a..cfc493af574 100644 --- a/service/codecommit/api_op_GetDifferences.go +++ b/service/codecommit/api_op_GetDifferences.go @@ -149,9 +149,6 @@ func (c *Client) addOperationGetDifferencesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDifferencesValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetFile.go b/service/codecommit/api_op_GetFile.go index ca6fdd918f5..c3c8c20e7af 100644 --- a/service/codecommit/api_op_GetFile.go +++ b/service/codecommit/api_op_GetFile.go @@ -157,9 +157,6 @@ func (c *Client) addOperationGetFileMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFileValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetFolder.go b/service/codecommit/api_op_GetFolder.go index 503c3609652..c31df2703d8 100644 --- a/service/codecommit/api_op_GetFolder.go +++ b/service/codecommit/api_op_GetFolder.go @@ -150,9 +150,6 @@ func (c *Client) addOperationGetFolderMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFolderValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetMergeCommit.go b/service/codecommit/api_op_GetMergeCommit.go index c3b16b75418..7de5cbd1ba3 100644 --- a/service/codecommit/api_op_GetMergeCommit.go +++ b/service/codecommit/api_op_GetMergeCommit.go @@ -150,9 +150,6 @@ func (c *Client) addOperationGetMergeCommitMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMergeCommitValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetMergeConflicts.go b/service/codecommit/api_op_GetMergeConflicts.go index 04aff9c668b..8b26ba83237 100644 --- a/service/codecommit/api_op_GetMergeConflicts.go +++ b/service/codecommit/api_op_GetMergeConflicts.go @@ -177,9 +177,6 @@ func (c *Client) addOperationGetMergeConflictsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMergeConflictsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetMergeOptions.go b/service/codecommit/api_op_GetMergeOptions.go index 0133e05186e..eee31b61465 100644 --- a/service/codecommit/api_op_GetMergeOptions.go +++ b/service/codecommit/api_op_GetMergeOptions.go @@ -158,9 +158,6 @@ func (c *Client) addOperationGetMergeOptionsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMergeOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetPullRequest.go b/service/codecommit/api_op_GetPullRequest.go index 63f64014ad3..bf6ba00f08f 100644 --- a/service/codecommit/api_op_GetPullRequest.go +++ b/service/codecommit/api_op_GetPullRequest.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetPullRequestMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPullRequestValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetPullRequestApprovalStates.go b/service/codecommit/api_op_GetPullRequestApprovalStates.go index d757eb7dcf0..f3f0676aea2 100644 --- a/service/codecommit/api_op_GetPullRequestApprovalStates.go +++ b/service/codecommit/api_op_GetPullRequestApprovalStates.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetPullRequestApprovalStatesMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPullRequestApprovalStatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetPullRequestOverrideState.go b/service/codecommit/api_op_GetPullRequestOverrideState.go index 22891c8dded..e2a4f041436 100644 --- a/service/codecommit/api_op_GetPullRequestOverrideState.go +++ b/service/codecommit/api_op_GetPullRequestOverrideState.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetPullRequestOverrideStateMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPullRequestOverrideStateValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetRepository.go b/service/codecommit/api_op_GetRepository.go index b1bf5459ac0..53e60d9ddf8 100644 --- a/service/codecommit/api_op_GetRepository.go +++ b/service/codecommit/api_op_GetRepository.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetRepositoryMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRepositoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_GetRepositoryTriggers.go b/service/codecommit/api_op_GetRepositoryTriggers.go index daf99043777..d095ebdf36e 100644 --- a/service/codecommit/api_op_GetRepositoryTriggers.go +++ b/service/codecommit/api_op_GetRepositoryTriggers.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetRepositoryTriggersMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRepositoryTriggersValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_ListApprovalRuleTemplates.go b/service/codecommit/api_op_ListApprovalRuleTemplates.go index dfa9cf8fa1d..46918e99d6f 100644 --- a/service/codecommit/api_op_ListApprovalRuleTemplates.go +++ b/service/codecommit/api_op_ListApprovalRuleTemplates.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListApprovalRuleTemplatesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApprovalRuleTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codecommit/api_op_ListAssociatedApprovalRuleTemplatesForRepository.go b/service/codecommit/api_op_ListAssociatedApprovalRuleTemplatesForRepository.go index e5d7983a9b7..64b07a60f9f 100644 --- a/service/codecommit/api_op_ListAssociatedApprovalRuleTemplatesForRepository.go +++ b/service/codecommit/api_op_ListAssociatedApprovalRuleTemplatesForRepository.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListAssociatedApprovalRuleTemplatesForRepositoryMid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAssociatedApprovalRuleTemplatesForRepositoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_ListBranches.go b/service/codecommit/api_op_ListBranches.go index fbf2a79e0ce..dd4193bc490 100644 --- a/service/codecommit/api_op_ListBranches.go +++ b/service/codecommit/api_op_ListBranches.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListBranchesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBranchesValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_ListFileCommitHistory.go b/service/codecommit/api_op_ListFileCommitHistory.go index 267ecbd0062..6bc55be60ab 100644 --- a/service/codecommit/api_op_ListFileCommitHistory.go +++ b/service/codecommit/api_op_ListFileCommitHistory.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListFileCommitHistoryMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFileCommitHistoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_ListPullRequests.go b/service/codecommit/api_op_ListPullRequests.go index e7181e5c253..632ff861b5f 100644 --- a/service/codecommit/api_op_ListPullRequests.go +++ b/service/codecommit/api_op_ListPullRequests.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListPullRequestsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPullRequestsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_ListRepositories.go b/service/codecommit/api_op_ListRepositories.go index e536e4b68f2..bdfc9f35cdc 100644 --- a/service/codecommit/api_op_ListRepositories.go +++ b/service/codecommit/api_op_ListRepositories.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListRepositoriesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRepositories(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codecommit/api_op_ListRepositoriesForApprovalRuleTemplate.go b/service/codecommit/api_op_ListRepositoriesForApprovalRuleTemplate.go index 28a6ea5b310..5f08ee35e9b 100644 --- a/service/codecommit/api_op_ListRepositoriesForApprovalRuleTemplate.go +++ b/service/codecommit/api_op_ListRepositoriesForApprovalRuleTemplate.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListRepositoriesForApprovalRuleTemplateMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRepositoriesForApprovalRuleTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_ListTagsForResource.go b/service/codecommit/api_op_ListTagsForResource.go index 5a7316a2488..d41187e2e8e 100644 --- a/service/codecommit/api_op_ListTagsForResource.go +++ b/service/codecommit/api_op_ListTagsForResource.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_MergeBranchesByFastForward.go b/service/codecommit/api_op_MergeBranchesByFastForward.go index 04fdc93bf76..f9ead3c6482 100644 --- a/service/codecommit/api_op_MergeBranchesByFastForward.go +++ b/service/codecommit/api_op_MergeBranchesByFastForward.go @@ -129,9 +129,6 @@ func (c *Client) addOperationMergeBranchesByFastForwardMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMergeBranchesByFastForwardValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_MergeBranchesBySquash.go b/service/codecommit/api_op_MergeBranchesBySquash.go index 58383c00972..3f2fb310f52 100644 --- a/service/codecommit/api_op_MergeBranchesBySquash.go +++ b/service/codecommit/api_op_MergeBranchesBySquash.go @@ -162,9 +162,6 @@ func (c *Client) addOperationMergeBranchesBySquashMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMergeBranchesBySquashValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_MergeBranchesByThreeWay.go b/service/codecommit/api_op_MergeBranchesByThreeWay.go index ffa12a879f0..83183cee36f 100644 --- a/service/codecommit/api_op_MergeBranchesByThreeWay.go +++ b/service/codecommit/api_op_MergeBranchesByThreeWay.go @@ -162,9 +162,6 @@ func (c *Client) addOperationMergeBranchesByThreeWayMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMergeBranchesByThreeWayValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_MergePullRequestByFastForward.go b/service/codecommit/api_op_MergePullRequestByFastForward.go index e9431ff1cf9..63baec7b906 100644 --- a/service/codecommit/api_op_MergePullRequestByFastForward.go +++ b/service/codecommit/api_op_MergePullRequestByFastForward.go @@ -125,9 +125,6 @@ func (c *Client) addOperationMergePullRequestByFastForwardMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMergePullRequestByFastForwardValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_MergePullRequestBySquash.go b/service/codecommit/api_op_MergePullRequestBySquash.go index c93d61ab439..db4fb052cb9 100644 --- a/service/codecommit/api_op_MergePullRequestBySquash.go +++ b/service/codecommit/api_op_MergePullRequestBySquash.go @@ -156,9 +156,6 @@ func (c *Client) addOperationMergePullRequestBySquashMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMergePullRequestBySquashValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_MergePullRequestByThreeWay.go b/service/codecommit/api_op_MergePullRequestByThreeWay.go index d1a739961a1..218bfe42d70 100644 --- a/service/codecommit/api_op_MergePullRequestByThreeWay.go +++ b/service/codecommit/api_op_MergePullRequestByThreeWay.go @@ -157,9 +157,6 @@ func (c *Client) addOperationMergePullRequestByThreeWayMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMergePullRequestByThreeWayValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_OverridePullRequestApprovalRules.go b/service/codecommit/api_op_OverridePullRequestApprovalRules.go index 84d0ea366bd..b716c6f67b4 100644 --- a/service/codecommit/api_op_OverridePullRequestApprovalRules.go +++ b/service/codecommit/api_op_OverridePullRequestApprovalRules.go @@ -124,9 +124,6 @@ func (c *Client) addOperationOverridePullRequestApprovalRulesMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpOverridePullRequestApprovalRulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_PostCommentForComparedCommit.go b/service/codecommit/api_op_PostCommentForComparedCommit.go index e7abca9d3bb..76b60f08f3e 100644 --- a/service/codecommit/api_op_PostCommentForComparedCommit.go +++ b/service/codecommit/api_op_PostCommentForComparedCommit.go @@ -157,9 +157,6 @@ func (c *Client) addOperationPostCommentForComparedCommitMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opPostCommentForComparedCommitMiddleware(stack, options); err != nil { return err } diff --git a/service/codecommit/api_op_PostCommentForPullRequest.go b/service/codecommit/api_op_PostCommentForPullRequest.go index b3fe5582880..bbd5610ccc8 100644 --- a/service/codecommit/api_op_PostCommentForPullRequest.go +++ b/service/codecommit/api_op_PostCommentForPullRequest.go @@ -169,9 +169,6 @@ func (c *Client) addOperationPostCommentForPullRequestMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opPostCommentForPullRequestMiddleware(stack, options); err != nil { return err } diff --git a/service/codecommit/api_op_PostCommentReply.go b/service/codecommit/api_op_PostCommentReply.go index d4d275523b4..70f91daa813 100644 --- a/service/codecommit/api_op_PostCommentReply.go +++ b/service/codecommit/api_op_PostCommentReply.go @@ -125,9 +125,6 @@ func (c *Client) addOperationPostCommentReplyMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opPostCommentReplyMiddleware(stack, options); err != nil { return err } diff --git a/service/codecommit/api_op_PutCommentReaction.go b/service/codecommit/api_op_PutCommentReaction.go index ea361534387..024c6f479f4 100644 --- a/service/codecommit/api_op_PutCommentReaction.go +++ b/service/codecommit/api_op_PutCommentReaction.go @@ -118,9 +118,6 @@ func (c *Client) addOperationPutCommentReactionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutCommentReactionValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_PutFile.go b/service/codecommit/api_op_PutFile.go index a196dcef516..ae7751b9b9f 100644 --- a/service/codecommit/api_op_PutFile.go +++ b/service/codecommit/api_op_PutFile.go @@ -169,9 +169,6 @@ func (c *Client) addOperationPutFileMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutFileValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_PutRepositoryTriggers.go b/service/codecommit/api_op_PutRepositoryTriggers.go index 924e3adec3c..a588335806b 100644 --- a/service/codecommit/api_op_PutRepositoryTriggers.go +++ b/service/codecommit/api_op_PutRepositoryTriggers.go @@ -119,9 +119,6 @@ func (c *Client) addOperationPutRepositoryTriggersMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutRepositoryTriggersValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_TagResource.go b/service/codecommit/api_op_TagResource.go index a3ba85e1bc5..0ab844bc76d 100644 --- a/service/codecommit/api_op_TagResource.go +++ b/service/codecommit/api_op_TagResource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_TestRepositoryTriggers.go b/service/codecommit/api_op_TestRepositoryTriggers.go index f0165901018..342b62addda 100644 --- a/service/codecommit/api_op_TestRepositoryTriggers.go +++ b/service/codecommit/api_op_TestRepositoryTriggers.go @@ -126,9 +126,6 @@ func (c *Client) addOperationTestRepositoryTriggersMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTestRepositoryTriggersValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_UntagResource.go b/service/codecommit/api_op_UntagResource.go index c65c4ea8813..8c456205daa 100644 --- a/service/codecommit/api_op_UntagResource.go +++ b/service/codecommit/api_op_UntagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_UpdateApprovalRuleTemplateContent.go b/service/codecommit/api_op_UpdateApprovalRuleTemplateContent.go index c0bc66f61e1..765bfea33b2 100644 --- a/service/codecommit/api_op_UpdateApprovalRuleTemplateContent.go +++ b/service/codecommit/api_op_UpdateApprovalRuleTemplateContent.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateApprovalRuleTemplateContentMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApprovalRuleTemplateContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_UpdateApprovalRuleTemplateDescription.go b/service/codecommit/api_op_UpdateApprovalRuleTemplateDescription.go index 12eed0a386f..6089e9c60ca 100644 --- a/service/codecommit/api_op_UpdateApprovalRuleTemplateDescription.go +++ b/service/codecommit/api_op_UpdateApprovalRuleTemplateDescription.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateApprovalRuleTemplateDescriptionMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApprovalRuleTemplateDescriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_UpdateApprovalRuleTemplateName.go b/service/codecommit/api_op_UpdateApprovalRuleTemplateName.go index bd9073d4e38..e2e1b32d443 100644 --- a/service/codecommit/api_op_UpdateApprovalRuleTemplateName.go +++ b/service/codecommit/api_op_UpdateApprovalRuleTemplateName.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateApprovalRuleTemplateNameMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApprovalRuleTemplateNameValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_UpdateComment.go b/service/codecommit/api_op_UpdateComment.go index a5367fdcaf0..2645f38a375 100644 --- a/service/codecommit/api_op_UpdateComment.go +++ b/service/codecommit/api_op_UpdateComment.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateCommentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCommentValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_UpdateDefaultBranch.go b/service/codecommit/api_op_UpdateDefaultBranch.go index 334ec0c68d7..643cbafdd04 100644 --- a/service/codecommit/api_op_UpdateDefaultBranch.go +++ b/service/codecommit/api_op_UpdateDefaultBranch.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateDefaultBranchMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDefaultBranchValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_UpdatePullRequestApprovalRuleContent.go b/service/codecommit/api_op_UpdatePullRequestApprovalRuleContent.go index 5232351e5bf..47020d440a9 100644 --- a/service/codecommit/api_op_UpdatePullRequestApprovalRuleContent.go +++ b/service/codecommit/api_op_UpdatePullRequestApprovalRuleContent.go @@ -158,9 +158,6 @@ func (c *Client) addOperationUpdatePullRequestApprovalRuleContentMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePullRequestApprovalRuleContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_UpdatePullRequestApprovalState.go b/service/codecommit/api_op_UpdatePullRequestApprovalState.go index e4f7e92b7e4..0cc1d288971 100644 --- a/service/codecommit/api_op_UpdatePullRequestApprovalState.go +++ b/service/codecommit/api_op_UpdatePullRequestApprovalState.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdatePullRequestApprovalStateMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePullRequestApprovalStateValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_UpdatePullRequestDescription.go b/service/codecommit/api_op_UpdatePullRequestDescription.go index bfc26fb8f30..eb667b685dc 100644 --- a/service/codecommit/api_op_UpdatePullRequestDescription.go +++ b/service/codecommit/api_op_UpdatePullRequestDescription.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdatePullRequestDescriptionMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePullRequestDescriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_UpdatePullRequestStatus.go b/service/codecommit/api_op_UpdatePullRequestStatus.go index 1f68eca565c..a49d76dfc4f 100644 --- a/service/codecommit/api_op_UpdatePullRequestStatus.go +++ b/service/codecommit/api_op_UpdatePullRequestStatus.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdatePullRequestStatusMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePullRequestStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_UpdatePullRequestTitle.go b/service/codecommit/api_op_UpdatePullRequestTitle.go index 112994c2c2c..e87fbc564ac 100644 --- a/service/codecommit/api_op_UpdatePullRequestTitle.go +++ b/service/codecommit/api_op_UpdatePullRequestTitle.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdatePullRequestTitleMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePullRequestTitleValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_UpdateRepositoryDescription.go b/service/codecommit/api_op_UpdateRepositoryDescription.go index 9e4d0dd7d08..2befe085920 100644 --- a/service/codecommit/api_op_UpdateRepositoryDescription.go +++ b/service/codecommit/api_op_UpdateRepositoryDescription.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateRepositoryDescriptionMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRepositoryDescriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_UpdateRepositoryEncryptionKey.go b/service/codecommit/api_op_UpdateRepositoryEncryptionKey.go index 51626da1c4b..b368df38b39 100644 --- a/service/codecommit/api_op_UpdateRepositoryEncryptionKey.go +++ b/service/codecommit/api_op_UpdateRepositoryEncryptionKey.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateRepositoryEncryptionKeyMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRepositoryEncryptionKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/api_op_UpdateRepositoryName.go b/service/codecommit/api_op_UpdateRepositoryName.go index 23feea55487..5d09f6a0666 100644 --- a/service/codecommit/api_op_UpdateRepositoryName.go +++ b/service/codecommit/api_op_UpdateRepositoryName.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateRepositoryNameMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRepositoryNameValidationMiddleware(stack); err != nil { return err } diff --git a/service/codecommit/snapshot/api_op_AssociateApprovalRuleTemplateWithRepository.go.snap b/service/codecommit/snapshot/api_op_AssociateApprovalRuleTemplateWithRepository.go.snap index c1662b8bc2b..5ca23039d86 100644 --- a/service/codecommit/snapshot/api_op_AssociateApprovalRuleTemplateWithRepository.go.snap +++ b/service/codecommit/snapshot/api_op_AssociateApprovalRuleTemplateWithRepository.go.snap @@ -14,7 +14,6 @@ AssociateApprovalRuleTemplateWithRepository Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_BatchAssociateApprovalRuleTemplateWithRepositories.go.snap b/service/codecommit/snapshot/api_op_BatchAssociateApprovalRuleTemplateWithRepositories.go.snap index fccaf44c355..626cff3e33d 100644 --- a/service/codecommit/snapshot/api_op_BatchAssociateApprovalRuleTemplateWithRepositories.go.snap +++ b/service/codecommit/snapshot/api_op_BatchAssociateApprovalRuleTemplateWithRepositories.go.snap @@ -14,7 +14,6 @@ BatchAssociateApprovalRuleTemplateWithRepositories Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_BatchDescribeMergeConflicts.go.snap b/service/codecommit/snapshot/api_op_BatchDescribeMergeConflicts.go.snap index 46f7ef1bdf0..0dc79aefa2f 100644 --- a/service/codecommit/snapshot/api_op_BatchDescribeMergeConflicts.go.snap +++ b/service/codecommit/snapshot/api_op_BatchDescribeMergeConflicts.go.snap @@ -14,7 +14,6 @@ BatchDescribeMergeConflicts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_BatchDisassociateApprovalRuleTemplateFromRepositories.go.snap b/service/codecommit/snapshot/api_op_BatchDisassociateApprovalRuleTemplateFromRepositories.go.snap index 8cc65f00c23..fecc7f4b5f4 100644 --- a/service/codecommit/snapshot/api_op_BatchDisassociateApprovalRuleTemplateFromRepositories.go.snap +++ b/service/codecommit/snapshot/api_op_BatchDisassociateApprovalRuleTemplateFromRepositories.go.snap @@ -14,7 +14,6 @@ BatchDisassociateApprovalRuleTemplateFromRepositories Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_BatchGetCommits.go.snap b/service/codecommit/snapshot/api_op_BatchGetCommits.go.snap index f0ce6f67e6e..4e0731f9d6f 100644 --- a/service/codecommit/snapshot/api_op_BatchGetCommits.go.snap +++ b/service/codecommit/snapshot/api_op_BatchGetCommits.go.snap @@ -14,7 +14,6 @@ BatchGetCommits Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_BatchGetRepositories.go.snap b/service/codecommit/snapshot/api_op_BatchGetRepositories.go.snap index 9131d51f21a..f93bcf424be 100644 --- a/service/codecommit/snapshot/api_op_BatchGetRepositories.go.snap +++ b/service/codecommit/snapshot/api_op_BatchGetRepositories.go.snap @@ -14,7 +14,6 @@ BatchGetRepositories Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_CreateApprovalRuleTemplate.go.snap b/service/codecommit/snapshot/api_op_CreateApprovalRuleTemplate.go.snap index 05f55d83d95..a024b5842d9 100644 --- a/service/codecommit/snapshot/api_op_CreateApprovalRuleTemplate.go.snap +++ b/service/codecommit/snapshot/api_op_CreateApprovalRuleTemplate.go.snap @@ -14,7 +14,6 @@ CreateApprovalRuleTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_CreateBranch.go.snap b/service/codecommit/snapshot/api_op_CreateBranch.go.snap index 5f76537cf64..8f00f86d25c 100644 --- a/service/codecommit/snapshot/api_op_CreateBranch.go.snap +++ b/service/codecommit/snapshot/api_op_CreateBranch.go.snap @@ -14,7 +14,6 @@ CreateBranch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_CreateCommit.go.snap b/service/codecommit/snapshot/api_op_CreateCommit.go.snap index ef145ccf960..bf6245a92bc 100644 --- a/service/codecommit/snapshot/api_op_CreateCommit.go.snap +++ b/service/codecommit/snapshot/api_op_CreateCommit.go.snap @@ -14,7 +14,6 @@ CreateCommit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_CreatePullRequest.go.snap b/service/codecommit/snapshot/api_op_CreatePullRequest.go.snap index 664914655d0..f5ffe6ea6a4 100644 --- a/service/codecommit/snapshot/api_op_CreatePullRequest.go.snap +++ b/service/codecommit/snapshot/api_op_CreatePullRequest.go.snap @@ -15,7 +15,6 @@ CreatePullRequest Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_CreatePullRequestApprovalRule.go.snap b/service/codecommit/snapshot/api_op_CreatePullRequestApprovalRule.go.snap index deccc19a9c6..a09b5273066 100644 --- a/service/codecommit/snapshot/api_op_CreatePullRequestApprovalRule.go.snap +++ b/service/codecommit/snapshot/api_op_CreatePullRequestApprovalRule.go.snap @@ -14,7 +14,6 @@ CreatePullRequestApprovalRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_CreateRepository.go.snap b/service/codecommit/snapshot/api_op_CreateRepository.go.snap index 89c86dfaf56..6f61c5b4675 100644 --- a/service/codecommit/snapshot/api_op_CreateRepository.go.snap +++ b/service/codecommit/snapshot/api_op_CreateRepository.go.snap @@ -14,7 +14,6 @@ CreateRepository Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_CreateUnreferencedMergeCommit.go.snap b/service/codecommit/snapshot/api_op_CreateUnreferencedMergeCommit.go.snap index 073d51d7493..1efc079636b 100644 --- a/service/codecommit/snapshot/api_op_CreateUnreferencedMergeCommit.go.snap +++ b/service/codecommit/snapshot/api_op_CreateUnreferencedMergeCommit.go.snap @@ -14,7 +14,6 @@ CreateUnreferencedMergeCommit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_DeleteApprovalRuleTemplate.go.snap b/service/codecommit/snapshot/api_op_DeleteApprovalRuleTemplate.go.snap index e8dbe282b9c..86c26abf91d 100644 --- a/service/codecommit/snapshot/api_op_DeleteApprovalRuleTemplate.go.snap +++ b/service/codecommit/snapshot/api_op_DeleteApprovalRuleTemplate.go.snap @@ -14,7 +14,6 @@ DeleteApprovalRuleTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_DeleteBranch.go.snap b/service/codecommit/snapshot/api_op_DeleteBranch.go.snap index 4e8b994fc92..bcd574da034 100644 --- a/service/codecommit/snapshot/api_op_DeleteBranch.go.snap +++ b/service/codecommit/snapshot/api_op_DeleteBranch.go.snap @@ -14,7 +14,6 @@ DeleteBranch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_DeleteCommentContent.go.snap b/service/codecommit/snapshot/api_op_DeleteCommentContent.go.snap index ac4ab0557ef..24e7a595f86 100644 --- a/service/codecommit/snapshot/api_op_DeleteCommentContent.go.snap +++ b/service/codecommit/snapshot/api_op_DeleteCommentContent.go.snap @@ -14,7 +14,6 @@ DeleteCommentContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_DeleteFile.go.snap b/service/codecommit/snapshot/api_op_DeleteFile.go.snap index 69ae91e772f..e84b724fdeb 100644 --- a/service/codecommit/snapshot/api_op_DeleteFile.go.snap +++ b/service/codecommit/snapshot/api_op_DeleteFile.go.snap @@ -14,7 +14,6 @@ DeleteFile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_DeletePullRequestApprovalRule.go.snap b/service/codecommit/snapshot/api_op_DeletePullRequestApprovalRule.go.snap index 32c43f107bd..7fcdff90bef 100644 --- a/service/codecommit/snapshot/api_op_DeletePullRequestApprovalRule.go.snap +++ b/service/codecommit/snapshot/api_op_DeletePullRequestApprovalRule.go.snap @@ -14,7 +14,6 @@ DeletePullRequestApprovalRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_DeleteRepository.go.snap b/service/codecommit/snapshot/api_op_DeleteRepository.go.snap index f94a590e30e..9a621bc6069 100644 --- a/service/codecommit/snapshot/api_op_DeleteRepository.go.snap +++ b/service/codecommit/snapshot/api_op_DeleteRepository.go.snap @@ -14,7 +14,6 @@ DeleteRepository Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_DescribeMergeConflicts.go.snap b/service/codecommit/snapshot/api_op_DescribeMergeConflicts.go.snap index 1b4ef145638..cbd8ed7431b 100644 --- a/service/codecommit/snapshot/api_op_DescribeMergeConflicts.go.snap +++ b/service/codecommit/snapshot/api_op_DescribeMergeConflicts.go.snap @@ -14,7 +14,6 @@ DescribeMergeConflicts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_DescribePullRequestEvents.go.snap b/service/codecommit/snapshot/api_op_DescribePullRequestEvents.go.snap index f199c740d0e..5a3ea9c0989 100644 --- a/service/codecommit/snapshot/api_op_DescribePullRequestEvents.go.snap +++ b/service/codecommit/snapshot/api_op_DescribePullRequestEvents.go.snap @@ -14,7 +14,6 @@ DescribePullRequestEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_DisassociateApprovalRuleTemplateFromRepository.go.snap b/service/codecommit/snapshot/api_op_DisassociateApprovalRuleTemplateFromRepository.go.snap index 021954e000f..e43f2023f37 100644 --- a/service/codecommit/snapshot/api_op_DisassociateApprovalRuleTemplateFromRepository.go.snap +++ b/service/codecommit/snapshot/api_op_DisassociateApprovalRuleTemplateFromRepository.go.snap @@ -14,7 +14,6 @@ DisassociateApprovalRuleTemplateFromRepository Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_EvaluatePullRequestApprovalRules.go.snap b/service/codecommit/snapshot/api_op_EvaluatePullRequestApprovalRules.go.snap index 15e9ae8ae54..c8e4f7f04c2 100644 --- a/service/codecommit/snapshot/api_op_EvaluatePullRequestApprovalRules.go.snap +++ b/service/codecommit/snapshot/api_op_EvaluatePullRequestApprovalRules.go.snap @@ -14,7 +14,6 @@ EvaluatePullRequestApprovalRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_GetApprovalRuleTemplate.go.snap b/service/codecommit/snapshot/api_op_GetApprovalRuleTemplate.go.snap index 97f533bf528..950e1d75b9f 100644 --- a/service/codecommit/snapshot/api_op_GetApprovalRuleTemplate.go.snap +++ b/service/codecommit/snapshot/api_op_GetApprovalRuleTemplate.go.snap @@ -14,7 +14,6 @@ GetApprovalRuleTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_GetBlob.go.snap b/service/codecommit/snapshot/api_op_GetBlob.go.snap index aa7f1a49464..f8e1f3f5478 100644 --- a/service/codecommit/snapshot/api_op_GetBlob.go.snap +++ b/service/codecommit/snapshot/api_op_GetBlob.go.snap @@ -14,7 +14,6 @@ GetBlob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_GetBranch.go.snap b/service/codecommit/snapshot/api_op_GetBranch.go.snap index 5cfb3797ce2..db6fa6792c7 100644 --- a/service/codecommit/snapshot/api_op_GetBranch.go.snap +++ b/service/codecommit/snapshot/api_op_GetBranch.go.snap @@ -13,7 +13,6 @@ GetBranch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_GetComment.go.snap b/service/codecommit/snapshot/api_op_GetComment.go.snap index 6fd2c51ad3e..3615272756c 100644 --- a/service/codecommit/snapshot/api_op_GetComment.go.snap +++ b/service/codecommit/snapshot/api_op_GetComment.go.snap @@ -14,7 +14,6 @@ GetComment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_GetCommentReactions.go.snap b/service/codecommit/snapshot/api_op_GetCommentReactions.go.snap index faa83855ab7..61f8f7cdd77 100644 --- a/service/codecommit/snapshot/api_op_GetCommentReactions.go.snap +++ b/service/codecommit/snapshot/api_op_GetCommentReactions.go.snap @@ -14,7 +14,6 @@ GetCommentReactions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_GetCommentsForComparedCommit.go.snap b/service/codecommit/snapshot/api_op_GetCommentsForComparedCommit.go.snap index fa85cead1c8..379446909d2 100644 --- a/service/codecommit/snapshot/api_op_GetCommentsForComparedCommit.go.snap +++ b/service/codecommit/snapshot/api_op_GetCommentsForComparedCommit.go.snap @@ -14,7 +14,6 @@ GetCommentsForComparedCommit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_GetCommentsForPullRequest.go.snap b/service/codecommit/snapshot/api_op_GetCommentsForPullRequest.go.snap index cf50a9eccdb..3a1ab3cbfaf 100644 --- a/service/codecommit/snapshot/api_op_GetCommentsForPullRequest.go.snap +++ b/service/codecommit/snapshot/api_op_GetCommentsForPullRequest.go.snap @@ -14,7 +14,6 @@ GetCommentsForPullRequest Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_GetCommit.go.snap b/service/codecommit/snapshot/api_op_GetCommit.go.snap index 108b4d9d3cd..f17cbab2532 100644 --- a/service/codecommit/snapshot/api_op_GetCommit.go.snap +++ b/service/codecommit/snapshot/api_op_GetCommit.go.snap @@ -14,7 +14,6 @@ GetCommit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_GetDifferences.go.snap b/service/codecommit/snapshot/api_op_GetDifferences.go.snap index 4caedcb9f1e..e936d7e93c5 100644 --- a/service/codecommit/snapshot/api_op_GetDifferences.go.snap +++ b/service/codecommit/snapshot/api_op_GetDifferences.go.snap @@ -14,7 +14,6 @@ GetDifferences Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_GetFile.go.snap b/service/codecommit/snapshot/api_op_GetFile.go.snap index 95ff0108ce8..3fa322e596b 100644 --- a/service/codecommit/snapshot/api_op_GetFile.go.snap +++ b/service/codecommit/snapshot/api_op_GetFile.go.snap @@ -14,7 +14,6 @@ GetFile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_GetFolder.go.snap b/service/codecommit/snapshot/api_op_GetFolder.go.snap index 90d9b8fe3cc..293f97992da 100644 --- a/service/codecommit/snapshot/api_op_GetFolder.go.snap +++ b/service/codecommit/snapshot/api_op_GetFolder.go.snap @@ -14,7 +14,6 @@ GetFolder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_GetMergeCommit.go.snap b/service/codecommit/snapshot/api_op_GetMergeCommit.go.snap index f0ff01fe7f5..7ac5d6f36ad 100644 --- a/service/codecommit/snapshot/api_op_GetMergeCommit.go.snap +++ b/service/codecommit/snapshot/api_op_GetMergeCommit.go.snap @@ -14,7 +14,6 @@ GetMergeCommit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_GetMergeConflicts.go.snap b/service/codecommit/snapshot/api_op_GetMergeConflicts.go.snap index 301f4eff851..7e8d8122265 100644 --- a/service/codecommit/snapshot/api_op_GetMergeConflicts.go.snap +++ b/service/codecommit/snapshot/api_op_GetMergeConflicts.go.snap @@ -14,7 +14,6 @@ GetMergeConflicts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_GetMergeOptions.go.snap b/service/codecommit/snapshot/api_op_GetMergeOptions.go.snap index 4369f67929c..becc3b503a4 100644 --- a/service/codecommit/snapshot/api_op_GetMergeOptions.go.snap +++ b/service/codecommit/snapshot/api_op_GetMergeOptions.go.snap @@ -14,7 +14,6 @@ GetMergeOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_GetPullRequest.go.snap b/service/codecommit/snapshot/api_op_GetPullRequest.go.snap index a0937ca219f..fe59f5d865a 100644 --- a/service/codecommit/snapshot/api_op_GetPullRequest.go.snap +++ b/service/codecommit/snapshot/api_op_GetPullRequest.go.snap @@ -14,7 +14,6 @@ GetPullRequest Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_GetPullRequestApprovalStates.go.snap b/service/codecommit/snapshot/api_op_GetPullRequestApprovalStates.go.snap index 451f063593a..1ae2a92bc3e 100644 --- a/service/codecommit/snapshot/api_op_GetPullRequestApprovalStates.go.snap +++ b/service/codecommit/snapshot/api_op_GetPullRequestApprovalStates.go.snap @@ -14,7 +14,6 @@ GetPullRequestApprovalStates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_GetPullRequestOverrideState.go.snap b/service/codecommit/snapshot/api_op_GetPullRequestOverrideState.go.snap index 983dd9d03b2..215f0d466c8 100644 --- a/service/codecommit/snapshot/api_op_GetPullRequestOverrideState.go.snap +++ b/service/codecommit/snapshot/api_op_GetPullRequestOverrideState.go.snap @@ -14,7 +14,6 @@ GetPullRequestOverrideState Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_GetRepository.go.snap b/service/codecommit/snapshot/api_op_GetRepository.go.snap index 2472b69cd56..c220af68fc5 100644 --- a/service/codecommit/snapshot/api_op_GetRepository.go.snap +++ b/service/codecommit/snapshot/api_op_GetRepository.go.snap @@ -14,7 +14,6 @@ GetRepository Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_GetRepositoryTriggers.go.snap b/service/codecommit/snapshot/api_op_GetRepositoryTriggers.go.snap index a3d7085ee5a..b0a4acc3971 100644 --- a/service/codecommit/snapshot/api_op_GetRepositoryTriggers.go.snap +++ b/service/codecommit/snapshot/api_op_GetRepositoryTriggers.go.snap @@ -14,7 +14,6 @@ GetRepositoryTriggers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_ListApprovalRuleTemplates.go.snap b/service/codecommit/snapshot/api_op_ListApprovalRuleTemplates.go.snap index 4ba7e5728d1..8941fa66d90 100644 --- a/service/codecommit/snapshot/api_op_ListApprovalRuleTemplates.go.snap +++ b/service/codecommit/snapshot/api_op_ListApprovalRuleTemplates.go.snap @@ -13,7 +13,6 @@ ListApprovalRuleTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_ListAssociatedApprovalRuleTemplatesForRepository.go.snap b/service/codecommit/snapshot/api_op_ListAssociatedApprovalRuleTemplatesForRepository.go.snap index aac7aa3a292..9d416c016bb 100644 --- a/service/codecommit/snapshot/api_op_ListAssociatedApprovalRuleTemplatesForRepository.go.snap +++ b/service/codecommit/snapshot/api_op_ListAssociatedApprovalRuleTemplatesForRepository.go.snap @@ -14,7 +14,6 @@ ListAssociatedApprovalRuleTemplatesForRepository Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_ListBranches.go.snap b/service/codecommit/snapshot/api_op_ListBranches.go.snap index 28809527b10..8c1025b633d 100644 --- a/service/codecommit/snapshot/api_op_ListBranches.go.snap +++ b/service/codecommit/snapshot/api_op_ListBranches.go.snap @@ -14,7 +14,6 @@ ListBranches Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_ListFileCommitHistory.go.snap b/service/codecommit/snapshot/api_op_ListFileCommitHistory.go.snap index 0f42f119220..dba8e96a4ac 100644 --- a/service/codecommit/snapshot/api_op_ListFileCommitHistory.go.snap +++ b/service/codecommit/snapshot/api_op_ListFileCommitHistory.go.snap @@ -14,7 +14,6 @@ ListFileCommitHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_ListPullRequests.go.snap b/service/codecommit/snapshot/api_op_ListPullRequests.go.snap index cd7c20d8a5b..b5987368107 100644 --- a/service/codecommit/snapshot/api_op_ListPullRequests.go.snap +++ b/service/codecommit/snapshot/api_op_ListPullRequests.go.snap @@ -14,7 +14,6 @@ ListPullRequests Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_ListRepositories.go.snap b/service/codecommit/snapshot/api_op_ListRepositories.go.snap index f1cf42911a4..8e9de194287 100644 --- a/service/codecommit/snapshot/api_op_ListRepositories.go.snap +++ b/service/codecommit/snapshot/api_op_ListRepositories.go.snap @@ -13,7 +13,6 @@ ListRepositories Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_ListRepositoriesForApprovalRuleTemplate.go.snap b/service/codecommit/snapshot/api_op_ListRepositoriesForApprovalRuleTemplate.go.snap index 3c05d9a7337..c23fefd79e2 100644 --- a/service/codecommit/snapshot/api_op_ListRepositoriesForApprovalRuleTemplate.go.snap +++ b/service/codecommit/snapshot/api_op_ListRepositoriesForApprovalRuleTemplate.go.snap @@ -14,7 +14,6 @@ ListRepositoriesForApprovalRuleTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_ListTagsForResource.go.snap b/service/codecommit/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/codecommit/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/codecommit/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_MergeBranchesByFastForward.go.snap b/service/codecommit/snapshot/api_op_MergeBranchesByFastForward.go.snap index a0d8053d936..9a4218e663a 100644 --- a/service/codecommit/snapshot/api_op_MergeBranchesByFastForward.go.snap +++ b/service/codecommit/snapshot/api_op_MergeBranchesByFastForward.go.snap @@ -14,7 +14,6 @@ MergeBranchesByFastForward Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_MergeBranchesBySquash.go.snap b/service/codecommit/snapshot/api_op_MergeBranchesBySquash.go.snap index d4e0b8d40fc..c45a869146e 100644 --- a/service/codecommit/snapshot/api_op_MergeBranchesBySquash.go.snap +++ b/service/codecommit/snapshot/api_op_MergeBranchesBySquash.go.snap @@ -14,7 +14,6 @@ MergeBranchesBySquash Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_MergeBranchesByThreeWay.go.snap b/service/codecommit/snapshot/api_op_MergeBranchesByThreeWay.go.snap index b7cbe63b396..5615672a2a2 100644 --- a/service/codecommit/snapshot/api_op_MergeBranchesByThreeWay.go.snap +++ b/service/codecommit/snapshot/api_op_MergeBranchesByThreeWay.go.snap @@ -14,7 +14,6 @@ MergeBranchesByThreeWay Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_MergePullRequestByFastForward.go.snap b/service/codecommit/snapshot/api_op_MergePullRequestByFastForward.go.snap index 6288b25db9b..8db9366d151 100644 --- a/service/codecommit/snapshot/api_op_MergePullRequestByFastForward.go.snap +++ b/service/codecommit/snapshot/api_op_MergePullRequestByFastForward.go.snap @@ -14,7 +14,6 @@ MergePullRequestByFastForward Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_MergePullRequestBySquash.go.snap b/service/codecommit/snapshot/api_op_MergePullRequestBySquash.go.snap index 2e7769d6a05..431f1a5cb17 100644 --- a/service/codecommit/snapshot/api_op_MergePullRequestBySquash.go.snap +++ b/service/codecommit/snapshot/api_op_MergePullRequestBySquash.go.snap @@ -14,7 +14,6 @@ MergePullRequestBySquash Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_MergePullRequestByThreeWay.go.snap b/service/codecommit/snapshot/api_op_MergePullRequestByThreeWay.go.snap index c9002d53b8a..4a24a56783c 100644 --- a/service/codecommit/snapshot/api_op_MergePullRequestByThreeWay.go.snap +++ b/service/codecommit/snapshot/api_op_MergePullRequestByThreeWay.go.snap @@ -14,7 +14,6 @@ MergePullRequestByThreeWay Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_OverridePullRequestApprovalRules.go.snap b/service/codecommit/snapshot/api_op_OverridePullRequestApprovalRules.go.snap index c11b978c0ee..8e3a28488e1 100644 --- a/service/codecommit/snapshot/api_op_OverridePullRequestApprovalRules.go.snap +++ b/service/codecommit/snapshot/api_op_OverridePullRequestApprovalRules.go.snap @@ -14,7 +14,6 @@ OverridePullRequestApprovalRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_PostCommentForComparedCommit.go.snap b/service/codecommit/snapshot/api_op_PostCommentForComparedCommit.go.snap index 0e7ba7ab30c..6e8631d62e9 100644 --- a/service/codecommit/snapshot/api_op_PostCommentForComparedCommit.go.snap +++ b/service/codecommit/snapshot/api_op_PostCommentForComparedCommit.go.snap @@ -15,7 +15,6 @@ PostCommentForComparedCommit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_PostCommentForPullRequest.go.snap b/service/codecommit/snapshot/api_op_PostCommentForPullRequest.go.snap index fb7ddfac5c5..89fc56d174e 100644 --- a/service/codecommit/snapshot/api_op_PostCommentForPullRequest.go.snap +++ b/service/codecommit/snapshot/api_op_PostCommentForPullRequest.go.snap @@ -15,7 +15,6 @@ PostCommentForPullRequest Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_PostCommentReply.go.snap b/service/codecommit/snapshot/api_op_PostCommentReply.go.snap index aae2f917e39..3ec55c15552 100644 --- a/service/codecommit/snapshot/api_op_PostCommentReply.go.snap +++ b/service/codecommit/snapshot/api_op_PostCommentReply.go.snap @@ -15,7 +15,6 @@ PostCommentReply Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_PutCommentReaction.go.snap b/service/codecommit/snapshot/api_op_PutCommentReaction.go.snap index 8906076eadb..d41aecd6a58 100644 --- a/service/codecommit/snapshot/api_op_PutCommentReaction.go.snap +++ b/service/codecommit/snapshot/api_op_PutCommentReaction.go.snap @@ -14,7 +14,6 @@ PutCommentReaction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_PutFile.go.snap b/service/codecommit/snapshot/api_op_PutFile.go.snap index 198f33f527f..a926aaf493f 100644 --- a/service/codecommit/snapshot/api_op_PutFile.go.snap +++ b/service/codecommit/snapshot/api_op_PutFile.go.snap @@ -14,7 +14,6 @@ PutFile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_PutRepositoryTriggers.go.snap b/service/codecommit/snapshot/api_op_PutRepositoryTriggers.go.snap index ccdfcc50673..a9de7cf73d3 100644 --- a/service/codecommit/snapshot/api_op_PutRepositoryTriggers.go.snap +++ b/service/codecommit/snapshot/api_op_PutRepositoryTriggers.go.snap @@ -14,7 +14,6 @@ PutRepositoryTriggers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_TagResource.go.snap b/service/codecommit/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/codecommit/snapshot/api_op_TagResource.go.snap +++ b/service/codecommit/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_TestRepositoryTriggers.go.snap b/service/codecommit/snapshot/api_op_TestRepositoryTriggers.go.snap index 1f401dbd59e..811dd57b269 100644 --- a/service/codecommit/snapshot/api_op_TestRepositoryTriggers.go.snap +++ b/service/codecommit/snapshot/api_op_TestRepositoryTriggers.go.snap @@ -14,7 +14,6 @@ TestRepositoryTriggers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_UntagResource.go.snap b/service/codecommit/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/codecommit/snapshot/api_op_UntagResource.go.snap +++ b/service/codecommit/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_UpdateApprovalRuleTemplateContent.go.snap b/service/codecommit/snapshot/api_op_UpdateApprovalRuleTemplateContent.go.snap index eab6eac2594..0a81d3f5e85 100644 --- a/service/codecommit/snapshot/api_op_UpdateApprovalRuleTemplateContent.go.snap +++ b/service/codecommit/snapshot/api_op_UpdateApprovalRuleTemplateContent.go.snap @@ -14,7 +14,6 @@ UpdateApprovalRuleTemplateContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_UpdateApprovalRuleTemplateDescription.go.snap b/service/codecommit/snapshot/api_op_UpdateApprovalRuleTemplateDescription.go.snap index 8bc750a5c5f..215cf58f353 100644 --- a/service/codecommit/snapshot/api_op_UpdateApprovalRuleTemplateDescription.go.snap +++ b/service/codecommit/snapshot/api_op_UpdateApprovalRuleTemplateDescription.go.snap @@ -14,7 +14,6 @@ UpdateApprovalRuleTemplateDescription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_UpdateApprovalRuleTemplateName.go.snap b/service/codecommit/snapshot/api_op_UpdateApprovalRuleTemplateName.go.snap index 8cff14467f2..9c891979aa3 100644 --- a/service/codecommit/snapshot/api_op_UpdateApprovalRuleTemplateName.go.snap +++ b/service/codecommit/snapshot/api_op_UpdateApprovalRuleTemplateName.go.snap @@ -14,7 +14,6 @@ UpdateApprovalRuleTemplateName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_UpdateComment.go.snap b/service/codecommit/snapshot/api_op_UpdateComment.go.snap index 98d9610ce09..94d383506cf 100644 --- a/service/codecommit/snapshot/api_op_UpdateComment.go.snap +++ b/service/codecommit/snapshot/api_op_UpdateComment.go.snap @@ -14,7 +14,6 @@ UpdateComment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_UpdateDefaultBranch.go.snap b/service/codecommit/snapshot/api_op_UpdateDefaultBranch.go.snap index d702d715d5e..73767200bd3 100644 --- a/service/codecommit/snapshot/api_op_UpdateDefaultBranch.go.snap +++ b/service/codecommit/snapshot/api_op_UpdateDefaultBranch.go.snap @@ -14,7 +14,6 @@ UpdateDefaultBranch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_UpdatePullRequestApprovalRuleContent.go.snap b/service/codecommit/snapshot/api_op_UpdatePullRequestApprovalRuleContent.go.snap index cfe0315e65d..dad0ff4d227 100644 --- a/service/codecommit/snapshot/api_op_UpdatePullRequestApprovalRuleContent.go.snap +++ b/service/codecommit/snapshot/api_op_UpdatePullRequestApprovalRuleContent.go.snap @@ -14,7 +14,6 @@ UpdatePullRequestApprovalRuleContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_UpdatePullRequestApprovalState.go.snap b/service/codecommit/snapshot/api_op_UpdatePullRequestApprovalState.go.snap index 19c4b969d24..c09fc52eb13 100644 --- a/service/codecommit/snapshot/api_op_UpdatePullRequestApprovalState.go.snap +++ b/service/codecommit/snapshot/api_op_UpdatePullRequestApprovalState.go.snap @@ -14,7 +14,6 @@ UpdatePullRequestApprovalState Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_UpdatePullRequestDescription.go.snap b/service/codecommit/snapshot/api_op_UpdatePullRequestDescription.go.snap index c883e4ab6ef..0e11c7ad2f6 100644 --- a/service/codecommit/snapshot/api_op_UpdatePullRequestDescription.go.snap +++ b/service/codecommit/snapshot/api_op_UpdatePullRequestDescription.go.snap @@ -14,7 +14,6 @@ UpdatePullRequestDescription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_UpdatePullRequestStatus.go.snap b/service/codecommit/snapshot/api_op_UpdatePullRequestStatus.go.snap index 7d2752a7ed2..ecde9a319f1 100644 --- a/service/codecommit/snapshot/api_op_UpdatePullRequestStatus.go.snap +++ b/service/codecommit/snapshot/api_op_UpdatePullRequestStatus.go.snap @@ -14,7 +14,6 @@ UpdatePullRequestStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_UpdatePullRequestTitle.go.snap b/service/codecommit/snapshot/api_op_UpdatePullRequestTitle.go.snap index 1a34e8fd4de..6b9e8d68a3a 100644 --- a/service/codecommit/snapshot/api_op_UpdatePullRequestTitle.go.snap +++ b/service/codecommit/snapshot/api_op_UpdatePullRequestTitle.go.snap @@ -14,7 +14,6 @@ UpdatePullRequestTitle Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_UpdateRepositoryDescription.go.snap b/service/codecommit/snapshot/api_op_UpdateRepositoryDescription.go.snap index 697c77130cd..213c711056d 100644 --- a/service/codecommit/snapshot/api_op_UpdateRepositoryDescription.go.snap +++ b/service/codecommit/snapshot/api_op_UpdateRepositoryDescription.go.snap @@ -14,7 +14,6 @@ UpdateRepositoryDescription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_UpdateRepositoryEncryptionKey.go.snap b/service/codecommit/snapshot/api_op_UpdateRepositoryEncryptionKey.go.snap index f73cb7e9ced..2d210d16020 100644 --- a/service/codecommit/snapshot/api_op_UpdateRepositoryEncryptionKey.go.snap +++ b/service/codecommit/snapshot/api_op_UpdateRepositoryEncryptionKey.go.snap @@ -14,7 +14,6 @@ UpdateRepositoryEncryptionKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codecommit/snapshot/api_op_UpdateRepositoryName.go.snap b/service/codecommit/snapshot/api_op_UpdateRepositoryName.go.snap index 9b9d42ae184..7776861bd74 100644 --- a/service/codecommit/snapshot/api_op_UpdateRepositoryName.go.snap +++ b/service/codecommit/snapshot/api_op_UpdateRepositoryName.go.snap @@ -14,7 +14,6 @@ UpdateRepositoryName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeconnections/api_client.go b/service/codeconnections/api_client.go index 4877d53fbce..185e892a12b 100644 --- a/service/codeconnections/api_client.go +++ b/service/codeconnections/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/codeconnections/api_op_CreateConnection.go b/service/codeconnections/api_op_CreateConnection.go index dc73dc693bf..fc7368f3cc0 100644 --- a/service/codeconnections/api_op_CreateConnection.go +++ b/service/codeconnections/api_op_CreateConnection.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateConnectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeconnections/api_op_CreateHost.go b/service/codeconnections/api_op_CreateHost.go index 337bb900d53..39fe7750217 100644 --- a/service/codeconnections/api_op_CreateHost.go +++ b/service/codeconnections/api_op_CreateHost.go @@ -142,9 +142,6 @@ func (c *Client) addOperationCreateHostMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateHostValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeconnections/api_op_CreateRepositoryLink.go b/service/codeconnections/api_op_CreateRepositoryLink.go index f7fa12bc6b4..4dd51a8e131 100644 --- a/service/codeconnections/api_op_CreateRepositoryLink.go +++ b/service/codeconnections/api_op_CreateRepositoryLink.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCreateRepositoryLinkMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRepositoryLinkValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeconnections/api_op_CreateSyncConfiguration.go b/service/codeconnections/api_op_CreateSyncConfiguration.go index 1d521493ad2..62a9e3a659b 100644 --- a/service/codeconnections/api_op_CreateSyncConfiguration.go +++ b/service/codeconnections/api_op_CreateSyncConfiguration.go @@ -161,9 +161,6 @@ func (c *Client) addOperationCreateSyncConfigurationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSyncConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeconnections/api_op_DeleteConnection.go b/service/codeconnections/api_op_DeleteConnection.go index 89ed7aaf7e6..c2cff24a451 100644 --- a/service/codeconnections/api_op_DeleteConnection.go +++ b/service/codeconnections/api_op_DeleteConnection.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteConnectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeconnections/api_op_DeleteHost.go b/service/codeconnections/api_op_DeleteHost.go index fee48388d25..fbbd0401354 100644 --- a/service/codeconnections/api_op_DeleteHost.go +++ b/service/codeconnections/api_op_DeleteHost.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteHostMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteHostValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeconnections/api_op_DeleteRepositoryLink.go b/service/codeconnections/api_op_DeleteRepositoryLink.go index a90a4fa270c..5004ae5a05f 100644 --- a/service/codeconnections/api_op_DeleteRepositoryLink.go +++ b/service/codeconnections/api_op_DeleteRepositoryLink.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteRepositoryLinkMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRepositoryLinkValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeconnections/api_op_DeleteSyncConfiguration.go b/service/codeconnections/api_op_DeleteSyncConfiguration.go index 7b2b4418932..f740ecbd06e 100644 --- a/service/codeconnections/api_op_DeleteSyncConfiguration.go +++ b/service/codeconnections/api_op_DeleteSyncConfiguration.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteSyncConfigurationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSyncConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeconnections/api_op_GetConnection.go b/service/codeconnections/api_op_GetConnection.go index eee6054312b..6dbc45b6720 100644 --- a/service/codeconnections/api_op_GetConnection.go +++ b/service/codeconnections/api_op_GetConnection.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetConnectionMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeconnections/api_op_GetHost.go b/service/codeconnections/api_op_GetHost.go index 39499ef5d16..502222c959f 100644 --- a/service/codeconnections/api_op_GetHost.go +++ b/service/codeconnections/api_op_GetHost.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetHostMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetHostValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeconnections/api_op_GetRepositoryLink.go b/service/codeconnections/api_op_GetRepositoryLink.go index 68f0ee8fe08..a053ed4b574 100644 --- a/service/codeconnections/api_op_GetRepositoryLink.go +++ b/service/codeconnections/api_op_GetRepositoryLink.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetRepositoryLinkMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRepositoryLinkValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeconnections/api_op_GetRepositorySyncStatus.go b/service/codeconnections/api_op_GetRepositorySyncStatus.go index b65a56cda02..f6eebf0fdc7 100644 --- a/service/codeconnections/api_op_GetRepositorySyncStatus.go +++ b/service/codeconnections/api_op_GetRepositorySyncStatus.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetRepositorySyncStatusMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRepositorySyncStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeconnections/api_op_GetResourceSyncStatus.go b/service/codeconnections/api_op_GetResourceSyncStatus.go index 3dcef9bfbf8..6515327d7f5 100644 --- a/service/codeconnections/api_op_GetResourceSyncStatus.go +++ b/service/codeconnections/api_op_GetResourceSyncStatus.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGetResourceSyncStatusMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourceSyncStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeconnections/api_op_GetSyncBlockerSummary.go b/service/codeconnections/api_op_GetSyncBlockerSummary.go index bb10639e2c7..b42dcbe954d 100644 --- a/service/codeconnections/api_op_GetSyncBlockerSummary.go +++ b/service/codeconnections/api_op_GetSyncBlockerSummary.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetSyncBlockerSummaryMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSyncBlockerSummaryValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeconnections/api_op_GetSyncConfiguration.go b/service/codeconnections/api_op_GetSyncConfiguration.go index abf2d38561f..f28548bd606 100644 --- a/service/codeconnections/api_op_GetSyncConfiguration.go +++ b/service/codeconnections/api_op_GetSyncConfiguration.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetSyncConfigurationMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSyncConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeconnections/api_op_ListConnections.go b/service/codeconnections/api_op_ListConnections.go index 247f66fd7a8..e1d16a3950f 100644 --- a/service/codeconnections/api_op_ListConnections.go +++ b/service/codeconnections/api_op_ListConnections.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListConnectionsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConnections(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codeconnections/api_op_ListHosts.go b/service/codeconnections/api_op_ListHosts.go index 045434fb5cb..8722635df77 100644 --- a/service/codeconnections/api_op_ListHosts.go +++ b/service/codeconnections/api_op_ListHosts.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListHostsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHosts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codeconnections/api_op_ListRepositoryLinks.go b/service/codeconnections/api_op_ListRepositoryLinks.go index 8f4f9b34be9..b0bfdce660c 100644 --- a/service/codeconnections/api_op_ListRepositoryLinks.go +++ b/service/codeconnections/api_op_ListRepositoryLinks.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListRepositoryLinksMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRepositoryLinks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codeconnections/api_op_ListRepositorySyncDefinitions.go b/service/codeconnections/api_op_ListRepositorySyncDefinitions.go index c74d07a1591..4ec8046e5e9 100644 --- a/service/codeconnections/api_op_ListRepositorySyncDefinitions.go +++ b/service/codeconnections/api_op_ListRepositorySyncDefinitions.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListRepositorySyncDefinitionsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRepositorySyncDefinitionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeconnections/api_op_ListSyncConfigurations.go b/service/codeconnections/api_op_ListSyncConfigurations.go index 67d4be2eb4a..9b1b5caeec0 100644 --- a/service/codeconnections/api_op_ListSyncConfigurations.go +++ b/service/codeconnections/api_op_ListSyncConfigurations.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListSyncConfigurationsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSyncConfigurationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeconnections/api_op_ListTagsForResource.go b/service/codeconnections/api_op_ListTagsForResource.go index 9156d3d96d5..75b89f3d391 100644 --- a/service/codeconnections/api_op_ListTagsForResource.go +++ b/service/codeconnections/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeconnections/api_op_TagResource.go b/service/codeconnections/api_op_TagResource.go index e67cb943df3..d3a09d292c0 100644 --- a/service/codeconnections/api_op_TagResource.go +++ b/service/codeconnections/api_op_TagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeconnections/api_op_UntagResource.go b/service/codeconnections/api_op_UntagResource.go index 242c3fae83e..455bf5db0e6 100644 --- a/service/codeconnections/api_op_UntagResource.go +++ b/service/codeconnections/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeconnections/api_op_UpdateHost.go b/service/codeconnections/api_op_UpdateHost.go index d733668853e..11bbbd0ad45 100644 --- a/service/codeconnections/api_op_UpdateHost.go +++ b/service/codeconnections/api_op_UpdateHost.go @@ -116,9 +116,6 @@ func (c *Client) addOperationUpdateHostMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateHostValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeconnections/api_op_UpdateRepositoryLink.go b/service/codeconnections/api_op_UpdateRepositoryLink.go index 90172cf0194..22d5a1f21de 100644 --- a/service/codeconnections/api_op_UpdateRepositoryLink.go +++ b/service/codeconnections/api_op_UpdateRepositoryLink.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateRepositoryLinkMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRepositoryLinkValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeconnections/api_op_UpdateSyncBlocker.go b/service/codeconnections/api_op_UpdateSyncBlocker.go index f8da17d1574..fd2940d191d 100644 --- a/service/codeconnections/api_op_UpdateSyncBlocker.go +++ b/service/codeconnections/api_op_UpdateSyncBlocker.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateSyncBlockerMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSyncBlockerValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeconnections/api_op_UpdateSyncConfiguration.go b/service/codeconnections/api_op_UpdateSyncConfiguration.go index 1018e0d3f08..fb2e8d5c8c0 100644 --- a/service/codeconnections/api_op_UpdateSyncConfiguration.go +++ b/service/codeconnections/api_op_UpdateSyncConfiguration.go @@ -144,9 +144,6 @@ func (c *Client) addOperationUpdateSyncConfigurationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSyncConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeconnections/snapshot/api_op_CreateConnection.go.snap b/service/codeconnections/snapshot/api_op_CreateConnection.go.snap index 2925a097d86..744b4a055f4 100644 --- a/service/codeconnections/snapshot/api_op_CreateConnection.go.snap +++ b/service/codeconnections/snapshot/api_op_CreateConnection.go.snap @@ -14,7 +14,6 @@ CreateConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeconnections/snapshot/api_op_CreateHost.go.snap b/service/codeconnections/snapshot/api_op_CreateHost.go.snap index 259d801c2b7..5382e17ce9f 100644 --- a/service/codeconnections/snapshot/api_op_CreateHost.go.snap +++ b/service/codeconnections/snapshot/api_op_CreateHost.go.snap @@ -14,7 +14,6 @@ CreateHost Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeconnections/snapshot/api_op_CreateRepositoryLink.go.snap b/service/codeconnections/snapshot/api_op_CreateRepositoryLink.go.snap index 65347b8468c..adaf02df5e3 100644 --- a/service/codeconnections/snapshot/api_op_CreateRepositoryLink.go.snap +++ b/service/codeconnections/snapshot/api_op_CreateRepositoryLink.go.snap @@ -14,7 +14,6 @@ CreateRepositoryLink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeconnections/snapshot/api_op_CreateSyncConfiguration.go.snap b/service/codeconnections/snapshot/api_op_CreateSyncConfiguration.go.snap index b642392fd36..0fcfe847dba 100644 --- a/service/codeconnections/snapshot/api_op_CreateSyncConfiguration.go.snap +++ b/service/codeconnections/snapshot/api_op_CreateSyncConfiguration.go.snap @@ -14,7 +14,6 @@ CreateSyncConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeconnections/snapshot/api_op_DeleteConnection.go.snap b/service/codeconnections/snapshot/api_op_DeleteConnection.go.snap index 95b646dafd7..a9cca584913 100644 --- a/service/codeconnections/snapshot/api_op_DeleteConnection.go.snap +++ b/service/codeconnections/snapshot/api_op_DeleteConnection.go.snap @@ -14,7 +14,6 @@ DeleteConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeconnections/snapshot/api_op_DeleteHost.go.snap b/service/codeconnections/snapshot/api_op_DeleteHost.go.snap index d328dc479f1..a7c03fcdf3e 100644 --- a/service/codeconnections/snapshot/api_op_DeleteHost.go.snap +++ b/service/codeconnections/snapshot/api_op_DeleteHost.go.snap @@ -14,7 +14,6 @@ DeleteHost Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeconnections/snapshot/api_op_DeleteRepositoryLink.go.snap b/service/codeconnections/snapshot/api_op_DeleteRepositoryLink.go.snap index 81e3ff96a46..074285247cc 100644 --- a/service/codeconnections/snapshot/api_op_DeleteRepositoryLink.go.snap +++ b/service/codeconnections/snapshot/api_op_DeleteRepositoryLink.go.snap @@ -14,7 +14,6 @@ DeleteRepositoryLink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeconnections/snapshot/api_op_DeleteSyncConfiguration.go.snap b/service/codeconnections/snapshot/api_op_DeleteSyncConfiguration.go.snap index 1a81f953b22..9fcda5b4a18 100644 --- a/service/codeconnections/snapshot/api_op_DeleteSyncConfiguration.go.snap +++ b/service/codeconnections/snapshot/api_op_DeleteSyncConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteSyncConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeconnections/snapshot/api_op_GetConnection.go.snap b/service/codeconnections/snapshot/api_op_GetConnection.go.snap index b305d4ada6d..b6411ef260a 100644 --- a/service/codeconnections/snapshot/api_op_GetConnection.go.snap +++ b/service/codeconnections/snapshot/api_op_GetConnection.go.snap @@ -14,7 +14,6 @@ GetConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeconnections/snapshot/api_op_GetHost.go.snap b/service/codeconnections/snapshot/api_op_GetHost.go.snap index 88dc79ef028..5ec6b7a21e0 100644 --- a/service/codeconnections/snapshot/api_op_GetHost.go.snap +++ b/service/codeconnections/snapshot/api_op_GetHost.go.snap @@ -14,7 +14,6 @@ GetHost Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeconnections/snapshot/api_op_GetRepositoryLink.go.snap b/service/codeconnections/snapshot/api_op_GetRepositoryLink.go.snap index 1f48e63c255..98a4df4755f 100644 --- a/service/codeconnections/snapshot/api_op_GetRepositoryLink.go.snap +++ b/service/codeconnections/snapshot/api_op_GetRepositoryLink.go.snap @@ -14,7 +14,6 @@ GetRepositoryLink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeconnections/snapshot/api_op_GetRepositorySyncStatus.go.snap b/service/codeconnections/snapshot/api_op_GetRepositorySyncStatus.go.snap index c6e829428bc..7425cb26ebe 100644 --- a/service/codeconnections/snapshot/api_op_GetRepositorySyncStatus.go.snap +++ b/service/codeconnections/snapshot/api_op_GetRepositorySyncStatus.go.snap @@ -14,7 +14,6 @@ GetRepositorySyncStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeconnections/snapshot/api_op_GetResourceSyncStatus.go.snap b/service/codeconnections/snapshot/api_op_GetResourceSyncStatus.go.snap index bcf70d8de2b..451df50f87e 100644 --- a/service/codeconnections/snapshot/api_op_GetResourceSyncStatus.go.snap +++ b/service/codeconnections/snapshot/api_op_GetResourceSyncStatus.go.snap @@ -14,7 +14,6 @@ GetResourceSyncStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeconnections/snapshot/api_op_GetSyncBlockerSummary.go.snap b/service/codeconnections/snapshot/api_op_GetSyncBlockerSummary.go.snap index 4e3e072da7c..0848d84664e 100644 --- a/service/codeconnections/snapshot/api_op_GetSyncBlockerSummary.go.snap +++ b/service/codeconnections/snapshot/api_op_GetSyncBlockerSummary.go.snap @@ -14,7 +14,6 @@ GetSyncBlockerSummary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeconnections/snapshot/api_op_GetSyncConfiguration.go.snap b/service/codeconnections/snapshot/api_op_GetSyncConfiguration.go.snap index bc9fc1f2e9e..53275aa395b 100644 --- a/service/codeconnections/snapshot/api_op_GetSyncConfiguration.go.snap +++ b/service/codeconnections/snapshot/api_op_GetSyncConfiguration.go.snap @@ -14,7 +14,6 @@ GetSyncConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeconnections/snapshot/api_op_ListConnections.go.snap b/service/codeconnections/snapshot/api_op_ListConnections.go.snap index 6701dc960d7..3a6172bafc5 100644 --- a/service/codeconnections/snapshot/api_op_ListConnections.go.snap +++ b/service/codeconnections/snapshot/api_op_ListConnections.go.snap @@ -13,7 +13,6 @@ ListConnections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeconnections/snapshot/api_op_ListHosts.go.snap b/service/codeconnections/snapshot/api_op_ListHosts.go.snap index fd4cad53989..de29f38af25 100644 --- a/service/codeconnections/snapshot/api_op_ListHosts.go.snap +++ b/service/codeconnections/snapshot/api_op_ListHosts.go.snap @@ -13,7 +13,6 @@ ListHosts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeconnections/snapshot/api_op_ListRepositoryLinks.go.snap b/service/codeconnections/snapshot/api_op_ListRepositoryLinks.go.snap index 9e83e105927..1861e6769f9 100644 --- a/service/codeconnections/snapshot/api_op_ListRepositoryLinks.go.snap +++ b/service/codeconnections/snapshot/api_op_ListRepositoryLinks.go.snap @@ -13,7 +13,6 @@ ListRepositoryLinks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeconnections/snapshot/api_op_ListRepositorySyncDefinitions.go.snap b/service/codeconnections/snapshot/api_op_ListRepositorySyncDefinitions.go.snap index e4b70f12b93..54f91041c59 100644 --- a/service/codeconnections/snapshot/api_op_ListRepositorySyncDefinitions.go.snap +++ b/service/codeconnections/snapshot/api_op_ListRepositorySyncDefinitions.go.snap @@ -14,7 +14,6 @@ ListRepositorySyncDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeconnections/snapshot/api_op_ListSyncConfigurations.go.snap b/service/codeconnections/snapshot/api_op_ListSyncConfigurations.go.snap index 113a967b5dc..d27467be637 100644 --- a/service/codeconnections/snapshot/api_op_ListSyncConfigurations.go.snap +++ b/service/codeconnections/snapshot/api_op_ListSyncConfigurations.go.snap @@ -14,7 +14,6 @@ ListSyncConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeconnections/snapshot/api_op_ListTagsForResource.go.snap b/service/codeconnections/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/codeconnections/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/codeconnections/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeconnections/snapshot/api_op_TagResource.go.snap b/service/codeconnections/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/codeconnections/snapshot/api_op_TagResource.go.snap +++ b/service/codeconnections/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeconnections/snapshot/api_op_UntagResource.go.snap b/service/codeconnections/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/codeconnections/snapshot/api_op_UntagResource.go.snap +++ b/service/codeconnections/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeconnections/snapshot/api_op_UpdateHost.go.snap b/service/codeconnections/snapshot/api_op_UpdateHost.go.snap index 5489d510539..944ce5bc434 100644 --- a/service/codeconnections/snapshot/api_op_UpdateHost.go.snap +++ b/service/codeconnections/snapshot/api_op_UpdateHost.go.snap @@ -14,7 +14,6 @@ UpdateHost Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeconnections/snapshot/api_op_UpdateRepositoryLink.go.snap b/service/codeconnections/snapshot/api_op_UpdateRepositoryLink.go.snap index aa536a65024..316d67b3ed8 100644 --- a/service/codeconnections/snapshot/api_op_UpdateRepositoryLink.go.snap +++ b/service/codeconnections/snapshot/api_op_UpdateRepositoryLink.go.snap @@ -14,7 +14,6 @@ UpdateRepositoryLink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeconnections/snapshot/api_op_UpdateSyncBlocker.go.snap b/service/codeconnections/snapshot/api_op_UpdateSyncBlocker.go.snap index 0916b24c2ca..44b3a1ecca1 100644 --- a/service/codeconnections/snapshot/api_op_UpdateSyncBlocker.go.snap +++ b/service/codeconnections/snapshot/api_op_UpdateSyncBlocker.go.snap @@ -14,7 +14,6 @@ UpdateSyncBlocker Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeconnections/snapshot/api_op_UpdateSyncConfiguration.go.snap b/service/codeconnections/snapshot/api_op_UpdateSyncConfiguration.go.snap index 7189ce9d2f7..93f8fd6ec8f 100644 --- a/service/codeconnections/snapshot/api_op_UpdateSyncConfiguration.go.snap +++ b/service/codeconnections/snapshot/api_op_UpdateSyncConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateSyncConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/api_client.go b/service/codedeploy/api_client.go index e2ddcf6e790..83ed0391ed7 100644 --- a/service/codedeploy/api_client.go +++ b/service/codedeploy/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/codedeploy/api_op_AddTagsToOnPremisesInstances.go b/service/codedeploy/api_op_AddTagsToOnPremisesInstances.go index 74fd5ad2ec3..d037d0b1f15 100644 --- a/service/codedeploy/api_op_AddTagsToOnPremisesInstances.go +++ b/service/codedeploy/api_op_AddTagsToOnPremisesInstances.go @@ -117,9 +117,6 @@ func (c *Client) addOperationAddTagsToOnPremisesInstancesMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddTagsToOnPremisesInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_BatchGetApplicationRevisions.go b/service/codedeploy/api_op_BatchGetApplicationRevisions.go index 6b1c8f92aec..86b1c32f969 100644 --- a/service/codedeploy/api_op_BatchGetApplicationRevisions.go +++ b/service/codedeploy/api_op_BatchGetApplicationRevisions.go @@ -128,9 +128,6 @@ func (c *Client) addOperationBatchGetApplicationRevisionsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetApplicationRevisionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_BatchGetApplications.go b/service/codedeploy/api_op_BatchGetApplications.go index fe4e87e6d35..241301c43ca 100644 --- a/service/codedeploy/api_op_BatchGetApplications.go +++ b/service/codedeploy/api_op_BatchGetApplications.go @@ -116,9 +116,6 @@ func (c *Client) addOperationBatchGetApplicationsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetApplicationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_BatchGetDeploymentGroups.go b/service/codedeploy/api_op_BatchGetDeploymentGroups.go index d6e64609c79..68badabb333 100644 --- a/service/codedeploy/api_op_BatchGetDeploymentGroups.go +++ b/service/codedeploy/api_op_BatchGetDeploymentGroups.go @@ -123,9 +123,6 @@ func (c *Client) addOperationBatchGetDeploymentGroupsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetDeploymentGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_BatchGetDeploymentInstances.go b/service/codedeploy/api_op_BatchGetDeploymentInstances.go index 1ada68ad5ae..ea61e57f025 100644 --- a/service/codedeploy/api_op_BatchGetDeploymentInstances.go +++ b/service/codedeploy/api_op_BatchGetDeploymentInstances.go @@ -130,9 +130,6 @@ func (c *Client) addOperationBatchGetDeploymentInstancesMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetDeploymentInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_BatchGetDeploymentTargets.go b/service/codedeploy/api_op_BatchGetDeploymentTargets.go index 45fbfe23a0d..0eab6916f13 100644 --- a/service/codedeploy/api_op_BatchGetDeploymentTargets.go +++ b/service/codedeploy/api_op_BatchGetDeploymentTargets.go @@ -161,9 +161,6 @@ func (c *Client) addOperationBatchGetDeploymentTargetsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetDeploymentTargetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_BatchGetDeployments.go b/service/codedeploy/api_op_BatchGetDeployments.go index 9f091ed5462..e0a2dde4feb 100644 --- a/service/codedeploy/api_op_BatchGetDeployments.go +++ b/service/codedeploy/api_op_BatchGetDeployments.go @@ -116,9 +116,6 @@ func (c *Client) addOperationBatchGetDeploymentsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetDeploymentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_BatchGetOnPremisesInstances.go b/service/codedeploy/api_op_BatchGetOnPremisesInstances.go index b02cd7890bc..584007794b1 100644 --- a/service/codedeploy/api_op_BatchGetOnPremisesInstances.go +++ b/service/codedeploy/api_op_BatchGetOnPremisesInstances.go @@ -116,9 +116,6 @@ func (c *Client) addOperationBatchGetOnPremisesInstancesMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetOnPremisesInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_ContinueDeployment.go b/service/codedeploy/api_op_ContinueDeployment.go index 1ae589ae34a..bfae51bf59d 100644 --- a/service/codedeploy/api_op_ContinueDeployment.go +++ b/service/codedeploy/api_op_ContinueDeployment.go @@ -117,9 +117,6 @@ func (c *Client) addOperationContinueDeploymentMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opContinueDeployment(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codedeploy/api_op_CreateApplication.go b/service/codedeploy/api_op_CreateApplication.go index 23aee1e67cc..246d2aca229 100644 --- a/service/codedeploy/api_op_CreateApplication.go +++ b/service/codedeploy/api_op_CreateApplication.go @@ -123,9 +123,6 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_CreateDeployment.go b/service/codedeploy/api_op_CreateDeployment.go index 9fdc10c2e8b..dab2ab2722b 100644 --- a/service/codedeploy/api_op_CreateDeployment.go +++ b/service/codedeploy/api_op_CreateDeployment.go @@ -199,9 +199,6 @@ func (c *Client) addOperationCreateDeploymentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_CreateDeploymentConfig.go b/service/codedeploy/api_op_CreateDeploymentConfig.go index 626a04f26e2..bea77eb45e3 100644 --- a/service/codedeploy/api_op_CreateDeploymentConfig.go +++ b/service/codedeploy/api_op_CreateDeploymentConfig.go @@ -151,9 +151,6 @@ func (c *Client) addOperationCreateDeploymentConfigMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDeploymentConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_CreateDeploymentGroup.go b/service/codedeploy/api_op_CreateDeploymentGroup.go index 40cefb80d42..c041d83bf61 100644 --- a/service/codedeploy/api_op_CreateDeploymentGroup.go +++ b/service/codedeploy/api_op_CreateDeploymentGroup.go @@ -228,9 +228,6 @@ func (c *Client) addOperationCreateDeploymentGroupMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDeploymentGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_DeleteApplication.go b/service/codedeploy/api_op_DeleteApplication.go index f9df9b58a03..62dfb1498f4 100644 --- a/service/codedeploy/api_op_DeleteApplication.go +++ b/service/codedeploy/api_op_DeleteApplication.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_DeleteDeploymentConfig.go b/service/codedeploy/api_op_DeleteDeploymentConfig.go index dad79f26314..e19ddab94ef 100644 --- a/service/codedeploy/api_op_DeleteDeploymentConfig.go +++ b/service/codedeploy/api_op_DeleteDeploymentConfig.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteDeploymentConfigMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDeploymentConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_DeleteDeploymentGroup.go b/service/codedeploy/api_op_DeleteDeploymentGroup.go index 19077b63851..b55b9821b6e 100644 --- a/service/codedeploy/api_op_DeleteDeploymentGroup.go +++ b/service/codedeploy/api_op_DeleteDeploymentGroup.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDeleteDeploymentGroupMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDeploymentGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_DeleteGitHubAccountToken.go b/service/codedeploy/api_op_DeleteGitHubAccountToken.go index 6c6910ec4d7..ea96f78b0a5 100644 --- a/service/codedeploy/api_op_DeleteGitHubAccountToken.go +++ b/service/codedeploy/api_op_DeleteGitHubAccountToken.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteGitHubAccountTokenMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGitHubAccountToken(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codedeploy/api_op_DeleteResourcesByExternalId.go b/service/codedeploy/api_op_DeleteResourcesByExternalId.go index 49d8b8111e8..28d7fe1f1ad 100644 --- a/service/codedeploy/api_op_DeleteResourcesByExternalId.go +++ b/service/codedeploy/api_op_DeleteResourcesByExternalId.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteResourcesByExternalIdMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourcesByExternalId(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codedeploy/api_op_DeregisterOnPremisesInstance.go b/service/codedeploy/api_op_DeregisterOnPremisesInstance.go index 41e51250e86..092747f39f8 100644 --- a/service/codedeploy/api_op_DeregisterOnPremisesInstance.go +++ b/service/codedeploy/api_op_DeregisterOnPremisesInstance.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeregisterOnPremisesInstanceMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterOnPremisesInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_GetApplication.go b/service/codedeploy/api_op_GetApplication.go index dfc92384e89..22f6ba8a4e4 100644 --- a/service/codedeploy/api_op_GetApplication.go +++ b/service/codedeploy/api_op_GetApplication.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetApplicationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_GetApplicationRevision.go b/service/codedeploy/api_op_GetApplicationRevision.go index ebb0bc99b7f..fcf94cf3d5c 100644 --- a/service/codedeploy/api_op_GetApplicationRevision.go +++ b/service/codedeploy/api_op_GetApplicationRevision.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetApplicationRevisionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApplicationRevisionValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_GetDeployment.go b/service/codedeploy/api_op_GetDeployment.go index 36908f4555e..2e912cd6bd0 100644 --- a/service/codedeploy/api_op_GetDeployment.go +++ b/service/codedeploy/api_op_GetDeployment.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetDeploymentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_GetDeploymentConfig.go b/service/codedeploy/api_op_GetDeploymentConfig.go index c697c7cef83..ae055497910 100644 --- a/service/codedeploy/api_op_GetDeploymentConfig.go +++ b/service/codedeploy/api_op_GetDeploymentConfig.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetDeploymentConfigMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeploymentConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_GetDeploymentGroup.go b/service/codedeploy/api_op_GetDeploymentGroup.go index 6ef57e8ac95..8a1b618cc7e 100644 --- a/service/codedeploy/api_op_GetDeploymentGroup.go +++ b/service/codedeploy/api_op_GetDeploymentGroup.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetDeploymentGroupMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeploymentGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_GetDeploymentInstance.go b/service/codedeploy/api_op_GetDeploymentInstance.go index 50605d145b3..70ad6c8b992 100644 --- a/service/codedeploy/api_op_GetDeploymentInstance.go +++ b/service/codedeploy/api_op_GetDeploymentInstance.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetDeploymentInstanceMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeploymentInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_GetDeploymentTarget.go b/service/codedeploy/api_op_GetDeploymentTarget.go index aec9316d78f..5a956894154 100644 --- a/service/codedeploy/api_op_GetDeploymentTarget.go +++ b/service/codedeploy/api_op_GetDeploymentTarget.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetDeploymentTargetMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeploymentTargetValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_GetOnPremisesInstance.go b/service/codedeploy/api_op_GetOnPremisesInstance.go index 862a9a7b154..41b028e7f95 100644 --- a/service/codedeploy/api_op_GetOnPremisesInstance.go +++ b/service/codedeploy/api_op_GetOnPremisesInstance.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetOnPremisesInstanceMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetOnPremisesInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_ListApplicationRevisions.go b/service/codedeploy/api_op_ListApplicationRevisions.go index 3513af8c3d8..83d3d2df482 100644 --- a/service/codedeploy/api_op_ListApplicationRevisions.go +++ b/service/codedeploy/api_op_ListApplicationRevisions.go @@ -169,9 +169,6 @@ func (c *Client) addOperationListApplicationRevisionsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListApplicationRevisionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_ListApplications.go b/service/codedeploy/api_op_ListApplications.go index 1cd477a7089..d28b00328d8 100644 --- a/service/codedeploy/api_op_ListApplications.go +++ b/service/codedeploy/api_op_ListApplications.go @@ -117,9 +117,6 @@ func (c *Client) addOperationListApplicationsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplications(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codedeploy/api_op_ListDeploymentConfigs.go b/service/codedeploy/api_op_ListDeploymentConfigs.go index 3e924f14439..969ab46b0c5 100644 --- a/service/codedeploy/api_op_ListDeploymentConfigs.go +++ b/service/codedeploy/api_op_ListDeploymentConfigs.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListDeploymentConfigsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeploymentConfigs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codedeploy/api_op_ListDeploymentGroups.go b/service/codedeploy/api_op_ListDeploymentGroups.go index 45f2fd82b8e..410c509b667 100644 --- a/service/codedeploy/api_op_ListDeploymentGroups.go +++ b/service/codedeploy/api_op_ListDeploymentGroups.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListDeploymentGroupsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDeploymentGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_ListDeploymentInstances.go b/service/codedeploy/api_op_ListDeploymentInstances.go index 7b4add601de..e51b1af61a3 100644 --- a/service/codedeploy/api_op_ListDeploymentInstances.go +++ b/service/codedeploy/api_op_ListDeploymentInstances.go @@ -151,9 +151,6 @@ func (c *Client) addOperationListDeploymentInstancesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDeploymentInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_ListDeploymentTargets.go b/service/codedeploy/api_op_ListDeploymentTargets.go index bbe81860659..2b9938d215e 100644 --- a/service/codedeploy/api_op_ListDeploymentTargets.go +++ b/service/codedeploy/api_op_ListDeploymentTargets.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListDeploymentTargetsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDeploymentTargetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_ListDeployments.go b/service/codedeploy/api_op_ListDeployments.go index f550a02fcfd..911927c86c9 100644 --- a/service/codedeploy/api_op_ListDeployments.go +++ b/service/codedeploy/api_op_ListDeployments.go @@ -154,9 +154,6 @@ func (c *Client) addOperationListDeploymentsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeployments(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codedeploy/api_op_ListGitHubAccountTokenNames.go b/service/codedeploy/api_op_ListGitHubAccountTokenNames.go index ddb54ca45c4..eaf164473c6 100644 --- a/service/codedeploy/api_op_ListGitHubAccountTokenNames.go +++ b/service/codedeploy/api_op_ListGitHubAccountTokenNames.go @@ -117,9 +117,6 @@ func (c *Client) addOperationListGitHubAccountTokenNamesMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGitHubAccountTokenNames(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codedeploy/api_op_ListOnPremisesInstances.go b/service/codedeploy/api_op_ListOnPremisesInstances.go index d10b2974d26..8e9357c75ff 100644 --- a/service/codedeploy/api_op_ListOnPremisesInstances.go +++ b/service/codedeploy/api_op_ListOnPremisesInstances.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListOnPremisesInstancesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOnPremisesInstances(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codedeploy/api_op_ListTagsForResource.go b/service/codedeploy/api_op_ListTagsForResource.go index 57ff46bf9ba..b179486146e 100644 --- a/service/codedeploy/api_op_ListTagsForResource.go +++ b/service/codedeploy/api_op_ListTagsForResource.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_PutLifecycleEventHookExecutionStatus.go b/service/codedeploy/api_op_PutLifecycleEventHookExecutionStatus.go index d6401b9d00e..67919a216dc 100644 --- a/service/codedeploy/api_op_PutLifecycleEventHookExecutionStatus.go +++ b/service/codedeploy/api_op_PutLifecycleEventHookExecutionStatus.go @@ -132,9 +132,6 @@ func (c *Client) addOperationPutLifecycleEventHookExecutionStatusMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutLifecycleEventHookExecutionStatus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codedeploy/api_op_RegisterApplicationRevision.go b/service/codedeploy/api_op_RegisterApplicationRevision.go index e7065749338..bdd654e480b 100644 --- a/service/codedeploy/api_op_RegisterApplicationRevision.go +++ b/service/codedeploy/api_op_RegisterApplicationRevision.go @@ -119,9 +119,6 @@ func (c *Client) addOperationRegisterApplicationRevisionMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterApplicationRevisionValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_RegisterOnPremisesInstance.go b/service/codedeploy/api_op_RegisterOnPremisesInstance.go index 41ff6566869..dd522fb189c 100644 --- a/service/codedeploy/api_op_RegisterOnPremisesInstance.go +++ b/service/codedeploy/api_op_RegisterOnPremisesInstance.go @@ -117,9 +117,6 @@ func (c *Client) addOperationRegisterOnPremisesInstanceMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterOnPremisesInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_RemoveTagsFromOnPremisesInstances.go b/service/codedeploy/api_op_RemoveTagsFromOnPremisesInstances.go index c31f5a0913f..3648bcd9eee 100644 --- a/service/codedeploy/api_op_RemoveTagsFromOnPremisesInstances.go +++ b/service/codedeploy/api_op_RemoveTagsFromOnPremisesInstances.go @@ -114,9 +114,6 @@ func (c *Client) addOperationRemoveTagsFromOnPremisesInstancesMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveTagsFromOnPremisesInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_SkipWaitTimeForInstanceTermination.go b/service/codedeploy/api_op_SkipWaitTimeForInstanceTermination.go index 70ff42cf1cd..9240201c6b9 100644 --- a/service/codedeploy/api_op_SkipWaitTimeForInstanceTermination.go +++ b/service/codedeploy/api_op_SkipWaitTimeForInstanceTermination.go @@ -110,9 +110,6 @@ func (c *Client) addOperationSkipWaitTimeForInstanceTerminationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSkipWaitTimeForInstanceTermination(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codedeploy/api_op_StopDeployment.go b/service/codedeploy/api_op_StopDeployment.go index f7ea0dacedf..bab147cdc57 100644 --- a/service/codedeploy/api_op_StopDeployment.go +++ b/service/codedeploy/api_op_StopDeployment.go @@ -126,9 +126,6 @@ func (c *Client) addOperationStopDeploymentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_TagResource.go b/service/codedeploy/api_op_TagResource.go index 312887468aa..02a0dc20b72 100644 --- a/service/codedeploy/api_op_TagResource.go +++ b/service/codedeploy/api_op_TagResource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_UntagResource.go b/service/codedeploy/api_op_UntagResource.go index 4e097ba9c63..1f18f5c2026 100644 --- a/service/codedeploy/api_op_UntagResource.go +++ b/service/codedeploy/api_op_UntagResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/api_op_UpdateApplication.go b/service/codedeploy/api_op_UpdateApplication.go index 5c5395916d6..5e71cecb856 100644 --- a/service/codedeploy/api_op_UpdateApplication.go +++ b/service/codedeploy/api_op_UpdateApplication.go @@ -109,9 +109,6 @@ func (c *Client) addOperationUpdateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApplication(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codedeploy/api_op_UpdateDeploymentGroup.go b/service/codedeploy/api_op_UpdateDeploymentGroup.go index 6498b578291..ec1e6008afe 100644 --- a/service/codedeploy/api_op_UpdateDeploymentGroup.go +++ b/service/codedeploy/api_op_UpdateDeploymentGroup.go @@ -224,9 +224,6 @@ func (c *Client) addOperationUpdateDeploymentGroupMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDeploymentGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/codedeploy/snapshot/api_op_AddTagsToOnPremisesInstances.go.snap b/service/codedeploy/snapshot/api_op_AddTagsToOnPremisesInstances.go.snap index accd3842fd4..6edfe7801db 100644 --- a/service/codedeploy/snapshot/api_op_AddTagsToOnPremisesInstances.go.snap +++ b/service/codedeploy/snapshot/api_op_AddTagsToOnPremisesInstances.go.snap @@ -14,7 +14,6 @@ AddTagsToOnPremisesInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_BatchGetApplicationRevisions.go.snap b/service/codedeploy/snapshot/api_op_BatchGetApplicationRevisions.go.snap index 5f4fb3d6428..c543c69abda 100644 --- a/service/codedeploy/snapshot/api_op_BatchGetApplicationRevisions.go.snap +++ b/service/codedeploy/snapshot/api_op_BatchGetApplicationRevisions.go.snap @@ -14,7 +14,6 @@ BatchGetApplicationRevisions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_BatchGetApplications.go.snap b/service/codedeploy/snapshot/api_op_BatchGetApplications.go.snap index 0534cf87302..5dd764ec757 100644 --- a/service/codedeploy/snapshot/api_op_BatchGetApplications.go.snap +++ b/service/codedeploy/snapshot/api_op_BatchGetApplications.go.snap @@ -14,7 +14,6 @@ BatchGetApplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_BatchGetDeploymentGroups.go.snap b/service/codedeploy/snapshot/api_op_BatchGetDeploymentGroups.go.snap index 998131050ae..22adf5eb632 100644 --- a/service/codedeploy/snapshot/api_op_BatchGetDeploymentGroups.go.snap +++ b/service/codedeploy/snapshot/api_op_BatchGetDeploymentGroups.go.snap @@ -14,7 +14,6 @@ BatchGetDeploymentGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_BatchGetDeploymentInstances.go.snap b/service/codedeploy/snapshot/api_op_BatchGetDeploymentInstances.go.snap index cb311dee9cf..67b8c8e1f0c 100644 --- a/service/codedeploy/snapshot/api_op_BatchGetDeploymentInstances.go.snap +++ b/service/codedeploy/snapshot/api_op_BatchGetDeploymentInstances.go.snap @@ -14,7 +14,6 @@ BatchGetDeploymentInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_BatchGetDeploymentTargets.go.snap b/service/codedeploy/snapshot/api_op_BatchGetDeploymentTargets.go.snap index 337032842e6..2632509c535 100644 --- a/service/codedeploy/snapshot/api_op_BatchGetDeploymentTargets.go.snap +++ b/service/codedeploy/snapshot/api_op_BatchGetDeploymentTargets.go.snap @@ -14,7 +14,6 @@ BatchGetDeploymentTargets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_BatchGetDeployments.go.snap b/service/codedeploy/snapshot/api_op_BatchGetDeployments.go.snap index fc26aae2c88..5f892f44784 100644 --- a/service/codedeploy/snapshot/api_op_BatchGetDeployments.go.snap +++ b/service/codedeploy/snapshot/api_op_BatchGetDeployments.go.snap @@ -14,7 +14,6 @@ BatchGetDeployments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_BatchGetOnPremisesInstances.go.snap b/service/codedeploy/snapshot/api_op_BatchGetOnPremisesInstances.go.snap index db97cb06f93..f74cce734e3 100644 --- a/service/codedeploy/snapshot/api_op_BatchGetOnPremisesInstances.go.snap +++ b/service/codedeploy/snapshot/api_op_BatchGetOnPremisesInstances.go.snap @@ -14,7 +14,6 @@ BatchGetOnPremisesInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_ContinueDeployment.go.snap b/service/codedeploy/snapshot/api_op_ContinueDeployment.go.snap index 60c1c02aba9..17a61f90c07 100644 --- a/service/codedeploy/snapshot/api_op_ContinueDeployment.go.snap +++ b/service/codedeploy/snapshot/api_op_ContinueDeployment.go.snap @@ -13,7 +13,6 @@ ContinueDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_CreateApplication.go.snap b/service/codedeploy/snapshot/api_op_CreateApplication.go.snap index 503ca240c75..7174d11f956 100644 --- a/service/codedeploy/snapshot/api_op_CreateApplication.go.snap +++ b/service/codedeploy/snapshot/api_op_CreateApplication.go.snap @@ -14,7 +14,6 @@ CreateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_CreateDeployment.go.snap b/service/codedeploy/snapshot/api_op_CreateDeployment.go.snap index 6a95eb66d05..3334cbaf46f 100644 --- a/service/codedeploy/snapshot/api_op_CreateDeployment.go.snap +++ b/service/codedeploy/snapshot/api_op_CreateDeployment.go.snap @@ -14,7 +14,6 @@ CreateDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_CreateDeploymentConfig.go.snap b/service/codedeploy/snapshot/api_op_CreateDeploymentConfig.go.snap index 03c8bfb89a3..25ea77c4464 100644 --- a/service/codedeploy/snapshot/api_op_CreateDeploymentConfig.go.snap +++ b/service/codedeploy/snapshot/api_op_CreateDeploymentConfig.go.snap @@ -14,7 +14,6 @@ CreateDeploymentConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_CreateDeploymentGroup.go.snap b/service/codedeploy/snapshot/api_op_CreateDeploymentGroup.go.snap index b8297f59f88..fceb06d4b5e 100644 --- a/service/codedeploy/snapshot/api_op_CreateDeploymentGroup.go.snap +++ b/service/codedeploy/snapshot/api_op_CreateDeploymentGroup.go.snap @@ -14,7 +14,6 @@ CreateDeploymentGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_DeleteApplication.go.snap b/service/codedeploy/snapshot/api_op_DeleteApplication.go.snap index 80790355ed5..ffda37a527f 100644 --- a/service/codedeploy/snapshot/api_op_DeleteApplication.go.snap +++ b/service/codedeploy/snapshot/api_op_DeleteApplication.go.snap @@ -14,7 +14,6 @@ DeleteApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_DeleteDeploymentConfig.go.snap b/service/codedeploy/snapshot/api_op_DeleteDeploymentConfig.go.snap index e963d5873d6..24ad5b77ae5 100644 --- a/service/codedeploy/snapshot/api_op_DeleteDeploymentConfig.go.snap +++ b/service/codedeploy/snapshot/api_op_DeleteDeploymentConfig.go.snap @@ -14,7 +14,6 @@ DeleteDeploymentConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_DeleteDeploymentGroup.go.snap b/service/codedeploy/snapshot/api_op_DeleteDeploymentGroup.go.snap index 733ac36810d..658c3e38734 100644 --- a/service/codedeploy/snapshot/api_op_DeleteDeploymentGroup.go.snap +++ b/service/codedeploy/snapshot/api_op_DeleteDeploymentGroup.go.snap @@ -14,7 +14,6 @@ DeleteDeploymentGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_DeleteGitHubAccountToken.go.snap b/service/codedeploy/snapshot/api_op_DeleteGitHubAccountToken.go.snap index 58babe93f16..5031756276c 100644 --- a/service/codedeploy/snapshot/api_op_DeleteGitHubAccountToken.go.snap +++ b/service/codedeploy/snapshot/api_op_DeleteGitHubAccountToken.go.snap @@ -13,7 +13,6 @@ DeleteGitHubAccountToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_DeleteResourcesByExternalId.go.snap b/service/codedeploy/snapshot/api_op_DeleteResourcesByExternalId.go.snap index 85e0140d7d3..06f8d2890a1 100644 --- a/service/codedeploy/snapshot/api_op_DeleteResourcesByExternalId.go.snap +++ b/service/codedeploy/snapshot/api_op_DeleteResourcesByExternalId.go.snap @@ -13,7 +13,6 @@ DeleteResourcesByExternalId Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_DeregisterOnPremisesInstance.go.snap b/service/codedeploy/snapshot/api_op_DeregisterOnPremisesInstance.go.snap index abae774ba09..c310e74c9ff 100644 --- a/service/codedeploy/snapshot/api_op_DeregisterOnPremisesInstance.go.snap +++ b/service/codedeploy/snapshot/api_op_DeregisterOnPremisesInstance.go.snap @@ -14,7 +14,6 @@ DeregisterOnPremisesInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_GetApplication.go.snap b/service/codedeploy/snapshot/api_op_GetApplication.go.snap index 3307f56eb00..ffc8b0228f7 100644 --- a/service/codedeploy/snapshot/api_op_GetApplication.go.snap +++ b/service/codedeploy/snapshot/api_op_GetApplication.go.snap @@ -14,7 +14,6 @@ GetApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_GetApplicationRevision.go.snap b/service/codedeploy/snapshot/api_op_GetApplicationRevision.go.snap index 40744c274b0..1c0c5e9b416 100644 --- a/service/codedeploy/snapshot/api_op_GetApplicationRevision.go.snap +++ b/service/codedeploy/snapshot/api_op_GetApplicationRevision.go.snap @@ -14,7 +14,6 @@ GetApplicationRevision Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_GetDeployment.go.snap b/service/codedeploy/snapshot/api_op_GetDeployment.go.snap index 65b4d552af7..7f1504a336c 100644 --- a/service/codedeploy/snapshot/api_op_GetDeployment.go.snap +++ b/service/codedeploy/snapshot/api_op_GetDeployment.go.snap @@ -14,7 +14,6 @@ GetDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_GetDeploymentConfig.go.snap b/service/codedeploy/snapshot/api_op_GetDeploymentConfig.go.snap index 11b424b4ae4..d043906644d 100644 --- a/service/codedeploy/snapshot/api_op_GetDeploymentConfig.go.snap +++ b/service/codedeploy/snapshot/api_op_GetDeploymentConfig.go.snap @@ -14,7 +14,6 @@ GetDeploymentConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_GetDeploymentGroup.go.snap b/service/codedeploy/snapshot/api_op_GetDeploymentGroup.go.snap index 344f8637e06..ab1fc4b0be6 100644 --- a/service/codedeploy/snapshot/api_op_GetDeploymentGroup.go.snap +++ b/service/codedeploy/snapshot/api_op_GetDeploymentGroup.go.snap @@ -14,7 +14,6 @@ GetDeploymentGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_GetDeploymentInstance.go.snap b/service/codedeploy/snapshot/api_op_GetDeploymentInstance.go.snap index d7773b459ba..26e2ca7dc3e 100644 --- a/service/codedeploy/snapshot/api_op_GetDeploymentInstance.go.snap +++ b/service/codedeploy/snapshot/api_op_GetDeploymentInstance.go.snap @@ -14,7 +14,6 @@ GetDeploymentInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_GetDeploymentTarget.go.snap b/service/codedeploy/snapshot/api_op_GetDeploymentTarget.go.snap index 7e520186693..a88950bcb7e 100644 --- a/service/codedeploy/snapshot/api_op_GetDeploymentTarget.go.snap +++ b/service/codedeploy/snapshot/api_op_GetDeploymentTarget.go.snap @@ -14,7 +14,6 @@ GetDeploymentTarget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_GetOnPremisesInstance.go.snap b/service/codedeploy/snapshot/api_op_GetOnPremisesInstance.go.snap index 0831ae586b7..06778102ac5 100644 --- a/service/codedeploy/snapshot/api_op_GetOnPremisesInstance.go.snap +++ b/service/codedeploy/snapshot/api_op_GetOnPremisesInstance.go.snap @@ -14,7 +14,6 @@ GetOnPremisesInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_ListApplicationRevisions.go.snap b/service/codedeploy/snapshot/api_op_ListApplicationRevisions.go.snap index 16db2b8f194..009708b77ce 100644 --- a/service/codedeploy/snapshot/api_op_ListApplicationRevisions.go.snap +++ b/service/codedeploy/snapshot/api_op_ListApplicationRevisions.go.snap @@ -14,7 +14,6 @@ ListApplicationRevisions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_ListApplications.go.snap b/service/codedeploy/snapshot/api_op_ListApplications.go.snap index e18746bd34f..6029195b8e8 100644 --- a/service/codedeploy/snapshot/api_op_ListApplications.go.snap +++ b/service/codedeploy/snapshot/api_op_ListApplications.go.snap @@ -13,7 +13,6 @@ ListApplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_ListDeploymentConfigs.go.snap b/service/codedeploy/snapshot/api_op_ListDeploymentConfigs.go.snap index 486a214bc67..ba738ba3b8c 100644 --- a/service/codedeploy/snapshot/api_op_ListDeploymentConfigs.go.snap +++ b/service/codedeploy/snapshot/api_op_ListDeploymentConfigs.go.snap @@ -13,7 +13,6 @@ ListDeploymentConfigs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_ListDeploymentGroups.go.snap b/service/codedeploy/snapshot/api_op_ListDeploymentGroups.go.snap index d486a42de63..191097a2cee 100644 --- a/service/codedeploy/snapshot/api_op_ListDeploymentGroups.go.snap +++ b/service/codedeploy/snapshot/api_op_ListDeploymentGroups.go.snap @@ -14,7 +14,6 @@ ListDeploymentGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_ListDeploymentInstances.go.snap b/service/codedeploy/snapshot/api_op_ListDeploymentInstances.go.snap index f8cbf8aec29..b7aeb3ef437 100644 --- a/service/codedeploy/snapshot/api_op_ListDeploymentInstances.go.snap +++ b/service/codedeploy/snapshot/api_op_ListDeploymentInstances.go.snap @@ -14,7 +14,6 @@ ListDeploymentInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_ListDeploymentTargets.go.snap b/service/codedeploy/snapshot/api_op_ListDeploymentTargets.go.snap index 54cd4d890d4..c98393d189d 100644 --- a/service/codedeploy/snapshot/api_op_ListDeploymentTargets.go.snap +++ b/service/codedeploy/snapshot/api_op_ListDeploymentTargets.go.snap @@ -14,7 +14,6 @@ ListDeploymentTargets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_ListDeployments.go.snap b/service/codedeploy/snapshot/api_op_ListDeployments.go.snap index 87731027850..ac65f925362 100644 --- a/service/codedeploy/snapshot/api_op_ListDeployments.go.snap +++ b/service/codedeploy/snapshot/api_op_ListDeployments.go.snap @@ -13,7 +13,6 @@ ListDeployments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_ListGitHubAccountTokenNames.go.snap b/service/codedeploy/snapshot/api_op_ListGitHubAccountTokenNames.go.snap index 16a846cce3b..24afc3955f9 100644 --- a/service/codedeploy/snapshot/api_op_ListGitHubAccountTokenNames.go.snap +++ b/service/codedeploy/snapshot/api_op_ListGitHubAccountTokenNames.go.snap @@ -13,7 +13,6 @@ ListGitHubAccountTokenNames Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_ListOnPremisesInstances.go.snap b/service/codedeploy/snapshot/api_op_ListOnPremisesInstances.go.snap index 28369248035..4d6fcd6b7f5 100644 --- a/service/codedeploy/snapshot/api_op_ListOnPremisesInstances.go.snap +++ b/service/codedeploy/snapshot/api_op_ListOnPremisesInstances.go.snap @@ -13,7 +13,6 @@ ListOnPremisesInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_ListTagsForResource.go.snap b/service/codedeploy/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/codedeploy/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/codedeploy/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_PutLifecycleEventHookExecutionStatus.go.snap b/service/codedeploy/snapshot/api_op_PutLifecycleEventHookExecutionStatus.go.snap index 553890f909e..a6f7a73dcab 100644 --- a/service/codedeploy/snapshot/api_op_PutLifecycleEventHookExecutionStatus.go.snap +++ b/service/codedeploy/snapshot/api_op_PutLifecycleEventHookExecutionStatus.go.snap @@ -13,7 +13,6 @@ PutLifecycleEventHookExecutionStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_RegisterApplicationRevision.go.snap b/service/codedeploy/snapshot/api_op_RegisterApplicationRevision.go.snap index 17129cb25d1..bb485befba2 100644 --- a/service/codedeploy/snapshot/api_op_RegisterApplicationRevision.go.snap +++ b/service/codedeploy/snapshot/api_op_RegisterApplicationRevision.go.snap @@ -14,7 +14,6 @@ RegisterApplicationRevision Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_RegisterOnPremisesInstance.go.snap b/service/codedeploy/snapshot/api_op_RegisterOnPremisesInstance.go.snap index 5a7d24f68bb..099e27c6d44 100644 --- a/service/codedeploy/snapshot/api_op_RegisterOnPremisesInstance.go.snap +++ b/service/codedeploy/snapshot/api_op_RegisterOnPremisesInstance.go.snap @@ -14,7 +14,6 @@ RegisterOnPremisesInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_RemoveTagsFromOnPremisesInstances.go.snap b/service/codedeploy/snapshot/api_op_RemoveTagsFromOnPremisesInstances.go.snap index de2758d6619..508c39c6a29 100644 --- a/service/codedeploy/snapshot/api_op_RemoveTagsFromOnPremisesInstances.go.snap +++ b/service/codedeploy/snapshot/api_op_RemoveTagsFromOnPremisesInstances.go.snap @@ -14,7 +14,6 @@ RemoveTagsFromOnPremisesInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_SkipWaitTimeForInstanceTermination.go.snap b/service/codedeploy/snapshot/api_op_SkipWaitTimeForInstanceTermination.go.snap index 4f9401a001f..3acca2c7f80 100644 --- a/service/codedeploy/snapshot/api_op_SkipWaitTimeForInstanceTermination.go.snap +++ b/service/codedeploy/snapshot/api_op_SkipWaitTimeForInstanceTermination.go.snap @@ -13,7 +13,6 @@ SkipWaitTimeForInstanceTermination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_StopDeployment.go.snap b/service/codedeploy/snapshot/api_op_StopDeployment.go.snap index b7b339dc83d..9f760afd513 100644 --- a/service/codedeploy/snapshot/api_op_StopDeployment.go.snap +++ b/service/codedeploy/snapshot/api_op_StopDeployment.go.snap @@ -14,7 +14,6 @@ StopDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_TagResource.go.snap b/service/codedeploy/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/codedeploy/snapshot/api_op_TagResource.go.snap +++ b/service/codedeploy/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_UntagResource.go.snap b/service/codedeploy/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/codedeploy/snapshot/api_op_UntagResource.go.snap +++ b/service/codedeploy/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_UpdateApplication.go.snap b/service/codedeploy/snapshot/api_op_UpdateApplication.go.snap index ca0eb42da07..7069f330cc3 100644 --- a/service/codedeploy/snapshot/api_op_UpdateApplication.go.snap +++ b/service/codedeploy/snapshot/api_op_UpdateApplication.go.snap @@ -13,7 +13,6 @@ UpdateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codedeploy/snapshot/api_op_UpdateDeploymentGroup.go.snap b/service/codedeploy/snapshot/api_op_UpdateDeploymentGroup.go.snap index dc988dbd668..d5f55b14f50 100644 --- a/service/codedeploy/snapshot/api_op_UpdateDeploymentGroup.go.snap +++ b/service/codedeploy/snapshot/api_op_UpdateDeploymentGroup.go.snap @@ -14,7 +14,6 @@ UpdateDeploymentGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeguruprofiler/api_client.go b/service/codeguruprofiler/api_client.go index ed9d30adf7e..1771d465270 100644 --- a/service/codeguruprofiler/api_client.go +++ b/service/codeguruprofiler/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/codeguruprofiler/api_op_AddNotificationChannels.go b/service/codeguruprofiler/api_op_AddNotificationChannels.go index cc279198a28..4f8973e77c6 100644 --- a/service/codeguruprofiler/api_op_AddNotificationChannels.go +++ b/service/codeguruprofiler/api_op_AddNotificationChannels.go @@ -119,9 +119,6 @@ func (c *Client) addOperationAddNotificationChannelsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddNotificationChannelsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_BatchGetFrameMetricData.go b/service/codeguruprofiler/api_op_BatchGetFrameMetricData.go index 8970565f787..0fa867a5109 100644 --- a/service/codeguruprofiler/api_op_BatchGetFrameMetricData.go +++ b/service/codeguruprofiler/api_op_BatchGetFrameMetricData.go @@ -197,9 +197,6 @@ func (c *Client) addOperationBatchGetFrameMetricDataMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetFrameMetricDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_ConfigureAgent.go b/service/codeguruprofiler/api_op_ConfigureAgent.go index eca90c59ae9..697c3ac0973 100644 --- a/service/codeguruprofiler/api_op_ConfigureAgent.go +++ b/service/codeguruprofiler/api_op_ConfigureAgent.go @@ -155,9 +155,6 @@ func (c *Client) addOperationConfigureAgentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpConfigureAgentValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_CreateProfilingGroup.go b/service/codeguruprofiler/api_op_CreateProfilingGroup.go index c05f2ee82ca..f49a9fbfd84 100644 --- a/service/codeguruprofiler/api_op_CreateProfilingGroup.go +++ b/service/codeguruprofiler/api_op_CreateProfilingGroup.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateProfilingGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateProfilingGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_DeleteProfilingGroup.go b/service/codeguruprofiler/api_op_DeleteProfilingGroup.go index fc90431d461..03108f8f1a1 100644 --- a/service/codeguruprofiler/api_op_DeleteProfilingGroup.go +++ b/service/codeguruprofiler/api_op_DeleteProfilingGroup.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteProfilingGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProfilingGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_DescribeProfilingGroup.go b/service/codeguruprofiler/api_op_DescribeProfilingGroup.go index fd5a39a7d40..6c7ad6ea8e9 100644 --- a/service/codeguruprofiler/api_op_DescribeProfilingGroup.go +++ b/service/codeguruprofiler/api_op_DescribeProfilingGroup.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeProfilingGroupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeProfilingGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_GetFindingsReportAccountSummary.go b/service/codeguruprofiler/api_op_GetFindingsReportAccountSummary.go index 7417c3419ab..e89109fcd5e 100644 --- a/service/codeguruprofiler/api_op_GetFindingsReportAccountSummary.go +++ b/service/codeguruprofiler/api_op_GetFindingsReportAccountSummary.go @@ -147,9 +147,6 @@ func (c *Client) addOperationGetFindingsReportAccountSummaryMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFindingsReportAccountSummary(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_GetNotificationConfiguration.go b/service/codeguruprofiler/api_op_GetNotificationConfiguration.go index 4b0d7363156..b5092f4d08d 100644 --- a/service/codeguruprofiler/api_op_GetNotificationConfiguration.go +++ b/service/codeguruprofiler/api_op_GetNotificationConfiguration.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetNotificationConfigurationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetNotificationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_GetPolicy.go b/service/codeguruprofiler/api_op_GetPolicy.go index 3d551586989..41f9d8dab54 100644 --- a/service/codeguruprofiler/api_op_GetPolicy.go +++ b/service/codeguruprofiler/api_op_GetPolicy.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetPolicyMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_GetProfile.go b/service/codeguruprofiler/api_op_GetProfile.go index 459a3582003..786401b4a4b 100644 --- a/service/codeguruprofiler/api_op_GetProfile.go +++ b/service/codeguruprofiler/api_op_GetProfile.go @@ -215,9 +215,6 @@ func (c *Client) addOperationGetProfileMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_GetRecommendations.go b/service/codeguruprofiler/api_op_GetRecommendations.go index cc5efcfb50f..bd85110ac18 100644 --- a/service/codeguruprofiler/api_op_GetRecommendations.go +++ b/service/codeguruprofiler/api_op_GetRecommendations.go @@ -191,9 +191,6 @@ func (c *Client) addOperationGetRecommendationsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRecommendationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_ListFindingsReports.go b/service/codeguruprofiler/api_op_ListFindingsReports.go index 85e2678968f..570edc711a4 100644 --- a/service/codeguruprofiler/api_op_ListFindingsReports.go +++ b/service/codeguruprofiler/api_op_ListFindingsReports.go @@ -161,9 +161,6 @@ func (c *Client) addOperationListFindingsReportsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFindingsReportsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_ListProfileTimes.go b/service/codeguruprofiler/api_op_ListProfileTimes.go index fe02a1c6f22..07c0de05de1 100644 --- a/service/codeguruprofiler/api_op_ListProfileTimes.go +++ b/service/codeguruprofiler/api_op_ListProfileTimes.go @@ -168,9 +168,6 @@ func (c *Client) addOperationListProfileTimesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListProfileTimesValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_ListProfilingGroups.go b/service/codeguruprofiler/api_op_ListProfilingGroups.go index 69123e728dd..97c2885d3d4 100644 --- a/service/codeguruprofiler/api_op_ListProfilingGroups.go +++ b/service/codeguruprofiler/api_op_ListProfilingGroups.go @@ -156,9 +156,6 @@ func (c *Client) addOperationListProfilingGroupsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProfilingGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_ListTagsForResource.go b/service/codeguruprofiler/api_op_ListTagsForResource.go index 9db2ea4cf5f..a9e128ed02a 100644 --- a/service/codeguruprofiler/api_op_ListTagsForResource.go +++ b/service/codeguruprofiler/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_PostAgentProfile.go b/service/codeguruprofiler/api_op_PostAgentProfile.go index 2357a1fbf5b..ca072ea6a9a 100644 --- a/service/codeguruprofiler/api_op_PostAgentProfile.go +++ b/service/codeguruprofiler/api_op_PostAgentProfile.go @@ -138,9 +138,6 @@ func (c *Client) addOperationPostAgentProfileMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opPostAgentProfileMiddleware(stack, options); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_PutPermission.go b/service/codeguruprofiler/api_op_PutPermission.go index 924d05b0128..47df68ffec6 100644 --- a/service/codeguruprofiler/api_op_PutPermission.go +++ b/service/codeguruprofiler/api_op_PutPermission.go @@ -163,9 +163,6 @@ func (c *Client) addOperationPutPermissionMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutPermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_RemoveNotificationChannel.go b/service/codeguruprofiler/api_op_RemoveNotificationChannel.go index 64a02e1de8d..c429bc3d107 100644 --- a/service/codeguruprofiler/api_op_RemoveNotificationChannel.go +++ b/service/codeguruprofiler/api_op_RemoveNotificationChannel.go @@ -120,9 +120,6 @@ func (c *Client) addOperationRemoveNotificationChannelMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveNotificationChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_RemovePermission.go b/service/codeguruprofiler/api_op_RemovePermission.go index 72588643359..a03393d29e3 100644 --- a/service/codeguruprofiler/api_op_RemovePermission.go +++ b/service/codeguruprofiler/api_op_RemovePermission.go @@ -147,9 +147,6 @@ func (c *Client) addOperationRemovePermissionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemovePermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_SubmitFeedback.go b/service/codeguruprofiler/api_op_SubmitFeedback.go index 7d0fcaba68f..733c46f7a78 100644 --- a/service/codeguruprofiler/api_op_SubmitFeedback.go +++ b/service/codeguruprofiler/api_op_SubmitFeedback.go @@ -127,9 +127,6 @@ func (c *Client) addOperationSubmitFeedbackMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSubmitFeedbackValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_TagResource.go b/service/codeguruprofiler/api_op_TagResource.go index cbb40c99475..746914b7f27 100644 --- a/service/codeguruprofiler/api_op_TagResource.go +++ b/service/codeguruprofiler/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_UntagResource.go b/service/codeguruprofiler/api_op_UntagResource.go index e3f64839d67..7bed2190c41 100644 --- a/service/codeguruprofiler/api_op_UntagResource.go +++ b/service/codeguruprofiler/api_op_UntagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/api_op_UpdateProfilingGroup.go b/service/codeguruprofiler/api_op_UpdateProfilingGroup.go index 6d363130b5b..7d046a6e90c 100644 --- a/service/codeguruprofiler/api_op_UpdateProfilingGroup.go +++ b/service/codeguruprofiler/api_op_UpdateProfilingGroup.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateProfilingGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateProfilingGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/codeguruprofiler/snapshot/api_op_AddNotificationChannels.go.snap b/service/codeguruprofiler/snapshot/api_op_AddNotificationChannels.go.snap index b99e303cf9e..8afca5f6740 100644 --- a/service/codeguruprofiler/snapshot/api_op_AddNotificationChannels.go.snap +++ b/service/codeguruprofiler/snapshot/api_op_AddNotificationChannels.go.snap @@ -14,7 +14,6 @@ AddNotificationChannels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeguruprofiler/snapshot/api_op_BatchGetFrameMetricData.go.snap b/service/codeguruprofiler/snapshot/api_op_BatchGetFrameMetricData.go.snap index 4a1e5cbc503..800709eeebb 100644 --- a/service/codeguruprofiler/snapshot/api_op_BatchGetFrameMetricData.go.snap +++ b/service/codeguruprofiler/snapshot/api_op_BatchGetFrameMetricData.go.snap @@ -14,7 +14,6 @@ BatchGetFrameMetricData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeguruprofiler/snapshot/api_op_ConfigureAgent.go.snap b/service/codeguruprofiler/snapshot/api_op_ConfigureAgent.go.snap index 7fba4d87eda..0b4e841aaf0 100644 --- a/service/codeguruprofiler/snapshot/api_op_ConfigureAgent.go.snap +++ b/service/codeguruprofiler/snapshot/api_op_ConfigureAgent.go.snap @@ -14,7 +14,6 @@ ConfigureAgent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeguruprofiler/snapshot/api_op_CreateProfilingGroup.go.snap b/service/codeguruprofiler/snapshot/api_op_CreateProfilingGroup.go.snap index 7678f0093cd..78240ec3b55 100644 --- a/service/codeguruprofiler/snapshot/api_op_CreateProfilingGroup.go.snap +++ b/service/codeguruprofiler/snapshot/api_op_CreateProfilingGroup.go.snap @@ -15,7 +15,6 @@ CreateProfilingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeguruprofiler/snapshot/api_op_DeleteProfilingGroup.go.snap b/service/codeguruprofiler/snapshot/api_op_DeleteProfilingGroup.go.snap index ca0e0c7a692..ef8e3b536a8 100644 --- a/service/codeguruprofiler/snapshot/api_op_DeleteProfilingGroup.go.snap +++ b/service/codeguruprofiler/snapshot/api_op_DeleteProfilingGroup.go.snap @@ -14,7 +14,6 @@ DeleteProfilingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeguruprofiler/snapshot/api_op_DescribeProfilingGroup.go.snap b/service/codeguruprofiler/snapshot/api_op_DescribeProfilingGroup.go.snap index c781d1b185f..def9669d6e0 100644 --- a/service/codeguruprofiler/snapshot/api_op_DescribeProfilingGroup.go.snap +++ b/service/codeguruprofiler/snapshot/api_op_DescribeProfilingGroup.go.snap @@ -14,7 +14,6 @@ DescribeProfilingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeguruprofiler/snapshot/api_op_GetFindingsReportAccountSummary.go.snap b/service/codeguruprofiler/snapshot/api_op_GetFindingsReportAccountSummary.go.snap index 2d93c71b81a..f0d3a917c1c 100644 --- a/service/codeguruprofiler/snapshot/api_op_GetFindingsReportAccountSummary.go.snap +++ b/service/codeguruprofiler/snapshot/api_op_GetFindingsReportAccountSummary.go.snap @@ -13,7 +13,6 @@ GetFindingsReportAccountSummary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeguruprofiler/snapshot/api_op_GetNotificationConfiguration.go.snap b/service/codeguruprofiler/snapshot/api_op_GetNotificationConfiguration.go.snap index f0ee2563469..6fa135347e5 100644 --- a/service/codeguruprofiler/snapshot/api_op_GetNotificationConfiguration.go.snap +++ b/service/codeguruprofiler/snapshot/api_op_GetNotificationConfiguration.go.snap @@ -14,7 +14,6 @@ GetNotificationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeguruprofiler/snapshot/api_op_GetPolicy.go.snap b/service/codeguruprofiler/snapshot/api_op_GetPolicy.go.snap index dc1a8d53693..1a5ac50a868 100644 --- a/service/codeguruprofiler/snapshot/api_op_GetPolicy.go.snap +++ b/service/codeguruprofiler/snapshot/api_op_GetPolicy.go.snap @@ -14,7 +14,6 @@ GetPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeguruprofiler/snapshot/api_op_GetProfile.go.snap b/service/codeguruprofiler/snapshot/api_op_GetProfile.go.snap index b0b71d50a56..67bf1a1e445 100644 --- a/service/codeguruprofiler/snapshot/api_op_GetProfile.go.snap +++ b/service/codeguruprofiler/snapshot/api_op_GetProfile.go.snap @@ -14,7 +14,6 @@ GetProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeguruprofiler/snapshot/api_op_GetRecommendations.go.snap b/service/codeguruprofiler/snapshot/api_op_GetRecommendations.go.snap index b679aae6ed3..1a6f7a66b36 100644 --- a/service/codeguruprofiler/snapshot/api_op_GetRecommendations.go.snap +++ b/service/codeguruprofiler/snapshot/api_op_GetRecommendations.go.snap @@ -14,7 +14,6 @@ GetRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeguruprofiler/snapshot/api_op_ListFindingsReports.go.snap b/service/codeguruprofiler/snapshot/api_op_ListFindingsReports.go.snap index 8101b11013b..9df736eb40b 100644 --- a/service/codeguruprofiler/snapshot/api_op_ListFindingsReports.go.snap +++ b/service/codeguruprofiler/snapshot/api_op_ListFindingsReports.go.snap @@ -14,7 +14,6 @@ ListFindingsReports Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeguruprofiler/snapshot/api_op_ListProfileTimes.go.snap b/service/codeguruprofiler/snapshot/api_op_ListProfileTimes.go.snap index 54f475cff79..b2e93535073 100644 --- a/service/codeguruprofiler/snapshot/api_op_ListProfileTimes.go.snap +++ b/service/codeguruprofiler/snapshot/api_op_ListProfileTimes.go.snap @@ -14,7 +14,6 @@ ListProfileTimes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeguruprofiler/snapshot/api_op_ListProfilingGroups.go.snap b/service/codeguruprofiler/snapshot/api_op_ListProfilingGroups.go.snap index 23a9a719dc9..63be48bbe1f 100644 --- a/service/codeguruprofiler/snapshot/api_op_ListProfilingGroups.go.snap +++ b/service/codeguruprofiler/snapshot/api_op_ListProfilingGroups.go.snap @@ -13,7 +13,6 @@ ListProfilingGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeguruprofiler/snapshot/api_op_ListTagsForResource.go.snap b/service/codeguruprofiler/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/codeguruprofiler/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/codeguruprofiler/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeguruprofiler/snapshot/api_op_PostAgentProfile.go.snap b/service/codeguruprofiler/snapshot/api_op_PostAgentProfile.go.snap index 1e15f592756..b39456d31ba 100644 --- a/service/codeguruprofiler/snapshot/api_op_PostAgentProfile.go.snap +++ b/service/codeguruprofiler/snapshot/api_op_PostAgentProfile.go.snap @@ -15,7 +15,6 @@ PostAgentProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeguruprofiler/snapshot/api_op_PutPermission.go.snap b/service/codeguruprofiler/snapshot/api_op_PutPermission.go.snap index c4ec5e323b3..f32dd9f502e 100644 --- a/service/codeguruprofiler/snapshot/api_op_PutPermission.go.snap +++ b/service/codeguruprofiler/snapshot/api_op_PutPermission.go.snap @@ -14,7 +14,6 @@ PutPermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeguruprofiler/snapshot/api_op_RemoveNotificationChannel.go.snap b/service/codeguruprofiler/snapshot/api_op_RemoveNotificationChannel.go.snap index 174137252d5..020d9de9dd7 100644 --- a/service/codeguruprofiler/snapshot/api_op_RemoveNotificationChannel.go.snap +++ b/service/codeguruprofiler/snapshot/api_op_RemoveNotificationChannel.go.snap @@ -14,7 +14,6 @@ RemoveNotificationChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeguruprofiler/snapshot/api_op_RemovePermission.go.snap b/service/codeguruprofiler/snapshot/api_op_RemovePermission.go.snap index 65d7c5c329f..d2d8964fdb1 100644 --- a/service/codeguruprofiler/snapshot/api_op_RemovePermission.go.snap +++ b/service/codeguruprofiler/snapshot/api_op_RemovePermission.go.snap @@ -14,7 +14,6 @@ RemovePermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeguruprofiler/snapshot/api_op_SubmitFeedback.go.snap b/service/codeguruprofiler/snapshot/api_op_SubmitFeedback.go.snap index c8ba8a1cd2f..4df005d4525 100644 --- a/service/codeguruprofiler/snapshot/api_op_SubmitFeedback.go.snap +++ b/service/codeguruprofiler/snapshot/api_op_SubmitFeedback.go.snap @@ -14,7 +14,6 @@ SubmitFeedback Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeguruprofiler/snapshot/api_op_TagResource.go.snap b/service/codeguruprofiler/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/codeguruprofiler/snapshot/api_op_TagResource.go.snap +++ b/service/codeguruprofiler/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeguruprofiler/snapshot/api_op_UntagResource.go.snap b/service/codeguruprofiler/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/codeguruprofiler/snapshot/api_op_UntagResource.go.snap +++ b/service/codeguruprofiler/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codeguruprofiler/snapshot/api_op_UpdateProfilingGroup.go.snap b/service/codeguruprofiler/snapshot/api_op_UpdateProfilingGroup.go.snap index ff16a1d09ac..c987ac700af 100644 --- a/service/codeguruprofiler/snapshot/api_op_UpdateProfilingGroup.go.snap +++ b/service/codeguruprofiler/snapshot/api_op_UpdateProfilingGroup.go.snap @@ -14,7 +14,6 @@ UpdateProfilingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codegurureviewer/api_client.go b/service/codegurureviewer/api_client.go index fdab7a3c30e..5d2a5a0fe39 100644 --- a/service/codegurureviewer/api_client.go +++ b/service/codegurureviewer/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/codegurureviewer/api_op_AssociateRepository.go b/service/codegurureviewer/api_op_AssociateRepository.go index f9791fc10e3..22512548b09 100644 --- a/service/codegurureviewer/api_op_AssociateRepository.go +++ b/service/codegurureviewer/api_op_AssociateRepository.go @@ -170,9 +170,6 @@ func (c *Client) addOperationAssociateRepositoryMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opAssociateRepositoryMiddleware(stack, options); err != nil { return err } diff --git a/service/codegurureviewer/api_op_CreateCodeReview.go b/service/codegurureviewer/api_op_CreateCodeReview.go index d082cd79326..fcb649b11b0 100644 --- a/service/codegurureviewer/api_op_CreateCodeReview.go +++ b/service/codegurureviewer/api_op_CreateCodeReview.go @@ -142,9 +142,6 @@ func (c *Client) addOperationCreateCodeReviewMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateCodeReviewMiddleware(stack, options); err != nil { return err } diff --git a/service/codegurureviewer/api_op_DescribeCodeReview.go b/service/codegurureviewer/api_op_DescribeCodeReview.go index ae387db5eb4..4a2c9ebbe0d 100644 --- a/service/codegurureviewer/api_op_DescribeCodeReview.go +++ b/service/codegurureviewer/api_op_DescribeCodeReview.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDescribeCodeReviewMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCodeReviewValidationMiddleware(stack); err != nil { return err } diff --git a/service/codegurureviewer/api_op_DescribeRecommendationFeedback.go b/service/codegurureviewer/api_op_DescribeRecommendationFeedback.go index 19107227db2..039f007e11f 100644 --- a/service/codegurureviewer/api_op_DescribeRecommendationFeedback.go +++ b/service/codegurureviewer/api_op_DescribeRecommendationFeedback.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeRecommendationFeedbackMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRecommendationFeedbackValidationMiddleware(stack); err != nil { return err } diff --git a/service/codegurureviewer/api_op_DescribeRepositoryAssociation.go b/service/codegurureviewer/api_op_DescribeRepositoryAssociation.go index f51ca3a6c46..a261ae2c1c0 100644 --- a/service/codegurureviewer/api_op_DescribeRepositoryAssociation.go +++ b/service/codegurureviewer/api_op_DescribeRepositoryAssociation.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeRepositoryAssociationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRepositoryAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/codegurureviewer/api_op_DisassociateRepository.go b/service/codegurureviewer/api_op_DisassociateRepository.go index 1f632d45e6d..ff008695f75 100644 --- a/service/codegurureviewer/api_op_DisassociateRepository.go +++ b/service/codegurureviewer/api_op_DisassociateRepository.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDisassociateRepositoryMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateRepositoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/codegurureviewer/api_op_ListCodeReviews.go b/service/codegurureviewer/api_op_ListCodeReviews.go index 00f6fa01179..6a1a285d3cd 100644 --- a/service/codegurureviewer/api_op_ListCodeReviews.go +++ b/service/codegurureviewer/api_op_ListCodeReviews.go @@ -146,9 +146,6 @@ func (c *Client) addOperationListCodeReviewsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCodeReviewsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codegurureviewer/api_op_ListRecommendationFeedback.go b/service/codegurureviewer/api_op_ListRecommendationFeedback.go index fa905822917..31c28f5109d 100644 --- a/service/codegurureviewer/api_op_ListRecommendationFeedback.go +++ b/service/codegurureviewer/api_op_ListRecommendationFeedback.go @@ -145,9 +145,6 @@ func (c *Client) addOperationListRecommendationFeedbackMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRecommendationFeedbackValidationMiddleware(stack); err != nil { return err } diff --git a/service/codegurureviewer/api_op_ListRecommendations.go b/service/codegurureviewer/api_op_ListRecommendations.go index 19bd6ef1454..4f7c49b7e8d 100644 --- a/service/codegurureviewer/api_op_ListRecommendations.go +++ b/service/codegurureviewer/api_op_ListRecommendations.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListRecommendationsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRecommendationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codegurureviewer/api_op_ListRepositoryAssociations.go b/service/codegurureviewer/api_op_ListRepositoryAssociations.go index b99482a71cc..22df15c21ea 100644 --- a/service/codegurureviewer/api_op_ListRepositoryAssociations.go +++ b/service/codegurureviewer/api_op_ListRepositoryAssociations.go @@ -184,9 +184,6 @@ func (c *Client) addOperationListRepositoryAssociationsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRepositoryAssociations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codegurureviewer/api_op_ListTagsForResource.go b/service/codegurureviewer/api_op_ListTagsForResource.go index a649eb51783..2edc222f7a4 100644 --- a/service/codegurureviewer/api_op_ListTagsForResource.go +++ b/service/codegurureviewer/api_op_ListTagsForResource.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codegurureviewer/api_op_PutRecommendationFeedback.go b/service/codegurureviewer/api_op_PutRecommendationFeedback.go index 16e2af215c9..27560c89e6d 100644 --- a/service/codegurureviewer/api_op_PutRecommendationFeedback.go +++ b/service/codegurureviewer/api_op_PutRecommendationFeedback.go @@ -123,9 +123,6 @@ func (c *Client) addOperationPutRecommendationFeedbackMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutRecommendationFeedbackValidationMiddleware(stack); err != nil { return err } diff --git a/service/codegurureviewer/api_op_TagResource.go b/service/codegurureviewer/api_op_TagResource.go index 6d8c3c0aa03..1b3a605084a 100644 --- a/service/codegurureviewer/api_op_TagResource.go +++ b/service/codegurureviewer/api_op_TagResource.go @@ -124,9 +124,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codegurureviewer/api_op_UntagResource.go b/service/codegurureviewer/api_op_UntagResource.go index c7e36dfd1f3..b58bd3a3601 100644 --- a/service/codegurureviewer/api_op_UntagResource.go +++ b/service/codegurureviewer/api_op_UntagResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codegurureviewer/snapshot/api_op_AssociateRepository.go.snap b/service/codegurureviewer/snapshot/api_op_AssociateRepository.go.snap index a05193e9515..757ab49fe67 100644 --- a/service/codegurureviewer/snapshot/api_op_AssociateRepository.go.snap +++ b/service/codegurureviewer/snapshot/api_op_AssociateRepository.go.snap @@ -15,7 +15,6 @@ AssociateRepository Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codegurureviewer/snapshot/api_op_CreateCodeReview.go.snap b/service/codegurureviewer/snapshot/api_op_CreateCodeReview.go.snap index d608c535d25..0e668f7e856 100644 --- a/service/codegurureviewer/snapshot/api_op_CreateCodeReview.go.snap +++ b/service/codegurureviewer/snapshot/api_op_CreateCodeReview.go.snap @@ -15,7 +15,6 @@ CreateCodeReview Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codegurureviewer/snapshot/api_op_DescribeCodeReview.go.snap b/service/codegurureviewer/snapshot/api_op_DescribeCodeReview.go.snap index 0c7df03133d..9583d33ab3c 100644 --- a/service/codegurureviewer/snapshot/api_op_DescribeCodeReview.go.snap +++ b/service/codegurureviewer/snapshot/api_op_DescribeCodeReview.go.snap @@ -14,7 +14,6 @@ DescribeCodeReview Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codegurureviewer/snapshot/api_op_DescribeRecommendationFeedback.go.snap b/service/codegurureviewer/snapshot/api_op_DescribeRecommendationFeedback.go.snap index 8b5cd72f418..8886748d177 100644 --- a/service/codegurureviewer/snapshot/api_op_DescribeRecommendationFeedback.go.snap +++ b/service/codegurureviewer/snapshot/api_op_DescribeRecommendationFeedback.go.snap @@ -14,7 +14,6 @@ DescribeRecommendationFeedback Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codegurureviewer/snapshot/api_op_DescribeRepositoryAssociation.go.snap b/service/codegurureviewer/snapshot/api_op_DescribeRepositoryAssociation.go.snap index 7cd59908b89..713cfb59847 100644 --- a/service/codegurureviewer/snapshot/api_op_DescribeRepositoryAssociation.go.snap +++ b/service/codegurureviewer/snapshot/api_op_DescribeRepositoryAssociation.go.snap @@ -14,7 +14,6 @@ DescribeRepositoryAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codegurureviewer/snapshot/api_op_DisassociateRepository.go.snap b/service/codegurureviewer/snapshot/api_op_DisassociateRepository.go.snap index afb3bb9a332..f06d1bca935 100644 --- a/service/codegurureviewer/snapshot/api_op_DisassociateRepository.go.snap +++ b/service/codegurureviewer/snapshot/api_op_DisassociateRepository.go.snap @@ -14,7 +14,6 @@ DisassociateRepository Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codegurureviewer/snapshot/api_op_ListCodeReviews.go.snap b/service/codegurureviewer/snapshot/api_op_ListCodeReviews.go.snap index a2c22766da5..a7b9973f13f 100644 --- a/service/codegurureviewer/snapshot/api_op_ListCodeReviews.go.snap +++ b/service/codegurureviewer/snapshot/api_op_ListCodeReviews.go.snap @@ -14,7 +14,6 @@ ListCodeReviews Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codegurureviewer/snapshot/api_op_ListRecommendationFeedback.go.snap b/service/codegurureviewer/snapshot/api_op_ListRecommendationFeedback.go.snap index 61528f422b1..59f790821fc 100644 --- a/service/codegurureviewer/snapshot/api_op_ListRecommendationFeedback.go.snap +++ b/service/codegurureviewer/snapshot/api_op_ListRecommendationFeedback.go.snap @@ -14,7 +14,6 @@ ListRecommendationFeedback Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codegurureviewer/snapshot/api_op_ListRecommendations.go.snap b/service/codegurureviewer/snapshot/api_op_ListRecommendations.go.snap index 081111bdda9..9c60f9671dc 100644 --- a/service/codegurureviewer/snapshot/api_op_ListRecommendations.go.snap +++ b/service/codegurureviewer/snapshot/api_op_ListRecommendations.go.snap @@ -14,7 +14,6 @@ ListRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codegurureviewer/snapshot/api_op_ListRepositoryAssociations.go.snap b/service/codegurureviewer/snapshot/api_op_ListRepositoryAssociations.go.snap index da3afcc7e17..773c286bd82 100644 --- a/service/codegurureviewer/snapshot/api_op_ListRepositoryAssociations.go.snap +++ b/service/codegurureviewer/snapshot/api_op_ListRepositoryAssociations.go.snap @@ -13,7 +13,6 @@ ListRepositoryAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codegurureviewer/snapshot/api_op_ListTagsForResource.go.snap b/service/codegurureviewer/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/codegurureviewer/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/codegurureviewer/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codegurureviewer/snapshot/api_op_PutRecommendationFeedback.go.snap b/service/codegurureviewer/snapshot/api_op_PutRecommendationFeedback.go.snap index 9acac1be434..c89378d35e9 100644 --- a/service/codegurureviewer/snapshot/api_op_PutRecommendationFeedback.go.snap +++ b/service/codegurureviewer/snapshot/api_op_PutRecommendationFeedback.go.snap @@ -14,7 +14,6 @@ PutRecommendationFeedback Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codegurureviewer/snapshot/api_op_TagResource.go.snap b/service/codegurureviewer/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/codegurureviewer/snapshot/api_op_TagResource.go.snap +++ b/service/codegurureviewer/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codegurureviewer/snapshot/api_op_UntagResource.go.snap b/service/codegurureviewer/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/codegurureviewer/snapshot/api_op_UntagResource.go.snap +++ b/service/codegurureviewer/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codegurusecurity/api_client.go b/service/codegurusecurity/api_client.go index c6a2fd49c7d..627d2500809 100644 --- a/service/codegurusecurity/api_client.go +++ b/service/codegurusecurity/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/codegurusecurity/api_op_BatchGetFindings.go b/service/codegurusecurity/api_op_BatchGetFindings.go index ea142ff1aa0..da55ff69872 100644 --- a/service/codegurusecurity/api_op_BatchGetFindings.go +++ b/service/codegurusecurity/api_op_BatchGetFindings.go @@ -122,9 +122,6 @@ func (c *Client) addOperationBatchGetFindingsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetFindingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codegurusecurity/api_op_CreateScan.go b/service/codegurusecurity/api_op_CreateScan.go index 2cf34f38398..1d37f96c129 100644 --- a/service/codegurusecurity/api_op_CreateScan.go +++ b/service/codegurusecurity/api_op_CreateScan.go @@ -170,9 +170,6 @@ func (c *Client) addOperationCreateScanMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateScanMiddleware(stack, options); err != nil { return err } diff --git a/service/codegurusecurity/api_op_CreateUploadUrl.go b/service/codegurusecurity/api_op_CreateUploadUrl.go index 4fdae13182c..83080fce4de 100644 --- a/service/codegurusecurity/api_op_CreateUploadUrl.go +++ b/service/codegurusecurity/api_op_CreateUploadUrl.go @@ -133,9 +133,6 @@ func (c *Client) addOperationCreateUploadUrlMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateUploadUrlValidationMiddleware(stack); err != nil { return err } diff --git a/service/codegurusecurity/api_op_GetAccountConfiguration.go b/service/codegurusecurity/api_op_GetAccountConfiguration.go index e8a328c09e4..f76260d1227 100644 --- a/service/codegurusecurity/api_op_GetAccountConfiguration.go +++ b/service/codegurusecurity/api_op_GetAccountConfiguration.go @@ -111,9 +111,6 @@ func (c *Client) addOperationGetAccountConfigurationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codegurusecurity/api_op_GetFindings.go b/service/codegurusecurity/api_op_GetFindings.go index db062efe9c4..98c164dcbb3 100644 --- a/service/codegurusecurity/api_op_GetFindings.go +++ b/service/codegurusecurity/api_op_GetFindings.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetFindingsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFindingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codegurusecurity/api_op_GetMetricsSummary.go b/service/codegurusecurity/api_op_GetMetricsSummary.go index 2d9eafbf331..38cf1173ee6 100644 --- a/service/codegurusecurity/api_op_GetMetricsSummary.go +++ b/service/codegurusecurity/api_op_GetMetricsSummary.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetMetricsSummaryMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMetricsSummaryValidationMiddleware(stack); err != nil { return err } diff --git a/service/codegurusecurity/api_op_GetScan.go b/service/codegurusecurity/api_op_GetScan.go index 087510f7485..606519ffb76 100644 --- a/service/codegurusecurity/api_op_GetScan.go +++ b/service/codegurusecurity/api_op_GetScan.go @@ -155,9 +155,6 @@ func (c *Client) addOperationGetScanMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetScanValidationMiddleware(stack); err != nil { return err } diff --git a/service/codegurusecurity/api_op_ListFindingsMetrics.go b/service/codegurusecurity/api_op_ListFindingsMetrics.go index 95db9dc5459..17618119173 100644 --- a/service/codegurusecurity/api_op_ListFindingsMetrics.go +++ b/service/codegurusecurity/api_op_ListFindingsMetrics.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListFindingsMetricsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFindingsMetricsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codegurusecurity/api_op_ListScans.go b/service/codegurusecurity/api_op_ListScans.go index f9a0aaf01ed..56af43410e5 100644 --- a/service/codegurusecurity/api_op_ListScans.go +++ b/service/codegurusecurity/api_op_ListScans.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListScansMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListScans(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codegurusecurity/api_op_ListTagsForResource.go b/service/codegurusecurity/api_op_ListTagsForResource.go index ccdc8560b0c..6780b61447d 100644 --- a/service/codegurusecurity/api_op_ListTagsForResource.go +++ b/service/codegurusecurity/api_op_ListTagsForResource.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codegurusecurity/api_op_TagResource.go b/service/codegurusecurity/api_op_TagResource.go index 5843fdd463d..cb832b1a573 100644 --- a/service/codegurusecurity/api_op_TagResource.go +++ b/service/codegurusecurity/api_op_TagResource.go @@ -121,9 +121,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codegurusecurity/api_op_UntagResource.go b/service/codegurusecurity/api_op_UntagResource.go index 69942a5f2d2..583a5a2958a 100644 --- a/service/codegurusecurity/api_op_UntagResource.go +++ b/service/codegurusecurity/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codegurusecurity/api_op_UpdateAccountConfiguration.go b/service/codegurusecurity/api_op_UpdateAccountConfiguration.go index 15dc2141225..e54133ab6c5 100644 --- a/service/codegurusecurity/api_op_UpdateAccountConfiguration.go +++ b/service/codegurusecurity/api_op_UpdateAccountConfiguration.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateAccountConfigurationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAccountConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/codegurusecurity/snapshot/api_op_BatchGetFindings.go.snap b/service/codegurusecurity/snapshot/api_op_BatchGetFindings.go.snap index 92a7acef0bd..c3d5eb3ea5b 100644 --- a/service/codegurusecurity/snapshot/api_op_BatchGetFindings.go.snap +++ b/service/codegurusecurity/snapshot/api_op_BatchGetFindings.go.snap @@ -14,7 +14,6 @@ BatchGetFindings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codegurusecurity/snapshot/api_op_CreateScan.go.snap b/service/codegurusecurity/snapshot/api_op_CreateScan.go.snap index f2a5077611f..3e84c62cdbf 100644 --- a/service/codegurusecurity/snapshot/api_op_CreateScan.go.snap +++ b/service/codegurusecurity/snapshot/api_op_CreateScan.go.snap @@ -15,7 +15,6 @@ CreateScan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codegurusecurity/snapshot/api_op_CreateUploadUrl.go.snap b/service/codegurusecurity/snapshot/api_op_CreateUploadUrl.go.snap index b06ee6755aa..46c9a70f080 100644 --- a/service/codegurusecurity/snapshot/api_op_CreateUploadUrl.go.snap +++ b/service/codegurusecurity/snapshot/api_op_CreateUploadUrl.go.snap @@ -14,7 +14,6 @@ CreateUploadUrl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codegurusecurity/snapshot/api_op_GetAccountConfiguration.go.snap b/service/codegurusecurity/snapshot/api_op_GetAccountConfiguration.go.snap index 716f0620405..f658b244d4a 100644 --- a/service/codegurusecurity/snapshot/api_op_GetAccountConfiguration.go.snap +++ b/service/codegurusecurity/snapshot/api_op_GetAccountConfiguration.go.snap @@ -13,7 +13,6 @@ GetAccountConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codegurusecurity/snapshot/api_op_GetFindings.go.snap b/service/codegurusecurity/snapshot/api_op_GetFindings.go.snap index 0d873431788..67b8b8225e4 100644 --- a/service/codegurusecurity/snapshot/api_op_GetFindings.go.snap +++ b/service/codegurusecurity/snapshot/api_op_GetFindings.go.snap @@ -14,7 +14,6 @@ GetFindings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codegurusecurity/snapshot/api_op_GetMetricsSummary.go.snap b/service/codegurusecurity/snapshot/api_op_GetMetricsSummary.go.snap index 2fccd605d27..91239418174 100644 --- a/service/codegurusecurity/snapshot/api_op_GetMetricsSummary.go.snap +++ b/service/codegurusecurity/snapshot/api_op_GetMetricsSummary.go.snap @@ -14,7 +14,6 @@ GetMetricsSummary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codegurusecurity/snapshot/api_op_GetScan.go.snap b/service/codegurusecurity/snapshot/api_op_GetScan.go.snap index 350283ee030..dd07c7bd3aa 100644 --- a/service/codegurusecurity/snapshot/api_op_GetScan.go.snap +++ b/service/codegurusecurity/snapshot/api_op_GetScan.go.snap @@ -14,7 +14,6 @@ GetScan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codegurusecurity/snapshot/api_op_ListFindingsMetrics.go.snap b/service/codegurusecurity/snapshot/api_op_ListFindingsMetrics.go.snap index 908f8f1e3c6..8c76e667f2d 100644 --- a/service/codegurusecurity/snapshot/api_op_ListFindingsMetrics.go.snap +++ b/service/codegurusecurity/snapshot/api_op_ListFindingsMetrics.go.snap @@ -14,7 +14,6 @@ ListFindingsMetrics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codegurusecurity/snapshot/api_op_ListScans.go.snap b/service/codegurusecurity/snapshot/api_op_ListScans.go.snap index 73eab779929..39510b5edda 100644 --- a/service/codegurusecurity/snapshot/api_op_ListScans.go.snap +++ b/service/codegurusecurity/snapshot/api_op_ListScans.go.snap @@ -13,7 +13,6 @@ ListScans Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codegurusecurity/snapshot/api_op_ListTagsForResource.go.snap b/service/codegurusecurity/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/codegurusecurity/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/codegurusecurity/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codegurusecurity/snapshot/api_op_TagResource.go.snap b/service/codegurusecurity/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/codegurusecurity/snapshot/api_op_TagResource.go.snap +++ b/service/codegurusecurity/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codegurusecurity/snapshot/api_op_UntagResource.go.snap b/service/codegurusecurity/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/codegurusecurity/snapshot/api_op_UntagResource.go.snap +++ b/service/codegurusecurity/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codegurusecurity/snapshot/api_op_UpdateAccountConfiguration.go.snap b/service/codegurusecurity/snapshot/api_op_UpdateAccountConfiguration.go.snap index 0b4a3dfdde9..01244609a32 100644 --- a/service/codegurusecurity/snapshot/api_op_UpdateAccountConfiguration.go.snap +++ b/service/codegurusecurity/snapshot/api_op_UpdateAccountConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateAccountConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/api_client.go b/service/codepipeline/api_client.go index 2f46acc1765..d25d7ced8d3 100644 --- a/service/codepipeline/api_client.go +++ b/service/codepipeline/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/codepipeline/api_op_AcknowledgeJob.go b/service/codepipeline/api_op_AcknowledgeJob.go index ca5b56cbfb3..bb368d513b7 100644 --- a/service/codepipeline/api_op_AcknowledgeJob.go +++ b/service/codepipeline/api_op_AcknowledgeJob.go @@ -122,9 +122,6 @@ func (c *Client) addOperationAcknowledgeJobMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcknowledgeJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_AcknowledgeThirdPartyJob.go b/service/codepipeline/api_op_AcknowledgeThirdPartyJob.go index f2bad51abcd..ddae9f4ceee 100644 --- a/service/codepipeline/api_op_AcknowledgeThirdPartyJob.go +++ b/service/codepipeline/api_op_AcknowledgeThirdPartyJob.go @@ -128,9 +128,6 @@ func (c *Client) addOperationAcknowledgeThirdPartyJobMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcknowledgeThirdPartyJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_CreateCustomActionType.go b/service/codepipeline/api_op_CreateCustomActionType.go index 895b7ef6539..4ee42b8af74 100644 --- a/service/codepipeline/api_op_CreateCustomActionType.go +++ b/service/codepipeline/api_op_CreateCustomActionType.go @@ -156,9 +156,6 @@ func (c *Client) addOperationCreateCustomActionTypeMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCustomActionTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_CreatePipeline.go b/service/codepipeline/api_op_CreatePipeline.go index 96df2aed8e1..32f3e53ed7d 100644 --- a/service/codepipeline/api_op_CreatePipeline.go +++ b/service/codepipeline/api_op_CreatePipeline.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCreatePipelineMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_DeleteCustomActionType.go b/service/codepipeline/api_op_DeleteCustomActionType.go index b716a4d554c..74bef83eaeb 100644 --- a/service/codepipeline/api_op_DeleteCustomActionType.go +++ b/service/codepipeline/api_op_DeleteCustomActionType.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteCustomActionTypeMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCustomActionTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_DeletePipeline.go b/service/codepipeline/api_op_DeletePipeline.go index 9e780b74faf..8fbf8553534 100644 --- a/service/codepipeline/api_op_DeletePipeline.go +++ b/service/codepipeline/api_op_DeletePipeline.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeletePipelineMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_DeleteWebhook.go b/service/codepipeline/api_op_DeleteWebhook.go index 3e0b5af03fb..d3f3bf3658d 100644 --- a/service/codepipeline/api_op_DeleteWebhook.go +++ b/service/codepipeline/api_op_DeleteWebhook.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteWebhookMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWebhookValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_DeregisterWebhookWithThirdParty.go b/service/codepipeline/api_op_DeregisterWebhookWithThirdParty.go index d6c5917ddb6..7250345cd59 100644 --- a/service/codepipeline/api_op_DeregisterWebhookWithThirdParty.go +++ b/service/codepipeline/api_op_DeregisterWebhookWithThirdParty.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeregisterWebhookWithThirdPartyMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterWebhookWithThirdParty(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codepipeline/api_op_DisableStageTransition.go b/service/codepipeline/api_op_DisableStageTransition.go index 5a4a1e5a93b..75dd7034e10 100644 --- a/service/codepipeline/api_op_DisableStageTransition.go +++ b/service/codepipeline/api_op_DisableStageTransition.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDisableStageTransitionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableStageTransitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_EnableStageTransition.go b/service/codepipeline/api_op_EnableStageTransition.go index de88b56fa00..b41abc6a4a3 100644 --- a/service/codepipeline/api_op_EnableStageTransition.go +++ b/service/codepipeline/api_op_EnableStageTransition.go @@ -123,9 +123,6 @@ func (c *Client) addOperationEnableStageTransitionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableStageTransitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_GetActionType.go b/service/codepipeline/api_op_GetActionType.go index ec7db4905de..d0873f73f34 100644 --- a/service/codepipeline/api_op_GetActionType.go +++ b/service/codepipeline/api_op_GetActionType.go @@ -147,9 +147,6 @@ func (c *Client) addOperationGetActionTypeMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetActionTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_GetJobDetails.go b/service/codepipeline/api_op_GetJobDetails.go index 3fa4ab985a0..e4f294b52ac 100644 --- a/service/codepipeline/api_op_GetJobDetails.go +++ b/service/codepipeline/api_op_GetJobDetails.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetJobDetailsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetJobDetailsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_GetPipeline.go b/service/codepipeline/api_op_GetPipeline.go index df8ea06be0b..ae4dfb9b6ad 100644 --- a/service/codepipeline/api_op_GetPipeline.go +++ b/service/codepipeline/api_op_GetPipeline.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetPipelineMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_GetPipelineExecution.go b/service/codepipeline/api_op_GetPipelineExecution.go index 06ef2779db4..f95fe0ec4e1 100644 --- a/service/codepipeline/api_op_GetPipelineExecution.go +++ b/service/codepipeline/api_op_GetPipelineExecution.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetPipelineExecutionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPipelineExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_GetPipelineState.go b/service/codepipeline/api_op_GetPipelineState.go index 29fbb5c8e7c..4aace525a74 100644 --- a/service/codepipeline/api_op_GetPipelineState.go +++ b/service/codepipeline/api_op_GetPipelineState.go @@ -134,9 +134,6 @@ func (c *Client) addOperationGetPipelineStateMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPipelineStateValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_GetThirdPartyJobDetails.go b/service/codepipeline/api_op_GetThirdPartyJobDetails.go index 18b59a23d93..35aabbfcc2a 100644 --- a/service/codepipeline/api_op_GetThirdPartyJobDetails.go +++ b/service/codepipeline/api_op_GetThirdPartyJobDetails.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetThirdPartyJobDetailsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetThirdPartyJobDetailsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_ListActionExecutions.go b/service/codepipeline/api_op_ListActionExecutions.go index 76e985b4199..bf18973a3a5 100644 --- a/service/codepipeline/api_op_ListActionExecutions.go +++ b/service/codepipeline/api_op_ListActionExecutions.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListActionExecutionsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListActionExecutionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_ListActionTypes.go b/service/codepipeline/api_op_ListActionTypes.go index 5286adfb927..b4d1d495812 100644 --- a/service/codepipeline/api_op_ListActionTypes.go +++ b/service/codepipeline/api_op_ListActionTypes.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListActionTypesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListActionTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codepipeline/api_op_ListPipelineExecutions.go b/service/codepipeline/api_op_ListPipelineExecutions.go index 5d2420a2d0a..33693794bd9 100644 --- a/service/codepipeline/api_op_ListPipelineExecutions.go +++ b/service/codepipeline/api_op_ListPipelineExecutions.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListPipelineExecutionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPipelineExecutionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_ListPipelines.go b/service/codepipeline/api_op_ListPipelines.go index 0356741251e..f3e4d2d2c03 100644 --- a/service/codepipeline/api_op_ListPipelines.go +++ b/service/codepipeline/api_op_ListPipelines.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListPipelinesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPipelines(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codepipeline/api_op_ListRuleExecutions.go b/service/codepipeline/api_op_ListRuleExecutions.go index 6058dc5efca..2aa31bd7555 100644 --- a/service/codepipeline/api_op_ListRuleExecutions.go +++ b/service/codepipeline/api_op_ListRuleExecutions.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListRuleExecutionsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRuleExecutionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_ListRuleTypes.go b/service/codepipeline/api_op_ListRuleTypes.go index 665eb7e59d9..f8e2877c582 100644 --- a/service/codepipeline/api_op_ListRuleTypes.go +++ b/service/codepipeline/api_op_ListRuleTypes.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListRuleTypesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRuleTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codepipeline/api_op_ListTagsForResource.go b/service/codepipeline/api_op_ListTagsForResource.go index a9f5d56c2f4..80bf027d63b 100644 --- a/service/codepipeline/api_op_ListTagsForResource.go +++ b/service/codepipeline/api_op_ListTagsForResource.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_ListWebhooks.go b/service/codepipeline/api_op_ListWebhooks.go index 356c5410d15..8f4ac7cdd89 100644 --- a/service/codepipeline/api_op_ListWebhooks.go +++ b/service/codepipeline/api_op_ListWebhooks.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListWebhooksMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWebhooks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codepipeline/api_op_OverrideStageCondition.go b/service/codepipeline/api_op_OverrideStageCondition.go index ce87bd5fcdd..175e4cd52a2 100644 --- a/service/codepipeline/api_op_OverrideStageCondition.go +++ b/service/codepipeline/api_op_OverrideStageCondition.go @@ -128,9 +128,6 @@ func (c *Client) addOperationOverrideStageConditionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpOverrideStageConditionValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_PollForJobs.go b/service/codepipeline/api_op_PollForJobs.go index 8a669a551b0..994fbfda67f 100644 --- a/service/codepipeline/api_op_PollForJobs.go +++ b/service/codepipeline/api_op_PollForJobs.go @@ -131,9 +131,6 @@ func (c *Client) addOperationPollForJobsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPollForJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_PollForThirdPartyJobs.go b/service/codepipeline/api_op_PollForThirdPartyJobs.go index 63b92717d1f..2e100e457b0 100644 --- a/service/codepipeline/api_op_PollForThirdPartyJobs.go +++ b/service/codepipeline/api_op_PollForThirdPartyJobs.go @@ -122,9 +122,6 @@ func (c *Client) addOperationPollForThirdPartyJobsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPollForThirdPartyJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_PutActionRevision.go b/service/codepipeline/api_op_PutActionRevision.go index 3c187c05471..a37ec3c6b3b 100644 --- a/service/codepipeline/api_op_PutActionRevision.go +++ b/service/codepipeline/api_op_PutActionRevision.go @@ -133,9 +133,6 @@ func (c *Client) addOperationPutActionRevisionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutActionRevisionValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_PutApprovalResult.go b/service/codepipeline/api_op_PutApprovalResult.go index 6033713a880..997b7c3bb38 100644 --- a/service/codepipeline/api_op_PutApprovalResult.go +++ b/service/codepipeline/api_op_PutApprovalResult.go @@ -144,9 +144,6 @@ func (c *Client) addOperationPutApprovalResultMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutApprovalResultValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_PutJobFailureResult.go b/service/codepipeline/api_op_PutJobFailureResult.go index 2e6c1636184..166fa9777b9 100644 --- a/service/codepipeline/api_op_PutJobFailureResult.go +++ b/service/codepipeline/api_op_PutJobFailureResult.go @@ -116,9 +116,6 @@ func (c *Client) addOperationPutJobFailureResultMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutJobFailureResultValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_PutJobSuccessResult.go b/service/codepipeline/api_op_PutJobSuccessResult.go index e5097a96ad6..e95dc7bc926 100644 --- a/service/codepipeline/api_op_PutJobSuccessResult.go +++ b/service/codepipeline/api_op_PutJobSuccessResult.go @@ -131,9 +131,6 @@ func (c *Client) addOperationPutJobSuccessResultMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutJobSuccessResultValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_PutThirdPartyJobFailureResult.go b/service/codepipeline/api_op_PutThirdPartyJobFailureResult.go index a9edf05a504..b0c4ef9c98c 100644 --- a/service/codepipeline/api_op_PutThirdPartyJobFailureResult.go +++ b/service/codepipeline/api_op_PutThirdPartyJobFailureResult.go @@ -122,9 +122,6 @@ func (c *Client) addOperationPutThirdPartyJobFailureResultMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutThirdPartyJobFailureResultValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_PutThirdPartyJobSuccessResult.go b/service/codepipeline/api_op_PutThirdPartyJobSuccessResult.go index c8c384b6fb9..e1f742edcbc 100644 --- a/service/codepipeline/api_op_PutThirdPartyJobSuccessResult.go +++ b/service/codepipeline/api_op_PutThirdPartyJobSuccessResult.go @@ -131,9 +131,6 @@ func (c *Client) addOperationPutThirdPartyJobSuccessResultMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutThirdPartyJobSuccessResultValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_PutWebhook.go b/service/codepipeline/api_op_PutWebhook.go index bf691687fe2..a44029acb95 100644 --- a/service/codepipeline/api_op_PutWebhook.go +++ b/service/codepipeline/api_op_PutWebhook.go @@ -136,9 +136,6 @@ func (c *Client) addOperationPutWebhookMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutWebhookValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_RegisterWebhookWithThirdParty.go b/service/codepipeline/api_op_RegisterWebhookWithThirdParty.go index f1d93477c53..092ef4b9cc7 100644 --- a/service/codepipeline/api_op_RegisterWebhookWithThirdParty.go +++ b/service/codepipeline/api_op_RegisterWebhookWithThirdParty.go @@ -107,9 +107,6 @@ func (c *Client) addOperationRegisterWebhookWithThirdPartyMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRegisterWebhookWithThirdParty(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codepipeline/api_op_RetryStageExecution.go b/service/codepipeline/api_op_RetryStageExecution.go index 04b9f3b9d18..5aef782f8da 100644 --- a/service/codepipeline/api_op_RetryStageExecution.go +++ b/service/codepipeline/api_op_RetryStageExecution.go @@ -137,9 +137,6 @@ func (c *Client) addOperationRetryStageExecutionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRetryStageExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_RollbackStage.go b/service/codepipeline/api_op_RollbackStage.go index bedafcd7fce..09c266e1bbc 100644 --- a/service/codepipeline/api_op_RollbackStage.go +++ b/service/codepipeline/api_op_RollbackStage.go @@ -124,9 +124,6 @@ func (c *Client) addOperationRollbackStageMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRollbackStageValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_StartPipelineExecution.go b/service/codepipeline/api_op_StartPipelineExecution.go index 4bc2958a79b..d2181f95639 100644 --- a/service/codepipeline/api_op_StartPipelineExecution.go +++ b/service/codepipeline/api_op_StartPipelineExecution.go @@ -129,9 +129,6 @@ func (c *Client) addOperationStartPipelineExecutionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartPipelineExecutionMiddleware(stack, options); err != nil { return err } diff --git a/service/codepipeline/api_op_StopPipelineExecution.go b/service/codepipeline/api_op_StopPipelineExecution.go index 2ae427441b8..da8fe97301d 100644 --- a/service/codepipeline/api_op_StopPipelineExecution.go +++ b/service/codepipeline/api_op_StopPipelineExecution.go @@ -131,9 +131,6 @@ func (c *Client) addOperationStopPipelineExecutionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopPipelineExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_TagResource.go b/service/codepipeline/api_op_TagResource.go index 36e3e8a51a5..ff8634f775f 100644 --- a/service/codepipeline/api_op_TagResource.go +++ b/service/codepipeline/api_op_TagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_UntagResource.go b/service/codepipeline/api_op_UntagResource.go index 00d1fd0bc4b..edf1d74062f 100644 --- a/service/codepipeline/api_op_UntagResource.go +++ b/service/codepipeline/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_UpdateActionType.go b/service/codepipeline/api_op_UpdateActionType.go index 899a2dedd63..be327141f6c 100644 --- a/service/codepipeline/api_op_UpdateActionType.go +++ b/service/codepipeline/api_op_UpdateActionType.go @@ -111,9 +111,6 @@ func (c *Client) addOperationUpdateActionTypeMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateActionTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/api_op_UpdatePipeline.go b/service/codepipeline/api_op_UpdatePipeline.go index cb0af474001..31e6652c88f 100644 --- a/service/codepipeline/api_op_UpdatePipeline.go +++ b/service/codepipeline/api_op_UpdatePipeline.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUpdatePipelineMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/codepipeline/snapshot/api_op_AcknowledgeJob.go.snap b/service/codepipeline/snapshot/api_op_AcknowledgeJob.go.snap index 4571a895e1f..5297005bdeb 100644 --- a/service/codepipeline/snapshot/api_op_AcknowledgeJob.go.snap +++ b/service/codepipeline/snapshot/api_op_AcknowledgeJob.go.snap @@ -14,7 +14,6 @@ AcknowledgeJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_AcknowledgeThirdPartyJob.go.snap b/service/codepipeline/snapshot/api_op_AcknowledgeThirdPartyJob.go.snap index 11bdfa3511b..79c0d0a1f7f 100644 --- a/service/codepipeline/snapshot/api_op_AcknowledgeThirdPartyJob.go.snap +++ b/service/codepipeline/snapshot/api_op_AcknowledgeThirdPartyJob.go.snap @@ -14,7 +14,6 @@ AcknowledgeThirdPartyJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_CreateCustomActionType.go.snap b/service/codepipeline/snapshot/api_op_CreateCustomActionType.go.snap index edabef7998c..857ffff7c15 100644 --- a/service/codepipeline/snapshot/api_op_CreateCustomActionType.go.snap +++ b/service/codepipeline/snapshot/api_op_CreateCustomActionType.go.snap @@ -14,7 +14,6 @@ CreateCustomActionType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_CreatePipeline.go.snap b/service/codepipeline/snapshot/api_op_CreatePipeline.go.snap index 4c2b94d4897..b5051ce1ac7 100644 --- a/service/codepipeline/snapshot/api_op_CreatePipeline.go.snap +++ b/service/codepipeline/snapshot/api_op_CreatePipeline.go.snap @@ -14,7 +14,6 @@ CreatePipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_DeleteCustomActionType.go.snap b/service/codepipeline/snapshot/api_op_DeleteCustomActionType.go.snap index 7ecf2c7c0fb..baec346f5d2 100644 --- a/service/codepipeline/snapshot/api_op_DeleteCustomActionType.go.snap +++ b/service/codepipeline/snapshot/api_op_DeleteCustomActionType.go.snap @@ -14,7 +14,6 @@ DeleteCustomActionType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_DeletePipeline.go.snap b/service/codepipeline/snapshot/api_op_DeletePipeline.go.snap index a7bf3d79424..50c322a5054 100644 --- a/service/codepipeline/snapshot/api_op_DeletePipeline.go.snap +++ b/service/codepipeline/snapshot/api_op_DeletePipeline.go.snap @@ -14,7 +14,6 @@ DeletePipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_DeleteWebhook.go.snap b/service/codepipeline/snapshot/api_op_DeleteWebhook.go.snap index ffa6f8edb66..c23474f10d4 100644 --- a/service/codepipeline/snapshot/api_op_DeleteWebhook.go.snap +++ b/service/codepipeline/snapshot/api_op_DeleteWebhook.go.snap @@ -14,7 +14,6 @@ DeleteWebhook Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_DeregisterWebhookWithThirdParty.go.snap b/service/codepipeline/snapshot/api_op_DeregisterWebhookWithThirdParty.go.snap index 588c487aa0a..f0cd2f76227 100644 --- a/service/codepipeline/snapshot/api_op_DeregisterWebhookWithThirdParty.go.snap +++ b/service/codepipeline/snapshot/api_op_DeregisterWebhookWithThirdParty.go.snap @@ -13,7 +13,6 @@ DeregisterWebhookWithThirdParty Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_DisableStageTransition.go.snap b/service/codepipeline/snapshot/api_op_DisableStageTransition.go.snap index 2828dedc7f5..f19e7fb0097 100644 --- a/service/codepipeline/snapshot/api_op_DisableStageTransition.go.snap +++ b/service/codepipeline/snapshot/api_op_DisableStageTransition.go.snap @@ -14,7 +14,6 @@ DisableStageTransition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_EnableStageTransition.go.snap b/service/codepipeline/snapshot/api_op_EnableStageTransition.go.snap index 8be35cca526..72ddc02c60b 100644 --- a/service/codepipeline/snapshot/api_op_EnableStageTransition.go.snap +++ b/service/codepipeline/snapshot/api_op_EnableStageTransition.go.snap @@ -14,7 +14,6 @@ EnableStageTransition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_GetActionType.go.snap b/service/codepipeline/snapshot/api_op_GetActionType.go.snap index 95960c26a54..74a19e7fd1e 100644 --- a/service/codepipeline/snapshot/api_op_GetActionType.go.snap +++ b/service/codepipeline/snapshot/api_op_GetActionType.go.snap @@ -14,7 +14,6 @@ GetActionType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_GetJobDetails.go.snap b/service/codepipeline/snapshot/api_op_GetJobDetails.go.snap index aac3d32a3ef..320418a13b0 100644 --- a/service/codepipeline/snapshot/api_op_GetJobDetails.go.snap +++ b/service/codepipeline/snapshot/api_op_GetJobDetails.go.snap @@ -14,7 +14,6 @@ GetJobDetails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_GetPipeline.go.snap b/service/codepipeline/snapshot/api_op_GetPipeline.go.snap index b05791104d8..afb4c29f76c 100644 --- a/service/codepipeline/snapshot/api_op_GetPipeline.go.snap +++ b/service/codepipeline/snapshot/api_op_GetPipeline.go.snap @@ -14,7 +14,6 @@ GetPipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_GetPipelineExecution.go.snap b/service/codepipeline/snapshot/api_op_GetPipelineExecution.go.snap index f2739bc0e16..65726a905e3 100644 --- a/service/codepipeline/snapshot/api_op_GetPipelineExecution.go.snap +++ b/service/codepipeline/snapshot/api_op_GetPipelineExecution.go.snap @@ -14,7 +14,6 @@ GetPipelineExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_GetPipelineState.go.snap b/service/codepipeline/snapshot/api_op_GetPipelineState.go.snap index 4ff4b3ba7ae..fc3dca4a38c 100644 --- a/service/codepipeline/snapshot/api_op_GetPipelineState.go.snap +++ b/service/codepipeline/snapshot/api_op_GetPipelineState.go.snap @@ -14,7 +14,6 @@ GetPipelineState Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_GetThirdPartyJobDetails.go.snap b/service/codepipeline/snapshot/api_op_GetThirdPartyJobDetails.go.snap index 8117896f11f..d44dee19cb1 100644 --- a/service/codepipeline/snapshot/api_op_GetThirdPartyJobDetails.go.snap +++ b/service/codepipeline/snapshot/api_op_GetThirdPartyJobDetails.go.snap @@ -14,7 +14,6 @@ GetThirdPartyJobDetails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_ListActionExecutions.go.snap b/service/codepipeline/snapshot/api_op_ListActionExecutions.go.snap index ced7dbf45d9..4338f93a50b 100644 --- a/service/codepipeline/snapshot/api_op_ListActionExecutions.go.snap +++ b/service/codepipeline/snapshot/api_op_ListActionExecutions.go.snap @@ -14,7 +14,6 @@ ListActionExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_ListActionTypes.go.snap b/service/codepipeline/snapshot/api_op_ListActionTypes.go.snap index dfc7e2a3966..91fb7b594d8 100644 --- a/service/codepipeline/snapshot/api_op_ListActionTypes.go.snap +++ b/service/codepipeline/snapshot/api_op_ListActionTypes.go.snap @@ -13,7 +13,6 @@ ListActionTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_ListPipelineExecutions.go.snap b/service/codepipeline/snapshot/api_op_ListPipelineExecutions.go.snap index 7d1980bc43c..ba052e8334a 100644 --- a/service/codepipeline/snapshot/api_op_ListPipelineExecutions.go.snap +++ b/service/codepipeline/snapshot/api_op_ListPipelineExecutions.go.snap @@ -14,7 +14,6 @@ ListPipelineExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_ListPipelines.go.snap b/service/codepipeline/snapshot/api_op_ListPipelines.go.snap index 38a5a0d14ce..96b189f77c0 100644 --- a/service/codepipeline/snapshot/api_op_ListPipelines.go.snap +++ b/service/codepipeline/snapshot/api_op_ListPipelines.go.snap @@ -13,7 +13,6 @@ ListPipelines Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_ListRuleExecutions.go.snap b/service/codepipeline/snapshot/api_op_ListRuleExecutions.go.snap index 3ccdad2a7c2..16a4344cec3 100644 --- a/service/codepipeline/snapshot/api_op_ListRuleExecutions.go.snap +++ b/service/codepipeline/snapshot/api_op_ListRuleExecutions.go.snap @@ -14,7 +14,6 @@ ListRuleExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_ListRuleTypes.go.snap b/service/codepipeline/snapshot/api_op_ListRuleTypes.go.snap index bee5b96b0cb..ba73e7079f2 100644 --- a/service/codepipeline/snapshot/api_op_ListRuleTypes.go.snap +++ b/service/codepipeline/snapshot/api_op_ListRuleTypes.go.snap @@ -13,7 +13,6 @@ ListRuleTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_ListTagsForResource.go.snap b/service/codepipeline/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/codepipeline/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/codepipeline/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_ListWebhooks.go.snap b/service/codepipeline/snapshot/api_op_ListWebhooks.go.snap index 89d1f7c7bd8..015fbe8e28f 100644 --- a/service/codepipeline/snapshot/api_op_ListWebhooks.go.snap +++ b/service/codepipeline/snapshot/api_op_ListWebhooks.go.snap @@ -13,7 +13,6 @@ ListWebhooks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_OverrideStageCondition.go.snap b/service/codepipeline/snapshot/api_op_OverrideStageCondition.go.snap index f1a6770ef9c..3941a708bac 100644 --- a/service/codepipeline/snapshot/api_op_OverrideStageCondition.go.snap +++ b/service/codepipeline/snapshot/api_op_OverrideStageCondition.go.snap @@ -14,7 +14,6 @@ OverrideStageCondition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_PollForJobs.go.snap b/service/codepipeline/snapshot/api_op_PollForJobs.go.snap index ca9172806ed..4e87ef04b36 100644 --- a/service/codepipeline/snapshot/api_op_PollForJobs.go.snap +++ b/service/codepipeline/snapshot/api_op_PollForJobs.go.snap @@ -14,7 +14,6 @@ PollForJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_PollForThirdPartyJobs.go.snap b/service/codepipeline/snapshot/api_op_PollForThirdPartyJobs.go.snap index 67926d40c68..8683424ccd0 100644 --- a/service/codepipeline/snapshot/api_op_PollForThirdPartyJobs.go.snap +++ b/service/codepipeline/snapshot/api_op_PollForThirdPartyJobs.go.snap @@ -14,7 +14,6 @@ PollForThirdPartyJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_PutActionRevision.go.snap b/service/codepipeline/snapshot/api_op_PutActionRevision.go.snap index 24d81d4b447..e9e5b630b59 100644 --- a/service/codepipeline/snapshot/api_op_PutActionRevision.go.snap +++ b/service/codepipeline/snapshot/api_op_PutActionRevision.go.snap @@ -14,7 +14,6 @@ PutActionRevision Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_PutApprovalResult.go.snap b/service/codepipeline/snapshot/api_op_PutApprovalResult.go.snap index 17aa88fc3d2..ff04e6f2442 100644 --- a/service/codepipeline/snapshot/api_op_PutApprovalResult.go.snap +++ b/service/codepipeline/snapshot/api_op_PutApprovalResult.go.snap @@ -14,7 +14,6 @@ PutApprovalResult Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_PutJobFailureResult.go.snap b/service/codepipeline/snapshot/api_op_PutJobFailureResult.go.snap index 8f2ed010727..24ff7350670 100644 --- a/service/codepipeline/snapshot/api_op_PutJobFailureResult.go.snap +++ b/service/codepipeline/snapshot/api_op_PutJobFailureResult.go.snap @@ -14,7 +14,6 @@ PutJobFailureResult Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_PutJobSuccessResult.go.snap b/service/codepipeline/snapshot/api_op_PutJobSuccessResult.go.snap index 8a0096e8df0..6b30d1f8db7 100644 --- a/service/codepipeline/snapshot/api_op_PutJobSuccessResult.go.snap +++ b/service/codepipeline/snapshot/api_op_PutJobSuccessResult.go.snap @@ -14,7 +14,6 @@ PutJobSuccessResult Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_PutThirdPartyJobFailureResult.go.snap b/service/codepipeline/snapshot/api_op_PutThirdPartyJobFailureResult.go.snap index a266ca9ea9d..1f2a5f73549 100644 --- a/service/codepipeline/snapshot/api_op_PutThirdPartyJobFailureResult.go.snap +++ b/service/codepipeline/snapshot/api_op_PutThirdPartyJobFailureResult.go.snap @@ -14,7 +14,6 @@ PutThirdPartyJobFailureResult Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_PutThirdPartyJobSuccessResult.go.snap b/service/codepipeline/snapshot/api_op_PutThirdPartyJobSuccessResult.go.snap index 8bd056f5a34..b42c4c36764 100644 --- a/service/codepipeline/snapshot/api_op_PutThirdPartyJobSuccessResult.go.snap +++ b/service/codepipeline/snapshot/api_op_PutThirdPartyJobSuccessResult.go.snap @@ -14,7 +14,6 @@ PutThirdPartyJobSuccessResult Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_PutWebhook.go.snap b/service/codepipeline/snapshot/api_op_PutWebhook.go.snap index bc2078e24e9..97180759cd6 100644 --- a/service/codepipeline/snapshot/api_op_PutWebhook.go.snap +++ b/service/codepipeline/snapshot/api_op_PutWebhook.go.snap @@ -14,7 +14,6 @@ PutWebhook Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_RegisterWebhookWithThirdParty.go.snap b/service/codepipeline/snapshot/api_op_RegisterWebhookWithThirdParty.go.snap index cb1de33b27a..024f90273d9 100644 --- a/service/codepipeline/snapshot/api_op_RegisterWebhookWithThirdParty.go.snap +++ b/service/codepipeline/snapshot/api_op_RegisterWebhookWithThirdParty.go.snap @@ -13,7 +13,6 @@ RegisterWebhookWithThirdParty Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_RetryStageExecution.go.snap b/service/codepipeline/snapshot/api_op_RetryStageExecution.go.snap index 7cf4fa8cbc1..27ad92b58b4 100644 --- a/service/codepipeline/snapshot/api_op_RetryStageExecution.go.snap +++ b/service/codepipeline/snapshot/api_op_RetryStageExecution.go.snap @@ -14,7 +14,6 @@ RetryStageExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_RollbackStage.go.snap b/service/codepipeline/snapshot/api_op_RollbackStage.go.snap index 32922fa1cd9..944b2977aa0 100644 --- a/service/codepipeline/snapshot/api_op_RollbackStage.go.snap +++ b/service/codepipeline/snapshot/api_op_RollbackStage.go.snap @@ -14,7 +14,6 @@ RollbackStage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_StartPipelineExecution.go.snap b/service/codepipeline/snapshot/api_op_StartPipelineExecution.go.snap index 25028520785..aa151df85bf 100644 --- a/service/codepipeline/snapshot/api_op_StartPipelineExecution.go.snap +++ b/service/codepipeline/snapshot/api_op_StartPipelineExecution.go.snap @@ -15,7 +15,6 @@ StartPipelineExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_StopPipelineExecution.go.snap b/service/codepipeline/snapshot/api_op_StopPipelineExecution.go.snap index 882eac45e6a..31da1c5a1d4 100644 --- a/service/codepipeline/snapshot/api_op_StopPipelineExecution.go.snap +++ b/service/codepipeline/snapshot/api_op_StopPipelineExecution.go.snap @@ -14,7 +14,6 @@ StopPipelineExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_TagResource.go.snap b/service/codepipeline/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/codepipeline/snapshot/api_op_TagResource.go.snap +++ b/service/codepipeline/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_UntagResource.go.snap b/service/codepipeline/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/codepipeline/snapshot/api_op_UntagResource.go.snap +++ b/service/codepipeline/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_UpdateActionType.go.snap b/service/codepipeline/snapshot/api_op_UpdateActionType.go.snap index dbc5557dae6..5049e96d044 100644 --- a/service/codepipeline/snapshot/api_op_UpdateActionType.go.snap +++ b/service/codepipeline/snapshot/api_op_UpdateActionType.go.snap @@ -14,7 +14,6 @@ UpdateActionType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codepipeline/snapshot/api_op_UpdatePipeline.go.snap b/service/codepipeline/snapshot/api_op_UpdatePipeline.go.snap index acddf30c7a9..3f2dc40d069 100644 --- a/service/codepipeline/snapshot/api_op_UpdatePipeline.go.snap +++ b/service/codepipeline/snapshot/api_op_UpdatePipeline.go.snap @@ -14,7 +14,6 @@ UpdatePipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarconnections/api_client.go b/service/codestarconnections/api_client.go index 8edc34d91e8..556522fc9ab 100644 --- a/service/codestarconnections/api_client.go +++ b/service/codestarconnections/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/codestarconnections/api_op_CreateConnection.go b/service/codestarconnections/api_op_CreateConnection.go index 65d936fe460..0a830e480e1 100644 --- a/service/codestarconnections/api_op_CreateConnection.go +++ b/service/codestarconnections/api_op_CreateConnection.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateConnectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_CreateHost.go b/service/codestarconnections/api_op_CreateHost.go index 7dba4f2f192..e62393887c0 100644 --- a/service/codestarconnections/api_op_CreateHost.go +++ b/service/codestarconnections/api_op_CreateHost.go @@ -142,9 +142,6 @@ func (c *Client) addOperationCreateHostMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateHostValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_CreateRepositoryLink.go b/service/codestarconnections/api_op_CreateRepositoryLink.go index c9467b82c22..0bd2c500c25 100644 --- a/service/codestarconnections/api_op_CreateRepositoryLink.go +++ b/service/codestarconnections/api_op_CreateRepositoryLink.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCreateRepositoryLinkMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRepositoryLinkValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_CreateSyncConfiguration.go b/service/codestarconnections/api_op_CreateSyncConfiguration.go index 0b1e31dcbdb..19ecf0c7e79 100644 --- a/service/codestarconnections/api_op_CreateSyncConfiguration.go +++ b/service/codestarconnections/api_op_CreateSyncConfiguration.go @@ -157,9 +157,6 @@ func (c *Client) addOperationCreateSyncConfigurationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSyncConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_DeleteConnection.go b/service/codestarconnections/api_op_DeleteConnection.go index 088e230ce36..c12c4e0e79a 100644 --- a/service/codestarconnections/api_op_DeleteConnection.go +++ b/service/codestarconnections/api_op_DeleteConnection.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteConnectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_DeleteHost.go b/service/codestarconnections/api_op_DeleteHost.go index 3ef8cdb78bd..c300ed03485 100644 --- a/service/codestarconnections/api_op_DeleteHost.go +++ b/service/codestarconnections/api_op_DeleteHost.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteHostMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteHostValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_DeleteRepositoryLink.go b/service/codestarconnections/api_op_DeleteRepositoryLink.go index 121e55fda0c..ac4966c5808 100644 --- a/service/codestarconnections/api_op_DeleteRepositoryLink.go +++ b/service/codestarconnections/api_op_DeleteRepositoryLink.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteRepositoryLinkMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRepositoryLinkValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_DeleteSyncConfiguration.go b/service/codestarconnections/api_op_DeleteSyncConfiguration.go index e3cf2e5cd70..8c270415b07 100644 --- a/service/codestarconnections/api_op_DeleteSyncConfiguration.go +++ b/service/codestarconnections/api_op_DeleteSyncConfiguration.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteSyncConfigurationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSyncConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_GetConnection.go b/service/codestarconnections/api_op_GetConnection.go index e6c95f964bf..fb5237c52cf 100644 --- a/service/codestarconnections/api_op_GetConnection.go +++ b/service/codestarconnections/api_op_GetConnection.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetConnectionMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_GetHost.go b/service/codestarconnections/api_op_GetHost.go index 5a2ae7f5f2c..76e929475ab 100644 --- a/service/codestarconnections/api_op_GetHost.go +++ b/service/codestarconnections/api_op_GetHost.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetHostMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetHostValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_GetRepositoryLink.go b/service/codestarconnections/api_op_GetRepositoryLink.go index 3fc67dad014..e081a30ac7a 100644 --- a/service/codestarconnections/api_op_GetRepositoryLink.go +++ b/service/codestarconnections/api_op_GetRepositoryLink.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetRepositoryLinkMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRepositoryLinkValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_GetRepositorySyncStatus.go b/service/codestarconnections/api_op_GetRepositorySyncStatus.go index 1a073725637..c545ae625b3 100644 --- a/service/codestarconnections/api_op_GetRepositorySyncStatus.go +++ b/service/codestarconnections/api_op_GetRepositorySyncStatus.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetRepositorySyncStatusMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRepositorySyncStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_GetResourceSyncStatus.go b/service/codestarconnections/api_op_GetResourceSyncStatus.go index e297c44a0d1..3110c174dae 100644 --- a/service/codestarconnections/api_op_GetResourceSyncStatus.go +++ b/service/codestarconnections/api_op_GetResourceSyncStatus.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGetResourceSyncStatusMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourceSyncStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_GetSyncBlockerSummary.go b/service/codestarconnections/api_op_GetSyncBlockerSummary.go index 3f1bf834e23..508b3fedb2f 100644 --- a/service/codestarconnections/api_op_GetSyncBlockerSummary.go +++ b/service/codestarconnections/api_op_GetSyncBlockerSummary.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetSyncBlockerSummaryMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSyncBlockerSummaryValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_GetSyncConfiguration.go b/service/codestarconnections/api_op_GetSyncConfiguration.go index 3b609e5fb73..7782c919bd5 100644 --- a/service/codestarconnections/api_op_GetSyncConfiguration.go +++ b/service/codestarconnections/api_op_GetSyncConfiguration.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetSyncConfigurationMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSyncConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_ListConnections.go b/service/codestarconnections/api_op_ListConnections.go index a5b5f157d79..acc9cf68110 100644 --- a/service/codestarconnections/api_op_ListConnections.go +++ b/service/codestarconnections/api_op_ListConnections.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListConnectionsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConnections(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codestarconnections/api_op_ListHosts.go b/service/codestarconnections/api_op_ListHosts.go index 65245bf299d..8f481bcdae4 100644 --- a/service/codestarconnections/api_op_ListHosts.go +++ b/service/codestarconnections/api_op_ListHosts.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListHostsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHosts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codestarconnections/api_op_ListRepositoryLinks.go b/service/codestarconnections/api_op_ListRepositoryLinks.go index e5289b11236..b32b6a1b63e 100644 --- a/service/codestarconnections/api_op_ListRepositoryLinks.go +++ b/service/codestarconnections/api_op_ListRepositoryLinks.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListRepositoryLinksMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRepositoryLinks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/codestarconnections/api_op_ListRepositorySyncDefinitions.go b/service/codestarconnections/api_op_ListRepositorySyncDefinitions.go index 0060a23bdf3..51d325e34c9 100644 --- a/service/codestarconnections/api_op_ListRepositorySyncDefinitions.go +++ b/service/codestarconnections/api_op_ListRepositorySyncDefinitions.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListRepositorySyncDefinitionsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRepositorySyncDefinitionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_ListSyncConfigurations.go b/service/codestarconnections/api_op_ListSyncConfigurations.go index 41822ce711e..165eeca7f2d 100644 --- a/service/codestarconnections/api_op_ListSyncConfigurations.go +++ b/service/codestarconnections/api_op_ListSyncConfigurations.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListSyncConfigurationsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSyncConfigurationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_ListTagsForResource.go b/service/codestarconnections/api_op_ListTagsForResource.go index 54cc6287881..12dada586f5 100644 --- a/service/codestarconnections/api_op_ListTagsForResource.go +++ b/service/codestarconnections/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_TagResource.go b/service/codestarconnections/api_op_TagResource.go index c73138bbfd7..d8eb54bf845 100644 --- a/service/codestarconnections/api_op_TagResource.go +++ b/service/codestarconnections/api_op_TagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_UntagResource.go b/service/codestarconnections/api_op_UntagResource.go index 628c69a24d2..fac2148fe86 100644 --- a/service/codestarconnections/api_op_UntagResource.go +++ b/service/codestarconnections/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_UpdateHost.go b/service/codestarconnections/api_op_UpdateHost.go index 4f856b48781..787df1607f2 100644 --- a/service/codestarconnections/api_op_UpdateHost.go +++ b/service/codestarconnections/api_op_UpdateHost.go @@ -116,9 +116,6 @@ func (c *Client) addOperationUpdateHostMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateHostValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_UpdateRepositoryLink.go b/service/codestarconnections/api_op_UpdateRepositoryLink.go index 117daadb63d..fa99f56f908 100644 --- a/service/codestarconnections/api_op_UpdateRepositoryLink.go +++ b/service/codestarconnections/api_op_UpdateRepositoryLink.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateRepositoryLinkMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRepositoryLinkValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_UpdateSyncBlocker.go b/service/codestarconnections/api_op_UpdateSyncBlocker.go index d3117af2d5c..422bca866df 100644 --- a/service/codestarconnections/api_op_UpdateSyncBlocker.go +++ b/service/codestarconnections/api_op_UpdateSyncBlocker.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateSyncBlockerMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSyncBlockerValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/api_op_UpdateSyncConfiguration.go b/service/codestarconnections/api_op_UpdateSyncConfiguration.go index 787b316a0b1..49000fef7e5 100644 --- a/service/codestarconnections/api_op_UpdateSyncConfiguration.go +++ b/service/codestarconnections/api_op_UpdateSyncConfiguration.go @@ -140,9 +140,6 @@ func (c *Client) addOperationUpdateSyncConfigurationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSyncConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarconnections/snapshot/api_op_CreateConnection.go.snap b/service/codestarconnections/snapshot/api_op_CreateConnection.go.snap index 2925a097d86..744b4a055f4 100644 --- a/service/codestarconnections/snapshot/api_op_CreateConnection.go.snap +++ b/service/codestarconnections/snapshot/api_op_CreateConnection.go.snap @@ -14,7 +14,6 @@ CreateConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarconnections/snapshot/api_op_CreateHost.go.snap b/service/codestarconnections/snapshot/api_op_CreateHost.go.snap index 259d801c2b7..5382e17ce9f 100644 --- a/service/codestarconnections/snapshot/api_op_CreateHost.go.snap +++ b/service/codestarconnections/snapshot/api_op_CreateHost.go.snap @@ -14,7 +14,6 @@ CreateHost Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarconnections/snapshot/api_op_CreateRepositoryLink.go.snap b/service/codestarconnections/snapshot/api_op_CreateRepositoryLink.go.snap index 65347b8468c..adaf02df5e3 100644 --- a/service/codestarconnections/snapshot/api_op_CreateRepositoryLink.go.snap +++ b/service/codestarconnections/snapshot/api_op_CreateRepositoryLink.go.snap @@ -14,7 +14,6 @@ CreateRepositoryLink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarconnections/snapshot/api_op_CreateSyncConfiguration.go.snap b/service/codestarconnections/snapshot/api_op_CreateSyncConfiguration.go.snap index b642392fd36..0fcfe847dba 100644 --- a/service/codestarconnections/snapshot/api_op_CreateSyncConfiguration.go.snap +++ b/service/codestarconnections/snapshot/api_op_CreateSyncConfiguration.go.snap @@ -14,7 +14,6 @@ CreateSyncConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarconnections/snapshot/api_op_DeleteConnection.go.snap b/service/codestarconnections/snapshot/api_op_DeleteConnection.go.snap index 95b646dafd7..a9cca584913 100644 --- a/service/codestarconnections/snapshot/api_op_DeleteConnection.go.snap +++ b/service/codestarconnections/snapshot/api_op_DeleteConnection.go.snap @@ -14,7 +14,6 @@ DeleteConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarconnections/snapshot/api_op_DeleteHost.go.snap b/service/codestarconnections/snapshot/api_op_DeleteHost.go.snap index d328dc479f1..a7c03fcdf3e 100644 --- a/service/codestarconnections/snapshot/api_op_DeleteHost.go.snap +++ b/service/codestarconnections/snapshot/api_op_DeleteHost.go.snap @@ -14,7 +14,6 @@ DeleteHost Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarconnections/snapshot/api_op_DeleteRepositoryLink.go.snap b/service/codestarconnections/snapshot/api_op_DeleteRepositoryLink.go.snap index 81e3ff96a46..074285247cc 100644 --- a/service/codestarconnections/snapshot/api_op_DeleteRepositoryLink.go.snap +++ b/service/codestarconnections/snapshot/api_op_DeleteRepositoryLink.go.snap @@ -14,7 +14,6 @@ DeleteRepositoryLink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarconnections/snapshot/api_op_DeleteSyncConfiguration.go.snap b/service/codestarconnections/snapshot/api_op_DeleteSyncConfiguration.go.snap index 1a81f953b22..9fcda5b4a18 100644 --- a/service/codestarconnections/snapshot/api_op_DeleteSyncConfiguration.go.snap +++ b/service/codestarconnections/snapshot/api_op_DeleteSyncConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteSyncConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarconnections/snapshot/api_op_GetConnection.go.snap b/service/codestarconnections/snapshot/api_op_GetConnection.go.snap index b305d4ada6d..b6411ef260a 100644 --- a/service/codestarconnections/snapshot/api_op_GetConnection.go.snap +++ b/service/codestarconnections/snapshot/api_op_GetConnection.go.snap @@ -14,7 +14,6 @@ GetConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarconnections/snapshot/api_op_GetHost.go.snap b/service/codestarconnections/snapshot/api_op_GetHost.go.snap index 88dc79ef028..5ec6b7a21e0 100644 --- a/service/codestarconnections/snapshot/api_op_GetHost.go.snap +++ b/service/codestarconnections/snapshot/api_op_GetHost.go.snap @@ -14,7 +14,6 @@ GetHost Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarconnections/snapshot/api_op_GetRepositoryLink.go.snap b/service/codestarconnections/snapshot/api_op_GetRepositoryLink.go.snap index 1f48e63c255..98a4df4755f 100644 --- a/service/codestarconnections/snapshot/api_op_GetRepositoryLink.go.snap +++ b/service/codestarconnections/snapshot/api_op_GetRepositoryLink.go.snap @@ -14,7 +14,6 @@ GetRepositoryLink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarconnections/snapshot/api_op_GetRepositorySyncStatus.go.snap b/service/codestarconnections/snapshot/api_op_GetRepositorySyncStatus.go.snap index c6e829428bc..7425cb26ebe 100644 --- a/service/codestarconnections/snapshot/api_op_GetRepositorySyncStatus.go.snap +++ b/service/codestarconnections/snapshot/api_op_GetRepositorySyncStatus.go.snap @@ -14,7 +14,6 @@ GetRepositorySyncStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarconnections/snapshot/api_op_GetResourceSyncStatus.go.snap b/service/codestarconnections/snapshot/api_op_GetResourceSyncStatus.go.snap index bcf70d8de2b..451df50f87e 100644 --- a/service/codestarconnections/snapshot/api_op_GetResourceSyncStatus.go.snap +++ b/service/codestarconnections/snapshot/api_op_GetResourceSyncStatus.go.snap @@ -14,7 +14,6 @@ GetResourceSyncStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarconnections/snapshot/api_op_GetSyncBlockerSummary.go.snap b/service/codestarconnections/snapshot/api_op_GetSyncBlockerSummary.go.snap index 4e3e072da7c..0848d84664e 100644 --- a/service/codestarconnections/snapshot/api_op_GetSyncBlockerSummary.go.snap +++ b/service/codestarconnections/snapshot/api_op_GetSyncBlockerSummary.go.snap @@ -14,7 +14,6 @@ GetSyncBlockerSummary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarconnections/snapshot/api_op_GetSyncConfiguration.go.snap b/service/codestarconnections/snapshot/api_op_GetSyncConfiguration.go.snap index bc9fc1f2e9e..53275aa395b 100644 --- a/service/codestarconnections/snapshot/api_op_GetSyncConfiguration.go.snap +++ b/service/codestarconnections/snapshot/api_op_GetSyncConfiguration.go.snap @@ -14,7 +14,6 @@ GetSyncConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarconnections/snapshot/api_op_ListConnections.go.snap b/service/codestarconnections/snapshot/api_op_ListConnections.go.snap index 6701dc960d7..3a6172bafc5 100644 --- a/service/codestarconnections/snapshot/api_op_ListConnections.go.snap +++ b/service/codestarconnections/snapshot/api_op_ListConnections.go.snap @@ -13,7 +13,6 @@ ListConnections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarconnections/snapshot/api_op_ListHosts.go.snap b/service/codestarconnections/snapshot/api_op_ListHosts.go.snap index fd4cad53989..de29f38af25 100644 --- a/service/codestarconnections/snapshot/api_op_ListHosts.go.snap +++ b/service/codestarconnections/snapshot/api_op_ListHosts.go.snap @@ -13,7 +13,6 @@ ListHosts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarconnections/snapshot/api_op_ListRepositoryLinks.go.snap b/service/codestarconnections/snapshot/api_op_ListRepositoryLinks.go.snap index 9e83e105927..1861e6769f9 100644 --- a/service/codestarconnections/snapshot/api_op_ListRepositoryLinks.go.snap +++ b/service/codestarconnections/snapshot/api_op_ListRepositoryLinks.go.snap @@ -13,7 +13,6 @@ ListRepositoryLinks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarconnections/snapshot/api_op_ListRepositorySyncDefinitions.go.snap b/service/codestarconnections/snapshot/api_op_ListRepositorySyncDefinitions.go.snap index e4b70f12b93..54f91041c59 100644 --- a/service/codestarconnections/snapshot/api_op_ListRepositorySyncDefinitions.go.snap +++ b/service/codestarconnections/snapshot/api_op_ListRepositorySyncDefinitions.go.snap @@ -14,7 +14,6 @@ ListRepositorySyncDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarconnections/snapshot/api_op_ListSyncConfigurations.go.snap b/service/codestarconnections/snapshot/api_op_ListSyncConfigurations.go.snap index 113a967b5dc..d27467be637 100644 --- a/service/codestarconnections/snapshot/api_op_ListSyncConfigurations.go.snap +++ b/service/codestarconnections/snapshot/api_op_ListSyncConfigurations.go.snap @@ -14,7 +14,6 @@ ListSyncConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarconnections/snapshot/api_op_ListTagsForResource.go.snap b/service/codestarconnections/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/codestarconnections/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/codestarconnections/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarconnections/snapshot/api_op_TagResource.go.snap b/service/codestarconnections/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/codestarconnections/snapshot/api_op_TagResource.go.snap +++ b/service/codestarconnections/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarconnections/snapshot/api_op_UntagResource.go.snap b/service/codestarconnections/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/codestarconnections/snapshot/api_op_UntagResource.go.snap +++ b/service/codestarconnections/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarconnections/snapshot/api_op_UpdateHost.go.snap b/service/codestarconnections/snapshot/api_op_UpdateHost.go.snap index 5489d510539..944ce5bc434 100644 --- a/service/codestarconnections/snapshot/api_op_UpdateHost.go.snap +++ b/service/codestarconnections/snapshot/api_op_UpdateHost.go.snap @@ -14,7 +14,6 @@ UpdateHost Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarconnections/snapshot/api_op_UpdateRepositoryLink.go.snap b/service/codestarconnections/snapshot/api_op_UpdateRepositoryLink.go.snap index aa536a65024..316d67b3ed8 100644 --- a/service/codestarconnections/snapshot/api_op_UpdateRepositoryLink.go.snap +++ b/service/codestarconnections/snapshot/api_op_UpdateRepositoryLink.go.snap @@ -14,7 +14,6 @@ UpdateRepositoryLink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarconnections/snapshot/api_op_UpdateSyncBlocker.go.snap b/service/codestarconnections/snapshot/api_op_UpdateSyncBlocker.go.snap index 0916b24c2ca..44b3a1ecca1 100644 --- a/service/codestarconnections/snapshot/api_op_UpdateSyncBlocker.go.snap +++ b/service/codestarconnections/snapshot/api_op_UpdateSyncBlocker.go.snap @@ -14,7 +14,6 @@ UpdateSyncBlocker Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarconnections/snapshot/api_op_UpdateSyncConfiguration.go.snap b/service/codestarconnections/snapshot/api_op_UpdateSyncConfiguration.go.snap index 7189ce9d2f7..93f8fd6ec8f 100644 --- a/service/codestarconnections/snapshot/api_op_UpdateSyncConfiguration.go.snap +++ b/service/codestarconnections/snapshot/api_op_UpdateSyncConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateSyncConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarnotifications/api_client.go b/service/codestarnotifications/api_client.go index 3d798fcd721..90a694c80af 100644 --- a/service/codestarnotifications/api_client.go +++ b/service/codestarnotifications/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/codestarnotifications/api_op_CreateNotificationRule.go b/service/codestarnotifications/api_op_CreateNotificationRule.go index 440b6acdae8..df59e3512c3 100644 --- a/service/codestarnotifications/api_op_CreateNotificationRule.go +++ b/service/codestarnotifications/api_op_CreateNotificationRule.go @@ -160,9 +160,6 @@ func (c *Client) addOperationCreateNotificationRuleMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateNotificationRuleMiddleware(stack, options); err != nil { return err } diff --git a/service/codestarnotifications/api_op_DeleteNotificationRule.go b/service/codestarnotifications/api_op_DeleteNotificationRule.go index 2c3ef9ab664..b0c45a0b723 100644 --- a/service/codestarnotifications/api_op_DeleteNotificationRule.go +++ b/service/codestarnotifications/api_op_DeleteNotificationRule.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteNotificationRuleMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteNotificationRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarnotifications/api_op_DeleteTarget.go b/service/codestarnotifications/api_op_DeleteTarget.go index dafe9a46567..fda90f8f466 100644 --- a/service/codestarnotifications/api_op_DeleteTarget.go +++ b/service/codestarnotifications/api_op_DeleteTarget.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteTargetMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTargetValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarnotifications/api_op_DescribeNotificationRule.go b/service/codestarnotifications/api_op_DescribeNotificationRule.go index b9dd7a39eec..73e5938db80 100644 --- a/service/codestarnotifications/api_op_DescribeNotificationRule.go +++ b/service/codestarnotifications/api_op_DescribeNotificationRule.go @@ -153,9 +153,6 @@ func (c *Client) addOperationDescribeNotificationRuleMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeNotificationRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarnotifications/api_op_ListEventTypes.go b/service/codestarnotifications/api_op_ListEventTypes.go index a34b41f0d64..4d7ab0b9752 100644 --- a/service/codestarnotifications/api_op_ListEventTypes.go +++ b/service/codestarnotifications/api_op_ListEventTypes.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListEventTypesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEventTypesValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarnotifications/api_op_ListNotificationRules.go b/service/codestarnotifications/api_op_ListNotificationRules.go index a6ea2f72378..f071d0fe3a0 100644 --- a/service/codestarnotifications/api_op_ListNotificationRules.go +++ b/service/codestarnotifications/api_op_ListNotificationRules.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListNotificationRulesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListNotificationRulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarnotifications/api_op_ListTagsForResource.go b/service/codestarnotifications/api_op_ListTagsForResource.go index 57be2a26857..a481348d393 100644 --- a/service/codestarnotifications/api_op_ListTagsForResource.go +++ b/service/codestarnotifications/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarnotifications/api_op_ListTargets.go b/service/codestarnotifications/api_op_ListTargets.go index fb707c47125..57417f8bbff 100644 --- a/service/codestarnotifications/api_op_ListTargets.go +++ b/service/codestarnotifications/api_op_ListTargets.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListTargetsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTargetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarnotifications/api_op_Subscribe.go b/service/codestarnotifications/api_op_Subscribe.go index 8ceebc9cdb3..7ae46e6084b 100644 --- a/service/codestarnotifications/api_op_Subscribe.go +++ b/service/codestarnotifications/api_op_Subscribe.go @@ -126,9 +126,6 @@ func (c *Client) addOperationSubscribeMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSubscribeValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarnotifications/api_op_TagResource.go b/service/codestarnotifications/api_op_TagResource.go index 2e74fa06cff..a9cf77efee8 100644 --- a/service/codestarnotifications/api_op_TagResource.go +++ b/service/codestarnotifications/api_op_TagResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarnotifications/api_op_Unsubscribe.go b/service/codestarnotifications/api_op_Unsubscribe.go index 4a377f1bc45..14334de5e5c 100644 --- a/service/codestarnotifications/api_op_Unsubscribe.go +++ b/service/codestarnotifications/api_op_Unsubscribe.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUnsubscribeMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUnsubscribeValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarnotifications/api_op_UntagResource.go b/service/codestarnotifications/api_op_UntagResource.go index 60a3cf554bd..8dabf726ac1 100644 --- a/service/codestarnotifications/api_op_UntagResource.go +++ b/service/codestarnotifications/api_op_UntagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarnotifications/api_op_UpdateNotificationRule.go b/service/codestarnotifications/api_op_UpdateNotificationRule.go index 20989618215..bccfa086e8d 100644 --- a/service/codestarnotifications/api_op_UpdateNotificationRule.go +++ b/service/codestarnotifications/api_op_UpdateNotificationRule.go @@ -136,9 +136,6 @@ func (c *Client) addOperationUpdateNotificationRuleMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateNotificationRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/codestarnotifications/snapshot/api_op_CreateNotificationRule.go.snap b/service/codestarnotifications/snapshot/api_op_CreateNotificationRule.go.snap index 05759035fdb..5f3fa2bd6fc 100644 --- a/service/codestarnotifications/snapshot/api_op_CreateNotificationRule.go.snap +++ b/service/codestarnotifications/snapshot/api_op_CreateNotificationRule.go.snap @@ -15,7 +15,6 @@ CreateNotificationRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarnotifications/snapshot/api_op_DeleteNotificationRule.go.snap b/service/codestarnotifications/snapshot/api_op_DeleteNotificationRule.go.snap index 3e4a3458b87..3cc865918a5 100644 --- a/service/codestarnotifications/snapshot/api_op_DeleteNotificationRule.go.snap +++ b/service/codestarnotifications/snapshot/api_op_DeleteNotificationRule.go.snap @@ -14,7 +14,6 @@ DeleteNotificationRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarnotifications/snapshot/api_op_DeleteTarget.go.snap b/service/codestarnotifications/snapshot/api_op_DeleteTarget.go.snap index 2aed1d1c513..82bb807b40b 100644 --- a/service/codestarnotifications/snapshot/api_op_DeleteTarget.go.snap +++ b/service/codestarnotifications/snapshot/api_op_DeleteTarget.go.snap @@ -14,7 +14,6 @@ DeleteTarget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarnotifications/snapshot/api_op_DescribeNotificationRule.go.snap b/service/codestarnotifications/snapshot/api_op_DescribeNotificationRule.go.snap index e6905d211e9..26250563728 100644 --- a/service/codestarnotifications/snapshot/api_op_DescribeNotificationRule.go.snap +++ b/service/codestarnotifications/snapshot/api_op_DescribeNotificationRule.go.snap @@ -14,7 +14,6 @@ DescribeNotificationRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarnotifications/snapshot/api_op_ListEventTypes.go.snap b/service/codestarnotifications/snapshot/api_op_ListEventTypes.go.snap index 8d8b3b7c0e5..a94f7a3d392 100644 --- a/service/codestarnotifications/snapshot/api_op_ListEventTypes.go.snap +++ b/service/codestarnotifications/snapshot/api_op_ListEventTypes.go.snap @@ -14,7 +14,6 @@ ListEventTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarnotifications/snapshot/api_op_ListNotificationRules.go.snap b/service/codestarnotifications/snapshot/api_op_ListNotificationRules.go.snap index e1027fb174a..72d04a28424 100644 --- a/service/codestarnotifications/snapshot/api_op_ListNotificationRules.go.snap +++ b/service/codestarnotifications/snapshot/api_op_ListNotificationRules.go.snap @@ -14,7 +14,6 @@ ListNotificationRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarnotifications/snapshot/api_op_ListTagsForResource.go.snap b/service/codestarnotifications/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/codestarnotifications/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/codestarnotifications/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarnotifications/snapshot/api_op_ListTargets.go.snap b/service/codestarnotifications/snapshot/api_op_ListTargets.go.snap index 6da37c8d2db..0db5488e518 100644 --- a/service/codestarnotifications/snapshot/api_op_ListTargets.go.snap +++ b/service/codestarnotifications/snapshot/api_op_ListTargets.go.snap @@ -14,7 +14,6 @@ ListTargets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarnotifications/snapshot/api_op_Subscribe.go.snap b/service/codestarnotifications/snapshot/api_op_Subscribe.go.snap index 2c3eca135e9..e1cd0b93e66 100644 --- a/service/codestarnotifications/snapshot/api_op_Subscribe.go.snap +++ b/service/codestarnotifications/snapshot/api_op_Subscribe.go.snap @@ -14,7 +14,6 @@ Subscribe Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarnotifications/snapshot/api_op_TagResource.go.snap b/service/codestarnotifications/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/codestarnotifications/snapshot/api_op_TagResource.go.snap +++ b/service/codestarnotifications/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarnotifications/snapshot/api_op_Unsubscribe.go.snap b/service/codestarnotifications/snapshot/api_op_Unsubscribe.go.snap index bb92672f5ef..7d5bb790759 100644 --- a/service/codestarnotifications/snapshot/api_op_Unsubscribe.go.snap +++ b/service/codestarnotifications/snapshot/api_op_Unsubscribe.go.snap @@ -14,7 +14,6 @@ Unsubscribe Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarnotifications/snapshot/api_op_UntagResource.go.snap b/service/codestarnotifications/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/codestarnotifications/snapshot/api_op_UntagResource.go.snap +++ b/service/codestarnotifications/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/codestarnotifications/snapshot/api_op_UpdateNotificationRule.go.snap b/service/codestarnotifications/snapshot/api_op_UpdateNotificationRule.go.snap index 866b8ffebdc..23ef312bdc3 100644 --- a/service/codestarnotifications/snapshot/api_op_UpdateNotificationRule.go.snap +++ b/service/codestarnotifications/snapshot/api_op_UpdateNotificationRule.go.snap @@ -14,7 +14,6 @@ UpdateNotificationRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentity/api_client.go b/service/cognitoidentity/api_client.go index 81bd1c59b9f..bcbcf75c942 100644 --- a/service/cognitoidentity/api_client.go +++ b/service/cognitoidentity/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/cognitoidentity/api_op_CreateIdentityPool.go b/service/cognitoidentity/api_op_CreateIdentityPool.go index 28861fe6d8e..be4bc018c6f 100644 --- a/service/cognitoidentity/api_op_CreateIdentityPool.go +++ b/service/cognitoidentity/api_op_CreateIdentityPool.go @@ -205,9 +205,6 @@ func (c *Client) addOperationCreateIdentityPoolMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateIdentityPoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_DeleteIdentities.go b/service/cognitoidentity/api_op_DeleteIdentities.go index 43cdebe2633..eabe61c4683 100644 --- a/service/cognitoidentity/api_op_DeleteIdentities.go +++ b/service/cognitoidentity/api_op_DeleteIdentities.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteIdentitiesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIdentitiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_DeleteIdentityPool.go b/service/cognitoidentity/api_op_DeleteIdentityPool.go index 754f4bb8a91..408e20cfab8 100644 --- a/service/cognitoidentity/api_op_DeleteIdentityPool.go +++ b/service/cognitoidentity/api_op_DeleteIdentityPool.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteIdentityPoolMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIdentityPoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_DescribeIdentity.go b/service/cognitoidentity/api_op_DescribeIdentity.go index 0a97b45dda8..58d28683e69 100644 --- a/service/cognitoidentity/api_op_DescribeIdentity.go +++ b/service/cognitoidentity/api_op_DescribeIdentity.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeIdentityMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeIdentityValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_DescribeIdentityPool.go b/service/cognitoidentity/api_op_DescribeIdentityPool.go index 1b0ad1a2396..ad733efa0e3 100644 --- a/service/cognitoidentity/api_op_DescribeIdentityPool.go +++ b/service/cognitoidentity/api_op_DescribeIdentityPool.go @@ -156,9 +156,6 @@ func (c *Client) addOperationDescribeIdentityPoolMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeIdentityPoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_GetCredentialsForIdentity.go b/service/cognitoidentity/api_op_GetCredentialsForIdentity.go index 515494d9a37..5b1d4c14385 100644 --- a/service/cognitoidentity/api_op_GetCredentialsForIdentity.go +++ b/service/cognitoidentity/api_op_GetCredentialsForIdentity.go @@ -139,9 +139,6 @@ func (c *Client) addOperationGetCredentialsForIdentityMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCredentialsForIdentityValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_GetId.go b/service/cognitoidentity/api_op_GetId.go index 96a99b54e18..98422483c6d 100644 --- a/service/cognitoidentity/api_op_GetId.go +++ b/service/cognitoidentity/api_op_GetId.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetIdMiddlewares(stack *middleware.Stack, options O if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIdValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_GetIdentityPoolRoles.go b/service/cognitoidentity/api_op_GetIdentityPoolRoles.go index 0a2185ae5e2..f1af38a2c50 100644 --- a/service/cognitoidentity/api_op_GetIdentityPoolRoles.go +++ b/service/cognitoidentity/api_op_GetIdentityPoolRoles.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetIdentityPoolRolesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIdentityPoolRolesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_GetOpenIdToken.go b/service/cognitoidentity/api_op_GetOpenIdToken.go index a0c9c379537..f0e848edc39 100644 --- a/service/cognitoidentity/api_op_GetOpenIdToken.go +++ b/service/cognitoidentity/api_op_GetOpenIdToken.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetOpenIdTokenMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetOpenIdTokenValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_GetOpenIdTokenForDeveloperIdentity.go b/service/cognitoidentity/api_op_GetOpenIdTokenForDeveloperIdentity.go index b4815e2e10e..256bb20da76 100644 --- a/service/cognitoidentity/api_op_GetOpenIdTokenForDeveloperIdentity.go +++ b/service/cognitoidentity/api_op_GetOpenIdTokenForDeveloperIdentity.go @@ -163,9 +163,6 @@ func (c *Client) addOperationGetOpenIdTokenForDeveloperIdentityMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetOpenIdTokenForDeveloperIdentityValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_GetPrincipalTagAttributeMap.go b/service/cognitoidentity/api_op_GetPrincipalTagAttributeMap.go index 2371520e7f8..ca6f1e3ac61 100644 --- a/service/cognitoidentity/api_op_GetPrincipalTagAttributeMap.go +++ b/service/cognitoidentity/api_op_GetPrincipalTagAttributeMap.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGetPrincipalTagAttributeMapMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPrincipalTagAttributeMapValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_ListIdentities.go b/service/cognitoidentity/api_op_ListIdentities.go index a7621131867..c39abb6f2d2 100644 --- a/service/cognitoidentity/api_op_ListIdentities.go +++ b/service/cognitoidentity/api_op_ListIdentities.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListIdentitiesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIdentitiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_ListIdentityPools.go b/service/cognitoidentity/api_op_ListIdentityPools.go index 8008118d365..d5303b19434 100644 --- a/service/cognitoidentity/api_op_ListIdentityPools.go +++ b/service/cognitoidentity/api_op_ListIdentityPools.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListIdentityPoolsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIdentityPoolsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_ListTagsForResource.go b/service/cognitoidentity/api_op_ListTagsForResource.go index 68f0e58ad6b..b8c7a4a6b93 100644 --- a/service/cognitoidentity/api_op_ListTagsForResource.go +++ b/service/cognitoidentity/api_op_ListTagsForResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_LookupDeveloperIdentity.go b/service/cognitoidentity/api_op_LookupDeveloperIdentity.go index 6de4edd3ddc..e46f4b37e61 100644 --- a/service/cognitoidentity/api_op_LookupDeveloperIdentity.go +++ b/service/cognitoidentity/api_op_LookupDeveloperIdentity.go @@ -160,9 +160,6 @@ func (c *Client) addOperationLookupDeveloperIdentityMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpLookupDeveloperIdentityValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_MergeDeveloperIdentities.go b/service/cognitoidentity/api_op_MergeDeveloperIdentities.go index 4b3be8ad8e6..d44c0e0c060 100644 --- a/service/cognitoidentity/api_op_MergeDeveloperIdentities.go +++ b/service/cognitoidentity/api_op_MergeDeveloperIdentities.go @@ -148,9 +148,6 @@ func (c *Client) addOperationMergeDeveloperIdentitiesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMergeDeveloperIdentitiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_SetIdentityPoolRoles.go b/service/cognitoidentity/api_op_SetIdentityPoolRoles.go index ec87be876e0..ecbb87523d7 100644 --- a/service/cognitoidentity/api_op_SetIdentityPoolRoles.go +++ b/service/cognitoidentity/api_op_SetIdentityPoolRoles.go @@ -126,9 +126,6 @@ func (c *Client) addOperationSetIdentityPoolRolesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetIdentityPoolRolesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_SetPrincipalTagAttributeMap.go b/service/cognitoidentity/api_op_SetPrincipalTagAttributeMap.go index eff575add01..02d72316481 100644 --- a/service/cognitoidentity/api_op_SetPrincipalTagAttributeMap.go +++ b/service/cognitoidentity/api_op_SetPrincipalTagAttributeMap.go @@ -135,9 +135,6 @@ func (c *Client) addOperationSetPrincipalTagAttributeMapMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetPrincipalTagAttributeMapValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_TagResource.go b/service/cognitoidentity/api_op_TagResource.go index 186c92161de..1d2ba53dbb2 100644 --- a/service/cognitoidentity/api_op_TagResource.go +++ b/service/cognitoidentity/api_op_TagResource.go @@ -129,9 +129,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_UnlinkDeveloperIdentity.go b/service/cognitoidentity/api_op_UnlinkDeveloperIdentity.go index 4d3fea27f0e..a66ec711afa 100644 --- a/service/cognitoidentity/api_op_UnlinkDeveloperIdentity.go +++ b/service/cognitoidentity/api_op_UnlinkDeveloperIdentity.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUnlinkDeveloperIdentityMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUnlinkDeveloperIdentityValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_UnlinkIdentity.go b/service/cognitoidentity/api_op_UnlinkIdentity.go index 552afda47d1..b651e0ef105 100644 --- a/service/cognitoidentity/api_op_UnlinkIdentity.go +++ b/service/cognitoidentity/api_op_UnlinkIdentity.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUnlinkIdentityMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUnlinkIdentityValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_UntagResource.go b/service/cognitoidentity/api_op_UntagResource.go index 23c949b6bcd..32d8e8c1244 100644 --- a/service/cognitoidentity/api_op_UntagResource.go +++ b/service/cognitoidentity/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/api_op_UpdateIdentityPool.go b/service/cognitoidentity/api_op_UpdateIdentityPool.go index 317b2dbfbb0..562a92bb178 100644 --- a/service/cognitoidentity/api_op_UpdateIdentityPool.go +++ b/service/cognitoidentity/api_op_UpdateIdentityPool.go @@ -192,9 +192,6 @@ func (c *Client) addOperationUpdateIdentityPoolMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateIdentityPoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentity/snapshot/api_op_CreateIdentityPool.go.snap b/service/cognitoidentity/snapshot/api_op_CreateIdentityPool.go.snap index 18b75a574cf..c2ded7a9506 100644 --- a/service/cognitoidentity/snapshot/api_op_CreateIdentityPool.go.snap +++ b/service/cognitoidentity/snapshot/api_op_CreateIdentityPool.go.snap @@ -14,7 +14,6 @@ CreateIdentityPool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentity/snapshot/api_op_DeleteIdentities.go.snap b/service/cognitoidentity/snapshot/api_op_DeleteIdentities.go.snap index 571d91a4b05..dda1e084819 100644 --- a/service/cognitoidentity/snapshot/api_op_DeleteIdentities.go.snap +++ b/service/cognitoidentity/snapshot/api_op_DeleteIdentities.go.snap @@ -14,7 +14,6 @@ DeleteIdentities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentity/snapshot/api_op_DeleteIdentityPool.go.snap b/service/cognitoidentity/snapshot/api_op_DeleteIdentityPool.go.snap index 235b33d8710..9689c0bbbd6 100644 --- a/service/cognitoidentity/snapshot/api_op_DeleteIdentityPool.go.snap +++ b/service/cognitoidentity/snapshot/api_op_DeleteIdentityPool.go.snap @@ -14,7 +14,6 @@ DeleteIdentityPool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentity/snapshot/api_op_DescribeIdentity.go.snap b/service/cognitoidentity/snapshot/api_op_DescribeIdentity.go.snap index 566dce75b96..32f9dd345c8 100644 --- a/service/cognitoidentity/snapshot/api_op_DescribeIdentity.go.snap +++ b/service/cognitoidentity/snapshot/api_op_DescribeIdentity.go.snap @@ -14,7 +14,6 @@ DescribeIdentity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentity/snapshot/api_op_DescribeIdentityPool.go.snap b/service/cognitoidentity/snapshot/api_op_DescribeIdentityPool.go.snap index b29d63f101e..3fe3703e97a 100644 --- a/service/cognitoidentity/snapshot/api_op_DescribeIdentityPool.go.snap +++ b/service/cognitoidentity/snapshot/api_op_DescribeIdentityPool.go.snap @@ -14,7 +14,6 @@ DescribeIdentityPool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentity/snapshot/api_op_GetCredentialsForIdentity.go.snap b/service/cognitoidentity/snapshot/api_op_GetCredentialsForIdentity.go.snap index 141efdb6f0d..fbdda04ca82 100644 --- a/service/cognitoidentity/snapshot/api_op_GetCredentialsForIdentity.go.snap +++ b/service/cognitoidentity/snapshot/api_op_GetCredentialsForIdentity.go.snap @@ -14,7 +14,6 @@ GetCredentialsForIdentity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentity/snapshot/api_op_GetId.go.snap b/service/cognitoidentity/snapshot/api_op_GetId.go.snap index af918023216..16ce5518199 100644 --- a/service/cognitoidentity/snapshot/api_op_GetId.go.snap +++ b/service/cognitoidentity/snapshot/api_op_GetId.go.snap @@ -14,7 +14,6 @@ GetId Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentity/snapshot/api_op_GetIdentityPoolRoles.go.snap b/service/cognitoidentity/snapshot/api_op_GetIdentityPoolRoles.go.snap index c0c1a9d378e..ee8252774ee 100644 --- a/service/cognitoidentity/snapshot/api_op_GetIdentityPoolRoles.go.snap +++ b/service/cognitoidentity/snapshot/api_op_GetIdentityPoolRoles.go.snap @@ -14,7 +14,6 @@ GetIdentityPoolRoles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentity/snapshot/api_op_GetOpenIdToken.go.snap b/service/cognitoidentity/snapshot/api_op_GetOpenIdToken.go.snap index 95f14eda0fd..4b431ad5396 100644 --- a/service/cognitoidentity/snapshot/api_op_GetOpenIdToken.go.snap +++ b/service/cognitoidentity/snapshot/api_op_GetOpenIdToken.go.snap @@ -14,7 +14,6 @@ GetOpenIdToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentity/snapshot/api_op_GetOpenIdTokenForDeveloperIdentity.go.snap b/service/cognitoidentity/snapshot/api_op_GetOpenIdTokenForDeveloperIdentity.go.snap index 2a6a2e17886..37d02b11c6c 100644 --- a/service/cognitoidentity/snapshot/api_op_GetOpenIdTokenForDeveloperIdentity.go.snap +++ b/service/cognitoidentity/snapshot/api_op_GetOpenIdTokenForDeveloperIdentity.go.snap @@ -14,7 +14,6 @@ GetOpenIdTokenForDeveloperIdentity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentity/snapshot/api_op_GetPrincipalTagAttributeMap.go.snap b/service/cognitoidentity/snapshot/api_op_GetPrincipalTagAttributeMap.go.snap index d9c4ebf884c..343c7e5f4ac 100644 --- a/service/cognitoidentity/snapshot/api_op_GetPrincipalTagAttributeMap.go.snap +++ b/service/cognitoidentity/snapshot/api_op_GetPrincipalTagAttributeMap.go.snap @@ -14,7 +14,6 @@ GetPrincipalTagAttributeMap Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentity/snapshot/api_op_ListIdentities.go.snap b/service/cognitoidentity/snapshot/api_op_ListIdentities.go.snap index 2cae2e4e0ed..199fca519eb 100644 --- a/service/cognitoidentity/snapshot/api_op_ListIdentities.go.snap +++ b/service/cognitoidentity/snapshot/api_op_ListIdentities.go.snap @@ -14,7 +14,6 @@ ListIdentities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentity/snapshot/api_op_ListIdentityPools.go.snap b/service/cognitoidentity/snapshot/api_op_ListIdentityPools.go.snap index c4d531b1804..bd77e20fb59 100644 --- a/service/cognitoidentity/snapshot/api_op_ListIdentityPools.go.snap +++ b/service/cognitoidentity/snapshot/api_op_ListIdentityPools.go.snap @@ -14,7 +14,6 @@ ListIdentityPools Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentity/snapshot/api_op_ListTagsForResource.go.snap b/service/cognitoidentity/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/cognitoidentity/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/cognitoidentity/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentity/snapshot/api_op_LookupDeveloperIdentity.go.snap b/service/cognitoidentity/snapshot/api_op_LookupDeveloperIdentity.go.snap index cb29de1d115..3e4c582bac2 100644 --- a/service/cognitoidentity/snapshot/api_op_LookupDeveloperIdentity.go.snap +++ b/service/cognitoidentity/snapshot/api_op_LookupDeveloperIdentity.go.snap @@ -14,7 +14,6 @@ LookupDeveloperIdentity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentity/snapshot/api_op_MergeDeveloperIdentities.go.snap b/service/cognitoidentity/snapshot/api_op_MergeDeveloperIdentities.go.snap index bc220451b03..75de1251f3f 100644 --- a/service/cognitoidentity/snapshot/api_op_MergeDeveloperIdentities.go.snap +++ b/service/cognitoidentity/snapshot/api_op_MergeDeveloperIdentities.go.snap @@ -14,7 +14,6 @@ MergeDeveloperIdentities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentity/snapshot/api_op_SetIdentityPoolRoles.go.snap b/service/cognitoidentity/snapshot/api_op_SetIdentityPoolRoles.go.snap index df7e1003d46..b2ded98e39b 100644 --- a/service/cognitoidentity/snapshot/api_op_SetIdentityPoolRoles.go.snap +++ b/service/cognitoidentity/snapshot/api_op_SetIdentityPoolRoles.go.snap @@ -14,7 +14,6 @@ SetIdentityPoolRoles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentity/snapshot/api_op_SetPrincipalTagAttributeMap.go.snap b/service/cognitoidentity/snapshot/api_op_SetPrincipalTagAttributeMap.go.snap index 9fb72f5cfa3..2079a021d61 100644 --- a/service/cognitoidentity/snapshot/api_op_SetPrincipalTagAttributeMap.go.snap +++ b/service/cognitoidentity/snapshot/api_op_SetPrincipalTagAttributeMap.go.snap @@ -14,7 +14,6 @@ SetPrincipalTagAttributeMap Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentity/snapshot/api_op_TagResource.go.snap b/service/cognitoidentity/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/cognitoidentity/snapshot/api_op_TagResource.go.snap +++ b/service/cognitoidentity/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentity/snapshot/api_op_UnlinkDeveloperIdentity.go.snap b/service/cognitoidentity/snapshot/api_op_UnlinkDeveloperIdentity.go.snap index 77756afb9f7..94c842ad65c 100644 --- a/service/cognitoidentity/snapshot/api_op_UnlinkDeveloperIdentity.go.snap +++ b/service/cognitoidentity/snapshot/api_op_UnlinkDeveloperIdentity.go.snap @@ -14,7 +14,6 @@ UnlinkDeveloperIdentity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentity/snapshot/api_op_UnlinkIdentity.go.snap b/service/cognitoidentity/snapshot/api_op_UnlinkIdentity.go.snap index 27e55ecfa5b..37cb625d65c 100644 --- a/service/cognitoidentity/snapshot/api_op_UnlinkIdentity.go.snap +++ b/service/cognitoidentity/snapshot/api_op_UnlinkIdentity.go.snap @@ -14,7 +14,6 @@ UnlinkIdentity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentity/snapshot/api_op_UntagResource.go.snap b/service/cognitoidentity/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/cognitoidentity/snapshot/api_op_UntagResource.go.snap +++ b/service/cognitoidentity/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentity/snapshot/api_op_UpdateIdentityPool.go.snap b/service/cognitoidentity/snapshot/api_op_UpdateIdentityPool.go.snap index 0546341ba32..8dd34eb482f 100644 --- a/service/cognitoidentity/snapshot/api_op_UpdateIdentityPool.go.snap +++ b/service/cognitoidentity/snapshot/api_op_UpdateIdentityPool.go.snap @@ -14,7 +14,6 @@ UpdateIdentityPool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/api_client.go b/service/cognitoidentityprovider/api_client.go index 5d5a2c0815d..4a1538d324f 100644 --- a/service/cognitoidentityprovider/api_client.go +++ b/service/cognitoidentityprovider/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/cognitoidentityprovider/api_op_AddCustomAttributes.go b/service/cognitoidentityprovider/api_op_AddCustomAttributes.go index 7284da82bd9..92d4a216795 100644 --- a/service/cognitoidentityprovider/api_op_AddCustomAttributes.go +++ b/service/cognitoidentityprovider/api_op_AddCustomAttributes.go @@ -161,9 +161,6 @@ func (c *Client) addOperationAddCustomAttributesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddCustomAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminAddUserToGroup.go b/service/cognitoidentityprovider/api_op_AdminAddUserToGroup.go index ed3e9320392..d8056e11b0a 100644 --- a/service/cognitoidentityprovider/api_op_AdminAddUserToGroup.go +++ b/service/cognitoidentityprovider/api_op_AdminAddUserToGroup.go @@ -138,9 +138,6 @@ func (c *Client) addOperationAdminAddUserToGroupMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAdminAddUserToGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminConfirmSignUp.go b/service/cognitoidentityprovider/api_op_AdminConfirmSignUp.go index fd0f853f85d..affb253a136 100644 --- a/service/cognitoidentityprovider/api_op_AdminConfirmSignUp.go +++ b/service/cognitoidentityprovider/api_op_AdminConfirmSignUp.go @@ -173,9 +173,6 @@ func (c *Client) addOperationAdminConfirmSignUpMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAdminConfirmSignUpValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminCreateUser.go b/service/cognitoidentityprovider/api_op_AdminCreateUser.go index 4f458d68601..d88b03cbc69 100644 --- a/service/cognitoidentityprovider/api_op_AdminCreateUser.go +++ b/service/cognitoidentityprovider/api_op_AdminCreateUser.go @@ -310,9 +310,6 @@ func (c *Client) addOperationAdminCreateUserMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAdminCreateUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminDeleteUser.go b/service/cognitoidentityprovider/api_op_AdminDeleteUser.go index 5ece0407c7e..ce52a2ec39a 100644 --- a/service/cognitoidentityprovider/api_op_AdminDeleteUser.go +++ b/service/cognitoidentityprovider/api_op_AdminDeleteUser.go @@ -131,9 +131,6 @@ func (c *Client) addOperationAdminDeleteUserMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAdminDeleteUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminDeleteUserAttributes.go b/service/cognitoidentityprovider/api_op_AdminDeleteUserAttributes.go index a9f33c2fb2f..b1570e744e3 100644 --- a/service/cognitoidentityprovider/api_op_AdminDeleteUserAttributes.go +++ b/service/cognitoidentityprovider/api_op_AdminDeleteUserAttributes.go @@ -143,9 +143,6 @@ func (c *Client) addOperationAdminDeleteUserAttributesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAdminDeleteUserAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminDisableProviderForUser.go b/service/cognitoidentityprovider/api_op_AdminDisableProviderForUser.go index d308156df52..8dc6bb8d1b4 100644 --- a/service/cognitoidentityprovider/api_op_AdminDisableProviderForUser.go +++ b/service/cognitoidentityprovider/api_op_AdminDisableProviderForUser.go @@ -155,9 +155,6 @@ func (c *Client) addOperationAdminDisableProviderForUserMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAdminDisableProviderForUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminDisableUser.go b/service/cognitoidentityprovider/api_op_AdminDisableUser.go index 42bff9f66b7..929828f999c 100644 --- a/service/cognitoidentityprovider/api_op_AdminDisableUser.go +++ b/service/cognitoidentityprovider/api_op_AdminDisableUser.go @@ -135,9 +135,6 @@ func (c *Client) addOperationAdminDisableUserMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAdminDisableUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminEnableUser.go b/service/cognitoidentityprovider/api_op_AdminEnableUser.go index bc922b13537..c6b2773a6b5 100644 --- a/service/cognitoidentityprovider/api_op_AdminEnableUser.go +++ b/service/cognitoidentityprovider/api_op_AdminEnableUser.go @@ -133,9 +133,6 @@ func (c *Client) addOperationAdminEnableUserMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAdminEnableUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminForgetDevice.go b/service/cognitoidentityprovider/api_op_AdminForgetDevice.go index e59c30e347f..4e9591826fa 100644 --- a/service/cognitoidentityprovider/api_op_AdminForgetDevice.go +++ b/service/cognitoidentityprovider/api_op_AdminForgetDevice.go @@ -143,9 +143,6 @@ func (c *Client) addOperationAdminForgetDeviceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAdminForgetDeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminGetDevice.go b/service/cognitoidentityprovider/api_op_AdminGetDevice.go index 38f92b1b6d9..4fbd48e5d6c 100644 --- a/service/cognitoidentityprovider/api_op_AdminGetDevice.go +++ b/service/cognitoidentityprovider/api_op_AdminGetDevice.go @@ -150,9 +150,6 @@ func (c *Client) addOperationAdminGetDeviceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAdminGetDeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminGetUser.go b/service/cognitoidentityprovider/api_op_AdminGetUser.go index 3042e930992..c052d3fa5b8 100644 --- a/service/cognitoidentityprovider/api_op_AdminGetUser.go +++ b/service/cognitoidentityprovider/api_op_AdminGetUser.go @@ -201,9 +201,6 @@ func (c *Client) addOperationAdminGetUserMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAdminGetUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminInitiateAuth.go b/service/cognitoidentityprovider/api_op_AdminInitiateAuth.go index 5f9c90b262e..3aa2a181159 100644 --- a/service/cognitoidentityprovider/api_op_AdminInitiateAuth.go +++ b/service/cognitoidentityprovider/api_op_AdminInitiateAuth.go @@ -415,9 +415,6 @@ func (c *Client) addOperationAdminInitiateAuthMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAdminInitiateAuthValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminLinkProviderForUser.go b/service/cognitoidentityprovider/api_op_AdminLinkProviderForUser.go index 4209b9cad56..1dc3bddc3ed 100644 --- a/service/cognitoidentityprovider/api_op_AdminLinkProviderForUser.go +++ b/service/cognitoidentityprovider/api_op_AdminLinkProviderForUser.go @@ -188,9 +188,6 @@ func (c *Client) addOperationAdminLinkProviderForUserMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAdminLinkProviderForUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminListDevices.go b/service/cognitoidentityprovider/api_op_AdminListDevices.go index 84164dbe2cb..a5924d9193a 100644 --- a/service/cognitoidentityprovider/api_op_AdminListDevices.go +++ b/service/cognitoidentityprovider/api_op_AdminListDevices.go @@ -161,9 +161,6 @@ func (c *Client) addOperationAdminListDevicesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAdminListDevicesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminListGroupsForUser.go b/service/cognitoidentityprovider/api_op_AdminListGroupsForUser.go index 7ecb998df9d..11ea8cace8d 100644 --- a/service/cognitoidentityprovider/api_op_AdminListGroupsForUser.go +++ b/service/cognitoidentityprovider/api_op_AdminListGroupsForUser.go @@ -156,9 +156,6 @@ func (c *Client) addOperationAdminListGroupsForUserMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAdminListGroupsForUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminListUserAuthEvents.go b/service/cognitoidentityprovider/api_op_AdminListUserAuthEvents.go index 1288cbe181f..e0f6ccec295 100644 --- a/service/cognitoidentityprovider/api_op_AdminListUserAuthEvents.go +++ b/service/cognitoidentityprovider/api_op_AdminListUserAuthEvents.go @@ -156,9 +156,6 @@ func (c *Client) addOperationAdminListUserAuthEventsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAdminListUserAuthEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminRemoveUserFromGroup.go b/service/cognitoidentityprovider/api_op_AdminRemoveUserFromGroup.go index 49ea4aa8530..37828a6b03f 100644 --- a/service/cognitoidentityprovider/api_op_AdminRemoveUserFromGroup.go +++ b/service/cognitoidentityprovider/api_op_AdminRemoveUserFromGroup.go @@ -141,9 +141,6 @@ func (c *Client) addOperationAdminRemoveUserFromGroupMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAdminRemoveUserFromGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminResetUserPassword.go b/service/cognitoidentityprovider/api_op_AdminResetUserPassword.go index 06d74c01664..3f3caff7e6e 100644 --- a/service/cognitoidentityprovider/api_op_AdminResetUserPassword.go +++ b/service/cognitoidentityprovider/api_op_AdminResetUserPassword.go @@ -199,9 +199,6 @@ func (c *Client) addOperationAdminResetUserPasswordMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAdminResetUserPasswordValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminRespondToAuthChallenge.go b/service/cognitoidentityprovider/api_op_AdminRespondToAuthChallenge.go index 72695ccd3a4..bd2a6a0db82 100644 --- a/service/cognitoidentityprovider/api_op_AdminRespondToAuthChallenge.go +++ b/service/cognitoidentityprovider/api_op_AdminRespondToAuthChallenge.go @@ -363,9 +363,6 @@ func (c *Client) addOperationAdminRespondToAuthChallengeMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAdminRespondToAuthChallengeValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminSetUserMFAPreference.go b/service/cognitoidentityprovider/api_op_AdminSetUserMFAPreference.go index 5414f324f74..cb6ffc7b98b 100644 --- a/service/cognitoidentityprovider/api_op_AdminSetUserMFAPreference.go +++ b/service/cognitoidentityprovider/api_op_AdminSetUserMFAPreference.go @@ -157,9 +157,6 @@ func (c *Client) addOperationAdminSetUserMFAPreferenceMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAdminSetUserMFAPreferenceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminSetUserPassword.go b/service/cognitoidentityprovider/api_op_AdminSetUserPassword.go index baab428ac0b..2bea94c4c3b 100644 --- a/service/cognitoidentityprovider/api_op_AdminSetUserPassword.go +++ b/service/cognitoidentityprovider/api_op_AdminSetUserPassword.go @@ -170,9 +170,6 @@ func (c *Client) addOperationAdminSetUserPasswordMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAdminSetUserPasswordValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminSetUserSettings.go b/service/cognitoidentityprovider/api_op_AdminSetUserSettings.go index e61bcd9fdda..b1f558b1749 100644 --- a/service/cognitoidentityprovider/api_op_AdminSetUserSettings.go +++ b/service/cognitoidentityprovider/api_op_AdminSetUserSettings.go @@ -145,9 +145,6 @@ func (c *Client) addOperationAdminSetUserSettingsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAdminSetUserSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminUpdateAuthEventFeedback.go b/service/cognitoidentityprovider/api_op_AdminUpdateAuthEventFeedback.go index 4442d918a6f..86c1ae37b43 100644 --- a/service/cognitoidentityprovider/api_op_AdminUpdateAuthEventFeedback.go +++ b/service/cognitoidentityprovider/api_op_AdminUpdateAuthEventFeedback.go @@ -153,9 +153,6 @@ func (c *Client) addOperationAdminUpdateAuthEventFeedbackMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAdminUpdateAuthEventFeedbackValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminUpdateDeviceStatus.go b/service/cognitoidentityprovider/api_op_AdminUpdateDeviceStatus.go index a9c726db8cf..a7055c9d36d 100644 --- a/service/cognitoidentityprovider/api_op_AdminUpdateDeviceStatus.go +++ b/service/cognitoidentityprovider/api_op_AdminUpdateDeviceStatus.go @@ -149,9 +149,6 @@ func (c *Client) addOperationAdminUpdateDeviceStatusMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAdminUpdateDeviceStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminUpdateUserAttributes.go b/service/cognitoidentityprovider/api_op_AdminUpdateUserAttributes.go index ec2b04ad117..0b25a7e9aea 100644 --- a/service/cognitoidentityprovider/api_op_AdminUpdateUserAttributes.go +++ b/service/cognitoidentityprovider/api_op_AdminUpdateUserAttributes.go @@ -214,9 +214,6 @@ func (c *Client) addOperationAdminUpdateUserAttributesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAdminUpdateUserAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AdminUserGlobalSignOut.go b/service/cognitoidentityprovider/api_op_AdminUserGlobalSignOut.go index 8d908e8edfc..2a3e1ad7422 100644 --- a/service/cognitoidentityprovider/api_op_AdminUserGlobalSignOut.go +++ b/service/cognitoidentityprovider/api_op_AdminUserGlobalSignOut.go @@ -159,9 +159,6 @@ func (c *Client) addOperationAdminUserGlobalSignOutMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAdminUserGlobalSignOutValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_AssociateSoftwareToken.go b/service/cognitoidentityprovider/api_op_AssociateSoftwareToken.go index 76c4cbee322..5331f8174df 100644 --- a/service/cognitoidentityprovider/api_op_AssociateSoftwareToken.go +++ b/service/cognitoidentityprovider/api_op_AssociateSoftwareToken.go @@ -149,9 +149,6 @@ func (c *Client) addOperationAssociateSoftwareTokenMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateSoftwareToken(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ChangePassword.go b/service/cognitoidentityprovider/api_op_ChangePassword.go index e9c980481af..f1b4ff582dd 100644 --- a/service/cognitoidentityprovider/api_op_ChangePassword.go +++ b/service/cognitoidentityprovider/api_op_ChangePassword.go @@ -128,9 +128,6 @@ func (c *Client) addOperationChangePasswordMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpChangePasswordValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_CompleteWebAuthnRegistration.go b/service/cognitoidentityprovider/api_op_CompleteWebAuthnRegistration.go index 66c63421a8d..41bd564ea86 100644 --- a/service/cognitoidentityprovider/api_op_CompleteWebAuthnRegistration.go +++ b/service/cognitoidentityprovider/api_op_CompleteWebAuthnRegistration.go @@ -120,9 +120,6 @@ func (c *Client) addOperationCompleteWebAuthnRegistrationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCompleteWebAuthnRegistrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ConfirmDevice.go b/service/cognitoidentityprovider/api_op_ConfirmDevice.go index 4db2328fa82..6f4654cff15 100644 --- a/service/cognitoidentityprovider/api_op_ConfirmDevice.go +++ b/service/cognitoidentityprovider/api_op_ConfirmDevice.go @@ -155,9 +155,6 @@ func (c *Client) addOperationConfirmDeviceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpConfirmDeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ConfirmForgotPassword.go b/service/cognitoidentityprovider/api_op_ConfirmForgotPassword.go index e9441ad4300..7e09d8a6fb6 100644 --- a/service/cognitoidentityprovider/api_op_ConfirmForgotPassword.go +++ b/service/cognitoidentityprovider/api_op_ConfirmForgotPassword.go @@ -194,9 +194,6 @@ func (c *Client) addOperationConfirmForgotPasswordMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpConfirmForgotPasswordValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ConfirmSignUp.go b/service/cognitoidentityprovider/api_op_ConfirmSignUp.go index 1559e995b66..f6830dbbb35 100644 --- a/service/cognitoidentityprovider/api_op_ConfirmSignUp.go +++ b/service/cognitoidentityprovider/api_op_ConfirmSignUp.go @@ -228,9 +228,6 @@ func (c *Client) addOperationConfirmSignUpMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpConfirmSignUpValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_CreateGroup.go b/service/cognitoidentityprovider/api_op_CreateGroup.go index fc0b610cbc3..2b1e7b40fcd 100644 --- a/service/cognitoidentityprovider/api_op_CreateGroup.go +++ b/service/cognitoidentityprovider/api_op_CreateGroup.go @@ -161,9 +161,6 @@ func (c *Client) addOperationCreateGroupMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_CreateIdentityProvider.go b/service/cognitoidentityprovider/api_op_CreateIdentityProvider.go index 223fe0c7ee6..db3c946a8fb 100644 --- a/service/cognitoidentityprovider/api_op_CreateIdentityProvider.go +++ b/service/cognitoidentityprovider/api_op_CreateIdentityProvider.go @@ -258,9 +258,6 @@ func (c *Client) addOperationCreateIdentityProviderMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateIdentityProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_CreateManagedLoginBranding.go b/service/cognitoidentityprovider/api_op_CreateManagedLoginBranding.go index 535cc55dbc6..e64e180170a 100644 --- a/service/cognitoidentityprovider/api_op_CreateManagedLoginBranding.go +++ b/service/cognitoidentityprovider/api_op_CreateManagedLoginBranding.go @@ -174,9 +174,6 @@ func (c *Client) addOperationCreateManagedLoginBrandingMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateManagedLoginBrandingValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_CreateResourceServer.go b/service/cognitoidentityprovider/api_op_CreateResourceServer.go index a043c1fc8c1..054523498ec 100644 --- a/service/cognitoidentityprovider/api_op_CreateResourceServer.go +++ b/service/cognitoidentityprovider/api_op_CreateResourceServer.go @@ -153,9 +153,6 @@ func (c *Client) addOperationCreateResourceServerMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateResourceServerValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_CreateUserImportJob.go b/service/cognitoidentityprovider/api_op_CreateUserImportJob.go index 367c6fce9cb..367fe2ec797 100644 --- a/service/cognitoidentityprovider/api_op_CreateUserImportJob.go +++ b/service/cognitoidentityprovider/api_op_CreateUserImportJob.go @@ -145,9 +145,6 @@ func (c *Client) addOperationCreateUserImportJobMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateUserImportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_CreateUserPool.go b/service/cognitoidentityprovider/api_op_CreateUserPool.go index 0dbaf66ea72..93cdd87a715 100644 --- a/service/cognitoidentityprovider/api_op_CreateUserPool.go +++ b/service/cognitoidentityprovider/api_op_CreateUserPool.go @@ -326,9 +326,6 @@ func (c *Client) addOperationCreateUserPoolMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateUserPoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_CreateUserPoolClient.go b/service/cognitoidentityprovider/api_op_CreateUserPoolClient.go index 443893f5db1..4bb41a6fe5b 100644 --- a/service/cognitoidentityprovider/api_op_CreateUserPoolClient.go +++ b/service/cognitoidentityprovider/api_op_CreateUserPoolClient.go @@ -430,9 +430,6 @@ func (c *Client) addOperationCreateUserPoolClientMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateUserPoolClientValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_CreateUserPoolDomain.go b/service/cognitoidentityprovider/api_op_CreateUserPoolDomain.go index 2300eba538a..5f0b24ccaa4 100644 --- a/service/cognitoidentityprovider/api_op_CreateUserPoolDomain.go +++ b/service/cognitoidentityprovider/api_op_CreateUserPoolDomain.go @@ -174,9 +174,6 @@ func (c *Client) addOperationCreateUserPoolDomainMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateUserPoolDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DeleteGroup.go b/service/cognitoidentityprovider/api_op_DeleteGroup.go index 0cee2743817..9e5a0414c24 100644 --- a/service/cognitoidentityprovider/api_op_DeleteGroup.go +++ b/service/cognitoidentityprovider/api_op_DeleteGroup.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDeleteGroupMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DeleteIdentityProvider.go b/service/cognitoidentityprovider/api_op_DeleteIdentityProvider.go index 8db2a75704f..7e7286d1773 100644 --- a/service/cognitoidentityprovider/api_op_DeleteIdentityProvider.go +++ b/service/cognitoidentityprovider/api_op_DeleteIdentityProvider.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDeleteIdentityProviderMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIdentityProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DeleteManagedLoginBranding.go b/service/cognitoidentityprovider/api_op_DeleteManagedLoginBranding.go index 388f214457c..92be2e48f8b 100644 --- a/service/cognitoidentityprovider/api_op_DeleteManagedLoginBranding.go +++ b/service/cognitoidentityprovider/api_op_DeleteManagedLoginBranding.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDeleteManagedLoginBrandingMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteManagedLoginBrandingValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DeleteResourceServer.go b/service/cognitoidentityprovider/api_op_DeleteResourceServer.go index aa2c1a74be5..5239765c68e 100644 --- a/service/cognitoidentityprovider/api_op_DeleteResourceServer.go +++ b/service/cognitoidentityprovider/api_op_DeleteResourceServer.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDeleteResourceServerMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourceServerValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DeleteUser.go b/service/cognitoidentityprovider/api_op_DeleteUser.go index 7c632c2188c..94e596b60a7 100644 --- a/service/cognitoidentityprovider/api_op_DeleteUser.go +++ b/service/cognitoidentityprovider/api_op_DeleteUser.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DeleteUserAttributes.go b/service/cognitoidentityprovider/api_op_DeleteUserAttributes.go index bc87439380b..c623e94e010 100644 --- a/service/cognitoidentityprovider/api_op_DeleteUserAttributes.go +++ b/service/cognitoidentityprovider/api_op_DeleteUserAttributes.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteUserAttributesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUserAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DeleteUserPool.go b/service/cognitoidentityprovider/api_op_DeleteUserPool.go index 76036d74a8d..76453413dd1 100644 --- a/service/cognitoidentityprovider/api_op_DeleteUserPool.go +++ b/service/cognitoidentityprovider/api_op_DeleteUserPool.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteUserPoolMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUserPoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DeleteUserPoolClient.go b/service/cognitoidentityprovider/api_op_DeleteUserPoolClient.go index 3e3df0fb651..e28479703eb 100644 --- a/service/cognitoidentityprovider/api_op_DeleteUserPoolClient.go +++ b/service/cognitoidentityprovider/api_op_DeleteUserPoolClient.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteUserPoolClientMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUserPoolClientValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DeleteUserPoolDomain.go b/service/cognitoidentityprovider/api_op_DeleteUserPoolDomain.go index e9f04c715c4..15e3428bd7f 100644 --- a/service/cognitoidentityprovider/api_op_DeleteUserPoolDomain.go +++ b/service/cognitoidentityprovider/api_op_DeleteUserPoolDomain.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteUserPoolDomainMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUserPoolDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DeleteWebAuthnCredential.go b/service/cognitoidentityprovider/api_op_DeleteWebAuthnCredential.go index 45a076b4e52..91fe01abba7 100644 --- a/service/cognitoidentityprovider/api_op_DeleteWebAuthnCredential.go +++ b/service/cognitoidentityprovider/api_op_DeleteWebAuthnCredential.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDeleteWebAuthnCredentialMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWebAuthnCredentialValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DescribeIdentityProvider.go b/service/cognitoidentityprovider/api_op_DescribeIdentityProvider.go index 2d577a849c9..d0cf21ffca2 100644 --- a/service/cognitoidentityprovider/api_op_DescribeIdentityProvider.go +++ b/service/cognitoidentityprovider/api_op_DescribeIdentityProvider.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDescribeIdentityProviderMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeIdentityProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DescribeManagedLoginBranding.go b/service/cognitoidentityprovider/api_op_DescribeManagedLoginBranding.go index 6bcbbf510ff..320cafda758 100644 --- a/service/cognitoidentityprovider/api_op_DescribeManagedLoginBranding.go +++ b/service/cognitoidentityprovider/api_op_DescribeManagedLoginBranding.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribeManagedLoginBrandingMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeManagedLoginBrandingValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DescribeManagedLoginBrandingByClient.go b/service/cognitoidentityprovider/api_op_DescribeManagedLoginBrandingByClient.go index 361e59c63e8..1a9e6a0df8d 100644 --- a/service/cognitoidentityprovider/api_op_DescribeManagedLoginBrandingByClient.go +++ b/service/cognitoidentityprovider/api_op_DescribeManagedLoginBrandingByClient.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribeManagedLoginBrandingByClientMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeManagedLoginBrandingByClientValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DescribeResourceServer.go b/service/cognitoidentityprovider/api_op_DescribeResourceServer.go index 9865b4aa448..f24a1d7dfe8 100644 --- a/service/cognitoidentityprovider/api_op_DescribeResourceServer.go +++ b/service/cognitoidentityprovider/api_op_DescribeResourceServer.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeResourceServerMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeResourceServerValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DescribeRiskConfiguration.go b/service/cognitoidentityprovider/api_op_DescribeRiskConfiguration.go index a6c6ca70f62..bd76c468938 100644 --- a/service/cognitoidentityprovider/api_op_DescribeRiskConfiguration.go +++ b/service/cognitoidentityprovider/api_op_DescribeRiskConfiguration.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeRiskConfigurationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRiskConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DescribeUserImportJob.go b/service/cognitoidentityprovider/api_op_DescribeUserImportJob.go index 5a71b03d265..c5abe9b9fd5 100644 --- a/service/cognitoidentityprovider/api_op_DescribeUserImportJob.go +++ b/service/cognitoidentityprovider/api_op_DescribeUserImportJob.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeUserImportJobMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeUserImportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DescribeUserPool.go b/service/cognitoidentityprovider/api_op_DescribeUserPool.go index ecf2cdb123e..029e044e4a1 100644 --- a/service/cognitoidentityprovider/api_op_DescribeUserPool.go +++ b/service/cognitoidentityprovider/api_op_DescribeUserPool.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeUserPoolMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeUserPoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DescribeUserPoolClient.go b/service/cognitoidentityprovider/api_op_DescribeUserPoolClient.go index 49324b59329..afd4b900e73 100644 --- a/service/cognitoidentityprovider/api_op_DescribeUserPoolClient.go +++ b/service/cognitoidentityprovider/api_op_DescribeUserPoolClient.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDescribeUserPoolClientMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeUserPoolClientValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_DescribeUserPoolDomain.go b/service/cognitoidentityprovider/api_op_DescribeUserPoolDomain.go index 28892daa975..d02a41bd7bf 100644 --- a/service/cognitoidentityprovider/api_op_DescribeUserPoolDomain.go +++ b/service/cognitoidentityprovider/api_op_DescribeUserPoolDomain.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeUserPoolDomainMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeUserPoolDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ForgetDevice.go b/service/cognitoidentityprovider/api_op_ForgetDevice.go index 108a36c10f9..b64625c4682 100644 --- a/service/cognitoidentityprovider/api_op_ForgetDevice.go +++ b/service/cognitoidentityprovider/api_op_ForgetDevice.go @@ -122,9 +122,6 @@ func (c *Client) addOperationForgetDeviceMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpForgetDeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ForgotPassword.go b/service/cognitoidentityprovider/api_op_ForgotPassword.go index c8745202e0c..0dd1b8d9ae3 100644 --- a/service/cognitoidentityprovider/api_op_ForgotPassword.go +++ b/service/cognitoidentityprovider/api_op_ForgotPassword.go @@ -216,9 +216,6 @@ func (c *Client) addOperationForgotPasswordMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpForgotPasswordValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_GetCSVHeader.go b/service/cognitoidentityprovider/api_op_GetCSVHeader.go index 7b06551676a..42831134aee 100644 --- a/service/cognitoidentityprovider/api_op_GetCSVHeader.go +++ b/service/cognitoidentityprovider/api_op_GetCSVHeader.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetCSVHeaderMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCSVHeaderValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_GetDevice.go b/service/cognitoidentityprovider/api_op_GetDevice.go index 240c97decbe..8852d0039d5 100644 --- a/service/cognitoidentityprovider/api_op_GetDevice.go +++ b/service/cognitoidentityprovider/api_op_GetDevice.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGetDeviceMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_GetGroup.go b/service/cognitoidentityprovider/api_op_GetGroup.go index 3ef253d8a1c..2baa3d9ce01 100644 --- a/service/cognitoidentityprovider/api_op_GetGroup.go +++ b/service/cognitoidentityprovider/api_op_GetGroup.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetGroupMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_GetIdentityProviderByIdentifier.go b/service/cognitoidentityprovider/api_op_GetIdentityProviderByIdentifier.go index ce1e0def210..3ec4c15bcbf 100644 --- a/service/cognitoidentityprovider/api_op_GetIdentityProviderByIdentifier.go +++ b/service/cognitoidentityprovider/api_op_GetIdentityProviderByIdentifier.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetIdentityProviderByIdentifierMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIdentityProviderByIdentifierValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_GetLogDeliveryConfiguration.go b/service/cognitoidentityprovider/api_op_GetLogDeliveryConfiguration.go index fe8780fcf91..95f0f45d83d 100644 --- a/service/cognitoidentityprovider/api_op_GetLogDeliveryConfiguration.go +++ b/service/cognitoidentityprovider/api_op_GetLogDeliveryConfiguration.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetLogDeliveryConfigurationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLogDeliveryConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_GetSigningCertificate.go b/service/cognitoidentityprovider/api_op_GetSigningCertificate.go index 0abc5b43274..80918899254 100644 --- a/service/cognitoidentityprovider/api_op_GetSigningCertificate.go +++ b/service/cognitoidentityprovider/api_op_GetSigningCertificate.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetSigningCertificateMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSigningCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_GetUICustomization.go b/service/cognitoidentityprovider/api_op_GetUICustomization.go index 1a8e1f0072b..9023c3bc903 100644 --- a/service/cognitoidentityprovider/api_op_GetUICustomization.go +++ b/service/cognitoidentityprovider/api_op_GetUICustomization.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetUICustomizationMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUICustomizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_GetUser.go b/service/cognitoidentityprovider/api_op_GetUser.go index 6e53a1f88ec..163695fe86f 100644 --- a/service/cognitoidentityprovider/api_op_GetUser.go +++ b/service/cognitoidentityprovider/api_op_GetUser.go @@ -147,9 +147,6 @@ func (c *Client) addOperationGetUserMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_GetUserAttributeVerificationCode.go b/service/cognitoidentityprovider/api_op_GetUserAttributeVerificationCode.go index b55917f33ac..23077e316b3 100644 --- a/service/cognitoidentityprovider/api_op_GetUserAttributeVerificationCode.go +++ b/service/cognitoidentityprovider/api_op_GetUserAttributeVerificationCode.go @@ -182,9 +182,6 @@ func (c *Client) addOperationGetUserAttributeVerificationCodeMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUserAttributeVerificationCodeValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_GetUserAuthFactors.go b/service/cognitoidentityprovider/api_op_GetUserAuthFactors.go index bfd2ca83520..ed341c6d0aa 100644 --- a/service/cognitoidentityprovider/api_op_GetUserAuthFactors.go +++ b/service/cognitoidentityprovider/api_op_GetUserAuthFactors.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetUserAuthFactorsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUserAuthFactorsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_GetUserPoolMfaConfig.go b/service/cognitoidentityprovider/api_op_GetUserPoolMfaConfig.go index 213d04398e7..628e519e11d 100644 --- a/service/cognitoidentityprovider/api_op_GetUserPoolMfaConfig.go +++ b/service/cognitoidentityprovider/api_op_GetUserPoolMfaConfig.go @@ -138,9 +138,6 @@ func (c *Client) addOperationGetUserPoolMfaConfigMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUserPoolMfaConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_GlobalSignOut.go b/service/cognitoidentityprovider/api_op_GlobalSignOut.go index cd6528d4db4..a733e657a2b 100644 --- a/service/cognitoidentityprovider/api_op_GlobalSignOut.go +++ b/service/cognitoidentityprovider/api_op_GlobalSignOut.go @@ -145,9 +145,6 @@ func (c *Client) addOperationGlobalSignOutMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGlobalSignOutValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_InitiateAuth.go b/service/cognitoidentityprovider/api_op_InitiateAuth.go index a10920f87b1..1bcdd575f0c 100644 --- a/service/cognitoidentityprovider/api_op_InitiateAuth.go +++ b/service/cognitoidentityprovider/api_op_InitiateAuth.go @@ -395,9 +395,6 @@ func (c *Client) addOperationInitiateAuthMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpInitiateAuthValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ListDevices.go b/service/cognitoidentityprovider/api_op_ListDevices.go index e9037acc3ec..5e957176a5e 100644 --- a/service/cognitoidentityprovider/api_op_ListDevices.go +++ b/service/cognitoidentityprovider/api_op_ListDevices.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListDevicesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDevicesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ListGroups.go b/service/cognitoidentityprovider/api_op_ListGroups.go index 8bf58e38e29..25f10058e60 100644 --- a/service/cognitoidentityprovider/api_op_ListGroups.go +++ b/service/cognitoidentityprovider/api_op_ListGroups.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListGroupsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ListIdentityProviders.go b/service/cognitoidentityprovider/api_op_ListIdentityProviders.go index cbfcb8603ca..258bd9684df 100644 --- a/service/cognitoidentityprovider/api_op_ListIdentityProviders.go +++ b/service/cognitoidentityprovider/api_op_ListIdentityProviders.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListIdentityProvidersMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIdentityProvidersValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ListResourceServers.go b/service/cognitoidentityprovider/api_op_ListResourceServers.go index 1d598a6c958..2a11f93a2ef 100644 --- a/service/cognitoidentityprovider/api_op_ListResourceServers.go +++ b/service/cognitoidentityprovider/api_op_ListResourceServers.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListResourceServersMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListResourceServersValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ListTagsForResource.go b/service/cognitoidentityprovider/api_op_ListTagsForResource.go index 7fba859b07f..450d7fe389e 100644 --- a/service/cognitoidentityprovider/api_op_ListTagsForResource.go +++ b/service/cognitoidentityprovider/api_op_ListTagsForResource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ListUserImportJobs.go b/service/cognitoidentityprovider/api_op_ListUserImportJobs.go index 3efd8967f6c..0423241b93d 100644 --- a/service/cognitoidentityprovider/api_op_ListUserImportJobs.go +++ b/service/cognitoidentityprovider/api_op_ListUserImportJobs.go @@ -148,9 +148,6 @@ func (c *Client) addOperationListUserImportJobsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListUserImportJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ListUserPoolClients.go b/service/cognitoidentityprovider/api_op_ListUserPoolClients.go index 9d174e95a09..51bb15e2375 100644 --- a/service/cognitoidentityprovider/api_op_ListUserPoolClients.go +++ b/service/cognitoidentityprovider/api_op_ListUserPoolClients.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListUserPoolClientsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListUserPoolClientsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ListUserPools.go b/service/cognitoidentityprovider/api_op_ListUserPools.go index c28df11c108..48a271be6cf 100644 --- a/service/cognitoidentityprovider/api_op_ListUserPools.go +++ b/service/cognitoidentityprovider/api_op_ListUserPools.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListUserPoolsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListUserPoolsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ListUsers.go b/service/cognitoidentityprovider/api_op_ListUsers.go index 916c33c834f..3b4553a301a 100644 --- a/service/cognitoidentityprovider/api_op_ListUsers.go +++ b/service/cognitoidentityprovider/api_op_ListUsers.go @@ -223,9 +223,6 @@ func (c *Client) addOperationListUsersMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListUsersValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ListUsersInGroup.go b/service/cognitoidentityprovider/api_op_ListUsersInGroup.go index 6e1b1a013c4..75bf9fe3450 100644 --- a/service/cognitoidentityprovider/api_op_ListUsersInGroup.go +++ b/service/cognitoidentityprovider/api_op_ListUsersInGroup.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListUsersInGroupMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListUsersInGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ListWebAuthnCredentials.go b/service/cognitoidentityprovider/api_op_ListWebAuthnCredentials.go index eb543d81fe8..ccfaad558e9 100644 --- a/service/cognitoidentityprovider/api_op_ListWebAuthnCredentials.go +++ b/service/cognitoidentityprovider/api_op_ListWebAuthnCredentials.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListWebAuthnCredentialsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListWebAuthnCredentialsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_ResendConfirmationCode.go b/service/cognitoidentityprovider/api_op_ResendConfirmationCode.go index c85519fa15e..5ac6cf7ad08 100644 --- a/service/cognitoidentityprovider/api_op_ResendConfirmationCode.go +++ b/service/cognitoidentityprovider/api_op_ResendConfirmationCode.go @@ -200,9 +200,6 @@ func (c *Client) addOperationResendConfirmationCodeMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResendConfirmationCodeValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_RespondToAuthChallenge.go b/service/cognitoidentityprovider/api_op_RespondToAuthChallenge.go index 46b70c84145..5b2a3565e5c 100644 --- a/service/cognitoidentityprovider/api_op_RespondToAuthChallenge.go +++ b/service/cognitoidentityprovider/api_op_RespondToAuthChallenge.go @@ -326,9 +326,6 @@ func (c *Client) addOperationRespondToAuthChallengeMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRespondToAuthChallengeValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_RevokeToken.go b/service/cognitoidentityprovider/api_op_RevokeToken.go index d39978850c6..769a7224707 100644 --- a/service/cognitoidentityprovider/api_op_RevokeToken.go +++ b/service/cognitoidentityprovider/api_op_RevokeToken.go @@ -124,9 +124,6 @@ func (c *Client) addOperationRevokeTokenMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRevokeTokenValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_SetLogDeliveryConfiguration.go b/service/cognitoidentityprovider/api_op_SetLogDeliveryConfiguration.go index 83d3f715629..200c485a423 100644 --- a/service/cognitoidentityprovider/api_op_SetLogDeliveryConfiguration.go +++ b/service/cognitoidentityprovider/api_op_SetLogDeliveryConfiguration.go @@ -119,9 +119,6 @@ func (c *Client) addOperationSetLogDeliveryConfigurationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetLogDeliveryConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_SetRiskConfiguration.go b/service/cognitoidentityprovider/api_op_SetRiskConfiguration.go index bab147e6464..ed20a3f9854 100644 --- a/service/cognitoidentityprovider/api_op_SetRiskConfiguration.go +++ b/service/cognitoidentityprovider/api_op_SetRiskConfiguration.go @@ -136,9 +136,6 @@ func (c *Client) addOperationSetRiskConfigurationMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetRiskConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_SetUICustomization.go b/service/cognitoidentityprovider/api_op_SetUICustomization.go index 983c684b39f..e29ddc79b32 100644 --- a/service/cognitoidentityprovider/api_op_SetUICustomization.go +++ b/service/cognitoidentityprovider/api_op_SetUICustomization.go @@ -134,9 +134,6 @@ func (c *Client) addOperationSetUICustomizationMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetUICustomizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_SetUserMFAPreference.go b/service/cognitoidentityprovider/api_op_SetUserMFAPreference.go index 0ea71e8ca89..218c1822cfa 100644 --- a/service/cognitoidentityprovider/api_op_SetUserMFAPreference.go +++ b/service/cognitoidentityprovider/api_op_SetUserMFAPreference.go @@ -147,9 +147,6 @@ func (c *Client) addOperationSetUserMFAPreferenceMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetUserMFAPreferenceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_SetUserPoolMfaConfig.go b/service/cognitoidentityprovider/api_op_SetUserPoolMfaConfig.go index 5780e773227..ae90bf7be50 100644 --- a/service/cognitoidentityprovider/api_op_SetUserPoolMfaConfig.go +++ b/service/cognitoidentityprovider/api_op_SetUserPoolMfaConfig.go @@ -191,9 +191,6 @@ func (c *Client) addOperationSetUserPoolMfaConfigMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetUserPoolMfaConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_SetUserSettings.go b/service/cognitoidentityprovider/api_op_SetUserSettings.go index dde6b297691..fd99a1bdda9 100644 --- a/service/cognitoidentityprovider/api_op_SetUserSettings.go +++ b/service/cognitoidentityprovider/api_op_SetUserSettings.go @@ -129,9 +129,6 @@ func (c *Client) addOperationSetUserSettingsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetUserSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_SignUp.go b/service/cognitoidentityprovider/api_op_SignUp.go index 10fc196cf7e..6e421a56317 100644 --- a/service/cognitoidentityprovider/api_op_SignUp.go +++ b/service/cognitoidentityprovider/api_op_SignUp.go @@ -254,9 +254,6 @@ func (c *Client) addOperationSignUpMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSignUpValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_StartUserImportJob.go b/service/cognitoidentityprovider/api_op_StartUserImportJob.go index faa3c2c15d9..2c590d1df1d 100644 --- a/service/cognitoidentityprovider/api_op_StartUserImportJob.go +++ b/service/cognitoidentityprovider/api_op_StartUserImportJob.go @@ -120,9 +120,6 @@ func (c *Client) addOperationStartUserImportJobMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartUserImportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_StartWebAuthnRegistration.go b/service/cognitoidentityprovider/api_op_StartWebAuthnRegistration.go index 948ce39fbf3..1b954ad5655 100644 --- a/service/cognitoidentityprovider/api_op_StartWebAuthnRegistration.go +++ b/service/cognitoidentityprovider/api_op_StartWebAuthnRegistration.go @@ -124,9 +124,6 @@ func (c *Client) addOperationStartWebAuthnRegistrationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartWebAuthnRegistrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_StopUserImportJob.go b/service/cognitoidentityprovider/api_op_StopUserImportJob.go index c8c56d49cb4..f310bf8eeef 100644 --- a/service/cognitoidentityprovider/api_op_StopUserImportJob.go +++ b/service/cognitoidentityprovider/api_op_StopUserImportJob.go @@ -120,9 +120,6 @@ func (c *Client) addOperationStopUserImportJobMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopUserImportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_TagResource.go b/service/cognitoidentityprovider/api_op_TagResource.go index 309b7a13419..f0d5ad0c3f9 100644 --- a/service/cognitoidentityprovider/api_op_TagResource.go +++ b/service/cognitoidentityprovider/api_op_TagResource.go @@ -129,9 +129,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_UntagResource.go b/service/cognitoidentityprovider/api_op_UntagResource.go index 07493cdc7c7..27999233121 100644 --- a/service/cognitoidentityprovider/api_op_UntagResource.go +++ b/service/cognitoidentityprovider/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_UpdateAuthEventFeedback.go b/service/cognitoidentityprovider/api_op_UpdateAuthEventFeedback.go index 11ad5100185..153ef95ba85 100644 --- a/service/cognitoidentityprovider/api_op_UpdateAuthEventFeedback.go +++ b/service/cognitoidentityprovider/api_op_UpdateAuthEventFeedback.go @@ -143,9 +143,6 @@ func (c *Client) addOperationUpdateAuthEventFeedbackMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAuthEventFeedbackValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_UpdateDeviceStatus.go b/service/cognitoidentityprovider/api_op_UpdateDeviceStatus.go index 4d09be211b7..0dc296b51ea 100644 --- a/service/cognitoidentityprovider/api_op_UpdateDeviceStatus.go +++ b/service/cognitoidentityprovider/api_op_UpdateDeviceStatus.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUpdateDeviceStatusMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDeviceStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_UpdateGroup.go b/service/cognitoidentityprovider/api_op_UpdateGroup.go index aaa31ef2f87..92dbf90bd59 100644 --- a/service/cognitoidentityprovider/api_op_UpdateGroup.go +++ b/service/cognitoidentityprovider/api_op_UpdateGroup.go @@ -144,9 +144,6 @@ func (c *Client) addOperationUpdateGroupMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_UpdateIdentityProvider.go b/service/cognitoidentityprovider/api_op_UpdateIdentityProvider.go index e05277151f5..8b8f00def27 100644 --- a/service/cognitoidentityprovider/api_op_UpdateIdentityProvider.go +++ b/service/cognitoidentityprovider/api_op_UpdateIdentityProvider.go @@ -234,9 +234,6 @@ func (c *Client) addOperationUpdateIdentityProviderMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateIdentityProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_UpdateManagedLoginBranding.go b/service/cognitoidentityprovider/api_op_UpdateManagedLoginBranding.go index b514139782c..5b28d76221b 100644 --- a/service/cognitoidentityprovider/api_op_UpdateManagedLoginBranding.go +++ b/service/cognitoidentityprovider/api_op_UpdateManagedLoginBranding.go @@ -163,9 +163,6 @@ func (c *Client) addOperationUpdateManagedLoginBrandingMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateManagedLoginBrandingValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_UpdateResourceServer.go b/service/cognitoidentityprovider/api_op_UpdateResourceServer.go index fc55e72d5c6..ebc258c3691 100644 --- a/service/cognitoidentityprovider/api_op_UpdateResourceServer.go +++ b/service/cognitoidentityprovider/api_op_UpdateResourceServer.go @@ -149,9 +149,6 @@ func (c *Client) addOperationUpdateResourceServerMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateResourceServerValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_UpdateUserAttributes.go b/service/cognitoidentityprovider/api_op_UpdateUserAttributes.go index f9449892ac9..90c20167d09 100644 --- a/service/cognitoidentityprovider/api_op_UpdateUserAttributes.go +++ b/service/cognitoidentityprovider/api_op_UpdateUserAttributes.go @@ -192,9 +192,6 @@ func (c *Client) addOperationUpdateUserAttributesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateUserAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_UpdateUserPool.go b/service/cognitoidentityprovider/api_op_UpdateUserPool.go index e121efba5f4..90d63a698a1 100644 --- a/service/cognitoidentityprovider/api_op_UpdateUserPool.go +++ b/service/cognitoidentityprovider/api_op_UpdateUserPool.go @@ -267,9 +267,6 @@ func (c *Client) addOperationUpdateUserPoolMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateUserPoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_UpdateUserPoolClient.go b/service/cognitoidentityprovider/api_op_UpdateUserPoolClient.go index c452cb3c0dd..c243d5053b0 100644 --- a/service/cognitoidentityprovider/api_op_UpdateUserPoolClient.go +++ b/service/cognitoidentityprovider/api_op_UpdateUserPoolClient.go @@ -430,9 +430,6 @@ func (c *Client) addOperationUpdateUserPoolClientMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateUserPoolClientValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_UpdateUserPoolDomain.go b/service/cognitoidentityprovider/api_op_UpdateUserPoolDomain.go index 9d63d5dd5ae..d890cf2ac32 100644 --- a/service/cognitoidentityprovider/api_op_UpdateUserPoolDomain.go +++ b/service/cognitoidentityprovider/api_op_UpdateUserPoolDomain.go @@ -190,9 +190,6 @@ func (c *Client) addOperationUpdateUserPoolDomainMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateUserPoolDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_VerifySoftwareToken.go b/service/cognitoidentityprovider/api_op_VerifySoftwareToken.go index dc4feeae82c..465839e4c45 100644 --- a/service/cognitoidentityprovider/api_op_VerifySoftwareToken.go +++ b/service/cognitoidentityprovider/api_op_VerifySoftwareToken.go @@ -136,9 +136,6 @@ func (c *Client) addOperationVerifySoftwareTokenMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpVerifySoftwareTokenValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/api_op_VerifyUserAttribute.go b/service/cognitoidentityprovider/api_op_VerifyUserAttribute.go index 06dbe91d941..5b319c39d26 100644 --- a/service/cognitoidentityprovider/api_op_VerifyUserAttribute.go +++ b/service/cognitoidentityprovider/api_op_VerifyUserAttribute.go @@ -134,9 +134,6 @@ func (c *Client) addOperationVerifyUserAttributeMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpVerifyUserAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitoidentityprovider/snapshot/api_op_AddCustomAttributes.go.snap b/service/cognitoidentityprovider/snapshot/api_op_AddCustomAttributes.go.snap index d4d9e83d963..61883dee36f 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_AddCustomAttributes.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_AddCustomAttributes.go.snap @@ -14,7 +14,6 @@ AddCustomAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_AdminAddUserToGroup.go.snap b/service/cognitoidentityprovider/snapshot/api_op_AdminAddUserToGroup.go.snap index 9b1595c3a88..7866bb67c1b 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_AdminAddUserToGroup.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_AdminAddUserToGroup.go.snap @@ -14,7 +14,6 @@ AdminAddUserToGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_AdminConfirmSignUp.go.snap b/service/cognitoidentityprovider/snapshot/api_op_AdminConfirmSignUp.go.snap index 03f4e7088aa..0243dd5476e 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_AdminConfirmSignUp.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_AdminConfirmSignUp.go.snap @@ -14,7 +14,6 @@ AdminConfirmSignUp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_AdminCreateUser.go.snap b/service/cognitoidentityprovider/snapshot/api_op_AdminCreateUser.go.snap index 1cd099857b3..758de5ffdee 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_AdminCreateUser.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_AdminCreateUser.go.snap @@ -14,7 +14,6 @@ AdminCreateUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_AdminDeleteUser.go.snap b/service/cognitoidentityprovider/snapshot/api_op_AdminDeleteUser.go.snap index 207d51e52cb..1cf7cc4dbe2 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_AdminDeleteUser.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_AdminDeleteUser.go.snap @@ -14,7 +14,6 @@ AdminDeleteUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_AdminDeleteUserAttributes.go.snap b/service/cognitoidentityprovider/snapshot/api_op_AdminDeleteUserAttributes.go.snap index 2dd55685155..6777a83d7b4 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_AdminDeleteUserAttributes.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_AdminDeleteUserAttributes.go.snap @@ -14,7 +14,6 @@ AdminDeleteUserAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_AdminDisableProviderForUser.go.snap b/service/cognitoidentityprovider/snapshot/api_op_AdminDisableProviderForUser.go.snap index b08648f8aae..bcbc998edea 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_AdminDisableProviderForUser.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_AdminDisableProviderForUser.go.snap @@ -14,7 +14,6 @@ AdminDisableProviderForUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_AdminDisableUser.go.snap b/service/cognitoidentityprovider/snapshot/api_op_AdminDisableUser.go.snap index 1348fa8f71a..42aa7b52985 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_AdminDisableUser.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_AdminDisableUser.go.snap @@ -14,7 +14,6 @@ AdminDisableUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_AdminEnableUser.go.snap b/service/cognitoidentityprovider/snapshot/api_op_AdminEnableUser.go.snap index f48bed25c23..67d844f12fe 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_AdminEnableUser.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_AdminEnableUser.go.snap @@ -14,7 +14,6 @@ AdminEnableUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_AdminForgetDevice.go.snap b/service/cognitoidentityprovider/snapshot/api_op_AdminForgetDevice.go.snap index cf4a38b0bb0..05b184d142a 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_AdminForgetDevice.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_AdminForgetDevice.go.snap @@ -14,7 +14,6 @@ AdminForgetDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_AdminGetDevice.go.snap b/service/cognitoidentityprovider/snapshot/api_op_AdminGetDevice.go.snap index 1d9e740fa0d..780d733c5bf 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_AdminGetDevice.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_AdminGetDevice.go.snap @@ -14,7 +14,6 @@ AdminGetDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_AdminGetUser.go.snap b/service/cognitoidentityprovider/snapshot/api_op_AdminGetUser.go.snap index d7d9fde7b9c..aa3e6f61682 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_AdminGetUser.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_AdminGetUser.go.snap @@ -14,7 +14,6 @@ AdminGetUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_AdminInitiateAuth.go.snap b/service/cognitoidentityprovider/snapshot/api_op_AdminInitiateAuth.go.snap index 3c838ebefc8..f0c88ecd92c 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_AdminInitiateAuth.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_AdminInitiateAuth.go.snap @@ -14,7 +14,6 @@ AdminInitiateAuth Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_AdminLinkProviderForUser.go.snap b/service/cognitoidentityprovider/snapshot/api_op_AdminLinkProviderForUser.go.snap index 785b5286f89..d6bee9864c6 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_AdminLinkProviderForUser.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_AdminLinkProviderForUser.go.snap @@ -14,7 +14,6 @@ AdminLinkProviderForUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_AdminListDevices.go.snap b/service/cognitoidentityprovider/snapshot/api_op_AdminListDevices.go.snap index f6284c97ed8..c0b471a5535 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_AdminListDevices.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_AdminListDevices.go.snap @@ -14,7 +14,6 @@ AdminListDevices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_AdminListGroupsForUser.go.snap b/service/cognitoidentityprovider/snapshot/api_op_AdminListGroupsForUser.go.snap index eae4d93d40c..f6d09c7a045 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_AdminListGroupsForUser.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_AdminListGroupsForUser.go.snap @@ -14,7 +14,6 @@ AdminListGroupsForUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_AdminListUserAuthEvents.go.snap b/service/cognitoidentityprovider/snapshot/api_op_AdminListUserAuthEvents.go.snap index c9b4cadf236..302a7df2baf 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_AdminListUserAuthEvents.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_AdminListUserAuthEvents.go.snap @@ -14,7 +14,6 @@ AdminListUserAuthEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_AdminRemoveUserFromGroup.go.snap b/service/cognitoidentityprovider/snapshot/api_op_AdminRemoveUserFromGroup.go.snap index b24cc905658..e2160f79b68 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_AdminRemoveUserFromGroup.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_AdminRemoveUserFromGroup.go.snap @@ -14,7 +14,6 @@ AdminRemoveUserFromGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_AdminResetUserPassword.go.snap b/service/cognitoidentityprovider/snapshot/api_op_AdminResetUserPassword.go.snap index 9fab96a60f7..ab2cf503fbf 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_AdminResetUserPassword.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_AdminResetUserPassword.go.snap @@ -14,7 +14,6 @@ AdminResetUserPassword Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_AdminRespondToAuthChallenge.go.snap b/service/cognitoidentityprovider/snapshot/api_op_AdminRespondToAuthChallenge.go.snap index e8893eca90b..334e1490af5 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_AdminRespondToAuthChallenge.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_AdminRespondToAuthChallenge.go.snap @@ -14,7 +14,6 @@ AdminRespondToAuthChallenge Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_AdminSetUserMFAPreference.go.snap b/service/cognitoidentityprovider/snapshot/api_op_AdminSetUserMFAPreference.go.snap index c6aa12f1fdf..78c5f41937a 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_AdminSetUserMFAPreference.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_AdminSetUserMFAPreference.go.snap @@ -14,7 +14,6 @@ AdminSetUserMFAPreference Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_AdminSetUserPassword.go.snap b/service/cognitoidentityprovider/snapshot/api_op_AdminSetUserPassword.go.snap index 7aba77a63f2..6538923e3ef 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_AdminSetUserPassword.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_AdminSetUserPassword.go.snap @@ -14,7 +14,6 @@ AdminSetUserPassword Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_AdminSetUserSettings.go.snap b/service/cognitoidentityprovider/snapshot/api_op_AdminSetUserSettings.go.snap index 71663ef746a..319d98851b9 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_AdminSetUserSettings.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_AdminSetUserSettings.go.snap @@ -14,7 +14,6 @@ AdminSetUserSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_AdminUpdateAuthEventFeedback.go.snap b/service/cognitoidentityprovider/snapshot/api_op_AdminUpdateAuthEventFeedback.go.snap index 36d8facb9cc..75434cd169c 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_AdminUpdateAuthEventFeedback.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_AdminUpdateAuthEventFeedback.go.snap @@ -14,7 +14,6 @@ AdminUpdateAuthEventFeedback Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_AdminUpdateDeviceStatus.go.snap b/service/cognitoidentityprovider/snapshot/api_op_AdminUpdateDeviceStatus.go.snap index 84257b6e841..cb4f804a7c4 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_AdminUpdateDeviceStatus.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_AdminUpdateDeviceStatus.go.snap @@ -14,7 +14,6 @@ AdminUpdateDeviceStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_AdminUpdateUserAttributes.go.snap b/service/cognitoidentityprovider/snapshot/api_op_AdminUpdateUserAttributes.go.snap index 4951bf03165..a60dd49aa7f 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_AdminUpdateUserAttributes.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_AdminUpdateUserAttributes.go.snap @@ -14,7 +14,6 @@ AdminUpdateUserAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_AdminUserGlobalSignOut.go.snap b/service/cognitoidentityprovider/snapshot/api_op_AdminUserGlobalSignOut.go.snap index e7f26fd7fc8..83f7a6de0ba 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_AdminUserGlobalSignOut.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_AdminUserGlobalSignOut.go.snap @@ -14,7 +14,6 @@ AdminUserGlobalSignOut Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_AssociateSoftwareToken.go.snap b/service/cognitoidentityprovider/snapshot/api_op_AssociateSoftwareToken.go.snap index ecf52dbd745..b194ac50fca 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_AssociateSoftwareToken.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_AssociateSoftwareToken.go.snap @@ -13,7 +13,6 @@ AssociateSoftwareToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_ChangePassword.go.snap b/service/cognitoidentityprovider/snapshot/api_op_ChangePassword.go.snap index a2c9fa023c9..b20f4d3018c 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_ChangePassword.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_ChangePassword.go.snap @@ -14,7 +14,6 @@ ChangePassword Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_CompleteWebAuthnRegistration.go.snap b/service/cognitoidentityprovider/snapshot/api_op_CompleteWebAuthnRegistration.go.snap index e268b6d094d..a9a4930d308 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_CompleteWebAuthnRegistration.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_CompleteWebAuthnRegistration.go.snap @@ -14,7 +14,6 @@ CompleteWebAuthnRegistration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_ConfirmDevice.go.snap b/service/cognitoidentityprovider/snapshot/api_op_ConfirmDevice.go.snap index 8bcfc24eb30..d827e74d277 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_ConfirmDevice.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_ConfirmDevice.go.snap @@ -14,7 +14,6 @@ ConfirmDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_ConfirmForgotPassword.go.snap b/service/cognitoidentityprovider/snapshot/api_op_ConfirmForgotPassword.go.snap index daf1386db8e..a1b62bdbc81 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_ConfirmForgotPassword.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_ConfirmForgotPassword.go.snap @@ -14,7 +14,6 @@ ConfirmForgotPassword Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_ConfirmSignUp.go.snap b/service/cognitoidentityprovider/snapshot/api_op_ConfirmSignUp.go.snap index 78cb462b930..17aba5d78a4 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_ConfirmSignUp.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_ConfirmSignUp.go.snap @@ -14,7 +14,6 @@ ConfirmSignUp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_CreateGroup.go.snap b/service/cognitoidentityprovider/snapshot/api_op_CreateGroup.go.snap index f017be256c7..f4adf31ac79 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_CreateGroup.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_CreateGroup.go.snap @@ -14,7 +14,6 @@ CreateGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_CreateIdentityProvider.go.snap b/service/cognitoidentityprovider/snapshot/api_op_CreateIdentityProvider.go.snap index 6344f90808d..f61ed430e23 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_CreateIdentityProvider.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_CreateIdentityProvider.go.snap @@ -14,7 +14,6 @@ CreateIdentityProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_CreateManagedLoginBranding.go.snap b/service/cognitoidentityprovider/snapshot/api_op_CreateManagedLoginBranding.go.snap index 90f1ac64d54..7a9e3d98eaa 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_CreateManagedLoginBranding.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_CreateManagedLoginBranding.go.snap @@ -14,7 +14,6 @@ CreateManagedLoginBranding Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_CreateResourceServer.go.snap b/service/cognitoidentityprovider/snapshot/api_op_CreateResourceServer.go.snap index 5cf8683194c..a2bd5854698 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_CreateResourceServer.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_CreateResourceServer.go.snap @@ -14,7 +14,6 @@ CreateResourceServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_CreateUserImportJob.go.snap b/service/cognitoidentityprovider/snapshot/api_op_CreateUserImportJob.go.snap index 3b54f9323f8..4dc48e98324 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_CreateUserImportJob.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_CreateUserImportJob.go.snap @@ -14,7 +14,6 @@ CreateUserImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_CreateUserPool.go.snap b/service/cognitoidentityprovider/snapshot/api_op_CreateUserPool.go.snap index d8decaba200..f6c871fcdbf 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_CreateUserPool.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_CreateUserPool.go.snap @@ -14,7 +14,6 @@ CreateUserPool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_CreateUserPoolClient.go.snap b/service/cognitoidentityprovider/snapshot/api_op_CreateUserPoolClient.go.snap index 1e2c74abf26..b709b37f855 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_CreateUserPoolClient.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_CreateUserPoolClient.go.snap @@ -14,7 +14,6 @@ CreateUserPoolClient Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_CreateUserPoolDomain.go.snap b/service/cognitoidentityprovider/snapshot/api_op_CreateUserPoolDomain.go.snap index 633d2df384b..afb43889afa 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_CreateUserPoolDomain.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_CreateUserPoolDomain.go.snap @@ -14,7 +14,6 @@ CreateUserPoolDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_DeleteGroup.go.snap b/service/cognitoidentityprovider/snapshot/api_op_DeleteGroup.go.snap index fa762a3a297..9a74537ddc0 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_DeleteGroup.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_DeleteGroup.go.snap @@ -14,7 +14,6 @@ DeleteGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_DeleteIdentityProvider.go.snap b/service/cognitoidentityprovider/snapshot/api_op_DeleteIdentityProvider.go.snap index b933875c28d..c97c6af14ff 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_DeleteIdentityProvider.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_DeleteIdentityProvider.go.snap @@ -14,7 +14,6 @@ DeleteIdentityProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_DeleteManagedLoginBranding.go.snap b/service/cognitoidentityprovider/snapshot/api_op_DeleteManagedLoginBranding.go.snap index f0d1a4eb3ca..de32caf55fe 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_DeleteManagedLoginBranding.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_DeleteManagedLoginBranding.go.snap @@ -14,7 +14,6 @@ DeleteManagedLoginBranding Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_DeleteResourceServer.go.snap b/service/cognitoidentityprovider/snapshot/api_op_DeleteResourceServer.go.snap index 5fb68d482f0..cd82329527e 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_DeleteResourceServer.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_DeleteResourceServer.go.snap @@ -14,7 +14,6 @@ DeleteResourceServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_DeleteUser.go.snap b/service/cognitoidentityprovider/snapshot/api_op_DeleteUser.go.snap index 4bf463dd3f7..ed12c99b6c9 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_DeleteUser.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_DeleteUser.go.snap @@ -14,7 +14,6 @@ DeleteUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_DeleteUserAttributes.go.snap b/service/cognitoidentityprovider/snapshot/api_op_DeleteUserAttributes.go.snap index 56c0f0872c4..77489df61b5 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_DeleteUserAttributes.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_DeleteUserAttributes.go.snap @@ -14,7 +14,6 @@ DeleteUserAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_DeleteUserPool.go.snap b/service/cognitoidentityprovider/snapshot/api_op_DeleteUserPool.go.snap index 8aea46c86da..2a20ffc548b 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_DeleteUserPool.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_DeleteUserPool.go.snap @@ -14,7 +14,6 @@ DeleteUserPool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_DeleteUserPoolClient.go.snap b/service/cognitoidentityprovider/snapshot/api_op_DeleteUserPoolClient.go.snap index 01ddc0cc2fa..9a3157f7771 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_DeleteUserPoolClient.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_DeleteUserPoolClient.go.snap @@ -14,7 +14,6 @@ DeleteUserPoolClient Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_DeleteUserPoolDomain.go.snap b/service/cognitoidentityprovider/snapshot/api_op_DeleteUserPoolDomain.go.snap index a433094fa23..179ac3af827 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_DeleteUserPoolDomain.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_DeleteUserPoolDomain.go.snap @@ -14,7 +14,6 @@ DeleteUserPoolDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_DeleteWebAuthnCredential.go.snap b/service/cognitoidentityprovider/snapshot/api_op_DeleteWebAuthnCredential.go.snap index 9ef0bd019f1..37ec4c7008a 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_DeleteWebAuthnCredential.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_DeleteWebAuthnCredential.go.snap @@ -14,7 +14,6 @@ DeleteWebAuthnCredential Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_DescribeIdentityProvider.go.snap b/service/cognitoidentityprovider/snapshot/api_op_DescribeIdentityProvider.go.snap index 3458eea631f..38529676578 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_DescribeIdentityProvider.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_DescribeIdentityProvider.go.snap @@ -14,7 +14,6 @@ DescribeIdentityProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_DescribeManagedLoginBranding.go.snap b/service/cognitoidentityprovider/snapshot/api_op_DescribeManagedLoginBranding.go.snap index e1d9a42899b..c04424f7ede 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_DescribeManagedLoginBranding.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_DescribeManagedLoginBranding.go.snap @@ -14,7 +14,6 @@ DescribeManagedLoginBranding Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_DescribeManagedLoginBrandingByClient.go.snap b/service/cognitoidentityprovider/snapshot/api_op_DescribeManagedLoginBrandingByClient.go.snap index b18ef3e898e..97a52815d91 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_DescribeManagedLoginBrandingByClient.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_DescribeManagedLoginBrandingByClient.go.snap @@ -14,7 +14,6 @@ DescribeManagedLoginBrandingByClient Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_DescribeResourceServer.go.snap b/service/cognitoidentityprovider/snapshot/api_op_DescribeResourceServer.go.snap index ec3d3d1b6e7..9e7ced8c425 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_DescribeResourceServer.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_DescribeResourceServer.go.snap @@ -14,7 +14,6 @@ DescribeResourceServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_DescribeRiskConfiguration.go.snap b/service/cognitoidentityprovider/snapshot/api_op_DescribeRiskConfiguration.go.snap index fece26406e8..4278be656bf 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_DescribeRiskConfiguration.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_DescribeRiskConfiguration.go.snap @@ -14,7 +14,6 @@ DescribeRiskConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_DescribeUserImportJob.go.snap b/service/cognitoidentityprovider/snapshot/api_op_DescribeUserImportJob.go.snap index 6d5f70f3e1b..8ca9f608b12 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_DescribeUserImportJob.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_DescribeUserImportJob.go.snap @@ -14,7 +14,6 @@ DescribeUserImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_DescribeUserPool.go.snap b/service/cognitoidentityprovider/snapshot/api_op_DescribeUserPool.go.snap index 6683305b1db..b47245a1cda 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_DescribeUserPool.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_DescribeUserPool.go.snap @@ -14,7 +14,6 @@ DescribeUserPool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_DescribeUserPoolClient.go.snap b/service/cognitoidentityprovider/snapshot/api_op_DescribeUserPoolClient.go.snap index 2e864aa9d50..b039214b3b2 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_DescribeUserPoolClient.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_DescribeUserPoolClient.go.snap @@ -14,7 +14,6 @@ DescribeUserPoolClient Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_DescribeUserPoolDomain.go.snap b/service/cognitoidentityprovider/snapshot/api_op_DescribeUserPoolDomain.go.snap index 5f6068c50e1..424dd943327 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_DescribeUserPoolDomain.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_DescribeUserPoolDomain.go.snap @@ -14,7 +14,6 @@ DescribeUserPoolDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_ForgetDevice.go.snap b/service/cognitoidentityprovider/snapshot/api_op_ForgetDevice.go.snap index 230ef6be7d2..77b010ff0f7 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_ForgetDevice.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_ForgetDevice.go.snap @@ -14,7 +14,6 @@ ForgetDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_ForgotPassword.go.snap b/service/cognitoidentityprovider/snapshot/api_op_ForgotPassword.go.snap index b3c76e65439..86d41c3e10a 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_ForgotPassword.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_ForgotPassword.go.snap @@ -14,7 +14,6 @@ ForgotPassword Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_GetCSVHeader.go.snap b/service/cognitoidentityprovider/snapshot/api_op_GetCSVHeader.go.snap index 93a89297675..f38bfe9bf18 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_GetCSVHeader.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_GetCSVHeader.go.snap @@ -14,7 +14,6 @@ GetCSVHeader Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_GetDevice.go.snap b/service/cognitoidentityprovider/snapshot/api_op_GetDevice.go.snap index 63183578335..71548ba0bf1 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_GetDevice.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_GetDevice.go.snap @@ -14,7 +14,6 @@ GetDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_GetGroup.go.snap b/service/cognitoidentityprovider/snapshot/api_op_GetGroup.go.snap index 25747cefc39..078a0814033 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_GetGroup.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_GetGroup.go.snap @@ -14,7 +14,6 @@ GetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_GetIdentityProviderByIdentifier.go.snap b/service/cognitoidentityprovider/snapshot/api_op_GetIdentityProviderByIdentifier.go.snap index 70aee7d0d6c..b809ce8e9c5 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_GetIdentityProviderByIdentifier.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_GetIdentityProviderByIdentifier.go.snap @@ -14,7 +14,6 @@ GetIdentityProviderByIdentifier Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_GetLogDeliveryConfiguration.go.snap b/service/cognitoidentityprovider/snapshot/api_op_GetLogDeliveryConfiguration.go.snap index fb84439b99f..8ab98a9ca57 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_GetLogDeliveryConfiguration.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_GetLogDeliveryConfiguration.go.snap @@ -14,7 +14,6 @@ GetLogDeliveryConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_GetSigningCertificate.go.snap b/service/cognitoidentityprovider/snapshot/api_op_GetSigningCertificate.go.snap index dbead36d4b2..f93bbf05556 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_GetSigningCertificate.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_GetSigningCertificate.go.snap @@ -14,7 +14,6 @@ GetSigningCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_GetUICustomization.go.snap b/service/cognitoidentityprovider/snapshot/api_op_GetUICustomization.go.snap index dfb2f50cc59..a34cef62b31 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_GetUICustomization.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_GetUICustomization.go.snap @@ -14,7 +14,6 @@ GetUICustomization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_GetUser.go.snap b/service/cognitoidentityprovider/snapshot/api_op_GetUser.go.snap index 56ac6995206..ea65763f47d 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_GetUser.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_GetUser.go.snap @@ -14,7 +14,6 @@ GetUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_GetUserAttributeVerificationCode.go.snap b/service/cognitoidentityprovider/snapshot/api_op_GetUserAttributeVerificationCode.go.snap index 84d473a7b94..860f47146f5 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_GetUserAttributeVerificationCode.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_GetUserAttributeVerificationCode.go.snap @@ -14,7 +14,6 @@ GetUserAttributeVerificationCode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_GetUserAuthFactors.go.snap b/service/cognitoidentityprovider/snapshot/api_op_GetUserAuthFactors.go.snap index 504468e12e5..62e91fc6909 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_GetUserAuthFactors.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_GetUserAuthFactors.go.snap @@ -14,7 +14,6 @@ GetUserAuthFactors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_GetUserPoolMfaConfig.go.snap b/service/cognitoidentityprovider/snapshot/api_op_GetUserPoolMfaConfig.go.snap index 0facf23948d..7fa796a5c62 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_GetUserPoolMfaConfig.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_GetUserPoolMfaConfig.go.snap @@ -14,7 +14,6 @@ GetUserPoolMfaConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_GlobalSignOut.go.snap b/service/cognitoidentityprovider/snapshot/api_op_GlobalSignOut.go.snap index 1e6828d7ad4..9e225fb96be 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_GlobalSignOut.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_GlobalSignOut.go.snap @@ -14,7 +14,6 @@ GlobalSignOut Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_InitiateAuth.go.snap b/service/cognitoidentityprovider/snapshot/api_op_InitiateAuth.go.snap index 1c319f200ca..c6339c1feb2 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_InitiateAuth.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_InitiateAuth.go.snap @@ -14,7 +14,6 @@ InitiateAuth Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_ListDevices.go.snap b/service/cognitoidentityprovider/snapshot/api_op_ListDevices.go.snap index 47d1580719a..6b419f927a9 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_ListDevices.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_ListDevices.go.snap @@ -14,7 +14,6 @@ ListDevices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_ListGroups.go.snap b/service/cognitoidentityprovider/snapshot/api_op_ListGroups.go.snap index 96d00de9d60..2cce91ebfeb 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_ListGroups.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_ListGroups.go.snap @@ -14,7 +14,6 @@ ListGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_ListIdentityProviders.go.snap b/service/cognitoidentityprovider/snapshot/api_op_ListIdentityProviders.go.snap index 404a2074473..f852eca389c 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_ListIdentityProviders.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_ListIdentityProviders.go.snap @@ -14,7 +14,6 @@ ListIdentityProviders Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_ListResourceServers.go.snap b/service/cognitoidentityprovider/snapshot/api_op_ListResourceServers.go.snap index b0d0362452d..8933abe5f33 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_ListResourceServers.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_ListResourceServers.go.snap @@ -14,7 +14,6 @@ ListResourceServers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_ListTagsForResource.go.snap b/service/cognitoidentityprovider/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_ListUserImportJobs.go.snap b/service/cognitoidentityprovider/snapshot/api_op_ListUserImportJobs.go.snap index 9b778eb3af8..a2f49f98483 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_ListUserImportJobs.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_ListUserImportJobs.go.snap @@ -14,7 +14,6 @@ ListUserImportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_ListUserPoolClients.go.snap b/service/cognitoidentityprovider/snapshot/api_op_ListUserPoolClients.go.snap index 9b53a181477..3146452c6e0 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_ListUserPoolClients.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_ListUserPoolClients.go.snap @@ -14,7 +14,6 @@ ListUserPoolClients Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_ListUserPools.go.snap b/service/cognitoidentityprovider/snapshot/api_op_ListUserPools.go.snap index b5252d08a87..3684e06cb2b 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_ListUserPools.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_ListUserPools.go.snap @@ -14,7 +14,6 @@ ListUserPools Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_ListUsers.go.snap b/service/cognitoidentityprovider/snapshot/api_op_ListUsers.go.snap index e806475e845..214b3b04368 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_ListUsers.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_ListUsers.go.snap @@ -14,7 +14,6 @@ ListUsers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_ListUsersInGroup.go.snap b/service/cognitoidentityprovider/snapshot/api_op_ListUsersInGroup.go.snap index 08241f3e890..c6d3e079060 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_ListUsersInGroup.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_ListUsersInGroup.go.snap @@ -14,7 +14,6 @@ ListUsersInGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_ListWebAuthnCredentials.go.snap b/service/cognitoidentityprovider/snapshot/api_op_ListWebAuthnCredentials.go.snap index 78053b2cd3f..7ba9354197d 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_ListWebAuthnCredentials.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_ListWebAuthnCredentials.go.snap @@ -14,7 +14,6 @@ ListWebAuthnCredentials Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_ResendConfirmationCode.go.snap b/service/cognitoidentityprovider/snapshot/api_op_ResendConfirmationCode.go.snap index 788db957462..4fff080bf70 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_ResendConfirmationCode.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_ResendConfirmationCode.go.snap @@ -14,7 +14,6 @@ ResendConfirmationCode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_RespondToAuthChallenge.go.snap b/service/cognitoidentityprovider/snapshot/api_op_RespondToAuthChallenge.go.snap index 28fb4516663..93d2d336d42 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_RespondToAuthChallenge.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_RespondToAuthChallenge.go.snap @@ -14,7 +14,6 @@ RespondToAuthChallenge Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_RevokeToken.go.snap b/service/cognitoidentityprovider/snapshot/api_op_RevokeToken.go.snap index 9c019cec419..27fb3bedf6f 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_RevokeToken.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_RevokeToken.go.snap @@ -14,7 +14,6 @@ RevokeToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_SetLogDeliveryConfiguration.go.snap b/service/cognitoidentityprovider/snapshot/api_op_SetLogDeliveryConfiguration.go.snap index 3f4ab1d8277..2279cb289bb 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_SetLogDeliveryConfiguration.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_SetLogDeliveryConfiguration.go.snap @@ -14,7 +14,6 @@ SetLogDeliveryConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_SetRiskConfiguration.go.snap b/service/cognitoidentityprovider/snapshot/api_op_SetRiskConfiguration.go.snap index 80f49f035df..15e5f1fe0e8 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_SetRiskConfiguration.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_SetRiskConfiguration.go.snap @@ -14,7 +14,6 @@ SetRiskConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_SetUICustomization.go.snap b/service/cognitoidentityprovider/snapshot/api_op_SetUICustomization.go.snap index eaac9e02be8..559002d5cfc 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_SetUICustomization.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_SetUICustomization.go.snap @@ -14,7 +14,6 @@ SetUICustomization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_SetUserMFAPreference.go.snap b/service/cognitoidentityprovider/snapshot/api_op_SetUserMFAPreference.go.snap index 41161f3997c..18e0d41d8fb 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_SetUserMFAPreference.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_SetUserMFAPreference.go.snap @@ -14,7 +14,6 @@ SetUserMFAPreference Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_SetUserPoolMfaConfig.go.snap b/service/cognitoidentityprovider/snapshot/api_op_SetUserPoolMfaConfig.go.snap index 504500803e7..747a66da9fc 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_SetUserPoolMfaConfig.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_SetUserPoolMfaConfig.go.snap @@ -14,7 +14,6 @@ SetUserPoolMfaConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_SetUserSettings.go.snap b/service/cognitoidentityprovider/snapshot/api_op_SetUserSettings.go.snap index a7f6abb88f0..eaa68793a2a 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_SetUserSettings.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_SetUserSettings.go.snap @@ -14,7 +14,6 @@ SetUserSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_SignUp.go.snap b/service/cognitoidentityprovider/snapshot/api_op_SignUp.go.snap index 85cdee5ef90..8a7fc692e56 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_SignUp.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_SignUp.go.snap @@ -14,7 +14,6 @@ SignUp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_StartUserImportJob.go.snap b/service/cognitoidentityprovider/snapshot/api_op_StartUserImportJob.go.snap index eb12aa6010b..8d30e5b0fd1 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_StartUserImportJob.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_StartUserImportJob.go.snap @@ -14,7 +14,6 @@ StartUserImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_StartWebAuthnRegistration.go.snap b/service/cognitoidentityprovider/snapshot/api_op_StartWebAuthnRegistration.go.snap index 05e95dfbd4e..95273e5885f 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_StartWebAuthnRegistration.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_StartWebAuthnRegistration.go.snap @@ -14,7 +14,6 @@ StartWebAuthnRegistration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_StopUserImportJob.go.snap b/service/cognitoidentityprovider/snapshot/api_op_StopUserImportJob.go.snap index 8d34d9a5d1b..998a901f84a 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_StopUserImportJob.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_StopUserImportJob.go.snap @@ -14,7 +14,6 @@ StopUserImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_TagResource.go.snap b/service/cognitoidentityprovider/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_TagResource.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_UntagResource.go.snap b/service/cognitoidentityprovider/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_UntagResource.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_UpdateAuthEventFeedback.go.snap b/service/cognitoidentityprovider/snapshot/api_op_UpdateAuthEventFeedback.go.snap index 982318b5cf9..3a41ff91d9f 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_UpdateAuthEventFeedback.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_UpdateAuthEventFeedback.go.snap @@ -14,7 +14,6 @@ UpdateAuthEventFeedback Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_UpdateDeviceStatus.go.snap b/service/cognitoidentityprovider/snapshot/api_op_UpdateDeviceStatus.go.snap index 9cb8473736b..0c47f4f2a63 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_UpdateDeviceStatus.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_UpdateDeviceStatus.go.snap @@ -14,7 +14,6 @@ UpdateDeviceStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_UpdateGroup.go.snap b/service/cognitoidentityprovider/snapshot/api_op_UpdateGroup.go.snap index 4e6da26c18e..4d69c0aef49 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_UpdateGroup.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_UpdateGroup.go.snap @@ -14,7 +14,6 @@ UpdateGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_UpdateIdentityProvider.go.snap b/service/cognitoidentityprovider/snapshot/api_op_UpdateIdentityProvider.go.snap index adf9e9c3c62..c8b2580dc2e 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_UpdateIdentityProvider.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_UpdateIdentityProvider.go.snap @@ -14,7 +14,6 @@ UpdateIdentityProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_UpdateManagedLoginBranding.go.snap b/service/cognitoidentityprovider/snapshot/api_op_UpdateManagedLoginBranding.go.snap index f5bd9207adf..eb159ad15ec 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_UpdateManagedLoginBranding.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_UpdateManagedLoginBranding.go.snap @@ -14,7 +14,6 @@ UpdateManagedLoginBranding Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_UpdateResourceServer.go.snap b/service/cognitoidentityprovider/snapshot/api_op_UpdateResourceServer.go.snap index 95537e6bb7e..e4e10fb1e94 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_UpdateResourceServer.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_UpdateResourceServer.go.snap @@ -14,7 +14,6 @@ UpdateResourceServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_UpdateUserAttributes.go.snap b/service/cognitoidentityprovider/snapshot/api_op_UpdateUserAttributes.go.snap index c130ecd1ef8..1003d953a7a 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_UpdateUserAttributes.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_UpdateUserAttributes.go.snap @@ -14,7 +14,6 @@ UpdateUserAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_UpdateUserPool.go.snap b/service/cognitoidentityprovider/snapshot/api_op_UpdateUserPool.go.snap index e617f1d18e1..bf8ad7c8211 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_UpdateUserPool.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_UpdateUserPool.go.snap @@ -14,7 +14,6 @@ UpdateUserPool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_UpdateUserPoolClient.go.snap b/service/cognitoidentityprovider/snapshot/api_op_UpdateUserPoolClient.go.snap index 49abe7e1d57..dbc2290dc6f 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_UpdateUserPoolClient.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_UpdateUserPoolClient.go.snap @@ -14,7 +14,6 @@ UpdateUserPoolClient Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_UpdateUserPoolDomain.go.snap b/service/cognitoidentityprovider/snapshot/api_op_UpdateUserPoolDomain.go.snap index 41c9dcef4c5..0113eab2313 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_UpdateUserPoolDomain.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_UpdateUserPoolDomain.go.snap @@ -14,7 +14,6 @@ UpdateUserPoolDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_VerifySoftwareToken.go.snap b/service/cognitoidentityprovider/snapshot/api_op_VerifySoftwareToken.go.snap index 3cb01f4582f..e900be8970e 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_VerifySoftwareToken.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_VerifySoftwareToken.go.snap @@ -14,7 +14,6 @@ VerifySoftwareToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitoidentityprovider/snapshot/api_op_VerifyUserAttribute.go.snap b/service/cognitoidentityprovider/snapshot/api_op_VerifyUserAttribute.go.snap index 6aae9d5d695..e63ba8dcaf6 100644 --- a/service/cognitoidentityprovider/snapshot/api_op_VerifyUserAttribute.go.snap +++ b/service/cognitoidentityprovider/snapshot/api_op_VerifyUserAttribute.go.snap @@ -14,7 +14,6 @@ VerifyUserAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitosync/api_client.go b/service/cognitosync/api_client.go index b0e26c60d69..56d896ed988 100644 --- a/service/cognitosync/api_client.go +++ b/service/cognitosync/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/cognitosync/api_op_BulkPublish.go b/service/cognitosync/api_op_BulkPublish.go index 1fa7acffe69..134d728efde 100644 --- a/service/cognitosync/api_op_BulkPublish.go +++ b/service/cognitosync/api_op_BulkPublish.go @@ -123,9 +123,6 @@ func (c *Client) addOperationBulkPublishMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBulkPublishValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitosync/api_op_DeleteDataset.go b/service/cognitosync/api_op_DeleteDataset.go index 2ee93bc2985..5ffa606a2fb 100644 --- a/service/cognitosync/api_op_DeleteDataset.go +++ b/service/cognitosync/api_op_DeleteDataset.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDeleteDatasetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitosync/api_op_DescribeDataset.go b/service/cognitosync/api_op_DescribeDataset.go index c6ba796992a..c07631342d4 100644 --- a/service/cognitosync/api_op_DescribeDataset.go +++ b/service/cognitosync/api_op_DescribeDataset.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDescribeDatasetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitosync/api_op_DescribeIdentityPoolUsage.go b/service/cognitosync/api_op_DescribeIdentityPoolUsage.go index 4daaee4935c..ea8b3b535c3 100644 --- a/service/cognitosync/api_op_DescribeIdentityPoolUsage.go +++ b/service/cognitosync/api_op_DescribeIdentityPoolUsage.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDescribeIdentityPoolUsageMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeIdentityPoolUsageValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitosync/api_op_DescribeIdentityUsage.go b/service/cognitosync/api_op_DescribeIdentityUsage.go index 950516f1023..325cccbe484 100644 --- a/service/cognitosync/api_op_DescribeIdentityUsage.go +++ b/service/cognitosync/api_op_DescribeIdentityUsage.go @@ -147,9 +147,6 @@ func (c *Client) addOperationDescribeIdentityUsageMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeIdentityUsageValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitosync/api_op_GetBulkPublishDetails.go b/service/cognitosync/api_op_GetBulkPublishDetails.go index 1ec7a906ecd..1ece6647905 100644 --- a/service/cognitosync/api_op_GetBulkPublishDetails.go +++ b/service/cognitosync/api_op_GetBulkPublishDetails.go @@ -146,9 +146,6 @@ func (c *Client) addOperationGetBulkPublishDetailsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBulkPublishDetailsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitosync/api_op_GetCognitoEvents.go b/service/cognitosync/api_op_GetCognitoEvents.go index 358b7158777..3313ee257b9 100644 --- a/service/cognitosync/api_op_GetCognitoEvents.go +++ b/service/cognitosync/api_op_GetCognitoEvents.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetCognitoEventsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCognitoEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitosync/api_op_GetIdentityPoolConfiguration.go b/service/cognitosync/api_op_GetIdentityPoolConfiguration.go index 93118fb0476..dc1d46b5a54 100644 --- a/service/cognitosync/api_op_GetIdentityPoolConfiguration.go +++ b/service/cognitosync/api_op_GetIdentityPoolConfiguration.go @@ -146,9 +146,6 @@ func (c *Client) addOperationGetIdentityPoolConfigurationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIdentityPoolConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitosync/api_op_ListDatasets.go b/service/cognitosync/api_op_ListDatasets.go index 58123a4ec75..168c1a39fcf 100644 --- a/service/cognitosync/api_op_ListDatasets.go +++ b/service/cognitosync/api_op_ListDatasets.go @@ -162,9 +162,6 @@ func (c *Client) addOperationListDatasetsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDatasetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitosync/api_op_ListIdentityPoolUsage.go b/service/cognitosync/api_op_ListIdentityPoolUsage.go index 19d49794bc4..2981c6df108 100644 --- a/service/cognitosync/api_op_ListIdentityPoolUsage.go +++ b/service/cognitosync/api_op_ListIdentityPoolUsage.go @@ -152,9 +152,6 @@ func (c *Client) addOperationListIdentityPoolUsageMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIdentityPoolUsage(options.Region), middleware.Before); err != nil { return err } diff --git a/service/cognitosync/api_op_ListRecords.go b/service/cognitosync/api_op_ListRecords.go index c908cf22ef9..131e43ae079 100644 --- a/service/cognitosync/api_op_ListRecords.go +++ b/service/cognitosync/api_op_ListRecords.go @@ -192,9 +192,6 @@ func (c *Client) addOperationListRecordsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRecordsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitosync/api_op_RegisterDevice.go b/service/cognitosync/api_op_RegisterDevice.go index 62abc211871..2b9f4507b96 100644 --- a/service/cognitosync/api_op_RegisterDevice.go +++ b/service/cognitosync/api_op_RegisterDevice.go @@ -152,9 +152,6 @@ func (c *Client) addOperationRegisterDeviceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterDeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitosync/api_op_SetCognitoEvents.go b/service/cognitosync/api_op_SetCognitoEvents.go index 521dbfce9aa..42a178272c3 100644 --- a/service/cognitosync/api_op_SetCognitoEvents.go +++ b/service/cognitosync/api_op_SetCognitoEvents.go @@ -121,9 +121,6 @@ func (c *Client) addOperationSetCognitoEventsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetCognitoEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitosync/api_op_SetIdentityPoolConfiguration.go b/service/cognitosync/api_op_SetIdentityPoolConfiguration.go index 89ac6ceec6b..9ce9c3d91dd 100644 --- a/service/cognitosync/api_op_SetIdentityPoolConfiguration.go +++ b/service/cognitosync/api_op_SetIdentityPoolConfiguration.go @@ -152,9 +152,6 @@ func (c *Client) addOperationSetIdentityPoolConfigurationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetIdentityPoolConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitosync/api_op_SubscribeToDataset.go b/service/cognitosync/api_op_SubscribeToDataset.go index 87a301d18b9..71bc53865a9 100644 --- a/service/cognitosync/api_op_SubscribeToDataset.go +++ b/service/cognitosync/api_op_SubscribeToDataset.go @@ -149,9 +149,6 @@ func (c *Client) addOperationSubscribeToDatasetMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSubscribeToDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitosync/api_op_UnsubscribeFromDataset.go b/service/cognitosync/api_op_UnsubscribeFromDataset.go index c8780baa6f8..ffd0c209504 100644 --- a/service/cognitosync/api_op_UnsubscribeFromDataset.go +++ b/service/cognitosync/api_op_UnsubscribeFromDataset.go @@ -149,9 +149,6 @@ func (c *Client) addOperationUnsubscribeFromDatasetMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUnsubscribeFromDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitosync/api_op_UpdateRecords.go b/service/cognitosync/api_op_UpdateRecords.go index 3eb6451230c..22abf343543 100644 --- a/service/cognitosync/api_op_UpdateRecords.go +++ b/service/cognitosync/api_op_UpdateRecords.go @@ -161,9 +161,6 @@ func (c *Client) addOperationUpdateRecordsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRecordsValidationMiddleware(stack); err != nil { return err } diff --git a/service/cognitosync/snapshot/api_op_BulkPublish.go.snap b/service/cognitosync/snapshot/api_op_BulkPublish.go.snap index 90bf55946fb..bc4f2322334 100644 --- a/service/cognitosync/snapshot/api_op_BulkPublish.go.snap +++ b/service/cognitosync/snapshot/api_op_BulkPublish.go.snap @@ -14,7 +14,6 @@ BulkPublish Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitosync/snapshot/api_op_DeleteDataset.go.snap b/service/cognitosync/snapshot/api_op_DeleteDataset.go.snap index fd65991f000..352313df04c 100644 --- a/service/cognitosync/snapshot/api_op_DeleteDataset.go.snap +++ b/service/cognitosync/snapshot/api_op_DeleteDataset.go.snap @@ -14,7 +14,6 @@ DeleteDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitosync/snapshot/api_op_DescribeDataset.go.snap b/service/cognitosync/snapshot/api_op_DescribeDataset.go.snap index d62bad12867..091c433d575 100644 --- a/service/cognitosync/snapshot/api_op_DescribeDataset.go.snap +++ b/service/cognitosync/snapshot/api_op_DescribeDataset.go.snap @@ -14,7 +14,6 @@ DescribeDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitosync/snapshot/api_op_DescribeIdentityPoolUsage.go.snap b/service/cognitosync/snapshot/api_op_DescribeIdentityPoolUsage.go.snap index b06a99f5a04..81c1dd8512a 100644 --- a/service/cognitosync/snapshot/api_op_DescribeIdentityPoolUsage.go.snap +++ b/service/cognitosync/snapshot/api_op_DescribeIdentityPoolUsage.go.snap @@ -14,7 +14,6 @@ DescribeIdentityPoolUsage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitosync/snapshot/api_op_DescribeIdentityUsage.go.snap b/service/cognitosync/snapshot/api_op_DescribeIdentityUsage.go.snap index 46e438e223f..bfc04f3ad11 100644 --- a/service/cognitosync/snapshot/api_op_DescribeIdentityUsage.go.snap +++ b/service/cognitosync/snapshot/api_op_DescribeIdentityUsage.go.snap @@ -14,7 +14,6 @@ DescribeIdentityUsage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitosync/snapshot/api_op_GetBulkPublishDetails.go.snap b/service/cognitosync/snapshot/api_op_GetBulkPublishDetails.go.snap index 3c0498d10bd..d80247eb6a9 100644 --- a/service/cognitosync/snapshot/api_op_GetBulkPublishDetails.go.snap +++ b/service/cognitosync/snapshot/api_op_GetBulkPublishDetails.go.snap @@ -14,7 +14,6 @@ GetBulkPublishDetails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitosync/snapshot/api_op_GetCognitoEvents.go.snap b/service/cognitosync/snapshot/api_op_GetCognitoEvents.go.snap index 728833bfccb..3a728143252 100644 --- a/service/cognitosync/snapshot/api_op_GetCognitoEvents.go.snap +++ b/service/cognitosync/snapshot/api_op_GetCognitoEvents.go.snap @@ -14,7 +14,6 @@ GetCognitoEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitosync/snapshot/api_op_GetIdentityPoolConfiguration.go.snap b/service/cognitosync/snapshot/api_op_GetIdentityPoolConfiguration.go.snap index affee411284..4f9f552a27c 100644 --- a/service/cognitosync/snapshot/api_op_GetIdentityPoolConfiguration.go.snap +++ b/service/cognitosync/snapshot/api_op_GetIdentityPoolConfiguration.go.snap @@ -14,7 +14,6 @@ GetIdentityPoolConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitosync/snapshot/api_op_ListDatasets.go.snap b/service/cognitosync/snapshot/api_op_ListDatasets.go.snap index e517d596d0c..35bd9029b45 100644 --- a/service/cognitosync/snapshot/api_op_ListDatasets.go.snap +++ b/service/cognitosync/snapshot/api_op_ListDatasets.go.snap @@ -14,7 +14,6 @@ ListDatasets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitosync/snapshot/api_op_ListIdentityPoolUsage.go.snap b/service/cognitosync/snapshot/api_op_ListIdentityPoolUsage.go.snap index 4ed0968a41d..3d7445c8ce9 100644 --- a/service/cognitosync/snapshot/api_op_ListIdentityPoolUsage.go.snap +++ b/service/cognitosync/snapshot/api_op_ListIdentityPoolUsage.go.snap @@ -13,7 +13,6 @@ ListIdentityPoolUsage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitosync/snapshot/api_op_ListRecords.go.snap b/service/cognitosync/snapshot/api_op_ListRecords.go.snap index 5c583e6f1d0..040697b782a 100644 --- a/service/cognitosync/snapshot/api_op_ListRecords.go.snap +++ b/service/cognitosync/snapshot/api_op_ListRecords.go.snap @@ -14,7 +14,6 @@ ListRecords Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitosync/snapshot/api_op_RegisterDevice.go.snap b/service/cognitosync/snapshot/api_op_RegisterDevice.go.snap index 274e9bb2294..313f63a66db 100644 --- a/service/cognitosync/snapshot/api_op_RegisterDevice.go.snap +++ b/service/cognitosync/snapshot/api_op_RegisterDevice.go.snap @@ -14,7 +14,6 @@ RegisterDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitosync/snapshot/api_op_SetCognitoEvents.go.snap b/service/cognitosync/snapshot/api_op_SetCognitoEvents.go.snap index 1436ef8c967..61fed1d1702 100644 --- a/service/cognitosync/snapshot/api_op_SetCognitoEvents.go.snap +++ b/service/cognitosync/snapshot/api_op_SetCognitoEvents.go.snap @@ -14,7 +14,6 @@ SetCognitoEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitosync/snapshot/api_op_SetIdentityPoolConfiguration.go.snap b/service/cognitosync/snapshot/api_op_SetIdentityPoolConfiguration.go.snap index a88da362fab..06bb2540514 100644 --- a/service/cognitosync/snapshot/api_op_SetIdentityPoolConfiguration.go.snap +++ b/service/cognitosync/snapshot/api_op_SetIdentityPoolConfiguration.go.snap @@ -14,7 +14,6 @@ SetIdentityPoolConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitosync/snapshot/api_op_SubscribeToDataset.go.snap b/service/cognitosync/snapshot/api_op_SubscribeToDataset.go.snap index cfefa3836b0..a49f6fb20fd 100644 --- a/service/cognitosync/snapshot/api_op_SubscribeToDataset.go.snap +++ b/service/cognitosync/snapshot/api_op_SubscribeToDataset.go.snap @@ -14,7 +14,6 @@ SubscribeToDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitosync/snapshot/api_op_UnsubscribeFromDataset.go.snap b/service/cognitosync/snapshot/api_op_UnsubscribeFromDataset.go.snap index 6810059d0f7..20f772331e1 100644 --- a/service/cognitosync/snapshot/api_op_UnsubscribeFromDataset.go.snap +++ b/service/cognitosync/snapshot/api_op_UnsubscribeFromDataset.go.snap @@ -14,7 +14,6 @@ UnsubscribeFromDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/cognitosync/snapshot/api_op_UpdateRecords.go.snap b/service/cognitosync/snapshot/api_op_UpdateRecords.go.snap index 9ec369e9317..61a7b8dd125 100644 --- a/service/cognitosync/snapshot/api_op_UpdateRecords.go.snap +++ b/service/cognitosync/snapshot/api_op_UpdateRecords.go.snap @@ -14,7 +14,6 @@ UpdateRecords Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/api_client.go b/service/comprehend/api_client.go index 9fa7131de72..460bba28edd 100644 --- a/service/comprehend/api_client.go +++ b/service/comprehend/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/comprehend/api_op_BatchDetectDominantLanguage.go b/service/comprehend/api_op_BatchDetectDominantLanguage.go index 1a140c30350..c3d24715d69 100644 --- a/service/comprehend/api_op_BatchDetectDominantLanguage.go +++ b/service/comprehend/api_op_BatchDetectDominantLanguage.go @@ -130,9 +130,6 @@ func (c *Client) addOperationBatchDetectDominantLanguageMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDetectDominantLanguageValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_BatchDetectEntities.go b/service/comprehend/api_op_BatchDetectEntities.go index c8be60e2d78..ce8dccea181 100644 --- a/service/comprehend/api_op_BatchDetectEntities.go +++ b/service/comprehend/api_op_BatchDetectEntities.go @@ -137,9 +137,6 @@ func (c *Client) addOperationBatchDetectEntitiesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDetectEntitiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_BatchDetectKeyPhrases.go b/service/comprehend/api_op_BatchDetectKeyPhrases.go index a7862ccda83..3be1cab0457 100644 --- a/service/comprehend/api_op_BatchDetectKeyPhrases.go +++ b/service/comprehend/api_op_BatchDetectKeyPhrases.go @@ -133,9 +133,6 @@ func (c *Client) addOperationBatchDetectKeyPhrasesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDetectKeyPhrasesValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_BatchDetectSentiment.go b/service/comprehend/api_op_BatchDetectSentiment.go index 75e700321e7..c5a9cefbc1c 100644 --- a/service/comprehend/api_op_BatchDetectSentiment.go +++ b/service/comprehend/api_op_BatchDetectSentiment.go @@ -134,9 +134,6 @@ func (c *Client) addOperationBatchDetectSentimentMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDetectSentimentValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_BatchDetectSyntax.go b/service/comprehend/api_op_BatchDetectSyntax.go index 7936911a753..2bd035a30b6 100644 --- a/service/comprehend/api_op_BatchDetectSyntax.go +++ b/service/comprehend/api_op_BatchDetectSyntax.go @@ -138,9 +138,6 @@ func (c *Client) addOperationBatchDetectSyntaxMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDetectSyntaxValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_BatchDetectTargetedSentiment.go b/service/comprehend/api_op_BatchDetectTargetedSentiment.go index 0590c077526..3d18e1611ee 100644 --- a/service/comprehend/api_op_BatchDetectTargetedSentiment.go +++ b/service/comprehend/api_op_BatchDetectTargetedSentiment.go @@ -135,9 +135,6 @@ func (c *Client) addOperationBatchDetectTargetedSentimentMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDetectTargetedSentimentValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_ClassifyDocument.go b/service/comprehend/api_op_ClassifyDocument.go index 93359bb2a51..f82b8ce92fc 100644 --- a/service/comprehend/api_op_ClassifyDocument.go +++ b/service/comprehend/api_op_ClassifyDocument.go @@ -209,9 +209,6 @@ func (c *Client) addOperationClassifyDocumentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpClassifyDocumentValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_ContainsPiiEntities.go b/service/comprehend/api_op_ContainsPiiEntities.go index af2c4e95f2e..6178eb76d2f 100644 --- a/service/comprehend/api_op_ContainsPiiEntities.go +++ b/service/comprehend/api_op_ContainsPiiEntities.go @@ -120,9 +120,6 @@ func (c *Client) addOperationContainsPiiEntitiesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpContainsPiiEntitiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_CreateDataset.go b/service/comprehend/api_op_CreateDataset.go index 940ebb31622..a9da5946c5f 100644 --- a/service/comprehend/api_op_CreateDataset.go +++ b/service/comprehend/api_op_CreateDataset.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCreateDatasetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDatasetMiddleware(stack, options); err != nil { return err } diff --git a/service/comprehend/api_op_CreateDocumentClassifier.go b/service/comprehend/api_op_CreateDocumentClassifier.go index d40d39a11b5..350d8d7ea89 100644 --- a/service/comprehend/api_op_CreateDocumentClassifier.go +++ b/service/comprehend/api_op_CreateDocumentClassifier.go @@ -207,9 +207,6 @@ func (c *Client) addOperationCreateDocumentClassifierMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDocumentClassifierMiddleware(stack, options); err != nil { return err } diff --git a/service/comprehend/api_op_CreateEndpoint.go b/service/comprehend/api_op_CreateEndpoint.go index afcccaabbc7..cbfef0e322f 100644 --- a/service/comprehend/api_op_CreateEndpoint.go +++ b/service/comprehend/api_op_CreateEndpoint.go @@ -150,9 +150,6 @@ func (c *Client) addOperationCreateEndpointMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateEndpointMiddleware(stack, options); err != nil { return err } diff --git a/service/comprehend/api_op_CreateEntityRecognizer.go b/service/comprehend/api_op_CreateEntityRecognizer.go index 8b9b5804d95..2c55dadc8d7 100644 --- a/service/comprehend/api_op_CreateEntityRecognizer.go +++ b/service/comprehend/api_op_CreateEntityRecognizer.go @@ -198,9 +198,6 @@ func (c *Client) addOperationCreateEntityRecognizerMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateEntityRecognizerMiddleware(stack, options); err != nil { return err } diff --git a/service/comprehend/api_op_CreateFlywheel.go b/service/comprehend/api_op_CreateFlywheel.go index f694683be18..cf1b1b97a23 100644 --- a/service/comprehend/api_op_CreateFlywheel.go +++ b/service/comprehend/api_op_CreateFlywheel.go @@ -170,9 +170,6 @@ func (c *Client) addOperationCreateFlywheelMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateFlywheelMiddleware(stack, options); err != nil { return err } diff --git a/service/comprehend/api_op_DeleteDocumentClassifier.go b/service/comprehend/api_op_DeleteDocumentClassifier.go index f6a28d17a24..2914190b125 100644 --- a/service/comprehend/api_op_DeleteDocumentClassifier.go +++ b/service/comprehend/api_op_DeleteDocumentClassifier.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteDocumentClassifierMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDocumentClassifierValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DeleteEndpoint.go b/service/comprehend/api_op_DeleteEndpoint.go index 6e3c31e1636..f1b0b46aa76 100644 --- a/service/comprehend/api_op_DeleteEndpoint.go +++ b/service/comprehend/api_op_DeleteEndpoint.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteEndpointMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DeleteEntityRecognizer.go b/service/comprehend/api_op_DeleteEntityRecognizer.go index 723816f30c7..1eebb81d935 100644 --- a/service/comprehend/api_op_DeleteEntityRecognizer.go +++ b/service/comprehend/api_op_DeleteEntityRecognizer.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteEntityRecognizerMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEntityRecognizerValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DeleteFlywheel.go b/service/comprehend/api_op_DeleteFlywheel.go index ca22ab5037b..1e8f0872194 100644 --- a/service/comprehend/api_op_DeleteFlywheel.go +++ b/service/comprehend/api_op_DeleteFlywheel.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteFlywheelMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFlywheelValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DeleteResourcePolicy.go b/service/comprehend/api_op_DeleteResourcePolicy.go index 8eeaa23d3c5..156aaa8ea81 100644 --- a/service/comprehend/api_op_DeleteResourcePolicy.go +++ b/service/comprehend/api_op_DeleteResourcePolicy.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DescribeDataset.go b/service/comprehend/api_op_DescribeDataset.go index 690d179181d..1c6475da37a 100644 --- a/service/comprehend/api_op_DescribeDataset.go +++ b/service/comprehend/api_op_DescribeDataset.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDescribeDatasetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DescribeDocumentClassificationJob.go b/service/comprehend/api_op_DescribeDocumentClassificationJob.go index 0ea2f0f2f5c..862bdca5b43 100644 --- a/service/comprehend/api_op_DescribeDocumentClassificationJob.go +++ b/service/comprehend/api_op_DescribeDocumentClassificationJob.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDescribeDocumentClassificationJobMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDocumentClassificationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DescribeDocumentClassifier.go b/service/comprehend/api_op_DescribeDocumentClassifier.go index 0c05d1d5c3b..947d73821ca 100644 --- a/service/comprehend/api_op_DescribeDocumentClassifier.go +++ b/service/comprehend/api_op_DescribeDocumentClassifier.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDescribeDocumentClassifierMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDocumentClassifierValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DescribeDominantLanguageDetectionJob.go b/service/comprehend/api_op_DescribeDominantLanguageDetectionJob.go index 0dc93162965..6b77725c991 100644 --- a/service/comprehend/api_op_DescribeDominantLanguageDetectionJob.go +++ b/service/comprehend/api_op_DescribeDominantLanguageDetectionJob.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDescribeDominantLanguageDetectionJobMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDominantLanguageDetectionJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DescribeEndpoint.go b/service/comprehend/api_op_DescribeEndpoint.go index 3ed435fe07a..2dc75f70899 100644 --- a/service/comprehend/api_op_DescribeEndpoint.go +++ b/service/comprehend/api_op_DescribeEndpoint.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDescribeEndpointMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DescribeEntitiesDetectionJob.go b/service/comprehend/api_op_DescribeEntitiesDetectionJob.go index 4c5014e6a9a..c529b863761 100644 --- a/service/comprehend/api_op_DescribeEntitiesDetectionJob.go +++ b/service/comprehend/api_op_DescribeEntitiesDetectionJob.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDescribeEntitiesDetectionJobMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEntitiesDetectionJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DescribeEntityRecognizer.go b/service/comprehend/api_op_DescribeEntityRecognizer.go index db5e55c5621..d9a31688dbe 100644 --- a/service/comprehend/api_op_DescribeEntityRecognizer.go +++ b/service/comprehend/api_op_DescribeEntityRecognizer.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDescribeEntityRecognizerMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEntityRecognizerValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DescribeEventsDetectionJob.go b/service/comprehend/api_op_DescribeEventsDetectionJob.go index 612f9733a3b..fa493ef8ea7 100644 --- a/service/comprehend/api_op_DescribeEventsDetectionJob.go +++ b/service/comprehend/api_op_DescribeEventsDetectionJob.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDescribeEventsDetectionJobMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEventsDetectionJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DescribeFlywheel.go b/service/comprehend/api_op_DescribeFlywheel.go index ebe2a7c61cc..34b3ac6fe51 100644 --- a/service/comprehend/api_op_DescribeFlywheel.go +++ b/service/comprehend/api_op_DescribeFlywheel.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDescribeFlywheelMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFlywheelValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DescribeFlywheelIteration.go b/service/comprehend/api_op_DescribeFlywheelIteration.go index 593dd146967..40e5999b246 100644 --- a/service/comprehend/api_op_DescribeFlywheelIteration.go +++ b/service/comprehend/api_op_DescribeFlywheelIteration.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDescribeFlywheelIterationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFlywheelIterationValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DescribeKeyPhrasesDetectionJob.go b/service/comprehend/api_op_DescribeKeyPhrasesDetectionJob.go index 0ce53597303..77a141aca9f 100644 --- a/service/comprehend/api_op_DescribeKeyPhrasesDetectionJob.go +++ b/service/comprehend/api_op_DescribeKeyPhrasesDetectionJob.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDescribeKeyPhrasesDetectionJobMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeKeyPhrasesDetectionJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DescribePiiEntitiesDetectionJob.go b/service/comprehend/api_op_DescribePiiEntitiesDetectionJob.go index 5b87b1fe2f5..0d3c669783b 100644 --- a/service/comprehend/api_op_DescribePiiEntitiesDetectionJob.go +++ b/service/comprehend/api_op_DescribePiiEntitiesDetectionJob.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribePiiEntitiesDetectionJobMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePiiEntitiesDetectionJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DescribeResourcePolicy.go b/service/comprehend/api_op_DescribeResourcePolicy.go index 382871b6bf0..be91fe6e79b 100644 --- a/service/comprehend/api_op_DescribeResourcePolicy.go +++ b/service/comprehend/api_op_DescribeResourcePolicy.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeResourcePolicyMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DescribeSentimentDetectionJob.go b/service/comprehend/api_op_DescribeSentimentDetectionJob.go index e38c5629248..1fcbc2338b9 100644 --- a/service/comprehend/api_op_DescribeSentimentDetectionJob.go +++ b/service/comprehend/api_op_DescribeSentimentDetectionJob.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDescribeSentimentDetectionJobMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSentimentDetectionJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DescribeTargetedSentimentDetectionJob.go b/service/comprehend/api_op_DescribeTargetedSentimentDetectionJob.go index 46a8262fa04..08b36d17620 100644 --- a/service/comprehend/api_op_DescribeTargetedSentimentDetectionJob.go +++ b/service/comprehend/api_op_DescribeTargetedSentimentDetectionJob.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDescribeTargetedSentimentDetectionJobMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTargetedSentimentDetectionJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DescribeTopicsDetectionJob.go b/service/comprehend/api_op_DescribeTopicsDetectionJob.go index a856812397a..1bc4e4eb599 100644 --- a/service/comprehend/api_op_DescribeTopicsDetectionJob.go +++ b/service/comprehend/api_op_DescribeTopicsDetectionJob.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDescribeTopicsDetectionJobMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTopicsDetectionJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DetectDominantLanguage.go b/service/comprehend/api_op_DetectDominantLanguage.go index adb787948bb..62725a0ffad 100644 --- a/service/comprehend/api_op_DetectDominantLanguage.go +++ b/service/comprehend/api_op_DetectDominantLanguage.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDetectDominantLanguageMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetectDominantLanguageValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DetectEntities.go b/service/comprehend/api_op_DetectEntities.go index 044e179c4c7..1bc08cd23ea 100644 --- a/service/comprehend/api_op_DetectEntities.go +++ b/service/comprehend/api_op_DetectEntities.go @@ -207,9 +207,6 @@ func (c *Client) addOperationDetectEntitiesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetectEntitiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DetectKeyPhrases.go b/service/comprehend/api_op_DetectKeyPhrases.go index 35e23eb9328..dec652a8eba 100644 --- a/service/comprehend/api_op_DetectKeyPhrases.go +++ b/service/comprehend/api_op_DetectKeyPhrases.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDetectKeyPhrasesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetectKeyPhrasesValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DetectPiiEntities.go b/service/comprehend/api_op_DetectPiiEntities.go index 43fb155dc6b..eb1c3297d67 100644 --- a/service/comprehend/api_op_DetectPiiEntities.go +++ b/service/comprehend/api_op_DetectPiiEntities.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDetectPiiEntitiesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetectPiiEntitiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DetectSentiment.go b/service/comprehend/api_op_DetectSentiment.go index 1ccc9c75b27..5f81bd73c4a 100644 --- a/service/comprehend/api_op_DetectSentiment.go +++ b/service/comprehend/api_op_DetectSentiment.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDetectSentimentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetectSentimentValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DetectSyntax.go b/service/comprehend/api_op_DetectSyntax.go index 8ddfc76d354..eb6ec458c6c 100644 --- a/service/comprehend/api_op_DetectSyntax.go +++ b/service/comprehend/api_op_DetectSyntax.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDetectSyntaxMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetectSyntaxValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DetectTargetedSentiment.go b/service/comprehend/api_op_DetectTargetedSentiment.go index e727b135358..90972dfa1ee 100644 --- a/service/comprehend/api_op_DetectTargetedSentiment.go +++ b/service/comprehend/api_op_DetectTargetedSentiment.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDetectTargetedSentimentMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetectTargetedSentimentValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_DetectToxicContent.go b/service/comprehend/api_op_DetectToxicContent.go index 7dc679b3a07..7fe4cd8c514 100644 --- a/service/comprehend/api_op_DetectToxicContent.go +++ b/service/comprehend/api_op_DetectToxicContent.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDetectToxicContentMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetectToxicContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_ImportModel.go b/service/comprehend/api_op_ImportModel.go index 74b1d1287cd..4464286ec90 100644 --- a/service/comprehend/api_op_ImportModel.go +++ b/service/comprehend/api_op_ImportModel.go @@ -150,9 +150,6 @@ func (c *Client) addOperationImportModelMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_ListDatasets.go b/service/comprehend/api_op_ListDatasets.go index 59dd9eee7a7..7f6694c0fbd 100644 --- a/service/comprehend/api_op_ListDatasets.go +++ b/service/comprehend/api_op_ListDatasets.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListDatasetsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatasets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/comprehend/api_op_ListDocumentClassificationJobs.go b/service/comprehend/api_op_ListDocumentClassificationJobs.go index ba6b9cd6dd1..ae85e944655 100644 --- a/service/comprehend/api_op_ListDocumentClassificationJobs.go +++ b/service/comprehend/api_op_ListDocumentClassificationJobs.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListDocumentClassificationJobsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDocumentClassificationJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/comprehend/api_op_ListDocumentClassifierSummaries.go b/service/comprehend/api_op_ListDocumentClassifierSummaries.go index 61399b3d38c..e6ebd0a7796 100644 --- a/service/comprehend/api_op_ListDocumentClassifierSummaries.go +++ b/service/comprehend/api_op_ListDocumentClassifierSummaries.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListDocumentClassifierSummariesMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDocumentClassifierSummaries(options.Region), middleware.Before); err != nil { return err } diff --git a/service/comprehend/api_op_ListDocumentClassifiers.go b/service/comprehend/api_op_ListDocumentClassifiers.go index ae111358a58..5a10cc4ac56 100644 --- a/service/comprehend/api_op_ListDocumentClassifiers.go +++ b/service/comprehend/api_op_ListDocumentClassifiers.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListDocumentClassifiersMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDocumentClassifiers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/comprehend/api_op_ListDominantLanguageDetectionJobs.go b/service/comprehend/api_op_ListDominantLanguageDetectionJobs.go index 5559179a2be..5f84b837c6e 100644 --- a/service/comprehend/api_op_ListDominantLanguageDetectionJobs.go +++ b/service/comprehend/api_op_ListDominantLanguageDetectionJobs.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListDominantLanguageDetectionJobsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDominantLanguageDetectionJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/comprehend/api_op_ListEndpoints.go b/service/comprehend/api_op_ListEndpoints.go index 34f7aeb3a57..96229017710 100644 --- a/service/comprehend/api_op_ListEndpoints.go +++ b/service/comprehend/api_op_ListEndpoints.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListEndpointsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEndpoints(options.Region), middleware.Before); err != nil { return err } diff --git a/service/comprehend/api_op_ListEntitiesDetectionJobs.go b/service/comprehend/api_op_ListEntitiesDetectionJobs.go index 299e305f536..7fd75973d4f 100644 --- a/service/comprehend/api_op_ListEntitiesDetectionJobs.go +++ b/service/comprehend/api_op_ListEntitiesDetectionJobs.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListEntitiesDetectionJobsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEntitiesDetectionJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/comprehend/api_op_ListEntityRecognizerSummaries.go b/service/comprehend/api_op_ListEntityRecognizerSummaries.go index fb2ed8dc292..34e4334109d 100644 --- a/service/comprehend/api_op_ListEntityRecognizerSummaries.go +++ b/service/comprehend/api_op_ListEntityRecognizerSummaries.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListEntityRecognizerSummariesMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEntityRecognizerSummaries(options.Region), middleware.Before); err != nil { return err } diff --git a/service/comprehend/api_op_ListEntityRecognizers.go b/service/comprehend/api_op_ListEntityRecognizers.go index cade35b9519..048d0d58e84 100644 --- a/service/comprehend/api_op_ListEntityRecognizers.go +++ b/service/comprehend/api_op_ListEntityRecognizers.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListEntityRecognizersMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEntityRecognizers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/comprehend/api_op_ListEventsDetectionJobs.go b/service/comprehend/api_op_ListEventsDetectionJobs.go index 343ed475c93..224c547215a 100644 --- a/service/comprehend/api_op_ListEventsDetectionJobs.go +++ b/service/comprehend/api_op_ListEventsDetectionJobs.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListEventsDetectionJobsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEventsDetectionJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/comprehend/api_op_ListFlywheelIterationHistory.go b/service/comprehend/api_op_ListFlywheelIterationHistory.go index bc834358c1f..7e2ac0f40cf 100644 --- a/service/comprehend/api_op_ListFlywheelIterationHistory.go +++ b/service/comprehend/api_op_ListFlywheelIterationHistory.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListFlywheelIterationHistoryMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFlywheelIterationHistoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_ListFlywheels.go b/service/comprehend/api_op_ListFlywheels.go index 12fd37128e2..72a92630f69 100644 --- a/service/comprehend/api_op_ListFlywheels.go +++ b/service/comprehend/api_op_ListFlywheels.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListFlywheelsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFlywheels(options.Region), middleware.Before); err != nil { return err } diff --git a/service/comprehend/api_op_ListKeyPhrasesDetectionJobs.go b/service/comprehend/api_op_ListKeyPhrasesDetectionJobs.go index 988674258bb..ca4f2fceac2 100644 --- a/service/comprehend/api_op_ListKeyPhrasesDetectionJobs.go +++ b/service/comprehend/api_op_ListKeyPhrasesDetectionJobs.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListKeyPhrasesDetectionJobsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListKeyPhrasesDetectionJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/comprehend/api_op_ListPiiEntitiesDetectionJobs.go b/service/comprehend/api_op_ListPiiEntitiesDetectionJobs.go index cebc83968d2..a54a7b46a2a 100644 --- a/service/comprehend/api_op_ListPiiEntitiesDetectionJobs.go +++ b/service/comprehend/api_op_ListPiiEntitiesDetectionJobs.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListPiiEntitiesDetectionJobsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPiiEntitiesDetectionJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/comprehend/api_op_ListSentimentDetectionJobs.go b/service/comprehend/api_op_ListSentimentDetectionJobs.go index 72988f5c79e..4eb55df61cf 100644 --- a/service/comprehend/api_op_ListSentimentDetectionJobs.go +++ b/service/comprehend/api_op_ListSentimentDetectionJobs.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListSentimentDetectionJobsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSentimentDetectionJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/comprehend/api_op_ListTagsForResource.go b/service/comprehend/api_op_ListTagsForResource.go index 2614e5a1210..f506696bc0c 100644 --- a/service/comprehend/api_op_ListTagsForResource.go +++ b/service/comprehend/api_op_ListTagsForResource.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_ListTargetedSentimentDetectionJobs.go b/service/comprehend/api_op_ListTargetedSentimentDetectionJobs.go index dc7bf4a6fc3..245aab4be6f 100644 --- a/service/comprehend/api_op_ListTargetedSentimentDetectionJobs.go +++ b/service/comprehend/api_op_ListTargetedSentimentDetectionJobs.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListTargetedSentimentDetectionJobsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTargetedSentimentDetectionJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/comprehend/api_op_ListTopicsDetectionJobs.go b/service/comprehend/api_op_ListTopicsDetectionJobs.go index dbbce32153c..e3068941222 100644 --- a/service/comprehend/api_op_ListTopicsDetectionJobs.go +++ b/service/comprehend/api_op_ListTopicsDetectionJobs.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListTopicsDetectionJobsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTopicsDetectionJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/comprehend/api_op_PutResourcePolicy.go b/service/comprehend/api_op_PutResourcePolicy.go index 0ebc59399c4..178c2b25867 100644 --- a/service/comprehend/api_op_PutResourcePolicy.go +++ b/service/comprehend/api_op_PutResourcePolicy.go @@ -135,9 +135,6 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_StartDocumentClassificationJob.go b/service/comprehend/api_op_StartDocumentClassificationJob.go index a85bcd29afe..aac7ef3c6bf 100644 --- a/service/comprehend/api_op_StartDocumentClassificationJob.go +++ b/service/comprehend/api_op_StartDocumentClassificationJob.go @@ -197,9 +197,6 @@ func (c *Client) addOperationStartDocumentClassificationJobMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartDocumentClassificationJobMiddleware(stack, options); err != nil { return err } diff --git a/service/comprehend/api_op_StartDominantLanguageDetectionJob.go b/service/comprehend/api_op_StartDominantLanguageDetectionJob.go index 0105eadbd93..bd2983e57c9 100644 --- a/service/comprehend/api_op_StartDominantLanguageDetectionJob.go +++ b/service/comprehend/api_op_StartDominantLanguageDetectionJob.go @@ -181,9 +181,6 @@ func (c *Client) addOperationStartDominantLanguageDetectionJobMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartDominantLanguageDetectionJobMiddleware(stack, options); err != nil { return err } diff --git a/service/comprehend/api_op_StartEntitiesDetectionJob.go b/service/comprehend/api_op_StartEntitiesDetectionJob.go index ef562620675..ff296afccc5 100644 --- a/service/comprehend/api_op_StartEntitiesDetectionJob.go +++ b/service/comprehend/api_op_StartEntitiesDetectionJob.go @@ -211,9 +211,6 @@ func (c *Client) addOperationStartEntitiesDetectionJobMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartEntitiesDetectionJobMiddleware(stack, options); err != nil { return err } diff --git a/service/comprehend/api_op_StartEventsDetectionJob.go b/service/comprehend/api_op_StartEventsDetectionJob.go index b8d1266b25e..83c694d12cf 100644 --- a/service/comprehend/api_op_StartEventsDetectionJob.go +++ b/service/comprehend/api_op_StartEventsDetectionJob.go @@ -162,9 +162,6 @@ func (c *Client) addOperationStartEventsDetectionJobMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartEventsDetectionJobMiddleware(stack, options); err != nil { return err } diff --git a/service/comprehend/api_op_StartFlywheelIteration.go b/service/comprehend/api_op_StartFlywheelIteration.go index 6309bf63709..0f6d30cd8cb 100644 --- a/service/comprehend/api_op_StartFlywheelIteration.go +++ b/service/comprehend/api_op_StartFlywheelIteration.go @@ -122,9 +122,6 @@ func (c *Client) addOperationStartFlywheelIterationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartFlywheelIterationValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_StartKeyPhrasesDetectionJob.go b/service/comprehend/api_op_StartKeyPhrasesDetectionJob.go index fc4b0ab4600..1ad21bd77c4 100644 --- a/service/comprehend/api_op_StartKeyPhrasesDetectionJob.go +++ b/service/comprehend/api_op_StartKeyPhrasesDetectionJob.go @@ -188,9 +188,6 @@ func (c *Client) addOperationStartKeyPhrasesDetectionJobMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartKeyPhrasesDetectionJobMiddleware(stack, options); err != nil { return err } diff --git a/service/comprehend/api_op_StartPiiEntitiesDetectionJob.go b/service/comprehend/api_op_StartPiiEntitiesDetectionJob.go index 9001471ff6b..2ca4cc66fa2 100644 --- a/service/comprehend/api_op_StartPiiEntitiesDetectionJob.go +++ b/service/comprehend/api_op_StartPiiEntitiesDetectionJob.go @@ -170,9 +170,6 @@ func (c *Client) addOperationStartPiiEntitiesDetectionJobMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartPiiEntitiesDetectionJobMiddleware(stack, options); err != nil { return err } diff --git a/service/comprehend/api_op_StartSentimentDetectionJob.go b/service/comprehend/api_op_StartSentimentDetectionJob.go index de14d9c7dce..6c09a7b30f3 100644 --- a/service/comprehend/api_op_StartSentimentDetectionJob.go +++ b/service/comprehend/api_op_StartSentimentDetectionJob.go @@ -188,9 +188,6 @@ func (c *Client) addOperationStartSentimentDetectionJobMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartSentimentDetectionJobMiddleware(stack, options); err != nil { return err } diff --git a/service/comprehend/api_op_StartTargetedSentimentDetectionJob.go b/service/comprehend/api_op_StartTargetedSentimentDetectionJob.go index f600968e4e3..d56165baf1a 100644 --- a/service/comprehend/api_op_StartTargetedSentimentDetectionJob.go +++ b/service/comprehend/api_op_StartTargetedSentimentDetectionJob.go @@ -188,9 +188,6 @@ func (c *Client) addOperationStartTargetedSentimentDetectionJobMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartTargetedSentimentDetectionJobMiddleware(stack, options); err != nil { return err } diff --git a/service/comprehend/api_op_StartTopicsDetectionJob.go b/service/comprehend/api_op_StartTopicsDetectionJob.go index 44dfaef74e0..fc65d9627a0 100644 --- a/service/comprehend/api_op_StartTopicsDetectionJob.go +++ b/service/comprehend/api_op_StartTopicsDetectionJob.go @@ -187,9 +187,6 @@ func (c *Client) addOperationStartTopicsDetectionJobMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartTopicsDetectionJobMiddleware(stack, options); err != nil { return err } diff --git a/service/comprehend/api_op_StopDominantLanguageDetectionJob.go b/service/comprehend/api_op_StopDominantLanguageDetectionJob.go index f6f11283f77..dfc85707096 100644 --- a/service/comprehend/api_op_StopDominantLanguageDetectionJob.go +++ b/service/comprehend/api_op_StopDominantLanguageDetectionJob.go @@ -128,9 +128,6 @@ func (c *Client) addOperationStopDominantLanguageDetectionJobMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopDominantLanguageDetectionJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_StopEntitiesDetectionJob.go b/service/comprehend/api_op_StopEntitiesDetectionJob.go index 8d7673280e5..5f0848b088a 100644 --- a/service/comprehend/api_op_StopEntitiesDetectionJob.go +++ b/service/comprehend/api_op_StopEntitiesDetectionJob.go @@ -128,9 +128,6 @@ func (c *Client) addOperationStopEntitiesDetectionJobMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopEntitiesDetectionJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_StopEventsDetectionJob.go b/service/comprehend/api_op_StopEventsDetectionJob.go index d33e24f8d35..3a9fb559ae0 100644 --- a/service/comprehend/api_op_StopEventsDetectionJob.go +++ b/service/comprehend/api_op_StopEventsDetectionJob.go @@ -115,9 +115,6 @@ func (c *Client) addOperationStopEventsDetectionJobMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopEventsDetectionJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_StopKeyPhrasesDetectionJob.go b/service/comprehend/api_op_StopKeyPhrasesDetectionJob.go index 858e0ecc9db..3383f8ad4c3 100644 --- a/service/comprehend/api_op_StopKeyPhrasesDetectionJob.go +++ b/service/comprehend/api_op_StopKeyPhrasesDetectionJob.go @@ -128,9 +128,6 @@ func (c *Client) addOperationStopKeyPhrasesDetectionJobMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopKeyPhrasesDetectionJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_StopPiiEntitiesDetectionJob.go b/service/comprehend/api_op_StopPiiEntitiesDetectionJob.go index 97262aacbf4..86839c1b063 100644 --- a/service/comprehend/api_op_StopPiiEntitiesDetectionJob.go +++ b/service/comprehend/api_op_StopPiiEntitiesDetectionJob.go @@ -115,9 +115,6 @@ func (c *Client) addOperationStopPiiEntitiesDetectionJobMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopPiiEntitiesDetectionJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_StopSentimentDetectionJob.go b/service/comprehend/api_op_StopSentimentDetectionJob.go index 3625b1545da..ff4bc075f2b 100644 --- a/service/comprehend/api_op_StopSentimentDetectionJob.go +++ b/service/comprehend/api_op_StopSentimentDetectionJob.go @@ -128,9 +128,6 @@ func (c *Client) addOperationStopSentimentDetectionJobMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopSentimentDetectionJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_StopTargetedSentimentDetectionJob.go b/service/comprehend/api_op_StopTargetedSentimentDetectionJob.go index aa9e1a14c8a..28c57eb2075 100644 --- a/service/comprehend/api_op_StopTargetedSentimentDetectionJob.go +++ b/service/comprehend/api_op_StopTargetedSentimentDetectionJob.go @@ -128,9 +128,6 @@ func (c *Client) addOperationStopTargetedSentimentDetectionJobMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopTargetedSentimentDetectionJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_StopTrainingDocumentClassifier.go b/service/comprehend/api_op_StopTrainingDocumentClassifier.go index 188eae7beb7..8fc53d377e0 100644 --- a/service/comprehend/api_op_StopTrainingDocumentClassifier.go +++ b/service/comprehend/api_op_StopTrainingDocumentClassifier.go @@ -114,9 +114,6 @@ func (c *Client) addOperationStopTrainingDocumentClassifierMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopTrainingDocumentClassifierValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_StopTrainingEntityRecognizer.go b/service/comprehend/api_op_StopTrainingEntityRecognizer.go index 5a7ddd6cf39..d585aab82a5 100644 --- a/service/comprehend/api_op_StopTrainingEntityRecognizer.go +++ b/service/comprehend/api_op_StopTrainingEntityRecognizer.go @@ -114,9 +114,6 @@ func (c *Client) addOperationStopTrainingEntityRecognizerMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopTrainingEntityRecognizerValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_TagResource.go b/service/comprehend/api_op_TagResource.go index e37eb19538e..7f5800c9fa1 100644 --- a/service/comprehend/api_op_TagResource.go +++ b/service/comprehend/api_op_TagResource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_UntagResource.go b/service/comprehend/api_op_UntagResource.go index 67140a7c130..48786b6feac 100644 --- a/service/comprehend/api_op_UntagResource.go +++ b/service/comprehend/api_op_UntagResource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_UpdateEndpoint.go b/service/comprehend/api_op_UpdateEndpoint.go index 6219e295e56..48869b9dd83 100644 --- a/service/comprehend/api_op_UpdateEndpoint.go +++ b/service/comprehend/api_op_UpdateEndpoint.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateEndpointMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/api_op_UpdateFlywheel.go b/service/comprehend/api_op_UpdateFlywheel.go index 80e9ff5ba1a..a31d7de1e01 100644 --- a/service/comprehend/api_op_UpdateFlywheel.go +++ b/service/comprehend/api_op_UpdateFlywheel.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateFlywheelMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFlywheelValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehend/snapshot/api_op_BatchDetectDominantLanguage.go.snap b/service/comprehend/snapshot/api_op_BatchDetectDominantLanguage.go.snap index 98cd070fafc..8488b130ce6 100644 --- a/service/comprehend/snapshot/api_op_BatchDetectDominantLanguage.go.snap +++ b/service/comprehend/snapshot/api_op_BatchDetectDominantLanguage.go.snap @@ -14,7 +14,6 @@ BatchDetectDominantLanguage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_BatchDetectEntities.go.snap b/service/comprehend/snapshot/api_op_BatchDetectEntities.go.snap index 752208de139..1740a724c47 100644 --- a/service/comprehend/snapshot/api_op_BatchDetectEntities.go.snap +++ b/service/comprehend/snapshot/api_op_BatchDetectEntities.go.snap @@ -14,7 +14,6 @@ BatchDetectEntities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_BatchDetectKeyPhrases.go.snap b/service/comprehend/snapshot/api_op_BatchDetectKeyPhrases.go.snap index f610bdfeb95..19736a0fd44 100644 --- a/service/comprehend/snapshot/api_op_BatchDetectKeyPhrases.go.snap +++ b/service/comprehend/snapshot/api_op_BatchDetectKeyPhrases.go.snap @@ -14,7 +14,6 @@ BatchDetectKeyPhrases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_BatchDetectSentiment.go.snap b/service/comprehend/snapshot/api_op_BatchDetectSentiment.go.snap index 2ec93c8b2f2..6ddfa8ac974 100644 --- a/service/comprehend/snapshot/api_op_BatchDetectSentiment.go.snap +++ b/service/comprehend/snapshot/api_op_BatchDetectSentiment.go.snap @@ -14,7 +14,6 @@ BatchDetectSentiment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_BatchDetectSyntax.go.snap b/service/comprehend/snapshot/api_op_BatchDetectSyntax.go.snap index 5128fed611a..1a7c41ed7da 100644 --- a/service/comprehend/snapshot/api_op_BatchDetectSyntax.go.snap +++ b/service/comprehend/snapshot/api_op_BatchDetectSyntax.go.snap @@ -14,7 +14,6 @@ BatchDetectSyntax Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_BatchDetectTargetedSentiment.go.snap b/service/comprehend/snapshot/api_op_BatchDetectTargetedSentiment.go.snap index 570e5371905..214069e5439 100644 --- a/service/comprehend/snapshot/api_op_BatchDetectTargetedSentiment.go.snap +++ b/service/comprehend/snapshot/api_op_BatchDetectTargetedSentiment.go.snap @@ -14,7 +14,6 @@ BatchDetectTargetedSentiment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_ClassifyDocument.go.snap b/service/comprehend/snapshot/api_op_ClassifyDocument.go.snap index a23a06d7cc7..5021df18f6a 100644 --- a/service/comprehend/snapshot/api_op_ClassifyDocument.go.snap +++ b/service/comprehend/snapshot/api_op_ClassifyDocument.go.snap @@ -14,7 +14,6 @@ ClassifyDocument Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_ContainsPiiEntities.go.snap b/service/comprehend/snapshot/api_op_ContainsPiiEntities.go.snap index 06b5750af4b..91802ecd853 100644 --- a/service/comprehend/snapshot/api_op_ContainsPiiEntities.go.snap +++ b/service/comprehend/snapshot/api_op_ContainsPiiEntities.go.snap @@ -14,7 +14,6 @@ ContainsPiiEntities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_CreateDataset.go.snap b/service/comprehend/snapshot/api_op_CreateDataset.go.snap index d3e00161393..17c56479435 100644 --- a/service/comprehend/snapshot/api_op_CreateDataset.go.snap +++ b/service/comprehend/snapshot/api_op_CreateDataset.go.snap @@ -15,7 +15,6 @@ CreateDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_CreateDocumentClassifier.go.snap b/service/comprehend/snapshot/api_op_CreateDocumentClassifier.go.snap index 41bedcc580e..b03b57ad156 100644 --- a/service/comprehend/snapshot/api_op_CreateDocumentClassifier.go.snap +++ b/service/comprehend/snapshot/api_op_CreateDocumentClassifier.go.snap @@ -15,7 +15,6 @@ CreateDocumentClassifier Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_CreateEndpoint.go.snap b/service/comprehend/snapshot/api_op_CreateEndpoint.go.snap index b0ed3112187..aa063822969 100644 --- a/service/comprehend/snapshot/api_op_CreateEndpoint.go.snap +++ b/service/comprehend/snapshot/api_op_CreateEndpoint.go.snap @@ -15,7 +15,6 @@ CreateEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_CreateEntityRecognizer.go.snap b/service/comprehend/snapshot/api_op_CreateEntityRecognizer.go.snap index 6e2e62f7492..19aa874839d 100644 --- a/service/comprehend/snapshot/api_op_CreateEntityRecognizer.go.snap +++ b/service/comprehend/snapshot/api_op_CreateEntityRecognizer.go.snap @@ -15,7 +15,6 @@ CreateEntityRecognizer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_CreateFlywheel.go.snap b/service/comprehend/snapshot/api_op_CreateFlywheel.go.snap index de8c6cf9c28..1ec88803447 100644 --- a/service/comprehend/snapshot/api_op_CreateFlywheel.go.snap +++ b/service/comprehend/snapshot/api_op_CreateFlywheel.go.snap @@ -15,7 +15,6 @@ CreateFlywheel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_DeleteDocumentClassifier.go.snap b/service/comprehend/snapshot/api_op_DeleteDocumentClassifier.go.snap index aefb9ca532d..e0ced0b53d7 100644 --- a/service/comprehend/snapshot/api_op_DeleteDocumentClassifier.go.snap +++ b/service/comprehend/snapshot/api_op_DeleteDocumentClassifier.go.snap @@ -14,7 +14,6 @@ DeleteDocumentClassifier Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_DeleteEndpoint.go.snap b/service/comprehend/snapshot/api_op_DeleteEndpoint.go.snap index 0f46907f489..c4648fb3e07 100644 --- a/service/comprehend/snapshot/api_op_DeleteEndpoint.go.snap +++ b/service/comprehend/snapshot/api_op_DeleteEndpoint.go.snap @@ -14,7 +14,6 @@ DeleteEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_DeleteEntityRecognizer.go.snap b/service/comprehend/snapshot/api_op_DeleteEntityRecognizer.go.snap index 3449b634340..7e7a372ecfa 100644 --- a/service/comprehend/snapshot/api_op_DeleteEntityRecognizer.go.snap +++ b/service/comprehend/snapshot/api_op_DeleteEntityRecognizer.go.snap @@ -14,7 +14,6 @@ DeleteEntityRecognizer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_DeleteFlywheel.go.snap b/service/comprehend/snapshot/api_op_DeleteFlywheel.go.snap index afee9e0aa24..4e953e78d35 100644 --- a/service/comprehend/snapshot/api_op_DeleteFlywheel.go.snap +++ b/service/comprehend/snapshot/api_op_DeleteFlywheel.go.snap @@ -14,7 +14,6 @@ DeleteFlywheel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_DeleteResourcePolicy.go.snap b/service/comprehend/snapshot/api_op_DeleteResourcePolicy.go.snap index 21dbc8dfcde..9948d797360 100644 --- a/service/comprehend/snapshot/api_op_DeleteResourcePolicy.go.snap +++ b/service/comprehend/snapshot/api_op_DeleteResourcePolicy.go.snap @@ -14,7 +14,6 @@ DeleteResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_DescribeDataset.go.snap b/service/comprehend/snapshot/api_op_DescribeDataset.go.snap index d62bad12867..091c433d575 100644 --- a/service/comprehend/snapshot/api_op_DescribeDataset.go.snap +++ b/service/comprehend/snapshot/api_op_DescribeDataset.go.snap @@ -14,7 +14,6 @@ DescribeDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_DescribeDocumentClassificationJob.go.snap b/service/comprehend/snapshot/api_op_DescribeDocumentClassificationJob.go.snap index 21525a1168a..6171f39af64 100644 --- a/service/comprehend/snapshot/api_op_DescribeDocumentClassificationJob.go.snap +++ b/service/comprehend/snapshot/api_op_DescribeDocumentClassificationJob.go.snap @@ -14,7 +14,6 @@ DescribeDocumentClassificationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_DescribeDocumentClassifier.go.snap b/service/comprehend/snapshot/api_op_DescribeDocumentClassifier.go.snap index 31f0b16bd7e..b5b383836eb 100644 --- a/service/comprehend/snapshot/api_op_DescribeDocumentClassifier.go.snap +++ b/service/comprehend/snapshot/api_op_DescribeDocumentClassifier.go.snap @@ -14,7 +14,6 @@ DescribeDocumentClassifier Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_DescribeDominantLanguageDetectionJob.go.snap b/service/comprehend/snapshot/api_op_DescribeDominantLanguageDetectionJob.go.snap index 7d5c6c2c9b0..b7afbc803d6 100644 --- a/service/comprehend/snapshot/api_op_DescribeDominantLanguageDetectionJob.go.snap +++ b/service/comprehend/snapshot/api_op_DescribeDominantLanguageDetectionJob.go.snap @@ -14,7 +14,6 @@ DescribeDominantLanguageDetectionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_DescribeEndpoint.go.snap b/service/comprehend/snapshot/api_op_DescribeEndpoint.go.snap index c1dd3edaf5a..80f0c04fa94 100644 --- a/service/comprehend/snapshot/api_op_DescribeEndpoint.go.snap +++ b/service/comprehend/snapshot/api_op_DescribeEndpoint.go.snap @@ -14,7 +14,6 @@ DescribeEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_DescribeEntitiesDetectionJob.go.snap b/service/comprehend/snapshot/api_op_DescribeEntitiesDetectionJob.go.snap index ea128767e09..1b3e296dad5 100644 --- a/service/comprehend/snapshot/api_op_DescribeEntitiesDetectionJob.go.snap +++ b/service/comprehend/snapshot/api_op_DescribeEntitiesDetectionJob.go.snap @@ -14,7 +14,6 @@ DescribeEntitiesDetectionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_DescribeEntityRecognizer.go.snap b/service/comprehend/snapshot/api_op_DescribeEntityRecognizer.go.snap index ad37b282129..0054f3eacf0 100644 --- a/service/comprehend/snapshot/api_op_DescribeEntityRecognizer.go.snap +++ b/service/comprehend/snapshot/api_op_DescribeEntityRecognizer.go.snap @@ -14,7 +14,6 @@ DescribeEntityRecognizer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_DescribeEventsDetectionJob.go.snap b/service/comprehend/snapshot/api_op_DescribeEventsDetectionJob.go.snap index 31cfadac8c4..58e9cd70663 100644 --- a/service/comprehend/snapshot/api_op_DescribeEventsDetectionJob.go.snap +++ b/service/comprehend/snapshot/api_op_DescribeEventsDetectionJob.go.snap @@ -14,7 +14,6 @@ DescribeEventsDetectionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_DescribeFlywheel.go.snap b/service/comprehend/snapshot/api_op_DescribeFlywheel.go.snap index 69eb833062c..5014c835dc7 100644 --- a/service/comprehend/snapshot/api_op_DescribeFlywheel.go.snap +++ b/service/comprehend/snapshot/api_op_DescribeFlywheel.go.snap @@ -14,7 +14,6 @@ DescribeFlywheel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_DescribeFlywheelIteration.go.snap b/service/comprehend/snapshot/api_op_DescribeFlywheelIteration.go.snap index 4059dcffa48..156e2ab4dc0 100644 --- a/service/comprehend/snapshot/api_op_DescribeFlywheelIteration.go.snap +++ b/service/comprehend/snapshot/api_op_DescribeFlywheelIteration.go.snap @@ -14,7 +14,6 @@ DescribeFlywheelIteration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_DescribeKeyPhrasesDetectionJob.go.snap b/service/comprehend/snapshot/api_op_DescribeKeyPhrasesDetectionJob.go.snap index 7b0636a90a7..b5b4d03762c 100644 --- a/service/comprehend/snapshot/api_op_DescribeKeyPhrasesDetectionJob.go.snap +++ b/service/comprehend/snapshot/api_op_DescribeKeyPhrasesDetectionJob.go.snap @@ -14,7 +14,6 @@ DescribeKeyPhrasesDetectionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_DescribePiiEntitiesDetectionJob.go.snap b/service/comprehend/snapshot/api_op_DescribePiiEntitiesDetectionJob.go.snap index f4e3ba7d7fd..adf2b4a5861 100644 --- a/service/comprehend/snapshot/api_op_DescribePiiEntitiesDetectionJob.go.snap +++ b/service/comprehend/snapshot/api_op_DescribePiiEntitiesDetectionJob.go.snap @@ -14,7 +14,6 @@ DescribePiiEntitiesDetectionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_DescribeResourcePolicy.go.snap b/service/comprehend/snapshot/api_op_DescribeResourcePolicy.go.snap index 4522eae3833..5483931eded 100644 --- a/service/comprehend/snapshot/api_op_DescribeResourcePolicy.go.snap +++ b/service/comprehend/snapshot/api_op_DescribeResourcePolicy.go.snap @@ -14,7 +14,6 @@ DescribeResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_DescribeSentimentDetectionJob.go.snap b/service/comprehend/snapshot/api_op_DescribeSentimentDetectionJob.go.snap index 8bce559bc94..668d7b6f08c 100644 --- a/service/comprehend/snapshot/api_op_DescribeSentimentDetectionJob.go.snap +++ b/service/comprehend/snapshot/api_op_DescribeSentimentDetectionJob.go.snap @@ -14,7 +14,6 @@ DescribeSentimentDetectionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_DescribeTargetedSentimentDetectionJob.go.snap b/service/comprehend/snapshot/api_op_DescribeTargetedSentimentDetectionJob.go.snap index e5bed007422..dad106fbc4e 100644 --- a/service/comprehend/snapshot/api_op_DescribeTargetedSentimentDetectionJob.go.snap +++ b/service/comprehend/snapshot/api_op_DescribeTargetedSentimentDetectionJob.go.snap @@ -14,7 +14,6 @@ DescribeTargetedSentimentDetectionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_DescribeTopicsDetectionJob.go.snap b/service/comprehend/snapshot/api_op_DescribeTopicsDetectionJob.go.snap index 10ea0ee52f1..e654a34360b 100644 --- a/service/comprehend/snapshot/api_op_DescribeTopicsDetectionJob.go.snap +++ b/service/comprehend/snapshot/api_op_DescribeTopicsDetectionJob.go.snap @@ -14,7 +14,6 @@ DescribeTopicsDetectionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_DetectDominantLanguage.go.snap b/service/comprehend/snapshot/api_op_DetectDominantLanguage.go.snap index de6180e37ba..d73fc62add3 100644 --- a/service/comprehend/snapshot/api_op_DetectDominantLanguage.go.snap +++ b/service/comprehend/snapshot/api_op_DetectDominantLanguage.go.snap @@ -14,7 +14,6 @@ DetectDominantLanguage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_DetectEntities.go.snap b/service/comprehend/snapshot/api_op_DetectEntities.go.snap index cb0ff9120cc..c4bc4eb00e8 100644 --- a/service/comprehend/snapshot/api_op_DetectEntities.go.snap +++ b/service/comprehend/snapshot/api_op_DetectEntities.go.snap @@ -14,7 +14,6 @@ DetectEntities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_DetectKeyPhrases.go.snap b/service/comprehend/snapshot/api_op_DetectKeyPhrases.go.snap index 8c198864dd8..7cc51932679 100644 --- a/service/comprehend/snapshot/api_op_DetectKeyPhrases.go.snap +++ b/service/comprehend/snapshot/api_op_DetectKeyPhrases.go.snap @@ -14,7 +14,6 @@ DetectKeyPhrases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_DetectPiiEntities.go.snap b/service/comprehend/snapshot/api_op_DetectPiiEntities.go.snap index 612b13c7c86..29bd24a2451 100644 --- a/service/comprehend/snapshot/api_op_DetectPiiEntities.go.snap +++ b/service/comprehend/snapshot/api_op_DetectPiiEntities.go.snap @@ -14,7 +14,6 @@ DetectPiiEntities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_DetectSentiment.go.snap b/service/comprehend/snapshot/api_op_DetectSentiment.go.snap index e58e38d2049..4355b092a00 100644 --- a/service/comprehend/snapshot/api_op_DetectSentiment.go.snap +++ b/service/comprehend/snapshot/api_op_DetectSentiment.go.snap @@ -14,7 +14,6 @@ DetectSentiment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_DetectSyntax.go.snap b/service/comprehend/snapshot/api_op_DetectSyntax.go.snap index 3d088570946..d1eea17fb7a 100644 --- a/service/comprehend/snapshot/api_op_DetectSyntax.go.snap +++ b/service/comprehend/snapshot/api_op_DetectSyntax.go.snap @@ -14,7 +14,6 @@ DetectSyntax Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_DetectTargetedSentiment.go.snap b/service/comprehend/snapshot/api_op_DetectTargetedSentiment.go.snap index f3721adc320..f98045b215d 100644 --- a/service/comprehend/snapshot/api_op_DetectTargetedSentiment.go.snap +++ b/service/comprehend/snapshot/api_op_DetectTargetedSentiment.go.snap @@ -14,7 +14,6 @@ DetectTargetedSentiment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_DetectToxicContent.go.snap b/service/comprehend/snapshot/api_op_DetectToxicContent.go.snap index 896a43bf7ac..0caffb8535c 100644 --- a/service/comprehend/snapshot/api_op_DetectToxicContent.go.snap +++ b/service/comprehend/snapshot/api_op_DetectToxicContent.go.snap @@ -14,7 +14,6 @@ DetectToxicContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_ImportModel.go.snap b/service/comprehend/snapshot/api_op_ImportModel.go.snap index 00c893c0dd9..ae351fc64f3 100644 --- a/service/comprehend/snapshot/api_op_ImportModel.go.snap +++ b/service/comprehend/snapshot/api_op_ImportModel.go.snap @@ -14,7 +14,6 @@ ImportModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_ListDatasets.go.snap b/service/comprehend/snapshot/api_op_ListDatasets.go.snap index d12c69e04c8..2417c388432 100644 --- a/service/comprehend/snapshot/api_op_ListDatasets.go.snap +++ b/service/comprehend/snapshot/api_op_ListDatasets.go.snap @@ -13,7 +13,6 @@ ListDatasets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_ListDocumentClassificationJobs.go.snap b/service/comprehend/snapshot/api_op_ListDocumentClassificationJobs.go.snap index bc7cd75ab4f..7d2aadd4694 100644 --- a/service/comprehend/snapshot/api_op_ListDocumentClassificationJobs.go.snap +++ b/service/comprehend/snapshot/api_op_ListDocumentClassificationJobs.go.snap @@ -13,7 +13,6 @@ ListDocumentClassificationJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_ListDocumentClassifierSummaries.go.snap b/service/comprehend/snapshot/api_op_ListDocumentClassifierSummaries.go.snap index e97544e180e..d4212ae2e5a 100644 --- a/service/comprehend/snapshot/api_op_ListDocumentClassifierSummaries.go.snap +++ b/service/comprehend/snapshot/api_op_ListDocumentClassifierSummaries.go.snap @@ -13,7 +13,6 @@ ListDocumentClassifierSummaries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_ListDocumentClassifiers.go.snap b/service/comprehend/snapshot/api_op_ListDocumentClassifiers.go.snap index 6c1dbaf3e7e..64298b7b5d0 100644 --- a/service/comprehend/snapshot/api_op_ListDocumentClassifiers.go.snap +++ b/service/comprehend/snapshot/api_op_ListDocumentClassifiers.go.snap @@ -13,7 +13,6 @@ ListDocumentClassifiers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_ListDominantLanguageDetectionJobs.go.snap b/service/comprehend/snapshot/api_op_ListDominantLanguageDetectionJobs.go.snap index b7418588469..0544d7e1146 100644 --- a/service/comprehend/snapshot/api_op_ListDominantLanguageDetectionJobs.go.snap +++ b/service/comprehend/snapshot/api_op_ListDominantLanguageDetectionJobs.go.snap @@ -13,7 +13,6 @@ ListDominantLanguageDetectionJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_ListEndpoints.go.snap b/service/comprehend/snapshot/api_op_ListEndpoints.go.snap index fddafef9d64..69f14ef29c5 100644 --- a/service/comprehend/snapshot/api_op_ListEndpoints.go.snap +++ b/service/comprehend/snapshot/api_op_ListEndpoints.go.snap @@ -13,7 +13,6 @@ ListEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_ListEntitiesDetectionJobs.go.snap b/service/comprehend/snapshot/api_op_ListEntitiesDetectionJobs.go.snap index bbbf1b407d5..ee37090f4a1 100644 --- a/service/comprehend/snapshot/api_op_ListEntitiesDetectionJobs.go.snap +++ b/service/comprehend/snapshot/api_op_ListEntitiesDetectionJobs.go.snap @@ -13,7 +13,6 @@ ListEntitiesDetectionJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_ListEntityRecognizerSummaries.go.snap b/service/comprehend/snapshot/api_op_ListEntityRecognizerSummaries.go.snap index 293100abf31..4dbd13cd731 100644 --- a/service/comprehend/snapshot/api_op_ListEntityRecognizerSummaries.go.snap +++ b/service/comprehend/snapshot/api_op_ListEntityRecognizerSummaries.go.snap @@ -13,7 +13,6 @@ ListEntityRecognizerSummaries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_ListEntityRecognizers.go.snap b/service/comprehend/snapshot/api_op_ListEntityRecognizers.go.snap index df44c905a6b..a1c3fab3fcb 100644 --- a/service/comprehend/snapshot/api_op_ListEntityRecognizers.go.snap +++ b/service/comprehend/snapshot/api_op_ListEntityRecognizers.go.snap @@ -13,7 +13,6 @@ ListEntityRecognizers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_ListEventsDetectionJobs.go.snap b/service/comprehend/snapshot/api_op_ListEventsDetectionJobs.go.snap index 6e4fda4cf96..f2b47559932 100644 --- a/service/comprehend/snapshot/api_op_ListEventsDetectionJobs.go.snap +++ b/service/comprehend/snapshot/api_op_ListEventsDetectionJobs.go.snap @@ -13,7 +13,6 @@ ListEventsDetectionJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_ListFlywheelIterationHistory.go.snap b/service/comprehend/snapshot/api_op_ListFlywheelIterationHistory.go.snap index 4b026e38c2f..f03ef0dcbca 100644 --- a/service/comprehend/snapshot/api_op_ListFlywheelIterationHistory.go.snap +++ b/service/comprehend/snapshot/api_op_ListFlywheelIterationHistory.go.snap @@ -14,7 +14,6 @@ ListFlywheelIterationHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_ListFlywheels.go.snap b/service/comprehend/snapshot/api_op_ListFlywheels.go.snap index f77716e4092..81615f2dc75 100644 --- a/service/comprehend/snapshot/api_op_ListFlywheels.go.snap +++ b/service/comprehend/snapshot/api_op_ListFlywheels.go.snap @@ -13,7 +13,6 @@ ListFlywheels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_ListKeyPhrasesDetectionJobs.go.snap b/service/comprehend/snapshot/api_op_ListKeyPhrasesDetectionJobs.go.snap index 285ee2b5d83..fc23ddccb67 100644 --- a/service/comprehend/snapshot/api_op_ListKeyPhrasesDetectionJobs.go.snap +++ b/service/comprehend/snapshot/api_op_ListKeyPhrasesDetectionJobs.go.snap @@ -13,7 +13,6 @@ ListKeyPhrasesDetectionJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_ListPiiEntitiesDetectionJobs.go.snap b/service/comprehend/snapshot/api_op_ListPiiEntitiesDetectionJobs.go.snap index 65cb398418b..7f474804d79 100644 --- a/service/comprehend/snapshot/api_op_ListPiiEntitiesDetectionJobs.go.snap +++ b/service/comprehend/snapshot/api_op_ListPiiEntitiesDetectionJobs.go.snap @@ -13,7 +13,6 @@ ListPiiEntitiesDetectionJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_ListSentimentDetectionJobs.go.snap b/service/comprehend/snapshot/api_op_ListSentimentDetectionJobs.go.snap index 723f0c8bb7c..fe6e0d6ed29 100644 --- a/service/comprehend/snapshot/api_op_ListSentimentDetectionJobs.go.snap +++ b/service/comprehend/snapshot/api_op_ListSentimentDetectionJobs.go.snap @@ -13,7 +13,6 @@ ListSentimentDetectionJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_ListTagsForResource.go.snap b/service/comprehend/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/comprehend/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/comprehend/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_ListTargetedSentimentDetectionJobs.go.snap b/service/comprehend/snapshot/api_op_ListTargetedSentimentDetectionJobs.go.snap index 9f8e94fc03d..a93614975e2 100644 --- a/service/comprehend/snapshot/api_op_ListTargetedSentimentDetectionJobs.go.snap +++ b/service/comprehend/snapshot/api_op_ListTargetedSentimentDetectionJobs.go.snap @@ -13,7 +13,6 @@ ListTargetedSentimentDetectionJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_ListTopicsDetectionJobs.go.snap b/service/comprehend/snapshot/api_op_ListTopicsDetectionJobs.go.snap index dafe742d86d..fc31222490f 100644 --- a/service/comprehend/snapshot/api_op_ListTopicsDetectionJobs.go.snap +++ b/service/comprehend/snapshot/api_op_ListTopicsDetectionJobs.go.snap @@ -13,7 +13,6 @@ ListTopicsDetectionJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_PutResourcePolicy.go.snap b/service/comprehend/snapshot/api_op_PutResourcePolicy.go.snap index 30530b1514f..47bad3fad0e 100644 --- a/service/comprehend/snapshot/api_op_PutResourcePolicy.go.snap +++ b/service/comprehend/snapshot/api_op_PutResourcePolicy.go.snap @@ -14,7 +14,6 @@ PutResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_StartDocumentClassificationJob.go.snap b/service/comprehend/snapshot/api_op_StartDocumentClassificationJob.go.snap index 35134b9ff33..a7e7d3175da 100644 --- a/service/comprehend/snapshot/api_op_StartDocumentClassificationJob.go.snap +++ b/service/comprehend/snapshot/api_op_StartDocumentClassificationJob.go.snap @@ -15,7 +15,6 @@ StartDocumentClassificationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_StartDominantLanguageDetectionJob.go.snap b/service/comprehend/snapshot/api_op_StartDominantLanguageDetectionJob.go.snap index 6f7debd6487..20b8faec2dd 100644 --- a/service/comprehend/snapshot/api_op_StartDominantLanguageDetectionJob.go.snap +++ b/service/comprehend/snapshot/api_op_StartDominantLanguageDetectionJob.go.snap @@ -15,7 +15,6 @@ StartDominantLanguageDetectionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_StartEntitiesDetectionJob.go.snap b/service/comprehend/snapshot/api_op_StartEntitiesDetectionJob.go.snap index 01d9c123a00..3458c1417bb 100644 --- a/service/comprehend/snapshot/api_op_StartEntitiesDetectionJob.go.snap +++ b/service/comprehend/snapshot/api_op_StartEntitiesDetectionJob.go.snap @@ -15,7 +15,6 @@ StartEntitiesDetectionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_StartEventsDetectionJob.go.snap b/service/comprehend/snapshot/api_op_StartEventsDetectionJob.go.snap index 14bbaa165b0..49aa162367a 100644 --- a/service/comprehend/snapshot/api_op_StartEventsDetectionJob.go.snap +++ b/service/comprehend/snapshot/api_op_StartEventsDetectionJob.go.snap @@ -15,7 +15,6 @@ StartEventsDetectionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_StartFlywheelIteration.go.snap b/service/comprehend/snapshot/api_op_StartFlywheelIteration.go.snap index 143a8ad09c4..13780b7701a 100644 --- a/service/comprehend/snapshot/api_op_StartFlywheelIteration.go.snap +++ b/service/comprehend/snapshot/api_op_StartFlywheelIteration.go.snap @@ -14,7 +14,6 @@ StartFlywheelIteration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_StartKeyPhrasesDetectionJob.go.snap b/service/comprehend/snapshot/api_op_StartKeyPhrasesDetectionJob.go.snap index 39bd1f698d4..c70779f3ebd 100644 --- a/service/comprehend/snapshot/api_op_StartKeyPhrasesDetectionJob.go.snap +++ b/service/comprehend/snapshot/api_op_StartKeyPhrasesDetectionJob.go.snap @@ -15,7 +15,6 @@ StartKeyPhrasesDetectionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_StartPiiEntitiesDetectionJob.go.snap b/service/comprehend/snapshot/api_op_StartPiiEntitiesDetectionJob.go.snap index 43c7e4ae753..649e8697b80 100644 --- a/service/comprehend/snapshot/api_op_StartPiiEntitiesDetectionJob.go.snap +++ b/service/comprehend/snapshot/api_op_StartPiiEntitiesDetectionJob.go.snap @@ -15,7 +15,6 @@ StartPiiEntitiesDetectionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_StartSentimentDetectionJob.go.snap b/service/comprehend/snapshot/api_op_StartSentimentDetectionJob.go.snap index 63825dfc43d..e61e0c39d88 100644 --- a/service/comprehend/snapshot/api_op_StartSentimentDetectionJob.go.snap +++ b/service/comprehend/snapshot/api_op_StartSentimentDetectionJob.go.snap @@ -15,7 +15,6 @@ StartSentimentDetectionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_StartTargetedSentimentDetectionJob.go.snap b/service/comprehend/snapshot/api_op_StartTargetedSentimentDetectionJob.go.snap index 4923b34bb74..650031f0536 100644 --- a/service/comprehend/snapshot/api_op_StartTargetedSentimentDetectionJob.go.snap +++ b/service/comprehend/snapshot/api_op_StartTargetedSentimentDetectionJob.go.snap @@ -15,7 +15,6 @@ StartTargetedSentimentDetectionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_StartTopicsDetectionJob.go.snap b/service/comprehend/snapshot/api_op_StartTopicsDetectionJob.go.snap index 11721f56e22..9a4aa029bfa 100644 --- a/service/comprehend/snapshot/api_op_StartTopicsDetectionJob.go.snap +++ b/service/comprehend/snapshot/api_op_StartTopicsDetectionJob.go.snap @@ -15,7 +15,6 @@ StartTopicsDetectionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_StopDominantLanguageDetectionJob.go.snap b/service/comprehend/snapshot/api_op_StopDominantLanguageDetectionJob.go.snap index 23acc3be7e2..4e95b1c19d4 100644 --- a/service/comprehend/snapshot/api_op_StopDominantLanguageDetectionJob.go.snap +++ b/service/comprehend/snapshot/api_op_StopDominantLanguageDetectionJob.go.snap @@ -14,7 +14,6 @@ StopDominantLanguageDetectionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_StopEntitiesDetectionJob.go.snap b/service/comprehend/snapshot/api_op_StopEntitiesDetectionJob.go.snap index caa2fa641ae..4a2a25621b5 100644 --- a/service/comprehend/snapshot/api_op_StopEntitiesDetectionJob.go.snap +++ b/service/comprehend/snapshot/api_op_StopEntitiesDetectionJob.go.snap @@ -14,7 +14,6 @@ StopEntitiesDetectionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_StopEventsDetectionJob.go.snap b/service/comprehend/snapshot/api_op_StopEventsDetectionJob.go.snap index 9278ea96fa5..1dfb468da61 100644 --- a/service/comprehend/snapshot/api_op_StopEventsDetectionJob.go.snap +++ b/service/comprehend/snapshot/api_op_StopEventsDetectionJob.go.snap @@ -14,7 +14,6 @@ StopEventsDetectionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_StopKeyPhrasesDetectionJob.go.snap b/service/comprehend/snapshot/api_op_StopKeyPhrasesDetectionJob.go.snap index d1f0e02b62b..17ff9fdedc5 100644 --- a/service/comprehend/snapshot/api_op_StopKeyPhrasesDetectionJob.go.snap +++ b/service/comprehend/snapshot/api_op_StopKeyPhrasesDetectionJob.go.snap @@ -14,7 +14,6 @@ StopKeyPhrasesDetectionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_StopPiiEntitiesDetectionJob.go.snap b/service/comprehend/snapshot/api_op_StopPiiEntitiesDetectionJob.go.snap index ab0bfc541a5..8c20380564c 100644 --- a/service/comprehend/snapshot/api_op_StopPiiEntitiesDetectionJob.go.snap +++ b/service/comprehend/snapshot/api_op_StopPiiEntitiesDetectionJob.go.snap @@ -14,7 +14,6 @@ StopPiiEntitiesDetectionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_StopSentimentDetectionJob.go.snap b/service/comprehend/snapshot/api_op_StopSentimentDetectionJob.go.snap index 8af0017e8c3..daea2763877 100644 --- a/service/comprehend/snapshot/api_op_StopSentimentDetectionJob.go.snap +++ b/service/comprehend/snapshot/api_op_StopSentimentDetectionJob.go.snap @@ -14,7 +14,6 @@ StopSentimentDetectionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_StopTargetedSentimentDetectionJob.go.snap b/service/comprehend/snapshot/api_op_StopTargetedSentimentDetectionJob.go.snap index 2a0bb6c474c..309049a7b24 100644 --- a/service/comprehend/snapshot/api_op_StopTargetedSentimentDetectionJob.go.snap +++ b/service/comprehend/snapshot/api_op_StopTargetedSentimentDetectionJob.go.snap @@ -14,7 +14,6 @@ StopTargetedSentimentDetectionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_StopTrainingDocumentClassifier.go.snap b/service/comprehend/snapshot/api_op_StopTrainingDocumentClassifier.go.snap index ff9d1ae9e92..a9f9563fb15 100644 --- a/service/comprehend/snapshot/api_op_StopTrainingDocumentClassifier.go.snap +++ b/service/comprehend/snapshot/api_op_StopTrainingDocumentClassifier.go.snap @@ -14,7 +14,6 @@ StopTrainingDocumentClassifier Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_StopTrainingEntityRecognizer.go.snap b/service/comprehend/snapshot/api_op_StopTrainingEntityRecognizer.go.snap index 48b6f075e88..3f1b340dc73 100644 --- a/service/comprehend/snapshot/api_op_StopTrainingEntityRecognizer.go.snap +++ b/service/comprehend/snapshot/api_op_StopTrainingEntityRecognizer.go.snap @@ -14,7 +14,6 @@ StopTrainingEntityRecognizer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_TagResource.go.snap b/service/comprehend/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/comprehend/snapshot/api_op_TagResource.go.snap +++ b/service/comprehend/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_UntagResource.go.snap b/service/comprehend/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/comprehend/snapshot/api_op_UntagResource.go.snap +++ b/service/comprehend/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_UpdateEndpoint.go.snap b/service/comprehend/snapshot/api_op_UpdateEndpoint.go.snap index 63486efef57..9f5c5924842 100644 --- a/service/comprehend/snapshot/api_op_UpdateEndpoint.go.snap +++ b/service/comprehend/snapshot/api_op_UpdateEndpoint.go.snap @@ -14,7 +14,6 @@ UpdateEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehend/snapshot/api_op_UpdateFlywheel.go.snap b/service/comprehend/snapshot/api_op_UpdateFlywheel.go.snap index 0bec78fbeb2..17ee1ebb3e8 100644 --- a/service/comprehend/snapshot/api_op_UpdateFlywheel.go.snap +++ b/service/comprehend/snapshot/api_op_UpdateFlywheel.go.snap @@ -14,7 +14,6 @@ UpdateFlywheel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehendmedical/api_client.go b/service/comprehendmedical/api_client.go index c0c7c56eb22..06ccc9b43c7 100644 --- a/service/comprehendmedical/api_client.go +++ b/service/comprehendmedical/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/comprehendmedical/api_op_DescribeEntitiesDetectionV2Job.go b/service/comprehendmedical/api_op_DescribeEntitiesDetectionV2Job.go index 3d9143fcfc2..fc17613238f 100644 --- a/service/comprehendmedical/api_op_DescribeEntitiesDetectionV2Job.go +++ b/service/comprehendmedical/api_op_DescribeEntitiesDetectionV2Job.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribeEntitiesDetectionV2JobMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEntitiesDetectionV2JobValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_DescribeICD10CMInferenceJob.go b/service/comprehendmedical/api_op_DescribeICD10CMInferenceJob.go index 8bf1d865471..8700c8dc3c8 100644 --- a/service/comprehendmedical/api_op_DescribeICD10CMInferenceJob.go +++ b/service/comprehendmedical/api_op_DescribeICD10CMInferenceJob.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribeICD10CMInferenceJobMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeICD10CMInferenceJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_DescribePHIDetectionJob.go b/service/comprehendmedical/api_op_DescribePHIDetectionJob.go index a5ec2e77a27..dcd80553ba2 100644 --- a/service/comprehendmedical/api_op_DescribePHIDetectionJob.go +++ b/service/comprehendmedical/api_op_DescribePHIDetectionJob.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribePHIDetectionJobMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePHIDetectionJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_DescribeRxNormInferenceJob.go b/service/comprehendmedical/api_op_DescribeRxNormInferenceJob.go index 20baca38bc4..9402ae52802 100644 --- a/service/comprehendmedical/api_op_DescribeRxNormInferenceJob.go +++ b/service/comprehendmedical/api_op_DescribeRxNormInferenceJob.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribeRxNormInferenceJobMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRxNormInferenceJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_DescribeSNOMEDCTInferenceJob.go b/service/comprehendmedical/api_op_DescribeSNOMEDCTInferenceJob.go index 55090f5480d..e00c01b43c1 100644 --- a/service/comprehendmedical/api_op_DescribeSNOMEDCTInferenceJob.go +++ b/service/comprehendmedical/api_op_DescribeSNOMEDCTInferenceJob.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDescribeSNOMEDCTInferenceJobMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSNOMEDCTInferenceJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_DetectEntities.go b/service/comprehendmedical/api_op_DetectEntities.go index 4775d7361d8..bafb477614f 100644 --- a/service/comprehendmedical/api_op_DetectEntities.go +++ b/service/comprehendmedical/api_op_DetectEntities.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDetectEntitiesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetectEntitiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_DetectEntitiesV2.go b/service/comprehendmedical/api_op_DetectEntitiesV2.go index 4337f1dd518..94fb1f9196a 100644 --- a/service/comprehendmedical/api_op_DetectEntitiesV2.go +++ b/service/comprehendmedical/api_op_DetectEntitiesV2.go @@ -143,9 +143,6 @@ func (c *Client) addOperationDetectEntitiesV2Middlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetectEntitiesV2ValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_DetectPHI.go b/service/comprehendmedical/api_op_DetectPHI.go index 643f9d3816f..a25cf1dbde1 100644 --- a/service/comprehendmedical/api_op_DetectPHI.go +++ b/service/comprehendmedical/api_op_DetectPHI.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDetectPHIMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetectPHIValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_InferICD10CM.go b/service/comprehendmedical/api_op_InferICD10CM.go index 73c0fed9903..0826a6be15f 100644 --- a/service/comprehendmedical/api_op_InferICD10CM.go +++ b/service/comprehendmedical/api_op_InferICD10CM.go @@ -128,9 +128,6 @@ func (c *Client) addOperationInferICD10CMMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpInferICD10CMValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_InferRxNorm.go b/service/comprehendmedical/api_op_InferRxNorm.go index 567cb58f311..7beff675ec0 100644 --- a/service/comprehendmedical/api_op_InferRxNorm.go +++ b/service/comprehendmedical/api_op_InferRxNorm.go @@ -128,9 +128,6 @@ func (c *Client) addOperationInferRxNormMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpInferRxNormValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_InferSNOMEDCT.go b/service/comprehendmedical/api_op_InferSNOMEDCT.go index caf63f6373d..41b44f400d4 100644 --- a/service/comprehendmedical/api_op_InferSNOMEDCT.go +++ b/service/comprehendmedical/api_op_InferSNOMEDCT.go @@ -137,9 +137,6 @@ func (c *Client) addOperationInferSNOMEDCTMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpInferSNOMEDCTValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_ListEntitiesDetectionV2Jobs.go b/service/comprehendmedical/api_op_ListEntitiesDetectionV2Jobs.go index aac725c27ca..308a3b0aa23 100644 --- a/service/comprehendmedical/api_op_ListEntitiesDetectionV2Jobs.go +++ b/service/comprehendmedical/api_op_ListEntitiesDetectionV2Jobs.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListEntitiesDetectionV2JobsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEntitiesDetectionV2Jobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/comprehendmedical/api_op_ListICD10CMInferenceJobs.go b/service/comprehendmedical/api_op_ListICD10CMInferenceJobs.go index 8b1d53da69d..f945eaf885e 100644 --- a/service/comprehendmedical/api_op_ListICD10CMInferenceJobs.go +++ b/service/comprehendmedical/api_op_ListICD10CMInferenceJobs.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListICD10CMInferenceJobsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListICD10CMInferenceJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/comprehendmedical/api_op_ListPHIDetectionJobs.go b/service/comprehendmedical/api_op_ListPHIDetectionJobs.go index c23d47a242a..62c9c5bdf10 100644 --- a/service/comprehendmedical/api_op_ListPHIDetectionJobs.go +++ b/service/comprehendmedical/api_op_ListPHIDetectionJobs.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListPHIDetectionJobsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPHIDetectionJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/comprehendmedical/api_op_ListRxNormInferenceJobs.go b/service/comprehendmedical/api_op_ListRxNormInferenceJobs.go index c056dfa2fd7..34003b7e2f6 100644 --- a/service/comprehendmedical/api_op_ListRxNormInferenceJobs.go +++ b/service/comprehendmedical/api_op_ListRxNormInferenceJobs.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListRxNormInferenceJobsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRxNormInferenceJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/comprehendmedical/api_op_ListSNOMEDCTInferenceJobs.go b/service/comprehendmedical/api_op_ListSNOMEDCTInferenceJobs.go index 4cea8056011..e8b7677ba9b 100644 --- a/service/comprehendmedical/api_op_ListSNOMEDCTInferenceJobs.go +++ b/service/comprehendmedical/api_op_ListSNOMEDCTInferenceJobs.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListSNOMEDCTInferenceJobsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSNOMEDCTInferenceJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/comprehendmedical/api_op_StartEntitiesDetectionV2Job.go b/service/comprehendmedical/api_op_StartEntitiesDetectionV2Job.go index 5515c2ca575..d38331690a3 100644 --- a/service/comprehendmedical/api_op_StartEntitiesDetectionV2Job.go +++ b/service/comprehendmedical/api_op_StartEntitiesDetectionV2Job.go @@ -147,9 +147,6 @@ func (c *Client) addOperationStartEntitiesDetectionV2JobMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartEntitiesDetectionV2JobMiddleware(stack, options); err != nil { return err } diff --git a/service/comprehendmedical/api_op_StartICD10CMInferenceJob.go b/service/comprehendmedical/api_op_StartICD10CMInferenceJob.go index b104e466722..96fddf40cfb 100644 --- a/service/comprehendmedical/api_op_StartICD10CMInferenceJob.go +++ b/service/comprehendmedical/api_op_StartICD10CMInferenceJob.go @@ -145,9 +145,6 @@ func (c *Client) addOperationStartICD10CMInferenceJobMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartICD10CMInferenceJobMiddleware(stack, options); err != nil { return err } diff --git a/service/comprehendmedical/api_op_StartPHIDetectionJob.go b/service/comprehendmedical/api_op_StartPHIDetectionJob.go index 5705f668c04..be2ed94844b 100644 --- a/service/comprehendmedical/api_op_StartPHIDetectionJob.go +++ b/service/comprehendmedical/api_op_StartPHIDetectionJob.go @@ -144,9 +144,6 @@ func (c *Client) addOperationStartPHIDetectionJobMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartPHIDetectionJobMiddleware(stack, options); err != nil { return err } diff --git a/service/comprehendmedical/api_op_StartRxNormInferenceJob.go b/service/comprehendmedical/api_op_StartRxNormInferenceJob.go index 470605435f9..d90d9f28557 100644 --- a/service/comprehendmedical/api_op_StartRxNormInferenceJob.go +++ b/service/comprehendmedical/api_op_StartRxNormInferenceJob.go @@ -144,9 +144,6 @@ func (c *Client) addOperationStartRxNormInferenceJobMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartRxNormInferenceJobMiddleware(stack, options); err != nil { return err } diff --git a/service/comprehendmedical/api_op_StartSNOMEDCTInferenceJob.go b/service/comprehendmedical/api_op_StartSNOMEDCTInferenceJob.go index 2c8be2a31e8..6d484d37e8d 100644 --- a/service/comprehendmedical/api_op_StartSNOMEDCTInferenceJob.go +++ b/service/comprehendmedical/api_op_StartSNOMEDCTInferenceJob.go @@ -145,9 +145,6 @@ func (c *Client) addOperationStartSNOMEDCTInferenceJobMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartSNOMEDCTInferenceJobMiddleware(stack, options); err != nil { return err } diff --git a/service/comprehendmedical/api_op_StopEntitiesDetectionV2Job.go b/service/comprehendmedical/api_op_StopEntitiesDetectionV2Job.go index 17c1fdff213..e9fbcec4b62 100644 --- a/service/comprehendmedical/api_op_StopEntitiesDetectionV2Job.go +++ b/service/comprehendmedical/api_op_StopEntitiesDetectionV2Job.go @@ -111,9 +111,6 @@ func (c *Client) addOperationStopEntitiesDetectionV2JobMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopEntitiesDetectionV2JobValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_StopICD10CMInferenceJob.go b/service/comprehendmedical/api_op_StopICD10CMInferenceJob.go index d5de1c1294e..f95faeb1d4d 100644 --- a/service/comprehendmedical/api_op_StopICD10CMInferenceJob.go +++ b/service/comprehendmedical/api_op_StopICD10CMInferenceJob.go @@ -112,9 +112,6 @@ func (c *Client) addOperationStopICD10CMInferenceJobMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopICD10CMInferenceJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_StopPHIDetectionJob.go b/service/comprehendmedical/api_op_StopPHIDetectionJob.go index a231c2d0ae1..ae5df5b93ce 100644 --- a/service/comprehendmedical/api_op_StopPHIDetectionJob.go +++ b/service/comprehendmedical/api_op_StopPHIDetectionJob.go @@ -111,9 +111,6 @@ func (c *Client) addOperationStopPHIDetectionJobMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopPHIDetectionJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_StopRxNormInferenceJob.go b/service/comprehendmedical/api_op_StopRxNormInferenceJob.go index a31fb91fa9d..56feae7ed71 100644 --- a/service/comprehendmedical/api_op_StopRxNormInferenceJob.go +++ b/service/comprehendmedical/api_op_StopRxNormInferenceJob.go @@ -112,9 +112,6 @@ func (c *Client) addOperationStopRxNormInferenceJobMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopRxNormInferenceJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/api_op_StopSNOMEDCTInferenceJob.go b/service/comprehendmedical/api_op_StopSNOMEDCTInferenceJob.go index 14804c07364..f37ceb498fd 100644 --- a/service/comprehendmedical/api_op_StopSNOMEDCTInferenceJob.go +++ b/service/comprehendmedical/api_op_StopSNOMEDCTInferenceJob.go @@ -112,9 +112,6 @@ func (c *Client) addOperationStopSNOMEDCTInferenceJobMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopSNOMEDCTInferenceJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/comprehendmedical/snapshot/api_op_DescribeEntitiesDetectionV2Job.go.snap b/service/comprehendmedical/snapshot/api_op_DescribeEntitiesDetectionV2Job.go.snap index 8aa9bbde2c3..1ab5e58798f 100644 --- a/service/comprehendmedical/snapshot/api_op_DescribeEntitiesDetectionV2Job.go.snap +++ b/service/comprehendmedical/snapshot/api_op_DescribeEntitiesDetectionV2Job.go.snap @@ -14,7 +14,6 @@ DescribeEntitiesDetectionV2Job Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehendmedical/snapshot/api_op_DescribeICD10CMInferenceJob.go.snap b/service/comprehendmedical/snapshot/api_op_DescribeICD10CMInferenceJob.go.snap index 8c7118a2c1c..2345bf20063 100644 --- a/service/comprehendmedical/snapshot/api_op_DescribeICD10CMInferenceJob.go.snap +++ b/service/comprehendmedical/snapshot/api_op_DescribeICD10CMInferenceJob.go.snap @@ -14,7 +14,6 @@ DescribeICD10CMInferenceJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehendmedical/snapshot/api_op_DescribePHIDetectionJob.go.snap b/service/comprehendmedical/snapshot/api_op_DescribePHIDetectionJob.go.snap index b5d02a221b0..e135220c2ef 100644 --- a/service/comprehendmedical/snapshot/api_op_DescribePHIDetectionJob.go.snap +++ b/service/comprehendmedical/snapshot/api_op_DescribePHIDetectionJob.go.snap @@ -14,7 +14,6 @@ DescribePHIDetectionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehendmedical/snapshot/api_op_DescribeRxNormInferenceJob.go.snap b/service/comprehendmedical/snapshot/api_op_DescribeRxNormInferenceJob.go.snap index 280b0defc91..48c25a3ccbb 100644 --- a/service/comprehendmedical/snapshot/api_op_DescribeRxNormInferenceJob.go.snap +++ b/service/comprehendmedical/snapshot/api_op_DescribeRxNormInferenceJob.go.snap @@ -14,7 +14,6 @@ DescribeRxNormInferenceJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehendmedical/snapshot/api_op_DescribeSNOMEDCTInferenceJob.go.snap b/service/comprehendmedical/snapshot/api_op_DescribeSNOMEDCTInferenceJob.go.snap index 6e8db55a633..e6332eebc51 100644 --- a/service/comprehendmedical/snapshot/api_op_DescribeSNOMEDCTInferenceJob.go.snap +++ b/service/comprehendmedical/snapshot/api_op_DescribeSNOMEDCTInferenceJob.go.snap @@ -14,7 +14,6 @@ DescribeSNOMEDCTInferenceJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehendmedical/snapshot/api_op_DetectEntities.go.snap b/service/comprehendmedical/snapshot/api_op_DetectEntities.go.snap index cb0ff9120cc..c4bc4eb00e8 100644 --- a/service/comprehendmedical/snapshot/api_op_DetectEntities.go.snap +++ b/service/comprehendmedical/snapshot/api_op_DetectEntities.go.snap @@ -14,7 +14,6 @@ DetectEntities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehendmedical/snapshot/api_op_DetectEntitiesV2.go.snap b/service/comprehendmedical/snapshot/api_op_DetectEntitiesV2.go.snap index 2e6f6474a95..2c5a72a26c0 100644 --- a/service/comprehendmedical/snapshot/api_op_DetectEntitiesV2.go.snap +++ b/service/comprehendmedical/snapshot/api_op_DetectEntitiesV2.go.snap @@ -14,7 +14,6 @@ DetectEntitiesV2 Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehendmedical/snapshot/api_op_DetectPHI.go.snap b/service/comprehendmedical/snapshot/api_op_DetectPHI.go.snap index 8253a64f28a..610f320e68d 100644 --- a/service/comprehendmedical/snapshot/api_op_DetectPHI.go.snap +++ b/service/comprehendmedical/snapshot/api_op_DetectPHI.go.snap @@ -14,7 +14,6 @@ DetectPHI Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehendmedical/snapshot/api_op_InferICD10CM.go.snap b/service/comprehendmedical/snapshot/api_op_InferICD10CM.go.snap index 418533386ca..f950e23b561 100644 --- a/service/comprehendmedical/snapshot/api_op_InferICD10CM.go.snap +++ b/service/comprehendmedical/snapshot/api_op_InferICD10CM.go.snap @@ -14,7 +14,6 @@ InferICD10CM Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehendmedical/snapshot/api_op_InferRxNorm.go.snap b/service/comprehendmedical/snapshot/api_op_InferRxNorm.go.snap index 5c36a6231aa..ea08bfdf386 100644 --- a/service/comprehendmedical/snapshot/api_op_InferRxNorm.go.snap +++ b/service/comprehendmedical/snapshot/api_op_InferRxNorm.go.snap @@ -14,7 +14,6 @@ InferRxNorm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehendmedical/snapshot/api_op_InferSNOMEDCT.go.snap b/service/comprehendmedical/snapshot/api_op_InferSNOMEDCT.go.snap index 4ed807931f7..fd2e5c72859 100644 --- a/service/comprehendmedical/snapshot/api_op_InferSNOMEDCT.go.snap +++ b/service/comprehendmedical/snapshot/api_op_InferSNOMEDCT.go.snap @@ -14,7 +14,6 @@ InferSNOMEDCT Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehendmedical/snapshot/api_op_ListEntitiesDetectionV2Jobs.go.snap b/service/comprehendmedical/snapshot/api_op_ListEntitiesDetectionV2Jobs.go.snap index 6ee643ff564..c74889918bc 100644 --- a/service/comprehendmedical/snapshot/api_op_ListEntitiesDetectionV2Jobs.go.snap +++ b/service/comprehendmedical/snapshot/api_op_ListEntitiesDetectionV2Jobs.go.snap @@ -13,7 +13,6 @@ ListEntitiesDetectionV2Jobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehendmedical/snapshot/api_op_ListICD10CMInferenceJobs.go.snap b/service/comprehendmedical/snapshot/api_op_ListICD10CMInferenceJobs.go.snap index db59d7a61a0..ebc7c8deb4d 100644 --- a/service/comprehendmedical/snapshot/api_op_ListICD10CMInferenceJobs.go.snap +++ b/service/comprehendmedical/snapshot/api_op_ListICD10CMInferenceJobs.go.snap @@ -13,7 +13,6 @@ ListICD10CMInferenceJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehendmedical/snapshot/api_op_ListPHIDetectionJobs.go.snap b/service/comprehendmedical/snapshot/api_op_ListPHIDetectionJobs.go.snap index 80b558dba2a..9e72097ff16 100644 --- a/service/comprehendmedical/snapshot/api_op_ListPHIDetectionJobs.go.snap +++ b/service/comprehendmedical/snapshot/api_op_ListPHIDetectionJobs.go.snap @@ -13,7 +13,6 @@ ListPHIDetectionJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehendmedical/snapshot/api_op_ListRxNormInferenceJobs.go.snap b/service/comprehendmedical/snapshot/api_op_ListRxNormInferenceJobs.go.snap index 7fe12fda99f..8051b19f848 100644 --- a/service/comprehendmedical/snapshot/api_op_ListRxNormInferenceJobs.go.snap +++ b/service/comprehendmedical/snapshot/api_op_ListRxNormInferenceJobs.go.snap @@ -13,7 +13,6 @@ ListRxNormInferenceJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehendmedical/snapshot/api_op_ListSNOMEDCTInferenceJobs.go.snap b/service/comprehendmedical/snapshot/api_op_ListSNOMEDCTInferenceJobs.go.snap index 4c76ff854fd..095a23cd9be 100644 --- a/service/comprehendmedical/snapshot/api_op_ListSNOMEDCTInferenceJobs.go.snap +++ b/service/comprehendmedical/snapshot/api_op_ListSNOMEDCTInferenceJobs.go.snap @@ -13,7 +13,6 @@ ListSNOMEDCTInferenceJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehendmedical/snapshot/api_op_StartEntitiesDetectionV2Job.go.snap b/service/comprehendmedical/snapshot/api_op_StartEntitiesDetectionV2Job.go.snap index c7d051c2b73..646266d2b94 100644 --- a/service/comprehendmedical/snapshot/api_op_StartEntitiesDetectionV2Job.go.snap +++ b/service/comprehendmedical/snapshot/api_op_StartEntitiesDetectionV2Job.go.snap @@ -15,7 +15,6 @@ StartEntitiesDetectionV2Job Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehendmedical/snapshot/api_op_StartICD10CMInferenceJob.go.snap b/service/comprehendmedical/snapshot/api_op_StartICD10CMInferenceJob.go.snap index fb76f2d6c35..f12b39c3123 100644 --- a/service/comprehendmedical/snapshot/api_op_StartICD10CMInferenceJob.go.snap +++ b/service/comprehendmedical/snapshot/api_op_StartICD10CMInferenceJob.go.snap @@ -15,7 +15,6 @@ StartICD10CMInferenceJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehendmedical/snapshot/api_op_StartPHIDetectionJob.go.snap b/service/comprehendmedical/snapshot/api_op_StartPHIDetectionJob.go.snap index bcd6072329d..9e2f059b333 100644 --- a/service/comprehendmedical/snapshot/api_op_StartPHIDetectionJob.go.snap +++ b/service/comprehendmedical/snapshot/api_op_StartPHIDetectionJob.go.snap @@ -15,7 +15,6 @@ StartPHIDetectionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehendmedical/snapshot/api_op_StartRxNormInferenceJob.go.snap b/service/comprehendmedical/snapshot/api_op_StartRxNormInferenceJob.go.snap index d986b465fd9..376d2e68ed0 100644 --- a/service/comprehendmedical/snapshot/api_op_StartRxNormInferenceJob.go.snap +++ b/service/comprehendmedical/snapshot/api_op_StartRxNormInferenceJob.go.snap @@ -15,7 +15,6 @@ StartRxNormInferenceJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehendmedical/snapshot/api_op_StartSNOMEDCTInferenceJob.go.snap b/service/comprehendmedical/snapshot/api_op_StartSNOMEDCTInferenceJob.go.snap index eefdafc8a66..72a91c04322 100644 --- a/service/comprehendmedical/snapshot/api_op_StartSNOMEDCTInferenceJob.go.snap +++ b/service/comprehendmedical/snapshot/api_op_StartSNOMEDCTInferenceJob.go.snap @@ -15,7 +15,6 @@ StartSNOMEDCTInferenceJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehendmedical/snapshot/api_op_StopEntitiesDetectionV2Job.go.snap b/service/comprehendmedical/snapshot/api_op_StopEntitiesDetectionV2Job.go.snap index b95e6be74a6..00983519c1f 100644 --- a/service/comprehendmedical/snapshot/api_op_StopEntitiesDetectionV2Job.go.snap +++ b/service/comprehendmedical/snapshot/api_op_StopEntitiesDetectionV2Job.go.snap @@ -14,7 +14,6 @@ StopEntitiesDetectionV2Job Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehendmedical/snapshot/api_op_StopICD10CMInferenceJob.go.snap b/service/comprehendmedical/snapshot/api_op_StopICD10CMInferenceJob.go.snap index 12f019bee81..22298c7f746 100644 --- a/service/comprehendmedical/snapshot/api_op_StopICD10CMInferenceJob.go.snap +++ b/service/comprehendmedical/snapshot/api_op_StopICD10CMInferenceJob.go.snap @@ -14,7 +14,6 @@ StopICD10CMInferenceJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehendmedical/snapshot/api_op_StopPHIDetectionJob.go.snap b/service/comprehendmedical/snapshot/api_op_StopPHIDetectionJob.go.snap index d7c06182cc9..8ab0eaa5ba2 100644 --- a/service/comprehendmedical/snapshot/api_op_StopPHIDetectionJob.go.snap +++ b/service/comprehendmedical/snapshot/api_op_StopPHIDetectionJob.go.snap @@ -14,7 +14,6 @@ StopPHIDetectionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehendmedical/snapshot/api_op_StopRxNormInferenceJob.go.snap b/service/comprehendmedical/snapshot/api_op_StopRxNormInferenceJob.go.snap index 9d5ffcf8df8..8cd60b0e4a1 100644 --- a/service/comprehendmedical/snapshot/api_op_StopRxNormInferenceJob.go.snap +++ b/service/comprehendmedical/snapshot/api_op_StopRxNormInferenceJob.go.snap @@ -14,7 +14,6 @@ StopRxNormInferenceJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/comprehendmedical/snapshot/api_op_StopSNOMEDCTInferenceJob.go.snap b/service/comprehendmedical/snapshot/api_op_StopSNOMEDCTInferenceJob.go.snap index cf4eb4af49f..2163a4a1376 100644 --- a/service/comprehendmedical/snapshot/api_op_StopSNOMEDCTInferenceJob.go.snap +++ b/service/comprehendmedical/snapshot/api_op_StopSNOMEDCTInferenceJob.go.snap @@ -14,7 +14,6 @@ StopSNOMEDCTInferenceJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/computeoptimizer/api_client.go b/service/computeoptimizer/api_client.go index 0df4e0783e9..9770f913935 100644 --- a/service/computeoptimizer/api_client.go +++ b/service/computeoptimizer/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/computeoptimizer/api_op_DeleteRecommendationPreferences.go b/service/computeoptimizer/api_op_DeleteRecommendationPreferences.go index 204be5fac94..b5320ed1945 100644 --- a/service/computeoptimizer/api_op_DeleteRecommendationPreferences.go +++ b/service/computeoptimizer/api_op_DeleteRecommendationPreferences.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDeleteRecommendationPreferencesMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRecommendationPreferencesValidationMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_DescribeRecommendationExportJobs.go b/service/computeoptimizer/api_op_DescribeRecommendationExportJobs.go index ea4fb371bc3..e3f512f66a4 100644 --- a/service/computeoptimizer/api_op_DescribeRecommendationExportJobs.go +++ b/service/computeoptimizer/api_op_DescribeRecommendationExportJobs.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribeRecommendationExportJobsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRecommendationExportJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/computeoptimizer/api_op_ExportAutoScalingGroupRecommendations.go b/service/computeoptimizer/api_op_ExportAutoScalingGroupRecommendations.go index 6aa079c2a75..2dd6cf18835 100644 --- a/service/computeoptimizer/api_op_ExportAutoScalingGroupRecommendations.go +++ b/service/computeoptimizer/api_op_ExportAutoScalingGroupRecommendations.go @@ -194,9 +194,6 @@ func (c *Client) addOperationExportAutoScalingGroupRecommendationsMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExportAutoScalingGroupRecommendationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_ExportEBSVolumeRecommendations.go b/service/computeoptimizer/api_op_ExportEBSVolumeRecommendations.go index ef23685efc7..f157d324a89 100644 --- a/service/computeoptimizer/api_op_ExportEBSVolumeRecommendations.go +++ b/service/computeoptimizer/api_op_ExportEBSVolumeRecommendations.go @@ -191,9 +191,6 @@ func (c *Client) addOperationExportEBSVolumeRecommendationsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExportEBSVolumeRecommendationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_ExportEC2InstanceRecommendations.go b/service/computeoptimizer/api_op_ExportEC2InstanceRecommendations.go index 6fd4465beb9..7a659d1bef4 100644 --- a/service/computeoptimizer/api_op_ExportEC2InstanceRecommendations.go +++ b/service/computeoptimizer/api_op_ExportEC2InstanceRecommendations.go @@ -191,9 +191,6 @@ func (c *Client) addOperationExportEC2InstanceRecommendationsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExportEC2InstanceRecommendationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_ExportECSServiceRecommendations.go b/service/computeoptimizer/api_op_ExportECSServiceRecommendations.go index 7a9958d9247..11424832835 100644 --- a/service/computeoptimizer/api_op_ExportECSServiceRecommendations.go +++ b/service/computeoptimizer/api_op_ExportECSServiceRecommendations.go @@ -187,9 +187,6 @@ func (c *Client) addOperationExportECSServiceRecommendationsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExportECSServiceRecommendationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_ExportIdleRecommendations.go b/service/computeoptimizer/api_op_ExportIdleRecommendations.go index 8e2c1c12a5e..9f45d199bb8 100644 --- a/service/computeoptimizer/api_op_ExportIdleRecommendations.go +++ b/service/computeoptimizer/api_op_ExportIdleRecommendations.go @@ -187,9 +187,6 @@ func (c *Client) addOperationExportIdleRecommendationsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExportIdleRecommendationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_ExportLambdaFunctionRecommendations.go b/service/computeoptimizer/api_op_ExportLambdaFunctionRecommendations.go index bbbc958e4e3..a5b5329babe 100644 --- a/service/computeoptimizer/api_op_ExportLambdaFunctionRecommendations.go +++ b/service/computeoptimizer/api_op_ExportLambdaFunctionRecommendations.go @@ -191,9 +191,6 @@ func (c *Client) addOperationExportLambdaFunctionRecommendationsMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExportLambdaFunctionRecommendationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_ExportLicenseRecommendations.go b/service/computeoptimizer/api_op_ExportLicenseRecommendations.go index 129320d2097..e044a22b036 100644 --- a/service/computeoptimizer/api_op_ExportLicenseRecommendations.go +++ b/service/computeoptimizer/api_op_ExportLicenseRecommendations.go @@ -188,9 +188,6 @@ func (c *Client) addOperationExportLicenseRecommendationsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExportLicenseRecommendationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_ExportRDSDatabaseRecommendations.go b/service/computeoptimizer/api_op_ExportRDSDatabaseRecommendations.go index 877d164157e..da540ae6f5f 100644 --- a/service/computeoptimizer/api_op_ExportRDSDatabaseRecommendations.go +++ b/service/computeoptimizer/api_op_ExportRDSDatabaseRecommendations.go @@ -193,9 +193,6 @@ func (c *Client) addOperationExportRDSDatabaseRecommendationsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExportRDSDatabaseRecommendationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_GetAutoScalingGroupRecommendations.go b/service/computeoptimizer/api_op_GetAutoScalingGroupRecommendations.go index 40656d8d09a..cab2731507b 100644 --- a/service/computeoptimizer/api_op_GetAutoScalingGroupRecommendations.go +++ b/service/computeoptimizer/api_op_GetAutoScalingGroupRecommendations.go @@ -158,9 +158,6 @@ func (c *Client) addOperationGetAutoScalingGroupRecommendationsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAutoScalingGroupRecommendations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/computeoptimizer/api_op_GetEBSVolumeRecommendations.go b/service/computeoptimizer/api_op_GetEBSVolumeRecommendations.go index f24df2af755..206afccca1f 100644 --- a/service/computeoptimizer/api_op_GetEBSVolumeRecommendations.go +++ b/service/computeoptimizer/api_op_GetEBSVolumeRecommendations.go @@ -152,9 +152,6 @@ func (c *Client) addOperationGetEBSVolumeRecommendationsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEBSVolumeRecommendations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/computeoptimizer/api_op_GetEC2InstanceRecommendations.go b/service/computeoptimizer/api_op_GetEC2InstanceRecommendations.go index a87ff49b835..8007ae3ceaa 100644 --- a/service/computeoptimizer/api_op_GetEC2InstanceRecommendations.go +++ b/service/computeoptimizer/api_op_GetEC2InstanceRecommendations.go @@ -156,9 +156,6 @@ func (c *Client) addOperationGetEC2InstanceRecommendationsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEC2InstanceRecommendations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/computeoptimizer/api_op_GetEC2RecommendationProjectedMetrics.go b/service/computeoptimizer/api_op_GetEC2RecommendationProjectedMetrics.go index 51016269b15..ec44ef78a5d 100644 --- a/service/computeoptimizer/api_op_GetEC2RecommendationProjectedMetrics.go +++ b/service/computeoptimizer/api_op_GetEC2RecommendationProjectedMetrics.go @@ -146,9 +146,6 @@ func (c *Client) addOperationGetEC2RecommendationProjectedMetricsMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEC2RecommendationProjectedMetricsValidationMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_GetECSServiceRecommendationProjectedMetrics.go b/service/computeoptimizer/api_op_GetECSServiceRecommendationProjectedMetrics.go index d7a2e745d1e..8fc28265c0d 100644 --- a/service/computeoptimizer/api_op_GetECSServiceRecommendationProjectedMetrics.go +++ b/service/computeoptimizer/api_op_GetECSServiceRecommendationProjectedMetrics.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGetECSServiceRecommendationProjectedMetricsMiddlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetECSServiceRecommendationProjectedMetricsValidationMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_GetECSServiceRecommendations.go b/service/computeoptimizer/api_op_GetECSServiceRecommendations.go index 6f008a9a0b5..4bf6359ff2b 100644 --- a/service/computeoptimizer/api_op_GetECSServiceRecommendations.go +++ b/service/computeoptimizer/api_op_GetECSServiceRecommendations.go @@ -150,9 +150,6 @@ func (c *Client) addOperationGetECSServiceRecommendationsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetECSServiceRecommendations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/computeoptimizer/api_op_GetEffectiveRecommendationPreferences.go b/service/computeoptimizer/api_op_GetEffectiveRecommendationPreferences.go index 1f48f6a4953..ce982884a4b 100644 --- a/service/computeoptimizer/api_op_GetEffectiveRecommendationPreferences.go +++ b/service/computeoptimizer/api_op_GetEffectiveRecommendationPreferences.go @@ -184,9 +184,6 @@ func (c *Client) addOperationGetEffectiveRecommendationPreferencesMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEffectiveRecommendationPreferencesValidationMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_GetEnrollmentStatus.go b/service/computeoptimizer/api_op_GetEnrollmentStatus.go index 75bf94f4635..85326764e0d 100644 --- a/service/computeoptimizer/api_op_GetEnrollmentStatus.go +++ b/service/computeoptimizer/api_op_GetEnrollmentStatus.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetEnrollmentStatusMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEnrollmentStatus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/computeoptimizer/api_op_GetEnrollmentStatusesForOrganization.go b/service/computeoptimizer/api_op_GetEnrollmentStatusesForOrganization.go index 92486976860..52e62b5ef85 100644 --- a/service/computeoptimizer/api_op_GetEnrollmentStatusesForOrganization.go +++ b/service/computeoptimizer/api_op_GetEnrollmentStatusesForOrganization.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetEnrollmentStatusesForOrganizationMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEnrollmentStatusesForOrganization(options.Region), middleware.Before); err != nil { return err } diff --git a/service/computeoptimizer/api_op_GetIdleRecommendations.go b/service/computeoptimizer/api_op_GetIdleRecommendations.go index 1e9e0433262..75fa752011a 100644 --- a/service/computeoptimizer/api_op_GetIdleRecommendations.go +++ b/service/computeoptimizer/api_op_GetIdleRecommendations.go @@ -147,9 +147,6 @@ func (c *Client) addOperationGetIdleRecommendationsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIdleRecommendations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/computeoptimizer/api_op_GetLambdaFunctionRecommendations.go b/service/computeoptimizer/api_op_GetLambdaFunctionRecommendations.go index f8d754cca96..15d9d99e779 100644 --- a/service/computeoptimizer/api_op_GetLambdaFunctionRecommendations.go +++ b/service/computeoptimizer/api_op_GetLambdaFunctionRecommendations.go @@ -155,9 +155,6 @@ func (c *Client) addOperationGetLambdaFunctionRecommendationsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLambdaFunctionRecommendations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/computeoptimizer/api_op_GetLicenseRecommendations.go b/service/computeoptimizer/api_op_GetLicenseRecommendations.go index b37f311f653..1652e790804 100644 --- a/service/computeoptimizer/api_op_GetLicenseRecommendations.go +++ b/service/computeoptimizer/api_op_GetLicenseRecommendations.go @@ -150,9 +150,6 @@ func (c *Client) addOperationGetLicenseRecommendationsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLicenseRecommendations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/computeoptimizer/api_op_GetRDSDatabaseRecommendationProjectedMetrics.go b/service/computeoptimizer/api_op_GetRDSDatabaseRecommendationProjectedMetrics.go index 5b25b9fcff0..3dd4bd96b88 100644 --- a/service/computeoptimizer/api_op_GetRDSDatabaseRecommendationProjectedMetrics.go +++ b/service/computeoptimizer/api_op_GetRDSDatabaseRecommendationProjectedMetrics.go @@ -141,9 +141,6 @@ func (c *Client) addOperationGetRDSDatabaseRecommendationProjectedMetricsMiddlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRDSDatabaseRecommendationProjectedMetricsValidationMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_GetRDSDatabaseRecommendations.go b/service/computeoptimizer/api_op_GetRDSDatabaseRecommendations.go index 5e7517f0c08..70a197a9279 100644 --- a/service/computeoptimizer/api_op_GetRDSDatabaseRecommendations.go +++ b/service/computeoptimizer/api_op_GetRDSDatabaseRecommendations.go @@ -158,9 +158,6 @@ func (c *Client) addOperationGetRDSDatabaseRecommendationsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRDSDatabaseRecommendations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/computeoptimizer/api_op_GetRecommendationPreferences.go b/service/computeoptimizer/api_op_GetRecommendationPreferences.go index 1a060fef2c7..2f318a934a6 100644 --- a/service/computeoptimizer/api_op_GetRecommendationPreferences.go +++ b/service/computeoptimizer/api_op_GetRecommendationPreferences.go @@ -151,9 +151,6 @@ func (c *Client) addOperationGetRecommendationPreferencesMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRecommendationPreferencesValidationMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_GetRecommendationSummaries.go b/service/computeoptimizer/api_op_GetRecommendationSummaries.go index 57c81f20745..139c57b5d80 100644 --- a/service/computeoptimizer/api_op_GetRecommendationSummaries.go +++ b/service/computeoptimizer/api_op_GetRecommendationSummaries.go @@ -146,9 +146,6 @@ func (c *Client) addOperationGetRecommendationSummariesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRecommendationSummaries(options.Region), middleware.Before); err != nil { return err } diff --git a/service/computeoptimizer/api_op_PutRecommendationPreferences.go b/service/computeoptimizer/api_op_PutRecommendationPreferences.go index e7f91509e6e..3b3d0bd50c5 100644 --- a/service/computeoptimizer/api_op_PutRecommendationPreferences.go +++ b/service/computeoptimizer/api_op_PutRecommendationPreferences.go @@ -231,9 +231,6 @@ func (c *Client) addOperationPutRecommendationPreferencesMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutRecommendationPreferencesValidationMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/api_op_UpdateEnrollmentStatus.go b/service/computeoptimizer/api_op_UpdateEnrollmentStatus.go index af94018b600..66ab84ff7cf 100644 --- a/service/computeoptimizer/api_op_UpdateEnrollmentStatus.go +++ b/service/computeoptimizer/api_op_UpdateEnrollmentStatus.go @@ -153,9 +153,6 @@ func (c *Client) addOperationUpdateEnrollmentStatusMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEnrollmentStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/computeoptimizer/snapshot/api_op_DeleteRecommendationPreferences.go.snap b/service/computeoptimizer/snapshot/api_op_DeleteRecommendationPreferences.go.snap index eac93e52268..8cee493dcc8 100644 --- a/service/computeoptimizer/snapshot/api_op_DeleteRecommendationPreferences.go.snap +++ b/service/computeoptimizer/snapshot/api_op_DeleteRecommendationPreferences.go.snap @@ -14,7 +14,6 @@ DeleteRecommendationPreferences Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/computeoptimizer/snapshot/api_op_DescribeRecommendationExportJobs.go.snap b/service/computeoptimizer/snapshot/api_op_DescribeRecommendationExportJobs.go.snap index f8b072060eb..88b27f78a2d 100644 --- a/service/computeoptimizer/snapshot/api_op_DescribeRecommendationExportJobs.go.snap +++ b/service/computeoptimizer/snapshot/api_op_DescribeRecommendationExportJobs.go.snap @@ -13,7 +13,6 @@ DescribeRecommendationExportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/computeoptimizer/snapshot/api_op_ExportAutoScalingGroupRecommendations.go.snap b/service/computeoptimizer/snapshot/api_op_ExportAutoScalingGroupRecommendations.go.snap index 976367e47fb..45520020a09 100644 --- a/service/computeoptimizer/snapshot/api_op_ExportAutoScalingGroupRecommendations.go.snap +++ b/service/computeoptimizer/snapshot/api_op_ExportAutoScalingGroupRecommendations.go.snap @@ -14,7 +14,6 @@ ExportAutoScalingGroupRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/computeoptimizer/snapshot/api_op_ExportEBSVolumeRecommendations.go.snap b/service/computeoptimizer/snapshot/api_op_ExportEBSVolumeRecommendations.go.snap index f6098245913..d083e4221fb 100644 --- a/service/computeoptimizer/snapshot/api_op_ExportEBSVolumeRecommendations.go.snap +++ b/service/computeoptimizer/snapshot/api_op_ExportEBSVolumeRecommendations.go.snap @@ -14,7 +14,6 @@ ExportEBSVolumeRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/computeoptimizer/snapshot/api_op_ExportEC2InstanceRecommendations.go.snap b/service/computeoptimizer/snapshot/api_op_ExportEC2InstanceRecommendations.go.snap index f2ff433fdb8..b968f996d92 100644 --- a/service/computeoptimizer/snapshot/api_op_ExportEC2InstanceRecommendations.go.snap +++ b/service/computeoptimizer/snapshot/api_op_ExportEC2InstanceRecommendations.go.snap @@ -14,7 +14,6 @@ ExportEC2InstanceRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/computeoptimizer/snapshot/api_op_ExportECSServiceRecommendations.go.snap b/service/computeoptimizer/snapshot/api_op_ExportECSServiceRecommendations.go.snap index b2825727c0d..291b12efabe 100644 --- a/service/computeoptimizer/snapshot/api_op_ExportECSServiceRecommendations.go.snap +++ b/service/computeoptimizer/snapshot/api_op_ExportECSServiceRecommendations.go.snap @@ -14,7 +14,6 @@ ExportECSServiceRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/computeoptimizer/snapshot/api_op_ExportIdleRecommendations.go.snap b/service/computeoptimizer/snapshot/api_op_ExportIdleRecommendations.go.snap index e7f4820bea7..3fc4451cb28 100644 --- a/service/computeoptimizer/snapshot/api_op_ExportIdleRecommendations.go.snap +++ b/service/computeoptimizer/snapshot/api_op_ExportIdleRecommendations.go.snap @@ -14,7 +14,6 @@ ExportIdleRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/computeoptimizer/snapshot/api_op_ExportLambdaFunctionRecommendations.go.snap b/service/computeoptimizer/snapshot/api_op_ExportLambdaFunctionRecommendations.go.snap index 6304aa70eff..8d7219b337a 100644 --- a/service/computeoptimizer/snapshot/api_op_ExportLambdaFunctionRecommendations.go.snap +++ b/service/computeoptimizer/snapshot/api_op_ExportLambdaFunctionRecommendations.go.snap @@ -14,7 +14,6 @@ ExportLambdaFunctionRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/computeoptimizer/snapshot/api_op_ExportLicenseRecommendations.go.snap b/service/computeoptimizer/snapshot/api_op_ExportLicenseRecommendations.go.snap index 0a679796630..5c3474bb9b4 100644 --- a/service/computeoptimizer/snapshot/api_op_ExportLicenseRecommendations.go.snap +++ b/service/computeoptimizer/snapshot/api_op_ExportLicenseRecommendations.go.snap @@ -14,7 +14,6 @@ ExportLicenseRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/computeoptimizer/snapshot/api_op_ExportRDSDatabaseRecommendations.go.snap b/service/computeoptimizer/snapshot/api_op_ExportRDSDatabaseRecommendations.go.snap index 6af22e9389a..8fda62efab1 100644 --- a/service/computeoptimizer/snapshot/api_op_ExportRDSDatabaseRecommendations.go.snap +++ b/service/computeoptimizer/snapshot/api_op_ExportRDSDatabaseRecommendations.go.snap @@ -14,7 +14,6 @@ ExportRDSDatabaseRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/computeoptimizer/snapshot/api_op_GetAutoScalingGroupRecommendations.go.snap b/service/computeoptimizer/snapshot/api_op_GetAutoScalingGroupRecommendations.go.snap index 5511f3bbbb8..5177caee71c 100644 --- a/service/computeoptimizer/snapshot/api_op_GetAutoScalingGroupRecommendations.go.snap +++ b/service/computeoptimizer/snapshot/api_op_GetAutoScalingGroupRecommendations.go.snap @@ -13,7 +13,6 @@ GetAutoScalingGroupRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/computeoptimizer/snapshot/api_op_GetEBSVolumeRecommendations.go.snap b/service/computeoptimizer/snapshot/api_op_GetEBSVolumeRecommendations.go.snap index c51892750ac..8b76647394d 100644 --- a/service/computeoptimizer/snapshot/api_op_GetEBSVolumeRecommendations.go.snap +++ b/service/computeoptimizer/snapshot/api_op_GetEBSVolumeRecommendations.go.snap @@ -13,7 +13,6 @@ GetEBSVolumeRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/computeoptimizer/snapshot/api_op_GetEC2InstanceRecommendations.go.snap b/service/computeoptimizer/snapshot/api_op_GetEC2InstanceRecommendations.go.snap index 84de039410a..01f16c22c2b 100644 --- a/service/computeoptimizer/snapshot/api_op_GetEC2InstanceRecommendations.go.snap +++ b/service/computeoptimizer/snapshot/api_op_GetEC2InstanceRecommendations.go.snap @@ -13,7 +13,6 @@ GetEC2InstanceRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/computeoptimizer/snapshot/api_op_GetEC2RecommendationProjectedMetrics.go.snap b/service/computeoptimizer/snapshot/api_op_GetEC2RecommendationProjectedMetrics.go.snap index 8adb22d2b6e..20a76ba4f6b 100644 --- a/service/computeoptimizer/snapshot/api_op_GetEC2RecommendationProjectedMetrics.go.snap +++ b/service/computeoptimizer/snapshot/api_op_GetEC2RecommendationProjectedMetrics.go.snap @@ -14,7 +14,6 @@ GetEC2RecommendationProjectedMetrics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/computeoptimizer/snapshot/api_op_GetECSServiceRecommendationProjectedMetrics.go.snap b/service/computeoptimizer/snapshot/api_op_GetECSServiceRecommendationProjectedMetrics.go.snap index d3df4828a2f..e1f09b43a4b 100644 --- a/service/computeoptimizer/snapshot/api_op_GetECSServiceRecommendationProjectedMetrics.go.snap +++ b/service/computeoptimizer/snapshot/api_op_GetECSServiceRecommendationProjectedMetrics.go.snap @@ -14,7 +14,6 @@ GetECSServiceRecommendationProjectedMetrics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/computeoptimizer/snapshot/api_op_GetECSServiceRecommendations.go.snap b/service/computeoptimizer/snapshot/api_op_GetECSServiceRecommendations.go.snap index 5022d127c62..ac0509bf820 100644 --- a/service/computeoptimizer/snapshot/api_op_GetECSServiceRecommendations.go.snap +++ b/service/computeoptimizer/snapshot/api_op_GetECSServiceRecommendations.go.snap @@ -13,7 +13,6 @@ GetECSServiceRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/computeoptimizer/snapshot/api_op_GetEffectiveRecommendationPreferences.go.snap b/service/computeoptimizer/snapshot/api_op_GetEffectiveRecommendationPreferences.go.snap index e639af2ea12..2b9020e1077 100644 --- a/service/computeoptimizer/snapshot/api_op_GetEffectiveRecommendationPreferences.go.snap +++ b/service/computeoptimizer/snapshot/api_op_GetEffectiveRecommendationPreferences.go.snap @@ -14,7 +14,6 @@ GetEffectiveRecommendationPreferences Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/computeoptimizer/snapshot/api_op_GetEnrollmentStatus.go.snap b/service/computeoptimizer/snapshot/api_op_GetEnrollmentStatus.go.snap index b67c3498b7d..8a502614e39 100644 --- a/service/computeoptimizer/snapshot/api_op_GetEnrollmentStatus.go.snap +++ b/service/computeoptimizer/snapshot/api_op_GetEnrollmentStatus.go.snap @@ -13,7 +13,6 @@ GetEnrollmentStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/computeoptimizer/snapshot/api_op_GetEnrollmentStatusesForOrganization.go.snap b/service/computeoptimizer/snapshot/api_op_GetEnrollmentStatusesForOrganization.go.snap index 025185ff582..b3afd399e4d 100644 --- a/service/computeoptimizer/snapshot/api_op_GetEnrollmentStatusesForOrganization.go.snap +++ b/service/computeoptimizer/snapshot/api_op_GetEnrollmentStatusesForOrganization.go.snap @@ -13,7 +13,6 @@ GetEnrollmentStatusesForOrganization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/computeoptimizer/snapshot/api_op_GetIdleRecommendations.go.snap b/service/computeoptimizer/snapshot/api_op_GetIdleRecommendations.go.snap index f1e04f1cece..f6f620b8173 100644 --- a/service/computeoptimizer/snapshot/api_op_GetIdleRecommendations.go.snap +++ b/service/computeoptimizer/snapshot/api_op_GetIdleRecommendations.go.snap @@ -13,7 +13,6 @@ GetIdleRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/computeoptimizer/snapshot/api_op_GetLambdaFunctionRecommendations.go.snap b/service/computeoptimizer/snapshot/api_op_GetLambdaFunctionRecommendations.go.snap index f6889f2d0d6..8ec50d899a7 100644 --- a/service/computeoptimizer/snapshot/api_op_GetLambdaFunctionRecommendations.go.snap +++ b/service/computeoptimizer/snapshot/api_op_GetLambdaFunctionRecommendations.go.snap @@ -13,7 +13,6 @@ GetLambdaFunctionRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/computeoptimizer/snapshot/api_op_GetLicenseRecommendations.go.snap b/service/computeoptimizer/snapshot/api_op_GetLicenseRecommendations.go.snap index acf3d75bbac..08b99f6bb33 100644 --- a/service/computeoptimizer/snapshot/api_op_GetLicenseRecommendations.go.snap +++ b/service/computeoptimizer/snapshot/api_op_GetLicenseRecommendations.go.snap @@ -13,7 +13,6 @@ GetLicenseRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/computeoptimizer/snapshot/api_op_GetRDSDatabaseRecommendationProjectedMetrics.go.snap b/service/computeoptimizer/snapshot/api_op_GetRDSDatabaseRecommendationProjectedMetrics.go.snap index 63b64800aee..dd465ec9ad6 100644 --- a/service/computeoptimizer/snapshot/api_op_GetRDSDatabaseRecommendationProjectedMetrics.go.snap +++ b/service/computeoptimizer/snapshot/api_op_GetRDSDatabaseRecommendationProjectedMetrics.go.snap @@ -14,7 +14,6 @@ GetRDSDatabaseRecommendationProjectedMetrics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/computeoptimizer/snapshot/api_op_GetRDSDatabaseRecommendations.go.snap b/service/computeoptimizer/snapshot/api_op_GetRDSDatabaseRecommendations.go.snap index 3325f728358..8145409a75b 100644 --- a/service/computeoptimizer/snapshot/api_op_GetRDSDatabaseRecommendations.go.snap +++ b/service/computeoptimizer/snapshot/api_op_GetRDSDatabaseRecommendations.go.snap @@ -13,7 +13,6 @@ GetRDSDatabaseRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/computeoptimizer/snapshot/api_op_GetRecommendationPreferences.go.snap b/service/computeoptimizer/snapshot/api_op_GetRecommendationPreferences.go.snap index cf318dccf01..973a4160047 100644 --- a/service/computeoptimizer/snapshot/api_op_GetRecommendationPreferences.go.snap +++ b/service/computeoptimizer/snapshot/api_op_GetRecommendationPreferences.go.snap @@ -14,7 +14,6 @@ GetRecommendationPreferences Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/computeoptimizer/snapshot/api_op_GetRecommendationSummaries.go.snap b/service/computeoptimizer/snapshot/api_op_GetRecommendationSummaries.go.snap index 19e64212c9a..c32aba49e5c 100644 --- a/service/computeoptimizer/snapshot/api_op_GetRecommendationSummaries.go.snap +++ b/service/computeoptimizer/snapshot/api_op_GetRecommendationSummaries.go.snap @@ -13,7 +13,6 @@ GetRecommendationSummaries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/computeoptimizer/snapshot/api_op_PutRecommendationPreferences.go.snap b/service/computeoptimizer/snapshot/api_op_PutRecommendationPreferences.go.snap index c492b675843..2c769fa2303 100644 --- a/service/computeoptimizer/snapshot/api_op_PutRecommendationPreferences.go.snap +++ b/service/computeoptimizer/snapshot/api_op_PutRecommendationPreferences.go.snap @@ -14,7 +14,6 @@ PutRecommendationPreferences Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/computeoptimizer/snapshot/api_op_UpdateEnrollmentStatus.go.snap b/service/computeoptimizer/snapshot/api_op_UpdateEnrollmentStatus.go.snap index 5def1b61f15..9f9d5219022 100644 --- a/service/computeoptimizer/snapshot/api_op_UpdateEnrollmentStatus.go.snap +++ b/service/computeoptimizer/snapshot/api_op_UpdateEnrollmentStatus.go.snap @@ -14,7 +14,6 @@ UpdateEnrollmentStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/api_client.go b/service/configservice/api_client.go index 2c72235b738..76d01317d5f 100644 --- a/service/configservice/api_client.go +++ b/service/configservice/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/configservice/api_op_AssociateResourceTypes.go b/service/configservice/api_op_AssociateResourceTypes.go index 0cdea86ae5b..828335a56ec 100644 --- a/service/configservice/api_op_AssociateResourceTypes.go +++ b/service/configservice/api_op_AssociateResourceTypes.go @@ -133,9 +133,6 @@ func (c *Client) addOperationAssociateResourceTypesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateResourceTypesValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_BatchGetAggregateResourceConfig.go b/service/configservice/api_op_BatchGetAggregateResourceConfig.go index ef15ef1cb5a..b4ebf53cdfc 100644 --- a/service/configservice/api_op_BatchGetAggregateResourceConfig.go +++ b/service/configservice/api_op_BatchGetAggregateResourceConfig.go @@ -128,9 +128,6 @@ func (c *Client) addOperationBatchGetAggregateResourceConfigMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetAggregateResourceConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_BatchGetResourceConfig.go b/service/configservice/api_op_BatchGetResourceConfig.go index a8b36661bc5..9a95094a5b3 100644 --- a/service/configservice/api_op_BatchGetResourceConfig.go +++ b/service/configservice/api_op_BatchGetResourceConfig.go @@ -130,9 +130,6 @@ func (c *Client) addOperationBatchGetResourceConfigMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetResourceConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DeleteAggregationAuthorization.go b/service/configservice/api_op_DeleteAggregationAuthorization.go index 8a7d2a4d2cc..98968a244fe 100644 --- a/service/configservice/api_op_DeleteAggregationAuthorization.go +++ b/service/configservice/api_op_DeleteAggregationAuthorization.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteAggregationAuthorizationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAggregationAuthorizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DeleteConfigRule.go b/service/configservice/api_op_DeleteConfigRule.go index 1e4b52ee5be..12cde18e82d 100644 --- a/service/configservice/api_op_DeleteConfigRule.go +++ b/service/configservice/api_op_DeleteConfigRule.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDeleteConfigRuleMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConfigRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DeleteConfigurationAggregator.go b/service/configservice/api_op_DeleteConfigurationAggregator.go index e4365ac16c1..7aa3f4a92c9 100644 --- a/service/configservice/api_op_DeleteConfigurationAggregator.go +++ b/service/configservice/api_op_DeleteConfigurationAggregator.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteConfigurationAggregatorMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConfigurationAggregatorValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DeleteConfigurationRecorder.go b/service/configservice/api_op_DeleteConfigurationRecorder.go index 558e8d22f78..1b93e0bbfe3 100644 --- a/service/configservice/api_op_DeleteConfigurationRecorder.go +++ b/service/configservice/api_op_DeleteConfigurationRecorder.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteConfigurationRecorderMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConfigurationRecorderValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DeleteConformancePack.go b/service/configservice/api_op_DeleteConformancePack.go index 600546a7f09..3bb775a53cf 100644 --- a/service/configservice/api_op_DeleteConformancePack.go +++ b/service/configservice/api_op_DeleteConformancePack.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteConformancePackMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConformancePackValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DeleteDeliveryChannel.go b/service/configservice/api_op_DeleteDeliveryChannel.go index f38885284db..934d04c6861 100644 --- a/service/configservice/api_op_DeleteDeliveryChannel.go +++ b/service/configservice/api_op_DeleteDeliveryChannel.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteDeliveryChannelMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDeliveryChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DeleteEvaluationResults.go b/service/configservice/api_op_DeleteEvaluationResults.go index 6969d0ef406..7de55c1118a 100644 --- a/service/configservice/api_op_DeleteEvaluationResults.go +++ b/service/configservice/api_op_DeleteEvaluationResults.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteEvaluationResultsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEvaluationResultsValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DeleteOrganizationConfigRule.go b/service/configservice/api_op_DeleteOrganizationConfigRule.go index 9a47142d2b2..cd3a8dff1ac 100644 --- a/service/configservice/api_op_DeleteOrganizationConfigRule.go +++ b/service/configservice/api_op_DeleteOrganizationConfigRule.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteOrganizationConfigRuleMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteOrganizationConfigRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DeleteOrganizationConformancePack.go b/service/configservice/api_op_DeleteOrganizationConformancePack.go index 6160af2382c..4022c9326c2 100644 --- a/service/configservice/api_op_DeleteOrganizationConformancePack.go +++ b/service/configservice/api_op_DeleteOrganizationConformancePack.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteOrganizationConformancePackMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteOrganizationConformancePackValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DeletePendingAggregationRequest.go b/service/configservice/api_op_DeletePendingAggregationRequest.go index d644e1e1a87..6f2171a6264 100644 --- a/service/configservice/api_op_DeletePendingAggregationRequest.go +++ b/service/configservice/api_op_DeletePendingAggregationRequest.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeletePendingAggregationRequestMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePendingAggregationRequestValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DeleteRemediationConfiguration.go b/service/configservice/api_op_DeleteRemediationConfiguration.go index 6e9dc48b031..8896e43bd5a 100644 --- a/service/configservice/api_op_DeleteRemediationConfiguration.go +++ b/service/configservice/api_op_DeleteRemediationConfiguration.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteRemediationConfigurationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRemediationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DeleteRemediationExceptions.go b/service/configservice/api_op_DeleteRemediationExceptions.go index 6c037ed73cd..bb760438f22 100644 --- a/service/configservice/api_op_DeleteRemediationExceptions.go +++ b/service/configservice/api_op_DeleteRemediationExceptions.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDeleteRemediationExceptionsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRemediationExceptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DeleteResourceConfig.go b/service/configservice/api_op_DeleteResourceConfig.go index 7634ddc9c98..2be7c3f87dd 100644 --- a/service/configservice/api_op_DeleteResourceConfig.go +++ b/service/configservice/api_op_DeleteResourceConfig.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteResourceConfigMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourceConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DeleteRetentionConfiguration.go b/service/configservice/api_op_DeleteRetentionConfiguration.go index 1fc7f300214..93fee42a9a7 100644 --- a/service/configservice/api_op_DeleteRetentionConfiguration.go +++ b/service/configservice/api_op_DeleteRetentionConfiguration.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteRetentionConfigurationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRetentionConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DeleteServiceLinkedConfigurationRecorder.go b/service/configservice/api_op_DeleteServiceLinkedConfigurationRecorder.go index 6ea941155be..1697dc80510 100644 --- a/service/configservice/api_op_DeleteServiceLinkedConfigurationRecorder.go +++ b/service/configservice/api_op_DeleteServiceLinkedConfigurationRecorder.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDeleteServiceLinkedConfigurationRecorderMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteServiceLinkedConfigurationRecorderValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DeleteStoredQuery.go b/service/configservice/api_op_DeleteStoredQuery.go index 001a44e25fa..5ce50ac6966 100644 --- a/service/configservice/api_op_DeleteStoredQuery.go +++ b/service/configservice/api_op_DeleteStoredQuery.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteStoredQueryMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteStoredQueryValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DeliverConfigSnapshot.go b/service/configservice/api_op_DeliverConfigSnapshot.go index 7aa106980b6..992a888932a 100644 --- a/service/configservice/api_op_DeliverConfigSnapshot.go +++ b/service/configservice/api_op_DeliverConfigSnapshot.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeliverConfigSnapshotMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeliverConfigSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DescribeAggregateComplianceByConfigRules.go b/service/configservice/api_op_DescribeAggregateComplianceByConfigRules.go index 5bfbb4a6dde..1bc365e0a0d 100644 --- a/service/configservice/api_op_DescribeAggregateComplianceByConfigRules.go +++ b/service/configservice/api_op_DescribeAggregateComplianceByConfigRules.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeAggregateComplianceByConfigRulesMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAggregateComplianceByConfigRulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DescribeAggregateComplianceByConformancePacks.go b/service/configservice/api_op_DescribeAggregateComplianceByConformancePacks.go index 922447b6b39..92cee0d0803 100644 --- a/service/configservice/api_op_DescribeAggregateComplianceByConformancePacks.go +++ b/service/configservice/api_op_DescribeAggregateComplianceByConformancePacks.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeAggregateComplianceByConformancePacksMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAggregateComplianceByConformancePacksValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DescribeAggregationAuthorizations.go b/service/configservice/api_op_DescribeAggregationAuthorizations.go index 7810a10844b..fb91a33c2b7 100644 --- a/service/configservice/api_op_DescribeAggregationAuthorizations.go +++ b/service/configservice/api_op_DescribeAggregationAuthorizations.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeAggregationAuthorizationsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAggregationAuthorizations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/configservice/api_op_DescribeComplianceByConfigRule.go b/service/configservice/api_op_DescribeComplianceByConfigRule.go index 085848e3a3e..b702eef08f6 100644 --- a/service/configservice/api_op_DescribeComplianceByConfigRule.go +++ b/service/configservice/api_op_DescribeComplianceByConfigRule.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDescribeComplianceByConfigRuleMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeComplianceByConfigRule(options.Region), middleware.Before); err != nil { return err } diff --git a/service/configservice/api_op_DescribeComplianceByResource.go b/service/configservice/api_op_DescribeComplianceByResource.go index 218b137e013..9b074969578 100644 --- a/service/configservice/api_op_DescribeComplianceByResource.go +++ b/service/configservice/api_op_DescribeComplianceByResource.go @@ -157,9 +157,6 @@ func (c *Client) addOperationDescribeComplianceByResourceMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeComplianceByResource(options.Region), middleware.Before); err != nil { return err } diff --git a/service/configservice/api_op_DescribeConfigRuleEvaluationStatus.go b/service/configservice/api_op_DescribeConfigRuleEvaluationStatus.go index 0dc6ed61650..2198895007c 100644 --- a/service/configservice/api_op_DescribeConfigRuleEvaluationStatus.go +++ b/service/configservice/api_op_DescribeConfigRuleEvaluationStatus.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeConfigRuleEvaluationStatusMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConfigRuleEvaluationStatus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/configservice/api_op_DescribeConfigRules.go b/service/configservice/api_op_DescribeConfigRules.go index 554e360308c..e9532046137 100644 --- a/service/configservice/api_op_DescribeConfigRules.go +++ b/service/configservice/api_op_DescribeConfigRules.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeConfigRulesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConfigRules(options.Region), middleware.Before); err != nil { return err } diff --git a/service/configservice/api_op_DescribeConfigurationAggregatorSourcesStatus.go b/service/configservice/api_op_DescribeConfigurationAggregatorSourcesStatus.go index bc87a8bb661..591861364be 100644 --- a/service/configservice/api_op_DescribeConfigurationAggregatorSourcesStatus.go +++ b/service/configservice/api_op_DescribeConfigurationAggregatorSourcesStatus.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribeConfigurationAggregatorSourcesStatusMiddlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeConfigurationAggregatorSourcesStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DescribeConfigurationAggregators.go b/service/configservice/api_op_DescribeConfigurationAggregators.go index 54959e241fe..a872d3a1a16 100644 --- a/service/configservice/api_op_DescribeConfigurationAggregators.go +++ b/service/configservice/api_op_DescribeConfigurationAggregators.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeConfigurationAggregatorsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConfigurationAggregators(options.Region), middleware.Before); err != nil { return err } diff --git a/service/configservice/api_op_DescribeConfigurationRecorderStatus.go b/service/configservice/api_op_DescribeConfigurationRecorderStatus.go index 1683bb83c27..9939306efcb 100644 --- a/service/configservice/api_op_DescribeConfigurationRecorderStatus.go +++ b/service/configservice/api_op_DescribeConfigurationRecorderStatus.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribeConfigurationRecorderStatusMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConfigurationRecorderStatus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/configservice/api_op_DescribeConfigurationRecorders.go b/service/configservice/api_op_DescribeConfigurationRecorders.go index fd731a19951..e6c98b5e33c 100644 --- a/service/configservice/api_op_DescribeConfigurationRecorders.go +++ b/service/configservice/api_op_DescribeConfigurationRecorders.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeConfigurationRecordersMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConfigurationRecorders(options.Region), middleware.Before); err != nil { return err } diff --git a/service/configservice/api_op_DescribeConformancePackCompliance.go b/service/configservice/api_op_DescribeConformancePackCompliance.go index 3b5cfa322c8..a8ae367eaa7 100644 --- a/service/configservice/api_op_DescribeConformancePackCompliance.go +++ b/service/configservice/api_op_DescribeConformancePackCompliance.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribeConformancePackComplianceMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeConformancePackComplianceValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DescribeConformancePackStatus.go b/service/configservice/api_op_DescribeConformancePackStatus.go index c7bf3934af4..79ac1df1f18 100644 --- a/service/configservice/api_op_DescribeConformancePackStatus.go +++ b/service/configservice/api_op_DescribeConformancePackStatus.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeConformancePackStatusMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConformancePackStatus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/configservice/api_op_DescribeConformancePacks.go b/service/configservice/api_op_DescribeConformancePacks.go index 7aed84e7ee5..4ced02913e2 100644 --- a/service/configservice/api_op_DescribeConformancePacks.go +++ b/service/configservice/api_op_DescribeConformancePacks.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeConformancePacksMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConformancePacks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/configservice/api_op_DescribeDeliveryChannelStatus.go b/service/configservice/api_op_DescribeDeliveryChannelStatus.go index 71cf5f9ddbc..47e3c35172b 100644 --- a/service/configservice/api_op_DescribeDeliveryChannelStatus.go +++ b/service/configservice/api_op_DescribeDeliveryChannelStatus.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDescribeDeliveryChannelStatusMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDeliveryChannelStatus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/configservice/api_op_DescribeDeliveryChannels.go b/service/configservice/api_op_DescribeDeliveryChannels.go index 59abc61ef8c..d576681e33b 100644 --- a/service/configservice/api_op_DescribeDeliveryChannels.go +++ b/service/configservice/api_op_DescribeDeliveryChannels.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDescribeDeliveryChannelsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDeliveryChannels(options.Region), middleware.Before); err != nil { return err } diff --git a/service/configservice/api_op_DescribeOrganizationConfigRuleStatuses.go b/service/configservice/api_op_DescribeOrganizationConfigRuleStatuses.go index 729be15ef5b..0b4248f286d 100644 --- a/service/configservice/api_op_DescribeOrganizationConfigRuleStatuses.go +++ b/service/configservice/api_op_DescribeOrganizationConfigRuleStatuses.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeOrganizationConfigRuleStatusesMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOrganizationConfigRuleStatuses(options.Region), middleware.Before); err != nil { return err } diff --git a/service/configservice/api_op_DescribeOrganizationConfigRules.go b/service/configservice/api_op_DescribeOrganizationConfigRules.go index 6077691f31d..59a6037c50f 100644 --- a/service/configservice/api_op_DescribeOrganizationConfigRules.go +++ b/service/configservice/api_op_DescribeOrganizationConfigRules.go @@ -143,9 +143,6 @@ func (c *Client) addOperationDescribeOrganizationConfigRulesMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOrganizationConfigRules(options.Region), middleware.Before); err != nil { return err } diff --git a/service/configservice/api_op_DescribeOrganizationConformancePackStatuses.go b/service/configservice/api_op_DescribeOrganizationConformancePackStatuses.go index fec2a2ff797..8d478b71c87 100644 --- a/service/configservice/api_op_DescribeOrganizationConformancePackStatuses.go +++ b/service/configservice/api_op_DescribeOrganizationConformancePackStatuses.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeOrganizationConformancePackStatusesMiddlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOrganizationConformancePackStatuses(options.Region), middleware.Before); err != nil { return err } diff --git a/service/configservice/api_op_DescribeOrganizationConformancePacks.go b/service/configservice/api_op_DescribeOrganizationConformancePacks.go index c209649f024..aecaeaa8a4d 100644 --- a/service/configservice/api_op_DescribeOrganizationConformancePacks.go +++ b/service/configservice/api_op_DescribeOrganizationConformancePacks.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDescribeOrganizationConformancePacksMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOrganizationConformancePacks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/configservice/api_op_DescribePendingAggregationRequests.go b/service/configservice/api_op_DescribePendingAggregationRequests.go index b0108e30400..1f4fb7b2357 100644 --- a/service/configservice/api_op_DescribePendingAggregationRequests.go +++ b/service/configservice/api_op_DescribePendingAggregationRequests.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribePendingAggregationRequestsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePendingAggregationRequests(options.Region), middleware.Before); err != nil { return err } diff --git a/service/configservice/api_op_DescribeRemediationConfigurations.go b/service/configservice/api_op_DescribeRemediationConfigurations.go index 3403e6da9b6..2d0d5d048f6 100644 --- a/service/configservice/api_op_DescribeRemediationConfigurations.go +++ b/service/configservice/api_op_DescribeRemediationConfigurations.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDescribeRemediationConfigurationsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRemediationConfigurationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DescribeRemediationExceptions.go b/service/configservice/api_op_DescribeRemediationExceptions.go index c3d1f868901..4bbcafcc761 100644 --- a/service/configservice/api_op_DescribeRemediationExceptions.go +++ b/service/configservice/api_op_DescribeRemediationExceptions.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDescribeRemediationExceptionsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRemediationExceptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DescribeRemediationExecutionStatus.go b/service/configservice/api_op_DescribeRemediationExecutionStatus.go index f767d78760a..f795d455a7e 100644 --- a/service/configservice/api_op_DescribeRemediationExecutionStatus.go +++ b/service/configservice/api_op_DescribeRemediationExecutionStatus.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeRemediationExecutionStatusMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRemediationExecutionStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_DescribeRetentionConfigurations.go b/service/configservice/api_op_DescribeRetentionConfigurations.go index e22d7f56bbc..04d82eda05c 100644 --- a/service/configservice/api_op_DescribeRetentionConfigurations.go +++ b/service/configservice/api_op_DescribeRetentionConfigurations.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDescribeRetentionConfigurationsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRetentionConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/configservice/api_op_DisassociateResourceTypes.go b/service/configservice/api_op_DisassociateResourceTypes.go index cff78f8acd4..66cbc30c0c9 100644 --- a/service/configservice/api_op_DisassociateResourceTypes.go +++ b/service/configservice/api_op_DisassociateResourceTypes.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDisassociateResourceTypesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateResourceTypesValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_GetAggregateComplianceDetailsByConfigRule.go b/service/configservice/api_op_GetAggregateComplianceDetailsByConfigRule.go index d20cfc9e40d..996b859969d 100644 --- a/service/configservice/api_op_GetAggregateComplianceDetailsByConfigRule.go +++ b/service/configservice/api_op_GetAggregateComplianceDetailsByConfigRule.go @@ -153,9 +153,6 @@ func (c *Client) addOperationGetAggregateComplianceDetailsByConfigRuleMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAggregateComplianceDetailsByConfigRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_GetAggregateConfigRuleComplianceSummary.go b/service/configservice/api_op_GetAggregateConfigRuleComplianceSummary.go index 58911d45368..0d2c7854bde 100644 --- a/service/configservice/api_op_GetAggregateConfigRuleComplianceSummary.go +++ b/service/configservice/api_op_GetAggregateConfigRuleComplianceSummary.go @@ -138,9 +138,6 @@ func (c *Client) addOperationGetAggregateConfigRuleComplianceSummaryMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAggregateConfigRuleComplianceSummaryValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_GetAggregateConformancePackComplianceSummary.go b/service/configservice/api_op_GetAggregateConformancePackComplianceSummary.go index d1418912c66..8b7bef30829 100644 --- a/service/configservice/api_op_GetAggregateConformancePackComplianceSummary.go +++ b/service/configservice/api_op_GetAggregateConformancePackComplianceSummary.go @@ -142,9 +142,6 @@ func (c *Client) addOperationGetAggregateConformancePackComplianceSummaryMiddlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAggregateConformancePackComplianceSummaryValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_GetAggregateDiscoveredResourceCounts.go b/service/configservice/api_op_GetAggregateDiscoveredResourceCounts.go index bbc8c70085c..95d12a3298f 100644 --- a/service/configservice/api_op_GetAggregateDiscoveredResourceCounts.go +++ b/service/configservice/api_op_GetAggregateDiscoveredResourceCounts.go @@ -149,9 +149,6 @@ func (c *Client) addOperationGetAggregateDiscoveredResourceCountsMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAggregateDiscoveredResourceCountsValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_GetAggregateResourceConfig.go b/service/configservice/api_op_GetAggregateResourceConfig.go index 488a755403d..e5e3e1a2438 100644 --- a/service/configservice/api_op_GetAggregateResourceConfig.go +++ b/service/configservice/api_op_GetAggregateResourceConfig.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetAggregateResourceConfigMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAggregateResourceConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_GetComplianceDetailsByConfigRule.go b/service/configservice/api_op_GetComplianceDetailsByConfigRule.go index 107f3c108f2..7c4782c2a47 100644 --- a/service/configservice/api_op_GetComplianceDetailsByConfigRule.go +++ b/service/configservice/api_op_GetComplianceDetailsByConfigRule.go @@ -136,9 +136,6 @@ func (c *Client) addOperationGetComplianceDetailsByConfigRuleMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetComplianceDetailsByConfigRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_GetComplianceDetailsByResource.go b/service/configservice/api_op_GetComplianceDetailsByResource.go index ab3982801ff..1260b243595 100644 --- a/service/configservice/api_op_GetComplianceDetailsByResource.go +++ b/service/configservice/api_op_GetComplianceDetailsByResource.go @@ -140,9 +140,6 @@ func (c *Client) addOperationGetComplianceDetailsByResourceMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetComplianceDetailsByResource(options.Region), middleware.Before); err != nil { return err } diff --git a/service/configservice/api_op_GetComplianceSummaryByConfigRule.go b/service/configservice/api_op_GetComplianceSummaryByConfigRule.go index d7a7f63dcff..3d97dbce279 100644 --- a/service/configservice/api_op_GetComplianceSummaryByConfigRule.go +++ b/service/configservice/api_op_GetComplianceSummaryByConfigRule.go @@ -108,9 +108,6 @@ func (c *Client) addOperationGetComplianceSummaryByConfigRuleMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetComplianceSummaryByConfigRule(options.Region), middleware.Before); err != nil { return err } diff --git a/service/configservice/api_op_GetComplianceSummaryByResourceType.go b/service/configservice/api_op_GetComplianceSummaryByResourceType.go index 5574da59dc3..4d7460180e0 100644 --- a/service/configservice/api_op_GetComplianceSummaryByResourceType.go +++ b/service/configservice/api_op_GetComplianceSummaryByResourceType.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetComplianceSummaryByResourceTypeMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetComplianceSummaryByResourceType(options.Region), middleware.Before); err != nil { return err } diff --git a/service/configservice/api_op_GetConformancePackComplianceDetails.go b/service/configservice/api_op_GetConformancePackComplianceDetails.go index 1935c04a577..e291074af3d 100644 --- a/service/configservice/api_op_GetConformancePackComplianceDetails.go +++ b/service/configservice/api_op_GetConformancePackComplianceDetails.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetConformancePackComplianceDetailsMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConformancePackComplianceDetailsValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_GetConformancePackComplianceSummary.go b/service/configservice/api_op_GetConformancePackComplianceSummary.go index 773993fe8ec..5df84889fc7 100644 --- a/service/configservice/api_op_GetConformancePackComplianceSummary.go +++ b/service/configservice/api_op_GetConformancePackComplianceSummary.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetConformancePackComplianceSummaryMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConformancePackComplianceSummaryValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_GetCustomRulePolicy.go b/service/configservice/api_op_GetCustomRulePolicy.go index 8a639b7f5ba..254e77b9d42 100644 --- a/service/configservice/api_op_GetCustomRulePolicy.go +++ b/service/configservice/api_op_GetCustomRulePolicy.go @@ -110,9 +110,6 @@ func (c *Client) addOperationGetCustomRulePolicyMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCustomRulePolicy(options.Region), middleware.Before); err != nil { return err } diff --git a/service/configservice/api_op_GetDiscoveredResourceCounts.go b/service/configservice/api_op_GetDiscoveredResourceCounts.go index 8b588125041..400fe5d7c24 100644 --- a/service/configservice/api_op_GetDiscoveredResourceCounts.go +++ b/service/configservice/api_op_GetDiscoveredResourceCounts.go @@ -182,9 +182,6 @@ func (c *Client) addOperationGetDiscoveredResourceCountsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDiscoveredResourceCounts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/configservice/api_op_GetOrganizationConfigRuleDetailedStatus.go b/service/configservice/api_op_GetOrganizationConfigRuleDetailedStatus.go index 099d87b031b..6ab1fc90102 100644 --- a/service/configservice/api_op_GetOrganizationConfigRuleDetailedStatus.go +++ b/service/configservice/api_op_GetOrganizationConfigRuleDetailedStatus.go @@ -130,9 +130,6 @@ func (c *Client) addOperationGetOrganizationConfigRuleDetailedStatusMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetOrganizationConfigRuleDetailedStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_GetOrganizationConformancePackDetailedStatus.go b/service/configservice/api_op_GetOrganizationConformancePackDetailedStatus.go index 69c5ac479f3..7a778f97951 100644 --- a/service/configservice/api_op_GetOrganizationConformancePackDetailedStatus.go +++ b/service/configservice/api_op_GetOrganizationConformancePackDetailedStatus.go @@ -130,9 +130,6 @@ func (c *Client) addOperationGetOrganizationConformancePackDetailedStatusMiddlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetOrganizationConformancePackDetailedStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_GetOrganizationCustomRulePolicy.go b/service/configservice/api_op_GetOrganizationCustomRulePolicy.go index 6cec3b1bbd6..d62bd07a2b0 100644 --- a/service/configservice/api_op_GetOrganizationCustomRulePolicy.go +++ b/service/configservice/api_op_GetOrganizationCustomRulePolicy.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetOrganizationCustomRulePolicyMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetOrganizationCustomRulePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_GetResourceConfigHistory.go b/service/configservice/api_op_GetResourceConfigHistory.go index ae04bf3339d..f10b3582f09 100644 --- a/service/configservice/api_op_GetResourceConfigHistory.go +++ b/service/configservice/api_op_GetResourceConfigHistory.go @@ -165,9 +165,6 @@ func (c *Client) addOperationGetResourceConfigHistoryMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourceConfigHistoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_GetResourceEvaluationSummary.go b/service/configservice/api_op_GetResourceEvaluationSummary.go index 6870de7e435..ffa03c3921f 100644 --- a/service/configservice/api_op_GetResourceEvaluationSummary.go +++ b/service/configservice/api_op_GetResourceEvaluationSummary.go @@ -146,9 +146,6 @@ func (c *Client) addOperationGetResourceEvaluationSummaryMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourceEvaluationSummaryValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_GetStoredQuery.go b/service/configservice/api_op_GetStoredQuery.go index f90ec81219b..279018de7f9 100644 --- a/service/configservice/api_op_GetStoredQuery.go +++ b/service/configservice/api_op_GetStoredQuery.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetStoredQueryMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetStoredQueryValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_ListAggregateDiscoveredResources.go b/service/configservice/api_op_ListAggregateDiscoveredResources.go index a4c40c4c47c..3a01b58ee33 100644 --- a/service/configservice/api_op_ListAggregateDiscoveredResources.go +++ b/service/configservice/api_op_ListAggregateDiscoveredResources.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListAggregateDiscoveredResourcesMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAggregateDiscoveredResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_ListConfigurationRecorders.go b/service/configservice/api_op_ListConfigurationRecorders.go index 4cf957a48ed..52edccc20f3 100644 --- a/service/configservice/api_op_ListConfigurationRecorders.go +++ b/service/configservice/api_op_ListConfigurationRecorders.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListConfigurationRecordersMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConfigurationRecorders(options.Region), middleware.Before); err != nil { return err } diff --git a/service/configservice/api_op_ListConformancePackComplianceScores.go b/service/configservice/api_op_ListConformancePackComplianceScores.go index 42dc331957a..a11663cef38 100644 --- a/service/configservice/api_op_ListConformancePackComplianceScores.go +++ b/service/configservice/api_op_ListConformancePackComplianceScores.go @@ -154,9 +154,6 @@ func (c *Client) addOperationListConformancePackComplianceScoresMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListConformancePackComplianceScoresValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_ListDiscoveredResources.go b/service/configservice/api_op_ListDiscoveredResources.go index ab48520e917..108beb81d90 100644 --- a/service/configservice/api_op_ListDiscoveredResources.go +++ b/service/configservice/api_op_ListDiscoveredResources.go @@ -154,9 +154,6 @@ func (c *Client) addOperationListDiscoveredResourcesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDiscoveredResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_ListResourceEvaluations.go b/service/configservice/api_op_ListResourceEvaluations.go index ee40bb30290..d73fdd43d7a 100644 --- a/service/configservice/api_op_ListResourceEvaluations.go +++ b/service/configservice/api_op_ListResourceEvaluations.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListResourceEvaluationsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourceEvaluations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/configservice/api_op_ListStoredQueries.go b/service/configservice/api_op_ListStoredQueries.go index 918fb34d69b..4b78dc3d38a 100644 --- a/service/configservice/api_op_ListStoredQueries.go +++ b/service/configservice/api_op_ListStoredQueries.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListStoredQueriesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStoredQueries(options.Region), middleware.Before); err != nil { return err } diff --git a/service/configservice/api_op_ListTagsForResource.go b/service/configservice/api_op_ListTagsForResource.go index bc246baf39b..06eb54cceef 100644 --- a/service/configservice/api_op_ListTagsForResource.go +++ b/service/configservice/api_op_ListTagsForResource.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_PutAggregationAuthorization.go b/service/configservice/api_op_PutAggregationAuthorization.go index aa02c505397..b6c358a8c1e 100644 --- a/service/configservice/api_op_PutAggregationAuthorization.go +++ b/service/configservice/api_op_PutAggregationAuthorization.go @@ -134,9 +134,6 @@ func (c *Client) addOperationPutAggregationAuthorizationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutAggregationAuthorizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_PutConfigRule.go b/service/configservice/api_op_PutConfigRule.go index 0d19cc8ae4b..27c76a370b6 100644 --- a/service/configservice/api_op_PutConfigRule.go +++ b/service/configservice/api_op_PutConfigRule.go @@ -165,9 +165,6 @@ func (c *Client) addOperationPutConfigRuleMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutConfigRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_PutConfigurationAggregator.go b/service/configservice/api_op_PutConfigurationAggregator.go index 9400148211a..39f400046b1 100644 --- a/service/configservice/api_op_PutConfigurationAggregator.go +++ b/service/configservice/api_op_PutConfigurationAggregator.go @@ -158,9 +158,6 @@ func (c *Client) addOperationPutConfigurationAggregatorMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutConfigurationAggregatorValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_PutConfigurationRecorder.go b/service/configservice/api_op_PutConfigurationRecorder.go index 0393275aa46..d0c56d2127a 100644 --- a/service/configservice/api_op_PutConfigurationRecorder.go +++ b/service/configservice/api_op_PutConfigurationRecorder.go @@ -151,9 +151,6 @@ func (c *Client) addOperationPutConfigurationRecorderMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutConfigurationRecorderValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_PutConformancePack.go b/service/configservice/api_op_PutConformancePack.go index f356a39bab3..96d1ca1e6f1 100644 --- a/service/configservice/api_op_PutConformancePack.go +++ b/service/configservice/api_op_PutConformancePack.go @@ -163,9 +163,6 @@ func (c *Client) addOperationPutConformancePackMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutConformancePackValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_PutDeliveryChannel.go b/service/configservice/api_op_PutDeliveryChannel.go index 2756f3e677d..5f85213fea3 100644 --- a/service/configservice/api_op_PutDeliveryChannel.go +++ b/service/configservice/api_op_PutDeliveryChannel.go @@ -123,9 +123,6 @@ func (c *Client) addOperationPutDeliveryChannelMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutDeliveryChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_PutEvaluations.go b/service/configservice/api_op_PutEvaluations.go index 07e423acaaf..1d3cf3958b2 100644 --- a/service/configservice/api_op_PutEvaluations.go +++ b/service/configservice/api_op_PutEvaluations.go @@ -129,9 +129,6 @@ func (c *Client) addOperationPutEvaluationsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutEvaluationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_PutExternalEvaluation.go b/service/configservice/api_op_PutExternalEvaluation.go index 00268474bfb..a5243eec2a4 100644 --- a/service/configservice/api_op_PutExternalEvaluation.go +++ b/service/configservice/api_op_PutExternalEvaluation.go @@ -114,9 +114,6 @@ func (c *Client) addOperationPutExternalEvaluationMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutExternalEvaluationValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_PutOrganizationConfigRule.go b/service/configservice/api_op_PutOrganizationConfigRule.go index de0343e851a..caea76f8f6d 100644 --- a/service/configservice/api_op_PutOrganizationConfigRule.go +++ b/service/configservice/api_op_PutOrganizationConfigRule.go @@ -193,9 +193,6 @@ func (c *Client) addOperationPutOrganizationConfigRuleMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutOrganizationConfigRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_PutOrganizationConformancePack.go b/service/configservice/api_op_PutOrganizationConformancePack.go index ba95c745284..82c24159e4b 100644 --- a/service/configservice/api_op_PutOrganizationConformancePack.go +++ b/service/configservice/api_op_PutOrganizationConformancePack.go @@ -174,9 +174,6 @@ func (c *Client) addOperationPutOrganizationConformancePackMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutOrganizationConformancePackValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_PutRemediationConfigurations.go b/service/configservice/api_op_PutRemediationConfigurations.go index 5a7482aef51..cf01fc9b845 100644 --- a/service/configservice/api_op_PutRemediationConfigurations.go +++ b/service/configservice/api_op_PutRemediationConfigurations.go @@ -151,9 +151,6 @@ func (c *Client) addOperationPutRemediationConfigurationsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutRemediationConfigurationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_PutRemediationExceptions.go b/service/configservice/api_op_PutRemediationExceptions.go index 27e169f9cdf..0099fd35bdd 100644 --- a/service/configservice/api_op_PutRemediationExceptions.go +++ b/service/configservice/api_op_PutRemediationExceptions.go @@ -175,9 +175,6 @@ func (c *Client) addOperationPutRemediationExceptionsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutRemediationExceptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_PutResourceConfig.go b/service/configservice/api_op_PutResourceConfig.go index 0c3626fb973..e050bb9d5c0 100644 --- a/service/configservice/api_op_PutResourceConfig.go +++ b/service/configservice/api_op_PutResourceConfig.go @@ -154,9 +154,6 @@ func (c *Client) addOperationPutResourceConfigMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutResourceConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_PutRetentionConfiguration.go b/service/configservice/api_op_PutRetentionConfiguration.go index 06bcac2c591..003009320ac 100644 --- a/service/configservice/api_op_PutRetentionConfiguration.go +++ b/service/configservice/api_op_PutRetentionConfiguration.go @@ -121,9 +121,6 @@ func (c *Client) addOperationPutRetentionConfigurationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutRetentionConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_PutServiceLinkedConfigurationRecorder.go b/service/configservice/api_op_PutServiceLinkedConfigurationRecorder.go index 627fb1370c4..63ad16def2d 100644 --- a/service/configservice/api_op_PutServiceLinkedConfigurationRecorder.go +++ b/service/configservice/api_op_PutServiceLinkedConfigurationRecorder.go @@ -149,9 +149,6 @@ func (c *Client) addOperationPutServiceLinkedConfigurationRecorderMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutServiceLinkedConfigurationRecorderValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_PutStoredQuery.go b/service/configservice/api_op_PutStoredQuery.go index 3af2a810825..24a2c65300b 100644 --- a/service/configservice/api_op_PutStoredQuery.go +++ b/service/configservice/api_op_PutStoredQuery.go @@ -132,9 +132,6 @@ func (c *Client) addOperationPutStoredQueryMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutStoredQueryValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_SelectAggregateResourceConfig.go b/service/configservice/api_op_SelectAggregateResourceConfig.go index f564d2738e5..f001ca63e2b 100644 --- a/service/configservice/api_op_SelectAggregateResourceConfig.go +++ b/service/configservice/api_op_SelectAggregateResourceConfig.go @@ -153,9 +153,6 @@ func (c *Client) addOperationSelectAggregateResourceConfigMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSelectAggregateResourceConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_SelectResourceConfig.go b/service/configservice/api_op_SelectResourceConfig.go index 8e294fc0dff..75bde1fc869 100644 --- a/service/configservice/api_op_SelectResourceConfig.go +++ b/service/configservice/api_op_SelectResourceConfig.go @@ -133,9 +133,6 @@ func (c *Client) addOperationSelectResourceConfigMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSelectResourceConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_StartConfigRulesEvaluation.go b/service/configservice/api_op_StartConfigRulesEvaluation.go index f074b4d609a..fe0a79037cd 100644 --- a/service/configservice/api_op_StartConfigRulesEvaluation.go +++ b/service/configservice/api_op_StartConfigRulesEvaluation.go @@ -136,9 +136,6 @@ func (c *Client) addOperationStartConfigRulesEvaluationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartConfigRulesEvaluation(options.Region), middleware.Before); err != nil { return err } diff --git a/service/configservice/api_op_StartConfigurationRecorder.go b/service/configservice/api_op_StartConfigurationRecorder.go index 746e6c57321..7e3e11b27b1 100644 --- a/service/configservice/api_op_StartConfigurationRecorder.go +++ b/service/configservice/api_op_StartConfigurationRecorder.go @@ -116,9 +116,6 @@ func (c *Client) addOperationStartConfigurationRecorderMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartConfigurationRecorderValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_StartRemediationExecution.go b/service/configservice/api_op_StartRemediationExecution.go index a09c99435ad..f2b39db1d24 100644 --- a/service/configservice/api_op_StartRemediationExecution.go +++ b/service/configservice/api_op_StartRemediationExecution.go @@ -129,9 +129,6 @@ func (c *Client) addOperationStartRemediationExecutionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartRemediationExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_StartResourceEvaluation.go b/service/configservice/api_op_StartResourceEvaluation.go index 1943a8e19b9..4ce9f2e6b8e 100644 --- a/service/configservice/api_op_StartResourceEvaluation.go +++ b/service/configservice/api_op_StartResourceEvaluation.go @@ -154,9 +154,6 @@ func (c *Client) addOperationStartResourceEvaluationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartResourceEvaluationValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_StopConfigurationRecorder.go b/service/configservice/api_op_StopConfigurationRecorder.go index 6e3cefae9d5..ac6b9f38287 100644 --- a/service/configservice/api_op_StopConfigurationRecorder.go +++ b/service/configservice/api_op_StopConfigurationRecorder.go @@ -110,9 +110,6 @@ func (c *Client) addOperationStopConfigurationRecorderMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopConfigurationRecorderValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_TagResource.go b/service/configservice/api_op_TagResource.go index b39ce4a0873..d34ab0f99d3 100644 --- a/service/configservice/api_op_TagResource.go +++ b/service/configservice/api_op_TagResource.go @@ -134,9 +134,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/api_op_UntagResource.go b/service/configservice/api_op_UntagResource.go index 01dbb3c4e42..8591ee2f41d 100644 --- a/service/configservice/api_op_UntagResource.go +++ b/service/configservice/api_op_UntagResource.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/configservice/snapshot/api_op_AssociateResourceTypes.go.snap b/service/configservice/snapshot/api_op_AssociateResourceTypes.go.snap index a85937c0ba0..b5538792a4e 100644 --- a/service/configservice/snapshot/api_op_AssociateResourceTypes.go.snap +++ b/service/configservice/snapshot/api_op_AssociateResourceTypes.go.snap @@ -14,7 +14,6 @@ AssociateResourceTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_BatchGetAggregateResourceConfig.go.snap b/service/configservice/snapshot/api_op_BatchGetAggregateResourceConfig.go.snap index d9a4f286c1d..2125a0a48b2 100644 --- a/service/configservice/snapshot/api_op_BatchGetAggregateResourceConfig.go.snap +++ b/service/configservice/snapshot/api_op_BatchGetAggregateResourceConfig.go.snap @@ -14,7 +14,6 @@ BatchGetAggregateResourceConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_BatchGetResourceConfig.go.snap b/service/configservice/snapshot/api_op_BatchGetResourceConfig.go.snap index 52c6914c40e..729c4799357 100644 --- a/service/configservice/snapshot/api_op_BatchGetResourceConfig.go.snap +++ b/service/configservice/snapshot/api_op_BatchGetResourceConfig.go.snap @@ -14,7 +14,6 @@ BatchGetResourceConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DeleteAggregationAuthorization.go.snap b/service/configservice/snapshot/api_op_DeleteAggregationAuthorization.go.snap index 33dd9fc3d40..4b4bd854dbc 100644 --- a/service/configservice/snapshot/api_op_DeleteAggregationAuthorization.go.snap +++ b/service/configservice/snapshot/api_op_DeleteAggregationAuthorization.go.snap @@ -14,7 +14,6 @@ DeleteAggregationAuthorization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DeleteConfigRule.go.snap b/service/configservice/snapshot/api_op_DeleteConfigRule.go.snap index e1f25e37fff..132fefddd4f 100644 --- a/service/configservice/snapshot/api_op_DeleteConfigRule.go.snap +++ b/service/configservice/snapshot/api_op_DeleteConfigRule.go.snap @@ -14,7 +14,6 @@ DeleteConfigRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DeleteConfigurationAggregator.go.snap b/service/configservice/snapshot/api_op_DeleteConfigurationAggregator.go.snap index 4e187d06c14..8d3cb7a1ce7 100644 --- a/service/configservice/snapshot/api_op_DeleteConfigurationAggregator.go.snap +++ b/service/configservice/snapshot/api_op_DeleteConfigurationAggregator.go.snap @@ -14,7 +14,6 @@ DeleteConfigurationAggregator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DeleteConfigurationRecorder.go.snap b/service/configservice/snapshot/api_op_DeleteConfigurationRecorder.go.snap index a3f992972f6..cb51493c722 100644 --- a/service/configservice/snapshot/api_op_DeleteConfigurationRecorder.go.snap +++ b/service/configservice/snapshot/api_op_DeleteConfigurationRecorder.go.snap @@ -14,7 +14,6 @@ DeleteConfigurationRecorder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DeleteConformancePack.go.snap b/service/configservice/snapshot/api_op_DeleteConformancePack.go.snap index 1901d76191f..b9cb9642bb4 100644 --- a/service/configservice/snapshot/api_op_DeleteConformancePack.go.snap +++ b/service/configservice/snapshot/api_op_DeleteConformancePack.go.snap @@ -14,7 +14,6 @@ DeleteConformancePack Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DeleteDeliveryChannel.go.snap b/service/configservice/snapshot/api_op_DeleteDeliveryChannel.go.snap index d5d66071013..9fcfde12a97 100644 --- a/service/configservice/snapshot/api_op_DeleteDeliveryChannel.go.snap +++ b/service/configservice/snapshot/api_op_DeleteDeliveryChannel.go.snap @@ -14,7 +14,6 @@ DeleteDeliveryChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DeleteEvaluationResults.go.snap b/service/configservice/snapshot/api_op_DeleteEvaluationResults.go.snap index a47ad8885cd..f0ec9cadc35 100644 --- a/service/configservice/snapshot/api_op_DeleteEvaluationResults.go.snap +++ b/service/configservice/snapshot/api_op_DeleteEvaluationResults.go.snap @@ -14,7 +14,6 @@ DeleteEvaluationResults Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DeleteOrganizationConfigRule.go.snap b/service/configservice/snapshot/api_op_DeleteOrganizationConfigRule.go.snap index a4a5f85a307..afc438c5fb5 100644 --- a/service/configservice/snapshot/api_op_DeleteOrganizationConfigRule.go.snap +++ b/service/configservice/snapshot/api_op_DeleteOrganizationConfigRule.go.snap @@ -14,7 +14,6 @@ DeleteOrganizationConfigRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DeleteOrganizationConformancePack.go.snap b/service/configservice/snapshot/api_op_DeleteOrganizationConformancePack.go.snap index c43736cb990..1efc3914e9d 100644 --- a/service/configservice/snapshot/api_op_DeleteOrganizationConformancePack.go.snap +++ b/service/configservice/snapshot/api_op_DeleteOrganizationConformancePack.go.snap @@ -14,7 +14,6 @@ DeleteOrganizationConformancePack Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DeletePendingAggregationRequest.go.snap b/service/configservice/snapshot/api_op_DeletePendingAggregationRequest.go.snap index f8f0f3e65ff..4c2d1476f39 100644 --- a/service/configservice/snapshot/api_op_DeletePendingAggregationRequest.go.snap +++ b/service/configservice/snapshot/api_op_DeletePendingAggregationRequest.go.snap @@ -14,7 +14,6 @@ DeletePendingAggregationRequest Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DeleteRemediationConfiguration.go.snap b/service/configservice/snapshot/api_op_DeleteRemediationConfiguration.go.snap index 36d95e9cf38..a9869845f46 100644 --- a/service/configservice/snapshot/api_op_DeleteRemediationConfiguration.go.snap +++ b/service/configservice/snapshot/api_op_DeleteRemediationConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteRemediationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DeleteRemediationExceptions.go.snap b/service/configservice/snapshot/api_op_DeleteRemediationExceptions.go.snap index 25eeba3e18a..139094ef8d8 100644 --- a/service/configservice/snapshot/api_op_DeleteRemediationExceptions.go.snap +++ b/service/configservice/snapshot/api_op_DeleteRemediationExceptions.go.snap @@ -14,7 +14,6 @@ DeleteRemediationExceptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DeleteResourceConfig.go.snap b/service/configservice/snapshot/api_op_DeleteResourceConfig.go.snap index c20406aab14..e66b7d75cd6 100644 --- a/service/configservice/snapshot/api_op_DeleteResourceConfig.go.snap +++ b/service/configservice/snapshot/api_op_DeleteResourceConfig.go.snap @@ -14,7 +14,6 @@ DeleteResourceConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DeleteRetentionConfiguration.go.snap b/service/configservice/snapshot/api_op_DeleteRetentionConfiguration.go.snap index 05562e26911..3032b6eccd0 100644 --- a/service/configservice/snapshot/api_op_DeleteRetentionConfiguration.go.snap +++ b/service/configservice/snapshot/api_op_DeleteRetentionConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteRetentionConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DeleteServiceLinkedConfigurationRecorder.go.snap b/service/configservice/snapshot/api_op_DeleteServiceLinkedConfigurationRecorder.go.snap index e25c1490701..58b023bfdba 100644 --- a/service/configservice/snapshot/api_op_DeleteServiceLinkedConfigurationRecorder.go.snap +++ b/service/configservice/snapshot/api_op_DeleteServiceLinkedConfigurationRecorder.go.snap @@ -14,7 +14,6 @@ DeleteServiceLinkedConfigurationRecorder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DeleteStoredQuery.go.snap b/service/configservice/snapshot/api_op_DeleteStoredQuery.go.snap index 148b44398d9..78c4317bd00 100644 --- a/service/configservice/snapshot/api_op_DeleteStoredQuery.go.snap +++ b/service/configservice/snapshot/api_op_DeleteStoredQuery.go.snap @@ -14,7 +14,6 @@ DeleteStoredQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DeliverConfigSnapshot.go.snap b/service/configservice/snapshot/api_op_DeliverConfigSnapshot.go.snap index ccbeb1a0d30..efed77d1a5f 100644 --- a/service/configservice/snapshot/api_op_DeliverConfigSnapshot.go.snap +++ b/service/configservice/snapshot/api_op_DeliverConfigSnapshot.go.snap @@ -14,7 +14,6 @@ DeliverConfigSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DescribeAggregateComplianceByConfigRules.go.snap b/service/configservice/snapshot/api_op_DescribeAggregateComplianceByConfigRules.go.snap index 97940e4516a..b4499ff1f4c 100644 --- a/service/configservice/snapshot/api_op_DescribeAggregateComplianceByConfigRules.go.snap +++ b/service/configservice/snapshot/api_op_DescribeAggregateComplianceByConfigRules.go.snap @@ -14,7 +14,6 @@ DescribeAggregateComplianceByConfigRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DescribeAggregateComplianceByConformancePacks.go.snap b/service/configservice/snapshot/api_op_DescribeAggregateComplianceByConformancePacks.go.snap index ad732716cb9..bb6ed810e7d 100644 --- a/service/configservice/snapshot/api_op_DescribeAggregateComplianceByConformancePacks.go.snap +++ b/service/configservice/snapshot/api_op_DescribeAggregateComplianceByConformancePacks.go.snap @@ -14,7 +14,6 @@ DescribeAggregateComplianceByConformancePacks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DescribeAggregationAuthorizations.go.snap b/service/configservice/snapshot/api_op_DescribeAggregationAuthorizations.go.snap index b15514ae291..3acc3214779 100644 --- a/service/configservice/snapshot/api_op_DescribeAggregationAuthorizations.go.snap +++ b/service/configservice/snapshot/api_op_DescribeAggregationAuthorizations.go.snap @@ -13,7 +13,6 @@ DescribeAggregationAuthorizations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DescribeComplianceByConfigRule.go.snap b/service/configservice/snapshot/api_op_DescribeComplianceByConfigRule.go.snap index 4d4b432ed8e..e007073a1ea 100644 --- a/service/configservice/snapshot/api_op_DescribeComplianceByConfigRule.go.snap +++ b/service/configservice/snapshot/api_op_DescribeComplianceByConfigRule.go.snap @@ -13,7 +13,6 @@ DescribeComplianceByConfigRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DescribeComplianceByResource.go.snap b/service/configservice/snapshot/api_op_DescribeComplianceByResource.go.snap index 798eff10000..67b36557dee 100644 --- a/service/configservice/snapshot/api_op_DescribeComplianceByResource.go.snap +++ b/service/configservice/snapshot/api_op_DescribeComplianceByResource.go.snap @@ -13,7 +13,6 @@ DescribeComplianceByResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DescribeConfigRuleEvaluationStatus.go.snap b/service/configservice/snapshot/api_op_DescribeConfigRuleEvaluationStatus.go.snap index b1b67469069..94af5c927a4 100644 --- a/service/configservice/snapshot/api_op_DescribeConfigRuleEvaluationStatus.go.snap +++ b/service/configservice/snapshot/api_op_DescribeConfigRuleEvaluationStatus.go.snap @@ -13,7 +13,6 @@ DescribeConfigRuleEvaluationStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DescribeConfigRules.go.snap b/service/configservice/snapshot/api_op_DescribeConfigRules.go.snap index 7607483e211..0c1ec026d3b 100644 --- a/service/configservice/snapshot/api_op_DescribeConfigRules.go.snap +++ b/service/configservice/snapshot/api_op_DescribeConfigRules.go.snap @@ -13,7 +13,6 @@ DescribeConfigRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DescribeConfigurationAggregatorSourcesStatus.go.snap b/service/configservice/snapshot/api_op_DescribeConfigurationAggregatorSourcesStatus.go.snap index d726245f3bb..e823228d9cd 100644 --- a/service/configservice/snapshot/api_op_DescribeConfigurationAggregatorSourcesStatus.go.snap +++ b/service/configservice/snapshot/api_op_DescribeConfigurationAggregatorSourcesStatus.go.snap @@ -14,7 +14,6 @@ DescribeConfigurationAggregatorSourcesStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DescribeConfigurationAggregators.go.snap b/service/configservice/snapshot/api_op_DescribeConfigurationAggregators.go.snap index ab7dc6bd75c..56ce450b281 100644 --- a/service/configservice/snapshot/api_op_DescribeConfigurationAggregators.go.snap +++ b/service/configservice/snapshot/api_op_DescribeConfigurationAggregators.go.snap @@ -13,7 +13,6 @@ DescribeConfigurationAggregators Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DescribeConfigurationRecorderStatus.go.snap b/service/configservice/snapshot/api_op_DescribeConfigurationRecorderStatus.go.snap index 802a133fcb2..0585a2e5a42 100644 --- a/service/configservice/snapshot/api_op_DescribeConfigurationRecorderStatus.go.snap +++ b/service/configservice/snapshot/api_op_DescribeConfigurationRecorderStatus.go.snap @@ -13,7 +13,6 @@ DescribeConfigurationRecorderStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DescribeConfigurationRecorders.go.snap b/service/configservice/snapshot/api_op_DescribeConfigurationRecorders.go.snap index 87f9654e231..e662956d1cb 100644 --- a/service/configservice/snapshot/api_op_DescribeConfigurationRecorders.go.snap +++ b/service/configservice/snapshot/api_op_DescribeConfigurationRecorders.go.snap @@ -13,7 +13,6 @@ DescribeConfigurationRecorders Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DescribeConformancePackCompliance.go.snap b/service/configservice/snapshot/api_op_DescribeConformancePackCompliance.go.snap index 66ec868d506..634ec64b3da 100644 --- a/service/configservice/snapshot/api_op_DescribeConformancePackCompliance.go.snap +++ b/service/configservice/snapshot/api_op_DescribeConformancePackCompliance.go.snap @@ -14,7 +14,6 @@ DescribeConformancePackCompliance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DescribeConformancePackStatus.go.snap b/service/configservice/snapshot/api_op_DescribeConformancePackStatus.go.snap index 2755f127e9f..64e56248801 100644 --- a/service/configservice/snapshot/api_op_DescribeConformancePackStatus.go.snap +++ b/service/configservice/snapshot/api_op_DescribeConformancePackStatus.go.snap @@ -13,7 +13,6 @@ DescribeConformancePackStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DescribeConformancePacks.go.snap b/service/configservice/snapshot/api_op_DescribeConformancePacks.go.snap index 74bc1f49b8d..e6a62c5c76b 100644 --- a/service/configservice/snapshot/api_op_DescribeConformancePacks.go.snap +++ b/service/configservice/snapshot/api_op_DescribeConformancePacks.go.snap @@ -13,7 +13,6 @@ DescribeConformancePacks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DescribeDeliveryChannelStatus.go.snap b/service/configservice/snapshot/api_op_DescribeDeliveryChannelStatus.go.snap index 937ff375d58..51848802451 100644 --- a/service/configservice/snapshot/api_op_DescribeDeliveryChannelStatus.go.snap +++ b/service/configservice/snapshot/api_op_DescribeDeliveryChannelStatus.go.snap @@ -13,7 +13,6 @@ DescribeDeliveryChannelStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DescribeDeliveryChannels.go.snap b/service/configservice/snapshot/api_op_DescribeDeliveryChannels.go.snap index fec2de14101..e2a7b6be835 100644 --- a/service/configservice/snapshot/api_op_DescribeDeliveryChannels.go.snap +++ b/service/configservice/snapshot/api_op_DescribeDeliveryChannels.go.snap @@ -13,7 +13,6 @@ DescribeDeliveryChannels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DescribeOrganizationConfigRuleStatuses.go.snap b/service/configservice/snapshot/api_op_DescribeOrganizationConfigRuleStatuses.go.snap index b10431b6708..27da614a12e 100644 --- a/service/configservice/snapshot/api_op_DescribeOrganizationConfigRuleStatuses.go.snap +++ b/service/configservice/snapshot/api_op_DescribeOrganizationConfigRuleStatuses.go.snap @@ -13,7 +13,6 @@ DescribeOrganizationConfigRuleStatuses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DescribeOrganizationConfigRules.go.snap b/service/configservice/snapshot/api_op_DescribeOrganizationConfigRules.go.snap index 98da9a63f3a..badb3cf0cf6 100644 --- a/service/configservice/snapshot/api_op_DescribeOrganizationConfigRules.go.snap +++ b/service/configservice/snapshot/api_op_DescribeOrganizationConfigRules.go.snap @@ -13,7 +13,6 @@ DescribeOrganizationConfigRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DescribeOrganizationConformancePackStatuses.go.snap b/service/configservice/snapshot/api_op_DescribeOrganizationConformancePackStatuses.go.snap index 46d84152946..19bcd1a10d5 100644 --- a/service/configservice/snapshot/api_op_DescribeOrganizationConformancePackStatuses.go.snap +++ b/service/configservice/snapshot/api_op_DescribeOrganizationConformancePackStatuses.go.snap @@ -13,7 +13,6 @@ DescribeOrganizationConformancePackStatuses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DescribeOrganizationConformancePacks.go.snap b/service/configservice/snapshot/api_op_DescribeOrganizationConformancePacks.go.snap index 2211a3809d8..e108171f4a4 100644 --- a/service/configservice/snapshot/api_op_DescribeOrganizationConformancePacks.go.snap +++ b/service/configservice/snapshot/api_op_DescribeOrganizationConformancePacks.go.snap @@ -13,7 +13,6 @@ DescribeOrganizationConformancePacks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DescribePendingAggregationRequests.go.snap b/service/configservice/snapshot/api_op_DescribePendingAggregationRequests.go.snap index 486da438ab7..45483a8e89d 100644 --- a/service/configservice/snapshot/api_op_DescribePendingAggregationRequests.go.snap +++ b/service/configservice/snapshot/api_op_DescribePendingAggregationRequests.go.snap @@ -13,7 +13,6 @@ DescribePendingAggregationRequests Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DescribeRemediationConfigurations.go.snap b/service/configservice/snapshot/api_op_DescribeRemediationConfigurations.go.snap index c4e9db6ca3d..c804ade56a6 100644 --- a/service/configservice/snapshot/api_op_DescribeRemediationConfigurations.go.snap +++ b/service/configservice/snapshot/api_op_DescribeRemediationConfigurations.go.snap @@ -14,7 +14,6 @@ DescribeRemediationConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DescribeRemediationExceptions.go.snap b/service/configservice/snapshot/api_op_DescribeRemediationExceptions.go.snap index 269d4875238..42e5f328114 100644 --- a/service/configservice/snapshot/api_op_DescribeRemediationExceptions.go.snap +++ b/service/configservice/snapshot/api_op_DescribeRemediationExceptions.go.snap @@ -14,7 +14,6 @@ DescribeRemediationExceptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DescribeRemediationExecutionStatus.go.snap b/service/configservice/snapshot/api_op_DescribeRemediationExecutionStatus.go.snap index 4e15a9e3152..89279ce11dc 100644 --- a/service/configservice/snapshot/api_op_DescribeRemediationExecutionStatus.go.snap +++ b/service/configservice/snapshot/api_op_DescribeRemediationExecutionStatus.go.snap @@ -14,7 +14,6 @@ DescribeRemediationExecutionStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DescribeRetentionConfigurations.go.snap b/service/configservice/snapshot/api_op_DescribeRetentionConfigurations.go.snap index 852115777c8..1a0242275c4 100644 --- a/service/configservice/snapshot/api_op_DescribeRetentionConfigurations.go.snap +++ b/service/configservice/snapshot/api_op_DescribeRetentionConfigurations.go.snap @@ -13,7 +13,6 @@ DescribeRetentionConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_DisassociateResourceTypes.go.snap b/service/configservice/snapshot/api_op_DisassociateResourceTypes.go.snap index 6f5eb5aa938..56acd3d5b1b 100644 --- a/service/configservice/snapshot/api_op_DisassociateResourceTypes.go.snap +++ b/service/configservice/snapshot/api_op_DisassociateResourceTypes.go.snap @@ -14,7 +14,6 @@ DisassociateResourceTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_GetAggregateComplianceDetailsByConfigRule.go.snap b/service/configservice/snapshot/api_op_GetAggregateComplianceDetailsByConfigRule.go.snap index af39cd583d3..462743a9ac5 100644 --- a/service/configservice/snapshot/api_op_GetAggregateComplianceDetailsByConfigRule.go.snap +++ b/service/configservice/snapshot/api_op_GetAggregateComplianceDetailsByConfigRule.go.snap @@ -14,7 +14,6 @@ GetAggregateComplianceDetailsByConfigRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_GetAggregateConfigRuleComplianceSummary.go.snap b/service/configservice/snapshot/api_op_GetAggregateConfigRuleComplianceSummary.go.snap index ef184bc10c1..10810b6fb12 100644 --- a/service/configservice/snapshot/api_op_GetAggregateConfigRuleComplianceSummary.go.snap +++ b/service/configservice/snapshot/api_op_GetAggregateConfigRuleComplianceSummary.go.snap @@ -14,7 +14,6 @@ GetAggregateConfigRuleComplianceSummary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_GetAggregateConformancePackComplianceSummary.go.snap b/service/configservice/snapshot/api_op_GetAggregateConformancePackComplianceSummary.go.snap index cf181d08202..5ff395ff985 100644 --- a/service/configservice/snapshot/api_op_GetAggregateConformancePackComplianceSummary.go.snap +++ b/service/configservice/snapshot/api_op_GetAggregateConformancePackComplianceSummary.go.snap @@ -14,7 +14,6 @@ GetAggregateConformancePackComplianceSummary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_GetAggregateDiscoveredResourceCounts.go.snap b/service/configservice/snapshot/api_op_GetAggregateDiscoveredResourceCounts.go.snap index f7f5a0c8700..6d35697ef2d 100644 --- a/service/configservice/snapshot/api_op_GetAggregateDiscoveredResourceCounts.go.snap +++ b/service/configservice/snapshot/api_op_GetAggregateDiscoveredResourceCounts.go.snap @@ -14,7 +14,6 @@ GetAggregateDiscoveredResourceCounts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_GetAggregateResourceConfig.go.snap b/service/configservice/snapshot/api_op_GetAggregateResourceConfig.go.snap index b79e57109ee..950fd33123f 100644 --- a/service/configservice/snapshot/api_op_GetAggregateResourceConfig.go.snap +++ b/service/configservice/snapshot/api_op_GetAggregateResourceConfig.go.snap @@ -14,7 +14,6 @@ GetAggregateResourceConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_GetComplianceDetailsByConfigRule.go.snap b/service/configservice/snapshot/api_op_GetComplianceDetailsByConfigRule.go.snap index 5387088b4ca..41cec8c32a3 100644 --- a/service/configservice/snapshot/api_op_GetComplianceDetailsByConfigRule.go.snap +++ b/service/configservice/snapshot/api_op_GetComplianceDetailsByConfigRule.go.snap @@ -14,7 +14,6 @@ GetComplianceDetailsByConfigRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_GetComplianceDetailsByResource.go.snap b/service/configservice/snapshot/api_op_GetComplianceDetailsByResource.go.snap index 2753d0ebcec..ef242e70207 100644 --- a/service/configservice/snapshot/api_op_GetComplianceDetailsByResource.go.snap +++ b/service/configservice/snapshot/api_op_GetComplianceDetailsByResource.go.snap @@ -13,7 +13,6 @@ GetComplianceDetailsByResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_GetComplianceSummaryByConfigRule.go.snap b/service/configservice/snapshot/api_op_GetComplianceSummaryByConfigRule.go.snap index 5acd727c865..0cc40e8f1a3 100644 --- a/service/configservice/snapshot/api_op_GetComplianceSummaryByConfigRule.go.snap +++ b/service/configservice/snapshot/api_op_GetComplianceSummaryByConfigRule.go.snap @@ -13,7 +13,6 @@ GetComplianceSummaryByConfigRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_GetComplianceSummaryByResourceType.go.snap b/service/configservice/snapshot/api_op_GetComplianceSummaryByResourceType.go.snap index d2662709195..0373a7665ac 100644 --- a/service/configservice/snapshot/api_op_GetComplianceSummaryByResourceType.go.snap +++ b/service/configservice/snapshot/api_op_GetComplianceSummaryByResourceType.go.snap @@ -13,7 +13,6 @@ GetComplianceSummaryByResourceType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_GetConformancePackComplianceDetails.go.snap b/service/configservice/snapshot/api_op_GetConformancePackComplianceDetails.go.snap index c158632d151..88aba377189 100644 --- a/service/configservice/snapshot/api_op_GetConformancePackComplianceDetails.go.snap +++ b/service/configservice/snapshot/api_op_GetConformancePackComplianceDetails.go.snap @@ -14,7 +14,6 @@ GetConformancePackComplianceDetails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_GetConformancePackComplianceSummary.go.snap b/service/configservice/snapshot/api_op_GetConformancePackComplianceSummary.go.snap index d56f631e440..2d08b3a96b3 100644 --- a/service/configservice/snapshot/api_op_GetConformancePackComplianceSummary.go.snap +++ b/service/configservice/snapshot/api_op_GetConformancePackComplianceSummary.go.snap @@ -14,7 +14,6 @@ GetConformancePackComplianceSummary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_GetCustomRulePolicy.go.snap b/service/configservice/snapshot/api_op_GetCustomRulePolicy.go.snap index 1a827e20e5e..f622c92520f 100644 --- a/service/configservice/snapshot/api_op_GetCustomRulePolicy.go.snap +++ b/service/configservice/snapshot/api_op_GetCustomRulePolicy.go.snap @@ -13,7 +13,6 @@ GetCustomRulePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_GetDiscoveredResourceCounts.go.snap b/service/configservice/snapshot/api_op_GetDiscoveredResourceCounts.go.snap index 52a09a30ffd..6dde74f7719 100644 --- a/service/configservice/snapshot/api_op_GetDiscoveredResourceCounts.go.snap +++ b/service/configservice/snapshot/api_op_GetDiscoveredResourceCounts.go.snap @@ -13,7 +13,6 @@ GetDiscoveredResourceCounts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_GetOrganizationConfigRuleDetailedStatus.go.snap b/service/configservice/snapshot/api_op_GetOrganizationConfigRuleDetailedStatus.go.snap index f181479f1e3..f0a3292532b 100644 --- a/service/configservice/snapshot/api_op_GetOrganizationConfigRuleDetailedStatus.go.snap +++ b/service/configservice/snapshot/api_op_GetOrganizationConfigRuleDetailedStatus.go.snap @@ -14,7 +14,6 @@ GetOrganizationConfigRuleDetailedStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_GetOrganizationConformancePackDetailedStatus.go.snap b/service/configservice/snapshot/api_op_GetOrganizationConformancePackDetailedStatus.go.snap index 3f49143a96c..e208930ee0f 100644 --- a/service/configservice/snapshot/api_op_GetOrganizationConformancePackDetailedStatus.go.snap +++ b/service/configservice/snapshot/api_op_GetOrganizationConformancePackDetailedStatus.go.snap @@ -14,7 +14,6 @@ GetOrganizationConformancePackDetailedStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_GetOrganizationCustomRulePolicy.go.snap b/service/configservice/snapshot/api_op_GetOrganizationCustomRulePolicy.go.snap index d293dd79f30..2b8be1dd586 100644 --- a/service/configservice/snapshot/api_op_GetOrganizationCustomRulePolicy.go.snap +++ b/service/configservice/snapshot/api_op_GetOrganizationCustomRulePolicy.go.snap @@ -14,7 +14,6 @@ GetOrganizationCustomRulePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_GetResourceConfigHistory.go.snap b/service/configservice/snapshot/api_op_GetResourceConfigHistory.go.snap index cc8056b44a7..820ffe3a3f0 100644 --- a/service/configservice/snapshot/api_op_GetResourceConfigHistory.go.snap +++ b/service/configservice/snapshot/api_op_GetResourceConfigHistory.go.snap @@ -14,7 +14,6 @@ GetResourceConfigHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_GetResourceEvaluationSummary.go.snap b/service/configservice/snapshot/api_op_GetResourceEvaluationSummary.go.snap index c82842e52a4..a26891ea3db 100644 --- a/service/configservice/snapshot/api_op_GetResourceEvaluationSummary.go.snap +++ b/service/configservice/snapshot/api_op_GetResourceEvaluationSummary.go.snap @@ -14,7 +14,6 @@ GetResourceEvaluationSummary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_GetStoredQuery.go.snap b/service/configservice/snapshot/api_op_GetStoredQuery.go.snap index dc535a01ac6..fd747940a5d 100644 --- a/service/configservice/snapshot/api_op_GetStoredQuery.go.snap +++ b/service/configservice/snapshot/api_op_GetStoredQuery.go.snap @@ -14,7 +14,6 @@ GetStoredQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_ListAggregateDiscoveredResources.go.snap b/service/configservice/snapshot/api_op_ListAggregateDiscoveredResources.go.snap index 1d901e5f149..6491391b945 100644 --- a/service/configservice/snapshot/api_op_ListAggregateDiscoveredResources.go.snap +++ b/service/configservice/snapshot/api_op_ListAggregateDiscoveredResources.go.snap @@ -14,7 +14,6 @@ ListAggregateDiscoveredResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_ListConfigurationRecorders.go.snap b/service/configservice/snapshot/api_op_ListConfigurationRecorders.go.snap index 6aa58bb1b19..491fffbde16 100644 --- a/service/configservice/snapshot/api_op_ListConfigurationRecorders.go.snap +++ b/service/configservice/snapshot/api_op_ListConfigurationRecorders.go.snap @@ -13,7 +13,6 @@ ListConfigurationRecorders Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_ListConformancePackComplianceScores.go.snap b/service/configservice/snapshot/api_op_ListConformancePackComplianceScores.go.snap index 896670b99e3..14a91405709 100644 --- a/service/configservice/snapshot/api_op_ListConformancePackComplianceScores.go.snap +++ b/service/configservice/snapshot/api_op_ListConformancePackComplianceScores.go.snap @@ -14,7 +14,6 @@ ListConformancePackComplianceScores Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_ListDiscoveredResources.go.snap b/service/configservice/snapshot/api_op_ListDiscoveredResources.go.snap index 115d4c7a2b2..b1e97097934 100644 --- a/service/configservice/snapshot/api_op_ListDiscoveredResources.go.snap +++ b/service/configservice/snapshot/api_op_ListDiscoveredResources.go.snap @@ -14,7 +14,6 @@ ListDiscoveredResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_ListResourceEvaluations.go.snap b/service/configservice/snapshot/api_op_ListResourceEvaluations.go.snap index 198494034ec..eec97d91339 100644 --- a/service/configservice/snapshot/api_op_ListResourceEvaluations.go.snap +++ b/service/configservice/snapshot/api_op_ListResourceEvaluations.go.snap @@ -13,7 +13,6 @@ ListResourceEvaluations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_ListStoredQueries.go.snap b/service/configservice/snapshot/api_op_ListStoredQueries.go.snap index c21308c7f00..d9cae2579e8 100644 --- a/service/configservice/snapshot/api_op_ListStoredQueries.go.snap +++ b/service/configservice/snapshot/api_op_ListStoredQueries.go.snap @@ -13,7 +13,6 @@ ListStoredQueries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_ListTagsForResource.go.snap b/service/configservice/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/configservice/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/configservice/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_PutAggregationAuthorization.go.snap b/service/configservice/snapshot/api_op_PutAggregationAuthorization.go.snap index dc95910a121..c5169c5643d 100644 --- a/service/configservice/snapshot/api_op_PutAggregationAuthorization.go.snap +++ b/service/configservice/snapshot/api_op_PutAggregationAuthorization.go.snap @@ -14,7 +14,6 @@ PutAggregationAuthorization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_PutConfigRule.go.snap b/service/configservice/snapshot/api_op_PutConfigRule.go.snap index bcad3e82820..e8083fcf039 100644 --- a/service/configservice/snapshot/api_op_PutConfigRule.go.snap +++ b/service/configservice/snapshot/api_op_PutConfigRule.go.snap @@ -14,7 +14,6 @@ PutConfigRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_PutConfigurationAggregator.go.snap b/service/configservice/snapshot/api_op_PutConfigurationAggregator.go.snap index 0f79d592bf6..d0bf744c1c2 100644 --- a/service/configservice/snapshot/api_op_PutConfigurationAggregator.go.snap +++ b/service/configservice/snapshot/api_op_PutConfigurationAggregator.go.snap @@ -14,7 +14,6 @@ PutConfigurationAggregator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_PutConfigurationRecorder.go.snap b/service/configservice/snapshot/api_op_PutConfigurationRecorder.go.snap index f0ab1c60576..1a1f4c258d9 100644 --- a/service/configservice/snapshot/api_op_PutConfigurationRecorder.go.snap +++ b/service/configservice/snapshot/api_op_PutConfigurationRecorder.go.snap @@ -14,7 +14,6 @@ PutConfigurationRecorder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_PutConformancePack.go.snap b/service/configservice/snapshot/api_op_PutConformancePack.go.snap index cab417b19ee..2aaea1c2ba1 100644 --- a/service/configservice/snapshot/api_op_PutConformancePack.go.snap +++ b/service/configservice/snapshot/api_op_PutConformancePack.go.snap @@ -14,7 +14,6 @@ PutConformancePack Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_PutDeliveryChannel.go.snap b/service/configservice/snapshot/api_op_PutDeliveryChannel.go.snap index 4b39bc64665..378a2c7c7df 100644 --- a/service/configservice/snapshot/api_op_PutDeliveryChannel.go.snap +++ b/service/configservice/snapshot/api_op_PutDeliveryChannel.go.snap @@ -14,7 +14,6 @@ PutDeliveryChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_PutEvaluations.go.snap b/service/configservice/snapshot/api_op_PutEvaluations.go.snap index 187a4b92649..4927cce764f 100644 --- a/service/configservice/snapshot/api_op_PutEvaluations.go.snap +++ b/service/configservice/snapshot/api_op_PutEvaluations.go.snap @@ -14,7 +14,6 @@ PutEvaluations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_PutExternalEvaluation.go.snap b/service/configservice/snapshot/api_op_PutExternalEvaluation.go.snap index a89fb725c53..5de46496b9d 100644 --- a/service/configservice/snapshot/api_op_PutExternalEvaluation.go.snap +++ b/service/configservice/snapshot/api_op_PutExternalEvaluation.go.snap @@ -14,7 +14,6 @@ PutExternalEvaluation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_PutOrganizationConfigRule.go.snap b/service/configservice/snapshot/api_op_PutOrganizationConfigRule.go.snap index fcbfb4e7870..27061bd90b1 100644 --- a/service/configservice/snapshot/api_op_PutOrganizationConfigRule.go.snap +++ b/service/configservice/snapshot/api_op_PutOrganizationConfigRule.go.snap @@ -14,7 +14,6 @@ PutOrganizationConfigRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_PutOrganizationConformancePack.go.snap b/service/configservice/snapshot/api_op_PutOrganizationConformancePack.go.snap index 237bb4dbe13..ff4755c15c1 100644 --- a/service/configservice/snapshot/api_op_PutOrganizationConformancePack.go.snap +++ b/service/configservice/snapshot/api_op_PutOrganizationConformancePack.go.snap @@ -14,7 +14,6 @@ PutOrganizationConformancePack Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_PutRemediationConfigurations.go.snap b/service/configservice/snapshot/api_op_PutRemediationConfigurations.go.snap index e3d0f046784..6d1c133199b 100644 --- a/service/configservice/snapshot/api_op_PutRemediationConfigurations.go.snap +++ b/service/configservice/snapshot/api_op_PutRemediationConfigurations.go.snap @@ -14,7 +14,6 @@ PutRemediationConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_PutRemediationExceptions.go.snap b/service/configservice/snapshot/api_op_PutRemediationExceptions.go.snap index c7cc4bd5673..f44ba69c110 100644 --- a/service/configservice/snapshot/api_op_PutRemediationExceptions.go.snap +++ b/service/configservice/snapshot/api_op_PutRemediationExceptions.go.snap @@ -14,7 +14,6 @@ PutRemediationExceptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_PutResourceConfig.go.snap b/service/configservice/snapshot/api_op_PutResourceConfig.go.snap index 1a22eb70428..4b36763e4ff 100644 --- a/service/configservice/snapshot/api_op_PutResourceConfig.go.snap +++ b/service/configservice/snapshot/api_op_PutResourceConfig.go.snap @@ -14,7 +14,6 @@ PutResourceConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_PutRetentionConfiguration.go.snap b/service/configservice/snapshot/api_op_PutRetentionConfiguration.go.snap index acd80f2c516..ea39c6b965b 100644 --- a/service/configservice/snapshot/api_op_PutRetentionConfiguration.go.snap +++ b/service/configservice/snapshot/api_op_PutRetentionConfiguration.go.snap @@ -14,7 +14,6 @@ PutRetentionConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_PutServiceLinkedConfigurationRecorder.go.snap b/service/configservice/snapshot/api_op_PutServiceLinkedConfigurationRecorder.go.snap index 10444e97ffc..e1a26f05c97 100644 --- a/service/configservice/snapshot/api_op_PutServiceLinkedConfigurationRecorder.go.snap +++ b/service/configservice/snapshot/api_op_PutServiceLinkedConfigurationRecorder.go.snap @@ -14,7 +14,6 @@ PutServiceLinkedConfigurationRecorder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_PutStoredQuery.go.snap b/service/configservice/snapshot/api_op_PutStoredQuery.go.snap index e547c15548a..e7d31702773 100644 --- a/service/configservice/snapshot/api_op_PutStoredQuery.go.snap +++ b/service/configservice/snapshot/api_op_PutStoredQuery.go.snap @@ -14,7 +14,6 @@ PutStoredQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_SelectAggregateResourceConfig.go.snap b/service/configservice/snapshot/api_op_SelectAggregateResourceConfig.go.snap index c56ad699e52..ffaa54f2736 100644 --- a/service/configservice/snapshot/api_op_SelectAggregateResourceConfig.go.snap +++ b/service/configservice/snapshot/api_op_SelectAggregateResourceConfig.go.snap @@ -14,7 +14,6 @@ SelectAggregateResourceConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_SelectResourceConfig.go.snap b/service/configservice/snapshot/api_op_SelectResourceConfig.go.snap index a9df70c4156..2d602e424d4 100644 --- a/service/configservice/snapshot/api_op_SelectResourceConfig.go.snap +++ b/service/configservice/snapshot/api_op_SelectResourceConfig.go.snap @@ -14,7 +14,6 @@ SelectResourceConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_StartConfigRulesEvaluation.go.snap b/service/configservice/snapshot/api_op_StartConfigRulesEvaluation.go.snap index 320307e2ed6..8735d47150f 100644 --- a/service/configservice/snapshot/api_op_StartConfigRulesEvaluation.go.snap +++ b/service/configservice/snapshot/api_op_StartConfigRulesEvaluation.go.snap @@ -13,7 +13,6 @@ StartConfigRulesEvaluation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_StartConfigurationRecorder.go.snap b/service/configservice/snapshot/api_op_StartConfigurationRecorder.go.snap index 873aca263c8..77b3d095baf 100644 --- a/service/configservice/snapshot/api_op_StartConfigurationRecorder.go.snap +++ b/service/configservice/snapshot/api_op_StartConfigurationRecorder.go.snap @@ -14,7 +14,6 @@ StartConfigurationRecorder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_StartRemediationExecution.go.snap b/service/configservice/snapshot/api_op_StartRemediationExecution.go.snap index 951988def2d..b3adc863eb0 100644 --- a/service/configservice/snapshot/api_op_StartRemediationExecution.go.snap +++ b/service/configservice/snapshot/api_op_StartRemediationExecution.go.snap @@ -14,7 +14,6 @@ StartRemediationExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_StartResourceEvaluation.go.snap b/service/configservice/snapshot/api_op_StartResourceEvaluation.go.snap index d488617e81a..9cdf7cd0509 100644 --- a/service/configservice/snapshot/api_op_StartResourceEvaluation.go.snap +++ b/service/configservice/snapshot/api_op_StartResourceEvaluation.go.snap @@ -14,7 +14,6 @@ StartResourceEvaluation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_StopConfigurationRecorder.go.snap b/service/configservice/snapshot/api_op_StopConfigurationRecorder.go.snap index 0b32a8902fa..5851469d4ac 100644 --- a/service/configservice/snapshot/api_op_StopConfigurationRecorder.go.snap +++ b/service/configservice/snapshot/api_op_StopConfigurationRecorder.go.snap @@ -14,7 +14,6 @@ StopConfigurationRecorder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_TagResource.go.snap b/service/configservice/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/configservice/snapshot/api_op_TagResource.go.snap +++ b/service/configservice/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/configservice/snapshot/api_op_UntagResource.go.snap b/service/configservice/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/configservice/snapshot/api_op_UntagResource.go.snap +++ b/service/configservice/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/api_client.go b/service/connect/api_client.go index 270380192e8..fe05d65210f 100644 --- a/service/connect/api_client.go +++ b/service/connect/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/connect/api_op_ActivateEvaluationForm.go b/service/connect/api_op_ActivateEvaluationForm.go index 077646eef40..4e577d2d39e 100644 --- a/service/connect/api_op_ActivateEvaluationForm.go +++ b/service/connect/api_op_ActivateEvaluationForm.go @@ -139,9 +139,6 @@ func (c *Client) addOperationActivateEvaluationFormMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpActivateEvaluationFormValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_AssociateAnalyticsDataSet.go b/service/connect/api_op_AssociateAnalyticsDataSet.go index 76f25937233..e5712e67e32 100644 --- a/service/connect/api_op_AssociateAnalyticsDataSet.go +++ b/service/connect/api_op_AssociateAnalyticsDataSet.go @@ -135,9 +135,6 @@ func (c *Client) addOperationAssociateAnalyticsDataSetMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateAnalyticsDataSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_AssociateApprovedOrigin.go b/service/connect/api_op_AssociateApprovedOrigin.go index db2829c552f..4134bc7c882 100644 --- a/service/connect/api_op_AssociateApprovedOrigin.go +++ b/service/connect/api_op_AssociateApprovedOrigin.go @@ -124,9 +124,6 @@ func (c *Client) addOperationAssociateApprovedOriginMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opAssociateApprovedOriginMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_AssociateBot.go b/service/connect/api_op_AssociateBot.go index 5a55e6d4193..fec2de40b26 100644 --- a/service/connect/api_op_AssociateBot.go +++ b/service/connect/api_op_AssociateBot.go @@ -127,9 +127,6 @@ func (c *Client) addOperationAssociateBotMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opAssociateBotMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_AssociateDefaultVocabulary.go b/service/connect/api_op_AssociateDefaultVocabulary.go index 8fa94525ad6..96da9c9f619 100644 --- a/service/connect/api_op_AssociateDefaultVocabulary.go +++ b/service/connect/api_op_AssociateDefaultVocabulary.go @@ -125,9 +125,6 @@ func (c *Client) addOperationAssociateDefaultVocabularyMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateDefaultVocabularyValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_AssociateFlow.go b/service/connect/api_op_AssociateFlow.go index 6140bccaeb5..fc0d7a373ce 100644 --- a/service/connect/api_op_AssociateFlow.go +++ b/service/connect/api_op_AssociateFlow.go @@ -132,9 +132,6 @@ func (c *Client) addOperationAssociateFlowMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateFlowValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_AssociateInstanceStorageConfig.go b/service/connect/api_op_AssociateInstanceStorageConfig.go index 1035c190a82..7ab7d136c40 100644 --- a/service/connect/api_op_AssociateInstanceStorageConfig.go +++ b/service/connect/api_op_AssociateInstanceStorageConfig.go @@ -156,9 +156,6 @@ func (c *Client) addOperationAssociateInstanceStorageConfigMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opAssociateInstanceStorageConfigMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_AssociateLambdaFunction.go b/service/connect/api_op_AssociateLambdaFunction.go index 75fbaf84bcc..a2bd296274e 100644 --- a/service/connect/api_op_AssociateLambdaFunction.go +++ b/service/connect/api_op_AssociateLambdaFunction.go @@ -126,9 +126,6 @@ func (c *Client) addOperationAssociateLambdaFunctionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opAssociateLambdaFunctionMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_AssociateLexBot.go b/service/connect/api_op_AssociateLexBot.go index 73ec71f2ee8..380f2ca14e1 100644 --- a/service/connect/api_op_AssociateLexBot.go +++ b/service/connect/api_op_AssociateLexBot.go @@ -126,9 +126,6 @@ func (c *Client) addOperationAssociateLexBotMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opAssociateLexBotMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_AssociatePhoneNumberContactFlow.go b/service/connect/api_op_AssociatePhoneNumberContactFlow.go index 75b9f1d3155..1d419973e15 100644 --- a/service/connect/api_op_AssociatePhoneNumberContactFlow.go +++ b/service/connect/api_op_AssociatePhoneNumberContactFlow.go @@ -129,9 +129,6 @@ func (c *Client) addOperationAssociatePhoneNumberContactFlowMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociatePhoneNumberContactFlowValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_AssociateQueueQuickConnects.go b/service/connect/api_op_AssociateQueueQuickConnects.go index ca4084d3f22..3ab4ed3b6c5 100644 --- a/service/connect/api_op_AssociateQueueQuickConnects.go +++ b/service/connect/api_op_AssociateQueueQuickConnects.go @@ -122,9 +122,6 @@ func (c *Client) addOperationAssociateQueueQuickConnectsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateQueueQuickConnectsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_AssociateRoutingProfileQueues.go b/service/connect/api_op_AssociateRoutingProfileQueues.go index 7c58aa39048..b3416b7277c 100644 --- a/service/connect/api_op_AssociateRoutingProfileQueues.go +++ b/service/connect/api_op_AssociateRoutingProfileQueues.go @@ -121,9 +121,6 @@ func (c *Client) addOperationAssociateRoutingProfileQueuesMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateRoutingProfileQueuesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_AssociateSecurityKey.go b/service/connect/api_op_AssociateSecurityKey.go index 3c0aa756338..3d806f0b0fa 100644 --- a/service/connect/api_op_AssociateSecurityKey.go +++ b/service/connect/api_op_AssociateSecurityKey.go @@ -129,9 +129,6 @@ func (c *Client) addOperationAssociateSecurityKeyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opAssociateSecurityKeyMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_AssociateTrafficDistributionGroupUser.go b/service/connect/api_op_AssociateTrafficDistributionGroupUser.go index 0243d36c0fe..eb8eba0d53f 100644 --- a/service/connect/api_op_AssociateTrafficDistributionGroupUser.go +++ b/service/connect/api_op_AssociateTrafficDistributionGroupUser.go @@ -122,9 +122,6 @@ func (c *Client) addOperationAssociateTrafficDistributionGroupUserMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateTrafficDistributionGroupUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_AssociateUserProficiencies.go b/service/connect/api_op_AssociateUserProficiencies.go index ade262f02a4..f1a61df43bf 100644 --- a/service/connect/api_op_AssociateUserProficiencies.go +++ b/service/connect/api_op_AssociateUserProficiencies.go @@ -119,9 +119,6 @@ func (c *Client) addOperationAssociateUserProficienciesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateUserProficienciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_BatchAssociateAnalyticsDataSet.go b/service/connect/api_op_BatchAssociateAnalyticsDataSet.go index 387b1254501..a6a26fa4d79 100644 --- a/service/connect/api_op_BatchAssociateAnalyticsDataSet.go +++ b/service/connect/api_op_BatchAssociateAnalyticsDataSet.go @@ -132,9 +132,6 @@ func (c *Client) addOperationBatchAssociateAnalyticsDataSetMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchAssociateAnalyticsDataSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_BatchDisassociateAnalyticsDataSet.go b/service/connect/api_op_BatchDisassociateAnalyticsDataSet.go index 79fad47acba..dd320ed7b78 100644 --- a/service/connect/api_op_BatchDisassociateAnalyticsDataSet.go +++ b/service/connect/api_op_BatchDisassociateAnalyticsDataSet.go @@ -130,9 +130,6 @@ func (c *Client) addOperationBatchDisassociateAnalyticsDataSetMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDisassociateAnalyticsDataSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_BatchGetAttachedFileMetadata.go b/service/connect/api_op_BatchGetAttachedFileMetadata.go index 2c06e21dcc4..8fbaa5aa40c 100644 --- a/service/connect/api_op_BatchGetAttachedFileMetadata.go +++ b/service/connect/api_op_BatchGetAttachedFileMetadata.go @@ -133,9 +133,6 @@ func (c *Client) addOperationBatchGetAttachedFileMetadataMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetAttachedFileMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_BatchGetFlowAssociation.go b/service/connect/api_op_BatchGetFlowAssociation.go index 76cdf128848..dab9aba31e4 100644 --- a/service/connect/api_op_BatchGetFlowAssociation.go +++ b/service/connect/api_op_BatchGetFlowAssociation.go @@ -129,9 +129,6 @@ func (c *Client) addOperationBatchGetFlowAssociationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetFlowAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_BatchPutContact.go b/service/connect/api_op_BatchPutContact.go index a91084c5d45..2cf6d28ee26 100644 --- a/service/connect/api_op_BatchPutContact.go +++ b/service/connect/api_op_BatchPutContact.go @@ -140,9 +140,6 @@ func (c *Client) addOperationBatchPutContactMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opBatchPutContactMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_ClaimPhoneNumber.go b/service/connect/api_op_ClaimPhoneNumber.go index 647b7ccf1ec..0bfa74f34c9 100644 --- a/service/connect/api_op_ClaimPhoneNumber.go +++ b/service/connect/api_op_ClaimPhoneNumber.go @@ -175,9 +175,6 @@ func (c *Client) addOperationClaimPhoneNumberMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opClaimPhoneNumberMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_CompleteAttachedFileUpload.go b/service/connect/api_op_CompleteAttachedFileUpload.go index 779df6d2fa1..e448ae98233 100644 --- a/service/connect/api_op_CompleteAttachedFileUpload.go +++ b/service/connect/api_op_CompleteAttachedFileUpload.go @@ -126,9 +126,6 @@ func (c *Client) addOperationCompleteAttachedFileUploadMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCompleteAttachedFileUploadValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateAgentStatus.go b/service/connect/api_op_CreateAgentStatus.go index 54a51da655e..ebc5af2ec1e 100644 --- a/service/connect/api_op_CreateAgentStatus.go +++ b/service/connect/api_op_CreateAgentStatus.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreateAgentStatusMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAgentStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateContact.go b/service/connect/api_op_CreateContact.go index 4a7549a2fe3..ccbd4110035 100644 --- a/service/connect/api_op_CreateContact.go +++ b/service/connect/api_op_CreateContact.go @@ -191,9 +191,6 @@ func (c *Client) addOperationCreateContactMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateContactMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_CreateContactFlow.go b/service/connect/api_op_CreateContactFlow.go index 16683d6338b..815b3ec03b3 100644 --- a/service/connect/api_op_CreateContactFlow.go +++ b/service/connect/api_op_CreateContactFlow.go @@ -156,9 +156,6 @@ func (c *Client) addOperationCreateContactFlowMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateContactFlowValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateContactFlowModule.go b/service/connect/api_op_CreateContactFlowModule.go index f3c2d37352c..fce229f8e90 100644 --- a/service/connect/api_op_CreateContactFlowModule.go +++ b/service/connect/api_op_CreateContactFlowModule.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCreateContactFlowModuleMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateContactFlowModuleMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_CreateContactFlowVersion.go b/service/connect/api_op_CreateContactFlowVersion.go index f1e0f004ba0..6ee5f606a45 100644 --- a/service/connect/api_op_CreateContactFlowVersion.go +++ b/service/connect/api_op_CreateContactFlowVersion.go @@ -138,9 +138,6 @@ func (c *Client) addOperationCreateContactFlowVersionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateContactFlowVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateEmailAddress.go b/service/connect/api_op_CreateEmailAddress.go index ac8f61ed329..e81a6fc4b7f 100644 --- a/service/connect/api_op_CreateEmailAddress.go +++ b/service/connect/api_op_CreateEmailAddress.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCreateEmailAddressMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEmailAddressValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateEvaluationForm.go b/service/connect/api_op_CreateEvaluationForm.go index b65dea40c9f..4640fe097df 100644 --- a/service/connect/api_op_CreateEvaluationForm.go +++ b/service/connect/api_op_CreateEvaluationForm.go @@ -149,9 +149,6 @@ func (c *Client) addOperationCreateEvaluationFormMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateEvaluationFormMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_CreateHoursOfOperation.go b/service/connect/api_op_CreateHoursOfOperation.go index cb7212fa592..647d086a800 100644 --- a/service/connect/api_op_CreateHoursOfOperation.go +++ b/service/connect/api_op_CreateHoursOfOperation.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCreateHoursOfOperationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateHoursOfOperationValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateHoursOfOperationOverride.go b/service/connect/api_op_CreateHoursOfOperationOverride.go index 58cedd5b991..009b6eb52a5 100644 --- a/service/connect/api_op_CreateHoursOfOperationOverride.go +++ b/service/connect/api_op_CreateHoursOfOperationOverride.go @@ -142,9 +142,6 @@ func (c *Client) addOperationCreateHoursOfOperationOverrideMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateHoursOfOperationOverrideValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateInstance.go b/service/connect/api_op_CreateInstance.go index ee81e0f8ca1..9a8c53b8d16 100644 --- a/service/connect/api_op_CreateInstance.go +++ b/service/connect/api_op_CreateInstance.go @@ -153,9 +153,6 @@ func (c *Client) addOperationCreateInstanceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateInstanceMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_CreateIntegrationAssociation.go b/service/connect/api_op_CreateIntegrationAssociation.go index 1e8f5769052..de9e67915fd 100644 --- a/service/connect/api_op_CreateIntegrationAssociation.go +++ b/service/connect/api_op_CreateIntegrationAssociation.go @@ -149,9 +149,6 @@ func (c *Client) addOperationCreateIntegrationAssociationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateIntegrationAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateParticipant.go b/service/connect/api_op_CreateParticipant.go index d962197c815..0ee0fafcfc5 100644 --- a/service/connect/api_op_CreateParticipant.go +++ b/service/connect/api_op_CreateParticipant.go @@ -145,9 +145,6 @@ func (c *Client) addOperationCreateParticipantMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateParticipantMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_CreatePersistentContactAssociation.go b/service/connect/api_op_CreatePersistentContactAssociation.go index 70c9b4fbe2f..e9be027fff7 100644 --- a/service/connect/api_op_CreatePersistentContactAssociation.go +++ b/service/connect/api_op_CreatePersistentContactAssociation.go @@ -199,9 +199,6 @@ func (c *Client) addOperationCreatePersistentContactAssociationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePersistentContactAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreatePredefinedAttribute.go b/service/connect/api_op_CreatePredefinedAttribute.go index 3bf376b64b1..736815cc2c5 100644 --- a/service/connect/api_op_CreatePredefinedAttribute.go +++ b/service/connect/api_op_CreatePredefinedAttribute.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCreatePredefinedAttributeMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePredefinedAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreatePrompt.go b/service/connect/api_op_CreatePrompt.go index 8bad2f05588..c8f7a345d0e 100644 --- a/service/connect/api_op_CreatePrompt.go +++ b/service/connect/api_op_CreatePrompt.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreatePromptMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePromptValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreatePushNotificationRegistration.go b/service/connect/api_op_CreatePushNotificationRegistration.go index 3dd256e9d22..fd567c7c84d 100644 --- a/service/connect/api_op_CreatePushNotificationRegistration.go +++ b/service/connect/api_op_CreatePushNotificationRegistration.go @@ -148,9 +148,6 @@ func (c *Client) addOperationCreatePushNotificationRegistrationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreatePushNotificationRegistrationMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_CreateQueue.go b/service/connect/api_op_CreateQueue.go index 40091608ddf..5bc29237ca9 100644 --- a/service/connect/api_op_CreateQueue.go +++ b/service/connect/api_op_CreateQueue.go @@ -168,9 +168,6 @@ func (c *Client) addOperationCreateQueueMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateQueueValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateQuickConnect.go b/service/connect/api_op_CreateQuickConnect.go index 78e48542e49..85b1be59251 100644 --- a/service/connect/api_op_CreateQuickConnect.go +++ b/service/connect/api_op_CreateQuickConnect.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateQuickConnectMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateQuickConnectValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateRoutingProfile.go b/service/connect/api_op_CreateRoutingProfile.go index 65947556faa..4e023fd4277 100644 --- a/service/connect/api_op_CreateRoutingProfile.go +++ b/service/connect/api_op_CreateRoutingProfile.go @@ -158,9 +158,6 @@ func (c *Client) addOperationCreateRoutingProfileMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRoutingProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateRule.go b/service/connect/api_op_CreateRule.go index 8411e505ba4..bf828ebe47f 100644 --- a/service/connect/api_op_CreateRule.go +++ b/service/connect/api_op_CreateRule.go @@ -158,9 +158,6 @@ func (c *Client) addOperationCreateRuleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateRuleMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_CreateSecurityProfile.go b/service/connect/api_op_CreateSecurityProfile.go index facea6c0050..6937dbd1186 100644 --- a/service/connect/api_op_CreateSecurityProfile.go +++ b/service/connect/api_op_CreateSecurityProfile.go @@ -166,9 +166,6 @@ func (c *Client) addOperationCreateSecurityProfileMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSecurityProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateTaskTemplate.go b/service/connect/api_op_CreateTaskTemplate.go index 6c5b60bf67a..b47b6d543cc 100644 --- a/service/connect/api_op_CreateTaskTemplate.go +++ b/service/connect/api_op_CreateTaskTemplate.go @@ -162,9 +162,6 @@ func (c *Client) addOperationCreateTaskTemplateMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateTaskTemplateMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_CreateTrafficDistributionGroup.go b/service/connect/api_op_CreateTrafficDistributionGroup.go index 10ce4704a50..dd0447a072c 100644 --- a/service/connect/api_op_CreateTrafficDistributionGroup.go +++ b/service/connect/api_op_CreateTrafficDistributionGroup.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCreateTrafficDistributionGroupMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateTrafficDistributionGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_CreateUseCase.go b/service/connect/api_op_CreateUseCase.go index 15a1989f5eb..77e08c0196c 100644 --- a/service/connect/api_op_CreateUseCase.go +++ b/service/connect/api_op_CreateUseCase.go @@ -133,9 +133,6 @@ func (c *Client) addOperationCreateUseCaseMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateUseCaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateUser.go b/service/connect/api_op_CreateUser.go index cb2b46bdaa6..53f486fa55e 100644 --- a/service/connect/api_op_CreateUser.go +++ b/service/connect/api_op_CreateUser.go @@ -186,9 +186,6 @@ func (c *Client) addOperationCreateUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateUserHierarchyGroup.go b/service/connect/api_op_CreateUserHierarchyGroup.go index 7629d85d960..9de815f05d6 100644 --- a/service/connect/api_op_CreateUserHierarchyGroup.go +++ b/service/connect/api_op_CreateUserHierarchyGroup.go @@ -130,9 +130,6 @@ func (c *Client) addOperationCreateUserHierarchyGroupMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateUserHierarchyGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateView.go b/service/connect/api_op_CreateView.go index 8c54004579d..056883b9605 100644 --- a/service/connect/api_op_CreateView.go +++ b/service/connect/api_op_CreateView.go @@ -153,9 +153,6 @@ func (c *Client) addOperationCreateViewMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateViewValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateViewVersion.go b/service/connect/api_op_CreateViewVersion.go index de1192217a8..6ccbb420ef5 100644 --- a/service/connect/api_op_CreateViewVersion.go +++ b/service/connect/api_op_CreateViewVersion.go @@ -130,9 +130,6 @@ func (c *Client) addOperationCreateViewVersionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateViewVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_CreateVocabulary.go b/service/connect/api_op_CreateVocabulary.go index 000d6b50b47..e3dee62afa4 100644 --- a/service/connect/api_op_CreateVocabulary.go +++ b/service/connect/api_op_CreateVocabulary.go @@ -166,9 +166,6 @@ func (c *Client) addOperationCreateVocabularyMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateVocabularyMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_DeactivateEvaluationForm.go b/service/connect/api_op_DeactivateEvaluationForm.go index f2b3ed8d548..10225e73007 100644 --- a/service/connect/api_op_DeactivateEvaluationForm.go +++ b/service/connect/api_op_DeactivateEvaluationForm.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDeactivateEvaluationFormMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeactivateEvaluationFormValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteAttachedFile.go b/service/connect/api_op_DeleteAttachedFile.go index d620ea986ce..9de30d3f5cd 100644 --- a/service/connect/api_op_DeleteAttachedFile.go +++ b/service/connect/api_op_DeleteAttachedFile.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDeleteAttachedFileMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAttachedFileValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteContactEvaluation.go b/service/connect/api_op_DeleteContactEvaluation.go index 1684ec40833..f58e13c1ddc 100644 --- a/service/connect/api_op_DeleteContactEvaluation.go +++ b/service/connect/api_op_DeleteContactEvaluation.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteContactEvaluationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteContactEvaluationValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteContactFlow.go b/service/connect/api_op_DeleteContactFlow.go index 601dc5cdbae..cfdc7edc213 100644 --- a/service/connect/api_op_DeleteContactFlow.go +++ b/service/connect/api_op_DeleteContactFlow.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteContactFlowMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteContactFlowValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteContactFlowModule.go b/service/connect/api_op_DeleteContactFlowModule.go index 008894a99b1..1a53f81e387 100644 --- a/service/connect/api_op_DeleteContactFlowModule.go +++ b/service/connect/api_op_DeleteContactFlowModule.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteContactFlowModuleMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteContactFlowModuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteContactFlowVersion.go b/service/connect/api_op_DeleteContactFlowVersion.go index ac3a636b1a3..09c264b576e 100644 --- a/service/connect/api_op_DeleteContactFlowVersion.go +++ b/service/connect/api_op_DeleteContactFlowVersion.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteContactFlowVersionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteContactFlowVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteEmailAddress.go b/service/connect/api_op_DeleteEmailAddress.go index 76c3db7f962..a5846ab00ec 100644 --- a/service/connect/api_op_DeleteEmailAddress.go +++ b/service/connect/api_op_DeleteEmailAddress.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteEmailAddressMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEmailAddressValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteEvaluationForm.go b/service/connect/api_op_DeleteEvaluationForm.go index fc5352e0ea2..fd54b637053 100644 --- a/service/connect/api_op_DeleteEvaluationForm.go +++ b/service/connect/api_op_DeleteEvaluationForm.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteEvaluationFormMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEvaluationFormValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteHoursOfOperation.go b/service/connect/api_op_DeleteHoursOfOperation.go index c05ab1c63cb..084f96d8e4f 100644 --- a/service/connect/api_op_DeleteHoursOfOperation.go +++ b/service/connect/api_op_DeleteHoursOfOperation.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteHoursOfOperationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteHoursOfOperationValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteHoursOfOperationOverride.go b/service/connect/api_op_DeleteHoursOfOperationOverride.go index ae7aaa61ec5..1c532cc2ce6 100644 --- a/service/connect/api_op_DeleteHoursOfOperationOverride.go +++ b/service/connect/api_op_DeleteHoursOfOperationOverride.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteHoursOfOperationOverrideMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteHoursOfOperationOverrideValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteInstance.go b/service/connect/api_op_DeleteInstance.go index 03ad6de3d64..f2bb93ad8bc 100644 --- a/service/connect/api_op_DeleteInstance.go +++ b/service/connect/api_op_DeleteInstance.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteInstanceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteInstanceMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_DeleteIntegrationAssociation.go b/service/connect/api_op_DeleteIntegrationAssociation.go index a5806c0e445..08ee9b8f80e 100644 --- a/service/connect/api_op_DeleteIntegrationAssociation.go +++ b/service/connect/api_op_DeleteIntegrationAssociation.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteIntegrationAssociationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIntegrationAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeletePredefinedAttribute.go b/service/connect/api_op_DeletePredefinedAttribute.go index fce4b5477bf..7200d6f244d 100644 --- a/service/connect/api_op_DeletePredefinedAttribute.go +++ b/service/connect/api_op_DeletePredefinedAttribute.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeletePredefinedAttributeMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePredefinedAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeletePrompt.go b/service/connect/api_op_DeletePrompt.go index f7e101e6f8f..954ac049acc 100644 --- a/service/connect/api_op_DeletePrompt.go +++ b/service/connect/api_op_DeletePrompt.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeletePromptMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePromptValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeletePushNotificationRegistration.go b/service/connect/api_op_DeletePushNotificationRegistration.go index bf1ecc96b21..417b697df58 100644 --- a/service/connect/api_op_DeletePushNotificationRegistration.go +++ b/service/connect/api_op_DeletePushNotificationRegistration.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeletePushNotificationRegistrationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePushNotificationRegistrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteQueue.go b/service/connect/api_op_DeleteQueue.go index 598c02e7eff..401ca37984d 100644 --- a/service/connect/api_op_DeleteQueue.go +++ b/service/connect/api_op_DeleteQueue.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteQueueMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteQueueValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteQuickConnect.go b/service/connect/api_op_DeleteQuickConnect.go index 82a89db3291..30382dd85e7 100644 --- a/service/connect/api_op_DeleteQuickConnect.go +++ b/service/connect/api_op_DeleteQuickConnect.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteQuickConnectMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteQuickConnectValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteRoutingProfile.go b/service/connect/api_op_DeleteRoutingProfile.go index 5a44c1f3ea7..5649e8ceb9c 100644 --- a/service/connect/api_op_DeleteRoutingProfile.go +++ b/service/connect/api_op_DeleteRoutingProfile.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteRoutingProfileMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRoutingProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteRule.go b/service/connect/api_op_DeleteRule.go index feb5df414f5..b647733c485 100644 --- a/service/connect/api_op_DeleteRule.go +++ b/service/connect/api_op_DeleteRule.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteRuleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteSecurityProfile.go b/service/connect/api_op_DeleteSecurityProfile.go index f0bafd53eeb..513032758e4 100644 --- a/service/connect/api_op_DeleteSecurityProfile.go +++ b/service/connect/api_op_DeleteSecurityProfile.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteSecurityProfileMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSecurityProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteTaskTemplate.go b/service/connect/api_op_DeleteTaskTemplate.go index 309544bb075..5e6ac89dd32 100644 --- a/service/connect/api_op_DeleteTaskTemplate.go +++ b/service/connect/api_op_DeleteTaskTemplate.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteTaskTemplateMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTaskTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteTrafficDistributionGroup.go b/service/connect/api_op_DeleteTrafficDistributionGroup.go index d934920e787..e82ff536577 100644 --- a/service/connect/api_op_DeleteTrafficDistributionGroup.go +++ b/service/connect/api_op_DeleteTrafficDistributionGroup.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteTrafficDistributionGroupMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTrafficDistributionGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteUseCase.go b/service/connect/api_op_DeleteUseCase.go index 265c5ea7a16..b47d39a7c54 100644 --- a/service/connect/api_op_DeleteUseCase.go +++ b/service/connect/api_op_DeleteUseCase.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteUseCaseMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUseCaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteUser.go b/service/connect/api_op_DeleteUser.go index 416ab17265f..9f8490747cb 100644 --- a/service/connect/api_op_DeleteUser.go +++ b/service/connect/api_op_DeleteUser.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDeleteUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteUserHierarchyGroup.go b/service/connect/api_op_DeleteUserHierarchyGroup.go index af93586835e..108ae37ffb5 100644 --- a/service/connect/api_op_DeleteUserHierarchyGroup.go +++ b/service/connect/api_op_DeleteUserHierarchyGroup.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteUserHierarchyGroupMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUserHierarchyGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteView.go b/service/connect/api_op_DeleteView.go index ce1801d39fe..e53669be86f 100644 --- a/service/connect/api_op_DeleteView.go +++ b/service/connect/api_op_DeleteView.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteViewMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteViewValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteViewVersion.go b/service/connect/api_op_DeleteViewVersion.go index a4c44135daa..0d3dc22348a 100644 --- a/service/connect/api_op_DeleteViewVersion.go +++ b/service/connect/api_op_DeleteViewVersion.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteViewVersionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteViewVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DeleteVocabulary.go b/service/connect/api_op_DeleteVocabulary.go index 21d3ec95a4f..fc4f3b9555d 100644 --- a/service/connect/api_op_DeleteVocabulary.go +++ b/service/connect/api_op_DeleteVocabulary.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDeleteVocabularyMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVocabularyValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeAgentStatus.go b/service/connect/api_op_DescribeAgentStatus.go index 6a67607739f..768894d2836 100644 --- a/service/connect/api_op_DescribeAgentStatus.go +++ b/service/connect/api_op_DescribeAgentStatus.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeAgentStatusMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAgentStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeAuthenticationProfile.go b/service/connect/api_op_DescribeAuthenticationProfile.go index 5f94156704f..66fad550765 100644 --- a/service/connect/api_op_DescribeAuthenticationProfile.go +++ b/service/connect/api_op_DescribeAuthenticationProfile.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeAuthenticationProfileMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAuthenticationProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeContact.go b/service/connect/api_op_DescribeContact.go index 0df6a3119d3..66ff2dbb2cb 100644 --- a/service/connect/api_op_DescribeContact.go +++ b/service/connect/api_op_DescribeContact.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDescribeContactMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeContactValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeContactEvaluation.go b/service/connect/api_op_DescribeContactEvaluation.go index c62ad3aa8d5..8185dc5a520 100644 --- a/service/connect/api_op_DescribeContactEvaluation.go +++ b/service/connect/api_op_DescribeContactEvaluation.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeContactEvaluationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeContactEvaluationValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeContactFlow.go b/service/connect/api_op_DescribeContactFlow.go index fd4489b1076..efe877f5d0e 100644 --- a/service/connect/api_op_DescribeContactFlow.go +++ b/service/connect/api_op_DescribeContactFlow.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeContactFlowMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeContactFlowValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeContactFlowModule.go b/service/connect/api_op_DescribeContactFlowModule.go index 0bee468a852..f4ca6c0daf2 100644 --- a/service/connect/api_op_DescribeContactFlowModule.go +++ b/service/connect/api_op_DescribeContactFlowModule.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeContactFlowModuleMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeContactFlowModuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeEmailAddress.go b/service/connect/api_op_DescribeEmailAddress.go index 655627d1fd4..3cba57163ed 100644 --- a/service/connect/api_op_DescribeEmailAddress.go +++ b/service/connect/api_op_DescribeEmailAddress.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeEmailAddressMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEmailAddressValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeEvaluationForm.go b/service/connect/api_op_DescribeEvaluationForm.go index ca90c6e550e..51ac8c2612f 100644 --- a/service/connect/api_op_DescribeEvaluationForm.go +++ b/service/connect/api_op_DescribeEvaluationForm.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeEvaluationFormMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEvaluationFormValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeHoursOfOperation.go b/service/connect/api_op_DescribeHoursOfOperation.go index d567e855019..ba213f8e014 100644 --- a/service/connect/api_op_DescribeHoursOfOperation.go +++ b/service/connect/api_op_DescribeHoursOfOperation.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeHoursOfOperationMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeHoursOfOperationValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeHoursOfOperationOverride.go b/service/connect/api_op_DescribeHoursOfOperationOverride.go index bc3805d4b15..910758694a0 100644 --- a/service/connect/api_op_DescribeHoursOfOperationOverride.go +++ b/service/connect/api_op_DescribeHoursOfOperationOverride.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeHoursOfOperationOverrideMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeHoursOfOperationOverrideValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeInstance.go b/service/connect/api_op_DescribeInstance.go index 0efb830b70e..95ee5404281 100644 --- a/service/connect/api_op_DescribeInstance.go +++ b/service/connect/api_op_DescribeInstance.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeInstanceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeInstanceAttribute.go b/service/connect/api_op_DescribeInstanceAttribute.go index 1b0bcf025bc..a5fc8304fcf 100644 --- a/service/connect/api_op_DescribeInstanceAttribute.go +++ b/service/connect/api_op_DescribeInstanceAttribute.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeInstanceAttributeMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeInstanceAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeInstanceStorageConfig.go b/service/connect/api_op_DescribeInstanceStorageConfig.go index a5aa789cf4c..bab98092650 100644 --- a/service/connect/api_op_DescribeInstanceStorageConfig.go +++ b/service/connect/api_op_DescribeInstanceStorageConfig.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeInstanceStorageConfigMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeInstanceStorageConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribePhoneNumber.go b/service/connect/api_op_DescribePhoneNumber.go index 96dee375b35..a59f9b20e8e 100644 --- a/service/connect/api_op_DescribePhoneNumber.go +++ b/service/connect/api_op_DescribePhoneNumber.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribePhoneNumberMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePhoneNumberValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribePredefinedAttribute.go b/service/connect/api_op_DescribePredefinedAttribute.go index ccd7067638b..fbfabf4567e 100644 --- a/service/connect/api_op_DescribePredefinedAttribute.go +++ b/service/connect/api_op_DescribePredefinedAttribute.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribePredefinedAttributeMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePredefinedAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribePrompt.go b/service/connect/api_op_DescribePrompt.go index ebc87f13990..19754fcf06a 100644 --- a/service/connect/api_op_DescribePrompt.go +++ b/service/connect/api_op_DescribePrompt.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDescribePromptMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePromptValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeQueue.go b/service/connect/api_op_DescribeQueue.go index 6e2cfb4c80f..aa7b760a6ed 100644 --- a/service/connect/api_op_DescribeQueue.go +++ b/service/connect/api_op_DescribeQueue.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeQueueMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeQueueValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeQuickConnect.go b/service/connect/api_op_DescribeQuickConnect.go index 6024484e252..c5c91e3be8a 100644 --- a/service/connect/api_op_DescribeQuickConnect.go +++ b/service/connect/api_op_DescribeQuickConnect.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDescribeQuickConnectMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeQuickConnectValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeRoutingProfile.go b/service/connect/api_op_DescribeRoutingProfile.go index db41efc4db0..0cd1c7d194c 100644 --- a/service/connect/api_op_DescribeRoutingProfile.go +++ b/service/connect/api_op_DescribeRoutingProfile.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDescribeRoutingProfileMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRoutingProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeRule.go b/service/connect/api_op_DescribeRule.go index fc38cfb2eb9..d28b7aa9ed9 100644 --- a/service/connect/api_op_DescribeRule.go +++ b/service/connect/api_op_DescribeRule.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeRuleMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeSecurityProfile.go b/service/connect/api_op_DescribeSecurityProfile.go index c33f3ddcb7f..44eec5e4ac6 100644 --- a/service/connect/api_op_DescribeSecurityProfile.go +++ b/service/connect/api_op_DescribeSecurityProfile.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeSecurityProfileMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSecurityProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeTrafficDistributionGroup.go b/service/connect/api_op_DescribeTrafficDistributionGroup.go index ea3abfb959a..575b09c39d1 100644 --- a/service/connect/api_op_DescribeTrafficDistributionGroup.go +++ b/service/connect/api_op_DescribeTrafficDistributionGroup.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribeTrafficDistributionGroupMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTrafficDistributionGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeUser.go b/service/connect/api_op_DescribeUser.go index ba29b92e36b..8e76bc07c23 100644 --- a/service/connect/api_op_DescribeUser.go +++ b/service/connect/api_op_DescribeUser.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeUserMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeUserHierarchyGroup.go b/service/connect/api_op_DescribeUserHierarchyGroup.go index d901f2d9a85..bd1a43d2fad 100644 --- a/service/connect/api_op_DescribeUserHierarchyGroup.go +++ b/service/connect/api_op_DescribeUserHierarchyGroup.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDescribeUserHierarchyGroupMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeUserHierarchyGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeUserHierarchyStructure.go b/service/connect/api_op_DescribeUserHierarchyStructure.go index f6edbb58f1c..4dfaff34162 100644 --- a/service/connect/api_op_DescribeUserHierarchyStructure.go +++ b/service/connect/api_op_DescribeUserHierarchyStructure.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDescribeUserHierarchyStructureMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeUserHierarchyStructureValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeView.go b/service/connect/api_op_DescribeView.go index 94922f6eb51..7d84be957be 100644 --- a/service/connect/api_op_DescribeView.go +++ b/service/connect/api_op_DescribeView.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeViewMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeViewValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DescribeVocabulary.go b/service/connect/api_op_DescribeVocabulary.go index caf9f9999aa..7d6c67bbf28 100644 --- a/service/connect/api_op_DescribeVocabulary.go +++ b/service/connect/api_op_DescribeVocabulary.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeVocabularyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeVocabularyValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DisassociateAnalyticsDataSet.go b/service/connect/api_op_DisassociateAnalyticsDataSet.go index ee4259e36db..6168072dfab 100644 --- a/service/connect/api_op_DisassociateAnalyticsDataSet.go +++ b/service/connect/api_op_DisassociateAnalyticsDataSet.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDisassociateAnalyticsDataSetMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateAnalyticsDataSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DisassociateApprovedOrigin.go b/service/connect/api_op_DisassociateApprovedOrigin.go index a6ea3f13e71..d10fde3beb3 100644 --- a/service/connect/api_op_DisassociateApprovedOrigin.go +++ b/service/connect/api_op_DisassociateApprovedOrigin.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDisassociateApprovedOriginMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDisassociateApprovedOriginMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_DisassociateBot.go b/service/connect/api_op_DisassociateBot.go index c63781940fd..d321b77e03a 100644 --- a/service/connect/api_op_DisassociateBot.go +++ b/service/connect/api_op_DisassociateBot.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDisassociateBotMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDisassociateBotMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_DisassociateFlow.go b/service/connect/api_op_DisassociateFlow.go index 6bb7a397fbb..2fc1a737ac5 100644 --- a/service/connect/api_op_DisassociateFlow.go +++ b/service/connect/api_op_DisassociateFlow.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDisassociateFlowMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateFlowValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DisassociateInstanceStorageConfig.go b/service/connect/api_op_DisassociateInstanceStorageConfig.go index 104b431c81b..9c318d2870d 100644 --- a/service/connect/api_op_DisassociateInstanceStorageConfig.go +++ b/service/connect/api_op_DisassociateInstanceStorageConfig.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDisassociateInstanceStorageConfigMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDisassociateInstanceStorageConfigMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_DisassociateLambdaFunction.go b/service/connect/api_op_DisassociateLambdaFunction.go index b806db9d067..b87f690c649 100644 --- a/service/connect/api_op_DisassociateLambdaFunction.go +++ b/service/connect/api_op_DisassociateLambdaFunction.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDisassociateLambdaFunctionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDisassociateLambdaFunctionMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_DisassociateLexBot.go b/service/connect/api_op_DisassociateLexBot.go index dcca7cf84a3..ff81f1a5f44 100644 --- a/service/connect/api_op_DisassociateLexBot.go +++ b/service/connect/api_op_DisassociateLexBot.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDisassociateLexBotMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDisassociateLexBotMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_DisassociatePhoneNumberContactFlow.go b/service/connect/api_op_DisassociatePhoneNumberContactFlow.go index d050ae2accc..b2527fe8868 100644 --- a/service/connect/api_op_DisassociatePhoneNumberContactFlow.go +++ b/service/connect/api_op_DisassociatePhoneNumberContactFlow.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDisassociatePhoneNumberContactFlowMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociatePhoneNumberContactFlowValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DisassociateQueueQuickConnects.go b/service/connect/api_op_DisassociateQueueQuickConnects.go index 24107982d59..25fa74528e4 100644 --- a/service/connect/api_op_DisassociateQueueQuickConnects.go +++ b/service/connect/api_op_DisassociateQueueQuickConnects.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDisassociateQueueQuickConnectsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateQueueQuickConnectsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DisassociateRoutingProfileQueues.go b/service/connect/api_op_DisassociateRoutingProfileQueues.go index 8e98b3f3b26..68b832448f0 100644 --- a/service/connect/api_op_DisassociateRoutingProfileQueues.go +++ b/service/connect/api_op_DisassociateRoutingProfileQueues.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDisassociateRoutingProfileQueuesMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateRoutingProfileQueuesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DisassociateSecurityKey.go b/service/connect/api_op_DisassociateSecurityKey.go index 74855592f87..80eb5539808 100644 --- a/service/connect/api_op_DisassociateSecurityKey.go +++ b/service/connect/api_op_DisassociateSecurityKey.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDisassociateSecurityKeyMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDisassociateSecurityKeyMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_DisassociateTrafficDistributionGroupUser.go b/service/connect/api_op_DisassociateTrafficDistributionGroupUser.go index 62f5899384b..a9b96e5e068 100644 --- a/service/connect/api_op_DisassociateTrafficDistributionGroupUser.go +++ b/service/connect/api_op_DisassociateTrafficDistributionGroupUser.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDisassociateTrafficDistributionGroupUserMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateTrafficDistributionGroupUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DisassociateUserProficiencies.go b/service/connect/api_op_DisassociateUserProficiencies.go index 757d1fc3b09..b6069c38785 100644 --- a/service/connect/api_op_DisassociateUserProficiencies.go +++ b/service/connect/api_op_DisassociateUserProficiencies.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDisassociateUserProficienciesMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateUserProficienciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_DismissUserContact.go b/service/connect/api_op_DismissUserContact.go index 3e649f0eace..97a0f7de6a0 100644 --- a/service/connect/api_op_DismissUserContact.go +++ b/service/connect/api_op_DismissUserContact.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDismissUserContactMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDismissUserContactValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_GetAttachedFile.go b/service/connect/api_op_GetAttachedFile.go index 31fc306bbc5..9d80000496b 100644 --- a/service/connect/api_op_GetAttachedFile.go +++ b/service/connect/api_op_GetAttachedFile.go @@ -174,9 +174,6 @@ func (c *Client) addOperationGetAttachedFileMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAttachedFileValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_GetContactAttributes.go b/service/connect/api_op_GetContactAttributes.go index 4d5d60e0a52..adefae6364c 100644 --- a/service/connect/api_op_GetContactAttributes.go +++ b/service/connect/api_op_GetContactAttributes.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetContactAttributesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetContactAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_GetCurrentMetricData.go b/service/connect/api_op_GetCurrentMetricData.go index 80c3986478d..58aff8f3dc1 100644 --- a/service/connect/api_op_GetCurrentMetricData.go +++ b/service/connect/api_op_GetCurrentMetricData.go @@ -285,9 +285,6 @@ func (c *Client) addOperationGetCurrentMetricDataMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCurrentMetricDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_GetCurrentUserData.go b/service/connect/api_op_GetCurrentUserData.go index 7b07d3126e4..5130f1af00d 100644 --- a/service/connect/api_op_GetCurrentUserData.go +++ b/service/connect/api_op_GetCurrentUserData.go @@ -151,9 +151,6 @@ func (c *Client) addOperationGetCurrentUserDataMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCurrentUserDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_GetEffectiveHoursOfOperations.go b/service/connect/api_op_GetEffectiveHoursOfOperations.go index 8da1aa2765e..a8778c592ef 100644 --- a/service/connect/api_op_GetEffectiveHoursOfOperations.go +++ b/service/connect/api_op_GetEffectiveHoursOfOperations.go @@ -130,9 +130,6 @@ func (c *Client) addOperationGetEffectiveHoursOfOperationsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEffectiveHoursOfOperationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_GetFederationToken.go b/service/connect/api_op_GetFederationToken.go index da6d9b26a78..2c33d080810 100644 --- a/service/connect/api_op_GetFederationToken.go +++ b/service/connect/api_op_GetFederationToken.go @@ -136,9 +136,6 @@ func (c *Client) addOperationGetFederationTokenMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFederationTokenValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_GetFlowAssociation.go b/service/connect/api_op_GetFlowAssociation.go index 34fcb6b1d86..5ee6db7ff8e 100644 --- a/service/connect/api_op_GetFlowAssociation.go +++ b/service/connect/api_op_GetFlowAssociation.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGetFlowAssociationMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFlowAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_GetMetricData.go b/service/connect/api_op_GetMetricData.go index 3dfe1d7eab9..9926df01090 100644 --- a/service/connect/api_op_GetMetricData.go +++ b/service/connect/api_op_GetMetricData.go @@ -306,9 +306,6 @@ func (c *Client) addOperationGetMetricDataMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMetricDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_GetMetricDataV2.go b/service/connect/api_op_GetMetricDataV2.go index 43af369ac47..7a1f2f07840 100644 --- a/service/connect/api_op_GetMetricDataV2.go +++ b/service/connect/api_op_GetMetricDataV2.go @@ -1344,9 +1344,6 @@ func (c *Client) addOperationGetMetricDataV2Middlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMetricDataV2ValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_GetPromptFile.go b/service/connect/api_op_GetPromptFile.go index f6996633971..e8ac3421b03 100644 --- a/service/connect/api_op_GetPromptFile.go +++ b/service/connect/api_op_GetPromptFile.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetPromptFileMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPromptFileValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_GetTaskTemplate.go b/service/connect/api_op_GetTaskTemplate.go index 8d99720ead7..48611d94b39 100644 --- a/service/connect/api_op_GetTaskTemplate.go +++ b/service/connect/api_op_GetTaskTemplate.go @@ -180,9 +180,6 @@ func (c *Client) addOperationGetTaskTemplateMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTaskTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_GetTrafficDistribution.go b/service/connect/api_op_GetTrafficDistribution.go index 23b6cd3807a..345e40a2058 100644 --- a/service/connect/api_op_GetTrafficDistribution.go +++ b/service/connect/api_op_GetTrafficDistribution.go @@ -130,9 +130,6 @@ func (c *Client) addOperationGetTrafficDistributionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTrafficDistributionValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ImportPhoneNumber.go b/service/connect/api_op_ImportPhoneNumber.go index b7e665d0033..b94e5efcd18 100644 --- a/service/connect/api_op_ImportPhoneNumber.go +++ b/service/connect/api_op_ImportPhoneNumber.go @@ -164,9 +164,6 @@ func (c *Client) addOperationImportPhoneNumberMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opImportPhoneNumberMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_ListAgentStatuses.go b/service/connect/api_op_ListAgentStatuses.go index bcd7c7f8149..b7eb1d71d78 100644 --- a/service/connect/api_op_ListAgentStatuses.go +++ b/service/connect/api_op_ListAgentStatuses.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListAgentStatusesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAgentStatusesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListAnalyticsDataAssociations.go b/service/connect/api_op_ListAnalyticsDataAssociations.go index 36a6698f810..1b95711a4a8 100644 --- a/service/connect/api_op_ListAnalyticsDataAssociations.go +++ b/service/connect/api_op_ListAnalyticsDataAssociations.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListAnalyticsDataAssociationsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAnalyticsDataAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListAnalyticsDataLakeDataSets.go b/service/connect/api_op_ListAnalyticsDataLakeDataSets.go index 93cdd12f165..b4076b8c1a5 100644 --- a/service/connect/api_op_ListAnalyticsDataLakeDataSets.go +++ b/service/connect/api_op_ListAnalyticsDataLakeDataSets.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListAnalyticsDataLakeDataSetsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAnalyticsDataLakeDataSetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListApprovedOrigins.go b/service/connect/api_op_ListApprovedOrigins.go index f3555923969..8aeda1ea84f 100644 --- a/service/connect/api_op_ListApprovedOrigins.go +++ b/service/connect/api_op_ListApprovedOrigins.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListApprovedOriginsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListApprovedOriginsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListAssociatedContacts.go b/service/connect/api_op_ListAssociatedContacts.go index e60e20ae676..c6f481f23e0 100644 --- a/service/connect/api_op_ListAssociatedContacts.go +++ b/service/connect/api_op_ListAssociatedContacts.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListAssociatedContactsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAssociatedContactsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListAuthenticationProfiles.go b/service/connect/api_op_ListAuthenticationProfiles.go index d212182e6ba..47580a64091 100644 --- a/service/connect/api_op_ListAuthenticationProfiles.go +++ b/service/connect/api_op_ListAuthenticationProfiles.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListAuthenticationProfilesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAuthenticationProfilesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListBots.go b/service/connect/api_op_ListBots.go index 3e788e5446e..0e3318541fc 100644 --- a/service/connect/api_op_ListBots.go +++ b/service/connect/api_op_ListBots.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListBotsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBotsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListContactEvaluations.go b/service/connect/api_op_ListContactEvaluations.go index d4160bdb71e..5e13c4b7c95 100644 --- a/service/connect/api_op_ListContactEvaluations.go +++ b/service/connect/api_op_ListContactEvaluations.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListContactEvaluationsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListContactEvaluationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListContactFlowModules.go b/service/connect/api_op_ListContactFlowModules.go index 8c1c1174b35..a534cc27791 100644 --- a/service/connect/api_op_ListContactFlowModules.go +++ b/service/connect/api_op_ListContactFlowModules.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListContactFlowModulesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListContactFlowModulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListContactFlowVersions.go b/service/connect/api_op_ListContactFlowVersions.go index 252781e91b8..c7df66e15cc 100644 --- a/service/connect/api_op_ListContactFlowVersions.go +++ b/service/connect/api_op_ListContactFlowVersions.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListContactFlowVersionsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListContactFlowVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListContactFlows.go b/service/connect/api_op_ListContactFlows.go index 278d2d631e2..e4fa4a4a97b 100644 --- a/service/connect/api_op_ListContactFlows.go +++ b/service/connect/api_op_ListContactFlows.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListContactFlowsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListContactFlowsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListContactReferences.go b/service/connect/api_op_ListContactReferences.go index c166c8b44a7..e9b1b6d4db7 100644 --- a/service/connect/api_op_ListContactReferences.go +++ b/service/connect/api_op_ListContactReferences.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListContactReferencesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListContactReferencesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListDefaultVocabularies.go b/service/connect/api_op_ListDefaultVocabularies.go index fb3c52f7395..70a76b9b97d 100644 --- a/service/connect/api_op_ListDefaultVocabularies.go +++ b/service/connect/api_op_ListDefaultVocabularies.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListDefaultVocabulariesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDefaultVocabulariesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListEvaluationFormVersions.go b/service/connect/api_op_ListEvaluationFormVersions.go index b4cd5b5e079..071c077b677 100644 --- a/service/connect/api_op_ListEvaluationFormVersions.go +++ b/service/connect/api_op_ListEvaluationFormVersions.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListEvaluationFormVersionsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEvaluationFormVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListEvaluationForms.go b/service/connect/api_op_ListEvaluationForms.go index 7dcd7d4ccd9..e790b6ec85c 100644 --- a/service/connect/api_op_ListEvaluationForms.go +++ b/service/connect/api_op_ListEvaluationForms.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListEvaluationFormsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEvaluationFormsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListFlowAssociations.go b/service/connect/api_op_ListFlowAssociations.go index 24cb757e723..d7060cc2b9e 100644 --- a/service/connect/api_op_ListFlowAssociations.go +++ b/service/connect/api_op_ListFlowAssociations.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListFlowAssociationsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFlowAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListHoursOfOperationOverrides.go b/service/connect/api_op_ListHoursOfOperationOverrides.go index 8701175a812..661114fff4b 100644 --- a/service/connect/api_op_ListHoursOfOperationOverrides.go +++ b/service/connect/api_op_ListHoursOfOperationOverrides.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListHoursOfOperationOverridesMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListHoursOfOperationOverridesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListHoursOfOperations.go b/service/connect/api_op_ListHoursOfOperations.go index 89c016a77ad..9e7744430e9 100644 --- a/service/connect/api_op_ListHoursOfOperations.go +++ b/service/connect/api_op_ListHoursOfOperations.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListHoursOfOperationsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListHoursOfOperationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListInstanceAttributes.go b/service/connect/api_op_ListInstanceAttributes.go index fc65bccab75..c168dc2e3af 100644 --- a/service/connect/api_op_ListInstanceAttributes.go +++ b/service/connect/api_op_ListInstanceAttributes.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListInstanceAttributesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListInstanceAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListInstanceStorageConfigs.go b/service/connect/api_op_ListInstanceStorageConfigs.go index 57a0193c63c..6b2a37d17e1 100644 --- a/service/connect/api_op_ListInstanceStorageConfigs.go +++ b/service/connect/api_op_ListInstanceStorageConfigs.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListInstanceStorageConfigsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListInstanceStorageConfigsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListInstances.go b/service/connect/api_op_ListInstances.go index 66421180d39..f38ae35230e 100644 --- a/service/connect/api_op_ListInstances.go +++ b/service/connect/api_op_ListInstances.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListInstancesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInstances(options.Region), middleware.Before); err != nil { return err } diff --git a/service/connect/api_op_ListIntegrationAssociations.go b/service/connect/api_op_ListIntegrationAssociations.go index df960459dac..12fd947dfa2 100644 --- a/service/connect/api_op_ListIntegrationAssociations.go +++ b/service/connect/api_op_ListIntegrationAssociations.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListIntegrationAssociationsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIntegrationAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListLambdaFunctions.go b/service/connect/api_op_ListLambdaFunctions.go index 054b5461045..cd4041df8a3 100644 --- a/service/connect/api_op_ListLambdaFunctions.go +++ b/service/connect/api_op_ListLambdaFunctions.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListLambdaFunctionsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListLambdaFunctionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListLexBots.go b/service/connect/api_op_ListLexBots.go index 1d0ca9d4f61..aa802b429b0 100644 --- a/service/connect/api_op_ListLexBots.go +++ b/service/connect/api_op_ListLexBots.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListLexBotsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListLexBotsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListPhoneNumbers.go b/service/connect/api_op_ListPhoneNumbers.go index 141720d910f..1d786f9d461 100644 --- a/service/connect/api_op_ListPhoneNumbers.go +++ b/service/connect/api_op_ListPhoneNumbers.go @@ -156,9 +156,6 @@ func (c *Client) addOperationListPhoneNumbersMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPhoneNumbersValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListPhoneNumbersV2.go b/service/connect/api_op_ListPhoneNumbersV2.go index 1442fea4580..68547c7a0b1 100644 --- a/service/connect/api_op_ListPhoneNumbersV2.go +++ b/service/connect/api_op_ListPhoneNumbersV2.go @@ -158,9 +158,6 @@ func (c *Client) addOperationListPhoneNumbersV2Middlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPhoneNumbersV2(options.Region), middleware.Before); err != nil { return err } diff --git a/service/connect/api_op_ListPredefinedAttributes.go b/service/connect/api_op_ListPredefinedAttributes.go index 64c7a34d598..a93f91877f7 100644 --- a/service/connect/api_op_ListPredefinedAttributes.go +++ b/service/connect/api_op_ListPredefinedAttributes.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListPredefinedAttributesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPredefinedAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListPrompts.go b/service/connect/api_op_ListPrompts.go index 7d7da2a93d2..262c11d4a2b 100644 --- a/service/connect/api_op_ListPrompts.go +++ b/service/connect/api_op_ListPrompts.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListPromptsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPromptsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListQueueQuickConnects.go b/service/connect/api_op_ListQueueQuickConnects.go index 7e137da4b16..a89ba3ad2b6 100644 --- a/service/connect/api_op_ListQueueQuickConnects.go +++ b/service/connect/api_op_ListQueueQuickConnects.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListQueueQuickConnectsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListQueueQuickConnectsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListQueues.go b/service/connect/api_op_ListQueues.go index b6d989fcf75..bc5b182da9d 100644 --- a/service/connect/api_op_ListQueues.go +++ b/service/connect/api_op_ListQueues.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListQueuesMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListQueuesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListQuickConnects.go b/service/connect/api_op_ListQuickConnects.go index cdf8274c7ed..7b8ff96f864 100644 --- a/service/connect/api_op_ListQuickConnects.go +++ b/service/connect/api_op_ListQuickConnects.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListQuickConnectsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListQuickConnectsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListRealtimeContactAnalysisSegmentsV2.go b/service/connect/api_op_ListRealtimeContactAnalysisSegmentsV2.go index 8a3d04aac48..c8df3899020 100644 --- a/service/connect/api_op_ListRealtimeContactAnalysisSegmentsV2.go +++ b/service/connect/api_op_ListRealtimeContactAnalysisSegmentsV2.go @@ -154,9 +154,6 @@ func (c *Client) addOperationListRealtimeContactAnalysisSegmentsV2Middlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRealtimeContactAnalysisSegmentsV2ValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListRoutingProfileQueues.go b/service/connect/api_op_ListRoutingProfileQueues.go index 9d90c65369c..da790f53d11 100644 --- a/service/connect/api_op_ListRoutingProfileQueues.go +++ b/service/connect/api_op_ListRoutingProfileQueues.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListRoutingProfileQueuesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRoutingProfileQueuesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListRoutingProfiles.go b/service/connect/api_op_ListRoutingProfiles.go index 42b6dd0d9b2..074702d669d 100644 --- a/service/connect/api_op_ListRoutingProfiles.go +++ b/service/connect/api_op_ListRoutingProfiles.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListRoutingProfilesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRoutingProfilesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListRules.go b/service/connect/api_op_ListRules.go index 03e558b579a..2b05e29c2fc 100644 --- a/service/connect/api_op_ListRules.go +++ b/service/connect/api_op_ListRules.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListRulesMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListSecurityKeys.go b/service/connect/api_op_ListSecurityKeys.go index 63737ebf9ad..657122ab655 100644 --- a/service/connect/api_op_ListSecurityKeys.go +++ b/service/connect/api_op_ListSecurityKeys.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListSecurityKeysMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSecurityKeysValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListSecurityProfileApplications.go b/service/connect/api_op_ListSecurityProfileApplications.go index 3094a3edcc6..bb9b16c845a 100644 --- a/service/connect/api_op_ListSecurityProfileApplications.go +++ b/service/connect/api_op_ListSecurityProfileApplications.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListSecurityProfileApplicationsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSecurityProfileApplicationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListSecurityProfilePermissions.go b/service/connect/api_op_ListSecurityProfilePermissions.go index b043b5b2e08..4f51bd3923a 100644 --- a/service/connect/api_op_ListSecurityProfilePermissions.go +++ b/service/connect/api_op_ListSecurityProfilePermissions.go @@ -146,9 +146,6 @@ func (c *Client) addOperationListSecurityProfilePermissionsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSecurityProfilePermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListSecurityProfiles.go b/service/connect/api_op_ListSecurityProfiles.go index 2effca10a76..a8f83bbe4de 100644 --- a/service/connect/api_op_ListSecurityProfiles.go +++ b/service/connect/api_op_ListSecurityProfiles.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListSecurityProfilesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSecurityProfilesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListTagsForResource.go b/service/connect/api_op_ListTagsForResource.go index aa552447624..88693aa4c9c 100644 --- a/service/connect/api_op_ListTagsForResource.go +++ b/service/connect/api_op_ListTagsForResource.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListTaskTemplates.go b/service/connect/api_op_ListTaskTemplates.go index d4e03f49550..5acc7d40ce8 100644 --- a/service/connect/api_op_ListTaskTemplates.go +++ b/service/connect/api_op_ListTaskTemplates.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListTaskTemplatesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTaskTemplatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListTrafficDistributionGroupUsers.go b/service/connect/api_op_ListTrafficDistributionGroupUsers.go index 92a6fb1b26a..d3cdd147d61 100644 --- a/service/connect/api_op_ListTrafficDistributionGroupUsers.go +++ b/service/connect/api_op_ListTrafficDistributionGroupUsers.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListTrafficDistributionGroupUsersMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTrafficDistributionGroupUsersValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListTrafficDistributionGroups.go b/service/connect/api_op_ListTrafficDistributionGroups.go index 2c0f91cbeca..0acb8e42ed5 100644 --- a/service/connect/api_op_ListTrafficDistributionGroups.go +++ b/service/connect/api_op_ListTrafficDistributionGroups.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListTrafficDistributionGroupsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTrafficDistributionGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/connect/api_op_ListUseCases.go b/service/connect/api_op_ListUseCases.go index 55f1fd606b1..51cd5fd2ca7 100644 --- a/service/connect/api_op_ListUseCases.go +++ b/service/connect/api_op_ListUseCases.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListUseCasesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListUseCasesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListUserHierarchyGroups.go b/service/connect/api_op_ListUserHierarchyGroups.go index f83d82bb052..612b0e4235c 100644 --- a/service/connect/api_op_ListUserHierarchyGroups.go +++ b/service/connect/api_op_ListUserHierarchyGroups.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListUserHierarchyGroupsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListUserHierarchyGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListUserProficiencies.go b/service/connect/api_op_ListUserProficiencies.go index efbd82b961e..273246ca49c 100644 --- a/service/connect/api_op_ListUserProficiencies.go +++ b/service/connect/api_op_ListUserProficiencies.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListUserProficienciesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListUserProficienciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListUsers.go b/service/connect/api_op_ListUsers.go index 34e2d979141..23b903237dc 100644 --- a/service/connect/api_op_ListUsers.go +++ b/service/connect/api_op_ListUsers.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListUsersMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListUsersValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListViewVersions.go b/service/connect/api_op_ListViewVersions.go index 8680fea9600..863667df15f 100644 --- a/service/connect/api_op_ListViewVersions.go +++ b/service/connect/api_op_ListViewVersions.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListViewVersionsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListViewVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ListViews.go b/service/connect/api_op_ListViews.go index 73ec9259ccd..75f498a71c3 100644 --- a/service/connect/api_op_ListViews.go +++ b/service/connect/api_op_ListViews.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListViewsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListViewsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_MonitorContact.go b/service/connect/api_op_MonitorContact.go index 862b22273ec..62735b82ef3 100644 --- a/service/connect/api_op_MonitorContact.go +++ b/service/connect/api_op_MonitorContact.go @@ -140,9 +140,6 @@ func (c *Client) addOperationMonitorContactMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opMonitorContactMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_PauseContact.go b/service/connect/api_op_PauseContact.go index cb54a166829..4d144ef9fed 100644 --- a/service/connect/api_op_PauseContact.go +++ b/service/connect/api_op_PauseContact.go @@ -116,9 +116,6 @@ func (c *Client) addOperationPauseContactMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPauseContactValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_PutUserStatus.go b/service/connect/api_op_PutUserStatus.go index 3edcd573d89..1dd503c1bae 100644 --- a/service/connect/api_op_PutUserStatus.go +++ b/service/connect/api_op_PutUserStatus.go @@ -126,9 +126,6 @@ func (c *Client) addOperationPutUserStatusMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutUserStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ReleasePhoneNumber.go b/service/connect/api_op_ReleasePhoneNumber.go index d481d73e573..434e5493850 100644 --- a/service/connect/api_op_ReleasePhoneNumber.go +++ b/service/connect/api_op_ReleasePhoneNumber.go @@ -141,9 +141,6 @@ func (c *Client) addOperationReleasePhoneNumberMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opReleasePhoneNumberMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_ReplicateInstance.go b/service/connect/api_op_ReplicateInstance.go index 204395867dc..fc8dae37d3f 100644 --- a/service/connect/api_op_ReplicateInstance.go +++ b/service/connect/api_op_ReplicateInstance.go @@ -143,9 +143,6 @@ func (c *Client) addOperationReplicateInstanceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opReplicateInstanceMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_ResumeContact.go b/service/connect/api_op_ResumeContact.go index 5597553a57c..3768d999132 100644 --- a/service/connect/api_op_ResumeContact.go +++ b/service/connect/api_op_ResumeContact.go @@ -116,9 +116,6 @@ func (c *Client) addOperationResumeContactMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResumeContactValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_ResumeContactRecording.go b/service/connect/api_op_ResumeContactRecording.go index 1ada954760b..d919844cede 100644 --- a/service/connect/api_op_ResumeContactRecording.go +++ b/service/connect/api_op_ResumeContactRecording.go @@ -130,9 +130,6 @@ func (c *Client) addOperationResumeContactRecordingMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResumeContactRecordingValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_SearchAgentStatuses.go b/service/connect/api_op_SearchAgentStatuses.go index d54a4d49c71..158950c0c8d 100644 --- a/service/connect/api_op_SearchAgentStatuses.go +++ b/service/connect/api_op_SearchAgentStatuses.go @@ -132,9 +132,6 @@ func (c *Client) addOperationSearchAgentStatusesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchAgentStatusesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_SearchAvailablePhoneNumbers.go b/service/connect/api_op_SearchAvailablePhoneNumbers.go index 9dd6415baec..0c96e487fa2 100644 --- a/service/connect/api_op_SearchAvailablePhoneNumbers.go +++ b/service/connect/api_op_SearchAvailablePhoneNumbers.go @@ -147,9 +147,6 @@ func (c *Client) addOperationSearchAvailablePhoneNumbersMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchAvailablePhoneNumbersValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_SearchContactFlowModules.go b/service/connect/api_op_SearchContactFlowModules.go index 27e3b74ddd0..5923e3fd57d 100644 --- a/service/connect/api_op_SearchContactFlowModules.go +++ b/service/connect/api_op_SearchContactFlowModules.go @@ -137,9 +137,6 @@ func (c *Client) addOperationSearchContactFlowModulesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchContactFlowModulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_SearchContactFlows.go b/service/connect/api_op_SearchContactFlows.go index 2133653c4ff..0f2f34942f4 100644 --- a/service/connect/api_op_SearchContactFlows.go +++ b/service/connect/api_op_SearchContactFlows.go @@ -136,9 +136,6 @@ func (c *Client) addOperationSearchContactFlowsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchContactFlowsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_SearchContacts.go b/service/connect/api_op_SearchContacts.go index f5e9fd9c364..2dd7cdc53d2 100644 --- a/service/connect/api_op_SearchContacts.go +++ b/service/connect/api_op_SearchContacts.go @@ -139,9 +139,6 @@ func (c *Client) addOperationSearchContactsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchContactsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_SearchEmailAddresses.go b/service/connect/api_op_SearchEmailAddresses.go index 315065af71f..85012777b72 100644 --- a/service/connect/api_op_SearchEmailAddresses.go +++ b/service/connect/api_op_SearchEmailAddresses.go @@ -134,9 +134,6 @@ func (c *Client) addOperationSearchEmailAddressesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchEmailAddressesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_SearchHoursOfOperationOverrides.go b/service/connect/api_op_SearchHoursOfOperationOverrides.go index fb4884584d4..d1354d361c2 100644 --- a/service/connect/api_op_SearchHoursOfOperationOverrides.go +++ b/service/connect/api_op_SearchHoursOfOperationOverrides.go @@ -135,9 +135,6 @@ func (c *Client) addOperationSearchHoursOfOperationOverridesMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchHoursOfOperationOverridesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_SearchHoursOfOperations.go b/service/connect/api_op_SearchHoursOfOperations.go index 727cad0cc01..70c0e6b7047 100644 --- a/service/connect/api_op_SearchHoursOfOperations.go +++ b/service/connect/api_op_SearchHoursOfOperations.go @@ -135,9 +135,6 @@ func (c *Client) addOperationSearchHoursOfOperationsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchHoursOfOperationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_SearchPredefinedAttributes.go b/service/connect/api_op_SearchPredefinedAttributes.go index 691ebb8bde8..11389091c9f 100644 --- a/service/connect/api_op_SearchPredefinedAttributes.go +++ b/service/connect/api_op_SearchPredefinedAttributes.go @@ -135,9 +135,6 @@ func (c *Client) addOperationSearchPredefinedAttributesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchPredefinedAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_SearchPrompts.go b/service/connect/api_op_SearchPrompts.go index 06119b140ce..7a95d4d8faf 100644 --- a/service/connect/api_op_SearchPrompts.go +++ b/service/connect/api_op_SearchPrompts.go @@ -134,9 +134,6 @@ func (c *Client) addOperationSearchPromptsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchPromptsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_SearchQueues.go b/service/connect/api_op_SearchQueues.go index f0e0b38a82f..be40ace8270 100644 --- a/service/connect/api_op_SearchQueues.go +++ b/service/connect/api_op_SearchQueues.go @@ -138,9 +138,6 @@ func (c *Client) addOperationSearchQueuesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchQueuesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_SearchQuickConnects.go b/service/connect/api_op_SearchQuickConnects.go index a550b4f1fa7..81f764b761f 100644 --- a/service/connect/api_op_SearchQuickConnects.go +++ b/service/connect/api_op_SearchQuickConnects.go @@ -134,9 +134,6 @@ func (c *Client) addOperationSearchQuickConnectsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchQuickConnectsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_SearchResourceTags.go b/service/connect/api_op_SearchResourceTags.go index bc66d5381a2..8d094187ba6 100644 --- a/service/connect/api_op_SearchResourceTags.go +++ b/service/connect/api_op_SearchResourceTags.go @@ -153,9 +153,6 @@ func (c *Client) addOperationSearchResourceTagsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchResourceTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_SearchRoutingProfiles.go b/service/connect/api_op_SearchRoutingProfiles.go index 488eed08b2e..5b7a5462158 100644 --- a/service/connect/api_op_SearchRoutingProfiles.go +++ b/service/connect/api_op_SearchRoutingProfiles.go @@ -139,9 +139,6 @@ func (c *Client) addOperationSearchRoutingProfilesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchRoutingProfilesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_SearchSecurityProfiles.go b/service/connect/api_op_SearchSecurityProfiles.go index 9fffc9d189a..0c6ca2c7e9f 100644 --- a/service/connect/api_op_SearchSecurityProfiles.go +++ b/service/connect/api_op_SearchSecurityProfiles.go @@ -148,9 +148,6 @@ func (c *Client) addOperationSearchSecurityProfilesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchSecurityProfilesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_SearchUserHierarchyGroups.go b/service/connect/api_op_SearchUserHierarchyGroups.go index f6d36fb6cd2..15e4fadd239 100644 --- a/service/connect/api_op_SearchUserHierarchyGroups.go +++ b/service/connect/api_op_SearchUserHierarchyGroups.go @@ -137,9 +137,6 @@ func (c *Client) addOperationSearchUserHierarchyGroupsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchUserHierarchyGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_SearchUsers.go b/service/connect/api_op_SearchUsers.go index a40e54fc71d..3b1f1872758 100644 --- a/service/connect/api_op_SearchUsers.go +++ b/service/connect/api_op_SearchUsers.go @@ -140,9 +140,6 @@ func (c *Client) addOperationSearchUsersMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchUsersValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_SearchVocabularies.go b/service/connect/api_op_SearchVocabularies.go index b9ca091bba9..188ed9e2670 100644 --- a/service/connect/api_op_SearchVocabularies.go +++ b/service/connect/api_op_SearchVocabularies.go @@ -138,9 +138,6 @@ func (c *Client) addOperationSearchVocabulariesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchVocabulariesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_SendChatIntegrationEvent.go b/service/connect/api_op_SendChatIntegrationEvent.go index 452c7b07c5b..6ead4dcbb6e 100644 --- a/service/connect/api_op_SendChatIntegrationEvent.go +++ b/service/connect/api_op_SendChatIntegrationEvent.go @@ -156,9 +156,6 @@ func (c *Client) addOperationSendChatIntegrationEventMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendChatIntegrationEventValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_SendOutboundEmail.go b/service/connect/api_op_SendOutboundEmail.go index 19b30683c4a..8b54746354a 100644 --- a/service/connect/api_op_SendOutboundEmail.go +++ b/service/connect/api_op_SendOutboundEmail.go @@ -150,9 +150,6 @@ func (c *Client) addOperationSendOutboundEmailMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opSendOutboundEmailMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_StartAttachedFileUpload.go b/service/connect/api_op_StartAttachedFileUpload.go index a01553f5c2c..bfd53c2c481 100644 --- a/service/connect/api_op_StartAttachedFileUpload.go +++ b/service/connect/api_op_StartAttachedFileUpload.go @@ -181,9 +181,6 @@ func (c *Client) addOperationStartAttachedFileUploadMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartAttachedFileUploadMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_StartChatContact.go b/service/connect/api_op_StartChatContact.go index 5ed01624348..ca32a6de0f2 100644 --- a/service/connect/api_op_StartChatContact.go +++ b/service/connect/api_op_StartChatContact.go @@ -245,9 +245,6 @@ func (c *Client) addOperationStartChatContactMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartChatContactMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_StartContactEvaluation.go b/service/connect/api_op_StartContactEvaluation.go index ad8abebafbd..3bf09288491 100644 --- a/service/connect/api_op_StartContactEvaluation.go +++ b/service/connect/api_op_StartContactEvaluation.go @@ -145,9 +145,6 @@ func (c *Client) addOperationStartContactEvaluationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartContactEvaluationMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_StartContactRecording.go b/service/connect/api_op_StartContactRecording.go index 1abf1fb0015..159d3952829 100644 --- a/service/connect/api_op_StartContactRecording.go +++ b/service/connect/api_op_StartContactRecording.go @@ -147,9 +147,6 @@ func (c *Client) addOperationStartContactRecordingMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartContactRecordingValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_StartContactStreaming.go b/service/connect/api_op_StartContactStreaming.go index c32d1523555..5a1fa7da2f5 100644 --- a/service/connect/api_op_StartContactStreaming.go +++ b/service/connect/api_op_StartContactStreaming.go @@ -151,9 +151,6 @@ func (c *Client) addOperationStartContactStreamingMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartContactStreamingMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_StartEmailContact.go b/service/connect/api_op_StartEmailContact.go index af8f29776e3..2119a3d5102 100644 --- a/service/connect/api_op_StartEmailContact.go +++ b/service/connect/api_op_StartEmailContact.go @@ -196,9 +196,6 @@ func (c *Client) addOperationStartEmailContactMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartEmailContactMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_StartOutboundChatContact.go b/service/connect/api_op_StartOutboundChatContact.go index 583661306ba..a286d4ba917 100644 --- a/service/connect/api_op_StartOutboundChatContact.go +++ b/service/connect/api_op_StartOutboundChatContact.go @@ -217,9 +217,6 @@ func (c *Client) addOperationStartOutboundChatContactMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartOutboundChatContactMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_StartOutboundEmailContact.go b/service/connect/api_op_StartOutboundEmailContact.go index 4b10fce9d52..e6cfe843e77 100644 --- a/service/connect/api_op_StartOutboundEmailContact.go +++ b/service/connect/api_op_StartOutboundEmailContact.go @@ -144,9 +144,6 @@ func (c *Client) addOperationStartOutboundEmailContactMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartOutboundEmailContactMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_StartOutboundVoiceContact.go b/service/connect/api_op_StartOutboundVoiceContact.go index d662f6f85de..b8f1d2ec99e 100644 --- a/service/connect/api_op_StartOutboundVoiceContact.go +++ b/service/connect/api_op_StartOutboundVoiceContact.go @@ -210,9 +210,6 @@ func (c *Client) addOperationStartOutboundVoiceContactMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartOutboundVoiceContactMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_StartScreenSharing.go b/service/connect/api_op_StartScreenSharing.go index 1be9670f21a..51834263f0c 100644 --- a/service/connect/api_op_StartScreenSharing.go +++ b/service/connect/api_op_StartScreenSharing.go @@ -125,9 +125,6 @@ func (c *Client) addOperationStartScreenSharingMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartScreenSharingMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_StartTaskContact.go b/service/connect/api_op_StartTaskContact.go index b66a7dbe8ca..26cfa3c1ed6 100644 --- a/service/connect/api_op_StartTaskContact.go +++ b/service/connect/api_op_StartTaskContact.go @@ -247,9 +247,6 @@ func (c *Client) addOperationStartTaskContactMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartTaskContactMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_StartWebRTCContact.go b/service/connect/api_op_StartWebRTCContact.go index d2dad52b0eb..cc1a6ca12bf 100644 --- a/service/connect/api_op_StartWebRTCContact.go +++ b/service/connect/api_op_StartWebRTCContact.go @@ -183,9 +183,6 @@ func (c *Client) addOperationStartWebRTCContactMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartWebRTCContactMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_StopContact.go b/service/connect/api_op_StopContact.go index 5b5b2bb176e..9787f6ce0c3 100644 --- a/service/connect/api_op_StopContact.go +++ b/service/connect/api_op_StopContact.go @@ -134,9 +134,6 @@ func (c *Client) addOperationStopContactMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopContactValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_StopContactRecording.go b/service/connect/api_op_StopContactRecording.go index 7d8e5c7e892..e99814398c5 100644 --- a/service/connect/api_op_StopContactRecording.go +++ b/service/connect/api_op_StopContactRecording.go @@ -132,9 +132,6 @@ func (c *Client) addOperationStopContactRecordingMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopContactRecordingValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_StopContactStreaming.go b/service/connect/api_op_StopContactStreaming.go index 3e20515c8e7..7b205dc508e 100644 --- a/service/connect/api_op_StopContactStreaming.go +++ b/service/connect/api_op_StopContactStreaming.go @@ -125,9 +125,6 @@ func (c *Client) addOperationStopContactStreamingMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopContactStreamingValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_SubmitContactEvaluation.go b/service/connect/api_op_SubmitContactEvaluation.go index 0cef8cfc1da..f3431c810e0 100644 --- a/service/connect/api_op_SubmitContactEvaluation.go +++ b/service/connect/api_op_SubmitContactEvaluation.go @@ -140,9 +140,6 @@ func (c *Client) addOperationSubmitContactEvaluationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSubmitContactEvaluationValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_SuspendContactRecording.go b/service/connect/api_op_SuspendContactRecording.go index a5b29e2d946..f5c14091670 100644 --- a/service/connect/api_op_SuspendContactRecording.go +++ b/service/connect/api_op_SuspendContactRecording.go @@ -135,9 +135,6 @@ func (c *Client) addOperationSuspendContactRecordingMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSuspendContactRecordingValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_TagContact.go b/service/connect/api_op_TagContact.go index 1507c95ff3b..443d28fddea 100644 --- a/service/connect/api_op_TagContact.go +++ b/service/connect/api_op_TagContact.go @@ -126,9 +126,6 @@ func (c *Client) addOperationTagContactMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagContactValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_TagResource.go b/service/connect/api_op_TagResource.go index 4fcbb913346..03b0a1e9eae 100644 --- a/service/connect/api_op_TagResource.go +++ b/service/connect/api_op_TagResource.go @@ -123,9 +123,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_TransferContact.go b/service/connect/api_op_TransferContact.go index 42d79a80e8a..8b9acb7fa8d 100644 --- a/service/connect/api_op_TransferContact.go +++ b/service/connect/api_op_TransferContact.go @@ -157,9 +157,6 @@ func (c *Client) addOperationTransferContactMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opTransferContactMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_UntagContact.go b/service/connect/api_op_UntagContact.go index 2d8e2a937b1..c7fa3ec05b5 100644 --- a/service/connect/api_op_UntagContact.go +++ b/service/connect/api_op_UntagContact.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUntagContactMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagContactValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UntagResource.go b/service/connect/api_op_UntagResource.go index b1757c86cc1..0030a668b7e 100644 --- a/service/connect/api_op_UntagResource.go +++ b/service/connect/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateAgentStatus.go b/service/connect/api_op_UpdateAgentStatus.go index fa0a019f73a..f82ca3e39db 100644 --- a/service/connect/api_op_UpdateAgentStatus.go +++ b/service/connect/api_op_UpdateAgentStatus.go @@ -133,9 +133,6 @@ func (c *Client) addOperationUpdateAgentStatusMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAgentStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateAuthenticationProfile.go b/service/connect/api_op_UpdateAuthenticationProfile.go index 99f2f08adb0..6113a43f2d6 100644 --- a/service/connect/api_op_UpdateAuthenticationProfile.go +++ b/service/connect/api_op_UpdateAuthenticationProfile.go @@ -147,9 +147,6 @@ func (c *Client) addOperationUpdateAuthenticationProfileMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAuthenticationProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateContact.go b/service/connect/api_op_UpdateContact.go index ce75f51f1ec..384054fe332 100644 --- a/service/connect/api_op_UpdateContact.go +++ b/service/connect/api_op_UpdateContact.go @@ -176,9 +176,6 @@ func (c *Client) addOperationUpdateContactMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateContactValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateContactAttributes.go b/service/connect/api_op_UpdateContactAttributes.go index 897a2100698..a66327599f2 100644 --- a/service/connect/api_op_UpdateContactAttributes.go +++ b/service/connect/api_op_UpdateContactAttributes.go @@ -157,9 +157,6 @@ func (c *Client) addOperationUpdateContactAttributesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateContactAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateContactEvaluation.go b/service/connect/api_op_UpdateContactEvaluation.go index 1f99c32a670..cc4a5db8eae 100644 --- a/service/connect/api_op_UpdateContactEvaluation.go +++ b/service/connect/api_op_UpdateContactEvaluation.go @@ -137,9 +137,6 @@ func (c *Client) addOperationUpdateContactEvaluationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateContactEvaluationValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateContactFlowContent.go b/service/connect/api_op_UpdateContactFlowContent.go index 9e5ffb1a47b..84754f12a2c 100644 --- a/service/connect/api_op_UpdateContactFlowContent.go +++ b/service/connect/api_op_UpdateContactFlowContent.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUpdateContactFlowContentMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateContactFlowContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateContactFlowMetadata.go b/service/connect/api_op_UpdateContactFlowMetadata.go index 79b4fe2fd13..516d5227b28 100644 --- a/service/connect/api_op_UpdateContactFlowMetadata.go +++ b/service/connect/api_op_UpdateContactFlowMetadata.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateContactFlowMetadataMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateContactFlowMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateContactFlowModuleContent.go b/service/connect/api_op_UpdateContactFlowModuleContent.go index ac68a7bedc2..75ae7018b9f 100644 --- a/service/connect/api_op_UpdateContactFlowModuleContent.go +++ b/service/connect/api_op_UpdateContactFlowModuleContent.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateContactFlowModuleContentMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateContactFlowModuleContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateContactFlowModuleMetadata.go b/service/connect/api_op_UpdateContactFlowModuleMetadata.go index 3c74b7ac789..acf83f70dfe 100644 --- a/service/connect/api_op_UpdateContactFlowModuleMetadata.go +++ b/service/connect/api_op_UpdateContactFlowModuleMetadata.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateContactFlowModuleMetadataMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateContactFlowModuleMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateContactFlowName.go b/service/connect/api_op_UpdateContactFlowName.go index d1d0f3426b8..ea390d9b51a 100644 --- a/service/connect/api_op_UpdateContactFlowName.go +++ b/service/connect/api_op_UpdateContactFlowName.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateContactFlowNameMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateContactFlowNameValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateContactRoutingData.go b/service/connect/api_op_UpdateContactRoutingData.go index fe155bc472e..813021975ae 100644 --- a/service/connect/api_op_UpdateContactRoutingData.go +++ b/service/connect/api_op_UpdateContactRoutingData.go @@ -145,9 +145,6 @@ func (c *Client) addOperationUpdateContactRoutingDataMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateContactRoutingDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateContactSchedule.go b/service/connect/api_op_UpdateContactSchedule.go index afe9e2bb042..24afc12e4a7 100644 --- a/service/connect/api_op_UpdateContactSchedule.go +++ b/service/connect/api_op_UpdateContactSchedule.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateContactScheduleMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateContactScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateEmailAddressMetadata.go b/service/connect/api_op_UpdateEmailAddressMetadata.go index a05ee948338..9a2a67f7d1a 100644 --- a/service/connect/api_op_UpdateEmailAddressMetadata.go +++ b/service/connect/api_op_UpdateEmailAddressMetadata.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateEmailAddressMetadataMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEmailAddressMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateEvaluationForm.go b/service/connect/api_op_UpdateEvaluationForm.go index b0cda629e84..636395ae3b1 100644 --- a/service/connect/api_op_UpdateEvaluationForm.go +++ b/service/connect/api_op_UpdateEvaluationForm.go @@ -169,9 +169,6 @@ func (c *Client) addOperationUpdateEvaluationFormMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateEvaluationFormMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_UpdateHoursOfOperation.go b/service/connect/api_op_UpdateHoursOfOperation.go index 63f9a72b613..41fbf391514 100644 --- a/service/connect/api_op_UpdateHoursOfOperation.go +++ b/service/connect/api_op_UpdateHoursOfOperation.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateHoursOfOperationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateHoursOfOperationValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateHoursOfOperationOverride.go b/service/connect/api_op_UpdateHoursOfOperationOverride.go index 2aef62225fc..f5edd1e5b43 100644 --- a/service/connect/api_op_UpdateHoursOfOperationOverride.go +++ b/service/connect/api_op_UpdateHoursOfOperationOverride.go @@ -134,9 +134,6 @@ func (c *Client) addOperationUpdateHoursOfOperationOverrideMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateHoursOfOperationOverrideValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateInstanceAttribute.go b/service/connect/api_op_UpdateInstanceAttribute.go index 98fecc5736b..58a8634a8af 100644 --- a/service/connect/api_op_UpdateInstanceAttribute.go +++ b/service/connect/api_op_UpdateInstanceAttribute.go @@ -133,9 +133,6 @@ func (c *Client) addOperationUpdateInstanceAttributeMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateInstanceAttributeMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_UpdateInstanceStorageConfig.go b/service/connect/api_op_UpdateInstanceStorageConfig.go index 0c778195c6f..31a1442e854 100644 --- a/service/connect/api_op_UpdateInstanceStorageConfig.go +++ b/service/connect/api_op_UpdateInstanceStorageConfig.go @@ -136,9 +136,6 @@ func (c *Client) addOperationUpdateInstanceStorageConfigMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateInstanceStorageConfigMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_UpdateParticipantAuthentication.go b/service/connect/api_op_UpdateParticipantAuthentication.go index a9d2fb9eebe..7e2b004c6a8 100644 --- a/service/connect/api_op_UpdateParticipantAuthentication.go +++ b/service/connect/api_op_UpdateParticipantAuthentication.go @@ -139,9 +139,6 @@ func (c *Client) addOperationUpdateParticipantAuthenticationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateParticipantAuthenticationValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateParticipantRoleConfig.go b/service/connect/api_op_UpdateParticipantRoleConfig.go index 8bec2cd6f79..c4dbc675710 100644 --- a/service/connect/api_op_UpdateParticipantRoleConfig.go +++ b/service/connect/api_op_UpdateParticipantRoleConfig.go @@ -135,9 +135,6 @@ func (c *Client) addOperationUpdateParticipantRoleConfigMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateParticipantRoleConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdatePhoneNumber.go b/service/connect/api_op_UpdatePhoneNumber.go index fb9597505f6..d09613716ef 100644 --- a/service/connect/api_op_UpdatePhoneNumber.go +++ b/service/connect/api_op_UpdatePhoneNumber.go @@ -146,9 +146,6 @@ func (c *Client) addOperationUpdatePhoneNumberMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdatePhoneNumberMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_UpdatePhoneNumberMetadata.go b/service/connect/api_op_UpdatePhoneNumberMetadata.go index cc7b55260d8..18fc0a2ce1a 100644 --- a/service/connect/api_op_UpdatePhoneNumberMetadata.go +++ b/service/connect/api_op_UpdatePhoneNumberMetadata.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdatePhoneNumberMetadataMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdatePhoneNumberMetadataMiddleware(stack, options); err != nil { return err } diff --git a/service/connect/api_op_UpdatePredefinedAttribute.go b/service/connect/api_op_UpdatePredefinedAttribute.go index 4e2b44f9078..d1fd0556e23 100644 --- a/service/connect/api_op_UpdatePredefinedAttribute.go +++ b/service/connect/api_op_UpdatePredefinedAttribute.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdatePredefinedAttributeMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePredefinedAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdatePrompt.go b/service/connect/api_op_UpdatePrompt.go index fdd8112d0b1..bdfc3342a1c 100644 --- a/service/connect/api_op_UpdatePrompt.go +++ b/service/connect/api_op_UpdatePrompt.go @@ -134,9 +134,6 @@ func (c *Client) addOperationUpdatePromptMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePromptValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateQueueHoursOfOperation.go b/service/connect/api_op_UpdateQueueHoursOfOperation.go index ef8c7d99016..fc5e5d2b21b 100644 --- a/service/connect/api_op_UpdateQueueHoursOfOperation.go +++ b/service/connect/api_op_UpdateQueueHoursOfOperation.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateQueueHoursOfOperationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateQueueHoursOfOperationValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateQueueMaxContacts.go b/service/connect/api_op_UpdateQueueMaxContacts.go index 6d9e6622c73..73750d1153b 100644 --- a/service/connect/api_op_UpdateQueueMaxContacts.go +++ b/service/connect/api_op_UpdateQueueMaxContacts.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateQueueMaxContactsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateQueueMaxContactsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateQueueName.go b/service/connect/api_op_UpdateQueueName.go index 896c183b33e..deaab984118 100644 --- a/service/connect/api_op_UpdateQueueName.go +++ b/service/connect/api_op_UpdateQueueName.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateQueueNameMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateQueueNameValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateQueueOutboundCallerConfig.go b/service/connect/api_op_UpdateQueueOutboundCallerConfig.go index 10d3bc45e21..7d7ddc4ddcb 100644 --- a/service/connect/api_op_UpdateQueueOutboundCallerConfig.go +++ b/service/connect/api_op_UpdateQueueOutboundCallerConfig.go @@ -144,9 +144,6 @@ func (c *Client) addOperationUpdateQueueOutboundCallerConfigMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateQueueOutboundCallerConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateQueueOutboundEmailConfig.go b/service/connect/api_op_UpdateQueueOutboundEmailConfig.go index e9c0272835a..33d63074528 100644 --- a/service/connect/api_op_UpdateQueueOutboundEmailConfig.go +++ b/service/connect/api_op_UpdateQueueOutboundEmailConfig.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateQueueOutboundEmailConfigMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateQueueOutboundEmailConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateQueueStatus.go b/service/connect/api_op_UpdateQueueStatus.go index ac49d7a49a0..d278077bf88 100644 --- a/service/connect/api_op_UpdateQueueStatus.go +++ b/service/connect/api_op_UpdateQueueStatus.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateQueueStatusMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateQueueStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateQuickConnectConfig.go b/service/connect/api_op_UpdateQuickConnectConfig.go index 6e19d17dedc..179d0770df4 100644 --- a/service/connect/api_op_UpdateQuickConnectConfig.go +++ b/service/connect/api_op_UpdateQuickConnectConfig.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateQuickConnectConfigMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateQuickConnectConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateQuickConnectName.go b/service/connect/api_op_UpdateQuickConnectName.go index 0e614e22d52..8c342a90410 100644 --- a/service/connect/api_op_UpdateQuickConnectName.go +++ b/service/connect/api_op_UpdateQuickConnectName.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateQuickConnectNameMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateQuickConnectNameValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateRoutingProfileAgentAvailabilityTimer.go b/service/connect/api_op_UpdateRoutingProfileAgentAvailabilityTimer.go index e7542dd2af9..37fe9543b22 100644 --- a/service/connect/api_op_UpdateRoutingProfileAgentAvailabilityTimer.go +++ b/service/connect/api_op_UpdateRoutingProfileAgentAvailabilityTimer.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateRoutingProfileAgentAvailabilityTimerMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRoutingProfileAgentAvailabilityTimerValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateRoutingProfileConcurrency.go b/service/connect/api_op_UpdateRoutingProfileConcurrency.go index 2e42bbeadb9..7ce134c41da 100644 --- a/service/connect/api_op_UpdateRoutingProfileConcurrency.go +++ b/service/connect/api_op_UpdateRoutingProfileConcurrency.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateRoutingProfileConcurrencyMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRoutingProfileConcurrencyValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateRoutingProfileDefaultOutboundQueue.go b/service/connect/api_op_UpdateRoutingProfileDefaultOutboundQueue.go index 4455c63cf51..44b96f25cb4 100644 --- a/service/connect/api_op_UpdateRoutingProfileDefaultOutboundQueue.go +++ b/service/connect/api_op_UpdateRoutingProfileDefaultOutboundQueue.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdateRoutingProfileDefaultOutboundQueueMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRoutingProfileDefaultOutboundQueueValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateRoutingProfileName.go b/service/connect/api_op_UpdateRoutingProfileName.go index fd8ab519d0d..27462892f22 100644 --- a/service/connect/api_op_UpdateRoutingProfileName.go +++ b/service/connect/api_op_UpdateRoutingProfileName.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateRoutingProfileNameMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRoutingProfileNameValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateRoutingProfileQueues.go b/service/connect/api_op_UpdateRoutingProfileQueues.go index 760494022e8..c4c7a805584 100644 --- a/service/connect/api_op_UpdateRoutingProfileQueues.go +++ b/service/connect/api_op_UpdateRoutingProfileQueues.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateRoutingProfileQueuesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRoutingProfileQueuesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateRule.go b/service/connect/api_op_UpdateRule.go index 82359e7664f..d6022fd7b1d 100644 --- a/service/connect/api_op_UpdateRule.go +++ b/service/connect/api_op_UpdateRule.go @@ -142,9 +142,6 @@ func (c *Client) addOperationUpdateRuleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateSecurityProfile.go b/service/connect/api_op_UpdateSecurityProfile.go index 0ca969aa62f..88d7af3ec7d 100644 --- a/service/connect/api_op_UpdateSecurityProfile.go +++ b/service/connect/api_op_UpdateSecurityProfile.go @@ -151,9 +151,6 @@ func (c *Client) addOperationUpdateSecurityProfileMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSecurityProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateTaskTemplate.go b/service/connect/api_op_UpdateTaskTemplate.go index 0c20741e416..aa53549fb0d 100644 --- a/service/connect/api_op_UpdateTaskTemplate.go +++ b/service/connect/api_op_UpdateTaskTemplate.go @@ -196,9 +196,6 @@ func (c *Client) addOperationUpdateTaskTemplateMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTaskTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateTrafficDistribution.go b/service/connect/api_op_UpdateTrafficDistribution.go index 5987cd01acc..65d5b09d086 100644 --- a/service/connect/api_op_UpdateTrafficDistribution.go +++ b/service/connect/api_op_UpdateTrafficDistribution.go @@ -136,9 +136,6 @@ func (c *Client) addOperationUpdateTrafficDistributionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTrafficDistributionValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateUserHierarchy.go b/service/connect/api_op_UpdateUserHierarchy.go index d911fc402c0..1ab52685ab4 100644 --- a/service/connect/api_op_UpdateUserHierarchy.go +++ b/service/connect/api_op_UpdateUserHierarchy.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateUserHierarchyMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateUserHierarchyValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateUserHierarchyGroupName.go b/service/connect/api_op_UpdateUserHierarchyGroupName.go index 5738407b4e5..734bfd69b1c 100644 --- a/service/connect/api_op_UpdateUserHierarchyGroupName.go +++ b/service/connect/api_op_UpdateUserHierarchyGroupName.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdateUserHierarchyGroupNameMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateUserHierarchyGroupNameValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateUserHierarchyStructure.go b/service/connect/api_op_UpdateUserHierarchyStructure.go index cd5754d6c16..0ece8ed1e44 100644 --- a/service/connect/api_op_UpdateUserHierarchyStructure.go +++ b/service/connect/api_op_UpdateUserHierarchyStructure.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUpdateUserHierarchyStructureMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateUserHierarchyStructureValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateUserIdentityInfo.go b/service/connect/api_op_UpdateUserIdentityInfo.go index df17e4a8e7a..6ceed40fb16 100644 --- a/service/connect/api_op_UpdateUserIdentityInfo.go +++ b/service/connect/api_op_UpdateUserIdentityInfo.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateUserIdentityInfoMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateUserIdentityInfoValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateUserPhoneConfig.go b/service/connect/api_op_UpdateUserPhoneConfig.go index 03b10ecdf4a..f084c1424d2 100644 --- a/service/connect/api_op_UpdateUserPhoneConfig.go +++ b/service/connect/api_op_UpdateUserPhoneConfig.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateUserPhoneConfigMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateUserPhoneConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateUserProficiencies.go b/service/connect/api_op_UpdateUserProficiencies.go index f789c881c4f..63dfa6dca63 100644 --- a/service/connect/api_op_UpdateUserProficiencies.go +++ b/service/connect/api_op_UpdateUserProficiencies.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdateUserProficienciesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateUserProficienciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateUserRoutingProfile.go b/service/connect/api_op_UpdateUserRoutingProfile.go index a4f6b9f8008..8bc91d6165b 100644 --- a/service/connect/api_op_UpdateUserRoutingProfile.go +++ b/service/connect/api_op_UpdateUserRoutingProfile.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdateUserRoutingProfileMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateUserRoutingProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateUserSecurityProfiles.go b/service/connect/api_op_UpdateUserSecurityProfiles.go index bc6945ff991..731700f70af 100644 --- a/service/connect/api_op_UpdateUserSecurityProfiles.go +++ b/service/connect/api_op_UpdateUserSecurityProfiles.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdateUserSecurityProfilesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateUserSecurityProfilesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateViewContent.go b/service/connect/api_op_UpdateViewContent.go index edf2bc5d1c3..e4334cc27c1 100644 --- a/service/connect/api_op_UpdateViewContent.go +++ b/service/connect/api_op_UpdateViewContent.go @@ -140,9 +140,6 @@ func (c *Client) addOperationUpdateViewContentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateViewContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/api_op_UpdateViewMetadata.go b/service/connect/api_op_UpdateViewMetadata.go index 71227ade5ae..e9cea87d990 100644 --- a/service/connect/api_op_UpdateViewMetadata.go +++ b/service/connect/api_op_UpdateViewMetadata.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdateViewMetadataMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateViewMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/connect/snapshot/api_op_ActivateEvaluationForm.go.snap b/service/connect/snapshot/api_op_ActivateEvaluationForm.go.snap index 275ea757571..66ce08530b1 100644 --- a/service/connect/snapshot/api_op_ActivateEvaluationForm.go.snap +++ b/service/connect/snapshot/api_op_ActivateEvaluationForm.go.snap @@ -14,7 +14,6 @@ ActivateEvaluationForm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_AssociateAnalyticsDataSet.go.snap b/service/connect/snapshot/api_op_AssociateAnalyticsDataSet.go.snap index a4b258057d9..deb6fa9eecd 100644 --- a/service/connect/snapshot/api_op_AssociateAnalyticsDataSet.go.snap +++ b/service/connect/snapshot/api_op_AssociateAnalyticsDataSet.go.snap @@ -14,7 +14,6 @@ AssociateAnalyticsDataSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_AssociateApprovedOrigin.go.snap b/service/connect/snapshot/api_op_AssociateApprovedOrigin.go.snap index 2fb5e12df67..4fd9b9fd1c4 100644 --- a/service/connect/snapshot/api_op_AssociateApprovedOrigin.go.snap +++ b/service/connect/snapshot/api_op_AssociateApprovedOrigin.go.snap @@ -15,7 +15,6 @@ AssociateApprovedOrigin Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_AssociateBot.go.snap b/service/connect/snapshot/api_op_AssociateBot.go.snap index 9dbe418ac29..0fc6a12edd8 100644 --- a/service/connect/snapshot/api_op_AssociateBot.go.snap +++ b/service/connect/snapshot/api_op_AssociateBot.go.snap @@ -15,7 +15,6 @@ AssociateBot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_AssociateDefaultVocabulary.go.snap b/service/connect/snapshot/api_op_AssociateDefaultVocabulary.go.snap index 0281ab86c19..aecf948d58e 100644 --- a/service/connect/snapshot/api_op_AssociateDefaultVocabulary.go.snap +++ b/service/connect/snapshot/api_op_AssociateDefaultVocabulary.go.snap @@ -14,7 +14,6 @@ AssociateDefaultVocabulary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_AssociateFlow.go.snap b/service/connect/snapshot/api_op_AssociateFlow.go.snap index d28a2a63fd1..6a58ad7239c 100644 --- a/service/connect/snapshot/api_op_AssociateFlow.go.snap +++ b/service/connect/snapshot/api_op_AssociateFlow.go.snap @@ -14,7 +14,6 @@ AssociateFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_AssociateInstanceStorageConfig.go.snap b/service/connect/snapshot/api_op_AssociateInstanceStorageConfig.go.snap index fcbe0b890ea..6dce5302575 100644 --- a/service/connect/snapshot/api_op_AssociateInstanceStorageConfig.go.snap +++ b/service/connect/snapshot/api_op_AssociateInstanceStorageConfig.go.snap @@ -15,7 +15,6 @@ AssociateInstanceStorageConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_AssociateLambdaFunction.go.snap b/service/connect/snapshot/api_op_AssociateLambdaFunction.go.snap index b628b92b33b..b7b9210a930 100644 --- a/service/connect/snapshot/api_op_AssociateLambdaFunction.go.snap +++ b/service/connect/snapshot/api_op_AssociateLambdaFunction.go.snap @@ -15,7 +15,6 @@ AssociateLambdaFunction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_AssociateLexBot.go.snap b/service/connect/snapshot/api_op_AssociateLexBot.go.snap index 178cf0d8cf6..cdd54a39984 100644 --- a/service/connect/snapshot/api_op_AssociateLexBot.go.snap +++ b/service/connect/snapshot/api_op_AssociateLexBot.go.snap @@ -15,7 +15,6 @@ AssociateLexBot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_AssociatePhoneNumberContactFlow.go.snap b/service/connect/snapshot/api_op_AssociatePhoneNumberContactFlow.go.snap index fc122172f88..afc3fcb7bde 100644 --- a/service/connect/snapshot/api_op_AssociatePhoneNumberContactFlow.go.snap +++ b/service/connect/snapshot/api_op_AssociatePhoneNumberContactFlow.go.snap @@ -14,7 +14,6 @@ AssociatePhoneNumberContactFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_AssociateQueueQuickConnects.go.snap b/service/connect/snapshot/api_op_AssociateQueueQuickConnects.go.snap index e3e627bb591..efcdafdfb92 100644 --- a/service/connect/snapshot/api_op_AssociateQueueQuickConnects.go.snap +++ b/service/connect/snapshot/api_op_AssociateQueueQuickConnects.go.snap @@ -14,7 +14,6 @@ AssociateQueueQuickConnects Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_AssociateRoutingProfileQueues.go.snap b/service/connect/snapshot/api_op_AssociateRoutingProfileQueues.go.snap index 3d31b8e9132..da9f6287190 100644 --- a/service/connect/snapshot/api_op_AssociateRoutingProfileQueues.go.snap +++ b/service/connect/snapshot/api_op_AssociateRoutingProfileQueues.go.snap @@ -14,7 +14,6 @@ AssociateRoutingProfileQueues Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_AssociateSecurityKey.go.snap b/service/connect/snapshot/api_op_AssociateSecurityKey.go.snap index 4e02326bbe9..fc31dfbb945 100644 --- a/service/connect/snapshot/api_op_AssociateSecurityKey.go.snap +++ b/service/connect/snapshot/api_op_AssociateSecurityKey.go.snap @@ -15,7 +15,6 @@ AssociateSecurityKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_AssociateTrafficDistributionGroupUser.go.snap b/service/connect/snapshot/api_op_AssociateTrafficDistributionGroupUser.go.snap index 61c4598d902..aedb4232ea7 100644 --- a/service/connect/snapshot/api_op_AssociateTrafficDistributionGroupUser.go.snap +++ b/service/connect/snapshot/api_op_AssociateTrafficDistributionGroupUser.go.snap @@ -14,7 +14,6 @@ AssociateTrafficDistributionGroupUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_AssociateUserProficiencies.go.snap b/service/connect/snapshot/api_op_AssociateUserProficiencies.go.snap index 31de31a05aa..427ce3a259c 100644 --- a/service/connect/snapshot/api_op_AssociateUserProficiencies.go.snap +++ b/service/connect/snapshot/api_op_AssociateUserProficiencies.go.snap @@ -14,7 +14,6 @@ AssociateUserProficiencies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_BatchAssociateAnalyticsDataSet.go.snap b/service/connect/snapshot/api_op_BatchAssociateAnalyticsDataSet.go.snap index 69088f8a418..45dc18c35fe 100644 --- a/service/connect/snapshot/api_op_BatchAssociateAnalyticsDataSet.go.snap +++ b/service/connect/snapshot/api_op_BatchAssociateAnalyticsDataSet.go.snap @@ -14,7 +14,6 @@ BatchAssociateAnalyticsDataSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_BatchDisassociateAnalyticsDataSet.go.snap b/service/connect/snapshot/api_op_BatchDisassociateAnalyticsDataSet.go.snap index 553c5240109..218802a9046 100644 --- a/service/connect/snapshot/api_op_BatchDisassociateAnalyticsDataSet.go.snap +++ b/service/connect/snapshot/api_op_BatchDisassociateAnalyticsDataSet.go.snap @@ -14,7 +14,6 @@ BatchDisassociateAnalyticsDataSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_BatchGetAttachedFileMetadata.go.snap b/service/connect/snapshot/api_op_BatchGetAttachedFileMetadata.go.snap index d5cd5e112e7..7975705c368 100644 --- a/service/connect/snapshot/api_op_BatchGetAttachedFileMetadata.go.snap +++ b/service/connect/snapshot/api_op_BatchGetAttachedFileMetadata.go.snap @@ -14,7 +14,6 @@ BatchGetAttachedFileMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_BatchGetFlowAssociation.go.snap b/service/connect/snapshot/api_op_BatchGetFlowAssociation.go.snap index 05995e1bb80..48390fb1ee3 100644 --- a/service/connect/snapshot/api_op_BatchGetFlowAssociation.go.snap +++ b/service/connect/snapshot/api_op_BatchGetFlowAssociation.go.snap @@ -14,7 +14,6 @@ BatchGetFlowAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_BatchPutContact.go.snap b/service/connect/snapshot/api_op_BatchPutContact.go.snap index c9bb786ef5b..cabd0e15f60 100644 --- a/service/connect/snapshot/api_op_BatchPutContact.go.snap +++ b/service/connect/snapshot/api_op_BatchPutContact.go.snap @@ -15,7 +15,6 @@ BatchPutContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ClaimPhoneNumber.go.snap b/service/connect/snapshot/api_op_ClaimPhoneNumber.go.snap index 697d9b79984..86c24626fd5 100644 --- a/service/connect/snapshot/api_op_ClaimPhoneNumber.go.snap +++ b/service/connect/snapshot/api_op_ClaimPhoneNumber.go.snap @@ -15,7 +15,6 @@ ClaimPhoneNumber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_CompleteAttachedFileUpload.go.snap b/service/connect/snapshot/api_op_CompleteAttachedFileUpload.go.snap index a5914d20de9..4146e237b39 100644 --- a/service/connect/snapshot/api_op_CompleteAttachedFileUpload.go.snap +++ b/service/connect/snapshot/api_op_CompleteAttachedFileUpload.go.snap @@ -14,7 +14,6 @@ CompleteAttachedFileUpload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_CreateAgentStatus.go.snap b/service/connect/snapshot/api_op_CreateAgentStatus.go.snap index 593b76aca06..5853e233fa4 100644 --- a/service/connect/snapshot/api_op_CreateAgentStatus.go.snap +++ b/service/connect/snapshot/api_op_CreateAgentStatus.go.snap @@ -14,7 +14,6 @@ CreateAgentStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_CreateContact.go.snap b/service/connect/snapshot/api_op_CreateContact.go.snap index 10328643766..64b1753dca0 100644 --- a/service/connect/snapshot/api_op_CreateContact.go.snap +++ b/service/connect/snapshot/api_op_CreateContact.go.snap @@ -15,7 +15,6 @@ CreateContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_CreateContactFlow.go.snap b/service/connect/snapshot/api_op_CreateContactFlow.go.snap index 7137b73c84a..3b1d48cb85b 100644 --- a/service/connect/snapshot/api_op_CreateContactFlow.go.snap +++ b/service/connect/snapshot/api_op_CreateContactFlow.go.snap @@ -14,7 +14,6 @@ CreateContactFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_CreateContactFlowModule.go.snap b/service/connect/snapshot/api_op_CreateContactFlowModule.go.snap index 6d70b627288..8c91df18cca 100644 --- a/service/connect/snapshot/api_op_CreateContactFlowModule.go.snap +++ b/service/connect/snapshot/api_op_CreateContactFlowModule.go.snap @@ -15,7 +15,6 @@ CreateContactFlowModule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_CreateContactFlowVersion.go.snap b/service/connect/snapshot/api_op_CreateContactFlowVersion.go.snap index 00dcccb863c..0ab1d2b8e97 100644 --- a/service/connect/snapshot/api_op_CreateContactFlowVersion.go.snap +++ b/service/connect/snapshot/api_op_CreateContactFlowVersion.go.snap @@ -14,7 +14,6 @@ CreateContactFlowVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_CreateEmailAddress.go.snap b/service/connect/snapshot/api_op_CreateEmailAddress.go.snap index 6bab92381da..ce2d5dfd9ab 100644 --- a/service/connect/snapshot/api_op_CreateEmailAddress.go.snap +++ b/service/connect/snapshot/api_op_CreateEmailAddress.go.snap @@ -14,7 +14,6 @@ CreateEmailAddress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_CreateEvaluationForm.go.snap b/service/connect/snapshot/api_op_CreateEvaluationForm.go.snap index eb0507e92d4..0e2dd8c83f2 100644 --- a/service/connect/snapshot/api_op_CreateEvaluationForm.go.snap +++ b/service/connect/snapshot/api_op_CreateEvaluationForm.go.snap @@ -15,7 +15,6 @@ CreateEvaluationForm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_CreateHoursOfOperation.go.snap b/service/connect/snapshot/api_op_CreateHoursOfOperation.go.snap index 3d9198aad21..7ce2f3240ec 100644 --- a/service/connect/snapshot/api_op_CreateHoursOfOperation.go.snap +++ b/service/connect/snapshot/api_op_CreateHoursOfOperation.go.snap @@ -14,7 +14,6 @@ CreateHoursOfOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_CreateHoursOfOperationOverride.go.snap b/service/connect/snapshot/api_op_CreateHoursOfOperationOverride.go.snap index f33d911029a..42323ffe00c 100644 --- a/service/connect/snapshot/api_op_CreateHoursOfOperationOverride.go.snap +++ b/service/connect/snapshot/api_op_CreateHoursOfOperationOverride.go.snap @@ -14,7 +14,6 @@ CreateHoursOfOperationOverride Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_CreateInstance.go.snap b/service/connect/snapshot/api_op_CreateInstance.go.snap index 0676a9380af..22fcf223337 100644 --- a/service/connect/snapshot/api_op_CreateInstance.go.snap +++ b/service/connect/snapshot/api_op_CreateInstance.go.snap @@ -15,7 +15,6 @@ CreateInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_CreateIntegrationAssociation.go.snap b/service/connect/snapshot/api_op_CreateIntegrationAssociation.go.snap index ff73c986154..7dbd2a1f561 100644 --- a/service/connect/snapshot/api_op_CreateIntegrationAssociation.go.snap +++ b/service/connect/snapshot/api_op_CreateIntegrationAssociation.go.snap @@ -14,7 +14,6 @@ CreateIntegrationAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_CreateParticipant.go.snap b/service/connect/snapshot/api_op_CreateParticipant.go.snap index 222a6302529..5aa19c17de2 100644 --- a/service/connect/snapshot/api_op_CreateParticipant.go.snap +++ b/service/connect/snapshot/api_op_CreateParticipant.go.snap @@ -15,7 +15,6 @@ CreateParticipant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_CreatePersistentContactAssociation.go.snap b/service/connect/snapshot/api_op_CreatePersistentContactAssociation.go.snap index 02567a55a44..dfee52e66d5 100644 --- a/service/connect/snapshot/api_op_CreatePersistentContactAssociation.go.snap +++ b/service/connect/snapshot/api_op_CreatePersistentContactAssociation.go.snap @@ -14,7 +14,6 @@ CreatePersistentContactAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_CreatePredefinedAttribute.go.snap b/service/connect/snapshot/api_op_CreatePredefinedAttribute.go.snap index 8a49c57ac84..c34035e5920 100644 --- a/service/connect/snapshot/api_op_CreatePredefinedAttribute.go.snap +++ b/service/connect/snapshot/api_op_CreatePredefinedAttribute.go.snap @@ -14,7 +14,6 @@ CreatePredefinedAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_CreatePrompt.go.snap b/service/connect/snapshot/api_op_CreatePrompt.go.snap index a6a8f1bec2d..6ef6efa7df7 100644 --- a/service/connect/snapshot/api_op_CreatePrompt.go.snap +++ b/service/connect/snapshot/api_op_CreatePrompt.go.snap @@ -14,7 +14,6 @@ CreatePrompt Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_CreatePushNotificationRegistration.go.snap b/service/connect/snapshot/api_op_CreatePushNotificationRegistration.go.snap index 4863176172d..3ecb2350233 100644 --- a/service/connect/snapshot/api_op_CreatePushNotificationRegistration.go.snap +++ b/service/connect/snapshot/api_op_CreatePushNotificationRegistration.go.snap @@ -15,7 +15,6 @@ CreatePushNotificationRegistration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_CreateQueue.go.snap b/service/connect/snapshot/api_op_CreateQueue.go.snap index 5ce6a8cd107..f940150966e 100644 --- a/service/connect/snapshot/api_op_CreateQueue.go.snap +++ b/service/connect/snapshot/api_op_CreateQueue.go.snap @@ -14,7 +14,6 @@ CreateQueue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_CreateQuickConnect.go.snap b/service/connect/snapshot/api_op_CreateQuickConnect.go.snap index d6794c84951..3d44b13940c 100644 --- a/service/connect/snapshot/api_op_CreateQuickConnect.go.snap +++ b/service/connect/snapshot/api_op_CreateQuickConnect.go.snap @@ -14,7 +14,6 @@ CreateQuickConnect Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_CreateRoutingProfile.go.snap b/service/connect/snapshot/api_op_CreateRoutingProfile.go.snap index cd4cac5325d..b134bacc21b 100644 --- a/service/connect/snapshot/api_op_CreateRoutingProfile.go.snap +++ b/service/connect/snapshot/api_op_CreateRoutingProfile.go.snap @@ -14,7 +14,6 @@ CreateRoutingProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_CreateRule.go.snap b/service/connect/snapshot/api_op_CreateRule.go.snap index 341ab226009..9278956f564 100644 --- a/service/connect/snapshot/api_op_CreateRule.go.snap +++ b/service/connect/snapshot/api_op_CreateRule.go.snap @@ -15,7 +15,6 @@ CreateRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_CreateSecurityProfile.go.snap b/service/connect/snapshot/api_op_CreateSecurityProfile.go.snap index a6db1d932c1..789063549b8 100644 --- a/service/connect/snapshot/api_op_CreateSecurityProfile.go.snap +++ b/service/connect/snapshot/api_op_CreateSecurityProfile.go.snap @@ -14,7 +14,6 @@ CreateSecurityProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_CreateTaskTemplate.go.snap b/service/connect/snapshot/api_op_CreateTaskTemplate.go.snap index ad4a2fe0574..fb0195b7f69 100644 --- a/service/connect/snapshot/api_op_CreateTaskTemplate.go.snap +++ b/service/connect/snapshot/api_op_CreateTaskTemplate.go.snap @@ -15,7 +15,6 @@ CreateTaskTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_CreateTrafficDistributionGroup.go.snap b/service/connect/snapshot/api_op_CreateTrafficDistributionGroup.go.snap index 7a943c8b574..1188c04c8b6 100644 --- a/service/connect/snapshot/api_op_CreateTrafficDistributionGroup.go.snap +++ b/service/connect/snapshot/api_op_CreateTrafficDistributionGroup.go.snap @@ -15,7 +15,6 @@ CreateTrafficDistributionGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_CreateUseCase.go.snap b/service/connect/snapshot/api_op_CreateUseCase.go.snap index a515b471662..293e3c31c2a 100644 --- a/service/connect/snapshot/api_op_CreateUseCase.go.snap +++ b/service/connect/snapshot/api_op_CreateUseCase.go.snap @@ -14,7 +14,6 @@ CreateUseCase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_CreateUser.go.snap b/service/connect/snapshot/api_op_CreateUser.go.snap index bfcfbd2c853..d278c15935b 100644 --- a/service/connect/snapshot/api_op_CreateUser.go.snap +++ b/service/connect/snapshot/api_op_CreateUser.go.snap @@ -14,7 +14,6 @@ CreateUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_CreateUserHierarchyGroup.go.snap b/service/connect/snapshot/api_op_CreateUserHierarchyGroup.go.snap index 00ef700f7fd..a733b5a5cf8 100644 --- a/service/connect/snapshot/api_op_CreateUserHierarchyGroup.go.snap +++ b/service/connect/snapshot/api_op_CreateUserHierarchyGroup.go.snap @@ -14,7 +14,6 @@ CreateUserHierarchyGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_CreateView.go.snap b/service/connect/snapshot/api_op_CreateView.go.snap index 9633c22d84a..929e314bd65 100644 --- a/service/connect/snapshot/api_op_CreateView.go.snap +++ b/service/connect/snapshot/api_op_CreateView.go.snap @@ -14,7 +14,6 @@ CreateView Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_CreateViewVersion.go.snap b/service/connect/snapshot/api_op_CreateViewVersion.go.snap index c7aa93b2559..ad80255377b 100644 --- a/service/connect/snapshot/api_op_CreateViewVersion.go.snap +++ b/service/connect/snapshot/api_op_CreateViewVersion.go.snap @@ -14,7 +14,6 @@ CreateViewVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_CreateVocabulary.go.snap b/service/connect/snapshot/api_op_CreateVocabulary.go.snap index 838cb4073b2..2fe96177d2c 100644 --- a/service/connect/snapshot/api_op_CreateVocabulary.go.snap +++ b/service/connect/snapshot/api_op_CreateVocabulary.go.snap @@ -15,7 +15,6 @@ CreateVocabulary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DeactivateEvaluationForm.go.snap b/service/connect/snapshot/api_op_DeactivateEvaluationForm.go.snap index 7d3b22865a4..43bfcb4168c 100644 --- a/service/connect/snapshot/api_op_DeactivateEvaluationForm.go.snap +++ b/service/connect/snapshot/api_op_DeactivateEvaluationForm.go.snap @@ -14,7 +14,6 @@ DeactivateEvaluationForm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DeleteAttachedFile.go.snap b/service/connect/snapshot/api_op_DeleteAttachedFile.go.snap index 31701ffaefa..96de014c2dd 100644 --- a/service/connect/snapshot/api_op_DeleteAttachedFile.go.snap +++ b/service/connect/snapshot/api_op_DeleteAttachedFile.go.snap @@ -14,7 +14,6 @@ DeleteAttachedFile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DeleteContactEvaluation.go.snap b/service/connect/snapshot/api_op_DeleteContactEvaluation.go.snap index 0cbeb7d2143..0ea3dbd4cc8 100644 --- a/service/connect/snapshot/api_op_DeleteContactEvaluation.go.snap +++ b/service/connect/snapshot/api_op_DeleteContactEvaluation.go.snap @@ -14,7 +14,6 @@ DeleteContactEvaluation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DeleteContactFlow.go.snap b/service/connect/snapshot/api_op_DeleteContactFlow.go.snap index 1bc03c1a125..0326a0703dd 100644 --- a/service/connect/snapshot/api_op_DeleteContactFlow.go.snap +++ b/service/connect/snapshot/api_op_DeleteContactFlow.go.snap @@ -14,7 +14,6 @@ DeleteContactFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DeleteContactFlowModule.go.snap b/service/connect/snapshot/api_op_DeleteContactFlowModule.go.snap index 0022845f63f..898dc7e4ac4 100644 --- a/service/connect/snapshot/api_op_DeleteContactFlowModule.go.snap +++ b/service/connect/snapshot/api_op_DeleteContactFlowModule.go.snap @@ -14,7 +14,6 @@ DeleteContactFlowModule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DeleteContactFlowVersion.go.snap b/service/connect/snapshot/api_op_DeleteContactFlowVersion.go.snap index 3850c02a35d..2e89bcf743d 100644 --- a/service/connect/snapshot/api_op_DeleteContactFlowVersion.go.snap +++ b/service/connect/snapshot/api_op_DeleteContactFlowVersion.go.snap @@ -14,7 +14,6 @@ DeleteContactFlowVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DeleteEmailAddress.go.snap b/service/connect/snapshot/api_op_DeleteEmailAddress.go.snap index 662b0246cc2..dc45b0b534a 100644 --- a/service/connect/snapshot/api_op_DeleteEmailAddress.go.snap +++ b/service/connect/snapshot/api_op_DeleteEmailAddress.go.snap @@ -14,7 +14,6 @@ DeleteEmailAddress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DeleteEvaluationForm.go.snap b/service/connect/snapshot/api_op_DeleteEvaluationForm.go.snap index ffe6fe43e54..b191715a34c 100644 --- a/service/connect/snapshot/api_op_DeleteEvaluationForm.go.snap +++ b/service/connect/snapshot/api_op_DeleteEvaluationForm.go.snap @@ -14,7 +14,6 @@ DeleteEvaluationForm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DeleteHoursOfOperation.go.snap b/service/connect/snapshot/api_op_DeleteHoursOfOperation.go.snap index db2cfbbac34..153cc969614 100644 --- a/service/connect/snapshot/api_op_DeleteHoursOfOperation.go.snap +++ b/service/connect/snapshot/api_op_DeleteHoursOfOperation.go.snap @@ -14,7 +14,6 @@ DeleteHoursOfOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DeleteHoursOfOperationOverride.go.snap b/service/connect/snapshot/api_op_DeleteHoursOfOperationOverride.go.snap index a3b590e1f01..88019d0368f 100644 --- a/service/connect/snapshot/api_op_DeleteHoursOfOperationOverride.go.snap +++ b/service/connect/snapshot/api_op_DeleteHoursOfOperationOverride.go.snap @@ -14,7 +14,6 @@ DeleteHoursOfOperationOverride Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DeleteInstance.go.snap b/service/connect/snapshot/api_op_DeleteInstance.go.snap index b29e2c49002..fb8630b8d0e 100644 --- a/service/connect/snapshot/api_op_DeleteInstance.go.snap +++ b/service/connect/snapshot/api_op_DeleteInstance.go.snap @@ -15,7 +15,6 @@ DeleteInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DeleteIntegrationAssociation.go.snap b/service/connect/snapshot/api_op_DeleteIntegrationAssociation.go.snap index 812bf7d0f1b..fe0773c1cb7 100644 --- a/service/connect/snapshot/api_op_DeleteIntegrationAssociation.go.snap +++ b/service/connect/snapshot/api_op_DeleteIntegrationAssociation.go.snap @@ -14,7 +14,6 @@ DeleteIntegrationAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DeletePredefinedAttribute.go.snap b/service/connect/snapshot/api_op_DeletePredefinedAttribute.go.snap index 29424af5336..466c37d9cbe 100644 --- a/service/connect/snapshot/api_op_DeletePredefinedAttribute.go.snap +++ b/service/connect/snapshot/api_op_DeletePredefinedAttribute.go.snap @@ -14,7 +14,6 @@ DeletePredefinedAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DeletePrompt.go.snap b/service/connect/snapshot/api_op_DeletePrompt.go.snap index c5df7693bd0..e019e537785 100644 --- a/service/connect/snapshot/api_op_DeletePrompt.go.snap +++ b/service/connect/snapshot/api_op_DeletePrompt.go.snap @@ -14,7 +14,6 @@ DeletePrompt Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DeletePushNotificationRegistration.go.snap b/service/connect/snapshot/api_op_DeletePushNotificationRegistration.go.snap index 6f669f9ee98..8228cdc1ea1 100644 --- a/service/connect/snapshot/api_op_DeletePushNotificationRegistration.go.snap +++ b/service/connect/snapshot/api_op_DeletePushNotificationRegistration.go.snap @@ -14,7 +14,6 @@ DeletePushNotificationRegistration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DeleteQueue.go.snap b/service/connect/snapshot/api_op_DeleteQueue.go.snap index 094ae28fc98..a5ab05d61ef 100644 --- a/service/connect/snapshot/api_op_DeleteQueue.go.snap +++ b/service/connect/snapshot/api_op_DeleteQueue.go.snap @@ -14,7 +14,6 @@ DeleteQueue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DeleteQuickConnect.go.snap b/service/connect/snapshot/api_op_DeleteQuickConnect.go.snap index 13ad76c5fb6..c8f3f75d86b 100644 --- a/service/connect/snapshot/api_op_DeleteQuickConnect.go.snap +++ b/service/connect/snapshot/api_op_DeleteQuickConnect.go.snap @@ -14,7 +14,6 @@ DeleteQuickConnect Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DeleteRoutingProfile.go.snap b/service/connect/snapshot/api_op_DeleteRoutingProfile.go.snap index 7ed36ff89ba..31f1d132c4a 100644 --- a/service/connect/snapshot/api_op_DeleteRoutingProfile.go.snap +++ b/service/connect/snapshot/api_op_DeleteRoutingProfile.go.snap @@ -14,7 +14,6 @@ DeleteRoutingProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DeleteRule.go.snap b/service/connect/snapshot/api_op_DeleteRule.go.snap index dd841287b59..a6bc8103292 100644 --- a/service/connect/snapshot/api_op_DeleteRule.go.snap +++ b/service/connect/snapshot/api_op_DeleteRule.go.snap @@ -14,7 +14,6 @@ DeleteRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DeleteSecurityProfile.go.snap b/service/connect/snapshot/api_op_DeleteSecurityProfile.go.snap index 4ef4b748d29..3fd5590eb3e 100644 --- a/service/connect/snapshot/api_op_DeleteSecurityProfile.go.snap +++ b/service/connect/snapshot/api_op_DeleteSecurityProfile.go.snap @@ -14,7 +14,6 @@ DeleteSecurityProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DeleteTaskTemplate.go.snap b/service/connect/snapshot/api_op_DeleteTaskTemplate.go.snap index 00fc582f792..3ad374d421a 100644 --- a/service/connect/snapshot/api_op_DeleteTaskTemplate.go.snap +++ b/service/connect/snapshot/api_op_DeleteTaskTemplate.go.snap @@ -14,7 +14,6 @@ DeleteTaskTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DeleteTrafficDistributionGroup.go.snap b/service/connect/snapshot/api_op_DeleteTrafficDistributionGroup.go.snap index 9b33c9cfaff..25919afe4c8 100644 --- a/service/connect/snapshot/api_op_DeleteTrafficDistributionGroup.go.snap +++ b/service/connect/snapshot/api_op_DeleteTrafficDistributionGroup.go.snap @@ -14,7 +14,6 @@ DeleteTrafficDistributionGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DeleteUseCase.go.snap b/service/connect/snapshot/api_op_DeleteUseCase.go.snap index 8f55285c8e0..3cdbd6ff7f5 100644 --- a/service/connect/snapshot/api_op_DeleteUseCase.go.snap +++ b/service/connect/snapshot/api_op_DeleteUseCase.go.snap @@ -14,7 +14,6 @@ DeleteUseCase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DeleteUser.go.snap b/service/connect/snapshot/api_op_DeleteUser.go.snap index 43834da9879..eda6e5fae30 100644 --- a/service/connect/snapshot/api_op_DeleteUser.go.snap +++ b/service/connect/snapshot/api_op_DeleteUser.go.snap @@ -14,7 +14,6 @@ DeleteUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DeleteUserHierarchyGroup.go.snap b/service/connect/snapshot/api_op_DeleteUserHierarchyGroup.go.snap index 7ceca73e2c1..05a261e200b 100644 --- a/service/connect/snapshot/api_op_DeleteUserHierarchyGroup.go.snap +++ b/service/connect/snapshot/api_op_DeleteUserHierarchyGroup.go.snap @@ -14,7 +14,6 @@ DeleteUserHierarchyGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DeleteView.go.snap b/service/connect/snapshot/api_op_DeleteView.go.snap index f9a43bb48b7..d781df74f39 100644 --- a/service/connect/snapshot/api_op_DeleteView.go.snap +++ b/service/connect/snapshot/api_op_DeleteView.go.snap @@ -14,7 +14,6 @@ DeleteView Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DeleteViewVersion.go.snap b/service/connect/snapshot/api_op_DeleteViewVersion.go.snap index 3a952700be7..0225a2c4a4f 100644 --- a/service/connect/snapshot/api_op_DeleteViewVersion.go.snap +++ b/service/connect/snapshot/api_op_DeleteViewVersion.go.snap @@ -14,7 +14,6 @@ DeleteViewVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DeleteVocabulary.go.snap b/service/connect/snapshot/api_op_DeleteVocabulary.go.snap index 662028b4f96..511070b559d 100644 --- a/service/connect/snapshot/api_op_DeleteVocabulary.go.snap +++ b/service/connect/snapshot/api_op_DeleteVocabulary.go.snap @@ -14,7 +14,6 @@ DeleteVocabulary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DescribeAgentStatus.go.snap b/service/connect/snapshot/api_op_DescribeAgentStatus.go.snap index 629aca998de..70d4bf6827a 100644 --- a/service/connect/snapshot/api_op_DescribeAgentStatus.go.snap +++ b/service/connect/snapshot/api_op_DescribeAgentStatus.go.snap @@ -14,7 +14,6 @@ DescribeAgentStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DescribeAuthenticationProfile.go.snap b/service/connect/snapshot/api_op_DescribeAuthenticationProfile.go.snap index e2f7a8e42f8..e1301a75c14 100644 --- a/service/connect/snapshot/api_op_DescribeAuthenticationProfile.go.snap +++ b/service/connect/snapshot/api_op_DescribeAuthenticationProfile.go.snap @@ -14,7 +14,6 @@ DescribeAuthenticationProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DescribeContact.go.snap b/service/connect/snapshot/api_op_DescribeContact.go.snap index 8aef881ed8b..583982fb6a9 100644 --- a/service/connect/snapshot/api_op_DescribeContact.go.snap +++ b/service/connect/snapshot/api_op_DescribeContact.go.snap @@ -14,7 +14,6 @@ DescribeContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DescribeContactEvaluation.go.snap b/service/connect/snapshot/api_op_DescribeContactEvaluation.go.snap index dd4b3ad15ac..8f3a97f7552 100644 --- a/service/connect/snapshot/api_op_DescribeContactEvaluation.go.snap +++ b/service/connect/snapshot/api_op_DescribeContactEvaluation.go.snap @@ -14,7 +14,6 @@ DescribeContactEvaluation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DescribeContactFlow.go.snap b/service/connect/snapshot/api_op_DescribeContactFlow.go.snap index 9fd1f21f0d4..991bd938450 100644 --- a/service/connect/snapshot/api_op_DescribeContactFlow.go.snap +++ b/service/connect/snapshot/api_op_DescribeContactFlow.go.snap @@ -14,7 +14,6 @@ DescribeContactFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DescribeContactFlowModule.go.snap b/service/connect/snapshot/api_op_DescribeContactFlowModule.go.snap index a54bf5698af..ee0d6e0e7d1 100644 --- a/service/connect/snapshot/api_op_DescribeContactFlowModule.go.snap +++ b/service/connect/snapshot/api_op_DescribeContactFlowModule.go.snap @@ -14,7 +14,6 @@ DescribeContactFlowModule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DescribeEmailAddress.go.snap b/service/connect/snapshot/api_op_DescribeEmailAddress.go.snap index 63b5dcca3cc..4e619a78f76 100644 --- a/service/connect/snapshot/api_op_DescribeEmailAddress.go.snap +++ b/service/connect/snapshot/api_op_DescribeEmailAddress.go.snap @@ -14,7 +14,6 @@ DescribeEmailAddress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DescribeEvaluationForm.go.snap b/service/connect/snapshot/api_op_DescribeEvaluationForm.go.snap index 3aa45cca765..6599ac8a5da 100644 --- a/service/connect/snapshot/api_op_DescribeEvaluationForm.go.snap +++ b/service/connect/snapshot/api_op_DescribeEvaluationForm.go.snap @@ -14,7 +14,6 @@ DescribeEvaluationForm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DescribeHoursOfOperation.go.snap b/service/connect/snapshot/api_op_DescribeHoursOfOperation.go.snap index e2755986733..7e0be42fb1f 100644 --- a/service/connect/snapshot/api_op_DescribeHoursOfOperation.go.snap +++ b/service/connect/snapshot/api_op_DescribeHoursOfOperation.go.snap @@ -14,7 +14,6 @@ DescribeHoursOfOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DescribeHoursOfOperationOverride.go.snap b/service/connect/snapshot/api_op_DescribeHoursOfOperationOverride.go.snap index 00d57cc04af..f2c06e3dcd5 100644 --- a/service/connect/snapshot/api_op_DescribeHoursOfOperationOverride.go.snap +++ b/service/connect/snapshot/api_op_DescribeHoursOfOperationOverride.go.snap @@ -14,7 +14,6 @@ DescribeHoursOfOperationOverride Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DescribeInstance.go.snap b/service/connect/snapshot/api_op_DescribeInstance.go.snap index 3e9929ad782..ebf8e509db7 100644 --- a/service/connect/snapshot/api_op_DescribeInstance.go.snap +++ b/service/connect/snapshot/api_op_DescribeInstance.go.snap @@ -14,7 +14,6 @@ DescribeInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DescribeInstanceAttribute.go.snap b/service/connect/snapshot/api_op_DescribeInstanceAttribute.go.snap index d4e230cafc8..75193fe5ded 100644 --- a/service/connect/snapshot/api_op_DescribeInstanceAttribute.go.snap +++ b/service/connect/snapshot/api_op_DescribeInstanceAttribute.go.snap @@ -14,7 +14,6 @@ DescribeInstanceAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DescribeInstanceStorageConfig.go.snap b/service/connect/snapshot/api_op_DescribeInstanceStorageConfig.go.snap index fdfd0a1db1d..b64ee5fcc0a 100644 --- a/service/connect/snapshot/api_op_DescribeInstanceStorageConfig.go.snap +++ b/service/connect/snapshot/api_op_DescribeInstanceStorageConfig.go.snap @@ -14,7 +14,6 @@ DescribeInstanceStorageConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DescribePhoneNumber.go.snap b/service/connect/snapshot/api_op_DescribePhoneNumber.go.snap index 83e38e7ff54..a897dae4260 100644 --- a/service/connect/snapshot/api_op_DescribePhoneNumber.go.snap +++ b/service/connect/snapshot/api_op_DescribePhoneNumber.go.snap @@ -14,7 +14,6 @@ DescribePhoneNumber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DescribePredefinedAttribute.go.snap b/service/connect/snapshot/api_op_DescribePredefinedAttribute.go.snap index 84a9f78b0e6..6c07998df27 100644 --- a/service/connect/snapshot/api_op_DescribePredefinedAttribute.go.snap +++ b/service/connect/snapshot/api_op_DescribePredefinedAttribute.go.snap @@ -14,7 +14,6 @@ DescribePredefinedAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DescribePrompt.go.snap b/service/connect/snapshot/api_op_DescribePrompt.go.snap index a1d4e21ca63..4a66f7c3a39 100644 --- a/service/connect/snapshot/api_op_DescribePrompt.go.snap +++ b/service/connect/snapshot/api_op_DescribePrompt.go.snap @@ -14,7 +14,6 @@ DescribePrompt Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DescribeQueue.go.snap b/service/connect/snapshot/api_op_DescribeQueue.go.snap index 791719d5384..2768b50dd3f 100644 --- a/service/connect/snapshot/api_op_DescribeQueue.go.snap +++ b/service/connect/snapshot/api_op_DescribeQueue.go.snap @@ -14,7 +14,6 @@ DescribeQueue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DescribeQuickConnect.go.snap b/service/connect/snapshot/api_op_DescribeQuickConnect.go.snap index e7427d4f7f8..3ccd6541ebf 100644 --- a/service/connect/snapshot/api_op_DescribeQuickConnect.go.snap +++ b/service/connect/snapshot/api_op_DescribeQuickConnect.go.snap @@ -14,7 +14,6 @@ DescribeQuickConnect Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DescribeRoutingProfile.go.snap b/service/connect/snapshot/api_op_DescribeRoutingProfile.go.snap index 45217bbfe6f..a40859dbd55 100644 --- a/service/connect/snapshot/api_op_DescribeRoutingProfile.go.snap +++ b/service/connect/snapshot/api_op_DescribeRoutingProfile.go.snap @@ -14,7 +14,6 @@ DescribeRoutingProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DescribeRule.go.snap b/service/connect/snapshot/api_op_DescribeRule.go.snap index 1b2d09c8586..6e8498aaeaf 100644 --- a/service/connect/snapshot/api_op_DescribeRule.go.snap +++ b/service/connect/snapshot/api_op_DescribeRule.go.snap @@ -14,7 +14,6 @@ DescribeRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DescribeSecurityProfile.go.snap b/service/connect/snapshot/api_op_DescribeSecurityProfile.go.snap index ad9aef0fd17..6dbf4e9d975 100644 --- a/service/connect/snapshot/api_op_DescribeSecurityProfile.go.snap +++ b/service/connect/snapshot/api_op_DescribeSecurityProfile.go.snap @@ -14,7 +14,6 @@ DescribeSecurityProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DescribeTrafficDistributionGroup.go.snap b/service/connect/snapshot/api_op_DescribeTrafficDistributionGroup.go.snap index 9b0dae15fb2..8cf76c65cd9 100644 --- a/service/connect/snapshot/api_op_DescribeTrafficDistributionGroup.go.snap +++ b/service/connect/snapshot/api_op_DescribeTrafficDistributionGroup.go.snap @@ -14,7 +14,6 @@ DescribeTrafficDistributionGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DescribeUser.go.snap b/service/connect/snapshot/api_op_DescribeUser.go.snap index 630a2859093..a7ee6cfa46d 100644 --- a/service/connect/snapshot/api_op_DescribeUser.go.snap +++ b/service/connect/snapshot/api_op_DescribeUser.go.snap @@ -14,7 +14,6 @@ DescribeUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DescribeUserHierarchyGroup.go.snap b/service/connect/snapshot/api_op_DescribeUserHierarchyGroup.go.snap index 5a2b5dcfe3f..ea7979d52f8 100644 --- a/service/connect/snapshot/api_op_DescribeUserHierarchyGroup.go.snap +++ b/service/connect/snapshot/api_op_DescribeUserHierarchyGroup.go.snap @@ -14,7 +14,6 @@ DescribeUserHierarchyGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DescribeUserHierarchyStructure.go.snap b/service/connect/snapshot/api_op_DescribeUserHierarchyStructure.go.snap index d113e586397..5403390492e 100644 --- a/service/connect/snapshot/api_op_DescribeUserHierarchyStructure.go.snap +++ b/service/connect/snapshot/api_op_DescribeUserHierarchyStructure.go.snap @@ -14,7 +14,6 @@ DescribeUserHierarchyStructure Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DescribeView.go.snap b/service/connect/snapshot/api_op_DescribeView.go.snap index 6621d9b3d9d..bdee47a6cef 100644 --- a/service/connect/snapshot/api_op_DescribeView.go.snap +++ b/service/connect/snapshot/api_op_DescribeView.go.snap @@ -14,7 +14,6 @@ DescribeView Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DescribeVocabulary.go.snap b/service/connect/snapshot/api_op_DescribeVocabulary.go.snap index 59fa4d05c59..c236fc53edf 100644 --- a/service/connect/snapshot/api_op_DescribeVocabulary.go.snap +++ b/service/connect/snapshot/api_op_DescribeVocabulary.go.snap @@ -14,7 +14,6 @@ DescribeVocabulary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DisassociateAnalyticsDataSet.go.snap b/service/connect/snapshot/api_op_DisassociateAnalyticsDataSet.go.snap index 99039f2381a..c4ced972d6e 100644 --- a/service/connect/snapshot/api_op_DisassociateAnalyticsDataSet.go.snap +++ b/service/connect/snapshot/api_op_DisassociateAnalyticsDataSet.go.snap @@ -14,7 +14,6 @@ DisassociateAnalyticsDataSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DisassociateApprovedOrigin.go.snap b/service/connect/snapshot/api_op_DisassociateApprovedOrigin.go.snap index 0a5f08ba83c..8de5738bfd4 100644 --- a/service/connect/snapshot/api_op_DisassociateApprovedOrigin.go.snap +++ b/service/connect/snapshot/api_op_DisassociateApprovedOrigin.go.snap @@ -15,7 +15,6 @@ DisassociateApprovedOrigin Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DisassociateBot.go.snap b/service/connect/snapshot/api_op_DisassociateBot.go.snap index 41cb3e2e092..bf0ed0266ce 100644 --- a/service/connect/snapshot/api_op_DisassociateBot.go.snap +++ b/service/connect/snapshot/api_op_DisassociateBot.go.snap @@ -15,7 +15,6 @@ DisassociateBot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DisassociateFlow.go.snap b/service/connect/snapshot/api_op_DisassociateFlow.go.snap index 598085a0e4f..5445feedd94 100644 --- a/service/connect/snapshot/api_op_DisassociateFlow.go.snap +++ b/service/connect/snapshot/api_op_DisassociateFlow.go.snap @@ -14,7 +14,6 @@ DisassociateFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DisassociateInstanceStorageConfig.go.snap b/service/connect/snapshot/api_op_DisassociateInstanceStorageConfig.go.snap index 9c6945df91f..6313bb991cd 100644 --- a/service/connect/snapshot/api_op_DisassociateInstanceStorageConfig.go.snap +++ b/service/connect/snapshot/api_op_DisassociateInstanceStorageConfig.go.snap @@ -15,7 +15,6 @@ DisassociateInstanceStorageConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DisassociateLambdaFunction.go.snap b/service/connect/snapshot/api_op_DisassociateLambdaFunction.go.snap index 27480697a75..1ee5a4550bc 100644 --- a/service/connect/snapshot/api_op_DisassociateLambdaFunction.go.snap +++ b/service/connect/snapshot/api_op_DisassociateLambdaFunction.go.snap @@ -15,7 +15,6 @@ DisassociateLambdaFunction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DisassociateLexBot.go.snap b/service/connect/snapshot/api_op_DisassociateLexBot.go.snap index a4110b080d9..f771cc0c7c8 100644 --- a/service/connect/snapshot/api_op_DisassociateLexBot.go.snap +++ b/service/connect/snapshot/api_op_DisassociateLexBot.go.snap @@ -15,7 +15,6 @@ DisassociateLexBot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DisassociatePhoneNumberContactFlow.go.snap b/service/connect/snapshot/api_op_DisassociatePhoneNumberContactFlow.go.snap index 4bedccebc32..20fd956f2f0 100644 --- a/service/connect/snapshot/api_op_DisassociatePhoneNumberContactFlow.go.snap +++ b/service/connect/snapshot/api_op_DisassociatePhoneNumberContactFlow.go.snap @@ -14,7 +14,6 @@ DisassociatePhoneNumberContactFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DisassociateQueueQuickConnects.go.snap b/service/connect/snapshot/api_op_DisassociateQueueQuickConnects.go.snap index 272eac12ea7..e226bb9acdc 100644 --- a/service/connect/snapshot/api_op_DisassociateQueueQuickConnects.go.snap +++ b/service/connect/snapshot/api_op_DisassociateQueueQuickConnects.go.snap @@ -14,7 +14,6 @@ DisassociateQueueQuickConnects Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DisassociateRoutingProfileQueues.go.snap b/service/connect/snapshot/api_op_DisassociateRoutingProfileQueues.go.snap index 07367dc3e25..64b325f9ab9 100644 --- a/service/connect/snapshot/api_op_DisassociateRoutingProfileQueues.go.snap +++ b/service/connect/snapshot/api_op_DisassociateRoutingProfileQueues.go.snap @@ -14,7 +14,6 @@ DisassociateRoutingProfileQueues Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DisassociateSecurityKey.go.snap b/service/connect/snapshot/api_op_DisassociateSecurityKey.go.snap index e9e74def30e..87aec669024 100644 --- a/service/connect/snapshot/api_op_DisassociateSecurityKey.go.snap +++ b/service/connect/snapshot/api_op_DisassociateSecurityKey.go.snap @@ -15,7 +15,6 @@ DisassociateSecurityKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DisassociateTrafficDistributionGroupUser.go.snap b/service/connect/snapshot/api_op_DisassociateTrafficDistributionGroupUser.go.snap index 6ab6e30ce55..e0e02b58983 100644 --- a/service/connect/snapshot/api_op_DisassociateTrafficDistributionGroupUser.go.snap +++ b/service/connect/snapshot/api_op_DisassociateTrafficDistributionGroupUser.go.snap @@ -14,7 +14,6 @@ DisassociateTrafficDistributionGroupUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DisassociateUserProficiencies.go.snap b/service/connect/snapshot/api_op_DisassociateUserProficiencies.go.snap index 3c37b7d31e0..67f39fe1058 100644 --- a/service/connect/snapshot/api_op_DisassociateUserProficiencies.go.snap +++ b/service/connect/snapshot/api_op_DisassociateUserProficiencies.go.snap @@ -14,7 +14,6 @@ DisassociateUserProficiencies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_DismissUserContact.go.snap b/service/connect/snapshot/api_op_DismissUserContact.go.snap index 1a3902e7352..641eca0cbde 100644 --- a/service/connect/snapshot/api_op_DismissUserContact.go.snap +++ b/service/connect/snapshot/api_op_DismissUserContact.go.snap @@ -14,7 +14,6 @@ DismissUserContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_GetAttachedFile.go.snap b/service/connect/snapshot/api_op_GetAttachedFile.go.snap index f4061f9ad03..57f694201d8 100644 --- a/service/connect/snapshot/api_op_GetAttachedFile.go.snap +++ b/service/connect/snapshot/api_op_GetAttachedFile.go.snap @@ -14,7 +14,6 @@ GetAttachedFile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_GetContactAttributes.go.snap b/service/connect/snapshot/api_op_GetContactAttributes.go.snap index b51070ab006..7f20cf57af9 100644 --- a/service/connect/snapshot/api_op_GetContactAttributes.go.snap +++ b/service/connect/snapshot/api_op_GetContactAttributes.go.snap @@ -14,7 +14,6 @@ GetContactAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_GetCurrentMetricData.go.snap b/service/connect/snapshot/api_op_GetCurrentMetricData.go.snap index 30ee0e67caa..224c7a1c25b 100644 --- a/service/connect/snapshot/api_op_GetCurrentMetricData.go.snap +++ b/service/connect/snapshot/api_op_GetCurrentMetricData.go.snap @@ -14,7 +14,6 @@ GetCurrentMetricData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_GetCurrentUserData.go.snap b/service/connect/snapshot/api_op_GetCurrentUserData.go.snap index b9403aa7989..9e01a7b9e53 100644 --- a/service/connect/snapshot/api_op_GetCurrentUserData.go.snap +++ b/service/connect/snapshot/api_op_GetCurrentUserData.go.snap @@ -14,7 +14,6 @@ GetCurrentUserData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_GetEffectiveHoursOfOperations.go.snap b/service/connect/snapshot/api_op_GetEffectiveHoursOfOperations.go.snap index dd8ecf85b9b..eb8576596e5 100644 --- a/service/connect/snapshot/api_op_GetEffectiveHoursOfOperations.go.snap +++ b/service/connect/snapshot/api_op_GetEffectiveHoursOfOperations.go.snap @@ -14,7 +14,6 @@ GetEffectiveHoursOfOperations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_GetFederationToken.go.snap b/service/connect/snapshot/api_op_GetFederationToken.go.snap index c3c3d8724a9..093430552bb 100644 --- a/service/connect/snapshot/api_op_GetFederationToken.go.snap +++ b/service/connect/snapshot/api_op_GetFederationToken.go.snap @@ -14,7 +14,6 @@ GetFederationToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_GetFlowAssociation.go.snap b/service/connect/snapshot/api_op_GetFlowAssociation.go.snap index a34590a146c..6182a8019f8 100644 --- a/service/connect/snapshot/api_op_GetFlowAssociation.go.snap +++ b/service/connect/snapshot/api_op_GetFlowAssociation.go.snap @@ -14,7 +14,6 @@ GetFlowAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_GetMetricData.go.snap b/service/connect/snapshot/api_op_GetMetricData.go.snap index 61e99872f38..9d59a092b9a 100644 --- a/service/connect/snapshot/api_op_GetMetricData.go.snap +++ b/service/connect/snapshot/api_op_GetMetricData.go.snap @@ -14,7 +14,6 @@ GetMetricData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_GetMetricDataV2.go.snap b/service/connect/snapshot/api_op_GetMetricDataV2.go.snap index 064caa3f280..67782e1b2e7 100644 --- a/service/connect/snapshot/api_op_GetMetricDataV2.go.snap +++ b/service/connect/snapshot/api_op_GetMetricDataV2.go.snap @@ -14,7 +14,6 @@ GetMetricDataV2 Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_GetPromptFile.go.snap b/service/connect/snapshot/api_op_GetPromptFile.go.snap index ee55abf7af6..681124b2a92 100644 --- a/service/connect/snapshot/api_op_GetPromptFile.go.snap +++ b/service/connect/snapshot/api_op_GetPromptFile.go.snap @@ -14,7 +14,6 @@ GetPromptFile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_GetTaskTemplate.go.snap b/service/connect/snapshot/api_op_GetTaskTemplate.go.snap index ee0eebbb80d..ff2edd75fe2 100644 --- a/service/connect/snapshot/api_op_GetTaskTemplate.go.snap +++ b/service/connect/snapshot/api_op_GetTaskTemplate.go.snap @@ -14,7 +14,6 @@ GetTaskTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_GetTrafficDistribution.go.snap b/service/connect/snapshot/api_op_GetTrafficDistribution.go.snap index aead230a08f..440dd1c39ff 100644 --- a/service/connect/snapshot/api_op_GetTrafficDistribution.go.snap +++ b/service/connect/snapshot/api_op_GetTrafficDistribution.go.snap @@ -14,7 +14,6 @@ GetTrafficDistribution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ImportPhoneNumber.go.snap b/service/connect/snapshot/api_op_ImportPhoneNumber.go.snap index e3208da692d..0f39f2d80ce 100644 --- a/service/connect/snapshot/api_op_ImportPhoneNumber.go.snap +++ b/service/connect/snapshot/api_op_ImportPhoneNumber.go.snap @@ -15,7 +15,6 @@ ImportPhoneNumber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListAgentStatuses.go.snap b/service/connect/snapshot/api_op_ListAgentStatuses.go.snap index 2b7d6db40f5..bda15be645e 100644 --- a/service/connect/snapshot/api_op_ListAgentStatuses.go.snap +++ b/service/connect/snapshot/api_op_ListAgentStatuses.go.snap @@ -14,7 +14,6 @@ ListAgentStatuses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListAnalyticsDataAssociations.go.snap b/service/connect/snapshot/api_op_ListAnalyticsDataAssociations.go.snap index 6d16cdf7f53..fc3db9cbbe3 100644 --- a/service/connect/snapshot/api_op_ListAnalyticsDataAssociations.go.snap +++ b/service/connect/snapshot/api_op_ListAnalyticsDataAssociations.go.snap @@ -14,7 +14,6 @@ ListAnalyticsDataAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListAnalyticsDataLakeDataSets.go.snap b/service/connect/snapshot/api_op_ListAnalyticsDataLakeDataSets.go.snap index 6c925930666..b300352a641 100644 --- a/service/connect/snapshot/api_op_ListAnalyticsDataLakeDataSets.go.snap +++ b/service/connect/snapshot/api_op_ListAnalyticsDataLakeDataSets.go.snap @@ -14,7 +14,6 @@ ListAnalyticsDataLakeDataSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListApprovedOrigins.go.snap b/service/connect/snapshot/api_op_ListApprovedOrigins.go.snap index 011448d97d2..99c116c28b0 100644 --- a/service/connect/snapshot/api_op_ListApprovedOrigins.go.snap +++ b/service/connect/snapshot/api_op_ListApprovedOrigins.go.snap @@ -14,7 +14,6 @@ ListApprovedOrigins Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListAssociatedContacts.go.snap b/service/connect/snapshot/api_op_ListAssociatedContacts.go.snap index 7c362a4abe7..1f5885205b9 100644 --- a/service/connect/snapshot/api_op_ListAssociatedContacts.go.snap +++ b/service/connect/snapshot/api_op_ListAssociatedContacts.go.snap @@ -14,7 +14,6 @@ ListAssociatedContacts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListAuthenticationProfiles.go.snap b/service/connect/snapshot/api_op_ListAuthenticationProfiles.go.snap index 74e1e76b9d8..f2314ea96bf 100644 --- a/service/connect/snapshot/api_op_ListAuthenticationProfiles.go.snap +++ b/service/connect/snapshot/api_op_ListAuthenticationProfiles.go.snap @@ -14,7 +14,6 @@ ListAuthenticationProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListBots.go.snap b/service/connect/snapshot/api_op_ListBots.go.snap index 4e5910d2fd6..ee82b0ffb5a 100644 --- a/service/connect/snapshot/api_op_ListBots.go.snap +++ b/service/connect/snapshot/api_op_ListBots.go.snap @@ -14,7 +14,6 @@ ListBots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListContactEvaluations.go.snap b/service/connect/snapshot/api_op_ListContactEvaluations.go.snap index e3660a49513..5d0cb544c20 100644 --- a/service/connect/snapshot/api_op_ListContactEvaluations.go.snap +++ b/service/connect/snapshot/api_op_ListContactEvaluations.go.snap @@ -14,7 +14,6 @@ ListContactEvaluations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListContactFlowModules.go.snap b/service/connect/snapshot/api_op_ListContactFlowModules.go.snap index 2c90d546bcb..fb27abd0a60 100644 --- a/service/connect/snapshot/api_op_ListContactFlowModules.go.snap +++ b/service/connect/snapshot/api_op_ListContactFlowModules.go.snap @@ -14,7 +14,6 @@ ListContactFlowModules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListContactFlowVersions.go.snap b/service/connect/snapshot/api_op_ListContactFlowVersions.go.snap index 3ceabe2c929..b165f6e3c6e 100644 --- a/service/connect/snapshot/api_op_ListContactFlowVersions.go.snap +++ b/service/connect/snapshot/api_op_ListContactFlowVersions.go.snap @@ -14,7 +14,6 @@ ListContactFlowVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListContactFlows.go.snap b/service/connect/snapshot/api_op_ListContactFlows.go.snap index ff66259a142..89de4bf0c98 100644 --- a/service/connect/snapshot/api_op_ListContactFlows.go.snap +++ b/service/connect/snapshot/api_op_ListContactFlows.go.snap @@ -14,7 +14,6 @@ ListContactFlows Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListContactReferences.go.snap b/service/connect/snapshot/api_op_ListContactReferences.go.snap index f3c312a1253..cefd62e1085 100644 --- a/service/connect/snapshot/api_op_ListContactReferences.go.snap +++ b/service/connect/snapshot/api_op_ListContactReferences.go.snap @@ -14,7 +14,6 @@ ListContactReferences Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListDefaultVocabularies.go.snap b/service/connect/snapshot/api_op_ListDefaultVocabularies.go.snap index ac132a9d882..ca8583d57e7 100644 --- a/service/connect/snapshot/api_op_ListDefaultVocabularies.go.snap +++ b/service/connect/snapshot/api_op_ListDefaultVocabularies.go.snap @@ -14,7 +14,6 @@ ListDefaultVocabularies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListEvaluationFormVersions.go.snap b/service/connect/snapshot/api_op_ListEvaluationFormVersions.go.snap index 5034cf21c8d..9d252a631d4 100644 --- a/service/connect/snapshot/api_op_ListEvaluationFormVersions.go.snap +++ b/service/connect/snapshot/api_op_ListEvaluationFormVersions.go.snap @@ -14,7 +14,6 @@ ListEvaluationFormVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListEvaluationForms.go.snap b/service/connect/snapshot/api_op_ListEvaluationForms.go.snap index e6fd5a6af25..b40d7ac025d 100644 --- a/service/connect/snapshot/api_op_ListEvaluationForms.go.snap +++ b/service/connect/snapshot/api_op_ListEvaluationForms.go.snap @@ -14,7 +14,6 @@ ListEvaluationForms Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListFlowAssociations.go.snap b/service/connect/snapshot/api_op_ListFlowAssociations.go.snap index 24b6b6cff80..822042a2e04 100644 --- a/service/connect/snapshot/api_op_ListFlowAssociations.go.snap +++ b/service/connect/snapshot/api_op_ListFlowAssociations.go.snap @@ -14,7 +14,6 @@ ListFlowAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListHoursOfOperationOverrides.go.snap b/service/connect/snapshot/api_op_ListHoursOfOperationOverrides.go.snap index 14677974323..d329567cb15 100644 --- a/service/connect/snapshot/api_op_ListHoursOfOperationOverrides.go.snap +++ b/service/connect/snapshot/api_op_ListHoursOfOperationOverrides.go.snap @@ -14,7 +14,6 @@ ListHoursOfOperationOverrides Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListHoursOfOperations.go.snap b/service/connect/snapshot/api_op_ListHoursOfOperations.go.snap index b1e6a0d70db..e4fedf7fe49 100644 --- a/service/connect/snapshot/api_op_ListHoursOfOperations.go.snap +++ b/service/connect/snapshot/api_op_ListHoursOfOperations.go.snap @@ -14,7 +14,6 @@ ListHoursOfOperations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListInstanceAttributes.go.snap b/service/connect/snapshot/api_op_ListInstanceAttributes.go.snap index 63b4883bdc9..0a5ef51055f 100644 --- a/service/connect/snapshot/api_op_ListInstanceAttributes.go.snap +++ b/service/connect/snapshot/api_op_ListInstanceAttributes.go.snap @@ -14,7 +14,6 @@ ListInstanceAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListInstanceStorageConfigs.go.snap b/service/connect/snapshot/api_op_ListInstanceStorageConfigs.go.snap index 97f67e25ed5..42a812dfe2a 100644 --- a/service/connect/snapshot/api_op_ListInstanceStorageConfigs.go.snap +++ b/service/connect/snapshot/api_op_ListInstanceStorageConfigs.go.snap @@ -14,7 +14,6 @@ ListInstanceStorageConfigs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListInstances.go.snap b/service/connect/snapshot/api_op_ListInstances.go.snap index 139cc49a2f4..92646b4f428 100644 --- a/service/connect/snapshot/api_op_ListInstances.go.snap +++ b/service/connect/snapshot/api_op_ListInstances.go.snap @@ -13,7 +13,6 @@ ListInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListIntegrationAssociations.go.snap b/service/connect/snapshot/api_op_ListIntegrationAssociations.go.snap index 48043121c7e..ed212ed1502 100644 --- a/service/connect/snapshot/api_op_ListIntegrationAssociations.go.snap +++ b/service/connect/snapshot/api_op_ListIntegrationAssociations.go.snap @@ -14,7 +14,6 @@ ListIntegrationAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListLambdaFunctions.go.snap b/service/connect/snapshot/api_op_ListLambdaFunctions.go.snap index 3686bff38f8..e89650a861e 100644 --- a/service/connect/snapshot/api_op_ListLambdaFunctions.go.snap +++ b/service/connect/snapshot/api_op_ListLambdaFunctions.go.snap @@ -14,7 +14,6 @@ ListLambdaFunctions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListLexBots.go.snap b/service/connect/snapshot/api_op_ListLexBots.go.snap index 8df7a582f8b..07c91d55908 100644 --- a/service/connect/snapshot/api_op_ListLexBots.go.snap +++ b/service/connect/snapshot/api_op_ListLexBots.go.snap @@ -14,7 +14,6 @@ ListLexBots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListPhoneNumbers.go.snap b/service/connect/snapshot/api_op_ListPhoneNumbers.go.snap index 7a847588c1c..af57e5eb915 100644 --- a/service/connect/snapshot/api_op_ListPhoneNumbers.go.snap +++ b/service/connect/snapshot/api_op_ListPhoneNumbers.go.snap @@ -14,7 +14,6 @@ ListPhoneNumbers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListPhoneNumbersV2.go.snap b/service/connect/snapshot/api_op_ListPhoneNumbersV2.go.snap index 5767c9343b1..42ee1951ff8 100644 --- a/service/connect/snapshot/api_op_ListPhoneNumbersV2.go.snap +++ b/service/connect/snapshot/api_op_ListPhoneNumbersV2.go.snap @@ -13,7 +13,6 @@ ListPhoneNumbersV2 Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListPredefinedAttributes.go.snap b/service/connect/snapshot/api_op_ListPredefinedAttributes.go.snap index 4f5ab496508..82406b7a723 100644 --- a/service/connect/snapshot/api_op_ListPredefinedAttributes.go.snap +++ b/service/connect/snapshot/api_op_ListPredefinedAttributes.go.snap @@ -14,7 +14,6 @@ ListPredefinedAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListPrompts.go.snap b/service/connect/snapshot/api_op_ListPrompts.go.snap index e2aa73c5ed9..3f2b97bdcd6 100644 --- a/service/connect/snapshot/api_op_ListPrompts.go.snap +++ b/service/connect/snapshot/api_op_ListPrompts.go.snap @@ -14,7 +14,6 @@ ListPrompts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListQueueQuickConnects.go.snap b/service/connect/snapshot/api_op_ListQueueQuickConnects.go.snap index e85340fdda8..e0db3f3e0a9 100644 --- a/service/connect/snapshot/api_op_ListQueueQuickConnects.go.snap +++ b/service/connect/snapshot/api_op_ListQueueQuickConnects.go.snap @@ -14,7 +14,6 @@ ListQueueQuickConnects Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListQueues.go.snap b/service/connect/snapshot/api_op_ListQueues.go.snap index a1f23cb9afb..ba7a11de067 100644 --- a/service/connect/snapshot/api_op_ListQueues.go.snap +++ b/service/connect/snapshot/api_op_ListQueues.go.snap @@ -14,7 +14,6 @@ ListQueues Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListQuickConnects.go.snap b/service/connect/snapshot/api_op_ListQuickConnects.go.snap index 2c8afcda006..95d0f268319 100644 --- a/service/connect/snapshot/api_op_ListQuickConnects.go.snap +++ b/service/connect/snapshot/api_op_ListQuickConnects.go.snap @@ -14,7 +14,6 @@ ListQuickConnects Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListRealtimeContactAnalysisSegmentsV2.go.snap b/service/connect/snapshot/api_op_ListRealtimeContactAnalysisSegmentsV2.go.snap index 3281678b396..0bee8d3e568 100644 --- a/service/connect/snapshot/api_op_ListRealtimeContactAnalysisSegmentsV2.go.snap +++ b/service/connect/snapshot/api_op_ListRealtimeContactAnalysisSegmentsV2.go.snap @@ -14,7 +14,6 @@ ListRealtimeContactAnalysisSegmentsV2 Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListRoutingProfileQueues.go.snap b/service/connect/snapshot/api_op_ListRoutingProfileQueues.go.snap index a65ee39abea..0dfe19784a9 100644 --- a/service/connect/snapshot/api_op_ListRoutingProfileQueues.go.snap +++ b/service/connect/snapshot/api_op_ListRoutingProfileQueues.go.snap @@ -14,7 +14,6 @@ ListRoutingProfileQueues Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListRoutingProfiles.go.snap b/service/connect/snapshot/api_op_ListRoutingProfiles.go.snap index 3ea3ecea8c4..df1916bb6cd 100644 --- a/service/connect/snapshot/api_op_ListRoutingProfiles.go.snap +++ b/service/connect/snapshot/api_op_ListRoutingProfiles.go.snap @@ -14,7 +14,6 @@ ListRoutingProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListRules.go.snap b/service/connect/snapshot/api_op_ListRules.go.snap index fbd62b15a4f..0e39687c8a2 100644 --- a/service/connect/snapshot/api_op_ListRules.go.snap +++ b/service/connect/snapshot/api_op_ListRules.go.snap @@ -14,7 +14,6 @@ ListRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListSecurityKeys.go.snap b/service/connect/snapshot/api_op_ListSecurityKeys.go.snap index 3b04bc4db1d..3a0fda91815 100644 --- a/service/connect/snapshot/api_op_ListSecurityKeys.go.snap +++ b/service/connect/snapshot/api_op_ListSecurityKeys.go.snap @@ -14,7 +14,6 @@ ListSecurityKeys Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListSecurityProfileApplications.go.snap b/service/connect/snapshot/api_op_ListSecurityProfileApplications.go.snap index fdc27e1612a..19d2fcd84a5 100644 --- a/service/connect/snapshot/api_op_ListSecurityProfileApplications.go.snap +++ b/service/connect/snapshot/api_op_ListSecurityProfileApplications.go.snap @@ -14,7 +14,6 @@ ListSecurityProfileApplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListSecurityProfilePermissions.go.snap b/service/connect/snapshot/api_op_ListSecurityProfilePermissions.go.snap index 1c778e42c29..b4fd922f14b 100644 --- a/service/connect/snapshot/api_op_ListSecurityProfilePermissions.go.snap +++ b/service/connect/snapshot/api_op_ListSecurityProfilePermissions.go.snap @@ -14,7 +14,6 @@ ListSecurityProfilePermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListSecurityProfiles.go.snap b/service/connect/snapshot/api_op_ListSecurityProfiles.go.snap index 621bad1f404..fa0537eb314 100644 --- a/service/connect/snapshot/api_op_ListSecurityProfiles.go.snap +++ b/service/connect/snapshot/api_op_ListSecurityProfiles.go.snap @@ -14,7 +14,6 @@ ListSecurityProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListTagsForResource.go.snap b/service/connect/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/connect/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/connect/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListTaskTemplates.go.snap b/service/connect/snapshot/api_op_ListTaskTemplates.go.snap index c7567e4bbd6..1095973c29b 100644 --- a/service/connect/snapshot/api_op_ListTaskTemplates.go.snap +++ b/service/connect/snapshot/api_op_ListTaskTemplates.go.snap @@ -14,7 +14,6 @@ ListTaskTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListTrafficDistributionGroupUsers.go.snap b/service/connect/snapshot/api_op_ListTrafficDistributionGroupUsers.go.snap index 00682431d80..1980f259590 100644 --- a/service/connect/snapshot/api_op_ListTrafficDistributionGroupUsers.go.snap +++ b/service/connect/snapshot/api_op_ListTrafficDistributionGroupUsers.go.snap @@ -14,7 +14,6 @@ ListTrafficDistributionGroupUsers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListTrafficDistributionGroups.go.snap b/service/connect/snapshot/api_op_ListTrafficDistributionGroups.go.snap index e06ebf3b860..42c75b7476d 100644 --- a/service/connect/snapshot/api_op_ListTrafficDistributionGroups.go.snap +++ b/service/connect/snapshot/api_op_ListTrafficDistributionGroups.go.snap @@ -13,7 +13,6 @@ ListTrafficDistributionGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListUseCases.go.snap b/service/connect/snapshot/api_op_ListUseCases.go.snap index 7c945195398..7eaa3a5c9f9 100644 --- a/service/connect/snapshot/api_op_ListUseCases.go.snap +++ b/service/connect/snapshot/api_op_ListUseCases.go.snap @@ -14,7 +14,6 @@ ListUseCases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListUserHierarchyGroups.go.snap b/service/connect/snapshot/api_op_ListUserHierarchyGroups.go.snap index 3a48b048b8a..2dd785353c0 100644 --- a/service/connect/snapshot/api_op_ListUserHierarchyGroups.go.snap +++ b/service/connect/snapshot/api_op_ListUserHierarchyGroups.go.snap @@ -14,7 +14,6 @@ ListUserHierarchyGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListUserProficiencies.go.snap b/service/connect/snapshot/api_op_ListUserProficiencies.go.snap index 8e74886b3c9..75eeb023338 100644 --- a/service/connect/snapshot/api_op_ListUserProficiencies.go.snap +++ b/service/connect/snapshot/api_op_ListUserProficiencies.go.snap @@ -14,7 +14,6 @@ ListUserProficiencies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListUsers.go.snap b/service/connect/snapshot/api_op_ListUsers.go.snap index e806475e845..214b3b04368 100644 --- a/service/connect/snapshot/api_op_ListUsers.go.snap +++ b/service/connect/snapshot/api_op_ListUsers.go.snap @@ -14,7 +14,6 @@ ListUsers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListViewVersions.go.snap b/service/connect/snapshot/api_op_ListViewVersions.go.snap index 471dc645d7c..cf79bd72d31 100644 --- a/service/connect/snapshot/api_op_ListViewVersions.go.snap +++ b/service/connect/snapshot/api_op_ListViewVersions.go.snap @@ -14,7 +14,6 @@ ListViewVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ListViews.go.snap b/service/connect/snapshot/api_op_ListViews.go.snap index cdba64d287e..471498a406a 100644 --- a/service/connect/snapshot/api_op_ListViews.go.snap +++ b/service/connect/snapshot/api_op_ListViews.go.snap @@ -14,7 +14,6 @@ ListViews Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_MonitorContact.go.snap b/service/connect/snapshot/api_op_MonitorContact.go.snap index 9ba36e4422e..e6f2f46fb62 100644 --- a/service/connect/snapshot/api_op_MonitorContact.go.snap +++ b/service/connect/snapshot/api_op_MonitorContact.go.snap @@ -15,7 +15,6 @@ MonitorContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_PauseContact.go.snap b/service/connect/snapshot/api_op_PauseContact.go.snap index 280b2bc154c..2534f59b129 100644 --- a/service/connect/snapshot/api_op_PauseContact.go.snap +++ b/service/connect/snapshot/api_op_PauseContact.go.snap @@ -14,7 +14,6 @@ PauseContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_PutUserStatus.go.snap b/service/connect/snapshot/api_op_PutUserStatus.go.snap index 0283753ef70..b12767a8736 100644 --- a/service/connect/snapshot/api_op_PutUserStatus.go.snap +++ b/service/connect/snapshot/api_op_PutUserStatus.go.snap @@ -14,7 +14,6 @@ PutUserStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ReleasePhoneNumber.go.snap b/service/connect/snapshot/api_op_ReleasePhoneNumber.go.snap index 20177b1c435..1975e7f2b65 100644 --- a/service/connect/snapshot/api_op_ReleasePhoneNumber.go.snap +++ b/service/connect/snapshot/api_op_ReleasePhoneNumber.go.snap @@ -15,7 +15,6 @@ ReleasePhoneNumber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ReplicateInstance.go.snap b/service/connect/snapshot/api_op_ReplicateInstance.go.snap index 5822af5dbfc..325cf472019 100644 --- a/service/connect/snapshot/api_op_ReplicateInstance.go.snap +++ b/service/connect/snapshot/api_op_ReplicateInstance.go.snap @@ -15,7 +15,6 @@ ReplicateInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ResumeContact.go.snap b/service/connect/snapshot/api_op_ResumeContact.go.snap index 272ebe4e75d..056124015ef 100644 --- a/service/connect/snapshot/api_op_ResumeContact.go.snap +++ b/service/connect/snapshot/api_op_ResumeContact.go.snap @@ -14,7 +14,6 @@ ResumeContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_ResumeContactRecording.go.snap b/service/connect/snapshot/api_op_ResumeContactRecording.go.snap index 8def6cd7f6c..69334340c63 100644 --- a/service/connect/snapshot/api_op_ResumeContactRecording.go.snap +++ b/service/connect/snapshot/api_op_ResumeContactRecording.go.snap @@ -14,7 +14,6 @@ ResumeContactRecording Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_SearchAgentStatuses.go.snap b/service/connect/snapshot/api_op_SearchAgentStatuses.go.snap index 309c5e6876d..f6a3f18825c 100644 --- a/service/connect/snapshot/api_op_SearchAgentStatuses.go.snap +++ b/service/connect/snapshot/api_op_SearchAgentStatuses.go.snap @@ -14,7 +14,6 @@ SearchAgentStatuses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_SearchAvailablePhoneNumbers.go.snap b/service/connect/snapshot/api_op_SearchAvailablePhoneNumbers.go.snap index 23d2fec24d2..3fcb8f15efb 100644 --- a/service/connect/snapshot/api_op_SearchAvailablePhoneNumbers.go.snap +++ b/service/connect/snapshot/api_op_SearchAvailablePhoneNumbers.go.snap @@ -14,7 +14,6 @@ SearchAvailablePhoneNumbers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_SearchContactFlowModules.go.snap b/service/connect/snapshot/api_op_SearchContactFlowModules.go.snap index ea08fe113ef..77efcb02b34 100644 --- a/service/connect/snapshot/api_op_SearchContactFlowModules.go.snap +++ b/service/connect/snapshot/api_op_SearchContactFlowModules.go.snap @@ -14,7 +14,6 @@ SearchContactFlowModules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_SearchContactFlows.go.snap b/service/connect/snapshot/api_op_SearchContactFlows.go.snap index 5e66b5be9bb..6c59f98924a 100644 --- a/service/connect/snapshot/api_op_SearchContactFlows.go.snap +++ b/service/connect/snapshot/api_op_SearchContactFlows.go.snap @@ -14,7 +14,6 @@ SearchContactFlows Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_SearchContacts.go.snap b/service/connect/snapshot/api_op_SearchContacts.go.snap index 772ce1ef6c6..fbebbbb7dd4 100644 --- a/service/connect/snapshot/api_op_SearchContacts.go.snap +++ b/service/connect/snapshot/api_op_SearchContacts.go.snap @@ -14,7 +14,6 @@ SearchContacts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_SearchEmailAddresses.go.snap b/service/connect/snapshot/api_op_SearchEmailAddresses.go.snap index 6b05e1b7cee..706ed652a42 100644 --- a/service/connect/snapshot/api_op_SearchEmailAddresses.go.snap +++ b/service/connect/snapshot/api_op_SearchEmailAddresses.go.snap @@ -14,7 +14,6 @@ SearchEmailAddresses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_SearchHoursOfOperationOverrides.go.snap b/service/connect/snapshot/api_op_SearchHoursOfOperationOverrides.go.snap index 7ace234d7ff..c3919ab48a5 100644 --- a/service/connect/snapshot/api_op_SearchHoursOfOperationOverrides.go.snap +++ b/service/connect/snapshot/api_op_SearchHoursOfOperationOverrides.go.snap @@ -14,7 +14,6 @@ SearchHoursOfOperationOverrides Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_SearchHoursOfOperations.go.snap b/service/connect/snapshot/api_op_SearchHoursOfOperations.go.snap index 5f291de216e..89e854e61ee 100644 --- a/service/connect/snapshot/api_op_SearchHoursOfOperations.go.snap +++ b/service/connect/snapshot/api_op_SearchHoursOfOperations.go.snap @@ -14,7 +14,6 @@ SearchHoursOfOperations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_SearchPredefinedAttributes.go.snap b/service/connect/snapshot/api_op_SearchPredefinedAttributes.go.snap index 7aa27745598..7132d4d1a2c 100644 --- a/service/connect/snapshot/api_op_SearchPredefinedAttributes.go.snap +++ b/service/connect/snapshot/api_op_SearchPredefinedAttributes.go.snap @@ -14,7 +14,6 @@ SearchPredefinedAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_SearchPrompts.go.snap b/service/connect/snapshot/api_op_SearchPrompts.go.snap index a1cbda8f30d..470bf540036 100644 --- a/service/connect/snapshot/api_op_SearchPrompts.go.snap +++ b/service/connect/snapshot/api_op_SearchPrompts.go.snap @@ -14,7 +14,6 @@ SearchPrompts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_SearchQueues.go.snap b/service/connect/snapshot/api_op_SearchQueues.go.snap index 030672d090d..15e713a8db2 100644 --- a/service/connect/snapshot/api_op_SearchQueues.go.snap +++ b/service/connect/snapshot/api_op_SearchQueues.go.snap @@ -14,7 +14,6 @@ SearchQueues Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_SearchQuickConnects.go.snap b/service/connect/snapshot/api_op_SearchQuickConnects.go.snap index be6ce8c8baa..028b7eb6e14 100644 --- a/service/connect/snapshot/api_op_SearchQuickConnects.go.snap +++ b/service/connect/snapshot/api_op_SearchQuickConnects.go.snap @@ -14,7 +14,6 @@ SearchQuickConnects Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_SearchResourceTags.go.snap b/service/connect/snapshot/api_op_SearchResourceTags.go.snap index 8164b637900..9894e17489e 100644 --- a/service/connect/snapshot/api_op_SearchResourceTags.go.snap +++ b/service/connect/snapshot/api_op_SearchResourceTags.go.snap @@ -14,7 +14,6 @@ SearchResourceTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_SearchRoutingProfiles.go.snap b/service/connect/snapshot/api_op_SearchRoutingProfiles.go.snap index 98bf4537853..48237373707 100644 --- a/service/connect/snapshot/api_op_SearchRoutingProfiles.go.snap +++ b/service/connect/snapshot/api_op_SearchRoutingProfiles.go.snap @@ -14,7 +14,6 @@ SearchRoutingProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_SearchSecurityProfiles.go.snap b/service/connect/snapshot/api_op_SearchSecurityProfiles.go.snap index fb1134040c2..14a17849886 100644 --- a/service/connect/snapshot/api_op_SearchSecurityProfiles.go.snap +++ b/service/connect/snapshot/api_op_SearchSecurityProfiles.go.snap @@ -14,7 +14,6 @@ SearchSecurityProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_SearchUserHierarchyGroups.go.snap b/service/connect/snapshot/api_op_SearchUserHierarchyGroups.go.snap index 68eeda361f4..d8ec541d758 100644 --- a/service/connect/snapshot/api_op_SearchUserHierarchyGroups.go.snap +++ b/service/connect/snapshot/api_op_SearchUserHierarchyGroups.go.snap @@ -14,7 +14,6 @@ SearchUserHierarchyGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_SearchUsers.go.snap b/service/connect/snapshot/api_op_SearchUsers.go.snap index 69d7d812318..8a897a6be7c 100644 --- a/service/connect/snapshot/api_op_SearchUsers.go.snap +++ b/service/connect/snapshot/api_op_SearchUsers.go.snap @@ -14,7 +14,6 @@ SearchUsers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_SearchVocabularies.go.snap b/service/connect/snapshot/api_op_SearchVocabularies.go.snap index aa5a9581359..90ddcaa91c0 100644 --- a/service/connect/snapshot/api_op_SearchVocabularies.go.snap +++ b/service/connect/snapshot/api_op_SearchVocabularies.go.snap @@ -14,7 +14,6 @@ SearchVocabularies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_SendChatIntegrationEvent.go.snap b/service/connect/snapshot/api_op_SendChatIntegrationEvent.go.snap index e9e52f93f06..20abc27ad5d 100644 --- a/service/connect/snapshot/api_op_SendChatIntegrationEvent.go.snap +++ b/service/connect/snapshot/api_op_SendChatIntegrationEvent.go.snap @@ -14,7 +14,6 @@ SendChatIntegrationEvent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_SendOutboundEmail.go.snap b/service/connect/snapshot/api_op_SendOutboundEmail.go.snap index 5ba577f1b2f..590bd89444d 100644 --- a/service/connect/snapshot/api_op_SendOutboundEmail.go.snap +++ b/service/connect/snapshot/api_op_SendOutboundEmail.go.snap @@ -15,7 +15,6 @@ SendOutboundEmail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_StartAttachedFileUpload.go.snap b/service/connect/snapshot/api_op_StartAttachedFileUpload.go.snap index 409155f6087..e5cf1cd01d8 100644 --- a/service/connect/snapshot/api_op_StartAttachedFileUpload.go.snap +++ b/service/connect/snapshot/api_op_StartAttachedFileUpload.go.snap @@ -15,7 +15,6 @@ StartAttachedFileUpload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_StartChatContact.go.snap b/service/connect/snapshot/api_op_StartChatContact.go.snap index cd9867db7e7..76c4cded3ae 100644 --- a/service/connect/snapshot/api_op_StartChatContact.go.snap +++ b/service/connect/snapshot/api_op_StartChatContact.go.snap @@ -15,7 +15,6 @@ StartChatContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_StartContactEvaluation.go.snap b/service/connect/snapshot/api_op_StartContactEvaluation.go.snap index ee4a5d10a6b..7f8e67d5883 100644 --- a/service/connect/snapshot/api_op_StartContactEvaluation.go.snap +++ b/service/connect/snapshot/api_op_StartContactEvaluation.go.snap @@ -15,7 +15,6 @@ StartContactEvaluation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_StartContactRecording.go.snap b/service/connect/snapshot/api_op_StartContactRecording.go.snap index 134250de3ef..24deb958f59 100644 --- a/service/connect/snapshot/api_op_StartContactRecording.go.snap +++ b/service/connect/snapshot/api_op_StartContactRecording.go.snap @@ -14,7 +14,6 @@ StartContactRecording Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_StartContactStreaming.go.snap b/service/connect/snapshot/api_op_StartContactStreaming.go.snap index 27cc1c71be0..8d42f0831ed 100644 --- a/service/connect/snapshot/api_op_StartContactStreaming.go.snap +++ b/service/connect/snapshot/api_op_StartContactStreaming.go.snap @@ -15,7 +15,6 @@ StartContactStreaming Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_StartEmailContact.go.snap b/service/connect/snapshot/api_op_StartEmailContact.go.snap index c39ab83f99b..ec872ae1d6a 100644 --- a/service/connect/snapshot/api_op_StartEmailContact.go.snap +++ b/service/connect/snapshot/api_op_StartEmailContact.go.snap @@ -15,7 +15,6 @@ StartEmailContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_StartOutboundChatContact.go.snap b/service/connect/snapshot/api_op_StartOutboundChatContact.go.snap index 85a4db899b1..5a192ed0d94 100644 --- a/service/connect/snapshot/api_op_StartOutboundChatContact.go.snap +++ b/service/connect/snapshot/api_op_StartOutboundChatContact.go.snap @@ -15,7 +15,6 @@ StartOutboundChatContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_StartOutboundEmailContact.go.snap b/service/connect/snapshot/api_op_StartOutboundEmailContact.go.snap index a8978990305..d29cfe0f50b 100644 --- a/service/connect/snapshot/api_op_StartOutboundEmailContact.go.snap +++ b/service/connect/snapshot/api_op_StartOutboundEmailContact.go.snap @@ -15,7 +15,6 @@ StartOutboundEmailContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_StartOutboundVoiceContact.go.snap b/service/connect/snapshot/api_op_StartOutboundVoiceContact.go.snap index 4849c56d70f..91c741ee2ce 100644 --- a/service/connect/snapshot/api_op_StartOutboundVoiceContact.go.snap +++ b/service/connect/snapshot/api_op_StartOutboundVoiceContact.go.snap @@ -15,7 +15,6 @@ StartOutboundVoiceContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_StartScreenSharing.go.snap b/service/connect/snapshot/api_op_StartScreenSharing.go.snap index 65cb9b5ebfa..d1d7a2380e3 100644 --- a/service/connect/snapshot/api_op_StartScreenSharing.go.snap +++ b/service/connect/snapshot/api_op_StartScreenSharing.go.snap @@ -15,7 +15,6 @@ StartScreenSharing Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_StartTaskContact.go.snap b/service/connect/snapshot/api_op_StartTaskContact.go.snap index 3d9288a80c8..44ca8de666a 100644 --- a/service/connect/snapshot/api_op_StartTaskContact.go.snap +++ b/service/connect/snapshot/api_op_StartTaskContact.go.snap @@ -15,7 +15,6 @@ StartTaskContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_StartWebRTCContact.go.snap b/service/connect/snapshot/api_op_StartWebRTCContact.go.snap index a7626f5b403..a02bfbc0d0a 100644 --- a/service/connect/snapshot/api_op_StartWebRTCContact.go.snap +++ b/service/connect/snapshot/api_op_StartWebRTCContact.go.snap @@ -15,7 +15,6 @@ StartWebRTCContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_StopContact.go.snap b/service/connect/snapshot/api_op_StopContact.go.snap index f8f740c4ce2..051b2ce559a 100644 --- a/service/connect/snapshot/api_op_StopContact.go.snap +++ b/service/connect/snapshot/api_op_StopContact.go.snap @@ -14,7 +14,6 @@ StopContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_StopContactRecording.go.snap b/service/connect/snapshot/api_op_StopContactRecording.go.snap index d8f20626aa3..8a8b4d2b575 100644 --- a/service/connect/snapshot/api_op_StopContactRecording.go.snap +++ b/service/connect/snapshot/api_op_StopContactRecording.go.snap @@ -14,7 +14,6 @@ StopContactRecording Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_StopContactStreaming.go.snap b/service/connect/snapshot/api_op_StopContactStreaming.go.snap index 59c855b964d..86be51120d2 100644 --- a/service/connect/snapshot/api_op_StopContactStreaming.go.snap +++ b/service/connect/snapshot/api_op_StopContactStreaming.go.snap @@ -14,7 +14,6 @@ StopContactStreaming Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_SubmitContactEvaluation.go.snap b/service/connect/snapshot/api_op_SubmitContactEvaluation.go.snap index 474211aba3f..84231a04f4b 100644 --- a/service/connect/snapshot/api_op_SubmitContactEvaluation.go.snap +++ b/service/connect/snapshot/api_op_SubmitContactEvaluation.go.snap @@ -14,7 +14,6 @@ SubmitContactEvaluation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_SuspendContactRecording.go.snap b/service/connect/snapshot/api_op_SuspendContactRecording.go.snap index 62728480406..0b2fcf06607 100644 --- a/service/connect/snapshot/api_op_SuspendContactRecording.go.snap +++ b/service/connect/snapshot/api_op_SuspendContactRecording.go.snap @@ -14,7 +14,6 @@ SuspendContactRecording Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_TagContact.go.snap b/service/connect/snapshot/api_op_TagContact.go.snap index 511e3288a1d..c3768ec0ed1 100644 --- a/service/connect/snapshot/api_op_TagContact.go.snap +++ b/service/connect/snapshot/api_op_TagContact.go.snap @@ -14,7 +14,6 @@ TagContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_TagResource.go.snap b/service/connect/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/connect/snapshot/api_op_TagResource.go.snap +++ b/service/connect/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_TransferContact.go.snap b/service/connect/snapshot/api_op_TransferContact.go.snap index 2dcc33d843a..0d0f7591663 100644 --- a/service/connect/snapshot/api_op_TransferContact.go.snap +++ b/service/connect/snapshot/api_op_TransferContact.go.snap @@ -15,7 +15,6 @@ TransferContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UntagContact.go.snap b/service/connect/snapshot/api_op_UntagContact.go.snap index 6421a940a04..6f1e4e5eb7a 100644 --- a/service/connect/snapshot/api_op_UntagContact.go.snap +++ b/service/connect/snapshot/api_op_UntagContact.go.snap @@ -14,7 +14,6 @@ UntagContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UntagResource.go.snap b/service/connect/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/connect/snapshot/api_op_UntagResource.go.snap +++ b/service/connect/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateAgentStatus.go.snap b/service/connect/snapshot/api_op_UpdateAgentStatus.go.snap index bd8a5cb292d..87ed8f3202b 100644 --- a/service/connect/snapshot/api_op_UpdateAgentStatus.go.snap +++ b/service/connect/snapshot/api_op_UpdateAgentStatus.go.snap @@ -14,7 +14,6 @@ UpdateAgentStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateAuthenticationProfile.go.snap b/service/connect/snapshot/api_op_UpdateAuthenticationProfile.go.snap index 5b6435cc490..8683a1e41fe 100644 --- a/service/connect/snapshot/api_op_UpdateAuthenticationProfile.go.snap +++ b/service/connect/snapshot/api_op_UpdateAuthenticationProfile.go.snap @@ -14,7 +14,6 @@ UpdateAuthenticationProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateContact.go.snap b/service/connect/snapshot/api_op_UpdateContact.go.snap index b868a28e8ea..084a8071e0f 100644 --- a/service/connect/snapshot/api_op_UpdateContact.go.snap +++ b/service/connect/snapshot/api_op_UpdateContact.go.snap @@ -14,7 +14,6 @@ UpdateContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateContactAttributes.go.snap b/service/connect/snapshot/api_op_UpdateContactAttributes.go.snap index 4c7c61e1b32..ff305fd5d93 100644 --- a/service/connect/snapshot/api_op_UpdateContactAttributes.go.snap +++ b/service/connect/snapshot/api_op_UpdateContactAttributes.go.snap @@ -14,7 +14,6 @@ UpdateContactAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateContactEvaluation.go.snap b/service/connect/snapshot/api_op_UpdateContactEvaluation.go.snap index a5291af752a..b6504168b27 100644 --- a/service/connect/snapshot/api_op_UpdateContactEvaluation.go.snap +++ b/service/connect/snapshot/api_op_UpdateContactEvaluation.go.snap @@ -14,7 +14,6 @@ UpdateContactEvaluation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateContactFlowContent.go.snap b/service/connect/snapshot/api_op_UpdateContactFlowContent.go.snap index 52f95c9b725..6343c1ede14 100644 --- a/service/connect/snapshot/api_op_UpdateContactFlowContent.go.snap +++ b/service/connect/snapshot/api_op_UpdateContactFlowContent.go.snap @@ -14,7 +14,6 @@ UpdateContactFlowContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateContactFlowMetadata.go.snap b/service/connect/snapshot/api_op_UpdateContactFlowMetadata.go.snap index 353ec69de5f..cbbb136cd79 100644 --- a/service/connect/snapshot/api_op_UpdateContactFlowMetadata.go.snap +++ b/service/connect/snapshot/api_op_UpdateContactFlowMetadata.go.snap @@ -14,7 +14,6 @@ UpdateContactFlowMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateContactFlowModuleContent.go.snap b/service/connect/snapshot/api_op_UpdateContactFlowModuleContent.go.snap index 26d05124fa9..4426c1a3bce 100644 --- a/service/connect/snapshot/api_op_UpdateContactFlowModuleContent.go.snap +++ b/service/connect/snapshot/api_op_UpdateContactFlowModuleContent.go.snap @@ -14,7 +14,6 @@ UpdateContactFlowModuleContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateContactFlowModuleMetadata.go.snap b/service/connect/snapshot/api_op_UpdateContactFlowModuleMetadata.go.snap index 421e121eaef..5533cf43919 100644 --- a/service/connect/snapshot/api_op_UpdateContactFlowModuleMetadata.go.snap +++ b/service/connect/snapshot/api_op_UpdateContactFlowModuleMetadata.go.snap @@ -14,7 +14,6 @@ UpdateContactFlowModuleMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateContactFlowName.go.snap b/service/connect/snapshot/api_op_UpdateContactFlowName.go.snap index 0555bb665ca..21d9eed984a 100644 --- a/service/connect/snapshot/api_op_UpdateContactFlowName.go.snap +++ b/service/connect/snapshot/api_op_UpdateContactFlowName.go.snap @@ -14,7 +14,6 @@ UpdateContactFlowName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateContactRoutingData.go.snap b/service/connect/snapshot/api_op_UpdateContactRoutingData.go.snap index 28d20f3f911..c41189186bd 100644 --- a/service/connect/snapshot/api_op_UpdateContactRoutingData.go.snap +++ b/service/connect/snapshot/api_op_UpdateContactRoutingData.go.snap @@ -14,7 +14,6 @@ UpdateContactRoutingData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateContactSchedule.go.snap b/service/connect/snapshot/api_op_UpdateContactSchedule.go.snap index d8d4dd0960a..7db2aab1f67 100644 --- a/service/connect/snapshot/api_op_UpdateContactSchedule.go.snap +++ b/service/connect/snapshot/api_op_UpdateContactSchedule.go.snap @@ -14,7 +14,6 @@ UpdateContactSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateEmailAddressMetadata.go.snap b/service/connect/snapshot/api_op_UpdateEmailAddressMetadata.go.snap index 6bb967f8f4d..198c07aa2c4 100644 --- a/service/connect/snapshot/api_op_UpdateEmailAddressMetadata.go.snap +++ b/service/connect/snapshot/api_op_UpdateEmailAddressMetadata.go.snap @@ -14,7 +14,6 @@ UpdateEmailAddressMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateEvaluationForm.go.snap b/service/connect/snapshot/api_op_UpdateEvaluationForm.go.snap index e30ba517afa..1dde83bbacb 100644 --- a/service/connect/snapshot/api_op_UpdateEvaluationForm.go.snap +++ b/service/connect/snapshot/api_op_UpdateEvaluationForm.go.snap @@ -15,7 +15,6 @@ UpdateEvaluationForm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateHoursOfOperation.go.snap b/service/connect/snapshot/api_op_UpdateHoursOfOperation.go.snap index 8c72a5bfd0c..5f45c51b93c 100644 --- a/service/connect/snapshot/api_op_UpdateHoursOfOperation.go.snap +++ b/service/connect/snapshot/api_op_UpdateHoursOfOperation.go.snap @@ -14,7 +14,6 @@ UpdateHoursOfOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateHoursOfOperationOverride.go.snap b/service/connect/snapshot/api_op_UpdateHoursOfOperationOverride.go.snap index d25a93889f8..f16382a9594 100644 --- a/service/connect/snapshot/api_op_UpdateHoursOfOperationOverride.go.snap +++ b/service/connect/snapshot/api_op_UpdateHoursOfOperationOverride.go.snap @@ -14,7 +14,6 @@ UpdateHoursOfOperationOverride Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateInstanceAttribute.go.snap b/service/connect/snapshot/api_op_UpdateInstanceAttribute.go.snap index c4675e7ad8d..8b2a82f27af 100644 --- a/service/connect/snapshot/api_op_UpdateInstanceAttribute.go.snap +++ b/service/connect/snapshot/api_op_UpdateInstanceAttribute.go.snap @@ -15,7 +15,6 @@ UpdateInstanceAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateInstanceStorageConfig.go.snap b/service/connect/snapshot/api_op_UpdateInstanceStorageConfig.go.snap index 8ef8c534e16..c89b747a07f 100644 --- a/service/connect/snapshot/api_op_UpdateInstanceStorageConfig.go.snap +++ b/service/connect/snapshot/api_op_UpdateInstanceStorageConfig.go.snap @@ -15,7 +15,6 @@ UpdateInstanceStorageConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateParticipantAuthentication.go.snap b/service/connect/snapshot/api_op_UpdateParticipantAuthentication.go.snap index 117e076addc..e2b69457609 100644 --- a/service/connect/snapshot/api_op_UpdateParticipantAuthentication.go.snap +++ b/service/connect/snapshot/api_op_UpdateParticipantAuthentication.go.snap @@ -14,7 +14,6 @@ UpdateParticipantAuthentication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateParticipantRoleConfig.go.snap b/service/connect/snapshot/api_op_UpdateParticipantRoleConfig.go.snap index 7d8b53c1278..efd3352fed1 100644 --- a/service/connect/snapshot/api_op_UpdateParticipantRoleConfig.go.snap +++ b/service/connect/snapshot/api_op_UpdateParticipantRoleConfig.go.snap @@ -14,7 +14,6 @@ UpdateParticipantRoleConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdatePhoneNumber.go.snap b/service/connect/snapshot/api_op_UpdatePhoneNumber.go.snap index e639ae58b34..85b0e96b5dc 100644 --- a/service/connect/snapshot/api_op_UpdatePhoneNumber.go.snap +++ b/service/connect/snapshot/api_op_UpdatePhoneNumber.go.snap @@ -15,7 +15,6 @@ UpdatePhoneNumber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdatePhoneNumberMetadata.go.snap b/service/connect/snapshot/api_op_UpdatePhoneNumberMetadata.go.snap index ee37f1fae86..8c32d6c5a44 100644 --- a/service/connect/snapshot/api_op_UpdatePhoneNumberMetadata.go.snap +++ b/service/connect/snapshot/api_op_UpdatePhoneNumberMetadata.go.snap @@ -15,7 +15,6 @@ UpdatePhoneNumberMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdatePredefinedAttribute.go.snap b/service/connect/snapshot/api_op_UpdatePredefinedAttribute.go.snap index 03dda31828f..32a48b0d46f 100644 --- a/service/connect/snapshot/api_op_UpdatePredefinedAttribute.go.snap +++ b/service/connect/snapshot/api_op_UpdatePredefinedAttribute.go.snap @@ -14,7 +14,6 @@ UpdatePredefinedAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdatePrompt.go.snap b/service/connect/snapshot/api_op_UpdatePrompt.go.snap index e31eb61b548..c2c03cce58f 100644 --- a/service/connect/snapshot/api_op_UpdatePrompt.go.snap +++ b/service/connect/snapshot/api_op_UpdatePrompt.go.snap @@ -14,7 +14,6 @@ UpdatePrompt Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateQueueHoursOfOperation.go.snap b/service/connect/snapshot/api_op_UpdateQueueHoursOfOperation.go.snap index 1de9053990e..9c94c878dc8 100644 --- a/service/connect/snapshot/api_op_UpdateQueueHoursOfOperation.go.snap +++ b/service/connect/snapshot/api_op_UpdateQueueHoursOfOperation.go.snap @@ -14,7 +14,6 @@ UpdateQueueHoursOfOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateQueueMaxContacts.go.snap b/service/connect/snapshot/api_op_UpdateQueueMaxContacts.go.snap index ae2785088c2..cf04f856d6a 100644 --- a/service/connect/snapshot/api_op_UpdateQueueMaxContacts.go.snap +++ b/service/connect/snapshot/api_op_UpdateQueueMaxContacts.go.snap @@ -14,7 +14,6 @@ UpdateQueueMaxContacts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateQueueName.go.snap b/service/connect/snapshot/api_op_UpdateQueueName.go.snap index bae86ca7664..0fb052e44bb 100644 --- a/service/connect/snapshot/api_op_UpdateQueueName.go.snap +++ b/service/connect/snapshot/api_op_UpdateQueueName.go.snap @@ -14,7 +14,6 @@ UpdateQueueName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateQueueOutboundCallerConfig.go.snap b/service/connect/snapshot/api_op_UpdateQueueOutboundCallerConfig.go.snap index d5f913ee568..1a6124d7365 100644 --- a/service/connect/snapshot/api_op_UpdateQueueOutboundCallerConfig.go.snap +++ b/service/connect/snapshot/api_op_UpdateQueueOutboundCallerConfig.go.snap @@ -14,7 +14,6 @@ UpdateQueueOutboundCallerConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateQueueOutboundEmailConfig.go.snap b/service/connect/snapshot/api_op_UpdateQueueOutboundEmailConfig.go.snap index 04554b7917d..d4aebf52478 100644 --- a/service/connect/snapshot/api_op_UpdateQueueOutboundEmailConfig.go.snap +++ b/service/connect/snapshot/api_op_UpdateQueueOutboundEmailConfig.go.snap @@ -14,7 +14,6 @@ UpdateQueueOutboundEmailConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateQueueStatus.go.snap b/service/connect/snapshot/api_op_UpdateQueueStatus.go.snap index fdff8bdc656..dc1c11c8480 100644 --- a/service/connect/snapshot/api_op_UpdateQueueStatus.go.snap +++ b/service/connect/snapshot/api_op_UpdateQueueStatus.go.snap @@ -14,7 +14,6 @@ UpdateQueueStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateQuickConnectConfig.go.snap b/service/connect/snapshot/api_op_UpdateQuickConnectConfig.go.snap index d64feaa1ca1..2b84d3cdd69 100644 --- a/service/connect/snapshot/api_op_UpdateQuickConnectConfig.go.snap +++ b/service/connect/snapshot/api_op_UpdateQuickConnectConfig.go.snap @@ -14,7 +14,6 @@ UpdateQuickConnectConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateQuickConnectName.go.snap b/service/connect/snapshot/api_op_UpdateQuickConnectName.go.snap index 827a7dae8e5..d18bd7ff3ce 100644 --- a/service/connect/snapshot/api_op_UpdateQuickConnectName.go.snap +++ b/service/connect/snapshot/api_op_UpdateQuickConnectName.go.snap @@ -14,7 +14,6 @@ UpdateQuickConnectName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateRoutingProfileAgentAvailabilityTimer.go.snap b/service/connect/snapshot/api_op_UpdateRoutingProfileAgentAvailabilityTimer.go.snap index 15ff4d8e9a3..7a0ed41941a 100644 --- a/service/connect/snapshot/api_op_UpdateRoutingProfileAgentAvailabilityTimer.go.snap +++ b/service/connect/snapshot/api_op_UpdateRoutingProfileAgentAvailabilityTimer.go.snap @@ -14,7 +14,6 @@ UpdateRoutingProfileAgentAvailabilityTimer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateRoutingProfileConcurrency.go.snap b/service/connect/snapshot/api_op_UpdateRoutingProfileConcurrency.go.snap index 56fef0af896..2c7e397e90d 100644 --- a/service/connect/snapshot/api_op_UpdateRoutingProfileConcurrency.go.snap +++ b/service/connect/snapshot/api_op_UpdateRoutingProfileConcurrency.go.snap @@ -14,7 +14,6 @@ UpdateRoutingProfileConcurrency Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateRoutingProfileDefaultOutboundQueue.go.snap b/service/connect/snapshot/api_op_UpdateRoutingProfileDefaultOutboundQueue.go.snap index b7d3ad0a7f2..82d1e99492f 100644 --- a/service/connect/snapshot/api_op_UpdateRoutingProfileDefaultOutboundQueue.go.snap +++ b/service/connect/snapshot/api_op_UpdateRoutingProfileDefaultOutboundQueue.go.snap @@ -14,7 +14,6 @@ UpdateRoutingProfileDefaultOutboundQueue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateRoutingProfileName.go.snap b/service/connect/snapshot/api_op_UpdateRoutingProfileName.go.snap index 7e07e9c1a00..8cc2540e2d5 100644 --- a/service/connect/snapshot/api_op_UpdateRoutingProfileName.go.snap +++ b/service/connect/snapshot/api_op_UpdateRoutingProfileName.go.snap @@ -14,7 +14,6 @@ UpdateRoutingProfileName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateRoutingProfileQueues.go.snap b/service/connect/snapshot/api_op_UpdateRoutingProfileQueues.go.snap index eebf171bee5..d8389ba011a 100644 --- a/service/connect/snapshot/api_op_UpdateRoutingProfileQueues.go.snap +++ b/service/connect/snapshot/api_op_UpdateRoutingProfileQueues.go.snap @@ -14,7 +14,6 @@ UpdateRoutingProfileQueues Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateRule.go.snap b/service/connect/snapshot/api_op_UpdateRule.go.snap index 4eccda0001c..fb285fb40de 100644 --- a/service/connect/snapshot/api_op_UpdateRule.go.snap +++ b/service/connect/snapshot/api_op_UpdateRule.go.snap @@ -14,7 +14,6 @@ UpdateRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateSecurityProfile.go.snap b/service/connect/snapshot/api_op_UpdateSecurityProfile.go.snap index 17654e6b08f..b63273b477c 100644 --- a/service/connect/snapshot/api_op_UpdateSecurityProfile.go.snap +++ b/service/connect/snapshot/api_op_UpdateSecurityProfile.go.snap @@ -14,7 +14,6 @@ UpdateSecurityProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateTaskTemplate.go.snap b/service/connect/snapshot/api_op_UpdateTaskTemplate.go.snap index ae884a44a1f..4738e62f58a 100644 --- a/service/connect/snapshot/api_op_UpdateTaskTemplate.go.snap +++ b/service/connect/snapshot/api_op_UpdateTaskTemplate.go.snap @@ -14,7 +14,6 @@ UpdateTaskTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateTrafficDistribution.go.snap b/service/connect/snapshot/api_op_UpdateTrafficDistribution.go.snap index a5c74d9094e..30841bbcd89 100644 --- a/service/connect/snapshot/api_op_UpdateTrafficDistribution.go.snap +++ b/service/connect/snapshot/api_op_UpdateTrafficDistribution.go.snap @@ -14,7 +14,6 @@ UpdateTrafficDistribution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateUserHierarchy.go.snap b/service/connect/snapshot/api_op_UpdateUserHierarchy.go.snap index 7ccfbda29ae..9e4cc073e2f 100644 --- a/service/connect/snapshot/api_op_UpdateUserHierarchy.go.snap +++ b/service/connect/snapshot/api_op_UpdateUserHierarchy.go.snap @@ -14,7 +14,6 @@ UpdateUserHierarchy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateUserHierarchyGroupName.go.snap b/service/connect/snapshot/api_op_UpdateUserHierarchyGroupName.go.snap index 1d2dd0efa0b..d061121a3cf 100644 --- a/service/connect/snapshot/api_op_UpdateUserHierarchyGroupName.go.snap +++ b/service/connect/snapshot/api_op_UpdateUserHierarchyGroupName.go.snap @@ -14,7 +14,6 @@ UpdateUserHierarchyGroupName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateUserHierarchyStructure.go.snap b/service/connect/snapshot/api_op_UpdateUserHierarchyStructure.go.snap index 69c01d291f0..035b54a80ce 100644 --- a/service/connect/snapshot/api_op_UpdateUserHierarchyStructure.go.snap +++ b/service/connect/snapshot/api_op_UpdateUserHierarchyStructure.go.snap @@ -14,7 +14,6 @@ UpdateUserHierarchyStructure Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateUserIdentityInfo.go.snap b/service/connect/snapshot/api_op_UpdateUserIdentityInfo.go.snap index 5e350f7cc6d..2700c56917c 100644 --- a/service/connect/snapshot/api_op_UpdateUserIdentityInfo.go.snap +++ b/service/connect/snapshot/api_op_UpdateUserIdentityInfo.go.snap @@ -14,7 +14,6 @@ UpdateUserIdentityInfo Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateUserPhoneConfig.go.snap b/service/connect/snapshot/api_op_UpdateUserPhoneConfig.go.snap index 0353441e18e..272cab15fb8 100644 --- a/service/connect/snapshot/api_op_UpdateUserPhoneConfig.go.snap +++ b/service/connect/snapshot/api_op_UpdateUserPhoneConfig.go.snap @@ -14,7 +14,6 @@ UpdateUserPhoneConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateUserProficiencies.go.snap b/service/connect/snapshot/api_op_UpdateUserProficiencies.go.snap index 1f1fa4ed7f2..8a330a3afc9 100644 --- a/service/connect/snapshot/api_op_UpdateUserProficiencies.go.snap +++ b/service/connect/snapshot/api_op_UpdateUserProficiencies.go.snap @@ -14,7 +14,6 @@ UpdateUserProficiencies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateUserRoutingProfile.go.snap b/service/connect/snapshot/api_op_UpdateUserRoutingProfile.go.snap index 0dd453c53da..99e7a3c6800 100644 --- a/service/connect/snapshot/api_op_UpdateUserRoutingProfile.go.snap +++ b/service/connect/snapshot/api_op_UpdateUserRoutingProfile.go.snap @@ -14,7 +14,6 @@ UpdateUserRoutingProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateUserSecurityProfiles.go.snap b/service/connect/snapshot/api_op_UpdateUserSecurityProfiles.go.snap index f6353702d1b..82b3be6d73e 100644 --- a/service/connect/snapshot/api_op_UpdateUserSecurityProfiles.go.snap +++ b/service/connect/snapshot/api_op_UpdateUserSecurityProfiles.go.snap @@ -14,7 +14,6 @@ UpdateUserSecurityProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateViewContent.go.snap b/service/connect/snapshot/api_op_UpdateViewContent.go.snap index 903182252ac..dcd04d7da57 100644 --- a/service/connect/snapshot/api_op_UpdateViewContent.go.snap +++ b/service/connect/snapshot/api_op_UpdateViewContent.go.snap @@ -14,7 +14,6 @@ UpdateViewContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connect/snapshot/api_op_UpdateViewMetadata.go.snap b/service/connect/snapshot/api_op_UpdateViewMetadata.go.snap index cfd56f66e2f..a129b63d5d9 100644 --- a/service/connect/snapshot/api_op_UpdateViewMetadata.go.snap +++ b/service/connect/snapshot/api_op_UpdateViewMetadata.go.snap @@ -14,7 +14,6 @@ UpdateViewMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaigns/api_client.go b/service/connectcampaigns/api_client.go index ea1ba37aaa8..79c9372b841 100644 --- a/service/connectcampaigns/api_client.go +++ b/service/connectcampaigns/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/connectcampaigns/api_op_CreateCampaign.go b/service/connectcampaigns/api_op_CreateCampaign.go index 7f715a7dd64..10c609e4db9 100644 --- a/service/connectcampaigns/api_op_CreateCampaign.go +++ b/service/connectcampaigns/api_op_CreateCampaign.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateCampaignMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCampaignValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_DeleteCampaign.go b/service/connectcampaigns/api_op_DeleteCampaign.go index aea8981badb..57fdc1f7b4d 100644 --- a/service/connectcampaigns/api_op_DeleteCampaign.go +++ b/service/connectcampaigns/api_op_DeleteCampaign.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteCampaignMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCampaignValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_DeleteConnectInstanceConfig.go b/service/connectcampaigns/api_op_DeleteConnectInstanceConfig.go index 390fb8e6df0..79efa1a3d16 100644 --- a/service/connectcampaigns/api_op_DeleteConnectInstanceConfig.go +++ b/service/connectcampaigns/api_op_DeleteConnectInstanceConfig.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteConnectInstanceConfigMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConnectInstanceConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_DeleteInstanceOnboardingJob.go b/service/connectcampaigns/api_op_DeleteInstanceOnboardingJob.go index 7259a21946f..3e4b09e9810 100644 --- a/service/connectcampaigns/api_op_DeleteInstanceOnboardingJob.go +++ b/service/connectcampaigns/api_op_DeleteInstanceOnboardingJob.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteInstanceOnboardingJobMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInstanceOnboardingJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_DescribeCampaign.go b/service/connectcampaigns/api_op_DescribeCampaign.go index 4fa2d11ff42..9c3c206da6d 100644 --- a/service/connectcampaigns/api_op_DescribeCampaign.go +++ b/service/connectcampaigns/api_op_DescribeCampaign.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribeCampaignMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCampaignValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_GetCampaignState.go b/service/connectcampaigns/api_op_GetCampaignState.go index 0a745cb42c7..461c696d5f8 100644 --- a/service/connectcampaigns/api_op_GetCampaignState.go +++ b/service/connectcampaigns/api_op_GetCampaignState.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetCampaignStateMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCampaignStateValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_GetCampaignStateBatch.go b/service/connectcampaigns/api_op_GetCampaignStateBatch.go index dd5a7cae5c1..902820aa5f3 100644 --- a/service/connectcampaigns/api_op_GetCampaignStateBatch.go +++ b/service/connectcampaigns/api_op_GetCampaignStateBatch.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetCampaignStateBatchMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCampaignStateBatchValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_GetConnectInstanceConfig.go b/service/connectcampaigns/api_op_GetConnectInstanceConfig.go index 7246bf3191e..8bb4f6ca8ee 100644 --- a/service/connectcampaigns/api_op_GetConnectInstanceConfig.go +++ b/service/connectcampaigns/api_op_GetConnectInstanceConfig.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetConnectInstanceConfigMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConnectInstanceConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_GetInstanceOnboardingJobStatus.go b/service/connectcampaigns/api_op_GetInstanceOnboardingJobStatus.go index cfb5c97567a..33167d87082 100644 --- a/service/connectcampaigns/api_op_GetInstanceOnboardingJobStatus.go +++ b/service/connectcampaigns/api_op_GetInstanceOnboardingJobStatus.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetInstanceOnboardingJobStatusMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInstanceOnboardingJobStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_ListCampaigns.go b/service/connectcampaigns/api_op_ListCampaigns.go index f20252f9787..3f2e8c42525 100644 --- a/service/connectcampaigns/api_op_ListCampaigns.go +++ b/service/connectcampaigns/api_op_ListCampaigns.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListCampaignsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCampaignsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_ListTagsForResource.go b/service/connectcampaigns/api_op_ListTagsForResource.go index 380028b618d..444eb68d882 100644 --- a/service/connectcampaigns/api_op_ListTagsForResource.go +++ b/service/connectcampaigns/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_PauseCampaign.go b/service/connectcampaigns/api_op_PauseCampaign.go index f2a47d0c9af..11bb1b99b8d 100644 --- a/service/connectcampaigns/api_op_PauseCampaign.go +++ b/service/connectcampaigns/api_op_PauseCampaign.go @@ -108,9 +108,6 @@ func (c *Client) addOperationPauseCampaignMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPauseCampaignValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_PutDialRequestBatch.go b/service/connectcampaigns/api_op_PutDialRequestBatch.go index e71bc54a1e8..b186fa2245b 100644 --- a/service/connectcampaigns/api_op_PutDialRequestBatch.go +++ b/service/connectcampaigns/api_op_PutDialRequestBatch.go @@ -123,9 +123,6 @@ func (c *Client) addOperationPutDialRequestBatchMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutDialRequestBatchValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_ResumeCampaign.go b/service/connectcampaigns/api_op_ResumeCampaign.go index a7bbbaa2ea2..0062d59a487 100644 --- a/service/connectcampaigns/api_op_ResumeCampaign.go +++ b/service/connectcampaigns/api_op_ResumeCampaign.go @@ -108,9 +108,6 @@ func (c *Client) addOperationResumeCampaignMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResumeCampaignValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_StartCampaign.go b/service/connectcampaigns/api_op_StartCampaign.go index 45c6e4e2154..14ce61608c3 100644 --- a/service/connectcampaigns/api_op_StartCampaign.go +++ b/service/connectcampaigns/api_op_StartCampaign.go @@ -108,9 +108,6 @@ func (c *Client) addOperationStartCampaignMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartCampaignValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_StartInstanceOnboardingJob.go b/service/connectcampaigns/api_op_StartInstanceOnboardingJob.go index 553cf89e8ab..30789f7d3f8 100644 --- a/service/connectcampaigns/api_op_StartInstanceOnboardingJob.go +++ b/service/connectcampaigns/api_op_StartInstanceOnboardingJob.go @@ -122,9 +122,6 @@ func (c *Client) addOperationStartInstanceOnboardingJobMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartInstanceOnboardingJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_StopCampaign.go b/service/connectcampaigns/api_op_StopCampaign.go index c42587c70dd..b0979213d0b 100644 --- a/service/connectcampaigns/api_op_StopCampaign.go +++ b/service/connectcampaigns/api_op_StopCampaign.go @@ -108,9 +108,6 @@ func (c *Client) addOperationStopCampaignMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopCampaignValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_TagResource.go b/service/connectcampaigns/api_op_TagResource.go index 245335f0087..5b2edd35c69 100644 --- a/service/connectcampaigns/api_op_TagResource.go +++ b/service/connectcampaigns/api_op_TagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_UntagResource.go b/service/connectcampaigns/api_op_UntagResource.go index 4df3562051e..1752807fa11 100644 --- a/service/connectcampaigns/api_op_UntagResource.go +++ b/service/connectcampaigns/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_UpdateCampaignDialerConfig.go b/service/connectcampaigns/api_op_UpdateCampaignDialerConfig.go index 8385869c2ec..7903821e0e9 100644 --- a/service/connectcampaigns/api_op_UpdateCampaignDialerConfig.go +++ b/service/connectcampaigns/api_op_UpdateCampaignDialerConfig.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUpdateCampaignDialerConfigMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCampaignDialerConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_UpdateCampaignName.go b/service/connectcampaigns/api_op_UpdateCampaignName.go index 27a709a9538..3224e41f352 100644 --- a/service/connectcampaigns/api_op_UpdateCampaignName.go +++ b/service/connectcampaigns/api_op_UpdateCampaignName.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUpdateCampaignNameMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCampaignNameValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/api_op_UpdateCampaignOutboundCallConfig.go b/service/connectcampaigns/api_op_UpdateCampaignOutboundCallConfig.go index 588359c0705..605a691f5fe 100644 --- a/service/connectcampaigns/api_op_UpdateCampaignOutboundCallConfig.go +++ b/service/connectcampaigns/api_op_UpdateCampaignOutboundCallConfig.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateCampaignOutboundCallConfigMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCampaignOutboundCallConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaigns/snapshot/api_op_CreateCampaign.go.snap b/service/connectcampaigns/snapshot/api_op_CreateCampaign.go.snap index 006efd4883c..f323370a82c 100644 --- a/service/connectcampaigns/snapshot/api_op_CreateCampaign.go.snap +++ b/service/connectcampaigns/snapshot/api_op_CreateCampaign.go.snap @@ -14,7 +14,6 @@ CreateCampaign Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaigns/snapshot/api_op_DeleteCampaign.go.snap b/service/connectcampaigns/snapshot/api_op_DeleteCampaign.go.snap index bc77c45f728..ddcf5fe9446 100644 --- a/service/connectcampaigns/snapshot/api_op_DeleteCampaign.go.snap +++ b/service/connectcampaigns/snapshot/api_op_DeleteCampaign.go.snap @@ -14,7 +14,6 @@ DeleteCampaign Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaigns/snapshot/api_op_DeleteConnectInstanceConfig.go.snap b/service/connectcampaigns/snapshot/api_op_DeleteConnectInstanceConfig.go.snap index dff5dfeb678..0b997b18572 100644 --- a/service/connectcampaigns/snapshot/api_op_DeleteConnectInstanceConfig.go.snap +++ b/service/connectcampaigns/snapshot/api_op_DeleteConnectInstanceConfig.go.snap @@ -14,7 +14,6 @@ DeleteConnectInstanceConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaigns/snapshot/api_op_DeleteInstanceOnboardingJob.go.snap b/service/connectcampaigns/snapshot/api_op_DeleteInstanceOnboardingJob.go.snap index f6d9741437c..9d0fe8744e4 100644 --- a/service/connectcampaigns/snapshot/api_op_DeleteInstanceOnboardingJob.go.snap +++ b/service/connectcampaigns/snapshot/api_op_DeleteInstanceOnboardingJob.go.snap @@ -14,7 +14,6 @@ DeleteInstanceOnboardingJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaigns/snapshot/api_op_DescribeCampaign.go.snap b/service/connectcampaigns/snapshot/api_op_DescribeCampaign.go.snap index 898a3bc7db5..f7512ec7254 100644 --- a/service/connectcampaigns/snapshot/api_op_DescribeCampaign.go.snap +++ b/service/connectcampaigns/snapshot/api_op_DescribeCampaign.go.snap @@ -14,7 +14,6 @@ DescribeCampaign Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaigns/snapshot/api_op_GetCampaignState.go.snap b/service/connectcampaigns/snapshot/api_op_GetCampaignState.go.snap index 80edf5962e5..d602c263c4e 100644 --- a/service/connectcampaigns/snapshot/api_op_GetCampaignState.go.snap +++ b/service/connectcampaigns/snapshot/api_op_GetCampaignState.go.snap @@ -14,7 +14,6 @@ GetCampaignState Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaigns/snapshot/api_op_GetCampaignStateBatch.go.snap b/service/connectcampaigns/snapshot/api_op_GetCampaignStateBatch.go.snap index 5d67915e9fe..c26d51f249c 100644 --- a/service/connectcampaigns/snapshot/api_op_GetCampaignStateBatch.go.snap +++ b/service/connectcampaigns/snapshot/api_op_GetCampaignStateBatch.go.snap @@ -14,7 +14,6 @@ GetCampaignStateBatch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaigns/snapshot/api_op_GetConnectInstanceConfig.go.snap b/service/connectcampaigns/snapshot/api_op_GetConnectInstanceConfig.go.snap index 7b3173663a5..1180833568a 100644 --- a/service/connectcampaigns/snapshot/api_op_GetConnectInstanceConfig.go.snap +++ b/service/connectcampaigns/snapshot/api_op_GetConnectInstanceConfig.go.snap @@ -14,7 +14,6 @@ GetConnectInstanceConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaigns/snapshot/api_op_GetInstanceOnboardingJobStatus.go.snap b/service/connectcampaigns/snapshot/api_op_GetInstanceOnboardingJobStatus.go.snap index 7e86143db3f..19782aa27fa 100644 --- a/service/connectcampaigns/snapshot/api_op_GetInstanceOnboardingJobStatus.go.snap +++ b/service/connectcampaigns/snapshot/api_op_GetInstanceOnboardingJobStatus.go.snap @@ -14,7 +14,6 @@ GetInstanceOnboardingJobStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaigns/snapshot/api_op_ListCampaigns.go.snap b/service/connectcampaigns/snapshot/api_op_ListCampaigns.go.snap index 8d20888faf5..341a793f68c 100644 --- a/service/connectcampaigns/snapshot/api_op_ListCampaigns.go.snap +++ b/service/connectcampaigns/snapshot/api_op_ListCampaigns.go.snap @@ -14,7 +14,6 @@ ListCampaigns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaigns/snapshot/api_op_ListTagsForResource.go.snap b/service/connectcampaigns/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/connectcampaigns/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/connectcampaigns/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaigns/snapshot/api_op_PauseCampaign.go.snap b/service/connectcampaigns/snapshot/api_op_PauseCampaign.go.snap index 710a6a786e6..fba63e765c7 100644 --- a/service/connectcampaigns/snapshot/api_op_PauseCampaign.go.snap +++ b/service/connectcampaigns/snapshot/api_op_PauseCampaign.go.snap @@ -14,7 +14,6 @@ PauseCampaign Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaigns/snapshot/api_op_PutDialRequestBatch.go.snap b/service/connectcampaigns/snapshot/api_op_PutDialRequestBatch.go.snap index 403442c76dc..146349441c8 100644 --- a/service/connectcampaigns/snapshot/api_op_PutDialRequestBatch.go.snap +++ b/service/connectcampaigns/snapshot/api_op_PutDialRequestBatch.go.snap @@ -14,7 +14,6 @@ PutDialRequestBatch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaigns/snapshot/api_op_ResumeCampaign.go.snap b/service/connectcampaigns/snapshot/api_op_ResumeCampaign.go.snap index 43577d0bdd0..781e8498996 100644 --- a/service/connectcampaigns/snapshot/api_op_ResumeCampaign.go.snap +++ b/service/connectcampaigns/snapshot/api_op_ResumeCampaign.go.snap @@ -14,7 +14,6 @@ ResumeCampaign Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaigns/snapshot/api_op_StartCampaign.go.snap b/service/connectcampaigns/snapshot/api_op_StartCampaign.go.snap index acf24e1190a..e3d17c81e94 100644 --- a/service/connectcampaigns/snapshot/api_op_StartCampaign.go.snap +++ b/service/connectcampaigns/snapshot/api_op_StartCampaign.go.snap @@ -14,7 +14,6 @@ StartCampaign Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaigns/snapshot/api_op_StartInstanceOnboardingJob.go.snap b/service/connectcampaigns/snapshot/api_op_StartInstanceOnboardingJob.go.snap index cb8dc722968..534be37b255 100644 --- a/service/connectcampaigns/snapshot/api_op_StartInstanceOnboardingJob.go.snap +++ b/service/connectcampaigns/snapshot/api_op_StartInstanceOnboardingJob.go.snap @@ -14,7 +14,6 @@ StartInstanceOnboardingJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaigns/snapshot/api_op_StopCampaign.go.snap b/service/connectcampaigns/snapshot/api_op_StopCampaign.go.snap index bb835ea8173..4b6c3953616 100644 --- a/service/connectcampaigns/snapshot/api_op_StopCampaign.go.snap +++ b/service/connectcampaigns/snapshot/api_op_StopCampaign.go.snap @@ -14,7 +14,6 @@ StopCampaign Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaigns/snapshot/api_op_TagResource.go.snap b/service/connectcampaigns/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/connectcampaigns/snapshot/api_op_TagResource.go.snap +++ b/service/connectcampaigns/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaigns/snapshot/api_op_UntagResource.go.snap b/service/connectcampaigns/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/connectcampaigns/snapshot/api_op_UntagResource.go.snap +++ b/service/connectcampaigns/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaigns/snapshot/api_op_UpdateCampaignDialerConfig.go.snap b/service/connectcampaigns/snapshot/api_op_UpdateCampaignDialerConfig.go.snap index 428dc6b8198..aea6a6aa9e8 100644 --- a/service/connectcampaigns/snapshot/api_op_UpdateCampaignDialerConfig.go.snap +++ b/service/connectcampaigns/snapshot/api_op_UpdateCampaignDialerConfig.go.snap @@ -14,7 +14,6 @@ UpdateCampaignDialerConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaigns/snapshot/api_op_UpdateCampaignName.go.snap b/service/connectcampaigns/snapshot/api_op_UpdateCampaignName.go.snap index a98a93db49f..b9c182c558b 100644 --- a/service/connectcampaigns/snapshot/api_op_UpdateCampaignName.go.snap +++ b/service/connectcampaigns/snapshot/api_op_UpdateCampaignName.go.snap @@ -14,7 +14,6 @@ UpdateCampaignName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaigns/snapshot/api_op_UpdateCampaignOutboundCallConfig.go.snap b/service/connectcampaigns/snapshot/api_op_UpdateCampaignOutboundCallConfig.go.snap index c9347c89e58..92a8aa54c01 100644 --- a/service/connectcampaigns/snapshot/api_op_UpdateCampaignOutboundCallConfig.go.snap +++ b/service/connectcampaigns/snapshot/api_op_UpdateCampaignOutboundCallConfig.go.snap @@ -14,7 +14,6 @@ UpdateCampaignOutboundCallConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaignsv2/api_client.go b/service/connectcampaignsv2/api_client.go index de66786462a..e0e2309266a 100644 --- a/service/connectcampaignsv2/api_client.go +++ b/service/connectcampaignsv2/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/connectcampaignsv2/api_op_CreateCampaign.go b/service/connectcampaignsv2/api_op_CreateCampaign.go index a40c629886c..9d0ef36fab7 100644 --- a/service/connectcampaignsv2/api_op_CreateCampaign.go +++ b/service/connectcampaignsv2/api_op_CreateCampaign.go @@ -149,9 +149,6 @@ func (c *Client) addOperationCreateCampaignMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCampaignValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaignsv2/api_op_DeleteCampaign.go b/service/connectcampaignsv2/api_op_DeleteCampaign.go index 774c7e78564..1552860d850 100644 --- a/service/connectcampaignsv2/api_op_DeleteCampaign.go +++ b/service/connectcampaignsv2/api_op_DeleteCampaign.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteCampaignMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCampaignValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaignsv2/api_op_DeleteCampaignChannelSubtypeConfig.go b/service/connectcampaignsv2/api_op_DeleteCampaignChannelSubtypeConfig.go index 307db938e82..55121afdaeb 100644 --- a/service/connectcampaignsv2/api_op_DeleteCampaignChannelSubtypeConfig.go +++ b/service/connectcampaignsv2/api_op_DeleteCampaignChannelSubtypeConfig.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteCampaignChannelSubtypeConfigMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCampaignChannelSubtypeConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaignsv2/api_op_DeleteCampaignCommunicationLimits.go b/service/connectcampaignsv2/api_op_DeleteCampaignCommunicationLimits.go index af1dabbe904..a522bc83056 100644 --- a/service/connectcampaignsv2/api_op_DeleteCampaignCommunicationLimits.go +++ b/service/connectcampaignsv2/api_op_DeleteCampaignCommunicationLimits.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteCampaignCommunicationLimitsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCampaignCommunicationLimitsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaignsv2/api_op_DeleteCampaignCommunicationTime.go b/service/connectcampaignsv2/api_op_DeleteCampaignCommunicationTime.go index 55b8eb273db..f0d63e653ae 100644 --- a/service/connectcampaignsv2/api_op_DeleteCampaignCommunicationTime.go +++ b/service/connectcampaignsv2/api_op_DeleteCampaignCommunicationTime.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteCampaignCommunicationTimeMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCampaignCommunicationTimeValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaignsv2/api_op_DeleteConnectInstanceConfig.go b/service/connectcampaignsv2/api_op_DeleteConnectInstanceConfig.go index 6f873f15132..477d658af56 100644 --- a/service/connectcampaignsv2/api_op_DeleteConnectInstanceConfig.go +++ b/service/connectcampaignsv2/api_op_DeleteConnectInstanceConfig.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteConnectInstanceConfigMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConnectInstanceConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaignsv2/api_op_DeleteConnectInstanceIntegration.go b/service/connectcampaignsv2/api_op_DeleteConnectInstanceIntegration.go index 0ea217bbae9..940dda2e737 100644 --- a/service/connectcampaignsv2/api_op_DeleteConnectInstanceIntegration.go +++ b/service/connectcampaignsv2/api_op_DeleteConnectInstanceIntegration.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteConnectInstanceIntegrationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConnectInstanceIntegrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaignsv2/api_op_DeleteInstanceOnboardingJob.go b/service/connectcampaignsv2/api_op_DeleteInstanceOnboardingJob.go index 5c930a148d1..f66bac7013d 100644 --- a/service/connectcampaignsv2/api_op_DeleteInstanceOnboardingJob.go +++ b/service/connectcampaignsv2/api_op_DeleteInstanceOnboardingJob.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteInstanceOnboardingJobMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInstanceOnboardingJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaignsv2/api_op_DescribeCampaign.go b/service/connectcampaignsv2/api_op_DescribeCampaign.go index 91bef30c9b6..79f565da035 100644 --- a/service/connectcampaignsv2/api_op_DescribeCampaign.go +++ b/service/connectcampaignsv2/api_op_DescribeCampaign.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribeCampaignMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCampaignValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaignsv2/api_op_GetCampaignState.go b/service/connectcampaignsv2/api_op_GetCampaignState.go index 4ca67faf9f0..09598b7637b 100644 --- a/service/connectcampaignsv2/api_op_GetCampaignState.go +++ b/service/connectcampaignsv2/api_op_GetCampaignState.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetCampaignStateMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCampaignStateValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaignsv2/api_op_GetCampaignStateBatch.go b/service/connectcampaignsv2/api_op_GetCampaignStateBatch.go index 301711703ff..944aaa2b6e8 100644 --- a/service/connectcampaignsv2/api_op_GetCampaignStateBatch.go +++ b/service/connectcampaignsv2/api_op_GetCampaignStateBatch.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetCampaignStateBatchMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCampaignStateBatchValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaignsv2/api_op_GetConnectInstanceConfig.go b/service/connectcampaignsv2/api_op_GetConnectInstanceConfig.go index a13fe9fef27..3e872fe81cf 100644 --- a/service/connectcampaignsv2/api_op_GetConnectInstanceConfig.go +++ b/service/connectcampaignsv2/api_op_GetConnectInstanceConfig.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetConnectInstanceConfigMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConnectInstanceConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaignsv2/api_op_GetInstanceOnboardingJobStatus.go b/service/connectcampaignsv2/api_op_GetInstanceOnboardingJobStatus.go index e4da9ac5f98..cd3da6687ab 100644 --- a/service/connectcampaignsv2/api_op_GetInstanceOnboardingJobStatus.go +++ b/service/connectcampaignsv2/api_op_GetInstanceOnboardingJobStatus.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetInstanceOnboardingJobStatusMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInstanceOnboardingJobStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaignsv2/api_op_ListCampaigns.go b/service/connectcampaignsv2/api_op_ListCampaigns.go index 93f10352d35..f0ac4c47c64 100644 --- a/service/connectcampaignsv2/api_op_ListCampaigns.go +++ b/service/connectcampaignsv2/api_op_ListCampaigns.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListCampaignsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCampaignsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaignsv2/api_op_ListConnectInstanceIntegrations.go b/service/connectcampaignsv2/api_op_ListConnectInstanceIntegrations.go index 4cd4bf89985..64fedc4fd6d 100644 --- a/service/connectcampaignsv2/api_op_ListConnectInstanceIntegrations.go +++ b/service/connectcampaignsv2/api_op_ListConnectInstanceIntegrations.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListConnectInstanceIntegrationsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListConnectInstanceIntegrationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaignsv2/api_op_ListTagsForResource.go b/service/connectcampaignsv2/api_op_ListTagsForResource.go index f448164169d..f1d1fa70c15 100644 --- a/service/connectcampaignsv2/api_op_ListTagsForResource.go +++ b/service/connectcampaignsv2/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaignsv2/api_op_PauseCampaign.go b/service/connectcampaignsv2/api_op_PauseCampaign.go index 4968c13fcff..4e3391a4a52 100644 --- a/service/connectcampaignsv2/api_op_PauseCampaign.go +++ b/service/connectcampaignsv2/api_op_PauseCampaign.go @@ -108,9 +108,6 @@ func (c *Client) addOperationPauseCampaignMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPauseCampaignValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaignsv2/api_op_PutConnectInstanceIntegration.go b/service/connectcampaignsv2/api_op_PutConnectInstanceIntegration.go index 43cb731914b..4461ab54206 100644 --- a/service/connectcampaignsv2/api_op_PutConnectInstanceIntegration.go +++ b/service/connectcampaignsv2/api_op_PutConnectInstanceIntegration.go @@ -114,9 +114,6 @@ func (c *Client) addOperationPutConnectInstanceIntegrationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutConnectInstanceIntegrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaignsv2/api_op_PutOutboundRequestBatch.go b/service/connectcampaignsv2/api_op_PutOutboundRequestBatch.go index abd75591aed..14ba2f01c83 100644 --- a/service/connectcampaignsv2/api_op_PutOutboundRequestBatch.go +++ b/service/connectcampaignsv2/api_op_PutOutboundRequestBatch.go @@ -123,9 +123,6 @@ func (c *Client) addOperationPutOutboundRequestBatchMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutOutboundRequestBatchValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaignsv2/api_op_PutProfileOutboundRequestBatch.go b/service/connectcampaignsv2/api_op_PutProfileOutboundRequestBatch.go index 702eb347ac7..795a01ab2ae 100644 --- a/service/connectcampaignsv2/api_op_PutProfileOutboundRequestBatch.go +++ b/service/connectcampaignsv2/api_op_PutProfileOutboundRequestBatch.go @@ -123,9 +123,6 @@ func (c *Client) addOperationPutProfileOutboundRequestBatchMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutProfileOutboundRequestBatchValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaignsv2/api_op_ResumeCampaign.go b/service/connectcampaignsv2/api_op_ResumeCampaign.go index 09b8968d90b..0a918a8d1f2 100644 --- a/service/connectcampaignsv2/api_op_ResumeCampaign.go +++ b/service/connectcampaignsv2/api_op_ResumeCampaign.go @@ -108,9 +108,6 @@ func (c *Client) addOperationResumeCampaignMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResumeCampaignValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaignsv2/api_op_StartCampaign.go b/service/connectcampaignsv2/api_op_StartCampaign.go index b0766f61dd3..995a53a6182 100644 --- a/service/connectcampaignsv2/api_op_StartCampaign.go +++ b/service/connectcampaignsv2/api_op_StartCampaign.go @@ -108,9 +108,6 @@ func (c *Client) addOperationStartCampaignMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartCampaignValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaignsv2/api_op_StartInstanceOnboardingJob.go b/service/connectcampaignsv2/api_op_StartInstanceOnboardingJob.go index d54456a774c..bc113fbbcab 100644 --- a/service/connectcampaignsv2/api_op_StartInstanceOnboardingJob.go +++ b/service/connectcampaignsv2/api_op_StartInstanceOnboardingJob.go @@ -122,9 +122,6 @@ func (c *Client) addOperationStartInstanceOnboardingJobMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartInstanceOnboardingJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaignsv2/api_op_StopCampaign.go b/service/connectcampaignsv2/api_op_StopCampaign.go index 7219cc6332d..ffe0ee3299d 100644 --- a/service/connectcampaignsv2/api_op_StopCampaign.go +++ b/service/connectcampaignsv2/api_op_StopCampaign.go @@ -108,9 +108,6 @@ func (c *Client) addOperationStopCampaignMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopCampaignValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaignsv2/api_op_TagResource.go b/service/connectcampaignsv2/api_op_TagResource.go index 9e3e397f2c7..5d99c33df42 100644 --- a/service/connectcampaignsv2/api_op_TagResource.go +++ b/service/connectcampaignsv2/api_op_TagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaignsv2/api_op_UntagResource.go b/service/connectcampaignsv2/api_op_UntagResource.go index 8fba173a400..afadae34add 100644 --- a/service/connectcampaignsv2/api_op_UntagResource.go +++ b/service/connectcampaignsv2/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaignsv2/api_op_UpdateCampaignChannelSubtypeConfig.go b/service/connectcampaignsv2/api_op_UpdateCampaignChannelSubtypeConfig.go index 281ee058c77..ac6a31740c8 100644 --- a/service/connectcampaignsv2/api_op_UpdateCampaignChannelSubtypeConfig.go +++ b/service/connectcampaignsv2/api_op_UpdateCampaignChannelSubtypeConfig.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUpdateCampaignChannelSubtypeConfigMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCampaignChannelSubtypeConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaignsv2/api_op_UpdateCampaignCommunicationLimits.go b/service/connectcampaignsv2/api_op_UpdateCampaignCommunicationLimits.go index fe9299e3aaa..27143c49a5e 100644 --- a/service/connectcampaignsv2/api_op_UpdateCampaignCommunicationLimits.go +++ b/service/connectcampaignsv2/api_op_UpdateCampaignCommunicationLimits.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUpdateCampaignCommunicationLimitsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCampaignCommunicationLimitsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaignsv2/api_op_UpdateCampaignCommunicationTime.go b/service/connectcampaignsv2/api_op_UpdateCampaignCommunicationTime.go index 1fa4dd417e9..589570df110 100644 --- a/service/connectcampaignsv2/api_op_UpdateCampaignCommunicationTime.go +++ b/service/connectcampaignsv2/api_op_UpdateCampaignCommunicationTime.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUpdateCampaignCommunicationTimeMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCampaignCommunicationTimeValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaignsv2/api_op_UpdateCampaignFlowAssociation.go b/service/connectcampaignsv2/api_op_UpdateCampaignFlowAssociation.go index 42d3e5287ee..d854738cbe3 100644 --- a/service/connectcampaignsv2/api_op_UpdateCampaignFlowAssociation.go +++ b/service/connectcampaignsv2/api_op_UpdateCampaignFlowAssociation.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUpdateCampaignFlowAssociationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCampaignFlowAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaignsv2/api_op_UpdateCampaignName.go b/service/connectcampaignsv2/api_op_UpdateCampaignName.go index 9215ac60faa..6df10ec8665 100644 --- a/service/connectcampaignsv2/api_op_UpdateCampaignName.go +++ b/service/connectcampaignsv2/api_op_UpdateCampaignName.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUpdateCampaignNameMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCampaignNameValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaignsv2/api_op_UpdateCampaignSchedule.go b/service/connectcampaignsv2/api_op_UpdateCampaignSchedule.go index f3f9fb83c57..1d278b54709 100644 --- a/service/connectcampaignsv2/api_op_UpdateCampaignSchedule.go +++ b/service/connectcampaignsv2/api_op_UpdateCampaignSchedule.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUpdateCampaignScheduleMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCampaignScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaignsv2/api_op_UpdateCampaignSource.go b/service/connectcampaignsv2/api_op_UpdateCampaignSource.go index 691846db05a..7276ac94678 100644 --- a/service/connectcampaignsv2/api_op_UpdateCampaignSource.go +++ b/service/connectcampaignsv2/api_op_UpdateCampaignSource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUpdateCampaignSourceMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCampaignSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcampaignsv2/snapshot/api_op_CreateCampaign.go.snap b/service/connectcampaignsv2/snapshot/api_op_CreateCampaign.go.snap index 006efd4883c..f323370a82c 100644 --- a/service/connectcampaignsv2/snapshot/api_op_CreateCampaign.go.snap +++ b/service/connectcampaignsv2/snapshot/api_op_CreateCampaign.go.snap @@ -14,7 +14,6 @@ CreateCampaign Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaignsv2/snapshot/api_op_DeleteCampaign.go.snap b/service/connectcampaignsv2/snapshot/api_op_DeleteCampaign.go.snap index bc77c45f728..ddcf5fe9446 100644 --- a/service/connectcampaignsv2/snapshot/api_op_DeleteCampaign.go.snap +++ b/service/connectcampaignsv2/snapshot/api_op_DeleteCampaign.go.snap @@ -14,7 +14,6 @@ DeleteCampaign Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaignsv2/snapshot/api_op_DeleteCampaignChannelSubtypeConfig.go.snap b/service/connectcampaignsv2/snapshot/api_op_DeleteCampaignChannelSubtypeConfig.go.snap index 0497252e2c4..9a88d007477 100644 --- a/service/connectcampaignsv2/snapshot/api_op_DeleteCampaignChannelSubtypeConfig.go.snap +++ b/service/connectcampaignsv2/snapshot/api_op_DeleteCampaignChannelSubtypeConfig.go.snap @@ -14,7 +14,6 @@ DeleteCampaignChannelSubtypeConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaignsv2/snapshot/api_op_DeleteCampaignCommunicationLimits.go.snap b/service/connectcampaignsv2/snapshot/api_op_DeleteCampaignCommunicationLimits.go.snap index 4da241342d0..6d9f14a5971 100644 --- a/service/connectcampaignsv2/snapshot/api_op_DeleteCampaignCommunicationLimits.go.snap +++ b/service/connectcampaignsv2/snapshot/api_op_DeleteCampaignCommunicationLimits.go.snap @@ -14,7 +14,6 @@ DeleteCampaignCommunicationLimits Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaignsv2/snapshot/api_op_DeleteCampaignCommunicationTime.go.snap b/service/connectcampaignsv2/snapshot/api_op_DeleteCampaignCommunicationTime.go.snap index 7c35e89316d..376dd82d0df 100644 --- a/service/connectcampaignsv2/snapshot/api_op_DeleteCampaignCommunicationTime.go.snap +++ b/service/connectcampaignsv2/snapshot/api_op_DeleteCampaignCommunicationTime.go.snap @@ -14,7 +14,6 @@ DeleteCampaignCommunicationTime Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaignsv2/snapshot/api_op_DeleteConnectInstanceConfig.go.snap b/service/connectcampaignsv2/snapshot/api_op_DeleteConnectInstanceConfig.go.snap index dff5dfeb678..0b997b18572 100644 --- a/service/connectcampaignsv2/snapshot/api_op_DeleteConnectInstanceConfig.go.snap +++ b/service/connectcampaignsv2/snapshot/api_op_DeleteConnectInstanceConfig.go.snap @@ -14,7 +14,6 @@ DeleteConnectInstanceConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaignsv2/snapshot/api_op_DeleteConnectInstanceIntegration.go.snap b/service/connectcampaignsv2/snapshot/api_op_DeleteConnectInstanceIntegration.go.snap index 3ad2a46e800..e5487095992 100644 --- a/service/connectcampaignsv2/snapshot/api_op_DeleteConnectInstanceIntegration.go.snap +++ b/service/connectcampaignsv2/snapshot/api_op_DeleteConnectInstanceIntegration.go.snap @@ -14,7 +14,6 @@ DeleteConnectInstanceIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaignsv2/snapshot/api_op_DeleteInstanceOnboardingJob.go.snap b/service/connectcampaignsv2/snapshot/api_op_DeleteInstanceOnboardingJob.go.snap index f6d9741437c..9d0fe8744e4 100644 --- a/service/connectcampaignsv2/snapshot/api_op_DeleteInstanceOnboardingJob.go.snap +++ b/service/connectcampaignsv2/snapshot/api_op_DeleteInstanceOnboardingJob.go.snap @@ -14,7 +14,6 @@ DeleteInstanceOnboardingJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaignsv2/snapshot/api_op_DescribeCampaign.go.snap b/service/connectcampaignsv2/snapshot/api_op_DescribeCampaign.go.snap index 898a3bc7db5..f7512ec7254 100644 --- a/service/connectcampaignsv2/snapshot/api_op_DescribeCampaign.go.snap +++ b/service/connectcampaignsv2/snapshot/api_op_DescribeCampaign.go.snap @@ -14,7 +14,6 @@ DescribeCampaign Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaignsv2/snapshot/api_op_GetCampaignState.go.snap b/service/connectcampaignsv2/snapshot/api_op_GetCampaignState.go.snap index 80edf5962e5..d602c263c4e 100644 --- a/service/connectcampaignsv2/snapshot/api_op_GetCampaignState.go.snap +++ b/service/connectcampaignsv2/snapshot/api_op_GetCampaignState.go.snap @@ -14,7 +14,6 @@ GetCampaignState Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaignsv2/snapshot/api_op_GetCampaignStateBatch.go.snap b/service/connectcampaignsv2/snapshot/api_op_GetCampaignStateBatch.go.snap index 5d67915e9fe..c26d51f249c 100644 --- a/service/connectcampaignsv2/snapshot/api_op_GetCampaignStateBatch.go.snap +++ b/service/connectcampaignsv2/snapshot/api_op_GetCampaignStateBatch.go.snap @@ -14,7 +14,6 @@ GetCampaignStateBatch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaignsv2/snapshot/api_op_GetConnectInstanceConfig.go.snap b/service/connectcampaignsv2/snapshot/api_op_GetConnectInstanceConfig.go.snap index 7b3173663a5..1180833568a 100644 --- a/service/connectcampaignsv2/snapshot/api_op_GetConnectInstanceConfig.go.snap +++ b/service/connectcampaignsv2/snapshot/api_op_GetConnectInstanceConfig.go.snap @@ -14,7 +14,6 @@ GetConnectInstanceConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaignsv2/snapshot/api_op_GetInstanceOnboardingJobStatus.go.snap b/service/connectcampaignsv2/snapshot/api_op_GetInstanceOnboardingJobStatus.go.snap index 7e86143db3f..19782aa27fa 100644 --- a/service/connectcampaignsv2/snapshot/api_op_GetInstanceOnboardingJobStatus.go.snap +++ b/service/connectcampaignsv2/snapshot/api_op_GetInstanceOnboardingJobStatus.go.snap @@ -14,7 +14,6 @@ GetInstanceOnboardingJobStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaignsv2/snapshot/api_op_ListCampaigns.go.snap b/service/connectcampaignsv2/snapshot/api_op_ListCampaigns.go.snap index 8d20888faf5..341a793f68c 100644 --- a/service/connectcampaignsv2/snapshot/api_op_ListCampaigns.go.snap +++ b/service/connectcampaignsv2/snapshot/api_op_ListCampaigns.go.snap @@ -14,7 +14,6 @@ ListCampaigns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaignsv2/snapshot/api_op_ListConnectInstanceIntegrations.go.snap b/service/connectcampaignsv2/snapshot/api_op_ListConnectInstanceIntegrations.go.snap index 425fd82bcdb..30ce0b279c8 100644 --- a/service/connectcampaignsv2/snapshot/api_op_ListConnectInstanceIntegrations.go.snap +++ b/service/connectcampaignsv2/snapshot/api_op_ListConnectInstanceIntegrations.go.snap @@ -14,7 +14,6 @@ ListConnectInstanceIntegrations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaignsv2/snapshot/api_op_ListTagsForResource.go.snap b/service/connectcampaignsv2/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/connectcampaignsv2/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/connectcampaignsv2/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaignsv2/snapshot/api_op_PauseCampaign.go.snap b/service/connectcampaignsv2/snapshot/api_op_PauseCampaign.go.snap index 710a6a786e6..fba63e765c7 100644 --- a/service/connectcampaignsv2/snapshot/api_op_PauseCampaign.go.snap +++ b/service/connectcampaignsv2/snapshot/api_op_PauseCampaign.go.snap @@ -14,7 +14,6 @@ PauseCampaign Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaignsv2/snapshot/api_op_PutConnectInstanceIntegration.go.snap b/service/connectcampaignsv2/snapshot/api_op_PutConnectInstanceIntegration.go.snap index 5d4c85fa76f..26fa2c58972 100644 --- a/service/connectcampaignsv2/snapshot/api_op_PutConnectInstanceIntegration.go.snap +++ b/service/connectcampaignsv2/snapshot/api_op_PutConnectInstanceIntegration.go.snap @@ -14,7 +14,6 @@ PutConnectInstanceIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaignsv2/snapshot/api_op_PutOutboundRequestBatch.go.snap b/service/connectcampaignsv2/snapshot/api_op_PutOutboundRequestBatch.go.snap index 7968a3a4482..5b3eab3b59f 100644 --- a/service/connectcampaignsv2/snapshot/api_op_PutOutboundRequestBatch.go.snap +++ b/service/connectcampaignsv2/snapshot/api_op_PutOutboundRequestBatch.go.snap @@ -14,7 +14,6 @@ PutOutboundRequestBatch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaignsv2/snapshot/api_op_PutProfileOutboundRequestBatch.go.snap b/service/connectcampaignsv2/snapshot/api_op_PutProfileOutboundRequestBatch.go.snap index 7e3ace250e7..33a7e4dfe9d 100644 --- a/service/connectcampaignsv2/snapshot/api_op_PutProfileOutboundRequestBatch.go.snap +++ b/service/connectcampaignsv2/snapshot/api_op_PutProfileOutboundRequestBatch.go.snap @@ -14,7 +14,6 @@ PutProfileOutboundRequestBatch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaignsv2/snapshot/api_op_ResumeCampaign.go.snap b/service/connectcampaignsv2/snapshot/api_op_ResumeCampaign.go.snap index 43577d0bdd0..781e8498996 100644 --- a/service/connectcampaignsv2/snapshot/api_op_ResumeCampaign.go.snap +++ b/service/connectcampaignsv2/snapshot/api_op_ResumeCampaign.go.snap @@ -14,7 +14,6 @@ ResumeCampaign Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaignsv2/snapshot/api_op_StartCampaign.go.snap b/service/connectcampaignsv2/snapshot/api_op_StartCampaign.go.snap index acf24e1190a..e3d17c81e94 100644 --- a/service/connectcampaignsv2/snapshot/api_op_StartCampaign.go.snap +++ b/service/connectcampaignsv2/snapshot/api_op_StartCampaign.go.snap @@ -14,7 +14,6 @@ StartCampaign Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaignsv2/snapshot/api_op_StartInstanceOnboardingJob.go.snap b/service/connectcampaignsv2/snapshot/api_op_StartInstanceOnboardingJob.go.snap index cb8dc722968..534be37b255 100644 --- a/service/connectcampaignsv2/snapshot/api_op_StartInstanceOnboardingJob.go.snap +++ b/service/connectcampaignsv2/snapshot/api_op_StartInstanceOnboardingJob.go.snap @@ -14,7 +14,6 @@ StartInstanceOnboardingJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaignsv2/snapshot/api_op_StopCampaign.go.snap b/service/connectcampaignsv2/snapshot/api_op_StopCampaign.go.snap index bb835ea8173..4b6c3953616 100644 --- a/service/connectcampaignsv2/snapshot/api_op_StopCampaign.go.snap +++ b/service/connectcampaignsv2/snapshot/api_op_StopCampaign.go.snap @@ -14,7 +14,6 @@ StopCampaign Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaignsv2/snapshot/api_op_TagResource.go.snap b/service/connectcampaignsv2/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/connectcampaignsv2/snapshot/api_op_TagResource.go.snap +++ b/service/connectcampaignsv2/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaignsv2/snapshot/api_op_UntagResource.go.snap b/service/connectcampaignsv2/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/connectcampaignsv2/snapshot/api_op_UntagResource.go.snap +++ b/service/connectcampaignsv2/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaignsv2/snapshot/api_op_UpdateCampaignChannelSubtypeConfig.go.snap b/service/connectcampaignsv2/snapshot/api_op_UpdateCampaignChannelSubtypeConfig.go.snap index 9240b5e44b3..ff58d1c19e5 100644 --- a/service/connectcampaignsv2/snapshot/api_op_UpdateCampaignChannelSubtypeConfig.go.snap +++ b/service/connectcampaignsv2/snapshot/api_op_UpdateCampaignChannelSubtypeConfig.go.snap @@ -14,7 +14,6 @@ UpdateCampaignChannelSubtypeConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaignsv2/snapshot/api_op_UpdateCampaignCommunicationLimits.go.snap b/service/connectcampaignsv2/snapshot/api_op_UpdateCampaignCommunicationLimits.go.snap index 9474b370246..f7bef853b9b 100644 --- a/service/connectcampaignsv2/snapshot/api_op_UpdateCampaignCommunicationLimits.go.snap +++ b/service/connectcampaignsv2/snapshot/api_op_UpdateCampaignCommunicationLimits.go.snap @@ -14,7 +14,6 @@ UpdateCampaignCommunicationLimits Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaignsv2/snapshot/api_op_UpdateCampaignCommunicationTime.go.snap b/service/connectcampaignsv2/snapshot/api_op_UpdateCampaignCommunicationTime.go.snap index e8a40531426..48ce06fb058 100644 --- a/service/connectcampaignsv2/snapshot/api_op_UpdateCampaignCommunicationTime.go.snap +++ b/service/connectcampaignsv2/snapshot/api_op_UpdateCampaignCommunicationTime.go.snap @@ -14,7 +14,6 @@ UpdateCampaignCommunicationTime Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaignsv2/snapshot/api_op_UpdateCampaignFlowAssociation.go.snap b/service/connectcampaignsv2/snapshot/api_op_UpdateCampaignFlowAssociation.go.snap index 6c349e83dec..b90c64a741c 100644 --- a/service/connectcampaignsv2/snapshot/api_op_UpdateCampaignFlowAssociation.go.snap +++ b/service/connectcampaignsv2/snapshot/api_op_UpdateCampaignFlowAssociation.go.snap @@ -14,7 +14,6 @@ UpdateCampaignFlowAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaignsv2/snapshot/api_op_UpdateCampaignName.go.snap b/service/connectcampaignsv2/snapshot/api_op_UpdateCampaignName.go.snap index a98a93db49f..b9c182c558b 100644 --- a/service/connectcampaignsv2/snapshot/api_op_UpdateCampaignName.go.snap +++ b/service/connectcampaignsv2/snapshot/api_op_UpdateCampaignName.go.snap @@ -14,7 +14,6 @@ UpdateCampaignName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaignsv2/snapshot/api_op_UpdateCampaignSchedule.go.snap b/service/connectcampaignsv2/snapshot/api_op_UpdateCampaignSchedule.go.snap index 63bd1b591a5..6ddae7a23b6 100644 --- a/service/connectcampaignsv2/snapshot/api_op_UpdateCampaignSchedule.go.snap +++ b/service/connectcampaignsv2/snapshot/api_op_UpdateCampaignSchedule.go.snap @@ -14,7 +14,6 @@ UpdateCampaignSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcampaignsv2/snapshot/api_op_UpdateCampaignSource.go.snap b/service/connectcampaignsv2/snapshot/api_op_UpdateCampaignSource.go.snap index 95e5b7a045e..cbd0900f34a 100644 --- a/service/connectcampaignsv2/snapshot/api_op_UpdateCampaignSource.go.snap +++ b/service/connectcampaignsv2/snapshot/api_op_UpdateCampaignSource.go.snap @@ -14,7 +14,6 @@ UpdateCampaignSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/api_client.go b/service/connectcases/api_client.go index f3341f36d5a..1c8d526d40a 100644 --- a/service/connectcases/api_client.go +++ b/service/connectcases/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/connectcases/api_op_BatchGetCaseRule.go b/service/connectcases/api_op_BatchGetCaseRule.go index de9eaef2842..ebe75400cd0 100644 --- a/service/connectcases/api_op_BatchGetCaseRule.go +++ b/service/connectcases/api_op_BatchGetCaseRule.go @@ -128,9 +128,6 @@ func (c *Client) addOperationBatchGetCaseRuleMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetCaseRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_BatchGetField.go b/service/connectcases/api_op_BatchGetField.go index f38505a1d6d..3dbf711bf05 100644 --- a/service/connectcases/api_op_BatchGetField.go +++ b/service/connectcases/api_op_BatchGetField.go @@ -124,9 +124,6 @@ func (c *Client) addOperationBatchGetFieldMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetFieldValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_BatchPutFieldOptions.go b/service/connectcases/api_op_BatchPutFieldOptions.go index d15b40776c6..831e3cae4a3 100644 --- a/service/connectcases/api_op_BatchPutFieldOptions.go +++ b/service/connectcases/api_op_BatchPutFieldOptions.go @@ -123,9 +123,6 @@ func (c *Client) addOperationBatchPutFieldOptionsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchPutFieldOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_CreateCase.go b/service/connectcases/api_op_CreateCase.go index 84d223c5775..77961d07f86 100644 --- a/service/connectcases/api_op_CreateCase.go +++ b/service/connectcases/api_op_CreateCase.go @@ -154,9 +154,6 @@ func (c *Client) addOperationCreateCaseMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateCaseMiddleware(stack, options); err != nil { return err } diff --git a/service/connectcases/api_op_CreateCaseRule.go b/service/connectcases/api_op_CreateCaseRule.go index 20d40a13880..6c2c755505f 100644 --- a/service/connectcases/api_op_CreateCaseRule.go +++ b/service/connectcases/api_op_CreateCaseRule.go @@ -136,9 +136,6 @@ func (c *Client) addOperationCreateCaseRuleMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCaseRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_CreateDomain.go b/service/connectcases/api_op_CreateDomain.go index 61fcafa4e42..1b1142fa3f6 100644 --- a/service/connectcases/api_op_CreateDomain.go +++ b/service/connectcases/api_op_CreateDomain.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCreateDomainMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_CreateField.go b/service/connectcases/api_op_CreateField.go index 9f5882e689d..12ba48f7fa2 100644 --- a/service/connectcases/api_op_CreateField.go +++ b/service/connectcases/api_op_CreateField.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateFieldMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFieldValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_CreateLayout.go b/service/connectcases/api_op_CreateLayout.go index ab4b6ea8a2c..cf5853ebb62 100644 --- a/service/connectcases/api_op_CreateLayout.go +++ b/service/connectcases/api_op_CreateLayout.go @@ -138,9 +138,6 @@ func (c *Client) addOperationCreateLayoutMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLayoutValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_CreateRelatedItem.go b/service/connectcases/api_op_CreateRelatedItem.go index f49e0391b7d..ef0e7872106 100644 --- a/service/connectcases/api_op_CreateRelatedItem.go +++ b/service/connectcases/api_op_CreateRelatedItem.go @@ -150,9 +150,6 @@ func (c *Client) addOperationCreateRelatedItemMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRelatedItemValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_CreateTemplate.go b/service/connectcases/api_op_CreateTemplate.go index 687c7c8dc31..8936dedcdc2 100644 --- a/service/connectcases/api_op_CreateTemplate.go +++ b/service/connectcases/api_op_CreateTemplate.go @@ -163,9 +163,6 @@ func (c *Client) addOperationCreateTemplateMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_DeleteCaseRule.go b/service/connectcases/api_op_DeleteCaseRule.go index ba6583a5413..d9deed40f8f 100644 --- a/service/connectcases/api_op_DeleteCaseRule.go +++ b/service/connectcases/api_op_DeleteCaseRule.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteCaseRuleMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCaseRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_DeleteDomain.go b/service/connectcases/api_op_DeleteDomain.go index 34b84147fe4..12fd771e56c 100644 --- a/service/connectcases/api_op_DeleteDomain.go +++ b/service/connectcases/api_op_DeleteDomain.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteDomainMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_DeleteField.go b/service/connectcases/api_op_DeleteField.go index 076f6953553..91215bcc9ff 100644 --- a/service/connectcases/api_op_DeleteField.go +++ b/service/connectcases/api_op_DeleteField.go @@ -149,9 +149,6 @@ func (c *Client) addOperationDeleteFieldMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFieldValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_DeleteLayout.go b/service/connectcases/api_op_DeleteLayout.go index 81ea6bbb9a1..7d4389b0115 100644 --- a/service/connectcases/api_op_DeleteLayout.go +++ b/service/connectcases/api_op_DeleteLayout.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteLayoutMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLayoutValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_DeleteTemplate.go b/service/connectcases/api_op_DeleteTemplate.go index 3c045d4e540..3b2b8dec178 100644 --- a/service/connectcases/api_op_DeleteTemplate.go +++ b/service/connectcases/api_op_DeleteTemplate.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteTemplateMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_GetCase.go b/service/connectcases/api_op_GetCase.go index 78c72db60f0..f5b5fbad603 100644 --- a/service/connectcases/api_op_GetCase.go +++ b/service/connectcases/api_op_GetCase.go @@ -141,9 +141,6 @@ func (c *Client) addOperationGetCaseMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_GetCaseAuditEvents.go b/service/connectcases/api_op_GetCaseAuditEvents.go index 1c0b0909d34..f2ef5517bf4 100644 --- a/service/connectcases/api_op_GetCaseAuditEvents.go +++ b/service/connectcases/api_op_GetCaseAuditEvents.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetCaseAuditEventsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCaseAuditEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_GetCaseEventConfiguration.go b/service/connectcases/api_op_GetCaseEventConfiguration.go index 4403fb6f5bc..aeee60f6046 100644 --- a/service/connectcases/api_op_GetCaseEventConfiguration.go +++ b/service/connectcases/api_op_GetCaseEventConfiguration.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetCaseEventConfigurationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCaseEventConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_GetDomain.go b/service/connectcases/api_op_GetDomain.go index 056cab6624d..f6d11f32908 100644 --- a/service/connectcases/api_op_GetDomain.go +++ b/service/connectcases/api_op_GetDomain.go @@ -139,9 +139,6 @@ func (c *Client) addOperationGetDomainMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_GetLayout.go b/service/connectcases/api_op_GetLayout.go index 601ead779ba..5f253564a42 100644 --- a/service/connectcases/api_op_GetLayout.go +++ b/service/connectcases/api_op_GetLayout.go @@ -149,9 +149,6 @@ func (c *Client) addOperationGetLayoutMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLayoutValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_GetTemplate.go b/service/connectcases/api_op_GetTemplate.go index f0057a3fb9a..509a4cb2806 100644 --- a/service/connectcases/api_op_GetTemplate.go +++ b/service/connectcases/api_op_GetTemplate.go @@ -176,9 +176,6 @@ func (c *Client) addOperationGetTemplateMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_ListCaseRules.go b/service/connectcases/api_op_ListCaseRules.go index b66638149b8..39b39049f91 100644 --- a/service/connectcases/api_op_ListCaseRules.go +++ b/service/connectcases/api_op_ListCaseRules.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListCaseRulesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCaseRulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_ListCasesForContact.go b/service/connectcases/api_op_ListCasesForContact.go index 5528ea2fa62..7d192cdf2bf 100644 --- a/service/connectcases/api_op_ListCasesForContact.go +++ b/service/connectcases/api_op_ListCasesForContact.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListCasesForContactMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCasesForContactValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_ListDomains.go b/service/connectcases/api_op_ListDomains.go index 7488e0aca6c..2b51ca56df3 100644 --- a/service/connectcases/api_op_ListDomains.go +++ b/service/connectcases/api_op_ListDomains.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListDomainsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDomains(options.Region), middleware.Before); err != nil { return err } diff --git a/service/connectcases/api_op_ListFieldOptions.go b/service/connectcases/api_op_ListFieldOptions.go index 0f4c89909cc..b628c3f5f41 100644 --- a/service/connectcases/api_op_ListFieldOptions.go +++ b/service/connectcases/api_op_ListFieldOptions.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListFieldOptionsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFieldOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_ListFields.go b/service/connectcases/api_op_ListFields.go index 62f4e0d5349..975b632c2ac 100644 --- a/service/connectcases/api_op_ListFields.go +++ b/service/connectcases/api_op_ListFields.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListFieldsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFieldsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_ListLayouts.go b/service/connectcases/api_op_ListLayouts.go index 55fe32fbc55..66e13cbb3d7 100644 --- a/service/connectcases/api_op_ListLayouts.go +++ b/service/connectcases/api_op_ListLayouts.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListLayoutsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListLayoutsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_ListTagsForResource.go b/service/connectcases/api_op_ListTagsForResource.go index 0dc292486b2..d155a8d3eae 100644 --- a/service/connectcases/api_op_ListTagsForResource.go +++ b/service/connectcases/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_ListTemplates.go b/service/connectcases/api_op_ListTemplates.go index f7b6fc40762..ac6f7761416 100644 --- a/service/connectcases/api_op_ListTemplates.go +++ b/service/connectcases/api_op_ListTemplates.go @@ -144,9 +144,6 @@ func (c *Client) addOperationListTemplatesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTemplatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_PutCaseEventConfiguration.go b/service/connectcases/api_op_PutCaseEventConfiguration.go index 7f06f890293..30aa22c758b 100644 --- a/service/connectcases/api_op_PutCaseEventConfiguration.go +++ b/service/connectcases/api_op_PutCaseEventConfiguration.go @@ -117,9 +117,6 @@ func (c *Client) addOperationPutCaseEventConfigurationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutCaseEventConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_SearchCases.go b/service/connectcases/api_op_SearchCases.go index 459954b980e..a90c688765a 100644 --- a/service/connectcases/api_op_SearchCases.go +++ b/service/connectcases/api_op_SearchCases.go @@ -145,9 +145,6 @@ func (c *Client) addOperationSearchCasesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchCasesValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_SearchRelatedItems.go b/service/connectcases/api_op_SearchRelatedItems.go index 17b786e92bd..a0081630994 100644 --- a/service/connectcases/api_op_SearchRelatedItems.go +++ b/service/connectcases/api_op_SearchRelatedItems.go @@ -136,9 +136,6 @@ func (c *Client) addOperationSearchRelatedItemsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchRelatedItemsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_TagResource.go b/service/connectcases/api_op_TagResource.go index 004b84f2f76..29ef58d4c76 100644 --- a/service/connectcases/api_op_TagResource.go +++ b/service/connectcases/api_op_TagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_UntagResource.go b/service/connectcases/api_op_UntagResource.go index 8921187b3a1..11c6d5a4cc3 100644 --- a/service/connectcases/api_op_UntagResource.go +++ b/service/connectcases/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_UpdateCase.go b/service/connectcases/api_op_UpdateCase.go index e0a036bceca..72a77e4fac8 100644 --- a/service/connectcases/api_op_UpdateCase.go +++ b/service/connectcases/api_op_UpdateCase.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateCaseMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_UpdateCaseRule.go b/service/connectcases/api_op_UpdateCaseRule.go index 0406b10a749..995542841e1 100644 --- a/service/connectcases/api_op_UpdateCaseRule.go +++ b/service/connectcases/api_op_UpdateCaseRule.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateCaseRuleMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCaseRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_UpdateField.go b/service/connectcases/api_op_UpdateField.go index 6c0af7fc5f4..9c1bd60e9df 100644 --- a/service/connectcases/api_op_UpdateField.go +++ b/service/connectcases/api_op_UpdateField.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateFieldMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFieldValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_UpdateLayout.go b/service/connectcases/api_op_UpdateLayout.go index fdfd94d98d5..65eef708dad 100644 --- a/service/connectcases/api_op_UpdateLayout.go +++ b/service/connectcases/api_op_UpdateLayout.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUpdateLayoutMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLayoutValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/api_op_UpdateTemplate.go b/service/connectcases/api_op_UpdateTemplate.go index 0a5c495260f..5e7b4a6b0bd 100644 --- a/service/connectcases/api_op_UpdateTemplate.go +++ b/service/connectcases/api_op_UpdateTemplate.go @@ -153,9 +153,6 @@ func (c *Client) addOperationUpdateTemplateMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcases/snapshot/api_op_BatchGetCaseRule.go.snap b/service/connectcases/snapshot/api_op_BatchGetCaseRule.go.snap index 3a591254317..288f91ac72f 100644 --- a/service/connectcases/snapshot/api_op_BatchGetCaseRule.go.snap +++ b/service/connectcases/snapshot/api_op_BatchGetCaseRule.go.snap @@ -14,7 +14,6 @@ BatchGetCaseRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_BatchGetField.go.snap b/service/connectcases/snapshot/api_op_BatchGetField.go.snap index b8684f4cf14..6ae9ca03db7 100644 --- a/service/connectcases/snapshot/api_op_BatchGetField.go.snap +++ b/service/connectcases/snapshot/api_op_BatchGetField.go.snap @@ -14,7 +14,6 @@ BatchGetField Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_BatchPutFieldOptions.go.snap b/service/connectcases/snapshot/api_op_BatchPutFieldOptions.go.snap index 1fd878357aa..77c4c46e127 100644 --- a/service/connectcases/snapshot/api_op_BatchPutFieldOptions.go.snap +++ b/service/connectcases/snapshot/api_op_BatchPutFieldOptions.go.snap @@ -14,7 +14,6 @@ BatchPutFieldOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_CreateCase.go.snap b/service/connectcases/snapshot/api_op_CreateCase.go.snap index 1a7f850bca4..5da4a85b846 100644 --- a/service/connectcases/snapshot/api_op_CreateCase.go.snap +++ b/service/connectcases/snapshot/api_op_CreateCase.go.snap @@ -15,7 +15,6 @@ CreateCase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_CreateCaseRule.go.snap b/service/connectcases/snapshot/api_op_CreateCaseRule.go.snap index 0b5cd892e75..6b6935b702f 100644 --- a/service/connectcases/snapshot/api_op_CreateCaseRule.go.snap +++ b/service/connectcases/snapshot/api_op_CreateCaseRule.go.snap @@ -14,7 +14,6 @@ CreateCaseRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_CreateDomain.go.snap b/service/connectcases/snapshot/api_op_CreateDomain.go.snap index 16feb8a4d42..91a84f443d8 100644 --- a/service/connectcases/snapshot/api_op_CreateDomain.go.snap +++ b/service/connectcases/snapshot/api_op_CreateDomain.go.snap @@ -14,7 +14,6 @@ CreateDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_CreateField.go.snap b/service/connectcases/snapshot/api_op_CreateField.go.snap index 05079a930d3..f2ecf4830cd 100644 --- a/service/connectcases/snapshot/api_op_CreateField.go.snap +++ b/service/connectcases/snapshot/api_op_CreateField.go.snap @@ -14,7 +14,6 @@ CreateField Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_CreateLayout.go.snap b/service/connectcases/snapshot/api_op_CreateLayout.go.snap index c7b2b733ce0..7e22507a9e1 100644 --- a/service/connectcases/snapshot/api_op_CreateLayout.go.snap +++ b/service/connectcases/snapshot/api_op_CreateLayout.go.snap @@ -14,7 +14,6 @@ CreateLayout Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_CreateRelatedItem.go.snap b/service/connectcases/snapshot/api_op_CreateRelatedItem.go.snap index f3c418be0fd..7728f9e37e4 100644 --- a/service/connectcases/snapshot/api_op_CreateRelatedItem.go.snap +++ b/service/connectcases/snapshot/api_op_CreateRelatedItem.go.snap @@ -14,7 +14,6 @@ CreateRelatedItem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_CreateTemplate.go.snap b/service/connectcases/snapshot/api_op_CreateTemplate.go.snap index b4031071673..2c0edcbe8f5 100644 --- a/service/connectcases/snapshot/api_op_CreateTemplate.go.snap +++ b/service/connectcases/snapshot/api_op_CreateTemplate.go.snap @@ -14,7 +14,6 @@ CreateTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_DeleteCaseRule.go.snap b/service/connectcases/snapshot/api_op_DeleteCaseRule.go.snap index 67bae3199da..19ca57ce260 100644 --- a/service/connectcases/snapshot/api_op_DeleteCaseRule.go.snap +++ b/service/connectcases/snapshot/api_op_DeleteCaseRule.go.snap @@ -14,7 +14,6 @@ DeleteCaseRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_DeleteDomain.go.snap b/service/connectcases/snapshot/api_op_DeleteDomain.go.snap index 24c9a1b0eb3..9a8c40f82ef 100644 --- a/service/connectcases/snapshot/api_op_DeleteDomain.go.snap +++ b/service/connectcases/snapshot/api_op_DeleteDomain.go.snap @@ -14,7 +14,6 @@ DeleteDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_DeleteField.go.snap b/service/connectcases/snapshot/api_op_DeleteField.go.snap index 91169c8cd4b..6cc4d4e95ec 100644 --- a/service/connectcases/snapshot/api_op_DeleteField.go.snap +++ b/service/connectcases/snapshot/api_op_DeleteField.go.snap @@ -14,7 +14,6 @@ DeleteField Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_DeleteLayout.go.snap b/service/connectcases/snapshot/api_op_DeleteLayout.go.snap index 91235db1ad1..d5a16c28624 100644 --- a/service/connectcases/snapshot/api_op_DeleteLayout.go.snap +++ b/service/connectcases/snapshot/api_op_DeleteLayout.go.snap @@ -14,7 +14,6 @@ DeleteLayout Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_DeleteTemplate.go.snap b/service/connectcases/snapshot/api_op_DeleteTemplate.go.snap index 41c557a15e0..c8aa686044f 100644 --- a/service/connectcases/snapshot/api_op_DeleteTemplate.go.snap +++ b/service/connectcases/snapshot/api_op_DeleteTemplate.go.snap @@ -14,7 +14,6 @@ DeleteTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_GetCase.go.snap b/service/connectcases/snapshot/api_op_GetCase.go.snap index a89b3cb49e3..67d37ad5735 100644 --- a/service/connectcases/snapshot/api_op_GetCase.go.snap +++ b/service/connectcases/snapshot/api_op_GetCase.go.snap @@ -14,7 +14,6 @@ GetCase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_GetCaseAuditEvents.go.snap b/service/connectcases/snapshot/api_op_GetCaseAuditEvents.go.snap index e557aa91631..c8ac8c283f5 100644 --- a/service/connectcases/snapshot/api_op_GetCaseAuditEvents.go.snap +++ b/service/connectcases/snapshot/api_op_GetCaseAuditEvents.go.snap @@ -14,7 +14,6 @@ GetCaseAuditEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_GetCaseEventConfiguration.go.snap b/service/connectcases/snapshot/api_op_GetCaseEventConfiguration.go.snap index 9c5ee8701d3..0fbec9f14d1 100644 --- a/service/connectcases/snapshot/api_op_GetCaseEventConfiguration.go.snap +++ b/service/connectcases/snapshot/api_op_GetCaseEventConfiguration.go.snap @@ -14,7 +14,6 @@ GetCaseEventConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_GetDomain.go.snap b/service/connectcases/snapshot/api_op_GetDomain.go.snap index 18aaf8491da..d701a7b1505 100644 --- a/service/connectcases/snapshot/api_op_GetDomain.go.snap +++ b/service/connectcases/snapshot/api_op_GetDomain.go.snap @@ -14,7 +14,6 @@ GetDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_GetLayout.go.snap b/service/connectcases/snapshot/api_op_GetLayout.go.snap index 152ee0c176b..2a3a76733d7 100644 --- a/service/connectcases/snapshot/api_op_GetLayout.go.snap +++ b/service/connectcases/snapshot/api_op_GetLayout.go.snap @@ -14,7 +14,6 @@ GetLayout Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_GetTemplate.go.snap b/service/connectcases/snapshot/api_op_GetTemplate.go.snap index cb56263a74d..ec7b98a0f54 100644 --- a/service/connectcases/snapshot/api_op_GetTemplate.go.snap +++ b/service/connectcases/snapshot/api_op_GetTemplate.go.snap @@ -14,7 +14,6 @@ GetTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_ListCaseRules.go.snap b/service/connectcases/snapshot/api_op_ListCaseRules.go.snap index 6b9e375d233..669ae571695 100644 --- a/service/connectcases/snapshot/api_op_ListCaseRules.go.snap +++ b/service/connectcases/snapshot/api_op_ListCaseRules.go.snap @@ -14,7 +14,6 @@ ListCaseRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_ListCasesForContact.go.snap b/service/connectcases/snapshot/api_op_ListCasesForContact.go.snap index bd565fb5762..a73eaa2f6b2 100644 --- a/service/connectcases/snapshot/api_op_ListCasesForContact.go.snap +++ b/service/connectcases/snapshot/api_op_ListCasesForContact.go.snap @@ -14,7 +14,6 @@ ListCasesForContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_ListDomains.go.snap b/service/connectcases/snapshot/api_op_ListDomains.go.snap index 2bbde619ff2..8bf23a39993 100644 --- a/service/connectcases/snapshot/api_op_ListDomains.go.snap +++ b/service/connectcases/snapshot/api_op_ListDomains.go.snap @@ -13,7 +13,6 @@ ListDomains Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_ListFieldOptions.go.snap b/service/connectcases/snapshot/api_op_ListFieldOptions.go.snap index c480c27c5cf..6fcc262064d 100644 --- a/service/connectcases/snapshot/api_op_ListFieldOptions.go.snap +++ b/service/connectcases/snapshot/api_op_ListFieldOptions.go.snap @@ -14,7 +14,6 @@ ListFieldOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_ListFields.go.snap b/service/connectcases/snapshot/api_op_ListFields.go.snap index e623da5e678..85bdae62a4e 100644 --- a/service/connectcases/snapshot/api_op_ListFields.go.snap +++ b/service/connectcases/snapshot/api_op_ListFields.go.snap @@ -14,7 +14,6 @@ ListFields Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_ListLayouts.go.snap b/service/connectcases/snapshot/api_op_ListLayouts.go.snap index 3743e4ba3e3..9c323725e7c 100644 --- a/service/connectcases/snapshot/api_op_ListLayouts.go.snap +++ b/service/connectcases/snapshot/api_op_ListLayouts.go.snap @@ -14,7 +14,6 @@ ListLayouts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_ListTagsForResource.go.snap b/service/connectcases/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/connectcases/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/connectcases/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_ListTemplates.go.snap b/service/connectcases/snapshot/api_op_ListTemplates.go.snap index 3d56e0fa565..03eb81b1fdb 100644 --- a/service/connectcases/snapshot/api_op_ListTemplates.go.snap +++ b/service/connectcases/snapshot/api_op_ListTemplates.go.snap @@ -14,7 +14,6 @@ ListTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_PutCaseEventConfiguration.go.snap b/service/connectcases/snapshot/api_op_PutCaseEventConfiguration.go.snap index 97dd0c9b4a9..8793c41d085 100644 --- a/service/connectcases/snapshot/api_op_PutCaseEventConfiguration.go.snap +++ b/service/connectcases/snapshot/api_op_PutCaseEventConfiguration.go.snap @@ -14,7 +14,6 @@ PutCaseEventConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_SearchCases.go.snap b/service/connectcases/snapshot/api_op_SearchCases.go.snap index 47819f0fc7f..2c220358c20 100644 --- a/service/connectcases/snapshot/api_op_SearchCases.go.snap +++ b/service/connectcases/snapshot/api_op_SearchCases.go.snap @@ -14,7 +14,6 @@ SearchCases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_SearchRelatedItems.go.snap b/service/connectcases/snapshot/api_op_SearchRelatedItems.go.snap index ad73076dea3..cab1775a28e 100644 --- a/service/connectcases/snapshot/api_op_SearchRelatedItems.go.snap +++ b/service/connectcases/snapshot/api_op_SearchRelatedItems.go.snap @@ -14,7 +14,6 @@ SearchRelatedItems Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_TagResource.go.snap b/service/connectcases/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/connectcases/snapshot/api_op_TagResource.go.snap +++ b/service/connectcases/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_UntagResource.go.snap b/service/connectcases/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/connectcases/snapshot/api_op_UntagResource.go.snap +++ b/service/connectcases/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_UpdateCase.go.snap b/service/connectcases/snapshot/api_op_UpdateCase.go.snap index 06164ee70cb..8df700aa3d7 100644 --- a/service/connectcases/snapshot/api_op_UpdateCase.go.snap +++ b/service/connectcases/snapshot/api_op_UpdateCase.go.snap @@ -14,7 +14,6 @@ UpdateCase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_UpdateCaseRule.go.snap b/service/connectcases/snapshot/api_op_UpdateCaseRule.go.snap index f4c2156a570..fd065bd2137 100644 --- a/service/connectcases/snapshot/api_op_UpdateCaseRule.go.snap +++ b/service/connectcases/snapshot/api_op_UpdateCaseRule.go.snap @@ -14,7 +14,6 @@ UpdateCaseRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_UpdateField.go.snap b/service/connectcases/snapshot/api_op_UpdateField.go.snap index e2389ed8b15..29adf63b941 100644 --- a/service/connectcases/snapshot/api_op_UpdateField.go.snap +++ b/service/connectcases/snapshot/api_op_UpdateField.go.snap @@ -14,7 +14,6 @@ UpdateField Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_UpdateLayout.go.snap b/service/connectcases/snapshot/api_op_UpdateLayout.go.snap index c7bd7c6c949..56cf86bfa47 100644 --- a/service/connectcases/snapshot/api_op_UpdateLayout.go.snap +++ b/service/connectcases/snapshot/api_op_UpdateLayout.go.snap @@ -14,7 +14,6 @@ UpdateLayout Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcases/snapshot/api_op_UpdateTemplate.go.snap b/service/connectcases/snapshot/api_op_UpdateTemplate.go.snap index f6cbedf6f89..abb91d0f8d6 100644 --- a/service/connectcases/snapshot/api_op_UpdateTemplate.go.snap +++ b/service/connectcases/snapshot/api_op_UpdateTemplate.go.snap @@ -14,7 +14,6 @@ UpdateTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectcontactlens/api_client.go b/service/connectcontactlens/api_client.go index b184763204a..e27bfa5a41b 100644 --- a/service/connectcontactlens/api_client.go +++ b/service/connectcontactlens/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/connectcontactlens/api_op_ListRealtimeContactAnalysisSegments.go b/service/connectcontactlens/api_op_ListRealtimeContactAnalysisSegments.go index 8c5f17e1894..5794005379f 100644 --- a/service/connectcontactlens/api_op_ListRealtimeContactAnalysisSegments.go +++ b/service/connectcontactlens/api_op_ListRealtimeContactAnalysisSegments.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListRealtimeContactAnalysisSegmentsMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRealtimeContactAnalysisSegmentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectcontactlens/snapshot/api_op_ListRealtimeContactAnalysisSegments.go.snap b/service/connectcontactlens/snapshot/api_op_ListRealtimeContactAnalysisSegments.go.snap index e03a7f43a55..71e62002b30 100644 --- a/service/connectcontactlens/snapshot/api_op_ListRealtimeContactAnalysisSegments.go.snap +++ b/service/connectcontactlens/snapshot/api_op_ListRealtimeContactAnalysisSegments.go.snap @@ -14,7 +14,6 @@ ListRealtimeContactAnalysisSegments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectparticipant/api_client.go b/service/connectparticipant/api_client.go index 35b505dbca4..e8c25d3db87 100644 --- a/service/connectparticipant/api_client.go +++ b/service/connectparticipant/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/connectparticipant/api_op_CancelParticipantAuthentication.go b/service/connectparticipant/api_op_CancelParticipantAuthentication.go index ed415e1a9dc..08a87ba1e87 100644 --- a/service/connectparticipant/api_op_CancelParticipantAuthentication.go +++ b/service/connectparticipant/api_op_CancelParticipantAuthentication.go @@ -116,9 +116,6 @@ func (c *Client) addOperationCancelParticipantAuthenticationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelParticipantAuthenticationValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectparticipant/api_op_CompleteAttachmentUpload.go b/service/connectparticipant/api_op_CompleteAttachmentUpload.go index e40b3ea1197..e73f2ee72c8 100644 --- a/service/connectparticipant/api_op_CompleteAttachmentUpload.go +++ b/service/connectparticipant/api_op_CompleteAttachmentUpload.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCompleteAttachmentUploadMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCompleteAttachmentUploadMiddleware(stack, options); err != nil { return err } diff --git a/service/connectparticipant/api_op_CreateParticipantConnection.go b/service/connectparticipant/api_op_CreateParticipantConnection.go index b28ae61e68d..7a423ca8344 100644 --- a/service/connectparticipant/api_op_CreateParticipantConnection.go +++ b/service/connectparticipant/api_op_CreateParticipantConnection.go @@ -167,9 +167,6 @@ func (c *Client) addOperationCreateParticipantConnectionMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateParticipantConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectparticipant/api_op_DescribeView.go b/service/connectparticipant/api_op_DescribeView.go index 441ff05b350..e27ef349f08 100644 --- a/service/connectparticipant/api_op_DescribeView.go +++ b/service/connectparticipant/api_op_DescribeView.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeViewMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeViewValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectparticipant/api_op_DisconnectParticipant.go b/service/connectparticipant/api_op_DisconnectParticipant.go index b946da292c2..88df24ef7c6 100644 --- a/service/connectparticipant/api_op_DisconnectParticipant.go +++ b/service/connectparticipant/api_op_DisconnectParticipant.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDisconnectParticipantMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDisconnectParticipantMiddleware(stack, options); err != nil { return err } diff --git a/service/connectparticipant/api_op_GetAttachment.go b/service/connectparticipant/api_op_GetAttachment.go index e4b3c7eb8a0..9d59761511b 100644 --- a/service/connectparticipant/api_op_GetAttachment.go +++ b/service/connectparticipant/api_op_GetAttachment.go @@ -142,9 +142,6 @@ func (c *Client) addOperationGetAttachmentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAttachmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectparticipant/api_op_GetAuthenticationUrl.go b/service/connectparticipant/api_op_GetAuthenticationUrl.go index 69dd8fddf5a..b0442fce078 100644 --- a/service/connectparticipant/api_op_GetAuthenticationUrl.go +++ b/service/connectparticipant/api_op_GetAuthenticationUrl.go @@ -135,9 +135,6 @@ func (c *Client) addOperationGetAuthenticationUrlMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAuthenticationUrlValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectparticipant/api_op_GetTranscript.go b/service/connectparticipant/api_op_GetTranscript.go index 328624d7615..3f731b5f3bb 100644 --- a/service/connectparticipant/api_op_GetTranscript.go +++ b/service/connectparticipant/api_op_GetTranscript.go @@ -165,9 +165,6 @@ func (c *Client) addOperationGetTranscriptMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTranscriptValidationMiddleware(stack); err != nil { return err } diff --git a/service/connectparticipant/api_op_SendEvent.go b/service/connectparticipant/api_op_SendEvent.go index 34f8ba73375..e1120c4723b 100644 --- a/service/connectparticipant/api_op_SendEvent.go +++ b/service/connectparticipant/api_op_SendEvent.go @@ -160,9 +160,6 @@ func (c *Client) addOperationSendEventMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opSendEventMiddleware(stack, options); err != nil { return err } diff --git a/service/connectparticipant/api_op_SendMessage.go b/service/connectparticipant/api_op_SendMessage.go index c4e074a7407..416ca15312e 100644 --- a/service/connectparticipant/api_op_SendMessage.go +++ b/service/connectparticipant/api_op_SendMessage.go @@ -154,9 +154,6 @@ func (c *Client) addOperationSendMessageMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opSendMessageMiddleware(stack, options); err != nil { return err } diff --git a/service/connectparticipant/api_op_StartAttachmentUpload.go b/service/connectparticipant/api_op_StartAttachmentUpload.go index 07b0f05c5b1..327235a4853 100644 --- a/service/connectparticipant/api_op_StartAttachmentUpload.go +++ b/service/connectparticipant/api_op_StartAttachmentUpload.go @@ -152,9 +152,6 @@ func (c *Client) addOperationStartAttachmentUploadMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartAttachmentUploadMiddleware(stack, options); err != nil { return err } diff --git a/service/connectparticipant/snapshot/api_op_CancelParticipantAuthentication.go.snap b/service/connectparticipant/snapshot/api_op_CancelParticipantAuthentication.go.snap index c883966e38c..6b459016517 100644 --- a/service/connectparticipant/snapshot/api_op_CancelParticipantAuthentication.go.snap +++ b/service/connectparticipant/snapshot/api_op_CancelParticipantAuthentication.go.snap @@ -14,7 +14,6 @@ CancelParticipantAuthentication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectparticipant/snapshot/api_op_CompleteAttachmentUpload.go.snap b/service/connectparticipant/snapshot/api_op_CompleteAttachmentUpload.go.snap index f6d2513d92a..70743ce41f0 100644 --- a/service/connectparticipant/snapshot/api_op_CompleteAttachmentUpload.go.snap +++ b/service/connectparticipant/snapshot/api_op_CompleteAttachmentUpload.go.snap @@ -15,7 +15,6 @@ CompleteAttachmentUpload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectparticipant/snapshot/api_op_CreateParticipantConnection.go.snap b/service/connectparticipant/snapshot/api_op_CreateParticipantConnection.go.snap index e25c25ea36d..87e228f125e 100644 --- a/service/connectparticipant/snapshot/api_op_CreateParticipantConnection.go.snap +++ b/service/connectparticipant/snapshot/api_op_CreateParticipantConnection.go.snap @@ -14,7 +14,6 @@ CreateParticipantConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectparticipant/snapshot/api_op_DescribeView.go.snap b/service/connectparticipant/snapshot/api_op_DescribeView.go.snap index 6621d9b3d9d..bdee47a6cef 100644 --- a/service/connectparticipant/snapshot/api_op_DescribeView.go.snap +++ b/service/connectparticipant/snapshot/api_op_DescribeView.go.snap @@ -14,7 +14,6 @@ DescribeView Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectparticipant/snapshot/api_op_DisconnectParticipant.go.snap b/service/connectparticipant/snapshot/api_op_DisconnectParticipant.go.snap index 25d3488a0cb..1c59440b7d2 100644 --- a/service/connectparticipant/snapshot/api_op_DisconnectParticipant.go.snap +++ b/service/connectparticipant/snapshot/api_op_DisconnectParticipant.go.snap @@ -15,7 +15,6 @@ DisconnectParticipant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectparticipant/snapshot/api_op_GetAttachment.go.snap b/service/connectparticipant/snapshot/api_op_GetAttachment.go.snap index e4b0cb9fe2e..1fcc05359aa 100644 --- a/service/connectparticipant/snapshot/api_op_GetAttachment.go.snap +++ b/service/connectparticipant/snapshot/api_op_GetAttachment.go.snap @@ -14,7 +14,6 @@ GetAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectparticipant/snapshot/api_op_GetAuthenticationUrl.go.snap b/service/connectparticipant/snapshot/api_op_GetAuthenticationUrl.go.snap index ba3d8a67887..a4321508bd2 100644 --- a/service/connectparticipant/snapshot/api_op_GetAuthenticationUrl.go.snap +++ b/service/connectparticipant/snapshot/api_op_GetAuthenticationUrl.go.snap @@ -14,7 +14,6 @@ GetAuthenticationUrl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectparticipant/snapshot/api_op_GetTranscript.go.snap b/service/connectparticipant/snapshot/api_op_GetTranscript.go.snap index 9678937796c..ca3dc44c84b 100644 --- a/service/connectparticipant/snapshot/api_op_GetTranscript.go.snap +++ b/service/connectparticipant/snapshot/api_op_GetTranscript.go.snap @@ -14,7 +14,6 @@ GetTranscript Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectparticipant/snapshot/api_op_SendEvent.go.snap b/service/connectparticipant/snapshot/api_op_SendEvent.go.snap index 9f22da55c19..97f2877eb85 100644 --- a/service/connectparticipant/snapshot/api_op_SendEvent.go.snap +++ b/service/connectparticipant/snapshot/api_op_SendEvent.go.snap @@ -15,7 +15,6 @@ SendEvent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectparticipant/snapshot/api_op_SendMessage.go.snap b/service/connectparticipant/snapshot/api_op_SendMessage.go.snap index b28790bdb14..99238818a8f 100644 --- a/service/connectparticipant/snapshot/api_op_SendMessage.go.snap +++ b/service/connectparticipant/snapshot/api_op_SendMessage.go.snap @@ -15,7 +15,6 @@ SendMessage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/connectparticipant/snapshot/api_op_StartAttachmentUpload.go.snap b/service/connectparticipant/snapshot/api_op_StartAttachmentUpload.go.snap index 527d4945aa3..e2618980c82 100644 --- a/service/connectparticipant/snapshot/api_op_StartAttachmentUpload.go.snap +++ b/service/connectparticipant/snapshot/api_op_StartAttachmentUpload.go.snap @@ -15,7 +15,6 @@ StartAttachmentUpload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/controlcatalog/api_client.go b/service/controlcatalog/api_client.go index 6530b7f6c6f..c9b3f318d7c 100644 --- a/service/controlcatalog/api_client.go +++ b/service/controlcatalog/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/controlcatalog/api_op_GetControl.go b/service/controlcatalog/api_op_GetControl.go index 555ff5d8b79..d341357a24b 100644 --- a/service/controlcatalog/api_op_GetControl.go +++ b/service/controlcatalog/api_op_GetControl.go @@ -179,9 +179,6 @@ func (c *Client) addOperationGetControlMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetControlValidationMiddleware(stack); err != nil { return err } diff --git a/service/controlcatalog/api_op_ListCommonControls.go b/service/controlcatalog/api_op_ListCommonControls.go index 81f4cfa600e..0437d6f3b8e 100644 --- a/service/controlcatalog/api_op_ListCommonControls.go +++ b/service/controlcatalog/api_op_ListCommonControls.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListCommonControlsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCommonControls(options.Region), middleware.Before); err != nil { return err } diff --git a/service/controlcatalog/api_op_ListControls.go b/service/controlcatalog/api_op_ListControls.go index 41f0bcd5386..266191a3b65 100644 --- a/service/controlcatalog/api_op_ListControls.go +++ b/service/controlcatalog/api_op_ListControls.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListControlsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListControls(options.Region), middleware.Before); err != nil { return err } diff --git a/service/controlcatalog/api_op_ListDomains.go b/service/controlcatalog/api_op_ListDomains.go index 1e381f22f2f..b36cee12dc5 100644 --- a/service/controlcatalog/api_op_ListDomains.go +++ b/service/controlcatalog/api_op_ListDomains.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListDomainsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDomains(options.Region), middleware.Before); err != nil { return err } diff --git a/service/controlcatalog/api_op_ListObjectives.go b/service/controlcatalog/api_op_ListObjectives.go index 2f55e9a4240..9c3bdb9aae6 100644 --- a/service/controlcatalog/api_op_ListObjectives.go +++ b/service/controlcatalog/api_op_ListObjectives.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListObjectivesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListObjectives(options.Region), middleware.Before); err != nil { return err } diff --git a/service/controlcatalog/snapshot/api_op_GetControl.go.snap b/service/controlcatalog/snapshot/api_op_GetControl.go.snap index a2e936d617e..b8a9c3a6616 100644 --- a/service/controlcatalog/snapshot/api_op_GetControl.go.snap +++ b/service/controlcatalog/snapshot/api_op_GetControl.go.snap @@ -14,7 +14,6 @@ GetControl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/controlcatalog/snapshot/api_op_ListCommonControls.go.snap b/service/controlcatalog/snapshot/api_op_ListCommonControls.go.snap index 3041b1e62f4..f10d5753e88 100644 --- a/service/controlcatalog/snapshot/api_op_ListCommonControls.go.snap +++ b/service/controlcatalog/snapshot/api_op_ListCommonControls.go.snap @@ -13,7 +13,6 @@ ListCommonControls Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/controlcatalog/snapshot/api_op_ListControls.go.snap b/service/controlcatalog/snapshot/api_op_ListControls.go.snap index c2ba3d1d65e..11ee3e36726 100644 --- a/service/controlcatalog/snapshot/api_op_ListControls.go.snap +++ b/service/controlcatalog/snapshot/api_op_ListControls.go.snap @@ -13,7 +13,6 @@ ListControls Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/controlcatalog/snapshot/api_op_ListDomains.go.snap b/service/controlcatalog/snapshot/api_op_ListDomains.go.snap index 2bbde619ff2..8bf23a39993 100644 --- a/service/controlcatalog/snapshot/api_op_ListDomains.go.snap +++ b/service/controlcatalog/snapshot/api_op_ListDomains.go.snap @@ -13,7 +13,6 @@ ListDomains Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/controlcatalog/snapshot/api_op_ListObjectives.go.snap b/service/controlcatalog/snapshot/api_op_ListObjectives.go.snap index c270fc5e9f6..b810c1d812f 100644 --- a/service/controlcatalog/snapshot/api_op_ListObjectives.go.snap +++ b/service/controlcatalog/snapshot/api_op_ListObjectives.go.snap @@ -13,7 +13,6 @@ ListObjectives Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/controltower/api_client.go b/service/controltower/api_client.go index 14bda47d972..497f0fff5ed 100644 --- a/service/controltower/api_client.go +++ b/service/controltower/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/controltower/api_op_CreateLandingZone.go b/service/controltower/api_op_CreateLandingZone.go index 854f13c1330..3bcbb76ca75 100644 --- a/service/controltower/api_op_CreateLandingZone.go +++ b/service/controltower/api_op_CreateLandingZone.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCreateLandingZoneMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLandingZoneValidationMiddleware(stack); err != nil { return err } diff --git a/service/controltower/api_op_DeleteLandingZone.go b/service/controltower/api_op_DeleteLandingZone.go index ec366c75b7c..bcb5c930bd6 100644 --- a/service/controltower/api_op_DeleteLandingZone.go +++ b/service/controltower/api_op_DeleteLandingZone.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteLandingZoneMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLandingZoneValidationMiddleware(stack); err != nil { return err } diff --git a/service/controltower/api_op_DisableBaseline.go b/service/controltower/api_op_DisableBaseline.go index 23de6b610b7..757cd6550bd 100644 --- a/service/controltower/api_op_DisableBaseline.go +++ b/service/controltower/api_op_DisableBaseline.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDisableBaselineMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableBaselineValidationMiddleware(stack); err != nil { return err } diff --git a/service/controltower/api_op_DisableControl.go b/service/controltower/api_op_DisableControl.go index ee43a8a4f8b..85404b31adc 100644 --- a/service/controltower/api_op_DisableControl.go +++ b/service/controltower/api_op_DisableControl.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDisableControlMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableControlValidationMiddleware(stack); err != nil { return err } diff --git a/service/controltower/api_op_EnableBaseline.go b/service/controltower/api_op_EnableBaseline.go index ac1104a55f8..5d3e2f14d03 100644 --- a/service/controltower/api_op_EnableBaseline.go +++ b/service/controltower/api_op_EnableBaseline.go @@ -143,9 +143,6 @@ func (c *Client) addOperationEnableBaselineMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableBaselineValidationMiddleware(stack); err != nil { return err } diff --git a/service/controltower/api_op_EnableControl.go b/service/controltower/api_op_EnableControl.go index f9652cb821b..84c474bb25d 100644 --- a/service/controltower/api_op_EnableControl.go +++ b/service/controltower/api_op_EnableControl.go @@ -142,9 +142,6 @@ func (c *Client) addOperationEnableControlMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableControlValidationMiddleware(stack); err != nil { return err } diff --git a/service/controltower/api_op_GetBaseline.go b/service/controltower/api_op_GetBaseline.go index c54b55defff..c12411dd2aa 100644 --- a/service/controltower/api_op_GetBaseline.go +++ b/service/controltower/api_op_GetBaseline.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetBaselineMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBaselineValidationMiddleware(stack); err != nil { return err } diff --git a/service/controltower/api_op_GetBaselineOperation.go b/service/controltower/api_op_GetBaselineOperation.go index 9098ccb8953..83b0db99572 100644 --- a/service/controltower/api_op_GetBaselineOperation.go +++ b/service/controltower/api_op_GetBaselineOperation.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetBaselineOperationMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBaselineOperationValidationMiddleware(stack); err != nil { return err } diff --git a/service/controltower/api_op_GetControlOperation.go b/service/controltower/api_op_GetControlOperation.go index d9fc51b9d28..2884e1f8c13 100644 --- a/service/controltower/api_op_GetControlOperation.go +++ b/service/controltower/api_op_GetControlOperation.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetControlOperationMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetControlOperationValidationMiddleware(stack); err != nil { return err } diff --git a/service/controltower/api_op_GetEnabledBaseline.go b/service/controltower/api_op_GetEnabledBaseline.go index bcfb621b271..6987ae39999 100644 --- a/service/controltower/api_op_GetEnabledBaseline.go +++ b/service/controltower/api_op_GetEnabledBaseline.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetEnabledBaselineMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEnabledBaselineValidationMiddleware(stack); err != nil { return err } diff --git a/service/controltower/api_op_GetEnabledControl.go b/service/controltower/api_op_GetEnabledControl.go index 9f489ab531c..a9a0c037ca9 100644 --- a/service/controltower/api_op_GetEnabledControl.go +++ b/service/controltower/api_op_GetEnabledControl.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetEnabledControlMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEnabledControlValidationMiddleware(stack); err != nil { return err } diff --git a/service/controltower/api_op_GetLandingZone.go b/service/controltower/api_op_GetLandingZone.go index 548e2c18d5e..112f27012b0 100644 --- a/service/controltower/api_op_GetLandingZone.go +++ b/service/controltower/api_op_GetLandingZone.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetLandingZoneMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLandingZoneValidationMiddleware(stack); err != nil { return err } diff --git a/service/controltower/api_op_GetLandingZoneOperation.go b/service/controltower/api_op_GetLandingZoneOperation.go index d7d7a0b9b39..9edf1b0ac8e 100644 --- a/service/controltower/api_op_GetLandingZoneOperation.go +++ b/service/controltower/api_op_GetLandingZoneOperation.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetLandingZoneOperationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLandingZoneOperationValidationMiddleware(stack); err != nil { return err } diff --git a/service/controltower/api_op_ListBaselines.go b/service/controltower/api_op_ListBaselines.go index 69559db4dec..51d0533e396 100644 --- a/service/controltower/api_op_ListBaselines.go +++ b/service/controltower/api_op_ListBaselines.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListBaselinesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBaselines(options.Region), middleware.Before); err != nil { return err } diff --git a/service/controltower/api_op_ListControlOperations.go b/service/controltower/api_op_ListControlOperations.go index 2112ff331f5..f706c7034e8 100644 --- a/service/controltower/api_op_ListControlOperations.go +++ b/service/controltower/api_op_ListControlOperations.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListControlOperationsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListControlOperations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/controltower/api_op_ListEnabledBaselines.go b/service/controltower/api_op_ListEnabledBaselines.go index 91fb8d12964..8a75cddf1de 100644 --- a/service/controltower/api_op_ListEnabledBaselines.go +++ b/service/controltower/api_op_ListEnabledBaselines.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListEnabledBaselinesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEnabledBaselines(options.Region), middleware.Before); err != nil { return err } diff --git a/service/controltower/api_op_ListEnabledControls.go b/service/controltower/api_op_ListEnabledControls.go index fd80c5efb73..55ef7bec531 100644 --- a/service/controltower/api_op_ListEnabledControls.go +++ b/service/controltower/api_op_ListEnabledControls.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListEnabledControlsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEnabledControls(options.Region), middleware.Before); err != nil { return err } diff --git a/service/controltower/api_op_ListLandingZoneOperations.go b/service/controltower/api_op_ListLandingZoneOperations.go index a585aa2bbe5..d0844fa7591 100644 --- a/service/controltower/api_op_ListLandingZoneOperations.go +++ b/service/controltower/api_op_ListLandingZoneOperations.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListLandingZoneOperationsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLandingZoneOperations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/controltower/api_op_ListLandingZones.go b/service/controltower/api_op_ListLandingZones.go index f8e67b52185..23a03d3469c 100644 --- a/service/controltower/api_op_ListLandingZones.go +++ b/service/controltower/api_op_ListLandingZones.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListLandingZonesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLandingZones(options.Region), middleware.Before); err != nil { return err } diff --git a/service/controltower/api_op_ListTagsForResource.go b/service/controltower/api_op_ListTagsForResource.go index 478e1a52455..d4037e4f040 100644 --- a/service/controltower/api_op_ListTagsForResource.go +++ b/service/controltower/api_op_ListTagsForResource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/controltower/api_op_ResetEnabledBaseline.go b/service/controltower/api_op_ResetEnabledBaseline.go index a16b8f94238..95dc085553d 100644 --- a/service/controltower/api_op_ResetEnabledBaseline.go +++ b/service/controltower/api_op_ResetEnabledBaseline.go @@ -120,9 +120,6 @@ func (c *Client) addOperationResetEnabledBaselineMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResetEnabledBaselineValidationMiddleware(stack); err != nil { return err } diff --git a/service/controltower/api_op_ResetEnabledControl.go b/service/controltower/api_op_ResetEnabledControl.go index a784f511508..fc242beaf7f 100644 --- a/service/controltower/api_op_ResetEnabledControl.go +++ b/service/controltower/api_op_ResetEnabledControl.go @@ -113,9 +113,6 @@ func (c *Client) addOperationResetEnabledControlMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResetEnabledControlValidationMiddleware(stack); err != nil { return err } diff --git a/service/controltower/api_op_ResetLandingZone.go b/service/controltower/api_op_ResetLandingZone.go index 45d64967695..8d86d079c26 100644 --- a/service/controltower/api_op_ResetLandingZone.go +++ b/service/controltower/api_op_ResetLandingZone.go @@ -120,9 +120,6 @@ func (c *Client) addOperationResetLandingZoneMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResetLandingZoneValidationMiddleware(stack); err != nil { return err } diff --git a/service/controltower/api_op_TagResource.go b/service/controltower/api_op_TagResource.go index 729d1ceff9a..1170ff7f598 100644 --- a/service/controltower/api_op_TagResource.go +++ b/service/controltower/api_op_TagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/controltower/api_op_UntagResource.go b/service/controltower/api_op_UntagResource.go index 9cb11e45b5e..3b25a8d6876 100644 --- a/service/controltower/api_op_UntagResource.go +++ b/service/controltower/api_op_UntagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/controltower/api_op_UpdateEnabledBaseline.go b/service/controltower/api_op_UpdateEnabledBaseline.go index f5b524f579d..679b224e95c 100644 --- a/service/controltower/api_op_UpdateEnabledBaseline.go +++ b/service/controltower/api_op_UpdateEnabledBaseline.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateEnabledBaselineMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEnabledBaselineValidationMiddleware(stack); err != nil { return err } diff --git a/service/controltower/api_op_UpdateEnabledControl.go b/service/controltower/api_op_UpdateEnabledControl.go index eb7d7410fec..fc16c4145e1 100644 --- a/service/controltower/api_op_UpdateEnabledControl.go +++ b/service/controltower/api_op_UpdateEnabledControl.go @@ -134,9 +134,6 @@ func (c *Client) addOperationUpdateEnabledControlMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEnabledControlValidationMiddleware(stack); err != nil { return err } diff --git a/service/controltower/api_op_UpdateLandingZone.go b/service/controltower/api_op_UpdateLandingZone.go index 5f7847bd2cc..a82321e4187 100644 --- a/service/controltower/api_op_UpdateLandingZone.go +++ b/service/controltower/api_op_UpdateLandingZone.go @@ -133,9 +133,6 @@ func (c *Client) addOperationUpdateLandingZoneMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLandingZoneValidationMiddleware(stack); err != nil { return err } diff --git a/service/controltower/snapshot/api_op_CreateLandingZone.go.snap b/service/controltower/snapshot/api_op_CreateLandingZone.go.snap index 25f82562d73..e7271dd748a 100644 --- a/service/controltower/snapshot/api_op_CreateLandingZone.go.snap +++ b/service/controltower/snapshot/api_op_CreateLandingZone.go.snap @@ -14,7 +14,6 @@ CreateLandingZone Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/controltower/snapshot/api_op_DeleteLandingZone.go.snap b/service/controltower/snapshot/api_op_DeleteLandingZone.go.snap index efacf68adf3..d5f06812a3e 100644 --- a/service/controltower/snapshot/api_op_DeleteLandingZone.go.snap +++ b/service/controltower/snapshot/api_op_DeleteLandingZone.go.snap @@ -14,7 +14,6 @@ DeleteLandingZone Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/controltower/snapshot/api_op_DisableBaseline.go.snap b/service/controltower/snapshot/api_op_DisableBaseline.go.snap index 072902df0b3..99c4fd030d2 100644 --- a/service/controltower/snapshot/api_op_DisableBaseline.go.snap +++ b/service/controltower/snapshot/api_op_DisableBaseline.go.snap @@ -14,7 +14,6 @@ DisableBaseline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/controltower/snapshot/api_op_DisableControl.go.snap b/service/controltower/snapshot/api_op_DisableControl.go.snap index 264713e06f6..df4be7bf063 100644 --- a/service/controltower/snapshot/api_op_DisableControl.go.snap +++ b/service/controltower/snapshot/api_op_DisableControl.go.snap @@ -14,7 +14,6 @@ DisableControl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/controltower/snapshot/api_op_EnableBaseline.go.snap b/service/controltower/snapshot/api_op_EnableBaseline.go.snap index 64401651d87..6f73141c0e4 100644 --- a/service/controltower/snapshot/api_op_EnableBaseline.go.snap +++ b/service/controltower/snapshot/api_op_EnableBaseline.go.snap @@ -14,7 +14,6 @@ EnableBaseline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/controltower/snapshot/api_op_EnableControl.go.snap b/service/controltower/snapshot/api_op_EnableControl.go.snap index b42fbefc96a..bc181ad1acb 100644 --- a/service/controltower/snapshot/api_op_EnableControl.go.snap +++ b/service/controltower/snapshot/api_op_EnableControl.go.snap @@ -14,7 +14,6 @@ EnableControl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/controltower/snapshot/api_op_GetBaseline.go.snap b/service/controltower/snapshot/api_op_GetBaseline.go.snap index f544c992687..8a2c796246d 100644 --- a/service/controltower/snapshot/api_op_GetBaseline.go.snap +++ b/service/controltower/snapshot/api_op_GetBaseline.go.snap @@ -14,7 +14,6 @@ GetBaseline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/controltower/snapshot/api_op_GetBaselineOperation.go.snap b/service/controltower/snapshot/api_op_GetBaselineOperation.go.snap index 942bf1355ba..6f7d2f6136c 100644 --- a/service/controltower/snapshot/api_op_GetBaselineOperation.go.snap +++ b/service/controltower/snapshot/api_op_GetBaselineOperation.go.snap @@ -14,7 +14,6 @@ GetBaselineOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/controltower/snapshot/api_op_GetControlOperation.go.snap b/service/controltower/snapshot/api_op_GetControlOperation.go.snap index 33ce870149b..b25f6fafdaf 100644 --- a/service/controltower/snapshot/api_op_GetControlOperation.go.snap +++ b/service/controltower/snapshot/api_op_GetControlOperation.go.snap @@ -14,7 +14,6 @@ GetControlOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/controltower/snapshot/api_op_GetEnabledBaseline.go.snap b/service/controltower/snapshot/api_op_GetEnabledBaseline.go.snap index a0b9a58370d..9d9dd18d3b1 100644 --- a/service/controltower/snapshot/api_op_GetEnabledBaseline.go.snap +++ b/service/controltower/snapshot/api_op_GetEnabledBaseline.go.snap @@ -14,7 +14,6 @@ GetEnabledBaseline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/controltower/snapshot/api_op_GetEnabledControl.go.snap b/service/controltower/snapshot/api_op_GetEnabledControl.go.snap index 1afca97a7b1..b7dbbf1885a 100644 --- a/service/controltower/snapshot/api_op_GetEnabledControl.go.snap +++ b/service/controltower/snapshot/api_op_GetEnabledControl.go.snap @@ -14,7 +14,6 @@ GetEnabledControl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/controltower/snapshot/api_op_GetLandingZone.go.snap b/service/controltower/snapshot/api_op_GetLandingZone.go.snap index 3cc9f7c742d..b6b3b0b0580 100644 --- a/service/controltower/snapshot/api_op_GetLandingZone.go.snap +++ b/service/controltower/snapshot/api_op_GetLandingZone.go.snap @@ -14,7 +14,6 @@ GetLandingZone Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/controltower/snapshot/api_op_GetLandingZoneOperation.go.snap b/service/controltower/snapshot/api_op_GetLandingZoneOperation.go.snap index 90f5a023dc0..357253b15a0 100644 --- a/service/controltower/snapshot/api_op_GetLandingZoneOperation.go.snap +++ b/service/controltower/snapshot/api_op_GetLandingZoneOperation.go.snap @@ -14,7 +14,6 @@ GetLandingZoneOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/controltower/snapshot/api_op_ListBaselines.go.snap b/service/controltower/snapshot/api_op_ListBaselines.go.snap index 519780494cc..0ffc50ae63c 100644 --- a/service/controltower/snapshot/api_op_ListBaselines.go.snap +++ b/service/controltower/snapshot/api_op_ListBaselines.go.snap @@ -13,7 +13,6 @@ ListBaselines Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/controltower/snapshot/api_op_ListControlOperations.go.snap b/service/controltower/snapshot/api_op_ListControlOperations.go.snap index 9e9f8503fb5..534a28fdf7e 100644 --- a/service/controltower/snapshot/api_op_ListControlOperations.go.snap +++ b/service/controltower/snapshot/api_op_ListControlOperations.go.snap @@ -13,7 +13,6 @@ ListControlOperations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/controltower/snapshot/api_op_ListEnabledBaselines.go.snap b/service/controltower/snapshot/api_op_ListEnabledBaselines.go.snap index f0e978857ec..c0691c6c45e 100644 --- a/service/controltower/snapshot/api_op_ListEnabledBaselines.go.snap +++ b/service/controltower/snapshot/api_op_ListEnabledBaselines.go.snap @@ -13,7 +13,6 @@ ListEnabledBaselines Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/controltower/snapshot/api_op_ListEnabledControls.go.snap b/service/controltower/snapshot/api_op_ListEnabledControls.go.snap index 9f438965ea8..9e5ce9cbde1 100644 --- a/service/controltower/snapshot/api_op_ListEnabledControls.go.snap +++ b/service/controltower/snapshot/api_op_ListEnabledControls.go.snap @@ -13,7 +13,6 @@ ListEnabledControls Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/controltower/snapshot/api_op_ListLandingZoneOperations.go.snap b/service/controltower/snapshot/api_op_ListLandingZoneOperations.go.snap index 479e4bcd24e..4132a8cc82c 100644 --- a/service/controltower/snapshot/api_op_ListLandingZoneOperations.go.snap +++ b/service/controltower/snapshot/api_op_ListLandingZoneOperations.go.snap @@ -13,7 +13,6 @@ ListLandingZoneOperations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/controltower/snapshot/api_op_ListLandingZones.go.snap b/service/controltower/snapshot/api_op_ListLandingZones.go.snap index 8806b46fdd0..87f5e503d9b 100644 --- a/service/controltower/snapshot/api_op_ListLandingZones.go.snap +++ b/service/controltower/snapshot/api_op_ListLandingZones.go.snap @@ -13,7 +13,6 @@ ListLandingZones Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/controltower/snapshot/api_op_ListTagsForResource.go.snap b/service/controltower/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/controltower/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/controltower/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/controltower/snapshot/api_op_ResetEnabledBaseline.go.snap b/service/controltower/snapshot/api_op_ResetEnabledBaseline.go.snap index f106287fa12..19500be581e 100644 --- a/service/controltower/snapshot/api_op_ResetEnabledBaseline.go.snap +++ b/service/controltower/snapshot/api_op_ResetEnabledBaseline.go.snap @@ -14,7 +14,6 @@ ResetEnabledBaseline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/controltower/snapshot/api_op_ResetEnabledControl.go.snap b/service/controltower/snapshot/api_op_ResetEnabledControl.go.snap index 41c84bbb7f1..4641f1eff7e 100644 --- a/service/controltower/snapshot/api_op_ResetEnabledControl.go.snap +++ b/service/controltower/snapshot/api_op_ResetEnabledControl.go.snap @@ -14,7 +14,6 @@ ResetEnabledControl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/controltower/snapshot/api_op_ResetLandingZone.go.snap b/service/controltower/snapshot/api_op_ResetLandingZone.go.snap index 4ee6202264c..8138b703423 100644 --- a/service/controltower/snapshot/api_op_ResetLandingZone.go.snap +++ b/service/controltower/snapshot/api_op_ResetLandingZone.go.snap @@ -14,7 +14,6 @@ ResetLandingZone Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/controltower/snapshot/api_op_TagResource.go.snap b/service/controltower/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/controltower/snapshot/api_op_TagResource.go.snap +++ b/service/controltower/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/controltower/snapshot/api_op_UntagResource.go.snap b/service/controltower/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/controltower/snapshot/api_op_UntagResource.go.snap +++ b/service/controltower/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/controltower/snapshot/api_op_UpdateEnabledBaseline.go.snap b/service/controltower/snapshot/api_op_UpdateEnabledBaseline.go.snap index b22f5d42e21..1b24e14ae6d 100644 --- a/service/controltower/snapshot/api_op_UpdateEnabledBaseline.go.snap +++ b/service/controltower/snapshot/api_op_UpdateEnabledBaseline.go.snap @@ -14,7 +14,6 @@ UpdateEnabledBaseline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/controltower/snapshot/api_op_UpdateEnabledControl.go.snap b/service/controltower/snapshot/api_op_UpdateEnabledControl.go.snap index 46b7bbf53a0..2227e9c8e01 100644 --- a/service/controltower/snapshot/api_op_UpdateEnabledControl.go.snap +++ b/service/controltower/snapshot/api_op_UpdateEnabledControl.go.snap @@ -14,7 +14,6 @@ UpdateEnabledControl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/controltower/snapshot/api_op_UpdateLandingZone.go.snap b/service/controltower/snapshot/api_op_UpdateLandingZone.go.snap index 93c172fcd05..ca9ddc783be 100644 --- a/service/controltower/snapshot/api_op_UpdateLandingZone.go.snap +++ b/service/controltower/snapshot/api_op_UpdateLandingZone.go.snap @@ -14,7 +14,6 @@ UpdateLandingZone Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costandusagereportservice/api_client.go b/service/costandusagereportservice/api_client.go index 6bb63a28576..516657f1149 100644 --- a/service/costandusagereportservice/api_client.go +++ b/service/costandusagereportservice/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/costandusagereportservice/api_op_DeleteReportDefinition.go b/service/costandusagereportservice/api_op_DeleteReportDefinition.go index a968e3cb12f..69019adb3f8 100644 --- a/service/costandusagereportservice/api_op_DeleteReportDefinition.go +++ b/service/costandusagereportservice/api_op_DeleteReportDefinition.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteReportDefinitionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteReportDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/costandusagereportservice/api_op_DescribeReportDefinitions.go b/service/costandusagereportservice/api_op_DescribeReportDefinitions.go index 0a996870bfe..5c1a7f73e0c 100644 --- a/service/costandusagereportservice/api_op_DescribeReportDefinitions.go +++ b/service/costandusagereportservice/api_op_DescribeReportDefinitions.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeReportDefinitionsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReportDefinitions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/costandusagereportservice/api_op_ListTagsForResource.go b/service/costandusagereportservice/api_op_ListTagsForResource.go index e377c4e07e0..7afeac0e98c 100644 --- a/service/costandusagereportservice/api_op_ListTagsForResource.go +++ b/service/costandusagereportservice/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/costandusagereportservice/api_op_ModifyReportDefinition.go b/service/costandusagereportservice/api_op_ModifyReportDefinition.go index 5bceb1da48c..c1e2a0636b2 100644 --- a/service/costandusagereportservice/api_op_ModifyReportDefinition.go +++ b/service/costandusagereportservice/api_op_ModifyReportDefinition.go @@ -116,9 +116,6 @@ func (c *Client) addOperationModifyReportDefinitionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyReportDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/costandusagereportservice/api_op_PutReportDefinition.go b/service/costandusagereportservice/api_op_PutReportDefinition.go index 1c09d2654f8..20da20e32bc 100644 --- a/service/costandusagereportservice/api_op_PutReportDefinition.go +++ b/service/costandusagereportservice/api_op_PutReportDefinition.go @@ -115,9 +115,6 @@ func (c *Client) addOperationPutReportDefinitionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutReportDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/costandusagereportservice/api_op_TagResource.go b/service/costandusagereportservice/api_op_TagResource.go index b59406e7e7e..4255f006d0d 100644 --- a/service/costandusagereportservice/api_op_TagResource.go +++ b/service/costandusagereportservice/api_op_TagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/costandusagereportservice/api_op_UntagResource.go b/service/costandusagereportservice/api_op_UntagResource.go index dd5f2a008c1..8776fae9007 100644 --- a/service/costandusagereportservice/api_op_UntagResource.go +++ b/service/costandusagereportservice/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/costandusagereportservice/snapshot/api_op_DeleteReportDefinition.go.snap b/service/costandusagereportservice/snapshot/api_op_DeleteReportDefinition.go.snap index 89c727dabf3..2506d1315fc 100644 --- a/service/costandusagereportservice/snapshot/api_op_DeleteReportDefinition.go.snap +++ b/service/costandusagereportservice/snapshot/api_op_DeleteReportDefinition.go.snap @@ -14,7 +14,6 @@ DeleteReportDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costandusagereportservice/snapshot/api_op_DescribeReportDefinitions.go.snap b/service/costandusagereportservice/snapshot/api_op_DescribeReportDefinitions.go.snap index f23ad25d7cc..fe1ce973699 100644 --- a/service/costandusagereportservice/snapshot/api_op_DescribeReportDefinitions.go.snap +++ b/service/costandusagereportservice/snapshot/api_op_DescribeReportDefinitions.go.snap @@ -13,7 +13,6 @@ DescribeReportDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costandusagereportservice/snapshot/api_op_ListTagsForResource.go.snap b/service/costandusagereportservice/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/costandusagereportservice/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/costandusagereportservice/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costandusagereportservice/snapshot/api_op_ModifyReportDefinition.go.snap b/service/costandusagereportservice/snapshot/api_op_ModifyReportDefinition.go.snap index 5622a44aadd..6c78385f233 100644 --- a/service/costandusagereportservice/snapshot/api_op_ModifyReportDefinition.go.snap +++ b/service/costandusagereportservice/snapshot/api_op_ModifyReportDefinition.go.snap @@ -14,7 +14,6 @@ ModifyReportDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costandusagereportservice/snapshot/api_op_PutReportDefinition.go.snap b/service/costandusagereportservice/snapshot/api_op_PutReportDefinition.go.snap index da3e4e00182..646b750853d 100644 --- a/service/costandusagereportservice/snapshot/api_op_PutReportDefinition.go.snap +++ b/service/costandusagereportservice/snapshot/api_op_PutReportDefinition.go.snap @@ -14,7 +14,6 @@ PutReportDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costandusagereportservice/snapshot/api_op_TagResource.go.snap b/service/costandusagereportservice/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/costandusagereportservice/snapshot/api_op_TagResource.go.snap +++ b/service/costandusagereportservice/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costandusagereportservice/snapshot/api_op_UntagResource.go.snap b/service/costandusagereportservice/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/costandusagereportservice/snapshot/api_op_UntagResource.go.snap +++ b/service/costandusagereportservice/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/api_client.go b/service/costexplorer/api_client.go index 24c7bd9463c..84ab145d592 100644 --- a/service/costexplorer/api_client.go +++ b/service/costexplorer/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/costexplorer/api_op_CreateAnomalyMonitor.go b/service/costexplorer/api_op_CreateAnomalyMonitor.go index 620c594ed9f..045013dcd27 100644 --- a/service/costexplorer/api_op_CreateAnomalyMonitor.go +++ b/service/costexplorer/api_op_CreateAnomalyMonitor.go @@ -142,9 +142,6 @@ func (c *Client) addOperationCreateAnomalyMonitorMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAnomalyMonitorValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_CreateAnomalySubscription.go b/service/costexplorer/api_op_CreateAnomalySubscription.go index eb57260ba24..c13be0ab68f 100644 --- a/service/costexplorer/api_op_CreateAnomalySubscription.go +++ b/service/costexplorer/api_op_CreateAnomalySubscription.go @@ -145,9 +145,6 @@ func (c *Client) addOperationCreateAnomalySubscriptionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAnomalySubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_CreateCostCategoryDefinition.go b/service/costexplorer/api_op_CreateCostCategoryDefinition.go index de214fefbea..0e3b104ef10 100644 --- a/service/costexplorer/api_op_CreateCostCategoryDefinition.go +++ b/service/costexplorer/api_op_CreateCostCategoryDefinition.go @@ -168,9 +168,6 @@ func (c *Client) addOperationCreateCostCategoryDefinitionMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCostCategoryDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_DeleteAnomalyMonitor.go b/service/costexplorer/api_op_DeleteAnomalyMonitor.go index dd95647d458..785e57f2896 100644 --- a/service/costexplorer/api_op_DeleteAnomalyMonitor.go +++ b/service/costexplorer/api_op_DeleteAnomalyMonitor.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteAnomalyMonitorMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAnomalyMonitorValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_DeleteAnomalySubscription.go b/service/costexplorer/api_op_DeleteAnomalySubscription.go index b959b1c08d6..8b2d0ba0cd9 100644 --- a/service/costexplorer/api_op_DeleteAnomalySubscription.go +++ b/service/costexplorer/api_op_DeleteAnomalySubscription.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteAnomalySubscriptionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAnomalySubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_DeleteCostCategoryDefinition.go b/service/costexplorer/api_op_DeleteCostCategoryDefinition.go index 29033cf106b..1a4b6672c1b 100644 --- a/service/costexplorer/api_op_DeleteCostCategoryDefinition.go +++ b/service/costexplorer/api_op_DeleteCostCategoryDefinition.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteCostCategoryDefinitionMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCostCategoryDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_DescribeCostCategoryDefinition.go b/service/costexplorer/api_op_DescribeCostCategoryDefinition.go index 87586776060..f8cf716ab80 100644 --- a/service/costexplorer/api_op_DescribeCostCategoryDefinition.go +++ b/service/costexplorer/api_op_DescribeCostCategoryDefinition.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeCostCategoryDefinitionMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCostCategoryDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetAnomalies.go b/service/costexplorer/api_op_GetAnomalies.go index 2a6264ea367..b3ab2646882 100644 --- a/service/costexplorer/api_op_GetAnomalies.go +++ b/service/costexplorer/api_op_GetAnomalies.go @@ -142,9 +142,6 @@ func (c *Client) addOperationGetAnomaliesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAnomaliesValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetAnomalyMonitors.go b/service/costexplorer/api_op_GetAnomalyMonitors.go index 021e498d67a..42d2ed13dc9 100644 --- a/service/costexplorer/api_op_GetAnomalyMonitors.go +++ b/service/costexplorer/api_op_GetAnomalyMonitors.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetAnomalyMonitorsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAnomalyMonitors(options.Region), middleware.Before); err != nil { return err } diff --git a/service/costexplorer/api_op_GetAnomalySubscriptions.go b/service/costexplorer/api_op_GetAnomalySubscriptions.go index d140362b187..289af57c9f1 100644 --- a/service/costexplorer/api_op_GetAnomalySubscriptions.go +++ b/service/costexplorer/api_op_GetAnomalySubscriptions.go @@ -130,9 +130,6 @@ func (c *Client) addOperationGetAnomalySubscriptionsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAnomalySubscriptions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/costexplorer/api_op_GetApproximateUsageRecords.go b/service/costexplorer/api_op_GetApproximateUsageRecords.go index d6af2bce2f4..731c9b265c9 100644 --- a/service/costexplorer/api_op_GetApproximateUsageRecords.go +++ b/service/costexplorer/api_op_GetApproximateUsageRecords.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetApproximateUsageRecordsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApproximateUsageRecordsValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetCommitmentPurchaseAnalysis.go b/service/costexplorer/api_op_GetCommitmentPurchaseAnalysis.go index fd1c2c29020..a233d4a7962 100644 --- a/service/costexplorer/api_op_GetCommitmentPurchaseAnalysis.go +++ b/service/costexplorer/api_op_GetCommitmentPurchaseAnalysis.go @@ -143,9 +143,6 @@ func (c *Client) addOperationGetCommitmentPurchaseAnalysisMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCommitmentPurchaseAnalysisValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetCostAndUsage.go b/service/costexplorer/api_op_GetCostAndUsage.go index f9cf3c2d845..389b9f4e42a 100644 --- a/service/costexplorer/api_op_GetCostAndUsage.go +++ b/service/costexplorer/api_op_GetCostAndUsage.go @@ -202,9 +202,6 @@ func (c *Client) addOperationGetCostAndUsageMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCostAndUsageValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetCostAndUsageWithResources.go b/service/costexplorer/api_op_GetCostAndUsageWithResources.go index 8e6c36d07e6..8a4727ba1fa 100644 --- a/service/costexplorer/api_op_GetCostAndUsageWithResources.go +++ b/service/costexplorer/api_op_GetCostAndUsageWithResources.go @@ -207,9 +207,6 @@ func (c *Client) addOperationGetCostAndUsageWithResourcesMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCostAndUsageWithResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetCostCategories.go b/service/costexplorer/api_op_GetCostCategories.go index 9f22a341f68..437122bc1e7 100644 --- a/service/costexplorer/api_op_GetCostCategories.go +++ b/service/costexplorer/api_op_GetCostCategories.go @@ -272,9 +272,6 @@ func (c *Client) addOperationGetCostCategoriesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCostCategoriesValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetCostForecast.go b/service/costexplorer/api_op_GetCostForecast.go index d2a718d540c..3c35d562e98 100644 --- a/service/costexplorer/api_op_GetCostForecast.go +++ b/service/costexplorer/api_op_GetCostForecast.go @@ -210,9 +210,6 @@ func (c *Client) addOperationGetCostForecastMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCostForecastValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetDimensionValues.go b/service/costexplorer/api_op_GetDimensionValues.go index 09104d11c84..929d7cc5e12 100644 --- a/service/costexplorer/api_op_GetDimensionValues.go +++ b/service/costexplorer/api_op_GetDimensionValues.go @@ -494,9 +494,6 @@ func (c *Client) addOperationGetDimensionValuesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDimensionValuesValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetReservationCoverage.go b/service/costexplorer/api_op_GetReservationCoverage.go index 88964d842eb..28861589624 100644 --- a/service/costexplorer/api_op_GetReservationCoverage.go +++ b/service/costexplorer/api_op_GetReservationCoverage.go @@ -279,9 +279,6 @@ func (c *Client) addOperationGetReservationCoverageMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetReservationCoverageValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetReservationPurchaseRecommendation.go b/service/costexplorer/api_op_GetReservationPurchaseRecommendation.go index 13df2298e00..e5a26987c52 100644 --- a/service/costexplorer/api_op_GetReservationPurchaseRecommendation.go +++ b/service/costexplorer/api_op_GetReservationPurchaseRecommendation.go @@ -246,9 +246,6 @@ func (c *Client) addOperationGetReservationPurchaseRecommendationMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetReservationPurchaseRecommendationValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetReservationUtilization.go b/service/costexplorer/api_op_GetReservationUtilization.go index 79b7d27b4c1..c6eb56b9e0c 100644 --- a/service/costexplorer/api_op_GetReservationUtilization.go +++ b/service/costexplorer/api_op_GetReservationUtilization.go @@ -231,9 +231,6 @@ func (c *Client) addOperationGetReservationUtilizationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetReservationUtilizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetRightsizingRecommendation.go b/service/costexplorer/api_op_GetRightsizingRecommendation.go index 0177a6a767b..bc5f320d546 100644 --- a/service/costexplorer/api_op_GetRightsizingRecommendation.go +++ b/service/costexplorer/api_op_GetRightsizingRecommendation.go @@ -228,9 +228,6 @@ func (c *Client) addOperationGetRightsizingRecommendationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRightsizingRecommendationValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetSavingsPlanPurchaseRecommendationDetails.go b/service/costexplorer/api_op_GetSavingsPlanPurchaseRecommendationDetails.go index 7003f246d6b..76e6ac9f83b 100644 --- a/service/costexplorer/api_op_GetSavingsPlanPurchaseRecommendationDetails.go +++ b/service/costexplorer/api_op_GetSavingsPlanPurchaseRecommendationDetails.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetSavingsPlanPurchaseRecommendationDetailsMiddlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSavingsPlanPurchaseRecommendationDetailsValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetSavingsPlansCoverage.go b/service/costexplorer/api_op_GetSavingsPlansCoverage.go index f0c28d4e652..bed5999fe28 100644 --- a/service/costexplorer/api_op_GetSavingsPlansCoverage.go +++ b/service/costexplorer/api_op_GetSavingsPlansCoverage.go @@ -200,9 +200,6 @@ func (c *Client) addOperationGetSavingsPlansCoverageMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSavingsPlansCoverageValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetSavingsPlansPurchaseRecommendation.go b/service/costexplorer/api_op_GetSavingsPlansPurchaseRecommendation.go index 7510df4d725..766d43a2a7b 100644 --- a/service/costexplorer/api_op_GetSavingsPlansPurchaseRecommendation.go +++ b/service/costexplorer/api_op_GetSavingsPlansPurchaseRecommendation.go @@ -167,9 +167,6 @@ func (c *Client) addOperationGetSavingsPlansPurchaseRecommendationMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSavingsPlansPurchaseRecommendationValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetSavingsPlansUtilization.go b/service/costexplorer/api_op_GetSavingsPlansUtilization.go index ad2e4513342..a14fdbd0009 100644 --- a/service/costexplorer/api_op_GetSavingsPlansUtilization.go +++ b/service/costexplorer/api_op_GetSavingsPlansUtilization.go @@ -171,9 +171,6 @@ func (c *Client) addOperationGetSavingsPlansUtilizationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSavingsPlansUtilizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetSavingsPlansUtilizationDetails.go b/service/costexplorer/api_op_GetSavingsPlansUtilizationDetails.go index c8438e042e0..591acea9545 100644 --- a/service/costexplorer/api_op_GetSavingsPlansUtilizationDetails.go +++ b/service/costexplorer/api_op_GetSavingsPlansUtilizationDetails.go @@ -190,9 +190,6 @@ func (c *Client) addOperationGetSavingsPlansUtilizationDetailsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSavingsPlansUtilizationDetailsValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetTags.go b/service/costexplorer/api_op_GetTags.go index 9b893c03ec2..b4753331890 100644 --- a/service/costexplorer/api_op_GetTags.go +++ b/service/costexplorer/api_op_GetTags.go @@ -259,9 +259,6 @@ func (c *Client) addOperationGetTagsMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_GetUsageForecast.go b/service/costexplorer/api_op_GetUsageForecast.go index b94942bc074..7dc96c34270 100644 --- a/service/costexplorer/api_op_GetUsageForecast.go +++ b/service/costexplorer/api_op_GetUsageForecast.go @@ -205,9 +205,6 @@ func (c *Client) addOperationGetUsageForecastMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUsageForecastValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_ListCommitmentPurchaseAnalyses.go b/service/costexplorer/api_op_ListCommitmentPurchaseAnalyses.go index de38a266e4e..584357b273e 100644 --- a/service/costexplorer/api_op_ListCommitmentPurchaseAnalyses.go +++ b/service/costexplorer/api_op_ListCommitmentPurchaseAnalyses.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListCommitmentPurchaseAnalysesMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCommitmentPurchaseAnalyses(options.Region), middleware.Before); err != nil { return err } diff --git a/service/costexplorer/api_op_ListCostAllocationTagBackfillHistory.go b/service/costexplorer/api_op_ListCostAllocationTagBackfillHistory.go index 19b43b5d844..aa164cc99f7 100644 --- a/service/costexplorer/api_op_ListCostAllocationTagBackfillHistory.go +++ b/service/costexplorer/api_op_ListCostAllocationTagBackfillHistory.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListCostAllocationTagBackfillHistoryMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCostAllocationTagBackfillHistory(options.Region), middleware.Before); err != nil { return err } diff --git a/service/costexplorer/api_op_ListCostAllocationTags.go b/service/costexplorer/api_op_ListCostAllocationTags.go index 7e1688d501b..d90028a9cf8 100644 --- a/service/costexplorer/api_op_ListCostAllocationTags.go +++ b/service/costexplorer/api_op_ListCostAllocationTags.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListCostAllocationTagsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCostAllocationTags(options.Region), middleware.Before); err != nil { return err } diff --git a/service/costexplorer/api_op_ListCostCategoryDefinitions.go b/service/costexplorer/api_op_ListCostCategoryDefinitions.go index 72122bef637..0d7bb41a5e8 100644 --- a/service/costexplorer/api_op_ListCostCategoryDefinitions.go +++ b/service/costexplorer/api_op_ListCostCategoryDefinitions.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListCostCategoryDefinitionsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCostCategoryDefinitions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/costexplorer/api_op_ListSavingsPlansPurchaseRecommendationGeneration.go b/service/costexplorer/api_op_ListSavingsPlansPurchaseRecommendationGeneration.go index 8861505dde0..3ff112dfe03 100644 --- a/service/costexplorer/api_op_ListSavingsPlansPurchaseRecommendationGeneration.go +++ b/service/costexplorer/api_op_ListSavingsPlansPurchaseRecommendationGeneration.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListSavingsPlansPurchaseRecommendationGenerationMid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSavingsPlansPurchaseRecommendationGeneration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/costexplorer/api_op_ListTagsForResource.go b/service/costexplorer/api_op_ListTagsForResource.go index 2498ccb891e..432ad5c0b7a 100644 --- a/service/costexplorer/api_op_ListTagsForResource.go +++ b/service/costexplorer/api_op_ListTagsForResource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_ProvideAnomalyFeedback.go b/service/costexplorer/api_op_ProvideAnomalyFeedback.go index 22e181e9f2e..9becbe707fc 100644 --- a/service/costexplorer/api_op_ProvideAnomalyFeedback.go +++ b/service/costexplorer/api_op_ProvideAnomalyFeedback.go @@ -120,9 +120,6 @@ func (c *Client) addOperationProvideAnomalyFeedbackMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpProvideAnomalyFeedbackValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_StartCommitmentPurchaseAnalysis.go b/service/costexplorer/api_op_StartCommitmentPurchaseAnalysis.go index 5de47c9714f..81d123155c7 100644 --- a/service/costexplorer/api_op_StartCommitmentPurchaseAnalysis.go +++ b/service/costexplorer/api_op_StartCommitmentPurchaseAnalysis.go @@ -126,9 +126,6 @@ func (c *Client) addOperationStartCommitmentPurchaseAnalysisMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartCommitmentPurchaseAnalysisValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_StartCostAllocationTagBackfill.go b/service/costexplorer/api_op_StartCostAllocationTagBackfill.go index b1b76bfa4dc..9c7c6470f79 100644 --- a/service/costexplorer/api_op_StartCostAllocationTagBackfill.go +++ b/service/costexplorer/api_op_StartCostAllocationTagBackfill.go @@ -119,9 +119,6 @@ func (c *Client) addOperationStartCostAllocationTagBackfillMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartCostAllocationTagBackfillValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_StartSavingsPlansPurchaseRecommendationGeneration.go b/service/costexplorer/api_op_StartSavingsPlansPurchaseRecommendationGeneration.go index 7042b88e115..36436e87a87 100644 --- a/service/costexplorer/api_op_StartSavingsPlansPurchaseRecommendationGeneration.go +++ b/service/costexplorer/api_op_StartSavingsPlansPurchaseRecommendationGeneration.go @@ -118,9 +118,6 @@ func (c *Client) addOperationStartSavingsPlansPurchaseRecommendationGenerationMi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartSavingsPlansPurchaseRecommendationGeneration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/costexplorer/api_op_TagResource.go b/service/costexplorer/api_op_TagResource.go index 874469e1aaf..faaec91fbcd 100644 --- a/service/costexplorer/api_op_TagResource.go +++ b/service/costexplorer/api_op_TagResource.go @@ -146,9 +146,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_UntagResource.go b/service/costexplorer/api_op_UntagResource.go index 4b59fdcfbd0..32aa65960f8 100644 --- a/service/costexplorer/api_op_UntagResource.go +++ b/service/costexplorer/api_op_UntagResource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_UpdateAnomalyMonitor.go b/service/costexplorer/api_op_UpdateAnomalyMonitor.go index 6cae53c86de..a7eed37fc5b 100644 --- a/service/costexplorer/api_op_UpdateAnomalyMonitor.go +++ b/service/costexplorer/api_op_UpdateAnomalyMonitor.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUpdateAnomalyMonitorMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAnomalyMonitorValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_UpdateAnomalySubscription.go b/service/costexplorer/api_op_UpdateAnomalySubscription.go index 9af78e51b03..67694a6312e 100644 --- a/service/costexplorer/api_op_UpdateAnomalySubscription.go +++ b/service/costexplorer/api_op_UpdateAnomalySubscription.go @@ -182,9 +182,6 @@ func (c *Client) addOperationUpdateAnomalySubscriptionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAnomalySubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_UpdateCostAllocationTagsStatus.go b/service/costexplorer/api_op_UpdateCostAllocationTagsStatus.go index 72bf6a47033..2e84715796f 100644 --- a/service/costexplorer/api_op_UpdateCostAllocationTagsStatus.go +++ b/service/costexplorer/api_op_UpdateCostAllocationTagsStatus.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateCostAllocationTagsStatusMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCostAllocationTagsStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/api_op_UpdateCostCategoryDefinition.go b/service/costexplorer/api_op_UpdateCostCategoryDefinition.go index c2b44304f1f..a4ce7ae3d40 100644 --- a/service/costexplorer/api_op_UpdateCostCategoryDefinition.go +++ b/service/costexplorer/api_op_UpdateCostCategoryDefinition.go @@ -143,9 +143,6 @@ func (c *Client) addOperationUpdateCostCategoryDefinitionMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCostCategoryDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/costexplorer/snapshot/api_op_CreateAnomalyMonitor.go.snap b/service/costexplorer/snapshot/api_op_CreateAnomalyMonitor.go.snap index 944d9357ae9..032663fe2d6 100644 --- a/service/costexplorer/snapshot/api_op_CreateAnomalyMonitor.go.snap +++ b/service/costexplorer/snapshot/api_op_CreateAnomalyMonitor.go.snap @@ -14,7 +14,6 @@ CreateAnomalyMonitor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_CreateAnomalySubscription.go.snap b/service/costexplorer/snapshot/api_op_CreateAnomalySubscription.go.snap index d9c631419ee..c1d31da5f45 100644 --- a/service/costexplorer/snapshot/api_op_CreateAnomalySubscription.go.snap +++ b/service/costexplorer/snapshot/api_op_CreateAnomalySubscription.go.snap @@ -14,7 +14,6 @@ CreateAnomalySubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_CreateCostCategoryDefinition.go.snap b/service/costexplorer/snapshot/api_op_CreateCostCategoryDefinition.go.snap index 2831f240054..ee06738a9f1 100644 --- a/service/costexplorer/snapshot/api_op_CreateCostCategoryDefinition.go.snap +++ b/service/costexplorer/snapshot/api_op_CreateCostCategoryDefinition.go.snap @@ -14,7 +14,6 @@ CreateCostCategoryDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_DeleteAnomalyMonitor.go.snap b/service/costexplorer/snapshot/api_op_DeleteAnomalyMonitor.go.snap index 8d5be356f10..cb07b4a36b2 100644 --- a/service/costexplorer/snapshot/api_op_DeleteAnomalyMonitor.go.snap +++ b/service/costexplorer/snapshot/api_op_DeleteAnomalyMonitor.go.snap @@ -14,7 +14,6 @@ DeleteAnomalyMonitor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_DeleteAnomalySubscription.go.snap b/service/costexplorer/snapshot/api_op_DeleteAnomalySubscription.go.snap index 64724d44a79..15fc2162156 100644 --- a/service/costexplorer/snapshot/api_op_DeleteAnomalySubscription.go.snap +++ b/service/costexplorer/snapshot/api_op_DeleteAnomalySubscription.go.snap @@ -14,7 +14,6 @@ DeleteAnomalySubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_DeleteCostCategoryDefinition.go.snap b/service/costexplorer/snapshot/api_op_DeleteCostCategoryDefinition.go.snap index 0e16a4a2d1b..080a8bf7dfb 100644 --- a/service/costexplorer/snapshot/api_op_DeleteCostCategoryDefinition.go.snap +++ b/service/costexplorer/snapshot/api_op_DeleteCostCategoryDefinition.go.snap @@ -14,7 +14,6 @@ DeleteCostCategoryDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_DescribeCostCategoryDefinition.go.snap b/service/costexplorer/snapshot/api_op_DescribeCostCategoryDefinition.go.snap index a36cb86e257..ae5113dbc03 100644 --- a/service/costexplorer/snapshot/api_op_DescribeCostCategoryDefinition.go.snap +++ b/service/costexplorer/snapshot/api_op_DescribeCostCategoryDefinition.go.snap @@ -14,7 +14,6 @@ DescribeCostCategoryDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_GetAnomalies.go.snap b/service/costexplorer/snapshot/api_op_GetAnomalies.go.snap index 54c90401d11..e7fe58205e4 100644 --- a/service/costexplorer/snapshot/api_op_GetAnomalies.go.snap +++ b/service/costexplorer/snapshot/api_op_GetAnomalies.go.snap @@ -14,7 +14,6 @@ GetAnomalies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_GetAnomalyMonitors.go.snap b/service/costexplorer/snapshot/api_op_GetAnomalyMonitors.go.snap index ea9bbc14314..c64cb26ca54 100644 --- a/service/costexplorer/snapshot/api_op_GetAnomalyMonitors.go.snap +++ b/service/costexplorer/snapshot/api_op_GetAnomalyMonitors.go.snap @@ -13,7 +13,6 @@ GetAnomalyMonitors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_GetAnomalySubscriptions.go.snap b/service/costexplorer/snapshot/api_op_GetAnomalySubscriptions.go.snap index 384b41a0065..d4c55adefdb 100644 --- a/service/costexplorer/snapshot/api_op_GetAnomalySubscriptions.go.snap +++ b/service/costexplorer/snapshot/api_op_GetAnomalySubscriptions.go.snap @@ -13,7 +13,6 @@ GetAnomalySubscriptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_GetApproximateUsageRecords.go.snap b/service/costexplorer/snapshot/api_op_GetApproximateUsageRecords.go.snap index 4385fddff7f..2d4299679a1 100644 --- a/service/costexplorer/snapshot/api_op_GetApproximateUsageRecords.go.snap +++ b/service/costexplorer/snapshot/api_op_GetApproximateUsageRecords.go.snap @@ -14,7 +14,6 @@ GetApproximateUsageRecords Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_GetCommitmentPurchaseAnalysis.go.snap b/service/costexplorer/snapshot/api_op_GetCommitmentPurchaseAnalysis.go.snap index b7a47920cc6..68ace8fab1b 100644 --- a/service/costexplorer/snapshot/api_op_GetCommitmentPurchaseAnalysis.go.snap +++ b/service/costexplorer/snapshot/api_op_GetCommitmentPurchaseAnalysis.go.snap @@ -14,7 +14,6 @@ GetCommitmentPurchaseAnalysis Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_GetCostAndUsage.go.snap b/service/costexplorer/snapshot/api_op_GetCostAndUsage.go.snap index 8fad3082e2f..1aa68d841f7 100644 --- a/service/costexplorer/snapshot/api_op_GetCostAndUsage.go.snap +++ b/service/costexplorer/snapshot/api_op_GetCostAndUsage.go.snap @@ -14,7 +14,6 @@ GetCostAndUsage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_GetCostAndUsageWithResources.go.snap b/service/costexplorer/snapshot/api_op_GetCostAndUsageWithResources.go.snap index 3cf0b0229e5..0f320f2ec18 100644 --- a/service/costexplorer/snapshot/api_op_GetCostAndUsageWithResources.go.snap +++ b/service/costexplorer/snapshot/api_op_GetCostAndUsageWithResources.go.snap @@ -14,7 +14,6 @@ GetCostAndUsageWithResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_GetCostCategories.go.snap b/service/costexplorer/snapshot/api_op_GetCostCategories.go.snap index 4dc4d6593a6..06d0c85c53a 100644 --- a/service/costexplorer/snapshot/api_op_GetCostCategories.go.snap +++ b/service/costexplorer/snapshot/api_op_GetCostCategories.go.snap @@ -14,7 +14,6 @@ GetCostCategories Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_GetCostForecast.go.snap b/service/costexplorer/snapshot/api_op_GetCostForecast.go.snap index 89678ce66e9..b520e228590 100644 --- a/service/costexplorer/snapshot/api_op_GetCostForecast.go.snap +++ b/service/costexplorer/snapshot/api_op_GetCostForecast.go.snap @@ -14,7 +14,6 @@ GetCostForecast Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_GetDimensionValues.go.snap b/service/costexplorer/snapshot/api_op_GetDimensionValues.go.snap index 604914d4aa6..555699545e2 100644 --- a/service/costexplorer/snapshot/api_op_GetDimensionValues.go.snap +++ b/service/costexplorer/snapshot/api_op_GetDimensionValues.go.snap @@ -14,7 +14,6 @@ GetDimensionValues Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_GetReservationCoverage.go.snap b/service/costexplorer/snapshot/api_op_GetReservationCoverage.go.snap index 92e72358c4a..d6df42f0d65 100644 --- a/service/costexplorer/snapshot/api_op_GetReservationCoverage.go.snap +++ b/service/costexplorer/snapshot/api_op_GetReservationCoverage.go.snap @@ -14,7 +14,6 @@ GetReservationCoverage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_GetReservationPurchaseRecommendation.go.snap b/service/costexplorer/snapshot/api_op_GetReservationPurchaseRecommendation.go.snap index f50e1018229..0d7f618e339 100644 --- a/service/costexplorer/snapshot/api_op_GetReservationPurchaseRecommendation.go.snap +++ b/service/costexplorer/snapshot/api_op_GetReservationPurchaseRecommendation.go.snap @@ -14,7 +14,6 @@ GetReservationPurchaseRecommendation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_GetReservationUtilization.go.snap b/service/costexplorer/snapshot/api_op_GetReservationUtilization.go.snap index 45c336f7ded..5ede84fe6ad 100644 --- a/service/costexplorer/snapshot/api_op_GetReservationUtilization.go.snap +++ b/service/costexplorer/snapshot/api_op_GetReservationUtilization.go.snap @@ -14,7 +14,6 @@ GetReservationUtilization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_GetRightsizingRecommendation.go.snap b/service/costexplorer/snapshot/api_op_GetRightsizingRecommendation.go.snap index 6b7c6f2ffb9..939d4ba8b97 100644 --- a/service/costexplorer/snapshot/api_op_GetRightsizingRecommendation.go.snap +++ b/service/costexplorer/snapshot/api_op_GetRightsizingRecommendation.go.snap @@ -14,7 +14,6 @@ GetRightsizingRecommendation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_GetSavingsPlanPurchaseRecommendationDetails.go.snap b/service/costexplorer/snapshot/api_op_GetSavingsPlanPurchaseRecommendationDetails.go.snap index 48596153d0e..d44c3cfbaad 100644 --- a/service/costexplorer/snapshot/api_op_GetSavingsPlanPurchaseRecommendationDetails.go.snap +++ b/service/costexplorer/snapshot/api_op_GetSavingsPlanPurchaseRecommendationDetails.go.snap @@ -14,7 +14,6 @@ GetSavingsPlanPurchaseRecommendationDetails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_GetSavingsPlansCoverage.go.snap b/service/costexplorer/snapshot/api_op_GetSavingsPlansCoverage.go.snap index dca29356f00..25983b9fb90 100644 --- a/service/costexplorer/snapshot/api_op_GetSavingsPlansCoverage.go.snap +++ b/service/costexplorer/snapshot/api_op_GetSavingsPlansCoverage.go.snap @@ -14,7 +14,6 @@ GetSavingsPlansCoverage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_GetSavingsPlansPurchaseRecommendation.go.snap b/service/costexplorer/snapshot/api_op_GetSavingsPlansPurchaseRecommendation.go.snap index 7ce2e29de08..d003f197137 100644 --- a/service/costexplorer/snapshot/api_op_GetSavingsPlansPurchaseRecommendation.go.snap +++ b/service/costexplorer/snapshot/api_op_GetSavingsPlansPurchaseRecommendation.go.snap @@ -14,7 +14,6 @@ GetSavingsPlansPurchaseRecommendation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_GetSavingsPlansUtilization.go.snap b/service/costexplorer/snapshot/api_op_GetSavingsPlansUtilization.go.snap index 055a1bd51da..cb1a33eb13b 100644 --- a/service/costexplorer/snapshot/api_op_GetSavingsPlansUtilization.go.snap +++ b/service/costexplorer/snapshot/api_op_GetSavingsPlansUtilization.go.snap @@ -14,7 +14,6 @@ GetSavingsPlansUtilization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_GetSavingsPlansUtilizationDetails.go.snap b/service/costexplorer/snapshot/api_op_GetSavingsPlansUtilizationDetails.go.snap index 52d8dc2f263..4f756de5d50 100644 --- a/service/costexplorer/snapshot/api_op_GetSavingsPlansUtilizationDetails.go.snap +++ b/service/costexplorer/snapshot/api_op_GetSavingsPlansUtilizationDetails.go.snap @@ -14,7 +14,6 @@ GetSavingsPlansUtilizationDetails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_GetTags.go.snap b/service/costexplorer/snapshot/api_op_GetTags.go.snap index ac57500ef60..0ad3eb6ac2f 100644 --- a/service/costexplorer/snapshot/api_op_GetTags.go.snap +++ b/service/costexplorer/snapshot/api_op_GetTags.go.snap @@ -14,7 +14,6 @@ GetTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_GetUsageForecast.go.snap b/service/costexplorer/snapshot/api_op_GetUsageForecast.go.snap index 4625a2abe12..980e69284fd 100644 --- a/service/costexplorer/snapshot/api_op_GetUsageForecast.go.snap +++ b/service/costexplorer/snapshot/api_op_GetUsageForecast.go.snap @@ -14,7 +14,6 @@ GetUsageForecast Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_ListCommitmentPurchaseAnalyses.go.snap b/service/costexplorer/snapshot/api_op_ListCommitmentPurchaseAnalyses.go.snap index c3b8172456c..ca8afcbbf6c 100644 --- a/service/costexplorer/snapshot/api_op_ListCommitmentPurchaseAnalyses.go.snap +++ b/service/costexplorer/snapshot/api_op_ListCommitmentPurchaseAnalyses.go.snap @@ -13,7 +13,6 @@ ListCommitmentPurchaseAnalyses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_ListCostAllocationTagBackfillHistory.go.snap b/service/costexplorer/snapshot/api_op_ListCostAllocationTagBackfillHistory.go.snap index 096a88766c4..0eecbc64d6f 100644 --- a/service/costexplorer/snapshot/api_op_ListCostAllocationTagBackfillHistory.go.snap +++ b/service/costexplorer/snapshot/api_op_ListCostAllocationTagBackfillHistory.go.snap @@ -13,7 +13,6 @@ ListCostAllocationTagBackfillHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_ListCostAllocationTags.go.snap b/service/costexplorer/snapshot/api_op_ListCostAllocationTags.go.snap index 268a83f1581..0a69afd2e1f 100644 --- a/service/costexplorer/snapshot/api_op_ListCostAllocationTags.go.snap +++ b/service/costexplorer/snapshot/api_op_ListCostAllocationTags.go.snap @@ -13,7 +13,6 @@ ListCostAllocationTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_ListCostCategoryDefinitions.go.snap b/service/costexplorer/snapshot/api_op_ListCostCategoryDefinitions.go.snap index 1e291a5e001..d7ed882e974 100644 --- a/service/costexplorer/snapshot/api_op_ListCostCategoryDefinitions.go.snap +++ b/service/costexplorer/snapshot/api_op_ListCostCategoryDefinitions.go.snap @@ -13,7 +13,6 @@ ListCostCategoryDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_ListSavingsPlansPurchaseRecommendationGeneration.go.snap b/service/costexplorer/snapshot/api_op_ListSavingsPlansPurchaseRecommendationGeneration.go.snap index fe46f39dc57..d4599203bc4 100644 --- a/service/costexplorer/snapshot/api_op_ListSavingsPlansPurchaseRecommendationGeneration.go.snap +++ b/service/costexplorer/snapshot/api_op_ListSavingsPlansPurchaseRecommendationGeneration.go.snap @@ -13,7 +13,6 @@ ListSavingsPlansPurchaseRecommendationGeneration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_ListTagsForResource.go.snap b/service/costexplorer/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/costexplorer/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/costexplorer/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_ProvideAnomalyFeedback.go.snap b/service/costexplorer/snapshot/api_op_ProvideAnomalyFeedback.go.snap index aa276a56557..ea7e715de4b 100644 --- a/service/costexplorer/snapshot/api_op_ProvideAnomalyFeedback.go.snap +++ b/service/costexplorer/snapshot/api_op_ProvideAnomalyFeedback.go.snap @@ -14,7 +14,6 @@ ProvideAnomalyFeedback Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_StartCommitmentPurchaseAnalysis.go.snap b/service/costexplorer/snapshot/api_op_StartCommitmentPurchaseAnalysis.go.snap index c486cf57ee7..1fea48fb8ed 100644 --- a/service/costexplorer/snapshot/api_op_StartCommitmentPurchaseAnalysis.go.snap +++ b/service/costexplorer/snapshot/api_op_StartCommitmentPurchaseAnalysis.go.snap @@ -14,7 +14,6 @@ StartCommitmentPurchaseAnalysis Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_StartCostAllocationTagBackfill.go.snap b/service/costexplorer/snapshot/api_op_StartCostAllocationTagBackfill.go.snap index 6c1e40e4697..54ab12e52bd 100644 --- a/service/costexplorer/snapshot/api_op_StartCostAllocationTagBackfill.go.snap +++ b/service/costexplorer/snapshot/api_op_StartCostAllocationTagBackfill.go.snap @@ -14,7 +14,6 @@ StartCostAllocationTagBackfill Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_StartSavingsPlansPurchaseRecommendationGeneration.go.snap b/service/costexplorer/snapshot/api_op_StartSavingsPlansPurchaseRecommendationGeneration.go.snap index 054f7e88f48..6895b01a089 100644 --- a/service/costexplorer/snapshot/api_op_StartSavingsPlansPurchaseRecommendationGeneration.go.snap +++ b/service/costexplorer/snapshot/api_op_StartSavingsPlansPurchaseRecommendationGeneration.go.snap @@ -13,7 +13,6 @@ StartSavingsPlansPurchaseRecommendationGeneration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_TagResource.go.snap b/service/costexplorer/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/costexplorer/snapshot/api_op_TagResource.go.snap +++ b/service/costexplorer/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_UntagResource.go.snap b/service/costexplorer/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/costexplorer/snapshot/api_op_UntagResource.go.snap +++ b/service/costexplorer/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_UpdateAnomalyMonitor.go.snap b/service/costexplorer/snapshot/api_op_UpdateAnomalyMonitor.go.snap index b139edf1a92..203300af345 100644 --- a/service/costexplorer/snapshot/api_op_UpdateAnomalyMonitor.go.snap +++ b/service/costexplorer/snapshot/api_op_UpdateAnomalyMonitor.go.snap @@ -14,7 +14,6 @@ UpdateAnomalyMonitor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_UpdateAnomalySubscription.go.snap b/service/costexplorer/snapshot/api_op_UpdateAnomalySubscription.go.snap index 923094fb7f7..7cc1bb0247c 100644 --- a/service/costexplorer/snapshot/api_op_UpdateAnomalySubscription.go.snap +++ b/service/costexplorer/snapshot/api_op_UpdateAnomalySubscription.go.snap @@ -14,7 +14,6 @@ UpdateAnomalySubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_UpdateCostAllocationTagsStatus.go.snap b/service/costexplorer/snapshot/api_op_UpdateCostAllocationTagsStatus.go.snap index b2451eaff90..76e8cb54ae3 100644 --- a/service/costexplorer/snapshot/api_op_UpdateCostAllocationTagsStatus.go.snap +++ b/service/costexplorer/snapshot/api_op_UpdateCostAllocationTagsStatus.go.snap @@ -14,7 +14,6 @@ UpdateCostAllocationTagsStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costexplorer/snapshot/api_op_UpdateCostCategoryDefinition.go.snap b/service/costexplorer/snapshot/api_op_UpdateCostCategoryDefinition.go.snap index 4d07f59d58d..687c7855a6e 100644 --- a/service/costexplorer/snapshot/api_op_UpdateCostCategoryDefinition.go.snap +++ b/service/costexplorer/snapshot/api_op_UpdateCostCategoryDefinition.go.snap @@ -14,7 +14,6 @@ UpdateCostCategoryDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costoptimizationhub/api_client.go b/service/costoptimizationhub/api_client.go index dd243a75381..6d380e5babb 100644 --- a/service/costoptimizationhub/api_client.go +++ b/service/costoptimizationhub/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/costoptimizationhub/api_op_GetPreferences.go b/service/costoptimizationhub/api_op_GetPreferences.go index f6945cfbe63..ac306dfd82c 100644 --- a/service/costoptimizationhub/api_op_GetPreferences.go +++ b/service/costoptimizationhub/api_op_GetPreferences.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetPreferencesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPreferences(options.Region), middleware.Before); err != nil { return err } diff --git a/service/costoptimizationhub/api_op_GetRecommendation.go b/service/costoptimizationhub/api_op_GetRecommendation.go index c3ec2e171c1..73d3930f838 100644 --- a/service/costoptimizationhub/api_op_GetRecommendation.go +++ b/service/costoptimizationhub/api_op_GetRecommendation.go @@ -188,9 +188,6 @@ func (c *Client) addOperationGetRecommendationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRecommendationValidationMiddleware(stack); err != nil { return err } diff --git a/service/costoptimizationhub/api_op_ListEnrollmentStatuses.go b/service/costoptimizationhub/api_op_ListEnrollmentStatuses.go index 6a84cb6e5d1..0bf7a241062 100644 --- a/service/costoptimizationhub/api_op_ListEnrollmentStatuses.go +++ b/service/costoptimizationhub/api_op_ListEnrollmentStatuses.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListEnrollmentStatusesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEnrollmentStatuses(options.Region), middleware.Before); err != nil { return err } diff --git a/service/costoptimizationhub/api_op_ListRecommendationSummaries.go b/service/costoptimizationhub/api_op_ListRecommendationSummaries.go index 03d696ff317..7b73e1eb1b6 100644 --- a/service/costoptimizationhub/api_op_ListRecommendationSummaries.go +++ b/service/costoptimizationhub/api_op_ListRecommendationSummaries.go @@ -146,9 +146,6 @@ func (c *Client) addOperationListRecommendationSummariesMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRecommendationSummariesValidationMiddleware(stack); err != nil { return err } diff --git a/service/costoptimizationhub/api_op_ListRecommendations.go b/service/costoptimizationhub/api_op_ListRecommendations.go index 2fe745ca30f..f9220e7c2db 100644 --- a/service/costoptimizationhub/api_op_ListRecommendations.go +++ b/service/costoptimizationhub/api_op_ListRecommendations.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListRecommendationsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRecommendations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/costoptimizationhub/api_op_UpdateEnrollmentStatus.go b/service/costoptimizationhub/api_op_UpdateEnrollmentStatus.go index 3bdad852eec..648b439b559 100644 --- a/service/costoptimizationhub/api_op_UpdateEnrollmentStatus.go +++ b/service/costoptimizationhub/api_op_UpdateEnrollmentStatus.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateEnrollmentStatusMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEnrollmentStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/costoptimizationhub/api_op_UpdatePreferences.go b/service/costoptimizationhub/api_op_UpdatePreferences.go index c282133678e..a2bdda50dc0 100644 --- a/service/costoptimizationhub/api_op_UpdatePreferences.go +++ b/service/costoptimizationhub/api_op_UpdatePreferences.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdatePreferencesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdatePreferences(options.Region), middleware.Before); err != nil { return err } diff --git a/service/costoptimizationhub/snapshot/api_op_GetPreferences.go.snap b/service/costoptimizationhub/snapshot/api_op_GetPreferences.go.snap index 9c7db8ef978..f14aed5df6e 100644 --- a/service/costoptimizationhub/snapshot/api_op_GetPreferences.go.snap +++ b/service/costoptimizationhub/snapshot/api_op_GetPreferences.go.snap @@ -13,7 +13,6 @@ GetPreferences Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costoptimizationhub/snapshot/api_op_GetRecommendation.go.snap b/service/costoptimizationhub/snapshot/api_op_GetRecommendation.go.snap index fbbfa2afd5f..46b0239c7cc 100644 --- a/service/costoptimizationhub/snapshot/api_op_GetRecommendation.go.snap +++ b/service/costoptimizationhub/snapshot/api_op_GetRecommendation.go.snap @@ -14,7 +14,6 @@ GetRecommendation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costoptimizationhub/snapshot/api_op_ListEnrollmentStatuses.go.snap b/service/costoptimizationhub/snapshot/api_op_ListEnrollmentStatuses.go.snap index f8159e32a6d..e7889d1f902 100644 --- a/service/costoptimizationhub/snapshot/api_op_ListEnrollmentStatuses.go.snap +++ b/service/costoptimizationhub/snapshot/api_op_ListEnrollmentStatuses.go.snap @@ -13,7 +13,6 @@ ListEnrollmentStatuses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costoptimizationhub/snapshot/api_op_ListRecommendationSummaries.go.snap b/service/costoptimizationhub/snapshot/api_op_ListRecommendationSummaries.go.snap index b4974342b73..cebd434ee24 100644 --- a/service/costoptimizationhub/snapshot/api_op_ListRecommendationSummaries.go.snap +++ b/service/costoptimizationhub/snapshot/api_op_ListRecommendationSummaries.go.snap @@ -14,7 +14,6 @@ ListRecommendationSummaries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costoptimizationhub/snapshot/api_op_ListRecommendations.go.snap b/service/costoptimizationhub/snapshot/api_op_ListRecommendations.go.snap index 799e878ceab..4d55ea7adbf 100644 --- a/service/costoptimizationhub/snapshot/api_op_ListRecommendations.go.snap +++ b/service/costoptimizationhub/snapshot/api_op_ListRecommendations.go.snap @@ -13,7 +13,6 @@ ListRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costoptimizationhub/snapshot/api_op_UpdateEnrollmentStatus.go.snap b/service/costoptimizationhub/snapshot/api_op_UpdateEnrollmentStatus.go.snap index 5def1b61f15..9f9d5219022 100644 --- a/service/costoptimizationhub/snapshot/api_op_UpdateEnrollmentStatus.go.snap +++ b/service/costoptimizationhub/snapshot/api_op_UpdateEnrollmentStatus.go.snap @@ -14,7 +14,6 @@ UpdateEnrollmentStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/costoptimizationhub/snapshot/api_op_UpdatePreferences.go.snap b/service/costoptimizationhub/snapshot/api_op_UpdatePreferences.go.snap index 979fab4328c..f4f358ea0e2 100644 --- a/service/costoptimizationhub/snapshot/api_op_UpdatePreferences.go.snap +++ b/service/costoptimizationhub/snapshot/api_op_UpdatePreferences.go.snap @@ -13,7 +13,6 @@ UpdatePreferences Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/api_client.go b/service/customerprofiles/api_client.go index 1cee31259d0..3025cdb148d 100644 --- a/service/customerprofiles/api_client.go +++ b/service/customerprofiles/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/customerprofiles/api_op_AddProfileKey.go b/service/customerprofiles/api_op_AddProfileKey.go index 7876c461e2c..46b34994b75 100644 --- a/service/customerprofiles/api_op_AddProfileKey.go +++ b/service/customerprofiles/api_op_AddProfileKey.go @@ -138,9 +138,6 @@ func (c *Client) addOperationAddProfileKeyMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddProfileKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_BatchGetCalculatedAttributeForProfile.go b/service/customerprofiles/api_op_BatchGetCalculatedAttributeForProfile.go index ffbcd603c80..09eaa7cdfbf 100644 --- a/service/customerprofiles/api_op_BatchGetCalculatedAttributeForProfile.go +++ b/service/customerprofiles/api_op_BatchGetCalculatedAttributeForProfile.go @@ -133,9 +133,6 @@ func (c *Client) addOperationBatchGetCalculatedAttributeForProfileMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetCalculatedAttributeForProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_BatchGetProfile.go b/service/customerprofiles/api_op_BatchGetProfile.go index 6772344de22..74be93867b6 100644 --- a/service/customerprofiles/api_op_BatchGetProfile.go +++ b/service/customerprofiles/api_op_BatchGetProfile.go @@ -122,9 +122,6 @@ func (c *Client) addOperationBatchGetProfileMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_CreateCalculatedAttributeDefinition.go b/service/customerprofiles/api_op_CreateCalculatedAttributeDefinition.go index 19d67521913..e8ce4335019 100644 --- a/service/customerprofiles/api_op_CreateCalculatedAttributeDefinition.go +++ b/service/customerprofiles/api_op_CreateCalculatedAttributeDefinition.go @@ -183,9 +183,6 @@ func (c *Client) addOperationCreateCalculatedAttributeDefinitionMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCalculatedAttributeDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_CreateDomain.go b/service/customerprofiles/api_op_CreateDomain.go index adb41064a41..3efed878a95 100644 --- a/service/customerprofiles/api_op_CreateDomain.go +++ b/service/customerprofiles/api_op_CreateDomain.go @@ -229,9 +229,6 @@ func (c *Client) addOperationCreateDomainMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_CreateEventStream.go b/service/customerprofiles/api_op_CreateEventStream.go index f8c353eb621..75623193489 100644 --- a/service/customerprofiles/api_op_CreateEventStream.go +++ b/service/customerprofiles/api_op_CreateEventStream.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateEventStreamMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEventStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_CreateEventTrigger.go b/service/customerprofiles/api_op_CreateEventTrigger.go index 34b0a69746a..394efa46714 100644 --- a/service/customerprofiles/api_op_CreateEventTrigger.go +++ b/service/customerprofiles/api_op_CreateEventTrigger.go @@ -176,9 +176,6 @@ func (c *Client) addOperationCreateEventTriggerMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEventTriggerValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_CreateIntegrationWorkflow.go b/service/customerprofiles/api_op_CreateIntegrationWorkflow.go index 1fad586729b..8014e5dc8fe 100644 --- a/service/customerprofiles/api_op_CreateIntegrationWorkflow.go +++ b/service/customerprofiles/api_op_CreateIntegrationWorkflow.go @@ -146,9 +146,6 @@ func (c *Client) addOperationCreateIntegrationWorkflowMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateIntegrationWorkflowValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_CreateProfile.go b/service/customerprofiles/api_op_CreateProfile.go index 929e0adcf36..3938651d553 100644 --- a/service/customerprofiles/api_op_CreateProfile.go +++ b/service/customerprofiles/api_op_CreateProfile.go @@ -193,9 +193,6 @@ func (c *Client) addOperationCreateProfileMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_CreateSegmentDefinition.go b/service/customerprofiles/api_op_CreateSegmentDefinition.go index 1a354ad3ed4..d1b7e1ec94f 100644 --- a/service/customerprofiles/api_op_CreateSegmentDefinition.go +++ b/service/customerprofiles/api_op_CreateSegmentDefinition.go @@ -152,9 +152,6 @@ func (c *Client) addOperationCreateSegmentDefinitionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSegmentDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_CreateSegmentEstimate.go b/service/customerprofiles/api_op_CreateSegmentEstimate.go index 3795bb3e833..e80f2bf609e 100644 --- a/service/customerprofiles/api_op_CreateSegmentEstimate.go +++ b/service/customerprofiles/api_op_CreateSegmentEstimate.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCreateSegmentEstimateMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSegmentEstimateValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_CreateSegmentSnapshot.go b/service/customerprofiles/api_op_CreateSegmentSnapshot.go index 6fd9df91e0b..5d5411bda8c 100644 --- a/service/customerprofiles/api_op_CreateSegmentSnapshot.go +++ b/service/customerprofiles/api_op_CreateSegmentSnapshot.go @@ -136,9 +136,6 @@ func (c *Client) addOperationCreateSegmentSnapshotMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSegmentSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_DeleteCalculatedAttributeDefinition.go b/service/customerprofiles/api_op_DeleteCalculatedAttributeDefinition.go index 935789957a4..4198320135c 100644 --- a/service/customerprofiles/api_op_DeleteCalculatedAttributeDefinition.go +++ b/service/customerprofiles/api_op_DeleteCalculatedAttributeDefinition.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteCalculatedAttributeDefinitionMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCalculatedAttributeDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_DeleteDomain.go b/service/customerprofiles/api_op_DeleteDomain.go index 8858329ffea..52903703d27 100644 --- a/service/customerprofiles/api_op_DeleteDomain.go +++ b/service/customerprofiles/api_op_DeleteDomain.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteDomainMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_DeleteEventStream.go b/service/customerprofiles/api_op_DeleteEventStream.go index b583da0948b..2479dc4336b 100644 --- a/service/customerprofiles/api_op_DeleteEventStream.go +++ b/service/customerprofiles/api_op_DeleteEventStream.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteEventStreamMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEventStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_DeleteEventTrigger.go b/service/customerprofiles/api_op_DeleteEventTrigger.go index ae197a7b0ba..b0cd36b4863 100644 --- a/service/customerprofiles/api_op_DeleteEventTrigger.go +++ b/service/customerprofiles/api_op_DeleteEventTrigger.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteEventTriggerMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEventTriggerValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_DeleteIntegration.go b/service/customerprofiles/api_op_DeleteIntegration.go index 979b38c5b9f..930d6dc4d4d 100644 --- a/service/customerprofiles/api_op_DeleteIntegration.go +++ b/service/customerprofiles/api_op_DeleteIntegration.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteIntegrationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIntegrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_DeleteProfile.go b/service/customerprofiles/api_op_DeleteProfile.go index 2b9e53163bd..d3fc2dae17c 100644 --- a/service/customerprofiles/api_op_DeleteProfile.go +++ b/service/customerprofiles/api_op_DeleteProfile.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteProfileMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_DeleteProfileKey.go b/service/customerprofiles/api_op_DeleteProfileKey.go index 22ba1f34c75..5adaa9b11ba 100644 --- a/service/customerprofiles/api_op_DeleteProfileKey.go +++ b/service/customerprofiles/api_op_DeleteProfileKey.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDeleteProfileKeyMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProfileKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_DeleteProfileObject.go b/service/customerprofiles/api_op_DeleteProfileObject.go index bf3666de492..56598488925 100644 --- a/service/customerprofiles/api_op_DeleteProfileObject.go +++ b/service/customerprofiles/api_op_DeleteProfileObject.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDeleteProfileObjectMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProfileObjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_DeleteProfileObjectType.go b/service/customerprofiles/api_op_DeleteProfileObjectType.go index 8ec510df691..72a4e8d54a6 100644 --- a/service/customerprofiles/api_op_DeleteProfileObjectType.go +++ b/service/customerprofiles/api_op_DeleteProfileObjectType.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteProfileObjectTypeMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProfileObjectTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_DeleteSegmentDefinition.go b/service/customerprofiles/api_op_DeleteSegmentDefinition.go index e7e621329d8..bc7aad1273a 100644 --- a/service/customerprofiles/api_op_DeleteSegmentDefinition.go +++ b/service/customerprofiles/api_op_DeleteSegmentDefinition.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteSegmentDefinitionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSegmentDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_DeleteWorkflow.go b/service/customerprofiles/api_op_DeleteWorkflow.go index 21a7770fdfa..60c75eb6d94 100644 --- a/service/customerprofiles/api_op_DeleteWorkflow.go +++ b/service/customerprofiles/api_op_DeleteWorkflow.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteWorkflowMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWorkflowValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_DetectProfileObjectType.go b/service/customerprofiles/api_op_DetectProfileObjectType.go index 5d8c80c984e..73cf48f417e 100644 --- a/service/customerprofiles/api_op_DetectProfileObjectType.go +++ b/service/customerprofiles/api_op_DetectProfileObjectType.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDetectProfileObjectTypeMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetectProfileObjectTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_GetAutoMergingPreview.go b/service/customerprofiles/api_op_GetAutoMergingPreview.go index a9a280a5671..66c3ffccdbc 100644 --- a/service/customerprofiles/api_op_GetAutoMergingPreview.go +++ b/service/customerprofiles/api_op_GetAutoMergingPreview.go @@ -152,9 +152,6 @@ func (c *Client) addOperationGetAutoMergingPreviewMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAutoMergingPreviewValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_GetCalculatedAttributeDefinition.go b/service/customerprofiles/api_op_GetCalculatedAttributeDefinition.go index fbd7e64aa1d..f1d9d6d1f50 100644 --- a/service/customerprofiles/api_op_GetCalculatedAttributeDefinition.go +++ b/service/customerprofiles/api_op_GetCalculatedAttributeDefinition.go @@ -149,9 +149,6 @@ func (c *Client) addOperationGetCalculatedAttributeDefinitionMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCalculatedAttributeDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_GetCalculatedAttributeForProfile.go b/service/customerprofiles/api_op_GetCalculatedAttributeForProfile.go index e7a1cb56a66..4980f0df286 100644 --- a/service/customerprofiles/api_op_GetCalculatedAttributeForProfile.go +++ b/service/customerprofiles/api_op_GetCalculatedAttributeForProfile.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetCalculatedAttributeForProfileMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCalculatedAttributeForProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_GetDomain.go b/service/customerprofiles/api_op_GetDomain.go index f09a67cae15..3b0c914602e 100644 --- a/service/customerprofiles/api_op_GetDomain.go +++ b/service/customerprofiles/api_op_GetDomain.go @@ -165,9 +165,6 @@ func (c *Client) addOperationGetDomainMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_GetEventStream.go b/service/customerprofiles/api_op_GetEventStream.go index 241ffa81e91..35cf6f1065e 100644 --- a/service/customerprofiles/api_op_GetEventStream.go +++ b/service/customerprofiles/api_op_GetEventStream.go @@ -146,9 +146,6 @@ func (c *Client) addOperationGetEventStreamMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEventStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_GetEventTrigger.go b/service/customerprofiles/api_op_GetEventTrigger.go index c8ca46400f5..30c5f9aa31f 100644 --- a/service/customerprofiles/api_op_GetEventTrigger.go +++ b/service/customerprofiles/api_op_GetEventTrigger.go @@ -146,9 +146,6 @@ func (c *Client) addOperationGetEventTriggerMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEventTriggerValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_GetIdentityResolutionJob.go b/service/customerprofiles/api_op_GetIdentityResolutionJob.go index 038a6b63561..21990f463c7 100644 --- a/service/customerprofiles/api_op_GetIdentityResolutionJob.go +++ b/service/customerprofiles/api_op_GetIdentityResolutionJob.go @@ -174,9 +174,6 @@ func (c *Client) addOperationGetIdentityResolutionJobMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIdentityResolutionJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_GetIntegration.go b/service/customerprofiles/api_op_GetIntegration.go index cb045bffbe4..ba37108f9b7 100644 --- a/service/customerprofiles/api_op_GetIntegration.go +++ b/service/customerprofiles/api_op_GetIntegration.go @@ -164,9 +164,6 @@ func (c *Client) addOperationGetIntegrationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIntegrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_GetMatches.go b/service/customerprofiles/api_op_GetMatches.go index bcc636910be..58c8bbdc79a 100644 --- a/service/customerprofiles/api_op_GetMatches.go +++ b/service/customerprofiles/api_op_GetMatches.go @@ -171,9 +171,6 @@ func (c *Client) addOperationGetMatchesMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMatchesValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_GetProfileObjectType.go b/service/customerprofiles/api_op_GetProfileObjectType.go index ceea180567f..9b0c007c3f8 100644 --- a/service/customerprofiles/api_op_GetProfileObjectType.go +++ b/service/customerprofiles/api_op_GetProfileObjectType.go @@ -166,9 +166,6 @@ func (c *Client) addOperationGetProfileObjectTypeMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetProfileObjectTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_GetProfileObjectTypeTemplate.go b/service/customerprofiles/api_op_GetProfileObjectTypeTemplate.go index 4e8f6c87dcf..635589a684b 100644 --- a/service/customerprofiles/api_op_GetProfileObjectTypeTemplate.go +++ b/service/customerprofiles/api_op_GetProfileObjectTypeTemplate.go @@ -139,9 +139,6 @@ func (c *Client) addOperationGetProfileObjectTypeTemplateMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetProfileObjectTypeTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_GetSegmentDefinition.go b/service/customerprofiles/api_op_GetSegmentDefinition.go index 24e2c8b7e8f..c042d6850db 100644 --- a/service/customerprofiles/api_op_GetSegmentDefinition.go +++ b/service/customerprofiles/api_op_GetSegmentDefinition.go @@ -138,9 +138,6 @@ func (c *Client) addOperationGetSegmentDefinitionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSegmentDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_GetSegmentEstimate.go b/service/customerprofiles/api_op_GetSegmentEstimate.go index 3c426b4aae8..4fae08ac370 100644 --- a/service/customerprofiles/api_op_GetSegmentEstimate.go +++ b/service/customerprofiles/api_op_GetSegmentEstimate.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetSegmentEstimateMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSegmentEstimateValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_GetSegmentMembership.go b/service/customerprofiles/api_op_GetSegmentMembership.go index 763a87101dd..0b44617fc69 100644 --- a/service/customerprofiles/api_op_GetSegmentMembership.go +++ b/service/customerprofiles/api_op_GetSegmentMembership.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGetSegmentMembershipMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSegmentMembershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_GetSegmentSnapshot.go b/service/customerprofiles/api_op_GetSegmentSnapshot.go index efefe4960e5..155d81d7233 100644 --- a/service/customerprofiles/api_op_GetSegmentSnapshot.go +++ b/service/customerprofiles/api_op_GetSegmentSnapshot.go @@ -149,9 +149,6 @@ func (c *Client) addOperationGetSegmentSnapshotMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSegmentSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_GetSimilarProfiles.go b/service/customerprofiles/api_op_GetSimilarProfiles.go index 8ae1eaa5feb..9c7f4ce767f 100644 --- a/service/customerprofiles/api_op_GetSimilarProfiles.go +++ b/service/customerprofiles/api_op_GetSimilarProfiles.go @@ -159,9 +159,6 @@ func (c *Client) addOperationGetSimilarProfilesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSimilarProfilesValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_GetWorkflow.go b/service/customerprofiles/api_op_GetWorkflow.go index 6a61f47663a..b0dcb6f2446 100644 --- a/service/customerprofiles/api_op_GetWorkflow.go +++ b/service/customerprofiles/api_op_GetWorkflow.go @@ -139,9 +139,6 @@ func (c *Client) addOperationGetWorkflowMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWorkflowValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_GetWorkflowSteps.go b/service/customerprofiles/api_op_GetWorkflowSteps.go index 7e95e5fb7a3..348a32dfe94 100644 --- a/service/customerprofiles/api_op_GetWorkflowSteps.go +++ b/service/customerprofiles/api_op_GetWorkflowSteps.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetWorkflowStepsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWorkflowStepsValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_ListAccountIntegrations.go b/service/customerprofiles/api_op_ListAccountIntegrations.go index b8133dbe061..28af3674408 100644 --- a/service/customerprofiles/api_op_ListAccountIntegrations.go +++ b/service/customerprofiles/api_op_ListAccountIntegrations.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListAccountIntegrationsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAccountIntegrationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_ListCalculatedAttributeDefinitions.go b/service/customerprofiles/api_op_ListCalculatedAttributeDefinitions.go index e2c0878a1f3..3b1030b8ce1 100644 --- a/service/customerprofiles/api_op_ListCalculatedAttributeDefinitions.go +++ b/service/customerprofiles/api_op_ListCalculatedAttributeDefinitions.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListCalculatedAttributeDefinitionsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCalculatedAttributeDefinitionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_ListCalculatedAttributesForProfile.go b/service/customerprofiles/api_op_ListCalculatedAttributesForProfile.go index 8708fefaa1a..b16db29f3fe 100644 --- a/service/customerprofiles/api_op_ListCalculatedAttributesForProfile.go +++ b/service/customerprofiles/api_op_ListCalculatedAttributesForProfile.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListCalculatedAttributesForProfileMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCalculatedAttributesForProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_ListDomains.go b/service/customerprofiles/api_op_ListDomains.go index e8ccbe52eea..c9cb2c1d2b4 100644 --- a/service/customerprofiles/api_op_ListDomains.go +++ b/service/customerprofiles/api_op_ListDomains.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListDomainsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDomains(options.Region), middleware.Before); err != nil { return err } diff --git a/service/customerprofiles/api_op_ListEventStreams.go b/service/customerprofiles/api_op_ListEventStreams.go index ac6c0216dfa..1256f8adc9e 100644 --- a/service/customerprofiles/api_op_ListEventStreams.go +++ b/service/customerprofiles/api_op_ListEventStreams.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListEventStreamsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEventStreamsValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_ListEventTriggers.go b/service/customerprofiles/api_op_ListEventTriggers.go index 42ea91e2d8d..c3ec1552ac6 100644 --- a/service/customerprofiles/api_op_ListEventTriggers.go +++ b/service/customerprofiles/api_op_ListEventTriggers.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListEventTriggersMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEventTriggersValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_ListIdentityResolutionJobs.go b/service/customerprofiles/api_op_ListIdentityResolutionJobs.go index d574bbbc829..5ffef8e4463 100644 --- a/service/customerprofiles/api_op_ListIdentityResolutionJobs.go +++ b/service/customerprofiles/api_op_ListIdentityResolutionJobs.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListIdentityResolutionJobsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIdentityResolutionJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_ListIntegrations.go b/service/customerprofiles/api_op_ListIntegrations.go index e1a145be454..eb0163473cb 100644 --- a/service/customerprofiles/api_op_ListIntegrations.go +++ b/service/customerprofiles/api_op_ListIntegrations.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListIntegrationsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIntegrationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_ListObjectTypeAttributes.go b/service/customerprofiles/api_op_ListObjectTypeAttributes.go index 30ad971fc6a..cfbe54d2448 100644 --- a/service/customerprofiles/api_op_ListObjectTypeAttributes.go +++ b/service/customerprofiles/api_op_ListObjectTypeAttributes.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListObjectTypeAttributesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListObjectTypeAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_ListProfileAttributeValues.go b/service/customerprofiles/api_op_ListProfileAttributeValues.go index 7ca1cf547e7..e90fb3e3ec3 100644 --- a/service/customerprofiles/api_op_ListProfileAttributeValues.go +++ b/service/customerprofiles/api_op_ListProfileAttributeValues.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListProfileAttributeValuesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListProfileAttributeValuesValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_ListProfileObjectTypeTemplates.go b/service/customerprofiles/api_op_ListProfileObjectTypeTemplates.go index 0923fd20c25..364571aca80 100644 --- a/service/customerprofiles/api_op_ListProfileObjectTypeTemplates.go +++ b/service/customerprofiles/api_op_ListProfileObjectTypeTemplates.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListProfileObjectTypeTemplatesMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProfileObjectTypeTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/customerprofiles/api_op_ListProfileObjectTypes.go b/service/customerprofiles/api_op_ListProfileObjectTypes.go index 39883798974..e5dfc483cec 100644 --- a/service/customerprofiles/api_op_ListProfileObjectTypes.go +++ b/service/customerprofiles/api_op_ListProfileObjectTypes.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListProfileObjectTypesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListProfileObjectTypesValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_ListProfileObjects.go b/service/customerprofiles/api_op_ListProfileObjects.go index 242194a47d8..f9acd939ce2 100644 --- a/service/customerprofiles/api_op_ListProfileObjects.go +++ b/service/customerprofiles/api_op_ListProfileObjects.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListProfileObjectsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListProfileObjectsValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_ListRuleBasedMatches.go b/service/customerprofiles/api_op_ListRuleBasedMatches.go index 6d27dca17cb..e183cd58611 100644 --- a/service/customerprofiles/api_op_ListRuleBasedMatches.go +++ b/service/customerprofiles/api_op_ListRuleBasedMatches.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListRuleBasedMatchesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRuleBasedMatchesValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_ListSegmentDefinitions.go b/service/customerprofiles/api_op_ListSegmentDefinitions.go index 46c719311de..72c0381c123 100644 --- a/service/customerprofiles/api_op_ListSegmentDefinitions.go +++ b/service/customerprofiles/api_op_ListSegmentDefinitions.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListSegmentDefinitionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSegmentDefinitionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_ListTagsForResource.go b/service/customerprofiles/api_op_ListTagsForResource.go index bd8a3bfd1c8..a1509295de8 100644 --- a/service/customerprofiles/api_op_ListTagsForResource.go +++ b/service/customerprofiles/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_ListWorkflows.go b/service/customerprofiles/api_op_ListWorkflows.go index 8b06889b075..6ec71f9df3b 100644 --- a/service/customerprofiles/api_op_ListWorkflows.go +++ b/service/customerprofiles/api_op_ListWorkflows.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListWorkflowsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListWorkflowsValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_MergeProfiles.go b/service/customerprofiles/api_op_MergeProfiles.go index 705d01f7340..857de549ae8 100644 --- a/service/customerprofiles/api_op_MergeProfiles.go +++ b/service/customerprofiles/api_op_MergeProfiles.go @@ -157,9 +157,6 @@ func (c *Client) addOperationMergeProfilesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMergeProfilesValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_PutIntegration.go b/service/customerprofiles/api_op_PutIntegration.go index fb08286458b..ac12864ae71 100644 --- a/service/customerprofiles/api_op_PutIntegration.go +++ b/service/customerprofiles/api_op_PutIntegration.go @@ -196,9 +196,6 @@ func (c *Client) addOperationPutIntegrationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutIntegrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_PutProfileObject.go b/service/customerprofiles/api_op_PutProfileObject.go index ed367bfcbdf..8129eddd4aa 100644 --- a/service/customerprofiles/api_op_PutProfileObject.go +++ b/service/customerprofiles/api_op_PutProfileObject.go @@ -134,9 +134,6 @@ func (c *Client) addOperationPutProfileObjectMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutProfileObjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_PutProfileObjectType.go b/service/customerprofiles/api_op_PutProfileObjectType.go index 9bf31c5f3b9..88156cca800 100644 --- a/service/customerprofiles/api_op_PutProfileObjectType.go +++ b/service/customerprofiles/api_op_PutProfileObjectType.go @@ -218,9 +218,6 @@ func (c *Client) addOperationPutProfileObjectTypeMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutProfileObjectTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_SearchProfiles.go b/service/customerprofiles/api_op_SearchProfiles.go index ad89bd32e52..ebd37aa8619 100644 --- a/service/customerprofiles/api_op_SearchProfiles.go +++ b/service/customerprofiles/api_op_SearchProfiles.go @@ -168,9 +168,6 @@ func (c *Client) addOperationSearchProfilesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchProfilesValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_TagResource.go b/service/customerprofiles/api_op_TagResource.go index 002d984ecdb..af5b729151d 100644 --- a/service/customerprofiles/api_op_TagResource.go +++ b/service/customerprofiles/api_op_TagResource.go @@ -128,9 +128,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_UntagResource.go b/service/customerprofiles/api_op_UntagResource.go index fdeef3bac0e..c2b660eb80a 100644 --- a/service/customerprofiles/api_op_UntagResource.go +++ b/service/customerprofiles/api_op_UntagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_UpdateCalculatedAttributeDefinition.go b/service/customerprofiles/api_op_UpdateCalculatedAttributeDefinition.go index 80cc205c332..fb523a8d857 100644 --- a/service/customerprofiles/api_op_UpdateCalculatedAttributeDefinition.go +++ b/service/customerprofiles/api_op_UpdateCalculatedAttributeDefinition.go @@ -157,9 +157,6 @@ func (c *Client) addOperationUpdateCalculatedAttributeDefinitionMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCalculatedAttributeDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_UpdateDomain.go b/service/customerprofiles/api_op_UpdateDomain.go index 840f6230060..aba5ee804ff 100644 --- a/service/customerprofiles/api_op_UpdateDomain.go +++ b/service/customerprofiles/api_op_UpdateDomain.go @@ -219,9 +219,6 @@ func (c *Client) addOperationUpdateDomainMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_UpdateEventTrigger.go b/service/customerprofiles/api_op_UpdateEventTrigger.go index d0d5ee95c05..3b1638aee4d 100644 --- a/service/customerprofiles/api_op_UpdateEventTrigger.go +++ b/service/customerprofiles/api_op_UpdateEventTrigger.go @@ -165,9 +165,6 @@ func (c *Client) addOperationUpdateEventTriggerMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEventTriggerValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/api_op_UpdateProfile.go b/service/customerprofiles/api_op_UpdateProfile.go index 7e81b2a5383..7fbfabf0e21 100644 --- a/service/customerprofiles/api_op_UpdateProfile.go +++ b/service/customerprofiles/api_op_UpdateProfile.go @@ -200,9 +200,6 @@ func (c *Client) addOperationUpdateProfileMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/customerprofiles/snapshot/api_op_AddProfileKey.go.snap b/service/customerprofiles/snapshot/api_op_AddProfileKey.go.snap index 7026deafd8c..8b523ab6202 100644 --- a/service/customerprofiles/snapshot/api_op_AddProfileKey.go.snap +++ b/service/customerprofiles/snapshot/api_op_AddProfileKey.go.snap @@ -14,7 +14,6 @@ AddProfileKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_BatchGetCalculatedAttributeForProfile.go.snap b/service/customerprofiles/snapshot/api_op_BatchGetCalculatedAttributeForProfile.go.snap index 3d9f4c34216..305e533c2fc 100644 --- a/service/customerprofiles/snapshot/api_op_BatchGetCalculatedAttributeForProfile.go.snap +++ b/service/customerprofiles/snapshot/api_op_BatchGetCalculatedAttributeForProfile.go.snap @@ -14,7 +14,6 @@ BatchGetCalculatedAttributeForProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_BatchGetProfile.go.snap b/service/customerprofiles/snapshot/api_op_BatchGetProfile.go.snap index f257ed39974..ce2a4c8f17f 100644 --- a/service/customerprofiles/snapshot/api_op_BatchGetProfile.go.snap +++ b/service/customerprofiles/snapshot/api_op_BatchGetProfile.go.snap @@ -14,7 +14,6 @@ BatchGetProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_CreateCalculatedAttributeDefinition.go.snap b/service/customerprofiles/snapshot/api_op_CreateCalculatedAttributeDefinition.go.snap index ff8cda8e891..e23d61d3cbd 100644 --- a/service/customerprofiles/snapshot/api_op_CreateCalculatedAttributeDefinition.go.snap +++ b/service/customerprofiles/snapshot/api_op_CreateCalculatedAttributeDefinition.go.snap @@ -14,7 +14,6 @@ CreateCalculatedAttributeDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_CreateDomain.go.snap b/service/customerprofiles/snapshot/api_op_CreateDomain.go.snap index 16feb8a4d42..91a84f443d8 100644 --- a/service/customerprofiles/snapshot/api_op_CreateDomain.go.snap +++ b/service/customerprofiles/snapshot/api_op_CreateDomain.go.snap @@ -14,7 +14,6 @@ CreateDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_CreateEventStream.go.snap b/service/customerprofiles/snapshot/api_op_CreateEventStream.go.snap index 360e96a660f..d0275436417 100644 --- a/service/customerprofiles/snapshot/api_op_CreateEventStream.go.snap +++ b/service/customerprofiles/snapshot/api_op_CreateEventStream.go.snap @@ -14,7 +14,6 @@ CreateEventStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_CreateEventTrigger.go.snap b/service/customerprofiles/snapshot/api_op_CreateEventTrigger.go.snap index 8159fa2e104..91d0b6035b9 100644 --- a/service/customerprofiles/snapshot/api_op_CreateEventTrigger.go.snap +++ b/service/customerprofiles/snapshot/api_op_CreateEventTrigger.go.snap @@ -14,7 +14,6 @@ CreateEventTrigger Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_CreateIntegrationWorkflow.go.snap b/service/customerprofiles/snapshot/api_op_CreateIntegrationWorkflow.go.snap index 236915278d8..d90b9d6ab45 100644 --- a/service/customerprofiles/snapshot/api_op_CreateIntegrationWorkflow.go.snap +++ b/service/customerprofiles/snapshot/api_op_CreateIntegrationWorkflow.go.snap @@ -14,7 +14,6 @@ CreateIntegrationWorkflow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_CreateProfile.go.snap b/service/customerprofiles/snapshot/api_op_CreateProfile.go.snap index 52f8dc07701..203875e8c2c 100644 --- a/service/customerprofiles/snapshot/api_op_CreateProfile.go.snap +++ b/service/customerprofiles/snapshot/api_op_CreateProfile.go.snap @@ -14,7 +14,6 @@ CreateProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_CreateSegmentDefinition.go.snap b/service/customerprofiles/snapshot/api_op_CreateSegmentDefinition.go.snap index c8a46d7b624..e968c84f6a6 100644 --- a/service/customerprofiles/snapshot/api_op_CreateSegmentDefinition.go.snap +++ b/service/customerprofiles/snapshot/api_op_CreateSegmentDefinition.go.snap @@ -14,7 +14,6 @@ CreateSegmentDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_CreateSegmentEstimate.go.snap b/service/customerprofiles/snapshot/api_op_CreateSegmentEstimate.go.snap index 86a774c1e92..8a429814bc8 100644 --- a/service/customerprofiles/snapshot/api_op_CreateSegmentEstimate.go.snap +++ b/service/customerprofiles/snapshot/api_op_CreateSegmentEstimate.go.snap @@ -14,7 +14,6 @@ CreateSegmentEstimate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_CreateSegmentSnapshot.go.snap b/service/customerprofiles/snapshot/api_op_CreateSegmentSnapshot.go.snap index 1d626b42db2..73d9e86f77d 100644 --- a/service/customerprofiles/snapshot/api_op_CreateSegmentSnapshot.go.snap +++ b/service/customerprofiles/snapshot/api_op_CreateSegmentSnapshot.go.snap @@ -14,7 +14,6 @@ CreateSegmentSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_DeleteCalculatedAttributeDefinition.go.snap b/service/customerprofiles/snapshot/api_op_DeleteCalculatedAttributeDefinition.go.snap index d1f64f75ccf..9bb714d688e 100644 --- a/service/customerprofiles/snapshot/api_op_DeleteCalculatedAttributeDefinition.go.snap +++ b/service/customerprofiles/snapshot/api_op_DeleteCalculatedAttributeDefinition.go.snap @@ -14,7 +14,6 @@ DeleteCalculatedAttributeDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_DeleteDomain.go.snap b/service/customerprofiles/snapshot/api_op_DeleteDomain.go.snap index 24c9a1b0eb3..9a8c40f82ef 100644 --- a/service/customerprofiles/snapshot/api_op_DeleteDomain.go.snap +++ b/service/customerprofiles/snapshot/api_op_DeleteDomain.go.snap @@ -14,7 +14,6 @@ DeleteDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_DeleteEventStream.go.snap b/service/customerprofiles/snapshot/api_op_DeleteEventStream.go.snap index b9a910da6c7..24a171b2af2 100644 --- a/service/customerprofiles/snapshot/api_op_DeleteEventStream.go.snap +++ b/service/customerprofiles/snapshot/api_op_DeleteEventStream.go.snap @@ -14,7 +14,6 @@ DeleteEventStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_DeleteEventTrigger.go.snap b/service/customerprofiles/snapshot/api_op_DeleteEventTrigger.go.snap index 814a0cce85a..3c3f9b4403f 100644 --- a/service/customerprofiles/snapshot/api_op_DeleteEventTrigger.go.snap +++ b/service/customerprofiles/snapshot/api_op_DeleteEventTrigger.go.snap @@ -14,7 +14,6 @@ DeleteEventTrigger Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_DeleteIntegration.go.snap b/service/customerprofiles/snapshot/api_op_DeleteIntegration.go.snap index b138e678938..cc8fc148389 100644 --- a/service/customerprofiles/snapshot/api_op_DeleteIntegration.go.snap +++ b/service/customerprofiles/snapshot/api_op_DeleteIntegration.go.snap @@ -14,7 +14,6 @@ DeleteIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_DeleteProfile.go.snap b/service/customerprofiles/snapshot/api_op_DeleteProfile.go.snap index 799e701b0b8..05282b5914c 100644 --- a/service/customerprofiles/snapshot/api_op_DeleteProfile.go.snap +++ b/service/customerprofiles/snapshot/api_op_DeleteProfile.go.snap @@ -14,7 +14,6 @@ DeleteProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_DeleteProfileKey.go.snap b/service/customerprofiles/snapshot/api_op_DeleteProfileKey.go.snap index bc0d4d890a7..9cedc3015d5 100644 --- a/service/customerprofiles/snapshot/api_op_DeleteProfileKey.go.snap +++ b/service/customerprofiles/snapshot/api_op_DeleteProfileKey.go.snap @@ -14,7 +14,6 @@ DeleteProfileKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_DeleteProfileObject.go.snap b/service/customerprofiles/snapshot/api_op_DeleteProfileObject.go.snap index 38e138e8d25..0515563364c 100644 --- a/service/customerprofiles/snapshot/api_op_DeleteProfileObject.go.snap +++ b/service/customerprofiles/snapshot/api_op_DeleteProfileObject.go.snap @@ -14,7 +14,6 @@ DeleteProfileObject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_DeleteProfileObjectType.go.snap b/service/customerprofiles/snapshot/api_op_DeleteProfileObjectType.go.snap index 6f014035d92..3c937248f54 100644 --- a/service/customerprofiles/snapshot/api_op_DeleteProfileObjectType.go.snap +++ b/service/customerprofiles/snapshot/api_op_DeleteProfileObjectType.go.snap @@ -14,7 +14,6 @@ DeleteProfileObjectType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_DeleteSegmentDefinition.go.snap b/service/customerprofiles/snapshot/api_op_DeleteSegmentDefinition.go.snap index 2cf36e45077..422c430715e 100644 --- a/service/customerprofiles/snapshot/api_op_DeleteSegmentDefinition.go.snap +++ b/service/customerprofiles/snapshot/api_op_DeleteSegmentDefinition.go.snap @@ -14,7 +14,6 @@ DeleteSegmentDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_DeleteWorkflow.go.snap b/service/customerprofiles/snapshot/api_op_DeleteWorkflow.go.snap index f774183f26a..a86f5754e15 100644 --- a/service/customerprofiles/snapshot/api_op_DeleteWorkflow.go.snap +++ b/service/customerprofiles/snapshot/api_op_DeleteWorkflow.go.snap @@ -14,7 +14,6 @@ DeleteWorkflow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_DetectProfileObjectType.go.snap b/service/customerprofiles/snapshot/api_op_DetectProfileObjectType.go.snap index 10804d075df..c5a04a34f8e 100644 --- a/service/customerprofiles/snapshot/api_op_DetectProfileObjectType.go.snap +++ b/service/customerprofiles/snapshot/api_op_DetectProfileObjectType.go.snap @@ -14,7 +14,6 @@ DetectProfileObjectType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_GetAutoMergingPreview.go.snap b/service/customerprofiles/snapshot/api_op_GetAutoMergingPreview.go.snap index 45ac94a237a..17be5581900 100644 --- a/service/customerprofiles/snapshot/api_op_GetAutoMergingPreview.go.snap +++ b/service/customerprofiles/snapshot/api_op_GetAutoMergingPreview.go.snap @@ -14,7 +14,6 @@ GetAutoMergingPreview Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_GetCalculatedAttributeDefinition.go.snap b/service/customerprofiles/snapshot/api_op_GetCalculatedAttributeDefinition.go.snap index b5c3d62d5d3..bd11713a625 100644 --- a/service/customerprofiles/snapshot/api_op_GetCalculatedAttributeDefinition.go.snap +++ b/service/customerprofiles/snapshot/api_op_GetCalculatedAttributeDefinition.go.snap @@ -14,7 +14,6 @@ GetCalculatedAttributeDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_GetCalculatedAttributeForProfile.go.snap b/service/customerprofiles/snapshot/api_op_GetCalculatedAttributeForProfile.go.snap index 9dc7640d510..d6920c55d83 100644 --- a/service/customerprofiles/snapshot/api_op_GetCalculatedAttributeForProfile.go.snap +++ b/service/customerprofiles/snapshot/api_op_GetCalculatedAttributeForProfile.go.snap @@ -14,7 +14,6 @@ GetCalculatedAttributeForProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_GetDomain.go.snap b/service/customerprofiles/snapshot/api_op_GetDomain.go.snap index 18aaf8491da..d701a7b1505 100644 --- a/service/customerprofiles/snapshot/api_op_GetDomain.go.snap +++ b/service/customerprofiles/snapshot/api_op_GetDomain.go.snap @@ -14,7 +14,6 @@ GetDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_GetEventStream.go.snap b/service/customerprofiles/snapshot/api_op_GetEventStream.go.snap index dbc5c372181..b29faea0e7f 100644 --- a/service/customerprofiles/snapshot/api_op_GetEventStream.go.snap +++ b/service/customerprofiles/snapshot/api_op_GetEventStream.go.snap @@ -14,7 +14,6 @@ GetEventStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_GetEventTrigger.go.snap b/service/customerprofiles/snapshot/api_op_GetEventTrigger.go.snap index 50384ffeeeb..e56e8fa2f02 100644 --- a/service/customerprofiles/snapshot/api_op_GetEventTrigger.go.snap +++ b/service/customerprofiles/snapshot/api_op_GetEventTrigger.go.snap @@ -14,7 +14,6 @@ GetEventTrigger Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_GetIdentityResolutionJob.go.snap b/service/customerprofiles/snapshot/api_op_GetIdentityResolutionJob.go.snap index efea6ea7b27..4991cff98f4 100644 --- a/service/customerprofiles/snapshot/api_op_GetIdentityResolutionJob.go.snap +++ b/service/customerprofiles/snapshot/api_op_GetIdentityResolutionJob.go.snap @@ -14,7 +14,6 @@ GetIdentityResolutionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_GetIntegration.go.snap b/service/customerprofiles/snapshot/api_op_GetIntegration.go.snap index a5713de922b..220f9fd1707 100644 --- a/service/customerprofiles/snapshot/api_op_GetIntegration.go.snap +++ b/service/customerprofiles/snapshot/api_op_GetIntegration.go.snap @@ -14,7 +14,6 @@ GetIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_GetMatches.go.snap b/service/customerprofiles/snapshot/api_op_GetMatches.go.snap index dda461420b8..4fe04ba3854 100644 --- a/service/customerprofiles/snapshot/api_op_GetMatches.go.snap +++ b/service/customerprofiles/snapshot/api_op_GetMatches.go.snap @@ -14,7 +14,6 @@ GetMatches Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_GetProfileObjectType.go.snap b/service/customerprofiles/snapshot/api_op_GetProfileObjectType.go.snap index f39275117cb..5d0eb760412 100644 --- a/service/customerprofiles/snapshot/api_op_GetProfileObjectType.go.snap +++ b/service/customerprofiles/snapshot/api_op_GetProfileObjectType.go.snap @@ -14,7 +14,6 @@ GetProfileObjectType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_GetProfileObjectTypeTemplate.go.snap b/service/customerprofiles/snapshot/api_op_GetProfileObjectTypeTemplate.go.snap index 2c2cd6ede57..459ac14049f 100644 --- a/service/customerprofiles/snapshot/api_op_GetProfileObjectTypeTemplate.go.snap +++ b/service/customerprofiles/snapshot/api_op_GetProfileObjectTypeTemplate.go.snap @@ -14,7 +14,6 @@ GetProfileObjectTypeTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_GetSegmentDefinition.go.snap b/service/customerprofiles/snapshot/api_op_GetSegmentDefinition.go.snap index 5c3f199cba6..feea04bf7b5 100644 --- a/service/customerprofiles/snapshot/api_op_GetSegmentDefinition.go.snap +++ b/service/customerprofiles/snapshot/api_op_GetSegmentDefinition.go.snap @@ -14,7 +14,6 @@ GetSegmentDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_GetSegmentEstimate.go.snap b/service/customerprofiles/snapshot/api_op_GetSegmentEstimate.go.snap index 2fbca7d5e11..eed671d6c45 100644 --- a/service/customerprofiles/snapshot/api_op_GetSegmentEstimate.go.snap +++ b/service/customerprofiles/snapshot/api_op_GetSegmentEstimate.go.snap @@ -14,7 +14,6 @@ GetSegmentEstimate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_GetSegmentMembership.go.snap b/service/customerprofiles/snapshot/api_op_GetSegmentMembership.go.snap index cc15b0d5fe8..0a5ea2642b1 100644 --- a/service/customerprofiles/snapshot/api_op_GetSegmentMembership.go.snap +++ b/service/customerprofiles/snapshot/api_op_GetSegmentMembership.go.snap @@ -14,7 +14,6 @@ GetSegmentMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_GetSegmentSnapshot.go.snap b/service/customerprofiles/snapshot/api_op_GetSegmentSnapshot.go.snap index ad6b8909e4f..08616a33d12 100644 --- a/service/customerprofiles/snapshot/api_op_GetSegmentSnapshot.go.snap +++ b/service/customerprofiles/snapshot/api_op_GetSegmentSnapshot.go.snap @@ -14,7 +14,6 @@ GetSegmentSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_GetSimilarProfiles.go.snap b/service/customerprofiles/snapshot/api_op_GetSimilarProfiles.go.snap index c34302b7ba2..3d2eca45642 100644 --- a/service/customerprofiles/snapshot/api_op_GetSimilarProfiles.go.snap +++ b/service/customerprofiles/snapshot/api_op_GetSimilarProfiles.go.snap @@ -14,7 +14,6 @@ GetSimilarProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_GetWorkflow.go.snap b/service/customerprofiles/snapshot/api_op_GetWorkflow.go.snap index 3413cbe7fa8..bfa3bc8a6c8 100644 --- a/service/customerprofiles/snapshot/api_op_GetWorkflow.go.snap +++ b/service/customerprofiles/snapshot/api_op_GetWorkflow.go.snap @@ -14,7 +14,6 @@ GetWorkflow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_GetWorkflowSteps.go.snap b/service/customerprofiles/snapshot/api_op_GetWorkflowSteps.go.snap index 4b604fd8231..b57ea75357a 100644 --- a/service/customerprofiles/snapshot/api_op_GetWorkflowSteps.go.snap +++ b/service/customerprofiles/snapshot/api_op_GetWorkflowSteps.go.snap @@ -14,7 +14,6 @@ GetWorkflowSteps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_ListAccountIntegrations.go.snap b/service/customerprofiles/snapshot/api_op_ListAccountIntegrations.go.snap index 7452c94fc8d..1f5b0c1815a 100644 --- a/service/customerprofiles/snapshot/api_op_ListAccountIntegrations.go.snap +++ b/service/customerprofiles/snapshot/api_op_ListAccountIntegrations.go.snap @@ -14,7 +14,6 @@ ListAccountIntegrations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_ListCalculatedAttributeDefinitions.go.snap b/service/customerprofiles/snapshot/api_op_ListCalculatedAttributeDefinitions.go.snap index 792b2e19dd2..322ab066f71 100644 --- a/service/customerprofiles/snapshot/api_op_ListCalculatedAttributeDefinitions.go.snap +++ b/service/customerprofiles/snapshot/api_op_ListCalculatedAttributeDefinitions.go.snap @@ -14,7 +14,6 @@ ListCalculatedAttributeDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_ListCalculatedAttributesForProfile.go.snap b/service/customerprofiles/snapshot/api_op_ListCalculatedAttributesForProfile.go.snap index 09d35803012..9ec93e68e32 100644 --- a/service/customerprofiles/snapshot/api_op_ListCalculatedAttributesForProfile.go.snap +++ b/service/customerprofiles/snapshot/api_op_ListCalculatedAttributesForProfile.go.snap @@ -14,7 +14,6 @@ ListCalculatedAttributesForProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_ListDomains.go.snap b/service/customerprofiles/snapshot/api_op_ListDomains.go.snap index 2bbde619ff2..8bf23a39993 100644 --- a/service/customerprofiles/snapshot/api_op_ListDomains.go.snap +++ b/service/customerprofiles/snapshot/api_op_ListDomains.go.snap @@ -13,7 +13,6 @@ ListDomains Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_ListEventStreams.go.snap b/service/customerprofiles/snapshot/api_op_ListEventStreams.go.snap index 62233ae375d..dfa4c1e918d 100644 --- a/service/customerprofiles/snapshot/api_op_ListEventStreams.go.snap +++ b/service/customerprofiles/snapshot/api_op_ListEventStreams.go.snap @@ -14,7 +14,6 @@ ListEventStreams Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_ListEventTriggers.go.snap b/service/customerprofiles/snapshot/api_op_ListEventTriggers.go.snap index c6d5cb38392..dfab33391f2 100644 --- a/service/customerprofiles/snapshot/api_op_ListEventTriggers.go.snap +++ b/service/customerprofiles/snapshot/api_op_ListEventTriggers.go.snap @@ -14,7 +14,6 @@ ListEventTriggers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_ListIdentityResolutionJobs.go.snap b/service/customerprofiles/snapshot/api_op_ListIdentityResolutionJobs.go.snap index 991d2d7c52a..2a2761ee0c8 100644 --- a/service/customerprofiles/snapshot/api_op_ListIdentityResolutionJobs.go.snap +++ b/service/customerprofiles/snapshot/api_op_ListIdentityResolutionJobs.go.snap @@ -14,7 +14,6 @@ ListIdentityResolutionJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_ListIntegrations.go.snap b/service/customerprofiles/snapshot/api_op_ListIntegrations.go.snap index 8ad28016188..54f115f370e 100644 --- a/service/customerprofiles/snapshot/api_op_ListIntegrations.go.snap +++ b/service/customerprofiles/snapshot/api_op_ListIntegrations.go.snap @@ -14,7 +14,6 @@ ListIntegrations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_ListObjectTypeAttributes.go.snap b/service/customerprofiles/snapshot/api_op_ListObjectTypeAttributes.go.snap index f7388e8329f..9c6f9dfb1bb 100644 --- a/service/customerprofiles/snapshot/api_op_ListObjectTypeAttributes.go.snap +++ b/service/customerprofiles/snapshot/api_op_ListObjectTypeAttributes.go.snap @@ -14,7 +14,6 @@ ListObjectTypeAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_ListProfileAttributeValues.go.snap b/service/customerprofiles/snapshot/api_op_ListProfileAttributeValues.go.snap index fd3ab7d643c..fa3751f5d63 100644 --- a/service/customerprofiles/snapshot/api_op_ListProfileAttributeValues.go.snap +++ b/service/customerprofiles/snapshot/api_op_ListProfileAttributeValues.go.snap @@ -14,7 +14,6 @@ ListProfileAttributeValues Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_ListProfileObjectTypeTemplates.go.snap b/service/customerprofiles/snapshot/api_op_ListProfileObjectTypeTemplates.go.snap index c5e0c26accf..5888a4ac393 100644 --- a/service/customerprofiles/snapshot/api_op_ListProfileObjectTypeTemplates.go.snap +++ b/service/customerprofiles/snapshot/api_op_ListProfileObjectTypeTemplates.go.snap @@ -13,7 +13,6 @@ ListProfileObjectTypeTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_ListProfileObjectTypes.go.snap b/service/customerprofiles/snapshot/api_op_ListProfileObjectTypes.go.snap index 6bd9740e4f9..4de231f4be2 100644 --- a/service/customerprofiles/snapshot/api_op_ListProfileObjectTypes.go.snap +++ b/service/customerprofiles/snapshot/api_op_ListProfileObjectTypes.go.snap @@ -14,7 +14,6 @@ ListProfileObjectTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_ListProfileObjects.go.snap b/service/customerprofiles/snapshot/api_op_ListProfileObjects.go.snap index 56bf3b8b711..7f98ebbbba1 100644 --- a/service/customerprofiles/snapshot/api_op_ListProfileObjects.go.snap +++ b/service/customerprofiles/snapshot/api_op_ListProfileObjects.go.snap @@ -14,7 +14,6 @@ ListProfileObjects Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_ListRuleBasedMatches.go.snap b/service/customerprofiles/snapshot/api_op_ListRuleBasedMatches.go.snap index 13a0437589c..694288c3afb 100644 --- a/service/customerprofiles/snapshot/api_op_ListRuleBasedMatches.go.snap +++ b/service/customerprofiles/snapshot/api_op_ListRuleBasedMatches.go.snap @@ -14,7 +14,6 @@ ListRuleBasedMatches Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_ListSegmentDefinitions.go.snap b/service/customerprofiles/snapshot/api_op_ListSegmentDefinitions.go.snap index 955b4738b74..c300fdccc57 100644 --- a/service/customerprofiles/snapshot/api_op_ListSegmentDefinitions.go.snap +++ b/service/customerprofiles/snapshot/api_op_ListSegmentDefinitions.go.snap @@ -14,7 +14,6 @@ ListSegmentDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_ListTagsForResource.go.snap b/service/customerprofiles/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/customerprofiles/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/customerprofiles/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_ListWorkflows.go.snap b/service/customerprofiles/snapshot/api_op_ListWorkflows.go.snap index 375869422cb..8b06b052c9a 100644 --- a/service/customerprofiles/snapshot/api_op_ListWorkflows.go.snap +++ b/service/customerprofiles/snapshot/api_op_ListWorkflows.go.snap @@ -14,7 +14,6 @@ ListWorkflows Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_MergeProfiles.go.snap b/service/customerprofiles/snapshot/api_op_MergeProfiles.go.snap index b2cee382e2b..bba9e4e1a71 100644 --- a/service/customerprofiles/snapshot/api_op_MergeProfiles.go.snap +++ b/service/customerprofiles/snapshot/api_op_MergeProfiles.go.snap @@ -14,7 +14,6 @@ MergeProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_PutIntegration.go.snap b/service/customerprofiles/snapshot/api_op_PutIntegration.go.snap index 27351926bf1..395aec85b25 100644 --- a/service/customerprofiles/snapshot/api_op_PutIntegration.go.snap +++ b/service/customerprofiles/snapshot/api_op_PutIntegration.go.snap @@ -14,7 +14,6 @@ PutIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_PutProfileObject.go.snap b/service/customerprofiles/snapshot/api_op_PutProfileObject.go.snap index 5eca2139a51..5cb2a0846c9 100644 --- a/service/customerprofiles/snapshot/api_op_PutProfileObject.go.snap +++ b/service/customerprofiles/snapshot/api_op_PutProfileObject.go.snap @@ -14,7 +14,6 @@ PutProfileObject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_PutProfileObjectType.go.snap b/service/customerprofiles/snapshot/api_op_PutProfileObjectType.go.snap index 8a997cd5b80..7bc5a200a5b 100644 --- a/service/customerprofiles/snapshot/api_op_PutProfileObjectType.go.snap +++ b/service/customerprofiles/snapshot/api_op_PutProfileObjectType.go.snap @@ -14,7 +14,6 @@ PutProfileObjectType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_SearchProfiles.go.snap b/service/customerprofiles/snapshot/api_op_SearchProfiles.go.snap index 4d23b3efeb6..e61e29bc96c 100644 --- a/service/customerprofiles/snapshot/api_op_SearchProfiles.go.snap +++ b/service/customerprofiles/snapshot/api_op_SearchProfiles.go.snap @@ -14,7 +14,6 @@ SearchProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_TagResource.go.snap b/service/customerprofiles/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/customerprofiles/snapshot/api_op_TagResource.go.snap +++ b/service/customerprofiles/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_UntagResource.go.snap b/service/customerprofiles/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/customerprofiles/snapshot/api_op_UntagResource.go.snap +++ b/service/customerprofiles/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_UpdateCalculatedAttributeDefinition.go.snap b/service/customerprofiles/snapshot/api_op_UpdateCalculatedAttributeDefinition.go.snap index e8c7466f6c2..b0c202f73cd 100644 --- a/service/customerprofiles/snapshot/api_op_UpdateCalculatedAttributeDefinition.go.snap +++ b/service/customerprofiles/snapshot/api_op_UpdateCalculatedAttributeDefinition.go.snap @@ -14,7 +14,6 @@ UpdateCalculatedAttributeDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_UpdateDomain.go.snap b/service/customerprofiles/snapshot/api_op_UpdateDomain.go.snap index 0361d64fb81..756a648921a 100644 --- a/service/customerprofiles/snapshot/api_op_UpdateDomain.go.snap +++ b/service/customerprofiles/snapshot/api_op_UpdateDomain.go.snap @@ -14,7 +14,6 @@ UpdateDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_UpdateEventTrigger.go.snap b/service/customerprofiles/snapshot/api_op_UpdateEventTrigger.go.snap index d9d48143e58..ff2fa1974cc 100644 --- a/service/customerprofiles/snapshot/api_op_UpdateEventTrigger.go.snap +++ b/service/customerprofiles/snapshot/api_op_UpdateEventTrigger.go.snap @@ -14,7 +14,6 @@ UpdateEventTrigger Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/customerprofiles/snapshot/api_op_UpdateProfile.go.snap b/service/customerprofiles/snapshot/api_op_UpdateProfile.go.snap index f4e607b39cf..d65b51d1ab2 100644 --- a/service/customerprofiles/snapshot/api_op_UpdateProfile.go.snap +++ b/service/customerprofiles/snapshot/api_op_UpdateProfile.go.snap @@ -14,7 +14,6 @@ UpdateProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/api_client.go b/service/databasemigrationservice/api_client.go index c38b58a8a66..c7c0712f977 100644 --- a/service/databasemigrationservice/api_client.go +++ b/service/databasemigrationservice/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/databasemigrationservice/api_op_AddTagsToResource.go b/service/databasemigrationservice/api_op_AddTagsToResource.go index 6fdc3b0211d..d56d158b266 100644 --- a/service/databasemigrationservice/api_op_AddTagsToResource.go +++ b/service/databasemigrationservice/api_op_AddTagsToResource.go @@ -123,9 +123,6 @@ func (c *Client) addOperationAddTagsToResourceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddTagsToResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_ApplyPendingMaintenanceAction.go b/service/databasemigrationservice/api_op_ApplyPendingMaintenanceAction.go index 7bc3b190db0..f1ba4e2b430 100644 --- a/service/databasemigrationservice/api_op_ApplyPendingMaintenanceAction.go +++ b/service/databasemigrationservice/api_op_ApplyPendingMaintenanceAction.go @@ -136,9 +136,6 @@ func (c *Client) addOperationApplyPendingMaintenanceActionMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpApplyPendingMaintenanceActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_BatchStartRecommendations.go b/service/databasemigrationservice/api_op_BatchStartRecommendations.go index 059a0143174..5f0326fa100 100644 --- a/service/databasemigrationservice/api_op_BatchStartRecommendations.go +++ b/service/databasemigrationservice/api_op_BatchStartRecommendations.go @@ -119,9 +119,6 @@ func (c *Client) addOperationBatchStartRecommendationsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchStartRecommendationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_CancelReplicationTaskAssessmentRun.go b/service/databasemigrationservice/api_op_CancelReplicationTaskAssessmentRun.go index f76eed07f76..7e64cd831e5 100644 --- a/service/databasemigrationservice/api_op_CancelReplicationTaskAssessmentRun.go +++ b/service/databasemigrationservice/api_op_CancelReplicationTaskAssessmentRun.go @@ -116,9 +116,6 @@ func (c *Client) addOperationCancelReplicationTaskAssessmentRunMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelReplicationTaskAssessmentRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_CreateDataMigration.go b/service/databasemigrationservice/api_op_CreateDataMigration.go index bab72bfc1d5..7f58b9f66d2 100644 --- a/service/databasemigrationservice/api_op_CreateDataMigration.go +++ b/service/databasemigrationservice/api_op_CreateDataMigration.go @@ -155,9 +155,6 @@ func (c *Client) addOperationCreateDataMigrationMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDataMigrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_CreateDataProvider.go b/service/databasemigrationservice/api_op_CreateDataProvider.go index 1dc38270bae..e9508edec8a 100644 --- a/service/databasemigrationservice/api_op_CreateDataProvider.go +++ b/service/databasemigrationservice/api_op_CreateDataProvider.go @@ -130,9 +130,6 @@ func (c *Client) addOperationCreateDataProviderMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDataProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_CreateEndpoint.go b/service/databasemigrationservice/api_op_CreateEndpoint.go index 3e490b36307..f634c8aedb8 100644 --- a/service/databasemigrationservice/api_op_CreateEndpoint.go +++ b/service/databasemigrationservice/api_op_CreateEndpoint.go @@ -327,9 +327,6 @@ func (c *Client) addOperationCreateEndpointMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_CreateEventSubscription.go b/service/databasemigrationservice/api_op_CreateEventSubscription.go index 1890165283f..787bfda7285 100644 --- a/service/databasemigrationservice/api_op_CreateEventSubscription.go +++ b/service/databasemigrationservice/api_op_CreateEventSubscription.go @@ -166,9 +166,6 @@ func (c *Client) addOperationCreateEventSubscriptionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEventSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_CreateFleetAdvisorCollector.go b/service/databasemigrationservice/api_op_CreateFleetAdvisorCollector.go index 328aec14a7a..528bd27f462 100644 --- a/service/databasemigrationservice/api_op_CreateFleetAdvisorCollector.go +++ b/service/databasemigrationservice/api_op_CreateFleetAdvisorCollector.go @@ -138,9 +138,6 @@ func (c *Client) addOperationCreateFleetAdvisorCollectorMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFleetAdvisorCollectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_CreateInstanceProfile.go b/service/databasemigrationservice/api_op_CreateInstanceProfile.go index 7c531a702a5..828743d6343 100644 --- a/service/databasemigrationservice/api_op_CreateInstanceProfile.go +++ b/service/databasemigrationservice/api_op_CreateInstanceProfile.go @@ -152,9 +152,6 @@ func (c *Client) addOperationCreateInstanceProfileMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateInstanceProfile(options.Region), middleware.Before); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_CreateMigrationProject.go b/service/databasemigrationservice/api_op_CreateMigrationProject.go index cc0880cf5cc..13147e88bff 100644 --- a/service/databasemigrationservice/api_op_CreateMigrationProject.go +++ b/service/databasemigrationservice/api_op_CreateMigrationProject.go @@ -151,9 +151,6 @@ func (c *Client) addOperationCreateMigrationProjectMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateMigrationProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_CreateReplicationConfig.go b/service/databasemigrationservice/api_op_CreateReplicationConfig.go index 3f29c30be0e..e89e55b67e6 100644 --- a/service/databasemigrationservice/api_op_CreateReplicationConfig.go +++ b/service/databasemigrationservice/api_op_CreateReplicationConfig.go @@ -186,9 +186,6 @@ func (c *Client) addOperationCreateReplicationConfigMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateReplicationConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_CreateReplicationInstance.go b/service/databasemigrationservice/api_op_CreateReplicationInstance.go index 77fae795797..b446018fffd 100644 --- a/service/databasemigrationservice/api_op_CreateReplicationInstance.go +++ b/service/databasemigrationservice/api_op_CreateReplicationInstance.go @@ -240,9 +240,6 @@ func (c *Client) addOperationCreateReplicationInstanceMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateReplicationInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_CreateReplicationSubnetGroup.go b/service/databasemigrationservice/api_op_CreateReplicationSubnetGroup.go index 1a0aeac2937..22649f2a412 100644 --- a/service/databasemigrationservice/api_op_CreateReplicationSubnetGroup.go +++ b/service/databasemigrationservice/api_op_CreateReplicationSubnetGroup.go @@ -144,9 +144,6 @@ func (c *Client) addOperationCreateReplicationSubnetGroupMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateReplicationSubnetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_CreateReplicationTask.go b/service/databasemigrationservice/api_op_CreateReplicationTask.go index a68691f5bb9..a5035f2251b 100644 --- a/service/databasemigrationservice/api_op_CreateReplicationTask.go +++ b/service/databasemigrationservice/api_op_CreateReplicationTask.go @@ -213,9 +213,6 @@ func (c *Client) addOperationCreateReplicationTaskMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateReplicationTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DeleteCertificate.go b/service/databasemigrationservice/api_op_DeleteCertificate.go index 286926c1a0c..33c965e44eb 100644 --- a/service/databasemigrationservice/api_op_DeleteCertificate.go +++ b/service/databasemigrationservice/api_op_DeleteCertificate.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteCertificateMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DeleteConnection.go b/service/databasemigrationservice/api_op_DeleteConnection.go index cbe467a29b2..d92c6ade067 100644 --- a/service/databasemigrationservice/api_op_DeleteConnection.go +++ b/service/databasemigrationservice/api_op_DeleteConnection.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteConnectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DeleteDataMigration.go b/service/databasemigrationservice/api_op_DeleteDataMigration.go index 0d4ad0d492c..865577dfa9c 100644 --- a/service/databasemigrationservice/api_op_DeleteDataMigration.go +++ b/service/databasemigrationservice/api_op_DeleteDataMigration.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteDataMigrationMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDataMigrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DeleteDataProvider.go b/service/databasemigrationservice/api_op_DeleteDataProvider.go index d16daaa235b..5793c2842a5 100644 --- a/service/databasemigrationservice/api_op_DeleteDataProvider.go +++ b/service/databasemigrationservice/api_op_DeleteDataProvider.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteDataProviderMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDataProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DeleteEndpoint.go b/service/databasemigrationservice/api_op_DeleteEndpoint.go index d94e66aeead..c1d7519a8c7 100644 --- a/service/databasemigrationservice/api_op_DeleteEndpoint.go +++ b/service/databasemigrationservice/api_op_DeleteEndpoint.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteEndpointMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DeleteEventSubscription.go b/service/databasemigrationservice/api_op_DeleteEventSubscription.go index 9e9d8fc8c9c..a3e7c8c2547 100644 --- a/service/databasemigrationservice/api_op_DeleteEventSubscription.go +++ b/service/databasemigrationservice/api_op_DeleteEventSubscription.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteEventSubscriptionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEventSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DeleteFleetAdvisorCollector.go b/service/databasemigrationservice/api_op_DeleteFleetAdvisorCollector.go index 19aa9de2aa1..a7026fc8e90 100644 --- a/service/databasemigrationservice/api_op_DeleteFleetAdvisorCollector.go +++ b/service/databasemigrationservice/api_op_DeleteFleetAdvisorCollector.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteFleetAdvisorCollectorMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFleetAdvisorCollectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DeleteFleetAdvisorDatabases.go b/service/databasemigrationservice/api_op_DeleteFleetAdvisorDatabases.go index 81cde5f50e0..b00b8923a45 100644 --- a/service/databasemigrationservice/api_op_DeleteFleetAdvisorDatabases.go +++ b/service/databasemigrationservice/api_op_DeleteFleetAdvisorDatabases.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteFleetAdvisorDatabasesMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFleetAdvisorDatabasesValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DeleteInstanceProfile.go b/service/databasemigrationservice/api_op_DeleteInstanceProfile.go index 9ec15cfd598..fea578689f2 100644 --- a/service/databasemigrationservice/api_op_DeleteInstanceProfile.go +++ b/service/databasemigrationservice/api_op_DeleteInstanceProfile.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteInstanceProfileMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInstanceProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DeleteMigrationProject.go b/service/databasemigrationservice/api_op_DeleteMigrationProject.go index 5789ec54abd..ce87d29cc6e 100644 --- a/service/databasemigrationservice/api_op_DeleteMigrationProject.go +++ b/service/databasemigrationservice/api_op_DeleteMigrationProject.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteMigrationProjectMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMigrationProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DeleteReplicationConfig.go b/service/databasemigrationservice/api_op_DeleteReplicationConfig.go index 68a1a2ccc51..9b80be48397 100644 --- a/service/databasemigrationservice/api_op_DeleteReplicationConfig.go +++ b/service/databasemigrationservice/api_op_DeleteReplicationConfig.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteReplicationConfigMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteReplicationConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DeleteReplicationInstance.go b/service/databasemigrationservice/api_op_DeleteReplicationInstance.go index 493c6fde12f..580edd9a020 100644 --- a/service/databasemigrationservice/api_op_DeleteReplicationInstance.go +++ b/service/databasemigrationservice/api_op_DeleteReplicationInstance.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteReplicationInstanceMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteReplicationInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DeleteReplicationSubnetGroup.go b/service/databasemigrationservice/api_op_DeleteReplicationSubnetGroup.go index ff6349be84c..4038f4485ef 100644 --- a/service/databasemigrationservice/api_op_DeleteReplicationSubnetGroup.go +++ b/service/databasemigrationservice/api_op_DeleteReplicationSubnetGroup.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteReplicationSubnetGroupMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteReplicationSubnetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DeleteReplicationTask.go b/service/databasemigrationservice/api_op_DeleteReplicationTask.go index 1d4f59e01fc..c4f6208074a 100644 --- a/service/databasemigrationservice/api_op_DeleteReplicationTask.go +++ b/service/databasemigrationservice/api_op_DeleteReplicationTask.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteReplicationTaskMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteReplicationTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DeleteReplicationTaskAssessmentRun.go b/service/databasemigrationservice/api_op_DeleteReplicationTaskAssessmentRun.go index 19877e42be9..3f7292b518c 100644 --- a/service/databasemigrationservice/api_op_DeleteReplicationTaskAssessmentRun.go +++ b/service/databasemigrationservice/api_op_DeleteReplicationTaskAssessmentRun.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteReplicationTaskAssessmentRunMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteReplicationTaskAssessmentRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeAccountAttributes.go b/service/databasemigrationservice/api_op_DescribeAccountAttributes.go index 75187833475..8a50659a433 100644 --- a/service/databasemigrationservice/api_op_DescribeAccountAttributes.go +++ b/service/databasemigrationservice/api_op_DescribeAccountAttributes.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribeAccountAttributesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountAttributes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeApplicableIndividualAssessments.go b/service/databasemigrationservice/api_op_DescribeApplicableIndividualAssessments.go index d0d81bd9d12..1324232a173 100644 --- a/service/databasemigrationservice/api_op_DescribeApplicableIndividualAssessments.go +++ b/service/databasemigrationservice/api_op_DescribeApplicableIndividualAssessments.go @@ -173,9 +173,6 @@ func (c *Client) addOperationDescribeApplicableIndividualAssessmentsMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeApplicableIndividualAssessments(options.Region), middleware.Before); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeCertificates.go b/service/databasemigrationservice/api_op_DescribeCertificates.go index 2f3db2be52d..27410dd1403 100644 --- a/service/databasemigrationservice/api_op_DescribeCertificates.go +++ b/service/databasemigrationservice/api_op_DescribeCertificates.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeCertificatesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCertificatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeConnections.go b/service/databasemigrationservice/api_op_DescribeConnections.go index 513ab87d043..4b75a7e4262 100644 --- a/service/databasemigrationservice/api_op_DescribeConnections.go +++ b/service/databasemigrationservice/api_op_DescribeConnections.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribeConnectionsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeConnectionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeConversionConfiguration.go b/service/databasemigrationservice/api_op_DescribeConversionConfiguration.go index 9feda2c4445..2c5c1cff5d1 100644 --- a/service/databasemigrationservice/api_op_DescribeConversionConfiguration.go +++ b/service/databasemigrationservice/api_op_DescribeConversionConfiguration.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDescribeConversionConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeConversionConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeDataMigrations.go b/service/databasemigrationservice/api_op_DescribeDataMigrations.go index a9a7e29929f..20bd954feac 100644 --- a/service/databasemigrationservice/api_op_DescribeDataMigrations.go +++ b/service/databasemigrationservice/api_op_DescribeDataMigrations.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDescribeDataMigrationsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDataMigrationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeDataProviders.go b/service/databasemigrationservice/api_op_DescribeDataProviders.go index 4e18b647f19..a3d3b3ade39 100644 --- a/service/databasemigrationservice/api_op_DescribeDataProviders.go +++ b/service/databasemigrationservice/api_op_DescribeDataProviders.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDescribeDataProvidersMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDataProvidersValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeEndpointSettings.go b/service/databasemigrationservice/api_op_DescribeEndpointSettings.go index 4da78dab1ff..29c37424a1e 100644 --- a/service/databasemigrationservice/api_op_DescribeEndpointSettings.go +++ b/service/databasemigrationservice/api_op_DescribeEndpointSettings.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeEndpointSettingsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEndpointSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeEndpointTypes.go b/service/databasemigrationservice/api_op_DescribeEndpointTypes.go index d8650443eea..aa5335627fa 100644 --- a/service/databasemigrationservice/api_op_DescribeEndpointTypes.go +++ b/service/databasemigrationservice/api_op_DescribeEndpointTypes.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeEndpointTypesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEndpointTypesValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeEndpoints.go b/service/databasemigrationservice/api_op_DescribeEndpoints.go index 9aceb1ec890..ac0ec14bcb1 100644 --- a/service/databasemigrationservice/api_op_DescribeEndpoints.go +++ b/service/databasemigrationservice/api_op_DescribeEndpoints.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDescribeEndpointsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEndpointsValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeEngineVersions.go b/service/databasemigrationservice/api_op_DescribeEngineVersions.go index 31b20eebcbf..1952490f4aa 100644 --- a/service/databasemigrationservice/api_op_DescribeEngineVersions.go +++ b/service/databasemigrationservice/api_op_DescribeEngineVersions.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeEngineVersionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEngineVersions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeEventCategories.go b/service/databasemigrationservice/api_op_DescribeEventCategories.go index 4739de0fb2c..b1a09e51e2b 100644 --- a/service/databasemigrationservice/api_op_DescribeEventCategories.go +++ b/service/databasemigrationservice/api_op_DescribeEventCategories.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeEventCategoriesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEventCategoriesValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeEventSubscriptions.go b/service/databasemigrationservice/api_op_DescribeEventSubscriptions.go index 9c58fcfe7f8..4b6029fa621 100644 --- a/service/databasemigrationservice/api_op_DescribeEventSubscriptions.go +++ b/service/databasemigrationservice/api_op_DescribeEventSubscriptions.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDescribeEventSubscriptionsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEventSubscriptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeEvents.go b/service/databasemigrationservice/api_op_DescribeEvents.go index 413040f6813..76a5db09f30 100644 --- a/service/databasemigrationservice/api_op_DescribeEvents.go +++ b/service/databasemigrationservice/api_op_DescribeEvents.go @@ -155,9 +155,6 @@ func (c *Client) addOperationDescribeEventsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeExtensionPackAssociations.go b/service/databasemigrationservice/api_op_DescribeExtensionPackAssociations.go index a516a1825e3..950318507aa 100644 --- a/service/databasemigrationservice/api_op_DescribeExtensionPackAssociations.go +++ b/service/databasemigrationservice/api_op_DescribeExtensionPackAssociations.go @@ -145,9 +145,6 @@ func (c *Client) addOperationDescribeExtensionPackAssociationsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeExtensionPackAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeFleetAdvisorCollectors.go b/service/databasemigrationservice/api_op_DescribeFleetAdvisorCollectors.go index 65beadd936a..ab2d8d6c37c 100644 --- a/service/databasemigrationservice/api_op_DescribeFleetAdvisorCollectors.go +++ b/service/databasemigrationservice/api_op_DescribeFleetAdvisorCollectors.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDescribeFleetAdvisorCollectorsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFleetAdvisorCollectorsValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeFleetAdvisorDatabases.go b/service/databasemigrationservice/api_op_DescribeFleetAdvisorDatabases.go index e2c2716c709..d794346ade9 100644 --- a/service/databasemigrationservice/api_op_DescribeFleetAdvisorDatabases.go +++ b/service/databasemigrationservice/api_op_DescribeFleetAdvisorDatabases.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDescribeFleetAdvisorDatabasesMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFleetAdvisorDatabasesValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeFleetAdvisorLsaAnalysis.go b/service/databasemigrationservice/api_op_DescribeFleetAdvisorLsaAnalysis.go index 48fe00c711e..39f01d65f83 100644 --- a/service/databasemigrationservice/api_op_DescribeFleetAdvisorLsaAnalysis.go +++ b/service/databasemigrationservice/api_op_DescribeFleetAdvisorLsaAnalysis.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeFleetAdvisorLsaAnalysisMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFleetAdvisorLsaAnalysis(options.Region), middleware.Before); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeFleetAdvisorSchemaObjectSummary.go b/service/databasemigrationservice/api_op_DescribeFleetAdvisorSchemaObjectSummary.go index dd974ad3287..5934f8acac7 100644 --- a/service/databasemigrationservice/api_op_DescribeFleetAdvisorSchemaObjectSummary.go +++ b/service/databasemigrationservice/api_op_DescribeFleetAdvisorSchemaObjectSummary.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeFleetAdvisorSchemaObjectSummaryMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFleetAdvisorSchemaObjectSummaryValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeFleetAdvisorSchemas.go b/service/databasemigrationservice/api_op_DescribeFleetAdvisorSchemas.go index 57af29c45ec..a885971baac 100644 --- a/service/databasemigrationservice/api_op_DescribeFleetAdvisorSchemas.go +++ b/service/databasemigrationservice/api_op_DescribeFleetAdvisorSchemas.go @@ -147,9 +147,6 @@ func (c *Client) addOperationDescribeFleetAdvisorSchemasMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFleetAdvisorSchemasValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeInstanceProfiles.go b/service/databasemigrationservice/api_op_DescribeInstanceProfiles.go index 1b9187b4d22..c4f7243f767 100644 --- a/service/databasemigrationservice/api_op_DescribeInstanceProfiles.go +++ b/service/databasemigrationservice/api_op_DescribeInstanceProfiles.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDescribeInstanceProfilesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeInstanceProfilesValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeMetadataModelAssessments.go b/service/databasemigrationservice/api_op_DescribeMetadataModelAssessments.go index e2a1008c78d..8ab1b93c69f 100644 --- a/service/databasemigrationservice/api_op_DescribeMetadataModelAssessments.go +++ b/service/databasemigrationservice/api_op_DescribeMetadataModelAssessments.go @@ -143,9 +143,6 @@ func (c *Client) addOperationDescribeMetadataModelAssessmentsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeMetadataModelAssessmentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeMetadataModelConversions.go b/service/databasemigrationservice/api_op_DescribeMetadataModelConversions.go index 4071fefd913..41dce7dd1fb 100644 --- a/service/databasemigrationservice/api_op_DescribeMetadataModelConversions.go +++ b/service/databasemigrationservice/api_op_DescribeMetadataModelConversions.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeMetadataModelConversionsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeMetadataModelConversionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeMetadataModelExportsAsScript.go b/service/databasemigrationservice/api_op_DescribeMetadataModelExportsAsScript.go index 23b8a3fa710..c4f4f5fd41d 100644 --- a/service/databasemigrationservice/api_op_DescribeMetadataModelExportsAsScript.go +++ b/service/databasemigrationservice/api_op_DescribeMetadataModelExportsAsScript.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeMetadataModelExportsAsScriptMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeMetadataModelExportsAsScriptValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeMetadataModelExportsToTarget.go b/service/databasemigrationservice/api_op_DescribeMetadataModelExportsToTarget.go index 2c594de6787..a9fd4ac586e 100644 --- a/service/databasemigrationservice/api_op_DescribeMetadataModelExportsToTarget.go +++ b/service/databasemigrationservice/api_op_DescribeMetadataModelExportsToTarget.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeMetadataModelExportsToTargetMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeMetadataModelExportsToTargetValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeMetadataModelImports.go b/service/databasemigrationservice/api_op_DescribeMetadataModelImports.go index 52a1751cff0..2858c4a28ac 100644 --- a/service/databasemigrationservice/api_op_DescribeMetadataModelImports.go +++ b/service/databasemigrationservice/api_op_DescribeMetadataModelImports.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDescribeMetadataModelImportsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeMetadataModelImportsValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeMigrationProjects.go b/service/databasemigrationservice/api_op_DescribeMigrationProjects.go index f886181f801..3af4da3a971 100644 --- a/service/databasemigrationservice/api_op_DescribeMigrationProjects.go +++ b/service/databasemigrationservice/api_op_DescribeMigrationProjects.go @@ -145,9 +145,6 @@ func (c *Client) addOperationDescribeMigrationProjectsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeMigrationProjectsValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeOrderableReplicationInstances.go b/service/databasemigrationservice/api_op_DescribeOrderableReplicationInstances.go index 1df33908a1d..58d251983e1 100644 --- a/service/databasemigrationservice/api_op_DescribeOrderableReplicationInstances.go +++ b/service/databasemigrationservice/api_op_DescribeOrderableReplicationInstances.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeOrderableReplicationInstancesMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOrderableReplicationInstances(options.Region), middleware.Before); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribePendingMaintenanceActions.go b/service/databasemigrationservice/api_op_DescribePendingMaintenanceActions.go index 10a35c8bdbc..7e50112d0ac 100644 --- a/service/databasemigrationservice/api_op_DescribePendingMaintenanceActions.go +++ b/service/databasemigrationservice/api_op_DescribePendingMaintenanceActions.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribePendingMaintenanceActionsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePendingMaintenanceActionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeRecommendationLimitations.go b/service/databasemigrationservice/api_op_DescribeRecommendationLimitations.go index 88ddbc7570d..4de621b494f 100644 --- a/service/databasemigrationservice/api_op_DescribeRecommendationLimitations.go +++ b/service/databasemigrationservice/api_op_DescribeRecommendationLimitations.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeRecommendationLimitationsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRecommendationLimitationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeRecommendations.go b/service/databasemigrationservice/api_op_DescribeRecommendations.go index 41e6c1544d8..427517e14e1 100644 --- a/service/databasemigrationservice/api_op_DescribeRecommendations.go +++ b/service/databasemigrationservice/api_op_DescribeRecommendations.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeRecommendationsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRecommendationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeRefreshSchemasStatus.go b/service/databasemigrationservice/api_op_DescribeRefreshSchemasStatus.go index b347bd074fa..5974757ef01 100644 --- a/service/databasemigrationservice/api_op_DescribeRefreshSchemasStatus.go +++ b/service/databasemigrationservice/api_op_DescribeRefreshSchemasStatus.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDescribeRefreshSchemasStatusMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRefreshSchemasStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeReplicationConfigs.go b/service/databasemigrationservice/api_op_DescribeReplicationConfigs.go index 7d6d6e1fc66..45f8cef61cd 100644 --- a/service/databasemigrationservice/api_op_DescribeReplicationConfigs.go +++ b/service/databasemigrationservice/api_op_DescribeReplicationConfigs.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeReplicationConfigsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeReplicationConfigsValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeReplicationInstanceTaskLogs.go b/service/databasemigrationservice/api_op_DescribeReplicationInstanceTaskLogs.go index 4ceefc36a2e..cffa000dd6f 100644 --- a/service/databasemigrationservice/api_op_DescribeReplicationInstanceTaskLogs.go +++ b/service/databasemigrationservice/api_op_DescribeReplicationInstanceTaskLogs.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDescribeReplicationInstanceTaskLogsMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeReplicationInstanceTaskLogsValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeReplicationInstances.go b/service/databasemigrationservice/api_op_DescribeReplicationInstances.go index e6e98c99d63..cee36ec4dbe 100644 --- a/service/databasemigrationservice/api_op_DescribeReplicationInstances.go +++ b/service/databasemigrationservice/api_op_DescribeReplicationInstances.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDescribeReplicationInstancesMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeReplicationInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeReplicationSubnetGroups.go b/service/databasemigrationservice/api_op_DescribeReplicationSubnetGroups.go index 6d007b5e427..83790f33757 100644 --- a/service/databasemigrationservice/api_op_DescribeReplicationSubnetGroups.go +++ b/service/databasemigrationservice/api_op_DescribeReplicationSubnetGroups.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeReplicationSubnetGroupsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeReplicationSubnetGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeReplicationTableStatistics.go b/service/databasemigrationservice/api_op_DescribeReplicationTableStatistics.go index 8a23c5f9ddb..450d0c3f822 100644 --- a/service/databasemigrationservice/api_op_DescribeReplicationTableStatistics.go +++ b/service/databasemigrationservice/api_op_DescribeReplicationTableStatistics.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDescribeReplicationTableStatisticsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeReplicationTableStatisticsValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeReplicationTaskAssessmentResults.go b/service/databasemigrationservice/api_op_DescribeReplicationTaskAssessmentResults.go index 09ef0ee11bb..16d7e276084 100644 --- a/service/databasemigrationservice/api_op_DescribeReplicationTaskAssessmentResults.go +++ b/service/databasemigrationservice/api_op_DescribeReplicationTaskAssessmentResults.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeReplicationTaskAssessmentResultsMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReplicationTaskAssessmentResults(options.Region), middleware.Before); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeReplicationTaskAssessmentRuns.go b/service/databasemigrationservice/api_op_DescribeReplicationTaskAssessmentRuns.go index 481e5a3da3a..64e9883416d 100644 --- a/service/databasemigrationservice/api_op_DescribeReplicationTaskAssessmentRuns.go +++ b/service/databasemigrationservice/api_op_DescribeReplicationTaskAssessmentRuns.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDescribeReplicationTaskAssessmentRunsMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeReplicationTaskAssessmentRunsValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeReplicationTaskIndividualAssessments.go b/service/databasemigrationservice/api_op_DescribeReplicationTaskIndividualAssessments.go index 1adfd5e7c02..0c3808e9b39 100644 --- a/service/databasemigrationservice/api_op_DescribeReplicationTaskIndividualAssessments.go +++ b/service/databasemigrationservice/api_op_DescribeReplicationTaskIndividualAssessments.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeReplicationTaskIndividualAssessmentsMiddlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeReplicationTaskIndividualAssessmentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeReplicationTasks.go b/service/databasemigrationservice/api_op_DescribeReplicationTasks.go index 1bbcca865ee..5227d599160 100644 --- a/service/databasemigrationservice/api_op_DescribeReplicationTasks.go +++ b/service/databasemigrationservice/api_op_DescribeReplicationTasks.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDescribeReplicationTasksMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeReplicationTasksValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeReplications.go b/service/databasemigrationservice/api_op_DescribeReplications.go index 3774e9c436a..8c18ae42bca 100644 --- a/service/databasemigrationservice/api_op_DescribeReplications.go +++ b/service/databasemigrationservice/api_op_DescribeReplications.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeReplicationsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeReplicationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeSchemas.go b/service/databasemigrationservice/api_op_DescribeSchemas.go index 5157030943b..289098d266a 100644 --- a/service/databasemigrationservice/api_op_DescribeSchemas.go +++ b/service/databasemigrationservice/api_op_DescribeSchemas.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeSchemasMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSchemasValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_DescribeTableStatistics.go b/service/databasemigrationservice/api_op_DescribeTableStatistics.go index 388d246248e..cc9124eed09 100644 --- a/service/databasemigrationservice/api_op_DescribeTableStatistics.go +++ b/service/databasemigrationservice/api_op_DescribeTableStatistics.go @@ -147,9 +147,6 @@ func (c *Client) addOperationDescribeTableStatisticsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTableStatisticsValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_ExportMetadataModelAssessment.go b/service/databasemigrationservice/api_op_ExportMetadataModelAssessment.go index b960c5844ef..270a212d92c 100644 --- a/service/databasemigrationservice/api_op_ExportMetadataModelAssessment.go +++ b/service/databasemigrationservice/api_op_ExportMetadataModelAssessment.go @@ -128,9 +128,6 @@ func (c *Client) addOperationExportMetadataModelAssessmentMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExportMetadataModelAssessmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_ImportCertificate.go b/service/databasemigrationservice/api_op_ImportCertificate.go index acc278af362..2ac852a744e 100644 --- a/service/databasemigrationservice/api_op_ImportCertificate.go +++ b/service/databasemigrationservice/api_op_ImportCertificate.go @@ -127,9 +127,6 @@ func (c *Client) addOperationImportCertificateMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_ListTagsForResource.go b/service/databasemigrationservice/api_op_ListTagsForResource.go index 05bbca7ab36..e4e335d46a4 100644 --- a/service/databasemigrationservice/api_op_ListTagsForResource.go +++ b/service/databasemigrationservice/api_op_ListTagsForResource.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_ModifyConversionConfiguration.go b/service/databasemigrationservice/api_op_ModifyConversionConfiguration.go index 91015d0e017..b51ad27a892 100644 --- a/service/databasemigrationservice/api_op_ModifyConversionConfiguration.go +++ b/service/databasemigrationservice/api_op_ModifyConversionConfiguration.go @@ -117,9 +117,6 @@ func (c *Client) addOperationModifyConversionConfigurationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyConversionConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_ModifyDataMigration.go b/service/databasemigrationservice/api_op_ModifyDataMigration.go index 7f1cfd2c4a7..d81ea2a7c94 100644 --- a/service/databasemigrationservice/api_op_ModifyDataMigration.go +++ b/service/databasemigrationservice/api_op_ModifyDataMigration.go @@ -138,9 +138,6 @@ func (c *Client) addOperationModifyDataMigrationMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyDataMigrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_ModifyDataProvider.go b/service/databasemigrationservice/api_op_ModifyDataProvider.go index a9a588bdfbc..e9a855de5ed 100644 --- a/service/databasemigrationservice/api_op_ModifyDataProvider.go +++ b/service/databasemigrationservice/api_op_ModifyDataProvider.go @@ -144,9 +144,6 @@ func (c *Client) addOperationModifyDataProviderMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyDataProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_ModifyEndpoint.go b/service/databasemigrationservice/api_op_ModifyEndpoint.go index f79b683bdb4..6345f7f398b 100644 --- a/service/databasemigrationservice/api_op_ModifyEndpoint.go +++ b/service/databasemigrationservice/api_op_ModifyEndpoint.go @@ -319,9 +319,6 @@ func (c *Client) addOperationModifyEndpointMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_ModifyEventSubscription.go b/service/databasemigrationservice/api_op_ModifyEventSubscription.go index 2b67ff2de36..d72446293f7 100644 --- a/service/databasemigrationservice/api_op_ModifyEventSubscription.go +++ b/service/databasemigrationservice/api_op_ModifyEventSubscription.go @@ -129,9 +129,6 @@ func (c *Client) addOperationModifyEventSubscriptionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyEventSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_ModifyInstanceProfile.go b/service/databasemigrationservice/api_op_ModifyInstanceProfile.go index 91a9a6290a0..6a8f7410217 100644 --- a/service/databasemigrationservice/api_op_ModifyInstanceProfile.go +++ b/service/databasemigrationservice/api_op_ModifyInstanceProfile.go @@ -157,9 +157,6 @@ func (c *Client) addOperationModifyInstanceProfileMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyInstanceProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_ModifyMigrationProject.go b/service/databasemigrationservice/api_op_ModifyMigrationProject.go index ca42412810d..27eb9689227 100644 --- a/service/databasemigrationservice/api_op_ModifyMigrationProject.go +++ b/service/databasemigrationservice/api_op_ModifyMigrationProject.go @@ -143,9 +143,6 @@ func (c *Client) addOperationModifyMigrationProjectMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyMigrationProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_ModifyReplicationConfig.go b/service/databasemigrationservice/api_op_ModifyReplicationConfig.go index e7ea11fa799..ece000389da 100644 --- a/service/databasemigrationservice/api_op_ModifyReplicationConfig.go +++ b/service/databasemigrationservice/api_op_ModifyReplicationConfig.go @@ -147,9 +147,6 @@ func (c *Client) addOperationModifyReplicationConfigMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyReplicationConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_ModifyReplicationInstance.go b/service/databasemigrationservice/api_op_ModifyReplicationInstance.go index 5cfbf484c05..055db605a4c 100644 --- a/service/databasemigrationservice/api_op_ModifyReplicationInstance.go +++ b/service/databasemigrationservice/api_op_ModifyReplicationInstance.go @@ -200,9 +200,6 @@ func (c *Client) addOperationModifyReplicationInstanceMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyReplicationInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_ModifyReplicationSubnetGroup.go b/service/databasemigrationservice/api_op_ModifyReplicationSubnetGroup.go index 83e29766535..24aed84b647 100644 --- a/service/databasemigrationservice/api_op_ModifyReplicationSubnetGroup.go +++ b/service/databasemigrationservice/api_op_ModifyReplicationSubnetGroup.go @@ -120,9 +120,6 @@ func (c *Client) addOperationModifyReplicationSubnetGroupMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyReplicationSubnetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_ModifyReplicationTask.go b/service/databasemigrationservice/api_op_ModifyReplicationTask.go index 4345cecfb81..e1993620823 100644 --- a/service/databasemigrationservice/api_op_ModifyReplicationTask.go +++ b/service/databasemigrationservice/api_op_ModifyReplicationTask.go @@ -188,9 +188,6 @@ func (c *Client) addOperationModifyReplicationTaskMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyReplicationTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_MoveReplicationTask.go b/service/databasemigrationservice/api_op_MoveReplicationTask.go index b69faa1829a..ed297166a68 100644 --- a/service/databasemigrationservice/api_op_MoveReplicationTask.go +++ b/service/databasemigrationservice/api_op_MoveReplicationTask.go @@ -120,9 +120,6 @@ func (c *Client) addOperationMoveReplicationTaskMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMoveReplicationTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_RebootReplicationInstance.go b/service/databasemigrationservice/api_op_RebootReplicationInstance.go index bdc6ef148d6..727f0baaf3b 100644 --- a/service/databasemigrationservice/api_op_RebootReplicationInstance.go +++ b/service/databasemigrationservice/api_op_RebootReplicationInstance.go @@ -125,9 +125,6 @@ func (c *Client) addOperationRebootReplicationInstanceMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRebootReplicationInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_RefreshSchemas.go b/service/databasemigrationservice/api_op_RefreshSchemas.go index 3cab519997e..f536c963246 100644 --- a/service/databasemigrationservice/api_op_RefreshSchemas.go +++ b/service/databasemigrationservice/api_op_RefreshSchemas.go @@ -119,9 +119,6 @@ func (c *Client) addOperationRefreshSchemasMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRefreshSchemasValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_ReloadReplicationTables.go b/service/databasemigrationservice/api_op_ReloadReplicationTables.go index 2a5b27df841..3c10cd1226e 100644 --- a/service/databasemigrationservice/api_op_ReloadReplicationTables.go +++ b/service/databasemigrationservice/api_op_ReloadReplicationTables.go @@ -126,9 +126,6 @@ func (c *Client) addOperationReloadReplicationTablesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpReloadReplicationTablesValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_ReloadTables.go b/service/databasemigrationservice/api_op_ReloadTables.go index be0333784f5..da4efb624f6 100644 --- a/service/databasemigrationservice/api_op_ReloadTables.go +++ b/service/databasemigrationservice/api_op_ReloadTables.go @@ -129,9 +129,6 @@ func (c *Client) addOperationReloadTablesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpReloadTablesValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_RemoveTagsFromResource.go b/service/databasemigrationservice/api_op_RemoveTagsFromResource.go index d1a7c125b92..6213b9726a1 100644 --- a/service/databasemigrationservice/api_op_RemoveTagsFromResource.go +++ b/service/databasemigrationservice/api_op_RemoveTagsFromResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationRemoveTagsFromResourceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveTagsFromResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_RunFleetAdvisorLsaAnalysis.go b/service/databasemigrationservice/api_op_RunFleetAdvisorLsaAnalysis.go index 588afc89a2a..b8ab685d991 100644 --- a/service/databasemigrationservice/api_op_RunFleetAdvisorLsaAnalysis.go +++ b/service/databasemigrationservice/api_op_RunFleetAdvisorLsaAnalysis.go @@ -109,9 +109,6 @@ func (c *Client) addOperationRunFleetAdvisorLsaAnalysisMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRunFleetAdvisorLsaAnalysis(options.Region), middleware.Before); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_StartDataMigration.go b/service/databasemigrationservice/api_op_StartDataMigration.go index c0df73d9dac..e8f68c2e2bf 100644 --- a/service/databasemigrationservice/api_op_StartDataMigration.go +++ b/service/databasemigrationservice/api_op_StartDataMigration.go @@ -118,9 +118,6 @@ func (c *Client) addOperationStartDataMigrationMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartDataMigrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_StartExtensionPackAssociation.go b/service/databasemigrationservice/api_op_StartExtensionPackAssociation.go index 549de6eeb31..f33ee0806af 100644 --- a/service/databasemigrationservice/api_op_StartExtensionPackAssociation.go +++ b/service/databasemigrationservice/api_op_StartExtensionPackAssociation.go @@ -113,9 +113,6 @@ func (c *Client) addOperationStartExtensionPackAssociationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartExtensionPackAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_StartMetadataModelAssessment.go b/service/databasemigrationservice/api_op_StartMetadataModelAssessment.go index 6212146264b..2bd7b1d87fd 100644 --- a/service/databasemigrationservice/api_op_StartMetadataModelAssessment.go +++ b/service/databasemigrationservice/api_op_StartMetadataModelAssessment.go @@ -120,9 +120,6 @@ func (c *Client) addOperationStartMetadataModelAssessmentMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartMetadataModelAssessmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_StartMetadataModelConversion.go b/service/databasemigrationservice/api_op_StartMetadataModelConversion.go index 34292307723..a62f0101aa0 100644 --- a/service/databasemigrationservice/api_op_StartMetadataModelConversion.go +++ b/service/databasemigrationservice/api_op_StartMetadataModelConversion.go @@ -117,9 +117,6 @@ func (c *Client) addOperationStartMetadataModelConversionMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartMetadataModelConversionValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_StartMetadataModelExportAsScript.go b/service/databasemigrationservice/api_op_StartMetadataModelExportAsScript.go index 9831429d889..838ec6677c0 100644 --- a/service/databasemigrationservice/api_op_StartMetadataModelExportAsScript.go +++ b/service/databasemigrationservice/api_op_StartMetadataModelExportAsScript.go @@ -126,9 +126,6 @@ func (c *Client) addOperationStartMetadataModelExportAsScriptMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartMetadataModelExportAsScriptValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_StartMetadataModelExportToTarget.go b/service/databasemigrationservice/api_op_StartMetadataModelExportToTarget.go index f8d5ee7e6bd..84363231028 100644 --- a/service/databasemigrationservice/api_op_StartMetadataModelExportToTarget.go +++ b/service/databasemigrationservice/api_op_StartMetadataModelExportToTarget.go @@ -121,9 +121,6 @@ func (c *Client) addOperationStartMetadataModelExportToTargetMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartMetadataModelExportToTargetValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_StartMetadataModelImport.go b/service/databasemigrationservice/api_op_StartMetadataModelImport.go index e13a137e222..22e4032f4af 100644 --- a/service/databasemigrationservice/api_op_StartMetadataModelImport.go +++ b/service/databasemigrationservice/api_op_StartMetadataModelImport.go @@ -128,9 +128,6 @@ func (c *Client) addOperationStartMetadataModelImportMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartMetadataModelImportValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_StartRecommendations.go b/service/databasemigrationservice/api_op_StartRecommendations.go index b414af1c416..37ab8ae41d2 100644 --- a/service/databasemigrationservice/api_op_StartRecommendations.go +++ b/service/databasemigrationservice/api_op_StartRecommendations.go @@ -124,9 +124,6 @@ func (c *Client) addOperationStartRecommendationsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartRecommendationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_StartReplication.go b/service/databasemigrationservice/api_op_StartReplication.go index 9975f281286..13b6f446926 100644 --- a/service/databasemigrationservice/api_op_StartReplication.go +++ b/service/databasemigrationservice/api_op_StartReplication.go @@ -183,9 +183,6 @@ func (c *Client) addOperationStartReplicationMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartReplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_StartReplicationTask.go b/service/databasemigrationservice/api_op_StartReplicationTask.go index f6121e80a92..b98c9d989b4 100644 --- a/service/databasemigrationservice/api_op_StartReplicationTask.go +++ b/service/databasemigrationservice/api_op_StartReplicationTask.go @@ -175,9 +175,6 @@ func (c *Client) addOperationStartReplicationTaskMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartReplicationTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_StartReplicationTaskAssessment.go b/service/databasemigrationservice/api_op_StartReplicationTaskAssessment.go index 1dc3772ff72..26dca409a5f 100644 --- a/service/databasemigrationservice/api_op_StartReplicationTaskAssessment.go +++ b/service/databasemigrationservice/api_op_StartReplicationTaskAssessment.go @@ -128,9 +128,6 @@ func (c *Client) addOperationStartReplicationTaskAssessmentMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartReplicationTaskAssessmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_StartReplicationTaskAssessmentRun.go b/service/databasemigrationservice/api_op_StartReplicationTaskAssessmentRun.go index beedff5224d..915cdf635fa 100644 --- a/service/databasemigrationservice/api_op_StartReplicationTaskAssessmentRun.go +++ b/service/databasemigrationservice/api_op_StartReplicationTaskAssessmentRun.go @@ -188,9 +188,6 @@ func (c *Client) addOperationStartReplicationTaskAssessmentRunMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartReplicationTaskAssessmentRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_StopDataMigration.go b/service/databasemigrationservice/api_op_StopDataMigration.go index f98ff8b4ef5..bf80d1746ad 100644 --- a/service/databasemigrationservice/api_op_StopDataMigration.go +++ b/service/databasemigrationservice/api_op_StopDataMigration.go @@ -112,9 +112,6 @@ func (c *Client) addOperationStopDataMigrationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopDataMigrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_StopReplication.go b/service/databasemigrationservice/api_op_StopReplication.go index b900fdb0c43..57c6a59dd4f 100644 --- a/service/databasemigrationservice/api_op_StopReplication.go +++ b/service/databasemigrationservice/api_op_StopReplication.go @@ -114,9 +114,6 @@ func (c *Client) addOperationStopReplicationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopReplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_StopReplicationTask.go b/service/databasemigrationservice/api_op_StopReplicationTask.go index 55ad9970c1b..622c842f7d2 100644 --- a/service/databasemigrationservice/api_op_StopReplicationTask.go +++ b/service/databasemigrationservice/api_op_StopReplicationTask.go @@ -112,9 +112,6 @@ func (c *Client) addOperationStopReplicationTaskMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopReplicationTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_TestConnection.go b/service/databasemigrationservice/api_op_TestConnection.go index f18f7987fd8..516684433fa 100644 --- a/service/databasemigrationservice/api_op_TestConnection.go +++ b/service/databasemigrationservice/api_op_TestConnection.go @@ -117,9 +117,6 @@ func (c *Client) addOperationTestConnectionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTestConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/databasemigrationservice/api_op_UpdateSubscriptionsToEventBridge.go b/service/databasemigrationservice/api_op_UpdateSubscriptionsToEventBridge.go index f864e62105f..ed2c264e438 100644 --- a/service/databasemigrationservice/api_op_UpdateSubscriptionsToEventBridge.go +++ b/service/databasemigrationservice/api_op_UpdateSubscriptionsToEventBridge.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateSubscriptionsToEventBridgeMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSubscriptionsToEventBridge(options.Region), middleware.Before); err != nil { return err } diff --git a/service/databasemigrationservice/snapshot/api_op_AddTagsToResource.go.snap b/service/databasemigrationservice/snapshot/api_op_AddTagsToResource.go.snap index adf3a58c167..23e3b3e3966 100644 --- a/service/databasemigrationservice/snapshot/api_op_AddTagsToResource.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_AddTagsToResource.go.snap @@ -14,7 +14,6 @@ AddTagsToResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_ApplyPendingMaintenanceAction.go.snap b/service/databasemigrationservice/snapshot/api_op_ApplyPendingMaintenanceAction.go.snap index 3ef78ec47c1..d30b93e6005 100644 --- a/service/databasemigrationservice/snapshot/api_op_ApplyPendingMaintenanceAction.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_ApplyPendingMaintenanceAction.go.snap @@ -14,7 +14,6 @@ ApplyPendingMaintenanceAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_BatchStartRecommendations.go.snap b/service/databasemigrationservice/snapshot/api_op_BatchStartRecommendations.go.snap index 58c52e2699a..c3a20d9ba94 100644 --- a/service/databasemigrationservice/snapshot/api_op_BatchStartRecommendations.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_BatchStartRecommendations.go.snap @@ -14,7 +14,6 @@ BatchStartRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_CancelReplicationTaskAssessmentRun.go.snap b/service/databasemigrationservice/snapshot/api_op_CancelReplicationTaskAssessmentRun.go.snap index b5d9762e04f..51c861f4e4f 100644 --- a/service/databasemigrationservice/snapshot/api_op_CancelReplicationTaskAssessmentRun.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_CancelReplicationTaskAssessmentRun.go.snap @@ -14,7 +14,6 @@ CancelReplicationTaskAssessmentRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_CreateDataMigration.go.snap b/service/databasemigrationservice/snapshot/api_op_CreateDataMigration.go.snap index 353c9bee007..82fa6e89e03 100644 --- a/service/databasemigrationservice/snapshot/api_op_CreateDataMigration.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_CreateDataMigration.go.snap @@ -14,7 +14,6 @@ CreateDataMigration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_CreateDataProvider.go.snap b/service/databasemigrationservice/snapshot/api_op_CreateDataProvider.go.snap index 2f868a13662..b0c21db7c2b 100644 --- a/service/databasemigrationservice/snapshot/api_op_CreateDataProvider.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_CreateDataProvider.go.snap @@ -14,7 +14,6 @@ CreateDataProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_CreateEndpoint.go.snap b/service/databasemigrationservice/snapshot/api_op_CreateEndpoint.go.snap index 129d39a9428..a5f0c702323 100644 --- a/service/databasemigrationservice/snapshot/api_op_CreateEndpoint.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_CreateEndpoint.go.snap @@ -14,7 +14,6 @@ CreateEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_CreateEventSubscription.go.snap b/service/databasemigrationservice/snapshot/api_op_CreateEventSubscription.go.snap index 68d152a81b9..abaf183d2d8 100644 --- a/service/databasemigrationservice/snapshot/api_op_CreateEventSubscription.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_CreateEventSubscription.go.snap @@ -14,7 +14,6 @@ CreateEventSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_CreateFleetAdvisorCollector.go.snap b/service/databasemigrationservice/snapshot/api_op_CreateFleetAdvisorCollector.go.snap index 379a22cfb45..7ce0829f133 100644 --- a/service/databasemigrationservice/snapshot/api_op_CreateFleetAdvisorCollector.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_CreateFleetAdvisorCollector.go.snap @@ -14,7 +14,6 @@ CreateFleetAdvisorCollector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_CreateInstanceProfile.go.snap b/service/databasemigrationservice/snapshot/api_op_CreateInstanceProfile.go.snap index c3f2eb94c68..68516f2f12c 100644 --- a/service/databasemigrationservice/snapshot/api_op_CreateInstanceProfile.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_CreateInstanceProfile.go.snap @@ -13,7 +13,6 @@ CreateInstanceProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_CreateMigrationProject.go.snap b/service/databasemigrationservice/snapshot/api_op_CreateMigrationProject.go.snap index c067311f53d..8122b5c9c11 100644 --- a/service/databasemigrationservice/snapshot/api_op_CreateMigrationProject.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_CreateMigrationProject.go.snap @@ -14,7 +14,6 @@ CreateMigrationProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_CreateReplicationConfig.go.snap b/service/databasemigrationservice/snapshot/api_op_CreateReplicationConfig.go.snap index 40fb39b371f..38bff6b0bdc 100644 --- a/service/databasemigrationservice/snapshot/api_op_CreateReplicationConfig.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_CreateReplicationConfig.go.snap @@ -14,7 +14,6 @@ CreateReplicationConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_CreateReplicationInstance.go.snap b/service/databasemigrationservice/snapshot/api_op_CreateReplicationInstance.go.snap index 4590e273d18..356dc28bc99 100644 --- a/service/databasemigrationservice/snapshot/api_op_CreateReplicationInstance.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_CreateReplicationInstance.go.snap @@ -14,7 +14,6 @@ CreateReplicationInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_CreateReplicationSubnetGroup.go.snap b/service/databasemigrationservice/snapshot/api_op_CreateReplicationSubnetGroup.go.snap index 1b85819acc5..58bd31fd103 100644 --- a/service/databasemigrationservice/snapshot/api_op_CreateReplicationSubnetGroup.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_CreateReplicationSubnetGroup.go.snap @@ -14,7 +14,6 @@ CreateReplicationSubnetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_CreateReplicationTask.go.snap b/service/databasemigrationservice/snapshot/api_op_CreateReplicationTask.go.snap index 45943491143..08b5f869535 100644 --- a/service/databasemigrationservice/snapshot/api_op_CreateReplicationTask.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_CreateReplicationTask.go.snap @@ -14,7 +14,6 @@ CreateReplicationTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DeleteCertificate.go.snap b/service/databasemigrationservice/snapshot/api_op_DeleteCertificate.go.snap index 03832808c49..142de0aec69 100644 --- a/service/databasemigrationservice/snapshot/api_op_DeleteCertificate.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DeleteCertificate.go.snap @@ -14,7 +14,6 @@ DeleteCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DeleteConnection.go.snap b/service/databasemigrationservice/snapshot/api_op_DeleteConnection.go.snap index 95b646dafd7..a9cca584913 100644 --- a/service/databasemigrationservice/snapshot/api_op_DeleteConnection.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DeleteConnection.go.snap @@ -14,7 +14,6 @@ DeleteConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DeleteDataMigration.go.snap b/service/databasemigrationservice/snapshot/api_op_DeleteDataMigration.go.snap index 95684191cd2..cc7a21e6c53 100644 --- a/service/databasemigrationservice/snapshot/api_op_DeleteDataMigration.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DeleteDataMigration.go.snap @@ -14,7 +14,6 @@ DeleteDataMigration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DeleteDataProvider.go.snap b/service/databasemigrationservice/snapshot/api_op_DeleteDataProvider.go.snap index 1ac834ec4ff..e58abe25a3f 100644 --- a/service/databasemigrationservice/snapshot/api_op_DeleteDataProvider.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DeleteDataProvider.go.snap @@ -14,7 +14,6 @@ DeleteDataProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DeleteEndpoint.go.snap b/service/databasemigrationservice/snapshot/api_op_DeleteEndpoint.go.snap index 0f46907f489..c4648fb3e07 100644 --- a/service/databasemigrationservice/snapshot/api_op_DeleteEndpoint.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DeleteEndpoint.go.snap @@ -14,7 +14,6 @@ DeleteEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DeleteEventSubscription.go.snap b/service/databasemigrationservice/snapshot/api_op_DeleteEventSubscription.go.snap index 02f527bc9d5..1bfd53e9563 100644 --- a/service/databasemigrationservice/snapshot/api_op_DeleteEventSubscription.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DeleteEventSubscription.go.snap @@ -14,7 +14,6 @@ DeleteEventSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DeleteFleetAdvisorCollector.go.snap b/service/databasemigrationservice/snapshot/api_op_DeleteFleetAdvisorCollector.go.snap index 7be8502d477..5007b073cf0 100644 --- a/service/databasemigrationservice/snapshot/api_op_DeleteFleetAdvisorCollector.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DeleteFleetAdvisorCollector.go.snap @@ -14,7 +14,6 @@ DeleteFleetAdvisorCollector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DeleteFleetAdvisorDatabases.go.snap b/service/databasemigrationservice/snapshot/api_op_DeleteFleetAdvisorDatabases.go.snap index d4c65f89995..af3651f980b 100644 --- a/service/databasemigrationservice/snapshot/api_op_DeleteFleetAdvisorDatabases.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DeleteFleetAdvisorDatabases.go.snap @@ -14,7 +14,6 @@ DeleteFleetAdvisorDatabases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DeleteInstanceProfile.go.snap b/service/databasemigrationservice/snapshot/api_op_DeleteInstanceProfile.go.snap index 7825ac3ab67..4e45282f93d 100644 --- a/service/databasemigrationservice/snapshot/api_op_DeleteInstanceProfile.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DeleteInstanceProfile.go.snap @@ -14,7 +14,6 @@ DeleteInstanceProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DeleteMigrationProject.go.snap b/service/databasemigrationservice/snapshot/api_op_DeleteMigrationProject.go.snap index 372acc302e2..2eceb8f9722 100644 --- a/service/databasemigrationservice/snapshot/api_op_DeleteMigrationProject.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DeleteMigrationProject.go.snap @@ -14,7 +14,6 @@ DeleteMigrationProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DeleteReplicationConfig.go.snap b/service/databasemigrationservice/snapshot/api_op_DeleteReplicationConfig.go.snap index 9d52ae21571..a2744cbb8e6 100644 --- a/service/databasemigrationservice/snapshot/api_op_DeleteReplicationConfig.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DeleteReplicationConfig.go.snap @@ -14,7 +14,6 @@ DeleteReplicationConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DeleteReplicationInstance.go.snap b/service/databasemigrationservice/snapshot/api_op_DeleteReplicationInstance.go.snap index 526922147ae..68935ea7c66 100644 --- a/service/databasemigrationservice/snapshot/api_op_DeleteReplicationInstance.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DeleteReplicationInstance.go.snap @@ -14,7 +14,6 @@ DeleteReplicationInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DeleteReplicationSubnetGroup.go.snap b/service/databasemigrationservice/snapshot/api_op_DeleteReplicationSubnetGroup.go.snap index 4c360837b66..a42f4faccaf 100644 --- a/service/databasemigrationservice/snapshot/api_op_DeleteReplicationSubnetGroup.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DeleteReplicationSubnetGroup.go.snap @@ -14,7 +14,6 @@ DeleteReplicationSubnetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DeleteReplicationTask.go.snap b/service/databasemigrationservice/snapshot/api_op_DeleteReplicationTask.go.snap index 7ab28f2e442..82fec0969ac 100644 --- a/service/databasemigrationservice/snapshot/api_op_DeleteReplicationTask.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DeleteReplicationTask.go.snap @@ -14,7 +14,6 @@ DeleteReplicationTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DeleteReplicationTaskAssessmentRun.go.snap b/service/databasemigrationservice/snapshot/api_op_DeleteReplicationTaskAssessmentRun.go.snap index 27bd9df7e1f..fe476ff5d95 100644 --- a/service/databasemigrationservice/snapshot/api_op_DeleteReplicationTaskAssessmentRun.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DeleteReplicationTaskAssessmentRun.go.snap @@ -14,7 +14,6 @@ DeleteReplicationTaskAssessmentRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeAccountAttributes.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeAccountAttributes.go.snap index 8289af53fde..f099fff933a 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeAccountAttributes.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeAccountAttributes.go.snap @@ -13,7 +13,6 @@ DescribeAccountAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeApplicableIndividualAssessments.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeApplicableIndividualAssessments.go.snap index 94805953840..148d8f0608c 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeApplicableIndividualAssessments.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeApplicableIndividualAssessments.go.snap @@ -13,7 +13,6 @@ DescribeApplicableIndividualAssessments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeCertificates.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeCertificates.go.snap index 833d96f5239..23918da991f 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeCertificates.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeCertificates.go.snap @@ -14,7 +14,6 @@ DescribeCertificates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeConnections.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeConnections.go.snap index caf8ae8c8ee..88e413f24f1 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeConnections.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeConnections.go.snap @@ -14,7 +14,6 @@ DescribeConnections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeConversionConfiguration.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeConversionConfiguration.go.snap index 928ca5a0ceb..101f5d12ed4 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeConversionConfiguration.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeConversionConfiguration.go.snap @@ -14,7 +14,6 @@ DescribeConversionConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeDataMigrations.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeDataMigrations.go.snap index 5829ebf38ae..1f9dfd1ec80 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeDataMigrations.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeDataMigrations.go.snap @@ -14,7 +14,6 @@ DescribeDataMigrations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeDataProviders.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeDataProviders.go.snap index 433f76851b0..f1794771a76 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeDataProviders.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeDataProviders.go.snap @@ -14,7 +14,6 @@ DescribeDataProviders Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeEndpointSettings.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeEndpointSettings.go.snap index a3f03384570..56b60bbf76c 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeEndpointSettings.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeEndpointSettings.go.snap @@ -14,7 +14,6 @@ DescribeEndpointSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeEndpointTypes.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeEndpointTypes.go.snap index fd685c3edf6..d58d3790cb5 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeEndpointTypes.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeEndpointTypes.go.snap @@ -14,7 +14,6 @@ DescribeEndpointTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeEndpoints.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeEndpoints.go.snap index be401152302..888254707a6 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeEndpoints.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeEndpoints.go.snap @@ -14,7 +14,6 @@ DescribeEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeEngineVersions.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeEngineVersions.go.snap index ae600eee825..e5c847b3b1c 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeEngineVersions.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeEngineVersions.go.snap @@ -13,7 +13,6 @@ DescribeEngineVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeEventCategories.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeEventCategories.go.snap index 79ac1344ef4..66357b7c577 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeEventCategories.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeEventCategories.go.snap @@ -14,7 +14,6 @@ DescribeEventCategories Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeEventSubscriptions.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeEventSubscriptions.go.snap index ff2b6980db8..96179ea21c2 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeEventSubscriptions.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeEventSubscriptions.go.snap @@ -14,7 +14,6 @@ DescribeEventSubscriptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeEvents.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeEvents.go.snap index d4b92015d81..7a366dd1cf9 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeEvents.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeEvents.go.snap @@ -14,7 +14,6 @@ DescribeEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeExtensionPackAssociations.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeExtensionPackAssociations.go.snap index c1b09353506..40403e87b74 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeExtensionPackAssociations.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeExtensionPackAssociations.go.snap @@ -14,7 +14,6 @@ DescribeExtensionPackAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeFleetAdvisorCollectors.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeFleetAdvisorCollectors.go.snap index 569d5ba8489..f60c25bdf44 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeFleetAdvisorCollectors.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeFleetAdvisorCollectors.go.snap @@ -14,7 +14,6 @@ DescribeFleetAdvisorCollectors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeFleetAdvisorDatabases.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeFleetAdvisorDatabases.go.snap index a214e06bc48..57309a4a5eb 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeFleetAdvisorDatabases.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeFleetAdvisorDatabases.go.snap @@ -14,7 +14,6 @@ DescribeFleetAdvisorDatabases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeFleetAdvisorLsaAnalysis.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeFleetAdvisorLsaAnalysis.go.snap index 6b64b7cda07..cc9f1b36652 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeFleetAdvisorLsaAnalysis.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeFleetAdvisorLsaAnalysis.go.snap @@ -13,7 +13,6 @@ DescribeFleetAdvisorLsaAnalysis Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeFleetAdvisorSchemaObjectSummary.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeFleetAdvisorSchemaObjectSummary.go.snap index 2640258e585..c51d6b946b3 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeFleetAdvisorSchemaObjectSummary.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeFleetAdvisorSchemaObjectSummary.go.snap @@ -14,7 +14,6 @@ DescribeFleetAdvisorSchemaObjectSummary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeFleetAdvisorSchemas.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeFleetAdvisorSchemas.go.snap index 12dd4defa8e..50b4772fb4b 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeFleetAdvisorSchemas.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeFleetAdvisorSchemas.go.snap @@ -14,7 +14,6 @@ DescribeFleetAdvisorSchemas Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeInstanceProfiles.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeInstanceProfiles.go.snap index 2ba0cbf6539..99df8a1f5dd 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeInstanceProfiles.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeInstanceProfiles.go.snap @@ -14,7 +14,6 @@ DescribeInstanceProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeMetadataModelAssessments.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeMetadataModelAssessments.go.snap index 439c0163c3d..0463fb97291 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeMetadataModelAssessments.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeMetadataModelAssessments.go.snap @@ -14,7 +14,6 @@ DescribeMetadataModelAssessments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeMetadataModelConversions.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeMetadataModelConversions.go.snap index aa57481dd8e..e1646db9178 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeMetadataModelConversions.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeMetadataModelConversions.go.snap @@ -14,7 +14,6 @@ DescribeMetadataModelConversions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeMetadataModelExportsAsScript.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeMetadataModelExportsAsScript.go.snap index 210dc83543a..6dc5ef3f7f4 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeMetadataModelExportsAsScript.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeMetadataModelExportsAsScript.go.snap @@ -14,7 +14,6 @@ DescribeMetadataModelExportsAsScript Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeMetadataModelExportsToTarget.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeMetadataModelExportsToTarget.go.snap index 742df71db52..7a515e6656f 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeMetadataModelExportsToTarget.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeMetadataModelExportsToTarget.go.snap @@ -14,7 +14,6 @@ DescribeMetadataModelExportsToTarget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeMetadataModelImports.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeMetadataModelImports.go.snap index 236516203fe..266cd75eac1 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeMetadataModelImports.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeMetadataModelImports.go.snap @@ -14,7 +14,6 @@ DescribeMetadataModelImports Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeMigrationProjects.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeMigrationProjects.go.snap index 588b624a661..0b7910f6dbc 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeMigrationProjects.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeMigrationProjects.go.snap @@ -14,7 +14,6 @@ DescribeMigrationProjects Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeOrderableReplicationInstances.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeOrderableReplicationInstances.go.snap index b9f94f3859c..67c2d603a14 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeOrderableReplicationInstances.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeOrderableReplicationInstances.go.snap @@ -13,7 +13,6 @@ DescribeOrderableReplicationInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribePendingMaintenanceActions.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribePendingMaintenanceActions.go.snap index 56165855a0e..6a5fc44c87f 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribePendingMaintenanceActions.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribePendingMaintenanceActions.go.snap @@ -14,7 +14,6 @@ DescribePendingMaintenanceActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeRecommendationLimitations.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeRecommendationLimitations.go.snap index c50971505af..f57631703c5 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeRecommendationLimitations.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeRecommendationLimitations.go.snap @@ -14,7 +14,6 @@ DescribeRecommendationLimitations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeRecommendations.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeRecommendations.go.snap index c798833c60c..cadc15e84af 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeRecommendations.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeRecommendations.go.snap @@ -14,7 +14,6 @@ DescribeRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeRefreshSchemasStatus.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeRefreshSchemasStatus.go.snap index 2dd12a785b5..0bdaa0b9227 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeRefreshSchemasStatus.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeRefreshSchemasStatus.go.snap @@ -14,7 +14,6 @@ DescribeRefreshSchemasStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeReplicationConfigs.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeReplicationConfigs.go.snap index dd901d6923e..ccf6be33fe5 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeReplicationConfigs.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeReplicationConfigs.go.snap @@ -14,7 +14,6 @@ DescribeReplicationConfigs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeReplicationInstanceTaskLogs.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeReplicationInstanceTaskLogs.go.snap index ac58186135e..c670abe0fcb 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeReplicationInstanceTaskLogs.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeReplicationInstanceTaskLogs.go.snap @@ -14,7 +14,6 @@ DescribeReplicationInstanceTaskLogs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeReplicationInstances.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeReplicationInstances.go.snap index 3478d2fc5dc..3ddd728deea 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeReplicationInstances.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeReplicationInstances.go.snap @@ -14,7 +14,6 @@ DescribeReplicationInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeReplicationSubnetGroups.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeReplicationSubnetGroups.go.snap index 3194f3642b2..a94c715f415 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeReplicationSubnetGroups.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeReplicationSubnetGroups.go.snap @@ -14,7 +14,6 @@ DescribeReplicationSubnetGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeReplicationTableStatistics.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeReplicationTableStatistics.go.snap index db3c97c750c..b0cdc8aa76e 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeReplicationTableStatistics.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeReplicationTableStatistics.go.snap @@ -14,7 +14,6 @@ DescribeReplicationTableStatistics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeReplicationTaskAssessmentResults.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeReplicationTaskAssessmentResults.go.snap index 3e3d494eb0f..383e83220e2 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeReplicationTaskAssessmentResults.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeReplicationTaskAssessmentResults.go.snap @@ -13,7 +13,6 @@ DescribeReplicationTaskAssessmentResults Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeReplicationTaskAssessmentRuns.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeReplicationTaskAssessmentRuns.go.snap index 1dc1fb4270c..f5943ffd107 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeReplicationTaskAssessmentRuns.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeReplicationTaskAssessmentRuns.go.snap @@ -14,7 +14,6 @@ DescribeReplicationTaskAssessmentRuns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeReplicationTaskIndividualAssessments.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeReplicationTaskIndividualAssessments.go.snap index b2f605cd381..fcf6aee1650 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeReplicationTaskIndividualAssessments.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeReplicationTaskIndividualAssessments.go.snap @@ -14,7 +14,6 @@ DescribeReplicationTaskIndividualAssessments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeReplicationTasks.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeReplicationTasks.go.snap index 11edd446107..1ddd7d218e5 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeReplicationTasks.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeReplicationTasks.go.snap @@ -14,7 +14,6 @@ DescribeReplicationTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeReplications.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeReplications.go.snap index 12cfa73c702..9f145111eb1 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeReplications.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeReplications.go.snap @@ -14,7 +14,6 @@ DescribeReplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeSchemas.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeSchemas.go.snap index 8ee00aafbcf..667db5e409c 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeSchemas.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeSchemas.go.snap @@ -14,7 +14,6 @@ DescribeSchemas Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_DescribeTableStatistics.go.snap b/service/databasemigrationservice/snapshot/api_op_DescribeTableStatistics.go.snap index 3e419c7aeb6..ae74fea7fed 100644 --- a/service/databasemigrationservice/snapshot/api_op_DescribeTableStatistics.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_DescribeTableStatistics.go.snap @@ -14,7 +14,6 @@ DescribeTableStatistics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_ExportMetadataModelAssessment.go.snap b/service/databasemigrationservice/snapshot/api_op_ExportMetadataModelAssessment.go.snap index ff8f777d1cf..19979b49ec4 100644 --- a/service/databasemigrationservice/snapshot/api_op_ExportMetadataModelAssessment.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_ExportMetadataModelAssessment.go.snap @@ -14,7 +14,6 @@ ExportMetadataModelAssessment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_ImportCertificate.go.snap b/service/databasemigrationservice/snapshot/api_op_ImportCertificate.go.snap index 976afb13c38..82e8127262e 100644 --- a/service/databasemigrationservice/snapshot/api_op_ImportCertificate.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_ImportCertificate.go.snap @@ -14,7 +14,6 @@ ImportCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_ListTagsForResource.go.snap b/service/databasemigrationservice/snapshot/api_op_ListTagsForResource.go.snap index 220d30b2ab0..8d3500c050e 100644 --- a/service/databasemigrationservice/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_ListTagsForResource.go.snap @@ -13,7 +13,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_ModifyConversionConfiguration.go.snap b/service/databasemigrationservice/snapshot/api_op_ModifyConversionConfiguration.go.snap index 06c17662238..9ad0d8378ac 100644 --- a/service/databasemigrationservice/snapshot/api_op_ModifyConversionConfiguration.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_ModifyConversionConfiguration.go.snap @@ -14,7 +14,6 @@ ModifyConversionConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_ModifyDataMigration.go.snap b/service/databasemigrationservice/snapshot/api_op_ModifyDataMigration.go.snap index c8aa3cc2cf1..bed535c73ad 100644 --- a/service/databasemigrationservice/snapshot/api_op_ModifyDataMigration.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_ModifyDataMigration.go.snap @@ -14,7 +14,6 @@ ModifyDataMigration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_ModifyDataProvider.go.snap b/service/databasemigrationservice/snapshot/api_op_ModifyDataProvider.go.snap index 28c0ed06759..5bb29a7bda9 100644 --- a/service/databasemigrationservice/snapshot/api_op_ModifyDataProvider.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_ModifyDataProvider.go.snap @@ -14,7 +14,6 @@ ModifyDataProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_ModifyEndpoint.go.snap b/service/databasemigrationservice/snapshot/api_op_ModifyEndpoint.go.snap index 7900d018df1..4c696a31e11 100644 --- a/service/databasemigrationservice/snapshot/api_op_ModifyEndpoint.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_ModifyEndpoint.go.snap @@ -14,7 +14,6 @@ ModifyEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_ModifyEventSubscription.go.snap b/service/databasemigrationservice/snapshot/api_op_ModifyEventSubscription.go.snap index 0facf4e0e8f..805942e17a2 100644 --- a/service/databasemigrationservice/snapshot/api_op_ModifyEventSubscription.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_ModifyEventSubscription.go.snap @@ -14,7 +14,6 @@ ModifyEventSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_ModifyInstanceProfile.go.snap b/service/databasemigrationservice/snapshot/api_op_ModifyInstanceProfile.go.snap index e4c9a56493c..1a80abf8cc7 100644 --- a/service/databasemigrationservice/snapshot/api_op_ModifyInstanceProfile.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_ModifyInstanceProfile.go.snap @@ -14,7 +14,6 @@ ModifyInstanceProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_ModifyMigrationProject.go.snap b/service/databasemigrationservice/snapshot/api_op_ModifyMigrationProject.go.snap index 71960ae99f5..29fe4acc6f2 100644 --- a/service/databasemigrationservice/snapshot/api_op_ModifyMigrationProject.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_ModifyMigrationProject.go.snap @@ -14,7 +14,6 @@ ModifyMigrationProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_ModifyReplicationConfig.go.snap b/service/databasemigrationservice/snapshot/api_op_ModifyReplicationConfig.go.snap index 2a5d3118b4c..a19517a7c07 100644 --- a/service/databasemigrationservice/snapshot/api_op_ModifyReplicationConfig.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_ModifyReplicationConfig.go.snap @@ -14,7 +14,6 @@ ModifyReplicationConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_ModifyReplicationInstance.go.snap b/service/databasemigrationservice/snapshot/api_op_ModifyReplicationInstance.go.snap index b4d344310ce..3ad381b361b 100644 --- a/service/databasemigrationservice/snapshot/api_op_ModifyReplicationInstance.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_ModifyReplicationInstance.go.snap @@ -14,7 +14,6 @@ ModifyReplicationInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_ModifyReplicationSubnetGroup.go.snap b/service/databasemigrationservice/snapshot/api_op_ModifyReplicationSubnetGroup.go.snap index db9fe27ce64..aeadbc032c6 100644 --- a/service/databasemigrationservice/snapshot/api_op_ModifyReplicationSubnetGroup.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_ModifyReplicationSubnetGroup.go.snap @@ -14,7 +14,6 @@ ModifyReplicationSubnetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_ModifyReplicationTask.go.snap b/service/databasemigrationservice/snapshot/api_op_ModifyReplicationTask.go.snap index d61aec2544d..e7ef5dfb193 100644 --- a/service/databasemigrationservice/snapshot/api_op_ModifyReplicationTask.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_ModifyReplicationTask.go.snap @@ -14,7 +14,6 @@ ModifyReplicationTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_MoveReplicationTask.go.snap b/service/databasemigrationservice/snapshot/api_op_MoveReplicationTask.go.snap index 74ed58e1649..d91f298408d 100644 --- a/service/databasemigrationservice/snapshot/api_op_MoveReplicationTask.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_MoveReplicationTask.go.snap @@ -14,7 +14,6 @@ MoveReplicationTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_RebootReplicationInstance.go.snap b/service/databasemigrationservice/snapshot/api_op_RebootReplicationInstance.go.snap index f475b90bef9..4ef23cf10d2 100644 --- a/service/databasemigrationservice/snapshot/api_op_RebootReplicationInstance.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_RebootReplicationInstance.go.snap @@ -14,7 +14,6 @@ RebootReplicationInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_RefreshSchemas.go.snap b/service/databasemigrationservice/snapshot/api_op_RefreshSchemas.go.snap index 7175fc14c12..0b144dc8b67 100644 --- a/service/databasemigrationservice/snapshot/api_op_RefreshSchemas.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_RefreshSchemas.go.snap @@ -14,7 +14,6 @@ RefreshSchemas Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_ReloadReplicationTables.go.snap b/service/databasemigrationservice/snapshot/api_op_ReloadReplicationTables.go.snap index a1f67c501a0..b134cbd883b 100644 --- a/service/databasemigrationservice/snapshot/api_op_ReloadReplicationTables.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_ReloadReplicationTables.go.snap @@ -14,7 +14,6 @@ ReloadReplicationTables Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_ReloadTables.go.snap b/service/databasemigrationservice/snapshot/api_op_ReloadTables.go.snap index efafdee9f11..ae4699ca2eb 100644 --- a/service/databasemigrationservice/snapshot/api_op_ReloadTables.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_ReloadTables.go.snap @@ -14,7 +14,6 @@ ReloadTables Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_RemoveTagsFromResource.go.snap b/service/databasemigrationservice/snapshot/api_op_RemoveTagsFromResource.go.snap index e43df9156ac..48a29e492e9 100644 --- a/service/databasemigrationservice/snapshot/api_op_RemoveTagsFromResource.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_RemoveTagsFromResource.go.snap @@ -14,7 +14,6 @@ RemoveTagsFromResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_RunFleetAdvisorLsaAnalysis.go.snap b/service/databasemigrationservice/snapshot/api_op_RunFleetAdvisorLsaAnalysis.go.snap index 8491358d47c..67073844873 100644 --- a/service/databasemigrationservice/snapshot/api_op_RunFleetAdvisorLsaAnalysis.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_RunFleetAdvisorLsaAnalysis.go.snap @@ -13,7 +13,6 @@ RunFleetAdvisorLsaAnalysis Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_StartDataMigration.go.snap b/service/databasemigrationservice/snapshot/api_op_StartDataMigration.go.snap index 2486aedd27d..b75c5574abd 100644 --- a/service/databasemigrationservice/snapshot/api_op_StartDataMigration.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_StartDataMigration.go.snap @@ -14,7 +14,6 @@ StartDataMigration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_StartExtensionPackAssociation.go.snap b/service/databasemigrationservice/snapshot/api_op_StartExtensionPackAssociation.go.snap index 1a4d3ed28a9..15a5443524d 100644 --- a/service/databasemigrationservice/snapshot/api_op_StartExtensionPackAssociation.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_StartExtensionPackAssociation.go.snap @@ -14,7 +14,6 @@ StartExtensionPackAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_StartMetadataModelAssessment.go.snap b/service/databasemigrationservice/snapshot/api_op_StartMetadataModelAssessment.go.snap index a591f8133d5..34f7d829148 100644 --- a/service/databasemigrationservice/snapshot/api_op_StartMetadataModelAssessment.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_StartMetadataModelAssessment.go.snap @@ -14,7 +14,6 @@ StartMetadataModelAssessment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_StartMetadataModelConversion.go.snap b/service/databasemigrationservice/snapshot/api_op_StartMetadataModelConversion.go.snap index b7aae7ccb4f..67570dec22b 100644 --- a/service/databasemigrationservice/snapshot/api_op_StartMetadataModelConversion.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_StartMetadataModelConversion.go.snap @@ -14,7 +14,6 @@ StartMetadataModelConversion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_StartMetadataModelExportAsScript.go.snap b/service/databasemigrationservice/snapshot/api_op_StartMetadataModelExportAsScript.go.snap index 822bd6173d4..d79ab0207f2 100644 --- a/service/databasemigrationservice/snapshot/api_op_StartMetadataModelExportAsScript.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_StartMetadataModelExportAsScript.go.snap @@ -14,7 +14,6 @@ StartMetadataModelExportAsScript Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_StartMetadataModelExportToTarget.go.snap b/service/databasemigrationservice/snapshot/api_op_StartMetadataModelExportToTarget.go.snap index 6ff5606e5c6..f17c7db2bc3 100644 --- a/service/databasemigrationservice/snapshot/api_op_StartMetadataModelExportToTarget.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_StartMetadataModelExportToTarget.go.snap @@ -14,7 +14,6 @@ StartMetadataModelExportToTarget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_StartMetadataModelImport.go.snap b/service/databasemigrationservice/snapshot/api_op_StartMetadataModelImport.go.snap index bb3f0bfe5a5..1d60ed769b6 100644 --- a/service/databasemigrationservice/snapshot/api_op_StartMetadataModelImport.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_StartMetadataModelImport.go.snap @@ -14,7 +14,6 @@ StartMetadataModelImport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_StartRecommendations.go.snap b/service/databasemigrationservice/snapshot/api_op_StartRecommendations.go.snap index 65a324eeb2d..714d526b543 100644 --- a/service/databasemigrationservice/snapshot/api_op_StartRecommendations.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_StartRecommendations.go.snap @@ -14,7 +14,6 @@ StartRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_StartReplication.go.snap b/service/databasemigrationservice/snapshot/api_op_StartReplication.go.snap index 8a16fe45079..b070d6f4dd3 100644 --- a/service/databasemigrationservice/snapshot/api_op_StartReplication.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_StartReplication.go.snap @@ -14,7 +14,6 @@ StartReplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_StartReplicationTask.go.snap b/service/databasemigrationservice/snapshot/api_op_StartReplicationTask.go.snap index 084b70dada1..62c08535e9a 100644 --- a/service/databasemigrationservice/snapshot/api_op_StartReplicationTask.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_StartReplicationTask.go.snap @@ -14,7 +14,6 @@ StartReplicationTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_StartReplicationTaskAssessment.go.snap b/service/databasemigrationservice/snapshot/api_op_StartReplicationTaskAssessment.go.snap index 3701916c01c..0fc7d3d805f 100644 --- a/service/databasemigrationservice/snapshot/api_op_StartReplicationTaskAssessment.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_StartReplicationTaskAssessment.go.snap @@ -14,7 +14,6 @@ StartReplicationTaskAssessment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_StartReplicationTaskAssessmentRun.go.snap b/service/databasemigrationservice/snapshot/api_op_StartReplicationTaskAssessmentRun.go.snap index 0af8c1deb1e..9846d4fee27 100644 --- a/service/databasemigrationservice/snapshot/api_op_StartReplicationTaskAssessmentRun.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_StartReplicationTaskAssessmentRun.go.snap @@ -14,7 +14,6 @@ StartReplicationTaskAssessmentRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_StopDataMigration.go.snap b/service/databasemigrationservice/snapshot/api_op_StopDataMigration.go.snap index ad4f2d686fc..38baaae3022 100644 --- a/service/databasemigrationservice/snapshot/api_op_StopDataMigration.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_StopDataMigration.go.snap @@ -14,7 +14,6 @@ StopDataMigration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_StopReplication.go.snap b/service/databasemigrationservice/snapshot/api_op_StopReplication.go.snap index 2e14d2813d5..7d8c9401bf4 100644 --- a/service/databasemigrationservice/snapshot/api_op_StopReplication.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_StopReplication.go.snap @@ -14,7 +14,6 @@ StopReplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_StopReplicationTask.go.snap b/service/databasemigrationservice/snapshot/api_op_StopReplicationTask.go.snap index a33a40c53ce..eb8cb33f16f 100644 --- a/service/databasemigrationservice/snapshot/api_op_StopReplicationTask.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_StopReplicationTask.go.snap @@ -14,7 +14,6 @@ StopReplicationTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_TestConnection.go.snap b/service/databasemigrationservice/snapshot/api_op_TestConnection.go.snap index d657fac7815..cbec81935bd 100644 --- a/service/databasemigrationservice/snapshot/api_op_TestConnection.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_TestConnection.go.snap @@ -14,7 +14,6 @@ TestConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databasemigrationservice/snapshot/api_op_UpdateSubscriptionsToEventBridge.go.snap b/service/databasemigrationservice/snapshot/api_op_UpdateSubscriptionsToEventBridge.go.snap index fcfb2b1bcdd..25608d8ce64 100644 --- a/service/databasemigrationservice/snapshot/api_op_UpdateSubscriptionsToEventBridge.go.snap +++ b/service/databasemigrationservice/snapshot/api_op_UpdateSubscriptionsToEventBridge.go.snap @@ -13,7 +13,6 @@ UpdateSubscriptionsToEventBridge Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/api_client.go b/service/databrew/api_client.go index d2c3eb23b96..cff73615b39 100644 --- a/service/databrew/api_client.go +++ b/service/databrew/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/databrew/api_op_BatchDeleteRecipeVersion.go b/service/databrew/api_op_BatchDeleteRecipeVersion.go index cd93f4bfd46..71857a63abf 100644 --- a/service/databrew/api_op_BatchDeleteRecipeVersion.go +++ b/service/databrew/api_op_BatchDeleteRecipeVersion.go @@ -151,9 +151,6 @@ func (c *Client) addOperationBatchDeleteRecipeVersionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDeleteRecipeVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_CreateDataset.go b/service/databrew/api_op_CreateDataset.go index 9e1431f82ef..be0b8b142ff 100644 --- a/service/databrew/api_op_CreateDataset.go +++ b/service/databrew/api_op_CreateDataset.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateDatasetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_CreateProfileJob.go b/service/databrew/api_op_CreateProfileJob.go index 882147793b0..67e3e63aa8c 100644 --- a/service/databrew/api_op_CreateProfileJob.go +++ b/service/databrew/api_op_CreateProfileJob.go @@ -174,9 +174,6 @@ func (c *Client) addOperationCreateProfileJobMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateProfileJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_CreateProject.go b/service/databrew/api_op_CreateProject.go index 56957888494..7e9f2ca08e0 100644 --- a/service/databrew/api_op_CreateProject.go +++ b/service/databrew/api_op_CreateProject.go @@ -138,9 +138,6 @@ func (c *Client) addOperationCreateProjectMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_CreateRecipe.go b/service/databrew/api_op_CreateRecipe.go index 7976fac081c..5bf83e986cd 100644 --- a/service/databrew/api_op_CreateRecipe.go +++ b/service/databrew/api_op_CreateRecipe.go @@ -128,9 +128,6 @@ func (c *Client) addOperationCreateRecipeMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRecipeValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_CreateRecipeJob.go b/service/databrew/api_op_CreateRecipeJob.go index cbb39697b47..ef67a079473 100644 --- a/service/databrew/api_op_CreateRecipeJob.go +++ b/service/databrew/api_op_CreateRecipeJob.go @@ -172,9 +172,6 @@ func (c *Client) addOperationCreateRecipeJobMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRecipeJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_CreateRuleset.go b/service/databrew/api_op_CreateRuleset.go index 4b37c116517..0e7c004045f 100644 --- a/service/databrew/api_op_CreateRuleset.go +++ b/service/databrew/api_op_CreateRuleset.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCreateRulesetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRulesetValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_CreateSchedule.go b/service/databrew/api_op_CreateSchedule.go index e75f6e32507..17f9e78c77d 100644 --- a/service/databrew/api_op_CreateSchedule.go +++ b/service/databrew/api_op_CreateSchedule.go @@ -129,9 +129,6 @@ func (c *Client) addOperationCreateScheduleMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_DeleteDataset.go b/service/databrew/api_op_DeleteDataset.go index bfcfb1d4555..992c445f2a7 100644 --- a/service/databrew/api_op_DeleteDataset.go +++ b/service/databrew/api_op_DeleteDataset.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteDatasetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_DeleteJob.go b/service/databrew/api_op_DeleteJob.go index f97a2a053ff..47fe332245b 100644 --- a/service/databrew/api_op_DeleteJob.go +++ b/service/databrew/api_op_DeleteJob.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteJobMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_DeleteProject.go b/service/databrew/api_op_DeleteProject.go index 46709ff2ceb..a2d69982986 100644 --- a/service/databrew/api_op_DeleteProject.go +++ b/service/databrew/api_op_DeleteProject.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteProjectMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_DeleteRecipeVersion.go b/service/databrew/api_op_DeleteRecipeVersion.go index 8428245919c..4e01f41f370 100644 --- a/service/databrew/api_op_DeleteRecipeVersion.go +++ b/service/databrew/api_op_DeleteRecipeVersion.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteRecipeVersionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRecipeVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_DeleteRuleset.go b/service/databrew/api_op_DeleteRuleset.go index 40da6e5a343..21197008409 100644 --- a/service/databrew/api_op_DeleteRuleset.go +++ b/service/databrew/api_op_DeleteRuleset.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteRulesetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRulesetValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_DeleteSchedule.go b/service/databrew/api_op_DeleteSchedule.go index a827c617b16..6da41c317fa 100644 --- a/service/databrew/api_op_DeleteSchedule.go +++ b/service/databrew/api_op_DeleteSchedule.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteScheduleMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_DescribeDataset.go b/service/databrew/api_op_DescribeDataset.go index 50ee53ef56c..d340c4fd3cf 100644 --- a/service/databrew/api_op_DescribeDataset.go +++ b/service/databrew/api_op_DescribeDataset.go @@ -153,9 +153,6 @@ func (c *Client) addOperationDescribeDatasetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_DescribeJob.go b/service/databrew/api_op_DescribeJob.go index 7120db2dfb9..9735c9d72af 100644 --- a/service/databrew/api_op_DescribeJob.go +++ b/service/databrew/api_op_DescribeJob.go @@ -202,9 +202,6 @@ func (c *Client) addOperationDescribeJobMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_DescribeJobRun.go b/service/databrew/api_op_DescribeJobRun.go index fdf3424a489..073ffa2f519 100644 --- a/service/databrew/api_op_DescribeJobRun.go +++ b/service/databrew/api_op_DescribeJobRun.go @@ -182,9 +182,6 @@ func (c *Client) addOperationDescribeJobRunMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeJobRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_DescribeProject.go b/service/databrew/api_op_DescribeProject.go index c5254305308..c8ced68ba1c 100644 --- a/service/databrew/api_op_DescribeProject.go +++ b/service/databrew/api_op_DescribeProject.go @@ -162,9 +162,6 @@ func (c *Client) addOperationDescribeProjectMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_DescribeRecipe.go b/service/databrew/api_op_DescribeRecipe.go index 49d8c512c1d..3f6c00e04f9 100644 --- a/service/databrew/api_op_DescribeRecipe.go +++ b/service/databrew/api_op_DescribeRecipe.go @@ -157,9 +157,6 @@ func (c *Client) addOperationDescribeRecipeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRecipeValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_DescribeRuleset.go b/service/databrew/api_op_DescribeRuleset.go index 534e955b7b7..a03c3111f4a 100644 --- a/service/databrew/api_op_DescribeRuleset.go +++ b/service/databrew/api_op_DescribeRuleset.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDescribeRulesetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRulesetValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_DescribeSchedule.go b/service/databrew/api_op_DescribeSchedule.go index 9d8c9b6c3e5..ddb9c0e0a49 100644 --- a/service/databrew/api_op_DescribeSchedule.go +++ b/service/databrew/api_op_DescribeSchedule.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeScheduleMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_ListDatasets.go b/service/databrew/api_op_ListDatasets.go index d8e6913997a..3ffd121cb41 100644 --- a/service/databrew/api_op_ListDatasets.go +++ b/service/databrew/api_op_ListDatasets.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListDatasetsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatasets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/databrew/api_op_ListJobRuns.go b/service/databrew/api_op_ListJobRuns.go index d48ad784d50..252ea9f71ab 100644 --- a/service/databrew/api_op_ListJobRuns.go +++ b/service/databrew/api_op_ListJobRuns.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListJobRunsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListJobRunsValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_ListJobs.go b/service/databrew/api_op_ListJobs.go index f54985ab0b1..ebdacbe9d6f 100644 --- a/service/databrew/api_op_ListJobs.go +++ b/service/databrew/api_op_ListJobs.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListJobsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/databrew/api_op_ListProjects.go b/service/databrew/api_op_ListProjects.go index d0d469ec930..add1d9fc14d 100644 --- a/service/databrew/api_op_ListProjects.go +++ b/service/databrew/api_op_ListProjects.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListProjectsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProjects(options.Region), middleware.Before); err != nil { return err } diff --git a/service/databrew/api_op_ListRecipeVersions.go b/service/databrew/api_op_ListRecipeVersions.go index 514f6f3330e..6e2a14aa0f1 100644 --- a/service/databrew/api_op_ListRecipeVersions.go +++ b/service/databrew/api_op_ListRecipeVersions.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListRecipeVersionsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRecipeVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_ListRecipes.go b/service/databrew/api_op_ListRecipes.go index db8ece61fc4..fae1e88acc6 100644 --- a/service/databrew/api_op_ListRecipes.go +++ b/service/databrew/api_op_ListRecipes.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListRecipesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRecipes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/databrew/api_op_ListRulesets.go b/service/databrew/api_op_ListRulesets.go index 7b533b26f07..e494d5b782b 100644 --- a/service/databrew/api_op_ListRulesets.go +++ b/service/databrew/api_op_ListRulesets.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListRulesetsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRulesets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/databrew/api_op_ListSchedules.go b/service/databrew/api_op_ListSchedules.go index e9a71e70e8f..3c43302ff85 100644 --- a/service/databrew/api_op_ListSchedules.go +++ b/service/databrew/api_op_ListSchedules.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListSchedulesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSchedules(options.Region), middleware.Before); err != nil { return err } diff --git a/service/databrew/api_op_ListTagsForResource.go b/service/databrew/api_op_ListTagsForResource.go index 1be0075bb1f..abdc7ef893a 100644 --- a/service/databrew/api_op_ListTagsForResource.go +++ b/service/databrew/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_PublishRecipe.go b/service/databrew/api_op_PublishRecipe.go index d43db012ed0..f9325eb5793 100644 --- a/service/databrew/api_op_PublishRecipe.go +++ b/service/databrew/api_op_PublishRecipe.go @@ -116,9 +116,6 @@ func (c *Client) addOperationPublishRecipeMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPublishRecipeValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_SendProjectSessionAction.go b/service/databrew/api_op_SendProjectSessionAction.go index 72d4604df65..cbbe0236ccf 100644 --- a/service/databrew/api_op_SendProjectSessionAction.go +++ b/service/databrew/api_op_SendProjectSessionAction.go @@ -139,9 +139,6 @@ func (c *Client) addOperationSendProjectSessionActionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendProjectSessionActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_StartJobRun.go b/service/databrew/api_op_StartJobRun.go index 6e8e14da621..8903d91f75e 100644 --- a/service/databrew/api_op_StartJobRun.go +++ b/service/databrew/api_op_StartJobRun.go @@ -113,9 +113,6 @@ func (c *Client) addOperationStartJobRunMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartJobRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_StartProjectSession.go b/service/databrew/api_op_StartProjectSession.go index 76dddcb77d0..376abc0d447 100644 --- a/service/databrew/api_op_StartProjectSession.go +++ b/service/databrew/api_op_StartProjectSession.go @@ -121,9 +121,6 @@ func (c *Client) addOperationStartProjectSessionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartProjectSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_StopJobRun.go b/service/databrew/api_op_StopJobRun.go index 8020c8abbe0..58ed2d2c43e 100644 --- a/service/databrew/api_op_StopJobRun.go +++ b/service/databrew/api_op_StopJobRun.go @@ -118,9 +118,6 @@ func (c *Client) addOperationStopJobRunMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopJobRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_TagResource.go b/service/databrew/api_op_TagResource.go index cc87f3ff4c2..d6c87537b8a 100644 --- a/service/databrew/api_op_TagResource.go +++ b/service/databrew/api_op_TagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_UntagResource.go b/service/databrew/api_op_UntagResource.go index f2a4cb92be7..d363821f074 100644 --- a/service/databrew/api_op_UntagResource.go +++ b/service/databrew/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_UpdateDataset.go b/service/databrew/api_op_UpdateDataset.go index d2f9b8806c5..b2bc084c9d0 100644 --- a/service/databrew/api_op_UpdateDataset.go +++ b/service/databrew/api_op_UpdateDataset.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateDatasetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_UpdateProfileJob.go b/service/databrew/api_op_UpdateProfileJob.go index 496ea14101f..78099fcd998 100644 --- a/service/databrew/api_op_UpdateProfileJob.go +++ b/service/databrew/api_op_UpdateProfileJob.go @@ -166,9 +166,6 @@ func (c *Client) addOperationUpdateProfileJobMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateProfileJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_UpdateProject.go b/service/databrew/api_op_UpdateProject.go index f9441d54d74..b00572ed8ac 100644 --- a/service/databrew/api_op_UpdateProject.go +++ b/service/databrew/api_op_UpdateProject.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateProjectMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_UpdateRecipe.go b/service/databrew/api_op_UpdateRecipe.go index 42c6dba42ca..46bc8bcc5aa 100644 --- a/service/databrew/api_op_UpdateRecipe.go +++ b/service/databrew/api_op_UpdateRecipe.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateRecipeMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRecipeValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_UpdateRecipeJob.go b/service/databrew/api_op_UpdateRecipeJob.go index 39dff0097b0..d0d49d8b081 100644 --- a/service/databrew/api_op_UpdateRecipeJob.go +++ b/service/databrew/api_op_UpdateRecipeJob.go @@ -157,9 +157,6 @@ func (c *Client) addOperationUpdateRecipeJobMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRecipeJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_UpdateRuleset.go b/service/databrew/api_op_UpdateRuleset.go index 3561db5ef3d..d9f8ec456b9 100644 --- a/service/databrew/api_op_UpdateRuleset.go +++ b/service/databrew/api_op_UpdateRuleset.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateRulesetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRulesetValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/api_op_UpdateSchedule.go b/service/databrew/api_op_UpdateSchedule.go index 10b019f748e..2e67f931c2f 100644 --- a/service/databrew/api_op_UpdateSchedule.go +++ b/service/databrew/api_op_UpdateSchedule.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateScheduleMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/databrew/snapshot/api_op_BatchDeleteRecipeVersion.go.snap b/service/databrew/snapshot/api_op_BatchDeleteRecipeVersion.go.snap index 9f27d2220d2..c2b9a323b18 100644 --- a/service/databrew/snapshot/api_op_BatchDeleteRecipeVersion.go.snap +++ b/service/databrew/snapshot/api_op_BatchDeleteRecipeVersion.go.snap @@ -14,7 +14,6 @@ BatchDeleteRecipeVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_CreateDataset.go.snap b/service/databrew/snapshot/api_op_CreateDataset.go.snap index c90f0220921..cb35148be56 100644 --- a/service/databrew/snapshot/api_op_CreateDataset.go.snap +++ b/service/databrew/snapshot/api_op_CreateDataset.go.snap @@ -14,7 +14,6 @@ CreateDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_CreateProfileJob.go.snap b/service/databrew/snapshot/api_op_CreateProfileJob.go.snap index abb427ddf7f..8ab014f8be8 100644 --- a/service/databrew/snapshot/api_op_CreateProfileJob.go.snap +++ b/service/databrew/snapshot/api_op_CreateProfileJob.go.snap @@ -14,7 +14,6 @@ CreateProfileJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_CreateProject.go.snap b/service/databrew/snapshot/api_op_CreateProject.go.snap index 5011a8d8cc3..7ae2b811d6c 100644 --- a/service/databrew/snapshot/api_op_CreateProject.go.snap +++ b/service/databrew/snapshot/api_op_CreateProject.go.snap @@ -14,7 +14,6 @@ CreateProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_CreateRecipe.go.snap b/service/databrew/snapshot/api_op_CreateRecipe.go.snap index 99ce4cb0115..1d919f4ec06 100644 --- a/service/databrew/snapshot/api_op_CreateRecipe.go.snap +++ b/service/databrew/snapshot/api_op_CreateRecipe.go.snap @@ -14,7 +14,6 @@ CreateRecipe Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_CreateRecipeJob.go.snap b/service/databrew/snapshot/api_op_CreateRecipeJob.go.snap index 7d30bc42085..2c97cc0b640 100644 --- a/service/databrew/snapshot/api_op_CreateRecipeJob.go.snap +++ b/service/databrew/snapshot/api_op_CreateRecipeJob.go.snap @@ -14,7 +14,6 @@ CreateRecipeJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_CreateRuleset.go.snap b/service/databrew/snapshot/api_op_CreateRuleset.go.snap index 886810535fd..df48e970da8 100644 --- a/service/databrew/snapshot/api_op_CreateRuleset.go.snap +++ b/service/databrew/snapshot/api_op_CreateRuleset.go.snap @@ -14,7 +14,6 @@ CreateRuleset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_CreateSchedule.go.snap b/service/databrew/snapshot/api_op_CreateSchedule.go.snap index 643d2ab1edf..fa48f085b16 100644 --- a/service/databrew/snapshot/api_op_CreateSchedule.go.snap +++ b/service/databrew/snapshot/api_op_CreateSchedule.go.snap @@ -14,7 +14,6 @@ CreateSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_DeleteDataset.go.snap b/service/databrew/snapshot/api_op_DeleteDataset.go.snap index fd65991f000..352313df04c 100644 --- a/service/databrew/snapshot/api_op_DeleteDataset.go.snap +++ b/service/databrew/snapshot/api_op_DeleteDataset.go.snap @@ -14,7 +14,6 @@ DeleteDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_DeleteJob.go.snap b/service/databrew/snapshot/api_op_DeleteJob.go.snap index fa2c54dcf0a..d47c3554a1e 100644 --- a/service/databrew/snapshot/api_op_DeleteJob.go.snap +++ b/service/databrew/snapshot/api_op_DeleteJob.go.snap @@ -14,7 +14,6 @@ DeleteJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_DeleteProject.go.snap b/service/databrew/snapshot/api_op_DeleteProject.go.snap index 382ba97b69d..175218d872d 100644 --- a/service/databrew/snapshot/api_op_DeleteProject.go.snap +++ b/service/databrew/snapshot/api_op_DeleteProject.go.snap @@ -14,7 +14,6 @@ DeleteProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_DeleteRecipeVersion.go.snap b/service/databrew/snapshot/api_op_DeleteRecipeVersion.go.snap index 562d3c4ad31..4194c90ff5d 100644 --- a/service/databrew/snapshot/api_op_DeleteRecipeVersion.go.snap +++ b/service/databrew/snapshot/api_op_DeleteRecipeVersion.go.snap @@ -14,7 +14,6 @@ DeleteRecipeVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_DeleteRuleset.go.snap b/service/databrew/snapshot/api_op_DeleteRuleset.go.snap index 8dd338d1f81..7af5c327908 100644 --- a/service/databrew/snapshot/api_op_DeleteRuleset.go.snap +++ b/service/databrew/snapshot/api_op_DeleteRuleset.go.snap @@ -14,7 +14,6 @@ DeleteRuleset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_DeleteSchedule.go.snap b/service/databrew/snapshot/api_op_DeleteSchedule.go.snap index ed09f2a53c0..bee6add4923 100644 --- a/service/databrew/snapshot/api_op_DeleteSchedule.go.snap +++ b/service/databrew/snapshot/api_op_DeleteSchedule.go.snap @@ -14,7 +14,6 @@ DeleteSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_DescribeDataset.go.snap b/service/databrew/snapshot/api_op_DescribeDataset.go.snap index d62bad12867..091c433d575 100644 --- a/service/databrew/snapshot/api_op_DescribeDataset.go.snap +++ b/service/databrew/snapshot/api_op_DescribeDataset.go.snap @@ -14,7 +14,6 @@ DescribeDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_DescribeJob.go.snap b/service/databrew/snapshot/api_op_DescribeJob.go.snap index f65d63debea..c32bb3ceb01 100644 --- a/service/databrew/snapshot/api_op_DescribeJob.go.snap +++ b/service/databrew/snapshot/api_op_DescribeJob.go.snap @@ -14,7 +14,6 @@ DescribeJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_DescribeJobRun.go.snap b/service/databrew/snapshot/api_op_DescribeJobRun.go.snap index c216d24af1c..2caffbd6023 100644 --- a/service/databrew/snapshot/api_op_DescribeJobRun.go.snap +++ b/service/databrew/snapshot/api_op_DescribeJobRun.go.snap @@ -14,7 +14,6 @@ DescribeJobRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_DescribeProject.go.snap b/service/databrew/snapshot/api_op_DescribeProject.go.snap index 041f11ba895..0900739a1bf 100644 --- a/service/databrew/snapshot/api_op_DescribeProject.go.snap +++ b/service/databrew/snapshot/api_op_DescribeProject.go.snap @@ -14,7 +14,6 @@ DescribeProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_DescribeRecipe.go.snap b/service/databrew/snapshot/api_op_DescribeRecipe.go.snap index 2b206628042..aafd1ac577e 100644 --- a/service/databrew/snapshot/api_op_DescribeRecipe.go.snap +++ b/service/databrew/snapshot/api_op_DescribeRecipe.go.snap @@ -14,7 +14,6 @@ DescribeRecipe Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_DescribeRuleset.go.snap b/service/databrew/snapshot/api_op_DescribeRuleset.go.snap index 73ced191247..b74c09ec28e 100644 --- a/service/databrew/snapshot/api_op_DescribeRuleset.go.snap +++ b/service/databrew/snapshot/api_op_DescribeRuleset.go.snap @@ -14,7 +14,6 @@ DescribeRuleset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_DescribeSchedule.go.snap b/service/databrew/snapshot/api_op_DescribeSchedule.go.snap index 5cbf7c92fab..f595bd55eb5 100644 --- a/service/databrew/snapshot/api_op_DescribeSchedule.go.snap +++ b/service/databrew/snapshot/api_op_DescribeSchedule.go.snap @@ -14,7 +14,6 @@ DescribeSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_ListDatasets.go.snap b/service/databrew/snapshot/api_op_ListDatasets.go.snap index d12c69e04c8..2417c388432 100644 --- a/service/databrew/snapshot/api_op_ListDatasets.go.snap +++ b/service/databrew/snapshot/api_op_ListDatasets.go.snap @@ -13,7 +13,6 @@ ListDatasets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_ListJobRuns.go.snap b/service/databrew/snapshot/api_op_ListJobRuns.go.snap index e2e9db74cb4..6de0ffca767 100644 --- a/service/databrew/snapshot/api_op_ListJobRuns.go.snap +++ b/service/databrew/snapshot/api_op_ListJobRuns.go.snap @@ -14,7 +14,6 @@ ListJobRuns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_ListJobs.go.snap b/service/databrew/snapshot/api_op_ListJobs.go.snap index a2366e394ac..3ec2f2c0720 100644 --- a/service/databrew/snapshot/api_op_ListJobs.go.snap +++ b/service/databrew/snapshot/api_op_ListJobs.go.snap @@ -13,7 +13,6 @@ ListJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_ListProjects.go.snap b/service/databrew/snapshot/api_op_ListProjects.go.snap index adb78614633..e63a9b58f58 100644 --- a/service/databrew/snapshot/api_op_ListProjects.go.snap +++ b/service/databrew/snapshot/api_op_ListProjects.go.snap @@ -13,7 +13,6 @@ ListProjects Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_ListRecipeVersions.go.snap b/service/databrew/snapshot/api_op_ListRecipeVersions.go.snap index 11adf744eeb..58871d35ea1 100644 --- a/service/databrew/snapshot/api_op_ListRecipeVersions.go.snap +++ b/service/databrew/snapshot/api_op_ListRecipeVersions.go.snap @@ -14,7 +14,6 @@ ListRecipeVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_ListRecipes.go.snap b/service/databrew/snapshot/api_op_ListRecipes.go.snap index 440c05fc9a7..3a6c492711c 100644 --- a/service/databrew/snapshot/api_op_ListRecipes.go.snap +++ b/service/databrew/snapshot/api_op_ListRecipes.go.snap @@ -13,7 +13,6 @@ ListRecipes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_ListRulesets.go.snap b/service/databrew/snapshot/api_op_ListRulesets.go.snap index b6a8cc05b61..2983a672ac1 100644 --- a/service/databrew/snapshot/api_op_ListRulesets.go.snap +++ b/service/databrew/snapshot/api_op_ListRulesets.go.snap @@ -13,7 +13,6 @@ ListRulesets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_ListSchedules.go.snap b/service/databrew/snapshot/api_op_ListSchedules.go.snap index b225c3eef41..48ec84594e9 100644 --- a/service/databrew/snapshot/api_op_ListSchedules.go.snap +++ b/service/databrew/snapshot/api_op_ListSchedules.go.snap @@ -13,7 +13,6 @@ ListSchedules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_ListTagsForResource.go.snap b/service/databrew/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/databrew/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/databrew/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_PublishRecipe.go.snap b/service/databrew/snapshot/api_op_PublishRecipe.go.snap index 26eba3911b1..30c52fe1018 100644 --- a/service/databrew/snapshot/api_op_PublishRecipe.go.snap +++ b/service/databrew/snapshot/api_op_PublishRecipe.go.snap @@ -14,7 +14,6 @@ PublishRecipe Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_SendProjectSessionAction.go.snap b/service/databrew/snapshot/api_op_SendProjectSessionAction.go.snap index 96a7d723d8b..f27eaa076f9 100644 --- a/service/databrew/snapshot/api_op_SendProjectSessionAction.go.snap +++ b/service/databrew/snapshot/api_op_SendProjectSessionAction.go.snap @@ -14,7 +14,6 @@ SendProjectSessionAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_StartJobRun.go.snap b/service/databrew/snapshot/api_op_StartJobRun.go.snap index 423ffb4e93b..4d98498f157 100644 --- a/service/databrew/snapshot/api_op_StartJobRun.go.snap +++ b/service/databrew/snapshot/api_op_StartJobRun.go.snap @@ -14,7 +14,6 @@ StartJobRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_StartProjectSession.go.snap b/service/databrew/snapshot/api_op_StartProjectSession.go.snap index 0b40f37f27a..892e638bdf0 100644 --- a/service/databrew/snapshot/api_op_StartProjectSession.go.snap +++ b/service/databrew/snapshot/api_op_StartProjectSession.go.snap @@ -14,7 +14,6 @@ StartProjectSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_StopJobRun.go.snap b/service/databrew/snapshot/api_op_StopJobRun.go.snap index 69fb234f029..7ba6abae339 100644 --- a/service/databrew/snapshot/api_op_StopJobRun.go.snap +++ b/service/databrew/snapshot/api_op_StopJobRun.go.snap @@ -14,7 +14,6 @@ StopJobRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_TagResource.go.snap b/service/databrew/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/databrew/snapshot/api_op_TagResource.go.snap +++ b/service/databrew/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_UntagResource.go.snap b/service/databrew/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/databrew/snapshot/api_op_UntagResource.go.snap +++ b/service/databrew/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_UpdateDataset.go.snap b/service/databrew/snapshot/api_op_UpdateDataset.go.snap index bb0ad287ec6..20d8b892226 100644 --- a/service/databrew/snapshot/api_op_UpdateDataset.go.snap +++ b/service/databrew/snapshot/api_op_UpdateDataset.go.snap @@ -14,7 +14,6 @@ UpdateDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_UpdateProfileJob.go.snap b/service/databrew/snapshot/api_op_UpdateProfileJob.go.snap index c96319f3f39..1d78f18f758 100644 --- a/service/databrew/snapshot/api_op_UpdateProfileJob.go.snap +++ b/service/databrew/snapshot/api_op_UpdateProfileJob.go.snap @@ -14,7 +14,6 @@ UpdateProfileJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_UpdateProject.go.snap b/service/databrew/snapshot/api_op_UpdateProject.go.snap index 5c3e188e688..58c24534d10 100644 --- a/service/databrew/snapshot/api_op_UpdateProject.go.snap +++ b/service/databrew/snapshot/api_op_UpdateProject.go.snap @@ -14,7 +14,6 @@ UpdateProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_UpdateRecipe.go.snap b/service/databrew/snapshot/api_op_UpdateRecipe.go.snap index 3ed8868c9b6..dc38ccbb3f9 100644 --- a/service/databrew/snapshot/api_op_UpdateRecipe.go.snap +++ b/service/databrew/snapshot/api_op_UpdateRecipe.go.snap @@ -14,7 +14,6 @@ UpdateRecipe Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_UpdateRecipeJob.go.snap b/service/databrew/snapshot/api_op_UpdateRecipeJob.go.snap index b44a39d598c..d5295012e32 100644 --- a/service/databrew/snapshot/api_op_UpdateRecipeJob.go.snap +++ b/service/databrew/snapshot/api_op_UpdateRecipeJob.go.snap @@ -14,7 +14,6 @@ UpdateRecipeJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_UpdateRuleset.go.snap b/service/databrew/snapshot/api_op_UpdateRuleset.go.snap index 4344732accf..297996eb250 100644 --- a/service/databrew/snapshot/api_op_UpdateRuleset.go.snap +++ b/service/databrew/snapshot/api_op_UpdateRuleset.go.snap @@ -14,7 +14,6 @@ UpdateRuleset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/databrew/snapshot/api_op_UpdateSchedule.go.snap b/service/databrew/snapshot/api_op_UpdateSchedule.go.snap index 4a08897b5c1..3ff65cce87f 100644 --- a/service/databrew/snapshot/api_op_UpdateSchedule.go.snap +++ b/service/databrew/snapshot/api_op_UpdateSchedule.go.snap @@ -14,7 +14,6 @@ UpdateSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/api_client.go b/service/dataexchange/api_client.go index 06a80d6cfa8..5b69ec3ef69 100644 --- a/service/dataexchange/api_client.go +++ b/service/dataexchange/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/dataexchange/api_op_AcceptDataGrant.go b/service/dataexchange/api_op_AcceptDataGrant.go index 59497d86d23..719003e4ffd 100644 --- a/service/dataexchange/api_op_AcceptDataGrant.go +++ b/service/dataexchange/api_op_AcceptDataGrant.go @@ -167,9 +167,6 @@ func (c *Client) addOperationAcceptDataGrantMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptDataGrantValidationMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_CancelJob.go b/service/dataexchange/api_op_CancelJob.go index a92d758cb72..c9f00d94423 100644 --- a/service/dataexchange/api_op_CancelJob.go +++ b/service/dataexchange/api_op_CancelJob.go @@ -108,9 +108,6 @@ func (c *Client) addOperationCancelJobMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_CreateDataGrant.go b/service/dataexchange/api_op_CreateDataGrant.go index 8273d58f5b2..961c71c8b5f 100644 --- a/service/dataexchange/api_op_CreateDataGrant.go +++ b/service/dataexchange/api_op_CreateDataGrant.go @@ -201,9 +201,6 @@ func (c *Client) addOperationCreateDataGrantMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDataGrantValidationMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_CreateDataSet.go b/service/dataexchange/api_op_CreateDataSet.go index 20145336bc2..c0fabb92529 100644 --- a/service/dataexchange/api_op_CreateDataSet.go +++ b/service/dataexchange/api_op_CreateDataSet.go @@ -163,9 +163,6 @@ func (c *Client) addOperationCreateDataSetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDataSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_CreateEventAction.go b/service/dataexchange/api_op_CreateEventAction.go index 05515d38f57..364f68d2998 100644 --- a/service/dataexchange/api_op_CreateEventAction.go +++ b/service/dataexchange/api_op_CreateEventAction.go @@ -133,9 +133,6 @@ func (c *Client) addOperationCreateEventActionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEventActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_CreateJob.go b/service/dataexchange/api_op_CreateJob.go index fddb9676b65..69b3639beed 100644 --- a/service/dataexchange/api_op_CreateJob.go +++ b/service/dataexchange/api_op_CreateJob.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateJobMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_CreateRevision.go b/service/dataexchange/api_op_CreateRevision.go index 9a816b521d1..9434eec7026 100644 --- a/service/dataexchange/api_op_CreateRevision.go +++ b/service/dataexchange/api_op_CreateRevision.go @@ -163,9 +163,6 @@ func (c *Client) addOperationCreateRevisionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRevisionValidationMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_DeleteAsset.go b/service/dataexchange/api_op_DeleteAsset.go index a8ad55aa723..86f9d68f4b4 100644 --- a/service/dataexchange/api_op_DeleteAsset.go +++ b/service/dataexchange/api_op_DeleteAsset.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteAssetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAssetValidationMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_DeleteDataGrant.go b/service/dataexchange/api_op_DeleteDataGrant.go index 22c2f422c25..cffeba25fbd 100644 --- a/service/dataexchange/api_op_DeleteDataGrant.go +++ b/service/dataexchange/api_op_DeleteDataGrant.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteDataGrantMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDataGrantValidationMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_DeleteDataSet.go b/service/dataexchange/api_op_DeleteDataSet.go index cae24718339..7415c92d927 100644 --- a/service/dataexchange/api_op_DeleteDataSet.go +++ b/service/dataexchange/api_op_DeleteDataSet.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteDataSetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDataSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_DeleteEventAction.go b/service/dataexchange/api_op_DeleteEventAction.go index 3228487054c..1fdf34266e4 100644 --- a/service/dataexchange/api_op_DeleteEventAction.go +++ b/service/dataexchange/api_op_DeleteEventAction.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteEventActionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEventActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_DeleteRevision.go b/service/dataexchange/api_op_DeleteRevision.go index ed96c8ed6c3..b13a3f3d4ae 100644 --- a/service/dataexchange/api_op_DeleteRevision.go +++ b/service/dataexchange/api_op_DeleteRevision.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteRevisionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRevisionValidationMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_GetAsset.go b/service/dataexchange/api_op_GetAsset.go index f97bb1f0c22..e429b94831e 100644 --- a/service/dataexchange/api_op_GetAsset.go +++ b/service/dataexchange/api_op_GetAsset.go @@ -158,9 +158,6 @@ func (c *Client) addOperationGetAssetMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAssetValidationMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_GetDataGrant.go b/service/dataexchange/api_op_GetDataGrant.go index 90bbd808519..af4a25089c4 100644 --- a/service/dataexchange/api_op_GetDataGrant.go +++ b/service/dataexchange/api_op_GetDataGrant.go @@ -177,9 +177,6 @@ func (c *Client) addOperationGetDataGrantMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataGrantValidationMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_GetDataSet.go b/service/dataexchange/api_op_GetDataSet.go index c4797d6928e..60c3a311d6e 100644 --- a/service/dataexchange/api_op_GetDataSet.go +++ b/service/dataexchange/api_op_GetDataSet.go @@ -147,9 +147,6 @@ func (c *Client) addOperationGetDataSetMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_GetEventAction.go b/service/dataexchange/api_op_GetEventAction.go index 4431bcf0f79..7fac56f1909 100644 --- a/service/dataexchange/api_op_GetEventAction.go +++ b/service/dataexchange/api_op_GetEventAction.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetEventActionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEventActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_GetJob.go b/service/dataexchange/api_op_GetJob.go index dae59f1fd5f..7c6b96dcd46 100644 --- a/service/dataexchange/api_op_GetJob.go +++ b/service/dataexchange/api_op_GetJob.go @@ -134,9 +134,6 @@ func (c *Client) addOperationGetJobMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_GetReceivedDataGrant.go b/service/dataexchange/api_op_GetReceivedDataGrant.go index f5f536e90fa..8181a647e0f 100644 --- a/service/dataexchange/api_op_GetReceivedDataGrant.go +++ b/service/dataexchange/api_op_GetReceivedDataGrant.go @@ -167,9 +167,6 @@ func (c *Client) addOperationGetReceivedDataGrantMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetReceivedDataGrantValidationMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_GetRevision.go b/service/dataexchange/api_op_GetRevision.go index b678380a885..93fa90a7cf1 100644 --- a/service/dataexchange/api_op_GetRevision.go +++ b/service/dataexchange/api_op_GetRevision.go @@ -159,9 +159,6 @@ func (c *Client) addOperationGetRevisionMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRevisionValidationMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_ListDataGrants.go b/service/dataexchange/api_op_ListDataGrants.go index a02c272295a..5010138b6a3 100644 --- a/service/dataexchange/api_op_ListDataGrants.go +++ b/service/dataexchange/api_op_ListDataGrants.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListDataGrantsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataGrants(options.Region), middleware.Before); err != nil { return err } diff --git a/service/dataexchange/api_op_ListDataSetRevisions.go b/service/dataexchange/api_op_ListDataSetRevisions.go index 15b6d632c55..9b32d8ab006 100644 --- a/service/dataexchange/api_op_ListDataSetRevisions.go +++ b/service/dataexchange/api_op_ListDataSetRevisions.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListDataSetRevisionsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDataSetRevisionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_ListDataSets.go b/service/dataexchange/api_op_ListDataSets.go index 2031f55c4a7..c93282baf6a 100644 --- a/service/dataexchange/api_op_ListDataSets.go +++ b/service/dataexchange/api_op_ListDataSets.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListDataSetsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataSets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/dataexchange/api_op_ListEventActions.go b/service/dataexchange/api_op_ListEventActions.go index 9e3c0ff6b37..79dc2cbf878 100644 --- a/service/dataexchange/api_op_ListEventActions.go +++ b/service/dataexchange/api_op_ListEventActions.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListEventActionsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEventActions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/dataexchange/api_op_ListJobs.go b/service/dataexchange/api_op_ListJobs.go index 3182310869f..ab38191a56f 100644 --- a/service/dataexchange/api_op_ListJobs.go +++ b/service/dataexchange/api_op_ListJobs.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListJobsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/dataexchange/api_op_ListReceivedDataGrants.go b/service/dataexchange/api_op_ListReceivedDataGrants.go index 1355545a09a..55d37d15bc6 100644 --- a/service/dataexchange/api_op_ListReceivedDataGrants.go +++ b/service/dataexchange/api_op_ListReceivedDataGrants.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListReceivedDataGrantsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReceivedDataGrants(options.Region), middleware.Before); err != nil { return err } diff --git a/service/dataexchange/api_op_ListRevisionAssets.go b/service/dataexchange/api_op_ListRevisionAssets.go index fe88100ee9d..d35af1d10cb 100644 --- a/service/dataexchange/api_op_ListRevisionAssets.go +++ b/service/dataexchange/api_op_ListRevisionAssets.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListRevisionAssetsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRevisionAssetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_ListTagsForResource.go b/service/dataexchange/api_op_ListTagsForResource.go index 536fea6d708..623da6acf0d 100644 --- a/service/dataexchange/api_op_ListTagsForResource.go +++ b/service/dataexchange/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_RevokeRevision.go b/service/dataexchange/api_op_RevokeRevision.go index e51c29a0037..00f979db3c8 100644 --- a/service/dataexchange/api_op_RevokeRevision.go +++ b/service/dataexchange/api_op_RevokeRevision.go @@ -162,9 +162,6 @@ func (c *Client) addOperationRevokeRevisionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRevokeRevisionValidationMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_SendApiAsset.go b/service/dataexchange/api_op_SendApiAsset.go index ccc550adf32..4901981d41a 100644 --- a/service/dataexchange/api_op_SendApiAsset.go +++ b/service/dataexchange/api_op_SendApiAsset.go @@ -148,9 +148,6 @@ func (c *Client) addOperationSendApiAssetMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opSendApiAssetMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_SendDataSetNotification.go b/service/dataexchange/api_op_SendDataSetNotification.go index eb9d5986ed4..4f623ed362a 100644 --- a/service/dataexchange/api_op_SendDataSetNotification.go +++ b/service/dataexchange/api_op_SendDataSetNotification.go @@ -128,9 +128,6 @@ func (c *Client) addOperationSendDataSetNotificationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opSendDataSetNotificationMiddleware(stack, options); err != nil { return err } diff --git a/service/dataexchange/api_op_StartJob.go b/service/dataexchange/api_op_StartJob.go index 49d1f62e8f7..75e3aa70e09 100644 --- a/service/dataexchange/api_op_StartJob.go +++ b/service/dataexchange/api_op_StartJob.go @@ -107,9 +107,6 @@ func (c *Client) addOperationStartJobMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_TagResource.go b/service/dataexchange/api_op_TagResource.go index 443256644de..c07d8726a18 100644 --- a/service/dataexchange/api_op_TagResource.go +++ b/service/dataexchange/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_UntagResource.go b/service/dataexchange/api_op_UntagResource.go index 1a72b63d8d4..e390d1fa991 100644 --- a/service/dataexchange/api_op_UntagResource.go +++ b/service/dataexchange/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_UpdateAsset.go b/service/dataexchange/api_op_UpdateAsset.go index 2f4d4d2143f..0bf0e6fc58c 100644 --- a/service/dataexchange/api_op_UpdateAsset.go +++ b/service/dataexchange/api_op_UpdateAsset.go @@ -169,9 +169,6 @@ func (c *Client) addOperationUpdateAssetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAssetValidationMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_UpdateDataSet.go b/service/dataexchange/api_op_UpdateDataSet.go index 1f1580b692e..de0da908761 100644 --- a/service/dataexchange/api_op_UpdateDataSet.go +++ b/service/dataexchange/api_op_UpdateDataSet.go @@ -150,9 +150,6 @@ func (c *Client) addOperationUpdateDataSetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDataSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_UpdateEventAction.go b/service/dataexchange/api_op_UpdateEventAction.go index b1ff5e7da86..5eb75fd28b9 100644 --- a/service/dataexchange/api_op_UpdateEventAction.go +++ b/service/dataexchange/api_op_UpdateEventAction.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateEventActionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEventActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/api_op_UpdateRevision.go b/service/dataexchange/api_op_UpdateRevision.go index 13183c3f171..f3c6208c58b 100644 --- a/service/dataexchange/api_op_UpdateRevision.go +++ b/service/dataexchange/api_op_UpdateRevision.go @@ -164,9 +164,6 @@ func (c *Client) addOperationUpdateRevisionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRevisionValidationMiddleware(stack); err != nil { return err } diff --git a/service/dataexchange/snapshot/api_op_AcceptDataGrant.go.snap b/service/dataexchange/snapshot/api_op_AcceptDataGrant.go.snap index 131ec5f09cb..9658e916c06 100644 --- a/service/dataexchange/snapshot/api_op_AcceptDataGrant.go.snap +++ b/service/dataexchange/snapshot/api_op_AcceptDataGrant.go.snap @@ -14,7 +14,6 @@ AcceptDataGrant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_CancelJob.go.snap b/service/dataexchange/snapshot/api_op_CancelJob.go.snap index 51903387e8d..b36a88b69e0 100644 --- a/service/dataexchange/snapshot/api_op_CancelJob.go.snap +++ b/service/dataexchange/snapshot/api_op_CancelJob.go.snap @@ -14,7 +14,6 @@ CancelJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_CreateDataGrant.go.snap b/service/dataexchange/snapshot/api_op_CreateDataGrant.go.snap index 67b1b92e014..d32302a0f99 100644 --- a/service/dataexchange/snapshot/api_op_CreateDataGrant.go.snap +++ b/service/dataexchange/snapshot/api_op_CreateDataGrant.go.snap @@ -14,7 +14,6 @@ CreateDataGrant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_CreateDataSet.go.snap b/service/dataexchange/snapshot/api_op_CreateDataSet.go.snap index 9c38213051c..1548300a587 100644 --- a/service/dataexchange/snapshot/api_op_CreateDataSet.go.snap +++ b/service/dataexchange/snapshot/api_op_CreateDataSet.go.snap @@ -14,7 +14,6 @@ CreateDataSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_CreateEventAction.go.snap b/service/dataexchange/snapshot/api_op_CreateEventAction.go.snap index 28874fe060e..a210d3de1f4 100644 --- a/service/dataexchange/snapshot/api_op_CreateEventAction.go.snap +++ b/service/dataexchange/snapshot/api_op_CreateEventAction.go.snap @@ -14,7 +14,6 @@ CreateEventAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_CreateJob.go.snap b/service/dataexchange/snapshot/api_op_CreateJob.go.snap index 997d5a01bae..27ac2aec4ac 100644 --- a/service/dataexchange/snapshot/api_op_CreateJob.go.snap +++ b/service/dataexchange/snapshot/api_op_CreateJob.go.snap @@ -14,7 +14,6 @@ CreateJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_CreateRevision.go.snap b/service/dataexchange/snapshot/api_op_CreateRevision.go.snap index be12865b1a0..32df8a15691 100644 --- a/service/dataexchange/snapshot/api_op_CreateRevision.go.snap +++ b/service/dataexchange/snapshot/api_op_CreateRevision.go.snap @@ -14,7 +14,6 @@ CreateRevision Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_DeleteAsset.go.snap b/service/dataexchange/snapshot/api_op_DeleteAsset.go.snap index b3fc5112fcd..d6e666f8120 100644 --- a/service/dataexchange/snapshot/api_op_DeleteAsset.go.snap +++ b/service/dataexchange/snapshot/api_op_DeleteAsset.go.snap @@ -14,7 +14,6 @@ DeleteAsset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_DeleteDataGrant.go.snap b/service/dataexchange/snapshot/api_op_DeleteDataGrant.go.snap index 7230a243b0a..08685a2820a 100644 --- a/service/dataexchange/snapshot/api_op_DeleteDataGrant.go.snap +++ b/service/dataexchange/snapshot/api_op_DeleteDataGrant.go.snap @@ -14,7 +14,6 @@ DeleteDataGrant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_DeleteDataSet.go.snap b/service/dataexchange/snapshot/api_op_DeleteDataSet.go.snap index eb3f01f962c..d21ee4c98fc 100644 --- a/service/dataexchange/snapshot/api_op_DeleteDataSet.go.snap +++ b/service/dataexchange/snapshot/api_op_DeleteDataSet.go.snap @@ -14,7 +14,6 @@ DeleteDataSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_DeleteEventAction.go.snap b/service/dataexchange/snapshot/api_op_DeleteEventAction.go.snap index 5dea9d64897..7820ded86da 100644 --- a/service/dataexchange/snapshot/api_op_DeleteEventAction.go.snap +++ b/service/dataexchange/snapshot/api_op_DeleteEventAction.go.snap @@ -14,7 +14,6 @@ DeleteEventAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_DeleteRevision.go.snap b/service/dataexchange/snapshot/api_op_DeleteRevision.go.snap index 13f162136e8..6e1cb7f2236 100644 --- a/service/dataexchange/snapshot/api_op_DeleteRevision.go.snap +++ b/service/dataexchange/snapshot/api_op_DeleteRevision.go.snap @@ -14,7 +14,6 @@ DeleteRevision Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_GetAsset.go.snap b/service/dataexchange/snapshot/api_op_GetAsset.go.snap index 43738922cfd..b3ba490b32b 100644 --- a/service/dataexchange/snapshot/api_op_GetAsset.go.snap +++ b/service/dataexchange/snapshot/api_op_GetAsset.go.snap @@ -14,7 +14,6 @@ GetAsset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_GetDataGrant.go.snap b/service/dataexchange/snapshot/api_op_GetDataGrant.go.snap index e9461a57caf..5b1dd21460f 100644 --- a/service/dataexchange/snapshot/api_op_GetDataGrant.go.snap +++ b/service/dataexchange/snapshot/api_op_GetDataGrant.go.snap @@ -14,7 +14,6 @@ GetDataGrant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_GetDataSet.go.snap b/service/dataexchange/snapshot/api_op_GetDataSet.go.snap index a99bf2613e9..2614a8fc7ca 100644 --- a/service/dataexchange/snapshot/api_op_GetDataSet.go.snap +++ b/service/dataexchange/snapshot/api_op_GetDataSet.go.snap @@ -14,7 +14,6 @@ GetDataSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_GetEventAction.go.snap b/service/dataexchange/snapshot/api_op_GetEventAction.go.snap index f4c2821abd5..b65d6db936d 100644 --- a/service/dataexchange/snapshot/api_op_GetEventAction.go.snap +++ b/service/dataexchange/snapshot/api_op_GetEventAction.go.snap @@ -14,7 +14,6 @@ GetEventAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_GetJob.go.snap b/service/dataexchange/snapshot/api_op_GetJob.go.snap index 8785dbdb074..6e4ff7bd3f6 100644 --- a/service/dataexchange/snapshot/api_op_GetJob.go.snap +++ b/service/dataexchange/snapshot/api_op_GetJob.go.snap @@ -14,7 +14,6 @@ GetJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_GetReceivedDataGrant.go.snap b/service/dataexchange/snapshot/api_op_GetReceivedDataGrant.go.snap index 94645b59c22..0d30fc9d204 100644 --- a/service/dataexchange/snapshot/api_op_GetReceivedDataGrant.go.snap +++ b/service/dataexchange/snapshot/api_op_GetReceivedDataGrant.go.snap @@ -14,7 +14,6 @@ GetReceivedDataGrant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_GetRevision.go.snap b/service/dataexchange/snapshot/api_op_GetRevision.go.snap index 96f4d0a6138..865d9e66a5b 100644 --- a/service/dataexchange/snapshot/api_op_GetRevision.go.snap +++ b/service/dataexchange/snapshot/api_op_GetRevision.go.snap @@ -14,7 +14,6 @@ GetRevision Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_ListDataGrants.go.snap b/service/dataexchange/snapshot/api_op_ListDataGrants.go.snap index 79074a11100..e3ed4653abe 100644 --- a/service/dataexchange/snapshot/api_op_ListDataGrants.go.snap +++ b/service/dataexchange/snapshot/api_op_ListDataGrants.go.snap @@ -13,7 +13,6 @@ ListDataGrants Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_ListDataSetRevisions.go.snap b/service/dataexchange/snapshot/api_op_ListDataSetRevisions.go.snap index 2a9ab3a49a9..e96d07fab74 100644 --- a/service/dataexchange/snapshot/api_op_ListDataSetRevisions.go.snap +++ b/service/dataexchange/snapshot/api_op_ListDataSetRevisions.go.snap @@ -14,7 +14,6 @@ ListDataSetRevisions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_ListDataSets.go.snap b/service/dataexchange/snapshot/api_op_ListDataSets.go.snap index 5c1cee8899f..0ad741b0d46 100644 --- a/service/dataexchange/snapshot/api_op_ListDataSets.go.snap +++ b/service/dataexchange/snapshot/api_op_ListDataSets.go.snap @@ -13,7 +13,6 @@ ListDataSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_ListEventActions.go.snap b/service/dataexchange/snapshot/api_op_ListEventActions.go.snap index ea9afb9f0de..5247e2bb6b0 100644 --- a/service/dataexchange/snapshot/api_op_ListEventActions.go.snap +++ b/service/dataexchange/snapshot/api_op_ListEventActions.go.snap @@ -13,7 +13,6 @@ ListEventActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_ListJobs.go.snap b/service/dataexchange/snapshot/api_op_ListJobs.go.snap index a2366e394ac..3ec2f2c0720 100644 --- a/service/dataexchange/snapshot/api_op_ListJobs.go.snap +++ b/service/dataexchange/snapshot/api_op_ListJobs.go.snap @@ -13,7 +13,6 @@ ListJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_ListReceivedDataGrants.go.snap b/service/dataexchange/snapshot/api_op_ListReceivedDataGrants.go.snap index 6e220eff2f3..ba842444cf8 100644 --- a/service/dataexchange/snapshot/api_op_ListReceivedDataGrants.go.snap +++ b/service/dataexchange/snapshot/api_op_ListReceivedDataGrants.go.snap @@ -13,7 +13,6 @@ ListReceivedDataGrants Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_ListRevisionAssets.go.snap b/service/dataexchange/snapshot/api_op_ListRevisionAssets.go.snap index 74b9c4a8a41..deb39b1e0f3 100644 --- a/service/dataexchange/snapshot/api_op_ListRevisionAssets.go.snap +++ b/service/dataexchange/snapshot/api_op_ListRevisionAssets.go.snap @@ -14,7 +14,6 @@ ListRevisionAssets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_ListTagsForResource.go.snap b/service/dataexchange/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/dataexchange/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/dataexchange/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_RevokeRevision.go.snap b/service/dataexchange/snapshot/api_op_RevokeRevision.go.snap index 0526b1cabda..044a7c1e427 100644 --- a/service/dataexchange/snapshot/api_op_RevokeRevision.go.snap +++ b/service/dataexchange/snapshot/api_op_RevokeRevision.go.snap @@ -14,7 +14,6 @@ RevokeRevision Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_SendApiAsset.go.snap b/service/dataexchange/snapshot/api_op_SendApiAsset.go.snap index f63b152a1c2..17fd5434557 100644 --- a/service/dataexchange/snapshot/api_op_SendApiAsset.go.snap +++ b/service/dataexchange/snapshot/api_op_SendApiAsset.go.snap @@ -14,7 +14,6 @@ SendApiAsset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_SendDataSetNotification.go.snap b/service/dataexchange/snapshot/api_op_SendDataSetNotification.go.snap index c50a1988160..54aac37f95d 100644 --- a/service/dataexchange/snapshot/api_op_SendDataSetNotification.go.snap +++ b/service/dataexchange/snapshot/api_op_SendDataSetNotification.go.snap @@ -15,7 +15,6 @@ SendDataSetNotification Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_StartJob.go.snap b/service/dataexchange/snapshot/api_op_StartJob.go.snap index 669cac60a98..1383dc8637a 100644 --- a/service/dataexchange/snapshot/api_op_StartJob.go.snap +++ b/service/dataexchange/snapshot/api_op_StartJob.go.snap @@ -14,7 +14,6 @@ StartJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_TagResource.go.snap b/service/dataexchange/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/dataexchange/snapshot/api_op_TagResource.go.snap +++ b/service/dataexchange/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_UntagResource.go.snap b/service/dataexchange/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/dataexchange/snapshot/api_op_UntagResource.go.snap +++ b/service/dataexchange/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_UpdateAsset.go.snap b/service/dataexchange/snapshot/api_op_UpdateAsset.go.snap index 653c41c0d8d..23044ffa1b0 100644 --- a/service/dataexchange/snapshot/api_op_UpdateAsset.go.snap +++ b/service/dataexchange/snapshot/api_op_UpdateAsset.go.snap @@ -14,7 +14,6 @@ UpdateAsset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_UpdateDataSet.go.snap b/service/dataexchange/snapshot/api_op_UpdateDataSet.go.snap index a12916563f6..080cbc200eb 100644 --- a/service/dataexchange/snapshot/api_op_UpdateDataSet.go.snap +++ b/service/dataexchange/snapshot/api_op_UpdateDataSet.go.snap @@ -14,7 +14,6 @@ UpdateDataSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_UpdateEventAction.go.snap b/service/dataexchange/snapshot/api_op_UpdateEventAction.go.snap index 798390498a7..e3687995871 100644 --- a/service/dataexchange/snapshot/api_op_UpdateEventAction.go.snap +++ b/service/dataexchange/snapshot/api_op_UpdateEventAction.go.snap @@ -14,7 +14,6 @@ UpdateEventAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dataexchange/snapshot/api_op_UpdateRevision.go.snap b/service/dataexchange/snapshot/api_op_UpdateRevision.go.snap index eca5ea66059..5dcda6f62bf 100644 --- a/service/dataexchange/snapshot/api_op_UpdateRevision.go.snap +++ b/service/dataexchange/snapshot/api_op_UpdateRevision.go.snap @@ -14,7 +14,6 @@ UpdateRevision Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datapipeline/api_client.go b/service/datapipeline/api_client.go index 2070e6750fb..b08c82951f8 100644 --- a/service/datapipeline/api_client.go +++ b/service/datapipeline/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/datapipeline/api_op_ActivatePipeline.go b/service/datapipeline/api_op_ActivatePipeline.go index ebdb18f13a4..0070979440c 100644 --- a/service/datapipeline/api_op_ActivatePipeline.go +++ b/service/datapipeline/api_op_ActivatePipeline.go @@ -138,9 +138,6 @@ func (c *Client) addOperationActivatePipelineMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpActivatePipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_AddTags.go b/service/datapipeline/api_op_AddTags.go index 60a4a72a82c..3c693882d61 100644 --- a/service/datapipeline/api_op_AddTags.go +++ b/service/datapipeline/api_op_AddTags.go @@ -115,9 +115,6 @@ func (c *Client) addOperationAddTagsMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_CreatePipeline.go b/service/datapipeline/api_op_CreatePipeline.go index b7067fffa4f..b1db01699d6 100644 --- a/service/datapipeline/api_op_CreatePipeline.go +++ b/service/datapipeline/api_op_CreatePipeline.go @@ -158,9 +158,6 @@ func (c *Client) addOperationCreatePipelineMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_DeactivatePipeline.go b/service/datapipeline/api_op_DeactivatePipeline.go index 4e53ecb0d7d..adca5e50c9b 100644 --- a/service/datapipeline/api_op_DeactivatePipeline.go +++ b/service/datapipeline/api_op_DeactivatePipeline.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeactivatePipelineMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeactivatePipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_DeletePipeline.go b/service/datapipeline/api_op_DeletePipeline.go index d12520d91cf..29412103bcd 100644 --- a/service/datapipeline/api_op_DeletePipeline.go +++ b/service/datapipeline/api_op_DeletePipeline.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDeletePipelineMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_DescribeObjects.go b/service/datapipeline/api_op_DescribeObjects.go index 8e5debd9f62..c8e1a08b55b 100644 --- a/service/datapipeline/api_op_DescribeObjects.go +++ b/service/datapipeline/api_op_DescribeObjects.go @@ -163,9 +163,6 @@ func (c *Client) addOperationDescribeObjectsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeObjectsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_DescribePipelines.go b/service/datapipeline/api_op_DescribePipelines.go index e6b8f49a51d..b04d69687a2 100644 --- a/service/datapipeline/api_op_DescribePipelines.go +++ b/service/datapipeline/api_op_DescribePipelines.go @@ -147,9 +147,6 @@ func (c *Client) addOperationDescribePipelinesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePipelinesValidationMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_EvaluateExpression.go b/service/datapipeline/api_op_EvaluateExpression.go index 7228d627565..68000c107dd 100644 --- a/service/datapipeline/api_op_EvaluateExpression.go +++ b/service/datapipeline/api_op_EvaluateExpression.go @@ -142,9 +142,6 @@ func (c *Client) addOperationEvaluateExpressionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEvaluateExpressionValidationMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_GetPipelineDefinition.go b/service/datapipeline/api_op_GetPipelineDefinition.go index 2db99182085..141d9cccf32 100644 --- a/service/datapipeline/api_op_GetPipelineDefinition.go +++ b/service/datapipeline/api_op_GetPipelineDefinition.go @@ -148,9 +148,6 @@ func (c *Client) addOperationGetPipelineDefinitionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPipelineDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_ListPipelines.go b/service/datapipeline/api_op_ListPipelines.go index aafe6359124..151cc9d9d00 100644 --- a/service/datapipeline/api_op_ListPipelines.go +++ b/service/datapipeline/api_op_ListPipelines.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListPipelinesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPipelines(options.Region), middleware.Before); err != nil { return err } diff --git a/service/datapipeline/api_op_PollForTask.go b/service/datapipeline/api_op_PollForTask.go index 81bd2366ea5..576ede4e60a 100644 --- a/service/datapipeline/api_op_PollForTask.go +++ b/service/datapipeline/api_op_PollForTask.go @@ -177,9 +177,6 @@ func (c *Client) addOperationPollForTaskMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPollForTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_PutPipelineDefinition.go b/service/datapipeline/api_op_PutPipelineDefinition.go index 2af34b592c4..9d31e4f371f 100644 --- a/service/datapipeline/api_op_PutPipelineDefinition.go +++ b/service/datapipeline/api_op_PutPipelineDefinition.go @@ -203,9 +203,6 @@ func (c *Client) addOperationPutPipelineDefinitionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutPipelineDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_QueryObjects.go b/service/datapipeline/api_op_QueryObjects.go index 3d5bc207e65..5c5245feb31 100644 --- a/service/datapipeline/api_op_QueryObjects.go +++ b/service/datapipeline/api_op_QueryObjects.go @@ -160,9 +160,6 @@ func (c *Client) addOperationQueryObjectsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpQueryObjectsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_RemoveTags.go b/service/datapipeline/api_op_RemoveTags.go index b7e0d8f1ca7..35cee777c70 100644 --- a/service/datapipeline/api_op_RemoveTags.go +++ b/service/datapipeline/api_op_RemoveTags.go @@ -114,9 +114,6 @@ func (c *Client) addOperationRemoveTagsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_ReportTaskProgress.go b/service/datapipeline/api_op_ReportTaskProgress.go index 7eb6875c196..bede313edfc 100644 --- a/service/datapipeline/api_op_ReportTaskProgress.go +++ b/service/datapipeline/api_op_ReportTaskProgress.go @@ -147,9 +147,6 @@ func (c *Client) addOperationReportTaskProgressMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpReportTaskProgressValidationMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_ReportTaskRunnerHeartbeat.go b/service/datapipeline/api_op_ReportTaskRunnerHeartbeat.go index 3269b93ff59..13a1d3dd9d9 100644 --- a/service/datapipeline/api_op_ReportTaskRunnerHeartbeat.go +++ b/service/datapipeline/api_op_ReportTaskRunnerHeartbeat.go @@ -146,9 +146,6 @@ func (c *Client) addOperationReportTaskRunnerHeartbeatMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpReportTaskRunnerHeartbeatValidationMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_SetStatus.go b/service/datapipeline/api_op_SetStatus.go index a921f5ddaf3..2b4b46c3ba8 100644 --- a/service/datapipeline/api_op_SetStatus.go +++ b/service/datapipeline/api_op_SetStatus.go @@ -137,9 +137,6 @@ func (c *Client) addOperationSetStatusMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_SetTaskStatus.go b/service/datapipeline/api_op_SetTaskStatus.go index 1f8b41ff1f6..05f66769d50 100644 --- a/service/datapipeline/api_op_SetTaskStatus.go +++ b/service/datapipeline/api_op_SetTaskStatus.go @@ -153,9 +153,6 @@ func (c *Client) addOperationSetTaskStatusMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetTaskStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/api_op_ValidatePipelineDefinition.go b/service/datapipeline/api_op_ValidatePipelineDefinition.go index ae346320f79..364e269789e 100644 --- a/service/datapipeline/api_op_ValidatePipelineDefinition.go +++ b/service/datapipeline/api_op_ValidatePipelineDefinition.go @@ -188,9 +188,6 @@ func (c *Client) addOperationValidatePipelineDefinitionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpValidatePipelineDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/datapipeline/snapshot/api_op_ActivatePipeline.go.snap b/service/datapipeline/snapshot/api_op_ActivatePipeline.go.snap index 47525f5c6e3..d8841c750a5 100644 --- a/service/datapipeline/snapshot/api_op_ActivatePipeline.go.snap +++ b/service/datapipeline/snapshot/api_op_ActivatePipeline.go.snap @@ -14,7 +14,6 @@ ActivatePipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datapipeline/snapshot/api_op_AddTags.go.snap b/service/datapipeline/snapshot/api_op_AddTags.go.snap index 0d887673903..96fb5e7b63d 100644 --- a/service/datapipeline/snapshot/api_op_AddTags.go.snap +++ b/service/datapipeline/snapshot/api_op_AddTags.go.snap @@ -14,7 +14,6 @@ AddTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datapipeline/snapshot/api_op_CreatePipeline.go.snap b/service/datapipeline/snapshot/api_op_CreatePipeline.go.snap index 4c2b94d4897..b5051ce1ac7 100644 --- a/service/datapipeline/snapshot/api_op_CreatePipeline.go.snap +++ b/service/datapipeline/snapshot/api_op_CreatePipeline.go.snap @@ -14,7 +14,6 @@ CreatePipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datapipeline/snapshot/api_op_DeactivatePipeline.go.snap b/service/datapipeline/snapshot/api_op_DeactivatePipeline.go.snap index af67a2c2879..5176ab714e6 100644 --- a/service/datapipeline/snapshot/api_op_DeactivatePipeline.go.snap +++ b/service/datapipeline/snapshot/api_op_DeactivatePipeline.go.snap @@ -14,7 +14,6 @@ DeactivatePipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datapipeline/snapshot/api_op_DeletePipeline.go.snap b/service/datapipeline/snapshot/api_op_DeletePipeline.go.snap index a7bf3d79424..50c322a5054 100644 --- a/service/datapipeline/snapshot/api_op_DeletePipeline.go.snap +++ b/service/datapipeline/snapshot/api_op_DeletePipeline.go.snap @@ -14,7 +14,6 @@ DeletePipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datapipeline/snapshot/api_op_DescribeObjects.go.snap b/service/datapipeline/snapshot/api_op_DescribeObjects.go.snap index 18f60ce1517..969d1cf8876 100644 --- a/service/datapipeline/snapshot/api_op_DescribeObjects.go.snap +++ b/service/datapipeline/snapshot/api_op_DescribeObjects.go.snap @@ -14,7 +14,6 @@ DescribeObjects Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datapipeline/snapshot/api_op_DescribePipelines.go.snap b/service/datapipeline/snapshot/api_op_DescribePipelines.go.snap index 4526069e902..8f9d58dbb34 100644 --- a/service/datapipeline/snapshot/api_op_DescribePipelines.go.snap +++ b/service/datapipeline/snapshot/api_op_DescribePipelines.go.snap @@ -14,7 +14,6 @@ DescribePipelines Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datapipeline/snapshot/api_op_EvaluateExpression.go.snap b/service/datapipeline/snapshot/api_op_EvaluateExpression.go.snap index 0164b87ece0..b27669505a8 100644 --- a/service/datapipeline/snapshot/api_op_EvaluateExpression.go.snap +++ b/service/datapipeline/snapshot/api_op_EvaluateExpression.go.snap @@ -14,7 +14,6 @@ EvaluateExpression Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datapipeline/snapshot/api_op_GetPipelineDefinition.go.snap b/service/datapipeline/snapshot/api_op_GetPipelineDefinition.go.snap index 143cf1a9838..4c7206c7107 100644 --- a/service/datapipeline/snapshot/api_op_GetPipelineDefinition.go.snap +++ b/service/datapipeline/snapshot/api_op_GetPipelineDefinition.go.snap @@ -14,7 +14,6 @@ GetPipelineDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datapipeline/snapshot/api_op_ListPipelines.go.snap b/service/datapipeline/snapshot/api_op_ListPipelines.go.snap index 38a5a0d14ce..96b189f77c0 100644 --- a/service/datapipeline/snapshot/api_op_ListPipelines.go.snap +++ b/service/datapipeline/snapshot/api_op_ListPipelines.go.snap @@ -13,7 +13,6 @@ ListPipelines Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datapipeline/snapshot/api_op_PollForTask.go.snap b/service/datapipeline/snapshot/api_op_PollForTask.go.snap index ea80c8731ad..35aed766616 100644 --- a/service/datapipeline/snapshot/api_op_PollForTask.go.snap +++ b/service/datapipeline/snapshot/api_op_PollForTask.go.snap @@ -14,7 +14,6 @@ PollForTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datapipeline/snapshot/api_op_PutPipelineDefinition.go.snap b/service/datapipeline/snapshot/api_op_PutPipelineDefinition.go.snap index 865e1022489..2838e76b1c6 100644 --- a/service/datapipeline/snapshot/api_op_PutPipelineDefinition.go.snap +++ b/service/datapipeline/snapshot/api_op_PutPipelineDefinition.go.snap @@ -14,7 +14,6 @@ PutPipelineDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datapipeline/snapshot/api_op_QueryObjects.go.snap b/service/datapipeline/snapshot/api_op_QueryObjects.go.snap index d53bd9177b9..94a1a7568f6 100644 --- a/service/datapipeline/snapshot/api_op_QueryObjects.go.snap +++ b/service/datapipeline/snapshot/api_op_QueryObjects.go.snap @@ -14,7 +14,6 @@ QueryObjects Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datapipeline/snapshot/api_op_RemoveTags.go.snap b/service/datapipeline/snapshot/api_op_RemoveTags.go.snap index eb11fc26f76..e1cbd329051 100644 --- a/service/datapipeline/snapshot/api_op_RemoveTags.go.snap +++ b/service/datapipeline/snapshot/api_op_RemoveTags.go.snap @@ -14,7 +14,6 @@ RemoveTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datapipeline/snapshot/api_op_ReportTaskProgress.go.snap b/service/datapipeline/snapshot/api_op_ReportTaskProgress.go.snap index 74c05f52498..0bb278ffd4d 100644 --- a/service/datapipeline/snapshot/api_op_ReportTaskProgress.go.snap +++ b/service/datapipeline/snapshot/api_op_ReportTaskProgress.go.snap @@ -14,7 +14,6 @@ ReportTaskProgress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datapipeline/snapshot/api_op_ReportTaskRunnerHeartbeat.go.snap b/service/datapipeline/snapshot/api_op_ReportTaskRunnerHeartbeat.go.snap index f5d68a7e017..7367c7d4878 100644 --- a/service/datapipeline/snapshot/api_op_ReportTaskRunnerHeartbeat.go.snap +++ b/service/datapipeline/snapshot/api_op_ReportTaskRunnerHeartbeat.go.snap @@ -14,7 +14,6 @@ ReportTaskRunnerHeartbeat Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datapipeline/snapshot/api_op_SetStatus.go.snap b/service/datapipeline/snapshot/api_op_SetStatus.go.snap index 04d63cde3b3..acb8d72758c 100644 --- a/service/datapipeline/snapshot/api_op_SetStatus.go.snap +++ b/service/datapipeline/snapshot/api_op_SetStatus.go.snap @@ -14,7 +14,6 @@ SetStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datapipeline/snapshot/api_op_SetTaskStatus.go.snap b/service/datapipeline/snapshot/api_op_SetTaskStatus.go.snap index cc1bf5d4fb9..730cdecf7c8 100644 --- a/service/datapipeline/snapshot/api_op_SetTaskStatus.go.snap +++ b/service/datapipeline/snapshot/api_op_SetTaskStatus.go.snap @@ -14,7 +14,6 @@ SetTaskStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datapipeline/snapshot/api_op_ValidatePipelineDefinition.go.snap b/service/datapipeline/snapshot/api_op_ValidatePipelineDefinition.go.snap index 05724a844d2..83d435444b2 100644 --- a/service/datapipeline/snapshot/api_op_ValidatePipelineDefinition.go.snap +++ b/service/datapipeline/snapshot/api_op_ValidatePipelineDefinition.go.snap @@ -14,7 +14,6 @@ ValidatePipelineDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/api_client.go b/service/datasync/api_client.go index 6cf2d955f28..8641df1fa0f 100644 --- a/service/datasync/api_client.go +++ b/service/datasync/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/datasync/api_op_AddStorageSystem.go b/service/datasync/api_op_AddStorageSystem.go index 6894aa094b9..4e81c7de3df 100644 --- a/service/datasync/api_op_AddStorageSystem.go +++ b/service/datasync/api_op_AddStorageSystem.go @@ -158,9 +158,6 @@ func (c *Client) addOperationAddStorageSystemMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opAddStorageSystemMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_CancelTaskExecution.go b/service/datasync/api_op_CancelTaskExecution.go index 65c03b5216f..520c0cf68c3 100644 --- a/service/datasync/api_op_CancelTaskExecution.go +++ b/service/datasync/api_op_CancelTaskExecution.go @@ -116,9 +116,6 @@ func (c *Client) addOperationCancelTaskExecutionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelTaskExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_CreateAgent.go b/service/datasync/api_op_CreateAgent.go index 56e1c85f056..3925d4e605b 100644 --- a/service/datasync/api_op_CreateAgent.go +++ b/service/datasync/api_op_CreateAgent.go @@ -152,9 +152,6 @@ func (c *Client) addOperationCreateAgentMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAgentValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_CreateLocationAzureBlob.go b/service/datasync/api_op_CreateLocationAzureBlob.go index f4bce671933..86eac1c0da8 100644 --- a/service/datasync/api_op_CreateLocationAzureBlob.go +++ b/service/datasync/api_op_CreateLocationAzureBlob.go @@ -165,9 +165,6 @@ func (c *Client) addOperationCreateLocationAzureBlobMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLocationAzureBlobValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_CreateLocationEfs.go b/service/datasync/api_op_CreateLocationEfs.go index fe06f862f29..371082d18b0 100644 --- a/service/datasync/api_op_CreateLocationEfs.go +++ b/service/datasync/api_op_CreateLocationEfs.go @@ -168,9 +168,6 @@ func (c *Client) addOperationCreateLocationEfsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLocationEfsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_CreateLocationFsxLustre.go b/service/datasync/api_op_CreateLocationFsxLustre.go index 47c8b689771..6fed3dd033f 100644 --- a/service/datasync/api_op_CreateLocationFsxLustre.go +++ b/service/datasync/api_op_CreateLocationFsxLustre.go @@ -144,9 +144,6 @@ func (c *Client) addOperationCreateLocationFsxLustreMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLocationFsxLustreValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_CreateLocationFsxOntap.go b/service/datasync/api_op_CreateLocationFsxOntap.go index 73d557e313c..cd96e078739 100644 --- a/service/datasync/api_op_CreateLocationFsxOntap.go +++ b/service/datasync/api_op_CreateLocationFsxOntap.go @@ -158,9 +158,6 @@ func (c *Client) addOperationCreateLocationFsxOntapMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLocationFsxOntapValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_CreateLocationFsxOpenZfs.go b/service/datasync/api_op_CreateLocationFsxOpenZfs.go index 0a8a2c55441..d5278ea8368 100644 --- a/service/datasync/api_op_CreateLocationFsxOpenZfs.go +++ b/service/datasync/api_op_CreateLocationFsxOpenZfs.go @@ -142,9 +142,6 @@ func (c *Client) addOperationCreateLocationFsxOpenZfsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLocationFsxOpenZfsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_CreateLocationFsxWindows.go b/service/datasync/api_op_CreateLocationFsxWindows.go index 4c9604d076d..7f814ae256f 100644 --- a/service/datasync/api_op_CreateLocationFsxWindows.go +++ b/service/datasync/api_op_CreateLocationFsxWindows.go @@ -174,9 +174,6 @@ func (c *Client) addOperationCreateLocationFsxWindowsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLocationFsxWindowsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_CreateLocationHdfs.go b/service/datasync/api_op_CreateLocationHdfs.go index d356def27d9..db48de0031a 100644 --- a/service/datasync/api_op_CreateLocationHdfs.go +++ b/service/datasync/api_op_CreateLocationHdfs.go @@ -187,9 +187,6 @@ func (c *Client) addOperationCreateLocationHdfsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLocationHdfsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_CreateLocationNfs.go b/service/datasync/api_op_CreateLocationNfs.go index c67f2cd9530..9d4b1bed7e3 100644 --- a/service/datasync/api_op_CreateLocationNfs.go +++ b/service/datasync/api_op_CreateLocationNfs.go @@ -149,9 +149,6 @@ func (c *Client) addOperationCreateLocationNfsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLocationNfsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_CreateLocationObjectStorage.go b/service/datasync/api_op_CreateLocationObjectStorage.go index 7bf4a71f83b..7b97e2ea926 100644 --- a/service/datasync/api_op_CreateLocationObjectStorage.go +++ b/service/datasync/api_op_CreateLocationObjectStorage.go @@ -181,9 +181,6 @@ func (c *Client) addOperationCreateLocationObjectStorageMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLocationObjectStorageValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_CreateLocationS3.go b/service/datasync/api_op_CreateLocationS3.go index fdbe33ef765..7f2009a2d06 100644 --- a/service/datasync/api_op_CreateLocationS3.go +++ b/service/datasync/api_op_CreateLocationS3.go @@ -183,9 +183,6 @@ func (c *Client) addOperationCreateLocationS3Middlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLocationS3ValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_CreateLocationSmb.go b/service/datasync/api_op_CreateLocationSmb.go index b3ceb1b5225..952035a690a 100644 --- a/service/datasync/api_op_CreateLocationSmb.go +++ b/service/datasync/api_op_CreateLocationSmb.go @@ -218,9 +218,6 @@ func (c *Client) addOperationCreateLocationSmbMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLocationSmbValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_CreateTask.go b/service/datasync/api_op_CreateTask.go index c47379d5014..c09c04f8b98 100644 --- a/service/datasync/api_op_CreateTask.go +++ b/service/datasync/api_op_CreateTask.go @@ -212,9 +212,6 @@ func (c *Client) addOperationCreateTaskMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DeleteAgent.go b/service/datasync/api_op_DeleteAgent.go index 07de1a8ad7b..c9155c99549 100644 --- a/service/datasync/api_op_DeleteAgent.go +++ b/service/datasync/api_op_DeleteAgent.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteAgentMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAgentValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DeleteLocation.go b/service/datasync/api_op_DeleteLocation.go index 46c1e2118e6..758e7b715e2 100644 --- a/service/datasync/api_op_DeleteLocation.go +++ b/service/datasync/api_op_DeleteLocation.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteLocationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLocationValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DeleteTask.go b/service/datasync/api_op_DeleteTask.go index daeeeef4515..779bb04213d 100644 --- a/service/datasync/api_op_DeleteTask.go +++ b/service/datasync/api_op_DeleteTask.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteTaskMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DescribeAgent.go b/service/datasync/api_op_DescribeAgent.go index b68a7c47bbf..c700a92a443 100644 --- a/service/datasync/api_op_DescribeAgent.go +++ b/service/datasync/api_op_DescribeAgent.go @@ -152,9 +152,6 @@ func (c *Client) addOperationDescribeAgentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAgentValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DescribeDiscoveryJob.go b/service/datasync/api_op_DescribeDiscoveryJob.go index 3d0bf578531..d15b8351e55 100644 --- a/service/datasync/api_op_DescribeDiscoveryJob.go +++ b/service/datasync/api_op_DescribeDiscoveryJob.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeDiscoveryJobMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeDiscoveryJobMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DescribeLocationAzureBlob.go b/service/datasync/api_op_DescribeLocationAzureBlob.go index cab80bd48bd..512e95eb2d1 100644 --- a/service/datasync/api_op_DescribeLocationAzureBlob.go +++ b/service/datasync/api_op_DescribeLocationAzureBlob.go @@ -143,9 +143,6 @@ func (c *Client) addOperationDescribeLocationAzureBlobMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeLocationAzureBlobValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DescribeLocationEfs.go b/service/datasync/api_op_DescribeLocationEfs.go index 4b44fef5222..d44e1e579e4 100644 --- a/service/datasync/api_op_DescribeLocationEfs.go +++ b/service/datasync/api_op_DescribeLocationEfs.go @@ -149,9 +149,6 @@ func (c *Client) addOperationDescribeLocationEfsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeLocationEfsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DescribeLocationFsxLustre.go b/service/datasync/api_op_DescribeLocationFsxLustre.go index 1f0afee3007..badb5c3bced 100644 --- a/service/datasync/api_op_DescribeLocationFsxLustre.go +++ b/service/datasync/api_op_DescribeLocationFsxLustre.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeLocationFsxLustreMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeLocationFsxLustreValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DescribeLocationFsxOntap.go b/service/datasync/api_op_DescribeLocationFsxOntap.go index 9c46168c07b..2e52b8bf397 100644 --- a/service/datasync/api_op_DescribeLocationFsxOntap.go +++ b/service/datasync/api_op_DescribeLocationFsxOntap.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDescribeLocationFsxOntapMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeLocationFsxOntapValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DescribeLocationFsxOpenZfs.go b/service/datasync/api_op_DescribeLocationFsxOpenZfs.go index 5ba046041dd..1f58de44706 100644 --- a/service/datasync/api_op_DescribeLocationFsxOpenZfs.go +++ b/service/datasync/api_op_DescribeLocationFsxOpenZfs.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeLocationFsxOpenZfsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeLocationFsxOpenZfsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DescribeLocationFsxWindows.go b/service/datasync/api_op_DescribeLocationFsxWindows.go index 63e3eb042b0..fce2c2b5322 100644 --- a/service/datasync/api_op_DescribeLocationFsxWindows.go +++ b/service/datasync/api_op_DescribeLocationFsxWindows.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDescribeLocationFsxWindowsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeLocationFsxWindowsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DescribeLocationHdfs.go b/service/datasync/api_op_DescribeLocationHdfs.go index 54b795473c2..6f5389d21e5 100644 --- a/service/datasync/api_op_DescribeLocationHdfs.go +++ b/service/datasync/api_op_DescribeLocationHdfs.go @@ -153,9 +153,6 @@ func (c *Client) addOperationDescribeLocationHdfsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeLocationHdfsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DescribeLocationNfs.go b/service/datasync/api_op_DescribeLocationNfs.go index edf69737d09..8854a6109e3 100644 --- a/service/datasync/api_op_DescribeLocationNfs.go +++ b/service/datasync/api_op_DescribeLocationNfs.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeLocationNfsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeLocationNfsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DescribeLocationObjectStorage.go b/service/datasync/api_op_DescribeLocationObjectStorage.go index 4f165b899a5..39933713efa 100644 --- a/service/datasync/api_op_DescribeLocationObjectStorage.go +++ b/service/datasync/api_op_DescribeLocationObjectStorage.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeLocationObjectStorageMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeLocationObjectStorageValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DescribeLocationS3.go b/service/datasync/api_op_DescribeLocationS3.go index 394f72ec0e1..8fe7009227d 100644 --- a/service/datasync/api_op_DescribeLocationS3.go +++ b/service/datasync/api_op_DescribeLocationS3.go @@ -147,9 +147,6 @@ func (c *Client) addOperationDescribeLocationS3Middlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeLocationS3ValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DescribeLocationSmb.go b/service/datasync/api_op_DescribeLocationSmb.go index 5de16e9acf4..91e472eb674 100644 --- a/service/datasync/api_op_DescribeLocationSmb.go +++ b/service/datasync/api_op_DescribeLocationSmb.go @@ -150,9 +150,6 @@ func (c *Client) addOperationDescribeLocationSmbMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeLocationSmbValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DescribeStorageSystem.go b/service/datasync/api_op_DescribeStorageSystem.go index 209049b4685..9fb19096fb5 100644 --- a/service/datasync/api_op_DescribeStorageSystem.go +++ b/service/datasync/api_op_DescribeStorageSystem.go @@ -154,9 +154,6 @@ func (c *Client) addOperationDescribeStorageSystemMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeStorageSystemMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DescribeStorageSystemResourceMetrics.go b/service/datasync/api_op_DescribeStorageSystemResourceMetrics.go index a3df179b2f0..4d9b2603833 100644 --- a/service/datasync/api_op_DescribeStorageSystemResourceMetrics.go +++ b/service/datasync/api_op_DescribeStorageSystemResourceMetrics.go @@ -149,9 +149,6 @@ func (c *Client) addOperationDescribeStorageSystemResourceMetricsMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeStorageSystemResourceMetricsMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DescribeStorageSystemResources.go b/service/datasync/api_op_DescribeStorageSystemResources.go index 27e3010265e..4c5373c437b 100644 --- a/service/datasync/api_op_DescribeStorageSystemResources.go +++ b/service/datasync/api_op_DescribeStorageSystemResources.go @@ -146,9 +146,6 @@ func (c *Client) addOperationDescribeStorageSystemResourcesMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeStorageSystemResourcesMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DescribeTask.go b/service/datasync/api_op_DescribeTask.go index bcbf1ccf490..f382edfc783 100644 --- a/service/datasync/api_op_DescribeTask.go +++ b/service/datasync/api_op_DescribeTask.go @@ -213,9 +213,6 @@ func (c *Client) addOperationDescribeTaskMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_DescribeTaskExecution.go b/service/datasync/api_op_DescribeTaskExecution.go index 0a4143b219b..765f8064010 100644 --- a/service/datasync/api_op_DescribeTaskExecution.go +++ b/service/datasync/api_op_DescribeTaskExecution.go @@ -302,9 +302,6 @@ func (c *Client) addOperationDescribeTaskExecutionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTaskExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_GenerateRecommendations.go b/service/datasync/api_op_GenerateRecommendations.go index 619c0a779f3..d2db7691bfb 100644 --- a/service/datasync/api_op_GenerateRecommendations.go +++ b/service/datasync/api_op_GenerateRecommendations.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGenerateRecommendationsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGenerateRecommendationsMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_ListAgents.go b/service/datasync/api_op_ListAgents.go index 3a85cb3e206..ccd1d143cf6 100644 --- a/service/datasync/api_op_ListAgents.go +++ b/service/datasync/api_op_ListAgents.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListAgentsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAgents(options.Region), middleware.Before); err != nil { return err } diff --git a/service/datasync/api_op_ListDiscoveryJobs.go b/service/datasync/api_op_ListDiscoveryJobs.go index da86eb0cbbe..3233c029bf3 100644 --- a/service/datasync/api_op_ListDiscoveryJobs.go +++ b/service/datasync/api_op_ListDiscoveryJobs.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListDiscoveryJobsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListDiscoveryJobsMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_ListLocations.go b/service/datasync/api_op_ListLocations.go index c1473568ecd..7970a859473 100644 --- a/service/datasync/api_op_ListLocations.go +++ b/service/datasync/api_op_ListLocations.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListLocationsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListLocationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_ListStorageSystems.go b/service/datasync/api_op_ListStorageSystems.go index 94907765d61..e468e8e8e2d 100644 --- a/service/datasync/api_op_ListStorageSystems.go +++ b/service/datasync/api_op_ListStorageSystems.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListStorageSystemsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListStorageSystemsMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_ListTagsForResource.go b/service/datasync/api_op_ListTagsForResource.go index c9aff284a15..ac699ab96a3 100644 --- a/service/datasync/api_op_ListTagsForResource.go +++ b/service/datasync/api_op_ListTagsForResource.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_ListTaskExecutions.go b/service/datasync/api_op_ListTaskExecutions.go index a2c64f9b27d..96f5e7aafa6 100644 --- a/service/datasync/api_op_ListTaskExecutions.go +++ b/service/datasync/api_op_ListTaskExecutions.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListTaskExecutionsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTaskExecutions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/datasync/api_op_ListTasks.go b/service/datasync/api_op_ListTasks.go index a647b91db47..c77dc9d15a5 100644 --- a/service/datasync/api_op_ListTasks.go +++ b/service/datasync/api_op_ListTasks.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListTasksMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTasksValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_RemoveStorageSystem.go b/service/datasync/api_op_RemoveStorageSystem.go index d4ce0637c30..3455c427a18 100644 --- a/service/datasync/api_op_RemoveStorageSystem.go +++ b/service/datasync/api_op_RemoveStorageSystem.go @@ -109,9 +109,6 @@ func (c *Client) addOperationRemoveStorageSystemMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opRemoveStorageSystemMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_StartDiscoveryJob.go b/service/datasync/api_op_StartDiscoveryJob.go index d775c28e468..6099cd810dd 100644 --- a/service/datasync/api_op_StartDiscoveryJob.go +++ b/service/datasync/api_op_StartDiscoveryJob.go @@ -137,9 +137,6 @@ func (c *Client) addOperationStartDiscoveryJobMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opStartDiscoveryJobMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_StartTaskExecution.go b/service/datasync/api_op_StartTaskExecution.go index adef48e8108..b27857692d0 100644 --- a/service/datasync/api_op_StartTaskExecution.go +++ b/service/datasync/api_op_StartTaskExecution.go @@ -183,9 +183,6 @@ func (c *Client) addOperationStartTaskExecutionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartTaskExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_StopDiscoveryJob.go b/service/datasync/api_op_StopDiscoveryJob.go index 3aa3c9328f5..22f3b3888c6 100644 --- a/service/datasync/api_op_StopDiscoveryJob.go +++ b/service/datasync/api_op_StopDiscoveryJob.go @@ -115,9 +115,6 @@ func (c *Client) addOperationStopDiscoveryJobMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opStopDiscoveryJobMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_TagResource.go b/service/datasync/api_op_TagResource.go index 38e4f4756c2..dd7de06d5f6 100644 --- a/service/datasync/api_op_TagResource.go +++ b/service/datasync/api_op_TagResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_UntagResource.go b/service/datasync/api_op_UntagResource.go index 5715a37f88e..32fb9e717d9 100644 --- a/service/datasync/api_op_UntagResource.go +++ b/service/datasync/api_op_UntagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_UpdateAgent.go b/service/datasync/api_op_UpdateAgent.go index 0189ff62c80..0611b064b6b 100644 --- a/service/datasync/api_op_UpdateAgent.go +++ b/service/datasync/api_op_UpdateAgent.go @@ -111,9 +111,6 @@ func (c *Client) addOperationUpdateAgentMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAgentValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_UpdateDiscoveryJob.go b/service/datasync/api_op_UpdateDiscoveryJob.go index d6847db1b32..cd314f8b85a 100644 --- a/service/datasync/api_op_UpdateDiscoveryJob.go +++ b/service/datasync/api_op_UpdateDiscoveryJob.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUpdateDiscoveryJobMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateDiscoveryJobMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_UpdateLocationAzureBlob.go b/service/datasync/api_op_UpdateLocationAzureBlob.go index 2c30c4de52a..805f09045a6 100644 --- a/service/datasync/api_op_UpdateLocationAzureBlob.go +++ b/service/datasync/api_op_UpdateLocationAzureBlob.go @@ -149,9 +149,6 @@ func (c *Client) addOperationUpdateLocationAzureBlobMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLocationAzureBlobValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_UpdateLocationEfs.go b/service/datasync/api_op_UpdateLocationEfs.go index dabf4122662..dd0d75815bb 100644 --- a/service/datasync/api_op_UpdateLocationEfs.go +++ b/service/datasync/api_op_UpdateLocationEfs.go @@ -148,9 +148,6 @@ func (c *Client) addOperationUpdateLocationEfsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLocationEfsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_UpdateLocationFsxLustre.go b/service/datasync/api_op_UpdateLocationFsxLustre.go index bdc5f46730d..064d0ea9c8a 100644 --- a/service/datasync/api_op_UpdateLocationFsxLustre.go +++ b/service/datasync/api_op_UpdateLocationFsxLustre.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateLocationFsxLustreMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLocationFsxLustreValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_UpdateLocationFsxOntap.go b/service/datasync/api_op_UpdateLocationFsxOntap.go index 6f44831eb6f..27cbece24de 100644 --- a/service/datasync/api_op_UpdateLocationFsxOntap.go +++ b/service/datasync/api_op_UpdateLocationFsxOntap.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateLocationFsxOntapMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLocationFsxOntapValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_UpdateLocationFsxOpenZfs.go b/service/datasync/api_op_UpdateLocationFsxOpenZfs.go index 7aef52d258f..f96b6ce4be0 100644 --- a/service/datasync/api_op_UpdateLocationFsxOpenZfs.go +++ b/service/datasync/api_op_UpdateLocationFsxOpenZfs.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateLocationFsxOpenZfsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLocationFsxOpenZfsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_UpdateLocationFsxWindows.go b/service/datasync/api_op_UpdateLocationFsxWindows.go index 30b1964f174..981bfc35483 100644 --- a/service/datasync/api_op_UpdateLocationFsxWindows.go +++ b/service/datasync/api_op_UpdateLocationFsxWindows.go @@ -139,9 +139,6 @@ func (c *Client) addOperationUpdateLocationFsxWindowsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLocationFsxWindowsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_UpdateLocationHdfs.go b/service/datasync/api_op_UpdateLocationHdfs.go index 66b1b71c70d..b56763bdbb2 100644 --- a/service/datasync/api_op_UpdateLocationHdfs.go +++ b/service/datasync/api_op_UpdateLocationHdfs.go @@ -164,9 +164,6 @@ func (c *Client) addOperationUpdateLocationHdfsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLocationHdfsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_UpdateLocationNfs.go b/service/datasync/api_op_UpdateLocationNfs.go index 52430f7733f..c6c08d4abbe 100644 --- a/service/datasync/api_op_UpdateLocationNfs.go +++ b/service/datasync/api_op_UpdateLocationNfs.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateLocationNfsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLocationNfsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_UpdateLocationObjectStorage.go b/service/datasync/api_op_UpdateLocationObjectStorage.go index f56c8d57e9d..48eace52883 100644 --- a/service/datasync/api_op_UpdateLocationObjectStorage.go +++ b/service/datasync/api_op_UpdateLocationObjectStorage.go @@ -162,9 +162,6 @@ func (c *Client) addOperationUpdateLocationObjectStorageMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLocationObjectStorageValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_UpdateLocationS3.go b/service/datasync/api_op_UpdateLocationS3.go index d19b3d0dc05..48728a88c34 100644 --- a/service/datasync/api_op_UpdateLocationS3.go +++ b/service/datasync/api_op_UpdateLocationS3.go @@ -153,9 +153,6 @@ func (c *Client) addOperationUpdateLocationS3Middlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLocationS3ValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_UpdateLocationSmb.go b/service/datasync/api_op_UpdateLocationSmb.go index 553eef49478..fefddc033f5 100644 --- a/service/datasync/api_op_UpdateLocationSmb.go +++ b/service/datasync/api_op_UpdateLocationSmb.go @@ -195,9 +195,6 @@ func (c *Client) addOperationUpdateLocationSmbMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLocationSmbValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_UpdateStorageSystem.go b/service/datasync/api_op_UpdateStorageSystem.go index 24524c60de8..28852c73d51 100644 --- a/service/datasync/api_op_UpdateStorageSystem.go +++ b/service/datasync/api_op_UpdateStorageSystem.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateStorageSystemMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateStorageSystemMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_UpdateTask.go b/service/datasync/api_op_UpdateTask.go index 41b2f3bc258..db76f62a7c0 100644 --- a/service/datasync/api_op_UpdateTask.go +++ b/service/datasync/api_op_UpdateTask.go @@ -186,9 +186,6 @@ func (c *Client) addOperationUpdateTaskMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/api_op_UpdateTaskExecution.go b/service/datasync/api_op_UpdateTaskExecution.go index 6fa67c350c0..74eb9f7919c 100644 --- a/service/datasync/api_op_UpdateTaskExecution.go +++ b/service/datasync/api_op_UpdateTaskExecution.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateTaskExecutionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTaskExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/datasync/snapshot/api_op_AddStorageSystem.go.snap b/service/datasync/snapshot/api_op_AddStorageSystem.go.snap index 625e909a9aa..34b41793e0d 100644 --- a/service/datasync/snapshot/api_op_AddStorageSystem.go.snap +++ b/service/datasync/snapshot/api_op_AddStorageSystem.go.snap @@ -15,7 +15,6 @@ AddStorageSystem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_CancelTaskExecution.go.snap b/service/datasync/snapshot/api_op_CancelTaskExecution.go.snap index 5fc72af5b58..359854b441b 100644 --- a/service/datasync/snapshot/api_op_CancelTaskExecution.go.snap +++ b/service/datasync/snapshot/api_op_CancelTaskExecution.go.snap @@ -14,7 +14,6 @@ CancelTaskExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_CreateAgent.go.snap b/service/datasync/snapshot/api_op_CreateAgent.go.snap index ae004934cd8..e49a5a62fbd 100644 --- a/service/datasync/snapshot/api_op_CreateAgent.go.snap +++ b/service/datasync/snapshot/api_op_CreateAgent.go.snap @@ -14,7 +14,6 @@ CreateAgent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_CreateLocationAzureBlob.go.snap b/service/datasync/snapshot/api_op_CreateLocationAzureBlob.go.snap index 16439258379..d6d7324c1d1 100644 --- a/service/datasync/snapshot/api_op_CreateLocationAzureBlob.go.snap +++ b/service/datasync/snapshot/api_op_CreateLocationAzureBlob.go.snap @@ -14,7 +14,6 @@ CreateLocationAzureBlob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_CreateLocationEfs.go.snap b/service/datasync/snapshot/api_op_CreateLocationEfs.go.snap index 2df86c76e38..af064b26d95 100644 --- a/service/datasync/snapshot/api_op_CreateLocationEfs.go.snap +++ b/service/datasync/snapshot/api_op_CreateLocationEfs.go.snap @@ -14,7 +14,6 @@ CreateLocationEfs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_CreateLocationFsxLustre.go.snap b/service/datasync/snapshot/api_op_CreateLocationFsxLustre.go.snap index 54be9d6378e..abe09105839 100644 --- a/service/datasync/snapshot/api_op_CreateLocationFsxLustre.go.snap +++ b/service/datasync/snapshot/api_op_CreateLocationFsxLustre.go.snap @@ -14,7 +14,6 @@ CreateLocationFsxLustre Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_CreateLocationFsxOntap.go.snap b/service/datasync/snapshot/api_op_CreateLocationFsxOntap.go.snap index eedca3dc220..6eadcde448a 100644 --- a/service/datasync/snapshot/api_op_CreateLocationFsxOntap.go.snap +++ b/service/datasync/snapshot/api_op_CreateLocationFsxOntap.go.snap @@ -14,7 +14,6 @@ CreateLocationFsxOntap Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_CreateLocationFsxOpenZfs.go.snap b/service/datasync/snapshot/api_op_CreateLocationFsxOpenZfs.go.snap index 23042bc6d9b..c5674511576 100644 --- a/service/datasync/snapshot/api_op_CreateLocationFsxOpenZfs.go.snap +++ b/service/datasync/snapshot/api_op_CreateLocationFsxOpenZfs.go.snap @@ -14,7 +14,6 @@ CreateLocationFsxOpenZfs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_CreateLocationFsxWindows.go.snap b/service/datasync/snapshot/api_op_CreateLocationFsxWindows.go.snap index 240396188ca..32d471a3847 100644 --- a/service/datasync/snapshot/api_op_CreateLocationFsxWindows.go.snap +++ b/service/datasync/snapshot/api_op_CreateLocationFsxWindows.go.snap @@ -14,7 +14,6 @@ CreateLocationFsxWindows Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_CreateLocationHdfs.go.snap b/service/datasync/snapshot/api_op_CreateLocationHdfs.go.snap index 690646bbce2..4d4a944b777 100644 --- a/service/datasync/snapshot/api_op_CreateLocationHdfs.go.snap +++ b/service/datasync/snapshot/api_op_CreateLocationHdfs.go.snap @@ -14,7 +14,6 @@ CreateLocationHdfs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_CreateLocationNfs.go.snap b/service/datasync/snapshot/api_op_CreateLocationNfs.go.snap index f05c3ac8c13..c30ce858004 100644 --- a/service/datasync/snapshot/api_op_CreateLocationNfs.go.snap +++ b/service/datasync/snapshot/api_op_CreateLocationNfs.go.snap @@ -14,7 +14,6 @@ CreateLocationNfs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_CreateLocationObjectStorage.go.snap b/service/datasync/snapshot/api_op_CreateLocationObjectStorage.go.snap index ee957f6a8e9..ab7eac7f1e7 100644 --- a/service/datasync/snapshot/api_op_CreateLocationObjectStorage.go.snap +++ b/service/datasync/snapshot/api_op_CreateLocationObjectStorage.go.snap @@ -14,7 +14,6 @@ CreateLocationObjectStorage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_CreateLocationS3.go.snap b/service/datasync/snapshot/api_op_CreateLocationS3.go.snap index 13607ab4bc4..d5c4c157738 100644 --- a/service/datasync/snapshot/api_op_CreateLocationS3.go.snap +++ b/service/datasync/snapshot/api_op_CreateLocationS3.go.snap @@ -14,7 +14,6 @@ CreateLocationS3 Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_CreateLocationSmb.go.snap b/service/datasync/snapshot/api_op_CreateLocationSmb.go.snap index 340efafa2bf..7c45f4fd94d 100644 --- a/service/datasync/snapshot/api_op_CreateLocationSmb.go.snap +++ b/service/datasync/snapshot/api_op_CreateLocationSmb.go.snap @@ -14,7 +14,6 @@ CreateLocationSmb Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_CreateTask.go.snap b/service/datasync/snapshot/api_op_CreateTask.go.snap index 98033720daf..086752d60a9 100644 --- a/service/datasync/snapshot/api_op_CreateTask.go.snap +++ b/service/datasync/snapshot/api_op_CreateTask.go.snap @@ -14,7 +14,6 @@ CreateTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_DeleteAgent.go.snap b/service/datasync/snapshot/api_op_DeleteAgent.go.snap index ee30f6c9988..1c12e47cfa9 100644 --- a/service/datasync/snapshot/api_op_DeleteAgent.go.snap +++ b/service/datasync/snapshot/api_op_DeleteAgent.go.snap @@ -14,7 +14,6 @@ DeleteAgent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_DeleteLocation.go.snap b/service/datasync/snapshot/api_op_DeleteLocation.go.snap index 905f18d0f41..365e209c963 100644 --- a/service/datasync/snapshot/api_op_DeleteLocation.go.snap +++ b/service/datasync/snapshot/api_op_DeleteLocation.go.snap @@ -14,7 +14,6 @@ DeleteLocation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_DeleteTask.go.snap b/service/datasync/snapshot/api_op_DeleteTask.go.snap index b094d117d4d..0cdcf93d39e 100644 --- a/service/datasync/snapshot/api_op_DeleteTask.go.snap +++ b/service/datasync/snapshot/api_op_DeleteTask.go.snap @@ -14,7 +14,6 @@ DeleteTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_DescribeAgent.go.snap b/service/datasync/snapshot/api_op_DescribeAgent.go.snap index 9787d2a8112..5bf7547c078 100644 --- a/service/datasync/snapshot/api_op_DescribeAgent.go.snap +++ b/service/datasync/snapshot/api_op_DescribeAgent.go.snap @@ -14,7 +14,6 @@ DescribeAgent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_DescribeDiscoveryJob.go.snap b/service/datasync/snapshot/api_op_DescribeDiscoveryJob.go.snap index af5fb1b9365..aad665b43ac 100644 --- a/service/datasync/snapshot/api_op_DescribeDiscoveryJob.go.snap +++ b/service/datasync/snapshot/api_op_DescribeDiscoveryJob.go.snap @@ -14,7 +14,6 @@ DescribeDiscoveryJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_DescribeLocationAzureBlob.go.snap b/service/datasync/snapshot/api_op_DescribeLocationAzureBlob.go.snap index c1570c291d6..e8152f59bee 100644 --- a/service/datasync/snapshot/api_op_DescribeLocationAzureBlob.go.snap +++ b/service/datasync/snapshot/api_op_DescribeLocationAzureBlob.go.snap @@ -14,7 +14,6 @@ DescribeLocationAzureBlob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_DescribeLocationEfs.go.snap b/service/datasync/snapshot/api_op_DescribeLocationEfs.go.snap index fce999c11de..31ccc3d9e21 100644 --- a/service/datasync/snapshot/api_op_DescribeLocationEfs.go.snap +++ b/service/datasync/snapshot/api_op_DescribeLocationEfs.go.snap @@ -14,7 +14,6 @@ DescribeLocationEfs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_DescribeLocationFsxLustre.go.snap b/service/datasync/snapshot/api_op_DescribeLocationFsxLustre.go.snap index 46f5a664f4d..4bf1b176d60 100644 --- a/service/datasync/snapshot/api_op_DescribeLocationFsxLustre.go.snap +++ b/service/datasync/snapshot/api_op_DescribeLocationFsxLustre.go.snap @@ -14,7 +14,6 @@ DescribeLocationFsxLustre Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_DescribeLocationFsxOntap.go.snap b/service/datasync/snapshot/api_op_DescribeLocationFsxOntap.go.snap index 4353ddbda49..2ff8a6f91da 100644 --- a/service/datasync/snapshot/api_op_DescribeLocationFsxOntap.go.snap +++ b/service/datasync/snapshot/api_op_DescribeLocationFsxOntap.go.snap @@ -14,7 +14,6 @@ DescribeLocationFsxOntap Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_DescribeLocationFsxOpenZfs.go.snap b/service/datasync/snapshot/api_op_DescribeLocationFsxOpenZfs.go.snap index 0516f583d2e..90d65ba7b9d 100644 --- a/service/datasync/snapshot/api_op_DescribeLocationFsxOpenZfs.go.snap +++ b/service/datasync/snapshot/api_op_DescribeLocationFsxOpenZfs.go.snap @@ -14,7 +14,6 @@ DescribeLocationFsxOpenZfs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_DescribeLocationFsxWindows.go.snap b/service/datasync/snapshot/api_op_DescribeLocationFsxWindows.go.snap index dcf1f4acc99..96c9252ba1d 100644 --- a/service/datasync/snapshot/api_op_DescribeLocationFsxWindows.go.snap +++ b/service/datasync/snapshot/api_op_DescribeLocationFsxWindows.go.snap @@ -14,7 +14,6 @@ DescribeLocationFsxWindows Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_DescribeLocationHdfs.go.snap b/service/datasync/snapshot/api_op_DescribeLocationHdfs.go.snap index 3a6a882715a..e488710d92b 100644 --- a/service/datasync/snapshot/api_op_DescribeLocationHdfs.go.snap +++ b/service/datasync/snapshot/api_op_DescribeLocationHdfs.go.snap @@ -14,7 +14,6 @@ DescribeLocationHdfs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_DescribeLocationNfs.go.snap b/service/datasync/snapshot/api_op_DescribeLocationNfs.go.snap index 1b64912b468..fd029481c68 100644 --- a/service/datasync/snapshot/api_op_DescribeLocationNfs.go.snap +++ b/service/datasync/snapshot/api_op_DescribeLocationNfs.go.snap @@ -14,7 +14,6 @@ DescribeLocationNfs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_DescribeLocationObjectStorage.go.snap b/service/datasync/snapshot/api_op_DescribeLocationObjectStorage.go.snap index 3556a4619f7..ba02936aa95 100644 --- a/service/datasync/snapshot/api_op_DescribeLocationObjectStorage.go.snap +++ b/service/datasync/snapshot/api_op_DescribeLocationObjectStorage.go.snap @@ -14,7 +14,6 @@ DescribeLocationObjectStorage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_DescribeLocationS3.go.snap b/service/datasync/snapshot/api_op_DescribeLocationS3.go.snap index 7f26b35b4e9..76e70c2136f 100644 --- a/service/datasync/snapshot/api_op_DescribeLocationS3.go.snap +++ b/service/datasync/snapshot/api_op_DescribeLocationS3.go.snap @@ -14,7 +14,6 @@ DescribeLocationS3 Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_DescribeLocationSmb.go.snap b/service/datasync/snapshot/api_op_DescribeLocationSmb.go.snap index 2851c3e876e..e7d2027548d 100644 --- a/service/datasync/snapshot/api_op_DescribeLocationSmb.go.snap +++ b/service/datasync/snapshot/api_op_DescribeLocationSmb.go.snap @@ -14,7 +14,6 @@ DescribeLocationSmb Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_DescribeStorageSystem.go.snap b/service/datasync/snapshot/api_op_DescribeStorageSystem.go.snap index 2324babdf4c..574dc329d75 100644 --- a/service/datasync/snapshot/api_op_DescribeStorageSystem.go.snap +++ b/service/datasync/snapshot/api_op_DescribeStorageSystem.go.snap @@ -14,7 +14,6 @@ DescribeStorageSystem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_DescribeStorageSystemResourceMetrics.go.snap b/service/datasync/snapshot/api_op_DescribeStorageSystemResourceMetrics.go.snap index e1d699ea2fd..8b7ff9e94c9 100644 --- a/service/datasync/snapshot/api_op_DescribeStorageSystemResourceMetrics.go.snap +++ b/service/datasync/snapshot/api_op_DescribeStorageSystemResourceMetrics.go.snap @@ -14,7 +14,6 @@ DescribeStorageSystemResourceMetrics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_DescribeStorageSystemResources.go.snap b/service/datasync/snapshot/api_op_DescribeStorageSystemResources.go.snap index c3b55642466..e29d66ef2a2 100644 --- a/service/datasync/snapshot/api_op_DescribeStorageSystemResources.go.snap +++ b/service/datasync/snapshot/api_op_DescribeStorageSystemResources.go.snap @@ -14,7 +14,6 @@ DescribeStorageSystemResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_DescribeTask.go.snap b/service/datasync/snapshot/api_op_DescribeTask.go.snap index ee4b7e410c9..0123f40cc82 100644 --- a/service/datasync/snapshot/api_op_DescribeTask.go.snap +++ b/service/datasync/snapshot/api_op_DescribeTask.go.snap @@ -14,7 +14,6 @@ DescribeTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_DescribeTaskExecution.go.snap b/service/datasync/snapshot/api_op_DescribeTaskExecution.go.snap index d7423ab137f..30de899fa89 100644 --- a/service/datasync/snapshot/api_op_DescribeTaskExecution.go.snap +++ b/service/datasync/snapshot/api_op_DescribeTaskExecution.go.snap @@ -14,7 +14,6 @@ DescribeTaskExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_GenerateRecommendations.go.snap b/service/datasync/snapshot/api_op_GenerateRecommendations.go.snap index 264a5d19bd6..c615d267e77 100644 --- a/service/datasync/snapshot/api_op_GenerateRecommendations.go.snap +++ b/service/datasync/snapshot/api_op_GenerateRecommendations.go.snap @@ -14,7 +14,6 @@ GenerateRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_ListAgents.go.snap b/service/datasync/snapshot/api_op_ListAgents.go.snap index ef1de45827e..9600644cd9e 100644 --- a/service/datasync/snapshot/api_op_ListAgents.go.snap +++ b/service/datasync/snapshot/api_op_ListAgents.go.snap @@ -13,7 +13,6 @@ ListAgents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_ListDiscoveryJobs.go.snap b/service/datasync/snapshot/api_op_ListDiscoveryJobs.go.snap index 59e493a34d9..50736ac1030 100644 --- a/service/datasync/snapshot/api_op_ListDiscoveryJobs.go.snap +++ b/service/datasync/snapshot/api_op_ListDiscoveryJobs.go.snap @@ -13,7 +13,6 @@ ListDiscoveryJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_ListLocations.go.snap b/service/datasync/snapshot/api_op_ListLocations.go.snap index 0400a76e144..9473836cb11 100644 --- a/service/datasync/snapshot/api_op_ListLocations.go.snap +++ b/service/datasync/snapshot/api_op_ListLocations.go.snap @@ -14,7 +14,6 @@ ListLocations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_ListStorageSystems.go.snap b/service/datasync/snapshot/api_op_ListStorageSystems.go.snap index 94e8018d661..c638e0be9c9 100644 --- a/service/datasync/snapshot/api_op_ListStorageSystems.go.snap +++ b/service/datasync/snapshot/api_op_ListStorageSystems.go.snap @@ -13,7 +13,6 @@ ListStorageSystems Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_ListTagsForResource.go.snap b/service/datasync/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/datasync/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/datasync/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_ListTaskExecutions.go.snap b/service/datasync/snapshot/api_op_ListTaskExecutions.go.snap index 76c57cdbc36..dde1e64fc7c 100644 --- a/service/datasync/snapshot/api_op_ListTaskExecutions.go.snap +++ b/service/datasync/snapshot/api_op_ListTaskExecutions.go.snap @@ -13,7 +13,6 @@ ListTaskExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_ListTasks.go.snap b/service/datasync/snapshot/api_op_ListTasks.go.snap index 3cacd1e86c1..42b3970b286 100644 --- a/service/datasync/snapshot/api_op_ListTasks.go.snap +++ b/service/datasync/snapshot/api_op_ListTasks.go.snap @@ -14,7 +14,6 @@ ListTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_RemoveStorageSystem.go.snap b/service/datasync/snapshot/api_op_RemoveStorageSystem.go.snap index db1523e4ec7..510fb229dfc 100644 --- a/service/datasync/snapshot/api_op_RemoveStorageSystem.go.snap +++ b/service/datasync/snapshot/api_op_RemoveStorageSystem.go.snap @@ -14,7 +14,6 @@ RemoveStorageSystem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_StartDiscoveryJob.go.snap b/service/datasync/snapshot/api_op_StartDiscoveryJob.go.snap index d038c03cca1..f7a1dd21d28 100644 --- a/service/datasync/snapshot/api_op_StartDiscoveryJob.go.snap +++ b/service/datasync/snapshot/api_op_StartDiscoveryJob.go.snap @@ -15,7 +15,6 @@ StartDiscoveryJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_StartTaskExecution.go.snap b/service/datasync/snapshot/api_op_StartTaskExecution.go.snap index 5be99e3b6dd..5ef63edb854 100644 --- a/service/datasync/snapshot/api_op_StartTaskExecution.go.snap +++ b/service/datasync/snapshot/api_op_StartTaskExecution.go.snap @@ -14,7 +14,6 @@ StartTaskExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_StopDiscoveryJob.go.snap b/service/datasync/snapshot/api_op_StopDiscoveryJob.go.snap index aa3ef97ff30..4b5187d9b72 100644 --- a/service/datasync/snapshot/api_op_StopDiscoveryJob.go.snap +++ b/service/datasync/snapshot/api_op_StopDiscoveryJob.go.snap @@ -14,7 +14,6 @@ StopDiscoveryJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_TagResource.go.snap b/service/datasync/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/datasync/snapshot/api_op_TagResource.go.snap +++ b/service/datasync/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_UntagResource.go.snap b/service/datasync/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/datasync/snapshot/api_op_UntagResource.go.snap +++ b/service/datasync/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_UpdateAgent.go.snap b/service/datasync/snapshot/api_op_UpdateAgent.go.snap index 3edc2d4ef12..78c7ae68e9d 100644 --- a/service/datasync/snapshot/api_op_UpdateAgent.go.snap +++ b/service/datasync/snapshot/api_op_UpdateAgent.go.snap @@ -14,7 +14,6 @@ UpdateAgent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_UpdateDiscoveryJob.go.snap b/service/datasync/snapshot/api_op_UpdateDiscoveryJob.go.snap index ee3202af90e..c8faf63ae7c 100644 --- a/service/datasync/snapshot/api_op_UpdateDiscoveryJob.go.snap +++ b/service/datasync/snapshot/api_op_UpdateDiscoveryJob.go.snap @@ -14,7 +14,6 @@ UpdateDiscoveryJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_UpdateLocationAzureBlob.go.snap b/service/datasync/snapshot/api_op_UpdateLocationAzureBlob.go.snap index 06b283c0878..ce46eee57b5 100644 --- a/service/datasync/snapshot/api_op_UpdateLocationAzureBlob.go.snap +++ b/service/datasync/snapshot/api_op_UpdateLocationAzureBlob.go.snap @@ -14,7 +14,6 @@ UpdateLocationAzureBlob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_UpdateLocationEfs.go.snap b/service/datasync/snapshot/api_op_UpdateLocationEfs.go.snap index fac816b82ba..7596bcfc61e 100644 --- a/service/datasync/snapshot/api_op_UpdateLocationEfs.go.snap +++ b/service/datasync/snapshot/api_op_UpdateLocationEfs.go.snap @@ -14,7 +14,6 @@ UpdateLocationEfs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_UpdateLocationFsxLustre.go.snap b/service/datasync/snapshot/api_op_UpdateLocationFsxLustre.go.snap index 51b0937cb3e..8f746772d3d 100644 --- a/service/datasync/snapshot/api_op_UpdateLocationFsxLustre.go.snap +++ b/service/datasync/snapshot/api_op_UpdateLocationFsxLustre.go.snap @@ -14,7 +14,6 @@ UpdateLocationFsxLustre Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_UpdateLocationFsxOntap.go.snap b/service/datasync/snapshot/api_op_UpdateLocationFsxOntap.go.snap index d892cf6ca5e..bc7a53d5bd7 100644 --- a/service/datasync/snapshot/api_op_UpdateLocationFsxOntap.go.snap +++ b/service/datasync/snapshot/api_op_UpdateLocationFsxOntap.go.snap @@ -14,7 +14,6 @@ UpdateLocationFsxOntap Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_UpdateLocationFsxOpenZfs.go.snap b/service/datasync/snapshot/api_op_UpdateLocationFsxOpenZfs.go.snap index 27dc0a16640..e0ac2f06a00 100644 --- a/service/datasync/snapshot/api_op_UpdateLocationFsxOpenZfs.go.snap +++ b/service/datasync/snapshot/api_op_UpdateLocationFsxOpenZfs.go.snap @@ -14,7 +14,6 @@ UpdateLocationFsxOpenZfs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_UpdateLocationFsxWindows.go.snap b/service/datasync/snapshot/api_op_UpdateLocationFsxWindows.go.snap index b20ce1bfc1f..41d1b4d063d 100644 --- a/service/datasync/snapshot/api_op_UpdateLocationFsxWindows.go.snap +++ b/service/datasync/snapshot/api_op_UpdateLocationFsxWindows.go.snap @@ -14,7 +14,6 @@ UpdateLocationFsxWindows Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_UpdateLocationHdfs.go.snap b/service/datasync/snapshot/api_op_UpdateLocationHdfs.go.snap index 27560173758..c740b469605 100644 --- a/service/datasync/snapshot/api_op_UpdateLocationHdfs.go.snap +++ b/service/datasync/snapshot/api_op_UpdateLocationHdfs.go.snap @@ -14,7 +14,6 @@ UpdateLocationHdfs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_UpdateLocationNfs.go.snap b/service/datasync/snapshot/api_op_UpdateLocationNfs.go.snap index 48dfd135bc0..42677bcab0c 100644 --- a/service/datasync/snapshot/api_op_UpdateLocationNfs.go.snap +++ b/service/datasync/snapshot/api_op_UpdateLocationNfs.go.snap @@ -14,7 +14,6 @@ UpdateLocationNfs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_UpdateLocationObjectStorage.go.snap b/service/datasync/snapshot/api_op_UpdateLocationObjectStorage.go.snap index 70a8f275769..5e305526307 100644 --- a/service/datasync/snapshot/api_op_UpdateLocationObjectStorage.go.snap +++ b/service/datasync/snapshot/api_op_UpdateLocationObjectStorage.go.snap @@ -14,7 +14,6 @@ UpdateLocationObjectStorage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_UpdateLocationS3.go.snap b/service/datasync/snapshot/api_op_UpdateLocationS3.go.snap index fea63f93ad1..a4984ecb17e 100644 --- a/service/datasync/snapshot/api_op_UpdateLocationS3.go.snap +++ b/service/datasync/snapshot/api_op_UpdateLocationS3.go.snap @@ -14,7 +14,6 @@ UpdateLocationS3 Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_UpdateLocationSmb.go.snap b/service/datasync/snapshot/api_op_UpdateLocationSmb.go.snap index 84ec35ec5b6..117888db40b 100644 --- a/service/datasync/snapshot/api_op_UpdateLocationSmb.go.snap +++ b/service/datasync/snapshot/api_op_UpdateLocationSmb.go.snap @@ -14,7 +14,6 @@ UpdateLocationSmb Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_UpdateStorageSystem.go.snap b/service/datasync/snapshot/api_op_UpdateStorageSystem.go.snap index 73a94a30801..df86bd7391c 100644 --- a/service/datasync/snapshot/api_op_UpdateStorageSystem.go.snap +++ b/service/datasync/snapshot/api_op_UpdateStorageSystem.go.snap @@ -14,7 +14,6 @@ UpdateStorageSystem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_UpdateTask.go.snap b/service/datasync/snapshot/api_op_UpdateTask.go.snap index 1b004ef5263..35a6653ce39 100644 --- a/service/datasync/snapshot/api_op_UpdateTask.go.snap +++ b/service/datasync/snapshot/api_op_UpdateTask.go.snap @@ -14,7 +14,6 @@ UpdateTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datasync/snapshot/api_op_UpdateTaskExecution.go.snap b/service/datasync/snapshot/api_op_UpdateTaskExecution.go.snap index 1bd5f79fda5..da2a6a31c58 100644 --- a/service/datasync/snapshot/api_op_UpdateTaskExecution.go.snap +++ b/service/datasync/snapshot/api_op_UpdateTaskExecution.go.snap @@ -14,7 +14,6 @@ UpdateTaskExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/api_client.go b/service/datazone/api_client.go index e90eab3f676..3626a9f38a0 100644 --- a/service/datazone/api_client.go +++ b/service/datazone/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/datazone/api_op_AcceptPredictions.go b/service/datazone/api_op_AcceptPredictions.go index 5056ba3a837..14d1ada3918 100644 --- a/service/datazone/api_op_AcceptPredictions.go +++ b/service/datazone/api_op_AcceptPredictions.go @@ -144,9 +144,6 @@ func (c *Client) addOperationAcceptPredictionsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opAcceptPredictionsMiddleware(stack, options); err != nil { return err } diff --git a/service/datazone/api_op_AcceptSubscriptionRequest.go b/service/datazone/api_op_AcceptSubscriptionRequest.go index 20b7c8d28fd..4f5f3095591 100644 --- a/service/datazone/api_op_AcceptSubscriptionRequest.go +++ b/service/datazone/api_op_AcceptSubscriptionRequest.go @@ -187,9 +187,6 @@ func (c *Client) addOperationAcceptSubscriptionRequestMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptSubscriptionRequestValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_AddEntityOwner.go b/service/datazone/api_op_AddEntityOwner.go index 0d8d1b2f638..62530eb4022 100644 --- a/service/datazone/api_op_AddEntityOwner.go +++ b/service/datazone/api_op_AddEntityOwner.go @@ -127,9 +127,6 @@ func (c *Client) addOperationAddEntityOwnerMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opAddEntityOwnerMiddleware(stack, options); err != nil { return err } diff --git a/service/datazone/api_op_AddPolicyGrant.go b/service/datazone/api_op_AddPolicyGrant.go index 7dc430a0adb..dae280cddba 100644 --- a/service/datazone/api_op_AddPolicyGrant.go +++ b/service/datazone/api_op_AddPolicyGrant.go @@ -138,9 +138,6 @@ func (c *Client) addOperationAddPolicyGrantMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opAddPolicyGrantMiddleware(stack, options); err != nil { return err } diff --git a/service/datazone/api_op_AssociateEnvironmentRole.go b/service/datazone/api_op_AssociateEnvironmentRole.go index 8de85ed6f2e..4cd428ac7b0 100644 --- a/service/datazone/api_op_AssociateEnvironmentRole.go +++ b/service/datazone/api_op_AssociateEnvironmentRole.go @@ -118,9 +118,6 @@ func (c *Client) addOperationAssociateEnvironmentRoleMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateEnvironmentRoleValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_CancelMetadataGenerationRun.go b/service/datazone/api_op_CancelMetadataGenerationRun.go index 9284830f307..90e92453d9a 100644 --- a/service/datazone/api_op_CancelMetadataGenerationRun.go +++ b/service/datazone/api_op_CancelMetadataGenerationRun.go @@ -113,9 +113,6 @@ func (c *Client) addOperationCancelMetadataGenerationRunMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelMetadataGenerationRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_CancelSubscription.go b/service/datazone/api_op_CancelSubscription.go index a87ee161e09..12ee00ed3f2 100644 --- a/service/datazone/api_op_CancelSubscription.go +++ b/service/datazone/api_op_CancelSubscription.go @@ -170,9 +170,6 @@ func (c *Client) addOperationCancelSubscriptionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_CreateAsset.go b/service/datazone/api_op_CreateAsset.go index 36550eca855..27d55b7e59f 100644 --- a/service/datazone/api_op_CreateAsset.go +++ b/service/datazone/api_op_CreateAsset.go @@ -223,9 +223,6 @@ func (c *Client) addOperationCreateAssetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAssetMiddleware(stack, options); err != nil { return err } diff --git a/service/datazone/api_op_CreateAssetFilter.go b/service/datazone/api_op_CreateAssetFilter.go index 065eb782501..b84e3b51f5f 100644 --- a/service/datazone/api_op_CreateAssetFilter.go +++ b/service/datazone/api_op_CreateAssetFilter.go @@ -176,9 +176,6 @@ func (c *Client) addOperationCreateAssetFilterMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAssetFilterMiddleware(stack, options); err != nil { return err } diff --git a/service/datazone/api_op_CreateAssetRevision.go b/service/datazone/api_op_CreateAssetRevision.go index 7ec989cac24..5e6956587d8 100644 --- a/service/datazone/api_op_CreateAssetRevision.go +++ b/service/datazone/api_op_CreateAssetRevision.go @@ -217,9 +217,6 @@ func (c *Client) addOperationCreateAssetRevisionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAssetRevisionMiddleware(stack, options); err != nil { return err } diff --git a/service/datazone/api_op_CreateAssetType.go b/service/datazone/api_op_CreateAssetType.go index 1d72d8375c5..aaf99e2523e 100644 --- a/service/datazone/api_op_CreateAssetType.go +++ b/service/datazone/api_op_CreateAssetType.go @@ -176,9 +176,6 @@ func (c *Client) addOperationCreateAssetTypeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAssetTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_CreateConnection.go b/service/datazone/api_op_CreateConnection.go index 0e144567d5a..12cf53f84c8 100644 --- a/service/datazone/api_op_CreateConnection.go +++ b/service/datazone/api_op_CreateConnection.go @@ -176,9 +176,6 @@ func (c *Client) addOperationCreateConnectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateConnectionMiddleware(stack, options); err != nil { return err } diff --git a/service/datazone/api_op_CreateDataProduct.go b/service/datazone/api_op_CreateDataProduct.go index d7fb4caf056..1f30382c09a 100644 --- a/service/datazone/api_op_CreateDataProduct.go +++ b/service/datazone/api_op_CreateDataProduct.go @@ -190,9 +190,6 @@ func (c *Client) addOperationCreateDataProductMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDataProductMiddleware(stack, options); err != nil { return err } diff --git a/service/datazone/api_op_CreateDataProductRevision.go b/service/datazone/api_op_CreateDataProductRevision.go index ece7c6e9088..0eda956d8a9 100644 --- a/service/datazone/api_op_CreateDataProductRevision.go +++ b/service/datazone/api_op_CreateDataProductRevision.go @@ -190,9 +190,6 @@ func (c *Client) addOperationCreateDataProductRevisionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDataProductRevisionMiddleware(stack, options); err != nil { return err } diff --git a/service/datazone/api_op_CreateDataSource.go b/service/datazone/api_op_CreateDataSource.go index 3d5ef90478e..bd73aa06f62 100644 --- a/service/datazone/api_op_CreateDataSource.go +++ b/service/datazone/api_op_CreateDataSource.go @@ -239,9 +239,6 @@ func (c *Client) addOperationCreateDataSourceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDataSourceMiddleware(stack, options); err != nil { return err } diff --git a/service/datazone/api_op_CreateDomain.go b/service/datazone/api_op_CreateDomain.go index eb802e8c9a5..f0134a8fd67 100644 --- a/service/datazone/api_op_CreateDomain.go +++ b/service/datazone/api_op_CreateDomain.go @@ -183,9 +183,6 @@ func (c *Client) addOperationCreateDomainMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDomainMiddleware(stack, options); err != nil { return err } diff --git a/service/datazone/api_op_CreateDomainUnit.go b/service/datazone/api_op_CreateDomainUnit.go index e8dc18e7e97..1df8edb21c1 100644 --- a/service/datazone/api_op_CreateDomainUnit.go +++ b/service/datazone/api_op_CreateDomainUnit.go @@ -164,9 +164,6 @@ func (c *Client) addOperationCreateDomainUnitMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDomainUnitMiddleware(stack, options); err != nil { return err } diff --git a/service/datazone/api_op_CreateEnvironment.go b/service/datazone/api_op_CreateEnvironment.go index 2fd7aa0c972..f6409c01968 100644 --- a/service/datazone/api_op_CreateEnvironment.go +++ b/service/datazone/api_op_CreateEnvironment.go @@ -229,9 +229,6 @@ func (c *Client) addOperationCreateEnvironmentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEnvironmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_CreateEnvironmentAction.go b/service/datazone/api_op_CreateEnvironmentAction.go index e4e55e32772..35b10c4b524 100644 --- a/service/datazone/api_op_CreateEnvironmentAction.go +++ b/service/datazone/api_op_CreateEnvironmentAction.go @@ -157,9 +157,6 @@ func (c *Client) addOperationCreateEnvironmentActionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEnvironmentActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_CreateEnvironmentProfile.go b/service/datazone/api_op_CreateEnvironmentProfile.go index 0700b6a460d..fb9ca57546c 100644 --- a/service/datazone/api_op_CreateEnvironmentProfile.go +++ b/service/datazone/api_op_CreateEnvironmentProfile.go @@ -189,9 +189,6 @@ func (c *Client) addOperationCreateEnvironmentProfileMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEnvironmentProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_CreateFormType.go b/service/datazone/api_op_CreateFormType.go index b74a19bcbdf..671da34a234 100644 --- a/service/datazone/api_op_CreateFormType.go +++ b/service/datazone/api_op_CreateFormType.go @@ -161,9 +161,6 @@ func (c *Client) addOperationCreateFormTypeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFormTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_CreateGlossary.go b/service/datazone/api_op_CreateGlossary.go index ecc7c0561f8..8562a489855 100644 --- a/service/datazone/api_op_CreateGlossary.go +++ b/service/datazone/api_op_CreateGlossary.go @@ -155,9 +155,6 @@ func (c *Client) addOperationCreateGlossaryMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateGlossaryMiddleware(stack, options); err != nil { return err } diff --git a/service/datazone/api_op_CreateGlossaryTerm.go b/service/datazone/api_op_CreateGlossaryTerm.go index a1dd3607e97..1678f22cf1a 100644 --- a/service/datazone/api_op_CreateGlossaryTerm.go +++ b/service/datazone/api_op_CreateGlossaryTerm.go @@ -171,9 +171,6 @@ func (c *Client) addOperationCreateGlossaryTermMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateGlossaryTermMiddleware(stack, options); err != nil { return err } diff --git a/service/datazone/api_op_CreateGroupProfile.go b/service/datazone/api_op_CreateGroupProfile.go index a3e5a41b4f1..c581ea7c8d5 100644 --- a/service/datazone/api_op_CreateGroupProfile.go +++ b/service/datazone/api_op_CreateGroupProfile.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateGroupProfileMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateGroupProfileMiddleware(stack, options); err != nil { return err } diff --git a/service/datazone/api_op_CreateListingChangeSet.go b/service/datazone/api_op_CreateListingChangeSet.go index 92340607505..648da5adb5e 100644 --- a/service/datazone/api_op_CreateListingChangeSet.go +++ b/service/datazone/api_op_CreateListingChangeSet.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCreateListingChangeSetMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateListingChangeSetMiddleware(stack, options); err != nil { return err } diff --git a/service/datazone/api_op_CreateProject.go b/service/datazone/api_op_CreateProject.go index 155060d568b..34a10dc8d23 100644 --- a/service/datazone/api_op_CreateProject.go +++ b/service/datazone/api_op_CreateProject.go @@ -182,9 +182,6 @@ func (c *Client) addOperationCreateProjectMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_CreateProjectMembership.go b/service/datazone/api_op_CreateProjectMembership.go index 2cb265b5385..86546650612 100644 --- a/service/datazone/api_op_CreateProjectMembership.go +++ b/service/datazone/api_op_CreateProjectMembership.go @@ -123,9 +123,6 @@ func (c *Client) addOperationCreateProjectMembershipMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateProjectMembershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_CreateProjectProfile.go b/service/datazone/api_op_CreateProjectProfile.go index 77cd4f98b27..ac4286ce2b9 100644 --- a/service/datazone/api_op_CreateProjectProfile.go +++ b/service/datazone/api_op_CreateProjectProfile.go @@ -165,9 +165,6 @@ func (c *Client) addOperationCreateProjectProfileMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateProjectProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_CreateRule.go b/service/datazone/api_op_CreateRule.go index 5f1cb263301..04416822631 100644 --- a/service/datazone/api_op_CreateRule.go +++ b/service/datazone/api_op_CreateRule.go @@ -200,9 +200,6 @@ func (c *Client) addOperationCreateRuleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateRuleMiddleware(stack, options); err != nil { return err } diff --git a/service/datazone/api_op_CreateSubscriptionGrant.go b/service/datazone/api_op_CreateSubscriptionGrant.go index 32bb54facf0..54e2aad44be 100644 --- a/service/datazone/api_op_CreateSubscriptionGrant.go +++ b/service/datazone/api_op_CreateSubscriptionGrant.go @@ -181,9 +181,6 @@ func (c *Client) addOperationCreateSubscriptionGrantMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateSubscriptionGrantMiddleware(stack, options); err != nil { return err } diff --git a/service/datazone/api_op_CreateSubscriptionRequest.go b/service/datazone/api_op_CreateSubscriptionRequest.go index 757b069785f..a4b9847a21d 100644 --- a/service/datazone/api_op_CreateSubscriptionRequest.go +++ b/service/datazone/api_op_CreateSubscriptionRequest.go @@ -194,9 +194,6 @@ func (c *Client) addOperationCreateSubscriptionRequestMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateSubscriptionRequestMiddleware(stack, options); err != nil { return err } diff --git a/service/datazone/api_op_CreateSubscriptionTarget.go b/service/datazone/api_op_CreateSubscriptionTarget.go index e12880114c6..061ec06833c 100644 --- a/service/datazone/api_op_CreateSubscriptionTarget.go +++ b/service/datazone/api_op_CreateSubscriptionTarget.go @@ -222,9 +222,6 @@ func (c *Client) addOperationCreateSubscriptionTargetMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateSubscriptionTargetMiddleware(stack, options); err != nil { return err } diff --git a/service/datazone/api_op_CreateUserProfile.go b/service/datazone/api_op_CreateUserProfile.go index 6aa273e2be4..460b268ed3d 100644 --- a/service/datazone/api_op_CreateUserProfile.go +++ b/service/datazone/api_op_CreateUserProfile.go @@ -136,9 +136,6 @@ func (c *Client) addOperationCreateUserProfileMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateUserProfileMiddleware(stack, options); err != nil { return err } diff --git a/service/datazone/api_op_DeleteAsset.go b/service/datazone/api_op_DeleteAsset.go index 8d1c1500613..a894153153a 100644 --- a/service/datazone/api_op_DeleteAsset.go +++ b/service/datazone/api_op_DeleteAsset.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteAssetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAssetValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_DeleteAssetFilter.go b/service/datazone/api_op_DeleteAssetFilter.go index baa5b8af9ae..d37385d0418 100644 --- a/service/datazone/api_op_DeleteAssetFilter.go +++ b/service/datazone/api_op_DeleteAssetFilter.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteAssetFilterMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAssetFilterValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_DeleteAssetType.go b/service/datazone/api_op_DeleteAssetType.go index 03a9c5ef4e0..8f99972a5fc 100644 --- a/service/datazone/api_op_DeleteAssetType.go +++ b/service/datazone/api_op_DeleteAssetType.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteAssetTypeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAssetTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_DeleteConnection.go b/service/datazone/api_op_DeleteConnection.go index c00c59dada3..27c8c30d151 100644 --- a/service/datazone/api_op_DeleteConnection.go +++ b/service/datazone/api_op_DeleteConnection.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteConnectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_DeleteDataProduct.go b/service/datazone/api_op_DeleteDataProduct.go index 90878da8ccc..52088862b62 100644 --- a/service/datazone/api_op_DeleteDataProduct.go +++ b/service/datazone/api_op_DeleteDataProduct.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteDataProductMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDataProductValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_DeleteDataSource.go b/service/datazone/api_op_DeleteDataSource.go index 79319d8fb2f..37230ddb0b7 100644 --- a/service/datazone/api_op_DeleteDataSource.go +++ b/service/datazone/api_op_DeleteDataSource.go @@ -205,9 +205,6 @@ func (c *Client) addOperationDeleteDataSourceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteDataSourceMiddleware(stack, options); err != nil { return err } diff --git a/service/datazone/api_op_DeleteDomain.go b/service/datazone/api_op_DeleteDomain.go index 778ea202234..3bc2c8b881f 100644 --- a/service/datazone/api_op_DeleteDomain.go +++ b/service/datazone/api_op_DeleteDomain.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteDomainMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteDomainMiddleware(stack, options); err != nil { return err } diff --git a/service/datazone/api_op_DeleteDomainUnit.go b/service/datazone/api_op_DeleteDomainUnit.go index d452ce35d51..77cbebe2a80 100644 --- a/service/datazone/api_op_DeleteDomainUnit.go +++ b/service/datazone/api_op_DeleteDomainUnit.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteDomainUnitMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDomainUnitValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_DeleteEnvironment.go b/service/datazone/api_op_DeleteEnvironment.go index f2c84547941..8649b305208 100644 --- a/service/datazone/api_op_DeleteEnvironment.go +++ b/service/datazone/api_op_DeleteEnvironment.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteEnvironmentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEnvironmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_DeleteEnvironmentAction.go b/service/datazone/api_op_DeleteEnvironmentAction.go index fcd686f5b4e..ee17e674741 100644 --- a/service/datazone/api_op_DeleteEnvironmentAction.go +++ b/service/datazone/api_op_DeleteEnvironmentAction.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteEnvironmentActionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEnvironmentActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_DeleteEnvironmentBlueprintConfiguration.go b/service/datazone/api_op_DeleteEnvironmentBlueprintConfiguration.go index 822c0fcaa8a..3d583d95e01 100644 --- a/service/datazone/api_op_DeleteEnvironmentBlueprintConfiguration.go +++ b/service/datazone/api_op_DeleteEnvironmentBlueprintConfiguration.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteEnvironmentBlueprintConfigurationMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEnvironmentBlueprintConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_DeleteEnvironmentProfile.go b/service/datazone/api_op_DeleteEnvironmentProfile.go index 82a60cc0cc6..e588617175a 100644 --- a/service/datazone/api_op_DeleteEnvironmentProfile.go +++ b/service/datazone/api_op_DeleteEnvironmentProfile.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteEnvironmentProfileMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEnvironmentProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_DeleteFormType.go b/service/datazone/api_op_DeleteFormType.go index 891babb3c8c..c4f947bac66 100644 --- a/service/datazone/api_op_DeleteFormType.go +++ b/service/datazone/api_op_DeleteFormType.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteFormTypeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFormTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_DeleteGlossary.go b/service/datazone/api_op_DeleteGlossary.go index 2a08b436f44..67d2e091f31 100644 --- a/service/datazone/api_op_DeleteGlossary.go +++ b/service/datazone/api_op_DeleteGlossary.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteGlossaryMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGlossaryValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_DeleteGlossaryTerm.go b/service/datazone/api_op_DeleteGlossaryTerm.go index 7457485c0c4..ddd626e8ea8 100644 --- a/service/datazone/api_op_DeleteGlossaryTerm.go +++ b/service/datazone/api_op_DeleteGlossaryTerm.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteGlossaryTermMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGlossaryTermValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_DeleteListing.go b/service/datazone/api_op_DeleteListing.go index 0fb83511d98..bef47c0e3e6 100644 --- a/service/datazone/api_op_DeleteListing.go +++ b/service/datazone/api_op_DeleteListing.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteListingMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteListingValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_DeleteProject.go b/service/datazone/api_op_DeleteProject.go index f1a17fcab78..5e9255b433b 100644 --- a/service/datazone/api_op_DeleteProject.go +++ b/service/datazone/api_op_DeleteProject.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteProjectMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_DeleteProjectMembership.go b/service/datazone/api_op_DeleteProjectMembership.go index 85862e5b3e7..80ab64a5c9b 100644 --- a/service/datazone/api_op_DeleteProjectMembership.go +++ b/service/datazone/api_op_DeleteProjectMembership.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteProjectMembershipMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProjectMembershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_DeleteProjectProfile.go b/service/datazone/api_op_DeleteProjectProfile.go index 1d3662698b4..577a5d8c235 100644 --- a/service/datazone/api_op_DeleteProjectProfile.go +++ b/service/datazone/api_op_DeleteProjectProfile.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteProjectProfileMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProjectProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_DeleteRule.go b/service/datazone/api_op_DeleteRule.go index 4e9ae25621b..8a1908e0b14 100644 --- a/service/datazone/api_op_DeleteRule.go +++ b/service/datazone/api_op_DeleteRule.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteRuleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_DeleteSubscriptionGrant.go b/service/datazone/api_op_DeleteSubscriptionGrant.go index c315a064d05..81dd9a07263 100644 --- a/service/datazone/api_op_DeleteSubscriptionGrant.go +++ b/service/datazone/api_op_DeleteSubscriptionGrant.go @@ -167,9 +167,6 @@ func (c *Client) addOperationDeleteSubscriptionGrantMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSubscriptionGrantValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_DeleteSubscriptionRequest.go b/service/datazone/api_op_DeleteSubscriptionRequest.go index b3141dd84dc..e1472e07c58 100644 --- a/service/datazone/api_op_DeleteSubscriptionRequest.go +++ b/service/datazone/api_op_DeleteSubscriptionRequest.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteSubscriptionRequestMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSubscriptionRequestValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_DeleteSubscriptionTarget.go b/service/datazone/api_op_DeleteSubscriptionTarget.go index 5459ebef281..bf2792bdbd9 100644 --- a/service/datazone/api_op_DeleteSubscriptionTarget.go +++ b/service/datazone/api_op_DeleteSubscriptionTarget.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteSubscriptionTargetMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSubscriptionTargetValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_DeleteTimeSeriesDataPoints.go b/service/datazone/api_op_DeleteTimeSeriesDataPoints.go index 4c653479b6e..da964642843 100644 --- a/service/datazone/api_op_DeleteTimeSeriesDataPoints.go +++ b/service/datazone/api_op_DeleteTimeSeriesDataPoints.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteTimeSeriesDataPointsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteTimeSeriesDataPointsMiddleware(stack, options); err != nil { return err } diff --git a/service/datazone/api_op_DisassociateEnvironmentRole.go b/service/datazone/api_op_DisassociateEnvironmentRole.go index 10304bd76f2..f4cda43e775 100644 --- a/service/datazone/api_op_DisassociateEnvironmentRole.go +++ b/service/datazone/api_op_DisassociateEnvironmentRole.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDisassociateEnvironmentRoleMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateEnvironmentRoleValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetAsset.go b/service/datazone/api_op_GetAsset.go index 375aa2006a9..dd63d4cf6bc 100644 --- a/service/datazone/api_op_GetAsset.go +++ b/service/datazone/api_op_GetAsset.go @@ -189,9 +189,6 @@ func (c *Client) addOperationGetAssetMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAssetValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetAssetFilter.go b/service/datazone/api_op_GetAssetFilter.go index 1b32b781cb2..2afff622dc9 100644 --- a/service/datazone/api_op_GetAssetFilter.go +++ b/service/datazone/api_op_GetAssetFilter.go @@ -164,9 +164,6 @@ func (c *Client) addOperationGetAssetFilterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAssetFilterValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetAssetType.go b/service/datazone/api_op_GetAssetType.go index 9c74d343e85..845298c5d1e 100644 --- a/service/datazone/api_op_GetAssetType.go +++ b/service/datazone/api_op_GetAssetType.go @@ -166,9 +166,6 @@ func (c *Client) addOperationGetAssetTypeMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAssetTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetConnection.go b/service/datazone/api_op_GetConnection.go index d58d85a00c5..6679f9181cb 100644 --- a/service/datazone/api_op_GetConnection.go +++ b/service/datazone/api_op_GetConnection.go @@ -167,9 +167,6 @@ func (c *Client) addOperationGetConnectionMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetDataProduct.go b/service/datazone/api_op_GetDataProduct.go index 018295c7c2c..9f6056e638a 100644 --- a/service/datazone/api_op_GetDataProduct.go +++ b/service/datazone/api_op_GetDataProduct.go @@ -172,9 +172,6 @@ func (c *Client) addOperationGetDataProductMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataProductValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetDataSource.go b/service/datazone/api_op_GetDataSource.go index 7979b681820..fd84067c361 100644 --- a/service/datazone/api_op_GetDataSource.go +++ b/service/datazone/api_op_GetDataSource.go @@ -195,9 +195,6 @@ func (c *Client) addOperationGetDataSourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetDataSourceRun.go b/service/datazone/api_op_GetDataSourceRun.go index 7680a36dbef..b693b4920f2 100644 --- a/service/datazone/api_op_GetDataSourceRun.go +++ b/service/datazone/api_op_GetDataSourceRun.go @@ -174,9 +174,6 @@ func (c *Client) addOperationGetDataSourceRunMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataSourceRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetDomain.go b/service/datazone/api_op_GetDomain.go index 22c67df3bdb..b4e75556ef1 100644 --- a/service/datazone/api_op_GetDomain.go +++ b/service/datazone/api_op_GetDomain.go @@ -162,9 +162,6 @@ func (c *Client) addOperationGetDomainMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetDomainUnit.go b/service/datazone/api_op_GetDomainUnit.go index 1e60096d64f..1e8e78785ed 100644 --- a/service/datazone/api_op_GetDomainUnit.go +++ b/service/datazone/api_op_GetDomainUnit.go @@ -153,9 +153,6 @@ func (c *Client) addOperationGetDomainUnitMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDomainUnitValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetEnvironment.go b/service/datazone/api_op_GetEnvironment.go index a5906629e77..f78bca8e993 100644 --- a/service/datazone/api_op_GetEnvironment.go +++ b/service/datazone/api_op_GetEnvironment.go @@ -188,9 +188,6 @@ func (c *Client) addOperationGetEnvironmentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEnvironmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetEnvironmentAction.go b/service/datazone/api_op_GetEnvironmentAction.go index fb3ac2ff745..38895d26461 100644 --- a/service/datazone/api_op_GetEnvironmentAction.go +++ b/service/datazone/api_op_GetEnvironmentAction.go @@ -148,9 +148,6 @@ func (c *Client) addOperationGetEnvironmentActionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEnvironmentActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetEnvironmentBlueprint.go b/service/datazone/api_op_GetEnvironmentBlueprint.go index 87f36027fa8..e08b4cbbf30 100644 --- a/service/datazone/api_op_GetEnvironmentBlueprint.go +++ b/service/datazone/api_op_GetEnvironmentBlueprint.go @@ -153,9 +153,6 @@ func (c *Client) addOperationGetEnvironmentBlueprintMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEnvironmentBlueprintValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetEnvironmentBlueprintConfiguration.go b/service/datazone/api_op_GetEnvironmentBlueprintConfiguration.go index 93d0206ace2..1f525704406 100644 --- a/service/datazone/api_op_GetEnvironmentBlueprintConfiguration.go +++ b/service/datazone/api_op_GetEnvironmentBlueprintConfiguration.go @@ -149,9 +149,6 @@ func (c *Client) addOperationGetEnvironmentBlueprintConfigurationMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEnvironmentBlueprintConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetEnvironmentCredentials.go b/service/datazone/api_op_GetEnvironmentCredentials.go index d5b1ad391b7..dbd093c026f 100644 --- a/service/datazone/api_op_GetEnvironmentCredentials.go +++ b/service/datazone/api_op_GetEnvironmentCredentials.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetEnvironmentCredentialsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEnvironmentCredentialsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetEnvironmentProfile.go b/service/datazone/api_op_GetEnvironmentProfile.go index 8f1c53b3653..3035ca12888 100644 --- a/service/datazone/api_op_GetEnvironmentProfile.go +++ b/service/datazone/api_op_GetEnvironmentProfile.go @@ -162,9 +162,6 @@ func (c *Client) addOperationGetEnvironmentProfileMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEnvironmentProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetFormType.go b/service/datazone/api_op_GetFormType.go index 5bc1d9298f5..a6718b9d561 100644 --- a/service/datazone/api_op_GetFormType.go +++ b/service/datazone/api_op_GetFormType.go @@ -163,9 +163,6 @@ func (c *Client) addOperationGetFormTypeMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFormTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetGlossary.go b/service/datazone/api_op_GetGlossary.go index 46ef4b9dd25..1a6ac405db0 100644 --- a/service/datazone/api_op_GetGlossary.go +++ b/service/datazone/api_op_GetGlossary.go @@ -155,9 +155,6 @@ func (c *Client) addOperationGetGlossaryMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetGlossaryValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetGlossaryTerm.go b/service/datazone/api_op_GetGlossaryTerm.go index 1bef644860b..44cff9e124a 100644 --- a/service/datazone/api_op_GetGlossaryTerm.go +++ b/service/datazone/api_op_GetGlossaryTerm.go @@ -163,9 +163,6 @@ func (c *Client) addOperationGetGlossaryTermMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetGlossaryTermValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetGroupProfile.go b/service/datazone/api_op_GetGroupProfile.go index ef39f65444f..b65cd54409b 100644 --- a/service/datazone/api_op_GetGroupProfile.go +++ b/service/datazone/api_op_GetGroupProfile.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetGroupProfileMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetGroupProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetIamPortalLoginUrl.go b/service/datazone/api_op_GetIamPortalLoginUrl.go index 86569cc763c..7b6cc9defd4 100644 --- a/service/datazone/api_op_GetIamPortalLoginUrl.go +++ b/service/datazone/api_op_GetIamPortalLoginUrl.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetIamPortalLoginUrlMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIamPortalLoginUrlValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetJobRun.go b/service/datazone/api_op_GetJobRun.go index 7d06316622a..4e508405150 100644 --- a/service/datazone/api_op_GetJobRun.go +++ b/service/datazone/api_op_GetJobRun.go @@ -151,9 +151,6 @@ func (c *Client) addOperationGetJobRunMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetJobRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetLineageEvent.go b/service/datazone/api_op_GetLineageEvent.go index 7d04eca16db..6183d628f79 100644 --- a/service/datazone/api_op_GetLineageEvent.go +++ b/service/datazone/api_op_GetLineageEvent.go @@ -136,9 +136,6 @@ func (c *Client) addOperationGetLineageEventMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLineageEventValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetLineageNode.go b/service/datazone/api_op_GetLineageNode.go index 980a76834b6..775a5139231 100644 --- a/service/datazone/api_op_GetLineageNode.go +++ b/service/datazone/api_op_GetLineageNode.go @@ -174,9 +174,6 @@ func (c *Client) addOperationGetLineageNodeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLineageNodeValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetListing.go b/service/datazone/api_op_GetListing.go index a5f6fe95c8c..42a3a726676 100644 --- a/service/datazone/api_op_GetListing.go +++ b/service/datazone/api_op_GetListing.go @@ -158,9 +158,6 @@ func (c *Client) addOperationGetListingMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetListingValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetMetadataGenerationRun.go b/service/datazone/api_op_GetMetadataGenerationRun.go index 3d26221f072..8b53f1ab229 100644 --- a/service/datazone/api_op_GetMetadataGenerationRun.go +++ b/service/datazone/api_op_GetMetadataGenerationRun.go @@ -148,9 +148,6 @@ func (c *Client) addOperationGetMetadataGenerationRunMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMetadataGenerationRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetProject.go b/service/datazone/api_op_GetProject.go index 32ce867890a..cad905044b8 100644 --- a/service/datazone/api_op_GetProject.go +++ b/service/datazone/api_op_GetProject.go @@ -166,9 +166,6 @@ func (c *Client) addOperationGetProjectMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetProjectProfile.go b/service/datazone/api_op_GetProjectProfile.go index f5894136d00..b74eefe9712 100644 --- a/service/datazone/api_op_GetProjectProfile.go +++ b/service/datazone/api_op_GetProjectProfile.go @@ -153,9 +153,6 @@ func (c *Client) addOperationGetProjectProfileMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetProjectProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetRule.go b/service/datazone/api_op_GetRule.go index be95aef6c50..268cc7ef320 100644 --- a/service/datazone/api_op_GetRule.go +++ b/service/datazone/api_op_GetRule.go @@ -191,9 +191,6 @@ func (c *Client) addOperationGetRuleMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetSubscription.go b/service/datazone/api_op_GetSubscription.go index 1a30f4bb814..b4c71caa649 100644 --- a/service/datazone/api_op_GetSubscription.go +++ b/service/datazone/api_op_GetSubscription.go @@ -164,9 +164,6 @@ func (c *Client) addOperationGetSubscriptionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetSubscriptionGrant.go b/service/datazone/api_op_GetSubscriptionGrant.go index ba3c4445170..6e2e031a4a7 100644 --- a/service/datazone/api_op_GetSubscriptionGrant.go +++ b/service/datazone/api_op_GetSubscriptionGrant.go @@ -166,9 +166,6 @@ func (c *Client) addOperationGetSubscriptionGrantMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSubscriptionGrantValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetSubscriptionRequestDetails.go b/service/datazone/api_op_GetSubscriptionRequestDetails.go index 46b40ac60e9..d58a8244987 100644 --- a/service/datazone/api_op_GetSubscriptionRequestDetails.go +++ b/service/datazone/api_op_GetSubscriptionRequestDetails.go @@ -177,9 +177,6 @@ func (c *Client) addOperationGetSubscriptionRequestDetailsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSubscriptionRequestDetailsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetSubscriptionTarget.go b/service/datazone/api_op_GetSubscriptionTarget.go index 138de380fea..864852a5ed4 100644 --- a/service/datazone/api_op_GetSubscriptionTarget.go +++ b/service/datazone/api_op_GetSubscriptionTarget.go @@ -189,9 +189,6 @@ func (c *Client) addOperationGetSubscriptionTargetMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSubscriptionTargetValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetTimeSeriesDataPoint.go b/service/datazone/api_op_GetTimeSeriesDataPoint.go index c2465d9ceab..cc383ea4e27 100644 --- a/service/datazone/api_op_GetTimeSeriesDataPoint.go +++ b/service/datazone/api_op_GetTimeSeriesDataPoint.go @@ -148,9 +148,6 @@ func (c *Client) addOperationGetTimeSeriesDataPointMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTimeSeriesDataPointValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_GetUserProfile.go b/service/datazone/api_op_GetUserProfile.go index c53e3ea5a2e..64b0a7dbfd2 100644 --- a/service/datazone/api_op_GetUserProfile.go +++ b/service/datazone/api_op_GetUserProfile.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetUserProfileMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUserProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_ListAssetFilters.go b/service/datazone/api_op_ListAssetFilters.go index ec43b164e8e..833ae9fa619 100644 --- a/service/datazone/api_op_ListAssetFilters.go +++ b/service/datazone/api_op_ListAssetFilters.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListAssetFiltersMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAssetFiltersValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_ListAssetRevisions.go b/service/datazone/api_op_ListAssetRevisions.go index 17f74bba05e..c7f18f7d9d9 100644 --- a/service/datazone/api_op_ListAssetRevisions.go +++ b/service/datazone/api_op_ListAssetRevisions.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListAssetRevisionsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAssetRevisionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_ListConnections.go b/service/datazone/api_op_ListConnections.go index bc31ec1150c..24fcb6f3750 100644 --- a/service/datazone/api_op_ListConnections.go +++ b/service/datazone/api_op_ListConnections.go @@ -156,9 +156,6 @@ func (c *Client) addOperationListConnectionsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListConnectionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_ListDataProductRevisions.go b/service/datazone/api_op_ListDataProductRevisions.go index 6481a00e859..7687cb436bb 100644 --- a/service/datazone/api_op_ListDataProductRevisions.go +++ b/service/datazone/api_op_ListDataProductRevisions.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListDataProductRevisionsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDataProductRevisionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_ListDataSourceRunActivities.go b/service/datazone/api_op_ListDataSourceRunActivities.go index 371815fff8d..55a001db0f9 100644 --- a/service/datazone/api_op_ListDataSourceRunActivities.go +++ b/service/datazone/api_op_ListDataSourceRunActivities.go @@ -144,9 +144,6 @@ func (c *Client) addOperationListDataSourceRunActivitiesMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDataSourceRunActivitiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_ListDataSourceRuns.go b/service/datazone/api_op_ListDataSourceRuns.go index 1e74075e5c2..a29b61847a5 100644 --- a/service/datazone/api_op_ListDataSourceRuns.go +++ b/service/datazone/api_op_ListDataSourceRuns.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListDataSourceRunsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDataSourceRunsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_ListDataSources.go b/service/datazone/api_op_ListDataSources.go index d215ba6e7ba..eb1ef1a116f 100644 --- a/service/datazone/api_op_ListDataSources.go +++ b/service/datazone/api_op_ListDataSources.go @@ -154,9 +154,6 @@ func (c *Client) addOperationListDataSourcesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDataSourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_ListDomainUnitsForParent.go b/service/datazone/api_op_ListDomainUnitsForParent.go index 3dabba141d1..df34374cb61 100644 --- a/service/datazone/api_op_ListDomainUnitsForParent.go +++ b/service/datazone/api_op_ListDomainUnitsForParent.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListDomainUnitsForParentMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDomainUnitsForParentValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_ListDomains.go b/service/datazone/api_op_ListDomains.go index af83bf372b0..62c573bcdbc 100644 --- a/service/datazone/api_op_ListDomains.go +++ b/service/datazone/api_op_ListDomains.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListDomainsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDomains(options.Region), middleware.Before); err != nil { return err } diff --git a/service/datazone/api_op_ListEntityOwners.go b/service/datazone/api_op_ListEntityOwners.go index 5a8c8986ab0..5a6375a8bd3 100644 --- a/service/datazone/api_op_ListEntityOwners.go +++ b/service/datazone/api_op_ListEntityOwners.go @@ -144,9 +144,6 @@ func (c *Client) addOperationListEntityOwnersMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEntityOwnersValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_ListEnvironmentActions.go b/service/datazone/api_op_ListEnvironmentActions.go index d4c3f67980a..b41652f9377 100644 --- a/service/datazone/api_op_ListEnvironmentActions.go +++ b/service/datazone/api_op_ListEnvironmentActions.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListEnvironmentActionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEnvironmentActionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_ListEnvironmentBlueprintConfigurations.go b/service/datazone/api_op_ListEnvironmentBlueprintConfigurations.go index 47a3f3647de..5a9d3ddab83 100644 --- a/service/datazone/api_op_ListEnvironmentBlueprintConfigurations.go +++ b/service/datazone/api_op_ListEnvironmentBlueprintConfigurations.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListEnvironmentBlueprintConfigurationsMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEnvironmentBlueprintConfigurationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_ListEnvironmentBlueprints.go b/service/datazone/api_op_ListEnvironmentBlueprints.go index 3f72a8cb658..e61fa312620 100644 --- a/service/datazone/api_op_ListEnvironmentBlueprints.go +++ b/service/datazone/api_op_ListEnvironmentBlueprints.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListEnvironmentBlueprintsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEnvironmentBlueprintsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_ListEnvironmentProfiles.go b/service/datazone/api_op_ListEnvironmentProfiles.go index cb4e77086c7..e17c35ffe3e 100644 --- a/service/datazone/api_op_ListEnvironmentProfiles.go +++ b/service/datazone/api_op_ListEnvironmentProfiles.go @@ -154,9 +154,6 @@ func (c *Client) addOperationListEnvironmentProfilesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEnvironmentProfilesValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_ListEnvironments.go b/service/datazone/api_op_ListEnvironments.go index 7b0d2daaa4a..b07c87b76f3 100644 --- a/service/datazone/api_op_ListEnvironments.go +++ b/service/datazone/api_op_ListEnvironments.go @@ -162,9 +162,6 @@ func (c *Client) addOperationListEnvironmentsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEnvironmentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_ListJobRuns.go b/service/datazone/api_op_ListJobRuns.go index bab5eeea077..54226af1005 100644 --- a/service/datazone/api_op_ListJobRuns.go +++ b/service/datazone/api_op_ListJobRuns.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListJobRunsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListJobRunsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_ListLineageEvents.go b/service/datazone/api_op_ListLineageEvents.go index 5de5cf93118..2940ce12027 100644 --- a/service/datazone/api_op_ListLineageEvents.go +++ b/service/datazone/api_op_ListLineageEvents.go @@ -146,9 +146,6 @@ func (c *Client) addOperationListLineageEventsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListLineageEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_ListLineageNodeHistory.go b/service/datazone/api_op_ListLineageNodeHistory.go index fb486d1a988..e284eb04c2a 100644 --- a/service/datazone/api_op_ListLineageNodeHistory.go +++ b/service/datazone/api_op_ListLineageNodeHistory.go @@ -157,9 +157,6 @@ func (c *Client) addOperationListLineageNodeHistoryMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListLineageNodeHistoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_ListMetadataGenerationRuns.go b/service/datazone/api_op_ListMetadataGenerationRuns.go index c449e0caf94..1e2e6d38311 100644 --- a/service/datazone/api_op_ListMetadataGenerationRuns.go +++ b/service/datazone/api_op_ListMetadataGenerationRuns.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListMetadataGenerationRunsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMetadataGenerationRunsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_ListNotifications.go b/service/datazone/api_op_ListNotifications.go index 3de907a84a2..1fa1ae1b550 100644 --- a/service/datazone/api_op_ListNotifications.go +++ b/service/datazone/api_op_ListNotifications.go @@ -151,9 +151,6 @@ func (c *Client) addOperationListNotificationsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListNotificationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_ListPolicyGrants.go b/service/datazone/api_op_ListPolicyGrants.go index e747d2adc43..1de729739a6 100644 --- a/service/datazone/api_op_ListPolicyGrants.go +++ b/service/datazone/api_op_ListPolicyGrants.go @@ -149,9 +149,6 @@ func (c *Client) addOperationListPolicyGrantsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPolicyGrantsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_ListProjectMemberships.go b/service/datazone/api_op_ListProjectMemberships.go index 867845bcee9..3f69abfc7cf 100644 --- a/service/datazone/api_op_ListProjectMemberships.go +++ b/service/datazone/api_op_ListProjectMemberships.go @@ -147,9 +147,6 @@ func (c *Client) addOperationListProjectMembershipsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListProjectMembershipsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_ListProjectProfiles.go b/service/datazone/api_op_ListProjectProfiles.go index 791ee1652b9..a5bb361c3de 100644 --- a/service/datazone/api_op_ListProjectProfiles.go +++ b/service/datazone/api_op_ListProjectProfiles.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListProjectProfilesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListProjectProfilesValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_ListProjects.go b/service/datazone/api_op_ListProjects.go index 1592dc2ef87..6357ba8c57e 100644 --- a/service/datazone/api_op_ListProjects.go +++ b/service/datazone/api_op_ListProjects.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListProjectsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListProjectsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_ListRules.go b/service/datazone/api_op_ListRules.go index b58377f4dfb..8c3461ba965 100644 --- a/service/datazone/api_op_ListRules.go +++ b/service/datazone/api_op_ListRules.go @@ -169,9 +169,6 @@ func (c *Client) addOperationListRulesMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_ListSubscriptionGrants.go b/service/datazone/api_op_ListSubscriptionGrants.go index 035b7a796fe..e6835e7e83c 100644 --- a/service/datazone/api_op_ListSubscriptionGrants.go +++ b/service/datazone/api_op_ListSubscriptionGrants.go @@ -158,9 +158,6 @@ func (c *Client) addOperationListSubscriptionGrantsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSubscriptionGrantsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_ListSubscriptionRequests.go b/service/datazone/api_op_ListSubscriptionRequests.go index 4073602511e..d187ac8bf81 100644 --- a/service/datazone/api_op_ListSubscriptionRequests.go +++ b/service/datazone/api_op_ListSubscriptionRequests.go @@ -158,9 +158,6 @@ func (c *Client) addOperationListSubscriptionRequestsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSubscriptionRequestsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_ListSubscriptionTargets.go b/service/datazone/api_op_ListSubscriptionTargets.go index d35d283de05..193fe258ca3 100644 --- a/service/datazone/api_op_ListSubscriptionTargets.go +++ b/service/datazone/api_op_ListSubscriptionTargets.go @@ -149,9 +149,6 @@ func (c *Client) addOperationListSubscriptionTargetsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSubscriptionTargetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_ListSubscriptions.go b/service/datazone/api_op_ListSubscriptions.go index 062add32d86..04f05d95d71 100644 --- a/service/datazone/api_op_ListSubscriptions.go +++ b/service/datazone/api_op_ListSubscriptions.go @@ -161,9 +161,6 @@ func (c *Client) addOperationListSubscriptionsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSubscriptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_ListTagsForResource.go b/service/datazone/api_op_ListTagsForResource.go index 8839265f8df..d5e28204844 100644 --- a/service/datazone/api_op_ListTagsForResource.go +++ b/service/datazone/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_ListTimeSeriesDataPoints.go b/service/datazone/api_op_ListTimeSeriesDataPoints.go index 95019d2c8c7..dcd314f1ed6 100644 --- a/service/datazone/api_op_ListTimeSeriesDataPoints.go +++ b/service/datazone/api_op_ListTimeSeriesDataPoints.go @@ -156,9 +156,6 @@ func (c *Client) addOperationListTimeSeriesDataPointsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTimeSeriesDataPointsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_PostLineageEvent.go b/service/datazone/api_op_PostLineageEvent.go index afde83ca4d9..c9a22c91d1f 100644 --- a/service/datazone/api_op_PostLineageEvent.go +++ b/service/datazone/api_op_PostLineageEvent.go @@ -124,9 +124,6 @@ func (c *Client) addOperationPostLineageEventMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opPostLineageEventMiddleware(stack, options); err != nil { return err } diff --git a/service/datazone/api_op_PostTimeSeriesDataPoints.go b/service/datazone/api_op_PostTimeSeriesDataPoints.go index 58a7a04b27c..c0600fc1eff 100644 --- a/service/datazone/api_op_PostTimeSeriesDataPoints.go +++ b/service/datazone/api_op_PostTimeSeriesDataPoints.go @@ -142,9 +142,6 @@ func (c *Client) addOperationPostTimeSeriesDataPointsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opPostTimeSeriesDataPointsMiddleware(stack, options); err != nil { return err } diff --git a/service/datazone/api_op_PutEnvironmentBlueprintConfiguration.go b/service/datazone/api_op_PutEnvironmentBlueprintConfiguration.go index 4b81aff2545..fa2b5dd930e 100644 --- a/service/datazone/api_op_PutEnvironmentBlueprintConfiguration.go +++ b/service/datazone/api_op_PutEnvironmentBlueprintConfiguration.go @@ -170,9 +170,6 @@ func (c *Client) addOperationPutEnvironmentBlueprintConfigurationMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutEnvironmentBlueprintConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_RejectPredictions.go b/service/datazone/api_op_RejectPredictions.go index b931fea578d..cb91f6f610b 100644 --- a/service/datazone/api_op_RejectPredictions.go +++ b/service/datazone/api_op_RejectPredictions.go @@ -144,9 +144,6 @@ func (c *Client) addOperationRejectPredictionsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opRejectPredictionsMiddleware(stack, options); err != nil { return err } diff --git a/service/datazone/api_op_RejectSubscriptionRequest.go b/service/datazone/api_op_RejectSubscriptionRequest.go index fd169c65ab0..afd8cc127cb 100644 --- a/service/datazone/api_op_RejectSubscriptionRequest.go +++ b/service/datazone/api_op_RejectSubscriptionRequest.go @@ -180,9 +180,6 @@ func (c *Client) addOperationRejectSubscriptionRequestMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRejectSubscriptionRequestValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_RemoveEntityOwner.go b/service/datazone/api_op_RemoveEntityOwner.go index 104409c3312..b009a23e061 100644 --- a/service/datazone/api_op_RemoveEntityOwner.go +++ b/service/datazone/api_op_RemoveEntityOwner.go @@ -127,9 +127,6 @@ func (c *Client) addOperationRemoveEntityOwnerMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opRemoveEntityOwnerMiddleware(stack, options); err != nil { return err } diff --git a/service/datazone/api_op_RemovePolicyGrant.go b/service/datazone/api_op_RemovePolicyGrant.go index b5d66ce1171..3b4f01db8ae 100644 --- a/service/datazone/api_op_RemovePolicyGrant.go +++ b/service/datazone/api_op_RemovePolicyGrant.go @@ -132,9 +132,6 @@ func (c *Client) addOperationRemovePolicyGrantMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opRemovePolicyGrantMiddleware(stack, options); err != nil { return err } diff --git a/service/datazone/api_op_RevokeSubscription.go b/service/datazone/api_op_RevokeSubscription.go index 43ce51b5a36..662d8c921c0 100644 --- a/service/datazone/api_op_RevokeSubscription.go +++ b/service/datazone/api_op_RevokeSubscription.go @@ -169,9 +169,6 @@ func (c *Client) addOperationRevokeSubscriptionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRevokeSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_Search.go b/service/datazone/api_op_Search.go index 0590f228eab..1f9b8a9b8b0 100644 --- a/service/datazone/api_op_Search.go +++ b/service/datazone/api_op_Search.go @@ -158,9 +158,6 @@ func (c *Client) addOperationSearchMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_SearchGroupProfiles.go b/service/datazone/api_op_SearchGroupProfiles.go index ad57397bf7b..f2466a1dd56 100644 --- a/service/datazone/api_op_SearchGroupProfiles.go +++ b/service/datazone/api_op_SearchGroupProfiles.go @@ -141,9 +141,6 @@ func (c *Client) addOperationSearchGroupProfilesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchGroupProfilesValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_SearchListings.go b/service/datazone/api_op_SearchListings.go index d6edd2fdff9..2454a48d033 100644 --- a/service/datazone/api_op_SearchListings.go +++ b/service/datazone/api_op_SearchListings.go @@ -150,9 +150,6 @@ func (c *Client) addOperationSearchListingsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchListingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_SearchTypes.go b/service/datazone/api_op_SearchTypes.go index d99e2ce0b92..3cacf2d74b0 100644 --- a/service/datazone/api_op_SearchTypes.go +++ b/service/datazone/api_op_SearchTypes.go @@ -158,9 +158,6 @@ func (c *Client) addOperationSearchTypesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchTypesValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_SearchUserProfiles.go b/service/datazone/api_op_SearchUserProfiles.go index a0f96c4d9f4..832ee5caad5 100644 --- a/service/datazone/api_op_SearchUserProfiles.go +++ b/service/datazone/api_op_SearchUserProfiles.go @@ -141,9 +141,6 @@ func (c *Client) addOperationSearchUserProfilesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchUserProfilesValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_StartDataSourceRun.go b/service/datazone/api_op_StartDataSourceRun.go index c6357284143..91b723e2f93 100644 --- a/service/datazone/api_op_StartDataSourceRun.go +++ b/service/datazone/api_op_StartDataSourceRun.go @@ -177,9 +177,6 @@ func (c *Client) addOperationStartDataSourceRunMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartDataSourceRunMiddleware(stack, options); err != nil { return err } diff --git a/service/datazone/api_op_StartMetadataGenerationRun.go b/service/datazone/api_op_StartMetadataGenerationRun.go index a2a944820d9..fd64b80b4db 100644 --- a/service/datazone/api_op_StartMetadataGenerationRun.go +++ b/service/datazone/api_op_StartMetadataGenerationRun.go @@ -158,9 +158,6 @@ func (c *Client) addOperationStartMetadataGenerationRunMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartMetadataGenerationRunMiddleware(stack, options); err != nil { return err } diff --git a/service/datazone/api_op_TagResource.go b/service/datazone/api_op_TagResource.go index 46f9e65f856..1c5c660229e 100644 --- a/service/datazone/api_op_TagResource.go +++ b/service/datazone/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_UntagResource.go b/service/datazone/api_op_UntagResource.go index 880c977467c..efd76fad210 100644 --- a/service/datazone/api_op_UntagResource.go +++ b/service/datazone/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_UpdateAssetFilter.go b/service/datazone/api_op_UpdateAssetFilter.go index 503a94d6d10..2a166f68f2d 100644 --- a/service/datazone/api_op_UpdateAssetFilter.go +++ b/service/datazone/api_op_UpdateAssetFilter.go @@ -172,9 +172,6 @@ func (c *Client) addOperationUpdateAssetFilterMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAssetFilterValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_UpdateConnection.go b/service/datazone/api_op_UpdateConnection.go index c3e32bc59be..23d13eeab6c 100644 --- a/service/datazone/api_op_UpdateConnection.go +++ b/service/datazone/api_op_UpdateConnection.go @@ -167,9 +167,6 @@ func (c *Client) addOperationUpdateConnectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_UpdateDataSource.go b/service/datazone/api_op_UpdateDataSource.go index d4ddd5740b7..5a0a3d1afee 100644 --- a/service/datazone/api_op_UpdateDataSource.go +++ b/service/datazone/api_op_UpdateDataSource.go @@ -225,9 +225,6 @@ func (c *Client) addOperationUpdateDataSourceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_UpdateDomain.go b/service/datazone/api_op_UpdateDomain.go index 03bb8d3d3ad..158bd2bda34 100644 --- a/service/datazone/api_op_UpdateDomain.go +++ b/service/datazone/api_op_UpdateDomain.go @@ -155,9 +155,6 @@ func (c *Client) addOperationUpdateDomainMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateDomainMiddleware(stack, options); err != nil { return err } diff --git a/service/datazone/api_op_UpdateDomainUnit.go b/service/datazone/api_op_UpdateDomainUnit.go index 1b69a82220e..10d330dfeec 100644 --- a/service/datazone/api_op_UpdateDomainUnit.go +++ b/service/datazone/api_op_UpdateDomainUnit.go @@ -159,9 +159,6 @@ func (c *Client) addOperationUpdateDomainUnitMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDomainUnitValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_UpdateEnvironment.go b/service/datazone/api_op_UpdateEnvironment.go index 638698b572c..2b731e89aea 100644 --- a/service/datazone/api_op_UpdateEnvironment.go +++ b/service/datazone/api_op_UpdateEnvironment.go @@ -199,9 +199,6 @@ func (c *Client) addOperationUpdateEnvironmentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEnvironmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_UpdateEnvironmentAction.go b/service/datazone/api_op_UpdateEnvironmentAction.go index 70a244357b9..4b01f979562 100644 --- a/service/datazone/api_op_UpdateEnvironmentAction.go +++ b/service/datazone/api_op_UpdateEnvironmentAction.go @@ -156,9 +156,6 @@ func (c *Client) addOperationUpdateEnvironmentActionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEnvironmentActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_UpdateEnvironmentProfile.go b/service/datazone/api_op_UpdateEnvironmentProfile.go index d70b721ed72..12987e8e4e9 100644 --- a/service/datazone/api_op_UpdateEnvironmentProfile.go +++ b/service/datazone/api_op_UpdateEnvironmentProfile.go @@ -185,9 +185,6 @@ func (c *Client) addOperationUpdateEnvironmentProfileMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEnvironmentProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_UpdateGlossary.go b/service/datazone/api_op_UpdateGlossary.go index 3c504c2f0b1..644e11cb638 100644 --- a/service/datazone/api_op_UpdateGlossary.go +++ b/service/datazone/api_op_UpdateGlossary.go @@ -155,9 +155,6 @@ func (c *Client) addOperationUpdateGlossaryMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateGlossaryMiddleware(stack, options); err != nil { return err } diff --git a/service/datazone/api_op_UpdateGlossaryTerm.go b/service/datazone/api_op_UpdateGlossaryTerm.go index 6b5cb80e84a..08396c04ed4 100644 --- a/service/datazone/api_op_UpdateGlossaryTerm.go +++ b/service/datazone/api_op_UpdateGlossaryTerm.go @@ -168,9 +168,6 @@ func (c *Client) addOperationUpdateGlossaryTermMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateGlossaryTermValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_UpdateGroupProfile.go b/service/datazone/api_op_UpdateGroupProfile.go index 0e038d6aebe..70e43d91168 100644 --- a/service/datazone/api_op_UpdateGroupProfile.go +++ b/service/datazone/api_op_UpdateGroupProfile.go @@ -133,9 +133,6 @@ func (c *Client) addOperationUpdateGroupProfileMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateGroupProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_UpdateProject.go b/service/datazone/api_op_UpdateProject.go index 521c3663708..325b95a55be 100644 --- a/service/datazone/api_op_UpdateProject.go +++ b/service/datazone/api_op_UpdateProject.go @@ -178,9 +178,6 @@ func (c *Client) addOperationUpdateProjectMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_UpdateProjectProfile.go b/service/datazone/api_op_UpdateProjectProfile.go index 3f312ae0c63..a6b8efe8efd 100644 --- a/service/datazone/api_op_UpdateProjectProfile.go +++ b/service/datazone/api_op_UpdateProjectProfile.go @@ -168,9 +168,6 @@ func (c *Client) addOperationUpdateProjectProfileMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateProjectProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_UpdateRule.go b/service/datazone/api_op_UpdateRule.go index 5d09df882c8..d2c85377b37 100644 --- a/service/datazone/api_op_UpdateRule.go +++ b/service/datazone/api_op_UpdateRule.go @@ -200,9 +200,6 @@ func (c *Client) addOperationUpdateRuleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_UpdateSubscriptionGrantStatus.go b/service/datazone/api_op_UpdateSubscriptionGrantStatus.go index f3f48b3ece0..7f438ee2c3e 100644 --- a/service/datazone/api_op_UpdateSubscriptionGrantStatus.go +++ b/service/datazone/api_op_UpdateSubscriptionGrantStatus.go @@ -190,9 +190,6 @@ func (c *Client) addOperationUpdateSubscriptionGrantStatusMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSubscriptionGrantStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_UpdateSubscriptionRequest.go b/service/datazone/api_op_UpdateSubscriptionRequest.go index 3326fabe1c8..e414f79bd5b 100644 --- a/service/datazone/api_op_UpdateSubscriptionRequest.go +++ b/service/datazone/api_op_UpdateSubscriptionRequest.go @@ -182,9 +182,6 @@ func (c *Client) addOperationUpdateSubscriptionRequestMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSubscriptionRequestValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_UpdateSubscriptionTarget.go b/service/datazone/api_op_UpdateSubscriptionTarget.go index 5dd88d40c00..1f789105a60 100644 --- a/service/datazone/api_op_UpdateSubscriptionTarget.go +++ b/service/datazone/api_op_UpdateSubscriptionTarget.go @@ -217,9 +217,6 @@ func (c *Client) addOperationUpdateSubscriptionTargetMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSubscriptionTargetValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/api_op_UpdateUserProfile.go b/service/datazone/api_op_UpdateUserProfile.go index 870d5c736b2..1bc60842a19 100644 --- a/service/datazone/api_op_UpdateUserProfile.go +++ b/service/datazone/api_op_UpdateUserProfile.go @@ -137,9 +137,6 @@ func (c *Client) addOperationUpdateUserProfileMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateUserProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/datazone/snapshot/api_op_AcceptPredictions.go.snap b/service/datazone/snapshot/api_op_AcceptPredictions.go.snap index 0388b4e152a..0da5793a6c0 100644 --- a/service/datazone/snapshot/api_op_AcceptPredictions.go.snap +++ b/service/datazone/snapshot/api_op_AcceptPredictions.go.snap @@ -15,7 +15,6 @@ AcceptPredictions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_AcceptSubscriptionRequest.go.snap b/service/datazone/snapshot/api_op_AcceptSubscriptionRequest.go.snap index e6ea08e68ce..8440811002a 100644 --- a/service/datazone/snapshot/api_op_AcceptSubscriptionRequest.go.snap +++ b/service/datazone/snapshot/api_op_AcceptSubscriptionRequest.go.snap @@ -14,7 +14,6 @@ AcceptSubscriptionRequest Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_AddEntityOwner.go.snap b/service/datazone/snapshot/api_op_AddEntityOwner.go.snap index aaa58ca46a4..3efbbf1a2b9 100644 --- a/service/datazone/snapshot/api_op_AddEntityOwner.go.snap +++ b/service/datazone/snapshot/api_op_AddEntityOwner.go.snap @@ -15,7 +15,6 @@ AddEntityOwner Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_AddPolicyGrant.go.snap b/service/datazone/snapshot/api_op_AddPolicyGrant.go.snap index b8796fa7462..46914fe1065 100644 --- a/service/datazone/snapshot/api_op_AddPolicyGrant.go.snap +++ b/service/datazone/snapshot/api_op_AddPolicyGrant.go.snap @@ -15,7 +15,6 @@ AddPolicyGrant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_AssociateEnvironmentRole.go.snap b/service/datazone/snapshot/api_op_AssociateEnvironmentRole.go.snap index a21068240a7..604989d5d05 100644 --- a/service/datazone/snapshot/api_op_AssociateEnvironmentRole.go.snap +++ b/service/datazone/snapshot/api_op_AssociateEnvironmentRole.go.snap @@ -14,7 +14,6 @@ AssociateEnvironmentRole Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_CancelMetadataGenerationRun.go.snap b/service/datazone/snapshot/api_op_CancelMetadataGenerationRun.go.snap index b1be66e2e8d..201bfa1b4c4 100644 --- a/service/datazone/snapshot/api_op_CancelMetadataGenerationRun.go.snap +++ b/service/datazone/snapshot/api_op_CancelMetadataGenerationRun.go.snap @@ -14,7 +14,6 @@ CancelMetadataGenerationRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_CancelSubscription.go.snap b/service/datazone/snapshot/api_op_CancelSubscription.go.snap index a860b03420e..1fd68a3d1eb 100644 --- a/service/datazone/snapshot/api_op_CancelSubscription.go.snap +++ b/service/datazone/snapshot/api_op_CancelSubscription.go.snap @@ -14,7 +14,6 @@ CancelSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_CreateAsset.go.snap b/service/datazone/snapshot/api_op_CreateAsset.go.snap index 499c01253a0..a95294597f1 100644 --- a/service/datazone/snapshot/api_op_CreateAsset.go.snap +++ b/service/datazone/snapshot/api_op_CreateAsset.go.snap @@ -15,7 +15,6 @@ CreateAsset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_CreateAssetFilter.go.snap b/service/datazone/snapshot/api_op_CreateAssetFilter.go.snap index 3ebf47df9c6..330a2836950 100644 --- a/service/datazone/snapshot/api_op_CreateAssetFilter.go.snap +++ b/service/datazone/snapshot/api_op_CreateAssetFilter.go.snap @@ -15,7 +15,6 @@ CreateAssetFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_CreateAssetRevision.go.snap b/service/datazone/snapshot/api_op_CreateAssetRevision.go.snap index 876740fd093..75470ed1df1 100644 --- a/service/datazone/snapshot/api_op_CreateAssetRevision.go.snap +++ b/service/datazone/snapshot/api_op_CreateAssetRevision.go.snap @@ -15,7 +15,6 @@ CreateAssetRevision Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_CreateAssetType.go.snap b/service/datazone/snapshot/api_op_CreateAssetType.go.snap index f4405872f9e..8aef5e5d99c 100644 --- a/service/datazone/snapshot/api_op_CreateAssetType.go.snap +++ b/service/datazone/snapshot/api_op_CreateAssetType.go.snap @@ -14,7 +14,6 @@ CreateAssetType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_CreateConnection.go.snap b/service/datazone/snapshot/api_op_CreateConnection.go.snap index 1386e59925b..11157dc6d26 100644 --- a/service/datazone/snapshot/api_op_CreateConnection.go.snap +++ b/service/datazone/snapshot/api_op_CreateConnection.go.snap @@ -15,7 +15,6 @@ CreateConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_CreateDataProduct.go.snap b/service/datazone/snapshot/api_op_CreateDataProduct.go.snap index 8d3e6b7197d..9282def10e4 100644 --- a/service/datazone/snapshot/api_op_CreateDataProduct.go.snap +++ b/service/datazone/snapshot/api_op_CreateDataProduct.go.snap @@ -15,7 +15,6 @@ CreateDataProduct Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_CreateDataProductRevision.go.snap b/service/datazone/snapshot/api_op_CreateDataProductRevision.go.snap index 1f7d09c78cc..7c0326bb729 100644 --- a/service/datazone/snapshot/api_op_CreateDataProductRevision.go.snap +++ b/service/datazone/snapshot/api_op_CreateDataProductRevision.go.snap @@ -15,7 +15,6 @@ CreateDataProductRevision Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_CreateDataSource.go.snap b/service/datazone/snapshot/api_op_CreateDataSource.go.snap index 8e050aefe11..69b70d6c00e 100644 --- a/service/datazone/snapshot/api_op_CreateDataSource.go.snap +++ b/service/datazone/snapshot/api_op_CreateDataSource.go.snap @@ -15,7 +15,6 @@ CreateDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_CreateDomain.go.snap b/service/datazone/snapshot/api_op_CreateDomain.go.snap index b0291614ec3..af687da752e 100644 --- a/service/datazone/snapshot/api_op_CreateDomain.go.snap +++ b/service/datazone/snapshot/api_op_CreateDomain.go.snap @@ -15,7 +15,6 @@ CreateDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_CreateDomainUnit.go.snap b/service/datazone/snapshot/api_op_CreateDomainUnit.go.snap index e6ac4b69f5d..b6d28300b42 100644 --- a/service/datazone/snapshot/api_op_CreateDomainUnit.go.snap +++ b/service/datazone/snapshot/api_op_CreateDomainUnit.go.snap @@ -15,7 +15,6 @@ CreateDomainUnit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_CreateEnvironment.go.snap b/service/datazone/snapshot/api_op_CreateEnvironment.go.snap index b57bec0043d..04b7f27479d 100644 --- a/service/datazone/snapshot/api_op_CreateEnvironment.go.snap +++ b/service/datazone/snapshot/api_op_CreateEnvironment.go.snap @@ -14,7 +14,6 @@ CreateEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_CreateEnvironmentAction.go.snap b/service/datazone/snapshot/api_op_CreateEnvironmentAction.go.snap index 2b8a707701b..6c320b82784 100644 --- a/service/datazone/snapshot/api_op_CreateEnvironmentAction.go.snap +++ b/service/datazone/snapshot/api_op_CreateEnvironmentAction.go.snap @@ -14,7 +14,6 @@ CreateEnvironmentAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_CreateEnvironmentProfile.go.snap b/service/datazone/snapshot/api_op_CreateEnvironmentProfile.go.snap index abf97b6ad64..2e5b97660c4 100644 --- a/service/datazone/snapshot/api_op_CreateEnvironmentProfile.go.snap +++ b/service/datazone/snapshot/api_op_CreateEnvironmentProfile.go.snap @@ -14,7 +14,6 @@ CreateEnvironmentProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_CreateFormType.go.snap b/service/datazone/snapshot/api_op_CreateFormType.go.snap index d3f743aa1b4..9d542578e75 100644 --- a/service/datazone/snapshot/api_op_CreateFormType.go.snap +++ b/service/datazone/snapshot/api_op_CreateFormType.go.snap @@ -14,7 +14,6 @@ CreateFormType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_CreateGlossary.go.snap b/service/datazone/snapshot/api_op_CreateGlossary.go.snap index de0df79d6ec..ff106425170 100644 --- a/service/datazone/snapshot/api_op_CreateGlossary.go.snap +++ b/service/datazone/snapshot/api_op_CreateGlossary.go.snap @@ -15,7 +15,6 @@ CreateGlossary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_CreateGlossaryTerm.go.snap b/service/datazone/snapshot/api_op_CreateGlossaryTerm.go.snap index 8c66ab61c42..cb3289289b3 100644 --- a/service/datazone/snapshot/api_op_CreateGlossaryTerm.go.snap +++ b/service/datazone/snapshot/api_op_CreateGlossaryTerm.go.snap @@ -15,7 +15,6 @@ CreateGlossaryTerm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_CreateGroupProfile.go.snap b/service/datazone/snapshot/api_op_CreateGroupProfile.go.snap index d03ac321bfd..abb078d5847 100644 --- a/service/datazone/snapshot/api_op_CreateGroupProfile.go.snap +++ b/service/datazone/snapshot/api_op_CreateGroupProfile.go.snap @@ -15,7 +15,6 @@ CreateGroupProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_CreateListingChangeSet.go.snap b/service/datazone/snapshot/api_op_CreateListingChangeSet.go.snap index 59b8733d5d1..d872cf9946b 100644 --- a/service/datazone/snapshot/api_op_CreateListingChangeSet.go.snap +++ b/service/datazone/snapshot/api_op_CreateListingChangeSet.go.snap @@ -15,7 +15,6 @@ CreateListingChangeSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_CreateProject.go.snap b/service/datazone/snapshot/api_op_CreateProject.go.snap index 5011a8d8cc3..7ae2b811d6c 100644 --- a/service/datazone/snapshot/api_op_CreateProject.go.snap +++ b/service/datazone/snapshot/api_op_CreateProject.go.snap @@ -14,7 +14,6 @@ CreateProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_CreateProjectMembership.go.snap b/service/datazone/snapshot/api_op_CreateProjectMembership.go.snap index 0b504b0c0b5..97abd89a1f0 100644 --- a/service/datazone/snapshot/api_op_CreateProjectMembership.go.snap +++ b/service/datazone/snapshot/api_op_CreateProjectMembership.go.snap @@ -14,7 +14,6 @@ CreateProjectMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_CreateProjectProfile.go.snap b/service/datazone/snapshot/api_op_CreateProjectProfile.go.snap index 936c3a90e35..11e1cf8d7e7 100644 --- a/service/datazone/snapshot/api_op_CreateProjectProfile.go.snap +++ b/service/datazone/snapshot/api_op_CreateProjectProfile.go.snap @@ -14,7 +14,6 @@ CreateProjectProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_CreateRule.go.snap b/service/datazone/snapshot/api_op_CreateRule.go.snap index 341ab226009..9278956f564 100644 --- a/service/datazone/snapshot/api_op_CreateRule.go.snap +++ b/service/datazone/snapshot/api_op_CreateRule.go.snap @@ -15,7 +15,6 @@ CreateRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_CreateSubscriptionGrant.go.snap b/service/datazone/snapshot/api_op_CreateSubscriptionGrant.go.snap index d0cacecd713..f14e7c94dd9 100644 --- a/service/datazone/snapshot/api_op_CreateSubscriptionGrant.go.snap +++ b/service/datazone/snapshot/api_op_CreateSubscriptionGrant.go.snap @@ -15,7 +15,6 @@ CreateSubscriptionGrant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_CreateSubscriptionRequest.go.snap b/service/datazone/snapshot/api_op_CreateSubscriptionRequest.go.snap index ea4faa51071..0d61598adc7 100644 --- a/service/datazone/snapshot/api_op_CreateSubscriptionRequest.go.snap +++ b/service/datazone/snapshot/api_op_CreateSubscriptionRequest.go.snap @@ -15,7 +15,6 @@ CreateSubscriptionRequest Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_CreateSubscriptionTarget.go.snap b/service/datazone/snapshot/api_op_CreateSubscriptionTarget.go.snap index f35c1954a09..e645fc16a76 100644 --- a/service/datazone/snapshot/api_op_CreateSubscriptionTarget.go.snap +++ b/service/datazone/snapshot/api_op_CreateSubscriptionTarget.go.snap @@ -15,7 +15,6 @@ CreateSubscriptionTarget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_CreateUserProfile.go.snap b/service/datazone/snapshot/api_op_CreateUserProfile.go.snap index 27ad5970b60..f1f2592c72e 100644 --- a/service/datazone/snapshot/api_op_CreateUserProfile.go.snap +++ b/service/datazone/snapshot/api_op_CreateUserProfile.go.snap @@ -15,7 +15,6 @@ CreateUserProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_DeleteAsset.go.snap b/service/datazone/snapshot/api_op_DeleteAsset.go.snap index b3fc5112fcd..d6e666f8120 100644 --- a/service/datazone/snapshot/api_op_DeleteAsset.go.snap +++ b/service/datazone/snapshot/api_op_DeleteAsset.go.snap @@ -14,7 +14,6 @@ DeleteAsset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_DeleteAssetFilter.go.snap b/service/datazone/snapshot/api_op_DeleteAssetFilter.go.snap index b8cfb119499..0308e1ab8e1 100644 --- a/service/datazone/snapshot/api_op_DeleteAssetFilter.go.snap +++ b/service/datazone/snapshot/api_op_DeleteAssetFilter.go.snap @@ -14,7 +14,6 @@ DeleteAssetFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_DeleteAssetType.go.snap b/service/datazone/snapshot/api_op_DeleteAssetType.go.snap index 2dd0f44ecf6..e51dd762aca 100644 --- a/service/datazone/snapshot/api_op_DeleteAssetType.go.snap +++ b/service/datazone/snapshot/api_op_DeleteAssetType.go.snap @@ -14,7 +14,6 @@ DeleteAssetType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_DeleteConnection.go.snap b/service/datazone/snapshot/api_op_DeleteConnection.go.snap index 95b646dafd7..a9cca584913 100644 --- a/service/datazone/snapshot/api_op_DeleteConnection.go.snap +++ b/service/datazone/snapshot/api_op_DeleteConnection.go.snap @@ -14,7 +14,6 @@ DeleteConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_DeleteDataProduct.go.snap b/service/datazone/snapshot/api_op_DeleteDataProduct.go.snap index 8f0844be2a9..6f494c4de50 100644 --- a/service/datazone/snapshot/api_op_DeleteDataProduct.go.snap +++ b/service/datazone/snapshot/api_op_DeleteDataProduct.go.snap @@ -14,7 +14,6 @@ DeleteDataProduct Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_DeleteDataSource.go.snap b/service/datazone/snapshot/api_op_DeleteDataSource.go.snap index 153327b7003..1f226cd43ad 100644 --- a/service/datazone/snapshot/api_op_DeleteDataSource.go.snap +++ b/service/datazone/snapshot/api_op_DeleteDataSource.go.snap @@ -15,7 +15,6 @@ DeleteDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_DeleteDomain.go.snap b/service/datazone/snapshot/api_op_DeleteDomain.go.snap index 34a20f14d7a..1c6d15e2908 100644 --- a/service/datazone/snapshot/api_op_DeleteDomain.go.snap +++ b/service/datazone/snapshot/api_op_DeleteDomain.go.snap @@ -15,7 +15,6 @@ DeleteDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_DeleteDomainUnit.go.snap b/service/datazone/snapshot/api_op_DeleteDomainUnit.go.snap index 1ff3e0bd5ad..7d426f2b188 100644 --- a/service/datazone/snapshot/api_op_DeleteDomainUnit.go.snap +++ b/service/datazone/snapshot/api_op_DeleteDomainUnit.go.snap @@ -14,7 +14,6 @@ DeleteDomainUnit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_DeleteEnvironment.go.snap b/service/datazone/snapshot/api_op_DeleteEnvironment.go.snap index c799f299d43..b7abf2a0643 100644 --- a/service/datazone/snapshot/api_op_DeleteEnvironment.go.snap +++ b/service/datazone/snapshot/api_op_DeleteEnvironment.go.snap @@ -14,7 +14,6 @@ DeleteEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_DeleteEnvironmentAction.go.snap b/service/datazone/snapshot/api_op_DeleteEnvironmentAction.go.snap index 59e4e2e1f67..46e9e0953d6 100644 --- a/service/datazone/snapshot/api_op_DeleteEnvironmentAction.go.snap +++ b/service/datazone/snapshot/api_op_DeleteEnvironmentAction.go.snap @@ -14,7 +14,6 @@ DeleteEnvironmentAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_DeleteEnvironmentBlueprintConfiguration.go.snap b/service/datazone/snapshot/api_op_DeleteEnvironmentBlueprintConfiguration.go.snap index 76e34923bd1..92632644c42 100644 --- a/service/datazone/snapshot/api_op_DeleteEnvironmentBlueprintConfiguration.go.snap +++ b/service/datazone/snapshot/api_op_DeleteEnvironmentBlueprintConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteEnvironmentBlueprintConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_DeleteEnvironmentProfile.go.snap b/service/datazone/snapshot/api_op_DeleteEnvironmentProfile.go.snap index 8f7b3d12b4c..3f953a34148 100644 --- a/service/datazone/snapshot/api_op_DeleteEnvironmentProfile.go.snap +++ b/service/datazone/snapshot/api_op_DeleteEnvironmentProfile.go.snap @@ -14,7 +14,6 @@ DeleteEnvironmentProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_DeleteFormType.go.snap b/service/datazone/snapshot/api_op_DeleteFormType.go.snap index 7ff90176dd1..c71f95d17fc 100644 --- a/service/datazone/snapshot/api_op_DeleteFormType.go.snap +++ b/service/datazone/snapshot/api_op_DeleteFormType.go.snap @@ -14,7 +14,6 @@ DeleteFormType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_DeleteGlossary.go.snap b/service/datazone/snapshot/api_op_DeleteGlossary.go.snap index 835ef88d122..50b2ba7c638 100644 --- a/service/datazone/snapshot/api_op_DeleteGlossary.go.snap +++ b/service/datazone/snapshot/api_op_DeleteGlossary.go.snap @@ -14,7 +14,6 @@ DeleteGlossary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_DeleteGlossaryTerm.go.snap b/service/datazone/snapshot/api_op_DeleteGlossaryTerm.go.snap index e332f637832..0edd2bb402d 100644 --- a/service/datazone/snapshot/api_op_DeleteGlossaryTerm.go.snap +++ b/service/datazone/snapshot/api_op_DeleteGlossaryTerm.go.snap @@ -14,7 +14,6 @@ DeleteGlossaryTerm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_DeleteListing.go.snap b/service/datazone/snapshot/api_op_DeleteListing.go.snap index 943b1b6e420..65eaad672e1 100644 --- a/service/datazone/snapshot/api_op_DeleteListing.go.snap +++ b/service/datazone/snapshot/api_op_DeleteListing.go.snap @@ -14,7 +14,6 @@ DeleteListing Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_DeleteProject.go.snap b/service/datazone/snapshot/api_op_DeleteProject.go.snap index 382ba97b69d..175218d872d 100644 --- a/service/datazone/snapshot/api_op_DeleteProject.go.snap +++ b/service/datazone/snapshot/api_op_DeleteProject.go.snap @@ -14,7 +14,6 @@ DeleteProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_DeleteProjectMembership.go.snap b/service/datazone/snapshot/api_op_DeleteProjectMembership.go.snap index 9b17ae40ed3..0ab75dbb7dd 100644 --- a/service/datazone/snapshot/api_op_DeleteProjectMembership.go.snap +++ b/service/datazone/snapshot/api_op_DeleteProjectMembership.go.snap @@ -14,7 +14,6 @@ DeleteProjectMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_DeleteProjectProfile.go.snap b/service/datazone/snapshot/api_op_DeleteProjectProfile.go.snap index 14c970bb049..ae203a11c97 100644 --- a/service/datazone/snapshot/api_op_DeleteProjectProfile.go.snap +++ b/service/datazone/snapshot/api_op_DeleteProjectProfile.go.snap @@ -14,7 +14,6 @@ DeleteProjectProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_DeleteRule.go.snap b/service/datazone/snapshot/api_op_DeleteRule.go.snap index dd841287b59..a6bc8103292 100644 --- a/service/datazone/snapshot/api_op_DeleteRule.go.snap +++ b/service/datazone/snapshot/api_op_DeleteRule.go.snap @@ -14,7 +14,6 @@ DeleteRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_DeleteSubscriptionGrant.go.snap b/service/datazone/snapshot/api_op_DeleteSubscriptionGrant.go.snap index ff28e75e5c5..9aee9a4b893 100644 --- a/service/datazone/snapshot/api_op_DeleteSubscriptionGrant.go.snap +++ b/service/datazone/snapshot/api_op_DeleteSubscriptionGrant.go.snap @@ -14,7 +14,6 @@ DeleteSubscriptionGrant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_DeleteSubscriptionRequest.go.snap b/service/datazone/snapshot/api_op_DeleteSubscriptionRequest.go.snap index f986a45fdb3..d173d7e83e9 100644 --- a/service/datazone/snapshot/api_op_DeleteSubscriptionRequest.go.snap +++ b/service/datazone/snapshot/api_op_DeleteSubscriptionRequest.go.snap @@ -14,7 +14,6 @@ DeleteSubscriptionRequest Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_DeleteSubscriptionTarget.go.snap b/service/datazone/snapshot/api_op_DeleteSubscriptionTarget.go.snap index 240be629f23..168aee0a2f2 100644 --- a/service/datazone/snapshot/api_op_DeleteSubscriptionTarget.go.snap +++ b/service/datazone/snapshot/api_op_DeleteSubscriptionTarget.go.snap @@ -14,7 +14,6 @@ DeleteSubscriptionTarget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_DeleteTimeSeriesDataPoints.go.snap b/service/datazone/snapshot/api_op_DeleteTimeSeriesDataPoints.go.snap index 22a330981f8..c8a2389db2b 100644 --- a/service/datazone/snapshot/api_op_DeleteTimeSeriesDataPoints.go.snap +++ b/service/datazone/snapshot/api_op_DeleteTimeSeriesDataPoints.go.snap @@ -15,7 +15,6 @@ DeleteTimeSeriesDataPoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_DisassociateEnvironmentRole.go.snap b/service/datazone/snapshot/api_op_DisassociateEnvironmentRole.go.snap index 078ace0cba0..9f6281a60e0 100644 --- a/service/datazone/snapshot/api_op_DisassociateEnvironmentRole.go.snap +++ b/service/datazone/snapshot/api_op_DisassociateEnvironmentRole.go.snap @@ -14,7 +14,6 @@ DisassociateEnvironmentRole Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetAsset.go.snap b/service/datazone/snapshot/api_op_GetAsset.go.snap index 43738922cfd..b3ba490b32b 100644 --- a/service/datazone/snapshot/api_op_GetAsset.go.snap +++ b/service/datazone/snapshot/api_op_GetAsset.go.snap @@ -14,7 +14,6 @@ GetAsset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetAssetFilter.go.snap b/service/datazone/snapshot/api_op_GetAssetFilter.go.snap index 090476a6f74..7ded1fc421a 100644 --- a/service/datazone/snapshot/api_op_GetAssetFilter.go.snap +++ b/service/datazone/snapshot/api_op_GetAssetFilter.go.snap @@ -14,7 +14,6 @@ GetAssetFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetAssetType.go.snap b/service/datazone/snapshot/api_op_GetAssetType.go.snap index c483ffb4c10..5fab08f19d3 100644 --- a/service/datazone/snapshot/api_op_GetAssetType.go.snap +++ b/service/datazone/snapshot/api_op_GetAssetType.go.snap @@ -14,7 +14,6 @@ GetAssetType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetConnection.go.snap b/service/datazone/snapshot/api_op_GetConnection.go.snap index b305d4ada6d..b6411ef260a 100644 --- a/service/datazone/snapshot/api_op_GetConnection.go.snap +++ b/service/datazone/snapshot/api_op_GetConnection.go.snap @@ -14,7 +14,6 @@ GetConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetDataProduct.go.snap b/service/datazone/snapshot/api_op_GetDataProduct.go.snap index e7c34933739..52202b457a1 100644 --- a/service/datazone/snapshot/api_op_GetDataProduct.go.snap +++ b/service/datazone/snapshot/api_op_GetDataProduct.go.snap @@ -14,7 +14,6 @@ GetDataProduct Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetDataSource.go.snap b/service/datazone/snapshot/api_op_GetDataSource.go.snap index 02f70812fc1..710bc995cac 100644 --- a/service/datazone/snapshot/api_op_GetDataSource.go.snap +++ b/service/datazone/snapshot/api_op_GetDataSource.go.snap @@ -14,7 +14,6 @@ GetDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetDataSourceRun.go.snap b/service/datazone/snapshot/api_op_GetDataSourceRun.go.snap index d768ffefdc0..27c51b8d5ad 100644 --- a/service/datazone/snapshot/api_op_GetDataSourceRun.go.snap +++ b/service/datazone/snapshot/api_op_GetDataSourceRun.go.snap @@ -14,7 +14,6 @@ GetDataSourceRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetDomain.go.snap b/service/datazone/snapshot/api_op_GetDomain.go.snap index 18aaf8491da..d701a7b1505 100644 --- a/service/datazone/snapshot/api_op_GetDomain.go.snap +++ b/service/datazone/snapshot/api_op_GetDomain.go.snap @@ -14,7 +14,6 @@ GetDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetDomainUnit.go.snap b/service/datazone/snapshot/api_op_GetDomainUnit.go.snap index 04d217b67e2..1836443d26b 100644 --- a/service/datazone/snapshot/api_op_GetDomainUnit.go.snap +++ b/service/datazone/snapshot/api_op_GetDomainUnit.go.snap @@ -14,7 +14,6 @@ GetDomainUnit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetEnvironment.go.snap b/service/datazone/snapshot/api_op_GetEnvironment.go.snap index 6f558393d06..9485ee9410e 100644 --- a/service/datazone/snapshot/api_op_GetEnvironment.go.snap +++ b/service/datazone/snapshot/api_op_GetEnvironment.go.snap @@ -14,7 +14,6 @@ GetEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetEnvironmentAction.go.snap b/service/datazone/snapshot/api_op_GetEnvironmentAction.go.snap index eea64763c97..af67c8c3be8 100644 --- a/service/datazone/snapshot/api_op_GetEnvironmentAction.go.snap +++ b/service/datazone/snapshot/api_op_GetEnvironmentAction.go.snap @@ -14,7 +14,6 @@ GetEnvironmentAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetEnvironmentBlueprint.go.snap b/service/datazone/snapshot/api_op_GetEnvironmentBlueprint.go.snap index 30c7ef4eb09..72b25682f47 100644 --- a/service/datazone/snapshot/api_op_GetEnvironmentBlueprint.go.snap +++ b/service/datazone/snapshot/api_op_GetEnvironmentBlueprint.go.snap @@ -14,7 +14,6 @@ GetEnvironmentBlueprint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetEnvironmentBlueprintConfiguration.go.snap b/service/datazone/snapshot/api_op_GetEnvironmentBlueprintConfiguration.go.snap index 2ba6d7a355b..66f3c3024aa 100644 --- a/service/datazone/snapshot/api_op_GetEnvironmentBlueprintConfiguration.go.snap +++ b/service/datazone/snapshot/api_op_GetEnvironmentBlueprintConfiguration.go.snap @@ -14,7 +14,6 @@ GetEnvironmentBlueprintConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetEnvironmentCredentials.go.snap b/service/datazone/snapshot/api_op_GetEnvironmentCredentials.go.snap index 37007469578..78f327dfb88 100644 --- a/service/datazone/snapshot/api_op_GetEnvironmentCredentials.go.snap +++ b/service/datazone/snapshot/api_op_GetEnvironmentCredentials.go.snap @@ -14,7 +14,6 @@ GetEnvironmentCredentials Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetEnvironmentProfile.go.snap b/service/datazone/snapshot/api_op_GetEnvironmentProfile.go.snap index 927fdf4ac9c..5cbbafe8e63 100644 --- a/service/datazone/snapshot/api_op_GetEnvironmentProfile.go.snap +++ b/service/datazone/snapshot/api_op_GetEnvironmentProfile.go.snap @@ -14,7 +14,6 @@ GetEnvironmentProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetFormType.go.snap b/service/datazone/snapshot/api_op_GetFormType.go.snap index 7c2772d4f52..c3de8e47cf9 100644 --- a/service/datazone/snapshot/api_op_GetFormType.go.snap +++ b/service/datazone/snapshot/api_op_GetFormType.go.snap @@ -14,7 +14,6 @@ GetFormType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetGlossary.go.snap b/service/datazone/snapshot/api_op_GetGlossary.go.snap index f7918eaaa01..9b8f0be00be 100644 --- a/service/datazone/snapshot/api_op_GetGlossary.go.snap +++ b/service/datazone/snapshot/api_op_GetGlossary.go.snap @@ -14,7 +14,6 @@ GetGlossary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetGlossaryTerm.go.snap b/service/datazone/snapshot/api_op_GetGlossaryTerm.go.snap index d4a0a7142ad..a63c5fb52d3 100644 --- a/service/datazone/snapshot/api_op_GetGlossaryTerm.go.snap +++ b/service/datazone/snapshot/api_op_GetGlossaryTerm.go.snap @@ -14,7 +14,6 @@ GetGlossaryTerm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetGroupProfile.go.snap b/service/datazone/snapshot/api_op_GetGroupProfile.go.snap index 4da29383e57..d0b2722ff1c 100644 --- a/service/datazone/snapshot/api_op_GetGroupProfile.go.snap +++ b/service/datazone/snapshot/api_op_GetGroupProfile.go.snap @@ -14,7 +14,6 @@ GetGroupProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetIamPortalLoginUrl.go.snap b/service/datazone/snapshot/api_op_GetIamPortalLoginUrl.go.snap index 4ba02b23cce..1f6170810c9 100644 --- a/service/datazone/snapshot/api_op_GetIamPortalLoginUrl.go.snap +++ b/service/datazone/snapshot/api_op_GetIamPortalLoginUrl.go.snap @@ -14,7 +14,6 @@ GetIamPortalLoginUrl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetJobRun.go.snap b/service/datazone/snapshot/api_op_GetJobRun.go.snap index 7ef95b031aa..3979268055d 100644 --- a/service/datazone/snapshot/api_op_GetJobRun.go.snap +++ b/service/datazone/snapshot/api_op_GetJobRun.go.snap @@ -14,7 +14,6 @@ GetJobRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetLineageEvent.go.snap b/service/datazone/snapshot/api_op_GetLineageEvent.go.snap index ac0c446b961..d01f8f0db9d 100644 --- a/service/datazone/snapshot/api_op_GetLineageEvent.go.snap +++ b/service/datazone/snapshot/api_op_GetLineageEvent.go.snap @@ -14,7 +14,6 @@ GetLineageEvent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetLineageNode.go.snap b/service/datazone/snapshot/api_op_GetLineageNode.go.snap index 1b52f574a67..5a68c7e613c 100644 --- a/service/datazone/snapshot/api_op_GetLineageNode.go.snap +++ b/service/datazone/snapshot/api_op_GetLineageNode.go.snap @@ -14,7 +14,6 @@ GetLineageNode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetListing.go.snap b/service/datazone/snapshot/api_op_GetListing.go.snap index 2c93d956bf7..ec4c8daa713 100644 --- a/service/datazone/snapshot/api_op_GetListing.go.snap +++ b/service/datazone/snapshot/api_op_GetListing.go.snap @@ -14,7 +14,6 @@ GetListing Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetMetadataGenerationRun.go.snap b/service/datazone/snapshot/api_op_GetMetadataGenerationRun.go.snap index d291b239872..21e0850be2a 100644 --- a/service/datazone/snapshot/api_op_GetMetadataGenerationRun.go.snap +++ b/service/datazone/snapshot/api_op_GetMetadataGenerationRun.go.snap @@ -14,7 +14,6 @@ GetMetadataGenerationRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetProject.go.snap b/service/datazone/snapshot/api_op_GetProject.go.snap index be6729ff9b9..bc23d35cff2 100644 --- a/service/datazone/snapshot/api_op_GetProject.go.snap +++ b/service/datazone/snapshot/api_op_GetProject.go.snap @@ -14,7 +14,6 @@ GetProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetProjectProfile.go.snap b/service/datazone/snapshot/api_op_GetProjectProfile.go.snap index 1993c30bce3..3d736dcac8e 100644 --- a/service/datazone/snapshot/api_op_GetProjectProfile.go.snap +++ b/service/datazone/snapshot/api_op_GetProjectProfile.go.snap @@ -14,7 +14,6 @@ GetProjectProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetRule.go.snap b/service/datazone/snapshot/api_op_GetRule.go.snap index 6752a7a08cc..6baf28ba349 100644 --- a/service/datazone/snapshot/api_op_GetRule.go.snap +++ b/service/datazone/snapshot/api_op_GetRule.go.snap @@ -14,7 +14,6 @@ GetRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetSubscription.go.snap b/service/datazone/snapshot/api_op_GetSubscription.go.snap index 12564369849..43ffcfab576 100644 --- a/service/datazone/snapshot/api_op_GetSubscription.go.snap +++ b/service/datazone/snapshot/api_op_GetSubscription.go.snap @@ -14,7 +14,6 @@ GetSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetSubscriptionGrant.go.snap b/service/datazone/snapshot/api_op_GetSubscriptionGrant.go.snap index 1bea718a935..f9b6eaffa17 100644 --- a/service/datazone/snapshot/api_op_GetSubscriptionGrant.go.snap +++ b/service/datazone/snapshot/api_op_GetSubscriptionGrant.go.snap @@ -14,7 +14,6 @@ GetSubscriptionGrant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetSubscriptionRequestDetails.go.snap b/service/datazone/snapshot/api_op_GetSubscriptionRequestDetails.go.snap index 6b3e2d640de..54a5c32016b 100644 --- a/service/datazone/snapshot/api_op_GetSubscriptionRequestDetails.go.snap +++ b/service/datazone/snapshot/api_op_GetSubscriptionRequestDetails.go.snap @@ -14,7 +14,6 @@ GetSubscriptionRequestDetails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetSubscriptionTarget.go.snap b/service/datazone/snapshot/api_op_GetSubscriptionTarget.go.snap index 28ca5cfbd2f..2f91e047144 100644 --- a/service/datazone/snapshot/api_op_GetSubscriptionTarget.go.snap +++ b/service/datazone/snapshot/api_op_GetSubscriptionTarget.go.snap @@ -14,7 +14,6 @@ GetSubscriptionTarget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetTimeSeriesDataPoint.go.snap b/service/datazone/snapshot/api_op_GetTimeSeriesDataPoint.go.snap index 0b086d3bace..a06e92fec30 100644 --- a/service/datazone/snapshot/api_op_GetTimeSeriesDataPoint.go.snap +++ b/service/datazone/snapshot/api_op_GetTimeSeriesDataPoint.go.snap @@ -14,7 +14,6 @@ GetTimeSeriesDataPoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_GetUserProfile.go.snap b/service/datazone/snapshot/api_op_GetUserProfile.go.snap index fe61e6c9c6e..30131faa06e 100644 --- a/service/datazone/snapshot/api_op_GetUserProfile.go.snap +++ b/service/datazone/snapshot/api_op_GetUserProfile.go.snap @@ -14,7 +14,6 @@ GetUserProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_ListAssetFilters.go.snap b/service/datazone/snapshot/api_op_ListAssetFilters.go.snap index 8a01f07c713..2a96c114dbf 100644 --- a/service/datazone/snapshot/api_op_ListAssetFilters.go.snap +++ b/service/datazone/snapshot/api_op_ListAssetFilters.go.snap @@ -14,7 +14,6 @@ ListAssetFilters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_ListAssetRevisions.go.snap b/service/datazone/snapshot/api_op_ListAssetRevisions.go.snap index 1bb38db8115..779d9317551 100644 --- a/service/datazone/snapshot/api_op_ListAssetRevisions.go.snap +++ b/service/datazone/snapshot/api_op_ListAssetRevisions.go.snap @@ -14,7 +14,6 @@ ListAssetRevisions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_ListConnections.go.snap b/service/datazone/snapshot/api_op_ListConnections.go.snap index 0a28d6eca55..714ca02461a 100644 --- a/service/datazone/snapshot/api_op_ListConnections.go.snap +++ b/service/datazone/snapshot/api_op_ListConnections.go.snap @@ -14,7 +14,6 @@ ListConnections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_ListDataProductRevisions.go.snap b/service/datazone/snapshot/api_op_ListDataProductRevisions.go.snap index f975f08f019..10763fa23d4 100644 --- a/service/datazone/snapshot/api_op_ListDataProductRevisions.go.snap +++ b/service/datazone/snapshot/api_op_ListDataProductRevisions.go.snap @@ -14,7 +14,6 @@ ListDataProductRevisions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_ListDataSourceRunActivities.go.snap b/service/datazone/snapshot/api_op_ListDataSourceRunActivities.go.snap index 9de343cee6c..ffd06a4aa1f 100644 --- a/service/datazone/snapshot/api_op_ListDataSourceRunActivities.go.snap +++ b/service/datazone/snapshot/api_op_ListDataSourceRunActivities.go.snap @@ -14,7 +14,6 @@ ListDataSourceRunActivities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_ListDataSourceRuns.go.snap b/service/datazone/snapshot/api_op_ListDataSourceRuns.go.snap index 0653bc1d805..bdf37577592 100644 --- a/service/datazone/snapshot/api_op_ListDataSourceRuns.go.snap +++ b/service/datazone/snapshot/api_op_ListDataSourceRuns.go.snap @@ -14,7 +14,6 @@ ListDataSourceRuns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_ListDataSources.go.snap b/service/datazone/snapshot/api_op_ListDataSources.go.snap index c47a00675e6..2ef138c6eb5 100644 --- a/service/datazone/snapshot/api_op_ListDataSources.go.snap +++ b/service/datazone/snapshot/api_op_ListDataSources.go.snap @@ -14,7 +14,6 @@ ListDataSources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_ListDomainUnitsForParent.go.snap b/service/datazone/snapshot/api_op_ListDomainUnitsForParent.go.snap index 8111a7d431b..d4a2b0b8b08 100644 --- a/service/datazone/snapshot/api_op_ListDomainUnitsForParent.go.snap +++ b/service/datazone/snapshot/api_op_ListDomainUnitsForParent.go.snap @@ -14,7 +14,6 @@ ListDomainUnitsForParent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_ListDomains.go.snap b/service/datazone/snapshot/api_op_ListDomains.go.snap index 2bbde619ff2..8bf23a39993 100644 --- a/service/datazone/snapshot/api_op_ListDomains.go.snap +++ b/service/datazone/snapshot/api_op_ListDomains.go.snap @@ -13,7 +13,6 @@ ListDomains Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_ListEntityOwners.go.snap b/service/datazone/snapshot/api_op_ListEntityOwners.go.snap index 50b86c4f02a..145996a280b 100644 --- a/service/datazone/snapshot/api_op_ListEntityOwners.go.snap +++ b/service/datazone/snapshot/api_op_ListEntityOwners.go.snap @@ -14,7 +14,6 @@ ListEntityOwners Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_ListEnvironmentActions.go.snap b/service/datazone/snapshot/api_op_ListEnvironmentActions.go.snap index f0295735652..8f203ee3272 100644 --- a/service/datazone/snapshot/api_op_ListEnvironmentActions.go.snap +++ b/service/datazone/snapshot/api_op_ListEnvironmentActions.go.snap @@ -14,7 +14,6 @@ ListEnvironmentActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_ListEnvironmentBlueprintConfigurations.go.snap b/service/datazone/snapshot/api_op_ListEnvironmentBlueprintConfigurations.go.snap index 4fb9b9615d5..4082d7286ee 100644 --- a/service/datazone/snapshot/api_op_ListEnvironmentBlueprintConfigurations.go.snap +++ b/service/datazone/snapshot/api_op_ListEnvironmentBlueprintConfigurations.go.snap @@ -14,7 +14,6 @@ ListEnvironmentBlueprintConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_ListEnvironmentBlueprints.go.snap b/service/datazone/snapshot/api_op_ListEnvironmentBlueprints.go.snap index 4c1020f245c..7180518d867 100644 --- a/service/datazone/snapshot/api_op_ListEnvironmentBlueprints.go.snap +++ b/service/datazone/snapshot/api_op_ListEnvironmentBlueprints.go.snap @@ -14,7 +14,6 @@ ListEnvironmentBlueprints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_ListEnvironmentProfiles.go.snap b/service/datazone/snapshot/api_op_ListEnvironmentProfiles.go.snap index f7f0eb92593..3a156812e32 100644 --- a/service/datazone/snapshot/api_op_ListEnvironmentProfiles.go.snap +++ b/service/datazone/snapshot/api_op_ListEnvironmentProfiles.go.snap @@ -14,7 +14,6 @@ ListEnvironmentProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_ListEnvironments.go.snap b/service/datazone/snapshot/api_op_ListEnvironments.go.snap index 7c237cc1cdf..1bf27beef05 100644 --- a/service/datazone/snapshot/api_op_ListEnvironments.go.snap +++ b/service/datazone/snapshot/api_op_ListEnvironments.go.snap @@ -14,7 +14,6 @@ ListEnvironments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_ListJobRuns.go.snap b/service/datazone/snapshot/api_op_ListJobRuns.go.snap index e2e9db74cb4..6de0ffca767 100644 --- a/service/datazone/snapshot/api_op_ListJobRuns.go.snap +++ b/service/datazone/snapshot/api_op_ListJobRuns.go.snap @@ -14,7 +14,6 @@ ListJobRuns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_ListLineageEvents.go.snap b/service/datazone/snapshot/api_op_ListLineageEvents.go.snap index 94c3446c08e..6f4d4042e2b 100644 --- a/service/datazone/snapshot/api_op_ListLineageEvents.go.snap +++ b/service/datazone/snapshot/api_op_ListLineageEvents.go.snap @@ -14,7 +14,6 @@ ListLineageEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_ListLineageNodeHistory.go.snap b/service/datazone/snapshot/api_op_ListLineageNodeHistory.go.snap index 92466fe8ba9..46b84c380bd 100644 --- a/service/datazone/snapshot/api_op_ListLineageNodeHistory.go.snap +++ b/service/datazone/snapshot/api_op_ListLineageNodeHistory.go.snap @@ -14,7 +14,6 @@ ListLineageNodeHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_ListMetadataGenerationRuns.go.snap b/service/datazone/snapshot/api_op_ListMetadataGenerationRuns.go.snap index b93c7930b32..0885893ff6f 100644 --- a/service/datazone/snapshot/api_op_ListMetadataGenerationRuns.go.snap +++ b/service/datazone/snapshot/api_op_ListMetadataGenerationRuns.go.snap @@ -14,7 +14,6 @@ ListMetadataGenerationRuns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_ListNotifications.go.snap b/service/datazone/snapshot/api_op_ListNotifications.go.snap index 80f00a8de98..3c4f18ffe1c 100644 --- a/service/datazone/snapshot/api_op_ListNotifications.go.snap +++ b/service/datazone/snapshot/api_op_ListNotifications.go.snap @@ -14,7 +14,6 @@ ListNotifications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_ListPolicyGrants.go.snap b/service/datazone/snapshot/api_op_ListPolicyGrants.go.snap index 6eefc83b0b4..a067e13465b 100644 --- a/service/datazone/snapshot/api_op_ListPolicyGrants.go.snap +++ b/service/datazone/snapshot/api_op_ListPolicyGrants.go.snap @@ -14,7 +14,6 @@ ListPolicyGrants Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_ListProjectMemberships.go.snap b/service/datazone/snapshot/api_op_ListProjectMemberships.go.snap index 2bd46b275f5..301e4795aea 100644 --- a/service/datazone/snapshot/api_op_ListProjectMemberships.go.snap +++ b/service/datazone/snapshot/api_op_ListProjectMemberships.go.snap @@ -14,7 +14,6 @@ ListProjectMemberships Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_ListProjectProfiles.go.snap b/service/datazone/snapshot/api_op_ListProjectProfiles.go.snap index 43d9b7f4120..6f1fedcfd15 100644 --- a/service/datazone/snapshot/api_op_ListProjectProfiles.go.snap +++ b/service/datazone/snapshot/api_op_ListProjectProfiles.go.snap @@ -14,7 +14,6 @@ ListProjectProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_ListProjects.go.snap b/service/datazone/snapshot/api_op_ListProjects.go.snap index 3614c7a6e8f..6503588cd59 100644 --- a/service/datazone/snapshot/api_op_ListProjects.go.snap +++ b/service/datazone/snapshot/api_op_ListProjects.go.snap @@ -14,7 +14,6 @@ ListProjects Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_ListRules.go.snap b/service/datazone/snapshot/api_op_ListRules.go.snap index fbd62b15a4f..0e39687c8a2 100644 --- a/service/datazone/snapshot/api_op_ListRules.go.snap +++ b/service/datazone/snapshot/api_op_ListRules.go.snap @@ -14,7 +14,6 @@ ListRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_ListSubscriptionGrants.go.snap b/service/datazone/snapshot/api_op_ListSubscriptionGrants.go.snap index 901cc103185..5bd98d0085d 100644 --- a/service/datazone/snapshot/api_op_ListSubscriptionGrants.go.snap +++ b/service/datazone/snapshot/api_op_ListSubscriptionGrants.go.snap @@ -14,7 +14,6 @@ ListSubscriptionGrants Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_ListSubscriptionRequests.go.snap b/service/datazone/snapshot/api_op_ListSubscriptionRequests.go.snap index ecabfbdd4c3..a222ea57e03 100644 --- a/service/datazone/snapshot/api_op_ListSubscriptionRequests.go.snap +++ b/service/datazone/snapshot/api_op_ListSubscriptionRequests.go.snap @@ -14,7 +14,6 @@ ListSubscriptionRequests Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_ListSubscriptionTargets.go.snap b/service/datazone/snapshot/api_op_ListSubscriptionTargets.go.snap index cc203e5535f..c1b2baea325 100644 --- a/service/datazone/snapshot/api_op_ListSubscriptionTargets.go.snap +++ b/service/datazone/snapshot/api_op_ListSubscriptionTargets.go.snap @@ -14,7 +14,6 @@ ListSubscriptionTargets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_ListSubscriptions.go.snap b/service/datazone/snapshot/api_op_ListSubscriptions.go.snap index 529cf25a2e7..de1b4b801bf 100644 --- a/service/datazone/snapshot/api_op_ListSubscriptions.go.snap +++ b/service/datazone/snapshot/api_op_ListSubscriptions.go.snap @@ -14,7 +14,6 @@ ListSubscriptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_ListTagsForResource.go.snap b/service/datazone/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/datazone/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/datazone/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_ListTimeSeriesDataPoints.go.snap b/service/datazone/snapshot/api_op_ListTimeSeriesDataPoints.go.snap index 2f3bf470a66..8be5a8c1724 100644 --- a/service/datazone/snapshot/api_op_ListTimeSeriesDataPoints.go.snap +++ b/service/datazone/snapshot/api_op_ListTimeSeriesDataPoints.go.snap @@ -14,7 +14,6 @@ ListTimeSeriesDataPoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_PostLineageEvent.go.snap b/service/datazone/snapshot/api_op_PostLineageEvent.go.snap index c073b6e6cdb..763a3e2cf08 100644 --- a/service/datazone/snapshot/api_op_PostLineageEvent.go.snap +++ b/service/datazone/snapshot/api_op_PostLineageEvent.go.snap @@ -15,7 +15,6 @@ PostLineageEvent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_PostTimeSeriesDataPoints.go.snap b/service/datazone/snapshot/api_op_PostTimeSeriesDataPoints.go.snap index ffd4d5accca..96cca8fe8e0 100644 --- a/service/datazone/snapshot/api_op_PostTimeSeriesDataPoints.go.snap +++ b/service/datazone/snapshot/api_op_PostTimeSeriesDataPoints.go.snap @@ -15,7 +15,6 @@ PostTimeSeriesDataPoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_PutEnvironmentBlueprintConfiguration.go.snap b/service/datazone/snapshot/api_op_PutEnvironmentBlueprintConfiguration.go.snap index 0533cc4e87a..688027fc2e1 100644 --- a/service/datazone/snapshot/api_op_PutEnvironmentBlueprintConfiguration.go.snap +++ b/service/datazone/snapshot/api_op_PutEnvironmentBlueprintConfiguration.go.snap @@ -14,7 +14,6 @@ PutEnvironmentBlueprintConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_RejectPredictions.go.snap b/service/datazone/snapshot/api_op_RejectPredictions.go.snap index 8bccee1332f..1126738fdc4 100644 --- a/service/datazone/snapshot/api_op_RejectPredictions.go.snap +++ b/service/datazone/snapshot/api_op_RejectPredictions.go.snap @@ -15,7 +15,6 @@ RejectPredictions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_RejectSubscriptionRequest.go.snap b/service/datazone/snapshot/api_op_RejectSubscriptionRequest.go.snap index 6e1fd062f13..5b3a8f7ad30 100644 --- a/service/datazone/snapshot/api_op_RejectSubscriptionRequest.go.snap +++ b/service/datazone/snapshot/api_op_RejectSubscriptionRequest.go.snap @@ -14,7 +14,6 @@ RejectSubscriptionRequest Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_RemoveEntityOwner.go.snap b/service/datazone/snapshot/api_op_RemoveEntityOwner.go.snap index 10aea56ec8c..3a95191aba5 100644 --- a/service/datazone/snapshot/api_op_RemoveEntityOwner.go.snap +++ b/service/datazone/snapshot/api_op_RemoveEntityOwner.go.snap @@ -15,7 +15,6 @@ RemoveEntityOwner Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_RemovePolicyGrant.go.snap b/service/datazone/snapshot/api_op_RemovePolicyGrant.go.snap index 246c8a6ac56..c1da021663c 100644 --- a/service/datazone/snapshot/api_op_RemovePolicyGrant.go.snap +++ b/service/datazone/snapshot/api_op_RemovePolicyGrant.go.snap @@ -15,7 +15,6 @@ RemovePolicyGrant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_RevokeSubscription.go.snap b/service/datazone/snapshot/api_op_RevokeSubscription.go.snap index 1390077e85f..8674116db73 100644 --- a/service/datazone/snapshot/api_op_RevokeSubscription.go.snap +++ b/service/datazone/snapshot/api_op_RevokeSubscription.go.snap @@ -14,7 +14,6 @@ RevokeSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_Search.go.snap b/service/datazone/snapshot/api_op_Search.go.snap index 96b2a05a873..30f266bd59c 100644 --- a/service/datazone/snapshot/api_op_Search.go.snap +++ b/service/datazone/snapshot/api_op_Search.go.snap @@ -14,7 +14,6 @@ Search Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_SearchGroupProfiles.go.snap b/service/datazone/snapshot/api_op_SearchGroupProfiles.go.snap index adc0d2d63e0..fd585161473 100644 --- a/service/datazone/snapshot/api_op_SearchGroupProfiles.go.snap +++ b/service/datazone/snapshot/api_op_SearchGroupProfiles.go.snap @@ -14,7 +14,6 @@ SearchGroupProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_SearchListings.go.snap b/service/datazone/snapshot/api_op_SearchListings.go.snap index 8dce8d462d9..6a8b2af68ec 100644 --- a/service/datazone/snapshot/api_op_SearchListings.go.snap +++ b/service/datazone/snapshot/api_op_SearchListings.go.snap @@ -14,7 +14,6 @@ SearchListings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_SearchTypes.go.snap b/service/datazone/snapshot/api_op_SearchTypes.go.snap index 5773c53f65e..bb59cad9750 100644 --- a/service/datazone/snapshot/api_op_SearchTypes.go.snap +++ b/service/datazone/snapshot/api_op_SearchTypes.go.snap @@ -14,7 +14,6 @@ SearchTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_SearchUserProfiles.go.snap b/service/datazone/snapshot/api_op_SearchUserProfiles.go.snap index 8d9bd7d6d25..f163e56ef5e 100644 --- a/service/datazone/snapshot/api_op_SearchUserProfiles.go.snap +++ b/service/datazone/snapshot/api_op_SearchUserProfiles.go.snap @@ -14,7 +14,6 @@ SearchUserProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_StartDataSourceRun.go.snap b/service/datazone/snapshot/api_op_StartDataSourceRun.go.snap index daffedebfd7..eba9ac7ccd3 100644 --- a/service/datazone/snapshot/api_op_StartDataSourceRun.go.snap +++ b/service/datazone/snapshot/api_op_StartDataSourceRun.go.snap @@ -15,7 +15,6 @@ StartDataSourceRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_StartMetadataGenerationRun.go.snap b/service/datazone/snapshot/api_op_StartMetadataGenerationRun.go.snap index 4f3bfcaa1ec..66bfa8a9bf8 100644 --- a/service/datazone/snapshot/api_op_StartMetadataGenerationRun.go.snap +++ b/service/datazone/snapshot/api_op_StartMetadataGenerationRun.go.snap @@ -15,7 +15,6 @@ StartMetadataGenerationRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_TagResource.go.snap b/service/datazone/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/datazone/snapshot/api_op_TagResource.go.snap +++ b/service/datazone/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_UntagResource.go.snap b/service/datazone/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/datazone/snapshot/api_op_UntagResource.go.snap +++ b/service/datazone/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_UpdateAssetFilter.go.snap b/service/datazone/snapshot/api_op_UpdateAssetFilter.go.snap index b0ec2698c2b..80e3d825e7c 100644 --- a/service/datazone/snapshot/api_op_UpdateAssetFilter.go.snap +++ b/service/datazone/snapshot/api_op_UpdateAssetFilter.go.snap @@ -14,7 +14,6 @@ UpdateAssetFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_UpdateConnection.go.snap b/service/datazone/snapshot/api_op_UpdateConnection.go.snap index 8bcc0bccc85..f8c8899dab6 100644 --- a/service/datazone/snapshot/api_op_UpdateConnection.go.snap +++ b/service/datazone/snapshot/api_op_UpdateConnection.go.snap @@ -14,7 +14,6 @@ UpdateConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_UpdateDataSource.go.snap b/service/datazone/snapshot/api_op_UpdateDataSource.go.snap index 7c4d5cf15b4..02ae762c076 100644 --- a/service/datazone/snapshot/api_op_UpdateDataSource.go.snap +++ b/service/datazone/snapshot/api_op_UpdateDataSource.go.snap @@ -14,7 +14,6 @@ UpdateDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_UpdateDomain.go.snap b/service/datazone/snapshot/api_op_UpdateDomain.go.snap index 33bc8374ca2..2dfe2ab0d0a 100644 --- a/service/datazone/snapshot/api_op_UpdateDomain.go.snap +++ b/service/datazone/snapshot/api_op_UpdateDomain.go.snap @@ -15,7 +15,6 @@ UpdateDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_UpdateDomainUnit.go.snap b/service/datazone/snapshot/api_op_UpdateDomainUnit.go.snap index f4c55d72e17..53efbd54137 100644 --- a/service/datazone/snapshot/api_op_UpdateDomainUnit.go.snap +++ b/service/datazone/snapshot/api_op_UpdateDomainUnit.go.snap @@ -14,7 +14,6 @@ UpdateDomainUnit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_UpdateEnvironment.go.snap b/service/datazone/snapshot/api_op_UpdateEnvironment.go.snap index 239e2fa41bc..abe9dc8e4d3 100644 --- a/service/datazone/snapshot/api_op_UpdateEnvironment.go.snap +++ b/service/datazone/snapshot/api_op_UpdateEnvironment.go.snap @@ -14,7 +14,6 @@ UpdateEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_UpdateEnvironmentAction.go.snap b/service/datazone/snapshot/api_op_UpdateEnvironmentAction.go.snap index b50bbada21a..837c1ea64d5 100644 --- a/service/datazone/snapshot/api_op_UpdateEnvironmentAction.go.snap +++ b/service/datazone/snapshot/api_op_UpdateEnvironmentAction.go.snap @@ -14,7 +14,6 @@ UpdateEnvironmentAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_UpdateEnvironmentProfile.go.snap b/service/datazone/snapshot/api_op_UpdateEnvironmentProfile.go.snap index 49b0e7dfccf..670efa6d2a2 100644 --- a/service/datazone/snapshot/api_op_UpdateEnvironmentProfile.go.snap +++ b/service/datazone/snapshot/api_op_UpdateEnvironmentProfile.go.snap @@ -14,7 +14,6 @@ UpdateEnvironmentProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_UpdateGlossary.go.snap b/service/datazone/snapshot/api_op_UpdateGlossary.go.snap index de9a32576b2..eee767db724 100644 --- a/service/datazone/snapshot/api_op_UpdateGlossary.go.snap +++ b/service/datazone/snapshot/api_op_UpdateGlossary.go.snap @@ -15,7 +15,6 @@ UpdateGlossary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_UpdateGlossaryTerm.go.snap b/service/datazone/snapshot/api_op_UpdateGlossaryTerm.go.snap index 19b6ab8fda0..9834b868b78 100644 --- a/service/datazone/snapshot/api_op_UpdateGlossaryTerm.go.snap +++ b/service/datazone/snapshot/api_op_UpdateGlossaryTerm.go.snap @@ -14,7 +14,6 @@ UpdateGlossaryTerm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_UpdateGroupProfile.go.snap b/service/datazone/snapshot/api_op_UpdateGroupProfile.go.snap index a3f62e7d25f..b2fc8ebbc3d 100644 --- a/service/datazone/snapshot/api_op_UpdateGroupProfile.go.snap +++ b/service/datazone/snapshot/api_op_UpdateGroupProfile.go.snap @@ -14,7 +14,6 @@ UpdateGroupProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_UpdateProject.go.snap b/service/datazone/snapshot/api_op_UpdateProject.go.snap index 5c3e188e688..58c24534d10 100644 --- a/service/datazone/snapshot/api_op_UpdateProject.go.snap +++ b/service/datazone/snapshot/api_op_UpdateProject.go.snap @@ -14,7 +14,6 @@ UpdateProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_UpdateProjectProfile.go.snap b/service/datazone/snapshot/api_op_UpdateProjectProfile.go.snap index b878d772bee..0435df074cd 100644 --- a/service/datazone/snapshot/api_op_UpdateProjectProfile.go.snap +++ b/service/datazone/snapshot/api_op_UpdateProjectProfile.go.snap @@ -14,7 +14,6 @@ UpdateProjectProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_UpdateRule.go.snap b/service/datazone/snapshot/api_op_UpdateRule.go.snap index 4eccda0001c..fb285fb40de 100644 --- a/service/datazone/snapshot/api_op_UpdateRule.go.snap +++ b/service/datazone/snapshot/api_op_UpdateRule.go.snap @@ -14,7 +14,6 @@ UpdateRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_UpdateSubscriptionGrantStatus.go.snap b/service/datazone/snapshot/api_op_UpdateSubscriptionGrantStatus.go.snap index 2ed67a41e99..3452b8aa42b 100644 --- a/service/datazone/snapshot/api_op_UpdateSubscriptionGrantStatus.go.snap +++ b/service/datazone/snapshot/api_op_UpdateSubscriptionGrantStatus.go.snap @@ -14,7 +14,6 @@ UpdateSubscriptionGrantStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_UpdateSubscriptionRequest.go.snap b/service/datazone/snapshot/api_op_UpdateSubscriptionRequest.go.snap index 792cb1d2f42..e2dd126674a 100644 --- a/service/datazone/snapshot/api_op_UpdateSubscriptionRequest.go.snap +++ b/service/datazone/snapshot/api_op_UpdateSubscriptionRequest.go.snap @@ -14,7 +14,6 @@ UpdateSubscriptionRequest Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_UpdateSubscriptionTarget.go.snap b/service/datazone/snapshot/api_op_UpdateSubscriptionTarget.go.snap index 8f5015dfd4f..73709b92dd6 100644 --- a/service/datazone/snapshot/api_op_UpdateSubscriptionTarget.go.snap +++ b/service/datazone/snapshot/api_op_UpdateSubscriptionTarget.go.snap @@ -14,7 +14,6 @@ UpdateSubscriptionTarget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/datazone/snapshot/api_op_UpdateUserProfile.go.snap b/service/datazone/snapshot/api_op_UpdateUserProfile.go.snap index 0887974adeb..edca8ac8013 100644 --- a/service/datazone/snapshot/api_op_UpdateUserProfile.go.snap +++ b/service/datazone/snapshot/api_op_UpdateUserProfile.go.snap @@ -14,7 +14,6 @@ UpdateUserProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dax/api_client.go b/service/dax/api_client.go index c9b5f5a2c25..52ee8f602b1 100644 --- a/service/dax/api_client.go +++ b/service/dax/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/dax/api_op_CreateCluster.go b/service/dax/api_op_CreateCluster.go index b70bec7cac5..c8678439fb6 100644 --- a/service/dax/api_op_CreateCluster.go +++ b/service/dax/api_op_CreateCluster.go @@ -215,9 +215,6 @@ func (c *Client) addOperationCreateClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_CreateParameterGroup.go b/service/dax/api_op_CreateParameterGroup.go index 334befe555c..457fb98b9b4 100644 --- a/service/dax/api_op_CreateParameterGroup.go +++ b/service/dax/api_op_CreateParameterGroup.go @@ -117,9 +117,6 @@ func (c *Client) addOperationCreateParameterGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_CreateSubnetGroup.go b/service/dax/api_op_CreateSubnetGroup.go index 26ebc0ed330..f3e962cf752 100644 --- a/service/dax/api_op_CreateSubnetGroup.go +++ b/service/dax/api_op_CreateSubnetGroup.go @@ -120,9 +120,6 @@ func (c *Client) addOperationCreateSubnetGroupMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSubnetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_DecreaseReplicationFactor.go b/service/dax/api_op_DecreaseReplicationFactor.go index 99d74325df7..dd07557785d 100644 --- a/service/dax/api_op_DecreaseReplicationFactor.go +++ b/service/dax/api_op_DecreaseReplicationFactor.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDecreaseReplicationFactorMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDecreaseReplicationFactorValidationMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_DeleteCluster.go b/service/dax/api_op_DeleteCluster.go index c05fbbccb9f..2393bfd6282 100644 --- a/service/dax/api_op_DeleteCluster.go +++ b/service/dax/api_op_DeleteCluster.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_DeleteParameterGroup.go b/service/dax/api_op_DeleteParameterGroup.go index d8abbdecfac..b1794f80037 100644 --- a/service/dax/api_op_DeleteParameterGroup.go +++ b/service/dax/api_op_DeleteParameterGroup.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteParameterGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_DeleteSubnetGroup.go b/service/dax/api_op_DeleteSubnetGroup.go index 1eed1d376dc..62d3f82e0fc 100644 --- a/service/dax/api_op_DeleteSubnetGroup.go +++ b/service/dax/api_op_DeleteSubnetGroup.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteSubnetGroupMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSubnetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_DescribeClusters.go b/service/dax/api_op_DescribeClusters.go index f9b784bb627..dedab0b8bff 100644 --- a/service/dax/api_op_DescribeClusters.go +++ b/service/dax/api_op_DescribeClusters.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDescribeClustersMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClusters(options.Region), middleware.Before); err != nil { return err } diff --git a/service/dax/api_op_DescribeDefaultParameters.go b/service/dax/api_op_DescribeDefaultParameters.go index bd138e7c202..df8e29e688f 100644 --- a/service/dax/api_op_DescribeDefaultParameters.go +++ b/service/dax/api_op_DescribeDefaultParameters.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeDefaultParametersMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDefaultParameters(options.Region), middleware.Before); err != nil { return err } diff --git a/service/dax/api_op_DescribeEvents.go b/service/dax/api_op_DescribeEvents.go index d1df2f94802..976c3aaf178 100644 --- a/service/dax/api_op_DescribeEvents.go +++ b/service/dax/api_op_DescribeEvents.go @@ -147,9 +147,6 @@ func (c *Client) addOperationDescribeEventsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEvents(options.Region), middleware.Before); err != nil { return err } diff --git a/service/dax/api_op_DescribeParameterGroups.go b/service/dax/api_op_DescribeParameterGroups.go index 6653ae3cc5a..9441ef5c6a4 100644 --- a/service/dax/api_op_DescribeParameterGroups.go +++ b/service/dax/api_op_DescribeParameterGroups.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeParameterGroupsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeParameterGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/dax/api_op_DescribeParameters.go b/service/dax/api_op_DescribeParameters.go index bd8831ac918..71e28800a62 100644 --- a/service/dax/api_op_DescribeParameters.go +++ b/service/dax/api_op_DescribeParameters.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeParametersMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeParametersValidationMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_DescribeSubnetGroups.go b/service/dax/api_op_DescribeSubnetGroups.go index aa55998f94d..2a6f86b350b 100644 --- a/service/dax/api_op_DescribeSubnetGroups.go +++ b/service/dax/api_op_DescribeSubnetGroups.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeSubnetGroupsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSubnetGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/dax/api_op_IncreaseReplicationFactor.go b/service/dax/api_op_IncreaseReplicationFactor.go index 8280be15c79..269c145b3c8 100644 --- a/service/dax/api_op_IncreaseReplicationFactor.go +++ b/service/dax/api_op_IncreaseReplicationFactor.go @@ -122,9 +122,6 @@ func (c *Client) addOperationIncreaseReplicationFactorMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpIncreaseReplicationFactorValidationMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_ListTags.go b/service/dax/api_op_ListTags.go index 94178da0fbb..c7255247e05 100644 --- a/service/dax/api_op_ListTags.go +++ b/service/dax/api_op_ListTags.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListTagsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_RebootNode.go b/service/dax/api_op_RebootNode.go index 2235f108a4f..09b192d0ed5 100644 --- a/service/dax/api_op_RebootNode.go +++ b/service/dax/api_op_RebootNode.go @@ -121,9 +121,6 @@ func (c *Client) addOperationRebootNodeMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRebootNodeValidationMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_TagResource.go b/service/dax/api_op_TagResource.go index f15a56e279c..73e79b94c41 100644 --- a/service/dax/api_op_TagResource.go +++ b/service/dax/api_op_TagResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_UntagResource.go b/service/dax/api_op_UntagResource.go index 384ed69ddf7..33b6dff92b0 100644 --- a/service/dax/api_op_UntagResource.go +++ b/service/dax/api_op_UntagResource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_UpdateCluster.go b/service/dax/api_op_UpdateCluster.go index 1263b9471b1..f21d1cdf808 100644 --- a/service/dax/api_op_UpdateCluster.go +++ b/service/dax/api_op_UpdateCluster.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_UpdateParameterGroup.go b/service/dax/api_op_UpdateParameterGroup.go index 7e945c39743..737b030c545 100644 --- a/service/dax/api_op_UpdateParameterGroup.go +++ b/service/dax/api_op_UpdateParameterGroup.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateParameterGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/dax/api_op_UpdateSubnetGroup.go b/service/dax/api_op_UpdateSubnetGroup.go index 94c8d880dce..7d94c171fa8 100644 --- a/service/dax/api_op_UpdateSubnetGroup.go +++ b/service/dax/api_op_UpdateSubnetGroup.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateSubnetGroupMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSubnetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/dax/snapshot/api_op_CreateCluster.go.snap b/service/dax/snapshot/api_op_CreateCluster.go.snap index 1ee274e1f6c..03ac0c0d2e6 100644 --- a/service/dax/snapshot/api_op_CreateCluster.go.snap +++ b/service/dax/snapshot/api_op_CreateCluster.go.snap @@ -14,7 +14,6 @@ CreateCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dax/snapshot/api_op_CreateParameterGroup.go.snap b/service/dax/snapshot/api_op_CreateParameterGroup.go.snap index 239f6c4f993..9c3c96afcf5 100644 --- a/service/dax/snapshot/api_op_CreateParameterGroup.go.snap +++ b/service/dax/snapshot/api_op_CreateParameterGroup.go.snap @@ -14,7 +14,6 @@ CreateParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dax/snapshot/api_op_CreateSubnetGroup.go.snap b/service/dax/snapshot/api_op_CreateSubnetGroup.go.snap index df16bafd1ab..b6bffde70b7 100644 --- a/service/dax/snapshot/api_op_CreateSubnetGroup.go.snap +++ b/service/dax/snapshot/api_op_CreateSubnetGroup.go.snap @@ -14,7 +14,6 @@ CreateSubnetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dax/snapshot/api_op_DecreaseReplicationFactor.go.snap b/service/dax/snapshot/api_op_DecreaseReplicationFactor.go.snap index fd2f3c8bf84..44522f6fe64 100644 --- a/service/dax/snapshot/api_op_DecreaseReplicationFactor.go.snap +++ b/service/dax/snapshot/api_op_DecreaseReplicationFactor.go.snap @@ -14,7 +14,6 @@ DecreaseReplicationFactor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dax/snapshot/api_op_DeleteCluster.go.snap b/service/dax/snapshot/api_op_DeleteCluster.go.snap index 8eeb23b33c5..9df5248d4d6 100644 --- a/service/dax/snapshot/api_op_DeleteCluster.go.snap +++ b/service/dax/snapshot/api_op_DeleteCluster.go.snap @@ -14,7 +14,6 @@ DeleteCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dax/snapshot/api_op_DeleteParameterGroup.go.snap b/service/dax/snapshot/api_op_DeleteParameterGroup.go.snap index 1937ccddbfe..e18f69175d7 100644 --- a/service/dax/snapshot/api_op_DeleteParameterGroup.go.snap +++ b/service/dax/snapshot/api_op_DeleteParameterGroup.go.snap @@ -14,7 +14,6 @@ DeleteParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dax/snapshot/api_op_DeleteSubnetGroup.go.snap b/service/dax/snapshot/api_op_DeleteSubnetGroup.go.snap index 7c21f26d253..2a30404cd36 100644 --- a/service/dax/snapshot/api_op_DeleteSubnetGroup.go.snap +++ b/service/dax/snapshot/api_op_DeleteSubnetGroup.go.snap @@ -14,7 +14,6 @@ DeleteSubnetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dax/snapshot/api_op_DescribeClusters.go.snap b/service/dax/snapshot/api_op_DescribeClusters.go.snap index f52d125d54e..bfa7d3b3625 100644 --- a/service/dax/snapshot/api_op_DescribeClusters.go.snap +++ b/service/dax/snapshot/api_op_DescribeClusters.go.snap @@ -13,7 +13,6 @@ DescribeClusters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dax/snapshot/api_op_DescribeDefaultParameters.go.snap b/service/dax/snapshot/api_op_DescribeDefaultParameters.go.snap index f3d9f57b591..bc2f36224e4 100644 --- a/service/dax/snapshot/api_op_DescribeDefaultParameters.go.snap +++ b/service/dax/snapshot/api_op_DescribeDefaultParameters.go.snap @@ -13,7 +13,6 @@ DescribeDefaultParameters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dax/snapshot/api_op_DescribeEvents.go.snap b/service/dax/snapshot/api_op_DescribeEvents.go.snap index c63aa6daa0b..36f0ef6bea9 100644 --- a/service/dax/snapshot/api_op_DescribeEvents.go.snap +++ b/service/dax/snapshot/api_op_DescribeEvents.go.snap @@ -13,7 +13,6 @@ DescribeEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dax/snapshot/api_op_DescribeParameterGroups.go.snap b/service/dax/snapshot/api_op_DescribeParameterGroups.go.snap index f7b5c6f8f7d..42e4ce46a6c 100644 --- a/service/dax/snapshot/api_op_DescribeParameterGroups.go.snap +++ b/service/dax/snapshot/api_op_DescribeParameterGroups.go.snap @@ -13,7 +13,6 @@ DescribeParameterGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dax/snapshot/api_op_DescribeParameters.go.snap b/service/dax/snapshot/api_op_DescribeParameters.go.snap index 5f40622e8ea..bbe314ad47a 100644 --- a/service/dax/snapshot/api_op_DescribeParameters.go.snap +++ b/service/dax/snapshot/api_op_DescribeParameters.go.snap @@ -14,7 +14,6 @@ DescribeParameters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dax/snapshot/api_op_DescribeSubnetGroups.go.snap b/service/dax/snapshot/api_op_DescribeSubnetGroups.go.snap index bbbb95f1336..985a8c99077 100644 --- a/service/dax/snapshot/api_op_DescribeSubnetGroups.go.snap +++ b/service/dax/snapshot/api_op_DescribeSubnetGroups.go.snap @@ -13,7 +13,6 @@ DescribeSubnetGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dax/snapshot/api_op_IncreaseReplicationFactor.go.snap b/service/dax/snapshot/api_op_IncreaseReplicationFactor.go.snap index f0d1285f2e7..e0b7e4338e5 100644 --- a/service/dax/snapshot/api_op_IncreaseReplicationFactor.go.snap +++ b/service/dax/snapshot/api_op_IncreaseReplicationFactor.go.snap @@ -14,7 +14,6 @@ IncreaseReplicationFactor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dax/snapshot/api_op_ListTags.go.snap b/service/dax/snapshot/api_op_ListTags.go.snap index 1b1e99185a9..438bd1b7aec 100644 --- a/service/dax/snapshot/api_op_ListTags.go.snap +++ b/service/dax/snapshot/api_op_ListTags.go.snap @@ -14,7 +14,6 @@ ListTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dax/snapshot/api_op_RebootNode.go.snap b/service/dax/snapshot/api_op_RebootNode.go.snap index 9f610179696..5dd9a916ef4 100644 --- a/service/dax/snapshot/api_op_RebootNode.go.snap +++ b/service/dax/snapshot/api_op_RebootNode.go.snap @@ -14,7 +14,6 @@ RebootNode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dax/snapshot/api_op_TagResource.go.snap b/service/dax/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/dax/snapshot/api_op_TagResource.go.snap +++ b/service/dax/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dax/snapshot/api_op_UntagResource.go.snap b/service/dax/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/dax/snapshot/api_op_UntagResource.go.snap +++ b/service/dax/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dax/snapshot/api_op_UpdateCluster.go.snap b/service/dax/snapshot/api_op_UpdateCluster.go.snap index 9ff96b83973..babe61a8cd3 100644 --- a/service/dax/snapshot/api_op_UpdateCluster.go.snap +++ b/service/dax/snapshot/api_op_UpdateCluster.go.snap @@ -14,7 +14,6 @@ UpdateCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dax/snapshot/api_op_UpdateParameterGroup.go.snap b/service/dax/snapshot/api_op_UpdateParameterGroup.go.snap index 00a99441171..f377563d1c4 100644 --- a/service/dax/snapshot/api_op_UpdateParameterGroup.go.snap +++ b/service/dax/snapshot/api_op_UpdateParameterGroup.go.snap @@ -14,7 +14,6 @@ UpdateParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dax/snapshot/api_op_UpdateSubnetGroup.go.snap b/service/dax/snapshot/api_op_UpdateSubnetGroup.go.snap index f6171a7ee94..da77919eba8 100644 --- a/service/dax/snapshot/api_op_UpdateSubnetGroup.go.snap +++ b/service/dax/snapshot/api_op_UpdateSubnetGroup.go.snap @@ -14,7 +14,6 @@ UpdateSubnetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/api_client.go b/service/deadline/api_client.go index 17f1e5cb255..8d2471d2474 100644 --- a/service/deadline/api_client.go +++ b/service/deadline/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/deadline/api_op_AssociateMemberToFarm.go b/service/deadline/api_op_AssociateMemberToFarm.go index 794fa333d9c..14d91efe158 100644 --- a/service/deadline/api_op_AssociateMemberToFarm.go +++ b/service/deadline/api_op_AssociateMemberToFarm.go @@ -128,9 +128,6 @@ func (c *Client) addOperationAssociateMemberToFarmMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opAssociateMemberToFarmMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_AssociateMemberToFleet.go b/service/deadline/api_op_AssociateMemberToFleet.go index 319fe43311e..1698729c27d 100644 --- a/service/deadline/api_op_AssociateMemberToFleet.go +++ b/service/deadline/api_op_AssociateMemberToFleet.go @@ -133,9 +133,6 @@ func (c *Client) addOperationAssociateMemberToFleetMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opAssociateMemberToFleetMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_AssociateMemberToJob.go b/service/deadline/api_op_AssociateMemberToJob.go index c5bb9325647..c481091ab57 100644 --- a/service/deadline/api_op_AssociateMemberToJob.go +++ b/service/deadline/api_op_AssociateMemberToJob.go @@ -138,9 +138,6 @@ func (c *Client) addOperationAssociateMemberToJobMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opAssociateMemberToJobMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_AssociateMemberToQueue.go b/service/deadline/api_op_AssociateMemberToQueue.go index 82548f35ff1..8fc0b794116 100644 --- a/service/deadline/api_op_AssociateMemberToQueue.go +++ b/service/deadline/api_op_AssociateMemberToQueue.go @@ -133,9 +133,6 @@ func (c *Client) addOperationAssociateMemberToQueueMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opAssociateMemberToQueueMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_AssumeFleetRoleForRead.go b/service/deadline/api_op_AssumeFleetRoleForRead.go index b9b57918c49..8189e5fbba4 100644 --- a/service/deadline/api_op_AssumeFleetRoleForRead.go +++ b/service/deadline/api_op_AssumeFleetRoleForRead.go @@ -120,9 +120,6 @@ func (c *Client) addOperationAssumeFleetRoleForReadMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opAssumeFleetRoleForReadMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_AssumeFleetRoleForWorker.go b/service/deadline/api_op_AssumeFleetRoleForWorker.go index 6951331118c..f213518d337 100644 --- a/service/deadline/api_op_AssumeFleetRoleForWorker.go +++ b/service/deadline/api_op_AssumeFleetRoleForWorker.go @@ -124,9 +124,6 @@ func (c *Client) addOperationAssumeFleetRoleForWorkerMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opAssumeFleetRoleForWorkerMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_AssumeQueueRoleForRead.go b/service/deadline/api_op_AssumeQueueRoleForRead.go index 526d525b815..064deddf024 100644 --- a/service/deadline/api_op_AssumeQueueRoleForRead.go +++ b/service/deadline/api_op_AssumeQueueRoleForRead.go @@ -120,9 +120,6 @@ func (c *Client) addOperationAssumeQueueRoleForReadMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opAssumeQueueRoleForReadMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_AssumeQueueRoleForUser.go b/service/deadline/api_op_AssumeQueueRoleForUser.go index 04b67567916..9e6aa8d603b 100644 --- a/service/deadline/api_op_AssumeQueueRoleForUser.go +++ b/service/deadline/api_op_AssumeQueueRoleForUser.go @@ -119,9 +119,6 @@ func (c *Client) addOperationAssumeQueueRoleForUserMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opAssumeQueueRoleForUserMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_AssumeQueueRoleForWorker.go b/service/deadline/api_op_AssumeQueueRoleForWorker.go index 9f899ad14d1..0dfbfa1ce17 100644 --- a/service/deadline/api_op_AssumeQueueRoleForWorker.go +++ b/service/deadline/api_op_AssumeQueueRoleForWorker.go @@ -127,9 +127,6 @@ func (c *Client) addOperationAssumeQueueRoleForWorkerMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opAssumeQueueRoleForWorkerMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_BatchGetJobEntity.go b/service/deadline/api_op_BatchGetJobEntity.go index 98dafa12188..ea209ef345f 100644 --- a/service/deadline/api_op_BatchGetJobEntity.go +++ b/service/deadline/api_op_BatchGetJobEntity.go @@ -136,9 +136,6 @@ func (c *Client) addOperationBatchGetJobEntityMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opBatchGetJobEntityMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_CopyJobTemplate.go b/service/deadline/api_op_CopyJobTemplate.go index 09586c07ee8..6e03fb65e6f 100644 --- a/service/deadline/api_op_CopyJobTemplate.go +++ b/service/deadline/api_op_CopyJobTemplate.go @@ -130,9 +130,6 @@ func (c *Client) addOperationCopyJobTemplateMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCopyJobTemplateMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_CreateBudget.go b/service/deadline/api_op_CreateBudget.go index cee161044fc..3b641fd3835 100644 --- a/service/deadline/api_op_CreateBudget.go +++ b/service/deadline/api_op_CreateBudget.go @@ -153,9 +153,6 @@ func (c *Client) addOperationCreateBudgetMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateBudgetMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_CreateFarm.go b/service/deadline/api_op_CreateFarm.go index e568b485829..4cb54f6df95 100644 --- a/service/deadline/api_op_CreateFarm.go +++ b/service/deadline/api_op_CreateFarm.go @@ -137,9 +137,6 @@ func (c *Client) addOperationCreateFarmMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateFarmMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_CreateFleet.go b/service/deadline/api_op_CreateFleet.go index 2e6f5de76ed..86e14f93866 100644 --- a/service/deadline/api_op_CreateFleet.go +++ b/service/deadline/api_op_CreateFleet.go @@ -158,9 +158,6 @@ func (c *Client) addOperationCreateFleetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateFleetMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_CreateJob.go b/service/deadline/api_op_CreateJob.go index 17254ffd30a..d0764c82072 100644 --- a/service/deadline/api_op_CreateJob.go +++ b/service/deadline/api_op_CreateJob.go @@ -173,9 +173,6 @@ func (c *Client) addOperationCreateJobMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateJobMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_CreateLicenseEndpoint.go b/service/deadline/api_op_CreateLicenseEndpoint.go index 10385b2d9f7..3b8b2707246 100644 --- a/service/deadline/api_op_CreateLicenseEndpoint.go +++ b/service/deadline/api_op_CreateLicenseEndpoint.go @@ -131,9 +131,6 @@ func (c *Client) addOperationCreateLicenseEndpointMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateLicenseEndpointMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_CreateLimit.go b/service/deadline/api_op_CreateLimit.go index 6a86d9d6b29..806e83339fc 100644 --- a/service/deadline/api_op_CreateLimit.go +++ b/service/deadline/api_op_CreateLimit.go @@ -156,9 +156,6 @@ func (c *Client) addOperationCreateLimitMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateLimitMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_CreateMonitor.go b/service/deadline/api_op_CreateMonitor.go index 5bdd8ae3df2..7feebea4f0b 100644 --- a/service/deadline/api_op_CreateMonitor.go +++ b/service/deadline/api_op_CreateMonitor.go @@ -148,9 +148,6 @@ func (c *Client) addOperationCreateMonitorMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateMonitorMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_CreateQueue.go b/service/deadline/api_op_CreateQueue.go index 6fdd91d1600..b8ebec4f55b 100644 --- a/service/deadline/api_op_CreateQueue.go +++ b/service/deadline/api_op_CreateQueue.go @@ -158,9 +158,6 @@ func (c *Client) addOperationCreateQueueMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateQueueMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_CreateQueueEnvironment.go b/service/deadline/api_op_CreateQueueEnvironment.go index 97ed4582b71..565ae65ef4e 100644 --- a/service/deadline/api_op_CreateQueueEnvironment.go +++ b/service/deadline/api_op_CreateQueueEnvironment.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateQueueEnvironmentMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateQueueEnvironmentMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_CreateQueueFleetAssociation.go b/service/deadline/api_op_CreateQueueFleetAssociation.go index cd4e0d380da..1cd761332df 100644 --- a/service/deadline/api_op_CreateQueueFleetAssociation.go +++ b/service/deadline/api_op_CreateQueueFleetAssociation.go @@ -117,9 +117,6 @@ func (c *Client) addOperationCreateQueueFleetAssociationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateQueueFleetAssociationMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_CreateQueueLimitAssociation.go b/service/deadline/api_op_CreateQueueLimitAssociation.go index ab7f6afb53e..27b789f89c1 100644 --- a/service/deadline/api_op_CreateQueueLimitAssociation.go +++ b/service/deadline/api_op_CreateQueueLimitAssociation.go @@ -121,9 +121,6 @@ func (c *Client) addOperationCreateQueueLimitAssociationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateQueueLimitAssociationMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_CreateStorageProfile.go b/service/deadline/api_op_CreateStorageProfile.go index 17b9be65ae6..260300bd170 100644 --- a/service/deadline/api_op_CreateStorageProfile.go +++ b/service/deadline/api_op_CreateStorageProfile.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateStorageProfileMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateStorageProfileMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_CreateWorker.go b/service/deadline/api_op_CreateWorker.go index 873ccb242c0..82b0f81c63f 100644 --- a/service/deadline/api_op_CreateWorker.go +++ b/service/deadline/api_op_CreateWorker.go @@ -128,9 +128,6 @@ func (c *Client) addOperationCreateWorkerMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateWorkerMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_DeleteBudget.go b/service/deadline/api_op_DeleteBudget.go index f894662d96d..569bc34c9d4 100644 --- a/service/deadline/api_op_DeleteBudget.go +++ b/service/deadline/api_op_DeleteBudget.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteBudgetMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteBudgetMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_DeleteFarm.go b/service/deadline/api_op_DeleteFarm.go index 17ec1082d43..9e775d66747 100644 --- a/service/deadline/api_op_DeleteFarm.go +++ b/service/deadline/api_op_DeleteFarm.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteFarmMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteFarmMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_DeleteFleet.go b/service/deadline/api_op_DeleteFleet.go index 17ebe55d802..efa14126089 100644 --- a/service/deadline/api_op_DeleteFleet.go +++ b/service/deadline/api_op_DeleteFleet.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteFleetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteFleetMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_DeleteLicenseEndpoint.go b/service/deadline/api_op_DeleteLicenseEndpoint.go index f1d3204de07..c94a80e25f7 100644 --- a/service/deadline/api_op_DeleteLicenseEndpoint.go +++ b/service/deadline/api_op_DeleteLicenseEndpoint.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteLicenseEndpointMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteLicenseEndpointMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_DeleteLimit.go b/service/deadline/api_op_DeleteLimit.go index f0f3c687116..ec07e4275a0 100644 --- a/service/deadline/api_op_DeleteLimit.go +++ b/service/deadline/api_op_DeleteLimit.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteLimitMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteLimitMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_DeleteMeteredProduct.go b/service/deadline/api_op_DeleteMeteredProduct.go index 0dc5222ad43..e196ffef3cf 100644 --- a/service/deadline/api_op_DeleteMeteredProduct.go +++ b/service/deadline/api_op_DeleteMeteredProduct.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteMeteredProductMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteMeteredProductMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_DeleteMonitor.go b/service/deadline/api_op_DeleteMonitor.go index 17e004caef3..1ce8310e179 100644 --- a/service/deadline/api_op_DeleteMonitor.go +++ b/service/deadline/api_op_DeleteMonitor.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteMonitorMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteMonitorMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_DeleteQueue.go b/service/deadline/api_op_DeleteQueue.go index f4d883646e7..2e456cac3cb 100644 --- a/service/deadline/api_op_DeleteQueue.go +++ b/service/deadline/api_op_DeleteQueue.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteQueueMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteQueueMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_DeleteQueueEnvironment.go b/service/deadline/api_op_DeleteQueueEnvironment.go index f0de3130a1d..7131bbc3c7e 100644 --- a/service/deadline/api_op_DeleteQueueEnvironment.go +++ b/service/deadline/api_op_DeleteQueueEnvironment.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteQueueEnvironmentMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteQueueEnvironmentMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_DeleteQueueFleetAssociation.go b/service/deadline/api_op_DeleteQueueFleetAssociation.go index ceb6e0f7094..959d77e5721 100644 --- a/service/deadline/api_op_DeleteQueueFleetAssociation.go +++ b/service/deadline/api_op_DeleteQueueFleetAssociation.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteQueueFleetAssociationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteQueueFleetAssociationMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_DeleteQueueLimitAssociation.go b/service/deadline/api_op_DeleteQueueLimitAssociation.go index dc8b5b93b1f..e4823098a46 100644 --- a/service/deadline/api_op_DeleteQueueLimitAssociation.go +++ b/service/deadline/api_op_DeleteQueueLimitAssociation.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteQueueLimitAssociationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteQueueLimitAssociationMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_DeleteStorageProfile.go b/service/deadline/api_op_DeleteStorageProfile.go index d13cddf514a..496777ce649 100644 --- a/service/deadline/api_op_DeleteStorageProfile.go +++ b/service/deadline/api_op_DeleteStorageProfile.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteStorageProfileMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteStorageProfileMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_DeleteWorker.go b/service/deadline/api_op_DeleteWorker.go index 991c7d7faf5..5d1fe388909 100644 --- a/service/deadline/api_op_DeleteWorker.go +++ b/service/deadline/api_op_DeleteWorker.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteWorkerMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteWorkerMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_DisassociateMemberFromFarm.go b/service/deadline/api_op_DisassociateMemberFromFarm.go index 84eaefdf2a9..a3deae9ca6d 100644 --- a/service/deadline/api_op_DisassociateMemberFromFarm.go +++ b/service/deadline/api_op_DisassociateMemberFromFarm.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDisassociateMemberFromFarmMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDisassociateMemberFromFarmMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_DisassociateMemberFromFleet.go b/service/deadline/api_op_DisassociateMemberFromFleet.go index 5b476dc9f14..b04cfc96302 100644 --- a/service/deadline/api_op_DisassociateMemberFromFleet.go +++ b/service/deadline/api_op_DisassociateMemberFromFleet.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDisassociateMemberFromFleetMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDisassociateMemberFromFleetMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_DisassociateMemberFromJob.go b/service/deadline/api_op_DisassociateMemberFromJob.go index 280f4c679ed..b803ef33232 100644 --- a/service/deadline/api_op_DisassociateMemberFromJob.go +++ b/service/deadline/api_op_DisassociateMemberFromJob.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDisassociateMemberFromJobMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDisassociateMemberFromJobMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_DisassociateMemberFromQueue.go b/service/deadline/api_op_DisassociateMemberFromQueue.go index ed51f897b3a..ed1e822a8e2 100644 --- a/service/deadline/api_op_DisassociateMemberFromQueue.go +++ b/service/deadline/api_op_DisassociateMemberFromQueue.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDisassociateMemberFromQueueMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDisassociateMemberFromQueueMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_GetBudget.go b/service/deadline/api_op_GetBudget.go index 26262f923e8..c48323a8a9e 100644 --- a/service/deadline/api_op_GetBudget.go +++ b/service/deadline/api_op_GetBudget.go @@ -190,9 +190,6 @@ func (c *Client) addOperationGetBudgetMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetBudgetMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_GetFarm.go b/service/deadline/api_op_GetFarm.go index fa856c8f18b..30002137631 100644 --- a/service/deadline/api_op_GetFarm.go +++ b/service/deadline/api_op_GetFarm.go @@ -151,9 +151,6 @@ func (c *Client) addOperationGetFarmMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetFarmMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_GetFleet.go b/service/deadline/api_op_GetFleet.go index 94f2f249263..2f108c849b8 100644 --- a/service/deadline/api_op_GetFleet.go +++ b/service/deadline/api_op_GetFleet.go @@ -199,9 +199,6 @@ func (c *Client) addOperationGetFleetMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetFleetMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_GetJob.go b/service/deadline/api_op_GetJob.go index f38ebc1eda1..aaa7c87adc7 100644 --- a/service/deadline/api_op_GetJob.go +++ b/service/deadline/api_op_GetJob.go @@ -212,9 +212,6 @@ func (c *Client) addOperationGetJobMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetJobMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_GetLicenseEndpoint.go b/service/deadline/api_op_GetLicenseEndpoint.go index 826fda8fd87..8b1e247b433 100644 --- a/service/deadline/api_op_GetLicenseEndpoint.go +++ b/service/deadline/api_op_GetLicenseEndpoint.go @@ -140,9 +140,6 @@ func (c *Client) addOperationGetLicenseEndpointMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetLicenseEndpointMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_GetLimit.go b/service/deadline/api_op_GetLimit.go index 392642feef4..fe49e1923be 100644 --- a/service/deadline/api_op_GetLimit.go +++ b/service/deadline/api_op_GetLimit.go @@ -178,9 +178,6 @@ func (c *Client) addOperationGetLimitMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetLimitMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_GetMonitor.go b/service/deadline/api_op_GetMonitor.go index d30ebb734b6..562871ce7e7 100644 --- a/service/deadline/api_op_GetMonitor.go +++ b/service/deadline/api_op_GetMonitor.go @@ -170,9 +170,6 @@ func (c *Client) addOperationGetMonitorMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetMonitorMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_GetQueue.go b/service/deadline/api_op_GetQueue.go index 4cd0b08f873..2d926dc0c3f 100644 --- a/service/deadline/api_op_GetQueue.go +++ b/service/deadline/api_op_GetQueue.go @@ -193,9 +193,6 @@ func (c *Client) addOperationGetQueueMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetQueueMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_GetQueueEnvironment.go b/service/deadline/api_op_GetQueueEnvironment.go index 146fffa7b43..83e245c51f7 100644 --- a/service/deadline/api_op_GetQueueEnvironment.go +++ b/service/deadline/api_op_GetQueueEnvironment.go @@ -161,9 +161,6 @@ func (c *Client) addOperationGetQueueEnvironmentMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetQueueEnvironmentMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_GetQueueFleetAssociation.go b/service/deadline/api_op_GetQueueFleetAssociation.go index aa6cd5362df..d0d2af74658 100644 --- a/service/deadline/api_op_GetQueueFleetAssociation.go +++ b/service/deadline/api_op_GetQueueFleetAssociation.go @@ -153,9 +153,6 @@ func (c *Client) addOperationGetQueueFleetAssociationMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetQueueFleetAssociationMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_GetQueueLimitAssociation.go b/service/deadline/api_op_GetQueueLimitAssociation.go index ab6323753c0..972100965c0 100644 --- a/service/deadline/api_op_GetQueueLimitAssociation.go +++ b/service/deadline/api_op_GetQueueLimitAssociation.go @@ -153,9 +153,6 @@ func (c *Client) addOperationGetQueueLimitAssociationMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetQueueLimitAssociationMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_GetSession.go b/service/deadline/api_op_GetSession.go index 18ebc7ee8d8..dd0cdd68ef3 100644 --- a/service/deadline/api_op_GetSession.go +++ b/service/deadline/api_op_GetSession.go @@ -173,9 +173,6 @@ func (c *Client) addOperationGetSessionMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetSessionMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_GetSessionAction.go b/service/deadline/api_op_GetSessionAction.go index 76b50af41c2..b8bf8940aaa 100644 --- a/service/deadline/api_op_GetSessionAction.go +++ b/service/deadline/api_op_GetSessionAction.go @@ -167,9 +167,6 @@ func (c *Client) addOperationGetSessionActionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetSessionActionMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_GetSessionsStatisticsAggregation.go b/service/deadline/api_op_GetSessionsStatisticsAggregation.go index 77abb395238..c71678ae614 100644 --- a/service/deadline/api_op_GetSessionsStatisticsAggregation.go +++ b/service/deadline/api_op_GetSessionsStatisticsAggregation.go @@ -153,9 +153,6 @@ func (c *Client) addOperationGetSessionsStatisticsAggregationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetSessionsStatisticsAggregationMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_GetStep.go b/service/deadline/api_op_GetStep.go index dc3245f89d1..6ba26b513b2 100644 --- a/service/deadline/api_op_GetStep.go +++ b/service/deadline/api_op_GetStep.go @@ -194,9 +194,6 @@ func (c *Client) addOperationGetStepMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetStepMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_GetStorageProfile.go b/service/deadline/api_op_GetStorageProfile.go index 82e549e08b4..439fa0d8817 100644 --- a/service/deadline/api_op_GetStorageProfile.go +++ b/service/deadline/api_op_GetStorageProfile.go @@ -153,9 +153,6 @@ func (c *Client) addOperationGetStorageProfileMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetStorageProfileMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_GetStorageProfileForQueue.go b/service/deadline/api_op_GetStorageProfileForQueue.go index 5646f3a9220..9d39fae5998 100644 --- a/service/deadline/api_op_GetStorageProfileForQueue.go +++ b/service/deadline/api_op_GetStorageProfileForQueue.go @@ -141,9 +141,6 @@ func (c *Client) addOperationGetStorageProfileForQueueMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetStorageProfileForQueueMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_GetTask.go b/service/deadline/api_op_GetTask.go index 023ebbc7526..72b4ddafd88 100644 --- a/service/deadline/api_op_GetTask.go +++ b/service/deadline/api_op_GetTask.go @@ -174,9 +174,6 @@ func (c *Client) addOperationGetTaskMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetTaskMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_GetWorker.go b/service/deadline/api_op_GetWorker.go index e6285010dd2..c2b772d6751 100644 --- a/service/deadline/api_op_GetWorker.go +++ b/service/deadline/api_op_GetWorker.go @@ -162,9 +162,6 @@ func (c *Client) addOperationGetWorkerMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetWorkerMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_ListAvailableMeteredProducts.go b/service/deadline/api_op_ListAvailableMeteredProducts.go index ae81b623833..78e4c148b1d 100644 --- a/service/deadline/api_op_ListAvailableMeteredProducts.go +++ b/service/deadline/api_op_ListAvailableMeteredProducts.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListAvailableMeteredProductsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListAvailableMeteredProductsMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_ListBudgets.go b/service/deadline/api_op_ListBudgets.go index f20f01849f2..82a46e0339a 100644 --- a/service/deadline/api_op_ListBudgets.go +++ b/service/deadline/api_op_ListBudgets.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListBudgetsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListBudgetsMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_ListFarmMembers.go b/service/deadline/api_op_ListFarmMembers.go index 0f708b9ccef..604d2ee1588 100644 --- a/service/deadline/api_op_ListFarmMembers.go +++ b/service/deadline/api_op_ListFarmMembers.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListFarmMembersMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListFarmMembersMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_ListFarms.go b/service/deadline/api_op_ListFarms.go index 3f08028f1c5..7a8e647bf81 100644 --- a/service/deadline/api_op_ListFarms.go +++ b/service/deadline/api_op_ListFarms.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListFarmsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListFarmsMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_ListFleetMembers.go b/service/deadline/api_op_ListFleetMembers.go index 4304ab6017b..b4e80784d3a 100644 --- a/service/deadline/api_op_ListFleetMembers.go +++ b/service/deadline/api_op_ListFleetMembers.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListFleetMembersMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListFleetMembersMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_ListFleets.go b/service/deadline/api_op_ListFleets.go index 60013995778..9f2f8ea66b8 100644 --- a/service/deadline/api_op_ListFleets.go +++ b/service/deadline/api_op_ListFleets.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListFleetsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListFleetsMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_ListJobMembers.go b/service/deadline/api_op_ListJobMembers.go index e191fcac6b4..ad8fdae4186 100644 --- a/service/deadline/api_op_ListJobMembers.go +++ b/service/deadline/api_op_ListJobMembers.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListJobMembersMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListJobMembersMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_ListJobParameterDefinitions.go b/service/deadline/api_op_ListJobParameterDefinitions.go index d7ff8f3ceec..c0b8587f7b4 100644 --- a/service/deadline/api_op_ListJobParameterDefinitions.go +++ b/service/deadline/api_op_ListJobParameterDefinitions.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListJobParameterDefinitionsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListJobParameterDefinitionsMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_ListJobs.go b/service/deadline/api_op_ListJobs.go index 0451360b52f..b9444a112fd 100644 --- a/service/deadline/api_op_ListJobs.go +++ b/service/deadline/api_op_ListJobs.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListJobsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListJobsMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_ListLicenseEndpoints.go b/service/deadline/api_op_ListLicenseEndpoints.go index c7ca268293a..5499be90beb 100644 --- a/service/deadline/api_op_ListLicenseEndpoints.go +++ b/service/deadline/api_op_ListLicenseEndpoints.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListLicenseEndpointsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListLicenseEndpointsMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_ListLimits.go b/service/deadline/api_op_ListLimits.go index e1ea82485f9..e743af4364d 100644 --- a/service/deadline/api_op_ListLimits.go +++ b/service/deadline/api_op_ListLimits.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListLimitsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListLimitsMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_ListMeteredProducts.go b/service/deadline/api_op_ListMeteredProducts.go index 5b2eaf1a55d..30aa4ab94ea 100644 --- a/service/deadline/api_op_ListMeteredProducts.go +++ b/service/deadline/api_op_ListMeteredProducts.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListMeteredProductsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListMeteredProductsMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_ListMonitors.go b/service/deadline/api_op_ListMonitors.go index 24799a4812c..a0f78624d57 100644 --- a/service/deadline/api_op_ListMonitors.go +++ b/service/deadline/api_op_ListMonitors.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListMonitorsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListMonitorsMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_ListQueueEnvironments.go b/service/deadline/api_op_ListQueueEnvironments.go index 7e020d2ca87..a4a74de4e03 100644 --- a/service/deadline/api_op_ListQueueEnvironments.go +++ b/service/deadline/api_op_ListQueueEnvironments.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListQueueEnvironmentsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListQueueEnvironmentsMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_ListQueueFleetAssociations.go b/service/deadline/api_op_ListQueueFleetAssociations.go index c2f98905085..1a37dcfe735 100644 --- a/service/deadline/api_op_ListQueueFleetAssociations.go +++ b/service/deadline/api_op_ListQueueFleetAssociations.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListQueueFleetAssociationsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListQueueFleetAssociationsMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_ListQueueLimitAssociations.go b/service/deadline/api_op_ListQueueLimitAssociations.go index 4b62b47d168..cb517ac7bb6 100644 --- a/service/deadline/api_op_ListQueueLimitAssociations.go +++ b/service/deadline/api_op_ListQueueLimitAssociations.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListQueueLimitAssociationsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListQueueLimitAssociationsMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_ListQueueMembers.go b/service/deadline/api_op_ListQueueMembers.go index e789601ad7e..3dcd14a37ff 100644 --- a/service/deadline/api_op_ListQueueMembers.go +++ b/service/deadline/api_op_ListQueueMembers.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListQueueMembersMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListQueueMembersMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_ListQueues.go b/service/deadline/api_op_ListQueues.go index 7de011edd44..fbac1070a75 100644 --- a/service/deadline/api_op_ListQueues.go +++ b/service/deadline/api_op_ListQueues.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListQueuesMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListQueuesMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_ListSessionActions.go b/service/deadline/api_op_ListSessionActions.go index 87e3f92595e..97d57684520 100644 --- a/service/deadline/api_op_ListSessionActions.go +++ b/service/deadline/api_op_ListSessionActions.go @@ -145,9 +145,6 @@ func (c *Client) addOperationListSessionActionsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListSessionActionsMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_ListSessions.go b/service/deadline/api_op_ListSessions.go index 72308eca68e..fcec3039aca 100644 --- a/service/deadline/api_op_ListSessions.go +++ b/service/deadline/api_op_ListSessions.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListSessionsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListSessionsMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_ListSessionsForWorker.go b/service/deadline/api_op_ListSessionsForWorker.go index 3a41b056177..6653200c33d 100644 --- a/service/deadline/api_op_ListSessionsForWorker.go +++ b/service/deadline/api_op_ListSessionsForWorker.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListSessionsForWorkerMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListSessionsForWorkerMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_ListStepConsumers.go b/service/deadline/api_op_ListStepConsumers.go index 08cc705914f..33f563f8f2b 100644 --- a/service/deadline/api_op_ListStepConsumers.go +++ b/service/deadline/api_op_ListStepConsumers.go @@ -144,9 +144,6 @@ func (c *Client) addOperationListStepConsumersMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListStepConsumersMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_ListStepDependencies.go b/service/deadline/api_op_ListStepDependencies.go index 83d91b7431a..258510e50e9 100644 --- a/service/deadline/api_op_ListStepDependencies.go +++ b/service/deadline/api_op_ListStepDependencies.go @@ -144,9 +144,6 @@ func (c *Client) addOperationListStepDependenciesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListStepDependenciesMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_ListSteps.go b/service/deadline/api_op_ListSteps.go index 196c7d42189..2bf1ab699a8 100644 --- a/service/deadline/api_op_ListSteps.go +++ b/service/deadline/api_op_ListSteps.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListStepsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListStepsMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_ListStorageProfiles.go b/service/deadline/api_op_ListStorageProfiles.go index 844d7915213..743f5fb4d8d 100644 --- a/service/deadline/api_op_ListStorageProfiles.go +++ b/service/deadline/api_op_ListStorageProfiles.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListStorageProfilesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListStorageProfilesMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_ListStorageProfilesForQueue.go b/service/deadline/api_op_ListStorageProfilesForQueue.go index 9f4e6bc5da2..99f7996dc77 100644 --- a/service/deadline/api_op_ListStorageProfilesForQueue.go +++ b/service/deadline/api_op_ListStorageProfilesForQueue.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListStorageProfilesForQueueMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListStorageProfilesForQueueMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_ListTagsForResource.go b/service/deadline/api_op_ListTagsForResource.go index 91050818572..9280dc35c5f 100644 --- a/service/deadline/api_op_ListTagsForResource.go +++ b/service/deadline/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListTagsForResourceMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_ListTasks.go b/service/deadline/api_op_ListTasks.go index 4a732498fde..e6c0dc18790 100644 --- a/service/deadline/api_op_ListTasks.go +++ b/service/deadline/api_op_ListTasks.go @@ -144,9 +144,6 @@ func (c *Client) addOperationListTasksMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListTasksMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_ListWorkers.go b/service/deadline/api_op_ListWorkers.go index ec3f8c8c6b0..453334d228a 100644 --- a/service/deadline/api_op_ListWorkers.go +++ b/service/deadline/api_op_ListWorkers.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListWorkersMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListWorkersMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_PutMeteredProduct.go b/service/deadline/api_op_PutMeteredProduct.go index 2a9538f314e..e3364c9d431 100644 --- a/service/deadline/api_op_PutMeteredProduct.go +++ b/service/deadline/api_op_PutMeteredProduct.go @@ -112,9 +112,6 @@ func (c *Client) addOperationPutMeteredProductMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opPutMeteredProductMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_SearchJobs.go b/service/deadline/api_op_SearchJobs.go index db4afd7275d..7cac4b10b44 100644 --- a/service/deadline/api_op_SearchJobs.go +++ b/service/deadline/api_op_SearchJobs.go @@ -144,9 +144,6 @@ func (c *Client) addOperationSearchJobsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opSearchJobsMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_SearchSteps.go b/service/deadline/api_op_SearchSteps.go index d9905c14aca..c9848f4b8cb 100644 --- a/service/deadline/api_op_SearchSteps.go +++ b/service/deadline/api_op_SearchSteps.go @@ -147,9 +147,6 @@ func (c *Client) addOperationSearchStepsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opSearchStepsMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_SearchTasks.go b/service/deadline/api_op_SearchTasks.go index c028b79a8e4..4f653c4eef3 100644 --- a/service/deadline/api_op_SearchTasks.go +++ b/service/deadline/api_op_SearchTasks.go @@ -147,9 +147,6 @@ func (c *Client) addOperationSearchTasksMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opSearchTasksMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_SearchWorkers.go b/service/deadline/api_op_SearchWorkers.go index e55218b12ae..e0c1bde72af 100644 --- a/service/deadline/api_op_SearchWorkers.go +++ b/service/deadline/api_op_SearchWorkers.go @@ -144,9 +144,6 @@ func (c *Client) addOperationSearchWorkersMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opSearchWorkersMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_StartSessionsStatisticsAggregation.go b/service/deadline/api_op_StartSessionsStatisticsAggregation.go index fc70982cc62..889a30b9c11 100644 --- a/service/deadline/api_op_StartSessionsStatisticsAggregation.go +++ b/service/deadline/api_op_StartSessionsStatisticsAggregation.go @@ -153,9 +153,6 @@ func (c *Client) addOperationStartSessionsStatisticsAggregationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opStartSessionsStatisticsAggregationMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_TagResource.go b/service/deadline/api_op_TagResource.go index cc65424d0f4..59335faefce 100644 --- a/service/deadline/api_op_TagResource.go +++ b/service/deadline/api_op_TagResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opTagResourceMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_UntagResource.go b/service/deadline/api_op_UntagResource.go index 1d2f1b0e2aa..1c829e93c56 100644 --- a/service/deadline/api_op_UntagResource.go +++ b/service/deadline/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUntagResourceMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_UpdateBudget.go b/service/deadline/api_op_UpdateBudget.go index 60417c17b19..7dbea89636a 100644 --- a/service/deadline/api_op_UpdateBudget.go +++ b/service/deadline/api_op_UpdateBudget.go @@ -151,9 +151,6 @@ func (c *Client) addOperationUpdateBudgetMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateBudgetMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_UpdateFarm.go b/service/deadline/api_op_UpdateFarm.go index e8a4478671a..f67d3561b19 100644 --- a/service/deadline/api_op_UpdateFarm.go +++ b/service/deadline/api_op_UpdateFarm.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateFarmMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateFarmMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_UpdateFleet.go b/service/deadline/api_op_UpdateFleet.go index 9becea4c056..7ad8099ebab 100644 --- a/service/deadline/api_op_UpdateFleet.go +++ b/service/deadline/api_op_UpdateFleet.go @@ -142,9 +142,6 @@ func (c *Client) addOperationUpdateFleetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateFleetMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_UpdateJob.go b/service/deadline/api_op_UpdateJob.go index 1dbeb644f97..821c7546cab 100644 --- a/service/deadline/api_op_UpdateJob.go +++ b/service/deadline/api_op_UpdateJob.go @@ -159,9 +159,6 @@ func (c *Client) addOperationUpdateJobMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateJobMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_UpdateLimit.go b/service/deadline/api_op_UpdateLimit.go index c15cac04459..0c6faff6f1a 100644 --- a/service/deadline/api_op_UpdateLimit.go +++ b/service/deadline/api_op_UpdateLimit.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateLimitMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateLimitMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_UpdateMonitor.go b/service/deadline/api_op_UpdateMonitor.go index a3b52d39356..6c236c2b674 100644 --- a/service/deadline/api_op_UpdateMonitor.go +++ b/service/deadline/api_op_UpdateMonitor.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateMonitorMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateMonitorMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_UpdateQueue.go b/service/deadline/api_op_UpdateQueue.go index f2a6fbacba6..c898ad1d5d0 100644 --- a/service/deadline/api_op_UpdateQueue.go +++ b/service/deadline/api_op_UpdateQueue.go @@ -154,9 +154,6 @@ func (c *Client) addOperationUpdateQueueMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateQueueMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_UpdateQueueEnvironment.go b/service/deadline/api_op_UpdateQueueEnvironment.go index d80f4a6fe9a..f129db511ee 100644 --- a/service/deadline/api_op_UpdateQueueEnvironment.go +++ b/service/deadline/api_op_UpdateQueueEnvironment.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateQueueEnvironmentMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateQueueEnvironmentMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_UpdateQueueFleetAssociation.go b/service/deadline/api_op_UpdateQueueFleetAssociation.go index e5354bba2cb..b856f75b580 100644 --- a/service/deadline/api_op_UpdateQueueFleetAssociation.go +++ b/service/deadline/api_op_UpdateQueueFleetAssociation.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateQueueFleetAssociationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateQueueFleetAssociationMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_UpdateQueueLimitAssociation.go b/service/deadline/api_op_UpdateQueueLimitAssociation.go index aa12fa21379..8722bd17ec9 100644 --- a/service/deadline/api_op_UpdateQueueLimitAssociation.go +++ b/service/deadline/api_op_UpdateQueueLimitAssociation.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateQueueLimitAssociationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateQueueLimitAssociationMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_UpdateSession.go b/service/deadline/api_op_UpdateSession.go index 863f90f8da5..92184436fa5 100644 --- a/service/deadline/api_op_UpdateSession.go +++ b/service/deadline/api_op_UpdateSession.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateSessionMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateSessionMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_UpdateStep.go b/service/deadline/api_op_UpdateStep.go index 6a7bfa9cfd5..c056fe93ba4 100644 --- a/service/deadline/api_op_UpdateStep.go +++ b/service/deadline/api_op_UpdateStep.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateStepMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateStepMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_UpdateStorageProfile.go b/service/deadline/api_op_UpdateStorageProfile.go index 5f6f37929ae..dec421f0102 100644 --- a/service/deadline/api_op_UpdateStorageProfile.go +++ b/service/deadline/api_op_UpdateStorageProfile.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdateStorageProfileMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateStorageProfileMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_UpdateTask.go b/service/deadline/api_op_UpdateTask.go index 338e6aedf9f..70f6c77daaa 100644 --- a/service/deadline/api_op_UpdateTask.go +++ b/service/deadline/api_op_UpdateTask.go @@ -136,9 +136,6 @@ func (c *Client) addOperationUpdateTaskMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateTaskMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_UpdateWorker.go b/service/deadline/api_op_UpdateWorker.go index 11aa13ae79e..aa5da8ee1e8 100644 --- a/service/deadline/api_op_UpdateWorker.go +++ b/service/deadline/api_op_UpdateWorker.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateWorkerMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateWorkerMiddleware(stack); err != nil { return err } diff --git a/service/deadline/api_op_UpdateWorkerSchedule.go b/service/deadline/api_op_UpdateWorkerSchedule.go index d3088f79c4e..398f7bdcc0e 100644 --- a/service/deadline/api_op_UpdateWorkerSchedule.go +++ b/service/deadline/api_op_UpdateWorkerSchedule.go @@ -140,9 +140,6 @@ func (c *Client) addOperationUpdateWorkerScheduleMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateWorkerScheduleMiddleware(stack); err != nil { return err } diff --git a/service/deadline/snapshot/api_op_AssociateMemberToFarm.go.snap b/service/deadline/snapshot/api_op_AssociateMemberToFarm.go.snap index 6a9296aca71..cc2f1f31758 100644 --- a/service/deadline/snapshot/api_op_AssociateMemberToFarm.go.snap +++ b/service/deadline/snapshot/api_op_AssociateMemberToFarm.go.snap @@ -14,7 +14,6 @@ AssociateMemberToFarm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_AssociateMemberToFleet.go.snap b/service/deadline/snapshot/api_op_AssociateMemberToFleet.go.snap index 2786862db33..da2ec3eb7d0 100644 --- a/service/deadline/snapshot/api_op_AssociateMemberToFleet.go.snap +++ b/service/deadline/snapshot/api_op_AssociateMemberToFleet.go.snap @@ -14,7 +14,6 @@ AssociateMemberToFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_AssociateMemberToJob.go.snap b/service/deadline/snapshot/api_op_AssociateMemberToJob.go.snap index d1d297a06b6..787e573ed36 100644 --- a/service/deadline/snapshot/api_op_AssociateMemberToJob.go.snap +++ b/service/deadline/snapshot/api_op_AssociateMemberToJob.go.snap @@ -14,7 +14,6 @@ AssociateMemberToJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_AssociateMemberToQueue.go.snap b/service/deadline/snapshot/api_op_AssociateMemberToQueue.go.snap index eb94ff3c91e..30a9f8e7c0b 100644 --- a/service/deadline/snapshot/api_op_AssociateMemberToQueue.go.snap +++ b/service/deadline/snapshot/api_op_AssociateMemberToQueue.go.snap @@ -14,7 +14,6 @@ AssociateMemberToQueue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_AssumeFleetRoleForRead.go.snap b/service/deadline/snapshot/api_op_AssumeFleetRoleForRead.go.snap index b30c7ed184c..ae458ae18e4 100644 --- a/service/deadline/snapshot/api_op_AssumeFleetRoleForRead.go.snap +++ b/service/deadline/snapshot/api_op_AssumeFleetRoleForRead.go.snap @@ -14,7 +14,6 @@ AssumeFleetRoleForRead Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_AssumeFleetRoleForWorker.go.snap b/service/deadline/snapshot/api_op_AssumeFleetRoleForWorker.go.snap index edf4d097b0d..e60dcfafbb6 100644 --- a/service/deadline/snapshot/api_op_AssumeFleetRoleForWorker.go.snap +++ b/service/deadline/snapshot/api_op_AssumeFleetRoleForWorker.go.snap @@ -14,7 +14,6 @@ AssumeFleetRoleForWorker Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_AssumeQueueRoleForRead.go.snap b/service/deadline/snapshot/api_op_AssumeQueueRoleForRead.go.snap index 3cbc6b39429..e411f9283af 100644 --- a/service/deadline/snapshot/api_op_AssumeQueueRoleForRead.go.snap +++ b/service/deadline/snapshot/api_op_AssumeQueueRoleForRead.go.snap @@ -14,7 +14,6 @@ AssumeQueueRoleForRead Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_AssumeQueueRoleForUser.go.snap b/service/deadline/snapshot/api_op_AssumeQueueRoleForUser.go.snap index 5d414868d30..8ae2b320972 100644 --- a/service/deadline/snapshot/api_op_AssumeQueueRoleForUser.go.snap +++ b/service/deadline/snapshot/api_op_AssumeQueueRoleForUser.go.snap @@ -14,7 +14,6 @@ AssumeQueueRoleForUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_AssumeQueueRoleForWorker.go.snap b/service/deadline/snapshot/api_op_AssumeQueueRoleForWorker.go.snap index 30818d0105b..96df51b0dab 100644 --- a/service/deadline/snapshot/api_op_AssumeQueueRoleForWorker.go.snap +++ b/service/deadline/snapshot/api_op_AssumeQueueRoleForWorker.go.snap @@ -14,7 +14,6 @@ AssumeQueueRoleForWorker Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_BatchGetJobEntity.go.snap b/service/deadline/snapshot/api_op_BatchGetJobEntity.go.snap index 39360d11094..aa853c87dd8 100644 --- a/service/deadline/snapshot/api_op_BatchGetJobEntity.go.snap +++ b/service/deadline/snapshot/api_op_BatchGetJobEntity.go.snap @@ -14,7 +14,6 @@ BatchGetJobEntity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_CopyJobTemplate.go.snap b/service/deadline/snapshot/api_op_CopyJobTemplate.go.snap index dded33fe5a0..d41cb7021e5 100644 --- a/service/deadline/snapshot/api_op_CopyJobTemplate.go.snap +++ b/service/deadline/snapshot/api_op_CopyJobTemplate.go.snap @@ -14,7 +14,6 @@ CopyJobTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_CreateBudget.go.snap b/service/deadline/snapshot/api_op_CreateBudget.go.snap index 4f6fa687862..ed07810b2c0 100644 --- a/service/deadline/snapshot/api_op_CreateBudget.go.snap +++ b/service/deadline/snapshot/api_op_CreateBudget.go.snap @@ -15,7 +15,6 @@ CreateBudget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_CreateFarm.go.snap b/service/deadline/snapshot/api_op_CreateFarm.go.snap index 5a278699e02..11a5ba46a2c 100644 --- a/service/deadline/snapshot/api_op_CreateFarm.go.snap +++ b/service/deadline/snapshot/api_op_CreateFarm.go.snap @@ -15,7 +15,6 @@ CreateFarm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_CreateFleet.go.snap b/service/deadline/snapshot/api_op_CreateFleet.go.snap index 4ca27a12534..3e996bcbc78 100644 --- a/service/deadline/snapshot/api_op_CreateFleet.go.snap +++ b/service/deadline/snapshot/api_op_CreateFleet.go.snap @@ -15,7 +15,6 @@ CreateFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_CreateJob.go.snap b/service/deadline/snapshot/api_op_CreateJob.go.snap index 90f7690ff47..1a3dba7927a 100644 --- a/service/deadline/snapshot/api_op_CreateJob.go.snap +++ b/service/deadline/snapshot/api_op_CreateJob.go.snap @@ -15,7 +15,6 @@ CreateJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_CreateLicenseEndpoint.go.snap b/service/deadline/snapshot/api_op_CreateLicenseEndpoint.go.snap index 59f06a0cc67..a55ba5c88ee 100644 --- a/service/deadline/snapshot/api_op_CreateLicenseEndpoint.go.snap +++ b/service/deadline/snapshot/api_op_CreateLicenseEndpoint.go.snap @@ -15,7 +15,6 @@ CreateLicenseEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_CreateLimit.go.snap b/service/deadline/snapshot/api_op_CreateLimit.go.snap index d37875f8fb9..be9e7119e13 100644 --- a/service/deadline/snapshot/api_op_CreateLimit.go.snap +++ b/service/deadline/snapshot/api_op_CreateLimit.go.snap @@ -15,7 +15,6 @@ CreateLimit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_CreateMonitor.go.snap b/service/deadline/snapshot/api_op_CreateMonitor.go.snap index d39bcc4dad0..b7dd705fbc0 100644 --- a/service/deadline/snapshot/api_op_CreateMonitor.go.snap +++ b/service/deadline/snapshot/api_op_CreateMonitor.go.snap @@ -15,7 +15,6 @@ CreateMonitor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_CreateQueue.go.snap b/service/deadline/snapshot/api_op_CreateQueue.go.snap index 01d48f806e0..80195afa922 100644 --- a/service/deadline/snapshot/api_op_CreateQueue.go.snap +++ b/service/deadline/snapshot/api_op_CreateQueue.go.snap @@ -15,7 +15,6 @@ CreateQueue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_CreateQueueEnvironment.go.snap b/service/deadline/snapshot/api_op_CreateQueueEnvironment.go.snap index e038874378d..182dde0b9a6 100644 --- a/service/deadline/snapshot/api_op_CreateQueueEnvironment.go.snap +++ b/service/deadline/snapshot/api_op_CreateQueueEnvironment.go.snap @@ -15,7 +15,6 @@ CreateQueueEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_CreateQueueFleetAssociation.go.snap b/service/deadline/snapshot/api_op_CreateQueueFleetAssociation.go.snap index adab6201f42..0c4cbb4263a 100644 --- a/service/deadline/snapshot/api_op_CreateQueueFleetAssociation.go.snap +++ b/service/deadline/snapshot/api_op_CreateQueueFleetAssociation.go.snap @@ -14,7 +14,6 @@ CreateQueueFleetAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_CreateQueueLimitAssociation.go.snap b/service/deadline/snapshot/api_op_CreateQueueLimitAssociation.go.snap index b3d9fd7609b..742621d57a9 100644 --- a/service/deadline/snapshot/api_op_CreateQueueLimitAssociation.go.snap +++ b/service/deadline/snapshot/api_op_CreateQueueLimitAssociation.go.snap @@ -14,7 +14,6 @@ CreateQueueLimitAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_CreateStorageProfile.go.snap b/service/deadline/snapshot/api_op_CreateStorageProfile.go.snap index 910a6770d04..f6595f257f0 100644 --- a/service/deadline/snapshot/api_op_CreateStorageProfile.go.snap +++ b/service/deadline/snapshot/api_op_CreateStorageProfile.go.snap @@ -15,7 +15,6 @@ CreateStorageProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_CreateWorker.go.snap b/service/deadline/snapshot/api_op_CreateWorker.go.snap index 903a545c7ca..97f14f9dca5 100644 --- a/service/deadline/snapshot/api_op_CreateWorker.go.snap +++ b/service/deadline/snapshot/api_op_CreateWorker.go.snap @@ -15,7 +15,6 @@ CreateWorker Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_DeleteBudget.go.snap b/service/deadline/snapshot/api_op_DeleteBudget.go.snap index 6eb42835eb8..8150ada0579 100644 --- a/service/deadline/snapshot/api_op_DeleteBudget.go.snap +++ b/service/deadline/snapshot/api_op_DeleteBudget.go.snap @@ -14,7 +14,6 @@ DeleteBudget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_DeleteFarm.go.snap b/service/deadline/snapshot/api_op_DeleteFarm.go.snap index 723886b0673..f95a7f758e6 100644 --- a/service/deadline/snapshot/api_op_DeleteFarm.go.snap +++ b/service/deadline/snapshot/api_op_DeleteFarm.go.snap @@ -14,7 +14,6 @@ DeleteFarm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_DeleteFleet.go.snap b/service/deadline/snapshot/api_op_DeleteFleet.go.snap index c1a21e07434..d7f637081b0 100644 --- a/service/deadline/snapshot/api_op_DeleteFleet.go.snap +++ b/service/deadline/snapshot/api_op_DeleteFleet.go.snap @@ -15,7 +15,6 @@ DeleteFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_DeleteLicenseEndpoint.go.snap b/service/deadline/snapshot/api_op_DeleteLicenseEndpoint.go.snap index 02f4b1e261c..dd7da6262ac 100644 --- a/service/deadline/snapshot/api_op_DeleteLicenseEndpoint.go.snap +++ b/service/deadline/snapshot/api_op_DeleteLicenseEndpoint.go.snap @@ -14,7 +14,6 @@ DeleteLicenseEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_DeleteLimit.go.snap b/service/deadline/snapshot/api_op_DeleteLimit.go.snap index 77ba79903af..851e1cd4a13 100644 --- a/service/deadline/snapshot/api_op_DeleteLimit.go.snap +++ b/service/deadline/snapshot/api_op_DeleteLimit.go.snap @@ -14,7 +14,6 @@ DeleteLimit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_DeleteMeteredProduct.go.snap b/service/deadline/snapshot/api_op_DeleteMeteredProduct.go.snap index c440f2e421c..3b69404da48 100644 --- a/service/deadline/snapshot/api_op_DeleteMeteredProduct.go.snap +++ b/service/deadline/snapshot/api_op_DeleteMeteredProduct.go.snap @@ -14,7 +14,6 @@ DeleteMeteredProduct Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_DeleteMonitor.go.snap b/service/deadline/snapshot/api_op_DeleteMonitor.go.snap index 77835ada1c1..44f474e5446 100644 --- a/service/deadline/snapshot/api_op_DeleteMonitor.go.snap +++ b/service/deadline/snapshot/api_op_DeleteMonitor.go.snap @@ -14,7 +14,6 @@ DeleteMonitor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_DeleteQueue.go.snap b/service/deadline/snapshot/api_op_DeleteQueue.go.snap index 789786500bc..b5d8d5730de 100644 --- a/service/deadline/snapshot/api_op_DeleteQueue.go.snap +++ b/service/deadline/snapshot/api_op_DeleteQueue.go.snap @@ -14,7 +14,6 @@ DeleteQueue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_DeleteQueueEnvironment.go.snap b/service/deadline/snapshot/api_op_DeleteQueueEnvironment.go.snap index e2a8d7105e9..713a4b64e32 100644 --- a/service/deadline/snapshot/api_op_DeleteQueueEnvironment.go.snap +++ b/service/deadline/snapshot/api_op_DeleteQueueEnvironment.go.snap @@ -14,7 +14,6 @@ DeleteQueueEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_DeleteQueueFleetAssociation.go.snap b/service/deadline/snapshot/api_op_DeleteQueueFleetAssociation.go.snap index 87412146ab0..eb2c2902c06 100644 --- a/service/deadline/snapshot/api_op_DeleteQueueFleetAssociation.go.snap +++ b/service/deadline/snapshot/api_op_DeleteQueueFleetAssociation.go.snap @@ -14,7 +14,6 @@ DeleteQueueFleetAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_DeleteQueueLimitAssociation.go.snap b/service/deadline/snapshot/api_op_DeleteQueueLimitAssociation.go.snap index e286b7b4570..504369c344d 100644 --- a/service/deadline/snapshot/api_op_DeleteQueueLimitAssociation.go.snap +++ b/service/deadline/snapshot/api_op_DeleteQueueLimitAssociation.go.snap @@ -14,7 +14,6 @@ DeleteQueueLimitAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_DeleteStorageProfile.go.snap b/service/deadline/snapshot/api_op_DeleteStorageProfile.go.snap index 0ae022b1ba4..65023232d43 100644 --- a/service/deadline/snapshot/api_op_DeleteStorageProfile.go.snap +++ b/service/deadline/snapshot/api_op_DeleteStorageProfile.go.snap @@ -14,7 +14,6 @@ DeleteStorageProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_DeleteWorker.go.snap b/service/deadline/snapshot/api_op_DeleteWorker.go.snap index 73371e932d5..761d12b3a94 100644 --- a/service/deadline/snapshot/api_op_DeleteWorker.go.snap +++ b/service/deadline/snapshot/api_op_DeleteWorker.go.snap @@ -14,7 +14,6 @@ DeleteWorker Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_DisassociateMemberFromFarm.go.snap b/service/deadline/snapshot/api_op_DisassociateMemberFromFarm.go.snap index 0b9113648da..5904c8cd913 100644 --- a/service/deadline/snapshot/api_op_DisassociateMemberFromFarm.go.snap +++ b/service/deadline/snapshot/api_op_DisassociateMemberFromFarm.go.snap @@ -14,7 +14,6 @@ DisassociateMemberFromFarm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_DisassociateMemberFromFleet.go.snap b/service/deadline/snapshot/api_op_DisassociateMemberFromFleet.go.snap index 791f797e680..2446e9a1ac2 100644 --- a/service/deadline/snapshot/api_op_DisassociateMemberFromFleet.go.snap +++ b/service/deadline/snapshot/api_op_DisassociateMemberFromFleet.go.snap @@ -14,7 +14,6 @@ DisassociateMemberFromFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_DisassociateMemberFromJob.go.snap b/service/deadline/snapshot/api_op_DisassociateMemberFromJob.go.snap index bc06767a851..ec964a0cd74 100644 --- a/service/deadline/snapshot/api_op_DisassociateMemberFromJob.go.snap +++ b/service/deadline/snapshot/api_op_DisassociateMemberFromJob.go.snap @@ -14,7 +14,6 @@ DisassociateMemberFromJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_DisassociateMemberFromQueue.go.snap b/service/deadline/snapshot/api_op_DisassociateMemberFromQueue.go.snap index cd50f3c719f..6b562500d8a 100644 --- a/service/deadline/snapshot/api_op_DisassociateMemberFromQueue.go.snap +++ b/service/deadline/snapshot/api_op_DisassociateMemberFromQueue.go.snap @@ -14,7 +14,6 @@ DisassociateMemberFromQueue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_GetBudget.go.snap b/service/deadline/snapshot/api_op_GetBudget.go.snap index 6d2a156e471..4a937fbbb7a 100644 --- a/service/deadline/snapshot/api_op_GetBudget.go.snap +++ b/service/deadline/snapshot/api_op_GetBudget.go.snap @@ -14,7 +14,6 @@ GetBudget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_GetFarm.go.snap b/service/deadline/snapshot/api_op_GetFarm.go.snap index dda8153007e..58ff06d66b3 100644 --- a/service/deadline/snapshot/api_op_GetFarm.go.snap +++ b/service/deadline/snapshot/api_op_GetFarm.go.snap @@ -14,7 +14,6 @@ GetFarm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_GetFleet.go.snap b/service/deadline/snapshot/api_op_GetFleet.go.snap index db94c714b92..8b06a93a936 100644 --- a/service/deadline/snapshot/api_op_GetFleet.go.snap +++ b/service/deadline/snapshot/api_op_GetFleet.go.snap @@ -14,7 +14,6 @@ GetFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_GetJob.go.snap b/service/deadline/snapshot/api_op_GetJob.go.snap index 0bfd5a815eb..09e4f7798e9 100644 --- a/service/deadline/snapshot/api_op_GetJob.go.snap +++ b/service/deadline/snapshot/api_op_GetJob.go.snap @@ -14,7 +14,6 @@ GetJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_GetLicenseEndpoint.go.snap b/service/deadline/snapshot/api_op_GetLicenseEndpoint.go.snap index b7fea5af86f..d70a29b57ea 100644 --- a/service/deadline/snapshot/api_op_GetLicenseEndpoint.go.snap +++ b/service/deadline/snapshot/api_op_GetLicenseEndpoint.go.snap @@ -14,7 +14,6 @@ GetLicenseEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_GetLimit.go.snap b/service/deadline/snapshot/api_op_GetLimit.go.snap index 4dfc0279ce5..1cae87e8be5 100644 --- a/service/deadline/snapshot/api_op_GetLimit.go.snap +++ b/service/deadline/snapshot/api_op_GetLimit.go.snap @@ -14,7 +14,6 @@ GetLimit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_GetMonitor.go.snap b/service/deadline/snapshot/api_op_GetMonitor.go.snap index 157c455c91c..ea0d0d7e01a 100644 --- a/service/deadline/snapshot/api_op_GetMonitor.go.snap +++ b/service/deadline/snapshot/api_op_GetMonitor.go.snap @@ -14,7 +14,6 @@ GetMonitor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_GetQueue.go.snap b/service/deadline/snapshot/api_op_GetQueue.go.snap index 1f58801f92b..f9073f065fd 100644 --- a/service/deadline/snapshot/api_op_GetQueue.go.snap +++ b/service/deadline/snapshot/api_op_GetQueue.go.snap @@ -14,7 +14,6 @@ GetQueue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_GetQueueEnvironment.go.snap b/service/deadline/snapshot/api_op_GetQueueEnvironment.go.snap index 8ec0407badc..9715a0e1cd7 100644 --- a/service/deadline/snapshot/api_op_GetQueueEnvironment.go.snap +++ b/service/deadline/snapshot/api_op_GetQueueEnvironment.go.snap @@ -14,7 +14,6 @@ GetQueueEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_GetQueueFleetAssociation.go.snap b/service/deadline/snapshot/api_op_GetQueueFleetAssociation.go.snap index de446e0d827..b5ff11063f3 100644 --- a/service/deadline/snapshot/api_op_GetQueueFleetAssociation.go.snap +++ b/service/deadline/snapshot/api_op_GetQueueFleetAssociation.go.snap @@ -14,7 +14,6 @@ GetQueueFleetAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_GetQueueLimitAssociation.go.snap b/service/deadline/snapshot/api_op_GetQueueLimitAssociation.go.snap index 00d87772a14..88eb00e0c92 100644 --- a/service/deadline/snapshot/api_op_GetQueueLimitAssociation.go.snap +++ b/service/deadline/snapshot/api_op_GetQueueLimitAssociation.go.snap @@ -14,7 +14,6 @@ GetQueueLimitAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_GetSession.go.snap b/service/deadline/snapshot/api_op_GetSession.go.snap index aabc1e97484..b6683235acb 100644 --- a/service/deadline/snapshot/api_op_GetSession.go.snap +++ b/service/deadline/snapshot/api_op_GetSession.go.snap @@ -14,7 +14,6 @@ GetSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_GetSessionAction.go.snap b/service/deadline/snapshot/api_op_GetSessionAction.go.snap index 9e48436347e..7d142526880 100644 --- a/service/deadline/snapshot/api_op_GetSessionAction.go.snap +++ b/service/deadline/snapshot/api_op_GetSessionAction.go.snap @@ -14,7 +14,6 @@ GetSessionAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_GetSessionsStatisticsAggregation.go.snap b/service/deadline/snapshot/api_op_GetSessionsStatisticsAggregation.go.snap index a9a61862d8d..80bfc380f55 100644 --- a/service/deadline/snapshot/api_op_GetSessionsStatisticsAggregation.go.snap +++ b/service/deadline/snapshot/api_op_GetSessionsStatisticsAggregation.go.snap @@ -14,7 +14,6 @@ GetSessionsStatisticsAggregation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_GetStep.go.snap b/service/deadline/snapshot/api_op_GetStep.go.snap index f488a803476..3c60bd05769 100644 --- a/service/deadline/snapshot/api_op_GetStep.go.snap +++ b/service/deadline/snapshot/api_op_GetStep.go.snap @@ -14,7 +14,6 @@ GetStep Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_GetStorageProfile.go.snap b/service/deadline/snapshot/api_op_GetStorageProfile.go.snap index 8ce89af48d9..3caafbcfa75 100644 --- a/service/deadline/snapshot/api_op_GetStorageProfile.go.snap +++ b/service/deadline/snapshot/api_op_GetStorageProfile.go.snap @@ -14,7 +14,6 @@ GetStorageProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_GetStorageProfileForQueue.go.snap b/service/deadline/snapshot/api_op_GetStorageProfileForQueue.go.snap index 566d80438a2..d75766f3812 100644 --- a/service/deadline/snapshot/api_op_GetStorageProfileForQueue.go.snap +++ b/service/deadline/snapshot/api_op_GetStorageProfileForQueue.go.snap @@ -14,7 +14,6 @@ GetStorageProfileForQueue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_GetTask.go.snap b/service/deadline/snapshot/api_op_GetTask.go.snap index 9c6ed0fdf6a..589c7c4e6ae 100644 --- a/service/deadline/snapshot/api_op_GetTask.go.snap +++ b/service/deadline/snapshot/api_op_GetTask.go.snap @@ -14,7 +14,6 @@ GetTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_GetWorker.go.snap b/service/deadline/snapshot/api_op_GetWorker.go.snap index 28255917bc1..38a4b5c3fac 100644 --- a/service/deadline/snapshot/api_op_GetWorker.go.snap +++ b/service/deadline/snapshot/api_op_GetWorker.go.snap @@ -14,7 +14,6 @@ GetWorker Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_ListAvailableMeteredProducts.go.snap b/service/deadline/snapshot/api_op_ListAvailableMeteredProducts.go.snap index f8d09941d61..65eb49fb647 100644 --- a/service/deadline/snapshot/api_op_ListAvailableMeteredProducts.go.snap +++ b/service/deadline/snapshot/api_op_ListAvailableMeteredProducts.go.snap @@ -13,7 +13,6 @@ ListAvailableMeteredProducts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_ListBudgets.go.snap b/service/deadline/snapshot/api_op_ListBudgets.go.snap index 604ba464849..0a89f648119 100644 --- a/service/deadline/snapshot/api_op_ListBudgets.go.snap +++ b/service/deadline/snapshot/api_op_ListBudgets.go.snap @@ -14,7 +14,6 @@ ListBudgets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_ListFarmMembers.go.snap b/service/deadline/snapshot/api_op_ListFarmMembers.go.snap index a9b40829279..120dbc90a6e 100644 --- a/service/deadline/snapshot/api_op_ListFarmMembers.go.snap +++ b/service/deadline/snapshot/api_op_ListFarmMembers.go.snap @@ -14,7 +14,6 @@ ListFarmMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_ListFarms.go.snap b/service/deadline/snapshot/api_op_ListFarms.go.snap index 2dca732aa18..c4e261ab506 100644 --- a/service/deadline/snapshot/api_op_ListFarms.go.snap +++ b/service/deadline/snapshot/api_op_ListFarms.go.snap @@ -13,7 +13,6 @@ ListFarms Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_ListFleetMembers.go.snap b/service/deadline/snapshot/api_op_ListFleetMembers.go.snap index 0e02989924c..a3fcce9aaf3 100644 --- a/service/deadline/snapshot/api_op_ListFleetMembers.go.snap +++ b/service/deadline/snapshot/api_op_ListFleetMembers.go.snap @@ -14,7 +14,6 @@ ListFleetMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_ListFleets.go.snap b/service/deadline/snapshot/api_op_ListFleets.go.snap index cc6cd32a200..2f36ab7d767 100644 --- a/service/deadline/snapshot/api_op_ListFleets.go.snap +++ b/service/deadline/snapshot/api_op_ListFleets.go.snap @@ -14,7 +14,6 @@ ListFleets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_ListJobMembers.go.snap b/service/deadline/snapshot/api_op_ListJobMembers.go.snap index 2f61aae55be..8d0d40c87ba 100644 --- a/service/deadline/snapshot/api_op_ListJobMembers.go.snap +++ b/service/deadline/snapshot/api_op_ListJobMembers.go.snap @@ -14,7 +14,6 @@ ListJobMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_ListJobParameterDefinitions.go.snap b/service/deadline/snapshot/api_op_ListJobParameterDefinitions.go.snap index e46c70d670e..da39375fc1e 100644 --- a/service/deadline/snapshot/api_op_ListJobParameterDefinitions.go.snap +++ b/service/deadline/snapshot/api_op_ListJobParameterDefinitions.go.snap @@ -14,7 +14,6 @@ ListJobParameterDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_ListJobs.go.snap b/service/deadline/snapshot/api_op_ListJobs.go.snap index 46830228c25..0b140f405e4 100644 --- a/service/deadline/snapshot/api_op_ListJobs.go.snap +++ b/service/deadline/snapshot/api_op_ListJobs.go.snap @@ -14,7 +14,6 @@ ListJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_ListLicenseEndpoints.go.snap b/service/deadline/snapshot/api_op_ListLicenseEndpoints.go.snap index 8baad27eeba..899d36a17d5 100644 --- a/service/deadline/snapshot/api_op_ListLicenseEndpoints.go.snap +++ b/service/deadline/snapshot/api_op_ListLicenseEndpoints.go.snap @@ -13,7 +13,6 @@ ListLicenseEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_ListLimits.go.snap b/service/deadline/snapshot/api_op_ListLimits.go.snap index ab446486894..9d7f2b85388 100644 --- a/service/deadline/snapshot/api_op_ListLimits.go.snap +++ b/service/deadline/snapshot/api_op_ListLimits.go.snap @@ -14,7 +14,6 @@ ListLimits Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_ListMeteredProducts.go.snap b/service/deadline/snapshot/api_op_ListMeteredProducts.go.snap index a50d163500f..d5fd97c30ff 100644 --- a/service/deadline/snapshot/api_op_ListMeteredProducts.go.snap +++ b/service/deadline/snapshot/api_op_ListMeteredProducts.go.snap @@ -14,7 +14,6 @@ ListMeteredProducts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_ListMonitors.go.snap b/service/deadline/snapshot/api_op_ListMonitors.go.snap index 0f33c590307..83195ac40f1 100644 --- a/service/deadline/snapshot/api_op_ListMonitors.go.snap +++ b/service/deadline/snapshot/api_op_ListMonitors.go.snap @@ -13,7 +13,6 @@ ListMonitors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_ListQueueEnvironments.go.snap b/service/deadline/snapshot/api_op_ListQueueEnvironments.go.snap index 819ceb298f1..d6a815036fb 100644 --- a/service/deadline/snapshot/api_op_ListQueueEnvironments.go.snap +++ b/service/deadline/snapshot/api_op_ListQueueEnvironments.go.snap @@ -14,7 +14,6 @@ ListQueueEnvironments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_ListQueueFleetAssociations.go.snap b/service/deadline/snapshot/api_op_ListQueueFleetAssociations.go.snap index 07eac91454a..eb1e29a1d34 100644 --- a/service/deadline/snapshot/api_op_ListQueueFleetAssociations.go.snap +++ b/service/deadline/snapshot/api_op_ListQueueFleetAssociations.go.snap @@ -14,7 +14,6 @@ ListQueueFleetAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_ListQueueLimitAssociations.go.snap b/service/deadline/snapshot/api_op_ListQueueLimitAssociations.go.snap index 3dd9ac5d26d..ed3bb8468dc 100644 --- a/service/deadline/snapshot/api_op_ListQueueLimitAssociations.go.snap +++ b/service/deadline/snapshot/api_op_ListQueueLimitAssociations.go.snap @@ -14,7 +14,6 @@ ListQueueLimitAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_ListQueueMembers.go.snap b/service/deadline/snapshot/api_op_ListQueueMembers.go.snap index 5190476be23..befe9cb8997 100644 --- a/service/deadline/snapshot/api_op_ListQueueMembers.go.snap +++ b/service/deadline/snapshot/api_op_ListQueueMembers.go.snap @@ -14,7 +14,6 @@ ListQueueMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_ListQueues.go.snap b/service/deadline/snapshot/api_op_ListQueues.go.snap index 58000f3b716..ca4f43864d3 100644 --- a/service/deadline/snapshot/api_op_ListQueues.go.snap +++ b/service/deadline/snapshot/api_op_ListQueues.go.snap @@ -14,7 +14,6 @@ ListQueues Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_ListSessionActions.go.snap b/service/deadline/snapshot/api_op_ListSessionActions.go.snap index 3a78848816e..13f85f4b556 100644 --- a/service/deadline/snapshot/api_op_ListSessionActions.go.snap +++ b/service/deadline/snapshot/api_op_ListSessionActions.go.snap @@ -14,7 +14,6 @@ ListSessionActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_ListSessions.go.snap b/service/deadline/snapshot/api_op_ListSessions.go.snap index 33b6f123fb6..3d6d3098b66 100644 --- a/service/deadline/snapshot/api_op_ListSessions.go.snap +++ b/service/deadline/snapshot/api_op_ListSessions.go.snap @@ -14,7 +14,6 @@ ListSessions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_ListSessionsForWorker.go.snap b/service/deadline/snapshot/api_op_ListSessionsForWorker.go.snap index a3005716c60..40b89997565 100644 --- a/service/deadline/snapshot/api_op_ListSessionsForWorker.go.snap +++ b/service/deadline/snapshot/api_op_ListSessionsForWorker.go.snap @@ -14,7 +14,6 @@ ListSessionsForWorker Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_ListStepConsumers.go.snap b/service/deadline/snapshot/api_op_ListStepConsumers.go.snap index 1104f8428b7..9b2426e93dd 100644 --- a/service/deadline/snapshot/api_op_ListStepConsumers.go.snap +++ b/service/deadline/snapshot/api_op_ListStepConsumers.go.snap @@ -14,7 +14,6 @@ ListStepConsumers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_ListStepDependencies.go.snap b/service/deadline/snapshot/api_op_ListStepDependencies.go.snap index a209b0862eb..71251d5ba44 100644 --- a/service/deadline/snapshot/api_op_ListStepDependencies.go.snap +++ b/service/deadline/snapshot/api_op_ListStepDependencies.go.snap @@ -14,7 +14,6 @@ ListStepDependencies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_ListSteps.go.snap b/service/deadline/snapshot/api_op_ListSteps.go.snap index ebb0e7a83cc..f5d34de1723 100644 --- a/service/deadline/snapshot/api_op_ListSteps.go.snap +++ b/service/deadline/snapshot/api_op_ListSteps.go.snap @@ -14,7 +14,6 @@ ListSteps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_ListStorageProfiles.go.snap b/service/deadline/snapshot/api_op_ListStorageProfiles.go.snap index 87b77edc7aa..9b35195299e 100644 --- a/service/deadline/snapshot/api_op_ListStorageProfiles.go.snap +++ b/service/deadline/snapshot/api_op_ListStorageProfiles.go.snap @@ -14,7 +14,6 @@ ListStorageProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_ListStorageProfilesForQueue.go.snap b/service/deadline/snapshot/api_op_ListStorageProfilesForQueue.go.snap index 6eee3f27b4d..40204bce4d5 100644 --- a/service/deadline/snapshot/api_op_ListStorageProfilesForQueue.go.snap +++ b/service/deadline/snapshot/api_op_ListStorageProfilesForQueue.go.snap @@ -14,7 +14,6 @@ ListStorageProfilesForQueue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_ListTagsForResource.go.snap b/service/deadline/snapshot/api_op_ListTagsForResource.go.snap index 8ff9a02baa1..0d85e67cf02 100644 --- a/service/deadline/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/deadline/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_ListTasks.go.snap b/service/deadline/snapshot/api_op_ListTasks.go.snap index ebeb79b6a9b..354da14bcdf 100644 --- a/service/deadline/snapshot/api_op_ListTasks.go.snap +++ b/service/deadline/snapshot/api_op_ListTasks.go.snap @@ -14,7 +14,6 @@ ListTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_ListWorkers.go.snap b/service/deadline/snapshot/api_op_ListWorkers.go.snap index 65002f6ed6a..1b4aac67350 100644 --- a/service/deadline/snapshot/api_op_ListWorkers.go.snap +++ b/service/deadline/snapshot/api_op_ListWorkers.go.snap @@ -14,7 +14,6 @@ ListWorkers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_PutMeteredProduct.go.snap b/service/deadline/snapshot/api_op_PutMeteredProduct.go.snap index d96f2e5e6f0..24243c9921a 100644 --- a/service/deadline/snapshot/api_op_PutMeteredProduct.go.snap +++ b/service/deadline/snapshot/api_op_PutMeteredProduct.go.snap @@ -14,7 +14,6 @@ PutMeteredProduct Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_SearchJobs.go.snap b/service/deadline/snapshot/api_op_SearchJobs.go.snap index 73561c20f07..0861b6881cc 100644 --- a/service/deadline/snapshot/api_op_SearchJobs.go.snap +++ b/service/deadline/snapshot/api_op_SearchJobs.go.snap @@ -14,7 +14,6 @@ SearchJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_SearchSteps.go.snap b/service/deadline/snapshot/api_op_SearchSteps.go.snap index 48cb0b83185..e81129a51d3 100644 --- a/service/deadline/snapshot/api_op_SearchSteps.go.snap +++ b/service/deadline/snapshot/api_op_SearchSteps.go.snap @@ -14,7 +14,6 @@ SearchSteps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_SearchTasks.go.snap b/service/deadline/snapshot/api_op_SearchTasks.go.snap index 77a1e81a3da..beb3fcadd10 100644 --- a/service/deadline/snapshot/api_op_SearchTasks.go.snap +++ b/service/deadline/snapshot/api_op_SearchTasks.go.snap @@ -14,7 +14,6 @@ SearchTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_SearchWorkers.go.snap b/service/deadline/snapshot/api_op_SearchWorkers.go.snap index 15d5bb97945..838748f8f32 100644 --- a/service/deadline/snapshot/api_op_SearchWorkers.go.snap +++ b/service/deadline/snapshot/api_op_SearchWorkers.go.snap @@ -14,7 +14,6 @@ SearchWorkers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_StartSessionsStatisticsAggregation.go.snap b/service/deadline/snapshot/api_op_StartSessionsStatisticsAggregation.go.snap index 7a14714e33c..2e53d0ac5ef 100644 --- a/service/deadline/snapshot/api_op_StartSessionsStatisticsAggregation.go.snap +++ b/service/deadline/snapshot/api_op_StartSessionsStatisticsAggregation.go.snap @@ -14,7 +14,6 @@ StartSessionsStatisticsAggregation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_TagResource.go.snap b/service/deadline/snapshot/api_op_TagResource.go.snap index e1a30395155..20d1859b264 100644 --- a/service/deadline/snapshot/api_op_TagResource.go.snap +++ b/service/deadline/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_UntagResource.go.snap b/service/deadline/snapshot/api_op_UntagResource.go.snap index 170b89b0d41..dabf5e30bc0 100644 --- a/service/deadline/snapshot/api_op_UntagResource.go.snap +++ b/service/deadline/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_UpdateBudget.go.snap b/service/deadline/snapshot/api_op_UpdateBudget.go.snap index 65292d5ebc9..ec534a46363 100644 --- a/service/deadline/snapshot/api_op_UpdateBudget.go.snap +++ b/service/deadline/snapshot/api_op_UpdateBudget.go.snap @@ -15,7 +15,6 @@ UpdateBudget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_UpdateFarm.go.snap b/service/deadline/snapshot/api_op_UpdateFarm.go.snap index 354fef77f4e..2b9bf01d959 100644 --- a/service/deadline/snapshot/api_op_UpdateFarm.go.snap +++ b/service/deadline/snapshot/api_op_UpdateFarm.go.snap @@ -14,7 +14,6 @@ UpdateFarm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_UpdateFleet.go.snap b/service/deadline/snapshot/api_op_UpdateFleet.go.snap index b9ccb87cbba..96d91865005 100644 --- a/service/deadline/snapshot/api_op_UpdateFleet.go.snap +++ b/service/deadline/snapshot/api_op_UpdateFleet.go.snap @@ -15,7 +15,6 @@ UpdateFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_UpdateJob.go.snap b/service/deadline/snapshot/api_op_UpdateJob.go.snap index 5323986b434..5068bb884c9 100644 --- a/service/deadline/snapshot/api_op_UpdateJob.go.snap +++ b/service/deadline/snapshot/api_op_UpdateJob.go.snap @@ -15,7 +15,6 @@ UpdateJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_UpdateLimit.go.snap b/service/deadline/snapshot/api_op_UpdateLimit.go.snap index 4780d191c5a..fd167414a8f 100644 --- a/service/deadline/snapshot/api_op_UpdateLimit.go.snap +++ b/service/deadline/snapshot/api_op_UpdateLimit.go.snap @@ -14,7 +14,6 @@ UpdateLimit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_UpdateMonitor.go.snap b/service/deadline/snapshot/api_op_UpdateMonitor.go.snap index a7ff40f2c04..9b3853e1137 100644 --- a/service/deadline/snapshot/api_op_UpdateMonitor.go.snap +++ b/service/deadline/snapshot/api_op_UpdateMonitor.go.snap @@ -14,7 +14,6 @@ UpdateMonitor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_UpdateQueue.go.snap b/service/deadline/snapshot/api_op_UpdateQueue.go.snap index fc539175bea..306b25c210b 100644 --- a/service/deadline/snapshot/api_op_UpdateQueue.go.snap +++ b/service/deadline/snapshot/api_op_UpdateQueue.go.snap @@ -15,7 +15,6 @@ UpdateQueue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_UpdateQueueEnvironment.go.snap b/service/deadline/snapshot/api_op_UpdateQueueEnvironment.go.snap index 6438dc05f21..30c60eb0525 100644 --- a/service/deadline/snapshot/api_op_UpdateQueueEnvironment.go.snap +++ b/service/deadline/snapshot/api_op_UpdateQueueEnvironment.go.snap @@ -15,7 +15,6 @@ UpdateQueueEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_UpdateQueueFleetAssociation.go.snap b/service/deadline/snapshot/api_op_UpdateQueueFleetAssociation.go.snap index fb2441e4e03..42fea59145d 100644 --- a/service/deadline/snapshot/api_op_UpdateQueueFleetAssociation.go.snap +++ b/service/deadline/snapshot/api_op_UpdateQueueFleetAssociation.go.snap @@ -14,7 +14,6 @@ UpdateQueueFleetAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_UpdateQueueLimitAssociation.go.snap b/service/deadline/snapshot/api_op_UpdateQueueLimitAssociation.go.snap index f9f1f5011fc..17f2641a8a5 100644 --- a/service/deadline/snapshot/api_op_UpdateQueueLimitAssociation.go.snap +++ b/service/deadline/snapshot/api_op_UpdateQueueLimitAssociation.go.snap @@ -14,7 +14,6 @@ UpdateQueueLimitAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_UpdateSession.go.snap b/service/deadline/snapshot/api_op_UpdateSession.go.snap index d667fe5e5e9..ad5ea5a2458 100644 --- a/service/deadline/snapshot/api_op_UpdateSession.go.snap +++ b/service/deadline/snapshot/api_op_UpdateSession.go.snap @@ -15,7 +15,6 @@ UpdateSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_UpdateStep.go.snap b/service/deadline/snapshot/api_op_UpdateStep.go.snap index a549d2736d9..357380ac8dd 100644 --- a/service/deadline/snapshot/api_op_UpdateStep.go.snap +++ b/service/deadline/snapshot/api_op_UpdateStep.go.snap @@ -15,7 +15,6 @@ UpdateStep Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_UpdateStorageProfile.go.snap b/service/deadline/snapshot/api_op_UpdateStorageProfile.go.snap index aff89f9986d..71d167163df 100644 --- a/service/deadline/snapshot/api_op_UpdateStorageProfile.go.snap +++ b/service/deadline/snapshot/api_op_UpdateStorageProfile.go.snap @@ -15,7 +15,6 @@ UpdateStorageProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_UpdateTask.go.snap b/service/deadline/snapshot/api_op_UpdateTask.go.snap index 4ff14a66842..8f8974ef87a 100644 --- a/service/deadline/snapshot/api_op_UpdateTask.go.snap +++ b/service/deadline/snapshot/api_op_UpdateTask.go.snap @@ -15,7 +15,6 @@ UpdateTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_UpdateWorker.go.snap b/service/deadline/snapshot/api_op_UpdateWorker.go.snap index 9fc5ea61dd8..6a96d4bf571 100644 --- a/service/deadline/snapshot/api_op_UpdateWorker.go.snap +++ b/service/deadline/snapshot/api_op_UpdateWorker.go.snap @@ -14,7 +14,6 @@ UpdateWorker Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/deadline/snapshot/api_op_UpdateWorkerSchedule.go.snap b/service/deadline/snapshot/api_op_UpdateWorkerSchedule.go.snap index a36bf4c4157..f1555d752df 100644 --- a/service/deadline/snapshot/api_op_UpdateWorkerSchedule.go.snap +++ b/service/deadline/snapshot/api_op_UpdateWorkerSchedule.go.snap @@ -14,7 +14,6 @@ UpdateWorkerSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/detective/api_client.go b/service/detective/api_client.go index b2f84e1f53c..72c9757af3e 100644 --- a/service/detective/api_client.go +++ b/service/detective/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/detective/api_op_AcceptInvitation.go b/service/detective/api_op_AcceptInvitation.go index a5040b74d27..005bca4c037 100644 --- a/service/detective/api_op_AcceptInvitation.go +++ b/service/detective/api_op_AcceptInvitation.go @@ -115,9 +115,6 @@ func (c *Client) addOperationAcceptInvitationMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptInvitationValidationMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_BatchGetGraphMemberDatasources.go b/service/detective/api_op_BatchGetGraphMemberDatasources.go index 81b6acb119a..19ec861bf4d 100644 --- a/service/detective/api_op_BatchGetGraphMemberDatasources.go +++ b/service/detective/api_op_BatchGetGraphMemberDatasources.go @@ -121,9 +121,6 @@ func (c *Client) addOperationBatchGetGraphMemberDatasourcesMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetGraphMemberDatasourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_BatchGetMembershipDatasources.go b/service/detective/api_op_BatchGetMembershipDatasources.go index 36ffb7cf2de..26b4c337204 100644 --- a/service/detective/api_op_BatchGetMembershipDatasources.go +++ b/service/detective/api_op_BatchGetMembershipDatasources.go @@ -115,9 +115,6 @@ func (c *Client) addOperationBatchGetMembershipDatasourcesMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetMembershipDatasourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_CreateGraph.go b/service/detective/api_op_CreateGraph.go index 65b3c2e6fcd..1e4b980047e 100644 --- a/service/detective/api_op_CreateGraph.go +++ b/service/detective/api_op_CreateGraph.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCreateGraphMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGraph(options.Region), middleware.Before); err != nil { return err } diff --git a/service/detective/api_op_CreateMembers.go b/service/detective/api_op_CreateMembers.go index b508aa915bf..7ebba5bd103 100644 --- a/service/detective/api_op_CreateMembers.go +++ b/service/detective/api_op_CreateMembers.go @@ -171,9 +171,6 @@ func (c *Client) addOperationCreateMembersMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateMembersValidationMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_DeleteGraph.go b/service/detective/api_op_DeleteGraph.go index e9cbd2d99bf..77308859af0 100644 --- a/service/detective/api_op_DeleteGraph.go +++ b/service/detective/api_op_DeleteGraph.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteGraphMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGraphValidationMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_DeleteMembers.go b/service/detective/api_op_DeleteMembers.go index 0e039e9fa2a..8dadf6f9873 100644 --- a/service/detective/api_op_DeleteMembers.go +++ b/service/detective/api_op_DeleteMembers.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDeleteMembersMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMembersValidationMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_DescribeOrganizationConfiguration.go b/service/detective/api_op_DescribeOrganizationConfiguration.go index 50202091699..b9c3ef60df7 100644 --- a/service/detective/api_op_DescribeOrganizationConfiguration.go +++ b/service/detective/api_op_DescribeOrganizationConfiguration.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDescribeOrganizationConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeOrganizationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_DisableOrganizationAdminAccount.go b/service/detective/api_op_DisableOrganizationAdminAccount.go index 99f45a67845..3c357b6d7ac 100644 --- a/service/detective/api_op_DisableOrganizationAdminAccount.go +++ b/service/detective/api_op_DisableOrganizationAdminAccount.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDisableOrganizationAdminAccountMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableOrganizationAdminAccount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/detective/api_op_DisassociateMembership.go b/service/detective/api_op_DisassociateMembership.go index 267d236c8f4..43f98f543c1 100644 --- a/service/detective/api_op_DisassociateMembership.go +++ b/service/detective/api_op_DisassociateMembership.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDisassociateMembershipMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateMembershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_EnableOrganizationAdminAccount.go b/service/detective/api_op_EnableOrganizationAdminAccount.go index 092a9db27f3..effae63cc1a 100644 --- a/service/detective/api_op_EnableOrganizationAdminAccount.go +++ b/service/detective/api_op_EnableOrganizationAdminAccount.go @@ -125,9 +125,6 @@ func (c *Client) addOperationEnableOrganizationAdminAccountMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableOrganizationAdminAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_GetInvestigation.go b/service/detective/api_op_GetInvestigation.go index 1e6dae0d850..501a61f525a 100644 --- a/service/detective/api_op_GetInvestigation.go +++ b/service/detective/api_op_GetInvestigation.go @@ -157,9 +157,6 @@ func (c *Client) addOperationGetInvestigationMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInvestigationValidationMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_GetMembers.go b/service/detective/api_op_GetMembers.go index 994906e235a..23d41ff756d 100644 --- a/service/detective/api_op_GetMembers.go +++ b/service/detective/api_op_GetMembers.go @@ -130,9 +130,6 @@ func (c *Client) addOperationGetMembersMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMembersValidationMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_ListDatasourcePackages.go b/service/detective/api_op_ListDatasourcePackages.go index de677521c37..ef7fe5dcc44 100644 --- a/service/detective/api_op_ListDatasourcePackages.go +++ b/service/detective/api_op_ListDatasourcePackages.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListDatasourcePackagesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDatasourcePackagesValidationMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_ListGraphs.go b/service/detective/api_op_ListGraphs.go index 996e52262bf..3dc05f2a541 100644 --- a/service/detective/api_op_ListGraphs.go +++ b/service/detective/api_op_ListGraphs.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListGraphsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGraphs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/detective/api_op_ListIndicators.go b/service/detective/api_op_ListIndicators.go index dcbcd71e73b..584ade8fbe2 100644 --- a/service/detective/api_op_ListIndicators.go +++ b/service/detective/api_op_ListIndicators.go @@ -150,9 +150,6 @@ func (c *Client) addOperationListIndicatorsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIndicatorsValidationMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_ListInvestigations.go b/service/detective/api_op_ListInvestigations.go index 6ad7d53f633..d541807e33f 100644 --- a/service/detective/api_op_ListInvestigations.go +++ b/service/detective/api_op_ListInvestigations.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListInvestigationsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListInvestigationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_ListInvitations.go b/service/detective/api_op_ListInvitations.go index 7ea73aeed6f..c845aae1b35 100644 --- a/service/detective/api_op_ListInvitations.go +++ b/service/detective/api_op_ListInvitations.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListInvitationsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInvitations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/detective/api_op_ListMembers.go b/service/detective/api_op_ListMembers.go index 1fba51ffdf6..9b9623e7b4b 100644 --- a/service/detective/api_op_ListMembers.go +++ b/service/detective/api_op_ListMembers.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListMembersMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMembersValidationMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_ListOrganizationAdminAccounts.go b/service/detective/api_op_ListOrganizationAdminAccounts.go index 0300c3a1e6a..a53d5d63180 100644 --- a/service/detective/api_op_ListOrganizationAdminAccounts.go +++ b/service/detective/api_op_ListOrganizationAdminAccounts.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListOrganizationAdminAccountsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOrganizationAdminAccounts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/detective/api_op_ListTagsForResource.go b/service/detective/api_op_ListTagsForResource.go index ff53987c6af..3a8671b550e 100644 --- a/service/detective/api_op_ListTagsForResource.go +++ b/service/detective/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_RejectInvitation.go b/service/detective/api_op_RejectInvitation.go index f4e2603d95f..c7d8794b07b 100644 --- a/service/detective/api_op_RejectInvitation.go +++ b/service/detective/api_op_RejectInvitation.go @@ -116,9 +116,6 @@ func (c *Client) addOperationRejectInvitationMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRejectInvitationValidationMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_StartInvestigation.go b/service/detective/api_op_StartInvestigation.go index 187ad3b3e50..f42053e55fb 100644 --- a/service/detective/api_op_StartInvestigation.go +++ b/service/detective/api_op_StartInvestigation.go @@ -133,9 +133,6 @@ func (c *Client) addOperationStartInvestigationMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartInvestigationValidationMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_StartMonitoringMember.go b/service/detective/api_op_StartMonitoringMember.go index 5a682118ddc..6cb34f7e747 100644 --- a/service/detective/api_op_StartMonitoringMember.go +++ b/service/detective/api_op_StartMonitoringMember.go @@ -123,9 +123,6 @@ func (c *Client) addOperationStartMonitoringMemberMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartMonitoringMemberValidationMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_TagResource.go b/service/detective/api_op_TagResource.go index 38cb126460e..1162353d39a 100644 --- a/service/detective/api_op_TagResource.go +++ b/service/detective/api_op_TagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_UntagResource.go b/service/detective/api_op_UntagResource.go index 0e08baa33b4..e26cacec5e2 100644 --- a/service/detective/api_op_UntagResource.go +++ b/service/detective/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_UpdateDatasourcePackages.go b/service/detective/api_op_UpdateDatasourcePackages.go index 0b5dcdfab02..808ac599b43 100644 --- a/service/detective/api_op_UpdateDatasourcePackages.go +++ b/service/detective/api_op_UpdateDatasourcePackages.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUpdateDatasourcePackagesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDatasourcePackagesValidationMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_UpdateInvestigationState.go b/service/detective/api_op_UpdateInvestigationState.go index 6c17714fbc0..2ae77b2aa37 100644 --- a/service/detective/api_op_UpdateInvestigationState.go +++ b/service/detective/api_op_UpdateInvestigationState.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateInvestigationStateMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateInvestigationStateValidationMiddleware(stack); err != nil { return err } diff --git a/service/detective/api_op_UpdateOrganizationConfiguration.go b/service/detective/api_op_UpdateOrganizationConfiguration.go index 60509453182..b7232ddd94b 100644 --- a/service/detective/api_op_UpdateOrganizationConfiguration.go +++ b/service/detective/api_op_UpdateOrganizationConfiguration.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUpdateOrganizationConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateOrganizationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/detective/snapshot/api_op_AcceptInvitation.go.snap b/service/detective/snapshot/api_op_AcceptInvitation.go.snap index f7246312e86..25a4265ede2 100644 --- a/service/detective/snapshot/api_op_AcceptInvitation.go.snap +++ b/service/detective/snapshot/api_op_AcceptInvitation.go.snap @@ -14,7 +14,6 @@ AcceptInvitation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/detective/snapshot/api_op_BatchGetGraphMemberDatasources.go.snap b/service/detective/snapshot/api_op_BatchGetGraphMemberDatasources.go.snap index a24b6070dc1..838e1cb9a90 100644 --- a/service/detective/snapshot/api_op_BatchGetGraphMemberDatasources.go.snap +++ b/service/detective/snapshot/api_op_BatchGetGraphMemberDatasources.go.snap @@ -14,7 +14,6 @@ BatchGetGraphMemberDatasources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/detective/snapshot/api_op_BatchGetMembershipDatasources.go.snap b/service/detective/snapshot/api_op_BatchGetMembershipDatasources.go.snap index 18ed3d46225..b30eeb6d288 100644 --- a/service/detective/snapshot/api_op_BatchGetMembershipDatasources.go.snap +++ b/service/detective/snapshot/api_op_BatchGetMembershipDatasources.go.snap @@ -14,7 +14,6 @@ BatchGetMembershipDatasources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/detective/snapshot/api_op_CreateGraph.go.snap b/service/detective/snapshot/api_op_CreateGraph.go.snap index 906ad6fd833..bded95875d8 100644 --- a/service/detective/snapshot/api_op_CreateGraph.go.snap +++ b/service/detective/snapshot/api_op_CreateGraph.go.snap @@ -13,7 +13,6 @@ CreateGraph Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/detective/snapshot/api_op_CreateMembers.go.snap b/service/detective/snapshot/api_op_CreateMembers.go.snap index cf5be88c920..7176c06930e 100644 --- a/service/detective/snapshot/api_op_CreateMembers.go.snap +++ b/service/detective/snapshot/api_op_CreateMembers.go.snap @@ -14,7 +14,6 @@ CreateMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/detective/snapshot/api_op_DeleteGraph.go.snap b/service/detective/snapshot/api_op_DeleteGraph.go.snap index c7f1d3184cb..90dad595656 100644 --- a/service/detective/snapshot/api_op_DeleteGraph.go.snap +++ b/service/detective/snapshot/api_op_DeleteGraph.go.snap @@ -14,7 +14,6 @@ DeleteGraph Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/detective/snapshot/api_op_DeleteMembers.go.snap b/service/detective/snapshot/api_op_DeleteMembers.go.snap index 58bf7d46545..52a30e0c4f5 100644 --- a/service/detective/snapshot/api_op_DeleteMembers.go.snap +++ b/service/detective/snapshot/api_op_DeleteMembers.go.snap @@ -14,7 +14,6 @@ DeleteMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/detective/snapshot/api_op_DescribeOrganizationConfiguration.go.snap b/service/detective/snapshot/api_op_DescribeOrganizationConfiguration.go.snap index f0937ab778b..73e1a92bc51 100644 --- a/service/detective/snapshot/api_op_DescribeOrganizationConfiguration.go.snap +++ b/service/detective/snapshot/api_op_DescribeOrganizationConfiguration.go.snap @@ -14,7 +14,6 @@ DescribeOrganizationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/detective/snapshot/api_op_DisableOrganizationAdminAccount.go.snap b/service/detective/snapshot/api_op_DisableOrganizationAdminAccount.go.snap index 66c942fa529..ef8c34953cd 100644 --- a/service/detective/snapshot/api_op_DisableOrganizationAdminAccount.go.snap +++ b/service/detective/snapshot/api_op_DisableOrganizationAdminAccount.go.snap @@ -13,7 +13,6 @@ DisableOrganizationAdminAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/detective/snapshot/api_op_DisassociateMembership.go.snap b/service/detective/snapshot/api_op_DisassociateMembership.go.snap index 19c9cbc4bd2..4d49421a637 100644 --- a/service/detective/snapshot/api_op_DisassociateMembership.go.snap +++ b/service/detective/snapshot/api_op_DisassociateMembership.go.snap @@ -14,7 +14,6 @@ DisassociateMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/detective/snapshot/api_op_EnableOrganizationAdminAccount.go.snap b/service/detective/snapshot/api_op_EnableOrganizationAdminAccount.go.snap index 9cca0ae54d0..a3c6a3971ef 100644 --- a/service/detective/snapshot/api_op_EnableOrganizationAdminAccount.go.snap +++ b/service/detective/snapshot/api_op_EnableOrganizationAdminAccount.go.snap @@ -14,7 +14,6 @@ EnableOrganizationAdminAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/detective/snapshot/api_op_GetInvestigation.go.snap b/service/detective/snapshot/api_op_GetInvestigation.go.snap index 9dfa03eaa9c..30fbbe6a907 100644 --- a/service/detective/snapshot/api_op_GetInvestigation.go.snap +++ b/service/detective/snapshot/api_op_GetInvestigation.go.snap @@ -14,7 +14,6 @@ GetInvestigation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/detective/snapshot/api_op_GetMembers.go.snap b/service/detective/snapshot/api_op_GetMembers.go.snap index 3de3029fad3..f374be7a278 100644 --- a/service/detective/snapshot/api_op_GetMembers.go.snap +++ b/service/detective/snapshot/api_op_GetMembers.go.snap @@ -14,7 +14,6 @@ GetMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/detective/snapshot/api_op_ListDatasourcePackages.go.snap b/service/detective/snapshot/api_op_ListDatasourcePackages.go.snap index c39599f25a3..ad5dcf11e3f 100644 --- a/service/detective/snapshot/api_op_ListDatasourcePackages.go.snap +++ b/service/detective/snapshot/api_op_ListDatasourcePackages.go.snap @@ -14,7 +14,6 @@ ListDatasourcePackages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/detective/snapshot/api_op_ListGraphs.go.snap b/service/detective/snapshot/api_op_ListGraphs.go.snap index 96fc5299060..b15ce6d1cec 100644 --- a/service/detective/snapshot/api_op_ListGraphs.go.snap +++ b/service/detective/snapshot/api_op_ListGraphs.go.snap @@ -13,7 +13,6 @@ ListGraphs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/detective/snapshot/api_op_ListIndicators.go.snap b/service/detective/snapshot/api_op_ListIndicators.go.snap index 621567426e2..fa616b231ae 100644 --- a/service/detective/snapshot/api_op_ListIndicators.go.snap +++ b/service/detective/snapshot/api_op_ListIndicators.go.snap @@ -14,7 +14,6 @@ ListIndicators Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/detective/snapshot/api_op_ListInvestigations.go.snap b/service/detective/snapshot/api_op_ListInvestigations.go.snap index 965c500eeba..473e396a8b2 100644 --- a/service/detective/snapshot/api_op_ListInvestigations.go.snap +++ b/service/detective/snapshot/api_op_ListInvestigations.go.snap @@ -14,7 +14,6 @@ ListInvestigations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/detective/snapshot/api_op_ListInvitations.go.snap b/service/detective/snapshot/api_op_ListInvitations.go.snap index 623ba90611b..d8658667fbe 100644 --- a/service/detective/snapshot/api_op_ListInvitations.go.snap +++ b/service/detective/snapshot/api_op_ListInvitations.go.snap @@ -13,7 +13,6 @@ ListInvitations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/detective/snapshot/api_op_ListMembers.go.snap b/service/detective/snapshot/api_op_ListMembers.go.snap index ded0c54dcae..7f717e539ee 100644 --- a/service/detective/snapshot/api_op_ListMembers.go.snap +++ b/service/detective/snapshot/api_op_ListMembers.go.snap @@ -14,7 +14,6 @@ ListMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/detective/snapshot/api_op_ListOrganizationAdminAccounts.go.snap b/service/detective/snapshot/api_op_ListOrganizationAdminAccounts.go.snap index f67edb1d953..8ebdb78565d 100644 --- a/service/detective/snapshot/api_op_ListOrganizationAdminAccounts.go.snap +++ b/service/detective/snapshot/api_op_ListOrganizationAdminAccounts.go.snap @@ -13,7 +13,6 @@ ListOrganizationAdminAccounts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/detective/snapshot/api_op_ListTagsForResource.go.snap b/service/detective/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/detective/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/detective/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/detective/snapshot/api_op_RejectInvitation.go.snap b/service/detective/snapshot/api_op_RejectInvitation.go.snap index 6fec27e12c8..11bed8c1f5c 100644 --- a/service/detective/snapshot/api_op_RejectInvitation.go.snap +++ b/service/detective/snapshot/api_op_RejectInvitation.go.snap @@ -14,7 +14,6 @@ RejectInvitation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/detective/snapshot/api_op_StartInvestigation.go.snap b/service/detective/snapshot/api_op_StartInvestigation.go.snap index cb188e5b45f..b2e92ba10e1 100644 --- a/service/detective/snapshot/api_op_StartInvestigation.go.snap +++ b/service/detective/snapshot/api_op_StartInvestigation.go.snap @@ -14,7 +14,6 @@ StartInvestigation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/detective/snapshot/api_op_StartMonitoringMember.go.snap b/service/detective/snapshot/api_op_StartMonitoringMember.go.snap index e524e3de673..a3563e03b31 100644 --- a/service/detective/snapshot/api_op_StartMonitoringMember.go.snap +++ b/service/detective/snapshot/api_op_StartMonitoringMember.go.snap @@ -14,7 +14,6 @@ StartMonitoringMember Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/detective/snapshot/api_op_TagResource.go.snap b/service/detective/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/detective/snapshot/api_op_TagResource.go.snap +++ b/service/detective/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/detective/snapshot/api_op_UntagResource.go.snap b/service/detective/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/detective/snapshot/api_op_UntagResource.go.snap +++ b/service/detective/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/detective/snapshot/api_op_UpdateDatasourcePackages.go.snap b/service/detective/snapshot/api_op_UpdateDatasourcePackages.go.snap index 6b90d28579d..076ad02bde7 100644 --- a/service/detective/snapshot/api_op_UpdateDatasourcePackages.go.snap +++ b/service/detective/snapshot/api_op_UpdateDatasourcePackages.go.snap @@ -14,7 +14,6 @@ UpdateDatasourcePackages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/detective/snapshot/api_op_UpdateInvestigationState.go.snap b/service/detective/snapshot/api_op_UpdateInvestigationState.go.snap index 44d017766f2..d45f736429f 100644 --- a/service/detective/snapshot/api_op_UpdateInvestigationState.go.snap +++ b/service/detective/snapshot/api_op_UpdateInvestigationState.go.snap @@ -14,7 +14,6 @@ UpdateInvestigationState Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/detective/snapshot/api_op_UpdateOrganizationConfiguration.go.snap b/service/detective/snapshot/api_op_UpdateOrganizationConfiguration.go.snap index 897c01e0cf2..21d5324cdbc 100644 --- a/service/detective/snapshot/api_op_UpdateOrganizationConfiguration.go.snap +++ b/service/detective/snapshot/api_op_UpdateOrganizationConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateOrganizationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/api_client.go b/service/devicefarm/api_client.go index 6afda66c456..d0f8bd33b6d 100644 --- a/service/devicefarm/api_client.go +++ b/service/devicefarm/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/devicefarm/api_op_CreateDevicePool.go b/service/devicefarm/api_op_CreateDevicePool.go index e408c5ce7c7..f260beb0eb5 100644 --- a/service/devicefarm/api_op_CreateDevicePool.go +++ b/service/devicefarm/api_op_CreateDevicePool.go @@ -136,9 +136,6 @@ func (c *Client) addOperationCreateDevicePoolMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDevicePoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_CreateInstanceProfile.go b/service/devicefarm/api_op_CreateInstanceProfile.go index 13514516180..73ee7440493 100644 --- a/service/devicefarm/api_op_CreateInstanceProfile.go +++ b/service/devicefarm/api_op_CreateInstanceProfile.go @@ -130,9 +130,6 @@ func (c *Client) addOperationCreateInstanceProfileMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateInstanceProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_CreateNetworkProfile.go b/service/devicefarm/api_op_CreateNetworkProfile.go index feec6da48d2..59feaa2e46d 100644 --- a/service/devicefarm/api_op_CreateNetworkProfile.go +++ b/service/devicefarm/api_op_CreateNetworkProfile.go @@ -152,9 +152,6 @@ func (c *Client) addOperationCreateNetworkProfileMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateNetworkProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_CreateProject.go b/service/devicefarm/api_op_CreateProject.go index 1c7f31362e2..e3e5c9cb2db 100644 --- a/service/devicefarm/api_op_CreateProject.go +++ b/service/devicefarm/api_op_CreateProject.go @@ -122,9 +122,6 @@ func (c *Client) addOperationCreateProjectMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_CreateRemoteAccessSession.go b/service/devicefarm/api_op_CreateRemoteAccessSession.go index b0ade99c690..c595ddaa409 100644 --- a/service/devicefarm/api_op_CreateRemoteAccessSession.go +++ b/service/devicefarm/api_op_CreateRemoteAccessSession.go @@ -186,9 +186,6 @@ func (c *Client) addOperationCreateRemoteAccessSessionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRemoteAccessSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_CreateTestGridProject.go b/service/devicefarm/api_op_CreateTestGridProject.go index ff8b2ca3bf9..4ddbca5c441 100644 --- a/service/devicefarm/api_op_CreateTestGridProject.go +++ b/service/devicefarm/api_op_CreateTestGridProject.go @@ -118,9 +118,6 @@ func (c *Client) addOperationCreateTestGridProjectMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTestGridProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_CreateTestGridUrl.go b/service/devicefarm/api_op_CreateTestGridUrl.go index a15734042e9..c9a9610f691 100644 --- a/service/devicefarm/api_op_CreateTestGridUrl.go +++ b/service/devicefarm/api_op_CreateTestGridUrl.go @@ -121,9 +121,6 @@ func (c *Client) addOperationCreateTestGridUrlMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTestGridUrlValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_CreateUpload.go b/service/devicefarm/api_op_CreateUpload.go index 5fb9649233d..6264bb41597 100644 --- a/service/devicefarm/api_op_CreateUpload.go +++ b/service/devicefarm/api_op_CreateUpload.go @@ -194,9 +194,6 @@ func (c *Client) addOperationCreateUploadMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateUploadValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_CreateVPCEConfiguration.go b/service/devicefarm/api_op_CreateVPCEConfiguration.go index 7c26d460b0e..ce3ceb0e62e 100644 --- a/service/devicefarm/api_op_CreateVPCEConfiguration.go +++ b/service/devicefarm/api_op_CreateVPCEConfiguration.go @@ -130,9 +130,6 @@ func (c *Client) addOperationCreateVPCEConfigurationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVPCEConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_DeleteDevicePool.go b/service/devicefarm/api_op_DeleteDevicePool.go index 2aaaae8bfe3..b09d057a884 100644 --- a/service/devicefarm/api_op_DeleteDevicePool.go +++ b/service/devicefarm/api_op_DeleteDevicePool.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteDevicePoolMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDevicePoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_DeleteInstanceProfile.go b/service/devicefarm/api_op_DeleteInstanceProfile.go index fb0fcac4085..9680a4add79 100644 --- a/service/devicefarm/api_op_DeleteInstanceProfile.go +++ b/service/devicefarm/api_op_DeleteInstanceProfile.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteInstanceProfileMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInstanceProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_DeleteNetworkProfile.go b/service/devicefarm/api_op_DeleteNetworkProfile.go index 43f888ef836..c802350cb7c 100644 --- a/service/devicefarm/api_op_DeleteNetworkProfile.go +++ b/service/devicefarm/api_op_DeleteNetworkProfile.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteNetworkProfileMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteNetworkProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_DeleteProject.go b/service/devicefarm/api_op_DeleteProject.go index 79ddef0e34b..149046ea49d 100644 --- a/service/devicefarm/api_op_DeleteProject.go +++ b/service/devicefarm/api_op_DeleteProject.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteProjectMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_DeleteRemoteAccessSession.go b/service/devicefarm/api_op_DeleteRemoteAccessSession.go index 17ec697c37c..8acdbd7cad0 100644 --- a/service/devicefarm/api_op_DeleteRemoteAccessSession.go +++ b/service/devicefarm/api_op_DeleteRemoteAccessSession.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteRemoteAccessSessionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRemoteAccessSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_DeleteRun.go b/service/devicefarm/api_op_DeleteRun.go index 39ebd79e58d..5c0d2cb71ba 100644 --- a/service/devicefarm/api_op_DeleteRun.go +++ b/service/devicefarm/api_op_DeleteRun.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteRunMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_DeleteTestGridProject.go b/service/devicefarm/api_op_DeleteTestGridProject.go index 8fba06ceb55..14d09d2dfcf 100644 --- a/service/devicefarm/api_op_DeleteTestGridProject.go +++ b/service/devicefarm/api_op_DeleteTestGridProject.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteTestGridProjectMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTestGridProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_DeleteUpload.go b/service/devicefarm/api_op_DeleteUpload.go index a296d37f606..87498bb498c 100644 --- a/service/devicefarm/api_op_DeleteUpload.go +++ b/service/devicefarm/api_op_DeleteUpload.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteUploadMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUploadValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_DeleteVPCEConfiguration.go b/service/devicefarm/api_op_DeleteVPCEConfiguration.go index 86a8ad6d9e5..4afb28dd962 100644 --- a/service/devicefarm/api_op_DeleteVPCEConfiguration.go +++ b/service/devicefarm/api_op_DeleteVPCEConfiguration.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteVPCEConfigurationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVPCEConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_GetAccountSettings.go b/service/devicefarm/api_op_GetAccountSettings.go index 19c89128e5c..4905dc3aade 100644 --- a/service/devicefarm/api_op_GetAccountSettings.go +++ b/service/devicefarm/api_op_GetAccountSettings.go @@ -110,9 +110,6 @@ func (c *Client) addOperationGetAccountSettingsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/devicefarm/api_op_GetDevice.go b/service/devicefarm/api_op_GetDevice.go index 95d681fa2ed..4f1f9cf1377 100644 --- a/service/devicefarm/api_op_GetDevice.go +++ b/service/devicefarm/api_op_GetDevice.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetDeviceMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_GetDeviceInstance.go b/service/devicefarm/api_op_GetDeviceInstance.go index b64b5078251..064ffb60357 100644 --- a/service/devicefarm/api_op_GetDeviceInstance.go +++ b/service/devicefarm/api_op_GetDeviceInstance.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetDeviceInstanceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeviceInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_GetDevicePool.go b/service/devicefarm/api_op_GetDevicePool.go index 84511c66063..3a38ed0905a 100644 --- a/service/devicefarm/api_op_GetDevicePool.go +++ b/service/devicefarm/api_op_GetDevicePool.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetDevicePoolMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDevicePoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_GetDevicePoolCompatibility.go b/service/devicefarm/api_op_GetDevicePoolCompatibility.go index 9b47e2cfc00..4d06c87cd3b 100644 --- a/service/devicefarm/api_op_GetDevicePoolCompatibility.go +++ b/service/devicefarm/api_op_GetDevicePoolCompatibility.go @@ -159,9 +159,6 @@ func (c *Client) addOperationGetDevicePoolCompatibilityMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDevicePoolCompatibilityValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_GetInstanceProfile.go b/service/devicefarm/api_op_GetInstanceProfile.go index 2b11c01581b..2b706465959 100644 --- a/service/devicefarm/api_op_GetInstanceProfile.go +++ b/service/devicefarm/api_op_GetInstanceProfile.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetInstanceProfileMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInstanceProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_GetJob.go b/service/devicefarm/api_op_GetJob.go index 21c20f7d9ea..815a0e9dcdd 100644 --- a/service/devicefarm/api_op_GetJob.go +++ b/service/devicefarm/api_op_GetJob.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetJobMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_GetNetworkProfile.go b/service/devicefarm/api_op_GetNetworkProfile.go index 2caa1b5fe6f..2b8c715c708 100644 --- a/service/devicefarm/api_op_GetNetworkProfile.go +++ b/service/devicefarm/api_op_GetNetworkProfile.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetNetworkProfileMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetNetworkProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_GetOfferingStatus.go b/service/devicefarm/api_op_GetOfferingStatus.go index f92a615cafd..be39c890c36 100644 --- a/service/devicefarm/api_op_GetOfferingStatus.go +++ b/service/devicefarm/api_op_GetOfferingStatus.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetOfferingStatusMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOfferingStatus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/devicefarm/api_op_GetProject.go b/service/devicefarm/api_op_GetProject.go index 76b8a3aecad..15827d30be5 100644 --- a/service/devicefarm/api_op_GetProject.go +++ b/service/devicefarm/api_op_GetProject.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetProjectMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_GetRemoteAccessSession.go b/service/devicefarm/api_op_GetRemoteAccessSession.go index 88b0a7eeb30..cfd1b791c77 100644 --- a/service/devicefarm/api_op_GetRemoteAccessSession.go +++ b/service/devicefarm/api_op_GetRemoteAccessSession.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetRemoteAccessSessionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRemoteAccessSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_GetRun.go b/service/devicefarm/api_op_GetRun.go index 3b481641479..ecd8d80fe58 100644 --- a/service/devicefarm/api_op_GetRun.go +++ b/service/devicefarm/api_op_GetRun.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetRunMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_GetSuite.go b/service/devicefarm/api_op_GetSuite.go index e5434d1087a..bef2eb791e5 100644 --- a/service/devicefarm/api_op_GetSuite.go +++ b/service/devicefarm/api_op_GetSuite.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetSuiteMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSuiteValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_GetTest.go b/service/devicefarm/api_op_GetTest.go index fcb0562eb53..94f46f0eddf 100644 --- a/service/devicefarm/api_op_GetTest.go +++ b/service/devicefarm/api_op_GetTest.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetTestMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTestValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_GetTestGridProject.go b/service/devicefarm/api_op_GetTestGridProject.go index 66d9efe7a90..03a54b31485 100644 --- a/service/devicefarm/api_op_GetTestGridProject.go +++ b/service/devicefarm/api_op_GetTestGridProject.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetTestGridProjectMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTestGridProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_GetTestGridSession.go b/service/devicefarm/api_op_GetTestGridSession.go index 604fbd978fe..de33a7f1f53 100644 --- a/service/devicefarm/api_op_GetTestGridSession.go +++ b/service/devicefarm/api_op_GetTestGridSession.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetTestGridSessionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTestGridSession(options.Region), middleware.Before); err != nil { return err } diff --git a/service/devicefarm/api_op_GetUpload.go b/service/devicefarm/api_op_GetUpload.go index b978af2fb8e..cdb3cd97a0e 100644 --- a/service/devicefarm/api_op_GetUpload.go +++ b/service/devicefarm/api_op_GetUpload.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetUploadMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUploadValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_GetVPCEConfiguration.go b/service/devicefarm/api_op_GetVPCEConfiguration.go index 5910f14b472..77a3d1ac2d8 100644 --- a/service/devicefarm/api_op_GetVPCEConfiguration.go +++ b/service/devicefarm/api_op_GetVPCEConfiguration.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetVPCEConfigurationMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVPCEConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_InstallToRemoteAccessSession.go b/service/devicefarm/api_op_InstallToRemoteAccessSession.go index 46160461834..93a888cb63f 100644 --- a/service/devicefarm/api_op_InstallToRemoteAccessSession.go +++ b/service/devicefarm/api_op_InstallToRemoteAccessSession.go @@ -124,9 +124,6 @@ func (c *Client) addOperationInstallToRemoteAccessSessionMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpInstallToRemoteAccessSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListArtifacts.go b/service/devicefarm/api_op_ListArtifacts.go index c18536a64ad..e61dd9bc60d 100644 --- a/service/devicefarm/api_op_ListArtifacts.go +++ b/service/devicefarm/api_op_ListArtifacts.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListArtifactsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListArtifactsValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListDeviceInstances.go b/service/devicefarm/api_op_ListDeviceInstances.go index 7c1184e894b..38ba78342d1 100644 --- a/service/devicefarm/api_op_ListDeviceInstances.go +++ b/service/devicefarm/api_op_ListDeviceInstances.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListDeviceInstancesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeviceInstances(options.Region), middleware.Before); err != nil { return err } diff --git a/service/devicefarm/api_op_ListDevicePools.go b/service/devicefarm/api_op_ListDevicePools.go index 0ae8a5e42a5..4a443ae4e0b 100644 --- a/service/devicefarm/api_op_ListDevicePools.go +++ b/service/devicefarm/api_op_ListDevicePools.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListDevicePoolsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDevicePoolsValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListDevices.go b/service/devicefarm/api_op_ListDevices.go index af5532d830b..3614ec21cc3 100644 --- a/service/devicefarm/api_op_ListDevices.go +++ b/service/devicefarm/api_op_ListDevices.go @@ -185,9 +185,6 @@ func (c *Client) addOperationListDevicesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDevicesValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListInstanceProfiles.go b/service/devicefarm/api_op_ListInstanceProfiles.go index fce63c4e459..f271575522d 100644 --- a/service/devicefarm/api_op_ListInstanceProfiles.go +++ b/service/devicefarm/api_op_ListInstanceProfiles.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListInstanceProfilesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInstanceProfiles(options.Region), middleware.Before); err != nil { return err } diff --git a/service/devicefarm/api_op_ListJobs.go b/service/devicefarm/api_op_ListJobs.go index f61db1551cd..08e6e4f38e7 100644 --- a/service/devicefarm/api_op_ListJobs.go +++ b/service/devicefarm/api_op_ListJobs.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListJobsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListNetworkProfiles.go b/service/devicefarm/api_op_ListNetworkProfiles.go index 7e8723ddfca..3a6466dfacc 100644 --- a/service/devicefarm/api_op_ListNetworkProfiles.go +++ b/service/devicefarm/api_op_ListNetworkProfiles.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListNetworkProfilesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListNetworkProfilesValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListOfferingPromotions.go b/service/devicefarm/api_op_ListOfferingPromotions.go index 5dc4b9caed8..3d508b21041 100644 --- a/service/devicefarm/api_op_ListOfferingPromotions.go +++ b/service/devicefarm/api_op_ListOfferingPromotions.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListOfferingPromotionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOfferingPromotions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/devicefarm/api_op_ListOfferingTransactions.go b/service/devicefarm/api_op_ListOfferingTransactions.go index 5fbbbfb6dc1..137125cfed3 100644 --- a/service/devicefarm/api_op_ListOfferingTransactions.go +++ b/service/devicefarm/api_op_ListOfferingTransactions.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListOfferingTransactionsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOfferingTransactions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/devicefarm/api_op_ListOfferings.go b/service/devicefarm/api_op_ListOfferings.go index 5cfe4a361e6..e0ec7734d52 100644 --- a/service/devicefarm/api_op_ListOfferings.go +++ b/service/devicefarm/api_op_ListOfferings.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListOfferingsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOfferings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/devicefarm/api_op_ListProjects.go b/service/devicefarm/api_op_ListProjects.go index fe2089eb386..3e7dd8dd838 100644 --- a/service/devicefarm/api_op_ListProjects.go +++ b/service/devicefarm/api_op_ListProjects.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListProjectsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProjects(options.Region), middleware.Before); err != nil { return err } diff --git a/service/devicefarm/api_op_ListRemoteAccessSessions.go b/service/devicefarm/api_op_ListRemoteAccessSessions.go index 98a471589d8..9c8a5bb81d0 100644 --- a/service/devicefarm/api_op_ListRemoteAccessSessions.go +++ b/service/devicefarm/api_op_ListRemoteAccessSessions.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListRemoteAccessSessionsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRemoteAccessSessionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListRuns.go b/service/devicefarm/api_op_ListRuns.go index 76a115bec93..ba3de719eee 100644 --- a/service/devicefarm/api_op_ListRuns.go +++ b/service/devicefarm/api_op_ListRuns.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListRunsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRunsValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListSamples.go b/service/devicefarm/api_op_ListSamples.go index cb43a48c6f1..296dcfc0a77 100644 --- a/service/devicefarm/api_op_ListSamples.go +++ b/service/devicefarm/api_op_ListSamples.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListSamplesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSamplesValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListSuites.go b/service/devicefarm/api_op_ListSuites.go index add34fb4214..6519dd7adc9 100644 --- a/service/devicefarm/api_op_ListSuites.go +++ b/service/devicefarm/api_op_ListSuites.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListSuitesMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSuitesValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListTagsForResource.go b/service/devicefarm/api_op_ListTagsForResource.go index c1a2aa713d6..eb3966e7ff6 100644 --- a/service/devicefarm/api_op_ListTagsForResource.go +++ b/service/devicefarm/api_op_ListTagsForResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListTestGridProjects.go b/service/devicefarm/api_op_ListTestGridProjects.go index e16e1274622..139995bfb95 100644 --- a/service/devicefarm/api_op_ListTestGridProjects.go +++ b/service/devicefarm/api_op_ListTestGridProjects.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListTestGridProjectsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTestGridProjects(options.Region), middleware.Before); err != nil { return err } diff --git a/service/devicefarm/api_op_ListTestGridSessionActions.go b/service/devicefarm/api_op_ListTestGridSessionActions.go index 47858c7233c..014f092d3d6 100644 --- a/service/devicefarm/api_op_ListTestGridSessionActions.go +++ b/service/devicefarm/api_op_ListTestGridSessionActions.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListTestGridSessionActionsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTestGridSessionActionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListTestGridSessionArtifacts.go b/service/devicefarm/api_op_ListTestGridSessionArtifacts.go index 33b380ecedc..4394a92d718 100644 --- a/service/devicefarm/api_op_ListTestGridSessionArtifacts.go +++ b/service/devicefarm/api_op_ListTestGridSessionArtifacts.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListTestGridSessionArtifactsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTestGridSessionArtifactsValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListTestGridSessions.go b/service/devicefarm/api_op_ListTestGridSessions.go index bf290829ca2..4542e9a9ec9 100644 --- a/service/devicefarm/api_op_ListTestGridSessions.go +++ b/service/devicefarm/api_op_ListTestGridSessions.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListTestGridSessionsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTestGridSessionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListTests.go b/service/devicefarm/api_op_ListTests.go index cdfed277a93..cb8ab0218cb 100644 --- a/service/devicefarm/api_op_ListTests.go +++ b/service/devicefarm/api_op_ListTests.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListTestsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTestsValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListUniqueProblems.go b/service/devicefarm/api_op_ListUniqueProblems.go index ba5f1e2d460..1e7f299ac5e 100644 --- a/service/devicefarm/api_op_ListUniqueProblems.go +++ b/service/devicefarm/api_op_ListUniqueProblems.go @@ -144,9 +144,6 @@ func (c *Client) addOperationListUniqueProblemsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListUniqueProblemsValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListUploads.go b/service/devicefarm/api_op_ListUploads.go index f9e3eabe95e..92e6068750c 100644 --- a/service/devicefarm/api_op_ListUploads.go +++ b/service/devicefarm/api_op_ListUploads.go @@ -187,9 +187,6 @@ func (c *Client) addOperationListUploadsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListUploadsValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ListVPCEConfigurations.go b/service/devicefarm/api_op_ListVPCEConfigurations.go index 63f89932ec1..2b1bbae4ca0 100644 --- a/service/devicefarm/api_op_ListVPCEConfigurations.go +++ b/service/devicefarm/api_op_ListVPCEConfigurations.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListVPCEConfigurationsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVPCEConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/devicefarm/api_op_PurchaseOffering.go b/service/devicefarm/api_op_PurchaseOffering.go index 71712e95009..3164a14c507 100644 --- a/service/devicefarm/api_op_PurchaseOffering.go +++ b/service/devicefarm/api_op_PurchaseOffering.go @@ -125,9 +125,6 @@ func (c *Client) addOperationPurchaseOfferingMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPurchaseOfferingValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_RenewOffering.go b/service/devicefarm/api_op_RenewOffering.go index 1b1cbd27782..c3ce0864376 100644 --- a/service/devicefarm/api_op_RenewOffering.go +++ b/service/devicefarm/api_op_RenewOffering.go @@ -122,9 +122,6 @@ func (c *Client) addOperationRenewOfferingMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRenewOfferingValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_ScheduleRun.go b/service/devicefarm/api_op_ScheduleRun.go index 9ccba97e8eb..8f8fc3c019c 100644 --- a/service/devicefarm/api_op_ScheduleRun.go +++ b/service/devicefarm/api_op_ScheduleRun.go @@ -141,9 +141,6 @@ func (c *Client) addOperationScheduleRunMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpScheduleRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_StopJob.go b/service/devicefarm/api_op_StopJob.go index 1a20eb21088..7083688daaa 100644 --- a/service/devicefarm/api_op_StopJob.go +++ b/service/devicefarm/api_op_StopJob.go @@ -116,9 +116,6 @@ func (c *Client) addOperationStopJobMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_StopRemoteAccessSession.go b/service/devicefarm/api_op_StopRemoteAccessSession.go index fb16b1ad9c3..b4f77f379e1 100644 --- a/service/devicefarm/api_op_StopRemoteAccessSession.go +++ b/service/devicefarm/api_op_StopRemoteAccessSession.go @@ -116,9 +116,6 @@ func (c *Client) addOperationStopRemoteAccessSessionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopRemoteAccessSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_StopRun.go b/service/devicefarm/api_op_StopRun.go index 82decebebfc..6093de01f0e 100644 --- a/service/devicefarm/api_op_StopRun.go +++ b/service/devicefarm/api_op_StopRun.go @@ -118,9 +118,6 @@ func (c *Client) addOperationStopRunMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_TagResource.go b/service/devicefarm/api_op_TagResource.go index 95830dc33e8..db6ba567ff6 100644 --- a/service/devicefarm/api_op_TagResource.go +++ b/service/devicefarm/api_op_TagResource.go @@ -121,9 +121,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_UntagResource.go b/service/devicefarm/api_op_UntagResource.go index d4b631e6257..de505404769 100644 --- a/service/devicefarm/api_op_UntagResource.go +++ b/service/devicefarm/api_op_UntagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_UpdateDeviceInstance.go b/service/devicefarm/api_op_UpdateDeviceInstance.go index 6283494bdc6..1a4fd93c659 100644 --- a/service/devicefarm/api_op_UpdateDeviceInstance.go +++ b/service/devicefarm/api_op_UpdateDeviceInstance.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateDeviceInstanceMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDeviceInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_UpdateDevicePool.go b/service/devicefarm/api_op_UpdateDevicePool.go index 6e36c251f53..cd213cef36d 100644 --- a/service/devicefarm/api_op_UpdateDevicePool.go +++ b/service/devicefarm/api_op_UpdateDevicePool.go @@ -148,9 +148,6 @@ func (c *Client) addOperationUpdateDevicePoolMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDevicePoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_UpdateInstanceProfile.go b/service/devicefarm/api_op_UpdateInstanceProfile.go index fe59a226fa2..7034f145cfe 100644 --- a/service/devicefarm/api_op_UpdateInstanceProfile.go +++ b/service/devicefarm/api_op_UpdateInstanceProfile.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdateInstanceProfileMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateInstanceProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_UpdateNetworkProfile.go b/service/devicefarm/api_op_UpdateNetworkProfile.go index b7db776cfc1..b2cb6d33512 100644 --- a/service/devicefarm/api_op_UpdateNetworkProfile.go +++ b/service/devicefarm/api_op_UpdateNetworkProfile.go @@ -152,9 +152,6 @@ func (c *Client) addOperationUpdateNetworkProfileMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateNetworkProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_UpdateProject.go b/service/devicefarm/api_op_UpdateProject.go index 92209b3b27d..ec96a890fa4 100644 --- a/service/devicefarm/api_op_UpdateProject.go +++ b/service/devicefarm/api_op_UpdateProject.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateProjectMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_UpdateTestGridProject.go b/service/devicefarm/api_op_UpdateTestGridProject.go index 69e515ededd..1cd6a5b8125 100644 --- a/service/devicefarm/api_op_UpdateTestGridProject.go +++ b/service/devicefarm/api_op_UpdateTestGridProject.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateTestGridProjectMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTestGridProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_UpdateUpload.go b/service/devicefarm/api_op_UpdateUpload.go index 4136149e592..970633f644c 100644 --- a/service/devicefarm/api_op_UpdateUpload.go +++ b/service/devicefarm/api_op_UpdateUpload.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateUploadMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateUploadValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/api_op_UpdateVPCEConfiguration.go b/service/devicefarm/api_op_UpdateVPCEConfiguration.go index 9fc99c80b0c..3d78178451d 100644 --- a/service/devicefarm/api_op_UpdateVPCEConfiguration.go +++ b/service/devicefarm/api_op_UpdateVPCEConfiguration.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateVPCEConfigurationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateVPCEConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/devicefarm/snapshot/api_op_CreateDevicePool.go.snap b/service/devicefarm/snapshot/api_op_CreateDevicePool.go.snap index ce584cc5bf6..287a2eeae61 100644 --- a/service/devicefarm/snapshot/api_op_CreateDevicePool.go.snap +++ b/service/devicefarm/snapshot/api_op_CreateDevicePool.go.snap @@ -14,7 +14,6 @@ CreateDevicePool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_CreateInstanceProfile.go.snap b/service/devicefarm/snapshot/api_op_CreateInstanceProfile.go.snap index 819432cb0a3..6c206bf9925 100644 --- a/service/devicefarm/snapshot/api_op_CreateInstanceProfile.go.snap +++ b/service/devicefarm/snapshot/api_op_CreateInstanceProfile.go.snap @@ -14,7 +14,6 @@ CreateInstanceProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_CreateNetworkProfile.go.snap b/service/devicefarm/snapshot/api_op_CreateNetworkProfile.go.snap index 0f17eae1129..d84dbaa9916 100644 --- a/service/devicefarm/snapshot/api_op_CreateNetworkProfile.go.snap +++ b/service/devicefarm/snapshot/api_op_CreateNetworkProfile.go.snap @@ -14,7 +14,6 @@ CreateNetworkProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_CreateProject.go.snap b/service/devicefarm/snapshot/api_op_CreateProject.go.snap index 5011a8d8cc3..7ae2b811d6c 100644 --- a/service/devicefarm/snapshot/api_op_CreateProject.go.snap +++ b/service/devicefarm/snapshot/api_op_CreateProject.go.snap @@ -14,7 +14,6 @@ CreateProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_CreateRemoteAccessSession.go.snap b/service/devicefarm/snapshot/api_op_CreateRemoteAccessSession.go.snap index 03b478d3653..6e5d7a4b181 100644 --- a/service/devicefarm/snapshot/api_op_CreateRemoteAccessSession.go.snap +++ b/service/devicefarm/snapshot/api_op_CreateRemoteAccessSession.go.snap @@ -14,7 +14,6 @@ CreateRemoteAccessSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_CreateTestGridProject.go.snap b/service/devicefarm/snapshot/api_op_CreateTestGridProject.go.snap index 071106403ee..b7ba3151dcc 100644 --- a/service/devicefarm/snapshot/api_op_CreateTestGridProject.go.snap +++ b/service/devicefarm/snapshot/api_op_CreateTestGridProject.go.snap @@ -14,7 +14,6 @@ CreateTestGridProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_CreateTestGridUrl.go.snap b/service/devicefarm/snapshot/api_op_CreateTestGridUrl.go.snap index a1ae31b4ae2..c24f1b7503c 100644 --- a/service/devicefarm/snapshot/api_op_CreateTestGridUrl.go.snap +++ b/service/devicefarm/snapshot/api_op_CreateTestGridUrl.go.snap @@ -14,7 +14,6 @@ CreateTestGridUrl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_CreateUpload.go.snap b/service/devicefarm/snapshot/api_op_CreateUpload.go.snap index 1871c3b913d..ca0048f2981 100644 --- a/service/devicefarm/snapshot/api_op_CreateUpload.go.snap +++ b/service/devicefarm/snapshot/api_op_CreateUpload.go.snap @@ -14,7 +14,6 @@ CreateUpload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_CreateVPCEConfiguration.go.snap b/service/devicefarm/snapshot/api_op_CreateVPCEConfiguration.go.snap index 6b4aab9b64d..7b296f6df8a 100644 --- a/service/devicefarm/snapshot/api_op_CreateVPCEConfiguration.go.snap +++ b/service/devicefarm/snapshot/api_op_CreateVPCEConfiguration.go.snap @@ -14,7 +14,6 @@ CreateVPCEConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_DeleteDevicePool.go.snap b/service/devicefarm/snapshot/api_op_DeleteDevicePool.go.snap index 73d8a0d3572..9f82a0422ca 100644 --- a/service/devicefarm/snapshot/api_op_DeleteDevicePool.go.snap +++ b/service/devicefarm/snapshot/api_op_DeleteDevicePool.go.snap @@ -14,7 +14,6 @@ DeleteDevicePool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_DeleteInstanceProfile.go.snap b/service/devicefarm/snapshot/api_op_DeleteInstanceProfile.go.snap index 7825ac3ab67..4e45282f93d 100644 --- a/service/devicefarm/snapshot/api_op_DeleteInstanceProfile.go.snap +++ b/service/devicefarm/snapshot/api_op_DeleteInstanceProfile.go.snap @@ -14,7 +14,6 @@ DeleteInstanceProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_DeleteNetworkProfile.go.snap b/service/devicefarm/snapshot/api_op_DeleteNetworkProfile.go.snap index 4ca3f8877c0..77f66635f08 100644 --- a/service/devicefarm/snapshot/api_op_DeleteNetworkProfile.go.snap +++ b/service/devicefarm/snapshot/api_op_DeleteNetworkProfile.go.snap @@ -14,7 +14,6 @@ DeleteNetworkProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_DeleteProject.go.snap b/service/devicefarm/snapshot/api_op_DeleteProject.go.snap index 382ba97b69d..175218d872d 100644 --- a/service/devicefarm/snapshot/api_op_DeleteProject.go.snap +++ b/service/devicefarm/snapshot/api_op_DeleteProject.go.snap @@ -14,7 +14,6 @@ DeleteProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_DeleteRemoteAccessSession.go.snap b/service/devicefarm/snapshot/api_op_DeleteRemoteAccessSession.go.snap index 60669da8711..4778b74abb5 100644 --- a/service/devicefarm/snapshot/api_op_DeleteRemoteAccessSession.go.snap +++ b/service/devicefarm/snapshot/api_op_DeleteRemoteAccessSession.go.snap @@ -14,7 +14,6 @@ DeleteRemoteAccessSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_DeleteRun.go.snap b/service/devicefarm/snapshot/api_op_DeleteRun.go.snap index f9e41a9ce96..3ced48c5b20 100644 --- a/service/devicefarm/snapshot/api_op_DeleteRun.go.snap +++ b/service/devicefarm/snapshot/api_op_DeleteRun.go.snap @@ -14,7 +14,6 @@ DeleteRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_DeleteTestGridProject.go.snap b/service/devicefarm/snapshot/api_op_DeleteTestGridProject.go.snap index 22015254ef1..0f89543286e 100644 --- a/service/devicefarm/snapshot/api_op_DeleteTestGridProject.go.snap +++ b/service/devicefarm/snapshot/api_op_DeleteTestGridProject.go.snap @@ -14,7 +14,6 @@ DeleteTestGridProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_DeleteUpload.go.snap b/service/devicefarm/snapshot/api_op_DeleteUpload.go.snap index f91893d48b5..3688cee2cd7 100644 --- a/service/devicefarm/snapshot/api_op_DeleteUpload.go.snap +++ b/service/devicefarm/snapshot/api_op_DeleteUpload.go.snap @@ -14,7 +14,6 @@ DeleteUpload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_DeleteVPCEConfiguration.go.snap b/service/devicefarm/snapshot/api_op_DeleteVPCEConfiguration.go.snap index 2e9d732b7db..c167a40bcc0 100644 --- a/service/devicefarm/snapshot/api_op_DeleteVPCEConfiguration.go.snap +++ b/service/devicefarm/snapshot/api_op_DeleteVPCEConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteVPCEConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_GetAccountSettings.go.snap b/service/devicefarm/snapshot/api_op_GetAccountSettings.go.snap index 95499ead228..57ca9f6cbf4 100644 --- a/service/devicefarm/snapshot/api_op_GetAccountSettings.go.snap +++ b/service/devicefarm/snapshot/api_op_GetAccountSettings.go.snap @@ -13,7 +13,6 @@ GetAccountSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_GetDevice.go.snap b/service/devicefarm/snapshot/api_op_GetDevice.go.snap index efed86149c3..5e9c636c206 100644 --- a/service/devicefarm/snapshot/api_op_GetDevice.go.snap +++ b/service/devicefarm/snapshot/api_op_GetDevice.go.snap @@ -14,7 +14,6 @@ GetDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_GetDeviceInstance.go.snap b/service/devicefarm/snapshot/api_op_GetDeviceInstance.go.snap index 5b8104acbf1..879ae68e67d 100644 --- a/service/devicefarm/snapshot/api_op_GetDeviceInstance.go.snap +++ b/service/devicefarm/snapshot/api_op_GetDeviceInstance.go.snap @@ -14,7 +14,6 @@ GetDeviceInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_GetDevicePool.go.snap b/service/devicefarm/snapshot/api_op_GetDevicePool.go.snap index 2cc587bd0a2..5808858917d 100644 --- a/service/devicefarm/snapshot/api_op_GetDevicePool.go.snap +++ b/service/devicefarm/snapshot/api_op_GetDevicePool.go.snap @@ -14,7 +14,6 @@ GetDevicePool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_GetDevicePoolCompatibility.go.snap b/service/devicefarm/snapshot/api_op_GetDevicePoolCompatibility.go.snap index f607266b801..45e1da1d303 100644 --- a/service/devicefarm/snapshot/api_op_GetDevicePoolCompatibility.go.snap +++ b/service/devicefarm/snapshot/api_op_GetDevicePoolCompatibility.go.snap @@ -14,7 +14,6 @@ GetDevicePoolCompatibility Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_GetInstanceProfile.go.snap b/service/devicefarm/snapshot/api_op_GetInstanceProfile.go.snap index 4a02411c063..735dece7d75 100644 --- a/service/devicefarm/snapshot/api_op_GetInstanceProfile.go.snap +++ b/service/devicefarm/snapshot/api_op_GetInstanceProfile.go.snap @@ -14,7 +14,6 @@ GetInstanceProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_GetJob.go.snap b/service/devicefarm/snapshot/api_op_GetJob.go.snap index 8785dbdb074..6e4ff7bd3f6 100644 --- a/service/devicefarm/snapshot/api_op_GetJob.go.snap +++ b/service/devicefarm/snapshot/api_op_GetJob.go.snap @@ -14,7 +14,6 @@ GetJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_GetNetworkProfile.go.snap b/service/devicefarm/snapshot/api_op_GetNetworkProfile.go.snap index 493b9001502..9bd47ac0751 100644 --- a/service/devicefarm/snapshot/api_op_GetNetworkProfile.go.snap +++ b/service/devicefarm/snapshot/api_op_GetNetworkProfile.go.snap @@ -14,7 +14,6 @@ GetNetworkProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_GetOfferingStatus.go.snap b/service/devicefarm/snapshot/api_op_GetOfferingStatus.go.snap index d55871e63a3..4e9cd7a9acb 100644 --- a/service/devicefarm/snapshot/api_op_GetOfferingStatus.go.snap +++ b/service/devicefarm/snapshot/api_op_GetOfferingStatus.go.snap @@ -13,7 +13,6 @@ GetOfferingStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_GetProject.go.snap b/service/devicefarm/snapshot/api_op_GetProject.go.snap index be6729ff9b9..bc23d35cff2 100644 --- a/service/devicefarm/snapshot/api_op_GetProject.go.snap +++ b/service/devicefarm/snapshot/api_op_GetProject.go.snap @@ -14,7 +14,6 @@ GetProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_GetRemoteAccessSession.go.snap b/service/devicefarm/snapshot/api_op_GetRemoteAccessSession.go.snap index ccf8288e0f6..38b551d0782 100644 --- a/service/devicefarm/snapshot/api_op_GetRemoteAccessSession.go.snap +++ b/service/devicefarm/snapshot/api_op_GetRemoteAccessSession.go.snap @@ -14,7 +14,6 @@ GetRemoteAccessSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_GetRun.go.snap b/service/devicefarm/snapshot/api_op_GetRun.go.snap index 7169fe6201f..157f642d1dd 100644 --- a/service/devicefarm/snapshot/api_op_GetRun.go.snap +++ b/service/devicefarm/snapshot/api_op_GetRun.go.snap @@ -14,7 +14,6 @@ GetRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_GetSuite.go.snap b/service/devicefarm/snapshot/api_op_GetSuite.go.snap index bb2ecf3ebf9..1da6ff098af 100644 --- a/service/devicefarm/snapshot/api_op_GetSuite.go.snap +++ b/service/devicefarm/snapshot/api_op_GetSuite.go.snap @@ -14,7 +14,6 @@ GetSuite Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_GetTest.go.snap b/service/devicefarm/snapshot/api_op_GetTest.go.snap index 12925ee5fa3..37583a4d2de 100644 --- a/service/devicefarm/snapshot/api_op_GetTest.go.snap +++ b/service/devicefarm/snapshot/api_op_GetTest.go.snap @@ -14,7 +14,6 @@ GetTest Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_GetTestGridProject.go.snap b/service/devicefarm/snapshot/api_op_GetTestGridProject.go.snap index 77a27bf5c84..f65dd20aa31 100644 --- a/service/devicefarm/snapshot/api_op_GetTestGridProject.go.snap +++ b/service/devicefarm/snapshot/api_op_GetTestGridProject.go.snap @@ -14,7 +14,6 @@ GetTestGridProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_GetTestGridSession.go.snap b/service/devicefarm/snapshot/api_op_GetTestGridSession.go.snap index 841b4020b03..61d0a0227a7 100644 --- a/service/devicefarm/snapshot/api_op_GetTestGridSession.go.snap +++ b/service/devicefarm/snapshot/api_op_GetTestGridSession.go.snap @@ -13,7 +13,6 @@ GetTestGridSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_GetUpload.go.snap b/service/devicefarm/snapshot/api_op_GetUpload.go.snap index 614a5faf53e..6c8fc989edd 100644 --- a/service/devicefarm/snapshot/api_op_GetUpload.go.snap +++ b/service/devicefarm/snapshot/api_op_GetUpload.go.snap @@ -14,7 +14,6 @@ GetUpload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_GetVPCEConfiguration.go.snap b/service/devicefarm/snapshot/api_op_GetVPCEConfiguration.go.snap index b2d3c634d1b..353ee6b5911 100644 --- a/service/devicefarm/snapshot/api_op_GetVPCEConfiguration.go.snap +++ b/service/devicefarm/snapshot/api_op_GetVPCEConfiguration.go.snap @@ -14,7 +14,6 @@ GetVPCEConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_InstallToRemoteAccessSession.go.snap b/service/devicefarm/snapshot/api_op_InstallToRemoteAccessSession.go.snap index 112c3388685..479982398ef 100644 --- a/service/devicefarm/snapshot/api_op_InstallToRemoteAccessSession.go.snap +++ b/service/devicefarm/snapshot/api_op_InstallToRemoteAccessSession.go.snap @@ -14,7 +14,6 @@ InstallToRemoteAccessSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_ListArtifacts.go.snap b/service/devicefarm/snapshot/api_op_ListArtifacts.go.snap index 411333bf1df..781b3d22b03 100644 --- a/service/devicefarm/snapshot/api_op_ListArtifacts.go.snap +++ b/service/devicefarm/snapshot/api_op_ListArtifacts.go.snap @@ -14,7 +14,6 @@ ListArtifacts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_ListDeviceInstances.go.snap b/service/devicefarm/snapshot/api_op_ListDeviceInstances.go.snap index b0c95f05da6..8403e0433ff 100644 --- a/service/devicefarm/snapshot/api_op_ListDeviceInstances.go.snap +++ b/service/devicefarm/snapshot/api_op_ListDeviceInstances.go.snap @@ -13,7 +13,6 @@ ListDeviceInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_ListDevicePools.go.snap b/service/devicefarm/snapshot/api_op_ListDevicePools.go.snap index 10802493e13..e73a468b4ca 100644 --- a/service/devicefarm/snapshot/api_op_ListDevicePools.go.snap +++ b/service/devicefarm/snapshot/api_op_ListDevicePools.go.snap @@ -14,7 +14,6 @@ ListDevicePools Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_ListDevices.go.snap b/service/devicefarm/snapshot/api_op_ListDevices.go.snap index 68b40315c08..e71c0938d57 100644 --- a/service/devicefarm/snapshot/api_op_ListDevices.go.snap +++ b/service/devicefarm/snapshot/api_op_ListDevices.go.snap @@ -14,7 +14,6 @@ ListDevices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_ListInstanceProfiles.go.snap b/service/devicefarm/snapshot/api_op_ListInstanceProfiles.go.snap index 2e04ad7dd9a..ba69f98c62d 100644 --- a/service/devicefarm/snapshot/api_op_ListInstanceProfiles.go.snap +++ b/service/devicefarm/snapshot/api_op_ListInstanceProfiles.go.snap @@ -13,7 +13,6 @@ ListInstanceProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_ListJobs.go.snap b/service/devicefarm/snapshot/api_op_ListJobs.go.snap index a6ea48db4f8..1cfad16e424 100644 --- a/service/devicefarm/snapshot/api_op_ListJobs.go.snap +++ b/service/devicefarm/snapshot/api_op_ListJobs.go.snap @@ -14,7 +14,6 @@ ListJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_ListNetworkProfiles.go.snap b/service/devicefarm/snapshot/api_op_ListNetworkProfiles.go.snap index 8e01276e331..3d8cc6cf86b 100644 --- a/service/devicefarm/snapshot/api_op_ListNetworkProfiles.go.snap +++ b/service/devicefarm/snapshot/api_op_ListNetworkProfiles.go.snap @@ -14,7 +14,6 @@ ListNetworkProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_ListOfferingPromotions.go.snap b/service/devicefarm/snapshot/api_op_ListOfferingPromotions.go.snap index 8b6aecd4566..9e63729ca5e 100644 --- a/service/devicefarm/snapshot/api_op_ListOfferingPromotions.go.snap +++ b/service/devicefarm/snapshot/api_op_ListOfferingPromotions.go.snap @@ -13,7 +13,6 @@ ListOfferingPromotions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_ListOfferingTransactions.go.snap b/service/devicefarm/snapshot/api_op_ListOfferingTransactions.go.snap index e4e5c7b93ca..842480e717c 100644 --- a/service/devicefarm/snapshot/api_op_ListOfferingTransactions.go.snap +++ b/service/devicefarm/snapshot/api_op_ListOfferingTransactions.go.snap @@ -13,7 +13,6 @@ ListOfferingTransactions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_ListOfferings.go.snap b/service/devicefarm/snapshot/api_op_ListOfferings.go.snap index 97af9ceb2db..9ce8fe4209f 100644 --- a/service/devicefarm/snapshot/api_op_ListOfferings.go.snap +++ b/service/devicefarm/snapshot/api_op_ListOfferings.go.snap @@ -13,7 +13,6 @@ ListOfferings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_ListProjects.go.snap b/service/devicefarm/snapshot/api_op_ListProjects.go.snap index adb78614633..e63a9b58f58 100644 --- a/service/devicefarm/snapshot/api_op_ListProjects.go.snap +++ b/service/devicefarm/snapshot/api_op_ListProjects.go.snap @@ -13,7 +13,6 @@ ListProjects Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_ListRemoteAccessSessions.go.snap b/service/devicefarm/snapshot/api_op_ListRemoteAccessSessions.go.snap index ce4418b6dfb..63e38a11e8f 100644 --- a/service/devicefarm/snapshot/api_op_ListRemoteAccessSessions.go.snap +++ b/service/devicefarm/snapshot/api_op_ListRemoteAccessSessions.go.snap @@ -14,7 +14,6 @@ ListRemoteAccessSessions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_ListRuns.go.snap b/service/devicefarm/snapshot/api_op_ListRuns.go.snap index ed1f141b5d2..a47443ae284 100644 --- a/service/devicefarm/snapshot/api_op_ListRuns.go.snap +++ b/service/devicefarm/snapshot/api_op_ListRuns.go.snap @@ -14,7 +14,6 @@ ListRuns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_ListSamples.go.snap b/service/devicefarm/snapshot/api_op_ListSamples.go.snap index 9c98583a316..477c1da4b6d 100644 --- a/service/devicefarm/snapshot/api_op_ListSamples.go.snap +++ b/service/devicefarm/snapshot/api_op_ListSamples.go.snap @@ -14,7 +14,6 @@ ListSamples Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_ListSuites.go.snap b/service/devicefarm/snapshot/api_op_ListSuites.go.snap index d987d723e61..220f10af702 100644 --- a/service/devicefarm/snapshot/api_op_ListSuites.go.snap +++ b/service/devicefarm/snapshot/api_op_ListSuites.go.snap @@ -14,7 +14,6 @@ ListSuites Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_ListTagsForResource.go.snap b/service/devicefarm/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/devicefarm/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/devicefarm/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_ListTestGridProjects.go.snap b/service/devicefarm/snapshot/api_op_ListTestGridProjects.go.snap index e368c38f7ff..628f1338082 100644 --- a/service/devicefarm/snapshot/api_op_ListTestGridProjects.go.snap +++ b/service/devicefarm/snapshot/api_op_ListTestGridProjects.go.snap @@ -13,7 +13,6 @@ ListTestGridProjects Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_ListTestGridSessionActions.go.snap b/service/devicefarm/snapshot/api_op_ListTestGridSessionActions.go.snap index 5c83a60dfbc..790666899e1 100644 --- a/service/devicefarm/snapshot/api_op_ListTestGridSessionActions.go.snap +++ b/service/devicefarm/snapshot/api_op_ListTestGridSessionActions.go.snap @@ -14,7 +14,6 @@ ListTestGridSessionActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_ListTestGridSessionArtifacts.go.snap b/service/devicefarm/snapshot/api_op_ListTestGridSessionArtifacts.go.snap index 90caf53ca57..7fa3e89a08e 100644 --- a/service/devicefarm/snapshot/api_op_ListTestGridSessionArtifacts.go.snap +++ b/service/devicefarm/snapshot/api_op_ListTestGridSessionArtifacts.go.snap @@ -14,7 +14,6 @@ ListTestGridSessionArtifacts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_ListTestGridSessions.go.snap b/service/devicefarm/snapshot/api_op_ListTestGridSessions.go.snap index aec7f538b57..4e403779ef5 100644 --- a/service/devicefarm/snapshot/api_op_ListTestGridSessions.go.snap +++ b/service/devicefarm/snapshot/api_op_ListTestGridSessions.go.snap @@ -14,7 +14,6 @@ ListTestGridSessions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_ListTests.go.snap b/service/devicefarm/snapshot/api_op_ListTests.go.snap index 81c5101282f..1feaba900e9 100644 --- a/service/devicefarm/snapshot/api_op_ListTests.go.snap +++ b/service/devicefarm/snapshot/api_op_ListTests.go.snap @@ -14,7 +14,6 @@ ListTests Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_ListUniqueProblems.go.snap b/service/devicefarm/snapshot/api_op_ListUniqueProblems.go.snap index c4871b5779e..c844761fc39 100644 --- a/service/devicefarm/snapshot/api_op_ListUniqueProblems.go.snap +++ b/service/devicefarm/snapshot/api_op_ListUniqueProblems.go.snap @@ -14,7 +14,6 @@ ListUniqueProblems Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_ListUploads.go.snap b/service/devicefarm/snapshot/api_op_ListUploads.go.snap index c2f440daa7a..0fd7f4ee09c 100644 --- a/service/devicefarm/snapshot/api_op_ListUploads.go.snap +++ b/service/devicefarm/snapshot/api_op_ListUploads.go.snap @@ -14,7 +14,6 @@ ListUploads Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_ListVPCEConfigurations.go.snap b/service/devicefarm/snapshot/api_op_ListVPCEConfigurations.go.snap index af1ac549bf4..2f46bb81ce8 100644 --- a/service/devicefarm/snapshot/api_op_ListVPCEConfigurations.go.snap +++ b/service/devicefarm/snapshot/api_op_ListVPCEConfigurations.go.snap @@ -13,7 +13,6 @@ ListVPCEConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_PurchaseOffering.go.snap b/service/devicefarm/snapshot/api_op_PurchaseOffering.go.snap index cac5555c74e..f17e2249cbc 100644 --- a/service/devicefarm/snapshot/api_op_PurchaseOffering.go.snap +++ b/service/devicefarm/snapshot/api_op_PurchaseOffering.go.snap @@ -14,7 +14,6 @@ PurchaseOffering Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_RenewOffering.go.snap b/service/devicefarm/snapshot/api_op_RenewOffering.go.snap index 289df8b9cea..c0dba388de5 100644 --- a/service/devicefarm/snapshot/api_op_RenewOffering.go.snap +++ b/service/devicefarm/snapshot/api_op_RenewOffering.go.snap @@ -14,7 +14,6 @@ RenewOffering Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_ScheduleRun.go.snap b/service/devicefarm/snapshot/api_op_ScheduleRun.go.snap index 5e6edd77b0a..8d6f29b7594 100644 --- a/service/devicefarm/snapshot/api_op_ScheduleRun.go.snap +++ b/service/devicefarm/snapshot/api_op_ScheduleRun.go.snap @@ -14,7 +14,6 @@ ScheduleRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_StopJob.go.snap b/service/devicefarm/snapshot/api_op_StopJob.go.snap index a20efaf5231..bff2146f841 100644 --- a/service/devicefarm/snapshot/api_op_StopJob.go.snap +++ b/service/devicefarm/snapshot/api_op_StopJob.go.snap @@ -14,7 +14,6 @@ StopJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_StopRemoteAccessSession.go.snap b/service/devicefarm/snapshot/api_op_StopRemoteAccessSession.go.snap index 52086bc4193..d8d619a56b7 100644 --- a/service/devicefarm/snapshot/api_op_StopRemoteAccessSession.go.snap +++ b/service/devicefarm/snapshot/api_op_StopRemoteAccessSession.go.snap @@ -14,7 +14,6 @@ StopRemoteAccessSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_StopRun.go.snap b/service/devicefarm/snapshot/api_op_StopRun.go.snap index 6ae99d111bb..92cc035eeb6 100644 --- a/service/devicefarm/snapshot/api_op_StopRun.go.snap +++ b/service/devicefarm/snapshot/api_op_StopRun.go.snap @@ -14,7 +14,6 @@ StopRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_TagResource.go.snap b/service/devicefarm/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/devicefarm/snapshot/api_op_TagResource.go.snap +++ b/service/devicefarm/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_UntagResource.go.snap b/service/devicefarm/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/devicefarm/snapshot/api_op_UntagResource.go.snap +++ b/service/devicefarm/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_UpdateDeviceInstance.go.snap b/service/devicefarm/snapshot/api_op_UpdateDeviceInstance.go.snap index 232c8ced030..8f7ab019cea 100644 --- a/service/devicefarm/snapshot/api_op_UpdateDeviceInstance.go.snap +++ b/service/devicefarm/snapshot/api_op_UpdateDeviceInstance.go.snap @@ -14,7 +14,6 @@ UpdateDeviceInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_UpdateDevicePool.go.snap b/service/devicefarm/snapshot/api_op_UpdateDevicePool.go.snap index 55b914b2824..5672bb5764c 100644 --- a/service/devicefarm/snapshot/api_op_UpdateDevicePool.go.snap +++ b/service/devicefarm/snapshot/api_op_UpdateDevicePool.go.snap @@ -14,7 +14,6 @@ UpdateDevicePool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_UpdateInstanceProfile.go.snap b/service/devicefarm/snapshot/api_op_UpdateInstanceProfile.go.snap index 2f66af86942..8bb2a660ef6 100644 --- a/service/devicefarm/snapshot/api_op_UpdateInstanceProfile.go.snap +++ b/service/devicefarm/snapshot/api_op_UpdateInstanceProfile.go.snap @@ -14,7 +14,6 @@ UpdateInstanceProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_UpdateNetworkProfile.go.snap b/service/devicefarm/snapshot/api_op_UpdateNetworkProfile.go.snap index 913d93dcd1e..365882307a8 100644 --- a/service/devicefarm/snapshot/api_op_UpdateNetworkProfile.go.snap +++ b/service/devicefarm/snapshot/api_op_UpdateNetworkProfile.go.snap @@ -14,7 +14,6 @@ UpdateNetworkProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_UpdateProject.go.snap b/service/devicefarm/snapshot/api_op_UpdateProject.go.snap index 5c3e188e688..58c24534d10 100644 --- a/service/devicefarm/snapshot/api_op_UpdateProject.go.snap +++ b/service/devicefarm/snapshot/api_op_UpdateProject.go.snap @@ -14,7 +14,6 @@ UpdateProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_UpdateTestGridProject.go.snap b/service/devicefarm/snapshot/api_op_UpdateTestGridProject.go.snap index f750173131b..a9cbd355052 100644 --- a/service/devicefarm/snapshot/api_op_UpdateTestGridProject.go.snap +++ b/service/devicefarm/snapshot/api_op_UpdateTestGridProject.go.snap @@ -14,7 +14,6 @@ UpdateTestGridProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_UpdateUpload.go.snap b/service/devicefarm/snapshot/api_op_UpdateUpload.go.snap index d0b5f79a4c3..d3e2d0276b9 100644 --- a/service/devicefarm/snapshot/api_op_UpdateUpload.go.snap +++ b/service/devicefarm/snapshot/api_op_UpdateUpload.go.snap @@ -14,7 +14,6 @@ UpdateUpload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devicefarm/snapshot/api_op_UpdateVPCEConfiguration.go.snap b/service/devicefarm/snapshot/api_op_UpdateVPCEConfiguration.go.snap index 1a1f5eea21d..23d91d43168 100644 --- a/service/devicefarm/snapshot/api_op_UpdateVPCEConfiguration.go.snap +++ b/service/devicefarm/snapshot/api_op_UpdateVPCEConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateVPCEConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devopsguru/api_client.go b/service/devopsguru/api_client.go index 0ce68fba995..73e0ca359ff 100644 --- a/service/devopsguru/api_client.go +++ b/service/devopsguru/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/devopsguru/api_op_AddNotificationChannel.go b/service/devopsguru/api_op_AddNotificationChannel.go index 84a7420952d..6abc7389368 100644 --- a/service/devopsguru/api_op_AddNotificationChannel.go +++ b/service/devopsguru/api_op_AddNotificationChannel.go @@ -132,9 +132,6 @@ func (c *Client) addOperationAddNotificationChannelMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddNotificationChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_DeleteInsight.go b/service/devopsguru/api_op_DeleteInsight.go index f344272579d..292e3d253d4 100644 --- a/service/devopsguru/api_op_DeleteInsight.go +++ b/service/devopsguru/api_op_DeleteInsight.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteInsightMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInsightValidationMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_DescribeAccountHealth.go b/service/devopsguru/api_op_DescribeAccountHealth.go index daa5842dafd..2e56a096d5d 100644 --- a/service/devopsguru/api_op_DescribeAccountHealth.go +++ b/service/devopsguru/api_op_DescribeAccountHealth.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeAccountHealthMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountHealth(options.Region), middleware.Before); err != nil { return err } diff --git a/service/devopsguru/api_op_DescribeAccountOverview.go b/service/devopsguru/api_op_DescribeAccountOverview.go index bb7f4737c23..e5c6f26400b 100644 --- a/service/devopsguru/api_op_DescribeAccountOverview.go +++ b/service/devopsguru/api_op_DescribeAccountOverview.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDescribeAccountOverviewMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAccountOverviewValidationMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_DescribeAnomaly.go b/service/devopsguru/api_op_DescribeAnomaly.go index f68c77ef558..cabb7350edc 100644 --- a/service/devopsguru/api_op_DescribeAnomaly.go +++ b/service/devopsguru/api_op_DescribeAnomaly.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDescribeAnomalyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAnomalyValidationMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_DescribeEventSourcesConfig.go b/service/devopsguru/api_op_DescribeEventSourcesConfig.go index a01862e157f..52f31e07c59 100644 --- a/service/devopsguru/api_op_DescribeEventSourcesConfig.go +++ b/service/devopsguru/api_op_DescribeEventSourcesConfig.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDescribeEventSourcesConfigMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEventSourcesConfig(options.Region), middleware.Before); err != nil { return err } diff --git a/service/devopsguru/api_op_DescribeFeedback.go b/service/devopsguru/api_op_DescribeFeedback.go index b53a72638a2..6121d498c38 100644 --- a/service/devopsguru/api_op_DescribeFeedback.go +++ b/service/devopsguru/api_op_DescribeFeedback.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDescribeFeedbackMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFeedback(options.Region), middleware.Before); err != nil { return err } diff --git a/service/devopsguru/api_op_DescribeInsight.go b/service/devopsguru/api_op_DescribeInsight.go index 84bb2497e3e..ff221d7c725 100644 --- a/service/devopsguru/api_op_DescribeInsight.go +++ b/service/devopsguru/api_op_DescribeInsight.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDescribeInsightMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeInsightValidationMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_DescribeOrganizationHealth.go b/service/devopsguru/api_op_DescribeOrganizationHealth.go index bbdba2c279b..ccfe793ba82 100644 --- a/service/devopsguru/api_op_DescribeOrganizationHealth.go +++ b/service/devopsguru/api_op_DescribeOrganizationHealth.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeOrganizationHealthMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOrganizationHealth(options.Region), middleware.Before); err != nil { return err } diff --git a/service/devopsguru/api_op_DescribeOrganizationOverview.go b/service/devopsguru/api_op_DescribeOrganizationOverview.go index 3173cb476c7..d78979bcd86 100644 --- a/service/devopsguru/api_op_DescribeOrganizationOverview.go +++ b/service/devopsguru/api_op_DescribeOrganizationOverview.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDescribeOrganizationOverviewMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeOrganizationOverviewValidationMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_DescribeOrganizationResourceCollectionHealth.go b/service/devopsguru/api_op_DescribeOrganizationResourceCollectionHealth.go index 907333bc4b3..ca4059b1a16 100644 --- a/service/devopsguru/api_op_DescribeOrganizationResourceCollectionHealth.go +++ b/service/devopsguru/api_op_DescribeOrganizationResourceCollectionHealth.go @@ -177,9 +177,6 @@ func (c *Client) addOperationDescribeOrganizationResourceCollectionHealthMiddlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeOrganizationResourceCollectionHealthValidationMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_DescribeResourceCollectionHealth.go b/service/devopsguru/api_op_DescribeResourceCollectionHealth.go index 138be95e74b..0b8e95caf61 100644 --- a/service/devopsguru/api_op_DescribeResourceCollectionHealth.go +++ b/service/devopsguru/api_op_DescribeResourceCollectionHealth.go @@ -174,9 +174,6 @@ func (c *Client) addOperationDescribeResourceCollectionHealthMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeResourceCollectionHealthValidationMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_DescribeServiceIntegration.go b/service/devopsguru/api_op_DescribeServiceIntegration.go index ecee618a3d3..0c4f5acea48 100644 --- a/service/devopsguru/api_op_DescribeServiceIntegration.go +++ b/service/devopsguru/api_op_DescribeServiceIntegration.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDescribeServiceIntegrationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeServiceIntegration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/devopsguru/api_op_GetCostEstimation.go b/service/devopsguru/api_op_GetCostEstimation.go index 7e7b2508cf3..9a7d16efc92 100644 --- a/service/devopsguru/api_op_GetCostEstimation.go +++ b/service/devopsguru/api_op_GetCostEstimation.go @@ -136,9 +136,6 @@ func (c *Client) addOperationGetCostEstimationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCostEstimation(options.Region), middleware.Before); err != nil { return err } diff --git a/service/devopsguru/api_op_GetResourceCollection.go b/service/devopsguru/api_op_GetResourceCollection.go index 8bd76437de9..790cec83dfb 100644 --- a/service/devopsguru/api_op_GetResourceCollection.go +++ b/service/devopsguru/api_op_GetResourceCollection.go @@ -134,9 +134,6 @@ func (c *Client) addOperationGetResourceCollectionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourceCollectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_ListAnomaliesForInsight.go b/service/devopsguru/api_op_ListAnomaliesForInsight.go index ce732dea257..51f4aa791a5 100644 --- a/service/devopsguru/api_op_ListAnomaliesForInsight.go +++ b/service/devopsguru/api_op_ListAnomaliesForInsight.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListAnomaliesForInsightMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAnomaliesForInsightValidationMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_ListAnomalousLogGroups.go b/service/devopsguru/api_op_ListAnomalousLogGroups.go index 825b600f539..2a90420acd1 100644 --- a/service/devopsguru/api_op_ListAnomalousLogGroups.go +++ b/service/devopsguru/api_op_ListAnomalousLogGroups.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListAnomalousLogGroupsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAnomalousLogGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_ListEvents.go b/service/devopsguru/api_op_ListEvents.go index f831555618b..399b4c28f80 100644 --- a/service/devopsguru/api_op_ListEvents.go +++ b/service/devopsguru/api_op_ListEvents.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListEventsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_ListInsights.go b/service/devopsguru/api_op_ListInsights.go index 370b74e5c7a..f0d5dffe804 100644 --- a/service/devopsguru/api_op_ListInsights.go +++ b/service/devopsguru/api_op_ListInsights.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListInsightsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListInsightsValidationMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_ListMonitoredResources.go b/service/devopsguru/api_op_ListMonitoredResources.go index e0511ec3c2f..b16f8d37d2d 100644 --- a/service/devopsguru/api_op_ListMonitoredResources.go +++ b/service/devopsguru/api_op_ListMonitoredResources.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListMonitoredResourcesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMonitoredResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_ListNotificationChannels.go b/service/devopsguru/api_op_ListNotificationChannels.go index 1f56392e4a1..f41a0e2bfa9 100644 --- a/service/devopsguru/api_op_ListNotificationChannels.go +++ b/service/devopsguru/api_op_ListNotificationChannels.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListNotificationChannelsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNotificationChannels(options.Region), middleware.Before); err != nil { return err } diff --git a/service/devopsguru/api_op_ListOrganizationInsights.go b/service/devopsguru/api_op_ListOrganizationInsights.go index 331428e67ae..5a1f9f3b1b1 100644 --- a/service/devopsguru/api_op_ListOrganizationInsights.go +++ b/service/devopsguru/api_op_ListOrganizationInsights.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListOrganizationInsightsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListOrganizationInsightsValidationMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_ListRecommendations.go b/service/devopsguru/api_op_ListRecommendations.go index d3552fbc261..f0ead610ba8 100644 --- a/service/devopsguru/api_op_ListRecommendations.go +++ b/service/devopsguru/api_op_ListRecommendations.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListRecommendationsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRecommendationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_PutFeedback.go b/service/devopsguru/api_op_PutFeedback.go index 2b2ba879d02..74025f2e311 100644 --- a/service/devopsguru/api_op_PutFeedback.go +++ b/service/devopsguru/api_op_PutFeedback.go @@ -106,9 +106,6 @@ func (c *Client) addOperationPutFeedbackMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutFeedback(options.Region), middleware.Before); err != nil { return err } diff --git a/service/devopsguru/api_op_RemoveNotificationChannel.go b/service/devopsguru/api_op_RemoveNotificationChannel.go index ab299fda034..19d6d0117f8 100644 --- a/service/devopsguru/api_op_RemoveNotificationChannel.go +++ b/service/devopsguru/api_op_RemoveNotificationChannel.go @@ -110,9 +110,6 @@ func (c *Client) addOperationRemoveNotificationChannelMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveNotificationChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_SearchInsights.go b/service/devopsguru/api_op_SearchInsights.go index 9c43b83b489..dcdd88728ed 100644 --- a/service/devopsguru/api_op_SearchInsights.go +++ b/service/devopsguru/api_op_SearchInsights.go @@ -144,9 +144,6 @@ func (c *Client) addOperationSearchInsightsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchInsightsValidationMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_SearchOrganizationInsights.go b/service/devopsguru/api_op_SearchOrganizationInsights.go index 4aacbca11fc..0938ff9b97d 100644 --- a/service/devopsguru/api_op_SearchOrganizationInsights.go +++ b/service/devopsguru/api_op_SearchOrganizationInsights.go @@ -151,9 +151,6 @@ func (c *Client) addOperationSearchOrganizationInsightsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchOrganizationInsightsValidationMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_StartCostEstimation.go b/service/devopsguru/api_op_StartCostEstimation.go index 1121d98b5b9..125a5f9a459 100644 --- a/service/devopsguru/api_op_StartCostEstimation.go +++ b/service/devopsguru/api_op_StartCostEstimation.go @@ -113,9 +113,6 @@ func (c *Client) addOperationStartCostEstimationMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartCostEstimationMiddleware(stack, options); err != nil { return err } diff --git a/service/devopsguru/api_op_UpdateEventSourcesConfig.go b/service/devopsguru/api_op_UpdateEventSourcesConfig.go index 1c642b10eaf..995e6c39613 100644 --- a/service/devopsguru/api_op_UpdateEventSourcesConfig.go +++ b/service/devopsguru/api_op_UpdateEventSourcesConfig.go @@ -110,9 +110,6 @@ func (c *Client) addOperationUpdateEventSourcesConfigMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEventSourcesConfig(options.Region), middleware.Before); err != nil { return err } diff --git a/service/devopsguru/api_op_UpdateResourceCollection.go b/service/devopsguru/api_op_UpdateResourceCollection.go index 0522badf824..77a82f5684a 100644 --- a/service/devopsguru/api_op_UpdateResourceCollection.go +++ b/service/devopsguru/api_op_UpdateResourceCollection.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateResourceCollectionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateResourceCollectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/api_op_UpdateServiceIntegration.go b/service/devopsguru/api_op_UpdateServiceIntegration.go index 3e610268584..93e36d03162 100644 --- a/service/devopsguru/api_op_UpdateServiceIntegration.go +++ b/service/devopsguru/api_op_UpdateServiceIntegration.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUpdateServiceIntegrationMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateServiceIntegrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/devopsguru/snapshot/api_op_AddNotificationChannel.go.snap b/service/devopsguru/snapshot/api_op_AddNotificationChannel.go.snap index 9b92194098c..f48322a64aa 100644 --- a/service/devopsguru/snapshot/api_op_AddNotificationChannel.go.snap +++ b/service/devopsguru/snapshot/api_op_AddNotificationChannel.go.snap @@ -14,7 +14,6 @@ AddNotificationChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devopsguru/snapshot/api_op_DeleteInsight.go.snap b/service/devopsguru/snapshot/api_op_DeleteInsight.go.snap index 073b85f3e00..74cb8e6a47a 100644 --- a/service/devopsguru/snapshot/api_op_DeleteInsight.go.snap +++ b/service/devopsguru/snapshot/api_op_DeleteInsight.go.snap @@ -14,7 +14,6 @@ DeleteInsight Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devopsguru/snapshot/api_op_DescribeAccountHealth.go.snap b/service/devopsguru/snapshot/api_op_DescribeAccountHealth.go.snap index d6aaefbff62..b8252c5ca8a 100644 --- a/service/devopsguru/snapshot/api_op_DescribeAccountHealth.go.snap +++ b/service/devopsguru/snapshot/api_op_DescribeAccountHealth.go.snap @@ -13,7 +13,6 @@ DescribeAccountHealth Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devopsguru/snapshot/api_op_DescribeAccountOverview.go.snap b/service/devopsguru/snapshot/api_op_DescribeAccountOverview.go.snap index 0a242cb59b4..92a94ee61ef 100644 --- a/service/devopsguru/snapshot/api_op_DescribeAccountOverview.go.snap +++ b/service/devopsguru/snapshot/api_op_DescribeAccountOverview.go.snap @@ -14,7 +14,6 @@ DescribeAccountOverview Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devopsguru/snapshot/api_op_DescribeAnomaly.go.snap b/service/devopsguru/snapshot/api_op_DescribeAnomaly.go.snap index 3af8cdb1baa..d2f3ccc6fa7 100644 --- a/service/devopsguru/snapshot/api_op_DescribeAnomaly.go.snap +++ b/service/devopsguru/snapshot/api_op_DescribeAnomaly.go.snap @@ -14,7 +14,6 @@ DescribeAnomaly Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devopsguru/snapshot/api_op_DescribeEventSourcesConfig.go.snap b/service/devopsguru/snapshot/api_op_DescribeEventSourcesConfig.go.snap index 2ff79682a94..0f2704b2e09 100644 --- a/service/devopsguru/snapshot/api_op_DescribeEventSourcesConfig.go.snap +++ b/service/devopsguru/snapshot/api_op_DescribeEventSourcesConfig.go.snap @@ -13,7 +13,6 @@ DescribeEventSourcesConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devopsguru/snapshot/api_op_DescribeFeedback.go.snap b/service/devopsguru/snapshot/api_op_DescribeFeedback.go.snap index fed29f9c67f..b97f3427a9b 100644 --- a/service/devopsguru/snapshot/api_op_DescribeFeedback.go.snap +++ b/service/devopsguru/snapshot/api_op_DescribeFeedback.go.snap @@ -13,7 +13,6 @@ DescribeFeedback Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devopsguru/snapshot/api_op_DescribeInsight.go.snap b/service/devopsguru/snapshot/api_op_DescribeInsight.go.snap index b37ac229b41..c2dbe39ac88 100644 --- a/service/devopsguru/snapshot/api_op_DescribeInsight.go.snap +++ b/service/devopsguru/snapshot/api_op_DescribeInsight.go.snap @@ -14,7 +14,6 @@ DescribeInsight Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devopsguru/snapshot/api_op_DescribeOrganizationHealth.go.snap b/service/devopsguru/snapshot/api_op_DescribeOrganizationHealth.go.snap index fece25fd413..2d29913ecdf 100644 --- a/service/devopsguru/snapshot/api_op_DescribeOrganizationHealth.go.snap +++ b/service/devopsguru/snapshot/api_op_DescribeOrganizationHealth.go.snap @@ -13,7 +13,6 @@ DescribeOrganizationHealth Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devopsguru/snapshot/api_op_DescribeOrganizationOverview.go.snap b/service/devopsguru/snapshot/api_op_DescribeOrganizationOverview.go.snap index 0274b673ddf..25558b017a4 100644 --- a/service/devopsguru/snapshot/api_op_DescribeOrganizationOverview.go.snap +++ b/service/devopsguru/snapshot/api_op_DescribeOrganizationOverview.go.snap @@ -14,7 +14,6 @@ DescribeOrganizationOverview Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devopsguru/snapshot/api_op_DescribeOrganizationResourceCollectionHealth.go.snap b/service/devopsguru/snapshot/api_op_DescribeOrganizationResourceCollectionHealth.go.snap index 0a2c40c8a2b..b57e443eea5 100644 --- a/service/devopsguru/snapshot/api_op_DescribeOrganizationResourceCollectionHealth.go.snap +++ b/service/devopsguru/snapshot/api_op_DescribeOrganizationResourceCollectionHealth.go.snap @@ -14,7 +14,6 @@ DescribeOrganizationResourceCollectionHealth Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devopsguru/snapshot/api_op_DescribeResourceCollectionHealth.go.snap b/service/devopsguru/snapshot/api_op_DescribeResourceCollectionHealth.go.snap index f56f0e3162b..ef936a29b18 100644 --- a/service/devopsguru/snapshot/api_op_DescribeResourceCollectionHealth.go.snap +++ b/service/devopsguru/snapshot/api_op_DescribeResourceCollectionHealth.go.snap @@ -14,7 +14,6 @@ DescribeResourceCollectionHealth Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devopsguru/snapshot/api_op_DescribeServiceIntegration.go.snap b/service/devopsguru/snapshot/api_op_DescribeServiceIntegration.go.snap index 158069aaa7e..9d0c6703f70 100644 --- a/service/devopsguru/snapshot/api_op_DescribeServiceIntegration.go.snap +++ b/service/devopsguru/snapshot/api_op_DescribeServiceIntegration.go.snap @@ -13,7 +13,6 @@ DescribeServiceIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devopsguru/snapshot/api_op_GetCostEstimation.go.snap b/service/devopsguru/snapshot/api_op_GetCostEstimation.go.snap index d2ebb12cf00..8abe48996e6 100644 --- a/service/devopsguru/snapshot/api_op_GetCostEstimation.go.snap +++ b/service/devopsguru/snapshot/api_op_GetCostEstimation.go.snap @@ -13,7 +13,6 @@ GetCostEstimation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devopsguru/snapshot/api_op_GetResourceCollection.go.snap b/service/devopsguru/snapshot/api_op_GetResourceCollection.go.snap index 19aedfcb0cb..4cb1d5bb73e 100644 --- a/service/devopsguru/snapshot/api_op_GetResourceCollection.go.snap +++ b/service/devopsguru/snapshot/api_op_GetResourceCollection.go.snap @@ -14,7 +14,6 @@ GetResourceCollection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devopsguru/snapshot/api_op_ListAnomaliesForInsight.go.snap b/service/devopsguru/snapshot/api_op_ListAnomaliesForInsight.go.snap index ab9e2d36152..f7fb52d62c6 100644 --- a/service/devopsguru/snapshot/api_op_ListAnomaliesForInsight.go.snap +++ b/service/devopsguru/snapshot/api_op_ListAnomaliesForInsight.go.snap @@ -14,7 +14,6 @@ ListAnomaliesForInsight Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devopsguru/snapshot/api_op_ListAnomalousLogGroups.go.snap b/service/devopsguru/snapshot/api_op_ListAnomalousLogGroups.go.snap index 1c8391a28dc..c0963c8c408 100644 --- a/service/devopsguru/snapshot/api_op_ListAnomalousLogGroups.go.snap +++ b/service/devopsguru/snapshot/api_op_ListAnomalousLogGroups.go.snap @@ -14,7 +14,6 @@ ListAnomalousLogGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devopsguru/snapshot/api_op_ListEvents.go.snap b/service/devopsguru/snapshot/api_op_ListEvents.go.snap index 76fb70cbfcb..0fd20572dc3 100644 --- a/service/devopsguru/snapshot/api_op_ListEvents.go.snap +++ b/service/devopsguru/snapshot/api_op_ListEvents.go.snap @@ -14,7 +14,6 @@ ListEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devopsguru/snapshot/api_op_ListInsights.go.snap b/service/devopsguru/snapshot/api_op_ListInsights.go.snap index 9d9c6787b63..5815f5b71a1 100644 --- a/service/devopsguru/snapshot/api_op_ListInsights.go.snap +++ b/service/devopsguru/snapshot/api_op_ListInsights.go.snap @@ -14,7 +14,6 @@ ListInsights Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devopsguru/snapshot/api_op_ListMonitoredResources.go.snap b/service/devopsguru/snapshot/api_op_ListMonitoredResources.go.snap index db772b2f1a0..c9018f3bcdd 100644 --- a/service/devopsguru/snapshot/api_op_ListMonitoredResources.go.snap +++ b/service/devopsguru/snapshot/api_op_ListMonitoredResources.go.snap @@ -14,7 +14,6 @@ ListMonitoredResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devopsguru/snapshot/api_op_ListNotificationChannels.go.snap b/service/devopsguru/snapshot/api_op_ListNotificationChannels.go.snap index 4fdd98806bf..c71d8bca3b2 100644 --- a/service/devopsguru/snapshot/api_op_ListNotificationChannels.go.snap +++ b/service/devopsguru/snapshot/api_op_ListNotificationChannels.go.snap @@ -13,7 +13,6 @@ ListNotificationChannels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devopsguru/snapshot/api_op_ListOrganizationInsights.go.snap b/service/devopsguru/snapshot/api_op_ListOrganizationInsights.go.snap index b07cb8ab12a..f4cdaad033a 100644 --- a/service/devopsguru/snapshot/api_op_ListOrganizationInsights.go.snap +++ b/service/devopsguru/snapshot/api_op_ListOrganizationInsights.go.snap @@ -14,7 +14,6 @@ ListOrganizationInsights Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devopsguru/snapshot/api_op_ListRecommendations.go.snap b/service/devopsguru/snapshot/api_op_ListRecommendations.go.snap index 081111bdda9..9c60f9671dc 100644 --- a/service/devopsguru/snapshot/api_op_ListRecommendations.go.snap +++ b/service/devopsguru/snapshot/api_op_ListRecommendations.go.snap @@ -14,7 +14,6 @@ ListRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devopsguru/snapshot/api_op_PutFeedback.go.snap b/service/devopsguru/snapshot/api_op_PutFeedback.go.snap index 31f2df6ea22..40dae33b014 100644 --- a/service/devopsguru/snapshot/api_op_PutFeedback.go.snap +++ b/service/devopsguru/snapshot/api_op_PutFeedback.go.snap @@ -13,7 +13,6 @@ PutFeedback Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devopsguru/snapshot/api_op_RemoveNotificationChannel.go.snap b/service/devopsguru/snapshot/api_op_RemoveNotificationChannel.go.snap index 174137252d5..020d9de9dd7 100644 --- a/service/devopsguru/snapshot/api_op_RemoveNotificationChannel.go.snap +++ b/service/devopsguru/snapshot/api_op_RemoveNotificationChannel.go.snap @@ -14,7 +14,6 @@ RemoveNotificationChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devopsguru/snapshot/api_op_SearchInsights.go.snap b/service/devopsguru/snapshot/api_op_SearchInsights.go.snap index a3f5219d8aa..3d05d889a73 100644 --- a/service/devopsguru/snapshot/api_op_SearchInsights.go.snap +++ b/service/devopsguru/snapshot/api_op_SearchInsights.go.snap @@ -14,7 +14,6 @@ SearchInsights Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devopsguru/snapshot/api_op_SearchOrganizationInsights.go.snap b/service/devopsguru/snapshot/api_op_SearchOrganizationInsights.go.snap index 4de746d9606..3c0c3ec4614 100644 --- a/service/devopsguru/snapshot/api_op_SearchOrganizationInsights.go.snap +++ b/service/devopsguru/snapshot/api_op_SearchOrganizationInsights.go.snap @@ -14,7 +14,6 @@ SearchOrganizationInsights Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devopsguru/snapshot/api_op_StartCostEstimation.go.snap b/service/devopsguru/snapshot/api_op_StartCostEstimation.go.snap index 723d44b23a0..7fed9e055aa 100644 --- a/service/devopsguru/snapshot/api_op_StartCostEstimation.go.snap +++ b/service/devopsguru/snapshot/api_op_StartCostEstimation.go.snap @@ -15,7 +15,6 @@ StartCostEstimation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devopsguru/snapshot/api_op_UpdateEventSourcesConfig.go.snap b/service/devopsguru/snapshot/api_op_UpdateEventSourcesConfig.go.snap index 2954525d395..1da698dc415 100644 --- a/service/devopsguru/snapshot/api_op_UpdateEventSourcesConfig.go.snap +++ b/service/devopsguru/snapshot/api_op_UpdateEventSourcesConfig.go.snap @@ -13,7 +13,6 @@ UpdateEventSourcesConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devopsguru/snapshot/api_op_UpdateResourceCollection.go.snap b/service/devopsguru/snapshot/api_op_UpdateResourceCollection.go.snap index 667cb33f6bc..79c54e1002c 100644 --- a/service/devopsguru/snapshot/api_op_UpdateResourceCollection.go.snap +++ b/service/devopsguru/snapshot/api_op_UpdateResourceCollection.go.snap @@ -14,7 +14,6 @@ UpdateResourceCollection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/devopsguru/snapshot/api_op_UpdateServiceIntegration.go.snap b/service/devopsguru/snapshot/api_op_UpdateServiceIntegration.go.snap index 446ed85d13a..1de8022ea5e 100644 --- a/service/devopsguru/snapshot/api_op_UpdateServiceIntegration.go.snap +++ b/service/devopsguru/snapshot/api_op_UpdateServiceIntegration.go.snap @@ -14,7 +14,6 @@ UpdateServiceIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/api_client.go b/service/directconnect/api_client.go index 251bfbb38f2..e0d702d52cc 100644 --- a/service/directconnect/api_client.go +++ b/service/directconnect/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/directconnect/api_op_AcceptDirectConnectGatewayAssociationProposal.go b/service/directconnect/api_op_AcceptDirectConnectGatewayAssociationProposal.go index 27d906cd393..657576d25b1 100644 --- a/service/directconnect/api_op_AcceptDirectConnectGatewayAssociationProposal.go +++ b/service/directconnect/api_op_AcceptDirectConnectGatewayAssociationProposal.go @@ -133,9 +133,6 @@ func (c *Client) addOperationAcceptDirectConnectGatewayAssociationProposalMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptDirectConnectGatewayAssociationProposalValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_AllocateConnectionOnInterconnect.go b/service/directconnect/api_op_AllocateConnectionOnInterconnect.go index b0b3b4d3c20..770be54f67c 100644 --- a/service/directconnect/api_op_AllocateConnectionOnInterconnect.go +++ b/service/directconnect/api_op_AllocateConnectionOnInterconnect.go @@ -242,9 +242,6 @@ func (c *Client) addOperationAllocateConnectionOnInterconnectMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAllocateConnectionOnInterconnectValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_AllocateHostedConnection.go b/service/directconnect/api_op_AllocateHostedConnection.go index a34c2b7dcd0..f50cd3852d8 100644 --- a/service/directconnect/api_op_AllocateHostedConnection.go +++ b/service/directconnect/api_op_AllocateHostedConnection.go @@ -245,9 +245,6 @@ func (c *Client) addOperationAllocateHostedConnectionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAllocateHostedConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_AllocatePrivateVirtualInterface.go b/service/directconnect/api_op_AllocatePrivateVirtualInterface.go index 820c96ae0fe..7ae5228179c 100644 --- a/service/directconnect/api_op_AllocatePrivateVirtualInterface.go +++ b/service/directconnect/api_op_AllocatePrivateVirtualInterface.go @@ -243,9 +243,6 @@ func (c *Client) addOperationAllocatePrivateVirtualInterfaceMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAllocatePrivateVirtualInterfaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_AllocatePublicVirtualInterface.go b/service/directconnect/api_op_AllocatePublicVirtualInterface.go index 2e1f53ba594..6b3541a7000 100644 --- a/service/directconnect/api_op_AllocatePublicVirtualInterface.go +++ b/service/directconnect/api_op_AllocatePublicVirtualInterface.go @@ -250,9 +250,6 @@ func (c *Client) addOperationAllocatePublicVirtualInterfaceMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAllocatePublicVirtualInterfaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_AllocateTransitVirtualInterface.go b/service/directconnect/api_op_AllocateTransitVirtualInterface.go index db1b2fa0143..d785879a8db 100644 --- a/service/directconnect/api_op_AllocateTransitVirtualInterface.go +++ b/service/directconnect/api_op_AllocateTransitVirtualInterface.go @@ -132,9 +132,6 @@ func (c *Client) addOperationAllocateTransitVirtualInterfaceMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAllocateTransitVirtualInterfaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_AssociateConnectionWithLag.go b/service/directconnect/api_op_AssociateConnectionWithLag.go index ca0c86ff097..9887df5bbc4 100644 --- a/service/directconnect/api_op_AssociateConnectionWithLag.go +++ b/service/directconnect/api_op_AssociateConnectionWithLag.go @@ -230,9 +230,6 @@ func (c *Client) addOperationAssociateConnectionWithLagMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateConnectionWithLagValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_AssociateHostedConnection.go b/service/directconnect/api_op_AssociateHostedConnection.go index 80be1724eb5..b1150577c69 100644 --- a/service/directconnect/api_op_AssociateHostedConnection.go +++ b/service/directconnect/api_op_AssociateHostedConnection.go @@ -220,9 +220,6 @@ func (c *Client) addOperationAssociateHostedConnectionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateHostedConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_AssociateMacSecKey.go b/service/directconnect/api_op_AssociateMacSecKey.go index 2e5fb7e236b..c17e90622d8 100644 --- a/service/directconnect/api_op_AssociateMacSecKey.go +++ b/service/directconnect/api_op_AssociateMacSecKey.go @@ -158,9 +158,6 @@ func (c *Client) addOperationAssociateMacSecKeyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateMacSecKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_AssociateVirtualInterface.go b/service/directconnect/api_op_AssociateVirtualInterface.go index b62533bb6da..e97be8ab3a0 100644 --- a/service/directconnect/api_op_AssociateVirtualInterface.go +++ b/service/directconnect/api_op_AssociateVirtualInterface.go @@ -245,9 +245,6 @@ func (c *Client) addOperationAssociateVirtualInterfaceMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateVirtualInterfaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_ConfirmConnection.go b/service/directconnect/api_op_ConfirmConnection.go index 1c16ae77faf..e6d33e9b439 100644 --- a/service/directconnect/api_op_ConfirmConnection.go +++ b/service/directconnect/api_op_ConfirmConnection.go @@ -139,9 +139,6 @@ func (c *Client) addOperationConfirmConnectionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpConfirmConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_ConfirmCustomerAgreement.go b/service/directconnect/api_op_ConfirmCustomerAgreement.go index 2ecfed19582..1dfb0ad63ec 100644 --- a/service/directconnect/api_op_ConfirmCustomerAgreement.go +++ b/service/directconnect/api_op_ConfirmCustomerAgreement.go @@ -112,9 +112,6 @@ func (c *Client) addOperationConfirmCustomerAgreementMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opConfirmCustomerAgreement(options.Region), middleware.Before); err != nil { return err } diff --git a/service/directconnect/api_op_ConfirmPrivateVirtualInterface.go b/service/directconnect/api_op_ConfirmPrivateVirtualInterface.go index 08b89dd0936..328fe9122e3 100644 --- a/service/directconnect/api_op_ConfirmPrivateVirtualInterface.go +++ b/service/directconnect/api_op_ConfirmPrivateVirtualInterface.go @@ -151,9 +151,6 @@ func (c *Client) addOperationConfirmPrivateVirtualInterfaceMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpConfirmPrivateVirtualInterfaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_ConfirmPublicVirtualInterface.go b/service/directconnect/api_op_ConfirmPublicVirtualInterface.go index f3031f994fa..cf9811ea41a 100644 --- a/service/directconnect/api_op_ConfirmPublicVirtualInterface.go +++ b/service/directconnect/api_op_ConfirmPublicVirtualInterface.go @@ -144,9 +144,6 @@ func (c *Client) addOperationConfirmPublicVirtualInterfaceMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpConfirmPublicVirtualInterfaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_ConfirmTransitVirtualInterface.go b/service/directconnect/api_op_ConfirmTransitVirtualInterface.go index efbe5c5a952..94c4facdd53 100644 --- a/service/directconnect/api_op_ConfirmTransitVirtualInterface.go +++ b/service/directconnect/api_op_ConfirmTransitVirtualInterface.go @@ -149,9 +149,6 @@ func (c *Client) addOperationConfirmTransitVirtualInterfaceMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpConfirmTransitVirtualInterfaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_CreateBGPPeer.go b/service/directconnect/api_op_CreateBGPPeer.go index 440fb0a12e7..9d1ecd82fe5 100644 --- a/service/directconnect/api_op_CreateBGPPeer.go +++ b/service/directconnect/api_op_CreateBGPPeer.go @@ -136,9 +136,6 @@ func (c *Client) addOperationCreateBGPPeerMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateBGPPeer(options.Region), middleware.Before); err != nil { return err } diff --git a/service/directconnect/api_op_CreateConnection.go b/service/directconnect/api_op_CreateConnection.go index b0b375f4979..b66a9829e85 100644 --- a/service/directconnect/api_op_CreateConnection.go +++ b/service/directconnect/api_op_CreateConnection.go @@ -250,9 +250,6 @@ func (c *Client) addOperationCreateConnectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_CreateDirectConnectGateway.go b/service/directconnect/api_op_CreateDirectConnectGateway.go index 3ba78b11205..2fa6f408c0d 100644 --- a/service/directconnect/api_op_CreateDirectConnectGateway.go +++ b/service/directconnect/api_op_CreateDirectConnectGateway.go @@ -125,9 +125,6 @@ func (c *Client) addOperationCreateDirectConnectGatewayMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDirectConnectGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_CreateDirectConnectGatewayAssociation.go b/service/directconnect/api_op_CreateDirectConnectGatewayAssociation.go index 90cba15f606..0b00a415eb7 100644 --- a/service/directconnect/api_op_CreateDirectConnectGatewayAssociation.go +++ b/service/directconnect/api_op_CreateDirectConnectGatewayAssociation.go @@ -130,9 +130,6 @@ func (c *Client) addOperationCreateDirectConnectGatewayAssociationMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDirectConnectGatewayAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_CreateDirectConnectGatewayAssociationProposal.go b/service/directconnect/api_op_CreateDirectConnectGatewayAssociationProposal.go index 0255f12b13a..30493c1aeb5 100644 --- a/service/directconnect/api_op_CreateDirectConnectGatewayAssociationProposal.go +++ b/service/directconnect/api_op_CreateDirectConnectGatewayAssociationProposal.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateDirectConnectGatewayAssociationProposalMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDirectConnectGatewayAssociationProposalValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_CreateInterconnect.go b/service/directconnect/api_op_CreateInterconnect.go index 1abb49e239f..523bfa1d990 100644 --- a/service/directconnect/api_op_CreateInterconnect.go +++ b/service/directconnect/api_op_CreateInterconnect.go @@ -216,9 +216,6 @@ func (c *Client) addOperationCreateInterconnectMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateInterconnectValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_CreateLag.go b/service/directconnect/api_op_CreateLag.go index b009e67a77b..ae06ebc9a66 100644 --- a/service/directconnect/api_op_CreateLag.go +++ b/service/directconnect/api_op_CreateLag.go @@ -261,9 +261,6 @@ func (c *Client) addOperationCreateLagMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLagValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_CreatePrivateVirtualInterface.go b/service/directconnect/api_op_CreatePrivateVirtualInterface.go index c2371c438cb..a0811e494dc 100644 --- a/service/directconnect/api_op_CreatePrivateVirtualInterface.go +++ b/service/directconnect/api_op_CreatePrivateVirtualInterface.go @@ -245,9 +245,6 @@ func (c *Client) addOperationCreatePrivateVirtualInterfaceMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePrivateVirtualInterfaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_CreatePublicVirtualInterface.go b/service/directconnect/api_op_CreatePublicVirtualInterface.go index ab044aba54c..b26c28673ab 100644 --- a/service/directconnect/api_op_CreatePublicVirtualInterface.go +++ b/service/directconnect/api_op_CreatePublicVirtualInterface.go @@ -238,9 +238,6 @@ func (c *Client) addOperationCreatePublicVirtualInterfaceMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePublicVirtualInterfaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_CreateTransitVirtualInterface.go b/service/directconnect/api_op_CreateTransitVirtualInterface.go index 4be80495b0d..70a07b3611a 100644 --- a/service/directconnect/api_op_CreateTransitVirtualInterface.go +++ b/service/directconnect/api_op_CreateTransitVirtualInterface.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCreateTransitVirtualInterfaceMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTransitVirtualInterfaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DeleteBGPPeer.go b/service/directconnect/api_op_DeleteBGPPeer.go index 943f1c01797..77aa304bb77 100644 --- a/service/directconnect/api_op_DeleteBGPPeer.go +++ b/service/directconnect/api_op_DeleteBGPPeer.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteBGPPeerMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteBGPPeer(options.Region), middleware.Before); err != nil { return err } diff --git a/service/directconnect/api_op_DeleteConnection.go b/service/directconnect/api_op_DeleteConnection.go index 062ed7bf658..d399c6b6b37 100644 --- a/service/directconnect/api_op_DeleteConnection.go +++ b/service/directconnect/api_op_DeleteConnection.go @@ -213,9 +213,6 @@ func (c *Client) addOperationDeleteConnectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DeleteDirectConnectGateway.go b/service/directconnect/api_op_DeleteDirectConnectGateway.go index d4ddf084b9c..71cfd6b7b94 100644 --- a/service/directconnect/api_op_DeleteDirectConnectGateway.go +++ b/service/directconnect/api_op_DeleteDirectConnectGateway.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteDirectConnectGatewayMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDirectConnectGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DeleteDirectConnectGatewayAssociation.go b/service/directconnect/api_op_DeleteDirectConnectGatewayAssociation.go index dbfc787ad5d..8c11e1ad604 100644 --- a/service/directconnect/api_op_DeleteDirectConnectGatewayAssociation.go +++ b/service/directconnect/api_op_DeleteDirectConnectGatewayAssociation.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteDirectConnectGatewayAssociationMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDirectConnectGatewayAssociation(options.Region), middleware.Before); err != nil { return err } diff --git a/service/directconnect/api_op_DeleteDirectConnectGatewayAssociationProposal.go b/service/directconnect/api_op_DeleteDirectConnectGatewayAssociationProposal.go index 386856f6b08..c2e055b018b 100644 --- a/service/directconnect/api_op_DeleteDirectConnectGatewayAssociationProposal.go +++ b/service/directconnect/api_op_DeleteDirectConnectGatewayAssociationProposal.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteDirectConnectGatewayAssociationProposalMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDirectConnectGatewayAssociationProposalValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DeleteInterconnect.go b/service/directconnect/api_op_DeleteInterconnect.go index 85ebd7c0989..8dbd437c014 100644 --- a/service/directconnect/api_op_DeleteInterconnect.go +++ b/service/directconnect/api_op_DeleteInterconnect.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDeleteInterconnectMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInterconnectValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DeleteLag.go b/service/directconnect/api_op_DeleteLag.go index 600ba95d165..98bd8de9819 100644 --- a/service/directconnect/api_op_DeleteLag.go +++ b/service/directconnect/api_op_DeleteLag.go @@ -199,9 +199,6 @@ func (c *Client) addOperationDeleteLagMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLagValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DeleteVirtualInterface.go b/service/directconnect/api_op_DeleteVirtualInterface.go index d9964940121..86f302e365e 100644 --- a/service/directconnect/api_op_DeleteVirtualInterface.go +++ b/service/directconnect/api_op_DeleteVirtualInterface.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDeleteVirtualInterfaceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVirtualInterfaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeConnectionLoa.go b/service/directconnect/api_op_DescribeConnectionLoa.go index f6847fefe94..1dea0b8d2bb 100644 --- a/service/directconnect/api_op_DescribeConnectionLoa.go +++ b/service/directconnect/api_op_DescribeConnectionLoa.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeConnectionLoaMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeConnectionLoaValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeConnections.go b/service/directconnect/api_op_DescribeConnections.go index 89deffce8e7..10e8a0c5b23 100644 --- a/service/directconnect/api_op_DescribeConnections.go +++ b/service/directconnect/api_op_DescribeConnections.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDescribeConnectionsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConnections(options.Region), middleware.Before); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeConnectionsOnInterconnect.go b/service/directconnect/api_op_DescribeConnectionsOnInterconnect.go index 40a71a3a03c..3fec1dee44f 100644 --- a/service/directconnect/api_op_DescribeConnectionsOnInterconnect.go +++ b/service/directconnect/api_op_DescribeConnectionsOnInterconnect.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDescribeConnectionsOnInterconnectMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeConnectionsOnInterconnectValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeCustomerMetadata.go b/service/directconnect/api_op_DescribeCustomerMetadata.go index 03f17374ad0..7327e2abbad 100644 --- a/service/directconnect/api_op_DescribeCustomerMetadata.go +++ b/service/directconnect/api_op_DescribeCustomerMetadata.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeCustomerMetadataMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCustomerMetadata(options.Region), middleware.Before); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeDirectConnectGatewayAssociationProposals.go b/service/directconnect/api_op_DescribeDirectConnectGatewayAssociationProposals.go index ac359eaf12f..488f4506ab4 100644 --- a/service/directconnect/api_op_DescribeDirectConnectGatewayAssociationProposals.go +++ b/service/directconnect/api_op_DescribeDirectConnectGatewayAssociationProposals.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeDirectConnectGatewayAssociationProposalsMid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDirectConnectGatewayAssociationProposals(options.Region), middleware.Before); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeDirectConnectGatewayAssociations.go b/service/directconnect/api_op_DescribeDirectConnectGatewayAssociations.go index 72bfe193f5c..667a1dcbf03 100644 --- a/service/directconnect/api_op_DescribeDirectConnectGatewayAssociations.go +++ b/service/directconnect/api_op_DescribeDirectConnectGatewayAssociations.go @@ -158,9 +158,6 @@ func (c *Client) addOperationDescribeDirectConnectGatewayAssociationsMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDirectConnectGatewayAssociations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeDirectConnectGatewayAttachments.go b/service/directconnect/api_op_DescribeDirectConnectGatewayAttachments.go index 1e91461272a..38e434543ca 100644 --- a/service/directconnect/api_op_DescribeDirectConnectGatewayAttachments.go +++ b/service/directconnect/api_op_DescribeDirectConnectGatewayAttachments.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeDirectConnectGatewayAttachmentsMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDirectConnectGatewayAttachments(options.Region), middleware.Before); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeDirectConnectGateways.go b/service/directconnect/api_op_DescribeDirectConnectGateways.go index f9e68d50361..f191db899d5 100644 --- a/service/directconnect/api_op_DescribeDirectConnectGateways.go +++ b/service/directconnect/api_op_DescribeDirectConnectGateways.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeDirectConnectGatewaysMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDirectConnectGateways(options.Region), middleware.Before); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeHostedConnections.go b/service/directconnect/api_op_DescribeHostedConnections.go index 15e83b64dad..4687964356a 100644 --- a/service/directconnect/api_op_DescribeHostedConnections.go +++ b/service/directconnect/api_op_DescribeHostedConnections.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDescribeHostedConnectionsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeHostedConnectionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeInterconnectLoa.go b/service/directconnect/api_op_DescribeInterconnectLoa.go index 1c43d48b062..cb1e7b3fbab 100644 --- a/service/directconnect/api_op_DescribeInterconnectLoa.go +++ b/service/directconnect/api_op_DescribeInterconnectLoa.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeInterconnectLoaMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeInterconnectLoaValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeInterconnects.go b/service/directconnect/api_op_DescribeInterconnects.go index bb2c4ccd58f..c011e85cb41 100644 --- a/service/directconnect/api_op_DescribeInterconnects.go +++ b/service/directconnect/api_op_DescribeInterconnects.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDescribeInterconnectsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInterconnects(options.Region), middleware.Before); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeLags.go b/service/directconnect/api_op_DescribeLags.go index 5fd6a82557b..65cb13a3902 100644 --- a/service/directconnect/api_op_DescribeLags.go +++ b/service/directconnect/api_op_DescribeLags.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDescribeLagsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLags(options.Region), middleware.Before); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeLoa.go b/service/directconnect/api_op_DescribeLoa.go index c5aedb3cd6d..97b68a16c27 100644 --- a/service/directconnect/api_op_DescribeLoa.go +++ b/service/directconnect/api_op_DescribeLoa.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDescribeLoaMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeLoaValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeLocations.go b/service/directconnect/api_op_DescribeLocations.go index 0adc738b149..49d8c1eb874 100644 --- a/service/directconnect/api_op_DescribeLocations.go +++ b/service/directconnect/api_op_DescribeLocations.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDescribeLocationsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLocations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeRouterConfiguration.go b/service/directconnect/api_op_DescribeRouterConfiguration.go index f38417c04a7..8946228f52b 100644 --- a/service/directconnect/api_op_DescribeRouterConfiguration.go +++ b/service/directconnect/api_op_DescribeRouterConfiguration.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeRouterConfigurationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRouterConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeTags.go b/service/directconnect/api_op_DescribeTags.go index 99f8026b518..41ea0d99ed8 100644 --- a/service/directconnect/api_op_DescribeTags.go +++ b/service/directconnect/api_op_DescribeTags.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDescribeTagsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeVirtualGateways.go b/service/directconnect/api_op_DescribeVirtualGateways.go index 385e08cf7be..df80c1ff184 100644 --- a/service/directconnect/api_op_DescribeVirtualGateways.go +++ b/service/directconnect/api_op_DescribeVirtualGateways.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribeVirtualGatewaysMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVirtualGateways(options.Region), middleware.Before); err != nil { return err } diff --git a/service/directconnect/api_op_DescribeVirtualInterfaces.go b/service/directconnect/api_op_DescribeVirtualInterfaces.go index 9c98c075a2a..a814b5c34ec 100644 --- a/service/directconnect/api_op_DescribeVirtualInterfaces.go +++ b/service/directconnect/api_op_DescribeVirtualInterfaces.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDescribeVirtualInterfacesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVirtualInterfaces(options.Region), middleware.Before); err != nil { return err } diff --git a/service/directconnect/api_op_DisassociateConnectionFromLag.go b/service/directconnect/api_op_DisassociateConnectionFromLag.go index d15caa35dd6..7452a83623c 100644 --- a/service/directconnect/api_op_DisassociateConnectionFromLag.go +++ b/service/directconnect/api_op_DisassociateConnectionFromLag.go @@ -224,9 +224,6 @@ func (c *Client) addOperationDisassociateConnectionFromLagMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateConnectionFromLagValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_DisassociateMacSecKey.go b/service/directconnect/api_op_DisassociateMacSecKey.go index 3ca83c8504d..cfb6111b110 100644 --- a/service/directconnect/api_op_DisassociateMacSecKey.go +++ b/service/directconnect/api_op_DisassociateMacSecKey.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDisassociateMacSecKeyMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateMacSecKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_ListVirtualInterfaceTestHistory.go b/service/directconnect/api_op_ListVirtualInterfaceTestHistory.go index ad5af7e6f06..4008bbd3a96 100644 --- a/service/directconnect/api_op_ListVirtualInterfaceTestHistory.go +++ b/service/directconnect/api_op_ListVirtualInterfaceTestHistory.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListVirtualInterfaceTestHistoryMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVirtualInterfaceTestHistory(options.Region), middleware.Before); err != nil { return err } diff --git a/service/directconnect/api_op_StartBgpFailoverTest.go b/service/directconnect/api_op_StartBgpFailoverTest.go index 094c005282f..eafac564c3d 100644 --- a/service/directconnect/api_op_StartBgpFailoverTest.go +++ b/service/directconnect/api_op_StartBgpFailoverTest.go @@ -133,9 +133,6 @@ func (c *Client) addOperationStartBgpFailoverTestMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartBgpFailoverTestValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_StopBgpFailoverTest.go b/service/directconnect/api_op_StopBgpFailoverTest.go index 2e914e3768a..7e73761ec0f 100644 --- a/service/directconnect/api_op_StopBgpFailoverTest.go +++ b/service/directconnect/api_op_StopBgpFailoverTest.go @@ -112,9 +112,6 @@ func (c *Client) addOperationStopBgpFailoverTestMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopBgpFailoverTestValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_TagResource.go b/service/directconnect/api_op_TagResource.go index 0f72cc262fc..2db1895f234 100644 --- a/service/directconnect/api_op_TagResource.go +++ b/service/directconnect/api_op_TagResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_UntagResource.go b/service/directconnect/api_op_UntagResource.go index adc4fbfb720..a5a8c79c78c 100644 --- a/service/directconnect/api_op_UntagResource.go +++ b/service/directconnect/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_UpdateConnection.go b/service/directconnect/api_op_UpdateConnection.go index 86818790537..3566126f0d5 100644 --- a/service/directconnect/api_op_UpdateConnection.go +++ b/service/directconnect/api_op_UpdateConnection.go @@ -225,9 +225,6 @@ func (c *Client) addOperationUpdateConnectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_UpdateDirectConnectGateway.go b/service/directconnect/api_op_UpdateDirectConnectGateway.go index e55253c12f6..4ed73b08e77 100644 --- a/service/directconnect/api_op_UpdateDirectConnectGateway.go +++ b/service/directconnect/api_op_UpdateDirectConnectGateway.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateDirectConnectGatewayMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDirectConnectGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_UpdateDirectConnectGatewayAssociation.go b/service/directconnect/api_op_UpdateDirectConnectGatewayAssociation.go index e81e1eb8511..a814d18991a 100644 --- a/service/directconnect/api_op_UpdateDirectConnectGatewayAssociation.go +++ b/service/directconnect/api_op_UpdateDirectConnectGatewayAssociation.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateDirectConnectGatewayAssociationMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDirectConnectGatewayAssociation(options.Region), middleware.Before); err != nil { return err } diff --git a/service/directconnect/api_op_UpdateLag.go b/service/directconnect/api_op_UpdateLag.go index e5b85a76c6a..e114899c51a 100644 --- a/service/directconnect/api_op_UpdateLag.go +++ b/service/directconnect/api_op_UpdateLag.go @@ -230,9 +230,6 @@ func (c *Client) addOperationUpdateLagMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLagValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/api_op_UpdateVirtualInterfaceAttributes.go b/service/directconnect/api_op_UpdateVirtualInterfaceAttributes.go index f1ab6eb1458..804f19c87e6 100644 --- a/service/directconnect/api_op_UpdateVirtualInterfaceAttributes.go +++ b/service/directconnect/api_op_UpdateVirtualInterfaceAttributes.go @@ -244,9 +244,6 @@ func (c *Client) addOperationUpdateVirtualInterfaceAttributesMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateVirtualInterfaceAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/directconnect/snapshot/api_op_AcceptDirectConnectGatewayAssociationProposal.go.snap b/service/directconnect/snapshot/api_op_AcceptDirectConnectGatewayAssociationProposal.go.snap index a506ecd4dd0..caed5f3d7ed 100644 --- a/service/directconnect/snapshot/api_op_AcceptDirectConnectGatewayAssociationProposal.go.snap +++ b/service/directconnect/snapshot/api_op_AcceptDirectConnectGatewayAssociationProposal.go.snap @@ -14,7 +14,6 @@ AcceptDirectConnectGatewayAssociationProposal Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_AllocateConnectionOnInterconnect.go.snap b/service/directconnect/snapshot/api_op_AllocateConnectionOnInterconnect.go.snap index 99e83aa0a24..990c741f950 100644 --- a/service/directconnect/snapshot/api_op_AllocateConnectionOnInterconnect.go.snap +++ b/service/directconnect/snapshot/api_op_AllocateConnectionOnInterconnect.go.snap @@ -14,7 +14,6 @@ AllocateConnectionOnInterconnect Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_AllocateHostedConnection.go.snap b/service/directconnect/snapshot/api_op_AllocateHostedConnection.go.snap index 6ad87fe8819..67c5d853b01 100644 --- a/service/directconnect/snapshot/api_op_AllocateHostedConnection.go.snap +++ b/service/directconnect/snapshot/api_op_AllocateHostedConnection.go.snap @@ -14,7 +14,6 @@ AllocateHostedConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_AllocatePrivateVirtualInterface.go.snap b/service/directconnect/snapshot/api_op_AllocatePrivateVirtualInterface.go.snap index 58f5a04ce17..abbad1abcbc 100644 --- a/service/directconnect/snapshot/api_op_AllocatePrivateVirtualInterface.go.snap +++ b/service/directconnect/snapshot/api_op_AllocatePrivateVirtualInterface.go.snap @@ -14,7 +14,6 @@ AllocatePrivateVirtualInterface Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_AllocatePublicVirtualInterface.go.snap b/service/directconnect/snapshot/api_op_AllocatePublicVirtualInterface.go.snap index 5d4847be1ae..8ecefa01e5b 100644 --- a/service/directconnect/snapshot/api_op_AllocatePublicVirtualInterface.go.snap +++ b/service/directconnect/snapshot/api_op_AllocatePublicVirtualInterface.go.snap @@ -14,7 +14,6 @@ AllocatePublicVirtualInterface Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_AllocateTransitVirtualInterface.go.snap b/service/directconnect/snapshot/api_op_AllocateTransitVirtualInterface.go.snap index e53a2aae799..0afe8ff7856 100644 --- a/service/directconnect/snapshot/api_op_AllocateTransitVirtualInterface.go.snap +++ b/service/directconnect/snapshot/api_op_AllocateTransitVirtualInterface.go.snap @@ -14,7 +14,6 @@ AllocateTransitVirtualInterface Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_AssociateConnectionWithLag.go.snap b/service/directconnect/snapshot/api_op_AssociateConnectionWithLag.go.snap index 49aa0eabc16..2666719a072 100644 --- a/service/directconnect/snapshot/api_op_AssociateConnectionWithLag.go.snap +++ b/service/directconnect/snapshot/api_op_AssociateConnectionWithLag.go.snap @@ -14,7 +14,6 @@ AssociateConnectionWithLag Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_AssociateHostedConnection.go.snap b/service/directconnect/snapshot/api_op_AssociateHostedConnection.go.snap index 1a02364d1f6..f12cedf81ac 100644 --- a/service/directconnect/snapshot/api_op_AssociateHostedConnection.go.snap +++ b/service/directconnect/snapshot/api_op_AssociateHostedConnection.go.snap @@ -14,7 +14,6 @@ AssociateHostedConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_AssociateMacSecKey.go.snap b/service/directconnect/snapshot/api_op_AssociateMacSecKey.go.snap index 27eb7d652ac..098d3e3df23 100644 --- a/service/directconnect/snapshot/api_op_AssociateMacSecKey.go.snap +++ b/service/directconnect/snapshot/api_op_AssociateMacSecKey.go.snap @@ -14,7 +14,6 @@ AssociateMacSecKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_AssociateVirtualInterface.go.snap b/service/directconnect/snapshot/api_op_AssociateVirtualInterface.go.snap index eb0fae796d0..c6e19506c6c 100644 --- a/service/directconnect/snapshot/api_op_AssociateVirtualInterface.go.snap +++ b/service/directconnect/snapshot/api_op_AssociateVirtualInterface.go.snap @@ -14,7 +14,6 @@ AssociateVirtualInterface Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_ConfirmConnection.go.snap b/service/directconnect/snapshot/api_op_ConfirmConnection.go.snap index 3c990f3bf13..a1495b1b648 100644 --- a/service/directconnect/snapshot/api_op_ConfirmConnection.go.snap +++ b/service/directconnect/snapshot/api_op_ConfirmConnection.go.snap @@ -14,7 +14,6 @@ ConfirmConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_ConfirmCustomerAgreement.go.snap b/service/directconnect/snapshot/api_op_ConfirmCustomerAgreement.go.snap index d7dfb0327d9..8a0d1c4c944 100644 --- a/service/directconnect/snapshot/api_op_ConfirmCustomerAgreement.go.snap +++ b/service/directconnect/snapshot/api_op_ConfirmCustomerAgreement.go.snap @@ -13,7 +13,6 @@ ConfirmCustomerAgreement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_ConfirmPrivateVirtualInterface.go.snap b/service/directconnect/snapshot/api_op_ConfirmPrivateVirtualInterface.go.snap index 54f4d953120..a02d3ba9927 100644 --- a/service/directconnect/snapshot/api_op_ConfirmPrivateVirtualInterface.go.snap +++ b/service/directconnect/snapshot/api_op_ConfirmPrivateVirtualInterface.go.snap @@ -14,7 +14,6 @@ ConfirmPrivateVirtualInterface Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_ConfirmPublicVirtualInterface.go.snap b/service/directconnect/snapshot/api_op_ConfirmPublicVirtualInterface.go.snap index 3c3ef3d18ea..04aad8ca5cd 100644 --- a/service/directconnect/snapshot/api_op_ConfirmPublicVirtualInterface.go.snap +++ b/service/directconnect/snapshot/api_op_ConfirmPublicVirtualInterface.go.snap @@ -14,7 +14,6 @@ ConfirmPublicVirtualInterface Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_ConfirmTransitVirtualInterface.go.snap b/service/directconnect/snapshot/api_op_ConfirmTransitVirtualInterface.go.snap index 3a161a329c1..bc147d62c1a 100644 --- a/service/directconnect/snapshot/api_op_ConfirmTransitVirtualInterface.go.snap +++ b/service/directconnect/snapshot/api_op_ConfirmTransitVirtualInterface.go.snap @@ -14,7 +14,6 @@ ConfirmTransitVirtualInterface Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_CreateBGPPeer.go.snap b/service/directconnect/snapshot/api_op_CreateBGPPeer.go.snap index 83fd0039055..3d71f83d646 100644 --- a/service/directconnect/snapshot/api_op_CreateBGPPeer.go.snap +++ b/service/directconnect/snapshot/api_op_CreateBGPPeer.go.snap @@ -13,7 +13,6 @@ CreateBGPPeer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_CreateConnection.go.snap b/service/directconnect/snapshot/api_op_CreateConnection.go.snap index 2925a097d86..744b4a055f4 100644 --- a/service/directconnect/snapshot/api_op_CreateConnection.go.snap +++ b/service/directconnect/snapshot/api_op_CreateConnection.go.snap @@ -14,7 +14,6 @@ CreateConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_CreateDirectConnectGateway.go.snap b/service/directconnect/snapshot/api_op_CreateDirectConnectGateway.go.snap index e4383a512b9..b5e90e22406 100644 --- a/service/directconnect/snapshot/api_op_CreateDirectConnectGateway.go.snap +++ b/service/directconnect/snapshot/api_op_CreateDirectConnectGateway.go.snap @@ -14,7 +14,6 @@ CreateDirectConnectGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_CreateDirectConnectGatewayAssociation.go.snap b/service/directconnect/snapshot/api_op_CreateDirectConnectGatewayAssociation.go.snap index 43477532c9c..f0e58444b8c 100644 --- a/service/directconnect/snapshot/api_op_CreateDirectConnectGatewayAssociation.go.snap +++ b/service/directconnect/snapshot/api_op_CreateDirectConnectGatewayAssociation.go.snap @@ -14,7 +14,6 @@ CreateDirectConnectGatewayAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_CreateDirectConnectGatewayAssociationProposal.go.snap b/service/directconnect/snapshot/api_op_CreateDirectConnectGatewayAssociationProposal.go.snap index 4dcb1c2e080..ebb501bb937 100644 --- a/service/directconnect/snapshot/api_op_CreateDirectConnectGatewayAssociationProposal.go.snap +++ b/service/directconnect/snapshot/api_op_CreateDirectConnectGatewayAssociationProposal.go.snap @@ -14,7 +14,6 @@ CreateDirectConnectGatewayAssociationProposal Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_CreateInterconnect.go.snap b/service/directconnect/snapshot/api_op_CreateInterconnect.go.snap index 8ad1cd172a1..5e020e1bbc1 100644 --- a/service/directconnect/snapshot/api_op_CreateInterconnect.go.snap +++ b/service/directconnect/snapshot/api_op_CreateInterconnect.go.snap @@ -14,7 +14,6 @@ CreateInterconnect Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_CreateLag.go.snap b/service/directconnect/snapshot/api_op_CreateLag.go.snap index 1eba195fcc9..af626fdda87 100644 --- a/service/directconnect/snapshot/api_op_CreateLag.go.snap +++ b/service/directconnect/snapshot/api_op_CreateLag.go.snap @@ -14,7 +14,6 @@ CreateLag Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_CreatePrivateVirtualInterface.go.snap b/service/directconnect/snapshot/api_op_CreatePrivateVirtualInterface.go.snap index 7054ed972ad..b4665d5e426 100644 --- a/service/directconnect/snapshot/api_op_CreatePrivateVirtualInterface.go.snap +++ b/service/directconnect/snapshot/api_op_CreatePrivateVirtualInterface.go.snap @@ -14,7 +14,6 @@ CreatePrivateVirtualInterface Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_CreatePublicVirtualInterface.go.snap b/service/directconnect/snapshot/api_op_CreatePublicVirtualInterface.go.snap index 23eafc6866b..ec1710643ae 100644 --- a/service/directconnect/snapshot/api_op_CreatePublicVirtualInterface.go.snap +++ b/service/directconnect/snapshot/api_op_CreatePublicVirtualInterface.go.snap @@ -14,7 +14,6 @@ CreatePublicVirtualInterface Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_CreateTransitVirtualInterface.go.snap b/service/directconnect/snapshot/api_op_CreateTransitVirtualInterface.go.snap index c875e0da19e..0b0bd6ae1f2 100644 --- a/service/directconnect/snapshot/api_op_CreateTransitVirtualInterface.go.snap +++ b/service/directconnect/snapshot/api_op_CreateTransitVirtualInterface.go.snap @@ -14,7 +14,6 @@ CreateTransitVirtualInterface Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_DeleteBGPPeer.go.snap b/service/directconnect/snapshot/api_op_DeleteBGPPeer.go.snap index d7d87bd4d6c..5a3f0d03f3d 100644 --- a/service/directconnect/snapshot/api_op_DeleteBGPPeer.go.snap +++ b/service/directconnect/snapshot/api_op_DeleteBGPPeer.go.snap @@ -13,7 +13,6 @@ DeleteBGPPeer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_DeleteConnection.go.snap b/service/directconnect/snapshot/api_op_DeleteConnection.go.snap index 95b646dafd7..a9cca584913 100644 --- a/service/directconnect/snapshot/api_op_DeleteConnection.go.snap +++ b/service/directconnect/snapshot/api_op_DeleteConnection.go.snap @@ -14,7 +14,6 @@ DeleteConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_DeleteDirectConnectGateway.go.snap b/service/directconnect/snapshot/api_op_DeleteDirectConnectGateway.go.snap index 2145db8c100..ca2b1a6f12e 100644 --- a/service/directconnect/snapshot/api_op_DeleteDirectConnectGateway.go.snap +++ b/service/directconnect/snapshot/api_op_DeleteDirectConnectGateway.go.snap @@ -14,7 +14,6 @@ DeleteDirectConnectGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_DeleteDirectConnectGatewayAssociation.go.snap b/service/directconnect/snapshot/api_op_DeleteDirectConnectGatewayAssociation.go.snap index 2ec0b2aa30f..2a3ae694341 100644 --- a/service/directconnect/snapshot/api_op_DeleteDirectConnectGatewayAssociation.go.snap +++ b/service/directconnect/snapshot/api_op_DeleteDirectConnectGatewayAssociation.go.snap @@ -13,7 +13,6 @@ DeleteDirectConnectGatewayAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_DeleteDirectConnectGatewayAssociationProposal.go.snap b/service/directconnect/snapshot/api_op_DeleteDirectConnectGatewayAssociationProposal.go.snap index 0100f9a9f4e..828437748d2 100644 --- a/service/directconnect/snapshot/api_op_DeleteDirectConnectGatewayAssociationProposal.go.snap +++ b/service/directconnect/snapshot/api_op_DeleteDirectConnectGatewayAssociationProposal.go.snap @@ -14,7 +14,6 @@ DeleteDirectConnectGatewayAssociationProposal Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_DeleteInterconnect.go.snap b/service/directconnect/snapshot/api_op_DeleteInterconnect.go.snap index 8311dbd03dd..8ca50869569 100644 --- a/service/directconnect/snapshot/api_op_DeleteInterconnect.go.snap +++ b/service/directconnect/snapshot/api_op_DeleteInterconnect.go.snap @@ -14,7 +14,6 @@ DeleteInterconnect Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_DeleteLag.go.snap b/service/directconnect/snapshot/api_op_DeleteLag.go.snap index 145fe934a60..d90a19c3a91 100644 --- a/service/directconnect/snapshot/api_op_DeleteLag.go.snap +++ b/service/directconnect/snapshot/api_op_DeleteLag.go.snap @@ -14,7 +14,6 @@ DeleteLag Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_DeleteVirtualInterface.go.snap b/service/directconnect/snapshot/api_op_DeleteVirtualInterface.go.snap index f0c2fd5601b..8b4ddabb12b 100644 --- a/service/directconnect/snapshot/api_op_DeleteVirtualInterface.go.snap +++ b/service/directconnect/snapshot/api_op_DeleteVirtualInterface.go.snap @@ -14,7 +14,6 @@ DeleteVirtualInterface Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_DescribeConnectionLoa.go.snap b/service/directconnect/snapshot/api_op_DescribeConnectionLoa.go.snap index 932d82a9d4a..2c22d38d3f9 100644 --- a/service/directconnect/snapshot/api_op_DescribeConnectionLoa.go.snap +++ b/service/directconnect/snapshot/api_op_DescribeConnectionLoa.go.snap @@ -14,7 +14,6 @@ DescribeConnectionLoa Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_DescribeConnections.go.snap b/service/directconnect/snapshot/api_op_DescribeConnections.go.snap index eed5f0da0b2..097fff87da3 100644 --- a/service/directconnect/snapshot/api_op_DescribeConnections.go.snap +++ b/service/directconnect/snapshot/api_op_DescribeConnections.go.snap @@ -13,7 +13,6 @@ DescribeConnections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_DescribeConnectionsOnInterconnect.go.snap b/service/directconnect/snapshot/api_op_DescribeConnectionsOnInterconnect.go.snap index da3bd3588b5..cbd2b100aa4 100644 --- a/service/directconnect/snapshot/api_op_DescribeConnectionsOnInterconnect.go.snap +++ b/service/directconnect/snapshot/api_op_DescribeConnectionsOnInterconnect.go.snap @@ -14,7 +14,6 @@ DescribeConnectionsOnInterconnect Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_DescribeCustomerMetadata.go.snap b/service/directconnect/snapshot/api_op_DescribeCustomerMetadata.go.snap index 9b6194e8062..56b8622776a 100644 --- a/service/directconnect/snapshot/api_op_DescribeCustomerMetadata.go.snap +++ b/service/directconnect/snapshot/api_op_DescribeCustomerMetadata.go.snap @@ -13,7 +13,6 @@ DescribeCustomerMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_DescribeDirectConnectGatewayAssociationProposals.go.snap b/service/directconnect/snapshot/api_op_DescribeDirectConnectGatewayAssociationProposals.go.snap index 5c81074e156..2b91d6bc702 100644 --- a/service/directconnect/snapshot/api_op_DescribeDirectConnectGatewayAssociationProposals.go.snap +++ b/service/directconnect/snapshot/api_op_DescribeDirectConnectGatewayAssociationProposals.go.snap @@ -13,7 +13,6 @@ DescribeDirectConnectGatewayAssociationProposals Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_DescribeDirectConnectGatewayAssociations.go.snap b/service/directconnect/snapshot/api_op_DescribeDirectConnectGatewayAssociations.go.snap index 60e7927876e..e51feac6805 100644 --- a/service/directconnect/snapshot/api_op_DescribeDirectConnectGatewayAssociations.go.snap +++ b/service/directconnect/snapshot/api_op_DescribeDirectConnectGatewayAssociations.go.snap @@ -13,7 +13,6 @@ DescribeDirectConnectGatewayAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_DescribeDirectConnectGatewayAttachments.go.snap b/service/directconnect/snapshot/api_op_DescribeDirectConnectGatewayAttachments.go.snap index 8ef65e8951a..4f8d766360d 100644 --- a/service/directconnect/snapshot/api_op_DescribeDirectConnectGatewayAttachments.go.snap +++ b/service/directconnect/snapshot/api_op_DescribeDirectConnectGatewayAttachments.go.snap @@ -13,7 +13,6 @@ DescribeDirectConnectGatewayAttachments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_DescribeDirectConnectGateways.go.snap b/service/directconnect/snapshot/api_op_DescribeDirectConnectGateways.go.snap index 84173159e85..420a396724f 100644 --- a/service/directconnect/snapshot/api_op_DescribeDirectConnectGateways.go.snap +++ b/service/directconnect/snapshot/api_op_DescribeDirectConnectGateways.go.snap @@ -13,7 +13,6 @@ DescribeDirectConnectGateways Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_DescribeHostedConnections.go.snap b/service/directconnect/snapshot/api_op_DescribeHostedConnections.go.snap index bc5a9bc499a..4154d7edcae 100644 --- a/service/directconnect/snapshot/api_op_DescribeHostedConnections.go.snap +++ b/service/directconnect/snapshot/api_op_DescribeHostedConnections.go.snap @@ -14,7 +14,6 @@ DescribeHostedConnections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_DescribeInterconnectLoa.go.snap b/service/directconnect/snapshot/api_op_DescribeInterconnectLoa.go.snap index 0dd93c49e2c..348bdb6339e 100644 --- a/service/directconnect/snapshot/api_op_DescribeInterconnectLoa.go.snap +++ b/service/directconnect/snapshot/api_op_DescribeInterconnectLoa.go.snap @@ -14,7 +14,6 @@ DescribeInterconnectLoa Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_DescribeInterconnects.go.snap b/service/directconnect/snapshot/api_op_DescribeInterconnects.go.snap index fc3e8300c51..585b42bb3c3 100644 --- a/service/directconnect/snapshot/api_op_DescribeInterconnects.go.snap +++ b/service/directconnect/snapshot/api_op_DescribeInterconnects.go.snap @@ -13,7 +13,6 @@ DescribeInterconnects Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_DescribeLags.go.snap b/service/directconnect/snapshot/api_op_DescribeLags.go.snap index 8d773aab8f8..9b403e0128c 100644 --- a/service/directconnect/snapshot/api_op_DescribeLags.go.snap +++ b/service/directconnect/snapshot/api_op_DescribeLags.go.snap @@ -13,7 +13,6 @@ DescribeLags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_DescribeLoa.go.snap b/service/directconnect/snapshot/api_op_DescribeLoa.go.snap index 2111ac8e1ed..c0eed5a573b 100644 --- a/service/directconnect/snapshot/api_op_DescribeLoa.go.snap +++ b/service/directconnect/snapshot/api_op_DescribeLoa.go.snap @@ -14,7 +14,6 @@ DescribeLoa Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_DescribeLocations.go.snap b/service/directconnect/snapshot/api_op_DescribeLocations.go.snap index 8f9fc194c83..37245df82be 100644 --- a/service/directconnect/snapshot/api_op_DescribeLocations.go.snap +++ b/service/directconnect/snapshot/api_op_DescribeLocations.go.snap @@ -13,7 +13,6 @@ DescribeLocations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_DescribeRouterConfiguration.go.snap b/service/directconnect/snapshot/api_op_DescribeRouterConfiguration.go.snap index 80bccb2bddc..1baaa42665d 100644 --- a/service/directconnect/snapshot/api_op_DescribeRouterConfiguration.go.snap +++ b/service/directconnect/snapshot/api_op_DescribeRouterConfiguration.go.snap @@ -14,7 +14,6 @@ DescribeRouterConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_DescribeTags.go.snap b/service/directconnect/snapshot/api_op_DescribeTags.go.snap index e4bd617c306..9e3c32c55d1 100644 --- a/service/directconnect/snapshot/api_op_DescribeTags.go.snap +++ b/service/directconnect/snapshot/api_op_DescribeTags.go.snap @@ -14,7 +14,6 @@ DescribeTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_DescribeVirtualGateways.go.snap b/service/directconnect/snapshot/api_op_DescribeVirtualGateways.go.snap index 0ef00ed755f..6408abe678b 100644 --- a/service/directconnect/snapshot/api_op_DescribeVirtualGateways.go.snap +++ b/service/directconnect/snapshot/api_op_DescribeVirtualGateways.go.snap @@ -13,7 +13,6 @@ DescribeVirtualGateways Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_DescribeVirtualInterfaces.go.snap b/service/directconnect/snapshot/api_op_DescribeVirtualInterfaces.go.snap index 04f6e090b60..2f1abad74db 100644 --- a/service/directconnect/snapshot/api_op_DescribeVirtualInterfaces.go.snap +++ b/service/directconnect/snapshot/api_op_DescribeVirtualInterfaces.go.snap @@ -13,7 +13,6 @@ DescribeVirtualInterfaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_DisassociateConnectionFromLag.go.snap b/service/directconnect/snapshot/api_op_DisassociateConnectionFromLag.go.snap index f7d8fdc16f5..fadc3a4a427 100644 --- a/service/directconnect/snapshot/api_op_DisassociateConnectionFromLag.go.snap +++ b/service/directconnect/snapshot/api_op_DisassociateConnectionFromLag.go.snap @@ -14,7 +14,6 @@ DisassociateConnectionFromLag Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_DisassociateMacSecKey.go.snap b/service/directconnect/snapshot/api_op_DisassociateMacSecKey.go.snap index 382bcf9b398..189740a5427 100644 --- a/service/directconnect/snapshot/api_op_DisassociateMacSecKey.go.snap +++ b/service/directconnect/snapshot/api_op_DisassociateMacSecKey.go.snap @@ -14,7 +14,6 @@ DisassociateMacSecKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_ListVirtualInterfaceTestHistory.go.snap b/service/directconnect/snapshot/api_op_ListVirtualInterfaceTestHistory.go.snap index ba7be66734b..4d39e626910 100644 --- a/service/directconnect/snapshot/api_op_ListVirtualInterfaceTestHistory.go.snap +++ b/service/directconnect/snapshot/api_op_ListVirtualInterfaceTestHistory.go.snap @@ -13,7 +13,6 @@ ListVirtualInterfaceTestHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_StartBgpFailoverTest.go.snap b/service/directconnect/snapshot/api_op_StartBgpFailoverTest.go.snap index 7d57ccc044a..c7d444f3e9b 100644 --- a/service/directconnect/snapshot/api_op_StartBgpFailoverTest.go.snap +++ b/service/directconnect/snapshot/api_op_StartBgpFailoverTest.go.snap @@ -14,7 +14,6 @@ StartBgpFailoverTest Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_StopBgpFailoverTest.go.snap b/service/directconnect/snapshot/api_op_StopBgpFailoverTest.go.snap index da8e871df23..46ec11bd81a 100644 --- a/service/directconnect/snapshot/api_op_StopBgpFailoverTest.go.snap +++ b/service/directconnect/snapshot/api_op_StopBgpFailoverTest.go.snap @@ -14,7 +14,6 @@ StopBgpFailoverTest Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_TagResource.go.snap b/service/directconnect/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/directconnect/snapshot/api_op_TagResource.go.snap +++ b/service/directconnect/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_UntagResource.go.snap b/service/directconnect/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/directconnect/snapshot/api_op_UntagResource.go.snap +++ b/service/directconnect/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_UpdateConnection.go.snap b/service/directconnect/snapshot/api_op_UpdateConnection.go.snap index 8bcc0bccc85..f8c8899dab6 100644 --- a/service/directconnect/snapshot/api_op_UpdateConnection.go.snap +++ b/service/directconnect/snapshot/api_op_UpdateConnection.go.snap @@ -14,7 +14,6 @@ UpdateConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_UpdateDirectConnectGateway.go.snap b/service/directconnect/snapshot/api_op_UpdateDirectConnectGateway.go.snap index 494a53acdf6..e3c9854a236 100644 --- a/service/directconnect/snapshot/api_op_UpdateDirectConnectGateway.go.snap +++ b/service/directconnect/snapshot/api_op_UpdateDirectConnectGateway.go.snap @@ -14,7 +14,6 @@ UpdateDirectConnectGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_UpdateDirectConnectGatewayAssociation.go.snap b/service/directconnect/snapshot/api_op_UpdateDirectConnectGatewayAssociation.go.snap index f234178bc04..fe3e2868265 100644 --- a/service/directconnect/snapshot/api_op_UpdateDirectConnectGatewayAssociation.go.snap +++ b/service/directconnect/snapshot/api_op_UpdateDirectConnectGatewayAssociation.go.snap @@ -13,7 +13,6 @@ UpdateDirectConnectGatewayAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_UpdateLag.go.snap b/service/directconnect/snapshot/api_op_UpdateLag.go.snap index 43bd624fe4f..238c7847fba 100644 --- a/service/directconnect/snapshot/api_op_UpdateLag.go.snap +++ b/service/directconnect/snapshot/api_op_UpdateLag.go.snap @@ -14,7 +14,6 @@ UpdateLag Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directconnect/snapshot/api_op_UpdateVirtualInterfaceAttributes.go.snap b/service/directconnect/snapshot/api_op_UpdateVirtualInterfaceAttributes.go.snap index f1c80150120..05e8996af3a 100644 --- a/service/directconnect/snapshot/api_op_UpdateVirtualInterfaceAttributes.go.snap +++ b/service/directconnect/snapshot/api_op_UpdateVirtualInterfaceAttributes.go.snap @@ -14,7 +14,6 @@ UpdateVirtualInterfaceAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/api_client.go b/service/directoryservice/api_client.go index 48507de841c..7aa54cbd5b4 100644 --- a/service/directoryservice/api_client.go +++ b/service/directoryservice/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/directoryservice/api_op_AcceptSharedDirectory.go b/service/directoryservice/api_op_AcceptSharedDirectory.go index 9cbaad8a7ff..da7b2619d82 100644 --- a/service/directoryservice/api_op_AcceptSharedDirectory.go +++ b/service/directoryservice/api_op_AcceptSharedDirectory.go @@ -114,9 +114,6 @@ func (c *Client) addOperationAcceptSharedDirectoryMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptSharedDirectoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_AddIpRoutes.go b/service/directoryservice/api_op_AddIpRoutes.go index d46955555f5..1a4dd363e14 100644 --- a/service/directoryservice/api_op_AddIpRoutes.go +++ b/service/directoryservice/api_op_AddIpRoutes.go @@ -189,9 +189,6 @@ func (c *Client) addOperationAddIpRoutesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddIpRoutesValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_AddRegion.go b/service/directoryservice/api_op_AddRegion.go index 80eeb786c38..0bb0e30428b 100644 --- a/service/directoryservice/api_op_AddRegion.go +++ b/service/directoryservice/api_op_AddRegion.go @@ -119,9 +119,6 @@ func (c *Client) addOperationAddRegionMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddRegionValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_AddTagsToResource.go b/service/directoryservice/api_op_AddTagsToResource.go index 64e4b8f92c3..c97068cf99b 100644 --- a/service/directoryservice/api_op_AddTagsToResource.go +++ b/service/directoryservice/api_op_AddTagsToResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationAddTagsToResourceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddTagsToResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_CancelSchemaExtension.go b/service/directoryservice/api_op_CancelSchemaExtension.go index 093a70c9e34..45b264b07c0 100644 --- a/service/directoryservice/api_op_CancelSchemaExtension.go +++ b/service/directoryservice/api_op_CancelSchemaExtension.go @@ -115,9 +115,6 @@ func (c *Client) addOperationCancelSchemaExtensionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelSchemaExtensionValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_ConnectDirectory.go b/service/directoryservice/api_op_ConnectDirectory.go index b2de0014ec2..a46a32bb908 100644 --- a/service/directoryservice/api_op_ConnectDirectory.go +++ b/service/directoryservice/api_op_ConnectDirectory.go @@ -145,9 +145,6 @@ func (c *Client) addOperationConnectDirectoryMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpConnectDirectoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_CreateAlias.go b/service/directoryservice/api_op_CreateAlias.go index a192f2ec773..cd585667d0d 100644 --- a/service/directoryservice/api_op_CreateAlias.go +++ b/service/directoryservice/api_op_CreateAlias.go @@ -130,9 +130,6 @@ func (c *Client) addOperationCreateAliasMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_CreateComputer.go b/service/directoryservice/api_op_CreateComputer.go index fd30dcef985..8193dd6d2b3 100644 --- a/service/directoryservice/api_op_CreateComputer.go +++ b/service/directoryservice/api_op_CreateComputer.go @@ -133,9 +133,6 @@ func (c *Client) addOperationCreateComputerMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateComputerValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_CreateConditionalForwarder.go b/service/directoryservice/api_op_CreateConditionalForwarder.go index ab074dd6ab5..1f2749c91b2 100644 --- a/service/directoryservice/api_op_CreateConditionalForwarder.go +++ b/service/directoryservice/api_op_CreateConditionalForwarder.go @@ -126,9 +126,6 @@ func (c *Client) addOperationCreateConditionalForwarderMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConditionalForwarderValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_CreateDirectory.go b/service/directoryservice/api_op_CreateDirectory.go index f88db119749..ca00ded5457 100644 --- a/service/directoryservice/api_op_CreateDirectory.go +++ b/service/directoryservice/api_op_CreateDirectory.go @@ -172,9 +172,6 @@ func (c *Client) addOperationCreateDirectoryMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDirectoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_CreateLogSubscription.go b/service/directoryservice/api_op_CreateLogSubscription.go index c65ad21e2ba..60f25589d13 100644 --- a/service/directoryservice/api_op_CreateLogSubscription.go +++ b/service/directoryservice/api_op_CreateLogSubscription.go @@ -116,9 +116,6 @@ func (c *Client) addOperationCreateLogSubscriptionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLogSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_CreateMicrosoftAD.go b/service/directoryservice/api_op_CreateMicrosoftAD.go index cb387ff06cd..3bdb56c0bfd 100644 --- a/service/directoryservice/api_op_CreateMicrosoftAD.go +++ b/service/directoryservice/api_op_CreateMicrosoftAD.go @@ -153,9 +153,6 @@ func (c *Client) addOperationCreateMicrosoftADMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateMicrosoftADValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_CreateSnapshot.go b/service/directoryservice/api_op_CreateSnapshot.go index 2f363d4a5da..df1f3824747 100644 --- a/service/directoryservice/api_op_CreateSnapshot.go +++ b/service/directoryservice/api_op_CreateSnapshot.go @@ -119,9 +119,6 @@ func (c *Client) addOperationCreateSnapshotMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_CreateTrust.go b/service/directoryservice/api_op_CreateTrust.go index 3d161d6bbe3..38723fe26b4 100644 --- a/service/directoryservice/api_op_CreateTrust.go +++ b/service/directoryservice/api_op_CreateTrust.go @@ -156,9 +156,6 @@ func (c *Client) addOperationCreateTrustMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTrustValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DeleteConditionalForwarder.go b/service/directoryservice/api_op_DeleteConditionalForwarder.go index 513552e9770..0864da5aec0 100644 --- a/service/directoryservice/api_op_DeleteConditionalForwarder.go +++ b/service/directoryservice/api_op_DeleteConditionalForwarder.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteConditionalForwarderMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConditionalForwarderValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DeleteDirectory.go b/service/directoryservice/api_op_DeleteDirectory.go index 7dbd7846809..d9caf966976 100644 --- a/service/directoryservice/api_op_DeleteDirectory.go +++ b/service/directoryservice/api_op_DeleteDirectory.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteDirectoryMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDirectoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DeleteLogSubscription.go b/service/directoryservice/api_op_DeleteLogSubscription.go index 5b58ff773f1..1b69e32c3d5 100644 --- a/service/directoryservice/api_op_DeleteLogSubscription.go +++ b/service/directoryservice/api_op_DeleteLogSubscription.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteLogSubscriptionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLogSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DeleteSnapshot.go b/service/directoryservice/api_op_DeleteSnapshot.go index fc6c4e27f50..7fcf0594e51 100644 --- a/service/directoryservice/api_op_DeleteSnapshot.go +++ b/service/directoryservice/api_op_DeleteSnapshot.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteSnapshotMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DeleteTrust.go b/service/directoryservice/api_op_DeleteTrust.go index 1ebf06381cb..b7842a59917 100644 --- a/service/directoryservice/api_op_DeleteTrust.go +++ b/service/directoryservice/api_op_DeleteTrust.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteTrustMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTrustValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DeregisterCertificate.go b/service/directoryservice/api_op_DeregisterCertificate.go index d20a13240b0..a6bbc49c5c4 100644 --- a/service/directoryservice/api_op_DeregisterCertificate.go +++ b/service/directoryservice/api_op_DeregisterCertificate.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeregisterCertificateMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DeregisterEventTopic.go b/service/directoryservice/api_op_DeregisterEventTopic.go index 08b89a8a995..0e940900a8d 100644 --- a/service/directoryservice/api_op_DeregisterEventTopic.go +++ b/service/directoryservice/api_op_DeregisterEventTopic.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeregisterEventTopicMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterEventTopicValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DescribeCertificate.go b/service/directoryservice/api_op_DescribeCertificate.go index 885aa95e20f..35618e71390 100644 --- a/service/directoryservice/api_op_DescribeCertificate.go +++ b/service/directoryservice/api_op_DescribeCertificate.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDescribeCertificateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DescribeClientAuthenticationSettings.go b/service/directoryservice/api_op_DescribeClientAuthenticationSettings.go index 113d15bc3bd..3879c1eafa2 100644 --- a/service/directoryservice/api_op_DescribeClientAuthenticationSettings.go +++ b/service/directoryservice/api_op_DescribeClientAuthenticationSettings.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribeClientAuthenticationSettingsMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeClientAuthenticationSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DescribeConditionalForwarders.go b/service/directoryservice/api_op_DescribeConditionalForwarders.go index 04644d10d8e..870bee47214 100644 --- a/service/directoryservice/api_op_DescribeConditionalForwarders.go +++ b/service/directoryservice/api_op_DescribeConditionalForwarders.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeConditionalForwardersMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeConditionalForwardersValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DescribeDirectories.go b/service/directoryservice/api_op_DescribeDirectories.go index 09e8483fb4c..b00caaab8d1 100644 --- a/service/directoryservice/api_op_DescribeDirectories.go +++ b/service/directoryservice/api_op_DescribeDirectories.go @@ -145,9 +145,6 @@ func (c *Client) addOperationDescribeDirectoriesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDirectories(options.Region), middleware.Before); err != nil { return err } diff --git a/service/directoryservice/api_op_DescribeDirectoryDataAccess.go b/service/directoryservice/api_op_DescribeDirectoryDataAccess.go index f61afb75965..3c29e6c3e82 100644 --- a/service/directoryservice/api_op_DescribeDirectoryDataAccess.go +++ b/service/directoryservice/api_op_DescribeDirectoryDataAccess.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDescribeDirectoryDataAccessMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDirectoryDataAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DescribeDomainControllers.go b/service/directoryservice/api_op_DescribeDomainControllers.go index 34d84d7142c..8e08ea18fa7 100644 --- a/service/directoryservice/api_op_DescribeDomainControllers.go +++ b/service/directoryservice/api_op_DescribeDomainControllers.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDescribeDomainControllersMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDomainControllersValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DescribeEventTopics.go b/service/directoryservice/api_op_DescribeEventTopics.go index f61bd629546..53223125387 100644 --- a/service/directoryservice/api_op_DescribeEventTopics.go +++ b/service/directoryservice/api_op_DescribeEventTopics.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeEventTopicsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEventTopics(options.Region), middleware.Before); err != nil { return err } diff --git a/service/directoryservice/api_op_DescribeLDAPSSettings.go b/service/directoryservice/api_op_DescribeLDAPSSettings.go index 2a0e5ad257d..f90dc63612e 100644 --- a/service/directoryservice/api_op_DescribeLDAPSSettings.go +++ b/service/directoryservice/api_op_DescribeLDAPSSettings.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeLDAPSSettingsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeLDAPSSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DescribeRegions.go b/service/directoryservice/api_op_DescribeRegions.go index 3056009bc49..7c74809525c 100644 --- a/service/directoryservice/api_op_DescribeRegions.go +++ b/service/directoryservice/api_op_DescribeRegions.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeRegionsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRegionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DescribeSettings.go b/service/directoryservice/api_op_DescribeSettings.go index 60119ae822d..ff4ad6137c9 100644 --- a/service/directoryservice/api_op_DescribeSettings.go +++ b/service/directoryservice/api_op_DescribeSettings.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeSettingsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DescribeSharedDirectories.go b/service/directoryservice/api_op_DescribeSharedDirectories.go index 6b68143e829..ee81ddea9d8 100644 --- a/service/directoryservice/api_op_DescribeSharedDirectories.go +++ b/service/directoryservice/api_op_DescribeSharedDirectories.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeSharedDirectoriesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSharedDirectoriesValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DescribeSnapshots.go b/service/directoryservice/api_op_DescribeSnapshots.go index 2246e427293..e6ac4b106ba 100644 --- a/service/directoryservice/api_op_DescribeSnapshots.go +++ b/service/directoryservice/api_op_DescribeSnapshots.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeSnapshotsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSnapshots(options.Region), middleware.Before); err != nil { return err } diff --git a/service/directoryservice/api_op_DescribeTrusts.go b/service/directoryservice/api_op_DescribeTrusts.go index 543c043dbc1..19d47132b4b 100644 --- a/service/directoryservice/api_op_DescribeTrusts.go +++ b/service/directoryservice/api_op_DescribeTrusts.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeTrustsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTrusts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/directoryservice/api_op_DescribeUpdateDirectory.go b/service/directoryservice/api_op_DescribeUpdateDirectory.go index bd009a589c2..5ff685060c2 100644 --- a/service/directoryservice/api_op_DescribeUpdateDirectory.go +++ b/service/directoryservice/api_op_DescribeUpdateDirectory.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDescribeUpdateDirectoryMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeUpdateDirectoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DisableClientAuthentication.go b/service/directoryservice/api_op_DisableClientAuthentication.go index d3bbe519c74..7888f1b5d2a 100644 --- a/service/directoryservice/api_op_DisableClientAuthentication.go +++ b/service/directoryservice/api_op_DisableClientAuthentication.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDisableClientAuthenticationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableClientAuthenticationValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DisableDirectoryDataAccess.go b/service/directoryservice/api_op_DisableDirectoryDataAccess.go index 6c313beb3f1..8c9c70d679f 100644 --- a/service/directoryservice/api_op_DisableDirectoryDataAccess.go +++ b/service/directoryservice/api_op_DisableDirectoryDataAccess.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDisableDirectoryDataAccessMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableDirectoryDataAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DisableLDAPS.go b/service/directoryservice/api_op_DisableLDAPS.go index c78e73c1d10..3940a30a7ec 100644 --- a/service/directoryservice/api_op_DisableLDAPS.go +++ b/service/directoryservice/api_op_DisableLDAPS.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDisableLDAPSMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableLDAPSValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DisableRadius.go b/service/directoryservice/api_op_DisableRadius.go index da0d7b4a65a..76632d3af4d 100644 --- a/service/directoryservice/api_op_DisableRadius.go +++ b/service/directoryservice/api_op_DisableRadius.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDisableRadiusMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableRadiusValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_DisableSso.go b/service/directoryservice/api_op_DisableSso.go index e5c29a379ff..c039056a9b5 100644 --- a/service/directoryservice/api_op_DisableSso.go +++ b/service/directoryservice/api_op_DisableSso.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDisableSsoMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableSsoValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_EnableClientAuthentication.go b/service/directoryservice/api_op_EnableClientAuthentication.go index 77df3abc994..ed2ce5b1154 100644 --- a/service/directoryservice/api_op_EnableClientAuthentication.go +++ b/service/directoryservice/api_op_EnableClientAuthentication.go @@ -116,9 +116,6 @@ func (c *Client) addOperationEnableClientAuthenticationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableClientAuthenticationValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_EnableDirectoryDataAccess.go b/service/directoryservice/api_op_EnableDirectoryDataAccess.go index e9085d98d27..4bfa6519d5e 100644 --- a/service/directoryservice/api_op_EnableDirectoryDataAccess.go +++ b/service/directoryservice/api_op_EnableDirectoryDataAccess.go @@ -108,9 +108,6 @@ func (c *Client) addOperationEnableDirectoryDataAccessMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableDirectoryDataAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_EnableLDAPS.go b/service/directoryservice/api_op_EnableLDAPS.go index c7428751471..43585cc6c50 100644 --- a/service/directoryservice/api_op_EnableLDAPS.go +++ b/service/directoryservice/api_op_EnableLDAPS.go @@ -114,9 +114,6 @@ func (c *Client) addOperationEnableLDAPSMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableLDAPSValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_EnableRadius.go b/service/directoryservice/api_op_EnableRadius.go index fad6e686bff..e437239fc3d 100644 --- a/service/directoryservice/api_op_EnableRadius.go +++ b/service/directoryservice/api_op_EnableRadius.go @@ -116,9 +116,6 @@ func (c *Client) addOperationEnableRadiusMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableRadiusValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_EnableSso.go b/service/directoryservice/api_op_EnableSso.go index af216d396f2..42bb078139b 100644 --- a/service/directoryservice/api_op_EnableSso.go +++ b/service/directoryservice/api_op_EnableSso.go @@ -127,9 +127,6 @@ func (c *Client) addOperationEnableSsoMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableSsoValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_GetDirectoryLimits.go b/service/directoryservice/api_op_GetDirectoryLimits.go index 943b1764da4..389ea741b49 100644 --- a/service/directoryservice/api_op_GetDirectoryLimits.go +++ b/service/directoryservice/api_op_GetDirectoryLimits.go @@ -108,9 +108,6 @@ func (c *Client) addOperationGetDirectoryLimitsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDirectoryLimits(options.Region), middleware.Before); err != nil { return err } diff --git a/service/directoryservice/api_op_GetSnapshotLimits.go b/service/directoryservice/api_op_GetSnapshotLimits.go index 66b89b4b934..d3296c78f9a 100644 --- a/service/directoryservice/api_op_GetSnapshotLimits.go +++ b/service/directoryservice/api_op_GetSnapshotLimits.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetSnapshotLimitsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSnapshotLimitsValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_ListCertificates.go b/service/directoryservice/api_op_ListCertificates.go index 0c0b124f855..c4db0c842cd 100644 --- a/service/directoryservice/api_op_ListCertificates.go +++ b/service/directoryservice/api_op_ListCertificates.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListCertificatesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCertificatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_ListIpRoutes.go b/service/directoryservice/api_op_ListIpRoutes.go index 26f59c1cac5..9b32f2f51b7 100644 --- a/service/directoryservice/api_op_ListIpRoutes.go +++ b/service/directoryservice/api_op_ListIpRoutes.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListIpRoutesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIpRoutesValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_ListLogSubscriptions.go b/service/directoryservice/api_op_ListLogSubscriptions.go index 95d86b3f78f..e184b32cfae 100644 --- a/service/directoryservice/api_op_ListLogSubscriptions.go +++ b/service/directoryservice/api_op_ListLogSubscriptions.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListLogSubscriptionsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLogSubscriptions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/directoryservice/api_op_ListSchemaExtensions.go b/service/directoryservice/api_op_ListSchemaExtensions.go index 7877650efef..65ad1516fed 100644 --- a/service/directoryservice/api_op_ListSchemaExtensions.go +++ b/service/directoryservice/api_op_ListSchemaExtensions.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListSchemaExtensionsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSchemaExtensionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_ListTagsForResource.go b/service/directoryservice/api_op_ListTagsForResource.go index d16235347d9..3e53ff831df 100644 --- a/service/directoryservice/api_op_ListTagsForResource.go +++ b/service/directoryservice/api_op_ListTagsForResource.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_RegisterCertificate.go b/service/directoryservice/api_op_RegisterCertificate.go index 5a789e69b00..ca1a193966e 100644 --- a/service/directoryservice/api_op_RegisterCertificate.go +++ b/service/directoryservice/api_op_RegisterCertificate.go @@ -125,9 +125,6 @@ func (c *Client) addOperationRegisterCertificateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_RegisterEventTopic.go b/service/directoryservice/api_op_RegisterEventTopic.go index 2e649bdae00..288760ba581 100644 --- a/service/directoryservice/api_op_RegisterEventTopic.go +++ b/service/directoryservice/api_op_RegisterEventTopic.go @@ -120,9 +120,6 @@ func (c *Client) addOperationRegisterEventTopicMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterEventTopicValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_RejectSharedDirectory.go b/service/directoryservice/api_op_RejectSharedDirectory.go index 7da0c5254af..14e7cc307ea 100644 --- a/service/directoryservice/api_op_RejectSharedDirectory.go +++ b/service/directoryservice/api_op_RejectSharedDirectory.go @@ -113,9 +113,6 @@ func (c *Client) addOperationRejectSharedDirectoryMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRejectSharedDirectoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_RemoveIpRoutes.go b/service/directoryservice/api_op_RemoveIpRoutes.go index 53ddea8117a..f420011e064 100644 --- a/service/directoryservice/api_op_RemoveIpRoutes.go +++ b/service/directoryservice/api_op_RemoveIpRoutes.go @@ -112,9 +112,6 @@ func (c *Client) addOperationRemoveIpRoutesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveIpRoutesValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_RemoveRegion.go b/service/directoryservice/api_op_RemoveRegion.go index 31388afcafb..22d70e7127b 100644 --- a/service/directoryservice/api_op_RemoveRegion.go +++ b/service/directoryservice/api_op_RemoveRegion.go @@ -109,9 +109,6 @@ func (c *Client) addOperationRemoveRegionMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveRegionValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_RemoveTagsFromResource.go b/service/directoryservice/api_op_RemoveTagsFromResource.go index b6c1f2cbcfb..d0ba613ae5a 100644 --- a/service/directoryservice/api_op_RemoveTagsFromResource.go +++ b/service/directoryservice/api_op_RemoveTagsFromResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationRemoveTagsFromResourceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveTagsFromResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_ResetUserPassword.go b/service/directoryservice/api_op_ResetUserPassword.go index 77856efd6b0..1ea4a6122bb 100644 --- a/service/directoryservice/api_op_ResetUserPassword.go +++ b/service/directoryservice/api_op_ResetUserPassword.go @@ -136,9 +136,6 @@ func (c *Client) addOperationResetUserPasswordMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResetUserPasswordValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_RestoreFromSnapshot.go b/service/directoryservice/api_op_RestoreFromSnapshot.go index 6e626f5fc2d..56d78af596c 100644 --- a/service/directoryservice/api_op_RestoreFromSnapshot.go +++ b/service/directoryservice/api_op_RestoreFromSnapshot.go @@ -117,9 +117,6 @@ func (c *Client) addOperationRestoreFromSnapshotMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreFromSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_ShareDirectory.go b/service/directoryservice/api_op_ShareDirectory.go index 8c389c9788b..e87c2d15032 100644 --- a/service/directoryservice/api_op_ShareDirectory.go +++ b/service/directoryservice/api_op_ShareDirectory.go @@ -151,9 +151,6 @@ func (c *Client) addOperationShareDirectoryMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpShareDirectoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_StartSchemaExtension.go b/service/directoryservice/api_op_StartSchemaExtension.go index 212f3c186c2..3cd8e30295e 100644 --- a/service/directoryservice/api_op_StartSchemaExtension.go +++ b/service/directoryservice/api_op_StartSchemaExtension.go @@ -130,9 +130,6 @@ func (c *Client) addOperationStartSchemaExtensionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartSchemaExtensionValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_UnshareDirectory.go b/service/directoryservice/api_op_UnshareDirectory.go index 3540b68dd5e..b0f07c22d19 100644 --- a/service/directoryservice/api_op_UnshareDirectory.go +++ b/service/directoryservice/api_op_UnshareDirectory.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUnshareDirectoryMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUnshareDirectoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_UpdateConditionalForwarder.go b/service/directoryservice/api_op_UpdateConditionalForwarder.go index 2a69fa65fc9..831e1a06f67 100644 --- a/service/directoryservice/api_op_UpdateConditionalForwarder.go +++ b/service/directoryservice/api_op_UpdateConditionalForwarder.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateConditionalForwarderMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConditionalForwarderValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_UpdateDirectorySetup.go b/service/directoryservice/api_op_UpdateDirectorySetup.go index 20933d1a6bb..570e7834c69 100644 --- a/service/directoryservice/api_op_UpdateDirectorySetup.go +++ b/service/directoryservice/api_op_UpdateDirectorySetup.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateDirectorySetupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDirectorySetupValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_UpdateNumberOfDomainControllers.go b/service/directoryservice/api_op_UpdateNumberOfDomainControllers.go index 547e2b8e342..21f7d02e57f 100644 --- a/service/directoryservice/api_op_UpdateNumberOfDomainControllers.go +++ b/service/directoryservice/api_op_UpdateNumberOfDomainControllers.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateNumberOfDomainControllersMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateNumberOfDomainControllersValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_UpdateRadius.go b/service/directoryservice/api_op_UpdateRadius.go index 2dd0b357dbd..39a4117693a 100644 --- a/service/directoryservice/api_op_UpdateRadius.go +++ b/service/directoryservice/api_op_UpdateRadius.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUpdateRadiusMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRadiusValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_UpdateSettings.go b/service/directoryservice/api_op_UpdateSettings.go index c65ca93e125..61a80fd0be8 100644 --- a/service/directoryservice/api_op_UpdateSettings.go +++ b/service/directoryservice/api_op_UpdateSettings.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUpdateSettingsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_UpdateTrust.go b/service/directoryservice/api_op_UpdateTrust.go index a14849275a8..f77d2c33008 100644 --- a/service/directoryservice/api_op_UpdateTrust.go +++ b/service/directoryservice/api_op_UpdateTrust.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateTrustMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTrustValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/api_op_VerifyTrust.go b/service/directoryservice/api_op_VerifyTrust.go index 54b634ebf32..1b2bf1a6a9e 100644 --- a/service/directoryservice/api_op_VerifyTrust.go +++ b/service/directoryservice/api_op_VerifyTrust.go @@ -118,9 +118,6 @@ func (c *Client) addOperationVerifyTrustMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpVerifyTrustValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservice/snapshot/api_op_AcceptSharedDirectory.go.snap b/service/directoryservice/snapshot/api_op_AcceptSharedDirectory.go.snap index b1d1e80c28b..68948dec33e 100644 --- a/service/directoryservice/snapshot/api_op_AcceptSharedDirectory.go.snap +++ b/service/directoryservice/snapshot/api_op_AcceptSharedDirectory.go.snap @@ -14,7 +14,6 @@ AcceptSharedDirectory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_AddIpRoutes.go.snap b/service/directoryservice/snapshot/api_op_AddIpRoutes.go.snap index a5f57fb2621..b88afa23339 100644 --- a/service/directoryservice/snapshot/api_op_AddIpRoutes.go.snap +++ b/service/directoryservice/snapshot/api_op_AddIpRoutes.go.snap @@ -14,7 +14,6 @@ AddIpRoutes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_AddRegion.go.snap b/service/directoryservice/snapshot/api_op_AddRegion.go.snap index bca0c7fb05d..06b95ee795c 100644 --- a/service/directoryservice/snapshot/api_op_AddRegion.go.snap +++ b/service/directoryservice/snapshot/api_op_AddRegion.go.snap @@ -14,7 +14,6 @@ AddRegion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_AddTagsToResource.go.snap b/service/directoryservice/snapshot/api_op_AddTagsToResource.go.snap index adf3a58c167..23e3b3e3966 100644 --- a/service/directoryservice/snapshot/api_op_AddTagsToResource.go.snap +++ b/service/directoryservice/snapshot/api_op_AddTagsToResource.go.snap @@ -14,7 +14,6 @@ AddTagsToResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_CancelSchemaExtension.go.snap b/service/directoryservice/snapshot/api_op_CancelSchemaExtension.go.snap index 5648e8cf1eb..53c36aad024 100644 --- a/service/directoryservice/snapshot/api_op_CancelSchemaExtension.go.snap +++ b/service/directoryservice/snapshot/api_op_CancelSchemaExtension.go.snap @@ -14,7 +14,6 @@ CancelSchemaExtension Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_ConnectDirectory.go.snap b/service/directoryservice/snapshot/api_op_ConnectDirectory.go.snap index 3cd4910e723..0e30ec88e32 100644 --- a/service/directoryservice/snapshot/api_op_ConnectDirectory.go.snap +++ b/service/directoryservice/snapshot/api_op_ConnectDirectory.go.snap @@ -14,7 +14,6 @@ ConnectDirectory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_CreateAlias.go.snap b/service/directoryservice/snapshot/api_op_CreateAlias.go.snap index ea96e788303..2949a1e05b7 100644 --- a/service/directoryservice/snapshot/api_op_CreateAlias.go.snap +++ b/service/directoryservice/snapshot/api_op_CreateAlias.go.snap @@ -14,7 +14,6 @@ CreateAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_CreateComputer.go.snap b/service/directoryservice/snapshot/api_op_CreateComputer.go.snap index 2fc0620fc90..d2b31f918d4 100644 --- a/service/directoryservice/snapshot/api_op_CreateComputer.go.snap +++ b/service/directoryservice/snapshot/api_op_CreateComputer.go.snap @@ -14,7 +14,6 @@ CreateComputer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_CreateConditionalForwarder.go.snap b/service/directoryservice/snapshot/api_op_CreateConditionalForwarder.go.snap index a9ff9407a15..d5d3abd372a 100644 --- a/service/directoryservice/snapshot/api_op_CreateConditionalForwarder.go.snap +++ b/service/directoryservice/snapshot/api_op_CreateConditionalForwarder.go.snap @@ -14,7 +14,6 @@ CreateConditionalForwarder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_CreateDirectory.go.snap b/service/directoryservice/snapshot/api_op_CreateDirectory.go.snap index 12de58e1c24..4632d20e75b 100644 --- a/service/directoryservice/snapshot/api_op_CreateDirectory.go.snap +++ b/service/directoryservice/snapshot/api_op_CreateDirectory.go.snap @@ -14,7 +14,6 @@ CreateDirectory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_CreateLogSubscription.go.snap b/service/directoryservice/snapshot/api_op_CreateLogSubscription.go.snap index ffab01efe30..7ccadc25443 100644 --- a/service/directoryservice/snapshot/api_op_CreateLogSubscription.go.snap +++ b/service/directoryservice/snapshot/api_op_CreateLogSubscription.go.snap @@ -14,7 +14,6 @@ CreateLogSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_CreateMicrosoftAD.go.snap b/service/directoryservice/snapshot/api_op_CreateMicrosoftAD.go.snap index 05429c6ff2d..a3b93be5e4f 100644 --- a/service/directoryservice/snapshot/api_op_CreateMicrosoftAD.go.snap +++ b/service/directoryservice/snapshot/api_op_CreateMicrosoftAD.go.snap @@ -14,7 +14,6 @@ CreateMicrosoftAD Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_CreateSnapshot.go.snap b/service/directoryservice/snapshot/api_op_CreateSnapshot.go.snap index c5c9178ac0b..1a0713f514c 100644 --- a/service/directoryservice/snapshot/api_op_CreateSnapshot.go.snap +++ b/service/directoryservice/snapshot/api_op_CreateSnapshot.go.snap @@ -14,7 +14,6 @@ CreateSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_CreateTrust.go.snap b/service/directoryservice/snapshot/api_op_CreateTrust.go.snap index 9543c923a45..a86db3812b9 100644 --- a/service/directoryservice/snapshot/api_op_CreateTrust.go.snap +++ b/service/directoryservice/snapshot/api_op_CreateTrust.go.snap @@ -14,7 +14,6 @@ CreateTrust Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_DeleteConditionalForwarder.go.snap b/service/directoryservice/snapshot/api_op_DeleteConditionalForwarder.go.snap index 31270aa2d46..b3bf7f59ec2 100644 --- a/service/directoryservice/snapshot/api_op_DeleteConditionalForwarder.go.snap +++ b/service/directoryservice/snapshot/api_op_DeleteConditionalForwarder.go.snap @@ -14,7 +14,6 @@ DeleteConditionalForwarder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_DeleteDirectory.go.snap b/service/directoryservice/snapshot/api_op_DeleteDirectory.go.snap index d2b31658889..cc523115ef6 100644 --- a/service/directoryservice/snapshot/api_op_DeleteDirectory.go.snap +++ b/service/directoryservice/snapshot/api_op_DeleteDirectory.go.snap @@ -14,7 +14,6 @@ DeleteDirectory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_DeleteLogSubscription.go.snap b/service/directoryservice/snapshot/api_op_DeleteLogSubscription.go.snap index 17f72934bf4..1e48d8fd356 100644 --- a/service/directoryservice/snapshot/api_op_DeleteLogSubscription.go.snap +++ b/service/directoryservice/snapshot/api_op_DeleteLogSubscription.go.snap @@ -14,7 +14,6 @@ DeleteLogSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_DeleteSnapshot.go.snap b/service/directoryservice/snapshot/api_op_DeleteSnapshot.go.snap index f4046d31f87..054fe5bb9b5 100644 --- a/service/directoryservice/snapshot/api_op_DeleteSnapshot.go.snap +++ b/service/directoryservice/snapshot/api_op_DeleteSnapshot.go.snap @@ -14,7 +14,6 @@ DeleteSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_DeleteTrust.go.snap b/service/directoryservice/snapshot/api_op_DeleteTrust.go.snap index eec0048bf77..8c5ea6f4b91 100644 --- a/service/directoryservice/snapshot/api_op_DeleteTrust.go.snap +++ b/service/directoryservice/snapshot/api_op_DeleteTrust.go.snap @@ -14,7 +14,6 @@ DeleteTrust Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_DeregisterCertificate.go.snap b/service/directoryservice/snapshot/api_op_DeregisterCertificate.go.snap index acd202f7479..1ba97ad8b88 100644 --- a/service/directoryservice/snapshot/api_op_DeregisterCertificate.go.snap +++ b/service/directoryservice/snapshot/api_op_DeregisterCertificate.go.snap @@ -14,7 +14,6 @@ DeregisterCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_DeregisterEventTopic.go.snap b/service/directoryservice/snapshot/api_op_DeregisterEventTopic.go.snap index 0d7d48cc275..6f501cf437a 100644 --- a/service/directoryservice/snapshot/api_op_DeregisterEventTopic.go.snap +++ b/service/directoryservice/snapshot/api_op_DeregisterEventTopic.go.snap @@ -14,7 +14,6 @@ DeregisterEventTopic Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_DescribeCertificate.go.snap b/service/directoryservice/snapshot/api_op_DescribeCertificate.go.snap index 207f80a3273..eef39259d04 100644 --- a/service/directoryservice/snapshot/api_op_DescribeCertificate.go.snap +++ b/service/directoryservice/snapshot/api_op_DescribeCertificate.go.snap @@ -14,7 +14,6 @@ DescribeCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_DescribeClientAuthenticationSettings.go.snap b/service/directoryservice/snapshot/api_op_DescribeClientAuthenticationSettings.go.snap index df783a008d1..632191d7aae 100644 --- a/service/directoryservice/snapshot/api_op_DescribeClientAuthenticationSettings.go.snap +++ b/service/directoryservice/snapshot/api_op_DescribeClientAuthenticationSettings.go.snap @@ -14,7 +14,6 @@ DescribeClientAuthenticationSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_DescribeConditionalForwarders.go.snap b/service/directoryservice/snapshot/api_op_DescribeConditionalForwarders.go.snap index 2e69e4dcbd8..95821fdac73 100644 --- a/service/directoryservice/snapshot/api_op_DescribeConditionalForwarders.go.snap +++ b/service/directoryservice/snapshot/api_op_DescribeConditionalForwarders.go.snap @@ -14,7 +14,6 @@ DescribeConditionalForwarders Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_DescribeDirectories.go.snap b/service/directoryservice/snapshot/api_op_DescribeDirectories.go.snap index fef5dc81649..afd6fb2cb29 100644 --- a/service/directoryservice/snapshot/api_op_DescribeDirectories.go.snap +++ b/service/directoryservice/snapshot/api_op_DescribeDirectories.go.snap @@ -13,7 +13,6 @@ DescribeDirectories Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_DescribeDirectoryDataAccess.go.snap b/service/directoryservice/snapshot/api_op_DescribeDirectoryDataAccess.go.snap index 7f8279c67d2..3182e236cb1 100644 --- a/service/directoryservice/snapshot/api_op_DescribeDirectoryDataAccess.go.snap +++ b/service/directoryservice/snapshot/api_op_DescribeDirectoryDataAccess.go.snap @@ -14,7 +14,6 @@ DescribeDirectoryDataAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_DescribeDomainControllers.go.snap b/service/directoryservice/snapshot/api_op_DescribeDomainControllers.go.snap index c149090255a..0cf82be644e 100644 --- a/service/directoryservice/snapshot/api_op_DescribeDomainControllers.go.snap +++ b/service/directoryservice/snapshot/api_op_DescribeDomainControllers.go.snap @@ -14,7 +14,6 @@ DescribeDomainControllers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_DescribeEventTopics.go.snap b/service/directoryservice/snapshot/api_op_DescribeEventTopics.go.snap index 60576e63bca..082d80bd6fc 100644 --- a/service/directoryservice/snapshot/api_op_DescribeEventTopics.go.snap +++ b/service/directoryservice/snapshot/api_op_DescribeEventTopics.go.snap @@ -13,7 +13,6 @@ DescribeEventTopics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_DescribeLDAPSSettings.go.snap b/service/directoryservice/snapshot/api_op_DescribeLDAPSSettings.go.snap index 78af3c6819e..4a275c6de5f 100644 --- a/service/directoryservice/snapshot/api_op_DescribeLDAPSSettings.go.snap +++ b/service/directoryservice/snapshot/api_op_DescribeLDAPSSettings.go.snap @@ -14,7 +14,6 @@ DescribeLDAPSSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_DescribeRegions.go.snap b/service/directoryservice/snapshot/api_op_DescribeRegions.go.snap index e27e191f1d7..241ea0e8806 100644 --- a/service/directoryservice/snapshot/api_op_DescribeRegions.go.snap +++ b/service/directoryservice/snapshot/api_op_DescribeRegions.go.snap @@ -14,7 +14,6 @@ DescribeRegions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_DescribeSettings.go.snap b/service/directoryservice/snapshot/api_op_DescribeSettings.go.snap index 1fd6a9d0f19..8edd665472d 100644 --- a/service/directoryservice/snapshot/api_op_DescribeSettings.go.snap +++ b/service/directoryservice/snapshot/api_op_DescribeSettings.go.snap @@ -14,7 +14,6 @@ DescribeSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_DescribeSharedDirectories.go.snap b/service/directoryservice/snapshot/api_op_DescribeSharedDirectories.go.snap index eece22f7f13..834c6346887 100644 --- a/service/directoryservice/snapshot/api_op_DescribeSharedDirectories.go.snap +++ b/service/directoryservice/snapshot/api_op_DescribeSharedDirectories.go.snap @@ -14,7 +14,6 @@ DescribeSharedDirectories Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_DescribeSnapshots.go.snap b/service/directoryservice/snapshot/api_op_DescribeSnapshots.go.snap index 8b006c734ed..03fd8bd6409 100644 --- a/service/directoryservice/snapshot/api_op_DescribeSnapshots.go.snap +++ b/service/directoryservice/snapshot/api_op_DescribeSnapshots.go.snap @@ -13,7 +13,6 @@ DescribeSnapshots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_DescribeTrusts.go.snap b/service/directoryservice/snapshot/api_op_DescribeTrusts.go.snap index f31c4930885..bd27f55bed6 100644 --- a/service/directoryservice/snapshot/api_op_DescribeTrusts.go.snap +++ b/service/directoryservice/snapshot/api_op_DescribeTrusts.go.snap @@ -13,7 +13,6 @@ DescribeTrusts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_DescribeUpdateDirectory.go.snap b/service/directoryservice/snapshot/api_op_DescribeUpdateDirectory.go.snap index da52ae62d60..930d2a591a3 100644 --- a/service/directoryservice/snapshot/api_op_DescribeUpdateDirectory.go.snap +++ b/service/directoryservice/snapshot/api_op_DescribeUpdateDirectory.go.snap @@ -14,7 +14,6 @@ DescribeUpdateDirectory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_DisableClientAuthentication.go.snap b/service/directoryservice/snapshot/api_op_DisableClientAuthentication.go.snap index f5629834a94..b5f6d26d3c9 100644 --- a/service/directoryservice/snapshot/api_op_DisableClientAuthentication.go.snap +++ b/service/directoryservice/snapshot/api_op_DisableClientAuthentication.go.snap @@ -14,7 +14,6 @@ DisableClientAuthentication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_DisableDirectoryDataAccess.go.snap b/service/directoryservice/snapshot/api_op_DisableDirectoryDataAccess.go.snap index 5034bb93bc7..8e40d39917f 100644 --- a/service/directoryservice/snapshot/api_op_DisableDirectoryDataAccess.go.snap +++ b/service/directoryservice/snapshot/api_op_DisableDirectoryDataAccess.go.snap @@ -14,7 +14,6 @@ DisableDirectoryDataAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_DisableLDAPS.go.snap b/service/directoryservice/snapshot/api_op_DisableLDAPS.go.snap index 7182a7451e6..0dcd984a68a 100644 --- a/service/directoryservice/snapshot/api_op_DisableLDAPS.go.snap +++ b/service/directoryservice/snapshot/api_op_DisableLDAPS.go.snap @@ -14,7 +14,6 @@ DisableLDAPS Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_DisableRadius.go.snap b/service/directoryservice/snapshot/api_op_DisableRadius.go.snap index b7eabe7320b..f2e0543613b 100644 --- a/service/directoryservice/snapshot/api_op_DisableRadius.go.snap +++ b/service/directoryservice/snapshot/api_op_DisableRadius.go.snap @@ -14,7 +14,6 @@ DisableRadius Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_DisableSso.go.snap b/service/directoryservice/snapshot/api_op_DisableSso.go.snap index 6ea30107bd5..65e495ef4dc 100644 --- a/service/directoryservice/snapshot/api_op_DisableSso.go.snap +++ b/service/directoryservice/snapshot/api_op_DisableSso.go.snap @@ -14,7 +14,6 @@ DisableSso Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_EnableClientAuthentication.go.snap b/service/directoryservice/snapshot/api_op_EnableClientAuthentication.go.snap index 8d2d818f27f..8710f68692b 100644 --- a/service/directoryservice/snapshot/api_op_EnableClientAuthentication.go.snap +++ b/service/directoryservice/snapshot/api_op_EnableClientAuthentication.go.snap @@ -14,7 +14,6 @@ EnableClientAuthentication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_EnableDirectoryDataAccess.go.snap b/service/directoryservice/snapshot/api_op_EnableDirectoryDataAccess.go.snap index c1e3ea4e498..a072bbd1d3b 100644 --- a/service/directoryservice/snapshot/api_op_EnableDirectoryDataAccess.go.snap +++ b/service/directoryservice/snapshot/api_op_EnableDirectoryDataAccess.go.snap @@ -14,7 +14,6 @@ EnableDirectoryDataAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_EnableLDAPS.go.snap b/service/directoryservice/snapshot/api_op_EnableLDAPS.go.snap index 40a01c470ec..65c86446eca 100644 --- a/service/directoryservice/snapshot/api_op_EnableLDAPS.go.snap +++ b/service/directoryservice/snapshot/api_op_EnableLDAPS.go.snap @@ -14,7 +14,6 @@ EnableLDAPS Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_EnableRadius.go.snap b/service/directoryservice/snapshot/api_op_EnableRadius.go.snap index 192c4109691..549427608d1 100644 --- a/service/directoryservice/snapshot/api_op_EnableRadius.go.snap +++ b/service/directoryservice/snapshot/api_op_EnableRadius.go.snap @@ -14,7 +14,6 @@ EnableRadius Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_EnableSso.go.snap b/service/directoryservice/snapshot/api_op_EnableSso.go.snap index 46fa51d9503..c193f512e6f 100644 --- a/service/directoryservice/snapshot/api_op_EnableSso.go.snap +++ b/service/directoryservice/snapshot/api_op_EnableSso.go.snap @@ -14,7 +14,6 @@ EnableSso Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_GetDirectoryLimits.go.snap b/service/directoryservice/snapshot/api_op_GetDirectoryLimits.go.snap index 285212c2606..e59e3fe8a8c 100644 --- a/service/directoryservice/snapshot/api_op_GetDirectoryLimits.go.snap +++ b/service/directoryservice/snapshot/api_op_GetDirectoryLimits.go.snap @@ -13,7 +13,6 @@ GetDirectoryLimits Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_GetSnapshotLimits.go.snap b/service/directoryservice/snapshot/api_op_GetSnapshotLimits.go.snap index 1a99fcf8291..51e10f1f17c 100644 --- a/service/directoryservice/snapshot/api_op_GetSnapshotLimits.go.snap +++ b/service/directoryservice/snapshot/api_op_GetSnapshotLimits.go.snap @@ -14,7 +14,6 @@ GetSnapshotLimits Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_ListCertificates.go.snap b/service/directoryservice/snapshot/api_op_ListCertificates.go.snap index 169a55e353a..90f5b2cd675 100644 --- a/service/directoryservice/snapshot/api_op_ListCertificates.go.snap +++ b/service/directoryservice/snapshot/api_op_ListCertificates.go.snap @@ -14,7 +14,6 @@ ListCertificates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_ListIpRoutes.go.snap b/service/directoryservice/snapshot/api_op_ListIpRoutes.go.snap index 2a6a7807243..f01f93bc0bd 100644 --- a/service/directoryservice/snapshot/api_op_ListIpRoutes.go.snap +++ b/service/directoryservice/snapshot/api_op_ListIpRoutes.go.snap @@ -14,7 +14,6 @@ ListIpRoutes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_ListLogSubscriptions.go.snap b/service/directoryservice/snapshot/api_op_ListLogSubscriptions.go.snap index a462d0548f5..881e8bc0fe8 100644 --- a/service/directoryservice/snapshot/api_op_ListLogSubscriptions.go.snap +++ b/service/directoryservice/snapshot/api_op_ListLogSubscriptions.go.snap @@ -13,7 +13,6 @@ ListLogSubscriptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_ListSchemaExtensions.go.snap b/service/directoryservice/snapshot/api_op_ListSchemaExtensions.go.snap index df073fce804..3269146d8c2 100644 --- a/service/directoryservice/snapshot/api_op_ListSchemaExtensions.go.snap +++ b/service/directoryservice/snapshot/api_op_ListSchemaExtensions.go.snap @@ -14,7 +14,6 @@ ListSchemaExtensions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_ListTagsForResource.go.snap b/service/directoryservice/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/directoryservice/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/directoryservice/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_RegisterCertificate.go.snap b/service/directoryservice/snapshot/api_op_RegisterCertificate.go.snap index 265b0a876a9..b9dd00d6ae6 100644 --- a/service/directoryservice/snapshot/api_op_RegisterCertificate.go.snap +++ b/service/directoryservice/snapshot/api_op_RegisterCertificate.go.snap @@ -14,7 +14,6 @@ RegisterCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_RegisterEventTopic.go.snap b/service/directoryservice/snapshot/api_op_RegisterEventTopic.go.snap index 845965ca921..50f14e33c7a 100644 --- a/service/directoryservice/snapshot/api_op_RegisterEventTopic.go.snap +++ b/service/directoryservice/snapshot/api_op_RegisterEventTopic.go.snap @@ -14,7 +14,6 @@ RegisterEventTopic Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_RejectSharedDirectory.go.snap b/service/directoryservice/snapshot/api_op_RejectSharedDirectory.go.snap index 33a42fd1084..3f344339945 100644 --- a/service/directoryservice/snapshot/api_op_RejectSharedDirectory.go.snap +++ b/service/directoryservice/snapshot/api_op_RejectSharedDirectory.go.snap @@ -14,7 +14,6 @@ RejectSharedDirectory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_RemoveIpRoutes.go.snap b/service/directoryservice/snapshot/api_op_RemoveIpRoutes.go.snap index a57e463b399..a1a95f36a1f 100644 --- a/service/directoryservice/snapshot/api_op_RemoveIpRoutes.go.snap +++ b/service/directoryservice/snapshot/api_op_RemoveIpRoutes.go.snap @@ -14,7 +14,6 @@ RemoveIpRoutes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_RemoveRegion.go.snap b/service/directoryservice/snapshot/api_op_RemoveRegion.go.snap index 448e3d7b2de..fd0cf11fbb2 100644 --- a/service/directoryservice/snapshot/api_op_RemoveRegion.go.snap +++ b/service/directoryservice/snapshot/api_op_RemoveRegion.go.snap @@ -14,7 +14,6 @@ RemoveRegion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_RemoveTagsFromResource.go.snap b/service/directoryservice/snapshot/api_op_RemoveTagsFromResource.go.snap index e43df9156ac..48a29e492e9 100644 --- a/service/directoryservice/snapshot/api_op_RemoveTagsFromResource.go.snap +++ b/service/directoryservice/snapshot/api_op_RemoveTagsFromResource.go.snap @@ -14,7 +14,6 @@ RemoveTagsFromResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_ResetUserPassword.go.snap b/service/directoryservice/snapshot/api_op_ResetUserPassword.go.snap index 124948604ef..31db2c10ebc 100644 --- a/service/directoryservice/snapshot/api_op_ResetUserPassword.go.snap +++ b/service/directoryservice/snapshot/api_op_ResetUserPassword.go.snap @@ -14,7 +14,6 @@ ResetUserPassword Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_RestoreFromSnapshot.go.snap b/service/directoryservice/snapshot/api_op_RestoreFromSnapshot.go.snap index 4bf3710743b..fc0b1b53750 100644 --- a/service/directoryservice/snapshot/api_op_RestoreFromSnapshot.go.snap +++ b/service/directoryservice/snapshot/api_op_RestoreFromSnapshot.go.snap @@ -14,7 +14,6 @@ RestoreFromSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_ShareDirectory.go.snap b/service/directoryservice/snapshot/api_op_ShareDirectory.go.snap index e6ec3e04f72..862216a6ce6 100644 --- a/service/directoryservice/snapshot/api_op_ShareDirectory.go.snap +++ b/service/directoryservice/snapshot/api_op_ShareDirectory.go.snap @@ -14,7 +14,6 @@ ShareDirectory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_StartSchemaExtension.go.snap b/service/directoryservice/snapshot/api_op_StartSchemaExtension.go.snap index 60fc90f7bde..97060b4b818 100644 --- a/service/directoryservice/snapshot/api_op_StartSchemaExtension.go.snap +++ b/service/directoryservice/snapshot/api_op_StartSchemaExtension.go.snap @@ -14,7 +14,6 @@ StartSchemaExtension Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_UnshareDirectory.go.snap b/service/directoryservice/snapshot/api_op_UnshareDirectory.go.snap index 472c10a17c2..6303c61ca7a 100644 --- a/service/directoryservice/snapshot/api_op_UnshareDirectory.go.snap +++ b/service/directoryservice/snapshot/api_op_UnshareDirectory.go.snap @@ -14,7 +14,6 @@ UnshareDirectory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_UpdateConditionalForwarder.go.snap b/service/directoryservice/snapshot/api_op_UpdateConditionalForwarder.go.snap index b1ae29d2654..d3210da9f02 100644 --- a/service/directoryservice/snapshot/api_op_UpdateConditionalForwarder.go.snap +++ b/service/directoryservice/snapshot/api_op_UpdateConditionalForwarder.go.snap @@ -14,7 +14,6 @@ UpdateConditionalForwarder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_UpdateDirectorySetup.go.snap b/service/directoryservice/snapshot/api_op_UpdateDirectorySetup.go.snap index c5b0e4daec2..5d81d07e7f4 100644 --- a/service/directoryservice/snapshot/api_op_UpdateDirectorySetup.go.snap +++ b/service/directoryservice/snapshot/api_op_UpdateDirectorySetup.go.snap @@ -14,7 +14,6 @@ UpdateDirectorySetup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_UpdateNumberOfDomainControllers.go.snap b/service/directoryservice/snapshot/api_op_UpdateNumberOfDomainControllers.go.snap index 34b34569569..8da46e421b2 100644 --- a/service/directoryservice/snapshot/api_op_UpdateNumberOfDomainControllers.go.snap +++ b/service/directoryservice/snapshot/api_op_UpdateNumberOfDomainControllers.go.snap @@ -14,7 +14,6 @@ UpdateNumberOfDomainControllers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_UpdateRadius.go.snap b/service/directoryservice/snapshot/api_op_UpdateRadius.go.snap index d9aa58e9029..546a1765031 100644 --- a/service/directoryservice/snapshot/api_op_UpdateRadius.go.snap +++ b/service/directoryservice/snapshot/api_op_UpdateRadius.go.snap @@ -14,7 +14,6 @@ UpdateRadius Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_UpdateSettings.go.snap b/service/directoryservice/snapshot/api_op_UpdateSettings.go.snap index 4fb1de5f348..d36aaedb32e 100644 --- a/service/directoryservice/snapshot/api_op_UpdateSettings.go.snap +++ b/service/directoryservice/snapshot/api_op_UpdateSettings.go.snap @@ -14,7 +14,6 @@ UpdateSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_UpdateTrust.go.snap b/service/directoryservice/snapshot/api_op_UpdateTrust.go.snap index 837415dfc66..9eb6beae2d8 100644 --- a/service/directoryservice/snapshot/api_op_UpdateTrust.go.snap +++ b/service/directoryservice/snapshot/api_op_UpdateTrust.go.snap @@ -14,7 +14,6 @@ UpdateTrust Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservice/snapshot/api_op_VerifyTrust.go.snap b/service/directoryservice/snapshot/api_op_VerifyTrust.go.snap index 7454d3612a3..5d9a4afd0a1 100644 --- a/service/directoryservice/snapshot/api_op_VerifyTrust.go.snap +++ b/service/directoryservice/snapshot/api_op_VerifyTrust.go.snap @@ -14,7 +14,6 @@ VerifyTrust Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservicedata/api_client.go b/service/directoryservicedata/api_client.go index d5909e53c9a..ffaf5fe85f0 100644 --- a/service/directoryservicedata/api_client.go +++ b/service/directoryservicedata/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/directoryservicedata/api_op_AddGroupMember.go b/service/directoryservicedata/api_op_AddGroupMember.go index 6f46c6d459b..218e898e188 100644 --- a/service/directoryservicedata/api_op_AddGroupMember.go +++ b/service/directoryservicedata/api_op_AddGroupMember.go @@ -141,9 +141,6 @@ func (c *Client) addOperationAddGroupMemberMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opAddGroupMemberMiddleware(stack, options); err != nil { return err } diff --git a/service/directoryservicedata/api_op_CreateGroup.go b/service/directoryservicedata/api_op_CreateGroup.go index 6c29bb18c1d..ec2f3d48a80 100644 --- a/service/directoryservicedata/api_op_CreateGroup.go +++ b/service/directoryservicedata/api_op_CreateGroup.go @@ -153,9 +153,6 @@ func (c *Client) addOperationCreateGroupMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/directoryservicedata/api_op_CreateUser.go b/service/directoryservicedata/api_op_CreateUser.go index f49ca1a78eb..82fff12d00a 100644 --- a/service/directoryservicedata/api_op_CreateUser.go +++ b/service/directoryservicedata/api_op_CreateUser.go @@ -157,9 +157,6 @@ func (c *Client) addOperationCreateUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateUserMiddleware(stack, options); err != nil { return err } diff --git a/service/directoryservicedata/api_op_DeleteGroup.go b/service/directoryservicedata/api_op_DeleteGroup.go index f8387eedda7..114d5157df5 100644 --- a/service/directoryservicedata/api_op_DeleteGroup.go +++ b/service/directoryservicedata/api_op_DeleteGroup.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteGroupMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/directoryservicedata/api_op_DeleteUser.go b/service/directoryservicedata/api_op_DeleteUser.go index c325137bf06..1f5cdd371ee 100644 --- a/service/directoryservicedata/api_op_DeleteUser.go +++ b/service/directoryservicedata/api_op_DeleteUser.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteUserMiddleware(stack, options); err != nil { return err } diff --git a/service/directoryservicedata/api_op_DescribeGroup.go b/service/directoryservicedata/api_op_DescribeGroup.go index 51cd72507a8..7551be3bb41 100644 --- a/service/directoryservicedata/api_op_DescribeGroup.go +++ b/service/directoryservicedata/api_op_DescribeGroup.go @@ -160,9 +160,6 @@ func (c *Client) addOperationDescribeGroupMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservicedata/api_op_DescribeUser.go b/service/directoryservicedata/api_op_DescribeUser.go index 53c00b3b0ff..72cbce59a9e 100644 --- a/service/directoryservicedata/api_op_DescribeUser.go +++ b/service/directoryservicedata/api_op_DescribeUser.go @@ -172,9 +172,6 @@ func (c *Client) addOperationDescribeUserMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservicedata/api_op_DisableUser.go b/service/directoryservicedata/api_op_DisableUser.go index 0f631e85756..db6e511a4d2 100644 --- a/service/directoryservicedata/api_op_DisableUser.go +++ b/service/directoryservicedata/api_op_DisableUser.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDisableUserMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDisableUserMiddleware(stack, options); err != nil { return err } diff --git a/service/directoryservicedata/api_op_ListGroupMembers.go b/service/directoryservicedata/api_op_ListGroupMembers.go index 09ec9b5bec6..901e96575a1 100644 --- a/service/directoryservicedata/api_op_ListGroupMembers.go +++ b/service/directoryservicedata/api_op_ListGroupMembers.go @@ -160,9 +160,6 @@ func (c *Client) addOperationListGroupMembersMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListGroupMembersValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservicedata/api_op_ListGroups.go b/service/directoryservicedata/api_op_ListGroups.go index 47e6abbe27b..7a9e611de40 100644 --- a/service/directoryservicedata/api_op_ListGroups.go +++ b/service/directoryservicedata/api_op_ListGroups.go @@ -146,9 +146,6 @@ func (c *Client) addOperationListGroupsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservicedata/api_op_ListGroupsForMember.go b/service/directoryservicedata/api_op_ListGroupsForMember.go index a1fd0b92648..9cef1f33cfd 100644 --- a/service/directoryservicedata/api_op_ListGroupsForMember.go +++ b/service/directoryservicedata/api_op_ListGroupsForMember.go @@ -164,9 +164,6 @@ func (c *Client) addOperationListGroupsForMemberMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListGroupsForMemberValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservicedata/api_op_ListUsers.go b/service/directoryservicedata/api_op_ListUsers.go index 9a456a760bd..46fcbdb4731 100644 --- a/service/directoryservicedata/api_op_ListUsers.go +++ b/service/directoryservicedata/api_op_ListUsers.go @@ -146,9 +146,6 @@ func (c *Client) addOperationListUsersMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListUsersValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservicedata/api_op_RemoveGroupMember.go b/service/directoryservicedata/api_op_RemoveGroupMember.go index 31a85e9b761..37a82308558 100644 --- a/service/directoryservicedata/api_op_RemoveGroupMember.go +++ b/service/directoryservicedata/api_op_RemoveGroupMember.go @@ -139,9 +139,6 @@ func (c *Client) addOperationRemoveGroupMemberMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opRemoveGroupMemberMiddleware(stack, options); err != nil { return err } diff --git a/service/directoryservicedata/api_op_SearchGroups.go b/service/directoryservicedata/api_op_SearchGroups.go index e66bc2822d4..2d7782e4d81 100644 --- a/service/directoryservicedata/api_op_SearchGroups.go +++ b/service/directoryservicedata/api_op_SearchGroups.go @@ -167,9 +167,6 @@ func (c *Client) addOperationSearchGroupsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservicedata/api_op_SearchUsers.go b/service/directoryservicedata/api_op_SearchUsers.go index e67800853a0..901e3f42e05 100644 --- a/service/directoryservicedata/api_op_SearchUsers.go +++ b/service/directoryservicedata/api_op_SearchUsers.go @@ -167,9 +167,6 @@ func (c *Client) addOperationSearchUsersMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchUsersValidationMiddleware(stack); err != nil { return err } diff --git a/service/directoryservicedata/api_op_UpdateGroup.go b/service/directoryservicedata/api_op_UpdateGroup.go index 4317dc3a038..be088fe770e 100644 --- a/service/directoryservicedata/api_op_UpdateGroup.go +++ b/service/directoryservicedata/api_op_UpdateGroup.go @@ -148,9 +148,6 @@ func (c *Client) addOperationUpdateGroupMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/directoryservicedata/api_op_UpdateUser.go b/service/directoryservicedata/api_op_UpdateUser.go index 37781c7ce21..d6a373bad2a 100644 --- a/service/directoryservicedata/api_op_UpdateUser.go +++ b/service/directoryservicedata/api_op_UpdateUser.go @@ -152,9 +152,6 @@ func (c *Client) addOperationUpdateUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateUserMiddleware(stack, options); err != nil { return err } diff --git a/service/directoryservicedata/snapshot/api_op_AddGroupMember.go.snap b/service/directoryservicedata/snapshot/api_op_AddGroupMember.go.snap index a44d89a7f64..02b2afdb2f7 100644 --- a/service/directoryservicedata/snapshot/api_op_AddGroupMember.go.snap +++ b/service/directoryservicedata/snapshot/api_op_AddGroupMember.go.snap @@ -15,7 +15,6 @@ AddGroupMember Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservicedata/snapshot/api_op_CreateGroup.go.snap b/service/directoryservicedata/snapshot/api_op_CreateGroup.go.snap index 3c65d84055f..566d07056e3 100644 --- a/service/directoryservicedata/snapshot/api_op_CreateGroup.go.snap +++ b/service/directoryservicedata/snapshot/api_op_CreateGroup.go.snap @@ -15,7 +15,6 @@ CreateGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservicedata/snapshot/api_op_CreateUser.go.snap b/service/directoryservicedata/snapshot/api_op_CreateUser.go.snap index 0558eb17555..235683caf2c 100644 --- a/service/directoryservicedata/snapshot/api_op_CreateUser.go.snap +++ b/service/directoryservicedata/snapshot/api_op_CreateUser.go.snap @@ -15,7 +15,6 @@ CreateUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservicedata/snapshot/api_op_DeleteGroup.go.snap b/service/directoryservicedata/snapshot/api_op_DeleteGroup.go.snap index d65c9d48f6f..d641e718a2e 100644 --- a/service/directoryservicedata/snapshot/api_op_DeleteGroup.go.snap +++ b/service/directoryservicedata/snapshot/api_op_DeleteGroup.go.snap @@ -15,7 +15,6 @@ DeleteGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservicedata/snapshot/api_op_DeleteUser.go.snap b/service/directoryservicedata/snapshot/api_op_DeleteUser.go.snap index 075f647e3d8..df5dc0378ab 100644 --- a/service/directoryservicedata/snapshot/api_op_DeleteUser.go.snap +++ b/service/directoryservicedata/snapshot/api_op_DeleteUser.go.snap @@ -15,7 +15,6 @@ DeleteUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservicedata/snapshot/api_op_DescribeGroup.go.snap b/service/directoryservicedata/snapshot/api_op_DescribeGroup.go.snap index a31f75b49bc..e51d7cac904 100644 --- a/service/directoryservicedata/snapshot/api_op_DescribeGroup.go.snap +++ b/service/directoryservicedata/snapshot/api_op_DescribeGroup.go.snap @@ -14,7 +14,6 @@ DescribeGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservicedata/snapshot/api_op_DescribeUser.go.snap b/service/directoryservicedata/snapshot/api_op_DescribeUser.go.snap index 630a2859093..a7ee6cfa46d 100644 --- a/service/directoryservicedata/snapshot/api_op_DescribeUser.go.snap +++ b/service/directoryservicedata/snapshot/api_op_DescribeUser.go.snap @@ -14,7 +14,6 @@ DescribeUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservicedata/snapshot/api_op_DisableUser.go.snap b/service/directoryservicedata/snapshot/api_op_DisableUser.go.snap index 4e2bb4f00bc..da8fb865540 100644 --- a/service/directoryservicedata/snapshot/api_op_DisableUser.go.snap +++ b/service/directoryservicedata/snapshot/api_op_DisableUser.go.snap @@ -15,7 +15,6 @@ DisableUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservicedata/snapshot/api_op_ListGroupMembers.go.snap b/service/directoryservicedata/snapshot/api_op_ListGroupMembers.go.snap index d661ba001cb..a8beaae4266 100644 --- a/service/directoryservicedata/snapshot/api_op_ListGroupMembers.go.snap +++ b/service/directoryservicedata/snapshot/api_op_ListGroupMembers.go.snap @@ -14,7 +14,6 @@ ListGroupMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservicedata/snapshot/api_op_ListGroups.go.snap b/service/directoryservicedata/snapshot/api_op_ListGroups.go.snap index 96d00de9d60..2cce91ebfeb 100644 --- a/service/directoryservicedata/snapshot/api_op_ListGroups.go.snap +++ b/service/directoryservicedata/snapshot/api_op_ListGroups.go.snap @@ -14,7 +14,6 @@ ListGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservicedata/snapshot/api_op_ListGroupsForMember.go.snap b/service/directoryservicedata/snapshot/api_op_ListGroupsForMember.go.snap index 7674bb3b57e..a24b5183bdf 100644 --- a/service/directoryservicedata/snapshot/api_op_ListGroupsForMember.go.snap +++ b/service/directoryservicedata/snapshot/api_op_ListGroupsForMember.go.snap @@ -14,7 +14,6 @@ ListGroupsForMember Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservicedata/snapshot/api_op_ListUsers.go.snap b/service/directoryservicedata/snapshot/api_op_ListUsers.go.snap index e806475e845..214b3b04368 100644 --- a/service/directoryservicedata/snapshot/api_op_ListUsers.go.snap +++ b/service/directoryservicedata/snapshot/api_op_ListUsers.go.snap @@ -14,7 +14,6 @@ ListUsers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservicedata/snapshot/api_op_RemoveGroupMember.go.snap b/service/directoryservicedata/snapshot/api_op_RemoveGroupMember.go.snap index e1e6e38ac60..68725df250e 100644 --- a/service/directoryservicedata/snapshot/api_op_RemoveGroupMember.go.snap +++ b/service/directoryservicedata/snapshot/api_op_RemoveGroupMember.go.snap @@ -15,7 +15,6 @@ RemoveGroupMember Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservicedata/snapshot/api_op_SearchGroups.go.snap b/service/directoryservicedata/snapshot/api_op_SearchGroups.go.snap index 023d884c8ea..397da4a5a19 100644 --- a/service/directoryservicedata/snapshot/api_op_SearchGroups.go.snap +++ b/service/directoryservicedata/snapshot/api_op_SearchGroups.go.snap @@ -14,7 +14,6 @@ SearchGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservicedata/snapshot/api_op_SearchUsers.go.snap b/service/directoryservicedata/snapshot/api_op_SearchUsers.go.snap index 69d7d812318..8a897a6be7c 100644 --- a/service/directoryservicedata/snapshot/api_op_SearchUsers.go.snap +++ b/service/directoryservicedata/snapshot/api_op_SearchUsers.go.snap @@ -14,7 +14,6 @@ SearchUsers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservicedata/snapshot/api_op_UpdateGroup.go.snap b/service/directoryservicedata/snapshot/api_op_UpdateGroup.go.snap index 64197a697f2..42f246ec8df 100644 --- a/service/directoryservicedata/snapshot/api_op_UpdateGroup.go.snap +++ b/service/directoryservicedata/snapshot/api_op_UpdateGroup.go.snap @@ -15,7 +15,6 @@ UpdateGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/directoryservicedata/snapshot/api_op_UpdateUser.go.snap b/service/directoryservicedata/snapshot/api_op_UpdateUser.go.snap index 22430060631..5c2ab98715d 100644 --- a/service/directoryservicedata/snapshot/api_op_UpdateUser.go.snap +++ b/service/directoryservicedata/snapshot/api_op_UpdateUser.go.snap @@ -15,7 +15,6 @@ UpdateUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dlm/api_client.go b/service/dlm/api_client.go index 0e17afae118..8988bea1d86 100644 --- a/service/dlm/api_client.go +++ b/service/dlm/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/dlm/api_op_CreateLifecyclePolicy.go b/service/dlm/api_op_CreateLifecyclePolicy.go index 4829405c411..2d54c41eab4 100644 --- a/service/dlm/api_op_CreateLifecyclePolicy.go +++ b/service/dlm/api_op_CreateLifecyclePolicy.go @@ -220,9 +220,6 @@ func (c *Client) addOperationCreateLifecyclePolicyMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLifecyclePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/dlm/api_op_DeleteLifecyclePolicy.go b/service/dlm/api_op_DeleteLifecyclePolicy.go index d6cefe968a7..2df295f9f61 100644 --- a/service/dlm/api_op_DeleteLifecyclePolicy.go +++ b/service/dlm/api_op_DeleteLifecyclePolicy.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteLifecyclePolicyMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLifecyclePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/dlm/api_op_GetLifecyclePolicies.go b/service/dlm/api_op_GetLifecyclePolicies.go index fed8d5e9b3f..b8d6b9d3f48 100644 --- a/service/dlm/api_op_GetLifecyclePolicies.go +++ b/service/dlm/api_op_GetLifecyclePolicies.go @@ -143,9 +143,6 @@ func (c *Client) addOperationGetLifecyclePoliciesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLifecyclePolicies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/dlm/api_op_GetLifecyclePolicy.go b/service/dlm/api_op_GetLifecyclePolicy.go index 3a0e0b9ff8b..c33ba5794cc 100644 --- a/service/dlm/api_op_GetLifecyclePolicy.go +++ b/service/dlm/api_op_GetLifecyclePolicy.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetLifecyclePolicyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLifecyclePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/dlm/api_op_ListTagsForResource.go b/service/dlm/api_op_ListTagsForResource.go index d44486bb05e..34a28776c6f 100644 --- a/service/dlm/api_op_ListTagsForResource.go +++ b/service/dlm/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/dlm/api_op_TagResource.go b/service/dlm/api_op_TagResource.go index 1ca0a1e8ca1..147af8336e2 100644 --- a/service/dlm/api_op_TagResource.go +++ b/service/dlm/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/dlm/api_op_UntagResource.go b/service/dlm/api_op_UntagResource.go index 581a455af90..f040217ef6a 100644 --- a/service/dlm/api_op_UntagResource.go +++ b/service/dlm/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/dlm/api_op_UpdateLifecyclePolicy.go b/service/dlm/api_op_UpdateLifecyclePolicy.go index 3663e5e4880..cc217158f0f 100644 --- a/service/dlm/api_op_UpdateLifecyclePolicy.go +++ b/service/dlm/api_op_UpdateLifecyclePolicy.go @@ -174,9 +174,6 @@ func (c *Client) addOperationUpdateLifecyclePolicyMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLifecyclePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/dlm/snapshot/api_op_CreateLifecyclePolicy.go.snap b/service/dlm/snapshot/api_op_CreateLifecyclePolicy.go.snap index f843fde2e62..d2f41cf8822 100644 --- a/service/dlm/snapshot/api_op_CreateLifecyclePolicy.go.snap +++ b/service/dlm/snapshot/api_op_CreateLifecyclePolicy.go.snap @@ -14,7 +14,6 @@ CreateLifecyclePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dlm/snapshot/api_op_DeleteLifecyclePolicy.go.snap b/service/dlm/snapshot/api_op_DeleteLifecyclePolicy.go.snap index aba59434b8b..fe2afb7dac7 100644 --- a/service/dlm/snapshot/api_op_DeleteLifecyclePolicy.go.snap +++ b/service/dlm/snapshot/api_op_DeleteLifecyclePolicy.go.snap @@ -14,7 +14,6 @@ DeleteLifecyclePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dlm/snapshot/api_op_GetLifecyclePolicies.go.snap b/service/dlm/snapshot/api_op_GetLifecyclePolicies.go.snap index 6063e7747dc..873b7402bea 100644 --- a/service/dlm/snapshot/api_op_GetLifecyclePolicies.go.snap +++ b/service/dlm/snapshot/api_op_GetLifecyclePolicies.go.snap @@ -13,7 +13,6 @@ GetLifecyclePolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dlm/snapshot/api_op_GetLifecyclePolicy.go.snap b/service/dlm/snapshot/api_op_GetLifecyclePolicy.go.snap index d6545bfa017..4b0e5f0b1b7 100644 --- a/service/dlm/snapshot/api_op_GetLifecyclePolicy.go.snap +++ b/service/dlm/snapshot/api_op_GetLifecyclePolicy.go.snap @@ -14,7 +14,6 @@ GetLifecyclePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dlm/snapshot/api_op_ListTagsForResource.go.snap b/service/dlm/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/dlm/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/dlm/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dlm/snapshot/api_op_TagResource.go.snap b/service/dlm/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/dlm/snapshot/api_op_TagResource.go.snap +++ b/service/dlm/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dlm/snapshot/api_op_UntagResource.go.snap b/service/dlm/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/dlm/snapshot/api_op_UntagResource.go.snap +++ b/service/dlm/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dlm/snapshot/api_op_UpdateLifecyclePolicy.go.snap b/service/dlm/snapshot/api_op_UpdateLifecyclePolicy.go.snap index 2b4dc7d0466..586ac4ff4f5 100644 --- a/service/dlm/snapshot/api_op_UpdateLifecyclePolicy.go.snap +++ b/service/dlm/snapshot/api_op_UpdateLifecyclePolicy.go.snap @@ -14,7 +14,6 @@ UpdateLifecyclePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/api_client.go b/service/docdb/api_client.go index ddf5145ad00..99964fd71cf 100644 --- a/service/docdb/api_client.go +++ b/service/docdb/api_client.go @@ -765,37 +765,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/docdb/api_op_AddSourceIdentifierToSubscription.go b/service/docdb/api_op_AddSourceIdentifierToSubscription.go index a9f291e2174..255561ea12a 100644 --- a/service/docdb/api_op_AddSourceIdentifierToSubscription.go +++ b/service/docdb/api_op_AddSourceIdentifierToSubscription.go @@ -129,9 +129,6 @@ func (c *Client) addOperationAddSourceIdentifierToSubscriptionMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddSourceIdentifierToSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_AddTagsToResource.go b/service/docdb/api_op_AddTagsToResource.go index db2009a3ddb..2cd790a1251 100644 --- a/service/docdb/api_op_AddTagsToResource.go +++ b/service/docdb/api_op_AddTagsToResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationAddTagsToResourceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddTagsToResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_ApplyPendingMaintenanceAction.go b/service/docdb/api_op_ApplyPendingMaintenanceAction.go index 4df1a590562..cbeb7029cb6 100644 --- a/service/docdb/api_op_ApplyPendingMaintenanceAction.go +++ b/service/docdb/api_op_ApplyPendingMaintenanceAction.go @@ -137,9 +137,6 @@ func (c *Client) addOperationApplyPendingMaintenanceActionMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpApplyPendingMaintenanceActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_CopyDBClusterParameterGroup.go b/service/docdb/api_op_CopyDBClusterParameterGroup.go index 4e7673e68c9..8b7125d0a4e 100644 --- a/service/docdb/api_op_CopyDBClusterParameterGroup.go +++ b/service/docdb/api_op_CopyDBClusterParameterGroup.go @@ -151,9 +151,6 @@ func (c *Client) addOperationCopyDBClusterParameterGroupMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCopyDBClusterParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_CopyDBClusterSnapshot.go b/service/docdb/api_op_CopyDBClusterSnapshot.go index cdfc041da9d..638326cc62e 100644 --- a/service/docdb/api_op_CopyDBClusterSnapshot.go +++ b/service/docdb/api_op_CopyDBClusterSnapshot.go @@ -225,9 +225,6 @@ func (c *Client) addOperationCopyDBClusterSnapshotMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCopyDBClusterSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_CreateDBCluster.go b/service/docdb/api_op_CreateDBCluster.go index 92c3b70ba3e..c34c70496d7 100644 --- a/service/docdb/api_op_CreateDBCluster.go +++ b/service/docdb/api_op_CreateDBCluster.go @@ -311,9 +311,6 @@ func (c *Client) addOperationCreateDBClusterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDBClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_CreateDBClusterParameterGroup.go b/service/docdb/api_op_CreateDBClusterParameterGroup.go index 6e18ae55f6a..882594b61a9 100644 --- a/service/docdb/api_op_CreateDBClusterParameterGroup.go +++ b/service/docdb/api_op_CreateDBClusterParameterGroup.go @@ -148,9 +148,6 @@ func (c *Client) addOperationCreateDBClusterParameterGroupMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDBClusterParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_CreateDBClusterSnapshot.go b/service/docdb/api_op_CreateDBClusterSnapshot.go index aaf6efa3a19..947c815e6dd 100644 --- a/service/docdb/api_op_CreateDBClusterSnapshot.go +++ b/service/docdb/api_op_CreateDBClusterSnapshot.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateDBClusterSnapshotMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDBClusterSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_CreateDBInstance.go b/service/docdb/api_op_CreateDBInstance.go index ab99115b1b6..15de080ef78 100644 --- a/service/docdb/api_op_CreateDBInstance.go +++ b/service/docdb/api_op_CreateDBInstance.go @@ -209,9 +209,6 @@ func (c *Client) addOperationCreateDBInstanceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDBInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_CreateDBSubnetGroup.go b/service/docdb/api_op_CreateDBSubnetGroup.go index 1cb50d008a4..369dee8b5fa 100644 --- a/service/docdb/api_op_CreateDBSubnetGroup.go +++ b/service/docdb/api_op_CreateDBSubnetGroup.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateDBSubnetGroupMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDBSubnetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_CreateEventSubscription.go b/service/docdb/api_op_CreateEventSubscription.go index 8cb6ad008b1..cc11338dc39 100644 --- a/service/docdb/api_op_CreateEventSubscription.go +++ b/service/docdb/api_op_CreateEventSubscription.go @@ -178,9 +178,6 @@ func (c *Client) addOperationCreateEventSubscriptionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEventSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_CreateGlobalCluster.go b/service/docdb/api_op_CreateGlobalCluster.go index 67863cd87ba..14c8da4e5c1 100644 --- a/service/docdb/api_op_CreateGlobalCluster.go +++ b/service/docdb/api_op_CreateGlobalCluster.go @@ -146,9 +146,6 @@ func (c *Client) addOperationCreateGlobalClusterMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGlobalClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DeleteDBCluster.go b/service/docdb/api_op_DeleteDBCluster.go index a3f20089798..a62657e8d61 100644 --- a/service/docdb/api_op_DeleteDBCluster.go +++ b/service/docdb/api_op_DeleteDBCluster.go @@ -145,9 +145,6 @@ func (c *Client) addOperationDeleteDBClusterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDBClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DeleteDBClusterParameterGroup.go b/service/docdb/api_op_DeleteDBClusterParameterGroup.go index 6f5608fbc0a..accc7078007 100644 --- a/service/docdb/api_op_DeleteDBClusterParameterGroup.go +++ b/service/docdb/api_op_DeleteDBClusterParameterGroup.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteDBClusterParameterGroupMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDBClusterParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DeleteDBClusterSnapshot.go b/service/docdb/api_op_DeleteDBClusterSnapshot.go index b90caac485b..c70297c664e 100644 --- a/service/docdb/api_op_DeleteDBClusterSnapshot.go +++ b/service/docdb/api_op_DeleteDBClusterSnapshot.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteDBClusterSnapshotMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDBClusterSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DeleteDBInstance.go b/service/docdb/api_op_DeleteDBInstance.go index 850590d808f..d9af594b492 100644 --- a/service/docdb/api_op_DeleteDBInstance.go +++ b/service/docdb/api_op_DeleteDBInstance.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteDBInstanceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDBInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DeleteDBSubnetGroup.go b/service/docdb/api_op_DeleteDBSubnetGroup.go index 03fed5df5ad..ae892f9f994 100644 --- a/service/docdb/api_op_DeleteDBSubnetGroup.go +++ b/service/docdb/api_op_DeleteDBSubnetGroup.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteDBSubnetGroupMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDBSubnetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DeleteEventSubscription.go b/service/docdb/api_op_DeleteEventSubscription.go index bc822116bc7..b3377ab1632 100644 --- a/service/docdb/api_op_DeleteEventSubscription.go +++ b/service/docdb/api_op_DeleteEventSubscription.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteEventSubscriptionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEventSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DeleteGlobalCluster.go b/service/docdb/api_op_DeleteGlobalCluster.go index 29d8089f631..2461d5530d5 100644 --- a/service/docdb/api_op_DeleteGlobalCluster.go +++ b/service/docdb/api_op_DeleteGlobalCluster.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteGlobalClusterMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGlobalClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DescribeCertificates.go b/service/docdb/api_op_DescribeCertificates.go index 4d4f15e1add..91528d852dd 100644 --- a/service/docdb/api_op_DescribeCertificates.go +++ b/service/docdb/api_op_DescribeCertificates.go @@ -145,9 +145,6 @@ func (c *Client) addOperationDescribeCertificatesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCertificatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DescribeDBClusterParameterGroups.go b/service/docdb/api_op_DescribeDBClusterParameterGroups.go index 72decc1c112..f64838f82e9 100644 --- a/service/docdb/api_op_DescribeDBClusterParameterGroups.go +++ b/service/docdb/api_op_DescribeDBClusterParameterGroups.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDescribeDBClusterParameterGroupsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBClusterParameterGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DescribeDBClusterParameters.go b/service/docdb/api_op_DescribeDBClusterParameters.go index 0f292cd128e..2ff60cdfa4a 100644 --- a/service/docdb/api_op_DescribeDBClusterParameters.go +++ b/service/docdb/api_op_DescribeDBClusterParameters.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDescribeDBClusterParametersMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBClusterParametersValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DescribeDBClusterSnapshotAttributes.go b/service/docdb/api_op_DescribeDBClusterSnapshotAttributes.go index 7d55f733ef4..4ceda517079 100644 --- a/service/docdb/api_op_DescribeDBClusterSnapshotAttributes.go +++ b/service/docdb/api_op_DescribeDBClusterSnapshotAttributes.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeDBClusterSnapshotAttributesMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBClusterSnapshotAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DescribeDBClusterSnapshots.go b/service/docdb/api_op_DescribeDBClusterSnapshots.go index d95f5237c5c..ef4d2ff658c 100644 --- a/service/docdb/api_op_DescribeDBClusterSnapshots.go +++ b/service/docdb/api_op_DescribeDBClusterSnapshots.go @@ -189,9 +189,6 @@ func (c *Client) addOperationDescribeDBClusterSnapshotsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBClusterSnapshotsValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DescribeDBClusters.go b/service/docdb/api_op_DescribeDBClusters.go index f21a1caef2b..9d2df498426 100644 --- a/service/docdb/api_op_DescribeDBClusters.go +++ b/service/docdb/api_op_DescribeDBClusters.go @@ -151,9 +151,6 @@ func (c *Client) addOperationDescribeDBClustersMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBClustersValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DescribeDBEngineVersions.go b/service/docdb/api_op_DescribeDBEngineVersions.go index 534c102cf2b..507b6464563 100644 --- a/service/docdb/api_op_DescribeDBEngineVersions.go +++ b/service/docdb/api_op_DescribeDBEngineVersions.go @@ -160,9 +160,6 @@ func (c *Client) addOperationDescribeDBEngineVersionsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBEngineVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DescribeDBInstances.go b/service/docdb/api_op_DescribeDBInstances.go index f6a2d4b63c9..262eae25bd6 100644 --- a/service/docdb/api_op_DescribeDBInstances.go +++ b/service/docdb/api_op_DescribeDBInstances.go @@ -156,9 +156,6 @@ func (c *Client) addOperationDescribeDBInstancesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DescribeDBSubnetGroups.go b/service/docdb/api_op_DescribeDBSubnetGroups.go index a50043d88a9..75ceea14431 100644 --- a/service/docdb/api_op_DescribeDBSubnetGroups.go +++ b/service/docdb/api_op_DescribeDBSubnetGroups.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribeDBSubnetGroupsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBSubnetGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DescribeEngineDefaultClusterParameters.go b/service/docdb/api_op_DescribeEngineDefaultClusterParameters.go index 607de7d3466..60f9713c09d 100644 --- a/service/docdb/api_op_DescribeEngineDefaultClusterParameters.go +++ b/service/docdb/api_op_DescribeEngineDefaultClusterParameters.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeEngineDefaultClusterParametersMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEngineDefaultClusterParametersValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DescribeEventCategories.go b/service/docdb/api_op_DescribeEventCategories.go index 61fd1ab45a1..c5032ad3474 100644 --- a/service/docdb/api_op_DescribeEventCategories.go +++ b/service/docdb/api_op_DescribeEventCategories.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDescribeEventCategoriesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEventCategoriesValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DescribeEventSubscriptions.go b/service/docdb/api_op_DescribeEventSubscriptions.go index 5ca5960c5e7..1d39df9fd10 100644 --- a/service/docdb/api_op_DescribeEventSubscriptions.go +++ b/service/docdb/api_op_DescribeEventSubscriptions.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDescribeEventSubscriptionsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEventSubscriptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DescribeEvents.go b/service/docdb/api_op_DescribeEvents.go index d8f2aef4195..9705014f061 100644 --- a/service/docdb/api_op_DescribeEvents.go +++ b/service/docdb/api_op_DescribeEvents.go @@ -181,9 +181,6 @@ func (c *Client) addOperationDescribeEventsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DescribeGlobalClusters.go b/service/docdb/api_op_DescribeGlobalClusters.go index 1c95bcd71a1..2bd1975cae1 100644 --- a/service/docdb/api_op_DescribeGlobalClusters.go +++ b/service/docdb/api_op_DescribeGlobalClusters.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDescribeGlobalClustersMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeGlobalClustersValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DescribeOrderableDBInstanceOptions.go b/service/docdb/api_op_DescribeOrderableDBInstanceOptions.go index eb0d2c2f7a3..ed385078dfc 100644 --- a/service/docdb/api_op_DescribeOrderableDBInstanceOptions.go +++ b/service/docdb/api_op_DescribeOrderableDBInstanceOptions.go @@ -152,9 +152,6 @@ func (c *Client) addOperationDescribeOrderableDBInstanceOptionsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeOrderableDBInstanceOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_DescribePendingMaintenanceActions.go b/service/docdb/api_op_DescribePendingMaintenanceActions.go index 7d136a623bd..b798891ba1e 100644 --- a/service/docdb/api_op_DescribePendingMaintenanceActions.go +++ b/service/docdb/api_op_DescribePendingMaintenanceActions.go @@ -146,9 +146,6 @@ func (c *Client) addOperationDescribePendingMaintenanceActionsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePendingMaintenanceActionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_FailoverDBCluster.go b/service/docdb/api_op_FailoverDBCluster.go index 223e43f4499..c417aa382ae 100644 --- a/service/docdb/api_op_FailoverDBCluster.go +++ b/service/docdb/api_op_FailoverDBCluster.go @@ -130,9 +130,6 @@ func (c *Client) addOperationFailoverDBClusterMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFailoverDBCluster(options.Region), middleware.Before); err != nil { return err } diff --git a/service/docdb/api_op_FailoverGlobalCluster.go b/service/docdb/api_op_FailoverGlobalCluster.go index f4f6ee1563a..9fa555bb280 100644 --- a/service/docdb/api_op_FailoverGlobalCluster.go +++ b/service/docdb/api_op_FailoverGlobalCluster.go @@ -164,9 +164,6 @@ func (c *Client) addOperationFailoverGlobalClusterMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpFailoverGlobalClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_ListTagsForResource.go b/service/docdb/api_op_ListTagsForResource.go index 421d18ba6cb..80f25c789b4 100644 --- a/service/docdb/api_op_ListTagsForResource.go +++ b/service/docdb/api_op_ListTagsForResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_ModifyDBCluster.go b/service/docdb/api_op_ModifyDBCluster.go index e1e03bddb1c..f813528407e 100644 --- a/service/docdb/api_op_ModifyDBCluster.go +++ b/service/docdb/api_op_ModifyDBCluster.go @@ -298,9 +298,6 @@ func (c *Client) addOperationModifyDBClusterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyDBClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_ModifyDBClusterParameterGroup.go b/service/docdb/api_op_ModifyDBClusterParameterGroup.go index fce2d322f75..1ea384aa1bc 100644 --- a/service/docdb/api_op_ModifyDBClusterParameterGroup.go +++ b/service/docdb/api_op_ModifyDBClusterParameterGroup.go @@ -145,9 +145,6 @@ func (c *Client) addOperationModifyDBClusterParameterGroupMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyDBClusterParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_ModifyDBClusterSnapshotAttribute.go b/service/docdb/api_op_ModifyDBClusterSnapshotAttribute.go index 63b1a34b879..804998796ba 100644 --- a/service/docdb/api_op_ModifyDBClusterSnapshotAttribute.go +++ b/service/docdb/api_op_ModifyDBClusterSnapshotAttribute.go @@ -158,9 +158,6 @@ func (c *Client) addOperationModifyDBClusterSnapshotAttributeMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyDBClusterSnapshotAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_ModifyDBInstance.go b/service/docdb/api_op_ModifyDBInstance.go index c3a9cf0928d..f0b27a47862 100644 --- a/service/docdb/api_op_ModifyDBInstance.go +++ b/service/docdb/api_op_ModifyDBInstance.go @@ -227,9 +227,6 @@ func (c *Client) addOperationModifyDBInstanceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyDBInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_ModifyDBSubnetGroup.go b/service/docdb/api_op_ModifyDBSubnetGroup.go index 0d2796a43ef..9f953c8b78c 100644 --- a/service/docdb/api_op_ModifyDBSubnetGroup.go +++ b/service/docdb/api_op_ModifyDBSubnetGroup.go @@ -128,9 +128,6 @@ func (c *Client) addOperationModifyDBSubnetGroupMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyDBSubnetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_ModifyEventSubscription.go b/service/docdb/api_op_ModifyEventSubscription.go index fa0e5d8b0ae..3b6b788d7ad 100644 --- a/service/docdb/api_op_ModifyEventSubscription.go +++ b/service/docdb/api_op_ModifyEventSubscription.go @@ -130,9 +130,6 @@ func (c *Client) addOperationModifyEventSubscriptionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyEventSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_ModifyGlobalCluster.go b/service/docdb/api_op_ModifyGlobalCluster.go index 0c88d1f4c5b..2239bb174f3 100644 --- a/service/docdb/api_op_ModifyGlobalCluster.go +++ b/service/docdb/api_op_ModifyGlobalCluster.go @@ -139,9 +139,6 @@ func (c *Client) addOperationModifyGlobalClusterMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyGlobalClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_RebootDBInstance.go b/service/docdb/api_op_RebootDBInstance.go index 6231128b6bc..0e9d8962dfc 100644 --- a/service/docdb/api_op_RebootDBInstance.go +++ b/service/docdb/api_op_RebootDBInstance.go @@ -130,9 +130,6 @@ func (c *Client) addOperationRebootDBInstanceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRebootDBInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_RemoveFromGlobalCluster.go b/service/docdb/api_op_RemoveFromGlobalCluster.go index 0b79d48dce1..7a1b9df36d9 100644 --- a/service/docdb/api_op_RemoveFromGlobalCluster.go +++ b/service/docdb/api_op_RemoveFromGlobalCluster.go @@ -123,9 +123,6 @@ func (c *Client) addOperationRemoveFromGlobalClusterMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveFromGlobalClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_RemoveSourceIdentifierFromSubscription.go b/service/docdb/api_op_RemoveSourceIdentifierFromSubscription.go index 72913cbffcb..1f7d74d8109 100644 --- a/service/docdb/api_op_RemoveSourceIdentifierFromSubscription.go +++ b/service/docdb/api_op_RemoveSourceIdentifierFromSubscription.go @@ -121,9 +121,6 @@ func (c *Client) addOperationRemoveSourceIdentifierFromSubscriptionMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveSourceIdentifierFromSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_RemoveTagsFromResource.go b/service/docdb/api_op_RemoveTagsFromResource.go index ea8301c9557..676857aaaf3 100644 --- a/service/docdb/api_op_RemoveTagsFromResource.go +++ b/service/docdb/api_op_RemoveTagsFromResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationRemoveTagsFromResourceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveTagsFromResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_ResetDBClusterParameterGroup.go b/service/docdb/api_op_ResetDBClusterParameterGroup.go index a8ab6ac77f7..e22d677033c 100644 --- a/service/docdb/api_op_ResetDBClusterParameterGroup.go +++ b/service/docdb/api_op_ResetDBClusterParameterGroup.go @@ -143,9 +143,6 @@ func (c *Client) addOperationResetDBClusterParameterGroupMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResetDBClusterParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_RestoreDBClusterFromSnapshot.go b/service/docdb/api_op_RestoreDBClusterFromSnapshot.go index c6f8015d39f..06e70ad5484 100644 --- a/service/docdb/api_op_RestoreDBClusterFromSnapshot.go +++ b/service/docdb/api_op_RestoreDBClusterFromSnapshot.go @@ -231,9 +231,6 @@ func (c *Client) addOperationRestoreDBClusterFromSnapshotMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreDBClusterFromSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_RestoreDBClusterToPointInTime.go b/service/docdb/api_op_RestoreDBClusterToPointInTime.go index d3ce5ed3c34..a8913df9eb4 100644 --- a/service/docdb/api_op_RestoreDBClusterToPointInTime.go +++ b/service/docdb/api_op_RestoreDBClusterToPointInTime.go @@ -240,9 +240,6 @@ func (c *Client) addOperationRestoreDBClusterToPointInTimeMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreDBClusterToPointInTimeValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_StartDBCluster.go b/service/docdb/api_op_StartDBCluster.go index cb11475931e..c8061a4cd65 100644 --- a/service/docdb/api_op_StartDBCluster.go +++ b/service/docdb/api_op_StartDBCluster.go @@ -115,9 +115,6 @@ func (c *Client) addOperationStartDBClusterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartDBClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_StopDBCluster.go b/service/docdb/api_op_StopDBCluster.go index 008510b42e9..7fad5e670cb 100644 --- a/service/docdb/api_op_StopDBCluster.go +++ b/service/docdb/api_op_StopDBCluster.go @@ -115,9 +115,6 @@ func (c *Client) addOperationStopDBClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopDBClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/api_op_SwitchoverGlobalCluster.go b/service/docdb/api_op_SwitchoverGlobalCluster.go index 12b2d1bab94..494914a47c7 100644 --- a/service/docdb/api_op_SwitchoverGlobalCluster.go +++ b/service/docdb/api_op_SwitchoverGlobalCluster.go @@ -141,9 +141,6 @@ func (c *Client) addOperationSwitchoverGlobalClusterMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSwitchoverGlobalClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdb/snapshot/api_op_AddSourceIdentifierToSubscription.go.snap b/service/docdb/snapshot/api_op_AddSourceIdentifierToSubscription.go.snap index 68a5ef40d3c..004560ae937 100644 --- a/service/docdb/snapshot/api_op_AddSourceIdentifierToSubscription.go.snap +++ b/service/docdb/snapshot/api_op_AddSourceIdentifierToSubscription.go.snap @@ -14,7 +14,6 @@ AddSourceIdentifierToSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_AddTagsToResource.go.snap b/service/docdb/snapshot/api_op_AddTagsToResource.go.snap index adf3a58c167..23e3b3e3966 100644 --- a/service/docdb/snapshot/api_op_AddTagsToResource.go.snap +++ b/service/docdb/snapshot/api_op_AddTagsToResource.go.snap @@ -14,7 +14,6 @@ AddTagsToResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_ApplyPendingMaintenanceAction.go.snap b/service/docdb/snapshot/api_op_ApplyPendingMaintenanceAction.go.snap index 3ef78ec47c1..d30b93e6005 100644 --- a/service/docdb/snapshot/api_op_ApplyPendingMaintenanceAction.go.snap +++ b/service/docdb/snapshot/api_op_ApplyPendingMaintenanceAction.go.snap @@ -14,7 +14,6 @@ ApplyPendingMaintenanceAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_CopyDBClusterParameterGroup.go.snap b/service/docdb/snapshot/api_op_CopyDBClusterParameterGroup.go.snap index b4f0e7464e6..81e5726dec8 100644 --- a/service/docdb/snapshot/api_op_CopyDBClusterParameterGroup.go.snap +++ b/service/docdb/snapshot/api_op_CopyDBClusterParameterGroup.go.snap @@ -14,7 +14,6 @@ CopyDBClusterParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_CopyDBClusterSnapshot.go.snap b/service/docdb/snapshot/api_op_CopyDBClusterSnapshot.go.snap index e7947a43eac..b776bd588ae 100644 --- a/service/docdb/snapshot/api_op_CopyDBClusterSnapshot.go.snap +++ b/service/docdb/snapshot/api_op_CopyDBClusterSnapshot.go.snap @@ -15,7 +15,6 @@ CopyDBClusterSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_CreateDBCluster.go.snap b/service/docdb/snapshot/api_op_CreateDBCluster.go.snap index ccdb622c59a..172001bb45a 100644 --- a/service/docdb/snapshot/api_op_CreateDBCluster.go.snap +++ b/service/docdb/snapshot/api_op_CreateDBCluster.go.snap @@ -15,7 +15,6 @@ CreateDBCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_CreateDBClusterParameterGroup.go.snap b/service/docdb/snapshot/api_op_CreateDBClusterParameterGroup.go.snap index a952e153ea3..e17371408eb 100644 --- a/service/docdb/snapshot/api_op_CreateDBClusterParameterGroup.go.snap +++ b/service/docdb/snapshot/api_op_CreateDBClusterParameterGroup.go.snap @@ -14,7 +14,6 @@ CreateDBClusterParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_CreateDBClusterSnapshot.go.snap b/service/docdb/snapshot/api_op_CreateDBClusterSnapshot.go.snap index b9050be528a..764f5bc56ad 100644 --- a/service/docdb/snapshot/api_op_CreateDBClusterSnapshot.go.snap +++ b/service/docdb/snapshot/api_op_CreateDBClusterSnapshot.go.snap @@ -14,7 +14,6 @@ CreateDBClusterSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_CreateDBInstance.go.snap b/service/docdb/snapshot/api_op_CreateDBInstance.go.snap index 5b515f91073..29fbed300ab 100644 --- a/service/docdb/snapshot/api_op_CreateDBInstance.go.snap +++ b/service/docdb/snapshot/api_op_CreateDBInstance.go.snap @@ -14,7 +14,6 @@ CreateDBInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_CreateDBSubnetGroup.go.snap b/service/docdb/snapshot/api_op_CreateDBSubnetGroup.go.snap index 9c53c1d23ae..936610d7640 100644 --- a/service/docdb/snapshot/api_op_CreateDBSubnetGroup.go.snap +++ b/service/docdb/snapshot/api_op_CreateDBSubnetGroup.go.snap @@ -14,7 +14,6 @@ CreateDBSubnetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_CreateEventSubscription.go.snap b/service/docdb/snapshot/api_op_CreateEventSubscription.go.snap index 68d152a81b9..abaf183d2d8 100644 --- a/service/docdb/snapshot/api_op_CreateEventSubscription.go.snap +++ b/service/docdb/snapshot/api_op_CreateEventSubscription.go.snap @@ -14,7 +14,6 @@ CreateEventSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_CreateGlobalCluster.go.snap b/service/docdb/snapshot/api_op_CreateGlobalCluster.go.snap index eedca85868a..c3acf911a1d 100644 --- a/service/docdb/snapshot/api_op_CreateGlobalCluster.go.snap +++ b/service/docdb/snapshot/api_op_CreateGlobalCluster.go.snap @@ -14,7 +14,6 @@ CreateGlobalCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_DeleteDBCluster.go.snap b/service/docdb/snapshot/api_op_DeleteDBCluster.go.snap index c1324387368..029aa4c7771 100644 --- a/service/docdb/snapshot/api_op_DeleteDBCluster.go.snap +++ b/service/docdb/snapshot/api_op_DeleteDBCluster.go.snap @@ -14,7 +14,6 @@ DeleteDBCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_DeleteDBClusterParameterGroup.go.snap b/service/docdb/snapshot/api_op_DeleteDBClusterParameterGroup.go.snap index facc979c7e1..1e0c5d99826 100644 --- a/service/docdb/snapshot/api_op_DeleteDBClusterParameterGroup.go.snap +++ b/service/docdb/snapshot/api_op_DeleteDBClusterParameterGroup.go.snap @@ -14,7 +14,6 @@ DeleteDBClusterParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_DeleteDBClusterSnapshot.go.snap b/service/docdb/snapshot/api_op_DeleteDBClusterSnapshot.go.snap index 6b8e8aef56b..d77b8c6c200 100644 --- a/service/docdb/snapshot/api_op_DeleteDBClusterSnapshot.go.snap +++ b/service/docdb/snapshot/api_op_DeleteDBClusterSnapshot.go.snap @@ -14,7 +14,6 @@ DeleteDBClusterSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_DeleteDBInstance.go.snap b/service/docdb/snapshot/api_op_DeleteDBInstance.go.snap index d2b496adf73..fcb1623e06c 100644 --- a/service/docdb/snapshot/api_op_DeleteDBInstance.go.snap +++ b/service/docdb/snapshot/api_op_DeleteDBInstance.go.snap @@ -14,7 +14,6 @@ DeleteDBInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_DeleteDBSubnetGroup.go.snap b/service/docdb/snapshot/api_op_DeleteDBSubnetGroup.go.snap index abb0c44362e..ed03e5743aa 100644 --- a/service/docdb/snapshot/api_op_DeleteDBSubnetGroup.go.snap +++ b/service/docdb/snapshot/api_op_DeleteDBSubnetGroup.go.snap @@ -14,7 +14,6 @@ DeleteDBSubnetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_DeleteEventSubscription.go.snap b/service/docdb/snapshot/api_op_DeleteEventSubscription.go.snap index 02f527bc9d5..1bfd53e9563 100644 --- a/service/docdb/snapshot/api_op_DeleteEventSubscription.go.snap +++ b/service/docdb/snapshot/api_op_DeleteEventSubscription.go.snap @@ -14,7 +14,6 @@ DeleteEventSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_DeleteGlobalCluster.go.snap b/service/docdb/snapshot/api_op_DeleteGlobalCluster.go.snap index b0cbc29172b..f4c1a08fe2b 100644 --- a/service/docdb/snapshot/api_op_DeleteGlobalCluster.go.snap +++ b/service/docdb/snapshot/api_op_DeleteGlobalCluster.go.snap @@ -14,7 +14,6 @@ DeleteGlobalCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_DescribeCertificates.go.snap b/service/docdb/snapshot/api_op_DescribeCertificates.go.snap index 833d96f5239..23918da991f 100644 --- a/service/docdb/snapshot/api_op_DescribeCertificates.go.snap +++ b/service/docdb/snapshot/api_op_DescribeCertificates.go.snap @@ -14,7 +14,6 @@ DescribeCertificates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_DescribeDBClusterParameterGroups.go.snap b/service/docdb/snapshot/api_op_DescribeDBClusterParameterGroups.go.snap index d2c722ff4c2..03fd185d044 100644 --- a/service/docdb/snapshot/api_op_DescribeDBClusterParameterGroups.go.snap +++ b/service/docdb/snapshot/api_op_DescribeDBClusterParameterGroups.go.snap @@ -14,7 +14,6 @@ DescribeDBClusterParameterGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_DescribeDBClusterParameters.go.snap b/service/docdb/snapshot/api_op_DescribeDBClusterParameters.go.snap index f3e2e565999..50bdfdd9e29 100644 --- a/service/docdb/snapshot/api_op_DescribeDBClusterParameters.go.snap +++ b/service/docdb/snapshot/api_op_DescribeDBClusterParameters.go.snap @@ -14,7 +14,6 @@ DescribeDBClusterParameters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_DescribeDBClusterSnapshotAttributes.go.snap b/service/docdb/snapshot/api_op_DescribeDBClusterSnapshotAttributes.go.snap index 7314e53cb22..8bb8a90bbca 100644 --- a/service/docdb/snapshot/api_op_DescribeDBClusterSnapshotAttributes.go.snap +++ b/service/docdb/snapshot/api_op_DescribeDBClusterSnapshotAttributes.go.snap @@ -14,7 +14,6 @@ DescribeDBClusterSnapshotAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_DescribeDBClusterSnapshots.go.snap b/service/docdb/snapshot/api_op_DescribeDBClusterSnapshots.go.snap index 2d4352f765e..a73c54b4529 100644 --- a/service/docdb/snapshot/api_op_DescribeDBClusterSnapshots.go.snap +++ b/service/docdb/snapshot/api_op_DescribeDBClusterSnapshots.go.snap @@ -14,7 +14,6 @@ DescribeDBClusterSnapshots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_DescribeDBClusters.go.snap b/service/docdb/snapshot/api_op_DescribeDBClusters.go.snap index 9fd17dae342..64c2ff6a7d2 100644 --- a/service/docdb/snapshot/api_op_DescribeDBClusters.go.snap +++ b/service/docdb/snapshot/api_op_DescribeDBClusters.go.snap @@ -14,7 +14,6 @@ DescribeDBClusters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_DescribeDBEngineVersions.go.snap b/service/docdb/snapshot/api_op_DescribeDBEngineVersions.go.snap index bad2d24380d..d328d299fae 100644 --- a/service/docdb/snapshot/api_op_DescribeDBEngineVersions.go.snap +++ b/service/docdb/snapshot/api_op_DescribeDBEngineVersions.go.snap @@ -14,7 +14,6 @@ DescribeDBEngineVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_DescribeDBInstances.go.snap b/service/docdb/snapshot/api_op_DescribeDBInstances.go.snap index d82efb78caa..8433cb55988 100644 --- a/service/docdb/snapshot/api_op_DescribeDBInstances.go.snap +++ b/service/docdb/snapshot/api_op_DescribeDBInstances.go.snap @@ -14,7 +14,6 @@ DescribeDBInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_DescribeDBSubnetGroups.go.snap b/service/docdb/snapshot/api_op_DescribeDBSubnetGroups.go.snap index 142d71a4487..74b6ddc3746 100644 --- a/service/docdb/snapshot/api_op_DescribeDBSubnetGroups.go.snap +++ b/service/docdb/snapshot/api_op_DescribeDBSubnetGroups.go.snap @@ -14,7 +14,6 @@ DescribeDBSubnetGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_DescribeEngineDefaultClusterParameters.go.snap b/service/docdb/snapshot/api_op_DescribeEngineDefaultClusterParameters.go.snap index 15eccdd66a7..b19a1ad9888 100644 --- a/service/docdb/snapshot/api_op_DescribeEngineDefaultClusterParameters.go.snap +++ b/service/docdb/snapshot/api_op_DescribeEngineDefaultClusterParameters.go.snap @@ -14,7 +14,6 @@ DescribeEngineDefaultClusterParameters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_DescribeEventCategories.go.snap b/service/docdb/snapshot/api_op_DescribeEventCategories.go.snap index 79ac1344ef4..66357b7c577 100644 --- a/service/docdb/snapshot/api_op_DescribeEventCategories.go.snap +++ b/service/docdb/snapshot/api_op_DescribeEventCategories.go.snap @@ -14,7 +14,6 @@ DescribeEventCategories Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_DescribeEventSubscriptions.go.snap b/service/docdb/snapshot/api_op_DescribeEventSubscriptions.go.snap index ff2b6980db8..96179ea21c2 100644 --- a/service/docdb/snapshot/api_op_DescribeEventSubscriptions.go.snap +++ b/service/docdb/snapshot/api_op_DescribeEventSubscriptions.go.snap @@ -14,7 +14,6 @@ DescribeEventSubscriptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_DescribeEvents.go.snap b/service/docdb/snapshot/api_op_DescribeEvents.go.snap index d4b92015d81..7a366dd1cf9 100644 --- a/service/docdb/snapshot/api_op_DescribeEvents.go.snap +++ b/service/docdb/snapshot/api_op_DescribeEvents.go.snap @@ -14,7 +14,6 @@ DescribeEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_DescribeGlobalClusters.go.snap b/service/docdb/snapshot/api_op_DescribeGlobalClusters.go.snap index e9007236072..e46024d371d 100644 --- a/service/docdb/snapshot/api_op_DescribeGlobalClusters.go.snap +++ b/service/docdb/snapshot/api_op_DescribeGlobalClusters.go.snap @@ -14,7 +14,6 @@ DescribeGlobalClusters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_DescribeOrderableDBInstanceOptions.go.snap b/service/docdb/snapshot/api_op_DescribeOrderableDBInstanceOptions.go.snap index 6a595d9d1f2..91ca3932ea5 100644 --- a/service/docdb/snapshot/api_op_DescribeOrderableDBInstanceOptions.go.snap +++ b/service/docdb/snapshot/api_op_DescribeOrderableDBInstanceOptions.go.snap @@ -14,7 +14,6 @@ DescribeOrderableDBInstanceOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_DescribePendingMaintenanceActions.go.snap b/service/docdb/snapshot/api_op_DescribePendingMaintenanceActions.go.snap index 56165855a0e..6a5fc44c87f 100644 --- a/service/docdb/snapshot/api_op_DescribePendingMaintenanceActions.go.snap +++ b/service/docdb/snapshot/api_op_DescribePendingMaintenanceActions.go.snap @@ -14,7 +14,6 @@ DescribePendingMaintenanceActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_FailoverDBCluster.go.snap b/service/docdb/snapshot/api_op_FailoverDBCluster.go.snap index 3e4d9267bf7..beacd9425d5 100644 --- a/service/docdb/snapshot/api_op_FailoverDBCluster.go.snap +++ b/service/docdb/snapshot/api_op_FailoverDBCluster.go.snap @@ -13,7 +13,6 @@ FailoverDBCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_FailoverGlobalCluster.go.snap b/service/docdb/snapshot/api_op_FailoverGlobalCluster.go.snap index 04131a30017..fb973f09386 100644 --- a/service/docdb/snapshot/api_op_FailoverGlobalCluster.go.snap +++ b/service/docdb/snapshot/api_op_FailoverGlobalCluster.go.snap @@ -14,7 +14,6 @@ FailoverGlobalCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_ListTagsForResource.go.snap b/service/docdb/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/docdb/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/docdb/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_ModifyDBCluster.go.snap b/service/docdb/snapshot/api_op_ModifyDBCluster.go.snap index 69410d7a268..66af8f96297 100644 --- a/service/docdb/snapshot/api_op_ModifyDBCluster.go.snap +++ b/service/docdb/snapshot/api_op_ModifyDBCluster.go.snap @@ -14,7 +14,6 @@ ModifyDBCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_ModifyDBClusterParameterGroup.go.snap b/service/docdb/snapshot/api_op_ModifyDBClusterParameterGroup.go.snap index e1183329c85..c29b83c9056 100644 --- a/service/docdb/snapshot/api_op_ModifyDBClusterParameterGroup.go.snap +++ b/service/docdb/snapshot/api_op_ModifyDBClusterParameterGroup.go.snap @@ -14,7 +14,6 @@ ModifyDBClusterParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_ModifyDBClusterSnapshotAttribute.go.snap b/service/docdb/snapshot/api_op_ModifyDBClusterSnapshotAttribute.go.snap index 6bc7f22e6a0..d3c38ed76ca 100644 --- a/service/docdb/snapshot/api_op_ModifyDBClusterSnapshotAttribute.go.snap +++ b/service/docdb/snapshot/api_op_ModifyDBClusterSnapshotAttribute.go.snap @@ -14,7 +14,6 @@ ModifyDBClusterSnapshotAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_ModifyDBInstance.go.snap b/service/docdb/snapshot/api_op_ModifyDBInstance.go.snap index 3c86f5c5fd5..c97ef2c5505 100644 --- a/service/docdb/snapshot/api_op_ModifyDBInstance.go.snap +++ b/service/docdb/snapshot/api_op_ModifyDBInstance.go.snap @@ -14,7 +14,6 @@ ModifyDBInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_ModifyDBSubnetGroup.go.snap b/service/docdb/snapshot/api_op_ModifyDBSubnetGroup.go.snap index 1f42b602ae8..e4e52ea89c4 100644 --- a/service/docdb/snapshot/api_op_ModifyDBSubnetGroup.go.snap +++ b/service/docdb/snapshot/api_op_ModifyDBSubnetGroup.go.snap @@ -14,7 +14,6 @@ ModifyDBSubnetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_ModifyEventSubscription.go.snap b/service/docdb/snapshot/api_op_ModifyEventSubscription.go.snap index 0facf4e0e8f..805942e17a2 100644 --- a/service/docdb/snapshot/api_op_ModifyEventSubscription.go.snap +++ b/service/docdb/snapshot/api_op_ModifyEventSubscription.go.snap @@ -14,7 +14,6 @@ ModifyEventSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_ModifyGlobalCluster.go.snap b/service/docdb/snapshot/api_op_ModifyGlobalCluster.go.snap index ab24aeedd74..33fa9005c5b 100644 --- a/service/docdb/snapshot/api_op_ModifyGlobalCluster.go.snap +++ b/service/docdb/snapshot/api_op_ModifyGlobalCluster.go.snap @@ -14,7 +14,6 @@ ModifyGlobalCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_RebootDBInstance.go.snap b/service/docdb/snapshot/api_op_RebootDBInstance.go.snap index ebaac068bfe..2d5f470fcdf 100644 --- a/service/docdb/snapshot/api_op_RebootDBInstance.go.snap +++ b/service/docdb/snapshot/api_op_RebootDBInstance.go.snap @@ -14,7 +14,6 @@ RebootDBInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_RemoveFromGlobalCluster.go.snap b/service/docdb/snapshot/api_op_RemoveFromGlobalCluster.go.snap index 5da81ab00b1..436a037c9e0 100644 --- a/service/docdb/snapshot/api_op_RemoveFromGlobalCluster.go.snap +++ b/service/docdb/snapshot/api_op_RemoveFromGlobalCluster.go.snap @@ -14,7 +14,6 @@ RemoveFromGlobalCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_RemoveSourceIdentifierFromSubscription.go.snap b/service/docdb/snapshot/api_op_RemoveSourceIdentifierFromSubscription.go.snap index ec13206d8ed..c262fef59a5 100644 --- a/service/docdb/snapshot/api_op_RemoveSourceIdentifierFromSubscription.go.snap +++ b/service/docdb/snapshot/api_op_RemoveSourceIdentifierFromSubscription.go.snap @@ -14,7 +14,6 @@ RemoveSourceIdentifierFromSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_RemoveTagsFromResource.go.snap b/service/docdb/snapshot/api_op_RemoveTagsFromResource.go.snap index e43df9156ac..48a29e492e9 100644 --- a/service/docdb/snapshot/api_op_RemoveTagsFromResource.go.snap +++ b/service/docdb/snapshot/api_op_RemoveTagsFromResource.go.snap @@ -14,7 +14,6 @@ RemoveTagsFromResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_ResetDBClusterParameterGroup.go.snap b/service/docdb/snapshot/api_op_ResetDBClusterParameterGroup.go.snap index 78989d7942f..b1ae46b23e5 100644 --- a/service/docdb/snapshot/api_op_ResetDBClusterParameterGroup.go.snap +++ b/service/docdb/snapshot/api_op_ResetDBClusterParameterGroup.go.snap @@ -14,7 +14,6 @@ ResetDBClusterParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_RestoreDBClusterFromSnapshot.go.snap b/service/docdb/snapshot/api_op_RestoreDBClusterFromSnapshot.go.snap index f3f5f5db007..4303819021c 100644 --- a/service/docdb/snapshot/api_op_RestoreDBClusterFromSnapshot.go.snap +++ b/service/docdb/snapshot/api_op_RestoreDBClusterFromSnapshot.go.snap @@ -14,7 +14,6 @@ RestoreDBClusterFromSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_RestoreDBClusterToPointInTime.go.snap b/service/docdb/snapshot/api_op_RestoreDBClusterToPointInTime.go.snap index 4acc3f0c4cf..b8e0609eb0b 100644 --- a/service/docdb/snapshot/api_op_RestoreDBClusterToPointInTime.go.snap +++ b/service/docdb/snapshot/api_op_RestoreDBClusterToPointInTime.go.snap @@ -14,7 +14,6 @@ RestoreDBClusterToPointInTime Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_StartDBCluster.go.snap b/service/docdb/snapshot/api_op_StartDBCluster.go.snap index 050579b0cca..c8fdca72110 100644 --- a/service/docdb/snapshot/api_op_StartDBCluster.go.snap +++ b/service/docdb/snapshot/api_op_StartDBCluster.go.snap @@ -14,7 +14,6 @@ StartDBCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_StopDBCluster.go.snap b/service/docdb/snapshot/api_op_StopDBCluster.go.snap index 42e3cd5606f..8235a032291 100644 --- a/service/docdb/snapshot/api_op_StopDBCluster.go.snap +++ b/service/docdb/snapshot/api_op_StopDBCluster.go.snap @@ -14,7 +14,6 @@ StopDBCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdb/snapshot/api_op_SwitchoverGlobalCluster.go.snap b/service/docdb/snapshot/api_op_SwitchoverGlobalCluster.go.snap index 891024897d3..1ad1c85c3e0 100644 --- a/service/docdb/snapshot/api_op_SwitchoverGlobalCluster.go.snap +++ b/service/docdb/snapshot/api_op_SwitchoverGlobalCluster.go.snap @@ -14,7 +14,6 @@ SwitchoverGlobalCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdbelastic/api_client.go b/service/docdbelastic/api_client.go index 5d8c29548ad..7e81fe581f6 100644 --- a/service/docdbelastic/api_client.go +++ b/service/docdbelastic/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/docdbelastic/api_op_ApplyPendingMaintenanceAction.go b/service/docdbelastic/api_op_ApplyPendingMaintenanceAction.go index 67962203562..e48998656bb 100644 --- a/service/docdbelastic/api_op_ApplyPendingMaintenanceAction.go +++ b/service/docdbelastic/api_op_ApplyPendingMaintenanceAction.go @@ -142,9 +142,6 @@ func (c *Client) addOperationApplyPendingMaintenanceActionMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpApplyPendingMaintenanceActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdbelastic/api_op_CopyClusterSnapshot.go b/service/docdbelastic/api_op_CopyClusterSnapshot.go index a483b290436..1cfe7151551 100644 --- a/service/docdbelastic/api_op_CopyClusterSnapshot.go +++ b/service/docdbelastic/api_op_CopyClusterSnapshot.go @@ -159,9 +159,6 @@ func (c *Client) addOperationCopyClusterSnapshotMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCopyClusterSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdbelastic/api_op_CreateCluster.go b/service/docdbelastic/api_op_CreateCluster.go index f44411723e5..7eec1cca6f5 100644 --- a/service/docdbelastic/api_op_CreateCluster.go +++ b/service/docdbelastic/api_op_CreateCluster.go @@ -219,9 +219,6 @@ func (c *Client) addOperationCreateClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateClusterMiddleware(stack, options); err != nil { return err } diff --git a/service/docdbelastic/api_op_CreateClusterSnapshot.go b/service/docdbelastic/api_op_CreateClusterSnapshot.go index 1543e28bc02..26c1ede69b6 100644 --- a/service/docdbelastic/api_op_CreateClusterSnapshot.go +++ b/service/docdbelastic/api_op_CreateClusterSnapshot.go @@ -123,9 +123,6 @@ func (c *Client) addOperationCreateClusterSnapshotMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateClusterSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdbelastic/api_op_DeleteCluster.go b/service/docdbelastic/api_op_DeleteCluster.go index acf32369f44..086ac9e584e 100644 --- a/service/docdbelastic/api_op_DeleteCluster.go +++ b/service/docdbelastic/api_op_DeleteCluster.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdbelastic/api_op_DeleteClusterSnapshot.go b/service/docdbelastic/api_op_DeleteClusterSnapshot.go index 8946b673a39..3749cf8dab1 100644 --- a/service/docdbelastic/api_op_DeleteClusterSnapshot.go +++ b/service/docdbelastic/api_op_DeleteClusterSnapshot.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteClusterSnapshotMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteClusterSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdbelastic/api_op_GetCluster.go b/service/docdbelastic/api_op_GetCluster.go index 26dceb801c1..a7b3b0fd4f8 100644 --- a/service/docdbelastic/api_op_GetCluster.go +++ b/service/docdbelastic/api_op_GetCluster.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetClusterMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdbelastic/api_op_GetClusterSnapshot.go b/service/docdbelastic/api_op_GetClusterSnapshot.go index 8d30238b463..20f8893ff59 100644 --- a/service/docdbelastic/api_op_GetClusterSnapshot.go +++ b/service/docdbelastic/api_op_GetClusterSnapshot.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetClusterSnapshotMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetClusterSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdbelastic/api_op_GetPendingMaintenanceAction.go b/service/docdbelastic/api_op_GetPendingMaintenanceAction.go index e11e85afad7..3a8b0e1c090 100644 --- a/service/docdbelastic/api_op_GetPendingMaintenanceAction.go +++ b/service/docdbelastic/api_op_GetPendingMaintenanceAction.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetPendingMaintenanceActionMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPendingMaintenanceActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdbelastic/api_op_ListClusterSnapshots.go b/service/docdbelastic/api_op_ListClusterSnapshots.go index 96356476cf6..27e2a568630 100644 --- a/service/docdbelastic/api_op_ListClusterSnapshots.go +++ b/service/docdbelastic/api_op_ListClusterSnapshots.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListClusterSnapshotsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListClusterSnapshots(options.Region), middleware.Before); err != nil { return err } diff --git a/service/docdbelastic/api_op_ListClusters.go b/service/docdbelastic/api_op_ListClusters.go index d6a48bc3911..efad3328854 100644 --- a/service/docdbelastic/api_op_ListClusters.go +++ b/service/docdbelastic/api_op_ListClusters.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListClustersMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListClusters(options.Region), middleware.Before); err != nil { return err } diff --git a/service/docdbelastic/api_op_ListPendingMaintenanceActions.go b/service/docdbelastic/api_op_ListPendingMaintenanceActions.go index 2c73d2d485f..d8f0f8d6e55 100644 --- a/service/docdbelastic/api_op_ListPendingMaintenanceActions.go +++ b/service/docdbelastic/api_op_ListPendingMaintenanceActions.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListPendingMaintenanceActionsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPendingMaintenanceActions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/docdbelastic/api_op_ListTagsForResource.go b/service/docdbelastic/api_op_ListTagsForResource.go index 0bf29b3a26a..365383c8653 100644 --- a/service/docdbelastic/api_op_ListTagsForResource.go +++ b/service/docdbelastic/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdbelastic/api_op_RestoreClusterFromSnapshot.go b/service/docdbelastic/api_op_RestoreClusterFromSnapshot.go index 086428efade..97fee5dc529 100644 --- a/service/docdbelastic/api_op_RestoreClusterFromSnapshot.go +++ b/service/docdbelastic/api_op_RestoreClusterFromSnapshot.go @@ -152,9 +152,6 @@ func (c *Client) addOperationRestoreClusterFromSnapshotMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreClusterFromSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdbelastic/api_op_StartCluster.go b/service/docdbelastic/api_op_StartCluster.go index 61168a0cf1a..77233186404 100644 --- a/service/docdbelastic/api_op_StartCluster.go +++ b/service/docdbelastic/api_op_StartCluster.go @@ -114,9 +114,6 @@ func (c *Client) addOperationStartClusterMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdbelastic/api_op_StopCluster.go b/service/docdbelastic/api_op_StopCluster.go index 20f29b31bc0..adb76cccc64 100644 --- a/service/docdbelastic/api_op_StopCluster.go +++ b/service/docdbelastic/api_op_StopCluster.go @@ -115,9 +115,6 @@ func (c *Client) addOperationStopClusterMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdbelastic/api_op_TagResource.go b/service/docdbelastic/api_op_TagResource.go index da35c2a3ca5..8af65cf756e 100644 --- a/service/docdbelastic/api_op_TagResource.go +++ b/service/docdbelastic/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdbelastic/api_op_UntagResource.go b/service/docdbelastic/api_op_UntagResource.go index 9eee0bf9d76..9ffce2968bd 100644 --- a/service/docdbelastic/api_op_UntagResource.go +++ b/service/docdbelastic/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/docdbelastic/api_op_UpdateCluster.go b/service/docdbelastic/api_op_UpdateCluster.go index dfd539d71ab..a93385a411f 100644 --- a/service/docdbelastic/api_op_UpdateCluster.go +++ b/service/docdbelastic/api_op_UpdateCluster.go @@ -168,9 +168,6 @@ func (c *Client) addOperationUpdateClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateClusterMiddleware(stack, options); err != nil { return err } diff --git a/service/docdbelastic/snapshot/api_op_ApplyPendingMaintenanceAction.go.snap b/service/docdbelastic/snapshot/api_op_ApplyPendingMaintenanceAction.go.snap index 3ef78ec47c1..d30b93e6005 100644 --- a/service/docdbelastic/snapshot/api_op_ApplyPendingMaintenanceAction.go.snap +++ b/service/docdbelastic/snapshot/api_op_ApplyPendingMaintenanceAction.go.snap @@ -14,7 +14,6 @@ ApplyPendingMaintenanceAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdbelastic/snapshot/api_op_CopyClusterSnapshot.go.snap b/service/docdbelastic/snapshot/api_op_CopyClusterSnapshot.go.snap index e14716a87a8..fb594615c9e 100644 --- a/service/docdbelastic/snapshot/api_op_CopyClusterSnapshot.go.snap +++ b/service/docdbelastic/snapshot/api_op_CopyClusterSnapshot.go.snap @@ -14,7 +14,6 @@ CopyClusterSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdbelastic/snapshot/api_op_CreateCluster.go.snap b/service/docdbelastic/snapshot/api_op_CreateCluster.go.snap index cc20b56b767..404c2be2c9c 100644 --- a/service/docdbelastic/snapshot/api_op_CreateCluster.go.snap +++ b/service/docdbelastic/snapshot/api_op_CreateCluster.go.snap @@ -15,7 +15,6 @@ CreateCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdbelastic/snapshot/api_op_CreateClusterSnapshot.go.snap b/service/docdbelastic/snapshot/api_op_CreateClusterSnapshot.go.snap index e8b0057023a..5d117d53957 100644 --- a/service/docdbelastic/snapshot/api_op_CreateClusterSnapshot.go.snap +++ b/service/docdbelastic/snapshot/api_op_CreateClusterSnapshot.go.snap @@ -14,7 +14,6 @@ CreateClusterSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdbelastic/snapshot/api_op_DeleteCluster.go.snap b/service/docdbelastic/snapshot/api_op_DeleteCluster.go.snap index 8eeb23b33c5..9df5248d4d6 100644 --- a/service/docdbelastic/snapshot/api_op_DeleteCluster.go.snap +++ b/service/docdbelastic/snapshot/api_op_DeleteCluster.go.snap @@ -14,7 +14,6 @@ DeleteCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdbelastic/snapshot/api_op_DeleteClusterSnapshot.go.snap b/service/docdbelastic/snapshot/api_op_DeleteClusterSnapshot.go.snap index c6328211748..a3c511eca78 100644 --- a/service/docdbelastic/snapshot/api_op_DeleteClusterSnapshot.go.snap +++ b/service/docdbelastic/snapshot/api_op_DeleteClusterSnapshot.go.snap @@ -14,7 +14,6 @@ DeleteClusterSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdbelastic/snapshot/api_op_GetCluster.go.snap b/service/docdbelastic/snapshot/api_op_GetCluster.go.snap index ef54c50a47e..1e661d8fafb 100644 --- a/service/docdbelastic/snapshot/api_op_GetCluster.go.snap +++ b/service/docdbelastic/snapshot/api_op_GetCluster.go.snap @@ -14,7 +14,6 @@ GetCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdbelastic/snapshot/api_op_GetClusterSnapshot.go.snap b/service/docdbelastic/snapshot/api_op_GetClusterSnapshot.go.snap index a4e1bc054ec..cba3b71337a 100644 --- a/service/docdbelastic/snapshot/api_op_GetClusterSnapshot.go.snap +++ b/service/docdbelastic/snapshot/api_op_GetClusterSnapshot.go.snap @@ -14,7 +14,6 @@ GetClusterSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdbelastic/snapshot/api_op_GetPendingMaintenanceAction.go.snap b/service/docdbelastic/snapshot/api_op_GetPendingMaintenanceAction.go.snap index db6db07ac4f..3efce5859e2 100644 --- a/service/docdbelastic/snapshot/api_op_GetPendingMaintenanceAction.go.snap +++ b/service/docdbelastic/snapshot/api_op_GetPendingMaintenanceAction.go.snap @@ -14,7 +14,6 @@ GetPendingMaintenanceAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdbelastic/snapshot/api_op_ListClusterSnapshots.go.snap b/service/docdbelastic/snapshot/api_op_ListClusterSnapshots.go.snap index 7d4c0afa04c..f2794d622bb 100644 --- a/service/docdbelastic/snapshot/api_op_ListClusterSnapshots.go.snap +++ b/service/docdbelastic/snapshot/api_op_ListClusterSnapshots.go.snap @@ -13,7 +13,6 @@ ListClusterSnapshots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdbelastic/snapshot/api_op_ListClusters.go.snap b/service/docdbelastic/snapshot/api_op_ListClusters.go.snap index 48cbced5e1f..949fd968ca2 100644 --- a/service/docdbelastic/snapshot/api_op_ListClusters.go.snap +++ b/service/docdbelastic/snapshot/api_op_ListClusters.go.snap @@ -13,7 +13,6 @@ ListClusters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdbelastic/snapshot/api_op_ListPendingMaintenanceActions.go.snap b/service/docdbelastic/snapshot/api_op_ListPendingMaintenanceActions.go.snap index 0b1413b6256..ac85ada1c67 100644 --- a/service/docdbelastic/snapshot/api_op_ListPendingMaintenanceActions.go.snap +++ b/service/docdbelastic/snapshot/api_op_ListPendingMaintenanceActions.go.snap @@ -13,7 +13,6 @@ ListPendingMaintenanceActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdbelastic/snapshot/api_op_ListTagsForResource.go.snap b/service/docdbelastic/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/docdbelastic/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/docdbelastic/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdbelastic/snapshot/api_op_RestoreClusterFromSnapshot.go.snap b/service/docdbelastic/snapshot/api_op_RestoreClusterFromSnapshot.go.snap index d930545255e..6d040ab21d9 100644 --- a/service/docdbelastic/snapshot/api_op_RestoreClusterFromSnapshot.go.snap +++ b/service/docdbelastic/snapshot/api_op_RestoreClusterFromSnapshot.go.snap @@ -14,7 +14,6 @@ RestoreClusterFromSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdbelastic/snapshot/api_op_StartCluster.go.snap b/service/docdbelastic/snapshot/api_op_StartCluster.go.snap index eff56bcf5d7..e3dc83e8607 100644 --- a/service/docdbelastic/snapshot/api_op_StartCluster.go.snap +++ b/service/docdbelastic/snapshot/api_op_StartCluster.go.snap @@ -14,7 +14,6 @@ StartCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdbelastic/snapshot/api_op_StopCluster.go.snap b/service/docdbelastic/snapshot/api_op_StopCluster.go.snap index f2d29cdb482..ce75625a464 100644 --- a/service/docdbelastic/snapshot/api_op_StopCluster.go.snap +++ b/service/docdbelastic/snapshot/api_op_StopCluster.go.snap @@ -14,7 +14,6 @@ StopCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdbelastic/snapshot/api_op_TagResource.go.snap b/service/docdbelastic/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/docdbelastic/snapshot/api_op_TagResource.go.snap +++ b/service/docdbelastic/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdbelastic/snapshot/api_op_UntagResource.go.snap b/service/docdbelastic/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/docdbelastic/snapshot/api_op_UntagResource.go.snap +++ b/service/docdbelastic/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/docdbelastic/snapshot/api_op_UpdateCluster.go.snap b/service/docdbelastic/snapshot/api_op_UpdateCluster.go.snap index 55ac57024e7..669342151ac 100644 --- a/service/docdbelastic/snapshot/api_op_UpdateCluster.go.snap +++ b/service/docdbelastic/snapshot/api_op_UpdateCluster.go.snap @@ -15,7 +15,6 @@ UpdateCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/api_client.go b/service/drs/api_client.go index cca07d24ea3..82e48ae60ec 100644 --- a/service/drs/api_client.go +++ b/service/drs/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/drs/api_op_AssociateSourceNetworkStack.go b/service/drs/api_op_AssociateSourceNetworkStack.go index b41869e0843..4daad255c2f 100644 --- a/service/drs/api_op_AssociateSourceNetworkStack.go +++ b/service/drs/api_op_AssociateSourceNetworkStack.go @@ -119,9 +119,6 @@ func (c *Client) addOperationAssociateSourceNetworkStackMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateSourceNetworkStackValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_CreateExtendedSourceServer.go b/service/drs/api_op_CreateExtendedSourceServer.go index 8f29740db03..9c808c0cd2b 100644 --- a/service/drs/api_op_CreateExtendedSourceServer.go +++ b/service/drs/api_op_CreateExtendedSourceServer.go @@ -117,9 +117,6 @@ func (c *Client) addOperationCreateExtendedSourceServerMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateExtendedSourceServerValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_CreateLaunchConfigurationTemplate.go b/service/drs/api_op_CreateLaunchConfigurationTemplate.go index e02d75b1399..d0cb9295891 100644 --- a/service/drs/api_op_CreateLaunchConfigurationTemplate.go +++ b/service/drs/api_op_CreateLaunchConfigurationTemplate.go @@ -136,9 +136,6 @@ func (c *Client) addOperationCreateLaunchConfigurationTemplateMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLaunchConfigurationTemplate(options.Region), middleware.Before); err != nil { return err } diff --git a/service/drs/api_op_CreateReplicationConfigurationTemplate.go b/service/drs/api_op_CreateReplicationConfigurationTemplate.go index ec44e2a1a89..eabe5614a48 100644 --- a/service/drs/api_op_CreateReplicationConfigurationTemplate.go +++ b/service/drs/api_op_CreateReplicationConfigurationTemplate.go @@ -236,9 +236,6 @@ func (c *Client) addOperationCreateReplicationConfigurationTemplateMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateReplicationConfigurationTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_CreateSourceNetwork.go b/service/drs/api_op_CreateSourceNetwork.go index 93253d20d94..5e98c1796af 100644 --- a/service/drs/api_op_CreateSourceNetwork.go +++ b/service/drs/api_op_CreateSourceNetwork.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCreateSourceNetworkMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSourceNetworkValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_DeleteJob.go b/service/drs/api_op_DeleteJob.go index 9287c7f9fa5..a64fa734be7 100644 --- a/service/drs/api_op_DeleteJob.go +++ b/service/drs/api_op_DeleteJob.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteJobMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_DeleteLaunchAction.go b/service/drs/api_op_DeleteLaunchAction.go index c93e24493d9..7271e6ce4a0 100644 --- a/service/drs/api_op_DeleteLaunchAction.go +++ b/service/drs/api_op_DeleteLaunchAction.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteLaunchActionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLaunchActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_DeleteLaunchConfigurationTemplate.go b/service/drs/api_op_DeleteLaunchConfigurationTemplate.go index 3cf416fb845..a9682fa4acc 100644 --- a/service/drs/api_op_DeleteLaunchConfigurationTemplate.go +++ b/service/drs/api_op_DeleteLaunchConfigurationTemplate.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteLaunchConfigurationTemplateMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLaunchConfigurationTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_DeleteRecoveryInstance.go b/service/drs/api_op_DeleteRecoveryInstance.go index 85bc28ddbd8..034cb471d65 100644 --- a/service/drs/api_op_DeleteRecoveryInstance.go +++ b/service/drs/api_op_DeleteRecoveryInstance.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteRecoveryInstanceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRecoveryInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_DeleteReplicationConfigurationTemplate.go b/service/drs/api_op_DeleteReplicationConfigurationTemplate.go index cd6c6b7ab74..5b8c370d3fd 100644 --- a/service/drs/api_op_DeleteReplicationConfigurationTemplate.go +++ b/service/drs/api_op_DeleteReplicationConfigurationTemplate.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteReplicationConfigurationTemplateMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteReplicationConfigurationTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_DeleteSourceNetwork.go b/service/drs/api_op_DeleteSourceNetwork.go index d94cf6a7dee..71df496bd22 100644 --- a/service/drs/api_op_DeleteSourceNetwork.go +++ b/service/drs/api_op_DeleteSourceNetwork.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteSourceNetworkMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSourceNetworkValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_DeleteSourceServer.go b/service/drs/api_op_DeleteSourceServer.go index d2b0dd91a8b..cbfd616403e 100644 --- a/service/drs/api_op_DeleteSourceServer.go +++ b/service/drs/api_op_DeleteSourceServer.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteSourceServerMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSourceServerValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_DescribeJobLogItems.go b/service/drs/api_op_DescribeJobLogItems.go index 9a93e2de272..ab87eb25351 100644 --- a/service/drs/api_op_DescribeJobLogItems.go +++ b/service/drs/api_op_DescribeJobLogItems.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeJobLogItemsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeJobLogItemsValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_DescribeJobs.go b/service/drs/api_op_DescribeJobs.go index 19cb07d9200..e9edbd17edf 100644 --- a/service/drs/api_op_DescribeJobs.go +++ b/service/drs/api_op_DescribeJobs.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeJobsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/drs/api_op_DescribeLaunchConfigurationTemplates.go b/service/drs/api_op_DescribeLaunchConfigurationTemplates.go index 92f1fb38bbd..fa448412113 100644 --- a/service/drs/api_op_DescribeLaunchConfigurationTemplates.go +++ b/service/drs/api_op_DescribeLaunchConfigurationTemplates.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeLaunchConfigurationTemplatesMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLaunchConfigurationTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/drs/api_op_DescribeRecoveryInstances.go b/service/drs/api_op_DescribeRecoveryInstances.go index f6f3455056f..2ea04d062ca 100644 --- a/service/drs/api_op_DescribeRecoveryInstances.go +++ b/service/drs/api_op_DescribeRecoveryInstances.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeRecoveryInstancesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRecoveryInstances(options.Region), middleware.Before); err != nil { return err } diff --git a/service/drs/api_op_DescribeRecoverySnapshots.go b/service/drs/api_op_DescribeRecoverySnapshots.go index 21a12c9b224..b7491ae4b2f 100644 --- a/service/drs/api_op_DescribeRecoverySnapshots.go +++ b/service/drs/api_op_DescribeRecoverySnapshots.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeRecoverySnapshotsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRecoverySnapshotsValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_DescribeReplicationConfigurationTemplates.go b/service/drs/api_op_DescribeReplicationConfigurationTemplates.go index 0251c17591f..1e6ad6d3e01 100644 --- a/service/drs/api_op_DescribeReplicationConfigurationTemplates.go +++ b/service/drs/api_op_DescribeReplicationConfigurationTemplates.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDescribeReplicationConfigurationTemplatesMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReplicationConfigurationTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/drs/api_op_DescribeSourceNetworks.go b/service/drs/api_op_DescribeSourceNetworks.go index 3604c091a61..53facb5acc8 100644 --- a/service/drs/api_op_DescribeSourceNetworks.go +++ b/service/drs/api_op_DescribeSourceNetworks.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeSourceNetworksMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSourceNetworks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/drs/api_op_DescribeSourceServers.go b/service/drs/api_op_DescribeSourceServers.go index 0b191a3a501..0b94c46e205 100644 --- a/service/drs/api_op_DescribeSourceServers.go +++ b/service/drs/api_op_DescribeSourceServers.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeSourceServersMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSourceServers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/drs/api_op_DisconnectRecoveryInstance.go b/service/drs/api_op_DisconnectRecoveryInstance.go index d18ba85320c..6d2208b1e15 100644 --- a/service/drs/api_op_DisconnectRecoveryInstance.go +++ b/service/drs/api_op_DisconnectRecoveryInstance.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDisconnectRecoveryInstanceMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisconnectRecoveryInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_DisconnectSourceServer.go b/service/drs/api_op_DisconnectSourceServer.go index 4cafb9c5fc1..4bf33100fd4 100644 --- a/service/drs/api_op_DisconnectSourceServer.go +++ b/service/drs/api_op_DisconnectSourceServer.go @@ -164,9 +164,6 @@ func (c *Client) addOperationDisconnectSourceServerMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisconnectSourceServerValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_ExportSourceNetworkCfnTemplate.go b/service/drs/api_op_ExportSourceNetworkCfnTemplate.go index e3787aafb7c..a916ecef991 100644 --- a/service/drs/api_op_ExportSourceNetworkCfnTemplate.go +++ b/service/drs/api_op_ExportSourceNetworkCfnTemplate.go @@ -111,9 +111,6 @@ func (c *Client) addOperationExportSourceNetworkCfnTemplateMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExportSourceNetworkCfnTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_GetFailbackReplicationConfiguration.go b/service/drs/api_op_GetFailbackReplicationConfiguration.go index 8747756afb0..ae478759381 100644 --- a/service/drs/api_op_GetFailbackReplicationConfiguration.go +++ b/service/drs/api_op_GetFailbackReplicationConfiguration.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetFailbackReplicationConfigurationMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFailbackReplicationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_GetLaunchConfiguration.go b/service/drs/api_op_GetLaunchConfiguration.go index 693a84bc4f1..68ae8c78d42 100644 --- a/service/drs/api_op_GetLaunchConfiguration.go +++ b/service/drs/api_op_GetLaunchConfiguration.go @@ -142,9 +142,6 @@ func (c *Client) addOperationGetLaunchConfigurationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLaunchConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_GetReplicationConfiguration.go b/service/drs/api_op_GetReplicationConfiguration.go index c04420df00b..a82946d4e2d 100644 --- a/service/drs/api_op_GetReplicationConfiguration.go +++ b/service/drs/api_op_GetReplicationConfiguration.go @@ -164,9 +164,6 @@ func (c *Client) addOperationGetReplicationConfigurationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetReplicationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_InitializeService.go b/service/drs/api_op_InitializeService.go index 22150d57399..821e3b1e8c7 100644 --- a/service/drs/api_op_InitializeService.go +++ b/service/drs/api_op_InitializeService.go @@ -101,9 +101,6 @@ func (c *Client) addOperationInitializeServiceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInitializeService(options.Region), middleware.Before); err != nil { return err } diff --git a/service/drs/api_op_ListExtensibleSourceServers.go b/service/drs/api_op_ListExtensibleSourceServers.go index f7d0f28bfd2..85248447972 100644 --- a/service/drs/api_op_ListExtensibleSourceServers.go +++ b/service/drs/api_op_ListExtensibleSourceServers.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListExtensibleSourceServersMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListExtensibleSourceServersValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_ListLaunchActions.go b/service/drs/api_op_ListLaunchActions.go index e34bb7a68f6..c20686ca8c8 100644 --- a/service/drs/api_op_ListLaunchActions.go +++ b/service/drs/api_op_ListLaunchActions.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListLaunchActionsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListLaunchActionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_ListStagingAccounts.go b/service/drs/api_op_ListStagingAccounts.go index 45e52c3c651..a53e8b2fd40 100644 --- a/service/drs/api_op_ListStagingAccounts.go +++ b/service/drs/api_op_ListStagingAccounts.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListStagingAccountsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStagingAccounts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/drs/api_op_ListTagsForResource.go b/service/drs/api_op_ListTagsForResource.go index 7271de83741..6a419953941 100644 --- a/service/drs/api_op_ListTagsForResource.go +++ b/service/drs/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_PutLaunchAction.go b/service/drs/api_op_PutLaunchAction.go index 4d01c3a543a..aa8b60b5603 100644 --- a/service/drs/api_op_PutLaunchAction.go +++ b/service/drs/api_op_PutLaunchAction.go @@ -193,9 +193,6 @@ func (c *Client) addOperationPutLaunchActionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutLaunchActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_RetryDataReplication.go b/service/drs/api_op_RetryDataReplication.go index b462ca4a9cb..e51f36f43fd 100644 --- a/service/drs/api_op_RetryDataReplication.go +++ b/service/drs/api_op_RetryDataReplication.go @@ -159,9 +159,6 @@ func (c *Client) addOperationRetryDataReplicationMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRetryDataReplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_ReverseReplication.go b/service/drs/api_op_ReverseReplication.go index 9edabfdecc9..ea0c15ca62c 100644 --- a/service/drs/api_op_ReverseReplication.go +++ b/service/drs/api_op_ReverseReplication.go @@ -114,9 +114,6 @@ func (c *Client) addOperationReverseReplicationMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpReverseReplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_StartFailbackLaunch.go b/service/drs/api_op_StartFailbackLaunch.go index 77ca40ddacc..8644e1b531f 100644 --- a/service/drs/api_op_StartFailbackLaunch.go +++ b/service/drs/api_op_StartFailbackLaunch.go @@ -117,9 +117,6 @@ func (c *Client) addOperationStartFailbackLaunchMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartFailbackLaunchValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_StartRecovery.go b/service/drs/api_op_StartRecovery.go index 24ef97e1b9c..4965a85bf69 100644 --- a/service/drs/api_op_StartRecovery.go +++ b/service/drs/api_op_StartRecovery.go @@ -120,9 +120,6 @@ func (c *Client) addOperationStartRecoveryMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartRecoveryValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_StartReplication.go b/service/drs/api_op_StartReplication.go index 98f52bf7227..b8fc7f91b3e 100644 --- a/service/drs/api_op_StartReplication.go +++ b/service/drs/api_op_StartReplication.go @@ -113,9 +113,6 @@ func (c *Client) addOperationStartReplicationMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartReplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_StartSourceNetworkRecovery.go b/service/drs/api_op_StartSourceNetworkRecovery.go index 4311b546fa6..d74e0f49321 100644 --- a/service/drs/api_op_StartSourceNetworkRecovery.go +++ b/service/drs/api_op_StartSourceNetworkRecovery.go @@ -120,9 +120,6 @@ func (c *Client) addOperationStartSourceNetworkRecoveryMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartSourceNetworkRecoveryValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_StartSourceNetworkReplication.go b/service/drs/api_op_StartSourceNetworkReplication.go index f02a024cb67..94ed6bdd572 100644 --- a/service/drs/api_op_StartSourceNetworkReplication.go +++ b/service/drs/api_op_StartSourceNetworkReplication.go @@ -113,9 +113,6 @@ func (c *Client) addOperationStartSourceNetworkReplicationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartSourceNetworkReplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_StopFailback.go b/service/drs/api_op_StopFailback.go index d0ea7cbc922..3ada1e80d5a 100644 --- a/service/drs/api_op_StopFailback.go +++ b/service/drs/api_op_StopFailback.go @@ -108,9 +108,6 @@ func (c *Client) addOperationStopFailbackMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopFailbackValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_StopReplication.go b/service/drs/api_op_StopReplication.go index 7689c470b3b..a1e587d61b0 100644 --- a/service/drs/api_op_StopReplication.go +++ b/service/drs/api_op_StopReplication.go @@ -113,9 +113,6 @@ func (c *Client) addOperationStopReplicationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopReplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_StopSourceNetworkReplication.go b/service/drs/api_op_StopSourceNetworkReplication.go index a1962601a31..c4c96e4f58c 100644 --- a/service/drs/api_op_StopSourceNetworkReplication.go +++ b/service/drs/api_op_StopSourceNetworkReplication.go @@ -113,9 +113,6 @@ func (c *Client) addOperationStopSourceNetworkReplicationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopSourceNetworkReplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_TagResource.go b/service/drs/api_op_TagResource.go index 7784932a26b..43ac8c9d07f 100644 --- a/service/drs/api_op_TagResource.go +++ b/service/drs/api_op_TagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_TerminateRecoveryInstances.go b/service/drs/api_op_TerminateRecoveryInstances.go index 829b0995778..938c06d5207 100644 --- a/service/drs/api_op_TerminateRecoveryInstances.go +++ b/service/drs/api_op_TerminateRecoveryInstances.go @@ -114,9 +114,6 @@ func (c *Client) addOperationTerminateRecoveryInstancesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTerminateRecoveryInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_UntagResource.go b/service/drs/api_op_UntagResource.go index 03a44865859..c7026e0400a 100644 --- a/service/drs/api_op_UntagResource.go +++ b/service/drs/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_UpdateFailbackReplicationConfiguration.go b/service/drs/api_op_UpdateFailbackReplicationConfiguration.go index 41f67fad05f..b5bfc817bd9 100644 --- a/service/drs/api_op_UpdateFailbackReplicationConfiguration.go +++ b/service/drs/api_op_UpdateFailbackReplicationConfiguration.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateFailbackReplicationConfigurationMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFailbackReplicationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_UpdateLaunchConfiguration.go b/service/drs/api_op_UpdateLaunchConfiguration.go index db0a6f5b803..40e19aed12e 100644 --- a/service/drs/api_op_UpdateLaunchConfiguration.go +++ b/service/drs/api_op_UpdateLaunchConfiguration.go @@ -169,9 +169,6 @@ func (c *Client) addOperationUpdateLaunchConfigurationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLaunchConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_UpdateLaunchConfigurationTemplate.go b/service/drs/api_op_UpdateLaunchConfigurationTemplate.go index 88392a86ffd..1a3c46f36f8 100644 --- a/service/drs/api_op_UpdateLaunchConfigurationTemplate.go +++ b/service/drs/api_op_UpdateLaunchConfigurationTemplate.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateLaunchConfigurationTemplateMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLaunchConfigurationTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_UpdateReplicationConfiguration.go b/service/drs/api_op_UpdateReplicationConfiguration.go index 792a5a840cb..1091f54b453 100644 --- a/service/drs/api_op_UpdateReplicationConfiguration.go +++ b/service/drs/api_op_UpdateReplicationConfiguration.go @@ -216,9 +216,6 @@ func (c *Client) addOperationUpdateReplicationConfigurationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateReplicationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/api_op_UpdateReplicationConfigurationTemplate.go b/service/drs/api_op_UpdateReplicationConfigurationTemplate.go index 591f1903b59..57a85566a21 100644 --- a/service/drs/api_op_UpdateReplicationConfigurationTemplate.go +++ b/service/drs/api_op_UpdateReplicationConfigurationTemplate.go @@ -216,9 +216,6 @@ func (c *Client) addOperationUpdateReplicationConfigurationTemplateMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateReplicationConfigurationTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/drs/snapshot/api_op_AssociateSourceNetworkStack.go.snap b/service/drs/snapshot/api_op_AssociateSourceNetworkStack.go.snap index 3fee75e5a31..a6f6f18b710 100644 --- a/service/drs/snapshot/api_op_AssociateSourceNetworkStack.go.snap +++ b/service/drs/snapshot/api_op_AssociateSourceNetworkStack.go.snap @@ -14,7 +14,6 @@ AssociateSourceNetworkStack Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_CreateExtendedSourceServer.go.snap b/service/drs/snapshot/api_op_CreateExtendedSourceServer.go.snap index 6209c1af582..db19260d711 100644 --- a/service/drs/snapshot/api_op_CreateExtendedSourceServer.go.snap +++ b/service/drs/snapshot/api_op_CreateExtendedSourceServer.go.snap @@ -14,7 +14,6 @@ CreateExtendedSourceServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_CreateLaunchConfigurationTemplate.go.snap b/service/drs/snapshot/api_op_CreateLaunchConfigurationTemplate.go.snap index 59f05b52ef6..941a1ea71d5 100644 --- a/service/drs/snapshot/api_op_CreateLaunchConfigurationTemplate.go.snap +++ b/service/drs/snapshot/api_op_CreateLaunchConfigurationTemplate.go.snap @@ -13,7 +13,6 @@ CreateLaunchConfigurationTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_CreateReplicationConfigurationTemplate.go.snap b/service/drs/snapshot/api_op_CreateReplicationConfigurationTemplate.go.snap index 3df2b264bc8..29ac3d030b4 100644 --- a/service/drs/snapshot/api_op_CreateReplicationConfigurationTemplate.go.snap +++ b/service/drs/snapshot/api_op_CreateReplicationConfigurationTemplate.go.snap @@ -14,7 +14,6 @@ CreateReplicationConfigurationTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_CreateSourceNetwork.go.snap b/service/drs/snapshot/api_op_CreateSourceNetwork.go.snap index cb0a38e8984..528c2fc17ac 100644 --- a/service/drs/snapshot/api_op_CreateSourceNetwork.go.snap +++ b/service/drs/snapshot/api_op_CreateSourceNetwork.go.snap @@ -14,7 +14,6 @@ CreateSourceNetwork Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_DeleteJob.go.snap b/service/drs/snapshot/api_op_DeleteJob.go.snap index fa2c54dcf0a..d47c3554a1e 100644 --- a/service/drs/snapshot/api_op_DeleteJob.go.snap +++ b/service/drs/snapshot/api_op_DeleteJob.go.snap @@ -14,7 +14,6 @@ DeleteJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_DeleteLaunchAction.go.snap b/service/drs/snapshot/api_op_DeleteLaunchAction.go.snap index 02365edf4a1..31c1be17d8c 100644 --- a/service/drs/snapshot/api_op_DeleteLaunchAction.go.snap +++ b/service/drs/snapshot/api_op_DeleteLaunchAction.go.snap @@ -14,7 +14,6 @@ DeleteLaunchAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_DeleteLaunchConfigurationTemplate.go.snap b/service/drs/snapshot/api_op_DeleteLaunchConfigurationTemplate.go.snap index 5959f7ed8bb..e0685edca87 100644 --- a/service/drs/snapshot/api_op_DeleteLaunchConfigurationTemplate.go.snap +++ b/service/drs/snapshot/api_op_DeleteLaunchConfigurationTemplate.go.snap @@ -14,7 +14,6 @@ DeleteLaunchConfigurationTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_DeleteRecoveryInstance.go.snap b/service/drs/snapshot/api_op_DeleteRecoveryInstance.go.snap index dc337204b86..f771be6727d 100644 --- a/service/drs/snapshot/api_op_DeleteRecoveryInstance.go.snap +++ b/service/drs/snapshot/api_op_DeleteRecoveryInstance.go.snap @@ -14,7 +14,6 @@ DeleteRecoveryInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_DeleteReplicationConfigurationTemplate.go.snap b/service/drs/snapshot/api_op_DeleteReplicationConfigurationTemplate.go.snap index 978efd57c61..d610b7456cf 100644 --- a/service/drs/snapshot/api_op_DeleteReplicationConfigurationTemplate.go.snap +++ b/service/drs/snapshot/api_op_DeleteReplicationConfigurationTemplate.go.snap @@ -14,7 +14,6 @@ DeleteReplicationConfigurationTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_DeleteSourceNetwork.go.snap b/service/drs/snapshot/api_op_DeleteSourceNetwork.go.snap index e726d53622e..1e9169f0e66 100644 --- a/service/drs/snapshot/api_op_DeleteSourceNetwork.go.snap +++ b/service/drs/snapshot/api_op_DeleteSourceNetwork.go.snap @@ -14,7 +14,6 @@ DeleteSourceNetwork Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_DeleteSourceServer.go.snap b/service/drs/snapshot/api_op_DeleteSourceServer.go.snap index 02929169f63..e4ffc9e9ea4 100644 --- a/service/drs/snapshot/api_op_DeleteSourceServer.go.snap +++ b/service/drs/snapshot/api_op_DeleteSourceServer.go.snap @@ -14,7 +14,6 @@ DeleteSourceServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_DescribeJobLogItems.go.snap b/service/drs/snapshot/api_op_DescribeJobLogItems.go.snap index 3161e40fe3a..d5da054ae97 100644 --- a/service/drs/snapshot/api_op_DescribeJobLogItems.go.snap +++ b/service/drs/snapshot/api_op_DescribeJobLogItems.go.snap @@ -14,7 +14,6 @@ DescribeJobLogItems Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_DescribeJobs.go.snap b/service/drs/snapshot/api_op_DescribeJobs.go.snap index 21e31ccf7da..8a20c7544c2 100644 --- a/service/drs/snapshot/api_op_DescribeJobs.go.snap +++ b/service/drs/snapshot/api_op_DescribeJobs.go.snap @@ -13,7 +13,6 @@ DescribeJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_DescribeLaunchConfigurationTemplates.go.snap b/service/drs/snapshot/api_op_DescribeLaunchConfigurationTemplates.go.snap index bc5422c1166..25de97ccb61 100644 --- a/service/drs/snapshot/api_op_DescribeLaunchConfigurationTemplates.go.snap +++ b/service/drs/snapshot/api_op_DescribeLaunchConfigurationTemplates.go.snap @@ -13,7 +13,6 @@ DescribeLaunchConfigurationTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_DescribeRecoveryInstances.go.snap b/service/drs/snapshot/api_op_DescribeRecoveryInstances.go.snap index 2edfde24f03..7a69f5de407 100644 --- a/service/drs/snapshot/api_op_DescribeRecoveryInstances.go.snap +++ b/service/drs/snapshot/api_op_DescribeRecoveryInstances.go.snap @@ -13,7 +13,6 @@ DescribeRecoveryInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_DescribeRecoverySnapshots.go.snap b/service/drs/snapshot/api_op_DescribeRecoverySnapshots.go.snap index 81869459295..cf669f7289a 100644 --- a/service/drs/snapshot/api_op_DescribeRecoverySnapshots.go.snap +++ b/service/drs/snapshot/api_op_DescribeRecoverySnapshots.go.snap @@ -14,7 +14,6 @@ DescribeRecoverySnapshots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_DescribeReplicationConfigurationTemplates.go.snap b/service/drs/snapshot/api_op_DescribeReplicationConfigurationTemplates.go.snap index 3937e32b5c1..a0c7c6bbac9 100644 --- a/service/drs/snapshot/api_op_DescribeReplicationConfigurationTemplates.go.snap +++ b/service/drs/snapshot/api_op_DescribeReplicationConfigurationTemplates.go.snap @@ -13,7 +13,6 @@ DescribeReplicationConfigurationTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_DescribeSourceNetworks.go.snap b/service/drs/snapshot/api_op_DescribeSourceNetworks.go.snap index 5c946b827ab..70d3acc0c44 100644 --- a/service/drs/snapshot/api_op_DescribeSourceNetworks.go.snap +++ b/service/drs/snapshot/api_op_DescribeSourceNetworks.go.snap @@ -13,7 +13,6 @@ DescribeSourceNetworks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_DescribeSourceServers.go.snap b/service/drs/snapshot/api_op_DescribeSourceServers.go.snap index 418ba77278e..58bfd7282cd 100644 --- a/service/drs/snapshot/api_op_DescribeSourceServers.go.snap +++ b/service/drs/snapshot/api_op_DescribeSourceServers.go.snap @@ -13,7 +13,6 @@ DescribeSourceServers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_DisconnectRecoveryInstance.go.snap b/service/drs/snapshot/api_op_DisconnectRecoveryInstance.go.snap index aef55e9571e..6f5e4fe936b 100644 --- a/service/drs/snapshot/api_op_DisconnectRecoveryInstance.go.snap +++ b/service/drs/snapshot/api_op_DisconnectRecoveryInstance.go.snap @@ -14,7 +14,6 @@ DisconnectRecoveryInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_DisconnectSourceServer.go.snap b/service/drs/snapshot/api_op_DisconnectSourceServer.go.snap index 93d9207ada2..69927a93398 100644 --- a/service/drs/snapshot/api_op_DisconnectSourceServer.go.snap +++ b/service/drs/snapshot/api_op_DisconnectSourceServer.go.snap @@ -14,7 +14,6 @@ DisconnectSourceServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_ExportSourceNetworkCfnTemplate.go.snap b/service/drs/snapshot/api_op_ExportSourceNetworkCfnTemplate.go.snap index 5bc628e4c35..aacd510e688 100644 --- a/service/drs/snapshot/api_op_ExportSourceNetworkCfnTemplate.go.snap +++ b/service/drs/snapshot/api_op_ExportSourceNetworkCfnTemplate.go.snap @@ -14,7 +14,6 @@ ExportSourceNetworkCfnTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_GetFailbackReplicationConfiguration.go.snap b/service/drs/snapshot/api_op_GetFailbackReplicationConfiguration.go.snap index 0ed6c17ec7e..f91e96517e9 100644 --- a/service/drs/snapshot/api_op_GetFailbackReplicationConfiguration.go.snap +++ b/service/drs/snapshot/api_op_GetFailbackReplicationConfiguration.go.snap @@ -14,7 +14,6 @@ GetFailbackReplicationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_GetLaunchConfiguration.go.snap b/service/drs/snapshot/api_op_GetLaunchConfiguration.go.snap index 099b92f97b0..ab0ea078438 100644 --- a/service/drs/snapshot/api_op_GetLaunchConfiguration.go.snap +++ b/service/drs/snapshot/api_op_GetLaunchConfiguration.go.snap @@ -14,7 +14,6 @@ GetLaunchConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_GetReplicationConfiguration.go.snap b/service/drs/snapshot/api_op_GetReplicationConfiguration.go.snap index 9339628769c..86d8f1f40b2 100644 --- a/service/drs/snapshot/api_op_GetReplicationConfiguration.go.snap +++ b/service/drs/snapshot/api_op_GetReplicationConfiguration.go.snap @@ -14,7 +14,6 @@ GetReplicationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_InitializeService.go.snap b/service/drs/snapshot/api_op_InitializeService.go.snap index 5c4dfac0ee9..39ba52775e4 100644 --- a/service/drs/snapshot/api_op_InitializeService.go.snap +++ b/service/drs/snapshot/api_op_InitializeService.go.snap @@ -13,7 +13,6 @@ InitializeService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_ListExtensibleSourceServers.go.snap b/service/drs/snapshot/api_op_ListExtensibleSourceServers.go.snap index 75df6fb3544..5e33ef737cf 100644 --- a/service/drs/snapshot/api_op_ListExtensibleSourceServers.go.snap +++ b/service/drs/snapshot/api_op_ListExtensibleSourceServers.go.snap @@ -14,7 +14,6 @@ ListExtensibleSourceServers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_ListLaunchActions.go.snap b/service/drs/snapshot/api_op_ListLaunchActions.go.snap index 074ee799d4a..0870f153f43 100644 --- a/service/drs/snapshot/api_op_ListLaunchActions.go.snap +++ b/service/drs/snapshot/api_op_ListLaunchActions.go.snap @@ -14,7 +14,6 @@ ListLaunchActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_ListStagingAccounts.go.snap b/service/drs/snapshot/api_op_ListStagingAccounts.go.snap index 3ebdde335c0..854e0dff1c9 100644 --- a/service/drs/snapshot/api_op_ListStagingAccounts.go.snap +++ b/service/drs/snapshot/api_op_ListStagingAccounts.go.snap @@ -13,7 +13,6 @@ ListStagingAccounts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_ListTagsForResource.go.snap b/service/drs/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/drs/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/drs/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_PutLaunchAction.go.snap b/service/drs/snapshot/api_op_PutLaunchAction.go.snap index 312f8a79c1d..caad60378b0 100644 --- a/service/drs/snapshot/api_op_PutLaunchAction.go.snap +++ b/service/drs/snapshot/api_op_PutLaunchAction.go.snap @@ -14,7 +14,6 @@ PutLaunchAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_RetryDataReplication.go.snap b/service/drs/snapshot/api_op_RetryDataReplication.go.snap index 9bc5308f4a5..7137092c6c3 100644 --- a/service/drs/snapshot/api_op_RetryDataReplication.go.snap +++ b/service/drs/snapshot/api_op_RetryDataReplication.go.snap @@ -14,7 +14,6 @@ RetryDataReplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_ReverseReplication.go.snap b/service/drs/snapshot/api_op_ReverseReplication.go.snap index 031778c5004..53dd0d5a509 100644 --- a/service/drs/snapshot/api_op_ReverseReplication.go.snap +++ b/service/drs/snapshot/api_op_ReverseReplication.go.snap @@ -14,7 +14,6 @@ ReverseReplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_StartFailbackLaunch.go.snap b/service/drs/snapshot/api_op_StartFailbackLaunch.go.snap index 3ab2041090c..e12b865a576 100644 --- a/service/drs/snapshot/api_op_StartFailbackLaunch.go.snap +++ b/service/drs/snapshot/api_op_StartFailbackLaunch.go.snap @@ -14,7 +14,6 @@ StartFailbackLaunch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_StartRecovery.go.snap b/service/drs/snapshot/api_op_StartRecovery.go.snap index 4ee5ad9dd7a..136a6fa29b2 100644 --- a/service/drs/snapshot/api_op_StartRecovery.go.snap +++ b/service/drs/snapshot/api_op_StartRecovery.go.snap @@ -14,7 +14,6 @@ StartRecovery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_StartReplication.go.snap b/service/drs/snapshot/api_op_StartReplication.go.snap index 8a16fe45079..b070d6f4dd3 100644 --- a/service/drs/snapshot/api_op_StartReplication.go.snap +++ b/service/drs/snapshot/api_op_StartReplication.go.snap @@ -14,7 +14,6 @@ StartReplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_StartSourceNetworkRecovery.go.snap b/service/drs/snapshot/api_op_StartSourceNetworkRecovery.go.snap index 06f02f8fb28..ff47f92c75e 100644 --- a/service/drs/snapshot/api_op_StartSourceNetworkRecovery.go.snap +++ b/service/drs/snapshot/api_op_StartSourceNetworkRecovery.go.snap @@ -14,7 +14,6 @@ StartSourceNetworkRecovery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_StartSourceNetworkReplication.go.snap b/service/drs/snapshot/api_op_StartSourceNetworkReplication.go.snap index 418884cbc98..2f4c528b15a 100644 --- a/service/drs/snapshot/api_op_StartSourceNetworkReplication.go.snap +++ b/service/drs/snapshot/api_op_StartSourceNetworkReplication.go.snap @@ -14,7 +14,6 @@ StartSourceNetworkReplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_StopFailback.go.snap b/service/drs/snapshot/api_op_StopFailback.go.snap index 32c9a1fde6e..e89cb756891 100644 --- a/service/drs/snapshot/api_op_StopFailback.go.snap +++ b/service/drs/snapshot/api_op_StopFailback.go.snap @@ -14,7 +14,6 @@ StopFailback Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_StopReplication.go.snap b/service/drs/snapshot/api_op_StopReplication.go.snap index 2e14d2813d5..7d8c9401bf4 100644 --- a/service/drs/snapshot/api_op_StopReplication.go.snap +++ b/service/drs/snapshot/api_op_StopReplication.go.snap @@ -14,7 +14,6 @@ StopReplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_StopSourceNetworkReplication.go.snap b/service/drs/snapshot/api_op_StopSourceNetworkReplication.go.snap index e251a6050c0..9f0f42e3fc8 100644 --- a/service/drs/snapshot/api_op_StopSourceNetworkReplication.go.snap +++ b/service/drs/snapshot/api_op_StopSourceNetworkReplication.go.snap @@ -14,7 +14,6 @@ StopSourceNetworkReplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_TagResource.go.snap b/service/drs/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/drs/snapshot/api_op_TagResource.go.snap +++ b/service/drs/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_TerminateRecoveryInstances.go.snap b/service/drs/snapshot/api_op_TerminateRecoveryInstances.go.snap index 5ae194a1609..ef8a98a9193 100644 --- a/service/drs/snapshot/api_op_TerminateRecoveryInstances.go.snap +++ b/service/drs/snapshot/api_op_TerminateRecoveryInstances.go.snap @@ -14,7 +14,6 @@ TerminateRecoveryInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_UntagResource.go.snap b/service/drs/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/drs/snapshot/api_op_UntagResource.go.snap +++ b/service/drs/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_UpdateFailbackReplicationConfiguration.go.snap b/service/drs/snapshot/api_op_UpdateFailbackReplicationConfiguration.go.snap index ab8296a66c2..8b4a63a8ac4 100644 --- a/service/drs/snapshot/api_op_UpdateFailbackReplicationConfiguration.go.snap +++ b/service/drs/snapshot/api_op_UpdateFailbackReplicationConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateFailbackReplicationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_UpdateLaunchConfiguration.go.snap b/service/drs/snapshot/api_op_UpdateLaunchConfiguration.go.snap index 1b18e831d2f..6301f74a18b 100644 --- a/service/drs/snapshot/api_op_UpdateLaunchConfiguration.go.snap +++ b/service/drs/snapshot/api_op_UpdateLaunchConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateLaunchConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_UpdateLaunchConfigurationTemplate.go.snap b/service/drs/snapshot/api_op_UpdateLaunchConfigurationTemplate.go.snap index d9f5390f5c0..f95c858cadc 100644 --- a/service/drs/snapshot/api_op_UpdateLaunchConfigurationTemplate.go.snap +++ b/service/drs/snapshot/api_op_UpdateLaunchConfigurationTemplate.go.snap @@ -14,7 +14,6 @@ UpdateLaunchConfigurationTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_UpdateReplicationConfiguration.go.snap b/service/drs/snapshot/api_op_UpdateReplicationConfiguration.go.snap index 7c38a548920..74f12f12b99 100644 --- a/service/drs/snapshot/api_op_UpdateReplicationConfiguration.go.snap +++ b/service/drs/snapshot/api_op_UpdateReplicationConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateReplicationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/drs/snapshot/api_op_UpdateReplicationConfigurationTemplate.go.snap b/service/drs/snapshot/api_op_UpdateReplicationConfigurationTemplate.go.snap index 4a7b784c7cf..f79df3ccc21 100644 --- a/service/drs/snapshot/api_op_UpdateReplicationConfigurationTemplate.go.snap +++ b/service/drs/snapshot/api_op_UpdateReplicationConfigurationTemplate.go.snap @@ -14,7 +14,6 @@ UpdateReplicationConfigurationTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dsql/api_client.go b/service/dsql/api_client.go index 6865f8fb28e..d3059bddba7 100644 --- a/service/dsql/api_client.go +++ b/service/dsql/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/dsql/api_op_CreateCluster.go b/service/dsql/api_op_CreateCluster.go index 29b83da7de7..6251520b4d5 100644 --- a/service/dsql/api_op_CreateCluster.go +++ b/service/dsql/api_op_CreateCluster.go @@ -148,9 +148,6 @@ func (c *Client) addOperationCreateClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateClusterMiddleware(stack, options); err != nil { return err } diff --git a/service/dsql/api_op_CreateMultiRegionClusters.go b/service/dsql/api_op_CreateMultiRegionClusters.go index cb186d2c184..2b3bdffe2ca 100644 --- a/service/dsql/api_op_CreateMultiRegionClusters.go +++ b/service/dsql/api_op_CreateMultiRegionClusters.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateMultiRegionClustersMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateMultiRegionClustersMiddleware(stack, options); err != nil { return err } diff --git a/service/dsql/api_op_DeleteCluster.go b/service/dsql/api_op_DeleteCluster.go index 0bdda619239..2bcde045e76 100644 --- a/service/dsql/api_op_DeleteCluster.go +++ b/service/dsql/api_op_DeleteCluster.go @@ -146,9 +146,6 @@ func (c *Client) addOperationDeleteClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteClusterMiddleware(stack, options); err != nil { return err } diff --git a/service/dsql/api_op_DeleteMultiRegionClusters.go b/service/dsql/api_op_DeleteMultiRegionClusters.go index f78b4d5b127..39d623d44c2 100644 --- a/service/dsql/api_op_DeleteMultiRegionClusters.go +++ b/service/dsql/api_op_DeleteMultiRegionClusters.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteMultiRegionClustersMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteMultiRegionClustersMiddleware(stack, options); err != nil { return err } diff --git a/service/dsql/api_op_GetCluster.go b/service/dsql/api_op_GetCluster.go index 975f77af49b..53f705bacf8 100644 --- a/service/dsql/api_op_GetCluster.go +++ b/service/dsql/api_op_GetCluster.go @@ -145,9 +145,6 @@ func (c *Client) addOperationGetClusterMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/dsql/api_op_ListClusters.go b/service/dsql/api_op_ListClusters.go index 0cd429a4693..07a12cb9792 100644 --- a/service/dsql/api_op_ListClusters.go +++ b/service/dsql/api_op_ListClusters.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListClustersMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListClusters(options.Region), middleware.Before); err != nil { return err } diff --git a/service/dsql/api_op_ListTagsForResource.go b/service/dsql/api_op_ListTagsForResource.go index ad2e62e32b9..78418951866 100644 --- a/service/dsql/api_op_ListTagsForResource.go +++ b/service/dsql/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/dsql/api_op_TagResource.go b/service/dsql/api_op_TagResource.go index a19800e8de9..7481f2e92c4 100644 --- a/service/dsql/api_op_TagResource.go +++ b/service/dsql/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/dsql/api_op_UntagResource.go b/service/dsql/api_op_UntagResource.go index 1b29a8ab955..ee85ff3b737 100644 --- a/service/dsql/api_op_UntagResource.go +++ b/service/dsql/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/dsql/api_op_UpdateCluster.go b/service/dsql/api_op_UpdateCluster.go index bd22103251d..6578184e59a 100644 --- a/service/dsql/api_op_UpdateCluster.go +++ b/service/dsql/api_op_UpdateCluster.go @@ -156,9 +156,6 @@ func (c *Client) addOperationUpdateClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateClusterMiddleware(stack, options); err != nil { return err } diff --git a/service/dsql/snapshot/api_op_CreateCluster.go.snap b/service/dsql/snapshot/api_op_CreateCluster.go.snap index 55bc1bca6d0..1638d560228 100644 --- a/service/dsql/snapshot/api_op_CreateCluster.go.snap +++ b/service/dsql/snapshot/api_op_CreateCluster.go.snap @@ -14,7 +14,6 @@ CreateCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dsql/snapshot/api_op_CreateMultiRegionClusters.go.snap b/service/dsql/snapshot/api_op_CreateMultiRegionClusters.go.snap index 75931492f13..016d906179e 100644 --- a/service/dsql/snapshot/api_op_CreateMultiRegionClusters.go.snap +++ b/service/dsql/snapshot/api_op_CreateMultiRegionClusters.go.snap @@ -15,7 +15,6 @@ CreateMultiRegionClusters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dsql/snapshot/api_op_DeleteCluster.go.snap b/service/dsql/snapshot/api_op_DeleteCluster.go.snap index e07b1e81c8e..b7816baab6c 100644 --- a/service/dsql/snapshot/api_op_DeleteCluster.go.snap +++ b/service/dsql/snapshot/api_op_DeleteCluster.go.snap @@ -15,7 +15,6 @@ DeleteCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dsql/snapshot/api_op_DeleteMultiRegionClusters.go.snap b/service/dsql/snapshot/api_op_DeleteMultiRegionClusters.go.snap index 01006970a20..499d1fa2940 100644 --- a/service/dsql/snapshot/api_op_DeleteMultiRegionClusters.go.snap +++ b/service/dsql/snapshot/api_op_DeleteMultiRegionClusters.go.snap @@ -15,7 +15,6 @@ DeleteMultiRegionClusters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dsql/snapshot/api_op_GetCluster.go.snap b/service/dsql/snapshot/api_op_GetCluster.go.snap index ef54c50a47e..1e661d8fafb 100644 --- a/service/dsql/snapshot/api_op_GetCluster.go.snap +++ b/service/dsql/snapshot/api_op_GetCluster.go.snap @@ -14,7 +14,6 @@ GetCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dsql/snapshot/api_op_ListClusters.go.snap b/service/dsql/snapshot/api_op_ListClusters.go.snap index 48cbced5e1f..949fd968ca2 100644 --- a/service/dsql/snapshot/api_op_ListClusters.go.snap +++ b/service/dsql/snapshot/api_op_ListClusters.go.snap @@ -13,7 +13,6 @@ ListClusters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dsql/snapshot/api_op_ListTagsForResource.go.snap b/service/dsql/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/dsql/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/dsql/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dsql/snapshot/api_op_TagResource.go.snap b/service/dsql/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/dsql/snapshot/api_op_TagResource.go.snap +++ b/service/dsql/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dsql/snapshot/api_op_UntagResource.go.snap b/service/dsql/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/dsql/snapshot/api_op_UntagResource.go.snap +++ b/service/dsql/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dsql/snapshot/api_op_UpdateCluster.go.snap b/service/dsql/snapshot/api_op_UpdateCluster.go.snap index 55ac57024e7..669342151ac 100644 --- a/service/dsql/snapshot/api_op_UpdateCluster.go.snap +++ b/service/dsql/snapshot/api_op_UpdateCluster.go.snap @@ -15,7 +15,6 @@ UpdateCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/api_client.go b/service/dynamodb/api_client.go index f7e63bc5ca9..c423299063a 100644 --- a/service/dynamodb/api_client.go +++ b/service/dynamodb/api_client.go @@ -904,37 +904,6 @@ func addUserAgentAccountIDEndpointMode(stack *middleware.Stack, options Options) return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/dynamodb/api_op_BatchExecuteStatement.go b/service/dynamodb/api_op_BatchExecuteStatement.go index 8a3f97cb900..e470ac6fe04 100644 --- a/service/dynamodb/api_op_BatchExecuteStatement.go +++ b/service/dynamodb/api_op_BatchExecuteStatement.go @@ -151,9 +151,6 @@ func (c *Client) addOperationBatchExecuteStatementMiddlewares(stack *middleware. if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchExecuteStatementValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_BatchGetItem.go b/service/dynamodb/api_op_BatchGetItem.go index 3793a9e835f..ee5ac89da60 100644 --- a/service/dynamodb/api_op_BatchGetItem.go +++ b/service/dynamodb/api_op_BatchGetItem.go @@ -286,9 +286,6 @@ func (c *Client) addOperationBatchGetItemMiddlewares(stack *middleware.Stack, op if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetItemValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_BatchWriteItem.go b/service/dynamodb/api_op_BatchWriteItem.go index 3cf822980de..15d9e3cc32f 100644 --- a/service/dynamodb/api_op_BatchWriteItem.go +++ b/service/dynamodb/api_op_BatchWriteItem.go @@ -309,9 +309,6 @@ func (c *Client) addOperationBatchWriteItemMiddlewares(stack *middleware.Stack, if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchWriteItemValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_CreateBackup.go b/service/dynamodb/api_op_CreateBackup.go index 609d83ab4a5..c8d7b3ac8b7 100644 --- a/service/dynamodb/api_op_CreateBackup.go +++ b/service/dynamodb/api_op_CreateBackup.go @@ -154,9 +154,6 @@ func (c *Client) addOperationCreateBackupMiddlewares(stack *middleware.Stack, op if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBackupValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_CreateGlobalTable.go b/service/dynamodb/api_op_CreateGlobalTable.go index 9d18ad941b7..9ae4611076c 100644 --- a/service/dynamodb/api_op_CreateGlobalTable.go +++ b/service/dynamodb/api_op_CreateGlobalTable.go @@ -176,9 +176,6 @@ func (c *Client) addOperationCreateGlobalTableMiddlewares(stack *middleware.Stac if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGlobalTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_CreateTable.go b/service/dynamodb/api_op_CreateTable.go index 2f6de9dbb00..5c27f1ad411 100644 --- a/service/dynamodb/api_op_CreateTable.go +++ b/service/dynamodb/api_op_CreateTable.go @@ -335,9 +335,6 @@ func (c *Client) addOperationCreateTableMiddlewares(stack *middleware.Stack, opt if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_DeleteBackup.go b/service/dynamodb/api_op_DeleteBackup.go index 5fbea6e82ed..7ba82719858 100644 --- a/service/dynamodb/api_op_DeleteBackup.go +++ b/service/dynamodb/api_op_DeleteBackup.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteBackupMiddlewares(stack *middleware.Stack, op if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBackupValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_DeleteItem.go b/service/dynamodb/api_op_DeleteItem.go index 9c8208ebb3a..dec6c0bfc19 100644 --- a/service/dynamodb/api_op_DeleteItem.go +++ b/service/dynamodb/api_op_DeleteItem.go @@ -317,9 +317,6 @@ func (c *Client) addOperationDeleteItemMiddlewares(stack *middleware.Stack, opti if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteItemValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_DeleteResourcePolicy.go b/service/dynamodb/api_op_DeleteResourcePolicy.go index bc19239e76a..b8b4a9151f3 100644 --- a/service/dynamodb/api_op_DeleteResourcePolicy.go +++ b/service/dynamodb/api_op_DeleteResourcePolicy.go @@ -148,9 +148,6 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_DeleteTable.go b/service/dynamodb/api_op_DeleteTable.go index 2fdce9b6f96..d355afe4f7f 100644 --- a/service/dynamodb/api_op_DeleteTable.go +++ b/service/dynamodb/api_op_DeleteTable.go @@ -145,9 +145,6 @@ func (c *Client) addOperationDeleteTableMiddlewares(stack *middleware.Stack, opt if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_DescribeBackup.go b/service/dynamodb/api_op_DescribeBackup.go index b8f3d1a6741..710bc3ab3ed 100644 --- a/service/dynamodb/api_op_DescribeBackup.go +++ b/service/dynamodb/api_op_DescribeBackup.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeBackupMiddlewares(stack *middleware.Stack, if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBackupValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_DescribeContinuousBackups.go b/service/dynamodb/api_op_DescribeContinuousBackups.go index aa8cbe86f0e..0af2a854fde 100644 --- a/service/dynamodb/api_op_DescribeContinuousBackups.go +++ b/service/dynamodb/api_op_DescribeContinuousBackups.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDescribeContinuousBackupsMiddlewares(stack *middlew if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeContinuousBackupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_DescribeContributorInsights.go b/service/dynamodb/api_op_DescribeContributorInsights.go index f6737711036..f99f17a18c6 100644 --- a/service/dynamodb/api_op_DescribeContributorInsights.go +++ b/service/dynamodb/api_op_DescribeContributorInsights.go @@ -151,9 +151,6 @@ func (c *Client) addOperationDescribeContributorInsightsMiddlewares(stack *middl if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeContributorInsightsValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_DescribeEndpoints.go b/service/dynamodb/api_op_DescribeEndpoints.go index 60244afb104..f1264a68d09 100644 --- a/service/dynamodb/api_op_DescribeEndpoints.go +++ b/service/dynamodb/api_op_DescribeEndpoints.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribeEndpointsMiddlewares(stack *middleware.Stac if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEndpoints(options.Region), middleware.Before); err != nil { return err } diff --git a/service/dynamodb/api_op_DescribeExport.go b/service/dynamodb/api_op_DescribeExport.go index 4782db7b7d4..5fa027b9915 100644 --- a/service/dynamodb/api_op_DescribeExport.go +++ b/service/dynamodb/api_op_DescribeExport.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDescribeExportMiddlewares(stack *middleware.Stack, if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeExportValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_DescribeGlobalTable.go b/service/dynamodb/api_op_DescribeGlobalTable.go index 8b3a111e8c0..8a88378cf1b 100644 --- a/service/dynamodb/api_op_DescribeGlobalTable.go +++ b/service/dynamodb/api_op_DescribeGlobalTable.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeGlobalTableMiddlewares(stack *middleware.St if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeGlobalTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_DescribeGlobalTableSettings.go b/service/dynamodb/api_op_DescribeGlobalTableSettings.go index 5b164fd2993..eaae074b67f 100644 --- a/service/dynamodb/api_op_DescribeGlobalTableSettings.go +++ b/service/dynamodb/api_op_DescribeGlobalTableSettings.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeGlobalTableSettingsMiddlewares(stack *middl if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeGlobalTableSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_DescribeImport.go b/service/dynamodb/api_op_DescribeImport.go index 9ce2f4123c3..cc28013942d 100644 --- a/service/dynamodb/api_op_DescribeImport.go +++ b/service/dynamodb/api_op_DescribeImport.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeImportMiddlewares(stack *middleware.Stack, if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeImportValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_DescribeKinesisStreamingDestination.go b/service/dynamodb/api_op_DescribeKinesisStreamingDestination.go index f5135c305e3..2b10814001d 100644 --- a/service/dynamodb/api_op_DescribeKinesisStreamingDestination.go +++ b/service/dynamodb/api_op_DescribeKinesisStreamingDestination.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeKinesisStreamingDestinationMiddlewares(stac if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeKinesisStreamingDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_DescribeLimits.go b/service/dynamodb/api_op_DescribeLimits.go index ba08baecba7..78a1be8626e 100644 --- a/service/dynamodb/api_op_DescribeLimits.go +++ b/service/dynamodb/api_op_DescribeLimits.go @@ -188,9 +188,6 @@ func (c *Client) addOperationDescribeLimitsMiddlewares(stack *middleware.Stack, if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLimits(options.Region), middleware.Before); err != nil { return err } diff --git a/service/dynamodb/api_op_DescribeTable.go b/service/dynamodb/api_op_DescribeTable.go index 080c3bd78ad..ff49313cc5c 100644 --- a/service/dynamodb/api_op_DescribeTable.go +++ b/service/dynamodb/api_op_DescribeTable.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribeTableMiddlewares(stack *middleware.Stack, o if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_DescribeTableReplicaAutoScaling.go b/service/dynamodb/api_op_DescribeTableReplicaAutoScaling.go index 2490bc7ef4c..4546a8725f4 100644 --- a/service/dynamodb/api_op_DescribeTableReplicaAutoScaling.go +++ b/service/dynamodb/api_op_DescribeTableReplicaAutoScaling.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeTableReplicaAutoScalingMiddlewares(stack *m if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTableReplicaAutoScalingValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_DescribeTimeToLive.go b/service/dynamodb/api_op_DescribeTimeToLive.go index b2a9d80d155..aa74a5169fa 100644 --- a/service/dynamodb/api_op_DescribeTimeToLive.go +++ b/service/dynamodb/api_op_DescribeTimeToLive.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDescribeTimeToLiveMiddlewares(stack *middleware.Sta if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTimeToLiveValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_DisableKinesisStreamingDestination.go b/service/dynamodb/api_op_DisableKinesisStreamingDestination.go index 2fd4af94d92..d57e396bee9 100644 --- a/service/dynamodb/api_op_DisableKinesisStreamingDestination.go +++ b/service/dynamodb/api_op_DisableKinesisStreamingDestination.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDisableKinesisStreamingDestinationMiddlewares(stack if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableKinesisStreamingDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_EnableKinesisStreamingDestination.go b/service/dynamodb/api_op_EnableKinesisStreamingDestination.go index 21f4a9ce469..3e5041bdcea 100644 --- a/service/dynamodb/api_op_EnableKinesisStreamingDestination.go +++ b/service/dynamodb/api_op_EnableKinesisStreamingDestination.go @@ -140,9 +140,6 @@ func (c *Client) addOperationEnableKinesisStreamingDestinationMiddlewares(stack if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableKinesisStreamingDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_ExecuteStatement.go b/service/dynamodb/api_op_ExecuteStatement.go index ae70d8ba99a..3a052533ea2 100644 --- a/service/dynamodb/api_op_ExecuteStatement.go +++ b/service/dynamodb/api_op_ExecuteStatement.go @@ -199,9 +199,6 @@ func (c *Client) addOperationExecuteStatementMiddlewares(stack *middleware.Stack if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExecuteStatementValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_ExecuteTransaction.go b/service/dynamodb/api_op_ExecuteTransaction.go index b464c41c4e1..590a4151b8a 100644 --- a/service/dynamodb/api_op_ExecuteTransaction.go +++ b/service/dynamodb/api_op_ExecuteTransaction.go @@ -138,9 +138,6 @@ func (c *Client) addOperationExecuteTransactionMiddlewares(stack *middleware.Sta if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opExecuteTransactionMiddleware(stack, options); err != nil { return err } diff --git a/service/dynamodb/api_op_ExportTableToPointInTime.go b/service/dynamodb/api_op_ExportTableToPointInTime.go index af78b1362aa..750e646d407 100644 --- a/service/dynamodb/api_op_ExportTableToPointInTime.go +++ b/service/dynamodb/api_op_ExportTableToPointInTime.go @@ -178,9 +178,6 @@ func (c *Client) addOperationExportTableToPointInTimeMiddlewares(stack *middlewa if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opExportTableToPointInTimeMiddleware(stack, options); err != nil { return err } diff --git a/service/dynamodb/api_op_GetItem.go b/service/dynamodb/api_op_GetItem.go index d2acf661130..9f0d6a7b1b7 100644 --- a/service/dynamodb/api_op_GetItem.go +++ b/service/dynamodb/api_op_GetItem.go @@ -227,9 +227,6 @@ func (c *Client) addOperationGetItemMiddlewares(stack *middleware.Stack, options if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetItemValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_GetResourcePolicy.go b/service/dynamodb/api_op_GetResourcePolicy.go index 0227fd2db41..73724d0e7a5 100644 --- a/service/dynamodb/api_op_GetResourcePolicy.go +++ b/service/dynamodb/api_op_GetResourcePolicy.go @@ -153,9 +153,6 @@ func (c *Client) addOperationGetResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_ImportTable.go b/service/dynamodb/api_op_ImportTable.go index 544b1bbebc7..1e15e53973f 100644 --- a/service/dynamodb/api_op_ImportTable.go +++ b/service/dynamodb/api_op_ImportTable.go @@ -149,9 +149,6 @@ func (c *Client) addOperationImportTableMiddlewares(stack *middleware.Stack, opt if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opImportTableMiddleware(stack, options); err != nil { return err } diff --git a/service/dynamodb/api_op_ListBackups.go b/service/dynamodb/api_op_ListBackups.go index 5bdac794cfa..b82553164ae 100644 --- a/service/dynamodb/api_op_ListBackups.go +++ b/service/dynamodb/api_op_ListBackups.go @@ -176,9 +176,6 @@ func (c *Client) addOperationListBackupsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBackups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/dynamodb/api_op_ListContributorInsights.go b/service/dynamodb/api_op_ListContributorInsights.go index 3f129b818f4..0ac4cf8515f 100644 --- a/service/dynamodb/api_op_ListContributorInsights.go +++ b/service/dynamodb/api_op_ListContributorInsights.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListContributorInsightsMiddlewares(stack *middlewar if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListContributorInsights(options.Region), middleware.Before); err != nil { return err } diff --git a/service/dynamodb/api_op_ListExports.go b/service/dynamodb/api_op_ListExports.go index b3f545db410..f681dfe5392 100644 --- a/service/dynamodb/api_op_ListExports.go +++ b/service/dynamodb/api_op_ListExports.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListExportsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExports(options.Region), middleware.Before); err != nil { return err } diff --git a/service/dynamodb/api_op_ListGlobalTables.go b/service/dynamodb/api_op_ListGlobalTables.go index 74e6e76debf..1903fe9dfcf 100644 --- a/service/dynamodb/api_op_ListGlobalTables.go +++ b/service/dynamodb/api_op_ListGlobalTables.go @@ -144,9 +144,6 @@ func (c *Client) addOperationListGlobalTablesMiddlewares(stack *middleware.Stack if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGlobalTables(options.Region), middleware.Before); err != nil { return err } diff --git a/service/dynamodb/api_op_ListImports.go b/service/dynamodb/api_op_ListImports.go index 96b01db5422..baeb7e815ff 100644 --- a/service/dynamodb/api_op_ListImports.go +++ b/service/dynamodb/api_op_ListImports.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListImportsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImports(options.Region), middleware.Before); err != nil { return err } diff --git a/service/dynamodb/api_op_ListTables.go b/service/dynamodb/api_op_ListTables.go index bda0fa901b3..e9c44c611b6 100644 --- a/service/dynamodb/api_op_ListTables.go +++ b/service/dynamodb/api_op_ListTables.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListTablesMiddlewares(stack *middleware.Stack, opti if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTables(options.Region), middleware.Before); err != nil { return err } diff --git a/service/dynamodb/api_op_ListTagsOfResource.go b/service/dynamodb/api_op_ListTagsOfResource.go index 6467b24dc7c..4544bfa036c 100644 --- a/service/dynamodb/api_op_ListTagsOfResource.go +++ b/service/dynamodb/api_op_ListTagsOfResource.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListTagsOfResourceMiddlewares(stack *middleware.Sta if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsOfResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_PutItem.go b/service/dynamodb/api_op_PutItem.go index 60e7a2541f3..ca55b472cc4 100644 --- a/service/dynamodb/api_op_PutItem.go +++ b/service/dynamodb/api_op_PutItem.go @@ -350,9 +350,6 @@ func (c *Client) addOperationPutItemMiddlewares(stack *middleware.Stack, options if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutItemValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_PutResourcePolicy.go b/service/dynamodb/api_op_PutResourcePolicy.go index c8cd35b7294..2937a3d7d88 100644 --- a/service/dynamodb/api_op_PutResourcePolicy.go +++ b/service/dynamodb/api_op_PutResourcePolicy.go @@ -177,9 +177,6 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_Query.go b/service/dynamodb/api_op_Query.go index 45cf3ebc91e..e8bf1897820 100644 --- a/service/dynamodb/api_op_Query.go +++ b/service/dynamodb/api_op_Query.go @@ -519,9 +519,6 @@ func (c *Client) addOperationQueryMiddlewares(stack *middleware.Stack, options O if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpQueryValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_RestoreTableFromBackup.go b/service/dynamodb/api_op_RestoreTableFromBackup.go index a0e4e0e8037..1071e74fdd6 100644 --- a/service/dynamodb/api_op_RestoreTableFromBackup.go +++ b/service/dynamodb/api_op_RestoreTableFromBackup.go @@ -165,9 +165,6 @@ func (c *Client) addOperationRestoreTableFromBackupMiddlewares(stack *middleware if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreTableFromBackupValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_RestoreTableToPointInTime.go b/service/dynamodb/api_op_RestoreTableToPointInTime.go index 748076ea389..6373c8b5ea0 100644 --- a/service/dynamodb/api_op_RestoreTableToPointInTime.go +++ b/service/dynamodb/api_op_RestoreTableToPointInTime.go @@ -197,9 +197,6 @@ func (c *Client) addOperationRestoreTableToPointInTimeMiddlewares(stack *middlew if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreTableToPointInTimeValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_Scan.go b/service/dynamodb/api_op_Scan.go index fc47ed8c387..bf6060afae6 100644 --- a/service/dynamodb/api_op_Scan.go +++ b/service/dynamodb/api_op_Scan.go @@ -450,9 +450,6 @@ func (c *Client) addOperationScanMiddlewares(stack *middleware.Stack, options Op if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpScanValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_TagResource.go b/service/dynamodb/api_op_TagResource.go index 2b7408b90ed..aa829a76cf4 100644 --- a/service/dynamodb/api_op_TagResource.go +++ b/service/dynamodb/api_op_TagResource.go @@ -140,9 +140,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_TransactGetItems.go b/service/dynamodb/api_op_TransactGetItems.go index 605e08b730e..edb9e4136a2 100644 --- a/service/dynamodb/api_op_TransactGetItems.go +++ b/service/dynamodb/api_op_TransactGetItems.go @@ -156,9 +156,6 @@ func (c *Client) addOperationTransactGetItemsMiddlewares(stack *middleware.Stack if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTransactGetItemsValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_TransactWriteItems.go b/service/dynamodb/api_op_TransactWriteItems.go index 16021bbb6f4..fa757eb503e 100644 --- a/service/dynamodb/api_op_TransactWriteItems.go +++ b/service/dynamodb/api_op_TransactWriteItems.go @@ -223,9 +223,6 @@ func (c *Client) addOperationTransactWriteItemsMiddlewares(stack *middleware.Sta if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opTransactWriteItemsMiddleware(stack, options); err != nil { return err } diff --git a/service/dynamodb/api_op_UntagResource.go b/service/dynamodb/api_op_UntagResource.go index c9dddc307d7..53023c12e83 100644 --- a/service/dynamodb/api_op_UntagResource.go +++ b/service/dynamodb/api_op_UntagResource.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_UpdateContinuousBackups.go b/service/dynamodb/api_op_UpdateContinuousBackups.go index ec15a60acb5..8f7f7dde495 100644 --- a/service/dynamodb/api_op_UpdateContinuousBackups.go +++ b/service/dynamodb/api_op_UpdateContinuousBackups.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateContinuousBackupsMiddlewares(stack *middlewar if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateContinuousBackupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_UpdateContributorInsights.go b/service/dynamodb/api_op_UpdateContributorInsights.go index 362755cf983..5c257cd7d8c 100644 --- a/service/dynamodb/api_op_UpdateContributorInsights.go +++ b/service/dynamodb/api_op_UpdateContributorInsights.go @@ -136,9 +136,6 @@ func (c *Client) addOperationUpdateContributorInsightsMiddlewares(stack *middlew if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateContributorInsightsValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_UpdateGlobalTable.go b/service/dynamodb/api_op_UpdateGlobalTable.go index f546429bfdb..82ad203bd5f 100644 --- a/service/dynamodb/api_op_UpdateGlobalTable.go +++ b/service/dynamodb/api_op_UpdateGlobalTable.go @@ -161,9 +161,6 @@ func (c *Client) addOperationUpdateGlobalTableMiddlewares(stack *middleware.Stac if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateGlobalTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_UpdateGlobalTableSettings.go b/service/dynamodb/api_op_UpdateGlobalTableSettings.go index 7dc1efd1bca..699f2fedf1a 100644 --- a/service/dynamodb/api_op_UpdateGlobalTableSettings.go +++ b/service/dynamodb/api_op_UpdateGlobalTableSettings.go @@ -162,9 +162,6 @@ func (c *Client) addOperationUpdateGlobalTableSettingsMiddlewares(stack *middlew if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateGlobalTableSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_UpdateItem.go b/service/dynamodb/api_op_UpdateItem.go index 17e6ab9972f..8ba14f75de8 100644 --- a/service/dynamodb/api_op_UpdateItem.go +++ b/service/dynamodb/api_op_UpdateItem.go @@ -403,9 +403,6 @@ func (c *Client) addOperationUpdateItemMiddlewares(stack *middleware.Stack, opti if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateItemValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_UpdateKinesisStreamingDestination.go b/service/dynamodb/api_op_UpdateKinesisStreamingDestination.go index d708bd797fd..dbd4934405f 100644 --- a/service/dynamodb/api_op_UpdateKinesisStreamingDestination.go +++ b/service/dynamodb/api_op_UpdateKinesisStreamingDestination.go @@ -137,9 +137,6 @@ func (c *Client) addOperationUpdateKinesisStreamingDestinationMiddlewares(stack if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateKinesisStreamingDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_UpdateTable.go b/service/dynamodb/api_op_UpdateTable.go index c29afc77fc7..0538b4bcf03 100644 --- a/service/dynamodb/api_op_UpdateTable.go +++ b/service/dynamodb/api_op_UpdateTable.go @@ -238,9 +238,6 @@ func (c *Client) addOperationUpdateTableMiddlewares(stack *middleware.Stack, opt if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_UpdateTableReplicaAutoScaling.go b/service/dynamodb/api_op_UpdateTableReplicaAutoScaling.go index a6c12d15db2..6d4e2a42e46 100644 --- a/service/dynamodb/api_op_UpdateTableReplicaAutoScaling.go +++ b/service/dynamodb/api_op_UpdateTableReplicaAutoScaling.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateTableReplicaAutoScalingMiddlewares(stack *mid if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTableReplicaAutoScalingValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/api_op_UpdateTimeToLive.go b/service/dynamodb/api_op_UpdateTimeToLive.go index 9e13a96dc29..ee9debab5e0 100644 --- a/service/dynamodb/api_op_UpdateTimeToLive.go +++ b/service/dynamodb/api_op_UpdateTimeToLive.go @@ -155,9 +155,6 @@ func (c *Client) addOperationUpdateTimeToLiveMiddlewares(stack *middleware.Stack if err = addUserAgentAccountIDEndpointMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTimeToLiveValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodb/snapshot/api_op_BatchExecuteStatement.go.snap b/service/dynamodb/snapshot/api_op_BatchExecuteStatement.go.snap index 68a3ec15888..ba187cc0282 100644 --- a/service/dynamodb/snapshot/api_op_BatchExecuteStatement.go.snap +++ b/service/dynamodb/snapshot/api_op_BatchExecuteStatement.go.snap @@ -14,7 +14,6 @@ BatchExecuteStatement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_BatchGetItem.go.snap b/service/dynamodb/snapshot/api_op_BatchGetItem.go.snap index 8a81526b64e..9efd59cb999 100644 --- a/service/dynamodb/snapshot/api_op_BatchGetItem.go.snap +++ b/service/dynamodb/snapshot/api_op_BatchGetItem.go.snap @@ -14,7 +14,6 @@ BatchGetItem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_BatchWriteItem.go.snap b/service/dynamodb/snapshot/api_op_BatchWriteItem.go.snap index 3d50db4271b..e89c5377e93 100644 --- a/service/dynamodb/snapshot/api_op_BatchWriteItem.go.snap +++ b/service/dynamodb/snapshot/api_op_BatchWriteItem.go.snap @@ -14,7 +14,6 @@ BatchWriteItem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_CreateBackup.go.snap b/service/dynamodb/snapshot/api_op_CreateBackup.go.snap index 773c359861c..2d40d73a4fa 100644 --- a/service/dynamodb/snapshot/api_op_CreateBackup.go.snap +++ b/service/dynamodb/snapshot/api_op_CreateBackup.go.snap @@ -14,7 +14,6 @@ CreateBackup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_CreateGlobalTable.go.snap b/service/dynamodb/snapshot/api_op_CreateGlobalTable.go.snap index 2b727ee290a..82e29dee89c 100644 --- a/service/dynamodb/snapshot/api_op_CreateGlobalTable.go.snap +++ b/service/dynamodb/snapshot/api_op_CreateGlobalTable.go.snap @@ -14,7 +14,6 @@ CreateGlobalTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_CreateTable.go.snap b/service/dynamodb/snapshot/api_op_CreateTable.go.snap index 0f2d9f217bb..1e238a566a2 100644 --- a/service/dynamodb/snapshot/api_op_CreateTable.go.snap +++ b/service/dynamodb/snapshot/api_op_CreateTable.go.snap @@ -14,7 +14,6 @@ CreateTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_DeleteBackup.go.snap b/service/dynamodb/snapshot/api_op_DeleteBackup.go.snap index 5eed91a4212..6b9725bb282 100644 --- a/service/dynamodb/snapshot/api_op_DeleteBackup.go.snap +++ b/service/dynamodb/snapshot/api_op_DeleteBackup.go.snap @@ -14,7 +14,6 @@ DeleteBackup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_DeleteItem.go.snap b/service/dynamodb/snapshot/api_op_DeleteItem.go.snap index 535cda136ea..6403ee6b16b 100644 --- a/service/dynamodb/snapshot/api_op_DeleteItem.go.snap +++ b/service/dynamodb/snapshot/api_op_DeleteItem.go.snap @@ -14,7 +14,6 @@ DeleteItem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_DeleteResourcePolicy.go.snap b/service/dynamodb/snapshot/api_op_DeleteResourcePolicy.go.snap index 94d9e26ba6c..32509fca597 100644 --- a/service/dynamodb/snapshot/api_op_DeleteResourcePolicy.go.snap +++ b/service/dynamodb/snapshot/api_op_DeleteResourcePolicy.go.snap @@ -14,7 +14,6 @@ DeleteResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_DeleteTable.go.snap b/service/dynamodb/snapshot/api_op_DeleteTable.go.snap index a1fc8d9bfa5..2f37723f3b5 100644 --- a/service/dynamodb/snapshot/api_op_DeleteTable.go.snap +++ b/service/dynamodb/snapshot/api_op_DeleteTable.go.snap @@ -14,7 +14,6 @@ DeleteTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_DescribeBackup.go.snap b/service/dynamodb/snapshot/api_op_DescribeBackup.go.snap index 5cbfa558813..9be774bec31 100644 --- a/service/dynamodb/snapshot/api_op_DescribeBackup.go.snap +++ b/service/dynamodb/snapshot/api_op_DescribeBackup.go.snap @@ -14,7 +14,6 @@ DescribeBackup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_DescribeContinuousBackups.go.snap b/service/dynamodb/snapshot/api_op_DescribeContinuousBackups.go.snap index 92474da1db3..4ff32e494b7 100644 --- a/service/dynamodb/snapshot/api_op_DescribeContinuousBackups.go.snap +++ b/service/dynamodb/snapshot/api_op_DescribeContinuousBackups.go.snap @@ -14,7 +14,6 @@ DescribeContinuousBackups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_DescribeContributorInsights.go.snap b/service/dynamodb/snapshot/api_op_DescribeContributorInsights.go.snap index 7177f8850c3..6905053f476 100644 --- a/service/dynamodb/snapshot/api_op_DescribeContributorInsights.go.snap +++ b/service/dynamodb/snapshot/api_op_DescribeContributorInsights.go.snap @@ -14,7 +14,6 @@ DescribeContributorInsights Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_DescribeEndpoints.go.snap b/service/dynamodb/snapshot/api_op_DescribeEndpoints.go.snap index 313b7b3ad8d..c8698fb4f7f 100644 --- a/service/dynamodb/snapshot/api_op_DescribeEndpoints.go.snap +++ b/service/dynamodb/snapshot/api_op_DescribeEndpoints.go.snap @@ -13,7 +13,6 @@ DescribeEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_DescribeExport.go.snap b/service/dynamodb/snapshot/api_op_DescribeExport.go.snap index 691e5274fa8..cbbad51a391 100644 --- a/service/dynamodb/snapshot/api_op_DescribeExport.go.snap +++ b/service/dynamodb/snapshot/api_op_DescribeExport.go.snap @@ -14,7 +14,6 @@ DescribeExport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_DescribeGlobalTable.go.snap b/service/dynamodb/snapshot/api_op_DescribeGlobalTable.go.snap index f4640d12b9b..13e27fc4d2c 100644 --- a/service/dynamodb/snapshot/api_op_DescribeGlobalTable.go.snap +++ b/service/dynamodb/snapshot/api_op_DescribeGlobalTable.go.snap @@ -14,7 +14,6 @@ DescribeGlobalTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_DescribeGlobalTableSettings.go.snap b/service/dynamodb/snapshot/api_op_DescribeGlobalTableSettings.go.snap index e9f2f885c4b..56a26328cc9 100644 --- a/service/dynamodb/snapshot/api_op_DescribeGlobalTableSettings.go.snap +++ b/service/dynamodb/snapshot/api_op_DescribeGlobalTableSettings.go.snap @@ -14,7 +14,6 @@ DescribeGlobalTableSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_DescribeImport.go.snap b/service/dynamodb/snapshot/api_op_DescribeImport.go.snap index 11194ed3301..2d86548d01e 100644 --- a/service/dynamodb/snapshot/api_op_DescribeImport.go.snap +++ b/service/dynamodb/snapshot/api_op_DescribeImport.go.snap @@ -14,7 +14,6 @@ DescribeImport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_DescribeKinesisStreamingDestination.go.snap b/service/dynamodb/snapshot/api_op_DescribeKinesisStreamingDestination.go.snap index a7700f668f3..fc4d0432c89 100644 --- a/service/dynamodb/snapshot/api_op_DescribeKinesisStreamingDestination.go.snap +++ b/service/dynamodb/snapshot/api_op_DescribeKinesisStreamingDestination.go.snap @@ -14,7 +14,6 @@ DescribeKinesisStreamingDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_DescribeLimits.go.snap b/service/dynamodb/snapshot/api_op_DescribeLimits.go.snap index 54933f906a6..7efe68ceb70 100644 --- a/service/dynamodb/snapshot/api_op_DescribeLimits.go.snap +++ b/service/dynamodb/snapshot/api_op_DescribeLimits.go.snap @@ -13,7 +13,6 @@ DescribeLimits Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_DescribeTable.go.snap b/service/dynamodb/snapshot/api_op_DescribeTable.go.snap index b28c0227ca9..c28c2ee3cf2 100644 --- a/service/dynamodb/snapshot/api_op_DescribeTable.go.snap +++ b/service/dynamodb/snapshot/api_op_DescribeTable.go.snap @@ -14,7 +14,6 @@ DescribeTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_DescribeTableReplicaAutoScaling.go.snap b/service/dynamodb/snapshot/api_op_DescribeTableReplicaAutoScaling.go.snap index 50b3f6eeb8e..8745419bf70 100644 --- a/service/dynamodb/snapshot/api_op_DescribeTableReplicaAutoScaling.go.snap +++ b/service/dynamodb/snapshot/api_op_DescribeTableReplicaAutoScaling.go.snap @@ -14,7 +14,6 @@ DescribeTableReplicaAutoScaling Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_DescribeTimeToLive.go.snap b/service/dynamodb/snapshot/api_op_DescribeTimeToLive.go.snap index d6d71e69924..6df020e384e 100644 --- a/service/dynamodb/snapshot/api_op_DescribeTimeToLive.go.snap +++ b/service/dynamodb/snapshot/api_op_DescribeTimeToLive.go.snap @@ -14,7 +14,6 @@ DescribeTimeToLive Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_DisableKinesisStreamingDestination.go.snap b/service/dynamodb/snapshot/api_op_DisableKinesisStreamingDestination.go.snap index 8d52cff20d8..81fa494c153 100644 --- a/service/dynamodb/snapshot/api_op_DisableKinesisStreamingDestination.go.snap +++ b/service/dynamodb/snapshot/api_op_DisableKinesisStreamingDestination.go.snap @@ -14,7 +14,6 @@ DisableKinesisStreamingDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_EnableKinesisStreamingDestination.go.snap b/service/dynamodb/snapshot/api_op_EnableKinesisStreamingDestination.go.snap index 89b0091462b..20ae1db8391 100644 --- a/service/dynamodb/snapshot/api_op_EnableKinesisStreamingDestination.go.snap +++ b/service/dynamodb/snapshot/api_op_EnableKinesisStreamingDestination.go.snap @@ -14,7 +14,6 @@ EnableKinesisStreamingDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_ExecuteStatement.go.snap b/service/dynamodb/snapshot/api_op_ExecuteStatement.go.snap index 17e147346ca..f013ad0898d 100644 --- a/service/dynamodb/snapshot/api_op_ExecuteStatement.go.snap +++ b/service/dynamodb/snapshot/api_op_ExecuteStatement.go.snap @@ -14,7 +14,6 @@ ExecuteStatement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_ExecuteTransaction.go.snap b/service/dynamodb/snapshot/api_op_ExecuteTransaction.go.snap index 99be37b9125..bb5121d6926 100644 --- a/service/dynamodb/snapshot/api_op_ExecuteTransaction.go.snap +++ b/service/dynamodb/snapshot/api_op_ExecuteTransaction.go.snap @@ -15,7 +15,6 @@ ExecuteTransaction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_ExportTableToPointInTime.go.snap b/service/dynamodb/snapshot/api_op_ExportTableToPointInTime.go.snap index 168b5d1aaad..5d3db842ae5 100644 --- a/service/dynamodb/snapshot/api_op_ExportTableToPointInTime.go.snap +++ b/service/dynamodb/snapshot/api_op_ExportTableToPointInTime.go.snap @@ -15,7 +15,6 @@ ExportTableToPointInTime Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_GetItem.go.snap b/service/dynamodb/snapshot/api_op_GetItem.go.snap index e3b0c191c91..d19f33cc2d6 100644 --- a/service/dynamodb/snapshot/api_op_GetItem.go.snap +++ b/service/dynamodb/snapshot/api_op_GetItem.go.snap @@ -14,7 +14,6 @@ GetItem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_GetResourcePolicy.go.snap b/service/dynamodb/snapshot/api_op_GetResourcePolicy.go.snap index 0ff70a3b20c..e2b0e091420 100644 --- a/service/dynamodb/snapshot/api_op_GetResourcePolicy.go.snap +++ b/service/dynamodb/snapshot/api_op_GetResourcePolicy.go.snap @@ -14,7 +14,6 @@ GetResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_ImportTable.go.snap b/service/dynamodb/snapshot/api_op_ImportTable.go.snap index 611b2e8effb..35179a19a7d 100644 --- a/service/dynamodb/snapshot/api_op_ImportTable.go.snap +++ b/service/dynamodb/snapshot/api_op_ImportTable.go.snap @@ -15,7 +15,6 @@ ImportTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_ListBackups.go.snap b/service/dynamodb/snapshot/api_op_ListBackups.go.snap index 4452ea6a353..51b977d759e 100644 --- a/service/dynamodb/snapshot/api_op_ListBackups.go.snap +++ b/service/dynamodb/snapshot/api_op_ListBackups.go.snap @@ -13,7 +13,6 @@ ListBackups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_ListContributorInsights.go.snap b/service/dynamodb/snapshot/api_op_ListContributorInsights.go.snap index b1cbc586218..568a14bbba8 100644 --- a/service/dynamodb/snapshot/api_op_ListContributorInsights.go.snap +++ b/service/dynamodb/snapshot/api_op_ListContributorInsights.go.snap @@ -13,7 +13,6 @@ ListContributorInsights Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_ListExports.go.snap b/service/dynamodb/snapshot/api_op_ListExports.go.snap index bf86e92a861..5a2d0657738 100644 --- a/service/dynamodb/snapshot/api_op_ListExports.go.snap +++ b/service/dynamodb/snapshot/api_op_ListExports.go.snap @@ -13,7 +13,6 @@ ListExports Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_ListGlobalTables.go.snap b/service/dynamodb/snapshot/api_op_ListGlobalTables.go.snap index 8deda21900d..3af6b3cefb7 100644 --- a/service/dynamodb/snapshot/api_op_ListGlobalTables.go.snap +++ b/service/dynamodb/snapshot/api_op_ListGlobalTables.go.snap @@ -13,7 +13,6 @@ ListGlobalTables Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_ListImports.go.snap b/service/dynamodb/snapshot/api_op_ListImports.go.snap index 84bd903ef21..912d00b5509 100644 --- a/service/dynamodb/snapshot/api_op_ListImports.go.snap +++ b/service/dynamodb/snapshot/api_op_ListImports.go.snap @@ -13,7 +13,6 @@ ListImports Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_ListTables.go.snap b/service/dynamodb/snapshot/api_op_ListTables.go.snap index df79918445c..9d6b0a8a357 100644 --- a/service/dynamodb/snapshot/api_op_ListTables.go.snap +++ b/service/dynamodb/snapshot/api_op_ListTables.go.snap @@ -13,7 +13,6 @@ ListTables Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_ListTagsOfResource.go.snap b/service/dynamodb/snapshot/api_op_ListTagsOfResource.go.snap index 4a688a59e3c..4c2aad1e9ad 100644 --- a/service/dynamodb/snapshot/api_op_ListTagsOfResource.go.snap +++ b/service/dynamodb/snapshot/api_op_ListTagsOfResource.go.snap @@ -14,7 +14,6 @@ ListTagsOfResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_PutItem.go.snap b/service/dynamodb/snapshot/api_op_PutItem.go.snap index 53c4cc9d940..962d7c8ebcb 100644 --- a/service/dynamodb/snapshot/api_op_PutItem.go.snap +++ b/service/dynamodb/snapshot/api_op_PutItem.go.snap @@ -14,7 +14,6 @@ PutItem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_PutResourcePolicy.go.snap b/service/dynamodb/snapshot/api_op_PutResourcePolicy.go.snap index a89032668df..ca1285ed498 100644 --- a/service/dynamodb/snapshot/api_op_PutResourcePolicy.go.snap +++ b/service/dynamodb/snapshot/api_op_PutResourcePolicy.go.snap @@ -14,7 +14,6 @@ PutResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_Query.go.snap b/service/dynamodb/snapshot/api_op_Query.go.snap index 8d15647707e..2fbea2e707b 100644 --- a/service/dynamodb/snapshot/api_op_Query.go.snap +++ b/service/dynamodb/snapshot/api_op_Query.go.snap @@ -14,7 +14,6 @@ Query Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_RestoreTableFromBackup.go.snap b/service/dynamodb/snapshot/api_op_RestoreTableFromBackup.go.snap index cca9b1c0c13..8c71315e17b 100644 --- a/service/dynamodb/snapshot/api_op_RestoreTableFromBackup.go.snap +++ b/service/dynamodb/snapshot/api_op_RestoreTableFromBackup.go.snap @@ -14,7 +14,6 @@ RestoreTableFromBackup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_RestoreTableToPointInTime.go.snap b/service/dynamodb/snapshot/api_op_RestoreTableToPointInTime.go.snap index 5d3ce200407..747cf17edb9 100644 --- a/service/dynamodb/snapshot/api_op_RestoreTableToPointInTime.go.snap +++ b/service/dynamodb/snapshot/api_op_RestoreTableToPointInTime.go.snap @@ -14,7 +14,6 @@ RestoreTableToPointInTime Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_Scan.go.snap b/service/dynamodb/snapshot/api_op_Scan.go.snap index a8a415e86c4..d957f9311d9 100644 --- a/service/dynamodb/snapshot/api_op_Scan.go.snap +++ b/service/dynamodb/snapshot/api_op_Scan.go.snap @@ -14,7 +14,6 @@ Scan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_TagResource.go.snap b/service/dynamodb/snapshot/api_op_TagResource.go.snap index 16fc0a8f855..2902d363134 100644 --- a/service/dynamodb/snapshot/api_op_TagResource.go.snap +++ b/service/dynamodb/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_TransactGetItems.go.snap b/service/dynamodb/snapshot/api_op_TransactGetItems.go.snap index b3f54a161ba..968bb3b7ba3 100644 --- a/service/dynamodb/snapshot/api_op_TransactGetItems.go.snap +++ b/service/dynamodb/snapshot/api_op_TransactGetItems.go.snap @@ -14,7 +14,6 @@ TransactGetItems Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_TransactWriteItems.go.snap b/service/dynamodb/snapshot/api_op_TransactWriteItems.go.snap index 064d7e69b9d..c3564ca040d 100644 --- a/service/dynamodb/snapshot/api_op_TransactWriteItems.go.snap +++ b/service/dynamodb/snapshot/api_op_TransactWriteItems.go.snap @@ -15,7 +15,6 @@ TransactWriteItems Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_UntagResource.go.snap b/service/dynamodb/snapshot/api_op_UntagResource.go.snap index 878ddc55c34..fcc9a0c044f 100644 --- a/service/dynamodb/snapshot/api_op_UntagResource.go.snap +++ b/service/dynamodb/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_UpdateContinuousBackups.go.snap b/service/dynamodb/snapshot/api_op_UpdateContinuousBackups.go.snap index 1d6f1538263..e803f63d344 100644 --- a/service/dynamodb/snapshot/api_op_UpdateContinuousBackups.go.snap +++ b/service/dynamodb/snapshot/api_op_UpdateContinuousBackups.go.snap @@ -14,7 +14,6 @@ UpdateContinuousBackups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_UpdateContributorInsights.go.snap b/service/dynamodb/snapshot/api_op_UpdateContributorInsights.go.snap index 5453bad93bc..564ce203bd1 100644 --- a/service/dynamodb/snapshot/api_op_UpdateContributorInsights.go.snap +++ b/service/dynamodb/snapshot/api_op_UpdateContributorInsights.go.snap @@ -14,7 +14,6 @@ UpdateContributorInsights Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_UpdateGlobalTable.go.snap b/service/dynamodb/snapshot/api_op_UpdateGlobalTable.go.snap index 732c5f8828f..7664d16cc22 100644 --- a/service/dynamodb/snapshot/api_op_UpdateGlobalTable.go.snap +++ b/service/dynamodb/snapshot/api_op_UpdateGlobalTable.go.snap @@ -14,7 +14,6 @@ UpdateGlobalTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_UpdateGlobalTableSettings.go.snap b/service/dynamodb/snapshot/api_op_UpdateGlobalTableSettings.go.snap index 163de2eee9b..a8deabe44af 100644 --- a/service/dynamodb/snapshot/api_op_UpdateGlobalTableSettings.go.snap +++ b/service/dynamodb/snapshot/api_op_UpdateGlobalTableSettings.go.snap @@ -14,7 +14,6 @@ UpdateGlobalTableSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_UpdateItem.go.snap b/service/dynamodb/snapshot/api_op_UpdateItem.go.snap index 5141fafe4da..e76f3aa7eee 100644 --- a/service/dynamodb/snapshot/api_op_UpdateItem.go.snap +++ b/service/dynamodb/snapshot/api_op_UpdateItem.go.snap @@ -14,7 +14,6 @@ UpdateItem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_UpdateKinesisStreamingDestination.go.snap b/service/dynamodb/snapshot/api_op_UpdateKinesisStreamingDestination.go.snap index c79e67310a8..59bd8d8446f 100644 --- a/service/dynamodb/snapshot/api_op_UpdateKinesisStreamingDestination.go.snap +++ b/service/dynamodb/snapshot/api_op_UpdateKinesisStreamingDestination.go.snap @@ -14,7 +14,6 @@ UpdateKinesisStreamingDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_UpdateTable.go.snap b/service/dynamodb/snapshot/api_op_UpdateTable.go.snap index 2132f72993a..8e3028ab501 100644 --- a/service/dynamodb/snapshot/api_op_UpdateTable.go.snap +++ b/service/dynamodb/snapshot/api_op_UpdateTable.go.snap @@ -14,7 +14,6 @@ UpdateTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_UpdateTableReplicaAutoScaling.go.snap b/service/dynamodb/snapshot/api_op_UpdateTableReplicaAutoScaling.go.snap index de87213edbc..a9c3aeb3489 100644 --- a/service/dynamodb/snapshot/api_op_UpdateTableReplicaAutoScaling.go.snap +++ b/service/dynamodb/snapshot/api_op_UpdateTableReplicaAutoScaling.go.snap @@ -14,7 +14,6 @@ UpdateTableReplicaAutoScaling Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodb/snapshot/api_op_UpdateTimeToLive.go.snap b/service/dynamodb/snapshot/api_op_UpdateTimeToLive.go.snap index 0182ab13cdb..7c57acd2a4e 100644 --- a/service/dynamodb/snapshot/api_op_UpdateTimeToLive.go.snap +++ b/service/dynamodb/snapshot/api_op_UpdateTimeToLive.go.snap @@ -14,7 +14,6 @@ UpdateTimeToLive Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodbstreams/api_client.go b/service/dynamodbstreams/api_client.go index a4a767482a3..8a44d8e9699 100644 --- a/service/dynamodbstreams/api_client.go +++ b/service/dynamodbstreams/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/dynamodbstreams/api_op_DescribeStream.go b/service/dynamodbstreams/api_op_DescribeStream.go index 4d197a22faa..9c8e1caa0aa 100644 --- a/service/dynamodbstreams/api_op_DescribeStream.go +++ b/service/dynamodbstreams/api_op_DescribeStream.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeStreamMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodbstreams/api_op_GetRecords.go b/service/dynamodbstreams/api_op_GetRecords.go index a53b8198bfc..28d27175bf4 100644 --- a/service/dynamodbstreams/api_op_GetRecords.go +++ b/service/dynamodbstreams/api_op_GetRecords.go @@ -134,9 +134,6 @@ func (c *Client) addOperationGetRecordsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRecordsValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodbstreams/api_op_GetShardIterator.go b/service/dynamodbstreams/api_op_GetShardIterator.go index d5009df6b13..ddb8532dccc 100644 --- a/service/dynamodbstreams/api_op_GetShardIterator.go +++ b/service/dynamodbstreams/api_op_GetShardIterator.go @@ -148,9 +148,6 @@ func (c *Client) addOperationGetShardIteratorMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetShardIteratorValidationMiddleware(stack); err != nil { return err } diff --git a/service/dynamodbstreams/api_op_ListStreams.go b/service/dynamodbstreams/api_op_ListStreams.go index 3837c66b7be..1b2874dc2f7 100644 --- a/service/dynamodbstreams/api_op_ListStreams.go +++ b/service/dynamodbstreams/api_op_ListStreams.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListStreamsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStreams(options.Region), middleware.Before); err != nil { return err } diff --git a/service/dynamodbstreams/snapshot/api_op_DescribeStream.go.snap b/service/dynamodbstreams/snapshot/api_op_DescribeStream.go.snap index 76c7403165f..ed322cb7d14 100644 --- a/service/dynamodbstreams/snapshot/api_op_DescribeStream.go.snap +++ b/service/dynamodbstreams/snapshot/api_op_DescribeStream.go.snap @@ -14,7 +14,6 @@ DescribeStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodbstreams/snapshot/api_op_GetRecords.go.snap b/service/dynamodbstreams/snapshot/api_op_GetRecords.go.snap index da33a7968c3..1d9f88fb820 100644 --- a/service/dynamodbstreams/snapshot/api_op_GetRecords.go.snap +++ b/service/dynamodbstreams/snapshot/api_op_GetRecords.go.snap @@ -14,7 +14,6 @@ GetRecords Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodbstreams/snapshot/api_op_GetShardIterator.go.snap b/service/dynamodbstreams/snapshot/api_op_GetShardIterator.go.snap index dda4fb9f610..859c647b969 100644 --- a/service/dynamodbstreams/snapshot/api_op_GetShardIterator.go.snap +++ b/service/dynamodbstreams/snapshot/api_op_GetShardIterator.go.snap @@ -14,7 +14,6 @@ GetShardIterator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/dynamodbstreams/snapshot/api_op_ListStreams.go.snap b/service/dynamodbstreams/snapshot/api_op_ListStreams.go.snap index 89c925c91c7..1885962ecc5 100644 --- a/service/dynamodbstreams/snapshot/api_op_ListStreams.go.snap +++ b/service/dynamodbstreams/snapshot/api_op_ListStreams.go.snap @@ -13,7 +13,6 @@ ListStreams Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ebs/api_client.go b/service/ebs/api_client.go index 624e5050abc..af393e935e3 100644 --- a/service/ebs/api_client.go +++ b/service/ebs/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/ebs/api_op_CompleteSnapshot.go b/service/ebs/api_op_CompleteSnapshot.go index eebbfeba988..1a40c43e063 100644 --- a/service/ebs/api_op_CompleteSnapshot.go +++ b/service/ebs/api_op_CompleteSnapshot.go @@ -142,9 +142,6 @@ func (c *Client) addOperationCompleteSnapshotMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCompleteSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/ebs/api_op_GetSnapshotBlock.go b/service/ebs/api_op_GetSnapshotBlock.go index ffd7a87a7e2..8ebb6af83a3 100644 --- a/service/ebs/api_op_GetSnapshotBlock.go +++ b/service/ebs/api_op_GetSnapshotBlock.go @@ -146,9 +146,6 @@ func (c *Client) addOperationGetSnapshotBlockMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSnapshotBlockValidationMiddleware(stack); err != nil { return err } diff --git a/service/ebs/api_op_ListChangedBlocks.go b/service/ebs/api_op_ListChangedBlocks.go index e5fa68110cb..375552b78e0 100644 --- a/service/ebs/api_op_ListChangedBlocks.go +++ b/service/ebs/api_op_ListChangedBlocks.go @@ -165,9 +165,6 @@ func (c *Client) addOperationListChangedBlocksMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListChangedBlocksValidationMiddleware(stack); err != nil { return err } diff --git a/service/ebs/api_op_ListSnapshotBlocks.go b/service/ebs/api_op_ListSnapshotBlocks.go index 416cc833a81..6a25e612bd4 100644 --- a/service/ebs/api_op_ListSnapshotBlocks.go +++ b/service/ebs/api_op_ListSnapshotBlocks.go @@ -153,9 +153,6 @@ func (c *Client) addOperationListSnapshotBlocksMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSnapshotBlocksValidationMiddleware(stack); err != nil { return err } diff --git a/service/ebs/api_op_PutSnapshotBlock.go b/service/ebs/api_op_PutSnapshotBlock.go index 716f41c6b16..c8b4b50edb7 100644 --- a/service/ebs/api_op_PutSnapshotBlock.go +++ b/service/ebs/api_op_PutSnapshotBlock.go @@ -182,9 +182,6 @@ func (c *Client) addOperationPutSnapshotBlockMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutSnapshotBlockValidationMiddleware(stack); err != nil { return err } diff --git a/service/ebs/api_op_StartSnapshot.go b/service/ebs/api_op_StartSnapshot.go index 4704fe4fc8b..b164dbdba72 100644 --- a/service/ebs/api_op_StartSnapshot.go +++ b/service/ebs/api_op_StartSnapshot.go @@ -241,9 +241,6 @@ func (c *Client) addOperationStartSnapshotMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartSnapshotMiddleware(stack, options); err != nil { return err } diff --git a/service/ebs/snapshot/api_op_CompleteSnapshot.go.snap b/service/ebs/snapshot/api_op_CompleteSnapshot.go.snap index 51cc18c441e..490ea1e08a4 100644 --- a/service/ebs/snapshot/api_op_CompleteSnapshot.go.snap +++ b/service/ebs/snapshot/api_op_CompleteSnapshot.go.snap @@ -14,7 +14,6 @@ CompleteSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ebs/snapshot/api_op_GetSnapshotBlock.go.snap b/service/ebs/snapshot/api_op_GetSnapshotBlock.go.snap index 435f50e447d..f7e4636b312 100644 --- a/service/ebs/snapshot/api_op_GetSnapshotBlock.go.snap +++ b/service/ebs/snapshot/api_op_GetSnapshotBlock.go.snap @@ -14,7 +14,6 @@ GetSnapshotBlock Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ebs/snapshot/api_op_ListChangedBlocks.go.snap b/service/ebs/snapshot/api_op_ListChangedBlocks.go.snap index 86653c19c0d..80aac7d5bf1 100644 --- a/service/ebs/snapshot/api_op_ListChangedBlocks.go.snap +++ b/service/ebs/snapshot/api_op_ListChangedBlocks.go.snap @@ -14,7 +14,6 @@ ListChangedBlocks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ebs/snapshot/api_op_ListSnapshotBlocks.go.snap b/service/ebs/snapshot/api_op_ListSnapshotBlocks.go.snap index e415b88a259..482c3f648d8 100644 --- a/service/ebs/snapshot/api_op_ListSnapshotBlocks.go.snap +++ b/service/ebs/snapshot/api_op_ListSnapshotBlocks.go.snap @@ -14,7 +14,6 @@ ListSnapshotBlocks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ebs/snapshot/api_op_PutSnapshotBlock.go.snap b/service/ebs/snapshot/api_op_PutSnapshotBlock.go.snap index 18d18e3fe4f..f7c04b725b0 100644 --- a/service/ebs/snapshot/api_op_PutSnapshotBlock.go.snap +++ b/service/ebs/snapshot/api_op_PutSnapshotBlock.go.snap @@ -14,7 +14,6 @@ PutSnapshotBlock Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ebs/snapshot/api_op_StartSnapshot.go.snap b/service/ebs/snapshot/api_op_StartSnapshot.go.snap index dff485aab0e..89186199eec 100644 --- a/service/ebs/snapshot/api_op_StartSnapshot.go.snap +++ b/service/ebs/snapshot/api_op_StartSnapshot.go.snap @@ -15,7 +15,6 @@ StartSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/api_client.go b/service/ec2/api_client.go index 2a7294485c6..7b3e9220711 100644 --- a/service/ec2/api_client.go +++ b/service/ec2/api_client.go @@ -776,37 +776,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/ec2/api_op_AcceptAddressTransfer.go b/service/ec2/api_op_AcceptAddressTransfer.go index 4652a6b0c2f..860b8d40c07 100644 --- a/service/ec2/api_op_AcceptAddressTransfer.go +++ b/service/ec2/api_op_AcceptAddressTransfer.go @@ -127,9 +127,6 @@ func (c *Client) addOperationAcceptAddressTransferMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptAddressTransferValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AcceptCapacityReservationBillingOwnership.go b/service/ec2/api_op_AcceptCapacityReservationBillingOwnership.go index e6f0c2a7b85..7d758a94889 100644 --- a/service/ec2/api_op_AcceptCapacityReservationBillingOwnership.go +++ b/service/ec2/api_op_AcceptCapacityReservationBillingOwnership.go @@ -120,9 +120,6 @@ func (c *Client) addOperationAcceptCapacityReservationBillingOwnershipMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptCapacityReservationBillingOwnershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AcceptReservedInstancesExchangeQuote.go b/service/ec2/api_op_AcceptReservedInstancesExchangeQuote.go index 8827cfe5095..4743ac266cc 100644 --- a/service/ec2/api_op_AcceptReservedInstancesExchangeQuote.go +++ b/service/ec2/api_op_AcceptReservedInstancesExchangeQuote.go @@ -125,9 +125,6 @@ func (c *Client) addOperationAcceptReservedInstancesExchangeQuoteMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptReservedInstancesExchangeQuoteValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AcceptTransitGatewayMulticastDomainAssociations.go b/service/ec2/api_op_AcceptTransitGatewayMulticastDomainAssociations.go index ddb8e93478b..09812215e43 100644 --- a/service/ec2/api_op_AcceptTransitGatewayMulticastDomainAssociations.go +++ b/service/ec2/api_op_AcceptTransitGatewayMulticastDomainAssociations.go @@ -122,9 +122,6 @@ func (c *Client) addOperationAcceptTransitGatewayMulticastDomainAssociationsMidd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptTransitGatewayMulticastDomainAssociations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_AcceptTransitGatewayPeeringAttachment.go b/service/ec2/api_op_AcceptTransitGatewayPeeringAttachment.go index 5ea0d0147b0..0be0a9e5980 100644 --- a/service/ec2/api_op_AcceptTransitGatewayPeeringAttachment.go +++ b/service/ec2/api_op_AcceptTransitGatewayPeeringAttachment.go @@ -119,9 +119,6 @@ func (c *Client) addOperationAcceptTransitGatewayPeeringAttachmentMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptTransitGatewayPeeringAttachmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AcceptTransitGatewayVpcAttachment.go b/service/ec2/api_op_AcceptTransitGatewayVpcAttachment.go index 6d8077c5ad1..2ac259adeed 100644 --- a/service/ec2/api_op_AcceptTransitGatewayVpcAttachment.go +++ b/service/ec2/api_op_AcceptTransitGatewayVpcAttachment.go @@ -121,9 +121,6 @@ func (c *Client) addOperationAcceptTransitGatewayVpcAttachmentMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptTransitGatewayVpcAttachmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AcceptVpcEndpointConnections.go b/service/ec2/api_op_AcceptVpcEndpointConnections.go index 52327eb0e19..24003b549e8 100644 --- a/service/ec2/api_op_AcceptVpcEndpointConnections.go +++ b/service/ec2/api_op_AcceptVpcEndpointConnections.go @@ -123,9 +123,6 @@ func (c *Client) addOperationAcceptVpcEndpointConnectionsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptVpcEndpointConnectionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AcceptVpcPeeringConnection.go b/service/ec2/api_op_AcceptVpcPeeringConnection.go index 4ca7541cbf5..b653004d321 100644 --- a/service/ec2/api_op_AcceptVpcPeeringConnection.go +++ b/service/ec2/api_op_AcceptVpcPeeringConnection.go @@ -124,9 +124,6 @@ func (c *Client) addOperationAcceptVpcPeeringConnectionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptVpcPeeringConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AdvertiseByoipCidr.go b/service/ec2/api_op_AdvertiseByoipCidr.go index 21a166c9842..d26534cb1c7 100644 --- a/service/ec2/api_op_AdvertiseByoipCidr.go +++ b/service/ec2/api_op_AdvertiseByoipCidr.go @@ -157,9 +157,6 @@ func (c *Client) addOperationAdvertiseByoipCidrMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAdvertiseByoipCidrValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AllocateAddress.go b/service/ec2/api_op_AllocateAddress.go index 2e5b6391541..a39af6a4b12 100644 --- a/service/ec2/api_op_AllocateAddress.go +++ b/service/ec2/api_op_AllocateAddress.go @@ -190,9 +190,6 @@ func (c *Client) addOperationAllocateAddressMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAllocateAddress(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_AllocateHosts.go b/service/ec2/api_op_AllocateHosts.go index 4c0e8bf55e5..30f67dce76f 100644 --- a/service/ec2/api_op_AllocateHosts.go +++ b/service/ec2/api_op_AllocateHosts.go @@ -196,9 +196,6 @@ func (c *Client) addOperationAllocateHostsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAllocateHostsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AllocateIpamPoolCidr.go b/service/ec2/api_op_AllocateIpamPoolCidr.go index 933d5627803..3f16b4db54f 100644 --- a/service/ec2/api_op_AllocateIpamPoolCidr.go +++ b/service/ec2/api_op_AllocateIpamPoolCidr.go @@ -175,9 +175,6 @@ func (c *Client) addOperationAllocateIpamPoolCidrMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opAllocateIpamPoolCidrMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_ApplySecurityGroupsToClientVpnTargetNetwork.go b/service/ec2/api_op_ApplySecurityGroupsToClientVpnTargetNetwork.go index 93999d67ae6..7f395537f27 100644 --- a/service/ec2/api_op_ApplySecurityGroupsToClientVpnTargetNetwork.go +++ b/service/ec2/api_op_ApplySecurityGroupsToClientVpnTargetNetwork.go @@ -130,9 +130,6 @@ func (c *Client) addOperationApplySecurityGroupsToClientVpnTargetNetworkMiddlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpApplySecurityGroupsToClientVpnTargetNetworkValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssignIpv6Addresses.go b/service/ec2/api_op_AssignIpv6Addresses.go index 6323f310eef..099fed0d88c 100644 --- a/service/ec2/api_op_AssignIpv6Addresses.go +++ b/service/ec2/api_op_AssignIpv6Addresses.go @@ -152,9 +152,6 @@ func (c *Client) addOperationAssignIpv6AddressesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssignIpv6AddressesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssignPrivateIpAddresses.go b/service/ec2/api_op_AssignPrivateIpAddresses.go index 72df0d701eb..b9c85cf619a 100644 --- a/service/ec2/api_op_AssignPrivateIpAddresses.go +++ b/service/ec2/api_op_AssignPrivateIpAddresses.go @@ -169,9 +169,6 @@ func (c *Client) addOperationAssignPrivateIpAddressesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssignPrivateIpAddressesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssignPrivateNatGatewayAddress.go b/service/ec2/api_op_AssignPrivateNatGatewayAddress.go index 08d17ad1037..1c9a592e802 100644 --- a/service/ec2/api_op_AssignPrivateNatGatewayAddress.go +++ b/service/ec2/api_op_AssignPrivateNatGatewayAddress.go @@ -131,9 +131,6 @@ func (c *Client) addOperationAssignPrivateNatGatewayAddressMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssignPrivateNatGatewayAddressValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssociateAddress.go b/service/ec2/api_op_AssociateAddress.go index cd8bcb78be5..88dd661736f 100644 --- a/service/ec2/api_op_AssociateAddress.go +++ b/service/ec2/api_op_AssociateAddress.go @@ -161,9 +161,6 @@ func (c *Client) addOperationAssociateAddressMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateAddress(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_AssociateCapacityReservationBillingOwner.go b/service/ec2/api_op_AssociateCapacityReservationBillingOwner.go index d4145916ebc..4c33c8b50a0 100644 --- a/service/ec2/api_op_AssociateCapacityReservationBillingOwner.go +++ b/service/ec2/api_op_AssociateCapacityReservationBillingOwner.go @@ -126,9 +126,6 @@ func (c *Client) addOperationAssociateCapacityReservationBillingOwnerMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateCapacityReservationBillingOwnerValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssociateClientVpnTargetNetwork.go b/service/ec2/api_op_AssociateClientVpnTargetNetwork.go index 3edf2cca056..5282a4a0484 100644 --- a/service/ec2/api_op_AssociateClientVpnTargetNetwork.go +++ b/service/ec2/api_op_AssociateClientVpnTargetNetwork.go @@ -141,9 +141,6 @@ func (c *Client) addOperationAssociateClientVpnTargetNetworkMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opAssociateClientVpnTargetNetworkMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_AssociateDhcpOptions.go b/service/ec2/api_op_AssociateDhcpOptions.go index 1b04c25a93c..7f8a1b47cce 100644 --- a/service/ec2/api_op_AssociateDhcpOptions.go +++ b/service/ec2/api_op_AssociateDhcpOptions.go @@ -130,9 +130,6 @@ func (c *Client) addOperationAssociateDhcpOptionsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateDhcpOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssociateEnclaveCertificateIamRole.go b/service/ec2/api_op_AssociateEnclaveCertificateIamRole.go index c3e3e1ada54..ff0ae6f7e85 100644 --- a/service/ec2/api_op_AssociateEnclaveCertificateIamRole.go +++ b/service/ec2/api_op_AssociateEnclaveCertificateIamRole.go @@ -149,9 +149,6 @@ func (c *Client) addOperationAssociateEnclaveCertificateIamRoleMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateEnclaveCertificateIamRoleValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssociateIamInstanceProfile.go b/service/ec2/api_op_AssociateIamInstanceProfile.go index 885ccab24b0..51103ac78b8 100644 --- a/service/ec2/api_op_AssociateIamInstanceProfile.go +++ b/service/ec2/api_op_AssociateIamInstanceProfile.go @@ -118,9 +118,6 @@ func (c *Client) addOperationAssociateIamInstanceProfileMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateIamInstanceProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssociateInstanceEventWindow.go b/service/ec2/api_op_AssociateInstanceEventWindow.go index 9fb87f544a7..f6d3700975f 100644 --- a/service/ec2/api_op_AssociateInstanceEventWindow.go +++ b/service/ec2/api_op_AssociateInstanceEventWindow.go @@ -129,9 +129,6 @@ func (c *Client) addOperationAssociateInstanceEventWindowMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateInstanceEventWindowValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssociateIpamByoasn.go b/service/ec2/api_op_AssociateIpamByoasn.go index afe7a72e152..ec61a919d23 100644 --- a/service/ec2/api_op_AssociateIpamByoasn.go +++ b/service/ec2/api_op_AssociateIpamByoasn.go @@ -132,9 +132,6 @@ func (c *Client) addOperationAssociateIpamByoasnMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateIpamByoasnValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssociateIpamResourceDiscovery.go b/service/ec2/api_op_AssociateIpamResourceDiscovery.go index 24d328e46dd..373cc40899c 100644 --- a/service/ec2/api_op_AssociateIpamResourceDiscovery.go +++ b/service/ec2/api_op_AssociateIpamResourceDiscovery.go @@ -132,9 +132,6 @@ func (c *Client) addOperationAssociateIpamResourceDiscoveryMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opAssociateIpamResourceDiscoveryMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_AssociateNatGatewayAddress.go b/service/ec2/api_op_AssociateNatGatewayAddress.go index 3c87b06be5c..f7cbc2f8756 100644 --- a/service/ec2/api_op_AssociateNatGatewayAddress.go +++ b/service/ec2/api_op_AssociateNatGatewayAddress.go @@ -147,9 +147,6 @@ func (c *Client) addOperationAssociateNatGatewayAddressMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateNatGatewayAddressValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssociateRouteTable.go b/service/ec2/api_op_AssociateRouteTable.go index a4c5941c915..3df6ff49879 100644 --- a/service/ec2/api_op_AssociateRouteTable.go +++ b/service/ec2/api_op_AssociateRouteTable.go @@ -137,9 +137,6 @@ func (c *Client) addOperationAssociateRouteTableMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateRouteTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssociateSecurityGroupVpc.go b/service/ec2/api_op_AssociateSecurityGroupVpc.go index 7287e7a67cf..92d2712313e 100644 --- a/service/ec2/api_op_AssociateSecurityGroupVpc.go +++ b/service/ec2/api_op_AssociateSecurityGroupVpc.go @@ -137,9 +137,6 @@ func (c *Client) addOperationAssociateSecurityGroupVpcMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateSecurityGroupVpcValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssociateSubnetCidrBlock.go b/service/ec2/api_op_AssociateSubnetCidrBlock.go index f14b485fa40..03354097ded 100644 --- a/service/ec2/api_op_AssociateSubnetCidrBlock.go +++ b/service/ec2/api_op_AssociateSubnetCidrBlock.go @@ -125,9 +125,6 @@ func (c *Client) addOperationAssociateSubnetCidrBlockMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateSubnetCidrBlockValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssociateTransitGatewayMulticastDomain.go b/service/ec2/api_op_AssociateTransitGatewayMulticastDomain.go index 50f8329f983..55020f3b1db 100644 --- a/service/ec2/api_op_AssociateTransitGatewayMulticastDomain.go +++ b/service/ec2/api_op_AssociateTransitGatewayMulticastDomain.go @@ -135,9 +135,6 @@ func (c *Client) addOperationAssociateTransitGatewayMulticastDomainMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateTransitGatewayMulticastDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssociateTransitGatewayPolicyTable.go b/service/ec2/api_op_AssociateTransitGatewayPolicyTable.go index 1629c934e3f..873f75a82e2 100644 --- a/service/ec2/api_op_AssociateTransitGatewayPolicyTable.go +++ b/service/ec2/api_op_AssociateTransitGatewayPolicyTable.go @@ -126,9 +126,6 @@ func (c *Client) addOperationAssociateTransitGatewayPolicyTableMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateTransitGatewayPolicyTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssociateTransitGatewayRouteTable.go b/service/ec2/api_op_AssociateTransitGatewayRouteTable.go index e9087210024..607f9a41a17 100644 --- a/service/ec2/api_op_AssociateTransitGatewayRouteTable.go +++ b/service/ec2/api_op_AssociateTransitGatewayRouteTable.go @@ -124,9 +124,6 @@ func (c *Client) addOperationAssociateTransitGatewayRouteTableMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateTransitGatewayRouteTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AssociateTrunkInterface.go b/service/ec2/api_op_AssociateTrunkInterface.go index cd0feeebbde..a01aea339ec 100644 --- a/service/ec2/api_op_AssociateTrunkInterface.go +++ b/service/ec2/api_op_AssociateTrunkInterface.go @@ -148,9 +148,6 @@ func (c *Client) addOperationAssociateTrunkInterfaceMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opAssociateTrunkInterfaceMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_AssociateVpcCidrBlock.go b/service/ec2/api_op_AssociateVpcCidrBlock.go index fe239aac71a..ac21512bfd0 100644 --- a/service/ec2/api_op_AssociateVpcCidrBlock.go +++ b/service/ec2/api_op_AssociateVpcCidrBlock.go @@ -182,9 +182,6 @@ func (c *Client) addOperationAssociateVpcCidrBlockMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateVpcCidrBlockValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AttachClassicLinkVpc.go b/service/ec2/api_op_AttachClassicLinkVpc.go index 8ca899fc0db..286cf58a5fc 100644 --- a/service/ec2/api_op_AttachClassicLinkVpc.go +++ b/service/ec2/api_op_AttachClassicLinkVpc.go @@ -141,9 +141,6 @@ func (c *Client) addOperationAttachClassicLinkVpcMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAttachClassicLinkVpcValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AttachInternetGateway.go b/service/ec2/api_op_AttachInternetGateway.go index e6ff7ecb2d3..046481510b0 100644 --- a/service/ec2/api_op_AttachInternetGateway.go +++ b/service/ec2/api_op_AttachInternetGateway.go @@ -122,9 +122,6 @@ func (c *Client) addOperationAttachInternetGatewayMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAttachInternetGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AttachNetworkInterface.go b/service/ec2/api_op_AttachNetworkInterface.go index f6016816057..45808aae787 100644 --- a/service/ec2/api_op_AttachNetworkInterface.go +++ b/service/ec2/api_op_AttachNetworkInterface.go @@ -142,9 +142,6 @@ func (c *Client) addOperationAttachNetworkInterfaceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAttachNetworkInterfaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AttachVerifiedAccessTrustProvider.go b/service/ec2/api_op_AttachVerifiedAccessTrustProvider.go index 9e32f0ce633..1c239bfdcb5 100644 --- a/service/ec2/api_op_AttachVerifiedAccessTrustProvider.go +++ b/service/ec2/api_op_AttachVerifiedAccessTrustProvider.go @@ -133,9 +133,6 @@ func (c *Client) addOperationAttachVerifiedAccessTrustProviderMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opAttachVerifiedAccessTrustProviderMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_AttachVolume.go b/service/ec2/api_op_AttachVolume.go index 4cea55b0a47..495070731b1 100644 --- a/service/ec2/api_op_AttachVolume.go +++ b/service/ec2/api_op_AttachVolume.go @@ -185,9 +185,6 @@ func (c *Client) addOperationAttachVolumeMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAttachVolumeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AttachVpnGateway.go b/service/ec2/api_op_AttachVpnGateway.go index 12b10636750..2a405e0b211 100644 --- a/service/ec2/api_op_AttachVpnGateway.go +++ b/service/ec2/api_op_AttachVpnGateway.go @@ -131,9 +131,6 @@ func (c *Client) addOperationAttachVpnGatewayMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAttachVpnGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AuthorizeClientVpnIngress.go b/service/ec2/api_op_AuthorizeClientVpnIngress.go index 66d3cbf1f95..8dd2b799c06 100644 --- a/service/ec2/api_op_AuthorizeClientVpnIngress.go +++ b/service/ec2/api_op_AuthorizeClientVpnIngress.go @@ -146,9 +146,6 @@ func (c *Client) addOperationAuthorizeClientVpnIngressMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opAuthorizeClientVpnIngressMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_AuthorizeSecurityGroupEgress.go b/service/ec2/api_op_AuthorizeSecurityGroupEgress.go index 4519480d01f..a34d8632e4b 100644 --- a/service/ec2/api_op_AuthorizeSecurityGroupEgress.go +++ b/service/ec2/api_op_AuthorizeSecurityGroupEgress.go @@ -168,9 +168,6 @@ func (c *Client) addOperationAuthorizeSecurityGroupEgressMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAuthorizeSecurityGroupEgressValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_AuthorizeSecurityGroupIngress.go b/service/ec2/api_op_AuthorizeSecurityGroupIngress.go index a0ebe5ede69..1c4a9159a09 100644 --- a/service/ec2/api_op_AuthorizeSecurityGroupIngress.go +++ b/service/ec2/api_op_AuthorizeSecurityGroupIngress.go @@ -216,9 +216,6 @@ func (c *Client) addOperationAuthorizeSecurityGroupIngressMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAuthorizeSecurityGroupIngress(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_BundleInstance.go b/service/ec2/api_op_BundleInstance.go index 532ab269f93..0e1de4e83d8 100644 --- a/service/ec2/api_op_BundleInstance.go +++ b/service/ec2/api_op_BundleInstance.go @@ -135,9 +135,6 @@ func (c *Client) addOperationBundleInstanceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBundleInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CancelBundleTask.go b/service/ec2/api_op_CancelBundleTask.go index 7393864c1ae..4e39192eae7 100644 --- a/service/ec2/api_op_CancelBundleTask.go +++ b/service/ec2/api_op_CancelBundleTask.go @@ -120,9 +120,6 @@ func (c *Client) addOperationCancelBundleTaskMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelBundleTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CancelCapacityReservation.go b/service/ec2/api_op_CancelCapacityReservation.go index ae58196861c..88661628c4e 100644 --- a/service/ec2/api_op_CancelCapacityReservation.go +++ b/service/ec2/api_op_CancelCapacityReservation.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCancelCapacityReservationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelCapacityReservationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CancelCapacityReservationFleets.go b/service/ec2/api_op_CancelCapacityReservationFleets.go index 9e9a61dc24a..d07157369a4 100644 --- a/service/ec2/api_op_CancelCapacityReservationFleets.go +++ b/service/ec2/api_op_CancelCapacityReservationFleets.go @@ -131,9 +131,6 @@ func (c *Client) addOperationCancelCapacityReservationFleetsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelCapacityReservationFleetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CancelConversionTask.go b/service/ec2/api_op_CancelConversionTask.go index 663dfefff66..81fc8747c39 100644 --- a/service/ec2/api_op_CancelConversionTask.go +++ b/service/ec2/api_op_CancelConversionTask.go @@ -120,9 +120,6 @@ func (c *Client) addOperationCancelConversionTaskMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelConversionTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CancelDeclarativePoliciesReport.go b/service/ec2/api_op_CancelDeclarativePoliciesReport.go index f720038a4d1..6913b7f31ba 100644 --- a/service/ec2/api_op_CancelDeclarativePoliciesReport.go +++ b/service/ec2/api_op_CancelDeclarativePoliciesReport.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCancelDeclarativePoliciesReportMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelDeclarativePoliciesReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CancelExportTask.go b/service/ec2/api_op_CancelExportTask.go index 7be8de075d5..43a5840c03c 100644 --- a/service/ec2/api_op_CancelExportTask.go +++ b/service/ec2/api_op_CancelExportTask.go @@ -111,9 +111,6 @@ func (c *Client) addOperationCancelExportTaskMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelExportTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CancelImageLaunchPermission.go b/service/ec2/api_op_CancelImageLaunchPermission.go index 6f17670500c..88de16eef63 100644 --- a/service/ec2/api_op_CancelImageLaunchPermission.go +++ b/service/ec2/api_op_CancelImageLaunchPermission.go @@ -120,9 +120,6 @@ func (c *Client) addOperationCancelImageLaunchPermissionMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelImageLaunchPermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CancelImportTask.go b/service/ec2/api_op_CancelImportTask.go index 935fa60e6e8..eb13efbed86 100644 --- a/service/ec2/api_op_CancelImportTask.go +++ b/service/ec2/api_op_CancelImportTask.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCancelImportTaskMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelImportTask(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_CancelReservedInstancesListing.go b/service/ec2/api_op_CancelReservedInstancesListing.go index 8c410d6733b..0c16952ebcd 100644 --- a/service/ec2/api_op_CancelReservedInstancesListing.go +++ b/service/ec2/api_op_CancelReservedInstancesListing.go @@ -119,9 +119,6 @@ func (c *Client) addOperationCancelReservedInstancesListingMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelReservedInstancesListingValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CancelSpotFleetRequests.go b/service/ec2/api_op_CancelSpotFleetRequests.go index c9547877127..4207b62a561 100644 --- a/service/ec2/api_op_CancelSpotFleetRequests.go +++ b/service/ec2/api_op_CancelSpotFleetRequests.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCancelSpotFleetRequestsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelSpotFleetRequestsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CancelSpotInstanceRequests.go b/service/ec2/api_op_CancelSpotInstanceRequests.go index 4212b5803ee..d4e090a9a41 100644 --- a/service/ec2/api_op_CancelSpotInstanceRequests.go +++ b/service/ec2/api_op_CancelSpotInstanceRequests.go @@ -123,9 +123,6 @@ func (c *Client) addOperationCancelSpotInstanceRequestsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelSpotInstanceRequestsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ConfirmProductInstance.go b/service/ec2/api_op_ConfirmProductInstance.go index 05909058366..68dbe666c62 100644 --- a/service/ec2/api_op_ConfirmProductInstance.go +++ b/service/ec2/api_op_ConfirmProductInstance.go @@ -129,9 +129,6 @@ func (c *Client) addOperationConfirmProductInstanceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpConfirmProductInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CopyFpgaImage.go b/service/ec2/api_op_CopyFpgaImage.go index 7d227a013eb..4869ec5357e 100644 --- a/service/ec2/api_op_CopyFpgaImage.go +++ b/service/ec2/api_op_CopyFpgaImage.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCopyFpgaImageMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCopyFpgaImageValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CopyImage.go b/service/ec2/api_op_CopyImage.go index 9ac5774bfdc..7f4227a857c 100644 --- a/service/ec2/api_op_CopyImage.go +++ b/service/ec2/api_op_CopyImage.go @@ -230,9 +230,6 @@ func (c *Client) addOperationCopyImageMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCopyImageValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CopySnapshot.go b/service/ec2/api_op_CopySnapshot.go index 463203491f3..d8f3f35b8e3 100644 --- a/service/ec2/api_op_CopySnapshot.go +++ b/service/ec2/api_op_CopySnapshot.go @@ -233,9 +233,6 @@ func (c *Client) addOperationCopySnapshotMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCopySnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateCapacityReservation.go b/service/ec2/api_op_CreateCapacityReservation.go index 5c36aae9907..641f2b6e50a 100644 --- a/service/ec2/api_op_CreateCapacityReservation.go +++ b/service/ec2/api_op_CreateCapacityReservation.go @@ -298,9 +298,6 @@ func (c *Client) addOperationCreateCapacityReservationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCapacityReservationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateCapacityReservationBySplitting.go b/service/ec2/api_op_CreateCapacityReservationBySplitting.go index 8d2918f6e12..077fb661c04 100644 --- a/service/ec2/api_op_CreateCapacityReservationBySplitting.go +++ b/service/ec2/api_op_CreateCapacityReservationBySplitting.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCreateCapacityReservationBySplittingMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateCapacityReservationBySplittingMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_CreateCapacityReservationFleet.go b/service/ec2/api_op_CreateCapacityReservationFleet.go index f4a9fbacfe9..6d97ae1b981 100644 --- a/service/ec2/api_op_CreateCapacityReservationFleet.go +++ b/service/ec2/api_op_CreateCapacityReservationFleet.go @@ -215,9 +215,6 @@ func (c *Client) addOperationCreateCapacityReservationFleetMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateCapacityReservationFleetMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_CreateCarrierGateway.go b/service/ec2/api_op_CreateCarrierGateway.go index 9b4d96802e0..3a19dc6c070 100644 --- a/service/ec2/api_op_CreateCarrierGateway.go +++ b/service/ec2/api_op_CreateCarrierGateway.go @@ -130,9 +130,6 @@ func (c *Client) addOperationCreateCarrierGatewayMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateCarrierGatewayMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_CreateClientVpnEndpoint.go b/service/ec2/api_op_CreateClientVpnEndpoint.go index 6679773aeff..c63420b5040 100644 --- a/service/ec2/api_op_CreateClientVpnEndpoint.go +++ b/service/ec2/api_op_CreateClientVpnEndpoint.go @@ -232,9 +232,6 @@ func (c *Client) addOperationCreateClientVpnEndpointMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateClientVpnEndpointMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_CreateClientVpnRoute.go b/service/ec2/api_op_CreateClientVpnRoute.go index 39ead32b0fb..ac71e1871be 100644 --- a/service/ec2/api_op_CreateClientVpnRoute.go +++ b/service/ec2/api_op_CreateClientVpnRoute.go @@ -152,9 +152,6 @@ func (c *Client) addOperationCreateClientVpnRouteMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateClientVpnRouteMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_CreateCoipCidr.go b/service/ec2/api_op_CreateCoipCidr.go index bd52562b714..b6f2fdccaf7 100644 --- a/service/ec2/api_op_CreateCoipCidr.go +++ b/service/ec2/api_op_CreateCoipCidr.go @@ -123,9 +123,6 @@ func (c *Client) addOperationCreateCoipCidrMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCoipCidrValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateCoipPool.go b/service/ec2/api_op_CreateCoipPool.go index 9858dd9e166..0fb53bf8646 100644 --- a/service/ec2/api_op_CreateCoipPool.go +++ b/service/ec2/api_op_CreateCoipPool.go @@ -121,9 +121,6 @@ func (c *Client) addOperationCreateCoipPoolMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCoipPoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateCustomerGateway.go b/service/ec2/api_op_CreateCustomerGateway.go index 3a4012aa4e8..317a57725b1 100644 --- a/service/ec2/api_op_CreateCustomerGateway.go +++ b/service/ec2/api_op_CreateCustomerGateway.go @@ -174,9 +174,6 @@ func (c *Client) addOperationCreateCustomerGatewayMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCustomerGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateDefaultSubnet.go b/service/ec2/api_op_CreateDefaultSubnet.go index 5d7ef24ecf1..9f0ccc49cf0 100644 --- a/service/ec2/api_op_CreateDefaultSubnet.go +++ b/service/ec2/api_op_CreateDefaultSubnet.go @@ -127,9 +127,6 @@ func (c *Client) addOperationCreateDefaultSubnetMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDefaultSubnetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateDefaultVpc.go b/service/ec2/api_op_CreateDefaultVpc.go index 37d297ff116..3a28f3cc8c0 100644 --- a/service/ec2/api_op_CreateDefaultVpc.go +++ b/service/ec2/api_op_CreateDefaultVpc.go @@ -121,9 +121,6 @@ func (c *Client) addOperationCreateDefaultVpcMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDefaultVpc(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_CreateDhcpOptions.go b/service/ec2/api_op_CreateDhcpOptions.go index 72229495acc..1528bb28a90 100644 --- a/service/ec2/api_op_CreateDhcpOptions.go +++ b/service/ec2/api_op_CreateDhcpOptions.go @@ -165,9 +165,6 @@ func (c *Client) addOperationCreateDhcpOptionsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDhcpOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateEgressOnlyInternetGateway.go b/service/ec2/api_op_CreateEgressOnlyInternetGateway.go index c2347e585d9..0fe505cd4b2 100644 --- a/service/ec2/api_op_CreateEgressOnlyInternetGateway.go +++ b/service/ec2/api_op_CreateEgressOnlyInternetGateway.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCreateEgressOnlyInternetGatewayMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEgressOnlyInternetGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateFleet.go b/service/ec2/api_op_CreateFleet.go index 3301784f69d..addd63f7c59 100644 --- a/service/ec2/api_op_CreateFleet.go +++ b/service/ec2/api_op_CreateFleet.go @@ -221,9 +221,6 @@ func (c *Client) addOperationCreateFleetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateFleetMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_CreateFlowLogs.go b/service/ec2/api_op_CreateFlowLogs.go index 64582576ca6..f2659cedbd6 100644 --- a/service/ec2/api_op_CreateFlowLogs.go +++ b/service/ec2/api_op_CreateFlowLogs.go @@ -237,9 +237,6 @@ func (c *Client) addOperationCreateFlowLogsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFlowLogsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateFpgaImage.go b/service/ec2/api_op_CreateFpgaImage.go index 764d38bf499..7f80bead67f 100644 --- a/service/ec2/api_op_CreateFpgaImage.go +++ b/service/ec2/api_op_CreateFpgaImage.go @@ -149,9 +149,6 @@ func (c *Client) addOperationCreateFpgaImageMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFpgaImageValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateImage.go b/service/ec2/api_op_CreateImage.go index 38fe4ff7586..f769dbd7151 100644 --- a/service/ec2/api_op_CreateImage.go +++ b/service/ec2/api_op_CreateImage.go @@ -190,9 +190,6 @@ func (c *Client) addOperationCreateImageMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateImageValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateInstanceConnectEndpoint.go b/service/ec2/api_op_CreateInstanceConnectEndpoint.go index 477a38ac36b..6dd7a06c276 100644 --- a/service/ec2/api_op_CreateInstanceConnectEndpoint.go +++ b/service/ec2/api_op_CreateInstanceConnectEndpoint.go @@ -150,9 +150,6 @@ func (c *Client) addOperationCreateInstanceConnectEndpointMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateInstanceConnectEndpointMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_CreateInstanceEventWindow.go b/service/ec2/api_op_CreateInstanceEventWindow.go index de960980762..e0722deb441 100644 --- a/service/ec2/api_op_CreateInstanceEventWindow.go +++ b/service/ec2/api_op_CreateInstanceEventWindow.go @@ -171,9 +171,6 @@ func (c *Client) addOperationCreateInstanceEventWindowMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateInstanceEventWindow(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_CreateInstanceExportTask.go b/service/ec2/api_op_CreateInstanceExportTask.go index b3387ca02d2..f9c7df910d3 100644 --- a/service/ec2/api_op_CreateInstanceExportTask.go +++ b/service/ec2/api_op_CreateInstanceExportTask.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateInstanceExportTaskMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateInstanceExportTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateInternetGateway.go b/service/ec2/api_op_CreateInternetGateway.go index 38aa1c36c11..fff387b5149 100644 --- a/service/ec2/api_op_CreateInternetGateway.go +++ b/service/ec2/api_op_CreateInternetGateway.go @@ -121,9 +121,6 @@ func (c *Client) addOperationCreateInternetGatewayMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateInternetGateway(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_CreateIpam.go b/service/ec2/api_op_CreateIpam.go index 97553d116a6..5aff61f4838 100644 --- a/service/ec2/api_op_CreateIpam.go +++ b/service/ec2/api_op_CreateIpam.go @@ -157,9 +157,6 @@ func (c *Client) addOperationCreateIpamMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateIpamMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_CreateIpamExternalResourceVerificationToken.go b/service/ec2/api_op_CreateIpamExternalResourceVerificationToken.go index 69ccb5fd8a5..7e52c01ce39 100644 --- a/service/ec2/api_op_CreateIpamExternalResourceVerificationToken.go +++ b/service/ec2/api_op_CreateIpamExternalResourceVerificationToken.go @@ -131,9 +131,6 @@ func (c *Client) addOperationCreateIpamExternalResourceVerificationTokenMiddlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateIpamExternalResourceVerificationTokenMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_CreateIpamPool.go b/service/ec2/api_op_CreateIpamPool.go index d03c7cb4f76..38124441c6d 100644 --- a/service/ec2/api_op_CreateIpamPool.go +++ b/service/ec2/api_op_CreateIpamPool.go @@ -226,9 +226,6 @@ func (c *Client) addOperationCreateIpamPoolMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateIpamPoolMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_CreateIpamResourceDiscovery.go b/service/ec2/api_op_CreateIpamResourceDiscovery.go index dea05d7b607..10e91afe3bf 100644 --- a/service/ec2/api_op_CreateIpamResourceDiscovery.go +++ b/service/ec2/api_op_CreateIpamResourceDiscovery.go @@ -130,9 +130,6 @@ func (c *Client) addOperationCreateIpamResourceDiscoveryMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateIpamResourceDiscoveryMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_CreateIpamScope.go b/service/ec2/api_op_CreateIpamScope.go index d8e63b6eb70..3974eac2e56 100644 --- a/service/ec2/api_op_CreateIpamScope.go +++ b/service/ec2/api_op_CreateIpamScope.go @@ -142,9 +142,6 @@ func (c *Client) addOperationCreateIpamScopeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateIpamScopeMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_CreateKeyPair.go b/service/ec2/api_op_CreateKeyPair.go index 15adb70617f..f6450c3ed29 100644 --- a/service/ec2/api_op_CreateKeyPair.go +++ b/service/ec2/api_op_CreateKeyPair.go @@ -166,9 +166,6 @@ func (c *Client) addOperationCreateKeyPairMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateKeyPairValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateLaunchTemplate.go b/service/ec2/api_op_CreateLaunchTemplate.go index bdd88e56440..08646ccf700 100644 --- a/service/ec2/api_op_CreateLaunchTemplate.go +++ b/service/ec2/api_op_CreateLaunchTemplate.go @@ -163,9 +163,6 @@ func (c *Client) addOperationCreateLaunchTemplateMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLaunchTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateLaunchTemplateVersion.go b/service/ec2/api_op_CreateLaunchTemplateVersion.go index 3d22366d31d..666bd5c10d6 100644 --- a/service/ec2/api_op_CreateLaunchTemplateVersion.go +++ b/service/ec2/api_op_CreateLaunchTemplateVersion.go @@ -182,9 +182,6 @@ func (c *Client) addOperationCreateLaunchTemplateVersionMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLaunchTemplateVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateLocalGatewayRoute.go b/service/ec2/api_op_CreateLocalGatewayRoute.go index d953f96c3db..607c84ffca1 100644 --- a/service/ec2/api_op_CreateLocalGatewayRoute.go +++ b/service/ec2/api_op_CreateLocalGatewayRoute.go @@ -138,9 +138,6 @@ func (c *Client) addOperationCreateLocalGatewayRouteMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLocalGatewayRouteValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateLocalGatewayRouteTable.go b/service/ec2/api_op_CreateLocalGatewayRouteTable.go index 870ed9970f8..de563acd78d 100644 --- a/service/ec2/api_op_CreateLocalGatewayRouteTable.go +++ b/service/ec2/api_op_CreateLocalGatewayRouteTable.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCreateLocalGatewayRouteTableMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLocalGatewayRouteTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation.go b/service/ec2/api_op_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation.go index 82be8858aa9..e2974460e33 100644 --- a/service/ec2/api_op_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation.go +++ b/service/ec2/api_op_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation.go @@ -128,9 +128,6 @@ func (c *Client) addOperationCreateLocalGatewayRouteTableVirtualInterfaceGroupAs if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateLocalGatewayRouteTableVpcAssociation.go b/service/ec2/api_op_CreateLocalGatewayRouteTableVpcAssociation.go index 31a8a3f9e81..167ae2df6c6 100644 --- a/service/ec2/api_op_CreateLocalGatewayRouteTableVpcAssociation.go +++ b/service/ec2/api_op_CreateLocalGatewayRouteTableVpcAssociation.go @@ -126,9 +126,6 @@ func (c *Client) addOperationCreateLocalGatewayRouteTableVpcAssociationMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLocalGatewayRouteTableVpcAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateManagedPrefixList.go b/service/ec2/api_op_CreateManagedPrefixList.go index 5c44553f4c9..68159e0c5ca 100644 --- a/service/ec2/api_op_CreateManagedPrefixList.go +++ b/service/ec2/api_op_CreateManagedPrefixList.go @@ -148,9 +148,6 @@ func (c *Client) addOperationCreateManagedPrefixListMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateManagedPrefixListMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_CreateNatGateway.go b/service/ec2/api_op_CreateNatGateway.go index 7d566dbcb32..1724226d144 100644 --- a/service/ec2/api_op_CreateNatGateway.go +++ b/service/ec2/api_op_CreateNatGateway.go @@ -193,9 +193,6 @@ func (c *Client) addOperationCreateNatGatewayMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateNatGatewayMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_CreateNetworkAcl.go b/service/ec2/api_op_CreateNetworkAcl.go index ed5637d431e..c8dfe28c918 100644 --- a/service/ec2/api_op_CreateNetworkAcl.go +++ b/service/ec2/api_op_CreateNetworkAcl.go @@ -136,9 +136,6 @@ func (c *Client) addOperationCreateNetworkAclMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateNetworkAclMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_CreateNetworkAclEntry.go b/service/ec2/api_op_CreateNetworkAclEntry.go index 314441d87a1..116d61c2174 100644 --- a/service/ec2/api_op_CreateNetworkAclEntry.go +++ b/service/ec2/api_op_CreateNetworkAclEntry.go @@ -179,9 +179,6 @@ func (c *Client) addOperationCreateNetworkAclEntryMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateNetworkAclEntryValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateNetworkInsightsAccessScope.go b/service/ec2/api_op_CreateNetworkInsightsAccessScope.go index 4e00ec7f0c2..c91efe971c3 100644 --- a/service/ec2/api_op_CreateNetworkInsightsAccessScope.go +++ b/service/ec2/api_op_CreateNetworkInsightsAccessScope.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreateNetworkInsightsAccessScopeMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateNetworkInsightsAccessScopeMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_CreateNetworkInsightsPath.go b/service/ec2/api_op_CreateNetworkInsightsPath.go index 173e8f38f75..382d0de3f6e 100644 --- a/service/ec2/api_op_CreateNetworkInsightsPath.go +++ b/service/ec2/api_op_CreateNetworkInsightsPath.go @@ -164,9 +164,6 @@ func (c *Client) addOperationCreateNetworkInsightsPathMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateNetworkInsightsPathMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_CreateNetworkInterface.go b/service/ec2/api_op_CreateNetworkInterface.go index 001085d1469..fb0940bcfb5 100644 --- a/service/ec2/api_op_CreateNetworkInterface.go +++ b/service/ec2/api_op_CreateNetworkInterface.go @@ -246,9 +246,6 @@ func (c *Client) addOperationCreateNetworkInterfaceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateNetworkInterfaceMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_CreateNetworkInterfacePermission.go b/service/ec2/api_op_CreateNetworkInterfacePermission.go index 75b8ea79a23..8814e97c028 100644 --- a/service/ec2/api_op_CreateNetworkInterfacePermission.go +++ b/service/ec2/api_op_CreateNetworkInterfacePermission.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateNetworkInterfacePermissionMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateNetworkInterfacePermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreatePlacementGroup.go b/service/ec2/api_op_CreatePlacementGroup.go index d8ad7048aa1..fad99996d88 100644 --- a/service/ec2/api_op_CreatePlacementGroup.go +++ b/service/ec2/api_op_CreatePlacementGroup.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCreatePlacementGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePlacementGroup(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_CreatePublicIpv4Pool.go b/service/ec2/api_op_CreatePublicIpv4Pool.go index b1dcd7534cf..6dd7f5ee0a0 100644 --- a/service/ec2/api_op_CreatePublicIpv4Pool.go +++ b/service/ec2/api_op_CreatePublicIpv4Pool.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreatePublicIpv4PoolMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePublicIpv4Pool(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_CreateReplaceRootVolumeTask.go b/service/ec2/api_op_CreateReplaceRootVolumeTask.go index 73801805577..5341adaf6a0 100644 --- a/service/ec2/api_op_CreateReplaceRootVolumeTask.go +++ b/service/ec2/api_op_CreateReplaceRootVolumeTask.go @@ -159,9 +159,6 @@ func (c *Client) addOperationCreateReplaceRootVolumeTaskMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateReplaceRootVolumeTaskMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_CreateReservedInstancesListing.go b/service/ec2/api_op_CreateReservedInstancesListing.go index c7f958109b4..eef8d4018fe 100644 --- a/service/ec2/api_op_CreateReservedInstancesListing.go +++ b/service/ec2/api_op_CreateReservedInstancesListing.go @@ -159,9 +159,6 @@ func (c *Client) addOperationCreateReservedInstancesListingMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateReservedInstancesListingValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateRestoreImageTask.go b/service/ec2/api_op_CreateRestoreImageTask.go index 3bb8fa328fa..f9a697dd948 100644 --- a/service/ec2/api_op_CreateRestoreImageTask.go +++ b/service/ec2/api_op_CreateRestoreImageTask.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCreateRestoreImageTaskMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRestoreImageTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateRoute.go b/service/ec2/api_op_CreateRoute.go index 419037bf246..b472462f1db 100644 --- a/service/ec2/api_op_CreateRoute.go +++ b/service/ec2/api_op_CreateRoute.go @@ -186,9 +186,6 @@ func (c *Client) addOperationCreateRouteMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRouteValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateRouteTable.go b/service/ec2/api_op_CreateRouteTable.go index 5fa58dddae6..294e5702e5b 100644 --- a/service/ec2/api_op_CreateRouteTable.go +++ b/service/ec2/api_op_CreateRouteTable.go @@ -136,9 +136,6 @@ func (c *Client) addOperationCreateRouteTableMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateRouteTableMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_CreateSecurityGroup.go b/service/ec2/api_op_CreateSecurityGroup.go index f0fb9deefff..f34ef98e3e7 100644 --- a/service/ec2/api_op_CreateSecurityGroup.go +++ b/service/ec2/api_op_CreateSecurityGroup.go @@ -163,9 +163,6 @@ func (c *Client) addOperationCreateSecurityGroupMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSecurityGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateSnapshot.go b/service/ec2/api_op_CreateSnapshot.go index 1e25c4f7c4f..f73e5e02b82 100644 --- a/service/ec2/api_op_CreateSnapshot.go +++ b/service/ec2/api_op_CreateSnapshot.go @@ -294,9 +294,6 @@ func (c *Client) addOperationCreateSnapshotMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateSnapshots.go b/service/ec2/api_op_CreateSnapshots.go index f6277b1ff54..db82a7174d6 100644 --- a/service/ec2/api_op_CreateSnapshots.go +++ b/service/ec2/api_op_CreateSnapshots.go @@ -171,9 +171,6 @@ func (c *Client) addOperationCreateSnapshotsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSnapshotsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateSpotDatafeedSubscription.go b/service/ec2/api_op_CreateSpotDatafeedSubscription.go index 082030ba038..c817e870dc3 100644 --- a/service/ec2/api_op_CreateSpotDatafeedSubscription.go +++ b/service/ec2/api_op_CreateSpotDatafeedSubscription.go @@ -130,9 +130,6 @@ func (c *Client) addOperationCreateSpotDatafeedSubscriptionMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSpotDatafeedSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateStoreImageTask.go b/service/ec2/api_op_CreateStoreImageTask.go index 355a02112b0..8a0ae2e693e 100644 --- a/service/ec2/api_op_CreateStoreImageTask.go +++ b/service/ec2/api_op_CreateStoreImageTask.go @@ -137,9 +137,6 @@ func (c *Client) addOperationCreateStoreImageTaskMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateStoreImageTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateSubnet.go b/service/ec2/api_op_CreateSubnet.go index 9ee93678ddd..9c395e8ac12 100644 --- a/service/ec2/api_op_CreateSubnet.go +++ b/service/ec2/api_op_CreateSubnet.go @@ -196,9 +196,6 @@ func (c *Client) addOperationCreateSubnetMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSubnetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateSubnetCidrReservation.go b/service/ec2/api_op_CreateSubnetCidrReservation.go index 0b7898d0979..9fe2999ace4 100644 --- a/service/ec2/api_op_CreateSubnetCidrReservation.go +++ b/service/ec2/api_op_CreateSubnetCidrReservation.go @@ -144,9 +144,6 @@ func (c *Client) addOperationCreateSubnetCidrReservationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSubnetCidrReservationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateTags.go b/service/ec2/api_op_CreateTags.go index 5f0b00a718d..366b3fb0f12 100644 --- a/service/ec2/api_op_CreateTags.go +++ b/service/ec2/api_op_CreateTags.go @@ -136,9 +136,6 @@ func (c *Client) addOperationCreateTagsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateTrafficMirrorFilter.go b/service/ec2/api_op_CreateTrafficMirrorFilter.go index 8470f9e744e..8f1e55de447 100644 --- a/service/ec2/api_op_CreateTrafficMirrorFilter.go +++ b/service/ec2/api_op_CreateTrafficMirrorFilter.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreateTrafficMirrorFilterMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateTrafficMirrorFilterMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_CreateTrafficMirrorFilterRule.go b/service/ec2/api_op_CreateTrafficMirrorFilterRule.go index 674a696deff..991a884fc49 100644 --- a/service/ec2/api_op_CreateTrafficMirrorFilterRule.go +++ b/service/ec2/api_op_CreateTrafficMirrorFilterRule.go @@ -181,9 +181,6 @@ func (c *Client) addOperationCreateTrafficMirrorFilterRuleMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateTrafficMirrorFilterRuleMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_CreateTrafficMirrorSession.go b/service/ec2/api_op_CreateTrafficMirrorSession.go index 57f827c8974..9d8ed178c70 100644 --- a/service/ec2/api_op_CreateTrafficMirrorSession.go +++ b/service/ec2/api_op_CreateTrafficMirrorSession.go @@ -189,9 +189,6 @@ func (c *Client) addOperationCreateTrafficMirrorSessionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateTrafficMirrorSessionMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_CreateTrafficMirrorTarget.go b/service/ec2/api_op_CreateTrafficMirrorTarget.go index bb08112d393..cfdf3c018e4 100644 --- a/service/ec2/api_op_CreateTrafficMirrorTarget.go +++ b/service/ec2/api_op_CreateTrafficMirrorTarget.go @@ -153,9 +153,6 @@ func (c *Client) addOperationCreateTrafficMirrorTargetMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateTrafficMirrorTargetMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_CreateTransitGateway.go b/service/ec2/api_op_CreateTransitGateway.go index f0a85021b14..bbdb6dd4790 100644 --- a/service/ec2/api_op_CreateTransitGateway.go +++ b/service/ec2/api_op_CreateTransitGateway.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreateTransitGatewayMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTransitGateway(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_CreateTransitGatewayConnect.go b/service/ec2/api_op_CreateTransitGatewayConnect.go index 3fa5ae9716a..1eb6b6daf97 100644 --- a/service/ec2/api_op_CreateTransitGatewayConnect.go +++ b/service/ec2/api_op_CreateTransitGatewayConnect.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateTransitGatewayConnectMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTransitGatewayConnectValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateTransitGatewayConnectPeer.go b/service/ec2/api_op_CreateTransitGatewayConnectPeer.go index 10c957d2bfc..f416975b784 100644 --- a/service/ec2/api_op_CreateTransitGatewayConnectPeer.go +++ b/service/ec2/api_op_CreateTransitGatewayConnectPeer.go @@ -153,9 +153,6 @@ func (c *Client) addOperationCreateTransitGatewayConnectPeerMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTransitGatewayConnectPeerValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateTransitGatewayMulticastDomain.go b/service/ec2/api_op_CreateTransitGatewayMulticastDomain.go index 7108a7350dd..7a3faaf1be6 100644 --- a/service/ec2/api_op_CreateTransitGatewayMulticastDomain.go +++ b/service/ec2/api_op_CreateTransitGatewayMulticastDomain.go @@ -129,9 +129,6 @@ func (c *Client) addOperationCreateTransitGatewayMulticastDomainMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTransitGatewayMulticastDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateTransitGatewayPeeringAttachment.go b/service/ec2/api_op_CreateTransitGatewayPeeringAttachment.go index 9093d50c46d..c8fa78b2a16 100644 --- a/service/ec2/api_op_CreateTransitGatewayPeeringAttachment.go +++ b/service/ec2/api_op_CreateTransitGatewayPeeringAttachment.go @@ -144,9 +144,6 @@ func (c *Client) addOperationCreateTransitGatewayPeeringAttachmentMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTransitGatewayPeeringAttachmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateTransitGatewayPolicyTable.go b/service/ec2/api_op_CreateTransitGatewayPolicyTable.go index bbb3a4f584b..7e3835c69fe 100644 --- a/service/ec2/api_op_CreateTransitGatewayPolicyTable.go +++ b/service/ec2/api_op_CreateTransitGatewayPolicyTable.go @@ -122,9 +122,6 @@ func (c *Client) addOperationCreateTransitGatewayPolicyTableMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTransitGatewayPolicyTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateTransitGatewayPrefixListReference.go b/service/ec2/api_op_CreateTransitGatewayPrefixListReference.go index b961ec8c3ac..f6b1d154fc9 100644 --- a/service/ec2/api_op_CreateTransitGatewayPrefixListReference.go +++ b/service/ec2/api_op_CreateTransitGatewayPrefixListReference.go @@ -130,9 +130,6 @@ func (c *Client) addOperationCreateTransitGatewayPrefixListReferenceMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTransitGatewayPrefixListReferenceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateTransitGatewayRoute.go b/service/ec2/api_op_CreateTransitGatewayRoute.go index ecc17331a49..a368d48355c 100644 --- a/service/ec2/api_op_CreateTransitGatewayRoute.go +++ b/service/ec2/api_op_CreateTransitGatewayRoute.go @@ -130,9 +130,6 @@ func (c *Client) addOperationCreateTransitGatewayRouteMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTransitGatewayRouteValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateTransitGatewayRouteTable.go b/service/ec2/api_op_CreateTransitGatewayRouteTable.go index 433367ff311..83c49bcdd9c 100644 --- a/service/ec2/api_op_CreateTransitGatewayRouteTable.go +++ b/service/ec2/api_op_CreateTransitGatewayRouteTable.go @@ -121,9 +121,6 @@ func (c *Client) addOperationCreateTransitGatewayRouteTableMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTransitGatewayRouteTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateTransitGatewayRouteTableAnnouncement.go b/service/ec2/api_op_CreateTransitGatewayRouteTableAnnouncement.go index 838a336dd1a..ac927502210 100644 --- a/service/ec2/api_op_CreateTransitGatewayRouteTableAnnouncement.go +++ b/service/ec2/api_op_CreateTransitGatewayRouteTableAnnouncement.go @@ -126,9 +126,6 @@ func (c *Client) addOperationCreateTransitGatewayRouteTableAnnouncementMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTransitGatewayRouteTableAnnouncementValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateTransitGatewayVpcAttachment.go b/service/ec2/api_op_CreateTransitGatewayVpcAttachment.go index 29cb317c76a..d9da4b76171 100644 --- a/service/ec2/api_op_CreateTransitGatewayVpcAttachment.go +++ b/service/ec2/api_op_CreateTransitGatewayVpcAttachment.go @@ -144,9 +144,6 @@ func (c *Client) addOperationCreateTransitGatewayVpcAttachmentMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTransitGatewayVpcAttachmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateVerifiedAccessEndpoint.go b/service/ec2/api_op_CreateVerifiedAccessEndpoint.go index 5125ae6c9de..67560ed785c 100644 --- a/service/ec2/api_op_CreateVerifiedAccessEndpoint.go +++ b/service/ec2/api_op_CreateVerifiedAccessEndpoint.go @@ -177,9 +177,6 @@ func (c *Client) addOperationCreateVerifiedAccessEndpointMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateVerifiedAccessEndpointMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_CreateVerifiedAccessGroup.go b/service/ec2/api_op_CreateVerifiedAccessGroup.go index 279065e7c72..05bab5ac0b6 100644 --- a/service/ec2/api_op_CreateVerifiedAccessGroup.go +++ b/service/ec2/api_op_CreateVerifiedAccessGroup.go @@ -141,9 +141,6 @@ func (c *Client) addOperationCreateVerifiedAccessGroupMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateVerifiedAccessGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_CreateVerifiedAccessInstance.go b/service/ec2/api_op_CreateVerifiedAccessInstance.go index f1d2a7ca675..6cc4f97d739 100644 --- a/service/ec2/api_op_CreateVerifiedAccessInstance.go +++ b/service/ec2/api_op_CreateVerifiedAccessInstance.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCreateVerifiedAccessInstanceMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateVerifiedAccessInstanceMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_CreateVerifiedAccessTrustProvider.go b/service/ec2/api_op_CreateVerifiedAccessTrustProvider.go index 0098b27ac72..1f882b480b5 100644 --- a/service/ec2/api_op_CreateVerifiedAccessTrustProvider.go +++ b/service/ec2/api_op_CreateVerifiedAccessTrustProvider.go @@ -160,9 +160,6 @@ func (c *Client) addOperationCreateVerifiedAccessTrustProviderMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateVerifiedAccessTrustProviderMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_CreateVolume.go b/service/ec2/api_op_CreateVolume.go index 64e516b5103..0dabbced680 100644 --- a/service/ec2/api_op_CreateVolume.go +++ b/service/ec2/api_op_CreateVolume.go @@ -336,9 +336,6 @@ func (c *Client) addOperationCreateVolumeMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateVolumeMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_CreateVpc.go b/service/ec2/api_op_CreateVpc.go index c346a24cbeb..07f14c64501 100644 --- a/service/ec2/api_op_CreateVpc.go +++ b/service/ec2/api_op_CreateVpc.go @@ -202,9 +202,6 @@ func (c *Client) addOperationCreateVpcMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVpc(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_CreateVpcBlockPublicAccessExclusion.go b/service/ec2/api_op_CreateVpcBlockPublicAccessExclusion.go index e9484cd77d3..b0668b1d6ac 100644 --- a/service/ec2/api_op_CreateVpcBlockPublicAccessExclusion.go +++ b/service/ec2/api_op_CreateVpcBlockPublicAccessExclusion.go @@ -144,9 +144,6 @@ func (c *Client) addOperationCreateVpcBlockPublicAccessExclusionMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVpcBlockPublicAccessExclusionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateVpcEndpoint.go b/service/ec2/api_op_CreateVpcEndpoint.go index 3945e92d9a2..aa89b5a552b 100644 --- a/service/ec2/api_op_CreateVpcEndpoint.go +++ b/service/ec2/api_op_CreateVpcEndpoint.go @@ -197,9 +197,6 @@ func (c *Client) addOperationCreateVpcEndpointMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVpcEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateVpcEndpointConnectionNotification.go b/service/ec2/api_op_CreateVpcEndpointConnectionNotification.go index 0d795a01762..6468cc90246 100644 --- a/service/ec2/api_op_CreateVpcEndpointConnectionNotification.go +++ b/service/ec2/api_op_CreateVpcEndpointConnectionNotification.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCreateVpcEndpointConnectionNotificationMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVpcEndpointConnectionNotificationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateVpcEndpointServiceConfiguration.go b/service/ec2/api_op_CreateVpcEndpointServiceConfiguration.go index 27caf777fc4..0113e2ded6a 100644 --- a/service/ec2/api_op_CreateVpcEndpointServiceConfiguration.go +++ b/service/ec2/api_op_CreateVpcEndpointServiceConfiguration.go @@ -164,9 +164,6 @@ func (c *Client) addOperationCreateVpcEndpointServiceConfigurationMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVpcEndpointServiceConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_CreateVpcPeeringConnection.go b/service/ec2/api_op_CreateVpcPeeringConnection.go index cab19a1f6a5..0c354824b4c 100644 --- a/service/ec2/api_op_CreateVpcPeeringConnection.go +++ b/service/ec2/api_op_CreateVpcPeeringConnection.go @@ -152,9 +152,6 @@ func (c *Client) addOperationCreateVpcPeeringConnectionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVpcPeeringConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateVpnConnection.go b/service/ec2/api_op_CreateVpnConnection.go index 1661a45723c..8801de1b799 100644 --- a/service/ec2/api_op_CreateVpnConnection.go +++ b/service/ec2/api_op_CreateVpnConnection.go @@ -159,9 +159,6 @@ func (c *Client) addOperationCreateVpnConnectionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVpnConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateVpnConnectionRoute.go b/service/ec2/api_op_CreateVpnConnectionRoute.go index 17db95b792f..ffa76ecf268 100644 --- a/service/ec2/api_op_CreateVpnConnectionRoute.go +++ b/service/ec2/api_op_CreateVpnConnectionRoute.go @@ -121,9 +121,6 @@ func (c *Client) addOperationCreateVpnConnectionRouteMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVpnConnectionRouteValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_CreateVpnGateway.go b/service/ec2/api_op_CreateVpnGateway.go index a5951f0a07d..689e78e3ed4 100644 --- a/service/ec2/api_op_CreateVpnGateway.go +++ b/service/ec2/api_op_CreateVpnGateway.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreateVpnGatewayMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVpnGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteCarrierGateway.go b/service/ec2/api_op_DeleteCarrierGateway.go index 3a51bb3754a..475a7acf303 100644 --- a/service/ec2/api_op_DeleteCarrierGateway.go +++ b/service/ec2/api_op_DeleteCarrierGateway.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteCarrierGatewayMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCarrierGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteClientVpnEndpoint.go b/service/ec2/api_op_DeleteClientVpnEndpoint.go index 7c1f5432205..de24f3e5497 100644 --- a/service/ec2/api_op_DeleteClientVpnEndpoint.go +++ b/service/ec2/api_op_DeleteClientVpnEndpoint.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteClientVpnEndpointMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteClientVpnEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteClientVpnRoute.go b/service/ec2/api_op_DeleteClientVpnRoute.go index 0568afee79f..bd42e10b314 100644 --- a/service/ec2/api_op_DeleteClientVpnRoute.go +++ b/service/ec2/api_op_DeleteClientVpnRoute.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDeleteClientVpnRouteMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteClientVpnRouteValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteCoipCidr.go b/service/ec2/api_op_DeleteCoipCidr.go index 674d27637ef..8600df33769 100644 --- a/service/ec2/api_op_DeleteCoipCidr.go +++ b/service/ec2/api_op_DeleteCoipCidr.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteCoipCidrMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCoipCidrValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteCoipPool.go b/service/ec2/api_op_DeleteCoipPool.go index 6c4e0145364..4a70498c378 100644 --- a/service/ec2/api_op_DeleteCoipPool.go +++ b/service/ec2/api_op_DeleteCoipPool.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteCoipPoolMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCoipPoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteCustomerGateway.go b/service/ec2/api_op_DeleteCustomerGateway.go index 99055b42ce4..cb73fc76210 100644 --- a/service/ec2/api_op_DeleteCustomerGateway.go +++ b/service/ec2/api_op_DeleteCustomerGateway.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteCustomerGatewayMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCustomerGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteDhcpOptions.go b/service/ec2/api_op_DeleteDhcpOptions.go index 6268c2344e0..7abcf61e99b 100644 --- a/service/ec2/api_op_DeleteDhcpOptions.go +++ b/service/ec2/api_op_DeleteDhcpOptions.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteDhcpOptionsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDhcpOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteEgressOnlyInternetGateway.go b/service/ec2/api_op_DeleteEgressOnlyInternetGateway.go index fba1d447d35..56c397fa90a 100644 --- a/service/ec2/api_op_DeleteEgressOnlyInternetGateway.go +++ b/service/ec2/api_op_DeleteEgressOnlyInternetGateway.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteEgressOnlyInternetGatewayMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEgressOnlyInternetGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteFleets.go b/service/ec2/api_op_DeleteFleets.go index cd12350af8f..5d3554f4ffb 100644 --- a/service/ec2/api_op_DeleteFleets.go +++ b/service/ec2/api_op_DeleteFleets.go @@ -165,9 +165,6 @@ func (c *Client) addOperationDeleteFleetsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFleetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteFlowLogs.go b/service/ec2/api_op_DeleteFlowLogs.go index 13c31562144..88e3df8a390 100644 --- a/service/ec2/api_op_DeleteFlowLogs.go +++ b/service/ec2/api_op_DeleteFlowLogs.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteFlowLogsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFlowLogsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteFpgaImage.go b/service/ec2/api_op_DeleteFpgaImage.go index 2881935a21a..5f7655eca20 100644 --- a/service/ec2/api_op_DeleteFpgaImage.go +++ b/service/ec2/api_op_DeleteFpgaImage.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteFpgaImageMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFpgaImageValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteInstanceConnectEndpoint.go b/service/ec2/api_op_DeleteInstanceConnectEndpoint.go index 72acbf30a54..85b446079bd 100644 --- a/service/ec2/api_op_DeleteInstanceConnectEndpoint.go +++ b/service/ec2/api_op_DeleteInstanceConnectEndpoint.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteInstanceConnectEndpointMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInstanceConnectEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteInstanceEventWindow.go b/service/ec2/api_op_DeleteInstanceEventWindow.go index fd33b60e529..254a47d91a0 100644 --- a/service/ec2/api_op_DeleteInstanceEventWindow.go +++ b/service/ec2/api_op_DeleteInstanceEventWindow.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDeleteInstanceEventWindowMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInstanceEventWindowValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteInternetGateway.go b/service/ec2/api_op_DeleteInternetGateway.go index 5f31ceb9d9e..ce5a00b0c81 100644 --- a/service/ec2/api_op_DeleteInternetGateway.go +++ b/service/ec2/api_op_DeleteInternetGateway.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteInternetGatewayMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInternetGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteIpam.go b/service/ec2/api_op_DeleteIpam.go index 3871ff15532..e1cb2aa094f 100644 --- a/service/ec2/api_op_DeleteIpam.go +++ b/service/ec2/api_op_DeleteIpam.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDeleteIpamMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIpamValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteIpamExternalResourceVerificationToken.go b/service/ec2/api_op_DeleteIpamExternalResourceVerificationToken.go index acc901e9f6b..17d859a50c7 100644 --- a/service/ec2/api_op_DeleteIpamExternalResourceVerificationToken.go +++ b/service/ec2/api_op_DeleteIpamExternalResourceVerificationToken.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteIpamExternalResourceVerificationTokenMiddlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIpamExternalResourceVerificationTokenValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteIpamPool.go b/service/ec2/api_op_DeleteIpamPool.go index 5f54a9f205a..e42947a50bc 100644 --- a/service/ec2/api_op_DeleteIpamPool.go +++ b/service/ec2/api_op_DeleteIpamPool.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDeleteIpamPoolMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIpamPoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteIpamResourceDiscovery.go b/service/ec2/api_op_DeleteIpamResourceDiscovery.go index 2b1ad0006b8..2e178aef46e 100644 --- a/service/ec2/api_op_DeleteIpamResourceDiscovery.go +++ b/service/ec2/api_op_DeleteIpamResourceDiscovery.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteIpamResourceDiscoveryMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIpamResourceDiscoveryValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteIpamScope.go b/service/ec2/api_op_DeleteIpamScope.go index 4f0c79ab21d..5c8705dede7 100644 --- a/service/ec2/api_op_DeleteIpamScope.go +++ b/service/ec2/api_op_DeleteIpamScope.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteIpamScopeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIpamScopeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteKeyPair.go b/service/ec2/api_op_DeleteKeyPair.go index e8e64e0a137..e0f5d94868c 100644 --- a/service/ec2/api_op_DeleteKeyPair.go +++ b/service/ec2/api_op_DeleteKeyPair.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteKeyPairMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteKeyPair(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DeleteLaunchTemplate.go b/service/ec2/api_op_DeleteLaunchTemplate.go index 7d51783a60c..a582e6fbb58 100644 --- a/service/ec2/api_op_DeleteLaunchTemplate.go +++ b/service/ec2/api_op_DeleteLaunchTemplate.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDeleteLaunchTemplateMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLaunchTemplate(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DeleteLaunchTemplateVersions.go b/service/ec2/api_op_DeleteLaunchTemplateVersions.go index b8ca9202cb3..298b31a6b7d 100644 --- a/service/ec2/api_op_DeleteLaunchTemplateVersions.go +++ b/service/ec2/api_op_DeleteLaunchTemplateVersions.go @@ -147,9 +147,6 @@ func (c *Client) addOperationDeleteLaunchTemplateVersionsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLaunchTemplateVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteLocalGatewayRoute.go b/service/ec2/api_op_DeleteLocalGatewayRoute.go index e8fb5add0bd..2c629365a1b 100644 --- a/service/ec2/api_op_DeleteLocalGatewayRoute.go +++ b/service/ec2/api_op_DeleteLocalGatewayRoute.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDeleteLocalGatewayRouteMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLocalGatewayRouteValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteLocalGatewayRouteTable.go b/service/ec2/api_op_DeleteLocalGatewayRouteTable.go index 95c9a6a7d67..92bb0a88ffa 100644 --- a/service/ec2/api_op_DeleteLocalGatewayRouteTable.go +++ b/service/ec2/api_op_DeleteLocalGatewayRouteTable.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteLocalGatewayRouteTableMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLocalGatewayRouteTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation.go b/service/ec2/api_op_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation.go index 0418ae14c4b..d145c82d9de 100644 --- a/service/ec2/api_op_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation.go +++ b/service/ec2/api_op_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteLocalGatewayRouteTableVirtualInterfaceGroupAs if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteLocalGatewayRouteTableVpcAssociation.go b/service/ec2/api_op_DeleteLocalGatewayRouteTableVpcAssociation.go index b64ff1d3f3e..7eda02656a9 100644 --- a/service/ec2/api_op_DeleteLocalGatewayRouteTableVpcAssociation.go +++ b/service/ec2/api_op_DeleteLocalGatewayRouteTableVpcAssociation.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteLocalGatewayRouteTableVpcAssociationMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLocalGatewayRouteTableVpcAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteManagedPrefixList.go b/service/ec2/api_op_DeleteManagedPrefixList.go index b060350762a..146e5041c61 100644 --- a/service/ec2/api_op_DeleteManagedPrefixList.go +++ b/service/ec2/api_op_DeleteManagedPrefixList.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteManagedPrefixListMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteManagedPrefixListValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteNatGateway.go b/service/ec2/api_op_DeleteNatGateway.go index be0b89790bb..82345efa148 100644 --- a/service/ec2/api_op_DeleteNatGateway.go +++ b/service/ec2/api_op_DeleteNatGateway.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteNatGatewayMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteNatGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteNetworkAcl.go b/service/ec2/api_op_DeleteNetworkAcl.go index a73d44b09fd..45f42be03c5 100644 --- a/service/ec2/api_op_DeleteNetworkAcl.go +++ b/service/ec2/api_op_DeleteNetworkAcl.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteNetworkAclMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteNetworkAclValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteNetworkAclEntry.go b/service/ec2/api_op_DeleteNetworkAclEntry.go index e2818bf9ad4..892a166a5cf 100644 --- a/service/ec2/api_op_DeleteNetworkAclEntry.go +++ b/service/ec2/api_op_DeleteNetworkAclEntry.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteNetworkAclEntryMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteNetworkAclEntryValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteNetworkInsightsAccessScope.go b/service/ec2/api_op_DeleteNetworkInsightsAccessScope.go index d8de77338fa..b12de9bc491 100644 --- a/service/ec2/api_op_DeleteNetworkInsightsAccessScope.go +++ b/service/ec2/api_op_DeleteNetworkInsightsAccessScope.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteNetworkInsightsAccessScopeMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteNetworkInsightsAccessScopeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteNetworkInsightsAccessScopeAnalysis.go b/service/ec2/api_op_DeleteNetworkInsightsAccessScopeAnalysis.go index 4ca144ef15c..bed952777bc 100644 --- a/service/ec2/api_op_DeleteNetworkInsightsAccessScopeAnalysis.go +++ b/service/ec2/api_op_DeleteNetworkInsightsAccessScopeAnalysis.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteNetworkInsightsAccessScopeAnalysisMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteNetworkInsightsAccessScopeAnalysisValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteNetworkInsightsAnalysis.go b/service/ec2/api_op_DeleteNetworkInsightsAnalysis.go index 09f89e15554..28d70e6863f 100644 --- a/service/ec2/api_op_DeleteNetworkInsightsAnalysis.go +++ b/service/ec2/api_op_DeleteNetworkInsightsAnalysis.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteNetworkInsightsAnalysisMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteNetworkInsightsAnalysisValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteNetworkInsightsPath.go b/service/ec2/api_op_DeleteNetworkInsightsPath.go index a041f51acfe..1990d7c61e2 100644 --- a/service/ec2/api_op_DeleteNetworkInsightsPath.go +++ b/service/ec2/api_op_DeleteNetworkInsightsPath.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteNetworkInsightsPathMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteNetworkInsightsPathValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteNetworkInterface.go b/service/ec2/api_op_DeleteNetworkInterface.go index a6b72b5addb..b14f124fc4f 100644 --- a/service/ec2/api_op_DeleteNetworkInterface.go +++ b/service/ec2/api_op_DeleteNetworkInterface.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteNetworkInterfaceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteNetworkInterfaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteNetworkInterfacePermission.go b/service/ec2/api_op_DeleteNetworkInterfacePermission.go index 18942c811b3..0e8d805a26a 100644 --- a/service/ec2/api_op_DeleteNetworkInterfacePermission.go +++ b/service/ec2/api_op_DeleteNetworkInterfacePermission.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDeleteNetworkInterfacePermissionMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteNetworkInterfacePermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeletePlacementGroup.go b/service/ec2/api_op_DeletePlacementGroup.go index 265e1078e4f..fab461a9878 100644 --- a/service/ec2/api_op_DeletePlacementGroup.go +++ b/service/ec2/api_op_DeletePlacementGroup.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeletePlacementGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePlacementGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeletePublicIpv4Pool.go b/service/ec2/api_op_DeletePublicIpv4Pool.go index 0932f968591..4e2ce129a58 100644 --- a/service/ec2/api_op_DeletePublicIpv4Pool.go +++ b/service/ec2/api_op_DeletePublicIpv4Pool.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeletePublicIpv4PoolMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePublicIpv4PoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteQueuedReservedInstances.go b/service/ec2/api_op_DeleteQueuedReservedInstances.go index 80704b3a1fe..5b627360e34 100644 --- a/service/ec2/api_op_DeleteQueuedReservedInstances.go +++ b/service/ec2/api_op_DeleteQueuedReservedInstances.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteQueuedReservedInstancesMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteQueuedReservedInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteRoute.go b/service/ec2/api_op_DeleteRoute.go index 46460e9ecbd..7c9868eb51f 100644 --- a/service/ec2/api_op_DeleteRoute.go +++ b/service/ec2/api_op_DeleteRoute.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteRouteMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRouteValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteRouteTable.go b/service/ec2/api_op_DeleteRouteTable.go index 81227066a1e..203f91c8bc0 100644 --- a/service/ec2/api_op_DeleteRouteTable.go +++ b/service/ec2/api_op_DeleteRouteTable.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteRouteTableMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRouteTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteSecurityGroup.go b/service/ec2/api_op_DeleteSecurityGroup.go index 4422b15433d..80d5cc78365 100644 --- a/service/ec2/api_op_DeleteSecurityGroup.go +++ b/service/ec2/api_op_DeleteSecurityGroup.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDeleteSecurityGroupMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSecurityGroup(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DeleteSnapshot.go b/service/ec2/api_op_DeleteSnapshot.go index f60ed99a0d3..6ab49f457a3 100644 --- a/service/ec2/api_op_DeleteSnapshot.go +++ b/service/ec2/api_op_DeleteSnapshot.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteSnapshotMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteSpotDatafeedSubscription.go b/service/ec2/api_op_DeleteSpotDatafeedSubscription.go index fc1fef6f5a0..1316e611c62 100644 --- a/service/ec2/api_op_DeleteSpotDatafeedSubscription.go +++ b/service/ec2/api_op_DeleteSpotDatafeedSubscription.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteSpotDatafeedSubscriptionMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSpotDatafeedSubscription(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DeleteSubnet.go b/service/ec2/api_op_DeleteSubnet.go index 192472bb506..81f3acd666c 100644 --- a/service/ec2/api_op_DeleteSubnet.go +++ b/service/ec2/api_op_DeleteSubnet.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteSubnetMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSubnetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteSubnetCidrReservation.go b/service/ec2/api_op_DeleteSubnetCidrReservation.go index 928b556d914..a20aac44ec3 100644 --- a/service/ec2/api_op_DeleteSubnetCidrReservation.go +++ b/service/ec2/api_op_DeleteSubnetCidrReservation.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteSubnetCidrReservationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSubnetCidrReservationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteTags.go b/service/ec2/api_op_DeleteTags.go index b08c304a6bc..bd274c050ba 100644 --- a/service/ec2/api_op_DeleteTags.go +++ b/service/ec2/api_op_DeleteTags.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDeleteTagsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteTrafficMirrorFilter.go b/service/ec2/api_op_DeleteTrafficMirrorFilter.go index 1244ed6ec8c..f06b7472ef9 100644 --- a/service/ec2/api_op_DeleteTrafficMirrorFilter.go +++ b/service/ec2/api_op_DeleteTrafficMirrorFilter.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteTrafficMirrorFilterMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTrafficMirrorFilterValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteTrafficMirrorFilterRule.go b/service/ec2/api_op_DeleteTrafficMirrorFilterRule.go index 37ba2eee549..78b61ec6b37 100644 --- a/service/ec2/api_op_DeleteTrafficMirrorFilterRule.go +++ b/service/ec2/api_op_DeleteTrafficMirrorFilterRule.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteTrafficMirrorFilterRuleMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTrafficMirrorFilterRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteTrafficMirrorSession.go b/service/ec2/api_op_DeleteTrafficMirrorSession.go index 5da049274d5..bae0177652b 100644 --- a/service/ec2/api_op_DeleteTrafficMirrorSession.go +++ b/service/ec2/api_op_DeleteTrafficMirrorSession.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteTrafficMirrorSessionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTrafficMirrorSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteTrafficMirrorTarget.go b/service/ec2/api_op_DeleteTrafficMirrorTarget.go index 8d989afe70f..ccbd646e750 100644 --- a/service/ec2/api_op_DeleteTrafficMirrorTarget.go +++ b/service/ec2/api_op_DeleteTrafficMirrorTarget.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteTrafficMirrorTargetMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTrafficMirrorTargetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteTransitGateway.go b/service/ec2/api_op_DeleteTransitGateway.go index 1dbab0f9148..9f1ac2b8ea7 100644 --- a/service/ec2/api_op_DeleteTransitGateway.go +++ b/service/ec2/api_op_DeleteTransitGateway.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteTransitGatewayMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTransitGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteTransitGatewayConnect.go b/service/ec2/api_op_DeleteTransitGatewayConnect.go index eb5e5187343..50ee05a9a94 100644 --- a/service/ec2/api_op_DeleteTransitGatewayConnect.go +++ b/service/ec2/api_op_DeleteTransitGatewayConnect.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteTransitGatewayConnectMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTransitGatewayConnectValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteTransitGatewayConnectPeer.go b/service/ec2/api_op_DeleteTransitGatewayConnectPeer.go index 69bb9aceccc..8ea46ede21b 100644 --- a/service/ec2/api_op_DeleteTransitGatewayConnectPeer.go +++ b/service/ec2/api_op_DeleteTransitGatewayConnectPeer.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteTransitGatewayConnectPeerMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTransitGatewayConnectPeerValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteTransitGatewayMulticastDomain.go b/service/ec2/api_op_DeleteTransitGatewayMulticastDomain.go index 4c9f834910a..ac12d4842fc 100644 --- a/service/ec2/api_op_DeleteTransitGatewayMulticastDomain.go +++ b/service/ec2/api_op_DeleteTransitGatewayMulticastDomain.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteTransitGatewayMulticastDomainMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTransitGatewayMulticastDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteTransitGatewayPeeringAttachment.go b/service/ec2/api_op_DeleteTransitGatewayPeeringAttachment.go index 7b93ab1fd15..5aebda28a52 100644 --- a/service/ec2/api_op_DeleteTransitGatewayPeeringAttachment.go +++ b/service/ec2/api_op_DeleteTransitGatewayPeeringAttachment.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteTransitGatewayPeeringAttachmentMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTransitGatewayPeeringAttachmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteTransitGatewayPolicyTable.go b/service/ec2/api_op_DeleteTransitGatewayPolicyTable.go index 787d20fbcab..b518334b594 100644 --- a/service/ec2/api_op_DeleteTransitGatewayPolicyTable.go +++ b/service/ec2/api_op_DeleteTransitGatewayPolicyTable.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteTransitGatewayPolicyTableMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTransitGatewayPolicyTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteTransitGatewayPrefixListReference.go b/service/ec2/api_op_DeleteTransitGatewayPrefixListReference.go index 1757471adef..9b45c6095f3 100644 --- a/service/ec2/api_op_DeleteTransitGatewayPrefixListReference.go +++ b/service/ec2/api_op_DeleteTransitGatewayPrefixListReference.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteTransitGatewayPrefixListReferenceMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTransitGatewayPrefixListReferenceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteTransitGatewayRoute.go b/service/ec2/api_op_DeleteTransitGatewayRoute.go index 97c0b635505..23f12530acb 100644 --- a/service/ec2/api_op_DeleteTransitGatewayRoute.go +++ b/service/ec2/api_op_DeleteTransitGatewayRoute.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteTransitGatewayRouteMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTransitGatewayRouteValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteTransitGatewayRouteTable.go b/service/ec2/api_op_DeleteTransitGatewayRouteTable.go index 65a48c4a3e9..e23529c8f92 100644 --- a/service/ec2/api_op_DeleteTransitGatewayRouteTable.go +++ b/service/ec2/api_op_DeleteTransitGatewayRouteTable.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteTransitGatewayRouteTableMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTransitGatewayRouteTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteTransitGatewayRouteTableAnnouncement.go b/service/ec2/api_op_DeleteTransitGatewayRouteTableAnnouncement.go index 330f164c078..930abbfb302 100644 --- a/service/ec2/api_op_DeleteTransitGatewayRouteTableAnnouncement.go +++ b/service/ec2/api_op_DeleteTransitGatewayRouteTableAnnouncement.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteTransitGatewayRouteTableAnnouncementMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTransitGatewayRouteTableAnnouncementValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteTransitGatewayVpcAttachment.go b/service/ec2/api_op_DeleteTransitGatewayVpcAttachment.go index 0e7cfc290bb..f651b2d2a60 100644 --- a/service/ec2/api_op_DeleteTransitGatewayVpcAttachment.go +++ b/service/ec2/api_op_DeleteTransitGatewayVpcAttachment.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteTransitGatewayVpcAttachmentMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTransitGatewayVpcAttachmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteVerifiedAccessEndpoint.go b/service/ec2/api_op_DeleteVerifiedAccessEndpoint.go index 071a3173812..d6a5f6838a3 100644 --- a/service/ec2/api_op_DeleteVerifiedAccessEndpoint.go +++ b/service/ec2/api_op_DeleteVerifiedAccessEndpoint.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteVerifiedAccessEndpointMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteVerifiedAccessEndpointMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_DeleteVerifiedAccessGroup.go b/service/ec2/api_op_DeleteVerifiedAccessGroup.go index 2e159865d3f..7c9d51587da 100644 --- a/service/ec2/api_op_DeleteVerifiedAccessGroup.go +++ b/service/ec2/api_op_DeleteVerifiedAccessGroup.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteVerifiedAccessGroupMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteVerifiedAccessGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_DeleteVerifiedAccessInstance.go b/service/ec2/api_op_DeleteVerifiedAccessInstance.go index b6083317265..c1ce4374356 100644 --- a/service/ec2/api_op_DeleteVerifiedAccessInstance.go +++ b/service/ec2/api_op_DeleteVerifiedAccessInstance.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteVerifiedAccessInstanceMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteVerifiedAccessInstanceMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_DeleteVerifiedAccessTrustProvider.go b/service/ec2/api_op_DeleteVerifiedAccessTrustProvider.go index 80412749798..28b1f516477 100644 --- a/service/ec2/api_op_DeleteVerifiedAccessTrustProvider.go +++ b/service/ec2/api_op_DeleteVerifiedAccessTrustProvider.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteVerifiedAccessTrustProviderMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteVerifiedAccessTrustProviderMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_DeleteVolume.go b/service/ec2/api_op_DeleteVolume.go index e6261caeb17..5d92d4aa77e 100644 --- a/service/ec2/api_op_DeleteVolume.go +++ b/service/ec2/api_op_DeleteVolume.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteVolumeMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVolumeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteVpc.go b/service/ec2/api_op_DeleteVpc.go index 626b1d095f0..477257a76eb 100644 --- a/service/ec2/api_op_DeleteVpc.go +++ b/service/ec2/api_op_DeleteVpc.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteVpcMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVpcValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteVpcBlockPublicAccessExclusion.go b/service/ec2/api_op_DeleteVpcBlockPublicAccessExclusion.go index e2b0a57e7a5..a77060e37e2 100644 --- a/service/ec2/api_op_DeleteVpcBlockPublicAccessExclusion.go +++ b/service/ec2/api_op_DeleteVpcBlockPublicAccessExclusion.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDeleteVpcBlockPublicAccessExclusionMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVpcBlockPublicAccessExclusionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteVpcEndpointConnectionNotifications.go b/service/ec2/api_op_DeleteVpcEndpointConnectionNotifications.go index 608eba0bc71..986432e2b45 100644 --- a/service/ec2/api_op_DeleteVpcEndpointConnectionNotifications.go +++ b/service/ec2/api_op_DeleteVpcEndpointConnectionNotifications.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteVpcEndpointConnectionNotificationsMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVpcEndpointConnectionNotificationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteVpcEndpointServiceConfigurations.go b/service/ec2/api_op_DeleteVpcEndpointServiceConfigurations.go index 0edda6b4742..e66a53f60b5 100644 --- a/service/ec2/api_op_DeleteVpcEndpointServiceConfigurations.go +++ b/service/ec2/api_op_DeleteVpcEndpointServiceConfigurations.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteVpcEndpointServiceConfigurationsMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVpcEndpointServiceConfigurationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteVpcEndpoints.go b/service/ec2/api_op_DeleteVpcEndpoints.go index dffbb307cbb..efe8df0f8d4 100644 --- a/service/ec2/api_op_DeleteVpcEndpoints.go +++ b/service/ec2/api_op_DeleteVpcEndpoints.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteVpcEndpointsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVpcEndpointsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteVpcPeeringConnection.go b/service/ec2/api_op_DeleteVpcPeeringConnection.go index 197221c627e..f292d5abf05 100644 --- a/service/ec2/api_op_DeleteVpcPeeringConnection.go +++ b/service/ec2/api_op_DeleteVpcPeeringConnection.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteVpcPeeringConnectionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVpcPeeringConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteVpnConnection.go b/service/ec2/api_op_DeleteVpnConnection.go index 27040b52191..45a70f8f905 100644 --- a/service/ec2/api_op_DeleteVpnConnection.go +++ b/service/ec2/api_op_DeleteVpnConnection.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDeleteVpnConnectionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVpnConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteVpnConnectionRoute.go b/service/ec2/api_op_DeleteVpnConnectionRoute.go index 2748ce0bf7b..771398391f1 100644 --- a/service/ec2/api_op_DeleteVpnConnectionRoute.go +++ b/service/ec2/api_op_DeleteVpnConnectionRoute.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteVpnConnectionRouteMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVpnConnectionRouteValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeleteVpnGateway.go b/service/ec2/api_op_DeleteVpnGateway.go index c09165901cf..43d6cd2f259 100644 --- a/service/ec2/api_op_DeleteVpnGateway.go +++ b/service/ec2/api_op_DeleteVpnGateway.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteVpnGatewayMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVpnGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeprovisionByoipCidr.go b/service/ec2/api_op_DeprovisionByoipCidr.go index 0f146b8cd70..daaed94b8b1 100644 --- a/service/ec2/api_op_DeprovisionByoipCidr.go +++ b/service/ec2/api_op_DeprovisionByoipCidr.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeprovisionByoipCidrMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeprovisionByoipCidrValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeprovisionIpamByoasn.go b/service/ec2/api_op_DeprovisionIpamByoasn.go index bbef3e41d66..438a1db34d2 100644 --- a/service/ec2/api_op_DeprovisionIpamByoasn.go +++ b/service/ec2/api_op_DeprovisionIpamByoasn.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDeprovisionIpamByoasnMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeprovisionIpamByoasnValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeprovisionIpamPoolCidr.go b/service/ec2/api_op_DeprovisionIpamPoolCidr.go index 930565b7457..773ef2c3a45 100644 --- a/service/ec2/api_op_DeprovisionIpamPoolCidr.go +++ b/service/ec2/api_op_DeprovisionIpamPoolCidr.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDeprovisionIpamPoolCidrMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeprovisionIpamPoolCidrValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeprovisionPublicIpv4PoolCidr.go b/service/ec2/api_op_DeprovisionPublicIpv4PoolCidr.go index 2170f92d224..ac8c7caa3f2 100644 --- a/service/ec2/api_op_DeprovisionPublicIpv4PoolCidr.go +++ b/service/ec2/api_op_DeprovisionPublicIpv4PoolCidr.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeprovisionPublicIpv4PoolCidrMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeprovisionPublicIpv4PoolCidrValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeregisterImage.go b/service/ec2/api_op_DeregisterImage.go index 90e7c064b70..0a2ea6d7130 100644 --- a/service/ec2/api_op_DeregisterImage.go +++ b/service/ec2/api_op_DeregisterImage.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDeregisterImageMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterImageValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeregisterInstanceEventNotificationAttributes.go b/service/ec2/api_op_DeregisterInstanceEventNotificationAttributes.go index 398d0d65b33..57234f3e3d2 100644 --- a/service/ec2/api_op_DeregisterInstanceEventNotificationAttributes.go +++ b/service/ec2/api_op_DeregisterInstanceEventNotificationAttributes.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeregisterInstanceEventNotificationAttributesMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterInstanceEventNotificationAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupMembers.go b/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupMembers.go index 7fb4bcf1768..bbc548c8245 100644 --- a/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupMembers.go +++ b/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupMembers.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeregisterTransitGatewayMulticastGroupMembersMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterTransitGatewayMulticastGroupMembers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupSources.go b/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupSources.go index 6430fb4c2a9..b0a6db9a92f 100644 --- a/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupSources.go +++ b/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupSources.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeregisterTransitGatewayMulticastGroupSourcesMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterTransitGatewayMulticastGroupSources(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeAccountAttributes.go b/service/ec2/api_op_DescribeAccountAttributes.go index c8ab042794a..315aead3518 100644 --- a/service/ec2/api_op_DescribeAccountAttributes.go +++ b/service/ec2/api_op_DescribeAccountAttributes.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDescribeAccountAttributesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountAttributes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeAddressTransfers.go b/service/ec2/api_op_DescribeAddressTransfers.go index fe741ed5554..a5498c2e360 100644 --- a/service/ec2/api_op_DescribeAddressTransfers.go +++ b/service/ec2/api_op_DescribeAddressTransfers.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDescribeAddressTransfersMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAddressTransfers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeAddresses.go b/service/ec2/api_op_DescribeAddresses.go index 83a3a8f6cd8..a49e9bf58be 100644 --- a/service/ec2/api_op_DescribeAddresses.go +++ b/service/ec2/api_op_DescribeAddresses.go @@ -152,9 +152,6 @@ func (c *Client) addOperationDescribeAddressesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAddresses(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeAddressesAttribute.go b/service/ec2/api_op_DescribeAddressesAttribute.go index a9d046804d8..fafea68c421 100644 --- a/service/ec2/api_op_DescribeAddressesAttribute.go +++ b/service/ec2/api_op_DescribeAddressesAttribute.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeAddressesAttributeMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAddressesAttribute(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeAggregateIdFormat.go b/service/ec2/api_op_DescribeAggregateIdFormat.go index 3db068c430d..8a17577ce81 100644 --- a/service/ec2/api_op_DescribeAggregateIdFormat.go +++ b/service/ec2/api_op_DescribeAggregateIdFormat.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeAggregateIdFormatMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAggregateIdFormat(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeAvailabilityZones.go b/service/ec2/api_op_DescribeAvailabilityZones.go index e3e47db7b09..07f61bb2146 100644 --- a/service/ec2/api_op_DescribeAvailabilityZones.go +++ b/service/ec2/api_op_DescribeAvailabilityZones.go @@ -171,9 +171,6 @@ func (c *Client) addOperationDescribeAvailabilityZonesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAvailabilityZones(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeAwsNetworkPerformanceMetricSubscriptions.go b/service/ec2/api_op_DescribeAwsNetworkPerformanceMetricSubscriptions.go index b5fda910ff8..8d3bbda7484 100644 --- a/service/ec2/api_op_DescribeAwsNetworkPerformanceMetricSubscriptions.go +++ b/service/ec2/api_op_DescribeAwsNetworkPerformanceMetricSubscriptions.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeAwsNetworkPerformanceMetricSubscriptionsMid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAwsNetworkPerformanceMetricSubscriptions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeBundleTasks.go b/service/ec2/api_op_DescribeBundleTasks.go index 96cd8f1d457..2b98cb24af7 100644 --- a/service/ec2/api_op_DescribeBundleTasks.go +++ b/service/ec2/api_op_DescribeBundleTasks.go @@ -155,9 +155,6 @@ func (c *Client) addOperationDescribeBundleTasksMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBundleTasks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeByoipCidrs.go b/service/ec2/api_op_DescribeByoipCidrs.go index 4fb42b255a3..b9f4eafcbd7 100644 --- a/service/ec2/api_op_DescribeByoipCidrs.go +++ b/service/ec2/api_op_DescribeByoipCidrs.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeByoipCidrsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeByoipCidrsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeCapacityBlockExtensionHistory.go b/service/ec2/api_op_DescribeCapacityBlockExtensionHistory.go index 587de5cafd5..5b1b21ef2d1 100644 --- a/service/ec2/api_op_DescribeCapacityBlockExtensionHistory.go +++ b/service/ec2/api_op_DescribeCapacityBlockExtensionHistory.go @@ -149,9 +149,6 @@ func (c *Client) addOperationDescribeCapacityBlockExtensionHistoryMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCapacityBlockExtensionHistory(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeCapacityBlockExtensionOfferings.go b/service/ec2/api_op_DescribeCapacityBlockExtensionOfferings.go index e6203238525..401633758f2 100644 --- a/service/ec2/api_op_DescribeCapacityBlockExtensionOfferings.go +++ b/service/ec2/api_op_DescribeCapacityBlockExtensionOfferings.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDescribeCapacityBlockExtensionOfferingsMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCapacityBlockExtensionOfferingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeCapacityBlockOfferings.go b/service/ec2/api_op_DescribeCapacityBlockOfferings.go index 985a9074819..7855a8dfaac 100644 --- a/service/ec2/api_op_DescribeCapacityBlockOfferings.go +++ b/service/ec2/api_op_DescribeCapacityBlockOfferings.go @@ -155,9 +155,6 @@ func (c *Client) addOperationDescribeCapacityBlockOfferingsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCapacityBlockOfferingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeCapacityReservationBillingRequests.go b/service/ec2/api_op_DescribeCapacityReservationBillingRequests.go index 4e4bff5acbd..b3cc6cdc7df 100644 --- a/service/ec2/api_op_DescribeCapacityReservationBillingRequests.go +++ b/service/ec2/api_op_DescribeCapacityReservationBillingRequests.go @@ -159,9 +159,6 @@ func (c *Client) addOperationDescribeCapacityReservationBillingRequestsMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCapacityReservationBillingRequestsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeCapacityReservationFleets.go b/service/ec2/api_op_DescribeCapacityReservationFleets.go index 1ed6c8482f2..bdee6f2779e 100644 --- a/service/ec2/api_op_DescribeCapacityReservationFleets.go +++ b/service/ec2/api_op_DescribeCapacityReservationFleets.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDescribeCapacityReservationFleetsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCapacityReservationFleets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeCapacityReservations.go b/service/ec2/api_op_DescribeCapacityReservations.go index b07e2047a26..787b4fc34fb 100644 --- a/service/ec2/api_op_DescribeCapacityReservations.go +++ b/service/ec2/api_op_DescribeCapacityReservations.go @@ -210,9 +210,6 @@ func (c *Client) addOperationDescribeCapacityReservationsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCapacityReservations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeCarrierGateways.go b/service/ec2/api_op_DescribeCarrierGateways.go index 2adcf8c4500..63ec9f8fa1c 100644 --- a/service/ec2/api_op_DescribeCarrierGateways.go +++ b/service/ec2/api_op_DescribeCarrierGateways.go @@ -148,9 +148,6 @@ func (c *Client) addOperationDescribeCarrierGatewaysMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCarrierGateways(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeClassicLinkInstances.go b/service/ec2/api_op_DescribeClassicLinkInstances.go index 6d7aa71707c..6e3660e68b7 100644 --- a/service/ec2/api_op_DescribeClassicLinkInstances.go +++ b/service/ec2/api_op_DescribeClassicLinkInstances.go @@ -155,9 +155,6 @@ func (c *Client) addOperationDescribeClassicLinkInstancesMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClassicLinkInstances(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeClientVpnAuthorizationRules.go b/service/ec2/api_op_DescribeClientVpnAuthorizationRules.go index 65e292c7b9d..ef30867f4ac 100644 --- a/service/ec2/api_op_DescribeClientVpnAuthorizationRules.go +++ b/service/ec2/api_op_DescribeClientVpnAuthorizationRules.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeClientVpnAuthorizationRulesMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeClientVpnAuthorizationRulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeClientVpnConnections.go b/service/ec2/api_op_DescribeClientVpnConnections.go index f6029c65531..989c5c1366b 100644 --- a/service/ec2/api_op_DescribeClientVpnConnections.go +++ b/service/ec2/api_op_DescribeClientVpnConnections.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDescribeClientVpnConnectionsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeClientVpnConnectionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeClientVpnEndpoints.go b/service/ec2/api_op_DescribeClientVpnEndpoints.go index 7b41afd5e2b..eb99baee637 100644 --- a/service/ec2/api_op_DescribeClientVpnEndpoints.go +++ b/service/ec2/api_op_DescribeClientVpnEndpoints.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDescribeClientVpnEndpointsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClientVpnEndpoints(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeClientVpnRoutes.go b/service/ec2/api_op_DescribeClientVpnRoutes.go index 5216d44d451..08d79a8e8a6 100644 --- a/service/ec2/api_op_DescribeClientVpnRoutes.go +++ b/service/ec2/api_op_DescribeClientVpnRoutes.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDescribeClientVpnRoutesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeClientVpnRoutesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeClientVpnTargetNetworks.go b/service/ec2/api_op_DescribeClientVpnTargetNetworks.go index 4b586cfbb41..c6a7549ff1b 100644 --- a/service/ec2/api_op_DescribeClientVpnTargetNetworks.go +++ b/service/ec2/api_op_DescribeClientVpnTargetNetworks.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDescribeClientVpnTargetNetworksMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeClientVpnTargetNetworksValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeCoipPools.go b/service/ec2/api_op_DescribeCoipPools.go index 6da91482e99..ee096acd10d 100644 --- a/service/ec2/api_op_DescribeCoipPools.go +++ b/service/ec2/api_op_DescribeCoipPools.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribeCoipPoolsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCoipPools(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeConversionTasks.go b/service/ec2/api_op_DescribeConversionTasks.go index 17d0d5a558a..9d961f73869 100644 --- a/service/ec2/api_op_DescribeConversionTasks.go +++ b/service/ec2/api_op_DescribeConversionTasks.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribeConversionTasksMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConversionTasks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeCustomerGateways.go b/service/ec2/api_op_DescribeCustomerGateways.go index af39ca3cfab..0c6c4c98f5c 100644 --- a/service/ec2/api_op_DescribeCustomerGateways.go +++ b/service/ec2/api_op_DescribeCustomerGateways.go @@ -153,9 +153,6 @@ func (c *Client) addOperationDescribeCustomerGatewaysMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCustomerGateways(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeDeclarativePoliciesReports.go b/service/ec2/api_op_DescribeDeclarativePoliciesReports.go index f17fce607f0..83954e27b5c 100644 --- a/service/ec2/api_op_DescribeDeclarativePoliciesReports.go +++ b/service/ec2/api_op_DescribeDeclarativePoliciesReports.go @@ -143,9 +143,6 @@ func (c *Client) addOperationDescribeDeclarativePoliciesReportsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDeclarativePoliciesReports(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeDhcpOptions.go b/service/ec2/api_op_DescribeDhcpOptions.go index 5d9cd01c138..ffaa347b703 100644 --- a/service/ec2/api_op_DescribeDhcpOptions.go +++ b/service/ec2/api_op_DescribeDhcpOptions.go @@ -158,9 +158,6 @@ func (c *Client) addOperationDescribeDhcpOptionsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDhcpOptions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeEgressOnlyInternetGateways.go b/service/ec2/api_op_DescribeEgressOnlyInternetGateways.go index 1e3a4d09bcf..6bebccc427f 100644 --- a/service/ec2/api_op_DescribeEgressOnlyInternetGateways.go +++ b/service/ec2/api_op_DescribeEgressOnlyInternetGateways.go @@ -145,9 +145,6 @@ func (c *Client) addOperationDescribeEgressOnlyInternetGatewaysMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEgressOnlyInternetGateways(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeElasticGpus.go b/service/ec2/api_op_DescribeElasticGpus.go index 1daa5749942..a76e6bf4915 100644 --- a/service/ec2/api_op_DescribeElasticGpus.go +++ b/service/ec2/api_op_DescribeElasticGpus.go @@ -153,9 +153,6 @@ func (c *Client) addOperationDescribeElasticGpusMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeElasticGpus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeExportImageTasks.go b/service/ec2/api_op_DescribeExportImageTasks.go index 0fb2842c469..6b67e3668db 100644 --- a/service/ec2/api_op_DescribeExportImageTasks.go +++ b/service/ec2/api_op_DescribeExportImageTasks.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeExportImageTasksMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeExportImageTasks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeExportTasks.go b/service/ec2/api_op_DescribeExportTasks.go index 4ce00435f9c..695df9dc48b 100644 --- a/service/ec2/api_op_DescribeExportTasks.go +++ b/service/ec2/api_op_DescribeExportTasks.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDescribeExportTasksMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeExportTasks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeFastLaunchImages.go b/service/ec2/api_op_DescribeFastLaunchImages.go index 0494a6d4b69..905e69050a8 100644 --- a/service/ec2/api_op_DescribeFastLaunchImages.go +++ b/service/ec2/api_op_DescribeFastLaunchImages.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeFastLaunchImagesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFastLaunchImages(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeFastSnapshotRestores.go b/service/ec2/api_op_DescribeFastSnapshotRestores.go index 77ff4fbd1c5..c2dd83b99a3 100644 --- a/service/ec2/api_op_DescribeFastSnapshotRestores.go +++ b/service/ec2/api_op_DescribeFastSnapshotRestores.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeFastSnapshotRestoresMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFastSnapshotRestores(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeFleetHistory.go b/service/ec2/api_op_DescribeFleetHistory.go index 7c6f12838cf..e867d667a2f 100644 --- a/service/ec2/api_op_DescribeFleetHistory.go +++ b/service/ec2/api_op_DescribeFleetHistory.go @@ -164,9 +164,6 @@ func (c *Client) addOperationDescribeFleetHistoryMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFleetHistoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeFleetInstances.go b/service/ec2/api_op_DescribeFleetInstances.go index a0febff4dd4..018b5e1b17a 100644 --- a/service/ec2/api_op_DescribeFleetInstances.go +++ b/service/ec2/api_op_DescribeFleetInstances.go @@ -149,9 +149,6 @@ func (c *Client) addOperationDescribeFleetInstancesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFleetInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeFleets.go b/service/ec2/api_op_DescribeFleets.go index a32d0218c4c..34ac7368200 100644 --- a/service/ec2/api_op_DescribeFleets.go +++ b/service/ec2/api_op_DescribeFleets.go @@ -159,9 +159,6 @@ func (c *Client) addOperationDescribeFleetsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFleets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeFlowLogs.go b/service/ec2/api_op_DescribeFlowLogs.go index d4dfabd3a12..1bc04dada5f 100644 --- a/service/ec2/api_op_DescribeFlowLogs.go +++ b/service/ec2/api_op_DescribeFlowLogs.go @@ -161,9 +161,6 @@ func (c *Client) addOperationDescribeFlowLogsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFlowLogs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeFpgaImageAttribute.go b/service/ec2/api_op_DescribeFpgaImageAttribute.go index 5118f81c4f5..de925a19c7a 100644 --- a/service/ec2/api_op_DescribeFpgaImageAttribute.go +++ b/service/ec2/api_op_DescribeFpgaImageAttribute.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeFpgaImageAttributeMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFpgaImageAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeFpgaImages.go b/service/ec2/api_op_DescribeFpgaImages.go index 0b4a9ae2c09..32748957189 100644 --- a/service/ec2/api_op_DescribeFpgaImages.go +++ b/service/ec2/api_op_DescribeFpgaImages.go @@ -163,9 +163,6 @@ func (c *Client) addOperationDescribeFpgaImagesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFpgaImages(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeHostReservationOfferings.go b/service/ec2/api_op_DescribeHostReservationOfferings.go index 618f462db7c..9dbf98f15f5 100644 --- a/service/ec2/api_op_DescribeHostReservationOfferings.go +++ b/service/ec2/api_op_DescribeHostReservationOfferings.go @@ -154,9 +154,6 @@ func (c *Client) addOperationDescribeHostReservationOfferingsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeHostReservationOfferings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeHostReservations.go b/service/ec2/api_op_DescribeHostReservations.go index 691768d3a74..1be7d3240e1 100644 --- a/service/ec2/api_op_DescribeHostReservations.go +++ b/service/ec2/api_op_DescribeHostReservations.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDescribeHostReservationsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeHostReservations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeHosts.go b/service/ec2/api_op_DescribeHosts.go index 07758c6fee9..2b8b26e824a 100644 --- a/service/ec2/api_op_DescribeHosts.go +++ b/service/ec2/api_op_DescribeHosts.go @@ -151,9 +151,6 @@ func (c *Client) addOperationDescribeHostsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeHosts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeIamInstanceProfileAssociations.go b/service/ec2/api_op_DescribeIamInstanceProfileAssociations.go index 1a05ef06978..40253805984 100644 --- a/service/ec2/api_op_DescribeIamInstanceProfileAssociations.go +++ b/service/ec2/api_op_DescribeIamInstanceProfileAssociations.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeIamInstanceProfileAssociationsMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIamInstanceProfileAssociations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeIdFormat.go b/service/ec2/api_op_DescribeIdFormat.go index 58dbb612fb7..f33e54175da 100644 --- a/service/ec2/api_op_DescribeIdFormat.go +++ b/service/ec2/api_op_DescribeIdFormat.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribeIdFormatMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIdFormat(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeIdentityIdFormat.go b/service/ec2/api_op_DescribeIdentityIdFormat.go index 4753f23507c..63d473ae7d3 100644 --- a/service/ec2/api_op_DescribeIdentityIdFormat.go +++ b/service/ec2/api_op_DescribeIdentityIdFormat.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeIdentityIdFormatMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeIdentityIdFormatValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeImageAttribute.go b/service/ec2/api_op_DescribeImageAttribute.go index c8c98eb35a5..95ec365f2ec 100644 --- a/service/ec2/api_op_DescribeImageAttribute.go +++ b/service/ec2/api_op_DescribeImageAttribute.go @@ -192,9 +192,6 @@ func (c *Client) addOperationDescribeImageAttributeMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeImageAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeImages.go b/service/ec2/api_op_DescribeImages.go index 2ba734d752a..e1d46f82777 100644 --- a/service/ec2/api_op_DescribeImages.go +++ b/service/ec2/api_op_DescribeImages.go @@ -298,9 +298,6 @@ func (c *Client) addOperationDescribeImagesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeImages(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeImportImageTasks.go b/service/ec2/api_op_DescribeImportImageTasks.go index 39339ad12a6..80e748f1fc5 100644 --- a/service/ec2/api_op_DescribeImportImageTasks.go +++ b/service/ec2/api_op_DescribeImportImageTasks.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeImportImageTasksMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeImportImageTasks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeImportSnapshotTasks.go b/service/ec2/api_op_DescribeImportSnapshotTasks.go index d29680d2992..a6331b2e410 100644 --- a/service/ec2/api_op_DescribeImportSnapshotTasks.go +++ b/service/ec2/api_op_DescribeImportSnapshotTasks.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeImportSnapshotTasksMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeImportSnapshotTasks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeInstanceAttribute.go b/service/ec2/api_op_DescribeInstanceAttribute.go index 4c5bba14f3c..1e25ee5c63a 100644 --- a/service/ec2/api_op_DescribeInstanceAttribute.go +++ b/service/ec2/api_op_DescribeInstanceAttribute.go @@ -180,9 +180,6 @@ func (c *Client) addOperationDescribeInstanceAttributeMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeInstanceAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeInstanceConnectEndpoints.go b/service/ec2/api_op_DescribeInstanceConnectEndpoints.go index d3c83cfe826..33711a9cb62 100644 --- a/service/ec2/api_op_DescribeInstanceConnectEndpoints.go +++ b/service/ec2/api_op_DescribeInstanceConnectEndpoints.go @@ -158,9 +158,6 @@ func (c *Client) addOperationDescribeInstanceConnectEndpointsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstanceConnectEndpoints(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeInstanceCreditSpecifications.go b/service/ec2/api_op_DescribeInstanceCreditSpecifications.go index efd0476b3aa..2f4706636ff 100644 --- a/service/ec2/api_op_DescribeInstanceCreditSpecifications.go +++ b/service/ec2/api_op_DescribeInstanceCreditSpecifications.go @@ -167,9 +167,6 @@ func (c *Client) addOperationDescribeInstanceCreditSpecificationsMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstanceCreditSpecifications(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeInstanceEventNotificationAttributes.go b/service/ec2/api_op_DescribeInstanceEventNotificationAttributes.go index ff3f7f984b5..15186ba5837 100644 --- a/service/ec2/api_op_DescribeInstanceEventNotificationAttributes.go +++ b/service/ec2/api_op_DescribeInstanceEventNotificationAttributes.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribeInstanceEventNotificationAttributesMiddlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstanceEventNotificationAttributes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeInstanceEventWindows.go b/service/ec2/api_op_DescribeInstanceEventWindows.go index d7286441ca5..ab06eb69cf3 100644 --- a/service/ec2/api_op_DescribeInstanceEventWindows.go +++ b/service/ec2/api_op_DescribeInstanceEventWindows.go @@ -173,9 +173,6 @@ func (c *Client) addOperationDescribeInstanceEventWindowsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstanceEventWindows(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeInstanceImageMetadata.go b/service/ec2/api_op_DescribeInstanceImageMetadata.go index 4a79018963e..e07c5c7eeac 100644 --- a/service/ec2/api_op_DescribeInstanceImageMetadata.go +++ b/service/ec2/api_op_DescribeInstanceImageMetadata.go @@ -201,9 +201,6 @@ func (c *Client) addOperationDescribeInstanceImageMetadataMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstanceImageMetadata(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeInstanceStatus.go b/service/ec2/api_op_DescribeInstanceStatus.go index 69ba78f90ef..23aacd98b3d 100644 --- a/service/ec2/api_op_DescribeInstanceStatus.go +++ b/service/ec2/api_op_DescribeInstanceStatus.go @@ -226,9 +226,6 @@ func (c *Client) addOperationDescribeInstanceStatusMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstanceStatus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeInstanceTopology.go b/service/ec2/api_op_DescribeInstanceTopology.go index f986eb4b600..af4ad0552e2 100644 --- a/service/ec2/api_op_DescribeInstanceTopology.go +++ b/service/ec2/api_op_DescribeInstanceTopology.go @@ -186,9 +186,6 @@ func (c *Client) addOperationDescribeInstanceTopologyMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstanceTopology(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeInstanceTypeOfferings.go b/service/ec2/api_op_DescribeInstanceTypeOfferings.go index 6e09eb761ac..08ba59b4c6a 100644 --- a/service/ec2/api_op_DescribeInstanceTypeOfferings.go +++ b/service/ec2/api_op_DescribeInstanceTypeOfferings.go @@ -155,9 +155,6 @@ func (c *Client) addOperationDescribeInstanceTypeOfferingsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstanceTypeOfferings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeInstanceTypes.go b/service/ec2/api_op_DescribeInstanceTypes.go index 4541bf6b491..68fff0b6b94 100644 --- a/service/ec2/api_op_DescribeInstanceTypes.go +++ b/service/ec2/api_op_DescribeInstanceTypes.go @@ -280,9 +280,6 @@ func (c *Client) addOperationDescribeInstanceTypesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstanceTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeInstances.go b/service/ec2/api_op_DescribeInstances.go index 6ed5b19820a..d3c34a1fe69 100644 --- a/service/ec2/api_op_DescribeInstances.go +++ b/service/ec2/api_op_DescribeInstances.go @@ -571,9 +571,6 @@ func (c *Client) addOperationDescribeInstancesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstances(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeInternetGateways.go b/service/ec2/api_op_DescribeInternetGateways.go index b8a246ec463..2bc1e8fa254 100644 --- a/service/ec2/api_op_DescribeInternetGateways.go +++ b/service/ec2/api_op_DescribeInternetGateways.go @@ -162,9 +162,6 @@ func (c *Client) addOperationDescribeInternetGatewaysMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInternetGateways(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeIpamByoasn.go b/service/ec2/api_op_DescribeIpamByoasn.go index 73ff267a1c0..1060036f21a 100644 --- a/service/ec2/api_op_DescribeIpamByoasn.go +++ b/service/ec2/api_op_DescribeIpamByoasn.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDescribeIpamByoasnMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIpamByoasn(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeIpamExternalResourceVerificationTokens.go b/service/ec2/api_op_DescribeIpamExternalResourceVerificationTokens.go index a86e9b168b8..d0117269bc9 100644 --- a/service/ec2/api_op_DescribeIpamExternalResourceVerificationTokens.go +++ b/service/ec2/api_op_DescribeIpamExternalResourceVerificationTokens.go @@ -155,9 +155,6 @@ func (c *Client) addOperationDescribeIpamExternalResourceVerificationTokensMiddl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIpamExternalResourceVerificationTokens(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeIpamPools.go b/service/ec2/api_op_DescribeIpamPools.go index 471e20f9f77..f83b6cd6529 100644 --- a/service/ec2/api_op_DescribeIpamPools.go +++ b/service/ec2/api_op_DescribeIpamPools.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeIpamPoolsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIpamPools(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeIpamResourceDiscoveries.go b/service/ec2/api_op_DescribeIpamResourceDiscoveries.go index a05766632a0..cebaa7af3e0 100644 --- a/service/ec2/api_op_DescribeIpamResourceDiscoveries.go +++ b/service/ec2/api_op_DescribeIpamResourceDiscoveries.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeIpamResourceDiscoveriesMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIpamResourceDiscoveries(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeIpamResourceDiscoveryAssociations.go b/service/ec2/api_op_DescribeIpamResourceDiscoveryAssociations.go index 0eb7134e14b..6e08e0c80d4 100644 --- a/service/ec2/api_op_DescribeIpamResourceDiscoveryAssociations.go +++ b/service/ec2/api_op_DescribeIpamResourceDiscoveryAssociations.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeIpamResourceDiscoveryAssociationsMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIpamResourceDiscoveryAssociations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeIpamScopes.go b/service/ec2/api_op_DescribeIpamScopes.go index 2dfa57ea88a..f783f6f1944 100644 --- a/service/ec2/api_op_DescribeIpamScopes.go +++ b/service/ec2/api_op_DescribeIpamScopes.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeIpamScopesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIpamScopes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeIpams.go b/service/ec2/api_op_DescribeIpams.go index 2e071f051cf..d10d9171b5b 100644 --- a/service/ec2/api_op_DescribeIpams.go +++ b/service/ec2/api_op_DescribeIpams.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDescribeIpamsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIpams(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeIpv6Pools.go b/service/ec2/api_op_DescribeIpv6Pools.go index efc198981c6..e56d05c7707 100644 --- a/service/ec2/api_op_DescribeIpv6Pools.go +++ b/service/ec2/api_op_DescribeIpv6Pools.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDescribeIpv6PoolsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIpv6Pools(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeKeyPairs.go b/service/ec2/api_op_DescribeKeyPairs.go index 13f13a7b286..68e4e140f10 100644 --- a/service/ec2/api_op_DescribeKeyPairs.go +++ b/service/ec2/api_op_DescribeKeyPairs.go @@ -153,9 +153,6 @@ func (c *Client) addOperationDescribeKeyPairsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeKeyPairs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeLaunchTemplateVersions.go b/service/ec2/api_op_DescribeLaunchTemplateVersions.go index 21c3c8053e3..430dd30e90c 100644 --- a/service/ec2/api_op_DescribeLaunchTemplateVersions.go +++ b/service/ec2/api_op_DescribeLaunchTemplateVersions.go @@ -216,9 +216,6 @@ func (c *Client) addOperationDescribeLaunchTemplateVersionsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLaunchTemplateVersions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeLaunchTemplates.go b/service/ec2/api_op_DescribeLaunchTemplates.go index 9e972034cb5..71e5ab4289e 100644 --- a/service/ec2/api_op_DescribeLaunchTemplates.go +++ b/service/ec2/api_op_DescribeLaunchTemplates.go @@ -146,9 +146,6 @@ func (c *Client) addOperationDescribeLaunchTemplatesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLaunchTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations.go b/service/ec2/api_op_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations.go index 2779c2a8e99..05b7bd0aef9 100644 --- a/service/ec2/api_op_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations.go +++ b/service/ec2/api_op_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations.go @@ -149,9 +149,6 @@ func (c *Client) addOperationDescribeLocalGatewayRouteTableVirtualInterfaceGroup if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeLocalGatewayRouteTableVpcAssociations.go b/service/ec2/api_op_DescribeLocalGatewayRouteTableVpcAssociations.go index 3bee2c82ac0..b902fd19882 100644 --- a/service/ec2/api_op_DescribeLocalGatewayRouteTableVpcAssociations.go +++ b/service/ec2/api_op_DescribeLocalGatewayRouteTableVpcAssociations.go @@ -147,9 +147,6 @@ func (c *Client) addOperationDescribeLocalGatewayRouteTableVpcAssociationsMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLocalGatewayRouteTableVpcAssociations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeLocalGatewayRouteTables.go b/service/ec2/api_op_DescribeLocalGatewayRouteTables.go index 08f7a1fa22e..e4a0f470558 100644 --- a/service/ec2/api_op_DescribeLocalGatewayRouteTables.go +++ b/service/ec2/api_op_DescribeLocalGatewayRouteTables.go @@ -145,9 +145,6 @@ func (c *Client) addOperationDescribeLocalGatewayRouteTablesMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLocalGatewayRouteTables(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaceGroups.go b/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaceGroups.go index 0c23a9035e8..767bea3be96 100644 --- a/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaceGroups.go +++ b/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaceGroups.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDescribeLocalGatewayVirtualInterfaceGroupsMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLocalGatewayVirtualInterfaceGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaces.go b/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaces.go index 324ccdeaf97..325382f40f4 100644 --- a/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaces.go +++ b/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaces.go @@ -148,9 +148,6 @@ func (c *Client) addOperationDescribeLocalGatewayVirtualInterfacesMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLocalGatewayVirtualInterfaces(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeLocalGateways.go b/service/ec2/api_op_DescribeLocalGateways.go index 149c9a316ef..036a80d6991 100644 --- a/service/ec2/api_op_DescribeLocalGateways.go +++ b/service/ec2/api_op_DescribeLocalGateways.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDescribeLocalGatewaysMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLocalGateways(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeLockedSnapshots.go b/service/ec2/api_op_DescribeLockedSnapshots.go index 5ad0e5f0e6c..1821a0cf051 100644 --- a/service/ec2/api_op_DescribeLockedSnapshots.go +++ b/service/ec2/api_op_DescribeLockedSnapshots.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDescribeLockedSnapshotsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLockedSnapshots(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeMacHosts.go b/service/ec2/api_op_DescribeMacHosts.go index d5a8111a02a..e22534d5e66 100644 --- a/service/ec2/api_op_DescribeMacHosts.go +++ b/service/ec2/api_op_DescribeMacHosts.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeMacHostsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMacHosts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeManagedPrefixLists.go b/service/ec2/api_op_DescribeManagedPrefixLists.go index ae7d45ca58b..e6f04affe74 100644 --- a/service/ec2/api_op_DescribeManagedPrefixLists.go +++ b/service/ec2/api_op_DescribeManagedPrefixLists.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDescribeManagedPrefixListsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeManagedPrefixLists(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeMovingAddresses.go b/service/ec2/api_op_DescribeMovingAddresses.go index 32c78c8280a..a150d068f95 100644 --- a/service/ec2/api_op_DescribeMovingAddresses.go +++ b/service/ec2/api_op_DescribeMovingAddresses.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeMovingAddressesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMovingAddresses(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeNatGateways.go b/service/ec2/api_op_DescribeNatGateways.go index 1a7ff3e95d9..3e2e6683f27 100644 --- a/service/ec2/api_op_DescribeNatGateways.go +++ b/service/ec2/api_op_DescribeNatGateways.go @@ -158,9 +158,6 @@ func (c *Client) addOperationDescribeNatGatewaysMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNatGateways(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeNetworkAcls.go b/service/ec2/api_op_DescribeNetworkAcls.go index 20d11aa0cf1..77167aeecd1 100644 --- a/service/ec2/api_op_DescribeNetworkAcls.go +++ b/service/ec2/api_op_DescribeNetworkAcls.go @@ -187,9 +187,6 @@ func (c *Client) addOperationDescribeNetworkAclsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNetworkAcls(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeNetworkInsightsAccessScopeAnalyses.go b/service/ec2/api_op_DescribeNetworkInsightsAccessScopeAnalyses.go index 65390b5ce7a..f13ffa8870a 100644 --- a/service/ec2/api_op_DescribeNetworkInsightsAccessScopeAnalyses.go +++ b/service/ec2/api_op_DescribeNetworkInsightsAccessScopeAnalyses.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDescribeNetworkInsightsAccessScopeAnalysesMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNetworkInsightsAccessScopeAnalyses(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeNetworkInsightsAccessScopes.go b/service/ec2/api_op_DescribeNetworkInsightsAccessScopes.go index f18f0f544ab..7328ecaffca 100644 --- a/service/ec2/api_op_DescribeNetworkInsightsAccessScopes.go +++ b/service/ec2/api_op_DescribeNetworkInsightsAccessScopes.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeNetworkInsightsAccessScopesMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNetworkInsightsAccessScopes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeNetworkInsightsAnalyses.go b/service/ec2/api_op_DescribeNetworkInsightsAnalyses.go index a53cffe6cdc..8190f319fbe 100644 --- a/service/ec2/api_op_DescribeNetworkInsightsAnalyses.go +++ b/service/ec2/api_op_DescribeNetworkInsightsAnalyses.go @@ -146,9 +146,6 @@ func (c *Client) addOperationDescribeNetworkInsightsAnalysesMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNetworkInsightsAnalyses(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeNetworkInsightsPaths.go b/service/ec2/api_op_DescribeNetworkInsightsPaths.go index b0094826bb9..114d9b62bee 100644 --- a/service/ec2/api_op_DescribeNetworkInsightsPaths.go +++ b/service/ec2/api_op_DescribeNetworkInsightsPaths.go @@ -158,9 +158,6 @@ func (c *Client) addOperationDescribeNetworkInsightsPathsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNetworkInsightsPaths(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeNetworkInterfaceAttribute.go b/service/ec2/api_op_DescribeNetworkInterfaceAttribute.go index 2d4709a52d0..e9235d3b93c 100644 --- a/service/ec2/api_op_DescribeNetworkInterfaceAttribute.go +++ b/service/ec2/api_op_DescribeNetworkInterfaceAttribute.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeNetworkInterfaceAttributeMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeNetworkInterfaceAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeNetworkInterfacePermissions.go b/service/ec2/api_op_DescribeNetworkInterfacePermissions.go index c9d088e271e..392f6a9d100 100644 --- a/service/ec2/api_op_DescribeNetworkInterfacePermissions.go +++ b/service/ec2/api_op_DescribeNetworkInterfacePermissions.go @@ -145,9 +145,6 @@ func (c *Client) addOperationDescribeNetworkInterfacePermissionsMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNetworkInterfacePermissions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeNetworkInterfaces.go b/service/ec2/api_op_DescribeNetworkInterfaces.go index d093315ec3c..d23cc6f8bd8 100644 --- a/service/ec2/api_op_DescribeNetworkInterfaces.go +++ b/service/ec2/api_op_DescribeNetworkInterfaces.go @@ -259,9 +259,6 @@ func (c *Client) addOperationDescribeNetworkInterfacesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNetworkInterfaces(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribePlacementGroups.go b/service/ec2/api_op_DescribePlacementGroups.go index 36c492b1acf..15f9e50eaec 100644 --- a/service/ec2/api_op_DescribePlacementGroups.go +++ b/service/ec2/api_op_DescribePlacementGroups.go @@ -158,9 +158,6 @@ func (c *Client) addOperationDescribePlacementGroupsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePlacementGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribePrefixLists.go b/service/ec2/api_op_DescribePrefixLists.go index 0deb7e1444c..77eb2c5382a 100644 --- a/service/ec2/api_op_DescribePrefixLists.go +++ b/service/ec2/api_op_DescribePrefixLists.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDescribePrefixListsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePrefixLists(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribePrincipalIdFormat.go b/service/ec2/api_op_DescribePrincipalIdFormat.go index e4a5c9618fa..96d1d2a195f 100644 --- a/service/ec2/api_op_DescribePrincipalIdFormat.go +++ b/service/ec2/api_op_DescribePrincipalIdFormat.go @@ -149,9 +149,6 @@ func (c *Client) addOperationDescribePrincipalIdFormatMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePrincipalIdFormat(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribePublicIpv4Pools.go b/service/ec2/api_op_DescribePublicIpv4Pools.go index c230b91d2b5..94018dbb97e 100644 --- a/service/ec2/api_op_DescribePublicIpv4Pools.go +++ b/service/ec2/api_op_DescribePublicIpv4Pools.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribePublicIpv4PoolsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePublicIpv4Pools(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeRegions.go b/service/ec2/api_op_DescribeRegions.go index 3176e0cf344..21c5d0952a9 100644 --- a/service/ec2/api_op_DescribeRegions.go +++ b/service/ec2/api_op_DescribeRegions.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDescribeRegionsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRegions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeReplaceRootVolumeTasks.go b/service/ec2/api_op_DescribeReplaceRootVolumeTasks.go index 0209a20ab7d..4dab2641b1c 100644 --- a/service/ec2/api_op_DescribeReplaceRootVolumeTasks.go +++ b/service/ec2/api_op_DescribeReplaceRootVolumeTasks.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDescribeReplaceRootVolumeTasksMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReplaceRootVolumeTasks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeReservedInstances.go b/service/ec2/api_op_DescribeReservedInstances.go index 35bad937ec9..a570989f110 100644 --- a/service/ec2/api_op_DescribeReservedInstances.go +++ b/service/ec2/api_op_DescribeReservedInstances.go @@ -182,9 +182,6 @@ func (c *Client) addOperationDescribeReservedInstancesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservedInstances(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeReservedInstancesListings.go b/service/ec2/api_op_DescribeReservedInstancesListings.go index f1b25d59755..0f884dd24ba 100644 --- a/service/ec2/api_op_DescribeReservedInstancesListings.go +++ b/service/ec2/api_op_DescribeReservedInstancesListings.go @@ -152,9 +152,6 @@ func (c *Client) addOperationDescribeReservedInstancesListingsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservedInstancesListings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeReservedInstancesModifications.go b/service/ec2/api_op_DescribeReservedInstancesModifications.go index fd5c8d97837..62ba7585a60 100644 --- a/service/ec2/api_op_DescribeReservedInstancesModifications.go +++ b/service/ec2/api_op_DescribeReservedInstancesModifications.go @@ -163,9 +163,6 @@ func (c *Client) addOperationDescribeReservedInstancesModificationsMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservedInstancesModifications(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeReservedInstancesOfferings.go b/service/ec2/api_op_DescribeReservedInstancesOfferings.go index 46bad9fbf64..bc3ce7b2599 100644 --- a/service/ec2/api_op_DescribeReservedInstancesOfferings.go +++ b/service/ec2/api_op_DescribeReservedInstancesOfferings.go @@ -229,9 +229,6 @@ func (c *Client) addOperationDescribeReservedInstancesOfferingsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservedInstancesOfferings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeRouteTables.go b/service/ec2/api_op_DescribeRouteTables.go index 03215958a8a..cbee884f931 100644 --- a/service/ec2/api_op_DescribeRouteTables.go +++ b/service/ec2/api_op_DescribeRouteTables.go @@ -209,9 +209,6 @@ func (c *Client) addOperationDescribeRouteTablesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRouteTables(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeScheduledInstanceAvailability.go b/service/ec2/api_op_DescribeScheduledInstanceAvailability.go index 90c65d3a62a..632cb6374bc 100644 --- a/service/ec2/api_op_DescribeScheduledInstanceAvailability.go +++ b/service/ec2/api_op_DescribeScheduledInstanceAvailability.go @@ -164,9 +164,6 @@ func (c *Client) addOperationDescribeScheduledInstanceAvailabilityMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeScheduledInstanceAvailabilityValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeScheduledInstances.go b/service/ec2/api_op_DescribeScheduledInstances.go index 815204803d8..22dc20ff938 100644 --- a/service/ec2/api_op_DescribeScheduledInstances.go +++ b/service/ec2/api_op_DescribeScheduledInstances.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDescribeScheduledInstancesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeScheduledInstances(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeSecurityGroupReferences.go b/service/ec2/api_op_DescribeSecurityGroupReferences.go index 2622e7886a4..ce5ee798a9e 100644 --- a/service/ec2/api_op_DescribeSecurityGroupReferences.go +++ b/service/ec2/api_op_DescribeSecurityGroupReferences.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDescribeSecurityGroupReferencesMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSecurityGroupReferencesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeSecurityGroupRules.go b/service/ec2/api_op_DescribeSecurityGroupRules.go index 07b729055bc..74af41e2f1b 100644 --- a/service/ec2/api_op_DescribeSecurityGroupRules.go +++ b/service/ec2/api_op_DescribeSecurityGroupRules.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDescribeSecurityGroupRulesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSecurityGroupRules(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeSecurityGroupVpcAssociations.go b/service/ec2/api_op_DescribeSecurityGroupVpcAssociations.go index 6e1f59226bd..e14bf082da8 100644 --- a/service/ec2/api_op_DescribeSecurityGroupVpcAssociations.go +++ b/service/ec2/api_op_DescribeSecurityGroupVpcAssociations.go @@ -149,9 +149,6 @@ func (c *Client) addOperationDescribeSecurityGroupVpcAssociationsMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSecurityGroupVpcAssociations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeSecurityGroups.go b/service/ec2/api_op_DescribeSecurityGroups.go index d2df992bc7e..f8ba9d20339 100644 --- a/service/ec2/api_op_DescribeSecurityGroups.go +++ b/service/ec2/api_op_DescribeSecurityGroups.go @@ -224,9 +224,6 @@ func (c *Client) addOperationDescribeSecurityGroupsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSecurityGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeSnapshotAttribute.go b/service/ec2/api_op_DescribeSnapshotAttribute.go index c602e5ee929..9c8055fbb9e 100644 --- a/service/ec2/api_op_DescribeSnapshotAttribute.go +++ b/service/ec2/api_op_DescribeSnapshotAttribute.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDescribeSnapshotAttributeMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSnapshotAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeSnapshotTierStatus.go b/service/ec2/api_op_DescribeSnapshotTierStatus.go index 01e185f0f91..25e266ad99a 100644 --- a/service/ec2/api_op_DescribeSnapshotTierStatus.go +++ b/service/ec2/api_op_DescribeSnapshotTierStatus.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeSnapshotTierStatusMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSnapshotTierStatus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeSnapshots.go b/service/ec2/api_op_DescribeSnapshots.go index 7616f534ccb..cc654fa7271 100644 --- a/service/ec2/api_op_DescribeSnapshots.go +++ b/service/ec2/api_op_DescribeSnapshots.go @@ -235,9 +235,6 @@ func (c *Client) addOperationDescribeSnapshotsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSnapshots(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeSpotDatafeedSubscription.go b/service/ec2/api_op_DescribeSpotDatafeedSubscription.go index 67132b123bc..99de9e5f657 100644 --- a/service/ec2/api_op_DescribeSpotDatafeedSubscription.go +++ b/service/ec2/api_op_DescribeSpotDatafeedSubscription.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDescribeSpotDatafeedSubscriptionMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSpotDatafeedSubscription(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeSpotFleetInstances.go b/service/ec2/api_op_DescribeSpotFleetInstances.go index 35e558b2a7c..a6fdd2a2dc6 100644 --- a/service/ec2/api_op_DescribeSpotFleetInstances.go +++ b/service/ec2/api_op_DescribeSpotFleetInstances.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDescribeSpotFleetInstancesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSpotFleetInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeSpotFleetRequestHistory.go b/service/ec2/api_op_DescribeSpotFleetRequestHistory.go index 8a72bb8b2ad..f69f8c49e7b 100644 --- a/service/ec2/api_op_DescribeSpotFleetRequestHistory.go +++ b/service/ec2/api_op_DescribeSpotFleetRequestHistory.go @@ -167,9 +167,6 @@ func (c *Client) addOperationDescribeSpotFleetRequestHistoryMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSpotFleetRequestHistoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeSpotFleetRequests.go b/service/ec2/api_op_DescribeSpotFleetRequests.go index b97954c7989..03be894f544 100644 --- a/service/ec2/api_op_DescribeSpotFleetRequests.go +++ b/service/ec2/api_op_DescribeSpotFleetRequests.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribeSpotFleetRequestsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSpotFleetRequests(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeSpotInstanceRequests.go b/service/ec2/api_op_DescribeSpotInstanceRequests.go index 01c01791996..73cd5dc1794 100644 --- a/service/ec2/api_op_DescribeSpotInstanceRequests.go +++ b/service/ec2/api_op_DescribeSpotInstanceRequests.go @@ -262,9 +262,6 @@ func (c *Client) addOperationDescribeSpotInstanceRequestsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSpotInstanceRequests(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeSpotPriceHistory.go b/service/ec2/api_op_DescribeSpotPriceHistory.go index fe8400c6499..64ed8c06ca8 100644 --- a/service/ec2/api_op_DescribeSpotPriceHistory.go +++ b/service/ec2/api_op_DescribeSpotPriceHistory.go @@ -175,9 +175,6 @@ func (c *Client) addOperationDescribeSpotPriceHistoryMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSpotPriceHistory(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeStaleSecurityGroups.go b/service/ec2/api_op_DescribeStaleSecurityGroups.go index 20cd6834478..f88dab16c94 100644 --- a/service/ec2/api_op_DescribeStaleSecurityGroups.go +++ b/service/ec2/api_op_DescribeStaleSecurityGroups.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeStaleSecurityGroupsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeStaleSecurityGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeStoreImageTasks.go b/service/ec2/api_op_DescribeStoreImageTasks.go index 46a28ff7e44..c19d4d0a87e 100644 --- a/service/ec2/api_op_DescribeStoreImageTasks.go +++ b/service/ec2/api_op_DescribeStoreImageTasks.go @@ -166,9 +166,6 @@ func (c *Client) addOperationDescribeStoreImageTasksMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStoreImageTasks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeSubnets.go b/service/ec2/api_op_DescribeSubnets.go index 7772da2b414..d33149529ad 100644 --- a/service/ec2/api_op_DescribeSubnets.go +++ b/service/ec2/api_op_DescribeSubnets.go @@ -225,9 +225,6 @@ func (c *Client) addOperationDescribeSubnetsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSubnets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeTags.go b/service/ec2/api_op_DescribeTags.go index 59193f8c60f..5d84de5fb63 100644 --- a/service/ec2/api_op_DescribeTags.go +++ b/service/ec2/api_op_DescribeTags.go @@ -157,9 +157,6 @@ func (c *Client) addOperationDescribeTagsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTags(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeTrafficMirrorFilterRules.go b/service/ec2/api_op_DescribeTrafficMirrorFilterRules.go index 3baf1a57230..7e4d18bcaba 100644 --- a/service/ec2/api_op_DescribeTrafficMirrorFilterRules.go +++ b/service/ec2/api_op_DescribeTrafficMirrorFilterRules.go @@ -157,9 +157,6 @@ func (c *Client) addOperationDescribeTrafficMirrorFilterRulesMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTrafficMirrorFilterRules(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeTrafficMirrorFilters.go b/service/ec2/api_op_DescribeTrafficMirrorFilters.go index ce1db7e7243..399e9e1a070 100644 --- a/service/ec2/api_op_DescribeTrafficMirrorFilters.go +++ b/service/ec2/api_op_DescribeTrafficMirrorFilters.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeTrafficMirrorFiltersMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTrafficMirrorFilters(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeTrafficMirrorSessions.go b/service/ec2/api_op_DescribeTrafficMirrorSessions.go index 5146c65fbbf..8de5f4c010c 100644 --- a/service/ec2/api_op_DescribeTrafficMirrorSessions.go +++ b/service/ec2/api_op_DescribeTrafficMirrorSessions.go @@ -151,9 +151,6 @@ func (c *Client) addOperationDescribeTrafficMirrorSessionsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTrafficMirrorSessions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeTrafficMirrorTargets.go b/service/ec2/api_op_DescribeTrafficMirrorTargets.go index a36cc59ffd6..43dd9175dd0 100644 --- a/service/ec2/api_op_DescribeTrafficMirrorTargets.go +++ b/service/ec2/api_op_DescribeTrafficMirrorTargets.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDescribeTrafficMirrorTargetsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTrafficMirrorTargets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeTransitGatewayAttachments.go b/service/ec2/api_op_DescribeTransitGatewayAttachments.go index 6e4406be0e9..d717e5384cd 100644 --- a/service/ec2/api_op_DescribeTransitGatewayAttachments.go +++ b/service/ec2/api_op_DescribeTransitGatewayAttachments.go @@ -157,9 +157,6 @@ func (c *Client) addOperationDescribeTransitGatewayAttachmentsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTransitGatewayAttachments(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeTransitGatewayConnectPeers.go b/service/ec2/api_op_DescribeTransitGatewayConnectPeers.go index e09b552c5f6..f173ca05d9f 100644 --- a/service/ec2/api_op_DescribeTransitGatewayConnectPeers.go +++ b/service/ec2/api_op_DescribeTransitGatewayConnectPeers.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDescribeTransitGatewayConnectPeersMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTransitGatewayConnectPeers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeTransitGatewayConnects.go b/service/ec2/api_op_DescribeTransitGatewayConnects.go index 4af640cac09..87013f5b796 100644 --- a/service/ec2/api_op_DescribeTransitGatewayConnects.go +++ b/service/ec2/api_op_DescribeTransitGatewayConnects.go @@ -143,9 +143,6 @@ func (c *Client) addOperationDescribeTransitGatewayConnectsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTransitGatewayConnects(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeTransitGatewayMulticastDomains.go b/service/ec2/api_op_DescribeTransitGatewayMulticastDomains.go index 60d911ac684..0f6f23b7838 100644 --- a/service/ec2/api_op_DescribeTransitGatewayMulticastDomains.go +++ b/service/ec2/api_op_DescribeTransitGatewayMulticastDomains.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDescribeTransitGatewayMulticastDomainsMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTransitGatewayMulticastDomains(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeTransitGatewayPeeringAttachments.go b/service/ec2/api_op_DescribeTransitGatewayPeeringAttachments.go index e15d5c6e4c8..7fd671df70f 100644 --- a/service/ec2/api_op_DescribeTransitGatewayPeeringAttachments.go +++ b/service/ec2/api_op_DescribeTransitGatewayPeeringAttachments.go @@ -151,9 +151,6 @@ func (c *Client) addOperationDescribeTransitGatewayPeeringAttachmentsMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTransitGatewayPeeringAttachments(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeTransitGatewayPolicyTables.go b/service/ec2/api_op_DescribeTransitGatewayPolicyTables.go index 60fe0dcf750..106b8dcd9ef 100644 --- a/service/ec2/api_op_DescribeTransitGatewayPolicyTables.go +++ b/service/ec2/api_op_DescribeTransitGatewayPolicyTables.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeTransitGatewayPolicyTablesMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTransitGatewayPolicyTables(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeTransitGatewayRouteTableAnnouncements.go b/service/ec2/api_op_DescribeTransitGatewayRouteTableAnnouncements.go index ce275c6e763..478724c201d 100644 --- a/service/ec2/api_op_DescribeTransitGatewayRouteTableAnnouncements.go +++ b/service/ec2/api_op_DescribeTransitGatewayRouteTableAnnouncements.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeTransitGatewayRouteTableAnnouncementsMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTransitGatewayRouteTableAnnouncements(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeTransitGatewayRouteTables.go b/service/ec2/api_op_DescribeTransitGatewayRouteTables.go index 93217a6e32a..2e334e88990 100644 --- a/service/ec2/api_op_DescribeTransitGatewayRouteTables.go +++ b/service/ec2/api_op_DescribeTransitGatewayRouteTables.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDescribeTransitGatewayRouteTablesMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTransitGatewayRouteTables(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeTransitGatewayVpcAttachments.go b/service/ec2/api_op_DescribeTransitGatewayVpcAttachments.go index 0a540fe1332..237b221fbaa 100644 --- a/service/ec2/api_op_DescribeTransitGatewayVpcAttachments.go +++ b/service/ec2/api_op_DescribeTransitGatewayVpcAttachments.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeTransitGatewayVpcAttachmentsMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTransitGatewayVpcAttachments(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeTransitGateways.go b/service/ec2/api_op_DescribeTransitGateways.go index 1e2990d9426..190bc4c451e 100644 --- a/service/ec2/api_op_DescribeTransitGateways.go +++ b/service/ec2/api_op_DescribeTransitGateways.go @@ -171,9 +171,6 @@ func (c *Client) addOperationDescribeTransitGatewaysMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTransitGateways(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeTrunkInterfaceAssociations.go b/service/ec2/api_op_DescribeTrunkInterfaceAssociations.go index a97b3b82dba..2c0c72ae819 100644 --- a/service/ec2/api_op_DescribeTrunkInterfaceAssociations.go +++ b/service/ec2/api_op_DescribeTrunkInterfaceAssociations.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeTrunkInterfaceAssociationsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTrunkInterfaceAssociations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVerifiedAccessEndpoints.go b/service/ec2/api_op_DescribeVerifiedAccessEndpoints.go index cbe9f60a23d..e25bb676ea7 100644 --- a/service/ec2/api_op_DescribeVerifiedAccessEndpoints.go +++ b/service/ec2/api_op_DescribeVerifiedAccessEndpoints.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribeVerifiedAccessEndpointsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVerifiedAccessEndpoints(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVerifiedAccessGroups.go b/service/ec2/api_op_DescribeVerifiedAccessGroups.go index e51f27b5b5d..98589f86a81 100644 --- a/service/ec2/api_op_DescribeVerifiedAccessGroups.go +++ b/service/ec2/api_op_DescribeVerifiedAccessGroups.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeVerifiedAccessGroupsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVerifiedAccessGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVerifiedAccessInstanceLoggingConfigurations.go b/service/ec2/api_op_DescribeVerifiedAccessInstanceLoggingConfigurations.go index bb555f04f2e..c78b02181ec 100644 --- a/service/ec2/api_op_DescribeVerifiedAccessInstanceLoggingConfigurations.go +++ b/service/ec2/api_op_DescribeVerifiedAccessInstanceLoggingConfigurations.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeVerifiedAccessInstanceLoggingConfigurations if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVerifiedAccessInstanceLoggingConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVerifiedAccessInstances.go b/service/ec2/api_op_DescribeVerifiedAccessInstances.go index 7e1114ba30f..2d8e6befb5c 100644 --- a/service/ec2/api_op_DescribeVerifiedAccessInstances.go +++ b/service/ec2/api_op_DescribeVerifiedAccessInstances.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeVerifiedAccessInstancesMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVerifiedAccessInstances(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVerifiedAccessTrustProviders.go b/service/ec2/api_op_DescribeVerifiedAccessTrustProviders.go index 52f195203a1..9697a966503 100644 --- a/service/ec2/api_op_DescribeVerifiedAccessTrustProviders.go +++ b/service/ec2/api_op_DescribeVerifiedAccessTrustProviders.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeVerifiedAccessTrustProvidersMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVerifiedAccessTrustProviders(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVolumeAttribute.go b/service/ec2/api_op_DescribeVolumeAttribute.go index 5834d5dae0e..bcbdc0cfd5c 100644 --- a/service/ec2/api_op_DescribeVolumeAttribute.go +++ b/service/ec2/api_op_DescribeVolumeAttribute.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeVolumeAttributeMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeVolumeAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVolumeStatus.go b/service/ec2/api_op_DescribeVolumeStatus.go index fa6238e616f..b16c7943516 100644 --- a/service/ec2/api_op_DescribeVolumeStatus.go +++ b/service/ec2/api_op_DescribeVolumeStatus.go @@ -205,9 +205,6 @@ func (c *Client) addOperationDescribeVolumeStatusMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVolumeStatus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVolumes.go b/service/ec2/api_op_DescribeVolumes.go index 13b6f624682..70768e15088 100644 --- a/service/ec2/api_op_DescribeVolumes.go +++ b/service/ec2/api_op_DescribeVolumes.go @@ -204,9 +204,6 @@ func (c *Client) addOperationDescribeVolumesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVolumes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVolumesModifications.go b/service/ec2/api_op_DescribeVolumesModifications.go index 69e2e7ad8ef..3bf070224c3 100644 --- a/service/ec2/api_op_DescribeVolumesModifications.go +++ b/service/ec2/api_op_DescribeVolumesModifications.go @@ -165,9 +165,6 @@ func (c *Client) addOperationDescribeVolumesModificationsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVolumesModifications(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVpcAttribute.go b/service/ec2/api_op_DescribeVpcAttribute.go index 8dfa295568e..b5e3dc63cef 100644 --- a/service/ec2/api_op_DescribeVpcAttribute.go +++ b/service/ec2/api_op_DescribeVpcAttribute.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDescribeVpcAttributeMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeVpcAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVpcBlockPublicAccessExclusions.go b/service/ec2/api_op_DescribeVpcBlockPublicAccessExclusions.go index 5f78681721d..5a7a8753690 100644 --- a/service/ec2/api_op_DescribeVpcBlockPublicAccessExclusions.go +++ b/service/ec2/api_op_DescribeVpcBlockPublicAccessExclusions.go @@ -162,9 +162,6 @@ func (c *Client) addOperationDescribeVpcBlockPublicAccessExclusionsMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpcBlockPublicAccessExclusions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVpcBlockPublicAccessOptions.go b/service/ec2/api_op_DescribeVpcBlockPublicAccessOptions.go index 16267e8892e..0a6b955d46e 100644 --- a/service/ec2/api_op_DescribeVpcBlockPublicAccessOptions.go +++ b/service/ec2/api_op_DescribeVpcBlockPublicAccessOptions.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeVpcBlockPublicAccessOptionsMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpcBlockPublicAccessOptions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVpcClassicLink.go b/service/ec2/api_op_DescribeVpcClassicLink.go index 3e61ed0b082..68f82bcd469 100644 --- a/service/ec2/api_op_DescribeVpcClassicLink.go +++ b/service/ec2/api_op_DescribeVpcClassicLink.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeVpcClassicLinkMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpcClassicLink(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVpcClassicLinkDnsSupport.go b/service/ec2/api_op_DescribeVpcClassicLinkDnsSupport.go index f68bed78016..81d4beb7d48 100644 --- a/service/ec2/api_op_DescribeVpcClassicLinkDnsSupport.go +++ b/service/ec2/api_op_DescribeVpcClassicLinkDnsSupport.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeVpcClassicLinkDnsSupportMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpcClassicLinkDnsSupport(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVpcEndpointAssociations.go b/service/ec2/api_op_DescribeVpcEndpointAssociations.go index e8b27f2311a..7b1d7f02f3e 100644 --- a/service/ec2/api_op_DescribeVpcEndpointAssociations.go +++ b/service/ec2/api_op_DescribeVpcEndpointAssociations.go @@ -147,9 +147,6 @@ func (c *Client) addOperationDescribeVpcEndpointAssociationsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpcEndpointAssociations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVpcEndpointConnectionNotifications.go b/service/ec2/api_op_DescribeVpcEndpointConnectionNotifications.go index 01ab8918526..3f1ac7b2086 100644 --- a/service/ec2/api_op_DescribeVpcEndpointConnectionNotifications.go +++ b/service/ec2/api_op_DescribeVpcEndpointConnectionNotifications.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDescribeVpcEndpointConnectionNotificationsMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpcEndpointConnectionNotifications(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVpcEndpointConnections.go b/service/ec2/api_op_DescribeVpcEndpointConnections.go index cc75904c30f..cb7553f35df 100644 --- a/service/ec2/api_op_DescribeVpcEndpointConnections.go +++ b/service/ec2/api_op_DescribeVpcEndpointConnections.go @@ -145,9 +145,6 @@ func (c *Client) addOperationDescribeVpcEndpointConnectionsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpcEndpointConnections(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVpcEndpointServiceConfigurations.go b/service/ec2/api_op_DescribeVpcEndpointServiceConfigurations.go index 55f818ffe08..f8a5147f595 100644 --- a/service/ec2/api_op_DescribeVpcEndpointServiceConfigurations.go +++ b/service/ec2/api_op_DescribeVpcEndpointServiceConfigurations.go @@ -150,9 +150,6 @@ func (c *Client) addOperationDescribeVpcEndpointServiceConfigurationsMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpcEndpointServiceConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVpcEndpointServicePermissions.go b/service/ec2/api_op_DescribeVpcEndpointServicePermissions.go index 00e21004e96..1382b07f180 100644 --- a/service/ec2/api_op_DescribeVpcEndpointServicePermissions.go +++ b/service/ec2/api_op_DescribeVpcEndpointServicePermissions.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDescribeVpcEndpointServicePermissionsMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeVpcEndpointServicePermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVpcEndpointServices.go b/service/ec2/api_op_DescribeVpcEndpointServices.go index 5485d00185e..005f15e1451 100644 --- a/service/ec2/api_op_DescribeVpcEndpointServices.go +++ b/service/ec2/api_op_DescribeVpcEndpointServices.go @@ -166,9 +166,6 @@ func (c *Client) addOperationDescribeVpcEndpointServicesMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpcEndpointServices(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVpcEndpoints.go b/service/ec2/api_op_DescribeVpcEndpoints.go index 304b7b895c1..eab7c6377a3 100644 --- a/service/ec2/api_op_DescribeVpcEndpoints.go +++ b/service/ec2/api_op_DescribeVpcEndpoints.go @@ -159,9 +159,6 @@ func (c *Client) addOperationDescribeVpcEndpointsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpcEndpoints(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVpcPeeringConnections.go b/service/ec2/api_op_DescribeVpcPeeringConnections.go index 29ae4ebd883..5c1e09e0ddc 100644 --- a/service/ec2/api_op_DescribeVpcPeeringConnections.go +++ b/service/ec2/api_op_DescribeVpcPeeringConnections.go @@ -177,9 +177,6 @@ func (c *Client) addOperationDescribeVpcPeeringConnectionsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpcPeeringConnections(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVpcs.go b/service/ec2/api_op_DescribeVpcs.go index 09b4bdcda25..ef2ec03500a 100644 --- a/service/ec2/api_op_DescribeVpcs.go +++ b/service/ec2/api_op_DescribeVpcs.go @@ -184,9 +184,6 @@ func (c *Client) addOperationDescribeVpcsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpcs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVpnConnections.go b/service/ec2/api_op_DescribeVpnConnections.go index 79cd9cfd462..b19ba019bc9 100644 --- a/service/ec2/api_op_DescribeVpnConnections.go +++ b/service/ec2/api_op_DescribeVpnConnections.go @@ -168,9 +168,6 @@ func (c *Client) addOperationDescribeVpnConnectionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpnConnections(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DescribeVpnGateways.go b/service/ec2/api_op_DescribeVpnGateways.go index 956fc7bf505..41f76900316 100644 --- a/service/ec2/api_op_DescribeVpnGateways.go +++ b/service/ec2/api_op_DescribeVpnGateways.go @@ -155,9 +155,6 @@ func (c *Client) addOperationDescribeVpnGatewaysMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpnGateways(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DetachClassicLinkVpc.go b/service/ec2/api_op_DetachClassicLinkVpc.go index ac0911eaf9d..9edc636b3d8 100644 --- a/service/ec2/api_op_DetachClassicLinkVpc.go +++ b/service/ec2/api_op_DetachClassicLinkVpc.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDetachClassicLinkVpcMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetachClassicLinkVpcValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DetachInternetGateway.go b/service/ec2/api_op_DetachInternetGateway.go index f7768be5fe9..553254c7ce1 100644 --- a/service/ec2/api_op_DetachInternetGateway.go +++ b/service/ec2/api_op_DetachInternetGateway.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDetachInternetGatewayMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetachInternetGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DetachNetworkInterface.go b/service/ec2/api_op_DetachNetworkInterface.go index 02b589a5844..2906182d2a2 100644 --- a/service/ec2/api_op_DetachNetworkInterface.go +++ b/service/ec2/api_op_DetachNetworkInterface.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDetachNetworkInterfaceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetachNetworkInterfaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DetachVerifiedAccessTrustProvider.go b/service/ec2/api_op_DetachVerifiedAccessTrustProvider.go index 76e0562bc8c..50623069e2c 100644 --- a/service/ec2/api_op_DetachVerifiedAccessTrustProvider.go +++ b/service/ec2/api_op_DetachVerifiedAccessTrustProvider.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDetachVerifiedAccessTrustProviderMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDetachVerifiedAccessTrustProviderMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_DetachVolume.go b/service/ec2/api_op_DetachVolume.go index 343ea9539c4..be463169996 100644 --- a/service/ec2/api_op_DetachVolume.go +++ b/service/ec2/api_op_DetachVolume.go @@ -182,9 +182,6 @@ func (c *Client) addOperationDetachVolumeMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetachVolumeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DetachVpnGateway.go b/service/ec2/api_op_DetachVpnGateway.go index 71bfe7cc751..21c94077fca 100644 --- a/service/ec2/api_op_DetachVpnGateway.go +++ b/service/ec2/api_op_DetachVpnGateway.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDetachVpnGatewayMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetachVpnGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisableAddressTransfer.go b/service/ec2/api_op_DisableAddressTransfer.go index e6bb42eea22..40735edfae1 100644 --- a/service/ec2/api_op_DisableAddressTransfer.go +++ b/service/ec2/api_op_DisableAddressTransfer.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDisableAddressTransferMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableAddressTransferValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisableAllowedImagesSettings.go b/service/ec2/api_op_DisableAllowedImagesSettings.go index 48c950aacf8..982ae558204 100644 --- a/service/ec2/api_op_DisableAllowedImagesSettings.go +++ b/service/ec2/api_op_DisableAllowedImagesSettings.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDisableAllowedImagesSettingsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableAllowedImagesSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DisableAwsNetworkPerformanceMetricSubscription.go b/service/ec2/api_op_DisableAwsNetworkPerformanceMetricSubscription.go index 97e67a75ecf..3d2066e2f0a 100644 --- a/service/ec2/api_op_DisableAwsNetworkPerformanceMetricSubscription.go +++ b/service/ec2/api_op_DisableAwsNetworkPerformanceMetricSubscription.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDisableAwsNetworkPerformanceMetricSubscriptionMiddl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableAwsNetworkPerformanceMetricSubscription(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DisableEbsEncryptionByDefault.go b/service/ec2/api_op_DisableEbsEncryptionByDefault.go index ae1ee7b028e..0d9dfbea27d 100644 --- a/service/ec2/api_op_DisableEbsEncryptionByDefault.go +++ b/service/ec2/api_op_DisableEbsEncryptionByDefault.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDisableEbsEncryptionByDefaultMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableEbsEncryptionByDefault(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DisableFastLaunch.go b/service/ec2/api_op_DisableFastLaunch.go index d693db3cd0e..1122f445cb0 100644 --- a/service/ec2/api_op_DisableFastLaunch.go +++ b/service/ec2/api_op_DisableFastLaunch.go @@ -158,9 +158,6 @@ func (c *Client) addOperationDisableFastLaunchMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableFastLaunchValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisableFastSnapshotRestores.go b/service/ec2/api_op_DisableFastSnapshotRestores.go index 284c8da6a07..9360b20faf4 100644 --- a/service/ec2/api_op_DisableFastSnapshotRestores.go +++ b/service/ec2/api_op_DisableFastSnapshotRestores.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDisableFastSnapshotRestoresMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableFastSnapshotRestoresValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisableImage.go b/service/ec2/api_op_DisableImage.go index e109e4aaf41..25b7494a279 100644 --- a/service/ec2/api_op_DisableImage.go +++ b/service/ec2/api_op_DisableImage.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDisableImageMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableImageValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisableImageBlockPublicAccess.go b/service/ec2/api_op_DisableImageBlockPublicAccess.go index d4dc61be38d..07a885d3f9d 100644 --- a/service/ec2/api_op_DisableImageBlockPublicAccess.go +++ b/service/ec2/api_op_DisableImageBlockPublicAccess.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDisableImageBlockPublicAccessMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableImageBlockPublicAccess(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DisableImageDeprecation.go b/service/ec2/api_op_DisableImageDeprecation.go index 234dfde6183..f2f76a0b38f 100644 --- a/service/ec2/api_op_DisableImageDeprecation.go +++ b/service/ec2/api_op_DisableImageDeprecation.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDisableImageDeprecationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableImageDeprecationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisableImageDeregistrationProtection.go b/service/ec2/api_op_DisableImageDeregistrationProtection.go index 95068d3ca82..04559cbc7dc 100644 --- a/service/ec2/api_op_DisableImageDeregistrationProtection.go +++ b/service/ec2/api_op_DisableImageDeregistrationProtection.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDisableImageDeregistrationProtectionMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableImageDeregistrationProtectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisableIpamOrganizationAdminAccount.go b/service/ec2/api_op_DisableIpamOrganizationAdminAccount.go index ecb450eb357..bb96a2cf677 100644 --- a/service/ec2/api_op_DisableIpamOrganizationAdminAccount.go +++ b/service/ec2/api_op_DisableIpamOrganizationAdminAccount.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDisableIpamOrganizationAdminAccountMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableIpamOrganizationAdminAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisableSerialConsoleAccess.go b/service/ec2/api_op_DisableSerialConsoleAccess.go index 18a80126e19..8be4db5aea6 100644 --- a/service/ec2/api_op_DisableSerialConsoleAccess.go +++ b/service/ec2/api_op_DisableSerialConsoleAccess.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDisableSerialConsoleAccessMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableSerialConsoleAccess(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DisableSnapshotBlockPublicAccess.go b/service/ec2/api_op_DisableSnapshotBlockPublicAccess.go index 6a7134c621f..ef375f63eca 100644 --- a/service/ec2/api_op_DisableSnapshotBlockPublicAccess.go +++ b/service/ec2/api_op_DisableSnapshotBlockPublicAccess.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDisableSnapshotBlockPublicAccessMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableSnapshotBlockPublicAccess(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DisableTransitGatewayRouteTablePropagation.go b/service/ec2/api_op_DisableTransitGatewayRouteTablePropagation.go index b09984fe6a1..c662f10bf4d 100644 --- a/service/ec2/api_op_DisableTransitGatewayRouteTablePropagation.go +++ b/service/ec2/api_op_DisableTransitGatewayRouteTablePropagation.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDisableTransitGatewayRouteTablePropagationMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableTransitGatewayRouteTablePropagationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisableVgwRoutePropagation.go b/service/ec2/api_op_DisableVgwRoutePropagation.go index 227fe0f1df9..83202642986 100644 --- a/service/ec2/api_op_DisableVgwRoutePropagation.go +++ b/service/ec2/api_op_DisableVgwRoutePropagation.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDisableVgwRoutePropagationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableVgwRoutePropagationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisableVpcClassicLink.go b/service/ec2/api_op_DisableVpcClassicLink.go index 73f51e9014c..e079a267a1c 100644 --- a/service/ec2/api_op_DisableVpcClassicLink.go +++ b/service/ec2/api_op_DisableVpcClassicLink.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDisableVpcClassicLinkMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableVpcClassicLinkValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisableVpcClassicLinkDnsSupport.go b/service/ec2/api_op_DisableVpcClassicLinkDnsSupport.go index f5f2c0fbdf8..38bd27d9140 100644 --- a/service/ec2/api_op_DisableVpcClassicLinkDnsSupport.go +++ b/service/ec2/api_op_DisableVpcClassicLinkDnsSupport.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDisableVpcClassicLinkDnsSupportMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableVpcClassicLinkDnsSupport(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DisassociateAddress.go b/service/ec2/api_op_DisassociateAddress.go index 3dfc1aab773..a8197be45d0 100644 --- a/service/ec2/api_op_DisassociateAddress.go +++ b/service/ec2/api_op_DisassociateAddress.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDisassociateAddressMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateAddress(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_DisassociateCapacityReservationBillingOwner.go b/service/ec2/api_op_DisassociateCapacityReservationBillingOwner.go index 88d764f31e9..2d666700209 100644 --- a/service/ec2/api_op_DisassociateCapacityReservationBillingOwner.go +++ b/service/ec2/api_op_DisassociateCapacityReservationBillingOwner.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDisassociateCapacityReservationBillingOwnerMiddlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateCapacityReservationBillingOwnerValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisassociateClientVpnTargetNetwork.go b/service/ec2/api_op_DisassociateClientVpnTargetNetwork.go index f3bb15c730f..bca62449624 100644 --- a/service/ec2/api_op_DisassociateClientVpnTargetNetwork.go +++ b/service/ec2/api_op_DisassociateClientVpnTargetNetwork.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDisassociateClientVpnTargetNetworkMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateClientVpnTargetNetworkValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisassociateEnclaveCertificateIamRole.go b/service/ec2/api_op_DisassociateEnclaveCertificateIamRole.go index b833ea0193a..bc527168718 100644 --- a/service/ec2/api_op_DisassociateEnclaveCertificateIamRole.go +++ b/service/ec2/api_op_DisassociateEnclaveCertificateIamRole.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDisassociateEnclaveCertificateIamRoleMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateEnclaveCertificateIamRoleValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisassociateIamInstanceProfile.go b/service/ec2/api_op_DisassociateIamInstanceProfile.go index 5c17867ebeb..ed00b32c514 100644 --- a/service/ec2/api_op_DisassociateIamInstanceProfile.go +++ b/service/ec2/api_op_DisassociateIamInstanceProfile.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDisassociateIamInstanceProfileMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateIamInstanceProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisassociateInstanceEventWindow.go b/service/ec2/api_op_DisassociateInstanceEventWindow.go index e4736d4dec8..d106a07e208 100644 --- a/service/ec2/api_op_DisassociateInstanceEventWindow.go +++ b/service/ec2/api_op_DisassociateInstanceEventWindow.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDisassociateInstanceEventWindowMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateInstanceEventWindowValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisassociateIpamByoasn.go b/service/ec2/api_op_DisassociateIpamByoasn.go index 99237e515a2..711ed063e4c 100644 --- a/service/ec2/api_op_DisassociateIpamByoasn.go +++ b/service/ec2/api_op_DisassociateIpamByoasn.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDisassociateIpamByoasnMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateIpamByoasnValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisassociateIpamResourceDiscovery.go b/service/ec2/api_op_DisassociateIpamResourceDiscovery.go index 7dd60407269..bb2154a8f3a 100644 --- a/service/ec2/api_op_DisassociateIpamResourceDiscovery.go +++ b/service/ec2/api_op_DisassociateIpamResourceDiscovery.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDisassociateIpamResourceDiscoveryMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateIpamResourceDiscoveryValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisassociateNatGatewayAddress.go b/service/ec2/api_op_DisassociateNatGatewayAddress.go index d084720b95c..c8e74930ada 100644 --- a/service/ec2/api_op_DisassociateNatGatewayAddress.go +++ b/service/ec2/api_op_DisassociateNatGatewayAddress.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDisassociateNatGatewayAddressMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateNatGatewayAddressValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisassociateRouteTable.go b/service/ec2/api_op_DisassociateRouteTable.go index 3961e9ec64e..549a1f25d41 100644 --- a/service/ec2/api_op_DisassociateRouteTable.go +++ b/service/ec2/api_op_DisassociateRouteTable.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDisassociateRouteTableMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateRouteTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisassociateSecurityGroupVpc.go b/service/ec2/api_op_DisassociateSecurityGroupVpc.go index 1f8b2088ede..2aa815e1373 100644 --- a/service/ec2/api_op_DisassociateSecurityGroupVpc.go +++ b/service/ec2/api_op_DisassociateSecurityGroupVpc.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDisassociateSecurityGroupVpcMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateSecurityGroupVpcValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisassociateSubnetCidrBlock.go b/service/ec2/api_op_DisassociateSubnetCidrBlock.go index 61006bdc870..3c017027fb9 100644 --- a/service/ec2/api_op_DisassociateSubnetCidrBlock.go +++ b/service/ec2/api_op_DisassociateSubnetCidrBlock.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDisassociateSubnetCidrBlockMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateSubnetCidrBlockValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisassociateTransitGatewayMulticastDomain.go b/service/ec2/api_op_DisassociateTransitGatewayMulticastDomain.go index ec2ef2cc63c..0e5ed3d1379 100644 --- a/service/ec2/api_op_DisassociateTransitGatewayMulticastDomain.go +++ b/service/ec2/api_op_DisassociateTransitGatewayMulticastDomain.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDisassociateTransitGatewayMulticastDomainMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateTransitGatewayMulticastDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisassociateTransitGatewayPolicyTable.go b/service/ec2/api_op_DisassociateTransitGatewayPolicyTable.go index 9f629382975..ba20348e79d 100644 --- a/service/ec2/api_op_DisassociateTransitGatewayPolicyTable.go +++ b/service/ec2/api_op_DisassociateTransitGatewayPolicyTable.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDisassociateTransitGatewayPolicyTableMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateTransitGatewayPolicyTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisassociateTransitGatewayRouteTable.go b/service/ec2/api_op_DisassociateTransitGatewayRouteTable.go index 328e067d1ad..ca02a05c226 100644 --- a/service/ec2/api_op_DisassociateTransitGatewayRouteTable.go +++ b/service/ec2/api_op_DisassociateTransitGatewayRouteTable.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDisassociateTransitGatewayRouteTableMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateTransitGatewayRouteTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_DisassociateTrunkInterface.go b/service/ec2/api_op_DisassociateTrunkInterface.go index 1ad27ed39a2..7de09a92467 100644 --- a/service/ec2/api_op_DisassociateTrunkInterface.go +++ b/service/ec2/api_op_DisassociateTrunkInterface.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDisassociateTrunkInterfaceMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDisassociateTrunkInterfaceMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_DisassociateVpcCidrBlock.go b/service/ec2/api_op_DisassociateVpcCidrBlock.go index 7373a7a2bea..f7e2d71121c 100644 --- a/service/ec2/api_op_DisassociateVpcCidrBlock.go +++ b/service/ec2/api_op_DisassociateVpcCidrBlock.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDisassociateVpcCidrBlockMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateVpcCidrBlockValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_EnableAddressTransfer.go b/service/ec2/api_op_EnableAddressTransfer.go index 2639464f532..dff886a821f 100644 --- a/service/ec2/api_op_EnableAddressTransfer.go +++ b/service/ec2/api_op_EnableAddressTransfer.go @@ -126,9 +126,6 @@ func (c *Client) addOperationEnableAddressTransferMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableAddressTransferValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_EnableAllowedImagesSettings.go b/service/ec2/api_op_EnableAllowedImagesSettings.go index ef61e08b601..ce3c87e4d1a 100644 --- a/service/ec2/api_op_EnableAllowedImagesSettings.go +++ b/service/ec2/api_op_EnableAllowedImagesSettings.go @@ -146,9 +146,6 @@ func (c *Client) addOperationEnableAllowedImagesSettingsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableAllowedImagesSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_EnableAwsNetworkPerformanceMetricSubscription.go b/service/ec2/api_op_EnableAwsNetworkPerformanceMetricSubscription.go index 8e5ba6700b9..a9994b439eb 100644 --- a/service/ec2/api_op_EnableAwsNetworkPerformanceMetricSubscription.go +++ b/service/ec2/api_op_EnableAwsNetworkPerformanceMetricSubscription.go @@ -129,9 +129,6 @@ func (c *Client) addOperationEnableAwsNetworkPerformanceMetricSubscriptionMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableAwsNetworkPerformanceMetricSubscription(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_EnableEbsEncryptionByDefault.go b/service/ec2/api_op_EnableEbsEncryptionByDefault.go index e9ada8f0dff..0d5191d247e 100644 --- a/service/ec2/api_op_EnableEbsEncryptionByDefault.go +++ b/service/ec2/api_op_EnableEbsEncryptionByDefault.go @@ -128,9 +128,6 @@ func (c *Client) addOperationEnableEbsEncryptionByDefaultMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableEbsEncryptionByDefault(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_EnableFastLaunch.go b/service/ec2/api_op_EnableFastLaunch.go index c0d1645788c..aca1eb5f9fe 100644 --- a/service/ec2/api_op_EnableFastLaunch.go +++ b/service/ec2/api_op_EnableFastLaunch.go @@ -176,9 +176,6 @@ func (c *Client) addOperationEnableFastLaunchMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableFastLaunchValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_EnableFastSnapshotRestores.go b/service/ec2/api_op_EnableFastSnapshotRestores.go index 57c77bbe110..e058f81437d 100644 --- a/service/ec2/api_op_EnableFastSnapshotRestores.go +++ b/service/ec2/api_op_EnableFastSnapshotRestores.go @@ -139,9 +139,6 @@ func (c *Client) addOperationEnableFastSnapshotRestoresMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableFastSnapshotRestoresValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_EnableImage.go b/service/ec2/api_op_EnableImage.go index 1ce5221d2c4..151564e4bb6 100644 --- a/service/ec2/api_op_EnableImage.go +++ b/service/ec2/api_op_EnableImage.go @@ -127,9 +127,6 @@ func (c *Client) addOperationEnableImageMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableImageValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_EnableImageBlockPublicAccess.go b/service/ec2/api_op_EnableImageBlockPublicAccess.go index 7209bc43b44..b81df494b08 100644 --- a/service/ec2/api_op_EnableImageBlockPublicAccess.go +++ b/service/ec2/api_op_EnableImageBlockPublicAccess.go @@ -132,9 +132,6 @@ func (c *Client) addOperationEnableImageBlockPublicAccessMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableImageBlockPublicAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_EnableImageDeprecation.go b/service/ec2/api_op_EnableImageDeprecation.go index 33a3d746ca5..c20d5f14169 100644 --- a/service/ec2/api_op_EnableImageDeprecation.go +++ b/service/ec2/api_op_EnableImageDeprecation.go @@ -133,9 +133,6 @@ func (c *Client) addOperationEnableImageDeprecationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableImageDeprecationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_EnableImageDeregistrationProtection.go b/service/ec2/api_op_EnableImageDeregistrationProtection.go index 8e75e272b5c..0123c49aa4f 100644 --- a/service/ec2/api_op_EnableImageDeregistrationProtection.go +++ b/service/ec2/api_op_EnableImageDeregistrationProtection.go @@ -129,9 +129,6 @@ func (c *Client) addOperationEnableImageDeregistrationProtectionMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableImageDeregistrationProtectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_EnableIpamOrganizationAdminAccount.go b/service/ec2/api_op_EnableIpamOrganizationAdminAccount.go index 1d2cd5a2b0f..1bc1e7df3c5 100644 --- a/service/ec2/api_op_EnableIpamOrganizationAdminAccount.go +++ b/service/ec2/api_op_EnableIpamOrganizationAdminAccount.go @@ -121,9 +121,6 @@ func (c *Client) addOperationEnableIpamOrganizationAdminAccountMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableIpamOrganizationAdminAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_EnableReachabilityAnalyzerOrganizationSharing.go b/service/ec2/api_op_EnableReachabilityAnalyzerOrganizationSharing.go index a4ae0990f54..90c139d64fe 100644 --- a/service/ec2/api_op_EnableReachabilityAnalyzerOrganizationSharing.go +++ b/service/ec2/api_op_EnableReachabilityAnalyzerOrganizationSharing.go @@ -118,9 +118,6 @@ func (c *Client) addOperationEnableReachabilityAnalyzerOrganizationSharingMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableReachabilityAnalyzerOrganizationSharing(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_EnableSerialConsoleAccess.go b/service/ec2/api_op_EnableSerialConsoleAccess.go index 942421c62e6..47b3b2bc8f5 100644 --- a/service/ec2/api_op_EnableSerialConsoleAccess.go +++ b/service/ec2/api_op_EnableSerialConsoleAccess.go @@ -118,9 +118,6 @@ func (c *Client) addOperationEnableSerialConsoleAccessMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableSerialConsoleAccess(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_EnableSnapshotBlockPublicAccess.go b/service/ec2/api_op_EnableSnapshotBlockPublicAccess.go index 2333c026480..8f99b1961d8 100644 --- a/service/ec2/api_op_EnableSnapshotBlockPublicAccess.go +++ b/service/ec2/api_op_EnableSnapshotBlockPublicAccess.go @@ -150,9 +150,6 @@ func (c *Client) addOperationEnableSnapshotBlockPublicAccessMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableSnapshotBlockPublicAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_EnableTransitGatewayRouteTablePropagation.go b/service/ec2/api_op_EnableTransitGatewayRouteTablePropagation.go index aa3159320dc..1814aeded1f 100644 --- a/service/ec2/api_op_EnableTransitGatewayRouteTablePropagation.go +++ b/service/ec2/api_op_EnableTransitGatewayRouteTablePropagation.go @@ -125,9 +125,6 @@ func (c *Client) addOperationEnableTransitGatewayRouteTablePropagationMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableTransitGatewayRouteTablePropagationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_EnableVgwRoutePropagation.go b/service/ec2/api_op_EnableVgwRoutePropagation.go index 05d0131a39e..4a2a82d5ee0 100644 --- a/service/ec2/api_op_EnableVgwRoutePropagation.go +++ b/service/ec2/api_op_EnableVgwRoutePropagation.go @@ -123,9 +123,6 @@ func (c *Client) addOperationEnableVgwRoutePropagationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableVgwRoutePropagationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_EnableVolumeIO.go b/service/ec2/api_op_EnableVolumeIO.go index 10c65f79500..31366afbed1 100644 --- a/service/ec2/api_op_EnableVolumeIO.go +++ b/service/ec2/api_op_EnableVolumeIO.go @@ -114,9 +114,6 @@ func (c *Client) addOperationEnableVolumeIOMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableVolumeIOValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_EnableVpcClassicLink.go b/service/ec2/api_op_EnableVpcClassicLink.go index 1bc2c50b4a6..ed1effeacde 100644 --- a/service/ec2/api_op_EnableVpcClassicLink.go +++ b/service/ec2/api_op_EnableVpcClassicLink.go @@ -124,9 +124,6 @@ func (c *Client) addOperationEnableVpcClassicLinkMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableVpcClassicLinkValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_EnableVpcClassicLinkDnsSupport.go b/service/ec2/api_op_EnableVpcClassicLinkDnsSupport.go index 9f7f0856b0e..b8a65d1d043 100644 --- a/service/ec2/api_op_EnableVpcClassicLinkDnsSupport.go +++ b/service/ec2/api_op_EnableVpcClassicLinkDnsSupport.go @@ -117,9 +117,6 @@ func (c *Client) addOperationEnableVpcClassicLinkDnsSupportMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableVpcClassicLinkDnsSupport(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_ExportClientVpnClientCertificateRevocationList.go b/service/ec2/api_op_ExportClientVpnClientCertificateRevocationList.go index c1ee512d6ab..e2e2a937e5b 100644 --- a/service/ec2/api_op_ExportClientVpnClientCertificateRevocationList.go +++ b/service/ec2/api_op_ExportClientVpnClientCertificateRevocationList.go @@ -122,9 +122,6 @@ func (c *Client) addOperationExportClientVpnClientCertificateRevocationListMiddl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExportClientVpnClientCertificateRevocationListValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ExportClientVpnClientConfiguration.go b/service/ec2/api_op_ExportClientVpnClientConfiguration.go index 2a4b2c6c681..503ba338cc0 100644 --- a/service/ec2/api_op_ExportClientVpnClientConfiguration.go +++ b/service/ec2/api_op_ExportClientVpnClientConfiguration.go @@ -120,9 +120,6 @@ func (c *Client) addOperationExportClientVpnClientConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExportClientVpnClientConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ExportImage.go b/service/ec2/api_op_ExportImage.go index ffd9f2e32d9..665788765d0 100644 --- a/service/ec2/api_op_ExportImage.go +++ b/service/ec2/api_op_ExportImage.go @@ -175,9 +175,6 @@ func (c *Client) addOperationExportImageMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opExportImageMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_ExportTransitGatewayRoutes.go b/service/ec2/api_op_ExportTransitGatewayRoutes.go index 4761de00542..2109d3c46b7 100644 --- a/service/ec2/api_op_ExportTransitGatewayRoutes.go +++ b/service/ec2/api_op_ExportTransitGatewayRoutes.go @@ -158,9 +158,6 @@ func (c *Client) addOperationExportTransitGatewayRoutesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExportTransitGatewayRoutesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ExportVerifiedAccessInstanceClientConfiguration.go b/service/ec2/api_op_ExportVerifiedAccessInstanceClientConfiguration.go index 4aafbe3c641..3367bc62376 100644 --- a/service/ec2/api_op_ExportVerifiedAccessInstanceClientConfiguration.go +++ b/service/ec2/api_op_ExportVerifiedAccessInstanceClientConfiguration.go @@ -133,9 +133,6 @@ func (c *Client) addOperationExportVerifiedAccessInstanceClientConfigurationMidd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExportVerifiedAccessInstanceClientConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetAllowedImagesSettings.go b/service/ec2/api_op_GetAllowedImagesSettings.go index 75a40caf2fe..fc37d2eb10e 100644 --- a/service/ec2/api_op_GetAllowedImagesSettings.go +++ b/service/ec2/api_op_GetAllowedImagesSettings.go @@ -146,9 +146,6 @@ func (c *Client) addOperationGetAllowedImagesSettingsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAllowedImagesSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_GetAssociatedEnclaveCertificateIamRoles.go b/service/ec2/api_op_GetAssociatedEnclaveCertificateIamRoles.go index 6fbad312804..fbb0241587c 100644 --- a/service/ec2/api_op_GetAssociatedEnclaveCertificateIamRoles.go +++ b/service/ec2/api_op_GetAssociatedEnclaveCertificateIamRoles.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetAssociatedEnclaveCertificateIamRolesMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAssociatedEnclaveCertificateIamRolesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetAssociatedIpv6PoolCidrs.go b/service/ec2/api_op_GetAssociatedIpv6PoolCidrs.go index d43e723991e..e93c2208872 100644 --- a/service/ec2/api_op_GetAssociatedIpv6PoolCidrs.go +++ b/service/ec2/api_op_GetAssociatedIpv6PoolCidrs.go @@ -130,9 +130,6 @@ func (c *Client) addOperationGetAssociatedIpv6PoolCidrsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAssociatedIpv6PoolCidrsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetAwsNetworkPerformanceData.go b/service/ec2/api_op_GetAwsNetworkPerformanceData.go index 9274dc314d4..d094d98e5bc 100644 --- a/service/ec2/api_op_GetAwsNetworkPerformanceData.go +++ b/service/ec2/api_op_GetAwsNetworkPerformanceData.go @@ -136,9 +136,6 @@ func (c *Client) addOperationGetAwsNetworkPerformanceDataMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAwsNetworkPerformanceData(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_GetCapacityReservationUsage.go b/service/ec2/api_op_GetCapacityReservationUsage.go index 69d53c47813..cb8c4f757c1 100644 --- a/service/ec2/api_op_GetCapacityReservationUsage.go +++ b/service/ec2/api_op_GetCapacityReservationUsage.go @@ -186,9 +186,6 @@ func (c *Client) addOperationGetCapacityReservationUsageMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCapacityReservationUsageValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetCoipPoolUsage.go b/service/ec2/api_op_GetCoipPoolUsage.go index 0d8d7a4c623..fcc34852445 100644 --- a/service/ec2/api_op_GetCoipPoolUsage.go +++ b/service/ec2/api_op_GetCoipPoolUsage.go @@ -148,9 +148,6 @@ func (c *Client) addOperationGetCoipPoolUsageMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCoipPoolUsageValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetConsoleOutput.go b/service/ec2/api_op_GetConsoleOutput.go index 7f185b9bca6..9cf47ba49e9 100644 --- a/service/ec2/api_op_GetConsoleOutput.go +++ b/service/ec2/api_op_GetConsoleOutput.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGetConsoleOutputMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConsoleOutputValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetConsoleScreenshot.go b/service/ec2/api_op_GetConsoleScreenshot.go index e113f64d6c7..2a4f842fa3b 100644 --- a/service/ec2/api_op_GetConsoleScreenshot.go +++ b/service/ec2/api_op_GetConsoleScreenshot.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetConsoleScreenshotMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConsoleScreenshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetDeclarativePoliciesReportSummary.go b/service/ec2/api_op_GetDeclarativePoliciesReportSummary.go index d4ce0b169d8..1008ff84c3a 100644 --- a/service/ec2/api_op_GetDeclarativePoliciesReportSummary.go +++ b/service/ec2/api_op_GetDeclarativePoliciesReportSummary.go @@ -162,9 +162,6 @@ func (c *Client) addOperationGetDeclarativePoliciesReportSummaryMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeclarativePoliciesReportSummaryValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetDefaultCreditSpecification.go b/service/ec2/api_op_GetDefaultCreditSpecification.go index 10cc7934340..be695ff7280 100644 --- a/service/ec2/api_op_GetDefaultCreditSpecification.go +++ b/service/ec2/api_op_GetDefaultCreditSpecification.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetDefaultCreditSpecificationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDefaultCreditSpecificationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetEbsDefaultKmsKeyId.go b/service/ec2/api_op_GetEbsDefaultKmsKeyId.go index d5b131b6b4f..914cd940e51 100644 --- a/service/ec2/api_op_GetEbsDefaultKmsKeyId.go +++ b/service/ec2/api_op_GetEbsDefaultKmsKeyId.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetEbsDefaultKmsKeyIdMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEbsDefaultKmsKeyId(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_GetEbsEncryptionByDefault.go b/service/ec2/api_op_GetEbsEncryptionByDefault.go index 2a0a145522b..ebaad273d81 100644 --- a/service/ec2/api_op_GetEbsEncryptionByDefault.go +++ b/service/ec2/api_op_GetEbsEncryptionByDefault.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetEbsEncryptionByDefaultMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEbsEncryptionByDefault(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_GetFlowLogsIntegrationTemplate.go b/service/ec2/api_op_GetFlowLogsIntegrationTemplate.go index bed8eadd986..64e42c138fa 100644 --- a/service/ec2/api_op_GetFlowLogsIntegrationTemplate.go +++ b/service/ec2/api_op_GetFlowLogsIntegrationTemplate.go @@ -145,9 +145,6 @@ func (c *Client) addOperationGetFlowLogsIntegrationTemplateMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFlowLogsIntegrationTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetGroupsForCapacityReservation.go b/service/ec2/api_op_GetGroupsForCapacityReservation.go index d7075fd853d..298f4f263d9 100644 --- a/service/ec2/api_op_GetGroupsForCapacityReservation.go +++ b/service/ec2/api_op_GetGroupsForCapacityReservation.go @@ -135,9 +135,6 @@ func (c *Client) addOperationGetGroupsForCapacityReservationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetGroupsForCapacityReservationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetHostReservationPurchasePreview.go b/service/ec2/api_op_GetHostReservationPurchasePreview.go index f4bc61b4b67..f9a4b7d0c7d 100644 --- a/service/ec2/api_op_GetHostReservationPurchasePreview.go +++ b/service/ec2/api_op_GetHostReservationPurchasePreview.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetHostReservationPurchasePreviewMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetHostReservationPurchasePreviewValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetImageBlockPublicAccessState.go b/service/ec2/api_op_GetImageBlockPublicAccessState.go index ed6bb30c34a..1e4ba67c57d 100644 --- a/service/ec2/api_op_GetImageBlockPublicAccessState.go +++ b/service/ec2/api_op_GetImageBlockPublicAccessState.go @@ -135,9 +135,6 @@ func (c *Client) addOperationGetImageBlockPublicAccessStateMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetImageBlockPublicAccessState(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_GetInstanceMetadataDefaults.go b/service/ec2/api_op_GetInstanceMetadataDefaults.go index 44b922e06bb..ce5552c8c7f 100644 --- a/service/ec2/api_op_GetInstanceMetadataDefaults.go +++ b/service/ec2/api_op_GetInstanceMetadataDefaults.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetInstanceMetadataDefaultsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInstanceMetadataDefaults(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_GetInstanceTpmEkPub.go b/service/ec2/api_op_GetInstanceTpmEkPub.go index ee5c2cb6ff2..fc92fbf4674 100644 --- a/service/ec2/api_op_GetInstanceTpmEkPub.go +++ b/service/ec2/api_op_GetInstanceTpmEkPub.go @@ -139,9 +139,6 @@ func (c *Client) addOperationGetInstanceTpmEkPubMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInstanceTpmEkPubValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetInstanceTypesFromInstanceRequirements.go b/service/ec2/api_op_GetInstanceTypesFromInstanceRequirements.go index f43a3095b64..6e6e630b25f 100644 --- a/service/ec2/api_op_GetInstanceTypesFromInstanceRequirements.go +++ b/service/ec2/api_op_GetInstanceTypesFromInstanceRequirements.go @@ -157,9 +157,6 @@ func (c *Client) addOperationGetInstanceTypesFromInstanceRequirementsMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInstanceTypesFromInstanceRequirementsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetInstanceUefiData.go b/service/ec2/api_op_GetInstanceUefiData.go index 81726ac3be3..2c21019fdb6 100644 --- a/service/ec2/api_op_GetInstanceUefiData.go +++ b/service/ec2/api_op_GetInstanceUefiData.go @@ -134,9 +134,6 @@ func (c *Client) addOperationGetInstanceUefiDataMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInstanceUefiDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetIpamAddressHistory.go b/service/ec2/api_op_GetIpamAddressHistory.go index 84b547046d0..6c2b0f819ba 100644 --- a/service/ec2/api_op_GetIpamAddressHistory.go +++ b/service/ec2/api_op_GetIpamAddressHistory.go @@ -153,9 +153,6 @@ func (c *Client) addOperationGetIpamAddressHistoryMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIpamAddressHistoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetIpamDiscoveredAccounts.go b/service/ec2/api_op_GetIpamDiscoveredAccounts.go index 0ca6140488e..2a8e90f64d7 100644 --- a/service/ec2/api_op_GetIpamDiscoveredAccounts.go +++ b/service/ec2/api_op_GetIpamDiscoveredAccounts.go @@ -141,9 +141,6 @@ func (c *Client) addOperationGetIpamDiscoveredAccountsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIpamDiscoveredAccountsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetIpamDiscoveredPublicAddresses.go b/service/ec2/api_op_GetIpamDiscoveredPublicAddresses.go index d9195575b37..2ca35dcbf5d 100644 --- a/service/ec2/api_op_GetIpamDiscoveredPublicAddresses.go +++ b/service/ec2/api_op_GetIpamDiscoveredPublicAddresses.go @@ -141,9 +141,6 @@ func (c *Client) addOperationGetIpamDiscoveredPublicAddressesMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIpamDiscoveredPublicAddressesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetIpamDiscoveredResourceCidrs.go b/service/ec2/api_op_GetIpamDiscoveredResourceCidrs.go index 5fe6bc08f02..dce50c28d16 100644 --- a/service/ec2/api_op_GetIpamDiscoveredResourceCidrs.go +++ b/service/ec2/api_op_GetIpamDiscoveredResourceCidrs.go @@ -141,9 +141,6 @@ func (c *Client) addOperationGetIpamDiscoveredResourceCidrsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIpamDiscoveredResourceCidrsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetIpamPoolAllocations.go b/service/ec2/api_op_GetIpamPoolAllocations.go index ef1d1f0ca51..f7d517419aa 100644 --- a/service/ec2/api_op_GetIpamPoolAllocations.go +++ b/service/ec2/api_op_GetIpamPoolAllocations.go @@ -145,9 +145,6 @@ func (c *Client) addOperationGetIpamPoolAllocationsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIpamPoolAllocationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetIpamPoolCidrs.go b/service/ec2/api_op_GetIpamPoolCidrs.go index b0d8904f8d1..0932bc591e3 100644 --- a/service/ec2/api_op_GetIpamPoolCidrs.go +++ b/service/ec2/api_op_GetIpamPoolCidrs.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetIpamPoolCidrsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIpamPoolCidrsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetIpamResourceCidrs.go b/service/ec2/api_op_GetIpamResourceCidrs.go index 6fcebbdd7b5..3b01fceaa65 100644 --- a/service/ec2/api_op_GetIpamResourceCidrs.go +++ b/service/ec2/api_op_GetIpamResourceCidrs.go @@ -152,9 +152,6 @@ func (c *Client) addOperationGetIpamResourceCidrsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIpamResourceCidrsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetLaunchTemplateData.go b/service/ec2/api_op_GetLaunchTemplateData.go index 3cf2728f839..b2a300e0329 100644 --- a/service/ec2/api_op_GetLaunchTemplateData.go +++ b/service/ec2/api_op_GetLaunchTemplateData.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetLaunchTemplateDataMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLaunchTemplateDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetManagedPrefixListAssociations.go b/service/ec2/api_op_GetManagedPrefixListAssociations.go index 2c72a29d804..372a4f212ae 100644 --- a/service/ec2/api_op_GetManagedPrefixListAssociations.go +++ b/service/ec2/api_op_GetManagedPrefixListAssociations.go @@ -130,9 +130,6 @@ func (c *Client) addOperationGetManagedPrefixListAssociationsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetManagedPrefixListAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetManagedPrefixListEntries.go b/service/ec2/api_op_GetManagedPrefixListEntries.go index b9e52a38281..6fb3a857ed6 100644 --- a/service/ec2/api_op_GetManagedPrefixListEntries.go +++ b/service/ec2/api_op_GetManagedPrefixListEntries.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetManagedPrefixListEntriesMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetManagedPrefixListEntriesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetNetworkInsightsAccessScopeAnalysisFindings.go b/service/ec2/api_op_GetNetworkInsightsAccessScopeAnalysisFindings.go index 28a2226112f..7477f407aff 100644 --- a/service/ec2/api_op_GetNetworkInsightsAccessScopeAnalysisFindings.go +++ b/service/ec2/api_op_GetNetworkInsightsAccessScopeAnalysisFindings.go @@ -135,9 +135,6 @@ func (c *Client) addOperationGetNetworkInsightsAccessScopeAnalysisFindingsMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetNetworkInsightsAccessScopeAnalysisFindingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetNetworkInsightsAccessScopeContent.go b/service/ec2/api_op_GetNetworkInsightsAccessScopeContent.go index c191bd80c87..086e843600b 100644 --- a/service/ec2/api_op_GetNetworkInsightsAccessScopeContent.go +++ b/service/ec2/api_op_GetNetworkInsightsAccessScopeContent.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetNetworkInsightsAccessScopeContentMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetNetworkInsightsAccessScopeContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetPasswordData.go b/service/ec2/api_op_GetPasswordData.go index 9941ceda82b..605f30c1abe 100644 --- a/service/ec2/api_op_GetPasswordData.go +++ b/service/ec2/api_op_GetPasswordData.go @@ -147,9 +147,6 @@ func (c *Client) addOperationGetPasswordDataMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPasswordDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetReservedInstancesExchangeQuote.go b/service/ec2/api_op_GetReservedInstancesExchangeQuote.go index f259cc0db49..6917863157f 100644 --- a/service/ec2/api_op_GetReservedInstancesExchangeQuote.go +++ b/service/ec2/api_op_GetReservedInstancesExchangeQuote.go @@ -152,9 +152,6 @@ func (c *Client) addOperationGetReservedInstancesExchangeQuoteMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetReservedInstancesExchangeQuoteValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetSecurityGroupsForVpc.go b/service/ec2/api_op_GetSecurityGroupsForVpc.go index 75d065c35bc..3c23c148844 100644 --- a/service/ec2/api_op_GetSecurityGroupsForVpc.go +++ b/service/ec2/api_op_GetSecurityGroupsForVpc.go @@ -148,9 +148,6 @@ func (c *Client) addOperationGetSecurityGroupsForVpcMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSecurityGroupsForVpcValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetSerialConsoleAccessStatus.go b/service/ec2/api_op_GetSerialConsoleAccessStatus.go index 763d9761819..765a5a1ae9b 100644 --- a/service/ec2/api_op_GetSerialConsoleAccessStatus.go +++ b/service/ec2/api_op_GetSerialConsoleAccessStatus.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetSerialConsoleAccessStatusMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSerialConsoleAccessStatus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_GetSnapshotBlockPublicAccessState.go b/service/ec2/api_op_GetSnapshotBlockPublicAccessState.go index e30b96096b9..bc8b028519a 100644 --- a/service/ec2/api_op_GetSnapshotBlockPublicAccessState.go +++ b/service/ec2/api_op_GetSnapshotBlockPublicAccessState.go @@ -138,9 +138,6 @@ func (c *Client) addOperationGetSnapshotBlockPublicAccessStateMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSnapshotBlockPublicAccessState(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_GetSpotPlacementScores.go b/service/ec2/api_op_GetSpotPlacementScores.go index 053b67154ec..089fb48620f 100644 --- a/service/ec2/api_op_GetSpotPlacementScores.go +++ b/service/ec2/api_op_GetSpotPlacementScores.go @@ -190,9 +190,6 @@ func (c *Client) addOperationGetSpotPlacementScoresMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSpotPlacementScoresValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetSubnetCidrReservations.go b/service/ec2/api_op_GetSubnetCidrReservations.go index 3d9822ec7af..df5f70d7534 100644 --- a/service/ec2/api_op_GetSubnetCidrReservations.go +++ b/service/ec2/api_op_GetSubnetCidrReservations.go @@ -147,9 +147,6 @@ func (c *Client) addOperationGetSubnetCidrReservationsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSubnetCidrReservationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetTransitGatewayAttachmentPropagations.go b/service/ec2/api_op_GetTransitGatewayAttachmentPropagations.go index 96f7ca3cdcc..d77a84f6948 100644 --- a/service/ec2/api_op_GetTransitGatewayAttachmentPropagations.go +++ b/service/ec2/api_op_GetTransitGatewayAttachmentPropagations.go @@ -135,9 +135,6 @@ func (c *Client) addOperationGetTransitGatewayAttachmentPropagationsMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTransitGatewayAttachmentPropagationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetTransitGatewayMulticastDomainAssociations.go b/service/ec2/api_op_GetTransitGatewayMulticastDomainAssociations.go index 7ad4876cb38..da8a47d17e4 100644 --- a/service/ec2/api_op_GetTransitGatewayMulticastDomainAssociations.go +++ b/service/ec2/api_op_GetTransitGatewayMulticastDomainAssociations.go @@ -144,9 +144,6 @@ func (c *Client) addOperationGetTransitGatewayMulticastDomainAssociationsMiddlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTransitGatewayMulticastDomainAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetTransitGatewayPolicyTableAssociations.go b/service/ec2/api_op_GetTransitGatewayPolicyTableAssociations.go index 17f7b879043..c434418d2c2 100644 --- a/service/ec2/api_op_GetTransitGatewayPolicyTableAssociations.go +++ b/service/ec2/api_op_GetTransitGatewayPolicyTableAssociations.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetTransitGatewayPolicyTableAssociationsMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTransitGatewayPolicyTableAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetTransitGatewayPolicyTableEntries.go b/service/ec2/api_op_GetTransitGatewayPolicyTableEntries.go index ae1130e8cf3..fd6fd8a3963 100644 --- a/service/ec2/api_op_GetTransitGatewayPolicyTableEntries.go +++ b/service/ec2/api_op_GetTransitGatewayPolicyTableEntries.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetTransitGatewayPolicyTableEntriesMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTransitGatewayPolicyTableEntriesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetTransitGatewayPrefixListReferences.go b/service/ec2/api_op_GetTransitGatewayPrefixListReferences.go index cbd83aacfe1..a210cf04f69 100644 --- a/service/ec2/api_op_GetTransitGatewayPrefixListReferences.go +++ b/service/ec2/api_op_GetTransitGatewayPrefixListReferences.go @@ -150,9 +150,6 @@ func (c *Client) addOperationGetTransitGatewayPrefixListReferencesMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTransitGatewayPrefixListReferencesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetTransitGatewayRouteTableAssociations.go b/service/ec2/api_op_GetTransitGatewayRouteTableAssociations.go index d3fea7c8c18..6c12d186d06 100644 --- a/service/ec2/api_op_GetTransitGatewayRouteTableAssociations.go +++ b/service/ec2/api_op_GetTransitGatewayRouteTableAssociations.go @@ -140,9 +140,6 @@ func (c *Client) addOperationGetTransitGatewayRouteTableAssociationsMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTransitGatewayRouteTableAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetTransitGatewayRouteTablePropagations.go b/service/ec2/api_op_GetTransitGatewayRouteTablePropagations.go index f8cf786a3fd..737cab399f1 100644 --- a/service/ec2/api_op_GetTransitGatewayRouteTablePropagations.go +++ b/service/ec2/api_op_GetTransitGatewayRouteTablePropagations.go @@ -140,9 +140,6 @@ func (c *Client) addOperationGetTransitGatewayRouteTablePropagationsMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTransitGatewayRouteTablePropagationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetVerifiedAccessEndpointPolicy.go b/service/ec2/api_op_GetVerifiedAccessEndpointPolicy.go index fb46192f833..4eba6ac15ed 100644 --- a/service/ec2/api_op_GetVerifiedAccessEndpointPolicy.go +++ b/service/ec2/api_op_GetVerifiedAccessEndpointPolicy.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetVerifiedAccessEndpointPolicyMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVerifiedAccessEndpointPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetVerifiedAccessEndpointTargets.go b/service/ec2/api_op_GetVerifiedAccessEndpointTargets.go index eabdea908da..28b3ee1f6f6 100644 --- a/service/ec2/api_op_GetVerifiedAccessEndpointTargets.go +++ b/service/ec2/api_op_GetVerifiedAccessEndpointTargets.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGetVerifiedAccessEndpointTargetsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVerifiedAccessEndpointTargetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetVerifiedAccessGroupPolicy.go b/service/ec2/api_op_GetVerifiedAccessGroupPolicy.go index eb2bca1d5d1..efc63af8d65 100644 --- a/service/ec2/api_op_GetVerifiedAccessGroupPolicy.go +++ b/service/ec2/api_op_GetVerifiedAccessGroupPolicy.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetVerifiedAccessGroupPolicyMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVerifiedAccessGroupPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetVpnConnectionDeviceSampleConfiguration.go b/service/ec2/api_op_GetVpnConnectionDeviceSampleConfiguration.go index f715998b1f1..4c5dfcff995 100644 --- a/service/ec2/api_op_GetVpnConnectionDeviceSampleConfiguration.go +++ b/service/ec2/api_op_GetVpnConnectionDeviceSampleConfiguration.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetVpnConnectionDeviceSampleConfigurationMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVpnConnectionDeviceSampleConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_GetVpnConnectionDeviceTypes.go b/service/ec2/api_op_GetVpnConnectionDeviceTypes.go index 8212f0c2144..42e011d58bd 100644 --- a/service/ec2/api_op_GetVpnConnectionDeviceTypes.go +++ b/service/ec2/api_op_GetVpnConnectionDeviceTypes.go @@ -141,9 +141,6 @@ func (c *Client) addOperationGetVpnConnectionDeviceTypesMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVpnConnectionDeviceTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_GetVpnTunnelReplacementStatus.go b/service/ec2/api_op_GetVpnTunnelReplacementStatus.go index a55e3d9b438..80ec3c8691e 100644 --- a/service/ec2/api_op_GetVpnTunnelReplacementStatus.go +++ b/service/ec2/api_op_GetVpnTunnelReplacementStatus.go @@ -138,9 +138,6 @@ func (c *Client) addOperationGetVpnTunnelReplacementStatusMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVpnTunnelReplacementStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ImportClientVpnClientCertificateRevocationList.go b/service/ec2/api_op_ImportClientVpnClientCertificateRevocationList.go index f5ff8033dc7..007da9f71e9 100644 --- a/service/ec2/api_op_ImportClientVpnClientCertificateRevocationList.go +++ b/service/ec2/api_op_ImportClientVpnClientCertificateRevocationList.go @@ -131,9 +131,6 @@ func (c *Client) addOperationImportClientVpnClientCertificateRevocationListMiddl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportClientVpnClientCertificateRevocationListValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ImportImage.go b/service/ec2/api_op_ImportImage.go index 92bb8b38a70..999dcbed7b1 100644 --- a/service/ec2/api_op_ImportImage.go +++ b/service/ec2/api_op_ImportImage.go @@ -280,9 +280,6 @@ func (c *Client) addOperationImportImageMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportImage(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_ImportInstance.go b/service/ec2/api_op_ImportInstance.go index 2f95e914000..596353d40a0 100644 --- a/service/ec2/api_op_ImportInstance.go +++ b/service/ec2/api_op_ImportInstance.go @@ -141,9 +141,6 @@ func (c *Client) addOperationImportInstanceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ImportKeyPair.go b/service/ec2/api_op_ImportKeyPair.go index aa86e10131e..36b15cb491a 100644 --- a/service/ec2/api_op_ImportKeyPair.go +++ b/service/ec2/api_op_ImportKeyPair.go @@ -148,9 +148,6 @@ func (c *Client) addOperationImportKeyPairMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportKeyPairValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ImportSnapshot.go b/service/ec2/api_op_ImportSnapshot.go index f2219bf8807..5d06aed1300 100644 --- a/service/ec2/api_op_ImportSnapshot.go +++ b/service/ec2/api_op_ImportSnapshot.go @@ -183,9 +183,6 @@ func (c *Client) addOperationImportSnapshotMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportSnapshot(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_ImportVolume.go b/service/ec2/api_op_ImportVolume.go index a079c4f9589..bd688e6af62 100644 --- a/service/ec2/api_op_ImportVolume.go +++ b/service/ec2/api_op_ImportVolume.go @@ -140,9 +140,6 @@ func (c *Client) addOperationImportVolumeMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportVolumeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ListImagesInRecycleBin.go b/service/ec2/api_op_ListImagesInRecycleBin.go index 274d87e22dc..521ccbc4479 100644 --- a/service/ec2/api_op_ListImagesInRecycleBin.go +++ b/service/ec2/api_op_ListImagesInRecycleBin.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListImagesInRecycleBinMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImagesInRecycleBin(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_ListSnapshotsInRecycleBin.go b/service/ec2/api_op_ListSnapshotsInRecycleBin.go index 34fc82851a5..71ad9989fc3 100644 --- a/service/ec2/api_op_ListSnapshotsInRecycleBin.go +++ b/service/ec2/api_op_ListSnapshotsInRecycleBin.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListSnapshotsInRecycleBinMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSnapshotsInRecycleBin(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_LockSnapshot.go b/service/ec2/api_op_LockSnapshot.go index 682fe3e193b..8dad179491c 100644 --- a/service/ec2/api_op_LockSnapshot.go +++ b/service/ec2/api_op_LockSnapshot.go @@ -236,9 +236,6 @@ func (c *Client) addOperationLockSnapshotMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpLockSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyAddressAttribute.go b/service/ec2/api_op_ModifyAddressAttribute.go index 84f8863e151..45ceba40641 100644 --- a/service/ec2/api_op_ModifyAddressAttribute.go +++ b/service/ec2/api_op_ModifyAddressAttribute.go @@ -124,9 +124,6 @@ func (c *Client) addOperationModifyAddressAttributeMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyAddressAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyAvailabilityZoneGroup.go b/service/ec2/api_op_ModifyAvailabilityZoneGroup.go index afb33c524f0..dbb97a73b2c 100644 --- a/service/ec2/api_op_ModifyAvailabilityZoneGroup.go +++ b/service/ec2/api_op_ModifyAvailabilityZoneGroup.go @@ -126,9 +126,6 @@ func (c *Client) addOperationModifyAvailabilityZoneGroupMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyAvailabilityZoneGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyCapacityReservation.go b/service/ec2/api_op_ModifyCapacityReservation.go index b0087674bd9..8a90bd9fbaa 100644 --- a/service/ec2/api_op_ModifyCapacityReservation.go +++ b/service/ec2/api_op_ModifyCapacityReservation.go @@ -186,9 +186,6 @@ func (c *Client) addOperationModifyCapacityReservationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyCapacityReservationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyCapacityReservationFleet.go b/service/ec2/api_op_ModifyCapacityReservationFleet.go index 76bc192a80b..e6214acd36a 100644 --- a/service/ec2/api_op_ModifyCapacityReservationFleet.go +++ b/service/ec2/api_op_ModifyCapacityReservationFleet.go @@ -152,9 +152,6 @@ func (c *Client) addOperationModifyCapacityReservationFleetMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyCapacityReservationFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyClientVpnEndpoint.go b/service/ec2/api_op_ModifyClientVpnEndpoint.go index edb57da4930..d928a0ca683 100644 --- a/service/ec2/api_op_ModifyClientVpnEndpoint.go +++ b/service/ec2/api_op_ModifyClientVpnEndpoint.go @@ -188,9 +188,6 @@ func (c *Client) addOperationModifyClientVpnEndpointMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyClientVpnEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyDefaultCreditSpecification.go b/service/ec2/api_op_ModifyDefaultCreditSpecification.go index a422898f62a..08f8237833e 100644 --- a/service/ec2/api_op_ModifyDefaultCreditSpecification.go +++ b/service/ec2/api_op_ModifyDefaultCreditSpecification.go @@ -140,9 +140,6 @@ func (c *Client) addOperationModifyDefaultCreditSpecificationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyDefaultCreditSpecificationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyEbsDefaultKmsKeyId.go b/service/ec2/api_op_ModifyEbsDefaultKmsKeyId.go index 62ef2035d6f..3fdf54c955d 100644 --- a/service/ec2/api_op_ModifyEbsDefaultKmsKeyId.go +++ b/service/ec2/api_op_ModifyEbsDefaultKmsKeyId.go @@ -152,9 +152,6 @@ func (c *Client) addOperationModifyEbsDefaultKmsKeyIdMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyEbsDefaultKmsKeyIdValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyFleet.go b/service/ec2/api_op_ModifyFleet.go index 04e733958c4..c5d52869c23 100644 --- a/service/ec2/api_op_ModifyFleet.go +++ b/service/ec2/api_op_ModifyFleet.go @@ -163,9 +163,6 @@ func (c *Client) addOperationModifyFleetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyFpgaImageAttribute.go b/service/ec2/api_op_ModifyFpgaImageAttribute.go index b7b7d01d0fe..de44a815d1e 100644 --- a/service/ec2/api_op_ModifyFpgaImageAttribute.go +++ b/service/ec2/api_op_ModifyFpgaImageAttribute.go @@ -145,9 +145,6 @@ func (c *Client) addOperationModifyFpgaImageAttributeMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyFpgaImageAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyHosts.go b/service/ec2/api_op_ModifyHosts.go index db9e7e60a3a..06d20ca5d5b 100644 --- a/service/ec2/api_op_ModifyHosts.go +++ b/service/ec2/api_op_ModifyHosts.go @@ -158,9 +158,6 @@ func (c *Client) addOperationModifyHostsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyHostsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyIdFormat.go b/service/ec2/api_op_ModifyIdFormat.go index 671b64a910f..e21bc683e18 100644 --- a/service/ec2/api_op_ModifyIdFormat.go +++ b/service/ec2/api_op_ModifyIdFormat.go @@ -146,9 +146,6 @@ func (c *Client) addOperationModifyIdFormatMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyIdFormatValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyIdentityIdFormat.go b/service/ec2/api_op_ModifyIdentityIdFormat.go index 62072ad52a3..3e2ee06bc3f 100644 --- a/service/ec2/api_op_ModifyIdentityIdFormat.go +++ b/service/ec2/api_op_ModifyIdentityIdFormat.go @@ -152,9 +152,6 @@ func (c *Client) addOperationModifyIdentityIdFormatMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyIdentityIdFormatValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyImageAttribute.go b/service/ec2/api_op_ModifyImageAttribute.go index 3f92bf30c9b..c032ec98446 100644 --- a/service/ec2/api_op_ModifyImageAttribute.go +++ b/service/ec2/api_op_ModifyImageAttribute.go @@ -176,9 +176,6 @@ func (c *Client) addOperationModifyImageAttributeMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyImageAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyInstanceAttribute.go b/service/ec2/api_op_ModifyInstanceAttribute.go index 82ef5266491..f57cfa1ad35 100644 --- a/service/ec2/api_op_ModifyInstanceAttribute.go +++ b/service/ec2/api_op_ModifyInstanceAttribute.go @@ -228,9 +228,6 @@ func (c *Client) addOperationModifyInstanceAttributeMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyInstanceAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyInstanceCapacityReservationAttributes.go b/service/ec2/api_op_ModifyInstanceCapacityReservationAttributes.go index 58ab3247e2e..03b0dd7a131 100644 --- a/service/ec2/api_op_ModifyInstanceCapacityReservationAttributes.go +++ b/service/ec2/api_op_ModifyInstanceCapacityReservationAttributes.go @@ -126,9 +126,6 @@ func (c *Client) addOperationModifyInstanceCapacityReservationAttributesMiddlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyInstanceCapacityReservationAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyInstanceCpuOptions.go b/service/ec2/api_op_ModifyInstanceCpuOptions.go index b5344013c14..bd73d7904e9 100644 --- a/service/ec2/api_op_ModifyInstanceCpuOptions.go +++ b/service/ec2/api_op_ModifyInstanceCpuOptions.go @@ -147,9 +147,6 @@ func (c *Client) addOperationModifyInstanceCpuOptionsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyInstanceCpuOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyInstanceCreditSpecification.go b/service/ec2/api_op_ModifyInstanceCreditSpecification.go index 37d2ef4beba..454fdbea0a8 100644 --- a/service/ec2/api_op_ModifyInstanceCreditSpecification.go +++ b/service/ec2/api_op_ModifyInstanceCreditSpecification.go @@ -134,9 +134,6 @@ func (c *Client) addOperationModifyInstanceCreditSpecificationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyInstanceCreditSpecificationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyInstanceEventStartTime.go b/service/ec2/api_op_ModifyInstanceEventStartTime.go index 448cd409b56..2ee34b2394a 100644 --- a/service/ec2/api_op_ModifyInstanceEventStartTime.go +++ b/service/ec2/api_op_ModifyInstanceEventStartTime.go @@ -129,9 +129,6 @@ func (c *Client) addOperationModifyInstanceEventStartTimeMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyInstanceEventStartTimeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyInstanceEventWindow.go b/service/ec2/api_op_ModifyInstanceEventWindow.go index 7bf3386baf6..dd1c903a4bb 100644 --- a/service/ec2/api_op_ModifyInstanceEventWindow.go +++ b/service/ec2/api_op_ModifyInstanceEventWindow.go @@ -160,9 +160,6 @@ func (c *Client) addOperationModifyInstanceEventWindowMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyInstanceEventWindowValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyInstanceMaintenanceOptions.go b/service/ec2/api_op_ModifyInstanceMaintenanceOptions.go index 907c0cd1d7f..778d6de2417 100644 --- a/service/ec2/api_op_ModifyInstanceMaintenanceOptions.go +++ b/service/ec2/api_op_ModifyInstanceMaintenanceOptions.go @@ -130,9 +130,6 @@ func (c *Client) addOperationModifyInstanceMaintenanceOptionsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyInstanceMaintenanceOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyInstanceMetadataDefaults.go b/service/ec2/api_op_ModifyInstanceMetadataDefaults.go index a1b3e5b75c2..9ed51b509e8 100644 --- a/service/ec2/api_op_ModifyInstanceMetadataDefaults.go +++ b/service/ec2/api_op_ModifyInstanceMetadataDefaults.go @@ -147,9 +147,6 @@ func (c *Client) addOperationModifyInstanceMetadataDefaultsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyInstanceMetadataDefaults(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_ModifyInstanceMetadataOptions.go b/service/ec2/api_op_ModifyInstanceMetadataOptions.go index 476a09559a2..e0ce9b349db 100644 --- a/service/ec2/api_op_ModifyInstanceMetadataOptions.go +++ b/service/ec2/api_op_ModifyInstanceMetadataOptions.go @@ -182,9 +182,6 @@ func (c *Client) addOperationModifyInstanceMetadataOptionsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyInstanceMetadataOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyInstanceNetworkPerformanceOptions.go b/service/ec2/api_op_ModifyInstanceNetworkPerformanceOptions.go index 91ae753ce2b..ac61ba9e742 100644 --- a/service/ec2/api_op_ModifyInstanceNetworkPerformanceOptions.go +++ b/service/ec2/api_op_ModifyInstanceNetworkPerformanceOptions.go @@ -138,9 +138,6 @@ func (c *Client) addOperationModifyInstanceNetworkPerformanceOptionsMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyInstanceNetworkPerformanceOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyInstancePlacement.go b/service/ec2/api_op_ModifyInstancePlacement.go index 54db51f3626..cdcd149183f 100644 --- a/service/ec2/api_op_ModifyInstancePlacement.go +++ b/service/ec2/api_op_ModifyInstancePlacement.go @@ -171,9 +171,6 @@ func (c *Client) addOperationModifyInstancePlacementMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyInstancePlacementValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyIpam.go b/service/ec2/api_op_ModifyIpam.go index b03b8f4cc8f..e3eb789b2e9 100644 --- a/service/ec2/api_op_ModifyIpam.go +++ b/service/ec2/api_op_ModifyIpam.go @@ -146,9 +146,6 @@ func (c *Client) addOperationModifyIpamMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyIpamValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyIpamPool.go b/service/ec2/api_op_ModifyIpamPool.go index 438d0e61a76..24d0d0f3a90 100644 --- a/service/ec2/api_op_ModifyIpamPool.go +++ b/service/ec2/api_op_ModifyIpamPool.go @@ -167,9 +167,6 @@ func (c *Client) addOperationModifyIpamPoolMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyIpamPoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyIpamResourceCidr.go b/service/ec2/api_op_ModifyIpamResourceCidr.go index 87d45f4fbad..f2294e06255 100644 --- a/service/ec2/api_op_ModifyIpamResourceCidr.go +++ b/service/ec2/api_op_ModifyIpamResourceCidr.go @@ -152,9 +152,6 @@ func (c *Client) addOperationModifyIpamResourceCidrMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyIpamResourceCidrValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyIpamResourceDiscovery.go b/service/ec2/api_op_ModifyIpamResourceDiscovery.go index d124fb84dae..ebaaaccf5c1 100644 --- a/service/ec2/api_op_ModifyIpamResourceDiscovery.go +++ b/service/ec2/api_op_ModifyIpamResourceDiscovery.go @@ -161,9 +161,6 @@ func (c *Client) addOperationModifyIpamResourceDiscoveryMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyIpamResourceDiscoveryValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyIpamScope.go b/service/ec2/api_op_ModifyIpamScope.go index c47c242d7d0..7932f95d199 100644 --- a/service/ec2/api_op_ModifyIpamScope.go +++ b/service/ec2/api_op_ModifyIpamScope.go @@ -121,9 +121,6 @@ func (c *Client) addOperationModifyIpamScopeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyIpamScopeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyLaunchTemplate.go b/service/ec2/api_op_ModifyLaunchTemplate.go index 6b140224f54..32b37a4fd26 100644 --- a/service/ec2/api_op_ModifyLaunchTemplate.go +++ b/service/ec2/api_op_ModifyLaunchTemplate.go @@ -138,9 +138,6 @@ func (c *Client) addOperationModifyLaunchTemplateMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyLaunchTemplate(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_ModifyLocalGatewayRoute.go b/service/ec2/api_op_ModifyLocalGatewayRoute.go index f4c0ea68891..02f1fcb9639 100644 --- a/service/ec2/api_op_ModifyLocalGatewayRoute.go +++ b/service/ec2/api_op_ModifyLocalGatewayRoute.go @@ -133,9 +133,6 @@ func (c *Client) addOperationModifyLocalGatewayRouteMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyLocalGatewayRouteValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyManagedPrefixList.go b/service/ec2/api_op_ModifyManagedPrefixList.go index e732a83aeed..7b8c3c437b8 100644 --- a/service/ec2/api_op_ModifyManagedPrefixList.go +++ b/service/ec2/api_op_ModifyManagedPrefixList.go @@ -144,9 +144,6 @@ func (c *Client) addOperationModifyManagedPrefixListMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyManagedPrefixListValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyNetworkInterfaceAttribute.go b/service/ec2/api_op_ModifyNetworkInterfaceAttribute.go index c5567e0ddb5..781088d44a1 100644 --- a/service/ec2/api_op_ModifyNetworkInterfaceAttribute.go +++ b/service/ec2/api_op_ModifyNetworkInterfaceAttribute.go @@ -165,9 +165,6 @@ func (c *Client) addOperationModifyNetworkInterfaceAttributeMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyNetworkInterfaceAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyPrivateDnsNameOptions.go b/service/ec2/api_op_ModifyPrivateDnsNameOptions.go index db6750b8640..8a11ad10101 100644 --- a/service/ec2/api_op_ModifyPrivateDnsNameOptions.go +++ b/service/ec2/api_op_ModifyPrivateDnsNameOptions.go @@ -132,9 +132,6 @@ func (c *Client) addOperationModifyPrivateDnsNameOptionsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyPrivateDnsNameOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyReservedInstances.go b/service/ec2/api_op_ModifyReservedInstances.go index baa6b3a3c60..31394a9492c 100644 --- a/service/ec2/api_op_ModifyReservedInstances.go +++ b/service/ec2/api_op_ModifyReservedInstances.go @@ -132,9 +132,6 @@ func (c *Client) addOperationModifyReservedInstancesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyReservedInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifySecurityGroupRules.go b/service/ec2/api_op_ModifySecurityGroupRules.go index 6fdcf6bf4dd..573062da6ff 100644 --- a/service/ec2/api_op_ModifySecurityGroupRules.go +++ b/service/ec2/api_op_ModifySecurityGroupRules.go @@ -123,9 +123,6 @@ func (c *Client) addOperationModifySecurityGroupRulesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifySecurityGroupRulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifySnapshotAttribute.go b/service/ec2/api_op_ModifySnapshotAttribute.go index 7859686eb69..2fb1b8720c7 100644 --- a/service/ec2/api_op_ModifySnapshotAttribute.go +++ b/service/ec2/api_op_ModifySnapshotAttribute.go @@ -144,9 +144,6 @@ func (c *Client) addOperationModifySnapshotAttributeMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifySnapshotAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifySnapshotTier.go b/service/ec2/api_op_ModifySnapshotTier.go index f7a5638abd6..0cfab02bba8 100644 --- a/service/ec2/api_op_ModifySnapshotTier.go +++ b/service/ec2/api_op_ModifySnapshotTier.go @@ -131,9 +131,6 @@ func (c *Client) addOperationModifySnapshotTierMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifySnapshotTierValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifySpotFleetRequest.go b/service/ec2/api_op_ModifySpotFleetRequest.go index ade6b27e1b8..4fde83d9697 100644 --- a/service/ec2/api_op_ModifySpotFleetRequest.go +++ b/service/ec2/api_op_ModifySpotFleetRequest.go @@ -165,9 +165,6 @@ func (c *Client) addOperationModifySpotFleetRequestMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifySpotFleetRequestValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifySubnetAttribute.go b/service/ec2/api_op_ModifySubnetAttribute.go index 084623a55cf..1a7fd685c22 100644 --- a/service/ec2/api_op_ModifySubnetAttribute.go +++ b/service/ec2/api_op_ModifySubnetAttribute.go @@ -193,9 +193,6 @@ func (c *Client) addOperationModifySubnetAttributeMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifySubnetAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyTrafficMirrorFilterNetworkServices.go b/service/ec2/api_op_ModifyTrafficMirrorFilterNetworkServices.go index 0b0aff75a41..2e0436a2c24 100644 --- a/service/ec2/api_op_ModifyTrafficMirrorFilterNetworkServices.go +++ b/service/ec2/api_op_ModifyTrafficMirrorFilterNetworkServices.go @@ -131,9 +131,6 @@ func (c *Client) addOperationModifyTrafficMirrorFilterNetworkServicesMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyTrafficMirrorFilterNetworkServicesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyTrafficMirrorFilterRule.go b/service/ec2/api_op_ModifyTrafficMirrorFilterRule.go index d53823b5914..038a761eec1 100644 --- a/service/ec2/api_op_ModifyTrafficMirrorFilterRule.go +++ b/service/ec2/api_op_ModifyTrafficMirrorFilterRule.go @@ -158,9 +158,6 @@ func (c *Client) addOperationModifyTrafficMirrorFilterRuleMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyTrafficMirrorFilterRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyTrafficMirrorSession.go b/service/ec2/api_op_ModifyTrafficMirrorSession.go index 42dc53e1949..9034a949d9d 100644 --- a/service/ec2/api_op_ModifyTrafficMirrorSession.go +++ b/service/ec2/api_op_ModifyTrafficMirrorSession.go @@ -155,9 +155,6 @@ func (c *Client) addOperationModifyTrafficMirrorSessionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyTrafficMirrorSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyTransitGateway.go b/service/ec2/api_op_ModifyTransitGateway.go index 60e23b5cf21..b8691ecc840 100644 --- a/service/ec2/api_op_ModifyTransitGateway.go +++ b/service/ec2/api_op_ModifyTransitGateway.go @@ -126,9 +126,6 @@ func (c *Client) addOperationModifyTransitGatewayMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyTransitGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyTransitGatewayPrefixListReference.go b/service/ec2/api_op_ModifyTransitGatewayPrefixListReference.go index 9e4ea672b99..b7f3d88eba8 100644 --- a/service/ec2/api_op_ModifyTransitGatewayPrefixListReference.go +++ b/service/ec2/api_op_ModifyTransitGatewayPrefixListReference.go @@ -130,9 +130,6 @@ func (c *Client) addOperationModifyTransitGatewayPrefixListReferenceMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyTransitGatewayPrefixListReferenceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyTransitGatewayVpcAttachment.go b/service/ec2/api_op_ModifyTransitGatewayVpcAttachment.go index 47cb7f65422..3a53e67e222 100644 --- a/service/ec2/api_op_ModifyTransitGatewayVpcAttachment.go +++ b/service/ec2/api_op_ModifyTransitGatewayVpcAttachment.go @@ -128,9 +128,6 @@ func (c *Client) addOperationModifyTransitGatewayVpcAttachmentMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyTransitGatewayVpcAttachmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVerifiedAccessEndpoint.go b/service/ec2/api_op_ModifyVerifiedAccessEndpoint.go index 5e55777e424..4cc8409fde5 100644 --- a/service/ec2/api_op_ModifyVerifiedAccessEndpoint.go +++ b/service/ec2/api_op_ModifyVerifiedAccessEndpoint.go @@ -144,9 +144,6 @@ func (c *Client) addOperationModifyVerifiedAccessEndpointMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opModifyVerifiedAccessEndpointMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVerifiedAccessEndpointPolicy.go b/service/ec2/api_op_ModifyVerifiedAccessEndpointPolicy.go index 28d75f54dc2..db9b02b7144 100644 --- a/service/ec2/api_op_ModifyVerifiedAccessEndpointPolicy.go +++ b/service/ec2/api_op_ModifyVerifiedAccessEndpointPolicy.go @@ -139,9 +139,6 @@ func (c *Client) addOperationModifyVerifiedAccessEndpointPolicyMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opModifyVerifiedAccessEndpointPolicyMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVerifiedAccessGroup.go b/service/ec2/api_op_ModifyVerifiedAccessGroup.go index 36eb30823ec..5f0aea23f07 100644 --- a/service/ec2/api_op_ModifyVerifiedAccessGroup.go +++ b/service/ec2/api_op_ModifyVerifiedAccessGroup.go @@ -130,9 +130,6 @@ func (c *Client) addOperationModifyVerifiedAccessGroupMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opModifyVerifiedAccessGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVerifiedAccessGroupPolicy.go b/service/ec2/api_op_ModifyVerifiedAccessGroupPolicy.go index 2b9352893bf..fb4946df883 100644 --- a/service/ec2/api_op_ModifyVerifiedAccessGroupPolicy.go +++ b/service/ec2/api_op_ModifyVerifiedAccessGroupPolicy.go @@ -139,9 +139,6 @@ func (c *Client) addOperationModifyVerifiedAccessGroupPolicyMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opModifyVerifiedAccessGroupPolicyMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVerifiedAccessInstance.go b/service/ec2/api_op_ModifyVerifiedAccessInstance.go index 492d54e4e16..dee0aec042c 100644 --- a/service/ec2/api_op_ModifyVerifiedAccessInstance.go +++ b/service/ec2/api_op_ModifyVerifiedAccessInstance.go @@ -131,9 +131,6 @@ func (c *Client) addOperationModifyVerifiedAccessInstanceMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opModifyVerifiedAccessInstanceMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVerifiedAccessInstanceLoggingConfiguration.go b/service/ec2/api_op_ModifyVerifiedAccessInstanceLoggingConfiguration.go index ca23d8f2e29..f7b602cb175 100644 --- a/service/ec2/api_op_ModifyVerifiedAccessInstanceLoggingConfiguration.go +++ b/service/ec2/api_op_ModifyVerifiedAccessInstanceLoggingConfiguration.go @@ -130,9 +130,6 @@ func (c *Client) addOperationModifyVerifiedAccessInstanceLoggingConfigurationMid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opModifyVerifiedAccessInstanceLoggingConfigurationMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVerifiedAccessTrustProvider.go b/service/ec2/api_op_ModifyVerifiedAccessTrustProvider.go index 5e8be30d62c..097a1155eef 100644 --- a/service/ec2/api_op_ModifyVerifiedAccessTrustProvider.go +++ b/service/ec2/api_op_ModifyVerifiedAccessTrustProvider.go @@ -141,9 +141,6 @@ func (c *Client) addOperationModifyVerifiedAccessTrustProviderMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opModifyVerifiedAccessTrustProviderMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVolume.go b/service/ec2/api_op_ModifyVolume.go index ce905f1fa7b..ae361c532e7 100644 --- a/service/ec2/api_op_ModifyVolume.go +++ b/service/ec2/api_op_ModifyVolume.go @@ -203,9 +203,6 @@ func (c *Client) addOperationModifyVolumeMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyVolumeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVolumeAttribute.go b/service/ec2/api_op_ModifyVolumeAttribute.go index c15a08d1228..dc35ff31b45 100644 --- a/service/ec2/api_op_ModifyVolumeAttribute.go +++ b/service/ec2/api_op_ModifyVolumeAttribute.go @@ -127,9 +127,6 @@ func (c *Client) addOperationModifyVolumeAttributeMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyVolumeAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVpcAttribute.go b/service/ec2/api_op_ModifyVpcAttribute.go index d75e7d11673..30be990ccd6 100644 --- a/service/ec2/api_op_ModifyVpcAttribute.go +++ b/service/ec2/api_op_ModifyVpcAttribute.go @@ -129,9 +129,6 @@ func (c *Client) addOperationModifyVpcAttributeMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyVpcAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVpcBlockPublicAccessExclusion.go b/service/ec2/api_op_ModifyVpcBlockPublicAccessExclusion.go index b70c3f466a5..cc2a26f74a4 100644 --- a/service/ec2/api_op_ModifyVpcBlockPublicAccessExclusion.go +++ b/service/ec2/api_op_ModifyVpcBlockPublicAccessExclusion.go @@ -135,9 +135,6 @@ func (c *Client) addOperationModifyVpcBlockPublicAccessExclusionMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyVpcBlockPublicAccessExclusionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVpcBlockPublicAccessOptions.go b/service/ec2/api_op_ModifyVpcBlockPublicAccessOptions.go index 0bfd6b6f692..2202604bd0e 100644 --- a/service/ec2/api_op_ModifyVpcBlockPublicAccessOptions.go +++ b/service/ec2/api_op_ModifyVpcBlockPublicAccessOptions.go @@ -136,9 +136,6 @@ func (c *Client) addOperationModifyVpcBlockPublicAccessOptionsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyVpcBlockPublicAccessOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVpcEndpoint.go b/service/ec2/api_op_ModifyVpcEndpoint.go index 19f7830087a..7d7d357e216 100644 --- a/service/ec2/api_op_ModifyVpcEndpoint.go +++ b/service/ec2/api_op_ModifyVpcEndpoint.go @@ -166,9 +166,6 @@ func (c *Client) addOperationModifyVpcEndpointMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyVpcEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVpcEndpointConnectionNotification.go b/service/ec2/api_op_ModifyVpcEndpointConnectionNotification.go index 34ad3295967..88442f49e35 100644 --- a/service/ec2/api_op_ModifyVpcEndpointConnectionNotification.go +++ b/service/ec2/api_op_ModifyVpcEndpointConnectionNotification.go @@ -126,9 +126,6 @@ func (c *Client) addOperationModifyVpcEndpointConnectionNotificationMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyVpcEndpointConnectionNotificationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVpcEndpointServiceConfiguration.go b/service/ec2/api_op_ModifyVpcEndpointServiceConfiguration.go index f47c1d0db46..addbaadd3e8 100644 --- a/service/ec2/api_op_ModifyVpcEndpointServiceConfiguration.go +++ b/service/ec2/api_op_ModifyVpcEndpointServiceConfiguration.go @@ -160,9 +160,6 @@ func (c *Client) addOperationModifyVpcEndpointServiceConfigurationMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyVpcEndpointServiceConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVpcEndpointServicePayerResponsibility.go b/service/ec2/api_op_ModifyVpcEndpointServicePayerResponsibility.go index 0623bbe71d7..05e587f4eb8 100644 --- a/service/ec2/api_op_ModifyVpcEndpointServicePayerResponsibility.go +++ b/service/ec2/api_op_ModifyVpcEndpointServicePayerResponsibility.go @@ -125,9 +125,6 @@ func (c *Client) addOperationModifyVpcEndpointServicePayerResponsibilityMiddlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyVpcEndpointServicePayerResponsibilityValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVpcEndpointServicePermissions.go b/service/ec2/api_op_ModifyVpcEndpointServicePermissions.go index 5245f2c88e8..0b0ce31c83f 100644 --- a/service/ec2/api_op_ModifyVpcEndpointServicePermissions.go +++ b/service/ec2/api_op_ModifyVpcEndpointServicePermissions.go @@ -137,9 +137,6 @@ func (c *Client) addOperationModifyVpcEndpointServicePermissionsMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyVpcEndpointServicePermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVpcPeeringConnectionOptions.go b/service/ec2/api_op_ModifyVpcPeeringConnectionOptions.go index e90c06c55a0..5902320cd96 100644 --- a/service/ec2/api_op_ModifyVpcPeeringConnectionOptions.go +++ b/service/ec2/api_op_ModifyVpcPeeringConnectionOptions.go @@ -140,9 +140,6 @@ func (c *Client) addOperationModifyVpcPeeringConnectionOptionsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyVpcPeeringConnectionOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVpcTenancy.go b/service/ec2/api_op_ModifyVpcTenancy.go index 9ff05544209..3b1fbc61eac 100644 --- a/service/ec2/api_op_ModifyVpcTenancy.go +++ b/service/ec2/api_op_ModifyVpcTenancy.go @@ -133,9 +133,6 @@ func (c *Client) addOperationModifyVpcTenancyMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyVpcTenancyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVpnConnection.go b/service/ec2/api_op_ModifyVpnConnection.go index eb47726b8ef..aaf966e14c3 100644 --- a/service/ec2/api_op_ModifyVpnConnection.go +++ b/service/ec2/api_op_ModifyVpnConnection.go @@ -169,9 +169,6 @@ func (c *Client) addOperationModifyVpnConnectionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyVpnConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVpnConnectionOptions.go b/service/ec2/api_op_ModifyVpnConnectionOptions.go index 492a6458529..0ea2982c645 100644 --- a/service/ec2/api_op_ModifyVpnConnectionOptions.go +++ b/service/ec2/api_op_ModifyVpnConnectionOptions.go @@ -143,9 +143,6 @@ func (c *Client) addOperationModifyVpnConnectionOptionsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyVpnConnectionOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVpnTunnelCertificate.go b/service/ec2/api_op_ModifyVpnTunnelCertificate.go index 41fd1b7005e..c1008219fdd 100644 --- a/service/ec2/api_op_ModifyVpnTunnelCertificate.go +++ b/service/ec2/api_op_ModifyVpnTunnelCertificate.go @@ -123,9 +123,6 @@ func (c *Client) addOperationModifyVpnTunnelCertificateMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyVpnTunnelCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ModifyVpnTunnelOptions.go b/service/ec2/api_op_ModifyVpnTunnelOptions.go index 5659a47d1cf..43252ab3be0 100644 --- a/service/ec2/api_op_ModifyVpnTunnelOptions.go +++ b/service/ec2/api_op_ModifyVpnTunnelOptions.go @@ -139,9 +139,6 @@ func (c *Client) addOperationModifyVpnTunnelOptionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyVpnTunnelOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_MonitorInstances.go b/service/ec2/api_op_MonitorInstances.go index 9c1fc3efc82..3d8f1250092 100644 --- a/service/ec2/api_op_MonitorInstances.go +++ b/service/ec2/api_op_MonitorInstances.go @@ -124,9 +124,6 @@ func (c *Client) addOperationMonitorInstancesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMonitorInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_MoveAddressToVpc.go b/service/ec2/api_op_MoveAddressToVpc.go index d48870507a8..16ac01b06eb 100644 --- a/service/ec2/api_op_MoveAddressToVpc.go +++ b/service/ec2/api_op_MoveAddressToVpc.go @@ -129,9 +129,6 @@ func (c *Client) addOperationMoveAddressToVpcMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMoveAddressToVpcValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_MoveByoipCidrToIpam.go b/service/ec2/api_op_MoveByoipCidrToIpam.go index 9820d61593b..8470843b7f5 100644 --- a/service/ec2/api_op_MoveByoipCidrToIpam.go +++ b/service/ec2/api_op_MoveByoipCidrToIpam.go @@ -135,9 +135,6 @@ func (c *Client) addOperationMoveByoipCidrToIpamMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMoveByoipCidrToIpamValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_MoveCapacityReservationInstances.go b/service/ec2/api_op_MoveCapacityReservationInstances.go index 831794af7ab..1df53c5e9db 100644 --- a/service/ec2/api_op_MoveCapacityReservationInstances.go +++ b/service/ec2/api_op_MoveCapacityReservationInstances.go @@ -157,9 +157,6 @@ func (c *Client) addOperationMoveCapacityReservationInstancesMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opMoveCapacityReservationInstancesMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_ProvisionByoipCidr.go b/service/ec2/api_op_ProvisionByoipCidr.go index ebb73589d32..887d074e133 100644 --- a/service/ec2/api_op_ProvisionByoipCidr.go +++ b/service/ec2/api_op_ProvisionByoipCidr.go @@ -179,9 +179,6 @@ func (c *Client) addOperationProvisionByoipCidrMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpProvisionByoipCidrValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ProvisionIpamByoasn.go b/service/ec2/api_op_ProvisionIpamByoasn.go index e0734227329..2f09367d3b4 100644 --- a/service/ec2/api_op_ProvisionIpamByoasn.go +++ b/service/ec2/api_op_ProvisionIpamByoasn.go @@ -133,9 +133,6 @@ func (c *Client) addOperationProvisionIpamByoasnMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpProvisionIpamByoasnValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ProvisionIpamPoolCidr.go b/service/ec2/api_op_ProvisionIpamPoolCidr.go index 85e722c61d3..57748d5914b 100644 --- a/service/ec2/api_op_ProvisionIpamPoolCidr.go +++ b/service/ec2/api_op_ProvisionIpamPoolCidr.go @@ -155,9 +155,6 @@ func (c *Client) addOperationProvisionIpamPoolCidrMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opProvisionIpamPoolCidrMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_ProvisionPublicIpv4PoolCidr.go b/service/ec2/api_op_ProvisionPublicIpv4PoolCidr.go index 03dac86a69c..b7d5144ab5b 100644 --- a/service/ec2/api_op_ProvisionPublicIpv4PoolCidr.go +++ b/service/ec2/api_op_ProvisionPublicIpv4PoolCidr.go @@ -144,9 +144,6 @@ func (c *Client) addOperationProvisionPublicIpv4PoolCidrMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpProvisionPublicIpv4PoolCidrValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_PurchaseCapacityBlock.go b/service/ec2/api_op_PurchaseCapacityBlock.go index a935ba93f1d..d8f12962e1a 100644 --- a/service/ec2/api_op_PurchaseCapacityBlock.go +++ b/service/ec2/api_op_PurchaseCapacityBlock.go @@ -128,9 +128,6 @@ func (c *Client) addOperationPurchaseCapacityBlockMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPurchaseCapacityBlockValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_PurchaseCapacityBlockExtension.go b/service/ec2/api_op_PurchaseCapacityBlockExtension.go index 36a59a061ad..c907bf94877 100644 --- a/service/ec2/api_op_PurchaseCapacityBlockExtension.go +++ b/service/ec2/api_op_PurchaseCapacityBlockExtension.go @@ -124,9 +124,6 @@ func (c *Client) addOperationPurchaseCapacityBlockExtensionMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPurchaseCapacityBlockExtensionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_PurchaseHostReservation.go b/service/ec2/api_op_PurchaseHostReservation.go index eeb6c7320f2..1a2452eaa08 100644 --- a/service/ec2/api_op_PurchaseHostReservation.go +++ b/service/ec2/api_op_PurchaseHostReservation.go @@ -157,9 +157,6 @@ func (c *Client) addOperationPurchaseHostReservationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPurchaseHostReservationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_PurchaseReservedInstancesOffering.go b/service/ec2/api_op_PurchaseReservedInstancesOffering.go index 08fef06a1aa..09172efd8f3 100644 --- a/service/ec2/api_op_PurchaseReservedInstancesOffering.go +++ b/service/ec2/api_op_PurchaseReservedInstancesOffering.go @@ -151,9 +151,6 @@ func (c *Client) addOperationPurchaseReservedInstancesOfferingMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPurchaseReservedInstancesOfferingValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_PurchaseScheduledInstances.go b/service/ec2/api_op_PurchaseScheduledInstances.go index 0a7a12d9d79..be7d666594e 100644 --- a/service/ec2/api_op_PurchaseScheduledInstances.go +++ b/service/ec2/api_op_PurchaseScheduledInstances.go @@ -136,9 +136,6 @@ func (c *Client) addOperationPurchaseScheduledInstancesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opPurchaseScheduledInstancesMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_RebootInstances.go b/service/ec2/api_op_RebootInstances.go index 4535284b0a8..d18658f8579 100644 --- a/service/ec2/api_op_RebootInstances.go +++ b/service/ec2/api_op_RebootInstances.go @@ -123,9 +123,6 @@ func (c *Client) addOperationRebootInstancesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRebootInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RegisterImage.go b/service/ec2/api_op_RegisterImage.go index d055e7e2623..8b7a3a85c15 100644 --- a/service/ec2/api_op_RegisterImage.go +++ b/service/ec2/api_op_RegisterImage.go @@ -297,9 +297,6 @@ func (c *Client) addOperationRegisterImageMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterImageValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RegisterInstanceEventNotificationAttributes.go b/service/ec2/api_op_RegisterInstanceEventNotificationAttributes.go index 8b75f8e1a2b..016b965addd 100644 --- a/service/ec2/api_op_RegisterInstanceEventNotificationAttributes.go +++ b/service/ec2/api_op_RegisterInstanceEventNotificationAttributes.go @@ -123,9 +123,6 @@ func (c *Client) addOperationRegisterInstanceEventNotificationAttributesMiddlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterInstanceEventNotificationAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RegisterTransitGatewayMulticastGroupMembers.go b/service/ec2/api_op_RegisterTransitGatewayMulticastGroupMembers.go index e4023f87871..022e3131e62 100644 --- a/service/ec2/api_op_RegisterTransitGatewayMulticastGroupMembers.go +++ b/service/ec2/api_op_RegisterTransitGatewayMulticastGroupMembers.go @@ -136,9 +136,6 @@ func (c *Client) addOperationRegisterTransitGatewayMulticastGroupMembersMiddlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterTransitGatewayMulticastGroupMembersValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RegisterTransitGatewayMulticastGroupSources.go b/service/ec2/api_op_RegisterTransitGatewayMulticastGroupSources.go index 139c3f445f9..96e321dd77d 100644 --- a/service/ec2/api_op_RegisterTransitGatewayMulticastGroupSources.go +++ b/service/ec2/api_op_RegisterTransitGatewayMulticastGroupSources.go @@ -138,9 +138,6 @@ func (c *Client) addOperationRegisterTransitGatewayMulticastGroupSourcesMiddlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterTransitGatewayMulticastGroupSourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RejectCapacityReservationBillingOwnership.go b/service/ec2/api_op_RejectCapacityReservationBillingOwnership.go index e815961445e..9ebddd84a08 100644 --- a/service/ec2/api_op_RejectCapacityReservationBillingOwnership.go +++ b/service/ec2/api_op_RejectCapacityReservationBillingOwnership.go @@ -120,9 +120,6 @@ func (c *Client) addOperationRejectCapacityReservationBillingOwnershipMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRejectCapacityReservationBillingOwnershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RejectTransitGatewayMulticastDomainAssociations.go b/service/ec2/api_op_RejectTransitGatewayMulticastDomainAssociations.go index fa6546e945c..269db1d8df1 100644 --- a/service/ec2/api_op_RejectTransitGatewayMulticastDomainAssociations.go +++ b/service/ec2/api_op_RejectTransitGatewayMulticastDomainAssociations.go @@ -123,9 +123,6 @@ func (c *Client) addOperationRejectTransitGatewayMulticastDomainAssociationsMidd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRejectTransitGatewayMulticastDomainAssociations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_RejectTransitGatewayPeeringAttachment.go b/service/ec2/api_op_RejectTransitGatewayPeeringAttachment.go index 6d1f1b8d41d..3297afd927b 100644 --- a/service/ec2/api_op_RejectTransitGatewayPeeringAttachment.go +++ b/service/ec2/api_op_RejectTransitGatewayPeeringAttachment.go @@ -118,9 +118,6 @@ func (c *Client) addOperationRejectTransitGatewayPeeringAttachmentMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRejectTransitGatewayPeeringAttachmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RejectTransitGatewayVpcAttachment.go b/service/ec2/api_op_RejectTransitGatewayVpcAttachment.go index 7bbe41ef970..4c310589ebb 100644 --- a/service/ec2/api_op_RejectTransitGatewayVpcAttachment.go +++ b/service/ec2/api_op_RejectTransitGatewayVpcAttachment.go @@ -121,9 +121,6 @@ func (c *Client) addOperationRejectTransitGatewayVpcAttachmentMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRejectTransitGatewayVpcAttachmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RejectVpcEndpointConnections.go b/service/ec2/api_op_RejectVpcEndpointConnections.go index c869dae062e..7b1b853e56b 100644 --- a/service/ec2/api_op_RejectVpcEndpointConnections.go +++ b/service/ec2/api_op_RejectVpcEndpointConnections.go @@ -123,9 +123,6 @@ func (c *Client) addOperationRejectVpcEndpointConnectionsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRejectVpcEndpointConnectionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RejectVpcPeeringConnection.go b/service/ec2/api_op_RejectVpcPeeringConnection.go index 16313c5ce25..01d13401c27 100644 --- a/service/ec2/api_op_RejectVpcPeeringConnection.go +++ b/service/ec2/api_op_RejectVpcPeeringConnection.go @@ -120,9 +120,6 @@ func (c *Client) addOperationRejectVpcPeeringConnectionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRejectVpcPeeringConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ReleaseAddress.go b/service/ec2/api_op_ReleaseAddress.go index 5adfacaac7c..27563095f00 100644 --- a/service/ec2/api_op_ReleaseAddress.go +++ b/service/ec2/api_op_ReleaseAddress.go @@ -138,9 +138,6 @@ func (c *Client) addOperationReleaseAddressMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReleaseAddress(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_ReleaseHosts.go b/service/ec2/api_op_ReleaseHosts.go index 212b99180fb..49a909db948 100644 --- a/service/ec2/api_op_ReleaseHosts.go +++ b/service/ec2/api_op_ReleaseHosts.go @@ -126,9 +126,6 @@ func (c *Client) addOperationReleaseHostsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpReleaseHostsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ReleaseIpamPoolAllocation.go b/service/ec2/api_op_ReleaseIpamPoolAllocation.go index a063b06a91d..ad2602d5586 100644 --- a/service/ec2/api_op_ReleaseIpamPoolAllocation.go +++ b/service/ec2/api_op_ReleaseIpamPoolAllocation.go @@ -138,9 +138,6 @@ func (c *Client) addOperationReleaseIpamPoolAllocationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpReleaseIpamPoolAllocationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ReplaceIamInstanceProfileAssociation.go b/service/ec2/api_op_ReplaceIamInstanceProfileAssociation.go index c7e6be16691..bc1e38a11ef 100644 --- a/service/ec2/api_op_ReplaceIamInstanceProfileAssociation.go +++ b/service/ec2/api_op_ReplaceIamInstanceProfileAssociation.go @@ -121,9 +121,6 @@ func (c *Client) addOperationReplaceIamInstanceProfileAssociationMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpReplaceIamInstanceProfileAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ReplaceImageCriteriaInAllowedImagesSettings.go b/service/ec2/api_op_ReplaceImageCriteriaInAllowedImagesSettings.go index e3eb32c732b..1ce40eae61c 100644 --- a/service/ec2/api_op_ReplaceImageCriteriaInAllowedImagesSettings.go +++ b/service/ec2/api_op_ReplaceImageCriteriaInAllowedImagesSettings.go @@ -126,9 +126,6 @@ func (c *Client) addOperationReplaceImageCriteriaInAllowedImagesSettingsMiddlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReplaceImageCriteriaInAllowedImagesSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_ReplaceNetworkAclAssociation.go b/service/ec2/api_op_ReplaceNetworkAclAssociation.go index 5b34fd45aff..8fe1c17cbb2 100644 --- a/service/ec2/api_op_ReplaceNetworkAclAssociation.go +++ b/service/ec2/api_op_ReplaceNetworkAclAssociation.go @@ -129,9 +129,6 @@ func (c *Client) addOperationReplaceNetworkAclAssociationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpReplaceNetworkAclAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ReplaceNetworkAclEntry.go b/service/ec2/api_op_ReplaceNetworkAclEntry.go index 0d1d256b408..44bd60d0dce 100644 --- a/service/ec2/api_op_ReplaceNetworkAclEntry.go +++ b/service/ec2/api_op_ReplaceNetworkAclEntry.go @@ -161,9 +161,6 @@ func (c *Client) addOperationReplaceNetworkAclEntryMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpReplaceNetworkAclEntryValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ReplaceRoute.go b/service/ec2/api_op_ReplaceRoute.go index 84db6836c19..b7d123c4d51 100644 --- a/service/ec2/api_op_ReplaceRoute.go +++ b/service/ec2/api_op_ReplaceRoute.go @@ -168,9 +168,6 @@ func (c *Client) addOperationReplaceRouteMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpReplaceRouteValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ReplaceRouteTableAssociation.go b/service/ec2/api_op_ReplaceRouteTableAssociation.go index fb79fc09448..91e9711082d 100644 --- a/service/ec2/api_op_ReplaceRouteTableAssociation.go +++ b/service/ec2/api_op_ReplaceRouteTableAssociation.go @@ -135,9 +135,6 @@ func (c *Client) addOperationReplaceRouteTableAssociationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpReplaceRouteTableAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ReplaceTransitGatewayRoute.go b/service/ec2/api_op_ReplaceTransitGatewayRoute.go index 06c369180fd..e3566d0bb30 100644 --- a/service/ec2/api_op_ReplaceTransitGatewayRoute.go +++ b/service/ec2/api_op_ReplaceTransitGatewayRoute.go @@ -130,9 +130,6 @@ func (c *Client) addOperationReplaceTransitGatewayRouteMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpReplaceTransitGatewayRouteValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ReplaceVpnTunnel.go b/service/ec2/api_op_ReplaceVpnTunnel.go index 84bed6dc2a4..ff3f5a54f81 100644 --- a/service/ec2/api_op_ReplaceVpnTunnel.go +++ b/service/ec2/api_op_ReplaceVpnTunnel.go @@ -125,9 +125,6 @@ func (c *Client) addOperationReplaceVpnTunnelMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpReplaceVpnTunnelValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ReportInstanceStatus.go b/service/ec2/api_op_ReportInstanceStatus.go index 2172db87f41..e6b5217ecbf 100644 --- a/service/ec2/api_op_ReportInstanceStatus.go +++ b/service/ec2/api_op_ReportInstanceStatus.go @@ -162,9 +162,6 @@ func (c *Client) addOperationReportInstanceStatusMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpReportInstanceStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RequestSpotFleet.go b/service/ec2/api_op_RequestSpotFleet.go index 5db4d25058e..5c8c6bc43ad 100644 --- a/service/ec2/api_op_RequestSpotFleet.go +++ b/service/ec2/api_op_RequestSpotFleet.go @@ -150,9 +150,6 @@ func (c *Client) addOperationRequestSpotFleetMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRequestSpotFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RequestSpotInstances.go b/service/ec2/api_op_RequestSpotInstances.go index f0abba7abbd..25a5b77c01e 100644 --- a/service/ec2/api_op_RequestSpotInstances.go +++ b/service/ec2/api_op_RequestSpotInstances.go @@ -218,9 +218,6 @@ func (c *Client) addOperationRequestSpotInstancesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRequestSpotInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ResetAddressAttribute.go b/service/ec2/api_op_ResetAddressAttribute.go index 97839a1725b..2bdc5ad58ee 100644 --- a/service/ec2/api_op_ResetAddressAttribute.go +++ b/service/ec2/api_op_ResetAddressAttribute.go @@ -125,9 +125,6 @@ func (c *Client) addOperationResetAddressAttributeMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResetAddressAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ResetEbsDefaultKmsKeyId.go b/service/ec2/api_op_ResetEbsDefaultKmsKeyId.go index 70613ad59fd..9b59eed95ee 100644 --- a/service/ec2/api_op_ResetEbsDefaultKmsKeyId.go +++ b/service/ec2/api_op_ResetEbsDefaultKmsKeyId.go @@ -120,9 +120,6 @@ func (c *Client) addOperationResetEbsDefaultKmsKeyIdMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResetEbsDefaultKmsKeyId(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_ResetFpgaImageAttribute.go b/service/ec2/api_op_ResetFpgaImageAttribute.go index cce50b2583a..e73df8b6b31 100644 --- a/service/ec2/api_op_ResetFpgaImageAttribute.go +++ b/service/ec2/api_op_ResetFpgaImageAttribute.go @@ -122,9 +122,6 @@ func (c *Client) addOperationResetFpgaImageAttributeMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResetFpgaImageAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ResetImageAttribute.go b/service/ec2/api_op_ResetImageAttribute.go index 4782499b2a6..854d2f2eb43 100644 --- a/service/ec2/api_op_ResetImageAttribute.go +++ b/service/ec2/api_op_ResetImageAttribute.go @@ -121,9 +121,6 @@ func (c *Client) addOperationResetImageAttributeMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResetImageAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ResetInstanceAttribute.go b/service/ec2/api_op_ResetInstanceAttribute.go index dfbae0e39c5..e7cc497521e 100644 --- a/service/ec2/api_op_ResetInstanceAttribute.go +++ b/service/ec2/api_op_ResetInstanceAttribute.go @@ -130,9 +130,6 @@ func (c *Client) addOperationResetInstanceAttributeMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResetInstanceAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ResetNetworkInterfaceAttribute.go b/service/ec2/api_op_ResetNetworkInterfaceAttribute.go index 741d6410213..e06b29088e5 100644 --- a/service/ec2/api_op_ResetNetworkInterfaceAttribute.go +++ b/service/ec2/api_op_ResetNetworkInterfaceAttribute.go @@ -118,9 +118,6 @@ func (c *Client) addOperationResetNetworkInterfaceAttributeMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResetNetworkInterfaceAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_ResetSnapshotAttribute.go b/service/ec2/api_op_ResetSnapshotAttribute.go index b44d4b72574..77cd61a6741 100644 --- a/service/ec2/api_op_ResetSnapshotAttribute.go +++ b/service/ec2/api_op_ResetSnapshotAttribute.go @@ -125,9 +125,6 @@ func (c *Client) addOperationResetSnapshotAttributeMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResetSnapshotAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RestoreAddressToClassic.go b/service/ec2/api_op_RestoreAddressToClassic.go index afdf13c84b1..31fb29564fd 100644 --- a/service/ec2/api_op_RestoreAddressToClassic.go +++ b/service/ec2/api_op_RestoreAddressToClassic.go @@ -126,9 +126,6 @@ func (c *Client) addOperationRestoreAddressToClassicMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreAddressToClassicValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RestoreImageFromRecycleBin.go b/service/ec2/api_op_RestoreImageFromRecycleBin.go index 1e80d93f9b1..ffac1708f87 100644 --- a/service/ec2/api_op_RestoreImageFromRecycleBin.go +++ b/service/ec2/api_op_RestoreImageFromRecycleBin.go @@ -120,9 +120,6 @@ func (c *Client) addOperationRestoreImageFromRecycleBinMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreImageFromRecycleBinValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RestoreManagedPrefixListVersion.go b/service/ec2/api_op_RestoreManagedPrefixListVersion.go index e712cecd9a5..b997d7d99a1 100644 --- a/service/ec2/api_op_RestoreManagedPrefixListVersion.go +++ b/service/ec2/api_op_RestoreManagedPrefixListVersion.go @@ -129,9 +129,6 @@ func (c *Client) addOperationRestoreManagedPrefixListVersionMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreManagedPrefixListVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RestoreSnapshotFromRecycleBin.go b/service/ec2/api_op_RestoreSnapshotFromRecycleBin.go index 5e5e0e28c9e..5e69c70cb1f 100644 --- a/service/ec2/api_op_RestoreSnapshotFromRecycleBin.go +++ b/service/ec2/api_op_RestoreSnapshotFromRecycleBin.go @@ -155,9 +155,6 @@ func (c *Client) addOperationRestoreSnapshotFromRecycleBinMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreSnapshotFromRecycleBinValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RestoreSnapshotTier.go b/service/ec2/api_op_RestoreSnapshotTier.go index 159304187d2..59e35b5e8ab 100644 --- a/service/ec2/api_op_RestoreSnapshotTier.go +++ b/service/ec2/api_op_RestoreSnapshotTier.go @@ -149,9 +149,6 @@ func (c *Client) addOperationRestoreSnapshotTierMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreSnapshotTierValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RevokeClientVpnIngress.go b/service/ec2/api_op_RevokeClientVpnIngress.go index 7a287609a99..24084e3fac6 100644 --- a/service/ec2/api_op_RevokeClientVpnIngress.go +++ b/service/ec2/api_op_RevokeClientVpnIngress.go @@ -134,9 +134,6 @@ func (c *Client) addOperationRevokeClientVpnIngressMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRevokeClientVpnIngressValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RevokeSecurityGroupEgress.go b/service/ec2/api_op_RevokeSecurityGroupEgress.go index 4b95eae3021..49237b56a8c 100644 --- a/service/ec2/api_op_RevokeSecurityGroupEgress.go +++ b/service/ec2/api_op_RevokeSecurityGroupEgress.go @@ -173,9 +173,6 @@ func (c *Client) addOperationRevokeSecurityGroupEgressMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRevokeSecurityGroupEgressValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_RevokeSecurityGroupIngress.go b/service/ec2/api_op_RevokeSecurityGroupIngress.go index 0d29a58a2c0..66b7d3331aa 100644 --- a/service/ec2/api_op_RevokeSecurityGroupIngress.go +++ b/service/ec2/api_op_RevokeSecurityGroupIngress.go @@ -187,9 +187,6 @@ func (c *Client) addOperationRevokeSecurityGroupIngressMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRevokeSecurityGroupIngress(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_RunInstances.go b/service/ec2/api_op_RunInstances.go index fb3d480aebb..49373b9c67e 100644 --- a/service/ec2/api_op_RunInstances.go +++ b/service/ec2/api_op_RunInstances.go @@ -482,9 +482,6 @@ func (c *Client) addOperationRunInstancesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opRunInstancesMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_RunScheduledInstances.go b/service/ec2/api_op_RunScheduledInstances.go index 115a5ea02e5..ab74d6e74b1 100644 --- a/service/ec2/api_op_RunScheduledInstances.go +++ b/service/ec2/api_op_RunScheduledInstances.go @@ -145,9 +145,6 @@ func (c *Client) addOperationRunScheduledInstancesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opRunScheduledInstancesMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_SearchLocalGatewayRoutes.go b/service/ec2/api_op_SearchLocalGatewayRoutes.go index ce524019c9a..da0f507eff8 100644 --- a/service/ec2/api_op_SearchLocalGatewayRoutes.go +++ b/service/ec2/api_op_SearchLocalGatewayRoutes.go @@ -151,9 +151,6 @@ func (c *Client) addOperationSearchLocalGatewayRoutesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchLocalGatewayRoutesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_SearchTransitGatewayMulticastGroups.go b/service/ec2/api_op_SearchTransitGatewayMulticastGroups.go index bbb9cdef524..2c2cb2a0743 100644 --- a/service/ec2/api_op_SearchTransitGatewayMulticastGroups.go +++ b/service/ec2/api_op_SearchTransitGatewayMulticastGroups.go @@ -154,9 +154,6 @@ func (c *Client) addOperationSearchTransitGatewayMulticastGroupsMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchTransitGatewayMulticastGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_SearchTransitGatewayRoutes.go b/service/ec2/api_op_SearchTransitGatewayRoutes.go index d74b9d0eb5c..cfd4d5056a3 100644 --- a/service/ec2/api_op_SearchTransitGatewayRoutes.go +++ b/service/ec2/api_op_SearchTransitGatewayRoutes.go @@ -157,9 +157,6 @@ func (c *Client) addOperationSearchTransitGatewayRoutesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchTransitGatewayRoutesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_SendDiagnosticInterrupt.go b/service/ec2/api_op_SendDiagnosticInterrupt.go index 564dea3bd93..2e29fba8a4b 100644 --- a/service/ec2/api_op_SendDiagnosticInterrupt.go +++ b/service/ec2/api_op_SendDiagnosticInterrupt.go @@ -130,9 +130,6 @@ func (c *Client) addOperationSendDiagnosticInterruptMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendDiagnosticInterruptValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_StartDeclarativePoliciesReport.go b/service/ec2/api_op_StartDeclarativePoliciesReport.go index e2bc45b3dc0..f2ccf8541dd 100644 --- a/service/ec2/api_op_StartDeclarativePoliciesReport.go +++ b/service/ec2/api_op_StartDeclarativePoliciesReport.go @@ -177,9 +177,6 @@ func (c *Client) addOperationStartDeclarativePoliciesReportMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartDeclarativePoliciesReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_StartInstances.go b/service/ec2/api_op_StartInstances.go index c1b55560cb9..7d142fd9ce9 100644 --- a/service/ec2/api_op_StartInstances.go +++ b/service/ec2/api_op_StartInstances.go @@ -144,9 +144,6 @@ func (c *Client) addOperationStartInstancesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_StartNetworkInsightsAccessScopeAnalysis.go b/service/ec2/api_op_StartNetworkInsightsAccessScopeAnalysis.go index dab841f9763..68ab5c78802 100644 --- a/service/ec2/api_op_StartNetworkInsightsAccessScopeAnalysis.go +++ b/service/ec2/api_op_StartNetworkInsightsAccessScopeAnalysis.go @@ -129,9 +129,6 @@ func (c *Client) addOperationStartNetworkInsightsAccessScopeAnalysisMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartNetworkInsightsAccessScopeAnalysisMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_StartNetworkInsightsAnalysis.go b/service/ec2/api_op_StartNetworkInsightsAnalysis.go index 12dbd1c79a5..e50afe837cb 100644 --- a/service/ec2/api_op_StartNetworkInsightsAnalysis.go +++ b/service/ec2/api_op_StartNetworkInsightsAnalysis.go @@ -136,9 +136,6 @@ func (c *Client) addOperationStartNetworkInsightsAnalysisMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartNetworkInsightsAnalysisMiddleware(stack, options); err != nil { return err } diff --git a/service/ec2/api_op_StartVpcEndpointServicePrivateDnsVerification.go b/service/ec2/api_op_StartVpcEndpointServicePrivateDnsVerification.go index 8ee0dff8b9d..98b52746cc5 100644 --- a/service/ec2/api_op_StartVpcEndpointServicePrivateDnsVerification.go +++ b/service/ec2/api_op_StartVpcEndpointServicePrivateDnsVerification.go @@ -124,9 +124,6 @@ func (c *Client) addOperationStartVpcEndpointServicePrivateDnsVerificationMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartVpcEndpointServicePrivateDnsVerificationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_StopInstances.go b/service/ec2/api_op_StopInstances.go index e698d616738..ebb45289f0b 100644 --- a/service/ec2/api_op_StopInstances.go +++ b/service/ec2/api_op_StopInstances.go @@ -178,9 +178,6 @@ func (c *Client) addOperationStopInstancesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_TerminateClientVpnConnections.go b/service/ec2/api_op_TerminateClientVpnConnections.go index 02c9fc6c749..a1aeaab6ccd 100644 --- a/service/ec2/api_op_TerminateClientVpnConnections.go +++ b/service/ec2/api_op_TerminateClientVpnConnections.go @@ -134,9 +134,6 @@ func (c *Client) addOperationTerminateClientVpnConnectionsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTerminateClientVpnConnectionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_TerminateInstances.go b/service/ec2/api_op_TerminateInstances.go index 92386215f54..f0a4e0e1223 100644 --- a/service/ec2/api_op_TerminateInstances.go +++ b/service/ec2/api_op_TerminateInstances.go @@ -175,9 +175,6 @@ func (c *Client) addOperationTerminateInstancesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTerminateInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_UnassignIpv6Addresses.go b/service/ec2/api_op_UnassignIpv6Addresses.go index 9391b4ea714..7eced4229eb 100644 --- a/service/ec2/api_op_UnassignIpv6Addresses.go +++ b/service/ec2/api_op_UnassignIpv6Addresses.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUnassignIpv6AddressesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUnassignIpv6AddressesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_UnassignPrivateIpAddresses.go b/service/ec2/api_op_UnassignPrivateIpAddresses.go index 5e0947232cc..a3066b551d2 100644 --- a/service/ec2/api_op_UnassignPrivateIpAddresses.go +++ b/service/ec2/api_op_UnassignPrivateIpAddresses.go @@ -116,9 +116,6 @@ func (c *Client) addOperationUnassignPrivateIpAddressesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUnassignPrivateIpAddressesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_UnassignPrivateNatGatewayAddress.go b/service/ec2/api_op_UnassignPrivateNatGatewayAddress.go index bda920aeff8..7db7b0852f4 100644 --- a/service/ec2/api_op_UnassignPrivateNatGatewayAddress.go +++ b/service/ec2/api_op_UnassignPrivateNatGatewayAddress.go @@ -144,9 +144,6 @@ func (c *Client) addOperationUnassignPrivateNatGatewayAddressMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUnassignPrivateNatGatewayAddressValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_UnlockSnapshot.go b/service/ec2/api_op_UnlockSnapshot.go index f012a89ca2a..026673c2846 100644 --- a/service/ec2/api_op_UnlockSnapshot.go +++ b/service/ec2/api_op_UnlockSnapshot.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUnlockSnapshotMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUnlockSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_UnmonitorInstances.go b/service/ec2/api_op_UnmonitorInstances.go index 35e27ca5518..339312272f9 100644 --- a/service/ec2/api_op_UnmonitorInstances.go +++ b/service/ec2/api_op_UnmonitorInstances.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUnmonitorInstancesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUnmonitorInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsEgress.go b/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsEgress.go index 690480f66e6..4b61a4afa81 100644 --- a/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsEgress.go +++ b/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsEgress.go @@ -133,9 +133,6 @@ func (c *Client) addOperationUpdateSecurityGroupRuleDescriptionsEgressMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSecurityGroupRuleDescriptionsEgress(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsIngress.go b/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsIngress.go index f2ee39e8118..f3562fe37f3 100644 --- a/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsIngress.go +++ b/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsIngress.go @@ -134,9 +134,6 @@ func (c *Client) addOperationUpdateSecurityGroupRuleDescriptionsIngressMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSecurityGroupRuleDescriptionsIngress(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ec2/api_op_WithdrawByoipCidr.go b/service/ec2/api_op_WithdrawByoipCidr.go index abb6d653656..5e33b785709 100644 --- a/service/ec2/api_op_WithdrawByoipCidr.go +++ b/service/ec2/api_op_WithdrawByoipCidr.go @@ -124,9 +124,6 @@ func (c *Client) addOperationWithdrawByoipCidrMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpWithdrawByoipCidrValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2/snapshot/api_op_AcceptAddressTransfer.go.snap b/service/ec2/snapshot/api_op_AcceptAddressTransfer.go.snap index 78feea13621..c2241968346 100644 --- a/service/ec2/snapshot/api_op_AcceptAddressTransfer.go.snap +++ b/service/ec2/snapshot/api_op_AcceptAddressTransfer.go.snap @@ -14,7 +14,6 @@ AcceptAddressTransfer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AcceptCapacityReservationBillingOwnership.go.snap b/service/ec2/snapshot/api_op_AcceptCapacityReservationBillingOwnership.go.snap index 193540e6aaf..87bcfad5820 100644 --- a/service/ec2/snapshot/api_op_AcceptCapacityReservationBillingOwnership.go.snap +++ b/service/ec2/snapshot/api_op_AcceptCapacityReservationBillingOwnership.go.snap @@ -14,7 +14,6 @@ AcceptCapacityReservationBillingOwnership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AcceptReservedInstancesExchangeQuote.go.snap b/service/ec2/snapshot/api_op_AcceptReservedInstancesExchangeQuote.go.snap index 56dce9a01fe..abbee74f093 100644 --- a/service/ec2/snapshot/api_op_AcceptReservedInstancesExchangeQuote.go.snap +++ b/service/ec2/snapshot/api_op_AcceptReservedInstancesExchangeQuote.go.snap @@ -14,7 +14,6 @@ AcceptReservedInstancesExchangeQuote Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AcceptTransitGatewayMulticastDomainAssociations.go.snap b/service/ec2/snapshot/api_op_AcceptTransitGatewayMulticastDomainAssociations.go.snap index 3dbb47fa5a9..31589d8d9c9 100644 --- a/service/ec2/snapshot/api_op_AcceptTransitGatewayMulticastDomainAssociations.go.snap +++ b/service/ec2/snapshot/api_op_AcceptTransitGatewayMulticastDomainAssociations.go.snap @@ -13,7 +13,6 @@ AcceptTransitGatewayMulticastDomainAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AcceptTransitGatewayPeeringAttachment.go.snap b/service/ec2/snapshot/api_op_AcceptTransitGatewayPeeringAttachment.go.snap index 9c29bdc96a2..47c8e4cbd4d 100644 --- a/service/ec2/snapshot/api_op_AcceptTransitGatewayPeeringAttachment.go.snap +++ b/service/ec2/snapshot/api_op_AcceptTransitGatewayPeeringAttachment.go.snap @@ -14,7 +14,6 @@ AcceptTransitGatewayPeeringAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AcceptTransitGatewayVpcAttachment.go.snap b/service/ec2/snapshot/api_op_AcceptTransitGatewayVpcAttachment.go.snap index d57d7ac613e..5affc3455af 100644 --- a/service/ec2/snapshot/api_op_AcceptTransitGatewayVpcAttachment.go.snap +++ b/service/ec2/snapshot/api_op_AcceptTransitGatewayVpcAttachment.go.snap @@ -14,7 +14,6 @@ AcceptTransitGatewayVpcAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AcceptVpcEndpointConnections.go.snap b/service/ec2/snapshot/api_op_AcceptVpcEndpointConnections.go.snap index c3c6d03e6f1..d548c7b8ad1 100644 --- a/service/ec2/snapshot/api_op_AcceptVpcEndpointConnections.go.snap +++ b/service/ec2/snapshot/api_op_AcceptVpcEndpointConnections.go.snap @@ -14,7 +14,6 @@ AcceptVpcEndpointConnections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AcceptVpcPeeringConnection.go.snap b/service/ec2/snapshot/api_op_AcceptVpcPeeringConnection.go.snap index f43c3b41df6..372e077990c 100644 --- a/service/ec2/snapshot/api_op_AcceptVpcPeeringConnection.go.snap +++ b/service/ec2/snapshot/api_op_AcceptVpcPeeringConnection.go.snap @@ -14,7 +14,6 @@ AcceptVpcPeeringConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AdvertiseByoipCidr.go.snap b/service/ec2/snapshot/api_op_AdvertiseByoipCidr.go.snap index 0a8ea0a1072..701887dec65 100644 --- a/service/ec2/snapshot/api_op_AdvertiseByoipCidr.go.snap +++ b/service/ec2/snapshot/api_op_AdvertiseByoipCidr.go.snap @@ -14,7 +14,6 @@ AdvertiseByoipCidr Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AllocateAddress.go.snap b/service/ec2/snapshot/api_op_AllocateAddress.go.snap index 5230dabf572..2fe5dab9341 100644 --- a/service/ec2/snapshot/api_op_AllocateAddress.go.snap +++ b/service/ec2/snapshot/api_op_AllocateAddress.go.snap @@ -13,7 +13,6 @@ AllocateAddress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AllocateHosts.go.snap b/service/ec2/snapshot/api_op_AllocateHosts.go.snap index 55dbcbc1327..ffe26d13ec7 100644 --- a/service/ec2/snapshot/api_op_AllocateHosts.go.snap +++ b/service/ec2/snapshot/api_op_AllocateHosts.go.snap @@ -14,7 +14,6 @@ AllocateHosts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AllocateIpamPoolCidr.go.snap b/service/ec2/snapshot/api_op_AllocateIpamPoolCidr.go.snap index ae7508028fb..307be99f021 100644 --- a/service/ec2/snapshot/api_op_AllocateIpamPoolCidr.go.snap +++ b/service/ec2/snapshot/api_op_AllocateIpamPoolCidr.go.snap @@ -15,7 +15,6 @@ AllocateIpamPoolCidr Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ApplySecurityGroupsToClientVpnTargetNetwork.go.snap b/service/ec2/snapshot/api_op_ApplySecurityGroupsToClientVpnTargetNetwork.go.snap index 9cc338cf586..b84051bda49 100644 --- a/service/ec2/snapshot/api_op_ApplySecurityGroupsToClientVpnTargetNetwork.go.snap +++ b/service/ec2/snapshot/api_op_ApplySecurityGroupsToClientVpnTargetNetwork.go.snap @@ -14,7 +14,6 @@ ApplySecurityGroupsToClientVpnTargetNetwork Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AssignIpv6Addresses.go.snap b/service/ec2/snapshot/api_op_AssignIpv6Addresses.go.snap index c57c35e20a7..02c494b2499 100644 --- a/service/ec2/snapshot/api_op_AssignIpv6Addresses.go.snap +++ b/service/ec2/snapshot/api_op_AssignIpv6Addresses.go.snap @@ -14,7 +14,6 @@ AssignIpv6Addresses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AssignPrivateIpAddresses.go.snap b/service/ec2/snapshot/api_op_AssignPrivateIpAddresses.go.snap index dce73802b0a..0c3e93c34f7 100644 --- a/service/ec2/snapshot/api_op_AssignPrivateIpAddresses.go.snap +++ b/service/ec2/snapshot/api_op_AssignPrivateIpAddresses.go.snap @@ -14,7 +14,6 @@ AssignPrivateIpAddresses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AssignPrivateNatGatewayAddress.go.snap b/service/ec2/snapshot/api_op_AssignPrivateNatGatewayAddress.go.snap index 44215728fc6..14cbf8f1076 100644 --- a/service/ec2/snapshot/api_op_AssignPrivateNatGatewayAddress.go.snap +++ b/service/ec2/snapshot/api_op_AssignPrivateNatGatewayAddress.go.snap @@ -14,7 +14,6 @@ AssignPrivateNatGatewayAddress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AssociateAddress.go.snap b/service/ec2/snapshot/api_op_AssociateAddress.go.snap index ff5e2f9d117..34e2dd69412 100644 --- a/service/ec2/snapshot/api_op_AssociateAddress.go.snap +++ b/service/ec2/snapshot/api_op_AssociateAddress.go.snap @@ -13,7 +13,6 @@ AssociateAddress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AssociateCapacityReservationBillingOwner.go.snap b/service/ec2/snapshot/api_op_AssociateCapacityReservationBillingOwner.go.snap index f43a03d4a1b..a1aab107a4e 100644 --- a/service/ec2/snapshot/api_op_AssociateCapacityReservationBillingOwner.go.snap +++ b/service/ec2/snapshot/api_op_AssociateCapacityReservationBillingOwner.go.snap @@ -14,7 +14,6 @@ AssociateCapacityReservationBillingOwner Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AssociateClientVpnTargetNetwork.go.snap b/service/ec2/snapshot/api_op_AssociateClientVpnTargetNetwork.go.snap index 53a09bd2ba2..ef5e5a71a3b 100644 --- a/service/ec2/snapshot/api_op_AssociateClientVpnTargetNetwork.go.snap +++ b/service/ec2/snapshot/api_op_AssociateClientVpnTargetNetwork.go.snap @@ -15,7 +15,6 @@ AssociateClientVpnTargetNetwork Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AssociateDhcpOptions.go.snap b/service/ec2/snapshot/api_op_AssociateDhcpOptions.go.snap index c030624cf28..d1c38a25cb4 100644 --- a/service/ec2/snapshot/api_op_AssociateDhcpOptions.go.snap +++ b/service/ec2/snapshot/api_op_AssociateDhcpOptions.go.snap @@ -14,7 +14,6 @@ AssociateDhcpOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AssociateEnclaveCertificateIamRole.go.snap b/service/ec2/snapshot/api_op_AssociateEnclaveCertificateIamRole.go.snap index ccff0c3cd1b..31d5bd9505f 100644 --- a/service/ec2/snapshot/api_op_AssociateEnclaveCertificateIamRole.go.snap +++ b/service/ec2/snapshot/api_op_AssociateEnclaveCertificateIamRole.go.snap @@ -14,7 +14,6 @@ AssociateEnclaveCertificateIamRole Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AssociateIamInstanceProfile.go.snap b/service/ec2/snapshot/api_op_AssociateIamInstanceProfile.go.snap index 6c9044dade0..9abcc48f700 100644 --- a/service/ec2/snapshot/api_op_AssociateIamInstanceProfile.go.snap +++ b/service/ec2/snapshot/api_op_AssociateIamInstanceProfile.go.snap @@ -14,7 +14,6 @@ AssociateIamInstanceProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AssociateInstanceEventWindow.go.snap b/service/ec2/snapshot/api_op_AssociateInstanceEventWindow.go.snap index 5e768ed9653..e6208bc3358 100644 --- a/service/ec2/snapshot/api_op_AssociateInstanceEventWindow.go.snap +++ b/service/ec2/snapshot/api_op_AssociateInstanceEventWindow.go.snap @@ -14,7 +14,6 @@ AssociateInstanceEventWindow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AssociateIpamByoasn.go.snap b/service/ec2/snapshot/api_op_AssociateIpamByoasn.go.snap index 9b9a87cd14d..63f3f76cd31 100644 --- a/service/ec2/snapshot/api_op_AssociateIpamByoasn.go.snap +++ b/service/ec2/snapshot/api_op_AssociateIpamByoasn.go.snap @@ -14,7 +14,6 @@ AssociateIpamByoasn Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AssociateIpamResourceDiscovery.go.snap b/service/ec2/snapshot/api_op_AssociateIpamResourceDiscovery.go.snap index 8898223b488..76c0d7fe07e 100644 --- a/service/ec2/snapshot/api_op_AssociateIpamResourceDiscovery.go.snap +++ b/service/ec2/snapshot/api_op_AssociateIpamResourceDiscovery.go.snap @@ -15,7 +15,6 @@ AssociateIpamResourceDiscovery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AssociateNatGatewayAddress.go.snap b/service/ec2/snapshot/api_op_AssociateNatGatewayAddress.go.snap index 932c8b2da8d..5251d2952e9 100644 --- a/service/ec2/snapshot/api_op_AssociateNatGatewayAddress.go.snap +++ b/service/ec2/snapshot/api_op_AssociateNatGatewayAddress.go.snap @@ -14,7 +14,6 @@ AssociateNatGatewayAddress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AssociateRouteTable.go.snap b/service/ec2/snapshot/api_op_AssociateRouteTable.go.snap index afd4c3b4c26..6fd0b4afcbc 100644 --- a/service/ec2/snapshot/api_op_AssociateRouteTable.go.snap +++ b/service/ec2/snapshot/api_op_AssociateRouteTable.go.snap @@ -14,7 +14,6 @@ AssociateRouteTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AssociateSecurityGroupVpc.go.snap b/service/ec2/snapshot/api_op_AssociateSecurityGroupVpc.go.snap index a48335a2630..d638c76b9bc 100644 --- a/service/ec2/snapshot/api_op_AssociateSecurityGroupVpc.go.snap +++ b/service/ec2/snapshot/api_op_AssociateSecurityGroupVpc.go.snap @@ -14,7 +14,6 @@ AssociateSecurityGroupVpc Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AssociateSubnetCidrBlock.go.snap b/service/ec2/snapshot/api_op_AssociateSubnetCidrBlock.go.snap index c8082008fc2..8191a04ff72 100644 --- a/service/ec2/snapshot/api_op_AssociateSubnetCidrBlock.go.snap +++ b/service/ec2/snapshot/api_op_AssociateSubnetCidrBlock.go.snap @@ -14,7 +14,6 @@ AssociateSubnetCidrBlock Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AssociateTransitGatewayMulticastDomain.go.snap b/service/ec2/snapshot/api_op_AssociateTransitGatewayMulticastDomain.go.snap index 7b116ce625d..28b4a9d7e9f 100644 --- a/service/ec2/snapshot/api_op_AssociateTransitGatewayMulticastDomain.go.snap +++ b/service/ec2/snapshot/api_op_AssociateTransitGatewayMulticastDomain.go.snap @@ -14,7 +14,6 @@ AssociateTransitGatewayMulticastDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AssociateTransitGatewayPolicyTable.go.snap b/service/ec2/snapshot/api_op_AssociateTransitGatewayPolicyTable.go.snap index 906858ccea5..ec6f6ba276d 100644 --- a/service/ec2/snapshot/api_op_AssociateTransitGatewayPolicyTable.go.snap +++ b/service/ec2/snapshot/api_op_AssociateTransitGatewayPolicyTable.go.snap @@ -14,7 +14,6 @@ AssociateTransitGatewayPolicyTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AssociateTransitGatewayRouteTable.go.snap b/service/ec2/snapshot/api_op_AssociateTransitGatewayRouteTable.go.snap index f92339ff6d6..11ef32eeaa1 100644 --- a/service/ec2/snapshot/api_op_AssociateTransitGatewayRouteTable.go.snap +++ b/service/ec2/snapshot/api_op_AssociateTransitGatewayRouteTable.go.snap @@ -14,7 +14,6 @@ AssociateTransitGatewayRouteTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AssociateTrunkInterface.go.snap b/service/ec2/snapshot/api_op_AssociateTrunkInterface.go.snap index 7bf33867d16..f028dcd3634 100644 --- a/service/ec2/snapshot/api_op_AssociateTrunkInterface.go.snap +++ b/service/ec2/snapshot/api_op_AssociateTrunkInterface.go.snap @@ -15,7 +15,6 @@ AssociateTrunkInterface Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AssociateVpcCidrBlock.go.snap b/service/ec2/snapshot/api_op_AssociateVpcCidrBlock.go.snap index 9a70b78bea1..fcf9af0db27 100644 --- a/service/ec2/snapshot/api_op_AssociateVpcCidrBlock.go.snap +++ b/service/ec2/snapshot/api_op_AssociateVpcCidrBlock.go.snap @@ -14,7 +14,6 @@ AssociateVpcCidrBlock Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AttachClassicLinkVpc.go.snap b/service/ec2/snapshot/api_op_AttachClassicLinkVpc.go.snap index 0277b53f9bf..14d3246ae58 100644 --- a/service/ec2/snapshot/api_op_AttachClassicLinkVpc.go.snap +++ b/service/ec2/snapshot/api_op_AttachClassicLinkVpc.go.snap @@ -14,7 +14,6 @@ AttachClassicLinkVpc Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AttachInternetGateway.go.snap b/service/ec2/snapshot/api_op_AttachInternetGateway.go.snap index 7ec8ce91ffc..1bd17411b0b 100644 --- a/service/ec2/snapshot/api_op_AttachInternetGateway.go.snap +++ b/service/ec2/snapshot/api_op_AttachInternetGateway.go.snap @@ -14,7 +14,6 @@ AttachInternetGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AttachNetworkInterface.go.snap b/service/ec2/snapshot/api_op_AttachNetworkInterface.go.snap index c2c92e7ea97..fe28de2cd95 100644 --- a/service/ec2/snapshot/api_op_AttachNetworkInterface.go.snap +++ b/service/ec2/snapshot/api_op_AttachNetworkInterface.go.snap @@ -14,7 +14,6 @@ AttachNetworkInterface Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AttachVerifiedAccessTrustProvider.go.snap b/service/ec2/snapshot/api_op_AttachVerifiedAccessTrustProvider.go.snap index f10d57fbbf4..f82699b4683 100644 --- a/service/ec2/snapshot/api_op_AttachVerifiedAccessTrustProvider.go.snap +++ b/service/ec2/snapshot/api_op_AttachVerifiedAccessTrustProvider.go.snap @@ -15,7 +15,6 @@ AttachVerifiedAccessTrustProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AttachVolume.go.snap b/service/ec2/snapshot/api_op_AttachVolume.go.snap index ebfff696a1e..b3b92db6284 100644 --- a/service/ec2/snapshot/api_op_AttachVolume.go.snap +++ b/service/ec2/snapshot/api_op_AttachVolume.go.snap @@ -14,7 +14,6 @@ AttachVolume Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AttachVpnGateway.go.snap b/service/ec2/snapshot/api_op_AttachVpnGateway.go.snap index ac92c0eddd4..01f73ca36d4 100644 --- a/service/ec2/snapshot/api_op_AttachVpnGateway.go.snap +++ b/service/ec2/snapshot/api_op_AttachVpnGateway.go.snap @@ -14,7 +14,6 @@ AttachVpnGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AuthorizeClientVpnIngress.go.snap b/service/ec2/snapshot/api_op_AuthorizeClientVpnIngress.go.snap index 66837ccebe4..a1b0b607dc6 100644 --- a/service/ec2/snapshot/api_op_AuthorizeClientVpnIngress.go.snap +++ b/service/ec2/snapshot/api_op_AuthorizeClientVpnIngress.go.snap @@ -15,7 +15,6 @@ AuthorizeClientVpnIngress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AuthorizeSecurityGroupEgress.go.snap b/service/ec2/snapshot/api_op_AuthorizeSecurityGroupEgress.go.snap index 0644c081c38..fa271f8df13 100644 --- a/service/ec2/snapshot/api_op_AuthorizeSecurityGroupEgress.go.snap +++ b/service/ec2/snapshot/api_op_AuthorizeSecurityGroupEgress.go.snap @@ -14,7 +14,6 @@ AuthorizeSecurityGroupEgress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_AuthorizeSecurityGroupIngress.go.snap b/service/ec2/snapshot/api_op_AuthorizeSecurityGroupIngress.go.snap index 9e77fbdbf11..af07ab01988 100644 --- a/service/ec2/snapshot/api_op_AuthorizeSecurityGroupIngress.go.snap +++ b/service/ec2/snapshot/api_op_AuthorizeSecurityGroupIngress.go.snap @@ -13,7 +13,6 @@ AuthorizeSecurityGroupIngress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_BundleInstance.go.snap b/service/ec2/snapshot/api_op_BundleInstance.go.snap index 6bdae342e19..39a332aea1b 100644 --- a/service/ec2/snapshot/api_op_BundleInstance.go.snap +++ b/service/ec2/snapshot/api_op_BundleInstance.go.snap @@ -14,7 +14,6 @@ BundleInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CancelBundleTask.go.snap b/service/ec2/snapshot/api_op_CancelBundleTask.go.snap index aaf2dc1535d..7420bf84ae7 100644 --- a/service/ec2/snapshot/api_op_CancelBundleTask.go.snap +++ b/service/ec2/snapshot/api_op_CancelBundleTask.go.snap @@ -14,7 +14,6 @@ CancelBundleTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CancelCapacityReservation.go.snap b/service/ec2/snapshot/api_op_CancelCapacityReservation.go.snap index 254a981a439..3a59fef9d64 100644 --- a/service/ec2/snapshot/api_op_CancelCapacityReservation.go.snap +++ b/service/ec2/snapshot/api_op_CancelCapacityReservation.go.snap @@ -14,7 +14,6 @@ CancelCapacityReservation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CancelCapacityReservationFleets.go.snap b/service/ec2/snapshot/api_op_CancelCapacityReservationFleets.go.snap index 05bee254920..cf60b2d829e 100644 --- a/service/ec2/snapshot/api_op_CancelCapacityReservationFleets.go.snap +++ b/service/ec2/snapshot/api_op_CancelCapacityReservationFleets.go.snap @@ -14,7 +14,6 @@ CancelCapacityReservationFleets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CancelConversionTask.go.snap b/service/ec2/snapshot/api_op_CancelConversionTask.go.snap index 981b2a8f5cf..ea13b243be7 100644 --- a/service/ec2/snapshot/api_op_CancelConversionTask.go.snap +++ b/service/ec2/snapshot/api_op_CancelConversionTask.go.snap @@ -14,7 +14,6 @@ CancelConversionTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CancelDeclarativePoliciesReport.go.snap b/service/ec2/snapshot/api_op_CancelDeclarativePoliciesReport.go.snap index c66a4634f83..ff1e99bc6db 100644 --- a/service/ec2/snapshot/api_op_CancelDeclarativePoliciesReport.go.snap +++ b/service/ec2/snapshot/api_op_CancelDeclarativePoliciesReport.go.snap @@ -14,7 +14,6 @@ CancelDeclarativePoliciesReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CancelExportTask.go.snap b/service/ec2/snapshot/api_op_CancelExportTask.go.snap index bfe84b37bba..e3777470e3e 100644 --- a/service/ec2/snapshot/api_op_CancelExportTask.go.snap +++ b/service/ec2/snapshot/api_op_CancelExportTask.go.snap @@ -14,7 +14,6 @@ CancelExportTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CancelImageLaunchPermission.go.snap b/service/ec2/snapshot/api_op_CancelImageLaunchPermission.go.snap index ee298b0825f..d524241dfee 100644 --- a/service/ec2/snapshot/api_op_CancelImageLaunchPermission.go.snap +++ b/service/ec2/snapshot/api_op_CancelImageLaunchPermission.go.snap @@ -14,7 +14,6 @@ CancelImageLaunchPermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CancelImportTask.go.snap b/service/ec2/snapshot/api_op_CancelImportTask.go.snap index f69bb6f058b..681b11759ca 100644 --- a/service/ec2/snapshot/api_op_CancelImportTask.go.snap +++ b/service/ec2/snapshot/api_op_CancelImportTask.go.snap @@ -13,7 +13,6 @@ CancelImportTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CancelReservedInstancesListing.go.snap b/service/ec2/snapshot/api_op_CancelReservedInstancesListing.go.snap index 096cb62cdd1..8e5b023cc70 100644 --- a/service/ec2/snapshot/api_op_CancelReservedInstancesListing.go.snap +++ b/service/ec2/snapshot/api_op_CancelReservedInstancesListing.go.snap @@ -14,7 +14,6 @@ CancelReservedInstancesListing Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CancelSpotFleetRequests.go.snap b/service/ec2/snapshot/api_op_CancelSpotFleetRequests.go.snap index cb5d5326af4..a18adb8d7d4 100644 --- a/service/ec2/snapshot/api_op_CancelSpotFleetRequests.go.snap +++ b/service/ec2/snapshot/api_op_CancelSpotFleetRequests.go.snap @@ -14,7 +14,6 @@ CancelSpotFleetRequests Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CancelSpotInstanceRequests.go.snap b/service/ec2/snapshot/api_op_CancelSpotInstanceRequests.go.snap index b9c5452ea36..3af16c314a8 100644 --- a/service/ec2/snapshot/api_op_CancelSpotInstanceRequests.go.snap +++ b/service/ec2/snapshot/api_op_CancelSpotInstanceRequests.go.snap @@ -14,7 +14,6 @@ CancelSpotInstanceRequests Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ConfirmProductInstance.go.snap b/service/ec2/snapshot/api_op_ConfirmProductInstance.go.snap index 61c09707bed..55e6736e9d0 100644 --- a/service/ec2/snapshot/api_op_ConfirmProductInstance.go.snap +++ b/service/ec2/snapshot/api_op_ConfirmProductInstance.go.snap @@ -14,7 +14,6 @@ ConfirmProductInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CopyFpgaImage.go.snap b/service/ec2/snapshot/api_op_CopyFpgaImage.go.snap index dff88fbc886..d82ea8fbdaa 100644 --- a/service/ec2/snapshot/api_op_CopyFpgaImage.go.snap +++ b/service/ec2/snapshot/api_op_CopyFpgaImage.go.snap @@ -14,7 +14,6 @@ CopyFpgaImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CopyImage.go.snap b/service/ec2/snapshot/api_op_CopyImage.go.snap index 33a62e56ad3..713cb3cfc30 100644 --- a/service/ec2/snapshot/api_op_CopyImage.go.snap +++ b/service/ec2/snapshot/api_op_CopyImage.go.snap @@ -14,7 +14,6 @@ CopyImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CopySnapshot.go.snap b/service/ec2/snapshot/api_op_CopySnapshot.go.snap index c40fb94c053..6eb9a0d0f34 100644 --- a/service/ec2/snapshot/api_op_CopySnapshot.go.snap +++ b/service/ec2/snapshot/api_op_CopySnapshot.go.snap @@ -15,7 +15,6 @@ CopySnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateCapacityReservation.go.snap b/service/ec2/snapshot/api_op_CreateCapacityReservation.go.snap index 965a57d3f74..17308d095c8 100644 --- a/service/ec2/snapshot/api_op_CreateCapacityReservation.go.snap +++ b/service/ec2/snapshot/api_op_CreateCapacityReservation.go.snap @@ -14,7 +14,6 @@ CreateCapacityReservation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateCapacityReservationBySplitting.go.snap b/service/ec2/snapshot/api_op_CreateCapacityReservationBySplitting.go.snap index ccf57b17d9f..0a91e5e1236 100644 --- a/service/ec2/snapshot/api_op_CreateCapacityReservationBySplitting.go.snap +++ b/service/ec2/snapshot/api_op_CreateCapacityReservationBySplitting.go.snap @@ -15,7 +15,6 @@ CreateCapacityReservationBySplitting Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateCapacityReservationFleet.go.snap b/service/ec2/snapshot/api_op_CreateCapacityReservationFleet.go.snap index 713b051923c..c4c8b3fc405 100644 --- a/service/ec2/snapshot/api_op_CreateCapacityReservationFleet.go.snap +++ b/service/ec2/snapshot/api_op_CreateCapacityReservationFleet.go.snap @@ -15,7 +15,6 @@ CreateCapacityReservationFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateCarrierGateway.go.snap b/service/ec2/snapshot/api_op_CreateCarrierGateway.go.snap index f8148eda35c..86e1a016964 100644 --- a/service/ec2/snapshot/api_op_CreateCarrierGateway.go.snap +++ b/service/ec2/snapshot/api_op_CreateCarrierGateway.go.snap @@ -15,7 +15,6 @@ CreateCarrierGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateClientVpnEndpoint.go.snap b/service/ec2/snapshot/api_op_CreateClientVpnEndpoint.go.snap index 423b554295a..204cdba8d33 100644 --- a/service/ec2/snapshot/api_op_CreateClientVpnEndpoint.go.snap +++ b/service/ec2/snapshot/api_op_CreateClientVpnEndpoint.go.snap @@ -15,7 +15,6 @@ CreateClientVpnEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateClientVpnRoute.go.snap b/service/ec2/snapshot/api_op_CreateClientVpnRoute.go.snap index bef6dce5d3f..a89c92ed437 100644 --- a/service/ec2/snapshot/api_op_CreateClientVpnRoute.go.snap +++ b/service/ec2/snapshot/api_op_CreateClientVpnRoute.go.snap @@ -15,7 +15,6 @@ CreateClientVpnRoute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateCoipCidr.go.snap b/service/ec2/snapshot/api_op_CreateCoipCidr.go.snap index ba7a839056d..6a7b3a1f907 100644 --- a/service/ec2/snapshot/api_op_CreateCoipCidr.go.snap +++ b/service/ec2/snapshot/api_op_CreateCoipCidr.go.snap @@ -14,7 +14,6 @@ CreateCoipCidr Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateCoipPool.go.snap b/service/ec2/snapshot/api_op_CreateCoipPool.go.snap index 7a3dc0ea22d..654a1b2f99b 100644 --- a/service/ec2/snapshot/api_op_CreateCoipPool.go.snap +++ b/service/ec2/snapshot/api_op_CreateCoipPool.go.snap @@ -14,7 +14,6 @@ CreateCoipPool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateCustomerGateway.go.snap b/service/ec2/snapshot/api_op_CreateCustomerGateway.go.snap index a87e985bc86..c39f27b1b8c 100644 --- a/service/ec2/snapshot/api_op_CreateCustomerGateway.go.snap +++ b/service/ec2/snapshot/api_op_CreateCustomerGateway.go.snap @@ -14,7 +14,6 @@ CreateCustomerGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateDefaultSubnet.go.snap b/service/ec2/snapshot/api_op_CreateDefaultSubnet.go.snap index fa852b16cc0..629c6cfd4f7 100644 --- a/service/ec2/snapshot/api_op_CreateDefaultSubnet.go.snap +++ b/service/ec2/snapshot/api_op_CreateDefaultSubnet.go.snap @@ -14,7 +14,6 @@ CreateDefaultSubnet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateDefaultVpc.go.snap b/service/ec2/snapshot/api_op_CreateDefaultVpc.go.snap index c9e0f55b090..21b28215935 100644 --- a/service/ec2/snapshot/api_op_CreateDefaultVpc.go.snap +++ b/service/ec2/snapshot/api_op_CreateDefaultVpc.go.snap @@ -13,7 +13,6 @@ CreateDefaultVpc Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateDhcpOptions.go.snap b/service/ec2/snapshot/api_op_CreateDhcpOptions.go.snap index f213efd9be5..2a1e9caaeed 100644 --- a/service/ec2/snapshot/api_op_CreateDhcpOptions.go.snap +++ b/service/ec2/snapshot/api_op_CreateDhcpOptions.go.snap @@ -14,7 +14,6 @@ CreateDhcpOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateEgressOnlyInternetGateway.go.snap b/service/ec2/snapshot/api_op_CreateEgressOnlyInternetGateway.go.snap index 30268c7a7eb..b5d2957b2b3 100644 --- a/service/ec2/snapshot/api_op_CreateEgressOnlyInternetGateway.go.snap +++ b/service/ec2/snapshot/api_op_CreateEgressOnlyInternetGateway.go.snap @@ -14,7 +14,6 @@ CreateEgressOnlyInternetGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateFleet.go.snap b/service/ec2/snapshot/api_op_CreateFleet.go.snap index 363ce27fc67..4ea704bf83b 100644 --- a/service/ec2/snapshot/api_op_CreateFleet.go.snap +++ b/service/ec2/snapshot/api_op_CreateFleet.go.snap @@ -15,7 +15,6 @@ CreateFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateFlowLogs.go.snap b/service/ec2/snapshot/api_op_CreateFlowLogs.go.snap index 59e4cd9e213..c951a42c065 100644 --- a/service/ec2/snapshot/api_op_CreateFlowLogs.go.snap +++ b/service/ec2/snapshot/api_op_CreateFlowLogs.go.snap @@ -14,7 +14,6 @@ CreateFlowLogs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateFpgaImage.go.snap b/service/ec2/snapshot/api_op_CreateFpgaImage.go.snap index e295744041f..58d4021710c 100644 --- a/service/ec2/snapshot/api_op_CreateFpgaImage.go.snap +++ b/service/ec2/snapshot/api_op_CreateFpgaImage.go.snap @@ -14,7 +14,6 @@ CreateFpgaImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateImage.go.snap b/service/ec2/snapshot/api_op_CreateImage.go.snap index a5f5fbc8682..422b3b12487 100644 --- a/service/ec2/snapshot/api_op_CreateImage.go.snap +++ b/service/ec2/snapshot/api_op_CreateImage.go.snap @@ -14,7 +14,6 @@ CreateImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateInstanceConnectEndpoint.go.snap b/service/ec2/snapshot/api_op_CreateInstanceConnectEndpoint.go.snap index 714b33fb61f..68dd749e054 100644 --- a/service/ec2/snapshot/api_op_CreateInstanceConnectEndpoint.go.snap +++ b/service/ec2/snapshot/api_op_CreateInstanceConnectEndpoint.go.snap @@ -15,7 +15,6 @@ CreateInstanceConnectEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateInstanceEventWindow.go.snap b/service/ec2/snapshot/api_op_CreateInstanceEventWindow.go.snap index 52928656f39..daffa4e4d88 100644 --- a/service/ec2/snapshot/api_op_CreateInstanceEventWindow.go.snap +++ b/service/ec2/snapshot/api_op_CreateInstanceEventWindow.go.snap @@ -13,7 +13,6 @@ CreateInstanceEventWindow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateInstanceExportTask.go.snap b/service/ec2/snapshot/api_op_CreateInstanceExportTask.go.snap index af07a7f3a9d..ca618fa9c6d 100644 --- a/service/ec2/snapshot/api_op_CreateInstanceExportTask.go.snap +++ b/service/ec2/snapshot/api_op_CreateInstanceExportTask.go.snap @@ -14,7 +14,6 @@ CreateInstanceExportTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateInternetGateway.go.snap b/service/ec2/snapshot/api_op_CreateInternetGateway.go.snap index ded17345fec..9268caa9ceb 100644 --- a/service/ec2/snapshot/api_op_CreateInternetGateway.go.snap +++ b/service/ec2/snapshot/api_op_CreateInternetGateway.go.snap @@ -13,7 +13,6 @@ CreateInternetGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateIpam.go.snap b/service/ec2/snapshot/api_op_CreateIpam.go.snap index 44e2927e414..3f88ad502fa 100644 --- a/service/ec2/snapshot/api_op_CreateIpam.go.snap +++ b/service/ec2/snapshot/api_op_CreateIpam.go.snap @@ -14,7 +14,6 @@ CreateIpam Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateIpamExternalResourceVerificationToken.go.snap b/service/ec2/snapshot/api_op_CreateIpamExternalResourceVerificationToken.go.snap index 97e44d2881b..b3a769071ba 100644 --- a/service/ec2/snapshot/api_op_CreateIpamExternalResourceVerificationToken.go.snap +++ b/service/ec2/snapshot/api_op_CreateIpamExternalResourceVerificationToken.go.snap @@ -15,7 +15,6 @@ CreateIpamExternalResourceVerificationToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateIpamPool.go.snap b/service/ec2/snapshot/api_op_CreateIpamPool.go.snap index 1c85740ccbe..80870fc1a45 100644 --- a/service/ec2/snapshot/api_op_CreateIpamPool.go.snap +++ b/service/ec2/snapshot/api_op_CreateIpamPool.go.snap @@ -15,7 +15,6 @@ CreateIpamPool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateIpamResourceDiscovery.go.snap b/service/ec2/snapshot/api_op_CreateIpamResourceDiscovery.go.snap index 37f48167ac3..ac924942792 100644 --- a/service/ec2/snapshot/api_op_CreateIpamResourceDiscovery.go.snap +++ b/service/ec2/snapshot/api_op_CreateIpamResourceDiscovery.go.snap @@ -14,7 +14,6 @@ CreateIpamResourceDiscovery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateIpamScope.go.snap b/service/ec2/snapshot/api_op_CreateIpamScope.go.snap index 45a934cfb9f..03b6879505b 100644 --- a/service/ec2/snapshot/api_op_CreateIpamScope.go.snap +++ b/service/ec2/snapshot/api_op_CreateIpamScope.go.snap @@ -15,7 +15,6 @@ CreateIpamScope Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateKeyPair.go.snap b/service/ec2/snapshot/api_op_CreateKeyPair.go.snap index cc3afb92036..b196f84d98c 100644 --- a/service/ec2/snapshot/api_op_CreateKeyPair.go.snap +++ b/service/ec2/snapshot/api_op_CreateKeyPair.go.snap @@ -14,7 +14,6 @@ CreateKeyPair Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateLaunchTemplate.go.snap b/service/ec2/snapshot/api_op_CreateLaunchTemplate.go.snap index ec80e979dae..a2a7cdcf4c6 100644 --- a/service/ec2/snapshot/api_op_CreateLaunchTemplate.go.snap +++ b/service/ec2/snapshot/api_op_CreateLaunchTemplate.go.snap @@ -14,7 +14,6 @@ CreateLaunchTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateLaunchTemplateVersion.go.snap b/service/ec2/snapshot/api_op_CreateLaunchTemplateVersion.go.snap index e37c19c6d76..fd8cd299b15 100644 --- a/service/ec2/snapshot/api_op_CreateLaunchTemplateVersion.go.snap +++ b/service/ec2/snapshot/api_op_CreateLaunchTemplateVersion.go.snap @@ -14,7 +14,6 @@ CreateLaunchTemplateVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateLocalGatewayRoute.go.snap b/service/ec2/snapshot/api_op_CreateLocalGatewayRoute.go.snap index 17aa49593be..7e73fbb3bd0 100644 --- a/service/ec2/snapshot/api_op_CreateLocalGatewayRoute.go.snap +++ b/service/ec2/snapshot/api_op_CreateLocalGatewayRoute.go.snap @@ -14,7 +14,6 @@ CreateLocalGatewayRoute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateLocalGatewayRouteTable.go.snap b/service/ec2/snapshot/api_op_CreateLocalGatewayRouteTable.go.snap index d5139f4ff0c..021cda76aae 100644 --- a/service/ec2/snapshot/api_op_CreateLocalGatewayRouteTable.go.snap +++ b/service/ec2/snapshot/api_op_CreateLocalGatewayRouteTable.go.snap @@ -14,7 +14,6 @@ CreateLocalGatewayRouteTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation.go.snap b/service/ec2/snapshot/api_op_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation.go.snap index 6f746444a81..b2de2b5d556 100644 --- a/service/ec2/snapshot/api_op_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation.go.snap +++ b/service/ec2/snapshot/api_op_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation.go.snap @@ -14,7 +14,6 @@ CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateLocalGatewayRouteTableVpcAssociation.go.snap b/service/ec2/snapshot/api_op_CreateLocalGatewayRouteTableVpcAssociation.go.snap index 7bea1fb6472..678fa62012d 100644 --- a/service/ec2/snapshot/api_op_CreateLocalGatewayRouteTableVpcAssociation.go.snap +++ b/service/ec2/snapshot/api_op_CreateLocalGatewayRouteTableVpcAssociation.go.snap @@ -14,7 +14,6 @@ CreateLocalGatewayRouteTableVpcAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateManagedPrefixList.go.snap b/service/ec2/snapshot/api_op_CreateManagedPrefixList.go.snap index 2de904edf35..38448d0fd16 100644 --- a/service/ec2/snapshot/api_op_CreateManagedPrefixList.go.snap +++ b/service/ec2/snapshot/api_op_CreateManagedPrefixList.go.snap @@ -15,7 +15,6 @@ CreateManagedPrefixList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateNatGateway.go.snap b/service/ec2/snapshot/api_op_CreateNatGateway.go.snap index 1647ed62d3c..88fbf204f05 100644 --- a/service/ec2/snapshot/api_op_CreateNatGateway.go.snap +++ b/service/ec2/snapshot/api_op_CreateNatGateway.go.snap @@ -15,7 +15,6 @@ CreateNatGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateNetworkAcl.go.snap b/service/ec2/snapshot/api_op_CreateNetworkAcl.go.snap index 85e3b56df97..29d19d74e7a 100644 --- a/service/ec2/snapshot/api_op_CreateNetworkAcl.go.snap +++ b/service/ec2/snapshot/api_op_CreateNetworkAcl.go.snap @@ -15,7 +15,6 @@ CreateNetworkAcl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateNetworkAclEntry.go.snap b/service/ec2/snapshot/api_op_CreateNetworkAclEntry.go.snap index 920a4c00b37..27137b6251e 100644 --- a/service/ec2/snapshot/api_op_CreateNetworkAclEntry.go.snap +++ b/service/ec2/snapshot/api_op_CreateNetworkAclEntry.go.snap @@ -14,7 +14,6 @@ CreateNetworkAclEntry Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateNetworkInsightsAccessScope.go.snap b/service/ec2/snapshot/api_op_CreateNetworkInsightsAccessScope.go.snap index af37ff054fb..26f454b299e 100644 --- a/service/ec2/snapshot/api_op_CreateNetworkInsightsAccessScope.go.snap +++ b/service/ec2/snapshot/api_op_CreateNetworkInsightsAccessScope.go.snap @@ -15,7 +15,6 @@ CreateNetworkInsightsAccessScope Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateNetworkInsightsPath.go.snap b/service/ec2/snapshot/api_op_CreateNetworkInsightsPath.go.snap index 9bd64e9e1a8..2f3a25dcc2e 100644 --- a/service/ec2/snapshot/api_op_CreateNetworkInsightsPath.go.snap +++ b/service/ec2/snapshot/api_op_CreateNetworkInsightsPath.go.snap @@ -15,7 +15,6 @@ CreateNetworkInsightsPath Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateNetworkInterface.go.snap b/service/ec2/snapshot/api_op_CreateNetworkInterface.go.snap index 7e2e1858a02..f042a95a7ed 100644 --- a/service/ec2/snapshot/api_op_CreateNetworkInterface.go.snap +++ b/service/ec2/snapshot/api_op_CreateNetworkInterface.go.snap @@ -15,7 +15,6 @@ CreateNetworkInterface Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateNetworkInterfacePermission.go.snap b/service/ec2/snapshot/api_op_CreateNetworkInterfacePermission.go.snap index 22e6bb83341..5f8b181b808 100644 --- a/service/ec2/snapshot/api_op_CreateNetworkInterfacePermission.go.snap +++ b/service/ec2/snapshot/api_op_CreateNetworkInterfacePermission.go.snap @@ -14,7 +14,6 @@ CreateNetworkInterfacePermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreatePlacementGroup.go.snap b/service/ec2/snapshot/api_op_CreatePlacementGroup.go.snap index 4c81e655917..f8ce100022c 100644 --- a/service/ec2/snapshot/api_op_CreatePlacementGroup.go.snap +++ b/service/ec2/snapshot/api_op_CreatePlacementGroup.go.snap @@ -13,7 +13,6 @@ CreatePlacementGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreatePublicIpv4Pool.go.snap b/service/ec2/snapshot/api_op_CreatePublicIpv4Pool.go.snap index 3b65ada2751..614f1dd2fae 100644 --- a/service/ec2/snapshot/api_op_CreatePublicIpv4Pool.go.snap +++ b/service/ec2/snapshot/api_op_CreatePublicIpv4Pool.go.snap @@ -13,7 +13,6 @@ CreatePublicIpv4Pool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateReplaceRootVolumeTask.go.snap b/service/ec2/snapshot/api_op_CreateReplaceRootVolumeTask.go.snap index b5235a7821b..718a9dc8508 100644 --- a/service/ec2/snapshot/api_op_CreateReplaceRootVolumeTask.go.snap +++ b/service/ec2/snapshot/api_op_CreateReplaceRootVolumeTask.go.snap @@ -15,7 +15,6 @@ CreateReplaceRootVolumeTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateReservedInstancesListing.go.snap b/service/ec2/snapshot/api_op_CreateReservedInstancesListing.go.snap index 4fd80d502db..4bf5baf918c 100644 --- a/service/ec2/snapshot/api_op_CreateReservedInstancesListing.go.snap +++ b/service/ec2/snapshot/api_op_CreateReservedInstancesListing.go.snap @@ -14,7 +14,6 @@ CreateReservedInstancesListing Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateRestoreImageTask.go.snap b/service/ec2/snapshot/api_op_CreateRestoreImageTask.go.snap index d00c1f6e21f..6062d36462b 100644 --- a/service/ec2/snapshot/api_op_CreateRestoreImageTask.go.snap +++ b/service/ec2/snapshot/api_op_CreateRestoreImageTask.go.snap @@ -14,7 +14,6 @@ CreateRestoreImageTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateRoute.go.snap b/service/ec2/snapshot/api_op_CreateRoute.go.snap index e2c6f361a94..2d9cadacdfe 100644 --- a/service/ec2/snapshot/api_op_CreateRoute.go.snap +++ b/service/ec2/snapshot/api_op_CreateRoute.go.snap @@ -14,7 +14,6 @@ CreateRoute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateRouteTable.go.snap b/service/ec2/snapshot/api_op_CreateRouteTable.go.snap index 3209317505d..b9103f3adb9 100644 --- a/service/ec2/snapshot/api_op_CreateRouteTable.go.snap +++ b/service/ec2/snapshot/api_op_CreateRouteTable.go.snap @@ -15,7 +15,6 @@ CreateRouteTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateSecurityGroup.go.snap b/service/ec2/snapshot/api_op_CreateSecurityGroup.go.snap index c3ddc5a253b..7c1a2fbaa8a 100644 --- a/service/ec2/snapshot/api_op_CreateSecurityGroup.go.snap +++ b/service/ec2/snapshot/api_op_CreateSecurityGroup.go.snap @@ -14,7 +14,6 @@ CreateSecurityGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateSnapshot.go.snap b/service/ec2/snapshot/api_op_CreateSnapshot.go.snap index c5c9178ac0b..1a0713f514c 100644 --- a/service/ec2/snapshot/api_op_CreateSnapshot.go.snap +++ b/service/ec2/snapshot/api_op_CreateSnapshot.go.snap @@ -14,7 +14,6 @@ CreateSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateSnapshots.go.snap b/service/ec2/snapshot/api_op_CreateSnapshots.go.snap index a40c343c60a..6e7aad63b9a 100644 --- a/service/ec2/snapshot/api_op_CreateSnapshots.go.snap +++ b/service/ec2/snapshot/api_op_CreateSnapshots.go.snap @@ -14,7 +14,6 @@ CreateSnapshots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateSpotDatafeedSubscription.go.snap b/service/ec2/snapshot/api_op_CreateSpotDatafeedSubscription.go.snap index 0c25b024877..45ec60230f9 100644 --- a/service/ec2/snapshot/api_op_CreateSpotDatafeedSubscription.go.snap +++ b/service/ec2/snapshot/api_op_CreateSpotDatafeedSubscription.go.snap @@ -14,7 +14,6 @@ CreateSpotDatafeedSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateStoreImageTask.go.snap b/service/ec2/snapshot/api_op_CreateStoreImageTask.go.snap index 9a921435a42..308ec4d6d7e 100644 --- a/service/ec2/snapshot/api_op_CreateStoreImageTask.go.snap +++ b/service/ec2/snapshot/api_op_CreateStoreImageTask.go.snap @@ -14,7 +14,6 @@ CreateStoreImageTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateSubnet.go.snap b/service/ec2/snapshot/api_op_CreateSubnet.go.snap index 50375c3656a..4c87351d31e 100644 --- a/service/ec2/snapshot/api_op_CreateSubnet.go.snap +++ b/service/ec2/snapshot/api_op_CreateSubnet.go.snap @@ -14,7 +14,6 @@ CreateSubnet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateSubnetCidrReservation.go.snap b/service/ec2/snapshot/api_op_CreateSubnetCidrReservation.go.snap index 46c07c0c2b9..dc2a2d42428 100644 --- a/service/ec2/snapshot/api_op_CreateSubnetCidrReservation.go.snap +++ b/service/ec2/snapshot/api_op_CreateSubnetCidrReservation.go.snap @@ -14,7 +14,6 @@ CreateSubnetCidrReservation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateTags.go.snap b/service/ec2/snapshot/api_op_CreateTags.go.snap index fe83545a271..2507df3be57 100644 --- a/service/ec2/snapshot/api_op_CreateTags.go.snap +++ b/service/ec2/snapshot/api_op_CreateTags.go.snap @@ -14,7 +14,6 @@ CreateTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateTrafficMirrorFilter.go.snap b/service/ec2/snapshot/api_op_CreateTrafficMirrorFilter.go.snap index b3fb8ad9800..eb7bfc049b3 100644 --- a/service/ec2/snapshot/api_op_CreateTrafficMirrorFilter.go.snap +++ b/service/ec2/snapshot/api_op_CreateTrafficMirrorFilter.go.snap @@ -14,7 +14,6 @@ CreateTrafficMirrorFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateTrafficMirrorFilterRule.go.snap b/service/ec2/snapshot/api_op_CreateTrafficMirrorFilterRule.go.snap index e4651b4f746..38514d9c87f 100644 --- a/service/ec2/snapshot/api_op_CreateTrafficMirrorFilterRule.go.snap +++ b/service/ec2/snapshot/api_op_CreateTrafficMirrorFilterRule.go.snap @@ -15,7 +15,6 @@ CreateTrafficMirrorFilterRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateTrafficMirrorSession.go.snap b/service/ec2/snapshot/api_op_CreateTrafficMirrorSession.go.snap index afcb67b9342..3bf01185da8 100644 --- a/service/ec2/snapshot/api_op_CreateTrafficMirrorSession.go.snap +++ b/service/ec2/snapshot/api_op_CreateTrafficMirrorSession.go.snap @@ -15,7 +15,6 @@ CreateTrafficMirrorSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateTrafficMirrorTarget.go.snap b/service/ec2/snapshot/api_op_CreateTrafficMirrorTarget.go.snap index df6ed575ea0..a9dc053361b 100644 --- a/service/ec2/snapshot/api_op_CreateTrafficMirrorTarget.go.snap +++ b/service/ec2/snapshot/api_op_CreateTrafficMirrorTarget.go.snap @@ -14,7 +14,6 @@ CreateTrafficMirrorTarget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateTransitGateway.go.snap b/service/ec2/snapshot/api_op_CreateTransitGateway.go.snap index a2add760495..6332aa14863 100644 --- a/service/ec2/snapshot/api_op_CreateTransitGateway.go.snap +++ b/service/ec2/snapshot/api_op_CreateTransitGateway.go.snap @@ -13,7 +13,6 @@ CreateTransitGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateTransitGatewayConnect.go.snap b/service/ec2/snapshot/api_op_CreateTransitGatewayConnect.go.snap index 6063c127192..47c265d6aa2 100644 --- a/service/ec2/snapshot/api_op_CreateTransitGatewayConnect.go.snap +++ b/service/ec2/snapshot/api_op_CreateTransitGatewayConnect.go.snap @@ -14,7 +14,6 @@ CreateTransitGatewayConnect Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateTransitGatewayConnectPeer.go.snap b/service/ec2/snapshot/api_op_CreateTransitGatewayConnectPeer.go.snap index 3051e3cebaf..9eb9bd79476 100644 --- a/service/ec2/snapshot/api_op_CreateTransitGatewayConnectPeer.go.snap +++ b/service/ec2/snapshot/api_op_CreateTransitGatewayConnectPeer.go.snap @@ -14,7 +14,6 @@ CreateTransitGatewayConnectPeer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateTransitGatewayMulticastDomain.go.snap b/service/ec2/snapshot/api_op_CreateTransitGatewayMulticastDomain.go.snap index df8bbb2b745..7ba3934cfdf 100644 --- a/service/ec2/snapshot/api_op_CreateTransitGatewayMulticastDomain.go.snap +++ b/service/ec2/snapshot/api_op_CreateTransitGatewayMulticastDomain.go.snap @@ -14,7 +14,6 @@ CreateTransitGatewayMulticastDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateTransitGatewayPeeringAttachment.go.snap b/service/ec2/snapshot/api_op_CreateTransitGatewayPeeringAttachment.go.snap index c33dbbb0de6..f39e6796600 100644 --- a/service/ec2/snapshot/api_op_CreateTransitGatewayPeeringAttachment.go.snap +++ b/service/ec2/snapshot/api_op_CreateTransitGatewayPeeringAttachment.go.snap @@ -14,7 +14,6 @@ CreateTransitGatewayPeeringAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateTransitGatewayPolicyTable.go.snap b/service/ec2/snapshot/api_op_CreateTransitGatewayPolicyTable.go.snap index 8967b33a852..db9b4521994 100644 --- a/service/ec2/snapshot/api_op_CreateTransitGatewayPolicyTable.go.snap +++ b/service/ec2/snapshot/api_op_CreateTransitGatewayPolicyTable.go.snap @@ -14,7 +14,6 @@ CreateTransitGatewayPolicyTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateTransitGatewayPrefixListReference.go.snap b/service/ec2/snapshot/api_op_CreateTransitGatewayPrefixListReference.go.snap index 569291cc338..3d65cd8ac27 100644 --- a/service/ec2/snapshot/api_op_CreateTransitGatewayPrefixListReference.go.snap +++ b/service/ec2/snapshot/api_op_CreateTransitGatewayPrefixListReference.go.snap @@ -14,7 +14,6 @@ CreateTransitGatewayPrefixListReference Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateTransitGatewayRoute.go.snap b/service/ec2/snapshot/api_op_CreateTransitGatewayRoute.go.snap index 95b988db6b1..2fd22503feb 100644 --- a/service/ec2/snapshot/api_op_CreateTransitGatewayRoute.go.snap +++ b/service/ec2/snapshot/api_op_CreateTransitGatewayRoute.go.snap @@ -14,7 +14,6 @@ CreateTransitGatewayRoute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateTransitGatewayRouteTable.go.snap b/service/ec2/snapshot/api_op_CreateTransitGatewayRouteTable.go.snap index 7d02c5487ea..554a6676ad2 100644 --- a/service/ec2/snapshot/api_op_CreateTransitGatewayRouteTable.go.snap +++ b/service/ec2/snapshot/api_op_CreateTransitGatewayRouteTable.go.snap @@ -14,7 +14,6 @@ CreateTransitGatewayRouteTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateTransitGatewayRouteTableAnnouncement.go.snap b/service/ec2/snapshot/api_op_CreateTransitGatewayRouteTableAnnouncement.go.snap index 6b332e2535d..7c048c445f4 100644 --- a/service/ec2/snapshot/api_op_CreateTransitGatewayRouteTableAnnouncement.go.snap +++ b/service/ec2/snapshot/api_op_CreateTransitGatewayRouteTableAnnouncement.go.snap @@ -14,7 +14,6 @@ CreateTransitGatewayRouteTableAnnouncement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateTransitGatewayVpcAttachment.go.snap b/service/ec2/snapshot/api_op_CreateTransitGatewayVpcAttachment.go.snap index 21bc4516a5c..9b5d89a444d 100644 --- a/service/ec2/snapshot/api_op_CreateTransitGatewayVpcAttachment.go.snap +++ b/service/ec2/snapshot/api_op_CreateTransitGatewayVpcAttachment.go.snap @@ -14,7 +14,6 @@ CreateTransitGatewayVpcAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateVerifiedAccessEndpoint.go.snap b/service/ec2/snapshot/api_op_CreateVerifiedAccessEndpoint.go.snap index 9d1b3cdcd7f..05cfa444a90 100644 --- a/service/ec2/snapshot/api_op_CreateVerifiedAccessEndpoint.go.snap +++ b/service/ec2/snapshot/api_op_CreateVerifiedAccessEndpoint.go.snap @@ -15,7 +15,6 @@ CreateVerifiedAccessEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateVerifiedAccessGroup.go.snap b/service/ec2/snapshot/api_op_CreateVerifiedAccessGroup.go.snap index 879011a2800..fd5523c9767 100644 --- a/service/ec2/snapshot/api_op_CreateVerifiedAccessGroup.go.snap +++ b/service/ec2/snapshot/api_op_CreateVerifiedAccessGroup.go.snap @@ -15,7 +15,6 @@ CreateVerifiedAccessGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateVerifiedAccessInstance.go.snap b/service/ec2/snapshot/api_op_CreateVerifiedAccessInstance.go.snap index b31ff9053b5..4329233e47f 100644 --- a/service/ec2/snapshot/api_op_CreateVerifiedAccessInstance.go.snap +++ b/service/ec2/snapshot/api_op_CreateVerifiedAccessInstance.go.snap @@ -14,7 +14,6 @@ CreateVerifiedAccessInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateVerifiedAccessTrustProvider.go.snap b/service/ec2/snapshot/api_op_CreateVerifiedAccessTrustProvider.go.snap index db539403bfb..61708b2ef1b 100644 --- a/service/ec2/snapshot/api_op_CreateVerifiedAccessTrustProvider.go.snap +++ b/service/ec2/snapshot/api_op_CreateVerifiedAccessTrustProvider.go.snap @@ -15,7 +15,6 @@ CreateVerifiedAccessTrustProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateVolume.go.snap b/service/ec2/snapshot/api_op_CreateVolume.go.snap index 694c45058ed..094ab3e33e0 100644 --- a/service/ec2/snapshot/api_op_CreateVolume.go.snap +++ b/service/ec2/snapshot/api_op_CreateVolume.go.snap @@ -15,7 +15,6 @@ CreateVolume Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateVpc.go.snap b/service/ec2/snapshot/api_op_CreateVpc.go.snap index 42d0dd28fcc..2efdf0c0bdc 100644 --- a/service/ec2/snapshot/api_op_CreateVpc.go.snap +++ b/service/ec2/snapshot/api_op_CreateVpc.go.snap @@ -13,7 +13,6 @@ CreateVpc Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateVpcBlockPublicAccessExclusion.go.snap b/service/ec2/snapshot/api_op_CreateVpcBlockPublicAccessExclusion.go.snap index 9ac9a3fe680..789edf70dbe 100644 --- a/service/ec2/snapshot/api_op_CreateVpcBlockPublicAccessExclusion.go.snap +++ b/service/ec2/snapshot/api_op_CreateVpcBlockPublicAccessExclusion.go.snap @@ -14,7 +14,6 @@ CreateVpcBlockPublicAccessExclusion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateVpcEndpoint.go.snap b/service/ec2/snapshot/api_op_CreateVpcEndpoint.go.snap index 2711d80d6ad..dc7a815c05e 100644 --- a/service/ec2/snapshot/api_op_CreateVpcEndpoint.go.snap +++ b/service/ec2/snapshot/api_op_CreateVpcEndpoint.go.snap @@ -14,7 +14,6 @@ CreateVpcEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateVpcEndpointConnectionNotification.go.snap b/service/ec2/snapshot/api_op_CreateVpcEndpointConnectionNotification.go.snap index 4bb91850348..f8cc2135955 100644 --- a/service/ec2/snapshot/api_op_CreateVpcEndpointConnectionNotification.go.snap +++ b/service/ec2/snapshot/api_op_CreateVpcEndpointConnectionNotification.go.snap @@ -14,7 +14,6 @@ CreateVpcEndpointConnectionNotification Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateVpcEndpointServiceConfiguration.go.snap b/service/ec2/snapshot/api_op_CreateVpcEndpointServiceConfiguration.go.snap index 924588f5c61..793461fe109 100644 --- a/service/ec2/snapshot/api_op_CreateVpcEndpointServiceConfiguration.go.snap +++ b/service/ec2/snapshot/api_op_CreateVpcEndpointServiceConfiguration.go.snap @@ -13,7 +13,6 @@ CreateVpcEndpointServiceConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateVpcPeeringConnection.go.snap b/service/ec2/snapshot/api_op_CreateVpcPeeringConnection.go.snap index f219c4cccd1..dfdf2b5702a 100644 --- a/service/ec2/snapshot/api_op_CreateVpcPeeringConnection.go.snap +++ b/service/ec2/snapshot/api_op_CreateVpcPeeringConnection.go.snap @@ -14,7 +14,6 @@ CreateVpcPeeringConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateVpnConnection.go.snap b/service/ec2/snapshot/api_op_CreateVpnConnection.go.snap index d0847199d8e..b3f2b4a9c0b 100644 --- a/service/ec2/snapshot/api_op_CreateVpnConnection.go.snap +++ b/service/ec2/snapshot/api_op_CreateVpnConnection.go.snap @@ -14,7 +14,6 @@ CreateVpnConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateVpnConnectionRoute.go.snap b/service/ec2/snapshot/api_op_CreateVpnConnectionRoute.go.snap index 80905a95cca..493db792c53 100644 --- a/service/ec2/snapshot/api_op_CreateVpnConnectionRoute.go.snap +++ b/service/ec2/snapshot/api_op_CreateVpnConnectionRoute.go.snap @@ -14,7 +14,6 @@ CreateVpnConnectionRoute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_CreateVpnGateway.go.snap b/service/ec2/snapshot/api_op_CreateVpnGateway.go.snap index e1371c11d80..8841ddfcec1 100644 --- a/service/ec2/snapshot/api_op_CreateVpnGateway.go.snap +++ b/service/ec2/snapshot/api_op_CreateVpnGateway.go.snap @@ -14,7 +14,6 @@ CreateVpnGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteCarrierGateway.go.snap b/service/ec2/snapshot/api_op_DeleteCarrierGateway.go.snap index 718b4237e26..f775fad2e34 100644 --- a/service/ec2/snapshot/api_op_DeleteCarrierGateway.go.snap +++ b/service/ec2/snapshot/api_op_DeleteCarrierGateway.go.snap @@ -14,7 +14,6 @@ DeleteCarrierGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteClientVpnEndpoint.go.snap b/service/ec2/snapshot/api_op_DeleteClientVpnEndpoint.go.snap index e718e0251e1..6e1f8fef9da 100644 --- a/service/ec2/snapshot/api_op_DeleteClientVpnEndpoint.go.snap +++ b/service/ec2/snapshot/api_op_DeleteClientVpnEndpoint.go.snap @@ -14,7 +14,6 @@ DeleteClientVpnEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteClientVpnRoute.go.snap b/service/ec2/snapshot/api_op_DeleteClientVpnRoute.go.snap index dfc97077b0a..f0c28c194a6 100644 --- a/service/ec2/snapshot/api_op_DeleteClientVpnRoute.go.snap +++ b/service/ec2/snapshot/api_op_DeleteClientVpnRoute.go.snap @@ -14,7 +14,6 @@ DeleteClientVpnRoute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteCoipCidr.go.snap b/service/ec2/snapshot/api_op_DeleteCoipCidr.go.snap index 0e4cbaf5e96..0c5b0fa1bce 100644 --- a/service/ec2/snapshot/api_op_DeleteCoipCidr.go.snap +++ b/service/ec2/snapshot/api_op_DeleteCoipCidr.go.snap @@ -14,7 +14,6 @@ DeleteCoipCidr Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteCoipPool.go.snap b/service/ec2/snapshot/api_op_DeleteCoipPool.go.snap index 503c87cd0b8..120bdca7dc5 100644 --- a/service/ec2/snapshot/api_op_DeleteCoipPool.go.snap +++ b/service/ec2/snapshot/api_op_DeleteCoipPool.go.snap @@ -14,7 +14,6 @@ DeleteCoipPool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteCustomerGateway.go.snap b/service/ec2/snapshot/api_op_DeleteCustomerGateway.go.snap index 85e6bb90b0c..b82f7a7ec2d 100644 --- a/service/ec2/snapshot/api_op_DeleteCustomerGateway.go.snap +++ b/service/ec2/snapshot/api_op_DeleteCustomerGateway.go.snap @@ -14,7 +14,6 @@ DeleteCustomerGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteDhcpOptions.go.snap b/service/ec2/snapshot/api_op_DeleteDhcpOptions.go.snap index bae02ef12ac..39ac1762c32 100644 --- a/service/ec2/snapshot/api_op_DeleteDhcpOptions.go.snap +++ b/service/ec2/snapshot/api_op_DeleteDhcpOptions.go.snap @@ -14,7 +14,6 @@ DeleteDhcpOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteEgressOnlyInternetGateway.go.snap b/service/ec2/snapshot/api_op_DeleteEgressOnlyInternetGateway.go.snap index 4a3f87422f8..94dc30f5231 100644 --- a/service/ec2/snapshot/api_op_DeleteEgressOnlyInternetGateway.go.snap +++ b/service/ec2/snapshot/api_op_DeleteEgressOnlyInternetGateway.go.snap @@ -14,7 +14,6 @@ DeleteEgressOnlyInternetGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteFleets.go.snap b/service/ec2/snapshot/api_op_DeleteFleets.go.snap index 5e55122cf08..6a266a6c013 100644 --- a/service/ec2/snapshot/api_op_DeleteFleets.go.snap +++ b/service/ec2/snapshot/api_op_DeleteFleets.go.snap @@ -14,7 +14,6 @@ DeleteFleets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteFlowLogs.go.snap b/service/ec2/snapshot/api_op_DeleteFlowLogs.go.snap index 770d4cf5867..2a3e4f3d143 100644 --- a/service/ec2/snapshot/api_op_DeleteFlowLogs.go.snap +++ b/service/ec2/snapshot/api_op_DeleteFlowLogs.go.snap @@ -14,7 +14,6 @@ DeleteFlowLogs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteFpgaImage.go.snap b/service/ec2/snapshot/api_op_DeleteFpgaImage.go.snap index 103083937fb..cef0f7ba7ae 100644 --- a/service/ec2/snapshot/api_op_DeleteFpgaImage.go.snap +++ b/service/ec2/snapshot/api_op_DeleteFpgaImage.go.snap @@ -14,7 +14,6 @@ DeleteFpgaImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteInstanceConnectEndpoint.go.snap b/service/ec2/snapshot/api_op_DeleteInstanceConnectEndpoint.go.snap index 1aaaf396d1e..42614b48940 100644 --- a/service/ec2/snapshot/api_op_DeleteInstanceConnectEndpoint.go.snap +++ b/service/ec2/snapshot/api_op_DeleteInstanceConnectEndpoint.go.snap @@ -14,7 +14,6 @@ DeleteInstanceConnectEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteInstanceEventWindow.go.snap b/service/ec2/snapshot/api_op_DeleteInstanceEventWindow.go.snap index 9ff08954068..6d90056c5f6 100644 --- a/service/ec2/snapshot/api_op_DeleteInstanceEventWindow.go.snap +++ b/service/ec2/snapshot/api_op_DeleteInstanceEventWindow.go.snap @@ -14,7 +14,6 @@ DeleteInstanceEventWindow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteInternetGateway.go.snap b/service/ec2/snapshot/api_op_DeleteInternetGateway.go.snap index f127656c6cb..776abd217ec 100644 --- a/service/ec2/snapshot/api_op_DeleteInternetGateway.go.snap +++ b/service/ec2/snapshot/api_op_DeleteInternetGateway.go.snap @@ -14,7 +14,6 @@ DeleteInternetGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteIpam.go.snap b/service/ec2/snapshot/api_op_DeleteIpam.go.snap index 782b57cf393..c696f677410 100644 --- a/service/ec2/snapshot/api_op_DeleteIpam.go.snap +++ b/service/ec2/snapshot/api_op_DeleteIpam.go.snap @@ -14,7 +14,6 @@ DeleteIpam Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteIpamExternalResourceVerificationToken.go.snap b/service/ec2/snapshot/api_op_DeleteIpamExternalResourceVerificationToken.go.snap index 58b5aa34aa7..072d74cd669 100644 --- a/service/ec2/snapshot/api_op_DeleteIpamExternalResourceVerificationToken.go.snap +++ b/service/ec2/snapshot/api_op_DeleteIpamExternalResourceVerificationToken.go.snap @@ -14,7 +14,6 @@ DeleteIpamExternalResourceVerificationToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteIpamPool.go.snap b/service/ec2/snapshot/api_op_DeleteIpamPool.go.snap index f6bce330399..0f2b74905b5 100644 --- a/service/ec2/snapshot/api_op_DeleteIpamPool.go.snap +++ b/service/ec2/snapshot/api_op_DeleteIpamPool.go.snap @@ -14,7 +14,6 @@ DeleteIpamPool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteIpamResourceDiscovery.go.snap b/service/ec2/snapshot/api_op_DeleteIpamResourceDiscovery.go.snap index fcd18467ae3..4724222ba00 100644 --- a/service/ec2/snapshot/api_op_DeleteIpamResourceDiscovery.go.snap +++ b/service/ec2/snapshot/api_op_DeleteIpamResourceDiscovery.go.snap @@ -14,7 +14,6 @@ DeleteIpamResourceDiscovery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteIpamScope.go.snap b/service/ec2/snapshot/api_op_DeleteIpamScope.go.snap index 0f7ff53ceb9..0818884b91a 100644 --- a/service/ec2/snapshot/api_op_DeleteIpamScope.go.snap +++ b/service/ec2/snapshot/api_op_DeleteIpamScope.go.snap @@ -14,7 +14,6 @@ DeleteIpamScope Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteKeyPair.go.snap b/service/ec2/snapshot/api_op_DeleteKeyPair.go.snap index 07e1f657e75..8b1069ffa2c 100644 --- a/service/ec2/snapshot/api_op_DeleteKeyPair.go.snap +++ b/service/ec2/snapshot/api_op_DeleteKeyPair.go.snap @@ -13,7 +13,6 @@ DeleteKeyPair Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteLaunchTemplate.go.snap b/service/ec2/snapshot/api_op_DeleteLaunchTemplate.go.snap index 43d50e29081..6dc3c8420cf 100644 --- a/service/ec2/snapshot/api_op_DeleteLaunchTemplate.go.snap +++ b/service/ec2/snapshot/api_op_DeleteLaunchTemplate.go.snap @@ -13,7 +13,6 @@ DeleteLaunchTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteLaunchTemplateVersions.go.snap b/service/ec2/snapshot/api_op_DeleteLaunchTemplateVersions.go.snap index 585101aff2e..9fd8f5714e4 100644 --- a/service/ec2/snapshot/api_op_DeleteLaunchTemplateVersions.go.snap +++ b/service/ec2/snapshot/api_op_DeleteLaunchTemplateVersions.go.snap @@ -14,7 +14,6 @@ DeleteLaunchTemplateVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteLocalGatewayRoute.go.snap b/service/ec2/snapshot/api_op_DeleteLocalGatewayRoute.go.snap index 4d4eca3750f..581c5d2348a 100644 --- a/service/ec2/snapshot/api_op_DeleteLocalGatewayRoute.go.snap +++ b/service/ec2/snapshot/api_op_DeleteLocalGatewayRoute.go.snap @@ -14,7 +14,6 @@ DeleteLocalGatewayRoute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteLocalGatewayRouteTable.go.snap b/service/ec2/snapshot/api_op_DeleteLocalGatewayRouteTable.go.snap index d275ef0fa8f..41b6b53a2ef 100644 --- a/service/ec2/snapshot/api_op_DeleteLocalGatewayRouteTable.go.snap +++ b/service/ec2/snapshot/api_op_DeleteLocalGatewayRouteTable.go.snap @@ -14,7 +14,6 @@ DeleteLocalGatewayRouteTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation.go.snap b/service/ec2/snapshot/api_op_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation.go.snap index 0af4bcb158c..38660bc631c 100644 --- a/service/ec2/snapshot/api_op_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation.go.snap +++ b/service/ec2/snapshot/api_op_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation.go.snap @@ -14,7 +14,6 @@ DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteLocalGatewayRouteTableVpcAssociation.go.snap b/service/ec2/snapshot/api_op_DeleteLocalGatewayRouteTableVpcAssociation.go.snap index 1fd0747789e..df91e309395 100644 --- a/service/ec2/snapshot/api_op_DeleteLocalGatewayRouteTableVpcAssociation.go.snap +++ b/service/ec2/snapshot/api_op_DeleteLocalGatewayRouteTableVpcAssociation.go.snap @@ -14,7 +14,6 @@ DeleteLocalGatewayRouteTableVpcAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteManagedPrefixList.go.snap b/service/ec2/snapshot/api_op_DeleteManagedPrefixList.go.snap index 07e487bcb9e..c624ddc7915 100644 --- a/service/ec2/snapshot/api_op_DeleteManagedPrefixList.go.snap +++ b/service/ec2/snapshot/api_op_DeleteManagedPrefixList.go.snap @@ -14,7 +14,6 @@ DeleteManagedPrefixList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteNatGateway.go.snap b/service/ec2/snapshot/api_op_DeleteNatGateway.go.snap index 7003a2b337d..84735fb997b 100644 --- a/service/ec2/snapshot/api_op_DeleteNatGateway.go.snap +++ b/service/ec2/snapshot/api_op_DeleteNatGateway.go.snap @@ -14,7 +14,6 @@ DeleteNatGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteNetworkAcl.go.snap b/service/ec2/snapshot/api_op_DeleteNetworkAcl.go.snap index 9136916421d..4fb5df89595 100644 --- a/service/ec2/snapshot/api_op_DeleteNetworkAcl.go.snap +++ b/service/ec2/snapshot/api_op_DeleteNetworkAcl.go.snap @@ -14,7 +14,6 @@ DeleteNetworkAcl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteNetworkAclEntry.go.snap b/service/ec2/snapshot/api_op_DeleteNetworkAclEntry.go.snap index 0193a8f2b32..2dd8d8a458a 100644 --- a/service/ec2/snapshot/api_op_DeleteNetworkAclEntry.go.snap +++ b/service/ec2/snapshot/api_op_DeleteNetworkAclEntry.go.snap @@ -14,7 +14,6 @@ DeleteNetworkAclEntry Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteNetworkInsightsAccessScope.go.snap b/service/ec2/snapshot/api_op_DeleteNetworkInsightsAccessScope.go.snap index 33ad0d578c9..89b8e25f853 100644 --- a/service/ec2/snapshot/api_op_DeleteNetworkInsightsAccessScope.go.snap +++ b/service/ec2/snapshot/api_op_DeleteNetworkInsightsAccessScope.go.snap @@ -14,7 +14,6 @@ DeleteNetworkInsightsAccessScope Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteNetworkInsightsAccessScopeAnalysis.go.snap b/service/ec2/snapshot/api_op_DeleteNetworkInsightsAccessScopeAnalysis.go.snap index 95731c3a698..e9b7debda7e 100644 --- a/service/ec2/snapshot/api_op_DeleteNetworkInsightsAccessScopeAnalysis.go.snap +++ b/service/ec2/snapshot/api_op_DeleteNetworkInsightsAccessScopeAnalysis.go.snap @@ -14,7 +14,6 @@ DeleteNetworkInsightsAccessScopeAnalysis Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteNetworkInsightsAnalysis.go.snap b/service/ec2/snapshot/api_op_DeleteNetworkInsightsAnalysis.go.snap index fb4b0370fc9..2e9d9782298 100644 --- a/service/ec2/snapshot/api_op_DeleteNetworkInsightsAnalysis.go.snap +++ b/service/ec2/snapshot/api_op_DeleteNetworkInsightsAnalysis.go.snap @@ -14,7 +14,6 @@ DeleteNetworkInsightsAnalysis Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteNetworkInsightsPath.go.snap b/service/ec2/snapshot/api_op_DeleteNetworkInsightsPath.go.snap index 40f4ee619d6..e0ccf4a6c82 100644 --- a/service/ec2/snapshot/api_op_DeleteNetworkInsightsPath.go.snap +++ b/service/ec2/snapshot/api_op_DeleteNetworkInsightsPath.go.snap @@ -14,7 +14,6 @@ DeleteNetworkInsightsPath Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteNetworkInterface.go.snap b/service/ec2/snapshot/api_op_DeleteNetworkInterface.go.snap index a597eee7596..7286b8ebee5 100644 --- a/service/ec2/snapshot/api_op_DeleteNetworkInterface.go.snap +++ b/service/ec2/snapshot/api_op_DeleteNetworkInterface.go.snap @@ -14,7 +14,6 @@ DeleteNetworkInterface Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteNetworkInterfacePermission.go.snap b/service/ec2/snapshot/api_op_DeleteNetworkInterfacePermission.go.snap index 43719396a76..0d347904aee 100644 --- a/service/ec2/snapshot/api_op_DeleteNetworkInterfacePermission.go.snap +++ b/service/ec2/snapshot/api_op_DeleteNetworkInterfacePermission.go.snap @@ -14,7 +14,6 @@ DeleteNetworkInterfacePermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeletePlacementGroup.go.snap b/service/ec2/snapshot/api_op_DeletePlacementGroup.go.snap index a9d10a0805d..02b87e7c2de 100644 --- a/service/ec2/snapshot/api_op_DeletePlacementGroup.go.snap +++ b/service/ec2/snapshot/api_op_DeletePlacementGroup.go.snap @@ -14,7 +14,6 @@ DeletePlacementGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeletePublicIpv4Pool.go.snap b/service/ec2/snapshot/api_op_DeletePublicIpv4Pool.go.snap index 961445b18b6..804a1edce08 100644 --- a/service/ec2/snapshot/api_op_DeletePublicIpv4Pool.go.snap +++ b/service/ec2/snapshot/api_op_DeletePublicIpv4Pool.go.snap @@ -14,7 +14,6 @@ DeletePublicIpv4Pool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteQueuedReservedInstances.go.snap b/service/ec2/snapshot/api_op_DeleteQueuedReservedInstances.go.snap index 3e95980c84c..fc049cdbb96 100644 --- a/service/ec2/snapshot/api_op_DeleteQueuedReservedInstances.go.snap +++ b/service/ec2/snapshot/api_op_DeleteQueuedReservedInstances.go.snap @@ -14,7 +14,6 @@ DeleteQueuedReservedInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteRoute.go.snap b/service/ec2/snapshot/api_op_DeleteRoute.go.snap index ec3f8a11fa2..8d7b1473a8c 100644 --- a/service/ec2/snapshot/api_op_DeleteRoute.go.snap +++ b/service/ec2/snapshot/api_op_DeleteRoute.go.snap @@ -14,7 +14,6 @@ DeleteRoute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteRouteTable.go.snap b/service/ec2/snapshot/api_op_DeleteRouteTable.go.snap index a0c373b2bba..434c070b431 100644 --- a/service/ec2/snapshot/api_op_DeleteRouteTable.go.snap +++ b/service/ec2/snapshot/api_op_DeleteRouteTable.go.snap @@ -14,7 +14,6 @@ DeleteRouteTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteSecurityGroup.go.snap b/service/ec2/snapshot/api_op_DeleteSecurityGroup.go.snap index b371a282afb..fc6c0337852 100644 --- a/service/ec2/snapshot/api_op_DeleteSecurityGroup.go.snap +++ b/service/ec2/snapshot/api_op_DeleteSecurityGroup.go.snap @@ -13,7 +13,6 @@ DeleteSecurityGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteSnapshot.go.snap b/service/ec2/snapshot/api_op_DeleteSnapshot.go.snap index f4046d31f87..054fe5bb9b5 100644 --- a/service/ec2/snapshot/api_op_DeleteSnapshot.go.snap +++ b/service/ec2/snapshot/api_op_DeleteSnapshot.go.snap @@ -14,7 +14,6 @@ DeleteSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteSpotDatafeedSubscription.go.snap b/service/ec2/snapshot/api_op_DeleteSpotDatafeedSubscription.go.snap index 9051800ca93..db6f56e8b1d 100644 --- a/service/ec2/snapshot/api_op_DeleteSpotDatafeedSubscription.go.snap +++ b/service/ec2/snapshot/api_op_DeleteSpotDatafeedSubscription.go.snap @@ -13,7 +13,6 @@ DeleteSpotDatafeedSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteSubnet.go.snap b/service/ec2/snapshot/api_op_DeleteSubnet.go.snap index 102a15119ed..4fe255ff72f 100644 --- a/service/ec2/snapshot/api_op_DeleteSubnet.go.snap +++ b/service/ec2/snapshot/api_op_DeleteSubnet.go.snap @@ -14,7 +14,6 @@ DeleteSubnet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteSubnetCidrReservation.go.snap b/service/ec2/snapshot/api_op_DeleteSubnetCidrReservation.go.snap index 97018682401..4ffd2bed432 100644 --- a/service/ec2/snapshot/api_op_DeleteSubnetCidrReservation.go.snap +++ b/service/ec2/snapshot/api_op_DeleteSubnetCidrReservation.go.snap @@ -14,7 +14,6 @@ DeleteSubnetCidrReservation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteTags.go.snap b/service/ec2/snapshot/api_op_DeleteTags.go.snap index 7821a01e140..0eeb01dca01 100644 --- a/service/ec2/snapshot/api_op_DeleteTags.go.snap +++ b/service/ec2/snapshot/api_op_DeleteTags.go.snap @@ -14,7 +14,6 @@ DeleteTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteTrafficMirrorFilter.go.snap b/service/ec2/snapshot/api_op_DeleteTrafficMirrorFilter.go.snap index 351e4bcedfa..d85eee5bfad 100644 --- a/service/ec2/snapshot/api_op_DeleteTrafficMirrorFilter.go.snap +++ b/service/ec2/snapshot/api_op_DeleteTrafficMirrorFilter.go.snap @@ -14,7 +14,6 @@ DeleteTrafficMirrorFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteTrafficMirrorFilterRule.go.snap b/service/ec2/snapshot/api_op_DeleteTrafficMirrorFilterRule.go.snap index 6b5390ccb87..eaf78bcdf2e 100644 --- a/service/ec2/snapshot/api_op_DeleteTrafficMirrorFilterRule.go.snap +++ b/service/ec2/snapshot/api_op_DeleteTrafficMirrorFilterRule.go.snap @@ -14,7 +14,6 @@ DeleteTrafficMirrorFilterRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteTrafficMirrorSession.go.snap b/service/ec2/snapshot/api_op_DeleteTrafficMirrorSession.go.snap index 19df57f6159..b7eb609f7b7 100644 --- a/service/ec2/snapshot/api_op_DeleteTrafficMirrorSession.go.snap +++ b/service/ec2/snapshot/api_op_DeleteTrafficMirrorSession.go.snap @@ -14,7 +14,6 @@ DeleteTrafficMirrorSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteTrafficMirrorTarget.go.snap b/service/ec2/snapshot/api_op_DeleteTrafficMirrorTarget.go.snap index 8bb5911163d..0090dc585b6 100644 --- a/service/ec2/snapshot/api_op_DeleteTrafficMirrorTarget.go.snap +++ b/service/ec2/snapshot/api_op_DeleteTrafficMirrorTarget.go.snap @@ -14,7 +14,6 @@ DeleteTrafficMirrorTarget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteTransitGateway.go.snap b/service/ec2/snapshot/api_op_DeleteTransitGateway.go.snap index 8d24b01f77c..38e58ed471a 100644 --- a/service/ec2/snapshot/api_op_DeleteTransitGateway.go.snap +++ b/service/ec2/snapshot/api_op_DeleteTransitGateway.go.snap @@ -14,7 +14,6 @@ DeleteTransitGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteTransitGatewayConnect.go.snap b/service/ec2/snapshot/api_op_DeleteTransitGatewayConnect.go.snap index 4164786ea6b..00aaf45fa05 100644 --- a/service/ec2/snapshot/api_op_DeleteTransitGatewayConnect.go.snap +++ b/service/ec2/snapshot/api_op_DeleteTransitGatewayConnect.go.snap @@ -14,7 +14,6 @@ DeleteTransitGatewayConnect Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteTransitGatewayConnectPeer.go.snap b/service/ec2/snapshot/api_op_DeleteTransitGatewayConnectPeer.go.snap index 57f6fe28b31..caa25f77142 100644 --- a/service/ec2/snapshot/api_op_DeleteTransitGatewayConnectPeer.go.snap +++ b/service/ec2/snapshot/api_op_DeleteTransitGatewayConnectPeer.go.snap @@ -14,7 +14,6 @@ DeleteTransitGatewayConnectPeer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteTransitGatewayMulticastDomain.go.snap b/service/ec2/snapshot/api_op_DeleteTransitGatewayMulticastDomain.go.snap index 5ae19c971c6..833386d0f8e 100644 --- a/service/ec2/snapshot/api_op_DeleteTransitGatewayMulticastDomain.go.snap +++ b/service/ec2/snapshot/api_op_DeleteTransitGatewayMulticastDomain.go.snap @@ -14,7 +14,6 @@ DeleteTransitGatewayMulticastDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteTransitGatewayPeeringAttachment.go.snap b/service/ec2/snapshot/api_op_DeleteTransitGatewayPeeringAttachment.go.snap index 5a0827440be..2f60024049f 100644 --- a/service/ec2/snapshot/api_op_DeleteTransitGatewayPeeringAttachment.go.snap +++ b/service/ec2/snapshot/api_op_DeleteTransitGatewayPeeringAttachment.go.snap @@ -14,7 +14,6 @@ DeleteTransitGatewayPeeringAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteTransitGatewayPolicyTable.go.snap b/service/ec2/snapshot/api_op_DeleteTransitGatewayPolicyTable.go.snap index 4e82b182766..8b730bb2d05 100644 --- a/service/ec2/snapshot/api_op_DeleteTransitGatewayPolicyTable.go.snap +++ b/service/ec2/snapshot/api_op_DeleteTransitGatewayPolicyTable.go.snap @@ -14,7 +14,6 @@ DeleteTransitGatewayPolicyTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteTransitGatewayPrefixListReference.go.snap b/service/ec2/snapshot/api_op_DeleteTransitGatewayPrefixListReference.go.snap index 201a85edc9c..cb736840ef4 100644 --- a/service/ec2/snapshot/api_op_DeleteTransitGatewayPrefixListReference.go.snap +++ b/service/ec2/snapshot/api_op_DeleteTransitGatewayPrefixListReference.go.snap @@ -14,7 +14,6 @@ DeleteTransitGatewayPrefixListReference Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteTransitGatewayRoute.go.snap b/service/ec2/snapshot/api_op_DeleteTransitGatewayRoute.go.snap index bcaec80400e..6fba01bada0 100644 --- a/service/ec2/snapshot/api_op_DeleteTransitGatewayRoute.go.snap +++ b/service/ec2/snapshot/api_op_DeleteTransitGatewayRoute.go.snap @@ -14,7 +14,6 @@ DeleteTransitGatewayRoute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteTransitGatewayRouteTable.go.snap b/service/ec2/snapshot/api_op_DeleteTransitGatewayRouteTable.go.snap index f5e87d845c1..82ea1e68be7 100644 --- a/service/ec2/snapshot/api_op_DeleteTransitGatewayRouteTable.go.snap +++ b/service/ec2/snapshot/api_op_DeleteTransitGatewayRouteTable.go.snap @@ -14,7 +14,6 @@ DeleteTransitGatewayRouteTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteTransitGatewayRouteTableAnnouncement.go.snap b/service/ec2/snapshot/api_op_DeleteTransitGatewayRouteTableAnnouncement.go.snap index ffb424a21b2..52f09aeb078 100644 --- a/service/ec2/snapshot/api_op_DeleteTransitGatewayRouteTableAnnouncement.go.snap +++ b/service/ec2/snapshot/api_op_DeleteTransitGatewayRouteTableAnnouncement.go.snap @@ -14,7 +14,6 @@ DeleteTransitGatewayRouteTableAnnouncement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteTransitGatewayVpcAttachment.go.snap b/service/ec2/snapshot/api_op_DeleteTransitGatewayVpcAttachment.go.snap index 84ba21acc83..ead449df40a 100644 --- a/service/ec2/snapshot/api_op_DeleteTransitGatewayVpcAttachment.go.snap +++ b/service/ec2/snapshot/api_op_DeleteTransitGatewayVpcAttachment.go.snap @@ -14,7 +14,6 @@ DeleteTransitGatewayVpcAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteVerifiedAccessEndpoint.go.snap b/service/ec2/snapshot/api_op_DeleteVerifiedAccessEndpoint.go.snap index d7b236c342b..0daea72a381 100644 --- a/service/ec2/snapshot/api_op_DeleteVerifiedAccessEndpoint.go.snap +++ b/service/ec2/snapshot/api_op_DeleteVerifiedAccessEndpoint.go.snap @@ -15,7 +15,6 @@ DeleteVerifiedAccessEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteVerifiedAccessGroup.go.snap b/service/ec2/snapshot/api_op_DeleteVerifiedAccessGroup.go.snap index 3423a15d1be..38dba66f49f 100644 --- a/service/ec2/snapshot/api_op_DeleteVerifiedAccessGroup.go.snap +++ b/service/ec2/snapshot/api_op_DeleteVerifiedAccessGroup.go.snap @@ -15,7 +15,6 @@ DeleteVerifiedAccessGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteVerifiedAccessInstance.go.snap b/service/ec2/snapshot/api_op_DeleteVerifiedAccessInstance.go.snap index 1a2941aee47..56fc6cc9a55 100644 --- a/service/ec2/snapshot/api_op_DeleteVerifiedAccessInstance.go.snap +++ b/service/ec2/snapshot/api_op_DeleteVerifiedAccessInstance.go.snap @@ -15,7 +15,6 @@ DeleteVerifiedAccessInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteVerifiedAccessTrustProvider.go.snap b/service/ec2/snapshot/api_op_DeleteVerifiedAccessTrustProvider.go.snap index 0a8e48a5e85..21a7bb8afb8 100644 --- a/service/ec2/snapshot/api_op_DeleteVerifiedAccessTrustProvider.go.snap +++ b/service/ec2/snapshot/api_op_DeleteVerifiedAccessTrustProvider.go.snap @@ -15,7 +15,6 @@ DeleteVerifiedAccessTrustProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteVolume.go.snap b/service/ec2/snapshot/api_op_DeleteVolume.go.snap index 1089f8f359f..c1464f4a549 100644 --- a/service/ec2/snapshot/api_op_DeleteVolume.go.snap +++ b/service/ec2/snapshot/api_op_DeleteVolume.go.snap @@ -14,7 +14,6 @@ DeleteVolume Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteVpc.go.snap b/service/ec2/snapshot/api_op_DeleteVpc.go.snap index c3fd5a75f82..4d7588ab0d1 100644 --- a/service/ec2/snapshot/api_op_DeleteVpc.go.snap +++ b/service/ec2/snapshot/api_op_DeleteVpc.go.snap @@ -14,7 +14,6 @@ DeleteVpc Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteVpcBlockPublicAccessExclusion.go.snap b/service/ec2/snapshot/api_op_DeleteVpcBlockPublicAccessExclusion.go.snap index 857c392f04c..c2c048c76fb 100644 --- a/service/ec2/snapshot/api_op_DeleteVpcBlockPublicAccessExclusion.go.snap +++ b/service/ec2/snapshot/api_op_DeleteVpcBlockPublicAccessExclusion.go.snap @@ -14,7 +14,6 @@ DeleteVpcBlockPublicAccessExclusion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteVpcEndpointConnectionNotifications.go.snap b/service/ec2/snapshot/api_op_DeleteVpcEndpointConnectionNotifications.go.snap index a2a1393f8da..cd8c21d3d1c 100644 --- a/service/ec2/snapshot/api_op_DeleteVpcEndpointConnectionNotifications.go.snap +++ b/service/ec2/snapshot/api_op_DeleteVpcEndpointConnectionNotifications.go.snap @@ -14,7 +14,6 @@ DeleteVpcEndpointConnectionNotifications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteVpcEndpointServiceConfigurations.go.snap b/service/ec2/snapshot/api_op_DeleteVpcEndpointServiceConfigurations.go.snap index de38ee268b2..150bb5efe4f 100644 --- a/service/ec2/snapshot/api_op_DeleteVpcEndpointServiceConfigurations.go.snap +++ b/service/ec2/snapshot/api_op_DeleteVpcEndpointServiceConfigurations.go.snap @@ -14,7 +14,6 @@ DeleteVpcEndpointServiceConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteVpcEndpoints.go.snap b/service/ec2/snapshot/api_op_DeleteVpcEndpoints.go.snap index 3181cef4520..54b421e7811 100644 --- a/service/ec2/snapshot/api_op_DeleteVpcEndpoints.go.snap +++ b/service/ec2/snapshot/api_op_DeleteVpcEndpoints.go.snap @@ -14,7 +14,6 @@ DeleteVpcEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteVpcPeeringConnection.go.snap b/service/ec2/snapshot/api_op_DeleteVpcPeeringConnection.go.snap index 8f9b1144ac2..e427d98b082 100644 --- a/service/ec2/snapshot/api_op_DeleteVpcPeeringConnection.go.snap +++ b/service/ec2/snapshot/api_op_DeleteVpcPeeringConnection.go.snap @@ -14,7 +14,6 @@ DeleteVpcPeeringConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteVpnConnection.go.snap b/service/ec2/snapshot/api_op_DeleteVpnConnection.go.snap index a8d01725c62..ea39eb3a658 100644 --- a/service/ec2/snapshot/api_op_DeleteVpnConnection.go.snap +++ b/service/ec2/snapshot/api_op_DeleteVpnConnection.go.snap @@ -14,7 +14,6 @@ DeleteVpnConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteVpnConnectionRoute.go.snap b/service/ec2/snapshot/api_op_DeleteVpnConnectionRoute.go.snap index 14d3e0f1cb3..b5569a70473 100644 --- a/service/ec2/snapshot/api_op_DeleteVpnConnectionRoute.go.snap +++ b/service/ec2/snapshot/api_op_DeleteVpnConnectionRoute.go.snap @@ -14,7 +14,6 @@ DeleteVpnConnectionRoute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeleteVpnGateway.go.snap b/service/ec2/snapshot/api_op_DeleteVpnGateway.go.snap index 85b644fe061..3c0bbf66ea3 100644 --- a/service/ec2/snapshot/api_op_DeleteVpnGateway.go.snap +++ b/service/ec2/snapshot/api_op_DeleteVpnGateway.go.snap @@ -14,7 +14,6 @@ DeleteVpnGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeprovisionByoipCidr.go.snap b/service/ec2/snapshot/api_op_DeprovisionByoipCidr.go.snap index fbcf6e75615..7ca5a557c56 100644 --- a/service/ec2/snapshot/api_op_DeprovisionByoipCidr.go.snap +++ b/service/ec2/snapshot/api_op_DeprovisionByoipCidr.go.snap @@ -14,7 +14,6 @@ DeprovisionByoipCidr Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeprovisionIpamByoasn.go.snap b/service/ec2/snapshot/api_op_DeprovisionIpamByoasn.go.snap index 900f86e0063..abd75121fe3 100644 --- a/service/ec2/snapshot/api_op_DeprovisionIpamByoasn.go.snap +++ b/service/ec2/snapshot/api_op_DeprovisionIpamByoasn.go.snap @@ -14,7 +14,6 @@ DeprovisionIpamByoasn Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeprovisionIpamPoolCidr.go.snap b/service/ec2/snapshot/api_op_DeprovisionIpamPoolCidr.go.snap index c79c4d777e9..2629e8f02d5 100644 --- a/service/ec2/snapshot/api_op_DeprovisionIpamPoolCidr.go.snap +++ b/service/ec2/snapshot/api_op_DeprovisionIpamPoolCidr.go.snap @@ -14,7 +14,6 @@ DeprovisionIpamPoolCidr Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeprovisionPublicIpv4PoolCidr.go.snap b/service/ec2/snapshot/api_op_DeprovisionPublicIpv4PoolCidr.go.snap index badbe3ce27a..cfe36869a7d 100644 --- a/service/ec2/snapshot/api_op_DeprovisionPublicIpv4PoolCidr.go.snap +++ b/service/ec2/snapshot/api_op_DeprovisionPublicIpv4PoolCidr.go.snap @@ -14,7 +14,6 @@ DeprovisionPublicIpv4PoolCidr Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeregisterImage.go.snap b/service/ec2/snapshot/api_op_DeregisterImage.go.snap index fa57a0e8266..ff99351d4cb 100644 --- a/service/ec2/snapshot/api_op_DeregisterImage.go.snap +++ b/service/ec2/snapshot/api_op_DeregisterImage.go.snap @@ -14,7 +14,6 @@ DeregisterImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeregisterInstanceEventNotificationAttributes.go.snap b/service/ec2/snapshot/api_op_DeregisterInstanceEventNotificationAttributes.go.snap index 0bd1c9cd66c..a37320773fd 100644 --- a/service/ec2/snapshot/api_op_DeregisterInstanceEventNotificationAttributes.go.snap +++ b/service/ec2/snapshot/api_op_DeregisterInstanceEventNotificationAttributes.go.snap @@ -14,7 +14,6 @@ DeregisterInstanceEventNotificationAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeregisterTransitGatewayMulticastGroupMembers.go.snap b/service/ec2/snapshot/api_op_DeregisterTransitGatewayMulticastGroupMembers.go.snap index 859e51d62ad..05b078f364a 100644 --- a/service/ec2/snapshot/api_op_DeregisterTransitGatewayMulticastGroupMembers.go.snap +++ b/service/ec2/snapshot/api_op_DeregisterTransitGatewayMulticastGroupMembers.go.snap @@ -13,7 +13,6 @@ DeregisterTransitGatewayMulticastGroupMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DeregisterTransitGatewayMulticastGroupSources.go.snap b/service/ec2/snapshot/api_op_DeregisterTransitGatewayMulticastGroupSources.go.snap index 86cb51c768a..089b7d478fd 100644 --- a/service/ec2/snapshot/api_op_DeregisterTransitGatewayMulticastGroupSources.go.snap +++ b/service/ec2/snapshot/api_op_DeregisterTransitGatewayMulticastGroupSources.go.snap @@ -13,7 +13,6 @@ DeregisterTransitGatewayMulticastGroupSources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeAccountAttributes.go.snap b/service/ec2/snapshot/api_op_DescribeAccountAttributes.go.snap index 8289af53fde..f099fff933a 100644 --- a/service/ec2/snapshot/api_op_DescribeAccountAttributes.go.snap +++ b/service/ec2/snapshot/api_op_DescribeAccountAttributes.go.snap @@ -13,7 +13,6 @@ DescribeAccountAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeAddressTransfers.go.snap b/service/ec2/snapshot/api_op_DescribeAddressTransfers.go.snap index 3ac1ec77e40..a26b4a8ae13 100644 --- a/service/ec2/snapshot/api_op_DescribeAddressTransfers.go.snap +++ b/service/ec2/snapshot/api_op_DescribeAddressTransfers.go.snap @@ -13,7 +13,6 @@ DescribeAddressTransfers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeAddresses.go.snap b/service/ec2/snapshot/api_op_DescribeAddresses.go.snap index 90a628b57d9..895dd57c354 100644 --- a/service/ec2/snapshot/api_op_DescribeAddresses.go.snap +++ b/service/ec2/snapshot/api_op_DescribeAddresses.go.snap @@ -13,7 +13,6 @@ DescribeAddresses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeAddressesAttribute.go.snap b/service/ec2/snapshot/api_op_DescribeAddressesAttribute.go.snap index 440cd5e96e0..cf30d30262b 100644 --- a/service/ec2/snapshot/api_op_DescribeAddressesAttribute.go.snap +++ b/service/ec2/snapshot/api_op_DescribeAddressesAttribute.go.snap @@ -13,7 +13,6 @@ DescribeAddressesAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeAggregateIdFormat.go.snap b/service/ec2/snapshot/api_op_DescribeAggregateIdFormat.go.snap index 8ecbb0ccc24..45dd743d279 100644 --- a/service/ec2/snapshot/api_op_DescribeAggregateIdFormat.go.snap +++ b/service/ec2/snapshot/api_op_DescribeAggregateIdFormat.go.snap @@ -13,7 +13,6 @@ DescribeAggregateIdFormat Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeAvailabilityZones.go.snap b/service/ec2/snapshot/api_op_DescribeAvailabilityZones.go.snap index fcd94854912..c4289f45f79 100644 --- a/service/ec2/snapshot/api_op_DescribeAvailabilityZones.go.snap +++ b/service/ec2/snapshot/api_op_DescribeAvailabilityZones.go.snap @@ -13,7 +13,6 @@ DescribeAvailabilityZones Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeAwsNetworkPerformanceMetricSubscriptions.go.snap b/service/ec2/snapshot/api_op_DescribeAwsNetworkPerformanceMetricSubscriptions.go.snap index d74401e6fe6..df379a02ff1 100644 --- a/service/ec2/snapshot/api_op_DescribeAwsNetworkPerformanceMetricSubscriptions.go.snap +++ b/service/ec2/snapshot/api_op_DescribeAwsNetworkPerformanceMetricSubscriptions.go.snap @@ -13,7 +13,6 @@ DescribeAwsNetworkPerformanceMetricSubscriptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeBundleTasks.go.snap b/service/ec2/snapshot/api_op_DescribeBundleTasks.go.snap index 6d58068d2a7..31c38179e7d 100644 --- a/service/ec2/snapshot/api_op_DescribeBundleTasks.go.snap +++ b/service/ec2/snapshot/api_op_DescribeBundleTasks.go.snap @@ -13,7 +13,6 @@ DescribeBundleTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeByoipCidrs.go.snap b/service/ec2/snapshot/api_op_DescribeByoipCidrs.go.snap index f7e3d1b8660..c0e0cbd1493 100644 --- a/service/ec2/snapshot/api_op_DescribeByoipCidrs.go.snap +++ b/service/ec2/snapshot/api_op_DescribeByoipCidrs.go.snap @@ -14,7 +14,6 @@ DescribeByoipCidrs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeCapacityBlockExtensionHistory.go.snap b/service/ec2/snapshot/api_op_DescribeCapacityBlockExtensionHistory.go.snap index b716e19f3d3..88b1dee7a6f 100644 --- a/service/ec2/snapshot/api_op_DescribeCapacityBlockExtensionHistory.go.snap +++ b/service/ec2/snapshot/api_op_DescribeCapacityBlockExtensionHistory.go.snap @@ -13,7 +13,6 @@ DescribeCapacityBlockExtensionHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeCapacityBlockExtensionOfferings.go.snap b/service/ec2/snapshot/api_op_DescribeCapacityBlockExtensionOfferings.go.snap index 14ff876b5d8..83b4549af89 100644 --- a/service/ec2/snapshot/api_op_DescribeCapacityBlockExtensionOfferings.go.snap +++ b/service/ec2/snapshot/api_op_DescribeCapacityBlockExtensionOfferings.go.snap @@ -14,7 +14,6 @@ DescribeCapacityBlockExtensionOfferings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeCapacityBlockOfferings.go.snap b/service/ec2/snapshot/api_op_DescribeCapacityBlockOfferings.go.snap index 0f96fa9f977..78347a18c0a 100644 --- a/service/ec2/snapshot/api_op_DescribeCapacityBlockOfferings.go.snap +++ b/service/ec2/snapshot/api_op_DescribeCapacityBlockOfferings.go.snap @@ -14,7 +14,6 @@ DescribeCapacityBlockOfferings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeCapacityReservationBillingRequests.go.snap b/service/ec2/snapshot/api_op_DescribeCapacityReservationBillingRequests.go.snap index e8a5be7eb33..91e3ac8ca9b 100644 --- a/service/ec2/snapshot/api_op_DescribeCapacityReservationBillingRequests.go.snap +++ b/service/ec2/snapshot/api_op_DescribeCapacityReservationBillingRequests.go.snap @@ -14,7 +14,6 @@ DescribeCapacityReservationBillingRequests Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeCapacityReservationFleets.go.snap b/service/ec2/snapshot/api_op_DescribeCapacityReservationFleets.go.snap index 313c21fce71..951c0dab637 100644 --- a/service/ec2/snapshot/api_op_DescribeCapacityReservationFleets.go.snap +++ b/service/ec2/snapshot/api_op_DescribeCapacityReservationFleets.go.snap @@ -13,7 +13,6 @@ DescribeCapacityReservationFleets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeCapacityReservations.go.snap b/service/ec2/snapshot/api_op_DescribeCapacityReservations.go.snap index b1f745e5a82..cd0ede442e0 100644 --- a/service/ec2/snapshot/api_op_DescribeCapacityReservations.go.snap +++ b/service/ec2/snapshot/api_op_DescribeCapacityReservations.go.snap @@ -13,7 +13,6 @@ DescribeCapacityReservations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeCarrierGateways.go.snap b/service/ec2/snapshot/api_op_DescribeCarrierGateways.go.snap index fd6f478bf2b..515b4818672 100644 --- a/service/ec2/snapshot/api_op_DescribeCarrierGateways.go.snap +++ b/service/ec2/snapshot/api_op_DescribeCarrierGateways.go.snap @@ -13,7 +13,6 @@ DescribeCarrierGateways Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeClassicLinkInstances.go.snap b/service/ec2/snapshot/api_op_DescribeClassicLinkInstances.go.snap index 608ecd10222..f9b90844536 100644 --- a/service/ec2/snapshot/api_op_DescribeClassicLinkInstances.go.snap +++ b/service/ec2/snapshot/api_op_DescribeClassicLinkInstances.go.snap @@ -13,7 +13,6 @@ DescribeClassicLinkInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeClientVpnAuthorizationRules.go.snap b/service/ec2/snapshot/api_op_DescribeClientVpnAuthorizationRules.go.snap index 93c367d43c1..277a205e6ce 100644 --- a/service/ec2/snapshot/api_op_DescribeClientVpnAuthorizationRules.go.snap +++ b/service/ec2/snapshot/api_op_DescribeClientVpnAuthorizationRules.go.snap @@ -14,7 +14,6 @@ DescribeClientVpnAuthorizationRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeClientVpnConnections.go.snap b/service/ec2/snapshot/api_op_DescribeClientVpnConnections.go.snap index e682856669b..bc23fe77605 100644 --- a/service/ec2/snapshot/api_op_DescribeClientVpnConnections.go.snap +++ b/service/ec2/snapshot/api_op_DescribeClientVpnConnections.go.snap @@ -14,7 +14,6 @@ DescribeClientVpnConnections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeClientVpnEndpoints.go.snap b/service/ec2/snapshot/api_op_DescribeClientVpnEndpoints.go.snap index aced3623f30..696481a3c88 100644 --- a/service/ec2/snapshot/api_op_DescribeClientVpnEndpoints.go.snap +++ b/service/ec2/snapshot/api_op_DescribeClientVpnEndpoints.go.snap @@ -13,7 +13,6 @@ DescribeClientVpnEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeClientVpnRoutes.go.snap b/service/ec2/snapshot/api_op_DescribeClientVpnRoutes.go.snap index c5b44fb5141..ef80289ad91 100644 --- a/service/ec2/snapshot/api_op_DescribeClientVpnRoutes.go.snap +++ b/service/ec2/snapshot/api_op_DescribeClientVpnRoutes.go.snap @@ -14,7 +14,6 @@ DescribeClientVpnRoutes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeClientVpnTargetNetworks.go.snap b/service/ec2/snapshot/api_op_DescribeClientVpnTargetNetworks.go.snap index dbad2bc3d82..c3f3ad8e22b 100644 --- a/service/ec2/snapshot/api_op_DescribeClientVpnTargetNetworks.go.snap +++ b/service/ec2/snapshot/api_op_DescribeClientVpnTargetNetworks.go.snap @@ -14,7 +14,6 @@ DescribeClientVpnTargetNetworks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeCoipPools.go.snap b/service/ec2/snapshot/api_op_DescribeCoipPools.go.snap index 0c5140a9ece..b5fbdbd13a4 100644 --- a/service/ec2/snapshot/api_op_DescribeCoipPools.go.snap +++ b/service/ec2/snapshot/api_op_DescribeCoipPools.go.snap @@ -13,7 +13,6 @@ DescribeCoipPools Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeConversionTasks.go.snap b/service/ec2/snapshot/api_op_DescribeConversionTasks.go.snap index 67e492c5370..eeafe1a376c 100644 --- a/service/ec2/snapshot/api_op_DescribeConversionTasks.go.snap +++ b/service/ec2/snapshot/api_op_DescribeConversionTasks.go.snap @@ -13,7 +13,6 @@ DescribeConversionTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeCustomerGateways.go.snap b/service/ec2/snapshot/api_op_DescribeCustomerGateways.go.snap index 02f203e0c95..e8ba5dc0a39 100644 --- a/service/ec2/snapshot/api_op_DescribeCustomerGateways.go.snap +++ b/service/ec2/snapshot/api_op_DescribeCustomerGateways.go.snap @@ -13,7 +13,6 @@ DescribeCustomerGateways Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeDeclarativePoliciesReports.go.snap b/service/ec2/snapshot/api_op_DescribeDeclarativePoliciesReports.go.snap index 52fa362d0ca..df5290fad7f 100644 --- a/service/ec2/snapshot/api_op_DescribeDeclarativePoliciesReports.go.snap +++ b/service/ec2/snapshot/api_op_DescribeDeclarativePoliciesReports.go.snap @@ -13,7 +13,6 @@ DescribeDeclarativePoliciesReports Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeDhcpOptions.go.snap b/service/ec2/snapshot/api_op_DescribeDhcpOptions.go.snap index 8b8e365e390..775329f0ff0 100644 --- a/service/ec2/snapshot/api_op_DescribeDhcpOptions.go.snap +++ b/service/ec2/snapshot/api_op_DescribeDhcpOptions.go.snap @@ -13,7 +13,6 @@ DescribeDhcpOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeEgressOnlyInternetGateways.go.snap b/service/ec2/snapshot/api_op_DescribeEgressOnlyInternetGateways.go.snap index b89ef936b58..e2c6147367b 100644 --- a/service/ec2/snapshot/api_op_DescribeEgressOnlyInternetGateways.go.snap +++ b/service/ec2/snapshot/api_op_DescribeEgressOnlyInternetGateways.go.snap @@ -13,7 +13,6 @@ DescribeEgressOnlyInternetGateways Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeElasticGpus.go.snap b/service/ec2/snapshot/api_op_DescribeElasticGpus.go.snap index 82e4a48883f..69abd0b8eac 100644 --- a/service/ec2/snapshot/api_op_DescribeElasticGpus.go.snap +++ b/service/ec2/snapshot/api_op_DescribeElasticGpus.go.snap @@ -13,7 +13,6 @@ DescribeElasticGpus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeExportImageTasks.go.snap b/service/ec2/snapshot/api_op_DescribeExportImageTasks.go.snap index 4889b3d8839..bb32c6961e3 100644 --- a/service/ec2/snapshot/api_op_DescribeExportImageTasks.go.snap +++ b/service/ec2/snapshot/api_op_DescribeExportImageTasks.go.snap @@ -13,7 +13,6 @@ DescribeExportImageTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeExportTasks.go.snap b/service/ec2/snapshot/api_op_DescribeExportTasks.go.snap index cedee63d11b..c785b83157e 100644 --- a/service/ec2/snapshot/api_op_DescribeExportTasks.go.snap +++ b/service/ec2/snapshot/api_op_DescribeExportTasks.go.snap @@ -13,7 +13,6 @@ DescribeExportTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeFastLaunchImages.go.snap b/service/ec2/snapshot/api_op_DescribeFastLaunchImages.go.snap index ef0137dc018..cfda4c7ea9d 100644 --- a/service/ec2/snapshot/api_op_DescribeFastLaunchImages.go.snap +++ b/service/ec2/snapshot/api_op_DescribeFastLaunchImages.go.snap @@ -13,7 +13,6 @@ DescribeFastLaunchImages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeFastSnapshotRestores.go.snap b/service/ec2/snapshot/api_op_DescribeFastSnapshotRestores.go.snap index eb906ac06fe..56ad690f31f 100644 --- a/service/ec2/snapshot/api_op_DescribeFastSnapshotRestores.go.snap +++ b/service/ec2/snapshot/api_op_DescribeFastSnapshotRestores.go.snap @@ -13,7 +13,6 @@ DescribeFastSnapshotRestores Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeFleetHistory.go.snap b/service/ec2/snapshot/api_op_DescribeFleetHistory.go.snap index c6ff2fc269f..0f80c6afba7 100644 --- a/service/ec2/snapshot/api_op_DescribeFleetHistory.go.snap +++ b/service/ec2/snapshot/api_op_DescribeFleetHistory.go.snap @@ -14,7 +14,6 @@ DescribeFleetHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeFleetInstances.go.snap b/service/ec2/snapshot/api_op_DescribeFleetInstances.go.snap index fd9a5cdddbf..fa3fc220509 100644 --- a/service/ec2/snapshot/api_op_DescribeFleetInstances.go.snap +++ b/service/ec2/snapshot/api_op_DescribeFleetInstances.go.snap @@ -14,7 +14,6 @@ DescribeFleetInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeFleets.go.snap b/service/ec2/snapshot/api_op_DescribeFleets.go.snap index a9dc6fee5cf..6fa5fcc0d13 100644 --- a/service/ec2/snapshot/api_op_DescribeFleets.go.snap +++ b/service/ec2/snapshot/api_op_DescribeFleets.go.snap @@ -13,7 +13,6 @@ DescribeFleets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeFlowLogs.go.snap b/service/ec2/snapshot/api_op_DescribeFlowLogs.go.snap index 4e344fca5ba..82029082b35 100644 --- a/service/ec2/snapshot/api_op_DescribeFlowLogs.go.snap +++ b/service/ec2/snapshot/api_op_DescribeFlowLogs.go.snap @@ -13,7 +13,6 @@ DescribeFlowLogs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeFpgaImageAttribute.go.snap b/service/ec2/snapshot/api_op_DescribeFpgaImageAttribute.go.snap index f93eec80c25..c3d27b8a827 100644 --- a/service/ec2/snapshot/api_op_DescribeFpgaImageAttribute.go.snap +++ b/service/ec2/snapshot/api_op_DescribeFpgaImageAttribute.go.snap @@ -14,7 +14,6 @@ DescribeFpgaImageAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeFpgaImages.go.snap b/service/ec2/snapshot/api_op_DescribeFpgaImages.go.snap index cb84cf0f6db..7d9142546b0 100644 --- a/service/ec2/snapshot/api_op_DescribeFpgaImages.go.snap +++ b/service/ec2/snapshot/api_op_DescribeFpgaImages.go.snap @@ -13,7 +13,6 @@ DescribeFpgaImages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeHostReservationOfferings.go.snap b/service/ec2/snapshot/api_op_DescribeHostReservationOfferings.go.snap index 9605b0fc78d..fa92c4431ca 100644 --- a/service/ec2/snapshot/api_op_DescribeHostReservationOfferings.go.snap +++ b/service/ec2/snapshot/api_op_DescribeHostReservationOfferings.go.snap @@ -13,7 +13,6 @@ DescribeHostReservationOfferings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeHostReservations.go.snap b/service/ec2/snapshot/api_op_DescribeHostReservations.go.snap index f23a65b5081..56090c1875c 100644 --- a/service/ec2/snapshot/api_op_DescribeHostReservations.go.snap +++ b/service/ec2/snapshot/api_op_DescribeHostReservations.go.snap @@ -13,7 +13,6 @@ DescribeHostReservations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeHosts.go.snap b/service/ec2/snapshot/api_op_DescribeHosts.go.snap index 13854692c28..cc9c31ac883 100644 --- a/service/ec2/snapshot/api_op_DescribeHosts.go.snap +++ b/service/ec2/snapshot/api_op_DescribeHosts.go.snap @@ -13,7 +13,6 @@ DescribeHosts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeIamInstanceProfileAssociations.go.snap b/service/ec2/snapshot/api_op_DescribeIamInstanceProfileAssociations.go.snap index 1b2d6a5757c..0e937109a16 100644 --- a/service/ec2/snapshot/api_op_DescribeIamInstanceProfileAssociations.go.snap +++ b/service/ec2/snapshot/api_op_DescribeIamInstanceProfileAssociations.go.snap @@ -13,7 +13,6 @@ DescribeIamInstanceProfileAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeIdFormat.go.snap b/service/ec2/snapshot/api_op_DescribeIdFormat.go.snap index 1500c53e37b..7008fe6c361 100644 --- a/service/ec2/snapshot/api_op_DescribeIdFormat.go.snap +++ b/service/ec2/snapshot/api_op_DescribeIdFormat.go.snap @@ -13,7 +13,6 @@ DescribeIdFormat Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeIdentityIdFormat.go.snap b/service/ec2/snapshot/api_op_DescribeIdentityIdFormat.go.snap index 74f31f908ef..9330d5eff1c 100644 --- a/service/ec2/snapshot/api_op_DescribeIdentityIdFormat.go.snap +++ b/service/ec2/snapshot/api_op_DescribeIdentityIdFormat.go.snap @@ -14,7 +14,6 @@ DescribeIdentityIdFormat Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeImageAttribute.go.snap b/service/ec2/snapshot/api_op_DescribeImageAttribute.go.snap index 82304c3fdab..70577767323 100644 --- a/service/ec2/snapshot/api_op_DescribeImageAttribute.go.snap +++ b/service/ec2/snapshot/api_op_DescribeImageAttribute.go.snap @@ -14,7 +14,6 @@ DescribeImageAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeImages.go.snap b/service/ec2/snapshot/api_op_DescribeImages.go.snap index 56e680ba513..c9c1e13a7ab 100644 --- a/service/ec2/snapshot/api_op_DescribeImages.go.snap +++ b/service/ec2/snapshot/api_op_DescribeImages.go.snap @@ -13,7 +13,6 @@ DescribeImages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeImportImageTasks.go.snap b/service/ec2/snapshot/api_op_DescribeImportImageTasks.go.snap index 9075dbfc19b..8a592671186 100644 --- a/service/ec2/snapshot/api_op_DescribeImportImageTasks.go.snap +++ b/service/ec2/snapshot/api_op_DescribeImportImageTasks.go.snap @@ -13,7 +13,6 @@ DescribeImportImageTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeImportSnapshotTasks.go.snap b/service/ec2/snapshot/api_op_DescribeImportSnapshotTasks.go.snap index e67786beb7f..369b87b0dc7 100644 --- a/service/ec2/snapshot/api_op_DescribeImportSnapshotTasks.go.snap +++ b/service/ec2/snapshot/api_op_DescribeImportSnapshotTasks.go.snap @@ -13,7 +13,6 @@ DescribeImportSnapshotTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeInstanceAttribute.go.snap b/service/ec2/snapshot/api_op_DescribeInstanceAttribute.go.snap index d4e230cafc8..75193fe5ded 100644 --- a/service/ec2/snapshot/api_op_DescribeInstanceAttribute.go.snap +++ b/service/ec2/snapshot/api_op_DescribeInstanceAttribute.go.snap @@ -14,7 +14,6 @@ DescribeInstanceAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeInstanceConnectEndpoints.go.snap b/service/ec2/snapshot/api_op_DescribeInstanceConnectEndpoints.go.snap index 8957d5db4b4..87962787fef 100644 --- a/service/ec2/snapshot/api_op_DescribeInstanceConnectEndpoints.go.snap +++ b/service/ec2/snapshot/api_op_DescribeInstanceConnectEndpoints.go.snap @@ -13,7 +13,6 @@ DescribeInstanceConnectEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeInstanceCreditSpecifications.go.snap b/service/ec2/snapshot/api_op_DescribeInstanceCreditSpecifications.go.snap index 8d1258c7420..a1df64bc315 100644 --- a/service/ec2/snapshot/api_op_DescribeInstanceCreditSpecifications.go.snap +++ b/service/ec2/snapshot/api_op_DescribeInstanceCreditSpecifications.go.snap @@ -13,7 +13,6 @@ DescribeInstanceCreditSpecifications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeInstanceEventNotificationAttributes.go.snap b/service/ec2/snapshot/api_op_DescribeInstanceEventNotificationAttributes.go.snap index 263b18735b1..4b65ebf1b02 100644 --- a/service/ec2/snapshot/api_op_DescribeInstanceEventNotificationAttributes.go.snap +++ b/service/ec2/snapshot/api_op_DescribeInstanceEventNotificationAttributes.go.snap @@ -13,7 +13,6 @@ DescribeInstanceEventNotificationAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeInstanceEventWindows.go.snap b/service/ec2/snapshot/api_op_DescribeInstanceEventWindows.go.snap index a6ab7482d16..633a5b7679c 100644 --- a/service/ec2/snapshot/api_op_DescribeInstanceEventWindows.go.snap +++ b/service/ec2/snapshot/api_op_DescribeInstanceEventWindows.go.snap @@ -13,7 +13,6 @@ DescribeInstanceEventWindows Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeInstanceImageMetadata.go.snap b/service/ec2/snapshot/api_op_DescribeInstanceImageMetadata.go.snap index 9a0a1ad4747..8a45bf50afe 100644 --- a/service/ec2/snapshot/api_op_DescribeInstanceImageMetadata.go.snap +++ b/service/ec2/snapshot/api_op_DescribeInstanceImageMetadata.go.snap @@ -13,7 +13,6 @@ DescribeInstanceImageMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeInstanceStatus.go.snap b/service/ec2/snapshot/api_op_DescribeInstanceStatus.go.snap index 45cf319ec82..b01138e0aa9 100644 --- a/service/ec2/snapshot/api_op_DescribeInstanceStatus.go.snap +++ b/service/ec2/snapshot/api_op_DescribeInstanceStatus.go.snap @@ -13,7 +13,6 @@ DescribeInstanceStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeInstanceTopology.go.snap b/service/ec2/snapshot/api_op_DescribeInstanceTopology.go.snap index abbb489fa65..bf886581ea3 100644 --- a/service/ec2/snapshot/api_op_DescribeInstanceTopology.go.snap +++ b/service/ec2/snapshot/api_op_DescribeInstanceTopology.go.snap @@ -13,7 +13,6 @@ DescribeInstanceTopology Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeInstanceTypeOfferings.go.snap b/service/ec2/snapshot/api_op_DescribeInstanceTypeOfferings.go.snap index d6f8de06f1b..ff848599dcd 100644 --- a/service/ec2/snapshot/api_op_DescribeInstanceTypeOfferings.go.snap +++ b/service/ec2/snapshot/api_op_DescribeInstanceTypeOfferings.go.snap @@ -13,7 +13,6 @@ DescribeInstanceTypeOfferings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeInstanceTypes.go.snap b/service/ec2/snapshot/api_op_DescribeInstanceTypes.go.snap index 932676a7cbd..c5d4beaff93 100644 --- a/service/ec2/snapshot/api_op_DescribeInstanceTypes.go.snap +++ b/service/ec2/snapshot/api_op_DescribeInstanceTypes.go.snap @@ -13,7 +13,6 @@ DescribeInstanceTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeInstances.go.snap b/service/ec2/snapshot/api_op_DescribeInstances.go.snap index 176d820d35f..1041bed7d7e 100644 --- a/service/ec2/snapshot/api_op_DescribeInstances.go.snap +++ b/service/ec2/snapshot/api_op_DescribeInstances.go.snap @@ -13,7 +13,6 @@ DescribeInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeInternetGateways.go.snap b/service/ec2/snapshot/api_op_DescribeInternetGateways.go.snap index e0e1ae71212..cb1aab4b874 100644 --- a/service/ec2/snapshot/api_op_DescribeInternetGateways.go.snap +++ b/service/ec2/snapshot/api_op_DescribeInternetGateways.go.snap @@ -13,7 +13,6 @@ DescribeInternetGateways Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeIpamByoasn.go.snap b/service/ec2/snapshot/api_op_DescribeIpamByoasn.go.snap index 09647d94515..28537933794 100644 --- a/service/ec2/snapshot/api_op_DescribeIpamByoasn.go.snap +++ b/service/ec2/snapshot/api_op_DescribeIpamByoasn.go.snap @@ -13,7 +13,6 @@ DescribeIpamByoasn Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeIpamExternalResourceVerificationTokens.go.snap b/service/ec2/snapshot/api_op_DescribeIpamExternalResourceVerificationTokens.go.snap index a6d69bf9d9a..03cc5a91ee7 100644 --- a/service/ec2/snapshot/api_op_DescribeIpamExternalResourceVerificationTokens.go.snap +++ b/service/ec2/snapshot/api_op_DescribeIpamExternalResourceVerificationTokens.go.snap @@ -13,7 +13,6 @@ DescribeIpamExternalResourceVerificationTokens Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeIpamPools.go.snap b/service/ec2/snapshot/api_op_DescribeIpamPools.go.snap index 581ad57f1c9..96e3a10af32 100644 --- a/service/ec2/snapshot/api_op_DescribeIpamPools.go.snap +++ b/service/ec2/snapshot/api_op_DescribeIpamPools.go.snap @@ -13,7 +13,6 @@ DescribeIpamPools Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeIpamResourceDiscoveries.go.snap b/service/ec2/snapshot/api_op_DescribeIpamResourceDiscoveries.go.snap index 3a4655db9da..d41ded1ba8f 100644 --- a/service/ec2/snapshot/api_op_DescribeIpamResourceDiscoveries.go.snap +++ b/service/ec2/snapshot/api_op_DescribeIpamResourceDiscoveries.go.snap @@ -13,7 +13,6 @@ DescribeIpamResourceDiscoveries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeIpamResourceDiscoveryAssociations.go.snap b/service/ec2/snapshot/api_op_DescribeIpamResourceDiscoveryAssociations.go.snap index b04640622e8..806d6e05e1e 100644 --- a/service/ec2/snapshot/api_op_DescribeIpamResourceDiscoveryAssociations.go.snap +++ b/service/ec2/snapshot/api_op_DescribeIpamResourceDiscoveryAssociations.go.snap @@ -13,7 +13,6 @@ DescribeIpamResourceDiscoveryAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeIpamScopes.go.snap b/service/ec2/snapshot/api_op_DescribeIpamScopes.go.snap index cd9dcc142e3..8ea227811ee 100644 --- a/service/ec2/snapshot/api_op_DescribeIpamScopes.go.snap +++ b/service/ec2/snapshot/api_op_DescribeIpamScopes.go.snap @@ -13,7 +13,6 @@ DescribeIpamScopes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeIpams.go.snap b/service/ec2/snapshot/api_op_DescribeIpams.go.snap index 7a0906381df..ee506d97175 100644 --- a/service/ec2/snapshot/api_op_DescribeIpams.go.snap +++ b/service/ec2/snapshot/api_op_DescribeIpams.go.snap @@ -13,7 +13,6 @@ DescribeIpams Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeIpv6Pools.go.snap b/service/ec2/snapshot/api_op_DescribeIpv6Pools.go.snap index c628794c8d9..5c2b73d4495 100644 --- a/service/ec2/snapshot/api_op_DescribeIpv6Pools.go.snap +++ b/service/ec2/snapshot/api_op_DescribeIpv6Pools.go.snap @@ -13,7 +13,6 @@ DescribeIpv6Pools Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeKeyPairs.go.snap b/service/ec2/snapshot/api_op_DescribeKeyPairs.go.snap index 30f687eb348..0008a4c64ab 100644 --- a/service/ec2/snapshot/api_op_DescribeKeyPairs.go.snap +++ b/service/ec2/snapshot/api_op_DescribeKeyPairs.go.snap @@ -13,7 +13,6 @@ DescribeKeyPairs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeLaunchTemplateVersions.go.snap b/service/ec2/snapshot/api_op_DescribeLaunchTemplateVersions.go.snap index 7dac097ffa7..03adab73b66 100644 --- a/service/ec2/snapshot/api_op_DescribeLaunchTemplateVersions.go.snap +++ b/service/ec2/snapshot/api_op_DescribeLaunchTemplateVersions.go.snap @@ -13,7 +13,6 @@ DescribeLaunchTemplateVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeLaunchTemplates.go.snap b/service/ec2/snapshot/api_op_DescribeLaunchTemplates.go.snap index ffe11447171..fd6eca6472e 100644 --- a/service/ec2/snapshot/api_op_DescribeLaunchTemplates.go.snap +++ b/service/ec2/snapshot/api_op_DescribeLaunchTemplates.go.snap @@ -13,7 +13,6 @@ DescribeLaunchTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations.go.snap b/service/ec2/snapshot/api_op_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations.go.snap index 5e18a1c27bb..f5d7fa9f81a 100644 --- a/service/ec2/snapshot/api_op_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations.go.snap +++ b/service/ec2/snapshot/api_op_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations.go.snap @@ -13,7 +13,6 @@ DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeLocalGatewayRouteTableVpcAssociations.go.snap b/service/ec2/snapshot/api_op_DescribeLocalGatewayRouteTableVpcAssociations.go.snap index fd2b374bc22..4150deb6337 100644 --- a/service/ec2/snapshot/api_op_DescribeLocalGatewayRouteTableVpcAssociations.go.snap +++ b/service/ec2/snapshot/api_op_DescribeLocalGatewayRouteTableVpcAssociations.go.snap @@ -13,7 +13,6 @@ DescribeLocalGatewayRouteTableVpcAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeLocalGatewayRouteTables.go.snap b/service/ec2/snapshot/api_op_DescribeLocalGatewayRouteTables.go.snap index cd89c11dbc6..d154cb013d9 100644 --- a/service/ec2/snapshot/api_op_DescribeLocalGatewayRouteTables.go.snap +++ b/service/ec2/snapshot/api_op_DescribeLocalGatewayRouteTables.go.snap @@ -13,7 +13,6 @@ DescribeLocalGatewayRouteTables Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeLocalGatewayVirtualInterfaceGroups.go.snap b/service/ec2/snapshot/api_op_DescribeLocalGatewayVirtualInterfaceGroups.go.snap index b783e4da6bd..e9783c087d4 100644 --- a/service/ec2/snapshot/api_op_DescribeLocalGatewayVirtualInterfaceGroups.go.snap +++ b/service/ec2/snapshot/api_op_DescribeLocalGatewayVirtualInterfaceGroups.go.snap @@ -13,7 +13,6 @@ DescribeLocalGatewayVirtualInterfaceGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeLocalGatewayVirtualInterfaces.go.snap b/service/ec2/snapshot/api_op_DescribeLocalGatewayVirtualInterfaces.go.snap index 48c0a427c37..ef1ee3d1fb1 100644 --- a/service/ec2/snapshot/api_op_DescribeLocalGatewayVirtualInterfaces.go.snap +++ b/service/ec2/snapshot/api_op_DescribeLocalGatewayVirtualInterfaces.go.snap @@ -13,7 +13,6 @@ DescribeLocalGatewayVirtualInterfaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeLocalGateways.go.snap b/service/ec2/snapshot/api_op_DescribeLocalGateways.go.snap index 664d3348a7d..6e54528ab11 100644 --- a/service/ec2/snapshot/api_op_DescribeLocalGateways.go.snap +++ b/service/ec2/snapshot/api_op_DescribeLocalGateways.go.snap @@ -13,7 +13,6 @@ DescribeLocalGateways Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeLockedSnapshots.go.snap b/service/ec2/snapshot/api_op_DescribeLockedSnapshots.go.snap index e18175f3ac4..943e99fdde9 100644 --- a/service/ec2/snapshot/api_op_DescribeLockedSnapshots.go.snap +++ b/service/ec2/snapshot/api_op_DescribeLockedSnapshots.go.snap @@ -13,7 +13,6 @@ DescribeLockedSnapshots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeMacHosts.go.snap b/service/ec2/snapshot/api_op_DescribeMacHosts.go.snap index f7ad1ef819a..fbdf5ddc53f 100644 --- a/service/ec2/snapshot/api_op_DescribeMacHosts.go.snap +++ b/service/ec2/snapshot/api_op_DescribeMacHosts.go.snap @@ -13,7 +13,6 @@ DescribeMacHosts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeManagedPrefixLists.go.snap b/service/ec2/snapshot/api_op_DescribeManagedPrefixLists.go.snap index 714505a3568..7f45743bcab 100644 --- a/service/ec2/snapshot/api_op_DescribeManagedPrefixLists.go.snap +++ b/service/ec2/snapshot/api_op_DescribeManagedPrefixLists.go.snap @@ -13,7 +13,6 @@ DescribeManagedPrefixLists Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeMovingAddresses.go.snap b/service/ec2/snapshot/api_op_DescribeMovingAddresses.go.snap index 11498522bb3..d2d8d4e3e00 100644 --- a/service/ec2/snapshot/api_op_DescribeMovingAddresses.go.snap +++ b/service/ec2/snapshot/api_op_DescribeMovingAddresses.go.snap @@ -13,7 +13,6 @@ DescribeMovingAddresses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeNatGateways.go.snap b/service/ec2/snapshot/api_op_DescribeNatGateways.go.snap index e6d5d698142..6f0e3aa0282 100644 --- a/service/ec2/snapshot/api_op_DescribeNatGateways.go.snap +++ b/service/ec2/snapshot/api_op_DescribeNatGateways.go.snap @@ -13,7 +13,6 @@ DescribeNatGateways Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeNetworkAcls.go.snap b/service/ec2/snapshot/api_op_DescribeNetworkAcls.go.snap index a4a7ab16570..1550ec2d75f 100644 --- a/service/ec2/snapshot/api_op_DescribeNetworkAcls.go.snap +++ b/service/ec2/snapshot/api_op_DescribeNetworkAcls.go.snap @@ -13,7 +13,6 @@ DescribeNetworkAcls Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeNetworkInsightsAccessScopeAnalyses.go.snap b/service/ec2/snapshot/api_op_DescribeNetworkInsightsAccessScopeAnalyses.go.snap index dab5ed30c47..9b3b1fffe71 100644 --- a/service/ec2/snapshot/api_op_DescribeNetworkInsightsAccessScopeAnalyses.go.snap +++ b/service/ec2/snapshot/api_op_DescribeNetworkInsightsAccessScopeAnalyses.go.snap @@ -13,7 +13,6 @@ DescribeNetworkInsightsAccessScopeAnalyses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeNetworkInsightsAccessScopes.go.snap b/service/ec2/snapshot/api_op_DescribeNetworkInsightsAccessScopes.go.snap index 41538ad980b..96be178745c 100644 --- a/service/ec2/snapshot/api_op_DescribeNetworkInsightsAccessScopes.go.snap +++ b/service/ec2/snapshot/api_op_DescribeNetworkInsightsAccessScopes.go.snap @@ -13,7 +13,6 @@ DescribeNetworkInsightsAccessScopes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeNetworkInsightsAnalyses.go.snap b/service/ec2/snapshot/api_op_DescribeNetworkInsightsAnalyses.go.snap index 413e1b087ac..a4646e2da87 100644 --- a/service/ec2/snapshot/api_op_DescribeNetworkInsightsAnalyses.go.snap +++ b/service/ec2/snapshot/api_op_DescribeNetworkInsightsAnalyses.go.snap @@ -13,7 +13,6 @@ DescribeNetworkInsightsAnalyses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeNetworkInsightsPaths.go.snap b/service/ec2/snapshot/api_op_DescribeNetworkInsightsPaths.go.snap index 303deb5edad..89425c9e99b 100644 --- a/service/ec2/snapshot/api_op_DescribeNetworkInsightsPaths.go.snap +++ b/service/ec2/snapshot/api_op_DescribeNetworkInsightsPaths.go.snap @@ -13,7 +13,6 @@ DescribeNetworkInsightsPaths Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeNetworkInterfaceAttribute.go.snap b/service/ec2/snapshot/api_op_DescribeNetworkInterfaceAttribute.go.snap index b0794225572..5390d7b3a0b 100644 --- a/service/ec2/snapshot/api_op_DescribeNetworkInterfaceAttribute.go.snap +++ b/service/ec2/snapshot/api_op_DescribeNetworkInterfaceAttribute.go.snap @@ -14,7 +14,6 @@ DescribeNetworkInterfaceAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeNetworkInterfacePermissions.go.snap b/service/ec2/snapshot/api_op_DescribeNetworkInterfacePermissions.go.snap index d46b91f3f8e..7c32cb015e7 100644 --- a/service/ec2/snapshot/api_op_DescribeNetworkInterfacePermissions.go.snap +++ b/service/ec2/snapshot/api_op_DescribeNetworkInterfacePermissions.go.snap @@ -13,7 +13,6 @@ DescribeNetworkInterfacePermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeNetworkInterfaces.go.snap b/service/ec2/snapshot/api_op_DescribeNetworkInterfaces.go.snap index d6fe624053e..cce85055b14 100644 --- a/service/ec2/snapshot/api_op_DescribeNetworkInterfaces.go.snap +++ b/service/ec2/snapshot/api_op_DescribeNetworkInterfaces.go.snap @@ -13,7 +13,6 @@ DescribeNetworkInterfaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribePlacementGroups.go.snap b/service/ec2/snapshot/api_op_DescribePlacementGroups.go.snap index 246ed970c1b..84806f773a7 100644 --- a/service/ec2/snapshot/api_op_DescribePlacementGroups.go.snap +++ b/service/ec2/snapshot/api_op_DescribePlacementGroups.go.snap @@ -13,7 +13,6 @@ DescribePlacementGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribePrefixLists.go.snap b/service/ec2/snapshot/api_op_DescribePrefixLists.go.snap index 3428a3be437..7753a896687 100644 --- a/service/ec2/snapshot/api_op_DescribePrefixLists.go.snap +++ b/service/ec2/snapshot/api_op_DescribePrefixLists.go.snap @@ -13,7 +13,6 @@ DescribePrefixLists Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribePrincipalIdFormat.go.snap b/service/ec2/snapshot/api_op_DescribePrincipalIdFormat.go.snap index 2647a9a6785..c1a1bf51ad0 100644 --- a/service/ec2/snapshot/api_op_DescribePrincipalIdFormat.go.snap +++ b/service/ec2/snapshot/api_op_DescribePrincipalIdFormat.go.snap @@ -13,7 +13,6 @@ DescribePrincipalIdFormat Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribePublicIpv4Pools.go.snap b/service/ec2/snapshot/api_op_DescribePublicIpv4Pools.go.snap index e2b466bb773..d43cf1bb0ca 100644 --- a/service/ec2/snapshot/api_op_DescribePublicIpv4Pools.go.snap +++ b/service/ec2/snapshot/api_op_DescribePublicIpv4Pools.go.snap @@ -13,7 +13,6 @@ DescribePublicIpv4Pools Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeRegions.go.snap b/service/ec2/snapshot/api_op_DescribeRegions.go.snap index 223fe5f8faa..f4cae0e4ad9 100644 --- a/service/ec2/snapshot/api_op_DescribeRegions.go.snap +++ b/service/ec2/snapshot/api_op_DescribeRegions.go.snap @@ -13,7 +13,6 @@ DescribeRegions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeReplaceRootVolumeTasks.go.snap b/service/ec2/snapshot/api_op_DescribeReplaceRootVolumeTasks.go.snap index 42bfe53d5cf..acb4cc555cb 100644 --- a/service/ec2/snapshot/api_op_DescribeReplaceRootVolumeTasks.go.snap +++ b/service/ec2/snapshot/api_op_DescribeReplaceRootVolumeTasks.go.snap @@ -13,7 +13,6 @@ DescribeReplaceRootVolumeTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeReservedInstances.go.snap b/service/ec2/snapshot/api_op_DescribeReservedInstances.go.snap index 8068507fe03..04896b2fbcb 100644 --- a/service/ec2/snapshot/api_op_DescribeReservedInstances.go.snap +++ b/service/ec2/snapshot/api_op_DescribeReservedInstances.go.snap @@ -13,7 +13,6 @@ DescribeReservedInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeReservedInstancesListings.go.snap b/service/ec2/snapshot/api_op_DescribeReservedInstancesListings.go.snap index d4bee801c74..331419ca4cf 100644 --- a/service/ec2/snapshot/api_op_DescribeReservedInstancesListings.go.snap +++ b/service/ec2/snapshot/api_op_DescribeReservedInstancesListings.go.snap @@ -13,7 +13,6 @@ DescribeReservedInstancesListings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeReservedInstancesModifications.go.snap b/service/ec2/snapshot/api_op_DescribeReservedInstancesModifications.go.snap index a6c4475d461..2a6e91df0c8 100644 --- a/service/ec2/snapshot/api_op_DescribeReservedInstancesModifications.go.snap +++ b/service/ec2/snapshot/api_op_DescribeReservedInstancesModifications.go.snap @@ -13,7 +13,6 @@ DescribeReservedInstancesModifications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeReservedInstancesOfferings.go.snap b/service/ec2/snapshot/api_op_DescribeReservedInstancesOfferings.go.snap index 78bfe5d0f4c..4c7c9dc116e 100644 --- a/service/ec2/snapshot/api_op_DescribeReservedInstancesOfferings.go.snap +++ b/service/ec2/snapshot/api_op_DescribeReservedInstancesOfferings.go.snap @@ -13,7 +13,6 @@ DescribeReservedInstancesOfferings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeRouteTables.go.snap b/service/ec2/snapshot/api_op_DescribeRouteTables.go.snap index 5a127952cc9..c8baa05869e 100644 --- a/service/ec2/snapshot/api_op_DescribeRouteTables.go.snap +++ b/service/ec2/snapshot/api_op_DescribeRouteTables.go.snap @@ -13,7 +13,6 @@ DescribeRouteTables Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeScheduledInstanceAvailability.go.snap b/service/ec2/snapshot/api_op_DescribeScheduledInstanceAvailability.go.snap index 54cb5825642..c242e4f023f 100644 --- a/service/ec2/snapshot/api_op_DescribeScheduledInstanceAvailability.go.snap +++ b/service/ec2/snapshot/api_op_DescribeScheduledInstanceAvailability.go.snap @@ -14,7 +14,6 @@ DescribeScheduledInstanceAvailability Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeScheduledInstances.go.snap b/service/ec2/snapshot/api_op_DescribeScheduledInstances.go.snap index ac53e280a84..fd7afbede49 100644 --- a/service/ec2/snapshot/api_op_DescribeScheduledInstances.go.snap +++ b/service/ec2/snapshot/api_op_DescribeScheduledInstances.go.snap @@ -13,7 +13,6 @@ DescribeScheduledInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeSecurityGroupReferences.go.snap b/service/ec2/snapshot/api_op_DescribeSecurityGroupReferences.go.snap index 0041b8f021a..7bafacec031 100644 --- a/service/ec2/snapshot/api_op_DescribeSecurityGroupReferences.go.snap +++ b/service/ec2/snapshot/api_op_DescribeSecurityGroupReferences.go.snap @@ -14,7 +14,6 @@ DescribeSecurityGroupReferences Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeSecurityGroupRules.go.snap b/service/ec2/snapshot/api_op_DescribeSecurityGroupRules.go.snap index ce2c9ab8638..79d41e76fa0 100644 --- a/service/ec2/snapshot/api_op_DescribeSecurityGroupRules.go.snap +++ b/service/ec2/snapshot/api_op_DescribeSecurityGroupRules.go.snap @@ -13,7 +13,6 @@ DescribeSecurityGroupRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeSecurityGroupVpcAssociations.go.snap b/service/ec2/snapshot/api_op_DescribeSecurityGroupVpcAssociations.go.snap index eacb951dc0c..aba03c01a06 100644 --- a/service/ec2/snapshot/api_op_DescribeSecurityGroupVpcAssociations.go.snap +++ b/service/ec2/snapshot/api_op_DescribeSecurityGroupVpcAssociations.go.snap @@ -13,7 +13,6 @@ DescribeSecurityGroupVpcAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeSecurityGroups.go.snap b/service/ec2/snapshot/api_op_DescribeSecurityGroups.go.snap index 2a887906f29..8632494701f 100644 --- a/service/ec2/snapshot/api_op_DescribeSecurityGroups.go.snap +++ b/service/ec2/snapshot/api_op_DescribeSecurityGroups.go.snap @@ -13,7 +13,6 @@ DescribeSecurityGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeSnapshotAttribute.go.snap b/service/ec2/snapshot/api_op_DescribeSnapshotAttribute.go.snap index d97a77309df..f2c1f513a8b 100644 --- a/service/ec2/snapshot/api_op_DescribeSnapshotAttribute.go.snap +++ b/service/ec2/snapshot/api_op_DescribeSnapshotAttribute.go.snap @@ -14,7 +14,6 @@ DescribeSnapshotAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeSnapshotTierStatus.go.snap b/service/ec2/snapshot/api_op_DescribeSnapshotTierStatus.go.snap index 1aedc849bfd..ed56c681202 100644 --- a/service/ec2/snapshot/api_op_DescribeSnapshotTierStatus.go.snap +++ b/service/ec2/snapshot/api_op_DescribeSnapshotTierStatus.go.snap @@ -13,7 +13,6 @@ DescribeSnapshotTierStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeSnapshots.go.snap b/service/ec2/snapshot/api_op_DescribeSnapshots.go.snap index 8b006c734ed..03fd8bd6409 100644 --- a/service/ec2/snapshot/api_op_DescribeSnapshots.go.snap +++ b/service/ec2/snapshot/api_op_DescribeSnapshots.go.snap @@ -13,7 +13,6 @@ DescribeSnapshots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeSpotDatafeedSubscription.go.snap b/service/ec2/snapshot/api_op_DescribeSpotDatafeedSubscription.go.snap index 73816654e37..c7ddb999b7a 100644 --- a/service/ec2/snapshot/api_op_DescribeSpotDatafeedSubscription.go.snap +++ b/service/ec2/snapshot/api_op_DescribeSpotDatafeedSubscription.go.snap @@ -13,7 +13,6 @@ DescribeSpotDatafeedSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeSpotFleetInstances.go.snap b/service/ec2/snapshot/api_op_DescribeSpotFleetInstances.go.snap index 4a78e267a1f..9dc3c5dfd4e 100644 --- a/service/ec2/snapshot/api_op_DescribeSpotFleetInstances.go.snap +++ b/service/ec2/snapshot/api_op_DescribeSpotFleetInstances.go.snap @@ -14,7 +14,6 @@ DescribeSpotFleetInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeSpotFleetRequestHistory.go.snap b/service/ec2/snapshot/api_op_DescribeSpotFleetRequestHistory.go.snap index 267c19bd891..34da9bc12c2 100644 --- a/service/ec2/snapshot/api_op_DescribeSpotFleetRequestHistory.go.snap +++ b/service/ec2/snapshot/api_op_DescribeSpotFleetRequestHistory.go.snap @@ -14,7 +14,6 @@ DescribeSpotFleetRequestHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeSpotFleetRequests.go.snap b/service/ec2/snapshot/api_op_DescribeSpotFleetRequests.go.snap index 81bd8c65d33..dcff950a8cd 100644 --- a/service/ec2/snapshot/api_op_DescribeSpotFleetRequests.go.snap +++ b/service/ec2/snapshot/api_op_DescribeSpotFleetRequests.go.snap @@ -13,7 +13,6 @@ DescribeSpotFleetRequests Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeSpotInstanceRequests.go.snap b/service/ec2/snapshot/api_op_DescribeSpotInstanceRequests.go.snap index 15365182926..a2d368febd3 100644 --- a/service/ec2/snapshot/api_op_DescribeSpotInstanceRequests.go.snap +++ b/service/ec2/snapshot/api_op_DescribeSpotInstanceRequests.go.snap @@ -13,7 +13,6 @@ DescribeSpotInstanceRequests Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeSpotPriceHistory.go.snap b/service/ec2/snapshot/api_op_DescribeSpotPriceHistory.go.snap index 62c1d87b680..e7811cb58c5 100644 --- a/service/ec2/snapshot/api_op_DescribeSpotPriceHistory.go.snap +++ b/service/ec2/snapshot/api_op_DescribeSpotPriceHistory.go.snap @@ -13,7 +13,6 @@ DescribeSpotPriceHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeStaleSecurityGroups.go.snap b/service/ec2/snapshot/api_op_DescribeStaleSecurityGroups.go.snap index 10ad12e7433..3d8052dcb27 100644 --- a/service/ec2/snapshot/api_op_DescribeStaleSecurityGroups.go.snap +++ b/service/ec2/snapshot/api_op_DescribeStaleSecurityGroups.go.snap @@ -14,7 +14,6 @@ DescribeStaleSecurityGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeStoreImageTasks.go.snap b/service/ec2/snapshot/api_op_DescribeStoreImageTasks.go.snap index 5cec79c5a62..d00c9eb36aa 100644 --- a/service/ec2/snapshot/api_op_DescribeStoreImageTasks.go.snap +++ b/service/ec2/snapshot/api_op_DescribeStoreImageTasks.go.snap @@ -13,7 +13,6 @@ DescribeStoreImageTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeSubnets.go.snap b/service/ec2/snapshot/api_op_DescribeSubnets.go.snap index d6d4b2d0065..a5868984afd 100644 --- a/service/ec2/snapshot/api_op_DescribeSubnets.go.snap +++ b/service/ec2/snapshot/api_op_DescribeSubnets.go.snap @@ -13,7 +13,6 @@ DescribeSubnets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeTags.go.snap b/service/ec2/snapshot/api_op_DescribeTags.go.snap index 1f7ddc78181..c53b71dd605 100644 --- a/service/ec2/snapshot/api_op_DescribeTags.go.snap +++ b/service/ec2/snapshot/api_op_DescribeTags.go.snap @@ -13,7 +13,6 @@ DescribeTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeTrafficMirrorFilterRules.go.snap b/service/ec2/snapshot/api_op_DescribeTrafficMirrorFilterRules.go.snap index e53a6b8b2d2..ac4774a8ac3 100644 --- a/service/ec2/snapshot/api_op_DescribeTrafficMirrorFilterRules.go.snap +++ b/service/ec2/snapshot/api_op_DescribeTrafficMirrorFilterRules.go.snap @@ -13,7 +13,6 @@ DescribeTrafficMirrorFilterRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeTrafficMirrorFilters.go.snap b/service/ec2/snapshot/api_op_DescribeTrafficMirrorFilters.go.snap index 33da90754fb..34af79da12a 100644 --- a/service/ec2/snapshot/api_op_DescribeTrafficMirrorFilters.go.snap +++ b/service/ec2/snapshot/api_op_DescribeTrafficMirrorFilters.go.snap @@ -13,7 +13,6 @@ DescribeTrafficMirrorFilters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeTrafficMirrorSessions.go.snap b/service/ec2/snapshot/api_op_DescribeTrafficMirrorSessions.go.snap index 45d18894646..3d9d0a102fe 100644 --- a/service/ec2/snapshot/api_op_DescribeTrafficMirrorSessions.go.snap +++ b/service/ec2/snapshot/api_op_DescribeTrafficMirrorSessions.go.snap @@ -13,7 +13,6 @@ DescribeTrafficMirrorSessions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeTrafficMirrorTargets.go.snap b/service/ec2/snapshot/api_op_DescribeTrafficMirrorTargets.go.snap index 8e2df9ae0ec..a070efc1cb7 100644 --- a/service/ec2/snapshot/api_op_DescribeTrafficMirrorTargets.go.snap +++ b/service/ec2/snapshot/api_op_DescribeTrafficMirrorTargets.go.snap @@ -13,7 +13,6 @@ DescribeTrafficMirrorTargets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeTransitGatewayAttachments.go.snap b/service/ec2/snapshot/api_op_DescribeTransitGatewayAttachments.go.snap index 38df1d45549..9393f534e12 100644 --- a/service/ec2/snapshot/api_op_DescribeTransitGatewayAttachments.go.snap +++ b/service/ec2/snapshot/api_op_DescribeTransitGatewayAttachments.go.snap @@ -13,7 +13,6 @@ DescribeTransitGatewayAttachments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeTransitGatewayConnectPeers.go.snap b/service/ec2/snapshot/api_op_DescribeTransitGatewayConnectPeers.go.snap index 32fae3aa72a..974ceb00096 100644 --- a/service/ec2/snapshot/api_op_DescribeTransitGatewayConnectPeers.go.snap +++ b/service/ec2/snapshot/api_op_DescribeTransitGatewayConnectPeers.go.snap @@ -13,7 +13,6 @@ DescribeTransitGatewayConnectPeers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeTransitGatewayConnects.go.snap b/service/ec2/snapshot/api_op_DescribeTransitGatewayConnects.go.snap index b8dfa2d291e..6196062af7d 100644 --- a/service/ec2/snapshot/api_op_DescribeTransitGatewayConnects.go.snap +++ b/service/ec2/snapshot/api_op_DescribeTransitGatewayConnects.go.snap @@ -13,7 +13,6 @@ DescribeTransitGatewayConnects Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeTransitGatewayMulticastDomains.go.snap b/service/ec2/snapshot/api_op_DescribeTransitGatewayMulticastDomains.go.snap index 22aa5e68b10..11b902a78a8 100644 --- a/service/ec2/snapshot/api_op_DescribeTransitGatewayMulticastDomains.go.snap +++ b/service/ec2/snapshot/api_op_DescribeTransitGatewayMulticastDomains.go.snap @@ -13,7 +13,6 @@ DescribeTransitGatewayMulticastDomains Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeTransitGatewayPeeringAttachments.go.snap b/service/ec2/snapshot/api_op_DescribeTransitGatewayPeeringAttachments.go.snap index 4b1247a5375..28c3553224a 100644 --- a/service/ec2/snapshot/api_op_DescribeTransitGatewayPeeringAttachments.go.snap +++ b/service/ec2/snapshot/api_op_DescribeTransitGatewayPeeringAttachments.go.snap @@ -13,7 +13,6 @@ DescribeTransitGatewayPeeringAttachments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeTransitGatewayPolicyTables.go.snap b/service/ec2/snapshot/api_op_DescribeTransitGatewayPolicyTables.go.snap index 6a13319c442..810e2a09736 100644 --- a/service/ec2/snapshot/api_op_DescribeTransitGatewayPolicyTables.go.snap +++ b/service/ec2/snapshot/api_op_DescribeTransitGatewayPolicyTables.go.snap @@ -13,7 +13,6 @@ DescribeTransitGatewayPolicyTables Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeTransitGatewayRouteTableAnnouncements.go.snap b/service/ec2/snapshot/api_op_DescribeTransitGatewayRouteTableAnnouncements.go.snap index a8b49a1a9cc..12e8d44b389 100644 --- a/service/ec2/snapshot/api_op_DescribeTransitGatewayRouteTableAnnouncements.go.snap +++ b/service/ec2/snapshot/api_op_DescribeTransitGatewayRouteTableAnnouncements.go.snap @@ -13,7 +13,6 @@ DescribeTransitGatewayRouteTableAnnouncements Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeTransitGatewayRouteTables.go.snap b/service/ec2/snapshot/api_op_DescribeTransitGatewayRouteTables.go.snap index 27dd5b25746..39064eee24c 100644 --- a/service/ec2/snapshot/api_op_DescribeTransitGatewayRouteTables.go.snap +++ b/service/ec2/snapshot/api_op_DescribeTransitGatewayRouteTables.go.snap @@ -13,7 +13,6 @@ DescribeTransitGatewayRouteTables Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeTransitGatewayVpcAttachments.go.snap b/service/ec2/snapshot/api_op_DescribeTransitGatewayVpcAttachments.go.snap index 57dc0c9e24f..4f742866a4c 100644 --- a/service/ec2/snapshot/api_op_DescribeTransitGatewayVpcAttachments.go.snap +++ b/service/ec2/snapshot/api_op_DescribeTransitGatewayVpcAttachments.go.snap @@ -13,7 +13,6 @@ DescribeTransitGatewayVpcAttachments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeTransitGateways.go.snap b/service/ec2/snapshot/api_op_DescribeTransitGateways.go.snap index c1681e7b7c3..79e7b4c846f 100644 --- a/service/ec2/snapshot/api_op_DescribeTransitGateways.go.snap +++ b/service/ec2/snapshot/api_op_DescribeTransitGateways.go.snap @@ -13,7 +13,6 @@ DescribeTransitGateways Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeTrunkInterfaceAssociations.go.snap b/service/ec2/snapshot/api_op_DescribeTrunkInterfaceAssociations.go.snap index 912da7f2cdc..d2dfc142101 100644 --- a/service/ec2/snapshot/api_op_DescribeTrunkInterfaceAssociations.go.snap +++ b/service/ec2/snapshot/api_op_DescribeTrunkInterfaceAssociations.go.snap @@ -13,7 +13,6 @@ DescribeTrunkInterfaceAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeVerifiedAccessEndpoints.go.snap b/service/ec2/snapshot/api_op_DescribeVerifiedAccessEndpoints.go.snap index 799a87d8083..58f2bd96a18 100644 --- a/service/ec2/snapshot/api_op_DescribeVerifiedAccessEndpoints.go.snap +++ b/service/ec2/snapshot/api_op_DescribeVerifiedAccessEndpoints.go.snap @@ -13,7 +13,6 @@ DescribeVerifiedAccessEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeVerifiedAccessGroups.go.snap b/service/ec2/snapshot/api_op_DescribeVerifiedAccessGroups.go.snap index 88cee01f36b..c31ab1045a7 100644 --- a/service/ec2/snapshot/api_op_DescribeVerifiedAccessGroups.go.snap +++ b/service/ec2/snapshot/api_op_DescribeVerifiedAccessGroups.go.snap @@ -13,7 +13,6 @@ DescribeVerifiedAccessGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeVerifiedAccessInstanceLoggingConfigurations.go.snap b/service/ec2/snapshot/api_op_DescribeVerifiedAccessInstanceLoggingConfigurations.go.snap index 9218732f1ab..ec0e571cb6e 100644 --- a/service/ec2/snapshot/api_op_DescribeVerifiedAccessInstanceLoggingConfigurations.go.snap +++ b/service/ec2/snapshot/api_op_DescribeVerifiedAccessInstanceLoggingConfigurations.go.snap @@ -13,7 +13,6 @@ DescribeVerifiedAccessInstanceLoggingConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeVerifiedAccessInstances.go.snap b/service/ec2/snapshot/api_op_DescribeVerifiedAccessInstances.go.snap index 68296f75ca8..7366c2140f4 100644 --- a/service/ec2/snapshot/api_op_DescribeVerifiedAccessInstances.go.snap +++ b/service/ec2/snapshot/api_op_DescribeVerifiedAccessInstances.go.snap @@ -13,7 +13,6 @@ DescribeVerifiedAccessInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeVerifiedAccessTrustProviders.go.snap b/service/ec2/snapshot/api_op_DescribeVerifiedAccessTrustProviders.go.snap index c8f2fa71485..c44ff42cd82 100644 --- a/service/ec2/snapshot/api_op_DescribeVerifiedAccessTrustProviders.go.snap +++ b/service/ec2/snapshot/api_op_DescribeVerifiedAccessTrustProviders.go.snap @@ -13,7 +13,6 @@ DescribeVerifiedAccessTrustProviders Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeVolumeAttribute.go.snap b/service/ec2/snapshot/api_op_DescribeVolumeAttribute.go.snap index 6bded1ec273..7dbef4fe241 100644 --- a/service/ec2/snapshot/api_op_DescribeVolumeAttribute.go.snap +++ b/service/ec2/snapshot/api_op_DescribeVolumeAttribute.go.snap @@ -14,7 +14,6 @@ DescribeVolumeAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeVolumeStatus.go.snap b/service/ec2/snapshot/api_op_DescribeVolumeStatus.go.snap index 1f360ac6771..a5ab42a5c3a 100644 --- a/service/ec2/snapshot/api_op_DescribeVolumeStatus.go.snap +++ b/service/ec2/snapshot/api_op_DescribeVolumeStatus.go.snap @@ -13,7 +13,6 @@ DescribeVolumeStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeVolumes.go.snap b/service/ec2/snapshot/api_op_DescribeVolumes.go.snap index b33def0d1e4..efd8caa4007 100644 --- a/service/ec2/snapshot/api_op_DescribeVolumes.go.snap +++ b/service/ec2/snapshot/api_op_DescribeVolumes.go.snap @@ -13,7 +13,6 @@ DescribeVolumes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeVolumesModifications.go.snap b/service/ec2/snapshot/api_op_DescribeVolumesModifications.go.snap index 88b41df2621..e8a413a092e 100644 --- a/service/ec2/snapshot/api_op_DescribeVolumesModifications.go.snap +++ b/service/ec2/snapshot/api_op_DescribeVolumesModifications.go.snap @@ -13,7 +13,6 @@ DescribeVolumesModifications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeVpcAttribute.go.snap b/service/ec2/snapshot/api_op_DescribeVpcAttribute.go.snap index fda6123945c..a2a19cb71e5 100644 --- a/service/ec2/snapshot/api_op_DescribeVpcAttribute.go.snap +++ b/service/ec2/snapshot/api_op_DescribeVpcAttribute.go.snap @@ -14,7 +14,6 @@ DescribeVpcAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeVpcBlockPublicAccessExclusions.go.snap b/service/ec2/snapshot/api_op_DescribeVpcBlockPublicAccessExclusions.go.snap index 9dfb1fa0425..528b7812117 100644 --- a/service/ec2/snapshot/api_op_DescribeVpcBlockPublicAccessExclusions.go.snap +++ b/service/ec2/snapshot/api_op_DescribeVpcBlockPublicAccessExclusions.go.snap @@ -13,7 +13,6 @@ DescribeVpcBlockPublicAccessExclusions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeVpcBlockPublicAccessOptions.go.snap b/service/ec2/snapshot/api_op_DescribeVpcBlockPublicAccessOptions.go.snap index 21de8f6c93c..11209fb95d6 100644 --- a/service/ec2/snapshot/api_op_DescribeVpcBlockPublicAccessOptions.go.snap +++ b/service/ec2/snapshot/api_op_DescribeVpcBlockPublicAccessOptions.go.snap @@ -13,7 +13,6 @@ DescribeVpcBlockPublicAccessOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeVpcClassicLink.go.snap b/service/ec2/snapshot/api_op_DescribeVpcClassicLink.go.snap index e5fa2677f03..9f615162b24 100644 --- a/service/ec2/snapshot/api_op_DescribeVpcClassicLink.go.snap +++ b/service/ec2/snapshot/api_op_DescribeVpcClassicLink.go.snap @@ -13,7 +13,6 @@ DescribeVpcClassicLink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeVpcClassicLinkDnsSupport.go.snap b/service/ec2/snapshot/api_op_DescribeVpcClassicLinkDnsSupport.go.snap index bee2f308697..dd6b79657ab 100644 --- a/service/ec2/snapshot/api_op_DescribeVpcClassicLinkDnsSupport.go.snap +++ b/service/ec2/snapshot/api_op_DescribeVpcClassicLinkDnsSupport.go.snap @@ -13,7 +13,6 @@ DescribeVpcClassicLinkDnsSupport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeVpcEndpointAssociations.go.snap b/service/ec2/snapshot/api_op_DescribeVpcEndpointAssociations.go.snap index f18102d5ca8..a94b99142f7 100644 --- a/service/ec2/snapshot/api_op_DescribeVpcEndpointAssociations.go.snap +++ b/service/ec2/snapshot/api_op_DescribeVpcEndpointAssociations.go.snap @@ -13,7 +13,6 @@ DescribeVpcEndpointAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeVpcEndpointConnectionNotifications.go.snap b/service/ec2/snapshot/api_op_DescribeVpcEndpointConnectionNotifications.go.snap index 061476cb16b..60b0beef07d 100644 --- a/service/ec2/snapshot/api_op_DescribeVpcEndpointConnectionNotifications.go.snap +++ b/service/ec2/snapshot/api_op_DescribeVpcEndpointConnectionNotifications.go.snap @@ -13,7 +13,6 @@ DescribeVpcEndpointConnectionNotifications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeVpcEndpointConnections.go.snap b/service/ec2/snapshot/api_op_DescribeVpcEndpointConnections.go.snap index bde6ad87024..aaf264acf49 100644 --- a/service/ec2/snapshot/api_op_DescribeVpcEndpointConnections.go.snap +++ b/service/ec2/snapshot/api_op_DescribeVpcEndpointConnections.go.snap @@ -13,7 +13,6 @@ DescribeVpcEndpointConnections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeVpcEndpointServiceConfigurations.go.snap b/service/ec2/snapshot/api_op_DescribeVpcEndpointServiceConfigurations.go.snap index cc44877b402..662c17455bc 100644 --- a/service/ec2/snapshot/api_op_DescribeVpcEndpointServiceConfigurations.go.snap +++ b/service/ec2/snapshot/api_op_DescribeVpcEndpointServiceConfigurations.go.snap @@ -13,7 +13,6 @@ DescribeVpcEndpointServiceConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeVpcEndpointServicePermissions.go.snap b/service/ec2/snapshot/api_op_DescribeVpcEndpointServicePermissions.go.snap index 26f0a3e0d8a..a2d2d8db020 100644 --- a/service/ec2/snapshot/api_op_DescribeVpcEndpointServicePermissions.go.snap +++ b/service/ec2/snapshot/api_op_DescribeVpcEndpointServicePermissions.go.snap @@ -14,7 +14,6 @@ DescribeVpcEndpointServicePermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeVpcEndpointServices.go.snap b/service/ec2/snapshot/api_op_DescribeVpcEndpointServices.go.snap index 48d49a8bcc5..5195584db25 100644 --- a/service/ec2/snapshot/api_op_DescribeVpcEndpointServices.go.snap +++ b/service/ec2/snapshot/api_op_DescribeVpcEndpointServices.go.snap @@ -13,7 +13,6 @@ DescribeVpcEndpointServices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeVpcEndpoints.go.snap b/service/ec2/snapshot/api_op_DescribeVpcEndpoints.go.snap index c20e415dcf6..1b8f2fee3e3 100644 --- a/service/ec2/snapshot/api_op_DescribeVpcEndpoints.go.snap +++ b/service/ec2/snapshot/api_op_DescribeVpcEndpoints.go.snap @@ -13,7 +13,6 @@ DescribeVpcEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeVpcPeeringConnections.go.snap b/service/ec2/snapshot/api_op_DescribeVpcPeeringConnections.go.snap index e47d527e6be..13242ebee50 100644 --- a/service/ec2/snapshot/api_op_DescribeVpcPeeringConnections.go.snap +++ b/service/ec2/snapshot/api_op_DescribeVpcPeeringConnections.go.snap @@ -13,7 +13,6 @@ DescribeVpcPeeringConnections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeVpcs.go.snap b/service/ec2/snapshot/api_op_DescribeVpcs.go.snap index 4da57dcdd16..994248f57d7 100644 --- a/service/ec2/snapshot/api_op_DescribeVpcs.go.snap +++ b/service/ec2/snapshot/api_op_DescribeVpcs.go.snap @@ -13,7 +13,6 @@ DescribeVpcs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeVpnConnections.go.snap b/service/ec2/snapshot/api_op_DescribeVpnConnections.go.snap index 46d0edeab42..4bda612132e 100644 --- a/service/ec2/snapshot/api_op_DescribeVpnConnections.go.snap +++ b/service/ec2/snapshot/api_op_DescribeVpnConnections.go.snap @@ -13,7 +13,6 @@ DescribeVpnConnections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DescribeVpnGateways.go.snap b/service/ec2/snapshot/api_op_DescribeVpnGateways.go.snap index 3a861140391..1ae17988f8d 100644 --- a/service/ec2/snapshot/api_op_DescribeVpnGateways.go.snap +++ b/service/ec2/snapshot/api_op_DescribeVpnGateways.go.snap @@ -13,7 +13,6 @@ DescribeVpnGateways Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DetachClassicLinkVpc.go.snap b/service/ec2/snapshot/api_op_DetachClassicLinkVpc.go.snap index 4cace7c3ba5..734eed8fd46 100644 --- a/service/ec2/snapshot/api_op_DetachClassicLinkVpc.go.snap +++ b/service/ec2/snapshot/api_op_DetachClassicLinkVpc.go.snap @@ -14,7 +14,6 @@ DetachClassicLinkVpc Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DetachInternetGateway.go.snap b/service/ec2/snapshot/api_op_DetachInternetGateway.go.snap index 7fb59bf9cfb..91ebe239c58 100644 --- a/service/ec2/snapshot/api_op_DetachInternetGateway.go.snap +++ b/service/ec2/snapshot/api_op_DetachInternetGateway.go.snap @@ -14,7 +14,6 @@ DetachInternetGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DetachNetworkInterface.go.snap b/service/ec2/snapshot/api_op_DetachNetworkInterface.go.snap index 28f11151da8..425f0584af0 100644 --- a/service/ec2/snapshot/api_op_DetachNetworkInterface.go.snap +++ b/service/ec2/snapshot/api_op_DetachNetworkInterface.go.snap @@ -14,7 +14,6 @@ DetachNetworkInterface Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DetachVerifiedAccessTrustProvider.go.snap b/service/ec2/snapshot/api_op_DetachVerifiedAccessTrustProvider.go.snap index d481e55e929..a643f6bf69e 100644 --- a/service/ec2/snapshot/api_op_DetachVerifiedAccessTrustProvider.go.snap +++ b/service/ec2/snapshot/api_op_DetachVerifiedAccessTrustProvider.go.snap @@ -15,7 +15,6 @@ DetachVerifiedAccessTrustProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DetachVolume.go.snap b/service/ec2/snapshot/api_op_DetachVolume.go.snap index 35659536fe2..f9e546614d1 100644 --- a/service/ec2/snapshot/api_op_DetachVolume.go.snap +++ b/service/ec2/snapshot/api_op_DetachVolume.go.snap @@ -14,7 +14,6 @@ DetachVolume Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DetachVpnGateway.go.snap b/service/ec2/snapshot/api_op_DetachVpnGateway.go.snap index f0340e9dbb7..1ee048cfc16 100644 --- a/service/ec2/snapshot/api_op_DetachVpnGateway.go.snap +++ b/service/ec2/snapshot/api_op_DetachVpnGateway.go.snap @@ -14,7 +14,6 @@ DetachVpnGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisableAddressTransfer.go.snap b/service/ec2/snapshot/api_op_DisableAddressTransfer.go.snap index fe44eeefe92..d45cdca3c8c 100644 --- a/service/ec2/snapshot/api_op_DisableAddressTransfer.go.snap +++ b/service/ec2/snapshot/api_op_DisableAddressTransfer.go.snap @@ -14,7 +14,6 @@ DisableAddressTransfer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisableAllowedImagesSettings.go.snap b/service/ec2/snapshot/api_op_DisableAllowedImagesSettings.go.snap index b67c2d519ec..810fb181fe7 100644 --- a/service/ec2/snapshot/api_op_DisableAllowedImagesSettings.go.snap +++ b/service/ec2/snapshot/api_op_DisableAllowedImagesSettings.go.snap @@ -13,7 +13,6 @@ DisableAllowedImagesSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisableAwsNetworkPerformanceMetricSubscription.go.snap b/service/ec2/snapshot/api_op_DisableAwsNetworkPerformanceMetricSubscription.go.snap index 6a9ab2a46da..bd2403e1635 100644 --- a/service/ec2/snapshot/api_op_DisableAwsNetworkPerformanceMetricSubscription.go.snap +++ b/service/ec2/snapshot/api_op_DisableAwsNetworkPerformanceMetricSubscription.go.snap @@ -13,7 +13,6 @@ DisableAwsNetworkPerformanceMetricSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisableEbsEncryptionByDefault.go.snap b/service/ec2/snapshot/api_op_DisableEbsEncryptionByDefault.go.snap index b260f1f4dad..f7076372bf7 100644 --- a/service/ec2/snapshot/api_op_DisableEbsEncryptionByDefault.go.snap +++ b/service/ec2/snapshot/api_op_DisableEbsEncryptionByDefault.go.snap @@ -13,7 +13,6 @@ DisableEbsEncryptionByDefault Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisableFastLaunch.go.snap b/service/ec2/snapshot/api_op_DisableFastLaunch.go.snap index bcd7b32008a..ef5281359ad 100644 --- a/service/ec2/snapshot/api_op_DisableFastLaunch.go.snap +++ b/service/ec2/snapshot/api_op_DisableFastLaunch.go.snap @@ -14,7 +14,6 @@ DisableFastLaunch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisableFastSnapshotRestores.go.snap b/service/ec2/snapshot/api_op_DisableFastSnapshotRestores.go.snap index 22f94fa3cd5..0847bc4c397 100644 --- a/service/ec2/snapshot/api_op_DisableFastSnapshotRestores.go.snap +++ b/service/ec2/snapshot/api_op_DisableFastSnapshotRestores.go.snap @@ -14,7 +14,6 @@ DisableFastSnapshotRestores Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisableImage.go.snap b/service/ec2/snapshot/api_op_DisableImage.go.snap index 28c396e849c..773515d5c84 100644 --- a/service/ec2/snapshot/api_op_DisableImage.go.snap +++ b/service/ec2/snapshot/api_op_DisableImage.go.snap @@ -14,7 +14,6 @@ DisableImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisableImageBlockPublicAccess.go.snap b/service/ec2/snapshot/api_op_DisableImageBlockPublicAccess.go.snap index 9fb5afa40ef..945f9bea838 100644 --- a/service/ec2/snapshot/api_op_DisableImageBlockPublicAccess.go.snap +++ b/service/ec2/snapshot/api_op_DisableImageBlockPublicAccess.go.snap @@ -13,7 +13,6 @@ DisableImageBlockPublicAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisableImageDeprecation.go.snap b/service/ec2/snapshot/api_op_DisableImageDeprecation.go.snap index c83ab8c236a..16b8c61330e 100644 --- a/service/ec2/snapshot/api_op_DisableImageDeprecation.go.snap +++ b/service/ec2/snapshot/api_op_DisableImageDeprecation.go.snap @@ -14,7 +14,6 @@ DisableImageDeprecation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisableImageDeregistrationProtection.go.snap b/service/ec2/snapshot/api_op_DisableImageDeregistrationProtection.go.snap index 28255bd814a..a117ef18b63 100644 --- a/service/ec2/snapshot/api_op_DisableImageDeregistrationProtection.go.snap +++ b/service/ec2/snapshot/api_op_DisableImageDeregistrationProtection.go.snap @@ -14,7 +14,6 @@ DisableImageDeregistrationProtection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisableIpamOrganizationAdminAccount.go.snap b/service/ec2/snapshot/api_op_DisableIpamOrganizationAdminAccount.go.snap index 4573af90dad..c4868e26832 100644 --- a/service/ec2/snapshot/api_op_DisableIpamOrganizationAdminAccount.go.snap +++ b/service/ec2/snapshot/api_op_DisableIpamOrganizationAdminAccount.go.snap @@ -14,7 +14,6 @@ DisableIpamOrganizationAdminAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisableSerialConsoleAccess.go.snap b/service/ec2/snapshot/api_op_DisableSerialConsoleAccess.go.snap index 04992e9e0f6..056a4e5bcb1 100644 --- a/service/ec2/snapshot/api_op_DisableSerialConsoleAccess.go.snap +++ b/service/ec2/snapshot/api_op_DisableSerialConsoleAccess.go.snap @@ -13,7 +13,6 @@ DisableSerialConsoleAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisableSnapshotBlockPublicAccess.go.snap b/service/ec2/snapshot/api_op_DisableSnapshotBlockPublicAccess.go.snap index 5a6fab3afcf..dbe78561c47 100644 --- a/service/ec2/snapshot/api_op_DisableSnapshotBlockPublicAccess.go.snap +++ b/service/ec2/snapshot/api_op_DisableSnapshotBlockPublicAccess.go.snap @@ -13,7 +13,6 @@ DisableSnapshotBlockPublicAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisableTransitGatewayRouteTablePropagation.go.snap b/service/ec2/snapshot/api_op_DisableTransitGatewayRouteTablePropagation.go.snap index a396bd75e27..cd18959d15e 100644 --- a/service/ec2/snapshot/api_op_DisableTransitGatewayRouteTablePropagation.go.snap +++ b/service/ec2/snapshot/api_op_DisableTransitGatewayRouteTablePropagation.go.snap @@ -14,7 +14,6 @@ DisableTransitGatewayRouteTablePropagation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisableVgwRoutePropagation.go.snap b/service/ec2/snapshot/api_op_DisableVgwRoutePropagation.go.snap index 90f2cfecb5c..9cb18f28545 100644 --- a/service/ec2/snapshot/api_op_DisableVgwRoutePropagation.go.snap +++ b/service/ec2/snapshot/api_op_DisableVgwRoutePropagation.go.snap @@ -14,7 +14,6 @@ DisableVgwRoutePropagation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisableVpcClassicLink.go.snap b/service/ec2/snapshot/api_op_DisableVpcClassicLink.go.snap index f31a2df79eb..b773c2f1ffd 100644 --- a/service/ec2/snapshot/api_op_DisableVpcClassicLink.go.snap +++ b/service/ec2/snapshot/api_op_DisableVpcClassicLink.go.snap @@ -14,7 +14,6 @@ DisableVpcClassicLink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisableVpcClassicLinkDnsSupport.go.snap b/service/ec2/snapshot/api_op_DisableVpcClassicLinkDnsSupport.go.snap index 778ba50857c..0bf9adfc885 100644 --- a/service/ec2/snapshot/api_op_DisableVpcClassicLinkDnsSupport.go.snap +++ b/service/ec2/snapshot/api_op_DisableVpcClassicLinkDnsSupport.go.snap @@ -13,7 +13,6 @@ DisableVpcClassicLinkDnsSupport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisassociateAddress.go.snap b/service/ec2/snapshot/api_op_DisassociateAddress.go.snap index aa493dabf36..039caabaf4a 100644 --- a/service/ec2/snapshot/api_op_DisassociateAddress.go.snap +++ b/service/ec2/snapshot/api_op_DisassociateAddress.go.snap @@ -13,7 +13,6 @@ DisassociateAddress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisassociateCapacityReservationBillingOwner.go.snap b/service/ec2/snapshot/api_op_DisassociateCapacityReservationBillingOwner.go.snap index de34d4a7639..e51b441e8e7 100644 --- a/service/ec2/snapshot/api_op_DisassociateCapacityReservationBillingOwner.go.snap +++ b/service/ec2/snapshot/api_op_DisassociateCapacityReservationBillingOwner.go.snap @@ -14,7 +14,6 @@ DisassociateCapacityReservationBillingOwner Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisassociateClientVpnTargetNetwork.go.snap b/service/ec2/snapshot/api_op_DisassociateClientVpnTargetNetwork.go.snap index 5b6f2e7b171..eddf6af2142 100644 --- a/service/ec2/snapshot/api_op_DisassociateClientVpnTargetNetwork.go.snap +++ b/service/ec2/snapshot/api_op_DisassociateClientVpnTargetNetwork.go.snap @@ -14,7 +14,6 @@ DisassociateClientVpnTargetNetwork Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisassociateEnclaveCertificateIamRole.go.snap b/service/ec2/snapshot/api_op_DisassociateEnclaveCertificateIamRole.go.snap index c8589e8bcba..e3048f6227b 100644 --- a/service/ec2/snapshot/api_op_DisassociateEnclaveCertificateIamRole.go.snap +++ b/service/ec2/snapshot/api_op_DisassociateEnclaveCertificateIamRole.go.snap @@ -14,7 +14,6 @@ DisassociateEnclaveCertificateIamRole Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisassociateIamInstanceProfile.go.snap b/service/ec2/snapshot/api_op_DisassociateIamInstanceProfile.go.snap index 4af0ebb7afd..13dd0d53d3a 100644 --- a/service/ec2/snapshot/api_op_DisassociateIamInstanceProfile.go.snap +++ b/service/ec2/snapshot/api_op_DisassociateIamInstanceProfile.go.snap @@ -14,7 +14,6 @@ DisassociateIamInstanceProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisassociateInstanceEventWindow.go.snap b/service/ec2/snapshot/api_op_DisassociateInstanceEventWindow.go.snap index 041f1b79b3b..920ed80eac7 100644 --- a/service/ec2/snapshot/api_op_DisassociateInstanceEventWindow.go.snap +++ b/service/ec2/snapshot/api_op_DisassociateInstanceEventWindow.go.snap @@ -14,7 +14,6 @@ DisassociateInstanceEventWindow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisassociateIpamByoasn.go.snap b/service/ec2/snapshot/api_op_DisassociateIpamByoasn.go.snap index c2da2b54ac9..e5df5b629b8 100644 --- a/service/ec2/snapshot/api_op_DisassociateIpamByoasn.go.snap +++ b/service/ec2/snapshot/api_op_DisassociateIpamByoasn.go.snap @@ -14,7 +14,6 @@ DisassociateIpamByoasn Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisassociateIpamResourceDiscovery.go.snap b/service/ec2/snapshot/api_op_DisassociateIpamResourceDiscovery.go.snap index db8328abe23..432a7796545 100644 --- a/service/ec2/snapshot/api_op_DisassociateIpamResourceDiscovery.go.snap +++ b/service/ec2/snapshot/api_op_DisassociateIpamResourceDiscovery.go.snap @@ -14,7 +14,6 @@ DisassociateIpamResourceDiscovery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisassociateNatGatewayAddress.go.snap b/service/ec2/snapshot/api_op_DisassociateNatGatewayAddress.go.snap index 30d91d22c7b..7ca57d6021f 100644 --- a/service/ec2/snapshot/api_op_DisassociateNatGatewayAddress.go.snap +++ b/service/ec2/snapshot/api_op_DisassociateNatGatewayAddress.go.snap @@ -14,7 +14,6 @@ DisassociateNatGatewayAddress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisassociateRouteTable.go.snap b/service/ec2/snapshot/api_op_DisassociateRouteTable.go.snap index d8f12c1ce4a..8d54bae17e1 100644 --- a/service/ec2/snapshot/api_op_DisassociateRouteTable.go.snap +++ b/service/ec2/snapshot/api_op_DisassociateRouteTable.go.snap @@ -14,7 +14,6 @@ DisassociateRouteTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisassociateSecurityGroupVpc.go.snap b/service/ec2/snapshot/api_op_DisassociateSecurityGroupVpc.go.snap index d4ede6d73f6..4b0bebfdbcf 100644 --- a/service/ec2/snapshot/api_op_DisassociateSecurityGroupVpc.go.snap +++ b/service/ec2/snapshot/api_op_DisassociateSecurityGroupVpc.go.snap @@ -14,7 +14,6 @@ DisassociateSecurityGroupVpc Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisassociateSubnetCidrBlock.go.snap b/service/ec2/snapshot/api_op_DisassociateSubnetCidrBlock.go.snap index a6fb61412f4..a85652f8cfe 100644 --- a/service/ec2/snapshot/api_op_DisassociateSubnetCidrBlock.go.snap +++ b/service/ec2/snapshot/api_op_DisassociateSubnetCidrBlock.go.snap @@ -14,7 +14,6 @@ DisassociateSubnetCidrBlock Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisassociateTransitGatewayMulticastDomain.go.snap b/service/ec2/snapshot/api_op_DisassociateTransitGatewayMulticastDomain.go.snap index acaa39d6453..9013298feac 100644 --- a/service/ec2/snapshot/api_op_DisassociateTransitGatewayMulticastDomain.go.snap +++ b/service/ec2/snapshot/api_op_DisassociateTransitGatewayMulticastDomain.go.snap @@ -14,7 +14,6 @@ DisassociateTransitGatewayMulticastDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisassociateTransitGatewayPolicyTable.go.snap b/service/ec2/snapshot/api_op_DisassociateTransitGatewayPolicyTable.go.snap index 2fd14559e77..005a888dcb7 100644 --- a/service/ec2/snapshot/api_op_DisassociateTransitGatewayPolicyTable.go.snap +++ b/service/ec2/snapshot/api_op_DisassociateTransitGatewayPolicyTable.go.snap @@ -14,7 +14,6 @@ DisassociateTransitGatewayPolicyTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisassociateTransitGatewayRouteTable.go.snap b/service/ec2/snapshot/api_op_DisassociateTransitGatewayRouteTable.go.snap index 32b98e13d8a..5dc3859a81d 100644 --- a/service/ec2/snapshot/api_op_DisassociateTransitGatewayRouteTable.go.snap +++ b/service/ec2/snapshot/api_op_DisassociateTransitGatewayRouteTable.go.snap @@ -14,7 +14,6 @@ DisassociateTransitGatewayRouteTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisassociateTrunkInterface.go.snap b/service/ec2/snapshot/api_op_DisassociateTrunkInterface.go.snap index 401eb36d177..b378153ce7d 100644 --- a/service/ec2/snapshot/api_op_DisassociateTrunkInterface.go.snap +++ b/service/ec2/snapshot/api_op_DisassociateTrunkInterface.go.snap @@ -15,7 +15,6 @@ DisassociateTrunkInterface Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_DisassociateVpcCidrBlock.go.snap b/service/ec2/snapshot/api_op_DisassociateVpcCidrBlock.go.snap index 25b6dacbdaa..c3b9e5366d9 100644 --- a/service/ec2/snapshot/api_op_DisassociateVpcCidrBlock.go.snap +++ b/service/ec2/snapshot/api_op_DisassociateVpcCidrBlock.go.snap @@ -14,7 +14,6 @@ DisassociateVpcCidrBlock Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_EnableAddressTransfer.go.snap b/service/ec2/snapshot/api_op_EnableAddressTransfer.go.snap index ed6c5d99c55..a2db8eb2e50 100644 --- a/service/ec2/snapshot/api_op_EnableAddressTransfer.go.snap +++ b/service/ec2/snapshot/api_op_EnableAddressTransfer.go.snap @@ -14,7 +14,6 @@ EnableAddressTransfer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_EnableAllowedImagesSettings.go.snap b/service/ec2/snapshot/api_op_EnableAllowedImagesSettings.go.snap index 70425768321..4ae86db2078 100644 --- a/service/ec2/snapshot/api_op_EnableAllowedImagesSettings.go.snap +++ b/service/ec2/snapshot/api_op_EnableAllowedImagesSettings.go.snap @@ -14,7 +14,6 @@ EnableAllowedImagesSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_EnableAwsNetworkPerformanceMetricSubscription.go.snap b/service/ec2/snapshot/api_op_EnableAwsNetworkPerformanceMetricSubscription.go.snap index 5792039f6f3..a677782d06a 100644 --- a/service/ec2/snapshot/api_op_EnableAwsNetworkPerformanceMetricSubscription.go.snap +++ b/service/ec2/snapshot/api_op_EnableAwsNetworkPerformanceMetricSubscription.go.snap @@ -13,7 +13,6 @@ EnableAwsNetworkPerformanceMetricSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_EnableEbsEncryptionByDefault.go.snap b/service/ec2/snapshot/api_op_EnableEbsEncryptionByDefault.go.snap index fa204595e0c..7cfe5229b4a 100644 --- a/service/ec2/snapshot/api_op_EnableEbsEncryptionByDefault.go.snap +++ b/service/ec2/snapshot/api_op_EnableEbsEncryptionByDefault.go.snap @@ -13,7 +13,6 @@ EnableEbsEncryptionByDefault Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_EnableFastLaunch.go.snap b/service/ec2/snapshot/api_op_EnableFastLaunch.go.snap index 060fafec0f9..ce7d57b9a8a 100644 --- a/service/ec2/snapshot/api_op_EnableFastLaunch.go.snap +++ b/service/ec2/snapshot/api_op_EnableFastLaunch.go.snap @@ -14,7 +14,6 @@ EnableFastLaunch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_EnableFastSnapshotRestores.go.snap b/service/ec2/snapshot/api_op_EnableFastSnapshotRestores.go.snap index 8db01a2de3d..f4cf6c7bf88 100644 --- a/service/ec2/snapshot/api_op_EnableFastSnapshotRestores.go.snap +++ b/service/ec2/snapshot/api_op_EnableFastSnapshotRestores.go.snap @@ -14,7 +14,6 @@ EnableFastSnapshotRestores Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_EnableImage.go.snap b/service/ec2/snapshot/api_op_EnableImage.go.snap index 3833a1471fd..a6b114696fd 100644 --- a/service/ec2/snapshot/api_op_EnableImage.go.snap +++ b/service/ec2/snapshot/api_op_EnableImage.go.snap @@ -14,7 +14,6 @@ EnableImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_EnableImageBlockPublicAccess.go.snap b/service/ec2/snapshot/api_op_EnableImageBlockPublicAccess.go.snap index b676fa6580b..2995e39be08 100644 --- a/service/ec2/snapshot/api_op_EnableImageBlockPublicAccess.go.snap +++ b/service/ec2/snapshot/api_op_EnableImageBlockPublicAccess.go.snap @@ -14,7 +14,6 @@ EnableImageBlockPublicAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_EnableImageDeprecation.go.snap b/service/ec2/snapshot/api_op_EnableImageDeprecation.go.snap index c721b2ad331..61a9fc03384 100644 --- a/service/ec2/snapshot/api_op_EnableImageDeprecation.go.snap +++ b/service/ec2/snapshot/api_op_EnableImageDeprecation.go.snap @@ -14,7 +14,6 @@ EnableImageDeprecation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_EnableImageDeregistrationProtection.go.snap b/service/ec2/snapshot/api_op_EnableImageDeregistrationProtection.go.snap index f80068df24c..40e29b61e4a 100644 --- a/service/ec2/snapshot/api_op_EnableImageDeregistrationProtection.go.snap +++ b/service/ec2/snapshot/api_op_EnableImageDeregistrationProtection.go.snap @@ -14,7 +14,6 @@ EnableImageDeregistrationProtection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_EnableIpamOrganizationAdminAccount.go.snap b/service/ec2/snapshot/api_op_EnableIpamOrganizationAdminAccount.go.snap index 2773e137563..61dd4ac998b 100644 --- a/service/ec2/snapshot/api_op_EnableIpamOrganizationAdminAccount.go.snap +++ b/service/ec2/snapshot/api_op_EnableIpamOrganizationAdminAccount.go.snap @@ -14,7 +14,6 @@ EnableIpamOrganizationAdminAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_EnableReachabilityAnalyzerOrganizationSharing.go.snap b/service/ec2/snapshot/api_op_EnableReachabilityAnalyzerOrganizationSharing.go.snap index 89bcd9f8478..3d0fc7c54c7 100644 --- a/service/ec2/snapshot/api_op_EnableReachabilityAnalyzerOrganizationSharing.go.snap +++ b/service/ec2/snapshot/api_op_EnableReachabilityAnalyzerOrganizationSharing.go.snap @@ -13,7 +13,6 @@ EnableReachabilityAnalyzerOrganizationSharing Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_EnableSerialConsoleAccess.go.snap b/service/ec2/snapshot/api_op_EnableSerialConsoleAccess.go.snap index ecb1618aebe..48add548127 100644 --- a/service/ec2/snapshot/api_op_EnableSerialConsoleAccess.go.snap +++ b/service/ec2/snapshot/api_op_EnableSerialConsoleAccess.go.snap @@ -13,7 +13,6 @@ EnableSerialConsoleAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_EnableSnapshotBlockPublicAccess.go.snap b/service/ec2/snapshot/api_op_EnableSnapshotBlockPublicAccess.go.snap index a175bf687ee..4f8e646488b 100644 --- a/service/ec2/snapshot/api_op_EnableSnapshotBlockPublicAccess.go.snap +++ b/service/ec2/snapshot/api_op_EnableSnapshotBlockPublicAccess.go.snap @@ -14,7 +14,6 @@ EnableSnapshotBlockPublicAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_EnableTransitGatewayRouteTablePropagation.go.snap b/service/ec2/snapshot/api_op_EnableTransitGatewayRouteTablePropagation.go.snap index e86595ca4ac..c2828324942 100644 --- a/service/ec2/snapshot/api_op_EnableTransitGatewayRouteTablePropagation.go.snap +++ b/service/ec2/snapshot/api_op_EnableTransitGatewayRouteTablePropagation.go.snap @@ -14,7 +14,6 @@ EnableTransitGatewayRouteTablePropagation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_EnableVgwRoutePropagation.go.snap b/service/ec2/snapshot/api_op_EnableVgwRoutePropagation.go.snap index 9c62f8bf806..1fcc3b304c8 100644 --- a/service/ec2/snapshot/api_op_EnableVgwRoutePropagation.go.snap +++ b/service/ec2/snapshot/api_op_EnableVgwRoutePropagation.go.snap @@ -14,7 +14,6 @@ EnableVgwRoutePropagation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_EnableVolumeIO.go.snap b/service/ec2/snapshot/api_op_EnableVolumeIO.go.snap index 7e1fe6ff17d..f4729ff01fc 100644 --- a/service/ec2/snapshot/api_op_EnableVolumeIO.go.snap +++ b/service/ec2/snapshot/api_op_EnableVolumeIO.go.snap @@ -14,7 +14,6 @@ EnableVolumeIO Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_EnableVpcClassicLink.go.snap b/service/ec2/snapshot/api_op_EnableVpcClassicLink.go.snap index 7b14c64734b..bbd40b7478b 100644 --- a/service/ec2/snapshot/api_op_EnableVpcClassicLink.go.snap +++ b/service/ec2/snapshot/api_op_EnableVpcClassicLink.go.snap @@ -14,7 +14,6 @@ EnableVpcClassicLink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_EnableVpcClassicLinkDnsSupport.go.snap b/service/ec2/snapshot/api_op_EnableVpcClassicLinkDnsSupport.go.snap index 39877b5142e..cac880020f5 100644 --- a/service/ec2/snapshot/api_op_EnableVpcClassicLinkDnsSupport.go.snap +++ b/service/ec2/snapshot/api_op_EnableVpcClassicLinkDnsSupport.go.snap @@ -13,7 +13,6 @@ EnableVpcClassicLinkDnsSupport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ExportClientVpnClientCertificateRevocationList.go.snap b/service/ec2/snapshot/api_op_ExportClientVpnClientCertificateRevocationList.go.snap index 7bf541ada12..df2c5ea9e57 100644 --- a/service/ec2/snapshot/api_op_ExportClientVpnClientCertificateRevocationList.go.snap +++ b/service/ec2/snapshot/api_op_ExportClientVpnClientCertificateRevocationList.go.snap @@ -14,7 +14,6 @@ ExportClientVpnClientCertificateRevocationList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ExportClientVpnClientConfiguration.go.snap b/service/ec2/snapshot/api_op_ExportClientVpnClientConfiguration.go.snap index 06219b0ebe9..cef98877d6e 100644 --- a/service/ec2/snapshot/api_op_ExportClientVpnClientConfiguration.go.snap +++ b/service/ec2/snapshot/api_op_ExportClientVpnClientConfiguration.go.snap @@ -14,7 +14,6 @@ ExportClientVpnClientConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ExportImage.go.snap b/service/ec2/snapshot/api_op_ExportImage.go.snap index 4d0b8f3818b..728d403f050 100644 --- a/service/ec2/snapshot/api_op_ExportImage.go.snap +++ b/service/ec2/snapshot/api_op_ExportImage.go.snap @@ -15,7 +15,6 @@ ExportImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ExportTransitGatewayRoutes.go.snap b/service/ec2/snapshot/api_op_ExportTransitGatewayRoutes.go.snap index 001f9f0f46b..82ae403a642 100644 --- a/service/ec2/snapshot/api_op_ExportTransitGatewayRoutes.go.snap +++ b/service/ec2/snapshot/api_op_ExportTransitGatewayRoutes.go.snap @@ -14,7 +14,6 @@ ExportTransitGatewayRoutes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ExportVerifiedAccessInstanceClientConfiguration.go.snap b/service/ec2/snapshot/api_op_ExportVerifiedAccessInstanceClientConfiguration.go.snap index f7e161ef7bb..96b97819da0 100644 --- a/service/ec2/snapshot/api_op_ExportVerifiedAccessInstanceClientConfiguration.go.snap +++ b/service/ec2/snapshot/api_op_ExportVerifiedAccessInstanceClientConfiguration.go.snap @@ -14,7 +14,6 @@ ExportVerifiedAccessInstanceClientConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetAllowedImagesSettings.go.snap b/service/ec2/snapshot/api_op_GetAllowedImagesSettings.go.snap index ceb335bb7f4..fbf08c18461 100644 --- a/service/ec2/snapshot/api_op_GetAllowedImagesSettings.go.snap +++ b/service/ec2/snapshot/api_op_GetAllowedImagesSettings.go.snap @@ -13,7 +13,6 @@ GetAllowedImagesSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetAssociatedEnclaveCertificateIamRoles.go.snap b/service/ec2/snapshot/api_op_GetAssociatedEnclaveCertificateIamRoles.go.snap index b35956f798d..bc48a135f8b 100644 --- a/service/ec2/snapshot/api_op_GetAssociatedEnclaveCertificateIamRoles.go.snap +++ b/service/ec2/snapshot/api_op_GetAssociatedEnclaveCertificateIamRoles.go.snap @@ -14,7 +14,6 @@ GetAssociatedEnclaveCertificateIamRoles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetAssociatedIpv6PoolCidrs.go.snap b/service/ec2/snapshot/api_op_GetAssociatedIpv6PoolCidrs.go.snap index ae15266480d..df19fa41ad0 100644 --- a/service/ec2/snapshot/api_op_GetAssociatedIpv6PoolCidrs.go.snap +++ b/service/ec2/snapshot/api_op_GetAssociatedIpv6PoolCidrs.go.snap @@ -14,7 +14,6 @@ GetAssociatedIpv6PoolCidrs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetAwsNetworkPerformanceData.go.snap b/service/ec2/snapshot/api_op_GetAwsNetworkPerformanceData.go.snap index 26aa7645754..a0dc1fce52f 100644 --- a/service/ec2/snapshot/api_op_GetAwsNetworkPerformanceData.go.snap +++ b/service/ec2/snapshot/api_op_GetAwsNetworkPerformanceData.go.snap @@ -13,7 +13,6 @@ GetAwsNetworkPerformanceData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetCapacityReservationUsage.go.snap b/service/ec2/snapshot/api_op_GetCapacityReservationUsage.go.snap index e340c0d3e48..df47b3318f9 100644 --- a/service/ec2/snapshot/api_op_GetCapacityReservationUsage.go.snap +++ b/service/ec2/snapshot/api_op_GetCapacityReservationUsage.go.snap @@ -14,7 +14,6 @@ GetCapacityReservationUsage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetCoipPoolUsage.go.snap b/service/ec2/snapshot/api_op_GetCoipPoolUsage.go.snap index facd360119d..68910e53dab 100644 --- a/service/ec2/snapshot/api_op_GetCoipPoolUsage.go.snap +++ b/service/ec2/snapshot/api_op_GetCoipPoolUsage.go.snap @@ -14,7 +14,6 @@ GetCoipPoolUsage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetConsoleOutput.go.snap b/service/ec2/snapshot/api_op_GetConsoleOutput.go.snap index 3cc30eb0a14..3a175fdea3c 100644 --- a/service/ec2/snapshot/api_op_GetConsoleOutput.go.snap +++ b/service/ec2/snapshot/api_op_GetConsoleOutput.go.snap @@ -14,7 +14,6 @@ GetConsoleOutput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetConsoleScreenshot.go.snap b/service/ec2/snapshot/api_op_GetConsoleScreenshot.go.snap index 34476cc1aa3..b6eeed2efe0 100644 --- a/service/ec2/snapshot/api_op_GetConsoleScreenshot.go.snap +++ b/service/ec2/snapshot/api_op_GetConsoleScreenshot.go.snap @@ -14,7 +14,6 @@ GetConsoleScreenshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetDeclarativePoliciesReportSummary.go.snap b/service/ec2/snapshot/api_op_GetDeclarativePoliciesReportSummary.go.snap index 51d0bfcee8f..4abf8e436e9 100644 --- a/service/ec2/snapshot/api_op_GetDeclarativePoliciesReportSummary.go.snap +++ b/service/ec2/snapshot/api_op_GetDeclarativePoliciesReportSummary.go.snap @@ -14,7 +14,6 @@ GetDeclarativePoliciesReportSummary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetDefaultCreditSpecification.go.snap b/service/ec2/snapshot/api_op_GetDefaultCreditSpecification.go.snap index 0db96406090..b2d3abed04d 100644 --- a/service/ec2/snapshot/api_op_GetDefaultCreditSpecification.go.snap +++ b/service/ec2/snapshot/api_op_GetDefaultCreditSpecification.go.snap @@ -14,7 +14,6 @@ GetDefaultCreditSpecification Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetEbsDefaultKmsKeyId.go.snap b/service/ec2/snapshot/api_op_GetEbsDefaultKmsKeyId.go.snap index 5cc5875a5eb..170386f91e9 100644 --- a/service/ec2/snapshot/api_op_GetEbsDefaultKmsKeyId.go.snap +++ b/service/ec2/snapshot/api_op_GetEbsDefaultKmsKeyId.go.snap @@ -13,7 +13,6 @@ GetEbsDefaultKmsKeyId Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetEbsEncryptionByDefault.go.snap b/service/ec2/snapshot/api_op_GetEbsEncryptionByDefault.go.snap index eba4594ce90..ed4039319a3 100644 --- a/service/ec2/snapshot/api_op_GetEbsEncryptionByDefault.go.snap +++ b/service/ec2/snapshot/api_op_GetEbsEncryptionByDefault.go.snap @@ -13,7 +13,6 @@ GetEbsEncryptionByDefault Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetFlowLogsIntegrationTemplate.go.snap b/service/ec2/snapshot/api_op_GetFlowLogsIntegrationTemplate.go.snap index d8a64d5fcd2..b6dfa15afbe 100644 --- a/service/ec2/snapshot/api_op_GetFlowLogsIntegrationTemplate.go.snap +++ b/service/ec2/snapshot/api_op_GetFlowLogsIntegrationTemplate.go.snap @@ -14,7 +14,6 @@ GetFlowLogsIntegrationTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetGroupsForCapacityReservation.go.snap b/service/ec2/snapshot/api_op_GetGroupsForCapacityReservation.go.snap index d01ecf3a976..f12eaeeb255 100644 --- a/service/ec2/snapshot/api_op_GetGroupsForCapacityReservation.go.snap +++ b/service/ec2/snapshot/api_op_GetGroupsForCapacityReservation.go.snap @@ -14,7 +14,6 @@ GetGroupsForCapacityReservation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetHostReservationPurchasePreview.go.snap b/service/ec2/snapshot/api_op_GetHostReservationPurchasePreview.go.snap index 417157f4fd0..eec4157e5f9 100644 --- a/service/ec2/snapshot/api_op_GetHostReservationPurchasePreview.go.snap +++ b/service/ec2/snapshot/api_op_GetHostReservationPurchasePreview.go.snap @@ -14,7 +14,6 @@ GetHostReservationPurchasePreview Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetImageBlockPublicAccessState.go.snap b/service/ec2/snapshot/api_op_GetImageBlockPublicAccessState.go.snap index eac6c274446..df3005a4ddc 100644 --- a/service/ec2/snapshot/api_op_GetImageBlockPublicAccessState.go.snap +++ b/service/ec2/snapshot/api_op_GetImageBlockPublicAccessState.go.snap @@ -13,7 +13,6 @@ GetImageBlockPublicAccessState Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetInstanceMetadataDefaults.go.snap b/service/ec2/snapshot/api_op_GetInstanceMetadataDefaults.go.snap index 18ff465c070..653f0c2ddb6 100644 --- a/service/ec2/snapshot/api_op_GetInstanceMetadataDefaults.go.snap +++ b/service/ec2/snapshot/api_op_GetInstanceMetadataDefaults.go.snap @@ -13,7 +13,6 @@ GetInstanceMetadataDefaults Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetInstanceTpmEkPub.go.snap b/service/ec2/snapshot/api_op_GetInstanceTpmEkPub.go.snap index 0601dbd6980..5111a8fcf52 100644 --- a/service/ec2/snapshot/api_op_GetInstanceTpmEkPub.go.snap +++ b/service/ec2/snapshot/api_op_GetInstanceTpmEkPub.go.snap @@ -14,7 +14,6 @@ GetInstanceTpmEkPub Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetInstanceTypesFromInstanceRequirements.go.snap b/service/ec2/snapshot/api_op_GetInstanceTypesFromInstanceRequirements.go.snap index 2e774344272..ebe1bac5cb1 100644 --- a/service/ec2/snapshot/api_op_GetInstanceTypesFromInstanceRequirements.go.snap +++ b/service/ec2/snapshot/api_op_GetInstanceTypesFromInstanceRequirements.go.snap @@ -14,7 +14,6 @@ GetInstanceTypesFromInstanceRequirements Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetInstanceUefiData.go.snap b/service/ec2/snapshot/api_op_GetInstanceUefiData.go.snap index dc2b85d26a6..c2b4c25e6c5 100644 --- a/service/ec2/snapshot/api_op_GetInstanceUefiData.go.snap +++ b/service/ec2/snapshot/api_op_GetInstanceUefiData.go.snap @@ -14,7 +14,6 @@ GetInstanceUefiData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetIpamAddressHistory.go.snap b/service/ec2/snapshot/api_op_GetIpamAddressHistory.go.snap index 502180ef7d2..a9222183553 100644 --- a/service/ec2/snapshot/api_op_GetIpamAddressHistory.go.snap +++ b/service/ec2/snapshot/api_op_GetIpamAddressHistory.go.snap @@ -14,7 +14,6 @@ GetIpamAddressHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetIpamDiscoveredAccounts.go.snap b/service/ec2/snapshot/api_op_GetIpamDiscoveredAccounts.go.snap index 0804a34246d..5063f566498 100644 --- a/service/ec2/snapshot/api_op_GetIpamDiscoveredAccounts.go.snap +++ b/service/ec2/snapshot/api_op_GetIpamDiscoveredAccounts.go.snap @@ -14,7 +14,6 @@ GetIpamDiscoveredAccounts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetIpamDiscoveredPublicAddresses.go.snap b/service/ec2/snapshot/api_op_GetIpamDiscoveredPublicAddresses.go.snap index 96626394e16..19bc1ceadec 100644 --- a/service/ec2/snapshot/api_op_GetIpamDiscoveredPublicAddresses.go.snap +++ b/service/ec2/snapshot/api_op_GetIpamDiscoveredPublicAddresses.go.snap @@ -14,7 +14,6 @@ GetIpamDiscoveredPublicAddresses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetIpamDiscoveredResourceCidrs.go.snap b/service/ec2/snapshot/api_op_GetIpamDiscoveredResourceCidrs.go.snap index d2f206c2548..8e665297966 100644 --- a/service/ec2/snapshot/api_op_GetIpamDiscoveredResourceCidrs.go.snap +++ b/service/ec2/snapshot/api_op_GetIpamDiscoveredResourceCidrs.go.snap @@ -14,7 +14,6 @@ GetIpamDiscoveredResourceCidrs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetIpamPoolAllocations.go.snap b/service/ec2/snapshot/api_op_GetIpamPoolAllocations.go.snap index 020380dd05e..a853d3b9fdd 100644 --- a/service/ec2/snapshot/api_op_GetIpamPoolAllocations.go.snap +++ b/service/ec2/snapshot/api_op_GetIpamPoolAllocations.go.snap @@ -14,7 +14,6 @@ GetIpamPoolAllocations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetIpamPoolCidrs.go.snap b/service/ec2/snapshot/api_op_GetIpamPoolCidrs.go.snap index 24706207a27..4edef05cfa8 100644 --- a/service/ec2/snapshot/api_op_GetIpamPoolCidrs.go.snap +++ b/service/ec2/snapshot/api_op_GetIpamPoolCidrs.go.snap @@ -14,7 +14,6 @@ GetIpamPoolCidrs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetIpamResourceCidrs.go.snap b/service/ec2/snapshot/api_op_GetIpamResourceCidrs.go.snap index 35f3ccf875e..5b4fba9df51 100644 --- a/service/ec2/snapshot/api_op_GetIpamResourceCidrs.go.snap +++ b/service/ec2/snapshot/api_op_GetIpamResourceCidrs.go.snap @@ -14,7 +14,6 @@ GetIpamResourceCidrs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetLaunchTemplateData.go.snap b/service/ec2/snapshot/api_op_GetLaunchTemplateData.go.snap index d4d721d3d51..8e63036c5de 100644 --- a/service/ec2/snapshot/api_op_GetLaunchTemplateData.go.snap +++ b/service/ec2/snapshot/api_op_GetLaunchTemplateData.go.snap @@ -14,7 +14,6 @@ GetLaunchTemplateData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetManagedPrefixListAssociations.go.snap b/service/ec2/snapshot/api_op_GetManagedPrefixListAssociations.go.snap index a30e3f08421..761ebfe40af 100644 --- a/service/ec2/snapshot/api_op_GetManagedPrefixListAssociations.go.snap +++ b/service/ec2/snapshot/api_op_GetManagedPrefixListAssociations.go.snap @@ -14,7 +14,6 @@ GetManagedPrefixListAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetManagedPrefixListEntries.go.snap b/service/ec2/snapshot/api_op_GetManagedPrefixListEntries.go.snap index e38e150fe97..2a2045433a0 100644 --- a/service/ec2/snapshot/api_op_GetManagedPrefixListEntries.go.snap +++ b/service/ec2/snapshot/api_op_GetManagedPrefixListEntries.go.snap @@ -14,7 +14,6 @@ GetManagedPrefixListEntries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetNetworkInsightsAccessScopeAnalysisFindings.go.snap b/service/ec2/snapshot/api_op_GetNetworkInsightsAccessScopeAnalysisFindings.go.snap index eb055918b88..f2b70c5499b 100644 --- a/service/ec2/snapshot/api_op_GetNetworkInsightsAccessScopeAnalysisFindings.go.snap +++ b/service/ec2/snapshot/api_op_GetNetworkInsightsAccessScopeAnalysisFindings.go.snap @@ -14,7 +14,6 @@ GetNetworkInsightsAccessScopeAnalysisFindings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetNetworkInsightsAccessScopeContent.go.snap b/service/ec2/snapshot/api_op_GetNetworkInsightsAccessScopeContent.go.snap index a50a8e796b5..6a54a0fdfa1 100644 --- a/service/ec2/snapshot/api_op_GetNetworkInsightsAccessScopeContent.go.snap +++ b/service/ec2/snapshot/api_op_GetNetworkInsightsAccessScopeContent.go.snap @@ -14,7 +14,6 @@ GetNetworkInsightsAccessScopeContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetPasswordData.go.snap b/service/ec2/snapshot/api_op_GetPasswordData.go.snap index 06108438007..c658a7175b5 100644 --- a/service/ec2/snapshot/api_op_GetPasswordData.go.snap +++ b/service/ec2/snapshot/api_op_GetPasswordData.go.snap @@ -14,7 +14,6 @@ GetPasswordData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetReservedInstancesExchangeQuote.go.snap b/service/ec2/snapshot/api_op_GetReservedInstancesExchangeQuote.go.snap index e23a028ea16..d7194fe66fc 100644 --- a/service/ec2/snapshot/api_op_GetReservedInstancesExchangeQuote.go.snap +++ b/service/ec2/snapshot/api_op_GetReservedInstancesExchangeQuote.go.snap @@ -14,7 +14,6 @@ GetReservedInstancesExchangeQuote Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetSecurityGroupsForVpc.go.snap b/service/ec2/snapshot/api_op_GetSecurityGroupsForVpc.go.snap index f2b1388a064..77db76be1bb 100644 --- a/service/ec2/snapshot/api_op_GetSecurityGroupsForVpc.go.snap +++ b/service/ec2/snapshot/api_op_GetSecurityGroupsForVpc.go.snap @@ -14,7 +14,6 @@ GetSecurityGroupsForVpc Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetSerialConsoleAccessStatus.go.snap b/service/ec2/snapshot/api_op_GetSerialConsoleAccessStatus.go.snap index c35e2d30eec..9a50963222b 100644 --- a/service/ec2/snapshot/api_op_GetSerialConsoleAccessStatus.go.snap +++ b/service/ec2/snapshot/api_op_GetSerialConsoleAccessStatus.go.snap @@ -13,7 +13,6 @@ GetSerialConsoleAccessStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetSnapshotBlockPublicAccessState.go.snap b/service/ec2/snapshot/api_op_GetSnapshotBlockPublicAccessState.go.snap index ae156b33a78..7a6840b34b6 100644 --- a/service/ec2/snapshot/api_op_GetSnapshotBlockPublicAccessState.go.snap +++ b/service/ec2/snapshot/api_op_GetSnapshotBlockPublicAccessState.go.snap @@ -13,7 +13,6 @@ GetSnapshotBlockPublicAccessState Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetSpotPlacementScores.go.snap b/service/ec2/snapshot/api_op_GetSpotPlacementScores.go.snap index bded5fb8f6e..77478fff333 100644 --- a/service/ec2/snapshot/api_op_GetSpotPlacementScores.go.snap +++ b/service/ec2/snapshot/api_op_GetSpotPlacementScores.go.snap @@ -14,7 +14,6 @@ GetSpotPlacementScores Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetSubnetCidrReservations.go.snap b/service/ec2/snapshot/api_op_GetSubnetCidrReservations.go.snap index 1fe3c9eddc5..ec386c27607 100644 --- a/service/ec2/snapshot/api_op_GetSubnetCidrReservations.go.snap +++ b/service/ec2/snapshot/api_op_GetSubnetCidrReservations.go.snap @@ -14,7 +14,6 @@ GetSubnetCidrReservations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetTransitGatewayAttachmentPropagations.go.snap b/service/ec2/snapshot/api_op_GetTransitGatewayAttachmentPropagations.go.snap index 47d189f9e35..79b7feeb0c0 100644 --- a/service/ec2/snapshot/api_op_GetTransitGatewayAttachmentPropagations.go.snap +++ b/service/ec2/snapshot/api_op_GetTransitGatewayAttachmentPropagations.go.snap @@ -14,7 +14,6 @@ GetTransitGatewayAttachmentPropagations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetTransitGatewayMulticastDomainAssociations.go.snap b/service/ec2/snapshot/api_op_GetTransitGatewayMulticastDomainAssociations.go.snap index 5db15f90b60..38361bee1f6 100644 --- a/service/ec2/snapshot/api_op_GetTransitGatewayMulticastDomainAssociations.go.snap +++ b/service/ec2/snapshot/api_op_GetTransitGatewayMulticastDomainAssociations.go.snap @@ -14,7 +14,6 @@ GetTransitGatewayMulticastDomainAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetTransitGatewayPolicyTableAssociations.go.snap b/service/ec2/snapshot/api_op_GetTransitGatewayPolicyTableAssociations.go.snap index bd1f28b8f03..96ac16622e6 100644 --- a/service/ec2/snapshot/api_op_GetTransitGatewayPolicyTableAssociations.go.snap +++ b/service/ec2/snapshot/api_op_GetTransitGatewayPolicyTableAssociations.go.snap @@ -14,7 +14,6 @@ GetTransitGatewayPolicyTableAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetTransitGatewayPolicyTableEntries.go.snap b/service/ec2/snapshot/api_op_GetTransitGatewayPolicyTableEntries.go.snap index a923fbeac3d..e6edb42e0cb 100644 --- a/service/ec2/snapshot/api_op_GetTransitGatewayPolicyTableEntries.go.snap +++ b/service/ec2/snapshot/api_op_GetTransitGatewayPolicyTableEntries.go.snap @@ -14,7 +14,6 @@ GetTransitGatewayPolicyTableEntries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetTransitGatewayPrefixListReferences.go.snap b/service/ec2/snapshot/api_op_GetTransitGatewayPrefixListReferences.go.snap index 4a4650d48e4..d301b379e12 100644 --- a/service/ec2/snapshot/api_op_GetTransitGatewayPrefixListReferences.go.snap +++ b/service/ec2/snapshot/api_op_GetTransitGatewayPrefixListReferences.go.snap @@ -14,7 +14,6 @@ GetTransitGatewayPrefixListReferences Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetTransitGatewayRouteTableAssociations.go.snap b/service/ec2/snapshot/api_op_GetTransitGatewayRouteTableAssociations.go.snap index e71d819463e..73769f27b4b 100644 --- a/service/ec2/snapshot/api_op_GetTransitGatewayRouteTableAssociations.go.snap +++ b/service/ec2/snapshot/api_op_GetTransitGatewayRouteTableAssociations.go.snap @@ -14,7 +14,6 @@ GetTransitGatewayRouteTableAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetTransitGatewayRouteTablePropagations.go.snap b/service/ec2/snapshot/api_op_GetTransitGatewayRouteTablePropagations.go.snap index 0e2dc845371..2bddcea2c7d 100644 --- a/service/ec2/snapshot/api_op_GetTransitGatewayRouteTablePropagations.go.snap +++ b/service/ec2/snapshot/api_op_GetTransitGatewayRouteTablePropagations.go.snap @@ -14,7 +14,6 @@ GetTransitGatewayRouteTablePropagations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetVerifiedAccessEndpointPolicy.go.snap b/service/ec2/snapshot/api_op_GetVerifiedAccessEndpointPolicy.go.snap index cb348f81e53..3637d19d596 100644 --- a/service/ec2/snapshot/api_op_GetVerifiedAccessEndpointPolicy.go.snap +++ b/service/ec2/snapshot/api_op_GetVerifiedAccessEndpointPolicy.go.snap @@ -14,7 +14,6 @@ GetVerifiedAccessEndpointPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetVerifiedAccessEndpointTargets.go.snap b/service/ec2/snapshot/api_op_GetVerifiedAccessEndpointTargets.go.snap index d32cf040bff..07829f26c2c 100644 --- a/service/ec2/snapshot/api_op_GetVerifiedAccessEndpointTargets.go.snap +++ b/service/ec2/snapshot/api_op_GetVerifiedAccessEndpointTargets.go.snap @@ -14,7 +14,6 @@ GetVerifiedAccessEndpointTargets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetVerifiedAccessGroupPolicy.go.snap b/service/ec2/snapshot/api_op_GetVerifiedAccessGroupPolicy.go.snap index b56f47db041..4cdb4e4c66d 100644 --- a/service/ec2/snapshot/api_op_GetVerifiedAccessGroupPolicy.go.snap +++ b/service/ec2/snapshot/api_op_GetVerifiedAccessGroupPolicy.go.snap @@ -14,7 +14,6 @@ GetVerifiedAccessGroupPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetVpnConnectionDeviceSampleConfiguration.go.snap b/service/ec2/snapshot/api_op_GetVpnConnectionDeviceSampleConfiguration.go.snap index 1a933bb2626..9866a7267b8 100644 --- a/service/ec2/snapshot/api_op_GetVpnConnectionDeviceSampleConfiguration.go.snap +++ b/service/ec2/snapshot/api_op_GetVpnConnectionDeviceSampleConfiguration.go.snap @@ -14,7 +14,6 @@ GetVpnConnectionDeviceSampleConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetVpnConnectionDeviceTypes.go.snap b/service/ec2/snapshot/api_op_GetVpnConnectionDeviceTypes.go.snap index fa199a0b8d0..5f163d84626 100644 --- a/service/ec2/snapshot/api_op_GetVpnConnectionDeviceTypes.go.snap +++ b/service/ec2/snapshot/api_op_GetVpnConnectionDeviceTypes.go.snap @@ -13,7 +13,6 @@ GetVpnConnectionDeviceTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_GetVpnTunnelReplacementStatus.go.snap b/service/ec2/snapshot/api_op_GetVpnTunnelReplacementStatus.go.snap index 9b63d658d6f..bf8b53a4561 100644 --- a/service/ec2/snapshot/api_op_GetVpnTunnelReplacementStatus.go.snap +++ b/service/ec2/snapshot/api_op_GetVpnTunnelReplacementStatus.go.snap @@ -14,7 +14,6 @@ GetVpnTunnelReplacementStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ImportClientVpnClientCertificateRevocationList.go.snap b/service/ec2/snapshot/api_op_ImportClientVpnClientCertificateRevocationList.go.snap index a7f0af2321e..82ec03d91cf 100644 --- a/service/ec2/snapshot/api_op_ImportClientVpnClientCertificateRevocationList.go.snap +++ b/service/ec2/snapshot/api_op_ImportClientVpnClientCertificateRevocationList.go.snap @@ -14,7 +14,6 @@ ImportClientVpnClientCertificateRevocationList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ImportImage.go.snap b/service/ec2/snapshot/api_op_ImportImage.go.snap index f35bd780a20..527744b606a 100644 --- a/service/ec2/snapshot/api_op_ImportImage.go.snap +++ b/service/ec2/snapshot/api_op_ImportImage.go.snap @@ -13,7 +13,6 @@ ImportImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ImportInstance.go.snap b/service/ec2/snapshot/api_op_ImportInstance.go.snap index e72a2811f25..30c8287333f 100644 --- a/service/ec2/snapshot/api_op_ImportInstance.go.snap +++ b/service/ec2/snapshot/api_op_ImportInstance.go.snap @@ -14,7 +14,6 @@ ImportInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ImportKeyPair.go.snap b/service/ec2/snapshot/api_op_ImportKeyPair.go.snap index 9771b382032..16b8d2e122c 100644 --- a/service/ec2/snapshot/api_op_ImportKeyPair.go.snap +++ b/service/ec2/snapshot/api_op_ImportKeyPair.go.snap @@ -14,7 +14,6 @@ ImportKeyPair Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ImportSnapshot.go.snap b/service/ec2/snapshot/api_op_ImportSnapshot.go.snap index 08061b1d058..af48e9f5008 100644 --- a/service/ec2/snapshot/api_op_ImportSnapshot.go.snap +++ b/service/ec2/snapshot/api_op_ImportSnapshot.go.snap @@ -13,7 +13,6 @@ ImportSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ImportVolume.go.snap b/service/ec2/snapshot/api_op_ImportVolume.go.snap index 7d6e16919d2..677a28fda6c 100644 --- a/service/ec2/snapshot/api_op_ImportVolume.go.snap +++ b/service/ec2/snapshot/api_op_ImportVolume.go.snap @@ -14,7 +14,6 @@ ImportVolume Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ListImagesInRecycleBin.go.snap b/service/ec2/snapshot/api_op_ListImagesInRecycleBin.go.snap index 3b18acd16fe..82b1e33a8ea 100644 --- a/service/ec2/snapshot/api_op_ListImagesInRecycleBin.go.snap +++ b/service/ec2/snapshot/api_op_ListImagesInRecycleBin.go.snap @@ -13,7 +13,6 @@ ListImagesInRecycleBin Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ListSnapshotsInRecycleBin.go.snap b/service/ec2/snapshot/api_op_ListSnapshotsInRecycleBin.go.snap index 4cd9e954adb..48b65d4b19d 100644 --- a/service/ec2/snapshot/api_op_ListSnapshotsInRecycleBin.go.snap +++ b/service/ec2/snapshot/api_op_ListSnapshotsInRecycleBin.go.snap @@ -13,7 +13,6 @@ ListSnapshotsInRecycleBin Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_LockSnapshot.go.snap b/service/ec2/snapshot/api_op_LockSnapshot.go.snap index c7cfc0dc731..d53e1f171ae 100644 --- a/service/ec2/snapshot/api_op_LockSnapshot.go.snap +++ b/service/ec2/snapshot/api_op_LockSnapshot.go.snap @@ -14,7 +14,6 @@ LockSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyAddressAttribute.go.snap b/service/ec2/snapshot/api_op_ModifyAddressAttribute.go.snap index b3300d4eec5..9928fad810d 100644 --- a/service/ec2/snapshot/api_op_ModifyAddressAttribute.go.snap +++ b/service/ec2/snapshot/api_op_ModifyAddressAttribute.go.snap @@ -14,7 +14,6 @@ ModifyAddressAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyAvailabilityZoneGroup.go.snap b/service/ec2/snapshot/api_op_ModifyAvailabilityZoneGroup.go.snap index cfdfb951ba7..352af5d5875 100644 --- a/service/ec2/snapshot/api_op_ModifyAvailabilityZoneGroup.go.snap +++ b/service/ec2/snapshot/api_op_ModifyAvailabilityZoneGroup.go.snap @@ -14,7 +14,6 @@ ModifyAvailabilityZoneGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyCapacityReservation.go.snap b/service/ec2/snapshot/api_op_ModifyCapacityReservation.go.snap index a901236354b..1cafd21c2b9 100644 --- a/service/ec2/snapshot/api_op_ModifyCapacityReservation.go.snap +++ b/service/ec2/snapshot/api_op_ModifyCapacityReservation.go.snap @@ -14,7 +14,6 @@ ModifyCapacityReservation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyCapacityReservationFleet.go.snap b/service/ec2/snapshot/api_op_ModifyCapacityReservationFleet.go.snap index f8dc35c3dc4..ae4405ccbf6 100644 --- a/service/ec2/snapshot/api_op_ModifyCapacityReservationFleet.go.snap +++ b/service/ec2/snapshot/api_op_ModifyCapacityReservationFleet.go.snap @@ -14,7 +14,6 @@ ModifyCapacityReservationFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyClientVpnEndpoint.go.snap b/service/ec2/snapshot/api_op_ModifyClientVpnEndpoint.go.snap index 820163e467a..6bd78bd0381 100644 --- a/service/ec2/snapshot/api_op_ModifyClientVpnEndpoint.go.snap +++ b/service/ec2/snapshot/api_op_ModifyClientVpnEndpoint.go.snap @@ -14,7 +14,6 @@ ModifyClientVpnEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyDefaultCreditSpecification.go.snap b/service/ec2/snapshot/api_op_ModifyDefaultCreditSpecification.go.snap index 2847db866d4..d8b502b63b2 100644 --- a/service/ec2/snapshot/api_op_ModifyDefaultCreditSpecification.go.snap +++ b/service/ec2/snapshot/api_op_ModifyDefaultCreditSpecification.go.snap @@ -14,7 +14,6 @@ ModifyDefaultCreditSpecification Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyEbsDefaultKmsKeyId.go.snap b/service/ec2/snapshot/api_op_ModifyEbsDefaultKmsKeyId.go.snap index c222d496e71..53bc6f52412 100644 --- a/service/ec2/snapshot/api_op_ModifyEbsDefaultKmsKeyId.go.snap +++ b/service/ec2/snapshot/api_op_ModifyEbsDefaultKmsKeyId.go.snap @@ -14,7 +14,6 @@ ModifyEbsDefaultKmsKeyId Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyFleet.go.snap b/service/ec2/snapshot/api_op_ModifyFleet.go.snap index f236fa10063..bf84f24c775 100644 --- a/service/ec2/snapshot/api_op_ModifyFleet.go.snap +++ b/service/ec2/snapshot/api_op_ModifyFleet.go.snap @@ -14,7 +14,6 @@ ModifyFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyFpgaImageAttribute.go.snap b/service/ec2/snapshot/api_op_ModifyFpgaImageAttribute.go.snap index d4a886c7270..0edc662dfe8 100644 --- a/service/ec2/snapshot/api_op_ModifyFpgaImageAttribute.go.snap +++ b/service/ec2/snapshot/api_op_ModifyFpgaImageAttribute.go.snap @@ -14,7 +14,6 @@ ModifyFpgaImageAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyHosts.go.snap b/service/ec2/snapshot/api_op_ModifyHosts.go.snap index 684b6f77ccf..f97c7dc1820 100644 --- a/service/ec2/snapshot/api_op_ModifyHosts.go.snap +++ b/service/ec2/snapshot/api_op_ModifyHosts.go.snap @@ -14,7 +14,6 @@ ModifyHosts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyIdFormat.go.snap b/service/ec2/snapshot/api_op_ModifyIdFormat.go.snap index 8418070e91c..7b503d21dad 100644 --- a/service/ec2/snapshot/api_op_ModifyIdFormat.go.snap +++ b/service/ec2/snapshot/api_op_ModifyIdFormat.go.snap @@ -14,7 +14,6 @@ ModifyIdFormat Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyIdentityIdFormat.go.snap b/service/ec2/snapshot/api_op_ModifyIdentityIdFormat.go.snap index 2dd091c4952..f0ee41cb64a 100644 --- a/service/ec2/snapshot/api_op_ModifyIdentityIdFormat.go.snap +++ b/service/ec2/snapshot/api_op_ModifyIdentityIdFormat.go.snap @@ -14,7 +14,6 @@ ModifyIdentityIdFormat Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyImageAttribute.go.snap b/service/ec2/snapshot/api_op_ModifyImageAttribute.go.snap index 91c12737194..eb3f5a808ae 100644 --- a/service/ec2/snapshot/api_op_ModifyImageAttribute.go.snap +++ b/service/ec2/snapshot/api_op_ModifyImageAttribute.go.snap @@ -14,7 +14,6 @@ ModifyImageAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyInstanceAttribute.go.snap b/service/ec2/snapshot/api_op_ModifyInstanceAttribute.go.snap index c53433517bb..b01c6f027ec 100644 --- a/service/ec2/snapshot/api_op_ModifyInstanceAttribute.go.snap +++ b/service/ec2/snapshot/api_op_ModifyInstanceAttribute.go.snap @@ -14,7 +14,6 @@ ModifyInstanceAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyInstanceCapacityReservationAttributes.go.snap b/service/ec2/snapshot/api_op_ModifyInstanceCapacityReservationAttributes.go.snap index c48cda3d41e..6782f2972b3 100644 --- a/service/ec2/snapshot/api_op_ModifyInstanceCapacityReservationAttributes.go.snap +++ b/service/ec2/snapshot/api_op_ModifyInstanceCapacityReservationAttributes.go.snap @@ -14,7 +14,6 @@ ModifyInstanceCapacityReservationAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyInstanceCpuOptions.go.snap b/service/ec2/snapshot/api_op_ModifyInstanceCpuOptions.go.snap index 8fe0d73d0d8..b4e3e3f9201 100644 --- a/service/ec2/snapshot/api_op_ModifyInstanceCpuOptions.go.snap +++ b/service/ec2/snapshot/api_op_ModifyInstanceCpuOptions.go.snap @@ -14,7 +14,6 @@ ModifyInstanceCpuOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyInstanceCreditSpecification.go.snap b/service/ec2/snapshot/api_op_ModifyInstanceCreditSpecification.go.snap index a256610e805..bb7288223bc 100644 --- a/service/ec2/snapshot/api_op_ModifyInstanceCreditSpecification.go.snap +++ b/service/ec2/snapshot/api_op_ModifyInstanceCreditSpecification.go.snap @@ -14,7 +14,6 @@ ModifyInstanceCreditSpecification Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyInstanceEventStartTime.go.snap b/service/ec2/snapshot/api_op_ModifyInstanceEventStartTime.go.snap index 4d987032251..79ebc936abb 100644 --- a/service/ec2/snapshot/api_op_ModifyInstanceEventStartTime.go.snap +++ b/service/ec2/snapshot/api_op_ModifyInstanceEventStartTime.go.snap @@ -14,7 +14,6 @@ ModifyInstanceEventStartTime Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyInstanceEventWindow.go.snap b/service/ec2/snapshot/api_op_ModifyInstanceEventWindow.go.snap index 76f07d80931..cabdcbbb3a3 100644 --- a/service/ec2/snapshot/api_op_ModifyInstanceEventWindow.go.snap +++ b/service/ec2/snapshot/api_op_ModifyInstanceEventWindow.go.snap @@ -14,7 +14,6 @@ ModifyInstanceEventWindow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyInstanceMaintenanceOptions.go.snap b/service/ec2/snapshot/api_op_ModifyInstanceMaintenanceOptions.go.snap index 08f6bf0e8d8..868f77e2283 100644 --- a/service/ec2/snapshot/api_op_ModifyInstanceMaintenanceOptions.go.snap +++ b/service/ec2/snapshot/api_op_ModifyInstanceMaintenanceOptions.go.snap @@ -14,7 +14,6 @@ ModifyInstanceMaintenanceOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyInstanceMetadataDefaults.go.snap b/service/ec2/snapshot/api_op_ModifyInstanceMetadataDefaults.go.snap index 72910e9eaf6..cf4b6fcfdd7 100644 --- a/service/ec2/snapshot/api_op_ModifyInstanceMetadataDefaults.go.snap +++ b/service/ec2/snapshot/api_op_ModifyInstanceMetadataDefaults.go.snap @@ -13,7 +13,6 @@ ModifyInstanceMetadataDefaults Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyInstanceMetadataOptions.go.snap b/service/ec2/snapshot/api_op_ModifyInstanceMetadataOptions.go.snap index 3503eabd73c..3672d05b2a0 100644 --- a/service/ec2/snapshot/api_op_ModifyInstanceMetadataOptions.go.snap +++ b/service/ec2/snapshot/api_op_ModifyInstanceMetadataOptions.go.snap @@ -14,7 +14,6 @@ ModifyInstanceMetadataOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyInstanceNetworkPerformanceOptions.go.snap b/service/ec2/snapshot/api_op_ModifyInstanceNetworkPerformanceOptions.go.snap index 085dc63b90f..07e7f0640ce 100644 --- a/service/ec2/snapshot/api_op_ModifyInstanceNetworkPerformanceOptions.go.snap +++ b/service/ec2/snapshot/api_op_ModifyInstanceNetworkPerformanceOptions.go.snap @@ -14,7 +14,6 @@ ModifyInstanceNetworkPerformanceOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyInstancePlacement.go.snap b/service/ec2/snapshot/api_op_ModifyInstancePlacement.go.snap index 2e10881e71c..312725e69d8 100644 --- a/service/ec2/snapshot/api_op_ModifyInstancePlacement.go.snap +++ b/service/ec2/snapshot/api_op_ModifyInstancePlacement.go.snap @@ -14,7 +14,6 @@ ModifyInstancePlacement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyIpam.go.snap b/service/ec2/snapshot/api_op_ModifyIpam.go.snap index 3fa9de68952..de34413bc08 100644 --- a/service/ec2/snapshot/api_op_ModifyIpam.go.snap +++ b/service/ec2/snapshot/api_op_ModifyIpam.go.snap @@ -14,7 +14,6 @@ ModifyIpam Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyIpamPool.go.snap b/service/ec2/snapshot/api_op_ModifyIpamPool.go.snap index dce7e0c4814..877c147ac4c 100644 --- a/service/ec2/snapshot/api_op_ModifyIpamPool.go.snap +++ b/service/ec2/snapshot/api_op_ModifyIpamPool.go.snap @@ -14,7 +14,6 @@ ModifyIpamPool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyIpamResourceCidr.go.snap b/service/ec2/snapshot/api_op_ModifyIpamResourceCidr.go.snap index 7cdaff6dd6c..a3bbd2b8bd5 100644 --- a/service/ec2/snapshot/api_op_ModifyIpamResourceCidr.go.snap +++ b/service/ec2/snapshot/api_op_ModifyIpamResourceCidr.go.snap @@ -14,7 +14,6 @@ ModifyIpamResourceCidr Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyIpamResourceDiscovery.go.snap b/service/ec2/snapshot/api_op_ModifyIpamResourceDiscovery.go.snap index 7b43e52f66c..9a35302d36e 100644 --- a/service/ec2/snapshot/api_op_ModifyIpamResourceDiscovery.go.snap +++ b/service/ec2/snapshot/api_op_ModifyIpamResourceDiscovery.go.snap @@ -14,7 +14,6 @@ ModifyIpamResourceDiscovery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyIpamScope.go.snap b/service/ec2/snapshot/api_op_ModifyIpamScope.go.snap index cf7297adbd1..88bd83c65e6 100644 --- a/service/ec2/snapshot/api_op_ModifyIpamScope.go.snap +++ b/service/ec2/snapshot/api_op_ModifyIpamScope.go.snap @@ -14,7 +14,6 @@ ModifyIpamScope Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyLaunchTemplate.go.snap b/service/ec2/snapshot/api_op_ModifyLaunchTemplate.go.snap index 0b26b1081c1..ebbd6db9b7b 100644 --- a/service/ec2/snapshot/api_op_ModifyLaunchTemplate.go.snap +++ b/service/ec2/snapshot/api_op_ModifyLaunchTemplate.go.snap @@ -13,7 +13,6 @@ ModifyLaunchTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyLocalGatewayRoute.go.snap b/service/ec2/snapshot/api_op_ModifyLocalGatewayRoute.go.snap index 3ef40a6e051..c3a34732b59 100644 --- a/service/ec2/snapshot/api_op_ModifyLocalGatewayRoute.go.snap +++ b/service/ec2/snapshot/api_op_ModifyLocalGatewayRoute.go.snap @@ -14,7 +14,6 @@ ModifyLocalGatewayRoute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyManagedPrefixList.go.snap b/service/ec2/snapshot/api_op_ModifyManagedPrefixList.go.snap index fd1a5843470..4e714b4e3dc 100644 --- a/service/ec2/snapshot/api_op_ModifyManagedPrefixList.go.snap +++ b/service/ec2/snapshot/api_op_ModifyManagedPrefixList.go.snap @@ -14,7 +14,6 @@ ModifyManagedPrefixList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyNetworkInterfaceAttribute.go.snap b/service/ec2/snapshot/api_op_ModifyNetworkInterfaceAttribute.go.snap index c5bf57aea97..e46467f3ba5 100644 --- a/service/ec2/snapshot/api_op_ModifyNetworkInterfaceAttribute.go.snap +++ b/service/ec2/snapshot/api_op_ModifyNetworkInterfaceAttribute.go.snap @@ -14,7 +14,6 @@ ModifyNetworkInterfaceAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyPrivateDnsNameOptions.go.snap b/service/ec2/snapshot/api_op_ModifyPrivateDnsNameOptions.go.snap index 57cfaa0d873..dc85e0c7ef7 100644 --- a/service/ec2/snapshot/api_op_ModifyPrivateDnsNameOptions.go.snap +++ b/service/ec2/snapshot/api_op_ModifyPrivateDnsNameOptions.go.snap @@ -14,7 +14,6 @@ ModifyPrivateDnsNameOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyReservedInstances.go.snap b/service/ec2/snapshot/api_op_ModifyReservedInstances.go.snap index ffa7e809987..2c5111b4a36 100644 --- a/service/ec2/snapshot/api_op_ModifyReservedInstances.go.snap +++ b/service/ec2/snapshot/api_op_ModifyReservedInstances.go.snap @@ -14,7 +14,6 @@ ModifyReservedInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifySecurityGroupRules.go.snap b/service/ec2/snapshot/api_op_ModifySecurityGroupRules.go.snap index 99234760398..9fd12009fc3 100644 --- a/service/ec2/snapshot/api_op_ModifySecurityGroupRules.go.snap +++ b/service/ec2/snapshot/api_op_ModifySecurityGroupRules.go.snap @@ -14,7 +14,6 @@ ModifySecurityGroupRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifySnapshotAttribute.go.snap b/service/ec2/snapshot/api_op_ModifySnapshotAttribute.go.snap index 83290d7913b..2185246b047 100644 --- a/service/ec2/snapshot/api_op_ModifySnapshotAttribute.go.snap +++ b/service/ec2/snapshot/api_op_ModifySnapshotAttribute.go.snap @@ -14,7 +14,6 @@ ModifySnapshotAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifySnapshotTier.go.snap b/service/ec2/snapshot/api_op_ModifySnapshotTier.go.snap index 806f1b32f9c..3322ba26a31 100644 --- a/service/ec2/snapshot/api_op_ModifySnapshotTier.go.snap +++ b/service/ec2/snapshot/api_op_ModifySnapshotTier.go.snap @@ -14,7 +14,6 @@ ModifySnapshotTier Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifySpotFleetRequest.go.snap b/service/ec2/snapshot/api_op_ModifySpotFleetRequest.go.snap index 2ff995b5584..6998112c407 100644 --- a/service/ec2/snapshot/api_op_ModifySpotFleetRequest.go.snap +++ b/service/ec2/snapshot/api_op_ModifySpotFleetRequest.go.snap @@ -14,7 +14,6 @@ ModifySpotFleetRequest Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifySubnetAttribute.go.snap b/service/ec2/snapshot/api_op_ModifySubnetAttribute.go.snap index cfd0f8ee781..b9e1fec4f5a 100644 --- a/service/ec2/snapshot/api_op_ModifySubnetAttribute.go.snap +++ b/service/ec2/snapshot/api_op_ModifySubnetAttribute.go.snap @@ -14,7 +14,6 @@ ModifySubnetAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyTrafficMirrorFilterNetworkServices.go.snap b/service/ec2/snapshot/api_op_ModifyTrafficMirrorFilterNetworkServices.go.snap index 63c713b6014..35302a7f32f 100644 --- a/service/ec2/snapshot/api_op_ModifyTrafficMirrorFilterNetworkServices.go.snap +++ b/service/ec2/snapshot/api_op_ModifyTrafficMirrorFilterNetworkServices.go.snap @@ -14,7 +14,6 @@ ModifyTrafficMirrorFilterNetworkServices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyTrafficMirrorFilterRule.go.snap b/service/ec2/snapshot/api_op_ModifyTrafficMirrorFilterRule.go.snap index 056b814d5fc..a88573be1dd 100644 --- a/service/ec2/snapshot/api_op_ModifyTrafficMirrorFilterRule.go.snap +++ b/service/ec2/snapshot/api_op_ModifyTrafficMirrorFilterRule.go.snap @@ -14,7 +14,6 @@ ModifyTrafficMirrorFilterRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyTrafficMirrorSession.go.snap b/service/ec2/snapshot/api_op_ModifyTrafficMirrorSession.go.snap index f89d6516b71..97d9752a00f 100644 --- a/service/ec2/snapshot/api_op_ModifyTrafficMirrorSession.go.snap +++ b/service/ec2/snapshot/api_op_ModifyTrafficMirrorSession.go.snap @@ -14,7 +14,6 @@ ModifyTrafficMirrorSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyTransitGateway.go.snap b/service/ec2/snapshot/api_op_ModifyTransitGateway.go.snap index d6787f4038d..07b363ecf8d 100644 --- a/service/ec2/snapshot/api_op_ModifyTransitGateway.go.snap +++ b/service/ec2/snapshot/api_op_ModifyTransitGateway.go.snap @@ -14,7 +14,6 @@ ModifyTransitGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyTransitGatewayPrefixListReference.go.snap b/service/ec2/snapshot/api_op_ModifyTransitGatewayPrefixListReference.go.snap index 9ef082d2a85..d2a998759ec 100644 --- a/service/ec2/snapshot/api_op_ModifyTransitGatewayPrefixListReference.go.snap +++ b/service/ec2/snapshot/api_op_ModifyTransitGatewayPrefixListReference.go.snap @@ -14,7 +14,6 @@ ModifyTransitGatewayPrefixListReference Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyTransitGatewayVpcAttachment.go.snap b/service/ec2/snapshot/api_op_ModifyTransitGatewayVpcAttachment.go.snap index 93547983617..e262a6dcd2e 100644 --- a/service/ec2/snapshot/api_op_ModifyTransitGatewayVpcAttachment.go.snap +++ b/service/ec2/snapshot/api_op_ModifyTransitGatewayVpcAttachment.go.snap @@ -14,7 +14,6 @@ ModifyTransitGatewayVpcAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyVerifiedAccessEndpoint.go.snap b/service/ec2/snapshot/api_op_ModifyVerifiedAccessEndpoint.go.snap index ddd9da77763..d4708154bc2 100644 --- a/service/ec2/snapshot/api_op_ModifyVerifiedAccessEndpoint.go.snap +++ b/service/ec2/snapshot/api_op_ModifyVerifiedAccessEndpoint.go.snap @@ -15,7 +15,6 @@ ModifyVerifiedAccessEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyVerifiedAccessEndpointPolicy.go.snap b/service/ec2/snapshot/api_op_ModifyVerifiedAccessEndpointPolicy.go.snap index 65443bd6da0..fa795c07720 100644 --- a/service/ec2/snapshot/api_op_ModifyVerifiedAccessEndpointPolicy.go.snap +++ b/service/ec2/snapshot/api_op_ModifyVerifiedAccessEndpointPolicy.go.snap @@ -15,7 +15,6 @@ ModifyVerifiedAccessEndpointPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyVerifiedAccessGroup.go.snap b/service/ec2/snapshot/api_op_ModifyVerifiedAccessGroup.go.snap index 6a00ad643da..191d7f4499c 100644 --- a/service/ec2/snapshot/api_op_ModifyVerifiedAccessGroup.go.snap +++ b/service/ec2/snapshot/api_op_ModifyVerifiedAccessGroup.go.snap @@ -15,7 +15,6 @@ ModifyVerifiedAccessGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyVerifiedAccessGroupPolicy.go.snap b/service/ec2/snapshot/api_op_ModifyVerifiedAccessGroupPolicy.go.snap index b0c0c74935c..508c9b937e3 100644 --- a/service/ec2/snapshot/api_op_ModifyVerifiedAccessGroupPolicy.go.snap +++ b/service/ec2/snapshot/api_op_ModifyVerifiedAccessGroupPolicy.go.snap @@ -15,7 +15,6 @@ ModifyVerifiedAccessGroupPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyVerifiedAccessInstance.go.snap b/service/ec2/snapshot/api_op_ModifyVerifiedAccessInstance.go.snap index 9fd405f0ae9..dfe0e713d42 100644 --- a/service/ec2/snapshot/api_op_ModifyVerifiedAccessInstance.go.snap +++ b/service/ec2/snapshot/api_op_ModifyVerifiedAccessInstance.go.snap @@ -15,7 +15,6 @@ ModifyVerifiedAccessInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyVerifiedAccessInstanceLoggingConfiguration.go.snap b/service/ec2/snapshot/api_op_ModifyVerifiedAccessInstanceLoggingConfiguration.go.snap index a0d5432309f..4bd33aad9fa 100644 --- a/service/ec2/snapshot/api_op_ModifyVerifiedAccessInstanceLoggingConfiguration.go.snap +++ b/service/ec2/snapshot/api_op_ModifyVerifiedAccessInstanceLoggingConfiguration.go.snap @@ -15,7 +15,6 @@ ModifyVerifiedAccessInstanceLoggingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyVerifiedAccessTrustProvider.go.snap b/service/ec2/snapshot/api_op_ModifyVerifiedAccessTrustProvider.go.snap index 9e305783cb0..f2104c56cd9 100644 --- a/service/ec2/snapshot/api_op_ModifyVerifiedAccessTrustProvider.go.snap +++ b/service/ec2/snapshot/api_op_ModifyVerifiedAccessTrustProvider.go.snap @@ -15,7 +15,6 @@ ModifyVerifiedAccessTrustProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyVolume.go.snap b/service/ec2/snapshot/api_op_ModifyVolume.go.snap index 3d3f3f629a0..929bd87eb08 100644 --- a/service/ec2/snapshot/api_op_ModifyVolume.go.snap +++ b/service/ec2/snapshot/api_op_ModifyVolume.go.snap @@ -14,7 +14,6 @@ ModifyVolume Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyVolumeAttribute.go.snap b/service/ec2/snapshot/api_op_ModifyVolumeAttribute.go.snap index 17df89abbbf..3b94c2b171d 100644 --- a/service/ec2/snapshot/api_op_ModifyVolumeAttribute.go.snap +++ b/service/ec2/snapshot/api_op_ModifyVolumeAttribute.go.snap @@ -14,7 +14,6 @@ ModifyVolumeAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyVpcAttribute.go.snap b/service/ec2/snapshot/api_op_ModifyVpcAttribute.go.snap index 80d38343e7b..a3ab05a21b8 100644 --- a/service/ec2/snapshot/api_op_ModifyVpcAttribute.go.snap +++ b/service/ec2/snapshot/api_op_ModifyVpcAttribute.go.snap @@ -14,7 +14,6 @@ ModifyVpcAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyVpcBlockPublicAccessExclusion.go.snap b/service/ec2/snapshot/api_op_ModifyVpcBlockPublicAccessExclusion.go.snap index ce25a51ecf1..b290e4faf1f 100644 --- a/service/ec2/snapshot/api_op_ModifyVpcBlockPublicAccessExclusion.go.snap +++ b/service/ec2/snapshot/api_op_ModifyVpcBlockPublicAccessExclusion.go.snap @@ -14,7 +14,6 @@ ModifyVpcBlockPublicAccessExclusion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyVpcBlockPublicAccessOptions.go.snap b/service/ec2/snapshot/api_op_ModifyVpcBlockPublicAccessOptions.go.snap index 976fc71c4dc..aa3a80163ed 100644 --- a/service/ec2/snapshot/api_op_ModifyVpcBlockPublicAccessOptions.go.snap +++ b/service/ec2/snapshot/api_op_ModifyVpcBlockPublicAccessOptions.go.snap @@ -14,7 +14,6 @@ ModifyVpcBlockPublicAccessOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyVpcEndpoint.go.snap b/service/ec2/snapshot/api_op_ModifyVpcEndpoint.go.snap index d7131ca97f9..162e0cf9501 100644 --- a/service/ec2/snapshot/api_op_ModifyVpcEndpoint.go.snap +++ b/service/ec2/snapshot/api_op_ModifyVpcEndpoint.go.snap @@ -14,7 +14,6 @@ ModifyVpcEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyVpcEndpointConnectionNotification.go.snap b/service/ec2/snapshot/api_op_ModifyVpcEndpointConnectionNotification.go.snap index ffc79cedac4..6c56cd511a1 100644 --- a/service/ec2/snapshot/api_op_ModifyVpcEndpointConnectionNotification.go.snap +++ b/service/ec2/snapshot/api_op_ModifyVpcEndpointConnectionNotification.go.snap @@ -14,7 +14,6 @@ ModifyVpcEndpointConnectionNotification Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyVpcEndpointServiceConfiguration.go.snap b/service/ec2/snapshot/api_op_ModifyVpcEndpointServiceConfiguration.go.snap index ac606b43de9..2aab1c478ee 100644 --- a/service/ec2/snapshot/api_op_ModifyVpcEndpointServiceConfiguration.go.snap +++ b/service/ec2/snapshot/api_op_ModifyVpcEndpointServiceConfiguration.go.snap @@ -14,7 +14,6 @@ ModifyVpcEndpointServiceConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyVpcEndpointServicePayerResponsibility.go.snap b/service/ec2/snapshot/api_op_ModifyVpcEndpointServicePayerResponsibility.go.snap index 3b044b75359..88ff9e992f6 100644 --- a/service/ec2/snapshot/api_op_ModifyVpcEndpointServicePayerResponsibility.go.snap +++ b/service/ec2/snapshot/api_op_ModifyVpcEndpointServicePayerResponsibility.go.snap @@ -14,7 +14,6 @@ ModifyVpcEndpointServicePayerResponsibility Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyVpcEndpointServicePermissions.go.snap b/service/ec2/snapshot/api_op_ModifyVpcEndpointServicePermissions.go.snap index bb87b432ea7..b2530d55604 100644 --- a/service/ec2/snapshot/api_op_ModifyVpcEndpointServicePermissions.go.snap +++ b/service/ec2/snapshot/api_op_ModifyVpcEndpointServicePermissions.go.snap @@ -14,7 +14,6 @@ ModifyVpcEndpointServicePermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyVpcPeeringConnectionOptions.go.snap b/service/ec2/snapshot/api_op_ModifyVpcPeeringConnectionOptions.go.snap index 394364aedcd..b47cefa118a 100644 --- a/service/ec2/snapshot/api_op_ModifyVpcPeeringConnectionOptions.go.snap +++ b/service/ec2/snapshot/api_op_ModifyVpcPeeringConnectionOptions.go.snap @@ -14,7 +14,6 @@ ModifyVpcPeeringConnectionOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyVpcTenancy.go.snap b/service/ec2/snapshot/api_op_ModifyVpcTenancy.go.snap index be77e213b0c..24fb7d9fea5 100644 --- a/service/ec2/snapshot/api_op_ModifyVpcTenancy.go.snap +++ b/service/ec2/snapshot/api_op_ModifyVpcTenancy.go.snap @@ -14,7 +14,6 @@ ModifyVpcTenancy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyVpnConnection.go.snap b/service/ec2/snapshot/api_op_ModifyVpnConnection.go.snap index 30d94b62a8e..b26b9796027 100644 --- a/service/ec2/snapshot/api_op_ModifyVpnConnection.go.snap +++ b/service/ec2/snapshot/api_op_ModifyVpnConnection.go.snap @@ -14,7 +14,6 @@ ModifyVpnConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyVpnConnectionOptions.go.snap b/service/ec2/snapshot/api_op_ModifyVpnConnectionOptions.go.snap index 31cb6112a40..9a784fdbef7 100644 --- a/service/ec2/snapshot/api_op_ModifyVpnConnectionOptions.go.snap +++ b/service/ec2/snapshot/api_op_ModifyVpnConnectionOptions.go.snap @@ -14,7 +14,6 @@ ModifyVpnConnectionOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyVpnTunnelCertificate.go.snap b/service/ec2/snapshot/api_op_ModifyVpnTunnelCertificate.go.snap index bea9e31904a..79b016f993e 100644 --- a/service/ec2/snapshot/api_op_ModifyVpnTunnelCertificate.go.snap +++ b/service/ec2/snapshot/api_op_ModifyVpnTunnelCertificate.go.snap @@ -14,7 +14,6 @@ ModifyVpnTunnelCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ModifyVpnTunnelOptions.go.snap b/service/ec2/snapshot/api_op_ModifyVpnTunnelOptions.go.snap index 2655480d410..889bf9a1f8e 100644 --- a/service/ec2/snapshot/api_op_ModifyVpnTunnelOptions.go.snap +++ b/service/ec2/snapshot/api_op_ModifyVpnTunnelOptions.go.snap @@ -14,7 +14,6 @@ ModifyVpnTunnelOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_MonitorInstances.go.snap b/service/ec2/snapshot/api_op_MonitorInstances.go.snap index 7f7695b2e96..46d47ea4c0e 100644 --- a/service/ec2/snapshot/api_op_MonitorInstances.go.snap +++ b/service/ec2/snapshot/api_op_MonitorInstances.go.snap @@ -14,7 +14,6 @@ MonitorInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_MoveAddressToVpc.go.snap b/service/ec2/snapshot/api_op_MoveAddressToVpc.go.snap index 6f8613e6f93..fcc83df8fee 100644 --- a/service/ec2/snapshot/api_op_MoveAddressToVpc.go.snap +++ b/service/ec2/snapshot/api_op_MoveAddressToVpc.go.snap @@ -14,7 +14,6 @@ MoveAddressToVpc Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_MoveByoipCidrToIpam.go.snap b/service/ec2/snapshot/api_op_MoveByoipCidrToIpam.go.snap index 7f69237ed40..d733e6569f8 100644 --- a/service/ec2/snapshot/api_op_MoveByoipCidrToIpam.go.snap +++ b/service/ec2/snapshot/api_op_MoveByoipCidrToIpam.go.snap @@ -14,7 +14,6 @@ MoveByoipCidrToIpam Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_MoveCapacityReservationInstances.go.snap b/service/ec2/snapshot/api_op_MoveCapacityReservationInstances.go.snap index 286110fd3cc..ed99d2ae60a 100644 --- a/service/ec2/snapshot/api_op_MoveCapacityReservationInstances.go.snap +++ b/service/ec2/snapshot/api_op_MoveCapacityReservationInstances.go.snap @@ -15,7 +15,6 @@ MoveCapacityReservationInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ProvisionByoipCidr.go.snap b/service/ec2/snapshot/api_op_ProvisionByoipCidr.go.snap index c469aa2fd0a..f5829abaec3 100644 --- a/service/ec2/snapshot/api_op_ProvisionByoipCidr.go.snap +++ b/service/ec2/snapshot/api_op_ProvisionByoipCidr.go.snap @@ -14,7 +14,6 @@ ProvisionByoipCidr Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ProvisionIpamByoasn.go.snap b/service/ec2/snapshot/api_op_ProvisionIpamByoasn.go.snap index a264598c314..9c18f0223f4 100644 --- a/service/ec2/snapshot/api_op_ProvisionIpamByoasn.go.snap +++ b/service/ec2/snapshot/api_op_ProvisionIpamByoasn.go.snap @@ -14,7 +14,6 @@ ProvisionIpamByoasn Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ProvisionIpamPoolCidr.go.snap b/service/ec2/snapshot/api_op_ProvisionIpamPoolCidr.go.snap index 01603bab83c..b8da5e2ab66 100644 --- a/service/ec2/snapshot/api_op_ProvisionIpamPoolCidr.go.snap +++ b/service/ec2/snapshot/api_op_ProvisionIpamPoolCidr.go.snap @@ -15,7 +15,6 @@ ProvisionIpamPoolCidr Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ProvisionPublicIpv4PoolCidr.go.snap b/service/ec2/snapshot/api_op_ProvisionPublicIpv4PoolCidr.go.snap index 9e238d52372..84709aeaf88 100644 --- a/service/ec2/snapshot/api_op_ProvisionPublicIpv4PoolCidr.go.snap +++ b/service/ec2/snapshot/api_op_ProvisionPublicIpv4PoolCidr.go.snap @@ -14,7 +14,6 @@ ProvisionPublicIpv4PoolCidr Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_PurchaseCapacityBlock.go.snap b/service/ec2/snapshot/api_op_PurchaseCapacityBlock.go.snap index 82c9746fe6f..898c8a20624 100644 --- a/service/ec2/snapshot/api_op_PurchaseCapacityBlock.go.snap +++ b/service/ec2/snapshot/api_op_PurchaseCapacityBlock.go.snap @@ -14,7 +14,6 @@ PurchaseCapacityBlock Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_PurchaseCapacityBlockExtension.go.snap b/service/ec2/snapshot/api_op_PurchaseCapacityBlockExtension.go.snap index 6474714a8aa..d25048e288d 100644 --- a/service/ec2/snapshot/api_op_PurchaseCapacityBlockExtension.go.snap +++ b/service/ec2/snapshot/api_op_PurchaseCapacityBlockExtension.go.snap @@ -14,7 +14,6 @@ PurchaseCapacityBlockExtension Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_PurchaseHostReservation.go.snap b/service/ec2/snapshot/api_op_PurchaseHostReservation.go.snap index 9b634d54956..49b023aabac 100644 --- a/service/ec2/snapshot/api_op_PurchaseHostReservation.go.snap +++ b/service/ec2/snapshot/api_op_PurchaseHostReservation.go.snap @@ -14,7 +14,6 @@ PurchaseHostReservation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_PurchaseReservedInstancesOffering.go.snap b/service/ec2/snapshot/api_op_PurchaseReservedInstancesOffering.go.snap index 990d746066e..3bfb6e7a9f2 100644 --- a/service/ec2/snapshot/api_op_PurchaseReservedInstancesOffering.go.snap +++ b/service/ec2/snapshot/api_op_PurchaseReservedInstancesOffering.go.snap @@ -14,7 +14,6 @@ PurchaseReservedInstancesOffering Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_PurchaseScheduledInstances.go.snap b/service/ec2/snapshot/api_op_PurchaseScheduledInstances.go.snap index 407a9002130..79b899adcac 100644 --- a/service/ec2/snapshot/api_op_PurchaseScheduledInstances.go.snap +++ b/service/ec2/snapshot/api_op_PurchaseScheduledInstances.go.snap @@ -15,7 +15,6 @@ PurchaseScheduledInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_RebootInstances.go.snap b/service/ec2/snapshot/api_op_RebootInstances.go.snap index 5c7adc8c1d9..0aa43a8317c 100644 --- a/service/ec2/snapshot/api_op_RebootInstances.go.snap +++ b/service/ec2/snapshot/api_op_RebootInstances.go.snap @@ -14,7 +14,6 @@ RebootInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_RegisterImage.go.snap b/service/ec2/snapshot/api_op_RegisterImage.go.snap index 6936b402a0d..cf6da1be96d 100644 --- a/service/ec2/snapshot/api_op_RegisterImage.go.snap +++ b/service/ec2/snapshot/api_op_RegisterImage.go.snap @@ -14,7 +14,6 @@ RegisterImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_RegisterInstanceEventNotificationAttributes.go.snap b/service/ec2/snapshot/api_op_RegisterInstanceEventNotificationAttributes.go.snap index 5ccfd2790de..d8650d05a26 100644 --- a/service/ec2/snapshot/api_op_RegisterInstanceEventNotificationAttributes.go.snap +++ b/service/ec2/snapshot/api_op_RegisterInstanceEventNotificationAttributes.go.snap @@ -14,7 +14,6 @@ RegisterInstanceEventNotificationAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_RegisterTransitGatewayMulticastGroupMembers.go.snap b/service/ec2/snapshot/api_op_RegisterTransitGatewayMulticastGroupMembers.go.snap index 040fadb494d..7df74698e18 100644 --- a/service/ec2/snapshot/api_op_RegisterTransitGatewayMulticastGroupMembers.go.snap +++ b/service/ec2/snapshot/api_op_RegisterTransitGatewayMulticastGroupMembers.go.snap @@ -14,7 +14,6 @@ RegisterTransitGatewayMulticastGroupMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_RegisterTransitGatewayMulticastGroupSources.go.snap b/service/ec2/snapshot/api_op_RegisterTransitGatewayMulticastGroupSources.go.snap index cc7fcd6a4a0..68c90df94e4 100644 --- a/service/ec2/snapshot/api_op_RegisterTransitGatewayMulticastGroupSources.go.snap +++ b/service/ec2/snapshot/api_op_RegisterTransitGatewayMulticastGroupSources.go.snap @@ -14,7 +14,6 @@ RegisterTransitGatewayMulticastGroupSources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_RejectCapacityReservationBillingOwnership.go.snap b/service/ec2/snapshot/api_op_RejectCapacityReservationBillingOwnership.go.snap index 193b28b4ca0..66e380bf1d6 100644 --- a/service/ec2/snapshot/api_op_RejectCapacityReservationBillingOwnership.go.snap +++ b/service/ec2/snapshot/api_op_RejectCapacityReservationBillingOwnership.go.snap @@ -14,7 +14,6 @@ RejectCapacityReservationBillingOwnership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_RejectTransitGatewayMulticastDomainAssociations.go.snap b/service/ec2/snapshot/api_op_RejectTransitGatewayMulticastDomainAssociations.go.snap index e3d9676e291..39a03693335 100644 --- a/service/ec2/snapshot/api_op_RejectTransitGatewayMulticastDomainAssociations.go.snap +++ b/service/ec2/snapshot/api_op_RejectTransitGatewayMulticastDomainAssociations.go.snap @@ -13,7 +13,6 @@ RejectTransitGatewayMulticastDomainAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_RejectTransitGatewayPeeringAttachment.go.snap b/service/ec2/snapshot/api_op_RejectTransitGatewayPeeringAttachment.go.snap index e8ffe93262c..3a5ce073e58 100644 --- a/service/ec2/snapshot/api_op_RejectTransitGatewayPeeringAttachment.go.snap +++ b/service/ec2/snapshot/api_op_RejectTransitGatewayPeeringAttachment.go.snap @@ -14,7 +14,6 @@ RejectTransitGatewayPeeringAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_RejectTransitGatewayVpcAttachment.go.snap b/service/ec2/snapshot/api_op_RejectTransitGatewayVpcAttachment.go.snap index 4248ae7b6e1..afc94f649c8 100644 --- a/service/ec2/snapshot/api_op_RejectTransitGatewayVpcAttachment.go.snap +++ b/service/ec2/snapshot/api_op_RejectTransitGatewayVpcAttachment.go.snap @@ -14,7 +14,6 @@ RejectTransitGatewayVpcAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_RejectVpcEndpointConnections.go.snap b/service/ec2/snapshot/api_op_RejectVpcEndpointConnections.go.snap index f3bc97c9787..008c8cc0a99 100644 --- a/service/ec2/snapshot/api_op_RejectVpcEndpointConnections.go.snap +++ b/service/ec2/snapshot/api_op_RejectVpcEndpointConnections.go.snap @@ -14,7 +14,6 @@ RejectVpcEndpointConnections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_RejectVpcPeeringConnection.go.snap b/service/ec2/snapshot/api_op_RejectVpcPeeringConnection.go.snap index 69b37ec3702..d6779794018 100644 --- a/service/ec2/snapshot/api_op_RejectVpcPeeringConnection.go.snap +++ b/service/ec2/snapshot/api_op_RejectVpcPeeringConnection.go.snap @@ -14,7 +14,6 @@ RejectVpcPeeringConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ReleaseAddress.go.snap b/service/ec2/snapshot/api_op_ReleaseAddress.go.snap index adaccc5f4f3..ce81403fadb 100644 --- a/service/ec2/snapshot/api_op_ReleaseAddress.go.snap +++ b/service/ec2/snapshot/api_op_ReleaseAddress.go.snap @@ -13,7 +13,6 @@ ReleaseAddress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ReleaseHosts.go.snap b/service/ec2/snapshot/api_op_ReleaseHosts.go.snap index cf1593a827d..6e982d52639 100644 --- a/service/ec2/snapshot/api_op_ReleaseHosts.go.snap +++ b/service/ec2/snapshot/api_op_ReleaseHosts.go.snap @@ -14,7 +14,6 @@ ReleaseHosts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ReleaseIpamPoolAllocation.go.snap b/service/ec2/snapshot/api_op_ReleaseIpamPoolAllocation.go.snap index 5bd114d96dd..559c73aa14a 100644 --- a/service/ec2/snapshot/api_op_ReleaseIpamPoolAllocation.go.snap +++ b/service/ec2/snapshot/api_op_ReleaseIpamPoolAllocation.go.snap @@ -14,7 +14,6 @@ ReleaseIpamPoolAllocation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ReplaceIamInstanceProfileAssociation.go.snap b/service/ec2/snapshot/api_op_ReplaceIamInstanceProfileAssociation.go.snap index 70d53e9723a..161c08cf32e 100644 --- a/service/ec2/snapshot/api_op_ReplaceIamInstanceProfileAssociation.go.snap +++ b/service/ec2/snapshot/api_op_ReplaceIamInstanceProfileAssociation.go.snap @@ -14,7 +14,6 @@ ReplaceIamInstanceProfileAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ReplaceImageCriteriaInAllowedImagesSettings.go.snap b/service/ec2/snapshot/api_op_ReplaceImageCriteriaInAllowedImagesSettings.go.snap index 1355a80c6eb..c47437b1d08 100644 --- a/service/ec2/snapshot/api_op_ReplaceImageCriteriaInAllowedImagesSettings.go.snap +++ b/service/ec2/snapshot/api_op_ReplaceImageCriteriaInAllowedImagesSettings.go.snap @@ -13,7 +13,6 @@ ReplaceImageCriteriaInAllowedImagesSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ReplaceNetworkAclAssociation.go.snap b/service/ec2/snapshot/api_op_ReplaceNetworkAclAssociation.go.snap index 76bdc36c5ae..7060e2ec26c 100644 --- a/service/ec2/snapshot/api_op_ReplaceNetworkAclAssociation.go.snap +++ b/service/ec2/snapshot/api_op_ReplaceNetworkAclAssociation.go.snap @@ -14,7 +14,6 @@ ReplaceNetworkAclAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ReplaceNetworkAclEntry.go.snap b/service/ec2/snapshot/api_op_ReplaceNetworkAclEntry.go.snap index f7989f7dfe7..ac50b5770ea 100644 --- a/service/ec2/snapshot/api_op_ReplaceNetworkAclEntry.go.snap +++ b/service/ec2/snapshot/api_op_ReplaceNetworkAclEntry.go.snap @@ -14,7 +14,6 @@ ReplaceNetworkAclEntry Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ReplaceRoute.go.snap b/service/ec2/snapshot/api_op_ReplaceRoute.go.snap index 3278633b8ee..8a46cd68360 100644 --- a/service/ec2/snapshot/api_op_ReplaceRoute.go.snap +++ b/service/ec2/snapshot/api_op_ReplaceRoute.go.snap @@ -14,7 +14,6 @@ ReplaceRoute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ReplaceRouteTableAssociation.go.snap b/service/ec2/snapshot/api_op_ReplaceRouteTableAssociation.go.snap index 0487877733a..1848749dc24 100644 --- a/service/ec2/snapshot/api_op_ReplaceRouteTableAssociation.go.snap +++ b/service/ec2/snapshot/api_op_ReplaceRouteTableAssociation.go.snap @@ -14,7 +14,6 @@ ReplaceRouteTableAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ReplaceTransitGatewayRoute.go.snap b/service/ec2/snapshot/api_op_ReplaceTransitGatewayRoute.go.snap index cc326be2d7d..3826ea5755e 100644 --- a/service/ec2/snapshot/api_op_ReplaceTransitGatewayRoute.go.snap +++ b/service/ec2/snapshot/api_op_ReplaceTransitGatewayRoute.go.snap @@ -14,7 +14,6 @@ ReplaceTransitGatewayRoute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ReplaceVpnTunnel.go.snap b/service/ec2/snapshot/api_op_ReplaceVpnTunnel.go.snap index 408b1302969..1dfb048c705 100644 --- a/service/ec2/snapshot/api_op_ReplaceVpnTunnel.go.snap +++ b/service/ec2/snapshot/api_op_ReplaceVpnTunnel.go.snap @@ -14,7 +14,6 @@ ReplaceVpnTunnel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ReportInstanceStatus.go.snap b/service/ec2/snapshot/api_op_ReportInstanceStatus.go.snap index 1e540c8b163..67046f60eea 100644 --- a/service/ec2/snapshot/api_op_ReportInstanceStatus.go.snap +++ b/service/ec2/snapshot/api_op_ReportInstanceStatus.go.snap @@ -14,7 +14,6 @@ ReportInstanceStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_RequestSpotFleet.go.snap b/service/ec2/snapshot/api_op_RequestSpotFleet.go.snap index 0e8e2bbd28c..f7daf857d5b 100644 --- a/service/ec2/snapshot/api_op_RequestSpotFleet.go.snap +++ b/service/ec2/snapshot/api_op_RequestSpotFleet.go.snap @@ -14,7 +14,6 @@ RequestSpotFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_RequestSpotInstances.go.snap b/service/ec2/snapshot/api_op_RequestSpotInstances.go.snap index 127da770985..a04fcac9ed4 100644 --- a/service/ec2/snapshot/api_op_RequestSpotInstances.go.snap +++ b/service/ec2/snapshot/api_op_RequestSpotInstances.go.snap @@ -14,7 +14,6 @@ RequestSpotInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ResetAddressAttribute.go.snap b/service/ec2/snapshot/api_op_ResetAddressAttribute.go.snap index adcbda1a5f8..5d1c45243b9 100644 --- a/service/ec2/snapshot/api_op_ResetAddressAttribute.go.snap +++ b/service/ec2/snapshot/api_op_ResetAddressAttribute.go.snap @@ -14,7 +14,6 @@ ResetAddressAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ResetEbsDefaultKmsKeyId.go.snap b/service/ec2/snapshot/api_op_ResetEbsDefaultKmsKeyId.go.snap index 67e41320fdc..8826dd60fd1 100644 --- a/service/ec2/snapshot/api_op_ResetEbsDefaultKmsKeyId.go.snap +++ b/service/ec2/snapshot/api_op_ResetEbsDefaultKmsKeyId.go.snap @@ -13,7 +13,6 @@ ResetEbsDefaultKmsKeyId Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ResetFpgaImageAttribute.go.snap b/service/ec2/snapshot/api_op_ResetFpgaImageAttribute.go.snap index c0070c9d632..f133d4f9ae0 100644 --- a/service/ec2/snapshot/api_op_ResetFpgaImageAttribute.go.snap +++ b/service/ec2/snapshot/api_op_ResetFpgaImageAttribute.go.snap @@ -14,7 +14,6 @@ ResetFpgaImageAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ResetImageAttribute.go.snap b/service/ec2/snapshot/api_op_ResetImageAttribute.go.snap index 0726a49babc..aa939fdd50a 100644 --- a/service/ec2/snapshot/api_op_ResetImageAttribute.go.snap +++ b/service/ec2/snapshot/api_op_ResetImageAttribute.go.snap @@ -14,7 +14,6 @@ ResetImageAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ResetInstanceAttribute.go.snap b/service/ec2/snapshot/api_op_ResetInstanceAttribute.go.snap index 0517660e118..b4ec10681ba 100644 --- a/service/ec2/snapshot/api_op_ResetInstanceAttribute.go.snap +++ b/service/ec2/snapshot/api_op_ResetInstanceAttribute.go.snap @@ -14,7 +14,6 @@ ResetInstanceAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ResetNetworkInterfaceAttribute.go.snap b/service/ec2/snapshot/api_op_ResetNetworkInterfaceAttribute.go.snap index 0e88b4ff2f6..3e10f8c8866 100644 --- a/service/ec2/snapshot/api_op_ResetNetworkInterfaceAttribute.go.snap +++ b/service/ec2/snapshot/api_op_ResetNetworkInterfaceAttribute.go.snap @@ -14,7 +14,6 @@ ResetNetworkInterfaceAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_ResetSnapshotAttribute.go.snap b/service/ec2/snapshot/api_op_ResetSnapshotAttribute.go.snap index a3fd47d4de4..5a4bc75ff98 100644 --- a/service/ec2/snapshot/api_op_ResetSnapshotAttribute.go.snap +++ b/service/ec2/snapshot/api_op_ResetSnapshotAttribute.go.snap @@ -14,7 +14,6 @@ ResetSnapshotAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_RestoreAddressToClassic.go.snap b/service/ec2/snapshot/api_op_RestoreAddressToClassic.go.snap index 0a96a42f6f3..c6ed31cdb98 100644 --- a/service/ec2/snapshot/api_op_RestoreAddressToClassic.go.snap +++ b/service/ec2/snapshot/api_op_RestoreAddressToClassic.go.snap @@ -14,7 +14,6 @@ RestoreAddressToClassic Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_RestoreImageFromRecycleBin.go.snap b/service/ec2/snapshot/api_op_RestoreImageFromRecycleBin.go.snap index 0e1b63f2dc1..ea7ba287f95 100644 --- a/service/ec2/snapshot/api_op_RestoreImageFromRecycleBin.go.snap +++ b/service/ec2/snapshot/api_op_RestoreImageFromRecycleBin.go.snap @@ -14,7 +14,6 @@ RestoreImageFromRecycleBin Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_RestoreManagedPrefixListVersion.go.snap b/service/ec2/snapshot/api_op_RestoreManagedPrefixListVersion.go.snap index f19601f671a..b39e8a0b41f 100644 --- a/service/ec2/snapshot/api_op_RestoreManagedPrefixListVersion.go.snap +++ b/service/ec2/snapshot/api_op_RestoreManagedPrefixListVersion.go.snap @@ -14,7 +14,6 @@ RestoreManagedPrefixListVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_RestoreSnapshotFromRecycleBin.go.snap b/service/ec2/snapshot/api_op_RestoreSnapshotFromRecycleBin.go.snap index 4d34a6c69b4..1b13c41c5f4 100644 --- a/service/ec2/snapshot/api_op_RestoreSnapshotFromRecycleBin.go.snap +++ b/service/ec2/snapshot/api_op_RestoreSnapshotFromRecycleBin.go.snap @@ -14,7 +14,6 @@ RestoreSnapshotFromRecycleBin Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_RestoreSnapshotTier.go.snap b/service/ec2/snapshot/api_op_RestoreSnapshotTier.go.snap index bac44ca35cd..39b534615f1 100644 --- a/service/ec2/snapshot/api_op_RestoreSnapshotTier.go.snap +++ b/service/ec2/snapshot/api_op_RestoreSnapshotTier.go.snap @@ -14,7 +14,6 @@ RestoreSnapshotTier Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_RevokeClientVpnIngress.go.snap b/service/ec2/snapshot/api_op_RevokeClientVpnIngress.go.snap index 6532175ca2a..aba210f6840 100644 --- a/service/ec2/snapshot/api_op_RevokeClientVpnIngress.go.snap +++ b/service/ec2/snapshot/api_op_RevokeClientVpnIngress.go.snap @@ -14,7 +14,6 @@ RevokeClientVpnIngress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_RevokeSecurityGroupEgress.go.snap b/service/ec2/snapshot/api_op_RevokeSecurityGroupEgress.go.snap index 16fe475ea71..5ad2e73358f 100644 --- a/service/ec2/snapshot/api_op_RevokeSecurityGroupEgress.go.snap +++ b/service/ec2/snapshot/api_op_RevokeSecurityGroupEgress.go.snap @@ -14,7 +14,6 @@ RevokeSecurityGroupEgress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_RevokeSecurityGroupIngress.go.snap b/service/ec2/snapshot/api_op_RevokeSecurityGroupIngress.go.snap index ec5a2b5a203..f6aef82a6e1 100644 --- a/service/ec2/snapshot/api_op_RevokeSecurityGroupIngress.go.snap +++ b/service/ec2/snapshot/api_op_RevokeSecurityGroupIngress.go.snap @@ -13,7 +13,6 @@ RevokeSecurityGroupIngress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_RunInstances.go.snap b/service/ec2/snapshot/api_op_RunInstances.go.snap index 770aea1453c..2c8902a8c0c 100644 --- a/service/ec2/snapshot/api_op_RunInstances.go.snap +++ b/service/ec2/snapshot/api_op_RunInstances.go.snap @@ -15,7 +15,6 @@ RunInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_RunScheduledInstances.go.snap b/service/ec2/snapshot/api_op_RunScheduledInstances.go.snap index c533b4ec203..7a2bd1dc88f 100644 --- a/service/ec2/snapshot/api_op_RunScheduledInstances.go.snap +++ b/service/ec2/snapshot/api_op_RunScheduledInstances.go.snap @@ -15,7 +15,6 @@ RunScheduledInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_SearchLocalGatewayRoutes.go.snap b/service/ec2/snapshot/api_op_SearchLocalGatewayRoutes.go.snap index 05ea8ab5c59..2e2c4fcbe6c 100644 --- a/service/ec2/snapshot/api_op_SearchLocalGatewayRoutes.go.snap +++ b/service/ec2/snapshot/api_op_SearchLocalGatewayRoutes.go.snap @@ -14,7 +14,6 @@ SearchLocalGatewayRoutes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_SearchTransitGatewayMulticastGroups.go.snap b/service/ec2/snapshot/api_op_SearchTransitGatewayMulticastGroups.go.snap index 5df19ffae3d..bce4bf8d64d 100644 --- a/service/ec2/snapshot/api_op_SearchTransitGatewayMulticastGroups.go.snap +++ b/service/ec2/snapshot/api_op_SearchTransitGatewayMulticastGroups.go.snap @@ -14,7 +14,6 @@ SearchTransitGatewayMulticastGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_SearchTransitGatewayRoutes.go.snap b/service/ec2/snapshot/api_op_SearchTransitGatewayRoutes.go.snap index a795d241635..d3d6844de78 100644 --- a/service/ec2/snapshot/api_op_SearchTransitGatewayRoutes.go.snap +++ b/service/ec2/snapshot/api_op_SearchTransitGatewayRoutes.go.snap @@ -14,7 +14,6 @@ SearchTransitGatewayRoutes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_SendDiagnosticInterrupt.go.snap b/service/ec2/snapshot/api_op_SendDiagnosticInterrupt.go.snap index ee394ad1192..067895a296e 100644 --- a/service/ec2/snapshot/api_op_SendDiagnosticInterrupt.go.snap +++ b/service/ec2/snapshot/api_op_SendDiagnosticInterrupt.go.snap @@ -14,7 +14,6 @@ SendDiagnosticInterrupt Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_StartDeclarativePoliciesReport.go.snap b/service/ec2/snapshot/api_op_StartDeclarativePoliciesReport.go.snap index 1381c1988e4..0db4aabb4b5 100644 --- a/service/ec2/snapshot/api_op_StartDeclarativePoliciesReport.go.snap +++ b/service/ec2/snapshot/api_op_StartDeclarativePoliciesReport.go.snap @@ -14,7 +14,6 @@ StartDeclarativePoliciesReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_StartInstances.go.snap b/service/ec2/snapshot/api_op_StartInstances.go.snap index d734f8218bb..4e4c74b4355 100644 --- a/service/ec2/snapshot/api_op_StartInstances.go.snap +++ b/service/ec2/snapshot/api_op_StartInstances.go.snap @@ -14,7 +14,6 @@ StartInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_StartNetworkInsightsAccessScopeAnalysis.go.snap b/service/ec2/snapshot/api_op_StartNetworkInsightsAccessScopeAnalysis.go.snap index 061828af51d..08f53c48384 100644 --- a/service/ec2/snapshot/api_op_StartNetworkInsightsAccessScopeAnalysis.go.snap +++ b/service/ec2/snapshot/api_op_StartNetworkInsightsAccessScopeAnalysis.go.snap @@ -15,7 +15,6 @@ StartNetworkInsightsAccessScopeAnalysis Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_StartNetworkInsightsAnalysis.go.snap b/service/ec2/snapshot/api_op_StartNetworkInsightsAnalysis.go.snap index fb225ff9e7f..68040cfa000 100644 --- a/service/ec2/snapshot/api_op_StartNetworkInsightsAnalysis.go.snap +++ b/service/ec2/snapshot/api_op_StartNetworkInsightsAnalysis.go.snap @@ -15,7 +15,6 @@ StartNetworkInsightsAnalysis Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_StartVpcEndpointServicePrivateDnsVerification.go.snap b/service/ec2/snapshot/api_op_StartVpcEndpointServicePrivateDnsVerification.go.snap index 8a1e392644a..2277f99af03 100644 --- a/service/ec2/snapshot/api_op_StartVpcEndpointServicePrivateDnsVerification.go.snap +++ b/service/ec2/snapshot/api_op_StartVpcEndpointServicePrivateDnsVerification.go.snap @@ -14,7 +14,6 @@ StartVpcEndpointServicePrivateDnsVerification Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_StopInstances.go.snap b/service/ec2/snapshot/api_op_StopInstances.go.snap index 06cb58df259..dd5574d6b88 100644 --- a/service/ec2/snapshot/api_op_StopInstances.go.snap +++ b/service/ec2/snapshot/api_op_StopInstances.go.snap @@ -14,7 +14,6 @@ StopInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_TerminateClientVpnConnections.go.snap b/service/ec2/snapshot/api_op_TerminateClientVpnConnections.go.snap index 4796c312683..98839031ab5 100644 --- a/service/ec2/snapshot/api_op_TerminateClientVpnConnections.go.snap +++ b/service/ec2/snapshot/api_op_TerminateClientVpnConnections.go.snap @@ -14,7 +14,6 @@ TerminateClientVpnConnections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_TerminateInstances.go.snap b/service/ec2/snapshot/api_op_TerminateInstances.go.snap index e3a2b1e2e47..a3c54875c45 100644 --- a/service/ec2/snapshot/api_op_TerminateInstances.go.snap +++ b/service/ec2/snapshot/api_op_TerminateInstances.go.snap @@ -14,7 +14,6 @@ TerminateInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_UnassignIpv6Addresses.go.snap b/service/ec2/snapshot/api_op_UnassignIpv6Addresses.go.snap index 59bbc8d1de0..c6532218662 100644 --- a/service/ec2/snapshot/api_op_UnassignIpv6Addresses.go.snap +++ b/service/ec2/snapshot/api_op_UnassignIpv6Addresses.go.snap @@ -14,7 +14,6 @@ UnassignIpv6Addresses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_UnassignPrivateIpAddresses.go.snap b/service/ec2/snapshot/api_op_UnassignPrivateIpAddresses.go.snap index 2195f1d2fc6..1c68b4e9104 100644 --- a/service/ec2/snapshot/api_op_UnassignPrivateIpAddresses.go.snap +++ b/service/ec2/snapshot/api_op_UnassignPrivateIpAddresses.go.snap @@ -14,7 +14,6 @@ UnassignPrivateIpAddresses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_UnassignPrivateNatGatewayAddress.go.snap b/service/ec2/snapshot/api_op_UnassignPrivateNatGatewayAddress.go.snap index 4ea1f5b4cb4..fc470133292 100644 --- a/service/ec2/snapshot/api_op_UnassignPrivateNatGatewayAddress.go.snap +++ b/service/ec2/snapshot/api_op_UnassignPrivateNatGatewayAddress.go.snap @@ -14,7 +14,6 @@ UnassignPrivateNatGatewayAddress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_UnlockSnapshot.go.snap b/service/ec2/snapshot/api_op_UnlockSnapshot.go.snap index 87ed3bc27d5..31016df5ab6 100644 --- a/service/ec2/snapshot/api_op_UnlockSnapshot.go.snap +++ b/service/ec2/snapshot/api_op_UnlockSnapshot.go.snap @@ -14,7 +14,6 @@ UnlockSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_UnmonitorInstances.go.snap b/service/ec2/snapshot/api_op_UnmonitorInstances.go.snap index 22658012845..22f85d742c6 100644 --- a/service/ec2/snapshot/api_op_UnmonitorInstances.go.snap +++ b/service/ec2/snapshot/api_op_UnmonitorInstances.go.snap @@ -14,7 +14,6 @@ UnmonitorInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_UpdateSecurityGroupRuleDescriptionsEgress.go.snap b/service/ec2/snapshot/api_op_UpdateSecurityGroupRuleDescriptionsEgress.go.snap index 73388b32303..9d5f5c84d05 100644 --- a/service/ec2/snapshot/api_op_UpdateSecurityGroupRuleDescriptionsEgress.go.snap +++ b/service/ec2/snapshot/api_op_UpdateSecurityGroupRuleDescriptionsEgress.go.snap @@ -13,7 +13,6 @@ UpdateSecurityGroupRuleDescriptionsEgress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_UpdateSecurityGroupRuleDescriptionsIngress.go.snap b/service/ec2/snapshot/api_op_UpdateSecurityGroupRuleDescriptionsIngress.go.snap index 3da0aff4903..4d74fe0ba76 100644 --- a/service/ec2/snapshot/api_op_UpdateSecurityGroupRuleDescriptionsIngress.go.snap +++ b/service/ec2/snapshot/api_op_UpdateSecurityGroupRuleDescriptionsIngress.go.snap @@ -13,7 +13,6 @@ UpdateSecurityGroupRuleDescriptionsIngress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2/snapshot/api_op_WithdrawByoipCidr.go.snap b/service/ec2/snapshot/api_op_WithdrawByoipCidr.go.snap index 22a5b4b48d6..1bb0ff70fd7 100644 --- a/service/ec2/snapshot/api_op_WithdrawByoipCidr.go.snap +++ b/service/ec2/snapshot/api_op_WithdrawByoipCidr.go.snap @@ -14,7 +14,6 @@ WithdrawByoipCidr Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2instanceconnect/api_client.go b/service/ec2instanceconnect/api_client.go index 327a3dff772..c1cc7a07c36 100644 --- a/service/ec2instanceconnect/api_client.go +++ b/service/ec2instanceconnect/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/ec2instanceconnect/api_op_SendSSHPublicKey.go b/service/ec2instanceconnect/api_op_SendSSHPublicKey.go index 80e34a5d320..8c6ca0a8f4f 100644 --- a/service/ec2instanceconnect/api_op_SendSSHPublicKey.go +++ b/service/ec2instanceconnect/api_op_SendSSHPublicKey.go @@ -133,9 +133,6 @@ func (c *Client) addOperationSendSSHPublicKeyMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendSSHPublicKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2instanceconnect/api_op_SendSerialConsoleSSHPublicKey.go b/service/ec2instanceconnect/api_op_SendSerialConsoleSSHPublicKey.go index 0c80ee24323..c1ae9d6de29 100644 --- a/service/ec2instanceconnect/api_op_SendSerialConsoleSSHPublicKey.go +++ b/service/ec2instanceconnect/api_op_SendSerialConsoleSSHPublicKey.go @@ -133,9 +133,6 @@ func (c *Client) addOperationSendSerialConsoleSSHPublicKeyMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendSerialConsoleSSHPublicKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ec2instanceconnect/snapshot/api_op_SendSSHPublicKey.go.snap b/service/ec2instanceconnect/snapshot/api_op_SendSSHPublicKey.go.snap index c93a63c8729..c921f655728 100644 --- a/service/ec2instanceconnect/snapshot/api_op_SendSSHPublicKey.go.snap +++ b/service/ec2instanceconnect/snapshot/api_op_SendSSHPublicKey.go.snap @@ -14,7 +14,6 @@ SendSSHPublicKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ec2instanceconnect/snapshot/api_op_SendSerialConsoleSSHPublicKey.go.snap b/service/ec2instanceconnect/snapshot/api_op_SendSerialConsoleSSHPublicKey.go.snap index 7ca982441d1..988e09976f9 100644 --- a/service/ec2instanceconnect/snapshot/api_op_SendSerialConsoleSSHPublicKey.go.snap +++ b/service/ec2instanceconnect/snapshot/api_op_SendSerialConsoleSSHPublicKey.go.snap @@ -14,7 +14,6 @@ SendSerialConsoleSSHPublicKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/api_client.go b/service/ecr/api_client.go index 3d7c13163c5..1cc8f55cfd4 100644 --- a/service/ecr/api_client.go +++ b/service/ecr/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/ecr/api_op_BatchCheckLayerAvailability.go b/service/ecr/api_op_BatchCheckLayerAvailability.go index 6c3e55194c8..a0a36f6a6ca 100644 --- a/service/ecr/api_op_BatchCheckLayerAvailability.go +++ b/service/ecr/api_op_BatchCheckLayerAvailability.go @@ -134,9 +134,6 @@ func (c *Client) addOperationBatchCheckLayerAvailabilityMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchCheckLayerAvailabilityValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_BatchDeleteImage.go b/service/ecr/api_op_BatchDeleteImage.go index 239a4976917..ea63234bbfd 100644 --- a/service/ecr/api_op_BatchDeleteImage.go +++ b/service/ecr/api_op_BatchDeleteImage.go @@ -136,9 +136,6 @@ func (c *Client) addOperationBatchDeleteImageMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDeleteImageValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_BatchGetImage.go b/service/ecr/api_op_BatchGetImage.go index 8548e4a11d2..5bff06008fc 100644 --- a/service/ecr/api_op_BatchGetImage.go +++ b/service/ecr/api_op_BatchGetImage.go @@ -137,9 +137,6 @@ func (c *Client) addOperationBatchGetImageMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetImageValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_BatchGetRepositoryScanningConfiguration.go b/service/ecr/api_op_BatchGetRepositoryScanningConfiguration.go index 44709d157b0..ba467c87b64 100644 --- a/service/ecr/api_op_BatchGetRepositoryScanningConfiguration.go +++ b/service/ecr/api_op_BatchGetRepositoryScanningConfiguration.go @@ -115,9 +115,6 @@ func (c *Client) addOperationBatchGetRepositoryScanningConfigurationMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetRepositoryScanningConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_CompleteLayerUpload.go b/service/ecr/api_op_CompleteLayerUpload.go index 78eddc33805..3106abb294e 100644 --- a/service/ecr/api_op_CompleteLayerUpload.go +++ b/service/ecr/api_op_CompleteLayerUpload.go @@ -144,9 +144,6 @@ func (c *Client) addOperationCompleteLayerUploadMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCompleteLayerUploadValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_CreatePullThroughCacheRule.go b/service/ecr/api_op_CreatePullThroughCacheRule.go index f15356b4f77..b7f4e1407fa 100644 --- a/service/ecr/api_op_CreatePullThroughCacheRule.go +++ b/service/ecr/api_op_CreatePullThroughCacheRule.go @@ -167,9 +167,6 @@ func (c *Client) addOperationCreatePullThroughCacheRuleMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePullThroughCacheRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_CreateRepository.go b/service/ecr/api_op_CreateRepository.go index b0f280577a7..b51da6915de 100644 --- a/service/ecr/api_op_CreateRepository.go +++ b/service/ecr/api_op_CreateRepository.go @@ -145,9 +145,6 @@ func (c *Client) addOperationCreateRepositoryMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRepositoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_CreateRepositoryCreationTemplate.go b/service/ecr/api_op_CreateRepositoryCreationTemplate.go index 5af5ec0bb4d..5f94b037dee 100644 --- a/service/ecr/api_op_CreateRepositoryCreationTemplate.go +++ b/service/ecr/api_op_CreateRepositoryCreationTemplate.go @@ -172,9 +172,6 @@ func (c *Client) addOperationCreateRepositoryCreationTemplateMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRepositoryCreationTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_DeleteLifecyclePolicy.go b/service/ecr/api_op_DeleteLifecyclePolicy.go index cbea5a7789c..73f3f88266b 100644 --- a/service/ecr/api_op_DeleteLifecyclePolicy.go +++ b/service/ecr/api_op_DeleteLifecyclePolicy.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDeleteLifecyclePolicyMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLifecyclePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_DeletePullThroughCacheRule.go b/service/ecr/api_op_DeletePullThroughCacheRule.go index 7da80fca713..8fabe7584d4 100644 --- a/service/ecr/api_op_DeletePullThroughCacheRule.go +++ b/service/ecr/api_op_DeletePullThroughCacheRule.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDeletePullThroughCacheRuleMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePullThroughCacheRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_DeleteRegistryPolicy.go b/service/ecr/api_op_DeleteRegistryPolicy.go index 4e70c924f54..05405eee71b 100644 --- a/service/ecr/api_op_DeleteRegistryPolicy.go +++ b/service/ecr/api_op_DeleteRegistryPolicy.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteRegistryPolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRegistryPolicy(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ecr/api_op_DeleteRepository.go b/service/ecr/api_op_DeleteRepository.go index c0084e8783e..feea5319fbb 100644 --- a/service/ecr/api_op_DeleteRepository.go +++ b/service/ecr/api_op_DeleteRepository.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteRepositoryMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRepositoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_DeleteRepositoryCreationTemplate.go b/service/ecr/api_op_DeleteRepositoryCreationTemplate.go index 45384c6a010..98fa1cd10ac 100644 --- a/service/ecr/api_op_DeleteRepositoryCreationTemplate.go +++ b/service/ecr/api_op_DeleteRepositoryCreationTemplate.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteRepositoryCreationTemplateMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRepositoryCreationTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_DeleteRepositoryPolicy.go b/service/ecr/api_op_DeleteRepositoryPolicy.go index 2aab4fa0cdf..9ad27321f1b 100644 --- a/service/ecr/api_op_DeleteRepositoryPolicy.go +++ b/service/ecr/api_op_DeleteRepositoryPolicy.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteRepositoryPolicyMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRepositoryPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_DescribeImageReplicationStatus.go b/service/ecr/api_op_DescribeImageReplicationStatus.go index 595e5f314e6..f674ea0cbe1 100644 --- a/service/ecr/api_op_DescribeImageReplicationStatus.go +++ b/service/ecr/api_op_DescribeImageReplicationStatus.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeImageReplicationStatusMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeImageReplicationStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_DescribeImageScanFindings.go b/service/ecr/api_op_DescribeImageScanFindings.go index 2cd1025c1f6..b332e593838 100644 --- a/service/ecr/api_op_DescribeImageScanFindings.go +++ b/service/ecr/api_op_DescribeImageScanFindings.go @@ -160,9 +160,6 @@ func (c *Client) addOperationDescribeImageScanFindingsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeImageScanFindingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_DescribeImages.go b/service/ecr/api_op_DescribeImages.go index 1d32d8ff641..7d7e1a705d6 100644 --- a/service/ecr/api_op_DescribeImages.go +++ b/service/ecr/api_op_DescribeImages.go @@ -151,9 +151,6 @@ func (c *Client) addOperationDescribeImagesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeImagesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_DescribePullThroughCacheRules.go b/service/ecr/api_op_DescribePullThroughCacheRules.go index 871d5b47189..95933334e0c 100644 --- a/service/ecr/api_op_DescribePullThroughCacheRules.go +++ b/service/ecr/api_op_DescribePullThroughCacheRules.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribePullThroughCacheRulesMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePullThroughCacheRules(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ecr/api_op_DescribeRegistry.go b/service/ecr/api_op_DescribeRegistry.go index 42a63bcd7aa..5d5620ec0c8 100644 --- a/service/ecr/api_op_DescribeRegistry.go +++ b/service/ecr/api_op_DescribeRegistry.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDescribeRegistryMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRegistry(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ecr/api_op_DescribeRepositories.go b/service/ecr/api_op_DescribeRepositories.go index ea17aecc16d..dc23fd0fb49 100644 --- a/service/ecr/api_op_DescribeRepositories.go +++ b/service/ecr/api_op_DescribeRepositories.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDescribeRepositoriesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRepositories(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ecr/api_op_DescribeRepositoryCreationTemplates.go b/service/ecr/api_op_DescribeRepositoryCreationTemplates.go index 3e5e401717f..a5b6cd70868 100644 --- a/service/ecr/api_op_DescribeRepositoryCreationTemplates.go +++ b/service/ecr/api_op_DescribeRepositoryCreationTemplates.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDescribeRepositoryCreationTemplatesMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRepositoryCreationTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ecr/api_op_GetAccountSetting.go b/service/ecr/api_op_GetAccountSetting.go index 581b1f21412..81d103ae23f 100644 --- a/service/ecr/api_op_GetAccountSetting.go +++ b/service/ecr/api_op_GetAccountSetting.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetAccountSettingMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAccountSettingValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_GetAuthorizationToken.go b/service/ecr/api_op_GetAuthorizationToken.go index 69a4d053354..c29ba7b44e5 100644 --- a/service/ecr/api_op_GetAuthorizationToken.go +++ b/service/ecr/api_op_GetAuthorizationToken.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetAuthorizationTokenMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAuthorizationToken(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ecr/api_op_GetDownloadUrlForLayer.go b/service/ecr/api_op_GetDownloadUrlForLayer.go index 32b64e13ce4..891045572ed 100644 --- a/service/ecr/api_op_GetDownloadUrlForLayer.go +++ b/service/ecr/api_op_GetDownloadUrlForLayer.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetDownloadUrlForLayerMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDownloadUrlForLayerValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_GetLifecyclePolicy.go b/service/ecr/api_op_GetLifecyclePolicy.go index 7ca491b17fa..408a61534da 100644 --- a/service/ecr/api_op_GetLifecyclePolicy.go +++ b/service/ecr/api_op_GetLifecyclePolicy.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetLifecyclePolicyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLifecyclePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_GetLifecyclePolicyPreview.go b/service/ecr/api_op_GetLifecyclePolicyPreview.go index 3a99b02a6e9..482152df722 100644 --- a/service/ecr/api_op_GetLifecyclePolicyPreview.go +++ b/service/ecr/api_op_GetLifecyclePolicyPreview.go @@ -169,9 +169,6 @@ func (c *Client) addOperationGetLifecyclePolicyPreviewMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLifecyclePolicyPreviewValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_GetRegistryPolicy.go b/service/ecr/api_op_GetRegistryPolicy.go index 98a7305b567..420344e663a 100644 --- a/service/ecr/api_op_GetRegistryPolicy.go +++ b/service/ecr/api_op_GetRegistryPolicy.go @@ -108,9 +108,6 @@ func (c *Client) addOperationGetRegistryPolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRegistryPolicy(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ecr/api_op_GetRegistryScanningConfiguration.go b/service/ecr/api_op_GetRegistryScanningConfiguration.go index 242a3b19063..5955ff467e3 100644 --- a/service/ecr/api_op_GetRegistryScanningConfiguration.go +++ b/service/ecr/api_op_GetRegistryScanningConfiguration.go @@ -109,9 +109,6 @@ func (c *Client) addOperationGetRegistryScanningConfigurationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRegistryScanningConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ecr/api_op_GetRepositoryPolicy.go b/service/ecr/api_op_GetRepositoryPolicy.go index 7cb52dcdfb5..a7325987f88 100644 --- a/service/ecr/api_op_GetRepositoryPolicy.go +++ b/service/ecr/api_op_GetRepositoryPolicy.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetRepositoryPolicyMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRepositoryPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_InitiateLayerUpload.go b/service/ecr/api_op_InitiateLayerUpload.go index b2bf0318176..f5b62d505e5 100644 --- a/service/ecr/api_op_InitiateLayerUpload.go +++ b/service/ecr/api_op_InitiateLayerUpload.go @@ -128,9 +128,6 @@ func (c *Client) addOperationInitiateLayerUploadMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpInitiateLayerUploadValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_ListImages.go b/service/ecr/api_op_ListImages.go index 8f56a7b82d1..09f0f065a31 100644 --- a/service/ecr/api_op_ListImages.go +++ b/service/ecr/api_op_ListImages.go @@ -150,9 +150,6 @@ func (c *Client) addOperationListImagesMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListImagesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_ListTagsForResource.go b/service/ecr/api_op_ListTagsForResource.go index 1b88b191481..00ecd807f13 100644 --- a/service/ecr/api_op_ListTagsForResource.go +++ b/service/ecr/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_PutAccountSetting.go b/service/ecr/api_op_PutAccountSetting.go index 2c673b03917..2075a4127ee 100644 --- a/service/ecr/api_op_PutAccountSetting.go +++ b/service/ecr/api_op_PutAccountSetting.go @@ -122,9 +122,6 @@ func (c *Client) addOperationPutAccountSettingMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutAccountSettingValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_PutImage.go b/service/ecr/api_op_PutImage.go index d3847a108d0..d63228f6d1c 100644 --- a/service/ecr/api_op_PutImage.go +++ b/service/ecr/api_op_PutImage.go @@ -143,9 +143,6 @@ func (c *Client) addOperationPutImageMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutImageValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_PutImageScanningConfiguration.go b/service/ecr/api_op_PutImageScanningConfiguration.go index fc448205a93..322c84dae0c 100644 --- a/service/ecr/api_op_PutImageScanningConfiguration.go +++ b/service/ecr/api_op_PutImageScanningConfiguration.go @@ -135,9 +135,6 @@ func (c *Client) addOperationPutImageScanningConfigurationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutImageScanningConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_PutImageTagMutability.go b/service/ecr/api_op_PutImageTagMutability.go index f5149a1878a..e1b4c3c93e0 100644 --- a/service/ecr/api_op_PutImageTagMutability.go +++ b/service/ecr/api_op_PutImageTagMutability.go @@ -133,9 +133,6 @@ func (c *Client) addOperationPutImageTagMutabilityMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutImageTagMutabilityValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_PutLifecyclePolicy.go b/service/ecr/api_op_PutLifecyclePolicy.go index 2b1db900a4e..4e8121861be 100644 --- a/service/ecr/api_op_PutLifecyclePolicy.go +++ b/service/ecr/api_op_PutLifecyclePolicy.go @@ -130,9 +130,6 @@ func (c *Client) addOperationPutLifecyclePolicyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutLifecyclePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_PutRegistryPolicy.go b/service/ecr/api_op_PutRegistryPolicy.go index 5572b91fe0a..c806dbf5724 100644 --- a/service/ecr/api_op_PutRegistryPolicy.go +++ b/service/ecr/api_op_PutRegistryPolicy.go @@ -124,9 +124,6 @@ func (c *Client) addOperationPutRegistryPolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutRegistryPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_PutRegistryScanningConfiguration.go b/service/ecr/api_op_PutRegistryScanningConfiguration.go index ca11412d0af..c57f87d7d58 100644 --- a/service/ecr/api_op_PutRegistryScanningConfiguration.go +++ b/service/ecr/api_op_PutRegistryScanningConfiguration.go @@ -126,9 +126,6 @@ func (c *Client) addOperationPutRegistryScanningConfigurationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutRegistryScanningConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_PutReplicationConfiguration.go b/service/ecr/api_op_PutReplicationConfiguration.go index 1203765be0d..24fd26d696b 100644 --- a/service/ecr/api_op_PutReplicationConfiguration.go +++ b/service/ecr/api_op_PutReplicationConfiguration.go @@ -124,9 +124,6 @@ func (c *Client) addOperationPutReplicationConfigurationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutReplicationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_SetRepositoryPolicy.go b/service/ecr/api_op_SetRepositoryPolicy.go index 69880d99fb9..36a788b70a7 100644 --- a/service/ecr/api_op_SetRepositoryPolicy.go +++ b/service/ecr/api_op_SetRepositoryPolicy.go @@ -139,9 +139,6 @@ func (c *Client) addOperationSetRepositoryPolicyMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetRepositoryPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_StartImageScan.go b/service/ecr/api_op_StartImageScan.go index e32329bad52..5eca1719971 100644 --- a/service/ecr/api_op_StartImageScan.go +++ b/service/ecr/api_op_StartImageScan.go @@ -139,9 +139,6 @@ func (c *Client) addOperationStartImageScanMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartImageScanValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_StartLifecyclePolicyPreview.go b/service/ecr/api_op_StartLifecyclePolicyPreview.go index 9c8a8783d2a..a2b2bb1b444 100644 --- a/service/ecr/api_op_StartLifecyclePolicyPreview.go +++ b/service/ecr/api_op_StartLifecyclePolicyPreview.go @@ -132,9 +132,6 @@ func (c *Client) addOperationStartLifecyclePolicyPreviewMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartLifecyclePolicyPreviewValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_TagResource.go b/service/ecr/api_op_TagResource.go index 2637c4ff61e..3974ab02686 100644 --- a/service/ecr/api_op_TagResource.go +++ b/service/ecr/api_op_TagResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_UntagResource.go b/service/ecr/api_op_UntagResource.go index 3f74cb345fe..e28d0d01829 100644 --- a/service/ecr/api_op_UntagResource.go +++ b/service/ecr/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_UpdatePullThroughCacheRule.go b/service/ecr/api_op_UpdatePullThroughCacheRule.go index 5350b2a6d7f..d40712e4f69 100644 --- a/service/ecr/api_op_UpdatePullThroughCacheRule.go +++ b/service/ecr/api_op_UpdatePullThroughCacheRule.go @@ -134,9 +134,6 @@ func (c *Client) addOperationUpdatePullThroughCacheRuleMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePullThroughCacheRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_UpdateRepositoryCreationTemplate.go b/service/ecr/api_op_UpdateRepositoryCreationTemplate.go index 302e6fc8e75..13712160547 100644 --- a/service/ecr/api_op_UpdateRepositoryCreationTemplate.go +++ b/service/ecr/api_op_UpdateRepositoryCreationTemplate.go @@ -161,9 +161,6 @@ func (c *Client) addOperationUpdateRepositoryCreationTemplateMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRepositoryCreationTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_UploadLayerPart.go b/service/ecr/api_op_UploadLayerPart.go index 3f29d659396..acfbd50e25d 100644 --- a/service/ecr/api_op_UploadLayerPart.go +++ b/service/ecr/api_op_UploadLayerPart.go @@ -154,9 +154,6 @@ func (c *Client) addOperationUploadLayerPartMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUploadLayerPartValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/api_op_ValidatePullThroughCacheRule.go b/service/ecr/api_op_ValidatePullThroughCacheRule.go index 2303525fc3a..34eeb8959c0 100644 --- a/service/ecr/api_op_ValidatePullThroughCacheRule.go +++ b/service/ecr/api_op_ValidatePullThroughCacheRule.go @@ -140,9 +140,6 @@ func (c *Client) addOperationValidatePullThroughCacheRuleMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpValidatePullThroughCacheRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecr/snapshot/api_op_BatchCheckLayerAvailability.go.snap b/service/ecr/snapshot/api_op_BatchCheckLayerAvailability.go.snap index 3df641ad044..156afbcc7fe 100644 --- a/service/ecr/snapshot/api_op_BatchCheckLayerAvailability.go.snap +++ b/service/ecr/snapshot/api_op_BatchCheckLayerAvailability.go.snap @@ -14,7 +14,6 @@ BatchCheckLayerAvailability Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_BatchDeleteImage.go.snap b/service/ecr/snapshot/api_op_BatchDeleteImage.go.snap index 4fbe273109e..ad784490bae 100644 --- a/service/ecr/snapshot/api_op_BatchDeleteImage.go.snap +++ b/service/ecr/snapshot/api_op_BatchDeleteImage.go.snap @@ -14,7 +14,6 @@ BatchDeleteImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_BatchGetImage.go.snap b/service/ecr/snapshot/api_op_BatchGetImage.go.snap index f1708db62cb..ce31d86eddc 100644 --- a/service/ecr/snapshot/api_op_BatchGetImage.go.snap +++ b/service/ecr/snapshot/api_op_BatchGetImage.go.snap @@ -14,7 +14,6 @@ BatchGetImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_BatchGetRepositoryScanningConfiguration.go.snap b/service/ecr/snapshot/api_op_BatchGetRepositoryScanningConfiguration.go.snap index ba259f6a877..9383c34d51f 100644 --- a/service/ecr/snapshot/api_op_BatchGetRepositoryScanningConfiguration.go.snap +++ b/service/ecr/snapshot/api_op_BatchGetRepositoryScanningConfiguration.go.snap @@ -14,7 +14,6 @@ BatchGetRepositoryScanningConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_CompleteLayerUpload.go.snap b/service/ecr/snapshot/api_op_CompleteLayerUpload.go.snap index cde766b7e67..31f4cd6182a 100644 --- a/service/ecr/snapshot/api_op_CompleteLayerUpload.go.snap +++ b/service/ecr/snapshot/api_op_CompleteLayerUpload.go.snap @@ -14,7 +14,6 @@ CompleteLayerUpload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_CreatePullThroughCacheRule.go.snap b/service/ecr/snapshot/api_op_CreatePullThroughCacheRule.go.snap index 2a2edddffb9..e35176ec673 100644 --- a/service/ecr/snapshot/api_op_CreatePullThroughCacheRule.go.snap +++ b/service/ecr/snapshot/api_op_CreatePullThroughCacheRule.go.snap @@ -14,7 +14,6 @@ CreatePullThroughCacheRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_CreateRepository.go.snap b/service/ecr/snapshot/api_op_CreateRepository.go.snap index 89c86dfaf56..6f61c5b4675 100644 --- a/service/ecr/snapshot/api_op_CreateRepository.go.snap +++ b/service/ecr/snapshot/api_op_CreateRepository.go.snap @@ -14,7 +14,6 @@ CreateRepository Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_CreateRepositoryCreationTemplate.go.snap b/service/ecr/snapshot/api_op_CreateRepositoryCreationTemplate.go.snap index 505323ca803..7d298238f76 100644 --- a/service/ecr/snapshot/api_op_CreateRepositoryCreationTemplate.go.snap +++ b/service/ecr/snapshot/api_op_CreateRepositoryCreationTemplate.go.snap @@ -14,7 +14,6 @@ CreateRepositoryCreationTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_DeleteLifecyclePolicy.go.snap b/service/ecr/snapshot/api_op_DeleteLifecyclePolicy.go.snap index aba59434b8b..fe2afb7dac7 100644 --- a/service/ecr/snapshot/api_op_DeleteLifecyclePolicy.go.snap +++ b/service/ecr/snapshot/api_op_DeleteLifecyclePolicy.go.snap @@ -14,7 +14,6 @@ DeleteLifecyclePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_DeletePullThroughCacheRule.go.snap b/service/ecr/snapshot/api_op_DeletePullThroughCacheRule.go.snap index ae308c10676..9a0f2c2f2c4 100644 --- a/service/ecr/snapshot/api_op_DeletePullThroughCacheRule.go.snap +++ b/service/ecr/snapshot/api_op_DeletePullThroughCacheRule.go.snap @@ -14,7 +14,6 @@ DeletePullThroughCacheRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_DeleteRegistryPolicy.go.snap b/service/ecr/snapshot/api_op_DeleteRegistryPolicy.go.snap index 9bfc76b76b5..a116e1bf0d9 100644 --- a/service/ecr/snapshot/api_op_DeleteRegistryPolicy.go.snap +++ b/service/ecr/snapshot/api_op_DeleteRegistryPolicy.go.snap @@ -13,7 +13,6 @@ DeleteRegistryPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_DeleteRepository.go.snap b/service/ecr/snapshot/api_op_DeleteRepository.go.snap index f94a590e30e..9a621bc6069 100644 --- a/service/ecr/snapshot/api_op_DeleteRepository.go.snap +++ b/service/ecr/snapshot/api_op_DeleteRepository.go.snap @@ -14,7 +14,6 @@ DeleteRepository Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_DeleteRepositoryCreationTemplate.go.snap b/service/ecr/snapshot/api_op_DeleteRepositoryCreationTemplate.go.snap index f361e48fb0d..724222192de 100644 --- a/service/ecr/snapshot/api_op_DeleteRepositoryCreationTemplate.go.snap +++ b/service/ecr/snapshot/api_op_DeleteRepositoryCreationTemplate.go.snap @@ -14,7 +14,6 @@ DeleteRepositoryCreationTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_DeleteRepositoryPolicy.go.snap b/service/ecr/snapshot/api_op_DeleteRepositoryPolicy.go.snap index 31ce40447ce..b9f5421f122 100644 --- a/service/ecr/snapshot/api_op_DeleteRepositoryPolicy.go.snap +++ b/service/ecr/snapshot/api_op_DeleteRepositoryPolicy.go.snap @@ -14,7 +14,6 @@ DeleteRepositoryPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_DescribeImageReplicationStatus.go.snap b/service/ecr/snapshot/api_op_DescribeImageReplicationStatus.go.snap index 140c17a4498..a7166a9aa7c 100644 --- a/service/ecr/snapshot/api_op_DescribeImageReplicationStatus.go.snap +++ b/service/ecr/snapshot/api_op_DescribeImageReplicationStatus.go.snap @@ -14,7 +14,6 @@ DescribeImageReplicationStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_DescribeImageScanFindings.go.snap b/service/ecr/snapshot/api_op_DescribeImageScanFindings.go.snap index 0ac5c5da105..7344ebab6b5 100644 --- a/service/ecr/snapshot/api_op_DescribeImageScanFindings.go.snap +++ b/service/ecr/snapshot/api_op_DescribeImageScanFindings.go.snap @@ -14,7 +14,6 @@ DescribeImageScanFindings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_DescribeImages.go.snap b/service/ecr/snapshot/api_op_DescribeImages.go.snap index e782a1b093a..5d4f730f93d 100644 --- a/service/ecr/snapshot/api_op_DescribeImages.go.snap +++ b/service/ecr/snapshot/api_op_DescribeImages.go.snap @@ -14,7 +14,6 @@ DescribeImages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_DescribePullThroughCacheRules.go.snap b/service/ecr/snapshot/api_op_DescribePullThroughCacheRules.go.snap index 2bb331a39c8..e80233f6d4d 100644 --- a/service/ecr/snapshot/api_op_DescribePullThroughCacheRules.go.snap +++ b/service/ecr/snapshot/api_op_DescribePullThroughCacheRules.go.snap @@ -13,7 +13,6 @@ DescribePullThroughCacheRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_DescribeRegistry.go.snap b/service/ecr/snapshot/api_op_DescribeRegistry.go.snap index 588ad4bbbd4..5823e43855d 100644 --- a/service/ecr/snapshot/api_op_DescribeRegistry.go.snap +++ b/service/ecr/snapshot/api_op_DescribeRegistry.go.snap @@ -13,7 +13,6 @@ DescribeRegistry Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_DescribeRepositories.go.snap b/service/ecr/snapshot/api_op_DescribeRepositories.go.snap index 918e08dc9d4..988fef1f59c 100644 --- a/service/ecr/snapshot/api_op_DescribeRepositories.go.snap +++ b/service/ecr/snapshot/api_op_DescribeRepositories.go.snap @@ -13,7 +13,6 @@ DescribeRepositories Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_DescribeRepositoryCreationTemplates.go.snap b/service/ecr/snapshot/api_op_DescribeRepositoryCreationTemplates.go.snap index 855a562d91d..1de2ad81acb 100644 --- a/service/ecr/snapshot/api_op_DescribeRepositoryCreationTemplates.go.snap +++ b/service/ecr/snapshot/api_op_DescribeRepositoryCreationTemplates.go.snap @@ -13,7 +13,6 @@ DescribeRepositoryCreationTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_GetAccountSetting.go.snap b/service/ecr/snapshot/api_op_GetAccountSetting.go.snap index 5ef845a3614..9fd85b56bd0 100644 --- a/service/ecr/snapshot/api_op_GetAccountSetting.go.snap +++ b/service/ecr/snapshot/api_op_GetAccountSetting.go.snap @@ -14,7 +14,6 @@ GetAccountSetting Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_GetAuthorizationToken.go.snap b/service/ecr/snapshot/api_op_GetAuthorizationToken.go.snap index 37672b33e59..98d69ef0d93 100644 --- a/service/ecr/snapshot/api_op_GetAuthorizationToken.go.snap +++ b/service/ecr/snapshot/api_op_GetAuthorizationToken.go.snap @@ -13,7 +13,6 @@ GetAuthorizationToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_GetDownloadUrlForLayer.go.snap b/service/ecr/snapshot/api_op_GetDownloadUrlForLayer.go.snap index 4859e1d99e3..67cc415f89d 100644 --- a/service/ecr/snapshot/api_op_GetDownloadUrlForLayer.go.snap +++ b/service/ecr/snapshot/api_op_GetDownloadUrlForLayer.go.snap @@ -14,7 +14,6 @@ GetDownloadUrlForLayer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_GetLifecyclePolicy.go.snap b/service/ecr/snapshot/api_op_GetLifecyclePolicy.go.snap index d6545bfa017..4b0e5f0b1b7 100644 --- a/service/ecr/snapshot/api_op_GetLifecyclePolicy.go.snap +++ b/service/ecr/snapshot/api_op_GetLifecyclePolicy.go.snap @@ -14,7 +14,6 @@ GetLifecyclePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_GetLifecyclePolicyPreview.go.snap b/service/ecr/snapshot/api_op_GetLifecyclePolicyPreview.go.snap index e0fe2296714..39d2970b38e 100644 --- a/service/ecr/snapshot/api_op_GetLifecyclePolicyPreview.go.snap +++ b/service/ecr/snapshot/api_op_GetLifecyclePolicyPreview.go.snap @@ -14,7 +14,6 @@ GetLifecyclePolicyPreview Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_GetRegistryPolicy.go.snap b/service/ecr/snapshot/api_op_GetRegistryPolicy.go.snap index b8bf812da4b..c74648043a2 100644 --- a/service/ecr/snapshot/api_op_GetRegistryPolicy.go.snap +++ b/service/ecr/snapshot/api_op_GetRegistryPolicy.go.snap @@ -13,7 +13,6 @@ GetRegistryPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_GetRegistryScanningConfiguration.go.snap b/service/ecr/snapshot/api_op_GetRegistryScanningConfiguration.go.snap index f4b4de6a8aa..36599a91231 100644 --- a/service/ecr/snapshot/api_op_GetRegistryScanningConfiguration.go.snap +++ b/service/ecr/snapshot/api_op_GetRegistryScanningConfiguration.go.snap @@ -13,7 +13,6 @@ GetRegistryScanningConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_GetRepositoryPolicy.go.snap b/service/ecr/snapshot/api_op_GetRepositoryPolicy.go.snap index 9b478561164..9097dd51bb8 100644 --- a/service/ecr/snapshot/api_op_GetRepositoryPolicy.go.snap +++ b/service/ecr/snapshot/api_op_GetRepositoryPolicy.go.snap @@ -14,7 +14,6 @@ GetRepositoryPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_InitiateLayerUpload.go.snap b/service/ecr/snapshot/api_op_InitiateLayerUpload.go.snap index c2d63449a69..913f96fca60 100644 --- a/service/ecr/snapshot/api_op_InitiateLayerUpload.go.snap +++ b/service/ecr/snapshot/api_op_InitiateLayerUpload.go.snap @@ -14,7 +14,6 @@ InitiateLayerUpload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_ListImages.go.snap b/service/ecr/snapshot/api_op_ListImages.go.snap index 8eb1ca74243..b7bc0c8582e 100644 --- a/service/ecr/snapshot/api_op_ListImages.go.snap +++ b/service/ecr/snapshot/api_op_ListImages.go.snap @@ -14,7 +14,6 @@ ListImages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_ListTagsForResource.go.snap b/service/ecr/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/ecr/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/ecr/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_PutAccountSetting.go.snap b/service/ecr/snapshot/api_op_PutAccountSetting.go.snap index 241a47e38a9..e1e1fc0e990 100644 --- a/service/ecr/snapshot/api_op_PutAccountSetting.go.snap +++ b/service/ecr/snapshot/api_op_PutAccountSetting.go.snap @@ -14,7 +14,6 @@ PutAccountSetting Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_PutImage.go.snap b/service/ecr/snapshot/api_op_PutImage.go.snap index 98a09e58332..67ee02a58e2 100644 --- a/service/ecr/snapshot/api_op_PutImage.go.snap +++ b/service/ecr/snapshot/api_op_PutImage.go.snap @@ -14,7 +14,6 @@ PutImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_PutImageScanningConfiguration.go.snap b/service/ecr/snapshot/api_op_PutImageScanningConfiguration.go.snap index 9b0af241c3b..2329e10b553 100644 --- a/service/ecr/snapshot/api_op_PutImageScanningConfiguration.go.snap +++ b/service/ecr/snapshot/api_op_PutImageScanningConfiguration.go.snap @@ -14,7 +14,6 @@ PutImageScanningConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_PutImageTagMutability.go.snap b/service/ecr/snapshot/api_op_PutImageTagMutability.go.snap index d7c35fb9366..35e8b5de574 100644 --- a/service/ecr/snapshot/api_op_PutImageTagMutability.go.snap +++ b/service/ecr/snapshot/api_op_PutImageTagMutability.go.snap @@ -14,7 +14,6 @@ PutImageTagMutability Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_PutLifecyclePolicy.go.snap b/service/ecr/snapshot/api_op_PutLifecyclePolicy.go.snap index de1606852e1..a609121a5f0 100644 --- a/service/ecr/snapshot/api_op_PutLifecyclePolicy.go.snap +++ b/service/ecr/snapshot/api_op_PutLifecyclePolicy.go.snap @@ -14,7 +14,6 @@ PutLifecyclePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_PutRegistryPolicy.go.snap b/service/ecr/snapshot/api_op_PutRegistryPolicy.go.snap index f6343501152..88b5d02bd49 100644 --- a/service/ecr/snapshot/api_op_PutRegistryPolicy.go.snap +++ b/service/ecr/snapshot/api_op_PutRegistryPolicy.go.snap @@ -14,7 +14,6 @@ PutRegistryPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_PutRegistryScanningConfiguration.go.snap b/service/ecr/snapshot/api_op_PutRegistryScanningConfiguration.go.snap index f9c08505235..9d1274cc00e 100644 --- a/service/ecr/snapshot/api_op_PutRegistryScanningConfiguration.go.snap +++ b/service/ecr/snapshot/api_op_PutRegistryScanningConfiguration.go.snap @@ -14,7 +14,6 @@ PutRegistryScanningConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_PutReplicationConfiguration.go.snap b/service/ecr/snapshot/api_op_PutReplicationConfiguration.go.snap index 34f24388f33..36d26ec3d13 100644 --- a/service/ecr/snapshot/api_op_PutReplicationConfiguration.go.snap +++ b/service/ecr/snapshot/api_op_PutReplicationConfiguration.go.snap @@ -14,7 +14,6 @@ PutReplicationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_SetRepositoryPolicy.go.snap b/service/ecr/snapshot/api_op_SetRepositoryPolicy.go.snap index 8c04a7f15bf..23e7785c7fa 100644 --- a/service/ecr/snapshot/api_op_SetRepositoryPolicy.go.snap +++ b/service/ecr/snapshot/api_op_SetRepositoryPolicy.go.snap @@ -14,7 +14,6 @@ SetRepositoryPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_StartImageScan.go.snap b/service/ecr/snapshot/api_op_StartImageScan.go.snap index a58c5236705..18a0b1a4c5f 100644 --- a/service/ecr/snapshot/api_op_StartImageScan.go.snap +++ b/service/ecr/snapshot/api_op_StartImageScan.go.snap @@ -14,7 +14,6 @@ StartImageScan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_StartLifecyclePolicyPreview.go.snap b/service/ecr/snapshot/api_op_StartLifecyclePolicyPreview.go.snap index 48d6a7e6266..7efbd8bd1c4 100644 --- a/service/ecr/snapshot/api_op_StartLifecyclePolicyPreview.go.snap +++ b/service/ecr/snapshot/api_op_StartLifecyclePolicyPreview.go.snap @@ -14,7 +14,6 @@ StartLifecyclePolicyPreview Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_TagResource.go.snap b/service/ecr/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/ecr/snapshot/api_op_TagResource.go.snap +++ b/service/ecr/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_UntagResource.go.snap b/service/ecr/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/ecr/snapshot/api_op_UntagResource.go.snap +++ b/service/ecr/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_UpdatePullThroughCacheRule.go.snap b/service/ecr/snapshot/api_op_UpdatePullThroughCacheRule.go.snap index b49f5f222bf..4c0dc6231c6 100644 --- a/service/ecr/snapshot/api_op_UpdatePullThroughCacheRule.go.snap +++ b/service/ecr/snapshot/api_op_UpdatePullThroughCacheRule.go.snap @@ -14,7 +14,6 @@ UpdatePullThroughCacheRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_UpdateRepositoryCreationTemplate.go.snap b/service/ecr/snapshot/api_op_UpdateRepositoryCreationTemplate.go.snap index b1e32dbd7bf..b2a6ad34c12 100644 --- a/service/ecr/snapshot/api_op_UpdateRepositoryCreationTemplate.go.snap +++ b/service/ecr/snapshot/api_op_UpdateRepositoryCreationTemplate.go.snap @@ -14,7 +14,6 @@ UpdateRepositoryCreationTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_UploadLayerPart.go.snap b/service/ecr/snapshot/api_op_UploadLayerPart.go.snap index 198c4ccc687..bb466264be0 100644 --- a/service/ecr/snapshot/api_op_UploadLayerPart.go.snap +++ b/service/ecr/snapshot/api_op_UploadLayerPart.go.snap @@ -14,7 +14,6 @@ UploadLayerPart Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecr/snapshot/api_op_ValidatePullThroughCacheRule.go.snap b/service/ecr/snapshot/api_op_ValidatePullThroughCacheRule.go.snap index 893a8d5c867..8a2c2bd3540 100644 --- a/service/ecr/snapshot/api_op_ValidatePullThroughCacheRule.go.snap +++ b/service/ecr/snapshot/api_op_ValidatePullThroughCacheRule.go.snap @@ -14,7 +14,6 @@ ValidatePullThroughCacheRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecrpublic/api_client.go b/service/ecrpublic/api_client.go index 9d7e183d2f1..6ec6c3ec1ce 100644 --- a/service/ecrpublic/api_client.go +++ b/service/ecrpublic/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/ecrpublic/api_op_BatchCheckLayerAvailability.go b/service/ecrpublic/api_op_BatchCheckLayerAvailability.go index 1e2e234bec4..dc0aeccdcd0 100644 --- a/service/ecrpublic/api_op_BatchCheckLayerAvailability.go +++ b/service/ecrpublic/api_op_BatchCheckLayerAvailability.go @@ -133,9 +133,6 @@ func (c *Client) addOperationBatchCheckLayerAvailabilityMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchCheckLayerAvailabilityValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_BatchDeleteImage.go b/service/ecrpublic/api_op_BatchDeleteImage.go index f5b14b6bf08..01302e77122 100644 --- a/service/ecrpublic/api_op_BatchDeleteImage.go +++ b/service/ecrpublic/api_op_BatchDeleteImage.go @@ -134,9 +134,6 @@ func (c *Client) addOperationBatchDeleteImageMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDeleteImageValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_CompleteLayerUpload.go b/service/ecrpublic/api_op_CompleteLayerUpload.go index 41d822b8e9f..0e5f50ea9e0 100644 --- a/service/ecrpublic/api_op_CompleteLayerUpload.go +++ b/service/ecrpublic/api_op_CompleteLayerUpload.go @@ -145,9 +145,6 @@ func (c *Client) addOperationCompleteLayerUploadMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCompleteLayerUploadValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_CreateRepository.go b/service/ecrpublic/api_op_CreateRepository.go index 8ff307b8eab..4ca5c188475 100644 --- a/service/ecrpublic/api_op_CreateRepository.go +++ b/service/ecrpublic/api_op_CreateRepository.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateRepositoryMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRepositoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_DeleteRepository.go b/service/ecrpublic/api_op_DeleteRepository.go index afac66ba368..ca7cd7d3fb9 100644 --- a/service/ecrpublic/api_op_DeleteRepository.go +++ b/service/ecrpublic/api_op_DeleteRepository.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteRepositoryMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRepositoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_DeleteRepositoryPolicy.go b/service/ecrpublic/api_op_DeleteRepositoryPolicy.go index 395c5168ac4..831a8483e45 100644 --- a/service/ecrpublic/api_op_DeleteRepositoryPolicy.go +++ b/service/ecrpublic/api_op_DeleteRepositoryPolicy.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteRepositoryPolicyMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRepositoryPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_DescribeImageTags.go b/service/ecrpublic/api_op_DescribeImageTags.go index 78efb512cb9..f43b7776f67 100644 --- a/service/ecrpublic/api_op_DescribeImageTags.go +++ b/service/ecrpublic/api_op_DescribeImageTags.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDescribeImageTagsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeImageTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_DescribeImages.go b/service/ecrpublic/api_op_DescribeImages.go index f4e94d832ab..d77c2e2ac0d 100644 --- a/service/ecrpublic/api_op_DescribeImages.go +++ b/service/ecrpublic/api_op_DescribeImages.go @@ -149,9 +149,6 @@ func (c *Client) addOperationDescribeImagesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeImagesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_DescribeRegistries.go b/service/ecrpublic/api_op_DescribeRegistries.go index a82daac2ecb..47aa6f4076b 100644 --- a/service/ecrpublic/api_op_DescribeRegistries.go +++ b/service/ecrpublic/api_op_DescribeRegistries.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDescribeRegistriesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRegistries(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ecrpublic/api_op_DescribeRepositories.go b/service/ecrpublic/api_op_DescribeRepositories.go index 6f10382df2a..96642a085b3 100644 --- a/service/ecrpublic/api_op_DescribeRepositories.go +++ b/service/ecrpublic/api_op_DescribeRepositories.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDescribeRepositoriesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRepositories(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ecrpublic/api_op_GetAuthorizationToken.go b/service/ecrpublic/api_op_GetAuthorizationToken.go index 3857357bc48..ced2aec4939 100644 --- a/service/ecrpublic/api_op_GetAuthorizationToken.go +++ b/service/ecrpublic/api_op_GetAuthorizationToken.go @@ -110,9 +110,6 @@ func (c *Client) addOperationGetAuthorizationTokenMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAuthorizationToken(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ecrpublic/api_op_GetRegistryCatalogData.go b/service/ecrpublic/api_op_GetRegistryCatalogData.go index f9e1f6e3eb2..3b46f123ec8 100644 --- a/service/ecrpublic/api_op_GetRegistryCatalogData.go +++ b/service/ecrpublic/api_op_GetRegistryCatalogData.go @@ -108,9 +108,6 @@ func (c *Client) addOperationGetRegistryCatalogDataMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRegistryCatalogData(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ecrpublic/api_op_GetRepositoryCatalogData.go b/service/ecrpublic/api_op_GetRepositoryCatalogData.go index 8f8b6b91f23..5f80026f18c 100644 --- a/service/ecrpublic/api_op_GetRepositoryCatalogData.go +++ b/service/ecrpublic/api_op_GetRepositoryCatalogData.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetRepositoryCatalogDataMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRepositoryCatalogDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_GetRepositoryPolicy.go b/service/ecrpublic/api_op_GetRepositoryPolicy.go index 4493fd529aa..ea637e3af4a 100644 --- a/service/ecrpublic/api_op_GetRepositoryPolicy.go +++ b/service/ecrpublic/api_op_GetRepositoryPolicy.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetRepositoryPolicyMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRepositoryPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_InitiateLayerUpload.go b/service/ecrpublic/api_op_InitiateLayerUpload.go index 0e48a830f59..a8e642aab22 100644 --- a/service/ecrpublic/api_op_InitiateLayerUpload.go +++ b/service/ecrpublic/api_op_InitiateLayerUpload.go @@ -128,9 +128,6 @@ func (c *Client) addOperationInitiateLayerUploadMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpInitiateLayerUploadValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_ListTagsForResource.go b/service/ecrpublic/api_op_ListTagsForResource.go index 53c4f384181..9624524c061 100644 --- a/service/ecrpublic/api_op_ListTagsForResource.go +++ b/service/ecrpublic/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_PutImage.go b/service/ecrpublic/api_op_PutImage.go index d160dec595a..25f8cda0056 100644 --- a/service/ecrpublic/api_op_PutImage.go +++ b/service/ecrpublic/api_op_PutImage.go @@ -144,9 +144,6 @@ func (c *Client) addOperationPutImageMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutImageValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_PutRegistryCatalogData.go b/service/ecrpublic/api_op_PutRegistryCatalogData.go index 7f3c79e3ac0..233fba15756 100644 --- a/service/ecrpublic/api_op_PutRegistryCatalogData.go +++ b/service/ecrpublic/api_op_PutRegistryCatalogData.go @@ -116,9 +116,6 @@ func (c *Client) addOperationPutRegistryCatalogDataMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutRegistryCatalogData(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ecrpublic/api_op_PutRepositoryCatalogData.go b/service/ecrpublic/api_op_PutRepositoryCatalogData.go index 1af5ece102b..59bf740b226 100644 --- a/service/ecrpublic/api_op_PutRepositoryCatalogData.go +++ b/service/ecrpublic/api_op_PutRepositoryCatalogData.go @@ -123,9 +123,6 @@ func (c *Client) addOperationPutRepositoryCatalogDataMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutRepositoryCatalogDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_SetRepositoryPolicy.go b/service/ecrpublic/api_op_SetRepositoryPolicy.go index 7c0237f992f..d49bc941bee 100644 --- a/service/ecrpublic/api_op_SetRepositoryPolicy.go +++ b/service/ecrpublic/api_op_SetRepositoryPolicy.go @@ -139,9 +139,6 @@ func (c *Client) addOperationSetRepositoryPolicyMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetRepositoryPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_TagResource.go b/service/ecrpublic/api_op_TagResource.go index e7d8550c5b4..1dfb2dd7840 100644 --- a/service/ecrpublic/api_op_TagResource.go +++ b/service/ecrpublic/api_op_TagResource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_UntagResource.go b/service/ecrpublic/api_op_UntagResource.go index a0c2f475cd1..83b57e0ad97 100644 --- a/service/ecrpublic/api_op_UntagResource.go +++ b/service/ecrpublic/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/api_op_UploadLayerPart.go b/service/ecrpublic/api_op_UploadLayerPart.go index cc6712300a2..9a81c0597f6 100644 --- a/service/ecrpublic/api_op_UploadLayerPart.go +++ b/service/ecrpublic/api_op_UploadLayerPart.go @@ -154,9 +154,6 @@ func (c *Client) addOperationUploadLayerPartMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUploadLayerPartValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecrpublic/snapshot/api_op_BatchCheckLayerAvailability.go.snap b/service/ecrpublic/snapshot/api_op_BatchCheckLayerAvailability.go.snap index 3df641ad044..156afbcc7fe 100644 --- a/service/ecrpublic/snapshot/api_op_BatchCheckLayerAvailability.go.snap +++ b/service/ecrpublic/snapshot/api_op_BatchCheckLayerAvailability.go.snap @@ -14,7 +14,6 @@ BatchCheckLayerAvailability Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecrpublic/snapshot/api_op_BatchDeleteImage.go.snap b/service/ecrpublic/snapshot/api_op_BatchDeleteImage.go.snap index 4fbe273109e..ad784490bae 100644 --- a/service/ecrpublic/snapshot/api_op_BatchDeleteImage.go.snap +++ b/service/ecrpublic/snapshot/api_op_BatchDeleteImage.go.snap @@ -14,7 +14,6 @@ BatchDeleteImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecrpublic/snapshot/api_op_CompleteLayerUpload.go.snap b/service/ecrpublic/snapshot/api_op_CompleteLayerUpload.go.snap index cde766b7e67..31f4cd6182a 100644 --- a/service/ecrpublic/snapshot/api_op_CompleteLayerUpload.go.snap +++ b/service/ecrpublic/snapshot/api_op_CompleteLayerUpload.go.snap @@ -14,7 +14,6 @@ CompleteLayerUpload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecrpublic/snapshot/api_op_CreateRepository.go.snap b/service/ecrpublic/snapshot/api_op_CreateRepository.go.snap index 89c86dfaf56..6f61c5b4675 100644 --- a/service/ecrpublic/snapshot/api_op_CreateRepository.go.snap +++ b/service/ecrpublic/snapshot/api_op_CreateRepository.go.snap @@ -14,7 +14,6 @@ CreateRepository Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecrpublic/snapshot/api_op_DeleteRepository.go.snap b/service/ecrpublic/snapshot/api_op_DeleteRepository.go.snap index f94a590e30e..9a621bc6069 100644 --- a/service/ecrpublic/snapshot/api_op_DeleteRepository.go.snap +++ b/service/ecrpublic/snapshot/api_op_DeleteRepository.go.snap @@ -14,7 +14,6 @@ DeleteRepository Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecrpublic/snapshot/api_op_DeleteRepositoryPolicy.go.snap b/service/ecrpublic/snapshot/api_op_DeleteRepositoryPolicy.go.snap index 31ce40447ce..b9f5421f122 100644 --- a/service/ecrpublic/snapshot/api_op_DeleteRepositoryPolicy.go.snap +++ b/service/ecrpublic/snapshot/api_op_DeleteRepositoryPolicy.go.snap @@ -14,7 +14,6 @@ DeleteRepositoryPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecrpublic/snapshot/api_op_DescribeImageTags.go.snap b/service/ecrpublic/snapshot/api_op_DescribeImageTags.go.snap index 7bc573ced66..edcffd6a60c 100644 --- a/service/ecrpublic/snapshot/api_op_DescribeImageTags.go.snap +++ b/service/ecrpublic/snapshot/api_op_DescribeImageTags.go.snap @@ -14,7 +14,6 @@ DescribeImageTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecrpublic/snapshot/api_op_DescribeImages.go.snap b/service/ecrpublic/snapshot/api_op_DescribeImages.go.snap index e782a1b093a..5d4f730f93d 100644 --- a/service/ecrpublic/snapshot/api_op_DescribeImages.go.snap +++ b/service/ecrpublic/snapshot/api_op_DescribeImages.go.snap @@ -14,7 +14,6 @@ DescribeImages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecrpublic/snapshot/api_op_DescribeRegistries.go.snap b/service/ecrpublic/snapshot/api_op_DescribeRegistries.go.snap index 6a0c6c85bf7..7fce85c4acf 100644 --- a/service/ecrpublic/snapshot/api_op_DescribeRegistries.go.snap +++ b/service/ecrpublic/snapshot/api_op_DescribeRegistries.go.snap @@ -13,7 +13,6 @@ DescribeRegistries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecrpublic/snapshot/api_op_DescribeRepositories.go.snap b/service/ecrpublic/snapshot/api_op_DescribeRepositories.go.snap index 918e08dc9d4..988fef1f59c 100644 --- a/service/ecrpublic/snapshot/api_op_DescribeRepositories.go.snap +++ b/service/ecrpublic/snapshot/api_op_DescribeRepositories.go.snap @@ -13,7 +13,6 @@ DescribeRepositories Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecrpublic/snapshot/api_op_GetAuthorizationToken.go.snap b/service/ecrpublic/snapshot/api_op_GetAuthorizationToken.go.snap index 37672b33e59..98d69ef0d93 100644 --- a/service/ecrpublic/snapshot/api_op_GetAuthorizationToken.go.snap +++ b/service/ecrpublic/snapshot/api_op_GetAuthorizationToken.go.snap @@ -13,7 +13,6 @@ GetAuthorizationToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecrpublic/snapshot/api_op_GetRegistryCatalogData.go.snap b/service/ecrpublic/snapshot/api_op_GetRegistryCatalogData.go.snap index a813b6f29a9..b91e3811a5f 100644 --- a/service/ecrpublic/snapshot/api_op_GetRegistryCatalogData.go.snap +++ b/service/ecrpublic/snapshot/api_op_GetRegistryCatalogData.go.snap @@ -13,7 +13,6 @@ GetRegistryCatalogData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecrpublic/snapshot/api_op_GetRepositoryCatalogData.go.snap b/service/ecrpublic/snapshot/api_op_GetRepositoryCatalogData.go.snap index aa18d834cba..5a0d1cf761b 100644 --- a/service/ecrpublic/snapshot/api_op_GetRepositoryCatalogData.go.snap +++ b/service/ecrpublic/snapshot/api_op_GetRepositoryCatalogData.go.snap @@ -14,7 +14,6 @@ GetRepositoryCatalogData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecrpublic/snapshot/api_op_GetRepositoryPolicy.go.snap b/service/ecrpublic/snapshot/api_op_GetRepositoryPolicy.go.snap index 9b478561164..9097dd51bb8 100644 --- a/service/ecrpublic/snapshot/api_op_GetRepositoryPolicy.go.snap +++ b/service/ecrpublic/snapshot/api_op_GetRepositoryPolicy.go.snap @@ -14,7 +14,6 @@ GetRepositoryPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecrpublic/snapshot/api_op_InitiateLayerUpload.go.snap b/service/ecrpublic/snapshot/api_op_InitiateLayerUpload.go.snap index c2d63449a69..913f96fca60 100644 --- a/service/ecrpublic/snapshot/api_op_InitiateLayerUpload.go.snap +++ b/service/ecrpublic/snapshot/api_op_InitiateLayerUpload.go.snap @@ -14,7 +14,6 @@ InitiateLayerUpload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecrpublic/snapshot/api_op_ListTagsForResource.go.snap b/service/ecrpublic/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/ecrpublic/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/ecrpublic/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecrpublic/snapshot/api_op_PutImage.go.snap b/service/ecrpublic/snapshot/api_op_PutImage.go.snap index 98a09e58332..67ee02a58e2 100644 --- a/service/ecrpublic/snapshot/api_op_PutImage.go.snap +++ b/service/ecrpublic/snapshot/api_op_PutImage.go.snap @@ -14,7 +14,6 @@ PutImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecrpublic/snapshot/api_op_PutRegistryCatalogData.go.snap b/service/ecrpublic/snapshot/api_op_PutRegistryCatalogData.go.snap index f75478cda93..1299e849d03 100644 --- a/service/ecrpublic/snapshot/api_op_PutRegistryCatalogData.go.snap +++ b/service/ecrpublic/snapshot/api_op_PutRegistryCatalogData.go.snap @@ -13,7 +13,6 @@ PutRegistryCatalogData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecrpublic/snapshot/api_op_PutRepositoryCatalogData.go.snap b/service/ecrpublic/snapshot/api_op_PutRepositoryCatalogData.go.snap index ebe9eec2b7f..7e8747a6175 100644 --- a/service/ecrpublic/snapshot/api_op_PutRepositoryCatalogData.go.snap +++ b/service/ecrpublic/snapshot/api_op_PutRepositoryCatalogData.go.snap @@ -14,7 +14,6 @@ PutRepositoryCatalogData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecrpublic/snapshot/api_op_SetRepositoryPolicy.go.snap b/service/ecrpublic/snapshot/api_op_SetRepositoryPolicy.go.snap index 8c04a7f15bf..23e7785c7fa 100644 --- a/service/ecrpublic/snapshot/api_op_SetRepositoryPolicy.go.snap +++ b/service/ecrpublic/snapshot/api_op_SetRepositoryPolicy.go.snap @@ -14,7 +14,6 @@ SetRepositoryPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecrpublic/snapshot/api_op_TagResource.go.snap b/service/ecrpublic/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/ecrpublic/snapshot/api_op_TagResource.go.snap +++ b/service/ecrpublic/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecrpublic/snapshot/api_op_UntagResource.go.snap b/service/ecrpublic/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/ecrpublic/snapshot/api_op_UntagResource.go.snap +++ b/service/ecrpublic/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecrpublic/snapshot/api_op_UploadLayerPart.go.snap b/service/ecrpublic/snapshot/api_op_UploadLayerPart.go.snap index 198c4ccc687..bb466264be0 100644 --- a/service/ecrpublic/snapshot/api_op_UploadLayerPart.go.snap +++ b/service/ecrpublic/snapshot/api_op_UploadLayerPart.go.snap @@ -14,7 +14,6 @@ UploadLayerPart Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/api_client.go b/service/ecs/api_client.go index f12d4017be3..9413d51230f 100644 --- a/service/ecs/api_client.go +++ b/service/ecs/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/ecs/api_op_CreateCapacityProvider.go b/service/ecs/api_op_CreateCapacityProvider.go index 898aa6780f0..60a9f5ef082 100644 --- a/service/ecs/api_op_CreateCapacityProvider.go +++ b/service/ecs/api_op_CreateCapacityProvider.go @@ -155,9 +155,6 @@ func (c *Client) addOperationCreateCapacityProviderMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCapacityProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_CreateCluster.go b/service/ecs/api_op_CreateCluster.go index 2f8993a2edc..f08f5df70a1 100644 --- a/service/ecs/api_op_CreateCluster.go +++ b/service/ecs/api_op_CreateCluster.go @@ -215,9 +215,6 @@ func (c *Client) addOperationCreateClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_CreateService.go b/service/ecs/api_op_CreateService.go index e21d6c3c6a6..86568c63385 100644 --- a/service/ecs/api_op_CreateService.go +++ b/service/ecs/api_op_CreateService.go @@ -528,9 +528,6 @@ func (c *Client) addOperationCreateServiceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateServiceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_CreateTaskSet.go b/service/ecs/api_op_CreateTaskSet.go index 99d6559151f..9f7fe6f90ea 100644 --- a/service/ecs/api_op_CreateTaskSet.go +++ b/service/ecs/api_op_CreateTaskSet.go @@ -238,9 +238,6 @@ func (c *Client) addOperationCreateTaskSetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTaskSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DeleteAccountSetting.go b/service/ecs/api_op_DeleteAccountSetting.go index bac570ecd60..8b41400dd43 100644 --- a/service/ecs/api_op_DeleteAccountSetting.go +++ b/service/ecs/api_op_DeleteAccountSetting.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDeleteAccountSettingMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAccountSettingValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DeleteAttributes.go b/service/ecs/api_op_DeleteAttributes.go index 2550b978ef1..8062c085666 100644 --- a/service/ecs/api_op_DeleteAttributes.go +++ b/service/ecs/api_op_DeleteAttributes.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteAttributesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DeleteCapacityProvider.go b/service/ecs/api_op_DeleteCapacityProvider.go index df508c696c0..f026ec17d4c 100644 --- a/service/ecs/api_op_DeleteCapacityProvider.go +++ b/service/ecs/api_op_DeleteCapacityProvider.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDeleteCapacityProviderMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCapacityProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DeleteCluster.go b/service/ecs/api_op_DeleteCluster.go index a6fb3878d82..7b8c15b4023 100644 --- a/service/ecs/api_op_DeleteCluster.go +++ b/service/ecs/api_op_DeleteCluster.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DeleteService.go b/service/ecs/api_op_DeleteService.go index f87b8a68540..9625686c98f 100644 --- a/service/ecs/api_op_DeleteService.go +++ b/service/ecs/api_op_DeleteService.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDeleteServiceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteServiceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DeleteTaskDefinitions.go b/service/ecs/api_op_DeleteTaskDefinitions.go index 805e4f42462..3fdc4ce0911 100644 --- a/service/ecs/api_op_DeleteTaskDefinitions.go +++ b/service/ecs/api_op_DeleteTaskDefinitions.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDeleteTaskDefinitionsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTaskDefinitionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DeleteTaskSet.go b/service/ecs/api_op_DeleteTaskSet.go index 506dd22180a..098197e5337 100644 --- a/service/ecs/api_op_DeleteTaskSet.go +++ b/service/ecs/api_op_DeleteTaskSet.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDeleteTaskSetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTaskSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DeregisterContainerInstance.go b/service/ecs/api_op_DeregisterContainerInstance.go index ca1350eeb3e..16e3435d72c 100644 --- a/service/ecs/api_op_DeregisterContainerInstance.go +++ b/service/ecs/api_op_DeregisterContainerInstance.go @@ -150,9 +150,6 @@ func (c *Client) addOperationDeregisterContainerInstanceMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterContainerInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DeregisterTaskDefinition.go b/service/ecs/api_op_DeregisterTaskDefinition.go index 60ee21b1231..0f74fa9ecdf 100644 --- a/service/ecs/api_op_DeregisterTaskDefinition.go +++ b/service/ecs/api_op_DeregisterTaskDefinition.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDeregisterTaskDefinitionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterTaskDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DescribeCapacityProviders.go b/service/ecs/api_op_DescribeCapacityProviders.go index 7294aaec814..0af3fb64fa2 100644 --- a/service/ecs/api_op_DescribeCapacityProviders.go +++ b/service/ecs/api_op_DescribeCapacityProviders.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDescribeCapacityProvidersMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCapacityProviders(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ecs/api_op_DescribeClusters.go b/service/ecs/api_op_DescribeClusters.go index c9d860fb880..d8e57a2b0e8 100644 --- a/service/ecs/api_op_DescribeClusters.go +++ b/service/ecs/api_op_DescribeClusters.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDescribeClustersMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClusters(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ecs/api_op_DescribeContainerInstances.go b/service/ecs/api_op_DescribeContainerInstances.go index d2fc0b4a15c..87c1b481e29 100644 --- a/service/ecs/api_op_DescribeContainerInstances.go +++ b/service/ecs/api_op_DescribeContainerInstances.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeContainerInstancesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeContainerInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DescribeServiceDeployments.go b/service/ecs/api_op_DescribeServiceDeployments.go index 84736010fe9..b59b32ee4a8 100644 --- a/service/ecs/api_op_DescribeServiceDeployments.go +++ b/service/ecs/api_op_DescribeServiceDeployments.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeServiceDeploymentsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeServiceDeploymentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DescribeServiceRevisions.go b/service/ecs/api_op_DescribeServiceRevisions.go index c23a1310bb7..7ec557f221b 100644 --- a/service/ecs/api_op_DescribeServiceRevisions.go +++ b/service/ecs/api_op_DescribeServiceRevisions.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeServiceRevisionsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeServiceRevisionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DescribeServices.go b/service/ecs/api_op_DescribeServices.go index 16624c05a37..a84b8a45fb5 100644 --- a/service/ecs/api_op_DescribeServices.go +++ b/service/ecs/api_op_DescribeServices.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeServicesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeServicesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DescribeTaskDefinition.go b/service/ecs/api_op_DescribeTaskDefinition.go index 2d10d69c9f8..8739cee2707 100644 --- a/service/ecs/api_op_DescribeTaskDefinition.go +++ b/service/ecs/api_op_DescribeTaskDefinition.go @@ -152,9 +152,6 @@ func (c *Client) addOperationDescribeTaskDefinitionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTaskDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DescribeTaskSets.go b/service/ecs/api_op_DescribeTaskSets.go index 2e89248eb05..ac4706ab706 100644 --- a/service/ecs/api_op_DescribeTaskSets.go +++ b/service/ecs/api_op_DescribeTaskSets.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeTaskSetsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTaskSetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DescribeTasks.go b/service/ecs/api_op_DescribeTasks.go index fc4086abb6b..53e924198d3 100644 --- a/service/ecs/api_op_DescribeTasks.go +++ b/service/ecs/api_op_DescribeTasks.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDescribeTasksMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTasksValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_DiscoverPollEndpoint.go b/service/ecs/api_op_DiscoverPollEndpoint.go index a9989534706..1890814c114 100644 --- a/service/ecs/api_op_DiscoverPollEndpoint.go +++ b/service/ecs/api_op_DiscoverPollEndpoint.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDiscoverPollEndpointMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDiscoverPollEndpoint(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ecs/api_op_ExecuteCommand.go b/service/ecs/api_op_ExecuteCommand.go index c2b18653d69..1ad97aee6e0 100644 --- a/service/ecs/api_op_ExecuteCommand.go +++ b/service/ecs/api_op_ExecuteCommand.go @@ -158,9 +158,6 @@ func (c *Client) addOperationExecuteCommandMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExecuteCommandValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_GetTaskProtection.go b/service/ecs/api_op_GetTaskProtection.go index 784e66e56e6..cc23bfaadd8 100644 --- a/service/ecs/api_op_GetTaskProtection.go +++ b/service/ecs/api_op_GetTaskProtection.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetTaskProtectionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTaskProtectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_ListAccountSettings.go b/service/ecs/api_op_ListAccountSettings.go index 6ffc67ed232..71d5a1fe499 100644 --- a/service/ecs/api_op_ListAccountSettings.go +++ b/service/ecs/api_op_ListAccountSettings.go @@ -153,9 +153,6 @@ func (c *Client) addOperationListAccountSettingsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccountSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ecs/api_op_ListAttributes.go b/service/ecs/api_op_ListAttributes.go index d28b6fa2a5e..6eb4b0773c3 100644 --- a/service/ecs/api_op_ListAttributes.go +++ b/service/ecs/api_op_ListAttributes.go @@ -153,9 +153,6 @@ func (c *Client) addOperationListAttributesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_ListClusters.go b/service/ecs/api_op_ListClusters.go index 687bfb0fa6c..d712b4dcee0 100644 --- a/service/ecs/api_op_ListClusters.go +++ b/service/ecs/api_op_ListClusters.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListClustersMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListClusters(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ecs/api_op_ListContainerInstances.go b/service/ecs/api_op_ListContainerInstances.go index d31f5d3d99d..710350444f5 100644 --- a/service/ecs/api_op_ListContainerInstances.go +++ b/service/ecs/api_op_ListContainerInstances.go @@ -158,9 +158,6 @@ func (c *Client) addOperationListContainerInstancesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListContainerInstances(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ecs/api_op_ListServiceDeployments.go b/service/ecs/api_op_ListServiceDeployments.go index b6a5958a39d..73526da1887 100644 --- a/service/ecs/api_op_ListServiceDeployments.go +++ b/service/ecs/api_op_ListServiceDeployments.go @@ -175,9 +175,6 @@ func (c *Client) addOperationListServiceDeploymentsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListServiceDeploymentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_ListServices.go b/service/ecs/api_op_ListServices.go index 3b9303a617e..73c5d845603 100644 --- a/service/ecs/api_op_ListServices.go +++ b/service/ecs/api_op_ListServices.go @@ -144,9 +144,6 @@ func (c *Client) addOperationListServicesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServices(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ecs/api_op_ListServicesByNamespace.go b/service/ecs/api_op_ListServicesByNamespace.go index c99d2bf9ffd..6694b5b4f03 100644 --- a/service/ecs/api_op_ListServicesByNamespace.go +++ b/service/ecs/api_op_ListServicesByNamespace.go @@ -151,9 +151,6 @@ func (c *Client) addOperationListServicesByNamespaceMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListServicesByNamespaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_ListTagsForResource.go b/service/ecs/api_op_ListTagsForResource.go index 33b106eb29b..9147c3d756b 100644 --- a/service/ecs/api_op_ListTagsForResource.go +++ b/service/ecs/api_op_ListTagsForResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_ListTaskDefinitionFamilies.go b/service/ecs/api_op_ListTaskDefinitionFamilies.go index a7d5f60f55a..fec541e39fd 100644 --- a/service/ecs/api_op_ListTaskDefinitionFamilies.go +++ b/service/ecs/api_op_ListTaskDefinitionFamilies.go @@ -153,9 +153,6 @@ func (c *Client) addOperationListTaskDefinitionFamiliesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTaskDefinitionFamilies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ecs/api_op_ListTaskDefinitions.go b/service/ecs/api_op_ListTaskDefinitions.go index ee215a7b012..f1cd9e8a47c 100644 --- a/service/ecs/api_op_ListTaskDefinitions.go +++ b/service/ecs/api_op_ListTaskDefinitions.go @@ -155,9 +155,6 @@ func (c *Client) addOperationListTaskDefinitionsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTaskDefinitions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ecs/api_op_ListTasks.go b/service/ecs/api_op_ListTasks.go index 8139b5b2ac3..1e2f326881e 100644 --- a/service/ecs/api_op_ListTasks.go +++ b/service/ecs/api_op_ListTasks.go @@ -176,9 +176,6 @@ func (c *Client) addOperationListTasksMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTasks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ecs/api_op_PutAccountSetting.go b/service/ecs/api_op_PutAccountSetting.go index 725f67ebc16..02bcf1bf50f 100644 --- a/service/ecs/api_op_PutAccountSetting.go +++ b/service/ecs/api_op_PutAccountSetting.go @@ -235,9 +235,6 @@ func (c *Client) addOperationPutAccountSettingMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutAccountSettingValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_PutAccountSettingDefault.go b/service/ecs/api_op_PutAccountSettingDefault.go index 49d16c28ea6..862e2b29d03 100644 --- a/service/ecs/api_op_PutAccountSettingDefault.go +++ b/service/ecs/api_op_PutAccountSettingDefault.go @@ -216,9 +216,6 @@ func (c *Client) addOperationPutAccountSettingDefaultMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutAccountSettingDefaultValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_PutAttributes.go b/service/ecs/api_op_PutAttributes.go index 36b51b801a0..fd884a2b791 100644 --- a/service/ecs/api_op_PutAttributes.go +++ b/service/ecs/api_op_PutAttributes.go @@ -125,9 +125,6 @@ func (c *Client) addOperationPutAttributesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_PutClusterCapacityProviders.go b/service/ecs/api_op_PutClusterCapacityProviders.go index 480e626aaa6..8615ead0dce 100644 --- a/service/ecs/api_op_PutClusterCapacityProviders.go +++ b/service/ecs/api_op_PutClusterCapacityProviders.go @@ -172,9 +172,6 @@ func (c *Client) addOperationPutClusterCapacityProvidersMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutClusterCapacityProvidersValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_RegisterContainerInstance.go b/service/ecs/api_op_RegisterContainerInstance.go index 85bfe481aa4..c94baf04a6e 100644 --- a/service/ecs/api_op_RegisterContainerInstance.go +++ b/service/ecs/api_op_RegisterContainerInstance.go @@ -171,9 +171,6 @@ func (c *Client) addOperationRegisterContainerInstanceMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterContainerInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_RegisterTaskDefinition.go b/service/ecs/api_op_RegisterTaskDefinition.go index 524e091a7eb..9133d2f177e 100644 --- a/service/ecs/api_op_RegisterTaskDefinition.go +++ b/service/ecs/api_op_RegisterTaskDefinition.go @@ -414,9 +414,6 @@ func (c *Client) addOperationRegisterTaskDefinitionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterTaskDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_RunTask.go b/service/ecs/api_op_RunTask.go index f6e4cb40d51..8a10fd153b0 100644 --- a/service/ecs/api_op_RunTask.go +++ b/service/ecs/api_op_RunTask.go @@ -354,9 +354,6 @@ func (c *Client) addOperationRunTaskMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opRunTaskMiddleware(stack, options); err != nil { return err } diff --git a/service/ecs/api_op_StartTask.go b/service/ecs/api_op_StartTask.go index 822971357ff..64e4584fe3a 100644 --- a/service/ecs/api_op_StartTask.go +++ b/service/ecs/api_op_StartTask.go @@ -232,9 +232,6 @@ func (c *Client) addOperationStartTaskMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_StopTask.go b/service/ecs/api_op_StopTask.go index c002981fde0..3bb7683b8b7 100644 --- a/service/ecs/api_op_StopTask.go +++ b/service/ecs/api_op_StopTask.go @@ -142,9 +142,6 @@ func (c *Client) addOperationStopTaskMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_SubmitAttachmentStateChanges.go b/service/ecs/api_op_SubmitAttachmentStateChanges.go index 0a9f25c3510..90f01ca7ef3 100644 --- a/service/ecs/api_op_SubmitAttachmentStateChanges.go +++ b/service/ecs/api_op_SubmitAttachmentStateChanges.go @@ -119,9 +119,6 @@ func (c *Client) addOperationSubmitAttachmentStateChangesMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSubmitAttachmentStateChangesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_SubmitContainerStateChange.go b/service/ecs/api_op_SubmitContainerStateChange.go index fa31f600986..2c89d8a7ce6 100644 --- a/service/ecs/api_op_SubmitContainerStateChange.go +++ b/service/ecs/api_op_SubmitContainerStateChange.go @@ -135,9 +135,6 @@ func (c *Client) addOperationSubmitContainerStateChangeMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSubmitContainerStateChange(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ecs/api_op_SubmitTaskStateChange.go b/service/ecs/api_op_SubmitTaskStateChange.go index d840c520a93..649e3720a7e 100644 --- a/service/ecs/api_op_SubmitTaskStateChange.go +++ b/service/ecs/api_op_SubmitTaskStateChange.go @@ -142,9 +142,6 @@ func (c *Client) addOperationSubmitTaskStateChangeMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSubmitTaskStateChangeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_TagResource.go b/service/ecs/api_op_TagResource.go index b0863fc720c..8bfef40ffed 100644 --- a/service/ecs/api_op_TagResource.go +++ b/service/ecs/api_op_TagResource.go @@ -157,9 +157,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_UntagResource.go b/service/ecs/api_op_UntagResource.go index da1351bdbc1..2d91201072d 100644 --- a/service/ecs/api_op_UntagResource.go +++ b/service/ecs/api_op_UntagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_UpdateCapacityProvider.go b/service/ecs/api_op_UpdateCapacityProvider.go index 70f0790335f..aa3d90841ec 100644 --- a/service/ecs/api_op_UpdateCapacityProvider.go +++ b/service/ecs/api_op_UpdateCapacityProvider.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateCapacityProviderMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCapacityProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_UpdateCluster.go b/service/ecs/api_op_UpdateCluster.go index 6fb38428d96..b4eade5fe63 100644 --- a/service/ecs/api_op_UpdateCluster.go +++ b/service/ecs/api_op_UpdateCluster.go @@ -136,9 +136,6 @@ func (c *Client) addOperationUpdateClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_UpdateClusterSettings.go b/service/ecs/api_op_UpdateClusterSettings.go index 76c69384a3c..1b35dd40c02 100644 --- a/service/ecs/api_op_UpdateClusterSettings.go +++ b/service/ecs/api_op_UpdateClusterSettings.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateClusterSettingsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateClusterSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_UpdateContainerAgent.go b/service/ecs/api_op_UpdateContainerAgent.go index df6b96be746..f65c195fefe 100644 --- a/service/ecs/api_op_UpdateContainerAgent.go +++ b/service/ecs/api_op_UpdateContainerAgent.go @@ -139,9 +139,6 @@ func (c *Client) addOperationUpdateContainerAgentMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateContainerAgentValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_UpdateContainerInstancesState.go b/service/ecs/api_op_UpdateContainerInstancesState.go index f02f25e2172..3b62608b71f 100644 --- a/service/ecs/api_op_UpdateContainerInstancesState.go +++ b/service/ecs/api_op_UpdateContainerInstancesState.go @@ -180,9 +180,6 @@ func (c *Client) addOperationUpdateContainerInstancesStateMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateContainerInstancesStateValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_UpdateService.go b/service/ecs/api_op_UpdateService.go index d664a00c038..3dd5e491dec 100644 --- a/service/ecs/api_op_UpdateService.go +++ b/service/ecs/api_op_UpdateService.go @@ -437,9 +437,6 @@ func (c *Client) addOperationUpdateServiceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateServiceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_UpdateServicePrimaryTaskSet.go b/service/ecs/api_op_UpdateServicePrimaryTaskSet.go index 2505d76ee08..abfd27524a6 100644 --- a/service/ecs/api_op_UpdateServicePrimaryTaskSet.go +++ b/service/ecs/api_op_UpdateServicePrimaryTaskSet.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateServicePrimaryTaskSetMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateServicePrimaryTaskSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_UpdateTaskProtection.go b/service/ecs/api_op_UpdateTaskProtection.go index 1cf5c8a8f8f..0be834bfd17 100644 --- a/service/ecs/api_op_UpdateTaskProtection.go +++ b/service/ecs/api_op_UpdateTaskProtection.go @@ -173,9 +173,6 @@ func (c *Client) addOperationUpdateTaskProtectionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTaskProtectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/api_op_UpdateTaskSet.go b/service/ecs/api_op_UpdateTaskSet.go index 82f37b8336b..011535edec3 100644 --- a/service/ecs/api_op_UpdateTaskSet.go +++ b/service/ecs/api_op_UpdateTaskSet.go @@ -134,9 +134,6 @@ func (c *Client) addOperationUpdateTaskSetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTaskSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ecs/snapshot/api_op_CreateCapacityProvider.go.snap b/service/ecs/snapshot/api_op_CreateCapacityProvider.go.snap index 1591ff9ea89..4722989ca90 100644 --- a/service/ecs/snapshot/api_op_CreateCapacityProvider.go.snap +++ b/service/ecs/snapshot/api_op_CreateCapacityProvider.go.snap @@ -14,7 +14,6 @@ CreateCapacityProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_CreateCluster.go.snap b/service/ecs/snapshot/api_op_CreateCluster.go.snap index 1ee274e1f6c..03ac0c0d2e6 100644 --- a/service/ecs/snapshot/api_op_CreateCluster.go.snap +++ b/service/ecs/snapshot/api_op_CreateCluster.go.snap @@ -14,7 +14,6 @@ CreateCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_CreateService.go.snap b/service/ecs/snapshot/api_op_CreateService.go.snap index 5255cb082a9..538fa6b4f3b 100644 --- a/service/ecs/snapshot/api_op_CreateService.go.snap +++ b/service/ecs/snapshot/api_op_CreateService.go.snap @@ -14,7 +14,6 @@ CreateService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_CreateTaskSet.go.snap b/service/ecs/snapshot/api_op_CreateTaskSet.go.snap index 8e686dc9873..6b4ed629fe8 100644 --- a/service/ecs/snapshot/api_op_CreateTaskSet.go.snap +++ b/service/ecs/snapshot/api_op_CreateTaskSet.go.snap @@ -14,7 +14,6 @@ CreateTaskSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_DeleteAccountSetting.go.snap b/service/ecs/snapshot/api_op_DeleteAccountSetting.go.snap index 1c678b83119..967da24dde3 100644 --- a/service/ecs/snapshot/api_op_DeleteAccountSetting.go.snap +++ b/service/ecs/snapshot/api_op_DeleteAccountSetting.go.snap @@ -14,7 +14,6 @@ DeleteAccountSetting Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_DeleteAttributes.go.snap b/service/ecs/snapshot/api_op_DeleteAttributes.go.snap index 7e09887d627..5872715ae6b 100644 --- a/service/ecs/snapshot/api_op_DeleteAttributes.go.snap +++ b/service/ecs/snapshot/api_op_DeleteAttributes.go.snap @@ -14,7 +14,6 @@ DeleteAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_DeleteCapacityProvider.go.snap b/service/ecs/snapshot/api_op_DeleteCapacityProvider.go.snap index e3e2bec3100..53b7577c136 100644 --- a/service/ecs/snapshot/api_op_DeleteCapacityProvider.go.snap +++ b/service/ecs/snapshot/api_op_DeleteCapacityProvider.go.snap @@ -14,7 +14,6 @@ DeleteCapacityProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_DeleteCluster.go.snap b/service/ecs/snapshot/api_op_DeleteCluster.go.snap index 8eeb23b33c5..9df5248d4d6 100644 --- a/service/ecs/snapshot/api_op_DeleteCluster.go.snap +++ b/service/ecs/snapshot/api_op_DeleteCluster.go.snap @@ -14,7 +14,6 @@ DeleteCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_DeleteService.go.snap b/service/ecs/snapshot/api_op_DeleteService.go.snap index 0ca8d33ca7c..b57f6142373 100644 --- a/service/ecs/snapshot/api_op_DeleteService.go.snap +++ b/service/ecs/snapshot/api_op_DeleteService.go.snap @@ -14,7 +14,6 @@ DeleteService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_DeleteTaskDefinitions.go.snap b/service/ecs/snapshot/api_op_DeleteTaskDefinitions.go.snap index 19f778c689c..8845ff48d0f 100644 --- a/service/ecs/snapshot/api_op_DeleteTaskDefinitions.go.snap +++ b/service/ecs/snapshot/api_op_DeleteTaskDefinitions.go.snap @@ -14,7 +14,6 @@ DeleteTaskDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_DeleteTaskSet.go.snap b/service/ecs/snapshot/api_op_DeleteTaskSet.go.snap index bce52def6ca..4755202896f 100644 --- a/service/ecs/snapshot/api_op_DeleteTaskSet.go.snap +++ b/service/ecs/snapshot/api_op_DeleteTaskSet.go.snap @@ -14,7 +14,6 @@ DeleteTaskSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_DeregisterContainerInstance.go.snap b/service/ecs/snapshot/api_op_DeregisterContainerInstance.go.snap index 725546c4753..d6abe28d3c5 100644 --- a/service/ecs/snapshot/api_op_DeregisterContainerInstance.go.snap +++ b/service/ecs/snapshot/api_op_DeregisterContainerInstance.go.snap @@ -14,7 +14,6 @@ DeregisterContainerInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_DeregisterTaskDefinition.go.snap b/service/ecs/snapshot/api_op_DeregisterTaskDefinition.go.snap index 577a8553c32..96a9292421e 100644 --- a/service/ecs/snapshot/api_op_DeregisterTaskDefinition.go.snap +++ b/service/ecs/snapshot/api_op_DeregisterTaskDefinition.go.snap @@ -14,7 +14,6 @@ DeregisterTaskDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_DescribeCapacityProviders.go.snap b/service/ecs/snapshot/api_op_DescribeCapacityProviders.go.snap index 7993c103760..912f666c799 100644 --- a/service/ecs/snapshot/api_op_DescribeCapacityProviders.go.snap +++ b/service/ecs/snapshot/api_op_DescribeCapacityProviders.go.snap @@ -13,7 +13,6 @@ DescribeCapacityProviders Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_DescribeClusters.go.snap b/service/ecs/snapshot/api_op_DescribeClusters.go.snap index f52d125d54e..bfa7d3b3625 100644 --- a/service/ecs/snapshot/api_op_DescribeClusters.go.snap +++ b/service/ecs/snapshot/api_op_DescribeClusters.go.snap @@ -13,7 +13,6 @@ DescribeClusters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_DescribeContainerInstances.go.snap b/service/ecs/snapshot/api_op_DescribeContainerInstances.go.snap index 8ebe1cef3e3..c17eea3f550 100644 --- a/service/ecs/snapshot/api_op_DescribeContainerInstances.go.snap +++ b/service/ecs/snapshot/api_op_DescribeContainerInstances.go.snap @@ -14,7 +14,6 @@ DescribeContainerInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_DescribeServiceDeployments.go.snap b/service/ecs/snapshot/api_op_DescribeServiceDeployments.go.snap index 5ae39494155..509023fad67 100644 --- a/service/ecs/snapshot/api_op_DescribeServiceDeployments.go.snap +++ b/service/ecs/snapshot/api_op_DescribeServiceDeployments.go.snap @@ -14,7 +14,6 @@ DescribeServiceDeployments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_DescribeServiceRevisions.go.snap b/service/ecs/snapshot/api_op_DescribeServiceRevisions.go.snap index e3e1b32f66e..2359aa0fa14 100644 --- a/service/ecs/snapshot/api_op_DescribeServiceRevisions.go.snap +++ b/service/ecs/snapshot/api_op_DescribeServiceRevisions.go.snap @@ -14,7 +14,6 @@ DescribeServiceRevisions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_DescribeServices.go.snap b/service/ecs/snapshot/api_op_DescribeServices.go.snap index 0cbdc26b376..88945c092b9 100644 --- a/service/ecs/snapshot/api_op_DescribeServices.go.snap +++ b/service/ecs/snapshot/api_op_DescribeServices.go.snap @@ -14,7 +14,6 @@ DescribeServices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_DescribeTaskDefinition.go.snap b/service/ecs/snapshot/api_op_DescribeTaskDefinition.go.snap index f7b61c9e192..045e2daeb07 100644 --- a/service/ecs/snapshot/api_op_DescribeTaskDefinition.go.snap +++ b/service/ecs/snapshot/api_op_DescribeTaskDefinition.go.snap @@ -14,7 +14,6 @@ DescribeTaskDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_DescribeTaskSets.go.snap b/service/ecs/snapshot/api_op_DescribeTaskSets.go.snap index 58d1e121ac0..df509193fb2 100644 --- a/service/ecs/snapshot/api_op_DescribeTaskSets.go.snap +++ b/service/ecs/snapshot/api_op_DescribeTaskSets.go.snap @@ -14,7 +14,6 @@ DescribeTaskSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_DescribeTasks.go.snap b/service/ecs/snapshot/api_op_DescribeTasks.go.snap index a96da71ae78..6a0437ecd75 100644 --- a/service/ecs/snapshot/api_op_DescribeTasks.go.snap +++ b/service/ecs/snapshot/api_op_DescribeTasks.go.snap @@ -14,7 +14,6 @@ DescribeTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_DiscoverPollEndpoint.go.snap b/service/ecs/snapshot/api_op_DiscoverPollEndpoint.go.snap index c9bf7b01449..7787b33e549 100644 --- a/service/ecs/snapshot/api_op_DiscoverPollEndpoint.go.snap +++ b/service/ecs/snapshot/api_op_DiscoverPollEndpoint.go.snap @@ -13,7 +13,6 @@ DiscoverPollEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_ExecuteCommand.go.snap b/service/ecs/snapshot/api_op_ExecuteCommand.go.snap index 4df05f2a949..740c67408b5 100644 --- a/service/ecs/snapshot/api_op_ExecuteCommand.go.snap +++ b/service/ecs/snapshot/api_op_ExecuteCommand.go.snap @@ -14,7 +14,6 @@ ExecuteCommand Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_GetTaskProtection.go.snap b/service/ecs/snapshot/api_op_GetTaskProtection.go.snap index 27a8519c790..0c5923050ae 100644 --- a/service/ecs/snapshot/api_op_GetTaskProtection.go.snap +++ b/service/ecs/snapshot/api_op_GetTaskProtection.go.snap @@ -14,7 +14,6 @@ GetTaskProtection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_ListAccountSettings.go.snap b/service/ecs/snapshot/api_op_ListAccountSettings.go.snap index 8edfdaafca2..9d4f34b13ad 100644 --- a/service/ecs/snapshot/api_op_ListAccountSettings.go.snap +++ b/service/ecs/snapshot/api_op_ListAccountSettings.go.snap @@ -13,7 +13,6 @@ ListAccountSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_ListAttributes.go.snap b/service/ecs/snapshot/api_op_ListAttributes.go.snap index b5e1a79e3e1..be996747213 100644 --- a/service/ecs/snapshot/api_op_ListAttributes.go.snap +++ b/service/ecs/snapshot/api_op_ListAttributes.go.snap @@ -14,7 +14,6 @@ ListAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_ListClusters.go.snap b/service/ecs/snapshot/api_op_ListClusters.go.snap index 48cbced5e1f..949fd968ca2 100644 --- a/service/ecs/snapshot/api_op_ListClusters.go.snap +++ b/service/ecs/snapshot/api_op_ListClusters.go.snap @@ -13,7 +13,6 @@ ListClusters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_ListContainerInstances.go.snap b/service/ecs/snapshot/api_op_ListContainerInstances.go.snap index 86fc3e416d7..4d9bc74032b 100644 --- a/service/ecs/snapshot/api_op_ListContainerInstances.go.snap +++ b/service/ecs/snapshot/api_op_ListContainerInstances.go.snap @@ -13,7 +13,6 @@ ListContainerInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_ListServiceDeployments.go.snap b/service/ecs/snapshot/api_op_ListServiceDeployments.go.snap index ff48df0caf1..764351fdd77 100644 --- a/service/ecs/snapshot/api_op_ListServiceDeployments.go.snap +++ b/service/ecs/snapshot/api_op_ListServiceDeployments.go.snap @@ -14,7 +14,6 @@ ListServiceDeployments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_ListServices.go.snap b/service/ecs/snapshot/api_op_ListServices.go.snap index 6f09c01d3f4..3cc1a93f1f2 100644 --- a/service/ecs/snapshot/api_op_ListServices.go.snap +++ b/service/ecs/snapshot/api_op_ListServices.go.snap @@ -13,7 +13,6 @@ ListServices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_ListServicesByNamespace.go.snap b/service/ecs/snapshot/api_op_ListServicesByNamespace.go.snap index bcd3e69dc63..27ee6aa67e0 100644 --- a/service/ecs/snapshot/api_op_ListServicesByNamespace.go.snap +++ b/service/ecs/snapshot/api_op_ListServicesByNamespace.go.snap @@ -14,7 +14,6 @@ ListServicesByNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_ListTagsForResource.go.snap b/service/ecs/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/ecs/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/ecs/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_ListTaskDefinitionFamilies.go.snap b/service/ecs/snapshot/api_op_ListTaskDefinitionFamilies.go.snap index 62db87c25be..580e780682a 100644 --- a/service/ecs/snapshot/api_op_ListTaskDefinitionFamilies.go.snap +++ b/service/ecs/snapshot/api_op_ListTaskDefinitionFamilies.go.snap @@ -13,7 +13,6 @@ ListTaskDefinitionFamilies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_ListTaskDefinitions.go.snap b/service/ecs/snapshot/api_op_ListTaskDefinitions.go.snap index 920658c72f9..c4d8c0da911 100644 --- a/service/ecs/snapshot/api_op_ListTaskDefinitions.go.snap +++ b/service/ecs/snapshot/api_op_ListTaskDefinitions.go.snap @@ -13,7 +13,6 @@ ListTaskDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_ListTasks.go.snap b/service/ecs/snapshot/api_op_ListTasks.go.snap index ba0c48472f0..0665babbc32 100644 --- a/service/ecs/snapshot/api_op_ListTasks.go.snap +++ b/service/ecs/snapshot/api_op_ListTasks.go.snap @@ -13,7 +13,6 @@ ListTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_PutAccountSetting.go.snap b/service/ecs/snapshot/api_op_PutAccountSetting.go.snap index 241a47e38a9..e1e1fc0e990 100644 --- a/service/ecs/snapshot/api_op_PutAccountSetting.go.snap +++ b/service/ecs/snapshot/api_op_PutAccountSetting.go.snap @@ -14,7 +14,6 @@ PutAccountSetting Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_PutAccountSettingDefault.go.snap b/service/ecs/snapshot/api_op_PutAccountSettingDefault.go.snap index 7283aef407b..f98525a0498 100644 --- a/service/ecs/snapshot/api_op_PutAccountSettingDefault.go.snap +++ b/service/ecs/snapshot/api_op_PutAccountSettingDefault.go.snap @@ -14,7 +14,6 @@ PutAccountSettingDefault Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_PutAttributes.go.snap b/service/ecs/snapshot/api_op_PutAttributes.go.snap index d0c93476ef2..eef840b5f59 100644 --- a/service/ecs/snapshot/api_op_PutAttributes.go.snap +++ b/service/ecs/snapshot/api_op_PutAttributes.go.snap @@ -14,7 +14,6 @@ PutAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_PutClusterCapacityProviders.go.snap b/service/ecs/snapshot/api_op_PutClusterCapacityProviders.go.snap index ce651033167..e3618cc7af9 100644 --- a/service/ecs/snapshot/api_op_PutClusterCapacityProviders.go.snap +++ b/service/ecs/snapshot/api_op_PutClusterCapacityProviders.go.snap @@ -14,7 +14,6 @@ PutClusterCapacityProviders Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_RegisterContainerInstance.go.snap b/service/ecs/snapshot/api_op_RegisterContainerInstance.go.snap index f64f35981ce..60bb1d1572b 100644 --- a/service/ecs/snapshot/api_op_RegisterContainerInstance.go.snap +++ b/service/ecs/snapshot/api_op_RegisterContainerInstance.go.snap @@ -14,7 +14,6 @@ RegisterContainerInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_RegisterTaskDefinition.go.snap b/service/ecs/snapshot/api_op_RegisterTaskDefinition.go.snap index 9a3b0931338..a53f549dc2a 100644 --- a/service/ecs/snapshot/api_op_RegisterTaskDefinition.go.snap +++ b/service/ecs/snapshot/api_op_RegisterTaskDefinition.go.snap @@ -14,7 +14,6 @@ RegisterTaskDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_RunTask.go.snap b/service/ecs/snapshot/api_op_RunTask.go.snap index 37cb5d16b00..cab56cde587 100644 --- a/service/ecs/snapshot/api_op_RunTask.go.snap +++ b/service/ecs/snapshot/api_op_RunTask.go.snap @@ -15,7 +15,6 @@ RunTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_StartTask.go.snap b/service/ecs/snapshot/api_op_StartTask.go.snap index 81669001c3b..249b9b78b6e 100644 --- a/service/ecs/snapshot/api_op_StartTask.go.snap +++ b/service/ecs/snapshot/api_op_StartTask.go.snap @@ -14,7 +14,6 @@ StartTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_StopTask.go.snap b/service/ecs/snapshot/api_op_StopTask.go.snap index 8c7d2d70ff5..7a5d0cd8ed1 100644 --- a/service/ecs/snapshot/api_op_StopTask.go.snap +++ b/service/ecs/snapshot/api_op_StopTask.go.snap @@ -14,7 +14,6 @@ StopTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_SubmitAttachmentStateChanges.go.snap b/service/ecs/snapshot/api_op_SubmitAttachmentStateChanges.go.snap index 260505bd3a3..5cc8c40a8d3 100644 --- a/service/ecs/snapshot/api_op_SubmitAttachmentStateChanges.go.snap +++ b/service/ecs/snapshot/api_op_SubmitAttachmentStateChanges.go.snap @@ -14,7 +14,6 @@ SubmitAttachmentStateChanges Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_SubmitContainerStateChange.go.snap b/service/ecs/snapshot/api_op_SubmitContainerStateChange.go.snap index 0cf112490f9..3a7bf689d6a 100644 --- a/service/ecs/snapshot/api_op_SubmitContainerStateChange.go.snap +++ b/service/ecs/snapshot/api_op_SubmitContainerStateChange.go.snap @@ -13,7 +13,6 @@ SubmitContainerStateChange Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_SubmitTaskStateChange.go.snap b/service/ecs/snapshot/api_op_SubmitTaskStateChange.go.snap index 4de85a33be8..603534c9faa 100644 --- a/service/ecs/snapshot/api_op_SubmitTaskStateChange.go.snap +++ b/service/ecs/snapshot/api_op_SubmitTaskStateChange.go.snap @@ -14,7 +14,6 @@ SubmitTaskStateChange Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_TagResource.go.snap b/service/ecs/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/ecs/snapshot/api_op_TagResource.go.snap +++ b/service/ecs/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_UntagResource.go.snap b/service/ecs/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/ecs/snapshot/api_op_UntagResource.go.snap +++ b/service/ecs/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_UpdateCapacityProvider.go.snap b/service/ecs/snapshot/api_op_UpdateCapacityProvider.go.snap index c1620d6ccfb..5f9d63742be 100644 --- a/service/ecs/snapshot/api_op_UpdateCapacityProvider.go.snap +++ b/service/ecs/snapshot/api_op_UpdateCapacityProvider.go.snap @@ -14,7 +14,6 @@ UpdateCapacityProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_UpdateCluster.go.snap b/service/ecs/snapshot/api_op_UpdateCluster.go.snap index 9ff96b83973..babe61a8cd3 100644 --- a/service/ecs/snapshot/api_op_UpdateCluster.go.snap +++ b/service/ecs/snapshot/api_op_UpdateCluster.go.snap @@ -14,7 +14,6 @@ UpdateCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_UpdateClusterSettings.go.snap b/service/ecs/snapshot/api_op_UpdateClusterSettings.go.snap index ca33b4aa674..af93cfb8f78 100644 --- a/service/ecs/snapshot/api_op_UpdateClusterSettings.go.snap +++ b/service/ecs/snapshot/api_op_UpdateClusterSettings.go.snap @@ -14,7 +14,6 @@ UpdateClusterSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_UpdateContainerAgent.go.snap b/service/ecs/snapshot/api_op_UpdateContainerAgent.go.snap index e2f50441e0f..cf8e2dd7ed9 100644 --- a/service/ecs/snapshot/api_op_UpdateContainerAgent.go.snap +++ b/service/ecs/snapshot/api_op_UpdateContainerAgent.go.snap @@ -14,7 +14,6 @@ UpdateContainerAgent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_UpdateContainerInstancesState.go.snap b/service/ecs/snapshot/api_op_UpdateContainerInstancesState.go.snap index 998d8281066..29c14032f78 100644 --- a/service/ecs/snapshot/api_op_UpdateContainerInstancesState.go.snap +++ b/service/ecs/snapshot/api_op_UpdateContainerInstancesState.go.snap @@ -14,7 +14,6 @@ UpdateContainerInstancesState Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_UpdateService.go.snap b/service/ecs/snapshot/api_op_UpdateService.go.snap index 813a9e72802..bf0abbe4b1a 100644 --- a/service/ecs/snapshot/api_op_UpdateService.go.snap +++ b/service/ecs/snapshot/api_op_UpdateService.go.snap @@ -14,7 +14,6 @@ UpdateService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_UpdateServicePrimaryTaskSet.go.snap b/service/ecs/snapshot/api_op_UpdateServicePrimaryTaskSet.go.snap index c7dc2188b85..cf99bbf2030 100644 --- a/service/ecs/snapshot/api_op_UpdateServicePrimaryTaskSet.go.snap +++ b/service/ecs/snapshot/api_op_UpdateServicePrimaryTaskSet.go.snap @@ -14,7 +14,6 @@ UpdateServicePrimaryTaskSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_UpdateTaskProtection.go.snap b/service/ecs/snapshot/api_op_UpdateTaskProtection.go.snap index c1d4554343e..9f607ef04b2 100644 --- a/service/ecs/snapshot/api_op_UpdateTaskProtection.go.snap +++ b/service/ecs/snapshot/api_op_UpdateTaskProtection.go.snap @@ -14,7 +14,6 @@ UpdateTaskProtection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ecs/snapshot/api_op_UpdateTaskSet.go.snap b/service/ecs/snapshot/api_op_UpdateTaskSet.go.snap index d90e3d43279..89700376569 100644 --- a/service/ecs/snapshot/api_op_UpdateTaskSet.go.snap +++ b/service/ecs/snapshot/api_op_UpdateTaskSet.go.snap @@ -14,7 +14,6 @@ UpdateTaskSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/efs/api_client.go b/service/efs/api_client.go index 7997c2c138b..fea25e6f99b 100644 --- a/service/efs/api_client.go +++ b/service/efs/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/efs/api_op_CreateAccessPoint.go b/service/efs/api_op_CreateAccessPoint.go index 4dddc67a8f8..a8794d11a50 100644 --- a/service/efs/api_op_CreateAccessPoint.go +++ b/service/efs/api_op_CreateAccessPoint.go @@ -197,9 +197,6 @@ func (c *Client) addOperationCreateAccessPointMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAccessPointMiddleware(stack, options); err != nil { return err } diff --git a/service/efs/api_op_CreateFileSystem.go b/service/efs/api_op_CreateFileSystem.go index f0cdab9363d..da16698d32b 100644 --- a/service/efs/api_op_CreateFileSystem.go +++ b/service/efs/api_op_CreateFileSystem.go @@ -369,9 +369,6 @@ func (c *Client) addOperationCreateFileSystemMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateFileSystemMiddleware(stack, options); err != nil { return err } diff --git a/service/efs/api_op_CreateMountTarget.go b/service/efs/api_op_CreateMountTarget.go index 3cb0fb1697c..6c31af2cc0a 100644 --- a/service/efs/api_op_CreateMountTarget.go +++ b/service/efs/api_op_CreateMountTarget.go @@ -274,9 +274,6 @@ func (c *Client) addOperationCreateMountTargetMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateMountTargetValidationMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_CreateReplicationConfiguration.go b/service/efs/api_op_CreateReplicationConfiguration.go index ff7f6432d1b..71090b04f27 100644 --- a/service/efs/api_op_CreateReplicationConfiguration.go +++ b/service/efs/api_op_CreateReplicationConfiguration.go @@ -178,9 +178,6 @@ func (c *Client) addOperationCreateReplicationConfigurationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateReplicationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_CreateTags.go b/service/efs/api_op_CreateTags.go index 308d4be8cca..9da73a7b3a9 100644 --- a/service/efs/api_op_CreateTags.go +++ b/service/efs/api_op_CreateTags.go @@ -125,9 +125,6 @@ func (c *Client) addOperationCreateTagsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_DeleteAccessPoint.go b/service/efs/api_op_DeleteAccessPoint.go index 3190415320f..dc275bf2045 100644 --- a/service/efs/api_op_DeleteAccessPoint.go +++ b/service/efs/api_op_DeleteAccessPoint.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteAccessPointMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAccessPointValidationMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_DeleteFileSystem.go b/service/efs/api_op_DeleteFileSystem.go index 211078febc1..5d673cb5693 100644 --- a/service/efs/api_op_DeleteFileSystem.go +++ b/service/efs/api_op_DeleteFileSystem.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteFileSystemMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFileSystemValidationMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_DeleteFileSystemPolicy.go b/service/efs/api_op_DeleteFileSystemPolicy.go index ae0741ecb84..5873e2cfb8b 100644 --- a/service/efs/api_op_DeleteFileSystemPolicy.go +++ b/service/efs/api_op_DeleteFileSystemPolicy.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteFileSystemPolicyMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFileSystemPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_DeleteMountTarget.go b/service/efs/api_op_DeleteMountTarget.go index b5e66abae5a..d91adba4b10 100644 --- a/service/efs/api_op_DeleteMountTarget.go +++ b/service/efs/api_op_DeleteMountTarget.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDeleteMountTargetMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMountTargetValidationMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_DeleteReplicationConfiguration.go b/service/efs/api_op_DeleteReplicationConfiguration.go index f508ebfd2ea..040daa6e10b 100644 --- a/service/efs/api_op_DeleteReplicationConfiguration.go +++ b/service/efs/api_op_DeleteReplicationConfiguration.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDeleteReplicationConfigurationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteReplicationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_DeleteTags.go b/service/efs/api_op_DeleteTags.go index 3613c8ac84f..8351a128b88 100644 --- a/service/efs/api_op_DeleteTags.go +++ b/service/efs/api_op_DeleteTags.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteTagsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_DescribeAccessPoints.go b/service/efs/api_op_DescribeAccessPoints.go index b3ed9a4e7db..7744b30259f 100644 --- a/service/efs/api_op_DescribeAccessPoints.go +++ b/service/efs/api_op_DescribeAccessPoints.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDescribeAccessPointsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccessPoints(options.Region), middleware.Before); err != nil { return err } diff --git a/service/efs/api_op_DescribeAccountPreferences.go b/service/efs/api_op_DescribeAccountPreferences.go index cd6d8a70ce4..0bd2aa790ac 100644 --- a/service/efs/api_op_DescribeAccountPreferences.go +++ b/service/efs/api_op_DescribeAccountPreferences.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribeAccountPreferencesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountPreferences(options.Region), middleware.Before); err != nil { return err } diff --git a/service/efs/api_op_DescribeBackupPolicy.go b/service/efs/api_op_DescribeBackupPolicy.go index 238442fde8d..0db717bd909 100644 --- a/service/efs/api_op_DescribeBackupPolicy.go +++ b/service/efs/api_op_DescribeBackupPolicy.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDescribeBackupPolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBackupPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_DescribeFileSystemPolicy.go b/service/efs/api_op_DescribeFileSystemPolicy.go index fc1fbb99808..78d6ec8b414 100644 --- a/service/efs/api_op_DescribeFileSystemPolicy.go +++ b/service/efs/api_op_DescribeFileSystemPolicy.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDescribeFileSystemPolicyMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFileSystemPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_DescribeFileSystems.go b/service/efs/api_op_DescribeFileSystems.go index 83c304e7898..95968b26872 100644 --- a/service/efs/api_op_DescribeFileSystems.go +++ b/service/efs/api_op_DescribeFileSystems.go @@ -156,9 +156,6 @@ func (c *Client) addOperationDescribeFileSystemsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFileSystems(options.Region), middleware.Before); err != nil { return err } diff --git a/service/efs/api_op_DescribeLifecycleConfiguration.go b/service/efs/api_op_DescribeLifecycleConfiguration.go index 07d1582ff53..8c4a8237f84 100644 --- a/service/efs/api_op_DescribeLifecycleConfiguration.go +++ b/service/efs/api_op_DescribeLifecycleConfiguration.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDescribeLifecycleConfigurationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeLifecycleConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_DescribeMountTargetSecurityGroups.go b/service/efs/api_op_DescribeMountTargetSecurityGroups.go index 5f35d2fac33..71ae111d258 100644 --- a/service/efs/api_op_DescribeMountTargetSecurityGroups.go +++ b/service/efs/api_op_DescribeMountTargetSecurityGroups.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeMountTargetSecurityGroupsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeMountTargetSecurityGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_DescribeMountTargets.go b/service/efs/api_op_DescribeMountTargets.go index bc08e8f7d9c..a96cfa3f15e 100644 --- a/service/efs/api_op_DescribeMountTargets.go +++ b/service/efs/api_op_DescribeMountTargets.go @@ -150,9 +150,6 @@ func (c *Client) addOperationDescribeMountTargetsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMountTargets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/efs/api_op_DescribeReplicationConfigurations.go b/service/efs/api_op_DescribeReplicationConfigurations.go index 5a5bc2f4595..b7588737c47 100644 --- a/service/efs/api_op_DescribeReplicationConfigurations.go +++ b/service/efs/api_op_DescribeReplicationConfigurations.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeReplicationConfigurationsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReplicationConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/efs/api_op_DescribeTags.go b/service/efs/api_op_DescribeTags.go index 42f8a1b692c..f076569a562 100644 --- a/service/efs/api_op_DescribeTags.go +++ b/service/efs/api_op_DescribeTags.go @@ -143,9 +143,6 @@ func (c *Client) addOperationDescribeTagsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_ListTagsForResource.go b/service/efs/api_op_ListTagsForResource.go index 0bc9fb8596c..7cdffa255fb 100644 --- a/service/efs/api_op_ListTagsForResource.go +++ b/service/efs/api_op_ListTagsForResource.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_ModifyMountTargetSecurityGroups.go b/service/efs/api_op_ModifyMountTargetSecurityGroups.go index 8da14dc4209..9f7e5fd9767 100644 --- a/service/efs/api_op_ModifyMountTargetSecurityGroups.go +++ b/service/efs/api_op_ModifyMountTargetSecurityGroups.go @@ -125,9 +125,6 @@ func (c *Client) addOperationModifyMountTargetSecurityGroupsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyMountTargetSecurityGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_PutAccountPreferences.go b/service/efs/api_op_PutAccountPreferences.go index 77a410d4474..77865b70c7e 100644 --- a/service/efs/api_op_PutAccountPreferences.go +++ b/service/efs/api_op_PutAccountPreferences.go @@ -131,9 +131,6 @@ func (c *Client) addOperationPutAccountPreferencesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutAccountPreferencesValidationMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_PutBackupPolicy.go b/service/efs/api_op_PutBackupPolicy.go index 28f31cd1f37..5a6ac15acd2 100644 --- a/service/efs/api_op_PutBackupPolicy.go +++ b/service/efs/api_op_PutBackupPolicy.go @@ -119,9 +119,6 @@ func (c *Client) addOperationPutBackupPolicyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutBackupPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_PutFileSystemPolicy.go b/service/efs/api_op_PutFileSystemPolicy.go index 319efd745ac..64c214a6721 100644 --- a/service/efs/api_op_PutFileSystemPolicy.go +++ b/service/efs/api_op_PutFileSystemPolicy.go @@ -147,9 +147,6 @@ func (c *Client) addOperationPutFileSystemPolicyMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutFileSystemPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_PutLifecycleConfiguration.go b/service/efs/api_op_PutLifecycleConfiguration.go index 9bebd66aac5..b87cc87fb6a 100644 --- a/service/efs/api_op_PutLifecycleConfiguration.go +++ b/service/efs/api_op_PutLifecycleConfiguration.go @@ -195,9 +195,6 @@ func (c *Client) addOperationPutLifecycleConfigurationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutLifecycleConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_TagResource.go b/service/efs/api_op_TagResource.go index 28ed2d3358c..142084daab0 100644 --- a/service/efs/api_op_TagResource.go +++ b/service/efs/api_op_TagResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_UntagResource.go b/service/efs/api_op_UntagResource.go index e94d5b62729..1a4de5a7bf5 100644 --- a/service/efs/api_op_UntagResource.go +++ b/service/efs/api_op_UntagResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_UpdateFileSystem.go b/service/efs/api_op_UpdateFileSystem.go index 726c83948bb..21a3c2f4fc6 100644 --- a/service/efs/api_op_UpdateFileSystem.go +++ b/service/efs/api_op_UpdateFileSystem.go @@ -225,9 +225,6 @@ func (c *Client) addOperationUpdateFileSystemMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFileSystemValidationMiddleware(stack); err != nil { return err } diff --git a/service/efs/api_op_UpdateFileSystemProtection.go b/service/efs/api_op_UpdateFileSystemProtection.go index 563b2039ad0..f34b9a08299 100644 --- a/service/efs/api_op_UpdateFileSystemProtection.go +++ b/service/efs/api_op_UpdateFileSystemProtection.go @@ -149,9 +149,6 @@ func (c *Client) addOperationUpdateFileSystemProtectionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFileSystemProtectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/efs/snapshot/api_op_CreateAccessPoint.go.snap b/service/efs/snapshot/api_op_CreateAccessPoint.go.snap index fbcf6cf7728..6957c95c9cd 100644 --- a/service/efs/snapshot/api_op_CreateAccessPoint.go.snap +++ b/service/efs/snapshot/api_op_CreateAccessPoint.go.snap @@ -15,7 +15,6 @@ CreateAccessPoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/efs/snapshot/api_op_CreateFileSystem.go.snap b/service/efs/snapshot/api_op_CreateFileSystem.go.snap index f0f02642bd1..833f3726980 100644 --- a/service/efs/snapshot/api_op_CreateFileSystem.go.snap +++ b/service/efs/snapshot/api_op_CreateFileSystem.go.snap @@ -15,7 +15,6 @@ CreateFileSystem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/efs/snapshot/api_op_CreateMountTarget.go.snap b/service/efs/snapshot/api_op_CreateMountTarget.go.snap index d1079a7e0e8..54bd764ff22 100644 --- a/service/efs/snapshot/api_op_CreateMountTarget.go.snap +++ b/service/efs/snapshot/api_op_CreateMountTarget.go.snap @@ -14,7 +14,6 @@ CreateMountTarget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/efs/snapshot/api_op_CreateReplicationConfiguration.go.snap b/service/efs/snapshot/api_op_CreateReplicationConfiguration.go.snap index 46b8cefb61d..b8743e70f5f 100644 --- a/service/efs/snapshot/api_op_CreateReplicationConfiguration.go.snap +++ b/service/efs/snapshot/api_op_CreateReplicationConfiguration.go.snap @@ -14,7 +14,6 @@ CreateReplicationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/efs/snapshot/api_op_CreateTags.go.snap b/service/efs/snapshot/api_op_CreateTags.go.snap index fe83545a271..2507df3be57 100644 --- a/service/efs/snapshot/api_op_CreateTags.go.snap +++ b/service/efs/snapshot/api_op_CreateTags.go.snap @@ -14,7 +14,6 @@ CreateTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/efs/snapshot/api_op_DeleteAccessPoint.go.snap b/service/efs/snapshot/api_op_DeleteAccessPoint.go.snap index b0c5a6a6367..5506a78953a 100644 --- a/service/efs/snapshot/api_op_DeleteAccessPoint.go.snap +++ b/service/efs/snapshot/api_op_DeleteAccessPoint.go.snap @@ -14,7 +14,6 @@ DeleteAccessPoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/efs/snapshot/api_op_DeleteFileSystem.go.snap b/service/efs/snapshot/api_op_DeleteFileSystem.go.snap index 8b77cfea80e..230c4355957 100644 --- a/service/efs/snapshot/api_op_DeleteFileSystem.go.snap +++ b/service/efs/snapshot/api_op_DeleteFileSystem.go.snap @@ -14,7 +14,6 @@ DeleteFileSystem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/efs/snapshot/api_op_DeleteFileSystemPolicy.go.snap b/service/efs/snapshot/api_op_DeleteFileSystemPolicy.go.snap index 2eb835b4c29..11eedd5ed73 100644 --- a/service/efs/snapshot/api_op_DeleteFileSystemPolicy.go.snap +++ b/service/efs/snapshot/api_op_DeleteFileSystemPolicy.go.snap @@ -14,7 +14,6 @@ DeleteFileSystemPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/efs/snapshot/api_op_DeleteMountTarget.go.snap b/service/efs/snapshot/api_op_DeleteMountTarget.go.snap index fb96f47aefe..1c826fa318f 100644 --- a/service/efs/snapshot/api_op_DeleteMountTarget.go.snap +++ b/service/efs/snapshot/api_op_DeleteMountTarget.go.snap @@ -14,7 +14,6 @@ DeleteMountTarget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/efs/snapshot/api_op_DeleteReplicationConfiguration.go.snap b/service/efs/snapshot/api_op_DeleteReplicationConfiguration.go.snap index 01198915aac..1476ae85993 100644 --- a/service/efs/snapshot/api_op_DeleteReplicationConfiguration.go.snap +++ b/service/efs/snapshot/api_op_DeleteReplicationConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteReplicationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/efs/snapshot/api_op_DeleteTags.go.snap b/service/efs/snapshot/api_op_DeleteTags.go.snap index 7821a01e140..0eeb01dca01 100644 --- a/service/efs/snapshot/api_op_DeleteTags.go.snap +++ b/service/efs/snapshot/api_op_DeleteTags.go.snap @@ -14,7 +14,6 @@ DeleteTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/efs/snapshot/api_op_DescribeAccessPoints.go.snap b/service/efs/snapshot/api_op_DescribeAccessPoints.go.snap index d37a3d6630c..c184dad3ac8 100644 --- a/service/efs/snapshot/api_op_DescribeAccessPoints.go.snap +++ b/service/efs/snapshot/api_op_DescribeAccessPoints.go.snap @@ -13,7 +13,6 @@ DescribeAccessPoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/efs/snapshot/api_op_DescribeAccountPreferences.go.snap b/service/efs/snapshot/api_op_DescribeAccountPreferences.go.snap index 0ca395fd54e..63ac4380aa6 100644 --- a/service/efs/snapshot/api_op_DescribeAccountPreferences.go.snap +++ b/service/efs/snapshot/api_op_DescribeAccountPreferences.go.snap @@ -13,7 +13,6 @@ DescribeAccountPreferences Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/efs/snapshot/api_op_DescribeBackupPolicy.go.snap b/service/efs/snapshot/api_op_DescribeBackupPolicy.go.snap index 1df0df3ec44..07c4f34cc53 100644 --- a/service/efs/snapshot/api_op_DescribeBackupPolicy.go.snap +++ b/service/efs/snapshot/api_op_DescribeBackupPolicy.go.snap @@ -14,7 +14,6 @@ DescribeBackupPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/efs/snapshot/api_op_DescribeFileSystemPolicy.go.snap b/service/efs/snapshot/api_op_DescribeFileSystemPolicy.go.snap index fea1f3d4384..6f94569fe85 100644 --- a/service/efs/snapshot/api_op_DescribeFileSystemPolicy.go.snap +++ b/service/efs/snapshot/api_op_DescribeFileSystemPolicy.go.snap @@ -14,7 +14,6 @@ DescribeFileSystemPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/efs/snapshot/api_op_DescribeFileSystems.go.snap b/service/efs/snapshot/api_op_DescribeFileSystems.go.snap index f2e08aeec67..dee02b77bb2 100644 --- a/service/efs/snapshot/api_op_DescribeFileSystems.go.snap +++ b/service/efs/snapshot/api_op_DescribeFileSystems.go.snap @@ -13,7 +13,6 @@ DescribeFileSystems Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/efs/snapshot/api_op_DescribeLifecycleConfiguration.go.snap b/service/efs/snapshot/api_op_DescribeLifecycleConfiguration.go.snap index 52dcb0c8681..a3ab03331d7 100644 --- a/service/efs/snapshot/api_op_DescribeLifecycleConfiguration.go.snap +++ b/service/efs/snapshot/api_op_DescribeLifecycleConfiguration.go.snap @@ -14,7 +14,6 @@ DescribeLifecycleConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/efs/snapshot/api_op_DescribeMountTargetSecurityGroups.go.snap b/service/efs/snapshot/api_op_DescribeMountTargetSecurityGroups.go.snap index 1fc8525f451..698e9f10b88 100644 --- a/service/efs/snapshot/api_op_DescribeMountTargetSecurityGroups.go.snap +++ b/service/efs/snapshot/api_op_DescribeMountTargetSecurityGroups.go.snap @@ -14,7 +14,6 @@ DescribeMountTargetSecurityGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/efs/snapshot/api_op_DescribeMountTargets.go.snap b/service/efs/snapshot/api_op_DescribeMountTargets.go.snap index 2c482cf200d..5615653324c 100644 --- a/service/efs/snapshot/api_op_DescribeMountTargets.go.snap +++ b/service/efs/snapshot/api_op_DescribeMountTargets.go.snap @@ -13,7 +13,6 @@ DescribeMountTargets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/efs/snapshot/api_op_DescribeReplicationConfigurations.go.snap b/service/efs/snapshot/api_op_DescribeReplicationConfigurations.go.snap index 28fae68a21d..f110ca1014e 100644 --- a/service/efs/snapshot/api_op_DescribeReplicationConfigurations.go.snap +++ b/service/efs/snapshot/api_op_DescribeReplicationConfigurations.go.snap @@ -13,7 +13,6 @@ DescribeReplicationConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/efs/snapshot/api_op_DescribeTags.go.snap b/service/efs/snapshot/api_op_DescribeTags.go.snap index e4bd617c306..9e3c32c55d1 100644 --- a/service/efs/snapshot/api_op_DescribeTags.go.snap +++ b/service/efs/snapshot/api_op_DescribeTags.go.snap @@ -14,7 +14,6 @@ DescribeTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/efs/snapshot/api_op_ListTagsForResource.go.snap b/service/efs/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/efs/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/efs/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/efs/snapshot/api_op_ModifyMountTargetSecurityGroups.go.snap b/service/efs/snapshot/api_op_ModifyMountTargetSecurityGroups.go.snap index 4459f2b4cc9..fef8e282cb5 100644 --- a/service/efs/snapshot/api_op_ModifyMountTargetSecurityGroups.go.snap +++ b/service/efs/snapshot/api_op_ModifyMountTargetSecurityGroups.go.snap @@ -14,7 +14,6 @@ ModifyMountTargetSecurityGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/efs/snapshot/api_op_PutAccountPreferences.go.snap b/service/efs/snapshot/api_op_PutAccountPreferences.go.snap index e0fef2132d9..394384a7993 100644 --- a/service/efs/snapshot/api_op_PutAccountPreferences.go.snap +++ b/service/efs/snapshot/api_op_PutAccountPreferences.go.snap @@ -14,7 +14,6 @@ PutAccountPreferences Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/efs/snapshot/api_op_PutBackupPolicy.go.snap b/service/efs/snapshot/api_op_PutBackupPolicy.go.snap index 604cd17a258..463418f7b1c 100644 --- a/service/efs/snapshot/api_op_PutBackupPolicy.go.snap +++ b/service/efs/snapshot/api_op_PutBackupPolicy.go.snap @@ -14,7 +14,6 @@ PutBackupPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/efs/snapshot/api_op_PutFileSystemPolicy.go.snap b/service/efs/snapshot/api_op_PutFileSystemPolicy.go.snap index 00cf75a7b69..aef41b53378 100644 --- a/service/efs/snapshot/api_op_PutFileSystemPolicy.go.snap +++ b/service/efs/snapshot/api_op_PutFileSystemPolicy.go.snap @@ -14,7 +14,6 @@ PutFileSystemPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/efs/snapshot/api_op_PutLifecycleConfiguration.go.snap b/service/efs/snapshot/api_op_PutLifecycleConfiguration.go.snap index 96e39f83493..9be37793fc1 100644 --- a/service/efs/snapshot/api_op_PutLifecycleConfiguration.go.snap +++ b/service/efs/snapshot/api_op_PutLifecycleConfiguration.go.snap @@ -14,7 +14,6 @@ PutLifecycleConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/efs/snapshot/api_op_TagResource.go.snap b/service/efs/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/efs/snapshot/api_op_TagResource.go.snap +++ b/service/efs/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/efs/snapshot/api_op_UntagResource.go.snap b/service/efs/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/efs/snapshot/api_op_UntagResource.go.snap +++ b/service/efs/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/efs/snapshot/api_op_UpdateFileSystem.go.snap b/service/efs/snapshot/api_op_UpdateFileSystem.go.snap index 07c43421a82..44fcc597985 100644 --- a/service/efs/snapshot/api_op_UpdateFileSystem.go.snap +++ b/service/efs/snapshot/api_op_UpdateFileSystem.go.snap @@ -14,7 +14,6 @@ UpdateFileSystem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/efs/snapshot/api_op_UpdateFileSystemProtection.go.snap b/service/efs/snapshot/api_op_UpdateFileSystemProtection.go.snap index 07b263e5358..9b08bafe96e 100644 --- a/service/efs/snapshot/api_op_UpdateFileSystemProtection.go.snap +++ b/service/efs/snapshot/api_op_UpdateFileSystemProtection.go.snap @@ -14,7 +14,6 @@ UpdateFileSystemProtection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/api_client.go b/service/eks/api_client.go index b6562adcfcd..4d2e9e34d91 100644 --- a/service/eks/api_client.go +++ b/service/eks/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/eks/api_op_AssociateAccessPolicy.go b/service/eks/api_op_AssociateAccessPolicy.go index 4acf935a5e7..46c84df2d52 100644 --- a/service/eks/api_op_AssociateAccessPolicy.go +++ b/service/eks/api_op_AssociateAccessPolicy.go @@ -139,9 +139,6 @@ func (c *Client) addOperationAssociateAccessPolicyMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateAccessPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_AssociateEncryptionConfig.go b/service/eks/api_op_AssociateEncryptionConfig.go index 22eec88b44f..2312dc8e5df 100644 --- a/service/eks/api_op_AssociateEncryptionConfig.go +++ b/service/eks/api_op_AssociateEncryptionConfig.go @@ -125,9 +125,6 @@ func (c *Client) addOperationAssociateEncryptionConfigMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opAssociateEncryptionConfigMiddleware(stack, options); err != nil { return err } diff --git a/service/eks/api_op_AssociateIdentityProviderConfig.go b/service/eks/api_op_AssociateIdentityProviderConfig.go index 22ae7bd2dc6..dee769c0b6f 100644 --- a/service/eks/api_op_AssociateIdentityProviderConfig.go +++ b/service/eks/api_op_AssociateIdentityProviderConfig.go @@ -138,9 +138,6 @@ func (c *Client) addOperationAssociateIdentityProviderConfigMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opAssociateIdentityProviderConfigMiddleware(stack, options); err != nil { return err } diff --git a/service/eks/api_op_CreateAccessEntry.go b/service/eks/api_op_CreateAccessEntry.go index 04895b68ea4..6da799e3691 100644 --- a/service/eks/api_op_CreateAccessEntry.go +++ b/service/eks/api_op_CreateAccessEntry.go @@ -208,9 +208,6 @@ func (c *Client) addOperationCreateAccessEntryMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAccessEntryMiddleware(stack, options); err != nil { return err } diff --git a/service/eks/api_op_CreateAddon.go b/service/eks/api_op_CreateAddon.go index 4a9114d2825..b0eb8f198f6 100644 --- a/service/eks/api_op_CreateAddon.go +++ b/service/eks/api_op_CreateAddon.go @@ -191,9 +191,6 @@ func (c *Client) addOperationCreateAddonMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAddonMiddleware(stack, options); err != nil { return err } diff --git a/service/eks/api_op_CreateCluster.go b/service/eks/api_op_CreateCluster.go index fd2a78eecc0..28ac13b0991 100644 --- a/service/eks/api_op_CreateCluster.go +++ b/service/eks/api_op_CreateCluster.go @@ -266,9 +266,6 @@ func (c *Client) addOperationCreateClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateClusterMiddleware(stack, options); err != nil { return err } diff --git a/service/eks/api_op_CreateEksAnywhereSubscription.go b/service/eks/api_op_CreateEksAnywhereSubscription.go index ef880d9b425..1f8623cd4dc 100644 --- a/service/eks/api_op_CreateEksAnywhereSubscription.go +++ b/service/eks/api_op_CreateEksAnywhereSubscription.go @@ -151,9 +151,6 @@ func (c *Client) addOperationCreateEksAnywhereSubscriptionMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateEksAnywhereSubscriptionMiddleware(stack, options); err != nil { return err } diff --git a/service/eks/api_op_CreateFargateProfile.go b/service/eks/api_op_CreateFargateProfile.go index 306e053672c..b45f30c5c47 100644 --- a/service/eks/api_op_CreateFargateProfile.go +++ b/service/eks/api_op_CreateFargateProfile.go @@ -180,9 +180,6 @@ func (c *Client) addOperationCreateFargateProfileMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateFargateProfileMiddleware(stack, options); err != nil { return err } diff --git a/service/eks/api_op_CreateNodegroup.go b/service/eks/api_op_CreateNodegroup.go index 24c412b786c..c44efabb1b9 100644 --- a/service/eks/api_op_CreateNodegroup.go +++ b/service/eks/api_op_CreateNodegroup.go @@ -271,9 +271,6 @@ func (c *Client) addOperationCreateNodegroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateNodegroupMiddleware(stack, options); err != nil { return err } diff --git a/service/eks/api_op_CreatePodIdentityAssociation.go b/service/eks/api_op_CreatePodIdentityAssociation.go index c61e1de6d02..95ec4d4570e 100644 --- a/service/eks/api_op_CreatePodIdentityAssociation.go +++ b/service/eks/api_op_CreatePodIdentityAssociation.go @@ -182,9 +182,6 @@ func (c *Client) addOperationCreatePodIdentityAssociationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreatePodIdentityAssociationMiddleware(stack, options); err != nil { return err } diff --git a/service/eks/api_op_DeleteAccessEntry.go b/service/eks/api_op_DeleteAccessEntry.go index c454a60ed61..20f38756099 100644 --- a/service/eks/api_op_DeleteAccessEntry.go +++ b/service/eks/api_op_DeleteAccessEntry.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteAccessEntryMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAccessEntryValidationMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DeleteAddon.go b/service/eks/api_op_DeleteAddon.go index 4ef925171b5..17e1ca1b5b4 100644 --- a/service/eks/api_op_DeleteAddon.go +++ b/service/eks/api_op_DeleteAddon.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDeleteAddonMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAddonValidationMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DeleteCluster.go b/service/eks/api_op_DeleteCluster.go index 147a216e04a..ed0dbc0f35f 100644 --- a/service/eks/api_op_DeleteCluster.go +++ b/service/eks/api_op_DeleteCluster.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DeleteEksAnywhereSubscription.go b/service/eks/api_op_DeleteEksAnywhereSubscription.go index 9311a99db13..31539dbc952 100644 --- a/service/eks/api_op_DeleteEksAnywhereSubscription.go +++ b/service/eks/api_op_DeleteEksAnywhereSubscription.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteEksAnywhereSubscriptionMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEksAnywhereSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DeleteFargateProfile.go b/service/eks/api_op_DeleteFargateProfile.go index 1c6acd41b2d..32d7cf9872f 100644 --- a/service/eks/api_op_DeleteFargateProfile.go +++ b/service/eks/api_op_DeleteFargateProfile.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDeleteFargateProfileMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFargateProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DeleteNodegroup.go b/service/eks/api_op_DeleteNodegroup.go index 65582631685..1dd454709b1 100644 --- a/service/eks/api_op_DeleteNodegroup.go +++ b/service/eks/api_op_DeleteNodegroup.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteNodegroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteNodegroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DeletePodIdentityAssociation.go b/service/eks/api_op_DeletePodIdentityAssociation.go index 2ba9a154333..7d53770b2a2 100644 --- a/service/eks/api_op_DeletePodIdentityAssociation.go +++ b/service/eks/api_op_DeletePodIdentityAssociation.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeletePodIdentityAssociationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePodIdentityAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DeregisterCluster.go b/service/eks/api_op_DeregisterCluster.go index c95af979c54..72fb8051caa 100644 --- a/service/eks/api_op_DeregisterCluster.go +++ b/service/eks/api_op_DeregisterCluster.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeregisterClusterMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DescribeAccessEntry.go b/service/eks/api_op_DescribeAccessEntry.go index 98290720e86..0909b56f22d 100644 --- a/service/eks/api_op_DescribeAccessEntry.go +++ b/service/eks/api_op_DescribeAccessEntry.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDescribeAccessEntryMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAccessEntryValidationMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DescribeAddon.go b/service/eks/api_op_DescribeAddon.go index c20caf075e7..aef296298b4 100644 --- a/service/eks/api_op_DescribeAddon.go +++ b/service/eks/api_op_DescribeAddon.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeAddonMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAddonValidationMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DescribeAddonConfiguration.go b/service/eks/api_op_DescribeAddonConfiguration.go index 8cd5ef3acff..4b25c4f8275 100644 --- a/service/eks/api_op_DescribeAddonConfiguration.go +++ b/service/eks/api_op_DescribeAddonConfiguration.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDescribeAddonConfigurationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAddonConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DescribeAddonVersions.go b/service/eks/api_op_DescribeAddonVersions.go index f9d71911bdb..77f379756a5 100644 --- a/service/eks/api_op_DescribeAddonVersions.go +++ b/service/eks/api_op_DescribeAddonVersions.go @@ -158,9 +158,6 @@ func (c *Client) addOperationDescribeAddonVersionsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAddonVersions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/eks/api_op_DescribeCluster.go b/service/eks/api_op_DescribeCluster.go index b5c9fda2afa..f08d6adb246 100644 --- a/service/eks/api_op_DescribeCluster.go +++ b/service/eks/api_op_DescribeCluster.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribeClusterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DescribeClusterVersions.go b/service/eks/api_op_DescribeClusterVersions.go index 0a0d4dc0b9f..c8ea829c275 100644 --- a/service/eks/api_op_DescribeClusterVersions.go +++ b/service/eks/api_op_DescribeClusterVersions.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDescribeClusterVersionsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClusterVersions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/eks/api_op_DescribeEksAnywhereSubscription.go b/service/eks/api_op_DescribeEksAnywhereSubscription.go index 3423372e8d7..e9692109458 100644 --- a/service/eks/api_op_DescribeEksAnywhereSubscription.go +++ b/service/eks/api_op_DescribeEksAnywhereSubscription.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDescribeEksAnywhereSubscriptionMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEksAnywhereSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DescribeFargateProfile.go b/service/eks/api_op_DescribeFargateProfile.go index 7c3a228d52e..5db62ee5edb 100644 --- a/service/eks/api_op_DescribeFargateProfile.go +++ b/service/eks/api_op_DescribeFargateProfile.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeFargateProfileMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFargateProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DescribeIdentityProviderConfig.go b/service/eks/api_op_DescribeIdentityProviderConfig.go index f83fa20b4fc..1d4d6c34433 100644 --- a/service/eks/api_op_DescribeIdentityProviderConfig.go +++ b/service/eks/api_op_DescribeIdentityProviderConfig.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDescribeIdentityProviderConfigMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeIdentityProviderConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DescribeInsight.go b/service/eks/api_op_DescribeInsight.go index ca8247fbbef..f95f6eea531 100644 --- a/service/eks/api_op_DescribeInsight.go +++ b/service/eks/api_op_DescribeInsight.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDescribeInsightMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeInsightValidationMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DescribeNodegroup.go b/service/eks/api_op_DescribeNodegroup.go index 3b39270bcdf..d59f28c6cb0 100644 --- a/service/eks/api_op_DescribeNodegroup.go +++ b/service/eks/api_op_DescribeNodegroup.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeNodegroupMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeNodegroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DescribePodIdentityAssociation.go b/service/eks/api_op_DescribePodIdentityAssociation.go index f058b66c3b7..b675d016e0e 100644 --- a/service/eks/api_op_DescribePodIdentityAssociation.go +++ b/service/eks/api_op_DescribePodIdentityAssociation.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribePodIdentityAssociationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePodIdentityAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DescribeUpdate.go b/service/eks/api_op_DescribeUpdate.go index a260b8c7e40..b0b05620303 100644 --- a/service/eks/api_op_DescribeUpdate.go +++ b/service/eks/api_op_DescribeUpdate.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeUpdateMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeUpdateValidationMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DisassociateAccessPolicy.go b/service/eks/api_op_DisassociateAccessPolicy.go index 15a57ad1f2c..2bb6d939131 100644 --- a/service/eks/api_op_DisassociateAccessPolicy.go +++ b/service/eks/api_op_DisassociateAccessPolicy.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDisassociateAccessPolicyMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateAccessPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_DisassociateIdentityProviderConfig.go b/service/eks/api_op_DisassociateIdentityProviderConfig.go index 62ade541825..bbbeb39d68f 100644 --- a/service/eks/api_op_DisassociateIdentityProviderConfig.go +++ b/service/eks/api_op_DisassociateIdentityProviderConfig.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDisassociateIdentityProviderConfigMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDisassociateIdentityProviderConfigMiddleware(stack, options); err != nil { return err } diff --git a/service/eks/api_op_ListAccessEntries.go b/service/eks/api_op_ListAccessEntries.go index 885a4b85b16..90579ada486 100644 --- a/service/eks/api_op_ListAccessEntries.go +++ b/service/eks/api_op_ListAccessEntries.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListAccessEntriesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAccessEntriesValidationMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_ListAccessPolicies.go b/service/eks/api_op_ListAccessPolicies.go index 06e682dc120..4f76b575c76 100644 --- a/service/eks/api_op_ListAccessPolicies.go +++ b/service/eks/api_op_ListAccessPolicies.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListAccessPoliciesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccessPolicies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/eks/api_op_ListAddons.go b/service/eks/api_op_ListAddons.go index cefa70ee296..6fb896e39e4 100644 --- a/service/eks/api_op_ListAddons.go +++ b/service/eks/api_op_ListAddons.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListAddonsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAddonsValidationMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_ListAssociatedAccessPolicies.go b/service/eks/api_op_ListAssociatedAccessPolicies.go index 985b3608ba8..b0087fab756 100644 --- a/service/eks/api_op_ListAssociatedAccessPolicies.go +++ b/service/eks/api_op_ListAssociatedAccessPolicies.go @@ -149,9 +149,6 @@ func (c *Client) addOperationListAssociatedAccessPoliciesMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAssociatedAccessPoliciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_ListClusters.go b/service/eks/api_op_ListClusters.go index be3bdc0ab87..b107f57c921 100644 --- a/service/eks/api_op_ListClusters.go +++ b/service/eks/api_op_ListClusters.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListClustersMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListClusters(options.Region), middleware.Before); err != nil { return err } diff --git a/service/eks/api_op_ListEksAnywhereSubscriptions.go b/service/eks/api_op_ListEksAnywhereSubscriptions.go index 30d93d6f430..ea8774ded26 100644 --- a/service/eks/api_op_ListEksAnywhereSubscriptions.go +++ b/service/eks/api_op_ListEksAnywhereSubscriptions.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListEksAnywhereSubscriptionsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEksAnywhereSubscriptions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/eks/api_op_ListFargateProfiles.go b/service/eks/api_op_ListFargateProfiles.go index b89ef90e3a1..38802275429 100644 --- a/service/eks/api_op_ListFargateProfiles.go +++ b/service/eks/api_op_ListFargateProfiles.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListFargateProfilesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFargateProfilesValidationMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_ListIdentityProviderConfigs.go b/service/eks/api_op_ListIdentityProviderConfigs.go index 4770f48d8a8..4781e48f79b 100644 --- a/service/eks/api_op_ListIdentityProviderConfigs.go +++ b/service/eks/api_op_ListIdentityProviderConfigs.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListIdentityProviderConfigsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIdentityProviderConfigsValidationMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_ListInsights.go b/service/eks/api_op_ListInsights.go index c03f51966f7..f88b6cf61c8 100644 --- a/service/eks/api_op_ListInsights.go +++ b/service/eks/api_op_ListInsights.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListInsightsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListInsightsValidationMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_ListNodegroups.go b/service/eks/api_op_ListNodegroups.go index cab45867d83..f021c366e0d 100644 --- a/service/eks/api_op_ListNodegroups.go +++ b/service/eks/api_op_ListNodegroups.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListNodegroupsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListNodegroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_ListPodIdentityAssociations.go b/service/eks/api_op_ListPodIdentityAssociations.go index d2fb6689f97..a8ba1f32a77 100644 --- a/service/eks/api_op_ListPodIdentityAssociations.go +++ b/service/eks/api_op_ListPodIdentityAssociations.go @@ -163,9 +163,6 @@ func (c *Client) addOperationListPodIdentityAssociationsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPodIdentityAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_ListTagsForResource.go b/service/eks/api_op_ListTagsForResource.go index 9fd3509f3a5..410a9f1593b 100644 --- a/service/eks/api_op_ListTagsForResource.go +++ b/service/eks/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_ListUpdates.go b/service/eks/api_op_ListUpdates.go index 9abd1f10a89..73cf35107f6 100644 --- a/service/eks/api_op_ListUpdates.go +++ b/service/eks/api_op_ListUpdates.go @@ -144,9 +144,6 @@ func (c *Client) addOperationListUpdatesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListUpdatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_RegisterCluster.go b/service/eks/api_op_RegisterCluster.go index 5511b69614c..6aa99dc96ec 100644 --- a/service/eks/api_op_RegisterCluster.go +++ b/service/eks/api_op_RegisterCluster.go @@ -144,9 +144,6 @@ func (c *Client) addOperationRegisterClusterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opRegisterClusterMiddleware(stack, options); err != nil { return err } diff --git a/service/eks/api_op_TagResource.go b/service/eks/api_op_TagResource.go index 0d36933e858..24cfea8f749 100644 --- a/service/eks/api_op_TagResource.go +++ b/service/eks/api_op_TagResource.go @@ -120,9 +120,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_UntagResource.go b/service/eks/api_op_UntagResource.go index f6da4d343e0..70aabe9a5d6 100644 --- a/service/eks/api_op_UntagResource.go +++ b/service/eks/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/eks/api_op_UpdateAccessEntry.go b/service/eks/api_op_UpdateAccessEntry.go index 2fb5cb8054f..853f126598a 100644 --- a/service/eks/api_op_UpdateAccessEntry.go +++ b/service/eks/api_op_UpdateAccessEntry.go @@ -150,9 +150,6 @@ func (c *Client) addOperationUpdateAccessEntryMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateAccessEntryMiddleware(stack, options); err != nil { return err } diff --git a/service/eks/api_op_UpdateAddon.go b/service/eks/api_op_UpdateAddon.go index 9824f31db34..ccec5337c93 100644 --- a/service/eks/api_op_UpdateAddon.go +++ b/service/eks/api_op_UpdateAddon.go @@ -173,9 +173,6 @@ func (c *Client) addOperationUpdateAddonMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateAddonMiddleware(stack, options); err != nil { return err } diff --git a/service/eks/api_op_UpdateClusterConfig.go b/service/eks/api_op_UpdateClusterConfig.go index 0588dd979fe..654a873676f 100644 --- a/service/eks/api_op_UpdateClusterConfig.go +++ b/service/eks/api_op_UpdateClusterConfig.go @@ -204,9 +204,6 @@ func (c *Client) addOperationUpdateClusterConfigMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateClusterConfigMiddleware(stack, options); err != nil { return err } diff --git a/service/eks/api_op_UpdateClusterVersion.go b/service/eks/api_op_UpdateClusterVersion.go index 7b4f31fdd58..d52407a60ee 100644 --- a/service/eks/api_op_UpdateClusterVersion.go +++ b/service/eks/api_op_UpdateClusterVersion.go @@ -135,9 +135,6 @@ func (c *Client) addOperationUpdateClusterVersionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateClusterVersionMiddleware(stack, options); err != nil { return err } diff --git a/service/eks/api_op_UpdateEksAnywhereSubscription.go b/service/eks/api_op_UpdateEksAnywhereSubscription.go index 3b7832bfd61..d123ac35d9c 100644 --- a/service/eks/api_op_UpdateEksAnywhereSubscription.go +++ b/service/eks/api_op_UpdateEksAnywhereSubscription.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateEksAnywhereSubscriptionMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateEksAnywhereSubscriptionMiddleware(stack, options); err != nil { return err } diff --git a/service/eks/api_op_UpdateNodegroupConfig.go b/service/eks/api_op_UpdateNodegroupConfig.go index 6df35c5c196..c0262746a2c 100644 --- a/service/eks/api_op_UpdateNodegroupConfig.go +++ b/service/eks/api_op_UpdateNodegroupConfig.go @@ -145,9 +145,6 @@ func (c *Client) addOperationUpdateNodegroupConfigMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateNodegroupConfigMiddleware(stack, options); err != nil { return err } diff --git a/service/eks/api_op_UpdateNodegroupVersion.go b/service/eks/api_op_UpdateNodegroupVersion.go index 80484655d52..0134b0d32af 100644 --- a/service/eks/api_op_UpdateNodegroupVersion.go +++ b/service/eks/api_op_UpdateNodegroupVersion.go @@ -187,9 +187,6 @@ func (c *Client) addOperationUpdateNodegroupVersionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateNodegroupVersionMiddleware(stack, options); err != nil { return err } diff --git a/service/eks/api_op_UpdatePodIdentityAssociation.go b/service/eks/api_op_UpdatePodIdentityAssociation.go index 13014e354c4..694e612d1c4 100644 --- a/service/eks/api_op_UpdatePodIdentityAssociation.go +++ b/service/eks/api_op_UpdatePodIdentityAssociation.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdatePodIdentityAssociationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdatePodIdentityAssociationMiddleware(stack, options); err != nil { return err } diff --git a/service/eks/snapshot/api_op_AssociateAccessPolicy.go.snap b/service/eks/snapshot/api_op_AssociateAccessPolicy.go.snap index be433ec084f..8fdee3f5f4c 100644 --- a/service/eks/snapshot/api_op_AssociateAccessPolicy.go.snap +++ b/service/eks/snapshot/api_op_AssociateAccessPolicy.go.snap @@ -14,7 +14,6 @@ AssociateAccessPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_AssociateEncryptionConfig.go.snap b/service/eks/snapshot/api_op_AssociateEncryptionConfig.go.snap index 3d7ff6d2a64..7ba5637378c 100644 --- a/service/eks/snapshot/api_op_AssociateEncryptionConfig.go.snap +++ b/service/eks/snapshot/api_op_AssociateEncryptionConfig.go.snap @@ -15,7 +15,6 @@ AssociateEncryptionConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_AssociateIdentityProviderConfig.go.snap b/service/eks/snapshot/api_op_AssociateIdentityProviderConfig.go.snap index 5ab5100807e..8c7df0938c3 100644 --- a/service/eks/snapshot/api_op_AssociateIdentityProviderConfig.go.snap +++ b/service/eks/snapshot/api_op_AssociateIdentityProviderConfig.go.snap @@ -15,7 +15,6 @@ AssociateIdentityProviderConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_CreateAccessEntry.go.snap b/service/eks/snapshot/api_op_CreateAccessEntry.go.snap index 4ca3db4c62c..8726d969ffc 100644 --- a/service/eks/snapshot/api_op_CreateAccessEntry.go.snap +++ b/service/eks/snapshot/api_op_CreateAccessEntry.go.snap @@ -15,7 +15,6 @@ CreateAccessEntry Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_CreateAddon.go.snap b/service/eks/snapshot/api_op_CreateAddon.go.snap index 4556785c35a..d8246083898 100644 --- a/service/eks/snapshot/api_op_CreateAddon.go.snap +++ b/service/eks/snapshot/api_op_CreateAddon.go.snap @@ -15,7 +15,6 @@ CreateAddon Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_CreateCluster.go.snap b/service/eks/snapshot/api_op_CreateCluster.go.snap index cc20b56b767..404c2be2c9c 100644 --- a/service/eks/snapshot/api_op_CreateCluster.go.snap +++ b/service/eks/snapshot/api_op_CreateCluster.go.snap @@ -15,7 +15,6 @@ CreateCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_CreateEksAnywhereSubscription.go.snap b/service/eks/snapshot/api_op_CreateEksAnywhereSubscription.go.snap index ebac32b3e4d..9a5cd27f61c 100644 --- a/service/eks/snapshot/api_op_CreateEksAnywhereSubscription.go.snap +++ b/service/eks/snapshot/api_op_CreateEksAnywhereSubscription.go.snap @@ -15,7 +15,6 @@ CreateEksAnywhereSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_CreateFargateProfile.go.snap b/service/eks/snapshot/api_op_CreateFargateProfile.go.snap index b4aeec61a60..958867dfb60 100644 --- a/service/eks/snapshot/api_op_CreateFargateProfile.go.snap +++ b/service/eks/snapshot/api_op_CreateFargateProfile.go.snap @@ -15,7 +15,6 @@ CreateFargateProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_CreateNodegroup.go.snap b/service/eks/snapshot/api_op_CreateNodegroup.go.snap index 67b1f73b33b..6e7f5adc943 100644 --- a/service/eks/snapshot/api_op_CreateNodegroup.go.snap +++ b/service/eks/snapshot/api_op_CreateNodegroup.go.snap @@ -15,7 +15,6 @@ CreateNodegroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_CreatePodIdentityAssociation.go.snap b/service/eks/snapshot/api_op_CreatePodIdentityAssociation.go.snap index f4d526fd160..af6a5792a27 100644 --- a/service/eks/snapshot/api_op_CreatePodIdentityAssociation.go.snap +++ b/service/eks/snapshot/api_op_CreatePodIdentityAssociation.go.snap @@ -15,7 +15,6 @@ CreatePodIdentityAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_DeleteAccessEntry.go.snap b/service/eks/snapshot/api_op_DeleteAccessEntry.go.snap index aecdb5ebf3f..2d6f9346675 100644 --- a/service/eks/snapshot/api_op_DeleteAccessEntry.go.snap +++ b/service/eks/snapshot/api_op_DeleteAccessEntry.go.snap @@ -14,7 +14,6 @@ DeleteAccessEntry Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_DeleteAddon.go.snap b/service/eks/snapshot/api_op_DeleteAddon.go.snap index 0f02f941d47..5ace0c72ebb 100644 --- a/service/eks/snapshot/api_op_DeleteAddon.go.snap +++ b/service/eks/snapshot/api_op_DeleteAddon.go.snap @@ -14,7 +14,6 @@ DeleteAddon Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_DeleteCluster.go.snap b/service/eks/snapshot/api_op_DeleteCluster.go.snap index 8eeb23b33c5..9df5248d4d6 100644 --- a/service/eks/snapshot/api_op_DeleteCluster.go.snap +++ b/service/eks/snapshot/api_op_DeleteCluster.go.snap @@ -14,7 +14,6 @@ DeleteCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_DeleteEksAnywhereSubscription.go.snap b/service/eks/snapshot/api_op_DeleteEksAnywhereSubscription.go.snap index 36fcdc69461..64fa58fd359 100644 --- a/service/eks/snapshot/api_op_DeleteEksAnywhereSubscription.go.snap +++ b/service/eks/snapshot/api_op_DeleteEksAnywhereSubscription.go.snap @@ -14,7 +14,6 @@ DeleteEksAnywhereSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_DeleteFargateProfile.go.snap b/service/eks/snapshot/api_op_DeleteFargateProfile.go.snap index 18b188df03d..23ac8476082 100644 --- a/service/eks/snapshot/api_op_DeleteFargateProfile.go.snap +++ b/service/eks/snapshot/api_op_DeleteFargateProfile.go.snap @@ -14,7 +14,6 @@ DeleteFargateProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_DeleteNodegroup.go.snap b/service/eks/snapshot/api_op_DeleteNodegroup.go.snap index 0708682f35b..a2f3b97b806 100644 --- a/service/eks/snapshot/api_op_DeleteNodegroup.go.snap +++ b/service/eks/snapshot/api_op_DeleteNodegroup.go.snap @@ -14,7 +14,6 @@ DeleteNodegroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_DeletePodIdentityAssociation.go.snap b/service/eks/snapshot/api_op_DeletePodIdentityAssociation.go.snap index 37e5cf7c74c..ea01ec0b8e4 100644 --- a/service/eks/snapshot/api_op_DeletePodIdentityAssociation.go.snap +++ b/service/eks/snapshot/api_op_DeletePodIdentityAssociation.go.snap @@ -14,7 +14,6 @@ DeletePodIdentityAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_DeregisterCluster.go.snap b/service/eks/snapshot/api_op_DeregisterCluster.go.snap index feffffe2774..afd1d161fce 100644 --- a/service/eks/snapshot/api_op_DeregisterCluster.go.snap +++ b/service/eks/snapshot/api_op_DeregisterCluster.go.snap @@ -14,7 +14,6 @@ DeregisterCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_DescribeAccessEntry.go.snap b/service/eks/snapshot/api_op_DescribeAccessEntry.go.snap index 670c404e23a..206da542913 100644 --- a/service/eks/snapshot/api_op_DescribeAccessEntry.go.snap +++ b/service/eks/snapshot/api_op_DescribeAccessEntry.go.snap @@ -14,7 +14,6 @@ DescribeAccessEntry Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_DescribeAddon.go.snap b/service/eks/snapshot/api_op_DescribeAddon.go.snap index d9d67859b5b..13712c89666 100644 --- a/service/eks/snapshot/api_op_DescribeAddon.go.snap +++ b/service/eks/snapshot/api_op_DescribeAddon.go.snap @@ -14,7 +14,6 @@ DescribeAddon Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_DescribeAddonConfiguration.go.snap b/service/eks/snapshot/api_op_DescribeAddonConfiguration.go.snap index f067ec983f8..9210f979b4e 100644 --- a/service/eks/snapshot/api_op_DescribeAddonConfiguration.go.snap +++ b/service/eks/snapshot/api_op_DescribeAddonConfiguration.go.snap @@ -14,7 +14,6 @@ DescribeAddonConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_DescribeAddonVersions.go.snap b/service/eks/snapshot/api_op_DescribeAddonVersions.go.snap index de6079d18f5..9343beceb5f 100644 --- a/service/eks/snapshot/api_op_DescribeAddonVersions.go.snap +++ b/service/eks/snapshot/api_op_DescribeAddonVersions.go.snap @@ -13,7 +13,6 @@ DescribeAddonVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_DescribeCluster.go.snap b/service/eks/snapshot/api_op_DescribeCluster.go.snap index fe48df769b6..aba0b08d3d5 100644 --- a/service/eks/snapshot/api_op_DescribeCluster.go.snap +++ b/service/eks/snapshot/api_op_DescribeCluster.go.snap @@ -14,7 +14,6 @@ DescribeCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_DescribeClusterVersions.go.snap b/service/eks/snapshot/api_op_DescribeClusterVersions.go.snap index 53a4106a716..39d29ea11be 100644 --- a/service/eks/snapshot/api_op_DescribeClusterVersions.go.snap +++ b/service/eks/snapshot/api_op_DescribeClusterVersions.go.snap @@ -13,7 +13,6 @@ DescribeClusterVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_DescribeEksAnywhereSubscription.go.snap b/service/eks/snapshot/api_op_DescribeEksAnywhereSubscription.go.snap index dbd89a774e1..d50a1a92df0 100644 --- a/service/eks/snapshot/api_op_DescribeEksAnywhereSubscription.go.snap +++ b/service/eks/snapshot/api_op_DescribeEksAnywhereSubscription.go.snap @@ -14,7 +14,6 @@ DescribeEksAnywhereSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_DescribeFargateProfile.go.snap b/service/eks/snapshot/api_op_DescribeFargateProfile.go.snap index 963d40bd10b..81f2d1f5876 100644 --- a/service/eks/snapshot/api_op_DescribeFargateProfile.go.snap +++ b/service/eks/snapshot/api_op_DescribeFargateProfile.go.snap @@ -14,7 +14,6 @@ DescribeFargateProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_DescribeIdentityProviderConfig.go.snap b/service/eks/snapshot/api_op_DescribeIdentityProviderConfig.go.snap index 793d293bc86..3f0092123ea 100644 --- a/service/eks/snapshot/api_op_DescribeIdentityProviderConfig.go.snap +++ b/service/eks/snapshot/api_op_DescribeIdentityProviderConfig.go.snap @@ -14,7 +14,6 @@ DescribeIdentityProviderConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_DescribeInsight.go.snap b/service/eks/snapshot/api_op_DescribeInsight.go.snap index b37ac229b41..c2dbe39ac88 100644 --- a/service/eks/snapshot/api_op_DescribeInsight.go.snap +++ b/service/eks/snapshot/api_op_DescribeInsight.go.snap @@ -14,7 +14,6 @@ DescribeInsight Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_DescribeNodegroup.go.snap b/service/eks/snapshot/api_op_DescribeNodegroup.go.snap index 0129bf1c700..2bcbed06519 100644 --- a/service/eks/snapshot/api_op_DescribeNodegroup.go.snap +++ b/service/eks/snapshot/api_op_DescribeNodegroup.go.snap @@ -14,7 +14,6 @@ DescribeNodegroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_DescribePodIdentityAssociation.go.snap b/service/eks/snapshot/api_op_DescribePodIdentityAssociation.go.snap index a2d0ae34c31..01d157444e8 100644 --- a/service/eks/snapshot/api_op_DescribePodIdentityAssociation.go.snap +++ b/service/eks/snapshot/api_op_DescribePodIdentityAssociation.go.snap @@ -14,7 +14,6 @@ DescribePodIdentityAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_DescribeUpdate.go.snap b/service/eks/snapshot/api_op_DescribeUpdate.go.snap index e311948121e..4c93b2d2b5e 100644 --- a/service/eks/snapshot/api_op_DescribeUpdate.go.snap +++ b/service/eks/snapshot/api_op_DescribeUpdate.go.snap @@ -14,7 +14,6 @@ DescribeUpdate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_DisassociateAccessPolicy.go.snap b/service/eks/snapshot/api_op_DisassociateAccessPolicy.go.snap index be179476e3d..a8ed61274bc 100644 --- a/service/eks/snapshot/api_op_DisassociateAccessPolicy.go.snap +++ b/service/eks/snapshot/api_op_DisassociateAccessPolicy.go.snap @@ -14,7 +14,6 @@ DisassociateAccessPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_DisassociateIdentityProviderConfig.go.snap b/service/eks/snapshot/api_op_DisassociateIdentityProviderConfig.go.snap index 524d4cd3061..e82ef4c423b 100644 --- a/service/eks/snapshot/api_op_DisassociateIdentityProviderConfig.go.snap +++ b/service/eks/snapshot/api_op_DisassociateIdentityProviderConfig.go.snap @@ -15,7 +15,6 @@ DisassociateIdentityProviderConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_ListAccessEntries.go.snap b/service/eks/snapshot/api_op_ListAccessEntries.go.snap index 63f93d4e329..55743c900bc 100644 --- a/service/eks/snapshot/api_op_ListAccessEntries.go.snap +++ b/service/eks/snapshot/api_op_ListAccessEntries.go.snap @@ -14,7 +14,6 @@ ListAccessEntries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_ListAccessPolicies.go.snap b/service/eks/snapshot/api_op_ListAccessPolicies.go.snap index 999dc95c28c..72cf8ac06f9 100644 --- a/service/eks/snapshot/api_op_ListAccessPolicies.go.snap +++ b/service/eks/snapshot/api_op_ListAccessPolicies.go.snap @@ -13,7 +13,6 @@ ListAccessPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_ListAddons.go.snap b/service/eks/snapshot/api_op_ListAddons.go.snap index fe37073cf76..b3ad57fc519 100644 --- a/service/eks/snapshot/api_op_ListAddons.go.snap +++ b/service/eks/snapshot/api_op_ListAddons.go.snap @@ -14,7 +14,6 @@ ListAddons Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_ListAssociatedAccessPolicies.go.snap b/service/eks/snapshot/api_op_ListAssociatedAccessPolicies.go.snap index 6f6dc3038cd..fc307e4c7f0 100644 --- a/service/eks/snapshot/api_op_ListAssociatedAccessPolicies.go.snap +++ b/service/eks/snapshot/api_op_ListAssociatedAccessPolicies.go.snap @@ -14,7 +14,6 @@ ListAssociatedAccessPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_ListClusters.go.snap b/service/eks/snapshot/api_op_ListClusters.go.snap index 48cbced5e1f..949fd968ca2 100644 --- a/service/eks/snapshot/api_op_ListClusters.go.snap +++ b/service/eks/snapshot/api_op_ListClusters.go.snap @@ -13,7 +13,6 @@ ListClusters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_ListEksAnywhereSubscriptions.go.snap b/service/eks/snapshot/api_op_ListEksAnywhereSubscriptions.go.snap index 760a40ecef2..a348e2f046b 100644 --- a/service/eks/snapshot/api_op_ListEksAnywhereSubscriptions.go.snap +++ b/service/eks/snapshot/api_op_ListEksAnywhereSubscriptions.go.snap @@ -13,7 +13,6 @@ ListEksAnywhereSubscriptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_ListFargateProfiles.go.snap b/service/eks/snapshot/api_op_ListFargateProfiles.go.snap index e92edf7fd01..fe0e88f2e73 100644 --- a/service/eks/snapshot/api_op_ListFargateProfiles.go.snap +++ b/service/eks/snapshot/api_op_ListFargateProfiles.go.snap @@ -14,7 +14,6 @@ ListFargateProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_ListIdentityProviderConfigs.go.snap b/service/eks/snapshot/api_op_ListIdentityProviderConfigs.go.snap index ead2598d134..80b354ef1ae 100644 --- a/service/eks/snapshot/api_op_ListIdentityProviderConfigs.go.snap +++ b/service/eks/snapshot/api_op_ListIdentityProviderConfigs.go.snap @@ -14,7 +14,6 @@ ListIdentityProviderConfigs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_ListInsights.go.snap b/service/eks/snapshot/api_op_ListInsights.go.snap index 9d9c6787b63..5815f5b71a1 100644 --- a/service/eks/snapshot/api_op_ListInsights.go.snap +++ b/service/eks/snapshot/api_op_ListInsights.go.snap @@ -14,7 +14,6 @@ ListInsights Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_ListNodegroups.go.snap b/service/eks/snapshot/api_op_ListNodegroups.go.snap index 9f56fe04eed..ce51c259482 100644 --- a/service/eks/snapshot/api_op_ListNodegroups.go.snap +++ b/service/eks/snapshot/api_op_ListNodegroups.go.snap @@ -14,7 +14,6 @@ ListNodegroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_ListPodIdentityAssociations.go.snap b/service/eks/snapshot/api_op_ListPodIdentityAssociations.go.snap index 71bae063385..d476fdc53db 100644 --- a/service/eks/snapshot/api_op_ListPodIdentityAssociations.go.snap +++ b/service/eks/snapshot/api_op_ListPodIdentityAssociations.go.snap @@ -14,7 +14,6 @@ ListPodIdentityAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_ListTagsForResource.go.snap b/service/eks/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/eks/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/eks/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_ListUpdates.go.snap b/service/eks/snapshot/api_op_ListUpdates.go.snap index 0cd4ceb82cf..d331a6c3c4b 100644 --- a/service/eks/snapshot/api_op_ListUpdates.go.snap +++ b/service/eks/snapshot/api_op_ListUpdates.go.snap @@ -14,7 +14,6 @@ ListUpdates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_RegisterCluster.go.snap b/service/eks/snapshot/api_op_RegisterCluster.go.snap index 7acbc936785..ff684fdd8f9 100644 --- a/service/eks/snapshot/api_op_RegisterCluster.go.snap +++ b/service/eks/snapshot/api_op_RegisterCluster.go.snap @@ -15,7 +15,6 @@ RegisterCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_TagResource.go.snap b/service/eks/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/eks/snapshot/api_op_TagResource.go.snap +++ b/service/eks/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_UntagResource.go.snap b/service/eks/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/eks/snapshot/api_op_UntagResource.go.snap +++ b/service/eks/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_UpdateAccessEntry.go.snap b/service/eks/snapshot/api_op_UpdateAccessEntry.go.snap index c96a400c305..bd7a317dcff 100644 --- a/service/eks/snapshot/api_op_UpdateAccessEntry.go.snap +++ b/service/eks/snapshot/api_op_UpdateAccessEntry.go.snap @@ -15,7 +15,6 @@ UpdateAccessEntry Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_UpdateAddon.go.snap b/service/eks/snapshot/api_op_UpdateAddon.go.snap index f3798db89b3..d9262583cd3 100644 --- a/service/eks/snapshot/api_op_UpdateAddon.go.snap +++ b/service/eks/snapshot/api_op_UpdateAddon.go.snap @@ -15,7 +15,6 @@ UpdateAddon Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_UpdateClusterConfig.go.snap b/service/eks/snapshot/api_op_UpdateClusterConfig.go.snap index 08f7e3aed86..7a3016cb534 100644 --- a/service/eks/snapshot/api_op_UpdateClusterConfig.go.snap +++ b/service/eks/snapshot/api_op_UpdateClusterConfig.go.snap @@ -15,7 +15,6 @@ UpdateClusterConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_UpdateClusterVersion.go.snap b/service/eks/snapshot/api_op_UpdateClusterVersion.go.snap index 0809e3ae889..5c3a10e5175 100644 --- a/service/eks/snapshot/api_op_UpdateClusterVersion.go.snap +++ b/service/eks/snapshot/api_op_UpdateClusterVersion.go.snap @@ -15,7 +15,6 @@ UpdateClusterVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_UpdateEksAnywhereSubscription.go.snap b/service/eks/snapshot/api_op_UpdateEksAnywhereSubscription.go.snap index b5cc36eca1a..a52bc6a5922 100644 --- a/service/eks/snapshot/api_op_UpdateEksAnywhereSubscription.go.snap +++ b/service/eks/snapshot/api_op_UpdateEksAnywhereSubscription.go.snap @@ -15,7 +15,6 @@ UpdateEksAnywhereSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_UpdateNodegroupConfig.go.snap b/service/eks/snapshot/api_op_UpdateNodegroupConfig.go.snap index 817ff90485d..5a926cd946d 100644 --- a/service/eks/snapshot/api_op_UpdateNodegroupConfig.go.snap +++ b/service/eks/snapshot/api_op_UpdateNodegroupConfig.go.snap @@ -15,7 +15,6 @@ UpdateNodegroupConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_UpdateNodegroupVersion.go.snap b/service/eks/snapshot/api_op_UpdateNodegroupVersion.go.snap index 90c42be3d47..c37f289a247 100644 --- a/service/eks/snapshot/api_op_UpdateNodegroupVersion.go.snap +++ b/service/eks/snapshot/api_op_UpdateNodegroupVersion.go.snap @@ -15,7 +15,6 @@ UpdateNodegroupVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eks/snapshot/api_op_UpdatePodIdentityAssociation.go.snap b/service/eks/snapshot/api_op_UpdatePodIdentityAssociation.go.snap index 587176fc8bc..551ac479879 100644 --- a/service/eks/snapshot/api_op_UpdatePodIdentityAssociation.go.snap +++ b/service/eks/snapshot/api_op_UpdatePodIdentityAssociation.go.snap @@ -15,7 +15,6 @@ UpdatePodIdentityAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eksauth/api_client.go b/service/eksauth/api_client.go index 8ddbd1278c2..48639e11e44 100644 --- a/service/eksauth/api_client.go +++ b/service/eksauth/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/eksauth/api_op_AssumeRoleForPodIdentity.go b/service/eksauth/api_op_AssumeRoleForPodIdentity.go index b97f17554e1..89aa239aeb3 100644 --- a/service/eksauth/api_op_AssumeRoleForPodIdentity.go +++ b/service/eksauth/api_op_AssumeRoleForPodIdentity.go @@ -155,9 +155,6 @@ func (c *Client) addOperationAssumeRoleForPodIdentityMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssumeRoleForPodIdentityValidationMiddleware(stack); err != nil { return err } diff --git a/service/eksauth/snapshot/api_op_AssumeRoleForPodIdentity.go.snap b/service/eksauth/snapshot/api_op_AssumeRoleForPodIdentity.go.snap index d12f5544688..e7d037f6725 100644 --- a/service/eksauth/snapshot/api_op_AssumeRoleForPodIdentity.go.snap +++ b/service/eksauth/snapshot/api_op_AssumeRoleForPodIdentity.go.snap @@ -14,7 +14,6 @@ AssumeRoleForPodIdentity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/api_client.go b/service/elasticache/api_client.go index f32a6ae241e..3b9c3da07e5 100644 --- a/service/elasticache/api_client.go +++ b/service/elasticache/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/elasticache/api_op_AddTagsToResource.go b/service/elasticache/api_op_AddTagsToResource.go index 1a260c86212..36e986e40a9 100644 --- a/service/elasticache/api_op_AddTagsToResource.go +++ b/service/elasticache/api_op_AddTagsToResource.go @@ -143,9 +143,6 @@ func (c *Client) addOperationAddTagsToResourceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddTagsToResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_AuthorizeCacheSecurityGroupIngress.go b/service/elasticache/api_op_AuthorizeCacheSecurityGroupIngress.go index dfc16c76c44..3c710a0b6f5 100644 --- a/service/elasticache/api_op_AuthorizeCacheSecurityGroupIngress.go +++ b/service/elasticache/api_op_AuthorizeCacheSecurityGroupIngress.go @@ -137,9 +137,6 @@ func (c *Client) addOperationAuthorizeCacheSecurityGroupIngressMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAuthorizeCacheSecurityGroupIngressValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_BatchApplyUpdateAction.go b/service/elasticache/api_op_BatchApplyUpdateAction.go index 06723dd47fa..ee64f283f9e 100644 --- a/service/elasticache/api_op_BatchApplyUpdateAction.go +++ b/service/elasticache/api_op_BatchApplyUpdateAction.go @@ -124,9 +124,6 @@ func (c *Client) addOperationBatchApplyUpdateActionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchApplyUpdateActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_BatchStopUpdateAction.go b/service/elasticache/api_op_BatchStopUpdateAction.go index bc48fdd4ee4..000be8ea1c3 100644 --- a/service/elasticache/api_op_BatchStopUpdateAction.go +++ b/service/elasticache/api_op_BatchStopUpdateAction.go @@ -124,9 +124,6 @@ func (c *Client) addOperationBatchStopUpdateActionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchStopUpdateActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_CompleteMigration.go b/service/elasticache/api_op_CompleteMigration.go index e3ee05101cf..6dd5413a7b1 100644 --- a/service/elasticache/api_op_CompleteMigration.go +++ b/service/elasticache/api_op_CompleteMigration.go @@ -118,9 +118,6 @@ func (c *Client) addOperationCompleteMigrationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCompleteMigrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_CopyServerlessCacheSnapshot.go b/service/elasticache/api_op_CopyServerlessCacheSnapshot.go index 591eb9d80ec..b3e3dbd99ce 100644 --- a/service/elasticache/api_op_CopyServerlessCacheSnapshot.go +++ b/service/elasticache/api_op_CopyServerlessCacheSnapshot.go @@ -130,9 +130,6 @@ func (c *Client) addOperationCopyServerlessCacheSnapshotMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCopyServerlessCacheSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_CopySnapshot.go b/service/elasticache/api_op_CopySnapshot.go index 531460e649c..381802bd5b7 100644 --- a/service/elasticache/api_op_CopySnapshot.go +++ b/service/elasticache/api_op_CopySnapshot.go @@ -210,9 +210,6 @@ func (c *Client) addOperationCopySnapshotMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCopySnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_CreateCacheCluster.go b/service/elasticache/api_op_CreateCacheCluster.go index e7b3694e567..a2bb815995a 100644 --- a/service/elasticache/api_op_CreateCacheCluster.go +++ b/service/elasticache/api_op_CreateCacheCluster.go @@ -437,9 +437,6 @@ func (c *Client) addOperationCreateCacheClusterMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCacheClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_CreateCacheParameterGroup.go b/service/elasticache/api_op_CreateCacheParameterGroup.go index ed6f989b1d9..2b083aff6e4 100644 --- a/service/elasticache/api_op_CreateCacheParameterGroup.go +++ b/service/elasticache/api_op_CreateCacheParameterGroup.go @@ -148,9 +148,6 @@ func (c *Client) addOperationCreateCacheParameterGroupMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCacheParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_CreateCacheSecurityGroup.go b/service/elasticache/api_op_CreateCacheSecurityGroup.go index 63a458f7d0b..8e69ce20fae 100644 --- a/service/elasticache/api_op_CreateCacheSecurityGroup.go +++ b/service/elasticache/api_op_CreateCacheSecurityGroup.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreateCacheSecurityGroupMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCacheSecurityGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_CreateCacheSubnetGroup.go b/service/elasticache/api_op_CreateCacheSubnetGroup.go index 5e977d3510a..89a82a17b15 100644 --- a/service/elasticache/api_op_CreateCacheSubnetGroup.go +++ b/service/elasticache/api_op_CreateCacheSubnetGroup.go @@ -138,9 +138,6 @@ func (c *Client) addOperationCreateCacheSubnetGroupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCacheSubnetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_CreateGlobalReplicationGroup.go b/service/elasticache/api_op_CreateGlobalReplicationGroup.go index a5466711e05..210e79d877f 100644 --- a/service/elasticache/api_op_CreateGlobalReplicationGroup.go +++ b/service/elasticache/api_op_CreateGlobalReplicationGroup.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCreateGlobalReplicationGroupMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGlobalReplicationGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_CreateReplicationGroup.go b/service/elasticache/api_op_CreateReplicationGroup.go index b03fcc4aa31..90970b46afc 100644 --- a/service/elasticache/api_op_CreateReplicationGroup.go +++ b/service/elasticache/api_op_CreateReplicationGroup.go @@ -582,9 +582,6 @@ func (c *Client) addOperationCreateReplicationGroupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateReplicationGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_CreateServerlessCache.go b/service/elasticache/api_op_CreateServerlessCache.go index 034c4c450bd..d748e42190f 100644 --- a/service/elasticache/api_op_CreateServerlessCache.go +++ b/service/elasticache/api_op_CreateServerlessCache.go @@ -170,9 +170,6 @@ func (c *Client) addOperationCreateServerlessCacheMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateServerlessCacheValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_CreateServerlessCacheSnapshot.go b/service/elasticache/api_op_CreateServerlessCacheSnapshot.go index 759356dbb6a..edbe45825e3 100644 --- a/service/elasticache/api_op_CreateServerlessCacheSnapshot.go +++ b/service/elasticache/api_op_CreateServerlessCacheSnapshot.go @@ -130,9 +130,6 @@ func (c *Client) addOperationCreateServerlessCacheSnapshotMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateServerlessCacheSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_CreateSnapshot.go b/service/elasticache/api_op_CreateSnapshot.go index 8f87695ab4b..a65d82e100d 100644 --- a/service/elasticache/api_op_CreateSnapshot.go +++ b/service/elasticache/api_op_CreateSnapshot.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateSnapshotMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_CreateUser.go b/service/elasticache/api_op_CreateUser.go index 10950a838cf..cdea7c6d1b7 100644 --- a/service/elasticache/api_op_CreateUser.go +++ b/service/elasticache/api_op_CreateUser.go @@ -167,9 +167,6 @@ func (c *Client) addOperationCreateUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_CreateUserGroup.go b/service/elasticache/api_op_CreateUserGroup.go index d958c968a95..909c5d7e00a 100644 --- a/service/elasticache/api_op_CreateUserGroup.go +++ b/service/elasticache/api_op_CreateUserGroup.go @@ -154,9 +154,6 @@ func (c *Client) addOperationCreateUserGroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateUserGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DecreaseNodeGroupsInGlobalReplicationGroup.go b/service/elasticache/api_op_DecreaseNodeGroupsInGlobalReplicationGroup.go index 85dbec5b8a4..0d89cb23729 100644 --- a/service/elasticache/api_op_DecreaseNodeGroupsInGlobalReplicationGroup.go +++ b/service/elasticache/api_op_DecreaseNodeGroupsInGlobalReplicationGroup.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDecreaseNodeGroupsInGlobalReplicationGroupMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDecreaseNodeGroupsInGlobalReplicationGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DecreaseReplicaCount.go b/service/elasticache/api_op_DecreaseReplicaCount.go index 968c8f98350..a2403e862d1 100644 --- a/service/elasticache/api_op_DecreaseReplicaCount.go +++ b/service/elasticache/api_op_DecreaseReplicaCount.go @@ -150,9 +150,6 @@ func (c *Client) addOperationDecreaseReplicaCountMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDecreaseReplicaCountValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DeleteCacheCluster.go b/service/elasticache/api_op_DeleteCacheCluster.go index a8877b2d2f3..38d01bacc57 100644 --- a/service/elasticache/api_op_DeleteCacheCluster.go +++ b/service/elasticache/api_op_DeleteCacheCluster.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDeleteCacheClusterMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCacheClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DeleteCacheParameterGroup.go b/service/elasticache/api_op_DeleteCacheParameterGroup.go index 6388a2e46d1..02a68c17621 100644 --- a/service/elasticache/api_op_DeleteCacheParameterGroup.go +++ b/service/elasticache/api_op_DeleteCacheParameterGroup.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteCacheParameterGroupMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCacheParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DeleteCacheSecurityGroup.go b/service/elasticache/api_op_DeleteCacheSecurityGroup.go index 1d85ac27f09..f6132e26998 100644 --- a/service/elasticache/api_op_DeleteCacheSecurityGroup.go +++ b/service/elasticache/api_op_DeleteCacheSecurityGroup.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteCacheSecurityGroupMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCacheSecurityGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DeleteCacheSubnetGroup.go b/service/elasticache/api_op_DeleteCacheSubnetGroup.go index ff7b65ec0c8..8b9321dbd39 100644 --- a/service/elasticache/api_op_DeleteCacheSubnetGroup.go +++ b/service/elasticache/api_op_DeleteCacheSubnetGroup.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteCacheSubnetGroupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCacheSubnetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DeleteGlobalReplicationGroup.go b/service/elasticache/api_op_DeleteGlobalReplicationGroup.go index 351a4e3bf53..c5e1da6b72c 100644 --- a/service/elasticache/api_op_DeleteGlobalReplicationGroup.go +++ b/service/elasticache/api_op_DeleteGlobalReplicationGroup.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDeleteGlobalReplicationGroupMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGlobalReplicationGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DeleteReplicationGroup.go b/service/elasticache/api_op_DeleteReplicationGroup.go index e0a388820d0..2858f9a8cd6 100644 --- a/service/elasticache/api_op_DeleteReplicationGroup.go +++ b/service/elasticache/api_op_DeleteReplicationGroup.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDeleteReplicationGroupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteReplicationGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DeleteServerlessCache.go b/service/elasticache/api_op_DeleteServerlessCache.go index ffdc1c6d66b..b195b84dcdf 100644 --- a/service/elasticache/api_op_DeleteServerlessCache.go +++ b/service/elasticache/api_op_DeleteServerlessCache.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteServerlessCacheMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteServerlessCacheValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DeleteServerlessCacheSnapshot.go b/service/elasticache/api_op_DeleteServerlessCacheSnapshot.go index 4b1195ea8bd..c701a7789b4 100644 --- a/service/elasticache/api_op_DeleteServerlessCacheSnapshot.go +++ b/service/elasticache/api_op_DeleteServerlessCacheSnapshot.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteServerlessCacheSnapshotMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteServerlessCacheSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DeleteSnapshot.go b/service/elasticache/api_op_DeleteSnapshot.go index 98c736daaa3..25036422117 100644 --- a/service/elasticache/api_op_DeleteSnapshot.go +++ b/service/elasticache/api_op_DeleteSnapshot.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteSnapshotMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DeleteUser.go b/service/elasticache/api_op_DeleteUser.go index 07536e5b004..46757d2fb09 100644 --- a/service/elasticache/api_op_DeleteUser.go +++ b/service/elasticache/api_op_DeleteUser.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDeleteUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DeleteUserGroup.go b/service/elasticache/api_op_DeleteUserGroup.go index f54796f9796..7c883c0fbd7 100644 --- a/service/elasticache/api_op_DeleteUserGroup.go +++ b/service/elasticache/api_op_DeleteUserGroup.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDeleteUserGroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUserGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeCacheClusters.go b/service/elasticache/api_op_DescribeCacheClusters.go index c9b0385e09e..2861ef3ac45 100644 --- a/service/elasticache/api_op_DescribeCacheClusters.go +++ b/service/elasticache/api_op_DescribeCacheClusters.go @@ -168,9 +168,6 @@ func (c *Client) addOperationDescribeCacheClustersMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCacheClusters(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeCacheEngineVersions.go b/service/elasticache/api_op_DescribeCacheEngineVersions.go index 26796c9a572..c39babb2601 100644 --- a/service/elasticache/api_op_DescribeCacheEngineVersions.go +++ b/service/elasticache/api_op_DescribeCacheEngineVersions.go @@ -155,9 +155,6 @@ func (c *Client) addOperationDescribeCacheEngineVersionsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCacheEngineVersions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeCacheParameterGroups.go b/service/elasticache/api_op_DescribeCacheParameterGroups.go index 9285672de97..25002fc168e 100644 --- a/service/elasticache/api_op_DescribeCacheParameterGroups.go +++ b/service/elasticache/api_op_DescribeCacheParameterGroups.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeCacheParameterGroupsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCacheParameterGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeCacheParameters.go b/service/elasticache/api_op_DescribeCacheParameters.go index 11a83dacae6..7872aadd25c 100644 --- a/service/elasticache/api_op_DescribeCacheParameters.go +++ b/service/elasticache/api_op_DescribeCacheParameters.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeCacheParametersMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCacheParametersValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeCacheSecurityGroups.go b/service/elasticache/api_op_DescribeCacheSecurityGroups.go index 11684b8145b..38556f2972c 100644 --- a/service/elasticache/api_op_DescribeCacheSecurityGroups.go +++ b/service/elasticache/api_op_DescribeCacheSecurityGroups.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeCacheSecurityGroupsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCacheSecurityGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeCacheSubnetGroups.go b/service/elasticache/api_op_DescribeCacheSubnetGroups.go index 16b05283585..4aa2e6a1572 100644 --- a/service/elasticache/api_op_DescribeCacheSubnetGroups.go +++ b/service/elasticache/api_op_DescribeCacheSubnetGroups.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeCacheSubnetGroupsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCacheSubnetGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeEngineDefaultParameters.go b/service/elasticache/api_op_DescribeEngineDefaultParameters.go index d93ceac588d..d6418a72b24 100644 --- a/service/elasticache/api_op_DescribeEngineDefaultParameters.go +++ b/service/elasticache/api_op_DescribeEngineDefaultParameters.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeEngineDefaultParametersMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEngineDefaultParametersValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeEvents.go b/service/elasticache/api_op_DescribeEvents.go index 07d22c0492c..8ec587ec3ec 100644 --- a/service/elasticache/api_op_DescribeEvents.go +++ b/service/elasticache/api_op_DescribeEvents.go @@ -157,9 +157,6 @@ func (c *Client) addOperationDescribeEventsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEvents(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeGlobalReplicationGroups.go b/service/elasticache/api_op_DescribeGlobalReplicationGroups.go index 25162f743cc..c5e85355f20 100644 --- a/service/elasticache/api_op_DescribeGlobalReplicationGroups.go +++ b/service/elasticache/api_op_DescribeGlobalReplicationGroups.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeGlobalReplicationGroupsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGlobalReplicationGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeReplicationGroups.go b/service/elasticache/api_op_DescribeReplicationGroups.go index 9d1ac58edcb..b4ea3f3c1de 100644 --- a/service/elasticache/api_op_DescribeReplicationGroups.go +++ b/service/elasticache/api_op_DescribeReplicationGroups.go @@ -143,9 +143,6 @@ func (c *Client) addOperationDescribeReplicationGroupsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReplicationGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeReservedCacheNodes.go b/service/elasticache/api_op_DescribeReservedCacheNodes.go index f0ccf32ad42..0dfb6b3f22d 100644 --- a/service/elasticache/api_op_DescribeReservedCacheNodes.go +++ b/service/elasticache/api_op_DescribeReservedCacheNodes.go @@ -255,9 +255,6 @@ func (c *Client) addOperationDescribeReservedCacheNodesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservedCacheNodes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeReservedCacheNodesOfferings.go b/service/elasticache/api_op_DescribeReservedCacheNodesOfferings.go index df75ee151f6..a029a609bee 100644 --- a/service/elasticache/api_op_DescribeReservedCacheNodesOfferings.go +++ b/service/elasticache/api_op_DescribeReservedCacheNodesOfferings.go @@ -252,9 +252,6 @@ func (c *Client) addOperationDescribeReservedCacheNodesOfferingsMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservedCacheNodesOfferings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeServerlessCacheSnapshots.go b/service/elasticache/api_op_DescribeServerlessCacheSnapshots.go index f6bad5de08a..da21879edcb 100644 --- a/service/elasticache/api_op_DescribeServerlessCacheSnapshots.go +++ b/service/elasticache/api_op_DescribeServerlessCacheSnapshots.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDescribeServerlessCacheSnapshotsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeServerlessCacheSnapshots(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeServerlessCaches.go b/service/elasticache/api_op_DescribeServerlessCaches.go index 8985d229657..3b4e814d994 100644 --- a/service/elasticache/api_op_DescribeServerlessCaches.go +++ b/service/elasticache/api_op_DescribeServerlessCaches.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeServerlessCachesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeServerlessCaches(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeServiceUpdates.go b/service/elasticache/api_op_DescribeServiceUpdates.go index d9cd7229269..0078305d387 100644 --- a/service/elasticache/api_op_DescribeServiceUpdates.go +++ b/service/elasticache/api_op_DescribeServiceUpdates.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDescribeServiceUpdatesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeServiceUpdates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeSnapshots.go b/service/elasticache/api_op_DescribeSnapshots.go index 024f1855030..c61cc43ed87 100644 --- a/service/elasticache/api_op_DescribeSnapshots.go +++ b/service/elasticache/api_op_DescribeSnapshots.go @@ -158,9 +158,6 @@ func (c *Client) addOperationDescribeSnapshotsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSnapshots(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeUpdateActions.go b/service/elasticache/api_op_DescribeUpdateActions.go index a41c663ae72..2fc94e993c0 100644 --- a/service/elasticache/api_op_DescribeUpdateActions.go +++ b/service/elasticache/api_op_DescribeUpdateActions.go @@ -148,9 +148,6 @@ func (c *Client) addOperationDescribeUpdateActionsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUpdateActions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeUserGroups.go b/service/elasticache/api_op_DescribeUserGroups.go index 65c7668d2e0..75d06a88a60 100644 --- a/service/elasticache/api_op_DescribeUserGroups.go +++ b/service/elasticache/api_op_DescribeUserGroups.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeUserGroupsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUserGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticache/api_op_DescribeUsers.go b/service/elasticache/api_op_DescribeUsers.go index f22483e437a..b218ca5d5d3 100644 --- a/service/elasticache/api_op_DescribeUsers.go +++ b/service/elasticache/api_op_DescribeUsers.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeUsersMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeUsersValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_DisassociateGlobalReplicationGroup.go b/service/elasticache/api_op_DisassociateGlobalReplicationGroup.go index 8096e4193e3..91382b7691a 100644 --- a/service/elasticache/api_op_DisassociateGlobalReplicationGroup.go +++ b/service/elasticache/api_op_DisassociateGlobalReplicationGroup.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDisassociateGlobalReplicationGroupMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateGlobalReplicationGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_ExportServerlessCacheSnapshot.go b/service/elasticache/api_op_ExportServerlessCacheSnapshot.go index 7957056c50f..d8c2e6bf3e0 100644 --- a/service/elasticache/api_op_ExportServerlessCacheSnapshot.go +++ b/service/elasticache/api_op_ExportServerlessCacheSnapshot.go @@ -122,9 +122,6 @@ func (c *Client) addOperationExportServerlessCacheSnapshotMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExportServerlessCacheSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_FailoverGlobalReplicationGroup.go b/service/elasticache/api_op_FailoverGlobalReplicationGroup.go index 59423acdbce..e64436266f4 100644 --- a/service/elasticache/api_op_FailoverGlobalReplicationGroup.go +++ b/service/elasticache/api_op_FailoverGlobalReplicationGroup.go @@ -129,9 +129,6 @@ func (c *Client) addOperationFailoverGlobalReplicationGroupMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpFailoverGlobalReplicationGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_IncreaseNodeGroupsInGlobalReplicationGroup.go b/service/elasticache/api_op_IncreaseNodeGroupsInGlobalReplicationGroup.go index 82bc0a50453..9b974a94a58 100644 --- a/service/elasticache/api_op_IncreaseNodeGroupsInGlobalReplicationGroup.go +++ b/service/elasticache/api_op_IncreaseNodeGroupsInGlobalReplicationGroup.go @@ -133,9 +133,6 @@ func (c *Client) addOperationIncreaseNodeGroupsInGlobalReplicationGroupMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpIncreaseNodeGroupsInGlobalReplicationGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_IncreaseReplicaCount.go b/service/elasticache/api_op_IncreaseReplicaCount.go index 186621372e0..2a0dc35ab5a 100644 --- a/service/elasticache/api_op_IncreaseReplicaCount.go +++ b/service/elasticache/api_op_IncreaseReplicaCount.go @@ -135,9 +135,6 @@ func (c *Client) addOperationIncreaseReplicaCountMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpIncreaseReplicaCountValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_ListAllowedNodeTypeModifications.go b/service/elasticache/api_op_ListAllowedNodeTypeModifications.go index 6c836b8f4e7..cc201c7d2d2 100644 --- a/service/elasticache/api_op_ListAllowedNodeTypeModifications.go +++ b/service/elasticache/api_op_ListAllowedNodeTypeModifications.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListAllowedNodeTypeModificationsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAllowedNodeTypeModifications(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticache/api_op_ListTagsForResource.go b/service/elasticache/api_op_ListTagsForResource.go index 552f7f700f2..fcb4a5d875f 100644 --- a/service/elasticache/api_op_ListTagsForResource.go +++ b/service/elasticache/api_op_ListTagsForResource.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_ModifyCacheCluster.go b/service/elasticache/api_op_ModifyCacheCluster.go index 3904d9e1511..92049e8f27d 100644 --- a/service/elasticache/api_op_ModifyCacheCluster.go +++ b/service/elasticache/api_op_ModifyCacheCluster.go @@ -392,9 +392,6 @@ func (c *Client) addOperationModifyCacheClusterMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyCacheClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_ModifyCacheParameterGroup.go b/service/elasticache/api_op_ModifyCacheParameterGroup.go index 4524e63a6ff..0969db06b17 100644 --- a/service/elasticache/api_op_ModifyCacheParameterGroup.go +++ b/service/elasticache/api_op_ModifyCacheParameterGroup.go @@ -127,9 +127,6 @@ func (c *Client) addOperationModifyCacheParameterGroupMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyCacheParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_ModifyCacheSubnetGroup.go b/service/elasticache/api_op_ModifyCacheSubnetGroup.go index ac19181d750..5c95a63cda8 100644 --- a/service/elasticache/api_op_ModifyCacheSubnetGroup.go +++ b/service/elasticache/api_op_ModifyCacheSubnetGroup.go @@ -127,9 +127,6 @@ func (c *Client) addOperationModifyCacheSubnetGroupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyCacheSubnetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_ModifyGlobalReplicationGroup.go b/service/elasticache/api_op_ModifyGlobalReplicationGroup.go index 4531a5e239d..0c3a672bdce 100644 --- a/service/elasticache/api_op_ModifyGlobalReplicationGroup.go +++ b/service/elasticache/api_op_ModifyGlobalReplicationGroup.go @@ -148,9 +148,6 @@ func (c *Client) addOperationModifyGlobalReplicationGroupMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyGlobalReplicationGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_ModifyReplicationGroup.go b/service/elasticache/api_op_ModifyReplicationGroup.go index bb667f9dd12..720153e1864 100644 --- a/service/elasticache/api_op_ModifyReplicationGroup.go +++ b/service/elasticache/api_op_ModifyReplicationGroup.go @@ -342,9 +342,6 @@ func (c *Client) addOperationModifyReplicationGroupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyReplicationGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_ModifyReplicationGroupShardConfiguration.go b/service/elasticache/api_op_ModifyReplicationGroupShardConfiguration.go index 51c01e3dc08..92dbcd224c5 100644 --- a/service/elasticache/api_op_ModifyReplicationGroupShardConfiguration.go +++ b/service/elasticache/api_op_ModifyReplicationGroupShardConfiguration.go @@ -156,9 +156,6 @@ func (c *Client) addOperationModifyReplicationGroupShardConfigurationMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyReplicationGroupShardConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_ModifyServerlessCache.go b/service/elasticache/api_op_ModifyServerlessCache.go index 5f6dce49f78..5aec93f698d 100644 --- a/service/elasticache/api_op_ModifyServerlessCache.go +++ b/service/elasticache/api_op_ModifyServerlessCache.go @@ -156,9 +156,6 @@ func (c *Client) addOperationModifyServerlessCacheMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyServerlessCacheValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_ModifyUser.go b/service/elasticache/api_op_ModifyUser.go index 0f260f77fda..64d9d401d47 100644 --- a/service/elasticache/api_op_ModifyUser.go +++ b/service/elasticache/api_op_ModifyUser.go @@ -154,9 +154,6 @@ func (c *Client) addOperationModifyUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_ModifyUserGroup.go b/service/elasticache/api_op_ModifyUserGroup.go index f023bc3ca75..37cabc209c1 100644 --- a/service/elasticache/api_op_ModifyUserGroup.go +++ b/service/elasticache/api_op_ModifyUserGroup.go @@ -147,9 +147,6 @@ func (c *Client) addOperationModifyUserGroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyUserGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_PurchaseReservedCacheNodesOffering.go b/service/elasticache/api_op_PurchaseReservedCacheNodesOffering.go index b888ed1cf4b..b0a6fbd4d52 100644 --- a/service/elasticache/api_op_PurchaseReservedCacheNodesOffering.go +++ b/service/elasticache/api_op_PurchaseReservedCacheNodesOffering.go @@ -136,9 +136,6 @@ func (c *Client) addOperationPurchaseReservedCacheNodesOfferingMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPurchaseReservedCacheNodesOfferingValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_RebalanceSlotsInGlobalReplicationGroup.go b/service/elasticache/api_op_RebalanceSlotsInGlobalReplicationGroup.go index 71f2ef9a1ba..7bec9d7598a 100644 --- a/service/elasticache/api_op_RebalanceSlotsInGlobalReplicationGroup.go +++ b/service/elasticache/api_op_RebalanceSlotsInGlobalReplicationGroup.go @@ -124,9 +124,6 @@ func (c *Client) addOperationRebalanceSlotsInGlobalReplicationGroupMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRebalanceSlotsInGlobalReplicationGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_RebootCacheCluster.go b/service/elasticache/api_op_RebootCacheCluster.go index fe98f27716e..d4a80afe6c8 100644 --- a/service/elasticache/api_op_RebootCacheCluster.go +++ b/service/elasticache/api_op_RebootCacheCluster.go @@ -137,9 +137,6 @@ func (c *Client) addOperationRebootCacheClusterMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRebootCacheClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_RemoveTagsFromResource.go b/service/elasticache/api_op_RemoveTagsFromResource.go index 69f233c0dd4..c299cc4a1dc 100644 --- a/service/elasticache/api_op_RemoveTagsFromResource.go +++ b/service/elasticache/api_op_RemoveTagsFromResource.go @@ -133,9 +133,6 @@ func (c *Client) addOperationRemoveTagsFromResourceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveTagsFromResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_ResetCacheParameterGroup.go b/service/elasticache/api_op_ResetCacheParameterGroup.go index 463b6fa8e7b..4d818dc96b9 100644 --- a/service/elasticache/api_op_ResetCacheParameterGroup.go +++ b/service/elasticache/api_op_ResetCacheParameterGroup.go @@ -134,9 +134,6 @@ func (c *Client) addOperationResetCacheParameterGroupMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResetCacheParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_RevokeCacheSecurityGroupIngress.go b/service/elasticache/api_op_RevokeCacheSecurityGroupIngress.go index c9cf6e4d7f5..1eeb12e9a4f 100644 --- a/service/elasticache/api_op_RevokeCacheSecurityGroupIngress.go +++ b/service/elasticache/api_op_RevokeCacheSecurityGroupIngress.go @@ -132,9 +132,6 @@ func (c *Client) addOperationRevokeCacheSecurityGroupIngressMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRevokeCacheSecurityGroupIngressValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_StartMigration.go b/service/elasticache/api_op_StartMigration.go index 34d1c330dbd..505a044ccdc 100644 --- a/service/elasticache/api_op_StartMigration.go +++ b/service/elasticache/api_op_StartMigration.go @@ -119,9 +119,6 @@ func (c *Client) addOperationStartMigrationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartMigrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_TestFailover.go b/service/elasticache/api_op_TestFailover.go index accb795395a..fd494ab1b5e 100644 --- a/service/elasticache/api_op_TestFailover.go +++ b/service/elasticache/api_op_TestFailover.go @@ -172,9 +172,6 @@ func (c *Client) addOperationTestFailoverMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTestFailoverValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/api_op_TestMigration.go b/service/elasticache/api_op_TestMigration.go index 482a4f11adf..5f046ee3e95 100644 --- a/service/elasticache/api_op_TestMigration.go +++ b/service/elasticache/api_op_TestMigration.go @@ -119,9 +119,6 @@ func (c *Client) addOperationTestMigrationMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTestMigrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticache/snapshot/api_op_AddTagsToResource.go.snap b/service/elasticache/snapshot/api_op_AddTagsToResource.go.snap index adf3a58c167..23e3b3e3966 100644 --- a/service/elasticache/snapshot/api_op_AddTagsToResource.go.snap +++ b/service/elasticache/snapshot/api_op_AddTagsToResource.go.snap @@ -14,7 +14,6 @@ AddTagsToResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_AuthorizeCacheSecurityGroupIngress.go.snap b/service/elasticache/snapshot/api_op_AuthorizeCacheSecurityGroupIngress.go.snap index 9f1caa44d4f..de340a49f1f 100644 --- a/service/elasticache/snapshot/api_op_AuthorizeCacheSecurityGroupIngress.go.snap +++ b/service/elasticache/snapshot/api_op_AuthorizeCacheSecurityGroupIngress.go.snap @@ -14,7 +14,6 @@ AuthorizeCacheSecurityGroupIngress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_BatchApplyUpdateAction.go.snap b/service/elasticache/snapshot/api_op_BatchApplyUpdateAction.go.snap index 4dd185e569a..a334ea5990a 100644 --- a/service/elasticache/snapshot/api_op_BatchApplyUpdateAction.go.snap +++ b/service/elasticache/snapshot/api_op_BatchApplyUpdateAction.go.snap @@ -14,7 +14,6 @@ BatchApplyUpdateAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_BatchStopUpdateAction.go.snap b/service/elasticache/snapshot/api_op_BatchStopUpdateAction.go.snap index c04da6cf4f7..11ca9614f8d 100644 --- a/service/elasticache/snapshot/api_op_BatchStopUpdateAction.go.snap +++ b/service/elasticache/snapshot/api_op_BatchStopUpdateAction.go.snap @@ -14,7 +14,6 @@ BatchStopUpdateAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_CompleteMigration.go.snap b/service/elasticache/snapshot/api_op_CompleteMigration.go.snap index 1d275c896a9..aa4e39b3446 100644 --- a/service/elasticache/snapshot/api_op_CompleteMigration.go.snap +++ b/service/elasticache/snapshot/api_op_CompleteMigration.go.snap @@ -14,7 +14,6 @@ CompleteMigration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_CopyServerlessCacheSnapshot.go.snap b/service/elasticache/snapshot/api_op_CopyServerlessCacheSnapshot.go.snap index 3efc691e277..a78fc4bc8fc 100644 --- a/service/elasticache/snapshot/api_op_CopyServerlessCacheSnapshot.go.snap +++ b/service/elasticache/snapshot/api_op_CopyServerlessCacheSnapshot.go.snap @@ -14,7 +14,6 @@ CopyServerlessCacheSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_CopySnapshot.go.snap b/service/elasticache/snapshot/api_op_CopySnapshot.go.snap index b6f4e30237a..cea2f803aa4 100644 --- a/service/elasticache/snapshot/api_op_CopySnapshot.go.snap +++ b/service/elasticache/snapshot/api_op_CopySnapshot.go.snap @@ -14,7 +14,6 @@ CopySnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_CreateCacheCluster.go.snap b/service/elasticache/snapshot/api_op_CreateCacheCluster.go.snap index b2cd3b1d4b4..14174174710 100644 --- a/service/elasticache/snapshot/api_op_CreateCacheCluster.go.snap +++ b/service/elasticache/snapshot/api_op_CreateCacheCluster.go.snap @@ -14,7 +14,6 @@ CreateCacheCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_CreateCacheParameterGroup.go.snap b/service/elasticache/snapshot/api_op_CreateCacheParameterGroup.go.snap index db5e2377bcd..2c4721c5503 100644 --- a/service/elasticache/snapshot/api_op_CreateCacheParameterGroup.go.snap +++ b/service/elasticache/snapshot/api_op_CreateCacheParameterGroup.go.snap @@ -14,7 +14,6 @@ CreateCacheParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_CreateCacheSecurityGroup.go.snap b/service/elasticache/snapshot/api_op_CreateCacheSecurityGroup.go.snap index 91a0761e8b0..bb7d8f96ccb 100644 --- a/service/elasticache/snapshot/api_op_CreateCacheSecurityGroup.go.snap +++ b/service/elasticache/snapshot/api_op_CreateCacheSecurityGroup.go.snap @@ -14,7 +14,6 @@ CreateCacheSecurityGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_CreateCacheSubnetGroup.go.snap b/service/elasticache/snapshot/api_op_CreateCacheSubnetGroup.go.snap index 4af8cfca7eb..f5521a3116a 100644 --- a/service/elasticache/snapshot/api_op_CreateCacheSubnetGroup.go.snap +++ b/service/elasticache/snapshot/api_op_CreateCacheSubnetGroup.go.snap @@ -14,7 +14,6 @@ CreateCacheSubnetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_CreateGlobalReplicationGroup.go.snap b/service/elasticache/snapshot/api_op_CreateGlobalReplicationGroup.go.snap index a8724ce077f..9cdb73870f3 100644 --- a/service/elasticache/snapshot/api_op_CreateGlobalReplicationGroup.go.snap +++ b/service/elasticache/snapshot/api_op_CreateGlobalReplicationGroup.go.snap @@ -14,7 +14,6 @@ CreateGlobalReplicationGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_CreateReplicationGroup.go.snap b/service/elasticache/snapshot/api_op_CreateReplicationGroup.go.snap index 6815459546a..4141ce3d659 100644 --- a/service/elasticache/snapshot/api_op_CreateReplicationGroup.go.snap +++ b/service/elasticache/snapshot/api_op_CreateReplicationGroup.go.snap @@ -14,7 +14,6 @@ CreateReplicationGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_CreateServerlessCache.go.snap b/service/elasticache/snapshot/api_op_CreateServerlessCache.go.snap index d790e746bb3..771db9d9de8 100644 --- a/service/elasticache/snapshot/api_op_CreateServerlessCache.go.snap +++ b/service/elasticache/snapshot/api_op_CreateServerlessCache.go.snap @@ -14,7 +14,6 @@ CreateServerlessCache Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_CreateServerlessCacheSnapshot.go.snap b/service/elasticache/snapshot/api_op_CreateServerlessCacheSnapshot.go.snap index 1290dd9a3be..d213fd64418 100644 --- a/service/elasticache/snapshot/api_op_CreateServerlessCacheSnapshot.go.snap +++ b/service/elasticache/snapshot/api_op_CreateServerlessCacheSnapshot.go.snap @@ -14,7 +14,6 @@ CreateServerlessCacheSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_CreateSnapshot.go.snap b/service/elasticache/snapshot/api_op_CreateSnapshot.go.snap index c5c9178ac0b..1a0713f514c 100644 --- a/service/elasticache/snapshot/api_op_CreateSnapshot.go.snap +++ b/service/elasticache/snapshot/api_op_CreateSnapshot.go.snap @@ -14,7 +14,6 @@ CreateSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_CreateUser.go.snap b/service/elasticache/snapshot/api_op_CreateUser.go.snap index bfcfbd2c853..d278c15935b 100644 --- a/service/elasticache/snapshot/api_op_CreateUser.go.snap +++ b/service/elasticache/snapshot/api_op_CreateUser.go.snap @@ -14,7 +14,6 @@ CreateUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_CreateUserGroup.go.snap b/service/elasticache/snapshot/api_op_CreateUserGroup.go.snap index d088fefd927..bc784d2a68c 100644 --- a/service/elasticache/snapshot/api_op_CreateUserGroup.go.snap +++ b/service/elasticache/snapshot/api_op_CreateUserGroup.go.snap @@ -14,7 +14,6 @@ CreateUserGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_DecreaseNodeGroupsInGlobalReplicationGroup.go.snap b/service/elasticache/snapshot/api_op_DecreaseNodeGroupsInGlobalReplicationGroup.go.snap index 209052fb849..a82e8a75592 100644 --- a/service/elasticache/snapshot/api_op_DecreaseNodeGroupsInGlobalReplicationGroup.go.snap +++ b/service/elasticache/snapshot/api_op_DecreaseNodeGroupsInGlobalReplicationGroup.go.snap @@ -14,7 +14,6 @@ DecreaseNodeGroupsInGlobalReplicationGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_DecreaseReplicaCount.go.snap b/service/elasticache/snapshot/api_op_DecreaseReplicaCount.go.snap index 7301571796f..ee3f5ca50e0 100644 --- a/service/elasticache/snapshot/api_op_DecreaseReplicaCount.go.snap +++ b/service/elasticache/snapshot/api_op_DecreaseReplicaCount.go.snap @@ -14,7 +14,6 @@ DecreaseReplicaCount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_DeleteCacheCluster.go.snap b/service/elasticache/snapshot/api_op_DeleteCacheCluster.go.snap index 1fd6fcc133f..821be31d7e1 100644 --- a/service/elasticache/snapshot/api_op_DeleteCacheCluster.go.snap +++ b/service/elasticache/snapshot/api_op_DeleteCacheCluster.go.snap @@ -14,7 +14,6 @@ DeleteCacheCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_DeleteCacheParameterGroup.go.snap b/service/elasticache/snapshot/api_op_DeleteCacheParameterGroup.go.snap index 69f4ab57ea4..8bc8ae3f80e 100644 --- a/service/elasticache/snapshot/api_op_DeleteCacheParameterGroup.go.snap +++ b/service/elasticache/snapshot/api_op_DeleteCacheParameterGroup.go.snap @@ -14,7 +14,6 @@ DeleteCacheParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_DeleteCacheSecurityGroup.go.snap b/service/elasticache/snapshot/api_op_DeleteCacheSecurityGroup.go.snap index 47d9eda9f19..90daaeba29a 100644 --- a/service/elasticache/snapshot/api_op_DeleteCacheSecurityGroup.go.snap +++ b/service/elasticache/snapshot/api_op_DeleteCacheSecurityGroup.go.snap @@ -14,7 +14,6 @@ DeleteCacheSecurityGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_DeleteCacheSubnetGroup.go.snap b/service/elasticache/snapshot/api_op_DeleteCacheSubnetGroup.go.snap index da1ccd881a4..4645af6720f 100644 --- a/service/elasticache/snapshot/api_op_DeleteCacheSubnetGroup.go.snap +++ b/service/elasticache/snapshot/api_op_DeleteCacheSubnetGroup.go.snap @@ -14,7 +14,6 @@ DeleteCacheSubnetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_DeleteGlobalReplicationGroup.go.snap b/service/elasticache/snapshot/api_op_DeleteGlobalReplicationGroup.go.snap index 524c26a8bb4..82beb765179 100644 --- a/service/elasticache/snapshot/api_op_DeleteGlobalReplicationGroup.go.snap +++ b/service/elasticache/snapshot/api_op_DeleteGlobalReplicationGroup.go.snap @@ -14,7 +14,6 @@ DeleteGlobalReplicationGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_DeleteReplicationGroup.go.snap b/service/elasticache/snapshot/api_op_DeleteReplicationGroup.go.snap index b1c2b5bacb5..b4387c6f04a 100644 --- a/service/elasticache/snapshot/api_op_DeleteReplicationGroup.go.snap +++ b/service/elasticache/snapshot/api_op_DeleteReplicationGroup.go.snap @@ -14,7 +14,6 @@ DeleteReplicationGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_DeleteServerlessCache.go.snap b/service/elasticache/snapshot/api_op_DeleteServerlessCache.go.snap index 17e15833965..5c5fa84be1d 100644 --- a/service/elasticache/snapshot/api_op_DeleteServerlessCache.go.snap +++ b/service/elasticache/snapshot/api_op_DeleteServerlessCache.go.snap @@ -14,7 +14,6 @@ DeleteServerlessCache Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_DeleteServerlessCacheSnapshot.go.snap b/service/elasticache/snapshot/api_op_DeleteServerlessCacheSnapshot.go.snap index e335d899ebf..7e89d2e5be4 100644 --- a/service/elasticache/snapshot/api_op_DeleteServerlessCacheSnapshot.go.snap +++ b/service/elasticache/snapshot/api_op_DeleteServerlessCacheSnapshot.go.snap @@ -14,7 +14,6 @@ DeleteServerlessCacheSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_DeleteSnapshot.go.snap b/service/elasticache/snapshot/api_op_DeleteSnapshot.go.snap index f4046d31f87..054fe5bb9b5 100644 --- a/service/elasticache/snapshot/api_op_DeleteSnapshot.go.snap +++ b/service/elasticache/snapshot/api_op_DeleteSnapshot.go.snap @@ -14,7 +14,6 @@ DeleteSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_DeleteUser.go.snap b/service/elasticache/snapshot/api_op_DeleteUser.go.snap index 43834da9879..eda6e5fae30 100644 --- a/service/elasticache/snapshot/api_op_DeleteUser.go.snap +++ b/service/elasticache/snapshot/api_op_DeleteUser.go.snap @@ -14,7 +14,6 @@ DeleteUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_DeleteUserGroup.go.snap b/service/elasticache/snapshot/api_op_DeleteUserGroup.go.snap index 9632443de59..5a9a18159a2 100644 --- a/service/elasticache/snapshot/api_op_DeleteUserGroup.go.snap +++ b/service/elasticache/snapshot/api_op_DeleteUserGroup.go.snap @@ -14,7 +14,6 @@ DeleteUserGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_DescribeCacheClusters.go.snap b/service/elasticache/snapshot/api_op_DescribeCacheClusters.go.snap index 243e6a2e592..88cedc08662 100644 --- a/service/elasticache/snapshot/api_op_DescribeCacheClusters.go.snap +++ b/service/elasticache/snapshot/api_op_DescribeCacheClusters.go.snap @@ -13,7 +13,6 @@ DescribeCacheClusters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_DescribeCacheEngineVersions.go.snap b/service/elasticache/snapshot/api_op_DescribeCacheEngineVersions.go.snap index 71287fdaa7b..b309e0cb471 100644 --- a/service/elasticache/snapshot/api_op_DescribeCacheEngineVersions.go.snap +++ b/service/elasticache/snapshot/api_op_DescribeCacheEngineVersions.go.snap @@ -13,7 +13,6 @@ DescribeCacheEngineVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_DescribeCacheParameterGroups.go.snap b/service/elasticache/snapshot/api_op_DescribeCacheParameterGroups.go.snap index e9ba5c782f6..50419f16f86 100644 --- a/service/elasticache/snapshot/api_op_DescribeCacheParameterGroups.go.snap +++ b/service/elasticache/snapshot/api_op_DescribeCacheParameterGroups.go.snap @@ -13,7 +13,6 @@ DescribeCacheParameterGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_DescribeCacheParameters.go.snap b/service/elasticache/snapshot/api_op_DescribeCacheParameters.go.snap index 4e024f33efe..adc0211c10e 100644 --- a/service/elasticache/snapshot/api_op_DescribeCacheParameters.go.snap +++ b/service/elasticache/snapshot/api_op_DescribeCacheParameters.go.snap @@ -14,7 +14,6 @@ DescribeCacheParameters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_DescribeCacheSecurityGroups.go.snap b/service/elasticache/snapshot/api_op_DescribeCacheSecurityGroups.go.snap index 0b19d88d673..53a50f2401a 100644 --- a/service/elasticache/snapshot/api_op_DescribeCacheSecurityGroups.go.snap +++ b/service/elasticache/snapshot/api_op_DescribeCacheSecurityGroups.go.snap @@ -13,7 +13,6 @@ DescribeCacheSecurityGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_DescribeCacheSubnetGroups.go.snap b/service/elasticache/snapshot/api_op_DescribeCacheSubnetGroups.go.snap index 067a39533f1..32f455fceba 100644 --- a/service/elasticache/snapshot/api_op_DescribeCacheSubnetGroups.go.snap +++ b/service/elasticache/snapshot/api_op_DescribeCacheSubnetGroups.go.snap @@ -13,7 +13,6 @@ DescribeCacheSubnetGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_DescribeEngineDefaultParameters.go.snap b/service/elasticache/snapshot/api_op_DescribeEngineDefaultParameters.go.snap index c9c3f3d5cd6..b39afa4622c 100644 --- a/service/elasticache/snapshot/api_op_DescribeEngineDefaultParameters.go.snap +++ b/service/elasticache/snapshot/api_op_DescribeEngineDefaultParameters.go.snap @@ -14,7 +14,6 @@ DescribeEngineDefaultParameters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_DescribeEvents.go.snap b/service/elasticache/snapshot/api_op_DescribeEvents.go.snap index c63aa6daa0b..36f0ef6bea9 100644 --- a/service/elasticache/snapshot/api_op_DescribeEvents.go.snap +++ b/service/elasticache/snapshot/api_op_DescribeEvents.go.snap @@ -13,7 +13,6 @@ DescribeEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_DescribeGlobalReplicationGroups.go.snap b/service/elasticache/snapshot/api_op_DescribeGlobalReplicationGroups.go.snap index e1966be8b15..29b41fdc8c2 100644 --- a/service/elasticache/snapshot/api_op_DescribeGlobalReplicationGroups.go.snap +++ b/service/elasticache/snapshot/api_op_DescribeGlobalReplicationGroups.go.snap @@ -13,7 +13,6 @@ DescribeGlobalReplicationGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_DescribeReplicationGroups.go.snap b/service/elasticache/snapshot/api_op_DescribeReplicationGroups.go.snap index 7770460fa6f..7f24cf3af0a 100644 --- a/service/elasticache/snapshot/api_op_DescribeReplicationGroups.go.snap +++ b/service/elasticache/snapshot/api_op_DescribeReplicationGroups.go.snap @@ -13,7 +13,6 @@ DescribeReplicationGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_DescribeReservedCacheNodes.go.snap b/service/elasticache/snapshot/api_op_DescribeReservedCacheNodes.go.snap index 956edd7587b..392eb4fcc9b 100644 --- a/service/elasticache/snapshot/api_op_DescribeReservedCacheNodes.go.snap +++ b/service/elasticache/snapshot/api_op_DescribeReservedCacheNodes.go.snap @@ -13,7 +13,6 @@ DescribeReservedCacheNodes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_DescribeReservedCacheNodesOfferings.go.snap b/service/elasticache/snapshot/api_op_DescribeReservedCacheNodesOfferings.go.snap index 794ff601ad6..d065e577ca9 100644 --- a/service/elasticache/snapshot/api_op_DescribeReservedCacheNodesOfferings.go.snap +++ b/service/elasticache/snapshot/api_op_DescribeReservedCacheNodesOfferings.go.snap @@ -13,7 +13,6 @@ DescribeReservedCacheNodesOfferings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_DescribeServerlessCacheSnapshots.go.snap b/service/elasticache/snapshot/api_op_DescribeServerlessCacheSnapshots.go.snap index 02a79ec1338..78fcc35613f 100644 --- a/service/elasticache/snapshot/api_op_DescribeServerlessCacheSnapshots.go.snap +++ b/service/elasticache/snapshot/api_op_DescribeServerlessCacheSnapshots.go.snap @@ -13,7 +13,6 @@ DescribeServerlessCacheSnapshots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_DescribeServerlessCaches.go.snap b/service/elasticache/snapshot/api_op_DescribeServerlessCaches.go.snap index d4a3e1aa8eb..2e8fee8a1da 100644 --- a/service/elasticache/snapshot/api_op_DescribeServerlessCaches.go.snap +++ b/service/elasticache/snapshot/api_op_DescribeServerlessCaches.go.snap @@ -13,7 +13,6 @@ DescribeServerlessCaches Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_DescribeServiceUpdates.go.snap b/service/elasticache/snapshot/api_op_DescribeServiceUpdates.go.snap index ab08a0fd7a5..fe31973bd3a 100644 --- a/service/elasticache/snapshot/api_op_DescribeServiceUpdates.go.snap +++ b/service/elasticache/snapshot/api_op_DescribeServiceUpdates.go.snap @@ -13,7 +13,6 @@ DescribeServiceUpdates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_DescribeSnapshots.go.snap b/service/elasticache/snapshot/api_op_DescribeSnapshots.go.snap index 8b006c734ed..03fd8bd6409 100644 --- a/service/elasticache/snapshot/api_op_DescribeSnapshots.go.snap +++ b/service/elasticache/snapshot/api_op_DescribeSnapshots.go.snap @@ -13,7 +13,6 @@ DescribeSnapshots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_DescribeUpdateActions.go.snap b/service/elasticache/snapshot/api_op_DescribeUpdateActions.go.snap index cd9cb6977c3..413d203454f 100644 --- a/service/elasticache/snapshot/api_op_DescribeUpdateActions.go.snap +++ b/service/elasticache/snapshot/api_op_DescribeUpdateActions.go.snap @@ -13,7 +13,6 @@ DescribeUpdateActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_DescribeUserGroups.go.snap b/service/elasticache/snapshot/api_op_DescribeUserGroups.go.snap index 47d204c1369..176b70518e9 100644 --- a/service/elasticache/snapshot/api_op_DescribeUserGroups.go.snap +++ b/service/elasticache/snapshot/api_op_DescribeUserGroups.go.snap @@ -13,7 +13,6 @@ DescribeUserGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_DescribeUsers.go.snap b/service/elasticache/snapshot/api_op_DescribeUsers.go.snap index 5426fc171f5..c384ad1048b 100644 --- a/service/elasticache/snapshot/api_op_DescribeUsers.go.snap +++ b/service/elasticache/snapshot/api_op_DescribeUsers.go.snap @@ -14,7 +14,6 @@ DescribeUsers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_DisassociateGlobalReplicationGroup.go.snap b/service/elasticache/snapshot/api_op_DisassociateGlobalReplicationGroup.go.snap index d93827a2e7f..061aa134df1 100644 --- a/service/elasticache/snapshot/api_op_DisassociateGlobalReplicationGroup.go.snap +++ b/service/elasticache/snapshot/api_op_DisassociateGlobalReplicationGroup.go.snap @@ -14,7 +14,6 @@ DisassociateGlobalReplicationGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_ExportServerlessCacheSnapshot.go.snap b/service/elasticache/snapshot/api_op_ExportServerlessCacheSnapshot.go.snap index 86b02295831..b541dd16ec9 100644 --- a/service/elasticache/snapshot/api_op_ExportServerlessCacheSnapshot.go.snap +++ b/service/elasticache/snapshot/api_op_ExportServerlessCacheSnapshot.go.snap @@ -14,7 +14,6 @@ ExportServerlessCacheSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_FailoverGlobalReplicationGroup.go.snap b/service/elasticache/snapshot/api_op_FailoverGlobalReplicationGroup.go.snap index 81076474428..94c76b0edf5 100644 --- a/service/elasticache/snapshot/api_op_FailoverGlobalReplicationGroup.go.snap +++ b/service/elasticache/snapshot/api_op_FailoverGlobalReplicationGroup.go.snap @@ -14,7 +14,6 @@ FailoverGlobalReplicationGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_IncreaseNodeGroupsInGlobalReplicationGroup.go.snap b/service/elasticache/snapshot/api_op_IncreaseNodeGroupsInGlobalReplicationGroup.go.snap index 0db78dac811..af40958a3e6 100644 --- a/service/elasticache/snapshot/api_op_IncreaseNodeGroupsInGlobalReplicationGroup.go.snap +++ b/service/elasticache/snapshot/api_op_IncreaseNodeGroupsInGlobalReplicationGroup.go.snap @@ -14,7 +14,6 @@ IncreaseNodeGroupsInGlobalReplicationGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_IncreaseReplicaCount.go.snap b/service/elasticache/snapshot/api_op_IncreaseReplicaCount.go.snap index 0f6f22f2088..0bdfd8e9870 100644 --- a/service/elasticache/snapshot/api_op_IncreaseReplicaCount.go.snap +++ b/service/elasticache/snapshot/api_op_IncreaseReplicaCount.go.snap @@ -14,7 +14,6 @@ IncreaseReplicaCount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_ListAllowedNodeTypeModifications.go.snap b/service/elasticache/snapshot/api_op_ListAllowedNodeTypeModifications.go.snap index c226406eafa..89cd584fffc 100644 --- a/service/elasticache/snapshot/api_op_ListAllowedNodeTypeModifications.go.snap +++ b/service/elasticache/snapshot/api_op_ListAllowedNodeTypeModifications.go.snap @@ -13,7 +13,6 @@ ListAllowedNodeTypeModifications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_ListTagsForResource.go.snap b/service/elasticache/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/elasticache/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/elasticache/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_ModifyCacheCluster.go.snap b/service/elasticache/snapshot/api_op_ModifyCacheCluster.go.snap index 18d78228368..570f7451493 100644 --- a/service/elasticache/snapshot/api_op_ModifyCacheCluster.go.snap +++ b/service/elasticache/snapshot/api_op_ModifyCacheCluster.go.snap @@ -14,7 +14,6 @@ ModifyCacheCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_ModifyCacheParameterGroup.go.snap b/service/elasticache/snapshot/api_op_ModifyCacheParameterGroup.go.snap index 973ecb491d9..2c44abb6395 100644 --- a/service/elasticache/snapshot/api_op_ModifyCacheParameterGroup.go.snap +++ b/service/elasticache/snapshot/api_op_ModifyCacheParameterGroup.go.snap @@ -14,7 +14,6 @@ ModifyCacheParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_ModifyCacheSubnetGroup.go.snap b/service/elasticache/snapshot/api_op_ModifyCacheSubnetGroup.go.snap index c6a92520d81..7e69d3519b6 100644 --- a/service/elasticache/snapshot/api_op_ModifyCacheSubnetGroup.go.snap +++ b/service/elasticache/snapshot/api_op_ModifyCacheSubnetGroup.go.snap @@ -14,7 +14,6 @@ ModifyCacheSubnetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_ModifyGlobalReplicationGroup.go.snap b/service/elasticache/snapshot/api_op_ModifyGlobalReplicationGroup.go.snap index f66a4f18752..7e4fbe32c73 100644 --- a/service/elasticache/snapshot/api_op_ModifyGlobalReplicationGroup.go.snap +++ b/service/elasticache/snapshot/api_op_ModifyGlobalReplicationGroup.go.snap @@ -14,7 +14,6 @@ ModifyGlobalReplicationGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_ModifyReplicationGroup.go.snap b/service/elasticache/snapshot/api_op_ModifyReplicationGroup.go.snap index 1990d8a1103..06989d98592 100644 --- a/service/elasticache/snapshot/api_op_ModifyReplicationGroup.go.snap +++ b/service/elasticache/snapshot/api_op_ModifyReplicationGroup.go.snap @@ -14,7 +14,6 @@ ModifyReplicationGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_ModifyReplicationGroupShardConfiguration.go.snap b/service/elasticache/snapshot/api_op_ModifyReplicationGroupShardConfiguration.go.snap index 3d4c4e70b1f..9294ba2c4ec 100644 --- a/service/elasticache/snapshot/api_op_ModifyReplicationGroupShardConfiguration.go.snap +++ b/service/elasticache/snapshot/api_op_ModifyReplicationGroupShardConfiguration.go.snap @@ -14,7 +14,6 @@ ModifyReplicationGroupShardConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_ModifyServerlessCache.go.snap b/service/elasticache/snapshot/api_op_ModifyServerlessCache.go.snap index 5f793170884..7d02a856792 100644 --- a/service/elasticache/snapshot/api_op_ModifyServerlessCache.go.snap +++ b/service/elasticache/snapshot/api_op_ModifyServerlessCache.go.snap @@ -14,7 +14,6 @@ ModifyServerlessCache Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_ModifyUser.go.snap b/service/elasticache/snapshot/api_op_ModifyUser.go.snap index 2892231b02a..aa0c9640a45 100644 --- a/service/elasticache/snapshot/api_op_ModifyUser.go.snap +++ b/service/elasticache/snapshot/api_op_ModifyUser.go.snap @@ -14,7 +14,6 @@ ModifyUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_ModifyUserGroup.go.snap b/service/elasticache/snapshot/api_op_ModifyUserGroup.go.snap index 1ab14510ca6..3e313b6e6c0 100644 --- a/service/elasticache/snapshot/api_op_ModifyUserGroup.go.snap +++ b/service/elasticache/snapshot/api_op_ModifyUserGroup.go.snap @@ -14,7 +14,6 @@ ModifyUserGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_PurchaseReservedCacheNodesOffering.go.snap b/service/elasticache/snapshot/api_op_PurchaseReservedCacheNodesOffering.go.snap index d6201eded10..88c1b32b6ca 100644 --- a/service/elasticache/snapshot/api_op_PurchaseReservedCacheNodesOffering.go.snap +++ b/service/elasticache/snapshot/api_op_PurchaseReservedCacheNodesOffering.go.snap @@ -14,7 +14,6 @@ PurchaseReservedCacheNodesOffering Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_RebalanceSlotsInGlobalReplicationGroup.go.snap b/service/elasticache/snapshot/api_op_RebalanceSlotsInGlobalReplicationGroup.go.snap index fe5f86e3437..4eae6e965ea 100644 --- a/service/elasticache/snapshot/api_op_RebalanceSlotsInGlobalReplicationGroup.go.snap +++ b/service/elasticache/snapshot/api_op_RebalanceSlotsInGlobalReplicationGroup.go.snap @@ -14,7 +14,6 @@ RebalanceSlotsInGlobalReplicationGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_RebootCacheCluster.go.snap b/service/elasticache/snapshot/api_op_RebootCacheCluster.go.snap index 36bec34c8a5..c7e683cfd6d 100644 --- a/service/elasticache/snapshot/api_op_RebootCacheCluster.go.snap +++ b/service/elasticache/snapshot/api_op_RebootCacheCluster.go.snap @@ -14,7 +14,6 @@ RebootCacheCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_RemoveTagsFromResource.go.snap b/service/elasticache/snapshot/api_op_RemoveTagsFromResource.go.snap index e43df9156ac..48a29e492e9 100644 --- a/service/elasticache/snapshot/api_op_RemoveTagsFromResource.go.snap +++ b/service/elasticache/snapshot/api_op_RemoveTagsFromResource.go.snap @@ -14,7 +14,6 @@ RemoveTagsFromResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_ResetCacheParameterGroup.go.snap b/service/elasticache/snapshot/api_op_ResetCacheParameterGroup.go.snap index 4491ffbc8cf..92d6fb51e6a 100644 --- a/service/elasticache/snapshot/api_op_ResetCacheParameterGroup.go.snap +++ b/service/elasticache/snapshot/api_op_ResetCacheParameterGroup.go.snap @@ -14,7 +14,6 @@ ResetCacheParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_RevokeCacheSecurityGroupIngress.go.snap b/service/elasticache/snapshot/api_op_RevokeCacheSecurityGroupIngress.go.snap index e58882d82bb..5bf55578599 100644 --- a/service/elasticache/snapshot/api_op_RevokeCacheSecurityGroupIngress.go.snap +++ b/service/elasticache/snapshot/api_op_RevokeCacheSecurityGroupIngress.go.snap @@ -14,7 +14,6 @@ RevokeCacheSecurityGroupIngress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_StartMigration.go.snap b/service/elasticache/snapshot/api_op_StartMigration.go.snap index 8ecd0267b26..039f7a54e18 100644 --- a/service/elasticache/snapshot/api_op_StartMigration.go.snap +++ b/service/elasticache/snapshot/api_op_StartMigration.go.snap @@ -14,7 +14,6 @@ StartMigration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_TestFailover.go.snap b/service/elasticache/snapshot/api_op_TestFailover.go.snap index f1291bf291b..022cf4e06da 100644 --- a/service/elasticache/snapshot/api_op_TestFailover.go.snap +++ b/service/elasticache/snapshot/api_op_TestFailover.go.snap @@ -14,7 +14,6 @@ TestFailover Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticache/snapshot/api_op_TestMigration.go.snap b/service/elasticache/snapshot/api_op_TestMigration.go.snap index 65d004e91df..e894e80e66c 100644 --- a/service/elasticache/snapshot/api_op_TestMigration.go.snap +++ b/service/elasticache/snapshot/api_op_TestMigration.go.snap @@ -14,7 +14,6 @@ TestMigration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/api_client.go b/service/elasticbeanstalk/api_client.go index 2000615cafa..ac547a2feb7 100644 --- a/service/elasticbeanstalk/api_client.go +++ b/service/elasticbeanstalk/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/elasticbeanstalk/api_op_AbortEnvironmentUpdate.go b/service/elasticbeanstalk/api_op_AbortEnvironmentUpdate.go index e35040fdd7d..637b05937a7 100644 --- a/service/elasticbeanstalk/api_op_AbortEnvironmentUpdate.go +++ b/service/elasticbeanstalk/api_op_AbortEnvironmentUpdate.go @@ -111,9 +111,6 @@ func (c *Client) addOperationAbortEnvironmentUpdateMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAbortEnvironmentUpdate(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_ApplyEnvironmentManagedAction.go b/service/elasticbeanstalk/api_op_ApplyEnvironmentManagedAction.go index df005e871fe..e5df4c0969a 100644 --- a/service/elasticbeanstalk/api_op_ApplyEnvironmentManagedAction.go +++ b/service/elasticbeanstalk/api_op_ApplyEnvironmentManagedAction.go @@ -131,9 +131,6 @@ func (c *Client) addOperationApplyEnvironmentManagedActionMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpApplyEnvironmentManagedActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_AssociateEnvironmentOperationsRole.go b/service/elasticbeanstalk/api_op_AssociateEnvironmentOperationsRole.go index 4e9a39d3d6a..150f91d0d01 100644 --- a/service/elasticbeanstalk/api_op_AssociateEnvironmentOperationsRole.go +++ b/service/elasticbeanstalk/api_op_AssociateEnvironmentOperationsRole.go @@ -119,9 +119,6 @@ func (c *Client) addOperationAssociateEnvironmentOperationsRoleMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateEnvironmentOperationsRoleValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_CheckDNSAvailability.go b/service/elasticbeanstalk/api_op_CheckDNSAvailability.go index 3e28800f08f..dd1e55f3870 100644 --- a/service/elasticbeanstalk/api_op_CheckDNSAvailability.go +++ b/service/elasticbeanstalk/api_op_CheckDNSAvailability.go @@ -120,9 +120,6 @@ func (c *Client) addOperationCheckDNSAvailabilityMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCheckDNSAvailabilityValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_ComposeEnvironments.go b/service/elasticbeanstalk/api_op_ComposeEnvironments.go index 6535c1411e3..71838586a06 100644 --- a/service/elasticbeanstalk/api_op_ComposeEnvironments.go +++ b/service/elasticbeanstalk/api_op_ComposeEnvironments.go @@ -136,9 +136,6 @@ func (c *Client) addOperationComposeEnvironmentsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opComposeEnvironments(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_CreateApplication.go b/service/elasticbeanstalk/api_op_CreateApplication.go index 534326a057c..8620adcf657 100644 --- a/service/elasticbeanstalk/api_op_CreateApplication.go +++ b/service/elasticbeanstalk/api_op_CreateApplication.go @@ -128,9 +128,6 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_CreateApplicationVersion.go b/service/elasticbeanstalk/api_op_CreateApplicationVersion.go index 1d874ce313f..521f6ef37d6 100644 --- a/service/elasticbeanstalk/api_op_CreateApplicationVersion.go +++ b/service/elasticbeanstalk/api_op_CreateApplicationVersion.go @@ -184,9 +184,6 @@ func (c *Client) addOperationCreateApplicationVersionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateApplicationVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_CreateConfigurationTemplate.go b/service/elasticbeanstalk/api_op_CreateConfigurationTemplate.go index bfeff77c8ce..e47e452a5dd 100644 --- a/service/elasticbeanstalk/api_op_CreateConfigurationTemplate.go +++ b/service/elasticbeanstalk/api_op_CreateConfigurationTemplate.go @@ -238,9 +238,6 @@ func (c *Client) addOperationCreateConfigurationTemplateMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConfigurationTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_CreateEnvironment.go b/service/elasticbeanstalk/api_op_CreateEnvironment.go index 9d3fd75634e..0d27a611de6 100644 --- a/service/elasticbeanstalk/api_op_CreateEnvironment.go +++ b/service/elasticbeanstalk/api_op_CreateEnvironment.go @@ -304,9 +304,6 @@ func (c *Client) addOperationCreateEnvironmentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEnvironmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_CreatePlatformVersion.go b/service/elasticbeanstalk/api_op_CreatePlatformVersion.go index 30dc3ee0fe8..0aba3ed70a6 100644 --- a/service/elasticbeanstalk/api_op_CreatePlatformVersion.go +++ b/service/elasticbeanstalk/api_op_CreatePlatformVersion.go @@ -138,9 +138,6 @@ func (c *Client) addOperationCreatePlatformVersionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePlatformVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_CreateStorageLocation.go b/service/elasticbeanstalk/api_op_CreateStorageLocation.go index 29f033f5dba..2253bce10d7 100644 --- a/service/elasticbeanstalk/api_op_CreateStorageLocation.go +++ b/service/elasticbeanstalk/api_op_CreateStorageLocation.go @@ -110,9 +110,6 @@ func (c *Client) addOperationCreateStorageLocationMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateStorageLocation(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DeleteApplication.go b/service/elasticbeanstalk/api_op_DeleteApplication.go index 267640629fd..3eeea8324a1 100644 --- a/service/elasticbeanstalk/api_op_DeleteApplication.go +++ b/service/elasticbeanstalk/api_op_DeleteApplication.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DeleteApplicationVersion.go b/service/elasticbeanstalk/api_op_DeleteApplicationVersion.go index 98229d7c6a7..ad8f104301d 100644 --- a/service/elasticbeanstalk/api_op_DeleteApplicationVersion.go +++ b/service/elasticbeanstalk/api_op_DeleteApplicationVersion.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteApplicationVersionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DeleteConfigurationTemplate.go b/service/elasticbeanstalk/api_op_DeleteConfigurationTemplate.go index 3f7cd6f6775..ecad1ab88c3 100644 --- a/service/elasticbeanstalk/api_op_DeleteConfigurationTemplate.go +++ b/service/elasticbeanstalk/api_op_DeleteConfigurationTemplate.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteConfigurationTemplateMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConfigurationTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DeleteEnvironmentConfiguration.go b/service/elasticbeanstalk/api_op_DeleteEnvironmentConfiguration.go index 89e94016209..ca6bb6481ad 100644 --- a/service/elasticbeanstalk/api_op_DeleteEnvironmentConfiguration.go +++ b/service/elasticbeanstalk/api_op_DeleteEnvironmentConfiguration.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteEnvironmentConfigurationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEnvironmentConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DeletePlatformVersion.go b/service/elasticbeanstalk/api_op_DeletePlatformVersion.go index 02de2caf08b..2b1364daa3d 100644 --- a/service/elasticbeanstalk/api_op_DeletePlatformVersion.go +++ b/service/elasticbeanstalk/api_op_DeletePlatformVersion.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeletePlatformVersionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePlatformVersion(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DescribeAccountAttributes.go b/service/elasticbeanstalk/api_op_DescribeAccountAttributes.go index df57e2845f4..f68d9fba9df 100644 --- a/service/elasticbeanstalk/api_op_DescribeAccountAttributes.go +++ b/service/elasticbeanstalk/api_op_DescribeAccountAttributes.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDescribeAccountAttributesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountAttributes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DescribeApplicationVersions.go b/service/elasticbeanstalk/api_op_DescribeApplicationVersions.go index 0b31eda7c14..f0b0e87a404 100644 --- a/service/elasticbeanstalk/api_op_DescribeApplicationVersions.go +++ b/service/elasticbeanstalk/api_op_DescribeApplicationVersions.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeApplicationVersionsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeApplicationVersions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DescribeApplications.go b/service/elasticbeanstalk/api_op_DescribeApplications.go index 115d08876b3..1bb8a486502 100644 --- a/service/elasticbeanstalk/api_op_DescribeApplications.go +++ b/service/elasticbeanstalk/api_op_DescribeApplications.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDescribeApplicationsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeApplications(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DescribeConfigurationOptions.go b/service/elasticbeanstalk/api_op_DescribeConfigurationOptions.go index f07c1c17000..31ca729c81d 100644 --- a/service/elasticbeanstalk/api_op_DescribeConfigurationOptions.go +++ b/service/elasticbeanstalk/api_op_DescribeConfigurationOptions.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDescribeConfigurationOptionsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConfigurationOptions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DescribeConfigurationSettings.go b/service/elasticbeanstalk/api_op_DescribeConfigurationSettings.go index 5952cc2138c..ccc91588fd1 100644 --- a/service/elasticbeanstalk/api_op_DescribeConfigurationSettings.go +++ b/service/elasticbeanstalk/api_op_DescribeConfigurationSettings.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDescribeConfigurationSettingsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeConfigurationSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DescribeEnvironmentHealth.go b/service/elasticbeanstalk/api_op_DescribeEnvironmentHealth.go index 103146c9558..2fb474bbf83 100644 --- a/service/elasticbeanstalk/api_op_DescribeEnvironmentHealth.go +++ b/service/elasticbeanstalk/api_op_DescribeEnvironmentHealth.go @@ -153,9 +153,6 @@ func (c *Client) addOperationDescribeEnvironmentHealthMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEnvironmentHealth(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DescribeEnvironmentManagedActionHistory.go b/service/elasticbeanstalk/api_op_DescribeEnvironmentManagedActionHistory.go index bfa56eab313..f0ded8788a2 100644 --- a/service/elasticbeanstalk/api_op_DescribeEnvironmentManagedActionHistory.go +++ b/service/elasticbeanstalk/api_op_DescribeEnvironmentManagedActionHistory.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeEnvironmentManagedActionHistoryMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEnvironmentManagedActionHistory(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DescribeEnvironmentManagedActions.go b/service/elasticbeanstalk/api_op_DescribeEnvironmentManagedActions.go index 68b1ff10fae..2fef5a7449a 100644 --- a/service/elasticbeanstalk/api_op_DescribeEnvironmentManagedActions.go +++ b/service/elasticbeanstalk/api_op_DescribeEnvironmentManagedActions.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDescribeEnvironmentManagedActionsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEnvironmentManagedActions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DescribeEnvironmentResources.go b/service/elasticbeanstalk/api_op_DescribeEnvironmentResources.go index 286c036e394..8b8b90b14bc 100644 --- a/service/elasticbeanstalk/api_op_DescribeEnvironmentResources.go +++ b/service/elasticbeanstalk/api_op_DescribeEnvironmentResources.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeEnvironmentResourcesMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEnvironmentResources(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DescribeEnvironments.go b/service/elasticbeanstalk/api_op_DescribeEnvironments.go index 49955b9278b..3c38a2b3d8e 100644 --- a/service/elasticbeanstalk/api_op_DescribeEnvironments.go +++ b/service/elasticbeanstalk/api_op_DescribeEnvironments.go @@ -158,9 +158,6 @@ func (c *Client) addOperationDescribeEnvironmentsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEnvironments(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DescribeEvents.go b/service/elasticbeanstalk/api_op_DescribeEvents.go index 53571797fba..38474835ccf 100644 --- a/service/elasticbeanstalk/api_op_DescribeEvents.go +++ b/service/elasticbeanstalk/api_op_DescribeEvents.go @@ -164,9 +164,6 @@ func (c *Client) addOperationDescribeEventsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEvents(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DescribeInstancesHealth.go b/service/elasticbeanstalk/api_op_DescribeInstancesHealth.go index b9d77fb7985..87d9ca207e9 100644 --- a/service/elasticbeanstalk/api_op_DescribeInstancesHealth.go +++ b/service/elasticbeanstalk/api_op_DescribeInstancesHealth.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDescribeInstancesHealthMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstancesHealth(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DescribePlatformVersion.go b/service/elasticbeanstalk/api_op_DescribePlatformVersion.go index de6c1652611..8aca87da378 100644 --- a/service/elasticbeanstalk/api_op_DescribePlatformVersion.go +++ b/service/elasticbeanstalk/api_op_DescribePlatformVersion.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDescribePlatformVersionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePlatformVersion(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_DisassociateEnvironmentOperationsRole.go b/service/elasticbeanstalk/api_op_DisassociateEnvironmentOperationsRole.go index ae9ed9192ae..b20cc682ec4 100644 --- a/service/elasticbeanstalk/api_op_DisassociateEnvironmentOperationsRole.go +++ b/service/elasticbeanstalk/api_op_DisassociateEnvironmentOperationsRole.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDisassociateEnvironmentOperationsRoleMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateEnvironmentOperationsRoleValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_ListAvailableSolutionStacks.go b/service/elasticbeanstalk/api_op_ListAvailableSolutionStacks.go index f5bcc22fb98..ff734761c06 100644 --- a/service/elasticbeanstalk/api_op_ListAvailableSolutionStacks.go +++ b/service/elasticbeanstalk/api_op_ListAvailableSolutionStacks.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListAvailableSolutionStacksMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAvailableSolutionStacks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_ListPlatformBranches.go b/service/elasticbeanstalk/api_op_ListPlatformBranches.go index 67dcae46336..02b50c384fa 100644 --- a/service/elasticbeanstalk/api_op_ListPlatformBranches.go +++ b/service/elasticbeanstalk/api_op_ListPlatformBranches.go @@ -158,9 +158,6 @@ func (c *Client) addOperationListPlatformBranchesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPlatformBranches(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_ListPlatformVersions.go b/service/elasticbeanstalk/api_op_ListPlatformVersions.go index 83629df306a..dc29b9528eb 100644 --- a/service/elasticbeanstalk/api_op_ListPlatformVersions.go +++ b/service/elasticbeanstalk/api_op_ListPlatformVersions.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListPlatformVersionsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPlatformVersions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_ListTagsForResource.go b/service/elasticbeanstalk/api_op_ListTagsForResource.go index cbdd3dab6ff..f513469d96e 100644 --- a/service/elasticbeanstalk/api_op_ListTagsForResource.go +++ b/service/elasticbeanstalk/api_op_ListTagsForResource.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_RebuildEnvironment.go b/service/elasticbeanstalk/api_op_RebuildEnvironment.go index 63984d083f5..ceb3ce69651 100644 --- a/service/elasticbeanstalk/api_op_RebuildEnvironment.go +++ b/service/elasticbeanstalk/api_op_RebuildEnvironment.go @@ -117,9 +117,6 @@ func (c *Client) addOperationRebuildEnvironmentMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRebuildEnvironment(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_RequestEnvironmentInfo.go b/service/elasticbeanstalk/api_op_RequestEnvironmentInfo.go index 145ccabac57..469d5c14337 100644 --- a/service/elasticbeanstalk/api_op_RequestEnvironmentInfo.go +++ b/service/elasticbeanstalk/api_op_RequestEnvironmentInfo.go @@ -144,9 +144,6 @@ func (c *Client) addOperationRequestEnvironmentInfoMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRequestEnvironmentInfoValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_RestartAppServer.go b/service/elasticbeanstalk/api_op_RestartAppServer.go index a0ccb309bea..1c2342e1d2e 100644 --- a/service/elasticbeanstalk/api_op_RestartAppServer.go +++ b/service/elasticbeanstalk/api_op_RestartAppServer.go @@ -117,9 +117,6 @@ func (c *Client) addOperationRestartAppServerMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRestartAppServer(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_RetrieveEnvironmentInfo.go b/service/elasticbeanstalk/api_op_RetrieveEnvironmentInfo.go index ac930f90faa..d2cbefd2c10 100644 --- a/service/elasticbeanstalk/api_op_RetrieveEnvironmentInfo.go +++ b/service/elasticbeanstalk/api_op_RetrieveEnvironmentInfo.go @@ -136,9 +136,6 @@ func (c *Client) addOperationRetrieveEnvironmentInfoMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRetrieveEnvironmentInfoValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_SwapEnvironmentCNAMEs.go b/service/elasticbeanstalk/api_op_SwapEnvironmentCNAMEs.go index a49d3e3981b..130b502cee6 100644 --- a/service/elasticbeanstalk/api_op_SwapEnvironmentCNAMEs.go +++ b/service/elasticbeanstalk/api_op_SwapEnvironmentCNAMEs.go @@ -131,9 +131,6 @@ func (c *Client) addOperationSwapEnvironmentCNAMEsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSwapEnvironmentCNAMEs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_TerminateEnvironment.go b/service/elasticbeanstalk/api_op_TerminateEnvironment.go index 18c5c556dc2..fa2a31e00ce 100644 --- a/service/elasticbeanstalk/api_op_TerminateEnvironment.go +++ b/service/elasticbeanstalk/api_op_TerminateEnvironment.go @@ -247,9 +247,6 @@ func (c *Client) addOperationTerminateEnvironmentMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTerminateEnvironment(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_UpdateApplication.go b/service/elasticbeanstalk/api_op_UpdateApplication.go index fff393be78a..70b81a59cfc 100644 --- a/service/elasticbeanstalk/api_op_UpdateApplication.go +++ b/service/elasticbeanstalk/api_op_UpdateApplication.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_UpdateApplicationResourceLifecycle.go b/service/elasticbeanstalk/api_op_UpdateApplicationResourceLifecycle.go index b4a164f94cf..964acff68f8 100644 --- a/service/elasticbeanstalk/api_op_UpdateApplicationResourceLifecycle.go +++ b/service/elasticbeanstalk/api_op_UpdateApplicationResourceLifecycle.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdateApplicationResourceLifecycleMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApplicationResourceLifecycleValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_UpdateApplicationVersion.go b/service/elasticbeanstalk/api_op_UpdateApplicationVersion.go index f0ba8f102f7..7ac3d15db5b 100644 --- a/service/elasticbeanstalk/api_op_UpdateApplicationVersion.go +++ b/service/elasticbeanstalk/api_op_UpdateApplicationVersion.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateApplicationVersionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApplicationVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_UpdateConfigurationTemplate.go b/service/elasticbeanstalk/api_op_UpdateConfigurationTemplate.go index cb2a25d5917..340a9a880fe 100644 --- a/service/elasticbeanstalk/api_op_UpdateConfigurationTemplate.go +++ b/service/elasticbeanstalk/api_op_UpdateConfigurationTemplate.go @@ -187,9 +187,6 @@ func (c *Client) addOperationUpdateConfigurationTemplateMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConfigurationTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_UpdateEnvironment.go b/service/elasticbeanstalk/api_op_UpdateEnvironment.go index 38dd5f77bc7..09193b4947e 100644 --- a/service/elasticbeanstalk/api_op_UpdateEnvironment.go +++ b/service/elasticbeanstalk/api_op_UpdateEnvironment.go @@ -284,9 +284,6 @@ func (c *Client) addOperationUpdateEnvironmentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEnvironment(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_UpdateTagsForResource.go b/service/elasticbeanstalk/api_op_UpdateTagsForResource.go index 363ce807072..501b6a46ca6 100644 --- a/service/elasticbeanstalk/api_op_UpdateTagsForResource.go +++ b/service/elasticbeanstalk/api_op_UpdateTagsForResource.go @@ -141,9 +141,6 @@ func (c *Client) addOperationUpdateTagsForResourceMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/api_op_ValidateConfigurationSettings.go b/service/elasticbeanstalk/api_op_ValidateConfigurationSettings.go index 2dd845dd109..217fb51404f 100644 --- a/service/elasticbeanstalk/api_op_ValidateConfigurationSettings.go +++ b/service/elasticbeanstalk/api_op_ValidateConfigurationSettings.go @@ -134,9 +134,6 @@ func (c *Client) addOperationValidateConfigurationSettingsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpValidateConfigurationSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticbeanstalk/snapshot/api_op_AbortEnvironmentUpdate.go.snap b/service/elasticbeanstalk/snapshot/api_op_AbortEnvironmentUpdate.go.snap index 9318f75250f..e7825bab4a7 100644 --- a/service/elasticbeanstalk/snapshot/api_op_AbortEnvironmentUpdate.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_AbortEnvironmentUpdate.go.snap @@ -13,7 +13,6 @@ AbortEnvironmentUpdate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_ApplyEnvironmentManagedAction.go.snap b/service/elasticbeanstalk/snapshot/api_op_ApplyEnvironmentManagedAction.go.snap index 70d9ab958e0..ee0f522956c 100644 --- a/service/elasticbeanstalk/snapshot/api_op_ApplyEnvironmentManagedAction.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_ApplyEnvironmentManagedAction.go.snap @@ -14,7 +14,6 @@ ApplyEnvironmentManagedAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_AssociateEnvironmentOperationsRole.go.snap b/service/elasticbeanstalk/snapshot/api_op_AssociateEnvironmentOperationsRole.go.snap index 558a6e5b2d4..497eb74b649 100644 --- a/service/elasticbeanstalk/snapshot/api_op_AssociateEnvironmentOperationsRole.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_AssociateEnvironmentOperationsRole.go.snap @@ -14,7 +14,6 @@ AssociateEnvironmentOperationsRole Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_CheckDNSAvailability.go.snap b/service/elasticbeanstalk/snapshot/api_op_CheckDNSAvailability.go.snap index cad3186a21c..fa53dd8c362 100644 --- a/service/elasticbeanstalk/snapshot/api_op_CheckDNSAvailability.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_CheckDNSAvailability.go.snap @@ -14,7 +14,6 @@ CheckDNSAvailability Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_ComposeEnvironments.go.snap b/service/elasticbeanstalk/snapshot/api_op_ComposeEnvironments.go.snap index 5c3d37ca764..f76db49a8b3 100644 --- a/service/elasticbeanstalk/snapshot/api_op_ComposeEnvironments.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_ComposeEnvironments.go.snap @@ -13,7 +13,6 @@ ComposeEnvironments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_CreateApplication.go.snap b/service/elasticbeanstalk/snapshot/api_op_CreateApplication.go.snap index 503ca240c75..7174d11f956 100644 --- a/service/elasticbeanstalk/snapshot/api_op_CreateApplication.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_CreateApplication.go.snap @@ -14,7 +14,6 @@ CreateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_CreateApplicationVersion.go.snap b/service/elasticbeanstalk/snapshot/api_op_CreateApplicationVersion.go.snap index 1bb4f791891..55a4a438d0f 100644 --- a/service/elasticbeanstalk/snapshot/api_op_CreateApplicationVersion.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_CreateApplicationVersion.go.snap @@ -14,7 +14,6 @@ CreateApplicationVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_CreateConfigurationTemplate.go.snap b/service/elasticbeanstalk/snapshot/api_op_CreateConfigurationTemplate.go.snap index 8dfbd20d8b1..cc89d7e2192 100644 --- a/service/elasticbeanstalk/snapshot/api_op_CreateConfigurationTemplate.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_CreateConfigurationTemplate.go.snap @@ -14,7 +14,6 @@ CreateConfigurationTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_CreateEnvironment.go.snap b/service/elasticbeanstalk/snapshot/api_op_CreateEnvironment.go.snap index b57bec0043d..04b7f27479d 100644 --- a/service/elasticbeanstalk/snapshot/api_op_CreateEnvironment.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_CreateEnvironment.go.snap @@ -14,7 +14,6 @@ CreateEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_CreatePlatformVersion.go.snap b/service/elasticbeanstalk/snapshot/api_op_CreatePlatformVersion.go.snap index 25c9932a33f..49fc2ec4ebc 100644 --- a/service/elasticbeanstalk/snapshot/api_op_CreatePlatformVersion.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_CreatePlatformVersion.go.snap @@ -14,7 +14,6 @@ CreatePlatformVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_CreateStorageLocation.go.snap b/service/elasticbeanstalk/snapshot/api_op_CreateStorageLocation.go.snap index b42dd9eb000..faf14bdc09b 100644 --- a/service/elasticbeanstalk/snapshot/api_op_CreateStorageLocation.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_CreateStorageLocation.go.snap @@ -13,7 +13,6 @@ CreateStorageLocation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_DeleteApplication.go.snap b/service/elasticbeanstalk/snapshot/api_op_DeleteApplication.go.snap index 80790355ed5..ffda37a527f 100644 --- a/service/elasticbeanstalk/snapshot/api_op_DeleteApplication.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_DeleteApplication.go.snap @@ -14,7 +14,6 @@ DeleteApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_DeleteApplicationVersion.go.snap b/service/elasticbeanstalk/snapshot/api_op_DeleteApplicationVersion.go.snap index 4a0ed4781d1..98eca12a147 100644 --- a/service/elasticbeanstalk/snapshot/api_op_DeleteApplicationVersion.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_DeleteApplicationVersion.go.snap @@ -14,7 +14,6 @@ DeleteApplicationVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_DeleteConfigurationTemplate.go.snap b/service/elasticbeanstalk/snapshot/api_op_DeleteConfigurationTemplate.go.snap index db45cf8a02d..22aa881de6a 100644 --- a/service/elasticbeanstalk/snapshot/api_op_DeleteConfigurationTemplate.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_DeleteConfigurationTemplate.go.snap @@ -14,7 +14,6 @@ DeleteConfigurationTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_DeleteEnvironmentConfiguration.go.snap b/service/elasticbeanstalk/snapshot/api_op_DeleteEnvironmentConfiguration.go.snap index 5673f6f4544..20c4f1e7251 100644 --- a/service/elasticbeanstalk/snapshot/api_op_DeleteEnvironmentConfiguration.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_DeleteEnvironmentConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteEnvironmentConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_DeletePlatformVersion.go.snap b/service/elasticbeanstalk/snapshot/api_op_DeletePlatformVersion.go.snap index d96c3b52029..5540df0360f 100644 --- a/service/elasticbeanstalk/snapshot/api_op_DeletePlatformVersion.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_DeletePlatformVersion.go.snap @@ -13,7 +13,6 @@ DeletePlatformVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_DescribeAccountAttributes.go.snap b/service/elasticbeanstalk/snapshot/api_op_DescribeAccountAttributes.go.snap index 8289af53fde..f099fff933a 100644 --- a/service/elasticbeanstalk/snapshot/api_op_DescribeAccountAttributes.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_DescribeAccountAttributes.go.snap @@ -13,7 +13,6 @@ DescribeAccountAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_DescribeApplicationVersions.go.snap b/service/elasticbeanstalk/snapshot/api_op_DescribeApplicationVersions.go.snap index 6a64dc7f68e..5778b38f7ed 100644 --- a/service/elasticbeanstalk/snapshot/api_op_DescribeApplicationVersions.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_DescribeApplicationVersions.go.snap @@ -13,7 +13,6 @@ DescribeApplicationVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_DescribeApplications.go.snap b/service/elasticbeanstalk/snapshot/api_op_DescribeApplications.go.snap index 0c53965f2bd..5cc77594f9f 100644 --- a/service/elasticbeanstalk/snapshot/api_op_DescribeApplications.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_DescribeApplications.go.snap @@ -13,7 +13,6 @@ DescribeApplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_DescribeConfigurationOptions.go.snap b/service/elasticbeanstalk/snapshot/api_op_DescribeConfigurationOptions.go.snap index f4e22f5c078..73ac99a43f0 100644 --- a/service/elasticbeanstalk/snapshot/api_op_DescribeConfigurationOptions.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_DescribeConfigurationOptions.go.snap @@ -13,7 +13,6 @@ DescribeConfigurationOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_DescribeConfigurationSettings.go.snap b/service/elasticbeanstalk/snapshot/api_op_DescribeConfigurationSettings.go.snap index a934011eedb..90ba34748e3 100644 --- a/service/elasticbeanstalk/snapshot/api_op_DescribeConfigurationSettings.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_DescribeConfigurationSettings.go.snap @@ -14,7 +14,6 @@ DescribeConfigurationSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_DescribeEnvironmentHealth.go.snap b/service/elasticbeanstalk/snapshot/api_op_DescribeEnvironmentHealth.go.snap index d95e422ef54..5cc8855d109 100644 --- a/service/elasticbeanstalk/snapshot/api_op_DescribeEnvironmentHealth.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_DescribeEnvironmentHealth.go.snap @@ -13,7 +13,6 @@ DescribeEnvironmentHealth Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_DescribeEnvironmentManagedActionHistory.go.snap b/service/elasticbeanstalk/snapshot/api_op_DescribeEnvironmentManagedActionHistory.go.snap index 304d1c80730..125e13b467b 100644 --- a/service/elasticbeanstalk/snapshot/api_op_DescribeEnvironmentManagedActionHistory.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_DescribeEnvironmentManagedActionHistory.go.snap @@ -13,7 +13,6 @@ DescribeEnvironmentManagedActionHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_DescribeEnvironmentManagedActions.go.snap b/service/elasticbeanstalk/snapshot/api_op_DescribeEnvironmentManagedActions.go.snap index b20353cb81d..63cda581525 100644 --- a/service/elasticbeanstalk/snapshot/api_op_DescribeEnvironmentManagedActions.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_DescribeEnvironmentManagedActions.go.snap @@ -13,7 +13,6 @@ DescribeEnvironmentManagedActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_DescribeEnvironmentResources.go.snap b/service/elasticbeanstalk/snapshot/api_op_DescribeEnvironmentResources.go.snap index 1f3a003eb9d..44ba72b033b 100644 --- a/service/elasticbeanstalk/snapshot/api_op_DescribeEnvironmentResources.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_DescribeEnvironmentResources.go.snap @@ -13,7 +13,6 @@ DescribeEnvironmentResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_DescribeEnvironments.go.snap b/service/elasticbeanstalk/snapshot/api_op_DescribeEnvironments.go.snap index 605e5244194..456682dd593 100644 --- a/service/elasticbeanstalk/snapshot/api_op_DescribeEnvironments.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_DescribeEnvironments.go.snap @@ -13,7 +13,6 @@ DescribeEnvironments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_DescribeEvents.go.snap b/service/elasticbeanstalk/snapshot/api_op_DescribeEvents.go.snap index c63aa6daa0b..36f0ef6bea9 100644 --- a/service/elasticbeanstalk/snapshot/api_op_DescribeEvents.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_DescribeEvents.go.snap @@ -13,7 +13,6 @@ DescribeEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_DescribeInstancesHealth.go.snap b/service/elasticbeanstalk/snapshot/api_op_DescribeInstancesHealth.go.snap index 72aedd072a5..d7dc531465e 100644 --- a/service/elasticbeanstalk/snapshot/api_op_DescribeInstancesHealth.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_DescribeInstancesHealth.go.snap @@ -13,7 +13,6 @@ DescribeInstancesHealth Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_DescribePlatformVersion.go.snap b/service/elasticbeanstalk/snapshot/api_op_DescribePlatformVersion.go.snap index 0667e56c364..ecece31b6f6 100644 --- a/service/elasticbeanstalk/snapshot/api_op_DescribePlatformVersion.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_DescribePlatformVersion.go.snap @@ -13,7 +13,6 @@ DescribePlatformVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_DisassociateEnvironmentOperationsRole.go.snap b/service/elasticbeanstalk/snapshot/api_op_DisassociateEnvironmentOperationsRole.go.snap index ec18664e6e7..fe02785df86 100644 --- a/service/elasticbeanstalk/snapshot/api_op_DisassociateEnvironmentOperationsRole.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_DisassociateEnvironmentOperationsRole.go.snap @@ -14,7 +14,6 @@ DisassociateEnvironmentOperationsRole Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_ListAvailableSolutionStacks.go.snap b/service/elasticbeanstalk/snapshot/api_op_ListAvailableSolutionStacks.go.snap index 1c600e2a575..ec5199270e0 100644 --- a/service/elasticbeanstalk/snapshot/api_op_ListAvailableSolutionStacks.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_ListAvailableSolutionStacks.go.snap @@ -13,7 +13,6 @@ ListAvailableSolutionStacks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_ListPlatformBranches.go.snap b/service/elasticbeanstalk/snapshot/api_op_ListPlatformBranches.go.snap index 87cf61b4af3..7278bc01743 100644 --- a/service/elasticbeanstalk/snapshot/api_op_ListPlatformBranches.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_ListPlatformBranches.go.snap @@ -13,7 +13,6 @@ ListPlatformBranches Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_ListPlatformVersions.go.snap b/service/elasticbeanstalk/snapshot/api_op_ListPlatformVersions.go.snap index 87036db29b0..2506bba4725 100644 --- a/service/elasticbeanstalk/snapshot/api_op_ListPlatformVersions.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_ListPlatformVersions.go.snap @@ -13,7 +13,6 @@ ListPlatformVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_ListTagsForResource.go.snap b/service/elasticbeanstalk/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/elasticbeanstalk/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_RebuildEnvironment.go.snap b/service/elasticbeanstalk/snapshot/api_op_RebuildEnvironment.go.snap index 2e5c06e1117..dfc06786626 100644 --- a/service/elasticbeanstalk/snapshot/api_op_RebuildEnvironment.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_RebuildEnvironment.go.snap @@ -13,7 +13,6 @@ RebuildEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_RequestEnvironmentInfo.go.snap b/service/elasticbeanstalk/snapshot/api_op_RequestEnvironmentInfo.go.snap index 57760d85dda..1743621c6ec 100644 --- a/service/elasticbeanstalk/snapshot/api_op_RequestEnvironmentInfo.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_RequestEnvironmentInfo.go.snap @@ -14,7 +14,6 @@ RequestEnvironmentInfo Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_RestartAppServer.go.snap b/service/elasticbeanstalk/snapshot/api_op_RestartAppServer.go.snap index a65f9938880..b4e7de4731e 100644 --- a/service/elasticbeanstalk/snapshot/api_op_RestartAppServer.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_RestartAppServer.go.snap @@ -13,7 +13,6 @@ RestartAppServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_RetrieveEnvironmentInfo.go.snap b/service/elasticbeanstalk/snapshot/api_op_RetrieveEnvironmentInfo.go.snap index 7a59902576f..cbf03641d2e 100644 --- a/service/elasticbeanstalk/snapshot/api_op_RetrieveEnvironmentInfo.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_RetrieveEnvironmentInfo.go.snap @@ -14,7 +14,6 @@ RetrieveEnvironmentInfo Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_SwapEnvironmentCNAMEs.go.snap b/service/elasticbeanstalk/snapshot/api_op_SwapEnvironmentCNAMEs.go.snap index e0faa2c50be..057e1d58153 100644 --- a/service/elasticbeanstalk/snapshot/api_op_SwapEnvironmentCNAMEs.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_SwapEnvironmentCNAMEs.go.snap @@ -13,7 +13,6 @@ SwapEnvironmentCNAMEs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_TerminateEnvironment.go.snap b/service/elasticbeanstalk/snapshot/api_op_TerminateEnvironment.go.snap index cecdff45dd7..2885c30d327 100644 --- a/service/elasticbeanstalk/snapshot/api_op_TerminateEnvironment.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_TerminateEnvironment.go.snap @@ -13,7 +13,6 @@ TerminateEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_UpdateApplication.go.snap b/service/elasticbeanstalk/snapshot/api_op_UpdateApplication.go.snap index 5ec4c02edff..d4e2fa4991a 100644 --- a/service/elasticbeanstalk/snapshot/api_op_UpdateApplication.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_UpdateApplication.go.snap @@ -14,7 +14,6 @@ UpdateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_UpdateApplicationResourceLifecycle.go.snap b/service/elasticbeanstalk/snapshot/api_op_UpdateApplicationResourceLifecycle.go.snap index 925bc4f2314..dc14b3f6b69 100644 --- a/service/elasticbeanstalk/snapshot/api_op_UpdateApplicationResourceLifecycle.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_UpdateApplicationResourceLifecycle.go.snap @@ -14,7 +14,6 @@ UpdateApplicationResourceLifecycle Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_UpdateApplicationVersion.go.snap b/service/elasticbeanstalk/snapshot/api_op_UpdateApplicationVersion.go.snap index 576b587eead..0bf43f65c64 100644 --- a/service/elasticbeanstalk/snapshot/api_op_UpdateApplicationVersion.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_UpdateApplicationVersion.go.snap @@ -14,7 +14,6 @@ UpdateApplicationVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_UpdateConfigurationTemplate.go.snap b/service/elasticbeanstalk/snapshot/api_op_UpdateConfigurationTemplate.go.snap index 7c7d4c08355..fe7426f7da0 100644 --- a/service/elasticbeanstalk/snapshot/api_op_UpdateConfigurationTemplate.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_UpdateConfigurationTemplate.go.snap @@ -14,7 +14,6 @@ UpdateConfigurationTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_UpdateEnvironment.go.snap b/service/elasticbeanstalk/snapshot/api_op_UpdateEnvironment.go.snap index a1219a7ff45..f6184c67646 100644 --- a/service/elasticbeanstalk/snapshot/api_op_UpdateEnvironment.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_UpdateEnvironment.go.snap @@ -13,7 +13,6 @@ UpdateEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_UpdateTagsForResource.go.snap b/service/elasticbeanstalk/snapshot/api_op_UpdateTagsForResource.go.snap index f7257364b09..9916126ff56 100644 --- a/service/elasticbeanstalk/snapshot/api_op_UpdateTagsForResource.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_UpdateTagsForResource.go.snap @@ -14,7 +14,6 @@ UpdateTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticbeanstalk/snapshot/api_op_ValidateConfigurationSettings.go.snap b/service/elasticbeanstalk/snapshot/api_op_ValidateConfigurationSettings.go.snap index cb9268aa294..c6bf0f51156 100644 --- a/service/elasticbeanstalk/snapshot/api_op_ValidateConfigurationSettings.go.snap +++ b/service/elasticbeanstalk/snapshot/api_op_ValidateConfigurationSettings.go.snap @@ -14,7 +14,6 @@ ValidateConfigurationSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticinference/api_client.go b/service/elasticinference/api_client.go index 87ee6093611..297d0b1cf93 100644 --- a/service/elasticinference/api_client.go +++ b/service/elasticinference/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/elasticinference/api_op_DescribeAcceleratorOfferings.go b/service/elasticinference/api_op_DescribeAcceleratorOfferings.go index d4e28cbe8d2..7b6426a8b43 100644 --- a/service/elasticinference/api_op_DescribeAcceleratorOfferings.go +++ b/service/elasticinference/api_op_DescribeAcceleratorOfferings.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeAcceleratorOfferingsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAcceleratorOfferingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticinference/api_op_DescribeAcceleratorTypes.go b/service/elasticinference/api_op_DescribeAcceleratorTypes.go index 74871772453..d913ba6245a 100644 --- a/service/elasticinference/api_op_DescribeAcceleratorTypes.go +++ b/service/elasticinference/api_op_DescribeAcceleratorTypes.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDescribeAcceleratorTypesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAcceleratorTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticinference/api_op_DescribeAccelerators.go b/service/elasticinference/api_op_DescribeAccelerators.go index 1ab11993149..06469167092 100644 --- a/service/elasticinference/api_op_DescribeAccelerators.go +++ b/service/elasticinference/api_op_DescribeAccelerators.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeAcceleratorsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccelerators(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticinference/api_op_ListTagsForResource.go b/service/elasticinference/api_op_ListTagsForResource.go index 6c6126bfd38..f474ae5d39f 100644 --- a/service/elasticinference/api_op_ListTagsForResource.go +++ b/service/elasticinference/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticinference/api_op_TagResource.go b/service/elasticinference/api_op_TagResource.go index 386bc845e81..91583d201fc 100644 --- a/service/elasticinference/api_op_TagResource.go +++ b/service/elasticinference/api_op_TagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticinference/api_op_UntagResource.go b/service/elasticinference/api_op_UntagResource.go index 71af3b2bbed..afe3d98f5b0 100644 --- a/service/elasticinference/api_op_UntagResource.go +++ b/service/elasticinference/api_op_UntagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticinference/snapshot/api_op_DescribeAcceleratorOfferings.go.snap b/service/elasticinference/snapshot/api_op_DescribeAcceleratorOfferings.go.snap index 465d71a01d5..1562f84bbd2 100644 --- a/service/elasticinference/snapshot/api_op_DescribeAcceleratorOfferings.go.snap +++ b/service/elasticinference/snapshot/api_op_DescribeAcceleratorOfferings.go.snap @@ -14,7 +14,6 @@ DescribeAcceleratorOfferings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticinference/snapshot/api_op_DescribeAcceleratorTypes.go.snap b/service/elasticinference/snapshot/api_op_DescribeAcceleratorTypes.go.snap index 3b7c3b21bea..51e00003279 100644 --- a/service/elasticinference/snapshot/api_op_DescribeAcceleratorTypes.go.snap +++ b/service/elasticinference/snapshot/api_op_DescribeAcceleratorTypes.go.snap @@ -13,7 +13,6 @@ DescribeAcceleratorTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticinference/snapshot/api_op_DescribeAccelerators.go.snap b/service/elasticinference/snapshot/api_op_DescribeAccelerators.go.snap index 92e0bcd99d6..a9c8fef027c 100644 --- a/service/elasticinference/snapshot/api_op_DescribeAccelerators.go.snap +++ b/service/elasticinference/snapshot/api_op_DescribeAccelerators.go.snap @@ -13,7 +13,6 @@ DescribeAccelerators Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticinference/snapshot/api_op_ListTagsForResource.go.snap b/service/elasticinference/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/elasticinference/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/elasticinference/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticinference/snapshot/api_op_TagResource.go.snap b/service/elasticinference/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/elasticinference/snapshot/api_op_TagResource.go.snap +++ b/service/elasticinference/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticinference/snapshot/api_op_UntagResource.go.snap b/service/elasticinference/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/elasticinference/snapshot/api_op_UntagResource.go.snap +++ b/service/elasticinference/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancing/api_client.go b/service/elasticloadbalancing/api_client.go index 613917edcff..efc8a9ba030 100644 --- a/service/elasticloadbalancing/api_client.go +++ b/service/elasticloadbalancing/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/elasticloadbalancing/api_op_AddTags.go b/service/elasticloadbalancing/api_op_AddTags.go index ed59c86d809..356ad16bc6c 100644 --- a/service/elasticloadbalancing/api_op_AddTags.go +++ b/service/elasticloadbalancing/api_op_AddTags.go @@ -123,9 +123,6 @@ func (c *Client) addOperationAddTagsMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_ApplySecurityGroupsToLoadBalancer.go b/service/elasticloadbalancing/api_op_ApplySecurityGroupsToLoadBalancer.go index 50f5deade6e..54c1dae60e8 100644 --- a/service/elasticloadbalancing/api_op_ApplySecurityGroupsToLoadBalancer.go +++ b/service/elasticloadbalancing/api_op_ApplySecurityGroupsToLoadBalancer.go @@ -125,9 +125,6 @@ func (c *Client) addOperationApplySecurityGroupsToLoadBalancerMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpApplySecurityGroupsToLoadBalancerValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_AttachLoadBalancerToSubnets.go b/service/elasticloadbalancing/api_op_AttachLoadBalancerToSubnets.go index 01aa1f2570f..fc713c98c51 100644 --- a/service/elasticloadbalancing/api_op_AttachLoadBalancerToSubnets.go +++ b/service/elasticloadbalancing/api_op_AttachLoadBalancerToSubnets.go @@ -125,9 +125,6 @@ func (c *Client) addOperationAttachLoadBalancerToSubnetsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAttachLoadBalancerToSubnetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_ConfigureHealthCheck.go b/service/elasticloadbalancing/api_op_ConfigureHealthCheck.go index e74bb42b367..c5f63e8a2cd 100644 --- a/service/elasticloadbalancing/api_op_ConfigureHealthCheck.go +++ b/service/elasticloadbalancing/api_op_ConfigureHealthCheck.go @@ -124,9 +124,6 @@ func (c *Client) addOperationConfigureHealthCheckMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpConfigureHealthCheckValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_CreateAppCookieStickinessPolicy.go b/service/elasticloadbalancing/api_op_CreateAppCookieStickinessPolicy.go index 00875c135eb..6fe84770e3f 100644 --- a/service/elasticloadbalancing/api_op_CreateAppCookieStickinessPolicy.go +++ b/service/elasticloadbalancing/api_op_CreateAppCookieStickinessPolicy.go @@ -136,9 +136,6 @@ func (c *Client) addOperationCreateAppCookieStickinessPolicyMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAppCookieStickinessPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_CreateLBCookieStickinessPolicy.go b/service/elasticloadbalancing/api_op_CreateLBCookieStickinessPolicy.go index 37b74345b0b..bda3040cbf1 100644 --- a/service/elasticloadbalancing/api_op_CreateLBCookieStickinessPolicy.go +++ b/service/elasticloadbalancing/api_op_CreateLBCookieStickinessPolicy.go @@ -138,9 +138,6 @@ func (c *Client) addOperationCreateLBCookieStickinessPolicyMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLBCookieStickinessPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_CreateLoadBalancer.go b/service/elasticloadbalancing/api_op_CreateLoadBalancer.go index 638d1752c42..0e29add9c71 100644 --- a/service/elasticloadbalancing/api_op_CreateLoadBalancer.go +++ b/service/elasticloadbalancing/api_op_CreateLoadBalancer.go @@ -174,9 +174,6 @@ func (c *Client) addOperationCreateLoadBalancerMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLoadBalancerValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_CreateLoadBalancerListeners.go b/service/elasticloadbalancing/api_op_CreateLoadBalancerListeners.go index 15e5d6e1a3f..abf0f5b6013 100644 --- a/service/elasticloadbalancing/api_op_CreateLoadBalancerListeners.go +++ b/service/elasticloadbalancing/api_op_CreateLoadBalancerListeners.go @@ -122,9 +122,6 @@ func (c *Client) addOperationCreateLoadBalancerListenersMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLoadBalancerListenersValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_CreateLoadBalancerPolicy.go b/service/elasticloadbalancing/api_op_CreateLoadBalancerPolicy.go index e143b63ab43..2199389291c 100644 --- a/service/elasticloadbalancing/api_op_CreateLoadBalancerPolicy.go +++ b/service/elasticloadbalancing/api_op_CreateLoadBalancerPolicy.go @@ -127,9 +127,6 @@ func (c *Client) addOperationCreateLoadBalancerPolicyMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLoadBalancerPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_DeleteLoadBalancer.go b/service/elasticloadbalancing/api_op_DeleteLoadBalancer.go index 3244bf8bd73..a78a52c0113 100644 --- a/service/elasticloadbalancing/api_op_DeleteLoadBalancer.go +++ b/service/elasticloadbalancing/api_op_DeleteLoadBalancer.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteLoadBalancerMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLoadBalancerValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_DeleteLoadBalancerListeners.go b/service/elasticloadbalancing/api_op_DeleteLoadBalancerListeners.go index 305ed4b7465..96939579c8c 100644 --- a/service/elasticloadbalancing/api_op_DeleteLoadBalancerListeners.go +++ b/service/elasticloadbalancing/api_op_DeleteLoadBalancerListeners.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteLoadBalancerListenersMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLoadBalancerListenersValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_DeleteLoadBalancerPolicy.go b/service/elasticloadbalancing/api_op_DeleteLoadBalancerPolicy.go index 881060c7ed3..8b392741d7c 100644 --- a/service/elasticloadbalancing/api_op_DeleteLoadBalancerPolicy.go +++ b/service/elasticloadbalancing/api_op_DeleteLoadBalancerPolicy.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteLoadBalancerPolicyMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLoadBalancerPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_DeregisterInstancesFromLoadBalancer.go b/service/elasticloadbalancing/api_op_DeregisterInstancesFromLoadBalancer.go index 7dac6d783f3..6d42a955340 100644 --- a/service/elasticloadbalancing/api_op_DeregisterInstancesFromLoadBalancer.go +++ b/service/elasticloadbalancing/api_op_DeregisterInstancesFromLoadBalancer.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDeregisterInstancesFromLoadBalancerMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterInstancesFromLoadBalancerValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_DescribeAccountLimits.go b/service/elasticloadbalancing/api_op_DescribeAccountLimits.go index 48628aefa2b..643fe3b2f92 100644 --- a/service/elasticloadbalancing/api_op_DescribeAccountLimits.go +++ b/service/elasticloadbalancing/api_op_DescribeAccountLimits.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeAccountLimitsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountLimits(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_DescribeInstanceHealth.go b/service/elasticloadbalancing/api_op_DescribeInstanceHealth.go index 4ec54d4a96e..9207768c2a0 100644 --- a/service/elasticloadbalancing/api_op_DescribeInstanceHealth.go +++ b/service/elasticloadbalancing/api_op_DescribeInstanceHealth.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeInstanceHealthMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeInstanceHealthValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_DescribeLoadBalancerAttributes.go b/service/elasticloadbalancing/api_op_DescribeLoadBalancerAttributes.go index 52b9ba00e39..3048922440a 100644 --- a/service/elasticloadbalancing/api_op_DescribeLoadBalancerAttributes.go +++ b/service/elasticloadbalancing/api_op_DescribeLoadBalancerAttributes.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribeLoadBalancerAttributesMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeLoadBalancerAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_DescribeLoadBalancerPolicies.go b/service/elasticloadbalancing/api_op_DescribeLoadBalancerPolicies.go index 14c6b4e5de0..35d039039a1 100644 --- a/service/elasticloadbalancing/api_op_DescribeLoadBalancerPolicies.go +++ b/service/elasticloadbalancing/api_op_DescribeLoadBalancerPolicies.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeLoadBalancerPoliciesMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLoadBalancerPolicies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_DescribeLoadBalancerPolicyTypes.go b/service/elasticloadbalancing/api_op_DescribeLoadBalancerPolicyTypes.go index 0663c166c12..62c509c7652 100644 --- a/service/elasticloadbalancing/api_op_DescribeLoadBalancerPolicyTypes.go +++ b/service/elasticloadbalancing/api_op_DescribeLoadBalancerPolicyTypes.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeLoadBalancerPolicyTypesMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLoadBalancerPolicyTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_DescribeLoadBalancers.go b/service/elasticloadbalancing/api_op_DescribeLoadBalancers.go index 35d9b23722e..22eb6b7ce7c 100644 --- a/service/elasticloadbalancing/api_op_DescribeLoadBalancers.go +++ b/service/elasticloadbalancing/api_op_DescribeLoadBalancers.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribeLoadBalancersMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLoadBalancers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_DescribeTags.go b/service/elasticloadbalancing/api_op_DescribeTags.go index 853c7143faf..00c8c35885a 100644 --- a/service/elasticloadbalancing/api_op_DescribeTags.go +++ b/service/elasticloadbalancing/api_op_DescribeTags.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribeTagsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_DetachLoadBalancerFromSubnets.go b/service/elasticloadbalancing/api_op_DetachLoadBalancerFromSubnets.go index 002bdb2120c..64f3a0cd6f9 100644 --- a/service/elasticloadbalancing/api_op_DetachLoadBalancerFromSubnets.go +++ b/service/elasticloadbalancing/api_op_DetachLoadBalancerFromSubnets.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDetachLoadBalancerFromSubnetsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetachLoadBalancerFromSubnetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_DisableAvailabilityZonesForLoadBalancer.go b/service/elasticloadbalancing/api_op_DisableAvailabilityZonesForLoadBalancer.go index ebed54fc9d5..297dea24596 100644 --- a/service/elasticloadbalancing/api_op_DisableAvailabilityZonesForLoadBalancer.go +++ b/service/elasticloadbalancing/api_op_DisableAvailabilityZonesForLoadBalancer.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDisableAvailabilityZonesForLoadBalancerMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableAvailabilityZonesForLoadBalancerValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_EnableAvailabilityZonesForLoadBalancer.go b/service/elasticloadbalancing/api_op_EnableAvailabilityZonesForLoadBalancer.go index 437c9a62a33..f7de062894e 100644 --- a/service/elasticloadbalancing/api_op_EnableAvailabilityZonesForLoadBalancer.go +++ b/service/elasticloadbalancing/api_op_EnableAvailabilityZonesForLoadBalancer.go @@ -127,9 +127,6 @@ func (c *Client) addOperationEnableAvailabilityZonesForLoadBalancerMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableAvailabilityZonesForLoadBalancerValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_ModifyLoadBalancerAttributes.go b/service/elasticloadbalancing/api_op_ModifyLoadBalancerAttributes.go index f4285e8ab49..603419d831b 100644 --- a/service/elasticloadbalancing/api_op_ModifyLoadBalancerAttributes.go +++ b/service/elasticloadbalancing/api_op_ModifyLoadBalancerAttributes.go @@ -142,9 +142,6 @@ func (c *Client) addOperationModifyLoadBalancerAttributesMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyLoadBalancerAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_RegisterInstancesWithLoadBalancer.go b/service/elasticloadbalancing/api_op_RegisterInstancesWithLoadBalancer.go index 62ec45507dc..8571f460649 100644 --- a/service/elasticloadbalancing/api_op_RegisterInstancesWithLoadBalancer.go +++ b/service/elasticloadbalancing/api_op_RegisterInstancesWithLoadBalancer.go @@ -141,9 +141,6 @@ func (c *Client) addOperationRegisterInstancesWithLoadBalancerMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterInstancesWithLoadBalancerValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_RemoveTags.go b/service/elasticloadbalancing/api_op_RemoveTags.go index 1e559fbdb5e..4e853f53bc6 100644 --- a/service/elasticloadbalancing/api_op_RemoveTags.go +++ b/service/elasticloadbalancing/api_op_RemoveTags.go @@ -116,9 +116,6 @@ func (c *Client) addOperationRemoveTagsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_SetLoadBalancerListenerSSLCertificate.go b/service/elasticloadbalancing/api_op_SetLoadBalancerListenerSSLCertificate.go index 4f5a0843135..306d79d3c4d 100644 --- a/service/elasticloadbalancing/api_op_SetLoadBalancerListenerSSLCertificate.go +++ b/service/elasticloadbalancing/api_op_SetLoadBalancerListenerSSLCertificate.go @@ -126,9 +126,6 @@ func (c *Client) addOperationSetLoadBalancerListenerSSLCertificateMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetLoadBalancerListenerSSLCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_SetLoadBalancerPoliciesForBackendServer.go b/service/elasticloadbalancing/api_op_SetLoadBalancerPoliciesForBackendServer.go index 241279b4e6e..62333cf5487 100644 --- a/service/elasticloadbalancing/api_op_SetLoadBalancerPoliciesForBackendServer.go +++ b/service/elasticloadbalancing/api_op_SetLoadBalancerPoliciesForBackendServer.go @@ -136,9 +136,6 @@ func (c *Client) addOperationSetLoadBalancerPoliciesForBackendServerMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetLoadBalancerPoliciesForBackendServerValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/api_op_SetLoadBalancerPoliciesOfListener.go b/service/elasticloadbalancing/api_op_SetLoadBalancerPoliciesOfListener.go index 243f3f144f9..da68367268d 100644 --- a/service/elasticloadbalancing/api_op_SetLoadBalancerPoliciesOfListener.go +++ b/service/elasticloadbalancing/api_op_SetLoadBalancerPoliciesOfListener.go @@ -131,9 +131,6 @@ func (c *Client) addOperationSetLoadBalancerPoliciesOfListenerMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetLoadBalancerPoliciesOfListenerValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancing/snapshot/api_op_AddTags.go.snap b/service/elasticloadbalancing/snapshot/api_op_AddTags.go.snap index 0d887673903..96fb5e7b63d 100644 --- a/service/elasticloadbalancing/snapshot/api_op_AddTags.go.snap +++ b/service/elasticloadbalancing/snapshot/api_op_AddTags.go.snap @@ -14,7 +14,6 @@ AddTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancing/snapshot/api_op_ApplySecurityGroupsToLoadBalancer.go.snap b/service/elasticloadbalancing/snapshot/api_op_ApplySecurityGroupsToLoadBalancer.go.snap index b6605ec8b91..2278d8fa314 100644 --- a/service/elasticloadbalancing/snapshot/api_op_ApplySecurityGroupsToLoadBalancer.go.snap +++ b/service/elasticloadbalancing/snapshot/api_op_ApplySecurityGroupsToLoadBalancer.go.snap @@ -14,7 +14,6 @@ ApplySecurityGroupsToLoadBalancer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancing/snapshot/api_op_AttachLoadBalancerToSubnets.go.snap b/service/elasticloadbalancing/snapshot/api_op_AttachLoadBalancerToSubnets.go.snap index acb72a59e7f..d3d3cc379fd 100644 --- a/service/elasticloadbalancing/snapshot/api_op_AttachLoadBalancerToSubnets.go.snap +++ b/service/elasticloadbalancing/snapshot/api_op_AttachLoadBalancerToSubnets.go.snap @@ -14,7 +14,6 @@ AttachLoadBalancerToSubnets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancing/snapshot/api_op_ConfigureHealthCheck.go.snap b/service/elasticloadbalancing/snapshot/api_op_ConfigureHealthCheck.go.snap index 5df980aca32..c5d0a4e56c1 100644 --- a/service/elasticloadbalancing/snapshot/api_op_ConfigureHealthCheck.go.snap +++ b/service/elasticloadbalancing/snapshot/api_op_ConfigureHealthCheck.go.snap @@ -14,7 +14,6 @@ ConfigureHealthCheck Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancing/snapshot/api_op_CreateAppCookieStickinessPolicy.go.snap b/service/elasticloadbalancing/snapshot/api_op_CreateAppCookieStickinessPolicy.go.snap index 656dc1d0062..ca7fdd5ed3f 100644 --- a/service/elasticloadbalancing/snapshot/api_op_CreateAppCookieStickinessPolicy.go.snap +++ b/service/elasticloadbalancing/snapshot/api_op_CreateAppCookieStickinessPolicy.go.snap @@ -14,7 +14,6 @@ CreateAppCookieStickinessPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancing/snapshot/api_op_CreateLBCookieStickinessPolicy.go.snap b/service/elasticloadbalancing/snapshot/api_op_CreateLBCookieStickinessPolicy.go.snap index 46b692f3197..5670b4fc9d0 100644 --- a/service/elasticloadbalancing/snapshot/api_op_CreateLBCookieStickinessPolicy.go.snap +++ b/service/elasticloadbalancing/snapshot/api_op_CreateLBCookieStickinessPolicy.go.snap @@ -14,7 +14,6 @@ CreateLBCookieStickinessPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancing/snapshot/api_op_CreateLoadBalancer.go.snap b/service/elasticloadbalancing/snapshot/api_op_CreateLoadBalancer.go.snap index c9571515812..2b902beeb7c 100644 --- a/service/elasticloadbalancing/snapshot/api_op_CreateLoadBalancer.go.snap +++ b/service/elasticloadbalancing/snapshot/api_op_CreateLoadBalancer.go.snap @@ -14,7 +14,6 @@ CreateLoadBalancer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancing/snapshot/api_op_CreateLoadBalancerListeners.go.snap b/service/elasticloadbalancing/snapshot/api_op_CreateLoadBalancerListeners.go.snap index fc1747cdad9..33c21d225c8 100644 --- a/service/elasticloadbalancing/snapshot/api_op_CreateLoadBalancerListeners.go.snap +++ b/service/elasticloadbalancing/snapshot/api_op_CreateLoadBalancerListeners.go.snap @@ -14,7 +14,6 @@ CreateLoadBalancerListeners Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancing/snapshot/api_op_CreateLoadBalancerPolicy.go.snap b/service/elasticloadbalancing/snapshot/api_op_CreateLoadBalancerPolicy.go.snap index f5755dbf206..7125264a7a6 100644 --- a/service/elasticloadbalancing/snapshot/api_op_CreateLoadBalancerPolicy.go.snap +++ b/service/elasticloadbalancing/snapshot/api_op_CreateLoadBalancerPolicy.go.snap @@ -14,7 +14,6 @@ CreateLoadBalancerPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancing/snapshot/api_op_DeleteLoadBalancer.go.snap b/service/elasticloadbalancing/snapshot/api_op_DeleteLoadBalancer.go.snap index 1109a946cb2..01691ccc811 100644 --- a/service/elasticloadbalancing/snapshot/api_op_DeleteLoadBalancer.go.snap +++ b/service/elasticloadbalancing/snapshot/api_op_DeleteLoadBalancer.go.snap @@ -14,7 +14,6 @@ DeleteLoadBalancer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancing/snapshot/api_op_DeleteLoadBalancerListeners.go.snap b/service/elasticloadbalancing/snapshot/api_op_DeleteLoadBalancerListeners.go.snap index ed52cde5264..c69bbb7d8e9 100644 --- a/service/elasticloadbalancing/snapshot/api_op_DeleteLoadBalancerListeners.go.snap +++ b/service/elasticloadbalancing/snapshot/api_op_DeleteLoadBalancerListeners.go.snap @@ -14,7 +14,6 @@ DeleteLoadBalancerListeners Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancing/snapshot/api_op_DeleteLoadBalancerPolicy.go.snap b/service/elasticloadbalancing/snapshot/api_op_DeleteLoadBalancerPolicy.go.snap index ac3ab1053da..16a0704c7cb 100644 --- a/service/elasticloadbalancing/snapshot/api_op_DeleteLoadBalancerPolicy.go.snap +++ b/service/elasticloadbalancing/snapshot/api_op_DeleteLoadBalancerPolicy.go.snap @@ -14,7 +14,6 @@ DeleteLoadBalancerPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancing/snapshot/api_op_DeregisterInstancesFromLoadBalancer.go.snap b/service/elasticloadbalancing/snapshot/api_op_DeregisterInstancesFromLoadBalancer.go.snap index f7177d114dc..910cdaaf2c3 100644 --- a/service/elasticloadbalancing/snapshot/api_op_DeregisterInstancesFromLoadBalancer.go.snap +++ b/service/elasticloadbalancing/snapshot/api_op_DeregisterInstancesFromLoadBalancer.go.snap @@ -14,7 +14,6 @@ DeregisterInstancesFromLoadBalancer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancing/snapshot/api_op_DescribeAccountLimits.go.snap b/service/elasticloadbalancing/snapshot/api_op_DescribeAccountLimits.go.snap index 84ffa497501..283376e4c97 100644 --- a/service/elasticloadbalancing/snapshot/api_op_DescribeAccountLimits.go.snap +++ b/service/elasticloadbalancing/snapshot/api_op_DescribeAccountLimits.go.snap @@ -13,7 +13,6 @@ DescribeAccountLimits Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancing/snapshot/api_op_DescribeInstanceHealth.go.snap b/service/elasticloadbalancing/snapshot/api_op_DescribeInstanceHealth.go.snap index d57ef73cefc..31ac5331c31 100644 --- a/service/elasticloadbalancing/snapshot/api_op_DescribeInstanceHealth.go.snap +++ b/service/elasticloadbalancing/snapshot/api_op_DescribeInstanceHealth.go.snap @@ -14,7 +14,6 @@ DescribeInstanceHealth Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancing/snapshot/api_op_DescribeLoadBalancerAttributes.go.snap b/service/elasticloadbalancing/snapshot/api_op_DescribeLoadBalancerAttributes.go.snap index af1481d5564..c84167f103c 100644 --- a/service/elasticloadbalancing/snapshot/api_op_DescribeLoadBalancerAttributes.go.snap +++ b/service/elasticloadbalancing/snapshot/api_op_DescribeLoadBalancerAttributes.go.snap @@ -14,7 +14,6 @@ DescribeLoadBalancerAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancing/snapshot/api_op_DescribeLoadBalancerPolicies.go.snap b/service/elasticloadbalancing/snapshot/api_op_DescribeLoadBalancerPolicies.go.snap index 7810de0b423..7a264e31c87 100644 --- a/service/elasticloadbalancing/snapshot/api_op_DescribeLoadBalancerPolicies.go.snap +++ b/service/elasticloadbalancing/snapshot/api_op_DescribeLoadBalancerPolicies.go.snap @@ -13,7 +13,6 @@ DescribeLoadBalancerPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancing/snapshot/api_op_DescribeLoadBalancerPolicyTypes.go.snap b/service/elasticloadbalancing/snapshot/api_op_DescribeLoadBalancerPolicyTypes.go.snap index 5002b34a7d9..2ea41bb6c9d 100644 --- a/service/elasticloadbalancing/snapshot/api_op_DescribeLoadBalancerPolicyTypes.go.snap +++ b/service/elasticloadbalancing/snapshot/api_op_DescribeLoadBalancerPolicyTypes.go.snap @@ -13,7 +13,6 @@ DescribeLoadBalancerPolicyTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancing/snapshot/api_op_DescribeLoadBalancers.go.snap b/service/elasticloadbalancing/snapshot/api_op_DescribeLoadBalancers.go.snap index a55dc9796db..80b882ca98d 100644 --- a/service/elasticloadbalancing/snapshot/api_op_DescribeLoadBalancers.go.snap +++ b/service/elasticloadbalancing/snapshot/api_op_DescribeLoadBalancers.go.snap @@ -13,7 +13,6 @@ DescribeLoadBalancers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancing/snapshot/api_op_DescribeTags.go.snap b/service/elasticloadbalancing/snapshot/api_op_DescribeTags.go.snap index e4bd617c306..9e3c32c55d1 100644 --- a/service/elasticloadbalancing/snapshot/api_op_DescribeTags.go.snap +++ b/service/elasticloadbalancing/snapshot/api_op_DescribeTags.go.snap @@ -14,7 +14,6 @@ DescribeTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancing/snapshot/api_op_DetachLoadBalancerFromSubnets.go.snap b/service/elasticloadbalancing/snapshot/api_op_DetachLoadBalancerFromSubnets.go.snap index 763dc20b121..1948e5f9c58 100644 --- a/service/elasticloadbalancing/snapshot/api_op_DetachLoadBalancerFromSubnets.go.snap +++ b/service/elasticloadbalancing/snapshot/api_op_DetachLoadBalancerFromSubnets.go.snap @@ -14,7 +14,6 @@ DetachLoadBalancerFromSubnets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancing/snapshot/api_op_DisableAvailabilityZonesForLoadBalancer.go.snap b/service/elasticloadbalancing/snapshot/api_op_DisableAvailabilityZonesForLoadBalancer.go.snap index 1143f3c1503..e1ebb1f79e5 100644 --- a/service/elasticloadbalancing/snapshot/api_op_DisableAvailabilityZonesForLoadBalancer.go.snap +++ b/service/elasticloadbalancing/snapshot/api_op_DisableAvailabilityZonesForLoadBalancer.go.snap @@ -14,7 +14,6 @@ DisableAvailabilityZonesForLoadBalancer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancing/snapshot/api_op_EnableAvailabilityZonesForLoadBalancer.go.snap b/service/elasticloadbalancing/snapshot/api_op_EnableAvailabilityZonesForLoadBalancer.go.snap index c84a4aebc79..b110a90af44 100644 --- a/service/elasticloadbalancing/snapshot/api_op_EnableAvailabilityZonesForLoadBalancer.go.snap +++ b/service/elasticloadbalancing/snapshot/api_op_EnableAvailabilityZonesForLoadBalancer.go.snap @@ -14,7 +14,6 @@ EnableAvailabilityZonesForLoadBalancer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancing/snapshot/api_op_ModifyLoadBalancerAttributes.go.snap b/service/elasticloadbalancing/snapshot/api_op_ModifyLoadBalancerAttributes.go.snap index 4c42b87a029..d10d13256ee 100644 --- a/service/elasticloadbalancing/snapshot/api_op_ModifyLoadBalancerAttributes.go.snap +++ b/service/elasticloadbalancing/snapshot/api_op_ModifyLoadBalancerAttributes.go.snap @@ -14,7 +14,6 @@ ModifyLoadBalancerAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancing/snapshot/api_op_RegisterInstancesWithLoadBalancer.go.snap b/service/elasticloadbalancing/snapshot/api_op_RegisterInstancesWithLoadBalancer.go.snap index 952e33185b6..11689dbb931 100644 --- a/service/elasticloadbalancing/snapshot/api_op_RegisterInstancesWithLoadBalancer.go.snap +++ b/service/elasticloadbalancing/snapshot/api_op_RegisterInstancesWithLoadBalancer.go.snap @@ -14,7 +14,6 @@ RegisterInstancesWithLoadBalancer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancing/snapshot/api_op_RemoveTags.go.snap b/service/elasticloadbalancing/snapshot/api_op_RemoveTags.go.snap index eb11fc26f76..e1cbd329051 100644 --- a/service/elasticloadbalancing/snapshot/api_op_RemoveTags.go.snap +++ b/service/elasticloadbalancing/snapshot/api_op_RemoveTags.go.snap @@ -14,7 +14,6 @@ RemoveTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancing/snapshot/api_op_SetLoadBalancerListenerSSLCertificate.go.snap b/service/elasticloadbalancing/snapshot/api_op_SetLoadBalancerListenerSSLCertificate.go.snap index 167cbc42507..a1ca606d2f5 100644 --- a/service/elasticloadbalancing/snapshot/api_op_SetLoadBalancerListenerSSLCertificate.go.snap +++ b/service/elasticloadbalancing/snapshot/api_op_SetLoadBalancerListenerSSLCertificate.go.snap @@ -14,7 +14,6 @@ SetLoadBalancerListenerSSLCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancing/snapshot/api_op_SetLoadBalancerPoliciesForBackendServer.go.snap b/service/elasticloadbalancing/snapshot/api_op_SetLoadBalancerPoliciesForBackendServer.go.snap index 2de7e48c207..f154b1abb8b 100644 --- a/service/elasticloadbalancing/snapshot/api_op_SetLoadBalancerPoliciesForBackendServer.go.snap +++ b/service/elasticloadbalancing/snapshot/api_op_SetLoadBalancerPoliciesForBackendServer.go.snap @@ -14,7 +14,6 @@ SetLoadBalancerPoliciesForBackendServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancing/snapshot/api_op_SetLoadBalancerPoliciesOfListener.go.snap b/service/elasticloadbalancing/snapshot/api_op_SetLoadBalancerPoliciesOfListener.go.snap index 3b1365203fe..c805e31a40a 100644 --- a/service/elasticloadbalancing/snapshot/api_op_SetLoadBalancerPoliciesOfListener.go.snap +++ b/service/elasticloadbalancing/snapshot/api_op_SetLoadBalancerPoliciesOfListener.go.snap @@ -14,7 +14,6 @@ SetLoadBalancerPoliciesOfListener Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/api_client.go b/service/elasticloadbalancingv2/api_client.go index db2e15d85dc..1d9e7ad4eed 100644 --- a/service/elasticloadbalancingv2/api_client.go +++ b/service/elasticloadbalancingv2/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/elasticloadbalancingv2/api_op_AddListenerCertificates.go b/service/elasticloadbalancingv2/api_op_AddListenerCertificates.go index 8d3afdfe641..8430177e19f 100644 --- a/service/elasticloadbalancingv2/api_op_AddListenerCertificates.go +++ b/service/elasticloadbalancingv2/api_op_AddListenerCertificates.go @@ -128,9 +128,6 @@ func (c *Client) addOperationAddListenerCertificatesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddListenerCertificatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_AddTags.go b/service/elasticloadbalancingv2/api_op_AddTags.go index 4dfda00eb45..955a9c473ef 100644 --- a/service/elasticloadbalancingv2/api_op_AddTags.go +++ b/service/elasticloadbalancingv2/api_op_AddTags.go @@ -118,9 +118,6 @@ func (c *Client) addOperationAddTagsMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_AddTrustStoreRevocations.go b/service/elasticloadbalancingv2/api_op_AddTrustStoreRevocations.go index fbd9fc3c0a6..1f48809e373 100644 --- a/service/elasticloadbalancingv2/api_op_AddTrustStoreRevocations.go +++ b/service/elasticloadbalancingv2/api_op_AddTrustStoreRevocations.go @@ -115,9 +115,6 @@ func (c *Client) addOperationAddTrustStoreRevocationsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddTrustStoreRevocationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_CreateListener.go b/service/elasticloadbalancingv2/api_op_CreateListener.go index acaec2b5fdf..fb7c45d09db 100644 --- a/service/elasticloadbalancingv2/api_op_CreateListener.go +++ b/service/elasticloadbalancingv2/api_op_CreateListener.go @@ -183,9 +183,6 @@ func (c *Client) addOperationCreateListenerMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateListenerValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_CreateLoadBalancer.go b/service/elasticloadbalancingv2/api_op_CreateLoadBalancer.go index e86ac3912a5..d5402aa88e6 100644 --- a/service/elasticloadbalancingv2/api_op_CreateLoadBalancer.go +++ b/service/elasticloadbalancingv2/api_op_CreateLoadBalancer.go @@ -215,9 +215,6 @@ func (c *Client) addOperationCreateLoadBalancerMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLoadBalancerValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_CreateRule.go b/service/elasticloadbalancingv2/api_op_CreateRule.go index 2b402e203ca..6257b614277 100644 --- a/service/elasticloadbalancingv2/api_op_CreateRule.go +++ b/service/elasticloadbalancingv2/api_op_CreateRule.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreateRuleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_CreateTargetGroup.go b/service/elasticloadbalancingv2/api_op_CreateTargetGroup.go index eaf66d7b281..510cc83c579 100644 --- a/service/elasticloadbalancingv2/api_op_CreateTargetGroup.go +++ b/service/elasticloadbalancingv2/api_op_CreateTargetGroup.go @@ -240,9 +240,6 @@ func (c *Client) addOperationCreateTargetGroupMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTargetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_CreateTrustStore.go b/service/elasticloadbalancingv2/api_op_CreateTrustStore.go index b2457e89b4b..882ba691f37 100644 --- a/service/elasticloadbalancingv2/api_op_CreateTrustStore.go +++ b/service/elasticloadbalancingv2/api_op_CreateTrustStore.go @@ -131,9 +131,6 @@ func (c *Client) addOperationCreateTrustStoreMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTrustStoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DeleteListener.go b/service/elasticloadbalancingv2/api_op_DeleteListener.go index cf818fcd88e..8e3eed8685f 100644 --- a/service/elasticloadbalancingv2/api_op_DeleteListener.go +++ b/service/elasticloadbalancingv2/api_op_DeleteListener.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteListenerMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteListenerValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DeleteLoadBalancer.go b/service/elasticloadbalancingv2/api_op_DeleteLoadBalancer.go index 22e4b8901b1..74284b52074 100644 --- a/service/elasticloadbalancingv2/api_op_DeleteLoadBalancer.go +++ b/service/elasticloadbalancingv2/api_op_DeleteLoadBalancer.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteLoadBalancerMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLoadBalancerValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DeleteRule.go b/service/elasticloadbalancingv2/api_op_DeleteRule.go index d27c5432720..9bfe87976d9 100644 --- a/service/elasticloadbalancingv2/api_op_DeleteRule.go +++ b/service/elasticloadbalancingv2/api_op_DeleteRule.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteRuleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DeleteSharedTrustStoreAssociation.go b/service/elasticloadbalancingv2/api_op_DeleteSharedTrustStoreAssociation.go index a9e34053867..2e8841b6f65 100644 --- a/service/elasticloadbalancingv2/api_op_DeleteSharedTrustStoreAssociation.go +++ b/service/elasticloadbalancingv2/api_op_DeleteSharedTrustStoreAssociation.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteSharedTrustStoreAssociationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSharedTrustStoreAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DeleteTargetGroup.go b/service/elasticloadbalancingv2/api_op_DeleteTargetGroup.go index 0cb1282c2fc..b7103add415 100644 --- a/service/elasticloadbalancingv2/api_op_DeleteTargetGroup.go +++ b/service/elasticloadbalancingv2/api_op_DeleteTargetGroup.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteTargetGroupMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTargetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DeleteTrustStore.go b/service/elasticloadbalancingv2/api_op_DeleteTrustStore.go index 7b61d14028b..804edafb33e 100644 --- a/service/elasticloadbalancingv2/api_op_DeleteTrustStore.go +++ b/service/elasticloadbalancingv2/api_op_DeleteTrustStore.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteTrustStoreMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTrustStoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DeregisterTargets.go b/service/elasticloadbalancingv2/api_op_DeregisterTargets.go index bd6c2ee49de..7801dab3cae 100644 --- a/service/elasticloadbalancingv2/api_op_DeregisterTargets.go +++ b/service/elasticloadbalancingv2/api_op_DeregisterTargets.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDeregisterTargetsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterTargetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DescribeAccountLimits.go b/service/elasticloadbalancingv2/api_op_DescribeAccountLimits.go index d10870a9f05..75db964234b 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeAccountLimits.go +++ b/service/elasticloadbalancingv2/api_op_DescribeAccountLimits.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeAccountLimitsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountLimits(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DescribeCapacityReservation.go b/service/elasticloadbalancingv2/api_op_DescribeCapacityReservation.go index 715634e8641..8b250014817 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeCapacityReservation.go +++ b/service/elasticloadbalancingv2/api_op_DescribeCapacityReservation.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeCapacityReservationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCapacityReservationValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DescribeListenerAttributes.go b/service/elasticloadbalancingv2/api_op_DescribeListenerAttributes.go index 2449b3d28c8..7aafd660fc4 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeListenerAttributes.go +++ b/service/elasticloadbalancingv2/api_op_DescribeListenerAttributes.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDescribeListenerAttributesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeListenerAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DescribeListenerCertificates.go b/service/elasticloadbalancingv2/api_op_DescribeListenerCertificates.go index b3f42051d7a..7880881f318 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeListenerCertificates.go +++ b/service/elasticloadbalancingv2/api_op_DescribeListenerCertificates.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeListenerCertificatesMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeListenerCertificatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DescribeListeners.go b/service/elasticloadbalancingv2/api_op_DescribeListeners.go index 5c7842e98cd..1bd35a9f85c 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeListeners.go +++ b/service/elasticloadbalancingv2/api_op_DescribeListeners.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeListenersMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeListeners(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DescribeLoadBalancerAttributes.go b/service/elasticloadbalancingv2/api_op_DescribeLoadBalancerAttributes.go index 69ffff5471c..06540f175c0 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeLoadBalancerAttributes.go +++ b/service/elasticloadbalancingv2/api_op_DescribeLoadBalancerAttributes.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeLoadBalancerAttributesMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeLoadBalancerAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DescribeLoadBalancers.go b/service/elasticloadbalancingv2/api_op_DescribeLoadBalancers.go index da03fa189ca..f37ff8b55c4 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeLoadBalancers.go +++ b/service/elasticloadbalancingv2/api_op_DescribeLoadBalancers.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeLoadBalancersMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLoadBalancers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DescribeRules.go b/service/elasticloadbalancingv2/api_op_DescribeRules.go index 2101f855fd2..24016a7cf39 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeRules.go +++ b/service/elasticloadbalancingv2/api_op_DescribeRules.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribeRulesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRules(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DescribeSSLPolicies.go b/service/elasticloadbalancingv2/api_op_DescribeSSLPolicies.go index 86d124c1f38..342c8259ed2 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeSSLPolicies.go +++ b/service/elasticloadbalancingv2/api_op_DescribeSSLPolicies.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeSSLPoliciesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSSLPolicies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DescribeTags.go b/service/elasticloadbalancingv2/api_op_DescribeTags.go index a6e0b5bbbed..e5ddf930c59 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeTags.go +++ b/service/elasticloadbalancingv2/api_op_DescribeTags.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDescribeTagsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DescribeTargetGroupAttributes.go b/service/elasticloadbalancingv2/api_op_DescribeTargetGroupAttributes.go index e1a5a1c0076..baea5295ce9 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeTargetGroupAttributes.go +++ b/service/elasticloadbalancingv2/api_op_DescribeTargetGroupAttributes.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribeTargetGroupAttributesMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTargetGroupAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DescribeTargetGroups.go b/service/elasticloadbalancingv2/api_op_DescribeTargetGroups.go index d80193d370f..25409222b28 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeTargetGroups.go +++ b/service/elasticloadbalancingv2/api_op_DescribeTargetGroups.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeTargetGroupsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTargetGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DescribeTargetHealth.go b/service/elasticloadbalancingv2/api_op_DescribeTargetHealth.go index d855cb6ceba..b39dbca47d6 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeTargetHealth.go +++ b/service/elasticloadbalancingv2/api_op_DescribeTargetHealth.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeTargetHealthMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTargetHealthValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DescribeTrustStoreAssociations.go b/service/elasticloadbalancingv2/api_op_DescribeTrustStoreAssociations.go index 97e7347a449..36220999bac 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeTrustStoreAssociations.go +++ b/service/elasticloadbalancingv2/api_op_DescribeTrustStoreAssociations.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeTrustStoreAssociationsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTrustStoreAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DescribeTrustStoreRevocations.go b/service/elasticloadbalancingv2/api_op_DescribeTrustStoreRevocations.go index 380a933d057..c7675c4a8bf 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeTrustStoreRevocations.go +++ b/service/elasticloadbalancingv2/api_op_DescribeTrustStoreRevocations.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeTrustStoreRevocationsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTrustStoreRevocationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_DescribeTrustStores.go b/service/elasticloadbalancingv2/api_op_DescribeTrustStores.go index bda7be05a0a..209ea4d462b 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeTrustStores.go +++ b/service/elasticloadbalancingv2/api_op_DescribeTrustStores.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeTrustStoresMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTrustStores(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_GetResourcePolicy.go b/service/elasticloadbalancingv2/api_op_GetResourcePolicy.go index dbb5c88cef7..931dbadd799 100644 --- a/service/elasticloadbalancingv2/api_op_GetResourcePolicy.go +++ b/service/elasticloadbalancingv2/api_op_GetResourcePolicy.go @@ -111,9 +111,6 @@ func (c *Client) addOperationGetResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_GetTrustStoreCaCertificatesBundle.go b/service/elasticloadbalancingv2/api_op_GetTrustStoreCaCertificatesBundle.go index a9615524c65..8c3c299a2f7 100644 --- a/service/elasticloadbalancingv2/api_op_GetTrustStoreCaCertificatesBundle.go +++ b/service/elasticloadbalancingv2/api_op_GetTrustStoreCaCertificatesBundle.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetTrustStoreCaCertificatesBundleMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTrustStoreCaCertificatesBundleValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_GetTrustStoreRevocationContent.go b/service/elasticloadbalancingv2/api_op_GetTrustStoreRevocationContent.go index 52214d21a7b..5e1d9cf2d16 100644 --- a/service/elasticloadbalancingv2/api_op_GetTrustStoreRevocationContent.go +++ b/service/elasticloadbalancingv2/api_op_GetTrustStoreRevocationContent.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetTrustStoreRevocationContentMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTrustStoreRevocationContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_ModifyCapacityReservation.go b/service/elasticloadbalancingv2/api_op_ModifyCapacityReservation.go index caf2d3b0ca3..1d828c4bbf3 100644 --- a/service/elasticloadbalancingv2/api_op_ModifyCapacityReservation.go +++ b/service/elasticloadbalancingv2/api_op_ModifyCapacityReservation.go @@ -131,9 +131,6 @@ func (c *Client) addOperationModifyCapacityReservationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyCapacityReservationValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_ModifyListener.go b/service/elasticloadbalancingv2/api_op_ModifyListener.go index eabc655bb5f..b0a8df3f138 100644 --- a/service/elasticloadbalancingv2/api_op_ModifyListener.go +++ b/service/elasticloadbalancingv2/api_op_ModifyListener.go @@ -171,9 +171,6 @@ func (c *Client) addOperationModifyListenerMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyListenerValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_ModifyListenerAttributes.go b/service/elasticloadbalancingv2/api_op_ModifyListenerAttributes.go index 22ec41a5d36..f4f10188883 100644 --- a/service/elasticloadbalancingv2/api_op_ModifyListenerAttributes.go +++ b/service/elasticloadbalancingv2/api_op_ModifyListenerAttributes.go @@ -117,9 +117,6 @@ func (c *Client) addOperationModifyListenerAttributesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyListenerAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_ModifyLoadBalancerAttributes.go b/service/elasticloadbalancingv2/api_op_ModifyLoadBalancerAttributes.go index 93cc3f2fe1c..9070df2edb8 100644 --- a/service/elasticloadbalancingv2/api_op_ModifyLoadBalancerAttributes.go +++ b/service/elasticloadbalancingv2/api_op_ModifyLoadBalancerAttributes.go @@ -122,9 +122,6 @@ func (c *Client) addOperationModifyLoadBalancerAttributesMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyLoadBalancerAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_ModifyRule.go b/service/elasticloadbalancingv2/api_op_ModifyRule.go index 712937d4356..61adc143cbe 100644 --- a/service/elasticloadbalancingv2/api_op_ModifyRule.go +++ b/service/elasticloadbalancingv2/api_op_ModifyRule.go @@ -123,9 +123,6 @@ func (c *Client) addOperationModifyRuleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_ModifyTargetGroup.go b/service/elasticloadbalancingv2/api_op_ModifyTargetGroup.go index efc63d0149f..e6b0692130c 100644 --- a/service/elasticloadbalancingv2/api_op_ModifyTargetGroup.go +++ b/service/elasticloadbalancingv2/api_op_ModifyTargetGroup.go @@ -160,9 +160,6 @@ func (c *Client) addOperationModifyTargetGroupMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyTargetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_ModifyTargetGroupAttributes.go b/service/elasticloadbalancingv2/api_op_ModifyTargetGroupAttributes.go index c7f8de81f69..4f8faac0e7b 100644 --- a/service/elasticloadbalancingv2/api_op_ModifyTargetGroupAttributes.go +++ b/service/elasticloadbalancingv2/api_op_ModifyTargetGroupAttributes.go @@ -117,9 +117,6 @@ func (c *Client) addOperationModifyTargetGroupAttributesMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyTargetGroupAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_ModifyTrustStore.go b/service/elasticloadbalancingv2/api_op_ModifyTrustStore.go index fe54b64963d..a25aaa41472 100644 --- a/service/elasticloadbalancingv2/api_op_ModifyTrustStore.go +++ b/service/elasticloadbalancingv2/api_op_ModifyTrustStore.go @@ -126,9 +126,6 @@ func (c *Client) addOperationModifyTrustStoreMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyTrustStoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_RegisterTargets.go b/service/elasticloadbalancingv2/api_op_RegisterTargets.go index 32d1813b612..3d8bb7f594b 100644 --- a/service/elasticloadbalancingv2/api_op_RegisterTargets.go +++ b/service/elasticloadbalancingv2/api_op_RegisterTargets.go @@ -126,9 +126,6 @@ func (c *Client) addOperationRegisterTargetsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterTargetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_RemoveListenerCertificates.go b/service/elasticloadbalancingv2/api_op_RemoveListenerCertificates.go index 4820bd2f69e..071a933e0f8 100644 --- a/service/elasticloadbalancingv2/api_op_RemoveListenerCertificates.go +++ b/service/elasticloadbalancingv2/api_op_RemoveListenerCertificates.go @@ -115,9 +115,6 @@ func (c *Client) addOperationRemoveListenerCertificatesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveListenerCertificatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_RemoveTags.go b/service/elasticloadbalancingv2/api_op_RemoveTags.go index 5abbd436f44..a9fe567b510 100644 --- a/service/elasticloadbalancingv2/api_op_RemoveTags.go +++ b/service/elasticloadbalancingv2/api_op_RemoveTags.go @@ -114,9 +114,6 @@ func (c *Client) addOperationRemoveTagsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_RemoveTrustStoreRevocations.go b/service/elasticloadbalancingv2/api_op_RemoveTrustStoreRevocations.go index 8138c2641fd..7295fe9e7dd 100644 --- a/service/elasticloadbalancingv2/api_op_RemoveTrustStoreRevocations.go +++ b/service/elasticloadbalancingv2/api_op_RemoveTrustStoreRevocations.go @@ -112,9 +112,6 @@ func (c *Client) addOperationRemoveTrustStoreRevocationsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveTrustStoreRevocationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_SetIpAddressType.go b/service/elasticloadbalancingv2/api_op_SetIpAddressType.go index 9cf162e9300..7fc6f418118 100644 --- a/service/elasticloadbalancingv2/api_op_SetIpAddressType.go +++ b/service/elasticloadbalancingv2/api_op_SetIpAddressType.go @@ -130,9 +130,6 @@ func (c *Client) addOperationSetIpAddressTypeMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetIpAddressTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_SetRulePriorities.go b/service/elasticloadbalancingv2/api_op_SetRulePriorities.go index 223c7c054cc..82c04189e7d 100644 --- a/service/elasticloadbalancingv2/api_op_SetRulePriorities.go +++ b/service/elasticloadbalancingv2/api_op_SetRulePriorities.go @@ -115,9 +115,6 @@ func (c *Client) addOperationSetRulePrioritiesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetRulePrioritiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_SetSecurityGroups.go b/service/elasticloadbalancingv2/api_op_SetSecurityGroups.go index da2c04bf960..c0fee6c080a 100644 --- a/service/elasticloadbalancingv2/api_op_SetSecurityGroups.go +++ b/service/elasticloadbalancingv2/api_op_SetSecurityGroups.go @@ -133,9 +133,6 @@ func (c *Client) addOperationSetSecurityGroupsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetSecurityGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/api_op_SetSubnets.go b/service/elasticloadbalancingv2/api_op_SetSubnets.go index 65f52c3f72d..f01b12aa993 100644 --- a/service/elasticloadbalancingv2/api_op_SetSubnets.go +++ b/service/elasticloadbalancingv2/api_op_SetSubnets.go @@ -177,9 +177,6 @@ func (c *Client) addOperationSetSubnetsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetSubnetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticloadbalancingv2/snapshot/api_op_AddListenerCertificates.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_AddListenerCertificates.go.snap index ad935752e33..80d6a6aeb0d 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_AddListenerCertificates.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_AddListenerCertificates.go.snap @@ -14,7 +14,6 @@ AddListenerCertificates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_AddTags.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_AddTags.go.snap index 0d887673903..96fb5e7b63d 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_AddTags.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_AddTags.go.snap @@ -14,7 +14,6 @@ AddTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_AddTrustStoreRevocations.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_AddTrustStoreRevocations.go.snap index 00bb6ca06a1..887b87308bf 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_AddTrustStoreRevocations.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_AddTrustStoreRevocations.go.snap @@ -14,7 +14,6 @@ AddTrustStoreRevocations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_CreateListener.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_CreateListener.go.snap index 914569c4557..bf61cf64917 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_CreateListener.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_CreateListener.go.snap @@ -14,7 +14,6 @@ CreateListener Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_CreateLoadBalancer.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_CreateLoadBalancer.go.snap index c9571515812..2b902beeb7c 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_CreateLoadBalancer.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_CreateLoadBalancer.go.snap @@ -14,7 +14,6 @@ CreateLoadBalancer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_CreateRule.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_CreateRule.go.snap index ccb56fcbaaa..0f845aa30f2 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_CreateRule.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_CreateRule.go.snap @@ -14,7 +14,6 @@ CreateRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_CreateTargetGroup.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_CreateTargetGroup.go.snap index 61b65aefe00..61dd3b327db 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_CreateTargetGroup.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_CreateTargetGroup.go.snap @@ -14,7 +14,6 @@ CreateTargetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_CreateTrustStore.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_CreateTrustStore.go.snap index 7cdc9c89552..33c94994022 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_CreateTrustStore.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_CreateTrustStore.go.snap @@ -14,7 +14,6 @@ CreateTrustStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_DeleteListener.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_DeleteListener.go.snap index b1da8bc0db1..ba89bd4bc88 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_DeleteListener.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_DeleteListener.go.snap @@ -14,7 +14,6 @@ DeleteListener Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_DeleteLoadBalancer.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_DeleteLoadBalancer.go.snap index 1109a946cb2..01691ccc811 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_DeleteLoadBalancer.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_DeleteLoadBalancer.go.snap @@ -14,7 +14,6 @@ DeleteLoadBalancer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_DeleteRule.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_DeleteRule.go.snap index dd841287b59..a6bc8103292 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_DeleteRule.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_DeleteRule.go.snap @@ -14,7 +14,6 @@ DeleteRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_DeleteSharedTrustStoreAssociation.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_DeleteSharedTrustStoreAssociation.go.snap index cc727798855..170728e611b 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_DeleteSharedTrustStoreAssociation.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_DeleteSharedTrustStoreAssociation.go.snap @@ -14,7 +14,6 @@ DeleteSharedTrustStoreAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_DeleteTargetGroup.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_DeleteTargetGroup.go.snap index 5f296322b29..1cbac9bdd61 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_DeleteTargetGroup.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_DeleteTargetGroup.go.snap @@ -14,7 +14,6 @@ DeleteTargetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_DeleteTrustStore.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_DeleteTrustStore.go.snap index 460ef1c153f..8058fd784b4 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_DeleteTrustStore.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_DeleteTrustStore.go.snap @@ -14,7 +14,6 @@ DeleteTrustStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_DeregisterTargets.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_DeregisterTargets.go.snap index 98982c5e427..8d1fbbdd30d 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_DeregisterTargets.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_DeregisterTargets.go.snap @@ -14,7 +14,6 @@ DeregisterTargets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_DescribeAccountLimits.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_DescribeAccountLimits.go.snap index 84ffa497501..283376e4c97 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_DescribeAccountLimits.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_DescribeAccountLimits.go.snap @@ -13,7 +13,6 @@ DescribeAccountLimits Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_DescribeCapacityReservation.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_DescribeCapacityReservation.go.snap index 3ba019f5998..c2d063bff00 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_DescribeCapacityReservation.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_DescribeCapacityReservation.go.snap @@ -14,7 +14,6 @@ DescribeCapacityReservation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_DescribeListenerAttributes.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_DescribeListenerAttributes.go.snap index a5cd4a04569..396840f83fa 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_DescribeListenerAttributes.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_DescribeListenerAttributes.go.snap @@ -14,7 +14,6 @@ DescribeListenerAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_DescribeListenerCertificates.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_DescribeListenerCertificates.go.snap index 0838a6b1739..214244412ee 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_DescribeListenerCertificates.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_DescribeListenerCertificates.go.snap @@ -14,7 +14,6 @@ DescribeListenerCertificates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_DescribeListeners.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_DescribeListeners.go.snap index 3554679f0cf..dfb0c61c42d 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_DescribeListeners.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_DescribeListeners.go.snap @@ -13,7 +13,6 @@ DescribeListeners Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_DescribeLoadBalancerAttributes.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_DescribeLoadBalancerAttributes.go.snap index af1481d5564..c84167f103c 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_DescribeLoadBalancerAttributes.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_DescribeLoadBalancerAttributes.go.snap @@ -14,7 +14,6 @@ DescribeLoadBalancerAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_DescribeLoadBalancers.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_DescribeLoadBalancers.go.snap index a55dc9796db..80b882ca98d 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_DescribeLoadBalancers.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_DescribeLoadBalancers.go.snap @@ -13,7 +13,6 @@ DescribeLoadBalancers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_DescribeRules.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_DescribeRules.go.snap index b28adf9d43d..95e2f9b536d 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_DescribeRules.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_DescribeRules.go.snap @@ -13,7 +13,6 @@ DescribeRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_DescribeSSLPolicies.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_DescribeSSLPolicies.go.snap index bb01e7a70ca..aaf547d7f9b 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_DescribeSSLPolicies.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_DescribeSSLPolicies.go.snap @@ -13,7 +13,6 @@ DescribeSSLPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_DescribeTags.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_DescribeTags.go.snap index e4bd617c306..9e3c32c55d1 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_DescribeTags.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_DescribeTags.go.snap @@ -14,7 +14,6 @@ DescribeTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_DescribeTargetGroupAttributes.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_DescribeTargetGroupAttributes.go.snap index aa8ce28040d..6de09db3fb9 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_DescribeTargetGroupAttributes.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_DescribeTargetGroupAttributes.go.snap @@ -14,7 +14,6 @@ DescribeTargetGroupAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_DescribeTargetGroups.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_DescribeTargetGroups.go.snap index b01e4362ca8..c8f664bddae 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_DescribeTargetGroups.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_DescribeTargetGroups.go.snap @@ -13,7 +13,6 @@ DescribeTargetGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_DescribeTargetHealth.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_DescribeTargetHealth.go.snap index 6dcb9337c60..84f78d1668d 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_DescribeTargetHealth.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_DescribeTargetHealth.go.snap @@ -14,7 +14,6 @@ DescribeTargetHealth Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_DescribeTrustStoreAssociations.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_DescribeTrustStoreAssociations.go.snap index fc46b0c2313..e1e7bff0318 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_DescribeTrustStoreAssociations.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_DescribeTrustStoreAssociations.go.snap @@ -14,7 +14,6 @@ DescribeTrustStoreAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_DescribeTrustStoreRevocations.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_DescribeTrustStoreRevocations.go.snap index 0708516c47b..be4ece12d15 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_DescribeTrustStoreRevocations.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_DescribeTrustStoreRevocations.go.snap @@ -14,7 +14,6 @@ DescribeTrustStoreRevocations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_DescribeTrustStores.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_DescribeTrustStores.go.snap index 7ec791df9f1..ff3a43bcb50 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_DescribeTrustStores.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_DescribeTrustStores.go.snap @@ -13,7 +13,6 @@ DescribeTrustStores Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_GetResourcePolicy.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_GetResourcePolicy.go.snap index e3408c09804..4b3e7d017fa 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_GetResourcePolicy.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_GetResourcePolicy.go.snap @@ -14,7 +14,6 @@ GetResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_GetTrustStoreCaCertificatesBundle.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_GetTrustStoreCaCertificatesBundle.go.snap index 0942a9f9f92..1823276893d 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_GetTrustStoreCaCertificatesBundle.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_GetTrustStoreCaCertificatesBundle.go.snap @@ -14,7 +14,6 @@ GetTrustStoreCaCertificatesBundle Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_GetTrustStoreRevocationContent.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_GetTrustStoreRevocationContent.go.snap index b7e2c173cf2..7225a6cded8 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_GetTrustStoreRevocationContent.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_GetTrustStoreRevocationContent.go.snap @@ -14,7 +14,6 @@ GetTrustStoreRevocationContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_ModifyCapacityReservation.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_ModifyCapacityReservation.go.snap index a901236354b..1cafd21c2b9 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_ModifyCapacityReservation.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_ModifyCapacityReservation.go.snap @@ -14,7 +14,6 @@ ModifyCapacityReservation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_ModifyListener.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_ModifyListener.go.snap index ea878bb437c..e0d2fbf467e 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_ModifyListener.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_ModifyListener.go.snap @@ -14,7 +14,6 @@ ModifyListener Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_ModifyListenerAttributes.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_ModifyListenerAttributes.go.snap index 524045df879..003935161ca 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_ModifyListenerAttributes.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_ModifyListenerAttributes.go.snap @@ -14,7 +14,6 @@ ModifyListenerAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_ModifyLoadBalancerAttributes.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_ModifyLoadBalancerAttributes.go.snap index 4c42b87a029..d10d13256ee 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_ModifyLoadBalancerAttributes.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_ModifyLoadBalancerAttributes.go.snap @@ -14,7 +14,6 @@ ModifyLoadBalancerAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_ModifyRule.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_ModifyRule.go.snap index 0e3c9d39848..6a8d3843870 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_ModifyRule.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_ModifyRule.go.snap @@ -14,7 +14,6 @@ ModifyRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_ModifyTargetGroup.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_ModifyTargetGroup.go.snap index 33d3c6caa91..2c6bbd21820 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_ModifyTargetGroup.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_ModifyTargetGroup.go.snap @@ -14,7 +14,6 @@ ModifyTargetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_ModifyTargetGroupAttributes.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_ModifyTargetGroupAttributes.go.snap index 5323381c8a7..51261f6b18e 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_ModifyTargetGroupAttributes.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_ModifyTargetGroupAttributes.go.snap @@ -14,7 +14,6 @@ ModifyTargetGroupAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_ModifyTrustStore.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_ModifyTrustStore.go.snap index 0a5eade9126..afb4c0a70e7 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_ModifyTrustStore.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_ModifyTrustStore.go.snap @@ -14,7 +14,6 @@ ModifyTrustStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_RegisterTargets.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_RegisterTargets.go.snap index 4083e3dd856..6437515f8c4 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_RegisterTargets.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_RegisterTargets.go.snap @@ -14,7 +14,6 @@ RegisterTargets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_RemoveListenerCertificates.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_RemoveListenerCertificates.go.snap index abb6d8763fb..d6ad6f45116 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_RemoveListenerCertificates.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_RemoveListenerCertificates.go.snap @@ -14,7 +14,6 @@ RemoveListenerCertificates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_RemoveTags.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_RemoveTags.go.snap index eb11fc26f76..e1cbd329051 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_RemoveTags.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_RemoveTags.go.snap @@ -14,7 +14,6 @@ RemoveTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_RemoveTrustStoreRevocations.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_RemoveTrustStoreRevocations.go.snap index 7bf1b66317f..21991ae5edf 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_RemoveTrustStoreRevocations.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_RemoveTrustStoreRevocations.go.snap @@ -14,7 +14,6 @@ RemoveTrustStoreRevocations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_SetIpAddressType.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_SetIpAddressType.go.snap index 2a2816eb5bb..a42027e8f0c 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_SetIpAddressType.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_SetIpAddressType.go.snap @@ -14,7 +14,6 @@ SetIpAddressType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_SetRulePriorities.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_SetRulePriorities.go.snap index ac5ff0f1009..44287a86395 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_SetRulePriorities.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_SetRulePriorities.go.snap @@ -14,7 +14,6 @@ SetRulePriorities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_SetSecurityGroups.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_SetSecurityGroups.go.snap index 5222bf598ef..f0599acf850 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_SetSecurityGroups.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_SetSecurityGroups.go.snap @@ -14,7 +14,6 @@ SetSecurityGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticloadbalancingv2/snapshot/api_op_SetSubnets.go.snap b/service/elasticloadbalancingv2/snapshot/api_op_SetSubnets.go.snap index 5932ef9e714..586b9bde0d3 100644 --- a/service/elasticloadbalancingv2/snapshot/api_op_SetSubnets.go.snap +++ b/service/elasticloadbalancingv2/snapshot/api_op_SetSubnets.go.snap @@ -14,7 +14,6 @@ SetSubnets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/api_client.go b/service/elasticsearchservice/api_client.go index 72fabbd258a..a79dd444da8 100644 --- a/service/elasticsearchservice/api_client.go +++ b/service/elasticsearchservice/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/elasticsearchservice/api_op_AcceptInboundCrossClusterSearchConnection.go b/service/elasticsearchservice/api_op_AcceptInboundCrossClusterSearchConnection.go index a55087a08cd..7f78ab70ecb 100644 --- a/service/elasticsearchservice/api_op_AcceptInboundCrossClusterSearchConnection.go +++ b/service/elasticsearchservice/api_op_AcceptInboundCrossClusterSearchConnection.go @@ -115,9 +115,6 @@ func (c *Client) addOperationAcceptInboundCrossClusterSearchConnectionMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptInboundCrossClusterSearchConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_AddTags.go b/service/elasticsearchservice/api_op_AddTags.go index 8b1614856ae..f5890badfce 100644 --- a/service/elasticsearchservice/api_op_AddTags.go +++ b/service/elasticsearchservice/api_op_AddTags.go @@ -119,9 +119,6 @@ func (c *Client) addOperationAddTagsMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_AssociatePackage.go b/service/elasticsearchservice/api_op_AssociatePackage.go index 60dcb0e390f..d1b25defde3 100644 --- a/service/elasticsearchservice/api_op_AssociatePackage.go +++ b/service/elasticsearchservice/api_op_AssociatePackage.go @@ -120,9 +120,6 @@ func (c *Client) addOperationAssociatePackageMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociatePackageValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_AuthorizeVpcEndpointAccess.go b/service/elasticsearchservice/api_op_AuthorizeVpcEndpointAccess.go index 066bdbf26c1..64f8c6faf53 100644 --- a/service/elasticsearchservice/api_op_AuthorizeVpcEndpointAccess.go +++ b/service/elasticsearchservice/api_op_AuthorizeVpcEndpointAccess.go @@ -124,9 +124,6 @@ func (c *Client) addOperationAuthorizeVpcEndpointAccessMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAuthorizeVpcEndpointAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_CancelDomainConfigChange.go b/service/elasticsearchservice/api_op_CancelDomainConfigChange.go index ca16c5ccc24..1328eb8eac5 100644 --- a/service/elasticsearchservice/api_op_CancelDomainConfigChange.go +++ b/service/elasticsearchservice/api_op_CancelDomainConfigChange.go @@ -125,9 +125,6 @@ func (c *Client) addOperationCancelDomainConfigChangeMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelDomainConfigChangeValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_CancelElasticsearchServiceSoftwareUpdate.go b/service/elasticsearchservice/api_op_CancelElasticsearchServiceSoftwareUpdate.go index 49126b299d6..00df519703e 100644 --- a/service/elasticsearchservice/api_op_CancelElasticsearchServiceSoftwareUpdate.go +++ b/service/elasticsearchservice/api_op_CancelElasticsearchServiceSoftwareUpdate.go @@ -119,9 +119,6 @@ func (c *Client) addOperationCancelElasticsearchServiceSoftwareUpdateMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelElasticsearchServiceSoftwareUpdateValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_CreateElasticsearchDomain.go b/service/elasticsearchservice/api_op_CreateElasticsearchDomain.go index f670a69c637..d95f108b2e9 100644 --- a/service/elasticsearchservice/api_op_CreateElasticsearchDomain.go +++ b/service/elasticsearchservice/api_op_CreateElasticsearchDomain.go @@ -183,9 +183,6 @@ func (c *Client) addOperationCreateElasticsearchDomainMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateElasticsearchDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_CreateOutboundCrossClusterSearchConnection.go b/service/elasticsearchservice/api_op_CreateOutboundCrossClusterSearchConnection.go index ec2e7f13972..c2f79f06ca6 100644 --- a/service/elasticsearchservice/api_op_CreateOutboundCrossClusterSearchConnection.go +++ b/service/elasticsearchservice/api_op_CreateOutboundCrossClusterSearchConnection.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreateOutboundCrossClusterSearchConnectionMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateOutboundCrossClusterSearchConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_CreatePackage.go b/service/elasticsearchservice/api_op_CreatePackage.go index c5e6be4af8c..941730af97d 100644 --- a/service/elasticsearchservice/api_op_CreatePackage.go +++ b/service/elasticsearchservice/api_op_CreatePackage.go @@ -127,9 +127,6 @@ func (c *Client) addOperationCreatePackageMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePackageValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_CreateVpcEndpoint.go b/service/elasticsearchservice/api_op_CreateVpcEndpoint.go index dbd668a5396..5ecf3112358 100644 --- a/service/elasticsearchservice/api_op_CreateVpcEndpoint.go +++ b/service/elasticsearchservice/api_op_CreateVpcEndpoint.go @@ -125,9 +125,6 @@ func (c *Client) addOperationCreateVpcEndpointMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVpcEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DeleteElasticsearchDomain.go b/service/elasticsearchservice/api_op_DeleteElasticsearchDomain.go index f3a3ef3c2fc..0c77e795c74 100644 --- a/service/elasticsearchservice/api_op_DeleteElasticsearchDomain.go +++ b/service/elasticsearchservice/api_op_DeleteElasticsearchDomain.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteElasticsearchDomainMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteElasticsearchDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DeleteElasticsearchServiceRole.go b/service/elasticsearchservice/api_op_DeleteElasticsearchServiceRole.go index 449ee45afd2..85d0af93670 100644 --- a/service/elasticsearchservice/api_op_DeleteElasticsearchServiceRole.go +++ b/service/elasticsearchservice/api_op_DeleteElasticsearchServiceRole.go @@ -106,9 +106,6 @@ func (c *Client) addOperationDeleteElasticsearchServiceRoleMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteElasticsearchServiceRole(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DeleteInboundCrossClusterSearchConnection.go b/service/elasticsearchservice/api_op_DeleteInboundCrossClusterSearchConnection.go index 8ec59f0fdc8..d8856d95704 100644 --- a/service/elasticsearchservice/api_op_DeleteInboundCrossClusterSearchConnection.go +++ b/service/elasticsearchservice/api_op_DeleteInboundCrossClusterSearchConnection.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteInboundCrossClusterSearchConnectionMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInboundCrossClusterSearchConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DeleteOutboundCrossClusterSearchConnection.go b/service/elasticsearchservice/api_op_DeleteOutboundCrossClusterSearchConnection.go index 41727e98aff..66ace798803 100644 --- a/service/elasticsearchservice/api_op_DeleteOutboundCrossClusterSearchConnection.go +++ b/service/elasticsearchservice/api_op_DeleteOutboundCrossClusterSearchConnection.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteOutboundCrossClusterSearchConnectionMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteOutboundCrossClusterSearchConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DeletePackage.go b/service/elasticsearchservice/api_op_DeletePackage.go index 319e3aa5511..a1fc23f66a9 100644 --- a/service/elasticsearchservice/api_op_DeletePackage.go +++ b/service/elasticsearchservice/api_op_DeletePackage.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeletePackageMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePackageValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DeleteVpcEndpoint.go b/service/elasticsearchservice/api_op_DeleteVpcEndpoint.go index 85009feb227..55ca68fd304 100644 --- a/service/elasticsearchservice/api_op_DeleteVpcEndpoint.go +++ b/service/elasticsearchservice/api_op_DeleteVpcEndpoint.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteVpcEndpointMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVpcEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DescribeDomainAutoTunes.go b/service/elasticsearchservice/api_op_DescribeDomainAutoTunes.go index 53878fb2f6f..ae346b8634f 100644 --- a/service/elasticsearchservice/api_op_DescribeDomainAutoTunes.go +++ b/service/elasticsearchservice/api_op_DescribeDomainAutoTunes.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeDomainAutoTunesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDomainAutoTunesValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DescribeDomainChangeProgress.go b/service/elasticsearchservice/api_op_DescribeDomainChangeProgress.go index 3ecd5475959..5b4e76f7670 100644 --- a/service/elasticsearchservice/api_op_DescribeDomainChangeProgress.go +++ b/service/elasticsearchservice/api_op_DescribeDomainChangeProgress.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeDomainChangeProgressMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDomainChangeProgressValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DescribeElasticsearchDomain.go b/service/elasticsearchservice/api_op_DescribeElasticsearchDomain.go index 5f9c4a55380..8c49f1af268 100644 --- a/service/elasticsearchservice/api_op_DescribeElasticsearchDomain.go +++ b/service/elasticsearchservice/api_op_DescribeElasticsearchDomain.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDescribeElasticsearchDomainMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeElasticsearchDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DescribeElasticsearchDomainConfig.go b/service/elasticsearchservice/api_op_DescribeElasticsearchDomainConfig.go index bc7f6953c9b..311f71635c0 100644 --- a/service/elasticsearchservice/api_op_DescribeElasticsearchDomainConfig.go +++ b/service/elasticsearchservice/api_op_DescribeElasticsearchDomainConfig.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeElasticsearchDomainConfigMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeElasticsearchDomainConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DescribeElasticsearchDomains.go b/service/elasticsearchservice/api_op_DescribeElasticsearchDomains.go index 4041f1bb358..d5516441fc0 100644 --- a/service/elasticsearchservice/api_op_DescribeElasticsearchDomains.go +++ b/service/elasticsearchservice/api_op_DescribeElasticsearchDomains.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeElasticsearchDomainsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeElasticsearchDomainsValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DescribeElasticsearchInstanceTypeLimits.go b/service/elasticsearchservice/api_op_DescribeElasticsearchInstanceTypeLimits.go index b3fa820c3b7..1c3c9398fc9 100644 --- a/service/elasticsearchservice/api_op_DescribeElasticsearchInstanceTypeLimits.go +++ b/service/elasticsearchservice/api_op_DescribeElasticsearchInstanceTypeLimits.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeElasticsearchInstanceTypeLimitsMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeElasticsearchInstanceTypeLimitsValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DescribeInboundCrossClusterSearchConnections.go b/service/elasticsearchservice/api_op_DescribeInboundCrossClusterSearchConnections.go index 17478620cfc..adf630d3c00 100644 --- a/service/elasticsearchservice/api_op_DescribeInboundCrossClusterSearchConnections.go +++ b/service/elasticsearchservice/api_op_DescribeInboundCrossClusterSearchConnections.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeInboundCrossClusterSearchConnectionsMiddlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInboundCrossClusterSearchConnections(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DescribeOutboundCrossClusterSearchConnections.go b/service/elasticsearchservice/api_op_DescribeOutboundCrossClusterSearchConnections.go index 0b2565fd22a..a7bcbe82cbe 100644 --- a/service/elasticsearchservice/api_op_DescribeOutboundCrossClusterSearchConnections.go +++ b/service/elasticsearchservice/api_op_DescribeOutboundCrossClusterSearchConnections.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeOutboundCrossClusterSearchConnectionsMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOutboundCrossClusterSearchConnections(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DescribePackages.go b/service/elasticsearchservice/api_op_DescribePackages.go index b08c1402c6c..48dba16bada 100644 --- a/service/elasticsearchservice/api_op_DescribePackages.go +++ b/service/elasticsearchservice/api_op_DescribePackages.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribePackagesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePackages(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DescribeReservedElasticsearchInstanceOfferings.go b/service/elasticsearchservice/api_op_DescribeReservedElasticsearchInstanceOfferings.go index 05276ca227c..495cc9cff08 100644 --- a/service/elasticsearchservice/api_op_DescribeReservedElasticsearchInstanceOfferings.go +++ b/service/elasticsearchservice/api_op_DescribeReservedElasticsearchInstanceOfferings.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeReservedElasticsearchInstanceOfferingsMiddl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservedElasticsearchInstanceOfferings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DescribeReservedElasticsearchInstances.go b/service/elasticsearchservice/api_op_DescribeReservedElasticsearchInstances.go index 4c00bc88b33..39e4a1af188 100644 --- a/service/elasticsearchservice/api_op_DescribeReservedElasticsearchInstances.go +++ b/service/elasticsearchservice/api_op_DescribeReservedElasticsearchInstances.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeReservedElasticsearchInstancesMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservedElasticsearchInstances(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DescribeVpcEndpoints.go b/service/elasticsearchservice/api_op_DescribeVpcEndpoints.go index 79d0e80a85c..641bfb04077 100644 --- a/service/elasticsearchservice/api_op_DescribeVpcEndpoints.go +++ b/service/elasticsearchservice/api_op_DescribeVpcEndpoints.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeVpcEndpointsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeVpcEndpointsValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_DissociatePackage.go b/service/elasticsearchservice/api_op_DissociatePackage.go index 3c85df101b2..3ba5577c245 100644 --- a/service/elasticsearchservice/api_op_DissociatePackage.go +++ b/service/elasticsearchservice/api_op_DissociatePackage.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDissociatePackageMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDissociatePackageValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_GetCompatibleElasticsearchVersions.go b/service/elasticsearchservice/api_op_GetCompatibleElasticsearchVersions.go index 39cc0d5e34a..c7667d75ad1 100644 --- a/service/elasticsearchservice/api_op_GetCompatibleElasticsearchVersions.go +++ b/service/elasticsearchservice/api_op_GetCompatibleElasticsearchVersions.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetCompatibleElasticsearchVersionsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCompatibleElasticsearchVersions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_GetPackageVersionHistory.go b/service/elasticsearchservice/api_op_GetPackageVersionHistory.go index 027e500141d..b1fce47d55b 100644 --- a/service/elasticsearchservice/api_op_GetPackageVersionHistory.go +++ b/service/elasticsearchservice/api_op_GetPackageVersionHistory.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetPackageVersionHistoryMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPackageVersionHistoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_GetUpgradeHistory.go b/service/elasticsearchservice/api_op_GetUpgradeHistory.go index e4603e4a8c2..dfac37671dc 100644 --- a/service/elasticsearchservice/api_op_GetUpgradeHistory.go +++ b/service/elasticsearchservice/api_op_GetUpgradeHistory.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetUpgradeHistoryMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUpgradeHistoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_GetUpgradeStatus.go b/service/elasticsearchservice/api_op_GetUpgradeStatus.go index 26b30e693fc..24cf66a097d 100644 --- a/service/elasticsearchservice/api_op_GetUpgradeStatus.go +++ b/service/elasticsearchservice/api_op_GetUpgradeStatus.go @@ -135,9 +135,6 @@ func (c *Client) addOperationGetUpgradeStatusMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUpgradeStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_ListDomainNames.go b/service/elasticsearchservice/api_op_ListDomainNames.go index 479a1042378..da6b3061404 100644 --- a/service/elasticsearchservice/api_op_ListDomainNames.go +++ b/service/elasticsearchservice/api_op_ListDomainNames.go @@ -115,9 +115,6 @@ func (c *Client) addOperationListDomainNamesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDomainNames(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_ListDomainsForPackage.go b/service/elasticsearchservice/api_op_ListDomainsForPackage.go index 3ad368ca86b..715cd04cebb 100644 --- a/service/elasticsearchservice/api_op_ListDomainsForPackage.go +++ b/service/elasticsearchservice/api_op_ListDomainsForPackage.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListDomainsForPackageMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDomainsForPackageValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_ListElasticsearchInstanceTypes.go b/service/elasticsearchservice/api_op_ListElasticsearchInstanceTypes.go index 63fa47d0a01..acde28eddc5 100644 --- a/service/elasticsearchservice/api_op_ListElasticsearchInstanceTypes.go +++ b/service/elasticsearchservice/api_op_ListElasticsearchInstanceTypes.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListElasticsearchInstanceTypesMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListElasticsearchInstanceTypesValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_ListElasticsearchVersions.go b/service/elasticsearchservice/api_op_ListElasticsearchVersions.go index 12f4f2c5f0e..af85bb8583a 100644 --- a/service/elasticsearchservice/api_op_ListElasticsearchVersions.go +++ b/service/elasticsearchservice/api_op_ListElasticsearchVersions.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListElasticsearchVersionsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListElasticsearchVersions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_ListPackagesForDomain.go b/service/elasticsearchservice/api_op_ListPackagesForDomain.go index 5e930fa3e5f..3ffd44f1ecb 100644 --- a/service/elasticsearchservice/api_op_ListPackagesForDomain.go +++ b/service/elasticsearchservice/api_op_ListPackagesForDomain.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListPackagesForDomainMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPackagesForDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_ListTags.go b/service/elasticsearchservice/api_op_ListTags.go index 360f9f827cd..a4d28f141f6 100644 --- a/service/elasticsearchservice/api_op_ListTags.go +++ b/service/elasticsearchservice/api_op_ListTags.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListTagsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_ListVpcEndpointAccess.go b/service/elasticsearchservice/api_op_ListVpcEndpointAccess.go index 7b80e451cce..5aaf5948ccb 100644 --- a/service/elasticsearchservice/api_op_ListVpcEndpointAccess.go +++ b/service/elasticsearchservice/api_op_ListVpcEndpointAccess.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListVpcEndpointAccessMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListVpcEndpointAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_ListVpcEndpoints.go b/service/elasticsearchservice/api_op_ListVpcEndpoints.go index d82a270a7f5..4c37c1b51c7 100644 --- a/service/elasticsearchservice/api_op_ListVpcEndpoints.go +++ b/service/elasticsearchservice/api_op_ListVpcEndpoints.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListVpcEndpointsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVpcEndpoints(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_ListVpcEndpointsForDomain.go b/service/elasticsearchservice/api_op_ListVpcEndpointsForDomain.go index c04b38fd6ab..f5280c60e02 100644 --- a/service/elasticsearchservice/api_op_ListVpcEndpointsForDomain.go +++ b/service/elasticsearchservice/api_op_ListVpcEndpointsForDomain.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListVpcEndpointsForDomainMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListVpcEndpointsForDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_PurchaseReservedElasticsearchInstanceOffering.go b/service/elasticsearchservice/api_op_PurchaseReservedElasticsearchInstanceOffering.go index 6275ae49676..b7d7177cbb9 100644 --- a/service/elasticsearchservice/api_op_PurchaseReservedElasticsearchInstanceOffering.go +++ b/service/elasticsearchservice/api_op_PurchaseReservedElasticsearchInstanceOffering.go @@ -125,9 +125,6 @@ func (c *Client) addOperationPurchaseReservedElasticsearchInstanceOfferingMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPurchaseReservedElasticsearchInstanceOfferingValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_RejectInboundCrossClusterSearchConnection.go b/service/elasticsearchservice/api_op_RejectInboundCrossClusterSearchConnection.go index 8a630d04182..5d2d57606c4 100644 --- a/service/elasticsearchservice/api_op_RejectInboundCrossClusterSearchConnection.go +++ b/service/elasticsearchservice/api_op_RejectInboundCrossClusterSearchConnection.go @@ -115,9 +115,6 @@ func (c *Client) addOperationRejectInboundCrossClusterSearchConnectionMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRejectInboundCrossClusterSearchConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_RemoveTags.go b/service/elasticsearchservice/api_op_RemoveTags.go index 3e3991f2039..c5d1dca2230 100644 --- a/service/elasticsearchservice/api_op_RemoveTags.go +++ b/service/elasticsearchservice/api_op_RemoveTags.go @@ -116,9 +116,6 @@ func (c *Client) addOperationRemoveTagsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_RevokeVpcEndpointAccess.go b/service/elasticsearchservice/api_op_RevokeVpcEndpointAccess.go index b8b9be37a8b..b44ebbbdc20 100644 --- a/service/elasticsearchservice/api_op_RevokeVpcEndpointAccess.go +++ b/service/elasticsearchservice/api_op_RevokeVpcEndpointAccess.go @@ -117,9 +117,6 @@ func (c *Client) addOperationRevokeVpcEndpointAccessMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRevokeVpcEndpointAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_StartElasticsearchServiceSoftwareUpdate.go b/service/elasticsearchservice/api_op_StartElasticsearchServiceSoftwareUpdate.go index 1d5de418162..0a6f6df240d 100644 --- a/service/elasticsearchservice/api_op_StartElasticsearchServiceSoftwareUpdate.go +++ b/service/elasticsearchservice/api_op_StartElasticsearchServiceSoftwareUpdate.go @@ -116,9 +116,6 @@ func (c *Client) addOperationStartElasticsearchServiceSoftwareUpdateMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartElasticsearchServiceSoftwareUpdateValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_UpdateElasticsearchDomainConfig.go b/service/elasticsearchservice/api_op_UpdateElasticsearchDomainConfig.go index 19ca50f0f94..6718c80ac03 100644 --- a/service/elasticsearchservice/api_op_UpdateElasticsearchDomainConfig.go +++ b/service/elasticsearchservice/api_op_UpdateElasticsearchDomainConfig.go @@ -180,9 +180,6 @@ func (c *Client) addOperationUpdateElasticsearchDomainConfigMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateElasticsearchDomainConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_UpdatePackage.go b/service/elasticsearchservice/api_op_UpdatePackage.go index 5c3ec120ad3..73e2f29a5df 100644 --- a/service/elasticsearchservice/api_op_UpdatePackage.go +++ b/service/elasticsearchservice/api_op_UpdatePackage.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdatePackageMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePackageValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_UpdateVpcEndpoint.go b/service/elasticsearchservice/api_op_UpdateVpcEndpoint.go index b44d01afe5f..9884d015c66 100644 --- a/service/elasticsearchservice/api_op_UpdateVpcEndpoint.go +++ b/service/elasticsearchservice/api_op_UpdateVpcEndpoint.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateVpcEndpointMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateVpcEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/api_op_UpgradeElasticsearchDomain.go b/service/elasticsearchservice/api_op_UpgradeElasticsearchDomain.go index 308c2f25205..5cf1b76dbee 100644 --- a/service/elasticsearchservice/api_op_UpgradeElasticsearchDomain.go +++ b/service/elasticsearchservice/api_op_UpgradeElasticsearchDomain.go @@ -140,9 +140,6 @@ func (c *Client) addOperationUpgradeElasticsearchDomainMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpgradeElasticsearchDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/elasticsearchservice/snapshot/api_op_AcceptInboundCrossClusterSearchConnection.go.snap b/service/elasticsearchservice/snapshot/api_op_AcceptInboundCrossClusterSearchConnection.go.snap index 1d3c056ca7e..f923e741e7f 100644 --- a/service/elasticsearchservice/snapshot/api_op_AcceptInboundCrossClusterSearchConnection.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_AcceptInboundCrossClusterSearchConnection.go.snap @@ -14,7 +14,6 @@ AcceptInboundCrossClusterSearchConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_AddTags.go.snap b/service/elasticsearchservice/snapshot/api_op_AddTags.go.snap index 0d887673903..96fb5e7b63d 100644 --- a/service/elasticsearchservice/snapshot/api_op_AddTags.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_AddTags.go.snap @@ -14,7 +14,6 @@ AddTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_AssociatePackage.go.snap b/service/elasticsearchservice/snapshot/api_op_AssociatePackage.go.snap index a0024ce227f..0c479eb2238 100644 --- a/service/elasticsearchservice/snapshot/api_op_AssociatePackage.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_AssociatePackage.go.snap @@ -14,7 +14,6 @@ AssociatePackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_AuthorizeVpcEndpointAccess.go.snap b/service/elasticsearchservice/snapshot/api_op_AuthorizeVpcEndpointAccess.go.snap index d353918c130..f450729e895 100644 --- a/service/elasticsearchservice/snapshot/api_op_AuthorizeVpcEndpointAccess.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_AuthorizeVpcEndpointAccess.go.snap @@ -14,7 +14,6 @@ AuthorizeVpcEndpointAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_CancelDomainConfigChange.go.snap b/service/elasticsearchservice/snapshot/api_op_CancelDomainConfigChange.go.snap index b5d964e6fef..4be6323617a 100644 --- a/service/elasticsearchservice/snapshot/api_op_CancelDomainConfigChange.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_CancelDomainConfigChange.go.snap @@ -14,7 +14,6 @@ CancelDomainConfigChange Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_CancelElasticsearchServiceSoftwareUpdate.go.snap b/service/elasticsearchservice/snapshot/api_op_CancelElasticsearchServiceSoftwareUpdate.go.snap index e9c36fab2e1..58a9a7d5d81 100644 --- a/service/elasticsearchservice/snapshot/api_op_CancelElasticsearchServiceSoftwareUpdate.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_CancelElasticsearchServiceSoftwareUpdate.go.snap @@ -14,7 +14,6 @@ CancelElasticsearchServiceSoftwareUpdate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_CreateElasticsearchDomain.go.snap b/service/elasticsearchservice/snapshot/api_op_CreateElasticsearchDomain.go.snap index e90b6f9fb63..98555912b48 100644 --- a/service/elasticsearchservice/snapshot/api_op_CreateElasticsearchDomain.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_CreateElasticsearchDomain.go.snap @@ -14,7 +14,6 @@ CreateElasticsearchDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_CreateOutboundCrossClusterSearchConnection.go.snap b/service/elasticsearchservice/snapshot/api_op_CreateOutboundCrossClusterSearchConnection.go.snap index 0e71e30c4d4..e4d18630e13 100644 --- a/service/elasticsearchservice/snapshot/api_op_CreateOutboundCrossClusterSearchConnection.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_CreateOutboundCrossClusterSearchConnection.go.snap @@ -14,7 +14,6 @@ CreateOutboundCrossClusterSearchConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_CreatePackage.go.snap b/service/elasticsearchservice/snapshot/api_op_CreatePackage.go.snap index 7352e284764..c0eee49ef01 100644 --- a/service/elasticsearchservice/snapshot/api_op_CreatePackage.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_CreatePackage.go.snap @@ -14,7 +14,6 @@ CreatePackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_CreateVpcEndpoint.go.snap b/service/elasticsearchservice/snapshot/api_op_CreateVpcEndpoint.go.snap index 2711d80d6ad..dc7a815c05e 100644 --- a/service/elasticsearchservice/snapshot/api_op_CreateVpcEndpoint.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_CreateVpcEndpoint.go.snap @@ -14,7 +14,6 @@ CreateVpcEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_DeleteElasticsearchDomain.go.snap b/service/elasticsearchservice/snapshot/api_op_DeleteElasticsearchDomain.go.snap index c1e618ce413..e10fe3036ce 100644 --- a/service/elasticsearchservice/snapshot/api_op_DeleteElasticsearchDomain.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_DeleteElasticsearchDomain.go.snap @@ -14,7 +14,6 @@ DeleteElasticsearchDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_DeleteElasticsearchServiceRole.go.snap b/service/elasticsearchservice/snapshot/api_op_DeleteElasticsearchServiceRole.go.snap index aa5366f64ef..69c6756a863 100644 --- a/service/elasticsearchservice/snapshot/api_op_DeleteElasticsearchServiceRole.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_DeleteElasticsearchServiceRole.go.snap @@ -13,7 +13,6 @@ DeleteElasticsearchServiceRole Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_DeleteInboundCrossClusterSearchConnection.go.snap b/service/elasticsearchservice/snapshot/api_op_DeleteInboundCrossClusterSearchConnection.go.snap index 256afc9867b..49a40bc40e1 100644 --- a/service/elasticsearchservice/snapshot/api_op_DeleteInboundCrossClusterSearchConnection.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_DeleteInboundCrossClusterSearchConnection.go.snap @@ -14,7 +14,6 @@ DeleteInboundCrossClusterSearchConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_DeleteOutboundCrossClusterSearchConnection.go.snap b/service/elasticsearchservice/snapshot/api_op_DeleteOutboundCrossClusterSearchConnection.go.snap index f8595172090..4bccb4a8299 100644 --- a/service/elasticsearchservice/snapshot/api_op_DeleteOutboundCrossClusterSearchConnection.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_DeleteOutboundCrossClusterSearchConnection.go.snap @@ -14,7 +14,6 @@ DeleteOutboundCrossClusterSearchConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_DeletePackage.go.snap b/service/elasticsearchservice/snapshot/api_op_DeletePackage.go.snap index dba6b0ad28c..d4bc64169bf 100644 --- a/service/elasticsearchservice/snapshot/api_op_DeletePackage.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_DeletePackage.go.snap @@ -14,7 +14,6 @@ DeletePackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_DeleteVpcEndpoint.go.snap b/service/elasticsearchservice/snapshot/api_op_DeleteVpcEndpoint.go.snap index 5094a820886..bfbc7e9e102 100644 --- a/service/elasticsearchservice/snapshot/api_op_DeleteVpcEndpoint.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_DeleteVpcEndpoint.go.snap @@ -14,7 +14,6 @@ DeleteVpcEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_DescribeDomainAutoTunes.go.snap b/service/elasticsearchservice/snapshot/api_op_DescribeDomainAutoTunes.go.snap index ea80a975ecf..7e68c25c714 100644 --- a/service/elasticsearchservice/snapshot/api_op_DescribeDomainAutoTunes.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_DescribeDomainAutoTunes.go.snap @@ -14,7 +14,6 @@ DescribeDomainAutoTunes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_DescribeDomainChangeProgress.go.snap b/service/elasticsearchservice/snapshot/api_op_DescribeDomainChangeProgress.go.snap index 9ede0c8e083..53f386a0f22 100644 --- a/service/elasticsearchservice/snapshot/api_op_DescribeDomainChangeProgress.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_DescribeDomainChangeProgress.go.snap @@ -14,7 +14,6 @@ DescribeDomainChangeProgress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_DescribeElasticsearchDomain.go.snap b/service/elasticsearchservice/snapshot/api_op_DescribeElasticsearchDomain.go.snap index 8ea28f55a95..7226b789262 100644 --- a/service/elasticsearchservice/snapshot/api_op_DescribeElasticsearchDomain.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_DescribeElasticsearchDomain.go.snap @@ -14,7 +14,6 @@ DescribeElasticsearchDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_DescribeElasticsearchDomainConfig.go.snap b/service/elasticsearchservice/snapshot/api_op_DescribeElasticsearchDomainConfig.go.snap index b8a0b6a3c85..4ee87700aff 100644 --- a/service/elasticsearchservice/snapshot/api_op_DescribeElasticsearchDomainConfig.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_DescribeElasticsearchDomainConfig.go.snap @@ -14,7 +14,6 @@ DescribeElasticsearchDomainConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_DescribeElasticsearchDomains.go.snap b/service/elasticsearchservice/snapshot/api_op_DescribeElasticsearchDomains.go.snap index a19e0265ad3..4baff4a0bf2 100644 --- a/service/elasticsearchservice/snapshot/api_op_DescribeElasticsearchDomains.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_DescribeElasticsearchDomains.go.snap @@ -14,7 +14,6 @@ DescribeElasticsearchDomains Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_DescribeElasticsearchInstanceTypeLimits.go.snap b/service/elasticsearchservice/snapshot/api_op_DescribeElasticsearchInstanceTypeLimits.go.snap index 20f4436f8f1..226bf4b64ed 100644 --- a/service/elasticsearchservice/snapshot/api_op_DescribeElasticsearchInstanceTypeLimits.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_DescribeElasticsearchInstanceTypeLimits.go.snap @@ -14,7 +14,6 @@ DescribeElasticsearchInstanceTypeLimits Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_DescribeInboundCrossClusterSearchConnections.go.snap b/service/elasticsearchservice/snapshot/api_op_DescribeInboundCrossClusterSearchConnections.go.snap index 84554b7abff..31ab0954dff 100644 --- a/service/elasticsearchservice/snapshot/api_op_DescribeInboundCrossClusterSearchConnections.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_DescribeInboundCrossClusterSearchConnections.go.snap @@ -13,7 +13,6 @@ DescribeInboundCrossClusterSearchConnections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_DescribeOutboundCrossClusterSearchConnections.go.snap b/service/elasticsearchservice/snapshot/api_op_DescribeOutboundCrossClusterSearchConnections.go.snap index 688fc74cecc..7b7491ad2e4 100644 --- a/service/elasticsearchservice/snapshot/api_op_DescribeOutboundCrossClusterSearchConnections.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_DescribeOutboundCrossClusterSearchConnections.go.snap @@ -13,7 +13,6 @@ DescribeOutboundCrossClusterSearchConnections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_DescribePackages.go.snap b/service/elasticsearchservice/snapshot/api_op_DescribePackages.go.snap index fe37f78d612..155df488120 100644 --- a/service/elasticsearchservice/snapshot/api_op_DescribePackages.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_DescribePackages.go.snap @@ -13,7 +13,6 @@ DescribePackages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_DescribeReservedElasticsearchInstanceOfferings.go.snap b/service/elasticsearchservice/snapshot/api_op_DescribeReservedElasticsearchInstanceOfferings.go.snap index 59907014714..290945378f2 100644 --- a/service/elasticsearchservice/snapshot/api_op_DescribeReservedElasticsearchInstanceOfferings.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_DescribeReservedElasticsearchInstanceOfferings.go.snap @@ -13,7 +13,6 @@ DescribeReservedElasticsearchInstanceOfferings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_DescribeReservedElasticsearchInstances.go.snap b/service/elasticsearchservice/snapshot/api_op_DescribeReservedElasticsearchInstances.go.snap index b1ea7948806..d37ea8a6552 100644 --- a/service/elasticsearchservice/snapshot/api_op_DescribeReservedElasticsearchInstances.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_DescribeReservedElasticsearchInstances.go.snap @@ -13,7 +13,6 @@ DescribeReservedElasticsearchInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_DescribeVpcEndpoints.go.snap b/service/elasticsearchservice/snapshot/api_op_DescribeVpcEndpoints.go.snap index ca4c4b707c2..567594fc346 100644 --- a/service/elasticsearchservice/snapshot/api_op_DescribeVpcEndpoints.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_DescribeVpcEndpoints.go.snap @@ -14,7 +14,6 @@ DescribeVpcEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_DissociatePackage.go.snap b/service/elasticsearchservice/snapshot/api_op_DissociatePackage.go.snap index f517b2352a6..dd6776a993e 100644 --- a/service/elasticsearchservice/snapshot/api_op_DissociatePackage.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_DissociatePackage.go.snap @@ -14,7 +14,6 @@ DissociatePackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_GetCompatibleElasticsearchVersions.go.snap b/service/elasticsearchservice/snapshot/api_op_GetCompatibleElasticsearchVersions.go.snap index 3d1ea32332b..0d811519d6e 100644 --- a/service/elasticsearchservice/snapshot/api_op_GetCompatibleElasticsearchVersions.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_GetCompatibleElasticsearchVersions.go.snap @@ -13,7 +13,6 @@ GetCompatibleElasticsearchVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_GetPackageVersionHistory.go.snap b/service/elasticsearchservice/snapshot/api_op_GetPackageVersionHistory.go.snap index 4ebccbe7e6b..5fb2eca68ce 100644 --- a/service/elasticsearchservice/snapshot/api_op_GetPackageVersionHistory.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_GetPackageVersionHistory.go.snap @@ -14,7 +14,6 @@ GetPackageVersionHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_GetUpgradeHistory.go.snap b/service/elasticsearchservice/snapshot/api_op_GetUpgradeHistory.go.snap index 82779e5cc8f..d51ab25bff8 100644 --- a/service/elasticsearchservice/snapshot/api_op_GetUpgradeHistory.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_GetUpgradeHistory.go.snap @@ -14,7 +14,6 @@ GetUpgradeHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_GetUpgradeStatus.go.snap b/service/elasticsearchservice/snapshot/api_op_GetUpgradeStatus.go.snap index 458638c85d2..7950a6b0a2e 100644 --- a/service/elasticsearchservice/snapshot/api_op_GetUpgradeStatus.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_GetUpgradeStatus.go.snap @@ -14,7 +14,6 @@ GetUpgradeStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_ListDomainNames.go.snap b/service/elasticsearchservice/snapshot/api_op_ListDomainNames.go.snap index 4a7e5309986..41390e6e2df 100644 --- a/service/elasticsearchservice/snapshot/api_op_ListDomainNames.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_ListDomainNames.go.snap @@ -13,7 +13,6 @@ ListDomainNames Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_ListDomainsForPackage.go.snap b/service/elasticsearchservice/snapshot/api_op_ListDomainsForPackage.go.snap index 7891d7ceec1..21a2eecdda1 100644 --- a/service/elasticsearchservice/snapshot/api_op_ListDomainsForPackage.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_ListDomainsForPackage.go.snap @@ -14,7 +14,6 @@ ListDomainsForPackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_ListElasticsearchInstanceTypes.go.snap b/service/elasticsearchservice/snapshot/api_op_ListElasticsearchInstanceTypes.go.snap index 2d2696a6d7a..a086c2693d7 100644 --- a/service/elasticsearchservice/snapshot/api_op_ListElasticsearchInstanceTypes.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_ListElasticsearchInstanceTypes.go.snap @@ -14,7 +14,6 @@ ListElasticsearchInstanceTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_ListElasticsearchVersions.go.snap b/service/elasticsearchservice/snapshot/api_op_ListElasticsearchVersions.go.snap index 6b701d64bd7..bcf3a8a268b 100644 --- a/service/elasticsearchservice/snapshot/api_op_ListElasticsearchVersions.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_ListElasticsearchVersions.go.snap @@ -13,7 +13,6 @@ ListElasticsearchVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_ListPackagesForDomain.go.snap b/service/elasticsearchservice/snapshot/api_op_ListPackagesForDomain.go.snap index a9c69ac1fe7..18ea7bde5b2 100644 --- a/service/elasticsearchservice/snapshot/api_op_ListPackagesForDomain.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_ListPackagesForDomain.go.snap @@ -14,7 +14,6 @@ ListPackagesForDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_ListTags.go.snap b/service/elasticsearchservice/snapshot/api_op_ListTags.go.snap index 1b1e99185a9..438bd1b7aec 100644 --- a/service/elasticsearchservice/snapshot/api_op_ListTags.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_ListTags.go.snap @@ -14,7 +14,6 @@ ListTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_ListVpcEndpointAccess.go.snap b/service/elasticsearchservice/snapshot/api_op_ListVpcEndpointAccess.go.snap index ede27afdf75..bfc5457e260 100644 --- a/service/elasticsearchservice/snapshot/api_op_ListVpcEndpointAccess.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_ListVpcEndpointAccess.go.snap @@ -14,7 +14,6 @@ ListVpcEndpointAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_ListVpcEndpoints.go.snap b/service/elasticsearchservice/snapshot/api_op_ListVpcEndpoints.go.snap index 54f31990dc9..f7d511f5fd1 100644 --- a/service/elasticsearchservice/snapshot/api_op_ListVpcEndpoints.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_ListVpcEndpoints.go.snap @@ -13,7 +13,6 @@ ListVpcEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_ListVpcEndpointsForDomain.go.snap b/service/elasticsearchservice/snapshot/api_op_ListVpcEndpointsForDomain.go.snap index 169c7aaddff..2b1d38d1fe8 100644 --- a/service/elasticsearchservice/snapshot/api_op_ListVpcEndpointsForDomain.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_ListVpcEndpointsForDomain.go.snap @@ -14,7 +14,6 @@ ListVpcEndpointsForDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_PurchaseReservedElasticsearchInstanceOffering.go.snap b/service/elasticsearchservice/snapshot/api_op_PurchaseReservedElasticsearchInstanceOffering.go.snap index 8c980d5de3f..b15a4aff661 100644 --- a/service/elasticsearchservice/snapshot/api_op_PurchaseReservedElasticsearchInstanceOffering.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_PurchaseReservedElasticsearchInstanceOffering.go.snap @@ -14,7 +14,6 @@ PurchaseReservedElasticsearchInstanceOffering Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_RejectInboundCrossClusterSearchConnection.go.snap b/service/elasticsearchservice/snapshot/api_op_RejectInboundCrossClusterSearchConnection.go.snap index 980d3d8d7cb..83c9e15f05b 100644 --- a/service/elasticsearchservice/snapshot/api_op_RejectInboundCrossClusterSearchConnection.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_RejectInboundCrossClusterSearchConnection.go.snap @@ -14,7 +14,6 @@ RejectInboundCrossClusterSearchConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_RemoveTags.go.snap b/service/elasticsearchservice/snapshot/api_op_RemoveTags.go.snap index eb11fc26f76..e1cbd329051 100644 --- a/service/elasticsearchservice/snapshot/api_op_RemoveTags.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_RemoveTags.go.snap @@ -14,7 +14,6 @@ RemoveTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_RevokeVpcEndpointAccess.go.snap b/service/elasticsearchservice/snapshot/api_op_RevokeVpcEndpointAccess.go.snap index 899652379ae..586989106a1 100644 --- a/service/elasticsearchservice/snapshot/api_op_RevokeVpcEndpointAccess.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_RevokeVpcEndpointAccess.go.snap @@ -14,7 +14,6 @@ RevokeVpcEndpointAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_StartElasticsearchServiceSoftwareUpdate.go.snap b/service/elasticsearchservice/snapshot/api_op_StartElasticsearchServiceSoftwareUpdate.go.snap index 62aa8f61ecd..f1da02a312b 100644 --- a/service/elasticsearchservice/snapshot/api_op_StartElasticsearchServiceSoftwareUpdate.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_StartElasticsearchServiceSoftwareUpdate.go.snap @@ -14,7 +14,6 @@ StartElasticsearchServiceSoftwareUpdate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_UpdateElasticsearchDomainConfig.go.snap b/service/elasticsearchservice/snapshot/api_op_UpdateElasticsearchDomainConfig.go.snap index 20c0ae9a2d4..48999c126ec 100644 --- a/service/elasticsearchservice/snapshot/api_op_UpdateElasticsearchDomainConfig.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_UpdateElasticsearchDomainConfig.go.snap @@ -14,7 +14,6 @@ UpdateElasticsearchDomainConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_UpdatePackage.go.snap b/service/elasticsearchservice/snapshot/api_op_UpdatePackage.go.snap index 8110076f4eb..42865474dd7 100644 --- a/service/elasticsearchservice/snapshot/api_op_UpdatePackage.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_UpdatePackage.go.snap @@ -14,7 +14,6 @@ UpdatePackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_UpdateVpcEndpoint.go.snap b/service/elasticsearchservice/snapshot/api_op_UpdateVpcEndpoint.go.snap index 9e7190b277d..73b01fd6a26 100644 --- a/service/elasticsearchservice/snapshot/api_op_UpdateVpcEndpoint.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_UpdateVpcEndpoint.go.snap @@ -14,7 +14,6 @@ UpdateVpcEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elasticsearchservice/snapshot/api_op_UpgradeElasticsearchDomain.go.snap b/service/elasticsearchservice/snapshot/api_op_UpgradeElasticsearchDomain.go.snap index 87209ef642e..fb9263ed4af 100644 --- a/service/elasticsearchservice/snapshot/api_op_UpgradeElasticsearchDomain.go.snap +++ b/service/elasticsearchservice/snapshot/api_op_UpgradeElasticsearchDomain.go.snap @@ -14,7 +14,6 @@ UpgradeElasticsearchDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elastictranscoder/api_client.go b/service/elastictranscoder/api_client.go index 6dab8e943e7..5c24ad753b7 100644 --- a/service/elastictranscoder/api_client.go +++ b/service/elastictranscoder/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/elastictranscoder/api_op_CancelJob.go b/service/elastictranscoder/api_op_CancelJob.go index 4438f214722..25b394160e1 100644 --- a/service/elastictranscoder/api_op_CancelJob.go +++ b/service/elastictranscoder/api_op_CancelJob.go @@ -117,9 +117,6 @@ func (c *Client) addOperationCancelJobMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/elastictranscoder/api_op_CreateJob.go b/service/elastictranscoder/api_op_CreateJob.go index 77ad0e9bb92..2a7a8414fed 100644 --- a/service/elastictranscoder/api_op_CreateJob.go +++ b/service/elastictranscoder/api_op_CreateJob.go @@ -160,9 +160,6 @@ func (c *Client) addOperationCreateJobMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/elastictranscoder/api_op_CreatePipeline.go b/service/elastictranscoder/api_op_CreatePipeline.go index efc470ee74a..827750601e3 100644 --- a/service/elastictranscoder/api_op_CreatePipeline.go +++ b/service/elastictranscoder/api_op_CreatePipeline.go @@ -330,9 +330,6 @@ func (c *Client) addOperationCreatePipelineMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/elastictranscoder/api_op_CreatePreset.go b/service/elastictranscoder/api_op_CreatePreset.go index cc3d56d875d..d82243d08da 100644 --- a/service/elastictranscoder/api_op_CreatePreset.go +++ b/service/elastictranscoder/api_op_CreatePreset.go @@ -155,9 +155,6 @@ func (c *Client) addOperationCreatePresetMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePresetValidationMiddleware(stack); err != nil { return err } diff --git a/service/elastictranscoder/api_op_DeletePipeline.go b/service/elastictranscoder/api_op_DeletePipeline.go index 90703bd2259..5ca2d408db1 100644 --- a/service/elastictranscoder/api_op_DeletePipeline.go +++ b/service/elastictranscoder/api_op_DeletePipeline.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeletePipelineMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/elastictranscoder/api_op_DeletePreset.go b/service/elastictranscoder/api_op_DeletePreset.go index 1dc14ebfcae..b1ac1b8d4c1 100644 --- a/service/elastictranscoder/api_op_DeletePreset.go +++ b/service/elastictranscoder/api_op_DeletePreset.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeletePresetMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePresetValidationMiddleware(stack); err != nil { return err } diff --git a/service/elastictranscoder/api_op_ListJobsByPipeline.go b/service/elastictranscoder/api_op_ListJobsByPipeline.go index 16ea5eaec01..f59b2164fc9 100644 --- a/service/elastictranscoder/api_op_ListJobsByPipeline.go +++ b/service/elastictranscoder/api_op_ListJobsByPipeline.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListJobsByPipelineMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListJobsByPipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/elastictranscoder/api_op_ListJobsByStatus.go b/service/elastictranscoder/api_op_ListJobsByStatus.go index 7049b55f85b..0db6fdb5cdb 100644 --- a/service/elastictranscoder/api_op_ListJobsByStatus.go +++ b/service/elastictranscoder/api_op_ListJobsByStatus.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListJobsByStatusMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListJobsByStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/elastictranscoder/api_op_ListPipelines.go b/service/elastictranscoder/api_op_ListPipelines.go index c0102bafd2c..bd05813db08 100644 --- a/service/elastictranscoder/api_op_ListPipelines.go +++ b/service/elastictranscoder/api_op_ListPipelines.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListPipelinesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPipelines(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elastictranscoder/api_op_ListPresets.go b/service/elastictranscoder/api_op_ListPresets.go index 97be707a373..5a795c647c3 100644 --- a/service/elastictranscoder/api_op_ListPresets.go +++ b/service/elastictranscoder/api_op_ListPresets.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListPresetsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPresets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/elastictranscoder/api_op_ReadJob.go b/service/elastictranscoder/api_op_ReadJob.go index d215e7d92cf..aa4e3967b3e 100644 --- a/service/elastictranscoder/api_op_ReadJob.go +++ b/service/elastictranscoder/api_op_ReadJob.go @@ -117,9 +117,6 @@ func (c *Client) addOperationReadJobMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpReadJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/elastictranscoder/api_op_ReadPipeline.go b/service/elastictranscoder/api_op_ReadPipeline.go index bcb8e09872e..5e0caaeb4e6 100644 --- a/service/elastictranscoder/api_op_ReadPipeline.go +++ b/service/elastictranscoder/api_op_ReadPipeline.go @@ -122,9 +122,6 @@ func (c *Client) addOperationReadPipelineMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpReadPipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/elastictranscoder/api_op_ReadPreset.go b/service/elastictranscoder/api_op_ReadPreset.go index e70926d4a53..864f85740b2 100644 --- a/service/elastictranscoder/api_op_ReadPreset.go +++ b/service/elastictranscoder/api_op_ReadPreset.go @@ -114,9 +114,6 @@ func (c *Client) addOperationReadPresetMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpReadPresetValidationMiddleware(stack); err != nil { return err } diff --git a/service/elastictranscoder/api_op_TestRole.go b/service/elastictranscoder/api_op_TestRole.go index 48531980637..31281d91785 100644 --- a/service/elastictranscoder/api_op_TestRole.go +++ b/service/elastictranscoder/api_op_TestRole.go @@ -145,9 +145,6 @@ func (c *Client) addOperationTestRoleMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTestRoleValidationMiddleware(stack); err != nil { return err } diff --git a/service/elastictranscoder/api_op_UpdatePipeline.go b/service/elastictranscoder/api_op_UpdatePipeline.go index 7888ac9b5e5..71b361b3361 100644 --- a/service/elastictranscoder/api_op_UpdatePipeline.go +++ b/service/elastictranscoder/api_op_UpdatePipeline.go @@ -301,9 +301,6 @@ func (c *Client) addOperationUpdatePipelineMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/elastictranscoder/api_op_UpdatePipelineNotifications.go b/service/elastictranscoder/api_op_UpdatePipelineNotifications.go index 20d79959058..6448197cb91 100644 --- a/service/elastictranscoder/api_op_UpdatePipelineNotifications.go +++ b/service/elastictranscoder/api_op_UpdatePipelineNotifications.go @@ -146,9 +146,6 @@ func (c *Client) addOperationUpdatePipelineNotificationsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePipelineNotificationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/elastictranscoder/api_op_UpdatePipelineStatus.go b/service/elastictranscoder/api_op_UpdatePipelineStatus.go index 32ca306b977..2a1f9d2ede3 100644 --- a/service/elastictranscoder/api_op_UpdatePipelineStatus.go +++ b/service/elastictranscoder/api_op_UpdatePipelineStatus.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdatePipelineStatusMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePipelineStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/elastictranscoder/snapshot/api_op_CancelJob.go.snap b/service/elastictranscoder/snapshot/api_op_CancelJob.go.snap index 51903387e8d..b36a88b69e0 100644 --- a/service/elastictranscoder/snapshot/api_op_CancelJob.go.snap +++ b/service/elastictranscoder/snapshot/api_op_CancelJob.go.snap @@ -14,7 +14,6 @@ CancelJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elastictranscoder/snapshot/api_op_CreateJob.go.snap b/service/elastictranscoder/snapshot/api_op_CreateJob.go.snap index 997d5a01bae..27ac2aec4ac 100644 --- a/service/elastictranscoder/snapshot/api_op_CreateJob.go.snap +++ b/service/elastictranscoder/snapshot/api_op_CreateJob.go.snap @@ -14,7 +14,6 @@ CreateJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elastictranscoder/snapshot/api_op_CreatePipeline.go.snap b/service/elastictranscoder/snapshot/api_op_CreatePipeline.go.snap index 4c2b94d4897..b5051ce1ac7 100644 --- a/service/elastictranscoder/snapshot/api_op_CreatePipeline.go.snap +++ b/service/elastictranscoder/snapshot/api_op_CreatePipeline.go.snap @@ -14,7 +14,6 @@ CreatePipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elastictranscoder/snapshot/api_op_CreatePreset.go.snap b/service/elastictranscoder/snapshot/api_op_CreatePreset.go.snap index 2148a0323a9..3e4aa7db791 100644 --- a/service/elastictranscoder/snapshot/api_op_CreatePreset.go.snap +++ b/service/elastictranscoder/snapshot/api_op_CreatePreset.go.snap @@ -14,7 +14,6 @@ CreatePreset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elastictranscoder/snapshot/api_op_DeletePipeline.go.snap b/service/elastictranscoder/snapshot/api_op_DeletePipeline.go.snap index a7bf3d79424..50c322a5054 100644 --- a/service/elastictranscoder/snapshot/api_op_DeletePipeline.go.snap +++ b/service/elastictranscoder/snapshot/api_op_DeletePipeline.go.snap @@ -14,7 +14,6 @@ DeletePipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elastictranscoder/snapshot/api_op_DeletePreset.go.snap b/service/elastictranscoder/snapshot/api_op_DeletePreset.go.snap index 6b8f8c7ff16..7c01d5e1e71 100644 --- a/service/elastictranscoder/snapshot/api_op_DeletePreset.go.snap +++ b/service/elastictranscoder/snapshot/api_op_DeletePreset.go.snap @@ -14,7 +14,6 @@ DeletePreset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elastictranscoder/snapshot/api_op_ListJobsByPipeline.go.snap b/service/elastictranscoder/snapshot/api_op_ListJobsByPipeline.go.snap index c127abaaf95..8597c525f87 100644 --- a/service/elastictranscoder/snapshot/api_op_ListJobsByPipeline.go.snap +++ b/service/elastictranscoder/snapshot/api_op_ListJobsByPipeline.go.snap @@ -14,7 +14,6 @@ ListJobsByPipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elastictranscoder/snapshot/api_op_ListJobsByStatus.go.snap b/service/elastictranscoder/snapshot/api_op_ListJobsByStatus.go.snap index 330f4ed35eb..a339ebfbc56 100644 --- a/service/elastictranscoder/snapshot/api_op_ListJobsByStatus.go.snap +++ b/service/elastictranscoder/snapshot/api_op_ListJobsByStatus.go.snap @@ -14,7 +14,6 @@ ListJobsByStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elastictranscoder/snapshot/api_op_ListPipelines.go.snap b/service/elastictranscoder/snapshot/api_op_ListPipelines.go.snap index 38a5a0d14ce..96b189f77c0 100644 --- a/service/elastictranscoder/snapshot/api_op_ListPipelines.go.snap +++ b/service/elastictranscoder/snapshot/api_op_ListPipelines.go.snap @@ -13,7 +13,6 @@ ListPipelines Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elastictranscoder/snapshot/api_op_ListPresets.go.snap b/service/elastictranscoder/snapshot/api_op_ListPresets.go.snap index 2223e0c82b5..fa82491396c 100644 --- a/service/elastictranscoder/snapshot/api_op_ListPresets.go.snap +++ b/service/elastictranscoder/snapshot/api_op_ListPresets.go.snap @@ -13,7 +13,6 @@ ListPresets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elastictranscoder/snapshot/api_op_ReadJob.go.snap b/service/elastictranscoder/snapshot/api_op_ReadJob.go.snap index 3efe3f4e286..8ebef7bb52b 100644 --- a/service/elastictranscoder/snapshot/api_op_ReadJob.go.snap +++ b/service/elastictranscoder/snapshot/api_op_ReadJob.go.snap @@ -14,7 +14,6 @@ ReadJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elastictranscoder/snapshot/api_op_ReadPipeline.go.snap b/service/elastictranscoder/snapshot/api_op_ReadPipeline.go.snap index eb3b82e965c..79f18a2e630 100644 --- a/service/elastictranscoder/snapshot/api_op_ReadPipeline.go.snap +++ b/service/elastictranscoder/snapshot/api_op_ReadPipeline.go.snap @@ -14,7 +14,6 @@ ReadPipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elastictranscoder/snapshot/api_op_ReadPreset.go.snap b/service/elastictranscoder/snapshot/api_op_ReadPreset.go.snap index 658e811845d..4de6668482a 100644 --- a/service/elastictranscoder/snapshot/api_op_ReadPreset.go.snap +++ b/service/elastictranscoder/snapshot/api_op_ReadPreset.go.snap @@ -14,7 +14,6 @@ ReadPreset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elastictranscoder/snapshot/api_op_TestRole.go.snap b/service/elastictranscoder/snapshot/api_op_TestRole.go.snap index a38bbfbcc40..5d809139a7b 100644 --- a/service/elastictranscoder/snapshot/api_op_TestRole.go.snap +++ b/service/elastictranscoder/snapshot/api_op_TestRole.go.snap @@ -14,7 +14,6 @@ TestRole Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elastictranscoder/snapshot/api_op_UpdatePipeline.go.snap b/service/elastictranscoder/snapshot/api_op_UpdatePipeline.go.snap index acddf30c7a9..3f2dc40d069 100644 --- a/service/elastictranscoder/snapshot/api_op_UpdatePipeline.go.snap +++ b/service/elastictranscoder/snapshot/api_op_UpdatePipeline.go.snap @@ -14,7 +14,6 @@ UpdatePipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elastictranscoder/snapshot/api_op_UpdatePipelineNotifications.go.snap b/service/elastictranscoder/snapshot/api_op_UpdatePipelineNotifications.go.snap index 27a76362d9e..643719fdc50 100644 --- a/service/elastictranscoder/snapshot/api_op_UpdatePipelineNotifications.go.snap +++ b/service/elastictranscoder/snapshot/api_op_UpdatePipelineNotifications.go.snap @@ -14,7 +14,6 @@ UpdatePipelineNotifications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/elastictranscoder/snapshot/api_op_UpdatePipelineStatus.go.snap b/service/elastictranscoder/snapshot/api_op_UpdatePipelineStatus.go.snap index cc851e3c6b3..00fe2562294 100644 --- a/service/elastictranscoder/snapshot/api_op_UpdatePipelineStatus.go.snap +++ b/service/elastictranscoder/snapshot/api_op_UpdatePipelineStatus.go.snap @@ -14,7 +14,6 @@ UpdatePipelineStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/api_client.go b/service/emr/api_client.go index 920aefd3cc5..038f5097da6 100644 --- a/service/emr/api_client.go +++ b/service/emr/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/emr/api_op_AddInstanceFleet.go b/service/emr/api_op_AddInstanceFleet.go index a0558b9ba1f..71bd15426b1 100644 --- a/service/emr/api_op_AddInstanceFleet.go +++ b/service/emr/api_op_AddInstanceFleet.go @@ -126,9 +126,6 @@ func (c *Client) addOperationAddInstanceFleetMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddInstanceFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_AddInstanceGroups.go b/service/emr/api_op_AddInstanceGroups.go index 1b6d88a5e4d..c68dc19fc5e 100644 --- a/service/emr/api_op_AddInstanceGroups.go +++ b/service/emr/api_op_AddInstanceGroups.go @@ -125,9 +125,6 @@ func (c *Client) addOperationAddInstanceGroupsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddInstanceGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_AddJobFlowSteps.go b/service/emr/api_op_AddJobFlowSteps.go index daa244330ee..5e9cfbd8767 100644 --- a/service/emr/api_op_AddJobFlowSteps.go +++ b/service/emr/api_op_AddJobFlowSteps.go @@ -151,9 +151,6 @@ func (c *Client) addOperationAddJobFlowStepsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddJobFlowStepsValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_AddTags.go b/service/emr/api_op_AddTags.go index 76d3f3c70d6..5ce2efebb04 100644 --- a/service/emr/api_op_AddTags.go +++ b/service/emr/api_op_AddTags.go @@ -123,9 +123,6 @@ func (c *Client) addOperationAddTagsMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_CancelSteps.go b/service/emr/api_op_CancelSteps.go index b48f79946de..aa370aab94d 100644 --- a/service/emr/api_op_CancelSteps.go +++ b/service/emr/api_op_CancelSteps.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCancelStepsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelStepsValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_CreateSecurityConfiguration.go b/service/emr/api_op_CreateSecurityConfiguration.go index a7f4049c1fb..941878cea00 100644 --- a/service/emr/api_op_CreateSecurityConfiguration.go +++ b/service/emr/api_op_CreateSecurityConfiguration.go @@ -128,9 +128,6 @@ func (c *Client) addOperationCreateSecurityConfigurationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSecurityConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_CreateStudio.go b/service/emr/api_op_CreateStudio.go index 1e604a27686..aadc49d5f25 100644 --- a/service/emr/api_op_CreateStudio.go +++ b/service/emr/api_op_CreateStudio.go @@ -203,9 +203,6 @@ func (c *Client) addOperationCreateStudioMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateStudioValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_CreateStudioSessionMapping.go b/service/emr/api_op_CreateStudioSessionMapping.go index d2cbdd10f62..335aa1735e6 100644 --- a/service/emr/api_op_CreateStudioSessionMapping.go +++ b/service/emr/api_op_CreateStudioSessionMapping.go @@ -146,9 +146,6 @@ func (c *Client) addOperationCreateStudioSessionMappingMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateStudioSessionMappingValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_DeleteSecurityConfiguration.go b/service/emr/api_op_DeleteSecurityConfiguration.go index fe88e881001..e6816c6fb10 100644 --- a/service/emr/api_op_DeleteSecurityConfiguration.go +++ b/service/emr/api_op_DeleteSecurityConfiguration.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteSecurityConfigurationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSecurityConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_DeleteStudio.go b/service/emr/api_op_DeleteStudio.go index a4f463ff08d..db6d5630998 100644 --- a/service/emr/api_op_DeleteStudio.go +++ b/service/emr/api_op_DeleteStudio.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteStudioMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteStudioValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_DeleteStudioSessionMapping.go b/service/emr/api_op_DeleteStudioSessionMapping.go index c535e5e4b40..82160f2115d 100644 --- a/service/emr/api_op_DeleteStudioSessionMapping.go +++ b/service/emr/api_op_DeleteStudioSessionMapping.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDeleteStudioSessionMappingMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteStudioSessionMappingValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_DescribeCluster.go b/service/emr/api_op_DescribeCluster.go index 2c9bb98244b..19e44328a7f 100644 --- a/service/emr/api_op_DescribeCluster.go +++ b/service/emr/api_op_DescribeCluster.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDescribeClusterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_DescribeJobFlows.go b/service/emr/api_op_DescribeJobFlows.go index 74be1c6009b..d0d01ea30b2 100644 --- a/service/emr/api_op_DescribeJobFlows.go +++ b/service/emr/api_op_DescribeJobFlows.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDescribeJobFlowsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeJobFlows(options.Region), middleware.Before); err != nil { return err } diff --git a/service/emr/api_op_DescribeNotebookExecution.go b/service/emr/api_op_DescribeNotebookExecution.go index 0870933fa55..97219b40771 100644 --- a/service/emr/api_op_DescribeNotebookExecution.go +++ b/service/emr/api_op_DescribeNotebookExecution.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDescribeNotebookExecutionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeNotebookExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_DescribeReleaseLabel.go b/service/emr/api_op_DescribeReleaseLabel.go index fd1f8dfa15e..435443168b1 100644 --- a/service/emr/api_op_DescribeReleaseLabel.go +++ b/service/emr/api_op_DescribeReleaseLabel.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeReleaseLabelMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReleaseLabel(options.Region), middleware.Before); err != nil { return err } diff --git a/service/emr/api_op_DescribeSecurityConfiguration.go b/service/emr/api_op_DescribeSecurityConfiguration.go index 456772e9734..468129fbb89 100644 --- a/service/emr/api_op_DescribeSecurityConfiguration.go +++ b/service/emr/api_op_DescribeSecurityConfiguration.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeSecurityConfigurationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSecurityConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_DescribeStep.go b/service/emr/api_op_DescribeStep.go index d85a5070132..3e8ce76c018 100644 --- a/service/emr/api_op_DescribeStep.go +++ b/service/emr/api_op_DescribeStep.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeStepMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeStepValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_DescribeStudio.go b/service/emr/api_op_DescribeStudio.go index f143c657f0f..b807b6bacc0 100644 --- a/service/emr/api_op_DescribeStudio.go +++ b/service/emr/api_op_DescribeStudio.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDescribeStudioMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeStudioValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_GetAutoTerminationPolicy.go b/service/emr/api_op_GetAutoTerminationPolicy.go index 1dd9a15fb71..fd35db1a0a2 100644 --- a/service/emr/api_op_GetAutoTerminationPolicy.go +++ b/service/emr/api_op_GetAutoTerminationPolicy.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetAutoTerminationPolicyMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAutoTerminationPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_GetBlockPublicAccessConfiguration.go b/service/emr/api_op_GetBlockPublicAccessConfiguration.go index 7707436e9e7..828d0205f77 100644 --- a/service/emr/api_op_GetBlockPublicAccessConfiguration.go +++ b/service/emr/api_op_GetBlockPublicAccessConfiguration.go @@ -135,9 +135,6 @@ func (c *Client) addOperationGetBlockPublicAccessConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBlockPublicAccessConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/emr/api_op_GetClusterSessionCredentials.go b/service/emr/api_op_GetClusterSessionCredentials.go index c1e4d14a4d7..9776a33961c 100644 --- a/service/emr/api_op_GetClusterSessionCredentials.go +++ b/service/emr/api_op_GetClusterSessionCredentials.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetClusterSessionCredentialsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetClusterSessionCredentialsValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_GetManagedScalingPolicy.go b/service/emr/api_op_GetManagedScalingPolicy.go index c86acd2c141..85eff8b1295 100644 --- a/service/emr/api_op_GetManagedScalingPolicy.go +++ b/service/emr/api_op_GetManagedScalingPolicy.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetManagedScalingPolicyMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetManagedScalingPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_GetStudioSessionMapping.go b/service/emr/api_op_GetStudioSessionMapping.go index 59d631592f2..d4dd3fa54a4 100644 --- a/service/emr/api_op_GetStudioSessionMapping.go +++ b/service/emr/api_op_GetStudioSessionMapping.go @@ -135,9 +135,6 @@ func (c *Client) addOperationGetStudioSessionMappingMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetStudioSessionMappingValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_ListBootstrapActions.go b/service/emr/api_op_ListBootstrapActions.go index 9fd840ab824..efded9a986b 100644 --- a/service/emr/api_op_ListBootstrapActions.go +++ b/service/emr/api_op_ListBootstrapActions.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListBootstrapActionsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBootstrapActionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_ListClusters.go b/service/emr/api_op_ListClusters.go index dbcc7f97548..8d94f976acf 100644 --- a/service/emr/api_op_ListClusters.go +++ b/service/emr/api_op_ListClusters.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListClustersMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListClusters(options.Region), middleware.Before); err != nil { return err } diff --git a/service/emr/api_op_ListInstanceFleets.go b/service/emr/api_op_ListInstanceFleets.go index 40c142a0d6c..d39186cabd4 100644 --- a/service/emr/api_op_ListInstanceFleets.go +++ b/service/emr/api_op_ListInstanceFleets.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListInstanceFleetsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListInstanceFleetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_ListInstanceGroups.go b/service/emr/api_op_ListInstanceGroups.go index d43efea74e9..890887697d3 100644 --- a/service/emr/api_op_ListInstanceGroups.go +++ b/service/emr/api_op_ListInstanceGroups.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListInstanceGroupsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListInstanceGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_ListInstances.go b/service/emr/api_op_ListInstances.go index 5c456c525d0..7fec4c446c3 100644 --- a/service/emr/api_op_ListInstances.go +++ b/service/emr/api_op_ListInstances.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListInstancesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_ListNotebookExecutions.go b/service/emr/api_op_ListNotebookExecutions.go index 2ec3105714a..23515d9533b 100644 --- a/service/emr/api_op_ListNotebookExecutions.go +++ b/service/emr/api_op_ListNotebookExecutions.go @@ -161,9 +161,6 @@ func (c *Client) addOperationListNotebookExecutionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNotebookExecutions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/emr/api_op_ListReleaseLabels.go b/service/emr/api_op_ListReleaseLabels.go index 29494115353..d515bc39dc6 100644 --- a/service/emr/api_op_ListReleaseLabels.go +++ b/service/emr/api_op_ListReleaseLabels.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListReleaseLabelsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReleaseLabels(options.Region), middleware.Before); err != nil { return err } diff --git a/service/emr/api_op_ListSecurityConfigurations.go b/service/emr/api_op_ListSecurityConfigurations.go index 57c2ca06693..41639be2ab1 100644 --- a/service/emr/api_op_ListSecurityConfigurations.go +++ b/service/emr/api_op_ListSecurityConfigurations.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListSecurityConfigurationsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSecurityConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/emr/api_op_ListSteps.go b/service/emr/api_op_ListSteps.go index 6bf7976b013..c251d067cd5 100644 --- a/service/emr/api_op_ListSteps.go +++ b/service/emr/api_op_ListSteps.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListStepsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListStepsValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_ListStudioSessionMappings.go b/service/emr/api_op_ListStudioSessionMappings.go index 9943b6ed5ff..09803548314 100644 --- a/service/emr/api_op_ListStudioSessionMappings.go +++ b/service/emr/api_op_ListStudioSessionMappings.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListStudioSessionMappingsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStudioSessionMappings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/emr/api_op_ListStudios.go b/service/emr/api_op_ListStudios.go index c45c512d1f2..8655ed0b3dc 100644 --- a/service/emr/api_op_ListStudios.go +++ b/service/emr/api_op_ListStudios.go @@ -115,9 +115,6 @@ func (c *Client) addOperationListStudiosMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStudios(options.Region), middleware.Before); err != nil { return err } diff --git a/service/emr/api_op_ListSupportedInstanceTypes.go b/service/emr/api_op_ListSupportedInstanceTypes.go index 2953d4a27d6..abe5230ab39 100644 --- a/service/emr/api_op_ListSupportedInstanceTypes.go +++ b/service/emr/api_op_ListSupportedInstanceTypes.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListSupportedInstanceTypesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSupportedInstanceTypesValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_ModifyCluster.go b/service/emr/api_op_ModifyCluster.go index 151f3610aa6..4f4154d1152 100644 --- a/service/emr/api_op_ModifyCluster.go +++ b/service/emr/api_op_ModifyCluster.go @@ -118,9 +118,6 @@ func (c *Client) addOperationModifyClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_ModifyInstanceFleet.go b/service/emr/api_op_ModifyInstanceFleet.go index f30175778e2..738ead78525 100644 --- a/service/emr/api_op_ModifyInstanceFleet.go +++ b/service/emr/api_op_ModifyInstanceFleet.go @@ -118,9 +118,6 @@ func (c *Client) addOperationModifyInstanceFleetMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyInstanceFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_ModifyInstanceGroups.go b/service/emr/api_op_ModifyInstanceGroups.go index 7330a9572dd..8ee0fef4c17 100644 --- a/service/emr/api_op_ModifyInstanceGroups.go +++ b/service/emr/api_op_ModifyInstanceGroups.go @@ -113,9 +113,6 @@ func (c *Client) addOperationModifyInstanceGroupsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyInstanceGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_PutAutoScalingPolicy.go b/service/emr/api_op_PutAutoScalingPolicy.go index aba34eccd4d..fbb7c59725c 100644 --- a/service/emr/api_op_PutAutoScalingPolicy.go +++ b/service/emr/api_op_PutAutoScalingPolicy.go @@ -137,9 +137,6 @@ func (c *Client) addOperationPutAutoScalingPolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutAutoScalingPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_PutAutoTerminationPolicy.go b/service/emr/api_op_PutAutoTerminationPolicy.go index 79cef20d89e..06841545182 100644 --- a/service/emr/api_op_PutAutoTerminationPolicy.go +++ b/service/emr/api_op_PutAutoTerminationPolicy.go @@ -121,9 +121,6 @@ func (c *Client) addOperationPutAutoTerminationPolicyMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutAutoTerminationPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_PutBlockPublicAccessConfiguration.go b/service/emr/api_op_PutBlockPublicAccessConfiguration.go index ca8476c1e2f..9cafc917a2a 100644 --- a/service/emr/api_op_PutBlockPublicAccessConfiguration.go +++ b/service/emr/api_op_PutBlockPublicAccessConfiguration.go @@ -126,9 +126,6 @@ func (c *Client) addOperationPutBlockPublicAccessConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutBlockPublicAccessConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_PutManagedScalingPolicy.go b/service/emr/api_op_PutManagedScalingPolicy.go index 1ff9af38ed4..1dc627f5c14 100644 --- a/service/emr/api_op_PutManagedScalingPolicy.go +++ b/service/emr/api_op_PutManagedScalingPolicy.go @@ -118,9 +118,6 @@ func (c *Client) addOperationPutManagedScalingPolicyMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutManagedScalingPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_RemoveAutoScalingPolicy.go b/service/emr/api_op_RemoveAutoScalingPolicy.go index 5978ad0326a..b9559f1d0b6 100644 --- a/service/emr/api_op_RemoveAutoScalingPolicy.go +++ b/service/emr/api_op_RemoveAutoScalingPolicy.go @@ -114,9 +114,6 @@ func (c *Client) addOperationRemoveAutoScalingPolicyMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveAutoScalingPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_RemoveAutoTerminationPolicy.go b/service/emr/api_op_RemoveAutoTerminationPolicy.go index 098fc8db4a3..6e1263dbc47 100644 --- a/service/emr/api_op_RemoveAutoTerminationPolicy.go +++ b/service/emr/api_op_RemoveAutoTerminationPolicy.go @@ -108,9 +108,6 @@ func (c *Client) addOperationRemoveAutoTerminationPolicyMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveAutoTerminationPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_RemoveManagedScalingPolicy.go b/service/emr/api_op_RemoveManagedScalingPolicy.go index 5f83ca10ac0..8155211b6f9 100644 --- a/service/emr/api_op_RemoveManagedScalingPolicy.go +++ b/service/emr/api_op_RemoveManagedScalingPolicy.go @@ -108,9 +108,6 @@ func (c *Client) addOperationRemoveManagedScalingPolicyMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveManagedScalingPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_RemoveTags.go b/service/emr/api_op_RemoveTags.go index 46ce26cfaa7..a073e765dc6 100644 --- a/service/emr/api_op_RemoveTags.go +++ b/service/emr/api_op_RemoveTags.go @@ -122,9 +122,6 @@ func (c *Client) addOperationRemoveTagsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_RunJobFlow.go b/service/emr/api_op_RunJobFlow.go index 48b917871dc..a519ad7f192 100644 --- a/service/emr/api_op_RunJobFlow.go +++ b/service/emr/api_op_RunJobFlow.go @@ -354,9 +354,6 @@ func (c *Client) addOperationRunJobFlowMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRunJobFlowValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_SetKeepJobFlowAliveWhenNoSteps.go b/service/emr/api_op_SetKeepJobFlowAliveWhenNoSteps.go index 7e506d004ff..696c15bbba4 100644 --- a/service/emr/api_op_SetKeepJobFlowAliveWhenNoSteps.go +++ b/service/emr/api_op_SetKeepJobFlowAliveWhenNoSteps.go @@ -126,9 +126,6 @@ func (c *Client) addOperationSetKeepJobFlowAliveWhenNoStepsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetKeepJobFlowAliveWhenNoStepsValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_SetTerminationProtection.go b/service/emr/api_op_SetTerminationProtection.go index 76ca874e90f..cbdbeceae5e 100644 --- a/service/emr/api_op_SetTerminationProtection.go +++ b/service/emr/api_op_SetTerminationProtection.go @@ -133,9 +133,6 @@ func (c *Client) addOperationSetTerminationProtectionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetTerminationProtectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_SetUnhealthyNodeReplacement.go b/service/emr/api_op_SetUnhealthyNodeReplacement.go index d7df7ec9a18..2ddb70a3f6b 100644 --- a/service/emr/api_op_SetUnhealthyNodeReplacement.go +++ b/service/emr/api_op_SetUnhealthyNodeReplacement.go @@ -129,9 +129,6 @@ func (c *Client) addOperationSetUnhealthyNodeReplacementMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetUnhealthyNodeReplacementValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_SetVisibleToAllUsers.go b/service/emr/api_op_SetVisibleToAllUsers.go index 7006e48ca97..328352e5183 100644 --- a/service/emr/api_op_SetVisibleToAllUsers.go +++ b/service/emr/api_op_SetVisibleToAllUsers.go @@ -134,9 +134,6 @@ func (c *Client) addOperationSetVisibleToAllUsersMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetVisibleToAllUsersValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_StartNotebookExecution.go b/service/emr/api_op_StartNotebookExecution.go index 3673f29cdda..c14692f6cac 100644 --- a/service/emr/api_op_StartNotebookExecution.go +++ b/service/emr/api_op_StartNotebookExecution.go @@ -160,9 +160,6 @@ func (c *Client) addOperationStartNotebookExecutionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartNotebookExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_StopNotebookExecution.go b/service/emr/api_op_StopNotebookExecution.go index dda88cfeb03..f0214ea414a 100644 --- a/service/emr/api_op_StopNotebookExecution.go +++ b/service/emr/api_op_StopNotebookExecution.go @@ -107,9 +107,6 @@ func (c *Client) addOperationStopNotebookExecutionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopNotebookExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_TerminateJobFlows.go b/service/emr/api_op_TerminateJobFlows.go index c97f39fb381..6131ef7817a 100644 --- a/service/emr/api_op_TerminateJobFlows.go +++ b/service/emr/api_op_TerminateJobFlows.go @@ -116,9 +116,6 @@ func (c *Client) addOperationTerminateJobFlowsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTerminateJobFlowsValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_UpdateStudio.go b/service/emr/api_op_UpdateStudio.go index 4c9ddaf8716..c1219c1278e 100644 --- a/service/emr/api_op_UpdateStudio.go +++ b/service/emr/api_op_UpdateStudio.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateStudioMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateStudioValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/api_op_UpdateStudioSessionMapping.go b/service/emr/api_op_UpdateStudioSessionMapping.go index d7036aa0318..ea7e92bcd1d 100644 --- a/service/emr/api_op_UpdateStudioSessionMapping.go +++ b/service/emr/api_op_UpdateStudioSessionMapping.go @@ -136,9 +136,6 @@ func (c *Client) addOperationUpdateStudioSessionMappingMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateStudioSessionMappingValidationMiddleware(stack); err != nil { return err } diff --git a/service/emr/snapshot/api_op_AddInstanceFleet.go.snap b/service/emr/snapshot/api_op_AddInstanceFleet.go.snap index 4e1ece3c7d9..66cd24eae6e 100644 --- a/service/emr/snapshot/api_op_AddInstanceFleet.go.snap +++ b/service/emr/snapshot/api_op_AddInstanceFleet.go.snap @@ -14,7 +14,6 @@ AddInstanceFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_AddInstanceGroups.go.snap b/service/emr/snapshot/api_op_AddInstanceGroups.go.snap index 5300bb5ace2..62f2e0e87a3 100644 --- a/service/emr/snapshot/api_op_AddInstanceGroups.go.snap +++ b/service/emr/snapshot/api_op_AddInstanceGroups.go.snap @@ -14,7 +14,6 @@ AddInstanceGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_AddJobFlowSteps.go.snap b/service/emr/snapshot/api_op_AddJobFlowSteps.go.snap index c48632ec1c7..596f736d4d1 100644 --- a/service/emr/snapshot/api_op_AddJobFlowSteps.go.snap +++ b/service/emr/snapshot/api_op_AddJobFlowSteps.go.snap @@ -14,7 +14,6 @@ AddJobFlowSteps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_AddTags.go.snap b/service/emr/snapshot/api_op_AddTags.go.snap index 0d887673903..96fb5e7b63d 100644 --- a/service/emr/snapshot/api_op_AddTags.go.snap +++ b/service/emr/snapshot/api_op_AddTags.go.snap @@ -14,7 +14,6 @@ AddTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_CancelSteps.go.snap b/service/emr/snapshot/api_op_CancelSteps.go.snap index 09ecc652da2..7d0a146a97e 100644 --- a/service/emr/snapshot/api_op_CancelSteps.go.snap +++ b/service/emr/snapshot/api_op_CancelSteps.go.snap @@ -14,7 +14,6 @@ CancelSteps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_CreateSecurityConfiguration.go.snap b/service/emr/snapshot/api_op_CreateSecurityConfiguration.go.snap index e6b953d330b..ad1c6703ced 100644 --- a/service/emr/snapshot/api_op_CreateSecurityConfiguration.go.snap +++ b/service/emr/snapshot/api_op_CreateSecurityConfiguration.go.snap @@ -14,7 +14,6 @@ CreateSecurityConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_CreateStudio.go.snap b/service/emr/snapshot/api_op_CreateStudio.go.snap index 8fcbcbcdd0f..09d7e1172d9 100644 --- a/service/emr/snapshot/api_op_CreateStudio.go.snap +++ b/service/emr/snapshot/api_op_CreateStudio.go.snap @@ -14,7 +14,6 @@ CreateStudio Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_CreateStudioSessionMapping.go.snap b/service/emr/snapshot/api_op_CreateStudioSessionMapping.go.snap index cb9ca363cf2..c61aaf8fe63 100644 --- a/service/emr/snapshot/api_op_CreateStudioSessionMapping.go.snap +++ b/service/emr/snapshot/api_op_CreateStudioSessionMapping.go.snap @@ -14,7 +14,6 @@ CreateStudioSessionMapping Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_DeleteSecurityConfiguration.go.snap b/service/emr/snapshot/api_op_DeleteSecurityConfiguration.go.snap index 1bae95722e6..a7d0f7432c8 100644 --- a/service/emr/snapshot/api_op_DeleteSecurityConfiguration.go.snap +++ b/service/emr/snapshot/api_op_DeleteSecurityConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteSecurityConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_DeleteStudio.go.snap b/service/emr/snapshot/api_op_DeleteStudio.go.snap index 2bd827f46eb..677a8062e92 100644 --- a/service/emr/snapshot/api_op_DeleteStudio.go.snap +++ b/service/emr/snapshot/api_op_DeleteStudio.go.snap @@ -14,7 +14,6 @@ DeleteStudio Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_DeleteStudioSessionMapping.go.snap b/service/emr/snapshot/api_op_DeleteStudioSessionMapping.go.snap index b8afb4eb692..a46fc05bc29 100644 --- a/service/emr/snapshot/api_op_DeleteStudioSessionMapping.go.snap +++ b/service/emr/snapshot/api_op_DeleteStudioSessionMapping.go.snap @@ -14,7 +14,6 @@ DeleteStudioSessionMapping Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_DescribeCluster.go.snap b/service/emr/snapshot/api_op_DescribeCluster.go.snap index fe48df769b6..aba0b08d3d5 100644 --- a/service/emr/snapshot/api_op_DescribeCluster.go.snap +++ b/service/emr/snapshot/api_op_DescribeCluster.go.snap @@ -14,7 +14,6 @@ DescribeCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_DescribeJobFlows.go.snap b/service/emr/snapshot/api_op_DescribeJobFlows.go.snap index b0786cc5613..fa32a78331b 100644 --- a/service/emr/snapshot/api_op_DescribeJobFlows.go.snap +++ b/service/emr/snapshot/api_op_DescribeJobFlows.go.snap @@ -13,7 +13,6 @@ DescribeJobFlows Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_DescribeNotebookExecution.go.snap b/service/emr/snapshot/api_op_DescribeNotebookExecution.go.snap index 9b5ac4311be..538eec56879 100644 --- a/service/emr/snapshot/api_op_DescribeNotebookExecution.go.snap +++ b/service/emr/snapshot/api_op_DescribeNotebookExecution.go.snap @@ -14,7 +14,6 @@ DescribeNotebookExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_DescribeReleaseLabel.go.snap b/service/emr/snapshot/api_op_DescribeReleaseLabel.go.snap index d3ca025d9f2..afa5c4d794a 100644 --- a/service/emr/snapshot/api_op_DescribeReleaseLabel.go.snap +++ b/service/emr/snapshot/api_op_DescribeReleaseLabel.go.snap @@ -13,7 +13,6 @@ DescribeReleaseLabel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_DescribeSecurityConfiguration.go.snap b/service/emr/snapshot/api_op_DescribeSecurityConfiguration.go.snap index 02e8934a755..23856ae3d4b 100644 --- a/service/emr/snapshot/api_op_DescribeSecurityConfiguration.go.snap +++ b/service/emr/snapshot/api_op_DescribeSecurityConfiguration.go.snap @@ -14,7 +14,6 @@ DescribeSecurityConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_DescribeStep.go.snap b/service/emr/snapshot/api_op_DescribeStep.go.snap index c768cf5ed6d..3fdf7ea7552 100644 --- a/service/emr/snapshot/api_op_DescribeStep.go.snap +++ b/service/emr/snapshot/api_op_DescribeStep.go.snap @@ -14,7 +14,6 @@ DescribeStep Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_DescribeStudio.go.snap b/service/emr/snapshot/api_op_DescribeStudio.go.snap index 6cfc691ba99..7e141350fb7 100644 --- a/service/emr/snapshot/api_op_DescribeStudio.go.snap +++ b/service/emr/snapshot/api_op_DescribeStudio.go.snap @@ -14,7 +14,6 @@ DescribeStudio Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_GetAutoTerminationPolicy.go.snap b/service/emr/snapshot/api_op_GetAutoTerminationPolicy.go.snap index 01f035222ef..d5d6566bd8f 100644 --- a/service/emr/snapshot/api_op_GetAutoTerminationPolicy.go.snap +++ b/service/emr/snapshot/api_op_GetAutoTerminationPolicy.go.snap @@ -14,7 +14,6 @@ GetAutoTerminationPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_GetBlockPublicAccessConfiguration.go.snap b/service/emr/snapshot/api_op_GetBlockPublicAccessConfiguration.go.snap index 952d0ef899b..d21979cbe39 100644 --- a/service/emr/snapshot/api_op_GetBlockPublicAccessConfiguration.go.snap +++ b/service/emr/snapshot/api_op_GetBlockPublicAccessConfiguration.go.snap @@ -13,7 +13,6 @@ GetBlockPublicAccessConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_GetClusterSessionCredentials.go.snap b/service/emr/snapshot/api_op_GetClusterSessionCredentials.go.snap index 2c588eab8a1..8eb3135250f 100644 --- a/service/emr/snapshot/api_op_GetClusterSessionCredentials.go.snap +++ b/service/emr/snapshot/api_op_GetClusterSessionCredentials.go.snap @@ -14,7 +14,6 @@ GetClusterSessionCredentials Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_GetManagedScalingPolicy.go.snap b/service/emr/snapshot/api_op_GetManagedScalingPolicy.go.snap index e72084687df..3215d3e3d77 100644 --- a/service/emr/snapshot/api_op_GetManagedScalingPolicy.go.snap +++ b/service/emr/snapshot/api_op_GetManagedScalingPolicy.go.snap @@ -14,7 +14,6 @@ GetManagedScalingPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_GetStudioSessionMapping.go.snap b/service/emr/snapshot/api_op_GetStudioSessionMapping.go.snap index 4fce68026ff..77430cfbed9 100644 --- a/service/emr/snapshot/api_op_GetStudioSessionMapping.go.snap +++ b/service/emr/snapshot/api_op_GetStudioSessionMapping.go.snap @@ -14,7 +14,6 @@ GetStudioSessionMapping Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_ListBootstrapActions.go.snap b/service/emr/snapshot/api_op_ListBootstrapActions.go.snap index 81f25bfd007..e6ac712812e 100644 --- a/service/emr/snapshot/api_op_ListBootstrapActions.go.snap +++ b/service/emr/snapshot/api_op_ListBootstrapActions.go.snap @@ -14,7 +14,6 @@ ListBootstrapActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_ListClusters.go.snap b/service/emr/snapshot/api_op_ListClusters.go.snap index 48cbced5e1f..949fd968ca2 100644 --- a/service/emr/snapshot/api_op_ListClusters.go.snap +++ b/service/emr/snapshot/api_op_ListClusters.go.snap @@ -13,7 +13,6 @@ ListClusters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_ListInstanceFleets.go.snap b/service/emr/snapshot/api_op_ListInstanceFleets.go.snap index e6dc9746db9..92a2f33980d 100644 --- a/service/emr/snapshot/api_op_ListInstanceFleets.go.snap +++ b/service/emr/snapshot/api_op_ListInstanceFleets.go.snap @@ -14,7 +14,6 @@ ListInstanceFleets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_ListInstanceGroups.go.snap b/service/emr/snapshot/api_op_ListInstanceGroups.go.snap index f720d16c813..f5207c42168 100644 --- a/service/emr/snapshot/api_op_ListInstanceGroups.go.snap +++ b/service/emr/snapshot/api_op_ListInstanceGroups.go.snap @@ -14,7 +14,6 @@ ListInstanceGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_ListInstances.go.snap b/service/emr/snapshot/api_op_ListInstances.go.snap index 0c6d83319b4..5224b3d2238 100644 --- a/service/emr/snapshot/api_op_ListInstances.go.snap +++ b/service/emr/snapshot/api_op_ListInstances.go.snap @@ -14,7 +14,6 @@ ListInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_ListNotebookExecutions.go.snap b/service/emr/snapshot/api_op_ListNotebookExecutions.go.snap index a71e6638c0a..732726c2841 100644 --- a/service/emr/snapshot/api_op_ListNotebookExecutions.go.snap +++ b/service/emr/snapshot/api_op_ListNotebookExecutions.go.snap @@ -13,7 +13,6 @@ ListNotebookExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_ListReleaseLabels.go.snap b/service/emr/snapshot/api_op_ListReleaseLabels.go.snap index 550ec22e0cd..c63cecdd3d9 100644 --- a/service/emr/snapshot/api_op_ListReleaseLabels.go.snap +++ b/service/emr/snapshot/api_op_ListReleaseLabels.go.snap @@ -13,7 +13,6 @@ ListReleaseLabels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_ListSecurityConfigurations.go.snap b/service/emr/snapshot/api_op_ListSecurityConfigurations.go.snap index 83e4ec03936..ef5454c2c54 100644 --- a/service/emr/snapshot/api_op_ListSecurityConfigurations.go.snap +++ b/service/emr/snapshot/api_op_ListSecurityConfigurations.go.snap @@ -13,7 +13,6 @@ ListSecurityConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_ListSteps.go.snap b/service/emr/snapshot/api_op_ListSteps.go.snap index 8b65cfe1106..81fc71d6d64 100644 --- a/service/emr/snapshot/api_op_ListSteps.go.snap +++ b/service/emr/snapshot/api_op_ListSteps.go.snap @@ -14,7 +14,6 @@ ListSteps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_ListStudioSessionMappings.go.snap b/service/emr/snapshot/api_op_ListStudioSessionMappings.go.snap index 6b792be9cd6..594c14de453 100644 --- a/service/emr/snapshot/api_op_ListStudioSessionMappings.go.snap +++ b/service/emr/snapshot/api_op_ListStudioSessionMappings.go.snap @@ -13,7 +13,6 @@ ListStudioSessionMappings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_ListStudios.go.snap b/service/emr/snapshot/api_op_ListStudios.go.snap index 6a31501367e..621851c4ec7 100644 --- a/service/emr/snapshot/api_op_ListStudios.go.snap +++ b/service/emr/snapshot/api_op_ListStudios.go.snap @@ -13,7 +13,6 @@ ListStudios Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_ListSupportedInstanceTypes.go.snap b/service/emr/snapshot/api_op_ListSupportedInstanceTypes.go.snap index a2ea353ad6d..f0b155f1fb5 100644 --- a/service/emr/snapshot/api_op_ListSupportedInstanceTypes.go.snap +++ b/service/emr/snapshot/api_op_ListSupportedInstanceTypes.go.snap @@ -14,7 +14,6 @@ ListSupportedInstanceTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_ModifyCluster.go.snap b/service/emr/snapshot/api_op_ModifyCluster.go.snap index 76970ec6bd0..f67333e3f96 100644 --- a/service/emr/snapshot/api_op_ModifyCluster.go.snap +++ b/service/emr/snapshot/api_op_ModifyCluster.go.snap @@ -14,7 +14,6 @@ ModifyCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_ModifyInstanceFleet.go.snap b/service/emr/snapshot/api_op_ModifyInstanceFleet.go.snap index 9d43fb653f1..8e7abb69e1c 100644 --- a/service/emr/snapshot/api_op_ModifyInstanceFleet.go.snap +++ b/service/emr/snapshot/api_op_ModifyInstanceFleet.go.snap @@ -14,7 +14,6 @@ ModifyInstanceFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_ModifyInstanceGroups.go.snap b/service/emr/snapshot/api_op_ModifyInstanceGroups.go.snap index b1b4bcc74f6..f46e95eafc0 100644 --- a/service/emr/snapshot/api_op_ModifyInstanceGroups.go.snap +++ b/service/emr/snapshot/api_op_ModifyInstanceGroups.go.snap @@ -14,7 +14,6 @@ ModifyInstanceGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_PutAutoScalingPolicy.go.snap b/service/emr/snapshot/api_op_PutAutoScalingPolicy.go.snap index 994e760d9d3..4d56699fea4 100644 --- a/service/emr/snapshot/api_op_PutAutoScalingPolicy.go.snap +++ b/service/emr/snapshot/api_op_PutAutoScalingPolicy.go.snap @@ -14,7 +14,6 @@ PutAutoScalingPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_PutAutoTerminationPolicy.go.snap b/service/emr/snapshot/api_op_PutAutoTerminationPolicy.go.snap index 5ac4746f39a..ae3dcc9f259 100644 --- a/service/emr/snapshot/api_op_PutAutoTerminationPolicy.go.snap +++ b/service/emr/snapshot/api_op_PutAutoTerminationPolicy.go.snap @@ -14,7 +14,6 @@ PutAutoTerminationPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_PutBlockPublicAccessConfiguration.go.snap b/service/emr/snapshot/api_op_PutBlockPublicAccessConfiguration.go.snap index cdcd8deb583..fd0be66e268 100644 --- a/service/emr/snapshot/api_op_PutBlockPublicAccessConfiguration.go.snap +++ b/service/emr/snapshot/api_op_PutBlockPublicAccessConfiguration.go.snap @@ -14,7 +14,6 @@ PutBlockPublicAccessConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_PutManagedScalingPolicy.go.snap b/service/emr/snapshot/api_op_PutManagedScalingPolicy.go.snap index 6b75b26b4ff..e84b6404d47 100644 --- a/service/emr/snapshot/api_op_PutManagedScalingPolicy.go.snap +++ b/service/emr/snapshot/api_op_PutManagedScalingPolicy.go.snap @@ -14,7 +14,6 @@ PutManagedScalingPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_RemoveAutoScalingPolicy.go.snap b/service/emr/snapshot/api_op_RemoveAutoScalingPolicy.go.snap index 316bb46693b..9ebce43d727 100644 --- a/service/emr/snapshot/api_op_RemoveAutoScalingPolicy.go.snap +++ b/service/emr/snapshot/api_op_RemoveAutoScalingPolicy.go.snap @@ -14,7 +14,6 @@ RemoveAutoScalingPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_RemoveAutoTerminationPolicy.go.snap b/service/emr/snapshot/api_op_RemoveAutoTerminationPolicy.go.snap index ddd8d0275a2..450b3b6e8b0 100644 --- a/service/emr/snapshot/api_op_RemoveAutoTerminationPolicy.go.snap +++ b/service/emr/snapshot/api_op_RemoveAutoTerminationPolicy.go.snap @@ -14,7 +14,6 @@ RemoveAutoTerminationPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_RemoveManagedScalingPolicy.go.snap b/service/emr/snapshot/api_op_RemoveManagedScalingPolicy.go.snap index b6f5dff74f6..f8cf23c337c 100644 --- a/service/emr/snapshot/api_op_RemoveManagedScalingPolicy.go.snap +++ b/service/emr/snapshot/api_op_RemoveManagedScalingPolicy.go.snap @@ -14,7 +14,6 @@ RemoveManagedScalingPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_RemoveTags.go.snap b/service/emr/snapshot/api_op_RemoveTags.go.snap index eb11fc26f76..e1cbd329051 100644 --- a/service/emr/snapshot/api_op_RemoveTags.go.snap +++ b/service/emr/snapshot/api_op_RemoveTags.go.snap @@ -14,7 +14,6 @@ RemoveTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_RunJobFlow.go.snap b/service/emr/snapshot/api_op_RunJobFlow.go.snap index 979b8e18dbc..7723c787781 100644 --- a/service/emr/snapshot/api_op_RunJobFlow.go.snap +++ b/service/emr/snapshot/api_op_RunJobFlow.go.snap @@ -14,7 +14,6 @@ RunJobFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_SetKeepJobFlowAliveWhenNoSteps.go.snap b/service/emr/snapshot/api_op_SetKeepJobFlowAliveWhenNoSteps.go.snap index d9ccbbec362..112d6ed6b16 100644 --- a/service/emr/snapshot/api_op_SetKeepJobFlowAliveWhenNoSteps.go.snap +++ b/service/emr/snapshot/api_op_SetKeepJobFlowAliveWhenNoSteps.go.snap @@ -14,7 +14,6 @@ SetKeepJobFlowAliveWhenNoSteps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_SetTerminationProtection.go.snap b/service/emr/snapshot/api_op_SetTerminationProtection.go.snap index eabfa4c27aa..10829c8ef7f 100644 --- a/service/emr/snapshot/api_op_SetTerminationProtection.go.snap +++ b/service/emr/snapshot/api_op_SetTerminationProtection.go.snap @@ -14,7 +14,6 @@ SetTerminationProtection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_SetUnhealthyNodeReplacement.go.snap b/service/emr/snapshot/api_op_SetUnhealthyNodeReplacement.go.snap index 4f1b2a1db6b..b005d152245 100644 --- a/service/emr/snapshot/api_op_SetUnhealthyNodeReplacement.go.snap +++ b/service/emr/snapshot/api_op_SetUnhealthyNodeReplacement.go.snap @@ -14,7 +14,6 @@ SetUnhealthyNodeReplacement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_SetVisibleToAllUsers.go.snap b/service/emr/snapshot/api_op_SetVisibleToAllUsers.go.snap index 32e8dcdcbab..50925f98711 100644 --- a/service/emr/snapshot/api_op_SetVisibleToAllUsers.go.snap +++ b/service/emr/snapshot/api_op_SetVisibleToAllUsers.go.snap @@ -14,7 +14,6 @@ SetVisibleToAllUsers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_StartNotebookExecution.go.snap b/service/emr/snapshot/api_op_StartNotebookExecution.go.snap index bf5033e2713..147eb57223e 100644 --- a/service/emr/snapshot/api_op_StartNotebookExecution.go.snap +++ b/service/emr/snapshot/api_op_StartNotebookExecution.go.snap @@ -14,7 +14,6 @@ StartNotebookExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_StopNotebookExecution.go.snap b/service/emr/snapshot/api_op_StopNotebookExecution.go.snap index ad2e9294c6d..9e8d55a317e 100644 --- a/service/emr/snapshot/api_op_StopNotebookExecution.go.snap +++ b/service/emr/snapshot/api_op_StopNotebookExecution.go.snap @@ -14,7 +14,6 @@ StopNotebookExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_TerminateJobFlows.go.snap b/service/emr/snapshot/api_op_TerminateJobFlows.go.snap index d188b6a0f93..14f7a7a780a 100644 --- a/service/emr/snapshot/api_op_TerminateJobFlows.go.snap +++ b/service/emr/snapshot/api_op_TerminateJobFlows.go.snap @@ -14,7 +14,6 @@ TerminateJobFlows Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_UpdateStudio.go.snap b/service/emr/snapshot/api_op_UpdateStudio.go.snap index 2e4df01feb4..a1326cb65d7 100644 --- a/service/emr/snapshot/api_op_UpdateStudio.go.snap +++ b/service/emr/snapshot/api_op_UpdateStudio.go.snap @@ -14,7 +14,6 @@ UpdateStudio Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emr/snapshot/api_op_UpdateStudioSessionMapping.go.snap b/service/emr/snapshot/api_op_UpdateStudioSessionMapping.go.snap index 68ea3f1350a..e7a4deb68ee 100644 --- a/service/emr/snapshot/api_op_UpdateStudioSessionMapping.go.snap +++ b/service/emr/snapshot/api_op_UpdateStudioSessionMapping.go.snap @@ -14,7 +14,6 @@ UpdateStudioSessionMapping Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrcontainers/api_client.go b/service/emrcontainers/api_client.go index 1a6f4e848f7..4a02593e680 100644 --- a/service/emrcontainers/api_client.go +++ b/service/emrcontainers/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/emrcontainers/api_op_CancelJobRun.go b/service/emrcontainers/api_op_CancelJobRun.go index 9abe745027b..9f8ac025f92 100644 --- a/service/emrcontainers/api_op_CancelJobRun.go +++ b/service/emrcontainers/api_op_CancelJobRun.go @@ -120,9 +120,6 @@ func (c *Client) addOperationCancelJobRunMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelJobRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/emrcontainers/api_op_CreateJobTemplate.go b/service/emrcontainers/api_op_CreateJobTemplate.go index 2f439a63182..54c4faa1bf1 100644 --- a/service/emrcontainers/api_op_CreateJobTemplate.go +++ b/service/emrcontainers/api_op_CreateJobTemplate.go @@ -141,9 +141,6 @@ func (c *Client) addOperationCreateJobTemplateMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateJobTemplateMiddleware(stack, options); err != nil { return err } diff --git a/service/emrcontainers/api_op_CreateManagedEndpoint.go b/service/emrcontainers/api_op_CreateManagedEndpoint.go index 78d2174ab2f..f154c69b440 100644 --- a/service/emrcontainers/api_op_CreateManagedEndpoint.go +++ b/service/emrcontainers/api_op_CreateManagedEndpoint.go @@ -162,9 +162,6 @@ func (c *Client) addOperationCreateManagedEndpointMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateManagedEndpointMiddleware(stack, options); err != nil { return err } diff --git a/service/emrcontainers/api_op_CreateSecurityConfiguration.go b/service/emrcontainers/api_op_CreateSecurityConfiguration.go index 6b37f8060a1..69ef8ace461 100644 --- a/service/emrcontainers/api_op_CreateSecurityConfiguration.go +++ b/service/emrcontainers/api_op_CreateSecurityConfiguration.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateSecurityConfigurationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateSecurityConfigurationMiddleware(stack, options); err != nil { return err } diff --git a/service/emrcontainers/api_op_CreateVirtualCluster.go b/service/emrcontainers/api_op_CreateVirtualCluster.go index 90b91ad451a..1f2ec040caf 100644 --- a/service/emrcontainers/api_op_CreateVirtualCluster.go +++ b/service/emrcontainers/api_op_CreateVirtualCluster.go @@ -138,9 +138,6 @@ func (c *Client) addOperationCreateVirtualClusterMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateVirtualClusterMiddleware(stack, options); err != nil { return err } diff --git a/service/emrcontainers/api_op_DeleteJobTemplate.go b/service/emrcontainers/api_op_DeleteJobTemplate.go index 75425e8619d..cd7c76b6503 100644 --- a/service/emrcontainers/api_op_DeleteJobTemplate.go +++ b/service/emrcontainers/api_op_DeleteJobTemplate.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteJobTemplateMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteJobTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/emrcontainers/api_op_DeleteManagedEndpoint.go b/service/emrcontainers/api_op_DeleteManagedEndpoint.go index 0acd87bc7c4..bbf6a881cd7 100644 --- a/service/emrcontainers/api_op_DeleteManagedEndpoint.go +++ b/service/emrcontainers/api_op_DeleteManagedEndpoint.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteManagedEndpointMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteManagedEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/emrcontainers/api_op_DeleteVirtualCluster.go b/service/emrcontainers/api_op_DeleteVirtualCluster.go index 2ae8353a0c7..bf2e5346e8b 100644 --- a/service/emrcontainers/api_op_DeleteVirtualCluster.go +++ b/service/emrcontainers/api_op_DeleteVirtualCluster.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteVirtualClusterMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVirtualClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/emrcontainers/api_op_DescribeJobRun.go b/service/emrcontainers/api_op_DescribeJobRun.go index afabfcded35..025f767f295 100644 --- a/service/emrcontainers/api_op_DescribeJobRun.go +++ b/service/emrcontainers/api_op_DescribeJobRun.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeJobRunMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeJobRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/emrcontainers/api_op_DescribeJobTemplate.go b/service/emrcontainers/api_op_DescribeJobTemplate.go index a54e04dc877..27353211fb2 100644 --- a/service/emrcontainers/api_op_DescribeJobTemplate.go +++ b/service/emrcontainers/api_op_DescribeJobTemplate.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDescribeJobTemplateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeJobTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/emrcontainers/api_op_DescribeManagedEndpoint.go b/service/emrcontainers/api_op_DescribeManagedEndpoint.go index f847fbace4a..da0cafa745b 100644 --- a/service/emrcontainers/api_op_DescribeManagedEndpoint.go +++ b/service/emrcontainers/api_op_DescribeManagedEndpoint.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeManagedEndpointMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeManagedEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/emrcontainers/api_op_DescribeSecurityConfiguration.go b/service/emrcontainers/api_op_DescribeSecurityConfiguration.go index 76d696ab8b7..be3bb5e4be3 100644 --- a/service/emrcontainers/api_op_DescribeSecurityConfiguration.go +++ b/service/emrcontainers/api_op_DescribeSecurityConfiguration.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDescribeSecurityConfigurationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSecurityConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/emrcontainers/api_op_DescribeVirtualCluster.go b/service/emrcontainers/api_op_DescribeVirtualCluster.go index 4f7a7534cc1..e0619e7cd9a 100644 --- a/service/emrcontainers/api_op_DescribeVirtualCluster.go +++ b/service/emrcontainers/api_op_DescribeVirtualCluster.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDescribeVirtualClusterMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeVirtualClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/emrcontainers/api_op_GetManagedEndpointSessionCredentials.go b/service/emrcontainers/api_op_GetManagedEndpointSessionCredentials.go index ddac1fe1071..1e4b8544294 100644 --- a/service/emrcontainers/api_op_GetManagedEndpointSessionCredentials.go +++ b/service/emrcontainers/api_op_GetManagedEndpointSessionCredentials.go @@ -146,9 +146,6 @@ func (c *Client) addOperationGetManagedEndpointSessionCredentialsMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opGetManagedEndpointSessionCredentialsMiddleware(stack, options); err != nil { return err } diff --git a/service/emrcontainers/api_op_ListJobRuns.go b/service/emrcontainers/api_op_ListJobRuns.go index aca92c38cf0..03503110300 100644 --- a/service/emrcontainers/api_op_ListJobRuns.go +++ b/service/emrcontainers/api_op_ListJobRuns.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListJobRunsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListJobRunsValidationMiddleware(stack); err != nil { return err } diff --git a/service/emrcontainers/api_op_ListJobTemplates.go b/service/emrcontainers/api_op_ListJobTemplates.go index a5e8be55357..e5b0346c693 100644 --- a/service/emrcontainers/api_op_ListJobTemplates.go +++ b/service/emrcontainers/api_op_ListJobTemplates.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListJobTemplatesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJobTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/emrcontainers/api_op_ListManagedEndpoints.go b/service/emrcontainers/api_op_ListManagedEndpoints.go index 85f19f30395..8853eac37ea 100644 --- a/service/emrcontainers/api_op_ListManagedEndpoints.go +++ b/service/emrcontainers/api_op_ListManagedEndpoints.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListManagedEndpointsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListManagedEndpointsValidationMiddleware(stack); err != nil { return err } diff --git a/service/emrcontainers/api_op_ListSecurityConfigurations.go b/service/emrcontainers/api_op_ListSecurityConfigurations.go index 893e0b72165..f6abc815d5e 100644 --- a/service/emrcontainers/api_op_ListSecurityConfigurations.go +++ b/service/emrcontainers/api_op_ListSecurityConfigurations.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListSecurityConfigurationsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSecurityConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/emrcontainers/api_op_ListTagsForResource.go b/service/emrcontainers/api_op_ListTagsForResource.go index 01eff21940e..da517cbdc54 100644 --- a/service/emrcontainers/api_op_ListTagsForResource.go +++ b/service/emrcontainers/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/emrcontainers/api_op_ListVirtualClusters.go b/service/emrcontainers/api_op_ListVirtualClusters.go index f53cc8d01d4..cd06de661b6 100644 --- a/service/emrcontainers/api_op_ListVirtualClusters.go +++ b/service/emrcontainers/api_op_ListVirtualClusters.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListVirtualClustersMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVirtualClusters(options.Region), middleware.Before); err != nil { return err } diff --git a/service/emrcontainers/api_op_StartJobRun.go b/service/emrcontainers/api_op_StartJobRun.go index ff144298d51..dd86c573a73 100644 --- a/service/emrcontainers/api_op_StartJobRun.go +++ b/service/emrcontainers/api_op_StartJobRun.go @@ -154,9 +154,6 @@ func (c *Client) addOperationStartJobRunMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartJobRunMiddleware(stack, options); err != nil { return err } diff --git a/service/emrcontainers/api_op_TagResource.go b/service/emrcontainers/api_op_TagResource.go index 7d7ea8a2594..5bd1741ced5 100644 --- a/service/emrcontainers/api_op_TagResource.go +++ b/service/emrcontainers/api_op_TagResource.go @@ -121,9 +121,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/emrcontainers/api_op_UntagResource.go b/service/emrcontainers/api_op_UntagResource.go index 4a7c1030c77..e86adef5990 100644 --- a/service/emrcontainers/api_op_UntagResource.go +++ b/service/emrcontainers/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/emrcontainers/snapshot/api_op_CancelJobRun.go.snap b/service/emrcontainers/snapshot/api_op_CancelJobRun.go.snap index 051c9bcd8fc..8dcdc89b78b 100644 --- a/service/emrcontainers/snapshot/api_op_CancelJobRun.go.snap +++ b/service/emrcontainers/snapshot/api_op_CancelJobRun.go.snap @@ -14,7 +14,6 @@ CancelJobRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrcontainers/snapshot/api_op_CreateJobTemplate.go.snap b/service/emrcontainers/snapshot/api_op_CreateJobTemplate.go.snap index 9ec01cdb45b..52487b575e8 100644 --- a/service/emrcontainers/snapshot/api_op_CreateJobTemplate.go.snap +++ b/service/emrcontainers/snapshot/api_op_CreateJobTemplate.go.snap @@ -15,7 +15,6 @@ CreateJobTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrcontainers/snapshot/api_op_CreateManagedEndpoint.go.snap b/service/emrcontainers/snapshot/api_op_CreateManagedEndpoint.go.snap index bdfa6d70ed6..ca075acb935 100644 --- a/service/emrcontainers/snapshot/api_op_CreateManagedEndpoint.go.snap +++ b/service/emrcontainers/snapshot/api_op_CreateManagedEndpoint.go.snap @@ -15,7 +15,6 @@ CreateManagedEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrcontainers/snapshot/api_op_CreateSecurityConfiguration.go.snap b/service/emrcontainers/snapshot/api_op_CreateSecurityConfiguration.go.snap index ac6b2c1183c..57bef98b364 100644 --- a/service/emrcontainers/snapshot/api_op_CreateSecurityConfiguration.go.snap +++ b/service/emrcontainers/snapshot/api_op_CreateSecurityConfiguration.go.snap @@ -15,7 +15,6 @@ CreateSecurityConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrcontainers/snapshot/api_op_CreateVirtualCluster.go.snap b/service/emrcontainers/snapshot/api_op_CreateVirtualCluster.go.snap index c6668b629ca..65b3b7e2881 100644 --- a/service/emrcontainers/snapshot/api_op_CreateVirtualCluster.go.snap +++ b/service/emrcontainers/snapshot/api_op_CreateVirtualCluster.go.snap @@ -15,7 +15,6 @@ CreateVirtualCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrcontainers/snapshot/api_op_DeleteJobTemplate.go.snap b/service/emrcontainers/snapshot/api_op_DeleteJobTemplate.go.snap index cfe71708cb4..07f79aa43ae 100644 --- a/service/emrcontainers/snapshot/api_op_DeleteJobTemplate.go.snap +++ b/service/emrcontainers/snapshot/api_op_DeleteJobTemplate.go.snap @@ -14,7 +14,6 @@ DeleteJobTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrcontainers/snapshot/api_op_DeleteManagedEndpoint.go.snap b/service/emrcontainers/snapshot/api_op_DeleteManagedEndpoint.go.snap index 24c7c489367..9c7c9454813 100644 --- a/service/emrcontainers/snapshot/api_op_DeleteManagedEndpoint.go.snap +++ b/service/emrcontainers/snapshot/api_op_DeleteManagedEndpoint.go.snap @@ -14,7 +14,6 @@ DeleteManagedEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrcontainers/snapshot/api_op_DeleteVirtualCluster.go.snap b/service/emrcontainers/snapshot/api_op_DeleteVirtualCluster.go.snap index 39502b76b1b..3b9033cf196 100644 --- a/service/emrcontainers/snapshot/api_op_DeleteVirtualCluster.go.snap +++ b/service/emrcontainers/snapshot/api_op_DeleteVirtualCluster.go.snap @@ -14,7 +14,6 @@ DeleteVirtualCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrcontainers/snapshot/api_op_DescribeJobRun.go.snap b/service/emrcontainers/snapshot/api_op_DescribeJobRun.go.snap index c216d24af1c..2caffbd6023 100644 --- a/service/emrcontainers/snapshot/api_op_DescribeJobRun.go.snap +++ b/service/emrcontainers/snapshot/api_op_DescribeJobRun.go.snap @@ -14,7 +14,6 @@ DescribeJobRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrcontainers/snapshot/api_op_DescribeJobTemplate.go.snap b/service/emrcontainers/snapshot/api_op_DescribeJobTemplate.go.snap index ff7ba1c7c67..649bbd8d763 100644 --- a/service/emrcontainers/snapshot/api_op_DescribeJobTemplate.go.snap +++ b/service/emrcontainers/snapshot/api_op_DescribeJobTemplate.go.snap @@ -14,7 +14,6 @@ DescribeJobTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrcontainers/snapshot/api_op_DescribeManagedEndpoint.go.snap b/service/emrcontainers/snapshot/api_op_DescribeManagedEndpoint.go.snap index a3e27709596..cb7e98a1852 100644 --- a/service/emrcontainers/snapshot/api_op_DescribeManagedEndpoint.go.snap +++ b/service/emrcontainers/snapshot/api_op_DescribeManagedEndpoint.go.snap @@ -14,7 +14,6 @@ DescribeManagedEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrcontainers/snapshot/api_op_DescribeSecurityConfiguration.go.snap b/service/emrcontainers/snapshot/api_op_DescribeSecurityConfiguration.go.snap index 02e8934a755..23856ae3d4b 100644 --- a/service/emrcontainers/snapshot/api_op_DescribeSecurityConfiguration.go.snap +++ b/service/emrcontainers/snapshot/api_op_DescribeSecurityConfiguration.go.snap @@ -14,7 +14,6 @@ DescribeSecurityConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrcontainers/snapshot/api_op_DescribeVirtualCluster.go.snap b/service/emrcontainers/snapshot/api_op_DescribeVirtualCluster.go.snap index fae87b16326..4563639ec84 100644 --- a/service/emrcontainers/snapshot/api_op_DescribeVirtualCluster.go.snap +++ b/service/emrcontainers/snapshot/api_op_DescribeVirtualCluster.go.snap @@ -14,7 +14,6 @@ DescribeVirtualCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrcontainers/snapshot/api_op_GetManagedEndpointSessionCredentials.go.snap b/service/emrcontainers/snapshot/api_op_GetManagedEndpointSessionCredentials.go.snap index b99d0f88729..899332d5a4e 100644 --- a/service/emrcontainers/snapshot/api_op_GetManagedEndpointSessionCredentials.go.snap +++ b/service/emrcontainers/snapshot/api_op_GetManagedEndpointSessionCredentials.go.snap @@ -15,7 +15,6 @@ GetManagedEndpointSessionCredentials Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrcontainers/snapshot/api_op_ListJobRuns.go.snap b/service/emrcontainers/snapshot/api_op_ListJobRuns.go.snap index e2e9db74cb4..6de0ffca767 100644 --- a/service/emrcontainers/snapshot/api_op_ListJobRuns.go.snap +++ b/service/emrcontainers/snapshot/api_op_ListJobRuns.go.snap @@ -14,7 +14,6 @@ ListJobRuns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrcontainers/snapshot/api_op_ListJobTemplates.go.snap b/service/emrcontainers/snapshot/api_op_ListJobTemplates.go.snap index 1beaee78764..d85c8790fc2 100644 --- a/service/emrcontainers/snapshot/api_op_ListJobTemplates.go.snap +++ b/service/emrcontainers/snapshot/api_op_ListJobTemplates.go.snap @@ -13,7 +13,6 @@ ListJobTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrcontainers/snapshot/api_op_ListManagedEndpoints.go.snap b/service/emrcontainers/snapshot/api_op_ListManagedEndpoints.go.snap index 271988a44c8..9317922da6f 100644 --- a/service/emrcontainers/snapshot/api_op_ListManagedEndpoints.go.snap +++ b/service/emrcontainers/snapshot/api_op_ListManagedEndpoints.go.snap @@ -14,7 +14,6 @@ ListManagedEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrcontainers/snapshot/api_op_ListSecurityConfigurations.go.snap b/service/emrcontainers/snapshot/api_op_ListSecurityConfigurations.go.snap index 83e4ec03936..ef5454c2c54 100644 --- a/service/emrcontainers/snapshot/api_op_ListSecurityConfigurations.go.snap +++ b/service/emrcontainers/snapshot/api_op_ListSecurityConfigurations.go.snap @@ -13,7 +13,6 @@ ListSecurityConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrcontainers/snapshot/api_op_ListTagsForResource.go.snap b/service/emrcontainers/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/emrcontainers/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/emrcontainers/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrcontainers/snapshot/api_op_ListVirtualClusters.go.snap b/service/emrcontainers/snapshot/api_op_ListVirtualClusters.go.snap index 818a24503b1..d71119109b9 100644 --- a/service/emrcontainers/snapshot/api_op_ListVirtualClusters.go.snap +++ b/service/emrcontainers/snapshot/api_op_ListVirtualClusters.go.snap @@ -13,7 +13,6 @@ ListVirtualClusters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrcontainers/snapshot/api_op_StartJobRun.go.snap b/service/emrcontainers/snapshot/api_op_StartJobRun.go.snap index c921fbb0037..6b4a1fe6c30 100644 --- a/service/emrcontainers/snapshot/api_op_StartJobRun.go.snap +++ b/service/emrcontainers/snapshot/api_op_StartJobRun.go.snap @@ -15,7 +15,6 @@ StartJobRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrcontainers/snapshot/api_op_TagResource.go.snap b/service/emrcontainers/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/emrcontainers/snapshot/api_op_TagResource.go.snap +++ b/service/emrcontainers/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrcontainers/snapshot/api_op_UntagResource.go.snap b/service/emrcontainers/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/emrcontainers/snapshot/api_op_UntagResource.go.snap +++ b/service/emrcontainers/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrserverless/api_client.go b/service/emrserverless/api_client.go index 90f5f2d8c11..53e21f52513 100644 --- a/service/emrserverless/api_client.go +++ b/service/emrserverless/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/emrserverless/api_op_CancelJobRun.go b/service/emrserverless/api_op_CancelJobRun.go index 9fc457fb9a3..cff57835448 100644 --- a/service/emrserverless/api_op_CancelJobRun.go +++ b/service/emrserverless/api_op_CancelJobRun.go @@ -123,9 +123,6 @@ func (c *Client) addOperationCancelJobRunMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelJobRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/emrserverless/api_op_CreateApplication.go b/service/emrserverless/api_op_CreateApplication.go index bca990c26e0..838a24ee555 100644 --- a/service/emrserverless/api_op_CreateApplication.go +++ b/service/emrserverless/api_op_CreateApplication.go @@ -191,9 +191,6 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateApplicationMiddleware(stack, options); err != nil { return err } diff --git a/service/emrserverless/api_op_DeleteApplication.go b/service/emrserverless/api_op_DeleteApplication.go index e593ca780b1..07b6a2d46ef 100644 --- a/service/emrserverless/api_op_DeleteApplication.go +++ b/service/emrserverless/api_op_DeleteApplication.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/emrserverless/api_op_GetApplication.go b/service/emrserverless/api_op_GetApplication.go index 94fc2260ed3..ab10c053d0b 100644 --- a/service/emrserverless/api_op_GetApplication.go +++ b/service/emrserverless/api_op_GetApplication.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetApplicationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/emrserverless/api_op_GetDashboardForJobRun.go b/service/emrserverless/api_op_GetDashboardForJobRun.go index 9d19609283b..029873a222f 100644 --- a/service/emrserverless/api_op_GetDashboardForJobRun.go +++ b/service/emrserverless/api_op_GetDashboardForJobRun.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetDashboardForJobRunMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDashboardForJobRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/emrserverless/api_op_GetJobRun.go b/service/emrserverless/api_op_GetJobRun.go index a1575318a78..a460d359a44 100644 --- a/service/emrserverless/api_op_GetJobRun.go +++ b/service/emrserverless/api_op_GetJobRun.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetJobRunMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetJobRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/emrserverless/api_op_ListApplications.go b/service/emrserverless/api_op_ListApplications.go index 55cbd17bd49..f8e5b752964 100644 --- a/service/emrserverless/api_op_ListApplications.go +++ b/service/emrserverless/api_op_ListApplications.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListApplicationsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplications(options.Region), middleware.Before); err != nil { return err } diff --git a/service/emrserverless/api_op_ListJobRunAttempts.go b/service/emrserverless/api_op_ListJobRunAttempts.go index 134d06f5fc8..94d082ac0b9 100644 --- a/service/emrserverless/api_op_ListJobRunAttempts.go +++ b/service/emrserverless/api_op_ListJobRunAttempts.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListJobRunAttemptsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListJobRunAttemptsValidationMiddleware(stack); err != nil { return err } diff --git a/service/emrserverless/api_op_ListJobRuns.go b/service/emrserverless/api_op_ListJobRuns.go index 26e3c485e09..538bd46fafd 100644 --- a/service/emrserverless/api_op_ListJobRuns.go +++ b/service/emrserverless/api_op_ListJobRuns.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListJobRunsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListJobRunsValidationMiddleware(stack); err != nil { return err } diff --git a/service/emrserverless/api_op_ListTagsForResource.go b/service/emrserverless/api_op_ListTagsForResource.go index 61b7ce88928..a4c5b3814f9 100644 --- a/service/emrserverless/api_op_ListTagsForResource.go +++ b/service/emrserverless/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/emrserverless/api_op_StartApplication.go b/service/emrserverless/api_op_StartApplication.go index 3f6a768cb7d..76b987338fc 100644 --- a/service/emrserverless/api_op_StartApplication.go +++ b/service/emrserverless/api_op_StartApplication.go @@ -107,9 +107,6 @@ func (c *Client) addOperationStartApplicationMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/emrserverless/api_op_StartJobRun.go b/service/emrserverless/api_op_StartJobRun.go index 09fb311c59a..6983aa0450e 100644 --- a/service/emrserverless/api_op_StartJobRun.go +++ b/service/emrserverless/api_op_StartJobRun.go @@ -157,9 +157,6 @@ func (c *Client) addOperationStartJobRunMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartJobRunMiddleware(stack, options); err != nil { return err } diff --git a/service/emrserverless/api_op_StopApplication.go b/service/emrserverless/api_op_StopApplication.go index df8d8853068..a6150bc04f5 100644 --- a/service/emrserverless/api_op_StopApplication.go +++ b/service/emrserverless/api_op_StopApplication.go @@ -109,9 +109,6 @@ func (c *Client) addOperationStopApplicationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/emrserverless/api_op_TagResource.go b/service/emrserverless/api_op_TagResource.go index b121c077c04..f74f2693723 100644 --- a/service/emrserverless/api_op_TagResource.go +++ b/service/emrserverless/api_op_TagResource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/emrserverless/api_op_UntagResource.go b/service/emrserverless/api_op_UntagResource.go index ff5c1574b86..58da914697d 100644 --- a/service/emrserverless/api_op_UntagResource.go +++ b/service/emrserverless/api_op_UntagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/emrserverless/api_op_UpdateApplication.go b/service/emrserverless/api_op_UpdateApplication.go index 8b34faa9d58..8087ef11ca9 100644 --- a/service/emrserverless/api_op_UpdateApplication.go +++ b/service/emrserverless/api_op_UpdateApplication.go @@ -178,9 +178,6 @@ func (c *Client) addOperationUpdateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateApplicationMiddleware(stack, options); err != nil { return err } diff --git a/service/emrserverless/snapshot/api_op_CancelJobRun.go.snap b/service/emrserverless/snapshot/api_op_CancelJobRun.go.snap index 051c9bcd8fc..8dcdc89b78b 100644 --- a/service/emrserverless/snapshot/api_op_CancelJobRun.go.snap +++ b/service/emrserverless/snapshot/api_op_CancelJobRun.go.snap @@ -14,7 +14,6 @@ CancelJobRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrserverless/snapshot/api_op_CreateApplication.go.snap b/service/emrserverless/snapshot/api_op_CreateApplication.go.snap index 55ae9fa9488..cb4df90a3ee 100644 --- a/service/emrserverless/snapshot/api_op_CreateApplication.go.snap +++ b/service/emrserverless/snapshot/api_op_CreateApplication.go.snap @@ -15,7 +15,6 @@ CreateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrserverless/snapshot/api_op_DeleteApplication.go.snap b/service/emrserverless/snapshot/api_op_DeleteApplication.go.snap index 80790355ed5..ffda37a527f 100644 --- a/service/emrserverless/snapshot/api_op_DeleteApplication.go.snap +++ b/service/emrserverless/snapshot/api_op_DeleteApplication.go.snap @@ -14,7 +14,6 @@ DeleteApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrserverless/snapshot/api_op_GetApplication.go.snap b/service/emrserverless/snapshot/api_op_GetApplication.go.snap index 3307f56eb00..ffc8b0228f7 100644 --- a/service/emrserverless/snapshot/api_op_GetApplication.go.snap +++ b/service/emrserverless/snapshot/api_op_GetApplication.go.snap @@ -14,7 +14,6 @@ GetApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrserverless/snapshot/api_op_GetDashboardForJobRun.go.snap b/service/emrserverless/snapshot/api_op_GetDashboardForJobRun.go.snap index 2c054030d74..8946aec4e78 100644 --- a/service/emrserverless/snapshot/api_op_GetDashboardForJobRun.go.snap +++ b/service/emrserverless/snapshot/api_op_GetDashboardForJobRun.go.snap @@ -14,7 +14,6 @@ GetDashboardForJobRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrserverless/snapshot/api_op_GetJobRun.go.snap b/service/emrserverless/snapshot/api_op_GetJobRun.go.snap index 7ef95b031aa..3979268055d 100644 --- a/service/emrserverless/snapshot/api_op_GetJobRun.go.snap +++ b/service/emrserverless/snapshot/api_op_GetJobRun.go.snap @@ -14,7 +14,6 @@ GetJobRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrserverless/snapshot/api_op_ListApplications.go.snap b/service/emrserverless/snapshot/api_op_ListApplications.go.snap index e18746bd34f..6029195b8e8 100644 --- a/service/emrserverless/snapshot/api_op_ListApplications.go.snap +++ b/service/emrserverless/snapshot/api_op_ListApplications.go.snap @@ -13,7 +13,6 @@ ListApplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrserverless/snapshot/api_op_ListJobRunAttempts.go.snap b/service/emrserverless/snapshot/api_op_ListJobRunAttempts.go.snap index 123dfcb0b51..5a7d0053f94 100644 --- a/service/emrserverless/snapshot/api_op_ListJobRunAttempts.go.snap +++ b/service/emrserverless/snapshot/api_op_ListJobRunAttempts.go.snap @@ -14,7 +14,6 @@ ListJobRunAttempts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrserverless/snapshot/api_op_ListJobRuns.go.snap b/service/emrserverless/snapshot/api_op_ListJobRuns.go.snap index e2e9db74cb4..6de0ffca767 100644 --- a/service/emrserverless/snapshot/api_op_ListJobRuns.go.snap +++ b/service/emrserverless/snapshot/api_op_ListJobRuns.go.snap @@ -14,7 +14,6 @@ ListJobRuns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrserverless/snapshot/api_op_ListTagsForResource.go.snap b/service/emrserverless/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/emrserverless/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/emrserverless/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrserverless/snapshot/api_op_StartApplication.go.snap b/service/emrserverless/snapshot/api_op_StartApplication.go.snap index 087fe7e240e..0c8b124a191 100644 --- a/service/emrserverless/snapshot/api_op_StartApplication.go.snap +++ b/service/emrserverless/snapshot/api_op_StartApplication.go.snap @@ -14,7 +14,6 @@ StartApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrserverless/snapshot/api_op_StartJobRun.go.snap b/service/emrserverless/snapshot/api_op_StartJobRun.go.snap index c921fbb0037..6b4a1fe6c30 100644 --- a/service/emrserverless/snapshot/api_op_StartJobRun.go.snap +++ b/service/emrserverless/snapshot/api_op_StartJobRun.go.snap @@ -15,7 +15,6 @@ StartJobRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrserverless/snapshot/api_op_StopApplication.go.snap b/service/emrserverless/snapshot/api_op_StopApplication.go.snap index 07b94172772..5c9540921f9 100644 --- a/service/emrserverless/snapshot/api_op_StopApplication.go.snap +++ b/service/emrserverless/snapshot/api_op_StopApplication.go.snap @@ -14,7 +14,6 @@ StopApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrserverless/snapshot/api_op_TagResource.go.snap b/service/emrserverless/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/emrserverless/snapshot/api_op_TagResource.go.snap +++ b/service/emrserverless/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrserverless/snapshot/api_op_UntagResource.go.snap b/service/emrserverless/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/emrserverless/snapshot/api_op_UntagResource.go.snap +++ b/service/emrserverless/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/emrserverless/snapshot/api_op_UpdateApplication.go.snap b/service/emrserverless/snapshot/api_op_UpdateApplication.go.snap index f9676d4b585..d6ccedc2143 100644 --- a/service/emrserverless/snapshot/api_op_UpdateApplication.go.snap +++ b/service/emrserverless/snapshot/api_op_UpdateApplication.go.snap @@ -15,7 +15,6 @@ UpdateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/api_client.go b/service/entityresolution/api_client.go index 6fdae0bc852..c2c1dd93725 100644 --- a/service/entityresolution/api_client.go +++ b/service/entityresolution/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/entityresolution/api_op_AddPolicyStatement.go b/service/entityresolution/api_op_AddPolicyStatement.go index f3451b9e6b7..c2febcb5c60 100644 --- a/service/entityresolution/api_op_AddPolicyStatement.go +++ b/service/entityresolution/api_op_AddPolicyStatement.go @@ -157,9 +157,6 @@ func (c *Client) addOperationAddPolicyStatementMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddPolicyStatementValidationMiddleware(stack); err != nil { return err } diff --git a/service/entityresolution/api_op_BatchDeleteUniqueId.go b/service/entityresolution/api_op_BatchDeleteUniqueId.go index cd8665f15af..db9ef78ac42 100644 --- a/service/entityresolution/api_op_BatchDeleteUniqueId.go +++ b/service/entityresolution/api_op_BatchDeleteUniqueId.go @@ -137,9 +137,6 @@ func (c *Client) addOperationBatchDeleteUniqueIdMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDeleteUniqueIdValidationMiddleware(stack); err != nil { return err } diff --git a/service/entityresolution/api_op_CreateIdMappingWorkflow.go b/service/entityresolution/api_op_CreateIdMappingWorkflow.go index 9fc865906c0..3020a675a3c 100644 --- a/service/entityresolution/api_op_CreateIdMappingWorkflow.go +++ b/service/entityresolution/api_op_CreateIdMappingWorkflow.go @@ -172,9 +172,6 @@ func (c *Client) addOperationCreateIdMappingWorkflowMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateIdMappingWorkflowValidationMiddleware(stack); err != nil { return err } diff --git a/service/entityresolution/api_op_CreateIdNamespace.go b/service/entityresolution/api_op_CreateIdNamespace.go index 22b6fd04cf6..f008acba9d0 100644 --- a/service/entityresolution/api_op_CreateIdNamespace.go +++ b/service/entityresolution/api_op_CreateIdNamespace.go @@ -192,9 +192,6 @@ func (c *Client) addOperationCreateIdNamespaceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateIdNamespaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/entityresolution/api_op_CreateMatchingWorkflow.go b/service/entityresolution/api_op_CreateMatchingWorkflow.go index 52370a0ae9c..bbfa31c05f1 100644 --- a/service/entityresolution/api_op_CreateMatchingWorkflow.go +++ b/service/entityresolution/api_op_CreateMatchingWorkflow.go @@ -187,9 +187,6 @@ func (c *Client) addOperationCreateMatchingWorkflowMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateMatchingWorkflowValidationMiddleware(stack); err != nil { return err } diff --git a/service/entityresolution/api_op_CreateSchemaMapping.go b/service/entityresolution/api_op_CreateSchemaMapping.go index eaae3f22788..0c347c7fe78 100644 --- a/service/entityresolution/api_op_CreateSchemaMapping.go +++ b/service/entityresolution/api_op_CreateSchemaMapping.go @@ -149,9 +149,6 @@ func (c *Client) addOperationCreateSchemaMappingMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSchemaMappingValidationMiddleware(stack); err != nil { return err } diff --git a/service/entityresolution/api_op_DeleteIdMappingWorkflow.go b/service/entityresolution/api_op_DeleteIdMappingWorkflow.go index 94e09b1d9db..2cfdc0559e9 100644 --- a/service/entityresolution/api_op_DeleteIdMappingWorkflow.go +++ b/service/entityresolution/api_op_DeleteIdMappingWorkflow.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteIdMappingWorkflowMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIdMappingWorkflowValidationMiddleware(stack); err != nil { return err } diff --git a/service/entityresolution/api_op_DeleteIdNamespace.go b/service/entityresolution/api_op_DeleteIdNamespace.go index 8fc4ebd4596..04f47b974c9 100644 --- a/service/entityresolution/api_op_DeleteIdNamespace.go +++ b/service/entityresolution/api_op_DeleteIdNamespace.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteIdNamespaceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIdNamespaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/entityresolution/api_op_DeleteMatchingWorkflow.go b/service/entityresolution/api_op_DeleteMatchingWorkflow.go index c6851298ad6..187ab593c05 100644 --- a/service/entityresolution/api_op_DeleteMatchingWorkflow.go +++ b/service/entityresolution/api_op_DeleteMatchingWorkflow.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteMatchingWorkflowMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMatchingWorkflowValidationMiddleware(stack); err != nil { return err } diff --git a/service/entityresolution/api_op_DeletePolicyStatement.go b/service/entityresolution/api_op_DeletePolicyStatement.go index 1ff6ffce440..e224d806674 100644 --- a/service/entityresolution/api_op_DeletePolicyStatement.go +++ b/service/entityresolution/api_op_DeletePolicyStatement.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDeletePolicyStatementMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePolicyStatementValidationMiddleware(stack); err != nil { return err } diff --git a/service/entityresolution/api_op_DeleteSchemaMapping.go b/service/entityresolution/api_op_DeleteSchemaMapping.go index b66f9bf70a1..d462b3fa96f 100644 --- a/service/entityresolution/api_op_DeleteSchemaMapping.go +++ b/service/entityresolution/api_op_DeleteSchemaMapping.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteSchemaMappingMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSchemaMappingValidationMiddleware(stack); err != nil { return err } diff --git a/service/entityresolution/api_op_GetIdMappingJob.go b/service/entityresolution/api_op_GetIdMappingJob.go index d082353f174..6b0f338c912 100644 --- a/service/entityresolution/api_op_GetIdMappingJob.go +++ b/service/entityresolution/api_op_GetIdMappingJob.go @@ -144,9 +144,6 @@ func (c *Client) addOperationGetIdMappingJobMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIdMappingJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/entityresolution/api_op_GetIdMappingWorkflow.go b/service/entityresolution/api_op_GetIdMappingWorkflow.go index 72e0c520778..b673cccb361 100644 --- a/service/entityresolution/api_op_GetIdMappingWorkflow.go +++ b/service/entityresolution/api_op_GetIdMappingWorkflow.go @@ -157,9 +157,6 @@ func (c *Client) addOperationGetIdMappingWorkflowMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIdMappingWorkflowValidationMiddleware(stack); err != nil { return err } diff --git a/service/entityresolution/api_op_GetIdNamespace.go b/service/entityresolution/api_op_GetIdNamespace.go index c8fee9ff1ed..c13356721a4 100644 --- a/service/entityresolution/api_op_GetIdNamespace.go +++ b/service/entityresolution/api_op_GetIdNamespace.go @@ -160,9 +160,6 @@ func (c *Client) addOperationGetIdNamespaceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIdNamespaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/entityresolution/api_op_GetMatchId.go b/service/entityresolution/api_op_GetMatchId.go index 46780c6a9cf..24cf0f66c06 100644 --- a/service/entityresolution/api_op_GetMatchId.go +++ b/service/entityresolution/api_op_GetMatchId.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetMatchIdMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMatchIdValidationMiddleware(stack); err != nil { return err } diff --git a/service/entityresolution/api_op_GetMatchingJob.go b/service/entityresolution/api_op_GetMatchingJob.go index b19a4a40161..c5fbf3e6956 100644 --- a/service/entityresolution/api_op_GetMatchingJob.go +++ b/service/entityresolution/api_op_GetMatchingJob.go @@ -144,9 +144,6 @@ func (c *Client) addOperationGetMatchingJobMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMatchingJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/entityresolution/api_op_GetMatchingWorkflow.go b/service/entityresolution/api_op_GetMatchingWorkflow.go index 24ffbb716f2..1eb23782edf 100644 --- a/service/entityresolution/api_op_GetMatchingWorkflow.go +++ b/service/entityresolution/api_op_GetMatchingWorkflow.go @@ -164,9 +164,6 @@ func (c *Client) addOperationGetMatchingWorkflowMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMatchingWorkflowValidationMiddleware(stack); err != nil { return err } diff --git a/service/entityresolution/api_op_GetPolicy.go b/service/entityresolution/api_op_GetPolicy.go index c9bc711b94a..e6cdf134794 100644 --- a/service/entityresolution/api_op_GetPolicy.go +++ b/service/entityresolution/api_op_GetPolicy.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetPolicyMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/entityresolution/api_op_GetProviderService.go b/service/entityresolution/api_op_GetProviderService.go index 885a1c2def8..42b1be0ef55 100644 --- a/service/entityresolution/api_op_GetProviderService.go +++ b/service/entityresolution/api_op_GetProviderService.go @@ -177,9 +177,6 @@ func (c *Client) addOperationGetProviderServiceMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetProviderServiceValidationMiddleware(stack); err != nil { return err } diff --git a/service/entityresolution/api_op_GetSchemaMapping.go b/service/entityresolution/api_op_GetSchemaMapping.go index 9ab20956d5b..03640800e4e 100644 --- a/service/entityresolution/api_op_GetSchemaMapping.go +++ b/service/entityresolution/api_op_GetSchemaMapping.go @@ -149,9 +149,6 @@ func (c *Client) addOperationGetSchemaMappingMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSchemaMappingValidationMiddleware(stack); err != nil { return err } diff --git a/service/entityresolution/api_op_ListIdMappingJobs.go b/service/entityresolution/api_op_ListIdMappingJobs.go index 4815aa03fcc..3ed5ec4658b 100644 --- a/service/entityresolution/api_op_ListIdMappingJobs.go +++ b/service/entityresolution/api_op_ListIdMappingJobs.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListIdMappingJobsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIdMappingJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/entityresolution/api_op_ListIdMappingWorkflows.go b/service/entityresolution/api_op_ListIdMappingWorkflows.go index 8be937fe855..3d817d8bb87 100644 --- a/service/entityresolution/api_op_ListIdMappingWorkflows.go +++ b/service/entityresolution/api_op_ListIdMappingWorkflows.go @@ -117,9 +117,6 @@ func (c *Client) addOperationListIdMappingWorkflowsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIdMappingWorkflows(options.Region), middleware.Before); err != nil { return err } diff --git a/service/entityresolution/api_op_ListIdNamespaces.go b/service/entityresolution/api_op_ListIdNamespaces.go index 694203193a0..7510170a5d1 100644 --- a/service/entityresolution/api_op_ListIdNamespaces.go +++ b/service/entityresolution/api_op_ListIdNamespaces.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListIdNamespacesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIdNamespaces(options.Region), middleware.Before); err != nil { return err } diff --git a/service/entityresolution/api_op_ListMatchingJobs.go b/service/entityresolution/api_op_ListMatchingJobs.go index cf246706ded..3ed2eacfebb 100644 --- a/service/entityresolution/api_op_ListMatchingJobs.go +++ b/service/entityresolution/api_op_ListMatchingJobs.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListMatchingJobsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMatchingJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/entityresolution/api_op_ListMatchingWorkflows.go b/service/entityresolution/api_op_ListMatchingWorkflows.go index 4a7bc70377c..2195608b2f6 100644 --- a/service/entityresolution/api_op_ListMatchingWorkflows.go +++ b/service/entityresolution/api_op_ListMatchingWorkflows.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListMatchingWorkflowsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMatchingWorkflows(options.Region), middleware.Before); err != nil { return err } diff --git a/service/entityresolution/api_op_ListProviderServices.go b/service/entityresolution/api_op_ListProviderServices.go index af125e47db8..92792a46063 100644 --- a/service/entityresolution/api_op_ListProviderServices.go +++ b/service/entityresolution/api_op_ListProviderServices.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListProviderServicesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProviderServices(options.Region), middleware.Before); err != nil { return err } diff --git a/service/entityresolution/api_op_ListSchemaMappings.go b/service/entityresolution/api_op_ListSchemaMappings.go index 113132dc036..00583734ffd 100644 --- a/service/entityresolution/api_op_ListSchemaMappings.go +++ b/service/entityresolution/api_op_ListSchemaMappings.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListSchemaMappingsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSchemaMappings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/entityresolution/api_op_ListTagsForResource.go b/service/entityresolution/api_op_ListTagsForResource.go index e6233efba26..57f69d55367 100644 --- a/service/entityresolution/api_op_ListTagsForResource.go +++ b/service/entityresolution/api_op_ListTagsForResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/entityresolution/api_op_PutPolicy.go b/service/entityresolution/api_op_PutPolicy.go index b61a5709bf9..cdeb0312d64 100644 --- a/service/entityresolution/api_op_PutPolicy.go +++ b/service/entityresolution/api_op_PutPolicy.go @@ -134,9 +134,6 @@ func (c *Client) addOperationPutPolicyMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/entityresolution/api_op_StartIdMappingJob.go b/service/entityresolution/api_op_StartIdMappingJob.go index e514ef99a6e..6e5bd4c9409 100644 --- a/service/entityresolution/api_op_StartIdMappingJob.go +++ b/service/entityresolution/api_op_StartIdMappingJob.go @@ -121,9 +121,6 @@ func (c *Client) addOperationStartIdMappingJobMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartIdMappingJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/entityresolution/api_op_StartMatchingJob.go b/service/entityresolution/api_op_StartMatchingJob.go index 923b7e31ce9..daa3579f26b 100644 --- a/service/entityresolution/api_op_StartMatchingJob.go +++ b/service/entityresolution/api_op_StartMatchingJob.go @@ -114,9 +114,6 @@ func (c *Client) addOperationStartMatchingJobMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartMatchingJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/entityresolution/api_op_TagResource.go b/service/entityresolution/api_op_TagResource.go index 0a16a7bd654..1c9e622ae08 100644 --- a/service/entityresolution/api_op_TagResource.go +++ b/service/entityresolution/api_op_TagResource.go @@ -122,9 +122,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/entityresolution/api_op_UntagResource.go b/service/entityresolution/api_op_UntagResource.go index b158bc03e7b..35bee67d6a7 100644 --- a/service/entityresolution/api_op_UntagResource.go +++ b/service/entityresolution/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/entityresolution/api_op_UpdateIdMappingWorkflow.go b/service/entityresolution/api_op_UpdateIdMappingWorkflow.go index 4cd065148e5..47785d0f08d 100644 --- a/service/entityresolution/api_op_UpdateIdMappingWorkflow.go +++ b/service/entityresolution/api_op_UpdateIdMappingWorkflow.go @@ -168,9 +168,6 @@ func (c *Client) addOperationUpdateIdMappingWorkflowMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateIdMappingWorkflowValidationMiddleware(stack); err != nil { return err } diff --git a/service/entityresolution/api_op_UpdateIdNamespace.go b/service/entityresolution/api_op_UpdateIdNamespace.go index 8807cb6f010..8731290da91 100644 --- a/service/entityresolution/api_op_UpdateIdNamespace.go +++ b/service/entityresolution/api_op_UpdateIdNamespace.go @@ -173,9 +173,6 @@ func (c *Client) addOperationUpdateIdNamespaceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateIdNamespaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/entityresolution/api_op_UpdateMatchingWorkflow.go b/service/entityresolution/api_op_UpdateMatchingWorkflow.go index 62ba0eaa456..51a9ed55ef1 100644 --- a/service/entityresolution/api_op_UpdateMatchingWorkflow.go +++ b/service/entityresolution/api_op_UpdateMatchingWorkflow.go @@ -176,9 +176,6 @@ func (c *Client) addOperationUpdateMatchingWorkflowMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMatchingWorkflowValidationMiddleware(stack); err != nil { return err } diff --git a/service/entityresolution/api_op_UpdateSchemaMapping.go b/service/entityresolution/api_op_UpdateSchemaMapping.go index b06407d47f2..86b4c8b0c1f 100644 --- a/service/entityresolution/api_op_UpdateSchemaMapping.go +++ b/service/entityresolution/api_op_UpdateSchemaMapping.go @@ -144,9 +144,6 @@ func (c *Client) addOperationUpdateSchemaMappingMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSchemaMappingValidationMiddleware(stack); err != nil { return err } diff --git a/service/entityresolution/snapshot/api_op_AddPolicyStatement.go.snap b/service/entityresolution/snapshot/api_op_AddPolicyStatement.go.snap index 40f22866d08..202a2fce1d5 100644 --- a/service/entityresolution/snapshot/api_op_AddPolicyStatement.go.snap +++ b/service/entityresolution/snapshot/api_op_AddPolicyStatement.go.snap @@ -14,7 +14,6 @@ AddPolicyStatement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_BatchDeleteUniqueId.go.snap b/service/entityresolution/snapshot/api_op_BatchDeleteUniqueId.go.snap index 528e58a61df..690ed7f2a23 100644 --- a/service/entityresolution/snapshot/api_op_BatchDeleteUniqueId.go.snap +++ b/service/entityresolution/snapshot/api_op_BatchDeleteUniqueId.go.snap @@ -14,7 +14,6 @@ BatchDeleteUniqueId Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_CreateIdMappingWorkflow.go.snap b/service/entityresolution/snapshot/api_op_CreateIdMappingWorkflow.go.snap index ef0b6c00009..9307a04e4b4 100644 --- a/service/entityresolution/snapshot/api_op_CreateIdMappingWorkflow.go.snap +++ b/service/entityresolution/snapshot/api_op_CreateIdMappingWorkflow.go.snap @@ -14,7 +14,6 @@ CreateIdMappingWorkflow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_CreateIdNamespace.go.snap b/service/entityresolution/snapshot/api_op_CreateIdNamespace.go.snap index 9c5e667d4aa..a814a6bdf9d 100644 --- a/service/entityresolution/snapshot/api_op_CreateIdNamespace.go.snap +++ b/service/entityresolution/snapshot/api_op_CreateIdNamespace.go.snap @@ -14,7 +14,6 @@ CreateIdNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_CreateMatchingWorkflow.go.snap b/service/entityresolution/snapshot/api_op_CreateMatchingWorkflow.go.snap index fa0f2720c63..7a9b37293c3 100644 --- a/service/entityresolution/snapshot/api_op_CreateMatchingWorkflow.go.snap +++ b/service/entityresolution/snapshot/api_op_CreateMatchingWorkflow.go.snap @@ -14,7 +14,6 @@ CreateMatchingWorkflow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_CreateSchemaMapping.go.snap b/service/entityresolution/snapshot/api_op_CreateSchemaMapping.go.snap index 991650c8cc5..ffe7900fdf7 100644 --- a/service/entityresolution/snapshot/api_op_CreateSchemaMapping.go.snap +++ b/service/entityresolution/snapshot/api_op_CreateSchemaMapping.go.snap @@ -14,7 +14,6 @@ CreateSchemaMapping Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_DeleteIdMappingWorkflow.go.snap b/service/entityresolution/snapshot/api_op_DeleteIdMappingWorkflow.go.snap index f07d8ab89a8..62cb9e53ab8 100644 --- a/service/entityresolution/snapshot/api_op_DeleteIdMappingWorkflow.go.snap +++ b/service/entityresolution/snapshot/api_op_DeleteIdMappingWorkflow.go.snap @@ -14,7 +14,6 @@ DeleteIdMappingWorkflow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_DeleteIdNamespace.go.snap b/service/entityresolution/snapshot/api_op_DeleteIdNamespace.go.snap index 553bde98962..4d00cf71857 100644 --- a/service/entityresolution/snapshot/api_op_DeleteIdNamespace.go.snap +++ b/service/entityresolution/snapshot/api_op_DeleteIdNamespace.go.snap @@ -14,7 +14,6 @@ DeleteIdNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_DeleteMatchingWorkflow.go.snap b/service/entityresolution/snapshot/api_op_DeleteMatchingWorkflow.go.snap index 2fecbf1a39d..bd07bb456aa 100644 --- a/service/entityresolution/snapshot/api_op_DeleteMatchingWorkflow.go.snap +++ b/service/entityresolution/snapshot/api_op_DeleteMatchingWorkflow.go.snap @@ -14,7 +14,6 @@ DeleteMatchingWorkflow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_DeletePolicyStatement.go.snap b/service/entityresolution/snapshot/api_op_DeletePolicyStatement.go.snap index 65006744738..eb11e75565c 100644 --- a/service/entityresolution/snapshot/api_op_DeletePolicyStatement.go.snap +++ b/service/entityresolution/snapshot/api_op_DeletePolicyStatement.go.snap @@ -14,7 +14,6 @@ DeletePolicyStatement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_DeleteSchemaMapping.go.snap b/service/entityresolution/snapshot/api_op_DeleteSchemaMapping.go.snap index 2fe76505daf..c42f9bbad64 100644 --- a/service/entityresolution/snapshot/api_op_DeleteSchemaMapping.go.snap +++ b/service/entityresolution/snapshot/api_op_DeleteSchemaMapping.go.snap @@ -14,7 +14,6 @@ DeleteSchemaMapping Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_GetIdMappingJob.go.snap b/service/entityresolution/snapshot/api_op_GetIdMappingJob.go.snap index 74ed764a638..57a2e1be444 100644 --- a/service/entityresolution/snapshot/api_op_GetIdMappingJob.go.snap +++ b/service/entityresolution/snapshot/api_op_GetIdMappingJob.go.snap @@ -14,7 +14,6 @@ GetIdMappingJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_GetIdMappingWorkflow.go.snap b/service/entityresolution/snapshot/api_op_GetIdMappingWorkflow.go.snap index e1f592ea2d3..670698c762a 100644 --- a/service/entityresolution/snapshot/api_op_GetIdMappingWorkflow.go.snap +++ b/service/entityresolution/snapshot/api_op_GetIdMappingWorkflow.go.snap @@ -14,7 +14,6 @@ GetIdMappingWorkflow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_GetIdNamespace.go.snap b/service/entityresolution/snapshot/api_op_GetIdNamespace.go.snap index 0a68ed613e6..c1e7e4a846c 100644 --- a/service/entityresolution/snapshot/api_op_GetIdNamespace.go.snap +++ b/service/entityresolution/snapshot/api_op_GetIdNamespace.go.snap @@ -14,7 +14,6 @@ GetIdNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_GetMatchId.go.snap b/service/entityresolution/snapshot/api_op_GetMatchId.go.snap index 93316604ce0..0b350c7d51b 100644 --- a/service/entityresolution/snapshot/api_op_GetMatchId.go.snap +++ b/service/entityresolution/snapshot/api_op_GetMatchId.go.snap @@ -14,7 +14,6 @@ GetMatchId Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_GetMatchingJob.go.snap b/service/entityresolution/snapshot/api_op_GetMatchingJob.go.snap index 5f3fd1714a5..8298fb50a35 100644 --- a/service/entityresolution/snapshot/api_op_GetMatchingJob.go.snap +++ b/service/entityresolution/snapshot/api_op_GetMatchingJob.go.snap @@ -14,7 +14,6 @@ GetMatchingJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_GetMatchingWorkflow.go.snap b/service/entityresolution/snapshot/api_op_GetMatchingWorkflow.go.snap index ad57022d669..04d641c6a46 100644 --- a/service/entityresolution/snapshot/api_op_GetMatchingWorkflow.go.snap +++ b/service/entityresolution/snapshot/api_op_GetMatchingWorkflow.go.snap @@ -14,7 +14,6 @@ GetMatchingWorkflow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_GetPolicy.go.snap b/service/entityresolution/snapshot/api_op_GetPolicy.go.snap index dc1a8d53693..1a5ac50a868 100644 --- a/service/entityresolution/snapshot/api_op_GetPolicy.go.snap +++ b/service/entityresolution/snapshot/api_op_GetPolicy.go.snap @@ -14,7 +14,6 @@ GetPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_GetProviderService.go.snap b/service/entityresolution/snapshot/api_op_GetProviderService.go.snap index 37af8b0127f..18d5d95e239 100644 --- a/service/entityresolution/snapshot/api_op_GetProviderService.go.snap +++ b/service/entityresolution/snapshot/api_op_GetProviderService.go.snap @@ -14,7 +14,6 @@ GetProviderService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_GetSchemaMapping.go.snap b/service/entityresolution/snapshot/api_op_GetSchemaMapping.go.snap index b3076e232f0..db8ac77cd67 100644 --- a/service/entityresolution/snapshot/api_op_GetSchemaMapping.go.snap +++ b/service/entityresolution/snapshot/api_op_GetSchemaMapping.go.snap @@ -14,7 +14,6 @@ GetSchemaMapping Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_ListIdMappingJobs.go.snap b/service/entityresolution/snapshot/api_op_ListIdMappingJobs.go.snap index c140860a877..483a7339626 100644 --- a/service/entityresolution/snapshot/api_op_ListIdMappingJobs.go.snap +++ b/service/entityresolution/snapshot/api_op_ListIdMappingJobs.go.snap @@ -14,7 +14,6 @@ ListIdMappingJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_ListIdMappingWorkflows.go.snap b/service/entityresolution/snapshot/api_op_ListIdMappingWorkflows.go.snap index 7033ed0c559..5c9435f0af9 100644 --- a/service/entityresolution/snapshot/api_op_ListIdMappingWorkflows.go.snap +++ b/service/entityresolution/snapshot/api_op_ListIdMappingWorkflows.go.snap @@ -13,7 +13,6 @@ ListIdMappingWorkflows Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_ListIdNamespaces.go.snap b/service/entityresolution/snapshot/api_op_ListIdNamespaces.go.snap index f1aa6c6c024..111dedcce90 100644 --- a/service/entityresolution/snapshot/api_op_ListIdNamespaces.go.snap +++ b/service/entityresolution/snapshot/api_op_ListIdNamespaces.go.snap @@ -13,7 +13,6 @@ ListIdNamespaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_ListMatchingJobs.go.snap b/service/entityresolution/snapshot/api_op_ListMatchingJobs.go.snap index b00b5c8c6e0..b931382d301 100644 --- a/service/entityresolution/snapshot/api_op_ListMatchingJobs.go.snap +++ b/service/entityresolution/snapshot/api_op_ListMatchingJobs.go.snap @@ -14,7 +14,6 @@ ListMatchingJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_ListMatchingWorkflows.go.snap b/service/entityresolution/snapshot/api_op_ListMatchingWorkflows.go.snap index 848103979e4..8d1c70ef180 100644 --- a/service/entityresolution/snapshot/api_op_ListMatchingWorkflows.go.snap +++ b/service/entityresolution/snapshot/api_op_ListMatchingWorkflows.go.snap @@ -13,7 +13,6 @@ ListMatchingWorkflows Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_ListProviderServices.go.snap b/service/entityresolution/snapshot/api_op_ListProviderServices.go.snap index bc1a8a7aa29..132f0b6661a 100644 --- a/service/entityresolution/snapshot/api_op_ListProviderServices.go.snap +++ b/service/entityresolution/snapshot/api_op_ListProviderServices.go.snap @@ -13,7 +13,6 @@ ListProviderServices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_ListSchemaMappings.go.snap b/service/entityresolution/snapshot/api_op_ListSchemaMappings.go.snap index 417d664175b..eb28fc9f99a 100644 --- a/service/entityresolution/snapshot/api_op_ListSchemaMappings.go.snap +++ b/service/entityresolution/snapshot/api_op_ListSchemaMappings.go.snap @@ -13,7 +13,6 @@ ListSchemaMappings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_ListTagsForResource.go.snap b/service/entityresolution/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/entityresolution/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/entityresolution/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_PutPolicy.go.snap b/service/entityresolution/snapshot/api_op_PutPolicy.go.snap index 6803ae065d5..fc906cad0ff 100644 --- a/service/entityresolution/snapshot/api_op_PutPolicy.go.snap +++ b/service/entityresolution/snapshot/api_op_PutPolicy.go.snap @@ -14,7 +14,6 @@ PutPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_StartIdMappingJob.go.snap b/service/entityresolution/snapshot/api_op_StartIdMappingJob.go.snap index 836a2128fcd..0557525cd1d 100644 --- a/service/entityresolution/snapshot/api_op_StartIdMappingJob.go.snap +++ b/service/entityresolution/snapshot/api_op_StartIdMappingJob.go.snap @@ -14,7 +14,6 @@ StartIdMappingJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_StartMatchingJob.go.snap b/service/entityresolution/snapshot/api_op_StartMatchingJob.go.snap index 23c5d84bd91..ddfe0b948b5 100644 --- a/service/entityresolution/snapshot/api_op_StartMatchingJob.go.snap +++ b/service/entityresolution/snapshot/api_op_StartMatchingJob.go.snap @@ -14,7 +14,6 @@ StartMatchingJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_TagResource.go.snap b/service/entityresolution/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/entityresolution/snapshot/api_op_TagResource.go.snap +++ b/service/entityresolution/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_UntagResource.go.snap b/service/entityresolution/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/entityresolution/snapshot/api_op_UntagResource.go.snap +++ b/service/entityresolution/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_UpdateIdMappingWorkflow.go.snap b/service/entityresolution/snapshot/api_op_UpdateIdMappingWorkflow.go.snap index cb6d6462d54..2a6e77e04ad 100644 --- a/service/entityresolution/snapshot/api_op_UpdateIdMappingWorkflow.go.snap +++ b/service/entityresolution/snapshot/api_op_UpdateIdMappingWorkflow.go.snap @@ -14,7 +14,6 @@ UpdateIdMappingWorkflow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_UpdateIdNamespace.go.snap b/service/entityresolution/snapshot/api_op_UpdateIdNamespace.go.snap index 418316cff9c..dfc65d70151 100644 --- a/service/entityresolution/snapshot/api_op_UpdateIdNamespace.go.snap +++ b/service/entityresolution/snapshot/api_op_UpdateIdNamespace.go.snap @@ -14,7 +14,6 @@ UpdateIdNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_UpdateMatchingWorkflow.go.snap b/service/entityresolution/snapshot/api_op_UpdateMatchingWorkflow.go.snap index 4a42c657dae..22ec3614b2f 100644 --- a/service/entityresolution/snapshot/api_op_UpdateMatchingWorkflow.go.snap +++ b/service/entityresolution/snapshot/api_op_UpdateMatchingWorkflow.go.snap @@ -14,7 +14,6 @@ UpdateMatchingWorkflow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/entityresolution/snapshot/api_op_UpdateSchemaMapping.go.snap b/service/entityresolution/snapshot/api_op_UpdateSchemaMapping.go.snap index d2c5dc2c05e..03ad6b65452 100644 --- a/service/entityresolution/snapshot/api_op_UpdateSchemaMapping.go.snap +++ b/service/entityresolution/snapshot/api_op_UpdateSchemaMapping.go.snap @@ -14,7 +14,6 @@ UpdateSchemaMapping Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/api_client.go b/service/eventbridge/api_client.go index 802646ddc37..9f6dd55fc50 100644 --- a/service/eventbridge/api_client.go +++ b/service/eventbridge/api_client.go @@ -791,37 +791,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/eventbridge/api_op_ActivateEventSource.go b/service/eventbridge/api_op_ActivateEventSource.go index f6788dfddc7..3c9ee12a92e 100644 --- a/service/eventbridge/api_op_ActivateEventSource.go +++ b/service/eventbridge/api_op_ActivateEventSource.go @@ -108,9 +108,6 @@ func (c *Client) addOperationActivateEventSourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpActivateEventSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_CancelReplay.go b/service/eventbridge/api_op_CancelReplay.go index 5ff274e9db1..206e7e88713 100644 --- a/service/eventbridge/api_op_CancelReplay.go +++ b/service/eventbridge/api_op_CancelReplay.go @@ -118,9 +118,6 @@ func (c *Client) addOperationCancelReplayMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelReplayValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_CreateApiDestination.go b/service/eventbridge/api_op_CreateApiDestination.go index de0614da9a9..1416e66c1f6 100644 --- a/service/eventbridge/api_op_CreateApiDestination.go +++ b/service/eventbridge/api_op_CreateApiDestination.go @@ -153,9 +153,6 @@ func (c *Client) addOperationCreateApiDestinationMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateApiDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_CreateArchive.go b/service/eventbridge/api_op_CreateArchive.go index 8be8ed1b4b6..5331d6a7ebc 100644 --- a/service/eventbridge/api_op_CreateArchive.go +++ b/service/eventbridge/api_op_CreateArchive.go @@ -160,9 +160,6 @@ func (c *Client) addOperationCreateArchiveMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateArchiveValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_CreateConnection.go b/service/eventbridge/api_op_CreateConnection.go index 6fe88b69be3..1cddbf9e5cf 100644 --- a/service/eventbridge/api_op_CreateConnection.go +++ b/service/eventbridge/api_op_CreateConnection.go @@ -153,9 +153,6 @@ func (c *Client) addOperationCreateConnectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_CreateEndpoint.go b/service/eventbridge/api_op_CreateEndpoint.go index 7e7b76e3f31..9e78adcf8de 100644 --- a/service/eventbridge/api_op_CreateEndpoint.go +++ b/service/eventbridge/api_op_CreateEndpoint.go @@ -160,9 +160,6 @@ func (c *Client) addOperationCreateEndpointMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_CreateEventBus.go b/service/eventbridge/api_op_CreateEventBus.go index aeced2e9543..35d690ea881 100644 --- a/service/eventbridge/api_op_CreateEventBus.go +++ b/service/eventbridge/api_op_CreateEventBus.go @@ -190,9 +190,6 @@ func (c *Client) addOperationCreateEventBusMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEventBusValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_CreatePartnerEventSource.go b/service/eventbridge/api_op_CreatePartnerEventSource.go index de26c2e957a..fbec3f41a41 100644 --- a/service/eventbridge/api_op_CreatePartnerEventSource.go +++ b/service/eventbridge/api_op_CreatePartnerEventSource.go @@ -156,9 +156,6 @@ func (c *Client) addOperationCreatePartnerEventSourceMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePartnerEventSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DeactivateEventSource.go b/service/eventbridge/api_op_DeactivateEventSource.go index 52034b2c915..369f297c75b 100644 --- a/service/eventbridge/api_op_DeactivateEventSource.go +++ b/service/eventbridge/api_op_DeactivateEventSource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeactivateEventSourceMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeactivateEventSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DeauthorizeConnection.go b/service/eventbridge/api_op_DeauthorizeConnection.go index 92f3ff153b9..044ce619f73 100644 --- a/service/eventbridge/api_op_DeauthorizeConnection.go +++ b/service/eventbridge/api_op_DeauthorizeConnection.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDeauthorizeConnectionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeauthorizeConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DeleteApiDestination.go b/service/eventbridge/api_op_DeleteApiDestination.go index 195b7db8aea..c2205b243ab 100644 --- a/service/eventbridge/api_op_DeleteApiDestination.go +++ b/service/eventbridge/api_op_DeleteApiDestination.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteApiDestinationMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApiDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DeleteArchive.go b/service/eventbridge/api_op_DeleteArchive.go index 0d68196f374..64e856bac0b 100644 --- a/service/eventbridge/api_op_DeleteArchive.go +++ b/service/eventbridge/api_op_DeleteArchive.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteArchiveMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteArchiveValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DeleteConnection.go b/service/eventbridge/api_op_DeleteConnection.go index 704e336cd8e..95b3ba6bd11 100644 --- a/service/eventbridge/api_op_DeleteConnection.go +++ b/service/eventbridge/api_op_DeleteConnection.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDeleteConnectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DeleteEndpoint.go b/service/eventbridge/api_op_DeleteEndpoint.go index 15c94fc313c..df6acda4be6 100644 --- a/service/eventbridge/api_op_DeleteEndpoint.go +++ b/service/eventbridge/api_op_DeleteEndpoint.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteEndpointMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DeleteEventBus.go b/service/eventbridge/api_op_DeleteEventBus.go index b3fa232c3a8..8aacb9062ac 100644 --- a/service/eventbridge/api_op_DeleteEventBus.go +++ b/service/eventbridge/api_op_DeleteEventBus.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteEventBusMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEventBusValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DeletePartnerEventSource.go b/service/eventbridge/api_op_DeletePartnerEventSource.go index 32bb1b8499d..8c880a9c03a 100644 --- a/service/eventbridge/api_op_DeletePartnerEventSource.go +++ b/service/eventbridge/api_op_DeletePartnerEventSource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeletePartnerEventSourceMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePartnerEventSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DeleteRule.go b/service/eventbridge/api_op_DeleteRule.go index e2242183fd1..da45484edb7 100644 --- a/service/eventbridge/api_op_DeleteRule.go +++ b/service/eventbridge/api_op_DeleteRule.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDeleteRuleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DescribeApiDestination.go b/service/eventbridge/api_op_DescribeApiDestination.go index c5a5de3c096..d66e2e5d292 100644 --- a/service/eventbridge/api_op_DescribeApiDestination.go +++ b/service/eventbridge/api_op_DescribeApiDestination.go @@ -146,9 +146,6 @@ func (c *Client) addOperationDescribeApiDestinationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeApiDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DescribeArchive.go b/service/eventbridge/api_op_DescribeArchive.go index 6ee21259620..2aefc601ced 100644 --- a/service/eventbridge/api_op_DescribeArchive.go +++ b/service/eventbridge/api_op_DescribeArchive.go @@ -143,9 +143,6 @@ func (c *Client) addOperationDescribeArchiveMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeArchiveValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DescribeConnection.go b/service/eventbridge/api_op_DescribeConnection.go index 192e6449634..7467032cd07 100644 --- a/service/eventbridge/api_op_DescribeConnection.go +++ b/service/eventbridge/api_op_DescribeConnection.go @@ -152,9 +152,6 @@ func (c *Client) addOperationDescribeConnectionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DescribeEndpoint.go b/service/eventbridge/api_op_DescribeEndpoint.go index fb4fc9b5d4e..74b62c87bfc 100644 --- a/service/eventbridge/api_op_DescribeEndpoint.go +++ b/service/eventbridge/api_op_DescribeEndpoint.go @@ -158,9 +158,6 @@ func (c *Client) addOperationDescribeEndpointMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DescribeEventBus.go b/service/eventbridge/api_op_DescribeEventBus.go index 788d065612e..3b6a3bf58d5 100644 --- a/service/eventbridge/api_op_DescribeEventBus.go +++ b/service/eventbridge/api_op_DescribeEventBus.go @@ -155,9 +155,6 @@ func (c *Client) addOperationDescribeEventBusMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEventBus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/eventbridge/api_op_DescribeEventSource.go b/service/eventbridge/api_op_DescribeEventSource.go index 9e7b5f9b874..4483409aa0e 100644 --- a/service/eventbridge/api_op_DescribeEventSource.go +++ b/service/eventbridge/api_op_DescribeEventSource.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeEventSourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEventSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DescribePartnerEventSource.go b/service/eventbridge/api_op_DescribePartnerEventSource.go index 5339ae8475c..fe57aea6153 100644 --- a/service/eventbridge/api_op_DescribePartnerEventSource.go +++ b/service/eventbridge/api_op_DescribePartnerEventSource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribePartnerEventSourceMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePartnerEventSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DescribeReplay.go b/service/eventbridge/api_op_DescribeReplay.go index 5003c4c5610..f0e33467c63 100644 --- a/service/eventbridge/api_op_DescribeReplay.go +++ b/service/eventbridge/api_op_DescribeReplay.go @@ -154,9 +154,6 @@ func (c *Client) addOperationDescribeReplayMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeReplayValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DescribeRule.go b/service/eventbridge/api_op_DescribeRule.go index 81ac8cddfac..5321c3f8928 100644 --- a/service/eventbridge/api_op_DescribeRule.go +++ b/service/eventbridge/api_op_DescribeRule.go @@ -157,9 +157,6 @@ func (c *Client) addOperationDescribeRuleMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_DisableRule.go b/service/eventbridge/api_op_DisableRule.go index a6bfbadb305..9de74381eac 100644 --- a/service/eventbridge/api_op_DisableRule.go +++ b/service/eventbridge/api_op_DisableRule.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDisableRuleMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_EnableRule.go b/service/eventbridge/api_op_EnableRule.go index 7baa23ebdf1..8c694a63d5c 100644 --- a/service/eventbridge/api_op_EnableRule.go +++ b/service/eventbridge/api_op_EnableRule.go @@ -114,9 +114,6 @@ func (c *Client) addOperationEnableRuleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_ListApiDestinations.go b/service/eventbridge/api_op_ListApiDestinations.go index a54b4bed480..e2b9f1cbf51 100644 --- a/service/eventbridge/api_op_ListApiDestinations.go +++ b/service/eventbridge/api_op_ListApiDestinations.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListApiDestinationsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApiDestinations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/eventbridge/api_op_ListArchives.go b/service/eventbridge/api_op_ListArchives.go index 391f7b79b8b..15a95972a6d 100644 --- a/service/eventbridge/api_op_ListArchives.go +++ b/service/eventbridge/api_op_ListArchives.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListArchivesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListArchives(options.Region), middleware.Before); err != nil { return err } diff --git a/service/eventbridge/api_op_ListConnections.go b/service/eventbridge/api_op_ListConnections.go index ba3f1de5d8d..56f988e56ef 100644 --- a/service/eventbridge/api_op_ListConnections.go +++ b/service/eventbridge/api_op_ListConnections.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListConnectionsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConnections(options.Region), middleware.Before); err != nil { return err } diff --git a/service/eventbridge/api_op_ListEndpoints.go b/service/eventbridge/api_op_ListEndpoints.go index ce457a6157d..b6a3777353c 100644 --- a/service/eventbridge/api_op_ListEndpoints.go +++ b/service/eventbridge/api_op_ListEndpoints.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListEndpointsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEndpoints(options.Region), middleware.Before); err != nil { return err } diff --git a/service/eventbridge/api_op_ListEventBuses.go b/service/eventbridge/api_op_ListEventBuses.go index 4b4965c1fbc..57ab0bc8765 100644 --- a/service/eventbridge/api_op_ListEventBuses.go +++ b/service/eventbridge/api_op_ListEventBuses.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListEventBusesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEventBuses(options.Region), middleware.Before); err != nil { return err } diff --git a/service/eventbridge/api_op_ListEventSources.go b/service/eventbridge/api_op_ListEventSources.go index e231cf80172..22350e475ab 100644 --- a/service/eventbridge/api_op_ListEventSources.go +++ b/service/eventbridge/api_op_ListEventSources.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListEventSourcesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEventSources(options.Region), middleware.Before); err != nil { return err } diff --git a/service/eventbridge/api_op_ListPartnerEventSourceAccounts.go b/service/eventbridge/api_op_ListPartnerEventSourceAccounts.go index 250607ca764..05ff7dc8a03 100644 --- a/service/eventbridge/api_op_ListPartnerEventSourceAccounts.go +++ b/service/eventbridge/api_op_ListPartnerEventSourceAccounts.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListPartnerEventSourceAccountsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPartnerEventSourceAccountsValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_ListPartnerEventSources.go b/service/eventbridge/api_op_ListPartnerEventSources.go index 62f700a13e6..d1de4d3c411 100644 --- a/service/eventbridge/api_op_ListPartnerEventSources.go +++ b/service/eventbridge/api_op_ListPartnerEventSources.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListPartnerEventSourcesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPartnerEventSourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_ListReplays.go b/service/eventbridge/api_op_ListReplays.go index ded0afbb8c2..6424bb9665f 100644 --- a/service/eventbridge/api_op_ListReplays.go +++ b/service/eventbridge/api_op_ListReplays.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListReplaysMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReplays(options.Region), middleware.Before); err != nil { return err } diff --git a/service/eventbridge/api_op_ListRuleNamesByTarget.go b/service/eventbridge/api_op_ListRuleNamesByTarget.go index 42e112c98be..0c9b63adb92 100644 --- a/service/eventbridge/api_op_ListRuleNamesByTarget.go +++ b/service/eventbridge/api_op_ListRuleNamesByTarget.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListRuleNamesByTargetMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRuleNamesByTargetValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_ListRules.go b/service/eventbridge/api_op_ListRules.go index 37585523649..30605e4c119 100644 --- a/service/eventbridge/api_op_ListRules.go +++ b/service/eventbridge/api_op_ListRules.go @@ -145,9 +145,6 @@ func (c *Client) addOperationListRulesMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRules(options.Region), middleware.Before); err != nil { return err } diff --git a/service/eventbridge/api_op_ListTagsForResource.go b/service/eventbridge/api_op_ListTagsForResource.go index 843ca180b6a..f2c0ec16209 100644 --- a/service/eventbridge/api_op_ListTagsForResource.go +++ b/service/eventbridge/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_ListTargetsByRule.go b/service/eventbridge/api_op_ListTargetsByRule.go index 108d48b5589..4cfb70a077c 100644 --- a/service/eventbridge/api_op_ListTargetsByRule.go +++ b/service/eventbridge/api_op_ListTargetsByRule.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListTargetsByRuleMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTargetsByRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_PutEvents.go b/service/eventbridge/api_op_PutEvents.go index 1b819fed2be..4760780095f 100644 --- a/service/eventbridge/api_op_PutEvents.go +++ b/service/eventbridge/api_op_PutEvents.go @@ -152,9 +152,6 @@ func (c *Client) addOperationPutEventsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_PutPartnerEvents.go b/service/eventbridge/api_op_PutPartnerEvents.go index 830723cf7c9..795db4b22e8 100644 --- a/service/eventbridge/api_op_PutPartnerEvents.go +++ b/service/eventbridge/api_op_PutPartnerEvents.go @@ -128,9 +128,6 @@ func (c *Client) addOperationPutPartnerEventsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutPartnerEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_PutPermission.go b/service/eventbridge/api_op_PutPermission.go index 1c1bff1e5e0..48a1e6c33e4 100644 --- a/service/eventbridge/api_op_PutPermission.go +++ b/service/eventbridge/api_op_PutPermission.go @@ -171,9 +171,6 @@ func (c *Client) addOperationPutPermissionMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutPermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_PutRule.go b/service/eventbridge/api_op_PutRule.go index d6d91690e7f..029247d524c 100644 --- a/service/eventbridge/api_op_PutRule.go +++ b/service/eventbridge/api_op_PutRule.go @@ -230,9 +230,6 @@ func (c *Client) addOperationPutRuleMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_PutTargets.go b/service/eventbridge/api_op_PutTargets.go index 1329ecdecde..e2dfe7ef862 100644 --- a/service/eventbridge/api_op_PutTargets.go +++ b/service/eventbridge/api_op_PutTargets.go @@ -222,9 +222,6 @@ func (c *Client) addOperationPutTargetsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutTargetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_RemovePermission.go b/service/eventbridge/api_op_RemovePermission.go index 43740fe3f83..d8ac5738fec 100644 --- a/service/eventbridge/api_op_RemovePermission.go +++ b/service/eventbridge/api_op_RemovePermission.go @@ -118,9 +118,6 @@ func (c *Client) addOperationRemovePermissionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemovePermission(options.Region), middleware.Before); err != nil { return err } diff --git a/service/eventbridge/api_op_RemoveTargets.go b/service/eventbridge/api_op_RemoveTargets.go index d1bfaeb96a6..3ae1f384aaf 100644 --- a/service/eventbridge/api_op_RemoveTargets.go +++ b/service/eventbridge/api_op_RemoveTargets.go @@ -146,9 +146,6 @@ func (c *Client) addOperationRemoveTargetsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveTargetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_StartReplay.go b/service/eventbridge/api_op_StartReplay.go index 34f299fac66..529746d9588 100644 --- a/service/eventbridge/api_op_StartReplay.go +++ b/service/eventbridge/api_op_StartReplay.go @@ -156,9 +156,6 @@ func (c *Client) addOperationStartReplayMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartReplayValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_TagResource.go b/service/eventbridge/api_op_TagResource.go index 2554071557a..575476ae034 100644 --- a/service/eventbridge/api_op_TagResource.go +++ b/service/eventbridge/api_op_TagResource.go @@ -128,9 +128,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_TestEventPattern.go b/service/eventbridge/api_op_TestEventPattern.go index 619202609f6..03363cdba7f 100644 --- a/service/eventbridge/api_op_TestEventPattern.go +++ b/service/eventbridge/api_op_TestEventPattern.go @@ -141,9 +141,6 @@ func (c *Client) addOperationTestEventPatternMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTestEventPatternValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_UntagResource.go b/service/eventbridge/api_op_UntagResource.go index 2c8195ecfeb..700e59caa8c 100644 --- a/service/eventbridge/api_op_UntagResource.go +++ b/service/eventbridge/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_UpdateApiDestination.go b/service/eventbridge/api_op_UpdateApiDestination.go index d55aae3551b..c2a04e07ad8 100644 --- a/service/eventbridge/api_op_UpdateApiDestination.go +++ b/service/eventbridge/api_op_UpdateApiDestination.go @@ -137,9 +137,6 @@ func (c *Client) addOperationUpdateApiDestinationMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApiDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_UpdateArchive.go b/service/eventbridge/api_op_UpdateArchive.go index 85fdb0a7e29..e888af0d3b9 100644 --- a/service/eventbridge/api_op_UpdateArchive.go +++ b/service/eventbridge/api_op_UpdateArchive.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateArchiveMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateArchiveValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_UpdateConnection.go b/service/eventbridge/api_op_UpdateConnection.go index b5b66ea4373..de9c8878ccc 100644 --- a/service/eventbridge/api_op_UpdateConnection.go +++ b/service/eventbridge/api_op_UpdateConnection.go @@ -142,9 +142,6 @@ func (c *Client) addOperationUpdateConnectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_UpdateEndpoint.go b/service/eventbridge/api_op_UpdateEndpoint.go index 83bb1111a05..3f6cddb0b92 100644 --- a/service/eventbridge/api_op_UpdateEndpoint.go +++ b/service/eventbridge/api_op_UpdateEndpoint.go @@ -157,9 +157,6 @@ func (c *Client) addOperationUpdateEndpointMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/eventbridge/api_op_UpdateEventBus.go b/service/eventbridge/api_op_UpdateEventBus.go index 215126b4322..6ed6dee76de 100644 --- a/service/eventbridge/api_op_UpdateEventBus.go +++ b/service/eventbridge/api_op_UpdateEventBus.go @@ -174,9 +174,6 @@ func (c *Client) addOperationUpdateEventBusMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEventBus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/eventbridge/snapshot/api_op_ActivateEventSource.go.snap b/service/eventbridge/snapshot/api_op_ActivateEventSource.go.snap index 13578241260..bdc4cf9feed 100644 --- a/service/eventbridge/snapshot/api_op_ActivateEventSource.go.snap +++ b/service/eventbridge/snapshot/api_op_ActivateEventSource.go.snap @@ -14,7 +14,6 @@ ActivateEventSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_CancelReplay.go.snap b/service/eventbridge/snapshot/api_op_CancelReplay.go.snap index efd16f7d562..89a5f86e0ba 100644 --- a/service/eventbridge/snapshot/api_op_CancelReplay.go.snap +++ b/service/eventbridge/snapshot/api_op_CancelReplay.go.snap @@ -14,7 +14,6 @@ CancelReplay Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_CreateApiDestination.go.snap b/service/eventbridge/snapshot/api_op_CreateApiDestination.go.snap index 01ce4f3f7f6..6efea0f4fb4 100644 --- a/service/eventbridge/snapshot/api_op_CreateApiDestination.go.snap +++ b/service/eventbridge/snapshot/api_op_CreateApiDestination.go.snap @@ -14,7 +14,6 @@ CreateApiDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_CreateArchive.go.snap b/service/eventbridge/snapshot/api_op_CreateArchive.go.snap index 150e4e437ba..04f21dc9ab7 100644 --- a/service/eventbridge/snapshot/api_op_CreateArchive.go.snap +++ b/service/eventbridge/snapshot/api_op_CreateArchive.go.snap @@ -14,7 +14,6 @@ CreateArchive Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_CreateConnection.go.snap b/service/eventbridge/snapshot/api_op_CreateConnection.go.snap index 2925a097d86..744b4a055f4 100644 --- a/service/eventbridge/snapshot/api_op_CreateConnection.go.snap +++ b/service/eventbridge/snapshot/api_op_CreateConnection.go.snap @@ -14,7 +14,6 @@ CreateConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_CreateEndpoint.go.snap b/service/eventbridge/snapshot/api_op_CreateEndpoint.go.snap index 129d39a9428..a5f0c702323 100644 --- a/service/eventbridge/snapshot/api_op_CreateEndpoint.go.snap +++ b/service/eventbridge/snapshot/api_op_CreateEndpoint.go.snap @@ -14,7 +14,6 @@ CreateEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_CreateEventBus.go.snap b/service/eventbridge/snapshot/api_op_CreateEventBus.go.snap index 49277728682..83a22ea5504 100644 --- a/service/eventbridge/snapshot/api_op_CreateEventBus.go.snap +++ b/service/eventbridge/snapshot/api_op_CreateEventBus.go.snap @@ -14,7 +14,6 @@ CreateEventBus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_CreatePartnerEventSource.go.snap b/service/eventbridge/snapshot/api_op_CreatePartnerEventSource.go.snap index f620be70de1..8dc7c3d0ad5 100644 --- a/service/eventbridge/snapshot/api_op_CreatePartnerEventSource.go.snap +++ b/service/eventbridge/snapshot/api_op_CreatePartnerEventSource.go.snap @@ -14,7 +14,6 @@ CreatePartnerEventSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_DeactivateEventSource.go.snap b/service/eventbridge/snapshot/api_op_DeactivateEventSource.go.snap index 96eaf6898f8..491f07d6464 100644 --- a/service/eventbridge/snapshot/api_op_DeactivateEventSource.go.snap +++ b/service/eventbridge/snapshot/api_op_DeactivateEventSource.go.snap @@ -14,7 +14,6 @@ DeactivateEventSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_DeauthorizeConnection.go.snap b/service/eventbridge/snapshot/api_op_DeauthorizeConnection.go.snap index 874d5dd6092..a0787815188 100644 --- a/service/eventbridge/snapshot/api_op_DeauthorizeConnection.go.snap +++ b/service/eventbridge/snapshot/api_op_DeauthorizeConnection.go.snap @@ -14,7 +14,6 @@ DeauthorizeConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_DeleteApiDestination.go.snap b/service/eventbridge/snapshot/api_op_DeleteApiDestination.go.snap index c98e99aac26..1066f808dea 100644 --- a/service/eventbridge/snapshot/api_op_DeleteApiDestination.go.snap +++ b/service/eventbridge/snapshot/api_op_DeleteApiDestination.go.snap @@ -14,7 +14,6 @@ DeleteApiDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_DeleteArchive.go.snap b/service/eventbridge/snapshot/api_op_DeleteArchive.go.snap index f9b75f67fc3..37427d3c201 100644 --- a/service/eventbridge/snapshot/api_op_DeleteArchive.go.snap +++ b/service/eventbridge/snapshot/api_op_DeleteArchive.go.snap @@ -14,7 +14,6 @@ DeleteArchive Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_DeleteConnection.go.snap b/service/eventbridge/snapshot/api_op_DeleteConnection.go.snap index 95b646dafd7..a9cca584913 100644 --- a/service/eventbridge/snapshot/api_op_DeleteConnection.go.snap +++ b/service/eventbridge/snapshot/api_op_DeleteConnection.go.snap @@ -14,7 +14,6 @@ DeleteConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_DeleteEndpoint.go.snap b/service/eventbridge/snapshot/api_op_DeleteEndpoint.go.snap index 0f46907f489..c4648fb3e07 100644 --- a/service/eventbridge/snapshot/api_op_DeleteEndpoint.go.snap +++ b/service/eventbridge/snapshot/api_op_DeleteEndpoint.go.snap @@ -14,7 +14,6 @@ DeleteEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_DeleteEventBus.go.snap b/service/eventbridge/snapshot/api_op_DeleteEventBus.go.snap index 5489ed89684..b460794eacf 100644 --- a/service/eventbridge/snapshot/api_op_DeleteEventBus.go.snap +++ b/service/eventbridge/snapshot/api_op_DeleteEventBus.go.snap @@ -14,7 +14,6 @@ DeleteEventBus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_DeletePartnerEventSource.go.snap b/service/eventbridge/snapshot/api_op_DeletePartnerEventSource.go.snap index 0c7e5731c34..25236a19825 100644 --- a/service/eventbridge/snapshot/api_op_DeletePartnerEventSource.go.snap +++ b/service/eventbridge/snapshot/api_op_DeletePartnerEventSource.go.snap @@ -14,7 +14,6 @@ DeletePartnerEventSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_DeleteRule.go.snap b/service/eventbridge/snapshot/api_op_DeleteRule.go.snap index dd841287b59..a6bc8103292 100644 --- a/service/eventbridge/snapshot/api_op_DeleteRule.go.snap +++ b/service/eventbridge/snapshot/api_op_DeleteRule.go.snap @@ -14,7 +14,6 @@ DeleteRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_DescribeApiDestination.go.snap b/service/eventbridge/snapshot/api_op_DescribeApiDestination.go.snap index af26fc07b23..efc609b777c 100644 --- a/service/eventbridge/snapshot/api_op_DescribeApiDestination.go.snap +++ b/service/eventbridge/snapshot/api_op_DescribeApiDestination.go.snap @@ -14,7 +14,6 @@ DescribeApiDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_DescribeArchive.go.snap b/service/eventbridge/snapshot/api_op_DescribeArchive.go.snap index ffbc9214499..22e94de4eab 100644 --- a/service/eventbridge/snapshot/api_op_DescribeArchive.go.snap +++ b/service/eventbridge/snapshot/api_op_DescribeArchive.go.snap @@ -14,7 +14,6 @@ DescribeArchive Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_DescribeConnection.go.snap b/service/eventbridge/snapshot/api_op_DescribeConnection.go.snap index 7d98a31f141..1b706d2ae91 100644 --- a/service/eventbridge/snapshot/api_op_DescribeConnection.go.snap +++ b/service/eventbridge/snapshot/api_op_DescribeConnection.go.snap @@ -14,7 +14,6 @@ DescribeConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_DescribeEndpoint.go.snap b/service/eventbridge/snapshot/api_op_DescribeEndpoint.go.snap index c1dd3edaf5a..80f0c04fa94 100644 --- a/service/eventbridge/snapshot/api_op_DescribeEndpoint.go.snap +++ b/service/eventbridge/snapshot/api_op_DescribeEndpoint.go.snap @@ -14,7 +14,6 @@ DescribeEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_DescribeEventBus.go.snap b/service/eventbridge/snapshot/api_op_DescribeEventBus.go.snap index 88420a2491e..5791fb4ed1d 100644 --- a/service/eventbridge/snapshot/api_op_DescribeEventBus.go.snap +++ b/service/eventbridge/snapshot/api_op_DescribeEventBus.go.snap @@ -13,7 +13,6 @@ DescribeEventBus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_DescribeEventSource.go.snap b/service/eventbridge/snapshot/api_op_DescribeEventSource.go.snap index 8e9be74535c..c4ae6b321a6 100644 --- a/service/eventbridge/snapshot/api_op_DescribeEventSource.go.snap +++ b/service/eventbridge/snapshot/api_op_DescribeEventSource.go.snap @@ -14,7 +14,6 @@ DescribeEventSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_DescribePartnerEventSource.go.snap b/service/eventbridge/snapshot/api_op_DescribePartnerEventSource.go.snap index dd85d6817ef..a91e17f553a 100644 --- a/service/eventbridge/snapshot/api_op_DescribePartnerEventSource.go.snap +++ b/service/eventbridge/snapshot/api_op_DescribePartnerEventSource.go.snap @@ -14,7 +14,6 @@ DescribePartnerEventSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_DescribeReplay.go.snap b/service/eventbridge/snapshot/api_op_DescribeReplay.go.snap index e85cdc48fc0..93f7c48dbb4 100644 --- a/service/eventbridge/snapshot/api_op_DescribeReplay.go.snap +++ b/service/eventbridge/snapshot/api_op_DescribeReplay.go.snap @@ -14,7 +14,6 @@ DescribeReplay Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_DescribeRule.go.snap b/service/eventbridge/snapshot/api_op_DescribeRule.go.snap index 1b2d09c8586..6e8498aaeaf 100644 --- a/service/eventbridge/snapshot/api_op_DescribeRule.go.snap +++ b/service/eventbridge/snapshot/api_op_DescribeRule.go.snap @@ -14,7 +14,6 @@ DescribeRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_DisableRule.go.snap b/service/eventbridge/snapshot/api_op_DisableRule.go.snap index 00368e876e2..1ce9b647275 100644 --- a/service/eventbridge/snapshot/api_op_DisableRule.go.snap +++ b/service/eventbridge/snapshot/api_op_DisableRule.go.snap @@ -14,7 +14,6 @@ DisableRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_EnableRule.go.snap b/service/eventbridge/snapshot/api_op_EnableRule.go.snap index 10cf33b9895..948914f1971 100644 --- a/service/eventbridge/snapshot/api_op_EnableRule.go.snap +++ b/service/eventbridge/snapshot/api_op_EnableRule.go.snap @@ -14,7 +14,6 @@ EnableRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_ListApiDestinations.go.snap b/service/eventbridge/snapshot/api_op_ListApiDestinations.go.snap index b2a5770af41..67cd6245754 100644 --- a/service/eventbridge/snapshot/api_op_ListApiDestinations.go.snap +++ b/service/eventbridge/snapshot/api_op_ListApiDestinations.go.snap @@ -13,7 +13,6 @@ ListApiDestinations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_ListArchives.go.snap b/service/eventbridge/snapshot/api_op_ListArchives.go.snap index 504490d1dd5..30242ee7272 100644 --- a/service/eventbridge/snapshot/api_op_ListArchives.go.snap +++ b/service/eventbridge/snapshot/api_op_ListArchives.go.snap @@ -13,7 +13,6 @@ ListArchives Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_ListConnections.go.snap b/service/eventbridge/snapshot/api_op_ListConnections.go.snap index 6701dc960d7..3a6172bafc5 100644 --- a/service/eventbridge/snapshot/api_op_ListConnections.go.snap +++ b/service/eventbridge/snapshot/api_op_ListConnections.go.snap @@ -13,7 +13,6 @@ ListConnections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_ListEndpoints.go.snap b/service/eventbridge/snapshot/api_op_ListEndpoints.go.snap index fddafef9d64..69f14ef29c5 100644 --- a/service/eventbridge/snapshot/api_op_ListEndpoints.go.snap +++ b/service/eventbridge/snapshot/api_op_ListEndpoints.go.snap @@ -13,7 +13,6 @@ ListEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_ListEventBuses.go.snap b/service/eventbridge/snapshot/api_op_ListEventBuses.go.snap index 2466911bdc8..5dbb15fbc20 100644 --- a/service/eventbridge/snapshot/api_op_ListEventBuses.go.snap +++ b/service/eventbridge/snapshot/api_op_ListEventBuses.go.snap @@ -13,7 +13,6 @@ ListEventBuses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_ListEventSources.go.snap b/service/eventbridge/snapshot/api_op_ListEventSources.go.snap index a60fab498d1..c12f6082516 100644 --- a/service/eventbridge/snapshot/api_op_ListEventSources.go.snap +++ b/service/eventbridge/snapshot/api_op_ListEventSources.go.snap @@ -13,7 +13,6 @@ ListEventSources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_ListPartnerEventSourceAccounts.go.snap b/service/eventbridge/snapshot/api_op_ListPartnerEventSourceAccounts.go.snap index 155414caeb1..6619dbde016 100644 --- a/service/eventbridge/snapshot/api_op_ListPartnerEventSourceAccounts.go.snap +++ b/service/eventbridge/snapshot/api_op_ListPartnerEventSourceAccounts.go.snap @@ -14,7 +14,6 @@ ListPartnerEventSourceAccounts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_ListPartnerEventSources.go.snap b/service/eventbridge/snapshot/api_op_ListPartnerEventSources.go.snap index cf975bbfd83..254b3f79c7b 100644 --- a/service/eventbridge/snapshot/api_op_ListPartnerEventSources.go.snap +++ b/service/eventbridge/snapshot/api_op_ListPartnerEventSources.go.snap @@ -14,7 +14,6 @@ ListPartnerEventSources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_ListReplays.go.snap b/service/eventbridge/snapshot/api_op_ListReplays.go.snap index d19a54d94d1..bae0fe62a24 100644 --- a/service/eventbridge/snapshot/api_op_ListReplays.go.snap +++ b/service/eventbridge/snapshot/api_op_ListReplays.go.snap @@ -13,7 +13,6 @@ ListReplays Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_ListRuleNamesByTarget.go.snap b/service/eventbridge/snapshot/api_op_ListRuleNamesByTarget.go.snap index 8ff8855d06d..573747e5f11 100644 --- a/service/eventbridge/snapshot/api_op_ListRuleNamesByTarget.go.snap +++ b/service/eventbridge/snapshot/api_op_ListRuleNamesByTarget.go.snap @@ -14,7 +14,6 @@ ListRuleNamesByTarget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_ListRules.go.snap b/service/eventbridge/snapshot/api_op_ListRules.go.snap index e978e5342cf..b45cb373aa6 100644 --- a/service/eventbridge/snapshot/api_op_ListRules.go.snap +++ b/service/eventbridge/snapshot/api_op_ListRules.go.snap @@ -13,7 +13,6 @@ ListRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_ListTagsForResource.go.snap b/service/eventbridge/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/eventbridge/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/eventbridge/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_ListTargetsByRule.go.snap b/service/eventbridge/snapshot/api_op_ListTargetsByRule.go.snap index 4dc3eab5bcd..3e5dd2faf56 100644 --- a/service/eventbridge/snapshot/api_op_ListTargetsByRule.go.snap +++ b/service/eventbridge/snapshot/api_op_ListTargetsByRule.go.snap @@ -14,7 +14,6 @@ ListTargetsByRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_PutEvents.go.snap b/service/eventbridge/snapshot/api_op_PutEvents.go.snap index 241a0023e69..35ba8e4caef 100644 --- a/service/eventbridge/snapshot/api_op_PutEvents.go.snap +++ b/service/eventbridge/snapshot/api_op_PutEvents.go.snap @@ -15,7 +15,6 @@ PutEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_PutPartnerEvents.go.snap b/service/eventbridge/snapshot/api_op_PutPartnerEvents.go.snap index 4ee8f71be6d..512974f3355 100644 --- a/service/eventbridge/snapshot/api_op_PutPartnerEvents.go.snap +++ b/service/eventbridge/snapshot/api_op_PutPartnerEvents.go.snap @@ -14,7 +14,6 @@ PutPartnerEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_PutPermission.go.snap b/service/eventbridge/snapshot/api_op_PutPermission.go.snap index c4ec5e323b3..f32dd9f502e 100644 --- a/service/eventbridge/snapshot/api_op_PutPermission.go.snap +++ b/service/eventbridge/snapshot/api_op_PutPermission.go.snap @@ -14,7 +14,6 @@ PutPermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_PutRule.go.snap b/service/eventbridge/snapshot/api_op_PutRule.go.snap index 76568595772..50358278fc2 100644 --- a/service/eventbridge/snapshot/api_op_PutRule.go.snap +++ b/service/eventbridge/snapshot/api_op_PutRule.go.snap @@ -14,7 +14,6 @@ PutRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_PutTargets.go.snap b/service/eventbridge/snapshot/api_op_PutTargets.go.snap index 3b36f5515d5..0045ac9e6d9 100644 --- a/service/eventbridge/snapshot/api_op_PutTargets.go.snap +++ b/service/eventbridge/snapshot/api_op_PutTargets.go.snap @@ -14,7 +14,6 @@ PutTargets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_RemovePermission.go.snap b/service/eventbridge/snapshot/api_op_RemovePermission.go.snap index b7ff68a91a7..7c908d129cf 100644 --- a/service/eventbridge/snapshot/api_op_RemovePermission.go.snap +++ b/service/eventbridge/snapshot/api_op_RemovePermission.go.snap @@ -13,7 +13,6 @@ RemovePermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_RemoveTargets.go.snap b/service/eventbridge/snapshot/api_op_RemoveTargets.go.snap index bb49e7c68de..e04b296f8c2 100644 --- a/service/eventbridge/snapshot/api_op_RemoveTargets.go.snap +++ b/service/eventbridge/snapshot/api_op_RemoveTargets.go.snap @@ -14,7 +14,6 @@ RemoveTargets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_StartReplay.go.snap b/service/eventbridge/snapshot/api_op_StartReplay.go.snap index cf1cf49a329..88a0a42f6d7 100644 --- a/service/eventbridge/snapshot/api_op_StartReplay.go.snap +++ b/service/eventbridge/snapshot/api_op_StartReplay.go.snap @@ -14,7 +14,6 @@ StartReplay Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_TagResource.go.snap b/service/eventbridge/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/eventbridge/snapshot/api_op_TagResource.go.snap +++ b/service/eventbridge/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_TestEventPattern.go.snap b/service/eventbridge/snapshot/api_op_TestEventPattern.go.snap index 1eb41a9dcf5..fca1aea0bc8 100644 --- a/service/eventbridge/snapshot/api_op_TestEventPattern.go.snap +++ b/service/eventbridge/snapshot/api_op_TestEventPattern.go.snap @@ -14,7 +14,6 @@ TestEventPattern Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_UntagResource.go.snap b/service/eventbridge/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/eventbridge/snapshot/api_op_UntagResource.go.snap +++ b/service/eventbridge/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_UpdateApiDestination.go.snap b/service/eventbridge/snapshot/api_op_UpdateApiDestination.go.snap index eda337bf6db..54f68bcd739 100644 --- a/service/eventbridge/snapshot/api_op_UpdateApiDestination.go.snap +++ b/service/eventbridge/snapshot/api_op_UpdateApiDestination.go.snap @@ -14,7 +14,6 @@ UpdateApiDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_UpdateArchive.go.snap b/service/eventbridge/snapshot/api_op_UpdateArchive.go.snap index f94593bcbb8..df2a1c64d4c 100644 --- a/service/eventbridge/snapshot/api_op_UpdateArchive.go.snap +++ b/service/eventbridge/snapshot/api_op_UpdateArchive.go.snap @@ -14,7 +14,6 @@ UpdateArchive Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_UpdateConnection.go.snap b/service/eventbridge/snapshot/api_op_UpdateConnection.go.snap index 8bcc0bccc85..f8c8899dab6 100644 --- a/service/eventbridge/snapshot/api_op_UpdateConnection.go.snap +++ b/service/eventbridge/snapshot/api_op_UpdateConnection.go.snap @@ -14,7 +14,6 @@ UpdateConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_UpdateEndpoint.go.snap b/service/eventbridge/snapshot/api_op_UpdateEndpoint.go.snap index 63486efef57..9f5c5924842 100644 --- a/service/eventbridge/snapshot/api_op_UpdateEndpoint.go.snap +++ b/service/eventbridge/snapshot/api_op_UpdateEndpoint.go.snap @@ -14,7 +14,6 @@ UpdateEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/eventbridge/snapshot/api_op_UpdateEventBus.go.snap b/service/eventbridge/snapshot/api_op_UpdateEventBus.go.snap index db548eb802d..ff26c27d31a 100644 --- a/service/eventbridge/snapshot/api_op_UpdateEventBus.go.snap +++ b/service/eventbridge/snapshot/api_op_UpdateEventBus.go.snap @@ -13,7 +13,6 @@ UpdateEventBus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/api_client.go b/service/evidently/api_client.go index ee322d885c0..4259e921fdf 100644 --- a/service/evidently/api_client.go +++ b/service/evidently/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/evidently/api_op_BatchEvaluateFeature.go b/service/evidently/api_op_BatchEvaluateFeature.go index 457e849c8d9..dc7515e8a90 100644 --- a/service/evidently/api_op_BatchEvaluateFeature.go +++ b/service/evidently/api_op_BatchEvaluateFeature.go @@ -141,9 +141,6 @@ func (c *Client) addOperationBatchEvaluateFeatureMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opBatchEvaluateFeatureMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_CreateExperiment.go b/service/evidently/api_op_CreateExperiment.go index 87c1a1831bd..83346eccb7a 100644 --- a/service/evidently/api_op_CreateExperiment.go +++ b/service/evidently/api_op_CreateExperiment.go @@ -192,9 +192,6 @@ func (c *Client) addOperationCreateExperimentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateExperimentValidationMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_CreateFeature.go b/service/evidently/api_op_CreateFeature.go index ce250a7239c..e5428bcce0d 100644 --- a/service/evidently/api_op_CreateFeature.go +++ b/service/evidently/api_op_CreateFeature.go @@ -174,9 +174,6 @@ func (c *Client) addOperationCreateFeatureMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFeatureValidationMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_CreateLaunch.go b/service/evidently/api_op_CreateLaunch.go index dab866c31c7..34a550fbe3c 100644 --- a/service/evidently/api_op_CreateLaunch.go +++ b/service/evidently/api_op_CreateLaunch.go @@ -170,9 +170,6 @@ func (c *Client) addOperationCreateLaunchMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLaunchValidationMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_CreateProject.go b/service/evidently/api_op_CreateProject.go index b7f630e44a8..3bb96ca30ed 100644 --- a/service/evidently/api_op_CreateProject.go +++ b/service/evidently/api_op_CreateProject.go @@ -161,9 +161,6 @@ func (c *Client) addOperationCreateProjectMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_CreateSegment.go b/service/evidently/api_op_CreateSegment.go index 50b6061743e..c378646b4de 100644 --- a/service/evidently/api_op_CreateSegment.go +++ b/service/evidently/api_op_CreateSegment.go @@ -161,9 +161,6 @@ func (c *Client) addOperationCreateSegmentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSegmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_DeleteExperiment.go b/service/evidently/api_op_DeleteExperiment.go index b7152f78832..61d3e307d56 100644 --- a/service/evidently/api_op_DeleteExperiment.go +++ b/service/evidently/api_op_DeleteExperiment.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteExperimentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteExperimentValidationMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_DeleteFeature.go b/service/evidently/api_op_DeleteFeature.go index 96e4cb723d5..90140df87fd 100644 --- a/service/evidently/api_op_DeleteFeature.go +++ b/service/evidently/api_op_DeleteFeature.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteFeatureMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFeatureValidationMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_DeleteLaunch.go b/service/evidently/api_op_DeleteLaunch.go index d737f941d71..98feb66dcf9 100644 --- a/service/evidently/api_op_DeleteLaunch.go +++ b/service/evidently/api_op_DeleteLaunch.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteLaunchMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLaunchValidationMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_DeleteProject.go b/service/evidently/api_op_DeleteProject.go index 7ff7d009d59..989b5806442 100644 --- a/service/evidently/api_op_DeleteProject.go +++ b/service/evidently/api_op_DeleteProject.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteProjectMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_DeleteSegment.go b/service/evidently/api_op_DeleteSegment.go index 8176a764908..7246155d49a 100644 --- a/service/evidently/api_op_DeleteSegment.go +++ b/service/evidently/api_op_DeleteSegment.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteSegmentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSegmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_EvaluateFeature.go b/service/evidently/api_op_EvaluateFeature.go index b5fefbf52bd..6a1fffc7092 100644 --- a/service/evidently/api_op_EvaluateFeature.go +++ b/service/evidently/api_op_EvaluateFeature.go @@ -188,9 +188,6 @@ func (c *Client) addOperationEvaluateFeatureMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opEvaluateFeatureMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_GetExperiment.go b/service/evidently/api_op_GetExperiment.go index d95d4d31c38..1e624d1b7d0 100644 --- a/service/evidently/api_op_GetExperiment.go +++ b/service/evidently/api_op_GetExperiment.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetExperimentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetExperimentValidationMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_GetExperimentResults.go b/service/evidently/api_op_GetExperimentResults.go index ee10aa2f277..0f8ead83bc1 100644 --- a/service/evidently/api_op_GetExperimentResults.go +++ b/service/evidently/api_op_GetExperimentResults.go @@ -191,9 +191,6 @@ func (c *Client) addOperationGetExperimentResultsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetExperimentResultsValidationMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_GetFeature.go b/service/evidently/api_op_GetFeature.go index 854dcd8db5f..c6c04e8c565 100644 --- a/service/evidently/api_op_GetFeature.go +++ b/service/evidently/api_op_GetFeature.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetFeatureMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFeatureValidationMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_GetLaunch.go b/service/evidently/api_op_GetLaunch.go index d0c6df3c6d2..35eeb8ef792 100644 --- a/service/evidently/api_op_GetLaunch.go +++ b/service/evidently/api_op_GetLaunch.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetLaunchMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLaunchValidationMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_GetProject.go b/service/evidently/api_op_GetProject.go index 82ac00a6dbe..b6927dff415 100644 --- a/service/evidently/api_op_GetProject.go +++ b/service/evidently/api_op_GetProject.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetProjectMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_GetSegment.go b/service/evidently/api_op_GetSegment.go index 64da33b563f..e8d9c9d5e50 100644 --- a/service/evidently/api_op_GetSegment.go +++ b/service/evidently/api_op_GetSegment.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetSegmentMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSegmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_ListExperiments.go b/service/evidently/api_op_ListExperiments.go index a3095d20c54..c365292114a 100644 --- a/service/evidently/api_op_ListExperiments.go +++ b/service/evidently/api_op_ListExperiments.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListExperimentsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListExperimentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_ListFeatures.go b/service/evidently/api_op_ListFeatures.go index ae424fe56b3..217f46bf885 100644 --- a/service/evidently/api_op_ListFeatures.go +++ b/service/evidently/api_op_ListFeatures.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListFeaturesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFeaturesValidationMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_ListLaunches.go b/service/evidently/api_op_ListLaunches.go index f5e3b8f002f..638141ce0c8 100644 --- a/service/evidently/api_op_ListLaunches.go +++ b/service/evidently/api_op_ListLaunches.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListLaunchesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListLaunchesValidationMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_ListProjects.go b/service/evidently/api_op_ListProjects.go index e22d3034c4a..2fdf887ffa1 100644 --- a/service/evidently/api_op_ListProjects.go +++ b/service/evidently/api_op_ListProjects.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListProjectsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProjects(options.Region), middleware.Before); err != nil { return err } diff --git a/service/evidently/api_op_ListSegmentReferences.go b/service/evidently/api_op_ListSegmentReferences.go index e9c66ca4663..ea391dc155c 100644 --- a/service/evidently/api_op_ListSegmentReferences.go +++ b/service/evidently/api_op_ListSegmentReferences.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListSegmentReferencesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSegmentReferencesValidationMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_ListSegments.go b/service/evidently/api_op_ListSegments.go index 5ef75a2f61f..a62304caa70 100644 --- a/service/evidently/api_op_ListSegments.go +++ b/service/evidently/api_op_ListSegments.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListSegmentsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSegments(options.Region), middleware.Before); err != nil { return err } diff --git a/service/evidently/api_op_ListTagsForResource.go b/service/evidently/api_op_ListTagsForResource.go index c37aa12243d..5495e0fe56d 100644 --- a/service/evidently/api_op_ListTagsForResource.go +++ b/service/evidently/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_PutProjectEvents.go b/service/evidently/api_op_PutProjectEvents.go index a2b59afa5af..573cbca097b 100644 --- a/service/evidently/api_op_PutProjectEvents.go +++ b/service/evidently/api_op_PutProjectEvents.go @@ -123,9 +123,6 @@ func (c *Client) addOperationPutProjectEventsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opPutProjectEventsMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_StartExperiment.go b/service/evidently/api_op_StartExperiment.go index ff8c49a7570..0d268594afe 100644 --- a/service/evidently/api_op_StartExperiment.go +++ b/service/evidently/api_op_StartExperiment.go @@ -125,9 +125,6 @@ func (c *Client) addOperationStartExperimentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartExperimentValidationMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_StartLaunch.go b/service/evidently/api_op_StartLaunch.go index b51b9604248..f57ac40f872 100644 --- a/service/evidently/api_op_StartLaunch.go +++ b/service/evidently/api_op_StartLaunch.go @@ -121,9 +121,6 @@ func (c *Client) addOperationStartLaunchMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartLaunchValidationMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_StopExperiment.go b/service/evidently/api_op_StopExperiment.go index a85a5643b34..314b47996fd 100644 --- a/service/evidently/api_op_StopExperiment.go +++ b/service/evidently/api_op_StopExperiment.go @@ -126,9 +126,6 @@ func (c *Client) addOperationStopExperimentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopExperimentValidationMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_StopLaunch.go b/service/evidently/api_op_StopLaunch.go index a1a8f7f1731..c0193e0e901 100644 --- a/service/evidently/api_op_StopLaunch.go +++ b/service/evidently/api_op_StopLaunch.go @@ -128,9 +128,6 @@ func (c *Client) addOperationStopLaunchMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopLaunchValidationMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_TagResource.go b/service/evidently/api_op_TagResource.go index 48c6cfa5c92..fa32f832a22 100644 --- a/service/evidently/api_op_TagResource.go +++ b/service/evidently/api_op_TagResource.go @@ -132,9 +132,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_TestSegmentPattern.go b/service/evidently/api_op_TestSegmentPattern.go index ed7c85cada4..1f872c269fe 100644 --- a/service/evidently/api_op_TestSegmentPattern.go +++ b/service/evidently/api_op_TestSegmentPattern.go @@ -125,9 +125,6 @@ func (c *Client) addOperationTestSegmentPatternMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTestSegmentPatternValidationMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_UntagResource.go b/service/evidently/api_op_UntagResource.go index ba31c028d20..c0e4615b4cd 100644 --- a/service/evidently/api_op_UntagResource.go +++ b/service/evidently/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_UpdateExperiment.go b/service/evidently/api_op_UpdateExperiment.go index c501a95a765..9663d83503b 100644 --- a/service/evidently/api_op_UpdateExperiment.go +++ b/service/evidently/api_op_UpdateExperiment.go @@ -167,9 +167,6 @@ func (c *Client) addOperationUpdateExperimentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateExperimentValidationMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_UpdateFeature.go b/service/evidently/api_op_UpdateFeature.go index b8a4028a779..6fa1f4b6443 100644 --- a/service/evidently/api_op_UpdateFeature.go +++ b/service/evidently/api_op_UpdateFeature.go @@ -160,9 +160,6 @@ func (c *Client) addOperationUpdateFeatureMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFeatureValidationMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_UpdateLaunch.go b/service/evidently/api_op_UpdateLaunch.go index 2b71a190d8d..e532bc6fe35 100644 --- a/service/evidently/api_op_UpdateLaunch.go +++ b/service/evidently/api_op_UpdateLaunch.go @@ -146,9 +146,6 @@ func (c *Client) addOperationUpdateLaunchMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLaunchValidationMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_UpdateProject.go b/service/evidently/api_op_UpdateProject.go index 249d1fcbb4f..e998e36dc91 100644 --- a/service/evidently/api_op_UpdateProject.go +++ b/service/evidently/api_op_UpdateProject.go @@ -139,9 +139,6 @@ func (c *Client) addOperationUpdateProjectMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/evidently/api_op_UpdateProjectDataDelivery.go b/service/evidently/api_op_UpdateProjectDataDelivery.go index b9999f789e6..6b84336fbd6 100644 --- a/service/evidently/api_op_UpdateProjectDataDelivery.go +++ b/service/evidently/api_op_UpdateProjectDataDelivery.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateProjectDataDeliveryMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateProjectDataDeliveryValidationMiddleware(stack); err != nil { return err } diff --git a/service/evidently/snapshot/api_op_BatchEvaluateFeature.go.snap b/service/evidently/snapshot/api_op_BatchEvaluateFeature.go.snap index f8d2224a37f..1c179ef9dcc 100644 --- a/service/evidently/snapshot/api_op_BatchEvaluateFeature.go.snap +++ b/service/evidently/snapshot/api_op_BatchEvaluateFeature.go.snap @@ -14,7 +14,6 @@ BatchEvaluateFeature Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_CreateExperiment.go.snap b/service/evidently/snapshot/api_op_CreateExperiment.go.snap index 2de5ee783b7..4d43849c848 100644 --- a/service/evidently/snapshot/api_op_CreateExperiment.go.snap +++ b/service/evidently/snapshot/api_op_CreateExperiment.go.snap @@ -14,7 +14,6 @@ CreateExperiment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_CreateFeature.go.snap b/service/evidently/snapshot/api_op_CreateFeature.go.snap index 4f7a65719d1..84569facaec 100644 --- a/service/evidently/snapshot/api_op_CreateFeature.go.snap +++ b/service/evidently/snapshot/api_op_CreateFeature.go.snap @@ -14,7 +14,6 @@ CreateFeature Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_CreateLaunch.go.snap b/service/evidently/snapshot/api_op_CreateLaunch.go.snap index c3bb7183603..8b8be1258cc 100644 --- a/service/evidently/snapshot/api_op_CreateLaunch.go.snap +++ b/service/evidently/snapshot/api_op_CreateLaunch.go.snap @@ -14,7 +14,6 @@ CreateLaunch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_CreateProject.go.snap b/service/evidently/snapshot/api_op_CreateProject.go.snap index 5011a8d8cc3..7ae2b811d6c 100644 --- a/service/evidently/snapshot/api_op_CreateProject.go.snap +++ b/service/evidently/snapshot/api_op_CreateProject.go.snap @@ -14,7 +14,6 @@ CreateProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_CreateSegment.go.snap b/service/evidently/snapshot/api_op_CreateSegment.go.snap index 96de7294f89..5c5c4f14591 100644 --- a/service/evidently/snapshot/api_op_CreateSegment.go.snap +++ b/service/evidently/snapshot/api_op_CreateSegment.go.snap @@ -14,7 +14,6 @@ CreateSegment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_DeleteExperiment.go.snap b/service/evidently/snapshot/api_op_DeleteExperiment.go.snap index 54a7bec410f..1fe8f2edd13 100644 --- a/service/evidently/snapshot/api_op_DeleteExperiment.go.snap +++ b/service/evidently/snapshot/api_op_DeleteExperiment.go.snap @@ -14,7 +14,6 @@ DeleteExperiment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_DeleteFeature.go.snap b/service/evidently/snapshot/api_op_DeleteFeature.go.snap index 2a7efbd443f..79f015abbe0 100644 --- a/service/evidently/snapshot/api_op_DeleteFeature.go.snap +++ b/service/evidently/snapshot/api_op_DeleteFeature.go.snap @@ -14,7 +14,6 @@ DeleteFeature Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_DeleteLaunch.go.snap b/service/evidently/snapshot/api_op_DeleteLaunch.go.snap index 0edea21cc5e..51119cf5972 100644 --- a/service/evidently/snapshot/api_op_DeleteLaunch.go.snap +++ b/service/evidently/snapshot/api_op_DeleteLaunch.go.snap @@ -14,7 +14,6 @@ DeleteLaunch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_DeleteProject.go.snap b/service/evidently/snapshot/api_op_DeleteProject.go.snap index 382ba97b69d..175218d872d 100644 --- a/service/evidently/snapshot/api_op_DeleteProject.go.snap +++ b/service/evidently/snapshot/api_op_DeleteProject.go.snap @@ -14,7 +14,6 @@ DeleteProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_DeleteSegment.go.snap b/service/evidently/snapshot/api_op_DeleteSegment.go.snap index bff14a8c94e..0684da8a094 100644 --- a/service/evidently/snapshot/api_op_DeleteSegment.go.snap +++ b/service/evidently/snapshot/api_op_DeleteSegment.go.snap @@ -14,7 +14,6 @@ DeleteSegment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_EvaluateFeature.go.snap b/service/evidently/snapshot/api_op_EvaluateFeature.go.snap index 025d94ff044..f6db0229281 100644 --- a/service/evidently/snapshot/api_op_EvaluateFeature.go.snap +++ b/service/evidently/snapshot/api_op_EvaluateFeature.go.snap @@ -14,7 +14,6 @@ EvaluateFeature Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_GetExperiment.go.snap b/service/evidently/snapshot/api_op_GetExperiment.go.snap index 5f58853afa3..e2124aa8e9a 100644 --- a/service/evidently/snapshot/api_op_GetExperiment.go.snap +++ b/service/evidently/snapshot/api_op_GetExperiment.go.snap @@ -14,7 +14,6 @@ GetExperiment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_GetExperimentResults.go.snap b/service/evidently/snapshot/api_op_GetExperimentResults.go.snap index 22c1a7d9aa5..b37cd3e871f 100644 --- a/service/evidently/snapshot/api_op_GetExperimentResults.go.snap +++ b/service/evidently/snapshot/api_op_GetExperimentResults.go.snap @@ -14,7 +14,6 @@ GetExperimentResults Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_GetFeature.go.snap b/service/evidently/snapshot/api_op_GetFeature.go.snap index 5af23e41a21..c9504a5341a 100644 --- a/service/evidently/snapshot/api_op_GetFeature.go.snap +++ b/service/evidently/snapshot/api_op_GetFeature.go.snap @@ -14,7 +14,6 @@ GetFeature Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_GetLaunch.go.snap b/service/evidently/snapshot/api_op_GetLaunch.go.snap index 950353cf715..fc3a514aace 100644 --- a/service/evidently/snapshot/api_op_GetLaunch.go.snap +++ b/service/evidently/snapshot/api_op_GetLaunch.go.snap @@ -14,7 +14,6 @@ GetLaunch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_GetProject.go.snap b/service/evidently/snapshot/api_op_GetProject.go.snap index be6729ff9b9..bc23d35cff2 100644 --- a/service/evidently/snapshot/api_op_GetProject.go.snap +++ b/service/evidently/snapshot/api_op_GetProject.go.snap @@ -14,7 +14,6 @@ GetProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_GetSegment.go.snap b/service/evidently/snapshot/api_op_GetSegment.go.snap index 5b8717c012b..be1b0340b38 100644 --- a/service/evidently/snapshot/api_op_GetSegment.go.snap +++ b/service/evidently/snapshot/api_op_GetSegment.go.snap @@ -14,7 +14,6 @@ GetSegment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_ListExperiments.go.snap b/service/evidently/snapshot/api_op_ListExperiments.go.snap index 40414f0016f..3c83622ab68 100644 --- a/service/evidently/snapshot/api_op_ListExperiments.go.snap +++ b/service/evidently/snapshot/api_op_ListExperiments.go.snap @@ -14,7 +14,6 @@ ListExperiments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_ListFeatures.go.snap b/service/evidently/snapshot/api_op_ListFeatures.go.snap index 69072af1105..ee278a69e22 100644 --- a/service/evidently/snapshot/api_op_ListFeatures.go.snap +++ b/service/evidently/snapshot/api_op_ListFeatures.go.snap @@ -14,7 +14,6 @@ ListFeatures Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_ListLaunches.go.snap b/service/evidently/snapshot/api_op_ListLaunches.go.snap index cba539f9116..8b0bb44c589 100644 --- a/service/evidently/snapshot/api_op_ListLaunches.go.snap +++ b/service/evidently/snapshot/api_op_ListLaunches.go.snap @@ -14,7 +14,6 @@ ListLaunches Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_ListProjects.go.snap b/service/evidently/snapshot/api_op_ListProjects.go.snap index adb78614633..e63a9b58f58 100644 --- a/service/evidently/snapshot/api_op_ListProjects.go.snap +++ b/service/evidently/snapshot/api_op_ListProjects.go.snap @@ -13,7 +13,6 @@ ListProjects Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_ListSegmentReferences.go.snap b/service/evidently/snapshot/api_op_ListSegmentReferences.go.snap index b3c181aa9aa..5af09267665 100644 --- a/service/evidently/snapshot/api_op_ListSegmentReferences.go.snap +++ b/service/evidently/snapshot/api_op_ListSegmentReferences.go.snap @@ -14,7 +14,6 @@ ListSegmentReferences Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_ListSegments.go.snap b/service/evidently/snapshot/api_op_ListSegments.go.snap index 77a2ff90f62..5dc64bdef1a 100644 --- a/service/evidently/snapshot/api_op_ListSegments.go.snap +++ b/service/evidently/snapshot/api_op_ListSegments.go.snap @@ -13,7 +13,6 @@ ListSegments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_ListTagsForResource.go.snap b/service/evidently/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/evidently/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/evidently/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_PutProjectEvents.go.snap b/service/evidently/snapshot/api_op_PutProjectEvents.go.snap index d6f14313c59..5397c4a265e 100644 --- a/service/evidently/snapshot/api_op_PutProjectEvents.go.snap +++ b/service/evidently/snapshot/api_op_PutProjectEvents.go.snap @@ -14,7 +14,6 @@ PutProjectEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_StartExperiment.go.snap b/service/evidently/snapshot/api_op_StartExperiment.go.snap index 912eacdcaad..62b28496cb1 100644 --- a/service/evidently/snapshot/api_op_StartExperiment.go.snap +++ b/service/evidently/snapshot/api_op_StartExperiment.go.snap @@ -14,7 +14,6 @@ StartExperiment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_StartLaunch.go.snap b/service/evidently/snapshot/api_op_StartLaunch.go.snap index 617e9dc3ad9..979fafb7318 100644 --- a/service/evidently/snapshot/api_op_StartLaunch.go.snap +++ b/service/evidently/snapshot/api_op_StartLaunch.go.snap @@ -14,7 +14,6 @@ StartLaunch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_StopExperiment.go.snap b/service/evidently/snapshot/api_op_StopExperiment.go.snap index 6f13ced0fd6..d4b90492775 100644 --- a/service/evidently/snapshot/api_op_StopExperiment.go.snap +++ b/service/evidently/snapshot/api_op_StopExperiment.go.snap @@ -14,7 +14,6 @@ StopExperiment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_StopLaunch.go.snap b/service/evidently/snapshot/api_op_StopLaunch.go.snap index 450c0a5144b..fdf1d775201 100644 --- a/service/evidently/snapshot/api_op_StopLaunch.go.snap +++ b/service/evidently/snapshot/api_op_StopLaunch.go.snap @@ -14,7 +14,6 @@ StopLaunch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_TagResource.go.snap b/service/evidently/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/evidently/snapshot/api_op_TagResource.go.snap +++ b/service/evidently/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_TestSegmentPattern.go.snap b/service/evidently/snapshot/api_op_TestSegmentPattern.go.snap index 4cff6bf957d..6384fd41728 100644 --- a/service/evidently/snapshot/api_op_TestSegmentPattern.go.snap +++ b/service/evidently/snapshot/api_op_TestSegmentPattern.go.snap @@ -14,7 +14,6 @@ TestSegmentPattern Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_UntagResource.go.snap b/service/evidently/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/evidently/snapshot/api_op_UntagResource.go.snap +++ b/service/evidently/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_UpdateExperiment.go.snap b/service/evidently/snapshot/api_op_UpdateExperiment.go.snap index fda1ceecc87..0160986d8f8 100644 --- a/service/evidently/snapshot/api_op_UpdateExperiment.go.snap +++ b/service/evidently/snapshot/api_op_UpdateExperiment.go.snap @@ -14,7 +14,6 @@ UpdateExperiment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_UpdateFeature.go.snap b/service/evidently/snapshot/api_op_UpdateFeature.go.snap index f11fa2b3d11..e84c1e62405 100644 --- a/service/evidently/snapshot/api_op_UpdateFeature.go.snap +++ b/service/evidently/snapshot/api_op_UpdateFeature.go.snap @@ -14,7 +14,6 @@ UpdateFeature Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_UpdateLaunch.go.snap b/service/evidently/snapshot/api_op_UpdateLaunch.go.snap index b345d2fa14c..275d58dd033 100644 --- a/service/evidently/snapshot/api_op_UpdateLaunch.go.snap +++ b/service/evidently/snapshot/api_op_UpdateLaunch.go.snap @@ -14,7 +14,6 @@ UpdateLaunch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_UpdateProject.go.snap b/service/evidently/snapshot/api_op_UpdateProject.go.snap index 5c3e188e688..58c24534d10 100644 --- a/service/evidently/snapshot/api_op_UpdateProject.go.snap +++ b/service/evidently/snapshot/api_op_UpdateProject.go.snap @@ -14,7 +14,6 @@ UpdateProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/evidently/snapshot/api_op_UpdateProjectDataDelivery.go.snap b/service/evidently/snapshot/api_op_UpdateProjectDataDelivery.go.snap index c24ddcf74c6..ccea6115efc 100644 --- a/service/evidently/snapshot/api_op_UpdateProjectDataDelivery.go.snap +++ b/service/evidently/snapshot/api_op_UpdateProjectDataDelivery.go.snap @@ -14,7 +14,6 @@ UpdateProjectDataDelivery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/api_client.go b/service/finspace/api_client.go index ef56ad3ce75..cb7b0069bd2 100644 --- a/service/finspace/api_client.go +++ b/service/finspace/api_client.go @@ -804,37 +804,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/finspace/api_op_CreateEnvironment.go b/service/finspace/api_op_CreateEnvironment.go index 198909d0bb4..f97c350960b 100644 --- a/service/finspace/api_op_CreateEnvironment.go +++ b/service/finspace/api_op_CreateEnvironment.go @@ -157,9 +157,6 @@ func (c *Client) addOperationCreateEnvironmentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEnvironmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspace/api_op_CreateKxChangeset.go b/service/finspace/api_op_CreateKxChangeset.go index c2449ce8a98..fd280655b53 100644 --- a/service/finspace/api_op_CreateKxChangeset.go +++ b/service/finspace/api_op_CreateKxChangeset.go @@ -208,9 +208,6 @@ func (c *Client) addOperationCreateKxChangesetMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateKxChangesetMiddleware(stack, options); err != nil { return err } diff --git a/service/finspace/api_op_CreateKxCluster.go b/service/finspace/api_op_CreateKxCluster.go index 1d97b709256..2f2b4bf93e7 100644 --- a/service/finspace/api_op_CreateKxCluster.go +++ b/service/finspace/api_op_CreateKxCluster.go @@ -376,9 +376,6 @@ func (c *Client) addOperationCreateKxClusterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateKxClusterMiddleware(stack, options); err != nil { return err } diff --git a/service/finspace/api_op_CreateKxDatabase.go b/service/finspace/api_op_CreateKxDatabase.go index 4b66e7173bc..a0d0d390a8a 100644 --- a/service/finspace/api_op_CreateKxDatabase.go +++ b/service/finspace/api_op_CreateKxDatabase.go @@ -151,9 +151,6 @@ func (c *Client) addOperationCreateKxDatabaseMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateKxDatabaseMiddleware(stack, options); err != nil { return err } diff --git a/service/finspace/api_op_CreateKxDataview.go b/service/finspace/api_op_CreateKxDataview.go index eff069b6268..e1ee9671a8d 100644 --- a/service/finspace/api_op_CreateKxDataview.go +++ b/service/finspace/api_op_CreateKxDataview.go @@ -239,9 +239,6 @@ func (c *Client) addOperationCreateKxDataviewMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateKxDataviewMiddleware(stack, options); err != nil { return err } diff --git a/service/finspace/api_op_CreateKxEnvironment.go b/service/finspace/api_op_CreateKxEnvironment.go index f778b2d1257..df10074eb94 100644 --- a/service/finspace/api_op_CreateKxEnvironment.go +++ b/service/finspace/api_op_CreateKxEnvironment.go @@ -149,9 +149,6 @@ func (c *Client) addOperationCreateKxEnvironmentMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateKxEnvironmentMiddleware(stack, options); err != nil { return err } diff --git a/service/finspace/api_op_CreateKxScalingGroup.go b/service/finspace/api_op_CreateKxScalingGroup.go index 3d89288e597..0c96d0005d6 100644 --- a/service/finspace/api_op_CreateKxScalingGroup.go +++ b/service/finspace/api_op_CreateKxScalingGroup.go @@ -211,9 +211,6 @@ func (c *Client) addOperationCreateKxScalingGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateKxScalingGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/finspace/api_op_CreateKxUser.go b/service/finspace/api_op_CreateKxUser.go index 3b654ea6fef..251ef29f249 100644 --- a/service/finspace/api_op_CreateKxUser.go +++ b/service/finspace/api_op_CreateKxUser.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCreateKxUserMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateKxUserMiddleware(stack, options); err != nil { return err } diff --git a/service/finspace/api_op_CreateKxVolume.go b/service/finspace/api_op_CreateKxVolume.go index e32d7d281f9..5ad200121cf 100644 --- a/service/finspace/api_op_CreateKxVolume.go +++ b/service/finspace/api_op_CreateKxVolume.go @@ -210,9 +210,6 @@ func (c *Client) addOperationCreateKxVolumeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateKxVolumeMiddleware(stack, options); err != nil { return err } diff --git a/service/finspace/api_op_DeleteEnvironment.go b/service/finspace/api_op_DeleteEnvironment.go index 75cfe50eeec..4b49596257f 100644 --- a/service/finspace/api_op_DeleteEnvironment.go +++ b/service/finspace/api_op_DeleteEnvironment.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteEnvironmentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEnvironmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspace/api_op_DeleteKxCluster.go b/service/finspace/api_op_DeleteKxCluster.go index 8b3a8108c5a..0d9ad48d284 100644 --- a/service/finspace/api_op_DeleteKxCluster.go +++ b/service/finspace/api_op_DeleteKxCluster.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteKxClusterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteKxClusterMiddleware(stack, options); err != nil { return err } diff --git a/service/finspace/api_op_DeleteKxClusterNode.go b/service/finspace/api_op_DeleteKxClusterNode.go index 76a19350972..a5b37bf64db 100644 --- a/service/finspace/api_op_DeleteKxClusterNode.go +++ b/service/finspace/api_op_DeleteKxClusterNode.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteKxClusterNodeMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteKxClusterNodeValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspace/api_op_DeleteKxDatabase.go b/service/finspace/api_op_DeleteKxDatabase.go index 3b46a7287f3..d49da0842c2 100644 --- a/service/finspace/api_op_DeleteKxDatabase.go +++ b/service/finspace/api_op_DeleteKxDatabase.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteKxDatabaseMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteKxDatabaseMiddleware(stack, options); err != nil { return err } diff --git a/service/finspace/api_op_DeleteKxDataview.go b/service/finspace/api_op_DeleteKxDataview.go index 3cc9f097f8d..ecd2dcc2078 100644 --- a/service/finspace/api_op_DeleteKxDataview.go +++ b/service/finspace/api_op_DeleteKxDataview.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteKxDataviewMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteKxDataviewMiddleware(stack, options); err != nil { return err } diff --git a/service/finspace/api_op_DeleteKxEnvironment.go b/service/finspace/api_op_DeleteKxEnvironment.go index 4e34922ad76..75ead65fc39 100644 --- a/service/finspace/api_op_DeleteKxEnvironment.go +++ b/service/finspace/api_op_DeleteKxEnvironment.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteKxEnvironmentMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteKxEnvironmentMiddleware(stack, options); err != nil { return err } diff --git a/service/finspace/api_op_DeleteKxScalingGroup.go b/service/finspace/api_op_DeleteKxScalingGroup.go index 0febf8c6a86..870d5933a5a 100644 --- a/service/finspace/api_op_DeleteKxScalingGroup.go +++ b/service/finspace/api_op_DeleteKxScalingGroup.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteKxScalingGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteKxScalingGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/finspace/api_op_DeleteKxUser.go b/service/finspace/api_op_DeleteKxUser.go index 8aa517e267b..23fbe734675 100644 --- a/service/finspace/api_op_DeleteKxUser.go +++ b/service/finspace/api_op_DeleteKxUser.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteKxUserMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteKxUserMiddleware(stack, options); err != nil { return err } diff --git a/service/finspace/api_op_DeleteKxVolume.go b/service/finspace/api_op_DeleteKxVolume.go index 82cc1a04308..d04fffd665b 100644 --- a/service/finspace/api_op_DeleteKxVolume.go +++ b/service/finspace/api_op_DeleteKxVolume.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteKxVolumeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteKxVolumeMiddleware(stack, options); err != nil { return err } diff --git a/service/finspace/api_op_GetEnvironment.go b/service/finspace/api_op_GetEnvironment.go index 8c0e4152fc7..3dac7682d83 100644 --- a/service/finspace/api_op_GetEnvironment.go +++ b/service/finspace/api_op_GetEnvironment.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetEnvironmentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEnvironmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspace/api_op_GetKxChangeset.go b/service/finspace/api_op_GetKxChangeset.go index ffaaf1eb0b3..e6a25954c75 100644 --- a/service/finspace/api_op_GetKxChangeset.go +++ b/service/finspace/api_op_GetKxChangeset.go @@ -165,9 +165,6 @@ func (c *Client) addOperationGetKxChangesetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetKxChangesetValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspace/api_op_GetKxCluster.go b/service/finspace/api_op_GetKxCluster.go index 394500bbe19..9edeb6e26f8 100644 --- a/service/finspace/api_op_GetKxCluster.go +++ b/service/finspace/api_op_GetKxCluster.go @@ -257,9 +257,6 @@ func (c *Client) addOperationGetKxClusterMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetKxClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspace/api_op_GetKxConnectionString.go b/service/finspace/api_op_GetKxConnectionString.go index 815e74fd5eb..de45101b741 100644 --- a/service/finspace/api_op_GetKxConnectionString.go +++ b/service/finspace/api_op_GetKxConnectionString.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetKxConnectionStringMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetKxConnectionStringValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspace/api_op_GetKxDatabase.go b/service/finspace/api_op_GetKxDatabase.go index 4faf7d5ac08..48c5f738866 100644 --- a/service/finspace/api_op_GetKxDatabase.go +++ b/service/finspace/api_op_GetKxDatabase.go @@ -151,9 +151,6 @@ func (c *Client) addOperationGetKxDatabaseMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetKxDatabaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspace/api_op_GetKxDataview.go b/service/finspace/api_op_GetKxDataview.go index 266479361fe..a277b48e3b8 100644 --- a/service/finspace/api_op_GetKxDataview.go +++ b/service/finspace/api_op_GetKxDataview.go @@ -187,9 +187,6 @@ func (c *Client) addOperationGetKxDataviewMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetKxDataviewValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspace/api_op_GetKxEnvironment.go b/service/finspace/api_op_GetKxEnvironment.go index 3fba6ddb6cb..cdea1a17034 100644 --- a/service/finspace/api_op_GetKxEnvironment.go +++ b/service/finspace/api_op_GetKxEnvironment.go @@ -169,9 +169,6 @@ func (c *Client) addOperationGetKxEnvironmentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetKxEnvironmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspace/api_op_GetKxScalingGroup.go b/service/finspace/api_op_GetKxScalingGroup.go index 5f83dbe8382..bd53a6281af 100644 --- a/service/finspace/api_op_GetKxScalingGroup.go +++ b/service/finspace/api_op_GetKxScalingGroup.go @@ -196,9 +196,6 @@ func (c *Client) addOperationGetKxScalingGroupMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetKxScalingGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspace/api_op_GetKxUser.go b/service/finspace/api_op_GetKxUser.go index a9e79dbf3de..e021b9007c4 100644 --- a/service/finspace/api_op_GetKxUser.go +++ b/service/finspace/api_op_GetKxUser.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetKxUserMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetKxUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspace/api_op_GetKxVolume.go b/service/finspace/api_op_GetKxVolume.go index d2f905afab8..ceb178c84be 100644 --- a/service/finspace/api_op_GetKxVolume.go +++ b/service/finspace/api_op_GetKxVolume.go @@ -184,9 +184,6 @@ func (c *Client) addOperationGetKxVolumeMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetKxVolumeValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspace/api_op_ListEnvironments.go b/service/finspace/api_op_ListEnvironments.go index 0e000b50005..05e105ef0eb 100644 --- a/service/finspace/api_op_ListEnvironments.go +++ b/service/finspace/api_op_ListEnvironments.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListEnvironmentsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEnvironments(options.Region), middleware.Before); err != nil { return err } diff --git a/service/finspace/api_op_ListKxChangesets.go b/service/finspace/api_op_ListKxChangesets.go index a5c588132a4..1354cd3247a 100644 --- a/service/finspace/api_op_ListKxChangesets.go +++ b/service/finspace/api_op_ListKxChangesets.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListKxChangesetsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListKxChangesetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspace/api_op_ListKxClusterNodes.go b/service/finspace/api_op_ListKxClusterNodes.go index 86f279ed0f2..1e6af5c737e 100644 --- a/service/finspace/api_op_ListKxClusterNodes.go +++ b/service/finspace/api_op_ListKxClusterNodes.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListKxClusterNodesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListKxClusterNodesValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspace/api_op_ListKxClusters.go b/service/finspace/api_op_ListKxClusters.go index c6ed989bec0..fd016287fc3 100644 --- a/service/finspace/api_op_ListKxClusters.go +++ b/service/finspace/api_op_ListKxClusters.go @@ -156,9 +156,6 @@ func (c *Client) addOperationListKxClustersMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListKxClustersValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspace/api_op_ListKxDatabases.go b/service/finspace/api_op_ListKxDatabases.go index e39e3dd907d..1ffcc4f3856 100644 --- a/service/finspace/api_op_ListKxDatabases.go +++ b/service/finspace/api_op_ListKxDatabases.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListKxDatabasesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListKxDatabasesValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspace/api_op_ListKxDataviews.go b/service/finspace/api_op_ListKxDataviews.go index 88ed8e6f9e6..66e2992b23b 100644 --- a/service/finspace/api_op_ListKxDataviews.go +++ b/service/finspace/api_op_ListKxDataviews.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListKxDataviewsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListKxDataviewsValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspace/api_op_ListKxEnvironments.go b/service/finspace/api_op_ListKxEnvironments.go index cf23ff75579..be5d5bd3feb 100644 --- a/service/finspace/api_op_ListKxEnvironments.go +++ b/service/finspace/api_op_ListKxEnvironments.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListKxEnvironmentsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListKxEnvironments(options.Region), middleware.Before); err != nil { return err } diff --git a/service/finspace/api_op_ListKxScalingGroups.go b/service/finspace/api_op_ListKxScalingGroups.go index 0a79e096876..ddd0d1644e3 100644 --- a/service/finspace/api_op_ListKxScalingGroups.go +++ b/service/finspace/api_op_ListKxScalingGroups.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListKxScalingGroupsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListKxScalingGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspace/api_op_ListKxUsers.go b/service/finspace/api_op_ListKxUsers.go index c548a601957..bfe4042fc6e 100644 --- a/service/finspace/api_op_ListKxUsers.go +++ b/service/finspace/api_op_ListKxUsers.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListKxUsersMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListKxUsersValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspace/api_op_ListKxVolumes.go b/service/finspace/api_op_ListKxVolumes.go index 002e003c1d7..68e7ed7ab99 100644 --- a/service/finspace/api_op_ListKxVolumes.go +++ b/service/finspace/api_op_ListKxVolumes.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListKxVolumesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListKxVolumesValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspace/api_op_ListTagsForResource.go b/service/finspace/api_op_ListTagsForResource.go index b3c822d9e4f..fdb06ba79a8 100644 --- a/service/finspace/api_op_ListTagsForResource.go +++ b/service/finspace/api_op_ListTagsForResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspace/api_op_TagResource.go b/service/finspace/api_op_TagResource.go index 62a6260a0cc..64a3dd5f717 100644 --- a/service/finspace/api_op_TagResource.go +++ b/service/finspace/api_op_TagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspace/api_op_UntagResource.go b/service/finspace/api_op_UntagResource.go index d7b7609379e..3062943861d 100644 --- a/service/finspace/api_op_UntagResource.go +++ b/service/finspace/api_op_UntagResource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspace/api_op_UpdateEnvironment.go b/service/finspace/api_op_UpdateEnvironment.go index ffde2493677..2989f6402e2 100644 --- a/service/finspace/api_op_UpdateEnvironment.go +++ b/service/finspace/api_op_UpdateEnvironment.go @@ -135,9 +135,6 @@ func (c *Client) addOperationUpdateEnvironmentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEnvironmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspace/api_op_UpdateKxClusterCodeConfiguration.go b/service/finspace/api_op_UpdateKxClusterCodeConfiguration.go index 390fc97b746..d425351e037 100644 --- a/service/finspace/api_op_UpdateKxClusterCodeConfiguration.go +++ b/service/finspace/api_op_UpdateKxClusterCodeConfiguration.go @@ -144,9 +144,6 @@ func (c *Client) addOperationUpdateKxClusterCodeConfigurationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateKxClusterCodeConfigurationMiddleware(stack, options); err != nil { return err } diff --git a/service/finspace/api_op_UpdateKxClusterDatabases.go b/service/finspace/api_op_UpdateKxClusterDatabases.go index 54253a29bb2..6e9c68c7d0e 100644 --- a/service/finspace/api_op_UpdateKxClusterDatabases.go +++ b/service/finspace/api_op_UpdateKxClusterDatabases.go @@ -133,9 +133,6 @@ func (c *Client) addOperationUpdateKxClusterDatabasesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateKxClusterDatabasesMiddleware(stack, options); err != nil { return err } diff --git a/service/finspace/api_op_UpdateKxDatabase.go b/service/finspace/api_op_UpdateKxDatabase.go index df60631fa42..91ae949f581 100644 --- a/service/finspace/api_op_UpdateKxDatabase.go +++ b/service/finspace/api_op_UpdateKxDatabase.go @@ -139,9 +139,6 @@ func (c *Client) addOperationUpdateKxDatabaseMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateKxDatabaseMiddleware(stack, options); err != nil { return err } diff --git a/service/finspace/api_op_UpdateKxDataview.go b/service/finspace/api_op_UpdateKxDataview.go index a47f15f4a40..6638e1fd631 100644 --- a/service/finspace/api_op_UpdateKxDataview.go +++ b/service/finspace/api_op_UpdateKxDataview.go @@ -205,9 +205,6 @@ func (c *Client) addOperationUpdateKxDataviewMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateKxDataviewMiddleware(stack, options); err != nil { return err } diff --git a/service/finspace/api_op_UpdateKxEnvironment.go b/service/finspace/api_op_UpdateKxEnvironment.go index 69cb074676f..d3a8459ada3 100644 --- a/service/finspace/api_op_UpdateKxEnvironment.go +++ b/service/finspace/api_op_UpdateKxEnvironment.go @@ -174,9 +174,6 @@ func (c *Client) addOperationUpdateKxEnvironmentMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateKxEnvironmentMiddleware(stack, options); err != nil { return err } diff --git a/service/finspace/api_op_UpdateKxEnvironmentNetwork.go b/service/finspace/api_op_UpdateKxEnvironmentNetwork.go index 476f512d298..30e436e23f3 100644 --- a/service/finspace/api_op_UpdateKxEnvironmentNetwork.go +++ b/service/finspace/api_op_UpdateKxEnvironmentNetwork.go @@ -183,9 +183,6 @@ func (c *Client) addOperationUpdateKxEnvironmentNetworkMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateKxEnvironmentNetworkMiddleware(stack, options); err != nil { return err } diff --git a/service/finspace/api_op_UpdateKxUser.go b/service/finspace/api_op_UpdateKxUser.go index bdf4f6f04c1..b740818aa83 100644 --- a/service/finspace/api_op_UpdateKxUser.go +++ b/service/finspace/api_op_UpdateKxUser.go @@ -140,9 +140,6 @@ func (c *Client) addOperationUpdateKxUserMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateKxUserMiddleware(stack, options); err != nil { return err } diff --git a/service/finspace/api_op_UpdateKxVolume.go b/service/finspace/api_op_UpdateKxVolume.go index 9da2d76af4a..c5d7bcb16e2 100644 --- a/service/finspace/api_op_UpdateKxVolume.go +++ b/service/finspace/api_op_UpdateKxVolume.go @@ -197,9 +197,6 @@ func (c *Client) addOperationUpdateKxVolumeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateKxVolumeMiddleware(stack, options); err != nil { return err } diff --git a/service/finspace/snapshot/api_op_CreateEnvironment.go.snap b/service/finspace/snapshot/api_op_CreateEnvironment.go.snap index e3820c6477d..d42226f6a24 100644 --- a/service/finspace/snapshot/api_op_CreateEnvironment.go.snap +++ b/service/finspace/snapshot/api_op_CreateEnvironment.go.snap @@ -15,7 +15,6 @@ CreateEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_CreateKxChangeset.go.snap b/service/finspace/snapshot/api_op_CreateKxChangeset.go.snap index 178243c9e14..d8f53b4fefb 100644 --- a/service/finspace/snapshot/api_op_CreateKxChangeset.go.snap +++ b/service/finspace/snapshot/api_op_CreateKxChangeset.go.snap @@ -16,7 +16,6 @@ CreateKxChangeset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_CreateKxCluster.go.snap b/service/finspace/snapshot/api_op_CreateKxCluster.go.snap index 0ec854e1b0d..918c44d87c3 100644 --- a/service/finspace/snapshot/api_op_CreateKxCluster.go.snap +++ b/service/finspace/snapshot/api_op_CreateKxCluster.go.snap @@ -16,7 +16,6 @@ CreateKxCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_CreateKxDatabase.go.snap b/service/finspace/snapshot/api_op_CreateKxDatabase.go.snap index 949ae91e604..1f2593763ca 100644 --- a/service/finspace/snapshot/api_op_CreateKxDatabase.go.snap +++ b/service/finspace/snapshot/api_op_CreateKxDatabase.go.snap @@ -16,7 +16,6 @@ CreateKxDatabase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_CreateKxDataview.go.snap b/service/finspace/snapshot/api_op_CreateKxDataview.go.snap index 68618700e13..3989562d610 100644 --- a/service/finspace/snapshot/api_op_CreateKxDataview.go.snap +++ b/service/finspace/snapshot/api_op_CreateKxDataview.go.snap @@ -16,7 +16,6 @@ CreateKxDataview Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_CreateKxEnvironment.go.snap b/service/finspace/snapshot/api_op_CreateKxEnvironment.go.snap index 5aa8c36205f..acb74f7bdf0 100644 --- a/service/finspace/snapshot/api_op_CreateKxEnvironment.go.snap +++ b/service/finspace/snapshot/api_op_CreateKxEnvironment.go.snap @@ -16,7 +16,6 @@ CreateKxEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_CreateKxScalingGroup.go.snap b/service/finspace/snapshot/api_op_CreateKxScalingGroup.go.snap index c41d957f9d7..73fa4f59d67 100644 --- a/service/finspace/snapshot/api_op_CreateKxScalingGroup.go.snap +++ b/service/finspace/snapshot/api_op_CreateKxScalingGroup.go.snap @@ -16,7 +16,6 @@ CreateKxScalingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_CreateKxUser.go.snap b/service/finspace/snapshot/api_op_CreateKxUser.go.snap index 12365ee856e..a4765a5608d 100644 --- a/service/finspace/snapshot/api_op_CreateKxUser.go.snap +++ b/service/finspace/snapshot/api_op_CreateKxUser.go.snap @@ -16,7 +16,6 @@ CreateKxUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_CreateKxVolume.go.snap b/service/finspace/snapshot/api_op_CreateKxVolume.go.snap index 0f3021a9c21..5db06ad560d 100644 --- a/service/finspace/snapshot/api_op_CreateKxVolume.go.snap +++ b/service/finspace/snapshot/api_op_CreateKxVolume.go.snap @@ -16,7 +16,6 @@ CreateKxVolume Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_DeleteEnvironment.go.snap b/service/finspace/snapshot/api_op_DeleteEnvironment.go.snap index 9f088dc3aad..bea82b1d7e6 100644 --- a/service/finspace/snapshot/api_op_DeleteEnvironment.go.snap +++ b/service/finspace/snapshot/api_op_DeleteEnvironment.go.snap @@ -15,7 +15,6 @@ DeleteEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_DeleteKxCluster.go.snap b/service/finspace/snapshot/api_op_DeleteKxCluster.go.snap index 7e0a4a29cf2..d218e2017ab 100644 --- a/service/finspace/snapshot/api_op_DeleteKxCluster.go.snap +++ b/service/finspace/snapshot/api_op_DeleteKxCluster.go.snap @@ -16,7 +16,6 @@ DeleteKxCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_DeleteKxClusterNode.go.snap b/service/finspace/snapshot/api_op_DeleteKxClusterNode.go.snap index ff7eb00d78c..ea6b95e4f3e 100644 --- a/service/finspace/snapshot/api_op_DeleteKxClusterNode.go.snap +++ b/service/finspace/snapshot/api_op_DeleteKxClusterNode.go.snap @@ -15,7 +15,6 @@ DeleteKxClusterNode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_DeleteKxDatabase.go.snap b/service/finspace/snapshot/api_op_DeleteKxDatabase.go.snap index 7e9ebecac10..ac7009c16a7 100644 --- a/service/finspace/snapshot/api_op_DeleteKxDatabase.go.snap +++ b/service/finspace/snapshot/api_op_DeleteKxDatabase.go.snap @@ -16,7 +16,6 @@ DeleteKxDatabase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_DeleteKxDataview.go.snap b/service/finspace/snapshot/api_op_DeleteKxDataview.go.snap index 73a2c779dfc..6532edce244 100644 --- a/service/finspace/snapshot/api_op_DeleteKxDataview.go.snap +++ b/service/finspace/snapshot/api_op_DeleteKxDataview.go.snap @@ -16,7 +16,6 @@ DeleteKxDataview Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_DeleteKxEnvironment.go.snap b/service/finspace/snapshot/api_op_DeleteKxEnvironment.go.snap index 0ab24bd1dd3..f0de07e1b4f 100644 --- a/service/finspace/snapshot/api_op_DeleteKxEnvironment.go.snap +++ b/service/finspace/snapshot/api_op_DeleteKxEnvironment.go.snap @@ -16,7 +16,6 @@ DeleteKxEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_DeleteKxScalingGroup.go.snap b/service/finspace/snapshot/api_op_DeleteKxScalingGroup.go.snap index 4f6d25fde4a..68d3c626e24 100644 --- a/service/finspace/snapshot/api_op_DeleteKxScalingGroup.go.snap +++ b/service/finspace/snapshot/api_op_DeleteKxScalingGroup.go.snap @@ -16,7 +16,6 @@ DeleteKxScalingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_DeleteKxUser.go.snap b/service/finspace/snapshot/api_op_DeleteKxUser.go.snap index 7040a424476..677e75df3db 100644 --- a/service/finspace/snapshot/api_op_DeleteKxUser.go.snap +++ b/service/finspace/snapshot/api_op_DeleteKxUser.go.snap @@ -16,7 +16,6 @@ DeleteKxUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_DeleteKxVolume.go.snap b/service/finspace/snapshot/api_op_DeleteKxVolume.go.snap index 7feb10babb8..65c8cead6f6 100644 --- a/service/finspace/snapshot/api_op_DeleteKxVolume.go.snap +++ b/service/finspace/snapshot/api_op_DeleteKxVolume.go.snap @@ -16,7 +16,6 @@ DeleteKxVolume Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_GetEnvironment.go.snap b/service/finspace/snapshot/api_op_GetEnvironment.go.snap index 7a4f74ff229..ad1167f68d0 100644 --- a/service/finspace/snapshot/api_op_GetEnvironment.go.snap +++ b/service/finspace/snapshot/api_op_GetEnvironment.go.snap @@ -15,7 +15,6 @@ GetEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_GetKxChangeset.go.snap b/service/finspace/snapshot/api_op_GetKxChangeset.go.snap index 8a207057c0a..b4478ef125f 100644 --- a/service/finspace/snapshot/api_op_GetKxChangeset.go.snap +++ b/service/finspace/snapshot/api_op_GetKxChangeset.go.snap @@ -15,7 +15,6 @@ GetKxChangeset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_GetKxCluster.go.snap b/service/finspace/snapshot/api_op_GetKxCluster.go.snap index 539f4f09e8d..b3e7e434bc3 100644 --- a/service/finspace/snapshot/api_op_GetKxCluster.go.snap +++ b/service/finspace/snapshot/api_op_GetKxCluster.go.snap @@ -15,7 +15,6 @@ GetKxCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_GetKxConnectionString.go.snap b/service/finspace/snapshot/api_op_GetKxConnectionString.go.snap index 33980c5764f..7cf300b6572 100644 --- a/service/finspace/snapshot/api_op_GetKxConnectionString.go.snap +++ b/service/finspace/snapshot/api_op_GetKxConnectionString.go.snap @@ -15,7 +15,6 @@ GetKxConnectionString Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_GetKxDatabase.go.snap b/service/finspace/snapshot/api_op_GetKxDatabase.go.snap index 8eb757f01e6..fc245f8963d 100644 --- a/service/finspace/snapshot/api_op_GetKxDatabase.go.snap +++ b/service/finspace/snapshot/api_op_GetKxDatabase.go.snap @@ -15,7 +15,6 @@ GetKxDatabase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_GetKxDataview.go.snap b/service/finspace/snapshot/api_op_GetKxDataview.go.snap index 4d9ba53802e..85a4f196b4f 100644 --- a/service/finspace/snapshot/api_op_GetKxDataview.go.snap +++ b/service/finspace/snapshot/api_op_GetKxDataview.go.snap @@ -15,7 +15,6 @@ GetKxDataview Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_GetKxEnvironment.go.snap b/service/finspace/snapshot/api_op_GetKxEnvironment.go.snap index 099532ef5c5..40fc2ed489d 100644 --- a/service/finspace/snapshot/api_op_GetKxEnvironment.go.snap +++ b/service/finspace/snapshot/api_op_GetKxEnvironment.go.snap @@ -15,7 +15,6 @@ GetKxEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_GetKxScalingGroup.go.snap b/service/finspace/snapshot/api_op_GetKxScalingGroup.go.snap index 9d79999a084..a42115b349d 100644 --- a/service/finspace/snapshot/api_op_GetKxScalingGroup.go.snap +++ b/service/finspace/snapshot/api_op_GetKxScalingGroup.go.snap @@ -15,7 +15,6 @@ GetKxScalingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_GetKxUser.go.snap b/service/finspace/snapshot/api_op_GetKxUser.go.snap index 964bb9de758..ab3dec6567c 100644 --- a/service/finspace/snapshot/api_op_GetKxUser.go.snap +++ b/service/finspace/snapshot/api_op_GetKxUser.go.snap @@ -15,7 +15,6 @@ GetKxUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_GetKxVolume.go.snap b/service/finspace/snapshot/api_op_GetKxVolume.go.snap index 93d18646607..c1a7df7f123 100644 --- a/service/finspace/snapshot/api_op_GetKxVolume.go.snap +++ b/service/finspace/snapshot/api_op_GetKxVolume.go.snap @@ -15,7 +15,6 @@ GetKxVolume Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_ListEnvironments.go.snap b/service/finspace/snapshot/api_op_ListEnvironments.go.snap index c1fbb40f991..f6531aaead7 100644 --- a/service/finspace/snapshot/api_op_ListEnvironments.go.snap +++ b/service/finspace/snapshot/api_op_ListEnvironments.go.snap @@ -14,7 +14,6 @@ ListEnvironments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_ListKxChangesets.go.snap b/service/finspace/snapshot/api_op_ListKxChangesets.go.snap index aaed1918fb9..77c7b6e2647 100644 --- a/service/finspace/snapshot/api_op_ListKxChangesets.go.snap +++ b/service/finspace/snapshot/api_op_ListKxChangesets.go.snap @@ -15,7 +15,6 @@ ListKxChangesets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_ListKxClusterNodes.go.snap b/service/finspace/snapshot/api_op_ListKxClusterNodes.go.snap index 6542c006d27..e6b122dbe70 100644 --- a/service/finspace/snapshot/api_op_ListKxClusterNodes.go.snap +++ b/service/finspace/snapshot/api_op_ListKxClusterNodes.go.snap @@ -15,7 +15,6 @@ ListKxClusterNodes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_ListKxClusters.go.snap b/service/finspace/snapshot/api_op_ListKxClusters.go.snap index 228e49a4b01..9d08facfddb 100644 --- a/service/finspace/snapshot/api_op_ListKxClusters.go.snap +++ b/service/finspace/snapshot/api_op_ListKxClusters.go.snap @@ -15,7 +15,6 @@ ListKxClusters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_ListKxDatabases.go.snap b/service/finspace/snapshot/api_op_ListKxDatabases.go.snap index 344fde780dc..2734c829601 100644 --- a/service/finspace/snapshot/api_op_ListKxDatabases.go.snap +++ b/service/finspace/snapshot/api_op_ListKxDatabases.go.snap @@ -15,7 +15,6 @@ ListKxDatabases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_ListKxDataviews.go.snap b/service/finspace/snapshot/api_op_ListKxDataviews.go.snap index d67eb60dc31..f1a2ba82ae5 100644 --- a/service/finspace/snapshot/api_op_ListKxDataviews.go.snap +++ b/service/finspace/snapshot/api_op_ListKxDataviews.go.snap @@ -15,7 +15,6 @@ ListKxDataviews Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_ListKxEnvironments.go.snap b/service/finspace/snapshot/api_op_ListKxEnvironments.go.snap index d3bf7c858ba..239308a9b78 100644 --- a/service/finspace/snapshot/api_op_ListKxEnvironments.go.snap +++ b/service/finspace/snapshot/api_op_ListKxEnvironments.go.snap @@ -14,7 +14,6 @@ ListKxEnvironments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_ListKxScalingGroups.go.snap b/service/finspace/snapshot/api_op_ListKxScalingGroups.go.snap index c5444589224..0bee918fc4b 100644 --- a/service/finspace/snapshot/api_op_ListKxScalingGroups.go.snap +++ b/service/finspace/snapshot/api_op_ListKxScalingGroups.go.snap @@ -15,7 +15,6 @@ ListKxScalingGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_ListKxUsers.go.snap b/service/finspace/snapshot/api_op_ListKxUsers.go.snap index 64abdb5476a..445e3951796 100644 --- a/service/finspace/snapshot/api_op_ListKxUsers.go.snap +++ b/service/finspace/snapshot/api_op_ListKxUsers.go.snap @@ -15,7 +15,6 @@ ListKxUsers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_ListKxVolumes.go.snap b/service/finspace/snapshot/api_op_ListKxVolumes.go.snap index af506fdc2ac..c9eec81e1e4 100644 --- a/service/finspace/snapshot/api_op_ListKxVolumes.go.snap +++ b/service/finspace/snapshot/api_op_ListKxVolumes.go.snap @@ -15,7 +15,6 @@ ListKxVolumes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_ListTagsForResource.go.snap b/service/finspace/snapshot/api_op_ListTagsForResource.go.snap index b209a256759..8dca8bb928d 100644 --- a/service/finspace/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/finspace/snapshot/api_op_ListTagsForResource.go.snap @@ -15,7 +15,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_TagResource.go.snap b/service/finspace/snapshot/api_op_TagResource.go.snap index cf8bf77ceea..9b4b1dd115e 100644 --- a/service/finspace/snapshot/api_op_TagResource.go.snap +++ b/service/finspace/snapshot/api_op_TagResource.go.snap @@ -15,7 +15,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_UntagResource.go.snap b/service/finspace/snapshot/api_op_UntagResource.go.snap index de4afde3190..49bec7c277b 100644 --- a/service/finspace/snapshot/api_op_UntagResource.go.snap +++ b/service/finspace/snapshot/api_op_UntagResource.go.snap @@ -15,7 +15,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_UpdateEnvironment.go.snap b/service/finspace/snapshot/api_op_UpdateEnvironment.go.snap index e9901cc464e..89117c98b67 100644 --- a/service/finspace/snapshot/api_op_UpdateEnvironment.go.snap +++ b/service/finspace/snapshot/api_op_UpdateEnvironment.go.snap @@ -15,7 +15,6 @@ UpdateEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_UpdateKxClusterCodeConfiguration.go.snap b/service/finspace/snapshot/api_op_UpdateKxClusterCodeConfiguration.go.snap index 13879eda089..cdae3d6eeeb 100644 --- a/service/finspace/snapshot/api_op_UpdateKxClusterCodeConfiguration.go.snap +++ b/service/finspace/snapshot/api_op_UpdateKxClusterCodeConfiguration.go.snap @@ -16,7 +16,6 @@ UpdateKxClusterCodeConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_UpdateKxClusterDatabases.go.snap b/service/finspace/snapshot/api_op_UpdateKxClusterDatabases.go.snap index 12364b96433..3f5f4ec58ee 100644 --- a/service/finspace/snapshot/api_op_UpdateKxClusterDatabases.go.snap +++ b/service/finspace/snapshot/api_op_UpdateKxClusterDatabases.go.snap @@ -16,7 +16,6 @@ UpdateKxClusterDatabases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_UpdateKxDatabase.go.snap b/service/finspace/snapshot/api_op_UpdateKxDatabase.go.snap index c9294163ec9..47762086f07 100644 --- a/service/finspace/snapshot/api_op_UpdateKxDatabase.go.snap +++ b/service/finspace/snapshot/api_op_UpdateKxDatabase.go.snap @@ -16,7 +16,6 @@ UpdateKxDatabase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_UpdateKxDataview.go.snap b/service/finspace/snapshot/api_op_UpdateKxDataview.go.snap index 22e6b5da2e5..7bcdc77e190 100644 --- a/service/finspace/snapshot/api_op_UpdateKxDataview.go.snap +++ b/service/finspace/snapshot/api_op_UpdateKxDataview.go.snap @@ -16,7 +16,6 @@ UpdateKxDataview Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_UpdateKxEnvironment.go.snap b/service/finspace/snapshot/api_op_UpdateKxEnvironment.go.snap index 2b5bf51393e..ad119f10b89 100644 --- a/service/finspace/snapshot/api_op_UpdateKxEnvironment.go.snap +++ b/service/finspace/snapshot/api_op_UpdateKxEnvironment.go.snap @@ -16,7 +16,6 @@ UpdateKxEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_UpdateKxEnvironmentNetwork.go.snap b/service/finspace/snapshot/api_op_UpdateKxEnvironmentNetwork.go.snap index 313aa452c54..89e47bca57d 100644 --- a/service/finspace/snapshot/api_op_UpdateKxEnvironmentNetwork.go.snap +++ b/service/finspace/snapshot/api_op_UpdateKxEnvironmentNetwork.go.snap @@ -16,7 +16,6 @@ UpdateKxEnvironmentNetwork Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_UpdateKxUser.go.snap b/service/finspace/snapshot/api_op_UpdateKxUser.go.snap index d997acf0340..778474ccf45 100644 --- a/service/finspace/snapshot/api_op_UpdateKxUser.go.snap +++ b/service/finspace/snapshot/api_op_UpdateKxUser.go.snap @@ -16,7 +16,6 @@ UpdateKxUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspace/snapshot/api_op_UpdateKxVolume.go.snap b/service/finspace/snapshot/api_op_UpdateKxVolume.go.snap index 792b0106dd8..8b605fa6168 100644 --- a/service/finspace/snapshot/api_op_UpdateKxVolume.go.snap +++ b/service/finspace/snapshot/api_op_UpdateKxVolume.go.snap @@ -16,7 +16,6 @@ UpdateKxVolume Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspacedata/api_client.go b/service/finspacedata/api_client.go index e0a5c554751..bee70626e95 100644 --- a/service/finspacedata/api_client.go +++ b/service/finspacedata/api_client.go @@ -803,37 +803,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/finspacedata/api_op_AssociateUserToPermissionGroup.go b/service/finspacedata/api_op_AssociateUserToPermissionGroup.go index 0851406ccf7..7863b31eac1 100644 --- a/service/finspacedata/api_op_AssociateUserToPermissionGroup.go +++ b/service/finspacedata/api_op_AssociateUserToPermissionGroup.go @@ -125,9 +125,6 @@ func (c *Client) addOperationAssociateUserToPermissionGroupMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opAssociateUserToPermissionGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/finspacedata/api_op_CreateChangeset.go b/service/finspacedata/api_op_CreateChangeset.go index 4f1917ca72a..e8ce0d39203 100644 --- a/service/finspacedata/api_op_CreateChangeset.go +++ b/service/finspacedata/api_op_CreateChangeset.go @@ -192,9 +192,6 @@ func (c *Client) addOperationCreateChangesetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateChangesetMiddleware(stack, options); err != nil { return err } diff --git a/service/finspacedata/api_op_CreateDataView.go b/service/finspacedata/api_op_CreateDataView.go index 843f6f5cbab..8642864516d 100644 --- a/service/finspacedata/api_op_CreateDataView.go +++ b/service/finspacedata/api_op_CreateDataView.go @@ -144,9 +144,6 @@ func (c *Client) addOperationCreateDataViewMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDataViewMiddleware(stack, options); err != nil { return err } diff --git a/service/finspacedata/api_op_CreateDataset.go b/service/finspacedata/api_op_CreateDataset.go index db93db806a4..319f7431a66 100644 --- a/service/finspacedata/api_op_CreateDataset.go +++ b/service/finspacedata/api_op_CreateDataset.go @@ -148,9 +148,6 @@ func (c *Client) addOperationCreateDatasetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDatasetMiddleware(stack, options); err != nil { return err } diff --git a/service/finspacedata/api_op_CreatePermissionGroup.go b/service/finspacedata/api_op_CreatePermissionGroup.go index e3f565c5974..7b58dfe9d55 100644 --- a/service/finspacedata/api_op_CreatePermissionGroup.go +++ b/service/finspacedata/api_op_CreatePermissionGroup.go @@ -153,9 +153,6 @@ func (c *Client) addOperationCreatePermissionGroupMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreatePermissionGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/finspacedata/api_op_CreateUser.go b/service/finspacedata/api_op_CreateUser.go index b501a907012..269e1c2d7eb 100644 --- a/service/finspacedata/api_op_CreateUser.go +++ b/service/finspacedata/api_op_CreateUser.go @@ -154,9 +154,6 @@ func (c *Client) addOperationCreateUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateUserMiddleware(stack, options); err != nil { return err } diff --git a/service/finspacedata/api_op_DeleteDataset.go b/service/finspacedata/api_op_DeleteDataset.go index 84aaa056463..ce489990cdb 100644 --- a/service/finspacedata/api_op_DeleteDataset.go +++ b/service/finspacedata/api_op_DeleteDataset.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteDatasetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteDatasetMiddleware(stack, options); err != nil { return err } diff --git a/service/finspacedata/api_op_DeletePermissionGroup.go b/service/finspacedata/api_op_DeletePermissionGroup.go index 3fb10934b40..ee20e482709 100644 --- a/service/finspacedata/api_op_DeletePermissionGroup.go +++ b/service/finspacedata/api_op_DeletePermissionGroup.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeletePermissionGroupMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeletePermissionGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/finspacedata/api_op_DisableUser.go b/service/finspacedata/api_op_DisableUser.go index 759e2750962..f0e7a140e35 100644 --- a/service/finspacedata/api_op_DisableUser.go +++ b/service/finspacedata/api_op_DisableUser.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDisableUserMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDisableUserMiddleware(stack, options); err != nil { return err } diff --git a/service/finspacedata/api_op_DisassociateUserFromPermissionGroup.go b/service/finspacedata/api_op_DisassociateUserFromPermissionGroup.go index af11d569e86..0c0aec37642 100644 --- a/service/finspacedata/api_op_DisassociateUserFromPermissionGroup.go +++ b/service/finspacedata/api_op_DisassociateUserFromPermissionGroup.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDisassociateUserFromPermissionGroupMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDisassociateUserFromPermissionGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/finspacedata/api_op_EnableUser.go b/service/finspacedata/api_op_EnableUser.go index feab6662018..82c5a7dd752 100644 --- a/service/finspacedata/api_op_EnableUser.go +++ b/service/finspacedata/api_op_EnableUser.go @@ -119,9 +119,6 @@ func (c *Client) addOperationEnableUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opEnableUserMiddleware(stack, options); err != nil { return err } diff --git a/service/finspacedata/api_op_GetChangeset.go b/service/finspacedata/api_op_GetChangeset.go index e287b3bbb0c..d71fbf6868d 100644 --- a/service/finspacedata/api_op_GetChangeset.go +++ b/service/finspacedata/api_op_GetChangeset.go @@ -175,9 +175,6 @@ func (c *Client) addOperationGetChangesetMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetChangesetValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_GetDataView.go b/service/finspacedata/api_op_GetDataView.go index 67f369c57a4..8815cbc2742 100644 --- a/service/finspacedata/api_op_GetDataView.go +++ b/service/finspacedata/api_op_GetDataView.go @@ -181,9 +181,6 @@ func (c *Client) addOperationGetDataViewMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataViewValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_GetDataset.go b/service/finspacedata/api_op_GetDataset.go index d6602438de6..67138ecc1c3 100644 --- a/service/finspacedata/api_op_GetDataset.go +++ b/service/finspacedata/api_op_GetDataset.go @@ -162,9 +162,6 @@ func (c *Client) addOperationGetDatasetMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_GetExternalDataViewAccessDetails.go b/service/finspacedata/api_op_GetExternalDataViewAccessDetails.go index e3cc5577000..0178b9000e1 100644 --- a/service/finspacedata/api_op_GetExternalDataViewAccessDetails.go +++ b/service/finspacedata/api_op_GetExternalDataViewAccessDetails.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetExternalDataViewAccessDetailsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetExternalDataViewAccessDetailsValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_GetPermissionGroup.go b/service/finspacedata/api_op_GetPermissionGroup.go index 32b1e8cf6ee..99d39da8083 100644 --- a/service/finspacedata/api_op_GetPermissionGroup.go +++ b/service/finspacedata/api_op_GetPermissionGroup.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetPermissionGroupMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPermissionGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_GetProgrammaticAccessCredentials.go b/service/finspacedata/api_op_GetProgrammaticAccessCredentials.go index bf5a875d8e2..21458346ab9 100644 --- a/service/finspacedata/api_op_GetProgrammaticAccessCredentials.go +++ b/service/finspacedata/api_op_GetProgrammaticAccessCredentials.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetProgrammaticAccessCredentialsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetProgrammaticAccessCredentialsValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_GetUser.go b/service/finspacedata/api_op_GetUser.go index e4fe9a3c495..571d8f6c997 100644 --- a/service/finspacedata/api_op_GetUser.go +++ b/service/finspacedata/api_op_GetUser.go @@ -178,9 +178,6 @@ func (c *Client) addOperationGetUserMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_GetWorkingLocation.go b/service/finspacedata/api_op_GetWorkingLocation.go index 768e4056213..ccbb5190fb0 100644 --- a/service/finspacedata/api_op_GetWorkingLocation.go +++ b/service/finspacedata/api_op_GetWorkingLocation.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetWorkingLocationMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWorkingLocation(options.Region), middleware.Before); err != nil { return err } diff --git a/service/finspacedata/api_op_ListChangesets.go b/service/finspacedata/api_op_ListChangesets.go index 843e603f8cd..768d4947c16 100644 --- a/service/finspacedata/api_op_ListChangesets.go +++ b/service/finspacedata/api_op_ListChangesets.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListChangesetsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListChangesetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_ListDataViews.go b/service/finspacedata/api_op_ListDataViews.go index 54706709ddd..d743dc0bdcc 100644 --- a/service/finspacedata/api_op_ListDataViews.go +++ b/service/finspacedata/api_op_ListDataViews.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListDataViewsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDataViewsValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_ListDatasets.go b/service/finspacedata/api_op_ListDatasets.go index 0fa9c330aaf..b6e052fb8bc 100644 --- a/service/finspacedata/api_op_ListDatasets.go +++ b/service/finspacedata/api_op_ListDatasets.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListDatasetsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatasets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/finspacedata/api_op_ListPermissionGroups.go b/service/finspacedata/api_op_ListPermissionGroups.go index 0c97e1cea83..2cfff5cda10 100644 --- a/service/finspacedata/api_op_ListPermissionGroups.go +++ b/service/finspacedata/api_op_ListPermissionGroups.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListPermissionGroupsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPermissionGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_ListPermissionGroupsByUser.go b/service/finspacedata/api_op_ListPermissionGroupsByUser.go index 1c1e4c11bd8..d4fb47cb136 100644 --- a/service/finspacedata/api_op_ListPermissionGroupsByUser.go +++ b/service/finspacedata/api_op_ListPermissionGroupsByUser.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListPermissionGroupsByUserMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPermissionGroupsByUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_ListUsers.go b/service/finspacedata/api_op_ListUsers.go index c5d89f6f7d5..a5a3c97f336 100644 --- a/service/finspacedata/api_op_ListUsers.go +++ b/service/finspacedata/api_op_ListUsers.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListUsersMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListUsersValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_ListUsersByPermissionGroup.go b/service/finspacedata/api_op_ListUsersByPermissionGroup.go index 1905938439b..4b3eab7dd63 100644 --- a/service/finspacedata/api_op_ListUsersByPermissionGroup.go +++ b/service/finspacedata/api_op_ListUsersByPermissionGroup.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListUsersByPermissionGroupMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListUsersByPermissionGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/finspacedata/api_op_ResetUserPassword.go b/service/finspacedata/api_op_ResetUserPassword.go index 74a3068d786..fe1b4979fa6 100644 --- a/service/finspacedata/api_op_ResetUserPassword.go +++ b/service/finspacedata/api_op_ResetUserPassword.go @@ -125,9 +125,6 @@ func (c *Client) addOperationResetUserPasswordMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opResetUserPasswordMiddleware(stack, options); err != nil { return err } diff --git a/service/finspacedata/api_op_UpdateChangeset.go b/service/finspacedata/api_op_UpdateChangeset.go index 62c55b7cda4..fad9ea4f0b6 100644 --- a/service/finspacedata/api_op_UpdateChangeset.go +++ b/service/finspacedata/api_op_UpdateChangeset.go @@ -183,9 +183,6 @@ func (c *Client) addOperationUpdateChangesetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateChangesetMiddleware(stack, options); err != nil { return err } diff --git a/service/finspacedata/api_op_UpdateDataset.go b/service/finspacedata/api_op_UpdateDataset.go index b8e4cd42dcb..fbeab3858e0 100644 --- a/service/finspacedata/api_op_UpdateDataset.go +++ b/service/finspacedata/api_op_UpdateDataset.go @@ -145,9 +145,6 @@ func (c *Client) addOperationUpdateDatasetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateDatasetMiddleware(stack, options); err != nil { return err } diff --git a/service/finspacedata/api_op_UpdatePermissionGroup.go b/service/finspacedata/api_op_UpdatePermissionGroup.go index 6627fdd2962..c91c6fb0955 100644 --- a/service/finspacedata/api_op_UpdatePermissionGroup.go +++ b/service/finspacedata/api_op_UpdatePermissionGroup.go @@ -154,9 +154,6 @@ func (c *Client) addOperationUpdatePermissionGroupMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdatePermissionGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/finspacedata/api_op_UpdateUser.go b/service/finspacedata/api_op_UpdateUser.go index d60d52028ce..5c948c80eba 100644 --- a/service/finspacedata/api_op_UpdateUser.go +++ b/service/finspacedata/api_op_UpdateUser.go @@ -150,9 +150,6 @@ func (c *Client) addOperationUpdateUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateUserMiddleware(stack, options); err != nil { return err } diff --git a/service/finspacedata/snapshot/api_op_AssociateUserToPermissionGroup.go.snap b/service/finspacedata/snapshot/api_op_AssociateUserToPermissionGroup.go.snap index 5fc657a7ce9..e3b2708169a 100644 --- a/service/finspacedata/snapshot/api_op_AssociateUserToPermissionGroup.go.snap +++ b/service/finspacedata/snapshot/api_op_AssociateUserToPermissionGroup.go.snap @@ -16,7 +16,6 @@ AssociateUserToPermissionGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspacedata/snapshot/api_op_CreateChangeset.go.snap b/service/finspacedata/snapshot/api_op_CreateChangeset.go.snap index 32cac9d5ccd..2f90e51bf05 100644 --- a/service/finspacedata/snapshot/api_op_CreateChangeset.go.snap +++ b/service/finspacedata/snapshot/api_op_CreateChangeset.go.snap @@ -16,7 +16,6 @@ CreateChangeset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspacedata/snapshot/api_op_CreateDataView.go.snap b/service/finspacedata/snapshot/api_op_CreateDataView.go.snap index 1b979df2016..da79ea5a3cb 100644 --- a/service/finspacedata/snapshot/api_op_CreateDataView.go.snap +++ b/service/finspacedata/snapshot/api_op_CreateDataView.go.snap @@ -16,7 +16,6 @@ CreateDataView Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspacedata/snapshot/api_op_CreateDataset.go.snap b/service/finspacedata/snapshot/api_op_CreateDataset.go.snap index 88028030e01..dff8e002809 100644 --- a/service/finspacedata/snapshot/api_op_CreateDataset.go.snap +++ b/service/finspacedata/snapshot/api_op_CreateDataset.go.snap @@ -16,7 +16,6 @@ CreateDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspacedata/snapshot/api_op_CreatePermissionGroup.go.snap b/service/finspacedata/snapshot/api_op_CreatePermissionGroup.go.snap index c261d25627e..0b8d9e40dc7 100644 --- a/service/finspacedata/snapshot/api_op_CreatePermissionGroup.go.snap +++ b/service/finspacedata/snapshot/api_op_CreatePermissionGroup.go.snap @@ -16,7 +16,6 @@ CreatePermissionGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspacedata/snapshot/api_op_CreateUser.go.snap b/service/finspacedata/snapshot/api_op_CreateUser.go.snap index 794ee6c43d7..7a5d04c90ac 100644 --- a/service/finspacedata/snapshot/api_op_CreateUser.go.snap +++ b/service/finspacedata/snapshot/api_op_CreateUser.go.snap @@ -16,7 +16,6 @@ CreateUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspacedata/snapshot/api_op_DeleteDataset.go.snap b/service/finspacedata/snapshot/api_op_DeleteDataset.go.snap index db5b99398e2..b8eb7bfebda 100644 --- a/service/finspacedata/snapshot/api_op_DeleteDataset.go.snap +++ b/service/finspacedata/snapshot/api_op_DeleteDataset.go.snap @@ -16,7 +16,6 @@ DeleteDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspacedata/snapshot/api_op_DeletePermissionGroup.go.snap b/service/finspacedata/snapshot/api_op_DeletePermissionGroup.go.snap index 5fbae9d578d..df54f74fcba 100644 --- a/service/finspacedata/snapshot/api_op_DeletePermissionGroup.go.snap +++ b/service/finspacedata/snapshot/api_op_DeletePermissionGroup.go.snap @@ -16,7 +16,6 @@ DeletePermissionGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspacedata/snapshot/api_op_DisableUser.go.snap b/service/finspacedata/snapshot/api_op_DisableUser.go.snap index af01d90762f..66338ab711b 100644 --- a/service/finspacedata/snapshot/api_op_DisableUser.go.snap +++ b/service/finspacedata/snapshot/api_op_DisableUser.go.snap @@ -16,7 +16,6 @@ DisableUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspacedata/snapshot/api_op_DisassociateUserFromPermissionGroup.go.snap b/service/finspacedata/snapshot/api_op_DisassociateUserFromPermissionGroup.go.snap index 9bce09d9754..6747ac64b79 100644 --- a/service/finspacedata/snapshot/api_op_DisassociateUserFromPermissionGroup.go.snap +++ b/service/finspacedata/snapshot/api_op_DisassociateUserFromPermissionGroup.go.snap @@ -16,7 +16,6 @@ DisassociateUserFromPermissionGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspacedata/snapshot/api_op_EnableUser.go.snap b/service/finspacedata/snapshot/api_op_EnableUser.go.snap index c9d957f2054..7ecdd4c29c5 100644 --- a/service/finspacedata/snapshot/api_op_EnableUser.go.snap +++ b/service/finspacedata/snapshot/api_op_EnableUser.go.snap @@ -16,7 +16,6 @@ EnableUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspacedata/snapshot/api_op_GetChangeset.go.snap b/service/finspacedata/snapshot/api_op_GetChangeset.go.snap index 91b2a821a67..a592a031dd2 100644 --- a/service/finspacedata/snapshot/api_op_GetChangeset.go.snap +++ b/service/finspacedata/snapshot/api_op_GetChangeset.go.snap @@ -15,7 +15,6 @@ GetChangeset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspacedata/snapshot/api_op_GetDataView.go.snap b/service/finspacedata/snapshot/api_op_GetDataView.go.snap index d08256b7f11..9761deca775 100644 --- a/service/finspacedata/snapshot/api_op_GetDataView.go.snap +++ b/service/finspacedata/snapshot/api_op_GetDataView.go.snap @@ -15,7 +15,6 @@ GetDataView Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspacedata/snapshot/api_op_GetDataset.go.snap b/service/finspacedata/snapshot/api_op_GetDataset.go.snap index 0216d4284b9..b32623bc0d2 100644 --- a/service/finspacedata/snapshot/api_op_GetDataset.go.snap +++ b/service/finspacedata/snapshot/api_op_GetDataset.go.snap @@ -15,7 +15,6 @@ GetDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspacedata/snapshot/api_op_GetExternalDataViewAccessDetails.go.snap b/service/finspacedata/snapshot/api_op_GetExternalDataViewAccessDetails.go.snap index abd0870a2d8..c4e38c9e67c 100644 --- a/service/finspacedata/snapshot/api_op_GetExternalDataViewAccessDetails.go.snap +++ b/service/finspacedata/snapshot/api_op_GetExternalDataViewAccessDetails.go.snap @@ -15,7 +15,6 @@ GetExternalDataViewAccessDetails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspacedata/snapshot/api_op_GetPermissionGroup.go.snap b/service/finspacedata/snapshot/api_op_GetPermissionGroup.go.snap index 7a83469402a..573c50d0520 100644 --- a/service/finspacedata/snapshot/api_op_GetPermissionGroup.go.snap +++ b/service/finspacedata/snapshot/api_op_GetPermissionGroup.go.snap @@ -15,7 +15,6 @@ GetPermissionGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspacedata/snapshot/api_op_GetProgrammaticAccessCredentials.go.snap b/service/finspacedata/snapshot/api_op_GetProgrammaticAccessCredentials.go.snap index ced6ac28b71..6f8d7523b81 100644 --- a/service/finspacedata/snapshot/api_op_GetProgrammaticAccessCredentials.go.snap +++ b/service/finspacedata/snapshot/api_op_GetProgrammaticAccessCredentials.go.snap @@ -15,7 +15,6 @@ GetProgrammaticAccessCredentials Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspacedata/snapshot/api_op_GetUser.go.snap b/service/finspacedata/snapshot/api_op_GetUser.go.snap index 9e21e6274fe..9df70d97dd5 100644 --- a/service/finspacedata/snapshot/api_op_GetUser.go.snap +++ b/service/finspacedata/snapshot/api_op_GetUser.go.snap @@ -15,7 +15,6 @@ GetUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspacedata/snapshot/api_op_GetWorkingLocation.go.snap b/service/finspacedata/snapshot/api_op_GetWorkingLocation.go.snap index 3a20958e115..0d574a1604f 100644 --- a/service/finspacedata/snapshot/api_op_GetWorkingLocation.go.snap +++ b/service/finspacedata/snapshot/api_op_GetWorkingLocation.go.snap @@ -14,7 +14,6 @@ GetWorkingLocation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspacedata/snapshot/api_op_ListChangesets.go.snap b/service/finspacedata/snapshot/api_op_ListChangesets.go.snap index fe43887c30e..205f087bd2a 100644 --- a/service/finspacedata/snapshot/api_op_ListChangesets.go.snap +++ b/service/finspacedata/snapshot/api_op_ListChangesets.go.snap @@ -15,7 +15,6 @@ ListChangesets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspacedata/snapshot/api_op_ListDataViews.go.snap b/service/finspacedata/snapshot/api_op_ListDataViews.go.snap index d97093d1274..08298193ca3 100644 --- a/service/finspacedata/snapshot/api_op_ListDataViews.go.snap +++ b/service/finspacedata/snapshot/api_op_ListDataViews.go.snap @@ -15,7 +15,6 @@ ListDataViews Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspacedata/snapshot/api_op_ListDatasets.go.snap b/service/finspacedata/snapshot/api_op_ListDatasets.go.snap index dca4e5093d7..f1963cd8405 100644 --- a/service/finspacedata/snapshot/api_op_ListDatasets.go.snap +++ b/service/finspacedata/snapshot/api_op_ListDatasets.go.snap @@ -14,7 +14,6 @@ ListDatasets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspacedata/snapshot/api_op_ListPermissionGroups.go.snap b/service/finspacedata/snapshot/api_op_ListPermissionGroups.go.snap index 5ea56cb9c66..69ef33ca193 100644 --- a/service/finspacedata/snapshot/api_op_ListPermissionGroups.go.snap +++ b/service/finspacedata/snapshot/api_op_ListPermissionGroups.go.snap @@ -15,7 +15,6 @@ ListPermissionGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspacedata/snapshot/api_op_ListPermissionGroupsByUser.go.snap b/service/finspacedata/snapshot/api_op_ListPermissionGroupsByUser.go.snap index ec29ad64bc4..7c16b301789 100644 --- a/service/finspacedata/snapshot/api_op_ListPermissionGroupsByUser.go.snap +++ b/service/finspacedata/snapshot/api_op_ListPermissionGroupsByUser.go.snap @@ -15,7 +15,6 @@ ListPermissionGroupsByUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspacedata/snapshot/api_op_ListUsers.go.snap b/service/finspacedata/snapshot/api_op_ListUsers.go.snap index 11c3ee1dddc..5ecbf076555 100644 --- a/service/finspacedata/snapshot/api_op_ListUsers.go.snap +++ b/service/finspacedata/snapshot/api_op_ListUsers.go.snap @@ -15,7 +15,6 @@ ListUsers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspacedata/snapshot/api_op_ListUsersByPermissionGroup.go.snap b/service/finspacedata/snapshot/api_op_ListUsersByPermissionGroup.go.snap index 29eb061d545..c99451f0c54 100644 --- a/service/finspacedata/snapshot/api_op_ListUsersByPermissionGroup.go.snap +++ b/service/finspacedata/snapshot/api_op_ListUsersByPermissionGroup.go.snap @@ -15,7 +15,6 @@ ListUsersByPermissionGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspacedata/snapshot/api_op_ResetUserPassword.go.snap b/service/finspacedata/snapshot/api_op_ResetUserPassword.go.snap index dee0622aab0..86b0b2a7c76 100644 --- a/service/finspacedata/snapshot/api_op_ResetUserPassword.go.snap +++ b/service/finspacedata/snapshot/api_op_ResetUserPassword.go.snap @@ -16,7 +16,6 @@ ResetUserPassword Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspacedata/snapshot/api_op_UpdateChangeset.go.snap b/service/finspacedata/snapshot/api_op_UpdateChangeset.go.snap index 5e558a3e696..9ddbc397f0d 100644 --- a/service/finspacedata/snapshot/api_op_UpdateChangeset.go.snap +++ b/service/finspacedata/snapshot/api_op_UpdateChangeset.go.snap @@ -16,7 +16,6 @@ UpdateChangeset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspacedata/snapshot/api_op_UpdateDataset.go.snap b/service/finspacedata/snapshot/api_op_UpdateDataset.go.snap index dec86e81f0e..de644762d22 100644 --- a/service/finspacedata/snapshot/api_op_UpdateDataset.go.snap +++ b/service/finspacedata/snapshot/api_op_UpdateDataset.go.snap @@ -16,7 +16,6 @@ UpdateDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspacedata/snapshot/api_op_UpdatePermissionGroup.go.snap b/service/finspacedata/snapshot/api_op_UpdatePermissionGroup.go.snap index f3f80b39e55..4d014942a59 100644 --- a/service/finspacedata/snapshot/api_op_UpdatePermissionGroup.go.snap +++ b/service/finspacedata/snapshot/api_op_UpdatePermissionGroup.go.snap @@ -16,7 +16,6 @@ UpdatePermissionGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/finspacedata/snapshot/api_op_UpdateUser.go.snap b/service/finspacedata/snapshot/api_op_UpdateUser.go.snap index 238b77cb9c1..9c21602dc92 100644 --- a/service/finspacedata/snapshot/api_op_UpdateUser.go.snap +++ b/service/finspacedata/snapshot/api_op_UpdateUser.go.snap @@ -16,7 +16,6 @@ UpdateUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/firehose/api_client.go b/service/firehose/api_client.go index 8153790d82f..6d96d4e0fac 100644 --- a/service/firehose/api_client.go +++ b/service/firehose/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/firehose/api_op_CreateDeliveryStream.go b/service/firehose/api_op_CreateDeliveryStream.go index 9ff50bee3ce..98593891266 100644 --- a/service/firehose/api_op_CreateDeliveryStream.go +++ b/service/firehose/api_op_CreateDeliveryStream.go @@ -277,9 +277,6 @@ func (c *Client) addOperationCreateDeliveryStreamMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDeliveryStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/firehose/api_op_DeleteDeliveryStream.go b/service/firehose/api_op_DeleteDeliveryStream.go index 4c7ed62cfc5..2337145607d 100644 --- a/service/firehose/api_op_DeleteDeliveryStream.go +++ b/service/firehose/api_op_DeleteDeliveryStream.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDeleteDeliveryStreamMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDeliveryStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/firehose/api_op_DescribeDeliveryStream.go b/service/firehose/api_op_DescribeDeliveryStream.go index fdbe49b643b..3e6953c5bed 100644 --- a/service/firehose/api_op_DescribeDeliveryStream.go +++ b/service/firehose/api_op_DescribeDeliveryStream.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeDeliveryStreamMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDeliveryStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/firehose/api_op_ListDeliveryStreams.go b/service/firehose/api_op_ListDeliveryStreams.go index 60e7756f843..4b59f44ecfb 100644 --- a/service/firehose/api_op_ListDeliveryStreams.go +++ b/service/firehose/api_op_ListDeliveryStreams.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListDeliveryStreamsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeliveryStreams(options.Region), middleware.Before); err != nil { return err } diff --git a/service/firehose/api_op_ListTagsForDeliveryStream.go b/service/firehose/api_op_ListTagsForDeliveryStream.go index c68dbafd720..f1c7c7b4d26 100644 --- a/service/firehose/api_op_ListTagsForDeliveryStream.go +++ b/service/firehose/api_op_ListTagsForDeliveryStream.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListTagsForDeliveryStreamMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForDeliveryStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/firehose/api_op_PutRecord.go b/service/firehose/api_op_PutRecord.go index f6f0143a028..187ada829ff 100644 --- a/service/firehose/api_op_PutRecord.go +++ b/service/firehose/api_op_PutRecord.go @@ -175,9 +175,6 @@ func (c *Client) addOperationPutRecordMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutRecordValidationMiddleware(stack); err != nil { return err } diff --git a/service/firehose/api_op_PutRecordBatch.go b/service/firehose/api_op_PutRecordBatch.go index b8593c2f14d..c97c275f134 100644 --- a/service/firehose/api_op_PutRecordBatch.go +++ b/service/firehose/api_op_PutRecordBatch.go @@ -206,9 +206,6 @@ func (c *Client) addOperationPutRecordBatchMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutRecordBatchValidationMiddleware(stack); err != nil { return err } diff --git a/service/firehose/api_op_StartDeliveryStreamEncryption.go b/service/firehose/api_op_StartDeliveryStreamEncryption.go index 37adad96c40..479f00d40db 100644 --- a/service/firehose/api_op_StartDeliveryStreamEncryption.go +++ b/service/firehose/api_op_StartDeliveryStreamEncryption.go @@ -156,9 +156,6 @@ func (c *Client) addOperationStartDeliveryStreamEncryptionMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartDeliveryStreamEncryptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/firehose/api_op_StopDeliveryStreamEncryption.go b/service/firehose/api_op_StopDeliveryStreamEncryption.go index 6f7ecaf634f..7a8b3d37ae8 100644 --- a/service/firehose/api_op_StopDeliveryStreamEncryption.go +++ b/service/firehose/api_op_StopDeliveryStreamEncryption.go @@ -129,9 +129,6 @@ func (c *Client) addOperationStopDeliveryStreamEncryptionMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopDeliveryStreamEncryptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/firehose/api_op_TagDeliveryStream.go b/service/firehose/api_op_TagDeliveryStream.go index d5c002c1250..281396a7022 100644 --- a/service/firehose/api_op_TagDeliveryStream.go +++ b/service/firehose/api_op_TagDeliveryStream.go @@ -125,9 +125,6 @@ func (c *Client) addOperationTagDeliveryStreamMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagDeliveryStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/firehose/api_op_UntagDeliveryStream.go b/service/firehose/api_op_UntagDeliveryStream.go index 8fcc550810b..78246d2642b 100644 --- a/service/firehose/api_op_UntagDeliveryStream.go +++ b/service/firehose/api_op_UntagDeliveryStream.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUntagDeliveryStreamMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagDeliveryStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/firehose/api_op_UpdateDestination.go b/service/firehose/api_op_UpdateDestination.go index e3ddfb76439..89e10f09b26 100644 --- a/service/firehose/api_op_UpdateDestination.go +++ b/service/firehose/api_op_UpdateDestination.go @@ -185,9 +185,6 @@ func (c *Client) addOperationUpdateDestinationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/firehose/snapshot/api_op_CreateDeliveryStream.go.snap b/service/firehose/snapshot/api_op_CreateDeliveryStream.go.snap index 0afb13d19e2..b70f6d4d906 100644 --- a/service/firehose/snapshot/api_op_CreateDeliveryStream.go.snap +++ b/service/firehose/snapshot/api_op_CreateDeliveryStream.go.snap @@ -14,7 +14,6 @@ CreateDeliveryStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/firehose/snapshot/api_op_DeleteDeliveryStream.go.snap b/service/firehose/snapshot/api_op_DeleteDeliveryStream.go.snap index 22be53d2d97..10802cc61b3 100644 --- a/service/firehose/snapshot/api_op_DeleteDeliveryStream.go.snap +++ b/service/firehose/snapshot/api_op_DeleteDeliveryStream.go.snap @@ -14,7 +14,6 @@ DeleteDeliveryStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/firehose/snapshot/api_op_DescribeDeliveryStream.go.snap b/service/firehose/snapshot/api_op_DescribeDeliveryStream.go.snap index 43e1d7a2943..347aa741110 100644 --- a/service/firehose/snapshot/api_op_DescribeDeliveryStream.go.snap +++ b/service/firehose/snapshot/api_op_DescribeDeliveryStream.go.snap @@ -14,7 +14,6 @@ DescribeDeliveryStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/firehose/snapshot/api_op_ListDeliveryStreams.go.snap b/service/firehose/snapshot/api_op_ListDeliveryStreams.go.snap index 3c8ffb12bad..59ea3f6cdc2 100644 --- a/service/firehose/snapshot/api_op_ListDeliveryStreams.go.snap +++ b/service/firehose/snapshot/api_op_ListDeliveryStreams.go.snap @@ -13,7 +13,6 @@ ListDeliveryStreams Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/firehose/snapshot/api_op_ListTagsForDeliveryStream.go.snap b/service/firehose/snapshot/api_op_ListTagsForDeliveryStream.go.snap index 984bc341bcf..bde309f69c0 100644 --- a/service/firehose/snapshot/api_op_ListTagsForDeliveryStream.go.snap +++ b/service/firehose/snapshot/api_op_ListTagsForDeliveryStream.go.snap @@ -14,7 +14,6 @@ ListTagsForDeliveryStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/firehose/snapshot/api_op_PutRecord.go.snap b/service/firehose/snapshot/api_op_PutRecord.go.snap index b6fcd7250fe..19b644c5e4a 100644 --- a/service/firehose/snapshot/api_op_PutRecord.go.snap +++ b/service/firehose/snapshot/api_op_PutRecord.go.snap @@ -14,7 +14,6 @@ PutRecord Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/firehose/snapshot/api_op_PutRecordBatch.go.snap b/service/firehose/snapshot/api_op_PutRecordBatch.go.snap index 1316d3f7a05..a74de8f2cd9 100644 --- a/service/firehose/snapshot/api_op_PutRecordBatch.go.snap +++ b/service/firehose/snapshot/api_op_PutRecordBatch.go.snap @@ -14,7 +14,6 @@ PutRecordBatch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/firehose/snapshot/api_op_StartDeliveryStreamEncryption.go.snap b/service/firehose/snapshot/api_op_StartDeliveryStreamEncryption.go.snap index bb74ceb6382..40c47330834 100644 --- a/service/firehose/snapshot/api_op_StartDeliveryStreamEncryption.go.snap +++ b/service/firehose/snapshot/api_op_StartDeliveryStreamEncryption.go.snap @@ -14,7 +14,6 @@ StartDeliveryStreamEncryption Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/firehose/snapshot/api_op_StopDeliveryStreamEncryption.go.snap b/service/firehose/snapshot/api_op_StopDeliveryStreamEncryption.go.snap index 5e24c406202..57045c7beb9 100644 --- a/service/firehose/snapshot/api_op_StopDeliveryStreamEncryption.go.snap +++ b/service/firehose/snapshot/api_op_StopDeliveryStreamEncryption.go.snap @@ -14,7 +14,6 @@ StopDeliveryStreamEncryption Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/firehose/snapshot/api_op_TagDeliveryStream.go.snap b/service/firehose/snapshot/api_op_TagDeliveryStream.go.snap index a44e607df2b..509fd9ce0d6 100644 --- a/service/firehose/snapshot/api_op_TagDeliveryStream.go.snap +++ b/service/firehose/snapshot/api_op_TagDeliveryStream.go.snap @@ -14,7 +14,6 @@ TagDeliveryStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/firehose/snapshot/api_op_UntagDeliveryStream.go.snap b/service/firehose/snapshot/api_op_UntagDeliveryStream.go.snap index 3e821a32695..44bc9d1c420 100644 --- a/service/firehose/snapshot/api_op_UntagDeliveryStream.go.snap +++ b/service/firehose/snapshot/api_op_UntagDeliveryStream.go.snap @@ -14,7 +14,6 @@ UntagDeliveryStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/firehose/snapshot/api_op_UpdateDestination.go.snap b/service/firehose/snapshot/api_op_UpdateDestination.go.snap index 0ecc48083a7..e3709a8d9cc 100644 --- a/service/firehose/snapshot/api_op_UpdateDestination.go.snap +++ b/service/firehose/snapshot/api_op_UpdateDestination.go.snap @@ -14,7 +14,6 @@ UpdateDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fis/api_client.go b/service/fis/api_client.go index efe03764bf0..f94e6d1e2b4 100644 --- a/service/fis/api_client.go +++ b/service/fis/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/fis/api_op_CreateExperimentTemplate.go b/service/fis/api_op_CreateExperimentTemplate.go index 393f5109c58..442178c592c 100644 --- a/service/fis/api_op_CreateExperimentTemplate.go +++ b/service/fis/api_op_CreateExperimentTemplate.go @@ -167,9 +167,6 @@ func (c *Client) addOperationCreateExperimentTemplateMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateExperimentTemplateMiddleware(stack, options); err != nil { return err } diff --git a/service/fis/api_op_CreateTargetAccountConfiguration.go b/service/fis/api_op_CreateTargetAccountConfiguration.go index f96141cf4bc..7ad39bdf6a0 100644 --- a/service/fis/api_op_CreateTargetAccountConfiguration.go +++ b/service/fis/api_op_CreateTargetAccountConfiguration.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCreateTargetAccountConfigurationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateTargetAccountConfigurationMiddleware(stack, options); err != nil { return err } diff --git a/service/fis/api_op_DeleteExperimentTemplate.go b/service/fis/api_op_DeleteExperimentTemplate.go index 6c9e38c9a62..7c8b8096ef6 100644 --- a/service/fis/api_op_DeleteExperimentTemplate.go +++ b/service/fis/api_op_DeleteExperimentTemplate.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteExperimentTemplateMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteExperimentTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_DeleteTargetAccountConfiguration.go b/service/fis/api_op_DeleteTargetAccountConfiguration.go index a6e4b760a94..b04a8a045e5 100644 --- a/service/fis/api_op_DeleteTargetAccountConfiguration.go +++ b/service/fis/api_op_DeleteTargetAccountConfiguration.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteTargetAccountConfigurationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTargetAccountConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_GetAction.go b/service/fis/api_op_GetAction.go index 05a98768182..30f1231aead 100644 --- a/service/fis/api_op_GetAction.go +++ b/service/fis/api_op_GetAction.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetActionMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_GetExperiment.go b/service/fis/api_op_GetExperiment.go index 00165c1ccb1..06f2faa3f41 100644 --- a/service/fis/api_op_GetExperiment.go +++ b/service/fis/api_op_GetExperiment.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetExperimentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetExperimentValidationMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_GetExperimentTargetAccountConfiguration.go b/service/fis/api_op_GetExperimentTargetAccountConfiguration.go index 784ca9de2a6..fab6e7a059c 100644 --- a/service/fis/api_op_GetExperimentTargetAccountConfiguration.go +++ b/service/fis/api_op_GetExperimentTargetAccountConfiguration.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetExperimentTargetAccountConfigurationMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetExperimentTargetAccountConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_GetExperimentTemplate.go b/service/fis/api_op_GetExperimentTemplate.go index 51639d3cb28..747878bddb2 100644 --- a/service/fis/api_op_GetExperimentTemplate.go +++ b/service/fis/api_op_GetExperimentTemplate.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetExperimentTemplateMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetExperimentTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_GetSafetyLever.go b/service/fis/api_op_GetSafetyLever.go index d3a02cdf189..28de1da40a1 100644 --- a/service/fis/api_op_GetSafetyLever.go +++ b/service/fis/api_op_GetSafetyLever.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetSafetyLeverMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSafetyLeverValidationMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_GetTargetAccountConfiguration.go b/service/fis/api_op_GetTargetAccountConfiguration.go index a18d2d6d65a..56337aab4b2 100644 --- a/service/fis/api_op_GetTargetAccountConfiguration.go +++ b/service/fis/api_op_GetTargetAccountConfiguration.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetTargetAccountConfigurationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTargetAccountConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_GetTargetResourceType.go b/service/fis/api_op_GetTargetResourceType.go index bf5511d1288..aa138cc71bc 100644 --- a/service/fis/api_op_GetTargetResourceType.go +++ b/service/fis/api_op_GetTargetResourceType.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetTargetResourceTypeMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTargetResourceTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_ListActions.go b/service/fis/api_op_ListActions.go index af957a62914..284e4cc9dd5 100644 --- a/service/fis/api_op_ListActions.go +++ b/service/fis/api_op_ListActions.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListActionsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListActions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/fis/api_op_ListExperimentResolvedTargets.go b/service/fis/api_op_ListExperimentResolvedTargets.go index 9a2a3940ecc..c23dd651b7e 100644 --- a/service/fis/api_op_ListExperimentResolvedTargets.go +++ b/service/fis/api_op_ListExperimentResolvedTargets.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListExperimentResolvedTargetsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListExperimentResolvedTargetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_ListExperimentTargetAccountConfigurations.go b/service/fis/api_op_ListExperimentTargetAccountConfigurations.go index b44ebad1d75..e0fa06c7884 100644 --- a/service/fis/api_op_ListExperimentTargetAccountConfigurations.go +++ b/service/fis/api_op_ListExperimentTargetAccountConfigurations.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListExperimentTargetAccountConfigurationsMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListExperimentTargetAccountConfigurationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_ListExperimentTemplates.go b/service/fis/api_op_ListExperimentTemplates.go index 29ac05ccbc1..853ead9c549 100644 --- a/service/fis/api_op_ListExperimentTemplates.go +++ b/service/fis/api_op_ListExperimentTemplates.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListExperimentTemplatesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExperimentTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/fis/api_op_ListExperiments.go b/service/fis/api_op_ListExperiments.go index 3d683cffffb..5dde0c0f94d 100644 --- a/service/fis/api_op_ListExperiments.go +++ b/service/fis/api_op_ListExperiments.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListExperimentsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExperiments(options.Region), middleware.Before); err != nil { return err } diff --git a/service/fis/api_op_ListTagsForResource.go b/service/fis/api_op_ListTagsForResource.go index 978877b6fcf..a8c5d333a7a 100644 --- a/service/fis/api_op_ListTagsForResource.go +++ b/service/fis/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_ListTargetAccountConfigurations.go b/service/fis/api_op_ListTargetAccountConfigurations.go index 8ebd662bec8..c281227cf30 100644 --- a/service/fis/api_op_ListTargetAccountConfigurations.go +++ b/service/fis/api_op_ListTargetAccountConfigurations.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListTargetAccountConfigurationsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTargetAccountConfigurationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_ListTargetResourceTypes.go b/service/fis/api_op_ListTargetResourceTypes.go index eebc8137430..0eee000be84 100644 --- a/service/fis/api_op_ListTargetResourceTypes.go +++ b/service/fis/api_op_ListTargetResourceTypes.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListTargetResourceTypesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTargetResourceTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/fis/api_op_StartExperiment.go b/service/fis/api_op_StartExperiment.go index e4d4499cefe..4c2515caf6b 100644 --- a/service/fis/api_op_StartExperiment.go +++ b/service/fis/api_op_StartExperiment.go @@ -124,9 +124,6 @@ func (c *Client) addOperationStartExperimentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartExperimentMiddleware(stack, options); err != nil { return err } diff --git a/service/fis/api_op_StopExperiment.go b/service/fis/api_op_StopExperiment.go index 064fbae4173..ab8e8d0917c 100644 --- a/service/fis/api_op_StopExperiment.go +++ b/service/fis/api_op_StopExperiment.go @@ -112,9 +112,6 @@ func (c *Client) addOperationStopExperimentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopExperimentValidationMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_TagResource.go b/service/fis/api_op_TagResource.go index 08f624f12f3..64123b59d8b 100644 --- a/service/fis/api_op_TagResource.go +++ b/service/fis/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_UntagResource.go b/service/fis/api_op_UntagResource.go index 66bf05c893a..d3197f69d82 100644 --- a/service/fis/api_op_UntagResource.go +++ b/service/fis/api_op_UntagResource.go @@ -110,9 +110,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_UpdateExperimentTemplate.go b/service/fis/api_op_UpdateExperimentTemplate.go index 30bf0b752e3..88cd78a2064 100644 --- a/service/fis/api_op_UpdateExperimentTemplate.go +++ b/service/fis/api_op_UpdateExperimentTemplate.go @@ -137,9 +137,6 @@ func (c *Client) addOperationUpdateExperimentTemplateMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateExperimentTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_UpdateSafetyLeverState.go b/service/fis/api_op_UpdateSafetyLeverState.go index 67f5217b700..6162d986e9c 100644 --- a/service/fis/api_op_UpdateSafetyLeverState.go +++ b/service/fis/api_op_UpdateSafetyLeverState.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUpdateSafetyLeverStateMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSafetyLeverStateValidationMiddleware(stack); err != nil { return err } diff --git a/service/fis/api_op_UpdateTargetAccountConfiguration.go b/service/fis/api_op_UpdateTargetAccountConfiguration.go index 54e1af3197f..724d9bf5765 100644 --- a/service/fis/api_op_UpdateTargetAccountConfiguration.go +++ b/service/fis/api_op_UpdateTargetAccountConfiguration.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateTargetAccountConfigurationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTargetAccountConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/fis/snapshot/api_op_CreateExperimentTemplate.go.snap b/service/fis/snapshot/api_op_CreateExperimentTemplate.go.snap index f3dba74f882..13f40bdf653 100644 --- a/service/fis/snapshot/api_op_CreateExperimentTemplate.go.snap +++ b/service/fis/snapshot/api_op_CreateExperimentTemplate.go.snap @@ -15,7 +15,6 @@ CreateExperimentTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fis/snapshot/api_op_CreateTargetAccountConfiguration.go.snap b/service/fis/snapshot/api_op_CreateTargetAccountConfiguration.go.snap index 6e5cbe3ce69..97f307d2800 100644 --- a/service/fis/snapshot/api_op_CreateTargetAccountConfiguration.go.snap +++ b/service/fis/snapshot/api_op_CreateTargetAccountConfiguration.go.snap @@ -15,7 +15,6 @@ CreateTargetAccountConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fis/snapshot/api_op_DeleteExperimentTemplate.go.snap b/service/fis/snapshot/api_op_DeleteExperimentTemplate.go.snap index 14f73245f14..514cd86a397 100644 --- a/service/fis/snapshot/api_op_DeleteExperimentTemplate.go.snap +++ b/service/fis/snapshot/api_op_DeleteExperimentTemplate.go.snap @@ -14,7 +14,6 @@ DeleteExperimentTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fis/snapshot/api_op_DeleteTargetAccountConfiguration.go.snap b/service/fis/snapshot/api_op_DeleteTargetAccountConfiguration.go.snap index 643b16a96c3..340c57f9999 100644 --- a/service/fis/snapshot/api_op_DeleteTargetAccountConfiguration.go.snap +++ b/service/fis/snapshot/api_op_DeleteTargetAccountConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteTargetAccountConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fis/snapshot/api_op_GetAction.go.snap b/service/fis/snapshot/api_op_GetAction.go.snap index 03d92fa4e2c..9901af957be 100644 --- a/service/fis/snapshot/api_op_GetAction.go.snap +++ b/service/fis/snapshot/api_op_GetAction.go.snap @@ -14,7 +14,6 @@ GetAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fis/snapshot/api_op_GetExperiment.go.snap b/service/fis/snapshot/api_op_GetExperiment.go.snap index 5f58853afa3..e2124aa8e9a 100644 --- a/service/fis/snapshot/api_op_GetExperiment.go.snap +++ b/service/fis/snapshot/api_op_GetExperiment.go.snap @@ -14,7 +14,6 @@ GetExperiment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fis/snapshot/api_op_GetExperimentTargetAccountConfiguration.go.snap b/service/fis/snapshot/api_op_GetExperimentTargetAccountConfiguration.go.snap index abbd3a1f416..cc6cebd8f09 100644 --- a/service/fis/snapshot/api_op_GetExperimentTargetAccountConfiguration.go.snap +++ b/service/fis/snapshot/api_op_GetExperimentTargetAccountConfiguration.go.snap @@ -14,7 +14,6 @@ GetExperimentTargetAccountConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fis/snapshot/api_op_GetExperimentTemplate.go.snap b/service/fis/snapshot/api_op_GetExperimentTemplate.go.snap index a02dfd76bf9..dbb8c967fd0 100644 --- a/service/fis/snapshot/api_op_GetExperimentTemplate.go.snap +++ b/service/fis/snapshot/api_op_GetExperimentTemplate.go.snap @@ -14,7 +14,6 @@ GetExperimentTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fis/snapshot/api_op_GetSafetyLever.go.snap b/service/fis/snapshot/api_op_GetSafetyLever.go.snap index f3d87b68957..cbdff74910c 100644 --- a/service/fis/snapshot/api_op_GetSafetyLever.go.snap +++ b/service/fis/snapshot/api_op_GetSafetyLever.go.snap @@ -14,7 +14,6 @@ GetSafetyLever Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fis/snapshot/api_op_GetTargetAccountConfiguration.go.snap b/service/fis/snapshot/api_op_GetTargetAccountConfiguration.go.snap index 8c922484b54..e008d25b5b3 100644 --- a/service/fis/snapshot/api_op_GetTargetAccountConfiguration.go.snap +++ b/service/fis/snapshot/api_op_GetTargetAccountConfiguration.go.snap @@ -14,7 +14,6 @@ GetTargetAccountConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fis/snapshot/api_op_GetTargetResourceType.go.snap b/service/fis/snapshot/api_op_GetTargetResourceType.go.snap index 5b72f4e003b..ba857fd6514 100644 --- a/service/fis/snapshot/api_op_GetTargetResourceType.go.snap +++ b/service/fis/snapshot/api_op_GetTargetResourceType.go.snap @@ -14,7 +14,6 @@ GetTargetResourceType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fis/snapshot/api_op_ListActions.go.snap b/service/fis/snapshot/api_op_ListActions.go.snap index b00cb643b80..e3055a0910a 100644 --- a/service/fis/snapshot/api_op_ListActions.go.snap +++ b/service/fis/snapshot/api_op_ListActions.go.snap @@ -13,7 +13,6 @@ ListActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fis/snapshot/api_op_ListExperimentResolvedTargets.go.snap b/service/fis/snapshot/api_op_ListExperimentResolvedTargets.go.snap index 492d7bf77e7..d9cfbe18f3a 100644 --- a/service/fis/snapshot/api_op_ListExperimentResolvedTargets.go.snap +++ b/service/fis/snapshot/api_op_ListExperimentResolvedTargets.go.snap @@ -14,7 +14,6 @@ ListExperimentResolvedTargets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fis/snapshot/api_op_ListExperimentTargetAccountConfigurations.go.snap b/service/fis/snapshot/api_op_ListExperimentTargetAccountConfigurations.go.snap index 582d41368da..593e688e9a1 100644 --- a/service/fis/snapshot/api_op_ListExperimentTargetAccountConfigurations.go.snap +++ b/service/fis/snapshot/api_op_ListExperimentTargetAccountConfigurations.go.snap @@ -14,7 +14,6 @@ ListExperimentTargetAccountConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fis/snapshot/api_op_ListExperimentTemplates.go.snap b/service/fis/snapshot/api_op_ListExperimentTemplates.go.snap index 492a2c258db..6e63d168335 100644 --- a/service/fis/snapshot/api_op_ListExperimentTemplates.go.snap +++ b/service/fis/snapshot/api_op_ListExperimentTemplates.go.snap @@ -13,7 +13,6 @@ ListExperimentTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fis/snapshot/api_op_ListExperiments.go.snap b/service/fis/snapshot/api_op_ListExperiments.go.snap index cf5354f07da..c09062e3643 100644 --- a/service/fis/snapshot/api_op_ListExperiments.go.snap +++ b/service/fis/snapshot/api_op_ListExperiments.go.snap @@ -13,7 +13,6 @@ ListExperiments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fis/snapshot/api_op_ListTagsForResource.go.snap b/service/fis/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/fis/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/fis/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fis/snapshot/api_op_ListTargetAccountConfigurations.go.snap b/service/fis/snapshot/api_op_ListTargetAccountConfigurations.go.snap index 68f714feb10..6c1cf592587 100644 --- a/service/fis/snapshot/api_op_ListTargetAccountConfigurations.go.snap +++ b/service/fis/snapshot/api_op_ListTargetAccountConfigurations.go.snap @@ -14,7 +14,6 @@ ListTargetAccountConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fis/snapshot/api_op_ListTargetResourceTypes.go.snap b/service/fis/snapshot/api_op_ListTargetResourceTypes.go.snap index 877544847f9..ac22661ad10 100644 --- a/service/fis/snapshot/api_op_ListTargetResourceTypes.go.snap +++ b/service/fis/snapshot/api_op_ListTargetResourceTypes.go.snap @@ -13,7 +13,6 @@ ListTargetResourceTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fis/snapshot/api_op_StartExperiment.go.snap b/service/fis/snapshot/api_op_StartExperiment.go.snap index 733a67b3ab3..cb22e552810 100644 --- a/service/fis/snapshot/api_op_StartExperiment.go.snap +++ b/service/fis/snapshot/api_op_StartExperiment.go.snap @@ -15,7 +15,6 @@ StartExperiment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fis/snapshot/api_op_StopExperiment.go.snap b/service/fis/snapshot/api_op_StopExperiment.go.snap index 6f13ced0fd6..d4b90492775 100644 --- a/service/fis/snapshot/api_op_StopExperiment.go.snap +++ b/service/fis/snapshot/api_op_StopExperiment.go.snap @@ -14,7 +14,6 @@ StopExperiment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fis/snapshot/api_op_TagResource.go.snap b/service/fis/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/fis/snapshot/api_op_TagResource.go.snap +++ b/service/fis/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fis/snapshot/api_op_UntagResource.go.snap b/service/fis/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/fis/snapshot/api_op_UntagResource.go.snap +++ b/service/fis/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fis/snapshot/api_op_UpdateExperimentTemplate.go.snap b/service/fis/snapshot/api_op_UpdateExperimentTemplate.go.snap index f9dd488704c..23abd8a4361 100644 --- a/service/fis/snapshot/api_op_UpdateExperimentTemplate.go.snap +++ b/service/fis/snapshot/api_op_UpdateExperimentTemplate.go.snap @@ -14,7 +14,6 @@ UpdateExperimentTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fis/snapshot/api_op_UpdateSafetyLeverState.go.snap b/service/fis/snapshot/api_op_UpdateSafetyLeverState.go.snap index 5c9cd69c073..549d6baa765 100644 --- a/service/fis/snapshot/api_op_UpdateSafetyLeverState.go.snap +++ b/service/fis/snapshot/api_op_UpdateSafetyLeverState.go.snap @@ -14,7 +14,6 @@ UpdateSafetyLeverState Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fis/snapshot/api_op_UpdateTargetAccountConfiguration.go.snap b/service/fis/snapshot/api_op_UpdateTargetAccountConfiguration.go.snap index 93158a991dd..366dee4a68f 100644 --- a/service/fis/snapshot/api_op_UpdateTargetAccountConfiguration.go.snap +++ b/service/fis/snapshot/api_op_UpdateTargetAccountConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateTargetAccountConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/api_client.go b/service/fms/api_client.go index 8f3596155a6..768ddd9a808 100644 --- a/service/fms/api_client.go +++ b/service/fms/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/fms/api_op_AssociateAdminAccount.go b/service/fms/api_op_AssociateAdminAccount.go index f75ed2fb4a5..aaeabccca66 100644 --- a/service/fms/api_op_AssociateAdminAccount.go +++ b/service/fms/api_op_AssociateAdminAccount.go @@ -121,9 +121,6 @@ func (c *Client) addOperationAssociateAdminAccountMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateAdminAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_AssociateThirdPartyFirewall.go b/service/fms/api_op_AssociateThirdPartyFirewall.go index 44ef78d360f..4223a130e56 100644 --- a/service/fms/api_op_AssociateThirdPartyFirewall.go +++ b/service/fms/api_op_AssociateThirdPartyFirewall.go @@ -131,9 +131,6 @@ func (c *Client) addOperationAssociateThirdPartyFirewallMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateThirdPartyFirewallValidationMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_BatchAssociateResource.go b/service/fms/api_op_BatchAssociateResource.go index 18b71b3eea2..9fe30e5c94a 100644 --- a/service/fms/api_op_BatchAssociateResource.go +++ b/service/fms/api_op_BatchAssociateResource.go @@ -127,9 +127,6 @@ func (c *Client) addOperationBatchAssociateResourceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchAssociateResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_BatchDisassociateResource.go b/service/fms/api_op_BatchDisassociateResource.go index 170bb073f05..9162da6963a 100644 --- a/service/fms/api_op_BatchDisassociateResource.go +++ b/service/fms/api_op_BatchDisassociateResource.go @@ -128,9 +128,6 @@ func (c *Client) addOperationBatchDisassociateResourceMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDisassociateResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_DeleteAppsList.go b/service/fms/api_op_DeleteAppsList.go index ac397a9f70b..c7ecb64610b 100644 --- a/service/fms/api_op_DeleteAppsList.go +++ b/service/fms/api_op_DeleteAppsList.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteAppsListMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAppsListValidationMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_DeleteNotificationChannel.go b/service/fms/api_op_DeleteNotificationChannel.go index 75461ab664e..48ddc83744a 100644 --- a/service/fms/api_op_DeleteNotificationChannel.go +++ b/service/fms/api_op_DeleteNotificationChannel.go @@ -103,9 +103,6 @@ func (c *Client) addOperationDeleteNotificationChannelMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteNotificationChannel(options.Region), middleware.Before); err != nil { return err } diff --git a/service/fms/api_op_DeletePolicy.go b/service/fms/api_op_DeletePolicy.go index 7b0c2b3acba..6c1e15b2794 100644 --- a/service/fms/api_op_DeletePolicy.go +++ b/service/fms/api_op_DeletePolicy.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDeletePolicyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_DeleteProtocolsList.go b/service/fms/api_op_DeleteProtocolsList.go index c9e70c3e017..9f5f8c9b5d5 100644 --- a/service/fms/api_op_DeleteProtocolsList.go +++ b/service/fms/api_op_DeleteProtocolsList.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteProtocolsListMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProtocolsListValidationMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_DeleteResourceSet.go b/service/fms/api_op_DeleteResourceSet.go index 86a50627bc7..2dc0ebd24d2 100644 --- a/service/fms/api_op_DeleteResourceSet.go +++ b/service/fms/api_op_DeleteResourceSet.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteResourceSetMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourceSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_DisassociateAdminAccount.go b/service/fms/api_op_DisassociateAdminAccount.go index a15e7e1889a..e189f1401d1 100644 --- a/service/fms/api_op_DisassociateAdminAccount.go +++ b/service/fms/api_op_DisassociateAdminAccount.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDisassociateAdminAccountMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateAdminAccount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/fms/api_op_DisassociateThirdPartyFirewall.go b/service/fms/api_op_DisassociateThirdPartyFirewall.go index fa9c27eafd1..1e7c1fc72bb 100644 --- a/service/fms/api_op_DisassociateThirdPartyFirewall.go +++ b/service/fms/api_op_DisassociateThirdPartyFirewall.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDisassociateThirdPartyFirewallMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateThirdPartyFirewallValidationMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_GetAdminAccount.go b/service/fms/api_op_GetAdminAccount.go index 37d30b994d6..e231eaf5c9d 100644 --- a/service/fms/api_op_GetAdminAccount.go +++ b/service/fms/api_op_GetAdminAccount.go @@ -111,9 +111,6 @@ func (c *Client) addOperationGetAdminAccountMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAdminAccount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/fms/api_op_GetAdminScope.go b/service/fms/api_op_GetAdminScope.go index cda10db4a46..81faafd7ce7 100644 --- a/service/fms/api_op_GetAdminScope.go +++ b/service/fms/api_op_GetAdminScope.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetAdminScopeMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAdminScopeValidationMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_GetAppsList.go b/service/fms/api_op_GetAppsList.go index 2044cffc907..8c68c1c42ba 100644 --- a/service/fms/api_op_GetAppsList.go +++ b/service/fms/api_op_GetAppsList.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetAppsListMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAppsListValidationMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_GetComplianceDetail.go b/service/fms/api_op_GetComplianceDetail.go index a93af4d935e..9a0d85947e2 100644 --- a/service/fms/api_op_GetComplianceDetail.go +++ b/service/fms/api_op_GetComplianceDetail.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetComplianceDetailMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetComplianceDetailValidationMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_GetNotificationChannel.go b/service/fms/api_op_GetNotificationChannel.go index 4f6527b5a6f..405dfb62c05 100644 --- a/service/fms/api_op_GetNotificationChannel.go +++ b/service/fms/api_op_GetNotificationChannel.go @@ -109,9 +109,6 @@ func (c *Client) addOperationGetNotificationChannelMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetNotificationChannel(options.Region), middleware.Before); err != nil { return err } diff --git a/service/fms/api_op_GetPolicy.go b/service/fms/api_op_GetPolicy.go index 989cad8a336..878f9eb612d 100644 --- a/service/fms/api_op_GetPolicy.go +++ b/service/fms/api_op_GetPolicy.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetPolicyMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_GetProtectionStatus.go b/service/fms/api_op_GetProtectionStatus.go index 2cd0d577566..4b5f16226fd 100644 --- a/service/fms/api_op_GetProtectionStatus.go +++ b/service/fms/api_op_GetProtectionStatus.go @@ -175,9 +175,6 @@ func (c *Client) addOperationGetProtectionStatusMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetProtectionStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_GetProtocolsList.go b/service/fms/api_op_GetProtocolsList.go index bee18c58e6a..a52908e8a60 100644 --- a/service/fms/api_op_GetProtocolsList.go +++ b/service/fms/api_op_GetProtocolsList.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetProtocolsListMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetProtocolsListValidationMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_GetResourceSet.go b/service/fms/api_op_GetResourceSet.go index 46aa5f33758..4ba3e1429c2 100644 --- a/service/fms/api_op_GetResourceSet.go +++ b/service/fms/api_op_GetResourceSet.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetResourceSetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourceSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_GetThirdPartyFirewallAssociationStatus.go b/service/fms/api_op_GetThirdPartyFirewallAssociationStatus.go index 5490da8573b..a096cea2bba 100644 --- a/service/fms/api_op_GetThirdPartyFirewallAssociationStatus.go +++ b/service/fms/api_op_GetThirdPartyFirewallAssociationStatus.go @@ -144,9 +144,6 @@ func (c *Client) addOperationGetThirdPartyFirewallAssociationStatusMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetThirdPartyFirewallAssociationStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_GetViolationDetails.go b/service/fms/api_op_GetViolationDetails.go index 57cf9644f45..0d5903c67a4 100644 --- a/service/fms/api_op_GetViolationDetails.go +++ b/service/fms/api_op_GetViolationDetails.go @@ -148,9 +148,6 @@ func (c *Client) addOperationGetViolationDetailsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetViolationDetailsValidationMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_ListAdminAccountsForOrganization.go b/service/fms/api_op_ListAdminAccountsForOrganization.go index 9594bfbfbee..761fa1f5d9f 100644 --- a/service/fms/api_op_ListAdminAccountsForOrganization.go +++ b/service/fms/api_op_ListAdminAccountsForOrganization.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListAdminAccountsForOrganizationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAdminAccountsForOrganization(options.Region), middleware.Before); err != nil { return err } diff --git a/service/fms/api_op_ListAdminsManagingAccount.go b/service/fms/api_op_ListAdminsManagingAccount.go index 2a3cf7e0611..1de0df988aa 100644 --- a/service/fms/api_op_ListAdminsManagingAccount.go +++ b/service/fms/api_op_ListAdminsManagingAccount.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListAdminsManagingAccountMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAdminsManagingAccount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/fms/api_op_ListAppsLists.go b/service/fms/api_op_ListAppsLists.go index 2e69a3cc57f..372b691b01a 100644 --- a/service/fms/api_op_ListAppsLists.go +++ b/service/fms/api_op_ListAppsLists.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListAppsListsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAppsListsValidationMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_ListComplianceStatus.go b/service/fms/api_op_ListComplianceStatus.go index 5a5c5467ac4..50bbb26922e 100644 --- a/service/fms/api_op_ListComplianceStatus.go +++ b/service/fms/api_op_ListComplianceStatus.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListComplianceStatusMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListComplianceStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_ListDiscoveredResources.go b/service/fms/api_op_ListDiscoveredResources.go index fe5757ff5c3..dd8442db161 100644 --- a/service/fms/api_op_ListDiscoveredResources.go +++ b/service/fms/api_op_ListDiscoveredResources.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListDiscoveredResourcesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDiscoveredResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_ListMemberAccounts.go b/service/fms/api_op_ListMemberAccounts.go index 8675fba4dee..8c8321a725a 100644 --- a/service/fms/api_op_ListMemberAccounts.go +++ b/service/fms/api_op_ListMemberAccounts.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListMemberAccountsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMemberAccounts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/fms/api_op_ListPolicies.go b/service/fms/api_op_ListPolicies.go index 5918a6c63b6..88cff3a8d5f 100644 --- a/service/fms/api_op_ListPolicies.go +++ b/service/fms/api_op_ListPolicies.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListPoliciesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPolicies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/fms/api_op_ListProtocolsLists.go b/service/fms/api_op_ListProtocolsLists.go index 8685e44e58c..938b584e2cf 100644 --- a/service/fms/api_op_ListProtocolsLists.go +++ b/service/fms/api_op_ListProtocolsLists.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListProtocolsListsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListProtocolsListsValidationMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_ListResourceSetResources.go b/service/fms/api_op_ListResourceSetResources.go index bf5fba91900..ce4034df75e 100644 --- a/service/fms/api_op_ListResourceSetResources.go +++ b/service/fms/api_op_ListResourceSetResources.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListResourceSetResourcesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListResourceSetResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_ListResourceSets.go b/service/fms/api_op_ListResourceSets.go index c020e5e9f97..b890e777723 100644 --- a/service/fms/api_op_ListResourceSets.go +++ b/service/fms/api_op_ListResourceSets.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListResourceSetsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourceSets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/fms/api_op_ListTagsForResource.go b/service/fms/api_op_ListTagsForResource.go index 931929f2114..18142a4514d 100644 --- a/service/fms/api_op_ListTagsForResource.go +++ b/service/fms/api_op_ListTagsForResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_ListThirdPartyFirewallFirewallPolicies.go b/service/fms/api_op_ListThirdPartyFirewallFirewallPolicies.go index 1cb3cff4954..6d4d19835c8 100644 --- a/service/fms/api_op_ListThirdPartyFirewallFirewallPolicies.go +++ b/service/fms/api_op_ListThirdPartyFirewallFirewallPolicies.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListThirdPartyFirewallFirewallPoliciesMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListThirdPartyFirewallFirewallPoliciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_PutAdminAccount.go b/service/fms/api_op_PutAdminAccount.go index 087436ac6db..0cbec2d6d08 100644 --- a/service/fms/api_op_PutAdminAccount.go +++ b/service/fms/api_op_PutAdminAccount.go @@ -128,9 +128,6 @@ func (c *Client) addOperationPutAdminAccountMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutAdminAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_PutAppsList.go b/service/fms/api_op_PutAppsList.go index 550cd9d3cb8..f6f120bec33 100644 --- a/service/fms/api_op_PutAppsList.go +++ b/service/fms/api_op_PutAppsList.go @@ -118,9 +118,6 @@ func (c *Client) addOperationPutAppsListMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutAppsListValidationMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_PutNotificationChannel.go b/service/fms/api_op_PutNotificationChannel.go index 65e1a0a64fa..99c2cf4ea7c 100644 --- a/service/fms/api_op_PutNotificationChannel.go +++ b/service/fms/api_op_PutNotificationChannel.go @@ -125,9 +125,6 @@ func (c *Client) addOperationPutNotificationChannelMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutNotificationChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_PutPolicy.go b/service/fms/api_op_PutPolicy.go index 638d2920ef5..88aebea8538 100644 --- a/service/fms/api_op_PutPolicy.go +++ b/service/fms/api_op_PutPolicy.go @@ -165,9 +165,6 @@ func (c *Client) addOperationPutPolicyMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_PutProtocolsList.go b/service/fms/api_op_PutProtocolsList.go index d9249ccc9bf..b451b4e0720 100644 --- a/service/fms/api_op_PutProtocolsList.go +++ b/service/fms/api_op_PutProtocolsList.go @@ -118,9 +118,6 @@ func (c *Client) addOperationPutProtocolsListMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutProtocolsListValidationMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_PutResourceSet.go b/service/fms/api_op_PutResourceSet.go index e5090c6088a..bf852e87f38 100644 --- a/service/fms/api_op_PutResourceSet.go +++ b/service/fms/api_op_PutResourceSet.go @@ -129,9 +129,6 @@ func (c *Client) addOperationPutResourceSetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutResourceSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_TagResource.go b/service/fms/api_op_TagResource.go index fa9ab09d341..b9746ddb773 100644 --- a/service/fms/api_op_TagResource.go +++ b/service/fms/api_op_TagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/fms/api_op_UntagResource.go b/service/fms/api_op_UntagResource.go index b37e7e6b1e8..978b880ebd1 100644 --- a/service/fms/api_op_UntagResource.go +++ b/service/fms/api_op_UntagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/fms/snapshot/api_op_AssociateAdminAccount.go.snap b/service/fms/snapshot/api_op_AssociateAdminAccount.go.snap index 2cef6bba7b6..77d59183a20 100644 --- a/service/fms/snapshot/api_op_AssociateAdminAccount.go.snap +++ b/service/fms/snapshot/api_op_AssociateAdminAccount.go.snap @@ -14,7 +14,6 @@ AssociateAdminAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_AssociateThirdPartyFirewall.go.snap b/service/fms/snapshot/api_op_AssociateThirdPartyFirewall.go.snap index 453e6d3941b..252ab31fb7e 100644 --- a/service/fms/snapshot/api_op_AssociateThirdPartyFirewall.go.snap +++ b/service/fms/snapshot/api_op_AssociateThirdPartyFirewall.go.snap @@ -14,7 +14,6 @@ AssociateThirdPartyFirewall Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_BatchAssociateResource.go.snap b/service/fms/snapshot/api_op_BatchAssociateResource.go.snap index d2d2e5de2f9..7a2442b8a4a 100644 --- a/service/fms/snapshot/api_op_BatchAssociateResource.go.snap +++ b/service/fms/snapshot/api_op_BatchAssociateResource.go.snap @@ -14,7 +14,6 @@ BatchAssociateResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_BatchDisassociateResource.go.snap b/service/fms/snapshot/api_op_BatchDisassociateResource.go.snap index 246b49ed365..10f032a4cf4 100644 --- a/service/fms/snapshot/api_op_BatchDisassociateResource.go.snap +++ b/service/fms/snapshot/api_op_BatchDisassociateResource.go.snap @@ -14,7 +14,6 @@ BatchDisassociateResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_DeleteAppsList.go.snap b/service/fms/snapshot/api_op_DeleteAppsList.go.snap index 18ae8eec3c7..0e181a463b6 100644 --- a/service/fms/snapshot/api_op_DeleteAppsList.go.snap +++ b/service/fms/snapshot/api_op_DeleteAppsList.go.snap @@ -14,7 +14,6 @@ DeleteAppsList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_DeleteNotificationChannel.go.snap b/service/fms/snapshot/api_op_DeleteNotificationChannel.go.snap index c3258202566..c36df7ae4fe 100644 --- a/service/fms/snapshot/api_op_DeleteNotificationChannel.go.snap +++ b/service/fms/snapshot/api_op_DeleteNotificationChannel.go.snap @@ -13,7 +13,6 @@ DeleteNotificationChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_DeletePolicy.go.snap b/service/fms/snapshot/api_op_DeletePolicy.go.snap index 82f0492a4e2..cf5ab0d043a 100644 --- a/service/fms/snapshot/api_op_DeletePolicy.go.snap +++ b/service/fms/snapshot/api_op_DeletePolicy.go.snap @@ -14,7 +14,6 @@ DeletePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_DeleteProtocolsList.go.snap b/service/fms/snapshot/api_op_DeleteProtocolsList.go.snap index bb77962c62d..e7eebf73e70 100644 --- a/service/fms/snapshot/api_op_DeleteProtocolsList.go.snap +++ b/service/fms/snapshot/api_op_DeleteProtocolsList.go.snap @@ -14,7 +14,6 @@ DeleteProtocolsList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_DeleteResourceSet.go.snap b/service/fms/snapshot/api_op_DeleteResourceSet.go.snap index 157a6e5eb59..913c7b1cfe7 100644 --- a/service/fms/snapshot/api_op_DeleteResourceSet.go.snap +++ b/service/fms/snapshot/api_op_DeleteResourceSet.go.snap @@ -14,7 +14,6 @@ DeleteResourceSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_DisassociateAdminAccount.go.snap b/service/fms/snapshot/api_op_DisassociateAdminAccount.go.snap index 659c2c9ac8e..b4ecfb7a591 100644 --- a/service/fms/snapshot/api_op_DisassociateAdminAccount.go.snap +++ b/service/fms/snapshot/api_op_DisassociateAdminAccount.go.snap @@ -13,7 +13,6 @@ DisassociateAdminAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_DisassociateThirdPartyFirewall.go.snap b/service/fms/snapshot/api_op_DisassociateThirdPartyFirewall.go.snap index 3c6733f7f35..b4219a8f317 100644 --- a/service/fms/snapshot/api_op_DisassociateThirdPartyFirewall.go.snap +++ b/service/fms/snapshot/api_op_DisassociateThirdPartyFirewall.go.snap @@ -14,7 +14,6 @@ DisassociateThirdPartyFirewall Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_GetAdminAccount.go.snap b/service/fms/snapshot/api_op_GetAdminAccount.go.snap index 183be3ec831..6eaa440de62 100644 --- a/service/fms/snapshot/api_op_GetAdminAccount.go.snap +++ b/service/fms/snapshot/api_op_GetAdminAccount.go.snap @@ -13,7 +13,6 @@ GetAdminAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_GetAdminScope.go.snap b/service/fms/snapshot/api_op_GetAdminScope.go.snap index 47206c5b30a..a2a8a0758d1 100644 --- a/service/fms/snapshot/api_op_GetAdminScope.go.snap +++ b/service/fms/snapshot/api_op_GetAdminScope.go.snap @@ -14,7 +14,6 @@ GetAdminScope Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_GetAppsList.go.snap b/service/fms/snapshot/api_op_GetAppsList.go.snap index 0f8337c0f11..1eb2e48e149 100644 --- a/service/fms/snapshot/api_op_GetAppsList.go.snap +++ b/service/fms/snapshot/api_op_GetAppsList.go.snap @@ -14,7 +14,6 @@ GetAppsList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_GetComplianceDetail.go.snap b/service/fms/snapshot/api_op_GetComplianceDetail.go.snap index 035727247da..b4a33bf8f39 100644 --- a/service/fms/snapshot/api_op_GetComplianceDetail.go.snap +++ b/service/fms/snapshot/api_op_GetComplianceDetail.go.snap @@ -14,7 +14,6 @@ GetComplianceDetail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_GetNotificationChannel.go.snap b/service/fms/snapshot/api_op_GetNotificationChannel.go.snap index 11e5517e34e..af2e71b267d 100644 --- a/service/fms/snapshot/api_op_GetNotificationChannel.go.snap +++ b/service/fms/snapshot/api_op_GetNotificationChannel.go.snap @@ -13,7 +13,6 @@ GetNotificationChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_GetPolicy.go.snap b/service/fms/snapshot/api_op_GetPolicy.go.snap index dc1a8d53693..1a5ac50a868 100644 --- a/service/fms/snapshot/api_op_GetPolicy.go.snap +++ b/service/fms/snapshot/api_op_GetPolicy.go.snap @@ -14,7 +14,6 @@ GetPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_GetProtectionStatus.go.snap b/service/fms/snapshot/api_op_GetProtectionStatus.go.snap index cd51fd076b3..fcdea7e0659 100644 --- a/service/fms/snapshot/api_op_GetProtectionStatus.go.snap +++ b/service/fms/snapshot/api_op_GetProtectionStatus.go.snap @@ -14,7 +14,6 @@ GetProtectionStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_GetProtocolsList.go.snap b/service/fms/snapshot/api_op_GetProtocolsList.go.snap index 439306b1bc4..00777363a64 100644 --- a/service/fms/snapshot/api_op_GetProtocolsList.go.snap +++ b/service/fms/snapshot/api_op_GetProtocolsList.go.snap @@ -14,7 +14,6 @@ GetProtocolsList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_GetResourceSet.go.snap b/service/fms/snapshot/api_op_GetResourceSet.go.snap index e810e7cd249..99c024fd076 100644 --- a/service/fms/snapshot/api_op_GetResourceSet.go.snap +++ b/service/fms/snapshot/api_op_GetResourceSet.go.snap @@ -14,7 +14,6 @@ GetResourceSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_GetThirdPartyFirewallAssociationStatus.go.snap b/service/fms/snapshot/api_op_GetThirdPartyFirewallAssociationStatus.go.snap index 3695066fd00..28390b25ab0 100644 --- a/service/fms/snapshot/api_op_GetThirdPartyFirewallAssociationStatus.go.snap +++ b/service/fms/snapshot/api_op_GetThirdPartyFirewallAssociationStatus.go.snap @@ -14,7 +14,6 @@ GetThirdPartyFirewallAssociationStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_GetViolationDetails.go.snap b/service/fms/snapshot/api_op_GetViolationDetails.go.snap index 3bc28b16dae..b3d0604e7cd 100644 --- a/service/fms/snapshot/api_op_GetViolationDetails.go.snap +++ b/service/fms/snapshot/api_op_GetViolationDetails.go.snap @@ -14,7 +14,6 @@ GetViolationDetails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_ListAdminAccountsForOrganization.go.snap b/service/fms/snapshot/api_op_ListAdminAccountsForOrganization.go.snap index 66389d5bc2d..72912b09be6 100644 --- a/service/fms/snapshot/api_op_ListAdminAccountsForOrganization.go.snap +++ b/service/fms/snapshot/api_op_ListAdminAccountsForOrganization.go.snap @@ -13,7 +13,6 @@ ListAdminAccountsForOrganization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_ListAdminsManagingAccount.go.snap b/service/fms/snapshot/api_op_ListAdminsManagingAccount.go.snap index 3dcaf7e8a09..e75c7a519de 100644 --- a/service/fms/snapshot/api_op_ListAdminsManagingAccount.go.snap +++ b/service/fms/snapshot/api_op_ListAdminsManagingAccount.go.snap @@ -13,7 +13,6 @@ ListAdminsManagingAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_ListAppsLists.go.snap b/service/fms/snapshot/api_op_ListAppsLists.go.snap index a711eca1a4d..5fd8d10ce16 100644 --- a/service/fms/snapshot/api_op_ListAppsLists.go.snap +++ b/service/fms/snapshot/api_op_ListAppsLists.go.snap @@ -14,7 +14,6 @@ ListAppsLists Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_ListComplianceStatus.go.snap b/service/fms/snapshot/api_op_ListComplianceStatus.go.snap index de379956709..d2c48fd1ee0 100644 --- a/service/fms/snapshot/api_op_ListComplianceStatus.go.snap +++ b/service/fms/snapshot/api_op_ListComplianceStatus.go.snap @@ -14,7 +14,6 @@ ListComplianceStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_ListDiscoveredResources.go.snap b/service/fms/snapshot/api_op_ListDiscoveredResources.go.snap index 115d4c7a2b2..b1e97097934 100644 --- a/service/fms/snapshot/api_op_ListDiscoveredResources.go.snap +++ b/service/fms/snapshot/api_op_ListDiscoveredResources.go.snap @@ -14,7 +14,6 @@ ListDiscoveredResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_ListMemberAccounts.go.snap b/service/fms/snapshot/api_op_ListMemberAccounts.go.snap index 8e11bccdfe6..3aae53a808d 100644 --- a/service/fms/snapshot/api_op_ListMemberAccounts.go.snap +++ b/service/fms/snapshot/api_op_ListMemberAccounts.go.snap @@ -13,7 +13,6 @@ ListMemberAccounts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_ListPolicies.go.snap b/service/fms/snapshot/api_op_ListPolicies.go.snap index 39b48762975..6e06a23ef3b 100644 --- a/service/fms/snapshot/api_op_ListPolicies.go.snap +++ b/service/fms/snapshot/api_op_ListPolicies.go.snap @@ -13,7 +13,6 @@ ListPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_ListProtocolsLists.go.snap b/service/fms/snapshot/api_op_ListProtocolsLists.go.snap index 646ed48e510..a7296daf334 100644 --- a/service/fms/snapshot/api_op_ListProtocolsLists.go.snap +++ b/service/fms/snapshot/api_op_ListProtocolsLists.go.snap @@ -14,7 +14,6 @@ ListProtocolsLists Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_ListResourceSetResources.go.snap b/service/fms/snapshot/api_op_ListResourceSetResources.go.snap index 8dfbbde6768..eefef4c7066 100644 --- a/service/fms/snapshot/api_op_ListResourceSetResources.go.snap +++ b/service/fms/snapshot/api_op_ListResourceSetResources.go.snap @@ -14,7 +14,6 @@ ListResourceSetResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_ListResourceSets.go.snap b/service/fms/snapshot/api_op_ListResourceSets.go.snap index 5ea6b95ae21..999a8b4e725 100644 --- a/service/fms/snapshot/api_op_ListResourceSets.go.snap +++ b/service/fms/snapshot/api_op_ListResourceSets.go.snap @@ -13,7 +13,6 @@ ListResourceSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_ListTagsForResource.go.snap b/service/fms/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/fms/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/fms/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_ListThirdPartyFirewallFirewallPolicies.go.snap b/service/fms/snapshot/api_op_ListThirdPartyFirewallFirewallPolicies.go.snap index d8ef9e612c8..7d397e4198f 100644 --- a/service/fms/snapshot/api_op_ListThirdPartyFirewallFirewallPolicies.go.snap +++ b/service/fms/snapshot/api_op_ListThirdPartyFirewallFirewallPolicies.go.snap @@ -14,7 +14,6 @@ ListThirdPartyFirewallFirewallPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_PutAdminAccount.go.snap b/service/fms/snapshot/api_op_PutAdminAccount.go.snap index e26b37fcbc1..fa6140c037f 100644 --- a/service/fms/snapshot/api_op_PutAdminAccount.go.snap +++ b/service/fms/snapshot/api_op_PutAdminAccount.go.snap @@ -14,7 +14,6 @@ PutAdminAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_PutAppsList.go.snap b/service/fms/snapshot/api_op_PutAppsList.go.snap index 4eceb9e02f3..69b3190f014 100644 --- a/service/fms/snapshot/api_op_PutAppsList.go.snap +++ b/service/fms/snapshot/api_op_PutAppsList.go.snap @@ -14,7 +14,6 @@ PutAppsList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_PutNotificationChannel.go.snap b/service/fms/snapshot/api_op_PutNotificationChannel.go.snap index 4ef975da8a3..51768ae6e75 100644 --- a/service/fms/snapshot/api_op_PutNotificationChannel.go.snap +++ b/service/fms/snapshot/api_op_PutNotificationChannel.go.snap @@ -14,7 +14,6 @@ PutNotificationChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_PutPolicy.go.snap b/service/fms/snapshot/api_op_PutPolicy.go.snap index 6803ae065d5..fc906cad0ff 100644 --- a/service/fms/snapshot/api_op_PutPolicy.go.snap +++ b/service/fms/snapshot/api_op_PutPolicy.go.snap @@ -14,7 +14,6 @@ PutPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_PutProtocolsList.go.snap b/service/fms/snapshot/api_op_PutProtocolsList.go.snap index 5a01753c917..efbebb0faa9 100644 --- a/service/fms/snapshot/api_op_PutProtocolsList.go.snap +++ b/service/fms/snapshot/api_op_PutProtocolsList.go.snap @@ -14,7 +14,6 @@ PutProtocolsList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_PutResourceSet.go.snap b/service/fms/snapshot/api_op_PutResourceSet.go.snap index 01aa6c6650d..652e4c8861c 100644 --- a/service/fms/snapshot/api_op_PutResourceSet.go.snap +++ b/service/fms/snapshot/api_op_PutResourceSet.go.snap @@ -14,7 +14,6 @@ PutResourceSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_TagResource.go.snap b/service/fms/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/fms/snapshot/api_op_TagResource.go.snap +++ b/service/fms/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fms/snapshot/api_op_UntagResource.go.snap b/service/fms/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/fms/snapshot/api_op_UntagResource.go.snap +++ b/service/fms/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/api_client.go b/service/forecast/api_client.go index e60fc919d60..45073876133 100644 --- a/service/forecast/api_client.go +++ b/service/forecast/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/forecast/api_op_CreateAutoPredictor.go b/service/forecast/api_op_CreateAutoPredictor.go index 0774cc90593..9faeb4259d7 100644 --- a/service/forecast/api_op_CreateAutoPredictor.go +++ b/service/forecast/api_op_CreateAutoPredictor.go @@ -268,9 +268,6 @@ func (c *Client) addOperationCreateAutoPredictorMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAutoPredictorValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_CreateDataset.go b/service/forecast/api_op_CreateDataset.go index ad18292cecf..31f49929c74 100644 --- a/service/forecast/api_op_CreateDataset.go +++ b/service/forecast/api_op_CreateDataset.go @@ -232,9 +232,6 @@ func (c *Client) addOperationCreateDatasetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_CreateDatasetGroup.go b/service/forecast/api_op_CreateDatasetGroup.go index e01ba94770b..038e4fa2ce1 100644 --- a/service/forecast/api_op_CreateDatasetGroup.go +++ b/service/forecast/api_op_CreateDatasetGroup.go @@ -177,9 +177,6 @@ func (c *Client) addOperationCreateDatasetGroupMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDatasetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_CreateDatasetImportJob.go b/service/forecast/api_op_CreateDatasetImportJob.go index 4093ad758bb..0c41f385b64 100644 --- a/service/forecast/api_op_CreateDatasetImportJob.go +++ b/service/forecast/api_op_CreateDatasetImportJob.go @@ -240,9 +240,6 @@ func (c *Client) addOperationCreateDatasetImportJobMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDatasetImportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_CreateExplainability.go b/service/forecast/api_op_CreateExplainability.go index e8462f281b4..69d243a52b1 100644 --- a/service/forecast/api_op_CreateExplainability.go +++ b/service/forecast/api_op_CreateExplainability.go @@ -249,9 +249,6 @@ func (c *Client) addOperationCreateExplainabilityMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateExplainabilityValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_CreateExplainabilityExport.go b/service/forecast/api_op_CreateExplainabilityExport.go index 643992918a5..c1b137b7995 100644 --- a/service/forecast/api_op_CreateExplainabilityExport.go +++ b/service/forecast/api_op_CreateExplainabilityExport.go @@ -162,9 +162,6 @@ func (c *Client) addOperationCreateExplainabilityExportMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateExplainabilityExportValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_CreateForecast.go b/service/forecast/api_op_CreateForecast.go index 3c3f5672d29..242d5fc497e 100644 --- a/service/forecast/api_op_CreateForecast.go +++ b/service/forecast/api_op_CreateForecast.go @@ -195,9 +195,6 @@ func (c *Client) addOperationCreateForecastMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateForecastValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_CreateForecastExportJob.go b/service/forecast/api_op_CreateForecastExportJob.go index 02f11590e1f..e2066d6ddb9 100644 --- a/service/forecast/api_op_CreateForecastExportJob.go +++ b/service/forecast/api_op_CreateForecastExportJob.go @@ -177,9 +177,6 @@ func (c *Client) addOperationCreateForecastExportJobMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateForecastExportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_CreateMonitor.go b/service/forecast/api_op_CreateMonitor.go index ba51d41edfd..3c9b8cf7018 100644 --- a/service/forecast/api_op_CreateMonitor.go +++ b/service/forecast/api_op_CreateMonitor.go @@ -126,9 +126,6 @@ func (c *Client) addOperationCreateMonitorMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateMonitorValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_CreatePredictor.go b/service/forecast/api_op_CreatePredictor.go index 68027353d56..49ba86db055 100644 --- a/service/forecast/api_op_CreatePredictor.go +++ b/service/forecast/api_op_CreatePredictor.go @@ -313,9 +313,6 @@ func (c *Client) addOperationCreatePredictorMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePredictorValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_CreatePredictorBacktestExportJob.go b/service/forecast/api_op_CreatePredictorBacktestExportJob.go index 1e9c1bcbb09..e150d8faf2f 100644 --- a/service/forecast/api_op_CreatePredictorBacktestExportJob.go +++ b/service/forecast/api_op_CreatePredictorBacktestExportJob.go @@ -170,9 +170,6 @@ func (c *Client) addOperationCreatePredictorBacktestExportJobMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePredictorBacktestExportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_CreateWhatIfAnalysis.go b/service/forecast/api_op_CreateWhatIfAnalysis.go index e6660e75217..69d36f40439 100644 --- a/service/forecast/api_op_CreateWhatIfAnalysis.go +++ b/service/forecast/api_op_CreateWhatIfAnalysis.go @@ -158,9 +158,6 @@ func (c *Client) addOperationCreateWhatIfAnalysisMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateWhatIfAnalysisValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_CreateWhatIfForecast.go b/service/forecast/api_op_CreateWhatIfForecast.go index 7bc19339268..4717810a88c 100644 --- a/service/forecast/api_op_CreateWhatIfForecast.go +++ b/service/forecast/api_op_CreateWhatIfForecast.go @@ -149,9 +149,6 @@ func (c *Client) addOperationCreateWhatIfForecastMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateWhatIfForecastValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_CreateWhatIfForecastExport.go b/service/forecast/api_op_CreateWhatIfForecastExport.go index d9f9ec3634d..e29ad7b605a 100644 --- a/service/forecast/api_op_CreateWhatIfForecastExport.go +++ b/service/forecast/api_op_CreateWhatIfForecastExport.go @@ -152,9 +152,6 @@ func (c *Client) addOperationCreateWhatIfForecastExportMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateWhatIfForecastExportValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DeleteDataset.go b/service/forecast/api_op_DeleteDataset.go index 3c14fa91b9f..b2349f70e08 100644 --- a/service/forecast/api_op_DeleteDataset.go +++ b/service/forecast/api_op_DeleteDataset.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteDatasetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DeleteDatasetGroup.go b/service/forecast/api_op_DeleteDatasetGroup.go index a8acfc99726..e01790140b8 100644 --- a/service/forecast/api_op_DeleteDatasetGroup.go +++ b/service/forecast/api_op_DeleteDatasetGroup.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteDatasetGroupMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDatasetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DeleteDatasetImportJob.go b/service/forecast/api_op_DeleteDatasetImportJob.go index 6fb2678563b..7731cca8836 100644 --- a/service/forecast/api_op_DeleteDatasetImportJob.go +++ b/service/forecast/api_op_DeleteDatasetImportJob.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteDatasetImportJobMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDatasetImportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DeleteExplainability.go b/service/forecast/api_op_DeleteExplainability.go index 98a9c136f5d..d7506ada4fa 100644 --- a/service/forecast/api_op_DeleteExplainability.go +++ b/service/forecast/api_op_DeleteExplainability.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteExplainabilityMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteExplainabilityValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DeleteExplainabilityExport.go b/service/forecast/api_op_DeleteExplainabilityExport.go index 61be35c1b69..0103dd15d0d 100644 --- a/service/forecast/api_op_DeleteExplainabilityExport.go +++ b/service/forecast/api_op_DeleteExplainabilityExport.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteExplainabilityExportMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteExplainabilityExportValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DeleteForecast.go b/service/forecast/api_op_DeleteForecast.go index a1c3f9270b2..9a5b6665369 100644 --- a/service/forecast/api_op_DeleteForecast.go +++ b/service/forecast/api_op_DeleteForecast.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteForecastMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteForecastValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DeleteForecastExportJob.go b/service/forecast/api_op_DeleteForecastExportJob.go index 413fdd6b27a..67b150a890c 100644 --- a/service/forecast/api_op_DeleteForecastExportJob.go +++ b/service/forecast/api_op_DeleteForecastExportJob.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteForecastExportJobMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteForecastExportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DeleteMonitor.go b/service/forecast/api_op_DeleteMonitor.go index 91e8c6cf2b5..7ea53585131 100644 --- a/service/forecast/api_op_DeleteMonitor.go +++ b/service/forecast/api_op_DeleteMonitor.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteMonitorMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMonitorValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DeletePredictor.go b/service/forecast/api_op_DeletePredictor.go index 1af478423e5..7c000ff751c 100644 --- a/service/forecast/api_op_DeletePredictor.go +++ b/service/forecast/api_op_DeletePredictor.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeletePredictorMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePredictorValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DeletePredictorBacktestExportJob.go b/service/forecast/api_op_DeletePredictorBacktestExportJob.go index 045b5735e27..7048b382626 100644 --- a/service/forecast/api_op_DeletePredictorBacktestExportJob.go +++ b/service/forecast/api_op_DeletePredictorBacktestExportJob.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeletePredictorBacktestExportJobMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePredictorBacktestExportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DeleteResourceTree.go b/service/forecast/api_op_DeleteResourceTree.go index d16b48ba09e..61f9aad90ef 100644 --- a/service/forecast/api_op_DeleteResourceTree.go +++ b/service/forecast/api_op_DeleteResourceTree.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteResourceTreeMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourceTreeValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DeleteWhatIfAnalysis.go b/service/forecast/api_op_DeleteWhatIfAnalysis.go index be48dbe4610..7143310373b 100644 --- a/service/forecast/api_op_DeleteWhatIfAnalysis.go +++ b/service/forecast/api_op_DeleteWhatIfAnalysis.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteWhatIfAnalysisMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWhatIfAnalysisValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DeleteWhatIfForecast.go b/service/forecast/api_op_DeleteWhatIfForecast.go index b75e58a68bb..d35fe3cbaac 100644 --- a/service/forecast/api_op_DeleteWhatIfForecast.go +++ b/service/forecast/api_op_DeleteWhatIfForecast.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteWhatIfForecastMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWhatIfForecastValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DeleteWhatIfForecastExport.go b/service/forecast/api_op_DeleteWhatIfForecastExport.go index 4cb561ab8af..99cb3cbb8a2 100644 --- a/service/forecast/api_op_DeleteWhatIfForecastExport.go +++ b/service/forecast/api_op_DeleteWhatIfForecastExport.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteWhatIfForecastExportMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWhatIfForecastExportValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DescribeAutoPredictor.go b/service/forecast/api_op_DescribeAutoPredictor.go index 2d275794ab1..f6cf7968aa8 100644 --- a/service/forecast/api_op_DescribeAutoPredictor.go +++ b/service/forecast/api_op_DescribeAutoPredictor.go @@ -199,9 +199,6 @@ func (c *Client) addOperationDescribeAutoPredictorMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAutoPredictorValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DescribeDataset.go b/service/forecast/api_op_DescribeDataset.go index a0e42b88aca..22f9c2bb5f7 100644 --- a/service/forecast/api_op_DescribeDataset.go +++ b/service/forecast/api_op_DescribeDataset.go @@ -180,9 +180,6 @@ func (c *Client) addOperationDescribeDatasetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DescribeDatasetGroup.go b/service/forecast/api_op_DescribeDatasetGroup.go index d9f191ea071..916eb546a53 100644 --- a/service/forecast/api_op_DescribeDatasetGroup.go +++ b/service/forecast/api_op_DescribeDatasetGroup.go @@ -164,9 +164,6 @@ func (c *Client) addOperationDescribeDatasetGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDatasetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DescribeDatasetImportJob.go b/service/forecast/api_op_DescribeDatasetImportJob.go index 9ec75417c83..45d54f1d858 100644 --- a/service/forecast/api_op_DescribeDatasetImportJob.go +++ b/service/forecast/api_op_DescribeDatasetImportJob.go @@ -213,9 +213,6 @@ func (c *Client) addOperationDescribeDatasetImportJobMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDatasetImportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DescribeExplainability.go b/service/forecast/api_op_DescribeExplainability.go index d56966030f6..7aa83999c7b 100644 --- a/service/forecast/api_op_DescribeExplainability.go +++ b/service/forecast/api_op_DescribeExplainability.go @@ -177,9 +177,6 @@ func (c *Client) addOperationDescribeExplainabilityMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeExplainabilityValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DescribeExplainabilityExport.go b/service/forecast/api_op_DescribeExplainabilityExport.go index c63164eb293..8698331e946 100644 --- a/service/forecast/api_op_DescribeExplainabilityExport.go +++ b/service/forecast/api_op_DescribeExplainabilityExport.go @@ -158,9 +158,6 @@ func (c *Client) addOperationDescribeExplainabilityExportMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeExplainabilityExportValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DescribeForecast.go b/service/forecast/api_op_DescribeForecast.go index 42ea57f6554..caadd038002 100644 --- a/service/forecast/api_op_DescribeForecast.go +++ b/service/forecast/api_op_DescribeForecast.go @@ -178,9 +178,6 @@ func (c *Client) addOperationDescribeForecastMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeForecastValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DescribeForecastExportJob.go b/service/forecast/api_op_DescribeForecastExportJob.go index 5aa879f6b13..f6befdea040 100644 --- a/service/forecast/api_op_DescribeForecastExportJob.go +++ b/service/forecast/api_op_DescribeForecastExportJob.go @@ -171,9 +171,6 @@ func (c *Client) addOperationDescribeForecastExportJobMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeForecastExportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DescribeMonitor.go b/service/forecast/api_op_DescribeMonitor.go index c61ff9910a9..bda7cba50b6 100644 --- a/service/forecast/api_op_DescribeMonitor.go +++ b/service/forecast/api_op_DescribeMonitor.go @@ -160,9 +160,6 @@ func (c *Client) addOperationDescribeMonitorMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeMonitorValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DescribePredictor.go b/service/forecast/api_op_DescribePredictor.go index c0f22255029..e88706b7b8a 100644 --- a/service/forecast/api_op_DescribePredictor.go +++ b/service/forecast/api_op_DescribePredictor.go @@ -244,9 +244,6 @@ func (c *Client) addOperationDescribePredictorMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePredictorValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DescribePredictorBacktestExportJob.go b/service/forecast/api_op_DescribePredictorBacktestExportJob.go index e8b710d341f..180429f179a 100644 --- a/service/forecast/api_op_DescribePredictorBacktestExportJob.go +++ b/service/forecast/api_op_DescribePredictorBacktestExportJob.go @@ -170,9 +170,6 @@ func (c *Client) addOperationDescribePredictorBacktestExportJobMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePredictorBacktestExportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DescribeWhatIfAnalysis.go b/service/forecast/api_op_DescribeWhatIfAnalysis.go index a984b32337d..6a78100dd29 100644 --- a/service/forecast/api_op_DescribeWhatIfAnalysis.go +++ b/service/forecast/api_op_DescribeWhatIfAnalysis.go @@ -180,9 +180,6 @@ func (c *Client) addOperationDescribeWhatIfAnalysisMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeWhatIfAnalysisValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DescribeWhatIfForecast.go b/service/forecast/api_op_DescribeWhatIfForecast.go index a5d9824d75f..f185b13e13a 100644 --- a/service/forecast/api_op_DescribeWhatIfForecast.go +++ b/service/forecast/api_op_DescribeWhatIfForecast.go @@ -182,9 +182,6 @@ func (c *Client) addOperationDescribeWhatIfForecastMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeWhatIfForecastValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_DescribeWhatIfForecastExport.go b/service/forecast/api_op_DescribeWhatIfForecastExport.go index fc90ef9c34b..0ca9d663a13 100644 --- a/service/forecast/api_op_DescribeWhatIfForecastExport.go +++ b/service/forecast/api_op_DescribeWhatIfForecastExport.go @@ -178,9 +178,6 @@ func (c *Client) addOperationDescribeWhatIfForecastExportMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeWhatIfForecastExportValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_GetAccuracyMetrics.go b/service/forecast/api_op_GetAccuracyMetrics.go index edcd3260948..78bf97face3 100644 --- a/service/forecast/api_op_GetAccuracyMetrics.go +++ b/service/forecast/api_op_GetAccuracyMetrics.go @@ -145,9 +145,6 @@ func (c *Client) addOperationGetAccuracyMetricsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAccuracyMetricsValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_ListDatasetGroups.go b/service/forecast/api_op_ListDatasetGroups.go index 11526c240be..8073288480d 100644 --- a/service/forecast/api_op_ListDatasetGroups.go +++ b/service/forecast/api_op_ListDatasetGroups.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListDatasetGroupsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatasetGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/forecast/api_op_ListDatasetImportJobs.go b/service/forecast/api_op_ListDatasetImportJobs.go index 61d1fed1dc4..dc770ffe098 100644 --- a/service/forecast/api_op_ListDatasetImportJobs.go +++ b/service/forecast/api_op_ListDatasetImportJobs.go @@ -149,9 +149,6 @@ func (c *Client) addOperationListDatasetImportJobsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDatasetImportJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_ListDatasets.go b/service/forecast/api_op_ListDatasets.go index a7bb7af2a61..79ef8d33807 100644 --- a/service/forecast/api_op_ListDatasets.go +++ b/service/forecast/api_op_ListDatasets.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListDatasetsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatasets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/forecast/api_op_ListExplainabilities.go b/service/forecast/api_op_ListExplainabilities.go index 66190ebdcfb..0e95ae6e4e8 100644 --- a/service/forecast/api_op_ListExplainabilities.go +++ b/service/forecast/api_op_ListExplainabilities.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListExplainabilitiesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListExplainabilitiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_ListExplainabilityExports.go b/service/forecast/api_op_ListExplainabilityExports.go index 13eeb841dc5..706fa565340 100644 --- a/service/forecast/api_op_ListExplainabilityExports.go +++ b/service/forecast/api_op_ListExplainabilityExports.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListExplainabilityExportsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListExplainabilityExportsValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_ListForecastExportJobs.go b/service/forecast/api_op_ListForecastExportJobs.go index 1628c8578f4..6be61c40a2d 100644 --- a/service/forecast/api_op_ListForecastExportJobs.go +++ b/service/forecast/api_op_ListForecastExportJobs.go @@ -146,9 +146,6 @@ func (c *Client) addOperationListForecastExportJobsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListForecastExportJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_ListForecasts.go b/service/forecast/api_op_ListForecasts.go index 43f19733bdc..eda31a01836 100644 --- a/service/forecast/api_op_ListForecasts.go +++ b/service/forecast/api_op_ListForecasts.go @@ -144,9 +144,6 @@ func (c *Client) addOperationListForecastsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListForecastsValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_ListMonitorEvaluations.go b/service/forecast/api_op_ListMonitorEvaluations.go index 596af224582..f25ac1441ef 100644 --- a/service/forecast/api_op_ListMonitorEvaluations.go +++ b/service/forecast/api_op_ListMonitorEvaluations.go @@ -157,9 +157,6 @@ func (c *Client) addOperationListMonitorEvaluationsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMonitorEvaluationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_ListMonitors.go b/service/forecast/api_op_ListMonitors.go index d45becb42b2..127888a7e5a 100644 --- a/service/forecast/api_op_ListMonitors.go +++ b/service/forecast/api_op_ListMonitors.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListMonitorsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMonitorsValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_ListPredictorBacktestExportJobs.go b/service/forecast/api_op_ListPredictorBacktestExportJobs.go index ca8a74ced87..fbcbbaeb1eb 100644 --- a/service/forecast/api_op_ListPredictorBacktestExportJobs.go +++ b/service/forecast/api_op_ListPredictorBacktestExportJobs.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListPredictorBacktestExportJobsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPredictorBacktestExportJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_ListPredictors.go b/service/forecast/api_op_ListPredictors.go index 17a2b3b7197..d590f635d39 100644 --- a/service/forecast/api_op_ListPredictors.go +++ b/service/forecast/api_op_ListPredictors.go @@ -145,9 +145,6 @@ func (c *Client) addOperationListPredictorsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPredictorsValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_ListTagsForResource.go b/service/forecast/api_op_ListTagsForResource.go index 41d2810f900..16fe235d7fb 100644 --- a/service/forecast/api_op_ListTagsForResource.go +++ b/service/forecast/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_ListWhatIfAnalyses.go b/service/forecast/api_op_ListWhatIfAnalyses.go index b7a985bccfb..1a11820622a 100644 --- a/service/forecast/api_op_ListWhatIfAnalyses.go +++ b/service/forecast/api_op_ListWhatIfAnalyses.go @@ -145,9 +145,6 @@ func (c *Client) addOperationListWhatIfAnalysesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListWhatIfAnalysesValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_ListWhatIfForecastExports.go b/service/forecast/api_op_ListWhatIfForecastExports.go index a68053791eb..2e6e6862e42 100644 --- a/service/forecast/api_op_ListWhatIfForecastExports.go +++ b/service/forecast/api_op_ListWhatIfForecastExports.go @@ -147,9 +147,6 @@ func (c *Client) addOperationListWhatIfForecastExportsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListWhatIfForecastExportsValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_ListWhatIfForecasts.go b/service/forecast/api_op_ListWhatIfForecasts.go index 61f7a4ada2e..589a5ee9def 100644 --- a/service/forecast/api_op_ListWhatIfForecasts.go +++ b/service/forecast/api_op_ListWhatIfForecasts.go @@ -146,9 +146,6 @@ func (c *Client) addOperationListWhatIfForecastsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListWhatIfForecastsValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_ResumeResource.go b/service/forecast/api_op_ResumeResource.go index 78c05c5d205..5b77668d0d2 100644 --- a/service/forecast/api_op_ResumeResource.go +++ b/service/forecast/api_op_ResumeResource.go @@ -107,9 +107,6 @@ func (c *Client) addOperationResumeResourceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResumeResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_StopResource.go b/service/forecast/api_op_StopResource.go index 079de8a647b..3c38914e709 100644 --- a/service/forecast/api_op_StopResource.go +++ b/service/forecast/api_op_StopResource.go @@ -130,9 +130,6 @@ func (c *Client) addOperationStopResourceMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_TagResource.go b/service/forecast/api_op_TagResource.go index 9f9a75ae6a2..cbc3e403ab6 100644 --- a/service/forecast/api_op_TagResource.go +++ b/service/forecast/api_op_TagResource.go @@ -142,9 +142,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_UntagResource.go b/service/forecast/api_op_UntagResource.go index f06889381b3..5ccb1995594 100644 --- a/service/forecast/api_op_UntagResource.go +++ b/service/forecast/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/api_op_UpdateDatasetGroup.go b/service/forecast/api_op_UpdateDatasetGroup.go index b79c8462238..46b652c2227 100644 --- a/service/forecast/api_op_UpdateDatasetGroup.go +++ b/service/forecast/api_op_UpdateDatasetGroup.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateDatasetGroupMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDatasetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecast/snapshot/api_op_CreateAutoPredictor.go.snap b/service/forecast/snapshot/api_op_CreateAutoPredictor.go.snap index c10d3169080..aef75094ef8 100644 --- a/service/forecast/snapshot/api_op_CreateAutoPredictor.go.snap +++ b/service/forecast/snapshot/api_op_CreateAutoPredictor.go.snap @@ -14,7 +14,6 @@ CreateAutoPredictor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_CreateDataset.go.snap b/service/forecast/snapshot/api_op_CreateDataset.go.snap index c90f0220921..cb35148be56 100644 --- a/service/forecast/snapshot/api_op_CreateDataset.go.snap +++ b/service/forecast/snapshot/api_op_CreateDataset.go.snap @@ -14,7 +14,6 @@ CreateDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_CreateDatasetGroup.go.snap b/service/forecast/snapshot/api_op_CreateDatasetGroup.go.snap index 04f9ff529e5..52304fd9a71 100644 --- a/service/forecast/snapshot/api_op_CreateDatasetGroup.go.snap +++ b/service/forecast/snapshot/api_op_CreateDatasetGroup.go.snap @@ -14,7 +14,6 @@ CreateDatasetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_CreateDatasetImportJob.go.snap b/service/forecast/snapshot/api_op_CreateDatasetImportJob.go.snap index 5886dfabb38..a514973b3bc 100644 --- a/service/forecast/snapshot/api_op_CreateDatasetImportJob.go.snap +++ b/service/forecast/snapshot/api_op_CreateDatasetImportJob.go.snap @@ -14,7 +14,6 @@ CreateDatasetImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_CreateExplainability.go.snap b/service/forecast/snapshot/api_op_CreateExplainability.go.snap index a9e5966ccae..b7b20c45cef 100644 --- a/service/forecast/snapshot/api_op_CreateExplainability.go.snap +++ b/service/forecast/snapshot/api_op_CreateExplainability.go.snap @@ -14,7 +14,6 @@ CreateExplainability Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_CreateExplainabilityExport.go.snap b/service/forecast/snapshot/api_op_CreateExplainabilityExport.go.snap index 403a0edfd56..b136fa27fc8 100644 --- a/service/forecast/snapshot/api_op_CreateExplainabilityExport.go.snap +++ b/service/forecast/snapshot/api_op_CreateExplainabilityExport.go.snap @@ -14,7 +14,6 @@ CreateExplainabilityExport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_CreateForecast.go.snap b/service/forecast/snapshot/api_op_CreateForecast.go.snap index 559ee2faec7..85363db1aa3 100644 --- a/service/forecast/snapshot/api_op_CreateForecast.go.snap +++ b/service/forecast/snapshot/api_op_CreateForecast.go.snap @@ -14,7 +14,6 @@ CreateForecast Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_CreateForecastExportJob.go.snap b/service/forecast/snapshot/api_op_CreateForecastExportJob.go.snap index 76ef0c39d43..8b53b5caaf9 100644 --- a/service/forecast/snapshot/api_op_CreateForecastExportJob.go.snap +++ b/service/forecast/snapshot/api_op_CreateForecastExportJob.go.snap @@ -14,7 +14,6 @@ CreateForecastExportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_CreateMonitor.go.snap b/service/forecast/snapshot/api_op_CreateMonitor.go.snap index 152d48029d9..d5f4e5d33ed 100644 --- a/service/forecast/snapshot/api_op_CreateMonitor.go.snap +++ b/service/forecast/snapshot/api_op_CreateMonitor.go.snap @@ -14,7 +14,6 @@ CreateMonitor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_CreatePredictor.go.snap b/service/forecast/snapshot/api_op_CreatePredictor.go.snap index b8e3458de3d..4959813ef24 100644 --- a/service/forecast/snapshot/api_op_CreatePredictor.go.snap +++ b/service/forecast/snapshot/api_op_CreatePredictor.go.snap @@ -14,7 +14,6 @@ CreatePredictor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_CreatePredictorBacktestExportJob.go.snap b/service/forecast/snapshot/api_op_CreatePredictorBacktestExportJob.go.snap index e5a1e51567e..616ad92bff7 100644 --- a/service/forecast/snapshot/api_op_CreatePredictorBacktestExportJob.go.snap +++ b/service/forecast/snapshot/api_op_CreatePredictorBacktestExportJob.go.snap @@ -14,7 +14,6 @@ CreatePredictorBacktestExportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_CreateWhatIfAnalysis.go.snap b/service/forecast/snapshot/api_op_CreateWhatIfAnalysis.go.snap index 7538718a43d..72c2198ecea 100644 --- a/service/forecast/snapshot/api_op_CreateWhatIfAnalysis.go.snap +++ b/service/forecast/snapshot/api_op_CreateWhatIfAnalysis.go.snap @@ -14,7 +14,6 @@ CreateWhatIfAnalysis Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_CreateWhatIfForecast.go.snap b/service/forecast/snapshot/api_op_CreateWhatIfForecast.go.snap index 883251460b6..ecbb07e4374 100644 --- a/service/forecast/snapshot/api_op_CreateWhatIfForecast.go.snap +++ b/service/forecast/snapshot/api_op_CreateWhatIfForecast.go.snap @@ -14,7 +14,6 @@ CreateWhatIfForecast Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_CreateWhatIfForecastExport.go.snap b/service/forecast/snapshot/api_op_CreateWhatIfForecastExport.go.snap index 313ec4b16c1..1ff21bf8764 100644 --- a/service/forecast/snapshot/api_op_CreateWhatIfForecastExport.go.snap +++ b/service/forecast/snapshot/api_op_CreateWhatIfForecastExport.go.snap @@ -14,7 +14,6 @@ CreateWhatIfForecastExport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_DeleteDataset.go.snap b/service/forecast/snapshot/api_op_DeleteDataset.go.snap index fd65991f000..352313df04c 100644 --- a/service/forecast/snapshot/api_op_DeleteDataset.go.snap +++ b/service/forecast/snapshot/api_op_DeleteDataset.go.snap @@ -14,7 +14,6 @@ DeleteDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_DeleteDatasetGroup.go.snap b/service/forecast/snapshot/api_op_DeleteDatasetGroup.go.snap index 91f468caa5e..a2ff660eeaf 100644 --- a/service/forecast/snapshot/api_op_DeleteDatasetGroup.go.snap +++ b/service/forecast/snapshot/api_op_DeleteDatasetGroup.go.snap @@ -14,7 +14,6 @@ DeleteDatasetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_DeleteDatasetImportJob.go.snap b/service/forecast/snapshot/api_op_DeleteDatasetImportJob.go.snap index 8c4d58b1be3..0ee9c742d1d 100644 --- a/service/forecast/snapshot/api_op_DeleteDatasetImportJob.go.snap +++ b/service/forecast/snapshot/api_op_DeleteDatasetImportJob.go.snap @@ -14,7 +14,6 @@ DeleteDatasetImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_DeleteExplainability.go.snap b/service/forecast/snapshot/api_op_DeleteExplainability.go.snap index 15b88c9a3a0..434e0dfd31c 100644 --- a/service/forecast/snapshot/api_op_DeleteExplainability.go.snap +++ b/service/forecast/snapshot/api_op_DeleteExplainability.go.snap @@ -14,7 +14,6 @@ DeleteExplainability Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_DeleteExplainabilityExport.go.snap b/service/forecast/snapshot/api_op_DeleteExplainabilityExport.go.snap index cb38f4eb0ea..e70da2337dd 100644 --- a/service/forecast/snapshot/api_op_DeleteExplainabilityExport.go.snap +++ b/service/forecast/snapshot/api_op_DeleteExplainabilityExport.go.snap @@ -14,7 +14,6 @@ DeleteExplainabilityExport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_DeleteForecast.go.snap b/service/forecast/snapshot/api_op_DeleteForecast.go.snap index ca7f6735486..1907d4aca55 100644 --- a/service/forecast/snapshot/api_op_DeleteForecast.go.snap +++ b/service/forecast/snapshot/api_op_DeleteForecast.go.snap @@ -14,7 +14,6 @@ DeleteForecast Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_DeleteForecastExportJob.go.snap b/service/forecast/snapshot/api_op_DeleteForecastExportJob.go.snap index b7878abfe9e..fc62993c235 100644 --- a/service/forecast/snapshot/api_op_DeleteForecastExportJob.go.snap +++ b/service/forecast/snapshot/api_op_DeleteForecastExportJob.go.snap @@ -14,7 +14,6 @@ DeleteForecastExportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_DeleteMonitor.go.snap b/service/forecast/snapshot/api_op_DeleteMonitor.go.snap index a83d348660b..afde7f18bf0 100644 --- a/service/forecast/snapshot/api_op_DeleteMonitor.go.snap +++ b/service/forecast/snapshot/api_op_DeleteMonitor.go.snap @@ -14,7 +14,6 @@ DeleteMonitor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_DeletePredictor.go.snap b/service/forecast/snapshot/api_op_DeletePredictor.go.snap index 75063282db6..92211029aec 100644 --- a/service/forecast/snapshot/api_op_DeletePredictor.go.snap +++ b/service/forecast/snapshot/api_op_DeletePredictor.go.snap @@ -14,7 +14,6 @@ DeletePredictor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_DeletePredictorBacktestExportJob.go.snap b/service/forecast/snapshot/api_op_DeletePredictorBacktestExportJob.go.snap index cc29a011642..29dd2066493 100644 --- a/service/forecast/snapshot/api_op_DeletePredictorBacktestExportJob.go.snap +++ b/service/forecast/snapshot/api_op_DeletePredictorBacktestExportJob.go.snap @@ -14,7 +14,6 @@ DeletePredictorBacktestExportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_DeleteResourceTree.go.snap b/service/forecast/snapshot/api_op_DeleteResourceTree.go.snap index 67fc9e71746..ef5f561ffb4 100644 --- a/service/forecast/snapshot/api_op_DeleteResourceTree.go.snap +++ b/service/forecast/snapshot/api_op_DeleteResourceTree.go.snap @@ -14,7 +14,6 @@ DeleteResourceTree Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_DeleteWhatIfAnalysis.go.snap b/service/forecast/snapshot/api_op_DeleteWhatIfAnalysis.go.snap index 9df6ee3e99b..432d0dd8673 100644 --- a/service/forecast/snapshot/api_op_DeleteWhatIfAnalysis.go.snap +++ b/service/forecast/snapshot/api_op_DeleteWhatIfAnalysis.go.snap @@ -14,7 +14,6 @@ DeleteWhatIfAnalysis Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_DeleteWhatIfForecast.go.snap b/service/forecast/snapshot/api_op_DeleteWhatIfForecast.go.snap index 04c1d014861..6370c305820 100644 --- a/service/forecast/snapshot/api_op_DeleteWhatIfForecast.go.snap +++ b/service/forecast/snapshot/api_op_DeleteWhatIfForecast.go.snap @@ -14,7 +14,6 @@ DeleteWhatIfForecast Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_DeleteWhatIfForecastExport.go.snap b/service/forecast/snapshot/api_op_DeleteWhatIfForecastExport.go.snap index 1e1e45b0d32..8e0d3bdee0c 100644 --- a/service/forecast/snapshot/api_op_DeleteWhatIfForecastExport.go.snap +++ b/service/forecast/snapshot/api_op_DeleteWhatIfForecastExport.go.snap @@ -14,7 +14,6 @@ DeleteWhatIfForecastExport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_DescribeAutoPredictor.go.snap b/service/forecast/snapshot/api_op_DescribeAutoPredictor.go.snap index 369e5782f1c..c90ec57ab2d 100644 --- a/service/forecast/snapshot/api_op_DescribeAutoPredictor.go.snap +++ b/service/forecast/snapshot/api_op_DescribeAutoPredictor.go.snap @@ -14,7 +14,6 @@ DescribeAutoPredictor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_DescribeDataset.go.snap b/service/forecast/snapshot/api_op_DescribeDataset.go.snap index d62bad12867..091c433d575 100644 --- a/service/forecast/snapshot/api_op_DescribeDataset.go.snap +++ b/service/forecast/snapshot/api_op_DescribeDataset.go.snap @@ -14,7 +14,6 @@ DescribeDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_DescribeDatasetGroup.go.snap b/service/forecast/snapshot/api_op_DescribeDatasetGroup.go.snap index 64f4b82b91c..c2d1bb327a4 100644 --- a/service/forecast/snapshot/api_op_DescribeDatasetGroup.go.snap +++ b/service/forecast/snapshot/api_op_DescribeDatasetGroup.go.snap @@ -14,7 +14,6 @@ DescribeDatasetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_DescribeDatasetImportJob.go.snap b/service/forecast/snapshot/api_op_DescribeDatasetImportJob.go.snap index eab54989651..818afa5e58f 100644 --- a/service/forecast/snapshot/api_op_DescribeDatasetImportJob.go.snap +++ b/service/forecast/snapshot/api_op_DescribeDatasetImportJob.go.snap @@ -14,7 +14,6 @@ DescribeDatasetImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_DescribeExplainability.go.snap b/service/forecast/snapshot/api_op_DescribeExplainability.go.snap index df6a16171cc..af9c31afc44 100644 --- a/service/forecast/snapshot/api_op_DescribeExplainability.go.snap +++ b/service/forecast/snapshot/api_op_DescribeExplainability.go.snap @@ -14,7 +14,6 @@ DescribeExplainability Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_DescribeExplainabilityExport.go.snap b/service/forecast/snapshot/api_op_DescribeExplainabilityExport.go.snap index 6e6b1524b79..29694add280 100644 --- a/service/forecast/snapshot/api_op_DescribeExplainabilityExport.go.snap +++ b/service/forecast/snapshot/api_op_DescribeExplainabilityExport.go.snap @@ -14,7 +14,6 @@ DescribeExplainabilityExport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_DescribeForecast.go.snap b/service/forecast/snapshot/api_op_DescribeForecast.go.snap index 90dfc08daea..de33047b1e1 100644 --- a/service/forecast/snapshot/api_op_DescribeForecast.go.snap +++ b/service/forecast/snapshot/api_op_DescribeForecast.go.snap @@ -14,7 +14,6 @@ DescribeForecast Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_DescribeForecastExportJob.go.snap b/service/forecast/snapshot/api_op_DescribeForecastExportJob.go.snap index 8bd12785b22..004c184a176 100644 --- a/service/forecast/snapshot/api_op_DescribeForecastExportJob.go.snap +++ b/service/forecast/snapshot/api_op_DescribeForecastExportJob.go.snap @@ -14,7 +14,6 @@ DescribeForecastExportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_DescribeMonitor.go.snap b/service/forecast/snapshot/api_op_DescribeMonitor.go.snap index 3351e3684b1..cace94286e9 100644 --- a/service/forecast/snapshot/api_op_DescribeMonitor.go.snap +++ b/service/forecast/snapshot/api_op_DescribeMonitor.go.snap @@ -14,7 +14,6 @@ DescribeMonitor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_DescribePredictor.go.snap b/service/forecast/snapshot/api_op_DescribePredictor.go.snap index 8d1a0dbb509..f5eb0cd9289 100644 --- a/service/forecast/snapshot/api_op_DescribePredictor.go.snap +++ b/service/forecast/snapshot/api_op_DescribePredictor.go.snap @@ -14,7 +14,6 @@ DescribePredictor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_DescribePredictorBacktestExportJob.go.snap b/service/forecast/snapshot/api_op_DescribePredictorBacktestExportJob.go.snap index 0514a15dd20..4b6987ab81c 100644 --- a/service/forecast/snapshot/api_op_DescribePredictorBacktestExportJob.go.snap +++ b/service/forecast/snapshot/api_op_DescribePredictorBacktestExportJob.go.snap @@ -14,7 +14,6 @@ DescribePredictorBacktestExportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_DescribeWhatIfAnalysis.go.snap b/service/forecast/snapshot/api_op_DescribeWhatIfAnalysis.go.snap index 9ff4644814a..8361688824c 100644 --- a/service/forecast/snapshot/api_op_DescribeWhatIfAnalysis.go.snap +++ b/service/forecast/snapshot/api_op_DescribeWhatIfAnalysis.go.snap @@ -14,7 +14,6 @@ DescribeWhatIfAnalysis Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_DescribeWhatIfForecast.go.snap b/service/forecast/snapshot/api_op_DescribeWhatIfForecast.go.snap index 98325fddb4c..9188bdf17c6 100644 --- a/service/forecast/snapshot/api_op_DescribeWhatIfForecast.go.snap +++ b/service/forecast/snapshot/api_op_DescribeWhatIfForecast.go.snap @@ -14,7 +14,6 @@ DescribeWhatIfForecast Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_DescribeWhatIfForecastExport.go.snap b/service/forecast/snapshot/api_op_DescribeWhatIfForecastExport.go.snap index 70872c0670d..6ee6702c117 100644 --- a/service/forecast/snapshot/api_op_DescribeWhatIfForecastExport.go.snap +++ b/service/forecast/snapshot/api_op_DescribeWhatIfForecastExport.go.snap @@ -14,7 +14,6 @@ DescribeWhatIfForecastExport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_GetAccuracyMetrics.go.snap b/service/forecast/snapshot/api_op_GetAccuracyMetrics.go.snap index 0a302e5c182..02645944ae3 100644 --- a/service/forecast/snapshot/api_op_GetAccuracyMetrics.go.snap +++ b/service/forecast/snapshot/api_op_GetAccuracyMetrics.go.snap @@ -14,7 +14,6 @@ GetAccuracyMetrics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_ListDatasetGroups.go.snap b/service/forecast/snapshot/api_op_ListDatasetGroups.go.snap index eabcfb11087..5135d4da59f 100644 --- a/service/forecast/snapshot/api_op_ListDatasetGroups.go.snap +++ b/service/forecast/snapshot/api_op_ListDatasetGroups.go.snap @@ -13,7 +13,6 @@ ListDatasetGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_ListDatasetImportJobs.go.snap b/service/forecast/snapshot/api_op_ListDatasetImportJobs.go.snap index d5365f2c08a..2a93b167ca1 100644 --- a/service/forecast/snapshot/api_op_ListDatasetImportJobs.go.snap +++ b/service/forecast/snapshot/api_op_ListDatasetImportJobs.go.snap @@ -14,7 +14,6 @@ ListDatasetImportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_ListDatasets.go.snap b/service/forecast/snapshot/api_op_ListDatasets.go.snap index d12c69e04c8..2417c388432 100644 --- a/service/forecast/snapshot/api_op_ListDatasets.go.snap +++ b/service/forecast/snapshot/api_op_ListDatasets.go.snap @@ -13,7 +13,6 @@ ListDatasets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_ListExplainabilities.go.snap b/service/forecast/snapshot/api_op_ListExplainabilities.go.snap index 13c96eca00b..2f089d4f039 100644 --- a/service/forecast/snapshot/api_op_ListExplainabilities.go.snap +++ b/service/forecast/snapshot/api_op_ListExplainabilities.go.snap @@ -14,7 +14,6 @@ ListExplainabilities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_ListExplainabilityExports.go.snap b/service/forecast/snapshot/api_op_ListExplainabilityExports.go.snap index aea64445728..3ed65fabbad 100644 --- a/service/forecast/snapshot/api_op_ListExplainabilityExports.go.snap +++ b/service/forecast/snapshot/api_op_ListExplainabilityExports.go.snap @@ -14,7 +14,6 @@ ListExplainabilityExports Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_ListForecastExportJobs.go.snap b/service/forecast/snapshot/api_op_ListForecastExportJobs.go.snap index 9bd1eaef2b4..b1d4b4899f0 100644 --- a/service/forecast/snapshot/api_op_ListForecastExportJobs.go.snap +++ b/service/forecast/snapshot/api_op_ListForecastExportJobs.go.snap @@ -14,7 +14,6 @@ ListForecastExportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_ListForecasts.go.snap b/service/forecast/snapshot/api_op_ListForecasts.go.snap index 190ae3b62c9..d1f03190274 100644 --- a/service/forecast/snapshot/api_op_ListForecasts.go.snap +++ b/service/forecast/snapshot/api_op_ListForecasts.go.snap @@ -14,7 +14,6 @@ ListForecasts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_ListMonitorEvaluations.go.snap b/service/forecast/snapshot/api_op_ListMonitorEvaluations.go.snap index 325de382346..814187ff83a 100644 --- a/service/forecast/snapshot/api_op_ListMonitorEvaluations.go.snap +++ b/service/forecast/snapshot/api_op_ListMonitorEvaluations.go.snap @@ -14,7 +14,6 @@ ListMonitorEvaluations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_ListMonitors.go.snap b/service/forecast/snapshot/api_op_ListMonitors.go.snap index bbedfea139a..d9dd6835f55 100644 --- a/service/forecast/snapshot/api_op_ListMonitors.go.snap +++ b/service/forecast/snapshot/api_op_ListMonitors.go.snap @@ -14,7 +14,6 @@ ListMonitors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_ListPredictorBacktestExportJobs.go.snap b/service/forecast/snapshot/api_op_ListPredictorBacktestExportJobs.go.snap index fdad7ce57aa..0c3f1e082f8 100644 --- a/service/forecast/snapshot/api_op_ListPredictorBacktestExportJobs.go.snap +++ b/service/forecast/snapshot/api_op_ListPredictorBacktestExportJobs.go.snap @@ -14,7 +14,6 @@ ListPredictorBacktestExportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_ListPredictors.go.snap b/service/forecast/snapshot/api_op_ListPredictors.go.snap index 3ad2e310df9..3ba029c3573 100644 --- a/service/forecast/snapshot/api_op_ListPredictors.go.snap +++ b/service/forecast/snapshot/api_op_ListPredictors.go.snap @@ -14,7 +14,6 @@ ListPredictors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_ListTagsForResource.go.snap b/service/forecast/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/forecast/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/forecast/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_ListWhatIfAnalyses.go.snap b/service/forecast/snapshot/api_op_ListWhatIfAnalyses.go.snap index 73b1b327da5..133adec83d9 100644 --- a/service/forecast/snapshot/api_op_ListWhatIfAnalyses.go.snap +++ b/service/forecast/snapshot/api_op_ListWhatIfAnalyses.go.snap @@ -14,7 +14,6 @@ ListWhatIfAnalyses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_ListWhatIfForecastExports.go.snap b/service/forecast/snapshot/api_op_ListWhatIfForecastExports.go.snap index 5eff12e0ea9..dea453fb53a 100644 --- a/service/forecast/snapshot/api_op_ListWhatIfForecastExports.go.snap +++ b/service/forecast/snapshot/api_op_ListWhatIfForecastExports.go.snap @@ -14,7 +14,6 @@ ListWhatIfForecastExports Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_ListWhatIfForecasts.go.snap b/service/forecast/snapshot/api_op_ListWhatIfForecasts.go.snap index 558c4df5abe..c3d481dcab7 100644 --- a/service/forecast/snapshot/api_op_ListWhatIfForecasts.go.snap +++ b/service/forecast/snapshot/api_op_ListWhatIfForecasts.go.snap @@ -14,7 +14,6 @@ ListWhatIfForecasts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_ResumeResource.go.snap b/service/forecast/snapshot/api_op_ResumeResource.go.snap index 8756f7613fe..71be098c386 100644 --- a/service/forecast/snapshot/api_op_ResumeResource.go.snap +++ b/service/forecast/snapshot/api_op_ResumeResource.go.snap @@ -14,7 +14,6 @@ ResumeResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_StopResource.go.snap b/service/forecast/snapshot/api_op_StopResource.go.snap index 061f05b7141..38c2fc8fc25 100644 --- a/service/forecast/snapshot/api_op_StopResource.go.snap +++ b/service/forecast/snapshot/api_op_StopResource.go.snap @@ -14,7 +14,6 @@ StopResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_TagResource.go.snap b/service/forecast/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/forecast/snapshot/api_op_TagResource.go.snap +++ b/service/forecast/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_UntagResource.go.snap b/service/forecast/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/forecast/snapshot/api_op_UntagResource.go.snap +++ b/service/forecast/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecast/snapshot/api_op_UpdateDatasetGroup.go.snap b/service/forecast/snapshot/api_op_UpdateDatasetGroup.go.snap index 30ea0d2d9e3..166f58ec2ae 100644 --- a/service/forecast/snapshot/api_op_UpdateDatasetGroup.go.snap +++ b/service/forecast/snapshot/api_op_UpdateDatasetGroup.go.snap @@ -14,7 +14,6 @@ UpdateDatasetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecastquery/api_client.go b/service/forecastquery/api_client.go index e9bc252768e..53fba8686e8 100644 --- a/service/forecastquery/api_client.go +++ b/service/forecastquery/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/forecastquery/api_op_QueryForecast.go b/service/forecastquery/api_op_QueryForecast.go index 2f91719a799..042bd913ee0 100644 --- a/service/forecastquery/api_op_QueryForecast.go +++ b/service/forecastquery/api_op_QueryForecast.go @@ -152,9 +152,6 @@ func (c *Client) addOperationQueryForecastMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpQueryForecastValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecastquery/api_op_QueryWhatIfForecast.go b/service/forecastquery/api_op_QueryWhatIfForecast.go index b1fde23bf44..4d6c69abe22 100644 --- a/service/forecastquery/api_op_QueryWhatIfForecast.go +++ b/service/forecastquery/api_op_QueryWhatIfForecast.go @@ -138,9 +138,6 @@ func (c *Client) addOperationQueryWhatIfForecastMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpQueryWhatIfForecastValidationMiddleware(stack); err != nil { return err } diff --git a/service/forecastquery/snapshot/api_op_QueryForecast.go.snap b/service/forecastquery/snapshot/api_op_QueryForecast.go.snap index 70e92db285a..fc19120b8bb 100644 --- a/service/forecastquery/snapshot/api_op_QueryForecast.go.snap +++ b/service/forecastquery/snapshot/api_op_QueryForecast.go.snap @@ -14,7 +14,6 @@ QueryForecast Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/forecastquery/snapshot/api_op_QueryWhatIfForecast.go.snap b/service/forecastquery/snapshot/api_op_QueryWhatIfForecast.go.snap index 4987990050c..a9052998bd9 100644 --- a/service/forecastquery/snapshot/api_op_QueryWhatIfForecast.go.snap +++ b/service/forecastquery/snapshot/api_op_QueryWhatIfForecast.go.snap @@ -14,7 +14,6 @@ QueryWhatIfForecast Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/api_client.go b/service/frauddetector/api_client.go index af9efda1d19..0284dfe5d37 100644 --- a/service/frauddetector/api_client.go +++ b/service/frauddetector/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/frauddetector/api_op_BatchCreateVariable.go b/service/frauddetector/api_op_BatchCreateVariable.go index 19d360ed538..a01a63501fe 100644 --- a/service/frauddetector/api_op_BatchCreateVariable.go +++ b/service/frauddetector/api_op_BatchCreateVariable.go @@ -115,9 +115,6 @@ func (c *Client) addOperationBatchCreateVariableMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchCreateVariableValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_BatchGetVariable.go b/service/frauddetector/api_op_BatchGetVariable.go index 123949d9a28..baabb908327 100644 --- a/service/frauddetector/api_op_BatchGetVariable.go +++ b/service/frauddetector/api_op_BatchGetVariable.go @@ -115,9 +115,6 @@ func (c *Client) addOperationBatchGetVariableMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetVariableValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_CancelBatchImportJob.go b/service/frauddetector/api_op_CancelBatchImportJob.go index 801f05001c9..f1258ac661f 100644 --- a/service/frauddetector/api_op_CancelBatchImportJob.go +++ b/service/frauddetector/api_op_CancelBatchImportJob.go @@ -110,9 +110,6 @@ func (c *Client) addOperationCancelBatchImportJobMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelBatchImportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_CancelBatchPredictionJob.go b/service/frauddetector/api_op_CancelBatchPredictionJob.go index 4ae2e0fab01..134c748f955 100644 --- a/service/frauddetector/api_op_CancelBatchPredictionJob.go +++ b/service/frauddetector/api_op_CancelBatchPredictionJob.go @@ -107,9 +107,6 @@ func (c *Client) addOperationCancelBatchPredictionJobMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelBatchPredictionJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_CreateBatchImportJob.go b/service/frauddetector/api_op_CreateBatchImportJob.go index 1874c4a9f3a..3ceb65b89b5 100644 --- a/service/frauddetector/api_op_CreateBatchImportJob.go +++ b/service/frauddetector/api_op_CreateBatchImportJob.go @@ -138,9 +138,6 @@ func (c *Client) addOperationCreateBatchImportJobMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBatchImportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_CreateBatchPredictionJob.go b/service/frauddetector/api_op_CreateBatchPredictionJob.go index 9145fa614e9..4a1876517d3 100644 --- a/service/frauddetector/api_op_CreateBatchPredictionJob.go +++ b/service/frauddetector/api_op_CreateBatchPredictionJob.go @@ -145,9 +145,6 @@ func (c *Client) addOperationCreateBatchPredictionJobMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBatchPredictionJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_CreateDetectorVersion.go b/service/frauddetector/api_op_CreateDetectorVersion.go index 2321b9d3a53..b79814d1704 100644 --- a/service/frauddetector/api_op_CreateDetectorVersion.go +++ b/service/frauddetector/api_op_CreateDetectorVersion.go @@ -150,9 +150,6 @@ func (c *Client) addOperationCreateDetectorVersionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDetectorVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_CreateList.go b/service/frauddetector/api_op_CreateList.go index fcb2cf3079c..39b12370993 100644 --- a/service/frauddetector/api_op_CreateList.go +++ b/service/frauddetector/api_op_CreateList.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateListMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateListValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_CreateModel.go b/service/frauddetector/api_op_CreateModel.go index 916c11eb09a..b03fdd25f93 100644 --- a/service/frauddetector/api_op_CreateModel.go +++ b/service/frauddetector/api_op_CreateModel.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCreateModelMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_CreateModelVersion.go b/service/frauddetector/api_op_CreateModelVersion.go index 65640bbbdf3..3f95139de0d 100644 --- a/service/frauddetector/api_op_CreateModelVersion.go +++ b/service/frauddetector/api_op_CreateModelVersion.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCreateModelVersionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateModelVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_CreateRule.go b/service/frauddetector/api_op_CreateRule.go index 31810ce3011..53265b4d5a8 100644 --- a/service/frauddetector/api_op_CreateRule.go +++ b/service/frauddetector/api_op_CreateRule.go @@ -138,9 +138,6 @@ func (c *Client) addOperationCreateRuleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_CreateVariable.go b/service/frauddetector/api_op_CreateVariable.go index 07f14f029f8..9d2480ce632 100644 --- a/service/frauddetector/api_op_CreateVariable.go +++ b/service/frauddetector/api_op_CreateVariable.go @@ -142,9 +142,6 @@ func (c *Client) addOperationCreateVariableMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVariableValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DeleteBatchImportJob.go b/service/frauddetector/api_op_DeleteBatchImportJob.go index 1992feb6fde..4c2cf9edbb9 100644 --- a/service/frauddetector/api_op_DeleteBatchImportJob.go +++ b/service/frauddetector/api_op_DeleteBatchImportJob.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteBatchImportJobMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBatchImportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DeleteBatchPredictionJob.go b/service/frauddetector/api_op_DeleteBatchPredictionJob.go index 7eee59c4565..315397dbaa3 100644 --- a/service/frauddetector/api_op_DeleteBatchPredictionJob.go +++ b/service/frauddetector/api_op_DeleteBatchPredictionJob.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteBatchPredictionJobMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBatchPredictionJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DeleteDetector.go b/service/frauddetector/api_op_DeleteDetector.go index a44900d41f7..5dedcf5ed06 100644 --- a/service/frauddetector/api_op_DeleteDetector.go +++ b/service/frauddetector/api_op_DeleteDetector.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteDetectorMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDetectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DeleteDetectorVersion.go b/service/frauddetector/api_op_DeleteDetectorVersion.go index 3b177da88e2..85d850c333c 100644 --- a/service/frauddetector/api_op_DeleteDetectorVersion.go +++ b/service/frauddetector/api_op_DeleteDetectorVersion.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteDetectorVersionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDetectorVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DeleteEntityType.go b/service/frauddetector/api_op_DeleteEntityType.go index 270bc9ae89a..52871093619 100644 --- a/service/frauddetector/api_op_DeleteEntityType.go +++ b/service/frauddetector/api_op_DeleteEntityType.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteEntityTypeMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEntityTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DeleteEvent.go b/service/frauddetector/api_op_DeleteEvent.go index d7df2b35b8f..441e8877131 100644 --- a/service/frauddetector/api_op_DeleteEvent.go +++ b/service/frauddetector/api_op_DeleteEvent.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteEventMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEventValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DeleteEventType.go b/service/frauddetector/api_op_DeleteEventType.go index 70a4f180e40..afa66e9df32 100644 --- a/service/frauddetector/api_op_DeleteEventType.go +++ b/service/frauddetector/api_op_DeleteEventType.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteEventTypeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEventTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DeleteEventsByEventType.go b/service/frauddetector/api_op_DeleteEventsByEventType.go index f2a703e656b..e6d478f1cc4 100644 --- a/service/frauddetector/api_op_DeleteEventsByEventType.go +++ b/service/frauddetector/api_op_DeleteEventsByEventType.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteEventsByEventTypeMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEventsByEventTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DeleteExternalModel.go b/service/frauddetector/api_op_DeleteExternalModel.go index 1bb98c5f87e..2abdab00a21 100644 --- a/service/frauddetector/api_op_DeleteExternalModel.go +++ b/service/frauddetector/api_op_DeleteExternalModel.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteExternalModelMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteExternalModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DeleteLabel.go b/service/frauddetector/api_op_DeleteLabel.go index 6d44c197c2f..0a210ede4ce 100644 --- a/service/frauddetector/api_op_DeleteLabel.go +++ b/service/frauddetector/api_op_DeleteLabel.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteLabelMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLabelValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DeleteList.go b/service/frauddetector/api_op_DeleteList.go index b9aa972d2f6..aa57b251333 100644 --- a/service/frauddetector/api_op_DeleteList.go +++ b/service/frauddetector/api_op_DeleteList.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteListMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteListValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DeleteModel.go b/service/frauddetector/api_op_DeleteModel.go index 0f3354989ae..6a342d8d441 100644 --- a/service/frauddetector/api_op_DeleteModel.go +++ b/service/frauddetector/api_op_DeleteModel.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteModelMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DeleteModelVersion.go b/service/frauddetector/api_op_DeleteModelVersion.go index 2bf4fb1b729..1acd915e715 100644 --- a/service/frauddetector/api_op_DeleteModelVersion.go +++ b/service/frauddetector/api_op_DeleteModelVersion.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteModelVersionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteModelVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DeleteOutcome.go b/service/frauddetector/api_op_DeleteOutcome.go index 763c70b2fdc..1027b152257 100644 --- a/service/frauddetector/api_op_DeleteOutcome.go +++ b/service/frauddetector/api_op_DeleteOutcome.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteOutcomeMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteOutcomeValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DeleteRule.go b/service/frauddetector/api_op_DeleteRule.go index ab9706d09f2..8966f2b11b8 100644 --- a/service/frauddetector/api_op_DeleteRule.go +++ b/service/frauddetector/api_op_DeleteRule.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteRuleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DeleteVariable.go b/service/frauddetector/api_op_DeleteVariable.go index ba51ba148d6..bc3a10bba8d 100644 --- a/service/frauddetector/api_op_DeleteVariable.go +++ b/service/frauddetector/api_op_DeleteVariable.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteVariableMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVariableValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DescribeDetector.go b/service/frauddetector/api_op_DescribeDetector.go index 695204261a9..b308d20a8cc 100644 --- a/service/frauddetector/api_op_DescribeDetector.go +++ b/service/frauddetector/api_op_DescribeDetector.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeDetectorMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDetectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_DescribeModelVersions.go b/service/frauddetector/api_op_DescribeModelVersions.go index e97e986cf64..569fee25024 100644 --- a/service/frauddetector/api_op_DescribeModelVersions.go +++ b/service/frauddetector/api_op_DescribeModelVersions.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeModelVersionsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeModelVersions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/frauddetector/api_op_GetBatchImportJobs.go b/service/frauddetector/api_op_GetBatchImportJobs.go index 04b4393df4e..c78c3edf3c4 100644 --- a/service/frauddetector/api_op_GetBatchImportJobs.go +++ b/service/frauddetector/api_op_GetBatchImportJobs.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetBatchImportJobsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBatchImportJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/frauddetector/api_op_GetBatchPredictionJobs.go b/service/frauddetector/api_op_GetBatchPredictionJobs.go index 471d396a18b..21c15516f6e 100644 --- a/service/frauddetector/api_op_GetBatchPredictionJobs.go +++ b/service/frauddetector/api_op_GetBatchPredictionJobs.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetBatchPredictionJobsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBatchPredictionJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/frauddetector/api_op_GetDeleteEventsByEventTypeStatus.go b/service/frauddetector/api_op_GetDeleteEventsByEventTypeStatus.go index 7bb1ef4fe39..f61ea5c2d52 100644 --- a/service/frauddetector/api_op_GetDeleteEventsByEventTypeStatus.go +++ b/service/frauddetector/api_op_GetDeleteEventsByEventTypeStatus.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetDeleteEventsByEventTypeStatusMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeleteEventsByEventTypeStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_GetDetectorVersion.go b/service/frauddetector/api_op_GetDetectorVersion.go index a49f663b158..b4f145128a9 100644 --- a/service/frauddetector/api_op_GetDetectorVersion.go +++ b/service/frauddetector/api_op_GetDetectorVersion.go @@ -155,9 +155,6 @@ func (c *Client) addOperationGetDetectorVersionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDetectorVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_GetDetectors.go b/service/frauddetector/api_op_GetDetectors.go index 50a1c17a723..6bd4a05adaa 100644 --- a/service/frauddetector/api_op_GetDetectors.go +++ b/service/frauddetector/api_op_GetDetectors.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetDetectorsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDetectors(options.Region), middleware.Before); err != nil { return err } diff --git a/service/frauddetector/api_op_GetEntityTypes.go b/service/frauddetector/api_op_GetEntityTypes.go index a0ba492f08f..0149c68f7bb 100644 --- a/service/frauddetector/api_op_GetEntityTypes.go +++ b/service/frauddetector/api_op_GetEntityTypes.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetEntityTypesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEntityTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/frauddetector/api_op_GetEvent.go b/service/frauddetector/api_op_GetEvent.go index a8531f8f966..8662154bb73 100644 --- a/service/frauddetector/api_op_GetEvent.go +++ b/service/frauddetector/api_op_GetEvent.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetEventMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEventValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_GetEventPrediction.go b/service/frauddetector/api_op_GetEventPrediction.go index 047a3772f9e..a6ef5644d6a 100644 --- a/service/frauddetector/api_op_GetEventPrediction.go +++ b/service/frauddetector/api_op_GetEventPrediction.go @@ -178,9 +178,6 @@ func (c *Client) addOperationGetEventPredictionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEventPredictionValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_GetEventPredictionMetadata.go b/service/frauddetector/api_op_GetEventPredictionMetadata.go index 607561c8f3e..4626e7c032d 100644 --- a/service/frauddetector/api_op_GetEventPredictionMetadata.go +++ b/service/frauddetector/api_op_GetEventPredictionMetadata.go @@ -186,9 +186,6 @@ func (c *Client) addOperationGetEventPredictionMetadataMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEventPredictionMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_GetEventTypes.go b/service/frauddetector/api_op_GetEventTypes.go index 1297f280df3..3bc211fd42c 100644 --- a/service/frauddetector/api_op_GetEventTypes.go +++ b/service/frauddetector/api_op_GetEventTypes.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetEventTypesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEventTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/frauddetector/api_op_GetExternalModels.go b/service/frauddetector/api_op_GetExternalModels.go index 889a297634c..dafe1df2ca8 100644 --- a/service/frauddetector/api_op_GetExternalModels.go +++ b/service/frauddetector/api_op_GetExternalModels.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetExternalModelsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetExternalModels(options.Region), middleware.Before); err != nil { return err } diff --git a/service/frauddetector/api_op_GetKMSEncryptionKey.go b/service/frauddetector/api_op_GetKMSEncryptionKey.go index 781239be137..4bf768a44ad 100644 --- a/service/frauddetector/api_op_GetKMSEncryptionKey.go +++ b/service/frauddetector/api_op_GetKMSEncryptionKey.go @@ -107,9 +107,6 @@ func (c *Client) addOperationGetKMSEncryptionKeyMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetKMSEncryptionKey(options.Region), middleware.Before); err != nil { return err } diff --git a/service/frauddetector/api_op_GetLabels.go b/service/frauddetector/api_op_GetLabels.go index c9cb706b39f..19a69e2db70 100644 --- a/service/frauddetector/api_op_GetLabels.go +++ b/service/frauddetector/api_op_GetLabels.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetLabelsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLabels(options.Region), middleware.Before); err != nil { return err } diff --git a/service/frauddetector/api_op_GetListElements.go b/service/frauddetector/api_op_GetListElements.go index 6767113547d..4f9e1c8d805 100644 --- a/service/frauddetector/api_op_GetListElements.go +++ b/service/frauddetector/api_op_GetListElements.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetListElementsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetListElementsValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_GetListsMetadata.go b/service/frauddetector/api_op_GetListsMetadata.go index fc490c1f721..351cc2d870d 100644 --- a/service/frauddetector/api_op_GetListsMetadata.go +++ b/service/frauddetector/api_op_GetListsMetadata.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetListsMetadataMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetListsMetadata(options.Region), middleware.Before); err != nil { return err } diff --git a/service/frauddetector/api_op_GetModelVersion.go b/service/frauddetector/api_op_GetModelVersion.go index 5a557f087d9..6a86066fc0d 100644 --- a/service/frauddetector/api_op_GetModelVersion.go +++ b/service/frauddetector/api_op_GetModelVersion.go @@ -168,9 +168,6 @@ func (c *Client) addOperationGetModelVersionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetModelVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_GetModels.go b/service/frauddetector/api_op_GetModels.go index 695f7157907..608ec535be3 100644 --- a/service/frauddetector/api_op_GetModels.go +++ b/service/frauddetector/api_op_GetModels.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetModelsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetModels(options.Region), middleware.Before); err != nil { return err } diff --git a/service/frauddetector/api_op_GetOutcomes.go b/service/frauddetector/api_op_GetOutcomes.go index 613c194b406..4f5073183d3 100644 --- a/service/frauddetector/api_op_GetOutcomes.go +++ b/service/frauddetector/api_op_GetOutcomes.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetOutcomesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOutcomes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/frauddetector/api_op_GetRules.go b/service/frauddetector/api_op_GetRules.go index ee8dc67ef95..82a2440b18f 100644 --- a/service/frauddetector/api_op_GetRules.go +++ b/service/frauddetector/api_op_GetRules.go @@ -136,9 +136,6 @@ func (c *Client) addOperationGetRulesMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_GetVariables.go b/service/frauddetector/api_op_GetVariables.go index d2df126b705..fc8451c806e 100644 --- a/service/frauddetector/api_op_GetVariables.go +++ b/service/frauddetector/api_op_GetVariables.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetVariablesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetVariables(options.Region), middleware.Before); err != nil { return err } diff --git a/service/frauddetector/api_op_ListEventPredictions.go b/service/frauddetector/api_op_ListEventPredictions.go index 8bdda67e33a..ab7a0a53210 100644 --- a/service/frauddetector/api_op_ListEventPredictions.go +++ b/service/frauddetector/api_op_ListEventPredictions.go @@ -146,9 +146,6 @@ func (c *Client) addOperationListEventPredictionsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEventPredictionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_ListTagsForResource.go b/service/frauddetector/api_op_ListTagsForResource.go index bf40f9682b6..d43ac6aabbc 100644 --- a/service/frauddetector/api_op_ListTagsForResource.go +++ b/service/frauddetector/api_op_ListTagsForResource.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_PutDetector.go b/service/frauddetector/api_op_PutDetector.go index 99118abc598..1951d88d5bf 100644 --- a/service/frauddetector/api_op_PutDetector.go +++ b/service/frauddetector/api_op_PutDetector.go @@ -119,9 +119,6 @@ func (c *Client) addOperationPutDetectorMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutDetectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_PutEntityType.go b/service/frauddetector/api_op_PutEntityType.go index d0a36b7efda..1a126a8b12c 100644 --- a/service/frauddetector/api_op_PutEntityType.go +++ b/service/frauddetector/api_op_PutEntityType.go @@ -117,9 +117,6 @@ func (c *Client) addOperationPutEntityTypeMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutEntityTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_PutEventType.go b/service/frauddetector/api_op_PutEventType.go index 5bd8a832d41..198057136f4 100644 --- a/service/frauddetector/api_op_PutEventType.go +++ b/service/frauddetector/api_op_PutEventType.go @@ -141,9 +141,6 @@ func (c *Client) addOperationPutEventTypeMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutEventTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_PutExternalModel.go b/service/frauddetector/api_op_PutExternalModel.go index 7b3d266538f..9d77f664f2b 100644 --- a/service/frauddetector/api_op_PutExternalModel.go +++ b/service/frauddetector/api_op_PutExternalModel.go @@ -138,9 +138,6 @@ func (c *Client) addOperationPutExternalModelMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutExternalModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_PutKMSEncryptionKey.go b/service/frauddetector/api_op_PutKMSEncryptionKey.go index 6f1dda0485a..ab9869ea5af 100644 --- a/service/frauddetector/api_op_PutKMSEncryptionKey.go +++ b/service/frauddetector/api_op_PutKMSEncryptionKey.go @@ -110,9 +110,6 @@ func (c *Client) addOperationPutKMSEncryptionKeyMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutKMSEncryptionKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_PutLabel.go b/service/frauddetector/api_op_PutLabel.go index 75e0578fa6f..8e9fedc0cc0 100644 --- a/service/frauddetector/api_op_PutLabel.go +++ b/service/frauddetector/api_op_PutLabel.go @@ -116,9 +116,6 @@ func (c *Client) addOperationPutLabelMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutLabelValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_PutOutcome.go b/service/frauddetector/api_op_PutOutcome.go index dab213ec569..1cfb7f9e72a 100644 --- a/service/frauddetector/api_op_PutOutcome.go +++ b/service/frauddetector/api_op_PutOutcome.go @@ -114,9 +114,6 @@ func (c *Client) addOperationPutOutcomeMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutOutcomeValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_SendEvent.go b/service/frauddetector/api_op_SendEvent.go index a50109cfca5..2e6e9a6297d 100644 --- a/service/frauddetector/api_op_SendEvent.go +++ b/service/frauddetector/api_op_SendEvent.go @@ -139,9 +139,6 @@ func (c *Client) addOperationSendEventMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendEventValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_TagResource.go b/service/frauddetector/api_op_TagResource.go index 87e016746f3..782a5449c0f 100644 --- a/service/frauddetector/api_op_TagResource.go +++ b/service/frauddetector/api_op_TagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_UntagResource.go b/service/frauddetector/api_op_UntagResource.go index 3b0ce7e0531..a21c0a2d5b0 100644 --- a/service/frauddetector/api_op_UntagResource.go +++ b/service/frauddetector/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_UpdateDetectorVersion.go b/service/frauddetector/api_op_UpdateDetectorVersion.go index bd5ed0d6bc9..fd0e5a6d85e 100644 --- a/service/frauddetector/api_op_UpdateDetectorVersion.go +++ b/service/frauddetector/api_op_UpdateDetectorVersion.go @@ -145,9 +145,6 @@ func (c *Client) addOperationUpdateDetectorVersionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDetectorVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_UpdateDetectorVersionMetadata.go b/service/frauddetector/api_op_UpdateDetectorVersionMetadata.go index 5d7b9624155..3c746282f56 100644 --- a/service/frauddetector/api_op_UpdateDetectorVersionMetadata.go +++ b/service/frauddetector/api_op_UpdateDetectorVersionMetadata.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateDetectorVersionMetadataMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDetectorVersionMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_UpdateDetectorVersionStatus.go b/service/frauddetector/api_op_UpdateDetectorVersionStatus.go index 9eac88be435..a9b41a9d03c 100644 --- a/service/frauddetector/api_op_UpdateDetectorVersionStatus.go +++ b/service/frauddetector/api_op_UpdateDetectorVersionStatus.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateDetectorVersionStatusMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDetectorVersionStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_UpdateEventLabel.go b/service/frauddetector/api_op_UpdateEventLabel.go index cba10b5e9e7..3225de0bc27 100644 --- a/service/frauddetector/api_op_UpdateEventLabel.go +++ b/service/frauddetector/api_op_UpdateEventLabel.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateEventLabelMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEventLabelValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_UpdateList.go b/service/frauddetector/api_op_UpdateList.go index 00be4c8fc76..44407840b90 100644 --- a/service/frauddetector/api_op_UpdateList.go +++ b/service/frauddetector/api_op_UpdateList.go @@ -134,9 +134,6 @@ func (c *Client) addOperationUpdateListMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateListValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_UpdateModel.go b/service/frauddetector/api_op_UpdateModel.go index 6f6bd4a9339..0d3db22373c 100644 --- a/service/frauddetector/api_op_UpdateModel.go +++ b/service/frauddetector/api_op_UpdateModel.go @@ -116,9 +116,6 @@ func (c *Client) addOperationUpdateModelMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_UpdateModelVersion.go b/service/frauddetector/api_op_UpdateModelVersion.go index 3f9786542b9..222950e0b18 100644 --- a/service/frauddetector/api_op_UpdateModelVersion.go +++ b/service/frauddetector/api_op_UpdateModelVersion.go @@ -146,9 +146,6 @@ func (c *Client) addOperationUpdateModelVersionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateModelVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_UpdateModelVersionStatus.go b/service/frauddetector/api_op_UpdateModelVersionStatus.go index 5062c74e531..8c6568ea560 100644 --- a/service/frauddetector/api_op_UpdateModelVersionStatus.go +++ b/service/frauddetector/api_op_UpdateModelVersionStatus.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateModelVersionStatusMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateModelVersionStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_UpdateRuleMetadata.go b/service/frauddetector/api_op_UpdateRuleMetadata.go index 7dd5ef58810..24e07d57c4c 100644 --- a/service/frauddetector/api_op_UpdateRuleMetadata.go +++ b/service/frauddetector/api_op_UpdateRuleMetadata.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUpdateRuleMetadataMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRuleMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_UpdateRuleVersion.go b/service/frauddetector/api_op_UpdateRuleVersion.go index cb2cfda86c5..282e262815d 100644 --- a/service/frauddetector/api_op_UpdateRuleVersion.go +++ b/service/frauddetector/api_op_UpdateRuleVersion.go @@ -134,9 +134,6 @@ func (c *Client) addOperationUpdateRuleVersionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRuleVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/api_op_UpdateVariable.go b/service/frauddetector/api_op_UpdateVariable.go index 3338ad0427c..8caa43084e0 100644 --- a/service/frauddetector/api_op_UpdateVariable.go +++ b/service/frauddetector/api_op_UpdateVariable.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateVariableMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateVariableValidationMiddleware(stack); err != nil { return err } diff --git a/service/frauddetector/snapshot/api_op_BatchCreateVariable.go.snap b/service/frauddetector/snapshot/api_op_BatchCreateVariable.go.snap index 17104a014d9..938ec1a0206 100644 --- a/service/frauddetector/snapshot/api_op_BatchCreateVariable.go.snap +++ b/service/frauddetector/snapshot/api_op_BatchCreateVariable.go.snap @@ -14,7 +14,6 @@ BatchCreateVariable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_BatchGetVariable.go.snap b/service/frauddetector/snapshot/api_op_BatchGetVariable.go.snap index 7908b1ed6b9..25638fd15a5 100644 --- a/service/frauddetector/snapshot/api_op_BatchGetVariable.go.snap +++ b/service/frauddetector/snapshot/api_op_BatchGetVariable.go.snap @@ -14,7 +14,6 @@ BatchGetVariable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_CancelBatchImportJob.go.snap b/service/frauddetector/snapshot/api_op_CancelBatchImportJob.go.snap index 0101b38885d..4ef1f744a7b 100644 --- a/service/frauddetector/snapshot/api_op_CancelBatchImportJob.go.snap +++ b/service/frauddetector/snapshot/api_op_CancelBatchImportJob.go.snap @@ -14,7 +14,6 @@ CancelBatchImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_CancelBatchPredictionJob.go.snap b/service/frauddetector/snapshot/api_op_CancelBatchPredictionJob.go.snap index cd786589d2c..cdc2773a6cf 100644 --- a/service/frauddetector/snapshot/api_op_CancelBatchPredictionJob.go.snap +++ b/service/frauddetector/snapshot/api_op_CancelBatchPredictionJob.go.snap @@ -14,7 +14,6 @@ CancelBatchPredictionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_CreateBatchImportJob.go.snap b/service/frauddetector/snapshot/api_op_CreateBatchImportJob.go.snap index 4c0f99bc404..dc5395a06e0 100644 --- a/service/frauddetector/snapshot/api_op_CreateBatchImportJob.go.snap +++ b/service/frauddetector/snapshot/api_op_CreateBatchImportJob.go.snap @@ -14,7 +14,6 @@ CreateBatchImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_CreateBatchPredictionJob.go.snap b/service/frauddetector/snapshot/api_op_CreateBatchPredictionJob.go.snap index f0fa090c6a8..3b42b0463ed 100644 --- a/service/frauddetector/snapshot/api_op_CreateBatchPredictionJob.go.snap +++ b/service/frauddetector/snapshot/api_op_CreateBatchPredictionJob.go.snap @@ -14,7 +14,6 @@ CreateBatchPredictionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_CreateDetectorVersion.go.snap b/service/frauddetector/snapshot/api_op_CreateDetectorVersion.go.snap index 1fb35391334..38379fbe124 100644 --- a/service/frauddetector/snapshot/api_op_CreateDetectorVersion.go.snap +++ b/service/frauddetector/snapshot/api_op_CreateDetectorVersion.go.snap @@ -14,7 +14,6 @@ CreateDetectorVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_CreateList.go.snap b/service/frauddetector/snapshot/api_op_CreateList.go.snap index f3f244ac9a7..cdd37be4613 100644 --- a/service/frauddetector/snapshot/api_op_CreateList.go.snap +++ b/service/frauddetector/snapshot/api_op_CreateList.go.snap @@ -14,7 +14,6 @@ CreateList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_CreateModel.go.snap b/service/frauddetector/snapshot/api_op_CreateModel.go.snap index 362f06e40d9..977cbdf5ef8 100644 --- a/service/frauddetector/snapshot/api_op_CreateModel.go.snap +++ b/service/frauddetector/snapshot/api_op_CreateModel.go.snap @@ -14,7 +14,6 @@ CreateModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_CreateModelVersion.go.snap b/service/frauddetector/snapshot/api_op_CreateModelVersion.go.snap index 7e5787441aa..d61fa96b9b7 100644 --- a/service/frauddetector/snapshot/api_op_CreateModelVersion.go.snap +++ b/service/frauddetector/snapshot/api_op_CreateModelVersion.go.snap @@ -14,7 +14,6 @@ CreateModelVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_CreateRule.go.snap b/service/frauddetector/snapshot/api_op_CreateRule.go.snap index ccb56fcbaaa..0f845aa30f2 100644 --- a/service/frauddetector/snapshot/api_op_CreateRule.go.snap +++ b/service/frauddetector/snapshot/api_op_CreateRule.go.snap @@ -14,7 +14,6 @@ CreateRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_CreateVariable.go.snap b/service/frauddetector/snapshot/api_op_CreateVariable.go.snap index 3b5a564cff9..6a65d1824d5 100644 --- a/service/frauddetector/snapshot/api_op_CreateVariable.go.snap +++ b/service/frauddetector/snapshot/api_op_CreateVariable.go.snap @@ -14,7 +14,6 @@ CreateVariable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_DeleteBatchImportJob.go.snap b/service/frauddetector/snapshot/api_op_DeleteBatchImportJob.go.snap index 4a25e923e10..d039c962e4f 100644 --- a/service/frauddetector/snapshot/api_op_DeleteBatchImportJob.go.snap +++ b/service/frauddetector/snapshot/api_op_DeleteBatchImportJob.go.snap @@ -14,7 +14,6 @@ DeleteBatchImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_DeleteBatchPredictionJob.go.snap b/service/frauddetector/snapshot/api_op_DeleteBatchPredictionJob.go.snap index 4c4e65031af..ac638344958 100644 --- a/service/frauddetector/snapshot/api_op_DeleteBatchPredictionJob.go.snap +++ b/service/frauddetector/snapshot/api_op_DeleteBatchPredictionJob.go.snap @@ -14,7 +14,6 @@ DeleteBatchPredictionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_DeleteDetector.go.snap b/service/frauddetector/snapshot/api_op_DeleteDetector.go.snap index c2be973e9fb..bfe48c8817a 100644 --- a/service/frauddetector/snapshot/api_op_DeleteDetector.go.snap +++ b/service/frauddetector/snapshot/api_op_DeleteDetector.go.snap @@ -14,7 +14,6 @@ DeleteDetector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_DeleteDetectorVersion.go.snap b/service/frauddetector/snapshot/api_op_DeleteDetectorVersion.go.snap index 438eb0b9c8e..b86650d1c61 100644 --- a/service/frauddetector/snapshot/api_op_DeleteDetectorVersion.go.snap +++ b/service/frauddetector/snapshot/api_op_DeleteDetectorVersion.go.snap @@ -14,7 +14,6 @@ DeleteDetectorVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_DeleteEntityType.go.snap b/service/frauddetector/snapshot/api_op_DeleteEntityType.go.snap index 7183a3f5de4..8318a48d7a8 100644 --- a/service/frauddetector/snapshot/api_op_DeleteEntityType.go.snap +++ b/service/frauddetector/snapshot/api_op_DeleteEntityType.go.snap @@ -14,7 +14,6 @@ DeleteEntityType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_DeleteEvent.go.snap b/service/frauddetector/snapshot/api_op_DeleteEvent.go.snap index a247afbd860..3f39afd40bd 100644 --- a/service/frauddetector/snapshot/api_op_DeleteEvent.go.snap +++ b/service/frauddetector/snapshot/api_op_DeleteEvent.go.snap @@ -14,7 +14,6 @@ DeleteEvent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_DeleteEventType.go.snap b/service/frauddetector/snapshot/api_op_DeleteEventType.go.snap index 942af75952a..e3c7df8edc9 100644 --- a/service/frauddetector/snapshot/api_op_DeleteEventType.go.snap +++ b/service/frauddetector/snapshot/api_op_DeleteEventType.go.snap @@ -14,7 +14,6 @@ DeleteEventType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_DeleteEventsByEventType.go.snap b/service/frauddetector/snapshot/api_op_DeleteEventsByEventType.go.snap index 27fb9d7a14a..74c3c3fa40e 100644 --- a/service/frauddetector/snapshot/api_op_DeleteEventsByEventType.go.snap +++ b/service/frauddetector/snapshot/api_op_DeleteEventsByEventType.go.snap @@ -14,7 +14,6 @@ DeleteEventsByEventType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_DeleteExternalModel.go.snap b/service/frauddetector/snapshot/api_op_DeleteExternalModel.go.snap index 19444ca059a..1af92ff9857 100644 --- a/service/frauddetector/snapshot/api_op_DeleteExternalModel.go.snap +++ b/service/frauddetector/snapshot/api_op_DeleteExternalModel.go.snap @@ -14,7 +14,6 @@ DeleteExternalModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_DeleteLabel.go.snap b/service/frauddetector/snapshot/api_op_DeleteLabel.go.snap index 77991a1a0e3..60d36b8b0be 100644 --- a/service/frauddetector/snapshot/api_op_DeleteLabel.go.snap +++ b/service/frauddetector/snapshot/api_op_DeleteLabel.go.snap @@ -14,7 +14,6 @@ DeleteLabel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_DeleteList.go.snap b/service/frauddetector/snapshot/api_op_DeleteList.go.snap index bb66380b3ef..7466e552f1e 100644 --- a/service/frauddetector/snapshot/api_op_DeleteList.go.snap +++ b/service/frauddetector/snapshot/api_op_DeleteList.go.snap @@ -14,7 +14,6 @@ DeleteList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_DeleteModel.go.snap b/service/frauddetector/snapshot/api_op_DeleteModel.go.snap index e7d81439c82..4e87eb729a8 100644 --- a/service/frauddetector/snapshot/api_op_DeleteModel.go.snap +++ b/service/frauddetector/snapshot/api_op_DeleteModel.go.snap @@ -14,7 +14,6 @@ DeleteModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_DeleteModelVersion.go.snap b/service/frauddetector/snapshot/api_op_DeleteModelVersion.go.snap index d02d1e14c42..e73269cb358 100644 --- a/service/frauddetector/snapshot/api_op_DeleteModelVersion.go.snap +++ b/service/frauddetector/snapshot/api_op_DeleteModelVersion.go.snap @@ -14,7 +14,6 @@ DeleteModelVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_DeleteOutcome.go.snap b/service/frauddetector/snapshot/api_op_DeleteOutcome.go.snap index 85721814630..9ec368421fb 100644 --- a/service/frauddetector/snapshot/api_op_DeleteOutcome.go.snap +++ b/service/frauddetector/snapshot/api_op_DeleteOutcome.go.snap @@ -14,7 +14,6 @@ DeleteOutcome Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_DeleteRule.go.snap b/service/frauddetector/snapshot/api_op_DeleteRule.go.snap index dd841287b59..a6bc8103292 100644 --- a/service/frauddetector/snapshot/api_op_DeleteRule.go.snap +++ b/service/frauddetector/snapshot/api_op_DeleteRule.go.snap @@ -14,7 +14,6 @@ DeleteRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_DeleteVariable.go.snap b/service/frauddetector/snapshot/api_op_DeleteVariable.go.snap index 91ee62ed364..a330f864ec8 100644 --- a/service/frauddetector/snapshot/api_op_DeleteVariable.go.snap +++ b/service/frauddetector/snapshot/api_op_DeleteVariable.go.snap @@ -14,7 +14,6 @@ DeleteVariable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_DescribeDetector.go.snap b/service/frauddetector/snapshot/api_op_DescribeDetector.go.snap index 7587a4774f9..1da7d4efa5c 100644 --- a/service/frauddetector/snapshot/api_op_DescribeDetector.go.snap +++ b/service/frauddetector/snapshot/api_op_DescribeDetector.go.snap @@ -14,7 +14,6 @@ DescribeDetector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_DescribeModelVersions.go.snap b/service/frauddetector/snapshot/api_op_DescribeModelVersions.go.snap index a3e92ec1e32..d4f3644dd73 100644 --- a/service/frauddetector/snapshot/api_op_DescribeModelVersions.go.snap +++ b/service/frauddetector/snapshot/api_op_DescribeModelVersions.go.snap @@ -13,7 +13,6 @@ DescribeModelVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_GetBatchImportJobs.go.snap b/service/frauddetector/snapshot/api_op_GetBatchImportJobs.go.snap index 46d8f10fa28..ebee76580a0 100644 --- a/service/frauddetector/snapshot/api_op_GetBatchImportJobs.go.snap +++ b/service/frauddetector/snapshot/api_op_GetBatchImportJobs.go.snap @@ -13,7 +13,6 @@ GetBatchImportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_GetBatchPredictionJobs.go.snap b/service/frauddetector/snapshot/api_op_GetBatchPredictionJobs.go.snap index 0f0148b07d8..4f111e0bcbf 100644 --- a/service/frauddetector/snapshot/api_op_GetBatchPredictionJobs.go.snap +++ b/service/frauddetector/snapshot/api_op_GetBatchPredictionJobs.go.snap @@ -13,7 +13,6 @@ GetBatchPredictionJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_GetDeleteEventsByEventTypeStatus.go.snap b/service/frauddetector/snapshot/api_op_GetDeleteEventsByEventTypeStatus.go.snap index c9976f94f88..b9e17add585 100644 --- a/service/frauddetector/snapshot/api_op_GetDeleteEventsByEventTypeStatus.go.snap +++ b/service/frauddetector/snapshot/api_op_GetDeleteEventsByEventTypeStatus.go.snap @@ -14,7 +14,6 @@ GetDeleteEventsByEventTypeStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_GetDetectorVersion.go.snap b/service/frauddetector/snapshot/api_op_GetDetectorVersion.go.snap index 56816ecb299..c9d7baf9406 100644 --- a/service/frauddetector/snapshot/api_op_GetDetectorVersion.go.snap +++ b/service/frauddetector/snapshot/api_op_GetDetectorVersion.go.snap @@ -14,7 +14,6 @@ GetDetectorVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_GetDetectors.go.snap b/service/frauddetector/snapshot/api_op_GetDetectors.go.snap index f791a53bee4..ab5427225f0 100644 --- a/service/frauddetector/snapshot/api_op_GetDetectors.go.snap +++ b/service/frauddetector/snapshot/api_op_GetDetectors.go.snap @@ -13,7 +13,6 @@ GetDetectors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_GetEntityTypes.go.snap b/service/frauddetector/snapshot/api_op_GetEntityTypes.go.snap index 312e1f57e0f..e93efb35ca3 100644 --- a/service/frauddetector/snapshot/api_op_GetEntityTypes.go.snap +++ b/service/frauddetector/snapshot/api_op_GetEntityTypes.go.snap @@ -13,7 +13,6 @@ GetEntityTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_GetEvent.go.snap b/service/frauddetector/snapshot/api_op_GetEvent.go.snap index 10944da81f1..0ef1fd0a271 100644 --- a/service/frauddetector/snapshot/api_op_GetEvent.go.snap +++ b/service/frauddetector/snapshot/api_op_GetEvent.go.snap @@ -14,7 +14,6 @@ GetEvent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_GetEventPrediction.go.snap b/service/frauddetector/snapshot/api_op_GetEventPrediction.go.snap index cd736a71337..906f3c7ad78 100644 --- a/service/frauddetector/snapshot/api_op_GetEventPrediction.go.snap +++ b/service/frauddetector/snapshot/api_op_GetEventPrediction.go.snap @@ -14,7 +14,6 @@ GetEventPrediction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_GetEventPredictionMetadata.go.snap b/service/frauddetector/snapshot/api_op_GetEventPredictionMetadata.go.snap index 638693d5244..fa42455c07c 100644 --- a/service/frauddetector/snapshot/api_op_GetEventPredictionMetadata.go.snap +++ b/service/frauddetector/snapshot/api_op_GetEventPredictionMetadata.go.snap @@ -14,7 +14,6 @@ GetEventPredictionMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_GetEventTypes.go.snap b/service/frauddetector/snapshot/api_op_GetEventTypes.go.snap index 7da8d1f64e1..8de781af818 100644 --- a/service/frauddetector/snapshot/api_op_GetEventTypes.go.snap +++ b/service/frauddetector/snapshot/api_op_GetEventTypes.go.snap @@ -13,7 +13,6 @@ GetEventTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_GetExternalModels.go.snap b/service/frauddetector/snapshot/api_op_GetExternalModels.go.snap index 89cb3452920..5cc4aada940 100644 --- a/service/frauddetector/snapshot/api_op_GetExternalModels.go.snap +++ b/service/frauddetector/snapshot/api_op_GetExternalModels.go.snap @@ -13,7 +13,6 @@ GetExternalModels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_GetKMSEncryptionKey.go.snap b/service/frauddetector/snapshot/api_op_GetKMSEncryptionKey.go.snap index eee7b80d761..24a19fa130e 100644 --- a/service/frauddetector/snapshot/api_op_GetKMSEncryptionKey.go.snap +++ b/service/frauddetector/snapshot/api_op_GetKMSEncryptionKey.go.snap @@ -13,7 +13,6 @@ GetKMSEncryptionKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_GetLabels.go.snap b/service/frauddetector/snapshot/api_op_GetLabels.go.snap index ea78e7aaf55..291b3a4b5ca 100644 --- a/service/frauddetector/snapshot/api_op_GetLabels.go.snap +++ b/service/frauddetector/snapshot/api_op_GetLabels.go.snap @@ -13,7 +13,6 @@ GetLabels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_GetListElements.go.snap b/service/frauddetector/snapshot/api_op_GetListElements.go.snap index b3281d7e63e..0a7bd5d4abf 100644 --- a/service/frauddetector/snapshot/api_op_GetListElements.go.snap +++ b/service/frauddetector/snapshot/api_op_GetListElements.go.snap @@ -14,7 +14,6 @@ GetListElements Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_GetListsMetadata.go.snap b/service/frauddetector/snapshot/api_op_GetListsMetadata.go.snap index 0dcffaecb89..48a9f9eff7d 100644 --- a/service/frauddetector/snapshot/api_op_GetListsMetadata.go.snap +++ b/service/frauddetector/snapshot/api_op_GetListsMetadata.go.snap @@ -13,7 +13,6 @@ GetListsMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_GetModelVersion.go.snap b/service/frauddetector/snapshot/api_op_GetModelVersion.go.snap index a8d20fd27fe..ffc12a9020c 100644 --- a/service/frauddetector/snapshot/api_op_GetModelVersion.go.snap +++ b/service/frauddetector/snapshot/api_op_GetModelVersion.go.snap @@ -14,7 +14,6 @@ GetModelVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_GetModels.go.snap b/service/frauddetector/snapshot/api_op_GetModels.go.snap index 180db1b29e3..93667c10abb 100644 --- a/service/frauddetector/snapshot/api_op_GetModels.go.snap +++ b/service/frauddetector/snapshot/api_op_GetModels.go.snap @@ -13,7 +13,6 @@ GetModels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_GetOutcomes.go.snap b/service/frauddetector/snapshot/api_op_GetOutcomes.go.snap index 07cd43f0ddd..ac44c1bd5e0 100644 --- a/service/frauddetector/snapshot/api_op_GetOutcomes.go.snap +++ b/service/frauddetector/snapshot/api_op_GetOutcomes.go.snap @@ -13,7 +13,6 @@ GetOutcomes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_GetRules.go.snap b/service/frauddetector/snapshot/api_op_GetRules.go.snap index 8d7de0c8d4f..bba22cde3a5 100644 --- a/service/frauddetector/snapshot/api_op_GetRules.go.snap +++ b/service/frauddetector/snapshot/api_op_GetRules.go.snap @@ -14,7 +14,6 @@ GetRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_GetVariables.go.snap b/service/frauddetector/snapshot/api_op_GetVariables.go.snap index fbdcd6f9517..8527d9ce12a 100644 --- a/service/frauddetector/snapshot/api_op_GetVariables.go.snap +++ b/service/frauddetector/snapshot/api_op_GetVariables.go.snap @@ -13,7 +13,6 @@ GetVariables Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_ListEventPredictions.go.snap b/service/frauddetector/snapshot/api_op_ListEventPredictions.go.snap index a32b63c0e6f..a081710cb5c 100644 --- a/service/frauddetector/snapshot/api_op_ListEventPredictions.go.snap +++ b/service/frauddetector/snapshot/api_op_ListEventPredictions.go.snap @@ -14,7 +14,6 @@ ListEventPredictions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_ListTagsForResource.go.snap b/service/frauddetector/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/frauddetector/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/frauddetector/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_PutDetector.go.snap b/service/frauddetector/snapshot/api_op_PutDetector.go.snap index dd2b1c72f27..773daec7fad 100644 --- a/service/frauddetector/snapshot/api_op_PutDetector.go.snap +++ b/service/frauddetector/snapshot/api_op_PutDetector.go.snap @@ -14,7 +14,6 @@ PutDetector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_PutEntityType.go.snap b/service/frauddetector/snapshot/api_op_PutEntityType.go.snap index edd955d9fa2..815bd751b99 100644 --- a/service/frauddetector/snapshot/api_op_PutEntityType.go.snap +++ b/service/frauddetector/snapshot/api_op_PutEntityType.go.snap @@ -14,7 +14,6 @@ PutEntityType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_PutEventType.go.snap b/service/frauddetector/snapshot/api_op_PutEventType.go.snap index 58028880b5d..d17afaf14a1 100644 --- a/service/frauddetector/snapshot/api_op_PutEventType.go.snap +++ b/service/frauddetector/snapshot/api_op_PutEventType.go.snap @@ -14,7 +14,6 @@ PutEventType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_PutExternalModel.go.snap b/service/frauddetector/snapshot/api_op_PutExternalModel.go.snap index c8a68f4f493..415e75acea9 100644 --- a/service/frauddetector/snapshot/api_op_PutExternalModel.go.snap +++ b/service/frauddetector/snapshot/api_op_PutExternalModel.go.snap @@ -14,7 +14,6 @@ PutExternalModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_PutKMSEncryptionKey.go.snap b/service/frauddetector/snapshot/api_op_PutKMSEncryptionKey.go.snap index 7beac1b6eaf..ff29060faa1 100644 --- a/service/frauddetector/snapshot/api_op_PutKMSEncryptionKey.go.snap +++ b/service/frauddetector/snapshot/api_op_PutKMSEncryptionKey.go.snap @@ -14,7 +14,6 @@ PutKMSEncryptionKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_PutLabel.go.snap b/service/frauddetector/snapshot/api_op_PutLabel.go.snap index 544e2ca5014..97b87417834 100644 --- a/service/frauddetector/snapshot/api_op_PutLabel.go.snap +++ b/service/frauddetector/snapshot/api_op_PutLabel.go.snap @@ -14,7 +14,6 @@ PutLabel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_PutOutcome.go.snap b/service/frauddetector/snapshot/api_op_PutOutcome.go.snap index ce948a1a05b..82696e6d895 100644 --- a/service/frauddetector/snapshot/api_op_PutOutcome.go.snap +++ b/service/frauddetector/snapshot/api_op_PutOutcome.go.snap @@ -14,7 +14,6 @@ PutOutcome Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_SendEvent.go.snap b/service/frauddetector/snapshot/api_op_SendEvent.go.snap index e225f16819a..a0877d65149 100644 --- a/service/frauddetector/snapshot/api_op_SendEvent.go.snap +++ b/service/frauddetector/snapshot/api_op_SendEvent.go.snap @@ -14,7 +14,6 @@ SendEvent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_TagResource.go.snap b/service/frauddetector/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/frauddetector/snapshot/api_op_TagResource.go.snap +++ b/service/frauddetector/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_UntagResource.go.snap b/service/frauddetector/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/frauddetector/snapshot/api_op_UntagResource.go.snap +++ b/service/frauddetector/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_UpdateDetectorVersion.go.snap b/service/frauddetector/snapshot/api_op_UpdateDetectorVersion.go.snap index 95888226e7b..e24aaff1819 100644 --- a/service/frauddetector/snapshot/api_op_UpdateDetectorVersion.go.snap +++ b/service/frauddetector/snapshot/api_op_UpdateDetectorVersion.go.snap @@ -14,7 +14,6 @@ UpdateDetectorVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_UpdateDetectorVersionMetadata.go.snap b/service/frauddetector/snapshot/api_op_UpdateDetectorVersionMetadata.go.snap index f54fd9646a7..3cb44c0ebcf 100644 --- a/service/frauddetector/snapshot/api_op_UpdateDetectorVersionMetadata.go.snap +++ b/service/frauddetector/snapshot/api_op_UpdateDetectorVersionMetadata.go.snap @@ -14,7 +14,6 @@ UpdateDetectorVersionMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_UpdateDetectorVersionStatus.go.snap b/service/frauddetector/snapshot/api_op_UpdateDetectorVersionStatus.go.snap index 3a065373628..4cefa600b6d 100644 --- a/service/frauddetector/snapshot/api_op_UpdateDetectorVersionStatus.go.snap +++ b/service/frauddetector/snapshot/api_op_UpdateDetectorVersionStatus.go.snap @@ -14,7 +14,6 @@ UpdateDetectorVersionStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_UpdateEventLabel.go.snap b/service/frauddetector/snapshot/api_op_UpdateEventLabel.go.snap index 4c559e366c3..abbd853463b 100644 --- a/service/frauddetector/snapshot/api_op_UpdateEventLabel.go.snap +++ b/service/frauddetector/snapshot/api_op_UpdateEventLabel.go.snap @@ -14,7 +14,6 @@ UpdateEventLabel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_UpdateList.go.snap b/service/frauddetector/snapshot/api_op_UpdateList.go.snap index 06ed3282b7d..1080d5954d4 100644 --- a/service/frauddetector/snapshot/api_op_UpdateList.go.snap +++ b/service/frauddetector/snapshot/api_op_UpdateList.go.snap @@ -14,7 +14,6 @@ UpdateList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_UpdateModel.go.snap b/service/frauddetector/snapshot/api_op_UpdateModel.go.snap index ee1931970d4..9309142d990 100644 --- a/service/frauddetector/snapshot/api_op_UpdateModel.go.snap +++ b/service/frauddetector/snapshot/api_op_UpdateModel.go.snap @@ -14,7 +14,6 @@ UpdateModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_UpdateModelVersion.go.snap b/service/frauddetector/snapshot/api_op_UpdateModelVersion.go.snap index 2abaad5e754..af925a14899 100644 --- a/service/frauddetector/snapshot/api_op_UpdateModelVersion.go.snap +++ b/service/frauddetector/snapshot/api_op_UpdateModelVersion.go.snap @@ -14,7 +14,6 @@ UpdateModelVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_UpdateModelVersionStatus.go.snap b/service/frauddetector/snapshot/api_op_UpdateModelVersionStatus.go.snap index 1c0ebbd53c1..895c5aab163 100644 --- a/service/frauddetector/snapshot/api_op_UpdateModelVersionStatus.go.snap +++ b/service/frauddetector/snapshot/api_op_UpdateModelVersionStatus.go.snap @@ -14,7 +14,6 @@ UpdateModelVersionStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_UpdateRuleMetadata.go.snap b/service/frauddetector/snapshot/api_op_UpdateRuleMetadata.go.snap index 3870c820da8..2765dc14950 100644 --- a/service/frauddetector/snapshot/api_op_UpdateRuleMetadata.go.snap +++ b/service/frauddetector/snapshot/api_op_UpdateRuleMetadata.go.snap @@ -14,7 +14,6 @@ UpdateRuleMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_UpdateRuleVersion.go.snap b/service/frauddetector/snapshot/api_op_UpdateRuleVersion.go.snap index 07fd71bf338..637149b22dd 100644 --- a/service/frauddetector/snapshot/api_op_UpdateRuleVersion.go.snap +++ b/service/frauddetector/snapshot/api_op_UpdateRuleVersion.go.snap @@ -14,7 +14,6 @@ UpdateRuleVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/frauddetector/snapshot/api_op_UpdateVariable.go.snap b/service/frauddetector/snapshot/api_op_UpdateVariable.go.snap index df0b1d80926..d3dd8a0562a 100644 --- a/service/frauddetector/snapshot/api_op_UpdateVariable.go.snap +++ b/service/frauddetector/snapshot/api_op_UpdateVariable.go.snap @@ -14,7 +14,6 @@ UpdateVariable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/freetier/api_client.go b/service/freetier/api_client.go index be553e231cf..be029dcb0dc 100644 --- a/service/freetier/api_client.go +++ b/service/freetier/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/freetier/api_op_GetFreeTierUsage.go b/service/freetier/api_op_GetFreeTierUsage.go index 79c82e46523..9256b82f431 100644 --- a/service/freetier/api_op_GetFreeTierUsage.go +++ b/service/freetier/api_op_GetFreeTierUsage.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetFreeTierUsageMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFreeTierUsageValidationMiddleware(stack); err != nil { return err } diff --git a/service/freetier/snapshot/api_op_GetFreeTierUsage.go.snap b/service/freetier/snapshot/api_op_GetFreeTierUsage.go.snap index c8d34070fef..90a2ae72957 100644 --- a/service/freetier/snapshot/api_op_GetFreeTierUsage.go.snap +++ b/service/freetier/snapshot/api_op_GetFreeTierUsage.go.snap @@ -14,7 +14,6 @@ GetFreeTierUsage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/api_client.go b/service/fsx/api_client.go index 40813b0401e..47b10f6bd16 100644 --- a/service/fsx/api_client.go +++ b/service/fsx/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/fsx/api_op_AssociateFileSystemAliases.go b/service/fsx/api_op_AssociateFileSystemAliases.go index 6ca27214f13..c9a9be507f2 100644 --- a/service/fsx/api_op_AssociateFileSystemAliases.go +++ b/service/fsx/api_op_AssociateFileSystemAliases.go @@ -157,9 +157,6 @@ func (c *Client) addOperationAssociateFileSystemAliasesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opAssociateFileSystemAliasesMiddleware(stack, options); err != nil { return err } diff --git a/service/fsx/api_op_CancelDataRepositoryTask.go b/service/fsx/api_op_CancelDataRepositoryTask.go index 478bab6bef6..a38ff5c735e 100644 --- a/service/fsx/api_op_CancelDataRepositoryTask.go +++ b/service/fsx/api_op_CancelDataRepositoryTask.go @@ -142,9 +142,6 @@ func (c *Client) addOperationCancelDataRepositoryTaskMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelDataRepositoryTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_CopyBackup.go b/service/fsx/api_op_CopyBackup.go index 7fc8647aa5c..e3128b78ce2 100644 --- a/service/fsx/api_op_CopyBackup.go +++ b/service/fsx/api_op_CopyBackup.go @@ -187,9 +187,6 @@ func (c *Client) addOperationCopyBackupMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCopyBackupMiddleware(stack, options); err != nil { return err } diff --git a/service/fsx/api_op_CopySnapshotAndUpdateVolume.go b/service/fsx/api_op_CopySnapshotAndUpdateVolume.go index 7bd1ca98890..4cfd8649202 100644 --- a/service/fsx/api_op_CopySnapshotAndUpdateVolume.go +++ b/service/fsx/api_op_CopySnapshotAndUpdateVolume.go @@ -168,9 +168,6 @@ func (c *Client) addOperationCopySnapshotAndUpdateVolumeMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCopySnapshotAndUpdateVolumeMiddleware(stack, options); err != nil { return err } diff --git a/service/fsx/api_op_CreateBackup.go b/service/fsx/api_op_CreateBackup.go index e7ee504063c..d4962e2e52c 100644 --- a/service/fsx/api_op_CreateBackup.go +++ b/service/fsx/api_op_CreateBackup.go @@ -176,9 +176,6 @@ func (c *Client) addOperationCreateBackupMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateBackupMiddleware(stack, options); err != nil { return err } diff --git a/service/fsx/api_op_CreateDataRepositoryAssociation.go b/service/fsx/api_op_CreateDataRepositoryAssociation.go index 333e61118e1..e70ad04770d 100644 --- a/service/fsx/api_op_CreateDataRepositoryAssociation.go +++ b/service/fsx/api_op_CreateDataRepositoryAssociation.go @@ -180,9 +180,6 @@ func (c *Client) addOperationCreateDataRepositoryAssociationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDataRepositoryAssociationMiddleware(stack, options); err != nil { return err } diff --git a/service/fsx/api_op_CreateDataRepositoryTask.go b/service/fsx/api_op_CreateDataRepositoryTask.go index 4501a9df038..2f9a7b5c2f5 100644 --- a/service/fsx/api_op_CreateDataRepositoryTask.go +++ b/service/fsx/api_op_CreateDataRepositoryTask.go @@ -204,9 +204,6 @@ func (c *Client) addOperationCreateDataRepositoryTaskMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDataRepositoryTaskMiddleware(stack, options); err != nil { return err } diff --git a/service/fsx/api_op_CreateFileCache.go b/service/fsx/api_op_CreateFileCache.go index a53f3fd5a4e..f2a08354dc9 100644 --- a/service/fsx/api_op_CreateFileCache.go +++ b/service/fsx/api_op_CreateFileCache.go @@ -199,9 +199,6 @@ func (c *Client) addOperationCreateFileCacheMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateFileCacheMiddleware(stack, options); err != nil { return err } diff --git a/service/fsx/api_op_CreateFileSystem.go b/service/fsx/api_op_CreateFileSystem.go index 9102ce4324b..54e008c66d8 100644 --- a/service/fsx/api_op_CreateFileSystem.go +++ b/service/fsx/api_op_CreateFileSystem.go @@ -310,9 +310,6 @@ func (c *Client) addOperationCreateFileSystemMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateFileSystemMiddleware(stack, options); err != nil { return err } diff --git a/service/fsx/api_op_CreateFileSystemFromBackup.go b/service/fsx/api_op_CreateFileSystemFromBackup.go index cceb72512b4..eeed21b65c3 100644 --- a/service/fsx/api_op_CreateFileSystemFromBackup.go +++ b/service/fsx/api_op_CreateFileSystemFromBackup.go @@ -251,9 +251,6 @@ func (c *Client) addOperationCreateFileSystemFromBackupMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateFileSystemFromBackupMiddleware(stack, options); err != nil { return err } diff --git a/service/fsx/api_op_CreateSnapshot.go b/service/fsx/api_op_CreateSnapshot.go index 546cf19027b..d9222fb7b37 100644 --- a/service/fsx/api_op_CreateSnapshot.go +++ b/service/fsx/api_op_CreateSnapshot.go @@ -152,9 +152,6 @@ func (c *Client) addOperationCreateSnapshotMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateSnapshotMiddleware(stack, options); err != nil { return err } diff --git a/service/fsx/api_op_CreateStorageVirtualMachine.go b/service/fsx/api_op_CreateStorageVirtualMachine.go index 40a6e570a85..57284321c53 100644 --- a/service/fsx/api_op_CreateStorageVirtualMachine.go +++ b/service/fsx/api_op_CreateStorageVirtualMachine.go @@ -154,9 +154,6 @@ func (c *Client) addOperationCreateStorageVirtualMachineMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateStorageVirtualMachineMiddleware(stack, options); err != nil { return err } diff --git a/service/fsx/api_op_CreateVolume.go b/service/fsx/api_op_CreateVolume.go index 479994d01f7..beb888347da 100644 --- a/service/fsx/api_op_CreateVolume.go +++ b/service/fsx/api_op_CreateVolume.go @@ -133,9 +133,6 @@ func (c *Client) addOperationCreateVolumeMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateVolumeMiddleware(stack, options); err != nil { return err } diff --git a/service/fsx/api_op_CreateVolumeFromBackup.go b/service/fsx/api_op_CreateVolumeFromBackup.go index dd73187f349..ba93fa4945f 100644 --- a/service/fsx/api_op_CreateVolumeFromBackup.go +++ b/service/fsx/api_op_CreateVolumeFromBackup.go @@ -130,9 +130,6 @@ func (c *Client) addOperationCreateVolumeFromBackupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateVolumeFromBackupMiddleware(stack, options); err != nil { return err } diff --git a/service/fsx/api_op_DeleteBackup.go b/service/fsx/api_op_DeleteBackup.go index eebe259157b..96bad3ae9f6 100644 --- a/service/fsx/api_op_DeleteBackup.go +++ b/service/fsx/api_op_DeleteBackup.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDeleteBackupMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteBackupMiddleware(stack, options); err != nil { return err } diff --git a/service/fsx/api_op_DeleteDataRepositoryAssociation.go b/service/fsx/api_op_DeleteDataRepositoryAssociation.go index 66e76a00e32..87ddfadd470 100644 --- a/service/fsx/api_op_DeleteDataRepositoryAssociation.go +++ b/service/fsx/api_op_DeleteDataRepositoryAssociation.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDeleteDataRepositoryAssociationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteDataRepositoryAssociationMiddleware(stack, options); err != nil { return err } diff --git a/service/fsx/api_op_DeleteFileCache.go b/service/fsx/api_op_DeleteFileCache.go index aee5d0b83b5..fcf86007a4f 100644 --- a/service/fsx/api_op_DeleteFileCache.go +++ b/service/fsx/api_op_DeleteFileCache.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDeleteFileCacheMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteFileCacheMiddleware(stack, options); err != nil { return err } diff --git a/service/fsx/api_op_DeleteFileSystem.go b/service/fsx/api_op_DeleteFileSystem.go index f7d470d1182..0a09ff4f865 100644 --- a/service/fsx/api_op_DeleteFileSystem.go +++ b/service/fsx/api_op_DeleteFileSystem.go @@ -186,9 +186,6 @@ func (c *Client) addOperationDeleteFileSystemMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteFileSystemMiddleware(stack, options); err != nil { return err } diff --git a/service/fsx/api_op_DeleteSnapshot.go b/service/fsx/api_op_DeleteSnapshot.go index c265db44ac4..6d9496da92c 100644 --- a/service/fsx/api_op_DeleteSnapshot.go +++ b/service/fsx/api_op_DeleteSnapshot.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDeleteSnapshotMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteSnapshotMiddleware(stack, options); err != nil { return err } diff --git a/service/fsx/api_op_DeleteStorageVirtualMachine.go b/service/fsx/api_op_DeleteStorageVirtualMachine.go index 2a07663b662..495deb4e77f 100644 --- a/service/fsx/api_op_DeleteStorageVirtualMachine.go +++ b/service/fsx/api_op_DeleteStorageVirtualMachine.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteStorageVirtualMachineMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteStorageVirtualMachineMiddleware(stack, options); err != nil { return err } diff --git a/service/fsx/api_op_DeleteVolume.go b/service/fsx/api_op_DeleteVolume.go index 9a0c9216c0c..808ff90a3fa 100644 --- a/service/fsx/api_op_DeleteVolume.go +++ b/service/fsx/api_op_DeleteVolume.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDeleteVolumeMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteVolumeMiddleware(stack, options); err != nil { return err } diff --git a/service/fsx/api_op_DescribeBackups.go b/service/fsx/api_op_DescribeBackups.go index 7458a8d4cdc..c1859839d45 100644 --- a/service/fsx/api_op_DescribeBackups.go +++ b/service/fsx/api_op_DescribeBackups.go @@ -156,9 +156,6 @@ func (c *Client) addOperationDescribeBackupsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBackups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/fsx/api_op_DescribeDataRepositoryAssociations.go b/service/fsx/api_op_DescribeDataRepositoryAssociations.go index f7547f63468..50f1293c46f 100644 --- a/service/fsx/api_op_DescribeDataRepositoryAssociations.go +++ b/service/fsx/api_op_DescribeDataRepositoryAssociations.go @@ -148,9 +148,6 @@ func (c *Client) addOperationDescribeDataRepositoryAssociationsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDataRepositoryAssociations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/fsx/api_op_DescribeDataRepositoryTasks.go b/service/fsx/api_op_DescribeDataRepositoryTasks.go index c62b932e096..a25ccec8026 100644 --- a/service/fsx/api_op_DescribeDataRepositoryTasks.go +++ b/service/fsx/api_op_DescribeDataRepositoryTasks.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeDataRepositoryTasksMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDataRepositoryTasks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/fsx/api_op_DescribeFileCaches.go b/service/fsx/api_op_DescribeFileCaches.go index 3f37ed23cb2..7c04934e5c0 100644 --- a/service/fsx/api_op_DescribeFileCaches.go +++ b/service/fsx/api_op_DescribeFileCaches.go @@ -147,9 +147,6 @@ func (c *Client) addOperationDescribeFileCachesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFileCaches(options.Region), middleware.Before); err != nil { return err } diff --git a/service/fsx/api_op_DescribeFileSystemAliases.go b/service/fsx/api_op_DescribeFileSystemAliases.go index 0869e1ecc32..b2dade4b9a2 100644 --- a/service/fsx/api_op_DescribeFileSystemAliases.go +++ b/service/fsx/api_op_DescribeFileSystemAliases.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDescribeFileSystemAliasesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDescribeFileSystemAliasesMiddleware(stack, options); err != nil { return err } diff --git a/service/fsx/api_op_DescribeFileSystems.go b/service/fsx/api_op_DescribeFileSystems.go index 6277c939ee9..b936ba9c222 100644 --- a/service/fsx/api_op_DescribeFileSystems.go +++ b/service/fsx/api_op_DescribeFileSystems.go @@ -150,9 +150,6 @@ func (c *Client) addOperationDescribeFileSystemsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFileSystems(options.Region), middleware.Before); err != nil { return err } diff --git a/service/fsx/api_op_DescribeSharedVpcConfiguration.go b/service/fsx/api_op_DescribeSharedVpcConfiguration.go index e54186a9d89..4c3f45eb04d 100644 --- a/service/fsx/api_op_DescribeSharedVpcConfiguration.go +++ b/service/fsx/api_op_DescribeSharedVpcConfiguration.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDescribeSharedVpcConfigurationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSharedVpcConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/fsx/api_op_DescribeSnapshots.go b/service/fsx/api_op_DescribeSnapshots.go index f0148446f55..44e163c0ffb 100644 --- a/service/fsx/api_op_DescribeSnapshots.go +++ b/service/fsx/api_op_DescribeSnapshots.go @@ -156,9 +156,6 @@ func (c *Client) addOperationDescribeSnapshotsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSnapshots(options.Region), middleware.Before); err != nil { return err } diff --git a/service/fsx/api_op_DescribeStorageVirtualMachines.go b/service/fsx/api_op_DescribeStorageVirtualMachines.go index eda57d3e21b..0cbc75594ad 100644 --- a/service/fsx/api_op_DescribeStorageVirtualMachines.go +++ b/service/fsx/api_op_DescribeStorageVirtualMachines.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeStorageVirtualMachinesMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStorageVirtualMachines(options.Region), middleware.Before); err != nil { return err } diff --git a/service/fsx/api_op_DescribeVolumes.go b/service/fsx/api_op_DescribeVolumes.go index 86c1c5205af..7c643f053f0 100644 --- a/service/fsx/api_op_DescribeVolumes.go +++ b/service/fsx/api_op_DescribeVolumes.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDescribeVolumesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVolumes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/fsx/api_op_DisassociateFileSystemAliases.go b/service/fsx/api_op_DisassociateFileSystemAliases.go index d84547e6521..584c8d2c2fd 100644 --- a/service/fsx/api_op_DisassociateFileSystemAliases.go +++ b/service/fsx/api_op_DisassociateFileSystemAliases.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDisassociateFileSystemAliasesMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDisassociateFileSystemAliasesMiddleware(stack, options); err != nil { return err } diff --git a/service/fsx/api_op_ListTagsForResource.go b/service/fsx/api_op_ListTagsForResource.go index 737d265a158..8586bf69541 100644 --- a/service/fsx/api_op_ListTagsForResource.go +++ b/service/fsx/api_op_ListTagsForResource.go @@ -149,9 +149,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_ReleaseFileSystemNfsV3Locks.go b/service/fsx/api_op_ReleaseFileSystemNfsV3Locks.go index 57c04424936..c7ec81bba53 100644 --- a/service/fsx/api_op_ReleaseFileSystemNfsV3Locks.go +++ b/service/fsx/api_op_ReleaseFileSystemNfsV3Locks.go @@ -117,9 +117,6 @@ func (c *Client) addOperationReleaseFileSystemNfsV3LocksMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opReleaseFileSystemNfsV3LocksMiddleware(stack, options); err != nil { return err } diff --git a/service/fsx/api_op_RestoreVolumeFromSnapshot.go b/service/fsx/api_op_RestoreVolumeFromSnapshot.go index d69e620a8ad..2e59c49b95b 100644 --- a/service/fsx/api_op_RestoreVolumeFromSnapshot.go +++ b/service/fsx/api_op_RestoreVolumeFromSnapshot.go @@ -143,9 +143,6 @@ func (c *Client) addOperationRestoreVolumeFromSnapshotMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opRestoreVolumeFromSnapshotMiddleware(stack, options); err != nil { return err } diff --git a/service/fsx/api_op_StartMisconfiguredStateRecovery.go b/service/fsx/api_op_StartMisconfiguredStateRecovery.go index e868b88311e..fafc333d0f6 100644 --- a/service/fsx/api_op_StartMisconfiguredStateRecovery.go +++ b/service/fsx/api_op_StartMisconfiguredStateRecovery.go @@ -119,9 +119,6 @@ func (c *Client) addOperationStartMisconfiguredStateRecoveryMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartMisconfiguredStateRecoveryMiddleware(stack, options); err != nil { return err } diff --git a/service/fsx/api_op_TagResource.go b/service/fsx/api_op_TagResource.go index 731bafac34c..72aac1e6e1b 100644 --- a/service/fsx/api_op_TagResource.go +++ b/service/fsx/api_op_TagResource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_UntagResource.go b/service/fsx/api_op_UntagResource.go index 3ca2642577f..137f0c54cb0 100644 --- a/service/fsx/api_op_UntagResource.go +++ b/service/fsx/api_op_UntagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/fsx/api_op_UpdateDataRepositoryAssociation.go b/service/fsx/api_op_UpdateDataRepositoryAssociation.go index 3a2cb695b93..cc0c1b71f56 100644 --- a/service/fsx/api_op_UpdateDataRepositoryAssociation.go +++ b/service/fsx/api_op_UpdateDataRepositoryAssociation.go @@ -136,9 +136,6 @@ func (c *Client) addOperationUpdateDataRepositoryAssociationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateDataRepositoryAssociationMiddleware(stack, options); err != nil { return err } diff --git a/service/fsx/api_op_UpdateFileCache.go b/service/fsx/api_op_UpdateFileCache.go index 8a32d6d1edd..c22f208ca10 100644 --- a/service/fsx/api_op_UpdateFileCache.go +++ b/service/fsx/api_op_UpdateFileCache.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateFileCacheMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateFileCacheMiddleware(stack, options); err != nil { return err } diff --git a/service/fsx/api_op_UpdateFileSystem.go b/service/fsx/api_op_UpdateFileSystem.go index 1caa4dd8489..713a0ad1bf5 100644 --- a/service/fsx/api_op_UpdateFileSystem.go +++ b/service/fsx/api_op_UpdateFileSystem.go @@ -275,9 +275,6 @@ func (c *Client) addOperationUpdateFileSystemMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateFileSystemMiddleware(stack, options); err != nil { return err } diff --git a/service/fsx/api_op_UpdateSharedVpcConfiguration.go b/service/fsx/api_op_UpdateSharedVpcConfiguration.go index 4044fbcc531..81e920fc220 100644 --- a/service/fsx/api_op_UpdateSharedVpcConfiguration.go +++ b/service/fsx/api_op_UpdateSharedVpcConfiguration.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateSharedVpcConfigurationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateSharedVpcConfigurationMiddleware(stack, options); err != nil { return err } diff --git a/service/fsx/api_op_UpdateSnapshot.go b/service/fsx/api_op_UpdateSnapshot.go index 3468682dbe7..fabefcfd773 100644 --- a/service/fsx/api_op_UpdateSnapshot.go +++ b/service/fsx/api_op_UpdateSnapshot.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateSnapshotMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateSnapshotMiddleware(stack, options); err != nil { return err } diff --git a/service/fsx/api_op_UpdateStorageVirtualMachine.go b/service/fsx/api_op_UpdateStorageVirtualMachine.go index 696ec7957f0..508a22e0581 100644 --- a/service/fsx/api_op_UpdateStorageVirtualMachine.go +++ b/service/fsx/api_op_UpdateStorageVirtualMachine.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateStorageVirtualMachineMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateStorageVirtualMachineMiddleware(stack, options); err != nil { return err } diff --git a/service/fsx/api_op_UpdateVolume.go b/service/fsx/api_op_UpdateVolume.go index b4b66b4b249..e613b6327e4 100644 --- a/service/fsx/api_op_UpdateVolume.go +++ b/service/fsx/api_op_UpdateVolume.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateVolumeMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateVolumeMiddleware(stack, options); err != nil { return err } diff --git a/service/fsx/snapshot/api_op_AssociateFileSystemAliases.go.snap b/service/fsx/snapshot/api_op_AssociateFileSystemAliases.go.snap index 3bfb81d87b8..7c1b6023b22 100644 --- a/service/fsx/snapshot/api_op_AssociateFileSystemAliases.go.snap +++ b/service/fsx/snapshot/api_op_AssociateFileSystemAliases.go.snap @@ -15,7 +15,6 @@ AssociateFileSystemAliases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_CancelDataRepositoryTask.go.snap b/service/fsx/snapshot/api_op_CancelDataRepositoryTask.go.snap index 816a8630f8d..a5669ae4abe 100644 --- a/service/fsx/snapshot/api_op_CancelDataRepositoryTask.go.snap +++ b/service/fsx/snapshot/api_op_CancelDataRepositoryTask.go.snap @@ -14,7 +14,6 @@ CancelDataRepositoryTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_CopyBackup.go.snap b/service/fsx/snapshot/api_op_CopyBackup.go.snap index d46c41ea8e5..4fd77615dc6 100644 --- a/service/fsx/snapshot/api_op_CopyBackup.go.snap +++ b/service/fsx/snapshot/api_op_CopyBackup.go.snap @@ -15,7 +15,6 @@ CopyBackup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_CopySnapshotAndUpdateVolume.go.snap b/service/fsx/snapshot/api_op_CopySnapshotAndUpdateVolume.go.snap index 6cbdade9828..c21355ee767 100644 --- a/service/fsx/snapshot/api_op_CopySnapshotAndUpdateVolume.go.snap +++ b/service/fsx/snapshot/api_op_CopySnapshotAndUpdateVolume.go.snap @@ -15,7 +15,6 @@ CopySnapshotAndUpdateVolume Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_CreateBackup.go.snap b/service/fsx/snapshot/api_op_CreateBackup.go.snap index 6cc711bd12c..e67c212011d 100644 --- a/service/fsx/snapshot/api_op_CreateBackup.go.snap +++ b/service/fsx/snapshot/api_op_CreateBackup.go.snap @@ -15,7 +15,6 @@ CreateBackup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_CreateDataRepositoryAssociation.go.snap b/service/fsx/snapshot/api_op_CreateDataRepositoryAssociation.go.snap index 3eac3c40cae..f0d45cd96dd 100644 --- a/service/fsx/snapshot/api_op_CreateDataRepositoryAssociation.go.snap +++ b/service/fsx/snapshot/api_op_CreateDataRepositoryAssociation.go.snap @@ -15,7 +15,6 @@ CreateDataRepositoryAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_CreateDataRepositoryTask.go.snap b/service/fsx/snapshot/api_op_CreateDataRepositoryTask.go.snap index 885dff22f28..f3caa8c3b5d 100644 --- a/service/fsx/snapshot/api_op_CreateDataRepositoryTask.go.snap +++ b/service/fsx/snapshot/api_op_CreateDataRepositoryTask.go.snap @@ -15,7 +15,6 @@ CreateDataRepositoryTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_CreateFileCache.go.snap b/service/fsx/snapshot/api_op_CreateFileCache.go.snap index c787a9f9b04..3de0c079d21 100644 --- a/service/fsx/snapshot/api_op_CreateFileCache.go.snap +++ b/service/fsx/snapshot/api_op_CreateFileCache.go.snap @@ -15,7 +15,6 @@ CreateFileCache Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_CreateFileSystem.go.snap b/service/fsx/snapshot/api_op_CreateFileSystem.go.snap index f0f02642bd1..833f3726980 100644 --- a/service/fsx/snapshot/api_op_CreateFileSystem.go.snap +++ b/service/fsx/snapshot/api_op_CreateFileSystem.go.snap @@ -15,7 +15,6 @@ CreateFileSystem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_CreateFileSystemFromBackup.go.snap b/service/fsx/snapshot/api_op_CreateFileSystemFromBackup.go.snap index 10e204eebfb..133a7ac1e06 100644 --- a/service/fsx/snapshot/api_op_CreateFileSystemFromBackup.go.snap +++ b/service/fsx/snapshot/api_op_CreateFileSystemFromBackup.go.snap @@ -15,7 +15,6 @@ CreateFileSystemFromBackup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_CreateSnapshot.go.snap b/service/fsx/snapshot/api_op_CreateSnapshot.go.snap index 74a2b74c9fa..da73e2637da 100644 --- a/service/fsx/snapshot/api_op_CreateSnapshot.go.snap +++ b/service/fsx/snapshot/api_op_CreateSnapshot.go.snap @@ -15,7 +15,6 @@ CreateSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_CreateStorageVirtualMachine.go.snap b/service/fsx/snapshot/api_op_CreateStorageVirtualMachine.go.snap index 53a335aa18e..218a6d359c9 100644 --- a/service/fsx/snapshot/api_op_CreateStorageVirtualMachine.go.snap +++ b/service/fsx/snapshot/api_op_CreateStorageVirtualMachine.go.snap @@ -15,7 +15,6 @@ CreateStorageVirtualMachine Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_CreateVolume.go.snap b/service/fsx/snapshot/api_op_CreateVolume.go.snap index 694c45058ed..094ab3e33e0 100644 --- a/service/fsx/snapshot/api_op_CreateVolume.go.snap +++ b/service/fsx/snapshot/api_op_CreateVolume.go.snap @@ -15,7 +15,6 @@ CreateVolume Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_CreateVolumeFromBackup.go.snap b/service/fsx/snapshot/api_op_CreateVolumeFromBackup.go.snap index 63b0362369a..8465b047e9a 100644 --- a/service/fsx/snapshot/api_op_CreateVolumeFromBackup.go.snap +++ b/service/fsx/snapshot/api_op_CreateVolumeFromBackup.go.snap @@ -15,7 +15,6 @@ CreateVolumeFromBackup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_DeleteBackup.go.snap b/service/fsx/snapshot/api_op_DeleteBackup.go.snap index 17a2a5ff626..f542a16dcef 100644 --- a/service/fsx/snapshot/api_op_DeleteBackup.go.snap +++ b/service/fsx/snapshot/api_op_DeleteBackup.go.snap @@ -15,7 +15,6 @@ DeleteBackup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_DeleteDataRepositoryAssociation.go.snap b/service/fsx/snapshot/api_op_DeleteDataRepositoryAssociation.go.snap index 86571dd9022..73ed576e72a 100644 --- a/service/fsx/snapshot/api_op_DeleteDataRepositoryAssociation.go.snap +++ b/service/fsx/snapshot/api_op_DeleteDataRepositoryAssociation.go.snap @@ -15,7 +15,6 @@ DeleteDataRepositoryAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_DeleteFileCache.go.snap b/service/fsx/snapshot/api_op_DeleteFileCache.go.snap index cdd93ac0a81..1d2a2cb1e76 100644 --- a/service/fsx/snapshot/api_op_DeleteFileCache.go.snap +++ b/service/fsx/snapshot/api_op_DeleteFileCache.go.snap @@ -15,7 +15,6 @@ DeleteFileCache Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_DeleteFileSystem.go.snap b/service/fsx/snapshot/api_op_DeleteFileSystem.go.snap index f3134770085..4151eda3bf9 100644 --- a/service/fsx/snapshot/api_op_DeleteFileSystem.go.snap +++ b/service/fsx/snapshot/api_op_DeleteFileSystem.go.snap @@ -15,7 +15,6 @@ DeleteFileSystem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_DeleteSnapshot.go.snap b/service/fsx/snapshot/api_op_DeleteSnapshot.go.snap index ab1900767f8..bda8339d9b1 100644 --- a/service/fsx/snapshot/api_op_DeleteSnapshot.go.snap +++ b/service/fsx/snapshot/api_op_DeleteSnapshot.go.snap @@ -15,7 +15,6 @@ DeleteSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_DeleteStorageVirtualMachine.go.snap b/service/fsx/snapshot/api_op_DeleteStorageVirtualMachine.go.snap index 1e7a995788c..1b15395edef 100644 --- a/service/fsx/snapshot/api_op_DeleteStorageVirtualMachine.go.snap +++ b/service/fsx/snapshot/api_op_DeleteStorageVirtualMachine.go.snap @@ -15,7 +15,6 @@ DeleteStorageVirtualMachine Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_DeleteVolume.go.snap b/service/fsx/snapshot/api_op_DeleteVolume.go.snap index 59ab909c306..f430e47ae2d 100644 --- a/service/fsx/snapshot/api_op_DeleteVolume.go.snap +++ b/service/fsx/snapshot/api_op_DeleteVolume.go.snap @@ -15,7 +15,6 @@ DeleteVolume Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_DescribeBackups.go.snap b/service/fsx/snapshot/api_op_DescribeBackups.go.snap index e5a75436dfc..d6d6f55f5fa 100644 --- a/service/fsx/snapshot/api_op_DescribeBackups.go.snap +++ b/service/fsx/snapshot/api_op_DescribeBackups.go.snap @@ -13,7 +13,6 @@ DescribeBackups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_DescribeDataRepositoryAssociations.go.snap b/service/fsx/snapshot/api_op_DescribeDataRepositoryAssociations.go.snap index d7ebe7e97a2..410ecfad402 100644 --- a/service/fsx/snapshot/api_op_DescribeDataRepositoryAssociations.go.snap +++ b/service/fsx/snapshot/api_op_DescribeDataRepositoryAssociations.go.snap @@ -13,7 +13,6 @@ DescribeDataRepositoryAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_DescribeDataRepositoryTasks.go.snap b/service/fsx/snapshot/api_op_DescribeDataRepositoryTasks.go.snap index db10654b8db..4cd712ed6d7 100644 --- a/service/fsx/snapshot/api_op_DescribeDataRepositoryTasks.go.snap +++ b/service/fsx/snapshot/api_op_DescribeDataRepositoryTasks.go.snap @@ -13,7 +13,6 @@ DescribeDataRepositoryTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_DescribeFileCaches.go.snap b/service/fsx/snapshot/api_op_DescribeFileCaches.go.snap index fda1c7590e3..19df495d044 100644 --- a/service/fsx/snapshot/api_op_DescribeFileCaches.go.snap +++ b/service/fsx/snapshot/api_op_DescribeFileCaches.go.snap @@ -13,7 +13,6 @@ DescribeFileCaches Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_DescribeFileSystemAliases.go.snap b/service/fsx/snapshot/api_op_DescribeFileSystemAliases.go.snap index 804dc62a30c..0cd7097bf48 100644 --- a/service/fsx/snapshot/api_op_DescribeFileSystemAliases.go.snap +++ b/service/fsx/snapshot/api_op_DescribeFileSystemAliases.go.snap @@ -15,7 +15,6 @@ DescribeFileSystemAliases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_DescribeFileSystems.go.snap b/service/fsx/snapshot/api_op_DescribeFileSystems.go.snap index f2e08aeec67..dee02b77bb2 100644 --- a/service/fsx/snapshot/api_op_DescribeFileSystems.go.snap +++ b/service/fsx/snapshot/api_op_DescribeFileSystems.go.snap @@ -13,7 +13,6 @@ DescribeFileSystems Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_DescribeSharedVpcConfiguration.go.snap b/service/fsx/snapshot/api_op_DescribeSharedVpcConfiguration.go.snap index c01f3b97bdf..0f7bc8188ae 100644 --- a/service/fsx/snapshot/api_op_DescribeSharedVpcConfiguration.go.snap +++ b/service/fsx/snapshot/api_op_DescribeSharedVpcConfiguration.go.snap @@ -13,7 +13,6 @@ DescribeSharedVpcConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_DescribeSnapshots.go.snap b/service/fsx/snapshot/api_op_DescribeSnapshots.go.snap index 8b006c734ed..03fd8bd6409 100644 --- a/service/fsx/snapshot/api_op_DescribeSnapshots.go.snap +++ b/service/fsx/snapshot/api_op_DescribeSnapshots.go.snap @@ -13,7 +13,6 @@ DescribeSnapshots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_DescribeStorageVirtualMachines.go.snap b/service/fsx/snapshot/api_op_DescribeStorageVirtualMachines.go.snap index 9722ad99f3d..6f4a1c6ddbb 100644 --- a/service/fsx/snapshot/api_op_DescribeStorageVirtualMachines.go.snap +++ b/service/fsx/snapshot/api_op_DescribeStorageVirtualMachines.go.snap @@ -13,7 +13,6 @@ DescribeStorageVirtualMachines Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_DescribeVolumes.go.snap b/service/fsx/snapshot/api_op_DescribeVolumes.go.snap index b33def0d1e4..efd8caa4007 100644 --- a/service/fsx/snapshot/api_op_DescribeVolumes.go.snap +++ b/service/fsx/snapshot/api_op_DescribeVolumes.go.snap @@ -13,7 +13,6 @@ DescribeVolumes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_DisassociateFileSystemAliases.go.snap b/service/fsx/snapshot/api_op_DisassociateFileSystemAliases.go.snap index 4d8d938e558..9fa6e557607 100644 --- a/service/fsx/snapshot/api_op_DisassociateFileSystemAliases.go.snap +++ b/service/fsx/snapshot/api_op_DisassociateFileSystemAliases.go.snap @@ -15,7 +15,6 @@ DisassociateFileSystemAliases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_ListTagsForResource.go.snap b/service/fsx/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/fsx/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/fsx/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_ReleaseFileSystemNfsV3Locks.go.snap b/service/fsx/snapshot/api_op_ReleaseFileSystemNfsV3Locks.go.snap index ed42cbe327a..fb72509e789 100644 --- a/service/fsx/snapshot/api_op_ReleaseFileSystemNfsV3Locks.go.snap +++ b/service/fsx/snapshot/api_op_ReleaseFileSystemNfsV3Locks.go.snap @@ -15,7 +15,6 @@ ReleaseFileSystemNfsV3Locks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_RestoreVolumeFromSnapshot.go.snap b/service/fsx/snapshot/api_op_RestoreVolumeFromSnapshot.go.snap index 20c463e9c14..c23035ef782 100644 --- a/service/fsx/snapshot/api_op_RestoreVolumeFromSnapshot.go.snap +++ b/service/fsx/snapshot/api_op_RestoreVolumeFromSnapshot.go.snap @@ -15,7 +15,6 @@ RestoreVolumeFromSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_StartMisconfiguredStateRecovery.go.snap b/service/fsx/snapshot/api_op_StartMisconfiguredStateRecovery.go.snap index 36b88befaa6..278e994441e 100644 --- a/service/fsx/snapshot/api_op_StartMisconfiguredStateRecovery.go.snap +++ b/service/fsx/snapshot/api_op_StartMisconfiguredStateRecovery.go.snap @@ -15,7 +15,6 @@ StartMisconfiguredStateRecovery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_TagResource.go.snap b/service/fsx/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/fsx/snapshot/api_op_TagResource.go.snap +++ b/service/fsx/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_UntagResource.go.snap b/service/fsx/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/fsx/snapshot/api_op_UntagResource.go.snap +++ b/service/fsx/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_UpdateDataRepositoryAssociation.go.snap b/service/fsx/snapshot/api_op_UpdateDataRepositoryAssociation.go.snap index 210bb811556..5173367a8df 100644 --- a/service/fsx/snapshot/api_op_UpdateDataRepositoryAssociation.go.snap +++ b/service/fsx/snapshot/api_op_UpdateDataRepositoryAssociation.go.snap @@ -15,7 +15,6 @@ UpdateDataRepositoryAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_UpdateFileCache.go.snap b/service/fsx/snapshot/api_op_UpdateFileCache.go.snap index 0962e58bf0f..954e85e8dc0 100644 --- a/service/fsx/snapshot/api_op_UpdateFileCache.go.snap +++ b/service/fsx/snapshot/api_op_UpdateFileCache.go.snap @@ -15,7 +15,6 @@ UpdateFileCache Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_UpdateFileSystem.go.snap b/service/fsx/snapshot/api_op_UpdateFileSystem.go.snap index 5a0da159052..a33959af64a 100644 --- a/service/fsx/snapshot/api_op_UpdateFileSystem.go.snap +++ b/service/fsx/snapshot/api_op_UpdateFileSystem.go.snap @@ -15,7 +15,6 @@ UpdateFileSystem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_UpdateSharedVpcConfiguration.go.snap b/service/fsx/snapshot/api_op_UpdateSharedVpcConfiguration.go.snap index e18447d15c0..702fe27c865 100644 --- a/service/fsx/snapshot/api_op_UpdateSharedVpcConfiguration.go.snap +++ b/service/fsx/snapshot/api_op_UpdateSharedVpcConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateSharedVpcConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_UpdateSnapshot.go.snap b/service/fsx/snapshot/api_op_UpdateSnapshot.go.snap index 27b5a6b9004..e7ef3c0b478 100644 --- a/service/fsx/snapshot/api_op_UpdateSnapshot.go.snap +++ b/service/fsx/snapshot/api_op_UpdateSnapshot.go.snap @@ -15,7 +15,6 @@ UpdateSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_UpdateStorageVirtualMachine.go.snap b/service/fsx/snapshot/api_op_UpdateStorageVirtualMachine.go.snap index 2be8db820d6..072fdd0ad78 100644 --- a/service/fsx/snapshot/api_op_UpdateStorageVirtualMachine.go.snap +++ b/service/fsx/snapshot/api_op_UpdateStorageVirtualMachine.go.snap @@ -15,7 +15,6 @@ UpdateStorageVirtualMachine Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/fsx/snapshot/api_op_UpdateVolume.go.snap b/service/fsx/snapshot/api_op_UpdateVolume.go.snap index 01ba5e9edab..0cd509032d9 100644 --- a/service/fsx/snapshot/api_op_UpdateVolume.go.snap +++ b/service/fsx/snapshot/api_op_UpdateVolume.go.snap @@ -15,7 +15,6 @@ UpdateVolume Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/api_client.go b/service/gamelift/api_client.go index a36fee9a4be..bcc22e84db9 100644 --- a/service/gamelift/api_client.go +++ b/service/gamelift/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/gamelift/api_op_AcceptMatch.go b/service/gamelift/api_op_AcceptMatch.go index ccf2afaf0a8..994ea0eac40 100644 --- a/service/gamelift/api_op_AcceptMatch.go +++ b/service/gamelift/api_op_AcceptMatch.go @@ -153,9 +153,6 @@ func (c *Client) addOperationAcceptMatchMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptMatchValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_ClaimGameServer.go b/service/gamelift/api_op_ClaimGameServer.go index 8932e460058..132beac1d3b 100644 --- a/service/gamelift/api_op_ClaimGameServer.go +++ b/service/gamelift/api_op_ClaimGameServer.go @@ -167,9 +167,6 @@ func (c *Client) addOperationClaimGameServerMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpClaimGameServerValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_CreateAlias.go b/service/gamelift/api_op_CreateAlias.go index 605b20718a8..bd3a329e388 100644 --- a/service/gamelift/api_op_CreateAlias.go +++ b/service/gamelift/api_op_CreateAlias.go @@ -151,9 +151,6 @@ func (c *Client) addOperationCreateAliasMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_CreateBuild.go b/service/gamelift/api_op_CreateBuild.go index dae72d5d342..144571f15e9 100644 --- a/service/gamelift/api_op_CreateBuild.go +++ b/service/gamelift/api_op_CreateBuild.go @@ -213,9 +213,6 @@ func (c *Client) addOperationCreateBuildMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBuildValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_CreateContainerFleet.go b/service/gamelift/api_op_CreateContainerFleet.go index ed6f27ac9a6..95798ef4cd3 100644 --- a/service/gamelift/api_op_CreateContainerFleet.go +++ b/service/gamelift/api_op_CreateContainerFleet.go @@ -362,9 +362,6 @@ func (c *Client) addOperationCreateContainerFleetMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateContainerFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_CreateContainerGroupDefinition.go b/service/gamelift/api_op_CreateContainerGroupDefinition.go index dddf1d2a916..de6c033c560 100644 --- a/service/gamelift/api_op_CreateContainerGroupDefinition.go +++ b/service/gamelift/api_op_CreateContainerGroupDefinition.go @@ -275,9 +275,6 @@ func (c *Client) addOperationCreateContainerGroupDefinitionMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateContainerGroupDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_CreateFleet.go b/service/gamelift/api_op_CreateFleet.go index c7cdaa1fdd2..3f355edfe1f 100644 --- a/service/gamelift/api_op_CreateFleet.go +++ b/service/gamelift/api_op_CreateFleet.go @@ -366,9 +366,6 @@ func (c *Client) addOperationCreateFleetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_CreateFleetLocations.go b/service/gamelift/api_op_CreateFleetLocations.go index 237f28031c6..5bebb1ecd31 100644 --- a/service/gamelift/api_op_CreateFleetLocations.go +++ b/service/gamelift/api_op_CreateFleetLocations.go @@ -162,9 +162,6 @@ func (c *Client) addOperationCreateFleetLocationsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFleetLocationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_CreateGameServerGroup.go b/service/gamelift/api_op_CreateGameServerGroup.go index dfa8d0ce2e3..c15a98e5851 100644 --- a/service/gamelift/api_op_CreateGameServerGroup.go +++ b/service/gamelift/api_op_CreateGameServerGroup.go @@ -274,9 +274,6 @@ func (c *Client) addOperationCreateGameServerGroupMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGameServerGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_CreateGameSession.go b/service/gamelift/api_op_CreateGameSession.go index dceee0afb04..6bdea4d078a 100644 --- a/service/gamelift/api_op_CreateGameSession.go +++ b/service/gamelift/api_op_CreateGameSession.go @@ -222,9 +222,6 @@ func (c *Client) addOperationCreateGameSessionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGameSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_CreateGameSessionQueue.go b/service/gamelift/api_op_CreateGameSessionQueue.go index ecb6adf5a0a..78f5543e982 100644 --- a/service/gamelift/api_op_CreateGameSessionQueue.go +++ b/service/gamelift/api_op_CreateGameSessionQueue.go @@ -207,9 +207,6 @@ func (c *Client) addOperationCreateGameSessionQueueMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGameSessionQueueValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_CreateLocation.go b/service/gamelift/api_op_CreateLocation.go index a7442bc26f8..0f7dcdcedcd 100644 --- a/service/gamelift/api_op_CreateLocation.go +++ b/service/gamelift/api_op_CreateLocation.go @@ -120,9 +120,6 @@ func (c *Client) addOperationCreateLocationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLocationValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_CreateMatchmakingConfiguration.go b/service/gamelift/api_op_CreateMatchmakingConfiguration.go index 8895b55589b..d50513ebfae 100644 --- a/service/gamelift/api_op_CreateMatchmakingConfiguration.go +++ b/service/gamelift/api_op_CreateMatchmakingConfiguration.go @@ -242,9 +242,6 @@ func (c *Client) addOperationCreateMatchmakingConfigurationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateMatchmakingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_CreateMatchmakingRuleSet.go b/service/gamelift/api_op_CreateMatchmakingRuleSet.go index 67255e599e7..76cc6c87b64 100644 --- a/service/gamelift/api_op_CreateMatchmakingRuleSet.go +++ b/service/gamelift/api_op_CreateMatchmakingRuleSet.go @@ -153,9 +153,6 @@ func (c *Client) addOperationCreateMatchmakingRuleSetMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateMatchmakingRuleSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_CreatePlayerSession.go b/service/gamelift/api_op_CreatePlayerSession.go index 444efa159f4..8e14e39dcfc 100644 --- a/service/gamelift/api_op_CreatePlayerSession.go +++ b/service/gamelift/api_op_CreatePlayerSession.go @@ -142,9 +142,6 @@ func (c *Client) addOperationCreatePlayerSessionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePlayerSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_CreatePlayerSessions.go b/service/gamelift/api_op_CreatePlayerSessions.go index 59554cb22b3..f30fd4793e5 100644 --- a/service/gamelift/api_op_CreatePlayerSessions.go +++ b/service/gamelift/api_op_CreatePlayerSessions.go @@ -144,9 +144,6 @@ func (c *Client) addOperationCreatePlayerSessionsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePlayerSessionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_CreateScript.go b/service/gamelift/api_op_CreateScript.go index 55034eeab8a..702611471df 100644 --- a/service/gamelift/api_op_CreateScript.go +++ b/service/gamelift/api_op_CreateScript.go @@ -192,9 +192,6 @@ func (c *Client) addOperationCreateScriptMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateScriptValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_CreateVpcPeeringAuthorization.go b/service/gamelift/api_op_CreateVpcPeeringAuthorization.go index 9c29b1da85a..3f49994178e 100644 --- a/service/gamelift/api_op_CreateVpcPeeringAuthorization.go +++ b/service/gamelift/api_op_CreateVpcPeeringAuthorization.go @@ -159,9 +159,6 @@ func (c *Client) addOperationCreateVpcPeeringAuthorizationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVpcPeeringAuthorizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_CreateVpcPeeringConnection.go b/service/gamelift/api_op_CreateVpcPeeringConnection.go index 0b0950f1bdc..db9f1f3c123 100644 --- a/service/gamelift/api_op_CreateVpcPeeringConnection.go +++ b/service/gamelift/api_op_CreateVpcPeeringConnection.go @@ -157,9 +157,6 @@ func (c *Client) addOperationCreateVpcPeeringConnectionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVpcPeeringConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DeleteAlias.go b/service/gamelift/api_op_DeleteAlias.go index a588bf9cb08..959e2c2e4ff 100644 --- a/service/gamelift/api_op_DeleteAlias.go +++ b/service/gamelift/api_op_DeleteAlias.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteAliasMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DeleteBuild.go b/service/gamelift/api_op_DeleteBuild.go index ddba1fb685b..f6eb2ebf33e 100644 --- a/service/gamelift/api_op_DeleteBuild.go +++ b/service/gamelift/api_op_DeleteBuild.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteBuildMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBuildValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DeleteContainerFleet.go b/service/gamelift/api_op_DeleteContainerFleet.go index 478e4d86834..2df29724350 100644 --- a/service/gamelift/api_op_DeleteContainerFleet.go +++ b/service/gamelift/api_op_DeleteContainerFleet.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteContainerFleetMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteContainerFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DeleteContainerGroupDefinition.go b/service/gamelift/api_op_DeleteContainerGroupDefinition.go index 2001c257ca6..680299f2ce7 100644 --- a/service/gamelift/api_op_DeleteContainerGroupDefinition.go +++ b/service/gamelift/api_op_DeleteContainerGroupDefinition.go @@ -148,9 +148,6 @@ func (c *Client) addOperationDeleteContainerGroupDefinitionMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteContainerGroupDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DeleteFleet.go b/service/gamelift/api_op_DeleteFleet.go index 0034fb1cc3e..cfce19f079f 100644 --- a/service/gamelift/api_op_DeleteFleet.go +++ b/service/gamelift/api_op_DeleteFleet.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteFleetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DeleteFleetLocations.go b/service/gamelift/api_op_DeleteFleetLocations.go index 22e97291c71..bd1b6c079b7 100644 --- a/service/gamelift/api_op_DeleteFleetLocations.go +++ b/service/gamelift/api_op_DeleteFleetLocations.go @@ -146,9 +146,6 @@ func (c *Client) addOperationDeleteFleetLocationsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFleetLocationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DeleteGameServerGroup.go b/service/gamelift/api_op_DeleteGameServerGroup.go index c03af1b99d8..f5314758155 100644 --- a/service/gamelift/api_op_DeleteGameServerGroup.go +++ b/service/gamelift/api_op_DeleteGameServerGroup.go @@ -158,9 +158,6 @@ func (c *Client) addOperationDeleteGameServerGroupMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGameServerGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DeleteGameSessionQueue.go b/service/gamelift/api_op_DeleteGameSessionQueue.go index bca5598ec6a..2a693a6c180 100644 --- a/service/gamelift/api_op_DeleteGameSessionQueue.go +++ b/service/gamelift/api_op_DeleteGameSessionQueue.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteGameSessionQueueMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGameSessionQueueValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DeleteLocation.go b/service/gamelift/api_op_DeleteLocation.go index cfa1d5ac434..662d98f9319 100644 --- a/service/gamelift/api_op_DeleteLocation.go +++ b/service/gamelift/api_op_DeleteLocation.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteLocationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLocationValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DeleteMatchmakingConfiguration.go b/service/gamelift/api_op_DeleteMatchmakingConfiguration.go index b7f47383fe3..48e274a3a89 100644 --- a/service/gamelift/api_op_DeleteMatchmakingConfiguration.go +++ b/service/gamelift/api_op_DeleteMatchmakingConfiguration.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteMatchmakingConfigurationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMatchmakingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DeleteMatchmakingRuleSet.go b/service/gamelift/api_op_DeleteMatchmakingRuleSet.go index 122d5b1dd7b..bafc6244855 100644 --- a/service/gamelift/api_op_DeleteMatchmakingRuleSet.go +++ b/service/gamelift/api_op_DeleteMatchmakingRuleSet.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteMatchmakingRuleSetMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMatchmakingRuleSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DeleteScalingPolicy.go b/service/gamelift/api_op_DeleteScalingPolicy.go index 91415a4a32a..78d1a2c7a6d 100644 --- a/service/gamelift/api_op_DeleteScalingPolicy.go +++ b/service/gamelift/api_op_DeleteScalingPolicy.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteScalingPolicyMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteScalingPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DeleteScript.go b/service/gamelift/api_op_DeleteScript.go index a968086aa88..6bab2bf24f5 100644 --- a/service/gamelift/api_op_DeleteScript.go +++ b/service/gamelift/api_op_DeleteScript.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDeleteScriptMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteScriptValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DeleteVpcPeeringAuthorization.go b/service/gamelift/api_op_DeleteVpcPeeringAuthorization.go index 9ef80e1c865..60735cb748c 100644 --- a/service/gamelift/api_op_DeleteVpcPeeringAuthorization.go +++ b/service/gamelift/api_op_DeleteVpcPeeringAuthorization.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteVpcPeeringAuthorizationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVpcPeeringAuthorizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DeleteVpcPeeringConnection.go b/service/gamelift/api_op_DeleteVpcPeeringConnection.go index 5920235105d..09b36f582c6 100644 --- a/service/gamelift/api_op_DeleteVpcPeeringConnection.go +++ b/service/gamelift/api_op_DeleteVpcPeeringConnection.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDeleteVpcPeeringConnectionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVpcPeeringConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DeregisterCompute.go b/service/gamelift/api_op_DeregisterCompute.go index 83271af1bb9..7bd49dd0cc8 100644 --- a/service/gamelift/api_op_DeregisterCompute.go +++ b/service/gamelift/api_op_DeregisterCompute.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeregisterComputeMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterComputeValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DeregisterGameServer.go b/service/gamelift/api_op_DeregisterGameServer.go index 42a6acefed1..e65165a0e74 100644 --- a/service/gamelift/api_op_DeregisterGameServer.go +++ b/service/gamelift/api_op_DeregisterGameServer.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeregisterGameServerMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterGameServerValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeAlias.go b/service/gamelift/api_op_DescribeAlias.go index 772e49a4a22..4ebe75a0e7d 100644 --- a/service/gamelift/api_op_DescribeAlias.go +++ b/service/gamelift/api_op_DescribeAlias.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeAliasMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeBuild.go b/service/gamelift/api_op_DescribeBuild.go index 59c839a3911..f6fd091bd22 100644 --- a/service/gamelift/api_op_DescribeBuild.go +++ b/service/gamelift/api_op_DescribeBuild.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeBuildMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBuildValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeCompute.go b/service/gamelift/api_op_DescribeCompute.go index 7d094100c0d..87425400bfe 100644 --- a/service/gamelift/api_op_DescribeCompute.go +++ b/service/gamelift/api_op_DescribeCompute.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribeComputeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeComputeValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeContainerFleet.go b/service/gamelift/api_op_DescribeContainerFleet.go index e8f0035e33c..83ed8ceed68 100644 --- a/service/gamelift/api_op_DescribeContainerFleet.go +++ b/service/gamelift/api_op_DescribeContainerFleet.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeContainerFleetMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeContainerFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeContainerGroupDefinition.go b/service/gamelift/api_op_DescribeContainerGroupDefinition.go index ffb3b67eb38..3c3c5256198 100644 --- a/service/gamelift/api_op_DescribeContainerGroupDefinition.go +++ b/service/gamelift/api_op_DescribeContainerGroupDefinition.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDescribeContainerGroupDefinitionMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeContainerGroupDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeEC2InstanceLimits.go b/service/gamelift/api_op_DescribeEC2InstanceLimits.go index b8710dd3268..3ba4978ecf8 100644 --- a/service/gamelift/api_op_DescribeEC2InstanceLimits.go +++ b/service/gamelift/api_op_DescribeEC2InstanceLimits.go @@ -166,9 +166,6 @@ func (c *Client) addOperationDescribeEC2InstanceLimitsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEC2InstanceLimits(options.Region), middleware.Before); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeFleetAttributes.go b/service/gamelift/api_op_DescribeFleetAttributes.go index 2fa34886b7c..b3e4187b2dd 100644 --- a/service/gamelift/api_op_DescribeFleetAttributes.go +++ b/service/gamelift/api_op_DescribeFleetAttributes.go @@ -154,9 +154,6 @@ func (c *Client) addOperationDescribeFleetAttributesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFleetAttributes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeFleetCapacity.go b/service/gamelift/api_op_DescribeFleetCapacity.go index cd044a741da..ad89e3e0e45 100644 --- a/service/gamelift/api_op_DescribeFleetCapacity.go +++ b/service/gamelift/api_op_DescribeFleetCapacity.go @@ -164,9 +164,6 @@ func (c *Client) addOperationDescribeFleetCapacityMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFleetCapacity(options.Region), middleware.Before); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeFleetDeployment.go b/service/gamelift/api_op_DescribeFleetDeployment.go index 5e0717ebbd1..8c7b2a0410e 100644 --- a/service/gamelift/api_op_DescribeFleetDeployment.go +++ b/service/gamelift/api_op_DescribeFleetDeployment.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeFleetDeploymentMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFleetDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeFleetEvents.go b/service/gamelift/api_op_DescribeFleetEvents.go index cef4477e3b2..45bac6792d2 100644 --- a/service/gamelift/api_op_DescribeFleetEvents.go +++ b/service/gamelift/api_op_DescribeFleetEvents.go @@ -155,9 +155,6 @@ func (c *Client) addOperationDescribeFleetEventsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFleetEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeFleetLocationAttributes.go b/service/gamelift/api_op_DescribeFleetLocationAttributes.go index dfe0d291369..4512e5a9085 100644 --- a/service/gamelift/api_op_DescribeFleetLocationAttributes.go +++ b/service/gamelift/api_op_DescribeFleetLocationAttributes.go @@ -167,9 +167,6 @@ func (c *Client) addOperationDescribeFleetLocationAttributesMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFleetLocationAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeFleetLocationCapacity.go b/service/gamelift/api_op_DescribeFleetLocationCapacity.go index 9bf067775ec..47d9fe6c7be 100644 --- a/service/gamelift/api_op_DescribeFleetLocationCapacity.go +++ b/service/gamelift/api_op_DescribeFleetLocationCapacity.go @@ -145,9 +145,6 @@ func (c *Client) addOperationDescribeFleetLocationCapacityMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFleetLocationCapacityValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeFleetLocationUtilization.go b/service/gamelift/api_op_DescribeFleetLocationUtilization.go index 923c2c97b54..12d7a87056e 100644 --- a/service/gamelift/api_op_DescribeFleetLocationUtilization.go +++ b/service/gamelift/api_op_DescribeFleetLocationUtilization.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeFleetLocationUtilizationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFleetLocationUtilizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeFleetPortSettings.go b/service/gamelift/api_op_DescribeFleetPortSettings.go index f41bc81ee36..e499c85381b 100644 --- a/service/gamelift/api_op_DescribeFleetPortSettings.go +++ b/service/gamelift/api_op_DescribeFleetPortSettings.go @@ -158,9 +158,6 @@ func (c *Client) addOperationDescribeFleetPortSettingsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFleetPortSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeFleetUtilization.go b/service/gamelift/api_op_DescribeFleetUtilization.go index 39386905249..c2e008d12f4 100644 --- a/service/gamelift/api_op_DescribeFleetUtilization.go +++ b/service/gamelift/api_op_DescribeFleetUtilization.go @@ -162,9 +162,6 @@ func (c *Client) addOperationDescribeFleetUtilizationMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFleetUtilization(options.Region), middleware.Before); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeGameServer.go b/service/gamelift/api_op_DescribeGameServer.go index fc531a148a4..04565de32f8 100644 --- a/service/gamelift/api_op_DescribeGameServer.go +++ b/service/gamelift/api_op_DescribeGameServer.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeGameServerMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeGameServerValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeGameServerGroup.go b/service/gamelift/api_op_DescribeGameServerGroup.go index 6a8f60daef7..79f438aebde 100644 --- a/service/gamelift/api_op_DescribeGameServerGroup.go +++ b/service/gamelift/api_op_DescribeGameServerGroup.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeGameServerGroupMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeGameServerGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeGameServerInstances.go b/service/gamelift/api_op_DescribeGameServerInstances.go index 5dae3ac794d..5307097354b 100644 --- a/service/gamelift/api_op_DescribeGameServerInstances.go +++ b/service/gamelift/api_op_DescribeGameServerInstances.go @@ -154,9 +154,6 @@ func (c *Client) addOperationDescribeGameServerInstancesMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeGameServerInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeGameSessionDetails.go b/service/gamelift/api_op_DescribeGameSessionDetails.go index 61fb124a83a..5eca117df46 100644 --- a/service/gamelift/api_op_DescribeGameSessionDetails.go +++ b/service/gamelift/api_op_DescribeGameSessionDetails.go @@ -175,9 +175,6 @@ func (c *Client) addOperationDescribeGameSessionDetailsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGameSessionDetails(options.Region), middleware.Before); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeGameSessionPlacement.go b/service/gamelift/api_op_DescribeGameSessionPlacement.go index f067e23da8b..f02a99701dc 100644 --- a/service/gamelift/api_op_DescribeGameSessionPlacement.go +++ b/service/gamelift/api_op_DescribeGameSessionPlacement.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeGameSessionPlacementMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeGameSessionPlacementValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeGameSessionQueues.go b/service/gamelift/api_op_DescribeGameSessionQueues.go index bfa0e000c12..c22c05172f5 100644 --- a/service/gamelift/api_op_DescribeGameSessionQueues.go +++ b/service/gamelift/api_op_DescribeGameSessionQueues.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeGameSessionQueuesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGameSessionQueues(options.Region), middleware.Before); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeGameSessions.go b/service/gamelift/api_op_DescribeGameSessions.go index 02c62a06470..18fa7303c06 100644 --- a/service/gamelift/api_op_DescribeGameSessions.go +++ b/service/gamelift/api_op_DescribeGameSessions.go @@ -182,9 +182,6 @@ func (c *Client) addOperationDescribeGameSessionsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGameSessions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeInstances.go b/service/gamelift/api_op_DescribeInstances.go index 55aba156b00..19ac67cb24b 100644 --- a/service/gamelift/api_op_DescribeInstances.go +++ b/service/gamelift/api_op_DescribeInstances.go @@ -172,9 +172,6 @@ func (c *Client) addOperationDescribeInstancesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeMatchmaking.go b/service/gamelift/api_op_DescribeMatchmaking.go index 1640e1dc34d..fcf6608d3cb 100644 --- a/service/gamelift/api_op_DescribeMatchmaking.go +++ b/service/gamelift/api_op_DescribeMatchmaking.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeMatchmakingMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeMatchmakingValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeMatchmakingConfigurations.go b/service/gamelift/api_op_DescribeMatchmakingConfigurations.go index 0c4b74f16f8..2060ab835b1 100644 --- a/service/gamelift/api_op_DescribeMatchmakingConfigurations.go +++ b/service/gamelift/api_op_DescribeMatchmakingConfigurations.go @@ -147,9 +147,6 @@ func (c *Client) addOperationDescribeMatchmakingConfigurationsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMatchmakingConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeMatchmakingRuleSets.go b/service/gamelift/api_op_DescribeMatchmakingRuleSets.go index f903afb3602..78b2c4ca9f2 100644 --- a/service/gamelift/api_op_DescribeMatchmakingRuleSets.go +++ b/service/gamelift/api_op_DescribeMatchmakingRuleSets.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDescribeMatchmakingRuleSetsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMatchmakingRuleSets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/gamelift/api_op_DescribePlayerSessions.go b/service/gamelift/api_op_DescribePlayerSessions.go index 8c44c1b2424..85cf1d34421 100644 --- a/service/gamelift/api_op_DescribePlayerSessions.go +++ b/service/gamelift/api_op_DescribePlayerSessions.go @@ -176,9 +176,6 @@ func (c *Client) addOperationDescribePlayerSessionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePlayerSessions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeRuntimeConfiguration.go b/service/gamelift/api_op_DescribeRuntimeConfiguration.go index c4ccd302597..6f24a888ad7 100644 --- a/service/gamelift/api_op_DescribeRuntimeConfiguration.go +++ b/service/gamelift/api_op_DescribeRuntimeConfiguration.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeRuntimeConfigurationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRuntimeConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeScalingPolicies.go b/service/gamelift/api_op_DescribeScalingPolicies.go index b6b2c830213..bbefe1dc8af 100644 --- a/service/gamelift/api_op_DescribeScalingPolicies.go +++ b/service/gamelift/api_op_DescribeScalingPolicies.go @@ -158,9 +158,6 @@ func (c *Client) addOperationDescribeScalingPoliciesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeScalingPoliciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeScript.go b/service/gamelift/api_op_DescribeScript.go index ebdf1ffb369..8214cb79069 100644 --- a/service/gamelift/api_op_DescribeScript.go +++ b/service/gamelift/api_op_DescribeScript.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeScriptMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeScriptValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeVpcPeeringAuthorizations.go b/service/gamelift/api_op_DescribeVpcPeeringAuthorizations.go index d2f1a6c600a..d7f6eef8d53 100644 --- a/service/gamelift/api_op_DescribeVpcPeeringAuthorizations.go +++ b/service/gamelift/api_op_DescribeVpcPeeringAuthorizations.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDescribeVpcPeeringAuthorizationsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpcPeeringAuthorizations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/gamelift/api_op_DescribeVpcPeeringConnections.go b/service/gamelift/api_op_DescribeVpcPeeringConnections.go index f14f5b2cde6..c1c2f0a42b8 100644 --- a/service/gamelift/api_op_DescribeVpcPeeringConnections.go +++ b/service/gamelift/api_op_DescribeVpcPeeringConnections.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeVpcPeeringConnectionsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVpcPeeringConnections(options.Region), middleware.Before); err != nil { return err } diff --git a/service/gamelift/api_op_GetComputeAccess.go b/service/gamelift/api_op_GetComputeAccess.go index d62dd13102f..abf92fb2e35 100644 --- a/service/gamelift/api_op_GetComputeAccess.go +++ b/service/gamelift/api_op_GetComputeAccess.go @@ -167,9 +167,6 @@ func (c *Client) addOperationGetComputeAccessMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetComputeAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_GetComputeAuthToken.go b/service/gamelift/api_op_GetComputeAuthToken.go index 524c75d9aae..b7fb77bfd89 100644 --- a/service/gamelift/api_op_GetComputeAuthToken.go +++ b/service/gamelift/api_op_GetComputeAuthToken.go @@ -172,9 +172,6 @@ func (c *Client) addOperationGetComputeAuthTokenMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetComputeAuthTokenValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_GetGameSessionLogUrl.go b/service/gamelift/api_op_GetGameSessionLogUrl.go index fc3324855a3..005fe30b152 100644 --- a/service/gamelift/api_op_GetGameSessionLogUrl.go +++ b/service/gamelift/api_op_GetGameSessionLogUrl.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetGameSessionLogUrlMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetGameSessionLogUrlValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_GetInstanceAccess.go b/service/gamelift/api_op_GetInstanceAccess.go index 9647abe73a2..7c6204ca43c 100644 --- a/service/gamelift/api_op_GetInstanceAccess.go +++ b/service/gamelift/api_op_GetInstanceAccess.go @@ -160,9 +160,6 @@ func (c *Client) addOperationGetInstanceAccessMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInstanceAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_ListAliases.go b/service/gamelift/api_op_ListAliases.go index 22afaedc79f..312f96db749 100644 --- a/service/gamelift/api_op_ListAliases.go +++ b/service/gamelift/api_op_ListAliases.go @@ -151,9 +151,6 @@ func (c *Client) addOperationListAliasesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAliases(options.Region), middleware.Before); err != nil { return err } diff --git a/service/gamelift/api_op_ListBuilds.go b/service/gamelift/api_op_ListBuilds.go index f00d6ab8d7d..bbc9b06cebb 100644 --- a/service/gamelift/api_op_ListBuilds.go +++ b/service/gamelift/api_op_ListBuilds.go @@ -151,9 +151,6 @@ func (c *Client) addOperationListBuildsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBuilds(options.Region), middleware.Before); err != nil { return err } diff --git a/service/gamelift/api_op_ListCompute.go b/service/gamelift/api_op_ListCompute.go index 35cfc596ebc..67e27aa446f 100644 --- a/service/gamelift/api_op_ListCompute.go +++ b/service/gamelift/api_op_ListCompute.go @@ -167,9 +167,6 @@ func (c *Client) addOperationListComputeMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListComputeValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_ListContainerFleets.go b/service/gamelift/api_op_ListContainerFleets.go index b93ceff7272..6da6718abf2 100644 --- a/service/gamelift/api_op_ListContainerFleets.go +++ b/service/gamelift/api_op_ListContainerFleets.go @@ -150,9 +150,6 @@ func (c *Client) addOperationListContainerFleetsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListContainerFleets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/gamelift/api_op_ListContainerGroupDefinitionVersions.go b/service/gamelift/api_op_ListContainerGroupDefinitionVersions.go index 8bda2b88e9a..a3c60147bb1 100644 --- a/service/gamelift/api_op_ListContainerGroupDefinitionVersions.go +++ b/service/gamelift/api_op_ListContainerGroupDefinitionVersions.go @@ -148,9 +148,6 @@ func (c *Client) addOperationListContainerGroupDefinitionVersionsMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListContainerGroupDefinitionVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_ListContainerGroupDefinitions.go b/service/gamelift/api_op_ListContainerGroupDefinitions.go index 3fc530df786..ebb51f490f9 100644 --- a/service/gamelift/api_op_ListContainerGroupDefinitions.go +++ b/service/gamelift/api_op_ListContainerGroupDefinitions.go @@ -147,9 +147,6 @@ func (c *Client) addOperationListContainerGroupDefinitionsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListContainerGroupDefinitions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/gamelift/api_op_ListFleetDeployments.go b/service/gamelift/api_op_ListFleetDeployments.go index 70949120e4f..09e81f9f98c 100644 --- a/service/gamelift/api_op_ListFleetDeployments.go +++ b/service/gamelift/api_op_ListFleetDeployments.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListFleetDeploymentsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFleetDeployments(options.Region), middleware.Before); err != nil { return err } diff --git a/service/gamelift/api_op_ListFleets.go b/service/gamelift/api_op_ListFleets.go index b5d41cb7518..744b5211edf 100644 --- a/service/gamelift/api_op_ListFleets.go +++ b/service/gamelift/api_op_ListFleets.go @@ -152,9 +152,6 @@ func (c *Client) addOperationListFleetsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFleets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/gamelift/api_op_ListGameServerGroups.go b/service/gamelift/api_op_ListGameServerGroups.go index afab9505221..a594e02a98e 100644 --- a/service/gamelift/api_op_ListGameServerGroups.go +++ b/service/gamelift/api_op_ListGameServerGroups.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListGameServerGroupsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGameServerGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/gamelift/api_op_ListGameServers.go b/service/gamelift/api_op_ListGameServers.go index c7173591359..6997f3fe8fb 100644 --- a/service/gamelift/api_op_ListGameServers.go +++ b/service/gamelift/api_op_ListGameServers.go @@ -146,9 +146,6 @@ func (c *Client) addOperationListGameServersMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListGameServersValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_ListLocations.go b/service/gamelift/api_op_ListLocations.go index 3d4c9ed2bc5..1714340f52c 100644 --- a/service/gamelift/api_op_ListLocations.go +++ b/service/gamelift/api_op_ListLocations.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListLocationsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLocations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/gamelift/api_op_ListScripts.go b/service/gamelift/api_op_ListScripts.go index 4254237597e..792f3aa5d25 100644 --- a/service/gamelift/api_op_ListScripts.go +++ b/service/gamelift/api_op_ListScripts.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListScriptsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListScripts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/gamelift/api_op_ListTagsForResource.go b/service/gamelift/api_op_ListTagsForResource.go index 029893490e5..ec7abd4e0b8 100644 --- a/service/gamelift/api_op_ListTagsForResource.go +++ b/service/gamelift/api_op_ListTagsForResource.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_PutScalingPolicy.go b/service/gamelift/api_op_PutScalingPolicy.go index 97f179f376d..b9539c4601b 100644 --- a/service/gamelift/api_op_PutScalingPolicy.go +++ b/service/gamelift/api_op_PutScalingPolicy.go @@ -270,9 +270,6 @@ func (c *Client) addOperationPutScalingPolicyMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutScalingPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_RegisterCompute.go b/service/gamelift/api_op_RegisterCompute.go index 8942ee97556..bf580b03563 100644 --- a/service/gamelift/api_op_RegisterCompute.go +++ b/service/gamelift/api_op_RegisterCompute.go @@ -168,9 +168,6 @@ func (c *Client) addOperationRegisterComputeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterComputeValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_RegisterGameServer.go b/service/gamelift/api_op_RegisterGameServer.go index e7800fa75e7..ad080b5c904 100644 --- a/service/gamelift/api_op_RegisterGameServer.go +++ b/service/gamelift/api_op_RegisterGameServer.go @@ -160,9 +160,6 @@ func (c *Client) addOperationRegisterGameServerMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterGameServerValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_RequestUploadCredentials.go b/service/gamelift/api_op_RequestUploadCredentials.go index 75d004a86ca..338dae885c8 100644 --- a/service/gamelift/api_op_RequestUploadCredentials.go +++ b/service/gamelift/api_op_RequestUploadCredentials.go @@ -134,9 +134,6 @@ func (c *Client) addOperationRequestUploadCredentialsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRequestUploadCredentialsValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_ResolveAlias.go b/service/gamelift/api_op_ResolveAlias.go index 7cb66b17adf..c228cce4818 100644 --- a/service/gamelift/api_op_ResolveAlias.go +++ b/service/gamelift/api_op_ResolveAlias.go @@ -129,9 +129,6 @@ func (c *Client) addOperationResolveAliasMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResolveAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_ResumeGameServerGroup.go b/service/gamelift/api_op_ResumeGameServerGroup.go index d4175d33e6a..cad7b521d6d 100644 --- a/service/gamelift/api_op_ResumeGameServerGroup.go +++ b/service/gamelift/api_op_ResumeGameServerGroup.go @@ -137,9 +137,6 @@ func (c *Client) addOperationResumeGameServerGroupMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResumeGameServerGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_SearchGameSessions.go b/service/gamelift/api_op_SearchGameSessions.go index 7d30a7f6fca..997fab221c1 100644 --- a/service/gamelift/api_op_SearchGameSessions.go +++ b/service/gamelift/api_op_SearchGameSessions.go @@ -269,9 +269,6 @@ func (c *Client) addOperationSearchGameSessionsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchGameSessions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/gamelift/api_op_StartFleetActions.go b/service/gamelift/api_op_StartFleetActions.go index 14e9ff8e2ab..a19a8e37eaa 100644 --- a/service/gamelift/api_op_StartFleetActions.go +++ b/service/gamelift/api_op_StartFleetActions.go @@ -151,9 +151,6 @@ func (c *Client) addOperationStartFleetActionsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartFleetActionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_StartGameSessionPlacement.go b/service/gamelift/api_op_StartGameSessionPlacement.go index 2c7d8b83637..b0d9dde0e68 100644 --- a/service/gamelift/api_op_StartGameSessionPlacement.go +++ b/service/gamelift/api_op_StartGameSessionPlacement.go @@ -225,9 +225,6 @@ func (c *Client) addOperationStartGameSessionPlacementMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartGameSessionPlacementValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_StartMatchBackfill.go b/service/gamelift/api_op_StartMatchBackfill.go index a4a367253bb..1a7d1c3b602 100644 --- a/service/gamelift/api_op_StartMatchBackfill.go +++ b/service/gamelift/api_op_StartMatchBackfill.go @@ -190,9 +190,6 @@ func (c *Client) addOperationStartMatchBackfillMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartMatchBackfillValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_StartMatchmaking.go b/service/gamelift/api_op_StartMatchmaking.go index 8f9f1515c05..5025b408d55 100644 --- a/service/gamelift/api_op_StartMatchmaking.go +++ b/service/gamelift/api_op_StartMatchmaking.go @@ -160,9 +160,6 @@ func (c *Client) addOperationStartMatchmakingMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartMatchmakingValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_StopFleetActions.go b/service/gamelift/api_op_StopFleetActions.go index d45268c3cbe..ebe9ce8133f 100644 --- a/service/gamelift/api_op_StopFleetActions.go +++ b/service/gamelift/api_op_StopFleetActions.go @@ -155,9 +155,6 @@ func (c *Client) addOperationStopFleetActionsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopFleetActionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_StopGameSessionPlacement.go b/service/gamelift/api_op_StopGameSessionPlacement.go index bcd28ccc570..55e3981a858 100644 --- a/service/gamelift/api_op_StopGameSessionPlacement.go +++ b/service/gamelift/api_op_StopGameSessionPlacement.go @@ -115,9 +115,6 @@ func (c *Client) addOperationStopGameSessionPlacementMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopGameSessionPlacementValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_StopMatchmaking.go b/service/gamelift/api_op_StopMatchmaking.go index 0bc5dd6f025..ba874e145b9 100644 --- a/service/gamelift/api_op_StopMatchmaking.go +++ b/service/gamelift/api_op_StopMatchmaking.go @@ -125,9 +125,6 @@ func (c *Client) addOperationStopMatchmakingMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopMatchmakingValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_SuspendGameServerGroup.go b/service/gamelift/api_op_SuspendGameServerGroup.go index 9fbaf8ca342..a657c221b12 100644 --- a/service/gamelift/api_op_SuspendGameServerGroup.go +++ b/service/gamelift/api_op_SuspendGameServerGroup.go @@ -143,9 +143,6 @@ func (c *Client) addOperationSuspendGameServerGroupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSuspendGameServerGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_TagResource.go b/service/gamelift/api_op_TagResource.go index 27c79a5d55b..a28f8292574 100644 --- a/service/gamelift/api_op_TagResource.go +++ b/service/gamelift/api_op_TagResource.go @@ -144,9 +144,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_TerminateGameSession.go b/service/gamelift/api_op_TerminateGameSession.go index bc82c18d80e..fe71207664e 100644 --- a/service/gamelift/api_op_TerminateGameSession.go +++ b/service/gamelift/api_op_TerminateGameSession.go @@ -193,9 +193,6 @@ func (c *Client) addOperationTerminateGameSessionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTerminateGameSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_UntagResource.go b/service/gamelift/api_op_UntagResource.go index 9acb2666ec6..34324ecdbb3 100644 --- a/service/gamelift/api_op_UntagResource.go +++ b/service/gamelift/api_op_UntagResource.go @@ -139,9 +139,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_UpdateAlias.go b/service/gamelift/api_op_UpdateAlias.go index 992a3e3ffae..b408aaada15 100644 --- a/service/gamelift/api_op_UpdateAlias.go +++ b/service/gamelift/api_op_UpdateAlias.go @@ -133,9 +133,6 @@ func (c *Client) addOperationUpdateAliasMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_UpdateBuild.go b/service/gamelift/api_op_UpdateBuild.go index 996d885bc53..42b80fb562d 100644 --- a/service/gamelift/api_op_UpdateBuild.go +++ b/service/gamelift/api_op_UpdateBuild.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdateBuildMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBuildValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_UpdateContainerFleet.go b/service/gamelift/api_op_UpdateContainerFleet.go index 0bb4fa4c82f..654d7d7c6c7 100644 --- a/service/gamelift/api_op_UpdateContainerFleet.go +++ b/service/gamelift/api_op_UpdateContainerFleet.go @@ -234,9 +234,6 @@ func (c *Client) addOperationUpdateContainerFleetMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateContainerFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_UpdateContainerGroupDefinition.go b/service/gamelift/api_op_UpdateContainerGroupDefinition.go index b45038f41c1..6544601bc82 100644 --- a/service/gamelift/api_op_UpdateContainerGroupDefinition.go +++ b/service/gamelift/api_op_UpdateContainerGroupDefinition.go @@ -194,9 +194,6 @@ func (c *Client) addOperationUpdateContainerGroupDefinitionMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateContainerGroupDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_UpdateFleetAttributes.go b/service/gamelift/api_op_UpdateFleetAttributes.go index f8793925b9b..cbc51d86348 100644 --- a/service/gamelift/api_op_UpdateFleetAttributes.go +++ b/service/gamelift/api_op_UpdateFleetAttributes.go @@ -164,9 +164,6 @@ func (c *Client) addOperationUpdateFleetAttributesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFleetAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_UpdateFleetCapacity.go b/service/gamelift/api_op_UpdateFleetCapacity.go index 801c870b618..6a8394dd9a5 100644 --- a/service/gamelift/api_op_UpdateFleetCapacity.go +++ b/service/gamelift/api_op_UpdateFleetCapacity.go @@ -184,9 +184,6 @@ func (c *Client) addOperationUpdateFleetCapacityMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFleetCapacityValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_UpdateFleetPortSettings.go b/service/gamelift/api_op_UpdateFleetPortSettings.go index 703ac79ce24..265358f67ea 100644 --- a/service/gamelift/api_op_UpdateFleetPortSettings.go +++ b/service/gamelift/api_op_UpdateFleetPortSettings.go @@ -144,9 +144,6 @@ func (c *Client) addOperationUpdateFleetPortSettingsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFleetPortSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_UpdateGameServer.go b/service/gamelift/api_op_UpdateGameServer.go index fca758c3eaa..340263f943d 100644 --- a/service/gamelift/api_op_UpdateGameServer.go +++ b/service/gamelift/api_op_UpdateGameServer.go @@ -164,9 +164,6 @@ func (c *Client) addOperationUpdateGameServerMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateGameServerValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_UpdateGameServerGroup.go b/service/gamelift/api_op_UpdateGameServerGroup.go index 1c133615d78..1fa9923e596 100644 --- a/service/gamelift/api_op_UpdateGameServerGroup.go +++ b/service/gamelift/api_op_UpdateGameServerGroup.go @@ -182,9 +182,6 @@ func (c *Client) addOperationUpdateGameServerGroupMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateGameServerGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_UpdateGameSession.go b/service/gamelift/api_op_UpdateGameSession.go index 7dd1fd15401..1647a8356ad 100644 --- a/service/gamelift/api_op_UpdateGameSession.go +++ b/service/gamelift/api_op_UpdateGameSession.go @@ -149,9 +149,6 @@ func (c *Client) addOperationUpdateGameSessionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateGameSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_UpdateGameSessionQueue.go b/service/gamelift/api_op_UpdateGameSessionQueue.go index 4a962c0bd5d..b6093cb2e7f 100644 --- a/service/gamelift/api_op_UpdateGameSessionQueue.go +++ b/service/gamelift/api_op_UpdateGameSessionQueue.go @@ -164,9 +164,6 @@ func (c *Client) addOperationUpdateGameSessionQueueMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateGameSessionQueueValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_UpdateMatchmakingConfiguration.go b/service/gamelift/api_op_UpdateMatchmakingConfiguration.go index 31cfbbf994d..3c505609d8d 100644 --- a/service/gamelift/api_op_UpdateMatchmakingConfiguration.go +++ b/service/gamelift/api_op_UpdateMatchmakingConfiguration.go @@ -208,9 +208,6 @@ func (c *Client) addOperationUpdateMatchmakingConfigurationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMatchmakingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_UpdateRuntimeConfiguration.go b/service/gamelift/api_op_UpdateRuntimeConfiguration.go index 800ab0ef07c..4f2a95306b6 100644 --- a/service/gamelift/api_op_UpdateRuntimeConfiguration.go +++ b/service/gamelift/api_op_UpdateRuntimeConfiguration.go @@ -142,9 +142,6 @@ func (c *Client) addOperationUpdateRuntimeConfigurationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRuntimeConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_UpdateScript.go b/service/gamelift/api_op_UpdateScript.go index 4cca2ab8eac..4cc893916c7 100644 --- a/service/gamelift/api_op_UpdateScript.go +++ b/service/gamelift/api_op_UpdateScript.go @@ -169,9 +169,6 @@ func (c *Client) addOperationUpdateScriptMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateScriptValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/api_op_ValidateMatchmakingRuleSet.go b/service/gamelift/api_op_ValidateMatchmakingRuleSet.go index c28bc4a6884..3ba7567f6b5 100644 --- a/service/gamelift/api_op_ValidateMatchmakingRuleSet.go +++ b/service/gamelift/api_op_ValidateMatchmakingRuleSet.go @@ -120,9 +120,6 @@ func (c *Client) addOperationValidateMatchmakingRuleSetMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpValidateMatchmakingRuleSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/gamelift/snapshot/api_op_AcceptMatch.go.snap b/service/gamelift/snapshot/api_op_AcceptMatch.go.snap index afd4c0074d3..070c63981af 100644 --- a/service/gamelift/snapshot/api_op_AcceptMatch.go.snap +++ b/service/gamelift/snapshot/api_op_AcceptMatch.go.snap @@ -14,7 +14,6 @@ AcceptMatch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_ClaimGameServer.go.snap b/service/gamelift/snapshot/api_op_ClaimGameServer.go.snap index 11f25b9a327..ab08f900874 100644 --- a/service/gamelift/snapshot/api_op_ClaimGameServer.go.snap +++ b/service/gamelift/snapshot/api_op_ClaimGameServer.go.snap @@ -14,7 +14,6 @@ ClaimGameServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_CreateAlias.go.snap b/service/gamelift/snapshot/api_op_CreateAlias.go.snap index ea96e788303..2949a1e05b7 100644 --- a/service/gamelift/snapshot/api_op_CreateAlias.go.snap +++ b/service/gamelift/snapshot/api_op_CreateAlias.go.snap @@ -14,7 +14,6 @@ CreateAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_CreateBuild.go.snap b/service/gamelift/snapshot/api_op_CreateBuild.go.snap index 3ea46e3cb87..d727924b7f4 100644 --- a/service/gamelift/snapshot/api_op_CreateBuild.go.snap +++ b/service/gamelift/snapshot/api_op_CreateBuild.go.snap @@ -14,7 +14,6 @@ CreateBuild Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_CreateContainerFleet.go.snap b/service/gamelift/snapshot/api_op_CreateContainerFleet.go.snap index 16383261f6b..28fcb5eec03 100644 --- a/service/gamelift/snapshot/api_op_CreateContainerFleet.go.snap +++ b/service/gamelift/snapshot/api_op_CreateContainerFleet.go.snap @@ -14,7 +14,6 @@ CreateContainerFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_CreateContainerGroupDefinition.go.snap b/service/gamelift/snapshot/api_op_CreateContainerGroupDefinition.go.snap index 0fe1f3cb8a0..87866d0e3cb 100644 --- a/service/gamelift/snapshot/api_op_CreateContainerGroupDefinition.go.snap +++ b/service/gamelift/snapshot/api_op_CreateContainerGroupDefinition.go.snap @@ -14,7 +14,6 @@ CreateContainerGroupDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_CreateFleet.go.snap b/service/gamelift/snapshot/api_op_CreateFleet.go.snap index e305f1ff665..de432044562 100644 --- a/service/gamelift/snapshot/api_op_CreateFleet.go.snap +++ b/service/gamelift/snapshot/api_op_CreateFleet.go.snap @@ -14,7 +14,6 @@ CreateFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_CreateFleetLocations.go.snap b/service/gamelift/snapshot/api_op_CreateFleetLocations.go.snap index 9d4950ed0f1..44f55884952 100644 --- a/service/gamelift/snapshot/api_op_CreateFleetLocations.go.snap +++ b/service/gamelift/snapshot/api_op_CreateFleetLocations.go.snap @@ -14,7 +14,6 @@ CreateFleetLocations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_CreateGameServerGroup.go.snap b/service/gamelift/snapshot/api_op_CreateGameServerGroup.go.snap index 2fca0b4a1d4..e7f826bbceb 100644 --- a/service/gamelift/snapshot/api_op_CreateGameServerGroup.go.snap +++ b/service/gamelift/snapshot/api_op_CreateGameServerGroup.go.snap @@ -14,7 +14,6 @@ CreateGameServerGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_CreateGameSession.go.snap b/service/gamelift/snapshot/api_op_CreateGameSession.go.snap index bd2057ca9ef..c1e4c1ffa72 100644 --- a/service/gamelift/snapshot/api_op_CreateGameSession.go.snap +++ b/service/gamelift/snapshot/api_op_CreateGameSession.go.snap @@ -14,7 +14,6 @@ CreateGameSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_CreateGameSessionQueue.go.snap b/service/gamelift/snapshot/api_op_CreateGameSessionQueue.go.snap index bb56d13b0a8..92a94091656 100644 --- a/service/gamelift/snapshot/api_op_CreateGameSessionQueue.go.snap +++ b/service/gamelift/snapshot/api_op_CreateGameSessionQueue.go.snap @@ -14,7 +14,6 @@ CreateGameSessionQueue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_CreateLocation.go.snap b/service/gamelift/snapshot/api_op_CreateLocation.go.snap index 78aa59f4404..bcdc21dfad5 100644 --- a/service/gamelift/snapshot/api_op_CreateLocation.go.snap +++ b/service/gamelift/snapshot/api_op_CreateLocation.go.snap @@ -14,7 +14,6 @@ CreateLocation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_CreateMatchmakingConfiguration.go.snap b/service/gamelift/snapshot/api_op_CreateMatchmakingConfiguration.go.snap index df8edae7f1c..719930fd099 100644 --- a/service/gamelift/snapshot/api_op_CreateMatchmakingConfiguration.go.snap +++ b/service/gamelift/snapshot/api_op_CreateMatchmakingConfiguration.go.snap @@ -14,7 +14,6 @@ CreateMatchmakingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_CreateMatchmakingRuleSet.go.snap b/service/gamelift/snapshot/api_op_CreateMatchmakingRuleSet.go.snap index 6df8fe96133..9d6d10c7f9b 100644 --- a/service/gamelift/snapshot/api_op_CreateMatchmakingRuleSet.go.snap +++ b/service/gamelift/snapshot/api_op_CreateMatchmakingRuleSet.go.snap @@ -14,7 +14,6 @@ CreateMatchmakingRuleSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_CreatePlayerSession.go.snap b/service/gamelift/snapshot/api_op_CreatePlayerSession.go.snap index 9617baf4fdc..4d79fc804fe 100644 --- a/service/gamelift/snapshot/api_op_CreatePlayerSession.go.snap +++ b/service/gamelift/snapshot/api_op_CreatePlayerSession.go.snap @@ -14,7 +14,6 @@ CreatePlayerSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_CreatePlayerSessions.go.snap b/service/gamelift/snapshot/api_op_CreatePlayerSessions.go.snap index e29f1343ffd..a67d20c2c35 100644 --- a/service/gamelift/snapshot/api_op_CreatePlayerSessions.go.snap +++ b/service/gamelift/snapshot/api_op_CreatePlayerSessions.go.snap @@ -14,7 +14,6 @@ CreatePlayerSessions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_CreateScript.go.snap b/service/gamelift/snapshot/api_op_CreateScript.go.snap index bd8f989d036..728001c4682 100644 --- a/service/gamelift/snapshot/api_op_CreateScript.go.snap +++ b/service/gamelift/snapshot/api_op_CreateScript.go.snap @@ -14,7 +14,6 @@ CreateScript Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_CreateVpcPeeringAuthorization.go.snap b/service/gamelift/snapshot/api_op_CreateVpcPeeringAuthorization.go.snap index b5b6ce2e878..bc530e9001d 100644 --- a/service/gamelift/snapshot/api_op_CreateVpcPeeringAuthorization.go.snap +++ b/service/gamelift/snapshot/api_op_CreateVpcPeeringAuthorization.go.snap @@ -14,7 +14,6 @@ CreateVpcPeeringAuthorization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_CreateVpcPeeringConnection.go.snap b/service/gamelift/snapshot/api_op_CreateVpcPeeringConnection.go.snap index f219c4cccd1..dfdf2b5702a 100644 --- a/service/gamelift/snapshot/api_op_CreateVpcPeeringConnection.go.snap +++ b/service/gamelift/snapshot/api_op_CreateVpcPeeringConnection.go.snap @@ -14,7 +14,6 @@ CreateVpcPeeringConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DeleteAlias.go.snap b/service/gamelift/snapshot/api_op_DeleteAlias.go.snap index 469fb018efd..d0401eaf34c 100644 --- a/service/gamelift/snapshot/api_op_DeleteAlias.go.snap +++ b/service/gamelift/snapshot/api_op_DeleteAlias.go.snap @@ -14,7 +14,6 @@ DeleteAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DeleteBuild.go.snap b/service/gamelift/snapshot/api_op_DeleteBuild.go.snap index 51a05ef9c29..277ca398b1b 100644 --- a/service/gamelift/snapshot/api_op_DeleteBuild.go.snap +++ b/service/gamelift/snapshot/api_op_DeleteBuild.go.snap @@ -14,7 +14,6 @@ DeleteBuild Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DeleteContainerFleet.go.snap b/service/gamelift/snapshot/api_op_DeleteContainerFleet.go.snap index b76d577c9d1..ec700b98baa 100644 --- a/service/gamelift/snapshot/api_op_DeleteContainerFleet.go.snap +++ b/service/gamelift/snapshot/api_op_DeleteContainerFleet.go.snap @@ -14,7 +14,6 @@ DeleteContainerFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DeleteContainerGroupDefinition.go.snap b/service/gamelift/snapshot/api_op_DeleteContainerGroupDefinition.go.snap index 5edd804e09c..65fe6d2177c 100644 --- a/service/gamelift/snapshot/api_op_DeleteContainerGroupDefinition.go.snap +++ b/service/gamelift/snapshot/api_op_DeleteContainerGroupDefinition.go.snap @@ -14,7 +14,6 @@ DeleteContainerGroupDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DeleteFleet.go.snap b/service/gamelift/snapshot/api_op_DeleteFleet.go.snap index 33858ccc341..d726bd6cf54 100644 --- a/service/gamelift/snapshot/api_op_DeleteFleet.go.snap +++ b/service/gamelift/snapshot/api_op_DeleteFleet.go.snap @@ -14,7 +14,6 @@ DeleteFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DeleteFleetLocations.go.snap b/service/gamelift/snapshot/api_op_DeleteFleetLocations.go.snap index a4e0b30ef2e..a5d7e81a64a 100644 --- a/service/gamelift/snapshot/api_op_DeleteFleetLocations.go.snap +++ b/service/gamelift/snapshot/api_op_DeleteFleetLocations.go.snap @@ -14,7 +14,6 @@ DeleteFleetLocations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DeleteGameServerGroup.go.snap b/service/gamelift/snapshot/api_op_DeleteGameServerGroup.go.snap index c3d9478431c..f51f9431a55 100644 --- a/service/gamelift/snapshot/api_op_DeleteGameServerGroup.go.snap +++ b/service/gamelift/snapshot/api_op_DeleteGameServerGroup.go.snap @@ -14,7 +14,6 @@ DeleteGameServerGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DeleteGameSessionQueue.go.snap b/service/gamelift/snapshot/api_op_DeleteGameSessionQueue.go.snap index 48c2584b1d8..9dcd5e67834 100644 --- a/service/gamelift/snapshot/api_op_DeleteGameSessionQueue.go.snap +++ b/service/gamelift/snapshot/api_op_DeleteGameSessionQueue.go.snap @@ -14,7 +14,6 @@ DeleteGameSessionQueue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DeleteLocation.go.snap b/service/gamelift/snapshot/api_op_DeleteLocation.go.snap index 905f18d0f41..365e209c963 100644 --- a/service/gamelift/snapshot/api_op_DeleteLocation.go.snap +++ b/service/gamelift/snapshot/api_op_DeleteLocation.go.snap @@ -14,7 +14,6 @@ DeleteLocation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DeleteMatchmakingConfiguration.go.snap b/service/gamelift/snapshot/api_op_DeleteMatchmakingConfiguration.go.snap index 3b1079c2919..d5979a46e16 100644 --- a/service/gamelift/snapshot/api_op_DeleteMatchmakingConfiguration.go.snap +++ b/service/gamelift/snapshot/api_op_DeleteMatchmakingConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteMatchmakingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DeleteMatchmakingRuleSet.go.snap b/service/gamelift/snapshot/api_op_DeleteMatchmakingRuleSet.go.snap index 32a246f79ca..8ac96ddc79c 100644 --- a/service/gamelift/snapshot/api_op_DeleteMatchmakingRuleSet.go.snap +++ b/service/gamelift/snapshot/api_op_DeleteMatchmakingRuleSet.go.snap @@ -14,7 +14,6 @@ DeleteMatchmakingRuleSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DeleteScalingPolicy.go.snap b/service/gamelift/snapshot/api_op_DeleteScalingPolicy.go.snap index 67c25aaecfe..228eb9490f4 100644 --- a/service/gamelift/snapshot/api_op_DeleteScalingPolicy.go.snap +++ b/service/gamelift/snapshot/api_op_DeleteScalingPolicy.go.snap @@ -14,7 +14,6 @@ DeleteScalingPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DeleteScript.go.snap b/service/gamelift/snapshot/api_op_DeleteScript.go.snap index ed7f4d8e71b..6e316df9501 100644 --- a/service/gamelift/snapshot/api_op_DeleteScript.go.snap +++ b/service/gamelift/snapshot/api_op_DeleteScript.go.snap @@ -14,7 +14,6 @@ DeleteScript Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DeleteVpcPeeringAuthorization.go.snap b/service/gamelift/snapshot/api_op_DeleteVpcPeeringAuthorization.go.snap index bc7bbd95ad3..f77349a9ce2 100644 --- a/service/gamelift/snapshot/api_op_DeleteVpcPeeringAuthorization.go.snap +++ b/service/gamelift/snapshot/api_op_DeleteVpcPeeringAuthorization.go.snap @@ -14,7 +14,6 @@ DeleteVpcPeeringAuthorization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DeleteVpcPeeringConnection.go.snap b/service/gamelift/snapshot/api_op_DeleteVpcPeeringConnection.go.snap index 8f9b1144ac2..e427d98b082 100644 --- a/service/gamelift/snapshot/api_op_DeleteVpcPeeringConnection.go.snap +++ b/service/gamelift/snapshot/api_op_DeleteVpcPeeringConnection.go.snap @@ -14,7 +14,6 @@ DeleteVpcPeeringConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DeregisterCompute.go.snap b/service/gamelift/snapshot/api_op_DeregisterCompute.go.snap index 9a20c6b94a5..0735ae8ef43 100644 --- a/service/gamelift/snapshot/api_op_DeregisterCompute.go.snap +++ b/service/gamelift/snapshot/api_op_DeregisterCompute.go.snap @@ -14,7 +14,6 @@ DeregisterCompute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DeregisterGameServer.go.snap b/service/gamelift/snapshot/api_op_DeregisterGameServer.go.snap index fdb2a6009b9..c1daa23e910 100644 --- a/service/gamelift/snapshot/api_op_DeregisterGameServer.go.snap +++ b/service/gamelift/snapshot/api_op_DeregisterGameServer.go.snap @@ -14,7 +14,6 @@ DeregisterGameServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DescribeAlias.go.snap b/service/gamelift/snapshot/api_op_DescribeAlias.go.snap index 803960c8d0b..501868673ab 100644 --- a/service/gamelift/snapshot/api_op_DescribeAlias.go.snap +++ b/service/gamelift/snapshot/api_op_DescribeAlias.go.snap @@ -14,7 +14,6 @@ DescribeAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DescribeBuild.go.snap b/service/gamelift/snapshot/api_op_DescribeBuild.go.snap index 699f4cb1f29..02db2e2e9be 100644 --- a/service/gamelift/snapshot/api_op_DescribeBuild.go.snap +++ b/service/gamelift/snapshot/api_op_DescribeBuild.go.snap @@ -14,7 +14,6 @@ DescribeBuild Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DescribeCompute.go.snap b/service/gamelift/snapshot/api_op_DescribeCompute.go.snap index 8c62b8453a2..666b8abde34 100644 --- a/service/gamelift/snapshot/api_op_DescribeCompute.go.snap +++ b/service/gamelift/snapshot/api_op_DescribeCompute.go.snap @@ -14,7 +14,6 @@ DescribeCompute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DescribeContainerFleet.go.snap b/service/gamelift/snapshot/api_op_DescribeContainerFleet.go.snap index 678e4dc54ad..eab82dd00d7 100644 --- a/service/gamelift/snapshot/api_op_DescribeContainerFleet.go.snap +++ b/service/gamelift/snapshot/api_op_DescribeContainerFleet.go.snap @@ -14,7 +14,6 @@ DescribeContainerFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DescribeContainerGroupDefinition.go.snap b/service/gamelift/snapshot/api_op_DescribeContainerGroupDefinition.go.snap index 77804da2d8a..0c3897575df 100644 --- a/service/gamelift/snapshot/api_op_DescribeContainerGroupDefinition.go.snap +++ b/service/gamelift/snapshot/api_op_DescribeContainerGroupDefinition.go.snap @@ -14,7 +14,6 @@ DescribeContainerGroupDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DescribeEC2InstanceLimits.go.snap b/service/gamelift/snapshot/api_op_DescribeEC2InstanceLimits.go.snap index 36b307d4a08..890e317ae50 100644 --- a/service/gamelift/snapshot/api_op_DescribeEC2InstanceLimits.go.snap +++ b/service/gamelift/snapshot/api_op_DescribeEC2InstanceLimits.go.snap @@ -13,7 +13,6 @@ DescribeEC2InstanceLimits Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DescribeFleetAttributes.go.snap b/service/gamelift/snapshot/api_op_DescribeFleetAttributes.go.snap index be64957fe2e..4f7ca312fa9 100644 --- a/service/gamelift/snapshot/api_op_DescribeFleetAttributes.go.snap +++ b/service/gamelift/snapshot/api_op_DescribeFleetAttributes.go.snap @@ -13,7 +13,6 @@ DescribeFleetAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DescribeFleetCapacity.go.snap b/service/gamelift/snapshot/api_op_DescribeFleetCapacity.go.snap index b43b9be8c47..c61895d7ff1 100644 --- a/service/gamelift/snapshot/api_op_DescribeFleetCapacity.go.snap +++ b/service/gamelift/snapshot/api_op_DescribeFleetCapacity.go.snap @@ -13,7 +13,6 @@ DescribeFleetCapacity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DescribeFleetDeployment.go.snap b/service/gamelift/snapshot/api_op_DescribeFleetDeployment.go.snap index a2f928de707..0cdbe6b1487 100644 --- a/service/gamelift/snapshot/api_op_DescribeFleetDeployment.go.snap +++ b/service/gamelift/snapshot/api_op_DescribeFleetDeployment.go.snap @@ -14,7 +14,6 @@ DescribeFleetDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DescribeFleetEvents.go.snap b/service/gamelift/snapshot/api_op_DescribeFleetEvents.go.snap index 05ea44ff7c3..e1d4c0d8712 100644 --- a/service/gamelift/snapshot/api_op_DescribeFleetEvents.go.snap +++ b/service/gamelift/snapshot/api_op_DescribeFleetEvents.go.snap @@ -14,7 +14,6 @@ DescribeFleetEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DescribeFleetLocationAttributes.go.snap b/service/gamelift/snapshot/api_op_DescribeFleetLocationAttributes.go.snap index 718d522473e..37955b07a8b 100644 --- a/service/gamelift/snapshot/api_op_DescribeFleetLocationAttributes.go.snap +++ b/service/gamelift/snapshot/api_op_DescribeFleetLocationAttributes.go.snap @@ -14,7 +14,6 @@ DescribeFleetLocationAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DescribeFleetLocationCapacity.go.snap b/service/gamelift/snapshot/api_op_DescribeFleetLocationCapacity.go.snap index 44f9dcf7539..5bf3d07d8b4 100644 --- a/service/gamelift/snapshot/api_op_DescribeFleetLocationCapacity.go.snap +++ b/service/gamelift/snapshot/api_op_DescribeFleetLocationCapacity.go.snap @@ -14,7 +14,6 @@ DescribeFleetLocationCapacity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DescribeFleetLocationUtilization.go.snap b/service/gamelift/snapshot/api_op_DescribeFleetLocationUtilization.go.snap index 3c79f15caf7..dcc1d308bde 100644 --- a/service/gamelift/snapshot/api_op_DescribeFleetLocationUtilization.go.snap +++ b/service/gamelift/snapshot/api_op_DescribeFleetLocationUtilization.go.snap @@ -14,7 +14,6 @@ DescribeFleetLocationUtilization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DescribeFleetPortSettings.go.snap b/service/gamelift/snapshot/api_op_DescribeFleetPortSettings.go.snap index 0db05564d37..77cab30f2c7 100644 --- a/service/gamelift/snapshot/api_op_DescribeFleetPortSettings.go.snap +++ b/service/gamelift/snapshot/api_op_DescribeFleetPortSettings.go.snap @@ -14,7 +14,6 @@ DescribeFleetPortSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DescribeFleetUtilization.go.snap b/service/gamelift/snapshot/api_op_DescribeFleetUtilization.go.snap index 037612fcd7b..7385a2760f8 100644 --- a/service/gamelift/snapshot/api_op_DescribeFleetUtilization.go.snap +++ b/service/gamelift/snapshot/api_op_DescribeFleetUtilization.go.snap @@ -13,7 +13,6 @@ DescribeFleetUtilization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DescribeGameServer.go.snap b/service/gamelift/snapshot/api_op_DescribeGameServer.go.snap index 3a7635763f6..197e8e3b0ac 100644 --- a/service/gamelift/snapshot/api_op_DescribeGameServer.go.snap +++ b/service/gamelift/snapshot/api_op_DescribeGameServer.go.snap @@ -14,7 +14,6 @@ DescribeGameServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DescribeGameServerGroup.go.snap b/service/gamelift/snapshot/api_op_DescribeGameServerGroup.go.snap index 3372f76299a..9a141cdb2f5 100644 --- a/service/gamelift/snapshot/api_op_DescribeGameServerGroup.go.snap +++ b/service/gamelift/snapshot/api_op_DescribeGameServerGroup.go.snap @@ -14,7 +14,6 @@ DescribeGameServerGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DescribeGameServerInstances.go.snap b/service/gamelift/snapshot/api_op_DescribeGameServerInstances.go.snap index 3830b882163..1b8b16e7810 100644 --- a/service/gamelift/snapshot/api_op_DescribeGameServerInstances.go.snap +++ b/service/gamelift/snapshot/api_op_DescribeGameServerInstances.go.snap @@ -14,7 +14,6 @@ DescribeGameServerInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DescribeGameSessionDetails.go.snap b/service/gamelift/snapshot/api_op_DescribeGameSessionDetails.go.snap index b869148bab4..3a452a36604 100644 --- a/service/gamelift/snapshot/api_op_DescribeGameSessionDetails.go.snap +++ b/service/gamelift/snapshot/api_op_DescribeGameSessionDetails.go.snap @@ -13,7 +13,6 @@ DescribeGameSessionDetails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DescribeGameSessionPlacement.go.snap b/service/gamelift/snapshot/api_op_DescribeGameSessionPlacement.go.snap index 4ce2c28ab4e..aff3f03fac4 100644 --- a/service/gamelift/snapshot/api_op_DescribeGameSessionPlacement.go.snap +++ b/service/gamelift/snapshot/api_op_DescribeGameSessionPlacement.go.snap @@ -14,7 +14,6 @@ DescribeGameSessionPlacement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DescribeGameSessionQueues.go.snap b/service/gamelift/snapshot/api_op_DescribeGameSessionQueues.go.snap index e5ef8b756cd..0e7f0effa05 100644 --- a/service/gamelift/snapshot/api_op_DescribeGameSessionQueues.go.snap +++ b/service/gamelift/snapshot/api_op_DescribeGameSessionQueues.go.snap @@ -13,7 +13,6 @@ DescribeGameSessionQueues Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DescribeGameSessions.go.snap b/service/gamelift/snapshot/api_op_DescribeGameSessions.go.snap index b8f3ec00128..8b440af04ee 100644 --- a/service/gamelift/snapshot/api_op_DescribeGameSessions.go.snap +++ b/service/gamelift/snapshot/api_op_DescribeGameSessions.go.snap @@ -13,7 +13,6 @@ DescribeGameSessions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DescribeInstances.go.snap b/service/gamelift/snapshot/api_op_DescribeInstances.go.snap index 18f6e4a20aa..ff7e7dea83b 100644 --- a/service/gamelift/snapshot/api_op_DescribeInstances.go.snap +++ b/service/gamelift/snapshot/api_op_DescribeInstances.go.snap @@ -14,7 +14,6 @@ DescribeInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DescribeMatchmaking.go.snap b/service/gamelift/snapshot/api_op_DescribeMatchmaking.go.snap index a4b596879ad..a208efab52c 100644 --- a/service/gamelift/snapshot/api_op_DescribeMatchmaking.go.snap +++ b/service/gamelift/snapshot/api_op_DescribeMatchmaking.go.snap @@ -14,7 +14,6 @@ DescribeMatchmaking Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DescribeMatchmakingConfigurations.go.snap b/service/gamelift/snapshot/api_op_DescribeMatchmakingConfigurations.go.snap index d93a9a652e7..bebb3fb283f 100644 --- a/service/gamelift/snapshot/api_op_DescribeMatchmakingConfigurations.go.snap +++ b/service/gamelift/snapshot/api_op_DescribeMatchmakingConfigurations.go.snap @@ -13,7 +13,6 @@ DescribeMatchmakingConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DescribeMatchmakingRuleSets.go.snap b/service/gamelift/snapshot/api_op_DescribeMatchmakingRuleSets.go.snap index 89fc10dd058..b1082af6e21 100644 --- a/service/gamelift/snapshot/api_op_DescribeMatchmakingRuleSets.go.snap +++ b/service/gamelift/snapshot/api_op_DescribeMatchmakingRuleSets.go.snap @@ -13,7 +13,6 @@ DescribeMatchmakingRuleSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DescribePlayerSessions.go.snap b/service/gamelift/snapshot/api_op_DescribePlayerSessions.go.snap index f6c50c7978a..6c9bfd200cc 100644 --- a/service/gamelift/snapshot/api_op_DescribePlayerSessions.go.snap +++ b/service/gamelift/snapshot/api_op_DescribePlayerSessions.go.snap @@ -13,7 +13,6 @@ DescribePlayerSessions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DescribeRuntimeConfiguration.go.snap b/service/gamelift/snapshot/api_op_DescribeRuntimeConfiguration.go.snap index 344cb7d11f8..50851fa1087 100644 --- a/service/gamelift/snapshot/api_op_DescribeRuntimeConfiguration.go.snap +++ b/service/gamelift/snapshot/api_op_DescribeRuntimeConfiguration.go.snap @@ -14,7 +14,6 @@ DescribeRuntimeConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DescribeScalingPolicies.go.snap b/service/gamelift/snapshot/api_op_DescribeScalingPolicies.go.snap index cff300c5a86..091063ce54a 100644 --- a/service/gamelift/snapshot/api_op_DescribeScalingPolicies.go.snap +++ b/service/gamelift/snapshot/api_op_DescribeScalingPolicies.go.snap @@ -14,7 +14,6 @@ DescribeScalingPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DescribeScript.go.snap b/service/gamelift/snapshot/api_op_DescribeScript.go.snap index dfceb195066..c6c997f19a3 100644 --- a/service/gamelift/snapshot/api_op_DescribeScript.go.snap +++ b/service/gamelift/snapshot/api_op_DescribeScript.go.snap @@ -14,7 +14,6 @@ DescribeScript Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DescribeVpcPeeringAuthorizations.go.snap b/service/gamelift/snapshot/api_op_DescribeVpcPeeringAuthorizations.go.snap index a97c63a571a..e637038c21a 100644 --- a/service/gamelift/snapshot/api_op_DescribeVpcPeeringAuthorizations.go.snap +++ b/service/gamelift/snapshot/api_op_DescribeVpcPeeringAuthorizations.go.snap @@ -13,7 +13,6 @@ DescribeVpcPeeringAuthorizations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_DescribeVpcPeeringConnections.go.snap b/service/gamelift/snapshot/api_op_DescribeVpcPeeringConnections.go.snap index e47d527e6be..13242ebee50 100644 --- a/service/gamelift/snapshot/api_op_DescribeVpcPeeringConnections.go.snap +++ b/service/gamelift/snapshot/api_op_DescribeVpcPeeringConnections.go.snap @@ -13,7 +13,6 @@ DescribeVpcPeeringConnections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_GetComputeAccess.go.snap b/service/gamelift/snapshot/api_op_GetComputeAccess.go.snap index fcce35c5824..861a18b3a63 100644 --- a/service/gamelift/snapshot/api_op_GetComputeAccess.go.snap +++ b/service/gamelift/snapshot/api_op_GetComputeAccess.go.snap @@ -14,7 +14,6 @@ GetComputeAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_GetComputeAuthToken.go.snap b/service/gamelift/snapshot/api_op_GetComputeAuthToken.go.snap index 5fa64e351f0..8e4b824d702 100644 --- a/service/gamelift/snapshot/api_op_GetComputeAuthToken.go.snap +++ b/service/gamelift/snapshot/api_op_GetComputeAuthToken.go.snap @@ -14,7 +14,6 @@ GetComputeAuthToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_GetGameSessionLogUrl.go.snap b/service/gamelift/snapshot/api_op_GetGameSessionLogUrl.go.snap index d8b79a7b2d4..6d80486b130 100644 --- a/service/gamelift/snapshot/api_op_GetGameSessionLogUrl.go.snap +++ b/service/gamelift/snapshot/api_op_GetGameSessionLogUrl.go.snap @@ -14,7 +14,6 @@ GetGameSessionLogUrl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_GetInstanceAccess.go.snap b/service/gamelift/snapshot/api_op_GetInstanceAccess.go.snap index 2a0c431a33d..920e4c7cfc2 100644 --- a/service/gamelift/snapshot/api_op_GetInstanceAccess.go.snap +++ b/service/gamelift/snapshot/api_op_GetInstanceAccess.go.snap @@ -14,7 +14,6 @@ GetInstanceAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_ListAliases.go.snap b/service/gamelift/snapshot/api_op_ListAliases.go.snap index 8bcf5230731..c1a245a774e 100644 --- a/service/gamelift/snapshot/api_op_ListAliases.go.snap +++ b/service/gamelift/snapshot/api_op_ListAliases.go.snap @@ -13,7 +13,6 @@ ListAliases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_ListBuilds.go.snap b/service/gamelift/snapshot/api_op_ListBuilds.go.snap index 6317a9c1f78..c191099cc42 100644 --- a/service/gamelift/snapshot/api_op_ListBuilds.go.snap +++ b/service/gamelift/snapshot/api_op_ListBuilds.go.snap @@ -13,7 +13,6 @@ ListBuilds Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_ListCompute.go.snap b/service/gamelift/snapshot/api_op_ListCompute.go.snap index 696d75e878f..93622e2c0a1 100644 --- a/service/gamelift/snapshot/api_op_ListCompute.go.snap +++ b/service/gamelift/snapshot/api_op_ListCompute.go.snap @@ -14,7 +14,6 @@ ListCompute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_ListContainerFleets.go.snap b/service/gamelift/snapshot/api_op_ListContainerFleets.go.snap index 12ec5b1eb28..73ff1eac079 100644 --- a/service/gamelift/snapshot/api_op_ListContainerFleets.go.snap +++ b/service/gamelift/snapshot/api_op_ListContainerFleets.go.snap @@ -13,7 +13,6 @@ ListContainerFleets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_ListContainerGroupDefinitionVersions.go.snap b/service/gamelift/snapshot/api_op_ListContainerGroupDefinitionVersions.go.snap index 9c664b1872b..95b0d0e816e 100644 --- a/service/gamelift/snapshot/api_op_ListContainerGroupDefinitionVersions.go.snap +++ b/service/gamelift/snapshot/api_op_ListContainerGroupDefinitionVersions.go.snap @@ -14,7 +14,6 @@ ListContainerGroupDefinitionVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_ListContainerGroupDefinitions.go.snap b/service/gamelift/snapshot/api_op_ListContainerGroupDefinitions.go.snap index a54397999de..f713138e84d 100644 --- a/service/gamelift/snapshot/api_op_ListContainerGroupDefinitions.go.snap +++ b/service/gamelift/snapshot/api_op_ListContainerGroupDefinitions.go.snap @@ -13,7 +13,6 @@ ListContainerGroupDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_ListFleetDeployments.go.snap b/service/gamelift/snapshot/api_op_ListFleetDeployments.go.snap index 91810129064..dd2d7383ee4 100644 --- a/service/gamelift/snapshot/api_op_ListFleetDeployments.go.snap +++ b/service/gamelift/snapshot/api_op_ListFleetDeployments.go.snap @@ -13,7 +13,6 @@ ListFleetDeployments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_ListFleets.go.snap b/service/gamelift/snapshot/api_op_ListFleets.go.snap index 8ddb712ca86..1932a10d210 100644 --- a/service/gamelift/snapshot/api_op_ListFleets.go.snap +++ b/service/gamelift/snapshot/api_op_ListFleets.go.snap @@ -13,7 +13,6 @@ ListFleets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_ListGameServerGroups.go.snap b/service/gamelift/snapshot/api_op_ListGameServerGroups.go.snap index caf1b42a864..da5f646bb17 100644 --- a/service/gamelift/snapshot/api_op_ListGameServerGroups.go.snap +++ b/service/gamelift/snapshot/api_op_ListGameServerGroups.go.snap @@ -13,7 +13,6 @@ ListGameServerGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_ListGameServers.go.snap b/service/gamelift/snapshot/api_op_ListGameServers.go.snap index b372175d1c0..7cf92528fb3 100644 --- a/service/gamelift/snapshot/api_op_ListGameServers.go.snap +++ b/service/gamelift/snapshot/api_op_ListGameServers.go.snap @@ -14,7 +14,6 @@ ListGameServers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_ListLocations.go.snap b/service/gamelift/snapshot/api_op_ListLocations.go.snap index bdbdb139782..92a58c24f8e 100644 --- a/service/gamelift/snapshot/api_op_ListLocations.go.snap +++ b/service/gamelift/snapshot/api_op_ListLocations.go.snap @@ -13,7 +13,6 @@ ListLocations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_ListScripts.go.snap b/service/gamelift/snapshot/api_op_ListScripts.go.snap index c97a0521427..5eb3a8f192a 100644 --- a/service/gamelift/snapshot/api_op_ListScripts.go.snap +++ b/service/gamelift/snapshot/api_op_ListScripts.go.snap @@ -13,7 +13,6 @@ ListScripts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_ListTagsForResource.go.snap b/service/gamelift/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/gamelift/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/gamelift/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_PutScalingPolicy.go.snap b/service/gamelift/snapshot/api_op_PutScalingPolicy.go.snap index b759dbeedf0..74daf1b852f 100644 --- a/service/gamelift/snapshot/api_op_PutScalingPolicy.go.snap +++ b/service/gamelift/snapshot/api_op_PutScalingPolicy.go.snap @@ -14,7 +14,6 @@ PutScalingPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_RegisterCompute.go.snap b/service/gamelift/snapshot/api_op_RegisterCompute.go.snap index 1f3fcba6a28..be6f4758893 100644 --- a/service/gamelift/snapshot/api_op_RegisterCompute.go.snap +++ b/service/gamelift/snapshot/api_op_RegisterCompute.go.snap @@ -14,7 +14,6 @@ RegisterCompute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_RegisterGameServer.go.snap b/service/gamelift/snapshot/api_op_RegisterGameServer.go.snap index cfce7f16943..159626dfdca 100644 --- a/service/gamelift/snapshot/api_op_RegisterGameServer.go.snap +++ b/service/gamelift/snapshot/api_op_RegisterGameServer.go.snap @@ -14,7 +14,6 @@ RegisterGameServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_RequestUploadCredentials.go.snap b/service/gamelift/snapshot/api_op_RequestUploadCredentials.go.snap index ea90455b82e..e92f48f4dfa 100644 --- a/service/gamelift/snapshot/api_op_RequestUploadCredentials.go.snap +++ b/service/gamelift/snapshot/api_op_RequestUploadCredentials.go.snap @@ -14,7 +14,6 @@ RequestUploadCredentials Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_ResolveAlias.go.snap b/service/gamelift/snapshot/api_op_ResolveAlias.go.snap index 79a0ef8556a..dfa65c8fb66 100644 --- a/service/gamelift/snapshot/api_op_ResolveAlias.go.snap +++ b/service/gamelift/snapshot/api_op_ResolveAlias.go.snap @@ -14,7 +14,6 @@ ResolveAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_ResumeGameServerGroup.go.snap b/service/gamelift/snapshot/api_op_ResumeGameServerGroup.go.snap index b16bd591521..538b43f58bf 100644 --- a/service/gamelift/snapshot/api_op_ResumeGameServerGroup.go.snap +++ b/service/gamelift/snapshot/api_op_ResumeGameServerGroup.go.snap @@ -14,7 +14,6 @@ ResumeGameServerGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_SearchGameSessions.go.snap b/service/gamelift/snapshot/api_op_SearchGameSessions.go.snap index d778c2b7907..18495561f30 100644 --- a/service/gamelift/snapshot/api_op_SearchGameSessions.go.snap +++ b/service/gamelift/snapshot/api_op_SearchGameSessions.go.snap @@ -13,7 +13,6 @@ SearchGameSessions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_StartFleetActions.go.snap b/service/gamelift/snapshot/api_op_StartFleetActions.go.snap index 98e49771544..b2a988c6795 100644 --- a/service/gamelift/snapshot/api_op_StartFleetActions.go.snap +++ b/service/gamelift/snapshot/api_op_StartFleetActions.go.snap @@ -14,7 +14,6 @@ StartFleetActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_StartGameSessionPlacement.go.snap b/service/gamelift/snapshot/api_op_StartGameSessionPlacement.go.snap index f90952db6db..fdaa02fdacc 100644 --- a/service/gamelift/snapshot/api_op_StartGameSessionPlacement.go.snap +++ b/service/gamelift/snapshot/api_op_StartGameSessionPlacement.go.snap @@ -14,7 +14,6 @@ StartGameSessionPlacement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_StartMatchBackfill.go.snap b/service/gamelift/snapshot/api_op_StartMatchBackfill.go.snap index 5473acdc07b..8f314c5671a 100644 --- a/service/gamelift/snapshot/api_op_StartMatchBackfill.go.snap +++ b/service/gamelift/snapshot/api_op_StartMatchBackfill.go.snap @@ -14,7 +14,6 @@ StartMatchBackfill Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_StartMatchmaking.go.snap b/service/gamelift/snapshot/api_op_StartMatchmaking.go.snap index e26228125f3..1c08421e45c 100644 --- a/service/gamelift/snapshot/api_op_StartMatchmaking.go.snap +++ b/service/gamelift/snapshot/api_op_StartMatchmaking.go.snap @@ -14,7 +14,6 @@ StartMatchmaking Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_StopFleetActions.go.snap b/service/gamelift/snapshot/api_op_StopFleetActions.go.snap index 92aa653c2eb..a7087e01ca1 100644 --- a/service/gamelift/snapshot/api_op_StopFleetActions.go.snap +++ b/service/gamelift/snapshot/api_op_StopFleetActions.go.snap @@ -14,7 +14,6 @@ StopFleetActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_StopGameSessionPlacement.go.snap b/service/gamelift/snapshot/api_op_StopGameSessionPlacement.go.snap index 8f2b7ac7801..65e45deca8f 100644 --- a/service/gamelift/snapshot/api_op_StopGameSessionPlacement.go.snap +++ b/service/gamelift/snapshot/api_op_StopGameSessionPlacement.go.snap @@ -14,7 +14,6 @@ StopGameSessionPlacement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_StopMatchmaking.go.snap b/service/gamelift/snapshot/api_op_StopMatchmaking.go.snap index b86c3b766a5..385f8c80d8e 100644 --- a/service/gamelift/snapshot/api_op_StopMatchmaking.go.snap +++ b/service/gamelift/snapshot/api_op_StopMatchmaking.go.snap @@ -14,7 +14,6 @@ StopMatchmaking Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_SuspendGameServerGroup.go.snap b/service/gamelift/snapshot/api_op_SuspendGameServerGroup.go.snap index cb848b136f4..40c8b528507 100644 --- a/service/gamelift/snapshot/api_op_SuspendGameServerGroup.go.snap +++ b/service/gamelift/snapshot/api_op_SuspendGameServerGroup.go.snap @@ -14,7 +14,6 @@ SuspendGameServerGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_TagResource.go.snap b/service/gamelift/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/gamelift/snapshot/api_op_TagResource.go.snap +++ b/service/gamelift/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_TerminateGameSession.go.snap b/service/gamelift/snapshot/api_op_TerminateGameSession.go.snap index 0cc1bdd461e..65a097c3529 100644 --- a/service/gamelift/snapshot/api_op_TerminateGameSession.go.snap +++ b/service/gamelift/snapshot/api_op_TerminateGameSession.go.snap @@ -14,7 +14,6 @@ TerminateGameSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_UntagResource.go.snap b/service/gamelift/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/gamelift/snapshot/api_op_UntagResource.go.snap +++ b/service/gamelift/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_UpdateAlias.go.snap b/service/gamelift/snapshot/api_op_UpdateAlias.go.snap index 84608cce172..8900693425f 100644 --- a/service/gamelift/snapshot/api_op_UpdateAlias.go.snap +++ b/service/gamelift/snapshot/api_op_UpdateAlias.go.snap @@ -14,7 +14,6 @@ UpdateAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_UpdateBuild.go.snap b/service/gamelift/snapshot/api_op_UpdateBuild.go.snap index c8ec32a436f..f85051d2db3 100644 --- a/service/gamelift/snapshot/api_op_UpdateBuild.go.snap +++ b/service/gamelift/snapshot/api_op_UpdateBuild.go.snap @@ -14,7 +14,6 @@ UpdateBuild Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_UpdateContainerFleet.go.snap b/service/gamelift/snapshot/api_op_UpdateContainerFleet.go.snap index ba632b9fb89..1ceb12265d8 100644 --- a/service/gamelift/snapshot/api_op_UpdateContainerFleet.go.snap +++ b/service/gamelift/snapshot/api_op_UpdateContainerFleet.go.snap @@ -14,7 +14,6 @@ UpdateContainerFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_UpdateContainerGroupDefinition.go.snap b/service/gamelift/snapshot/api_op_UpdateContainerGroupDefinition.go.snap index 72f676b3056..6ad6a683064 100644 --- a/service/gamelift/snapshot/api_op_UpdateContainerGroupDefinition.go.snap +++ b/service/gamelift/snapshot/api_op_UpdateContainerGroupDefinition.go.snap @@ -14,7 +14,6 @@ UpdateContainerGroupDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_UpdateFleetAttributes.go.snap b/service/gamelift/snapshot/api_op_UpdateFleetAttributes.go.snap index 4efcf26aee7..81bb2579fd1 100644 --- a/service/gamelift/snapshot/api_op_UpdateFleetAttributes.go.snap +++ b/service/gamelift/snapshot/api_op_UpdateFleetAttributes.go.snap @@ -14,7 +14,6 @@ UpdateFleetAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_UpdateFleetCapacity.go.snap b/service/gamelift/snapshot/api_op_UpdateFleetCapacity.go.snap index ac15691fd83..17002626771 100644 --- a/service/gamelift/snapshot/api_op_UpdateFleetCapacity.go.snap +++ b/service/gamelift/snapshot/api_op_UpdateFleetCapacity.go.snap @@ -14,7 +14,6 @@ UpdateFleetCapacity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_UpdateFleetPortSettings.go.snap b/service/gamelift/snapshot/api_op_UpdateFleetPortSettings.go.snap index 444e47050fc..40736af7adc 100644 --- a/service/gamelift/snapshot/api_op_UpdateFleetPortSettings.go.snap +++ b/service/gamelift/snapshot/api_op_UpdateFleetPortSettings.go.snap @@ -14,7 +14,6 @@ UpdateFleetPortSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_UpdateGameServer.go.snap b/service/gamelift/snapshot/api_op_UpdateGameServer.go.snap index cd3c7475f3e..264f91d6944 100644 --- a/service/gamelift/snapshot/api_op_UpdateGameServer.go.snap +++ b/service/gamelift/snapshot/api_op_UpdateGameServer.go.snap @@ -14,7 +14,6 @@ UpdateGameServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_UpdateGameServerGroup.go.snap b/service/gamelift/snapshot/api_op_UpdateGameServerGroup.go.snap index 6ead3568aac..3c5f6fe0974 100644 --- a/service/gamelift/snapshot/api_op_UpdateGameServerGroup.go.snap +++ b/service/gamelift/snapshot/api_op_UpdateGameServerGroup.go.snap @@ -14,7 +14,6 @@ UpdateGameServerGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_UpdateGameSession.go.snap b/service/gamelift/snapshot/api_op_UpdateGameSession.go.snap index 436c08e2bf5..ae3c27da6c1 100644 --- a/service/gamelift/snapshot/api_op_UpdateGameSession.go.snap +++ b/service/gamelift/snapshot/api_op_UpdateGameSession.go.snap @@ -14,7 +14,6 @@ UpdateGameSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_UpdateGameSessionQueue.go.snap b/service/gamelift/snapshot/api_op_UpdateGameSessionQueue.go.snap index 93cdbe6d470..32571e940cc 100644 --- a/service/gamelift/snapshot/api_op_UpdateGameSessionQueue.go.snap +++ b/service/gamelift/snapshot/api_op_UpdateGameSessionQueue.go.snap @@ -14,7 +14,6 @@ UpdateGameSessionQueue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_UpdateMatchmakingConfiguration.go.snap b/service/gamelift/snapshot/api_op_UpdateMatchmakingConfiguration.go.snap index 770ada7d365..a8a8b4b74a3 100644 --- a/service/gamelift/snapshot/api_op_UpdateMatchmakingConfiguration.go.snap +++ b/service/gamelift/snapshot/api_op_UpdateMatchmakingConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateMatchmakingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_UpdateRuntimeConfiguration.go.snap b/service/gamelift/snapshot/api_op_UpdateRuntimeConfiguration.go.snap index 5136189609b..1aa0248b366 100644 --- a/service/gamelift/snapshot/api_op_UpdateRuntimeConfiguration.go.snap +++ b/service/gamelift/snapshot/api_op_UpdateRuntimeConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateRuntimeConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_UpdateScript.go.snap b/service/gamelift/snapshot/api_op_UpdateScript.go.snap index 734f1a8b7bf..5cbc58c172a 100644 --- a/service/gamelift/snapshot/api_op_UpdateScript.go.snap +++ b/service/gamelift/snapshot/api_op_UpdateScript.go.snap @@ -14,7 +14,6 @@ UpdateScript Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/gamelift/snapshot/api_op_ValidateMatchmakingRuleSet.go.snap b/service/gamelift/snapshot/api_op_ValidateMatchmakingRuleSet.go.snap index 2adb34b4d44..2d511175417 100644 --- a/service/gamelift/snapshot/api_op_ValidateMatchmakingRuleSet.go.snap +++ b/service/gamelift/snapshot/api_op_ValidateMatchmakingRuleSet.go.snap @@ -14,7 +14,6 @@ ValidateMatchmakingRuleSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/geomaps/api_client.go b/service/geomaps/api_client.go index 60019ee4553..1fb26c5990d 100644 --- a/service/geomaps/api_client.go +++ b/service/geomaps/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/geomaps/api_op_GetGlyphs.go b/service/geomaps/api_op_GetGlyphs.go index f17e6fc5dd1..36fc9f032e9 100644 --- a/service/geomaps/api_op_GetGlyphs.go +++ b/service/geomaps/api_op_GetGlyphs.go @@ -293,9 +293,6 @@ func (c *Client) addOperationGetGlyphsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetGlyphsValidationMiddleware(stack); err != nil { return err } diff --git a/service/geomaps/api_op_GetSprites.go b/service/geomaps/api_op_GetSprites.go index fc6b98d22aa..b51767da329 100644 --- a/service/geomaps/api_op_GetSprites.go +++ b/service/geomaps/api_op_GetSprites.go @@ -153,9 +153,6 @@ func (c *Client) addOperationGetSpritesMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSpritesValidationMiddleware(stack); err != nil { return err } diff --git a/service/geomaps/api_op_GetStaticMap.go b/service/geomaps/api_op_GetStaticMap.go index 9b185fed79a..5fb146f138a 100644 --- a/service/geomaps/api_op_GetStaticMap.go +++ b/service/geomaps/api_op_GetStaticMap.go @@ -226,9 +226,6 @@ func (c *Client) addOperationGetStaticMapMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetStaticMapValidationMiddleware(stack); err != nil { return err } diff --git a/service/geomaps/api_op_GetStyleDescriptor.go b/service/geomaps/api_op_GetStyleDescriptor.go index 563e556c321..17971ca8557 100644 --- a/service/geomaps/api_op_GetStyleDescriptor.go +++ b/service/geomaps/api_op_GetStyleDescriptor.go @@ -173,9 +173,6 @@ func (c *Client) addOperationGetStyleDescriptorMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetStyleDescriptorValidationMiddleware(stack); err != nil { return err } diff --git a/service/geomaps/api_op_GetTile.go b/service/geomaps/api_op_GetTile.go index 3fdc96aa047..6a70d19856d 100644 --- a/service/geomaps/api_op_GetTile.go +++ b/service/geomaps/api_op_GetTile.go @@ -149,9 +149,6 @@ func (c *Client) addOperationGetTileMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTileValidationMiddleware(stack); err != nil { return err } diff --git a/service/geomaps/snapshot/api_op_GetGlyphs.go.snap b/service/geomaps/snapshot/api_op_GetGlyphs.go.snap index 8c038e9c88d..d52d6fb5ebe 100644 --- a/service/geomaps/snapshot/api_op_GetGlyphs.go.snap +++ b/service/geomaps/snapshot/api_op_GetGlyphs.go.snap @@ -14,7 +14,6 @@ GetGlyphs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/geomaps/snapshot/api_op_GetSprites.go.snap b/service/geomaps/snapshot/api_op_GetSprites.go.snap index 804d9538dab..3fc870ffdb6 100644 --- a/service/geomaps/snapshot/api_op_GetSprites.go.snap +++ b/service/geomaps/snapshot/api_op_GetSprites.go.snap @@ -14,7 +14,6 @@ GetSprites Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/geomaps/snapshot/api_op_GetStaticMap.go.snap b/service/geomaps/snapshot/api_op_GetStaticMap.go.snap index 80f60d723bf..b279c52c8cf 100644 --- a/service/geomaps/snapshot/api_op_GetStaticMap.go.snap +++ b/service/geomaps/snapshot/api_op_GetStaticMap.go.snap @@ -14,7 +14,6 @@ GetStaticMap Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/geomaps/snapshot/api_op_GetStyleDescriptor.go.snap b/service/geomaps/snapshot/api_op_GetStyleDescriptor.go.snap index 34e3adeb605..f65cfaafde2 100644 --- a/service/geomaps/snapshot/api_op_GetStyleDescriptor.go.snap +++ b/service/geomaps/snapshot/api_op_GetStyleDescriptor.go.snap @@ -14,7 +14,6 @@ GetStyleDescriptor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/geomaps/snapshot/api_op_GetTile.go.snap b/service/geomaps/snapshot/api_op_GetTile.go.snap index 46c549c93c4..50d951c6035 100644 --- a/service/geomaps/snapshot/api_op_GetTile.go.snap +++ b/service/geomaps/snapshot/api_op_GetTile.go.snap @@ -14,7 +14,6 @@ GetTile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/geoplaces/api_client.go b/service/geoplaces/api_client.go index 6f73f23790a..cc6b6425680 100644 --- a/service/geoplaces/api_client.go +++ b/service/geoplaces/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/geoplaces/api_op_Autocomplete.go b/service/geoplaces/api_op_Autocomplete.go index d4bd019b674..26c3faa11c5 100644 --- a/service/geoplaces/api_op_Autocomplete.go +++ b/service/geoplaces/api_op_Autocomplete.go @@ -170,9 +170,6 @@ func (c *Client) addOperationAutocompleteMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAutocompleteValidationMiddleware(stack); err != nil { return err } diff --git a/service/geoplaces/api_op_Geocode.go b/service/geoplaces/api_op_Geocode.go index 5536ea82ee2..1ad06a49aa2 100644 --- a/service/geoplaces/api_op_Geocode.go +++ b/service/geoplaces/api_op_Geocode.go @@ -163,9 +163,6 @@ func (c *Client) addOperationGeocodeMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGeocode(options.Region), middleware.Before); err != nil { return err } diff --git a/service/geoplaces/api_op_GetPlace.go b/service/geoplaces/api_op_GetPlace.go index 456492404f3..c7bf27bdeb0 100644 --- a/service/geoplaces/api_op_GetPlace.go +++ b/service/geoplaces/api_op_GetPlace.go @@ -211,9 +211,6 @@ func (c *Client) addOperationGetPlaceMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPlaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/geoplaces/api_op_ReverseGeocode.go b/service/geoplaces/api_op_ReverseGeocode.go index 254ea8bede6..f0394fed474 100644 --- a/service/geoplaces/api_op_ReverseGeocode.go +++ b/service/geoplaces/api_op_ReverseGeocode.go @@ -159,9 +159,6 @@ func (c *Client) addOperationReverseGeocodeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpReverseGeocodeValidationMiddleware(stack); err != nil { return err } diff --git a/service/geoplaces/api_op_SearchNearby.go b/service/geoplaces/api_op_SearchNearby.go index c8b87922b2c..fc94c436d04 100644 --- a/service/geoplaces/api_op_SearchNearby.go +++ b/service/geoplaces/api_op_SearchNearby.go @@ -165,9 +165,6 @@ func (c *Client) addOperationSearchNearbyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchNearbyValidationMiddleware(stack); err != nil { return err } diff --git a/service/geoplaces/api_op_SearchText.go b/service/geoplaces/api_op_SearchText.go index 07cd7d371db..1ed588f5791 100644 --- a/service/geoplaces/api_op_SearchText.go +++ b/service/geoplaces/api_op_SearchText.go @@ -171,9 +171,6 @@ func (c *Client) addOperationSearchTextMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchTextValidationMiddleware(stack); err != nil { return err } diff --git a/service/geoplaces/api_op_Suggest.go b/service/geoplaces/api_op_Suggest.go index 0d6a3bf51ac..e6aeb01213f 100644 --- a/service/geoplaces/api_op_Suggest.go +++ b/service/geoplaces/api_op_Suggest.go @@ -168,9 +168,6 @@ func (c *Client) addOperationSuggestMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSuggestValidationMiddleware(stack); err != nil { return err } diff --git a/service/geoplaces/snapshot/api_op_Autocomplete.go.snap b/service/geoplaces/snapshot/api_op_Autocomplete.go.snap index f05fb52aa27..fd253b7cd7c 100644 --- a/service/geoplaces/snapshot/api_op_Autocomplete.go.snap +++ b/service/geoplaces/snapshot/api_op_Autocomplete.go.snap @@ -14,7 +14,6 @@ Autocomplete Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/geoplaces/snapshot/api_op_Geocode.go.snap b/service/geoplaces/snapshot/api_op_Geocode.go.snap index b25ef9067ae..d8ecc4d3633 100644 --- a/service/geoplaces/snapshot/api_op_Geocode.go.snap +++ b/service/geoplaces/snapshot/api_op_Geocode.go.snap @@ -13,7 +13,6 @@ Geocode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/geoplaces/snapshot/api_op_GetPlace.go.snap b/service/geoplaces/snapshot/api_op_GetPlace.go.snap index c26f47a5e2a..e15c155c3b1 100644 --- a/service/geoplaces/snapshot/api_op_GetPlace.go.snap +++ b/service/geoplaces/snapshot/api_op_GetPlace.go.snap @@ -14,7 +14,6 @@ GetPlace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/geoplaces/snapshot/api_op_ReverseGeocode.go.snap b/service/geoplaces/snapshot/api_op_ReverseGeocode.go.snap index 762776510ed..aa03cb121b6 100644 --- a/service/geoplaces/snapshot/api_op_ReverseGeocode.go.snap +++ b/service/geoplaces/snapshot/api_op_ReverseGeocode.go.snap @@ -14,7 +14,6 @@ ReverseGeocode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/geoplaces/snapshot/api_op_SearchNearby.go.snap b/service/geoplaces/snapshot/api_op_SearchNearby.go.snap index 6b62c46c398..a299904a86f 100644 --- a/service/geoplaces/snapshot/api_op_SearchNearby.go.snap +++ b/service/geoplaces/snapshot/api_op_SearchNearby.go.snap @@ -14,7 +14,6 @@ SearchNearby Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/geoplaces/snapshot/api_op_SearchText.go.snap b/service/geoplaces/snapshot/api_op_SearchText.go.snap index c242ce90fe7..3629c3b768d 100644 --- a/service/geoplaces/snapshot/api_op_SearchText.go.snap +++ b/service/geoplaces/snapshot/api_op_SearchText.go.snap @@ -14,7 +14,6 @@ SearchText Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/geoplaces/snapshot/api_op_Suggest.go.snap b/service/geoplaces/snapshot/api_op_Suggest.go.snap index 02b1fbefb9c..f717a637c99 100644 --- a/service/geoplaces/snapshot/api_op_Suggest.go.snap +++ b/service/geoplaces/snapshot/api_op_Suggest.go.snap @@ -14,7 +14,6 @@ Suggest Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/georoutes/api_client.go b/service/georoutes/api_client.go index cd3f2f5cff6..13d92204485 100644 --- a/service/georoutes/api_client.go +++ b/service/georoutes/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/georoutes/api_op_CalculateIsolines.go b/service/georoutes/api_op_CalculateIsolines.go index 70fe1023c4c..705673d00c3 100644 --- a/service/georoutes/api_op_CalculateIsolines.go +++ b/service/georoutes/api_op_CalculateIsolines.go @@ -251,9 +251,6 @@ func (c *Client) addOperationCalculateIsolinesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCalculateIsolinesValidationMiddleware(stack); err != nil { return err } diff --git a/service/georoutes/api_op_CalculateRouteMatrix.go b/service/georoutes/api_op_CalculateRouteMatrix.go index bdfe2776c4f..24800f4881d 100644 --- a/service/georoutes/api_op_CalculateRouteMatrix.go +++ b/service/georoutes/api_op_CalculateRouteMatrix.go @@ -214,9 +214,6 @@ func (c *Client) addOperationCalculateRouteMatrixMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCalculateRouteMatrixValidationMiddleware(stack); err != nil { return err } diff --git a/service/georoutes/api_op_CalculateRoutes.go b/service/georoutes/api_op_CalculateRoutes.go index b1eb4c9eca3..a3c1da1736d 100644 --- a/service/georoutes/api_op_CalculateRoutes.go +++ b/service/georoutes/api_op_CalculateRoutes.go @@ -269,9 +269,6 @@ func (c *Client) addOperationCalculateRoutesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCalculateRoutesValidationMiddleware(stack); err != nil { return err } diff --git a/service/georoutes/api_op_OptimizeWaypoints.go b/service/georoutes/api_op_OptimizeWaypoints.go index 12568e4830c..157507b963e 100644 --- a/service/georoutes/api_op_OptimizeWaypoints.go +++ b/service/georoutes/api_op_OptimizeWaypoints.go @@ -209,9 +209,6 @@ func (c *Client) addOperationOptimizeWaypointsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpOptimizeWaypointsValidationMiddleware(stack); err != nil { return err } diff --git a/service/georoutes/api_op_SnapToRoads.go b/service/georoutes/api_op_SnapToRoads.go index 762466dd1bf..e776a0a3d26 100644 --- a/service/georoutes/api_op_SnapToRoads.go +++ b/service/georoutes/api_op_SnapToRoads.go @@ -158,9 +158,6 @@ func (c *Client) addOperationSnapToRoadsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSnapToRoadsValidationMiddleware(stack); err != nil { return err } diff --git a/service/georoutes/snapshot/api_op_CalculateIsolines.go.snap b/service/georoutes/snapshot/api_op_CalculateIsolines.go.snap index e0fb9a42b8d..f556db9c61c 100644 --- a/service/georoutes/snapshot/api_op_CalculateIsolines.go.snap +++ b/service/georoutes/snapshot/api_op_CalculateIsolines.go.snap @@ -14,7 +14,6 @@ CalculateIsolines Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/georoutes/snapshot/api_op_CalculateRouteMatrix.go.snap b/service/georoutes/snapshot/api_op_CalculateRouteMatrix.go.snap index ec7a4b03580..1059518bdce 100644 --- a/service/georoutes/snapshot/api_op_CalculateRouteMatrix.go.snap +++ b/service/georoutes/snapshot/api_op_CalculateRouteMatrix.go.snap @@ -14,7 +14,6 @@ CalculateRouteMatrix Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/georoutes/snapshot/api_op_CalculateRoutes.go.snap b/service/georoutes/snapshot/api_op_CalculateRoutes.go.snap index 97fe1847084..a02807fb929 100644 --- a/service/georoutes/snapshot/api_op_CalculateRoutes.go.snap +++ b/service/georoutes/snapshot/api_op_CalculateRoutes.go.snap @@ -14,7 +14,6 @@ CalculateRoutes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/georoutes/snapshot/api_op_OptimizeWaypoints.go.snap b/service/georoutes/snapshot/api_op_OptimizeWaypoints.go.snap index 595ec88f7e1..73d3d2422e8 100644 --- a/service/georoutes/snapshot/api_op_OptimizeWaypoints.go.snap +++ b/service/georoutes/snapshot/api_op_OptimizeWaypoints.go.snap @@ -14,7 +14,6 @@ OptimizeWaypoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/georoutes/snapshot/api_op_SnapToRoads.go.snap b/service/georoutes/snapshot/api_op_SnapToRoads.go.snap index d0e6b963760..01710d30a03 100644 --- a/service/georoutes/snapshot/api_op_SnapToRoads.go.snap +++ b/service/georoutes/snapshot/api_op_SnapToRoads.go.snap @@ -14,7 +14,6 @@ SnapToRoads Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glacier/api_client.go b/service/glacier/api_client.go index e9577c2befd..17dfee92614 100644 --- a/service/glacier/api_client.go +++ b/service/glacier/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/glacier/api_op_AbortMultipartUpload.go b/service/glacier/api_op_AbortMultipartUpload.go index 18f7493c45e..1b42c317992 100644 --- a/service/glacier/api_op_AbortMultipartUpload.go +++ b/service/glacier/api_op_AbortMultipartUpload.go @@ -149,9 +149,6 @@ func (c *Client) addOperationAbortMultipartUploadMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAbortMultipartUploadValidationMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_AbortVaultLock.go b/service/glacier/api_op_AbortVaultLock.go index e9bd94b705c..1700dd5bcf6 100644 --- a/service/glacier/api_op_AbortVaultLock.go +++ b/service/glacier/api_op_AbortVaultLock.go @@ -134,9 +134,6 @@ func (c *Client) addOperationAbortVaultLockMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAbortVaultLockValidationMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_AddTagsToVault.go b/service/glacier/api_op_AddTagsToVault.go index a97b047a556..85bec8c0342 100644 --- a/service/glacier/api_op_AddTagsToVault.go +++ b/service/glacier/api_op_AddTagsToVault.go @@ -129,9 +129,6 @@ func (c *Client) addOperationAddTagsToVaultMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddTagsToVaultValidationMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_CompleteMultipartUpload.go b/service/glacier/api_op_CompleteMultipartUpload.go index 0b1afcf2710..11f64b713ec 100644 --- a/service/glacier/api_op_CompleteMultipartUpload.go +++ b/service/glacier/api_op_CompleteMultipartUpload.go @@ -198,9 +198,6 @@ func (c *Client) addOperationCompleteMultipartUploadMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCompleteMultipartUploadValidationMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_CompleteVaultLock.go b/service/glacier/api_op_CompleteVaultLock.go index 3998580a00b..4eb0ea2fa39 100644 --- a/service/glacier/api_op_CompleteVaultLock.go +++ b/service/glacier/api_op_CompleteVaultLock.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCompleteVaultLockMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCompleteVaultLockValidationMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_CreateVault.go b/service/glacier/api_op_CreateVault.go index 8e6fdb5f7d4..6cd0f984b13 100644 --- a/service/glacier/api_op_CreateVault.go +++ b/service/glacier/api_op_CreateVault.go @@ -148,9 +148,6 @@ func (c *Client) addOperationCreateVaultMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVaultValidationMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_DeleteArchive.go b/service/glacier/api_op_DeleteArchive.go index e35408f6048..53bd7231a11 100644 --- a/service/glacier/api_op_DeleteArchive.go +++ b/service/glacier/api_op_DeleteArchive.go @@ -148,9 +148,6 @@ func (c *Client) addOperationDeleteArchiveMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteArchiveValidationMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_DeleteVault.go b/service/glacier/api_op_DeleteVault.go index 89a693c3f7d..d0e97188c6f 100644 --- a/service/glacier/api_op_DeleteVault.go +++ b/service/glacier/api_op_DeleteVault.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDeleteVaultMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVaultValidationMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_DeleteVaultAccessPolicy.go b/service/glacier/api_op_DeleteVaultAccessPolicy.go index b9f162c86c7..531b0bf70c8 100644 --- a/service/glacier/api_op_DeleteVaultAccessPolicy.go +++ b/service/glacier/api_op_DeleteVaultAccessPolicy.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDeleteVaultAccessPolicyMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVaultAccessPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_DeleteVaultNotifications.go b/service/glacier/api_op_DeleteVaultNotifications.go index 09aca79c276..821107a3a6b 100644 --- a/service/glacier/api_op_DeleteVaultNotifications.go +++ b/service/glacier/api_op_DeleteVaultNotifications.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDeleteVaultNotificationsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVaultNotificationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_DescribeJob.go b/service/glacier/api_op_DescribeJob.go index 27b962e0f93..bd561904b5d 100644 --- a/service/glacier/api_op_DescribeJob.go +++ b/service/glacier/api_op_DescribeJob.go @@ -246,9 +246,6 @@ func (c *Client) addOperationDescribeJobMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_DescribeVault.go b/service/glacier/api_op_DescribeVault.go index b7a48042e22..38f5140e2d3 100644 --- a/service/glacier/api_op_DescribeVault.go +++ b/service/glacier/api_op_DescribeVault.go @@ -171,9 +171,6 @@ func (c *Client) addOperationDescribeVaultMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeVaultValidationMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_GetDataRetrievalPolicy.go b/service/glacier/api_op_GetDataRetrievalPolicy.go index 73034a26d53..4ad3c21fb51 100644 --- a/service/glacier/api_op_GetDataRetrievalPolicy.go +++ b/service/glacier/api_op_GetDataRetrievalPolicy.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetDataRetrievalPolicyMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataRetrievalPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_GetJobOutput.go b/service/glacier/api_op_GetJobOutput.go index c2f36807e9e..27768e65bc6 100644 --- a/service/glacier/api_op_GetJobOutput.go +++ b/service/glacier/api_op_GetJobOutput.go @@ -240,9 +240,6 @@ func (c *Client) addOperationGetJobOutputMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetJobOutputValidationMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_GetVaultAccessPolicy.go b/service/glacier/api_op_GetVaultAccessPolicy.go index efadbcfbc92..c76681ee73d 100644 --- a/service/glacier/api_op_GetVaultAccessPolicy.go +++ b/service/glacier/api_op_GetVaultAccessPolicy.go @@ -130,9 +130,6 @@ func (c *Client) addOperationGetVaultAccessPolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVaultAccessPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_GetVaultLock.go b/service/glacier/api_op_GetVaultLock.go index 73d3ac00db1..527aca11b0c 100644 --- a/service/glacier/api_op_GetVaultLock.go +++ b/service/glacier/api_op_GetVaultLock.go @@ -153,9 +153,6 @@ func (c *Client) addOperationGetVaultLockMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVaultLockValidationMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_GetVaultNotifications.go b/service/glacier/api_op_GetVaultNotifications.go index c2fe801a4c0..43048172f26 100644 --- a/service/glacier/api_op_GetVaultNotifications.go +++ b/service/glacier/api_op_GetVaultNotifications.go @@ -142,9 +142,6 @@ func (c *Client) addOperationGetVaultNotificationsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVaultNotificationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_InitiateJob.go b/service/glacier/api_op_InitiateJob.go index f8abe28f9f9..cca58e9e2e8 100644 --- a/service/glacier/api_op_InitiateJob.go +++ b/service/glacier/api_op_InitiateJob.go @@ -137,9 +137,6 @@ func (c *Client) addOperationInitiateJobMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpInitiateJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_InitiateMultipartUpload.go b/service/glacier/api_op_InitiateMultipartUpload.go index 70745c27570..67df02d0cc3 100644 --- a/service/glacier/api_op_InitiateMultipartUpload.go +++ b/service/glacier/api_op_InitiateMultipartUpload.go @@ -173,9 +173,6 @@ func (c *Client) addOperationInitiateMultipartUploadMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpInitiateMultipartUploadValidationMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_InitiateVaultLock.go b/service/glacier/api_op_InitiateVaultLock.go index 584ee8e9ea6..ef5ab5b740b 100644 --- a/service/glacier/api_op_InitiateVaultLock.go +++ b/service/glacier/api_op_InitiateVaultLock.go @@ -158,9 +158,6 @@ func (c *Client) addOperationInitiateVaultLockMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpInitiateVaultLockValidationMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_ListJobs.go b/service/glacier/api_op_ListJobs.go index b4dde051c99..e0c1f68b643 100644 --- a/service/glacier/api_op_ListJobs.go +++ b/service/glacier/api_op_ListJobs.go @@ -184,9 +184,6 @@ func (c *Client) addOperationListJobsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_ListMultipartUploads.go b/service/glacier/api_op_ListMultipartUploads.go index 190d5a03cbb..932dd680f3e 100644 --- a/service/glacier/api_op_ListMultipartUploads.go +++ b/service/glacier/api_op_ListMultipartUploads.go @@ -169,9 +169,6 @@ func (c *Client) addOperationListMultipartUploadsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMultipartUploadsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_ListParts.go b/service/glacier/api_op_ListParts.go index 0d80b62c582..190ca51060e 100644 --- a/service/glacier/api_op_ListParts.go +++ b/service/glacier/api_op_ListParts.go @@ -189,9 +189,6 @@ func (c *Client) addOperationListPartsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPartsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_ListProvisionedCapacity.go b/service/glacier/api_op_ListProvisionedCapacity.go index 30ce0a9d28c..9ec1404ef62 100644 --- a/service/glacier/api_op_ListProvisionedCapacity.go +++ b/service/glacier/api_op_ListProvisionedCapacity.go @@ -117,9 +117,6 @@ func (c *Client) addOperationListProvisionedCapacityMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListProvisionedCapacityValidationMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_ListTagsForVault.go b/service/glacier/api_op_ListTagsForVault.go index b412b187145..d077b22e14a 100644 --- a/service/glacier/api_op_ListTagsForVault.go +++ b/service/glacier/api_op_ListTagsForVault.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListTagsForVaultMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForVaultValidationMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_ListVaults.go b/service/glacier/api_op_ListVaults.go index c0d49fe6a24..db8ffa056b6 100644 --- a/service/glacier/api_op_ListVaults.go +++ b/service/glacier/api_op_ListVaults.go @@ -155,9 +155,6 @@ func (c *Client) addOperationListVaultsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListVaultsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_PurchaseProvisionedCapacity.go b/service/glacier/api_op_PurchaseProvisionedCapacity.go index 41687c66282..72a8352f122 100644 --- a/service/glacier/api_op_PurchaseProvisionedCapacity.go +++ b/service/glacier/api_op_PurchaseProvisionedCapacity.go @@ -115,9 +115,6 @@ func (c *Client) addOperationPurchaseProvisionedCapacityMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPurchaseProvisionedCapacityValidationMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_RemoveTagsFromVault.go b/service/glacier/api_op_RemoveTagsFromVault.go index e44b5238849..4cd2417beca 100644 --- a/service/glacier/api_op_RemoveTagsFromVault.go +++ b/service/glacier/api_op_RemoveTagsFromVault.go @@ -125,9 +125,6 @@ func (c *Client) addOperationRemoveTagsFromVaultMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveTagsFromVaultValidationMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_SetDataRetrievalPolicy.go b/service/glacier/api_op_SetDataRetrievalPolicy.go index fbba678d0fa..f8de862e92c 100644 --- a/service/glacier/api_op_SetDataRetrievalPolicy.go +++ b/service/glacier/api_op_SetDataRetrievalPolicy.go @@ -127,9 +127,6 @@ func (c *Client) addOperationSetDataRetrievalPolicyMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetDataRetrievalPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_SetVaultAccessPolicy.go b/service/glacier/api_op_SetVaultAccessPolicy.go index dbb8cd2a88c..30a0745e671 100644 --- a/service/glacier/api_op_SetVaultAccessPolicy.go +++ b/service/glacier/api_op_SetVaultAccessPolicy.go @@ -129,9 +129,6 @@ func (c *Client) addOperationSetVaultAccessPolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetVaultAccessPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_SetVaultNotifications.go b/service/glacier/api_op_SetVaultNotifications.go index fec90cb5296..80103c9aa99 100644 --- a/service/glacier/api_op_SetVaultNotifications.go +++ b/service/glacier/api_op_SetVaultNotifications.go @@ -155,9 +155,6 @@ func (c *Client) addOperationSetVaultNotificationsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetVaultNotificationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_UploadArchive.go b/service/glacier/api_op_UploadArchive.go index bbb094772f1..c6523597d15 100644 --- a/service/glacier/api_op_UploadArchive.go +++ b/service/glacier/api_op_UploadArchive.go @@ -182,9 +182,6 @@ func (c *Client) addOperationUploadArchiveMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUploadArchiveValidationMiddleware(stack); err != nil { return err } diff --git a/service/glacier/api_op_UploadMultipartPart.go b/service/glacier/api_op_UploadMultipartPart.go index 29a792794f4..4095f0177fb 100644 --- a/service/glacier/api_op_UploadMultipartPart.go +++ b/service/glacier/api_op_UploadMultipartPart.go @@ -186,9 +186,6 @@ func (c *Client) addOperationUploadMultipartPartMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUploadMultipartPartValidationMiddleware(stack); err != nil { return err } diff --git a/service/glacier/snapshot/api_op_AbortMultipartUpload.go.snap b/service/glacier/snapshot/api_op_AbortMultipartUpload.go.snap index d0e735b74a2..ba0a006ed7a 100644 --- a/service/glacier/snapshot/api_op_AbortMultipartUpload.go.snap +++ b/service/glacier/snapshot/api_op_AbortMultipartUpload.go.snap @@ -16,7 +16,6 @@ AbortMultipartUpload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glacier/snapshot/api_op_AbortVaultLock.go.snap b/service/glacier/snapshot/api_op_AbortVaultLock.go.snap index c37d05cd5bc..8e890e94f64 100644 --- a/service/glacier/snapshot/api_op_AbortVaultLock.go.snap +++ b/service/glacier/snapshot/api_op_AbortVaultLock.go.snap @@ -16,7 +16,6 @@ AbortVaultLock Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glacier/snapshot/api_op_AddTagsToVault.go.snap b/service/glacier/snapshot/api_op_AddTagsToVault.go.snap index 16f99c767f9..796ab9c8cb9 100644 --- a/service/glacier/snapshot/api_op_AddTagsToVault.go.snap +++ b/service/glacier/snapshot/api_op_AddTagsToVault.go.snap @@ -16,7 +16,6 @@ AddTagsToVault Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glacier/snapshot/api_op_CompleteMultipartUpload.go.snap b/service/glacier/snapshot/api_op_CompleteMultipartUpload.go.snap index 2d7abb3ece7..9f659724730 100644 --- a/service/glacier/snapshot/api_op_CompleteMultipartUpload.go.snap +++ b/service/glacier/snapshot/api_op_CompleteMultipartUpload.go.snap @@ -16,7 +16,6 @@ CompleteMultipartUpload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glacier/snapshot/api_op_CompleteVaultLock.go.snap b/service/glacier/snapshot/api_op_CompleteVaultLock.go.snap index 698972ec711..8215167a208 100644 --- a/service/glacier/snapshot/api_op_CompleteVaultLock.go.snap +++ b/service/glacier/snapshot/api_op_CompleteVaultLock.go.snap @@ -16,7 +16,6 @@ CompleteVaultLock Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glacier/snapshot/api_op_CreateVault.go.snap b/service/glacier/snapshot/api_op_CreateVault.go.snap index 4a5cea58209..16e98fb2795 100644 --- a/service/glacier/snapshot/api_op_CreateVault.go.snap +++ b/service/glacier/snapshot/api_op_CreateVault.go.snap @@ -16,7 +16,6 @@ CreateVault Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glacier/snapshot/api_op_DeleteArchive.go.snap b/service/glacier/snapshot/api_op_DeleteArchive.go.snap index 86ec6977e90..0190afea1bf 100644 --- a/service/glacier/snapshot/api_op_DeleteArchive.go.snap +++ b/service/glacier/snapshot/api_op_DeleteArchive.go.snap @@ -16,7 +16,6 @@ DeleteArchive Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glacier/snapshot/api_op_DeleteVault.go.snap b/service/glacier/snapshot/api_op_DeleteVault.go.snap index 2c970505937..2ea5afdaa0a 100644 --- a/service/glacier/snapshot/api_op_DeleteVault.go.snap +++ b/service/glacier/snapshot/api_op_DeleteVault.go.snap @@ -16,7 +16,6 @@ DeleteVault Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glacier/snapshot/api_op_DeleteVaultAccessPolicy.go.snap b/service/glacier/snapshot/api_op_DeleteVaultAccessPolicy.go.snap index 6ea828dbaa4..76a6125fd2f 100644 --- a/service/glacier/snapshot/api_op_DeleteVaultAccessPolicy.go.snap +++ b/service/glacier/snapshot/api_op_DeleteVaultAccessPolicy.go.snap @@ -16,7 +16,6 @@ DeleteVaultAccessPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glacier/snapshot/api_op_DeleteVaultNotifications.go.snap b/service/glacier/snapshot/api_op_DeleteVaultNotifications.go.snap index 8f1f01d7543..6be3fa84582 100644 --- a/service/glacier/snapshot/api_op_DeleteVaultNotifications.go.snap +++ b/service/glacier/snapshot/api_op_DeleteVaultNotifications.go.snap @@ -16,7 +16,6 @@ DeleteVaultNotifications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glacier/snapshot/api_op_DescribeJob.go.snap b/service/glacier/snapshot/api_op_DescribeJob.go.snap index 9d5059e206c..560771cbaba 100644 --- a/service/glacier/snapshot/api_op_DescribeJob.go.snap +++ b/service/glacier/snapshot/api_op_DescribeJob.go.snap @@ -16,7 +16,6 @@ DescribeJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glacier/snapshot/api_op_DescribeVault.go.snap b/service/glacier/snapshot/api_op_DescribeVault.go.snap index 2a0be2ac642..c0158e1fa41 100644 --- a/service/glacier/snapshot/api_op_DescribeVault.go.snap +++ b/service/glacier/snapshot/api_op_DescribeVault.go.snap @@ -16,7 +16,6 @@ DescribeVault Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glacier/snapshot/api_op_GetDataRetrievalPolicy.go.snap b/service/glacier/snapshot/api_op_GetDataRetrievalPolicy.go.snap index 662a9df77ec..292c96af130 100644 --- a/service/glacier/snapshot/api_op_GetDataRetrievalPolicy.go.snap +++ b/service/glacier/snapshot/api_op_GetDataRetrievalPolicy.go.snap @@ -16,7 +16,6 @@ GetDataRetrievalPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glacier/snapshot/api_op_GetJobOutput.go.snap b/service/glacier/snapshot/api_op_GetJobOutput.go.snap index 90a0374cee7..c383825f3c2 100644 --- a/service/glacier/snapshot/api_op_GetJobOutput.go.snap +++ b/service/glacier/snapshot/api_op_GetJobOutput.go.snap @@ -16,7 +16,6 @@ GetJobOutput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glacier/snapshot/api_op_GetVaultAccessPolicy.go.snap b/service/glacier/snapshot/api_op_GetVaultAccessPolicy.go.snap index 6b0b58b9d59..29609f92b97 100644 --- a/service/glacier/snapshot/api_op_GetVaultAccessPolicy.go.snap +++ b/service/glacier/snapshot/api_op_GetVaultAccessPolicy.go.snap @@ -16,7 +16,6 @@ GetVaultAccessPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glacier/snapshot/api_op_GetVaultLock.go.snap b/service/glacier/snapshot/api_op_GetVaultLock.go.snap index da062a265e7..2d7e415b2f6 100644 --- a/service/glacier/snapshot/api_op_GetVaultLock.go.snap +++ b/service/glacier/snapshot/api_op_GetVaultLock.go.snap @@ -16,7 +16,6 @@ GetVaultLock Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glacier/snapshot/api_op_GetVaultNotifications.go.snap b/service/glacier/snapshot/api_op_GetVaultNotifications.go.snap index 206b8dabc4f..332c9860684 100644 --- a/service/glacier/snapshot/api_op_GetVaultNotifications.go.snap +++ b/service/glacier/snapshot/api_op_GetVaultNotifications.go.snap @@ -16,7 +16,6 @@ GetVaultNotifications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glacier/snapshot/api_op_InitiateJob.go.snap b/service/glacier/snapshot/api_op_InitiateJob.go.snap index e17e1894775..58113f92a3c 100644 --- a/service/glacier/snapshot/api_op_InitiateJob.go.snap +++ b/service/glacier/snapshot/api_op_InitiateJob.go.snap @@ -16,7 +16,6 @@ InitiateJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glacier/snapshot/api_op_InitiateMultipartUpload.go.snap b/service/glacier/snapshot/api_op_InitiateMultipartUpload.go.snap index 5ec8dc76689..6140adc716d 100644 --- a/service/glacier/snapshot/api_op_InitiateMultipartUpload.go.snap +++ b/service/glacier/snapshot/api_op_InitiateMultipartUpload.go.snap @@ -16,7 +16,6 @@ InitiateMultipartUpload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glacier/snapshot/api_op_InitiateVaultLock.go.snap b/service/glacier/snapshot/api_op_InitiateVaultLock.go.snap index 13ae3726266..005cb15deb4 100644 --- a/service/glacier/snapshot/api_op_InitiateVaultLock.go.snap +++ b/service/glacier/snapshot/api_op_InitiateVaultLock.go.snap @@ -16,7 +16,6 @@ InitiateVaultLock Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glacier/snapshot/api_op_ListJobs.go.snap b/service/glacier/snapshot/api_op_ListJobs.go.snap index 40c63934c5d..dd83683d38c 100644 --- a/service/glacier/snapshot/api_op_ListJobs.go.snap +++ b/service/glacier/snapshot/api_op_ListJobs.go.snap @@ -16,7 +16,6 @@ ListJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glacier/snapshot/api_op_ListMultipartUploads.go.snap b/service/glacier/snapshot/api_op_ListMultipartUploads.go.snap index ee915e873bd..3a13b37428f 100644 --- a/service/glacier/snapshot/api_op_ListMultipartUploads.go.snap +++ b/service/glacier/snapshot/api_op_ListMultipartUploads.go.snap @@ -16,7 +16,6 @@ ListMultipartUploads Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glacier/snapshot/api_op_ListParts.go.snap b/service/glacier/snapshot/api_op_ListParts.go.snap index b455b917a9a..e0c165d24dd 100644 --- a/service/glacier/snapshot/api_op_ListParts.go.snap +++ b/service/glacier/snapshot/api_op_ListParts.go.snap @@ -16,7 +16,6 @@ ListParts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glacier/snapshot/api_op_ListProvisionedCapacity.go.snap b/service/glacier/snapshot/api_op_ListProvisionedCapacity.go.snap index 7f5ab4646e8..25e2a772db9 100644 --- a/service/glacier/snapshot/api_op_ListProvisionedCapacity.go.snap +++ b/service/glacier/snapshot/api_op_ListProvisionedCapacity.go.snap @@ -16,7 +16,6 @@ ListProvisionedCapacity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glacier/snapshot/api_op_ListTagsForVault.go.snap b/service/glacier/snapshot/api_op_ListTagsForVault.go.snap index f15eeb9ef64..5fef4edd2c2 100644 --- a/service/glacier/snapshot/api_op_ListTagsForVault.go.snap +++ b/service/glacier/snapshot/api_op_ListTagsForVault.go.snap @@ -16,7 +16,6 @@ ListTagsForVault Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glacier/snapshot/api_op_ListVaults.go.snap b/service/glacier/snapshot/api_op_ListVaults.go.snap index 7e3a7c0707a..5a594892a0c 100644 --- a/service/glacier/snapshot/api_op_ListVaults.go.snap +++ b/service/glacier/snapshot/api_op_ListVaults.go.snap @@ -16,7 +16,6 @@ ListVaults Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glacier/snapshot/api_op_PurchaseProvisionedCapacity.go.snap b/service/glacier/snapshot/api_op_PurchaseProvisionedCapacity.go.snap index 95e25d2a70a..e7d9fe25119 100644 --- a/service/glacier/snapshot/api_op_PurchaseProvisionedCapacity.go.snap +++ b/service/glacier/snapshot/api_op_PurchaseProvisionedCapacity.go.snap @@ -16,7 +16,6 @@ PurchaseProvisionedCapacity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glacier/snapshot/api_op_RemoveTagsFromVault.go.snap b/service/glacier/snapshot/api_op_RemoveTagsFromVault.go.snap index 45299fcd2b0..b56beed2573 100644 --- a/service/glacier/snapshot/api_op_RemoveTagsFromVault.go.snap +++ b/service/glacier/snapshot/api_op_RemoveTagsFromVault.go.snap @@ -16,7 +16,6 @@ RemoveTagsFromVault Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glacier/snapshot/api_op_SetDataRetrievalPolicy.go.snap b/service/glacier/snapshot/api_op_SetDataRetrievalPolicy.go.snap index 74383b1e7ab..9297b25f3da 100644 --- a/service/glacier/snapshot/api_op_SetDataRetrievalPolicy.go.snap +++ b/service/glacier/snapshot/api_op_SetDataRetrievalPolicy.go.snap @@ -16,7 +16,6 @@ SetDataRetrievalPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glacier/snapshot/api_op_SetVaultAccessPolicy.go.snap b/service/glacier/snapshot/api_op_SetVaultAccessPolicy.go.snap index 6447222463b..7d315348233 100644 --- a/service/glacier/snapshot/api_op_SetVaultAccessPolicy.go.snap +++ b/service/glacier/snapshot/api_op_SetVaultAccessPolicy.go.snap @@ -16,7 +16,6 @@ SetVaultAccessPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glacier/snapshot/api_op_SetVaultNotifications.go.snap b/service/glacier/snapshot/api_op_SetVaultNotifications.go.snap index efe93ac1a2b..9b21429cb12 100644 --- a/service/glacier/snapshot/api_op_SetVaultNotifications.go.snap +++ b/service/glacier/snapshot/api_op_SetVaultNotifications.go.snap @@ -16,7 +16,6 @@ SetVaultNotifications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glacier/snapshot/api_op_UploadArchive.go.snap b/service/glacier/snapshot/api_op_UploadArchive.go.snap index f08910eb3c1..e088ef18b7d 100644 --- a/service/glacier/snapshot/api_op_UploadArchive.go.snap +++ b/service/glacier/snapshot/api_op_UploadArchive.go.snap @@ -16,7 +16,6 @@ UploadArchive Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glacier/snapshot/api_op_UploadMultipartPart.go.snap b/service/glacier/snapshot/api_op_UploadMultipartPart.go.snap index 5c835b3ef3e..3b38ecebba7 100644 --- a/service/glacier/snapshot/api_op_UploadMultipartPart.go.snap +++ b/service/glacier/snapshot/api_op_UploadMultipartPart.go.snap @@ -16,7 +16,6 @@ UploadMultipartPart Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/api_client.go b/service/globalaccelerator/api_client.go index 7210a3462f1..4649066dbc9 100644 --- a/service/globalaccelerator/api_client.go +++ b/service/globalaccelerator/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/globalaccelerator/api_op_AddCustomRoutingEndpoints.go b/service/globalaccelerator/api_op_AddCustomRoutingEndpoints.go index 8eb20b07ddf..45cf914f781 100644 --- a/service/globalaccelerator/api_op_AddCustomRoutingEndpoints.go +++ b/service/globalaccelerator/api_op_AddCustomRoutingEndpoints.go @@ -138,9 +138,6 @@ func (c *Client) addOperationAddCustomRoutingEndpointsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddCustomRoutingEndpointsValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_AddEndpoints.go b/service/globalaccelerator/api_op_AddEndpoints.go index d18fd303c5f..02aa15764f9 100644 --- a/service/globalaccelerator/api_op_AddEndpoints.go +++ b/service/globalaccelerator/api_op_AddEndpoints.go @@ -140,9 +140,6 @@ func (c *Client) addOperationAddEndpointsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddEndpointsValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_AdvertiseByoipCidr.go b/service/globalaccelerator/api_op_AdvertiseByoipCidr.go index 3d6a4f9d72f..5dfe159aeba 100644 --- a/service/globalaccelerator/api_op_AdvertiseByoipCidr.go +++ b/service/globalaccelerator/api_op_AdvertiseByoipCidr.go @@ -127,9 +127,6 @@ func (c *Client) addOperationAdvertiseByoipCidrMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAdvertiseByoipCidrValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_AllowCustomRoutingTraffic.go b/service/globalaccelerator/api_op_AllowCustomRoutingTraffic.go index 43906ffed86..17796cb8d91 100644 --- a/service/globalaccelerator/api_op_AllowCustomRoutingTraffic.go +++ b/service/globalaccelerator/api_op_AllowCustomRoutingTraffic.go @@ -150,9 +150,6 @@ func (c *Client) addOperationAllowCustomRoutingTrafficMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAllowCustomRoutingTrafficValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_CreateAccelerator.go b/service/globalaccelerator/api_op_CreateAccelerator.go index 20114a41f0b..88f2c75fa6e 100644 --- a/service/globalaccelerator/api_op_CreateAccelerator.go +++ b/service/globalaccelerator/api_op_CreateAccelerator.go @@ -169,9 +169,6 @@ func (c *Client) addOperationCreateAcceleratorMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAcceleratorMiddleware(stack, options); err != nil { return err } diff --git a/service/globalaccelerator/api_op_CreateCrossAccountAttachment.go b/service/globalaccelerator/api_op_CreateCrossAccountAttachment.go index 92025d0a019..e8bc275db84 100644 --- a/service/globalaccelerator/api_op_CreateCrossAccountAttachment.go +++ b/service/globalaccelerator/api_op_CreateCrossAccountAttachment.go @@ -158,9 +158,6 @@ func (c *Client) addOperationCreateCrossAccountAttachmentMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateCrossAccountAttachmentMiddleware(stack, options); err != nil { return err } diff --git a/service/globalaccelerator/api_op_CreateCustomRoutingAccelerator.go b/service/globalaccelerator/api_op_CreateCustomRoutingAccelerator.go index 55699090521..0970104af41 100644 --- a/service/globalaccelerator/api_op_CreateCustomRoutingAccelerator.go +++ b/service/globalaccelerator/api_op_CreateCustomRoutingAccelerator.go @@ -175,9 +175,6 @@ func (c *Client) addOperationCreateCustomRoutingAcceleratorMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateCustomRoutingAcceleratorMiddleware(stack, options); err != nil { return err } diff --git a/service/globalaccelerator/api_op_CreateCustomRoutingEndpointGroup.go b/service/globalaccelerator/api_op_CreateCustomRoutingEndpointGroup.go index 497b1e5b157..38808211091 100644 --- a/service/globalaccelerator/api_op_CreateCustomRoutingEndpointGroup.go +++ b/service/globalaccelerator/api_op_CreateCustomRoutingEndpointGroup.go @@ -133,9 +133,6 @@ func (c *Client) addOperationCreateCustomRoutingEndpointGroupMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateCustomRoutingEndpointGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/globalaccelerator/api_op_CreateCustomRoutingListener.go b/service/globalaccelerator/api_op_CreateCustomRoutingListener.go index 017652c9c27..01a9eb63617 100644 --- a/service/globalaccelerator/api_op_CreateCustomRoutingListener.go +++ b/service/globalaccelerator/api_op_CreateCustomRoutingListener.go @@ -129,9 +129,6 @@ func (c *Client) addOperationCreateCustomRoutingListenerMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateCustomRoutingListenerMiddleware(stack, options); err != nil { return err } diff --git a/service/globalaccelerator/api_op_CreateEndpointGroup.go b/service/globalaccelerator/api_op_CreateEndpointGroup.go index fc5ef56d2ad..bc34734d812 100644 --- a/service/globalaccelerator/api_op_CreateEndpointGroup.go +++ b/service/globalaccelerator/api_op_CreateEndpointGroup.go @@ -179,9 +179,6 @@ func (c *Client) addOperationCreateEndpointGroupMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateEndpointGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/globalaccelerator/api_op_CreateListener.go b/service/globalaccelerator/api_op_CreateListener.go index 92e1cbb1a56..ee97e0618b9 100644 --- a/service/globalaccelerator/api_op_CreateListener.go +++ b/service/globalaccelerator/api_op_CreateListener.go @@ -152,9 +152,6 @@ func (c *Client) addOperationCreateListenerMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateListenerMiddleware(stack, options); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DeleteAccelerator.go b/service/globalaccelerator/api_op_DeleteAccelerator.go index 273c080c31c..b1ae21a6d9c 100644 --- a/service/globalaccelerator/api_op_DeleteAccelerator.go +++ b/service/globalaccelerator/api_op_DeleteAccelerator.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteAcceleratorMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAcceleratorValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DeleteCrossAccountAttachment.go b/service/globalaccelerator/api_op_DeleteCrossAccountAttachment.go index ca9cd8a9869..4be811dff31 100644 --- a/service/globalaccelerator/api_op_DeleteCrossAccountAttachment.go +++ b/service/globalaccelerator/api_op_DeleteCrossAccountAttachment.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteCrossAccountAttachmentMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCrossAccountAttachmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DeleteCustomRoutingAccelerator.go b/service/globalaccelerator/api_op_DeleteCustomRoutingAccelerator.go index afbddf98c15..6a9d86f2dcf 100644 --- a/service/globalaccelerator/api_op_DeleteCustomRoutingAccelerator.go +++ b/service/globalaccelerator/api_op_DeleteCustomRoutingAccelerator.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteCustomRoutingAcceleratorMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCustomRoutingAcceleratorValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DeleteCustomRoutingEndpointGroup.go b/service/globalaccelerator/api_op_DeleteCustomRoutingEndpointGroup.go index b2bef45501b..048c185ab60 100644 --- a/service/globalaccelerator/api_op_DeleteCustomRoutingEndpointGroup.go +++ b/service/globalaccelerator/api_op_DeleteCustomRoutingEndpointGroup.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteCustomRoutingEndpointGroupMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCustomRoutingEndpointGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DeleteCustomRoutingListener.go b/service/globalaccelerator/api_op_DeleteCustomRoutingListener.go index 0d00aedf620..8e00ead35d2 100644 --- a/service/globalaccelerator/api_op_DeleteCustomRoutingListener.go +++ b/service/globalaccelerator/api_op_DeleteCustomRoutingListener.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteCustomRoutingListenerMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCustomRoutingListenerValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DeleteEndpointGroup.go b/service/globalaccelerator/api_op_DeleteEndpointGroup.go index e75fb58b358..68a1163bf8c 100644 --- a/service/globalaccelerator/api_op_DeleteEndpointGroup.go +++ b/service/globalaccelerator/api_op_DeleteEndpointGroup.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteEndpointGroupMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEndpointGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DeleteListener.go b/service/globalaccelerator/api_op_DeleteListener.go index a82967c4e20..4af508e22ab 100644 --- a/service/globalaccelerator/api_op_DeleteListener.go +++ b/service/globalaccelerator/api_op_DeleteListener.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteListenerMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteListenerValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DenyCustomRoutingTraffic.go b/service/globalaccelerator/api_op_DenyCustomRoutingTraffic.go index 4cec2436fed..444750219ee 100644 --- a/service/globalaccelerator/api_op_DenyCustomRoutingTraffic.go +++ b/service/globalaccelerator/api_op_DenyCustomRoutingTraffic.go @@ -148,9 +148,6 @@ func (c *Client) addOperationDenyCustomRoutingTrafficMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDenyCustomRoutingTrafficValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DeprovisionByoipCidr.go b/service/globalaccelerator/api_op_DeprovisionByoipCidr.go index dd30c645360..567084faed2 100644 --- a/service/globalaccelerator/api_op_DeprovisionByoipCidr.go +++ b/service/globalaccelerator/api_op_DeprovisionByoipCidr.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeprovisionByoipCidrMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeprovisionByoipCidrValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DescribeAccelerator.go b/service/globalaccelerator/api_op_DescribeAccelerator.go index 06a18412a17..9e6e2e6fbe1 100644 --- a/service/globalaccelerator/api_op_DescribeAccelerator.go +++ b/service/globalaccelerator/api_op_DescribeAccelerator.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDescribeAcceleratorMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAcceleratorValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DescribeAcceleratorAttributes.go b/service/globalaccelerator/api_op_DescribeAcceleratorAttributes.go index c9bd197915a..3199d35622a 100644 --- a/service/globalaccelerator/api_op_DescribeAcceleratorAttributes.go +++ b/service/globalaccelerator/api_op_DescribeAcceleratorAttributes.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDescribeAcceleratorAttributesMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAcceleratorAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DescribeCrossAccountAttachment.go b/service/globalaccelerator/api_op_DescribeCrossAccountAttachment.go index eb426cf362a..a518eb830fc 100644 --- a/service/globalaccelerator/api_op_DescribeCrossAccountAttachment.go +++ b/service/globalaccelerator/api_op_DescribeCrossAccountAttachment.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDescribeCrossAccountAttachmentMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCrossAccountAttachmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DescribeCustomRoutingAccelerator.go b/service/globalaccelerator/api_op_DescribeCustomRoutingAccelerator.go index b28da3b3b20..d48b84ae735 100644 --- a/service/globalaccelerator/api_op_DescribeCustomRoutingAccelerator.go +++ b/service/globalaccelerator/api_op_DescribeCustomRoutingAccelerator.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDescribeCustomRoutingAcceleratorMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCustomRoutingAcceleratorValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DescribeCustomRoutingAcceleratorAttributes.go b/service/globalaccelerator/api_op_DescribeCustomRoutingAcceleratorAttributes.go index 27b52cf7f1d..7b541653371 100644 --- a/service/globalaccelerator/api_op_DescribeCustomRoutingAcceleratorAttributes.go +++ b/service/globalaccelerator/api_op_DescribeCustomRoutingAcceleratorAttributes.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDescribeCustomRoutingAcceleratorAttributesMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCustomRoutingAcceleratorAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DescribeCustomRoutingEndpointGroup.go b/service/globalaccelerator/api_op_DescribeCustomRoutingEndpointGroup.go index ac3a904a31e..a2a3b624d28 100644 --- a/service/globalaccelerator/api_op_DescribeCustomRoutingEndpointGroup.go +++ b/service/globalaccelerator/api_op_DescribeCustomRoutingEndpointGroup.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDescribeCustomRoutingEndpointGroupMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCustomRoutingEndpointGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DescribeCustomRoutingListener.go b/service/globalaccelerator/api_op_DescribeCustomRoutingListener.go index d3733bef789..4198cacd500 100644 --- a/service/globalaccelerator/api_op_DescribeCustomRoutingListener.go +++ b/service/globalaccelerator/api_op_DescribeCustomRoutingListener.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDescribeCustomRoutingListenerMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCustomRoutingListenerValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DescribeEndpointGroup.go b/service/globalaccelerator/api_op_DescribeEndpointGroup.go index 09415396704..0e20865e430 100644 --- a/service/globalaccelerator/api_op_DescribeEndpointGroup.go +++ b/service/globalaccelerator/api_op_DescribeEndpointGroup.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDescribeEndpointGroupMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEndpointGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_DescribeListener.go b/service/globalaccelerator/api_op_DescribeListener.go index deeb67677bd..c0953fa8b74 100644 --- a/service/globalaccelerator/api_op_DescribeListener.go +++ b/service/globalaccelerator/api_op_DescribeListener.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDescribeListenerMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeListenerValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_ListAccelerators.go b/service/globalaccelerator/api_op_ListAccelerators.go index affbed51989..e47d0c307df 100644 --- a/service/globalaccelerator/api_op_ListAccelerators.go +++ b/service/globalaccelerator/api_op_ListAccelerators.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListAcceleratorsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccelerators(options.Region), middleware.Before); err != nil { return err } diff --git a/service/globalaccelerator/api_op_ListByoipCidrs.go b/service/globalaccelerator/api_op_ListByoipCidrs.go index 4d223848721..9a1c0c02b54 100644 --- a/service/globalaccelerator/api_op_ListByoipCidrs.go +++ b/service/globalaccelerator/api_op_ListByoipCidrs.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListByoipCidrsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListByoipCidrs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/globalaccelerator/api_op_ListCrossAccountAttachments.go b/service/globalaccelerator/api_op_ListCrossAccountAttachments.go index 8324df1fa8e..9d3c64f6121 100644 --- a/service/globalaccelerator/api_op_ListCrossAccountAttachments.go +++ b/service/globalaccelerator/api_op_ListCrossAccountAttachments.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListCrossAccountAttachmentsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCrossAccountAttachments(options.Region), middleware.Before); err != nil { return err } diff --git a/service/globalaccelerator/api_op_ListCrossAccountResourceAccounts.go b/service/globalaccelerator/api_op_ListCrossAccountResourceAccounts.go index 0cf1266139b..fbb3837a7a9 100644 --- a/service/globalaccelerator/api_op_ListCrossAccountResourceAccounts.go +++ b/service/globalaccelerator/api_op_ListCrossAccountResourceAccounts.go @@ -110,9 +110,6 @@ func (c *Client) addOperationListCrossAccountResourceAccountsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCrossAccountResourceAccounts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/globalaccelerator/api_op_ListCrossAccountResources.go b/service/globalaccelerator/api_op_ListCrossAccountResources.go index 338761ec137..2b7cd7798ed 100644 --- a/service/globalaccelerator/api_op_ListCrossAccountResources.go +++ b/service/globalaccelerator/api_op_ListCrossAccountResources.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListCrossAccountResourcesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCrossAccountResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_ListCustomRoutingAccelerators.go b/service/globalaccelerator/api_op_ListCustomRoutingAccelerators.go index 348ac52d996..c4ade4bfec3 100644 --- a/service/globalaccelerator/api_op_ListCustomRoutingAccelerators.go +++ b/service/globalaccelerator/api_op_ListCustomRoutingAccelerators.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListCustomRoutingAcceleratorsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCustomRoutingAccelerators(options.Region), middleware.Before); err != nil { return err } diff --git a/service/globalaccelerator/api_op_ListCustomRoutingEndpointGroups.go b/service/globalaccelerator/api_op_ListCustomRoutingEndpointGroups.go index 91037df1e28..275f3c17eaa 100644 --- a/service/globalaccelerator/api_op_ListCustomRoutingEndpointGroups.go +++ b/service/globalaccelerator/api_op_ListCustomRoutingEndpointGroups.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListCustomRoutingEndpointGroupsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCustomRoutingEndpointGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_ListCustomRoutingListeners.go b/service/globalaccelerator/api_op_ListCustomRoutingListeners.go index f30cd9bcd0e..d01307e984c 100644 --- a/service/globalaccelerator/api_op_ListCustomRoutingListeners.go +++ b/service/globalaccelerator/api_op_ListCustomRoutingListeners.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListCustomRoutingListenersMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCustomRoutingListenersValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_ListCustomRoutingPortMappings.go b/service/globalaccelerator/api_op_ListCustomRoutingPortMappings.go index 14ab7c364f8..8f472e5eb20 100644 --- a/service/globalaccelerator/api_op_ListCustomRoutingPortMappings.go +++ b/service/globalaccelerator/api_op_ListCustomRoutingPortMappings.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListCustomRoutingPortMappingsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCustomRoutingPortMappingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_ListCustomRoutingPortMappingsByDestination.go b/service/globalaccelerator/api_op_ListCustomRoutingPortMappingsByDestination.go index 77c0d0661ca..51235346d5f 100644 --- a/service/globalaccelerator/api_op_ListCustomRoutingPortMappingsByDestination.go +++ b/service/globalaccelerator/api_op_ListCustomRoutingPortMappingsByDestination.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListCustomRoutingPortMappingsByDestinationMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCustomRoutingPortMappingsByDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_ListEndpointGroups.go b/service/globalaccelerator/api_op_ListEndpointGroups.go index c020ddbe2c5..689fbb636f8 100644 --- a/service/globalaccelerator/api_op_ListEndpointGroups.go +++ b/service/globalaccelerator/api_op_ListEndpointGroups.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListEndpointGroupsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEndpointGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_ListListeners.go b/service/globalaccelerator/api_op_ListListeners.go index 87d22f7dd1e..6194ea219e1 100644 --- a/service/globalaccelerator/api_op_ListListeners.go +++ b/service/globalaccelerator/api_op_ListListeners.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListListenersMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListListenersValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_ListTagsForResource.go b/service/globalaccelerator/api_op_ListTagsForResource.go index cf1ea870176..b7f3b28d059 100644 --- a/service/globalaccelerator/api_op_ListTagsForResource.go +++ b/service/globalaccelerator/api_op_ListTagsForResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_ProvisionByoipCidr.go b/service/globalaccelerator/api_op_ProvisionByoipCidr.go index 4d3e35bee95..3232efc8444 100644 --- a/service/globalaccelerator/api_op_ProvisionByoipCidr.go +++ b/service/globalaccelerator/api_op_ProvisionByoipCidr.go @@ -133,9 +133,6 @@ func (c *Client) addOperationProvisionByoipCidrMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpProvisionByoipCidrValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_RemoveCustomRoutingEndpoints.go b/service/globalaccelerator/api_op_RemoveCustomRoutingEndpoints.go index 5a678ee6580..84f20954dad 100644 --- a/service/globalaccelerator/api_op_RemoveCustomRoutingEndpoints.go +++ b/service/globalaccelerator/api_op_RemoveCustomRoutingEndpoints.go @@ -113,9 +113,6 @@ func (c *Client) addOperationRemoveCustomRoutingEndpointsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveCustomRoutingEndpointsValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_RemoveEndpoints.go b/service/globalaccelerator/api_op_RemoveEndpoints.go index 51ea5bb1079..9dcee0c9811 100644 --- a/service/globalaccelerator/api_op_RemoveEndpoints.go +++ b/service/globalaccelerator/api_op_RemoveEndpoints.go @@ -129,9 +129,6 @@ func (c *Client) addOperationRemoveEndpointsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveEndpointsValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_TagResource.go b/service/globalaccelerator/api_op_TagResource.go index 3881625e80d..4ec84bf22b2 100644 --- a/service/globalaccelerator/api_op_TagResource.go +++ b/service/globalaccelerator/api_op_TagResource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_UntagResource.go b/service/globalaccelerator/api_op_UntagResource.go index fcbc5aed6a3..effc1e65deb 100644 --- a/service/globalaccelerator/api_op_UntagResource.go +++ b/service/globalaccelerator/api_op_UntagResource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_UpdateAccelerator.go b/service/globalaccelerator/api_op_UpdateAccelerator.go index 1246c7ad300..0e52795fb5b 100644 --- a/service/globalaccelerator/api_op_UpdateAccelerator.go +++ b/service/globalaccelerator/api_op_UpdateAccelerator.go @@ -152,9 +152,6 @@ func (c *Client) addOperationUpdateAcceleratorMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAcceleratorValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_UpdateAcceleratorAttributes.go b/service/globalaccelerator/api_op_UpdateAcceleratorAttributes.go index e49ed086c26..e25d13705c9 100644 --- a/service/globalaccelerator/api_op_UpdateAcceleratorAttributes.go +++ b/service/globalaccelerator/api_op_UpdateAcceleratorAttributes.go @@ -134,9 +134,6 @@ func (c *Client) addOperationUpdateAcceleratorAttributesMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAcceleratorAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_UpdateCrossAccountAttachment.go b/service/globalaccelerator/api_op_UpdateCrossAccountAttachment.go index ad739cb36d1..fb68ab3d4e4 100644 --- a/service/globalaccelerator/api_op_UpdateCrossAccountAttachment.go +++ b/service/globalaccelerator/api_op_UpdateCrossAccountAttachment.go @@ -153,9 +153,6 @@ func (c *Client) addOperationUpdateCrossAccountAttachmentMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCrossAccountAttachmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_UpdateCustomRoutingAccelerator.go b/service/globalaccelerator/api_op_UpdateCustomRoutingAccelerator.go index 003fe6f8e61..cb3ebd00069 100644 --- a/service/globalaccelerator/api_op_UpdateCustomRoutingAccelerator.go +++ b/service/globalaccelerator/api_op_UpdateCustomRoutingAccelerator.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateCustomRoutingAcceleratorMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCustomRoutingAcceleratorValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_UpdateCustomRoutingAcceleratorAttributes.go b/service/globalaccelerator/api_op_UpdateCustomRoutingAcceleratorAttributes.go index a8772f0a8a2..ff06c60a3b7 100644 --- a/service/globalaccelerator/api_op_UpdateCustomRoutingAcceleratorAttributes.go +++ b/service/globalaccelerator/api_op_UpdateCustomRoutingAcceleratorAttributes.go @@ -136,9 +136,6 @@ func (c *Client) addOperationUpdateCustomRoutingAcceleratorAttributesMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCustomRoutingAcceleratorAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_UpdateCustomRoutingListener.go b/service/globalaccelerator/api_op_UpdateCustomRoutingListener.go index f67f921a580..6ec1bc8716d 100644 --- a/service/globalaccelerator/api_op_UpdateCustomRoutingListener.go +++ b/service/globalaccelerator/api_op_UpdateCustomRoutingListener.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateCustomRoutingListenerMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCustomRoutingListenerValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_UpdateEndpointGroup.go b/service/globalaccelerator/api_op_UpdateEndpointGroup.go index 303f17f3f86..ce087d13a08 100644 --- a/service/globalaccelerator/api_op_UpdateEndpointGroup.go +++ b/service/globalaccelerator/api_op_UpdateEndpointGroup.go @@ -161,9 +161,6 @@ func (c *Client) addOperationUpdateEndpointGroupMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEndpointGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_UpdateListener.go b/service/globalaccelerator/api_op_UpdateListener.go index 9f010d3484b..46b357dc553 100644 --- a/service/globalaccelerator/api_op_UpdateListener.go +++ b/service/globalaccelerator/api_op_UpdateListener.go @@ -140,9 +140,6 @@ func (c *Client) addOperationUpdateListenerMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateListenerValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/api_op_WithdrawByoipCidr.go b/service/globalaccelerator/api_op_WithdrawByoipCidr.go index 790eafe8da4..bee07fef32a 100644 --- a/service/globalaccelerator/api_op_WithdrawByoipCidr.go +++ b/service/globalaccelerator/api_op_WithdrawByoipCidr.go @@ -125,9 +125,6 @@ func (c *Client) addOperationWithdrawByoipCidrMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpWithdrawByoipCidrValidationMiddleware(stack); err != nil { return err } diff --git a/service/globalaccelerator/snapshot/api_op_AddCustomRoutingEndpoints.go.snap b/service/globalaccelerator/snapshot/api_op_AddCustomRoutingEndpoints.go.snap index f719f40f891..10ce9a8b8ad 100644 --- a/service/globalaccelerator/snapshot/api_op_AddCustomRoutingEndpoints.go.snap +++ b/service/globalaccelerator/snapshot/api_op_AddCustomRoutingEndpoints.go.snap @@ -14,7 +14,6 @@ AddCustomRoutingEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_AddEndpoints.go.snap b/service/globalaccelerator/snapshot/api_op_AddEndpoints.go.snap index 616bf3fb56c..e5fb33aa4e6 100644 --- a/service/globalaccelerator/snapshot/api_op_AddEndpoints.go.snap +++ b/service/globalaccelerator/snapshot/api_op_AddEndpoints.go.snap @@ -14,7 +14,6 @@ AddEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_AdvertiseByoipCidr.go.snap b/service/globalaccelerator/snapshot/api_op_AdvertiseByoipCidr.go.snap index 0a8ea0a1072..701887dec65 100644 --- a/service/globalaccelerator/snapshot/api_op_AdvertiseByoipCidr.go.snap +++ b/service/globalaccelerator/snapshot/api_op_AdvertiseByoipCidr.go.snap @@ -14,7 +14,6 @@ AdvertiseByoipCidr Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_AllowCustomRoutingTraffic.go.snap b/service/globalaccelerator/snapshot/api_op_AllowCustomRoutingTraffic.go.snap index cd1b0b2cb5e..c2b9cbd7a1d 100644 --- a/service/globalaccelerator/snapshot/api_op_AllowCustomRoutingTraffic.go.snap +++ b/service/globalaccelerator/snapshot/api_op_AllowCustomRoutingTraffic.go.snap @@ -14,7 +14,6 @@ AllowCustomRoutingTraffic Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_CreateAccelerator.go.snap b/service/globalaccelerator/snapshot/api_op_CreateAccelerator.go.snap index a19b4e183a7..6ec6bd71633 100644 --- a/service/globalaccelerator/snapshot/api_op_CreateAccelerator.go.snap +++ b/service/globalaccelerator/snapshot/api_op_CreateAccelerator.go.snap @@ -15,7 +15,6 @@ CreateAccelerator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_CreateCrossAccountAttachment.go.snap b/service/globalaccelerator/snapshot/api_op_CreateCrossAccountAttachment.go.snap index 2bc4e37c20f..3591f5c7daa 100644 --- a/service/globalaccelerator/snapshot/api_op_CreateCrossAccountAttachment.go.snap +++ b/service/globalaccelerator/snapshot/api_op_CreateCrossAccountAttachment.go.snap @@ -15,7 +15,6 @@ CreateCrossAccountAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_CreateCustomRoutingAccelerator.go.snap b/service/globalaccelerator/snapshot/api_op_CreateCustomRoutingAccelerator.go.snap index a29878e0d7f..42c4a327ce7 100644 --- a/service/globalaccelerator/snapshot/api_op_CreateCustomRoutingAccelerator.go.snap +++ b/service/globalaccelerator/snapshot/api_op_CreateCustomRoutingAccelerator.go.snap @@ -15,7 +15,6 @@ CreateCustomRoutingAccelerator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_CreateCustomRoutingEndpointGroup.go.snap b/service/globalaccelerator/snapshot/api_op_CreateCustomRoutingEndpointGroup.go.snap index 50d0058ad24..b1c60c6ad58 100644 --- a/service/globalaccelerator/snapshot/api_op_CreateCustomRoutingEndpointGroup.go.snap +++ b/service/globalaccelerator/snapshot/api_op_CreateCustomRoutingEndpointGroup.go.snap @@ -15,7 +15,6 @@ CreateCustomRoutingEndpointGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_CreateCustomRoutingListener.go.snap b/service/globalaccelerator/snapshot/api_op_CreateCustomRoutingListener.go.snap index 42201c6708a..21f424b318b 100644 --- a/service/globalaccelerator/snapshot/api_op_CreateCustomRoutingListener.go.snap +++ b/service/globalaccelerator/snapshot/api_op_CreateCustomRoutingListener.go.snap @@ -15,7 +15,6 @@ CreateCustomRoutingListener Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_CreateEndpointGroup.go.snap b/service/globalaccelerator/snapshot/api_op_CreateEndpointGroup.go.snap index e873b905662..2639919cef0 100644 --- a/service/globalaccelerator/snapshot/api_op_CreateEndpointGroup.go.snap +++ b/service/globalaccelerator/snapshot/api_op_CreateEndpointGroup.go.snap @@ -15,7 +15,6 @@ CreateEndpointGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_CreateListener.go.snap b/service/globalaccelerator/snapshot/api_op_CreateListener.go.snap index 2cbcb335c91..ad37c989aa1 100644 --- a/service/globalaccelerator/snapshot/api_op_CreateListener.go.snap +++ b/service/globalaccelerator/snapshot/api_op_CreateListener.go.snap @@ -15,7 +15,6 @@ CreateListener Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_DeleteAccelerator.go.snap b/service/globalaccelerator/snapshot/api_op_DeleteAccelerator.go.snap index bc0647b9504..663d1f5c478 100644 --- a/service/globalaccelerator/snapshot/api_op_DeleteAccelerator.go.snap +++ b/service/globalaccelerator/snapshot/api_op_DeleteAccelerator.go.snap @@ -14,7 +14,6 @@ DeleteAccelerator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_DeleteCrossAccountAttachment.go.snap b/service/globalaccelerator/snapshot/api_op_DeleteCrossAccountAttachment.go.snap index 840b86ceef6..4e7f2fb2d77 100644 --- a/service/globalaccelerator/snapshot/api_op_DeleteCrossAccountAttachment.go.snap +++ b/service/globalaccelerator/snapshot/api_op_DeleteCrossAccountAttachment.go.snap @@ -14,7 +14,6 @@ DeleteCrossAccountAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_DeleteCustomRoutingAccelerator.go.snap b/service/globalaccelerator/snapshot/api_op_DeleteCustomRoutingAccelerator.go.snap index 748560490a0..3c9afad5aa7 100644 --- a/service/globalaccelerator/snapshot/api_op_DeleteCustomRoutingAccelerator.go.snap +++ b/service/globalaccelerator/snapshot/api_op_DeleteCustomRoutingAccelerator.go.snap @@ -14,7 +14,6 @@ DeleteCustomRoutingAccelerator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_DeleteCustomRoutingEndpointGroup.go.snap b/service/globalaccelerator/snapshot/api_op_DeleteCustomRoutingEndpointGroup.go.snap index a0d6ff14b45..4244050fac1 100644 --- a/service/globalaccelerator/snapshot/api_op_DeleteCustomRoutingEndpointGroup.go.snap +++ b/service/globalaccelerator/snapshot/api_op_DeleteCustomRoutingEndpointGroup.go.snap @@ -14,7 +14,6 @@ DeleteCustomRoutingEndpointGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_DeleteCustomRoutingListener.go.snap b/service/globalaccelerator/snapshot/api_op_DeleteCustomRoutingListener.go.snap index d78e794b845..1554f79f545 100644 --- a/service/globalaccelerator/snapshot/api_op_DeleteCustomRoutingListener.go.snap +++ b/service/globalaccelerator/snapshot/api_op_DeleteCustomRoutingListener.go.snap @@ -14,7 +14,6 @@ DeleteCustomRoutingListener Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_DeleteEndpointGroup.go.snap b/service/globalaccelerator/snapshot/api_op_DeleteEndpointGroup.go.snap index 2e0aa0a0be1..0df362d9280 100644 --- a/service/globalaccelerator/snapshot/api_op_DeleteEndpointGroup.go.snap +++ b/service/globalaccelerator/snapshot/api_op_DeleteEndpointGroup.go.snap @@ -14,7 +14,6 @@ DeleteEndpointGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_DeleteListener.go.snap b/service/globalaccelerator/snapshot/api_op_DeleteListener.go.snap index b1da8bc0db1..ba89bd4bc88 100644 --- a/service/globalaccelerator/snapshot/api_op_DeleteListener.go.snap +++ b/service/globalaccelerator/snapshot/api_op_DeleteListener.go.snap @@ -14,7 +14,6 @@ DeleteListener Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_DenyCustomRoutingTraffic.go.snap b/service/globalaccelerator/snapshot/api_op_DenyCustomRoutingTraffic.go.snap index 120bd820dc6..ccb8404aa92 100644 --- a/service/globalaccelerator/snapshot/api_op_DenyCustomRoutingTraffic.go.snap +++ b/service/globalaccelerator/snapshot/api_op_DenyCustomRoutingTraffic.go.snap @@ -14,7 +14,6 @@ DenyCustomRoutingTraffic Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_DeprovisionByoipCidr.go.snap b/service/globalaccelerator/snapshot/api_op_DeprovisionByoipCidr.go.snap index fbcf6e75615..7ca5a557c56 100644 --- a/service/globalaccelerator/snapshot/api_op_DeprovisionByoipCidr.go.snap +++ b/service/globalaccelerator/snapshot/api_op_DeprovisionByoipCidr.go.snap @@ -14,7 +14,6 @@ DeprovisionByoipCidr Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_DescribeAccelerator.go.snap b/service/globalaccelerator/snapshot/api_op_DescribeAccelerator.go.snap index 7b7ab1862d5..a36c6364d2c 100644 --- a/service/globalaccelerator/snapshot/api_op_DescribeAccelerator.go.snap +++ b/service/globalaccelerator/snapshot/api_op_DescribeAccelerator.go.snap @@ -14,7 +14,6 @@ DescribeAccelerator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_DescribeAcceleratorAttributes.go.snap b/service/globalaccelerator/snapshot/api_op_DescribeAcceleratorAttributes.go.snap index c496dd1d855..e3aabd6b04e 100644 --- a/service/globalaccelerator/snapshot/api_op_DescribeAcceleratorAttributes.go.snap +++ b/service/globalaccelerator/snapshot/api_op_DescribeAcceleratorAttributes.go.snap @@ -14,7 +14,6 @@ DescribeAcceleratorAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_DescribeCrossAccountAttachment.go.snap b/service/globalaccelerator/snapshot/api_op_DescribeCrossAccountAttachment.go.snap index 86886e0be1f..f17049663f2 100644 --- a/service/globalaccelerator/snapshot/api_op_DescribeCrossAccountAttachment.go.snap +++ b/service/globalaccelerator/snapshot/api_op_DescribeCrossAccountAttachment.go.snap @@ -14,7 +14,6 @@ DescribeCrossAccountAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_DescribeCustomRoutingAccelerator.go.snap b/service/globalaccelerator/snapshot/api_op_DescribeCustomRoutingAccelerator.go.snap index 667c30d518d..0f4d5532f6e 100644 --- a/service/globalaccelerator/snapshot/api_op_DescribeCustomRoutingAccelerator.go.snap +++ b/service/globalaccelerator/snapshot/api_op_DescribeCustomRoutingAccelerator.go.snap @@ -14,7 +14,6 @@ DescribeCustomRoutingAccelerator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_DescribeCustomRoutingAcceleratorAttributes.go.snap b/service/globalaccelerator/snapshot/api_op_DescribeCustomRoutingAcceleratorAttributes.go.snap index 42dea28e57d..b348b6a0017 100644 --- a/service/globalaccelerator/snapshot/api_op_DescribeCustomRoutingAcceleratorAttributes.go.snap +++ b/service/globalaccelerator/snapshot/api_op_DescribeCustomRoutingAcceleratorAttributes.go.snap @@ -14,7 +14,6 @@ DescribeCustomRoutingAcceleratorAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_DescribeCustomRoutingEndpointGroup.go.snap b/service/globalaccelerator/snapshot/api_op_DescribeCustomRoutingEndpointGroup.go.snap index 7d03e7cc0d1..8c1aeb80623 100644 --- a/service/globalaccelerator/snapshot/api_op_DescribeCustomRoutingEndpointGroup.go.snap +++ b/service/globalaccelerator/snapshot/api_op_DescribeCustomRoutingEndpointGroup.go.snap @@ -14,7 +14,6 @@ DescribeCustomRoutingEndpointGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_DescribeCustomRoutingListener.go.snap b/service/globalaccelerator/snapshot/api_op_DescribeCustomRoutingListener.go.snap index b5221e82d1c..e223085e715 100644 --- a/service/globalaccelerator/snapshot/api_op_DescribeCustomRoutingListener.go.snap +++ b/service/globalaccelerator/snapshot/api_op_DescribeCustomRoutingListener.go.snap @@ -14,7 +14,6 @@ DescribeCustomRoutingListener Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_DescribeEndpointGroup.go.snap b/service/globalaccelerator/snapshot/api_op_DescribeEndpointGroup.go.snap index 2956204777e..d993f5f5176 100644 --- a/service/globalaccelerator/snapshot/api_op_DescribeEndpointGroup.go.snap +++ b/service/globalaccelerator/snapshot/api_op_DescribeEndpointGroup.go.snap @@ -14,7 +14,6 @@ DescribeEndpointGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_DescribeListener.go.snap b/service/globalaccelerator/snapshot/api_op_DescribeListener.go.snap index e085cd90cfc..b36a343ed19 100644 --- a/service/globalaccelerator/snapshot/api_op_DescribeListener.go.snap +++ b/service/globalaccelerator/snapshot/api_op_DescribeListener.go.snap @@ -14,7 +14,6 @@ DescribeListener Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_ListAccelerators.go.snap b/service/globalaccelerator/snapshot/api_op_ListAccelerators.go.snap index d700214a8de..595b861cfff 100644 --- a/service/globalaccelerator/snapshot/api_op_ListAccelerators.go.snap +++ b/service/globalaccelerator/snapshot/api_op_ListAccelerators.go.snap @@ -13,7 +13,6 @@ ListAccelerators Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_ListByoipCidrs.go.snap b/service/globalaccelerator/snapshot/api_op_ListByoipCidrs.go.snap index 131a87561b3..63d334b4899 100644 --- a/service/globalaccelerator/snapshot/api_op_ListByoipCidrs.go.snap +++ b/service/globalaccelerator/snapshot/api_op_ListByoipCidrs.go.snap @@ -13,7 +13,6 @@ ListByoipCidrs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_ListCrossAccountAttachments.go.snap b/service/globalaccelerator/snapshot/api_op_ListCrossAccountAttachments.go.snap index ca7f1ed61b8..ff43008c509 100644 --- a/service/globalaccelerator/snapshot/api_op_ListCrossAccountAttachments.go.snap +++ b/service/globalaccelerator/snapshot/api_op_ListCrossAccountAttachments.go.snap @@ -13,7 +13,6 @@ ListCrossAccountAttachments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_ListCrossAccountResourceAccounts.go.snap b/service/globalaccelerator/snapshot/api_op_ListCrossAccountResourceAccounts.go.snap index 5ce67240ded..da759939a60 100644 --- a/service/globalaccelerator/snapshot/api_op_ListCrossAccountResourceAccounts.go.snap +++ b/service/globalaccelerator/snapshot/api_op_ListCrossAccountResourceAccounts.go.snap @@ -13,7 +13,6 @@ ListCrossAccountResourceAccounts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_ListCrossAccountResources.go.snap b/service/globalaccelerator/snapshot/api_op_ListCrossAccountResources.go.snap index bffa01b7dc4..363eb80af37 100644 --- a/service/globalaccelerator/snapshot/api_op_ListCrossAccountResources.go.snap +++ b/service/globalaccelerator/snapshot/api_op_ListCrossAccountResources.go.snap @@ -14,7 +14,6 @@ ListCrossAccountResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_ListCustomRoutingAccelerators.go.snap b/service/globalaccelerator/snapshot/api_op_ListCustomRoutingAccelerators.go.snap index 6a38bb2fa11..277e4715d20 100644 --- a/service/globalaccelerator/snapshot/api_op_ListCustomRoutingAccelerators.go.snap +++ b/service/globalaccelerator/snapshot/api_op_ListCustomRoutingAccelerators.go.snap @@ -13,7 +13,6 @@ ListCustomRoutingAccelerators Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_ListCustomRoutingEndpointGroups.go.snap b/service/globalaccelerator/snapshot/api_op_ListCustomRoutingEndpointGroups.go.snap index 71b15d80de8..b59d3a9b856 100644 --- a/service/globalaccelerator/snapshot/api_op_ListCustomRoutingEndpointGroups.go.snap +++ b/service/globalaccelerator/snapshot/api_op_ListCustomRoutingEndpointGroups.go.snap @@ -14,7 +14,6 @@ ListCustomRoutingEndpointGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_ListCustomRoutingListeners.go.snap b/service/globalaccelerator/snapshot/api_op_ListCustomRoutingListeners.go.snap index 39da5ea18aa..729ccb60822 100644 --- a/service/globalaccelerator/snapshot/api_op_ListCustomRoutingListeners.go.snap +++ b/service/globalaccelerator/snapshot/api_op_ListCustomRoutingListeners.go.snap @@ -14,7 +14,6 @@ ListCustomRoutingListeners Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_ListCustomRoutingPortMappings.go.snap b/service/globalaccelerator/snapshot/api_op_ListCustomRoutingPortMappings.go.snap index e1adbf8a56b..748a6bba640 100644 --- a/service/globalaccelerator/snapshot/api_op_ListCustomRoutingPortMappings.go.snap +++ b/service/globalaccelerator/snapshot/api_op_ListCustomRoutingPortMappings.go.snap @@ -14,7 +14,6 @@ ListCustomRoutingPortMappings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_ListCustomRoutingPortMappingsByDestination.go.snap b/service/globalaccelerator/snapshot/api_op_ListCustomRoutingPortMappingsByDestination.go.snap index ff55dc511f3..33374079aa4 100644 --- a/service/globalaccelerator/snapshot/api_op_ListCustomRoutingPortMappingsByDestination.go.snap +++ b/service/globalaccelerator/snapshot/api_op_ListCustomRoutingPortMappingsByDestination.go.snap @@ -14,7 +14,6 @@ ListCustomRoutingPortMappingsByDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_ListEndpointGroups.go.snap b/service/globalaccelerator/snapshot/api_op_ListEndpointGroups.go.snap index 99d295303ce..145c83be81d 100644 --- a/service/globalaccelerator/snapshot/api_op_ListEndpointGroups.go.snap +++ b/service/globalaccelerator/snapshot/api_op_ListEndpointGroups.go.snap @@ -14,7 +14,6 @@ ListEndpointGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_ListListeners.go.snap b/service/globalaccelerator/snapshot/api_op_ListListeners.go.snap index 354869a188a..2db9b2e373d 100644 --- a/service/globalaccelerator/snapshot/api_op_ListListeners.go.snap +++ b/service/globalaccelerator/snapshot/api_op_ListListeners.go.snap @@ -14,7 +14,6 @@ ListListeners Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_ListTagsForResource.go.snap b/service/globalaccelerator/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/globalaccelerator/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/globalaccelerator/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_ProvisionByoipCidr.go.snap b/service/globalaccelerator/snapshot/api_op_ProvisionByoipCidr.go.snap index c469aa2fd0a..f5829abaec3 100644 --- a/service/globalaccelerator/snapshot/api_op_ProvisionByoipCidr.go.snap +++ b/service/globalaccelerator/snapshot/api_op_ProvisionByoipCidr.go.snap @@ -14,7 +14,6 @@ ProvisionByoipCidr Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_RemoveCustomRoutingEndpoints.go.snap b/service/globalaccelerator/snapshot/api_op_RemoveCustomRoutingEndpoints.go.snap index 343b8d375e1..88abebba62c 100644 --- a/service/globalaccelerator/snapshot/api_op_RemoveCustomRoutingEndpoints.go.snap +++ b/service/globalaccelerator/snapshot/api_op_RemoveCustomRoutingEndpoints.go.snap @@ -14,7 +14,6 @@ RemoveCustomRoutingEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_RemoveEndpoints.go.snap b/service/globalaccelerator/snapshot/api_op_RemoveEndpoints.go.snap index 3a9d37faad1..b57c428cde8 100644 --- a/service/globalaccelerator/snapshot/api_op_RemoveEndpoints.go.snap +++ b/service/globalaccelerator/snapshot/api_op_RemoveEndpoints.go.snap @@ -14,7 +14,6 @@ RemoveEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_TagResource.go.snap b/service/globalaccelerator/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/globalaccelerator/snapshot/api_op_TagResource.go.snap +++ b/service/globalaccelerator/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_UntagResource.go.snap b/service/globalaccelerator/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/globalaccelerator/snapshot/api_op_UntagResource.go.snap +++ b/service/globalaccelerator/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_UpdateAccelerator.go.snap b/service/globalaccelerator/snapshot/api_op_UpdateAccelerator.go.snap index 18034598e97..b2e6cc3036b 100644 --- a/service/globalaccelerator/snapshot/api_op_UpdateAccelerator.go.snap +++ b/service/globalaccelerator/snapshot/api_op_UpdateAccelerator.go.snap @@ -14,7 +14,6 @@ UpdateAccelerator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_UpdateAcceleratorAttributes.go.snap b/service/globalaccelerator/snapshot/api_op_UpdateAcceleratorAttributes.go.snap index e58a55bd728..94e7eb5e2a5 100644 --- a/service/globalaccelerator/snapshot/api_op_UpdateAcceleratorAttributes.go.snap +++ b/service/globalaccelerator/snapshot/api_op_UpdateAcceleratorAttributes.go.snap @@ -14,7 +14,6 @@ UpdateAcceleratorAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_UpdateCrossAccountAttachment.go.snap b/service/globalaccelerator/snapshot/api_op_UpdateCrossAccountAttachment.go.snap index f45f3497d78..16eebd2f7c4 100644 --- a/service/globalaccelerator/snapshot/api_op_UpdateCrossAccountAttachment.go.snap +++ b/service/globalaccelerator/snapshot/api_op_UpdateCrossAccountAttachment.go.snap @@ -14,7 +14,6 @@ UpdateCrossAccountAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_UpdateCustomRoutingAccelerator.go.snap b/service/globalaccelerator/snapshot/api_op_UpdateCustomRoutingAccelerator.go.snap index 6bbeedecdb5..66042d23689 100644 --- a/service/globalaccelerator/snapshot/api_op_UpdateCustomRoutingAccelerator.go.snap +++ b/service/globalaccelerator/snapshot/api_op_UpdateCustomRoutingAccelerator.go.snap @@ -14,7 +14,6 @@ UpdateCustomRoutingAccelerator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_UpdateCustomRoutingAcceleratorAttributes.go.snap b/service/globalaccelerator/snapshot/api_op_UpdateCustomRoutingAcceleratorAttributes.go.snap index 187f9cf2761..b3dacd02414 100644 --- a/service/globalaccelerator/snapshot/api_op_UpdateCustomRoutingAcceleratorAttributes.go.snap +++ b/service/globalaccelerator/snapshot/api_op_UpdateCustomRoutingAcceleratorAttributes.go.snap @@ -14,7 +14,6 @@ UpdateCustomRoutingAcceleratorAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_UpdateCustomRoutingListener.go.snap b/service/globalaccelerator/snapshot/api_op_UpdateCustomRoutingListener.go.snap index 0b20d5db8c4..a53256ff5cc 100644 --- a/service/globalaccelerator/snapshot/api_op_UpdateCustomRoutingListener.go.snap +++ b/service/globalaccelerator/snapshot/api_op_UpdateCustomRoutingListener.go.snap @@ -14,7 +14,6 @@ UpdateCustomRoutingListener Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_UpdateEndpointGroup.go.snap b/service/globalaccelerator/snapshot/api_op_UpdateEndpointGroup.go.snap index 131479ce97a..d7eb6762c5b 100644 --- a/service/globalaccelerator/snapshot/api_op_UpdateEndpointGroup.go.snap +++ b/service/globalaccelerator/snapshot/api_op_UpdateEndpointGroup.go.snap @@ -14,7 +14,6 @@ UpdateEndpointGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_UpdateListener.go.snap b/service/globalaccelerator/snapshot/api_op_UpdateListener.go.snap index 9be2d8f092c..a25ea5365dc 100644 --- a/service/globalaccelerator/snapshot/api_op_UpdateListener.go.snap +++ b/service/globalaccelerator/snapshot/api_op_UpdateListener.go.snap @@ -14,7 +14,6 @@ UpdateListener Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/globalaccelerator/snapshot/api_op_WithdrawByoipCidr.go.snap b/service/globalaccelerator/snapshot/api_op_WithdrawByoipCidr.go.snap index 22a5b4b48d6..1bb0ff70fd7 100644 --- a/service/globalaccelerator/snapshot/api_op_WithdrawByoipCidr.go.snap +++ b/service/globalaccelerator/snapshot/api_op_WithdrawByoipCidr.go.snap @@ -14,7 +14,6 @@ WithdrawByoipCidr Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/api_client.go b/service/glue/api_client.go index 7a7c002544d..bd8a3ef0e95 100644 --- a/service/glue/api_client.go +++ b/service/glue/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/glue/api_op_BatchCreatePartition.go b/service/glue/api_op_BatchCreatePartition.go index 63095e29c8c..e7c952796db 100644 --- a/service/glue/api_op_BatchCreatePartition.go +++ b/service/glue/api_op_BatchCreatePartition.go @@ -126,9 +126,6 @@ func (c *Client) addOperationBatchCreatePartitionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchCreatePartitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_BatchDeleteConnection.go b/service/glue/api_op_BatchDeleteConnection.go index 1b56556325c..93a45100433 100644 --- a/service/glue/api_op_BatchDeleteConnection.go +++ b/service/glue/api_op_BatchDeleteConnection.go @@ -120,9 +120,6 @@ func (c *Client) addOperationBatchDeleteConnectionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDeleteConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_BatchDeletePartition.go b/service/glue/api_op_BatchDeletePartition.go index 9a386931b5e..9ab5b7737d2 100644 --- a/service/glue/api_op_BatchDeletePartition.go +++ b/service/glue/api_op_BatchDeletePartition.go @@ -126,9 +126,6 @@ func (c *Client) addOperationBatchDeletePartitionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDeletePartitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_BatchDeleteTable.go b/service/glue/api_op_BatchDeleteTable.go index 13c5703c1b7..b140596c9df 100644 --- a/service/glue/api_op_BatchDeleteTable.go +++ b/service/glue/api_op_BatchDeleteTable.go @@ -135,9 +135,6 @@ func (c *Client) addOperationBatchDeleteTableMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDeleteTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_BatchDeleteTableVersion.go b/service/glue/api_op_BatchDeleteTableVersion.go index a80b7d7b2b1..2125e58ba6d 100644 --- a/service/glue/api_op_BatchDeleteTableVersion.go +++ b/service/glue/api_op_BatchDeleteTableVersion.go @@ -129,9 +129,6 @@ func (c *Client) addOperationBatchDeleteTableVersionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDeleteTableVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_BatchGetBlueprints.go b/service/glue/api_op_BatchGetBlueprints.go index d18c5a6f949..788945cfc6a 100644 --- a/service/glue/api_op_BatchGetBlueprints.go +++ b/service/glue/api_op_BatchGetBlueprints.go @@ -122,9 +122,6 @@ func (c *Client) addOperationBatchGetBlueprintsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetBlueprintsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_BatchGetCrawlers.go b/service/glue/api_op_BatchGetCrawlers.go index e2f84111428..e6ddba0425d 100644 --- a/service/glue/api_op_BatchGetCrawlers.go +++ b/service/glue/api_op_BatchGetCrawlers.go @@ -119,9 +119,6 @@ func (c *Client) addOperationBatchGetCrawlersMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetCrawlersValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_BatchGetCustomEntityTypes.go b/service/glue/api_op_BatchGetCustomEntityTypes.go index 49a6e614b7b..80f71abeda7 100644 --- a/service/glue/api_op_BatchGetCustomEntityTypes.go +++ b/service/glue/api_op_BatchGetCustomEntityTypes.go @@ -116,9 +116,6 @@ func (c *Client) addOperationBatchGetCustomEntityTypesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetCustomEntityTypesValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_BatchGetDataQualityResult.go b/service/glue/api_op_BatchGetDataQualityResult.go index 869e8dc6e3c..93ffe7e7fb9 100644 --- a/service/glue/api_op_BatchGetDataQualityResult.go +++ b/service/glue/api_op_BatchGetDataQualityResult.go @@ -117,9 +117,6 @@ func (c *Client) addOperationBatchGetDataQualityResultMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetDataQualityResultValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_BatchGetDevEndpoints.go b/service/glue/api_op_BatchGetDevEndpoints.go index 5562333208e..843c88bebd5 100644 --- a/service/glue/api_op_BatchGetDevEndpoints.go +++ b/service/glue/api_op_BatchGetDevEndpoints.go @@ -120,9 +120,6 @@ func (c *Client) addOperationBatchGetDevEndpointsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetDevEndpointsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_BatchGetJobs.go b/service/glue/api_op_BatchGetJobs.go index 69d4e5c8538..7487bca1f86 100644 --- a/service/glue/api_op_BatchGetJobs.go +++ b/service/glue/api_op_BatchGetJobs.go @@ -119,9 +119,6 @@ func (c *Client) addOperationBatchGetJobsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_BatchGetPartition.go b/service/glue/api_op_BatchGetPartition.go index 30d4384e6d9..f403c6591a5 100644 --- a/service/glue/api_op_BatchGetPartition.go +++ b/service/glue/api_op_BatchGetPartition.go @@ -130,9 +130,6 @@ func (c *Client) addOperationBatchGetPartitionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetPartitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_BatchGetTableOptimizer.go b/service/glue/api_op_BatchGetTableOptimizer.go index 899f3784cbc..e365618a1d4 100644 --- a/service/glue/api_op_BatchGetTableOptimizer.go +++ b/service/glue/api_op_BatchGetTableOptimizer.go @@ -116,9 +116,6 @@ func (c *Client) addOperationBatchGetTableOptimizerMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetTableOptimizerValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_BatchGetTriggers.go b/service/glue/api_op_BatchGetTriggers.go index e8ffe112949..164a609a702 100644 --- a/service/glue/api_op_BatchGetTriggers.go +++ b/service/glue/api_op_BatchGetTriggers.go @@ -119,9 +119,6 @@ func (c *Client) addOperationBatchGetTriggersMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetTriggersValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_BatchGetWorkflows.go b/service/glue/api_op_BatchGetWorkflows.go index 347ba898554..92a67eed79d 100644 --- a/service/glue/api_op_BatchGetWorkflows.go +++ b/service/glue/api_op_BatchGetWorkflows.go @@ -123,9 +123,6 @@ func (c *Client) addOperationBatchGetWorkflowsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetWorkflowsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_BatchPutDataQualityStatisticAnnotation.go b/service/glue/api_op_BatchPutDataQualityStatisticAnnotation.go index 66c927dbe47..b60fd272fb2 100644 --- a/service/glue/api_op_BatchPutDataQualityStatisticAnnotation.go +++ b/service/glue/api_op_BatchPutDataQualityStatisticAnnotation.go @@ -115,9 +115,6 @@ func (c *Client) addOperationBatchPutDataQualityStatisticAnnotationMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchPutDataQualityStatisticAnnotationValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_BatchStopJobRun.go b/service/glue/api_op_BatchStopJobRun.go index 4cce9bf9c83..3e4a193941d 100644 --- a/service/glue/api_op_BatchStopJobRun.go +++ b/service/glue/api_op_BatchStopJobRun.go @@ -121,9 +121,6 @@ func (c *Client) addOperationBatchStopJobRunMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchStopJobRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_BatchUpdatePartition.go b/service/glue/api_op_BatchUpdatePartition.go index e7f1b6ec0d9..8e19c9ed775 100644 --- a/service/glue/api_op_BatchUpdatePartition.go +++ b/service/glue/api_op_BatchUpdatePartition.go @@ -127,9 +127,6 @@ func (c *Client) addOperationBatchUpdatePartitionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchUpdatePartitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CancelDataQualityRuleRecommendationRun.go b/service/glue/api_op_CancelDataQualityRuleRecommendationRun.go index 755db0ceaf9..d6ee2c15b7a 100644 --- a/service/glue/api_op_CancelDataQualityRuleRecommendationRun.go +++ b/service/glue/api_op_CancelDataQualityRuleRecommendationRun.go @@ -107,9 +107,6 @@ func (c *Client) addOperationCancelDataQualityRuleRecommendationRunMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelDataQualityRuleRecommendationRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CancelDataQualityRulesetEvaluationRun.go b/service/glue/api_op_CancelDataQualityRulesetEvaluationRun.go index 5abb5858ba7..2a7ccf80666 100644 --- a/service/glue/api_op_CancelDataQualityRulesetEvaluationRun.go +++ b/service/glue/api_op_CancelDataQualityRulesetEvaluationRun.go @@ -107,9 +107,6 @@ func (c *Client) addOperationCancelDataQualityRulesetEvaluationRunMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelDataQualityRulesetEvaluationRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CancelMLTaskRun.go b/service/glue/api_op_CancelMLTaskRun.go index 54ab5fb875a..149eb9c5fc6 100644 --- a/service/glue/api_op_CancelMLTaskRun.go +++ b/service/glue/api_op_CancelMLTaskRun.go @@ -126,9 +126,6 @@ func (c *Client) addOperationCancelMLTaskRunMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelMLTaskRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CancelStatement.go b/service/glue/api_op_CancelStatement.go index aa4ff4cf5a4..bf027a6d643 100644 --- a/service/glue/api_op_CancelStatement.go +++ b/service/glue/api_op_CancelStatement.go @@ -115,9 +115,6 @@ func (c *Client) addOperationCancelStatementMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelStatementValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CheckSchemaVersionValidity.go b/service/glue/api_op_CheckSchemaVersionValidity.go index 09671176c64..c7cbc5fb714 100644 --- a/service/glue/api_op_CheckSchemaVersionValidity.go +++ b/service/glue/api_op_CheckSchemaVersionValidity.go @@ -123,9 +123,6 @@ func (c *Client) addOperationCheckSchemaVersionValidityMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCheckSchemaVersionValidityValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateBlueprint.go b/service/glue/api_op_CreateBlueprint.go index 53975df559e..d11f62daadc 100644 --- a/service/glue/api_op_CreateBlueprint.go +++ b/service/glue/api_op_CreateBlueprint.go @@ -122,9 +122,6 @@ func (c *Client) addOperationCreateBlueprintMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBlueprintValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateCatalog.go b/service/glue/api_op_CreateCatalog.go index afd034a0569..24409c711df 100644 --- a/service/glue/api_op_CreateCatalog.go +++ b/service/glue/api_op_CreateCatalog.go @@ -118,9 +118,6 @@ func (c *Client) addOperationCreateCatalogMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCatalogValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateClassifier.go b/service/glue/api_op_CreateClassifier.go index 87e2a17f24f..75ff81abd2b 100644 --- a/service/glue/api_op_CreateClassifier.go +++ b/service/glue/api_op_CreateClassifier.go @@ -117,9 +117,6 @@ func (c *Client) addOperationCreateClassifierMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateClassifierValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateColumnStatisticsTaskSettings.go b/service/glue/api_op_CreateColumnStatisticsTaskSettings.go index 341a0d17537..d87391cd6e3 100644 --- a/service/glue/api_op_CreateColumnStatisticsTaskSettings.go +++ b/service/glue/api_op_CreateColumnStatisticsTaskSettings.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateColumnStatisticsTaskSettingsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateColumnStatisticsTaskSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateConnection.go b/service/glue/api_op_CreateConnection.go index 39a326f87a8..42e9d91d88a 100644 --- a/service/glue/api_op_CreateConnection.go +++ b/service/glue/api_op_CreateConnection.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCreateConnectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateCrawler.go b/service/glue/api_op_CreateCrawler.go index 89082deb19e..67ef4bb2a64 100644 --- a/service/glue/api_op_CreateCrawler.go +++ b/service/glue/api_op_CreateCrawler.go @@ -171,9 +171,6 @@ func (c *Client) addOperationCreateCrawlerMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCrawlerValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateCustomEntityType.go b/service/glue/api_op_CreateCustomEntityType.go index cbf612c8f2d..c5614f76f0b 100644 --- a/service/glue/api_op_CreateCustomEntityType.go +++ b/service/glue/api_op_CreateCustomEntityType.go @@ -133,9 +133,6 @@ func (c *Client) addOperationCreateCustomEntityTypeMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCustomEntityTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateDataQualityRuleset.go b/service/glue/api_op_CreateDataQualityRuleset.go index bb77808d7f9..e9d554f3e70 100644 --- a/service/glue/api_op_CreateDataQualityRuleset.go +++ b/service/glue/api_op_CreateDataQualityRuleset.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateDataQualityRulesetMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDataQualityRulesetValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateDatabase.go b/service/glue/api_op_CreateDatabase.go index 4d3d95d80f8..507990ea3d3 100644 --- a/service/glue/api_op_CreateDatabase.go +++ b/service/glue/api_op_CreateDatabase.go @@ -115,9 +115,6 @@ func (c *Client) addOperationCreateDatabaseMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDatabaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateDevEndpoint.go b/service/glue/api_op_CreateDevEndpoint.go index 3da5acc4b6e..f5ca7d4e10e 100644 --- a/service/glue/api_op_CreateDevEndpoint.go +++ b/service/glue/api_op_CreateDevEndpoint.go @@ -288,9 +288,6 @@ func (c *Client) addOperationCreateDevEndpointMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDevEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateIntegration.go b/service/glue/api_op_CreateIntegration.go index 401faa03e22..f100a730460 100644 --- a/service/glue/api_op_CreateIntegration.go +++ b/service/glue/api_op_CreateIntegration.go @@ -203,9 +203,6 @@ func (c *Client) addOperationCreateIntegrationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateIntegrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateIntegrationResourceProperty.go b/service/glue/api_op_CreateIntegrationResourceProperty.go index 87a3d5b6bb0..f1676759093 100644 --- a/service/glue/api_op_CreateIntegrationResourceProperty.go +++ b/service/glue/api_op_CreateIntegrationResourceProperty.go @@ -131,9 +131,6 @@ func (c *Client) addOperationCreateIntegrationResourcePropertyMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateIntegrationResourcePropertyValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateIntegrationTableProperties.go b/service/glue/api_op_CreateIntegrationTableProperties.go index 4074e65ce3c..4b4c1086c98 100644 --- a/service/glue/api_op_CreateIntegrationTableProperties.go +++ b/service/glue/api_op_CreateIntegrationTableProperties.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCreateIntegrationTablePropertiesMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateIntegrationTablePropertiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateJob.go b/service/glue/api_op_CreateJob.go index 7f6917a20d0..02d51b10fe9 100644 --- a/service/glue/api_op_CreateJob.go +++ b/service/glue/api_op_CreateJob.go @@ -340,9 +340,6 @@ func (c *Client) addOperationCreateJobMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateMLTransform.go b/service/glue/api_op_CreateMLTransform.go index 623955fca33..c337add765e 100644 --- a/service/glue/api_op_CreateMLTransform.go +++ b/service/glue/api_op_CreateMLTransform.go @@ -240,9 +240,6 @@ func (c *Client) addOperationCreateMLTransformMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateMLTransformValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreatePartition.go b/service/glue/api_op_CreatePartition.go index e40dbe769b0..9bda95de808 100644 --- a/service/glue/api_op_CreatePartition.go +++ b/service/glue/api_op_CreatePartition.go @@ -122,9 +122,6 @@ func (c *Client) addOperationCreatePartitionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePartitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreatePartitionIndex.go b/service/glue/api_op_CreatePartitionIndex.go index 4c6ec1465eb..9318b300cce 100644 --- a/service/glue/api_op_CreatePartitionIndex.go +++ b/service/glue/api_op_CreatePartitionIndex.go @@ -122,9 +122,6 @@ func (c *Client) addOperationCreatePartitionIndexMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePartitionIndexValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateRegistry.go b/service/glue/api_op_CreateRegistry.go index 28f8c5db0f4..149b7274592 100644 --- a/service/glue/api_op_CreateRegistry.go +++ b/service/glue/api_op_CreateRegistry.go @@ -129,9 +129,6 @@ func (c *Client) addOperationCreateRegistryMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRegistryValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateSchema.go b/service/glue/api_op_CreateSchema.go index 1a3f9e8d334..6b5d89914cf 100644 --- a/service/glue/api_op_CreateSchema.go +++ b/service/glue/api_op_CreateSchema.go @@ -231,9 +231,6 @@ func (c *Client) addOperationCreateSchemaMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSchemaValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateScript.go b/service/glue/api_op_CreateScript.go index a376c5942cd..d51b3ca4bb2 100644 --- a/service/glue/api_op_CreateScript.go +++ b/service/glue/api_op_CreateScript.go @@ -119,9 +119,6 @@ func (c *Client) addOperationCreateScriptMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateScriptValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateSecurityConfiguration.go b/service/glue/api_op_CreateSecurityConfiguration.go index 65c7aa168cb..2d038c50c55 100644 --- a/service/glue/api_op_CreateSecurityConfiguration.go +++ b/service/glue/api_op_CreateSecurityConfiguration.go @@ -126,9 +126,6 @@ func (c *Client) addOperationCreateSecurityConfigurationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSecurityConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateSession.go b/service/glue/api_op_CreateSession.go index 1afe26ebe44..13007510b81 100644 --- a/service/glue/api_op_CreateSession.go +++ b/service/glue/api_op_CreateSession.go @@ -196,9 +196,6 @@ func (c *Client) addOperationCreateSessionMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateTable.go b/service/glue/api_op_CreateTable.go index 40084e0dd19..f734c1c8911 100644 --- a/service/glue/api_op_CreateTable.go +++ b/service/glue/api_op_CreateTable.go @@ -127,9 +127,6 @@ func (c *Client) addOperationCreateTableMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateTableOptimizer.go b/service/glue/api_op_CreateTableOptimizer.go index 797f1bd4326..9b297bb4685 100644 --- a/service/glue/api_op_CreateTableOptimizer.go +++ b/service/glue/api_op_CreateTableOptimizer.go @@ -129,9 +129,6 @@ func (c *Client) addOperationCreateTableOptimizerMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTableOptimizerValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateTrigger.go b/service/glue/api_op_CreateTrigger.go index 4327543f68f..ad99001e5b4 100644 --- a/service/glue/api_op_CreateTrigger.go +++ b/service/glue/api_op_CreateTrigger.go @@ -159,9 +159,6 @@ func (c *Client) addOperationCreateTriggerMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTriggerValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateUsageProfile.go b/service/glue/api_op_CreateUsageProfile.go index 454f26e28cb..5c14d81f2fc 100644 --- a/service/glue/api_op_CreateUsageProfile.go +++ b/service/glue/api_op_CreateUsageProfile.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCreateUsageProfileMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateUsageProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateUserDefinedFunction.go b/service/glue/api_op_CreateUserDefinedFunction.go index 5b0ee2bfcbe..fd1da67081a 100644 --- a/service/glue/api_op_CreateUserDefinedFunction.go +++ b/service/glue/api_op_CreateUserDefinedFunction.go @@ -117,9 +117,6 @@ func (c *Client) addOperationCreateUserDefinedFunctionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateUserDefinedFunctionValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_CreateWorkflow.go b/service/glue/api_op_CreateWorkflow.go index aff37c34576..0522a14506b 100644 --- a/service/glue/api_op_CreateWorkflow.go +++ b/service/glue/api_op_CreateWorkflow.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateWorkflowMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateWorkflowValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteBlueprint.go b/service/glue/api_op_DeleteBlueprint.go index 081e7f416c0..56131abbd5d 100644 --- a/service/glue/api_op_DeleteBlueprint.go +++ b/service/glue/api_op_DeleteBlueprint.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteBlueprintMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBlueprintValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteCatalog.go b/service/glue/api_op_DeleteCatalog.go index 02eaf708bec..404856e9224 100644 --- a/service/glue/api_op_DeleteCatalog.go +++ b/service/glue/api_op_DeleteCatalog.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteCatalogMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCatalogValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteClassifier.go b/service/glue/api_op_DeleteClassifier.go index 791cb582045..4fb3bb4490e 100644 --- a/service/glue/api_op_DeleteClassifier.go +++ b/service/glue/api_op_DeleteClassifier.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteClassifierMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteClassifierValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteColumnStatisticsForPartition.go b/service/glue/api_op_DeleteColumnStatisticsForPartition.go index 8b309723d2b..8bdc77581e5 100644 --- a/service/glue/api_op_DeleteColumnStatisticsForPartition.go +++ b/service/glue/api_op_DeleteColumnStatisticsForPartition.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDeleteColumnStatisticsForPartitionMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteColumnStatisticsForPartitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteColumnStatisticsForTable.go b/service/glue/api_op_DeleteColumnStatisticsForTable.go index 9a19804b9e9..c63780a8576 100644 --- a/service/glue/api_op_DeleteColumnStatisticsForTable.go +++ b/service/glue/api_op_DeleteColumnStatisticsForTable.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteColumnStatisticsForTableMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteColumnStatisticsForTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteColumnStatisticsTaskSettings.go b/service/glue/api_op_DeleteColumnStatisticsTaskSettings.go index 424af09ff2b..7919db8e7b6 100644 --- a/service/glue/api_op_DeleteColumnStatisticsTaskSettings.go +++ b/service/glue/api_op_DeleteColumnStatisticsTaskSettings.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteColumnStatisticsTaskSettingsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteColumnStatisticsTaskSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteConnection.go b/service/glue/api_op_DeleteConnection.go index f454e281be8..9ad355fe18c 100644 --- a/service/glue/api_op_DeleteConnection.go +++ b/service/glue/api_op_DeleteConnection.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteConnectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteCrawler.go b/service/glue/api_op_DeleteCrawler.go index 3e285be73e4..85a95d7a1c3 100644 --- a/service/glue/api_op_DeleteCrawler.go +++ b/service/glue/api_op_DeleteCrawler.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteCrawlerMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCrawlerValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteCustomEntityType.go b/service/glue/api_op_DeleteCustomEntityType.go index f0845221ec4..af17d326486 100644 --- a/service/glue/api_op_DeleteCustomEntityType.go +++ b/service/glue/api_op_DeleteCustomEntityType.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteCustomEntityTypeMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCustomEntityTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteDataQualityRuleset.go b/service/glue/api_op_DeleteDataQualityRuleset.go index 90cf1d46c26..5ce76c6bca5 100644 --- a/service/glue/api_op_DeleteDataQualityRuleset.go +++ b/service/glue/api_op_DeleteDataQualityRuleset.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteDataQualityRulesetMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDataQualityRulesetValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteDatabase.go b/service/glue/api_op_DeleteDatabase.go index 37cdedf82c7..164455b84b0 100644 --- a/service/glue/api_op_DeleteDatabase.go +++ b/service/glue/api_op_DeleteDatabase.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteDatabaseMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDatabaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteDevEndpoint.go b/service/glue/api_op_DeleteDevEndpoint.go index c7d3ab93874..9bfebfc88a7 100644 --- a/service/glue/api_op_DeleteDevEndpoint.go +++ b/service/glue/api_op_DeleteDevEndpoint.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteDevEndpointMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDevEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteIntegration.go b/service/glue/api_op_DeleteIntegration.go index cb58b434416..91dca03a8be 100644 --- a/service/glue/api_op_DeleteIntegration.go +++ b/service/glue/api_op_DeleteIntegration.go @@ -175,9 +175,6 @@ func (c *Client) addOperationDeleteIntegrationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIntegrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteIntegrationTableProperties.go b/service/glue/api_op_DeleteIntegrationTableProperties.go index 655b5d0404f..5f7f49c9b1c 100644 --- a/service/glue/api_op_DeleteIntegrationTableProperties.go +++ b/service/glue/api_op_DeleteIntegrationTableProperties.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteIntegrationTablePropertiesMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIntegrationTablePropertiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteJob.go b/service/glue/api_op_DeleteJob.go index 897afc5c689..33f0fb584db 100644 --- a/service/glue/api_op_DeleteJob.go +++ b/service/glue/api_op_DeleteJob.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteJobMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteMLTransform.go b/service/glue/api_op_DeleteMLTransform.go index f10695ec512..59a0e6b3f56 100644 --- a/service/glue/api_op_DeleteMLTransform.go +++ b/service/glue/api_op_DeleteMLTransform.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteMLTransformMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMLTransformValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeletePartition.go b/service/glue/api_op_DeletePartition.go index 212ab4f0c31..e3865122c1b 100644 --- a/service/glue/api_op_DeletePartition.go +++ b/service/glue/api_op_DeletePartition.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeletePartitionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePartitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeletePartitionIndex.go b/service/glue/api_op_DeletePartitionIndex.go index a3ac41c2586..34e55faeedf 100644 --- a/service/glue/api_op_DeletePartitionIndex.go +++ b/service/glue/api_op_DeletePartitionIndex.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeletePartitionIndexMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePartitionIndexValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteRegistry.go b/service/glue/api_op_DeleteRegistry.go index 6dbda48ab4d..b0b1486c131 100644 --- a/service/glue/api_op_DeleteRegistry.go +++ b/service/glue/api_op_DeleteRegistry.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteRegistryMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRegistryValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteResourcePolicy.go b/service/glue/api_op_DeleteResourcePolicy.go index e012d85d3d2..3ae111a7874 100644 --- a/service/glue/api_op_DeleteResourcePolicy.go +++ b/service/glue/api_op_DeleteResourcePolicy.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourcePolicy(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_DeleteSchema.go b/service/glue/api_op_DeleteSchema.go index 1a0d49333f0..3ab44a056c6 100644 --- a/service/glue/api_op_DeleteSchema.go +++ b/service/glue/api_op_DeleteSchema.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteSchemaMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSchemaValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteSchemaVersions.go b/service/glue/api_op_DeleteSchemaVersions.go index 015666ad590..d45f6ea331d 100644 --- a/service/glue/api_op_DeleteSchemaVersions.go +++ b/service/glue/api_op_DeleteSchemaVersions.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDeleteSchemaVersionsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSchemaVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteSecurityConfiguration.go b/service/glue/api_op_DeleteSecurityConfiguration.go index b2745511469..28072260e78 100644 --- a/service/glue/api_op_DeleteSecurityConfiguration.go +++ b/service/glue/api_op_DeleteSecurityConfiguration.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteSecurityConfigurationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSecurityConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteSession.go b/service/glue/api_op_DeleteSession.go index 71b2012b1dc..b5c9a9edbfb 100644 --- a/service/glue/api_op_DeleteSession.go +++ b/service/glue/api_op_DeleteSession.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteSessionMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteTable.go b/service/glue/api_op_DeleteTable.go index d1f53674b67..f1c215c68af 100644 --- a/service/glue/api_op_DeleteTable.go +++ b/service/glue/api_op_DeleteTable.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDeleteTableMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteTableOptimizer.go b/service/glue/api_op_DeleteTableOptimizer.go index a25b451a0e0..c73cb77dd0f 100644 --- a/service/glue/api_op_DeleteTableOptimizer.go +++ b/service/glue/api_op_DeleteTableOptimizer.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteTableOptimizerMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTableOptimizerValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteTableVersion.go b/service/glue/api_op_DeleteTableVersion.go index f2e30aeeda9..b8f1763d988 100644 --- a/service/glue/api_op_DeleteTableVersion.go +++ b/service/glue/api_op_DeleteTableVersion.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteTableVersionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTableVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteTrigger.go b/service/glue/api_op_DeleteTrigger.go index 1a856f8b3af..0e1314d3dd8 100644 --- a/service/glue/api_op_DeleteTrigger.go +++ b/service/glue/api_op_DeleteTrigger.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteTriggerMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTriggerValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteUsageProfile.go b/service/glue/api_op_DeleteUsageProfile.go index 9c01899c988..1978864f777 100644 --- a/service/glue/api_op_DeleteUsageProfile.go +++ b/service/glue/api_op_DeleteUsageProfile.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteUsageProfileMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUsageProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteUserDefinedFunction.go b/service/glue/api_op_DeleteUserDefinedFunction.go index 0fd0311d151..2b83d2fa0e1 100644 --- a/service/glue/api_op_DeleteUserDefinedFunction.go +++ b/service/glue/api_op_DeleteUserDefinedFunction.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteUserDefinedFunctionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUserDefinedFunctionValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DeleteWorkflow.go b/service/glue/api_op_DeleteWorkflow.go index 13cae169a76..663d477f2a7 100644 --- a/service/glue/api_op_DeleteWorkflow.go +++ b/service/glue/api_op_DeleteWorkflow.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteWorkflowMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWorkflowValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DescribeConnectionType.go b/service/glue/api_op_DescribeConnectionType.go index 736d4a55c62..42ddaddfc95 100644 --- a/service/glue/api_op_DescribeConnectionType.go +++ b/service/glue/api_op_DescribeConnectionType.go @@ -148,9 +148,6 @@ func (c *Client) addOperationDescribeConnectionTypeMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeConnectionTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DescribeEntity.go b/service/glue/api_op_DescribeEntity.go index 6f92b5f06e5..662cbf945a3 100644 --- a/service/glue/api_op_DescribeEntity.go +++ b/service/glue/api_op_DescribeEntity.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDescribeEntityMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEntityValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_DescribeInboundIntegrations.go b/service/glue/api_op_DescribeInboundIntegrations.go index abb7192f9c5..3d619aecf79 100644 --- a/service/glue/api_op_DescribeInboundIntegrations.go +++ b/service/glue/api_op_DescribeInboundIntegrations.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeInboundIntegrationsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInboundIntegrations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_DescribeIntegrations.go b/service/glue/api_op_DescribeIntegrations.go index 0364b7a8e82..2a68c2b5e4d 100644 --- a/service/glue/api_op_DescribeIntegrations.go +++ b/service/glue/api_op_DescribeIntegrations.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeIntegrationsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIntegrations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_GetBlueprint.go b/service/glue/api_op_GetBlueprint.go index 55398de1baf..ca3a3bca305 100644 --- a/service/glue/api_op_GetBlueprint.go +++ b/service/glue/api_op_GetBlueprint.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetBlueprintMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBlueprintValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetBlueprintRun.go b/service/glue/api_op_GetBlueprintRun.go index 42a3e36b259..7a34ba9abca 100644 --- a/service/glue/api_op_GetBlueprintRun.go +++ b/service/glue/api_op_GetBlueprintRun.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetBlueprintRunMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBlueprintRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetBlueprintRuns.go b/service/glue/api_op_GetBlueprintRuns.go index ef8e2900c0d..8e3f5a12e4f 100644 --- a/service/glue/api_op_GetBlueprintRuns.go +++ b/service/glue/api_op_GetBlueprintRuns.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetBlueprintRunsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBlueprintRunsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetCatalog.go b/service/glue/api_op_GetCatalog.go index baa31a7baaa..6d59e33652f 100644 --- a/service/glue/api_op_GetCatalog.go +++ b/service/glue/api_op_GetCatalog.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetCatalogMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCatalogValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetCatalogImportStatus.go b/service/glue/api_op_GetCatalogImportStatus.go index 43ef2a7c940..5ed39c9ccd4 100644 --- a/service/glue/api_op_GetCatalogImportStatus.go +++ b/service/glue/api_op_GetCatalogImportStatus.go @@ -111,9 +111,6 @@ func (c *Client) addOperationGetCatalogImportStatusMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCatalogImportStatus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_GetCatalogs.go b/service/glue/api_op_GetCatalogs.go index 8ca8118a091..6e11a047bb4 100644 --- a/service/glue/api_op_GetCatalogs.go +++ b/service/glue/api_op_GetCatalogs.go @@ -139,9 +139,6 @@ func (c *Client) addOperationGetCatalogsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCatalogs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_GetClassifier.go b/service/glue/api_op_GetClassifier.go index 0615da56733..fdc7b55e79e 100644 --- a/service/glue/api_op_GetClassifier.go +++ b/service/glue/api_op_GetClassifier.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetClassifierMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetClassifierValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetClassifiers.go b/service/glue/api_op_GetClassifiers.go index 4fe785338c7..eb70a7c36bb 100644 --- a/service/glue/api_op_GetClassifiers.go +++ b/service/glue/api_op_GetClassifiers.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetClassifiersMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetClassifiers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_GetColumnStatisticsForPartition.go b/service/glue/api_op_GetColumnStatisticsForPartition.go index 9d522ed2ab3..ee91d0ec4c7 100644 --- a/service/glue/api_op_GetColumnStatisticsForPartition.go +++ b/service/glue/api_op_GetColumnStatisticsForPartition.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGetColumnStatisticsForPartitionMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetColumnStatisticsForPartitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetColumnStatisticsForTable.go b/service/glue/api_op_GetColumnStatisticsForTable.go index 752f2ca7538..638979b0e50 100644 --- a/service/glue/api_op_GetColumnStatisticsForTable.go +++ b/service/glue/api_op_GetColumnStatisticsForTable.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetColumnStatisticsForTableMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetColumnStatisticsForTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetColumnStatisticsTaskRun.go b/service/glue/api_op_GetColumnStatisticsTaskRun.go index 26cefd46e33..1465d5c6519 100644 --- a/service/glue/api_op_GetColumnStatisticsTaskRun.go +++ b/service/glue/api_op_GetColumnStatisticsTaskRun.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetColumnStatisticsTaskRunMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetColumnStatisticsTaskRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetColumnStatisticsTaskRuns.go b/service/glue/api_op_GetColumnStatisticsTaskRuns.go index 219f722f786..a28bcd0d0a5 100644 --- a/service/glue/api_op_GetColumnStatisticsTaskRuns.go +++ b/service/glue/api_op_GetColumnStatisticsTaskRuns.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetColumnStatisticsTaskRunsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetColumnStatisticsTaskRunsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetColumnStatisticsTaskSettings.go b/service/glue/api_op_GetColumnStatisticsTaskSettings.go index eeecc09b92b..93e4492c60d 100644 --- a/service/glue/api_op_GetColumnStatisticsTaskSettings.go +++ b/service/glue/api_op_GetColumnStatisticsTaskSettings.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetColumnStatisticsTaskSettingsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetColumnStatisticsTaskSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetConnection.go b/service/glue/api_op_GetConnection.go index 8a8419af09a..d7f162e1818 100644 --- a/service/glue/api_op_GetConnection.go +++ b/service/glue/api_op_GetConnection.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetConnectionMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetConnections.go b/service/glue/api_op_GetConnections.go index 4e5e73bf683..ebbeb6dd9a4 100644 --- a/service/glue/api_op_GetConnections.go +++ b/service/glue/api_op_GetConnections.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetConnectionsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConnections(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_GetCrawler.go b/service/glue/api_op_GetCrawler.go index 2c480afc8a0..da241c6612d 100644 --- a/service/glue/api_op_GetCrawler.go +++ b/service/glue/api_op_GetCrawler.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetCrawlerMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCrawlerValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetCrawlerMetrics.go b/service/glue/api_op_GetCrawlerMetrics.go index 57ca9045cd3..5d5a75144d8 100644 --- a/service/glue/api_op_GetCrawlerMetrics.go +++ b/service/glue/api_op_GetCrawlerMetrics.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetCrawlerMetricsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCrawlerMetrics(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_GetCrawlers.go b/service/glue/api_op_GetCrawlers.go index f10c165fc6d..7db0f00b045 100644 --- a/service/glue/api_op_GetCrawlers.go +++ b/service/glue/api_op_GetCrawlers.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetCrawlersMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCrawlers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_GetCustomEntityType.go b/service/glue/api_op_GetCustomEntityType.go index 95a3be5e213..4f15a6d03bb 100644 --- a/service/glue/api_op_GetCustomEntityType.go +++ b/service/glue/api_op_GetCustomEntityType.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetCustomEntityTypeMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCustomEntityTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetDataCatalogEncryptionSettings.go b/service/glue/api_op_GetDataCatalogEncryptionSettings.go index bba58f63118..3e77b2dd2fa 100644 --- a/service/glue/api_op_GetDataCatalogEncryptionSettings.go +++ b/service/glue/api_op_GetDataCatalogEncryptionSettings.go @@ -111,9 +111,6 @@ func (c *Client) addOperationGetDataCatalogEncryptionSettingsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDataCatalogEncryptionSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_GetDataQualityModel.go b/service/glue/api_op_GetDataQualityModel.go index b38658b499d..95f2c1c8c32 100644 --- a/service/glue/api_op_GetDataQualityModel.go +++ b/service/glue/api_op_GetDataQualityModel.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetDataQualityModelMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataQualityModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetDataQualityModelResult.go b/service/glue/api_op_GetDataQualityModelResult.go index fbcb6af6d62..992ae792dd3 100644 --- a/service/glue/api_op_GetDataQualityModelResult.go +++ b/service/glue/api_op_GetDataQualityModelResult.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetDataQualityModelResultMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataQualityModelResultValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetDataQualityResult.go b/service/glue/api_op_GetDataQualityResult.go index d183b8913b1..06661dc97ab 100644 --- a/service/glue/api_op_GetDataQualityResult.go +++ b/service/glue/api_op_GetDataQualityResult.go @@ -157,9 +157,6 @@ func (c *Client) addOperationGetDataQualityResultMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataQualityResultValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetDataQualityRuleRecommendationRun.go b/service/glue/api_op_GetDataQualityRuleRecommendationRun.go index b433d13a75c..3e117b5ba97 100644 --- a/service/glue/api_op_GetDataQualityRuleRecommendationRun.go +++ b/service/glue/api_op_GetDataQualityRuleRecommendationRun.go @@ -158,9 +158,6 @@ func (c *Client) addOperationGetDataQualityRuleRecommendationRunMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataQualityRuleRecommendationRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetDataQualityRuleset.go b/service/glue/api_op_GetDataQualityRuleset.go index a54ca7c3e36..4aa8e32d218 100644 --- a/service/glue/api_op_GetDataQualityRuleset.go +++ b/service/glue/api_op_GetDataQualityRuleset.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGetDataQualityRulesetMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataQualityRulesetValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetDataQualityRulesetEvaluationRun.go b/service/glue/api_op_GetDataQualityRulesetEvaluationRun.go index 1855db49831..57059188fe6 100644 --- a/service/glue/api_op_GetDataQualityRulesetEvaluationRun.go +++ b/service/glue/api_op_GetDataQualityRulesetEvaluationRun.go @@ -160,9 +160,6 @@ func (c *Client) addOperationGetDataQualityRulesetEvaluationRunMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataQualityRulesetEvaluationRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetDatabase.go b/service/glue/api_op_GetDatabase.go index aa2fc5c6b47..2aae08aa649 100644 --- a/service/glue/api_op_GetDatabase.go +++ b/service/glue/api_op_GetDatabase.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetDatabaseMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDatabaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetDatabases.go b/service/glue/api_op_GetDatabases.go index 95d43f55460..5ecf5c3a5e6 100644 --- a/service/glue/api_op_GetDatabases.go +++ b/service/glue/api_op_GetDatabases.go @@ -139,9 +139,6 @@ func (c *Client) addOperationGetDatabasesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDatabases(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_GetDataflowGraph.go b/service/glue/api_op_GetDataflowGraph.go index e76a3def549..30ded29a26e 100644 --- a/service/glue/api_op_GetDataflowGraph.go +++ b/service/glue/api_op_GetDataflowGraph.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetDataflowGraphMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDataflowGraph(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_GetDevEndpoint.go b/service/glue/api_op_GetDevEndpoint.go index e73454ae935..e050d42877a 100644 --- a/service/glue/api_op_GetDevEndpoint.go +++ b/service/glue/api_op_GetDevEndpoint.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetDevEndpointMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDevEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetDevEndpoints.go b/service/glue/api_op_GetDevEndpoints.go index 94e8f4ed916..21365446e51 100644 --- a/service/glue/api_op_GetDevEndpoints.go +++ b/service/glue/api_op_GetDevEndpoints.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetDevEndpointsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDevEndpoints(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_GetEntityRecords.go b/service/glue/api_op_GetEntityRecords.go index 45b8ed03185..0b15863672f 100644 --- a/service/glue/api_op_GetEntityRecords.go +++ b/service/glue/api_op_GetEntityRecords.go @@ -154,9 +154,6 @@ func (c *Client) addOperationGetEntityRecordsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEntityRecordsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetIntegrationResourceProperty.go b/service/glue/api_op_GetIntegrationResourceProperty.go index 650544a0b83..c3fb6a2c0cb 100644 --- a/service/glue/api_op_GetIntegrationResourceProperty.go +++ b/service/glue/api_op_GetIntegrationResourceProperty.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetIntegrationResourcePropertyMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIntegrationResourcePropertyValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetIntegrationTableProperties.go b/service/glue/api_op_GetIntegrationTableProperties.go index 273bc8ba9f6..b91f833f023 100644 --- a/service/glue/api_op_GetIntegrationTableProperties.go +++ b/service/glue/api_op_GetIntegrationTableProperties.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetIntegrationTablePropertiesMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIntegrationTablePropertiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetJob.go b/service/glue/api_op_GetJob.go index f9940f6e29a..c2a21acc52e 100644 --- a/service/glue/api_op_GetJob.go +++ b/service/glue/api_op_GetJob.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetJobMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetJobBookmark.go b/service/glue/api_op_GetJobBookmark.go index f09012c48a9..5f6d69e2124 100644 --- a/service/glue/api_op_GetJobBookmark.go +++ b/service/glue/api_op_GetJobBookmark.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetJobBookmarkMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetJobBookmarkValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetJobRun.go b/service/glue/api_op_GetJobRun.go index f974df55ec1..6127824a6e5 100644 --- a/service/glue/api_op_GetJobRun.go +++ b/service/glue/api_op_GetJobRun.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetJobRunMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetJobRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetJobRuns.go b/service/glue/api_op_GetJobRuns.go index 1daa94116d9..d07da60430f 100644 --- a/service/glue/api_op_GetJobRuns.go +++ b/service/glue/api_op_GetJobRuns.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetJobRunsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetJobRunsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetJobs.go b/service/glue/api_op_GetJobs.go index 840fa85e85d..f2e098c3662 100644 --- a/service/glue/api_op_GetJobs.go +++ b/service/glue/api_op_GetJobs.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetJobsMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_GetMLTaskRun.go b/service/glue/api_op_GetMLTaskRun.go index 80bfd262f19..fbac4c668d9 100644 --- a/service/glue/api_op_GetMLTaskRun.go +++ b/service/glue/api_op_GetMLTaskRun.go @@ -149,9 +149,6 @@ func (c *Client) addOperationGetMLTaskRunMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMLTaskRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetMLTaskRuns.go b/service/glue/api_op_GetMLTaskRuns.go index c22e144c469..f2edc65eaf7 100644 --- a/service/glue/api_op_GetMLTaskRuns.go +++ b/service/glue/api_op_GetMLTaskRuns.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetMLTaskRunsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMLTaskRunsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetMLTransform.go b/service/glue/api_op_GetMLTransform.go index 24c79a6c128..eacc76d7e95 100644 --- a/service/glue/api_op_GetMLTransform.go +++ b/service/glue/api_op_GetMLTransform.go @@ -205,9 +205,6 @@ func (c *Client) addOperationGetMLTransformMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMLTransformValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetMLTransforms.go b/service/glue/api_op_GetMLTransforms.go index 5e1cf6ae3bc..7e04b0d29b0 100644 --- a/service/glue/api_op_GetMLTransforms.go +++ b/service/glue/api_op_GetMLTransforms.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetMLTransformsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMLTransformsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetMapping.go b/service/glue/api_op_GetMapping.go index e7e46b20e90..f90e3aa4eb7 100644 --- a/service/glue/api_op_GetMapping.go +++ b/service/glue/api_op_GetMapping.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetMappingMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMappingValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetPartition.go b/service/glue/api_op_GetPartition.go index 7766ffea586..ad60211880e 100644 --- a/service/glue/api_op_GetPartition.go +++ b/service/glue/api_op_GetPartition.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetPartitionMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPartitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetPartitionIndexes.go b/service/glue/api_op_GetPartitionIndexes.go index b416408b2e1..979d58ba59a 100644 --- a/service/glue/api_op_GetPartitionIndexes.go +++ b/service/glue/api_op_GetPartitionIndexes.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetPartitionIndexesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPartitionIndexesValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetPartitions.go b/service/glue/api_op_GetPartitions.go index 245fd31102b..f12a536177b 100644 --- a/service/glue/api_op_GetPartitions.go +++ b/service/glue/api_op_GetPartitions.go @@ -223,9 +223,6 @@ func (c *Client) addOperationGetPartitionsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPartitionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetPlan.go b/service/glue/api_op_GetPlan.go index f8496fc63b1..64dbaef7f7d 100644 --- a/service/glue/api_op_GetPlan.go +++ b/service/glue/api_op_GetPlan.go @@ -140,9 +140,6 @@ func (c *Client) addOperationGetPlanMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetRegistry.go b/service/glue/api_op_GetRegistry.go index 65be71a02d1..de2b5c42548 100644 --- a/service/glue/api_op_GetRegistry.go +++ b/service/glue/api_op_GetRegistry.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetRegistryMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRegistryValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetResourcePolicies.go b/service/glue/api_op_GetResourcePolicies.go index cdd155bfffb..2363a3b5726 100644 --- a/service/glue/api_op_GetResourcePolicies.go +++ b/service/glue/api_op_GetResourcePolicies.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetResourcePoliciesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourcePolicies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_GetResourcePolicy.go b/service/glue/api_op_GetResourcePolicy.go index 7cdc08910bc..0751aa60881 100644 --- a/service/glue/api_op_GetResourcePolicy.go +++ b/service/glue/api_op_GetResourcePolicy.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourcePolicy(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_GetSchema.go b/service/glue/api_op_GetSchema.go index 76571b791c7..51e0a3b7324 100644 --- a/service/glue/api_op_GetSchema.go +++ b/service/glue/api_op_GetSchema.go @@ -157,9 +157,6 @@ func (c *Client) addOperationGetSchemaMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSchemaValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetSchemaByDefinition.go b/service/glue/api_op_GetSchemaByDefinition.go index 55a59b836b9..36ddb76a1c3 100644 --- a/service/glue/api_op_GetSchemaByDefinition.go +++ b/service/glue/api_op_GetSchemaByDefinition.go @@ -142,9 +142,6 @@ func (c *Client) addOperationGetSchemaByDefinitionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSchemaByDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetSchemaVersion.go b/service/glue/api_op_GetSchemaVersion.go index d2ec777323d..d4f0ef00f13 100644 --- a/service/glue/api_op_GetSchemaVersion.go +++ b/service/glue/api_op_GetSchemaVersion.go @@ -145,9 +145,6 @@ func (c *Client) addOperationGetSchemaVersionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSchemaVersion(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_GetSchemaVersionsDiff.go b/service/glue/api_op_GetSchemaVersionsDiff.go index d4e913fcd4a..7dd93e77f93 100644 --- a/service/glue/api_op_GetSchemaVersionsDiff.go +++ b/service/glue/api_op_GetSchemaVersionsDiff.go @@ -138,9 +138,6 @@ func (c *Client) addOperationGetSchemaVersionsDiffMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSchemaVersionsDiffValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetSecurityConfiguration.go b/service/glue/api_op_GetSecurityConfiguration.go index b82f47b8003..f488fa58c09 100644 --- a/service/glue/api_op_GetSecurityConfiguration.go +++ b/service/glue/api_op_GetSecurityConfiguration.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetSecurityConfigurationMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSecurityConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetSecurityConfigurations.go b/service/glue/api_op_GetSecurityConfigurations.go index de2defa23ac..69935a275f7 100644 --- a/service/glue/api_op_GetSecurityConfigurations.go +++ b/service/glue/api_op_GetSecurityConfigurations.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetSecurityConfigurationsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSecurityConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_GetSession.go b/service/glue/api_op_GetSession.go index de8c33e1ab6..d6867f412ac 100644 --- a/service/glue/api_op_GetSession.go +++ b/service/glue/api_op_GetSession.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetSessionMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetStatement.go b/service/glue/api_op_GetStatement.go index b3da6f4ce1c..6d1376e1422 100644 --- a/service/glue/api_op_GetStatement.go +++ b/service/glue/api_op_GetStatement.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetStatementMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetStatementValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetTable.go b/service/glue/api_op_GetTable.go index 164c1f00b37..4ff42d943f3 100644 --- a/service/glue/api_op_GetTable.go +++ b/service/glue/api_op_GetTable.go @@ -136,9 +136,6 @@ func (c *Client) addOperationGetTableMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetTableOptimizer.go b/service/glue/api_op_GetTableOptimizer.go index e79a1ab044b..17c1abd33bd 100644 --- a/service/glue/api_op_GetTableOptimizer.go +++ b/service/glue/api_op_GetTableOptimizer.go @@ -136,9 +136,6 @@ func (c *Client) addOperationGetTableOptimizerMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTableOptimizerValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetTableVersion.go b/service/glue/api_op_GetTableVersion.go index 52091e569ea..836dcd0baf4 100644 --- a/service/glue/api_op_GetTableVersion.go +++ b/service/glue/api_op_GetTableVersion.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetTableVersionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTableVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetTableVersions.go b/service/glue/api_op_GetTableVersions.go index 5aebf0438c0..496358a3371 100644 --- a/service/glue/api_op_GetTableVersions.go +++ b/service/glue/api_op_GetTableVersions.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetTableVersionsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTableVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetTables.go b/service/glue/api_op_GetTables.go index 384087a08db..bedc3286324 100644 --- a/service/glue/api_op_GetTables.go +++ b/service/glue/api_op_GetTables.go @@ -153,9 +153,6 @@ func (c *Client) addOperationGetTablesMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTablesValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetTags.go b/service/glue/api_op_GetTags.go index f3842d01944..b8f6ac0fa5e 100644 --- a/service/glue/api_op_GetTags.go +++ b/service/glue/api_op_GetTags.go @@ -111,9 +111,6 @@ func (c *Client) addOperationGetTagsMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetTrigger.go b/service/glue/api_op_GetTrigger.go index 230e84863a7..5e381890104 100644 --- a/service/glue/api_op_GetTrigger.go +++ b/service/glue/api_op_GetTrigger.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetTriggerMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTriggerValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetTriggers.go b/service/glue/api_op_GetTriggers.go index 0150a423d07..57a8ed86e55 100644 --- a/service/glue/api_op_GetTriggers.go +++ b/service/glue/api_op_GetTriggers.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetTriggersMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTriggers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_GetUnfilteredPartitionMetadata.go b/service/glue/api_op_GetUnfilteredPartitionMetadata.go index cec8a02eb67..6b1462a3170 100644 --- a/service/glue/api_op_GetUnfilteredPartitionMetadata.go +++ b/service/glue/api_op_GetUnfilteredPartitionMetadata.go @@ -155,9 +155,6 @@ func (c *Client) addOperationGetUnfilteredPartitionMetadataMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUnfilteredPartitionMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetUnfilteredPartitionsMetadata.go b/service/glue/api_op_GetUnfilteredPartitionsMetadata.go index 10efa788497..03874aa1452 100644 --- a/service/glue/api_op_GetUnfilteredPartitionsMetadata.go +++ b/service/glue/api_op_GetUnfilteredPartitionsMetadata.go @@ -225,9 +225,6 @@ func (c *Client) addOperationGetUnfilteredPartitionsMetadataMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUnfilteredPartitionsMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetUnfilteredTableMetadata.go b/service/glue/api_op_GetUnfilteredTableMetadata.go index 8648b0e276d..ed7d8cf4348 100644 --- a/service/glue/api_op_GetUnfilteredTableMetadata.go +++ b/service/glue/api_op_GetUnfilteredTableMetadata.go @@ -222,9 +222,6 @@ func (c *Client) addOperationGetUnfilteredTableMetadataMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUnfilteredTableMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetUsageProfile.go b/service/glue/api_op_GetUsageProfile.go index 0702788e796..c1c9139f70a 100644 --- a/service/glue/api_op_GetUsageProfile.go +++ b/service/glue/api_op_GetUsageProfile.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetUsageProfileMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUsageProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetUserDefinedFunction.go b/service/glue/api_op_GetUserDefinedFunction.go index db62d09723b..500e75d60fb 100644 --- a/service/glue/api_op_GetUserDefinedFunction.go +++ b/service/glue/api_op_GetUserDefinedFunction.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetUserDefinedFunctionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUserDefinedFunctionValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetUserDefinedFunctions.go b/service/glue/api_op_GetUserDefinedFunctions.go index 922a3d64f8f..1223d54bbe6 100644 --- a/service/glue/api_op_GetUserDefinedFunctions.go +++ b/service/glue/api_op_GetUserDefinedFunctions.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetUserDefinedFunctionsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUserDefinedFunctionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetWorkflow.go b/service/glue/api_op_GetWorkflow.go index 1784eebd2a9..dc19a1058ce 100644 --- a/service/glue/api_op_GetWorkflow.go +++ b/service/glue/api_op_GetWorkflow.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetWorkflowMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWorkflowValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetWorkflowRun.go b/service/glue/api_op_GetWorkflowRun.go index cda36ddc219..c77572ddba5 100644 --- a/service/glue/api_op_GetWorkflowRun.go +++ b/service/glue/api_op_GetWorkflowRun.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetWorkflowRunMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWorkflowRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetWorkflowRunProperties.go b/service/glue/api_op_GetWorkflowRunProperties.go index c69aa64c3e4..3d2541cd56a 100644 --- a/service/glue/api_op_GetWorkflowRunProperties.go +++ b/service/glue/api_op_GetWorkflowRunProperties.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetWorkflowRunPropertiesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWorkflowRunPropertiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_GetWorkflowRuns.go b/service/glue/api_op_GetWorkflowRuns.go index 737dbc9826a..be8f2de4940 100644 --- a/service/glue/api_op_GetWorkflowRuns.go +++ b/service/glue/api_op_GetWorkflowRuns.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetWorkflowRunsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWorkflowRunsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_ImportCatalogToGlue.go b/service/glue/api_op_ImportCatalogToGlue.go index 1ba74decc6c..8930ca1df71 100644 --- a/service/glue/api_op_ImportCatalogToGlue.go +++ b/service/glue/api_op_ImportCatalogToGlue.go @@ -106,9 +106,6 @@ func (c *Client) addOperationImportCatalogToGlueMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportCatalogToGlue(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_ListBlueprints.go b/service/glue/api_op_ListBlueprints.go index 4399ea38584..080ad178670 100644 --- a/service/glue/api_op_ListBlueprints.go +++ b/service/glue/api_op_ListBlueprints.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListBlueprintsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBlueprints(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_ListColumnStatisticsTaskRuns.go b/service/glue/api_op_ListColumnStatisticsTaskRuns.go index df0d5eb7d9a..9333af15ad6 100644 --- a/service/glue/api_op_ListColumnStatisticsTaskRuns.go +++ b/service/glue/api_op_ListColumnStatisticsTaskRuns.go @@ -115,9 +115,6 @@ func (c *Client) addOperationListColumnStatisticsTaskRunsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListColumnStatisticsTaskRuns(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_ListConnectionTypes.go b/service/glue/api_op_ListConnectionTypes.go index e002b36332d..e53cd0d6d1d 100644 --- a/service/glue/api_op_ListConnectionTypes.go +++ b/service/glue/api_op_ListConnectionTypes.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListConnectionTypesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConnectionTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_ListCrawlers.go b/service/glue/api_op_ListCrawlers.go index ecab2f3fd5e..9f1b622dedd 100644 --- a/service/glue/api_op_ListCrawlers.go +++ b/service/glue/api_op_ListCrawlers.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListCrawlersMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCrawlers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_ListCrawls.go b/service/glue/api_op_ListCrawls.go index 70728ab574e..4d2338b3b09 100644 --- a/service/glue/api_op_ListCrawls.go +++ b/service/glue/api_op_ListCrawls.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListCrawlsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCrawlsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_ListCustomEntityTypes.go b/service/glue/api_op_ListCustomEntityTypes.go index 06e66823d16..6e221122266 100644 --- a/service/glue/api_op_ListCustomEntityTypes.go +++ b/service/glue/api_op_ListCustomEntityTypes.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListCustomEntityTypesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCustomEntityTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_ListDataQualityResults.go b/service/glue/api_op_ListDataQualityResults.go index 447d515e40f..d14c8988064 100644 --- a/service/glue/api_op_ListDataQualityResults.go +++ b/service/glue/api_op_ListDataQualityResults.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListDataQualityResultsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDataQualityResultsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_ListDataQualityRuleRecommendationRuns.go b/service/glue/api_op_ListDataQualityRuleRecommendationRuns.go index 5bd676ae1ad..d5c36c0ecc5 100644 --- a/service/glue/api_op_ListDataQualityRuleRecommendationRuns.go +++ b/service/glue/api_op_ListDataQualityRuleRecommendationRuns.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListDataQualityRuleRecommendationRunsMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDataQualityRuleRecommendationRunsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_ListDataQualityRulesetEvaluationRuns.go b/service/glue/api_op_ListDataQualityRulesetEvaluationRuns.go index 41f6730f3ce..3d60a504e29 100644 --- a/service/glue/api_op_ListDataQualityRulesetEvaluationRuns.go +++ b/service/glue/api_op_ListDataQualityRulesetEvaluationRuns.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListDataQualityRulesetEvaluationRunsMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDataQualityRulesetEvaluationRunsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_ListDataQualityRulesets.go b/service/glue/api_op_ListDataQualityRulesets.go index 2cda6746f53..edbd76c8b0f 100644 --- a/service/glue/api_op_ListDataQualityRulesets.go +++ b/service/glue/api_op_ListDataQualityRulesets.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListDataQualityRulesetsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDataQualityRulesetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_ListDataQualityStatisticAnnotations.go b/service/glue/api_op_ListDataQualityStatisticAnnotations.go index b15a0ea9f2b..7ecacf2bbf1 100644 --- a/service/glue/api_op_ListDataQualityStatisticAnnotations.go +++ b/service/glue/api_op_ListDataQualityStatisticAnnotations.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListDataQualityStatisticAnnotationsMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataQualityStatisticAnnotations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_ListDataQualityStatistics.go b/service/glue/api_op_ListDataQualityStatistics.go index 9e8829846ea..58e610233c3 100644 --- a/service/glue/api_op_ListDataQualityStatistics.go +++ b/service/glue/api_op_ListDataQualityStatistics.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListDataQualityStatisticsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataQualityStatistics(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_ListDevEndpoints.go b/service/glue/api_op_ListDevEndpoints.go index 4e74466eee5..53646a4b43a 100644 --- a/service/glue/api_op_ListDevEndpoints.go +++ b/service/glue/api_op_ListDevEndpoints.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListDevEndpointsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDevEndpoints(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_ListEntities.go b/service/glue/api_op_ListEntities.go index 2e3641bb226..ba5baf52d3f 100644 --- a/service/glue/api_op_ListEntities.go +++ b/service/glue/api_op_ListEntities.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListEntitiesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEntities(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_ListJobs.go b/service/glue/api_op_ListJobs.go index 95a9e49eabd..4c00605e8e9 100644 --- a/service/glue/api_op_ListJobs.go +++ b/service/glue/api_op_ListJobs.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListJobsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_ListMLTransforms.go b/service/glue/api_op_ListMLTransforms.go index c6115e93d7d..9dee6d2279f 100644 --- a/service/glue/api_op_ListMLTransforms.go +++ b/service/glue/api_op_ListMLTransforms.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListMLTransformsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMLTransformsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_ListRegistries.go b/service/glue/api_op_ListRegistries.go index 9f1f8ff30f4..7906a5162bd 100644 --- a/service/glue/api_op_ListRegistries.go +++ b/service/glue/api_op_ListRegistries.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListRegistriesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRegistries(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_ListSchemaVersions.go b/service/glue/api_op_ListSchemaVersions.go index 39d8caa59ce..a58c3690712 100644 --- a/service/glue/api_op_ListSchemaVersions.go +++ b/service/glue/api_op_ListSchemaVersions.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListSchemaVersionsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSchemaVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_ListSchemas.go b/service/glue/api_op_ListSchemas.go index 7dcbda79ba2..cb4bf898eee 100644 --- a/service/glue/api_op_ListSchemas.go +++ b/service/glue/api_op_ListSchemas.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListSchemasMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSchemas(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_ListSessions.go b/service/glue/api_op_ListSessions.go index 592706f05d4..8e27a5565a1 100644 --- a/service/glue/api_op_ListSessions.go +++ b/service/glue/api_op_ListSessions.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListSessionsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSessions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_ListStatements.go b/service/glue/api_op_ListStatements.go index 0199d87c352..4784439fcdd 100644 --- a/service/glue/api_op_ListStatements.go +++ b/service/glue/api_op_ListStatements.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListStatementsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListStatementsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_ListTableOptimizerRuns.go b/service/glue/api_op_ListTableOptimizerRuns.go index fcffa9a8278..a032fe5b4f3 100644 --- a/service/glue/api_op_ListTableOptimizerRuns.go +++ b/service/glue/api_op_ListTableOptimizerRuns.go @@ -146,9 +146,6 @@ func (c *Client) addOperationListTableOptimizerRunsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTableOptimizerRunsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_ListTriggers.go b/service/glue/api_op_ListTriggers.go index 6e832a6b836..802c7f0e6cb 100644 --- a/service/glue/api_op_ListTriggers.go +++ b/service/glue/api_op_ListTriggers.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListTriggersMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTriggers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_ListUsageProfiles.go b/service/glue/api_op_ListUsageProfiles.go index 584f33f2788..d0be7349e0b 100644 --- a/service/glue/api_op_ListUsageProfiles.go +++ b/service/glue/api_op_ListUsageProfiles.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListUsageProfilesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUsageProfiles(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_ListWorkflows.go b/service/glue/api_op_ListWorkflows.go index dedb01219c1..bdbcb3b7735 100644 --- a/service/glue/api_op_ListWorkflows.go +++ b/service/glue/api_op_ListWorkflows.go @@ -115,9 +115,6 @@ func (c *Client) addOperationListWorkflowsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkflows(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_ModifyIntegration.go b/service/glue/api_op_ModifyIntegration.go index fa885cc6b5f..bd4848e72d6 100644 --- a/service/glue/api_op_ModifyIntegration.go +++ b/service/glue/api_op_ModifyIntegration.go @@ -184,9 +184,6 @@ func (c *Client) addOperationModifyIntegrationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyIntegrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_PutDataCatalogEncryptionSettings.go b/service/glue/api_op_PutDataCatalogEncryptionSettings.go index 33dad1d620a..b272588c617 100644 --- a/service/glue/api_op_PutDataCatalogEncryptionSettings.go +++ b/service/glue/api_op_PutDataCatalogEncryptionSettings.go @@ -114,9 +114,6 @@ func (c *Client) addOperationPutDataCatalogEncryptionSettingsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutDataCatalogEncryptionSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_PutDataQualityProfileAnnotation.go b/service/glue/api_op_PutDataQualityProfileAnnotation.go index a66ae73bc70..ff83be48541 100644 --- a/service/glue/api_op_PutDataQualityProfileAnnotation.go +++ b/service/glue/api_op_PutDataQualityProfileAnnotation.go @@ -114,9 +114,6 @@ func (c *Client) addOperationPutDataQualityProfileAnnotationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutDataQualityProfileAnnotationValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_PutResourcePolicy.go b/service/glue/api_op_PutResourcePolicy.go index 6c0c4dabe4a..74f318272a3 100644 --- a/service/glue/api_op_PutResourcePolicy.go +++ b/service/glue/api_op_PutResourcePolicy.go @@ -138,9 +138,6 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_PutSchemaVersionMetadata.go b/service/glue/api_op_PutSchemaVersionMetadata.go index 03a71037871..808a4a865f8 100644 --- a/service/glue/api_op_PutSchemaVersionMetadata.go +++ b/service/glue/api_op_PutSchemaVersionMetadata.go @@ -144,9 +144,6 @@ func (c *Client) addOperationPutSchemaVersionMetadataMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutSchemaVersionMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_PutWorkflowRunProperties.go b/service/glue/api_op_PutWorkflowRunProperties.go index 06c361483fa..cfc45576580 100644 --- a/service/glue/api_op_PutWorkflowRunProperties.go +++ b/service/glue/api_op_PutWorkflowRunProperties.go @@ -124,9 +124,6 @@ func (c *Client) addOperationPutWorkflowRunPropertiesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutWorkflowRunPropertiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_QuerySchemaVersionMetadata.go b/service/glue/api_op_QuerySchemaVersionMetadata.go index 58e12895a5e..980e3145d6c 100644 --- a/service/glue/api_op_QuerySchemaVersionMetadata.go +++ b/service/glue/api_op_QuerySchemaVersionMetadata.go @@ -135,9 +135,6 @@ func (c *Client) addOperationQuerySchemaVersionMetadataMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQuerySchemaVersionMetadata(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_RegisterSchemaVersion.go b/service/glue/api_op_RegisterSchemaVersion.go index c40ba35f0ec..4fc5efc302a 100644 --- a/service/glue/api_op_RegisterSchemaVersion.go +++ b/service/glue/api_op_RegisterSchemaVersion.go @@ -143,9 +143,6 @@ func (c *Client) addOperationRegisterSchemaVersionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterSchemaVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_RemoveSchemaVersionMetadata.go b/service/glue/api_op_RemoveSchemaVersionMetadata.go index e80ace84c71..4babc464ae9 100644 --- a/service/glue/api_op_RemoveSchemaVersionMetadata.go +++ b/service/glue/api_op_RemoveSchemaVersionMetadata.go @@ -144,9 +144,6 @@ func (c *Client) addOperationRemoveSchemaVersionMetadataMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveSchemaVersionMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_ResetJobBookmark.go b/service/glue/api_op_ResetJobBookmark.go index e9ee7562ddd..09d49845ba6 100644 --- a/service/glue/api_op_ResetJobBookmark.go +++ b/service/glue/api_op_ResetJobBookmark.go @@ -127,9 +127,6 @@ func (c *Client) addOperationResetJobBookmarkMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResetJobBookmarkValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_ResumeWorkflowRun.go b/service/glue/api_op_ResumeWorkflowRun.go index 49b59e0f9fa..bd2a3960216 100644 --- a/service/glue/api_op_ResumeWorkflowRun.go +++ b/service/glue/api_op_ResumeWorkflowRun.go @@ -128,9 +128,6 @@ func (c *Client) addOperationResumeWorkflowRunMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResumeWorkflowRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_RunStatement.go b/service/glue/api_op_RunStatement.go index 2800c5355ab..27c58c35170 100644 --- a/service/glue/api_op_RunStatement.go +++ b/service/glue/api_op_RunStatement.go @@ -119,9 +119,6 @@ func (c *Client) addOperationRunStatementMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRunStatementValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_SearchTables.go b/service/glue/api_op_SearchTables.go index 07079ea688b..c8766302a92 100644 --- a/service/glue/api_op_SearchTables.go +++ b/service/glue/api_op_SearchTables.go @@ -164,9 +164,6 @@ func (c *Client) addOperationSearchTablesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchTables(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_StartBlueprintRun.go b/service/glue/api_op_StartBlueprintRun.go index c7b9c61ac4b..d316546339b 100644 --- a/service/glue/api_op_StartBlueprintRun.go +++ b/service/glue/api_op_StartBlueprintRun.go @@ -119,9 +119,6 @@ func (c *Client) addOperationStartBlueprintRunMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartBlueprintRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StartColumnStatisticsTaskRun.go b/service/glue/api_op_StartColumnStatisticsTaskRun.go index aff2b70ec9f..fadb43ff54f 100644 --- a/service/glue/api_op_StartColumnStatisticsTaskRun.go +++ b/service/glue/api_op_StartColumnStatisticsTaskRun.go @@ -137,9 +137,6 @@ func (c *Client) addOperationStartColumnStatisticsTaskRunMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartColumnStatisticsTaskRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StartColumnStatisticsTaskRunSchedule.go b/service/glue/api_op_StartColumnStatisticsTaskRunSchedule.go index 0a2efdf9edb..6f4153f32d2 100644 --- a/service/glue/api_op_StartColumnStatisticsTaskRunSchedule.go +++ b/service/glue/api_op_StartColumnStatisticsTaskRunSchedule.go @@ -112,9 +112,6 @@ func (c *Client) addOperationStartColumnStatisticsTaskRunScheduleMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartColumnStatisticsTaskRunScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StartCrawler.go b/service/glue/api_op_StartCrawler.go index 8c31584994c..bdc2f240258 100644 --- a/service/glue/api_op_StartCrawler.go +++ b/service/glue/api_op_StartCrawler.go @@ -110,9 +110,6 @@ func (c *Client) addOperationStartCrawlerMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartCrawlerValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StartCrawlerSchedule.go b/service/glue/api_op_StartCrawlerSchedule.go index bf926410b78..bcc82025ab2 100644 --- a/service/glue/api_op_StartCrawlerSchedule.go +++ b/service/glue/api_op_StartCrawlerSchedule.go @@ -108,9 +108,6 @@ func (c *Client) addOperationStartCrawlerScheduleMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartCrawlerScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StartDataQualityRuleRecommendationRun.go b/service/glue/api_op_StartDataQualityRuleRecommendationRun.go index 2bdbaa32558..a541656b4dd 100644 --- a/service/glue/api_op_StartDataQualityRuleRecommendationRun.go +++ b/service/glue/api_op_StartDataQualityRuleRecommendationRun.go @@ -141,9 +141,6 @@ func (c *Client) addOperationStartDataQualityRuleRecommendationRunMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartDataQualityRuleRecommendationRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StartDataQualityRulesetEvaluationRun.go b/service/glue/api_op_StartDataQualityRulesetEvaluationRun.go index 5804990158a..5ac301d9bdb 100644 --- a/service/glue/api_op_StartDataQualityRulesetEvaluationRun.go +++ b/service/glue/api_op_StartDataQualityRulesetEvaluationRun.go @@ -144,9 +144,6 @@ func (c *Client) addOperationStartDataQualityRulesetEvaluationRunMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartDataQualityRulesetEvaluationRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StartExportLabelsTaskRun.go b/service/glue/api_op_StartExportLabelsTaskRun.go index 1903d1ead58..74bca108f06 100644 --- a/service/glue/api_op_StartExportLabelsTaskRun.go +++ b/service/glue/api_op_StartExportLabelsTaskRun.go @@ -124,9 +124,6 @@ func (c *Client) addOperationStartExportLabelsTaskRunMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartExportLabelsTaskRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StartImportLabelsTaskRun.go b/service/glue/api_op_StartImportLabelsTaskRun.go index f98888a2077..d6a50a39778 100644 --- a/service/glue/api_op_StartImportLabelsTaskRun.go +++ b/service/glue/api_op_StartImportLabelsTaskRun.go @@ -146,9 +146,6 @@ func (c *Client) addOperationStartImportLabelsTaskRunMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartImportLabelsTaskRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StartJobRun.go b/service/glue/api_op_StartJobRun.go index f7a304a4137..359d1bd54b3 100644 --- a/service/glue/api_op_StartJobRun.go +++ b/service/glue/api_op_StartJobRun.go @@ -261,9 +261,6 @@ func (c *Client) addOperationStartJobRunMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartJobRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StartMLEvaluationTaskRun.go b/service/glue/api_op_StartMLEvaluationTaskRun.go index dbdbb9dd68d..02c0b6f50a6 100644 --- a/service/glue/api_op_StartMLEvaluationTaskRun.go +++ b/service/glue/api_op_StartMLEvaluationTaskRun.go @@ -118,9 +118,6 @@ func (c *Client) addOperationStartMLEvaluationTaskRunMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartMLEvaluationTaskRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StartMLLabelingSetGenerationTaskRun.go b/service/glue/api_op_StartMLLabelingSetGenerationTaskRun.go index ae46a6521c0..763e44adf55 100644 --- a/service/glue/api_op_StartMLLabelingSetGenerationTaskRun.go +++ b/service/glue/api_op_StartMLLabelingSetGenerationTaskRun.go @@ -130,9 +130,6 @@ func (c *Client) addOperationStartMLLabelingSetGenerationTaskRunMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartMLLabelingSetGenerationTaskRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StartTrigger.go b/service/glue/api_op_StartTrigger.go index e99e9e9aee5..bba4f80de27 100644 --- a/service/glue/api_op_StartTrigger.go +++ b/service/glue/api_op_StartTrigger.go @@ -114,9 +114,6 @@ func (c *Client) addOperationStartTriggerMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartTriggerValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StartWorkflowRun.go b/service/glue/api_op_StartWorkflowRun.go index 59b3ba541f5..513ecb6c2d1 100644 --- a/service/glue/api_op_StartWorkflowRun.go +++ b/service/glue/api_op_StartWorkflowRun.go @@ -119,9 +119,6 @@ func (c *Client) addOperationStartWorkflowRunMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartWorkflowRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StopColumnStatisticsTaskRun.go b/service/glue/api_op_StopColumnStatisticsTaskRun.go index 8d8bc077858..38ad427dae9 100644 --- a/service/glue/api_op_StopColumnStatisticsTaskRun.go +++ b/service/glue/api_op_StopColumnStatisticsTaskRun.go @@ -112,9 +112,6 @@ func (c *Client) addOperationStopColumnStatisticsTaskRunMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopColumnStatisticsTaskRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StopColumnStatisticsTaskRunSchedule.go b/service/glue/api_op_StopColumnStatisticsTaskRunSchedule.go index ba1ec601b3d..cbbbcd48ef8 100644 --- a/service/glue/api_op_StopColumnStatisticsTaskRunSchedule.go +++ b/service/glue/api_op_StopColumnStatisticsTaskRunSchedule.go @@ -112,9 +112,6 @@ func (c *Client) addOperationStopColumnStatisticsTaskRunScheduleMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopColumnStatisticsTaskRunScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StopCrawler.go b/service/glue/api_op_StopCrawler.go index d9357f91c50..32f3321862c 100644 --- a/service/glue/api_op_StopCrawler.go +++ b/service/glue/api_op_StopCrawler.go @@ -107,9 +107,6 @@ func (c *Client) addOperationStopCrawlerMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopCrawlerValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StopCrawlerSchedule.go b/service/glue/api_op_StopCrawlerSchedule.go index a5faf4127ce..66a2adfb36d 100644 --- a/service/glue/api_op_StopCrawlerSchedule.go +++ b/service/glue/api_op_StopCrawlerSchedule.go @@ -108,9 +108,6 @@ func (c *Client) addOperationStopCrawlerScheduleMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopCrawlerScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StopSession.go b/service/glue/api_op_StopSession.go index f7e5cc1661a..9216da237ed 100644 --- a/service/glue/api_op_StopSession.go +++ b/service/glue/api_op_StopSession.go @@ -114,9 +114,6 @@ func (c *Client) addOperationStopSessionMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StopTrigger.go b/service/glue/api_op_StopTrigger.go index c9be58832fb..83a2a92568c 100644 --- a/service/glue/api_op_StopTrigger.go +++ b/service/glue/api_op_StopTrigger.go @@ -111,9 +111,6 @@ func (c *Client) addOperationStopTriggerMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopTriggerValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_StopWorkflowRun.go b/service/glue/api_op_StopWorkflowRun.go index 2fa3c112e84..d10543dac10 100644 --- a/service/glue/api_op_StopWorkflowRun.go +++ b/service/glue/api_op_StopWorkflowRun.go @@ -112,9 +112,6 @@ func (c *Client) addOperationStopWorkflowRunMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopWorkflowRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_TagResource.go b/service/glue/api_op_TagResource.go index 02707043052..b8d9a4effc6 100644 --- a/service/glue/api_op_TagResource.go +++ b/service/glue/api_op_TagResource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_TestConnection.go b/service/glue/api_op_TestConnection.go index 27970640037..8edc7b79412 100644 --- a/service/glue/api_op_TestConnection.go +++ b/service/glue/api_op_TestConnection.go @@ -120,9 +120,6 @@ func (c *Client) addOperationTestConnectionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTestConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UntagResource.go b/service/glue/api_op_UntagResource.go index 1c86ddf25ea..453965e5fc2 100644 --- a/service/glue/api_op_UntagResource.go +++ b/service/glue/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateBlueprint.go b/service/glue/api_op_UpdateBlueprint.go index aea81be86ae..e8b3d7cf793 100644 --- a/service/glue/api_op_UpdateBlueprint.go +++ b/service/glue/api_op_UpdateBlueprint.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateBlueprintMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBlueprintValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateCatalog.go b/service/glue/api_op_UpdateCatalog.go index 43c47f95d02..84c5fa139df 100644 --- a/service/glue/api_op_UpdateCatalog.go +++ b/service/glue/api_op_UpdateCatalog.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUpdateCatalogMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCatalogValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateClassifier.go b/service/glue/api_op_UpdateClassifier.go index 9d0678a69e9..fb377f995f7 100644 --- a/service/glue/api_op_UpdateClassifier.go +++ b/service/glue/api_op_UpdateClassifier.go @@ -116,9 +116,6 @@ func (c *Client) addOperationUpdateClassifierMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateClassifierValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateColumnStatisticsForPartition.go b/service/glue/api_op_UpdateColumnStatisticsForPartition.go index 14d79d55267..d89fd1ce90a 100644 --- a/service/glue/api_op_UpdateColumnStatisticsForPartition.go +++ b/service/glue/api_op_UpdateColumnStatisticsForPartition.go @@ -134,9 +134,6 @@ func (c *Client) addOperationUpdateColumnStatisticsForPartitionMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateColumnStatisticsForPartitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateColumnStatisticsForTable.go b/service/glue/api_op_UpdateColumnStatisticsForTable.go index f4e0eef4b19..4bbfff7bdef 100644 --- a/service/glue/api_op_UpdateColumnStatisticsForTable.go +++ b/service/glue/api_op_UpdateColumnStatisticsForTable.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUpdateColumnStatisticsForTableMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateColumnStatisticsForTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateColumnStatisticsTaskSettings.go b/service/glue/api_op_UpdateColumnStatisticsTaskSettings.go index e865c2d9e0a..8c86d8b1cab 100644 --- a/service/glue/api_op_UpdateColumnStatisticsTaskSettings.go +++ b/service/glue/api_op_UpdateColumnStatisticsTaskSettings.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateColumnStatisticsTaskSettingsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateColumnStatisticsTaskSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateConnection.go b/service/glue/api_op_UpdateConnection.go index 65b620adaf6..b694ef0158e 100644 --- a/service/glue/api_op_UpdateConnection.go +++ b/service/glue/api_op_UpdateConnection.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUpdateConnectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateCrawler.go b/service/glue/api_op_UpdateCrawler.go index 4acb70316e3..773959bea0f 100644 --- a/service/glue/api_op_UpdateCrawler.go +++ b/service/glue/api_op_UpdateCrawler.go @@ -159,9 +159,6 @@ func (c *Client) addOperationUpdateCrawlerMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCrawlerValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateCrawlerSchedule.go b/service/glue/api_op_UpdateCrawlerSchedule.go index 3a3bc0e2f88..71cc0dadfc8 100644 --- a/service/glue/api_op_UpdateCrawlerSchedule.go +++ b/service/glue/api_op_UpdateCrawlerSchedule.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUpdateCrawlerScheduleMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCrawlerScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateDataQualityRuleset.go b/service/glue/api_op_UpdateDataQualityRuleset.go index 9f2713144f2..3ef65955ef6 100644 --- a/service/glue/api_op_UpdateDataQualityRuleset.go +++ b/service/glue/api_op_UpdateDataQualityRuleset.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateDataQualityRulesetMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDataQualityRulesetValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateDatabase.go b/service/glue/api_op_UpdateDatabase.go index 1f9906b8036..6dd6c231a9a 100644 --- a/service/glue/api_op_UpdateDatabase.go +++ b/service/glue/api_op_UpdateDatabase.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateDatabaseMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDatabaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateDevEndpoint.go b/service/glue/api_op_UpdateDevEndpoint.go index 1adb7bd341e..80f4fd63632 100644 --- a/service/glue/api_op_UpdateDevEndpoint.go +++ b/service/glue/api_op_UpdateDevEndpoint.go @@ -140,9 +140,6 @@ func (c *Client) addOperationUpdateDevEndpointMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDevEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateIntegrationResourceProperty.go b/service/glue/api_op_UpdateIntegrationResourceProperty.go index 15fdad4bbcf..d695c85e533 100644 --- a/service/glue/api_op_UpdateIntegrationResourceProperty.go +++ b/service/glue/api_op_UpdateIntegrationResourceProperty.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateIntegrationResourcePropertyMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateIntegrationResourcePropertyValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateIntegrationTableProperties.go b/service/glue/api_op_UpdateIntegrationTableProperties.go index 3038f3b55d9..3e0aefcf73a 100644 --- a/service/glue/api_op_UpdateIntegrationTableProperties.go +++ b/service/glue/api_op_UpdateIntegrationTableProperties.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateIntegrationTablePropertiesMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateIntegrationTablePropertiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateJob.go b/service/glue/api_op_UpdateJob.go index 3dc9db116b3..583dab3a814 100644 --- a/service/glue/api_op_UpdateJob.go +++ b/service/glue/api_op_UpdateJob.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateJobMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateJobFromSourceControl.go b/service/glue/api_op_UpdateJobFromSourceControl.go index 521578001c6..d98ec935511 100644 --- a/service/glue/api_op_UpdateJobFromSourceControl.go +++ b/service/glue/api_op_UpdateJobFromSourceControl.go @@ -142,9 +142,6 @@ func (c *Client) addOperationUpdateJobFromSourceControlMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateJobFromSourceControl(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_UpdateMLTransform.go b/service/glue/api_op_UpdateMLTransform.go index 1a108732031..1aec28a5ab2 100644 --- a/service/glue/api_op_UpdateMLTransform.go +++ b/service/glue/api_op_UpdateMLTransform.go @@ -177,9 +177,6 @@ func (c *Client) addOperationUpdateMLTransformMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMLTransformValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdatePartition.go b/service/glue/api_op_UpdatePartition.go index 20fd65062c4..aac4de1dbcd 100644 --- a/service/glue/api_op_UpdatePartition.go +++ b/service/glue/api_op_UpdatePartition.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdatePartitionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePartitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateRegistry.go b/service/glue/api_op_UpdateRegistry.go index a5ca5cf0da9..a34450c0588 100644 --- a/service/glue/api_op_UpdateRegistry.go +++ b/service/glue/api_op_UpdateRegistry.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateRegistryMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRegistryValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateSchema.go b/service/glue/api_op_UpdateSchema.go index c9a4d1d8cf4..8588b266ebf 100644 --- a/service/glue/api_op_UpdateSchema.go +++ b/service/glue/api_op_UpdateSchema.go @@ -147,9 +147,6 @@ func (c *Client) addOperationUpdateSchemaMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSchemaValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateSourceControlFromJob.go b/service/glue/api_op_UpdateSourceControlFromJob.go index 3a6e61d4b83..33285383a7c 100644 --- a/service/glue/api_op_UpdateSourceControlFromJob.go +++ b/service/glue/api_op_UpdateSourceControlFromJob.go @@ -142,9 +142,6 @@ func (c *Client) addOperationUpdateSourceControlFromJobMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSourceControlFromJob(options.Region), middleware.Before); err != nil { return err } diff --git a/service/glue/api_op_UpdateTable.go b/service/glue/api_op_UpdateTable.go index 7cbc0b6aca6..9c9df21408d 100644 --- a/service/glue/api_op_UpdateTable.go +++ b/service/glue/api_op_UpdateTable.go @@ -136,9 +136,6 @@ func (c *Client) addOperationUpdateTableMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateTableOptimizer.go b/service/glue/api_op_UpdateTableOptimizer.go index 8d27fb67c9f..e6481fb61a2 100644 --- a/service/glue/api_op_UpdateTableOptimizer.go +++ b/service/glue/api_op_UpdateTableOptimizer.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUpdateTableOptimizerMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTableOptimizerValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateTrigger.go b/service/glue/api_op_UpdateTrigger.go index 1c30a59d449..5ab21172316 100644 --- a/service/glue/api_op_UpdateTrigger.go +++ b/service/glue/api_op_UpdateTrigger.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateTriggerMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTriggerValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateUsageProfile.go b/service/glue/api_op_UpdateUsageProfile.go index 069fbd4dbaf..e3b041af185 100644 --- a/service/glue/api_op_UpdateUsageProfile.go +++ b/service/glue/api_op_UpdateUsageProfile.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateUsageProfileMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateUsageProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateUserDefinedFunction.go b/service/glue/api_op_UpdateUserDefinedFunction.go index 61d74f58d0c..783abe3d656 100644 --- a/service/glue/api_op_UpdateUserDefinedFunction.go +++ b/service/glue/api_op_UpdateUserDefinedFunction.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateUserDefinedFunctionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateUserDefinedFunctionValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/api_op_UpdateWorkflow.go b/service/glue/api_op_UpdateWorkflow.go index 4534aa29f1c..f942a725a7e 100644 --- a/service/glue/api_op_UpdateWorkflow.go +++ b/service/glue/api_op_UpdateWorkflow.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateWorkflowMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateWorkflowValidationMiddleware(stack); err != nil { return err } diff --git a/service/glue/snapshot/api_op_BatchCreatePartition.go.snap b/service/glue/snapshot/api_op_BatchCreatePartition.go.snap index e5528e11ec0..a71f9345128 100644 --- a/service/glue/snapshot/api_op_BatchCreatePartition.go.snap +++ b/service/glue/snapshot/api_op_BatchCreatePartition.go.snap @@ -14,7 +14,6 @@ BatchCreatePartition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_BatchDeleteConnection.go.snap b/service/glue/snapshot/api_op_BatchDeleteConnection.go.snap index 38577ac4c0f..eadec46814e 100644 --- a/service/glue/snapshot/api_op_BatchDeleteConnection.go.snap +++ b/service/glue/snapshot/api_op_BatchDeleteConnection.go.snap @@ -14,7 +14,6 @@ BatchDeleteConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_BatchDeletePartition.go.snap b/service/glue/snapshot/api_op_BatchDeletePartition.go.snap index aa8c53dd8d1..78e2b0c7e13 100644 --- a/service/glue/snapshot/api_op_BatchDeletePartition.go.snap +++ b/service/glue/snapshot/api_op_BatchDeletePartition.go.snap @@ -14,7 +14,6 @@ BatchDeletePartition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_BatchDeleteTable.go.snap b/service/glue/snapshot/api_op_BatchDeleteTable.go.snap index 584917b90ea..7f493502aa6 100644 --- a/service/glue/snapshot/api_op_BatchDeleteTable.go.snap +++ b/service/glue/snapshot/api_op_BatchDeleteTable.go.snap @@ -14,7 +14,6 @@ BatchDeleteTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_BatchDeleteTableVersion.go.snap b/service/glue/snapshot/api_op_BatchDeleteTableVersion.go.snap index bd0571895b8..26dee74c423 100644 --- a/service/glue/snapshot/api_op_BatchDeleteTableVersion.go.snap +++ b/service/glue/snapshot/api_op_BatchDeleteTableVersion.go.snap @@ -14,7 +14,6 @@ BatchDeleteTableVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_BatchGetBlueprints.go.snap b/service/glue/snapshot/api_op_BatchGetBlueprints.go.snap index 5fb366af3e4..d66cee17ca8 100644 --- a/service/glue/snapshot/api_op_BatchGetBlueprints.go.snap +++ b/service/glue/snapshot/api_op_BatchGetBlueprints.go.snap @@ -14,7 +14,6 @@ BatchGetBlueprints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_BatchGetCrawlers.go.snap b/service/glue/snapshot/api_op_BatchGetCrawlers.go.snap index f6b24b26004..ca95ddbcd74 100644 --- a/service/glue/snapshot/api_op_BatchGetCrawlers.go.snap +++ b/service/glue/snapshot/api_op_BatchGetCrawlers.go.snap @@ -14,7 +14,6 @@ BatchGetCrawlers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_BatchGetCustomEntityTypes.go.snap b/service/glue/snapshot/api_op_BatchGetCustomEntityTypes.go.snap index b43cbb09679..03eebcf0852 100644 --- a/service/glue/snapshot/api_op_BatchGetCustomEntityTypes.go.snap +++ b/service/glue/snapshot/api_op_BatchGetCustomEntityTypes.go.snap @@ -14,7 +14,6 @@ BatchGetCustomEntityTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_BatchGetDataQualityResult.go.snap b/service/glue/snapshot/api_op_BatchGetDataQualityResult.go.snap index 3db2031f77f..4e4f7370544 100644 --- a/service/glue/snapshot/api_op_BatchGetDataQualityResult.go.snap +++ b/service/glue/snapshot/api_op_BatchGetDataQualityResult.go.snap @@ -14,7 +14,6 @@ BatchGetDataQualityResult Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_BatchGetDevEndpoints.go.snap b/service/glue/snapshot/api_op_BatchGetDevEndpoints.go.snap index 7627b9ff618..8a044b2a59b 100644 --- a/service/glue/snapshot/api_op_BatchGetDevEndpoints.go.snap +++ b/service/glue/snapshot/api_op_BatchGetDevEndpoints.go.snap @@ -14,7 +14,6 @@ BatchGetDevEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_BatchGetJobs.go.snap b/service/glue/snapshot/api_op_BatchGetJobs.go.snap index 592d92ab7a6..2990605f033 100644 --- a/service/glue/snapshot/api_op_BatchGetJobs.go.snap +++ b/service/glue/snapshot/api_op_BatchGetJobs.go.snap @@ -14,7 +14,6 @@ BatchGetJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_BatchGetPartition.go.snap b/service/glue/snapshot/api_op_BatchGetPartition.go.snap index 01a060e8301..4930645d12b 100644 --- a/service/glue/snapshot/api_op_BatchGetPartition.go.snap +++ b/service/glue/snapshot/api_op_BatchGetPartition.go.snap @@ -14,7 +14,6 @@ BatchGetPartition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_BatchGetTableOptimizer.go.snap b/service/glue/snapshot/api_op_BatchGetTableOptimizer.go.snap index 067432102a0..136a90fc347 100644 --- a/service/glue/snapshot/api_op_BatchGetTableOptimizer.go.snap +++ b/service/glue/snapshot/api_op_BatchGetTableOptimizer.go.snap @@ -14,7 +14,6 @@ BatchGetTableOptimizer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_BatchGetTriggers.go.snap b/service/glue/snapshot/api_op_BatchGetTriggers.go.snap index 06e3b86118c..579d783e984 100644 --- a/service/glue/snapshot/api_op_BatchGetTriggers.go.snap +++ b/service/glue/snapshot/api_op_BatchGetTriggers.go.snap @@ -14,7 +14,6 @@ BatchGetTriggers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_BatchGetWorkflows.go.snap b/service/glue/snapshot/api_op_BatchGetWorkflows.go.snap index ba4947a8f37..57266b3083d 100644 --- a/service/glue/snapshot/api_op_BatchGetWorkflows.go.snap +++ b/service/glue/snapshot/api_op_BatchGetWorkflows.go.snap @@ -14,7 +14,6 @@ BatchGetWorkflows Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_BatchPutDataQualityStatisticAnnotation.go.snap b/service/glue/snapshot/api_op_BatchPutDataQualityStatisticAnnotation.go.snap index 136bd0f7eed..d82430f4cd7 100644 --- a/service/glue/snapshot/api_op_BatchPutDataQualityStatisticAnnotation.go.snap +++ b/service/glue/snapshot/api_op_BatchPutDataQualityStatisticAnnotation.go.snap @@ -14,7 +14,6 @@ BatchPutDataQualityStatisticAnnotation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_BatchStopJobRun.go.snap b/service/glue/snapshot/api_op_BatchStopJobRun.go.snap index 5fb5572a934..0b9c1d9d4b8 100644 --- a/service/glue/snapshot/api_op_BatchStopJobRun.go.snap +++ b/service/glue/snapshot/api_op_BatchStopJobRun.go.snap @@ -14,7 +14,6 @@ BatchStopJobRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_BatchUpdatePartition.go.snap b/service/glue/snapshot/api_op_BatchUpdatePartition.go.snap index c3824f913e5..177b7da5643 100644 --- a/service/glue/snapshot/api_op_BatchUpdatePartition.go.snap +++ b/service/glue/snapshot/api_op_BatchUpdatePartition.go.snap @@ -14,7 +14,6 @@ BatchUpdatePartition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_CancelDataQualityRuleRecommendationRun.go.snap b/service/glue/snapshot/api_op_CancelDataQualityRuleRecommendationRun.go.snap index 5497c16d88e..47a5a937a36 100644 --- a/service/glue/snapshot/api_op_CancelDataQualityRuleRecommendationRun.go.snap +++ b/service/glue/snapshot/api_op_CancelDataQualityRuleRecommendationRun.go.snap @@ -14,7 +14,6 @@ CancelDataQualityRuleRecommendationRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_CancelDataQualityRulesetEvaluationRun.go.snap b/service/glue/snapshot/api_op_CancelDataQualityRulesetEvaluationRun.go.snap index fce36b6576f..2cd307abcb0 100644 --- a/service/glue/snapshot/api_op_CancelDataQualityRulesetEvaluationRun.go.snap +++ b/service/glue/snapshot/api_op_CancelDataQualityRulesetEvaluationRun.go.snap @@ -14,7 +14,6 @@ CancelDataQualityRulesetEvaluationRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_CancelMLTaskRun.go.snap b/service/glue/snapshot/api_op_CancelMLTaskRun.go.snap index d90034ddc88..08ede63ce79 100644 --- a/service/glue/snapshot/api_op_CancelMLTaskRun.go.snap +++ b/service/glue/snapshot/api_op_CancelMLTaskRun.go.snap @@ -14,7 +14,6 @@ CancelMLTaskRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_CancelStatement.go.snap b/service/glue/snapshot/api_op_CancelStatement.go.snap index 85dda5d8ffb..05dd77b9a6c 100644 --- a/service/glue/snapshot/api_op_CancelStatement.go.snap +++ b/service/glue/snapshot/api_op_CancelStatement.go.snap @@ -14,7 +14,6 @@ CancelStatement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_CheckSchemaVersionValidity.go.snap b/service/glue/snapshot/api_op_CheckSchemaVersionValidity.go.snap index 26a9f753921..b5ebc7f9139 100644 --- a/service/glue/snapshot/api_op_CheckSchemaVersionValidity.go.snap +++ b/service/glue/snapshot/api_op_CheckSchemaVersionValidity.go.snap @@ -14,7 +14,6 @@ CheckSchemaVersionValidity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_CreateBlueprint.go.snap b/service/glue/snapshot/api_op_CreateBlueprint.go.snap index eb5c95fe612..6264a7633d1 100644 --- a/service/glue/snapshot/api_op_CreateBlueprint.go.snap +++ b/service/glue/snapshot/api_op_CreateBlueprint.go.snap @@ -14,7 +14,6 @@ CreateBlueprint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_CreateCatalog.go.snap b/service/glue/snapshot/api_op_CreateCatalog.go.snap index b6709c03625..924660b090b 100644 --- a/service/glue/snapshot/api_op_CreateCatalog.go.snap +++ b/service/glue/snapshot/api_op_CreateCatalog.go.snap @@ -14,7 +14,6 @@ CreateCatalog Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_CreateClassifier.go.snap b/service/glue/snapshot/api_op_CreateClassifier.go.snap index 6bc3a7d0f15..8174f649ff5 100644 --- a/service/glue/snapshot/api_op_CreateClassifier.go.snap +++ b/service/glue/snapshot/api_op_CreateClassifier.go.snap @@ -14,7 +14,6 @@ CreateClassifier Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_CreateColumnStatisticsTaskSettings.go.snap b/service/glue/snapshot/api_op_CreateColumnStatisticsTaskSettings.go.snap index 5a72155e7b5..0a42b04e13d 100644 --- a/service/glue/snapshot/api_op_CreateColumnStatisticsTaskSettings.go.snap +++ b/service/glue/snapshot/api_op_CreateColumnStatisticsTaskSettings.go.snap @@ -14,7 +14,6 @@ CreateColumnStatisticsTaskSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_CreateConnection.go.snap b/service/glue/snapshot/api_op_CreateConnection.go.snap index 2925a097d86..744b4a055f4 100644 --- a/service/glue/snapshot/api_op_CreateConnection.go.snap +++ b/service/glue/snapshot/api_op_CreateConnection.go.snap @@ -14,7 +14,6 @@ CreateConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_CreateCrawler.go.snap b/service/glue/snapshot/api_op_CreateCrawler.go.snap index 1ac10553eb7..845a1d5cabc 100644 --- a/service/glue/snapshot/api_op_CreateCrawler.go.snap +++ b/service/glue/snapshot/api_op_CreateCrawler.go.snap @@ -14,7 +14,6 @@ CreateCrawler Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_CreateCustomEntityType.go.snap b/service/glue/snapshot/api_op_CreateCustomEntityType.go.snap index 9a82b4f7361..b5f31328288 100644 --- a/service/glue/snapshot/api_op_CreateCustomEntityType.go.snap +++ b/service/glue/snapshot/api_op_CreateCustomEntityType.go.snap @@ -14,7 +14,6 @@ CreateCustomEntityType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_CreateDataQualityRuleset.go.snap b/service/glue/snapshot/api_op_CreateDataQualityRuleset.go.snap index 79a421b75e4..8483d99e910 100644 --- a/service/glue/snapshot/api_op_CreateDataQualityRuleset.go.snap +++ b/service/glue/snapshot/api_op_CreateDataQualityRuleset.go.snap @@ -14,7 +14,6 @@ CreateDataQualityRuleset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_CreateDatabase.go.snap b/service/glue/snapshot/api_op_CreateDatabase.go.snap index 7ec29a130c3..eb38784a5dc 100644 --- a/service/glue/snapshot/api_op_CreateDatabase.go.snap +++ b/service/glue/snapshot/api_op_CreateDatabase.go.snap @@ -14,7 +14,6 @@ CreateDatabase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_CreateDevEndpoint.go.snap b/service/glue/snapshot/api_op_CreateDevEndpoint.go.snap index b3a649fe834..bcd4085ca0b 100644 --- a/service/glue/snapshot/api_op_CreateDevEndpoint.go.snap +++ b/service/glue/snapshot/api_op_CreateDevEndpoint.go.snap @@ -14,7 +14,6 @@ CreateDevEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_CreateIntegration.go.snap b/service/glue/snapshot/api_op_CreateIntegration.go.snap index c23fbf5af89..d22fcfb6a4e 100644 --- a/service/glue/snapshot/api_op_CreateIntegration.go.snap +++ b/service/glue/snapshot/api_op_CreateIntegration.go.snap @@ -14,7 +14,6 @@ CreateIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_CreateIntegrationResourceProperty.go.snap b/service/glue/snapshot/api_op_CreateIntegrationResourceProperty.go.snap index 79fc11fe08c..cf2801275a6 100644 --- a/service/glue/snapshot/api_op_CreateIntegrationResourceProperty.go.snap +++ b/service/glue/snapshot/api_op_CreateIntegrationResourceProperty.go.snap @@ -14,7 +14,6 @@ CreateIntegrationResourceProperty Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_CreateIntegrationTableProperties.go.snap b/service/glue/snapshot/api_op_CreateIntegrationTableProperties.go.snap index 592151372b4..06af4cdc8c3 100644 --- a/service/glue/snapshot/api_op_CreateIntegrationTableProperties.go.snap +++ b/service/glue/snapshot/api_op_CreateIntegrationTableProperties.go.snap @@ -14,7 +14,6 @@ CreateIntegrationTableProperties Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_CreateJob.go.snap b/service/glue/snapshot/api_op_CreateJob.go.snap index 997d5a01bae..27ac2aec4ac 100644 --- a/service/glue/snapshot/api_op_CreateJob.go.snap +++ b/service/glue/snapshot/api_op_CreateJob.go.snap @@ -14,7 +14,6 @@ CreateJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_CreateMLTransform.go.snap b/service/glue/snapshot/api_op_CreateMLTransform.go.snap index 311ee89b3d6..762a1075d7a 100644 --- a/service/glue/snapshot/api_op_CreateMLTransform.go.snap +++ b/service/glue/snapshot/api_op_CreateMLTransform.go.snap @@ -14,7 +14,6 @@ CreateMLTransform Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_CreatePartition.go.snap b/service/glue/snapshot/api_op_CreatePartition.go.snap index 4d9769fd0b6..3c4da822eac 100644 --- a/service/glue/snapshot/api_op_CreatePartition.go.snap +++ b/service/glue/snapshot/api_op_CreatePartition.go.snap @@ -14,7 +14,6 @@ CreatePartition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_CreatePartitionIndex.go.snap b/service/glue/snapshot/api_op_CreatePartitionIndex.go.snap index 18e853c1917..54b685958ce 100644 --- a/service/glue/snapshot/api_op_CreatePartitionIndex.go.snap +++ b/service/glue/snapshot/api_op_CreatePartitionIndex.go.snap @@ -14,7 +14,6 @@ CreatePartitionIndex Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_CreateRegistry.go.snap b/service/glue/snapshot/api_op_CreateRegistry.go.snap index 4c9b90d438a..0dbd93f988a 100644 --- a/service/glue/snapshot/api_op_CreateRegistry.go.snap +++ b/service/glue/snapshot/api_op_CreateRegistry.go.snap @@ -14,7 +14,6 @@ CreateRegistry Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_CreateSchema.go.snap b/service/glue/snapshot/api_op_CreateSchema.go.snap index 1d4156efd14..5922a5ee3e9 100644 --- a/service/glue/snapshot/api_op_CreateSchema.go.snap +++ b/service/glue/snapshot/api_op_CreateSchema.go.snap @@ -14,7 +14,6 @@ CreateSchema Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_CreateScript.go.snap b/service/glue/snapshot/api_op_CreateScript.go.snap index bd8f989d036..728001c4682 100644 --- a/service/glue/snapshot/api_op_CreateScript.go.snap +++ b/service/glue/snapshot/api_op_CreateScript.go.snap @@ -14,7 +14,6 @@ CreateScript Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_CreateSecurityConfiguration.go.snap b/service/glue/snapshot/api_op_CreateSecurityConfiguration.go.snap index e6b953d330b..ad1c6703ced 100644 --- a/service/glue/snapshot/api_op_CreateSecurityConfiguration.go.snap +++ b/service/glue/snapshot/api_op_CreateSecurityConfiguration.go.snap @@ -14,7 +14,6 @@ CreateSecurityConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_CreateSession.go.snap b/service/glue/snapshot/api_op_CreateSession.go.snap index c8e4d04cea6..4b35454bb41 100644 --- a/service/glue/snapshot/api_op_CreateSession.go.snap +++ b/service/glue/snapshot/api_op_CreateSession.go.snap @@ -14,7 +14,6 @@ CreateSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_CreateTable.go.snap b/service/glue/snapshot/api_op_CreateTable.go.snap index 745172d72b8..9c4e81458fc 100644 --- a/service/glue/snapshot/api_op_CreateTable.go.snap +++ b/service/glue/snapshot/api_op_CreateTable.go.snap @@ -14,7 +14,6 @@ CreateTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_CreateTableOptimizer.go.snap b/service/glue/snapshot/api_op_CreateTableOptimizer.go.snap index 249dde05611..aa46ffb95e7 100644 --- a/service/glue/snapshot/api_op_CreateTableOptimizer.go.snap +++ b/service/glue/snapshot/api_op_CreateTableOptimizer.go.snap @@ -14,7 +14,6 @@ CreateTableOptimizer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_CreateTrigger.go.snap b/service/glue/snapshot/api_op_CreateTrigger.go.snap index aa7979f6281..11353ac245c 100644 --- a/service/glue/snapshot/api_op_CreateTrigger.go.snap +++ b/service/glue/snapshot/api_op_CreateTrigger.go.snap @@ -14,7 +14,6 @@ CreateTrigger Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_CreateUsageProfile.go.snap b/service/glue/snapshot/api_op_CreateUsageProfile.go.snap index 5f2f18c78a9..fa22c3b6ed2 100644 --- a/service/glue/snapshot/api_op_CreateUsageProfile.go.snap +++ b/service/glue/snapshot/api_op_CreateUsageProfile.go.snap @@ -14,7 +14,6 @@ CreateUsageProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_CreateUserDefinedFunction.go.snap b/service/glue/snapshot/api_op_CreateUserDefinedFunction.go.snap index 416b88cc365..6d2cb0d8f2e 100644 --- a/service/glue/snapshot/api_op_CreateUserDefinedFunction.go.snap +++ b/service/glue/snapshot/api_op_CreateUserDefinedFunction.go.snap @@ -14,7 +14,6 @@ CreateUserDefinedFunction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_CreateWorkflow.go.snap b/service/glue/snapshot/api_op_CreateWorkflow.go.snap index 23dcd4d6283..f1ae25c1fe1 100644 --- a/service/glue/snapshot/api_op_CreateWorkflow.go.snap +++ b/service/glue/snapshot/api_op_CreateWorkflow.go.snap @@ -14,7 +14,6 @@ CreateWorkflow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DeleteBlueprint.go.snap b/service/glue/snapshot/api_op_DeleteBlueprint.go.snap index 62649f39806..70012d0a8d4 100644 --- a/service/glue/snapshot/api_op_DeleteBlueprint.go.snap +++ b/service/glue/snapshot/api_op_DeleteBlueprint.go.snap @@ -14,7 +14,6 @@ DeleteBlueprint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DeleteCatalog.go.snap b/service/glue/snapshot/api_op_DeleteCatalog.go.snap index c66e022a0b4..83636ccd024 100644 --- a/service/glue/snapshot/api_op_DeleteCatalog.go.snap +++ b/service/glue/snapshot/api_op_DeleteCatalog.go.snap @@ -14,7 +14,6 @@ DeleteCatalog Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DeleteClassifier.go.snap b/service/glue/snapshot/api_op_DeleteClassifier.go.snap index 7f1b96b9b5a..6cc00102632 100644 --- a/service/glue/snapshot/api_op_DeleteClassifier.go.snap +++ b/service/glue/snapshot/api_op_DeleteClassifier.go.snap @@ -14,7 +14,6 @@ DeleteClassifier Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DeleteColumnStatisticsForPartition.go.snap b/service/glue/snapshot/api_op_DeleteColumnStatisticsForPartition.go.snap index aa1801a183e..c258c29b523 100644 --- a/service/glue/snapshot/api_op_DeleteColumnStatisticsForPartition.go.snap +++ b/service/glue/snapshot/api_op_DeleteColumnStatisticsForPartition.go.snap @@ -14,7 +14,6 @@ DeleteColumnStatisticsForPartition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DeleteColumnStatisticsForTable.go.snap b/service/glue/snapshot/api_op_DeleteColumnStatisticsForTable.go.snap index 95e04f1a0de..316ff8d530a 100644 --- a/service/glue/snapshot/api_op_DeleteColumnStatisticsForTable.go.snap +++ b/service/glue/snapshot/api_op_DeleteColumnStatisticsForTable.go.snap @@ -14,7 +14,6 @@ DeleteColumnStatisticsForTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DeleteColumnStatisticsTaskSettings.go.snap b/service/glue/snapshot/api_op_DeleteColumnStatisticsTaskSettings.go.snap index 3a0c16c8357..acc35cabef1 100644 --- a/service/glue/snapshot/api_op_DeleteColumnStatisticsTaskSettings.go.snap +++ b/service/glue/snapshot/api_op_DeleteColumnStatisticsTaskSettings.go.snap @@ -14,7 +14,6 @@ DeleteColumnStatisticsTaskSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DeleteConnection.go.snap b/service/glue/snapshot/api_op_DeleteConnection.go.snap index 95b646dafd7..a9cca584913 100644 --- a/service/glue/snapshot/api_op_DeleteConnection.go.snap +++ b/service/glue/snapshot/api_op_DeleteConnection.go.snap @@ -14,7 +14,6 @@ DeleteConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DeleteCrawler.go.snap b/service/glue/snapshot/api_op_DeleteCrawler.go.snap index 02d639e9c84..bd9f457ac52 100644 --- a/service/glue/snapshot/api_op_DeleteCrawler.go.snap +++ b/service/glue/snapshot/api_op_DeleteCrawler.go.snap @@ -14,7 +14,6 @@ DeleteCrawler Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DeleteCustomEntityType.go.snap b/service/glue/snapshot/api_op_DeleteCustomEntityType.go.snap index 0872d318476..c1a0801e170 100644 --- a/service/glue/snapshot/api_op_DeleteCustomEntityType.go.snap +++ b/service/glue/snapshot/api_op_DeleteCustomEntityType.go.snap @@ -14,7 +14,6 @@ DeleteCustomEntityType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DeleteDataQualityRuleset.go.snap b/service/glue/snapshot/api_op_DeleteDataQualityRuleset.go.snap index 75b414a8984..cda551418a8 100644 --- a/service/glue/snapshot/api_op_DeleteDataQualityRuleset.go.snap +++ b/service/glue/snapshot/api_op_DeleteDataQualityRuleset.go.snap @@ -14,7 +14,6 @@ DeleteDataQualityRuleset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DeleteDatabase.go.snap b/service/glue/snapshot/api_op_DeleteDatabase.go.snap index 75aea4d326b..25718bdf022 100644 --- a/service/glue/snapshot/api_op_DeleteDatabase.go.snap +++ b/service/glue/snapshot/api_op_DeleteDatabase.go.snap @@ -14,7 +14,6 @@ DeleteDatabase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DeleteDevEndpoint.go.snap b/service/glue/snapshot/api_op_DeleteDevEndpoint.go.snap index 4cce6294d1e..c941e0a334d 100644 --- a/service/glue/snapshot/api_op_DeleteDevEndpoint.go.snap +++ b/service/glue/snapshot/api_op_DeleteDevEndpoint.go.snap @@ -14,7 +14,6 @@ DeleteDevEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DeleteIntegration.go.snap b/service/glue/snapshot/api_op_DeleteIntegration.go.snap index b138e678938..cc8fc148389 100644 --- a/service/glue/snapshot/api_op_DeleteIntegration.go.snap +++ b/service/glue/snapshot/api_op_DeleteIntegration.go.snap @@ -14,7 +14,6 @@ DeleteIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DeleteIntegrationTableProperties.go.snap b/service/glue/snapshot/api_op_DeleteIntegrationTableProperties.go.snap index 99a7ca36311..20f8a437ad5 100644 --- a/service/glue/snapshot/api_op_DeleteIntegrationTableProperties.go.snap +++ b/service/glue/snapshot/api_op_DeleteIntegrationTableProperties.go.snap @@ -14,7 +14,6 @@ DeleteIntegrationTableProperties Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DeleteJob.go.snap b/service/glue/snapshot/api_op_DeleteJob.go.snap index fa2c54dcf0a..d47c3554a1e 100644 --- a/service/glue/snapshot/api_op_DeleteJob.go.snap +++ b/service/glue/snapshot/api_op_DeleteJob.go.snap @@ -14,7 +14,6 @@ DeleteJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DeleteMLTransform.go.snap b/service/glue/snapshot/api_op_DeleteMLTransform.go.snap index de91d24dd4f..72d466e4184 100644 --- a/service/glue/snapshot/api_op_DeleteMLTransform.go.snap +++ b/service/glue/snapshot/api_op_DeleteMLTransform.go.snap @@ -14,7 +14,6 @@ DeleteMLTransform Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DeletePartition.go.snap b/service/glue/snapshot/api_op_DeletePartition.go.snap index b2d8eabfc50..86d46e7ed68 100644 --- a/service/glue/snapshot/api_op_DeletePartition.go.snap +++ b/service/glue/snapshot/api_op_DeletePartition.go.snap @@ -14,7 +14,6 @@ DeletePartition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DeletePartitionIndex.go.snap b/service/glue/snapshot/api_op_DeletePartitionIndex.go.snap index b66103c94b6..69380cfb6c5 100644 --- a/service/glue/snapshot/api_op_DeletePartitionIndex.go.snap +++ b/service/glue/snapshot/api_op_DeletePartitionIndex.go.snap @@ -14,7 +14,6 @@ DeletePartitionIndex Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DeleteRegistry.go.snap b/service/glue/snapshot/api_op_DeleteRegistry.go.snap index 902d0a3601e..e28cef24a32 100644 --- a/service/glue/snapshot/api_op_DeleteRegistry.go.snap +++ b/service/glue/snapshot/api_op_DeleteRegistry.go.snap @@ -14,7 +14,6 @@ DeleteRegistry Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DeleteResourcePolicy.go.snap b/service/glue/snapshot/api_op_DeleteResourcePolicy.go.snap index 71f4a3802ad..88f47f54773 100644 --- a/service/glue/snapshot/api_op_DeleteResourcePolicy.go.snap +++ b/service/glue/snapshot/api_op_DeleteResourcePolicy.go.snap @@ -13,7 +13,6 @@ DeleteResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DeleteSchema.go.snap b/service/glue/snapshot/api_op_DeleteSchema.go.snap index 753ed53e6a6..043389aaa5f 100644 --- a/service/glue/snapshot/api_op_DeleteSchema.go.snap +++ b/service/glue/snapshot/api_op_DeleteSchema.go.snap @@ -14,7 +14,6 @@ DeleteSchema Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DeleteSchemaVersions.go.snap b/service/glue/snapshot/api_op_DeleteSchemaVersions.go.snap index c667c50fcb7..b0f0b1d23d4 100644 --- a/service/glue/snapshot/api_op_DeleteSchemaVersions.go.snap +++ b/service/glue/snapshot/api_op_DeleteSchemaVersions.go.snap @@ -14,7 +14,6 @@ DeleteSchemaVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DeleteSecurityConfiguration.go.snap b/service/glue/snapshot/api_op_DeleteSecurityConfiguration.go.snap index 1bae95722e6..a7d0f7432c8 100644 --- a/service/glue/snapshot/api_op_DeleteSecurityConfiguration.go.snap +++ b/service/glue/snapshot/api_op_DeleteSecurityConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteSecurityConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DeleteSession.go.snap b/service/glue/snapshot/api_op_DeleteSession.go.snap index 0a039c906e7..a91385e8503 100644 --- a/service/glue/snapshot/api_op_DeleteSession.go.snap +++ b/service/glue/snapshot/api_op_DeleteSession.go.snap @@ -14,7 +14,6 @@ DeleteSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DeleteTable.go.snap b/service/glue/snapshot/api_op_DeleteTable.go.snap index 470594fe04f..33786026b1d 100644 --- a/service/glue/snapshot/api_op_DeleteTable.go.snap +++ b/service/glue/snapshot/api_op_DeleteTable.go.snap @@ -14,7 +14,6 @@ DeleteTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DeleteTableOptimizer.go.snap b/service/glue/snapshot/api_op_DeleteTableOptimizer.go.snap index 09fb8866904..af48fb3a299 100644 --- a/service/glue/snapshot/api_op_DeleteTableOptimizer.go.snap +++ b/service/glue/snapshot/api_op_DeleteTableOptimizer.go.snap @@ -14,7 +14,6 @@ DeleteTableOptimizer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DeleteTableVersion.go.snap b/service/glue/snapshot/api_op_DeleteTableVersion.go.snap index dfb6b1bbb83..66da66948d6 100644 --- a/service/glue/snapshot/api_op_DeleteTableVersion.go.snap +++ b/service/glue/snapshot/api_op_DeleteTableVersion.go.snap @@ -14,7 +14,6 @@ DeleteTableVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DeleteTrigger.go.snap b/service/glue/snapshot/api_op_DeleteTrigger.go.snap index 9c8964b5424..87378a4c023 100644 --- a/service/glue/snapshot/api_op_DeleteTrigger.go.snap +++ b/service/glue/snapshot/api_op_DeleteTrigger.go.snap @@ -14,7 +14,6 @@ DeleteTrigger Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DeleteUsageProfile.go.snap b/service/glue/snapshot/api_op_DeleteUsageProfile.go.snap index 5a40544fd4f..6db63870568 100644 --- a/service/glue/snapshot/api_op_DeleteUsageProfile.go.snap +++ b/service/glue/snapshot/api_op_DeleteUsageProfile.go.snap @@ -14,7 +14,6 @@ DeleteUsageProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DeleteUserDefinedFunction.go.snap b/service/glue/snapshot/api_op_DeleteUserDefinedFunction.go.snap index ad9d3b3f0da..67232d2f7fd 100644 --- a/service/glue/snapshot/api_op_DeleteUserDefinedFunction.go.snap +++ b/service/glue/snapshot/api_op_DeleteUserDefinedFunction.go.snap @@ -14,7 +14,6 @@ DeleteUserDefinedFunction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DeleteWorkflow.go.snap b/service/glue/snapshot/api_op_DeleteWorkflow.go.snap index f774183f26a..a86f5754e15 100644 --- a/service/glue/snapshot/api_op_DeleteWorkflow.go.snap +++ b/service/glue/snapshot/api_op_DeleteWorkflow.go.snap @@ -14,7 +14,6 @@ DeleteWorkflow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DescribeConnectionType.go.snap b/service/glue/snapshot/api_op_DescribeConnectionType.go.snap index 564d11735eb..148d195398a 100644 --- a/service/glue/snapshot/api_op_DescribeConnectionType.go.snap +++ b/service/glue/snapshot/api_op_DescribeConnectionType.go.snap @@ -14,7 +14,6 @@ DescribeConnectionType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DescribeEntity.go.snap b/service/glue/snapshot/api_op_DescribeEntity.go.snap index ca7c7845018..ffbbe5cc014 100644 --- a/service/glue/snapshot/api_op_DescribeEntity.go.snap +++ b/service/glue/snapshot/api_op_DescribeEntity.go.snap @@ -14,7 +14,6 @@ DescribeEntity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DescribeInboundIntegrations.go.snap b/service/glue/snapshot/api_op_DescribeInboundIntegrations.go.snap index 08b65567d89..a799ae03425 100644 --- a/service/glue/snapshot/api_op_DescribeInboundIntegrations.go.snap +++ b/service/glue/snapshot/api_op_DescribeInboundIntegrations.go.snap @@ -13,7 +13,6 @@ DescribeInboundIntegrations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_DescribeIntegrations.go.snap b/service/glue/snapshot/api_op_DescribeIntegrations.go.snap index 1382bef6bb8..cdd32f0479d 100644 --- a/service/glue/snapshot/api_op_DescribeIntegrations.go.snap +++ b/service/glue/snapshot/api_op_DescribeIntegrations.go.snap @@ -13,7 +13,6 @@ DescribeIntegrations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetBlueprint.go.snap b/service/glue/snapshot/api_op_GetBlueprint.go.snap index 6924ca8a598..fb6b7393901 100644 --- a/service/glue/snapshot/api_op_GetBlueprint.go.snap +++ b/service/glue/snapshot/api_op_GetBlueprint.go.snap @@ -14,7 +14,6 @@ GetBlueprint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetBlueprintRun.go.snap b/service/glue/snapshot/api_op_GetBlueprintRun.go.snap index efc1777ad53..5b773b7aa5b 100644 --- a/service/glue/snapshot/api_op_GetBlueprintRun.go.snap +++ b/service/glue/snapshot/api_op_GetBlueprintRun.go.snap @@ -14,7 +14,6 @@ GetBlueprintRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetBlueprintRuns.go.snap b/service/glue/snapshot/api_op_GetBlueprintRuns.go.snap index 18ac7845661..07ec4fe4d8c 100644 --- a/service/glue/snapshot/api_op_GetBlueprintRuns.go.snap +++ b/service/glue/snapshot/api_op_GetBlueprintRuns.go.snap @@ -14,7 +14,6 @@ GetBlueprintRuns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetCatalog.go.snap b/service/glue/snapshot/api_op_GetCatalog.go.snap index e3eb5337fdd..ae8d0d10773 100644 --- a/service/glue/snapshot/api_op_GetCatalog.go.snap +++ b/service/glue/snapshot/api_op_GetCatalog.go.snap @@ -14,7 +14,6 @@ GetCatalog Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetCatalogImportStatus.go.snap b/service/glue/snapshot/api_op_GetCatalogImportStatus.go.snap index 543db77a3c5..9b1360db736 100644 --- a/service/glue/snapshot/api_op_GetCatalogImportStatus.go.snap +++ b/service/glue/snapshot/api_op_GetCatalogImportStatus.go.snap @@ -13,7 +13,6 @@ GetCatalogImportStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetCatalogs.go.snap b/service/glue/snapshot/api_op_GetCatalogs.go.snap index d5308b90e37..beea1c47ad5 100644 --- a/service/glue/snapshot/api_op_GetCatalogs.go.snap +++ b/service/glue/snapshot/api_op_GetCatalogs.go.snap @@ -13,7 +13,6 @@ GetCatalogs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetClassifier.go.snap b/service/glue/snapshot/api_op_GetClassifier.go.snap index e6f896995df..71adf264000 100644 --- a/service/glue/snapshot/api_op_GetClassifier.go.snap +++ b/service/glue/snapshot/api_op_GetClassifier.go.snap @@ -14,7 +14,6 @@ GetClassifier Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetClassifiers.go.snap b/service/glue/snapshot/api_op_GetClassifiers.go.snap index 1bd28d92f05..da787ec99de 100644 --- a/service/glue/snapshot/api_op_GetClassifiers.go.snap +++ b/service/glue/snapshot/api_op_GetClassifiers.go.snap @@ -13,7 +13,6 @@ GetClassifiers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetColumnStatisticsForPartition.go.snap b/service/glue/snapshot/api_op_GetColumnStatisticsForPartition.go.snap index 5c9139bcb8f..d7025391843 100644 --- a/service/glue/snapshot/api_op_GetColumnStatisticsForPartition.go.snap +++ b/service/glue/snapshot/api_op_GetColumnStatisticsForPartition.go.snap @@ -14,7 +14,6 @@ GetColumnStatisticsForPartition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetColumnStatisticsForTable.go.snap b/service/glue/snapshot/api_op_GetColumnStatisticsForTable.go.snap index fdef50437d8..09538b1cd2f 100644 --- a/service/glue/snapshot/api_op_GetColumnStatisticsForTable.go.snap +++ b/service/glue/snapshot/api_op_GetColumnStatisticsForTable.go.snap @@ -14,7 +14,6 @@ GetColumnStatisticsForTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetColumnStatisticsTaskRun.go.snap b/service/glue/snapshot/api_op_GetColumnStatisticsTaskRun.go.snap index 3a732c75dc1..f21b87dc5a1 100644 --- a/service/glue/snapshot/api_op_GetColumnStatisticsTaskRun.go.snap +++ b/service/glue/snapshot/api_op_GetColumnStatisticsTaskRun.go.snap @@ -14,7 +14,6 @@ GetColumnStatisticsTaskRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetColumnStatisticsTaskRuns.go.snap b/service/glue/snapshot/api_op_GetColumnStatisticsTaskRuns.go.snap index 584aa5d65c4..031df76d789 100644 --- a/service/glue/snapshot/api_op_GetColumnStatisticsTaskRuns.go.snap +++ b/service/glue/snapshot/api_op_GetColumnStatisticsTaskRuns.go.snap @@ -14,7 +14,6 @@ GetColumnStatisticsTaskRuns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetColumnStatisticsTaskSettings.go.snap b/service/glue/snapshot/api_op_GetColumnStatisticsTaskSettings.go.snap index 76979d67e71..5673737bfbb 100644 --- a/service/glue/snapshot/api_op_GetColumnStatisticsTaskSettings.go.snap +++ b/service/glue/snapshot/api_op_GetColumnStatisticsTaskSettings.go.snap @@ -14,7 +14,6 @@ GetColumnStatisticsTaskSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetConnection.go.snap b/service/glue/snapshot/api_op_GetConnection.go.snap index b305d4ada6d..b6411ef260a 100644 --- a/service/glue/snapshot/api_op_GetConnection.go.snap +++ b/service/glue/snapshot/api_op_GetConnection.go.snap @@ -14,7 +14,6 @@ GetConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetConnections.go.snap b/service/glue/snapshot/api_op_GetConnections.go.snap index 9b225f94b5c..c8c4a3b9479 100644 --- a/service/glue/snapshot/api_op_GetConnections.go.snap +++ b/service/glue/snapshot/api_op_GetConnections.go.snap @@ -13,7 +13,6 @@ GetConnections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetCrawler.go.snap b/service/glue/snapshot/api_op_GetCrawler.go.snap index 8b886a04518..4eb22d2bd70 100644 --- a/service/glue/snapshot/api_op_GetCrawler.go.snap +++ b/service/glue/snapshot/api_op_GetCrawler.go.snap @@ -14,7 +14,6 @@ GetCrawler Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetCrawlerMetrics.go.snap b/service/glue/snapshot/api_op_GetCrawlerMetrics.go.snap index 82331b9b3d6..74900bf116f 100644 --- a/service/glue/snapshot/api_op_GetCrawlerMetrics.go.snap +++ b/service/glue/snapshot/api_op_GetCrawlerMetrics.go.snap @@ -13,7 +13,6 @@ GetCrawlerMetrics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetCrawlers.go.snap b/service/glue/snapshot/api_op_GetCrawlers.go.snap index b05cc31df2a..5345194d318 100644 --- a/service/glue/snapshot/api_op_GetCrawlers.go.snap +++ b/service/glue/snapshot/api_op_GetCrawlers.go.snap @@ -13,7 +13,6 @@ GetCrawlers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetCustomEntityType.go.snap b/service/glue/snapshot/api_op_GetCustomEntityType.go.snap index b0b1b884852..3800ef96b6b 100644 --- a/service/glue/snapshot/api_op_GetCustomEntityType.go.snap +++ b/service/glue/snapshot/api_op_GetCustomEntityType.go.snap @@ -14,7 +14,6 @@ GetCustomEntityType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetDataCatalogEncryptionSettings.go.snap b/service/glue/snapshot/api_op_GetDataCatalogEncryptionSettings.go.snap index 3013311c815..7d61adf6197 100644 --- a/service/glue/snapshot/api_op_GetDataCatalogEncryptionSettings.go.snap +++ b/service/glue/snapshot/api_op_GetDataCatalogEncryptionSettings.go.snap @@ -13,7 +13,6 @@ GetDataCatalogEncryptionSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetDataQualityModel.go.snap b/service/glue/snapshot/api_op_GetDataQualityModel.go.snap index 28966e553f9..4f64997e70b 100644 --- a/service/glue/snapshot/api_op_GetDataQualityModel.go.snap +++ b/service/glue/snapshot/api_op_GetDataQualityModel.go.snap @@ -14,7 +14,6 @@ GetDataQualityModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetDataQualityModelResult.go.snap b/service/glue/snapshot/api_op_GetDataQualityModelResult.go.snap index 1c483d74067..90997d65f95 100644 --- a/service/glue/snapshot/api_op_GetDataQualityModelResult.go.snap +++ b/service/glue/snapshot/api_op_GetDataQualityModelResult.go.snap @@ -14,7 +14,6 @@ GetDataQualityModelResult Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetDataQualityResult.go.snap b/service/glue/snapshot/api_op_GetDataQualityResult.go.snap index 28b56caa53d..2b35274f5e2 100644 --- a/service/glue/snapshot/api_op_GetDataQualityResult.go.snap +++ b/service/glue/snapshot/api_op_GetDataQualityResult.go.snap @@ -14,7 +14,6 @@ GetDataQualityResult Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetDataQualityRuleRecommendationRun.go.snap b/service/glue/snapshot/api_op_GetDataQualityRuleRecommendationRun.go.snap index 28d011f95c5..e8e80ae31b6 100644 --- a/service/glue/snapshot/api_op_GetDataQualityRuleRecommendationRun.go.snap +++ b/service/glue/snapshot/api_op_GetDataQualityRuleRecommendationRun.go.snap @@ -14,7 +14,6 @@ GetDataQualityRuleRecommendationRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetDataQualityRuleset.go.snap b/service/glue/snapshot/api_op_GetDataQualityRuleset.go.snap index 6d1f83c2506..cc42b503027 100644 --- a/service/glue/snapshot/api_op_GetDataQualityRuleset.go.snap +++ b/service/glue/snapshot/api_op_GetDataQualityRuleset.go.snap @@ -14,7 +14,6 @@ GetDataQualityRuleset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetDataQualityRulesetEvaluationRun.go.snap b/service/glue/snapshot/api_op_GetDataQualityRulesetEvaluationRun.go.snap index fbebf27103b..68687f6f34e 100644 --- a/service/glue/snapshot/api_op_GetDataQualityRulesetEvaluationRun.go.snap +++ b/service/glue/snapshot/api_op_GetDataQualityRulesetEvaluationRun.go.snap @@ -14,7 +14,6 @@ GetDataQualityRulesetEvaluationRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetDatabase.go.snap b/service/glue/snapshot/api_op_GetDatabase.go.snap index 43bb4620956..3b1c2f8ca68 100644 --- a/service/glue/snapshot/api_op_GetDatabase.go.snap +++ b/service/glue/snapshot/api_op_GetDatabase.go.snap @@ -14,7 +14,6 @@ GetDatabase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetDatabases.go.snap b/service/glue/snapshot/api_op_GetDatabases.go.snap index 2040913c194..e582c8ffd3f 100644 --- a/service/glue/snapshot/api_op_GetDatabases.go.snap +++ b/service/glue/snapshot/api_op_GetDatabases.go.snap @@ -13,7 +13,6 @@ GetDatabases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetDataflowGraph.go.snap b/service/glue/snapshot/api_op_GetDataflowGraph.go.snap index 489ea055cca..b4166b184db 100644 --- a/service/glue/snapshot/api_op_GetDataflowGraph.go.snap +++ b/service/glue/snapshot/api_op_GetDataflowGraph.go.snap @@ -13,7 +13,6 @@ GetDataflowGraph Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetDevEndpoint.go.snap b/service/glue/snapshot/api_op_GetDevEndpoint.go.snap index 9d693952dd0..7856a39b458 100644 --- a/service/glue/snapshot/api_op_GetDevEndpoint.go.snap +++ b/service/glue/snapshot/api_op_GetDevEndpoint.go.snap @@ -14,7 +14,6 @@ GetDevEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetDevEndpoints.go.snap b/service/glue/snapshot/api_op_GetDevEndpoints.go.snap index f048a61eff0..6cbbb6fcf20 100644 --- a/service/glue/snapshot/api_op_GetDevEndpoints.go.snap +++ b/service/glue/snapshot/api_op_GetDevEndpoints.go.snap @@ -13,7 +13,6 @@ GetDevEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetEntityRecords.go.snap b/service/glue/snapshot/api_op_GetEntityRecords.go.snap index d6d0b85db8a..3cba0a5e406 100644 --- a/service/glue/snapshot/api_op_GetEntityRecords.go.snap +++ b/service/glue/snapshot/api_op_GetEntityRecords.go.snap @@ -14,7 +14,6 @@ GetEntityRecords Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetIntegrationResourceProperty.go.snap b/service/glue/snapshot/api_op_GetIntegrationResourceProperty.go.snap index 0a0ec492d22..b6939ffb49e 100644 --- a/service/glue/snapshot/api_op_GetIntegrationResourceProperty.go.snap +++ b/service/glue/snapshot/api_op_GetIntegrationResourceProperty.go.snap @@ -14,7 +14,6 @@ GetIntegrationResourceProperty Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetIntegrationTableProperties.go.snap b/service/glue/snapshot/api_op_GetIntegrationTableProperties.go.snap index 8895fe1acb5..8833a254e7f 100644 --- a/service/glue/snapshot/api_op_GetIntegrationTableProperties.go.snap +++ b/service/glue/snapshot/api_op_GetIntegrationTableProperties.go.snap @@ -14,7 +14,6 @@ GetIntegrationTableProperties Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetJob.go.snap b/service/glue/snapshot/api_op_GetJob.go.snap index 8785dbdb074..6e4ff7bd3f6 100644 --- a/service/glue/snapshot/api_op_GetJob.go.snap +++ b/service/glue/snapshot/api_op_GetJob.go.snap @@ -14,7 +14,6 @@ GetJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetJobBookmark.go.snap b/service/glue/snapshot/api_op_GetJobBookmark.go.snap index 6470c36c8b4..305833e83ce 100644 --- a/service/glue/snapshot/api_op_GetJobBookmark.go.snap +++ b/service/glue/snapshot/api_op_GetJobBookmark.go.snap @@ -14,7 +14,6 @@ GetJobBookmark Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetJobRun.go.snap b/service/glue/snapshot/api_op_GetJobRun.go.snap index 7ef95b031aa..3979268055d 100644 --- a/service/glue/snapshot/api_op_GetJobRun.go.snap +++ b/service/glue/snapshot/api_op_GetJobRun.go.snap @@ -14,7 +14,6 @@ GetJobRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetJobRuns.go.snap b/service/glue/snapshot/api_op_GetJobRuns.go.snap index 0d1d05b0d21..8a27ebe5979 100644 --- a/service/glue/snapshot/api_op_GetJobRuns.go.snap +++ b/service/glue/snapshot/api_op_GetJobRuns.go.snap @@ -14,7 +14,6 @@ GetJobRuns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetJobs.go.snap b/service/glue/snapshot/api_op_GetJobs.go.snap index d42653e0358..1936aafea06 100644 --- a/service/glue/snapshot/api_op_GetJobs.go.snap +++ b/service/glue/snapshot/api_op_GetJobs.go.snap @@ -13,7 +13,6 @@ GetJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetMLTaskRun.go.snap b/service/glue/snapshot/api_op_GetMLTaskRun.go.snap index 3b04e71a522..600c52ea704 100644 --- a/service/glue/snapshot/api_op_GetMLTaskRun.go.snap +++ b/service/glue/snapshot/api_op_GetMLTaskRun.go.snap @@ -14,7 +14,6 @@ GetMLTaskRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetMLTaskRuns.go.snap b/service/glue/snapshot/api_op_GetMLTaskRuns.go.snap index e55fae399c2..35c78f32e77 100644 --- a/service/glue/snapshot/api_op_GetMLTaskRuns.go.snap +++ b/service/glue/snapshot/api_op_GetMLTaskRuns.go.snap @@ -14,7 +14,6 @@ GetMLTaskRuns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetMLTransform.go.snap b/service/glue/snapshot/api_op_GetMLTransform.go.snap index 8ab322c02d8..cc0438eee4e 100644 --- a/service/glue/snapshot/api_op_GetMLTransform.go.snap +++ b/service/glue/snapshot/api_op_GetMLTransform.go.snap @@ -14,7 +14,6 @@ GetMLTransform Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetMLTransforms.go.snap b/service/glue/snapshot/api_op_GetMLTransforms.go.snap index 8c8a6e0e443..c192f49a78c 100644 --- a/service/glue/snapshot/api_op_GetMLTransforms.go.snap +++ b/service/glue/snapshot/api_op_GetMLTransforms.go.snap @@ -14,7 +14,6 @@ GetMLTransforms Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetMapping.go.snap b/service/glue/snapshot/api_op_GetMapping.go.snap index 2c25d71c0c0..b9208e494f5 100644 --- a/service/glue/snapshot/api_op_GetMapping.go.snap +++ b/service/glue/snapshot/api_op_GetMapping.go.snap @@ -14,7 +14,6 @@ GetMapping Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetPartition.go.snap b/service/glue/snapshot/api_op_GetPartition.go.snap index fbe6ea0fe78..aad069031b9 100644 --- a/service/glue/snapshot/api_op_GetPartition.go.snap +++ b/service/glue/snapshot/api_op_GetPartition.go.snap @@ -14,7 +14,6 @@ GetPartition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetPartitionIndexes.go.snap b/service/glue/snapshot/api_op_GetPartitionIndexes.go.snap index 7f786357a52..f726d856a71 100644 --- a/service/glue/snapshot/api_op_GetPartitionIndexes.go.snap +++ b/service/glue/snapshot/api_op_GetPartitionIndexes.go.snap @@ -14,7 +14,6 @@ GetPartitionIndexes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetPartitions.go.snap b/service/glue/snapshot/api_op_GetPartitions.go.snap index 1f973692d5c..35270bef2f5 100644 --- a/service/glue/snapshot/api_op_GetPartitions.go.snap +++ b/service/glue/snapshot/api_op_GetPartitions.go.snap @@ -14,7 +14,6 @@ GetPartitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetPlan.go.snap b/service/glue/snapshot/api_op_GetPlan.go.snap index 797c764f03f..9dfdcd5b11c 100644 --- a/service/glue/snapshot/api_op_GetPlan.go.snap +++ b/service/glue/snapshot/api_op_GetPlan.go.snap @@ -14,7 +14,6 @@ GetPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetRegistry.go.snap b/service/glue/snapshot/api_op_GetRegistry.go.snap index 6edbcc67ffc..59c38f5c138 100644 --- a/service/glue/snapshot/api_op_GetRegistry.go.snap +++ b/service/glue/snapshot/api_op_GetRegistry.go.snap @@ -14,7 +14,6 @@ GetRegistry Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetResourcePolicies.go.snap b/service/glue/snapshot/api_op_GetResourcePolicies.go.snap index 2e7636f0f2c..5573a015c15 100644 --- a/service/glue/snapshot/api_op_GetResourcePolicies.go.snap +++ b/service/glue/snapshot/api_op_GetResourcePolicies.go.snap @@ -13,7 +13,6 @@ GetResourcePolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetResourcePolicy.go.snap b/service/glue/snapshot/api_op_GetResourcePolicy.go.snap index a9a7e4734cf..81881043eef 100644 --- a/service/glue/snapshot/api_op_GetResourcePolicy.go.snap +++ b/service/glue/snapshot/api_op_GetResourcePolicy.go.snap @@ -13,7 +13,6 @@ GetResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetSchema.go.snap b/service/glue/snapshot/api_op_GetSchema.go.snap index 93f07aaad6a..6bdbb8410f2 100644 --- a/service/glue/snapshot/api_op_GetSchema.go.snap +++ b/service/glue/snapshot/api_op_GetSchema.go.snap @@ -14,7 +14,6 @@ GetSchema Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetSchemaByDefinition.go.snap b/service/glue/snapshot/api_op_GetSchemaByDefinition.go.snap index 617c11f5e5b..9180c90a8ce 100644 --- a/service/glue/snapshot/api_op_GetSchemaByDefinition.go.snap +++ b/service/glue/snapshot/api_op_GetSchemaByDefinition.go.snap @@ -14,7 +14,6 @@ GetSchemaByDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetSchemaVersion.go.snap b/service/glue/snapshot/api_op_GetSchemaVersion.go.snap index 3c77114d8a7..0843bc3a29a 100644 --- a/service/glue/snapshot/api_op_GetSchemaVersion.go.snap +++ b/service/glue/snapshot/api_op_GetSchemaVersion.go.snap @@ -13,7 +13,6 @@ GetSchemaVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetSchemaVersionsDiff.go.snap b/service/glue/snapshot/api_op_GetSchemaVersionsDiff.go.snap index 039bb576dc9..19bf5bee925 100644 --- a/service/glue/snapshot/api_op_GetSchemaVersionsDiff.go.snap +++ b/service/glue/snapshot/api_op_GetSchemaVersionsDiff.go.snap @@ -14,7 +14,6 @@ GetSchemaVersionsDiff Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetSecurityConfiguration.go.snap b/service/glue/snapshot/api_op_GetSecurityConfiguration.go.snap index 6522ab7e7ee..0ff50d71964 100644 --- a/service/glue/snapshot/api_op_GetSecurityConfiguration.go.snap +++ b/service/glue/snapshot/api_op_GetSecurityConfiguration.go.snap @@ -14,7 +14,6 @@ GetSecurityConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetSecurityConfigurations.go.snap b/service/glue/snapshot/api_op_GetSecurityConfigurations.go.snap index 64b0523a9a8..403d406b123 100644 --- a/service/glue/snapshot/api_op_GetSecurityConfigurations.go.snap +++ b/service/glue/snapshot/api_op_GetSecurityConfigurations.go.snap @@ -13,7 +13,6 @@ GetSecurityConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetSession.go.snap b/service/glue/snapshot/api_op_GetSession.go.snap index b1fe5b7fa64..409a87aab6e 100644 --- a/service/glue/snapshot/api_op_GetSession.go.snap +++ b/service/glue/snapshot/api_op_GetSession.go.snap @@ -14,7 +14,6 @@ GetSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetStatement.go.snap b/service/glue/snapshot/api_op_GetStatement.go.snap index bdcef0604bb..a857193d51a 100644 --- a/service/glue/snapshot/api_op_GetStatement.go.snap +++ b/service/glue/snapshot/api_op_GetStatement.go.snap @@ -14,7 +14,6 @@ GetStatement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetTable.go.snap b/service/glue/snapshot/api_op_GetTable.go.snap index 5566367ab4e..af9c480381f 100644 --- a/service/glue/snapshot/api_op_GetTable.go.snap +++ b/service/glue/snapshot/api_op_GetTable.go.snap @@ -14,7 +14,6 @@ GetTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetTableOptimizer.go.snap b/service/glue/snapshot/api_op_GetTableOptimizer.go.snap index f9d3cd885f8..54a7c4be2f5 100644 --- a/service/glue/snapshot/api_op_GetTableOptimizer.go.snap +++ b/service/glue/snapshot/api_op_GetTableOptimizer.go.snap @@ -14,7 +14,6 @@ GetTableOptimizer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetTableVersion.go.snap b/service/glue/snapshot/api_op_GetTableVersion.go.snap index 5ca13aa7abb..7cfd23c6a04 100644 --- a/service/glue/snapshot/api_op_GetTableVersion.go.snap +++ b/service/glue/snapshot/api_op_GetTableVersion.go.snap @@ -14,7 +14,6 @@ GetTableVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetTableVersions.go.snap b/service/glue/snapshot/api_op_GetTableVersions.go.snap index 220264d362e..ca3ce67841b 100644 --- a/service/glue/snapshot/api_op_GetTableVersions.go.snap +++ b/service/glue/snapshot/api_op_GetTableVersions.go.snap @@ -14,7 +14,6 @@ GetTableVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetTables.go.snap b/service/glue/snapshot/api_op_GetTables.go.snap index 2dd1bbb6ab9..21a46189c43 100644 --- a/service/glue/snapshot/api_op_GetTables.go.snap +++ b/service/glue/snapshot/api_op_GetTables.go.snap @@ -14,7 +14,6 @@ GetTables Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetTags.go.snap b/service/glue/snapshot/api_op_GetTags.go.snap index ac57500ef60..0ad3eb6ac2f 100644 --- a/service/glue/snapshot/api_op_GetTags.go.snap +++ b/service/glue/snapshot/api_op_GetTags.go.snap @@ -14,7 +14,6 @@ GetTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetTrigger.go.snap b/service/glue/snapshot/api_op_GetTrigger.go.snap index 9c68d631949..fbb8cf298e9 100644 --- a/service/glue/snapshot/api_op_GetTrigger.go.snap +++ b/service/glue/snapshot/api_op_GetTrigger.go.snap @@ -14,7 +14,6 @@ GetTrigger Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetTriggers.go.snap b/service/glue/snapshot/api_op_GetTriggers.go.snap index 0961fe7ad50..d3804681e73 100644 --- a/service/glue/snapshot/api_op_GetTriggers.go.snap +++ b/service/glue/snapshot/api_op_GetTriggers.go.snap @@ -13,7 +13,6 @@ GetTriggers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetUnfilteredPartitionMetadata.go.snap b/service/glue/snapshot/api_op_GetUnfilteredPartitionMetadata.go.snap index 7bcd8fd9616..4fac7f403ae 100644 --- a/service/glue/snapshot/api_op_GetUnfilteredPartitionMetadata.go.snap +++ b/service/glue/snapshot/api_op_GetUnfilteredPartitionMetadata.go.snap @@ -14,7 +14,6 @@ GetUnfilteredPartitionMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetUnfilteredPartitionsMetadata.go.snap b/service/glue/snapshot/api_op_GetUnfilteredPartitionsMetadata.go.snap index 5576ab64036..be43dc6cb24 100644 --- a/service/glue/snapshot/api_op_GetUnfilteredPartitionsMetadata.go.snap +++ b/service/glue/snapshot/api_op_GetUnfilteredPartitionsMetadata.go.snap @@ -14,7 +14,6 @@ GetUnfilteredPartitionsMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetUnfilteredTableMetadata.go.snap b/service/glue/snapshot/api_op_GetUnfilteredTableMetadata.go.snap index 4410a0c794c..d6ae4bfd5dd 100644 --- a/service/glue/snapshot/api_op_GetUnfilteredTableMetadata.go.snap +++ b/service/glue/snapshot/api_op_GetUnfilteredTableMetadata.go.snap @@ -14,7 +14,6 @@ GetUnfilteredTableMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetUsageProfile.go.snap b/service/glue/snapshot/api_op_GetUsageProfile.go.snap index e2dd2594a4d..f1ada08b192 100644 --- a/service/glue/snapshot/api_op_GetUsageProfile.go.snap +++ b/service/glue/snapshot/api_op_GetUsageProfile.go.snap @@ -14,7 +14,6 @@ GetUsageProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetUserDefinedFunction.go.snap b/service/glue/snapshot/api_op_GetUserDefinedFunction.go.snap index 3757eb4e3df..159bfce1764 100644 --- a/service/glue/snapshot/api_op_GetUserDefinedFunction.go.snap +++ b/service/glue/snapshot/api_op_GetUserDefinedFunction.go.snap @@ -14,7 +14,6 @@ GetUserDefinedFunction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetUserDefinedFunctions.go.snap b/service/glue/snapshot/api_op_GetUserDefinedFunctions.go.snap index ecbcf646fa1..556414c01a7 100644 --- a/service/glue/snapshot/api_op_GetUserDefinedFunctions.go.snap +++ b/service/glue/snapshot/api_op_GetUserDefinedFunctions.go.snap @@ -14,7 +14,6 @@ GetUserDefinedFunctions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetWorkflow.go.snap b/service/glue/snapshot/api_op_GetWorkflow.go.snap index 3413cbe7fa8..bfa3bc8a6c8 100644 --- a/service/glue/snapshot/api_op_GetWorkflow.go.snap +++ b/service/glue/snapshot/api_op_GetWorkflow.go.snap @@ -14,7 +14,6 @@ GetWorkflow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetWorkflowRun.go.snap b/service/glue/snapshot/api_op_GetWorkflowRun.go.snap index a2d00220df3..f12d8c6e3ee 100644 --- a/service/glue/snapshot/api_op_GetWorkflowRun.go.snap +++ b/service/glue/snapshot/api_op_GetWorkflowRun.go.snap @@ -14,7 +14,6 @@ GetWorkflowRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetWorkflowRunProperties.go.snap b/service/glue/snapshot/api_op_GetWorkflowRunProperties.go.snap index 139609330db..d119614797c 100644 --- a/service/glue/snapshot/api_op_GetWorkflowRunProperties.go.snap +++ b/service/glue/snapshot/api_op_GetWorkflowRunProperties.go.snap @@ -14,7 +14,6 @@ GetWorkflowRunProperties Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_GetWorkflowRuns.go.snap b/service/glue/snapshot/api_op_GetWorkflowRuns.go.snap index d4b02973dbd..bc93aaf64c1 100644 --- a/service/glue/snapshot/api_op_GetWorkflowRuns.go.snap +++ b/service/glue/snapshot/api_op_GetWorkflowRuns.go.snap @@ -14,7 +14,6 @@ GetWorkflowRuns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_ImportCatalogToGlue.go.snap b/service/glue/snapshot/api_op_ImportCatalogToGlue.go.snap index a7618db74cc..0ae2198d16f 100644 --- a/service/glue/snapshot/api_op_ImportCatalogToGlue.go.snap +++ b/service/glue/snapshot/api_op_ImportCatalogToGlue.go.snap @@ -13,7 +13,6 @@ ImportCatalogToGlue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_ListBlueprints.go.snap b/service/glue/snapshot/api_op_ListBlueprints.go.snap index 65facb98d60..b2386e8cb0a 100644 --- a/service/glue/snapshot/api_op_ListBlueprints.go.snap +++ b/service/glue/snapshot/api_op_ListBlueprints.go.snap @@ -13,7 +13,6 @@ ListBlueprints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_ListColumnStatisticsTaskRuns.go.snap b/service/glue/snapshot/api_op_ListColumnStatisticsTaskRuns.go.snap index 5337ddcd003..b085928aa0a 100644 --- a/service/glue/snapshot/api_op_ListColumnStatisticsTaskRuns.go.snap +++ b/service/glue/snapshot/api_op_ListColumnStatisticsTaskRuns.go.snap @@ -13,7 +13,6 @@ ListColumnStatisticsTaskRuns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_ListConnectionTypes.go.snap b/service/glue/snapshot/api_op_ListConnectionTypes.go.snap index a639cd4d144..2a9ccb9a1fd 100644 --- a/service/glue/snapshot/api_op_ListConnectionTypes.go.snap +++ b/service/glue/snapshot/api_op_ListConnectionTypes.go.snap @@ -13,7 +13,6 @@ ListConnectionTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_ListCrawlers.go.snap b/service/glue/snapshot/api_op_ListCrawlers.go.snap index 777f00903c6..6a78c0691c2 100644 --- a/service/glue/snapshot/api_op_ListCrawlers.go.snap +++ b/service/glue/snapshot/api_op_ListCrawlers.go.snap @@ -13,7 +13,6 @@ ListCrawlers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_ListCrawls.go.snap b/service/glue/snapshot/api_op_ListCrawls.go.snap index e437e7298c1..00b0c801216 100644 --- a/service/glue/snapshot/api_op_ListCrawls.go.snap +++ b/service/glue/snapshot/api_op_ListCrawls.go.snap @@ -14,7 +14,6 @@ ListCrawls Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_ListCustomEntityTypes.go.snap b/service/glue/snapshot/api_op_ListCustomEntityTypes.go.snap index 77021c35e52..40ec0ccc0ad 100644 --- a/service/glue/snapshot/api_op_ListCustomEntityTypes.go.snap +++ b/service/glue/snapshot/api_op_ListCustomEntityTypes.go.snap @@ -13,7 +13,6 @@ ListCustomEntityTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_ListDataQualityResults.go.snap b/service/glue/snapshot/api_op_ListDataQualityResults.go.snap index ac88710c302..3cbc9a8441c 100644 --- a/service/glue/snapshot/api_op_ListDataQualityResults.go.snap +++ b/service/glue/snapshot/api_op_ListDataQualityResults.go.snap @@ -14,7 +14,6 @@ ListDataQualityResults Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_ListDataQualityRuleRecommendationRuns.go.snap b/service/glue/snapshot/api_op_ListDataQualityRuleRecommendationRuns.go.snap index 185758430fb..36278200ac9 100644 --- a/service/glue/snapshot/api_op_ListDataQualityRuleRecommendationRuns.go.snap +++ b/service/glue/snapshot/api_op_ListDataQualityRuleRecommendationRuns.go.snap @@ -14,7 +14,6 @@ ListDataQualityRuleRecommendationRuns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_ListDataQualityRulesetEvaluationRuns.go.snap b/service/glue/snapshot/api_op_ListDataQualityRulesetEvaluationRuns.go.snap index c87bfcc4fc3..8e8f4d871be 100644 --- a/service/glue/snapshot/api_op_ListDataQualityRulesetEvaluationRuns.go.snap +++ b/service/glue/snapshot/api_op_ListDataQualityRulesetEvaluationRuns.go.snap @@ -14,7 +14,6 @@ ListDataQualityRulesetEvaluationRuns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_ListDataQualityRulesets.go.snap b/service/glue/snapshot/api_op_ListDataQualityRulesets.go.snap index 2ead839d55f..818695aa3f0 100644 --- a/service/glue/snapshot/api_op_ListDataQualityRulesets.go.snap +++ b/service/glue/snapshot/api_op_ListDataQualityRulesets.go.snap @@ -14,7 +14,6 @@ ListDataQualityRulesets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_ListDataQualityStatisticAnnotations.go.snap b/service/glue/snapshot/api_op_ListDataQualityStatisticAnnotations.go.snap index 5ec173c80d8..6c3862f64a0 100644 --- a/service/glue/snapshot/api_op_ListDataQualityStatisticAnnotations.go.snap +++ b/service/glue/snapshot/api_op_ListDataQualityStatisticAnnotations.go.snap @@ -13,7 +13,6 @@ ListDataQualityStatisticAnnotations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_ListDataQualityStatistics.go.snap b/service/glue/snapshot/api_op_ListDataQualityStatistics.go.snap index 994879f886e..510ebafe921 100644 --- a/service/glue/snapshot/api_op_ListDataQualityStatistics.go.snap +++ b/service/glue/snapshot/api_op_ListDataQualityStatistics.go.snap @@ -13,7 +13,6 @@ ListDataQualityStatistics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_ListDevEndpoints.go.snap b/service/glue/snapshot/api_op_ListDevEndpoints.go.snap index b51859aa41a..8269b9e21fc 100644 --- a/service/glue/snapshot/api_op_ListDevEndpoints.go.snap +++ b/service/glue/snapshot/api_op_ListDevEndpoints.go.snap @@ -13,7 +13,6 @@ ListDevEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_ListEntities.go.snap b/service/glue/snapshot/api_op_ListEntities.go.snap index 733aad352a9..4d4ad6c49e9 100644 --- a/service/glue/snapshot/api_op_ListEntities.go.snap +++ b/service/glue/snapshot/api_op_ListEntities.go.snap @@ -13,7 +13,6 @@ ListEntities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_ListJobs.go.snap b/service/glue/snapshot/api_op_ListJobs.go.snap index a2366e394ac..3ec2f2c0720 100644 --- a/service/glue/snapshot/api_op_ListJobs.go.snap +++ b/service/glue/snapshot/api_op_ListJobs.go.snap @@ -13,7 +13,6 @@ ListJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_ListMLTransforms.go.snap b/service/glue/snapshot/api_op_ListMLTransforms.go.snap index 5d08e45e462..e0a6ed9878e 100644 --- a/service/glue/snapshot/api_op_ListMLTransforms.go.snap +++ b/service/glue/snapshot/api_op_ListMLTransforms.go.snap @@ -14,7 +14,6 @@ ListMLTransforms Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_ListRegistries.go.snap b/service/glue/snapshot/api_op_ListRegistries.go.snap index 68c0f8b099b..d7b70e6303d 100644 --- a/service/glue/snapshot/api_op_ListRegistries.go.snap +++ b/service/glue/snapshot/api_op_ListRegistries.go.snap @@ -13,7 +13,6 @@ ListRegistries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_ListSchemaVersions.go.snap b/service/glue/snapshot/api_op_ListSchemaVersions.go.snap index ab095ed497f..542697cdd35 100644 --- a/service/glue/snapshot/api_op_ListSchemaVersions.go.snap +++ b/service/glue/snapshot/api_op_ListSchemaVersions.go.snap @@ -14,7 +14,6 @@ ListSchemaVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_ListSchemas.go.snap b/service/glue/snapshot/api_op_ListSchemas.go.snap index 5c0669fd020..81eef00558a 100644 --- a/service/glue/snapshot/api_op_ListSchemas.go.snap +++ b/service/glue/snapshot/api_op_ListSchemas.go.snap @@ -13,7 +13,6 @@ ListSchemas Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_ListSessions.go.snap b/service/glue/snapshot/api_op_ListSessions.go.snap index 0de4b3b3c55..ccf5bbb016b 100644 --- a/service/glue/snapshot/api_op_ListSessions.go.snap +++ b/service/glue/snapshot/api_op_ListSessions.go.snap @@ -13,7 +13,6 @@ ListSessions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_ListStatements.go.snap b/service/glue/snapshot/api_op_ListStatements.go.snap index 256e5e90bfd..5b023158ac5 100644 --- a/service/glue/snapshot/api_op_ListStatements.go.snap +++ b/service/glue/snapshot/api_op_ListStatements.go.snap @@ -14,7 +14,6 @@ ListStatements Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_ListTableOptimizerRuns.go.snap b/service/glue/snapshot/api_op_ListTableOptimizerRuns.go.snap index 09f12e00981..be5d8575f4b 100644 --- a/service/glue/snapshot/api_op_ListTableOptimizerRuns.go.snap +++ b/service/glue/snapshot/api_op_ListTableOptimizerRuns.go.snap @@ -14,7 +14,6 @@ ListTableOptimizerRuns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_ListTriggers.go.snap b/service/glue/snapshot/api_op_ListTriggers.go.snap index 6f37ccd5e95..9058781e243 100644 --- a/service/glue/snapshot/api_op_ListTriggers.go.snap +++ b/service/glue/snapshot/api_op_ListTriggers.go.snap @@ -13,7 +13,6 @@ ListTriggers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_ListUsageProfiles.go.snap b/service/glue/snapshot/api_op_ListUsageProfiles.go.snap index 90e56b02d54..89db47471f8 100644 --- a/service/glue/snapshot/api_op_ListUsageProfiles.go.snap +++ b/service/glue/snapshot/api_op_ListUsageProfiles.go.snap @@ -13,7 +13,6 @@ ListUsageProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_ListWorkflows.go.snap b/service/glue/snapshot/api_op_ListWorkflows.go.snap index eda65b9859b..a58c50557a2 100644 --- a/service/glue/snapshot/api_op_ListWorkflows.go.snap +++ b/service/glue/snapshot/api_op_ListWorkflows.go.snap @@ -13,7 +13,6 @@ ListWorkflows Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_ModifyIntegration.go.snap b/service/glue/snapshot/api_op_ModifyIntegration.go.snap index d884fc0266e..654cbf0d1df 100644 --- a/service/glue/snapshot/api_op_ModifyIntegration.go.snap +++ b/service/glue/snapshot/api_op_ModifyIntegration.go.snap @@ -14,7 +14,6 @@ ModifyIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_PutDataCatalogEncryptionSettings.go.snap b/service/glue/snapshot/api_op_PutDataCatalogEncryptionSettings.go.snap index 31fbd6a6e14..c651e57b96b 100644 --- a/service/glue/snapshot/api_op_PutDataCatalogEncryptionSettings.go.snap +++ b/service/glue/snapshot/api_op_PutDataCatalogEncryptionSettings.go.snap @@ -14,7 +14,6 @@ PutDataCatalogEncryptionSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_PutDataQualityProfileAnnotation.go.snap b/service/glue/snapshot/api_op_PutDataQualityProfileAnnotation.go.snap index 874d80949a6..7bed678d529 100644 --- a/service/glue/snapshot/api_op_PutDataQualityProfileAnnotation.go.snap +++ b/service/glue/snapshot/api_op_PutDataQualityProfileAnnotation.go.snap @@ -14,7 +14,6 @@ PutDataQualityProfileAnnotation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_PutResourcePolicy.go.snap b/service/glue/snapshot/api_op_PutResourcePolicy.go.snap index 30530b1514f..47bad3fad0e 100644 --- a/service/glue/snapshot/api_op_PutResourcePolicy.go.snap +++ b/service/glue/snapshot/api_op_PutResourcePolicy.go.snap @@ -14,7 +14,6 @@ PutResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_PutSchemaVersionMetadata.go.snap b/service/glue/snapshot/api_op_PutSchemaVersionMetadata.go.snap index 392d38df32b..45c6d29e97b 100644 --- a/service/glue/snapshot/api_op_PutSchemaVersionMetadata.go.snap +++ b/service/glue/snapshot/api_op_PutSchemaVersionMetadata.go.snap @@ -14,7 +14,6 @@ PutSchemaVersionMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_PutWorkflowRunProperties.go.snap b/service/glue/snapshot/api_op_PutWorkflowRunProperties.go.snap index e8f99919407..975c53b38c7 100644 --- a/service/glue/snapshot/api_op_PutWorkflowRunProperties.go.snap +++ b/service/glue/snapshot/api_op_PutWorkflowRunProperties.go.snap @@ -14,7 +14,6 @@ PutWorkflowRunProperties Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_QuerySchemaVersionMetadata.go.snap b/service/glue/snapshot/api_op_QuerySchemaVersionMetadata.go.snap index 095fc06504c..7d6f8472349 100644 --- a/service/glue/snapshot/api_op_QuerySchemaVersionMetadata.go.snap +++ b/service/glue/snapshot/api_op_QuerySchemaVersionMetadata.go.snap @@ -13,7 +13,6 @@ QuerySchemaVersionMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_RegisterSchemaVersion.go.snap b/service/glue/snapshot/api_op_RegisterSchemaVersion.go.snap index 535d1edeb1a..ee7e4988607 100644 --- a/service/glue/snapshot/api_op_RegisterSchemaVersion.go.snap +++ b/service/glue/snapshot/api_op_RegisterSchemaVersion.go.snap @@ -14,7 +14,6 @@ RegisterSchemaVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_RemoveSchemaVersionMetadata.go.snap b/service/glue/snapshot/api_op_RemoveSchemaVersionMetadata.go.snap index 1b710fc727b..a6ae10d09dc 100644 --- a/service/glue/snapshot/api_op_RemoveSchemaVersionMetadata.go.snap +++ b/service/glue/snapshot/api_op_RemoveSchemaVersionMetadata.go.snap @@ -14,7 +14,6 @@ RemoveSchemaVersionMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_ResetJobBookmark.go.snap b/service/glue/snapshot/api_op_ResetJobBookmark.go.snap index 915d16f548a..43c3a87a669 100644 --- a/service/glue/snapshot/api_op_ResetJobBookmark.go.snap +++ b/service/glue/snapshot/api_op_ResetJobBookmark.go.snap @@ -14,7 +14,6 @@ ResetJobBookmark Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_ResumeWorkflowRun.go.snap b/service/glue/snapshot/api_op_ResumeWorkflowRun.go.snap index aa7f25fd2f8..20930d1d9a9 100644 --- a/service/glue/snapshot/api_op_ResumeWorkflowRun.go.snap +++ b/service/glue/snapshot/api_op_ResumeWorkflowRun.go.snap @@ -14,7 +14,6 @@ ResumeWorkflowRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_RunStatement.go.snap b/service/glue/snapshot/api_op_RunStatement.go.snap index bc0b0f23552..0d293f0ef9d 100644 --- a/service/glue/snapshot/api_op_RunStatement.go.snap +++ b/service/glue/snapshot/api_op_RunStatement.go.snap @@ -14,7 +14,6 @@ RunStatement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_SearchTables.go.snap b/service/glue/snapshot/api_op_SearchTables.go.snap index 4d6ebba628f..2c6cf1988c5 100644 --- a/service/glue/snapshot/api_op_SearchTables.go.snap +++ b/service/glue/snapshot/api_op_SearchTables.go.snap @@ -13,7 +13,6 @@ SearchTables Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_StartBlueprintRun.go.snap b/service/glue/snapshot/api_op_StartBlueprintRun.go.snap index bd802516cc6..7a2c670197b 100644 --- a/service/glue/snapshot/api_op_StartBlueprintRun.go.snap +++ b/service/glue/snapshot/api_op_StartBlueprintRun.go.snap @@ -14,7 +14,6 @@ StartBlueprintRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_StartColumnStatisticsTaskRun.go.snap b/service/glue/snapshot/api_op_StartColumnStatisticsTaskRun.go.snap index d3fc231b8cd..3005bc45599 100644 --- a/service/glue/snapshot/api_op_StartColumnStatisticsTaskRun.go.snap +++ b/service/glue/snapshot/api_op_StartColumnStatisticsTaskRun.go.snap @@ -14,7 +14,6 @@ StartColumnStatisticsTaskRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_StartColumnStatisticsTaskRunSchedule.go.snap b/service/glue/snapshot/api_op_StartColumnStatisticsTaskRunSchedule.go.snap index 1e0ad8d21d1..87ee693a287 100644 --- a/service/glue/snapshot/api_op_StartColumnStatisticsTaskRunSchedule.go.snap +++ b/service/glue/snapshot/api_op_StartColumnStatisticsTaskRunSchedule.go.snap @@ -14,7 +14,6 @@ StartColumnStatisticsTaskRunSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_StartCrawler.go.snap b/service/glue/snapshot/api_op_StartCrawler.go.snap index 73d1dedae20..07e11552497 100644 --- a/service/glue/snapshot/api_op_StartCrawler.go.snap +++ b/service/glue/snapshot/api_op_StartCrawler.go.snap @@ -14,7 +14,6 @@ StartCrawler Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_StartCrawlerSchedule.go.snap b/service/glue/snapshot/api_op_StartCrawlerSchedule.go.snap index f394e713c5e..ab385055500 100644 --- a/service/glue/snapshot/api_op_StartCrawlerSchedule.go.snap +++ b/service/glue/snapshot/api_op_StartCrawlerSchedule.go.snap @@ -14,7 +14,6 @@ StartCrawlerSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_StartDataQualityRuleRecommendationRun.go.snap b/service/glue/snapshot/api_op_StartDataQualityRuleRecommendationRun.go.snap index eb2c847da14..95f28cb7d86 100644 --- a/service/glue/snapshot/api_op_StartDataQualityRuleRecommendationRun.go.snap +++ b/service/glue/snapshot/api_op_StartDataQualityRuleRecommendationRun.go.snap @@ -14,7 +14,6 @@ StartDataQualityRuleRecommendationRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_StartDataQualityRulesetEvaluationRun.go.snap b/service/glue/snapshot/api_op_StartDataQualityRulesetEvaluationRun.go.snap index 78dc6316eb1..d45b0c0bbe5 100644 --- a/service/glue/snapshot/api_op_StartDataQualityRulesetEvaluationRun.go.snap +++ b/service/glue/snapshot/api_op_StartDataQualityRulesetEvaluationRun.go.snap @@ -14,7 +14,6 @@ StartDataQualityRulesetEvaluationRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_StartExportLabelsTaskRun.go.snap b/service/glue/snapshot/api_op_StartExportLabelsTaskRun.go.snap index 08283f169e0..a9570c496d8 100644 --- a/service/glue/snapshot/api_op_StartExportLabelsTaskRun.go.snap +++ b/service/glue/snapshot/api_op_StartExportLabelsTaskRun.go.snap @@ -14,7 +14,6 @@ StartExportLabelsTaskRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_StartImportLabelsTaskRun.go.snap b/service/glue/snapshot/api_op_StartImportLabelsTaskRun.go.snap index 922f910018d..1210976f143 100644 --- a/service/glue/snapshot/api_op_StartImportLabelsTaskRun.go.snap +++ b/service/glue/snapshot/api_op_StartImportLabelsTaskRun.go.snap @@ -14,7 +14,6 @@ StartImportLabelsTaskRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_StartJobRun.go.snap b/service/glue/snapshot/api_op_StartJobRun.go.snap index 423ffb4e93b..4d98498f157 100644 --- a/service/glue/snapshot/api_op_StartJobRun.go.snap +++ b/service/glue/snapshot/api_op_StartJobRun.go.snap @@ -14,7 +14,6 @@ StartJobRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_StartMLEvaluationTaskRun.go.snap b/service/glue/snapshot/api_op_StartMLEvaluationTaskRun.go.snap index a747047b897..be89c08b4e9 100644 --- a/service/glue/snapshot/api_op_StartMLEvaluationTaskRun.go.snap +++ b/service/glue/snapshot/api_op_StartMLEvaluationTaskRun.go.snap @@ -14,7 +14,6 @@ StartMLEvaluationTaskRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_StartMLLabelingSetGenerationTaskRun.go.snap b/service/glue/snapshot/api_op_StartMLLabelingSetGenerationTaskRun.go.snap index ef725787d17..313da363364 100644 --- a/service/glue/snapshot/api_op_StartMLLabelingSetGenerationTaskRun.go.snap +++ b/service/glue/snapshot/api_op_StartMLLabelingSetGenerationTaskRun.go.snap @@ -14,7 +14,6 @@ StartMLLabelingSetGenerationTaskRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_StartTrigger.go.snap b/service/glue/snapshot/api_op_StartTrigger.go.snap index 6b69ef00cb9..7c1d4858bce 100644 --- a/service/glue/snapshot/api_op_StartTrigger.go.snap +++ b/service/glue/snapshot/api_op_StartTrigger.go.snap @@ -14,7 +14,6 @@ StartTrigger Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_StartWorkflowRun.go.snap b/service/glue/snapshot/api_op_StartWorkflowRun.go.snap index 800349d96f0..92b2a516177 100644 --- a/service/glue/snapshot/api_op_StartWorkflowRun.go.snap +++ b/service/glue/snapshot/api_op_StartWorkflowRun.go.snap @@ -14,7 +14,6 @@ StartWorkflowRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_StopColumnStatisticsTaskRun.go.snap b/service/glue/snapshot/api_op_StopColumnStatisticsTaskRun.go.snap index 59602b2b33c..0571f66a7f0 100644 --- a/service/glue/snapshot/api_op_StopColumnStatisticsTaskRun.go.snap +++ b/service/glue/snapshot/api_op_StopColumnStatisticsTaskRun.go.snap @@ -14,7 +14,6 @@ StopColumnStatisticsTaskRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_StopColumnStatisticsTaskRunSchedule.go.snap b/service/glue/snapshot/api_op_StopColumnStatisticsTaskRunSchedule.go.snap index 0c3315e4e84..8438bf860e7 100644 --- a/service/glue/snapshot/api_op_StopColumnStatisticsTaskRunSchedule.go.snap +++ b/service/glue/snapshot/api_op_StopColumnStatisticsTaskRunSchedule.go.snap @@ -14,7 +14,6 @@ StopColumnStatisticsTaskRunSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_StopCrawler.go.snap b/service/glue/snapshot/api_op_StopCrawler.go.snap index ef9c2da7f70..59ef774a2dd 100644 --- a/service/glue/snapshot/api_op_StopCrawler.go.snap +++ b/service/glue/snapshot/api_op_StopCrawler.go.snap @@ -14,7 +14,6 @@ StopCrawler Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_StopCrawlerSchedule.go.snap b/service/glue/snapshot/api_op_StopCrawlerSchedule.go.snap index 5bb2eedf682..f4a6f4d7292 100644 --- a/service/glue/snapshot/api_op_StopCrawlerSchedule.go.snap +++ b/service/glue/snapshot/api_op_StopCrawlerSchedule.go.snap @@ -14,7 +14,6 @@ StopCrawlerSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_StopSession.go.snap b/service/glue/snapshot/api_op_StopSession.go.snap index b8adea5567c..96aefc902e5 100644 --- a/service/glue/snapshot/api_op_StopSession.go.snap +++ b/service/glue/snapshot/api_op_StopSession.go.snap @@ -14,7 +14,6 @@ StopSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_StopTrigger.go.snap b/service/glue/snapshot/api_op_StopTrigger.go.snap index 0110fc49045..e4edf48d20a 100644 --- a/service/glue/snapshot/api_op_StopTrigger.go.snap +++ b/service/glue/snapshot/api_op_StopTrigger.go.snap @@ -14,7 +14,6 @@ StopTrigger Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_StopWorkflowRun.go.snap b/service/glue/snapshot/api_op_StopWorkflowRun.go.snap index 194bf623d8c..23ffebb487e 100644 --- a/service/glue/snapshot/api_op_StopWorkflowRun.go.snap +++ b/service/glue/snapshot/api_op_StopWorkflowRun.go.snap @@ -14,7 +14,6 @@ StopWorkflowRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_TagResource.go.snap b/service/glue/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/glue/snapshot/api_op_TagResource.go.snap +++ b/service/glue/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_TestConnection.go.snap b/service/glue/snapshot/api_op_TestConnection.go.snap index d657fac7815..cbec81935bd 100644 --- a/service/glue/snapshot/api_op_TestConnection.go.snap +++ b/service/glue/snapshot/api_op_TestConnection.go.snap @@ -14,7 +14,6 @@ TestConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_UntagResource.go.snap b/service/glue/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/glue/snapshot/api_op_UntagResource.go.snap +++ b/service/glue/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_UpdateBlueprint.go.snap b/service/glue/snapshot/api_op_UpdateBlueprint.go.snap index 868e18ba433..2d6d8ec995c 100644 --- a/service/glue/snapshot/api_op_UpdateBlueprint.go.snap +++ b/service/glue/snapshot/api_op_UpdateBlueprint.go.snap @@ -14,7 +14,6 @@ UpdateBlueprint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_UpdateCatalog.go.snap b/service/glue/snapshot/api_op_UpdateCatalog.go.snap index 165ed08bd3b..ae72c672935 100644 --- a/service/glue/snapshot/api_op_UpdateCatalog.go.snap +++ b/service/glue/snapshot/api_op_UpdateCatalog.go.snap @@ -14,7 +14,6 @@ UpdateCatalog Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_UpdateClassifier.go.snap b/service/glue/snapshot/api_op_UpdateClassifier.go.snap index b9ffb392d94..74f4fd34d79 100644 --- a/service/glue/snapshot/api_op_UpdateClassifier.go.snap +++ b/service/glue/snapshot/api_op_UpdateClassifier.go.snap @@ -14,7 +14,6 @@ UpdateClassifier Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_UpdateColumnStatisticsForPartition.go.snap b/service/glue/snapshot/api_op_UpdateColumnStatisticsForPartition.go.snap index dad7e36dc65..227e89def47 100644 --- a/service/glue/snapshot/api_op_UpdateColumnStatisticsForPartition.go.snap +++ b/service/glue/snapshot/api_op_UpdateColumnStatisticsForPartition.go.snap @@ -14,7 +14,6 @@ UpdateColumnStatisticsForPartition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_UpdateColumnStatisticsForTable.go.snap b/service/glue/snapshot/api_op_UpdateColumnStatisticsForTable.go.snap index 8ec5bb5cdef..0a41d174177 100644 --- a/service/glue/snapshot/api_op_UpdateColumnStatisticsForTable.go.snap +++ b/service/glue/snapshot/api_op_UpdateColumnStatisticsForTable.go.snap @@ -14,7 +14,6 @@ UpdateColumnStatisticsForTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_UpdateColumnStatisticsTaskSettings.go.snap b/service/glue/snapshot/api_op_UpdateColumnStatisticsTaskSettings.go.snap index 40203ede085..bd6e981b1ba 100644 --- a/service/glue/snapshot/api_op_UpdateColumnStatisticsTaskSettings.go.snap +++ b/service/glue/snapshot/api_op_UpdateColumnStatisticsTaskSettings.go.snap @@ -14,7 +14,6 @@ UpdateColumnStatisticsTaskSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_UpdateConnection.go.snap b/service/glue/snapshot/api_op_UpdateConnection.go.snap index 8bcc0bccc85..f8c8899dab6 100644 --- a/service/glue/snapshot/api_op_UpdateConnection.go.snap +++ b/service/glue/snapshot/api_op_UpdateConnection.go.snap @@ -14,7 +14,6 @@ UpdateConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_UpdateCrawler.go.snap b/service/glue/snapshot/api_op_UpdateCrawler.go.snap index 481b8f6471c..56d4cec55f6 100644 --- a/service/glue/snapshot/api_op_UpdateCrawler.go.snap +++ b/service/glue/snapshot/api_op_UpdateCrawler.go.snap @@ -14,7 +14,6 @@ UpdateCrawler Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_UpdateCrawlerSchedule.go.snap b/service/glue/snapshot/api_op_UpdateCrawlerSchedule.go.snap index 27e38890c88..444fc0f57db 100644 --- a/service/glue/snapshot/api_op_UpdateCrawlerSchedule.go.snap +++ b/service/glue/snapshot/api_op_UpdateCrawlerSchedule.go.snap @@ -14,7 +14,6 @@ UpdateCrawlerSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_UpdateDataQualityRuleset.go.snap b/service/glue/snapshot/api_op_UpdateDataQualityRuleset.go.snap index 0ef06b1aee7..909c205831d 100644 --- a/service/glue/snapshot/api_op_UpdateDataQualityRuleset.go.snap +++ b/service/glue/snapshot/api_op_UpdateDataQualityRuleset.go.snap @@ -14,7 +14,6 @@ UpdateDataQualityRuleset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_UpdateDatabase.go.snap b/service/glue/snapshot/api_op_UpdateDatabase.go.snap index 1d4c2c3e7ea..8ff7aceee31 100644 --- a/service/glue/snapshot/api_op_UpdateDatabase.go.snap +++ b/service/glue/snapshot/api_op_UpdateDatabase.go.snap @@ -14,7 +14,6 @@ UpdateDatabase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_UpdateDevEndpoint.go.snap b/service/glue/snapshot/api_op_UpdateDevEndpoint.go.snap index 40918877f35..7edd4d50a1a 100644 --- a/service/glue/snapshot/api_op_UpdateDevEndpoint.go.snap +++ b/service/glue/snapshot/api_op_UpdateDevEndpoint.go.snap @@ -14,7 +14,6 @@ UpdateDevEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_UpdateIntegrationResourceProperty.go.snap b/service/glue/snapshot/api_op_UpdateIntegrationResourceProperty.go.snap index 6818b4dce33..c73dce0049b 100644 --- a/service/glue/snapshot/api_op_UpdateIntegrationResourceProperty.go.snap +++ b/service/glue/snapshot/api_op_UpdateIntegrationResourceProperty.go.snap @@ -14,7 +14,6 @@ UpdateIntegrationResourceProperty Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_UpdateIntegrationTableProperties.go.snap b/service/glue/snapshot/api_op_UpdateIntegrationTableProperties.go.snap index 6760c166abd..3b7447c30dd 100644 --- a/service/glue/snapshot/api_op_UpdateIntegrationTableProperties.go.snap +++ b/service/glue/snapshot/api_op_UpdateIntegrationTableProperties.go.snap @@ -14,7 +14,6 @@ UpdateIntegrationTableProperties Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_UpdateJob.go.snap b/service/glue/snapshot/api_op_UpdateJob.go.snap index 15f1062c2b4..6e59316cc3e 100644 --- a/service/glue/snapshot/api_op_UpdateJob.go.snap +++ b/service/glue/snapshot/api_op_UpdateJob.go.snap @@ -14,7 +14,6 @@ UpdateJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_UpdateJobFromSourceControl.go.snap b/service/glue/snapshot/api_op_UpdateJobFromSourceControl.go.snap index b588a208086..1a7c2bde078 100644 --- a/service/glue/snapshot/api_op_UpdateJobFromSourceControl.go.snap +++ b/service/glue/snapshot/api_op_UpdateJobFromSourceControl.go.snap @@ -13,7 +13,6 @@ UpdateJobFromSourceControl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_UpdateMLTransform.go.snap b/service/glue/snapshot/api_op_UpdateMLTransform.go.snap index b7edefa1ffc..37af9045aa5 100644 --- a/service/glue/snapshot/api_op_UpdateMLTransform.go.snap +++ b/service/glue/snapshot/api_op_UpdateMLTransform.go.snap @@ -14,7 +14,6 @@ UpdateMLTransform Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_UpdatePartition.go.snap b/service/glue/snapshot/api_op_UpdatePartition.go.snap index 2e0510388e4..c3a6e083f95 100644 --- a/service/glue/snapshot/api_op_UpdatePartition.go.snap +++ b/service/glue/snapshot/api_op_UpdatePartition.go.snap @@ -14,7 +14,6 @@ UpdatePartition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_UpdateRegistry.go.snap b/service/glue/snapshot/api_op_UpdateRegistry.go.snap index 42b076419d2..43fa388e130 100644 --- a/service/glue/snapshot/api_op_UpdateRegistry.go.snap +++ b/service/glue/snapshot/api_op_UpdateRegistry.go.snap @@ -14,7 +14,6 @@ UpdateRegistry Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_UpdateSchema.go.snap b/service/glue/snapshot/api_op_UpdateSchema.go.snap index af4f14872a4..613d2291900 100644 --- a/service/glue/snapshot/api_op_UpdateSchema.go.snap +++ b/service/glue/snapshot/api_op_UpdateSchema.go.snap @@ -14,7 +14,6 @@ UpdateSchema Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_UpdateSourceControlFromJob.go.snap b/service/glue/snapshot/api_op_UpdateSourceControlFromJob.go.snap index 53fef1f6fc6..e5b67aee708 100644 --- a/service/glue/snapshot/api_op_UpdateSourceControlFromJob.go.snap +++ b/service/glue/snapshot/api_op_UpdateSourceControlFromJob.go.snap @@ -13,7 +13,6 @@ UpdateSourceControlFromJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_UpdateTable.go.snap b/service/glue/snapshot/api_op_UpdateTable.go.snap index fa66ede5809..a4803b0812e 100644 --- a/service/glue/snapshot/api_op_UpdateTable.go.snap +++ b/service/glue/snapshot/api_op_UpdateTable.go.snap @@ -14,7 +14,6 @@ UpdateTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_UpdateTableOptimizer.go.snap b/service/glue/snapshot/api_op_UpdateTableOptimizer.go.snap index 3b1539391cc..1bae286682a 100644 --- a/service/glue/snapshot/api_op_UpdateTableOptimizer.go.snap +++ b/service/glue/snapshot/api_op_UpdateTableOptimizer.go.snap @@ -14,7 +14,6 @@ UpdateTableOptimizer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_UpdateTrigger.go.snap b/service/glue/snapshot/api_op_UpdateTrigger.go.snap index 47edf7ebcef..9b22169bf18 100644 --- a/service/glue/snapshot/api_op_UpdateTrigger.go.snap +++ b/service/glue/snapshot/api_op_UpdateTrigger.go.snap @@ -14,7 +14,6 @@ UpdateTrigger Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_UpdateUsageProfile.go.snap b/service/glue/snapshot/api_op_UpdateUsageProfile.go.snap index e1c27624cd3..a840359cd23 100644 --- a/service/glue/snapshot/api_op_UpdateUsageProfile.go.snap +++ b/service/glue/snapshot/api_op_UpdateUsageProfile.go.snap @@ -14,7 +14,6 @@ UpdateUsageProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_UpdateUserDefinedFunction.go.snap b/service/glue/snapshot/api_op_UpdateUserDefinedFunction.go.snap index 905f43e06a6..151da9fcd9f 100644 --- a/service/glue/snapshot/api_op_UpdateUserDefinedFunction.go.snap +++ b/service/glue/snapshot/api_op_UpdateUserDefinedFunction.go.snap @@ -14,7 +14,6 @@ UpdateUserDefinedFunction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/glue/snapshot/api_op_UpdateWorkflow.go.snap b/service/glue/snapshot/api_op_UpdateWorkflow.go.snap index 2f3a909fbce..b7bf4a105ee 100644 --- a/service/glue/snapshot/api_op_UpdateWorkflow.go.snap +++ b/service/glue/snapshot/api_op_UpdateWorkflow.go.snap @@ -14,7 +14,6 @@ UpdateWorkflow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/grafana/api_client.go b/service/grafana/api_client.go index 9fc823da49c..1048928896e 100644 --- a/service/grafana/api_client.go +++ b/service/grafana/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/grafana/api_op_AssociateLicense.go b/service/grafana/api_op_AssociateLicense.go index 5e410a781a3..8c2ffc8a311 100644 --- a/service/grafana/api_op_AssociateLicense.go +++ b/service/grafana/api_op_AssociateLicense.go @@ -133,9 +133,6 @@ func (c *Client) addOperationAssociateLicenseMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateLicenseValidationMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_CreateWorkspace.go b/service/grafana/api_op_CreateWorkspace.go index 6d2c298396f..ebd1fb759f5 100644 --- a/service/grafana/api_op_CreateWorkspace.go +++ b/service/grafana/api_op_CreateWorkspace.go @@ -232,9 +232,6 @@ func (c *Client) addOperationCreateWorkspaceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateWorkspaceMiddleware(stack, options); err != nil { return err } diff --git a/service/grafana/api_op_CreateWorkspaceApiKey.go b/service/grafana/api_op_CreateWorkspaceApiKey.go index e253802eff8..5c35e6b41ad 100644 --- a/service/grafana/api_op_CreateWorkspaceApiKey.go +++ b/service/grafana/api_op_CreateWorkspaceApiKey.go @@ -149,9 +149,6 @@ func (c *Client) addOperationCreateWorkspaceApiKeyMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateWorkspaceApiKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_CreateWorkspaceServiceAccount.go b/service/grafana/api_op_CreateWorkspaceServiceAccount.go index 0ff8e91f218..2e58db0cdf4 100644 --- a/service/grafana/api_op_CreateWorkspaceServiceAccount.go +++ b/service/grafana/api_op_CreateWorkspaceServiceAccount.go @@ -161,9 +161,6 @@ func (c *Client) addOperationCreateWorkspaceServiceAccountMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateWorkspaceServiceAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_CreateWorkspaceServiceAccountToken.go b/service/grafana/api_op_CreateWorkspaceServiceAccountToken.go index abf41e39be8..c515c1e5e73 100644 --- a/service/grafana/api_op_CreateWorkspaceServiceAccountToken.go +++ b/service/grafana/api_op_CreateWorkspaceServiceAccountToken.go @@ -155,9 +155,6 @@ func (c *Client) addOperationCreateWorkspaceServiceAccountTokenMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateWorkspaceServiceAccountTokenValidationMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_DeleteWorkspace.go b/service/grafana/api_op_DeleteWorkspace.go index 88035645cbc..2ca4f8b4863 100644 --- a/service/grafana/api_op_DeleteWorkspace.go +++ b/service/grafana/api_op_DeleteWorkspace.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteWorkspaceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWorkspaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_DeleteWorkspaceApiKey.go b/service/grafana/api_op_DeleteWorkspaceApiKey.go index 5a99fa8f875..e85ffd4689c 100644 --- a/service/grafana/api_op_DeleteWorkspaceApiKey.go +++ b/service/grafana/api_op_DeleteWorkspaceApiKey.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDeleteWorkspaceApiKeyMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWorkspaceApiKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_DeleteWorkspaceServiceAccount.go b/service/grafana/api_op_DeleteWorkspaceServiceAccount.go index 40cfda0b134..448f92bd64e 100644 --- a/service/grafana/api_op_DeleteWorkspaceServiceAccount.go +++ b/service/grafana/api_op_DeleteWorkspaceServiceAccount.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDeleteWorkspaceServiceAccountMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWorkspaceServiceAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_DeleteWorkspaceServiceAccountToken.go b/service/grafana/api_op_DeleteWorkspaceServiceAccountToken.go index 3df525281df..2e667d49eb2 100644 --- a/service/grafana/api_op_DeleteWorkspaceServiceAccountToken.go +++ b/service/grafana/api_op_DeleteWorkspaceServiceAccountToken.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDeleteWorkspaceServiceAccountTokenMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWorkspaceServiceAccountTokenValidationMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_DescribeWorkspace.go b/service/grafana/api_op_DescribeWorkspace.go index 89c450d0b5f..f7763cde19a 100644 --- a/service/grafana/api_op_DescribeWorkspace.go +++ b/service/grafana/api_op_DescribeWorkspace.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribeWorkspaceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeWorkspaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_DescribeWorkspaceAuthentication.go b/service/grafana/api_op_DescribeWorkspaceAuthentication.go index 60c086a6bc6..cfb54435f34 100644 --- a/service/grafana/api_op_DescribeWorkspaceAuthentication.go +++ b/service/grafana/api_op_DescribeWorkspaceAuthentication.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDescribeWorkspaceAuthenticationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeWorkspaceAuthenticationValidationMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_DescribeWorkspaceConfiguration.go b/service/grafana/api_op_DescribeWorkspaceConfiguration.go index 58a3071a0d8..a434aa426dc 100644 --- a/service/grafana/api_op_DescribeWorkspaceConfiguration.go +++ b/service/grafana/api_op_DescribeWorkspaceConfiguration.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeWorkspaceConfigurationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeWorkspaceConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_DisassociateLicense.go b/service/grafana/api_op_DisassociateLicense.go index 870d8e0b027..adc6190511f 100644 --- a/service/grafana/api_op_DisassociateLicense.go +++ b/service/grafana/api_op_DisassociateLicense.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDisassociateLicenseMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateLicenseValidationMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_ListPermissions.go b/service/grafana/api_op_ListPermissions.go index 605cb92d306..d89b3126dfd 100644 --- a/service/grafana/api_op_ListPermissions.go +++ b/service/grafana/api_op_ListPermissions.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListPermissionsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_ListTagsForResource.go b/service/grafana/api_op_ListTagsForResource.go index caef65ece45..a44fbf9a08b 100644 --- a/service/grafana/api_op_ListTagsForResource.go +++ b/service/grafana/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_ListVersions.go b/service/grafana/api_op_ListVersions.go index 2f3d9704817..8b51f12770c 100644 --- a/service/grafana/api_op_ListVersions.go +++ b/service/grafana/api_op_ListVersions.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListVersionsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVersions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/grafana/api_op_ListWorkspaceServiceAccountTokens.go b/service/grafana/api_op_ListWorkspaceServiceAccountTokens.go index da400cb92df..621eeced70a 100644 --- a/service/grafana/api_op_ListWorkspaceServiceAccountTokens.go +++ b/service/grafana/api_op_ListWorkspaceServiceAccountTokens.go @@ -145,9 +145,6 @@ func (c *Client) addOperationListWorkspaceServiceAccountTokensMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListWorkspaceServiceAccountTokensValidationMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_ListWorkspaceServiceAccounts.go b/service/grafana/api_op_ListWorkspaceServiceAccounts.go index 78a9a0a7413..a262c0a1fe0 100644 --- a/service/grafana/api_op_ListWorkspaceServiceAccounts.go +++ b/service/grafana/api_op_ListWorkspaceServiceAccounts.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListWorkspaceServiceAccountsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListWorkspaceServiceAccountsValidationMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_ListWorkspaces.go b/service/grafana/api_op_ListWorkspaces.go index c31175d4803..1bf5d6fae99 100644 --- a/service/grafana/api_op_ListWorkspaces.go +++ b/service/grafana/api_op_ListWorkspaces.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListWorkspacesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkspaces(options.Region), middleware.Before); err != nil { return err } diff --git a/service/grafana/api_op_TagResource.go b/service/grafana/api_op_TagResource.go index 9d743717f21..f9764894b3c 100644 --- a/service/grafana/api_op_TagResource.go +++ b/service/grafana/api_op_TagResource.go @@ -120,9 +120,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_UntagResource.go b/service/grafana/api_op_UntagResource.go index 0c61467d28f..b4a18f622cc 100644 --- a/service/grafana/api_op_UntagResource.go +++ b/service/grafana/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_UpdatePermissions.go b/service/grafana/api_op_UpdatePermissions.go index 464fdb0d65f..414932e12d2 100644 --- a/service/grafana/api_op_UpdatePermissions.go +++ b/service/grafana/api_op_UpdatePermissions.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdatePermissionsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_UpdateWorkspace.go b/service/grafana/api_op_UpdateWorkspace.go index 31946bb7d71..6c6411ee0b7 100644 --- a/service/grafana/api_op_UpdateWorkspace.go +++ b/service/grafana/api_op_UpdateWorkspace.go @@ -223,9 +223,6 @@ func (c *Client) addOperationUpdateWorkspaceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateWorkspaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_UpdateWorkspaceAuthentication.go b/service/grafana/api_op_UpdateWorkspaceAuthentication.go index d56a1eef016..228a90cf9bd 100644 --- a/service/grafana/api_op_UpdateWorkspaceAuthentication.go +++ b/service/grafana/api_op_UpdateWorkspaceAuthentication.go @@ -135,9 +135,6 @@ func (c *Client) addOperationUpdateWorkspaceAuthenticationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateWorkspaceAuthenticationValidationMiddleware(stack); err != nil { return err } diff --git a/service/grafana/api_op_UpdateWorkspaceConfiguration.go b/service/grafana/api_op_UpdateWorkspaceConfiguration.go index 5c3ad4f1f4c..9eb802d27bd 100644 --- a/service/grafana/api_op_UpdateWorkspaceConfiguration.go +++ b/service/grafana/api_op_UpdateWorkspaceConfiguration.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUpdateWorkspaceConfigurationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateWorkspaceConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/grafana/snapshot/api_op_AssociateLicense.go.snap b/service/grafana/snapshot/api_op_AssociateLicense.go.snap index 4299fd2fd9f..0b3722c0bfd 100644 --- a/service/grafana/snapshot/api_op_AssociateLicense.go.snap +++ b/service/grafana/snapshot/api_op_AssociateLicense.go.snap @@ -14,7 +14,6 @@ AssociateLicense Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/grafana/snapshot/api_op_CreateWorkspace.go.snap b/service/grafana/snapshot/api_op_CreateWorkspace.go.snap index f8640c66aba..d4bef4e4271 100644 --- a/service/grafana/snapshot/api_op_CreateWorkspace.go.snap +++ b/service/grafana/snapshot/api_op_CreateWorkspace.go.snap @@ -15,7 +15,6 @@ CreateWorkspace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/grafana/snapshot/api_op_CreateWorkspaceApiKey.go.snap b/service/grafana/snapshot/api_op_CreateWorkspaceApiKey.go.snap index e02eb98d111..4b8d9266921 100644 --- a/service/grafana/snapshot/api_op_CreateWorkspaceApiKey.go.snap +++ b/service/grafana/snapshot/api_op_CreateWorkspaceApiKey.go.snap @@ -14,7 +14,6 @@ CreateWorkspaceApiKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/grafana/snapshot/api_op_CreateWorkspaceServiceAccount.go.snap b/service/grafana/snapshot/api_op_CreateWorkspaceServiceAccount.go.snap index a2afbf0355b..ed2b2d3faca 100644 --- a/service/grafana/snapshot/api_op_CreateWorkspaceServiceAccount.go.snap +++ b/service/grafana/snapshot/api_op_CreateWorkspaceServiceAccount.go.snap @@ -14,7 +14,6 @@ CreateWorkspaceServiceAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/grafana/snapshot/api_op_CreateWorkspaceServiceAccountToken.go.snap b/service/grafana/snapshot/api_op_CreateWorkspaceServiceAccountToken.go.snap index 0aec3aa063e..9785a5e7539 100644 --- a/service/grafana/snapshot/api_op_CreateWorkspaceServiceAccountToken.go.snap +++ b/service/grafana/snapshot/api_op_CreateWorkspaceServiceAccountToken.go.snap @@ -14,7 +14,6 @@ CreateWorkspaceServiceAccountToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/grafana/snapshot/api_op_DeleteWorkspace.go.snap b/service/grafana/snapshot/api_op_DeleteWorkspace.go.snap index 4ce16e416da..fc7bbac8a26 100644 --- a/service/grafana/snapshot/api_op_DeleteWorkspace.go.snap +++ b/service/grafana/snapshot/api_op_DeleteWorkspace.go.snap @@ -14,7 +14,6 @@ DeleteWorkspace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/grafana/snapshot/api_op_DeleteWorkspaceApiKey.go.snap b/service/grafana/snapshot/api_op_DeleteWorkspaceApiKey.go.snap index b14dc033a3a..b6cd42a4722 100644 --- a/service/grafana/snapshot/api_op_DeleteWorkspaceApiKey.go.snap +++ b/service/grafana/snapshot/api_op_DeleteWorkspaceApiKey.go.snap @@ -14,7 +14,6 @@ DeleteWorkspaceApiKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/grafana/snapshot/api_op_DeleteWorkspaceServiceAccount.go.snap b/service/grafana/snapshot/api_op_DeleteWorkspaceServiceAccount.go.snap index b26cbe89e55..9b3e814a4fc 100644 --- a/service/grafana/snapshot/api_op_DeleteWorkspaceServiceAccount.go.snap +++ b/service/grafana/snapshot/api_op_DeleteWorkspaceServiceAccount.go.snap @@ -14,7 +14,6 @@ DeleteWorkspaceServiceAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/grafana/snapshot/api_op_DeleteWorkspaceServiceAccountToken.go.snap b/service/grafana/snapshot/api_op_DeleteWorkspaceServiceAccountToken.go.snap index fadc9b68574..7675e3e0f42 100644 --- a/service/grafana/snapshot/api_op_DeleteWorkspaceServiceAccountToken.go.snap +++ b/service/grafana/snapshot/api_op_DeleteWorkspaceServiceAccountToken.go.snap @@ -14,7 +14,6 @@ DeleteWorkspaceServiceAccountToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/grafana/snapshot/api_op_DescribeWorkspace.go.snap b/service/grafana/snapshot/api_op_DescribeWorkspace.go.snap index e73809604ba..99d3520a0b2 100644 --- a/service/grafana/snapshot/api_op_DescribeWorkspace.go.snap +++ b/service/grafana/snapshot/api_op_DescribeWorkspace.go.snap @@ -14,7 +14,6 @@ DescribeWorkspace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/grafana/snapshot/api_op_DescribeWorkspaceAuthentication.go.snap b/service/grafana/snapshot/api_op_DescribeWorkspaceAuthentication.go.snap index b7dbe6d02d9..ed3caa207d8 100644 --- a/service/grafana/snapshot/api_op_DescribeWorkspaceAuthentication.go.snap +++ b/service/grafana/snapshot/api_op_DescribeWorkspaceAuthentication.go.snap @@ -14,7 +14,6 @@ DescribeWorkspaceAuthentication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/grafana/snapshot/api_op_DescribeWorkspaceConfiguration.go.snap b/service/grafana/snapshot/api_op_DescribeWorkspaceConfiguration.go.snap index 7d0df0f23c3..1c859143f6c 100644 --- a/service/grafana/snapshot/api_op_DescribeWorkspaceConfiguration.go.snap +++ b/service/grafana/snapshot/api_op_DescribeWorkspaceConfiguration.go.snap @@ -14,7 +14,6 @@ DescribeWorkspaceConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/grafana/snapshot/api_op_DisassociateLicense.go.snap b/service/grafana/snapshot/api_op_DisassociateLicense.go.snap index 172e805c992..cf3683a5f2e 100644 --- a/service/grafana/snapshot/api_op_DisassociateLicense.go.snap +++ b/service/grafana/snapshot/api_op_DisassociateLicense.go.snap @@ -14,7 +14,6 @@ DisassociateLicense Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/grafana/snapshot/api_op_ListPermissions.go.snap b/service/grafana/snapshot/api_op_ListPermissions.go.snap index 07f05345c9d..1fa40597d79 100644 --- a/service/grafana/snapshot/api_op_ListPermissions.go.snap +++ b/service/grafana/snapshot/api_op_ListPermissions.go.snap @@ -14,7 +14,6 @@ ListPermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/grafana/snapshot/api_op_ListTagsForResource.go.snap b/service/grafana/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/grafana/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/grafana/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/grafana/snapshot/api_op_ListVersions.go.snap b/service/grafana/snapshot/api_op_ListVersions.go.snap index e735edd6ec7..1cf18150ee5 100644 --- a/service/grafana/snapshot/api_op_ListVersions.go.snap +++ b/service/grafana/snapshot/api_op_ListVersions.go.snap @@ -13,7 +13,6 @@ ListVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/grafana/snapshot/api_op_ListWorkspaceServiceAccountTokens.go.snap b/service/grafana/snapshot/api_op_ListWorkspaceServiceAccountTokens.go.snap index 72067eb637d..eb5ea6dd395 100644 --- a/service/grafana/snapshot/api_op_ListWorkspaceServiceAccountTokens.go.snap +++ b/service/grafana/snapshot/api_op_ListWorkspaceServiceAccountTokens.go.snap @@ -14,7 +14,6 @@ ListWorkspaceServiceAccountTokens Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/grafana/snapshot/api_op_ListWorkspaceServiceAccounts.go.snap b/service/grafana/snapshot/api_op_ListWorkspaceServiceAccounts.go.snap index ec33d16fa6a..38b715c21ee 100644 --- a/service/grafana/snapshot/api_op_ListWorkspaceServiceAccounts.go.snap +++ b/service/grafana/snapshot/api_op_ListWorkspaceServiceAccounts.go.snap @@ -14,7 +14,6 @@ ListWorkspaceServiceAccounts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/grafana/snapshot/api_op_ListWorkspaces.go.snap b/service/grafana/snapshot/api_op_ListWorkspaces.go.snap index 475152c3df8..2dfae92fc35 100644 --- a/service/grafana/snapshot/api_op_ListWorkspaces.go.snap +++ b/service/grafana/snapshot/api_op_ListWorkspaces.go.snap @@ -13,7 +13,6 @@ ListWorkspaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/grafana/snapshot/api_op_TagResource.go.snap b/service/grafana/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/grafana/snapshot/api_op_TagResource.go.snap +++ b/service/grafana/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/grafana/snapshot/api_op_UntagResource.go.snap b/service/grafana/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/grafana/snapshot/api_op_UntagResource.go.snap +++ b/service/grafana/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/grafana/snapshot/api_op_UpdatePermissions.go.snap b/service/grafana/snapshot/api_op_UpdatePermissions.go.snap index 60c4e537be7..0f04bc212f7 100644 --- a/service/grafana/snapshot/api_op_UpdatePermissions.go.snap +++ b/service/grafana/snapshot/api_op_UpdatePermissions.go.snap @@ -14,7 +14,6 @@ UpdatePermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/grafana/snapshot/api_op_UpdateWorkspace.go.snap b/service/grafana/snapshot/api_op_UpdateWorkspace.go.snap index e428513ee73..05330e6b355 100644 --- a/service/grafana/snapshot/api_op_UpdateWorkspace.go.snap +++ b/service/grafana/snapshot/api_op_UpdateWorkspace.go.snap @@ -14,7 +14,6 @@ UpdateWorkspace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/grafana/snapshot/api_op_UpdateWorkspaceAuthentication.go.snap b/service/grafana/snapshot/api_op_UpdateWorkspaceAuthentication.go.snap index b307d21d0cc..e15b7d557ee 100644 --- a/service/grafana/snapshot/api_op_UpdateWorkspaceAuthentication.go.snap +++ b/service/grafana/snapshot/api_op_UpdateWorkspaceAuthentication.go.snap @@ -14,7 +14,6 @@ UpdateWorkspaceAuthentication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/grafana/snapshot/api_op_UpdateWorkspaceConfiguration.go.snap b/service/grafana/snapshot/api_op_UpdateWorkspaceConfiguration.go.snap index 2e29ccdd00e..91065bbe85c 100644 --- a/service/grafana/snapshot/api_op_UpdateWorkspaceConfiguration.go.snap +++ b/service/grafana/snapshot/api_op_UpdateWorkspaceConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateWorkspaceConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/api_client.go b/service/greengrass/api_client.go index 60a958237ed..993441eed3f 100644 --- a/service/greengrass/api_client.go +++ b/service/greengrass/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/greengrass/api_op_AssociateRoleToGroup.go b/service/greengrass/api_op_AssociateRoleToGroup.go index d2626daf5f0..63d8aadba21 100644 --- a/service/greengrass/api_op_AssociateRoleToGroup.go +++ b/service/greengrass/api_op_AssociateRoleToGroup.go @@ -120,9 +120,6 @@ func (c *Client) addOperationAssociateRoleToGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateRoleToGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_AssociateServiceRoleToAccount.go b/service/greengrass/api_op_AssociateServiceRoleToAccount.go index 1d906ed4811..7e98d8eb086 100644 --- a/service/greengrass/api_op_AssociateServiceRoleToAccount.go +++ b/service/greengrass/api_op_AssociateServiceRoleToAccount.go @@ -114,9 +114,6 @@ func (c *Client) addOperationAssociateServiceRoleToAccountMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateServiceRoleToAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateConnectorDefinition.go b/service/greengrass/api_op_CreateConnectorDefinition.go index 6c0d8733d2b..7d0565c79b1 100644 --- a/service/greengrass/api_op_CreateConnectorDefinition.go +++ b/service/greengrass/api_op_CreateConnectorDefinition.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateConnectorDefinitionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConnectorDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateConnectorDefinitionVersion.go b/service/greengrass/api_op_CreateConnectorDefinitionVersion.go index 28e830aa912..5576b62634e 100644 --- a/service/greengrass/api_op_CreateConnectorDefinitionVersion.go +++ b/service/greengrass/api_op_CreateConnectorDefinitionVersion.go @@ -128,9 +128,6 @@ func (c *Client) addOperationCreateConnectorDefinitionVersionMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConnectorDefinitionVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateCoreDefinition.go b/service/greengrass/api_op_CreateCoreDefinition.go index 35ff99a1989..97648613358 100644 --- a/service/greengrass/api_op_CreateCoreDefinition.go +++ b/service/greengrass/api_op_CreateCoreDefinition.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreateCoreDefinitionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCoreDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateCoreDefinitionVersion.go b/service/greengrass/api_op_CreateCoreDefinitionVersion.go index 9d9ca567587..daf4b398836 100644 --- a/service/greengrass/api_op_CreateCoreDefinitionVersion.go +++ b/service/greengrass/api_op_CreateCoreDefinitionVersion.go @@ -128,9 +128,6 @@ func (c *Client) addOperationCreateCoreDefinitionVersionMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCoreDefinitionVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateDeployment.go b/service/greengrass/api_op_CreateDeployment.go index 8c448b53494..e57cc30cadd 100644 --- a/service/greengrass/api_op_CreateDeployment.go +++ b/service/greengrass/api_op_CreateDeployment.go @@ -131,9 +131,6 @@ func (c *Client) addOperationCreateDeploymentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateDeviceDefinition.go b/service/greengrass/api_op_CreateDeviceDefinition.go index 78027ece710..33f4b36df98 100644 --- a/service/greengrass/api_op_CreateDeviceDefinition.go +++ b/service/greengrass/api_op_CreateDeviceDefinition.go @@ -138,9 +138,6 @@ func (c *Client) addOperationCreateDeviceDefinitionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDeviceDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateDeviceDefinitionVersion.go b/service/greengrass/api_op_CreateDeviceDefinitionVersion.go index 2cca336dac0..0da20e61e15 100644 --- a/service/greengrass/api_op_CreateDeviceDefinitionVersion.go +++ b/service/greengrass/api_op_CreateDeviceDefinitionVersion.go @@ -127,9 +127,6 @@ func (c *Client) addOperationCreateDeviceDefinitionVersionMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDeviceDefinitionVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateFunctionDefinition.go b/service/greengrass/api_op_CreateFunctionDefinition.go index 0ed5250e5b4..2bf4382bb73 100644 --- a/service/greengrass/api_op_CreateFunctionDefinition.go +++ b/service/greengrass/api_op_CreateFunctionDefinition.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreateFunctionDefinitionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFunctionDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateFunctionDefinitionVersion.go b/service/greengrass/api_op_CreateFunctionDefinitionVersion.go index 43eccdeba55..0262bb3cb55 100644 --- a/service/greengrass/api_op_CreateFunctionDefinitionVersion.go +++ b/service/greengrass/api_op_CreateFunctionDefinitionVersion.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateFunctionDefinitionVersionMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFunctionDefinitionVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateGroup.go b/service/greengrass/api_op_CreateGroup.go index 86d51f0741c..eb017cb34bc 100644 --- a/service/greengrass/api_op_CreateGroup.go +++ b/service/greengrass/api_op_CreateGroup.go @@ -142,9 +142,6 @@ func (c *Client) addOperationCreateGroupMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateGroupCertificateAuthority.go b/service/greengrass/api_op_CreateGroupCertificateAuthority.go index fe4fc087948..6d8c21c7d3d 100644 --- a/service/greengrass/api_op_CreateGroupCertificateAuthority.go +++ b/service/greengrass/api_op_CreateGroupCertificateAuthority.go @@ -115,9 +115,6 @@ func (c *Client) addOperationCreateGroupCertificateAuthorityMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGroupCertificateAuthorityValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateGroupVersion.go b/service/greengrass/api_op_CreateGroupVersion.go index 466e9f64937..b2da75bf410 100644 --- a/service/greengrass/api_op_CreateGroupVersion.go +++ b/service/greengrass/api_op_CreateGroupVersion.go @@ -144,9 +144,6 @@ func (c *Client) addOperationCreateGroupVersionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGroupVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateLoggerDefinition.go b/service/greengrass/api_op_CreateLoggerDefinition.go index 423c0217543..25aaacc5f64 100644 --- a/service/greengrass/api_op_CreateLoggerDefinition.go +++ b/service/greengrass/api_op_CreateLoggerDefinition.go @@ -138,9 +138,6 @@ func (c *Client) addOperationCreateLoggerDefinitionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLoggerDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateLoggerDefinitionVersion.go b/service/greengrass/api_op_CreateLoggerDefinitionVersion.go index 57a135cc717..c9ede5e3057 100644 --- a/service/greengrass/api_op_CreateLoggerDefinitionVersion.go +++ b/service/greengrass/api_op_CreateLoggerDefinitionVersion.go @@ -127,9 +127,6 @@ func (c *Client) addOperationCreateLoggerDefinitionVersionMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLoggerDefinitionVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateResourceDefinition.go b/service/greengrass/api_op_CreateResourceDefinition.go index a091dcacd83..3010ab253ca 100644 --- a/service/greengrass/api_op_CreateResourceDefinition.go +++ b/service/greengrass/api_op_CreateResourceDefinition.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateResourceDefinitionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateResourceDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateResourceDefinitionVersion.go b/service/greengrass/api_op_CreateResourceDefinitionVersion.go index d1ef9c330cd..df1281b4156 100644 --- a/service/greengrass/api_op_CreateResourceDefinitionVersion.go +++ b/service/greengrass/api_op_CreateResourceDefinitionVersion.go @@ -127,9 +127,6 @@ func (c *Client) addOperationCreateResourceDefinitionVersionMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateResourceDefinitionVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateSoftwareUpdateJob.go b/service/greengrass/api_op_CreateSoftwareUpdateJob.go index 481d6490dad..1c0ad4f77db 100644 --- a/service/greengrass/api_op_CreateSoftwareUpdateJob.go +++ b/service/greengrass/api_op_CreateSoftwareUpdateJob.go @@ -150,9 +150,6 @@ func (c *Client) addOperationCreateSoftwareUpdateJobMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSoftwareUpdateJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateSubscriptionDefinition.go b/service/greengrass/api_op_CreateSubscriptionDefinition.go index 45521c73413..14766b85413 100644 --- a/service/greengrass/api_op_CreateSubscriptionDefinition.go +++ b/service/greengrass/api_op_CreateSubscriptionDefinition.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateSubscriptionDefinitionMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSubscriptionDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_CreateSubscriptionDefinitionVersion.go b/service/greengrass/api_op_CreateSubscriptionDefinitionVersion.go index 8d4232f336e..6f74a56f8fd 100644 --- a/service/greengrass/api_op_CreateSubscriptionDefinitionVersion.go +++ b/service/greengrass/api_op_CreateSubscriptionDefinitionVersion.go @@ -127,9 +127,6 @@ func (c *Client) addOperationCreateSubscriptionDefinitionVersionMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSubscriptionDefinitionVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_DeleteConnectorDefinition.go b/service/greengrass/api_op_DeleteConnectorDefinition.go index 5aea2b20c59..edaf8e1c54a 100644 --- a/service/greengrass/api_op_DeleteConnectorDefinition.go +++ b/service/greengrass/api_op_DeleteConnectorDefinition.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteConnectorDefinitionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConnectorDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_DeleteCoreDefinition.go b/service/greengrass/api_op_DeleteCoreDefinition.go index 3d3627e2bc8..af2689331a2 100644 --- a/service/greengrass/api_op_DeleteCoreDefinition.go +++ b/service/greengrass/api_op_DeleteCoreDefinition.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteCoreDefinitionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCoreDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_DeleteDeviceDefinition.go b/service/greengrass/api_op_DeleteDeviceDefinition.go index 821e31d0ea5..dafc037b51e 100644 --- a/service/greengrass/api_op_DeleteDeviceDefinition.go +++ b/service/greengrass/api_op_DeleteDeviceDefinition.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteDeviceDefinitionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDeviceDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_DeleteFunctionDefinition.go b/service/greengrass/api_op_DeleteFunctionDefinition.go index 96d641d83e6..d1aa957893c 100644 --- a/service/greengrass/api_op_DeleteFunctionDefinition.go +++ b/service/greengrass/api_op_DeleteFunctionDefinition.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteFunctionDefinitionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFunctionDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_DeleteGroup.go b/service/greengrass/api_op_DeleteGroup.go index 66b5919fdd4..49144fd177b 100644 --- a/service/greengrass/api_op_DeleteGroup.go +++ b/service/greengrass/api_op_DeleteGroup.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteGroupMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_DeleteLoggerDefinition.go b/service/greengrass/api_op_DeleteLoggerDefinition.go index a64bee8b026..574bc267ec6 100644 --- a/service/greengrass/api_op_DeleteLoggerDefinition.go +++ b/service/greengrass/api_op_DeleteLoggerDefinition.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteLoggerDefinitionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLoggerDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_DeleteResourceDefinition.go b/service/greengrass/api_op_DeleteResourceDefinition.go index 7e91072b3b6..1febe4d7572 100644 --- a/service/greengrass/api_op_DeleteResourceDefinition.go +++ b/service/greengrass/api_op_DeleteResourceDefinition.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteResourceDefinitionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourceDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_DeleteSubscriptionDefinition.go b/service/greengrass/api_op_DeleteSubscriptionDefinition.go index f9522e74dbc..c29d0b008ec 100644 --- a/service/greengrass/api_op_DeleteSubscriptionDefinition.go +++ b/service/greengrass/api_op_DeleteSubscriptionDefinition.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteSubscriptionDefinitionMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSubscriptionDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_DisassociateRoleFromGroup.go b/service/greengrass/api_op_DisassociateRoleFromGroup.go index 0b5c9a6e154..1d009851da0 100644 --- a/service/greengrass/api_op_DisassociateRoleFromGroup.go +++ b/service/greengrass/api_op_DisassociateRoleFromGroup.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDisassociateRoleFromGroupMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateRoleFromGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_DisassociateServiceRoleFromAccount.go b/service/greengrass/api_op_DisassociateServiceRoleFromAccount.go index fc25ecfcf9c..c2f056233b3 100644 --- a/service/greengrass/api_op_DisassociateServiceRoleFromAccount.go +++ b/service/greengrass/api_op_DisassociateServiceRoleFromAccount.go @@ -106,9 +106,6 @@ func (c *Client) addOperationDisassociateServiceRoleFromAccountMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateServiceRoleFromAccount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/greengrass/api_op_GetAssociatedRole.go b/service/greengrass/api_op_GetAssociatedRole.go index 2ec338e5492..3dc7f3e331e 100644 --- a/service/greengrass/api_op_GetAssociatedRole.go +++ b/service/greengrass/api_op_GetAssociatedRole.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetAssociatedRoleMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAssociatedRoleValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetBulkDeploymentStatus.go b/service/greengrass/api_op_GetBulkDeploymentStatus.go index 3869e0bfb20..b3099e228b3 100644 --- a/service/greengrass/api_op_GetBulkDeploymentStatus.go +++ b/service/greengrass/api_op_GetBulkDeploymentStatus.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetBulkDeploymentStatusMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBulkDeploymentStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetConnectivityInfo.go b/service/greengrass/api_op_GetConnectivityInfo.go index 426d7355baa..000c331bcdc 100644 --- a/service/greengrass/api_op_GetConnectivityInfo.go +++ b/service/greengrass/api_op_GetConnectivityInfo.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetConnectivityInfoMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConnectivityInfoValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetConnectorDefinition.go b/service/greengrass/api_op_GetConnectorDefinition.go index 15477804f80..92b838cf7f8 100644 --- a/service/greengrass/api_op_GetConnectorDefinition.go +++ b/service/greengrass/api_op_GetConnectorDefinition.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetConnectorDefinitionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConnectorDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetConnectorDefinitionVersion.go b/service/greengrass/api_op_GetConnectorDefinitionVersion.go index 39224033742..2d6e435e68b 100644 --- a/service/greengrass/api_op_GetConnectorDefinitionVersion.go +++ b/service/greengrass/api_op_GetConnectorDefinitionVersion.go @@ -146,9 +146,6 @@ func (c *Client) addOperationGetConnectorDefinitionVersionMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConnectorDefinitionVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetCoreDefinition.go b/service/greengrass/api_op_GetCoreDefinition.go index 71f024e9f31..b34e66fd179 100644 --- a/service/greengrass/api_op_GetCoreDefinition.go +++ b/service/greengrass/api_op_GetCoreDefinition.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetCoreDefinitionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCoreDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetCoreDefinitionVersion.go b/service/greengrass/api_op_GetCoreDefinitionVersion.go index 47646f1ecdc..87ffe3d58c6 100644 --- a/service/greengrass/api_op_GetCoreDefinitionVersion.go +++ b/service/greengrass/api_op_GetCoreDefinitionVersion.go @@ -139,9 +139,6 @@ func (c *Client) addOperationGetCoreDefinitionVersionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCoreDefinitionVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetDeploymentStatus.go b/service/greengrass/api_op_GetDeploymentStatus.go index be96aa68095..b7fbab921f7 100644 --- a/service/greengrass/api_op_GetDeploymentStatus.go +++ b/service/greengrass/api_op_GetDeploymentStatus.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetDeploymentStatusMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeploymentStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetDeviceDefinition.go b/service/greengrass/api_op_GetDeviceDefinition.go index 92119dfb9b6..bbcf25c9da6 100644 --- a/service/greengrass/api_op_GetDeviceDefinition.go +++ b/service/greengrass/api_op_GetDeviceDefinition.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetDeviceDefinitionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeviceDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetDeviceDefinitionVersion.go b/service/greengrass/api_op_GetDeviceDefinitionVersion.go index b28c70f9976..8835d226e18 100644 --- a/service/greengrass/api_op_GetDeviceDefinitionVersion.go +++ b/service/greengrass/api_op_GetDeviceDefinitionVersion.go @@ -143,9 +143,6 @@ func (c *Client) addOperationGetDeviceDefinitionVersionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeviceDefinitionVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetFunctionDefinition.go b/service/greengrass/api_op_GetFunctionDefinition.go index d176b60daf2..d407d1862c2 100644 --- a/service/greengrass/api_op_GetFunctionDefinition.go +++ b/service/greengrass/api_op_GetFunctionDefinition.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetFunctionDefinitionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFunctionDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetFunctionDefinitionVersion.go b/service/greengrass/api_op_GetFunctionDefinitionVersion.go index 7856ba353e8..5db2ce42873 100644 --- a/service/greengrass/api_op_GetFunctionDefinitionVersion.go +++ b/service/greengrass/api_op_GetFunctionDefinitionVersion.go @@ -144,9 +144,6 @@ func (c *Client) addOperationGetFunctionDefinitionVersionMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFunctionDefinitionVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetGroup.go b/service/greengrass/api_op_GetGroup.go index 91b85383ccf..345d029e10e 100644 --- a/service/greengrass/api_op_GetGroup.go +++ b/service/greengrass/api_op_GetGroup.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetGroupMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetGroupCertificateAuthority.go b/service/greengrass/api_op_GetGroupCertificateAuthority.go index 938867b4253..09aaa2ba83d 100644 --- a/service/greengrass/api_op_GetGroupCertificateAuthority.go +++ b/service/greengrass/api_op_GetGroupCertificateAuthority.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetGroupCertificateAuthorityMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetGroupCertificateAuthorityValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetGroupCertificateConfiguration.go b/service/greengrass/api_op_GetGroupCertificateConfiguration.go index 224baf7226f..c06c0540f8c 100644 --- a/service/greengrass/api_op_GetGroupCertificateConfiguration.go +++ b/service/greengrass/api_op_GetGroupCertificateConfiguration.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetGroupCertificateConfigurationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetGroupCertificateConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetGroupVersion.go b/service/greengrass/api_op_GetGroupVersion.go index dd7a34c3d0f..2bda30f49ed 100644 --- a/service/greengrass/api_op_GetGroupVersion.go +++ b/service/greengrass/api_op_GetGroupVersion.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetGroupVersionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetGroupVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetLoggerDefinition.go b/service/greengrass/api_op_GetLoggerDefinition.go index b3c16c14bca..e2cb532bb03 100644 --- a/service/greengrass/api_op_GetLoggerDefinition.go +++ b/service/greengrass/api_op_GetLoggerDefinition.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetLoggerDefinitionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLoggerDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetLoggerDefinitionVersion.go b/service/greengrass/api_op_GetLoggerDefinitionVersion.go index 043b2ccc6bc..996d53f7260 100644 --- a/service/greengrass/api_op_GetLoggerDefinitionVersion.go +++ b/service/greengrass/api_op_GetLoggerDefinitionVersion.go @@ -139,9 +139,6 @@ func (c *Client) addOperationGetLoggerDefinitionVersionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLoggerDefinitionVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetResourceDefinition.go b/service/greengrass/api_op_GetResourceDefinition.go index 1af32d210e3..0aa92c2b936 100644 --- a/service/greengrass/api_op_GetResourceDefinition.go +++ b/service/greengrass/api_op_GetResourceDefinition.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetResourceDefinitionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourceDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetResourceDefinitionVersion.go b/service/greengrass/api_op_GetResourceDefinitionVersion.go index bc3aae1e09e..4324a2533b4 100644 --- a/service/greengrass/api_op_GetResourceDefinitionVersion.go +++ b/service/greengrass/api_op_GetResourceDefinitionVersion.go @@ -136,9 +136,6 @@ func (c *Client) addOperationGetResourceDefinitionVersionMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourceDefinitionVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetServiceRoleForAccount.go b/service/greengrass/api_op_GetServiceRoleForAccount.go index 51e5d5f1c7f..03f6c30df46 100644 --- a/service/greengrass/api_op_GetServiceRoleForAccount.go +++ b/service/greengrass/api_op_GetServiceRoleForAccount.go @@ -108,9 +108,6 @@ func (c *Client) addOperationGetServiceRoleForAccountMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServiceRoleForAccount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/greengrass/api_op_GetSubscriptionDefinition.go b/service/greengrass/api_op_GetSubscriptionDefinition.go index 4a1202fc7d5..dfcd4b1c67f 100644 --- a/service/greengrass/api_op_GetSubscriptionDefinition.go +++ b/service/greengrass/api_op_GetSubscriptionDefinition.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetSubscriptionDefinitionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSubscriptionDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetSubscriptionDefinitionVersion.go b/service/greengrass/api_op_GetSubscriptionDefinitionVersion.go index 2b77c1694d4..071d0e32219 100644 --- a/service/greengrass/api_op_GetSubscriptionDefinitionVersion.go +++ b/service/greengrass/api_op_GetSubscriptionDefinitionVersion.go @@ -143,9 +143,6 @@ func (c *Client) addOperationGetSubscriptionDefinitionVersionMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSubscriptionDefinitionVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_GetThingRuntimeConfiguration.go b/service/greengrass/api_op_GetThingRuntimeConfiguration.go index 05bab70d12d..e3d2da3b762 100644 --- a/service/greengrass/api_op_GetThingRuntimeConfiguration.go +++ b/service/greengrass/api_op_GetThingRuntimeConfiguration.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetThingRuntimeConfigurationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetThingRuntimeConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ListBulkDeploymentDetailedReports.go b/service/greengrass/api_op_ListBulkDeploymentDetailedReports.go index f539f32e6f2..bcc94b29344 100644 --- a/service/greengrass/api_op_ListBulkDeploymentDetailedReports.go +++ b/service/greengrass/api_op_ListBulkDeploymentDetailedReports.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListBulkDeploymentDetailedReportsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBulkDeploymentDetailedReportsValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ListBulkDeployments.go b/service/greengrass/api_op_ListBulkDeployments.go index 106640882ec..7c6d6196d9f 100644 --- a/service/greengrass/api_op_ListBulkDeployments.go +++ b/service/greengrass/api_op_ListBulkDeployments.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListBulkDeploymentsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBulkDeployments(options.Region), middleware.Before); err != nil { return err } diff --git a/service/greengrass/api_op_ListConnectorDefinitionVersions.go b/service/greengrass/api_op_ListConnectorDefinitionVersions.go index b6e635dbe18..e08cd4e63bf 100644 --- a/service/greengrass/api_op_ListConnectorDefinitionVersions.go +++ b/service/greengrass/api_op_ListConnectorDefinitionVersions.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListConnectorDefinitionVersionsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListConnectorDefinitionVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ListConnectorDefinitions.go b/service/greengrass/api_op_ListConnectorDefinitions.go index f825e50f762..1eee435d92c 100644 --- a/service/greengrass/api_op_ListConnectorDefinitions.go +++ b/service/greengrass/api_op_ListConnectorDefinitions.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListConnectorDefinitionsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConnectorDefinitions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/greengrass/api_op_ListCoreDefinitionVersions.go b/service/greengrass/api_op_ListCoreDefinitionVersions.go index 080db77afc3..e70e2f0240e 100644 --- a/service/greengrass/api_op_ListCoreDefinitionVersions.go +++ b/service/greengrass/api_op_ListCoreDefinitionVersions.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListCoreDefinitionVersionsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCoreDefinitionVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ListCoreDefinitions.go b/service/greengrass/api_op_ListCoreDefinitions.go index af3087eef94..bb8f69776ae 100644 --- a/service/greengrass/api_op_ListCoreDefinitions.go +++ b/service/greengrass/api_op_ListCoreDefinitions.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListCoreDefinitionsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCoreDefinitions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/greengrass/api_op_ListDeployments.go b/service/greengrass/api_op_ListDeployments.go index 18f8c1afc96..a17d3b204c9 100644 --- a/service/greengrass/api_op_ListDeployments.go +++ b/service/greengrass/api_op_ListDeployments.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListDeploymentsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDeploymentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ListDeviceDefinitionVersions.go b/service/greengrass/api_op_ListDeviceDefinitionVersions.go index a84ce1ceb73..174533b5816 100644 --- a/service/greengrass/api_op_ListDeviceDefinitionVersions.go +++ b/service/greengrass/api_op_ListDeviceDefinitionVersions.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListDeviceDefinitionVersionsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDeviceDefinitionVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ListDeviceDefinitions.go b/service/greengrass/api_op_ListDeviceDefinitions.go index 4aa6b1c1064..ac4d967b12e 100644 --- a/service/greengrass/api_op_ListDeviceDefinitions.go +++ b/service/greengrass/api_op_ListDeviceDefinitions.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListDeviceDefinitionsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeviceDefinitions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/greengrass/api_op_ListFunctionDefinitionVersions.go b/service/greengrass/api_op_ListFunctionDefinitionVersions.go index 7167b52fc77..430e7a5619a 100644 --- a/service/greengrass/api_op_ListFunctionDefinitionVersions.go +++ b/service/greengrass/api_op_ListFunctionDefinitionVersions.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListFunctionDefinitionVersionsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFunctionDefinitionVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ListFunctionDefinitions.go b/service/greengrass/api_op_ListFunctionDefinitions.go index 7e4f42dfecc..733612d47b9 100644 --- a/service/greengrass/api_op_ListFunctionDefinitions.go +++ b/service/greengrass/api_op_ListFunctionDefinitions.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListFunctionDefinitionsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFunctionDefinitions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/greengrass/api_op_ListGroupCertificateAuthorities.go b/service/greengrass/api_op_ListGroupCertificateAuthorities.go index 251a607875f..b3ccecd34eb 100644 --- a/service/greengrass/api_op_ListGroupCertificateAuthorities.go +++ b/service/greengrass/api_op_ListGroupCertificateAuthorities.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListGroupCertificateAuthoritiesMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListGroupCertificateAuthoritiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ListGroupVersions.go b/service/greengrass/api_op_ListGroupVersions.go index eaef72e0073..8785bf29545 100644 --- a/service/greengrass/api_op_ListGroupVersions.go +++ b/service/greengrass/api_op_ListGroupVersions.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListGroupVersionsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListGroupVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ListGroups.go b/service/greengrass/api_op_ListGroups.go index 1abfed469d6..997c7c0f4c7 100644 --- a/service/greengrass/api_op_ListGroups.go +++ b/service/greengrass/api_op_ListGroups.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListGroupsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/greengrass/api_op_ListLoggerDefinitionVersions.go b/service/greengrass/api_op_ListLoggerDefinitionVersions.go index 22b72203fb3..05cbc8b5a1c 100644 --- a/service/greengrass/api_op_ListLoggerDefinitionVersions.go +++ b/service/greengrass/api_op_ListLoggerDefinitionVersions.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListLoggerDefinitionVersionsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListLoggerDefinitionVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ListLoggerDefinitions.go b/service/greengrass/api_op_ListLoggerDefinitions.go index 83b9f043408..ea60a0e623b 100644 --- a/service/greengrass/api_op_ListLoggerDefinitions.go +++ b/service/greengrass/api_op_ListLoggerDefinitions.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListLoggerDefinitionsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLoggerDefinitions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/greengrass/api_op_ListResourceDefinitionVersions.go b/service/greengrass/api_op_ListResourceDefinitionVersions.go index dcb89880daf..09ce623ddb6 100644 --- a/service/greengrass/api_op_ListResourceDefinitionVersions.go +++ b/service/greengrass/api_op_ListResourceDefinitionVersions.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListResourceDefinitionVersionsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListResourceDefinitionVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ListResourceDefinitions.go b/service/greengrass/api_op_ListResourceDefinitions.go index 052daa04647..1fbba853c86 100644 --- a/service/greengrass/api_op_ListResourceDefinitions.go +++ b/service/greengrass/api_op_ListResourceDefinitions.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListResourceDefinitionsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourceDefinitions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/greengrass/api_op_ListSubscriptionDefinitionVersions.go b/service/greengrass/api_op_ListSubscriptionDefinitionVersions.go index b24e5fc2076..0dca139c01d 100644 --- a/service/greengrass/api_op_ListSubscriptionDefinitionVersions.go +++ b/service/greengrass/api_op_ListSubscriptionDefinitionVersions.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListSubscriptionDefinitionVersionsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSubscriptionDefinitionVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ListSubscriptionDefinitions.go b/service/greengrass/api_op_ListSubscriptionDefinitions.go index e901cacbb0e..ca280d10f5a 100644 --- a/service/greengrass/api_op_ListSubscriptionDefinitions.go +++ b/service/greengrass/api_op_ListSubscriptionDefinitions.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListSubscriptionDefinitionsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSubscriptionDefinitions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/greengrass/api_op_ListTagsForResource.go b/service/greengrass/api_op_ListTagsForResource.go index f39f7c81b34..cb4eff9995f 100644 --- a/service/greengrass/api_op_ListTagsForResource.go +++ b/service/greengrass/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_ResetDeployments.go b/service/greengrass/api_op_ResetDeployments.go index 7efd47e1350..661aadc4b95 100644 --- a/service/greengrass/api_op_ResetDeployments.go +++ b/service/greengrass/api_op_ResetDeployments.go @@ -121,9 +121,6 @@ func (c *Client) addOperationResetDeploymentsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResetDeploymentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_StartBulkDeployment.go b/service/greengrass/api_op_StartBulkDeployment.go index c73c6eb4846..e0bf21354c4 100644 --- a/service/greengrass/api_op_StartBulkDeployment.go +++ b/service/greengrass/api_op_StartBulkDeployment.go @@ -138,9 +138,6 @@ func (c *Client) addOperationStartBulkDeploymentMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartBulkDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_StopBulkDeployment.go b/service/greengrass/api_op_StopBulkDeployment.go index a413ed2c8f9..b935128adf5 100644 --- a/service/greengrass/api_op_StopBulkDeployment.go +++ b/service/greengrass/api_op_StopBulkDeployment.go @@ -110,9 +110,6 @@ func (c *Client) addOperationStopBulkDeploymentMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopBulkDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_TagResource.go b/service/greengrass/api_op_TagResource.go index c4c5f9114e7..aeb30be28ee 100644 --- a/service/greengrass/api_op_TagResource.go +++ b/service/greengrass/api_op_TagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_UntagResource.go b/service/greengrass/api_op_UntagResource.go index e1950211d0b..b9b2c59ce98 100644 --- a/service/greengrass/api_op_UntagResource.go +++ b/service/greengrass/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_UpdateConnectivityInfo.go b/service/greengrass/api_op_UpdateConnectivityInfo.go index b8c056e58dd..cb1d4aa3fba 100644 --- a/service/greengrass/api_op_UpdateConnectivityInfo.go +++ b/service/greengrass/api_op_UpdateConnectivityInfo.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateConnectivityInfoMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConnectivityInfoValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_UpdateConnectorDefinition.go b/service/greengrass/api_op_UpdateConnectorDefinition.go index cc5dc60bb00..35906f620c9 100644 --- a/service/greengrass/api_op_UpdateConnectorDefinition.go +++ b/service/greengrass/api_op_UpdateConnectorDefinition.go @@ -110,9 +110,6 @@ func (c *Client) addOperationUpdateConnectorDefinitionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConnectorDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_UpdateCoreDefinition.go b/service/greengrass/api_op_UpdateCoreDefinition.go index 72d0cf861c6..45fd43f10fe 100644 --- a/service/greengrass/api_op_UpdateCoreDefinition.go +++ b/service/greengrass/api_op_UpdateCoreDefinition.go @@ -110,9 +110,6 @@ func (c *Client) addOperationUpdateCoreDefinitionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCoreDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_UpdateDeviceDefinition.go b/service/greengrass/api_op_UpdateDeviceDefinition.go index 72917163c43..4c1663e9788 100644 --- a/service/greengrass/api_op_UpdateDeviceDefinition.go +++ b/service/greengrass/api_op_UpdateDeviceDefinition.go @@ -110,9 +110,6 @@ func (c *Client) addOperationUpdateDeviceDefinitionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDeviceDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_UpdateFunctionDefinition.go b/service/greengrass/api_op_UpdateFunctionDefinition.go index 93f29e9ebbd..c4ec82e6881 100644 --- a/service/greengrass/api_op_UpdateFunctionDefinition.go +++ b/service/greengrass/api_op_UpdateFunctionDefinition.go @@ -110,9 +110,6 @@ func (c *Client) addOperationUpdateFunctionDefinitionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFunctionDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_UpdateGroup.go b/service/greengrass/api_op_UpdateGroup.go index 5017064554c..e8ac53c9d51 100644 --- a/service/greengrass/api_op_UpdateGroup.go +++ b/service/greengrass/api_op_UpdateGroup.go @@ -110,9 +110,6 @@ func (c *Client) addOperationUpdateGroupMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_UpdateGroupCertificateConfiguration.go b/service/greengrass/api_op_UpdateGroupCertificateConfiguration.go index 2a243f87c27..f6c6cee65d7 100644 --- a/service/greengrass/api_op_UpdateGroupCertificateConfiguration.go +++ b/service/greengrass/api_op_UpdateGroupCertificateConfiguration.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateGroupCertificateConfigurationMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateGroupCertificateConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_UpdateLoggerDefinition.go b/service/greengrass/api_op_UpdateLoggerDefinition.go index 7b9d6738fdb..2ee36a783cc 100644 --- a/service/greengrass/api_op_UpdateLoggerDefinition.go +++ b/service/greengrass/api_op_UpdateLoggerDefinition.go @@ -110,9 +110,6 @@ func (c *Client) addOperationUpdateLoggerDefinitionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLoggerDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_UpdateResourceDefinition.go b/service/greengrass/api_op_UpdateResourceDefinition.go index 2567b36bdcf..150ca07d07c 100644 --- a/service/greengrass/api_op_UpdateResourceDefinition.go +++ b/service/greengrass/api_op_UpdateResourceDefinition.go @@ -110,9 +110,6 @@ func (c *Client) addOperationUpdateResourceDefinitionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateResourceDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_UpdateSubscriptionDefinition.go b/service/greengrass/api_op_UpdateSubscriptionDefinition.go index 32805e345d9..0c591523331 100644 --- a/service/greengrass/api_op_UpdateSubscriptionDefinition.go +++ b/service/greengrass/api_op_UpdateSubscriptionDefinition.go @@ -110,9 +110,6 @@ func (c *Client) addOperationUpdateSubscriptionDefinitionMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSubscriptionDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/api_op_UpdateThingRuntimeConfiguration.go b/service/greengrass/api_op_UpdateThingRuntimeConfiguration.go index bd6e160d4c4..c699c2417fc 100644 --- a/service/greengrass/api_op_UpdateThingRuntimeConfiguration.go +++ b/service/greengrass/api_op_UpdateThingRuntimeConfiguration.go @@ -111,9 +111,6 @@ func (c *Client) addOperationUpdateThingRuntimeConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateThingRuntimeConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrass/snapshot/api_op_AssociateRoleToGroup.go.snap b/service/greengrass/snapshot/api_op_AssociateRoleToGroup.go.snap index a917d700014..244c0fc4785 100644 --- a/service/greengrass/snapshot/api_op_AssociateRoleToGroup.go.snap +++ b/service/greengrass/snapshot/api_op_AssociateRoleToGroup.go.snap @@ -14,7 +14,6 @@ AssociateRoleToGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_AssociateServiceRoleToAccount.go.snap b/service/greengrass/snapshot/api_op_AssociateServiceRoleToAccount.go.snap index f184b2afafd..91e4debde42 100644 --- a/service/greengrass/snapshot/api_op_AssociateServiceRoleToAccount.go.snap +++ b/service/greengrass/snapshot/api_op_AssociateServiceRoleToAccount.go.snap @@ -14,7 +14,6 @@ AssociateServiceRoleToAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_CreateConnectorDefinition.go.snap b/service/greengrass/snapshot/api_op_CreateConnectorDefinition.go.snap index 1828c21c1c2..b5f6a49e672 100644 --- a/service/greengrass/snapshot/api_op_CreateConnectorDefinition.go.snap +++ b/service/greengrass/snapshot/api_op_CreateConnectorDefinition.go.snap @@ -14,7 +14,6 @@ CreateConnectorDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_CreateConnectorDefinitionVersion.go.snap b/service/greengrass/snapshot/api_op_CreateConnectorDefinitionVersion.go.snap index bfa21d7b117..dd4832a59a8 100644 --- a/service/greengrass/snapshot/api_op_CreateConnectorDefinitionVersion.go.snap +++ b/service/greengrass/snapshot/api_op_CreateConnectorDefinitionVersion.go.snap @@ -14,7 +14,6 @@ CreateConnectorDefinitionVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_CreateCoreDefinition.go.snap b/service/greengrass/snapshot/api_op_CreateCoreDefinition.go.snap index 87adf479fa7..8525ddac749 100644 --- a/service/greengrass/snapshot/api_op_CreateCoreDefinition.go.snap +++ b/service/greengrass/snapshot/api_op_CreateCoreDefinition.go.snap @@ -14,7 +14,6 @@ CreateCoreDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_CreateCoreDefinitionVersion.go.snap b/service/greengrass/snapshot/api_op_CreateCoreDefinitionVersion.go.snap index ec3aa0ee021..df7ec7e179c 100644 --- a/service/greengrass/snapshot/api_op_CreateCoreDefinitionVersion.go.snap +++ b/service/greengrass/snapshot/api_op_CreateCoreDefinitionVersion.go.snap @@ -14,7 +14,6 @@ CreateCoreDefinitionVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_CreateDeployment.go.snap b/service/greengrass/snapshot/api_op_CreateDeployment.go.snap index 6a95eb66d05..3334cbaf46f 100644 --- a/service/greengrass/snapshot/api_op_CreateDeployment.go.snap +++ b/service/greengrass/snapshot/api_op_CreateDeployment.go.snap @@ -14,7 +14,6 @@ CreateDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_CreateDeviceDefinition.go.snap b/service/greengrass/snapshot/api_op_CreateDeviceDefinition.go.snap index c9b8df36052..13b064cea9a 100644 --- a/service/greengrass/snapshot/api_op_CreateDeviceDefinition.go.snap +++ b/service/greengrass/snapshot/api_op_CreateDeviceDefinition.go.snap @@ -14,7 +14,6 @@ CreateDeviceDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_CreateDeviceDefinitionVersion.go.snap b/service/greengrass/snapshot/api_op_CreateDeviceDefinitionVersion.go.snap index 5e78259537f..99a4391c1da 100644 --- a/service/greengrass/snapshot/api_op_CreateDeviceDefinitionVersion.go.snap +++ b/service/greengrass/snapshot/api_op_CreateDeviceDefinitionVersion.go.snap @@ -14,7 +14,6 @@ CreateDeviceDefinitionVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_CreateFunctionDefinition.go.snap b/service/greengrass/snapshot/api_op_CreateFunctionDefinition.go.snap index 2f6ae403108..b7f7d48dfc6 100644 --- a/service/greengrass/snapshot/api_op_CreateFunctionDefinition.go.snap +++ b/service/greengrass/snapshot/api_op_CreateFunctionDefinition.go.snap @@ -14,7 +14,6 @@ CreateFunctionDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_CreateFunctionDefinitionVersion.go.snap b/service/greengrass/snapshot/api_op_CreateFunctionDefinitionVersion.go.snap index 12a455faa0e..24bba8a7983 100644 --- a/service/greengrass/snapshot/api_op_CreateFunctionDefinitionVersion.go.snap +++ b/service/greengrass/snapshot/api_op_CreateFunctionDefinitionVersion.go.snap @@ -14,7 +14,6 @@ CreateFunctionDefinitionVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_CreateGroup.go.snap b/service/greengrass/snapshot/api_op_CreateGroup.go.snap index f017be256c7..f4adf31ac79 100644 --- a/service/greengrass/snapshot/api_op_CreateGroup.go.snap +++ b/service/greengrass/snapshot/api_op_CreateGroup.go.snap @@ -14,7 +14,6 @@ CreateGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_CreateGroupCertificateAuthority.go.snap b/service/greengrass/snapshot/api_op_CreateGroupCertificateAuthority.go.snap index aa28d45fe01..fe72b2bc243 100644 --- a/service/greengrass/snapshot/api_op_CreateGroupCertificateAuthority.go.snap +++ b/service/greengrass/snapshot/api_op_CreateGroupCertificateAuthority.go.snap @@ -14,7 +14,6 @@ CreateGroupCertificateAuthority Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_CreateGroupVersion.go.snap b/service/greengrass/snapshot/api_op_CreateGroupVersion.go.snap index e598b38d581..2a80eb674d0 100644 --- a/service/greengrass/snapshot/api_op_CreateGroupVersion.go.snap +++ b/service/greengrass/snapshot/api_op_CreateGroupVersion.go.snap @@ -14,7 +14,6 @@ CreateGroupVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_CreateLoggerDefinition.go.snap b/service/greengrass/snapshot/api_op_CreateLoggerDefinition.go.snap index 0caa0b57e58..f00f8e8302e 100644 --- a/service/greengrass/snapshot/api_op_CreateLoggerDefinition.go.snap +++ b/service/greengrass/snapshot/api_op_CreateLoggerDefinition.go.snap @@ -14,7 +14,6 @@ CreateLoggerDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_CreateLoggerDefinitionVersion.go.snap b/service/greengrass/snapshot/api_op_CreateLoggerDefinitionVersion.go.snap index fc33b4f528c..d2c01e14235 100644 --- a/service/greengrass/snapshot/api_op_CreateLoggerDefinitionVersion.go.snap +++ b/service/greengrass/snapshot/api_op_CreateLoggerDefinitionVersion.go.snap @@ -14,7 +14,6 @@ CreateLoggerDefinitionVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_CreateResourceDefinition.go.snap b/service/greengrass/snapshot/api_op_CreateResourceDefinition.go.snap index 66f360dcc20..0569cbbacf2 100644 --- a/service/greengrass/snapshot/api_op_CreateResourceDefinition.go.snap +++ b/service/greengrass/snapshot/api_op_CreateResourceDefinition.go.snap @@ -14,7 +14,6 @@ CreateResourceDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_CreateResourceDefinitionVersion.go.snap b/service/greengrass/snapshot/api_op_CreateResourceDefinitionVersion.go.snap index 4d1989485fa..eb135425bd1 100644 --- a/service/greengrass/snapshot/api_op_CreateResourceDefinitionVersion.go.snap +++ b/service/greengrass/snapshot/api_op_CreateResourceDefinitionVersion.go.snap @@ -14,7 +14,6 @@ CreateResourceDefinitionVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_CreateSoftwareUpdateJob.go.snap b/service/greengrass/snapshot/api_op_CreateSoftwareUpdateJob.go.snap index 4da8fc909c3..73a46b9cbe7 100644 --- a/service/greengrass/snapshot/api_op_CreateSoftwareUpdateJob.go.snap +++ b/service/greengrass/snapshot/api_op_CreateSoftwareUpdateJob.go.snap @@ -14,7 +14,6 @@ CreateSoftwareUpdateJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_CreateSubscriptionDefinition.go.snap b/service/greengrass/snapshot/api_op_CreateSubscriptionDefinition.go.snap index b46dda820ca..abd5356eb72 100644 --- a/service/greengrass/snapshot/api_op_CreateSubscriptionDefinition.go.snap +++ b/service/greengrass/snapshot/api_op_CreateSubscriptionDefinition.go.snap @@ -14,7 +14,6 @@ CreateSubscriptionDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_CreateSubscriptionDefinitionVersion.go.snap b/service/greengrass/snapshot/api_op_CreateSubscriptionDefinitionVersion.go.snap index 8afca5dba5a..ccde4175e3f 100644 --- a/service/greengrass/snapshot/api_op_CreateSubscriptionDefinitionVersion.go.snap +++ b/service/greengrass/snapshot/api_op_CreateSubscriptionDefinitionVersion.go.snap @@ -14,7 +14,6 @@ CreateSubscriptionDefinitionVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_DeleteConnectorDefinition.go.snap b/service/greengrass/snapshot/api_op_DeleteConnectorDefinition.go.snap index f831223a6cf..edd071f4aaa 100644 --- a/service/greengrass/snapshot/api_op_DeleteConnectorDefinition.go.snap +++ b/service/greengrass/snapshot/api_op_DeleteConnectorDefinition.go.snap @@ -14,7 +14,6 @@ DeleteConnectorDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_DeleteCoreDefinition.go.snap b/service/greengrass/snapshot/api_op_DeleteCoreDefinition.go.snap index 4e832ec7fbb..69c092a5df0 100644 --- a/service/greengrass/snapshot/api_op_DeleteCoreDefinition.go.snap +++ b/service/greengrass/snapshot/api_op_DeleteCoreDefinition.go.snap @@ -14,7 +14,6 @@ DeleteCoreDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_DeleteDeviceDefinition.go.snap b/service/greengrass/snapshot/api_op_DeleteDeviceDefinition.go.snap index a20c8457a6f..597c94c24c8 100644 --- a/service/greengrass/snapshot/api_op_DeleteDeviceDefinition.go.snap +++ b/service/greengrass/snapshot/api_op_DeleteDeviceDefinition.go.snap @@ -14,7 +14,6 @@ DeleteDeviceDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_DeleteFunctionDefinition.go.snap b/service/greengrass/snapshot/api_op_DeleteFunctionDefinition.go.snap index 4ed4a45ac0a..4232d70a651 100644 --- a/service/greengrass/snapshot/api_op_DeleteFunctionDefinition.go.snap +++ b/service/greengrass/snapshot/api_op_DeleteFunctionDefinition.go.snap @@ -14,7 +14,6 @@ DeleteFunctionDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_DeleteGroup.go.snap b/service/greengrass/snapshot/api_op_DeleteGroup.go.snap index fa762a3a297..9a74537ddc0 100644 --- a/service/greengrass/snapshot/api_op_DeleteGroup.go.snap +++ b/service/greengrass/snapshot/api_op_DeleteGroup.go.snap @@ -14,7 +14,6 @@ DeleteGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_DeleteLoggerDefinition.go.snap b/service/greengrass/snapshot/api_op_DeleteLoggerDefinition.go.snap index 46b9cb78ccb..2ddfb48350b 100644 --- a/service/greengrass/snapshot/api_op_DeleteLoggerDefinition.go.snap +++ b/service/greengrass/snapshot/api_op_DeleteLoggerDefinition.go.snap @@ -14,7 +14,6 @@ DeleteLoggerDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_DeleteResourceDefinition.go.snap b/service/greengrass/snapshot/api_op_DeleteResourceDefinition.go.snap index 42756518877..b6171bf5c7d 100644 --- a/service/greengrass/snapshot/api_op_DeleteResourceDefinition.go.snap +++ b/service/greengrass/snapshot/api_op_DeleteResourceDefinition.go.snap @@ -14,7 +14,6 @@ DeleteResourceDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_DeleteSubscriptionDefinition.go.snap b/service/greengrass/snapshot/api_op_DeleteSubscriptionDefinition.go.snap index 5774c293057..645354aa58c 100644 --- a/service/greengrass/snapshot/api_op_DeleteSubscriptionDefinition.go.snap +++ b/service/greengrass/snapshot/api_op_DeleteSubscriptionDefinition.go.snap @@ -14,7 +14,6 @@ DeleteSubscriptionDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_DisassociateRoleFromGroup.go.snap b/service/greengrass/snapshot/api_op_DisassociateRoleFromGroup.go.snap index 93e74cf7cc6..44980c0120e 100644 --- a/service/greengrass/snapshot/api_op_DisassociateRoleFromGroup.go.snap +++ b/service/greengrass/snapshot/api_op_DisassociateRoleFromGroup.go.snap @@ -14,7 +14,6 @@ DisassociateRoleFromGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_DisassociateServiceRoleFromAccount.go.snap b/service/greengrass/snapshot/api_op_DisassociateServiceRoleFromAccount.go.snap index 38fd61c0942..831c3b42f3a 100644 --- a/service/greengrass/snapshot/api_op_DisassociateServiceRoleFromAccount.go.snap +++ b/service/greengrass/snapshot/api_op_DisassociateServiceRoleFromAccount.go.snap @@ -13,7 +13,6 @@ DisassociateServiceRoleFromAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_GetAssociatedRole.go.snap b/service/greengrass/snapshot/api_op_GetAssociatedRole.go.snap index 95168125551..dd258c3c7fb 100644 --- a/service/greengrass/snapshot/api_op_GetAssociatedRole.go.snap +++ b/service/greengrass/snapshot/api_op_GetAssociatedRole.go.snap @@ -14,7 +14,6 @@ GetAssociatedRole Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_GetBulkDeploymentStatus.go.snap b/service/greengrass/snapshot/api_op_GetBulkDeploymentStatus.go.snap index 483a5eadde5..5dea83de639 100644 --- a/service/greengrass/snapshot/api_op_GetBulkDeploymentStatus.go.snap +++ b/service/greengrass/snapshot/api_op_GetBulkDeploymentStatus.go.snap @@ -14,7 +14,6 @@ GetBulkDeploymentStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_GetConnectivityInfo.go.snap b/service/greengrass/snapshot/api_op_GetConnectivityInfo.go.snap index 54d9e051279..32f4b7a0039 100644 --- a/service/greengrass/snapshot/api_op_GetConnectivityInfo.go.snap +++ b/service/greengrass/snapshot/api_op_GetConnectivityInfo.go.snap @@ -14,7 +14,6 @@ GetConnectivityInfo Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_GetConnectorDefinition.go.snap b/service/greengrass/snapshot/api_op_GetConnectorDefinition.go.snap index dfc66284eff..82580b00c87 100644 --- a/service/greengrass/snapshot/api_op_GetConnectorDefinition.go.snap +++ b/service/greengrass/snapshot/api_op_GetConnectorDefinition.go.snap @@ -14,7 +14,6 @@ GetConnectorDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_GetConnectorDefinitionVersion.go.snap b/service/greengrass/snapshot/api_op_GetConnectorDefinitionVersion.go.snap index 0d73e2486af..8bb59f27ff6 100644 --- a/service/greengrass/snapshot/api_op_GetConnectorDefinitionVersion.go.snap +++ b/service/greengrass/snapshot/api_op_GetConnectorDefinitionVersion.go.snap @@ -14,7 +14,6 @@ GetConnectorDefinitionVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_GetCoreDefinition.go.snap b/service/greengrass/snapshot/api_op_GetCoreDefinition.go.snap index 473d73fded4..f619cffd5b1 100644 --- a/service/greengrass/snapshot/api_op_GetCoreDefinition.go.snap +++ b/service/greengrass/snapshot/api_op_GetCoreDefinition.go.snap @@ -14,7 +14,6 @@ GetCoreDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_GetCoreDefinitionVersion.go.snap b/service/greengrass/snapshot/api_op_GetCoreDefinitionVersion.go.snap index 7c6961b0468..ecb3907341b 100644 --- a/service/greengrass/snapshot/api_op_GetCoreDefinitionVersion.go.snap +++ b/service/greengrass/snapshot/api_op_GetCoreDefinitionVersion.go.snap @@ -14,7 +14,6 @@ GetCoreDefinitionVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_GetDeploymentStatus.go.snap b/service/greengrass/snapshot/api_op_GetDeploymentStatus.go.snap index 777b73f2ede..fd645edc6ef 100644 --- a/service/greengrass/snapshot/api_op_GetDeploymentStatus.go.snap +++ b/service/greengrass/snapshot/api_op_GetDeploymentStatus.go.snap @@ -14,7 +14,6 @@ GetDeploymentStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_GetDeviceDefinition.go.snap b/service/greengrass/snapshot/api_op_GetDeviceDefinition.go.snap index aca65ca78cc..abf5b0e7686 100644 --- a/service/greengrass/snapshot/api_op_GetDeviceDefinition.go.snap +++ b/service/greengrass/snapshot/api_op_GetDeviceDefinition.go.snap @@ -14,7 +14,6 @@ GetDeviceDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_GetDeviceDefinitionVersion.go.snap b/service/greengrass/snapshot/api_op_GetDeviceDefinitionVersion.go.snap index 7e94b34ecc5..e2dc6642f07 100644 --- a/service/greengrass/snapshot/api_op_GetDeviceDefinitionVersion.go.snap +++ b/service/greengrass/snapshot/api_op_GetDeviceDefinitionVersion.go.snap @@ -14,7 +14,6 @@ GetDeviceDefinitionVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_GetFunctionDefinition.go.snap b/service/greengrass/snapshot/api_op_GetFunctionDefinition.go.snap index 6fb01043989..ac76cf17e70 100644 --- a/service/greengrass/snapshot/api_op_GetFunctionDefinition.go.snap +++ b/service/greengrass/snapshot/api_op_GetFunctionDefinition.go.snap @@ -14,7 +14,6 @@ GetFunctionDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_GetFunctionDefinitionVersion.go.snap b/service/greengrass/snapshot/api_op_GetFunctionDefinitionVersion.go.snap index 73f3565860e..76f5db4b89d 100644 --- a/service/greengrass/snapshot/api_op_GetFunctionDefinitionVersion.go.snap +++ b/service/greengrass/snapshot/api_op_GetFunctionDefinitionVersion.go.snap @@ -14,7 +14,6 @@ GetFunctionDefinitionVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_GetGroup.go.snap b/service/greengrass/snapshot/api_op_GetGroup.go.snap index 25747cefc39..078a0814033 100644 --- a/service/greengrass/snapshot/api_op_GetGroup.go.snap +++ b/service/greengrass/snapshot/api_op_GetGroup.go.snap @@ -14,7 +14,6 @@ GetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_GetGroupCertificateAuthority.go.snap b/service/greengrass/snapshot/api_op_GetGroupCertificateAuthority.go.snap index 1a204809280..c33d161956a 100644 --- a/service/greengrass/snapshot/api_op_GetGroupCertificateAuthority.go.snap +++ b/service/greengrass/snapshot/api_op_GetGroupCertificateAuthority.go.snap @@ -14,7 +14,6 @@ GetGroupCertificateAuthority Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_GetGroupCertificateConfiguration.go.snap b/service/greengrass/snapshot/api_op_GetGroupCertificateConfiguration.go.snap index 091bdae3cc6..eb792236294 100644 --- a/service/greengrass/snapshot/api_op_GetGroupCertificateConfiguration.go.snap +++ b/service/greengrass/snapshot/api_op_GetGroupCertificateConfiguration.go.snap @@ -14,7 +14,6 @@ GetGroupCertificateConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_GetGroupVersion.go.snap b/service/greengrass/snapshot/api_op_GetGroupVersion.go.snap index 7e6f31fd6b1..946a638fc39 100644 --- a/service/greengrass/snapshot/api_op_GetGroupVersion.go.snap +++ b/service/greengrass/snapshot/api_op_GetGroupVersion.go.snap @@ -14,7 +14,6 @@ GetGroupVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_GetLoggerDefinition.go.snap b/service/greengrass/snapshot/api_op_GetLoggerDefinition.go.snap index 74831f8e01f..d5fd1497c74 100644 --- a/service/greengrass/snapshot/api_op_GetLoggerDefinition.go.snap +++ b/service/greengrass/snapshot/api_op_GetLoggerDefinition.go.snap @@ -14,7 +14,6 @@ GetLoggerDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_GetLoggerDefinitionVersion.go.snap b/service/greengrass/snapshot/api_op_GetLoggerDefinitionVersion.go.snap index 4303f471aaa..bc5fe3b83df 100644 --- a/service/greengrass/snapshot/api_op_GetLoggerDefinitionVersion.go.snap +++ b/service/greengrass/snapshot/api_op_GetLoggerDefinitionVersion.go.snap @@ -14,7 +14,6 @@ GetLoggerDefinitionVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_GetResourceDefinition.go.snap b/service/greengrass/snapshot/api_op_GetResourceDefinition.go.snap index 4aaeba8e487..5bb587103ca 100644 --- a/service/greengrass/snapshot/api_op_GetResourceDefinition.go.snap +++ b/service/greengrass/snapshot/api_op_GetResourceDefinition.go.snap @@ -14,7 +14,6 @@ GetResourceDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_GetResourceDefinitionVersion.go.snap b/service/greengrass/snapshot/api_op_GetResourceDefinitionVersion.go.snap index a9353b138b2..2779bd862c2 100644 --- a/service/greengrass/snapshot/api_op_GetResourceDefinitionVersion.go.snap +++ b/service/greengrass/snapshot/api_op_GetResourceDefinitionVersion.go.snap @@ -14,7 +14,6 @@ GetResourceDefinitionVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_GetServiceRoleForAccount.go.snap b/service/greengrass/snapshot/api_op_GetServiceRoleForAccount.go.snap index 69d2dbad9d3..93a7d881b31 100644 --- a/service/greengrass/snapshot/api_op_GetServiceRoleForAccount.go.snap +++ b/service/greengrass/snapshot/api_op_GetServiceRoleForAccount.go.snap @@ -13,7 +13,6 @@ GetServiceRoleForAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_GetSubscriptionDefinition.go.snap b/service/greengrass/snapshot/api_op_GetSubscriptionDefinition.go.snap index 86deb126303..b5a6d1652eb 100644 --- a/service/greengrass/snapshot/api_op_GetSubscriptionDefinition.go.snap +++ b/service/greengrass/snapshot/api_op_GetSubscriptionDefinition.go.snap @@ -14,7 +14,6 @@ GetSubscriptionDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_GetSubscriptionDefinitionVersion.go.snap b/service/greengrass/snapshot/api_op_GetSubscriptionDefinitionVersion.go.snap index 88085904da2..b635989a918 100644 --- a/service/greengrass/snapshot/api_op_GetSubscriptionDefinitionVersion.go.snap +++ b/service/greengrass/snapshot/api_op_GetSubscriptionDefinitionVersion.go.snap @@ -14,7 +14,6 @@ GetSubscriptionDefinitionVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_GetThingRuntimeConfiguration.go.snap b/service/greengrass/snapshot/api_op_GetThingRuntimeConfiguration.go.snap index 7c3cdd39fbb..2f42c6db00b 100644 --- a/service/greengrass/snapshot/api_op_GetThingRuntimeConfiguration.go.snap +++ b/service/greengrass/snapshot/api_op_GetThingRuntimeConfiguration.go.snap @@ -14,7 +14,6 @@ GetThingRuntimeConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_ListBulkDeploymentDetailedReports.go.snap b/service/greengrass/snapshot/api_op_ListBulkDeploymentDetailedReports.go.snap index 111fedea4e5..72c0739a101 100644 --- a/service/greengrass/snapshot/api_op_ListBulkDeploymentDetailedReports.go.snap +++ b/service/greengrass/snapshot/api_op_ListBulkDeploymentDetailedReports.go.snap @@ -14,7 +14,6 @@ ListBulkDeploymentDetailedReports Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_ListBulkDeployments.go.snap b/service/greengrass/snapshot/api_op_ListBulkDeployments.go.snap index 3c0dd1e6942..e2b6542a54a 100644 --- a/service/greengrass/snapshot/api_op_ListBulkDeployments.go.snap +++ b/service/greengrass/snapshot/api_op_ListBulkDeployments.go.snap @@ -13,7 +13,6 @@ ListBulkDeployments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_ListConnectorDefinitionVersions.go.snap b/service/greengrass/snapshot/api_op_ListConnectorDefinitionVersions.go.snap index 71ef62cfbc2..bcb81be1655 100644 --- a/service/greengrass/snapshot/api_op_ListConnectorDefinitionVersions.go.snap +++ b/service/greengrass/snapshot/api_op_ListConnectorDefinitionVersions.go.snap @@ -14,7 +14,6 @@ ListConnectorDefinitionVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_ListConnectorDefinitions.go.snap b/service/greengrass/snapshot/api_op_ListConnectorDefinitions.go.snap index b2b5fe32515..89bebd989e2 100644 --- a/service/greengrass/snapshot/api_op_ListConnectorDefinitions.go.snap +++ b/service/greengrass/snapshot/api_op_ListConnectorDefinitions.go.snap @@ -13,7 +13,6 @@ ListConnectorDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_ListCoreDefinitionVersions.go.snap b/service/greengrass/snapshot/api_op_ListCoreDefinitionVersions.go.snap index b1709ae1b12..eecbf309888 100644 --- a/service/greengrass/snapshot/api_op_ListCoreDefinitionVersions.go.snap +++ b/service/greengrass/snapshot/api_op_ListCoreDefinitionVersions.go.snap @@ -14,7 +14,6 @@ ListCoreDefinitionVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_ListCoreDefinitions.go.snap b/service/greengrass/snapshot/api_op_ListCoreDefinitions.go.snap index 2080c9b8776..3ef13a3d8de 100644 --- a/service/greengrass/snapshot/api_op_ListCoreDefinitions.go.snap +++ b/service/greengrass/snapshot/api_op_ListCoreDefinitions.go.snap @@ -13,7 +13,6 @@ ListCoreDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_ListDeployments.go.snap b/service/greengrass/snapshot/api_op_ListDeployments.go.snap index a27f685db14..4e35f0f1293 100644 --- a/service/greengrass/snapshot/api_op_ListDeployments.go.snap +++ b/service/greengrass/snapshot/api_op_ListDeployments.go.snap @@ -14,7 +14,6 @@ ListDeployments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_ListDeviceDefinitionVersions.go.snap b/service/greengrass/snapshot/api_op_ListDeviceDefinitionVersions.go.snap index 7787f32b2e0..ef097207021 100644 --- a/service/greengrass/snapshot/api_op_ListDeviceDefinitionVersions.go.snap +++ b/service/greengrass/snapshot/api_op_ListDeviceDefinitionVersions.go.snap @@ -14,7 +14,6 @@ ListDeviceDefinitionVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_ListDeviceDefinitions.go.snap b/service/greengrass/snapshot/api_op_ListDeviceDefinitions.go.snap index cdccb0e62f0..1a96b41e12e 100644 --- a/service/greengrass/snapshot/api_op_ListDeviceDefinitions.go.snap +++ b/service/greengrass/snapshot/api_op_ListDeviceDefinitions.go.snap @@ -13,7 +13,6 @@ ListDeviceDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_ListFunctionDefinitionVersions.go.snap b/service/greengrass/snapshot/api_op_ListFunctionDefinitionVersions.go.snap index c6015117d67..f56393d7eab 100644 --- a/service/greengrass/snapshot/api_op_ListFunctionDefinitionVersions.go.snap +++ b/service/greengrass/snapshot/api_op_ListFunctionDefinitionVersions.go.snap @@ -14,7 +14,6 @@ ListFunctionDefinitionVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_ListFunctionDefinitions.go.snap b/service/greengrass/snapshot/api_op_ListFunctionDefinitions.go.snap index 449bac6986b..a0c51f5390f 100644 --- a/service/greengrass/snapshot/api_op_ListFunctionDefinitions.go.snap +++ b/service/greengrass/snapshot/api_op_ListFunctionDefinitions.go.snap @@ -13,7 +13,6 @@ ListFunctionDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_ListGroupCertificateAuthorities.go.snap b/service/greengrass/snapshot/api_op_ListGroupCertificateAuthorities.go.snap index cc4d3ef249f..67b45224b59 100644 --- a/service/greengrass/snapshot/api_op_ListGroupCertificateAuthorities.go.snap +++ b/service/greengrass/snapshot/api_op_ListGroupCertificateAuthorities.go.snap @@ -14,7 +14,6 @@ ListGroupCertificateAuthorities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_ListGroupVersions.go.snap b/service/greengrass/snapshot/api_op_ListGroupVersions.go.snap index 592265ab438..dd53243caf6 100644 --- a/service/greengrass/snapshot/api_op_ListGroupVersions.go.snap +++ b/service/greengrass/snapshot/api_op_ListGroupVersions.go.snap @@ -14,7 +14,6 @@ ListGroupVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_ListGroups.go.snap b/service/greengrass/snapshot/api_op_ListGroups.go.snap index c2a7a20f677..de1d3e2658f 100644 --- a/service/greengrass/snapshot/api_op_ListGroups.go.snap +++ b/service/greengrass/snapshot/api_op_ListGroups.go.snap @@ -13,7 +13,6 @@ ListGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_ListLoggerDefinitionVersions.go.snap b/service/greengrass/snapshot/api_op_ListLoggerDefinitionVersions.go.snap index edab127978f..41a64780705 100644 --- a/service/greengrass/snapshot/api_op_ListLoggerDefinitionVersions.go.snap +++ b/service/greengrass/snapshot/api_op_ListLoggerDefinitionVersions.go.snap @@ -14,7 +14,6 @@ ListLoggerDefinitionVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_ListLoggerDefinitions.go.snap b/service/greengrass/snapshot/api_op_ListLoggerDefinitions.go.snap index 623205fe391..7f142c22d9e 100644 --- a/service/greengrass/snapshot/api_op_ListLoggerDefinitions.go.snap +++ b/service/greengrass/snapshot/api_op_ListLoggerDefinitions.go.snap @@ -13,7 +13,6 @@ ListLoggerDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_ListResourceDefinitionVersions.go.snap b/service/greengrass/snapshot/api_op_ListResourceDefinitionVersions.go.snap index b5530bf3f94..06c3585b38a 100644 --- a/service/greengrass/snapshot/api_op_ListResourceDefinitionVersions.go.snap +++ b/service/greengrass/snapshot/api_op_ListResourceDefinitionVersions.go.snap @@ -14,7 +14,6 @@ ListResourceDefinitionVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_ListResourceDefinitions.go.snap b/service/greengrass/snapshot/api_op_ListResourceDefinitions.go.snap index 6fa49b04384..261b11224aa 100644 --- a/service/greengrass/snapshot/api_op_ListResourceDefinitions.go.snap +++ b/service/greengrass/snapshot/api_op_ListResourceDefinitions.go.snap @@ -13,7 +13,6 @@ ListResourceDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_ListSubscriptionDefinitionVersions.go.snap b/service/greengrass/snapshot/api_op_ListSubscriptionDefinitionVersions.go.snap index d195639eb15..9478b14633f 100644 --- a/service/greengrass/snapshot/api_op_ListSubscriptionDefinitionVersions.go.snap +++ b/service/greengrass/snapshot/api_op_ListSubscriptionDefinitionVersions.go.snap @@ -14,7 +14,6 @@ ListSubscriptionDefinitionVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_ListSubscriptionDefinitions.go.snap b/service/greengrass/snapshot/api_op_ListSubscriptionDefinitions.go.snap index 910cc56614c..5a54bb81574 100644 --- a/service/greengrass/snapshot/api_op_ListSubscriptionDefinitions.go.snap +++ b/service/greengrass/snapshot/api_op_ListSubscriptionDefinitions.go.snap @@ -13,7 +13,6 @@ ListSubscriptionDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_ListTagsForResource.go.snap b/service/greengrass/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/greengrass/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/greengrass/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_ResetDeployments.go.snap b/service/greengrass/snapshot/api_op_ResetDeployments.go.snap index 9fad77e7e5c..ccc1d5cf6f3 100644 --- a/service/greengrass/snapshot/api_op_ResetDeployments.go.snap +++ b/service/greengrass/snapshot/api_op_ResetDeployments.go.snap @@ -14,7 +14,6 @@ ResetDeployments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_StartBulkDeployment.go.snap b/service/greengrass/snapshot/api_op_StartBulkDeployment.go.snap index e2328608683..4379355bd70 100644 --- a/service/greengrass/snapshot/api_op_StartBulkDeployment.go.snap +++ b/service/greengrass/snapshot/api_op_StartBulkDeployment.go.snap @@ -14,7 +14,6 @@ StartBulkDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_StopBulkDeployment.go.snap b/service/greengrass/snapshot/api_op_StopBulkDeployment.go.snap index 79ebe273dd4..1b803ddac32 100644 --- a/service/greengrass/snapshot/api_op_StopBulkDeployment.go.snap +++ b/service/greengrass/snapshot/api_op_StopBulkDeployment.go.snap @@ -14,7 +14,6 @@ StopBulkDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_TagResource.go.snap b/service/greengrass/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/greengrass/snapshot/api_op_TagResource.go.snap +++ b/service/greengrass/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_UntagResource.go.snap b/service/greengrass/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/greengrass/snapshot/api_op_UntagResource.go.snap +++ b/service/greengrass/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_UpdateConnectivityInfo.go.snap b/service/greengrass/snapshot/api_op_UpdateConnectivityInfo.go.snap index 0bb671948fa..e4afd1a4c41 100644 --- a/service/greengrass/snapshot/api_op_UpdateConnectivityInfo.go.snap +++ b/service/greengrass/snapshot/api_op_UpdateConnectivityInfo.go.snap @@ -14,7 +14,6 @@ UpdateConnectivityInfo Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_UpdateConnectorDefinition.go.snap b/service/greengrass/snapshot/api_op_UpdateConnectorDefinition.go.snap index 41a87c1c6b6..65736b866c9 100644 --- a/service/greengrass/snapshot/api_op_UpdateConnectorDefinition.go.snap +++ b/service/greengrass/snapshot/api_op_UpdateConnectorDefinition.go.snap @@ -14,7 +14,6 @@ UpdateConnectorDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_UpdateCoreDefinition.go.snap b/service/greengrass/snapshot/api_op_UpdateCoreDefinition.go.snap index 12723b00b80..11c0d46816c 100644 --- a/service/greengrass/snapshot/api_op_UpdateCoreDefinition.go.snap +++ b/service/greengrass/snapshot/api_op_UpdateCoreDefinition.go.snap @@ -14,7 +14,6 @@ UpdateCoreDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_UpdateDeviceDefinition.go.snap b/service/greengrass/snapshot/api_op_UpdateDeviceDefinition.go.snap index 25cb11fa821..f443dd71f90 100644 --- a/service/greengrass/snapshot/api_op_UpdateDeviceDefinition.go.snap +++ b/service/greengrass/snapshot/api_op_UpdateDeviceDefinition.go.snap @@ -14,7 +14,6 @@ UpdateDeviceDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_UpdateFunctionDefinition.go.snap b/service/greengrass/snapshot/api_op_UpdateFunctionDefinition.go.snap index 9c94891d2d9..ec038914144 100644 --- a/service/greengrass/snapshot/api_op_UpdateFunctionDefinition.go.snap +++ b/service/greengrass/snapshot/api_op_UpdateFunctionDefinition.go.snap @@ -14,7 +14,6 @@ UpdateFunctionDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_UpdateGroup.go.snap b/service/greengrass/snapshot/api_op_UpdateGroup.go.snap index 4e6da26c18e..4d69c0aef49 100644 --- a/service/greengrass/snapshot/api_op_UpdateGroup.go.snap +++ b/service/greengrass/snapshot/api_op_UpdateGroup.go.snap @@ -14,7 +14,6 @@ UpdateGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_UpdateGroupCertificateConfiguration.go.snap b/service/greengrass/snapshot/api_op_UpdateGroupCertificateConfiguration.go.snap index 52d8ed7c2c7..e956eaa0370 100644 --- a/service/greengrass/snapshot/api_op_UpdateGroupCertificateConfiguration.go.snap +++ b/service/greengrass/snapshot/api_op_UpdateGroupCertificateConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateGroupCertificateConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_UpdateLoggerDefinition.go.snap b/service/greengrass/snapshot/api_op_UpdateLoggerDefinition.go.snap index ace072bca2d..f44f3740b86 100644 --- a/service/greengrass/snapshot/api_op_UpdateLoggerDefinition.go.snap +++ b/service/greengrass/snapshot/api_op_UpdateLoggerDefinition.go.snap @@ -14,7 +14,6 @@ UpdateLoggerDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_UpdateResourceDefinition.go.snap b/service/greengrass/snapshot/api_op_UpdateResourceDefinition.go.snap index 39c73fb5dd8..f10df0fc91a 100644 --- a/service/greengrass/snapshot/api_op_UpdateResourceDefinition.go.snap +++ b/service/greengrass/snapshot/api_op_UpdateResourceDefinition.go.snap @@ -14,7 +14,6 @@ UpdateResourceDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_UpdateSubscriptionDefinition.go.snap b/service/greengrass/snapshot/api_op_UpdateSubscriptionDefinition.go.snap index ea31bd9a8df..d2a1cf4c102 100644 --- a/service/greengrass/snapshot/api_op_UpdateSubscriptionDefinition.go.snap +++ b/service/greengrass/snapshot/api_op_UpdateSubscriptionDefinition.go.snap @@ -14,7 +14,6 @@ UpdateSubscriptionDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrass/snapshot/api_op_UpdateThingRuntimeConfiguration.go.snap b/service/greengrass/snapshot/api_op_UpdateThingRuntimeConfiguration.go.snap index d8b262ee94e..70d5807f096 100644 --- a/service/greengrass/snapshot/api_op_UpdateThingRuntimeConfiguration.go.snap +++ b/service/greengrass/snapshot/api_op_UpdateThingRuntimeConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateThingRuntimeConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrassv2/api_client.go b/service/greengrassv2/api_client.go index d081bba3729..63a1c4c45fd 100644 --- a/service/greengrassv2/api_client.go +++ b/service/greengrassv2/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/greengrassv2/api_op_AssociateServiceRoleToAccount.go b/service/greengrassv2/api_op_AssociateServiceRoleToAccount.go index 34620f089b2..25a93d6e8e5 100644 --- a/service/greengrassv2/api_op_AssociateServiceRoleToAccount.go +++ b/service/greengrassv2/api_op_AssociateServiceRoleToAccount.go @@ -123,9 +123,6 @@ func (c *Client) addOperationAssociateServiceRoleToAccountMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateServiceRoleToAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_BatchAssociateClientDeviceWithCoreDevice.go b/service/greengrassv2/api_op_BatchAssociateClientDeviceWithCoreDevice.go index 7e74db07dac..384734f38bd 100644 --- a/service/greengrassv2/api_op_BatchAssociateClientDeviceWithCoreDevice.go +++ b/service/greengrassv2/api_op_BatchAssociateClientDeviceWithCoreDevice.go @@ -129,9 +129,6 @@ func (c *Client) addOperationBatchAssociateClientDeviceWithCoreDeviceMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchAssociateClientDeviceWithCoreDeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_BatchDisassociateClientDeviceFromCoreDevice.go b/service/greengrassv2/api_op_BatchDisassociateClientDeviceFromCoreDevice.go index 050c1f31dcc..a9b691e7050 100644 --- a/service/greengrassv2/api_op_BatchDisassociateClientDeviceFromCoreDevice.go +++ b/service/greengrassv2/api_op_BatchDisassociateClientDeviceFromCoreDevice.go @@ -119,9 +119,6 @@ func (c *Client) addOperationBatchDisassociateClientDeviceFromCoreDeviceMiddlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDisassociateClientDeviceFromCoreDeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_CancelDeployment.go b/service/greengrassv2/api_op_CancelDeployment.go index fe1271c55ed..8cb282ee58a 100644 --- a/service/greengrassv2/api_op_CancelDeployment.go +++ b/service/greengrassv2/api_op_CancelDeployment.go @@ -113,9 +113,6 @@ func (c *Client) addOperationCancelDeploymentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_CreateComponentVersion.go b/service/greengrassv2/api_op_CreateComponentVersion.go index bfb79877df1..04a06861048 100644 --- a/service/greengrassv2/api_op_CreateComponentVersion.go +++ b/service/greengrassv2/api_op_CreateComponentVersion.go @@ -196,9 +196,6 @@ func (c *Client) addOperationCreateComponentVersionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateComponentVersionMiddleware(stack, options); err != nil { return err } diff --git a/service/greengrassv2/api_op_CreateDeployment.go b/service/greengrassv2/api_op_CreateDeployment.go index 2a20270bef2..d4fb42c3527 100644 --- a/service/greengrassv2/api_op_CreateDeployment.go +++ b/service/greengrassv2/api_op_CreateDeployment.go @@ -175,9 +175,6 @@ func (c *Client) addOperationCreateDeploymentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDeploymentMiddleware(stack, options); err != nil { return err } diff --git a/service/greengrassv2/api_op_DeleteComponent.go b/service/greengrassv2/api_op_DeleteComponent.go index 6ae52298579..cfffa86be71 100644 --- a/service/greengrassv2/api_op_DeleteComponent.go +++ b/service/greengrassv2/api_op_DeleteComponent.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteComponentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteComponentValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_DeleteCoreDevice.go b/service/greengrassv2/api_op_DeleteCoreDevice.go index 66d24c64051..232025b6a1d 100644 --- a/service/greengrassv2/api_op_DeleteCoreDevice.go +++ b/service/greengrassv2/api_op_DeleteCoreDevice.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteCoreDeviceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCoreDeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_DeleteDeployment.go b/service/greengrassv2/api_op_DeleteDeployment.go index 4c300207238..34729434ae7 100644 --- a/service/greengrassv2/api_op_DeleteDeployment.go +++ b/service/greengrassv2/api_op_DeleteDeployment.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteDeploymentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_DescribeComponent.go b/service/greengrassv2/api_op_DescribeComponent.go index 292e9360955..d8b8b258d9d 100644 --- a/service/greengrassv2/api_op_DescribeComponent.go +++ b/service/greengrassv2/api_op_DescribeComponent.go @@ -145,9 +145,6 @@ func (c *Client) addOperationDescribeComponentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeComponentValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_DisassociateServiceRoleFromAccount.go b/service/greengrassv2/api_op_DisassociateServiceRoleFromAccount.go index 6ddbd76c45f..6d94d4bee0f 100644 --- a/service/greengrassv2/api_op_DisassociateServiceRoleFromAccount.go +++ b/service/greengrassv2/api_op_DisassociateServiceRoleFromAccount.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDisassociateServiceRoleFromAccountMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateServiceRoleFromAccount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/greengrassv2/api_op_GetComponent.go b/service/greengrassv2/api_op_GetComponent.go index cd7d2e40272..7e69c9bec49 100644 --- a/service/greengrassv2/api_op_GetComponent.go +++ b/service/greengrassv2/api_op_GetComponent.go @@ -130,9 +130,6 @@ func (c *Client) addOperationGetComponentMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetComponentValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_GetComponentVersionArtifact.go b/service/greengrassv2/api_op_GetComponentVersionArtifact.go index e07ceec214b..0cda7f7597f 100644 --- a/service/greengrassv2/api_op_GetComponentVersionArtifact.go +++ b/service/greengrassv2/api_op_GetComponentVersionArtifact.go @@ -143,9 +143,6 @@ func (c *Client) addOperationGetComponentVersionArtifactMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetComponentVersionArtifactValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_GetConnectivityInfo.go b/service/greengrassv2/api_op_GetConnectivityInfo.go index e3f6c62da1b..8bb76889a33 100644 --- a/service/greengrassv2/api_op_GetConnectivityInfo.go +++ b/service/greengrassv2/api_op_GetConnectivityInfo.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetConnectivityInfoMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConnectivityInfoValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_GetCoreDevice.go b/service/greengrassv2/api_op_GetCoreDevice.go index 6a655be4306..a6192f256e2 100644 --- a/service/greengrassv2/api_op_GetCoreDevice.go +++ b/service/greengrassv2/api_op_GetCoreDevice.go @@ -175,9 +175,6 @@ func (c *Client) addOperationGetCoreDeviceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCoreDeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_GetDeployment.go b/service/greengrassv2/api_op_GetDeployment.go index 7bc2bb421ca..6ba296f57c6 100644 --- a/service/greengrassv2/api_op_GetDeployment.go +++ b/service/greengrassv2/api_op_GetDeployment.go @@ -167,9 +167,6 @@ func (c *Client) addOperationGetDeploymentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_GetServiceRoleForAccount.go b/service/greengrassv2/api_op_GetServiceRoleForAccount.go index 01fa7f4cd75..7efeba2cbc1 100644 --- a/service/greengrassv2/api_op_GetServiceRoleForAccount.go +++ b/service/greengrassv2/api_op_GetServiceRoleForAccount.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetServiceRoleForAccountMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServiceRoleForAccount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/greengrassv2/api_op_ListClientDevicesAssociatedWithCoreDevice.go b/service/greengrassv2/api_op_ListClientDevicesAssociatedWithCoreDevice.go index 7f888863550..1acbdd843fd 100644 --- a/service/greengrassv2/api_op_ListClientDevicesAssociatedWithCoreDevice.go +++ b/service/greengrassv2/api_op_ListClientDevicesAssociatedWithCoreDevice.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListClientDevicesAssociatedWithCoreDeviceMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListClientDevicesAssociatedWithCoreDeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_ListComponentVersions.go b/service/greengrassv2/api_op_ListComponentVersions.go index f30e734bdcb..be7e2781954 100644 --- a/service/greengrassv2/api_op_ListComponentVersions.go +++ b/service/greengrassv2/api_op_ListComponentVersions.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListComponentVersionsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListComponentVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_ListComponents.go b/service/greengrassv2/api_op_ListComponents.go index 70cc2eddad5..6abee6dc4c0 100644 --- a/service/greengrassv2/api_op_ListComponents.go +++ b/service/greengrassv2/api_op_ListComponents.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListComponentsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListComponents(options.Region), middleware.Before); err != nil { return err } diff --git a/service/greengrassv2/api_op_ListCoreDevices.go b/service/greengrassv2/api_op_ListCoreDevices.go index 72bb8b681da..6938ad9cc47 100644 --- a/service/greengrassv2/api_op_ListCoreDevices.go +++ b/service/greengrassv2/api_op_ListCoreDevices.go @@ -171,9 +171,6 @@ func (c *Client) addOperationListCoreDevicesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCoreDevices(options.Region), middleware.Before); err != nil { return err } diff --git a/service/greengrassv2/api_op_ListDeployments.go b/service/greengrassv2/api_op_ListDeployments.go index fb50cd91fe5..a41c3ce16ed 100644 --- a/service/greengrassv2/api_op_ListDeployments.go +++ b/service/greengrassv2/api_op_ListDeployments.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListDeploymentsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeployments(options.Region), middleware.Before); err != nil { return err } diff --git a/service/greengrassv2/api_op_ListEffectiveDeployments.go b/service/greengrassv2/api_op_ListEffectiveDeployments.go index 6570e717588..46ede39b507 100644 --- a/service/greengrassv2/api_op_ListEffectiveDeployments.go +++ b/service/greengrassv2/api_op_ListEffectiveDeployments.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListEffectiveDeploymentsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEffectiveDeploymentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_ListInstalledComponents.go b/service/greengrassv2/api_op_ListInstalledComponents.go index 3e59d85d8d8..1b954e2d915 100644 --- a/service/greengrassv2/api_op_ListInstalledComponents.go +++ b/service/greengrassv2/api_op_ListInstalledComponents.go @@ -166,9 +166,6 @@ func (c *Client) addOperationListInstalledComponentsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListInstalledComponentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_ListTagsForResource.go b/service/greengrassv2/api_op_ListTagsForResource.go index 3d728e7f722..0380b8c50b7 100644 --- a/service/greengrassv2/api_op_ListTagsForResource.go +++ b/service/greengrassv2/api_op_ListTagsForResource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_ResolveComponentCandidates.go b/service/greengrassv2/api_op_ResolveComponentCandidates.go index f5281d5b19c..2b671195675 100644 --- a/service/greengrassv2/api_op_ResolveComponentCandidates.go +++ b/service/greengrassv2/api_op_ResolveComponentCandidates.go @@ -133,9 +133,6 @@ func (c *Client) addOperationResolveComponentCandidatesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResolveComponentCandidates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/greengrassv2/api_op_TagResource.go b/service/greengrassv2/api_op_TagResource.go index 03d508f5e18..b896944feac 100644 --- a/service/greengrassv2/api_op_TagResource.go +++ b/service/greengrassv2/api_op_TagResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_UntagResource.go b/service/greengrassv2/api_op_UntagResource.go index 7b3c921c5b7..1816ff8ccc3 100644 --- a/service/greengrassv2/api_op_UntagResource.go +++ b/service/greengrassv2/api_op_UntagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/api_op_UpdateConnectivityInfo.go b/service/greengrassv2/api_op_UpdateConnectivityInfo.go index d04d55cb23e..5f4dca6fd35 100644 --- a/service/greengrassv2/api_op_UpdateConnectivityInfo.go +++ b/service/greengrassv2/api_op_UpdateConnectivityInfo.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUpdateConnectivityInfoMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConnectivityInfoValidationMiddleware(stack); err != nil { return err } diff --git a/service/greengrassv2/snapshot/api_op_AssociateServiceRoleToAccount.go.snap b/service/greengrassv2/snapshot/api_op_AssociateServiceRoleToAccount.go.snap index f184b2afafd..91e4debde42 100644 --- a/service/greengrassv2/snapshot/api_op_AssociateServiceRoleToAccount.go.snap +++ b/service/greengrassv2/snapshot/api_op_AssociateServiceRoleToAccount.go.snap @@ -14,7 +14,6 @@ AssociateServiceRoleToAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrassv2/snapshot/api_op_BatchAssociateClientDeviceWithCoreDevice.go.snap b/service/greengrassv2/snapshot/api_op_BatchAssociateClientDeviceWithCoreDevice.go.snap index 6811ca10aec..86c3692a50e 100644 --- a/service/greengrassv2/snapshot/api_op_BatchAssociateClientDeviceWithCoreDevice.go.snap +++ b/service/greengrassv2/snapshot/api_op_BatchAssociateClientDeviceWithCoreDevice.go.snap @@ -14,7 +14,6 @@ BatchAssociateClientDeviceWithCoreDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrassv2/snapshot/api_op_BatchDisassociateClientDeviceFromCoreDevice.go.snap b/service/greengrassv2/snapshot/api_op_BatchDisassociateClientDeviceFromCoreDevice.go.snap index 31d110e1abd..94c80b9cbcd 100644 --- a/service/greengrassv2/snapshot/api_op_BatchDisassociateClientDeviceFromCoreDevice.go.snap +++ b/service/greengrassv2/snapshot/api_op_BatchDisassociateClientDeviceFromCoreDevice.go.snap @@ -14,7 +14,6 @@ BatchDisassociateClientDeviceFromCoreDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrassv2/snapshot/api_op_CancelDeployment.go.snap b/service/greengrassv2/snapshot/api_op_CancelDeployment.go.snap index 17ea73e73c6..669f285dc81 100644 --- a/service/greengrassv2/snapshot/api_op_CancelDeployment.go.snap +++ b/service/greengrassv2/snapshot/api_op_CancelDeployment.go.snap @@ -14,7 +14,6 @@ CancelDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrassv2/snapshot/api_op_CreateComponentVersion.go.snap b/service/greengrassv2/snapshot/api_op_CreateComponentVersion.go.snap index ee888c7ec15..678d517ed3d 100644 --- a/service/greengrassv2/snapshot/api_op_CreateComponentVersion.go.snap +++ b/service/greengrassv2/snapshot/api_op_CreateComponentVersion.go.snap @@ -15,7 +15,6 @@ CreateComponentVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrassv2/snapshot/api_op_CreateDeployment.go.snap b/service/greengrassv2/snapshot/api_op_CreateDeployment.go.snap index 4193985c7c6..638f5aec1f8 100644 --- a/service/greengrassv2/snapshot/api_op_CreateDeployment.go.snap +++ b/service/greengrassv2/snapshot/api_op_CreateDeployment.go.snap @@ -15,7 +15,6 @@ CreateDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrassv2/snapshot/api_op_DeleteComponent.go.snap b/service/greengrassv2/snapshot/api_op_DeleteComponent.go.snap index 41afbb31f32..8511e11596a 100644 --- a/service/greengrassv2/snapshot/api_op_DeleteComponent.go.snap +++ b/service/greengrassv2/snapshot/api_op_DeleteComponent.go.snap @@ -14,7 +14,6 @@ DeleteComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrassv2/snapshot/api_op_DeleteCoreDevice.go.snap b/service/greengrassv2/snapshot/api_op_DeleteCoreDevice.go.snap index a7a3b0fc08b..6855d3e36f6 100644 --- a/service/greengrassv2/snapshot/api_op_DeleteCoreDevice.go.snap +++ b/service/greengrassv2/snapshot/api_op_DeleteCoreDevice.go.snap @@ -14,7 +14,6 @@ DeleteCoreDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrassv2/snapshot/api_op_DeleteDeployment.go.snap b/service/greengrassv2/snapshot/api_op_DeleteDeployment.go.snap index e7a35d80b4f..964f6b772df 100644 --- a/service/greengrassv2/snapshot/api_op_DeleteDeployment.go.snap +++ b/service/greengrassv2/snapshot/api_op_DeleteDeployment.go.snap @@ -14,7 +14,6 @@ DeleteDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrassv2/snapshot/api_op_DescribeComponent.go.snap b/service/greengrassv2/snapshot/api_op_DescribeComponent.go.snap index 4747ed111fa..439b2d23298 100644 --- a/service/greengrassv2/snapshot/api_op_DescribeComponent.go.snap +++ b/service/greengrassv2/snapshot/api_op_DescribeComponent.go.snap @@ -14,7 +14,6 @@ DescribeComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrassv2/snapshot/api_op_DisassociateServiceRoleFromAccount.go.snap b/service/greengrassv2/snapshot/api_op_DisassociateServiceRoleFromAccount.go.snap index 38fd61c0942..831c3b42f3a 100644 --- a/service/greengrassv2/snapshot/api_op_DisassociateServiceRoleFromAccount.go.snap +++ b/service/greengrassv2/snapshot/api_op_DisassociateServiceRoleFromAccount.go.snap @@ -13,7 +13,6 @@ DisassociateServiceRoleFromAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrassv2/snapshot/api_op_GetComponent.go.snap b/service/greengrassv2/snapshot/api_op_GetComponent.go.snap index 5768daf3ae8..680830a7f4d 100644 --- a/service/greengrassv2/snapshot/api_op_GetComponent.go.snap +++ b/service/greengrassv2/snapshot/api_op_GetComponent.go.snap @@ -14,7 +14,6 @@ GetComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrassv2/snapshot/api_op_GetComponentVersionArtifact.go.snap b/service/greengrassv2/snapshot/api_op_GetComponentVersionArtifact.go.snap index a74239130a0..3377f51ffeb 100644 --- a/service/greengrassv2/snapshot/api_op_GetComponentVersionArtifact.go.snap +++ b/service/greengrassv2/snapshot/api_op_GetComponentVersionArtifact.go.snap @@ -14,7 +14,6 @@ GetComponentVersionArtifact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrassv2/snapshot/api_op_GetConnectivityInfo.go.snap b/service/greengrassv2/snapshot/api_op_GetConnectivityInfo.go.snap index 54d9e051279..32f4b7a0039 100644 --- a/service/greengrassv2/snapshot/api_op_GetConnectivityInfo.go.snap +++ b/service/greengrassv2/snapshot/api_op_GetConnectivityInfo.go.snap @@ -14,7 +14,6 @@ GetConnectivityInfo Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrassv2/snapshot/api_op_GetCoreDevice.go.snap b/service/greengrassv2/snapshot/api_op_GetCoreDevice.go.snap index 1365e782495..2c9c5c2d86e 100644 --- a/service/greengrassv2/snapshot/api_op_GetCoreDevice.go.snap +++ b/service/greengrassv2/snapshot/api_op_GetCoreDevice.go.snap @@ -14,7 +14,6 @@ GetCoreDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrassv2/snapshot/api_op_GetDeployment.go.snap b/service/greengrassv2/snapshot/api_op_GetDeployment.go.snap index 65b4d552af7..7f1504a336c 100644 --- a/service/greengrassv2/snapshot/api_op_GetDeployment.go.snap +++ b/service/greengrassv2/snapshot/api_op_GetDeployment.go.snap @@ -14,7 +14,6 @@ GetDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrassv2/snapshot/api_op_GetServiceRoleForAccount.go.snap b/service/greengrassv2/snapshot/api_op_GetServiceRoleForAccount.go.snap index 69d2dbad9d3..93a7d881b31 100644 --- a/service/greengrassv2/snapshot/api_op_GetServiceRoleForAccount.go.snap +++ b/service/greengrassv2/snapshot/api_op_GetServiceRoleForAccount.go.snap @@ -13,7 +13,6 @@ GetServiceRoleForAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrassv2/snapshot/api_op_ListClientDevicesAssociatedWithCoreDevice.go.snap b/service/greengrassv2/snapshot/api_op_ListClientDevicesAssociatedWithCoreDevice.go.snap index ca40436f0aa..fa01a624544 100644 --- a/service/greengrassv2/snapshot/api_op_ListClientDevicesAssociatedWithCoreDevice.go.snap +++ b/service/greengrassv2/snapshot/api_op_ListClientDevicesAssociatedWithCoreDevice.go.snap @@ -14,7 +14,6 @@ ListClientDevicesAssociatedWithCoreDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrassv2/snapshot/api_op_ListComponentVersions.go.snap b/service/greengrassv2/snapshot/api_op_ListComponentVersions.go.snap index 9909eb5f0da..d292295399f 100644 --- a/service/greengrassv2/snapshot/api_op_ListComponentVersions.go.snap +++ b/service/greengrassv2/snapshot/api_op_ListComponentVersions.go.snap @@ -14,7 +14,6 @@ ListComponentVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrassv2/snapshot/api_op_ListComponents.go.snap b/service/greengrassv2/snapshot/api_op_ListComponents.go.snap index 53b6f454dde..2e97dba2ec7 100644 --- a/service/greengrassv2/snapshot/api_op_ListComponents.go.snap +++ b/service/greengrassv2/snapshot/api_op_ListComponents.go.snap @@ -13,7 +13,6 @@ ListComponents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrassv2/snapshot/api_op_ListCoreDevices.go.snap b/service/greengrassv2/snapshot/api_op_ListCoreDevices.go.snap index 59843fe1bb9..681b1cd123f 100644 --- a/service/greengrassv2/snapshot/api_op_ListCoreDevices.go.snap +++ b/service/greengrassv2/snapshot/api_op_ListCoreDevices.go.snap @@ -13,7 +13,6 @@ ListCoreDevices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrassv2/snapshot/api_op_ListDeployments.go.snap b/service/greengrassv2/snapshot/api_op_ListDeployments.go.snap index 87731027850..ac65f925362 100644 --- a/service/greengrassv2/snapshot/api_op_ListDeployments.go.snap +++ b/service/greengrassv2/snapshot/api_op_ListDeployments.go.snap @@ -13,7 +13,6 @@ ListDeployments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrassv2/snapshot/api_op_ListEffectiveDeployments.go.snap b/service/greengrassv2/snapshot/api_op_ListEffectiveDeployments.go.snap index a41da7696cb..993fb032997 100644 --- a/service/greengrassv2/snapshot/api_op_ListEffectiveDeployments.go.snap +++ b/service/greengrassv2/snapshot/api_op_ListEffectiveDeployments.go.snap @@ -14,7 +14,6 @@ ListEffectiveDeployments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrassv2/snapshot/api_op_ListInstalledComponents.go.snap b/service/greengrassv2/snapshot/api_op_ListInstalledComponents.go.snap index ff42efb12b6..ff8d8650d4e 100644 --- a/service/greengrassv2/snapshot/api_op_ListInstalledComponents.go.snap +++ b/service/greengrassv2/snapshot/api_op_ListInstalledComponents.go.snap @@ -14,7 +14,6 @@ ListInstalledComponents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrassv2/snapshot/api_op_ListTagsForResource.go.snap b/service/greengrassv2/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/greengrassv2/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/greengrassv2/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrassv2/snapshot/api_op_ResolveComponentCandidates.go.snap b/service/greengrassv2/snapshot/api_op_ResolveComponentCandidates.go.snap index 21e20fdef58..1930427e605 100644 --- a/service/greengrassv2/snapshot/api_op_ResolveComponentCandidates.go.snap +++ b/service/greengrassv2/snapshot/api_op_ResolveComponentCandidates.go.snap @@ -13,7 +13,6 @@ ResolveComponentCandidates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrassv2/snapshot/api_op_TagResource.go.snap b/service/greengrassv2/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/greengrassv2/snapshot/api_op_TagResource.go.snap +++ b/service/greengrassv2/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrassv2/snapshot/api_op_UntagResource.go.snap b/service/greengrassv2/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/greengrassv2/snapshot/api_op_UntagResource.go.snap +++ b/service/greengrassv2/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/greengrassv2/snapshot/api_op_UpdateConnectivityInfo.go.snap b/service/greengrassv2/snapshot/api_op_UpdateConnectivityInfo.go.snap index 0bb671948fa..e4afd1a4c41 100644 --- a/service/greengrassv2/snapshot/api_op_UpdateConnectivityInfo.go.snap +++ b/service/greengrassv2/snapshot/api_op_UpdateConnectivityInfo.go.snap @@ -14,7 +14,6 @@ UpdateConnectivityInfo Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/groundstation/api_client.go b/service/groundstation/api_client.go index 4a8a27231bf..4f335715367 100644 --- a/service/groundstation/api_client.go +++ b/service/groundstation/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/groundstation/api_op_CancelContact.go b/service/groundstation/api_op_CancelContact.go index c7fb0f181cf..5d18f434c1b 100644 --- a/service/groundstation/api_op_CancelContact.go +++ b/service/groundstation/api_op_CancelContact.go @@ -111,9 +111,6 @@ func (c *Client) addOperationCancelContactMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelContactValidationMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_CreateConfig.go b/service/groundstation/api_op_CreateConfig.go index 4ea269cd2a7..ed9c0510457 100644 --- a/service/groundstation/api_op_CreateConfig.go +++ b/service/groundstation/api_op_CreateConfig.go @@ -128,9 +128,6 @@ func (c *Client) addOperationCreateConfigMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_CreateDataflowEndpointGroup.go b/service/groundstation/api_op_CreateDataflowEndpointGroup.go index d2b97fba94a..44ba5450fc8 100644 --- a/service/groundstation/api_op_CreateDataflowEndpointGroup.go +++ b/service/groundstation/api_op_CreateDataflowEndpointGroup.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCreateDataflowEndpointGroupMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDataflowEndpointGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_CreateEphemeris.go b/service/groundstation/api_op_CreateEphemeris.go index fdc547bba3c..8e66acec2a6 100644 --- a/service/groundstation/api_op_CreateEphemeris.go +++ b/service/groundstation/api_op_CreateEphemeris.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCreateEphemerisMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEphemerisValidationMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_CreateMissionProfile.go b/service/groundstation/api_op_CreateMissionProfile.go index 594d6752aba..b00717760f4 100644 --- a/service/groundstation/api_op_CreateMissionProfile.go +++ b/service/groundstation/api_op_CreateMissionProfile.go @@ -150,9 +150,6 @@ func (c *Client) addOperationCreateMissionProfileMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateMissionProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_DeleteConfig.go b/service/groundstation/api_op_DeleteConfig.go index 9735b5aea5d..2ed67da9a4a 100644 --- a/service/groundstation/api_op_DeleteConfig.go +++ b/service/groundstation/api_op_DeleteConfig.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteConfigMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_DeleteDataflowEndpointGroup.go b/service/groundstation/api_op_DeleteDataflowEndpointGroup.go index 543f6f98959..920104491ba 100644 --- a/service/groundstation/api_op_DeleteDataflowEndpointGroup.go +++ b/service/groundstation/api_op_DeleteDataflowEndpointGroup.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteDataflowEndpointGroupMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDataflowEndpointGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_DeleteEphemeris.go b/service/groundstation/api_op_DeleteEphemeris.go index 9c283b271ea..954479bec62 100644 --- a/service/groundstation/api_op_DeleteEphemeris.go +++ b/service/groundstation/api_op_DeleteEphemeris.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteEphemerisMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEphemerisValidationMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_DeleteMissionProfile.go b/service/groundstation/api_op_DeleteMissionProfile.go index d0b53fddb3d..f2674a83694 100644 --- a/service/groundstation/api_op_DeleteMissionProfile.go +++ b/service/groundstation/api_op_DeleteMissionProfile.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteMissionProfileMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMissionProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_DescribeContact.go b/service/groundstation/api_op_DescribeContact.go index 74fdc9fbf92..7c4a88dfc1a 100644 --- a/service/groundstation/api_op_DescribeContact.go +++ b/service/groundstation/api_op_DescribeContact.go @@ -170,9 +170,6 @@ func (c *Client) addOperationDescribeContactMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeContactValidationMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_DescribeEphemeris.go b/service/groundstation/api_op_DescribeEphemeris.go index a183a2d5d6d..4a33b33859d 100644 --- a/service/groundstation/api_op_DescribeEphemeris.go +++ b/service/groundstation/api_op_DescribeEphemeris.go @@ -148,9 +148,6 @@ func (c *Client) addOperationDescribeEphemerisMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEphemerisValidationMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_GetAgentConfiguration.go b/service/groundstation/api_op_GetAgentConfiguration.go index 65a83111ab5..f630eb8c5fb 100644 --- a/service/groundstation/api_op_GetAgentConfiguration.go +++ b/service/groundstation/api_op_GetAgentConfiguration.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetAgentConfigurationMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAgentConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_GetConfig.go b/service/groundstation/api_op_GetConfig.go index 7cdd970a06d..c7f615c3b78 100644 --- a/service/groundstation/api_op_GetConfig.go +++ b/service/groundstation/api_op_GetConfig.go @@ -142,9 +142,6 @@ func (c *Client) addOperationGetConfigMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_GetDataflowEndpointGroup.go b/service/groundstation/api_op_GetDataflowEndpointGroup.go index 831f17c3715..6425db73547 100644 --- a/service/groundstation/api_op_GetDataflowEndpointGroup.go +++ b/service/groundstation/api_op_GetDataflowEndpointGroup.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetDataflowEndpointGroupMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataflowEndpointGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_GetMinuteUsage.go b/service/groundstation/api_op_GetMinuteUsage.go index b30750675bd..4a4d3823b8a 100644 --- a/service/groundstation/api_op_GetMinuteUsage.go +++ b/service/groundstation/api_op_GetMinuteUsage.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetMinuteUsageMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMinuteUsageValidationMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_GetMissionProfile.go b/service/groundstation/api_op_GetMissionProfile.go index 9e72d46dc54..e331a8f7182 100644 --- a/service/groundstation/api_op_GetMissionProfile.go +++ b/service/groundstation/api_op_GetMissionProfile.go @@ -150,9 +150,6 @@ func (c *Client) addOperationGetMissionProfileMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMissionProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_GetSatellite.go b/service/groundstation/api_op_GetSatellite.go index 2ad74cee2c6..5fc9db17c05 100644 --- a/service/groundstation/api_op_GetSatellite.go +++ b/service/groundstation/api_op_GetSatellite.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetSatelliteMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSatelliteValidationMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_ListConfigs.go b/service/groundstation/api_op_ListConfigs.go index cbf5a01db4a..82390ae36b9 100644 --- a/service/groundstation/api_op_ListConfigs.go +++ b/service/groundstation/api_op_ListConfigs.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListConfigsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConfigs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/groundstation/api_op_ListContacts.go b/service/groundstation/api_op_ListContacts.go index 217edc4b7f2..4f58255610f 100644 --- a/service/groundstation/api_op_ListContacts.go +++ b/service/groundstation/api_op_ListContacts.go @@ -146,9 +146,6 @@ func (c *Client) addOperationListContactsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListContactsValidationMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_ListDataflowEndpointGroups.go b/service/groundstation/api_op_ListDataflowEndpointGroups.go index 35ca5f68d6d..6a3a41865f8 100644 --- a/service/groundstation/api_op_ListDataflowEndpointGroups.go +++ b/service/groundstation/api_op_ListDataflowEndpointGroups.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListDataflowEndpointGroupsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataflowEndpointGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/groundstation/api_op_ListEphemerides.go b/service/groundstation/api_op_ListEphemerides.go index c60e546a3f0..4a4f125a55a 100644 --- a/service/groundstation/api_op_ListEphemerides.go +++ b/service/groundstation/api_op_ListEphemerides.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListEphemeridesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEphemeridesValidationMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_ListGroundStations.go b/service/groundstation/api_op_ListGroundStations.go index a840bfb7c10..f4c4ed9f4eb 100644 --- a/service/groundstation/api_op_ListGroundStations.go +++ b/service/groundstation/api_op_ListGroundStations.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListGroundStationsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGroundStations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/groundstation/api_op_ListMissionProfiles.go b/service/groundstation/api_op_ListMissionProfiles.go index b3d8c7a0866..3b3873cf1a1 100644 --- a/service/groundstation/api_op_ListMissionProfiles.go +++ b/service/groundstation/api_op_ListMissionProfiles.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListMissionProfilesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMissionProfiles(options.Region), middleware.Before); err != nil { return err } diff --git a/service/groundstation/api_op_ListSatellites.go b/service/groundstation/api_op_ListSatellites.go index ac728558aea..9061e5a7dcc 100644 --- a/service/groundstation/api_op_ListSatellites.go +++ b/service/groundstation/api_op_ListSatellites.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListSatellitesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSatellites(options.Region), middleware.Before); err != nil { return err } diff --git a/service/groundstation/api_op_ListTagsForResource.go b/service/groundstation/api_op_ListTagsForResource.go index 7cfbb469c08..7931aee2e99 100644 --- a/service/groundstation/api_op_ListTagsForResource.go +++ b/service/groundstation/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_RegisterAgent.go b/service/groundstation/api_op_RegisterAgent.go index a899b0f298b..8ec1023a53f 100644 --- a/service/groundstation/api_op_RegisterAgent.go +++ b/service/groundstation/api_op_RegisterAgent.go @@ -119,9 +119,6 @@ func (c *Client) addOperationRegisterAgentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterAgentValidationMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_ReserveContact.go b/service/groundstation/api_op_ReserveContact.go index 7dff23ad5aa..f0b028d6016 100644 --- a/service/groundstation/api_op_ReserveContact.go +++ b/service/groundstation/api_op_ReserveContact.go @@ -135,9 +135,6 @@ func (c *Client) addOperationReserveContactMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpReserveContactValidationMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_TagResource.go b/service/groundstation/api_op_TagResource.go index d1713f1e862..056abc75b10 100644 --- a/service/groundstation/api_op_TagResource.go +++ b/service/groundstation/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_UntagResource.go b/service/groundstation/api_op_UntagResource.go index 3c98ef0b5a0..eff15c55d7d 100644 --- a/service/groundstation/api_op_UntagResource.go +++ b/service/groundstation/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_UpdateAgentStatus.go b/service/groundstation/api_op_UpdateAgentStatus.go index fd6359db704..989724fa789 100644 --- a/service/groundstation/api_op_UpdateAgentStatus.go +++ b/service/groundstation/api_op_UpdateAgentStatus.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateAgentStatusMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAgentStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_UpdateConfig.go b/service/groundstation/api_op_UpdateConfig.go index 7726125eb30..934ead8ac5a 100644 --- a/service/groundstation/api_op_UpdateConfig.go +++ b/service/groundstation/api_op_UpdateConfig.go @@ -136,9 +136,6 @@ func (c *Client) addOperationUpdateConfigMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_UpdateEphemeris.go b/service/groundstation/api_op_UpdateEphemeris.go index f9cdcdc93fc..72c051cfb3f 100644 --- a/service/groundstation/api_op_UpdateEphemeris.go +++ b/service/groundstation/api_op_UpdateEphemeris.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateEphemerisMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEphemerisValidationMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/api_op_UpdateMissionProfile.go b/service/groundstation/api_op_UpdateMissionProfile.go index 604f1a38455..cef15d10d9c 100644 --- a/service/groundstation/api_op_UpdateMissionProfile.go +++ b/service/groundstation/api_op_UpdateMissionProfile.go @@ -144,9 +144,6 @@ func (c *Client) addOperationUpdateMissionProfileMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMissionProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/groundstation/snapshot/api_op_CancelContact.go.snap b/service/groundstation/snapshot/api_op_CancelContact.go.snap index c35779c4f8e..4c0e567256e 100644 --- a/service/groundstation/snapshot/api_op_CancelContact.go.snap +++ b/service/groundstation/snapshot/api_op_CancelContact.go.snap @@ -14,7 +14,6 @@ CancelContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/groundstation/snapshot/api_op_CreateConfig.go.snap b/service/groundstation/snapshot/api_op_CreateConfig.go.snap index 2b909554ed0..42d77b2fca8 100644 --- a/service/groundstation/snapshot/api_op_CreateConfig.go.snap +++ b/service/groundstation/snapshot/api_op_CreateConfig.go.snap @@ -14,7 +14,6 @@ CreateConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/groundstation/snapshot/api_op_CreateDataflowEndpointGroup.go.snap b/service/groundstation/snapshot/api_op_CreateDataflowEndpointGroup.go.snap index ce2f3a3bb70..d5ec1667503 100644 --- a/service/groundstation/snapshot/api_op_CreateDataflowEndpointGroup.go.snap +++ b/service/groundstation/snapshot/api_op_CreateDataflowEndpointGroup.go.snap @@ -14,7 +14,6 @@ CreateDataflowEndpointGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/groundstation/snapshot/api_op_CreateEphemeris.go.snap b/service/groundstation/snapshot/api_op_CreateEphemeris.go.snap index 3180cbe7d48..27fc79f2a8c 100644 --- a/service/groundstation/snapshot/api_op_CreateEphemeris.go.snap +++ b/service/groundstation/snapshot/api_op_CreateEphemeris.go.snap @@ -14,7 +14,6 @@ CreateEphemeris Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/groundstation/snapshot/api_op_CreateMissionProfile.go.snap b/service/groundstation/snapshot/api_op_CreateMissionProfile.go.snap index 098c5fa4294..6f5c18355f3 100644 --- a/service/groundstation/snapshot/api_op_CreateMissionProfile.go.snap +++ b/service/groundstation/snapshot/api_op_CreateMissionProfile.go.snap @@ -14,7 +14,6 @@ CreateMissionProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/groundstation/snapshot/api_op_DeleteConfig.go.snap b/service/groundstation/snapshot/api_op_DeleteConfig.go.snap index dfd912b0b12..47d3ae27b14 100644 --- a/service/groundstation/snapshot/api_op_DeleteConfig.go.snap +++ b/service/groundstation/snapshot/api_op_DeleteConfig.go.snap @@ -14,7 +14,6 @@ DeleteConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/groundstation/snapshot/api_op_DeleteDataflowEndpointGroup.go.snap b/service/groundstation/snapshot/api_op_DeleteDataflowEndpointGroup.go.snap index a5f01f895bc..d31260eff73 100644 --- a/service/groundstation/snapshot/api_op_DeleteDataflowEndpointGroup.go.snap +++ b/service/groundstation/snapshot/api_op_DeleteDataflowEndpointGroup.go.snap @@ -14,7 +14,6 @@ DeleteDataflowEndpointGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/groundstation/snapshot/api_op_DeleteEphemeris.go.snap b/service/groundstation/snapshot/api_op_DeleteEphemeris.go.snap index 04a29e614f7..e0da18fd9fd 100644 --- a/service/groundstation/snapshot/api_op_DeleteEphemeris.go.snap +++ b/service/groundstation/snapshot/api_op_DeleteEphemeris.go.snap @@ -14,7 +14,6 @@ DeleteEphemeris Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/groundstation/snapshot/api_op_DeleteMissionProfile.go.snap b/service/groundstation/snapshot/api_op_DeleteMissionProfile.go.snap index 0a992b655a4..768d6420fa3 100644 --- a/service/groundstation/snapshot/api_op_DeleteMissionProfile.go.snap +++ b/service/groundstation/snapshot/api_op_DeleteMissionProfile.go.snap @@ -14,7 +14,6 @@ DeleteMissionProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/groundstation/snapshot/api_op_DescribeContact.go.snap b/service/groundstation/snapshot/api_op_DescribeContact.go.snap index 8aef881ed8b..583982fb6a9 100644 --- a/service/groundstation/snapshot/api_op_DescribeContact.go.snap +++ b/service/groundstation/snapshot/api_op_DescribeContact.go.snap @@ -14,7 +14,6 @@ DescribeContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/groundstation/snapshot/api_op_DescribeEphemeris.go.snap b/service/groundstation/snapshot/api_op_DescribeEphemeris.go.snap index 72918c8ea38..4413119628e 100644 --- a/service/groundstation/snapshot/api_op_DescribeEphemeris.go.snap +++ b/service/groundstation/snapshot/api_op_DescribeEphemeris.go.snap @@ -14,7 +14,6 @@ DescribeEphemeris Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/groundstation/snapshot/api_op_GetAgentConfiguration.go.snap b/service/groundstation/snapshot/api_op_GetAgentConfiguration.go.snap index c7832bcf2d1..0f7423f87a1 100644 --- a/service/groundstation/snapshot/api_op_GetAgentConfiguration.go.snap +++ b/service/groundstation/snapshot/api_op_GetAgentConfiguration.go.snap @@ -14,7 +14,6 @@ GetAgentConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/groundstation/snapshot/api_op_GetConfig.go.snap b/service/groundstation/snapshot/api_op_GetConfig.go.snap index dd8b1247e50..ca4027b607e 100644 --- a/service/groundstation/snapshot/api_op_GetConfig.go.snap +++ b/service/groundstation/snapshot/api_op_GetConfig.go.snap @@ -14,7 +14,6 @@ GetConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/groundstation/snapshot/api_op_GetDataflowEndpointGroup.go.snap b/service/groundstation/snapshot/api_op_GetDataflowEndpointGroup.go.snap index 59b6931c648..6ee0bdb7570 100644 --- a/service/groundstation/snapshot/api_op_GetDataflowEndpointGroup.go.snap +++ b/service/groundstation/snapshot/api_op_GetDataflowEndpointGroup.go.snap @@ -14,7 +14,6 @@ GetDataflowEndpointGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/groundstation/snapshot/api_op_GetMinuteUsage.go.snap b/service/groundstation/snapshot/api_op_GetMinuteUsage.go.snap index 288bb76aab3..9189537131f 100644 --- a/service/groundstation/snapshot/api_op_GetMinuteUsage.go.snap +++ b/service/groundstation/snapshot/api_op_GetMinuteUsage.go.snap @@ -14,7 +14,6 @@ GetMinuteUsage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/groundstation/snapshot/api_op_GetMissionProfile.go.snap b/service/groundstation/snapshot/api_op_GetMissionProfile.go.snap index e9355f8577e..dcf8e707a72 100644 --- a/service/groundstation/snapshot/api_op_GetMissionProfile.go.snap +++ b/service/groundstation/snapshot/api_op_GetMissionProfile.go.snap @@ -14,7 +14,6 @@ GetMissionProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/groundstation/snapshot/api_op_GetSatellite.go.snap b/service/groundstation/snapshot/api_op_GetSatellite.go.snap index 000043f57bc..a64128703bf 100644 --- a/service/groundstation/snapshot/api_op_GetSatellite.go.snap +++ b/service/groundstation/snapshot/api_op_GetSatellite.go.snap @@ -14,7 +14,6 @@ GetSatellite Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/groundstation/snapshot/api_op_ListConfigs.go.snap b/service/groundstation/snapshot/api_op_ListConfigs.go.snap index 3b34dc3a8ab..2933052c381 100644 --- a/service/groundstation/snapshot/api_op_ListConfigs.go.snap +++ b/service/groundstation/snapshot/api_op_ListConfigs.go.snap @@ -13,7 +13,6 @@ ListConfigs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/groundstation/snapshot/api_op_ListContacts.go.snap b/service/groundstation/snapshot/api_op_ListContacts.go.snap index 329bcc30021..f82ff00b4f6 100644 --- a/service/groundstation/snapshot/api_op_ListContacts.go.snap +++ b/service/groundstation/snapshot/api_op_ListContacts.go.snap @@ -14,7 +14,6 @@ ListContacts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/groundstation/snapshot/api_op_ListDataflowEndpointGroups.go.snap b/service/groundstation/snapshot/api_op_ListDataflowEndpointGroups.go.snap index 4b71a949a40..3eab5ebb40f 100644 --- a/service/groundstation/snapshot/api_op_ListDataflowEndpointGroups.go.snap +++ b/service/groundstation/snapshot/api_op_ListDataflowEndpointGroups.go.snap @@ -13,7 +13,6 @@ ListDataflowEndpointGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/groundstation/snapshot/api_op_ListEphemerides.go.snap b/service/groundstation/snapshot/api_op_ListEphemerides.go.snap index d953e240474..64dedf517bf 100644 --- a/service/groundstation/snapshot/api_op_ListEphemerides.go.snap +++ b/service/groundstation/snapshot/api_op_ListEphemerides.go.snap @@ -14,7 +14,6 @@ ListEphemerides Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/groundstation/snapshot/api_op_ListGroundStations.go.snap b/service/groundstation/snapshot/api_op_ListGroundStations.go.snap index 103667c0b77..849b25cf2ac 100644 --- a/service/groundstation/snapshot/api_op_ListGroundStations.go.snap +++ b/service/groundstation/snapshot/api_op_ListGroundStations.go.snap @@ -13,7 +13,6 @@ ListGroundStations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/groundstation/snapshot/api_op_ListMissionProfiles.go.snap b/service/groundstation/snapshot/api_op_ListMissionProfiles.go.snap index 6b43268db82..54d87131579 100644 --- a/service/groundstation/snapshot/api_op_ListMissionProfiles.go.snap +++ b/service/groundstation/snapshot/api_op_ListMissionProfiles.go.snap @@ -13,7 +13,6 @@ ListMissionProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/groundstation/snapshot/api_op_ListSatellites.go.snap b/service/groundstation/snapshot/api_op_ListSatellites.go.snap index 0b8c3452b6f..3c1429d2d4b 100644 --- a/service/groundstation/snapshot/api_op_ListSatellites.go.snap +++ b/service/groundstation/snapshot/api_op_ListSatellites.go.snap @@ -13,7 +13,6 @@ ListSatellites Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/groundstation/snapshot/api_op_ListTagsForResource.go.snap b/service/groundstation/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/groundstation/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/groundstation/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/groundstation/snapshot/api_op_RegisterAgent.go.snap b/service/groundstation/snapshot/api_op_RegisterAgent.go.snap index 8caa00f6a23..0c697553dc3 100644 --- a/service/groundstation/snapshot/api_op_RegisterAgent.go.snap +++ b/service/groundstation/snapshot/api_op_RegisterAgent.go.snap @@ -14,7 +14,6 @@ RegisterAgent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/groundstation/snapshot/api_op_ReserveContact.go.snap b/service/groundstation/snapshot/api_op_ReserveContact.go.snap index b233ac7ac2f..677f8f2b477 100644 --- a/service/groundstation/snapshot/api_op_ReserveContact.go.snap +++ b/service/groundstation/snapshot/api_op_ReserveContact.go.snap @@ -14,7 +14,6 @@ ReserveContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/groundstation/snapshot/api_op_TagResource.go.snap b/service/groundstation/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/groundstation/snapshot/api_op_TagResource.go.snap +++ b/service/groundstation/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/groundstation/snapshot/api_op_UntagResource.go.snap b/service/groundstation/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/groundstation/snapshot/api_op_UntagResource.go.snap +++ b/service/groundstation/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/groundstation/snapshot/api_op_UpdateAgentStatus.go.snap b/service/groundstation/snapshot/api_op_UpdateAgentStatus.go.snap index bd8a5cb292d..87ed8f3202b 100644 --- a/service/groundstation/snapshot/api_op_UpdateAgentStatus.go.snap +++ b/service/groundstation/snapshot/api_op_UpdateAgentStatus.go.snap @@ -14,7 +14,6 @@ UpdateAgentStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/groundstation/snapshot/api_op_UpdateConfig.go.snap b/service/groundstation/snapshot/api_op_UpdateConfig.go.snap index 29580b4ee03..dda171b1cb2 100644 --- a/service/groundstation/snapshot/api_op_UpdateConfig.go.snap +++ b/service/groundstation/snapshot/api_op_UpdateConfig.go.snap @@ -14,7 +14,6 @@ UpdateConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/groundstation/snapshot/api_op_UpdateEphemeris.go.snap b/service/groundstation/snapshot/api_op_UpdateEphemeris.go.snap index 9d86f13968f..0fe9eda4bff 100644 --- a/service/groundstation/snapshot/api_op_UpdateEphemeris.go.snap +++ b/service/groundstation/snapshot/api_op_UpdateEphemeris.go.snap @@ -14,7 +14,6 @@ UpdateEphemeris Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/groundstation/snapshot/api_op_UpdateMissionProfile.go.snap b/service/groundstation/snapshot/api_op_UpdateMissionProfile.go.snap index dfd4a4c71a3..7570317224a 100644 --- a/service/groundstation/snapshot/api_op_UpdateMissionProfile.go.snap +++ b/service/groundstation/snapshot/api_op_UpdateMissionProfile.go.snap @@ -14,7 +14,6 @@ UpdateMissionProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/api_client.go b/service/guardduty/api_client.go index 9d167bb31e0..195834d86f4 100644 --- a/service/guardduty/api_client.go +++ b/service/guardduty/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/guardduty/api_op_AcceptAdministratorInvitation.go b/service/guardduty/api_op_AcceptAdministratorInvitation.go index 01aac06415e..2e4971e37d7 100644 --- a/service/guardduty/api_op_AcceptAdministratorInvitation.go +++ b/service/guardduty/api_op_AcceptAdministratorInvitation.go @@ -120,9 +120,6 @@ func (c *Client) addOperationAcceptAdministratorInvitationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptAdministratorInvitationValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_AcceptInvitation.go b/service/guardduty/api_op_AcceptInvitation.go index 8e077a36122..f0f61e62ea7 100644 --- a/service/guardduty/api_op_AcceptInvitation.go +++ b/service/guardduty/api_op_AcceptInvitation.go @@ -127,9 +127,6 @@ func (c *Client) addOperationAcceptInvitationMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptInvitationValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_ArchiveFindings.go b/service/guardduty/api_op_ArchiveFindings.go index 70695ac3bf7..c763fc77450 100644 --- a/service/guardduty/api_op_ArchiveFindings.go +++ b/service/guardduty/api_op_ArchiveFindings.go @@ -121,9 +121,6 @@ func (c *Client) addOperationArchiveFindingsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpArchiveFindingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_CreateDetector.go b/service/guardduty/api_op_CreateDetector.go index bc402d8ac26..7f2e038c47c 100644 --- a/service/guardduty/api_op_CreateDetector.go +++ b/service/guardduty/api_op_CreateDetector.go @@ -161,9 +161,6 @@ func (c *Client) addOperationCreateDetectorMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDetectorMiddleware(stack, options); err != nil { return err } diff --git a/service/guardduty/api_op_CreateFilter.go b/service/guardduty/api_op_CreateFilter.go index ce584a96bb0..39edd4c27d2 100644 --- a/service/guardduty/api_op_CreateFilter.go +++ b/service/guardduty/api_op_CreateFilter.go @@ -371,9 +371,6 @@ func (c *Client) addOperationCreateFilterMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateFilterMiddleware(stack, options); err != nil { return err } diff --git a/service/guardduty/api_op_CreateIPSet.go b/service/guardduty/api_op_CreateIPSet.go index b68287c7e10..a90f5521920 100644 --- a/service/guardduty/api_op_CreateIPSet.go +++ b/service/guardduty/api_op_CreateIPSet.go @@ -153,9 +153,6 @@ func (c *Client) addOperationCreateIPSetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateIPSetMiddleware(stack, options); err != nil { return err } diff --git a/service/guardduty/api_op_CreateMalwareProtectionPlan.go b/service/guardduty/api_op_CreateMalwareProtectionPlan.go index dd2bdf8a927..965b44219dc 100644 --- a/service/guardduty/api_op_CreateMalwareProtectionPlan.go +++ b/service/guardduty/api_op_CreateMalwareProtectionPlan.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateMalwareProtectionPlanMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateMalwareProtectionPlanMiddleware(stack, options); err != nil { return err } diff --git a/service/guardduty/api_op_CreateMembers.go b/service/guardduty/api_op_CreateMembers.go index bade2cb3e0c..3235116b6fc 100644 --- a/service/guardduty/api_op_CreateMembers.go +++ b/service/guardduty/api_op_CreateMembers.go @@ -157,9 +157,6 @@ func (c *Client) addOperationCreateMembersMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateMembersValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_CreatePublishingDestination.go b/service/guardduty/api_op_CreatePublishingDestination.go index d11fff79ffa..500b2f6d0ba 100644 --- a/service/guardduty/api_op_CreatePublishingDestination.go +++ b/service/guardduty/api_op_CreatePublishingDestination.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreatePublishingDestinationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreatePublishingDestinationMiddleware(stack, options); err != nil { return err } diff --git a/service/guardduty/api_op_CreateSampleFindings.go b/service/guardduty/api_op_CreateSampleFindings.go index 2b6e519afa1..2f6dcebc6f3 100644 --- a/service/guardduty/api_op_CreateSampleFindings.go +++ b/service/guardduty/api_op_CreateSampleFindings.go @@ -117,9 +117,6 @@ func (c *Client) addOperationCreateSampleFindingsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSampleFindingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_CreateThreatIntelSet.go b/service/guardduty/api_op_CreateThreatIntelSet.go index 170fd44c62e..3972f289b50 100644 --- a/service/guardduty/api_op_CreateThreatIntelSet.go +++ b/service/guardduty/api_op_CreateThreatIntelSet.go @@ -151,9 +151,6 @@ func (c *Client) addOperationCreateThreatIntelSetMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateThreatIntelSetMiddleware(stack, options); err != nil { return err } diff --git a/service/guardduty/api_op_DeclineInvitations.go b/service/guardduty/api_op_DeclineInvitations.go index c885a49578b..460464835a7 100644 --- a/service/guardduty/api_op_DeclineInvitations.go +++ b/service/guardduty/api_op_DeclineInvitations.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeclineInvitationsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeclineInvitationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_DeleteDetector.go b/service/guardduty/api_op_DeleteDetector.go index e57f14f9a4d..a3ee31c9209 100644 --- a/service/guardduty/api_op_DeleteDetector.go +++ b/service/guardduty/api_op_DeleteDetector.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteDetectorMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDetectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_DeleteFilter.go b/service/guardduty/api_op_DeleteFilter.go index fdee59b66b1..49a8e6ca39b 100644 --- a/service/guardduty/api_op_DeleteFilter.go +++ b/service/guardduty/api_op_DeleteFilter.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteFilterMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFilterValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_DeleteIPSet.go b/service/guardduty/api_op_DeleteIPSet.go index e6c855e4352..2831209ea09 100644 --- a/service/guardduty/api_op_DeleteIPSet.go +++ b/service/guardduty/api_op_DeleteIPSet.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteIPSetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIPSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_DeleteInvitations.go b/service/guardduty/api_op_DeleteInvitations.go index c1373ee9c23..80bc31dbbe7 100644 --- a/service/guardduty/api_op_DeleteInvitations.go +++ b/service/guardduty/api_op_DeleteInvitations.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteInvitationsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInvitationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_DeleteMalwareProtectionPlan.go b/service/guardduty/api_op_DeleteMalwareProtectionPlan.go index 38751170cd3..574d89847e4 100644 --- a/service/guardduty/api_op_DeleteMalwareProtectionPlan.go +++ b/service/guardduty/api_op_DeleteMalwareProtectionPlan.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteMalwareProtectionPlanMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMalwareProtectionPlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_DeleteMembers.go b/service/guardduty/api_op_DeleteMembers.go index d8ebb67b5a4..c34409b3e0c 100644 --- a/service/guardduty/api_op_DeleteMembers.go +++ b/service/guardduty/api_op_DeleteMembers.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDeleteMembersMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMembersValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_DeletePublishingDestination.go b/service/guardduty/api_op_DeletePublishingDestination.go index e9faef30612..7bbe2a343f9 100644 --- a/service/guardduty/api_op_DeletePublishingDestination.go +++ b/service/guardduty/api_op_DeletePublishingDestination.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeletePublishingDestinationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePublishingDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_DeleteThreatIntelSet.go b/service/guardduty/api_op_DeleteThreatIntelSet.go index d999bbc34ae..5b80ca9ccc0 100644 --- a/service/guardduty/api_op_DeleteThreatIntelSet.go +++ b/service/guardduty/api_op_DeleteThreatIntelSet.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteThreatIntelSetMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteThreatIntelSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_DescribeMalwareScans.go b/service/guardduty/api_op_DescribeMalwareScans.go index e7713857844..a391c28a39f 100644 --- a/service/guardduty/api_op_DescribeMalwareScans.go +++ b/service/guardduty/api_op_DescribeMalwareScans.go @@ -151,9 +151,6 @@ func (c *Client) addOperationDescribeMalwareScansMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeMalwareScansValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_DescribeOrganizationConfiguration.go b/service/guardduty/api_op_DescribeOrganizationConfiguration.go index 13be2b53274..6c68eb61bc1 100644 --- a/service/guardduty/api_op_DescribeOrganizationConfiguration.go +++ b/service/guardduty/api_op_DescribeOrganizationConfiguration.go @@ -183,9 +183,6 @@ func (c *Client) addOperationDescribeOrganizationConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeOrganizationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_DescribePublishingDestination.go b/service/guardduty/api_op_DescribePublishingDestination.go index 8de64742b72..5116f0d05d7 100644 --- a/service/guardduty/api_op_DescribePublishingDestination.go +++ b/service/guardduty/api_op_DescribePublishingDestination.go @@ -149,9 +149,6 @@ func (c *Client) addOperationDescribePublishingDestinationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePublishingDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_DisableOrganizationAdminAccount.go b/service/guardduty/api_op_DisableOrganizationAdminAccount.go index c162f510fc5..c5da6cdda63 100644 --- a/service/guardduty/api_op_DisableOrganizationAdminAccount.go +++ b/service/guardduty/api_op_DisableOrganizationAdminAccount.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDisableOrganizationAdminAccountMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableOrganizationAdminAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_DisassociateFromAdministratorAccount.go b/service/guardduty/api_op_DisassociateFromAdministratorAccount.go index 1013b47199f..e019c85c43c 100644 --- a/service/guardduty/api_op_DisassociateFromAdministratorAccount.go +++ b/service/guardduty/api_op_DisassociateFromAdministratorAccount.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDisassociateFromAdministratorAccountMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateFromAdministratorAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_DisassociateFromMasterAccount.go b/service/guardduty/api_op_DisassociateFromMasterAccount.go index d1067566c06..23b37268f71 100644 --- a/service/guardduty/api_op_DisassociateFromMasterAccount.go +++ b/service/guardduty/api_op_DisassociateFromMasterAccount.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDisassociateFromMasterAccountMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateFromMasterAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_DisassociateMembers.go b/service/guardduty/api_op_DisassociateMembers.go index 3e40c885f10..3d070a5d9c6 100644 --- a/service/guardduty/api_op_DisassociateMembers.go +++ b/service/guardduty/api_op_DisassociateMembers.go @@ -150,9 +150,6 @@ func (c *Client) addOperationDisassociateMembersMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateMembersValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_EnableOrganizationAdminAccount.go b/service/guardduty/api_op_EnableOrganizationAdminAccount.go index 9e314ab0aad..5291c176a79 100644 --- a/service/guardduty/api_op_EnableOrganizationAdminAccount.go +++ b/service/guardduty/api_op_EnableOrganizationAdminAccount.go @@ -110,9 +110,6 @@ func (c *Client) addOperationEnableOrganizationAdminAccountMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableOrganizationAdminAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_GetAdministratorAccount.go b/service/guardduty/api_op_GetAdministratorAccount.go index 1e9f6db4852..490e89ed702 100644 --- a/service/guardduty/api_op_GetAdministratorAccount.go +++ b/service/guardduty/api_op_GetAdministratorAccount.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetAdministratorAccountMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAdministratorAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_GetCoverageStatistics.go b/service/guardduty/api_op_GetCoverageStatistics.go index dcf9470d3a9..df02ac2b6b1 100644 --- a/service/guardduty/api_op_GetCoverageStatistics.go +++ b/service/guardduty/api_op_GetCoverageStatistics.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetCoverageStatisticsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCoverageStatisticsValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_GetDetector.go b/service/guardduty/api_op_GetDetector.go index 8d82e68906e..cc8f8bb4841 100644 --- a/service/guardduty/api_op_GetDetector.go +++ b/service/guardduty/api_op_GetDetector.go @@ -150,9 +150,6 @@ func (c *Client) addOperationGetDetectorMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDetectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_GetFilter.go b/service/guardduty/api_op_GetFilter.go index 169319ca1f9..da442e486e4 100644 --- a/service/guardduty/api_op_GetFilter.go +++ b/service/guardduty/api_op_GetFilter.go @@ -145,9 +145,6 @@ func (c *Client) addOperationGetFilterMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFilterValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_GetFindings.go b/service/guardduty/api_op_GetFindings.go index 23522629d30..38d3b8b1540 100644 --- a/service/guardduty/api_op_GetFindings.go +++ b/service/guardduty/api_op_GetFindings.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetFindingsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFindingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_GetFindingsStatistics.go b/service/guardduty/api_op_GetFindingsStatistics.go index daa982ce670..fa57623aa7a 100644 --- a/service/guardduty/api_op_GetFindingsStatistics.go +++ b/service/guardduty/api_op_GetFindingsStatistics.go @@ -157,9 +157,6 @@ func (c *Client) addOperationGetFindingsStatisticsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFindingsStatisticsValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_GetIPSet.go b/service/guardduty/api_op_GetIPSet.go index d13f9e62135..c611092e075 100644 --- a/service/guardduty/api_op_GetIPSet.go +++ b/service/guardduty/api_op_GetIPSet.go @@ -142,9 +142,6 @@ func (c *Client) addOperationGetIPSetMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIPSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_GetInvitationsCount.go b/service/guardduty/api_op_GetInvitationsCount.go index bcc0faa1a62..d49d1e93861 100644 --- a/service/guardduty/api_op_GetInvitationsCount.go +++ b/service/guardduty/api_op_GetInvitationsCount.go @@ -106,9 +106,6 @@ func (c *Client) addOperationGetInvitationsCountMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInvitationsCount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/guardduty/api_op_GetMalwareProtectionPlan.go b/service/guardduty/api_op_GetMalwareProtectionPlan.go index da4ac48067f..6d5c7262ada 100644 --- a/service/guardduty/api_op_GetMalwareProtectionPlan.go +++ b/service/guardduty/api_op_GetMalwareProtectionPlan.go @@ -140,9 +140,6 @@ func (c *Client) addOperationGetMalwareProtectionPlanMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMalwareProtectionPlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_GetMalwareScanSettings.go b/service/guardduty/api_op_GetMalwareScanSettings.go index c30abb534c1..cd6241dfdd4 100644 --- a/service/guardduty/api_op_GetMalwareScanSettings.go +++ b/service/guardduty/api_op_GetMalwareScanSettings.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetMalwareScanSettingsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMalwareScanSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_GetMasterAccount.go b/service/guardduty/api_op_GetMasterAccount.go index e391abb1c23..e4099ba1549 100644 --- a/service/guardduty/api_op_GetMasterAccount.go +++ b/service/guardduty/api_op_GetMasterAccount.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetMasterAccountMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMasterAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_GetMemberDetectors.go b/service/guardduty/api_op_GetMemberDetectors.go index 5ff99c2fdb6..c46aa704a6f 100644 --- a/service/guardduty/api_op_GetMemberDetectors.go +++ b/service/guardduty/api_op_GetMemberDetectors.go @@ -136,9 +136,6 @@ func (c *Client) addOperationGetMemberDetectorsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMemberDetectorsValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_GetMembers.go b/service/guardduty/api_op_GetMembers.go index 92bc97ed3af..6465a9058d3 100644 --- a/service/guardduty/api_op_GetMembers.go +++ b/service/guardduty/api_op_GetMembers.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetMembersMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMembersValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_GetOrganizationStatistics.go b/service/guardduty/api_op_GetOrganizationStatistics.go index 91e4c11959f..ae94f3e75c4 100644 --- a/service/guardduty/api_op_GetOrganizationStatistics.go +++ b/service/guardduty/api_op_GetOrganizationStatistics.go @@ -111,9 +111,6 @@ func (c *Client) addOperationGetOrganizationStatisticsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOrganizationStatistics(options.Region), middleware.Before); err != nil { return err } diff --git a/service/guardduty/api_op_GetRemainingFreeTrialDays.go b/service/guardduty/api_op_GetRemainingFreeTrialDays.go index 3a578650424..dc7e5e619fd 100644 --- a/service/guardduty/api_op_GetRemainingFreeTrialDays.go +++ b/service/guardduty/api_op_GetRemainingFreeTrialDays.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetRemainingFreeTrialDaysMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRemainingFreeTrialDaysValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_GetThreatIntelSet.go b/service/guardduty/api_op_GetThreatIntelSet.go index 81df4ed6f86..c88cf42a468 100644 --- a/service/guardduty/api_op_GetThreatIntelSet.go +++ b/service/guardduty/api_op_GetThreatIntelSet.go @@ -144,9 +144,6 @@ func (c *Client) addOperationGetThreatIntelSetMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetThreatIntelSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_GetUsageStatistics.go b/service/guardduty/api_op_GetUsageStatistics.go index 0f3a0787d3f..17b7d275d41 100644 --- a/service/guardduty/api_op_GetUsageStatistics.go +++ b/service/guardduty/api_op_GetUsageStatistics.go @@ -152,9 +152,6 @@ func (c *Client) addOperationGetUsageStatisticsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUsageStatisticsValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_InviteMembers.go b/service/guardduty/api_op_InviteMembers.go index 8cde0879d66..0137b250352 100644 --- a/service/guardduty/api_op_InviteMembers.go +++ b/service/guardduty/api_op_InviteMembers.go @@ -171,9 +171,6 @@ func (c *Client) addOperationInviteMembersMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpInviteMembersValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_ListCoverage.go b/service/guardduty/api_op_ListCoverage.go index f6031e6169c..9f901be02d9 100644 --- a/service/guardduty/api_op_ListCoverage.go +++ b/service/guardduty/api_op_ListCoverage.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListCoverageMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCoverageValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_ListDetectors.go b/service/guardduty/api_op_ListDetectors.go index 9808e376340..6b2b03833f6 100644 --- a/service/guardduty/api_op_ListDetectors.go +++ b/service/guardduty/api_op_ListDetectors.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListDetectorsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDetectors(options.Region), middleware.Before); err != nil { return err } diff --git a/service/guardduty/api_op_ListFilters.go b/service/guardduty/api_op_ListFilters.go index 567b91bcba9..6d794b15ec3 100644 --- a/service/guardduty/api_op_ListFilters.go +++ b/service/guardduty/api_op_ListFilters.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListFiltersMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFiltersValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_ListFindings.go b/service/guardduty/api_op_ListFindings.go index f7bfceff6d6..28c038ffa09 100644 --- a/service/guardduty/api_op_ListFindings.go +++ b/service/guardduty/api_op_ListFindings.go @@ -253,9 +253,6 @@ func (c *Client) addOperationListFindingsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFindingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_ListIPSets.go b/service/guardduty/api_op_ListIPSets.go index 1fb649e189a..247c5065555 100644 --- a/service/guardduty/api_op_ListIPSets.go +++ b/service/guardduty/api_op_ListIPSets.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListIPSetsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIPSetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_ListInvitations.go b/service/guardduty/api_op_ListInvitations.go index 7a6781f66d5..dd12b859487 100644 --- a/service/guardduty/api_op_ListInvitations.go +++ b/service/guardduty/api_op_ListInvitations.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListInvitationsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInvitations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/guardduty/api_op_ListMalwareProtectionPlans.go b/service/guardduty/api_op_ListMalwareProtectionPlans.go index 3c436970359..0fb9673d4b9 100644 --- a/service/guardduty/api_op_ListMalwareProtectionPlans.go +++ b/service/guardduty/api_op_ListMalwareProtectionPlans.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListMalwareProtectionPlansMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMalwareProtectionPlans(options.Region), middleware.Before); err != nil { return err } diff --git a/service/guardduty/api_op_ListMembers.go b/service/guardduty/api_op_ListMembers.go index f29100be8df..1a6c59eef7f 100644 --- a/service/guardduty/api_op_ListMembers.go +++ b/service/guardduty/api_op_ListMembers.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListMembersMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMembersValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_ListOrganizationAdminAccounts.go b/service/guardduty/api_op_ListOrganizationAdminAccounts.go index 4de3559de18..94b8f424eac 100644 --- a/service/guardduty/api_op_ListOrganizationAdminAccounts.go +++ b/service/guardduty/api_op_ListOrganizationAdminAccounts.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListOrganizationAdminAccountsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOrganizationAdminAccounts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/guardduty/api_op_ListPublishingDestinations.go b/service/guardduty/api_op_ListPublishingDestinations.go index 98cb725232a..a26ec2d79cf 100644 --- a/service/guardduty/api_op_ListPublishingDestinations.go +++ b/service/guardduty/api_op_ListPublishingDestinations.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListPublishingDestinationsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPublishingDestinationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_ListTagsForResource.go b/service/guardduty/api_op_ListTagsForResource.go index c5a80214194..46faa8aaa2f 100644 --- a/service/guardduty/api_op_ListTagsForResource.go +++ b/service/guardduty/api_op_ListTagsForResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_ListThreatIntelSets.go b/service/guardduty/api_op_ListThreatIntelSets.go index 3bbb8744f4b..cae17985499 100644 --- a/service/guardduty/api_op_ListThreatIntelSets.go +++ b/service/guardduty/api_op_ListThreatIntelSets.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListThreatIntelSetsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListThreatIntelSetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_StartMalwareScan.go b/service/guardduty/api_op_StartMalwareScan.go index 7a8c19c1c80..97ca96a4837 100644 --- a/service/guardduty/api_op_StartMalwareScan.go +++ b/service/guardduty/api_op_StartMalwareScan.go @@ -120,9 +120,6 @@ func (c *Client) addOperationStartMalwareScanMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartMalwareScanValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_StartMonitoringMembers.go b/service/guardduty/api_op_StartMonitoringMembers.go index 1750e380719..332e28bcaab 100644 --- a/service/guardduty/api_op_StartMonitoringMembers.go +++ b/service/guardduty/api_op_StartMonitoringMembers.go @@ -130,9 +130,6 @@ func (c *Client) addOperationStartMonitoringMembersMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartMonitoringMembersValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_StopMonitoringMembers.go b/service/guardduty/api_op_StopMonitoringMembers.go index 87c94c768d1..cb0d62e8e4a 100644 --- a/service/guardduty/api_op_StopMonitoringMembers.go +++ b/service/guardduty/api_op_StopMonitoringMembers.go @@ -131,9 +131,6 @@ func (c *Client) addOperationStopMonitoringMembersMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopMonitoringMembersValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_TagResource.go b/service/guardduty/api_op_TagResource.go index 44063c6d8cf..469d21195e8 100644 --- a/service/guardduty/api_op_TagResource.go +++ b/service/guardduty/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_UnarchiveFindings.go b/service/guardduty/api_op_UnarchiveFindings.go index 164fb57e16b..fa8faecc15a 100644 --- a/service/guardduty/api_op_UnarchiveFindings.go +++ b/service/guardduty/api_op_UnarchiveFindings.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUnarchiveFindingsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUnarchiveFindingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_UntagResource.go b/service/guardduty/api_op_UntagResource.go index e364174b861..4c513f1e895 100644 --- a/service/guardduty/api_op_UntagResource.go +++ b/service/guardduty/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_UpdateDetector.go b/service/guardduty/api_op_UpdateDetector.go index f9b78367a8d..f2bff8e9bc9 100644 --- a/service/guardduty/api_op_UpdateDetector.go +++ b/service/guardduty/api_op_UpdateDetector.go @@ -146,9 +146,6 @@ func (c *Client) addOperationUpdateDetectorMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDetectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_UpdateFilter.go b/service/guardduty/api_op_UpdateFilter.go index c63ffe3a538..402370bc903 100644 --- a/service/guardduty/api_op_UpdateFilter.go +++ b/service/guardduty/api_op_UpdateFilter.go @@ -142,9 +142,6 @@ func (c *Client) addOperationUpdateFilterMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFilterValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_UpdateFindingsFeedback.go b/service/guardduty/api_op_UpdateFindingsFeedback.go index 489d4094d1b..0d2e10da391 100644 --- a/service/guardduty/api_op_UpdateFindingsFeedback.go +++ b/service/guardduty/api_op_UpdateFindingsFeedback.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateFindingsFeedbackMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFindingsFeedbackValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_UpdateIPSet.go b/service/guardduty/api_op_UpdateIPSet.go index 1e46dc00958..11cef1ee66e 100644 --- a/service/guardduty/api_op_UpdateIPSet.go +++ b/service/guardduty/api_op_UpdateIPSet.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateIPSetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateIPSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_UpdateMalwareProtectionPlan.go b/service/guardduty/api_op_UpdateMalwareProtectionPlan.go index cd087a5dd82..6c0fa4ffa1e 100644 --- a/service/guardduty/api_op_UpdateMalwareProtectionPlan.go +++ b/service/guardduty/api_op_UpdateMalwareProtectionPlan.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateMalwareProtectionPlanMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMalwareProtectionPlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_UpdateMalwareScanSettings.go b/service/guardduty/api_op_UpdateMalwareScanSettings.go index 6267fd22161..2f606642a3f 100644 --- a/service/guardduty/api_op_UpdateMalwareScanSettings.go +++ b/service/guardduty/api_op_UpdateMalwareScanSettings.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateMalwareScanSettingsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMalwareScanSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_UpdateMemberDetectors.go b/service/guardduty/api_op_UpdateMemberDetectors.go index c05d4f575e6..4abf7f591a7 100644 --- a/service/guardduty/api_op_UpdateMemberDetectors.go +++ b/service/guardduty/api_op_UpdateMemberDetectors.go @@ -145,9 +145,6 @@ func (c *Client) addOperationUpdateMemberDetectorsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMemberDetectorsValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_UpdateOrganizationConfiguration.go b/service/guardduty/api_op_UpdateOrganizationConfiguration.go index c1f9b9e5ea1..62c56d12e15 100644 --- a/service/guardduty/api_op_UpdateOrganizationConfiguration.go +++ b/service/guardduty/api_op_UpdateOrganizationConfiguration.go @@ -175,9 +175,6 @@ func (c *Client) addOperationUpdateOrganizationConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateOrganizationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_UpdatePublishingDestination.go b/service/guardduty/api_op_UpdatePublishingDestination.go index b2291a9db5b..0478c101bf9 100644 --- a/service/guardduty/api_op_UpdatePublishingDestination.go +++ b/service/guardduty/api_op_UpdatePublishingDestination.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdatePublishingDestinationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePublishingDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/api_op_UpdateThreatIntelSet.go b/service/guardduty/api_op_UpdateThreatIntelSet.go index 4fcfcf1e5b1..d560e97e94f 100644 --- a/service/guardduty/api_op_UpdateThreatIntelSet.go +++ b/service/guardduty/api_op_UpdateThreatIntelSet.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateThreatIntelSetMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateThreatIntelSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/guardduty/snapshot/api_op_AcceptAdministratorInvitation.go.snap b/service/guardduty/snapshot/api_op_AcceptAdministratorInvitation.go.snap index 948cba9700a..5f5685c343c 100644 --- a/service/guardduty/snapshot/api_op_AcceptAdministratorInvitation.go.snap +++ b/service/guardduty/snapshot/api_op_AcceptAdministratorInvitation.go.snap @@ -14,7 +14,6 @@ AcceptAdministratorInvitation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_AcceptInvitation.go.snap b/service/guardduty/snapshot/api_op_AcceptInvitation.go.snap index f7246312e86..25a4265ede2 100644 --- a/service/guardduty/snapshot/api_op_AcceptInvitation.go.snap +++ b/service/guardduty/snapshot/api_op_AcceptInvitation.go.snap @@ -14,7 +14,6 @@ AcceptInvitation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_ArchiveFindings.go.snap b/service/guardduty/snapshot/api_op_ArchiveFindings.go.snap index c17a1b98920..e397bd98d3b 100644 --- a/service/guardduty/snapshot/api_op_ArchiveFindings.go.snap +++ b/service/guardduty/snapshot/api_op_ArchiveFindings.go.snap @@ -14,7 +14,6 @@ ArchiveFindings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_CreateDetector.go.snap b/service/guardduty/snapshot/api_op_CreateDetector.go.snap index 4ddaff94dee..bb4925d18af 100644 --- a/service/guardduty/snapshot/api_op_CreateDetector.go.snap +++ b/service/guardduty/snapshot/api_op_CreateDetector.go.snap @@ -15,7 +15,6 @@ CreateDetector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_CreateFilter.go.snap b/service/guardduty/snapshot/api_op_CreateFilter.go.snap index cdb45e409df..65efd5a4456 100644 --- a/service/guardduty/snapshot/api_op_CreateFilter.go.snap +++ b/service/guardduty/snapshot/api_op_CreateFilter.go.snap @@ -15,7 +15,6 @@ CreateFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_CreateIPSet.go.snap b/service/guardduty/snapshot/api_op_CreateIPSet.go.snap index 8dff4260b6b..7a92094096a 100644 --- a/service/guardduty/snapshot/api_op_CreateIPSet.go.snap +++ b/service/guardduty/snapshot/api_op_CreateIPSet.go.snap @@ -15,7 +15,6 @@ CreateIPSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_CreateMalwareProtectionPlan.go.snap b/service/guardduty/snapshot/api_op_CreateMalwareProtectionPlan.go.snap index f1cdc1056aa..e091d0ca488 100644 --- a/service/guardduty/snapshot/api_op_CreateMalwareProtectionPlan.go.snap +++ b/service/guardduty/snapshot/api_op_CreateMalwareProtectionPlan.go.snap @@ -15,7 +15,6 @@ CreateMalwareProtectionPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_CreateMembers.go.snap b/service/guardduty/snapshot/api_op_CreateMembers.go.snap index cf5be88c920..7176c06930e 100644 --- a/service/guardduty/snapshot/api_op_CreateMembers.go.snap +++ b/service/guardduty/snapshot/api_op_CreateMembers.go.snap @@ -14,7 +14,6 @@ CreateMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_CreatePublishingDestination.go.snap b/service/guardduty/snapshot/api_op_CreatePublishingDestination.go.snap index ec37a76e1db..d46e93656f2 100644 --- a/service/guardduty/snapshot/api_op_CreatePublishingDestination.go.snap +++ b/service/guardduty/snapshot/api_op_CreatePublishingDestination.go.snap @@ -15,7 +15,6 @@ CreatePublishingDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_CreateSampleFindings.go.snap b/service/guardduty/snapshot/api_op_CreateSampleFindings.go.snap index a5fe4ab76a7..704b6373b86 100644 --- a/service/guardduty/snapshot/api_op_CreateSampleFindings.go.snap +++ b/service/guardduty/snapshot/api_op_CreateSampleFindings.go.snap @@ -14,7 +14,6 @@ CreateSampleFindings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_CreateThreatIntelSet.go.snap b/service/guardduty/snapshot/api_op_CreateThreatIntelSet.go.snap index ed49d6f5a4a..08ce4e71124 100644 --- a/service/guardduty/snapshot/api_op_CreateThreatIntelSet.go.snap +++ b/service/guardduty/snapshot/api_op_CreateThreatIntelSet.go.snap @@ -15,7 +15,6 @@ CreateThreatIntelSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_DeclineInvitations.go.snap b/service/guardduty/snapshot/api_op_DeclineInvitations.go.snap index 07593ea2fc1..b83912e6a92 100644 --- a/service/guardduty/snapshot/api_op_DeclineInvitations.go.snap +++ b/service/guardduty/snapshot/api_op_DeclineInvitations.go.snap @@ -14,7 +14,6 @@ DeclineInvitations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_DeleteDetector.go.snap b/service/guardduty/snapshot/api_op_DeleteDetector.go.snap index c2be973e9fb..bfe48c8817a 100644 --- a/service/guardduty/snapshot/api_op_DeleteDetector.go.snap +++ b/service/guardduty/snapshot/api_op_DeleteDetector.go.snap @@ -14,7 +14,6 @@ DeleteDetector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_DeleteFilter.go.snap b/service/guardduty/snapshot/api_op_DeleteFilter.go.snap index c8333d36574..dc61d9a3d0c 100644 --- a/service/guardduty/snapshot/api_op_DeleteFilter.go.snap +++ b/service/guardduty/snapshot/api_op_DeleteFilter.go.snap @@ -14,7 +14,6 @@ DeleteFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_DeleteIPSet.go.snap b/service/guardduty/snapshot/api_op_DeleteIPSet.go.snap index 894b0413d99..f87125d5108 100644 --- a/service/guardduty/snapshot/api_op_DeleteIPSet.go.snap +++ b/service/guardduty/snapshot/api_op_DeleteIPSet.go.snap @@ -14,7 +14,6 @@ DeleteIPSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_DeleteInvitations.go.snap b/service/guardduty/snapshot/api_op_DeleteInvitations.go.snap index 750642c2dc4..d9267029e3d 100644 --- a/service/guardduty/snapshot/api_op_DeleteInvitations.go.snap +++ b/service/guardduty/snapshot/api_op_DeleteInvitations.go.snap @@ -14,7 +14,6 @@ DeleteInvitations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_DeleteMalwareProtectionPlan.go.snap b/service/guardduty/snapshot/api_op_DeleteMalwareProtectionPlan.go.snap index 53905b64cc3..881078d4e07 100644 --- a/service/guardduty/snapshot/api_op_DeleteMalwareProtectionPlan.go.snap +++ b/service/guardduty/snapshot/api_op_DeleteMalwareProtectionPlan.go.snap @@ -14,7 +14,6 @@ DeleteMalwareProtectionPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_DeleteMembers.go.snap b/service/guardduty/snapshot/api_op_DeleteMembers.go.snap index 58bf7d46545..52a30e0c4f5 100644 --- a/service/guardduty/snapshot/api_op_DeleteMembers.go.snap +++ b/service/guardduty/snapshot/api_op_DeleteMembers.go.snap @@ -14,7 +14,6 @@ DeleteMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_DeletePublishingDestination.go.snap b/service/guardduty/snapshot/api_op_DeletePublishingDestination.go.snap index 74ceed7c463..2bcd083a42a 100644 --- a/service/guardduty/snapshot/api_op_DeletePublishingDestination.go.snap +++ b/service/guardduty/snapshot/api_op_DeletePublishingDestination.go.snap @@ -14,7 +14,6 @@ DeletePublishingDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_DeleteThreatIntelSet.go.snap b/service/guardduty/snapshot/api_op_DeleteThreatIntelSet.go.snap index 57f1eeba309..bd6ad556b01 100644 --- a/service/guardduty/snapshot/api_op_DeleteThreatIntelSet.go.snap +++ b/service/guardduty/snapshot/api_op_DeleteThreatIntelSet.go.snap @@ -14,7 +14,6 @@ DeleteThreatIntelSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_DescribeMalwareScans.go.snap b/service/guardduty/snapshot/api_op_DescribeMalwareScans.go.snap index 7e2e46a561c..af7866f3d39 100644 --- a/service/guardduty/snapshot/api_op_DescribeMalwareScans.go.snap +++ b/service/guardduty/snapshot/api_op_DescribeMalwareScans.go.snap @@ -14,7 +14,6 @@ DescribeMalwareScans Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_DescribeOrganizationConfiguration.go.snap b/service/guardduty/snapshot/api_op_DescribeOrganizationConfiguration.go.snap index f0937ab778b..73e1a92bc51 100644 --- a/service/guardduty/snapshot/api_op_DescribeOrganizationConfiguration.go.snap +++ b/service/guardduty/snapshot/api_op_DescribeOrganizationConfiguration.go.snap @@ -14,7 +14,6 @@ DescribeOrganizationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_DescribePublishingDestination.go.snap b/service/guardduty/snapshot/api_op_DescribePublishingDestination.go.snap index ecbd39c0823..12e44db5bed 100644 --- a/service/guardduty/snapshot/api_op_DescribePublishingDestination.go.snap +++ b/service/guardduty/snapshot/api_op_DescribePublishingDestination.go.snap @@ -14,7 +14,6 @@ DescribePublishingDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_DisableOrganizationAdminAccount.go.snap b/service/guardduty/snapshot/api_op_DisableOrganizationAdminAccount.go.snap index 353e1e5ae02..129fbb99dbe 100644 --- a/service/guardduty/snapshot/api_op_DisableOrganizationAdminAccount.go.snap +++ b/service/guardduty/snapshot/api_op_DisableOrganizationAdminAccount.go.snap @@ -14,7 +14,6 @@ DisableOrganizationAdminAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_DisassociateFromAdministratorAccount.go.snap b/service/guardduty/snapshot/api_op_DisassociateFromAdministratorAccount.go.snap index 223effa5e67..2c2104d249a 100644 --- a/service/guardduty/snapshot/api_op_DisassociateFromAdministratorAccount.go.snap +++ b/service/guardduty/snapshot/api_op_DisassociateFromAdministratorAccount.go.snap @@ -14,7 +14,6 @@ DisassociateFromAdministratorAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_DisassociateFromMasterAccount.go.snap b/service/guardduty/snapshot/api_op_DisassociateFromMasterAccount.go.snap index 8a733ae49cf..a4a75b2916f 100644 --- a/service/guardduty/snapshot/api_op_DisassociateFromMasterAccount.go.snap +++ b/service/guardduty/snapshot/api_op_DisassociateFromMasterAccount.go.snap @@ -14,7 +14,6 @@ DisassociateFromMasterAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_DisassociateMembers.go.snap b/service/guardduty/snapshot/api_op_DisassociateMembers.go.snap index 8d3c332edc1..e6bc12448e1 100644 --- a/service/guardduty/snapshot/api_op_DisassociateMembers.go.snap +++ b/service/guardduty/snapshot/api_op_DisassociateMembers.go.snap @@ -14,7 +14,6 @@ DisassociateMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_EnableOrganizationAdminAccount.go.snap b/service/guardduty/snapshot/api_op_EnableOrganizationAdminAccount.go.snap index 9cca0ae54d0..a3c6a3971ef 100644 --- a/service/guardduty/snapshot/api_op_EnableOrganizationAdminAccount.go.snap +++ b/service/guardduty/snapshot/api_op_EnableOrganizationAdminAccount.go.snap @@ -14,7 +14,6 @@ EnableOrganizationAdminAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_GetAdministratorAccount.go.snap b/service/guardduty/snapshot/api_op_GetAdministratorAccount.go.snap index d2cefe56c33..4f91005a50f 100644 --- a/service/guardduty/snapshot/api_op_GetAdministratorAccount.go.snap +++ b/service/guardduty/snapshot/api_op_GetAdministratorAccount.go.snap @@ -14,7 +14,6 @@ GetAdministratorAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_GetCoverageStatistics.go.snap b/service/guardduty/snapshot/api_op_GetCoverageStatistics.go.snap index 3a0bd7fdbb0..89a10238d83 100644 --- a/service/guardduty/snapshot/api_op_GetCoverageStatistics.go.snap +++ b/service/guardduty/snapshot/api_op_GetCoverageStatistics.go.snap @@ -14,7 +14,6 @@ GetCoverageStatistics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_GetDetector.go.snap b/service/guardduty/snapshot/api_op_GetDetector.go.snap index d5f1741e716..3f9f58bae8d 100644 --- a/service/guardduty/snapshot/api_op_GetDetector.go.snap +++ b/service/guardduty/snapshot/api_op_GetDetector.go.snap @@ -14,7 +14,6 @@ GetDetector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_GetFilter.go.snap b/service/guardduty/snapshot/api_op_GetFilter.go.snap index c95ef0fcde5..840f5970ac8 100644 --- a/service/guardduty/snapshot/api_op_GetFilter.go.snap +++ b/service/guardduty/snapshot/api_op_GetFilter.go.snap @@ -14,7 +14,6 @@ GetFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_GetFindings.go.snap b/service/guardduty/snapshot/api_op_GetFindings.go.snap index 0d873431788..67b8b8225e4 100644 --- a/service/guardduty/snapshot/api_op_GetFindings.go.snap +++ b/service/guardduty/snapshot/api_op_GetFindings.go.snap @@ -14,7 +14,6 @@ GetFindings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_GetFindingsStatistics.go.snap b/service/guardduty/snapshot/api_op_GetFindingsStatistics.go.snap index 1d701645c8e..f337cc54cdf 100644 --- a/service/guardduty/snapshot/api_op_GetFindingsStatistics.go.snap +++ b/service/guardduty/snapshot/api_op_GetFindingsStatistics.go.snap @@ -14,7 +14,6 @@ GetFindingsStatistics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_GetIPSet.go.snap b/service/guardduty/snapshot/api_op_GetIPSet.go.snap index 7d7db55e04b..61abc94916f 100644 --- a/service/guardduty/snapshot/api_op_GetIPSet.go.snap +++ b/service/guardduty/snapshot/api_op_GetIPSet.go.snap @@ -14,7 +14,6 @@ GetIPSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_GetInvitationsCount.go.snap b/service/guardduty/snapshot/api_op_GetInvitationsCount.go.snap index 12fd8e140e6..e383bf978ab 100644 --- a/service/guardduty/snapshot/api_op_GetInvitationsCount.go.snap +++ b/service/guardduty/snapshot/api_op_GetInvitationsCount.go.snap @@ -13,7 +13,6 @@ GetInvitationsCount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_GetMalwareProtectionPlan.go.snap b/service/guardduty/snapshot/api_op_GetMalwareProtectionPlan.go.snap index 6d597f1c72d..878a9760386 100644 --- a/service/guardduty/snapshot/api_op_GetMalwareProtectionPlan.go.snap +++ b/service/guardduty/snapshot/api_op_GetMalwareProtectionPlan.go.snap @@ -14,7 +14,6 @@ GetMalwareProtectionPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_GetMalwareScanSettings.go.snap b/service/guardduty/snapshot/api_op_GetMalwareScanSettings.go.snap index 98eb39bc307..18bdbd43772 100644 --- a/service/guardduty/snapshot/api_op_GetMalwareScanSettings.go.snap +++ b/service/guardduty/snapshot/api_op_GetMalwareScanSettings.go.snap @@ -14,7 +14,6 @@ GetMalwareScanSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_GetMasterAccount.go.snap b/service/guardduty/snapshot/api_op_GetMasterAccount.go.snap index b069b9e48db..7d2e801aeb4 100644 --- a/service/guardduty/snapshot/api_op_GetMasterAccount.go.snap +++ b/service/guardduty/snapshot/api_op_GetMasterAccount.go.snap @@ -14,7 +14,6 @@ GetMasterAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_GetMemberDetectors.go.snap b/service/guardduty/snapshot/api_op_GetMemberDetectors.go.snap index b5af87b776e..741525c1b76 100644 --- a/service/guardduty/snapshot/api_op_GetMemberDetectors.go.snap +++ b/service/guardduty/snapshot/api_op_GetMemberDetectors.go.snap @@ -14,7 +14,6 @@ GetMemberDetectors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_GetMembers.go.snap b/service/guardduty/snapshot/api_op_GetMembers.go.snap index 3de3029fad3..f374be7a278 100644 --- a/service/guardduty/snapshot/api_op_GetMembers.go.snap +++ b/service/guardduty/snapshot/api_op_GetMembers.go.snap @@ -14,7 +14,6 @@ GetMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_GetOrganizationStatistics.go.snap b/service/guardduty/snapshot/api_op_GetOrganizationStatistics.go.snap index bedcfe7a75e..1a3a50715b4 100644 --- a/service/guardduty/snapshot/api_op_GetOrganizationStatistics.go.snap +++ b/service/guardduty/snapshot/api_op_GetOrganizationStatistics.go.snap @@ -13,7 +13,6 @@ GetOrganizationStatistics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_GetRemainingFreeTrialDays.go.snap b/service/guardduty/snapshot/api_op_GetRemainingFreeTrialDays.go.snap index d1997ab143a..c56eec91546 100644 --- a/service/guardduty/snapshot/api_op_GetRemainingFreeTrialDays.go.snap +++ b/service/guardduty/snapshot/api_op_GetRemainingFreeTrialDays.go.snap @@ -14,7 +14,6 @@ GetRemainingFreeTrialDays Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_GetThreatIntelSet.go.snap b/service/guardduty/snapshot/api_op_GetThreatIntelSet.go.snap index 783519a51fe..2ceab94e605 100644 --- a/service/guardduty/snapshot/api_op_GetThreatIntelSet.go.snap +++ b/service/guardduty/snapshot/api_op_GetThreatIntelSet.go.snap @@ -14,7 +14,6 @@ GetThreatIntelSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_GetUsageStatistics.go.snap b/service/guardduty/snapshot/api_op_GetUsageStatistics.go.snap index ea965af8238..0ff6f0a09e3 100644 --- a/service/guardduty/snapshot/api_op_GetUsageStatistics.go.snap +++ b/service/guardduty/snapshot/api_op_GetUsageStatistics.go.snap @@ -14,7 +14,6 @@ GetUsageStatistics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_InviteMembers.go.snap b/service/guardduty/snapshot/api_op_InviteMembers.go.snap index a64e7c9e763..1f3995f4144 100644 --- a/service/guardduty/snapshot/api_op_InviteMembers.go.snap +++ b/service/guardduty/snapshot/api_op_InviteMembers.go.snap @@ -14,7 +14,6 @@ InviteMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_ListCoverage.go.snap b/service/guardduty/snapshot/api_op_ListCoverage.go.snap index 666754a6d5d..2692baa8ff0 100644 --- a/service/guardduty/snapshot/api_op_ListCoverage.go.snap +++ b/service/guardduty/snapshot/api_op_ListCoverage.go.snap @@ -14,7 +14,6 @@ ListCoverage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_ListDetectors.go.snap b/service/guardduty/snapshot/api_op_ListDetectors.go.snap index d2bd9705eff..59ff18afa4b 100644 --- a/service/guardduty/snapshot/api_op_ListDetectors.go.snap +++ b/service/guardduty/snapshot/api_op_ListDetectors.go.snap @@ -13,7 +13,6 @@ ListDetectors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_ListFilters.go.snap b/service/guardduty/snapshot/api_op_ListFilters.go.snap index 45ac302f680..715a35ad2f2 100644 --- a/service/guardduty/snapshot/api_op_ListFilters.go.snap +++ b/service/guardduty/snapshot/api_op_ListFilters.go.snap @@ -14,7 +14,6 @@ ListFilters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_ListFindings.go.snap b/service/guardduty/snapshot/api_op_ListFindings.go.snap index e49bf85b731..1cf1834a5e6 100644 --- a/service/guardduty/snapshot/api_op_ListFindings.go.snap +++ b/service/guardduty/snapshot/api_op_ListFindings.go.snap @@ -14,7 +14,6 @@ ListFindings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_ListIPSets.go.snap b/service/guardduty/snapshot/api_op_ListIPSets.go.snap index 6488bba93f9..48774b15039 100644 --- a/service/guardduty/snapshot/api_op_ListIPSets.go.snap +++ b/service/guardduty/snapshot/api_op_ListIPSets.go.snap @@ -14,7 +14,6 @@ ListIPSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_ListInvitations.go.snap b/service/guardduty/snapshot/api_op_ListInvitations.go.snap index 623ba90611b..d8658667fbe 100644 --- a/service/guardduty/snapshot/api_op_ListInvitations.go.snap +++ b/service/guardduty/snapshot/api_op_ListInvitations.go.snap @@ -13,7 +13,6 @@ ListInvitations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_ListMalwareProtectionPlans.go.snap b/service/guardduty/snapshot/api_op_ListMalwareProtectionPlans.go.snap index 3d0d7f64bd6..5c8734635fb 100644 --- a/service/guardduty/snapshot/api_op_ListMalwareProtectionPlans.go.snap +++ b/service/guardduty/snapshot/api_op_ListMalwareProtectionPlans.go.snap @@ -13,7 +13,6 @@ ListMalwareProtectionPlans Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_ListMembers.go.snap b/service/guardduty/snapshot/api_op_ListMembers.go.snap index ded0c54dcae..7f717e539ee 100644 --- a/service/guardduty/snapshot/api_op_ListMembers.go.snap +++ b/service/guardduty/snapshot/api_op_ListMembers.go.snap @@ -14,7 +14,6 @@ ListMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_ListOrganizationAdminAccounts.go.snap b/service/guardduty/snapshot/api_op_ListOrganizationAdminAccounts.go.snap index f67edb1d953..8ebdb78565d 100644 --- a/service/guardduty/snapshot/api_op_ListOrganizationAdminAccounts.go.snap +++ b/service/guardduty/snapshot/api_op_ListOrganizationAdminAccounts.go.snap @@ -13,7 +13,6 @@ ListOrganizationAdminAccounts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_ListPublishingDestinations.go.snap b/service/guardduty/snapshot/api_op_ListPublishingDestinations.go.snap index f6741898f17..24df0ae8b12 100644 --- a/service/guardduty/snapshot/api_op_ListPublishingDestinations.go.snap +++ b/service/guardduty/snapshot/api_op_ListPublishingDestinations.go.snap @@ -14,7 +14,6 @@ ListPublishingDestinations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_ListTagsForResource.go.snap b/service/guardduty/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/guardduty/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/guardduty/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_ListThreatIntelSets.go.snap b/service/guardduty/snapshot/api_op_ListThreatIntelSets.go.snap index 0691c5cfb68..67cabfe0bb3 100644 --- a/service/guardduty/snapshot/api_op_ListThreatIntelSets.go.snap +++ b/service/guardduty/snapshot/api_op_ListThreatIntelSets.go.snap @@ -14,7 +14,6 @@ ListThreatIntelSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_StartMalwareScan.go.snap b/service/guardduty/snapshot/api_op_StartMalwareScan.go.snap index 5ae3db85764..46a173b29ff 100644 --- a/service/guardduty/snapshot/api_op_StartMalwareScan.go.snap +++ b/service/guardduty/snapshot/api_op_StartMalwareScan.go.snap @@ -14,7 +14,6 @@ StartMalwareScan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_StartMonitoringMembers.go.snap b/service/guardduty/snapshot/api_op_StartMonitoringMembers.go.snap index 7eb8a8174d7..8b3d4240d51 100644 --- a/service/guardduty/snapshot/api_op_StartMonitoringMembers.go.snap +++ b/service/guardduty/snapshot/api_op_StartMonitoringMembers.go.snap @@ -14,7 +14,6 @@ StartMonitoringMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_StopMonitoringMembers.go.snap b/service/guardduty/snapshot/api_op_StopMonitoringMembers.go.snap index 7bf965addbd..1df5ea09bdd 100644 --- a/service/guardduty/snapshot/api_op_StopMonitoringMembers.go.snap +++ b/service/guardduty/snapshot/api_op_StopMonitoringMembers.go.snap @@ -14,7 +14,6 @@ StopMonitoringMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_TagResource.go.snap b/service/guardduty/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/guardduty/snapshot/api_op_TagResource.go.snap +++ b/service/guardduty/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_UnarchiveFindings.go.snap b/service/guardduty/snapshot/api_op_UnarchiveFindings.go.snap index d8ee4b4a332..3a99a4d4ace 100644 --- a/service/guardduty/snapshot/api_op_UnarchiveFindings.go.snap +++ b/service/guardduty/snapshot/api_op_UnarchiveFindings.go.snap @@ -14,7 +14,6 @@ UnarchiveFindings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_UntagResource.go.snap b/service/guardduty/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/guardduty/snapshot/api_op_UntagResource.go.snap +++ b/service/guardduty/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_UpdateDetector.go.snap b/service/guardduty/snapshot/api_op_UpdateDetector.go.snap index a35e07f39cc..0eefe1f4f37 100644 --- a/service/guardduty/snapshot/api_op_UpdateDetector.go.snap +++ b/service/guardduty/snapshot/api_op_UpdateDetector.go.snap @@ -14,7 +14,6 @@ UpdateDetector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_UpdateFilter.go.snap b/service/guardduty/snapshot/api_op_UpdateFilter.go.snap index d244fd93743..5e90b9c97a2 100644 --- a/service/guardduty/snapshot/api_op_UpdateFilter.go.snap +++ b/service/guardduty/snapshot/api_op_UpdateFilter.go.snap @@ -14,7 +14,6 @@ UpdateFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_UpdateFindingsFeedback.go.snap b/service/guardduty/snapshot/api_op_UpdateFindingsFeedback.go.snap index 7fcf0bf4c29..2540e15088b 100644 --- a/service/guardduty/snapshot/api_op_UpdateFindingsFeedback.go.snap +++ b/service/guardduty/snapshot/api_op_UpdateFindingsFeedback.go.snap @@ -14,7 +14,6 @@ UpdateFindingsFeedback Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_UpdateIPSet.go.snap b/service/guardduty/snapshot/api_op_UpdateIPSet.go.snap index 618ea2450c2..7a992b562ef 100644 --- a/service/guardduty/snapshot/api_op_UpdateIPSet.go.snap +++ b/service/guardduty/snapshot/api_op_UpdateIPSet.go.snap @@ -14,7 +14,6 @@ UpdateIPSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_UpdateMalwareProtectionPlan.go.snap b/service/guardduty/snapshot/api_op_UpdateMalwareProtectionPlan.go.snap index 499e7f46179..8e28f5e650b 100644 --- a/service/guardduty/snapshot/api_op_UpdateMalwareProtectionPlan.go.snap +++ b/service/guardduty/snapshot/api_op_UpdateMalwareProtectionPlan.go.snap @@ -14,7 +14,6 @@ UpdateMalwareProtectionPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_UpdateMalwareScanSettings.go.snap b/service/guardduty/snapshot/api_op_UpdateMalwareScanSettings.go.snap index e06aedd477c..911b82a9673 100644 --- a/service/guardduty/snapshot/api_op_UpdateMalwareScanSettings.go.snap +++ b/service/guardduty/snapshot/api_op_UpdateMalwareScanSettings.go.snap @@ -14,7 +14,6 @@ UpdateMalwareScanSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_UpdateMemberDetectors.go.snap b/service/guardduty/snapshot/api_op_UpdateMemberDetectors.go.snap index e3e47cf54dd..64a48ed12f0 100644 --- a/service/guardduty/snapshot/api_op_UpdateMemberDetectors.go.snap +++ b/service/guardduty/snapshot/api_op_UpdateMemberDetectors.go.snap @@ -14,7 +14,6 @@ UpdateMemberDetectors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_UpdateOrganizationConfiguration.go.snap b/service/guardduty/snapshot/api_op_UpdateOrganizationConfiguration.go.snap index 897c01e0cf2..21d5324cdbc 100644 --- a/service/guardduty/snapshot/api_op_UpdateOrganizationConfiguration.go.snap +++ b/service/guardduty/snapshot/api_op_UpdateOrganizationConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateOrganizationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_UpdatePublishingDestination.go.snap b/service/guardduty/snapshot/api_op_UpdatePublishingDestination.go.snap index f2cfc8b9a86..22b1ee7722d 100644 --- a/service/guardduty/snapshot/api_op_UpdatePublishingDestination.go.snap +++ b/service/guardduty/snapshot/api_op_UpdatePublishingDestination.go.snap @@ -14,7 +14,6 @@ UpdatePublishingDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/guardduty/snapshot/api_op_UpdateThreatIntelSet.go.snap b/service/guardduty/snapshot/api_op_UpdateThreatIntelSet.go.snap index 538cbe0fb00..8f107d23342 100644 --- a/service/guardduty/snapshot/api_op_UpdateThreatIntelSet.go.snap +++ b/service/guardduty/snapshot/api_op_UpdateThreatIntelSet.go.snap @@ -14,7 +14,6 @@ UpdateThreatIntelSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/health/api_client.go b/service/health/api_client.go index f21898e351c..8600f423e34 100644 --- a/service/health/api_client.go +++ b/service/health/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/health/api_op_DescribeAffectedAccountsForOrganization.go b/service/health/api_op_DescribeAffectedAccountsForOrganization.go index 7d2c4d162b3..7fd6db06a04 100644 --- a/service/health/api_op_DescribeAffectedAccountsForOrganization.go +++ b/service/health/api_op_DescribeAffectedAccountsForOrganization.go @@ -164,9 +164,6 @@ func (c *Client) addOperationDescribeAffectedAccountsForOrganizationMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAffectedAccountsForOrganizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/health/api_op_DescribeAffectedEntities.go b/service/health/api_op_DescribeAffectedEntities.go index b0a5ea11337..bff49e4b8cb 100644 --- a/service/health/api_op_DescribeAffectedEntities.go +++ b/service/health/api_op_DescribeAffectedEntities.go @@ -150,9 +150,6 @@ func (c *Client) addOperationDescribeAffectedEntitiesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAffectedEntitiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/health/api_op_DescribeAffectedEntitiesForOrganization.go b/service/health/api_op_DescribeAffectedEntitiesForOrganization.go index ccf559dad3c..c03dc34e8cf 100644 --- a/service/health/api_op_DescribeAffectedEntitiesForOrganization.go +++ b/service/health/api_op_DescribeAffectedEntitiesForOrganization.go @@ -164,9 +164,6 @@ func (c *Client) addOperationDescribeAffectedEntitiesForOrganizationMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAffectedEntitiesForOrganizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/health/api_op_DescribeEntityAggregates.go b/service/health/api_op_DescribeEntityAggregates.go index 0ad0bf3ca4e..12e31904862 100644 --- a/service/health/api_op_DescribeEntityAggregates.go +++ b/service/health/api_op_DescribeEntityAggregates.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDescribeEntityAggregatesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEntityAggregates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/health/api_op_DescribeEntityAggregatesForOrganization.go b/service/health/api_op_DescribeEntityAggregatesForOrganization.go index b1bcb7ecfce..4aba8cdd6ca 100644 --- a/service/health/api_op_DescribeEntityAggregatesForOrganization.go +++ b/service/health/api_op_DescribeEntityAggregatesForOrganization.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDescribeEntityAggregatesForOrganizationMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEntityAggregatesForOrganizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/health/api_op_DescribeEventAggregates.go b/service/health/api_op_DescribeEventAggregates.go index 5808964f743..3dc86a29d1d 100644 --- a/service/health/api_op_DescribeEventAggregates.go +++ b/service/health/api_op_DescribeEventAggregates.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDescribeEventAggregatesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEventAggregatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/health/api_op_DescribeEventDetails.go b/service/health/api_op_DescribeEventDetails.go index a9281f49ed6..506e8a9593e 100644 --- a/service/health/api_op_DescribeEventDetails.go +++ b/service/health/api_op_DescribeEventDetails.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribeEventDetailsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEventDetailsValidationMiddleware(stack); err != nil { return err } diff --git a/service/health/api_op_DescribeEventDetailsForOrganization.go b/service/health/api_op_DescribeEventDetailsForOrganization.go index 78fcc8f912c..8b0ab6490ea 100644 --- a/service/health/api_op_DescribeEventDetailsForOrganization.go +++ b/service/health/api_op_DescribeEventDetailsForOrganization.go @@ -153,9 +153,6 @@ func (c *Client) addOperationDescribeEventDetailsForOrganizationMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEventDetailsForOrganizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/health/api_op_DescribeEventTypes.go b/service/health/api_op_DescribeEventTypes.go index 2f421dc7954..f04c969dda6 100644 --- a/service/health/api_op_DescribeEventTypes.go +++ b/service/health/api_op_DescribeEventTypes.go @@ -149,9 +149,6 @@ func (c *Client) addOperationDescribeEventTypesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEventTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/health/api_op_DescribeEvents.go b/service/health/api_op_DescribeEvents.go index 92b1e4cdbf1..2862e726cf5 100644 --- a/service/health/api_op_DescribeEvents.go +++ b/service/health/api_op_DescribeEvents.go @@ -154,9 +154,6 @@ func (c *Client) addOperationDescribeEventsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEvents(options.Region), middleware.Before); err != nil { return err } diff --git a/service/health/api_op_DescribeEventsForOrganization.go b/service/health/api_op_DescribeEventsForOrganization.go index 8e0c2abf6ce..33ca0d34d58 100644 --- a/service/health/api_op_DescribeEventsForOrganization.go +++ b/service/health/api_op_DescribeEventsForOrganization.go @@ -162,9 +162,6 @@ func (c *Client) addOperationDescribeEventsForOrganizationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEventsForOrganization(options.Region), middleware.Before); err != nil { return err } diff --git a/service/health/api_op_DescribeHealthServiceStatusForOrganization.go b/service/health/api_op_DescribeHealthServiceStatusForOrganization.go index f45c2ec7426..893b9dcefcf 100644 --- a/service/health/api_op_DescribeHealthServiceStatusForOrganization.go +++ b/service/health/api_op_DescribeHealthServiceStatusForOrganization.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDescribeHealthServiceStatusForOrganizationMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeHealthServiceStatusForOrganization(options.Region), middleware.Before); err != nil { return err } diff --git a/service/health/api_op_DisableHealthServiceAccessForOrganization.go b/service/health/api_op_DisableHealthServiceAccessForOrganization.go index 359a7e18bc8..f849264b6c8 100644 --- a/service/health/api_op_DisableHealthServiceAccessForOrganization.go +++ b/service/health/api_op_DisableHealthServiceAccessForOrganization.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDisableHealthServiceAccessForOrganizationMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableHealthServiceAccessForOrganization(options.Region), middleware.Before); err != nil { return err } diff --git a/service/health/api_op_EnableHealthServiceAccessForOrganization.go b/service/health/api_op_EnableHealthServiceAccessForOrganization.go index 66aef965595..5de6047b881 100644 --- a/service/health/api_op_EnableHealthServiceAccessForOrganization.go +++ b/service/health/api_op_EnableHealthServiceAccessForOrganization.go @@ -124,9 +124,6 @@ func (c *Client) addOperationEnableHealthServiceAccessForOrganizationMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableHealthServiceAccessForOrganization(options.Region), middleware.Before); err != nil { return err } diff --git a/service/health/snapshot/api_op_DescribeAffectedAccountsForOrganization.go.snap b/service/health/snapshot/api_op_DescribeAffectedAccountsForOrganization.go.snap index 0b2d5ba7fcc..3b859b384e4 100644 --- a/service/health/snapshot/api_op_DescribeAffectedAccountsForOrganization.go.snap +++ b/service/health/snapshot/api_op_DescribeAffectedAccountsForOrganization.go.snap @@ -14,7 +14,6 @@ DescribeAffectedAccountsForOrganization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/health/snapshot/api_op_DescribeAffectedEntities.go.snap b/service/health/snapshot/api_op_DescribeAffectedEntities.go.snap index 0fb59d915ed..20dd7d72d6d 100644 --- a/service/health/snapshot/api_op_DescribeAffectedEntities.go.snap +++ b/service/health/snapshot/api_op_DescribeAffectedEntities.go.snap @@ -14,7 +14,6 @@ DescribeAffectedEntities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/health/snapshot/api_op_DescribeAffectedEntitiesForOrganization.go.snap b/service/health/snapshot/api_op_DescribeAffectedEntitiesForOrganization.go.snap index 07f3f575721..ba0dd6e69f8 100644 --- a/service/health/snapshot/api_op_DescribeAffectedEntitiesForOrganization.go.snap +++ b/service/health/snapshot/api_op_DescribeAffectedEntitiesForOrganization.go.snap @@ -14,7 +14,6 @@ DescribeAffectedEntitiesForOrganization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/health/snapshot/api_op_DescribeEntityAggregates.go.snap b/service/health/snapshot/api_op_DescribeEntityAggregates.go.snap index c50c9f42f84..001b7061a17 100644 --- a/service/health/snapshot/api_op_DescribeEntityAggregates.go.snap +++ b/service/health/snapshot/api_op_DescribeEntityAggregates.go.snap @@ -13,7 +13,6 @@ DescribeEntityAggregates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/health/snapshot/api_op_DescribeEntityAggregatesForOrganization.go.snap b/service/health/snapshot/api_op_DescribeEntityAggregatesForOrganization.go.snap index 4f1a9e52d73..8e239b7251c 100644 --- a/service/health/snapshot/api_op_DescribeEntityAggregatesForOrganization.go.snap +++ b/service/health/snapshot/api_op_DescribeEntityAggregatesForOrganization.go.snap @@ -14,7 +14,6 @@ DescribeEntityAggregatesForOrganization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/health/snapshot/api_op_DescribeEventAggregates.go.snap b/service/health/snapshot/api_op_DescribeEventAggregates.go.snap index 03ce35299a3..48fff584005 100644 --- a/service/health/snapshot/api_op_DescribeEventAggregates.go.snap +++ b/service/health/snapshot/api_op_DescribeEventAggregates.go.snap @@ -14,7 +14,6 @@ DescribeEventAggregates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/health/snapshot/api_op_DescribeEventDetails.go.snap b/service/health/snapshot/api_op_DescribeEventDetails.go.snap index a7b602d1d77..4e8a2655d08 100644 --- a/service/health/snapshot/api_op_DescribeEventDetails.go.snap +++ b/service/health/snapshot/api_op_DescribeEventDetails.go.snap @@ -14,7 +14,6 @@ DescribeEventDetails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/health/snapshot/api_op_DescribeEventDetailsForOrganization.go.snap b/service/health/snapshot/api_op_DescribeEventDetailsForOrganization.go.snap index 54857f584fd..4506ab4ffc2 100644 --- a/service/health/snapshot/api_op_DescribeEventDetailsForOrganization.go.snap +++ b/service/health/snapshot/api_op_DescribeEventDetailsForOrganization.go.snap @@ -14,7 +14,6 @@ DescribeEventDetailsForOrganization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/health/snapshot/api_op_DescribeEventTypes.go.snap b/service/health/snapshot/api_op_DescribeEventTypes.go.snap index a40e66ef27e..a471f875a43 100644 --- a/service/health/snapshot/api_op_DescribeEventTypes.go.snap +++ b/service/health/snapshot/api_op_DescribeEventTypes.go.snap @@ -13,7 +13,6 @@ DescribeEventTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/health/snapshot/api_op_DescribeEvents.go.snap b/service/health/snapshot/api_op_DescribeEvents.go.snap index c63aa6daa0b..36f0ef6bea9 100644 --- a/service/health/snapshot/api_op_DescribeEvents.go.snap +++ b/service/health/snapshot/api_op_DescribeEvents.go.snap @@ -13,7 +13,6 @@ DescribeEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/health/snapshot/api_op_DescribeEventsForOrganization.go.snap b/service/health/snapshot/api_op_DescribeEventsForOrganization.go.snap index 0941e287e86..77cdd4fc57e 100644 --- a/service/health/snapshot/api_op_DescribeEventsForOrganization.go.snap +++ b/service/health/snapshot/api_op_DescribeEventsForOrganization.go.snap @@ -13,7 +13,6 @@ DescribeEventsForOrganization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/health/snapshot/api_op_DescribeHealthServiceStatusForOrganization.go.snap b/service/health/snapshot/api_op_DescribeHealthServiceStatusForOrganization.go.snap index 7a3752baa1a..b4a552441ac 100644 --- a/service/health/snapshot/api_op_DescribeHealthServiceStatusForOrganization.go.snap +++ b/service/health/snapshot/api_op_DescribeHealthServiceStatusForOrganization.go.snap @@ -13,7 +13,6 @@ DescribeHealthServiceStatusForOrganization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/health/snapshot/api_op_DisableHealthServiceAccessForOrganization.go.snap b/service/health/snapshot/api_op_DisableHealthServiceAccessForOrganization.go.snap index d80f95a463c..76fd4b2aab6 100644 --- a/service/health/snapshot/api_op_DisableHealthServiceAccessForOrganization.go.snap +++ b/service/health/snapshot/api_op_DisableHealthServiceAccessForOrganization.go.snap @@ -13,7 +13,6 @@ DisableHealthServiceAccessForOrganization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/health/snapshot/api_op_EnableHealthServiceAccessForOrganization.go.snap b/service/health/snapshot/api_op_EnableHealthServiceAccessForOrganization.go.snap index 93e1c492a54..f3b8d402217 100644 --- a/service/health/snapshot/api_op_EnableHealthServiceAccessForOrganization.go.snap +++ b/service/health/snapshot/api_op_EnableHealthServiceAccessForOrganization.go.snap @@ -13,7 +13,6 @@ EnableHealthServiceAccessForOrganization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/healthlake/api_client.go b/service/healthlake/api_client.go index af1b08a7455..6e415ee0ea6 100644 --- a/service/healthlake/api_client.go +++ b/service/healthlake/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/healthlake/api_op_CreateFHIRDatastore.go b/service/healthlake/api_op_CreateFHIRDatastore.go index 8a5cb5195d9..e355f8f88d6 100644 --- a/service/healthlake/api_op_CreateFHIRDatastore.go +++ b/service/healthlake/api_op_CreateFHIRDatastore.go @@ -152,9 +152,6 @@ func (c *Client) addOperationCreateFHIRDatastoreMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateFHIRDatastoreMiddleware(stack, options); err != nil { return err } diff --git a/service/healthlake/api_op_DeleteFHIRDatastore.go b/service/healthlake/api_op_DeleteFHIRDatastore.go index 8f2b2a62765..8726f58fc45 100644 --- a/service/healthlake/api_op_DeleteFHIRDatastore.go +++ b/service/healthlake/api_op_DeleteFHIRDatastore.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDeleteFHIRDatastoreMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFHIRDatastoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/healthlake/api_op_DescribeFHIRDatastore.go b/service/healthlake/api_op_DescribeFHIRDatastore.go index e82c3920f74..1c53477cb07 100644 --- a/service/healthlake/api_op_DescribeFHIRDatastore.go +++ b/service/healthlake/api_op_DescribeFHIRDatastore.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDescribeFHIRDatastoreMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFHIRDatastoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/healthlake/api_op_DescribeFHIRExportJob.go b/service/healthlake/api_op_DescribeFHIRExportJob.go index 1a89965732b..06b933165f0 100644 --- a/service/healthlake/api_op_DescribeFHIRExportJob.go +++ b/service/healthlake/api_op_DescribeFHIRExportJob.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeFHIRExportJobMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFHIRExportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/healthlake/api_op_DescribeFHIRImportJob.go b/service/healthlake/api_op_DescribeFHIRImportJob.go index 4e4309bef47..8f72c70fb36 100644 --- a/service/healthlake/api_op_DescribeFHIRImportJob.go +++ b/service/healthlake/api_op_DescribeFHIRImportJob.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeFHIRImportJobMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFHIRImportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/healthlake/api_op_ListFHIRDatastores.go b/service/healthlake/api_op_ListFHIRDatastores.go index c45f1c4a211..8182374829f 100644 --- a/service/healthlake/api_op_ListFHIRDatastores.go +++ b/service/healthlake/api_op_ListFHIRDatastores.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListFHIRDatastoresMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFHIRDatastores(options.Region), middleware.Before); err != nil { return err } diff --git a/service/healthlake/api_op_ListFHIRExportJobs.go b/service/healthlake/api_op_ListFHIRExportJobs.go index 520b18e3fc3..a9a87df56b5 100644 --- a/service/healthlake/api_op_ListFHIRExportJobs.go +++ b/service/healthlake/api_op_ListFHIRExportJobs.go @@ -145,9 +145,6 @@ func (c *Client) addOperationListFHIRExportJobsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFHIRExportJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/healthlake/api_op_ListFHIRImportJobs.go b/service/healthlake/api_op_ListFHIRImportJobs.go index c0ad77b5470..a278b9b6a49 100644 --- a/service/healthlake/api_op_ListFHIRImportJobs.go +++ b/service/healthlake/api_op_ListFHIRImportJobs.go @@ -145,9 +145,6 @@ func (c *Client) addOperationListFHIRImportJobsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFHIRImportJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/healthlake/api_op_ListTagsForResource.go b/service/healthlake/api_op_ListTagsForResource.go index 1ced870dfb2..9c8f1a7fa81 100644 --- a/service/healthlake/api_op_ListTagsForResource.go +++ b/service/healthlake/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/healthlake/api_op_StartFHIRExportJob.go b/service/healthlake/api_op_StartFHIRExportJob.go index 5b950d6f80a..a5777d09b59 100644 --- a/service/healthlake/api_op_StartFHIRExportJob.go +++ b/service/healthlake/api_op_StartFHIRExportJob.go @@ -141,9 +141,6 @@ func (c *Client) addOperationStartFHIRExportJobMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartFHIRExportJobMiddleware(stack, options); err != nil { return err } diff --git a/service/healthlake/api_op_StartFHIRImportJob.go b/service/healthlake/api_op_StartFHIRImportJob.go index 2d6e98d52aa..752ec350943 100644 --- a/service/healthlake/api_op_StartFHIRImportJob.go +++ b/service/healthlake/api_op_StartFHIRImportJob.go @@ -143,9 +143,6 @@ func (c *Client) addOperationStartFHIRImportJobMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartFHIRImportJobMiddleware(stack, options); err != nil { return err } diff --git a/service/healthlake/api_op_TagResource.go b/service/healthlake/api_op_TagResource.go index 9968b856f96..54add8aa635 100644 --- a/service/healthlake/api_op_TagResource.go +++ b/service/healthlake/api_op_TagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/healthlake/api_op_UntagResource.go b/service/healthlake/api_op_UntagResource.go index f52c4f81a39..5ee25edda81 100644 --- a/service/healthlake/api_op_UntagResource.go +++ b/service/healthlake/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/healthlake/snapshot/api_op_CreateFHIRDatastore.go.snap b/service/healthlake/snapshot/api_op_CreateFHIRDatastore.go.snap index d871d4fde7d..e9efd07428b 100644 --- a/service/healthlake/snapshot/api_op_CreateFHIRDatastore.go.snap +++ b/service/healthlake/snapshot/api_op_CreateFHIRDatastore.go.snap @@ -15,7 +15,6 @@ CreateFHIRDatastore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/healthlake/snapshot/api_op_DeleteFHIRDatastore.go.snap b/service/healthlake/snapshot/api_op_DeleteFHIRDatastore.go.snap index d1012636a75..6efeaed5f4f 100644 --- a/service/healthlake/snapshot/api_op_DeleteFHIRDatastore.go.snap +++ b/service/healthlake/snapshot/api_op_DeleteFHIRDatastore.go.snap @@ -14,7 +14,6 @@ DeleteFHIRDatastore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/healthlake/snapshot/api_op_DescribeFHIRDatastore.go.snap b/service/healthlake/snapshot/api_op_DescribeFHIRDatastore.go.snap index 11000e7f8d2..da46dded059 100644 --- a/service/healthlake/snapshot/api_op_DescribeFHIRDatastore.go.snap +++ b/service/healthlake/snapshot/api_op_DescribeFHIRDatastore.go.snap @@ -14,7 +14,6 @@ DescribeFHIRDatastore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/healthlake/snapshot/api_op_DescribeFHIRExportJob.go.snap b/service/healthlake/snapshot/api_op_DescribeFHIRExportJob.go.snap index c27b90df4c3..37e55102b95 100644 --- a/service/healthlake/snapshot/api_op_DescribeFHIRExportJob.go.snap +++ b/service/healthlake/snapshot/api_op_DescribeFHIRExportJob.go.snap @@ -14,7 +14,6 @@ DescribeFHIRExportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/healthlake/snapshot/api_op_DescribeFHIRImportJob.go.snap b/service/healthlake/snapshot/api_op_DescribeFHIRImportJob.go.snap index ea5c7480466..655b193f475 100644 --- a/service/healthlake/snapshot/api_op_DescribeFHIRImportJob.go.snap +++ b/service/healthlake/snapshot/api_op_DescribeFHIRImportJob.go.snap @@ -14,7 +14,6 @@ DescribeFHIRImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/healthlake/snapshot/api_op_ListFHIRDatastores.go.snap b/service/healthlake/snapshot/api_op_ListFHIRDatastores.go.snap index 7711e660b02..68a1aad443b 100644 --- a/service/healthlake/snapshot/api_op_ListFHIRDatastores.go.snap +++ b/service/healthlake/snapshot/api_op_ListFHIRDatastores.go.snap @@ -13,7 +13,6 @@ ListFHIRDatastores Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/healthlake/snapshot/api_op_ListFHIRExportJobs.go.snap b/service/healthlake/snapshot/api_op_ListFHIRExportJobs.go.snap index 02b0ea98b16..bc7d41d408b 100644 --- a/service/healthlake/snapshot/api_op_ListFHIRExportJobs.go.snap +++ b/service/healthlake/snapshot/api_op_ListFHIRExportJobs.go.snap @@ -14,7 +14,6 @@ ListFHIRExportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/healthlake/snapshot/api_op_ListFHIRImportJobs.go.snap b/service/healthlake/snapshot/api_op_ListFHIRImportJobs.go.snap index ffe81594f25..88b1c9fbcc5 100644 --- a/service/healthlake/snapshot/api_op_ListFHIRImportJobs.go.snap +++ b/service/healthlake/snapshot/api_op_ListFHIRImportJobs.go.snap @@ -14,7 +14,6 @@ ListFHIRImportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/healthlake/snapshot/api_op_ListTagsForResource.go.snap b/service/healthlake/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/healthlake/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/healthlake/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/healthlake/snapshot/api_op_StartFHIRExportJob.go.snap b/service/healthlake/snapshot/api_op_StartFHIRExportJob.go.snap index 7959f123076..466d34ebac4 100644 --- a/service/healthlake/snapshot/api_op_StartFHIRExportJob.go.snap +++ b/service/healthlake/snapshot/api_op_StartFHIRExportJob.go.snap @@ -15,7 +15,6 @@ StartFHIRExportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/healthlake/snapshot/api_op_StartFHIRImportJob.go.snap b/service/healthlake/snapshot/api_op_StartFHIRImportJob.go.snap index eb46ed3ba3e..5257eae9375 100644 --- a/service/healthlake/snapshot/api_op_StartFHIRImportJob.go.snap +++ b/service/healthlake/snapshot/api_op_StartFHIRImportJob.go.snap @@ -15,7 +15,6 @@ StartFHIRImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/healthlake/snapshot/api_op_TagResource.go.snap b/service/healthlake/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/healthlake/snapshot/api_op_TagResource.go.snap +++ b/service/healthlake/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/healthlake/snapshot/api_op_UntagResource.go.snap b/service/healthlake/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/healthlake/snapshot/api_op_UntagResource.go.snap +++ b/service/healthlake/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/api_client.go b/service/iam/api_client.go index 78b8db48682..0c18b4725ef 100644 --- a/service/iam/api_client.go +++ b/service/iam/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/iam/api_op_AddClientIDToOpenIDConnectProvider.go b/service/iam/api_op_AddClientIDToOpenIDConnectProvider.go index 16da371ab61..d0079c96a1a 100644 --- a/service/iam/api_op_AddClientIDToOpenIDConnectProvider.go +++ b/service/iam/api_op_AddClientIDToOpenIDConnectProvider.go @@ -119,9 +119,6 @@ func (c *Client) addOperationAddClientIDToOpenIDConnectProviderMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddClientIDToOpenIDConnectProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_AddRoleToInstanceProfile.go b/service/iam/api_op_AddRoleToInstanceProfile.go index d32e33a77d7..d8b07ec7f4d 100644 --- a/service/iam/api_op_AddRoleToInstanceProfile.go +++ b/service/iam/api_op_AddRoleToInstanceProfile.go @@ -150,9 +150,6 @@ func (c *Client) addOperationAddRoleToInstanceProfileMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddRoleToInstanceProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_AddUserToGroup.go b/service/iam/api_op_AddUserToGroup.go index 88304adad1d..5064d1384fb 100644 --- a/service/iam/api_op_AddUserToGroup.go +++ b/service/iam/api_op_AddUserToGroup.go @@ -124,9 +124,6 @@ func (c *Client) addOperationAddUserToGroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddUserToGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_AttachGroupPolicy.go b/service/iam/api_op_AttachGroupPolicy.go index fdeed038d03..5311a28c25d 100644 --- a/service/iam/api_op_AttachGroupPolicy.go +++ b/service/iam/api_op_AttachGroupPolicy.go @@ -135,9 +135,6 @@ func (c *Client) addOperationAttachGroupPolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAttachGroupPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_AttachRolePolicy.go b/service/iam/api_op_AttachRolePolicy.go index b94e54cc9e3..911d43456ef 100644 --- a/service/iam/api_op_AttachRolePolicy.go +++ b/service/iam/api_op_AttachRolePolicy.go @@ -142,9 +142,6 @@ func (c *Client) addOperationAttachRolePolicyMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAttachRolePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_AttachUserPolicy.go b/service/iam/api_op_AttachUserPolicy.go index 052b3e4d42e..95a79d0b00c 100644 --- a/service/iam/api_op_AttachUserPolicy.go +++ b/service/iam/api_op_AttachUserPolicy.go @@ -135,9 +135,6 @@ func (c *Client) addOperationAttachUserPolicyMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAttachUserPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ChangePassword.go b/service/iam/api_op_ChangePassword.go index 041eb0ccb7b..0aed4dc505f 100644 --- a/service/iam/api_op_ChangePassword.go +++ b/service/iam/api_op_ChangePassword.go @@ -134,9 +134,6 @@ func (c *Client) addOperationChangePasswordMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpChangePasswordValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_CreateAccessKey.go b/service/iam/api_op_CreateAccessKey.go index c8aa5d7aea3..939a1717fb8 100644 --- a/service/iam/api_op_CreateAccessKey.go +++ b/service/iam/api_op_CreateAccessKey.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreateAccessKeyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAccessKey(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iam/api_op_CreateAccountAlias.go b/service/iam/api_op_CreateAccountAlias.go index a70980e744c..6befed39721 100644 --- a/service/iam/api_op_CreateAccountAlias.go +++ b/service/iam/api_op_CreateAccountAlias.go @@ -117,9 +117,6 @@ func (c *Client) addOperationCreateAccountAliasMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAccountAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_CreateGroup.go b/service/iam/api_op_CreateGroup.go index 3f8ca8fc899..b6f1079be01 100644 --- a/service/iam/api_op_CreateGroup.go +++ b/service/iam/api_op_CreateGroup.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateGroupMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_CreateInstanceProfile.go b/service/iam/api_op_CreateInstanceProfile.go index f7845751fbe..26b50cff8f8 100644 --- a/service/iam/api_op_CreateInstanceProfile.go +++ b/service/iam/api_op_CreateInstanceProfile.go @@ -156,9 +156,6 @@ func (c *Client) addOperationCreateInstanceProfileMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateInstanceProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_CreateLoginProfile.go b/service/iam/api_op_CreateLoginProfile.go index c81d9436d24..63c5ed26209 100644 --- a/service/iam/api_op_CreateLoginProfile.go +++ b/service/iam/api_op_CreateLoginProfile.go @@ -156,9 +156,6 @@ func (c *Client) addOperationCreateLoginProfileMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateLoginProfile(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iam/api_op_CreateOpenIDConnectProvider.go b/service/iam/api_op_CreateOpenIDConnectProvider.go index 6d79fbe31b7..dcb772c179a 100644 --- a/service/iam/api_op_CreateOpenIDConnectProvider.go +++ b/service/iam/api_op_CreateOpenIDConnectProvider.go @@ -216,9 +216,6 @@ func (c *Client) addOperationCreateOpenIDConnectProviderMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateOpenIDConnectProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_CreatePolicy.go b/service/iam/api_op_CreatePolicy.go index 124a179fb8d..691c64926eb 100644 --- a/service/iam/api_op_CreatePolicy.go +++ b/service/iam/api_op_CreatePolicy.go @@ -200,9 +200,6 @@ func (c *Client) addOperationCreatePolicyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_CreatePolicyVersion.go b/service/iam/api_op_CreatePolicyVersion.go index 5f91e698461..5943f98a140 100644 --- a/service/iam/api_op_CreatePolicyVersion.go +++ b/service/iam/api_op_CreatePolicyVersion.go @@ -171,9 +171,6 @@ func (c *Client) addOperationCreatePolicyVersionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePolicyVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_CreateRole.go b/service/iam/api_op_CreateRole.go index 8dcabed04d6..2c0fcf7901b 100644 --- a/service/iam/api_op_CreateRole.go +++ b/service/iam/api_op_CreateRole.go @@ -220,9 +220,6 @@ func (c *Client) addOperationCreateRoleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRoleValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_CreateSAMLProvider.go b/service/iam/api_op_CreateSAMLProvider.go index 8b9bfe12104..775a06c481d 100644 --- a/service/iam/api_op_CreateSAMLProvider.go +++ b/service/iam/api_op_CreateSAMLProvider.go @@ -179,9 +179,6 @@ func (c *Client) addOperationCreateSAMLProviderMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSAMLProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_CreateServiceLinkedRole.go b/service/iam/api_op_CreateServiceLinkedRole.go index e13d21c84cd..5d9f5041c7a 100644 --- a/service/iam/api_op_CreateServiceLinkedRole.go +++ b/service/iam/api_op_CreateServiceLinkedRole.go @@ -146,9 +146,6 @@ func (c *Client) addOperationCreateServiceLinkedRoleMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateServiceLinkedRoleValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_CreateServiceSpecificCredential.go b/service/iam/api_op_CreateServiceSpecificCredential.go index 10e6beacbb9..3b74e854581 100644 --- a/service/iam/api_op_CreateServiceSpecificCredential.go +++ b/service/iam/api_op_CreateServiceSpecificCredential.go @@ -146,9 +146,6 @@ func (c *Client) addOperationCreateServiceSpecificCredentialMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateServiceSpecificCredentialValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_CreateUser.go b/service/iam/api_op_CreateUser.go index eb3eb938880..6c18ad2ac96 100644 --- a/service/iam/api_op_CreateUser.go +++ b/service/iam/api_op_CreateUser.go @@ -162,9 +162,6 @@ func (c *Client) addOperationCreateUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_CreateVirtualMFADevice.go b/service/iam/api_op_CreateVirtualMFADevice.go index bb62d0449d2..4f8233b278c 100644 --- a/service/iam/api_op_CreateVirtualMFADevice.go +++ b/service/iam/api_op_CreateVirtualMFADevice.go @@ -162,9 +162,6 @@ func (c *Client) addOperationCreateVirtualMFADeviceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVirtualMFADeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeactivateMFADevice.go b/service/iam/api_op_DeactivateMFADevice.go index 4666e971270..f675e534120 100644 --- a/service/iam/api_op_DeactivateMFADevice.go +++ b/service/iam/api_op_DeactivateMFADevice.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDeactivateMFADeviceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeactivateMFADeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteAccessKey.go b/service/iam/api_op_DeleteAccessKey.go index 911f3ba96ac..9722f399839 100644 --- a/service/iam/api_op_DeleteAccessKey.go +++ b/service/iam/api_op_DeleteAccessKey.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDeleteAccessKeyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAccessKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteAccountAlias.go b/service/iam/api_op_DeleteAccountAlias.go index e201b0fcf94..5de74902ed6 100644 --- a/service/iam/api_op_DeleteAccountAlias.go +++ b/service/iam/api_op_DeleteAccountAlias.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteAccountAliasMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAccountAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteAccountPasswordPolicy.go b/service/iam/api_op_DeleteAccountPasswordPolicy.go index 609c0dfd7ba..498c88306b2 100644 --- a/service/iam/api_op_DeleteAccountPasswordPolicy.go +++ b/service/iam/api_op_DeleteAccountPasswordPolicy.go @@ -102,9 +102,6 @@ func (c *Client) addOperationDeleteAccountPasswordPolicyMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAccountPasswordPolicy(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iam/api_op_DeleteGroup.go b/service/iam/api_op_DeleteGroup.go index 962f48960ee..e133fbc5f72 100644 --- a/service/iam/api_op_DeleteGroup.go +++ b/service/iam/api_op_DeleteGroup.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteGroupMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteGroupPolicy.go b/service/iam/api_op_DeleteGroupPolicy.go index a9d50f7e712..d38f19b345e 100644 --- a/service/iam/api_op_DeleteGroupPolicy.go +++ b/service/iam/api_op_DeleteGroupPolicy.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDeleteGroupPolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGroupPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteInstanceProfile.go b/service/iam/api_op_DeleteInstanceProfile.go index 82102d2e2ab..09d9747079d 100644 --- a/service/iam/api_op_DeleteInstanceProfile.go +++ b/service/iam/api_op_DeleteInstanceProfile.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteInstanceProfileMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInstanceProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteLoginProfile.go b/service/iam/api_op_DeleteLoginProfile.go index 980f0d6a83e..f7c45ce4730 100644 --- a/service/iam/api_op_DeleteLoginProfile.go +++ b/service/iam/api_op_DeleteLoginProfile.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteLoginProfileMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLoginProfile(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iam/api_op_DeleteOpenIDConnectProvider.go b/service/iam/api_op_DeleteOpenIDConnectProvider.go index cd836637de1..0daf8d87184 100644 --- a/service/iam/api_op_DeleteOpenIDConnectProvider.go +++ b/service/iam/api_op_DeleteOpenIDConnectProvider.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteOpenIDConnectProviderMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteOpenIDConnectProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeletePolicy.go b/service/iam/api_op_DeletePolicy.go index e4f9e6424c2..5c0aa800f6a 100644 --- a/service/iam/api_op_DeletePolicy.go +++ b/service/iam/api_op_DeletePolicy.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDeletePolicyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeletePolicyVersion.go b/service/iam/api_op_DeletePolicyVersion.go index ecbb8a5074c..04767686bf5 100644 --- a/service/iam/api_op_DeletePolicyVersion.go +++ b/service/iam/api_op_DeletePolicyVersion.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDeletePolicyVersionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePolicyVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteRole.go b/service/iam/api_op_DeleteRole.go index 2dbab4de5e8..c8d2320b4f2 100644 --- a/service/iam/api_op_DeleteRole.go +++ b/service/iam/api_op_DeleteRole.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDeleteRoleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRoleValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteRolePermissionsBoundary.go b/service/iam/api_op_DeleteRolePermissionsBoundary.go index d32c2b9ec0b..89d063183c7 100644 --- a/service/iam/api_op_DeleteRolePermissionsBoundary.go +++ b/service/iam/api_op_DeleteRolePermissionsBoundary.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteRolePermissionsBoundaryMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRolePermissionsBoundaryValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteRolePolicy.go b/service/iam/api_op_DeleteRolePolicy.go index 40ed71ac36b..267a3fb7317 100644 --- a/service/iam/api_op_DeleteRolePolicy.go +++ b/service/iam/api_op_DeleteRolePolicy.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDeleteRolePolicyMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRolePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteSAMLProvider.go b/service/iam/api_op_DeleteSAMLProvider.go index f99eb17881a..8ad85a5c4f5 100644 --- a/service/iam/api_op_DeleteSAMLProvider.go +++ b/service/iam/api_op_DeleteSAMLProvider.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteSAMLProviderMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSAMLProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteSSHPublicKey.go b/service/iam/api_op_DeleteSSHPublicKey.go index 827098a5888..7c4f9aa24c0 100644 --- a/service/iam/api_op_DeleteSSHPublicKey.go +++ b/service/iam/api_op_DeleteSSHPublicKey.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDeleteSSHPublicKeyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSSHPublicKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteServerCertificate.go b/service/iam/api_op_DeleteServerCertificate.go index 9d4b8ccd016..bd0089550b6 100644 --- a/service/iam/api_op_DeleteServerCertificate.go +++ b/service/iam/api_op_DeleteServerCertificate.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteServerCertificateMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteServerCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteServiceLinkedRole.go b/service/iam/api_op_DeleteServiceLinkedRole.go index 8b65a663cf9..e4cac12c822 100644 --- a/service/iam/api_op_DeleteServiceLinkedRole.go +++ b/service/iam/api_op_DeleteServiceLinkedRole.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDeleteServiceLinkedRoleMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteServiceLinkedRoleValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteServiceSpecificCredential.go b/service/iam/api_op_DeleteServiceSpecificCredential.go index 70d9b46973b..75fc1a7c749 100644 --- a/service/iam/api_op_DeleteServiceSpecificCredential.go +++ b/service/iam/api_op_DeleteServiceSpecificCredential.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteServiceSpecificCredentialMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteServiceSpecificCredentialValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteSigningCertificate.go b/service/iam/api_op_DeleteSigningCertificate.go index 450b8bfda0e..cd673808e37 100644 --- a/service/iam/api_op_DeleteSigningCertificate.go +++ b/service/iam/api_op_DeleteSigningCertificate.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteSigningCertificateMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSigningCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteUser.go b/service/iam/api_op_DeleteUser.go index 77b725816b9..98fd67e1bd5 100644 --- a/service/iam/api_op_DeleteUser.go +++ b/service/iam/api_op_DeleteUser.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDeleteUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteUserPermissionsBoundary.go b/service/iam/api_op_DeleteUserPermissionsBoundary.go index 584d974a2d4..f00eb363810 100644 --- a/service/iam/api_op_DeleteUserPermissionsBoundary.go +++ b/service/iam/api_op_DeleteUserPermissionsBoundary.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteUserPermissionsBoundaryMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUserPermissionsBoundaryValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteUserPolicy.go b/service/iam/api_op_DeleteUserPolicy.go index c08df88d40b..ba27de19748 100644 --- a/service/iam/api_op_DeleteUserPolicy.go +++ b/service/iam/api_op_DeleteUserPolicy.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDeleteUserPolicyMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUserPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DeleteVirtualMFADevice.go b/service/iam/api_op_DeleteVirtualMFADevice.go index 3a0e77539dd..e1becfbe9dd 100644 --- a/service/iam/api_op_DeleteVirtualMFADevice.go +++ b/service/iam/api_op_DeleteVirtualMFADevice.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteVirtualMFADeviceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVirtualMFADeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DetachGroupPolicy.go b/service/iam/api_op_DetachGroupPolicy.go index d749a474c0b..6f5d9f01187 100644 --- a/service/iam/api_op_DetachGroupPolicy.go +++ b/service/iam/api_op_DetachGroupPolicy.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDetachGroupPolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetachGroupPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DetachRolePolicy.go b/service/iam/api_op_DetachRolePolicy.go index ab454d82e17..32521226f0f 100644 --- a/service/iam/api_op_DetachRolePolicy.go +++ b/service/iam/api_op_DetachRolePolicy.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDetachRolePolicyMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetachRolePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DetachUserPolicy.go b/service/iam/api_op_DetachUserPolicy.go index 1be22a7e34a..f627c04502b 100644 --- a/service/iam/api_op_DetachUserPolicy.go +++ b/service/iam/api_op_DetachUserPolicy.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDetachUserPolicyMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetachUserPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_DisableOrganizationsRootCredentialsManagement.go b/service/iam/api_op_DisableOrganizationsRootCredentialsManagement.go index c7ea45cd88f..fab6c607305 100644 --- a/service/iam/api_op_DisableOrganizationsRootCredentialsManagement.go +++ b/service/iam/api_op_DisableOrganizationsRootCredentialsManagement.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDisableOrganizationsRootCredentialsManagementMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableOrganizationsRootCredentialsManagement(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iam/api_op_DisableOrganizationsRootSessions.go b/service/iam/api_op_DisableOrganizationsRootSessions.go index 537bbeae555..ca4181d0613 100644 --- a/service/iam/api_op_DisableOrganizationsRootSessions.go +++ b/service/iam/api_op_DisableOrganizationsRootSessions.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDisableOrganizationsRootSessionsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableOrganizationsRootSessions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iam/api_op_EnableMFADevice.go b/service/iam/api_op_EnableMFADevice.go index 2135b0cd811..34916c2f1f8 100644 --- a/service/iam/api_op_EnableMFADevice.go +++ b/service/iam/api_op_EnableMFADevice.go @@ -157,9 +157,6 @@ func (c *Client) addOperationEnableMFADeviceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableMFADeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_EnableOrganizationsRootCredentialsManagement.go b/service/iam/api_op_EnableOrganizationsRootCredentialsManagement.go index afebed2050e..48541af6a3c 100644 --- a/service/iam/api_op_EnableOrganizationsRootCredentialsManagement.go +++ b/service/iam/api_op_EnableOrganizationsRootCredentialsManagement.go @@ -124,9 +124,6 @@ func (c *Client) addOperationEnableOrganizationsRootCredentialsManagementMiddlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableOrganizationsRootCredentialsManagement(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iam/api_op_EnableOrganizationsRootSessions.go b/service/iam/api_op_EnableOrganizationsRootSessions.go index 3cfd5fdfc55..07aacb0cdd0 100644 --- a/service/iam/api_op_EnableOrganizationsRootSessions.go +++ b/service/iam/api_op_EnableOrganizationsRootSessions.go @@ -123,9 +123,6 @@ func (c *Client) addOperationEnableOrganizationsRootSessionsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableOrganizationsRootSessions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iam/api_op_GenerateCredentialReport.go b/service/iam/api_op_GenerateCredentialReport.go index a67ee4dba67..30e2108944d 100644 --- a/service/iam/api_op_GenerateCredentialReport.go +++ b/service/iam/api_op_GenerateCredentialReport.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGenerateCredentialReportMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGenerateCredentialReport(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iam/api_op_GenerateOrganizationsAccessReport.go b/service/iam/api_op_GenerateOrganizationsAccessReport.go index ea0d62eff72..b9c2b930d89 100644 --- a/service/iam/api_op_GenerateOrganizationsAccessReport.go +++ b/service/iam/api_op_GenerateOrganizationsAccessReport.go @@ -234,9 +234,6 @@ func (c *Client) addOperationGenerateOrganizationsAccessReportMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGenerateOrganizationsAccessReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GenerateServiceLastAccessedDetails.go b/service/iam/api_op_GenerateServiceLastAccessedDetails.go index 7b5e2178bc8..1be261c2132 100644 --- a/service/iam/api_op_GenerateServiceLastAccessedDetails.go +++ b/service/iam/api_op_GenerateServiceLastAccessedDetails.go @@ -183,9 +183,6 @@ func (c *Client) addOperationGenerateServiceLastAccessedDetailsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGenerateServiceLastAccessedDetailsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetAccessKeyLastUsed.go b/service/iam/api_op_GetAccessKeyLastUsed.go index 81a560f7b8a..748c5f288a9 100644 --- a/service/iam/api_op_GetAccessKeyLastUsed.go +++ b/service/iam/api_op_GetAccessKeyLastUsed.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetAccessKeyLastUsedMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAccessKeyLastUsedValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetAccountAuthorizationDetails.go b/service/iam/api_op_GetAccountAuthorizationDetails.go index c72bc19abe2..2162fdb8a82 100644 --- a/service/iam/api_op_GetAccountAuthorizationDetails.go +++ b/service/iam/api_op_GetAccountAuthorizationDetails.go @@ -169,9 +169,6 @@ func (c *Client) addOperationGetAccountAuthorizationDetailsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountAuthorizationDetails(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iam/api_op_GetAccountPasswordPolicy.go b/service/iam/api_op_GetAccountPasswordPolicy.go index 4df24636052..aa50f44cd79 100644 --- a/service/iam/api_op_GetAccountPasswordPolicy.go +++ b/service/iam/api_op_GetAccountPasswordPolicy.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetAccountPasswordPolicyMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountPasswordPolicy(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iam/api_op_GetAccountSummary.go b/service/iam/api_op_GetAccountSummary.go index 6f7856a2683..f37d86aef22 100644 --- a/service/iam/api_op_GetAccountSummary.go +++ b/service/iam/api_op_GetAccountSummary.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetAccountSummaryMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountSummary(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iam/api_op_GetContextKeysForCustomPolicy.go b/service/iam/api_op_GetContextKeysForCustomPolicy.go index 10a8f7372c1..a506e9388dc 100644 --- a/service/iam/api_op_GetContextKeysForCustomPolicy.go +++ b/service/iam/api_op_GetContextKeysForCustomPolicy.go @@ -138,9 +138,6 @@ func (c *Client) addOperationGetContextKeysForCustomPolicyMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetContextKeysForCustomPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetContextKeysForPrincipalPolicy.go b/service/iam/api_op_GetContextKeysForPrincipalPolicy.go index 3e20af7d983..10cd3ff5cd2 100644 --- a/service/iam/api_op_GetContextKeysForPrincipalPolicy.go +++ b/service/iam/api_op_GetContextKeysForPrincipalPolicy.go @@ -157,9 +157,6 @@ func (c *Client) addOperationGetContextKeysForPrincipalPolicyMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetContextKeysForPrincipalPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetCredentialReport.go b/service/iam/api_op_GetCredentialReport.go index a8b23242402..d75d50dcc58 100644 --- a/service/iam/api_op_GetCredentialReport.go +++ b/service/iam/api_op_GetCredentialReport.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetCredentialReportMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCredentialReport(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iam/api_op_GetGroup.go b/service/iam/api_op_GetGroup.go index 7deac4d1672..f10ee89c265 100644 --- a/service/iam/api_op_GetGroup.go +++ b/service/iam/api_op_GetGroup.go @@ -157,9 +157,6 @@ func (c *Client) addOperationGetGroupMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetGroupPolicy.go b/service/iam/api_op_GetGroupPolicy.go index 9da0699be54..3a3db540daa 100644 --- a/service/iam/api_op_GetGroupPolicy.go +++ b/service/iam/api_op_GetGroupPolicy.go @@ -161,9 +161,6 @@ func (c *Client) addOperationGetGroupPolicyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetGroupPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetInstanceProfile.go b/service/iam/api_op_GetInstanceProfile.go index 03c96ed01f6..919f7cb7467 100644 --- a/service/iam/api_op_GetInstanceProfile.go +++ b/service/iam/api_op_GetInstanceProfile.go @@ -130,9 +130,6 @@ func (c *Client) addOperationGetInstanceProfileMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInstanceProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetLoginProfile.go b/service/iam/api_op_GetLoginProfile.go index 2a559c7fc9c..4e16bb622d7 100644 --- a/service/iam/api_op_GetLoginProfile.go +++ b/service/iam/api_op_GetLoginProfile.go @@ -136,9 +136,6 @@ func (c *Client) addOperationGetLoginProfileMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLoginProfile(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iam/api_op_GetMFADevice.go b/service/iam/api_op_GetMFADevice.go index 0b22fdd07ed..92e629346c7 100644 --- a/service/iam/api_op_GetMFADevice.go +++ b/service/iam/api_op_GetMFADevice.go @@ -135,9 +135,6 @@ func (c *Client) addOperationGetMFADeviceMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMFADeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetOpenIDConnectProvider.go b/service/iam/api_op_GetOpenIDConnectProvider.go index afff41f773c..aca71da5c05 100644 --- a/service/iam/api_op_GetOpenIDConnectProvider.go +++ b/service/iam/api_op_GetOpenIDConnectProvider.go @@ -142,9 +142,6 @@ func (c *Client) addOperationGetOpenIDConnectProviderMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetOpenIDConnectProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetOrganizationsAccessReport.go b/service/iam/api_op_GetOrganizationsAccessReport.go index 9a1a4d45064..adc980b591f 100644 --- a/service/iam/api_op_GetOrganizationsAccessReport.go +++ b/service/iam/api_op_GetOrganizationsAccessReport.go @@ -201,9 +201,6 @@ func (c *Client) addOperationGetOrganizationsAccessReportMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetOrganizationsAccessReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetPolicy.go b/service/iam/api_op_GetPolicy.go index 729008bacd1..4cd2c9dd2b3 100644 --- a/service/iam/api_op_GetPolicy.go +++ b/service/iam/api_op_GetPolicy.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGetPolicyMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetPolicyVersion.go b/service/iam/api_op_GetPolicyVersion.go index 0b7629502db..e8ca347e307 100644 --- a/service/iam/api_op_GetPolicyVersion.go +++ b/service/iam/api_op_GetPolicyVersion.go @@ -151,9 +151,6 @@ func (c *Client) addOperationGetPolicyVersionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPolicyVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetRole.go b/service/iam/api_op_GetRole.go index e824dc819ef..88055052b35 100644 --- a/service/iam/api_op_GetRole.go +++ b/service/iam/api_op_GetRole.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGetRoleMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRoleValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetRolePolicy.go b/service/iam/api_op_GetRolePolicy.go index 31a4fdfaf4a..9830349bcd1 100644 --- a/service/iam/api_op_GetRolePolicy.go +++ b/service/iam/api_op_GetRolePolicy.go @@ -164,9 +164,6 @@ func (c *Client) addOperationGetRolePolicyMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRolePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetSAMLProvider.go b/service/iam/api_op_GetSAMLProvider.go index df49bee0591..13a87ade089 100644 --- a/service/iam/api_op_GetSAMLProvider.go +++ b/service/iam/api_op_GetSAMLProvider.go @@ -147,9 +147,6 @@ func (c *Client) addOperationGetSAMLProviderMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSAMLProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetSSHPublicKey.go b/service/iam/api_op_GetSSHPublicKey.go index b0b13710588..f9c1cb88bc4 100644 --- a/service/iam/api_op_GetSSHPublicKey.go +++ b/service/iam/api_op_GetSSHPublicKey.go @@ -143,9 +143,6 @@ func (c *Client) addOperationGetSSHPublicKeyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSSHPublicKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetServerCertificate.go b/service/iam/api_op_GetServerCertificate.go index b5010dfdb81..583841ba02d 100644 --- a/service/iam/api_op_GetServerCertificate.go +++ b/service/iam/api_op_GetServerCertificate.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetServerCertificateMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetServerCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetServiceLastAccessedDetails.go b/service/iam/api_op_GetServiceLastAccessedDetails.go index bde36d0f424..da2b5e1c87a 100644 --- a/service/iam/api_op_GetServiceLastAccessedDetails.go +++ b/service/iam/api_op_GetServiceLastAccessedDetails.go @@ -224,9 +224,6 @@ func (c *Client) addOperationGetServiceLastAccessedDetailsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetServiceLastAccessedDetailsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetServiceLastAccessedDetailsWithEntities.go b/service/iam/api_op_GetServiceLastAccessedDetailsWithEntities.go index 4a9aa2ddbd1..22266fa2dd8 100644 --- a/service/iam/api_op_GetServiceLastAccessedDetailsWithEntities.go +++ b/service/iam/api_op_GetServiceLastAccessedDetailsWithEntities.go @@ -209,9 +209,6 @@ func (c *Client) addOperationGetServiceLastAccessedDetailsWithEntitiesMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetServiceLastAccessedDetailsWithEntitiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetServiceLinkedRoleDeletionStatus.go b/service/iam/api_op_GetServiceLinkedRoleDeletionStatus.go index 81396664737..0bb8fd4820d 100644 --- a/service/iam/api_op_GetServiceLinkedRoleDeletionStatus.go +++ b/service/iam/api_op_GetServiceLinkedRoleDeletionStatus.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetServiceLinkedRoleDeletionStatusMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetServiceLinkedRoleDeletionStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_GetUser.go b/service/iam/api_op_GetUser.go index 1213967f173..4586e142957 100644 --- a/service/iam/api_op_GetUser.go +++ b/service/iam/api_op_GetUser.go @@ -149,9 +149,6 @@ func (c *Client) addOperationGetUserMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUser(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iam/api_op_GetUserPolicy.go b/service/iam/api_op_GetUserPolicy.go index 808c6c62772..387888a15f2 100644 --- a/service/iam/api_op_GetUserPolicy.go +++ b/service/iam/api_op_GetUserPolicy.go @@ -161,9 +161,6 @@ func (c *Client) addOperationGetUserPolicyMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUserPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListAccessKeys.go b/service/iam/api_op_ListAccessKeys.go index 904c1d084e5..de39bf7ca41 100644 --- a/service/iam/api_op_ListAccessKeys.go +++ b/service/iam/api_op_ListAccessKeys.go @@ -164,9 +164,6 @@ func (c *Client) addOperationListAccessKeysMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccessKeys(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iam/api_op_ListAccountAliases.go b/service/iam/api_op_ListAccountAliases.go index 14109c0f592..a65d49f20a0 100644 --- a/service/iam/api_op_ListAccountAliases.go +++ b/service/iam/api_op_ListAccountAliases.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListAccountAliasesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccountAliases(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iam/api_op_ListAttachedGroupPolicies.go b/service/iam/api_op_ListAttachedGroupPolicies.go index 5a9e0fa48da..fe9de8b749a 100644 --- a/service/iam/api_op_ListAttachedGroupPolicies.go +++ b/service/iam/api_op_ListAttachedGroupPolicies.go @@ -172,9 +172,6 @@ func (c *Client) addOperationListAttachedGroupPoliciesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAttachedGroupPoliciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListAttachedRolePolicies.go b/service/iam/api_op_ListAttachedRolePolicies.go index 53327a1af01..f767a16d309 100644 --- a/service/iam/api_op_ListAttachedRolePolicies.go +++ b/service/iam/api_op_ListAttachedRolePolicies.go @@ -172,9 +172,6 @@ func (c *Client) addOperationListAttachedRolePoliciesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAttachedRolePoliciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListAttachedUserPolicies.go b/service/iam/api_op_ListAttachedUserPolicies.go index 920ffd5f858..46cfe41823e 100644 --- a/service/iam/api_op_ListAttachedUserPolicies.go +++ b/service/iam/api_op_ListAttachedUserPolicies.go @@ -172,9 +172,6 @@ func (c *Client) addOperationListAttachedUserPoliciesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAttachedUserPoliciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListEntitiesForPolicy.go b/service/iam/api_op_ListEntitiesForPolicy.go index 6130cb90d68..0844ac6752c 100644 --- a/service/iam/api_op_ListEntitiesForPolicy.go +++ b/service/iam/api_op_ListEntitiesForPolicy.go @@ -190,9 +190,6 @@ func (c *Client) addOperationListEntitiesForPolicyMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEntitiesForPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListGroupPolicies.go b/service/iam/api_op_ListGroupPolicies.go index 1a3747d770f..5513f487a4e 100644 --- a/service/iam/api_op_ListGroupPolicies.go +++ b/service/iam/api_op_ListGroupPolicies.go @@ -166,9 +166,6 @@ func (c *Client) addOperationListGroupPoliciesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListGroupPoliciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListGroups.go b/service/iam/api_op_ListGroups.go index 404a28202e6..13be88a6b1b 100644 --- a/service/iam/api_op_ListGroups.go +++ b/service/iam/api_op_ListGroups.go @@ -155,9 +155,6 @@ func (c *Client) addOperationListGroupsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iam/api_op_ListGroupsForUser.go b/service/iam/api_op_ListGroupsForUser.go index 87e19e1ff4d..7aa47cf8856 100644 --- a/service/iam/api_op_ListGroupsForUser.go +++ b/service/iam/api_op_ListGroupsForUser.go @@ -152,9 +152,6 @@ func (c *Client) addOperationListGroupsForUserMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListGroupsForUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListInstanceProfileTags.go b/service/iam/api_op_ListInstanceProfileTags.go index 3f9b65e48b6..bf2efc8369d 100644 --- a/service/iam/api_op_ListInstanceProfileTags.go +++ b/service/iam/api_op_ListInstanceProfileTags.go @@ -155,9 +155,6 @@ func (c *Client) addOperationListInstanceProfileTagsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListInstanceProfileTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListInstanceProfiles.go b/service/iam/api_op_ListInstanceProfiles.go index 25704aec77b..257da5997dc 100644 --- a/service/iam/api_op_ListInstanceProfiles.go +++ b/service/iam/api_op_ListInstanceProfiles.go @@ -164,9 +164,6 @@ func (c *Client) addOperationListInstanceProfilesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInstanceProfiles(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iam/api_op_ListInstanceProfilesForRole.go b/service/iam/api_op_ListInstanceProfilesForRole.go index 1e6af873343..7815e547351 100644 --- a/service/iam/api_op_ListInstanceProfilesForRole.go +++ b/service/iam/api_op_ListInstanceProfilesForRole.go @@ -156,9 +156,6 @@ func (c *Client) addOperationListInstanceProfilesForRoleMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListInstanceProfilesForRoleValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListMFADeviceTags.go b/service/iam/api_op_ListMFADeviceTags.go index 1408ab4c914..bdac50b8de5 100644 --- a/service/iam/api_op_ListMFADeviceTags.go +++ b/service/iam/api_op_ListMFADeviceTags.go @@ -156,9 +156,6 @@ func (c *Client) addOperationListMFADeviceTagsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMFADeviceTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListMFADevices.go b/service/iam/api_op_ListMFADevices.go index 0812bb90d61..74b5b61cd7e 100644 --- a/service/iam/api_op_ListMFADevices.go +++ b/service/iam/api_op_ListMFADevices.go @@ -154,9 +154,6 @@ func (c *Client) addOperationListMFADevicesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMFADevices(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iam/api_op_ListOpenIDConnectProviderTags.go b/service/iam/api_op_ListOpenIDConnectProviderTags.go index 29daed6be85..acad2e84d4c 100644 --- a/service/iam/api_op_ListOpenIDConnectProviderTags.go +++ b/service/iam/api_op_ListOpenIDConnectProviderTags.go @@ -160,9 +160,6 @@ func (c *Client) addOperationListOpenIDConnectProviderTagsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListOpenIDConnectProviderTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListOpenIDConnectProviders.go b/service/iam/api_op_ListOpenIDConnectProviders.go index 030f91a5623..bc88dac5e1a 100644 --- a/service/iam/api_op_ListOpenIDConnectProviders.go +++ b/service/iam/api_op_ListOpenIDConnectProviders.go @@ -114,9 +114,6 @@ func (c *Client) addOperationListOpenIDConnectProvidersMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOpenIDConnectProviders(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iam/api_op_ListOrganizationsFeatures.go b/service/iam/api_op_ListOrganizationsFeatures.go index df933e64139..43d139733fd 100644 --- a/service/iam/api_op_ListOrganizationsFeatures.go +++ b/service/iam/api_op_ListOrganizationsFeatures.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListOrganizationsFeaturesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOrganizationsFeatures(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iam/api_op_ListPolicies.go b/service/iam/api_op_ListPolicies.go index 867bc9bc2b4..9c4061473b3 100644 --- a/service/iam/api_op_ListPolicies.go +++ b/service/iam/api_op_ListPolicies.go @@ -192,9 +192,6 @@ func (c *Client) addOperationListPoliciesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPolicies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iam/api_op_ListPoliciesGrantingServiceAccess.go b/service/iam/api_op_ListPoliciesGrantingServiceAccess.go index 9a90e61f06c..b7b5a8f2e81 100644 --- a/service/iam/api_op_ListPoliciesGrantingServiceAccess.go +++ b/service/iam/api_op_ListPoliciesGrantingServiceAccess.go @@ -180,9 +180,6 @@ func (c *Client) addOperationListPoliciesGrantingServiceAccessMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPoliciesGrantingServiceAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListPolicyTags.go b/service/iam/api_op_ListPolicyTags.go index 09bdc90c209..ddbfc061a36 100644 --- a/service/iam/api_op_ListPolicyTags.go +++ b/service/iam/api_op_ListPolicyTags.go @@ -155,9 +155,6 @@ func (c *Client) addOperationListPolicyTagsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPolicyTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListPolicyVersions.go b/service/iam/api_op_ListPolicyVersions.go index 69c002b0d00..943983f5ed4 100644 --- a/service/iam/api_op_ListPolicyVersions.go +++ b/service/iam/api_op_ListPolicyVersions.go @@ -157,9 +157,6 @@ func (c *Client) addOperationListPolicyVersionsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPolicyVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListRolePolicies.go b/service/iam/api_op_ListRolePolicies.go index 673d830a5a9..1af132816a2 100644 --- a/service/iam/api_op_ListRolePolicies.go +++ b/service/iam/api_op_ListRolePolicies.go @@ -160,9 +160,6 @@ func (c *Client) addOperationListRolePoliciesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRolePoliciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListRoleTags.go b/service/iam/api_op_ListRoleTags.go index ede33085ffa..f91e0394947 100644 --- a/service/iam/api_op_ListRoleTags.go +++ b/service/iam/api_op_ListRoleTags.go @@ -155,9 +155,6 @@ func (c *Client) addOperationListRoleTagsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRoleTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListRoles.go b/service/iam/api_op_ListRoles.go index b9ab38deaf5..9d3fc4a929a 100644 --- a/service/iam/api_op_ListRoles.go +++ b/service/iam/api_op_ListRoles.go @@ -171,9 +171,6 @@ func (c *Client) addOperationListRolesMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRoles(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iam/api_op_ListSAMLProviderTags.go b/service/iam/api_op_ListSAMLProviderTags.go index bca5377e7d1..8c677d3ff5e 100644 --- a/service/iam/api_op_ListSAMLProviderTags.go +++ b/service/iam/api_op_ListSAMLProviderTags.go @@ -160,9 +160,6 @@ func (c *Client) addOperationListSAMLProviderTagsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSAMLProviderTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListSAMLProviders.go b/service/iam/api_op_ListSAMLProviders.go index 2b703957492..acd4d43b26f 100644 --- a/service/iam/api_op_ListSAMLProviders.go +++ b/service/iam/api_op_ListSAMLProviders.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListSAMLProvidersMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSAMLProviders(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iam/api_op_ListSSHPublicKeys.go b/service/iam/api_op_ListSSHPublicKeys.go index 192e77bf1e7..c9a609476e1 100644 --- a/service/iam/api_op_ListSSHPublicKeys.go +++ b/service/iam/api_op_ListSSHPublicKeys.go @@ -159,9 +159,6 @@ func (c *Client) addOperationListSSHPublicKeysMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSSHPublicKeys(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iam/api_op_ListServerCertificateTags.go b/service/iam/api_op_ListServerCertificateTags.go index a218f2ce153..4683f39691e 100644 --- a/service/iam/api_op_ListServerCertificateTags.go +++ b/service/iam/api_op_ListServerCertificateTags.go @@ -161,9 +161,6 @@ func (c *Client) addOperationListServerCertificateTagsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListServerCertificateTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListServerCertificates.go b/service/iam/api_op_ListServerCertificates.go index 93c94a1d9e2..638d0167ca4 100644 --- a/service/iam/api_op_ListServerCertificates.go +++ b/service/iam/api_op_ListServerCertificates.go @@ -167,9 +167,6 @@ func (c *Client) addOperationListServerCertificatesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServerCertificates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iam/api_op_ListServiceSpecificCredentials.go b/service/iam/api_op_ListServiceSpecificCredentials.go index 623c5448309..d48c3c41031 100644 --- a/service/iam/api_op_ListServiceSpecificCredentials.go +++ b/service/iam/api_op_ListServiceSpecificCredentials.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListServiceSpecificCredentialsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServiceSpecificCredentials(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iam/api_op_ListSigningCertificates.go b/service/iam/api_op_ListSigningCertificates.go index 829d0a9acb5..95a54552760 100644 --- a/service/iam/api_op_ListSigningCertificates.go +++ b/service/iam/api_op_ListSigningCertificates.go @@ -159,9 +159,6 @@ func (c *Client) addOperationListSigningCertificatesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSigningCertificates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iam/api_op_ListUserPolicies.go b/service/iam/api_op_ListUserPolicies.go index be3ee90613e..3f633c2dfab 100644 --- a/service/iam/api_op_ListUserPolicies.go +++ b/service/iam/api_op_ListUserPolicies.go @@ -159,9 +159,6 @@ func (c *Client) addOperationListUserPoliciesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListUserPoliciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListUserTags.go b/service/iam/api_op_ListUserTags.go index 104b83d2817..a402c64dced 100644 --- a/service/iam/api_op_ListUserTags.go +++ b/service/iam/api_op_ListUserTags.go @@ -155,9 +155,6 @@ func (c *Client) addOperationListUserTagsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListUserTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ListUsers.go b/service/iam/api_op_ListUsers.go index cf0ffcff825..d4a29cf863a 100644 --- a/service/iam/api_op_ListUsers.go +++ b/service/iam/api_op_ListUsers.go @@ -167,9 +167,6 @@ func (c *Client) addOperationListUsersMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUsers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iam/api_op_ListVirtualMFADevices.go b/service/iam/api_op_ListVirtualMFADevices.go index 72177c49eec..2e27beefc30 100644 --- a/service/iam/api_op_ListVirtualMFADevices.go +++ b/service/iam/api_op_ListVirtualMFADevices.go @@ -155,9 +155,6 @@ func (c *Client) addOperationListVirtualMFADevicesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVirtualMFADevices(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iam/api_op_PutGroupPolicy.go b/service/iam/api_op_PutGroupPolicy.go index 1420a0c1551..76011d291f1 100644 --- a/service/iam/api_op_PutGroupPolicy.go +++ b/service/iam/api_op_PutGroupPolicy.go @@ -166,9 +166,6 @@ func (c *Client) addOperationPutGroupPolicyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutGroupPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_PutRolePermissionsBoundary.go b/service/iam/api_op_PutRolePermissionsBoundary.go index ef0bf72a68a..7535a37cdd5 100644 --- a/service/iam/api_op_PutRolePermissionsBoundary.go +++ b/service/iam/api_op_PutRolePermissionsBoundary.go @@ -137,9 +137,6 @@ func (c *Client) addOperationPutRolePermissionsBoundaryMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutRolePermissionsBoundaryValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_PutRolePolicy.go b/service/iam/api_op_PutRolePolicy.go index a4143ec739e..b81b5b4dc01 100644 --- a/service/iam/api_op_PutRolePolicy.go +++ b/service/iam/api_op_PutRolePolicy.go @@ -175,9 +175,6 @@ func (c *Client) addOperationPutRolePolicyMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutRolePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_PutUserPermissionsBoundary.go b/service/iam/api_op_PutUserPermissionsBoundary.go index a6588015bc5..b90d153f7e3 100644 --- a/service/iam/api_op_PutUserPermissionsBoundary.go +++ b/service/iam/api_op_PutUserPermissionsBoundary.go @@ -135,9 +135,6 @@ func (c *Client) addOperationPutUserPermissionsBoundaryMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutUserPermissionsBoundaryValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_PutUserPolicy.go b/service/iam/api_op_PutUserPolicy.go index ed0a91e5dfe..fcd23509e37 100644 --- a/service/iam/api_op_PutUserPolicy.go +++ b/service/iam/api_op_PutUserPolicy.go @@ -166,9 +166,6 @@ func (c *Client) addOperationPutUserPolicyMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutUserPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_RemoveClientIDFromOpenIDConnectProvider.go b/service/iam/api_op_RemoveClientIDFromOpenIDConnectProvider.go index c63b1efa9d9..c045b50487a 100644 --- a/service/iam/api_op_RemoveClientIDFromOpenIDConnectProvider.go +++ b/service/iam/api_op_RemoveClientIDFromOpenIDConnectProvider.go @@ -124,9 +124,6 @@ func (c *Client) addOperationRemoveClientIDFromOpenIDConnectProviderMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveClientIDFromOpenIDConnectProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_RemoveRoleFromInstanceProfile.go b/service/iam/api_op_RemoveRoleFromInstanceProfile.go index 6272b9fea0f..ee73f61870a 100644 --- a/service/iam/api_op_RemoveRoleFromInstanceProfile.go +++ b/service/iam/api_op_RemoveRoleFromInstanceProfile.go @@ -135,9 +135,6 @@ func (c *Client) addOperationRemoveRoleFromInstanceProfileMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveRoleFromInstanceProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_RemoveUserFromGroup.go b/service/iam/api_op_RemoveUserFromGroup.go index 611e11aca97..ae4a5d5d635 100644 --- a/service/iam/api_op_RemoveUserFromGroup.go +++ b/service/iam/api_op_RemoveUserFromGroup.go @@ -124,9 +124,6 @@ func (c *Client) addOperationRemoveUserFromGroupMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveUserFromGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ResetServiceSpecificCredential.go b/service/iam/api_op_ResetServiceSpecificCredential.go index 6689f7f7a4c..7e58651a378 100644 --- a/service/iam/api_op_ResetServiceSpecificCredential.go +++ b/service/iam/api_op_ResetServiceSpecificCredential.go @@ -135,9 +135,6 @@ func (c *Client) addOperationResetServiceSpecificCredentialMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResetServiceSpecificCredentialValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_ResyncMFADevice.go b/service/iam/api_op_ResyncMFADevice.go index d3d0d6518ee..d9616307e87 100644 --- a/service/iam/api_op_ResyncMFADevice.go +++ b/service/iam/api_op_ResyncMFADevice.go @@ -144,9 +144,6 @@ func (c *Client) addOperationResyncMFADeviceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResyncMFADeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_SetDefaultPolicyVersion.go b/service/iam/api_op_SetDefaultPolicyVersion.go index 741b0fd4857..408879a997f 100644 --- a/service/iam/api_op_SetDefaultPolicyVersion.go +++ b/service/iam/api_op_SetDefaultPolicyVersion.go @@ -130,9 +130,6 @@ func (c *Client) addOperationSetDefaultPolicyVersionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetDefaultPolicyVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_SetSecurityTokenServicePreferences.go b/service/iam/api_op_SetSecurityTokenServicePreferences.go index 9a8ea6b5d7c..999933e8556 100644 --- a/service/iam/api_op_SetSecurityTokenServicePreferences.go +++ b/service/iam/api_op_SetSecurityTokenServicePreferences.go @@ -137,9 +137,6 @@ func (c *Client) addOperationSetSecurityTokenServicePreferencesMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetSecurityTokenServicePreferencesValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_SimulateCustomPolicy.go b/service/iam/api_op_SimulateCustomPolicy.go index 9dff863c06d..532d40f33a5 100644 --- a/service/iam/api_op_SimulateCustomPolicy.go +++ b/service/iam/api_op_SimulateCustomPolicy.go @@ -343,9 +343,6 @@ func (c *Client) addOperationSimulateCustomPolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSimulateCustomPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_SimulatePrincipalPolicy.go b/service/iam/api_op_SimulatePrincipalPolicy.go index c9177fa050a..13b95b4ef2a 100644 --- a/service/iam/api_op_SimulatePrincipalPolicy.go +++ b/service/iam/api_op_SimulatePrincipalPolicy.go @@ -368,9 +368,6 @@ func (c *Client) addOperationSimulatePrincipalPolicyMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSimulatePrincipalPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_TagInstanceProfile.go b/service/iam/api_op_TagInstanceProfile.go index b906d565ad0..9eded37ac45 100644 --- a/service/iam/api_op_TagInstanceProfile.go +++ b/service/iam/api_op_TagInstanceProfile.go @@ -145,9 +145,6 @@ func (c *Client) addOperationTagInstanceProfileMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagInstanceProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_TagMFADevice.go b/service/iam/api_op_TagMFADevice.go index ec596e11326..44ce7fea13f 100644 --- a/service/iam/api_op_TagMFADevice.go +++ b/service/iam/api_op_TagMFADevice.go @@ -147,9 +147,6 @@ func (c *Client) addOperationTagMFADeviceMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagMFADeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_TagOpenIDConnectProvider.go b/service/iam/api_op_TagOpenIDConnectProvider.go index 99cb32fa625..15f7a20af4d 100644 --- a/service/iam/api_op_TagOpenIDConnectProvider.go +++ b/service/iam/api_op_TagOpenIDConnectProvider.go @@ -147,9 +147,6 @@ func (c *Client) addOperationTagOpenIDConnectProviderMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagOpenIDConnectProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_TagPolicy.go b/service/iam/api_op_TagPolicy.go index 24a70dc2429..3b13ad9a62d 100644 --- a/service/iam/api_op_TagPolicy.go +++ b/service/iam/api_op_TagPolicy.go @@ -145,9 +145,6 @@ func (c *Client) addOperationTagPolicyMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_TagRole.go b/service/iam/api_op_TagRole.go index 5d996151888..fc89f5ad35d 100644 --- a/service/iam/api_op_TagRole.go +++ b/service/iam/api_op_TagRole.go @@ -153,9 +153,6 @@ func (c *Client) addOperationTagRoleMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagRoleValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_TagSAMLProvider.go b/service/iam/api_op_TagSAMLProvider.go index 75d4316b088..fd16e6898f7 100644 --- a/service/iam/api_op_TagSAMLProvider.go +++ b/service/iam/api_op_TagSAMLProvider.go @@ -147,9 +147,6 @@ func (c *Client) addOperationTagSAMLProviderMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagSAMLProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_TagServerCertificate.go b/service/iam/api_op_TagServerCertificate.go index 69e4a20e142..9b993e46ae4 100644 --- a/service/iam/api_op_TagServerCertificate.go +++ b/service/iam/api_op_TagServerCertificate.go @@ -154,9 +154,6 @@ func (c *Client) addOperationTagServerCertificateMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagServerCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_TagUser.go b/service/iam/api_op_TagUser.go index b2d3080640f..6f99ac6a52d 100644 --- a/service/iam/api_op_TagUser.go +++ b/service/iam/api_op_TagUser.go @@ -152,9 +152,6 @@ func (c *Client) addOperationTagUserMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UntagInstanceProfile.go b/service/iam/api_op_UntagInstanceProfile.go index acfd9d361ea..947da742dff 100644 --- a/service/iam/api_op_UntagInstanceProfile.go +++ b/service/iam/api_op_UntagInstanceProfile.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUntagInstanceProfileMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagInstanceProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UntagMFADevice.go b/service/iam/api_op_UntagMFADevice.go index c271a3d5f97..5bdfcf47274 100644 --- a/service/iam/api_op_UntagMFADevice.go +++ b/service/iam/api_op_UntagMFADevice.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUntagMFADeviceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagMFADeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UntagOpenIDConnectProvider.go b/service/iam/api_op_UntagOpenIDConnectProvider.go index bb46921326d..66d67cbee8c 100644 --- a/service/iam/api_op_UntagOpenIDConnectProvider.go +++ b/service/iam/api_op_UntagOpenIDConnectProvider.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUntagOpenIDConnectProviderMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagOpenIDConnectProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UntagPolicy.go b/service/iam/api_op_UntagPolicy.go index d4a53c073cc..9197933cc73 100644 --- a/service/iam/api_op_UntagPolicy.go +++ b/service/iam/api_op_UntagPolicy.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUntagPolicyMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UntagRole.go b/service/iam/api_op_UntagRole.go index e71d8bdfe4a..3d5a54aa7dd 100644 --- a/service/iam/api_op_UntagRole.go +++ b/service/iam/api_op_UntagRole.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUntagRoleMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagRoleValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UntagSAMLProvider.go b/service/iam/api_op_UntagSAMLProvider.go index 33ab3df2b06..bc82fa51d90 100644 --- a/service/iam/api_op_UntagSAMLProvider.go +++ b/service/iam/api_op_UntagSAMLProvider.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUntagSAMLProviderMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagSAMLProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UntagServerCertificate.go b/service/iam/api_op_UntagServerCertificate.go index 00201bd5e73..49070c83059 100644 --- a/service/iam/api_op_UntagServerCertificate.go +++ b/service/iam/api_op_UntagServerCertificate.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUntagServerCertificateMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagServerCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UntagUser.go b/service/iam/api_op_UntagUser.go index 1d5096e3be8..24d47ca6d53 100644 --- a/service/iam/api_op_UntagUser.go +++ b/service/iam/api_op_UntagUser.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUntagUserMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UpdateAccessKey.go b/service/iam/api_op_UpdateAccessKey.go index a657096b003..9b4ce807cd4 100644 --- a/service/iam/api_op_UpdateAccessKey.go +++ b/service/iam/api_op_UpdateAccessKey.go @@ -143,9 +143,6 @@ func (c *Client) addOperationUpdateAccessKeyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAccessKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UpdateAccountPasswordPolicy.go b/service/iam/api_op_UpdateAccountPasswordPolicy.go index e248107d1c9..d501b71c3a5 100644 --- a/service/iam/api_op_UpdateAccountPasswordPolicy.go +++ b/service/iam/api_op_UpdateAccountPasswordPolicy.go @@ -196,9 +196,6 @@ func (c *Client) addOperationUpdateAccountPasswordPolicyMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAccountPasswordPolicy(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iam/api_op_UpdateAssumeRolePolicy.go b/service/iam/api_op_UpdateAssumeRolePolicy.go index b41e4f143d0..26fe6cd3e5d 100644 --- a/service/iam/api_op_UpdateAssumeRolePolicy.go +++ b/service/iam/api_op_UpdateAssumeRolePolicy.go @@ -141,9 +141,6 @@ func (c *Client) addOperationUpdateAssumeRolePolicyMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAssumeRolePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UpdateGroup.go b/service/iam/api_op_UpdateGroup.go index cad2c235bc7..c11cf78ab7b 100644 --- a/service/iam/api_op_UpdateGroup.go +++ b/service/iam/api_op_UpdateGroup.go @@ -145,9 +145,6 @@ func (c *Client) addOperationUpdateGroupMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UpdateLoginProfile.go b/service/iam/api_op_UpdateLoginProfile.go index 3a3c742636d..b2de7ba0f9f 100644 --- a/service/iam/api_op_UpdateLoginProfile.go +++ b/service/iam/api_op_UpdateLoginProfile.go @@ -145,9 +145,6 @@ func (c *Client) addOperationUpdateLoginProfileMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLoginProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UpdateOpenIDConnectProviderThumbprint.go b/service/iam/api_op_UpdateOpenIDConnectProviderThumbprint.go index abb2972ea5b..b8087b02ec5 100644 --- a/service/iam/api_op_UpdateOpenIDConnectProviderThumbprint.go +++ b/service/iam/api_op_UpdateOpenIDConnectProviderThumbprint.go @@ -139,9 +139,6 @@ func (c *Client) addOperationUpdateOpenIDConnectProviderThumbprintMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateOpenIDConnectProviderThumbprintValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UpdateRole.go b/service/iam/api_op_UpdateRole.go index f14f43e9478..85c5ee1c1ac 100644 --- a/service/iam/api_op_UpdateRole.go +++ b/service/iam/api_op_UpdateRole.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateRoleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRoleValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UpdateRoleDescription.go b/service/iam/api_op_UpdateRoleDescription.go index c294734a023..9837bbc81fc 100644 --- a/service/iam/api_op_UpdateRoleDescription.go +++ b/service/iam/api_op_UpdateRoleDescription.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdateRoleDescriptionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRoleDescriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UpdateSAMLProvider.go b/service/iam/api_op_UpdateSAMLProvider.go index 12abbb29a90..3598faf8650 100644 --- a/service/iam/api_op_UpdateSAMLProvider.go +++ b/service/iam/api_op_UpdateSAMLProvider.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateSAMLProviderMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSAMLProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UpdateSSHPublicKey.go b/service/iam/api_op_UpdateSSHPublicKey.go index 64c6bbbc063..0523f336167 100644 --- a/service/iam/api_op_UpdateSSHPublicKey.go +++ b/service/iam/api_op_UpdateSSHPublicKey.go @@ -141,9 +141,6 @@ func (c *Client) addOperationUpdateSSHPublicKeyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSSHPublicKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UpdateServerCertificate.go b/service/iam/api_op_UpdateServerCertificate.go index 7cb0c9b6947..5d4b55fcb71 100644 --- a/service/iam/api_op_UpdateServerCertificate.go +++ b/service/iam/api_op_UpdateServerCertificate.go @@ -156,9 +156,6 @@ func (c *Client) addOperationUpdateServerCertificateMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateServerCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UpdateServiceSpecificCredential.go b/service/iam/api_op_UpdateServiceSpecificCredential.go index d7c5673c96f..dfafeebe14e 100644 --- a/service/iam/api_op_UpdateServiceSpecificCredential.go +++ b/service/iam/api_op_UpdateServiceSpecificCredential.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdateServiceSpecificCredentialMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateServiceSpecificCredentialValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UpdateSigningCertificate.go b/service/iam/api_op_UpdateSigningCertificate.go index 82908cf5b7e..5019ce6ba3e 100644 --- a/service/iam/api_op_UpdateSigningCertificate.go +++ b/service/iam/api_op_UpdateSigningCertificate.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateSigningCertificateMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSigningCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UpdateUser.go b/service/iam/api_op_UpdateUser.go index 5a32a7084c0..2c59d59ee68 100644 --- a/service/iam/api_op_UpdateUser.go +++ b/service/iam/api_op_UpdateUser.go @@ -146,9 +146,6 @@ func (c *Client) addOperationUpdateUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UploadSSHPublicKey.go b/service/iam/api_op_UploadSSHPublicKey.go index d2ac7e229ea..478275081cc 100644 --- a/service/iam/api_op_UploadSSHPublicKey.go +++ b/service/iam/api_op_UploadSSHPublicKey.go @@ -147,9 +147,6 @@ func (c *Client) addOperationUploadSSHPublicKeyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUploadSSHPublicKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UploadServerCertificate.go b/service/iam/api_op_UploadServerCertificate.go index 7cab7e66b7c..ea45b9525a6 100644 --- a/service/iam/api_op_UploadServerCertificate.go +++ b/service/iam/api_op_UploadServerCertificate.go @@ -242,9 +242,6 @@ func (c *Client) addOperationUploadServerCertificateMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUploadServerCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/api_op_UploadSigningCertificate.go b/service/iam/api_op_UploadSigningCertificate.go index 213037e9f3e..a22a48f8331 100644 --- a/service/iam/api_op_UploadSigningCertificate.go +++ b/service/iam/api_op_UploadSigningCertificate.go @@ -161,9 +161,6 @@ func (c *Client) addOperationUploadSigningCertificateMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUploadSigningCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iam/snapshot/api_op_AddClientIDToOpenIDConnectProvider.go.snap b/service/iam/snapshot/api_op_AddClientIDToOpenIDConnectProvider.go.snap index 1fe497777f8..eafa087b479 100644 --- a/service/iam/snapshot/api_op_AddClientIDToOpenIDConnectProvider.go.snap +++ b/service/iam/snapshot/api_op_AddClientIDToOpenIDConnectProvider.go.snap @@ -14,7 +14,6 @@ AddClientIDToOpenIDConnectProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_AddRoleToInstanceProfile.go.snap b/service/iam/snapshot/api_op_AddRoleToInstanceProfile.go.snap index 05b0fd1eb99..387624203dc 100644 --- a/service/iam/snapshot/api_op_AddRoleToInstanceProfile.go.snap +++ b/service/iam/snapshot/api_op_AddRoleToInstanceProfile.go.snap @@ -14,7 +14,6 @@ AddRoleToInstanceProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_AddUserToGroup.go.snap b/service/iam/snapshot/api_op_AddUserToGroup.go.snap index 9ca18cd7e2e..368b424d4ac 100644 --- a/service/iam/snapshot/api_op_AddUserToGroup.go.snap +++ b/service/iam/snapshot/api_op_AddUserToGroup.go.snap @@ -14,7 +14,6 @@ AddUserToGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_AttachGroupPolicy.go.snap b/service/iam/snapshot/api_op_AttachGroupPolicy.go.snap index 13730e7fc20..66b45966bbb 100644 --- a/service/iam/snapshot/api_op_AttachGroupPolicy.go.snap +++ b/service/iam/snapshot/api_op_AttachGroupPolicy.go.snap @@ -14,7 +14,6 @@ AttachGroupPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_AttachRolePolicy.go.snap b/service/iam/snapshot/api_op_AttachRolePolicy.go.snap index fee7fef9dfd..fcdc9b99a78 100644 --- a/service/iam/snapshot/api_op_AttachRolePolicy.go.snap +++ b/service/iam/snapshot/api_op_AttachRolePolicy.go.snap @@ -14,7 +14,6 @@ AttachRolePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_AttachUserPolicy.go.snap b/service/iam/snapshot/api_op_AttachUserPolicy.go.snap index 650ed69ba3c..76ff1d135e9 100644 --- a/service/iam/snapshot/api_op_AttachUserPolicy.go.snap +++ b/service/iam/snapshot/api_op_AttachUserPolicy.go.snap @@ -14,7 +14,6 @@ AttachUserPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ChangePassword.go.snap b/service/iam/snapshot/api_op_ChangePassword.go.snap index 6f36892e28f..d0126850d14 100644 --- a/service/iam/snapshot/api_op_ChangePassword.go.snap +++ b/service/iam/snapshot/api_op_ChangePassword.go.snap @@ -14,7 +14,6 @@ ChangePassword Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_CreateAccessKey.go.snap b/service/iam/snapshot/api_op_CreateAccessKey.go.snap index 89ebe9478f8..e27c5b8a2db 100644 --- a/service/iam/snapshot/api_op_CreateAccessKey.go.snap +++ b/service/iam/snapshot/api_op_CreateAccessKey.go.snap @@ -13,7 +13,6 @@ CreateAccessKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_CreateAccountAlias.go.snap b/service/iam/snapshot/api_op_CreateAccountAlias.go.snap index 6948f014803..b78bc72c6e2 100644 --- a/service/iam/snapshot/api_op_CreateAccountAlias.go.snap +++ b/service/iam/snapshot/api_op_CreateAccountAlias.go.snap @@ -14,7 +14,6 @@ CreateAccountAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_CreateGroup.go.snap b/service/iam/snapshot/api_op_CreateGroup.go.snap index f017be256c7..f4adf31ac79 100644 --- a/service/iam/snapshot/api_op_CreateGroup.go.snap +++ b/service/iam/snapshot/api_op_CreateGroup.go.snap @@ -14,7 +14,6 @@ CreateGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_CreateInstanceProfile.go.snap b/service/iam/snapshot/api_op_CreateInstanceProfile.go.snap index 819432cb0a3..6c206bf9925 100644 --- a/service/iam/snapshot/api_op_CreateInstanceProfile.go.snap +++ b/service/iam/snapshot/api_op_CreateInstanceProfile.go.snap @@ -14,7 +14,6 @@ CreateInstanceProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_CreateLoginProfile.go.snap b/service/iam/snapshot/api_op_CreateLoginProfile.go.snap index ad0ed260772..e781cc783fb 100644 --- a/service/iam/snapshot/api_op_CreateLoginProfile.go.snap +++ b/service/iam/snapshot/api_op_CreateLoginProfile.go.snap @@ -13,7 +13,6 @@ CreateLoginProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_CreateOpenIDConnectProvider.go.snap b/service/iam/snapshot/api_op_CreateOpenIDConnectProvider.go.snap index 33d791c1b65..b0e47b68cfe 100644 --- a/service/iam/snapshot/api_op_CreateOpenIDConnectProvider.go.snap +++ b/service/iam/snapshot/api_op_CreateOpenIDConnectProvider.go.snap @@ -14,7 +14,6 @@ CreateOpenIDConnectProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_CreatePolicy.go.snap b/service/iam/snapshot/api_op_CreatePolicy.go.snap index f230aad3a35..332e7f13792 100644 --- a/service/iam/snapshot/api_op_CreatePolicy.go.snap +++ b/service/iam/snapshot/api_op_CreatePolicy.go.snap @@ -14,7 +14,6 @@ CreatePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_CreatePolicyVersion.go.snap b/service/iam/snapshot/api_op_CreatePolicyVersion.go.snap index c136fb83368..c9e5e0b8153 100644 --- a/service/iam/snapshot/api_op_CreatePolicyVersion.go.snap +++ b/service/iam/snapshot/api_op_CreatePolicyVersion.go.snap @@ -14,7 +14,6 @@ CreatePolicyVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_CreateRole.go.snap b/service/iam/snapshot/api_op_CreateRole.go.snap index d31a4c30e25..43dd1fafbfe 100644 --- a/service/iam/snapshot/api_op_CreateRole.go.snap +++ b/service/iam/snapshot/api_op_CreateRole.go.snap @@ -14,7 +14,6 @@ CreateRole Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_CreateSAMLProvider.go.snap b/service/iam/snapshot/api_op_CreateSAMLProvider.go.snap index bc8586a8f74..d26c8fa65f6 100644 --- a/service/iam/snapshot/api_op_CreateSAMLProvider.go.snap +++ b/service/iam/snapshot/api_op_CreateSAMLProvider.go.snap @@ -14,7 +14,6 @@ CreateSAMLProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_CreateServiceLinkedRole.go.snap b/service/iam/snapshot/api_op_CreateServiceLinkedRole.go.snap index 7a3b5e9a5e8..86e07a13b59 100644 --- a/service/iam/snapshot/api_op_CreateServiceLinkedRole.go.snap +++ b/service/iam/snapshot/api_op_CreateServiceLinkedRole.go.snap @@ -14,7 +14,6 @@ CreateServiceLinkedRole Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_CreateServiceSpecificCredential.go.snap b/service/iam/snapshot/api_op_CreateServiceSpecificCredential.go.snap index 7dbb94e35f5..8b2871e3501 100644 --- a/service/iam/snapshot/api_op_CreateServiceSpecificCredential.go.snap +++ b/service/iam/snapshot/api_op_CreateServiceSpecificCredential.go.snap @@ -14,7 +14,6 @@ CreateServiceSpecificCredential Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_CreateUser.go.snap b/service/iam/snapshot/api_op_CreateUser.go.snap index bfcfbd2c853..d278c15935b 100644 --- a/service/iam/snapshot/api_op_CreateUser.go.snap +++ b/service/iam/snapshot/api_op_CreateUser.go.snap @@ -14,7 +14,6 @@ CreateUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_CreateVirtualMFADevice.go.snap b/service/iam/snapshot/api_op_CreateVirtualMFADevice.go.snap index 6a832a87492..47de038b139 100644 --- a/service/iam/snapshot/api_op_CreateVirtualMFADevice.go.snap +++ b/service/iam/snapshot/api_op_CreateVirtualMFADevice.go.snap @@ -14,7 +14,6 @@ CreateVirtualMFADevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_DeactivateMFADevice.go.snap b/service/iam/snapshot/api_op_DeactivateMFADevice.go.snap index 1ef73685c2c..a35855ea63d 100644 --- a/service/iam/snapshot/api_op_DeactivateMFADevice.go.snap +++ b/service/iam/snapshot/api_op_DeactivateMFADevice.go.snap @@ -14,7 +14,6 @@ DeactivateMFADevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_DeleteAccessKey.go.snap b/service/iam/snapshot/api_op_DeleteAccessKey.go.snap index 5f7f588b42b..22ae4f11678 100644 --- a/service/iam/snapshot/api_op_DeleteAccessKey.go.snap +++ b/service/iam/snapshot/api_op_DeleteAccessKey.go.snap @@ -14,7 +14,6 @@ DeleteAccessKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_DeleteAccountAlias.go.snap b/service/iam/snapshot/api_op_DeleteAccountAlias.go.snap index d9dd9f1611b..3110fd9dafd 100644 --- a/service/iam/snapshot/api_op_DeleteAccountAlias.go.snap +++ b/service/iam/snapshot/api_op_DeleteAccountAlias.go.snap @@ -14,7 +14,6 @@ DeleteAccountAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_DeleteAccountPasswordPolicy.go.snap b/service/iam/snapshot/api_op_DeleteAccountPasswordPolicy.go.snap index 0989ea66015..1e66842f1cd 100644 --- a/service/iam/snapshot/api_op_DeleteAccountPasswordPolicy.go.snap +++ b/service/iam/snapshot/api_op_DeleteAccountPasswordPolicy.go.snap @@ -13,7 +13,6 @@ DeleteAccountPasswordPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_DeleteGroup.go.snap b/service/iam/snapshot/api_op_DeleteGroup.go.snap index fa762a3a297..9a74537ddc0 100644 --- a/service/iam/snapshot/api_op_DeleteGroup.go.snap +++ b/service/iam/snapshot/api_op_DeleteGroup.go.snap @@ -14,7 +14,6 @@ DeleteGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_DeleteGroupPolicy.go.snap b/service/iam/snapshot/api_op_DeleteGroupPolicy.go.snap index 6b28d010d73..6a2d153cf5c 100644 --- a/service/iam/snapshot/api_op_DeleteGroupPolicy.go.snap +++ b/service/iam/snapshot/api_op_DeleteGroupPolicy.go.snap @@ -14,7 +14,6 @@ DeleteGroupPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_DeleteInstanceProfile.go.snap b/service/iam/snapshot/api_op_DeleteInstanceProfile.go.snap index 7825ac3ab67..4e45282f93d 100644 --- a/service/iam/snapshot/api_op_DeleteInstanceProfile.go.snap +++ b/service/iam/snapshot/api_op_DeleteInstanceProfile.go.snap @@ -14,7 +14,6 @@ DeleteInstanceProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_DeleteLoginProfile.go.snap b/service/iam/snapshot/api_op_DeleteLoginProfile.go.snap index 4835009c06d..5ab9e4bf196 100644 --- a/service/iam/snapshot/api_op_DeleteLoginProfile.go.snap +++ b/service/iam/snapshot/api_op_DeleteLoginProfile.go.snap @@ -13,7 +13,6 @@ DeleteLoginProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_DeleteOpenIDConnectProvider.go.snap b/service/iam/snapshot/api_op_DeleteOpenIDConnectProvider.go.snap index 24d0dd97794..5aa12a16ddd 100644 --- a/service/iam/snapshot/api_op_DeleteOpenIDConnectProvider.go.snap +++ b/service/iam/snapshot/api_op_DeleteOpenIDConnectProvider.go.snap @@ -14,7 +14,6 @@ DeleteOpenIDConnectProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_DeletePolicy.go.snap b/service/iam/snapshot/api_op_DeletePolicy.go.snap index 82f0492a4e2..cf5ab0d043a 100644 --- a/service/iam/snapshot/api_op_DeletePolicy.go.snap +++ b/service/iam/snapshot/api_op_DeletePolicy.go.snap @@ -14,7 +14,6 @@ DeletePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_DeletePolicyVersion.go.snap b/service/iam/snapshot/api_op_DeletePolicyVersion.go.snap index 2a396c88ff4..9e0c7058125 100644 --- a/service/iam/snapshot/api_op_DeletePolicyVersion.go.snap +++ b/service/iam/snapshot/api_op_DeletePolicyVersion.go.snap @@ -14,7 +14,6 @@ DeletePolicyVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_DeleteRole.go.snap b/service/iam/snapshot/api_op_DeleteRole.go.snap index f91d3e700db..6513c4299dd 100644 --- a/service/iam/snapshot/api_op_DeleteRole.go.snap +++ b/service/iam/snapshot/api_op_DeleteRole.go.snap @@ -14,7 +14,6 @@ DeleteRole Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_DeleteRolePermissionsBoundary.go.snap b/service/iam/snapshot/api_op_DeleteRolePermissionsBoundary.go.snap index b88c9d88bd5..98a2b1731fd 100644 --- a/service/iam/snapshot/api_op_DeleteRolePermissionsBoundary.go.snap +++ b/service/iam/snapshot/api_op_DeleteRolePermissionsBoundary.go.snap @@ -14,7 +14,6 @@ DeleteRolePermissionsBoundary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_DeleteRolePolicy.go.snap b/service/iam/snapshot/api_op_DeleteRolePolicy.go.snap index 79a1780e70b..8d847535c87 100644 --- a/service/iam/snapshot/api_op_DeleteRolePolicy.go.snap +++ b/service/iam/snapshot/api_op_DeleteRolePolicy.go.snap @@ -14,7 +14,6 @@ DeleteRolePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_DeleteSAMLProvider.go.snap b/service/iam/snapshot/api_op_DeleteSAMLProvider.go.snap index 19412047a07..5c2989c4f2c 100644 --- a/service/iam/snapshot/api_op_DeleteSAMLProvider.go.snap +++ b/service/iam/snapshot/api_op_DeleteSAMLProvider.go.snap @@ -14,7 +14,6 @@ DeleteSAMLProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_DeleteSSHPublicKey.go.snap b/service/iam/snapshot/api_op_DeleteSSHPublicKey.go.snap index 34ed9021162..da2caba5a0a 100644 --- a/service/iam/snapshot/api_op_DeleteSSHPublicKey.go.snap +++ b/service/iam/snapshot/api_op_DeleteSSHPublicKey.go.snap @@ -14,7 +14,6 @@ DeleteSSHPublicKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_DeleteServerCertificate.go.snap b/service/iam/snapshot/api_op_DeleteServerCertificate.go.snap index c58515d3b35..87966fe1988 100644 --- a/service/iam/snapshot/api_op_DeleteServerCertificate.go.snap +++ b/service/iam/snapshot/api_op_DeleteServerCertificate.go.snap @@ -14,7 +14,6 @@ DeleteServerCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_DeleteServiceLinkedRole.go.snap b/service/iam/snapshot/api_op_DeleteServiceLinkedRole.go.snap index e1a68f48645..466b7f50321 100644 --- a/service/iam/snapshot/api_op_DeleteServiceLinkedRole.go.snap +++ b/service/iam/snapshot/api_op_DeleteServiceLinkedRole.go.snap @@ -14,7 +14,6 @@ DeleteServiceLinkedRole Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_DeleteServiceSpecificCredential.go.snap b/service/iam/snapshot/api_op_DeleteServiceSpecificCredential.go.snap index 16c5644add0..56738b95e7b 100644 --- a/service/iam/snapshot/api_op_DeleteServiceSpecificCredential.go.snap +++ b/service/iam/snapshot/api_op_DeleteServiceSpecificCredential.go.snap @@ -14,7 +14,6 @@ DeleteServiceSpecificCredential Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_DeleteSigningCertificate.go.snap b/service/iam/snapshot/api_op_DeleteSigningCertificate.go.snap index 3aa2aba7373..78d9cad2316 100644 --- a/service/iam/snapshot/api_op_DeleteSigningCertificate.go.snap +++ b/service/iam/snapshot/api_op_DeleteSigningCertificate.go.snap @@ -14,7 +14,6 @@ DeleteSigningCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_DeleteUser.go.snap b/service/iam/snapshot/api_op_DeleteUser.go.snap index 43834da9879..eda6e5fae30 100644 --- a/service/iam/snapshot/api_op_DeleteUser.go.snap +++ b/service/iam/snapshot/api_op_DeleteUser.go.snap @@ -14,7 +14,6 @@ DeleteUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_DeleteUserPermissionsBoundary.go.snap b/service/iam/snapshot/api_op_DeleteUserPermissionsBoundary.go.snap index 6a1250a9275..7291856ecb2 100644 --- a/service/iam/snapshot/api_op_DeleteUserPermissionsBoundary.go.snap +++ b/service/iam/snapshot/api_op_DeleteUserPermissionsBoundary.go.snap @@ -14,7 +14,6 @@ DeleteUserPermissionsBoundary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_DeleteUserPolicy.go.snap b/service/iam/snapshot/api_op_DeleteUserPolicy.go.snap index 30b8e690081..cdad217a29f 100644 --- a/service/iam/snapshot/api_op_DeleteUserPolicy.go.snap +++ b/service/iam/snapshot/api_op_DeleteUserPolicy.go.snap @@ -14,7 +14,6 @@ DeleteUserPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_DeleteVirtualMFADevice.go.snap b/service/iam/snapshot/api_op_DeleteVirtualMFADevice.go.snap index 4d1e7e6b38c..a6519f0c3cf 100644 --- a/service/iam/snapshot/api_op_DeleteVirtualMFADevice.go.snap +++ b/service/iam/snapshot/api_op_DeleteVirtualMFADevice.go.snap @@ -14,7 +14,6 @@ DeleteVirtualMFADevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_DetachGroupPolicy.go.snap b/service/iam/snapshot/api_op_DetachGroupPolicy.go.snap index 091af1517c2..6cf8fe99227 100644 --- a/service/iam/snapshot/api_op_DetachGroupPolicy.go.snap +++ b/service/iam/snapshot/api_op_DetachGroupPolicy.go.snap @@ -14,7 +14,6 @@ DetachGroupPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_DetachRolePolicy.go.snap b/service/iam/snapshot/api_op_DetachRolePolicy.go.snap index c972ca65d81..801bdc5602e 100644 --- a/service/iam/snapshot/api_op_DetachRolePolicy.go.snap +++ b/service/iam/snapshot/api_op_DetachRolePolicy.go.snap @@ -14,7 +14,6 @@ DetachRolePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_DetachUserPolicy.go.snap b/service/iam/snapshot/api_op_DetachUserPolicy.go.snap index 4533b3dc8c2..ad6b865e1a9 100644 --- a/service/iam/snapshot/api_op_DetachUserPolicy.go.snap +++ b/service/iam/snapshot/api_op_DetachUserPolicy.go.snap @@ -14,7 +14,6 @@ DetachUserPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_DisableOrganizationsRootCredentialsManagement.go.snap b/service/iam/snapshot/api_op_DisableOrganizationsRootCredentialsManagement.go.snap index f9b1de7fedf..a2f6131a254 100644 --- a/service/iam/snapshot/api_op_DisableOrganizationsRootCredentialsManagement.go.snap +++ b/service/iam/snapshot/api_op_DisableOrganizationsRootCredentialsManagement.go.snap @@ -13,7 +13,6 @@ DisableOrganizationsRootCredentialsManagement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_DisableOrganizationsRootSessions.go.snap b/service/iam/snapshot/api_op_DisableOrganizationsRootSessions.go.snap index 647e0c4fbff..89ca5463193 100644 --- a/service/iam/snapshot/api_op_DisableOrganizationsRootSessions.go.snap +++ b/service/iam/snapshot/api_op_DisableOrganizationsRootSessions.go.snap @@ -13,7 +13,6 @@ DisableOrganizationsRootSessions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_EnableMFADevice.go.snap b/service/iam/snapshot/api_op_EnableMFADevice.go.snap index a42ce8cabf1..c57e7421f07 100644 --- a/service/iam/snapshot/api_op_EnableMFADevice.go.snap +++ b/service/iam/snapshot/api_op_EnableMFADevice.go.snap @@ -14,7 +14,6 @@ EnableMFADevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_EnableOrganizationsRootCredentialsManagement.go.snap b/service/iam/snapshot/api_op_EnableOrganizationsRootCredentialsManagement.go.snap index e344ce9e56b..49c335f029f 100644 --- a/service/iam/snapshot/api_op_EnableOrganizationsRootCredentialsManagement.go.snap +++ b/service/iam/snapshot/api_op_EnableOrganizationsRootCredentialsManagement.go.snap @@ -13,7 +13,6 @@ EnableOrganizationsRootCredentialsManagement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_EnableOrganizationsRootSessions.go.snap b/service/iam/snapshot/api_op_EnableOrganizationsRootSessions.go.snap index c23fbde1a61..baf763e9926 100644 --- a/service/iam/snapshot/api_op_EnableOrganizationsRootSessions.go.snap +++ b/service/iam/snapshot/api_op_EnableOrganizationsRootSessions.go.snap @@ -13,7 +13,6 @@ EnableOrganizationsRootSessions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_GenerateCredentialReport.go.snap b/service/iam/snapshot/api_op_GenerateCredentialReport.go.snap index 61502e67ae7..7ef4015800c 100644 --- a/service/iam/snapshot/api_op_GenerateCredentialReport.go.snap +++ b/service/iam/snapshot/api_op_GenerateCredentialReport.go.snap @@ -13,7 +13,6 @@ GenerateCredentialReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_GenerateOrganizationsAccessReport.go.snap b/service/iam/snapshot/api_op_GenerateOrganizationsAccessReport.go.snap index e915d1fe193..a7c48986663 100644 --- a/service/iam/snapshot/api_op_GenerateOrganizationsAccessReport.go.snap +++ b/service/iam/snapshot/api_op_GenerateOrganizationsAccessReport.go.snap @@ -14,7 +14,6 @@ GenerateOrganizationsAccessReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_GenerateServiceLastAccessedDetails.go.snap b/service/iam/snapshot/api_op_GenerateServiceLastAccessedDetails.go.snap index 21da7a7e5ee..2ac96d0ee3e 100644 --- a/service/iam/snapshot/api_op_GenerateServiceLastAccessedDetails.go.snap +++ b/service/iam/snapshot/api_op_GenerateServiceLastAccessedDetails.go.snap @@ -14,7 +14,6 @@ GenerateServiceLastAccessedDetails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_GetAccessKeyLastUsed.go.snap b/service/iam/snapshot/api_op_GetAccessKeyLastUsed.go.snap index 31ee00e785a..d037abe639d 100644 --- a/service/iam/snapshot/api_op_GetAccessKeyLastUsed.go.snap +++ b/service/iam/snapshot/api_op_GetAccessKeyLastUsed.go.snap @@ -14,7 +14,6 @@ GetAccessKeyLastUsed Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_GetAccountAuthorizationDetails.go.snap b/service/iam/snapshot/api_op_GetAccountAuthorizationDetails.go.snap index a4cb23b8019..7f1d627cc51 100644 --- a/service/iam/snapshot/api_op_GetAccountAuthorizationDetails.go.snap +++ b/service/iam/snapshot/api_op_GetAccountAuthorizationDetails.go.snap @@ -13,7 +13,6 @@ GetAccountAuthorizationDetails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_GetAccountPasswordPolicy.go.snap b/service/iam/snapshot/api_op_GetAccountPasswordPolicy.go.snap index 472791d0c89..a8ea3a80d19 100644 --- a/service/iam/snapshot/api_op_GetAccountPasswordPolicy.go.snap +++ b/service/iam/snapshot/api_op_GetAccountPasswordPolicy.go.snap @@ -13,7 +13,6 @@ GetAccountPasswordPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_GetAccountSummary.go.snap b/service/iam/snapshot/api_op_GetAccountSummary.go.snap index 2c8027eb2ef..68cb9ad8f11 100644 --- a/service/iam/snapshot/api_op_GetAccountSummary.go.snap +++ b/service/iam/snapshot/api_op_GetAccountSummary.go.snap @@ -13,7 +13,6 @@ GetAccountSummary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_GetContextKeysForCustomPolicy.go.snap b/service/iam/snapshot/api_op_GetContextKeysForCustomPolicy.go.snap index 9547244d4ea..4860395a6a5 100644 --- a/service/iam/snapshot/api_op_GetContextKeysForCustomPolicy.go.snap +++ b/service/iam/snapshot/api_op_GetContextKeysForCustomPolicy.go.snap @@ -14,7 +14,6 @@ GetContextKeysForCustomPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_GetContextKeysForPrincipalPolicy.go.snap b/service/iam/snapshot/api_op_GetContextKeysForPrincipalPolicy.go.snap index 0f75220af4b..be7298bf307 100644 --- a/service/iam/snapshot/api_op_GetContextKeysForPrincipalPolicy.go.snap +++ b/service/iam/snapshot/api_op_GetContextKeysForPrincipalPolicy.go.snap @@ -14,7 +14,6 @@ GetContextKeysForPrincipalPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_GetCredentialReport.go.snap b/service/iam/snapshot/api_op_GetCredentialReport.go.snap index c2677f3d131..dfc9bf74e83 100644 --- a/service/iam/snapshot/api_op_GetCredentialReport.go.snap +++ b/service/iam/snapshot/api_op_GetCredentialReport.go.snap @@ -13,7 +13,6 @@ GetCredentialReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_GetGroup.go.snap b/service/iam/snapshot/api_op_GetGroup.go.snap index 25747cefc39..078a0814033 100644 --- a/service/iam/snapshot/api_op_GetGroup.go.snap +++ b/service/iam/snapshot/api_op_GetGroup.go.snap @@ -14,7 +14,6 @@ GetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_GetGroupPolicy.go.snap b/service/iam/snapshot/api_op_GetGroupPolicy.go.snap index 7cc0ef42f1a..9f52b851226 100644 --- a/service/iam/snapshot/api_op_GetGroupPolicy.go.snap +++ b/service/iam/snapshot/api_op_GetGroupPolicy.go.snap @@ -14,7 +14,6 @@ GetGroupPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_GetInstanceProfile.go.snap b/service/iam/snapshot/api_op_GetInstanceProfile.go.snap index 4a02411c063..735dece7d75 100644 --- a/service/iam/snapshot/api_op_GetInstanceProfile.go.snap +++ b/service/iam/snapshot/api_op_GetInstanceProfile.go.snap @@ -14,7 +14,6 @@ GetInstanceProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_GetLoginProfile.go.snap b/service/iam/snapshot/api_op_GetLoginProfile.go.snap index 0648340ba6e..fb67ed5c7d7 100644 --- a/service/iam/snapshot/api_op_GetLoginProfile.go.snap +++ b/service/iam/snapshot/api_op_GetLoginProfile.go.snap @@ -13,7 +13,6 @@ GetLoginProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_GetMFADevice.go.snap b/service/iam/snapshot/api_op_GetMFADevice.go.snap index 86c0bde2222..84ebf2bab40 100644 --- a/service/iam/snapshot/api_op_GetMFADevice.go.snap +++ b/service/iam/snapshot/api_op_GetMFADevice.go.snap @@ -14,7 +14,6 @@ GetMFADevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_GetOpenIDConnectProvider.go.snap b/service/iam/snapshot/api_op_GetOpenIDConnectProvider.go.snap index 793e7079f43..48687b9f57f 100644 --- a/service/iam/snapshot/api_op_GetOpenIDConnectProvider.go.snap +++ b/service/iam/snapshot/api_op_GetOpenIDConnectProvider.go.snap @@ -14,7 +14,6 @@ GetOpenIDConnectProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_GetOrganizationsAccessReport.go.snap b/service/iam/snapshot/api_op_GetOrganizationsAccessReport.go.snap index df16326b5fc..56c84dfe34f 100644 --- a/service/iam/snapshot/api_op_GetOrganizationsAccessReport.go.snap +++ b/service/iam/snapshot/api_op_GetOrganizationsAccessReport.go.snap @@ -14,7 +14,6 @@ GetOrganizationsAccessReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_GetPolicy.go.snap b/service/iam/snapshot/api_op_GetPolicy.go.snap index dc1a8d53693..1a5ac50a868 100644 --- a/service/iam/snapshot/api_op_GetPolicy.go.snap +++ b/service/iam/snapshot/api_op_GetPolicy.go.snap @@ -14,7 +14,6 @@ GetPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_GetPolicyVersion.go.snap b/service/iam/snapshot/api_op_GetPolicyVersion.go.snap index 96752e02173..a6cda264417 100644 --- a/service/iam/snapshot/api_op_GetPolicyVersion.go.snap +++ b/service/iam/snapshot/api_op_GetPolicyVersion.go.snap @@ -14,7 +14,6 @@ GetPolicyVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_GetRole.go.snap b/service/iam/snapshot/api_op_GetRole.go.snap index b8704f355c4..0c26e7a61f3 100644 --- a/service/iam/snapshot/api_op_GetRole.go.snap +++ b/service/iam/snapshot/api_op_GetRole.go.snap @@ -14,7 +14,6 @@ GetRole Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_GetRolePolicy.go.snap b/service/iam/snapshot/api_op_GetRolePolicy.go.snap index b0983502c74..1da684de347 100644 --- a/service/iam/snapshot/api_op_GetRolePolicy.go.snap +++ b/service/iam/snapshot/api_op_GetRolePolicy.go.snap @@ -14,7 +14,6 @@ GetRolePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_GetSAMLProvider.go.snap b/service/iam/snapshot/api_op_GetSAMLProvider.go.snap index e8e89b0bcbf..1d9bda7e136 100644 --- a/service/iam/snapshot/api_op_GetSAMLProvider.go.snap +++ b/service/iam/snapshot/api_op_GetSAMLProvider.go.snap @@ -14,7 +14,6 @@ GetSAMLProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_GetSSHPublicKey.go.snap b/service/iam/snapshot/api_op_GetSSHPublicKey.go.snap index f8e58734aad..527d190a64c 100644 --- a/service/iam/snapshot/api_op_GetSSHPublicKey.go.snap +++ b/service/iam/snapshot/api_op_GetSSHPublicKey.go.snap @@ -14,7 +14,6 @@ GetSSHPublicKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_GetServerCertificate.go.snap b/service/iam/snapshot/api_op_GetServerCertificate.go.snap index b1b1fbee80b..5fa5dd052bf 100644 --- a/service/iam/snapshot/api_op_GetServerCertificate.go.snap +++ b/service/iam/snapshot/api_op_GetServerCertificate.go.snap @@ -14,7 +14,6 @@ GetServerCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_GetServiceLastAccessedDetails.go.snap b/service/iam/snapshot/api_op_GetServiceLastAccessedDetails.go.snap index 3366afe40e6..47390770fa6 100644 --- a/service/iam/snapshot/api_op_GetServiceLastAccessedDetails.go.snap +++ b/service/iam/snapshot/api_op_GetServiceLastAccessedDetails.go.snap @@ -14,7 +14,6 @@ GetServiceLastAccessedDetails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_GetServiceLastAccessedDetailsWithEntities.go.snap b/service/iam/snapshot/api_op_GetServiceLastAccessedDetailsWithEntities.go.snap index 8846f2cd762..7063b1c7eee 100644 --- a/service/iam/snapshot/api_op_GetServiceLastAccessedDetailsWithEntities.go.snap +++ b/service/iam/snapshot/api_op_GetServiceLastAccessedDetailsWithEntities.go.snap @@ -14,7 +14,6 @@ GetServiceLastAccessedDetailsWithEntities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_GetServiceLinkedRoleDeletionStatus.go.snap b/service/iam/snapshot/api_op_GetServiceLinkedRoleDeletionStatus.go.snap index 930742b0927..c9dd92df11a 100644 --- a/service/iam/snapshot/api_op_GetServiceLinkedRoleDeletionStatus.go.snap +++ b/service/iam/snapshot/api_op_GetServiceLinkedRoleDeletionStatus.go.snap @@ -14,7 +14,6 @@ GetServiceLinkedRoleDeletionStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_GetUser.go.snap b/service/iam/snapshot/api_op_GetUser.go.snap index f7a9298d55d..7024d96e0ba 100644 --- a/service/iam/snapshot/api_op_GetUser.go.snap +++ b/service/iam/snapshot/api_op_GetUser.go.snap @@ -13,7 +13,6 @@ GetUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_GetUserPolicy.go.snap b/service/iam/snapshot/api_op_GetUserPolicy.go.snap index 9977918fff1..c7c58492f73 100644 --- a/service/iam/snapshot/api_op_GetUserPolicy.go.snap +++ b/service/iam/snapshot/api_op_GetUserPolicy.go.snap @@ -14,7 +14,6 @@ GetUserPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListAccessKeys.go.snap b/service/iam/snapshot/api_op_ListAccessKeys.go.snap index 16ee49c623f..f360d758e9e 100644 --- a/service/iam/snapshot/api_op_ListAccessKeys.go.snap +++ b/service/iam/snapshot/api_op_ListAccessKeys.go.snap @@ -13,7 +13,6 @@ ListAccessKeys Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListAccountAliases.go.snap b/service/iam/snapshot/api_op_ListAccountAliases.go.snap index c3dce1e3746..19d067d9241 100644 --- a/service/iam/snapshot/api_op_ListAccountAliases.go.snap +++ b/service/iam/snapshot/api_op_ListAccountAliases.go.snap @@ -13,7 +13,6 @@ ListAccountAliases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListAttachedGroupPolicies.go.snap b/service/iam/snapshot/api_op_ListAttachedGroupPolicies.go.snap index 5275f8ad23f..7e7bcb079bc 100644 --- a/service/iam/snapshot/api_op_ListAttachedGroupPolicies.go.snap +++ b/service/iam/snapshot/api_op_ListAttachedGroupPolicies.go.snap @@ -14,7 +14,6 @@ ListAttachedGroupPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListAttachedRolePolicies.go.snap b/service/iam/snapshot/api_op_ListAttachedRolePolicies.go.snap index cc714d86e9f..75f7bd1af30 100644 --- a/service/iam/snapshot/api_op_ListAttachedRolePolicies.go.snap +++ b/service/iam/snapshot/api_op_ListAttachedRolePolicies.go.snap @@ -14,7 +14,6 @@ ListAttachedRolePolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListAttachedUserPolicies.go.snap b/service/iam/snapshot/api_op_ListAttachedUserPolicies.go.snap index a0a8b699d79..ba4be82496d 100644 --- a/service/iam/snapshot/api_op_ListAttachedUserPolicies.go.snap +++ b/service/iam/snapshot/api_op_ListAttachedUserPolicies.go.snap @@ -14,7 +14,6 @@ ListAttachedUserPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListEntitiesForPolicy.go.snap b/service/iam/snapshot/api_op_ListEntitiesForPolicy.go.snap index fa1e6b8814b..d2906e5bb35 100644 --- a/service/iam/snapshot/api_op_ListEntitiesForPolicy.go.snap +++ b/service/iam/snapshot/api_op_ListEntitiesForPolicy.go.snap @@ -14,7 +14,6 @@ ListEntitiesForPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListGroupPolicies.go.snap b/service/iam/snapshot/api_op_ListGroupPolicies.go.snap index 4abbed48039..9e18e0e8d68 100644 --- a/service/iam/snapshot/api_op_ListGroupPolicies.go.snap +++ b/service/iam/snapshot/api_op_ListGroupPolicies.go.snap @@ -14,7 +14,6 @@ ListGroupPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListGroups.go.snap b/service/iam/snapshot/api_op_ListGroups.go.snap index c2a7a20f677..de1d3e2658f 100644 --- a/service/iam/snapshot/api_op_ListGroups.go.snap +++ b/service/iam/snapshot/api_op_ListGroups.go.snap @@ -13,7 +13,6 @@ ListGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListGroupsForUser.go.snap b/service/iam/snapshot/api_op_ListGroupsForUser.go.snap index b8480d25b63..f207ea2dfaa 100644 --- a/service/iam/snapshot/api_op_ListGroupsForUser.go.snap +++ b/service/iam/snapshot/api_op_ListGroupsForUser.go.snap @@ -14,7 +14,6 @@ ListGroupsForUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListInstanceProfileTags.go.snap b/service/iam/snapshot/api_op_ListInstanceProfileTags.go.snap index 98a4e3425ca..59114dce2c4 100644 --- a/service/iam/snapshot/api_op_ListInstanceProfileTags.go.snap +++ b/service/iam/snapshot/api_op_ListInstanceProfileTags.go.snap @@ -14,7 +14,6 @@ ListInstanceProfileTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListInstanceProfiles.go.snap b/service/iam/snapshot/api_op_ListInstanceProfiles.go.snap index 2e04ad7dd9a..ba69f98c62d 100644 --- a/service/iam/snapshot/api_op_ListInstanceProfiles.go.snap +++ b/service/iam/snapshot/api_op_ListInstanceProfiles.go.snap @@ -13,7 +13,6 @@ ListInstanceProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListInstanceProfilesForRole.go.snap b/service/iam/snapshot/api_op_ListInstanceProfilesForRole.go.snap index 4a3f4d41804..2a7ba534e76 100644 --- a/service/iam/snapshot/api_op_ListInstanceProfilesForRole.go.snap +++ b/service/iam/snapshot/api_op_ListInstanceProfilesForRole.go.snap @@ -14,7 +14,6 @@ ListInstanceProfilesForRole Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListMFADeviceTags.go.snap b/service/iam/snapshot/api_op_ListMFADeviceTags.go.snap index 8fbf4cf6bf3..b52b4b0341b 100644 --- a/service/iam/snapshot/api_op_ListMFADeviceTags.go.snap +++ b/service/iam/snapshot/api_op_ListMFADeviceTags.go.snap @@ -14,7 +14,6 @@ ListMFADeviceTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListMFADevices.go.snap b/service/iam/snapshot/api_op_ListMFADevices.go.snap index 88fb0a57a86..485e0ab8a01 100644 --- a/service/iam/snapshot/api_op_ListMFADevices.go.snap +++ b/service/iam/snapshot/api_op_ListMFADevices.go.snap @@ -13,7 +13,6 @@ ListMFADevices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListOpenIDConnectProviderTags.go.snap b/service/iam/snapshot/api_op_ListOpenIDConnectProviderTags.go.snap index 4ddb69103c3..42e145bf28c 100644 --- a/service/iam/snapshot/api_op_ListOpenIDConnectProviderTags.go.snap +++ b/service/iam/snapshot/api_op_ListOpenIDConnectProviderTags.go.snap @@ -14,7 +14,6 @@ ListOpenIDConnectProviderTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListOpenIDConnectProviders.go.snap b/service/iam/snapshot/api_op_ListOpenIDConnectProviders.go.snap index bb22178c79e..62d0aa44609 100644 --- a/service/iam/snapshot/api_op_ListOpenIDConnectProviders.go.snap +++ b/service/iam/snapshot/api_op_ListOpenIDConnectProviders.go.snap @@ -13,7 +13,6 @@ ListOpenIDConnectProviders Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListOrganizationsFeatures.go.snap b/service/iam/snapshot/api_op_ListOrganizationsFeatures.go.snap index 1c7cf478879..498d9f662d5 100644 --- a/service/iam/snapshot/api_op_ListOrganizationsFeatures.go.snap +++ b/service/iam/snapshot/api_op_ListOrganizationsFeatures.go.snap @@ -13,7 +13,6 @@ ListOrganizationsFeatures Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListPolicies.go.snap b/service/iam/snapshot/api_op_ListPolicies.go.snap index 39b48762975..6e06a23ef3b 100644 --- a/service/iam/snapshot/api_op_ListPolicies.go.snap +++ b/service/iam/snapshot/api_op_ListPolicies.go.snap @@ -13,7 +13,6 @@ ListPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListPoliciesGrantingServiceAccess.go.snap b/service/iam/snapshot/api_op_ListPoliciesGrantingServiceAccess.go.snap index cb1cd8c75d3..99f94d56d42 100644 --- a/service/iam/snapshot/api_op_ListPoliciesGrantingServiceAccess.go.snap +++ b/service/iam/snapshot/api_op_ListPoliciesGrantingServiceAccess.go.snap @@ -14,7 +14,6 @@ ListPoliciesGrantingServiceAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListPolicyTags.go.snap b/service/iam/snapshot/api_op_ListPolicyTags.go.snap index dda66d1eb40..d54660ee1c8 100644 --- a/service/iam/snapshot/api_op_ListPolicyTags.go.snap +++ b/service/iam/snapshot/api_op_ListPolicyTags.go.snap @@ -14,7 +14,6 @@ ListPolicyTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListPolicyVersions.go.snap b/service/iam/snapshot/api_op_ListPolicyVersions.go.snap index 6a28c1e5f49..865954792bd 100644 --- a/service/iam/snapshot/api_op_ListPolicyVersions.go.snap +++ b/service/iam/snapshot/api_op_ListPolicyVersions.go.snap @@ -14,7 +14,6 @@ ListPolicyVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListRolePolicies.go.snap b/service/iam/snapshot/api_op_ListRolePolicies.go.snap index 4c964e80ba5..22fec0626dd 100644 --- a/service/iam/snapshot/api_op_ListRolePolicies.go.snap +++ b/service/iam/snapshot/api_op_ListRolePolicies.go.snap @@ -14,7 +14,6 @@ ListRolePolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListRoleTags.go.snap b/service/iam/snapshot/api_op_ListRoleTags.go.snap index cd2a203f2c0..85983ccb1fd 100644 --- a/service/iam/snapshot/api_op_ListRoleTags.go.snap +++ b/service/iam/snapshot/api_op_ListRoleTags.go.snap @@ -14,7 +14,6 @@ ListRoleTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListRoles.go.snap b/service/iam/snapshot/api_op_ListRoles.go.snap index e94b206bc5d..84a5ce51dc5 100644 --- a/service/iam/snapshot/api_op_ListRoles.go.snap +++ b/service/iam/snapshot/api_op_ListRoles.go.snap @@ -13,7 +13,6 @@ ListRoles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListSAMLProviderTags.go.snap b/service/iam/snapshot/api_op_ListSAMLProviderTags.go.snap index 646ae77df60..9ed0f9c3d3c 100644 --- a/service/iam/snapshot/api_op_ListSAMLProviderTags.go.snap +++ b/service/iam/snapshot/api_op_ListSAMLProviderTags.go.snap @@ -14,7 +14,6 @@ ListSAMLProviderTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListSAMLProviders.go.snap b/service/iam/snapshot/api_op_ListSAMLProviders.go.snap index a9276eac67b..2a56a542399 100644 --- a/service/iam/snapshot/api_op_ListSAMLProviders.go.snap +++ b/service/iam/snapshot/api_op_ListSAMLProviders.go.snap @@ -13,7 +13,6 @@ ListSAMLProviders Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListSSHPublicKeys.go.snap b/service/iam/snapshot/api_op_ListSSHPublicKeys.go.snap index 16a6d52718a..b7ee4253885 100644 --- a/service/iam/snapshot/api_op_ListSSHPublicKeys.go.snap +++ b/service/iam/snapshot/api_op_ListSSHPublicKeys.go.snap @@ -13,7 +13,6 @@ ListSSHPublicKeys Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListServerCertificateTags.go.snap b/service/iam/snapshot/api_op_ListServerCertificateTags.go.snap index 8e07d125a7c..5c4e9a6f205 100644 --- a/service/iam/snapshot/api_op_ListServerCertificateTags.go.snap +++ b/service/iam/snapshot/api_op_ListServerCertificateTags.go.snap @@ -14,7 +14,6 @@ ListServerCertificateTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListServerCertificates.go.snap b/service/iam/snapshot/api_op_ListServerCertificates.go.snap index 1ddd846a0c6..5cf248da6ca 100644 --- a/service/iam/snapshot/api_op_ListServerCertificates.go.snap +++ b/service/iam/snapshot/api_op_ListServerCertificates.go.snap @@ -13,7 +13,6 @@ ListServerCertificates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListServiceSpecificCredentials.go.snap b/service/iam/snapshot/api_op_ListServiceSpecificCredentials.go.snap index e5ac31317ad..3de6a127d72 100644 --- a/service/iam/snapshot/api_op_ListServiceSpecificCredentials.go.snap +++ b/service/iam/snapshot/api_op_ListServiceSpecificCredentials.go.snap @@ -13,7 +13,6 @@ ListServiceSpecificCredentials Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListSigningCertificates.go.snap b/service/iam/snapshot/api_op_ListSigningCertificates.go.snap index 2ee17c967f7..d9cb933c73b 100644 --- a/service/iam/snapshot/api_op_ListSigningCertificates.go.snap +++ b/service/iam/snapshot/api_op_ListSigningCertificates.go.snap @@ -13,7 +13,6 @@ ListSigningCertificates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListUserPolicies.go.snap b/service/iam/snapshot/api_op_ListUserPolicies.go.snap index 52fa39bf7ca..6a523b71ed0 100644 --- a/service/iam/snapshot/api_op_ListUserPolicies.go.snap +++ b/service/iam/snapshot/api_op_ListUserPolicies.go.snap @@ -14,7 +14,6 @@ ListUserPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListUserTags.go.snap b/service/iam/snapshot/api_op_ListUserTags.go.snap index 70f4f3c8483..b4ed40861d7 100644 --- a/service/iam/snapshot/api_op_ListUserTags.go.snap +++ b/service/iam/snapshot/api_op_ListUserTags.go.snap @@ -14,7 +14,6 @@ ListUserTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListUsers.go.snap b/service/iam/snapshot/api_op_ListUsers.go.snap index 064bac7f266..b690fde4775 100644 --- a/service/iam/snapshot/api_op_ListUsers.go.snap +++ b/service/iam/snapshot/api_op_ListUsers.go.snap @@ -13,7 +13,6 @@ ListUsers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ListVirtualMFADevices.go.snap b/service/iam/snapshot/api_op_ListVirtualMFADevices.go.snap index e7453d5ae3f..1e331428b34 100644 --- a/service/iam/snapshot/api_op_ListVirtualMFADevices.go.snap +++ b/service/iam/snapshot/api_op_ListVirtualMFADevices.go.snap @@ -13,7 +13,6 @@ ListVirtualMFADevices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_PutGroupPolicy.go.snap b/service/iam/snapshot/api_op_PutGroupPolicy.go.snap index f16fd833d67..e4647a111ef 100644 --- a/service/iam/snapshot/api_op_PutGroupPolicy.go.snap +++ b/service/iam/snapshot/api_op_PutGroupPolicy.go.snap @@ -14,7 +14,6 @@ PutGroupPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_PutRolePermissionsBoundary.go.snap b/service/iam/snapshot/api_op_PutRolePermissionsBoundary.go.snap index 2d4d982cc3d..976e971c512 100644 --- a/service/iam/snapshot/api_op_PutRolePermissionsBoundary.go.snap +++ b/service/iam/snapshot/api_op_PutRolePermissionsBoundary.go.snap @@ -14,7 +14,6 @@ PutRolePermissionsBoundary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_PutRolePolicy.go.snap b/service/iam/snapshot/api_op_PutRolePolicy.go.snap index 7d4d28f8b4a..8841b3dfcf7 100644 --- a/service/iam/snapshot/api_op_PutRolePolicy.go.snap +++ b/service/iam/snapshot/api_op_PutRolePolicy.go.snap @@ -14,7 +14,6 @@ PutRolePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_PutUserPermissionsBoundary.go.snap b/service/iam/snapshot/api_op_PutUserPermissionsBoundary.go.snap index a7d71e29795..d9b2825fb66 100644 --- a/service/iam/snapshot/api_op_PutUserPermissionsBoundary.go.snap +++ b/service/iam/snapshot/api_op_PutUserPermissionsBoundary.go.snap @@ -14,7 +14,6 @@ PutUserPermissionsBoundary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_PutUserPolicy.go.snap b/service/iam/snapshot/api_op_PutUserPolicy.go.snap index 213b4dfff56..2c568876afb 100644 --- a/service/iam/snapshot/api_op_PutUserPolicy.go.snap +++ b/service/iam/snapshot/api_op_PutUserPolicy.go.snap @@ -14,7 +14,6 @@ PutUserPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_RemoveClientIDFromOpenIDConnectProvider.go.snap b/service/iam/snapshot/api_op_RemoveClientIDFromOpenIDConnectProvider.go.snap index 5e629a7cb1c..9ccb1ce1583 100644 --- a/service/iam/snapshot/api_op_RemoveClientIDFromOpenIDConnectProvider.go.snap +++ b/service/iam/snapshot/api_op_RemoveClientIDFromOpenIDConnectProvider.go.snap @@ -14,7 +14,6 @@ RemoveClientIDFromOpenIDConnectProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_RemoveRoleFromInstanceProfile.go.snap b/service/iam/snapshot/api_op_RemoveRoleFromInstanceProfile.go.snap index e7cc6622997..0b2eb45b4a2 100644 --- a/service/iam/snapshot/api_op_RemoveRoleFromInstanceProfile.go.snap +++ b/service/iam/snapshot/api_op_RemoveRoleFromInstanceProfile.go.snap @@ -14,7 +14,6 @@ RemoveRoleFromInstanceProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_RemoveUserFromGroup.go.snap b/service/iam/snapshot/api_op_RemoveUserFromGroup.go.snap index 21359434246..20b6ddd9c10 100644 --- a/service/iam/snapshot/api_op_RemoveUserFromGroup.go.snap +++ b/service/iam/snapshot/api_op_RemoveUserFromGroup.go.snap @@ -14,7 +14,6 @@ RemoveUserFromGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ResetServiceSpecificCredential.go.snap b/service/iam/snapshot/api_op_ResetServiceSpecificCredential.go.snap index f6411774aa9..49a6456e823 100644 --- a/service/iam/snapshot/api_op_ResetServiceSpecificCredential.go.snap +++ b/service/iam/snapshot/api_op_ResetServiceSpecificCredential.go.snap @@ -14,7 +14,6 @@ ResetServiceSpecificCredential Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_ResyncMFADevice.go.snap b/service/iam/snapshot/api_op_ResyncMFADevice.go.snap index dd5eac04926..565b723d7f9 100644 --- a/service/iam/snapshot/api_op_ResyncMFADevice.go.snap +++ b/service/iam/snapshot/api_op_ResyncMFADevice.go.snap @@ -14,7 +14,6 @@ ResyncMFADevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_SetDefaultPolicyVersion.go.snap b/service/iam/snapshot/api_op_SetDefaultPolicyVersion.go.snap index f9ea7176f5f..db6031e792f 100644 --- a/service/iam/snapshot/api_op_SetDefaultPolicyVersion.go.snap +++ b/service/iam/snapshot/api_op_SetDefaultPolicyVersion.go.snap @@ -14,7 +14,6 @@ SetDefaultPolicyVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_SetSecurityTokenServicePreferences.go.snap b/service/iam/snapshot/api_op_SetSecurityTokenServicePreferences.go.snap index 126f98ee3bb..46d213e24ec 100644 --- a/service/iam/snapshot/api_op_SetSecurityTokenServicePreferences.go.snap +++ b/service/iam/snapshot/api_op_SetSecurityTokenServicePreferences.go.snap @@ -14,7 +14,6 @@ SetSecurityTokenServicePreferences Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_SimulateCustomPolicy.go.snap b/service/iam/snapshot/api_op_SimulateCustomPolicy.go.snap index 9f810735170..2d1a68cc826 100644 --- a/service/iam/snapshot/api_op_SimulateCustomPolicy.go.snap +++ b/service/iam/snapshot/api_op_SimulateCustomPolicy.go.snap @@ -14,7 +14,6 @@ SimulateCustomPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_SimulatePrincipalPolicy.go.snap b/service/iam/snapshot/api_op_SimulatePrincipalPolicy.go.snap index 971c9e21a37..e22a939f2ae 100644 --- a/service/iam/snapshot/api_op_SimulatePrincipalPolicy.go.snap +++ b/service/iam/snapshot/api_op_SimulatePrincipalPolicy.go.snap @@ -14,7 +14,6 @@ SimulatePrincipalPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_TagInstanceProfile.go.snap b/service/iam/snapshot/api_op_TagInstanceProfile.go.snap index 6cfcb3996e4..01c2c7a71d2 100644 --- a/service/iam/snapshot/api_op_TagInstanceProfile.go.snap +++ b/service/iam/snapshot/api_op_TagInstanceProfile.go.snap @@ -14,7 +14,6 @@ TagInstanceProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_TagMFADevice.go.snap b/service/iam/snapshot/api_op_TagMFADevice.go.snap index e2cbb7e5f9a..613141c1b42 100644 --- a/service/iam/snapshot/api_op_TagMFADevice.go.snap +++ b/service/iam/snapshot/api_op_TagMFADevice.go.snap @@ -14,7 +14,6 @@ TagMFADevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_TagOpenIDConnectProvider.go.snap b/service/iam/snapshot/api_op_TagOpenIDConnectProvider.go.snap index 827e9bc3106..cc3dd5753b4 100644 --- a/service/iam/snapshot/api_op_TagOpenIDConnectProvider.go.snap +++ b/service/iam/snapshot/api_op_TagOpenIDConnectProvider.go.snap @@ -14,7 +14,6 @@ TagOpenIDConnectProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_TagPolicy.go.snap b/service/iam/snapshot/api_op_TagPolicy.go.snap index 3b6e9d18fc9..cf14cca9a02 100644 --- a/service/iam/snapshot/api_op_TagPolicy.go.snap +++ b/service/iam/snapshot/api_op_TagPolicy.go.snap @@ -14,7 +14,6 @@ TagPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_TagRole.go.snap b/service/iam/snapshot/api_op_TagRole.go.snap index 3f94d78edcd..e8b0b25dfba 100644 --- a/service/iam/snapshot/api_op_TagRole.go.snap +++ b/service/iam/snapshot/api_op_TagRole.go.snap @@ -14,7 +14,6 @@ TagRole Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_TagSAMLProvider.go.snap b/service/iam/snapshot/api_op_TagSAMLProvider.go.snap index 8af7bea78f1..acff896fa99 100644 --- a/service/iam/snapshot/api_op_TagSAMLProvider.go.snap +++ b/service/iam/snapshot/api_op_TagSAMLProvider.go.snap @@ -14,7 +14,6 @@ TagSAMLProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_TagServerCertificate.go.snap b/service/iam/snapshot/api_op_TagServerCertificate.go.snap index 62afc8e6d78..ddeb8213788 100644 --- a/service/iam/snapshot/api_op_TagServerCertificate.go.snap +++ b/service/iam/snapshot/api_op_TagServerCertificate.go.snap @@ -14,7 +14,6 @@ TagServerCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_TagUser.go.snap b/service/iam/snapshot/api_op_TagUser.go.snap index bde771cd52b..54c073d8222 100644 --- a/service/iam/snapshot/api_op_TagUser.go.snap +++ b/service/iam/snapshot/api_op_TagUser.go.snap @@ -14,7 +14,6 @@ TagUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_UntagInstanceProfile.go.snap b/service/iam/snapshot/api_op_UntagInstanceProfile.go.snap index 8135504eb44..1f8a49abf8a 100644 --- a/service/iam/snapshot/api_op_UntagInstanceProfile.go.snap +++ b/service/iam/snapshot/api_op_UntagInstanceProfile.go.snap @@ -14,7 +14,6 @@ UntagInstanceProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_UntagMFADevice.go.snap b/service/iam/snapshot/api_op_UntagMFADevice.go.snap index acda7abf935..3ab7b165f53 100644 --- a/service/iam/snapshot/api_op_UntagMFADevice.go.snap +++ b/service/iam/snapshot/api_op_UntagMFADevice.go.snap @@ -14,7 +14,6 @@ UntagMFADevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_UntagOpenIDConnectProvider.go.snap b/service/iam/snapshot/api_op_UntagOpenIDConnectProvider.go.snap index 4bc998349b2..a97a9ea4474 100644 --- a/service/iam/snapshot/api_op_UntagOpenIDConnectProvider.go.snap +++ b/service/iam/snapshot/api_op_UntagOpenIDConnectProvider.go.snap @@ -14,7 +14,6 @@ UntagOpenIDConnectProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_UntagPolicy.go.snap b/service/iam/snapshot/api_op_UntagPolicy.go.snap index 1f8108cf479..8ad7fe2d81e 100644 --- a/service/iam/snapshot/api_op_UntagPolicy.go.snap +++ b/service/iam/snapshot/api_op_UntagPolicy.go.snap @@ -14,7 +14,6 @@ UntagPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_UntagRole.go.snap b/service/iam/snapshot/api_op_UntagRole.go.snap index e11a678fac6..052f1adfdec 100644 --- a/service/iam/snapshot/api_op_UntagRole.go.snap +++ b/service/iam/snapshot/api_op_UntagRole.go.snap @@ -14,7 +14,6 @@ UntagRole Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_UntagSAMLProvider.go.snap b/service/iam/snapshot/api_op_UntagSAMLProvider.go.snap index d0eb47f4d3d..265e3e60eb5 100644 --- a/service/iam/snapshot/api_op_UntagSAMLProvider.go.snap +++ b/service/iam/snapshot/api_op_UntagSAMLProvider.go.snap @@ -14,7 +14,6 @@ UntagSAMLProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_UntagServerCertificate.go.snap b/service/iam/snapshot/api_op_UntagServerCertificate.go.snap index 8666832b285..6fad9799685 100644 --- a/service/iam/snapshot/api_op_UntagServerCertificate.go.snap +++ b/service/iam/snapshot/api_op_UntagServerCertificate.go.snap @@ -14,7 +14,6 @@ UntagServerCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_UntagUser.go.snap b/service/iam/snapshot/api_op_UntagUser.go.snap index 8a94b6bba77..7476bf8be36 100644 --- a/service/iam/snapshot/api_op_UntagUser.go.snap +++ b/service/iam/snapshot/api_op_UntagUser.go.snap @@ -14,7 +14,6 @@ UntagUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_UpdateAccessKey.go.snap b/service/iam/snapshot/api_op_UpdateAccessKey.go.snap index ee3c927e5ff..08bae518934 100644 --- a/service/iam/snapshot/api_op_UpdateAccessKey.go.snap +++ b/service/iam/snapshot/api_op_UpdateAccessKey.go.snap @@ -14,7 +14,6 @@ UpdateAccessKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_UpdateAccountPasswordPolicy.go.snap b/service/iam/snapshot/api_op_UpdateAccountPasswordPolicy.go.snap index 8abcbacdb75..5c9e8611498 100644 --- a/service/iam/snapshot/api_op_UpdateAccountPasswordPolicy.go.snap +++ b/service/iam/snapshot/api_op_UpdateAccountPasswordPolicy.go.snap @@ -13,7 +13,6 @@ UpdateAccountPasswordPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_UpdateAssumeRolePolicy.go.snap b/service/iam/snapshot/api_op_UpdateAssumeRolePolicy.go.snap index 114272930bd..a638fc4d52b 100644 --- a/service/iam/snapshot/api_op_UpdateAssumeRolePolicy.go.snap +++ b/service/iam/snapshot/api_op_UpdateAssumeRolePolicy.go.snap @@ -14,7 +14,6 @@ UpdateAssumeRolePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_UpdateGroup.go.snap b/service/iam/snapshot/api_op_UpdateGroup.go.snap index 4e6da26c18e..4d69c0aef49 100644 --- a/service/iam/snapshot/api_op_UpdateGroup.go.snap +++ b/service/iam/snapshot/api_op_UpdateGroup.go.snap @@ -14,7 +14,6 @@ UpdateGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_UpdateLoginProfile.go.snap b/service/iam/snapshot/api_op_UpdateLoginProfile.go.snap index 76567daefa2..42161e520e2 100644 --- a/service/iam/snapshot/api_op_UpdateLoginProfile.go.snap +++ b/service/iam/snapshot/api_op_UpdateLoginProfile.go.snap @@ -14,7 +14,6 @@ UpdateLoginProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_UpdateOpenIDConnectProviderThumbprint.go.snap b/service/iam/snapshot/api_op_UpdateOpenIDConnectProviderThumbprint.go.snap index b615cd226ab..40b857e2246 100644 --- a/service/iam/snapshot/api_op_UpdateOpenIDConnectProviderThumbprint.go.snap +++ b/service/iam/snapshot/api_op_UpdateOpenIDConnectProviderThumbprint.go.snap @@ -14,7 +14,6 @@ UpdateOpenIDConnectProviderThumbprint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_UpdateRole.go.snap b/service/iam/snapshot/api_op_UpdateRole.go.snap index 0ebbdc462da..96efc7e570d 100644 --- a/service/iam/snapshot/api_op_UpdateRole.go.snap +++ b/service/iam/snapshot/api_op_UpdateRole.go.snap @@ -14,7 +14,6 @@ UpdateRole Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_UpdateRoleDescription.go.snap b/service/iam/snapshot/api_op_UpdateRoleDescription.go.snap index d06f303a141..2082b2055b9 100644 --- a/service/iam/snapshot/api_op_UpdateRoleDescription.go.snap +++ b/service/iam/snapshot/api_op_UpdateRoleDescription.go.snap @@ -14,7 +14,6 @@ UpdateRoleDescription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_UpdateSAMLProvider.go.snap b/service/iam/snapshot/api_op_UpdateSAMLProvider.go.snap index d15f04f0c35..5e2c1406dd0 100644 --- a/service/iam/snapshot/api_op_UpdateSAMLProvider.go.snap +++ b/service/iam/snapshot/api_op_UpdateSAMLProvider.go.snap @@ -14,7 +14,6 @@ UpdateSAMLProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_UpdateSSHPublicKey.go.snap b/service/iam/snapshot/api_op_UpdateSSHPublicKey.go.snap index addd180acbe..d43dc207c3e 100644 --- a/service/iam/snapshot/api_op_UpdateSSHPublicKey.go.snap +++ b/service/iam/snapshot/api_op_UpdateSSHPublicKey.go.snap @@ -14,7 +14,6 @@ UpdateSSHPublicKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_UpdateServerCertificate.go.snap b/service/iam/snapshot/api_op_UpdateServerCertificate.go.snap index b644a4b39a0..39b7e506f8f 100644 --- a/service/iam/snapshot/api_op_UpdateServerCertificate.go.snap +++ b/service/iam/snapshot/api_op_UpdateServerCertificate.go.snap @@ -14,7 +14,6 @@ UpdateServerCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_UpdateServiceSpecificCredential.go.snap b/service/iam/snapshot/api_op_UpdateServiceSpecificCredential.go.snap index c3d654a0f9d..498d815c706 100644 --- a/service/iam/snapshot/api_op_UpdateServiceSpecificCredential.go.snap +++ b/service/iam/snapshot/api_op_UpdateServiceSpecificCredential.go.snap @@ -14,7 +14,6 @@ UpdateServiceSpecificCredential Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_UpdateSigningCertificate.go.snap b/service/iam/snapshot/api_op_UpdateSigningCertificate.go.snap index 218f0a66697..a5a59f4d009 100644 --- a/service/iam/snapshot/api_op_UpdateSigningCertificate.go.snap +++ b/service/iam/snapshot/api_op_UpdateSigningCertificate.go.snap @@ -14,7 +14,6 @@ UpdateSigningCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_UpdateUser.go.snap b/service/iam/snapshot/api_op_UpdateUser.go.snap index 52e6424cb0f..bee553c064e 100644 --- a/service/iam/snapshot/api_op_UpdateUser.go.snap +++ b/service/iam/snapshot/api_op_UpdateUser.go.snap @@ -14,7 +14,6 @@ UpdateUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_UploadSSHPublicKey.go.snap b/service/iam/snapshot/api_op_UploadSSHPublicKey.go.snap index c1422a554fc..4c76eec6c08 100644 --- a/service/iam/snapshot/api_op_UploadSSHPublicKey.go.snap +++ b/service/iam/snapshot/api_op_UploadSSHPublicKey.go.snap @@ -14,7 +14,6 @@ UploadSSHPublicKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_UploadServerCertificate.go.snap b/service/iam/snapshot/api_op_UploadServerCertificate.go.snap index e109811ba2c..497326cefb9 100644 --- a/service/iam/snapshot/api_op_UploadServerCertificate.go.snap +++ b/service/iam/snapshot/api_op_UploadServerCertificate.go.snap @@ -14,7 +14,6 @@ UploadServerCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iam/snapshot/api_op_UploadSigningCertificate.go.snap b/service/iam/snapshot/api_op_UploadSigningCertificate.go.snap index 77a0efdafd4..ba007ac16eb 100644 --- a/service/iam/snapshot/api_op_UploadSigningCertificate.go.snap +++ b/service/iam/snapshot/api_op_UploadSigningCertificate.go.snap @@ -14,7 +14,6 @@ UploadSigningCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/identitystore/api_client.go b/service/identitystore/api_client.go index d6844a6c9ad..3373dbea286 100644 --- a/service/identitystore/api_client.go +++ b/service/identitystore/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/identitystore/api_op_CreateGroup.go b/service/identitystore/api_op_CreateGroup.go index ea8f2f050b5..8649852ff28 100644 --- a/service/identitystore/api_op_CreateGroup.go +++ b/service/identitystore/api_op_CreateGroup.go @@ -126,9 +126,6 @@ func (c *Client) addOperationCreateGroupMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_CreateGroupMembership.go b/service/identitystore/api_op_CreateGroupMembership.go index 3155bd52cf4..7fc3929a5fe 100644 --- a/service/identitystore/api_op_CreateGroupMembership.go +++ b/service/identitystore/api_op_CreateGroupMembership.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateGroupMembershipMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGroupMembershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_CreateUser.go b/service/identitystore/api_op_CreateUser.go index 29bbf4f9f3c..8bfa0c87a69 100644 --- a/service/identitystore/api_op_CreateUser.go +++ b/service/identitystore/api_op_CreateUser.go @@ -166,9 +166,6 @@ func (c *Client) addOperationCreateUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_DeleteGroup.go b/service/identitystore/api_op_DeleteGroup.go index d25d76a272d..8201eeb1e1c 100644 --- a/service/identitystore/api_op_DeleteGroup.go +++ b/service/identitystore/api_op_DeleteGroup.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteGroupMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_DeleteGroupMembership.go b/service/identitystore/api_op_DeleteGroupMembership.go index e45150aa268..2c9dce09acf 100644 --- a/service/identitystore/api_op_DeleteGroupMembership.go +++ b/service/identitystore/api_op_DeleteGroupMembership.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteGroupMembershipMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGroupMembershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_DeleteUser.go b/service/identitystore/api_op_DeleteUser.go index 70cba82ef8a..48f21ccdd75 100644 --- a/service/identitystore/api_op_DeleteUser.go +++ b/service/identitystore/api_op_DeleteUser.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_DescribeGroup.go b/service/identitystore/api_op_DescribeGroup.go index 8ceb7ce5525..e903b2401d5 100644 --- a/service/identitystore/api_op_DescribeGroup.go +++ b/service/identitystore/api_op_DescribeGroup.go @@ -146,9 +146,6 @@ func (c *Client) addOperationDescribeGroupMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_DescribeGroupMembership.go b/service/identitystore/api_op_DescribeGroupMembership.go index c4acbcb1eb9..2cabb2b0ecc 100644 --- a/service/identitystore/api_op_DescribeGroupMembership.go +++ b/service/identitystore/api_op_DescribeGroupMembership.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDescribeGroupMembershipMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeGroupMembershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_DescribeUser.go b/service/identitystore/api_op_DescribeUser.go index 47ffb393961..ccd3593496c 100644 --- a/service/identitystore/api_op_DescribeUser.go +++ b/service/identitystore/api_op_DescribeUser.go @@ -178,9 +178,6 @@ func (c *Client) addOperationDescribeUserMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_GetGroupId.go b/service/identitystore/api_op_GetGroupId.go index df388a82d02..ca0965da76e 100644 --- a/service/identitystore/api_op_GetGroupId.go +++ b/service/identitystore/api_op_GetGroupId.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetGroupIdMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetGroupIdValidationMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_GetGroupMembershipId.go b/service/identitystore/api_op_GetGroupMembershipId.go index d6acd16212c..f8a502d53b6 100644 --- a/service/identitystore/api_op_GetGroupMembershipId.go +++ b/service/identitystore/api_op_GetGroupMembershipId.go @@ -136,9 +136,6 @@ func (c *Client) addOperationGetGroupMembershipIdMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetGroupMembershipIdValidationMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_GetUserId.go b/service/identitystore/api_op_GetUserId.go index c392be3f79e..4c56d4cbf40 100644 --- a/service/identitystore/api_op_GetUserId.go +++ b/service/identitystore/api_op_GetUserId.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetUserIdMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUserIdValidationMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_IsMemberInGroups.go b/service/identitystore/api_op_IsMemberInGroups.go index b5486d71f9d..33280d198cb 100644 --- a/service/identitystore/api_op_IsMemberInGroups.go +++ b/service/identitystore/api_op_IsMemberInGroups.go @@ -130,9 +130,6 @@ func (c *Client) addOperationIsMemberInGroupsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpIsMemberInGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_ListGroupMemberships.go b/service/identitystore/api_op_ListGroupMemberships.go index 8bc11b90c0f..a03e1a4ba50 100644 --- a/service/identitystore/api_op_ListGroupMemberships.go +++ b/service/identitystore/api_op_ListGroupMemberships.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListGroupMembershipsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListGroupMembershipsValidationMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_ListGroupMembershipsForMember.go b/service/identitystore/api_op_ListGroupMembershipsForMember.go index 1b9f89550fc..7da04a26a41 100644 --- a/service/identitystore/api_op_ListGroupMembershipsForMember.go +++ b/service/identitystore/api_op_ListGroupMembershipsForMember.go @@ -146,9 +146,6 @@ func (c *Client) addOperationListGroupMembershipsForMemberMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListGroupMembershipsForMemberValidationMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_ListGroups.go b/service/identitystore/api_op_ListGroups.go index d607995a432..40b0b095eec 100644 --- a/service/identitystore/api_op_ListGroups.go +++ b/service/identitystore/api_op_ListGroups.go @@ -148,9 +148,6 @@ func (c *Client) addOperationListGroupsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_ListUsers.go b/service/identitystore/api_op_ListUsers.go index cf90a9c556b..05b12d063d2 100644 --- a/service/identitystore/api_op_ListUsers.go +++ b/service/identitystore/api_op_ListUsers.go @@ -148,9 +148,6 @@ func (c *Client) addOperationListUsersMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListUsersValidationMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_UpdateGroup.go b/service/identitystore/api_op_UpdateGroup.go index 71b026e26c4..528a1469220 100644 --- a/service/identitystore/api_op_UpdateGroup.go +++ b/service/identitystore/api_op_UpdateGroup.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdateGroupMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/api_op_UpdateUser.go b/service/identitystore/api_op_UpdateUser.go index 3f70eb414d0..032f10e2339 100644 --- a/service/identitystore/api_op_UpdateUser.go +++ b/service/identitystore/api_op_UpdateUser.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdateUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/identitystore/snapshot/api_op_CreateGroup.go.snap b/service/identitystore/snapshot/api_op_CreateGroup.go.snap index f017be256c7..f4adf31ac79 100644 --- a/service/identitystore/snapshot/api_op_CreateGroup.go.snap +++ b/service/identitystore/snapshot/api_op_CreateGroup.go.snap @@ -14,7 +14,6 @@ CreateGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/identitystore/snapshot/api_op_CreateGroupMembership.go.snap b/service/identitystore/snapshot/api_op_CreateGroupMembership.go.snap index 01e7f014db6..7752d05d2b0 100644 --- a/service/identitystore/snapshot/api_op_CreateGroupMembership.go.snap +++ b/service/identitystore/snapshot/api_op_CreateGroupMembership.go.snap @@ -14,7 +14,6 @@ CreateGroupMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/identitystore/snapshot/api_op_CreateUser.go.snap b/service/identitystore/snapshot/api_op_CreateUser.go.snap index bfcfbd2c853..d278c15935b 100644 --- a/service/identitystore/snapshot/api_op_CreateUser.go.snap +++ b/service/identitystore/snapshot/api_op_CreateUser.go.snap @@ -14,7 +14,6 @@ CreateUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/identitystore/snapshot/api_op_DeleteGroup.go.snap b/service/identitystore/snapshot/api_op_DeleteGroup.go.snap index fa762a3a297..9a74537ddc0 100644 --- a/service/identitystore/snapshot/api_op_DeleteGroup.go.snap +++ b/service/identitystore/snapshot/api_op_DeleteGroup.go.snap @@ -14,7 +14,6 @@ DeleteGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/identitystore/snapshot/api_op_DeleteGroupMembership.go.snap b/service/identitystore/snapshot/api_op_DeleteGroupMembership.go.snap index a572a556acb..77112ca8d91 100644 --- a/service/identitystore/snapshot/api_op_DeleteGroupMembership.go.snap +++ b/service/identitystore/snapshot/api_op_DeleteGroupMembership.go.snap @@ -14,7 +14,6 @@ DeleteGroupMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/identitystore/snapshot/api_op_DeleteUser.go.snap b/service/identitystore/snapshot/api_op_DeleteUser.go.snap index 43834da9879..eda6e5fae30 100644 --- a/service/identitystore/snapshot/api_op_DeleteUser.go.snap +++ b/service/identitystore/snapshot/api_op_DeleteUser.go.snap @@ -14,7 +14,6 @@ DeleteUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/identitystore/snapshot/api_op_DescribeGroup.go.snap b/service/identitystore/snapshot/api_op_DescribeGroup.go.snap index a31f75b49bc..e51d7cac904 100644 --- a/service/identitystore/snapshot/api_op_DescribeGroup.go.snap +++ b/service/identitystore/snapshot/api_op_DescribeGroup.go.snap @@ -14,7 +14,6 @@ DescribeGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/identitystore/snapshot/api_op_DescribeGroupMembership.go.snap b/service/identitystore/snapshot/api_op_DescribeGroupMembership.go.snap index c0619b890cd..68e9814aa87 100644 --- a/service/identitystore/snapshot/api_op_DescribeGroupMembership.go.snap +++ b/service/identitystore/snapshot/api_op_DescribeGroupMembership.go.snap @@ -14,7 +14,6 @@ DescribeGroupMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/identitystore/snapshot/api_op_DescribeUser.go.snap b/service/identitystore/snapshot/api_op_DescribeUser.go.snap index 630a2859093..a7ee6cfa46d 100644 --- a/service/identitystore/snapshot/api_op_DescribeUser.go.snap +++ b/service/identitystore/snapshot/api_op_DescribeUser.go.snap @@ -14,7 +14,6 @@ DescribeUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/identitystore/snapshot/api_op_GetGroupId.go.snap b/service/identitystore/snapshot/api_op_GetGroupId.go.snap index 85f3d1cc567..bbe13884490 100644 --- a/service/identitystore/snapshot/api_op_GetGroupId.go.snap +++ b/service/identitystore/snapshot/api_op_GetGroupId.go.snap @@ -14,7 +14,6 @@ GetGroupId Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/identitystore/snapshot/api_op_GetGroupMembershipId.go.snap b/service/identitystore/snapshot/api_op_GetGroupMembershipId.go.snap index f594492d5ef..64cdfe5e5c3 100644 --- a/service/identitystore/snapshot/api_op_GetGroupMembershipId.go.snap +++ b/service/identitystore/snapshot/api_op_GetGroupMembershipId.go.snap @@ -14,7 +14,6 @@ GetGroupMembershipId Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/identitystore/snapshot/api_op_GetUserId.go.snap b/service/identitystore/snapshot/api_op_GetUserId.go.snap index ffc1dd712b2..3bc39213fe4 100644 --- a/service/identitystore/snapshot/api_op_GetUserId.go.snap +++ b/service/identitystore/snapshot/api_op_GetUserId.go.snap @@ -14,7 +14,6 @@ GetUserId Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/identitystore/snapshot/api_op_IsMemberInGroups.go.snap b/service/identitystore/snapshot/api_op_IsMemberInGroups.go.snap index c11d8714d25..9940bf02d3a 100644 --- a/service/identitystore/snapshot/api_op_IsMemberInGroups.go.snap +++ b/service/identitystore/snapshot/api_op_IsMemberInGroups.go.snap @@ -14,7 +14,6 @@ IsMemberInGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/identitystore/snapshot/api_op_ListGroupMemberships.go.snap b/service/identitystore/snapshot/api_op_ListGroupMemberships.go.snap index c7a28aff2f2..383daf8e2a2 100644 --- a/service/identitystore/snapshot/api_op_ListGroupMemberships.go.snap +++ b/service/identitystore/snapshot/api_op_ListGroupMemberships.go.snap @@ -14,7 +14,6 @@ ListGroupMemberships Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/identitystore/snapshot/api_op_ListGroupMembershipsForMember.go.snap b/service/identitystore/snapshot/api_op_ListGroupMembershipsForMember.go.snap index 4b5bd6158ac..d81cb97fb9c 100644 --- a/service/identitystore/snapshot/api_op_ListGroupMembershipsForMember.go.snap +++ b/service/identitystore/snapshot/api_op_ListGroupMembershipsForMember.go.snap @@ -14,7 +14,6 @@ ListGroupMembershipsForMember Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/identitystore/snapshot/api_op_ListGroups.go.snap b/service/identitystore/snapshot/api_op_ListGroups.go.snap index 96d00de9d60..2cce91ebfeb 100644 --- a/service/identitystore/snapshot/api_op_ListGroups.go.snap +++ b/service/identitystore/snapshot/api_op_ListGroups.go.snap @@ -14,7 +14,6 @@ ListGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/identitystore/snapshot/api_op_ListUsers.go.snap b/service/identitystore/snapshot/api_op_ListUsers.go.snap index e806475e845..214b3b04368 100644 --- a/service/identitystore/snapshot/api_op_ListUsers.go.snap +++ b/service/identitystore/snapshot/api_op_ListUsers.go.snap @@ -14,7 +14,6 @@ ListUsers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/identitystore/snapshot/api_op_UpdateGroup.go.snap b/service/identitystore/snapshot/api_op_UpdateGroup.go.snap index 4e6da26c18e..4d69c0aef49 100644 --- a/service/identitystore/snapshot/api_op_UpdateGroup.go.snap +++ b/service/identitystore/snapshot/api_op_UpdateGroup.go.snap @@ -14,7 +14,6 @@ UpdateGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/identitystore/snapshot/api_op_UpdateUser.go.snap b/service/identitystore/snapshot/api_op_UpdateUser.go.snap index 52e6424cb0f..bee553c064e 100644 --- a/service/identitystore/snapshot/api_op_UpdateUser.go.snap +++ b/service/identitystore/snapshot/api_op_UpdateUser.go.snap @@ -14,7 +14,6 @@ UpdateUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/api_client.go b/service/imagebuilder/api_client.go index 912ecb00e05..1908775d92f 100644 --- a/service/imagebuilder/api_client.go +++ b/service/imagebuilder/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/imagebuilder/api_op_CancelImageCreation.go b/service/imagebuilder/api_op_CancelImageCreation.go index 0225fdb214d..e5891f4520d 100644 --- a/service/imagebuilder/api_op_CancelImageCreation.go +++ b/service/imagebuilder/api_op_CancelImageCreation.go @@ -127,9 +127,6 @@ func (c *Client) addOperationCancelImageCreationMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCancelImageCreationMiddleware(stack, options); err != nil { return err } diff --git a/service/imagebuilder/api_op_CancelLifecycleExecution.go b/service/imagebuilder/api_op_CancelLifecycleExecution.go index a2f69eced16..2a47d4babfe 100644 --- a/service/imagebuilder/api_op_CancelLifecycleExecution.go +++ b/service/imagebuilder/api_op_CancelLifecycleExecution.go @@ -120,9 +120,6 @@ func (c *Client) addOperationCancelLifecycleExecutionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCancelLifecycleExecutionMiddleware(stack, options); err != nil { return err } diff --git a/service/imagebuilder/api_op_CreateComponent.go b/service/imagebuilder/api_op_CreateComponent.go index f7f736f8f6e..30bfcd10944 100644 --- a/service/imagebuilder/api_op_CreateComponent.go +++ b/service/imagebuilder/api_op_CreateComponent.go @@ -188,9 +188,6 @@ func (c *Client) addOperationCreateComponentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateComponentMiddleware(stack, options); err != nil { return err } diff --git a/service/imagebuilder/api_op_CreateContainerRecipe.go b/service/imagebuilder/api_op_CreateContainerRecipe.go index b2cea5e49c1..65d82201da5 100644 --- a/service/imagebuilder/api_op_CreateContainerRecipe.go +++ b/service/imagebuilder/api_op_CreateContainerRecipe.go @@ -196,9 +196,6 @@ func (c *Client) addOperationCreateContainerRecipeMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateContainerRecipeMiddleware(stack, options); err != nil { return err } diff --git a/service/imagebuilder/api_op_CreateDistributionConfiguration.go b/service/imagebuilder/api_op_CreateDistributionConfiguration.go index 7642adfb3b3..a105db6a0be 100644 --- a/service/imagebuilder/api_op_CreateDistributionConfiguration.go +++ b/service/imagebuilder/api_op_CreateDistributionConfiguration.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateDistributionConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDistributionConfigurationMiddleware(stack, options); err != nil { return err } diff --git a/service/imagebuilder/api_op_CreateImage.go b/service/imagebuilder/api_op_CreateImage.go index 52510bcd777..9e53df6dcaf 100644 --- a/service/imagebuilder/api_op_CreateImage.go +++ b/service/imagebuilder/api_op_CreateImage.go @@ -163,9 +163,6 @@ func (c *Client) addOperationCreateImageMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateImageMiddleware(stack, options); err != nil { return err } diff --git a/service/imagebuilder/api_op_CreateImagePipeline.go b/service/imagebuilder/api_op_CreateImagePipeline.go index 60c76969b15..4c30c81b650 100644 --- a/service/imagebuilder/api_op_CreateImagePipeline.go +++ b/service/imagebuilder/api_op_CreateImagePipeline.go @@ -176,9 +176,6 @@ func (c *Client) addOperationCreateImagePipelineMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateImagePipelineMiddleware(stack, options); err != nil { return err } diff --git a/service/imagebuilder/api_op_CreateImageRecipe.go b/service/imagebuilder/api_op_CreateImageRecipe.go index ab0479430d7..49cfa530ac3 100644 --- a/service/imagebuilder/api_op_CreateImageRecipe.go +++ b/service/imagebuilder/api_op_CreateImageRecipe.go @@ -176,9 +176,6 @@ func (c *Client) addOperationCreateImageRecipeMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateImageRecipeMiddleware(stack, options); err != nil { return err } diff --git a/service/imagebuilder/api_op_CreateInfrastructureConfiguration.go b/service/imagebuilder/api_op_CreateInfrastructureConfiguration.go index 7c3b6df3f2b..bcc6485c2da 100644 --- a/service/imagebuilder/api_op_CreateInfrastructureConfiguration.go +++ b/service/imagebuilder/api_op_CreateInfrastructureConfiguration.go @@ -186,9 +186,6 @@ func (c *Client) addOperationCreateInfrastructureConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateInfrastructureConfigurationMiddleware(stack, options); err != nil { return err } diff --git a/service/imagebuilder/api_op_CreateLifecyclePolicy.go b/service/imagebuilder/api_op_CreateLifecyclePolicy.go index 10f3b0ff3e0..5a159b82ec7 100644 --- a/service/imagebuilder/api_op_CreateLifecyclePolicy.go +++ b/service/imagebuilder/api_op_CreateLifecyclePolicy.go @@ -153,9 +153,6 @@ func (c *Client) addOperationCreateLifecyclePolicyMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateLifecyclePolicyMiddleware(stack, options); err != nil { return err } diff --git a/service/imagebuilder/api_op_CreateWorkflow.go b/service/imagebuilder/api_op_CreateWorkflow.go index b1b9b57d9b3..3e654fde26c 100644 --- a/service/imagebuilder/api_op_CreateWorkflow.go +++ b/service/imagebuilder/api_op_CreateWorkflow.go @@ -174,9 +174,6 @@ func (c *Client) addOperationCreateWorkflowMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateWorkflowMiddleware(stack, options); err != nil { return err } diff --git a/service/imagebuilder/api_op_DeleteComponent.go b/service/imagebuilder/api_op_DeleteComponent.go index dfc7299d7e1..76eae440f30 100644 --- a/service/imagebuilder/api_op_DeleteComponent.go +++ b/service/imagebuilder/api_op_DeleteComponent.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteComponentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteComponentValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_DeleteContainerRecipe.go b/service/imagebuilder/api_op_DeleteContainerRecipe.go index f736683c541..bfd37ff6fe0 100644 --- a/service/imagebuilder/api_op_DeleteContainerRecipe.go +++ b/service/imagebuilder/api_op_DeleteContainerRecipe.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteContainerRecipeMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteContainerRecipeValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_DeleteDistributionConfiguration.go b/service/imagebuilder/api_op_DeleteDistributionConfiguration.go index 20a9b53639c..f212c399524 100644 --- a/service/imagebuilder/api_op_DeleteDistributionConfiguration.go +++ b/service/imagebuilder/api_op_DeleteDistributionConfiguration.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteDistributionConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDistributionConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_DeleteImage.go b/service/imagebuilder/api_op_DeleteImage.go index 774012a1bfc..86c967346d7 100644 --- a/service/imagebuilder/api_op_DeleteImage.go +++ b/service/imagebuilder/api_op_DeleteImage.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteImageMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteImageValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_DeleteImagePipeline.go b/service/imagebuilder/api_op_DeleteImagePipeline.go index 40aeef2924d..b824515e0ef 100644 --- a/service/imagebuilder/api_op_DeleteImagePipeline.go +++ b/service/imagebuilder/api_op_DeleteImagePipeline.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteImagePipelineMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteImagePipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_DeleteImageRecipe.go b/service/imagebuilder/api_op_DeleteImageRecipe.go index 264733b8c67..aaa5128d5de 100644 --- a/service/imagebuilder/api_op_DeleteImageRecipe.go +++ b/service/imagebuilder/api_op_DeleteImageRecipe.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteImageRecipeMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteImageRecipeValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_DeleteInfrastructureConfiguration.go b/service/imagebuilder/api_op_DeleteInfrastructureConfiguration.go index 61273c1cd29..2bf172d50b2 100644 --- a/service/imagebuilder/api_op_DeleteInfrastructureConfiguration.go +++ b/service/imagebuilder/api_op_DeleteInfrastructureConfiguration.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteInfrastructureConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInfrastructureConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_DeleteLifecyclePolicy.go b/service/imagebuilder/api_op_DeleteLifecyclePolicy.go index b92da4554e9..da08a72659a 100644 --- a/service/imagebuilder/api_op_DeleteLifecyclePolicy.go +++ b/service/imagebuilder/api_op_DeleteLifecyclePolicy.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteLifecyclePolicyMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLifecyclePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_DeleteWorkflow.go b/service/imagebuilder/api_op_DeleteWorkflow.go index 10cc08e4f3f..12e80191b98 100644 --- a/service/imagebuilder/api_op_DeleteWorkflow.go +++ b/service/imagebuilder/api_op_DeleteWorkflow.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteWorkflowMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWorkflowValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_GetComponent.go b/service/imagebuilder/api_op_GetComponent.go index 7567b06cc89..6966ef20e26 100644 --- a/service/imagebuilder/api_op_GetComponent.go +++ b/service/imagebuilder/api_op_GetComponent.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetComponentMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetComponentValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_GetComponentPolicy.go b/service/imagebuilder/api_op_GetComponentPolicy.go index f9642b75032..5902eac08f7 100644 --- a/service/imagebuilder/api_op_GetComponentPolicy.go +++ b/service/imagebuilder/api_op_GetComponentPolicy.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetComponentPolicyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetComponentPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_GetContainerRecipe.go b/service/imagebuilder/api_op_GetContainerRecipe.go index cf30b531dda..9da91c046d3 100644 --- a/service/imagebuilder/api_op_GetContainerRecipe.go +++ b/service/imagebuilder/api_op_GetContainerRecipe.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetContainerRecipeMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetContainerRecipeValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_GetContainerRecipePolicy.go b/service/imagebuilder/api_op_GetContainerRecipePolicy.go index ce73457efbb..2a982699a9e 100644 --- a/service/imagebuilder/api_op_GetContainerRecipePolicy.go +++ b/service/imagebuilder/api_op_GetContainerRecipePolicy.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetContainerRecipePolicyMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetContainerRecipePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_GetDistributionConfiguration.go b/service/imagebuilder/api_op_GetDistributionConfiguration.go index 80e9dbb8409..b5b7a905b1d 100644 --- a/service/imagebuilder/api_op_GetDistributionConfiguration.go +++ b/service/imagebuilder/api_op_GetDistributionConfiguration.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetDistributionConfigurationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDistributionConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_GetImage.go b/service/imagebuilder/api_op_GetImage.go index 698490be0cf..eb2e66606e8 100644 --- a/service/imagebuilder/api_op_GetImage.go +++ b/service/imagebuilder/api_op_GetImage.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetImageMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetImageValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_GetImagePipeline.go b/service/imagebuilder/api_op_GetImagePipeline.go index 57268ebdc54..6304e22d27e 100644 --- a/service/imagebuilder/api_op_GetImagePipeline.go +++ b/service/imagebuilder/api_op_GetImagePipeline.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetImagePipelineMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetImagePipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_GetImagePolicy.go b/service/imagebuilder/api_op_GetImagePolicy.go index 458abba9347..684818e9432 100644 --- a/service/imagebuilder/api_op_GetImagePolicy.go +++ b/service/imagebuilder/api_op_GetImagePolicy.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetImagePolicyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetImagePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_GetImageRecipe.go b/service/imagebuilder/api_op_GetImageRecipe.go index bc959f9d215..2b950df1f99 100644 --- a/service/imagebuilder/api_op_GetImageRecipe.go +++ b/service/imagebuilder/api_op_GetImageRecipe.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetImageRecipeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetImageRecipeValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_GetImageRecipePolicy.go b/service/imagebuilder/api_op_GetImageRecipePolicy.go index 293db83b0af..5d08d63e7b0 100644 --- a/service/imagebuilder/api_op_GetImageRecipePolicy.go +++ b/service/imagebuilder/api_op_GetImageRecipePolicy.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetImageRecipePolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetImageRecipePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_GetInfrastructureConfiguration.go b/service/imagebuilder/api_op_GetInfrastructureConfiguration.go index c4dcc759e58..2d18d10d27d 100644 --- a/service/imagebuilder/api_op_GetInfrastructureConfiguration.go +++ b/service/imagebuilder/api_op_GetInfrastructureConfiguration.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetInfrastructureConfigurationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInfrastructureConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_GetLifecycleExecution.go b/service/imagebuilder/api_op_GetLifecycleExecution.go index 78fe804ba70..642138600e9 100644 --- a/service/imagebuilder/api_op_GetLifecycleExecution.go +++ b/service/imagebuilder/api_op_GetLifecycleExecution.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetLifecycleExecutionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLifecycleExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_GetLifecyclePolicy.go b/service/imagebuilder/api_op_GetLifecyclePolicy.go index d4122faa5ab..d17842f56fb 100644 --- a/service/imagebuilder/api_op_GetLifecyclePolicy.go +++ b/service/imagebuilder/api_op_GetLifecyclePolicy.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetLifecyclePolicyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLifecyclePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_GetMarketplaceResource.go b/service/imagebuilder/api_op_GetMarketplaceResource.go index 97fb6324d76..d465b6bf3a6 100644 --- a/service/imagebuilder/api_op_GetMarketplaceResource.go +++ b/service/imagebuilder/api_op_GetMarketplaceResource.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetMarketplaceResourceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMarketplaceResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_GetWorkflow.go b/service/imagebuilder/api_op_GetWorkflow.go index c3c2fe5c068..3ba51327795 100644 --- a/service/imagebuilder/api_op_GetWorkflow.go +++ b/service/imagebuilder/api_op_GetWorkflow.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetWorkflowMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWorkflowValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_GetWorkflowExecution.go b/service/imagebuilder/api_op_GetWorkflowExecution.go index 641d610df6f..76dbdd9ce03 100644 --- a/service/imagebuilder/api_op_GetWorkflowExecution.go +++ b/service/imagebuilder/api_op_GetWorkflowExecution.go @@ -164,9 +164,6 @@ func (c *Client) addOperationGetWorkflowExecutionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWorkflowExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_GetWorkflowStepExecution.go b/service/imagebuilder/api_op_GetWorkflowStepExecution.go index 0a36c01a6ea..950ca4a9063 100644 --- a/service/imagebuilder/api_op_GetWorkflowStepExecution.go +++ b/service/imagebuilder/api_op_GetWorkflowStepExecution.go @@ -170,9 +170,6 @@ func (c *Client) addOperationGetWorkflowStepExecutionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWorkflowStepExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_ImportComponent.go b/service/imagebuilder/api_op_ImportComponent.go index c2a0b312d10..d35138df641 100644 --- a/service/imagebuilder/api_op_ImportComponent.go +++ b/service/imagebuilder/api_op_ImportComponent.go @@ -180,9 +180,6 @@ func (c *Client) addOperationImportComponentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opImportComponentMiddleware(stack, options); err != nil { return err } diff --git a/service/imagebuilder/api_op_ImportDiskImage.go b/service/imagebuilder/api_op_ImportDiskImage.go index 45914618b79..4ec3c1c0d58 100644 --- a/service/imagebuilder/api_op_ImportDiskImage.go +++ b/service/imagebuilder/api_op_ImportDiskImage.go @@ -166,9 +166,6 @@ func (c *Client) addOperationImportDiskImageMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opImportDiskImageMiddleware(stack, options); err != nil { return err } diff --git a/service/imagebuilder/api_op_ImportVmImage.go b/service/imagebuilder/api_op_ImportVmImage.go index 0eff9e6cf6d..2fef40ddab3 100644 --- a/service/imagebuilder/api_op_ImportVmImage.go +++ b/service/imagebuilder/api_op_ImportVmImage.go @@ -175,9 +175,6 @@ func (c *Client) addOperationImportVmImageMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opImportVmImageMiddleware(stack, options); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListComponentBuildVersions.go b/service/imagebuilder/api_op_ListComponentBuildVersions.go index 496c1fba56d..ee94e803378 100644 --- a/service/imagebuilder/api_op_ListComponentBuildVersions.go +++ b/service/imagebuilder/api_op_ListComponentBuildVersions.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListComponentBuildVersionsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListComponentBuildVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListComponents.go b/service/imagebuilder/api_op_ListComponents.go index e99d79d7539..cf04e8256b5 100644 --- a/service/imagebuilder/api_op_ListComponents.go +++ b/service/imagebuilder/api_op_ListComponents.go @@ -159,9 +159,6 @@ func (c *Client) addOperationListComponentsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListComponents(options.Region), middleware.Before); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListContainerRecipes.go b/service/imagebuilder/api_op_ListContainerRecipes.go index 3d216a88871..05b9ecbb0b4 100644 --- a/service/imagebuilder/api_op_ListContainerRecipes.go +++ b/service/imagebuilder/api_op_ListContainerRecipes.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListContainerRecipesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListContainerRecipes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListDistributionConfigurations.go b/service/imagebuilder/api_op_ListDistributionConfigurations.go index ed6dec7ff52..198a4623866 100644 --- a/service/imagebuilder/api_op_ListDistributionConfigurations.go +++ b/service/imagebuilder/api_op_ListDistributionConfigurations.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListDistributionConfigurationsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDistributionConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListImageBuildVersions.go b/service/imagebuilder/api_op_ListImageBuildVersions.go index a5897b028db..d283543f6b8 100644 --- a/service/imagebuilder/api_op_ListImageBuildVersions.go +++ b/service/imagebuilder/api_op_ListImageBuildVersions.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListImageBuildVersionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListImageBuildVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListImagePackages.go b/service/imagebuilder/api_op_ListImagePackages.go index 60ca24fddbe..a6ef98eae06 100644 --- a/service/imagebuilder/api_op_ListImagePackages.go +++ b/service/imagebuilder/api_op_ListImagePackages.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListImagePackagesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListImagePackagesValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListImagePipelineImages.go b/service/imagebuilder/api_op_ListImagePipelineImages.go index ccab9472fd0..259ae8ff49b 100644 --- a/service/imagebuilder/api_op_ListImagePipelineImages.go +++ b/service/imagebuilder/api_op_ListImagePipelineImages.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListImagePipelineImagesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListImagePipelineImagesValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListImagePipelines.go b/service/imagebuilder/api_op_ListImagePipelines.go index eb485616c18..d464389afe1 100644 --- a/service/imagebuilder/api_op_ListImagePipelines.go +++ b/service/imagebuilder/api_op_ListImagePipelines.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListImagePipelinesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImagePipelines(options.Region), middleware.Before); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListImageRecipes.go b/service/imagebuilder/api_op_ListImageRecipes.go index efec416a2ec..2c4ffa3be7d 100644 --- a/service/imagebuilder/api_op_ListImageRecipes.go +++ b/service/imagebuilder/api_op_ListImageRecipes.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListImageRecipesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImageRecipes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListImageScanFindingAggregations.go b/service/imagebuilder/api_op_ListImageScanFindingAggregations.go index 6d5d858bbf6..241f811da9d 100644 --- a/service/imagebuilder/api_op_ListImageScanFindingAggregations.go +++ b/service/imagebuilder/api_op_ListImageScanFindingAggregations.go @@ -156,9 +156,6 @@ func (c *Client) addOperationListImageScanFindingAggregationsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImageScanFindingAggregations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListImageScanFindings.go b/service/imagebuilder/api_op_ListImageScanFindings.go index 910133dd091..34f008b5cad 100644 --- a/service/imagebuilder/api_op_ListImageScanFindings.go +++ b/service/imagebuilder/api_op_ListImageScanFindings.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListImageScanFindingsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImageScanFindings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListImages.go b/service/imagebuilder/api_op_ListImages.go index 3d55a89d723..8065936b073 100644 --- a/service/imagebuilder/api_op_ListImages.go +++ b/service/imagebuilder/api_op_ListImages.go @@ -156,9 +156,6 @@ func (c *Client) addOperationListImagesMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImages(options.Region), middleware.Before); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListInfrastructureConfigurations.go b/service/imagebuilder/api_op_ListInfrastructureConfigurations.go index 2064381a8cd..757457df66d 100644 --- a/service/imagebuilder/api_op_ListInfrastructureConfigurations.go +++ b/service/imagebuilder/api_op_ListInfrastructureConfigurations.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListInfrastructureConfigurationsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInfrastructureConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListLifecycleExecutionResources.go b/service/imagebuilder/api_op_ListLifecycleExecutionResources.go index 9ae7eee110e..74d46269724 100644 --- a/service/imagebuilder/api_op_ListLifecycleExecutionResources.go +++ b/service/imagebuilder/api_op_ListLifecycleExecutionResources.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListLifecycleExecutionResourcesMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListLifecycleExecutionResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListLifecycleExecutions.go b/service/imagebuilder/api_op_ListLifecycleExecutions.go index de56aed5ba6..9ed7ea1ee49 100644 --- a/service/imagebuilder/api_op_ListLifecycleExecutions.go +++ b/service/imagebuilder/api_op_ListLifecycleExecutions.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListLifecycleExecutionsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListLifecycleExecutionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListLifecyclePolicies.go b/service/imagebuilder/api_op_ListLifecyclePolicies.go index cdb121ff9e9..c4bcd45b2fd 100644 --- a/service/imagebuilder/api_op_ListLifecyclePolicies.go +++ b/service/imagebuilder/api_op_ListLifecyclePolicies.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListLifecyclePoliciesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLifecyclePolicies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListTagsForResource.go b/service/imagebuilder/api_op_ListTagsForResource.go index f717858df20..d6293dc117c 100644 --- a/service/imagebuilder/api_op_ListTagsForResource.go +++ b/service/imagebuilder/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListWaitingWorkflowSteps.go b/service/imagebuilder/api_op_ListWaitingWorkflowSteps.go index 7734963ae0d..0b02435b007 100644 --- a/service/imagebuilder/api_op_ListWaitingWorkflowSteps.go +++ b/service/imagebuilder/api_op_ListWaitingWorkflowSteps.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListWaitingWorkflowStepsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWaitingWorkflowSteps(options.Region), middleware.Before); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListWorkflowBuildVersions.go b/service/imagebuilder/api_op_ListWorkflowBuildVersions.go index f306f0c3591..15f3abb9cc0 100644 --- a/service/imagebuilder/api_op_ListWorkflowBuildVersions.go +++ b/service/imagebuilder/api_op_ListWorkflowBuildVersions.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListWorkflowBuildVersionsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListWorkflowBuildVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListWorkflowExecutions.go b/service/imagebuilder/api_op_ListWorkflowExecutions.go index 8f587da743b..cbf49b64990 100644 --- a/service/imagebuilder/api_op_ListWorkflowExecutions.go +++ b/service/imagebuilder/api_op_ListWorkflowExecutions.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListWorkflowExecutionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListWorkflowExecutionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListWorkflowStepExecutions.go b/service/imagebuilder/api_op_ListWorkflowStepExecutions.go index 546cddf41c2..2971be297e8 100644 --- a/service/imagebuilder/api_op_ListWorkflowStepExecutions.go +++ b/service/imagebuilder/api_op_ListWorkflowStepExecutions.go @@ -145,9 +145,6 @@ func (c *Client) addOperationListWorkflowStepExecutionsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListWorkflowStepExecutionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_ListWorkflows.go b/service/imagebuilder/api_op_ListWorkflows.go index 68d438cdd9e..8d1e82db116 100644 --- a/service/imagebuilder/api_op_ListWorkflows.go +++ b/service/imagebuilder/api_op_ListWorkflows.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListWorkflowsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkflows(options.Region), middleware.Before); err != nil { return err } diff --git a/service/imagebuilder/api_op_PutComponentPolicy.go b/service/imagebuilder/api_op_PutComponentPolicy.go index fc7504cad0c..108716215b1 100644 --- a/service/imagebuilder/api_op_PutComponentPolicy.go +++ b/service/imagebuilder/api_op_PutComponentPolicy.go @@ -126,9 +126,6 @@ func (c *Client) addOperationPutComponentPolicyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutComponentPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_PutContainerRecipePolicy.go b/service/imagebuilder/api_op_PutContainerRecipePolicy.go index b11d1d37875..e0faa8906f0 100644 --- a/service/imagebuilder/api_op_PutContainerRecipePolicy.go +++ b/service/imagebuilder/api_op_PutContainerRecipePolicy.go @@ -128,9 +128,6 @@ func (c *Client) addOperationPutContainerRecipePolicyMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutContainerRecipePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_PutImagePolicy.go b/service/imagebuilder/api_op_PutImagePolicy.go index 3fb5ea712af..89040fb8e5d 100644 --- a/service/imagebuilder/api_op_PutImagePolicy.go +++ b/service/imagebuilder/api_op_PutImagePolicy.go @@ -126,9 +126,6 @@ func (c *Client) addOperationPutImagePolicyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutImagePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_PutImageRecipePolicy.go b/service/imagebuilder/api_op_PutImageRecipePolicy.go index 0f3f92f3e7b..dccce3860d0 100644 --- a/service/imagebuilder/api_op_PutImageRecipePolicy.go +++ b/service/imagebuilder/api_op_PutImageRecipePolicy.go @@ -127,9 +127,6 @@ func (c *Client) addOperationPutImageRecipePolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutImageRecipePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_SendWorkflowStepAction.go b/service/imagebuilder/api_op_SendWorkflowStepAction.go index 3d142d6b4c4..4b1d73be34f 100644 --- a/service/imagebuilder/api_op_SendWorkflowStepAction.go +++ b/service/imagebuilder/api_op_SendWorkflowStepAction.go @@ -142,9 +142,6 @@ func (c *Client) addOperationSendWorkflowStepActionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opSendWorkflowStepActionMiddleware(stack, options); err != nil { return err } diff --git a/service/imagebuilder/api_op_StartImagePipelineExecution.go b/service/imagebuilder/api_op_StartImagePipelineExecution.go index b3cf9f1b61a..542c42d278b 100644 --- a/service/imagebuilder/api_op_StartImagePipelineExecution.go +++ b/service/imagebuilder/api_op_StartImagePipelineExecution.go @@ -126,9 +126,6 @@ func (c *Client) addOperationStartImagePipelineExecutionMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartImagePipelineExecutionMiddleware(stack, options); err != nil { return err } diff --git a/service/imagebuilder/api_op_StartResourceStateUpdate.go b/service/imagebuilder/api_op_StartResourceStateUpdate.go index b3dfc3c8d5a..a53709777a0 100644 --- a/service/imagebuilder/api_op_StartResourceStateUpdate.go +++ b/service/imagebuilder/api_op_StartResourceStateUpdate.go @@ -146,9 +146,6 @@ func (c *Client) addOperationStartResourceStateUpdateMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartResourceStateUpdateMiddleware(stack, options); err != nil { return err } diff --git a/service/imagebuilder/api_op_TagResource.go b/service/imagebuilder/api_op_TagResource.go index a7d281392b5..4dff165bc91 100644 --- a/service/imagebuilder/api_op_TagResource.go +++ b/service/imagebuilder/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_UntagResource.go b/service/imagebuilder/api_op_UntagResource.go index 69032b47fa7..acecfac7765 100644 --- a/service/imagebuilder/api_op_UntagResource.go +++ b/service/imagebuilder/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/imagebuilder/api_op_UpdateDistributionConfiguration.go b/service/imagebuilder/api_op_UpdateDistributionConfiguration.go index 6b53f824a2a..53df2af4c0f 100644 --- a/service/imagebuilder/api_op_UpdateDistributionConfiguration.go +++ b/service/imagebuilder/api_op_UpdateDistributionConfiguration.go @@ -137,9 +137,6 @@ func (c *Client) addOperationUpdateDistributionConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateDistributionConfigurationMiddleware(stack, options); err != nil { return err } diff --git a/service/imagebuilder/api_op_UpdateImagePipeline.go b/service/imagebuilder/api_op_UpdateImagePipeline.go index 2064b07720a..3b92794ef6e 100644 --- a/service/imagebuilder/api_op_UpdateImagePipeline.go +++ b/service/imagebuilder/api_op_UpdateImagePipeline.go @@ -178,9 +178,6 @@ func (c *Client) addOperationUpdateImagePipelineMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateImagePipelineMiddleware(stack, options); err != nil { return err } diff --git a/service/imagebuilder/api_op_UpdateInfrastructureConfiguration.go b/service/imagebuilder/api_op_UpdateInfrastructureConfiguration.go index d421384d65b..5ac399bc300 100644 --- a/service/imagebuilder/api_op_UpdateInfrastructureConfiguration.go +++ b/service/imagebuilder/api_op_UpdateInfrastructureConfiguration.go @@ -190,9 +190,6 @@ func (c *Client) addOperationUpdateInfrastructureConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateInfrastructureConfigurationMiddleware(stack, options); err != nil { return err } diff --git a/service/imagebuilder/api_op_UpdateLifecyclePolicy.go b/service/imagebuilder/api_op_UpdateLifecyclePolicy.go index 17e4bb53e4a..9b1d5c67bd3 100644 --- a/service/imagebuilder/api_op_UpdateLifecyclePolicy.go +++ b/service/imagebuilder/api_op_UpdateLifecyclePolicy.go @@ -147,9 +147,6 @@ func (c *Client) addOperationUpdateLifecyclePolicyMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateLifecyclePolicyMiddleware(stack, options); err != nil { return err } diff --git a/service/imagebuilder/snapshot/api_op_CancelImageCreation.go.snap b/service/imagebuilder/snapshot/api_op_CancelImageCreation.go.snap index fe273e7e2a8..e680ed0295e 100644 --- a/service/imagebuilder/snapshot/api_op_CancelImageCreation.go.snap +++ b/service/imagebuilder/snapshot/api_op_CancelImageCreation.go.snap @@ -15,7 +15,6 @@ CancelImageCreation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_CancelLifecycleExecution.go.snap b/service/imagebuilder/snapshot/api_op_CancelLifecycleExecution.go.snap index 0bce1d27d77..7d32cd1638a 100644 --- a/service/imagebuilder/snapshot/api_op_CancelLifecycleExecution.go.snap +++ b/service/imagebuilder/snapshot/api_op_CancelLifecycleExecution.go.snap @@ -15,7 +15,6 @@ CancelLifecycleExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_CreateComponent.go.snap b/service/imagebuilder/snapshot/api_op_CreateComponent.go.snap index 28a16c4f51c..12b5fb80720 100644 --- a/service/imagebuilder/snapshot/api_op_CreateComponent.go.snap +++ b/service/imagebuilder/snapshot/api_op_CreateComponent.go.snap @@ -15,7 +15,6 @@ CreateComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_CreateContainerRecipe.go.snap b/service/imagebuilder/snapshot/api_op_CreateContainerRecipe.go.snap index a8b6ff0680c..2ca41ee4bec 100644 --- a/service/imagebuilder/snapshot/api_op_CreateContainerRecipe.go.snap +++ b/service/imagebuilder/snapshot/api_op_CreateContainerRecipe.go.snap @@ -15,7 +15,6 @@ CreateContainerRecipe Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_CreateDistributionConfiguration.go.snap b/service/imagebuilder/snapshot/api_op_CreateDistributionConfiguration.go.snap index aa025f719a1..4d83abfc84e 100644 --- a/service/imagebuilder/snapshot/api_op_CreateDistributionConfiguration.go.snap +++ b/service/imagebuilder/snapshot/api_op_CreateDistributionConfiguration.go.snap @@ -15,7 +15,6 @@ CreateDistributionConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_CreateImage.go.snap b/service/imagebuilder/snapshot/api_op_CreateImage.go.snap index f44a0126972..3f5b58ed664 100644 --- a/service/imagebuilder/snapshot/api_op_CreateImage.go.snap +++ b/service/imagebuilder/snapshot/api_op_CreateImage.go.snap @@ -15,7 +15,6 @@ CreateImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_CreateImagePipeline.go.snap b/service/imagebuilder/snapshot/api_op_CreateImagePipeline.go.snap index cca8c744c28..ff817ffaf1b 100644 --- a/service/imagebuilder/snapshot/api_op_CreateImagePipeline.go.snap +++ b/service/imagebuilder/snapshot/api_op_CreateImagePipeline.go.snap @@ -15,7 +15,6 @@ CreateImagePipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_CreateImageRecipe.go.snap b/service/imagebuilder/snapshot/api_op_CreateImageRecipe.go.snap index 082ee342488..616ba22b0f6 100644 --- a/service/imagebuilder/snapshot/api_op_CreateImageRecipe.go.snap +++ b/service/imagebuilder/snapshot/api_op_CreateImageRecipe.go.snap @@ -15,7 +15,6 @@ CreateImageRecipe Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_CreateInfrastructureConfiguration.go.snap b/service/imagebuilder/snapshot/api_op_CreateInfrastructureConfiguration.go.snap index a1dbc91c0fd..507d5e03d67 100644 --- a/service/imagebuilder/snapshot/api_op_CreateInfrastructureConfiguration.go.snap +++ b/service/imagebuilder/snapshot/api_op_CreateInfrastructureConfiguration.go.snap @@ -15,7 +15,6 @@ CreateInfrastructureConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_CreateLifecyclePolicy.go.snap b/service/imagebuilder/snapshot/api_op_CreateLifecyclePolicy.go.snap index 19588c546dc..a025e30cb7d 100644 --- a/service/imagebuilder/snapshot/api_op_CreateLifecyclePolicy.go.snap +++ b/service/imagebuilder/snapshot/api_op_CreateLifecyclePolicy.go.snap @@ -15,7 +15,6 @@ CreateLifecyclePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_CreateWorkflow.go.snap b/service/imagebuilder/snapshot/api_op_CreateWorkflow.go.snap index bf2c45ed836..02f333a6711 100644 --- a/service/imagebuilder/snapshot/api_op_CreateWorkflow.go.snap +++ b/service/imagebuilder/snapshot/api_op_CreateWorkflow.go.snap @@ -15,7 +15,6 @@ CreateWorkflow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_DeleteComponent.go.snap b/service/imagebuilder/snapshot/api_op_DeleteComponent.go.snap index 41afbb31f32..8511e11596a 100644 --- a/service/imagebuilder/snapshot/api_op_DeleteComponent.go.snap +++ b/service/imagebuilder/snapshot/api_op_DeleteComponent.go.snap @@ -14,7 +14,6 @@ DeleteComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_DeleteContainerRecipe.go.snap b/service/imagebuilder/snapshot/api_op_DeleteContainerRecipe.go.snap index f61c16a28a1..e78aafa9b21 100644 --- a/service/imagebuilder/snapshot/api_op_DeleteContainerRecipe.go.snap +++ b/service/imagebuilder/snapshot/api_op_DeleteContainerRecipe.go.snap @@ -14,7 +14,6 @@ DeleteContainerRecipe Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_DeleteDistributionConfiguration.go.snap b/service/imagebuilder/snapshot/api_op_DeleteDistributionConfiguration.go.snap index e957ca09459..515cd4a9e29 100644 --- a/service/imagebuilder/snapshot/api_op_DeleteDistributionConfiguration.go.snap +++ b/service/imagebuilder/snapshot/api_op_DeleteDistributionConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteDistributionConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_DeleteImage.go.snap b/service/imagebuilder/snapshot/api_op_DeleteImage.go.snap index 12d011fb117..1eed2629cd0 100644 --- a/service/imagebuilder/snapshot/api_op_DeleteImage.go.snap +++ b/service/imagebuilder/snapshot/api_op_DeleteImage.go.snap @@ -14,7 +14,6 @@ DeleteImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_DeleteImagePipeline.go.snap b/service/imagebuilder/snapshot/api_op_DeleteImagePipeline.go.snap index 527df64b4b4..4c2c78ddbdf 100644 --- a/service/imagebuilder/snapshot/api_op_DeleteImagePipeline.go.snap +++ b/service/imagebuilder/snapshot/api_op_DeleteImagePipeline.go.snap @@ -14,7 +14,6 @@ DeleteImagePipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_DeleteImageRecipe.go.snap b/service/imagebuilder/snapshot/api_op_DeleteImageRecipe.go.snap index 0c7a26d31ae..33099a2b9d1 100644 --- a/service/imagebuilder/snapshot/api_op_DeleteImageRecipe.go.snap +++ b/service/imagebuilder/snapshot/api_op_DeleteImageRecipe.go.snap @@ -14,7 +14,6 @@ DeleteImageRecipe Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_DeleteInfrastructureConfiguration.go.snap b/service/imagebuilder/snapshot/api_op_DeleteInfrastructureConfiguration.go.snap index af356b425df..e753f9d071e 100644 --- a/service/imagebuilder/snapshot/api_op_DeleteInfrastructureConfiguration.go.snap +++ b/service/imagebuilder/snapshot/api_op_DeleteInfrastructureConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteInfrastructureConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_DeleteLifecyclePolicy.go.snap b/service/imagebuilder/snapshot/api_op_DeleteLifecyclePolicy.go.snap index aba59434b8b..fe2afb7dac7 100644 --- a/service/imagebuilder/snapshot/api_op_DeleteLifecyclePolicy.go.snap +++ b/service/imagebuilder/snapshot/api_op_DeleteLifecyclePolicy.go.snap @@ -14,7 +14,6 @@ DeleteLifecyclePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_DeleteWorkflow.go.snap b/service/imagebuilder/snapshot/api_op_DeleteWorkflow.go.snap index f774183f26a..a86f5754e15 100644 --- a/service/imagebuilder/snapshot/api_op_DeleteWorkflow.go.snap +++ b/service/imagebuilder/snapshot/api_op_DeleteWorkflow.go.snap @@ -14,7 +14,6 @@ DeleteWorkflow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_GetComponent.go.snap b/service/imagebuilder/snapshot/api_op_GetComponent.go.snap index 5768daf3ae8..680830a7f4d 100644 --- a/service/imagebuilder/snapshot/api_op_GetComponent.go.snap +++ b/service/imagebuilder/snapshot/api_op_GetComponent.go.snap @@ -14,7 +14,6 @@ GetComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_GetComponentPolicy.go.snap b/service/imagebuilder/snapshot/api_op_GetComponentPolicy.go.snap index 441e4378803..2a4ad276d88 100644 --- a/service/imagebuilder/snapshot/api_op_GetComponentPolicy.go.snap +++ b/service/imagebuilder/snapshot/api_op_GetComponentPolicy.go.snap @@ -14,7 +14,6 @@ GetComponentPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_GetContainerRecipe.go.snap b/service/imagebuilder/snapshot/api_op_GetContainerRecipe.go.snap index 57f33cbd2cc..986cc7cfe53 100644 --- a/service/imagebuilder/snapshot/api_op_GetContainerRecipe.go.snap +++ b/service/imagebuilder/snapshot/api_op_GetContainerRecipe.go.snap @@ -14,7 +14,6 @@ GetContainerRecipe Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_GetContainerRecipePolicy.go.snap b/service/imagebuilder/snapshot/api_op_GetContainerRecipePolicy.go.snap index 9614f1cffa4..9b4a5e354d6 100644 --- a/service/imagebuilder/snapshot/api_op_GetContainerRecipePolicy.go.snap +++ b/service/imagebuilder/snapshot/api_op_GetContainerRecipePolicy.go.snap @@ -14,7 +14,6 @@ GetContainerRecipePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_GetDistributionConfiguration.go.snap b/service/imagebuilder/snapshot/api_op_GetDistributionConfiguration.go.snap index 13d4b5590a7..e6dbd2d4c64 100644 --- a/service/imagebuilder/snapshot/api_op_GetDistributionConfiguration.go.snap +++ b/service/imagebuilder/snapshot/api_op_GetDistributionConfiguration.go.snap @@ -14,7 +14,6 @@ GetDistributionConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_GetImage.go.snap b/service/imagebuilder/snapshot/api_op_GetImage.go.snap index 6d9e0dadb03..4fd71ba425a 100644 --- a/service/imagebuilder/snapshot/api_op_GetImage.go.snap +++ b/service/imagebuilder/snapshot/api_op_GetImage.go.snap @@ -14,7 +14,6 @@ GetImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_GetImagePipeline.go.snap b/service/imagebuilder/snapshot/api_op_GetImagePipeline.go.snap index bd55b5a6d41..87f118da68e 100644 --- a/service/imagebuilder/snapshot/api_op_GetImagePipeline.go.snap +++ b/service/imagebuilder/snapshot/api_op_GetImagePipeline.go.snap @@ -14,7 +14,6 @@ GetImagePipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_GetImagePolicy.go.snap b/service/imagebuilder/snapshot/api_op_GetImagePolicy.go.snap index c5e98164922..e7e06510151 100644 --- a/service/imagebuilder/snapshot/api_op_GetImagePolicy.go.snap +++ b/service/imagebuilder/snapshot/api_op_GetImagePolicy.go.snap @@ -14,7 +14,6 @@ GetImagePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_GetImageRecipe.go.snap b/service/imagebuilder/snapshot/api_op_GetImageRecipe.go.snap index bd3c0ef2eae..71d5192574b 100644 --- a/service/imagebuilder/snapshot/api_op_GetImageRecipe.go.snap +++ b/service/imagebuilder/snapshot/api_op_GetImageRecipe.go.snap @@ -14,7 +14,6 @@ GetImageRecipe Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_GetImageRecipePolicy.go.snap b/service/imagebuilder/snapshot/api_op_GetImageRecipePolicy.go.snap index a23d21c4071..9e1cc038e83 100644 --- a/service/imagebuilder/snapshot/api_op_GetImageRecipePolicy.go.snap +++ b/service/imagebuilder/snapshot/api_op_GetImageRecipePolicy.go.snap @@ -14,7 +14,6 @@ GetImageRecipePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_GetInfrastructureConfiguration.go.snap b/service/imagebuilder/snapshot/api_op_GetInfrastructureConfiguration.go.snap index 0c3152c661e..38c663318a8 100644 --- a/service/imagebuilder/snapshot/api_op_GetInfrastructureConfiguration.go.snap +++ b/service/imagebuilder/snapshot/api_op_GetInfrastructureConfiguration.go.snap @@ -14,7 +14,6 @@ GetInfrastructureConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_GetLifecycleExecution.go.snap b/service/imagebuilder/snapshot/api_op_GetLifecycleExecution.go.snap index 2f12f06282f..2cc1be5c4fd 100644 --- a/service/imagebuilder/snapshot/api_op_GetLifecycleExecution.go.snap +++ b/service/imagebuilder/snapshot/api_op_GetLifecycleExecution.go.snap @@ -14,7 +14,6 @@ GetLifecycleExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_GetLifecyclePolicy.go.snap b/service/imagebuilder/snapshot/api_op_GetLifecyclePolicy.go.snap index d6545bfa017..4b0e5f0b1b7 100644 --- a/service/imagebuilder/snapshot/api_op_GetLifecyclePolicy.go.snap +++ b/service/imagebuilder/snapshot/api_op_GetLifecyclePolicy.go.snap @@ -14,7 +14,6 @@ GetLifecyclePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_GetMarketplaceResource.go.snap b/service/imagebuilder/snapshot/api_op_GetMarketplaceResource.go.snap index a3671ecbbca..50d03f35881 100644 --- a/service/imagebuilder/snapshot/api_op_GetMarketplaceResource.go.snap +++ b/service/imagebuilder/snapshot/api_op_GetMarketplaceResource.go.snap @@ -14,7 +14,6 @@ GetMarketplaceResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_GetWorkflow.go.snap b/service/imagebuilder/snapshot/api_op_GetWorkflow.go.snap index 3413cbe7fa8..bfa3bc8a6c8 100644 --- a/service/imagebuilder/snapshot/api_op_GetWorkflow.go.snap +++ b/service/imagebuilder/snapshot/api_op_GetWorkflow.go.snap @@ -14,7 +14,6 @@ GetWorkflow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_GetWorkflowExecution.go.snap b/service/imagebuilder/snapshot/api_op_GetWorkflowExecution.go.snap index df7d7e6f548..eacc2deef0e 100644 --- a/service/imagebuilder/snapshot/api_op_GetWorkflowExecution.go.snap +++ b/service/imagebuilder/snapshot/api_op_GetWorkflowExecution.go.snap @@ -14,7 +14,6 @@ GetWorkflowExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_GetWorkflowStepExecution.go.snap b/service/imagebuilder/snapshot/api_op_GetWorkflowStepExecution.go.snap index 19f1536fd70..5abdaa10251 100644 --- a/service/imagebuilder/snapshot/api_op_GetWorkflowStepExecution.go.snap +++ b/service/imagebuilder/snapshot/api_op_GetWorkflowStepExecution.go.snap @@ -14,7 +14,6 @@ GetWorkflowStepExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_ImportComponent.go.snap b/service/imagebuilder/snapshot/api_op_ImportComponent.go.snap index 35a233ff4d2..e9799c3604c 100644 --- a/service/imagebuilder/snapshot/api_op_ImportComponent.go.snap +++ b/service/imagebuilder/snapshot/api_op_ImportComponent.go.snap @@ -15,7 +15,6 @@ ImportComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_ImportDiskImage.go.snap b/service/imagebuilder/snapshot/api_op_ImportDiskImage.go.snap index 4d2a0b32ca9..42d26390583 100644 --- a/service/imagebuilder/snapshot/api_op_ImportDiskImage.go.snap +++ b/service/imagebuilder/snapshot/api_op_ImportDiskImage.go.snap @@ -15,7 +15,6 @@ ImportDiskImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_ImportVmImage.go.snap b/service/imagebuilder/snapshot/api_op_ImportVmImage.go.snap index f286d5dff6e..9a57debef00 100644 --- a/service/imagebuilder/snapshot/api_op_ImportVmImage.go.snap +++ b/service/imagebuilder/snapshot/api_op_ImportVmImage.go.snap @@ -15,7 +15,6 @@ ImportVmImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_ListComponentBuildVersions.go.snap b/service/imagebuilder/snapshot/api_op_ListComponentBuildVersions.go.snap index ac062cf3f05..8049474a7b8 100644 --- a/service/imagebuilder/snapshot/api_op_ListComponentBuildVersions.go.snap +++ b/service/imagebuilder/snapshot/api_op_ListComponentBuildVersions.go.snap @@ -14,7 +14,6 @@ ListComponentBuildVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_ListComponents.go.snap b/service/imagebuilder/snapshot/api_op_ListComponents.go.snap index 53b6f454dde..2e97dba2ec7 100644 --- a/service/imagebuilder/snapshot/api_op_ListComponents.go.snap +++ b/service/imagebuilder/snapshot/api_op_ListComponents.go.snap @@ -13,7 +13,6 @@ ListComponents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_ListContainerRecipes.go.snap b/service/imagebuilder/snapshot/api_op_ListContainerRecipes.go.snap index 2cb26cf1757..6d4deea070b 100644 --- a/service/imagebuilder/snapshot/api_op_ListContainerRecipes.go.snap +++ b/service/imagebuilder/snapshot/api_op_ListContainerRecipes.go.snap @@ -13,7 +13,6 @@ ListContainerRecipes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_ListDistributionConfigurations.go.snap b/service/imagebuilder/snapshot/api_op_ListDistributionConfigurations.go.snap index b4e10efa41d..fe5ba680ae9 100644 --- a/service/imagebuilder/snapshot/api_op_ListDistributionConfigurations.go.snap +++ b/service/imagebuilder/snapshot/api_op_ListDistributionConfigurations.go.snap @@ -13,7 +13,6 @@ ListDistributionConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_ListImageBuildVersions.go.snap b/service/imagebuilder/snapshot/api_op_ListImageBuildVersions.go.snap index e4120ae0ea4..0a13bd4dbd3 100644 --- a/service/imagebuilder/snapshot/api_op_ListImageBuildVersions.go.snap +++ b/service/imagebuilder/snapshot/api_op_ListImageBuildVersions.go.snap @@ -14,7 +14,6 @@ ListImageBuildVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_ListImagePackages.go.snap b/service/imagebuilder/snapshot/api_op_ListImagePackages.go.snap index dce3f13d740..586997e8576 100644 --- a/service/imagebuilder/snapshot/api_op_ListImagePackages.go.snap +++ b/service/imagebuilder/snapshot/api_op_ListImagePackages.go.snap @@ -14,7 +14,6 @@ ListImagePackages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_ListImagePipelineImages.go.snap b/service/imagebuilder/snapshot/api_op_ListImagePipelineImages.go.snap index ff78fd1b2d1..eb09ed3a9e3 100644 --- a/service/imagebuilder/snapshot/api_op_ListImagePipelineImages.go.snap +++ b/service/imagebuilder/snapshot/api_op_ListImagePipelineImages.go.snap @@ -14,7 +14,6 @@ ListImagePipelineImages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_ListImagePipelines.go.snap b/service/imagebuilder/snapshot/api_op_ListImagePipelines.go.snap index 8745d1fa397..56052e10305 100644 --- a/service/imagebuilder/snapshot/api_op_ListImagePipelines.go.snap +++ b/service/imagebuilder/snapshot/api_op_ListImagePipelines.go.snap @@ -13,7 +13,6 @@ ListImagePipelines Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_ListImageRecipes.go.snap b/service/imagebuilder/snapshot/api_op_ListImageRecipes.go.snap index 7d0c6a4406e..782872322e1 100644 --- a/service/imagebuilder/snapshot/api_op_ListImageRecipes.go.snap +++ b/service/imagebuilder/snapshot/api_op_ListImageRecipes.go.snap @@ -13,7 +13,6 @@ ListImageRecipes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_ListImageScanFindingAggregations.go.snap b/service/imagebuilder/snapshot/api_op_ListImageScanFindingAggregations.go.snap index 1da00f7d2f8..128cbaaf5f4 100644 --- a/service/imagebuilder/snapshot/api_op_ListImageScanFindingAggregations.go.snap +++ b/service/imagebuilder/snapshot/api_op_ListImageScanFindingAggregations.go.snap @@ -13,7 +13,6 @@ ListImageScanFindingAggregations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_ListImageScanFindings.go.snap b/service/imagebuilder/snapshot/api_op_ListImageScanFindings.go.snap index ce281bdb881..94ca7524c90 100644 --- a/service/imagebuilder/snapshot/api_op_ListImageScanFindings.go.snap +++ b/service/imagebuilder/snapshot/api_op_ListImageScanFindings.go.snap @@ -13,7 +13,6 @@ ListImageScanFindings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_ListImages.go.snap b/service/imagebuilder/snapshot/api_op_ListImages.go.snap index c7c5258ccda..5a1014b1333 100644 --- a/service/imagebuilder/snapshot/api_op_ListImages.go.snap +++ b/service/imagebuilder/snapshot/api_op_ListImages.go.snap @@ -13,7 +13,6 @@ ListImages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_ListInfrastructureConfigurations.go.snap b/service/imagebuilder/snapshot/api_op_ListInfrastructureConfigurations.go.snap index d474df3c918..5219e81e2ea 100644 --- a/service/imagebuilder/snapshot/api_op_ListInfrastructureConfigurations.go.snap +++ b/service/imagebuilder/snapshot/api_op_ListInfrastructureConfigurations.go.snap @@ -13,7 +13,6 @@ ListInfrastructureConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_ListLifecycleExecutionResources.go.snap b/service/imagebuilder/snapshot/api_op_ListLifecycleExecutionResources.go.snap index 4c9198d6597..54c05b04ebd 100644 --- a/service/imagebuilder/snapshot/api_op_ListLifecycleExecutionResources.go.snap +++ b/service/imagebuilder/snapshot/api_op_ListLifecycleExecutionResources.go.snap @@ -14,7 +14,6 @@ ListLifecycleExecutionResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_ListLifecycleExecutions.go.snap b/service/imagebuilder/snapshot/api_op_ListLifecycleExecutions.go.snap index 2ac0b914de2..0ddb1f8521d 100644 --- a/service/imagebuilder/snapshot/api_op_ListLifecycleExecutions.go.snap +++ b/service/imagebuilder/snapshot/api_op_ListLifecycleExecutions.go.snap @@ -14,7 +14,6 @@ ListLifecycleExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_ListLifecyclePolicies.go.snap b/service/imagebuilder/snapshot/api_op_ListLifecyclePolicies.go.snap index 10304b72b5c..533d943a484 100644 --- a/service/imagebuilder/snapshot/api_op_ListLifecyclePolicies.go.snap +++ b/service/imagebuilder/snapshot/api_op_ListLifecyclePolicies.go.snap @@ -13,7 +13,6 @@ ListLifecyclePolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_ListTagsForResource.go.snap b/service/imagebuilder/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/imagebuilder/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/imagebuilder/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_ListWaitingWorkflowSteps.go.snap b/service/imagebuilder/snapshot/api_op_ListWaitingWorkflowSteps.go.snap index 5e1f01e286d..bc47ff8026d 100644 --- a/service/imagebuilder/snapshot/api_op_ListWaitingWorkflowSteps.go.snap +++ b/service/imagebuilder/snapshot/api_op_ListWaitingWorkflowSteps.go.snap @@ -13,7 +13,6 @@ ListWaitingWorkflowSteps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_ListWorkflowBuildVersions.go.snap b/service/imagebuilder/snapshot/api_op_ListWorkflowBuildVersions.go.snap index 6716d4a1bcb..5f3d44a0acb 100644 --- a/service/imagebuilder/snapshot/api_op_ListWorkflowBuildVersions.go.snap +++ b/service/imagebuilder/snapshot/api_op_ListWorkflowBuildVersions.go.snap @@ -14,7 +14,6 @@ ListWorkflowBuildVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_ListWorkflowExecutions.go.snap b/service/imagebuilder/snapshot/api_op_ListWorkflowExecutions.go.snap index 0b123a78ab9..e6cbf982ac8 100644 --- a/service/imagebuilder/snapshot/api_op_ListWorkflowExecutions.go.snap +++ b/service/imagebuilder/snapshot/api_op_ListWorkflowExecutions.go.snap @@ -14,7 +14,6 @@ ListWorkflowExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_ListWorkflowStepExecutions.go.snap b/service/imagebuilder/snapshot/api_op_ListWorkflowStepExecutions.go.snap index 04869befd5f..20af047a2e2 100644 --- a/service/imagebuilder/snapshot/api_op_ListWorkflowStepExecutions.go.snap +++ b/service/imagebuilder/snapshot/api_op_ListWorkflowStepExecutions.go.snap @@ -14,7 +14,6 @@ ListWorkflowStepExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_ListWorkflows.go.snap b/service/imagebuilder/snapshot/api_op_ListWorkflows.go.snap index eda65b9859b..a58c50557a2 100644 --- a/service/imagebuilder/snapshot/api_op_ListWorkflows.go.snap +++ b/service/imagebuilder/snapshot/api_op_ListWorkflows.go.snap @@ -13,7 +13,6 @@ ListWorkflows Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_PutComponentPolicy.go.snap b/service/imagebuilder/snapshot/api_op_PutComponentPolicy.go.snap index 30559e8252e..ba44175f391 100644 --- a/service/imagebuilder/snapshot/api_op_PutComponentPolicy.go.snap +++ b/service/imagebuilder/snapshot/api_op_PutComponentPolicy.go.snap @@ -14,7 +14,6 @@ PutComponentPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_PutContainerRecipePolicy.go.snap b/service/imagebuilder/snapshot/api_op_PutContainerRecipePolicy.go.snap index 1eb384f7c60..8892113d138 100644 --- a/service/imagebuilder/snapshot/api_op_PutContainerRecipePolicy.go.snap +++ b/service/imagebuilder/snapshot/api_op_PutContainerRecipePolicy.go.snap @@ -14,7 +14,6 @@ PutContainerRecipePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_PutImagePolicy.go.snap b/service/imagebuilder/snapshot/api_op_PutImagePolicy.go.snap index 6205979a441..b063833cdea 100644 --- a/service/imagebuilder/snapshot/api_op_PutImagePolicy.go.snap +++ b/service/imagebuilder/snapshot/api_op_PutImagePolicy.go.snap @@ -14,7 +14,6 @@ PutImagePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_PutImageRecipePolicy.go.snap b/service/imagebuilder/snapshot/api_op_PutImageRecipePolicy.go.snap index 792d00a0642..5d2a4ea19b3 100644 --- a/service/imagebuilder/snapshot/api_op_PutImageRecipePolicy.go.snap +++ b/service/imagebuilder/snapshot/api_op_PutImageRecipePolicy.go.snap @@ -14,7 +14,6 @@ PutImageRecipePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_SendWorkflowStepAction.go.snap b/service/imagebuilder/snapshot/api_op_SendWorkflowStepAction.go.snap index f4462183d87..853bca3c5ee 100644 --- a/service/imagebuilder/snapshot/api_op_SendWorkflowStepAction.go.snap +++ b/service/imagebuilder/snapshot/api_op_SendWorkflowStepAction.go.snap @@ -15,7 +15,6 @@ SendWorkflowStepAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_StartImagePipelineExecution.go.snap b/service/imagebuilder/snapshot/api_op_StartImagePipelineExecution.go.snap index d7e68ee15d1..45e692114cc 100644 --- a/service/imagebuilder/snapshot/api_op_StartImagePipelineExecution.go.snap +++ b/service/imagebuilder/snapshot/api_op_StartImagePipelineExecution.go.snap @@ -15,7 +15,6 @@ StartImagePipelineExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_StartResourceStateUpdate.go.snap b/service/imagebuilder/snapshot/api_op_StartResourceStateUpdate.go.snap index 02b25222b25..e2234f3975a 100644 --- a/service/imagebuilder/snapshot/api_op_StartResourceStateUpdate.go.snap +++ b/service/imagebuilder/snapshot/api_op_StartResourceStateUpdate.go.snap @@ -15,7 +15,6 @@ StartResourceStateUpdate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_TagResource.go.snap b/service/imagebuilder/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/imagebuilder/snapshot/api_op_TagResource.go.snap +++ b/service/imagebuilder/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_UntagResource.go.snap b/service/imagebuilder/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/imagebuilder/snapshot/api_op_UntagResource.go.snap +++ b/service/imagebuilder/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_UpdateDistributionConfiguration.go.snap b/service/imagebuilder/snapshot/api_op_UpdateDistributionConfiguration.go.snap index a722feddc47..a4f712245dd 100644 --- a/service/imagebuilder/snapshot/api_op_UpdateDistributionConfiguration.go.snap +++ b/service/imagebuilder/snapshot/api_op_UpdateDistributionConfiguration.go.snap @@ -15,7 +15,6 @@ UpdateDistributionConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_UpdateImagePipeline.go.snap b/service/imagebuilder/snapshot/api_op_UpdateImagePipeline.go.snap index d7cffd6b569..ceff6ccbd97 100644 --- a/service/imagebuilder/snapshot/api_op_UpdateImagePipeline.go.snap +++ b/service/imagebuilder/snapshot/api_op_UpdateImagePipeline.go.snap @@ -15,7 +15,6 @@ UpdateImagePipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_UpdateInfrastructureConfiguration.go.snap b/service/imagebuilder/snapshot/api_op_UpdateInfrastructureConfiguration.go.snap index 558d6970e38..b8983b7e25f 100644 --- a/service/imagebuilder/snapshot/api_op_UpdateInfrastructureConfiguration.go.snap +++ b/service/imagebuilder/snapshot/api_op_UpdateInfrastructureConfiguration.go.snap @@ -15,7 +15,6 @@ UpdateInfrastructureConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/imagebuilder/snapshot/api_op_UpdateLifecyclePolicy.go.snap b/service/imagebuilder/snapshot/api_op_UpdateLifecyclePolicy.go.snap index b6f1d142e56..3409daba9cb 100644 --- a/service/imagebuilder/snapshot/api_op_UpdateLifecyclePolicy.go.snap +++ b/service/imagebuilder/snapshot/api_op_UpdateLifecyclePolicy.go.snap @@ -15,7 +15,6 @@ UpdateLifecyclePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/api_client.go b/service/inspector/api_client.go index c40bbd14a8a..72bd5d9e405 100644 --- a/service/inspector/api_client.go +++ b/service/inspector/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/inspector/api_op_AddAttributesToFindings.go b/service/inspector/api_op_AddAttributesToFindings.go index 2c72327f088..0dc465a3a75 100644 --- a/service/inspector/api_op_AddAttributesToFindings.go +++ b/service/inspector/api_op_AddAttributesToFindings.go @@ -121,9 +121,6 @@ func (c *Client) addOperationAddAttributesToFindingsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddAttributesToFindingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_CreateAssessmentTarget.go b/service/inspector/api_op_CreateAssessmentTarget.go index df620ecb8e2..611009abf2f 100644 --- a/service/inspector/api_op_CreateAssessmentTarget.go +++ b/service/inspector/api_op_CreateAssessmentTarget.go @@ -129,9 +129,6 @@ func (c *Client) addOperationCreateAssessmentTargetMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAssessmentTargetValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_CreateAssessmentTemplate.go b/service/inspector/api_op_CreateAssessmentTemplate.go index eed55069184..5bd0481d731 100644 --- a/service/inspector/api_op_CreateAssessmentTemplate.go +++ b/service/inspector/api_op_CreateAssessmentTemplate.go @@ -145,9 +145,6 @@ func (c *Client) addOperationCreateAssessmentTemplateMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAssessmentTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_CreateExclusionsPreview.go b/service/inspector/api_op_CreateExclusionsPreview.go index 06a4e91d47b..dcc5b5f7904 100644 --- a/service/inspector/api_op_CreateExclusionsPreview.go +++ b/service/inspector/api_op_CreateExclusionsPreview.go @@ -118,9 +118,6 @@ func (c *Client) addOperationCreateExclusionsPreviewMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateExclusionsPreviewValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_CreateResourceGroup.go b/service/inspector/api_op_CreateResourceGroup.go index 1b72b901d99..4afd0c5f3e5 100644 --- a/service/inspector/api_op_CreateResourceGroup.go +++ b/service/inspector/api_op_CreateResourceGroup.go @@ -120,9 +120,6 @@ func (c *Client) addOperationCreateResourceGroupMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateResourceGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_DeleteAssessmentRun.go b/service/inspector/api_op_DeleteAssessmentRun.go index 59658e16f05..aa15b37a8d3 100644 --- a/service/inspector/api_op_DeleteAssessmentRun.go +++ b/service/inspector/api_op_DeleteAssessmentRun.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteAssessmentRunMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAssessmentRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_DeleteAssessmentTarget.go b/service/inspector/api_op_DeleteAssessmentTarget.go index f6a5cb33a69..39199e6954c 100644 --- a/service/inspector/api_op_DeleteAssessmentTarget.go +++ b/service/inspector/api_op_DeleteAssessmentTarget.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteAssessmentTargetMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAssessmentTargetValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_DeleteAssessmentTemplate.go b/service/inspector/api_op_DeleteAssessmentTemplate.go index 14e4df8080a..2655e581e8e 100644 --- a/service/inspector/api_op_DeleteAssessmentTemplate.go +++ b/service/inspector/api_op_DeleteAssessmentTemplate.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteAssessmentTemplateMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAssessmentTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_DescribeAssessmentRuns.go b/service/inspector/api_op_DescribeAssessmentRuns.go index ce17f68c52d..d5566c80f75 100644 --- a/service/inspector/api_op_DescribeAssessmentRuns.go +++ b/service/inspector/api_op_DescribeAssessmentRuns.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeAssessmentRunsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAssessmentRunsValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_DescribeAssessmentTargets.go b/service/inspector/api_op_DescribeAssessmentTargets.go index b5b6e42f162..3eba03f019a 100644 --- a/service/inspector/api_op_DescribeAssessmentTargets.go +++ b/service/inspector/api_op_DescribeAssessmentTargets.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeAssessmentTargetsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAssessmentTargetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_DescribeAssessmentTemplates.go b/service/inspector/api_op_DescribeAssessmentTemplates.go index 5296143ecd7..3d2ada8cd0c 100644 --- a/service/inspector/api_op_DescribeAssessmentTemplates.go +++ b/service/inspector/api_op_DescribeAssessmentTemplates.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeAssessmentTemplatesMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAssessmentTemplatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_DescribeCrossAccountAccessRole.go b/service/inspector/api_op_DescribeCrossAccountAccessRole.go index eaa6eeb00d7..bb94f16ea2f 100644 --- a/service/inspector/api_op_DescribeCrossAccountAccessRole.go +++ b/service/inspector/api_op_DescribeCrossAccountAccessRole.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDescribeCrossAccountAccessRoleMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCrossAccountAccessRole(options.Region), middleware.Before); err != nil { return err } diff --git a/service/inspector/api_op_DescribeExclusions.go b/service/inspector/api_op_DescribeExclusions.go index 69e4ba38e64..ea2fe1376a1 100644 --- a/service/inspector/api_op_DescribeExclusions.go +++ b/service/inspector/api_op_DescribeExclusions.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeExclusionsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeExclusionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_DescribeFindings.go b/service/inspector/api_op_DescribeFindings.go index 2cf88edb70d..82f30ebb4db 100644 --- a/service/inspector/api_op_DescribeFindings.go +++ b/service/inspector/api_op_DescribeFindings.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeFindingsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFindingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_DescribeResourceGroups.go b/service/inspector/api_op_DescribeResourceGroups.go index de40aba569b..a0a3d2240d4 100644 --- a/service/inspector/api_op_DescribeResourceGroups.go +++ b/service/inspector/api_op_DescribeResourceGroups.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeResourceGroupsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeResourceGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_DescribeRulesPackages.go b/service/inspector/api_op_DescribeRulesPackages.go index 355cdfe203e..b9d2468128b 100644 --- a/service/inspector/api_op_DescribeRulesPackages.go +++ b/service/inspector/api_op_DescribeRulesPackages.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeRulesPackagesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRulesPackagesValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_GetAssessmentReport.go b/service/inspector/api_op_GetAssessmentReport.go index 9cab5f4df67..d5d32dee308 100644 --- a/service/inspector/api_op_GetAssessmentReport.go +++ b/service/inspector/api_op_GetAssessmentReport.go @@ -135,9 +135,6 @@ func (c *Client) addOperationGetAssessmentReportMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAssessmentReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_GetExclusionsPreview.go b/service/inspector/api_op_GetExclusionsPreview.go index 4e0c7165bc8..022a9738012 100644 --- a/service/inspector/api_op_GetExclusionsPreview.go +++ b/service/inspector/api_op_GetExclusionsPreview.go @@ -145,9 +145,6 @@ func (c *Client) addOperationGetExclusionsPreviewMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetExclusionsPreviewValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_GetTelemetryMetadata.go b/service/inspector/api_op_GetTelemetryMetadata.go index 69e0c19616f..bcf66372eb3 100644 --- a/service/inspector/api_op_GetTelemetryMetadata.go +++ b/service/inspector/api_op_GetTelemetryMetadata.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetTelemetryMetadataMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTelemetryMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_ListAssessmentRunAgents.go b/service/inspector/api_op_ListAssessmentRunAgents.go index 3277dfcf39f..34d21059739 100644 --- a/service/inspector/api_op_ListAssessmentRunAgents.go +++ b/service/inspector/api_op_ListAssessmentRunAgents.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListAssessmentRunAgentsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAssessmentRunAgentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_ListAssessmentRuns.go b/service/inspector/api_op_ListAssessmentRuns.go index 2bb95df2081..750be86a4e5 100644 --- a/service/inspector/api_op_ListAssessmentRuns.go +++ b/service/inspector/api_op_ListAssessmentRuns.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListAssessmentRunsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssessmentRuns(options.Region), middleware.Before); err != nil { return err } diff --git a/service/inspector/api_op_ListAssessmentTargets.go b/service/inspector/api_op_ListAssessmentTargets.go index 869b91a2162..ad48ec98245 100644 --- a/service/inspector/api_op_ListAssessmentTargets.go +++ b/service/inspector/api_op_ListAssessmentTargets.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListAssessmentTargetsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssessmentTargets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/inspector/api_op_ListAssessmentTemplates.go b/service/inspector/api_op_ListAssessmentTemplates.go index 59bb113504a..e0638172514 100644 --- a/service/inspector/api_op_ListAssessmentTemplates.go +++ b/service/inspector/api_op_ListAssessmentTemplates.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListAssessmentTemplatesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssessmentTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/inspector/api_op_ListEventSubscriptions.go b/service/inspector/api_op_ListEventSubscriptions.go index d042b644da7..f44eff438ed 100644 --- a/service/inspector/api_op_ListEventSubscriptions.go +++ b/service/inspector/api_op_ListEventSubscriptions.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListEventSubscriptionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEventSubscriptions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/inspector/api_op_ListExclusions.go b/service/inspector/api_op_ListExclusions.go index 8fd2dff797b..5fe75d2e26d 100644 --- a/service/inspector/api_op_ListExclusions.go +++ b/service/inspector/api_op_ListExclusions.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListExclusionsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListExclusionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_ListFindings.go b/service/inspector/api_op_ListFindings.go index 879e925674a..41ab9afea6e 100644 --- a/service/inspector/api_op_ListFindings.go +++ b/service/inspector/api_op_ListFindings.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListFindingsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFindingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_ListRulesPackages.go b/service/inspector/api_op_ListRulesPackages.go index 8347abfa670..fc2771e8711 100644 --- a/service/inspector/api_op_ListRulesPackages.go +++ b/service/inspector/api_op_ListRulesPackages.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListRulesPackagesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRulesPackages(options.Region), middleware.Before); err != nil { return err } diff --git a/service/inspector/api_op_ListTagsForResource.go b/service/inspector/api_op_ListTagsForResource.go index f647c792327..60889a6fe1a 100644 --- a/service/inspector/api_op_ListTagsForResource.go +++ b/service/inspector/api_op_ListTagsForResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_PreviewAgents.go b/service/inspector/api_op_PreviewAgents.go index fb379e94407..5499d239039 100644 --- a/service/inspector/api_op_PreviewAgents.go +++ b/service/inspector/api_op_PreviewAgents.go @@ -131,9 +131,6 @@ func (c *Client) addOperationPreviewAgentsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPreviewAgentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_RegisterCrossAccountAccessRole.go b/service/inspector/api_op_RegisterCrossAccountAccessRole.go index 0d79cafa547..75eaff26122 100644 --- a/service/inspector/api_op_RegisterCrossAccountAccessRole.go +++ b/service/inspector/api_op_RegisterCrossAccountAccessRole.go @@ -109,9 +109,6 @@ func (c *Client) addOperationRegisterCrossAccountAccessRoleMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterCrossAccountAccessRoleValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_RemoveAttributesFromFindings.go b/service/inspector/api_op_RemoveAttributesFromFindings.go index 08628a163d7..75bb1c084f8 100644 --- a/service/inspector/api_op_RemoveAttributesFromFindings.go +++ b/service/inspector/api_op_RemoveAttributesFromFindings.go @@ -122,9 +122,6 @@ func (c *Client) addOperationRemoveAttributesFromFindingsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveAttributesFromFindingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_SetTagsForResource.go b/service/inspector/api_op_SetTagsForResource.go index 76e1efb730d..44501905f3a 100644 --- a/service/inspector/api_op_SetTagsForResource.go +++ b/service/inspector/api_op_SetTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationSetTagsForResourceMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_StartAssessmentRun.go b/service/inspector/api_op_StartAssessmentRun.go index aa18baced9b..8da8cbd3f27 100644 --- a/service/inspector/api_op_StartAssessmentRun.go +++ b/service/inspector/api_op_StartAssessmentRun.go @@ -119,9 +119,6 @@ func (c *Client) addOperationStartAssessmentRunMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartAssessmentRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_StopAssessmentRun.go b/service/inspector/api_op_StopAssessmentRun.go index 5986e8c8734..a3e01271631 100644 --- a/service/inspector/api_op_StopAssessmentRun.go +++ b/service/inspector/api_op_StopAssessmentRun.go @@ -115,9 +115,6 @@ func (c *Client) addOperationStopAssessmentRunMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopAssessmentRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_SubscribeToEvent.go b/service/inspector/api_op_SubscribeToEvent.go index 0c4f2aafaff..10364519e80 100644 --- a/service/inspector/api_op_SubscribeToEvent.go +++ b/service/inspector/api_op_SubscribeToEvent.go @@ -120,9 +120,6 @@ func (c *Client) addOperationSubscribeToEventMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSubscribeToEventValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_UnsubscribeFromEvent.go b/service/inspector/api_op_UnsubscribeFromEvent.go index f73414eaa4c..7eee7a89551 100644 --- a/service/inspector/api_op_UnsubscribeFromEvent.go +++ b/service/inspector/api_op_UnsubscribeFromEvent.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUnsubscribeFromEventMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUnsubscribeFromEventValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector/api_op_UpdateAssessmentTarget.go b/service/inspector/api_op_UpdateAssessmentTarget.go index 7c122e5dbb6..dbc4d3038ef 100644 --- a/service/inspector/api_op_UpdateAssessmentTarget.go +++ b/service/inspector/api_op_UpdateAssessmentTarget.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdateAssessmentTargetMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAssessmentTargetValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector/snapshot/api_op_AddAttributesToFindings.go.snap b/service/inspector/snapshot/api_op_AddAttributesToFindings.go.snap index 99af18d0677..8394177ddcc 100644 --- a/service/inspector/snapshot/api_op_AddAttributesToFindings.go.snap +++ b/service/inspector/snapshot/api_op_AddAttributesToFindings.go.snap @@ -14,7 +14,6 @@ AddAttributesToFindings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_CreateAssessmentTarget.go.snap b/service/inspector/snapshot/api_op_CreateAssessmentTarget.go.snap index 25155b80192..2a064ba2457 100644 --- a/service/inspector/snapshot/api_op_CreateAssessmentTarget.go.snap +++ b/service/inspector/snapshot/api_op_CreateAssessmentTarget.go.snap @@ -14,7 +14,6 @@ CreateAssessmentTarget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_CreateAssessmentTemplate.go.snap b/service/inspector/snapshot/api_op_CreateAssessmentTemplate.go.snap index 81bd622d3b0..6e72a049bc9 100644 --- a/service/inspector/snapshot/api_op_CreateAssessmentTemplate.go.snap +++ b/service/inspector/snapshot/api_op_CreateAssessmentTemplate.go.snap @@ -14,7 +14,6 @@ CreateAssessmentTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_CreateExclusionsPreview.go.snap b/service/inspector/snapshot/api_op_CreateExclusionsPreview.go.snap index 510758f84eb..913ce3906a8 100644 --- a/service/inspector/snapshot/api_op_CreateExclusionsPreview.go.snap +++ b/service/inspector/snapshot/api_op_CreateExclusionsPreview.go.snap @@ -14,7 +14,6 @@ CreateExclusionsPreview Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_CreateResourceGroup.go.snap b/service/inspector/snapshot/api_op_CreateResourceGroup.go.snap index 74c5b4d404f..38316553911 100644 --- a/service/inspector/snapshot/api_op_CreateResourceGroup.go.snap +++ b/service/inspector/snapshot/api_op_CreateResourceGroup.go.snap @@ -14,7 +14,6 @@ CreateResourceGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_DeleteAssessmentRun.go.snap b/service/inspector/snapshot/api_op_DeleteAssessmentRun.go.snap index c7de7d42484..21a8c32c6df 100644 --- a/service/inspector/snapshot/api_op_DeleteAssessmentRun.go.snap +++ b/service/inspector/snapshot/api_op_DeleteAssessmentRun.go.snap @@ -14,7 +14,6 @@ DeleteAssessmentRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_DeleteAssessmentTarget.go.snap b/service/inspector/snapshot/api_op_DeleteAssessmentTarget.go.snap index 4dd801ecbf9..b5ed130a824 100644 --- a/service/inspector/snapshot/api_op_DeleteAssessmentTarget.go.snap +++ b/service/inspector/snapshot/api_op_DeleteAssessmentTarget.go.snap @@ -14,7 +14,6 @@ DeleteAssessmentTarget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_DeleteAssessmentTemplate.go.snap b/service/inspector/snapshot/api_op_DeleteAssessmentTemplate.go.snap index aca0090ee1d..3c934e0e2f0 100644 --- a/service/inspector/snapshot/api_op_DeleteAssessmentTemplate.go.snap +++ b/service/inspector/snapshot/api_op_DeleteAssessmentTemplate.go.snap @@ -14,7 +14,6 @@ DeleteAssessmentTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_DescribeAssessmentRuns.go.snap b/service/inspector/snapshot/api_op_DescribeAssessmentRuns.go.snap index 4f3e7520340..e1fa2e00c4a 100644 --- a/service/inspector/snapshot/api_op_DescribeAssessmentRuns.go.snap +++ b/service/inspector/snapshot/api_op_DescribeAssessmentRuns.go.snap @@ -14,7 +14,6 @@ DescribeAssessmentRuns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_DescribeAssessmentTargets.go.snap b/service/inspector/snapshot/api_op_DescribeAssessmentTargets.go.snap index 5bb87e69011..6e6b9fa1552 100644 --- a/service/inspector/snapshot/api_op_DescribeAssessmentTargets.go.snap +++ b/service/inspector/snapshot/api_op_DescribeAssessmentTargets.go.snap @@ -14,7 +14,6 @@ DescribeAssessmentTargets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_DescribeAssessmentTemplates.go.snap b/service/inspector/snapshot/api_op_DescribeAssessmentTemplates.go.snap index ac5e7ee2be7..2187a0d2470 100644 --- a/service/inspector/snapshot/api_op_DescribeAssessmentTemplates.go.snap +++ b/service/inspector/snapshot/api_op_DescribeAssessmentTemplates.go.snap @@ -14,7 +14,6 @@ DescribeAssessmentTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_DescribeCrossAccountAccessRole.go.snap b/service/inspector/snapshot/api_op_DescribeCrossAccountAccessRole.go.snap index f668c6a7ce3..e7a2ff9a898 100644 --- a/service/inspector/snapshot/api_op_DescribeCrossAccountAccessRole.go.snap +++ b/service/inspector/snapshot/api_op_DescribeCrossAccountAccessRole.go.snap @@ -13,7 +13,6 @@ DescribeCrossAccountAccessRole Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_DescribeExclusions.go.snap b/service/inspector/snapshot/api_op_DescribeExclusions.go.snap index 3b4bd4e546a..2eba65d2834 100644 --- a/service/inspector/snapshot/api_op_DescribeExclusions.go.snap +++ b/service/inspector/snapshot/api_op_DescribeExclusions.go.snap @@ -14,7 +14,6 @@ DescribeExclusions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_DescribeFindings.go.snap b/service/inspector/snapshot/api_op_DescribeFindings.go.snap index 97b2005199e..e383239e96a 100644 --- a/service/inspector/snapshot/api_op_DescribeFindings.go.snap +++ b/service/inspector/snapshot/api_op_DescribeFindings.go.snap @@ -14,7 +14,6 @@ DescribeFindings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_DescribeResourceGroups.go.snap b/service/inspector/snapshot/api_op_DescribeResourceGroups.go.snap index c7df6b9dabe..a531f208f6a 100644 --- a/service/inspector/snapshot/api_op_DescribeResourceGroups.go.snap +++ b/service/inspector/snapshot/api_op_DescribeResourceGroups.go.snap @@ -14,7 +14,6 @@ DescribeResourceGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_DescribeRulesPackages.go.snap b/service/inspector/snapshot/api_op_DescribeRulesPackages.go.snap index 9a881f25ba5..3bacf1017af 100644 --- a/service/inspector/snapshot/api_op_DescribeRulesPackages.go.snap +++ b/service/inspector/snapshot/api_op_DescribeRulesPackages.go.snap @@ -14,7 +14,6 @@ DescribeRulesPackages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_GetAssessmentReport.go.snap b/service/inspector/snapshot/api_op_GetAssessmentReport.go.snap index 6cf44686034..304460f1d1e 100644 --- a/service/inspector/snapshot/api_op_GetAssessmentReport.go.snap +++ b/service/inspector/snapshot/api_op_GetAssessmentReport.go.snap @@ -14,7 +14,6 @@ GetAssessmentReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_GetExclusionsPreview.go.snap b/service/inspector/snapshot/api_op_GetExclusionsPreview.go.snap index a72fadbe4d5..e3d82c6f1f3 100644 --- a/service/inspector/snapshot/api_op_GetExclusionsPreview.go.snap +++ b/service/inspector/snapshot/api_op_GetExclusionsPreview.go.snap @@ -14,7 +14,6 @@ GetExclusionsPreview Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_GetTelemetryMetadata.go.snap b/service/inspector/snapshot/api_op_GetTelemetryMetadata.go.snap index 3439da4fc8c..ac88fc38d8c 100644 --- a/service/inspector/snapshot/api_op_GetTelemetryMetadata.go.snap +++ b/service/inspector/snapshot/api_op_GetTelemetryMetadata.go.snap @@ -14,7 +14,6 @@ GetTelemetryMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_ListAssessmentRunAgents.go.snap b/service/inspector/snapshot/api_op_ListAssessmentRunAgents.go.snap index 319cbb32582..db7c88dd37b 100644 --- a/service/inspector/snapshot/api_op_ListAssessmentRunAgents.go.snap +++ b/service/inspector/snapshot/api_op_ListAssessmentRunAgents.go.snap @@ -14,7 +14,6 @@ ListAssessmentRunAgents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_ListAssessmentRuns.go.snap b/service/inspector/snapshot/api_op_ListAssessmentRuns.go.snap index 5dafc165018..0fa6051fad3 100644 --- a/service/inspector/snapshot/api_op_ListAssessmentRuns.go.snap +++ b/service/inspector/snapshot/api_op_ListAssessmentRuns.go.snap @@ -13,7 +13,6 @@ ListAssessmentRuns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_ListAssessmentTargets.go.snap b/service/inspector/snapshot/api_op_ListAssessmentTargets.go.snap index bd6ed93336d..a3c7c331b72 100644 --- a/service/inspector/snapshot/api_op_ListAssessmentTargets.go.snap +++ b/service/inspector/snapshot/api_op_ListAssessmentTargets.go.snap @@ -13,7 +13,6 @@ ListAssessmentTargets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_ListAssessmentTemplates.go.snap b/service/inspector/snapshot/api_op_ListAssessmentTemplates.go.snap index e1f7a4285dc..610fd051f21 100644 --- a/service/inspector/snapshot/api_op_ListAssessmentTemplates.go.snap +++ b/service/inspector/snapshot/api_op_ListAssessmentTemplates.go.snap @@ -13,7 +13,6 @@ ListAssessmentTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_ListEventSubscriptions.go.snap b/service/inspector/snapshot/api_op_ListEventSubscriptions.go.snap index 6125c4f9269..b2582a2b679 100644 --- a/service/inspector/snapshot/api_op_ListEventSubscriptions.go.snap +++ b/service/inspector/snapshot/api_op_ListEventSubscriptions.go.snap @@ -13,7 +13,6 @@ ListEventSubscriptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_ListExclusions.go.snap b/service/inspector/snapshot/api_op_ListExclusions.go.snap index 4bb5724e5cc..d0d238d387b 100644 --- a/service/inspector/snapshot/api_op_ListExclusions.go.snap +++ b/service/inspector/snapshot/api_op_ListExclusions.go.snap @@ -14,7 +14,6 @@ ListExclusions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_ListFindings.go.snap b/service/inspector/snapshot/api_op_ListFindings.go.snap index e49bf85b731..1cf1834a5e6 100644 --- a/service/inspector/snapshot/api_op_ListFindings.go.snap +++ b/service/inspector/snapshot/api_op_ListFindings.go.snap @@ -14,7 +14,6 @@ ListFindings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_ListRulesPackages.go.snap b/service/inspector/snapshot/api_op_ListRulesPackages.go.snap index 7e28b1ba958..a462c3d9f66 100644 --- a/service/inspector/snapshot/api_op_ListRulesPackages.go.snap +++ b/service/inspector/snapshot/api_op_ListRulesPackages.go.snap @@ -13,7 +13,6 @@ ListRulesPackages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_ListTagsForResource.go.snap b/service/inspector/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/inspector/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/inspector/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_PreviewAgents.go.snap b/service/inspector/snapshot/api_op_PreviewAgents.go.snap index 89d32efde67..9b7da8ec9ab 100644 --- a/service/inspector/snapshot/api_op_PreviewAgents.go.snap +++ b/service/inspector/snapshot/api_op_PreviewAgents.go.snap @@ -14,7 +14,6 @@ PreviewAgents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_RegisterCrossAccountAccessRole.go.snap b/service/inspector/snapshot/api_op_RegisterCrossAccountAccessRole.go.snap index 74fbe8946f9..3d803012773 100644 --- a/service/inspector/snapshot/api_op_RegisterCrossAccountAccessRole.go.snap +++ b/service/inspector/snapshot/api_op_RegisterCrossAccountAccessRole.go.snap @@ -14,7 +14,6 @@ RegisterCrossAccountAccessRole Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_RemoveAttributesFromFindings.go.snap b/service/inspector/snapshot/api_op_RemoveAttributesFromFindings.go.snap index cc0ea0d406b..e187f0a61e5 100644 --- a/service/inspector/snapshot/api_op_RemoveAttributesFromFindings.go.snap +++ b/service/inspector/snapshot/api_op_RemoveAttributesFromFindings.go.snap @@ -14,7 +14,6 @@ RemoveAttributesFromFindings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_SetTagsForResource.go.snap b/service/inspector/snapshot/api_op_SetTagsForResource.go.snap index 753244bc424..5295104f925 100644 --- a/service/inspector/snapshot/api_op_SetTagsForResource.go.snap +++ b/service/inspector/snapshot/api_op_SetTagsForResource.go.snap @@ -14,7 +14,6 @@ SetTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_StartAssessmentRun.go.snap b/service/inspector/snapshot/api_op_StartAssessmentRun.go.snap index 572b30c8b69..9968cd6c751 100644 --- a/service/inspector/snapshot/api_op_StartAssessmentRun.go.snap +++ b/service/inspector/snapshot/api_op_StartAssessmentRun.go.snap @@ -14,7 +14,6 @@ StartAssessmentRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_StopAssessmentRun.go.snap b/service/inspector/snapshot/api_op_StopAssessmentRun.go.snap index 94a69a0aa52..1b7118dbd65 100644 --- a/service/inspector/snapshot/api_op_StopAssessmentRun.go.snap +++ b/service/inspector/snapshot/api_op_StopAssessmentRun.go.snap @@ -14,7 +14,6 @@ StopAssessmentRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_SubscribeToEvent.go.snap b/service/inspector/snapshot/api_op_SubscribeToEvent.go.snap index fd684227d9c..9b0dd0f4b7e 100644 --- a/service/inspector/snapshot/api_op_SubscribeToEvent.go.snap +++ b/service/inspector/snapshot/api_op_SubscribeToEvent.go.snap @@ -14,7 +14,6 @@ SubscribeToEvent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_UnsubscribeFromEvent.go.snap b/service/inspector/snapshot/api_op_UnsubscribeFromEvent.go.snap index 007e72c36b0..68258ff1b26 100644 --- a/service/inspector/snapshot/api_op_UnsubscribeFromEvent.go.snap +++ b/service/inspector/snapshot/api_op_UnsubscribeFromEvent.go.snap @@ -14,7 +14,6 @@ UnsubscribeFromEvent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector/snapshot/api_op_UpdateAssessmentTarget.go.snap b/service/inspector/snapshot/api_op_UpdateAssessmentTarget.go.snap index 4bf9c67263d..946eb78abd3 100644 --- a/service/inspector/snapshot/api_op_UpdateAssessmentTarget.go.snap +++ b/service/inspector/snapshot/api_op_UpdateAssessmentTarget.go.snap @@ -14,7 +14,6 @@ UpdateAssessmentTarget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/api_client.go b/service/inspector2/api_client.go index f878df60154..d322afafe50 100644 --- a/service/inspector2/api_client.go +++ b/service/inspector2/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/inspector2/api_op_AssociateMember.go b/service/inspector2/api_op_AssociateMember.go index 05664b40897..40f6e08d09c 100644 --- a/service/inspector2/api_op_AssociateMember.go +++ b/service/inspector2/api_op_AssociateMember.go @@ -124,9 +124,6 @@ func (c *Client) addOperationAssociateMemberMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateMemberValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_BatchGetAccountStatus.go b/service/inspector2/api_op_BatchGetAccountStatus.go index aa49257b9b6..93c6507917a 100644 --- a/service/inspector2/api_op_BatchGetAccountStatus.go +++ b/service/inspector2/api_op_BatchGetAccountStatus.go @@ -119,9 +119,6 @@ func (c *Client) addOperationBatchGetAccountStatusMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetAccountStatus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/inspector2/api_op_BatchGetCodeSnippet.go b/service/inspector2/api_op_BatchGetCodeSnippet.go index 5834624b4a1..562538409c4 100644 --- a/service/inspector2/api_op_BatchGetCodeSnippet.go +++ b/service/inspector2/api_op_BatchGetCodeSnippet.go @@ -118,9 +118,6 @@ func (c *Client) addOperationBatchGetCodeSnippetMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetCodeSnippetValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_BatchGetFindingDetails.go b/service/inspector2/api_op_BatchGetFindingDetails.go index 36e1c0461ed..f138f93b372 100644 --- a/service/inspector2/api_op_BatchGetFindingDetails.go +++ b/service/inspector2/api_op_BatchGetFindingDetails.go @@ -115,9 +115,6 @@ func (c *Client) addOperationBatchGetFindingDetailsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetFindingDetailsValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_BatchGetFreeTrialInfo.go b/service/inspector2/api_op_BatchGetFreeTrialInfo.go index 30fc882dd2e..57d3ad48f31 100644 --- a/service/inspector2/api_op_BatchGetFreeTrialInfo.go +++ b/service/inspector2/api_op_BatchGetFreeTrialInfo.go @@ -121,9 +121,6 @@ func (c *Client) addOperationBatchGetFreeTrialInfoMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetFreeTrialInfoValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_BatchGetMemberEc2DeepInspectionStatus.go b/service/inspector2/api_op_BatchGetMemberEc2DeepInspectionStatus.go index 4a9dd95f234..b8170b210eb 100644 --- a/service/inspector2/api_op_BatchGetMemberEc2DeepInspectionStatus.go +++ b/service/inspector2/api_op_BatchGetMemberEc2DeepInspectionStatus.go @@ -118,9 +118,6 @@ func (c *Client) addOperationBatchGetMemberEc2DeepInspectionStatusMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetMemberEc2DeepInspectionStatus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/inspector2/api_op_BatchUpdateMemberEc2DeepInspectionStatus.go b/service/inspector2/api_op_BatchUpdateMemberEc2DeepInspectionStatus.go index 6e45f1e5607..ed32e9b679e 100644 --- a/service/inspector2/api_op_BatchUpdateMemberEc2DeepInspectionStatus.go +++ b/service/inspector2/api_op_BatchUpdateMemberEc2DeepInspectionStatus.go @@ -120,9 +120,6 @@ func (c *Client) addOperationBatchUpdateMemberEc2DeepInspectionStatusMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchUpdateMemberEc2DeepInspectionStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_CancelFindingsReport.go b/service/inspector2/api_op_CancelFindingsReport.go index c19bf46152c..11008e87f91 100644 --- a/service/inspector2/api_op_CancelFindingsReport.go +++ b/service/inspector2/api_op_CancelFindingsReport.go @@ -113,9 +113,6 @@ func (c *Client) addOperationCancelFindingsReportMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelFindingsReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_CancelSbomExport.go b/service/inspector2/api_op_CancelSbomExport.go index d4808cd7948..787dd101f24 100644 --- a/service/inspector2/api_op_CancelSbomExport.go +++ b/service/inspector2/api_op_CancelSbomExport.go @@ -111,9 +111,6 @@ func (c *Client) addOperationCancelSbomExportMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelSbomExportValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_CreateCisScanConfiguration.go b/service/inspector2/api_op_CreateCisScanConfiguration.go index 2e45fda6778..bd92c3b66f8 100644 --- a/service/inspector2/api_op_CreateCisScanConfiguration.go +++ b/service/inspector2/api_op_CreateCisScanConfiguration.go @@ -131,9 +131,6 @@ func (c *Client) addOperationCreateCisScanConfigurationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCisScanConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_CreateFilter.go b/service/inspector2/api_op_CreateFilter.go index cf329395ac6..4092c6e7855 100644 --- a/service/inspector2/api_op_CreateFilter.go +++ b/service/inspector2/api_op_CreateFilter.go @@ -136,9 +136,6 @@ func (c *Client) addOperationCreateFilterMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFilterValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_CreateFindingsReport.go b/service/inspector2/api_op_CreateFindingsReport.go index 0d6df992238..1e247c3abee 100644 --- a/service/inspector2/api_op_CreateFindingsReport.go +++ b/service/inspector2/api_op_CreateFindingsReport.go @@ -122,9 +122,6 @@ func (c *Client) addOperationCreateFindingsReportMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFindingsReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_CreateSbomExport.go b/service/inspector2/api_op_CreateSbomExport.go index 0cce7d6da39..2ddcbc5c5fd 100644 --- a/service/inspector2/api_op_CreateSbomExport.go +++ b/service/inspector2/api_op_CreateSbomExport.go @@ -120,9 +120,6 @@ func (c *Client) addOperationCreateSbomExportMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSbomExportValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_DeleteCisScanConfiguration.go b/service/inspector2/api_op_DeleteCisScanConfiguration.go index 3fe6541d606..7afd48ec2e7 100644 --- a/service/inspector2/api_op_DeleteCisScanConfiguration.go +++ b/service/inspector2/api_op_DeleteCisScanConfiguration.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteCisScanConfigurationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCisScanConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_DeleteFilter.go b/service/inspector2/api_op_DeleteFilter.go index 9f3c48194c8..05e9e17eee2 100644 --- a/service/inspector2/api_op_DeleteFilter.go +++ b/service/inspector2/api_op_DeleteFilter.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteFilterMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFilterValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_DescribeOrganizationConfiguration.go b/service/inspector2/api_op_DescribeOrganizationConfiguration.go index 1af280767b9..3f70081a8a8 100644 --- a/service/inspector2/api_op_DescribeOrganizationConfiguration.go +++ b/service/inspector2/api_op_DescribeOrganizationConfiguration.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDescribeOrganizationConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOrganizationConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/inspector2/api_op_Disable.go b/service/inspector2/api_op_Disable.go index 679b85ad9b4..15dcf774aa5 100644 --- a/service/inspector2/api_op_Disable.go +++ b/service/inspector2/api_op_Disable.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDisableMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisable(options.Region), middleware.Before); err != nil { return err } diff --git a/service/inspector2/api_op_DisableDelegatedAdminAccount.go b/service/inspector2/api_op_DisableDelegatedAdminAccount.go index 5191e02c6a4..d0cc5ee85cf 100644 --- a/service/inspector2/api_op_DisableDelegatedAdminAccount.go +++ b/service/inspector2/api_op_DisableDelegatedAdminAccount.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDisableDelegatedAdminAccountMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableDelegatedAdminAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_DisassociateMember.go b/service/inspector2/api_op_DisassociateMember.go index 71f2b78e5e8..5cf4c4e0b4f 100644 --- a/service/inspector2/api_op_DisassociateMember.go +++ b/service/inspector2/api_op_DisassociateMember.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDisassociateMemberMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateMemberValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_Enable.go b/service/inspector2/api_op_Enable.go index 17edf8d7a32..a1d4308d732 100644 --- a/service/inspector2/api_op_Enable.go +++ b/service/inspector2/api_op_Enable.go @@ -125,9 +125,6 @@ func (c *Client) addOperationEnableMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opEnableMiddleware(stack, options); err != nil { return err } diff --git a/service/inspector2/api_op_EnableDelegatedAdminAccount.go b/service/inspector2/api_op_EnableDelegatedAdminAccount.go index 27f8b0fe88b..6da07fc845d 100644 --- a/service/inspector2/api_op_EnableDelegatedAdminAccount.go +++ b/service/inspector2/api_op_EnableDelegatedAdminAccount.go @@ -119,9 +119,6 @@ func (c *Client) addOperationEnableDelegatedAdminAccountMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opEnableDelegatedAdminAccountMiddleware(stack, options); err != nil { return err } diff --git a/service/inspector2/api_op_GetCisScanReport.go b/service/inspector2/api_op_GetCisScanReport.go index 7cbe1206d84..2419dc65084 100644 --- a/service/inspector2/api_op_GetCisScanReport.go +++ b/service/inspector2/api_op_GetCisScanReport.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetCisScanReportMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCisScanReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_GetCisScanResultDetails.go b/service/inspector2/api_op_GetCisScanResultDetails.go index 61d21ff84fe..5f827e7ff09 100644 --- a/service/inspector2/api_op_GetCisScanResultDetails.go +++ b/service/inspector2/api_op_GetCisScanResultDetails.go @@ -143,9 +143,6 @@ func (c *Client) addOperationGetCisScanResultDetailsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCisScanResultDetailsValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_GetConfiguration.go b/service/inspector2/api_op_GetConfiguration.go index 156e8fb69f3..a57f70b495a 100644 --- a/service/inspector2/api_op_GetConfiguration.go +++ b/service/inspector2/api_op_GetConfiguration.go @@ -111,9 +111,6 @@ func (c *Client) addOperationGetConfigurationMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/inspector2/api_op_GetDelegatedAdminAccount.go b/service/inspector2/api_op_GetDelegatedAdminAccount.go index deb7a0e0e2d..a778c331123 100644 --- a/service/inspector2/api_op_GetDelegatedAdminAccount.go +++ b/service/inspector2/api_op_GetDelegatedAdminAccount.go @@ -108,9 +108,6 @@ func (c *Client) addOperationGetDelegatedAdminAccountMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDelegatedAdminAccount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/inspector2/api_op_GetEc2DeepInspectionConfiguration.go b/service/inspector2/api_op_GetEc2DeepInspectionConfiguration.go index 4ffc6394087..067fecb2e2c 100644 --- a/service/inspector2/api_op_GetEc2DeepInspectionConfiguration.go +++ b/service/inspector2/api_op_GetEc2DeepInspectionConfiguration.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetEc2DeepInspectionConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEc2DeepInspectionConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/inspector2/api_op_GetEncryptionKey.go b/service/inspector2/api_op_GetEncryptionKey.go index 5e65538f7e6..52e4e72dc5a 100644 --- a/service/inspector2/api_op_GetEncryptionKey.go +++ b/service/inspector2/api_op_GetEncryptionKey.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetEncryptionKeyMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEncryptionKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_GetFindingsReportStatus.go b/service/inspector2/api_op_GetFindingsReportStatus.go index 68ea6d38685..dfe063bec35 100644 --- a/service/inspector2/api_op_GetFindingsReportStatus.go +++ b/service/inspector2/api_op_GetFindingsReportStatus.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetFindingsReportStatusMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFindingsReportStatus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/inspector2/api_op_GetMember.go b/service/inspector2/api_op_GetMember.go index 488c6b1b3d6..728787d8c04 100644 --- a/service/inspector2/api_op_GetMember.go +++ b/service/inspector2/api_op_GetMember.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetMemberMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMemberValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_GetSbomExport.go b/service/inspector2/api_op_GetSbomExport.go index 92c0827ba13..96d17ebf7e0 100644 --- a/service/inspector2/api_op_GetSbomExport.go +++ b/service/inspector2/api_op_GetSbomExport.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetSbomExportMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSbomExportValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_ListAccountPermissions.go b/service/inspector2/api_op_ListAccountPermissions.go index 0cc64838d76..d7ffcadf4c2 100644 --- a/service/inspector2/api_op_ListAccountPermissions.go +++ b/service/inspector2/api_op_ListAccountPermissions.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListAccountPermissionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccountPermissions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/inspector2/api_op_ListCisScanConfigurations.go b/service/inspector2/api_op_ListCisScanConfigurations.go index 4a174f44847..665519ed529 100644 --- a/service/inspector2/api_op_ListCisScanConfigurations.go +++ b/service/inspector2/api_op_ListCisScanConfigurations.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListCisScanConfigurationsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCisScanConfigurationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_ListCisScanResultsAggregatedByChecks.go b/service/inspector2/api_op_ListCisScanResultsAggregatedByChecks.go index eb1ad2a42d2..9f6c11c4c81 100644 --- a/service/inspector2/api_op_ListCisScanResultsAggregatedByChecks.go +++ b/service/inspector2/api_op_ListCisScanResultsAggregatedByChecks.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListCisScanResultsAggregatedByChecksMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCisScanResultsAggregatedByChecksValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_ListCisScanResultsAggregatedByTargetResource.go b/service/inspector2/api_op_ListCisScanResultsAggregatedByTargetResource.go index 0552422f77f..9955850acc2 100644 --- a/service/inspector2/api_op_ListCisScanResultsAggregatedByTargetResource.go +++ b/service/inspector2/api_op_ListCisScanResultsAggregatedByTargetResource.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListCisScanResultsAggregatedByTargetResourceMiddlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCisScanResultsAggregatedByTargetResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_ListCisScans.go b/service/inspector2/api_op_ListCisScans.go index 490fa4d2e6f..33b7c858477 100644 --- a/service/inspector2/api_op_ListCisScans.go +++ b/service/inspector2/api_op_ListCisScans.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListCisScansMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCisScansValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_ListCoverage.go b/service/inspector2/api_op_ListCoverage.go index 2360736586a..9765d1c3c70 100644 --- a/service/inspector2/api_op_ListCoverage.go +++ b/service/inspector2/api_op_ListCoverage.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListCoverageMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCoverageValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_ListCoverageStatistics.go b/service/inspector2/api_op_ListCoverageStatistics.go index e6cd6ff36b2..3d2cc695d79 100644 --- a/service/inspector2/api_op_ListCoverageStatistics.go +++ b/service/inspector2/api_op_ListCoverageStatistics.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListCoverageStatisticsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCoverageStatisticsValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_ListDelegatedAdminAccounts.go b/service/inspector2/api_op_ListDelegatedAdminAccounts.go index 5cd7a655920..691fa39f8c3 100644 --- a/service/inspector2/api_op_ListDelegatedAdminAccounts.go +++ b/service/inspector2/api_op_ListDelegatedAdminAccounts.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListDelegatedAdminAccountsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDelegatedAdminAccounts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/inspector2/api_op_ListFilters.go b/service/inspector2/api_op_ListFilters.go index 550952fbeb1..0efaa1a8a2c 100644 --- a/service/inspector2/api_op_ListFilters.go +++ b/service/inspector2/api_op_ListFilters.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListFiltersMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFilters(options.Region), middleware.Before); err != nil { return err } diff --git a/service/inspector2/api_op_ListFindingAggregations.go b/service/inspector2/api_op_ListFindingAggregations.go index aec41ad1f01..9321b5007d0 100644 --- a/service/inspector2/api_op_ListFindingAggregations.go +++ b/service/inspector2/api_op_ListFindingAggregations.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListFindingAggregationsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFindingAggregationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_ListFindings.go b/service/inspector2/api_op_ListFindings.go index ad775f4115b..cf794140676 100644 --- a/service/inspector2/api_op_ListFindings.go +++ b/service/inspector2/api_op_ListFindings.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListFindingsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFindingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_ListMembers.go b/service/inspector2/api_op_ListMembers.go index e1be112982f..4aeb5a43e9f 100644 --- a/service/inspector2/api_op_ListMembers.go +++ b/service/inspector2/api_op_ListMembers.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListMembersMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMembers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/inspector2/api_op_ListTagsForResource.go b/service/inspector2/api_op_ListTagsForResource.go index 58d9e13bb75..88cbf808c94 100644 --- a/service/inspector2/api_op_ListTagsForResource.go +++ b/service/inspector2/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_ListUsageTotals.go b/service/inspector2/api_op_ListUsageTotals.go index 1a63c0c2285..c161ad1663e 100644 --- a/service/inspector2/api_op_ListUsageTotals.go +++ b/service/inspector2/api_op_ListUsageTotals.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListUsageTotalsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUsageTotals(options.Region), middleware.Before); err != nil { return err } diff --git a/service/inspector2/api_op_ResetEncryptionKey.go b/service/inspector2/api_op_ResetEncryptionKey.go index f6f25a455b5..abd05302e88 100644 --- a/service/inspector2/api_op_ResetEncryptionKey.go +++ b/service/inspector2/api_op_ResetEncryptionKey.go @@ -114,9 +114,6 @@ func (c *Client) addOperationResetEncryptionKeyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResetEncryptionKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_SearchVulnerabilities.go b/service/inspector2/api_op_SearchVulnerabilities.go index ddf7e42bb37..ca02cb2d1f7 100644 --- a/service/inspector2/api_op_SearchVulnerabilities.go +++ b/service/inspector2/api_op_SearchVulnerabilities.go @@ -124,9 +124,6 @@ func (c *Client) addOperationSearchVulnerabilitiesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchVulnerabilitiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_SendCisSessionHealth.go b/service/inspector2/api_op_SendCisSessionHealth.go index ee11e1dedd8..cc77158ff7a 100644 --- a/service/inspector2/api_op_SendCisSessionHealth.go +++ b/service/inspector2/api_op_SendCisSessionHealth.go @@ -116,9 +116,6 @@ func (c *Client) addOperationSendCisSessionHealthMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendCisSessionHealthValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_SendCisSessionTelemetry.go b/service/inspector2/api_op_SendCisSessionTelemetry.go index 2ef5200cbe5..239d39956f8 100644 --- a/service/inspector2/api_op_SendCisSessionTelemetry.go +++ b/service/inspector2/api_op_SendCisSessionTelemetry.go @@ -122,9 +122,6 @@ func (c *Client) addOperationSendCisSessionTelemetryMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendCisSessionTelemetryValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_StartCisSession.go b/service/inspector2/api_op_StartCisSession.go index 771c02dd321..52dc285f22d 100644 --- a/service/inspector2/api_op_StartCisSession.go +++ b/service/inspector2/api_op_StartCisSession.go @@ -117,9 +117,6 @@ func (c *Client) addOperationStartCisSessionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartCisSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_StopCisSession.go b/service/inspector2/api_op_StopCisSession.go index be2d49f0ae6..307e0d906ac 100644 --- a/service/inspector2/api_op_StopCisSession.go +++ b/service/inspector2/api_op_StopCisSession.go @@ -122,9 +122,6 @@ func (c *Client) addOperationStopCisSessionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopCisSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_TagResource.go b/service/inspector2/api_op_TagResource.go index f57405b2b7e..1b15d5b13cf 100644 --- a/service/inspector2/api_op_TagResource.go +++ b/service/inspector2/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_UntagResource.go b/service/inspector2/api_op_UntagResource.go index 29e74ac8388..611cc2fbf9c 100644 --- a/service/inspector2/api_op_UntagResource.go +++ b/service/inspector2/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_UpdateCisScanConfiguration.go b/service/inspector2/api_op_UpdateCisScanConfiguration.go index 847292e17d6..bc2581df820 100644 --- a/service/inspector2/api_op_UpdateCisScanConfiguration.go +++ b/service/inspector2/api_op_UpdateCisScanConfiguration.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateCisScanConfigurationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCisScanConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_UpdateConfiguration.go b/service/inspector2/api_op_UpdateConfiguration.go index 2a9019e3d44..d3ad811fe51 100644 --- a/service/inspector2/api_op_UpdateConfiguration.go +++ b/service/inspector2/api_op_UpdateConfiguration.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUpdateConfigurationMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_UpdateEc2DeepInspectionConfiguration.go b/service/inspector2/api_op_UpdateEc2DeepInspectionConfiguration.go index d41f68ecd23..939214d1fda 100644 --- a/service/inspector2/api_op_UpdateEc2DeepInspectionConfiguration.go +++ b/service/inspector2/api_op_UpdateEc2DeepInspectionConfiguration.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateEc2DeepInspectionConfigurationMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEc2DeepInspectionConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/inspector2/api_op_UpdateEncryptionKey.go b/service/inspector2/api_op_UpdateEncryptionKey.go index e7f46fa1a00..6ec372590d0 100644 --- a/service/inspector2/api_op_UpdateEncryptionKey.go +++ b/service/inspector2/api_op_UpdateEncryptionKey.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateEncryptionKeyMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEncryptionKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_UpdateFilter.go b/service/inspector2/api_op_UpdateFilter.go index f4fa240469f..6384ba6dbbe 100644 --- a/service/inspector2/api_op_UpdateFilter.go +++ b/service/inspector2/api_op_UpdateFilter.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateFilterMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFilterValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_UpdateOrgEc2DeepInspectionConfiguration.go b/service/inspector2/api_op_UpdateOrgEc2DeepInspectionConfiguration.go index de02a8c0e39..d4cd2d65fd7 100644 --- a/service/inspector2/api_op_UpdateOrgEc2DeepInspectionConfiguration.go +++ b/service/inspector2/api_op_UpdateOrgEc2DeepInspectionConfiguration.go @@ -110,9 +110,6 @@ func (c *Client) addOperationUpdateOrgEc2DeepInspectionConfigurationMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateOrgEc2DeepInspectionConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/api_op_UpdateOrganizationConfiguration.go b/service/inspector2/api_op_UpdateOrganizationConfiguration.go index e0054828749..b296534da2e 100644 --- a/service/inspector2/api_op_UpdateOrganizationConfiguration.go +++ b/service/inspector2/api_op_UpdateOrganizationConfiguration.go @@ -116,9 +116,6 @@ func (c *Client) addOperationUpdateOrganizationConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateOrganizationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspector2/snapshot/api_op_AssociateMember.go.snap b/service/inspector2/snapshot/api_op_AssociateMember.go.snap index 626bbae0f7f..3fef459d962 100644 --- a/service/inspector2/snapshot/api_op_AssociateMember.go.snap +++ b/service/inspector2/snapshot/api_op_AssociateMember.go.snap @@ -14,7 +14,6 @@ AssociateMember Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_BatchGetAccountStatus.go.snap b/service/inspector2/snapshot/api_op_BatchGetAccountStatus.go.snap index cc4fa1f770e..a35ba0d47ac 100644 --- a/service/inspector2/snapshot/api_op_BatchGetAccountStatus.go.snap +++ b/service/inspector2/snapshot/api_op_BatchGetAccountStatus.go.snap @@ -13,7 +13,6 @@ BatchGetAccountStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_BatchGetCodeSnippet.go.snap b/service/inspector2/snapshot/api_op_BatchGetCodeSnippet.go.snap index f00fe4761b5..91bccda8036 100644 --- a/service/inspector2/snapshot/api_op_BatchGetCodeSnippet.go.snap +++ b/service/inspector2/snapshot/api_op_BatchGetCodeSnippet.go.snap @@ -14,7 +14,6 @@ BatchGetCodeSnippet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_BatchGetFindingDetails.go.snap b/service/inspector2/snapshot/api_op_BatchGetFindingDetails.go.snap index 789579a6ca9..5d65569fcb7 100644 --- a/service/inspector2/snapshot/api_op_BatchGetFindingDetails.go.snap +++ b/service/inspector2/snapshot/api_op_BatchGetFindingDetails.go.snap @@ -14,7 +14,6 @@ BatchGetFindingDetails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_BatchGetFreeTrialInfo.go.snap b/service/inspector2/snapshot/api_op_BatchGetFreeTrialInfo.go.snap index df5cce4b07f..b5837c3e39a 100644 --- a/service/inspector2/snapshot/api_op_BatchGetFreeTrialInfo.go.snap +++ b/service/inspector2/snapshot/api_op_BatchGetFreeTrialInfo.go.snap @@ -14,7 +14,6 @@ BatchGetFreeTrialInfo Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_BatchGetMemberEc2DeepInspectionStatus.go.snap b/service/inspector2/snapshot/api_op_BatchGetMemberEc2DeepInspectionStatus.go.snap index 5fb30043386..2010b7d3d0d 100644 --- a/service/inspector2/snapshot/api_op_BatchGetMemberEc2DeepInspectionStatus.go.snap +++ b/service/inspector2/snapshot/api_op_BatchGetMemberEc2DeepInspectionStatus.go.snap @@ -13,7 +13,6 @@ BatchGetMemberEc2DeepInspectionStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_BatchUpdateMemberEc2DeepInspectionStatus.go.snap b/service/inspector2/snapshot/api_op_BatchUpdateMemberEc2DeepInspectionStatus.go.snap index 14fa2a831b9..2e2dcd50d35 100644 --- a/service/inspector2/snapshot/api_op_BatchUpdateMemberEc2DeepInspectionStatus.go.snap +++ b/service/inspector2/snapshot/api_op_BatchUpdateMemberEc2DeepInspectionStatus.go.snap @@ -14,7 +14,6 @@ BatchUpdateMemberEc2DeepInspectionStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_CancelFindingsReport.go.snap b/service/inspector2/snapshot/api_op_CancelFindingsReport.go.snap index 5b493914cfb..5b47499af80 100644 --- a/service/inspector2/snapshot/api_op_CancelFindingsReport.go.snap +++ b/service/inspector2/snapshot/api_op_CancelFindingsReport.go.snap @@ -14,7 +14,6 @@ CancelFindingsReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_CancelSbomExport.go.snap b/service/inspector2/snapshot/api_op_CancelSbomExport.go.snap index dbb8f2d3104..6a53b280733 100644 --- a/service/inspector2/snapshot/api_op_CancelSbomExport.go.snap +++ b/service/inspector2/snapshot/api_op_CancelSbomExport.go.snap @@ -14,7 +14,6 @@ CancelSbomExport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_CreateCisScanConfiguration.go.snap b/service/inspector2/snapshot/api_op_CreateCisScanConfiguration.go.snap index 4fbad630ad8..5ec2e9c69ef 100644 --- a/service/inspector2/snapshot/api_op_CreateCisScanConfiguration.go.snap +++ b/service/inspector2/snapshot/api_op_CreateCisScanConfiguration.go.snap @@ -14,7 +14,6 @@ CreateCisScanConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_CreateFilter.go.snap b/service/inspector2/snapshot/api_op_CreateFilter.go.snap index 7b3fdd34cc0..0e37ef10cb9 100644 --- a/service/inspector2/snapshot/api_op_CreateFilter.go.snap +++ b/service/inspector2/snapshot/api_op_CreateFilter.go.snap @@ -14,7 +14,6 @@ CreateFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_CreateFindingsReport.go.snap b/service/inspector2/snapshot/api_op_CreateFindingsReport.go.snap index 1a34fc826f5..8179c476279 100644 --- a/service/inspector2/snapshot/api_op_CreateFindingsReport.go.snap +++ b/service/inspector2/snapshot/api_op_CreateFindingsReport.go.snap @@ -14,7 +14,6 @@ CreateFindingsReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_CreateSbomExport.go.snap b/service/inspector2/snapshot/api_op_CreateSbomExport.go.snap index 1e03bc75e91..00f8cf9b788 100644 --- a/service/inspector2/snapshot/api_op_CreateSbomExport.go.snap +++ b/service/inspector2/snapshot/api_op_CreateSbomExport.go.snap @@ -14,7 +14,6 @@ CreateSbomExport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_DeleteCisScanConfiguration.go.snap b/service/inspector2/snapshot/api_op_DeleteCisScanConfiguration.go.snap index 469837acfc5..7f743452842 100644 --- a/service/inspector2/snapshot/api_op_DeleteCisScanConfiguration.go.snap +++ b/service/inspector2/snapshot/api_op_DeleteCisScanConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteCisScanConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_DeleteFilter.go.snap b/service/inspector2/snapshot/api_op_DeleteFilter.go.snap index c8333d36574..dc61d9a3d0c 100644 --- a/service/inspector2/snapshot/api_op_DeleteFilter.go.snap +++ b/service/inspector2/snapshot/api_op_DeleteFilter.go.snap @@ -14,7 +14,6 @@ DeleteFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_DescribeOrganizationConfiguration.go.snap b/service/inspector2/snapshot/api_op_DescribeOrganizationConfiguration.go.snap index 58b69dba323..5c663808606 100644 --- a/service/inspector2/snapshot/api_op_DescribeOrganizationConfiguration.go.snap +++ b/service/inspector2/snapshot/api_op_DescribeOrganizationConfiguration.go.snap @@ -13,7 +13,6 @@ DescribeOrganizationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_Disable.go.snap b/service/inspector2/snapshot/api_op_Disable.go.snap index 3e382428cd7..8cb57cd268a 100644 --- a/service/inspector2/snapshot/api_op_Disable.go.snap +++ b/service/inspector2/snapshot/api_op_Disable.go.snap @@ -13,7 +13,6 @@ Disable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_DisableDelegatedAdminAccount.go.snap b/service/inspector2/snapshot/api_op_DisableDelegatedAdminAccount.go.snap index 9bcca510e8a..a703712ff68 100644 --- a/service/inspector2/snapshot/api_op_DisableDelegatedAdminAccount.go.snap +++ b/service/inspector2/snapshot/api_op_DisableDelegatedAdminAccount.go.snap @@ -14,7 +14,6 @@ DisableDelegatedAdminAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_DisassociateMember.go.snap b/service/inspector2/snapshot/api_op_DisassociateMember.go.snap index 3d9566d0567..24431eca729 100644 --- a/service/inspector2/snapshot/api_op_DisassociateMember.go.snap +++ b/service/inspector2/snapshot/api_op_DisassociateMember.go.snap @@ -14,7 +14,6 @@ DisassociateMember Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_Enable.go.snap b/service/inspector2/snapshot/api_op_Enable.go.snap index df516cdb0f6..d8056b4dfba 100644 --- a/service/inspector2/snapshot/api_op_Enable.go.snap +++ b/service/inspector2/snapshot/api_op_Enable.go.snap @@ -15,7 +15,6 @@ Enable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_EnableDelegatedAdminAccount.go.snap b/service/inspector2/snapshot/api_op_EnableDelegatedAdminAccount.go.snap index 5125ac60208..c182993da89 100644 --- a/service/inspector2/snapshot/api_op_EnableDelegatedAdminAccount.go.snap +++ b/service/inspector2/snapshot/api_op_EnableDelegatedAdminAccount.go.snap @@ -15,7 +15,6 @@ EnableDelegatedAdminAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_GetCisScanReport.go.snap b/service/inspector2/snapshot/api_op_GetCisScanReport.go.snap index 75bca37b57c..424bb973035 100644 --- a/service/inspector2/snapshot/api_op_GetCisScanReport.go.snap +++ b/service/inspector2/snapshot/api_op_GetCisScanReport.go.snap @@ -14,7 +14,6 @@ GetCisScanReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_GetCisScanResultDetails.go.snap b/service/inspector2/snapshot/api_op_GetCisScanResultDetails.go.snap index c25eeaba8a5..b05982b18d1 100644 --- a/service/inspector2/snapshot/api_op_GetCisScanResultDetails.go.snap +++ b/service/inspector2/snapshot/api_op_GetCisScanResultDetails.go.snap @@ -14,7 +14,6 @@ GetCisScanResultDetails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_GetConfiguration.go.snap b/service/inspector2/snapshot/api_op_GetConfiguration.go.snap index d9c966ce3a3..7c7ea57f437 100644 --- a/service/inspector2/snapshot/api_op_GetConfiguration.go.snap +++ b/service/inspector2/snapshot/api_op_GetConfiguration.go.snap @@ -13,7 +13,6 @@ GetConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_GetDelegatedAdminAccount.go.snap b/service/inspector2/snapshot/api_op_GetDelegatedAdminAccount.go.snap index 111c52463cb..c2f14e61ee3 100644 --- a/service/inspector2/snapshot/api_op_GetDelegatedAdminAccount.go.snap +++ b/service/inspector2/snapshot/api_op_GetDelegatedAdminAccount.go.snap @@ -13,7 +13,6 @@ GetDelegatedAdminAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_GetEc2DeepInspectionConfiguration.go.snap b/service/inspector2/snapshot/api_op_GetEc2DeepInspectionConfiguration.go.snap index 6268b878cdc..988d636963f 100644 --- a/service/inspector2/snapshot/api_op_GetEc2DeepInspectionConfiguration.go.snap +++ b/service/inspector2/snapshot/api_op_GetEc2DeepInspectionConfiguration.go.snap @@ -13,7 +13,6 @@ GetEc2DeepInspectionConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_GetEncryptionKey.go.snap b/service/inspector2/snapshot/api_op_GetEncryptionKey.go.snap index 99b035f4e23..20602acff24 100644 --- a/service/inspector2/snapshot/api_op_GetEncryptionKey.go.snap +++ b/service/inspector2/snapshot/api_op_GetEncryptionKey.go.snap @@ -14,7 +14,6 @@ GetEncryptionKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_GetFindingsReportStatus.go.snap b/service/inspector2/snapshot/api_op_GetFindingsReportStatus.go.snap index a90926a6ac7..9447b376c7a 100644 --- a/service/inspector2/snapshot/api_op_GetFindingsReportStatus.go.snap +++ b/service/inspector2/snapshot/api_op_GetFindingsReportStatus.go.snap @@ -13,7 +13,6 @@ GetFindingsReportStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_GetMember.go.snap b/service/inspector2/snapshot/api_op_GetMember.go.snap index a2ad4bbc0c9..30f83276bce 100644 --- a/service/inspector2/snapshot/api_op_GetMember.go.snap +++ b/service/inspector2/snapshot/api_op_GetMember.go.snap @@ -14,7 +14,6 @@ GetMember Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_GetSbomExport.go.snap b/service/inspector2/snapshot/api_op_GetSbomExport.go.snap index ea8c7ae5fbb..7a9c1be8349 100644 --- a/service/inspector2/snapshot/api_op_GetSbomExport.go.snap +++ b/service/inspector2/snapshot/api_op_GetSbomExport.go.snap @@ -14,7 +14,6 @@ GetSbomExport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_ListAccountPermissions.go.snap b/service/inspector2/snapshot/api_op_ListAccountPermissions.go.snap index 07ea96a300c..e94f93f5c80 100644 --- a/service/inspector2/snapshot/api_op_ListAccountPermissions.go.snap +++ b/service/inspector2/snapshot/api_op_ListAccountPermissions.go.snap @@ -13,7 +13,6 @@ ListAccountPermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_ListCisScanConfigurations.go.snap b/service/inspector2/snapshot/api_op_ListCisScanConfigurations.go.snap index d5a9572fbab..0f19e0d96a1 100644 --- a/service/inspector2/snapshot/api_op_ListCisScanConfigurations.go.snap +++ b/service/inspector2/snapshot/api_op_ListCisScanConfigurations.go.snap @@ -14,7 +14,6 @@ ListCisScanConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_ListCisScanResultsAggregatedByChecks.go.snap b/service/inspector2/snapshot/api_op_ListCisScanResultsAggregatedByChecks.go.snap index e2825578bd4..29e388981f8 100644 --- a/service/inspector2/snapshot/api_op_ListCisScanResultsAggregatedByChecks.go.snap +++ b/service/inspector2/snapshot/api_op_ListCisScanResultsAggregatedByChecks.go.snap @@ -14,7 +14,6 @@ ListCisScanResultsAggregatedByChecks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_ListCisScanResultsAggregatedByTargetResource.go.snap b/service/inspector2/snapshot/api_op_ListCisScanResultsAggregatedByTargetResource.go.snap index a059047cc28..7d5b8d7cfe6 100644 --- a/service/inspector2/snapshot/api_op_ListCisScanResultsAggregatedByTargetResource.go.snap +++ b/service/inspector2/snapshot/api_op_ListCisScanResultsAggregatedByTargetResource.go.snap @@ -14,7 +14,6 @@ ListCisScanResultsAggregatedByTargetResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_ListCisScans.go.snap b/service/inspector2/snapshot/api_op_ListCisScans.go.snap index 373caecead5..bcfd079e32f 100644 --- a/service/inspector2/snapshot/api_op_ListCisScans.go.snap +++ b/service/inspector2/snapshot/api_op_ListCisScans.go.snap @@ -14,7 +14,6 @@ ListCisScans Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_ListCoverage.go.snap b/service/inspector2/snapshot/api_op_ListCoverage.go.snap index 666754a6d5d..2692baa8ff0 100644 --- a/service/inspector2/snapshot/api_op_ListCoverage.go.snap +++ b/service/inspector2/snapshot/api_op_ListCoverage.go.snap @@ -14,7 +14,6 @@ ListCoverage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_ListCoverageStatistics.go.snap b/service/inspector2/snapshot/api_op_ListCoverageStatistics.go.snap index e15f27cf409..88f9378216e 100644 --- a/service/inspector2/snapshot/api_op_ListCoverageStatistics.go.snap +++ b/service/inspector2/snapshot/api_op_ListCoverageStatistics.go.snap @@ -14,7 +14,6 @@ ListCoverageStatistics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_ListDelegatedAdminAccounts.go.snap b/service/inspector2/snapshot/api_op_ListDelegatedAdminAccounts.go.snap index 810e744c1fb..7ed362fb5b6 100644 --- a/service/inspector2/snapshot/api_op_ListDelegatedAdminAccounts.go.snap +++ b/service/inspector2/snapshot/api_op_ListDelegatedAdminAccounts.go.snap @@ -13,7 +13,6 @@ ListDelegatedAdminAccounts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_ListFilters.go.snap b/service/inspector2/snapshot/api_op_ListFilters.go.snap index 6aefd926978..ec414d6f5a0 100644 --- a/service/inspector2/snapshot/api_op_ListFilters.go.snap +++ b/service/inspector2/snapshot/api_op_ListFilters.go.snap @@ -13,7 +13,6 @@ ListFilters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_ListFindingAggregations.go.snap b/service/inspector2/snapshot/api_op_ListFindingAggregations.go.snap index 6448fdf6cc6..2f2747e6299 100644 --- a/service/inspector2/snapshot/api_op_ListFindingAggregations.go.snap +++ b/service/inspector2/snapshot/api_op_ListFindingAggregations.go.snap @@ -14,7 +14,6 @@ ListFindingAggregations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_ListFindings.go.snap b/service/inspector2/snapshot/api_op_ListFindings.go.snap index e49bf85b731..1cf1834a5e6 100644 --- a/service/inspector2/snapshot/api_op_ListFindings.go.snap +++ b/service/inspector2/snapshot/api_op_ListFindings.go.snap @@ -14,7 +14,6 @@ ListFindings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_ListMembers.go.snap b/service/inspector2/snapshot/api_op_ListMembers.go.snap index 88729f44181..a3672c71aeb 100644 --- a/service/inspector2/snapshot/api_op_ListMembers.go.snap +++ b/service/inspector2/snapshot/api_op_ListMembers.go.snap @@ -13,7 +13,6 @@ ListMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_ListTagsForResource.go.snap b/service/inspector2/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/inspector2/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/inspector2/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_ListUsageTotals.go.snap b/service/inspector2/snapshot/api_op_ListUsageTotals.go.snap index 5d2ae96dcc5..4c73242f13f 100644 --- a/service/inspector2/snapshot/api_op_ListUsageTotals.go.snap +++ b/service/inspector2/snapshot/api_op_ListUsageTotals.go.snap @@ -13,7 +13,6 @@ ListUsageTotals Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_ResetEncryptionKey.go.snap b/service/inspector2/snapshot/api_op_ResetEncryptionKey.go.snap index 2e08da4c062..3003c71f36d 100644 --- a/service/inspector2/snapshot/api_op_ResetEncryptionKey.go.snap +++ b/service/inspector2/snapshot/api_op_ResetEncryptionKey.go.snap @@ -14,7 +14,6 @@ ResetEncryptionKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_SearchVulnerabilities.go.snap b/service/inspector2/snapshot/api_op_SearchVulnerabilities.go.snap index 893478657a3..e77798c9b38 100644 --- a/service/inspector2/snapshot/api_op_SearchVulnerabilities.go.snap +++ b/service/inspector2/snapshot/api_op_SearchVulnerabilities.go.snap @@ -14,7 +14,6 @@ SearchVulnerabilities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_SendCisSessionHealth.go.snap b/service/inspector2/snapshot/api_op_SendCisSessionHealth.go.snap index d38b4cfc6b0..e0dcb302980 100644 --- a/service/inspector2/snapshot/api_op_SendCisSessionHealth.go.snap +++ b/service/inspector2/snapshot/api_op_SendCisSessionHealth.go.snap @@ -14,7 +14,6 @@ SendCisSessionHealth Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_SendCisSessionTelemetry.go.snap b/service/inspector2/snapshot/api_op_SendCisSessionTelemetry.go.snap index 4493cf91d73..c4aeb8cb265 100644 --- a/service/inspector2/snapshot/api_op_SendCisSessionTelemetry.go.snap +++ b/service/inspector2/snapshot/api_op_SendCisSessionTelemetry.go.snap @@ -14,7 +14,6 @@ SendCisSessionTelemetry Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_StartCisSession.go.snap b/service/inspector2/snapshot/api_op_StartCisSession.go.snap index bca807f25c6..50794e8ed51 100644 --- a/service/inspector2/snapshot/api_op_StartCisSession.go.snap +++ b/service/inspector2/snapshot/api_op_StartCisSession.go.snap @@ -14,7 +14,6 @@ StartCisSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_StopCisSession.go.snap b/service/inspector2/snapshot/api_op_StopCisSession.go.snap index 1bf628903e4..1eec259b3a6 100644 --- a/service/inspector2/snapshot/api_op_StopCisSession.go.snap +++ b/service/inspector2/snapshot/api_op_StopCisSession.go.snap @@ -14,7 +14,6 @@ StopCisSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_TagResource.go.snap b/service/inspector2/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/inspector2/snapshot/api_op_TagResource.go.snap +++ b/service/inspector2/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_UntagResource.go.snap b/service/inspector2/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/inspector2/snapshot/api_op_UntagResource.go.snap +++ b/service/inspector2/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_UpdateCisScanConfiguration.go.snap b/service/inspector2/snapshot/api_op_UpdateCisScanConfiguration.go.snap index 671dafb392e..407cb787b21 100644 --- a/service/inspector2/snapshot/api_op_UpdateCisScanConfiguration.go.snap +++ b/service/inspector2/snapshot/api_op_UpdateCisScanConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateCisScanConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_UpdateConfiguration.go.snap b/service/inspector2/snapshot/api_op_UpdateConfiguration.go.snap index 84bf26fe428..1bc07f64c64 100644 --- a/service/inspector2/snapshot/api_op_UpdateConfiguration.go.snap +++ b/service/inspector2/snapshot/api_op_UpdateConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_UpdateEc2DeepInspectionConfiguration.go.snap b/service/inspector2/snapshot/api_op_UpdateEc2DeepInspectionConfiguration.go.snap index f762b50ab4c..3e97a00135f 100644 --- a/service/inspector2/snapshot/api_op_UpdateEc2DeepInspectionConfiguration.go.snap +++ b/service/inspector2/snapshot/api_op_UpdateEc2DeepInspectionConfiguration.go.snap @@ -13,7 +13,6 @@ UpdateEc2DeepInspectionConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_UpdateEncryptionKey.go.snap b/service/inspector2/snapshot/api_op_UpdateEncryptionKey.go.snap index c9990f34a54..3db93232e93 100644 --- a/service/inspector2/snapshot/api_op_UpdateEncryptionKey.go.snap +++ b/service/inspector2/snapshot/api_op_UpdateEncryptionKey.go.snap @@ -14,7 +14,6 @@ UpdateEncryptionKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_UpdateFilter.go.snap b/service/inspector2/snapshot/api_op_UpdateFilter.go.snap index d244fd93743..5e90b9c97a2 100644 --- a/service/inspector2/snapshot/api_op_UpdateFilter.go.snap +++ b/service/inspector2/snapshot/api_op_UpdateFilter.go.snap @@ -14,7 +14,6 @@ UpdateFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_UpdateOrgEc2DeepInspectionConfiguration.go.snap b/service/inspector2/snapshot/api_op_UpdateOrgEc2DeepInspectionConfiguration.go.snap index d3a80159128..31c29abc000 100644 --- a/service/inspector2/snapshot/api_op_UpdateOrgEc2DeepInspectionConfiguration.go.snap +++ b/service/inspector2/snapshot/api_op_UpdateOrgEc2DeepInspectionConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateOrgEc2DeepInspectionConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspector2/snapshot/api_op_UpdateOrganizationConfiguration.go.snap b/service/inspector2/snapshot/api_op_UpdateOrganizationConfiguration.go.snap index 897c01e0cf2..21d5324cdbc 100644 --- a/service/inspector2/snapshot/api_op_UpdateOrganizationConfiguration.go.snap +++ b/service/inspector2/snapshot/api_op_UpdateOrganizationConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateOrganizationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/inspectorscan/api_client.go b/service/inspectorscan/api_client.go index 01f5d07fe6a..8a030d5214d 100644 --- a/service/inspectorscan/api_client.go +++ b/service/inspectorscan/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/inspectorscan/api_op_ScanSbom.go b/service/inspectorscan/api_op_ScanSbom.go index 12478b06f45..5c5e00e639d 100644 --- a/service/inspectorscan/api_op_ScanSbom.go +++ b/service/inspectorscan/api_op_ScanSbom.go @@ -119,9 +119,6 @@ func (c *Client) addOperationScanSbomMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpScanSbomValidationMiddleware(stack); err != nil { return err } diff --git a/service/inspectorscan/snapshot/api_op_ScanSbom.go.snap b/service/inspectorscan/snapshot/api_op_ScanSbom.go.snap index b427b970917..1eb79039a74 100644 --- a/service/inspectorscan/snapshot/api_op_ScanSbom.go.snap +++ b/service/inspectorscan/snapshot/api_op_ScanSbom.go.snap @@ -14,7 +14,6 @@ ScanSbom Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/internetmonitor/api_client.go b/service/internetmonitor/api_client.go index eb08d97b2ef..1296929f3b8 100644 --- a/service/internetmonitor/api_client.go +++ b/service/internetmonitor/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/internetmonitor/api_op_CreateMonitor.go b/service/internetmonitor/api_op_CreateMonitor.go index 82139d1045b..ccac1d60553 100644 --- a/service/internetmonitor/api_op_CreateMonitor.go +++ b/service/internetmonitor/api_op_CreateMonitor.go @@ -197,9 +197,6 @@ func (c *Client) addOperationCreateMonitorMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateMonitorMiddleware(stack, options); err != nil { return err } diff --git a/service/internetmonitor/api_op_DeleteMonitor.go b/service/internetmonitor/api_op_DeleteMonitor.go index d60f06d3694..8c6f5fcd661 100644 --- a/service/internetmonitor/api_op_DeleteMonitor.go +++ b/service/internetmonitor/api_op_DeleteMonitor.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteMonitorMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMonitorValidationMiddleware(stack); err != nil { return err } diff --git a/service/internetmonitor/api_op_GetHealthEvent.go b/service/internetmonitor/api_op_GetHealthEvent.go index d5d6437fe97..563900f54d9 100644 --- a/service/internetmonitor/api_op_GetHealthEvent.go +++ b/service/internetmonitor/api_op_GetHealthEvent.go @@ -188,9 +188,6 @@ func (c *Client) addOperationGetHealthEventMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetHealthEventValidationMiddleware(stack); err != nil { return err } diff --git a/service/internetmonitor/api_op_GetInternetEvent.go b/service/internetmonitor/api_op_GetInternetEvent.go index 18c96d4240a..1895bffea5a 100644 --- a/service/internetmonitor/api_op_GetInternetEvent.go +++ b/service/internetmonitor/api_op_GetInternetEvent.go @@ -152,9 +152,6 @@ func (c *Client) addOperationGetInternetEventMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInternetEventValidationMiddleware(stack); err != nil { return err } diff --git a/service/internetmonitor/api_op_GetMonitor.go b/service/internetmonitor/api_op_GetMonitor.go index 8b165050464..fa49f7fb8ad 100644 --- a/service/internetmonitor/api_op_GetMonitor.go +++ b/service/internetmonitor/api_op_GetMonitor.go @@ -199,9 +199,6 @@ func (c *Client) addOperationGetMonitorMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMonitorValidationMiddleware(stack); err != nil { return err } diff --git a/service/internetmonitor/api_op_GetQueryResults.go b/service/internetmonitor/api_op_GetQueryResults.go index fd874868719..f497e2d4974 100644 --- a/service/internetmonitor/api_op_GetQueryResults.go +++ b/service/internetmonitor/api_op_GetQueryResults.go @@ -147,9 +147,6 @@ func (c *Client) addOperationGetQueryResultsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetQueryResultsValidationMiddleware(stack); err != nil { return err } diff --git a/service/internetmonitor/api_op_GetQueryStatus.go b/service/internetmonitor/api_op_GetQueryStatus.go index 010f012b91c..f179c19d76e 100644 --- a/service/internetmonitor/api_op_GetQueryStatus.go +++ b/service/internetmonitor/api_op_GetQueryStatus.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetQueryStatusMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetQueryStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/internetmonitor/api_op_ListHealthEvents.go b/service/internetmonitor/api_op_ListHealthEvents.go index 79b0e8dfdd5..636f5853c86 100644 --- a/service/internetmonitor/api_op_ListHealthEvents.go +++ b/service/internetmonitor/api_op_ListHealthEvents.go @@ -149,9 +149,6 @@ func (c *Client) addOperationListHealthEventsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListHealthEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/internetmonitor/api_op_ListInternetEvents.go b/service/internetmonitor/api_op_ListInternetEvents.go index e60599906fb..82b2043425f 100644 --- a/service/internetmonitor/api_op_ListInternetEvents.go +++ b/service/internetmonitor/api_op_ListInternetEvents.go @@ -146,9 +146,6 @@ func (c *Client) addOperationListInternetEventsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInternetEvents(options.Region), middleware.Before); err != nil { return err } diff --git a/service/internetmonitor/api_op_ListMonitors.go b/service/internetmonitor/api_op_ListMonitors.go index aaf6a50f8f6..ab97e352f0a 100644 --- a/service/internetmonitor/api_op_ListMonitors.go +++ b/service/internetmonitor/api_op_ListMonitors.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListMonitorsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMonitors(options.Region), middleware.Before); err != nil { return err } diff --git a/service/internetmonitor/api_op_ListTagsForResource.go b/service/internetmonitor/api_op_ListTagsForResource.go index 242b1a32d73..ff394ca66c9 100644 --- a/service/internetmonitor/api_op_ListTagsForResource.go +++ b/service/internetmonitor/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/internetmonitor/api_op_StartQuery.go b/service/internetmonitor/api_op_StartQuery.go index 63d6964bdf2..47a924637b5 100644 --- a/service/internetmonitor/api_op_StartQuery.go +++ b/service/internetmonitor/api_op_StartQuery.go @@ -188,9 +188,6 @@ func (c *Client) addOperationStartQueryMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartQueryValidationMiddleware(stack); err != nil { return err } diff --git a/service/internetmonitor/api_op_StopQuery.go b/service/internetmonitor/api_op_StopQuery.go index ea7f774a1e3..785dd71d8ce 100644 --- a/service/internetmonitor/api_op_StopQuery.go +++ b/service/internetmonitor/api_op_StopQuery.go @@ -113,9 +113,6 @@ func (c *Client) addOperationStopQueryMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopQueryValidationMiddleware(stack); err != nil { return err } diff --git a/service/internetmonitor/api_op_TagResource.go b/service/internetmonitor/api_op_TagResource.go index df364d063f0..9c17ea4372f 100644 --- a/service/internetmonitor/api_op_TagResource.go +++ b/service/internetmonitor/api_op_TagResource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/internetmonitor/api_op_UntagResource.go b/service/internetmonitor/api_op_UntagResource.go index 3b86c2e9eed..8ea9905966d 100644 --- a/service/internetmonitor/api_op_UntagResource.go +++ b/service/internetmonitor/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/internetmonitor/api_op_UpdateMonitor.go b/service/internetmonitor/api_op_UpdateMonitor.go index 786939f247d..7a7aeb1a36c 100644 --- a/service/internetmonitor/api_op_UpdateMonitor.go +++ b/service/internetmonitor/api_op_UpdateMonitor.go @@ -188,9 +188,6 @@ func (c *Client) addOperationUpdateMonitorMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateMonitorMiddleware(stack, options); err != nil { return err } diff --git a/service/internetmonitor/snapshot/api_op_CreateMonitor.go.snap b/service/internetmonitor/snapshot/api_op_CreateMonitor.go.snap index d8ff2fc0e4d..e7d6fa5ba59 100644 --- a/service/internetmonitor/snapshot/api_op_CreateMonitor.go.snap +++ b/service/internetmonitor/snapshot/api_op_CreateMonitor.go.snap @@ -15,7 +15,6 @@ CreateMonitor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/internetmonitor/snapshot/api_op_DeleteMonitor.go.snap b/service/internetmonitor/snapshot/api_op_DeleteMonitor.go.snap index a83d348660b..afde7f18bf0 100644 --- a/service/internetmonitor/snapshot/api_op_DeleteMonitor.go.snap +++ b/service/internetmonitor/snapshot/api_op_DeleteMonitor.go.snap @@ -14,7 +14,6 @@ DeleteMonitor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/internetmonitor/snapshot/api_op_GetHealthEvent.go.snap b/service/internetmonitor/snapshot/api_op_GetHealthEvent.go.snap index d00b43d8f9f..cf42d3935f2 100644 --- a/service/internetmonitor/snapshot/api_op_GetHealthEvent.go.snap +++ b/service/internetmonitor/snapshot/api_op_GetHealthEvent.go.snap @@ -14,7 +14,6 @@ GetHealthEvent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/internetmonitor/snapshot/api_op_GetInternetEvent.go.snap b/service/internetmonitor/snapshot/api_op_GetInternetEvent.go.snap index 69465fbd10e..5b1cd7a28a6 100644 --- a/service/internetmonitor/snapshot/api_op_GetInternetEvent.go.snap +++ b/service/internetmonitor/snapshot/api_op_GetInternetEvent.go.snap @@ -14,7 +14,6 @@ GetInternetEvent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/internetmonitor/snapshot/api_op_GetMonitor.go.snap b/service/internetmonitor/snapshot/api_op_GetMonitor.go.snap index 22e70b05d7a..480accf6e4b 100644 --- a/service/internetmonitor/snapshot/api_op_GetMonitor.go.snap +++ b/service/internetmonitor/snapshot/api_op_GetMonitor.go.snap @@ -14,7 +14,6 @@ GetMonitor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/internetmonitor/snapshot/api_op_GetQueryResults.go.snap b/service/internetmonitor/snapshot/api_op_GetQueryResults.go.snap index 7f73c5ba632..68a5b62133d 100644 --- a/service/internetmonitor/snapshot/api_op_GetQueryResults.go.snap +++ b/service/internetmonitor/snapshot/api_op_GetQueryResults.go.snap @@ -14,7 +14,6 @@ GetQueryResults Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/internetmonitor/snapshot/api_op_GetQueryStatus.go.snap b/service/internetmonitor/snapshot/api_op_GetQueryStatus.go.snap index 681e9432111..96e7f45b593 100644 --- a/service/internetmonitor/snapshot/api_op_GetQueryStatus.go.snap +++ b/service/internetmonitor/snapshot/api_op_GetQueryStatus.go.snap @@ -14,7 +14,6 @@ GetQueryStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/internetmonitor/snapshot/api_op_ListHealthEvents.go.snap b/service/internetmonitor/snapshot/api_op_ListHealthEvents.go.snap index 7b583f50f27..b4f9e4c6b4e 100644 --- a/service/internetmonitor/snapshot/api_op_ListHealthEvents.go.snap +++ b/service/internetmonitor/snapshot/api_op_ListHealthEvents.go.snap @@ -14,7 +14,6 @@ ListHealthEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/internetmonitor/snapshot/api_op_ListInternetEvents.go.snap b/service/internetmonitor/snapshot/api_op_ListInternetEvents.go.snap index 4ad2e6bfb15..ec099a3251f 100644 --- a/service/internetmonitor/snapshot/api_op_ListInternetEvents.go.snap +++ b/service/internetmonitor/snapshot/api_op_ListInternetEvents.go.snap @@ -13,7 +13,6 @@ ListInternetEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/internetmonitor/snapshot/api_op_ListMonitors.go.snap b/service/internetmonitor/snapshot/api_op_ListMonitors.go.snap index ae6de0a74e1..b14f384f57d 100644 --- a/service/internetmonitor/snapshot/api_op_ListMonitors.go.snap +++ b/service/internetmonitor/snapshot/api_op_ListMonitors.go.snap @@ -13,7 +13,6 @@ ListMonitors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/internetmonitor/snapshot/api_op_ListTagsForResource.go.snap b/service/internetmonitor/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/internetmonitor/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/internetmonitor/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/internetmonitor/snapshot/api_op_StartQuery.go.snap b/service/internetmonitor/snapshot/api_op_StartQuery.go.snap index 33a39c42b1f..dc8dabdf9ee 100644 --- a/service/internetmonitor/snapshot/api_op_StartQuery.go.snap +++ b/service/internetmonitor/snapshot/api_op_StartQuery.go.snap @@ -14,7 +14,6 @@ StartQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/internetmonitor/snapshot/api_op_StopQuery.go.snap b/service/internetmonitor/snapshot/api_op_StopQuery.go.snap index 2adcbd62512..b969761bb2c 100644 --- a/service/internetmonitor/snapshot/api_op_StopQuery.go.snap +++ b/service/internetmonitor/snapshot/api_op_StopQuery.go.snap @@ -14,7 +14,6 @@ StopQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/internetmonitor/snapshot/api_op_TagResource.go.snap b/service/internetmonitor/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/internetmonitor/snapshot/api_op_TagResource.go.snap +++ b/service/internetmonitor/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/internetmonitor/snapshot/api_op_UntagResource.go.snap b/service/internetmonitor/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/internetmonitor/snapshot/api_op_UntagResource.go.snap +++ b/service/internetmonitor/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/internetmonitor/snapshot/api_op_UpdateMonitor.go.snap b/service/internetmonitor/snapshot/api_op_UpdateMonitor.go.snap index 431aaf58dcb..29348cc199e 100644 --- a/service/internetmonitor/snapshot/api_op_UpdateMonitor.go.snap +++ b/service/internetmonitor/snapshot/api_op_UpdateMonitor.go.snap @@ -15,7 +15,6 @@ UpdateMonitor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/invoicing/api_client.go b/service/invoicing/api_client.go index 41280533d95..ff3ab62366d 100644 --- a/service/invoicing/api_client.go +++ b/service/invoicing/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/invoicing/api_op_BatchGetInvoiceProfile.go b/service/invoicing/api_op_BatchGetInvoiceProfile.go index 586baa0d5cf..4d310052cba 100644 --- a/service/invoicing/api_op_BatchGetInvoiceProfile.go +++ b/service/invoicing/api_op_BatchGetInvoiceProfile.go @@ -113,9 +113,6 @@ func (c *Client) addOperationBatchGetInvoiceProfileMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetInvoiceProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/invoicing/api_op_CreateInvoiceUnit.go b/service/invoicing/api_op_CreateInvoiceUnit.go index 0200368951c..ada3c9eef87 100644 --- a/service/invoicing/api_op_CreateInvoiceUnit.go +++ b/service/invoicing/api_op_CreateInvoiceUnit.go @@ -137,9 +137,6 @@ func (c *Client) addOperationCreateInvoiceUnitMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateInvoiceUnitValidationMiddleware(stack); err != nil { return err } diff --git a/service/invoicing/api_op_DeleteInvoiceUnit.go b/service/invoicing/api_op_DeleteInvoiceUnit.go index 10655844b02..f90e25228d6 100644 --- a/service/invoicing/api_op_DeleteInvoiceUnit.go +++ b/service/invoicing/api_op_DeleteInvoiceUnit.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteInvoiceUnitMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInvoiceUnitValidationMiddleware(stack); err != nil { return err } diff --git a/service/invoicing/api_op_GetInvoiceUnit.go b/service/invoicing/api_op_GetInvoiceUnit.go index a3a2a24bd90..cc875dcc5bd 100644 --- a/service/invoicing/api_op_GetInvoiceUnit.go +++ b/service/invoicing/api_op_GetInvoiceUnit.go @@ -142,9 +142,6 @@ func (c *Client) addOperationGetInvoiceUnitMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInvoiceUnitValidationMiddleware(stack); err != nil { return err } diff --git a/service/invoicing/api_op_ListInvoiceUnits.go b/service/invoicing/api_op_ListInvoiceUnits.go index d3692cf0b43..ad2cd172e2c 100644 --- a/service/invoicing/api_op_ListInvoiceUnits.go +++ b/service/invoicing/api_op_ListInvoiceUnits.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListInvoiceUnitsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInvoiceUnits(options.Region), middleware.Before); err != nil { return err } diff --git a/service/invoicing/api_op_ListTagsForResource.go b/service/invoicing/api_op_ListTagsForResource.go index cdc65595fb6..51c0922c7f6 100644 --- a/service/invoicing/api_op_ListTagsForResource.go +++ b/service/invoicing/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/invoicing/api_op_TagResource.go b/service/invoicing/api_op_TagResource.go index 596df7bdce7..040b4085007 100644 --- a/service/invoicing/api_op_TagResource.go +++ b/service/invoicing/api_op_TagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/invoicing/api_op_UntagResource.go b/service/invoicing/api_op_UntagResource.go index a0b8c413a7d..a137b074766 100644 --- a/service/invoicing/api_op_UntagResource.go +++ b/service/invoicing/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/invoicing/api_op_UpdateInvoiceUnit.go b/service/invoicing/api_op_UpdateInvoiceUnit.go index fb662c4744e..827cf8d1881 100644 --- a/service/invoicing/api_op_UpdateInvoiceUnit.go +++ b/service/invoicing/api_op_UpdateInvoiceUnit.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateInvoiceUnitMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateInvoiceUnitValidationMiddleware(stack); err != nil { return err } diff --git a/service/invoicing/snapshot/api_op_BatchGetInvoiceProfile.go.snap b/service/invoicing/snapshot/api_op_BatchGetInvoiceProfile.go.snap index dfce1332121..eb517467f17 100644 --- a/service/invoicing/snapshot/api_op_BatchGetInvoiceProfile.go.snap +++ b/service/invoicing/snapshot/api_op_BatchGetInvoiceProfile.go.snap @@ -14,7 +14,6 @@ BatchGetInvoiceProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/invoicing/snapshot/api_op_CreateInvoiceUnit.go.snap b/service/invoicing/snapshot/api_op_CreateInvoiceUnit.go.snap index 6ea2517cabf..8022522f681 100644 --- a/service/invoicing/snapshot/api_op_CreateInvoiceUnit.go.snap +++ b/service/invoicing/snapshot/api_op_CreateInvoiceUnit.go.snap @@ -14,7 +14,6 @@ CreateInvoiceUnit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/invoicing/snapshot/api_op_DeleteInvoiceUnit.go.snap b/service/invoicing/snapshot/api_op_DeleteInvoiceUnit.go.snap index 6fccf570809..57a35877c42 100644 --- a/service/invoicing/snapshot/api_op_DeleteInvoiceUnit.go.snap +++ b/service/invoicing/snapshot/api_op_DeleteInvoiceUnit.go.snap @@ -14,7 +14,6 @@ DeleteInvoiceUnit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/invoicing/snapshot/api_op_GetInvoiceUnit.go.snap b/service/invoicing/snapshot/api_op_GetInvoiceUnit.go.snap index eda58de3f60..628da79a7ae 100644 --- a/service/invoicing/snapshot/api_op_GetInvoiceUnit.go.snap +++ b/service/invoicing/snapshot/api_op_GetInvoiceUnit.go.snap @@ -14,7 +14,6 @@ GetInvoiceUnit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/invoicing/snapshot/api_op_ListInvoiceUnits.go.snap b/service/invoicing/snapshot/api_op_ListInvoiceUnits.go.snap index 1c993da9570..b95b4235a86 100644 --- a/service/invoicing/snapshot/api_op_ListInvoiceUnits.go.snap +++ b/service/invoicing/snapshot/api_op_ListInvoiceUnits.go.snap @@ -13,7 +13,6 @@ ListInvoiceUnits Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/invoicing/snapshot/api_op_ListTagsForResource.go.snap b/service/invoicing/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/invoicing/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/invoicing/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/invoicing/snapshot/api_op_TagResource.go.snap b/service/invoicing/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/invoicing/snapshot/api_op_TagResource.go.snap +++ b/service/invoicing/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/invoicing/snapshot/api_op_UntagResource.go.snap b/service/invoicing/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/invoicing/snapshot/api_op_UntagResource.go.snap +++ b/service/invoicing/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/invoicing/snapshot/api_op_UpdateInvoiceUnit.go.snap b/service/invoicing/snapshot/api_op_UpdateInvoiceUnit.go.snap index e5dc98580f7..fc65712828b 100644 --- a/service/invoicing/snapshot/api_op_UpdateInvoiceUnit.go.snap +++ b/service/invoicing/snapshot/api_op_UpdateInvoiceUnit.go.snap @@ -14,7 +14,6 @@ UpdateInvoiceUnit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/api_client.go b/service/iot/api_client.go index 45e6437f88e..4701313d237 100644 --- a/service/iot/api_client.go +++ b/service/iot/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/iot/api_op_AcceptCertificateTransfer.go b/service/iot/api_op_AcceptCertificateTransfer.go index b309c1d05ea..1ca094e1a58 100644 --- a/service/iot/api_op_AcceptCertificateTransfer.go +++ b/service/iot/api_op_AcceptCertificateTransfer.go @@ -120,9 +120,6 @@ func (c *Client) addOperationAcceptCertificateTransferMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptCertificateTransferValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_AddThingToBillingGroup.go b/service/iot/api_op_AddThingToBillingGroup.go index fc0cc86420f..6557a66d71d 100644 --- a/service/iot/api_op_AddThingToBillingGroup.go +++ b/service/iot/api_op_AddThingToBillingGroup.go @@ -121,9 +121,6 @@ func (c *Client) addOperationAddThingToBillingGroupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddThingToBillingGroup(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_AddThingToThingGroup.go b/service/iot/api_op_AddThingToThingGroup.go index 97f4f48f4db..3db2ef6e822 100644 --- a/service/iot/api_op_AddThingToThingGroup.go +++ b/service/iot/api_op_AddThingToThingGroup.go @@ -124,9 +124,6 @@ func (c *Client) addOperationAddThingToThingGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddThingToThingGroup(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_AssociateSbomWithPackageVersion.go b/service/iot/api_op_AssociateSbomWithPackageVersion.go index 49215946d0b..5b9d5d53a23 100644 --- a/service/iot/api_op_AssociateSbomWithPackageVersion.go +++ b/service/iot/api_op_AssociateSbomWithPackageVersion.go @@ -145,9 +145,6 @@ func (c *Client) addOperationAssociateSbomWithPackageVersionMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opAssociateSbomWithPackageVersionMiddleware(stack, options); err != nil { return err } diff --git a/service/iot/api_op_AssociateTargetsWithJob.go b/service/iot/api_op_AssociateTargetsWithJob.go index 7871780749a..8f43882e7f8 100644 --- a/service/iot/api_op_AssociateTargetsWithJob.go +++ b/service/iot/api_op_AssociateTargetsWithJob.go @@ -151,9 +151,6 @@ func (c *Client) addOperationAssociateTargetsWithJobMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateTargetsWithJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_AttachPolicy.go b/service/iot/api_op_AttachPolicy.go index e6c73c416dc..fad24550dd5 100644 --- a/service/iot/api_op_AttachPolicy.go +++ b/service/iot/api_op_AttachPolicy.go @@ -120,9 +120,6 @@ func (c *Client) addOperationAttachPolicyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAttachPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_AttachPrincipalPolicy.go b/service/iot/api_op_AttachPrincipalPolicy.go index 27fa26f5a24..16790e5882e 100644 --- a/service/iot/api_op_AttachPrincipalPolicy.go +++ b/service/iot/api_op_AttachPrincipalPolicy.go @@ -124,9 +124,6 @@ func (c *Client) addOperationAttachPrincipalPolicyMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAttachPrincipalPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_AttachSecurityProfile.go b/service/iot/api_op_AttachSecurityProfile.go index 45fdda7f0f8..13713b083e0 100644 --- a/service/iot/api_op_AttachSecurityProfile.go +++ b/service/iot/api_op_AttachSecurityProfile.go @@ -118,9 +118,6 @@ func (c *Client) addOperationAttachSecurityProfileMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAttachSecurityProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_AttachThingPrincipal.go b/service/iot/api_op_AttachThingPrincipal.go index a0f4a27c69c..9de4fa520f5 100644 --- a/service/iot/api_op_AttachThingPrincipal.go +++ b/service/iot/api_op_AttachThingPrincipal.go @@ -131,9 +131,6 @@ func (c *Client) addOperationAttachThingPrincipalMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAttachThingPrincipalValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CancelAuditMitigationActionsTask.go b/service/iot/api_op_CancelAuditMitigationActionsTask.go index ed5b14102c6..0b707d811c1 100644 --- a/service/iot/api_op_CancelAuditMitigationActionsTask.go +++ b/service/iot/api_op_CancelAuditMitigationActionsTask.go @@ -112,9 +112,6 @@ func (c *Client) addOperationCancelAuditMitigationActionsTaskMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelAuditMitigationActionsTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CancelAuditTask.go b/service/iot/api_op_CancelAuditTask.go index 3756dd638c9..729d6fa76e8 100644 --- a/service/iot/api_op_CancelAuditTask.go +++ b/service/iot/api_op_CancelAuditTask.go @@ -113,9 +113,6 @@ func (c *Client) addOperationCancelAuditTaskMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelAuditTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CancelCertificateTransfer.go b/service/iot/api_op_CancelCertificateTransfer.go index e8655c2de30..5c5bb4cc357 100644 --- a/service/iot/api_op_CancelCertificateTransfer.go +++ b/service/iot/api_op_CancelCertificateTransfer.go @@ -121,9 +121,6 @@ func (c *Client) addOperationCancelCertificateTransferMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelCertificateTransferValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CancelDetectMitigationActionsTask.go b/service/iot/api_op_CancelDetectMitigationActionsTask.go index dfc79a83924..87ad5d3cf5d 100644 --- a/service/iot/api_op_CancelDetectMitigationActionsTask.go +++ b/service/iot/api_op_CancelDetectMitigationActionsTask.go @@ -111,9 +111,6 @@ func (c *Client) addOperationCancelDetectMitigationActionsTaskMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelDetectMitigationActionsTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CancelJob.go b/service/iot/api_op_CancelJob.go index 8af4548a245..c6509ca93bd 100644 --- a/service/iot/api_op_CancelJob.go +++ b/service/iot/api_op_CancelJob.go @@ -137,9 +137,6 @@ func (c *Client) addOperationCancelJobMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CancelJobExecution.go b/service/iot/api_op_CancelJobExecution.go index 0076ac06e0e..bac20d5393c 100644 --- a/service/iot/api_op_CancelJobExecution.go +++ b/service/iot/api_op_CancelJobExecution.go @@ -141,9 +141,6 @@ func (c *Client) addOperationCancelJobExecutionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelJobExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ClearDefaultAuthorizer.go b/service/iot/api_op_ClearDefaultAuthorizer.go index 244686c8269..11bdff58296 100644 --- a/service/iot/api_op_ClearDefaultAuthorizer.go +++ b/service/iot/api_op_ClearDefaultAuthorizer.go @@ -105,9 +105,6 @@ func (c *Client) addOperationClearDefaultAuthorizerMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opClearDefaultAuthorizer(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ConfirmTopicRuleDestination.go b/service/iot/api_op_ConfirmTopicRuleDestination.go index df172f9dd8c..0f4259016ac 100644 --- a/service/iot/api_op_ConfirmTopicRuleDestination.go +++ b/service/iot/api_op_ConfirmTopicRuleDestination.go @@ -116,9 +116,6 @@ func (c *Client) addOperationConfirmTopicRuleDestinationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpConfirmTopicRuleDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateAuditSuppression.go b/service/iot/api_op_CreateAuditSuppression.go index ad8c14cd49b..8e88c31e39c 100644 --- a/service/iot/api_op_CreateAuditSuppression.go +++ b/service/iot/api_op_CreateAuditSuppression.go @@ -138,9 +138,6 @@ func (c *Client) addOperationCreateAuditSuppressionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAuditSuppressionMiddleware(stack, options); err != nil { return err } diff --git a/service/iot/api_op_CreateAuthorizer.go b/service/iot/api_op_CreateAuthorizer.go index 4a6a72fc2a4..41f2f19e7d5 100644 --- a/service/iot/api_op_CreateAuthorizer.go +++ b/service/iot/api_op_CreateAuthorizer.go @@ -155,9 +155,6 @@ func (c *Client) addOperationCreateAuthorizerMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAuthorizerValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateBillingGroup.go b/service/iot/api_op_CreateBillingGroup.go index b176fd1fee9..e7556d1ff64 100644 --- a/service/iot/api_op_CreateBillingGroup.go +++ b/service/iot/api_op_CreateBillingGroup.go @@ -131,9 +131,6 @@ func (c *Client) addOperationCreateBillingGroupMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBillingGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateCertificateFromCsr.go b/service/iot/api_op_CreateCertificateFromCsr.go index 1770d90423b..bf92053bd6a 100644 --- a/service/iot/api_op_CreateCertificateFromCsr.go +++ b/service/iot/api_op_CreateCertificateFromCsr.go @@ -169,9 +169,6 @@ func (c *Client) addOperationCreateCertificateFromCsrMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCertificateFromCsrValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateCertificateProvider.go b/service/iot/api_op_CreateCertificateProvider.go index 35272ab120d..2c02d198db0 100644 --- a/service/iot/api_op_CreateCertificateProvider.go +++ b/service/iot/api_op_CreateCertificateProvider.go @@ -148,9 +148,6 @@ func (c *Client) addOperationCreateCertificateProviderMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateCertificateProviderMiddleware(stack, options); err != nil { return err } diff --git a/service/iot/api_op_CreateCommand.go b/service/iot/api_op_CreateCommand.go index 48d843158eb..9b9892a2640 100644 --- a/service/iot/api_op_CreateCommand.go +++ b/service/iot/api_op_CreateCommand.go @@ -153,9 +153,6 @@ func (c *Client) addOperationCreateCommandMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCommandValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateCustomMetric.go b/service/iot/api_op_CreateCustomMetric.go index 0cef593415d..85d8a4c6ab6 100644 --- a/service/iot/api_op_CreateCustomMetric.go +++ b/service/iot/api_op_CreateCustomMetric.go @@ -149,9 +149,6 @@ func (c *Client) addOperationCreateCustomMetricMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateCustomMetricMiddleware(stack, options); err != nil { return err } diff --git a/service/iot/api_op_CreateDimension.go b/service/iot/api_op_CreateDimension.go index 4c4ead5b7dc..eac99549842 100644 --- a/service/iot/api_op_CreateDimension.go +++ b/service/iot/api_op_CreateDimension.go @@ -146,9 +146,6 @@ func (c *Client) addOperationCreateDimensionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDimensionMiddleware(stack, options); err != nil { return err } diff --git a/service/iot/api_op_CreateDomainConfiguration.go b/service/iot/api_op_CreateDomainConfiguration.go index 2d48e83a0b6..562a43bb139 100644 --- a/service/iot/api_op_CreateDomainConfiguration.go +++ b/service/iot/api_op_CreateDomainConfiguration.go @@ -197,9 +197,6 @@ func (c *Client) addOperationCreateDomainConfigurationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDomainConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateDynamicThingGroup.go b/service/iot/api_op_CreateDynamicThingGroup.go index ba0fafaf70e..33be07044d7 100644 --- a/service/iot/api_op_CreateDynamicThingGroup.go +++ b/service/iot/api_op_CreateDynamicThingGroup.go @@ -157,9 +157,6 @@ func (c *Client) addOperationCreateDynamicThingGroupMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDynamicThingGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateFleetMetric.go b/service/iot/api_op_CreateFleetMetric.go index 70287332646..fc6d682c09e 100644 --- a/service/iot/api_op_CreateFleetMetric.go +++ b/service/iot/api_op_CreateFleetMetric.go @@ -158,9 +158,6 @@ func (c *Client) addOperationCreateFleetMetricMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFleetMetricValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateJob.go b/service/iot/api_op_CreateJob.go index c13160ec135..d1e22cded0b 100644 --- a/service/iot/api_op_CreateJob.go +++ b/service/iot/api_op_CreateJob.go @@ -218,9 +218,6 @@ func (c *Client) addOperationCreateJobMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateJobTemplate.go b/service/iot/api_op_CreateJobTemplate.go index c6561c8c07e..4e444955b45 100644 --- a/service/iot/api_op_CreateJobTemplate.go +++ b/service/iot/api_op_CreateJobTemplate.go @@ -178,9 +178,6 @@ func (c *Client) addOperationCreateJobTemplateMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateJobTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateKeysAndCertificate.go b/service/iot/api_op_CreateKeysAndCertificate.go index 095d91aadb8..2c72b28aee4 100644 --- a/service/iot/api_op_CreateKeysAndCertificate.go +++ b/service/iot/api_op_CreateKeysAndCertificate.go @@ -136,9 +136,6 @@ func (c *Client) addOperationCreateKeysAndCertificateMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateKeysAndCertificate(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_CreateMitigationAction.go b/service/iot/api_op_CreateMitigationAction.go index 1c98de9327a..e5c4cf0d03f 100644 --- a/service/iot/api_op_CreateMitigationAction.go +++ b/service/iot/api_op_CreateMitigationAction.go @@ -137,9 +137,6 @@ func (c *Client) addOperationCreateMitigationActionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateMitigationActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateOTAUpdate.go b/service/iot/api_op_CreateOTAUpdate.go index 9a60e0424bc..11f6ce05209 100644 --- a/service/iot/api_op_CreateOTAUpdate.go +++ b/service/iot/api_op_CreateOTAUpdate.go @@ -183,9 +183,6 @@ func (c *Client) addOperationCreateOTAUpdateMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateOTAUpdateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreatePackage.go b/service/iot/api_op_CreatePackage.go index d70cfd6a22c..ec0108e90b1 100644 --- a/service/iot/api_op_CreatePackage.go +++ b/service/iot/api_op_CreatePackage.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCreatePackageMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreatePackageMiddleware(stack, options); err != nil { return err } diff --git a/service/iot/api_op_CreatePackageVersion.go b/service/iot/api_op_CreatePackageVersion.go index 49debd6c28a..d541eb7f15c 100644 --- a/service/iot/api_op_CreatePackageVersion.go +++ b/service/iot/api_op_CreatePackageVersion.go @@ -170,9 +170,6 @@ func (c *Client) addOperationCreatePackageVersionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreatePackageVersionMiddleware(stack, options); err != nil { return err } diff --git a/service/iot/api_op_CreatePolicy.go b/service/iot/api_op_CreatePolicy.go index f94011f2569..41267d84402 100644 --- a/service/iot/api_op_CreatePolicy.go +++ b/service/iot/api_op_CreatePolicy.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCreatePolicyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreatePolicyVersion.go b/service/iot/api_op_CreatePolicyVersion.go index 4dc553987e6..3427d58f65e 100644 --- a/service/iot/api_op_CreatePolicyVersion.go +++ b/service/iot/api_op_CreatePolicyVersion.go @@ -144,9 +144,6 @@ func (c *Client) addOperationCreatePolicyVersionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePolicyVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateProvisioningClaim.go b/service/iot/api_op_CreateProvisioningClaim.go index 421572703a3..48b73250229 100644 --- a/service/iot/api_op_CreateProvisioningClaim.go +++ b/service/iot/api_op_CreateProvisioningClaim.go @@ -126,9 +126,6 @@ func (c *Client) addOperationCreateProvisioningClaimMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateProvisioningClaimValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateProvisioningTemplate.go b/service/iot/api_op_CreateProvisioningTemplate.go index 6114b9fe717..9b9609efd27 100644 --- a/service/iot/api_op_CreateProvisioningTemplate.go +++ b/service/iot/api_op_CreateProvisioningTemplate.go @@ -164,9 +164,6 @@ func (c *Client) addOperationCreateProvisioningTemplateMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateProvisioningTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateProvisioningTemplateVersion.go b/service/iot/api_op_CreateProvisioningTemplateVersion.go index af2b84324d6..300eae798b2 100644 --- a/service/iot/api_op_CreateProvisioningTemplateVersion.go +++ b/service/iot/api_op_CreateProvisioningTemplateVersion.go @@ -133,9 +133,6 @@ func (c *Client) addOperationCreateProvisioningTemplateVersionMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateProvisioningTemplateVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateRoleAlias.go b/service/iot/api_op_CreateRoleAlias.go index 8b640703e38..f199e38f9ad 100644 --- a/service/iot/api_op_CreateRoleAlias.go +++ b/service/iot/api_op_CreateRoleAlias.go @@ -149,9 +149,6 @@ func (c *Client) addOperationCreateRoleAliasMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRoleAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateScheduledAudit.go b/service/iot/api_op_CreateScheduledAudit.go index 7dfafb2b7f2..1424b0b27b5 100644 --- a/service/iot/api_op_CreateScheduledAudit.go +++ b/service/iot/api_op_CreateScheduledAudit.go @@ -144,9 +144,6 @@ func (c *Client) addOperationCreateScheduledAuditMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateScheduledAuditValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateSecurityProfile.go b/service/iot/api_op_CreateSecurityProfile.go index cfb5095f728..f1b6fe4308b 100644 --- a/service/iot/api_op_CreateSecurityProfile.go +++ b/service/iot/api_op_CreateSecurityProfile.go @@ -151,9 +151,6 @@ func (c *Client) addOperationCreateSecurityProfileMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSecurityProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateStream.go b/service/iot/api_op_CreateStream.go index 5962dee8799..7c88bf02dab 100644 --- a/service/iot/api_op_CreateStream.go +++ b/service/iot/api_op_CreateStream.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCreateStreamMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateThing.go b/service/iot/api_op_CreateThing.go index 7761122bdeb..fdcd21ff819 100644 --- a/service/iot/api_op_CreateThing.go +++ b/service/iot/api_op_CreateThing.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCreateThingMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateThingValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateThingGroup.go b/service/iot/api_op_CreateThingGroup.go index 72051477328..c2cf1deba16 100644 --- a/service/iot/api_op_CreateThingGroup.go +++ b/service/iot/api_op_CreateThingGroup.go @@ -138,9 +138,6 @@ func (c *Client) addOperationCreateThingGroupMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateThingGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateThingType.go b/service/iot/api_op_CreateThingType.go index 53285a259f9..7f0bed205a7 100644 --- a/service/iot/api_op_CreateThingType.go +++ b/service/iot/api_op_CreateThingType.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateThingTypeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateThingTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateTopicRule.go b/service/iot/api_op_CreateTopicRule.go index 475881c7c9f..42e629b4a45 100644 --- a/service/iot/api_op_CreateTopicRule.go +++ b/service/iot/api_op_CreateTopicRule.go @@ -130,9 +130,6 @@ func (c *Client) addOperationCreateTopicRuleMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTopicRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_CreateTopicRuleDestination.go b/service/iot/api_op_CreateTopicRuleDestination.go index 8f4731acb5c..af588319b98 100644 --- a/service/iot/api_op_CreateTopicRuleDestination.go +++ b/service/iot/api_op_CreateTopicRuleDestination.go @@ -117,9 +117,6 @@ func (c *Client) addOperationCreateTopicRuleDestinationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTopicRuleDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteAccountAuditConfiguration.go b/service/iot/api_op_DeleteAccountAuditConfiguration.go index f143cfdb68d..845eba6ac56 100644 --- a/service/iot/api_op_DeleteAccountAuditConfiguration.go +++ b/service/iot/api_op_DeleteAccountAuditConfiguration.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteAccountAuditConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAccountAuditConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_DeleteAuditSuppression.go b/service/iot/api_op_DeleteAuditSuppression.go index 9f58c8e5d66..7546b1d45a5 100644 --- a/service/iot/api_op_DeleteAuditSuppression.go +++ b/service/iot/api_op_DeleteAuditSuppression.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteAuditSuppressionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAuditSuppressionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteAuthorizer.go b/service/iot/api_op_DeleteAuthorizer.go index de431e8b086..b3787de16b0 100644 --- a/service/iot/api_op_DeleteAuthorizer.go +++ b/service/iot/api_op_DeleteAuthorizer.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteAuthorizerMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAuthorizerValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteBillingGroup.go b/service/iot/api_op_DeleteBillingGroup.go index b533f582e8d..29cad72c3ea 100644 --- a/service/iot/api_op_DeleteBillingGroup.go +++ b/service/iot/api_op_DeleteBillingGroup.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteBillingGroupMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBillingGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteCACertificate.go b/service/iot/api_op_DeleteCACertificate.go index 73e41e4de6e..23ea6ef8e4a 100644 --- a/service/iot/api_op_DeleteCACertificate.go +++ b/service/iot/api_op_DeleteCACertificate.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteCACertificateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCACertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteCertificate.go b/service/iot/api_op_DeleteCertificate.go index f935dff4bb7..2921a5044ce 100644 --- a/service/iot/api_op_DeleteCertificate.go +++ b/service/iot/api_op_DeleteCertificate.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteCertificateMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteCertificateProvider.go b/service/iot/api_op_DeleteCertificateProvider.go index e3a7b1da09c..f45ab33f2a1 100644 --- a/service/iot/api_op_DeleteCertificateProvider.go +++ b/service/iot/api_op_DeleteCertificateProvider.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteCertificateProviderMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCertificateProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteCommand.go b/service/iot/api_op_DeleteCommand.go index 8efd833f3fe..b9e6a1d7607 100644 --- a/service/iot/api_op_DeleteCommand.go +++ b/service/iot/api_op_DeleteCommand.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteCommandMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCommandValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteCommandExecution.go b/service/iot/api_op_DeleteCommandExecution.go index 0367e0c7712..12c9008e97e 100644 --- a/service/iot/api_op_DeleteCommandExecution.go +++ b/service/iot/api_op_DeleteCommandExecution.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteCommandExecutionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCommandExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteCustomMetric.go b/service/iot/api_op_DeleteCustomMetric.go index dcbd3a4c24c..b9b72726b39 100644 --- a/service/iot/api_op_DeleteCustomMetric.go +++ b/service/iot/api_op_DeleteCustomMetric.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteCustomMetricMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCustomMetricValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteDimension.go b/service/iot/api_op_DeleteDimension.go index 7c453b8a8cc..83808757c0d 100644 --- a/service/iot/api_op_DeleteDimension.go +++ b/service/iot/api_op_DeleteDimension.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteDimensionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDimensionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteDomainConfiguration.go b/service/iot/api_op_DeleteDomainConfiguration.go index 6bf02363c4a..d576d326e52 100644 --- a/service/iot/api_op_DeleteDomainConfiguration.go +++ b/service/iot/api_op_DeleteDomainConfiguration.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteDomainConfigurationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDomainConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteDynamicThingGroup.go b/service/iot/api_op_DeleteDynamicThingGroup.go index 8c6800d736d..e186049d5c7 100644 --- a/service/iot/api_op_DeleteDynamicThingGroup.go +++ b/service/iot/api_op_DeleteDynamicThingGroup.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteDynamicThingGroupMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDynamicThingGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteFleetMetric.go b/service/iot/api_op_DeleteFleetMetric.go index d20ac5d2c7e..c8c6afabb2c 100644 --- a/service/iot/api_op_DeleteFleetMetric.go +++ b/service/iot/api_op_DeleteFleetMetric.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteFleetMetricMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFleetMetricValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteJob.go b/service/iot/api_op_DeleteJob.go index 383489bbb1a..5e758e98307 100644 --- a/service/iot/api_op_DeleteJob.go +++ b/service/iot/api_op_DeleteJob.go @@ -148,9 +148,6 @@ func (c *Client) addOperationDeleteJobMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteJobExecution.go b/service/iot/api_op_DeleteJobExecution.go index 20c63079795..1947d276dae 100644 --- a/service/iot/api_op_DeleteJobExecution.go +++ b/service/iot/api_op_DeleteJobExecution.go @@ -149,9 +149,6 @@ func (c *Client) addOperationDeleteJobExecutionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteJobExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteJobTemplate.go b/service/iot/api_op_DeleteJobTemplate.go index a8e728e57f5..ee8aac9df67 100644 --- a/service/iot/api_op_DeleteJobTemplate.go +++ b/service/iot/api_op_DeleteJobTemplate.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteJobTemplateMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteJobTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteMitigationAction.go b/service/iot/api_op_DeleteMitigationAction.go index 724420bff9e..2e442483806 100644 --- a/service/iot/api_op_DeleteMitigationAction.go +++ b/service/iot/api_op_DeleteMitigationAction.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteMitigationActionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMitigationActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteOTAUpdate.go b/service/iot/api_op_DeleteOTAUpdate.go index bdb6deede31..38a11514367 100644 --- a/service/iot/api_op_DeleteOTAUpdate.go +++ b/service/iot/api_op_DeleteOTAUpdate.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteOTAUpdateMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteOTAUpdateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeletePackage.go b/service/iot/api_op_DeletePackage.go index 42b3fca1238..a12631522c0 100644 --- a/service/iot/api_op_DeletePackage.go +++ b/service/iot/api_op_DeletePackage.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeletePackageMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeletePackageMiddleware(stack, options); err != nil { return err } diff --git a/service/iot/api_op_DeletePackageVersion.go b/service/iot/api_op_DeletePackageVersion.go index ae0d530f432..751a51d4347 100644 --- a/service/iot/api_op_DeletePackageVersion.go +++ b/service/iot/api_op_DeletePackageVersion.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeletePackageVersionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeletePackageVersionMiddleware(stack, options); err != nil { return err } diff --git a/service/iot/api_op_DeletePolicy.go b/service/iot/api_op_DeletePolicy.go index c76b70dc336..9d8a36868ab 100644 --- a/service/iot/api_op_DeletePolicy.go +++ b/service/iot/api_op_DeletePolicy.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDeletePolicyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeletePolicyVersion.go b/service/iot/api_op_DeletePolicyVersion.go index e8dfdf3bff4..aa833253097 100644 --- a/service/iot/api_op_DeletePolicyVersion.go +++ b/service/iot/api_op_DeletePolicyVersion.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeletePolicyVersionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePolicyVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteProvisioningTemplate.go b/service/iot/api_op_DeleteProvisioningTemplate.go index b49e1737046..cb1d03faaf1 100644 --- a/service/iot/api_op_DeleteProvisioningTemplate.go +++ b/service/iot/api_op_DeleteProvisioningTemplate.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteProvisioningTemplateMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProvisioningTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteProvisioningTemplateVersion.go b/service/iot/api_op_DeleteProvisioningTemplateVersion.go index 9cbe8fb0529..f8f403eb036 100644 --- a/service/iot/api_op_DeleteProvisioningTemplateVersion.go +++ b/service/iot/api_op_DeleteProvisioningTemplateVersion.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteProvisioningTemplateVersionMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProvisioningTemplateVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteRegistrationCode.go b/service/iot/api_op_DeleteRegistrationCode.go index df9ff9ead50..634b31589ec 100644 --- a/service/iot/api_op_DeleteRegistrationCode.go +++ b/service/iot/api_op_DeleteRegistrationCode.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteRegistrationCodeMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRegistrationCode(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_DeleteRoleAlias.go b/service/iot/api_op_DeleteRoleAlias.go index 20350e3847a..350cdafae8f 100644 --- a/service/iot/api_op_DeleteRoleAlias.go +++ b/service/iot/api_op_DeleteRoleAlias.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteRoleAliasMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRoleAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteScheduledAudit.go b/service/iot/api_op_DeleteScheduledAudit.go index 485222111dd..1f825cb8060 100644 --- a/service/iot/api_op_DeleteScheduledAudit.go +++ b/service/iot/api_op_DeleteScheduledAudit.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteScheduledAuditMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteScheduledAuditValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteSecurityProfile.go b/service/iot/api_op_DeleteSecurityProfile.go index 3d22b87ff14..a9bf08a0f0a 100644 --- a/service/iot/api_op_DeleteSecurityProfile.go +++ b/service/iot/api_op_DeleteSecurityProfile.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteSecurityProfileMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSecurityProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteStream.go b/service/iot/api_op_DeleteStream.go index 756e6a7669a..e3a854aad87 100644 --- a/service/iot/api_op_DeleteStream.go +++ b/service/iot/api_op_DeleteStream.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteStreamMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteThing.go b/service/iot/api_op_DeleteThing.go index 6eeaa76ae69..e77958789e1 100644 --- a/service/iot/api_op_DeleteThing.go +++ b/service/iot/api_op_DeleteThing.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteThingMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteThingValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteThingGroup.go b/service/iot/api_op_DeleteThingGroup.go index c53db5858d5..7ac9c6b120b 100644 --- a/service/iot/api_op_DeleteThingGroup.go +++ b/service/iot/api_op_DeleteThingGroup.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteThingGroupMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteThingGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteThingType.go b/service/iot/api_op_DeleteThingType.go index c2f7bf935d4..51d3980f4a1 100644 --- a/service/iot/api_op_DeleteThingType.go +++ b/service/iot/api_op_DeleteThingType.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteThingTypeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteThingTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteTopicRule.go b/service/iot/api_op_DeleteTopicRule.go index 7be3b235955..8bd675bfcec 100644 --- a/service/iot/api_op_DeleteTopicRule.go +++ b/service/iot/api_op_DeleteTopicRule.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteTopicRuleMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTopicRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteTopicRuleDestination.go b/service/iot/api_op_DeleteTopicRuleDestination.go index ed76c9530b8..67874c037da 100644 --- a/service/iot/api_op_DeleteTopicRuleDestination.go +++ b/service/iot/api_op_DeleteTopicRuleDestination.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteTopicRuleDestinationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTopicRuleDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeleteV2LoggingLevel.go b/service/iot/api_op_DeleteV2LoggingLevel.go index f346fc0fdab..b8647c18d87 100644 --- a/service/iot/api_op_DeleteV2LoggingLevel.go +++ b/service/iot/api_op_DeleteV2LoggingLevel.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteV2LoggingLevelMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteV2LoggingLevelValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DeprecateThingType.go b/service/iot/api_op_DeprecateThingType.go index 898306d4aaf..77f70bb44db 100644 --- a/service/iot/api_op_DeprecateThingType.go +++ b/service/iot/api_op_DeprecateThingType.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeprecateThingTypeMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeprecateThingTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeAccountAuditConfiguration.go b/service/iot/api_op_DescribeAccountAuditConfiguration.go index 3d6484a6028..8da67bde003 100644 --- a/service/iot/api_op_DescribeAccountAuditConfiguration.go +++ b/service/iot/api_op_DescribeAccountAuditConfiguration.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeAccountAuditConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountAuditConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_DescribeAuditFinding.go b/service/iot/api_op_DescribeAuditFinding.go index 4a4f453ae46..a0cc7300487 100644 --- a/service/iot/api_op_DescribeAuditFinding.go +++ b/service/iot/api_op_DescribeAuditFinding.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeAuditFindingMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAuditFindingValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeAuditMitigationActionsTask.go b/service/iot/api_op_DescribeAuditMitigationActionsTask.go index e5e58fc75f7..15d1851e861 100644 --- a/service/iot/api_op_DescribeAuditMitigationActionsTask.go +++ b/service/iot/api_op_DescribeAuditMitigationActionsTask.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDescribeAuditMitigationActionsTaskMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAuditMitigationActionsTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeAuditSuppression.go b/service/iot/api_op_DescribeAuditSuppression.go index 789806778b4..9748523b84f 100644 --- a/service/iot/api_op_DescribeAuditSuppression.go +++ b/service/iot/api_op_DescribeAuditSuppression.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribeAuditSuppressionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAuditSuppressionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeAuditTask.go b/service/iot/api_op_DescribeAuditTask.go index 55a3c369d43..9782f83d8c2 100644 --- a/service/iot/api_op_DescribeAuditTask.go +++ b/service/iot/api_op_DescribeAuditTask.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeAuditTaskMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAuditTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeAuthorizer.go b/service/iot/api_op_DescribeAuthorizer.go index a4ddb5989c4..9c04b7c7b74 100644 --- a/service/iot/api_op_DescribeAuthorizer.go +++ b/service/iot/api_op_DescribeAuthorizer.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDescribeAuthorizerMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAuthorizerValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeBillingGroup.go b/service/iot/api_op_DescribeBillingGroup.go index 1b6987868d2..b2df5f14330 100644 --- a/service/iot/api_op_DescribeBillingGroup.go +++ b/service/iot/api_op_DescribeBillingGroup.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeBillingGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBillingGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeCACertificate.go b/service/iot/api_op_DescribeCACertificate.go index 37edb0785bf..da93bec861e 100644 --- a/service/iot/api_op_DescribeCACertificate.go +++ b/service/iot/api_op_DescribeCACertificate.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeCACertificateMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCACertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeCertificate.go b/service/iot/api_op_DescribeCertificate.go index b7303702626..bbe79c84484 100644 --- a/service/iot/api_op_DescribeCertificate.go +++ b/service/iot/api_op_DescribeCertificate.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeCertificateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeCertificateProvider.go b/service/iot/api_op_DescribeCertificateProvider.go index 350849a196a..0b88e556bd2 100644 --- a/service/iot/api_op_DescribeCertificateProvider.go +++ b/service/iot/api_op_DescribeCertificateProvider.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeCertificateProviderMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCertificateProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeCustomMetric.go b/service/iot/api_op_DescribeCustomMetric.go index d05a8babef7..9506702f159 100644 --- a/service/iot/api_op_DescribeCustomMetric.go +++ b/service/iot/api_op_DescribeCustomMetric.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDescribeCustomMetricMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCustomMetricValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeDefaultAuthorizer.go b/service/iot/api_op_DescribeDefaultAuthorizer.go index 75cb153c927..d094546145b 100644 --- a/service/iot/api_op_DescribeDefaultAuthorizer.go +++ b/service/iot/api_op_DescribeDefaultAuthorizer.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDescribeDefaultAuthorizerMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDefaultAuthorizer(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_DescribeDetectMitigationActionsTask.go b/service/iot/api_op_DescribeDetectMitigationActionsTask.go index 18835a9934a..eb0c3af6536 100644 --- a/service/iot/api_op_DescribeDetectMitigationActionsTask.go +++ b/service/iot/api_op_DescribeDetectMitigationActionsTask.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDescribeDetectMitigationActionsTaskMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDetectMitigationActionsTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeDimension.go b/service/iot/api_op_DescribeDimension.go index 72ba78278d6..52d61d817ad 100644 --- a/service/iot/api_op_DescribeDimension.go +++ b/service/iot/api_op_DescribeDimension.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeDimensionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDimensionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeDomainConfiguration.go b/service/iot/api_op_DescribeDomainConfiguration.go index e73eaf92c14..cb9c8a41ec7 100644 --- a/service/iot/api_op_DescribeDomainConfiguration.go +++ b/service/iot/api_op_DescribeDomainConfiguration.go @@ -189,9 +189,6 @@ func (c *Client) addOperationDescribeDomainConfigurationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDomainConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeEndpoint.go b/service/iot/api_op_DescribeEndpoint.go index d63b7796d0b..3d7876837ee 100644 --- a/service/iot/api_op_DescribeEndpoint.go +++ b/service/iot/api_op_DescribeEndpoint.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeEndpointMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEndpoint(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_DescribeEventConfigurations.go b/service/iot/api_op_DescribeEventConfigurations.go index bedf0f8b05a..1746dcae67d 100644 --- a/service/iot/api_op_DescribeEventConfigurations.go +++ b/service/iot/api_op_DescribeEventConfigurations.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDescribeEventConfigurationsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEventConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_DescribeFleetMetric.go b/service/iot/api_op_DescribeFleetMetric.go index d9dde3229c8..ada274e041f 100644 --- a/service/iot/api_op_DescribeFleetMetric.go +++ b/service/iot/api_op_DescribeFleetMetric.go @@ -157,9 +157,6 @@ func (c *Client) addOperationDescribeFleetMetricMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFleetMetricValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeIndex.go b/service/iot/api_op_DescribeIndex.go index d7ba7fda4f7..0554cad623d 100644 --- a/service/iot/api_op_DescribeIndex.go +++ b/service/iot/api_op_DescribeIndex.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDescribeIndexMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeIndexValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeJob.go b/service/iot/api_op_DescribeJob.go index 9548238602a..5838105d715 100644 --- a/service/iot/api_op_DescribeJob.go +++ b/service/iot/api_op_DescribeJob.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeJobMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeJobExecution.go b/service/iot/api_op_DescribeJobExecution.go index 1dc0ca2fe9b..c53efd16d35 100644 --- a/service/iot/api_op_DescribeJobExecution.go +++ b/service/iot/api_op_DescribeJobExecution.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribeJobExecutionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeJobExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeJobTemplate.go b/service/iot/api_op_DescribeJobTemplate.go index 39f7a9e10ac..e066201b0b5 100644 --- a/service/iot/api_op_DescribeJobTemplate.go +++ b/service/iot/api_op_DescribeJobTemplate.go @@ -162,9 +162,6 @@ func (c *Client) addOperationDescribeJobTemplateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeJobTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeManagedJobTemplate.go b/service/iot/api_op_DescribeManagedJobTemplate.go index aee27313240..756d3b17553 100644 --- a/service/iot/api_op_DescribeManagedJobTemplate.go +++ b/service/iot/api_op_DescribeManagedJobTemplate.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDescribeManagedJobTemplateMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeManagedJobTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeMitigationAction.go b/service/iot/api_op_DescribeMitigationAction.go index 78648ff38b3..2ada7097084 100644 --- a/service/iot/api_op_DescribeMitigationAction.go +++ b/service/iot/api_op_DescribeMitigationAction.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDescribeMitigationActionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeMitigationActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeProvisioningTemplate.go b/service/iot/api_op_DescribeProvisioningTemplate.go index 70482d1795e..d746e65e425 100644 --- a/service/iot/api_op_DescribeProvisioningTemplate.go +++ b/service/iot/api_op_DescribeProvisioningTemplate.go @@ -153,9 +153,6 @@ func (c *Client) addOperationDescribeProvisioningTemplateMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeProvisioningTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeProvisioningTemplateVersion.go b/service/iot/api_op_DescribeProvisioningTemplateVersion.go index f38395909ec..8d38f234f76 100644 --- a/service/iot/api_op_DescribeProvisioningTemplateVersion.go +++ b/service/iot/api_op_DescribeProvisioningTemplateVersion.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeProvisioningTemplateVersionMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeProvisioningTemplateVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeRoleAlias.go b/service/iot/api_op_DescribeRoleAlias.go index f675cf9e3bf..7905a48f260 100644 --- a/service/iot/api_op_DescribeRoleAlias.go +++ b/service/iot/api_op_DescribeRoleAlias.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDescribeRoleAliasMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRoleAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeScheduledAudit.go b/service/iot/api_op_DescribeScheduledAudit.go index 442a2fb920b..0d90b436528 100644 --- a/service/iot/api_op_DescribeScheduledAudit.go +++ b/service/iot/api_op_DescribeScheduledAudit.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDescribeScheduledAuditMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeScheduledAuditValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeSecurityProfile.go b/service/iot/api_op_DescribeSecurityProfile.go index 2af1b9a080e..f1559648b98 100644 --- a/service/iot/api_op_DescribeSecurityProfile.go +++ b/service/iot/api_op_DescribeSecurityProfile.go @@ -157,9 +157,6 @@ func (c *Client) addOperationDescribeSecurityProfileMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSecurityProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeStream.go b/service/iot/api_op_DescribeStream.go index 7222afd9a17..d761ae2dee8 100644 --- a/service/iot/api_op_DescribeStream.go +++ b/service/iot/api_op_DescribeStream.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDescribeStreamMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeThing.go b/service/iot/api_op_DescribeThing.go index 16024d3264c..24720f9b1ee 100644 --- a/service/iot/api_op_DescribeThing.go +++ b/service/iot/api_op_DescribeThing.go @@ -149,9 +149,6 @@ func (c *Client) addOperationDescribeThingMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeThingValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeThingGroup.go b/service/iot/api_op_DescribeThingGroup.go index d9bc1b0c3ae..183a1458fac 100644 --- a/service/iot/api_op_DescribeThingGroup.go +++ b/service/iot/api_op_DescribeThingGroup.go @@ -143,9 +143,6 @@ func (c *Client) addOperationDescribeThingGroupMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeThingGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeThingRegistrationTask.go b/service/iot/api_op_DescribeThingRegistrationTask.go index 3e47d2b6631..a30f0314c48 100644 --- a/service/iot/api_op_DescribeThingRegistrationTask.go +++ b/service/iot/api_op_DescribeThingRegistrationTask.go @@ -150,9 +150,6 @@ func (c *Client) addOperationDescribeThingRegistrationTaskMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeThingRegistrationTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DescribeThingType.go b/service/iot/api_op_DescribeThingType.go index 7388fd3be3e..898c132eb98 100644 --- a/service/iot/api_op_DescribeThingType.go +++ b/service/iot/api_op_DescribeThingType.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeThingTypeMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeThingTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DetachPolicy.go b/service/iot/api_op_DetachPolicy.go index 377a687ec87..ac17be390bf 100644 --- a/service/iot/api_op_DetachPolicy.go +++ b/service/iot/api_op_DetachPolicy.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDetachPolicyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetachPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DetachPrincipalPolicy.go b/service/iot/api_op_DetachPrincipalPolicy.go index 6fa0b51eb7e..e7cedaadef5 100644 --- a/service/iot/api_op_DetachPrincipalPolicy.go +++ b/service/iot/api_op_DetachPrincipalPolicy.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDetachPrincipalPolicyMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetachPrincipalPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DetachSecurityProfile.go b/service/iot/api_op_DetachSecurityProfile.go index 76781ae264b..a4d5a1c9e7f 100644 --- a/service/iot/api_op_DetachSecurityProfile.go +++ b/service/iot/api_op_DetachSecurityProfile.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDetachSecurityProfileMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetachSecurityProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DetachThingPrincipal.go b/service/iot/api_op_DetachThingPrincipal.go index cfff0c17c12..1e1796b527f 100644 --- a/service/iot/api_op_DetachThingPrincipal.go +++ b/service/iot/api_op_DetachThingPrincipal.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDetachThingPrincipalMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetachThingPrincipalValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DisableTopicRule.go b/service/iot/api_op_DisableTopicRule.go index 43dd40054c2..8ce26e7e5ff 100644 --- a/service/iot/api_op_DisableTopicRule.go +++ b/service/iot/api_op_DisableTopicRule.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDisableTopicRuleMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableTopicRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_DisassociateSbomFromPackageVersion.go b/service/iot/api_op_DisassociateSbomFromPackageVersion.go index 81fb04527c2..845a424d03e 100644 --- a/service/iot/api_op_DisassociateSbomFromPackageVersion.go +++ b/service/iot/api_op_DisassociateSbomFromPackageVersion.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDisassociateSbomFromPackageVersionMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDisassociateSbomFromPackageVersionMiddleware(stack, options); err != nil { return err } diff --git a/service/iot/api_op_EnableTopicRule.go b/service/iot/api_op_EnableTopicRule.go index 5d0692e3528..2679acdfd48 100644 --- a/service/iot/api_op_EnableTopicRule.go +++ b/service/iot/api_op_EnableTopicRule.go @@ -112,9 +112,6 @@ func (c *Client) addOperationEnableTopicRuleMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableTopicRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_GetBehaviorModelTrainingSummaries.go b/service/iot/api_op_GetBehaviorModelTrainingSummaries.go index 34fdb75db7f..9aae02ad95f 100644 --- a/service/iot/api_op_GetBehaviorModelTrainingSummaries.go +++ b/service/iot/api_op_GetBehaviorModelTrainingSummaries.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetBehaviorModelTrainingSummariesMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBehaviorModelTrainingSummaries(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_GetBucketsAggregation.go b/service/iot/api_op_GetBucketsAggregation.go index 6981f8210d9..e8eccb92517 100644 --- a/service/iot/api_op_GetBucketsAggregation.go +++ b/service/iot/api_op_GetBucketsAggregation.go @@ -141,9 +141,6 @@ func (c *Client) addOperationGetBucketsAggregationMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBucketsAggregationValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_GetCardinality.go b/service/iot/api_op_GetCardinality.go index 0696864fc7f..03a39e0e958 100644 --- a/service/iot/api_op_GetCardinality.go +++ b/service/iot/api_op_GetCardinality.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetCardinalityMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCardinalityValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_GetCommand.go b/service/iot/api_op_GetCommand.go index 7cec43469f5..33f5e788be6 100644 --- a/service/iot/api_op_GetCommand.go +++ b/service/iot/api_op_GetCommand.go @@ -148,9 +148,6 @@ func (c *Client) addOperationGetCommandMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCommandValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_GetCommandExecution.go b/service/iot/api_op_GetCommandExecution.go index 7d34355c4e7..393c3072a54 100644 --- a/service/iot/api_op_GetCommandExecution.go +++ b/service/iot/api_op_GetCommandExecution.go @@ -178,9 +178,6 @@ func (c *Client) addOperationGetCommandExecutionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCommandExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_GetEffectivePolicies.go b/service/iot/api_op_GetEffectivePolicies.go index ace56882a9e..aa0989e2ae1 100644 --- a/service/iot/api_op_GetEffectivePolicies.go +++ b/service/iot/api_op_GetEffectivePolicies.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetEffectivePoliciesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEffectivePolicies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_GetIndexingConfiguration.go b/service/iot/api_op_GetIndexingConfiguration.go index 3aca73e544a..7ff04485e96 100644 --- a/service/iot/api_op_GetIndexingConfiguration.go +++ b/service/iot/api_op_GetIndexingConfiguration.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetIndexingConfigurationMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIndexingConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_GetJobDocument.go b/service/iot/api_op_GetJobDocument.go index 51dc5e255b2..534a25a150e 100644 --- a/service/iot/api_op_GetJobDocument.go +++ b/service/iot/api_op_GetJobDocument.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetJobDocumentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetJobDocumentValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_GetLoggingOptions.go b/service/iot/api_op_GetLoggingOptions.go index 445712ad448..aeac804d276 100644 --- a/service/iot/api_op_GetLoggingOptions.go +++ b/service/iot/api_op_GetLoggingOptions.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetLoggingOptionsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLoggingOptions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_GetOTAUpdate.go b/service/iot/api_op_GetOTAUpdate.go index 3cf42d5bd23..90fa84f093a 100644 --- a/service/iot/api_op_GetOTAUpdate.go +++ b/service/iot/api_op_GetOTAUpdate.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetOTAUpdateMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetOTAUpdateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_GetPackage.go b/service/iot/api_op_GetPackage.go index 2f1daa49d1c..6de76051804 100644 --- a/service/iot/api_op_GetPackage.go +++ b/service/iot/api_op_GetPackage.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetPackageMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPackageValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_GetPackageConfiguration.go b/service/iot/api_op_GetPackageConfiguration.go index 0d5adc6fb75..393c5c3eeba 100644 --- a/service/iot/api_op_GetPackageConfiguration.go +++ b/service/iot/api_op_GetPackageConfiguration.go @@ -110,9 +110,6 @@ func (c *Client) addOperationGetPackageConfigurationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPackageConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_GetPackageVersion.go b/service/iot/api_op_GetPackageVersion.go index cdbe41f9d72..568918cf82e 100644 --- a/service/iot/api_op_GetPackageVersion.go +++ b/service/iot/api_op_GetPackageVersion.go @@ -163,9 +163,6 @@ func (c *Client) addOperationGetPackageVersionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPackageVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_GetPercentiles.go b/service/iot/api_op_GetPercentiles.go index cec0f1eb098..f797cbbf2c9 100644 --- a/service/iot/api_op_GetPercentiles.go +++ b/service/iot/api_op_GetPercentiles.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGetPercentilesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPercentilesValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_GetPolicy.go b/service/iot/api_op_GetPolicy.go index 54538a8ea05..22bad590f36 100644 --- a/service/iot/api_op_GetPolicy.go +++ b/service/iot/api_op_GetPolicy.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGetPolicyMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_GetPolicyVersion.go b/service/iot/api_op_GetPolicyVersion.go index 343f9c36c74..34b0b42b61f 100644 --- a/service/iot/api_op_GetPolicyVersion.go +++ b/service/iot/api_op_GetPolicyVersion.go @@ -144,9 +144,6 @@ func (c *Client) addOperationGetPolicyVersionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPolicyVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_GetRegistrationCode.go b/service/iot/api_op_GetRegistrationCode.go index 37183afb364..ed0565dfdd6 100644 --- a/service/iot/api_op_GetRegistrationCode.go +++ b/service/iot/api_op_GetRegistrationCode.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetRegistrationCodeMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRegistrationCode(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_GetStatistics.go b/service/iot/api_op_GetStatistics.go index 8c1e0a4ff64..2a12730409b 100644 --- a/service/iot/api_op_GetStatistics.go +++ b/service/iot/api_op_GetStatistics.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGetStatisticsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetStatisticsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_GetThingConnectivityData.go b/service/iot/api_op_GetThingConnectivityData.go index d702bd6b5b1..b92fe445293 100644 --- a/service/iot/api_op_GetThingConnectivityData.go +++ b/service/iot/api_op_GetThingConnectivityData.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetThingConnectivityDataMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetThingConnectivityDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_GetTopicRule.go b/service/iot/api_op_GetTopicRule.go index 3c37f633732..a855f0dfcc5 100644 --- a/service/iot/api_op_GetTopicRule.go +++ b/service/iot/api_op_GetTopicRule.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetTopicRuleMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTopicRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_GetTopicRuleDestination.go b/service/iot/api_op_GetTopicRuleDestination.go index e77822c57ca..4d3bd6657c5 100644 --- a/service/iot/api_op_GetTopicRuleDestination.go +++ b/service/iot/api_op_GetTopicRuleDestination.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetTopicRuleDestinationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTopicRuleDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_GetV2LoggingOptions.go b/service/iot/api_op_GetV2LoggingOptions.go index 09f86a44301..ce72724fb46 100644 --- a/service/iot/api_op_GetV2LoggingOptions.go +++ b/service/iot/api_op_GetV2LoggingOptions.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetV2LoggingOptionsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetV2LoggingOptions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListActiveViolations.go b/service/iot/api_op_ListActiveViolations.go index d3105a95c9d..6817fc7eda8 100644 --- a/service/iot/api_op_ListActiveViolations.go +++ b/service/iot/api_op_ListActiveViolations.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListActiveViolationsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListActiveViolations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListAttachedPolicies.go b/service/iot/api_op_ListAttachedPolicies.go index c7a8fce679e..f85f0d87672 100644 --- a/service/iot/api_op_ListAttachedPolicies.go +++ b/service/iot/api_op_ListAttachedPolicies.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListAttachedPoliciesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAttachedPoliciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListAuditFindings.go b/service/iot/api_op_ListAuditFindings.go index 03ba950126c..15afeb609b2 100644 --- a/service/iot/api_op_ListAuditFindings.go +++ b/service/iot/api_op_ListAuditFindings.go @@ -146,9 +146,6 @@ func (c *Client) addOperationListAuditFindingsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAuditFindings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListAuditMitigationActionsExecutions.go b/service/iot/api_op_ListAuditMitigationActionsExecutions.go index 87412d63fb5..b1e3b60fdcf 100644 --- a/service/iot/api_op_ListAuditMitigationActionsExecutions.go +++ b/service/iot/api_op_ListAuditMitigationActionsExecutions.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListAuditMitigationActionsExecutionsMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAuditMitigationActionsExecutionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListAuditMitigationActionsTasks.go b/service/iot/api_op_ListAuditMitigationActionsTasks.go index a787dc2002d..bc15dedad07 100644 --- a/service/iot/api_op_ListAuditMitigationActionsTasks.go +++ b/service/iot/api_op_ListAuditMitigationActionsTasks.go @@ -144,9 +144,6 @@ func (c *Client) addOperationListAuditMitigationActionsTasksMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAuditMitigationActionsTasksValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListAuditSuppressions.go b/service/iot/api_op_ListAuditSuppressions.go index ebc7f1c28cf..470488bfb63 100644 --- a/service/iot/api_op_ListAuditSuppressions.go +++ b/service/iot/api_op_ListAuditSuppressions.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListAuditSuppressionsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAuditSuppressions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListAuditTasks.go b/service/iot/api_op_ListAuditTasks.go index 7fac2eab4b8..c57b604d402 100644 --- a/service/iot/api_op_ListAuditTasks.go +++ b/service/iot/api_op_ListAuditTasks.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListAuditTasksMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAuditTasksValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListAuthorizers.go b/service/iot/api_op_ListAuthorizers.go index 5d155fa6d5c..27ba1e95b99 100644 --- a/service/iot/api_op_ListAuthorizers.go +++ b/service/iot/api_op_ListAuthorizers.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListAuthorizersMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAuthorizers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListBillingGroups.go b/service/iot/api_op_ListBillingGroups.go index 24ae49ebae9..a18f6d4bebb 100644 --- a/service/iot/api_op_ListBillingGroups.go +++ b/service/iot/api_op_ListBillingGroups.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListBillingGroupsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBillingGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListCACertificates.go b/service/iot/api_op_ListCACertificates.go index 9d8194ad215..9bf20f0b14d 100644 --- a/service/iot/api_op_ListCACertificates.go +++ b/service/iot/api_op_ListCACertificates.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListCACertificatesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCACertificates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListCertificateProviders.go b/service/iot/api_op_ListCertificateProviders.go index 2f4d33b6d8f..74eac24a5ca 100644 --- a/service/iot/api_op_ListCertificateProviders.go +++ b/service/iot/api_op_ListCertificateProviders.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListCertificateProvidersMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCertificateProviders(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListCertificates.go b/service/iot/api_op_ListCertificates.go index 0783f60f773..a6a296228e0 100644 --- a/service/iot/api_op_ListCertificates.go +++ b/service/iot/api_op_ListCertificates.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListCertificatesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCertificates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListCertificatesByCA.go b/service/iot/api_op_ListCertificatesByCA.go index 9e0ec8160ac..9697cdf7314 100644 --- a/service/iot/api_op_ListCertificatesByCA.go +++ b/service/iot/api_op_ListCertificatesByCA.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListCertificatesByCAMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCertificatesByCAValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListCommandExecutions.go b/service/iot/api_op_ListCommandExecutions.go index 8df99feb7e9..cf64f91f461 100644 --- a/service/iot/api_op_ListCommandExecutions.go +++ b/service/iot/api_op_ListCommandExecutions.go @@ -161,9 +161,6 @@ func (c *Client) addOperationListCommandExecutionsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCommandExecutions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListCommands.go b/service/iot/api_op_ListCommands.go index cafd28d4122..a9d992c9e2c 100644 --- a/service/iot/api_op_ListCommands.go +++ b/service/iot/api_op_ListCommands.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListCommandsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCommands(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListCustomMetrics.go b/service/iot/api_op_ListCustomMetrics.go index 4170ccedf4f..8d84889f829 100644 --- a/service/iot/api_op_ListCustomMetrics.go +++ b/service/iot/api_op_ListCustomMetrics.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListCustomMetricsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCustomMetrics(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListDetectMitigationActionsExecutions.go b/service/iot/api_op_ListDetectMitigationActionsExecutions.go index e2d8cbb5ad2..5bd615a2271 100644 --- a/service/iot/api_op_ListDetectMitigationActionsExecutions.go +++ b/service/iot/api_op_ListDetectMitigationActionsExecutions.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListDetectMitigationActionsExecutionsMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDetectMitigationActionsExecutions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListDetectMitigationActionsTasks.go b/service/iot/api_op_ListDetectMitigationActionsTasks.go index b2128d6ab26..9db980e6723 100644 --- a/service/iot/api_op_ListDetectMitigationActionsTasks.go +++ b/service/iot/api_op_ListDetectMitigationActionsTasks.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListDetectMitigationActionsTasksMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDetectMitigationActionsTasksValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListDimensions.go b/service/iot/api_op_ListDimensions.go index 3118e919946..8a3184299d3 100644 --- a/service/iot/api_op_ListDimensions.go +++ b/service/iot/api_op_ListDimensions.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListDimensionsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDimensions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListDomainConfigurations.go b/service/iot/api_op_ListDomainConfigurations.go index 6224f45f010..1621b188ff1 100644 --- a/service/iot/api_op_ListDomainConfigurations.go +++ b/service/iot/api_op_ListDomainConfigurations.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListDomainConfigurationsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDomainConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListFleetMetrics.go b/service/iot/api_op_ListFleetMetrics.go index a83a133ff5e..b93b164db46 100644 --- a/service/iot/api_op_ListFleetMetrics.go +++ b/service/iot/api_op_ListFleetMetrics.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListFleetMetricsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFleetMetrics(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListIndices.go b/service/iot/api_op_ListIndices.go index d61c1c37850..7b4ff90fe4f 100644 --- a/service/iot/api_op_ListIndices.go +++ b/service/iot/api_op_ListIndices.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListIndicesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIndices(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListJobExecutionsForJob.go b/service/iot/api_op_ListJobExecutionsForJob.go index 78e9c4f19b8..e744ce9d5ff 100644 --- a/service/iot/api_op_ListJobExecutionsForJob.go +++ b/service/iot/api_op_ListJobExecutionsForJob.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListJobExecutionsForJobMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListJobExecutionsForJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListJobExecutionsForThing.go b/service/iot/api_op_ListJobExecutionsForThing.go index 676a16e2463..abcc417aca7 100644 --- a/service/iot/api_op_ListJobExecutionsForThing.go +++ b/service/iot/api_op_ListJobExecutionsForThing.go @@ -146,9 +146,6 @@ func (c *Client) addOperationListJobExecutionsForThingMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListJobExecutionsForThingValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListJobTemplates.go b/service/iot/api_op_ListJobTemplates.go index d2839bc5b95..82c4e446104 100644 --- a/service/iot/api_op_ListJobTemplates.go +++ b/service/iot/api_op_ListJobTemplates.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListJobTemplatesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJobTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListJobs.go b/service/iot/api_op_ListJobs.go index ce265de67ca..b18ea21932c 100644 --- a/service/iot/api_op_ListJobs.go +++ b/service/iot/api_op_ListJobs.go @@ -156,9 +156,6 @@ func (c *Client) addOperationListJobsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListManagedJobTemplates.go b/service/iot/api_op_ListManagedJobTemplates.go index 17b57690ec6..52fb394004b 100644 --- a/service/iot/api_op_ListManagedJobTemplates.go +++ b/service/iot/api_op_ListManagedJobTemplates.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListManagedJobTemplatesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListManagedJobTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListMetricValues.go b/service/iot/api_op_ListMetricValues.go index 9e45ea45f13..f1838329fe4 100644 --- a/service/iot/api_op_ListMetricValues.go +++ b/service/iot/api_op_ListMetricValues.go @@ -146,9 +146,6 @@ func (c *Client) addOperationListMetricValuesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMetricValuesValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListMitigationActions.go b/service/iot/api_op_ListMitigationActions.go index cffb4022973..859cf835d71 100644 --- a/service/iot/api_op_ListMitigationActions.go +++ b/service/iot/api_op_ListMitigationActions.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListMitigationActionsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMitigationActions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListOTAUpdates.go b/service/iot/api_op_ListOTAUpdates.go index 65a46097042..11707526e72 100644 --- a/service/iot/api_op_ListOTAUpdates.go +++ b/service/iot/api_op_ListOTAUpdates.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListOTAUpdatesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOTAUpdates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListOutgoingCertificates.go b/service/iot/api_op_ListOutgoingCertificates.go index ac3d1f38d4d..c03c91471a7 100644 --- a/service/iot/api_op_ListOutgoingCertificates.go +++ b/service/iot/api_op_ListOutgoingCertificates.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListOutgoingCertificatesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOutgoingCertificates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListPackageVersions.go b/service/iot/api_op_ListPackageVersions.go index fcaa5c502ce..f4ca31ba155 100644 --- a/service/iot/api_op_ListPackageVersions.go +++ b/service/iot/api_op_ListPackageVersions.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListPackageVersionsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPackageVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListPackages.go b/service/iot/api_op_ListPackages.go index acc1b575d88..69d6fcbc982 100644 --- a/service/iot/api_op_ListPackages.go +++ b/service/iot/api_op_ListPackages.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListPackagesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPackages(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListPolicies.go b/service/iot/api_op_ListPolicies.go index 0a3e4ff727d..62a3ec0e36f 100644 --- a/service/iot/api_op_ListPolicies.go +++ b/service/iot/api_op_ListPolicies.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListPoliciesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPolicies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListPolicyPrincipals.go b/service/iot/api_op_ListPolicyPrincipals.go index 8e8a6327ab6..db64410119c 100644 --- a/service/iot/api_op_ListPolicyPrincipals.go +++ b/service/iot/api_op_ListPolicyPrincipals.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListPolicyPrincipalsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPolicyPrincipalsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListPolicyVersions.go b/service/iot/api_op_ListPolicyVersions.go index bff63104746..3467e898268 100644 --- a/service/iot/api_op_ListPolicyVersions.go +++ b/service/iot/api_op_ListPolicyVersions.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListPolicyVersionsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPolicyVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListPrincipalPolicies.go b/service/iot/api_op_ListPrincipalPolicies.go index 3c1e8298b30..c056e2a79d3 100644 --- a/service/iot/api_op_ListPrincipalPolicies.go +++ b/service/iot/api_op_ListPrincipalPolicies.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListPrincipalPoliciesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPrincipalPoliciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListPrincipalThings.go b/service/iot/api_op_ListPrincipalThings.go index ef409c93417..679014522f2 100644 --- a/service/iot/api_op_ListPrincipalThings.go +++ b/service/iot/api_op_ListPrincipalThings.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListPrincipalThingsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPrincipalThingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListPrincipalThingsV2.go b/service/iot/api_op_ListPrincipalThingsV2.go index e0511c58b9b..4612caca3be 100644 --- a/service/iot/api_op_ListPrincipalThingsV2.go +++ b/service/iot/api_op_ListPrincipalThingsV2.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListPrincipalThingsV2Middlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPrincipalThingsV2ValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListProvisioningTemplateVersions.go b/service/iot/api_op_ListProvisioningTemplateVersions.go index 1b42c6cb059..128fa8db871 100644 --- a/service/iot/api_op_ListProvisioningTemplateVersions.go +++ b/service/iot/api_op_ListProvisioningTemplateVersions.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListProvisioningTemplateVersionsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListProvisioningTemplateVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListProvisioningTemplates.go b/service/iot/api_op_ListProvisioningTemplates.go index 68c51fcab31..2c1f244e833 100644 --- a/service/iot/api_op_ListProvisioningTemplates.go +++ b/service/iot/api_op_ListProvisioningTemplates.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListProvisioningTemplatesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProvisioningTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListRelatedResourcesForAuditFinding.go b/service/iot/api_op_ListRelatedResourcesForAuditFinding.go index 37d313fdbb9..f8d5b15fe79 100644 --- a/service/iot/api_op_ListRelatedResourcesForAuditFinding.go +++ b/service/iot/api_op_ListRelatedResourcesForAuditFinding.go @@ -151,9 +151,6 @@ func (c *Client) addOperationListRelatedResourcesForAuditFindingMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRelatedResourcesForAuditFindingValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListRoleAliases.go b/service/iot/api_op_ListRoleAliases.go index be89c3d85c0..81a8715c406 100644 --- a/service/iot/api_op_ListRoleAliases.go +++ b/service/iot/api_op_ListRoleAliases.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListRoleAliasesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRoleAliases(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListSbomValidationResults.go b/service/iot/api_op_ListSbomValidationResults.go index 9c6c7d48455..48fc638893c 100644 --- a/service/iot/api_op_ListSbomValidationResults.go +++ b/service/iot/api_op_ListSbomValidationResults.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListSbomValidationResultsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSbomValidationResultsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListScheduledAudits.go b/service/iot/api_op_ListScheduledAudits.go index 2212e8f57eb..322b7e92e3f 100644 --- a/service/iot/api_op_ListScheduledAudits.go +++ b/service/iot/api_op_ListScheduledAudits.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListScheduledAuditsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListScheduledAudits(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListSecurityProfiles.go b/service/iot/api_op_ListSecurityProfiles.go index 40498e9bc80..42fe9becf05 100644 --- a/service/iot/api_op_ListSecurityProfiles.go +++ b/service/iot/api_op_ListSecurityProfiles.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListSecurityProfilesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSecurityProfiles(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListSecurityProfilesForTarget.go b/service/iot/api_op_ListSecurityProfilesForTarget.go index 100523da3d9..f023c05427b 100644 --- a/service/iot/api_op_ListSecurityProfilesForTarget.go +++ b/service/iot/api_op_ListSecurityProfilesForTarget.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListSecurityProfilesForTargetMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSecurityProfilesForTargetValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListStreams.go b/service/iot/api_op_ListStreams.go index e32219fac0e..dea9336462d 100644 --- a/service/iot/api_op_ListStreams.go +++ b/service/iot/api_op_ListStreams.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListStreamsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStreams(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListTagsForResource.go b/service/iot/api_op_ListTagsForResource.go index 5f45adab34a..4ce9393b640 100644 --- a/service/iot/api_op_ListTagsForResource.go +++ b/service/iot/api_op_ListTagsForResource.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListTargetsForPolicy.go b/service/iot/api_op_ListTargetsForPolicy.go index ebc1fd3b5ba..1e13ef9f817 100644 --- a/service/iot/api_op_ListTargetsForPolicy.go +++ b/service/iot/api_op_ListTargetsForPolicy.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListTargetsForPolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTargetsForPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListTargetsForSecurityProfile.go b/service/iot/api_op_ListTargetsForSecurityProfile.go index f6a532f38c5..25aaf447378 100644 --- a/service/iot/api_op_ListTargetsForSecurityProfile.go +++ b/service/iot/api_op_ListTargetsForSecurityProfile.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListTargetsForSecurityProfileMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTargetsForSecurityProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListThingGroups.go b/service/iot/api_op_ListThingGroups.go index 9e44ffb3357..6c1744f552e 100644 --- a/service/iot/api_op_ListThingGroups.go +++ b/service/iot/api_op_ListThingGroups.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListThingGroupsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListThingGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListThingGroupsForThing.go b/service/iot/api_op_ListThingGroupsForThing.go index a3d886a37bd..2ae5ee56835 100644 --- a/service/iot/api_op_ListThingGroupsForThing.go +++ b/service/iot/api_op_ListThingGroupsForThing.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListThingGroupsForThingMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListThingGroupsForThingValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListThingPrincipals.go b/service/iot/api_op_ListThingPrincipals.go index ed9203786be..ef19ea52197 100644 --- a/service/iot/api_op_ListThingPrincipals.go +++ b/service/iot/api_op_ListThingPrincipals.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListThingPrincipalsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListThingPrincipalsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListThingPrincipalsV2.go b/service/iot/api_op_ListThingPrincipalsV2.go index 865fc7ae8c9..55ad5093c4b 100644 --- a/service/iot/api_op_ListThingPrincipalsV2.go +++ b/service/iot/api_op_ListThingPrincipalsV2.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListThingPrincipalsV2Middlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListThingPrincipalsV2ValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListThingRegistrationTaskReports.go b/service/iot/api_op_ListThingRegistrationTaskReports.go index f63b8f71bc7..a276ba41fae 100644 --- a/service/iot/api_op_ListThingRegistrationTaskReports.go +++ b/service/iot/api_op_ListThingRegistrationTaskReports.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListThingRegistrationTaskReportsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListThingRegistrationTaskReportsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListThingRegistrationTasks.go b/service/iot/api_op_ListThingRegistrationTasks.go index a9467af8255..47378fc11e4 100644 --- a/service/iot/api_op_ListThingRegistrationTasks.go +++ b/service/iot/api_op_ListThingRegistrationTasks.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListThingRegistrationTasksMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListThingRegistrationTasks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListThingTypes.go b/service/iot/api_op_ListThingTypes.go index 87e9fa7945e..b6efee62f98 100644 --- a/service/iot/api_op_ListThingTypes.go +++ b/service/iot/api_op_ListThingTypes.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListThingTypesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListThingTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListThings.go b/service/iot/api_op_ListThings.go index a79db0efe73..29d9c584c93 100644 --- a/service/iot/api_op_ListThings.go +++ b/service/iot/api_op_ListThings.go @@ -149,9 +149,6 @@ func (c *Client) addOperationListThingsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListThings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListThingsInBillingGroup.go b/service/iot/api_op_ListThingsInBillingGroup.go index 4110feff6b7..3826efd66b6 100644 --- a/service/iot/api_op_ListThingsInBillingGroup.go +++ b/service/iot/api_op_ListThingsInBillingGroup.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListThingsInBillingGroupMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListThingsInBillingGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListThingsInThingGroup.go b/service/iot/api_op_ListThingsInThingGroup.go index d110cb1aeba..d342c44a602 100644 --- a/service/iot/api_op_ListThingsInThingGroup.go +++ b/service/iot/api_op_ListThingsInThingGroup.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListThingsInThingGroupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListThingsInThingGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ListTopicRuleDestinations.go b/service/iot/api_op_ListTopicRuleDestinations.go index af1dbadc9d9..2624d2c0422 100644 --- a/service/iot/api_op_ListTopicRuleDestinations.go +++ b/service/iot/api_op_ListTopicRuleDestinations.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListTopicRuleDestinationsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTopicRuleDestinations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListTopicRules.go b/service/iot/api_op_ListTopicRules.go index 50018d5db99..db873ff2f4b 100644 --- a/service/iot/api_op_ListTopicRules.go +++ b/service/iot/api_op_ListTopicRules.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListTopicRulesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTopicRules(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListV2LoggingLevels.go b/service/iot/api_op_ListV2LoggingLevels.go index 3b1e70bce6f..54de0c67802 100644 --- a/service/iot/api_op_ListV2LoggingLevels.go +++ b/service/iot/api_op_ListV2LoggingLevels.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListV2LoggingLevelsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListV2LoggingLevels(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ListViolationEvents.go b/service/iot/api_op_ListViolationEvents.go index 057bf785cc9..ca98105b060 100644 --- a/service/iot/api_op_ListViolationEvents.go +++ b/service/iot/api_op_ListViolationEvents.go @@ -152,9 +152,6 @@ func (c *Client) addOperationListViolationEventsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListViolationEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_PutVerificationStateOnViolation.go b/service/iot/api_op_PutVerificationStateOnViolation.go index 9f1c15e18e7..3d204bfdc03 100644 --- a/service/iot/api_op_PutVerificationStateOnViolation.go +++ b/service/iot/api_op_PutVerificationStateOnViolation.go @@ -117,9 +117,6 @@ func (c *Client) addOperationPutVerificationStateOnViolationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutVerificationStateOnViolationValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_RegisterCACertificate.go b/service/iot/api_op_RegisterCACertificate.go index d3d0eece4eb..abc97a71f7f 100644 --- a/service/iot/api_op_RegisterCACertificate.go +++ b/service/iot/api_op_RegisterCACertificate.go @@ -162,9 +162,6 @@ func (c *Client) addOperationRegisterCACertificateMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterCACertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_RegisterCertificate.go b/service/iot/api_op_RegisterCertificate.go index 77ced0090a9..2bcc2832dac 100644 --- a/service/iot/api_op_RegisterCertificate.go +++ b/service/iot/api_op_RegisterCertificate.go @@ -139,9 +139,6 @@ func (c *Client) addOperationRegisterCertificateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_RegisterCertificateWithoutCA.go b/service/iot/api_op_RegisterCertificateWithoutCA.go index 952e25293e9..55a68077b77 100644 --- a/service/iot/api_op_RegisterCertificateWithoutCA.go +++ b/service/iot/api_op_RegisterCertificateWithoutCA.go @@ -122,9 +122,6 @@ func (c *Client) addOperationRegisterCertificateWithoutCAMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterCertificateWithoutCAValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_RegisterThing.go b/service/iot/api_op_RegisterThing.go index 9f81aa7a98a..eb6e3f2b83c 100644 --- a/service/iot/api_op_RegisterThing.go +++ b/service/iot/api_op_RegisterThing.go @@ -129,9 +129,6 @@ func (c *Client) addOperationRegisterThingMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterThingValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_RejectCertificateTransfer.go b/service/iot/api_op_RejectCertificateTransfer.go index d07979a2e3c..62dc399f2b6 100644 --- a/service/iot/api_op_RejectCertificateTransfer.go +++ b/service/iot/api_op_RejectCertificateTransfer.go @@ -124,9 +124,6 @@ func (c *Client) addOperationRejectCertificateTransferMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRejectCertificateTransferValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_RemoveThingFromBillingGroup.go b/service/iot/api_op_RemoveThingFromBillingGroup.go index fb3b928f363..9178ec3ad25 100644 --- a/service/iot/api_op_RemoveThingFromBillingGroup.go +++ b/service/iot/api_op_RemoveThingFromBillingGroup.go @@ -121,9 +121,6 @@ func (c *Client) addOperationRemoveThingFromBillingGroupMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveThingFromBillingGroup(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_RemoveThingFromThingGroup.go b/service/iot/api_op_RemoveThingFromThingGroup.go index 254174f9c03..e70d164e4fb 100644 --- a/service/iot/api_op_RemoveThingFromThingGroup.go +++ b/service/iot/api_op_RemoveThingFromThingGroup.go @@ -122,9 +122,6 @@ func (c *Client) addOperationRemoveThingFromThingGroupMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveThingFromThingGroup(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_ReplaceTopicRule.go b/service/iot/api_op_ReplaceTopicRule.go index 14c8f1cef5d..4f06ce608e2 100644 --- a/service/iot/api_op_ReplaceTopicRule.go +++ b/service/iot/api_op_ReplaceTopicRule.go @@ -120,9 +120,6 @@ func (c *Client) addOperationReplaceTopicRuleMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpReplaceTopicRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_SearchIndex.go b/service/iot/api_op_SearchIndex.go index cfde959497c..b3a0fc9c5a2 100644 --- a/service/iot/api_op_SearchIndex.go +++ b/service/iot/api_op_SearchIndex.go @@ -144,9 +144,6 @@ func (c *Client) addOperationSearchIndexMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchIndexValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_SetDefaultAuthorizer.go b/service/iot/api_op_SetDefaultAuthorizer.go index 9eaac36eeee..40f0ac16164 100644 --- a/service/iot/api_op_SetDefaultAuthorizer.go +++ b/service/iot/api_op_SetDefaultAuthorizer.go @@ -119,9 +119,6 @@ func (c *Client) addOperationSetDefaultAuthorizerMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetDefaultAuthorizerValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_SetDefaultPolicyVersion.go b/service/iot/api_op_SetDefaultPolicyVersion.go index 3c109402e49..83c59c46225 100644 --- a/service/iot/api_op_SetDefaultPolicyVersion.go +++ b/service/iot/api_op_SetDefaultPolicyVersion.go @@ -119,9 +119,6 @@ func (c *Client) addOperationSetDefaultPolicyVersionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetDefaultPolicyVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_SetLoggingOptions.go b/service/iot/api_op_SetLoggingOptions.go index 77c96c9fd65..9db87bf8035 100644 --- a/service/iot/api_op_SetLoggingOptions.go +++ b/service/iot/api_op_SetLoggingOptions.go @@ -115,9 +115,6 @@ func (c *Client) addOperationSetLoggingOptionsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetLoggingOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_SetV2LoggingLevel.go b/service/iot/api_op_SetV2LoggingLevel.go index 8418daf0e10..110e7fc3837 100644 --- a/service/iot/api_op_SetV2LoggingLevel.go +++ b/service/iot/api_op_SetV2LoggingLevel.go @@ -117,9 +117,6 @@ func (c *Client) addOperationSetV2LoggingLevelMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetV2LoggingLevelValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_SetV2LoggingOptions.go b/service/iot/api_op_SetV2LoggingOptions.go index 7abef093590..646f26103fd 100644 --- a/service/iot/api_op_SetV2LoggingOptions.go +++ b/service/iot/api_op_SetV2LoggingOptions.go @@ -116,9 +116,6 @@ func (c *Client) addOperationSetV2LoggingOptionsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetV2LoggingOptions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_StartAuditMitigationActionsTask.go b/service/iot/api_op_StartAuditMitigationActionsTask.go index 5aa0c2f9958..7529bac4370 100644 --- a/service/iot/api_op_StartAuditMitigationActionsTask.go +++ b/service/iot/api_op_StartAuditMitigationActionsTask.go @@ -139,9 +139,6 @@ func (c *Client) addOperationStartAuditMitigationActionsTaskMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartAuditMitigationActionsTaskMiddleware(stack, options); err != nil { return err } diff --git a/service/iot/api_op_StartDetectMitigationActionsTask.go b/service/iot/api_op_StartDetectMitigationActionsTask.go index c2c48d0c62f..56ef22d3dc3 100644 --- a/service/iot/api_op_StartDetectMitigationActionsTask.go +++ b/service/iot/api_op_StartDetectMitigationActionsTask.go @@ -143,9 +143,6 @@ func (c *Client) addOperationStartDetectMitigationActionsTaskMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartDetectMitigationActionsTaskMiddleware(stack, options); err != nil { return err } diff --git a/service/iot/api_op_StartOnDemandAuditTask.go b/service/iot/api_op_StartOnDemandAuditTask.go index 2d1488e5ac5..f79e6d39b82 100644 --- a/service/iot/api_op_StartOnDemandAuditTask.go +++ b/service/iot/api_op_StartOnDemandAuditTask.go @@ -119,9 +119,6 @@ func (c *Client) addOperationStartOnDemandAuditTaskMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartOnDemandAuditTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_StartThingRegistrationTask.go b/service/iot/api_op_StartThingRegistrationTask.go index 39c06caf0d0..b483df4d9a4 100644 --- a/service/iot/api_op_StartThingRegistrationTask.go +++ b/service/iot/api_op_StartThingRegistrationTask.go @@ -132,9 +132,6 @@ func (c *Client) addOperationStartThingRegistrationTaskMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartThingRegistrationTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_StopThingRegistrationTask.go b/service/iot/api_op_StopThingRegistrationTask.go index af851fe15be..d0207890168 100644 --- a/service/iot/api_op_StopThingRegistrationTask.go +++ b/service/iot/api_op_StopThingRegistrationTask.go @@ -111,9 +111,6 @@ func (c *Client) addOperationStopThingRegistrationTaskMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopThingRegistrationTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_TagResource.go b/service/iot/api_op_TagResource.go index 9754b830fae..63bf3668ae8 100644 --- a/service/iot/api_op_TagResource.go +++ b/service/iot/api_op_TagResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_TestAuthorization.go b/service/iot/api_op_TestAuthorization.go index 433c33cf37f..caa79523304 100644 --- a/service/iot/api_op_TestAuthorization.go +++ b/service/iot/api_op_TestAuthorization.go @@ -138,9 +138,6 @@ func (c *Client) addOperationTestAuthorizationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTestAuthorizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_TestInvokeAuthorizer.go b/service/iot/api_op_TestInvokeAuthorizer.go index f84516f4ba9..fce33edd3fd 100644 --- a/service/iot/api_op_TestInvokeAuthorizer.go +++ b/service/iot/api_op_TestInvokeAuthorizer.go @@ -146,9 +146,6 @@ func (c *Client) addOperationTestInvokeAuthorizerMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTestInvokeAuthorizerValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_TransferCertificate.go b/service/iot/api_op_TransferCertificate.go index b0781a587a3..a25bda59aa0 100644 --- a/service/iot/api_op_TransferCertificate.go +++ b/service/iot/api_op_TransferCertificate.go @@ -138,9 +138,6 @@ func (c *Client) addOperationTransferCertificateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTransferCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UntagResource.go b/service/iot/api_op_UntagResource.go index b32910505c4..058fc64f217 100644 --- a/service/iot/api_op_UntagResource.go +++ b/service/iot/api_op_UntagResource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateAccountAuditConfiguration.go b/service/iot/api_op_UpdateAccountAuditConfiguration.go index 3be3414286d..2172685371c 100644 --- a/service/iot/api_op_UpdateAccountAuditConfiguration.go +++ b/service/iot/api_op_UpdateAccountAuditConfiguration.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdateAccountAuditConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAccountAuditConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_UpdateAuditSuppression.go b/service/iot/api_op_UpdateAuditSuppression.go index 424c5980b40..8654b801f0a 100644 --- a/service/iot/api_op_UpdateAuditSuppression.go +++ b/service/iot/api_op_UpdateAuditSuppression.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateAuditSuppressionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAuditSuppressionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateAuthorizer.go b/service/iot/api_op_UpdateAuthorizer.go index cf2ce7fc5b9..3d1359e81ce 100644 --- a/service/iot/api_op_UpdateAuthorizer.go +++ b/service/iot/api_op_UpdateAuthorizer.go @@ -136,9 +136,6 @@ func (c *Client) addOperationUpdateAuthorizerMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAuthorizerValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateBillingGroup.go b/service/iot/api_op_UpdateBillingGroup.go index bdfcf12e0ba..1d9a89e15e0 100644 --- a/service/iot/api_op_UpdateBillingGroup.go +++ b/service/iot/api_op_UpdateBillingGroup.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateBillingGroupMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBillingGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateCACertificate.go b/service/iot/api_op_UpdateCACertificate.go index ec25f8748b6..65bc44df2af 100644 --- a/service/iot/api_op_UpdateCACertificate.go +++ b/service/iot/api_op_UpdateCACertificate.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateCACertificateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCACertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateCertificate.go b/service/iot/api_op_UpdateCertificate.go index 3899a01aa0c..97b97bd5570 100644 --- a/service/iot/api_op_UpdateCertificate.go +++ b/service/iot/api_op_UpdateCertificate.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdateCertificateMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateCertificateProvider.go b/service/iot/api_op_UpdateCertificateProvider.go index 0a8c9a2a265..921c56dbc27 100644 --- a/service/iot/api_op_UpdateCertificateProvider.go +++ b/service/iot/api_op_UpdateCertificateProvider.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateCertificateProviderMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCertificateProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateCommand.go b/service/iot/api_op_UpdateCommand.go index 93f7afaf1ea..752cd0bae06 100644 --- a/service/iot/api_op_UpdateCommand.go +++ b/service/iot/api_op_UpdateCommand.go @@ -134,9 +134,6 @@ func (c *Client) addOperationUpdateCommandMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCommandValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateCustomMetric.go b/service/iot/api_op_UpdateCustomMetric.go index de4c0ba5b16..bc1449737e4 100644 --- a/service/iot/api_op_UpdateCustomMetric.go +++ b/service/iot/api_op_UpdateCustomMetric.go @@ -143,9 +143,6 @@ func (c *Client) addOperationUpdateCustomMetricMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCustomMetricValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateDimension.go b/service/iot/api_op_UpdateDimension.go index 3225a85c8bf..e56283695f8 100644 --- a/service/iot/api_op_UpdateDimension.go +++ b/service/iot/api_op_UpdateDimension.go @@ -144,9 +144,6 @@ func (c *Client) addOperationUpdateDimensionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDimensionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateDomainConfiguration.go b/service/iot/api_op_UpdateDomainConfiguration.go index d9b5649f705..48303b88220 100644 --- a/service/iot/api_op_UpdateDomainConfiguration.go +++ b/service/iot/api_op_UpdateDomainConfiguration.go @@ -176,9 +176,6 @@ func (c *Client) addOperationUpdateDomainConfigurationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDomainConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateDynamicThingGroup.go b/service/iot/api_op_UpdateDynamicThingGroup.go index 348302b37f3..726049c0748 100644 --- a/service/iot/api_op_UpdateDynamicThingGroup.go +++ b/service/iot/api_op_UpdateDynamicThingGroup.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateDynamicThingGroupMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDynamicThingGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateEventConfigurations.go b/service/iot/api_op_UpdateEventConfigurations.go index f4595b70c79..69cea3b21e7 100644 --- a/service/iot/api_op_UpdateEventConfigurations.go +++ b/service/iot/api_op_UpdateEventConfigurations.go @@ -110,9 +110,6 @@ func (c *Client) addOperationUpdateEventConfigurationsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEventConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_UpdateFleetMetric.go b/service/iot/api_op_UpdateFleetMetric.go index 0306bc531b7..11f65f0df5d 100644 --- a/service/iot/api_op_UpdateFleetMetric.go +++ b/service/iot/api_op_UpdateFleetMetric.go @@ -145,9 +145,6 @@ func (c *Client) addOperationUpdateFleetMetricMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFleetMetricValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateIndexingConfiguration.go b/service/iot/api_op_UpdateIndexingConfiguration.go index ba3bb5c80f9..7f1e954a589 100644 --- a/service/iot/api_op_UpdateIndexingConfiguration.go +++ b/service/iot/api_op_UpdateIndexingConfiguration.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUpdateIndexingConfigurationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateIndexingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateJob.go b/service/iot/api_op_UpdateJob.go index 6c835ff1872..9d84c00b841 100644 --- a/service/iot/api_op_UpdateJob.go +++ b/service/iot/api_op_UpdateJob.go @@ -147,9 +147,6 @@ func (c *Client) addOperationUpdateJobMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateMitigationAction.go b/service/iot/api_op_UpdateMitigationAction.go index 4290706bdad..b4257bb5b9c 100644 --- a/service/iot/api_op_UpdateMitigationAction.go +++ b/service/iot/api_op_UpdateMitigationAction.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateMitigationActionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMitigationActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdatePackage.go b/service/iot/api_op_UpdatePackage.go index ae899889eea..981b64c6e14 100644 --- a/service/iot/api_op_UpdatePackage.go +++ b/service/iot/api_op_UpdatePackage.go @@ -133,9 +133,6 @@ func (c *Client) addOperationUpdatePackageMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdatePackageMiddleware(stack, options); err != nil { return err } diff --git a/service/iot/api_op_UpdatePackageConfiguration.go b/service/iot/api_op_UpdatePackageConfiguration.go index 88a269bdcc0..af8f7290a72 100644 --- a/service/iot/api_op_UpdatePackageConfiguration.go +++ b/service/iot/api_op_UpdatePackageConfiguration.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUpdatePackageConfigurationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdatePackageConfigurationMiddleware(stack, options); err != nil { return err } diff --git a/service/iot/api_op_UpdatePackageVersion.go b/service/iot/api_op_UpdatePackageVersion.go index bf6ffce3427..8ad0f7051b7 100644 --- a/service/iot/api_op_UpdatePackageVersion.go +++ b/service/iot/api_op_UpdatePackageVersion.go @@ -149,9 +149,6 @@ func (c *Client) addOperationUpdatePackageVersionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdatePackageVersionMiddleware(stack, options); err != nil { return err } diff --git a/service/iot/api_op_UpdateProvisioningTemplate.go b/service/iot/api_op_UpdateProvisioningTemplate.go index 1b1dbecf9da..4f2946f077c 100644 --- a/service/iot/api_op_UpdateProvisioningTemplate.go +++ b/service/iot/api_op_UpdateProvisioningTemplate.go @@ -135,9 +135,6 @@ func (c *Client) addOperationUpdateProvisioningTemplateMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateProvisioningTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateRoleAlias.go b/service/iot/api_op_UpdateRoleAlias.go index 64e92774098..400493401e2 100644 --- a/service/iot/api_op_UpdateRoleAlias.go +++ b/service/iot/api_op_UpdateRoleAlias.go @@ -134,9 +134,6 @@ func (c *Client) addOperationUpdateRoleAliasMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRoleAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateScheduledAudit.go b/service/iot/api_op_UpdateScheduledAudit.go index f01c9628321..32d0bdee238 100644 --- a/service/iot/api_op_UpdateScheduledAudit.go +++ b/service/iot/api_op_UpdateScheduledAudit.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateScheduledAuditMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateScheduledAuditValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateSecurityProfile.go b/service/iot/api_op_UpdateSecurityProfile.go index 9b438ccda30..963a0171462 100644 --- a/service/iot/api_op_UpdateSecurityProfile.go +++ b/service/iot/api_op_UpdateSecurityProfile.go @@ -205,9 +205,6 @@ func (c *Client) addOperationUpdateSecurityProfileMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSecurityProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateStream.go b/service/iot/api_op_UpdateStream.go index d22ad79823c..acb34d7dea5 100644 --- a/service/iot/api_op_UpdateStream.go +++ b/service/iot/api_op_UpdateStream.go @@ -135,9 +135,6 @@ func (c *Client) addOperationUpdateStreamMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateThing.go b/service/iot/api_op_UpdateThing.go index 100ae5598f2..28dad5f4388 100644 --- a/service/iot/api_op_UpdateThing.go +++ b/service/iot/api_op_UpdateThing.go @@ -136,9 +136,6 @@ func (c *Client) addOperationUpdateThingMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateThingValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateThingGroup.go b/service/iot/api_op_UpdateThingGroup.go index 80a9d953d3c..4057207a227 100644 --- a/service/iot/api_op_UpdateThingGroup.go +++ b/service/iot/api_op_UpdateThingGroup.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateThingGroupMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateThingGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateThingGroupsForThing.go b/service/iot/api_op_UpdateThingGroupsForThing.go index 67a40d758fb..60631064daa 100644 --- a/service/iot/api_op_UpdateThingGroupsForThing.go +++ b/service/iot/api_op_UpdateThingGroupsForThing.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateThingGroupsForThingMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateThingGroupsForThing(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iot/api_op_UpdateThingType.go b/service/iot/api_op_UpdateThingType.go index 3ccaf8a6ffd..8b81d2e736f 100644 --- a/service/iot/api_op_UpdateThingType.go +++ b/service/iot/api_op_UpdateThingType.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUpdateThingTypeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateThingTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_UpdateTopicRuleDestination.go b/service/iot/api_op_UpdateTopicRuleDestination.go index 5a0add66d08..2a024efcfd0 100644 --- a/service/iot/api_op_UpdateTopicRuleDestination.go +++ b/service/iot/api_op_UpdateTopicRuleDestination.go @@ -135,9 +135,6 @@ func (c *Client) addOperationUpdateTopicRuleDestinationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTopicRuleDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/api_op_ValidateSecurityProfileBehaviors.go b/service/iot/api_op_ValidateSecurityProfileBehaviors.go index 034075660bd..1d073598a5b 100644 --- a/service/iot/api_op_ValidateSecurityProfileBehaviors.go +++ b/service/iot/api_op_ValidateSecurityProfileBehaviors.go @@ -119,9 +119,6 @@ func (c *Client) addOperationValidateSecurityProfileBehaviorsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpValidateSecurityProfileBehaviorsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iot/snapshot/api_op_AcceptCertificateTransfer.go.snap b/service/iot/snapshot/api_op_AcceptCertificateTransfer.go.snap index 6d677950d58..0e4e256b0cf 100644 --- a/service/iot/snapshot/api_op_AcceptCertificateTransfer.go.snap +++ b/service/iot/snapshot/api_op_AcceptCertificateTransfer.go.snap @@ -14,7 +14,6 @@ AcceptCertificateTransfer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_AddThingToBillingGroup.go.snap b/service/iot/snapshot/api_op_AddThingToBillingGroup.go.snap index a9a3d2ef311..7a8766e37d8 100644 --- a/service/iot/snapshot/api_op_AddThingToBillingGroup.go.snap +++ b/service/iot/snapshot/api_op_AddThingToBillingGroup.go.snap @@ -13,7 +13,6 @@ AddThingToBillingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_AddThingToThingGroup.go.snap b/service/iot/snapshot/api_op_AddThingToThingGroup.go.snap index 04e3d6e3e24..cb2894b20d2 100644 --- a/service/iot/snapshot/api_op_AddThingToThingGroup.go.snap +++ b/service/iot/snapshot/api_op_AddThingToThingGroup.go.snap @@ -13,7 +13,6 @@ AddThingToThingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_AssociateSbomWithPackageVersion.go.snap b/service/iot/snapshot/api_op_AssociateSbomWithPackageVersion.go.snap index afe0657ed32..f9b95d775bb 100644 --- a/service/iot/snapshot/api_op_AssociateSbomWithPackageVersion.go.snap +++ b/service/iot/snapshot/api_op_AssociateSbomWithPackageVersion.go.snap @@ -15,7 +15,6 @@ AssociateSbomWithPackageVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_AssociateTargetsWithJob.go.snap b/service/iot/snapshot/api_op_AssociateTargetsWithJob.go.snap index 5ba67ca7ab1..45099bdba76 100644 --- a/service/iot/snapshot/api_op_AssociateTargetsWithJob.go.snap +++ b/service/iot/snapshot/api_op_AssociateTargetsWithJob.go.snap @@ -14,7 +14,6 @@ AssociateTargetsWithJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_AttachPolicy.go.snap b/service/iot/snapshot/api_op_AttachPolicy.go.snap index 0205ccc8d25..bbf49744c86 100644 --- a/service/iot/snapshot/api_op_AttachPolicy.go.snap +++ b/service/iot/snapshot/api_op_AttachPolicy.go.snap @@ -14,7 +14,6 @@ AttachPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_AttachPrincipalPolicy.go.snap b/service/iot/snapshot/api_op_AttachPrincipalPolicy.go.snap index fdf5c4df57f..2a54a7094b3 100644 --- a/service/iot/snapshot/api_op_AttachPrincipalPolicy.go.snap +++ b/service/iot/snapshot/api_op_AttachPrincipalPolicy.go.snap @@ -14,7 +14,6 @@ AttachPrincipalPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_AttachSecurityProfile.go.snap b/service/iot/snapshot/api_op_AttachSecurityProfile.go.snap index e2da5b8aa14..e2dc3fb445d 100644 --- a/service/iot/snapshot/api_op_AttachSecurityProfile.go.snap +++ b/service/iot/snapshot/api_op_AttachSecurityProfile.go.snap @@ -14,7 +14,6 @@ AttachSecurityProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_AttachThingPrincipal.go.snap b/service/iot/snapshot/api_op_AttachThingPrincipal.go.snap index f35bcfe634a..aad377d6b8f 100644 --- a/service/iot/snapshot/api_op_AttachThingPrincipal.go.snap +++ b/service/iot/snapshot/api_op_AttachThingPrincipal.go.snap @@ -14,7 +14,6 @@ AttachThingPrincipal Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CancelAuditMitigationActionsTask.go.snap b/service/iot/snapshot/api_op_CancelAuditMitigationActionsTask.go.snap index ee2addae5bb..f5ebe86c168 100644 --- a/service/iot/snapshot/api_op_CancelAuditMitigationActionsTask.go.snap +++ b/service/iot/snapshot/api_op_CancelAuditMitigationActionsTask.go.snap @@ -14,7 +14,6 @@ CancelAuditMitigationActionsTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CancelAuditTask.go.snap b/service/iot/snapshot/api_op_CancelAuditTask.go.snap index 74ce624d396..906611f9d1a 100644 --- a/service/iot/snapshot/api_op_CancelAuditTask.go.snap +++ b/service/iot/snapshot/api_op_CancelAuditTask.go.snap @@ -14,7 +14,6 @@ CancelAuditTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CancelCertificateTransfer.go.snap b/service/iot/snapshot/api_op_CancelCertificateTransfer.go.snap index ac1159ad78e..55bb959a72d 100644 --- a/service/iot/snapshot/api_op_CancelCertificateTransfer.go.snap +++ b/service/iot/snapshot/api_op_CancelCertificateTransfer.go.snap @@ -14,7 +14,6 @@ CancelCertificateTransfer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CancelDetectMitigationActionsTask.go.snap b/service/iot/snapshot/api_op_CancelDetectMitigationActionsTask.go.snap index 00004dfb04e..0b8bc7b0e6d 100644 --- a/service/iot/snapshot/api_op_CancelDetectMitigationActionsTask.go.snap +++ b/service/iot/snapshot/api_op_CancelDetectMitigationActionsTask.go.snap @@ -14,7 +14,6 @@ CancelDetectMitigationActionsTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CancelJob.go.snap b/service/iot/snapshot/api_op_CancelJob.go.snap index 51903387e8d..b36a88b69e0 100644 --- a/service/iot/snapshot/api_op_CancelJob.go.snap +++ b/service/iot/snapshot/api_op_CancelJob.go.snap @@ -14,7 +14,6 @@ CancelJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CancelJobExecution.go.snap b/service/iot/snapshot/api_op_CancelJobExecution.go.snap index 12bbc79efe2..8f6e032c27f 100644 --- a/service/iot/snapshot/api_op_CancelJobExecution.go.snap +++ b/service/iot/snapshot/api_op_CancelJobExecution.go.snap @@ -14,7 +14,6 @@ CancelJobExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ClearDefaultAuthorizer.go.snap b/service/iot/snapshot/api_op_ClearDefaultAuthorizer.go.snap index 08cd4ac817b..06baec0717d 100644 --- a/service/iot/snapshot/api_op_ClearDefaultAuthorizer.go.snap +++ b/service/iot/snapshot/api_op_ClearDefaultAuthorizer.go.snap @@ -13,7 +13,6 @@ ClearDefaultAuthorizer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ConfirmTopicRuleDestination.go.snap b/service/iot/snapshot/api_op_ConfirmTopicRuleDestination.go.snap index 93507dc3a15..fbe0affbdb5 100644 --- a/service/iot/snapshot/api_op_ConfirmTopicRuleDestination.go.snap +++ b/service/iot/snapshot/api_op_ConfirmTopicRuleDestination.go.snap @@ -14,7 +14,6 @@ ConfirmTopicRuleDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CreateAuditSuppression.go.snap b/service/iot/snapshot/api_op_CreateAuditSuppression.go.snap index 4f61c361e14..9b83006bace 100644 --- a/service/iot/snapshot/api_op_CreateAuditSuppression.go.snap +++ b/service/iot/snapshot/api_op_CreateAuditSuppression.go.snap @@ -15,7 +15,6 @@ CreateAuditSuppression Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CreateAuthorizer.go.snap b/service/iot/snapshot/api_op_CreateAuthorizer.go.snap index 9149c223ef9..d979f6feb63 100644 --- a/service/iot/snapshot/api_op_CreateAuthorizer.go.snap +++ b/service/iot/snapshot/api_op_CreateAuthorizer.go.snap @@ -14,7 +14,6 @@ CreateAuthorizer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CreateBillingGroup.go.snap b/service/iot/snapshot/api_op_CreateBillingGroup.go.snap index 0ff346859a5..f4ca51a11ff 100644 --- a/service/iot/snapshot/api_op_CreateBillingGroup.go.snap +++ b/service/iot/snapshot/api_op_CreateBillingGroup.go.snap @@ -14,7 +14,6 @@ CreateBillingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CreateCertificateFromCsr.go.snap b/service/iot/snapshot/api_op_CreateCertificateFromCsr.go.snap index 6abdd38da09..7343be84f18 100644 --- a/service/iot/snapshot/api_op_CreateCertificateFromCsr.go.snap +++ b/service/iot/snapshot/api_op_CreateCertificateFromCsr.go.snap @@ -14,7 +14,6 @@ CreateCertificateFromCsr Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CreateCertificateProvider.go.snap b/service/iot/snapshot/api_op_CreateCertificateProvider.go.snap index d88d8ec9fc8..b624ee4acd7 100644 --- a/service/iot/snapshot/api_op_CreateCertificateProvider.go.snap +++ b/service/iot/snapshot/api_op_CreateCertificateProvider.go.snap @@ -15,7 +15,6 @@ CreateCertificateProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CreateCommand.go.snap b/service/iot/snapshot/api_op_CreateCommand.go.snap index 48119a4d962..25efb645fba 100644 --- a/service/iot/snapshot/api_op_CreateCommand.go.snap +++ b/service/iot/snapshot/api_op_CreateCommand.go.snap @@ -14,7 +14,6 @@ CreateCommand Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CreateCustomMetric.go.snap b/service/iot/snapshot/api_op_CreateCustomMetric.go.snap index 06dc6cb8ba2..09097de8244 100644 --- a/service/iot/snapshot/api_op_CreateCustomMetric.go.snap +++ b/service/iot/snapshot/api_op_CreateCustomMetric.go.snap @@ -15,7 +15,6 @@ CreateCustomMetric Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CreateDimension.go.snap b/service/iot/snapshot/api_op_CreateDimension.go.snap index f1cc9f15e3e..519d94e744b 100644 --- a/service/iot/snapshot/api_op_CreateDimension.go.snap +++ b/service/iot/snapshot/api_op_CreateDimension.go.snap @@ -15,7 +15,6 @@ CreateDimension Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CreateDomainConfiguration.go.snap b/service/iot/snapshot/api_op_CreateDomainConfiguration.go.snap index 8c0110ee536..75e73de7c47 100644 --- a/service/iot/snapshot/api_op_CreateDomainConfiguration.go.snap +++ b/service/iot/snapshot/api_op_CreateDomainConfiguration.go.snap @@ -14,7 +14,6 @@ CreateDomainConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CreateDynamicThingGroup.go.snap b/service/iot/snapshot/api_op_CreateDynamicThingGroup.go.snap index dd4803feef0..b2956119e08 100644 --- a/service/iot/snapshot/api_op_CreateDynamicThingGroup.go.snap +++ b/service/iot/snapshot/api_op_CreateDynamicThingGroup.go.snap @@ -14,7 +14,6 @@ CreateDynamicThingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CreateFleetMetric.go.snap b/service/iot/snapshot/api_op_CreateFleetMetric.go.snap index 67f3744aaf0..5536165ff85 100644 --- a/service/iot/snapshot/api_op_CreateFleetMetric.go.snap +++ b/service/iot/snapshot/api_op_CreateFleetMetric.go.snap @@ -14,7 +14,6 @@ CreateFleetMetric Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CreateJob.go.snap b/service/iot/snapshot/api_op_CreateJob.go.snap index 997d5a01bae..27ac2aec4ac 100644 --- a/service/iot/snapshot/api_op_CreateJob.go.snap +++ b/service/iot/snapshot/api_op_CreateJob.go.snap @@ -14,7 +14,6 @@ CreateJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CreateJobTemplate.go.snap b/service/iot/snapshot/api_op_CreateJobTemplate.go.snap index d41884c5d20..b8775af86bb 100644 --- a/service/iot/snapshot/api_op_CreateJobTemplate.go.snap +++ b/service/iot/snapshot/api_op_CreateJobTemplate.go.snap @@ -14,7 +14,6 @@ CreateJobTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CreateKeysAndCertificate.go.snap b/service/iot/snapshot/api_op_CreateKeysAndCertificate.go.snap index f278d7df81e..1fb2e9129be 100644 --- a/service/iot/snapshot/api_op_CreateKeysAndCertificate.go.snap +++ b/service/iot/snapshot/api_op_CreateKeysAndCertificate.go.snap @@ -13,7 +13,6 @@ CreateKeysAndCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CreateMitigationAction.go.snap b/service/iot/snapshot/api_op_CreateMitigationAction.go.snap index 5d30fe0012b..30f87829f23 100644 --- a/service/iot/snapshot/api_op_CreateMitigationAction.go.snap +++ b/service/iot/snapshot/api_op_CreateMitigationAction.go.snap @@ -14,7 +14,6 @@ CreateMitigationAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CreateOTAUpdate.go.snap b/service/iot/snapshot/api_op_CreateOTAUpdate.go.snap index 9c06e0273ee..d69eae04735 100644 --- a/service/iot/snapshot/api_op_CreateOTAUpdate.go.snap +++ b/service/iot/snapshot/api_op_CreateOTAUpdate.go.snap @@ -14,7 +14,6 @@ CreateOTAUpdate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CreatePackage.go.snap b/service/iot/snapshot/api_op_CreatePackage.go.snap index 022e33c4628..bcdf1247c77 100644 --- a/service/iot/snapshot/api_op_CreatePackage.go.snap +++ b/service/iot/snapshot/api_op_CreatePackage.go.snap @@ -15,7 +15,6 @@ CreatePackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CreatePackageVersion.go.snap b/service/iot/snapshot/api_op_CreatePackageVersion.go.snap index 1bab25bea8e..c8a8383a79e 100644 --- a/service/iot/snapshot/api_op_CreatePackageVersion.go.snap +++ b/service/iot/snapshot/api_op_CreatePackageVersion.go.snap @@ -15,7 +15,6 @@ CreatePackageVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CreatePolicy.go.snap b/service/iot/snapshot/api_op_CreatePolicy.go.snap index f230aad3a35..332e7f13792 100644 --- a/service/iot/snapshot/api_op_CreatePolicy.go.snap +++ b/service/iot/snapshot/api_op_CreatePolicy.go.snap @@ -14,7 +14,6 @@ CreatePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CreatePolicyVersion.go.snap b/service/iot/snapshot/api_op_CreatePolicyVersion.go.snap index c136fb83368..c9e5e0b8153 100644 --- a/service/iot/snapshot/api_op_CreatePolicyVersion.go.snap +++ b/service/iot/snapshot/api_op_CreatePolicyVersion.go.snap @@ -14,7 +14,6 @@ CreatePolicyVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CreateProvisioningClaim.go.snap b/service/iot/snapshot/api_op_CreateProvisioningClaim.go.snap index 96f2780bb48..50fe03b5724 100644 --- a/service/iot/snapshot/api_op_CreateProvisioningClaim.go.snap +++ b/service/iot/snapshot/api_op_CreateProvisioningClaim.go.snap @@ -14,7 +14,6 @@ CreateProvisioningClaim Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CreateProvisioningTemplate.go.snap b/service/iot/snapshot/api_op_CreateProvisioningTemplate.go.snap index 5d3c178f179..160332699eb 100644 --- a/service/iot/snapshot/api_op_CreateProvisioningTemplate.go.snap +++ b/service/iot/snapshot/api_op_CreateProvisioningTemplate.go.snap @@ -14,7 +14,6 @@ CreateProvisioningTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CreateProvisioningTemplateVersion.go.snap b/service/iot/snapshot/api_op_CreateProvisioningTemplateVersion.go.snap index 4a7e565d472..1219fb706e9 100644 --- a/service/iot/snapshot/api_op_CreateProvisioningTemplateVersion.go.snap +++ b/service/iot/snapshot/api_op_CreateProvisioningTemplateVersion.go.snap @@ -14,7 +14,6 @@ CreateProvisioningTemplateVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CreateRoleAlias.go.snap b/service/iot/snapshot/api_op_CreateRoleAlias.go.snap index 307d0d25b44..868ede38abf 100644 --- a/service/iot/snapshot/api_op_CreateRoleAlias.go.snap +++ b/service/iot/snapshot/api_op_CreateRoleAlias.go.snap @@ -14,7 +14,6 @@ CreateRoleAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CreateScheduledAudit.go.snap b/service/iot/snapshot/api_op_CreateScheduledAudit.go.snap index a2fdcf2c185..1d51cbce248 100644 --- a/service/iot/snapshot/api_op_CreateScheduledAudit.go.snap +++ b/service/iot/snapshot/api_op_CreateScheduledAudit.go.snap @@ -14,7 +14,6 @@ CreateScheduledAudit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CreateSecurityProfile.go.snap b/service/iot/snapshot/api_op_CreateSecurityProfile.go.snap index a6db1d932c1..789063549b8 100644 --- a/service/iot/snapshot/api_op_CreateSecurityProfile.go.snap +++ b/service/iot/snapshot/api_op_CreateSecurityProfile.go.snap @@ -14,7 +14,6 @@ CreateSecurityProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CreateStream.go.snap b/service/iot/snapshot/api_op_CreateStream.go.snap index 67104e5e553..b83033ae1bf 100644 --- a/service/iot/snapshot/api_op_CreateStream.go.snap +++ b/service/iot/snapshot/api_op_CreateStream.go.snap @@ -14,7 +14,6 @@ CreateStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CreateThing.go.snap b/service/iot/snapshot/api_op_CreateThing.go.snap index 914cb6e2e86..a675eaf2197 100644 --- a/service/iot/snapshot/api_op_CreateThing.go.snap +++ b/service/iot/snapshot/api_op_CreateThing.go.snap @@ -14,7 +14,6 @@ CreateThing Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CreateThingGroup.go.snap b/service/iot/snapshot/api_op_CreateThingGroup.go.snap index 99aad4fa20f..c82d07f77e9 100644 --- a/service/iot/snapshot/api_op_CreateThingGroup.go.snap +++ b/service/iot/snapshot/api_op_CreateThingGroup.go.snap @@ -14,7 +14,6 @@ CreateThingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CreateThingType.go.snap b/service/iot/snapshot/api_op_CreateThingType.go.snap index ff4b4242f6c..3bc40d10c8d 100644 --- a/service/iot/snapshot/api_op_CreateThingType.go.snap +++ b/service/iot/snapshot/api_op_CreateThingType.go.snap @@ -14,7 +14,6 @@ CreateThingType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CreateTopicRule.go.snap b/service/iot/snapshot/api_op_CreateTopicRule.go.snap index 16b4f81926a..ea41d735986 100644 --- a/service/iot/snapshot/api_op_CreateTopicRule.go.snap +++ b/service/iot/snapshot/api_op_CreateTopicRule.go.snap @@ -14,7 +14,6 @@ CreateTopicRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_CreateTopicRuleDestination.go.snap b/service/iot/snapshot/api_op_CreateTopicRuleDestination.go.snap index 8f461b101de..fe178d7a9ba 100644 --- a/service/iot/snapshot/api_op_CreateTopicRuleDestination.go.snap +++ b/service/iot/snapshot/api_op_CreateTopicRuleDestination.go.snap @@ -14,7 +14,6 @@ CreateTopicRuleDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeleteAccountAuditConfiguration.go.snap b/service/iot/snapshot/api_op_DeleteAccountAuditConfiguration.go.snap index baf6f0107eb..c7c35d2422f 100644 --- a/service/iot/snapshot/api_op_DeleteAccountAuditConfiguration.go.snap +++ b/service/iot/snapshot/api_op_DeleteAccountAuditConfiguration.go.snap @@ -13,7 +13,6 @@ DeleteAccountAuditConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeleteAuditSuppression.go.snap b/service/iot/snapshot/api_op_DeleteAuditSuppression.go.snap index ff827c32a80..e6d3f5d04ee 100644 --- a/service/iot/snapshot/api_op_DeleteAuditSuppression.go.snap +++ b/service/iot/snapshot/api_op_DeleteAuditSuppression.go.snap @@ -14,7 +14,6 @@ DeleteAuditSuppression Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeleteAuthorizer.go.snap b/service/iot/snapshot/api_op_DeleteAuthorizer.go.snap index 6df61fc1ee1..7e9da3fa1ff 100644 --- a/service/iot/snapshot/api_op_DeleteAuthorizer.go.snap +++ b/service/iot/snapshot/api_op_DeleteAuthorizer.go.snap @@ -14,7 +14,6 @@ DeleteAuthorizer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeleteBillingGroup.go.snap b/service/iot/snapshot/api_op_DeleteBillingGroup.go.snap index 27054620397..ce18a7a75b4 100644 --- a/service/iot/snapshot/api_op_DeleteBillingGroup.go.snap +++ b/service/iot/snapshot/api_op_DeleteBillingGroup.go.snap @@ -14,7 +14,6 @@ DeleteBillingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeleteCACertificate.go.snap b/service/iot/snapshot/api_op_DeleteCACertificate.go.snap index f448ae6c27d..c3aecb22df0 100644 --- a/service/iot/snapshot/api_op_DeleteCACertificate.go.snap +++ b/service/iot/snapshot/api_op_DeleteCACertificate.go.snap @@ -14,7 +14,6 @@ DeleteCACertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeleteCertificate.go.snap b/service/iot/snapshot/api_op_DeleteCertificate.go.snap index 03832808c49..142de0aec69 100644 --- a/service/iot/snapshot/api_op_DeleteCertificate.go.snap +++ b/service/iot/snapshot/api_op_DeleteCertificate.go.snap @@ -14,7 +14,6 @@ DeleteCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeleteCertificateProvider.go.snap b/service/iot/snapshot/api_op_DeleteCertificateProvider.go.snap index 87f3a0812e5..57b286dbbe8 100644 --- a/service/iot/snapshot/api_op_DeleteCertificateProvider.go.snap +++ b/service/iot/snapshot/api_op_DeleteCertificateProvider.go.snap @@ -14,7 +14,6 @@ DeleteCertificateProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeleteCommand.go.snap b/service/iot/snapshot/api_op_DeleteCommand.go.snap index eaabed559dd..4dde6924e99 100644 --- a/service/iot/snapshot/api_op_DeleteCommand.go.snap +++ b/service/iot/snapshot/api_op_DeleteCommand.go.snap @@ -14,7 +14,6 @@ DeleteCommand Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeleteCommandExecution.go.snap b/service/iot/snapshot/api_op_DeleteCommandExecution.go.snap index 43970099b6d..80261850c42 100644 --- a/service/iot/snapshot/api_op_DeleteCommandExecution.go.snap +++ b/service/iot/snapshot/api_op_DeleteCommandExecution.go.snap @@ -14,7 +14,6 @@ DeleteCommandExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeleteCustomMetric.go.snap b/service/iot/snapshot/api_op_DeleteCustomMetric.go.snap index 723f699f417..c56ac92cd90 100644 --- a/service/iot/snapshot/api_op_DeleteCustomMetric.go.snap +++ b/service/iot/snapshot/api_op_DeleteCustomMetric.go.snap @@ -14,7 +14,6 @@ DeleteCustomMetric Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeleteDimension.go.snap b/service/iot/snapshot/api_op_DeleteDimension.go.snap index 70d00f00027..aeff83f74b6 100644 --- a/service/iot/snapshot/api_op_DeleteDimension.go.snap +++ b/service/iot/snapshot/api_op_DeleteDimension.go.snap @@ -14,7 +14,6 @@ DeleteDimension Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeleteDomainConfiguration.go.snap b/service/iot/snapshot/api_op_DeleteDomainConfiguration.go.snap index b87c03260a7..5a245ec964e 100644 --- a/service/iot/snapshot/api_op_DeleteDomainConfiguration.go.snap +++ b/service/iot/snapshot/api_op_DeleteDomainConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteDomainConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeleteDynamicThingGroup.go.snap b/service/iot/snapshot/api_op_DeleteDynamicThingGroup.go.snap index a366372cf91..bc3bb4a8c02 100644 --- a/service/iot/snapshot/api_op_DeleteDynamicThingGroup.go.snap +++ b/service/iot/snapshot/api_op_DeleteDynamicThingGroup.go.snap @@ -14,7 +14,6 @@ DeleteDynamicThingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeleteFleetMetric.go.snap b/service/iot/snapshot/api_op_DeleteFleetMetric.go.snap index 52f3b95c974..e352206e8db 100644 --- a/service/iot/snapshot/api_op_DeleteFleetMetric.go.snap +++ b/service/iot/snapshot/api_op_DeleteFleetMetric.go.snap @@ -14,7 +14,6 @@ DeleteFleetMetric Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeleteJob.go.snap b/service/iot/snapshot/api_op_DeleteJob.go.snap index fa2c54dcf0a..d47c3554a1e 100644 --- a/service/iot/snapshot/api_op_DeleteJob.go.snap +++ b/service/iot/snapshot/api_op_DeleteJob.go.snap @@ -14,7 +14,6 @@ DeleteJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeleteJobExecution.go.snap b/service/iot/snapshot/api_op_DeleteJobExecution.go.snap index 7c542f981bd..25ddd0e24eb 100644 --- a/service/iot/snapshot/api_op_DeleteJobExecution.go.snap +++ b/service/iot/snapshot/api_op_DeleteJobExecution.go.snap @@ -14,7 +14,6 @@ DeleteJobExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeleteJobTemplate.go.snap b/service/iot/snapshot/api_op_DeleteJobTemplate.go.snap index cfe71708cb4..07f79aa43ae 100644 --- a/service/iot/snapshot/api_op_DeleteJobTemplate.go.snap +++ b/service/iot/snapshot/api_op_DeleteJobTemplate.go.snap @@ -14,7 +14,6 @@ DeleteJobTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeleteMitigationAction.go.snap b/service/iot/snapshot/api_op_DeleteMitigationAction.go.snap index 8ed52ba3da9..a09790dc253 100644 --- a/service/iot/snapshot/api_op_DeleteMitigationAction.go.snap +++ b/service/iot/snapshot/api_op_DeleteMitigationAction.go.snap @@ -14,7 +14,6 @@ DeleteMitigationAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeleteOTAUpdate.go.snap b/service/iot/snapshot/api_op_DeleteOTAUpdate.go.snap index ae574b53ea5..d19519bd451 100644 --- a/service/iot/snapshot/api_op_DeleteOTAUpdate.go.snap +++ b/service/iot/snapshot/api_op_DeleteOTAUpdate.go.snap @@ -14,7 +14,6 @@ DeleteOTAUpdate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeletePackage.go.snap b/service/iot/snapshot/api_op_DeletePackage.go.snap index 7a16f2092b1..d38baf196a0 100644 --- a/service/iot/snapshot/api_op_DeletePackage.go.snap +++ b/service/iot/snapshot/api_op_DeletePackage.go.snap @@ -15,7 +15,6 @@ DeletePackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeletePackageVersion.go.snap b/service/iot/snapshot/api_op_DeletePackageVersion.go.snap index 2c115029e83..cd591c80652 100644 --- a/service/iot/snapshot/api_op_DeletePackageVersion.go.snap +++ b/service/iot/snapshot/api_op_DeletePackageVersion.go.snap @@ -15,7 +15,6 @@ DeletePackageVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeletePolicy.go.snap b/service/iot/snapshot/api_op_DeletePolicy.go.snap index 82f0492a4e2..cf5ab0d043a 100644 --- a/service/iot/snapshot/api_op_DeletePolicy.go.snap +++ b/service/iot/snapshot/api_op_DeletePolicy.go.snap @@ -14,7 +14,6 @@ DeletePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeletePolicyVersion.go.snap b/service/iot/snapshot/api_op_DeletePolicyVersion.go.snap index 2a396c88ff4..9e0c7058125 100644 --- a/service/iot/snapshot/api_op_DeletePolicyVersion.go.snap +++ b/service/iot/snapshot/api_op_DeletePolicyVersion.go.snap @@ -14,7 +14,6 @@ DeletePolicyVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeleteProvisioningTemplate.go.snap b/service/iot/snapshot/api_op_DeleteProvisioningTemplate.go.snap index 8aab9027686..516b2bc43fd 100644 --- a/service/iot/snapshot/api_op_DeleteProvisioningTemplate.go.snap +++ b/service/iot/snapshot/api_op_DeleteProvisioningTemplate.go.snap @@ -14,7 +14,6 @@ DeleteProvisioningTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeleteProvisioningTemplateVersion.go.snap b/service/iot/snapshot/api_op_DeleteProvisioningTemplateVersion.go.snap index 670b451a724..a00b2ced541 100644 --- a/service/iot/snapshot/api_op_DeleteProvisioningTemplateVersion.go.snap +++ b/service/iot/snapshot/api_op_DeleteProvisioningTemplateVersion.go.snap @@ -14,7 +14,6 @@ DeleteProvisioningTemplateVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeleteRegistrationCode.go.snap b/service/iot/snapshot/api_op_DeleteRegistrationCode.go.snap index 1df3904a45e..731ef1e86ff 100644 --- a/service/iot/snapshot/api_op_DeleteRegistrationCode.go.snap +++ b/service/iot/snapshot/api_op_DeleteRegistrationCode.go.snap @@ -13,7 +13,6 @@ DeleteRegistrationCode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeleteRoleAlias.go.snap b/service/iot/snapshot/api_op_DeleteRoleAlias.go.snap index 126983550b6..7fdbdea56b0 100644 --- a/service/iot/snapshot/api_op_DeleteRoleAlias.go.snap +++ b/service/iot/snapshot/api_op_DeleteRoleAlias.go.snap @@ -14,7 +14,6 @@ DeleteRoleAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeleteScheduledAudit.go.snap b/service/iot/snapshot/api_op_DeleteScheduledAudit.go.snap index 07d62960885..9bfec508172 100644 --- a/service/iot/snapshot/api_op_DeleteScheduledAudit.go.snap +++ b/service/iot/snapshot/api_op_DeleteScheduledAudit.go.snap @@ -14,7 +14,6 @@ DeleteScheduledAudit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeleteSecurityProfile.go.snap b/service/iot/snapshot/api_op_DeleteSecurityProfile.go.snap index 4ef4b748d29..3fd5590eb3e 100644 --- a/service/iot/snapshot/api_op_DeleteSecurityProfile.go.snap +++ b/service/iot/snapshot/api_op_DeleteSecurityProfile.go.snap @@ -14,7 +14,6 @@ DeleteSecurityProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeleteStream.go.snap b/service/iot/snapshot/api_op_DeleteStream.go.snap index fe9ca0879db..0222f54f1f4 100644 --- a/service/iot/snapshot/api_op_DeleteStream.go.snap +++ b/service/iot/snapshot/api_op_DeleteStream.go.snap @@ -14,7 +14,6 @@ DeleteStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeleteThing.go.snap b/service/iot/snapshot/api_op_DeleteThing.go.snap index 1688baa4aa1..7beac4d031a 100644 --- a/service/iot/snapshot/api_op_DeleteThing.go.snap +++ b/service/iot/snapshot/api_op_DeleteThing.go.snap @@ -14,7 +14,6 @@ DeleteThing Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeleteThingGroup.go.snap b/service/iot/snapshot/api_op_DeleteThingGroup.go.snap index 9d3d47ee302..3523d0257fb 100644 --- a/service/iot/snapshot/api_op_DeleteThingGroup.go.snap +++ b/service/iot/snapshot/api_op_DeleteThingGroup.go.snap @@ -14,7 +14,6 @@ DeleteThingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeleteThingType.go.snap b/service/iot/snapshot/api_op_DeleteThingType.go.snap index 82a4c275faf..bbaaeb30132 100644 --- a/service/iot/snapshot/api_op_DeleteThingType.go.snap +++ b/service/iot/snapshot/api_op_DeleteThingType.go.snap @@ -14,7 +14,6 @@ DeleteThingType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeleteTopicRule.go.snap b/service/iot/snapshot/api_op_DeleteTopicRule.go.snap index 15457c15a10..9ebc18e014c 100644 --- a/service/iot/snapshot/api_op_DeleteTopicRule.go.snap +++ b/service/iot/snapshot/api_op_DeleteTopicRule.go.snap @@ -14,7 +14,6 @@ DeleteTopicRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeleteTopicRuleDestination.go.snap b/service/iot/snapshot/api_op_DeleteTopicRuleDestination.go.snap index 769a9ea03bf..0468ad2b565 100644 --- a/service/iot/snapshot/api_op_DeleteTopicRuleDestination.go.snap +++ b/service/iot/snapshot/api_op_DeleteTopicRuleDestination.go.snap @@ -14,7 +14,6 @@ DeleteTopicRuleDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeleteV2LoggingLevel.go.snap b/service/iot/snapshot/api_op_DeleteV2LoggingLevel.go.snap index 2fa74705760..13181631c15 100644 --- a/service/iot/snapshot/api_op_DeleteV2LoggingLevel.go.snap +++ b/service/iot/snapshot/api_op_DeleteV2LoggingLevel.go.snap @@ -14,7 +14,6 @@ DeleteV2LoggingLevel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DeprecateThingType.go.snap b/service/iot/snapshot/api_op_DeprecateThingType.go.snap index 727ea64af50..51e3c0fb8a9 100644 --- a/service/iot/snapshot/api_op_DeprecateThingType.go.snap +++ b/service/iot/snapshot/api_op_DeprecateThingType.go.snap @@ -14,7 +14,6 @@ DeprecateThingType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeAccountAuditConfiguration.go.snap b/service/iot/snapshot/api_op_DescribeAccountAuditConfiguration.go.snap index b797c312d2c..cb30c9fde25 100644 --- a/service/iot/snapshot/api_op_DescribeAccountAuditConfiguration.go.snap +++ b/service/iot/snapshot/api_op_DescribeAccountAuditConfiguration.go.snap @@ -13,7 +13,6 @@ DescribeAccountAuditConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeAuditFinding.go.snap b/service/iot/snapshot/api_op_DescribeAuditFinding.go.snap index e4be77dd2bc..a7e9b1c3b64 100644 --- a/service/iot/snapshot/api_op_DescribeAuditFinding.go.snap +++ b/service/iot/snapshot/api_op_DescribeAuditFinding.go.snap @@ -14,7 +14,6 @@ DescribeAuditFinding Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeAuditMitigationActionsTask.go.snap b/service/iot/snapshot/api_op_DescribeAuditMitigationActionsTask.go.snap index 55a0124f728..a837c74409e 100644 --- a/service/iot/snapshot/api_op_DescribeAuditMitigationActionsTask.go.snap +++ b/service/iot/snapshot/api_op_DescribeAuditMitigationActionsTask.go.snap @@ -14,7 +14,6 @@ DescribeAuditMitigationActionsTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeAuditSuppression.go.snap b/service/iot/snapshot/api_op_DescribeAuditSuppression.go.snap index 5bb0025aaff..abf680ef515 100644 --- a/service/iot/snapshot/api_op_DescribeAuditSuppression.go.snap +++ b/service/iot/snapshot/api_op_DescribeAuditSuppression.go.snap @@ -14,7 +14,6 @@ DescribeAuditSuppression Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeAuditTask.go.snap b/service/iot/snapshot/api_op_DescribeAuditTask.go.snap index e12227ed1ad..53b296c2166 100644 --- a/service/iot/snapshot/api_op_DescribeAuditTask.go.snap +++ b/service/iot/snapshot/api_op_DescribeAuditTask.go.snap @@ -14,7 +14,6 @@ DescribeAuditTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeAuthorizer.go.snap b/service/iot/snapshot/api_op_DescribeAuthorizer.go.snap index 21157b4314e..0575263c9f8 100644 --- a/service/iot/snapshot/api_op_DescribeAuthorizer.go.snap +++ b/service/iot/snapshot/api_op_DescribeAuthorizer.go.snap @@ -14,7 +14,6 @@ DescribeAuthorizer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeBillingGroup.go.snap b/service/iot/snapshot/api_op_DescribeBillingGroup.go.snap index af367f4fb29..d440d39a136 100644 --- a/service/iot/snapshot/api_op_DescribeBillingGroup.go.snap +++ b/service/iot/snapshot/api_op_DescribeBillingGroup.go.snap @@ -14,7 +14,6 @@ DescribeBillingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeCACertificate.go.snap b/service/iot/snapshot/api_op_DescribeCACertificate.go.snap index 0e5ce98b350..1638959fb21 100644 --- a/service/iot/snapshot/api_op_DescribeCACertificate.go.snap +++ b/service/iot/snapshot/api_op_DescribeCACertificate.go.snap @@ -14,7 +14,6 @@ DescribeCACertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeCertificate.go.snap b/service/iot/snapshot/api_op_DescribeCertificate.go.snap index 207f80a3273..eef39259d04 100644 --- a/service/iot/snapshot/api_op_DescribeCertificate.go.snap +++ b/service/iot/snapshot/api_op_DescribeCertificate.go.snap @@ -14,7 +14,6 @@ DescribeCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeCertificateProvider.go.snap b/service/iot/snapshot/api_op_DescribeCertificateProvider.go.snap index eece6b42be1..5ca7a1e2060 100644 --- a/service/iot/snapshot/api_op_DescribeCertificateProvider.go.snap +++ b/service/iot/snapshot/api_op_DescribeCertificateProvider.go.snap @@ -14,7 +14,6 @@ DescribeCertificateProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeCustomMetric.go.snap b/service/iot/snapshot/api_op_DescribeCustomMetric.go.snap index 585ecf05fb7..5d795444b87 100644 --- a/service/iot/snapshot/api_op_DescribeCustomMetric.go.snap +++ b/service/iot/snapshot/api_op_DescribeCustomMetric.go.snap @@ -14,7 +14,6 @@ DescribeCustomMetric Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeDefaultAuthorizer.go.snap b/service/iot/snapshot/api_op_DescribeDefaultAuthorizer.go.snap index 4601d43a278..0672d585a2c 100644 --- a/service/iot/snapshot/api_op_DescribeDefaultAuthorizer.go.snap +++ b/service/iot/snapshot/api_op_DescribeDefaultAuthorizer.go.snap @@ -13,7 +13,6 @@ DescribeDefaultAuthorizer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeDetectMitigationActionsTask.go.snap b/service/iot/snapshot/api_op_DescribeDetectMitigationActionsTask.go.snap index e8ffdc050c3..21832eddcb9 100644 --- a/service/iot/snapshot/api_op_DescribeDetectMitigationActionsTask.go.snap +++ b/service/iot/snapshot/api_op_DescribeDetectMitigationActionsTask.go.snap @@ -14,7 +14,6 @@ DescribeDetectMitigationActionsTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeDimension.go.snap b/service/iot/snapshot/api_op_DescribeDimension.go.snap index 10bc7732246..22746f59682 100644 --- a/service/iot/snapshot/api_op_DescribeDimension.go.snap +++ b/service/iot/snapshot/api_op_DescribeDimension.go.snap @@ -14,7 +14,6 @@ DescribeDimension Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeDomainConfiguration.go.snap b/service/iot/snapshot/api_op_DescribeDomainConfiguration.go.snap index 1df90d1233c..400b81c4f0c 100644 --- a/service/iot/snapshot/api_op_DescribeDomainConfiguration.go.snap +++ b/service/iot/snapshot/api_op_DescribeDomainConfiguration.go.snap @@ -14,7 +14,6 @@ DescribeDomainConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeEndpoint.go.snap b/service/iot/snapshot/api_op_DescribeEndpoint.go.snap index 52619c09bd1..837ea9ef35d 100644 --- a/service/iot/snapshot/api_op_DescribeEndpoint.go.snap +++ b/service/iot/snapshot/api_op_DescribeEndpoint.go.snap @@ -13,7 +13,6 @@ DescribeEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeEventConfigurations.go.snap b/service/iot/snapshot/api_op_DescribeEventConfigurations.go.snap index fa8cef3db90..512e7015bf8 100644 --- a/service/iot/snapshot/api_op_DescribeEventConfigurations.go.snap +++ b/service/iot/snapshot/api_op_DescribeEventConfigurations.go.snap @@ -13,7 +13,6 @@ DescribeEventConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeFleetMetric.go.snap b/service/iot/snapshot/api_op_DescribeFleetMetric.go.snap index d2112252820..4242c5f0588 100644 --- a/service/iot/snapshot/api_op_DescribeFleetMetric.go.snap +++ b/service/iot/snapshot/api_op_DescribeFleetMetric.go.snap @@ -14,7 +14,6 @@ DescribeFleetMetric Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeIndex.go.snap b/service/iot/snapshot/api_op_DescribeIndex.go.snap index 9772428f1fc..5a759a4deeb 100644 --- a/service/iot/snapshot/api_op_DescribeIndex.go.snap +++ b/service/iot/snapshot/api_op_DescribeIndex.go.snap @@ -14,7 +14,6 @@ DescribeIndex Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeJob.go.snap b/service/iot/snapshot/api_op_DescribeJob.go.snap index f65d63debea..c32bb3ceb01 100644 --- a/service/iot/snapshot/api_op_DescribeJob.go.snap +++ b/service/iot/snapshot/api_op_DescribeJob.go.snap @@ -14,7 +14,6 @@ DescribeJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeJobExecution.go.snap b/service/iot/snapshot/api_op_DescribeJobExecution.go.snap index 71e3fb5f88f..225eb8e16ad 100644 --- a/service/iot/snapshot/api_op_DescribeJobExecution.go.snap +++ b/service/iot/snapshot/api_op_DescribeJobExecution.go.snap @@ -14,7 +14,6 @@ DescribeJobExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeJobTemplate.go.snap b/service/iot/snapshot/api_op_DescribeJobTemplate.go.snap index ff7ba1c7c67..649bbd8d763 100644 --- a/service/iot/snapshot/api_op_DescribeJobTemplate.go.snap +++ b/service/iot/snapshot/api_op_DescribeJobTemplate.go.snap @@ -14,7 +14,6 @@ DescribeJobTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeManagedJobTemplate.go.snap b/service/iot/snapshot/api_op_DescribeManagedJobTemplate.go.snap index f6251f8987d..01d317ad8ee 100644 --- a/service/iot/snapshot/api_op_DescribeManagedJobTemplate.go.snap +++ b/service/iot/snapshot/api_op_DescribeManagedJobTemplate.go.snap @@ -14,7 +14,6 @@ DescribeManagedJobTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeMitigationAction.go.snap b/service/iot/snapshot/api_op_DescribeMitigationAction.go.snap index 0669d57e3f7..6e88da409bb 100644 --- a/service/iot/snapshot/api_op_DescribeMitigationAction.go.snap +++ b/service/iot/snapshot/api_op_DescribeMitigationAction.go.snap @@ -14,7 +14,6 @@ DescribeMitigationAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeProvisioningTemplate.go.snap b/service/iot/snapshot/api_op_DescribeProvisioningTemplate.go.snap index 4794bb4b32a..800019e59d3 100644 --- a/service/iot/snapshot/api_op_DescribeProvisioningTemplate.go.snap +++ b/service/iot/snapshot/api_op_DescribeProvisioningTemplate.go.snap @@ -14,7 +14,6 @@ DescribeProvisioningTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeProvisioningTemplateVersion.go.snap b/service/iot/snapshot/api_op_DescribeProvisioningTemplateVersion.go.snap index e3ac02ece94..53ebaf06a09 100644 --- a/service/iot/snapshot/api_op_DescribeProvisioningTemplateVersion.go.snap +++ b/service/iot/snapshot/api_op_DescribeProvisioningTemplateVersion.go.snap @@ -14,7 +14,6 @@ DescribeProvisioningTemplateVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeRoleAlias.go.snap b/service/iot/snapshot/api_op_DescribeRoleAlias.go.snap index 85a13aa3de8..6f4f82f5e6d 100644 --- a/service/iot/snapshot/api_op_DescribeRoleAlias.go.snap +++ b/service/iot/snapshot/api_op_DescribeRoleAlias.go.snap @@ -14,7 +14,6 @@ DescribeRoleAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeScheduledAudit.go.snap b/service/iot/snapshot/api_op_DescribeScheduledAudit.go.snap index cc01ec116db..74380f21290 100644 --- a/service/iot/snapshot/api_op_DescribeScheduledAudit.go.snap +++ b/service/iot/snapshot/api_op_DescribeScheduledAudit.go.snap @@ -14,7 +14,6 @@ DescribeScheduledAudit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeSecurityProfile.go.snap b/service/iot/snapshot/api_op_DescribeSecurityProfile.go.snap index ad9aef0fd17..6dbf4e9d975 100644 --- a/service/iot/snapshot/api_op_DescribeSecurityProfile.go.snap +++ b/service/iot/snapshot/api_op_DescribeSecurityProfile.go.snap @@ -14,7 +14,6 @@ DescribeSecurityProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeStream.go.snap b/service/iot/snapshot/api_op_DescribeStream.go.snap index 76c7403165f..ed322cb7d14 100644 --- a/service/iot/snapshot/api_op_DescribeStream.go.snap +++ b/service/iot/snapshot/api_op_DescribeStream.go.snap @@ -14,7 +14,6 @@ DescribeStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeThing.go.snap b/service/iot/snapshot/api_op_DescribeThing.go.snap index c709aa0b637..dc1468b2355 100644 --- a/service/iot/snapshot/api_op_DescribeThing.go.snap +++ b/service/iot/snapshot/api_op_DescribeThing.go.snap @@ -14,7 +14,6 @@ DescribeThing Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeThingGroup.go.snap b/service/iot/snapshot/api_op_DescribeThingGroup.go.snap index a5e5baf0147..94a187fd38e 100644 --- a/service/iot/snapshot/api_op_DescribeThingGroup.go.snap +++ b/service/iot/snapshot/api_op_DescribeThingGroup.go.snap @@ -14,7 +14,6 @@ DescribeThingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeThingRegistrationTask.go.snap b/service/iot/snapshot/api_op_DescribeThingRegistrationTask.go.snap index 5248beb20b5..be3804a925c 100644 --- a/service/iot/snapshot/api_op_DescribeThingRegistrationTask.go.snap +++ b/service/iot/snapshot/api_op_DescribeThingRegistrationTask.go.snap @@ -14,7 +14,6 @@ DescribeThingRegistrationTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DescribeThingType.go.snap b/service/iot/snapshot/api_op_DescribeThingType.go.snap index 52a6af449df..d0337f1f4c5 100644 --- a/service/iot/snapshot/api_op_DescribeThingType.go.snap +++ b/service/iot/snapshot/api_op_DescribeThingType.go.snap @@ -14,7 +14,6 @@ DescribeThingType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DetachPolicy.go.snap b/service/iot/snapshot/api_op_DetachPolicy.go.snap index f92a38a4bf6..3a4818e6ca0 100644 --- a/service/iot/snapshot/api_op_DetachPolicy.go.snap +++ b/service/iot/snapshot/api_op_DetachPolicy.go.snap @@ -14,7 +14,6 @@ DetachPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DetachPrincipalPolicy.go.snap b/service/iot/snapshot/api_op_DetachPrincipalPolicy.go.snap index 92eb490f9cb..9838940836c 100644 --- a/service/iot/snapshot/api_op_DetachPrincipalPolicy.go.snap +++ b/service/iot/snapshot/api_op_DetachPrincipalPolicy.go.snap @@ -14,7 +14,6 @@ DetachPrincipalPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DetachSecurityProfile.go.snap b/service/iot/snapshot/api_op_DetachSecurityProfile.go.snap index 37099807c68..b09a29306e7 100644 --- a/service/iot/snapshot/api_op_DetachSecurityProfile.go.snap +++ b/service/iot/snapshot/api_op_DetachSecurityProfile.go.snap @@ -14,7 +14,6 @@ DetachSecurityProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DetachThingPrincipal.go.snap b/service/iot/snapshot/api_op_DetachThingPrincipal.go.snap index 47ee0483f2b..c22790732dc 100644 --- a/service/iot/snapshot/api_op_DetachThingPrincipal.go.snap +++ b/service/iot/snapshot/api_op_DetachThingPrincipal.go.snap @@ -14,7 +14,6 @@ DetachThingPrincipal Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DisableTopicRule.go.snap b/service/iot/snapshot/api_op_DisableTopicRule.go.snap index ba3481d7f00..ee1f9449d3d 100644 --- a/service/iot/snapshot/api_op_DisableTopicRule.go.snap +++ b/service/iot/snapshot/api_op_DisableTopicRule.go.snap @@ -14,7 +14,6 @@ DisableTopicRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_DisassociateSbomFromPackageVersion.go.snap b/service/iot/snapshot/api_op_DisassociateSbomFromPackageVersion.go.snap index 9e45dcae3c4..6a33ef671ed 100644 --- a/service/iot/snapshot/api_op_DisassociateSbomFromPackageVersion.go.snap +++ b/service/iot/snapshot/api_op_DisassociateSbomFromPackageVersion.go.snap @@ -15,7 +15,6 @@ DisassociateSbomFromPackageVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_EnableTopicRule.go.snap b/service/iot/snapshot/api_op_EnableTopicRule.go.snap index 20d283419e5..e900ba8dbc1 100644 --- a/service/iot/snapshot/api_op_EnableTopicRule.go.snap +++ b/service/iot/snapshot/api_op_EnableTopicRule.go.snap @@ -14,7 +14,6 @@ EnableTopicRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_GetBehaviorModelTrainingSummaries.go.snap b/service/iot/snapshot/api_op_GetBehaviorModelTrainingSummaries.go.snap index 464d6221962..eeba9acb4f0 100644 --- a/service/iot/snapshot/api_op_GetBehaviorModelTrainingSummaries.go.snap +++ b/service/iot/snapshot/api_op_GetBehaviorModelTrainingSummaries.go.snap @@ -13,7 +13,6 @@ GetBehaviorModelTrainingSummaries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_GetBucketsAggregation.go.snap b/service/iot/snapshot/api_op_GetBucketsAggregation.go.snap index 54143c91616..fa48239459a 100644 --- a/service/iot/snapshot/api_op_GetBucketsAggregation.go.snap +++ b/service/iot/snapshot/api_op_GetBucketsAggregation.go.snap @@ -14,7 +14,6 @@ GetBucketsAggregation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_GetCardinality.go.snap b/service/iot/snapshot/api_op_GetCardinality.go.snap index 85f2c42ad32..282fa9547d2 100644 --- a/service/iot/snapshot/api_op_GetCardinality.go.snap +++ b/service/iot/snapshot/api_op_GetCardinality.go.snap @@ -14,7 +14,6 @@ GetCardinality Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_GetCommand.go.snap b/service/iot/snapshot/api_op_GetCommand.go.snap index 9b5e04f974b..6792c65e398 100644 --- a/service/iot/snapshot/api_op_GetCommand.go.snap +++ b/service/iot/snapshot/api_op_GetCommand.go.snap @@ -14,7 +14,6 @@ GetCommand Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_GetCommandExecution.go.snap b/service/iot/snapshot/api_op_GetCommandExecution.go.snap index 01e9ee20f89..80a7c89d780 100644 --- a/service/iot/snapshot/api_op_GetCommandExecution.go.snap +++ b/service/iot/snapshot/api_op_GetCommandExecution.go.snap @@ -14,7 +14,6 @@ GetCommandExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_GetEffectivePolicies.go.snap b/service/iot/snapshot/api_op_GetEffectivePolicies.go.snap index c1b703f0597..ce1d7478c7a 100644 --- a/service/iot/snapshot/api_op_GetEffectivePolicies.go.snap +++ b/service/iot/snapshot/api_op_GetEffectivePolicies.go.snap @@ -13,7 +13,6 @@ GetEffectivePolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_GetIndexingConfiguration.go.snap b/service/iot/snapshot/api_op_GetIndexingConfiguration.go.snap index 7f9aa854e86..6a96c8ee78f 100644 --- a/service/iot/snapshot/api_op_GetIndexingConfiguration.go.snap +++ b/service/iot/snapshot/api_op_GetIndexingConfiguration.go.snap @@ -13,7 +13,6 @@ GetIndexingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_GetJobDocument.go.snap b/service/iot/snapshot/api_op_GetJobDocument.go.snap index 63f5037fe1f..2d3204bca6e 100644 --- a/service/iot/snapshot/api_op_GetJobDocument.go.snap +++ b/service/iot/snapshot/api_op_GetJobDocument.go.snap @@ -14,7 +14,6 @@ GetJobDocument Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_GetLoggingOptions.go.snap b/service/iot/snapshot/api_op_GetLoggingOptions.go.snap index 80e663dbb96..344145739e4 100644 --- a/service/iot/snapshot/api_op_GetLoggingOptions.go.snap +++ b/service/iot/snapshot/api_op_GetLoggingOptions.go.snap @@ -13,7 +13,6 @@ GetLoggingOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_GetOTAUpdate.go.snap b/service/iot/snapshot/api_op_GetOTAUpdate.go.snap index 08fde034c88..33e3c6db936 100644 --- a/service/iot/snapshot/api_op_GetOTAUpdate.go.snap +++ b/service/iot/snapshot/api_op_GetOTAUpdate.go.snap @@ -14,7 +14,6 @@ GetOTAUpdate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_GetPackage.go.snap b/service/iot/snapshot/api_op_GetPackage.go.snap index b7e17d21271..29be9b66ec8 100644 --- a/service/iot/snapshot/api_op_GetPackage.go.snap +++ b/service/iot/snapshot/api_op_GetPackage.go.snap @@ -14,7 +14,6 @@ GetPackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_GetPackageConfiguration.go.snap b/service/iot/snapshot/api_op_GetPackageConfiguration.go.snap index 23718921f42..9e74ae9a5a6 100644 --- a/service/iot/snapshot/api_op_GetPackageConfiguration.go.snap +++ b/service/iot/snapshot/api_op_GetPackageConfiguration.go.snap @@ -13,7 +13,6 @@ GetPackageConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_GetPackageVersion.go.snap b/service/iot/snapshot/api_op_GetPackageVersion.go.snap index 37dddae3242..1c98b917c7d 100644 --- a/service/iot/snapshot/api_op_GetPackageVersion.go.snap +++ b/service/iot/snapshot/api_op_GetPackageVersion.go.snap @@ -14,7 +14,6 @@ GetPackageVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_GetPercentiles.go.snap b/service/iot/snapshot/api_op_GetPercentiles.go.snap index a689e5f226e..f050fe0755e 100644 --- a/service/iot/snapshot/api_op_GetPercentiles.go.snap +++ b/service/iot/snapshot/api_op_GetPercentiles.go.snap @@ -14,7 +14,6 @@ GetPercentiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_GetPolicy.go.snap b/service/iot/snapshot/api_op_GetPolicy.go.snap index dc1a8d53693..1a5ac50a868 100644 --- a/service/iot/snapshot/api_op_GetPolicy.go.snap +++ b/service/iot/snapshot/api_op_GetPolicy.go.snap @@ -14,7 +14,6 @@ GetPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_GetPolicyVersion.go.snap b/service/iot/snapshot/api_op_GetPolicyVersion.go.snap index 96752e02173..a6cda264417 100644 --- a/service/iot/snapshot/api_op_GetPolicyVersion.go.snap +++ b/service/iot/snapshot/api_op_GetPolicyVersion.go.snap @@ -14,7 +14,6 @@ GetPolicyVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_GetRegistrationCode.go.snap b/service/iot/snapshot/api_op_GetRegistrationCode.go.snap index ca9b73031ca..461bc588b2d 100644 --- a/service/iot/snapshot/api_op_GetRegistrationCode.go.snap +++ b/service/iot/snapshot/api_op_GetRegistrationCode.go.snap @@ -13,7 +13,6 @@ GetRegistrationCode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_GetStatistics.go.snap b/service/iot/snapshot/api_op_GetStatistics.go.snap index 9bee2b7a8ff..38d62424fc3 100644 --- a/service/iot/snapshot/api_op_GetStatistics.go.snap +++ b/service/iot/snapshot/api_op_GetStatistics.go.snap @@ -14,7 +14,6 @@ GetStatistics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_GetThingConnectivityData.go.snap b/service/iot/snapshot/api_op_GetThingConnectivityData.go.snap index f73015c37af..e1d1680bceb 100644 --- a/service/iot/snapshot/api_op_GetThingConnectivityData.go.snap +++ b/service/iot/snapshot/api_op_GetThingConnectivityData.go.snap @@ -14,7 +14,6 @@ GetThingConnectivityData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_GetTopicRule.go.snap b/service/iot/snapshot/api_op_GetTopicRule.go.snap index c5731192f12..24ab76f9877 100644 --- a/service/iot/snapshot/api_op_GetTopicRule.go.snap +++ b/service/iot/snapshot/api_op_GetTopicRule.go.snap @@ -14,7 +14,6 @@ GetTopicRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_GetTopicRuleDestination.go.snap b/service/iot/snapshot/api_op_GetTopicRuleDestination.go.snap index ecf2e08bdb6..3e3af8f4ced 100644 --- a/service/iot/snapshot/api_op_GetTopicRuleDestination.go.snap +++ b/service/iot/snapshot/api_op_GetTopicRuleDestination.go.snap @@ -14,7 +14,6 @@ GetTopicRuleDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_GetV2LoggingOptions.go.snap b/service/iot/snapshot/api_op_GetV2LoggingOptions.go.snap index 5379b52b8ce..ddee5c3e924 100644 --- a/service/iot/snapshot/api_op_GetV2LoggingOptions.go.snap +++ b/service/iot/snapshot/api_op_GetV2LoggingOptions.go.snap @@ -13,7 +13,6 @@ GetV2LoggingOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListActiveViolations.go.snap b/service/iot/snapshot/api_op_ListActiveViolations.go.snap index 0d84a93c362..44844060a47 100644 --- a/service/iot/snapshot/api_op_ListActiveViolations.go.snap +++ b/service/iot/snapshot/api_op_ListActiveViolations.go.snap @@ -13,7 +13,6 @@ ListActiveViolations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListAttachedPolicies.go.snap b/service/iot/snapshot/api_op_ListAttachedPolicies.go.snap index 7301522dcf9..2b3620a9540 100644 --- a/service/iot/snapshot/api_op_ListAttachedPolicies.go.snap +++ b/service/iot/snapshot/api_op_ListAttachedPolicies.go.snap @@ -14,7 +14,6 @@ ListAttachedPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListAuditFindings.go.snap b/service/iot/snapshot/api_op_ListAuditFindings.go.snap index 9652ac2c37c..468f707bc77 100644 --- a/service/iot/snapshot/api_op_ListAuditFindings.go.snap +++ b/service/iot/snapshot/api_op_ListAuditFindings.go.snap @@ -13,7 +13,6 @@ ListAuditFindings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListAuditMitigationActionsExecutions.go.snap b/service/iot/snapshot/api_op_ListAuditMitigationActionsExecutions.go.snap index 2589d8cd3d9..4e9906576f5 100644 --- a/service/iot/snapshot/api_op_ListAuditMitigationActionsExecutions.go.snap +++ b/service/iot/snapshot/api_op_ListAuditMitigationActionsExecutions.go.snap @@ -14,7 +14,6 @@ ListAuditMitigationActionsExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListAuditMitigationActionsTasks.go.snap b/service/iot/snapshot/api_op_ListAuditMitigationActionsTasks.go.snap index 3af05fb5e43..52613826479 100644 --- a/service/iot/snapshot/api_op_ListAuditMitigationActionsTasks.go.snap +++ b/service/iot/snapshot/api_op_ListAuditMitigationActionsTasks.go.snap @@ -14,7 +14,6 @@ ListAuditMitigationActionsTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListAuditSuppressions.go.snap b/service/iot/snapshot/api_op_ListAuditSuppressions.go.snap index dce37eda266..11728c3170f 100644 --- a/service/iot/snapshot/api_op_ListAuditSuppressions.go.snap +++ b/service/iot/snapshot/api_op_ListAuditSuppressions.go.snap @@ -13,7 +13,6 @@ ListAuditSuppressions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListAuditTasks.go.snap b/service/iot/snapshot/api_op_ListAuditTasks.go.snap index 7913ce7b3de..393f2d0f81a 100644 --- a/service/iot/snapshot/api_op_ListAuditTasks.go.snap +++ b/service/iot/snapshot/api_op_ListAuditTasks.go.snap @@ -14,7 +14,6 @@ ListAuditTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListAuthorizers.go.snap b/service/iot/snapshot/api_op_ListAuthorizers.go.snap index 4f648f27e5e..976a067c2b6 100644 --- a/service/iot/snapshot/api_op_ListAuthorizers.go.snap +++ b/service/iot/snapshot/api_op_ListAuthorizers.go.snap @@ -13,7 +13,6 @@ ListAuthorizers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListBillingGroups.go.snap b/service/iot/snapshot/api_op_ListBillingGroups.go.snap index 4b9ab1c91a2..8cfe74b37ba 100644 --- a/service/iot/snapshot/api_op_ListBillingGroups.go.snap +++ b/service/iot/snapshot/api_op_ListBillingGroups.go.snap @@ -13,7 +13,6 @@ ListBillingGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListCACertificates.go.snap b/service/iot/snapshot/api_op_ListCACertificates.go.snap index dc84b3da26d..f72931cdba4 100644 --- a/service/iot/snapshot/api_op_ListCACertificates.go.snap +++ b/service/iot/snapshot/api_op_ListCACertificates.go.snap @@ -13,7 +13,6 @@ ListCACertificates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListCertificateProviders.go.snap b/service/iot/snapshot/api_op_ListCertificateProviders.go.snap index d50aa5f89a6..346dbd45764 100644 --- a/service/iot/snapshot/api_op_ListCertificateProviders.go.snap +++ b/service/iot/snapshot/api_op_ListCertificateProviders.go.snap @@ -13,7 +13,6 @@ ListCertificateProviders Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListCertificates.go.snap b/service/iot/snapshot/api_op_ListCertificates.go.snap index 96af69583e5..924cb4f54f0 100644 --- a/service/iot/snapshot/api_op_ListCertificates.go.snap +++ b/service/iot/snapshot/api_op_ListCertificates.go.snap @@ -13,7 +13,6 @@ ListCertificates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListCertificatesByCA.go.snap b/service/iot/snapshot/api_op_ListCertificatesByCA.go.snap index ac247508f19..75dc9a80095 100644 --- a/service/iot/snapshot/api_op_ListCertificatesByCA.go.snap +++ b/service/iot/snapshot/api_op_ListCertificatesByCA.go.snap @@ -14,7 +14,6 @@ ListCertificatesByCA Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListCommandExecutions.go.snap b/service/iot/snapshot/api_op_ListCommandExecutions.go.snap index 1cc2218e78f..ac794cba1b9 100644 --- a/service/iot/snapshot/api_op_ListCommandExecutions.go.snap +++ b/service/iot/snapshot/api_op_ListCommandExecutions.go.snap @@ -13,7 +13,6 @@ ListCommandExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListCommands.go.snap b/service/iot/snapshot/api_op_ListCommands.go.snap index ef43557d716..b97e365fc30 100644 --- a/service/iot/snapshot/api_op_ListCommands.go.snap +++ b/service/iot/snapshot/api_op_ListCommands.go.snap @@ -13,7 +13,6 @@ ListCommands Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListCustomMetrics.go.snap b/service/iot/snapshot/api_op_ListCustomMetrics.go.snap index be1e959fe31..1c5df10b7c1 100644 --- a/service/iot/snapshot/api_op_ListCustomMetrics.go.snap +++ b/service/iot/snapshot/api_op_ListCustomMetrics.go.snap @@ -13,7 +13,6 @@ ListCustomMetrics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListDetectMitigationActionsExecutions.go.snap b/service/iot/snapshot/api_op_ListDetectMitigationActionsExecutions.go.snap index 2768b5b6d0a..be137f28eb0 100644 --- a/service/iot/snapshot/api_op_ListDetectMitigationActionsExecutions.go.snap +++ b/service/iot/snapshot/api_op_ListDetectMitigationActionsExecutions.go.snap @@ -13,7 +13,6 @@ ListDetectMitigationActionsExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListDetectMitigationActionsTasks.go.snap b/service/iot/snapshot/api_op_ListDetectMitigationActionsTasks.go.snap index d8f215bb151..386fb2d01cc 100644 --- a/service/iot/snapshot/api_op_ListDetectMitigationActionsTasks.go.snap +++ b/service/iot/snapshot/api_op_ListDetectMitigationActionsTasks.go.snap @@ -14,7 +14,6 @@ ListDetectMitigationActionsTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListDimensions.go.snap b/service/iot/snapshot/api_op_ListDimensions.go.snap index 31ec200ef47..b9c56ca2c92 100644 --- a/service/iot/snapshot/api_op_ListDimensions.go.snap +++ b/service/iot/snapshot/api_op_ListDimensions.go.snap @@ -13,7 +13,6 @@ ListDimensions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListDomainConfigurations.go.snap b/service/iot/snapshot/api_op_ListDomainConfigurations.go.snap index b6b47c46403..f068f0425bf 100644 --- a/service/iot/snapshot/api_op_ListDomainConfigurations.go.snap +++ b/service/iot/snapshot/api_op_ListDomainConfigurations.go.snap @@ -13,7 +13,6 @@ ListDomainConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListFleetMetrics.go.snap b/service/iot/snapshot/api_op_ListFleetMetrics.go.snap index 3e12f4c0bbd..3545516a650 100644 --- a/service/iot/snapshot/api_op_ListFleetMetrics.go.snap +++ b/service/iot/snapshot/api_op_ListFleetMetrics.go.snap @@ -13,7 +13,6 @@ ListFleetMetrics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListIndices.go.snap b/service/iot/snapshot/api_op_ListIndices.go.snap index 49a5910efa1..c8383b292d8 100644 --- a/service/iot/snapshot/api_op_ListIndices.go.snap +++ b/service/iot/snapshot/api_op_ListIndices.go.snap @@ -13,7 +13,6 @@ ListIndices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListJobExecutionsForJob.go.snap b/service/iot/snapshot/api_op_ListJobExecutionsForJob.go.snap index 9d0fec68186..d8583f04f70 100644 --- a/service/iot/snapshot/api_op_ListJobExecutionsForJob.go.snap +++ b/service/iot/snapshot/api_op_ListJobExecutionsForJob.go.snap @@ -14,7 +14,6 @@ ListJobExecutionsForJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListJobExecutionsForThing.go.snap b/service/iot/snapshot/api_op_ListJobExecutionsForThing.go.snap index 931b82b7572..1cd0872127a 100644 --- a/service/iot/snapshot/api_op_ListJobExecutionsForThing.go.snap +++ b/service/iot/snapshot/api_op_ListJobExecutionsForThing.go.snap @@ -14,7 +14,6 @@ ListJobExecutionsForThing Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListJobTemplates.go.snap b/service/iot/snapshot/api_op_ListJobTemplates.go.snap index 1beaee78764..d85c8790fc2 100644 --- a/service/iot/snapshot/api_op_ListJobTemplates.go.snap +++ b/service/iot/snapshot/api_op_ListJobTemplates.go.snap @@ -13,7 +13,6 @@ ListJobTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListJobs.go.snap b/service/iot/snapshot/api_op_ListJobs.go.snap index a2366e394ac..3ec2f2c0720 100644 --- a/service/iot/snapshot/api_op_ListJobs.go.snap +++ b/service/iot/snapshot/api_op_ListJobs.go.snap @@ -13,7 +13,6 @@ ListJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListManagedJobTemplates.go.snap b/service/iot/snapshot/api_op_ListManagedJobTemplates.go.snap index 60ad3861729..287521fb6c4 100644 --- a/service/iot/snapshot/api_op_ListManagedJobTemplates.go.snap +++ b/service/iot/snapshot/api_op_ListManagedJobTemplates.go.snap @@ -13,7 +13,6 @@ ListManagedJobTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListMetricValues.go.snap b/service/iot/snapshot/api_op_ListMetricValues.go.snap index 1ffb06b0b4e..0dc50aad1a8 100644 --- a/service/iot/snapshot/api_op_ListMetricValues.go.snap +++ b/service/iot/snapshot/api_op_ListMetricValues.go.snap @@ -14,7 +14,6 @@ ListMetricValues Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListMitigationActions.go.snap b/service/iot/snapshot/api_op_ListMitigationActions.go.snap index 01ed2bfcabe..90583864f71 100644 --- a/service/iot/snapshot/api_op_ListMitigationActions.go.snap +++ b/service/iot/snapshot/api_op_ListMitigationActions.go.snap @@ -13,7 +13,6 @@ ListMitigationActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListOTAUpdates.go.snap b/service/iot/snapshot/api_op_ListOTAUpdates.go.snap index 91aa44b8405..95fa82be99c 100644 --- a/service/iot/snapshot/api_op_ListOTAUpdates.go.snap +++ b/service/iot/snapshot/api_op_ListOTAUpdates.go.snap @@ -13,7 +13,6 @@ ListOTAUpdates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListOutgoingCertificates.go.snap b/service/iot/snapshot/api_op_ListOutgoingCertificates.go.snap index 0720b84a2cf..f8d01de4f7a 100644 --- a/service/iot/snapshot/api_op_ListOutgoingCertificates.go.snap +++ b/service/iot/snapshot/api_op_ListOutgoingCertificates.go.snap @@ -13,7 +13,6 @@ ListOutgoingCertificates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListPackageVersions.go.snap b/service/iot/snapshot/api_op_ListPackageVersions.go.snap index 5f580e11618..86698c79068 100644 --- a/service/iot/snapshot/api_op_ListPackageVersions.go.snap +++ b/service/iot/snapshot/api_op_ListPackageVersions.go.snap @@ -14,7 +14,6 @@ ListPackageVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListPackages.go.snap b/service/iot/snapshot/api_op_ListPackages.go.snap index b9355fa97c6..409c68d8cca 100644 --- a/service/iot/snapshot/api_op_ListPackages.go.snap +++ b/service/iot/snapshot/api_op_ListPackages.go.snap @@ -13,7 +13,6 @@ ListPackages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListPolicies.go.snap b/service/iot/snapshot/api_op_ListPolicies.go.snap index 39b48762975..6e06a23ef3b 100644 --- a/service/iot/snapshot/api_op_ListPolicies.go.snap +++ b/service/iot/snapshot/api_op_ListPolicies.go.snap @@ -13,7 +13,6 @@ ListPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListPolicyPrincipals.go.snap b/service/iot/snapshot/api_op_ListPolicyPrincipals.go.snap index ae481c53c27..d0c9dbcb183 100644 --- a/service/iot/snapshot/api_op_ListPolicyPrincipals.go.snap +++ b/service/iot/snapshot/api_op_ListPolicyPrincipals.go.snap @@ -14,7 +14,6 @@ ListPolicyPrincipals Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListPolicyVersions.go.snap b/service/iot/snapshot/api_op_ListPolicyVersions.go.snap index 6a28c1e5f49..865954792bd 100644 --- a/service/iot/snapshot/api_op_ListPolicyVersions.go.snap +++ b/service/iot/snapshot/api_op_ListPolicyVersions.go.snap @@ -14,7 +14,6 @@ ListPolicyVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListPrincipalPolicies.go.snap b/service/iot/snapshot/api_op_ListPrincipalPolicies.go.snap index 9b1caf8547d..d47cfe8ac93 100644 --- a/service/iot/snapshot/api_op_ListPrincipalPolicies.go.snap +++ b/service/iot/snapshot/api_op_ListPrincipalPolicies.go.snap @@ -14,7 +14,6 @@ ListPrincipalPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListPrincipalThings.go.snap b/service/iot/snapshot/api_op_ListPrincipalThings.go.snap index f50eef23804..d15b8a3de3b 100644 --- a/service/iot/snapshot/api_op_ListPrincipalThings.go.snap +++ b/service/iot/snapshot/api_op_ListPrincipalThings.go.snap @@ -14,7 +14,6 @@ ListPrincipalThings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListPrincipalThingsV2.go.snap b/service/iot/snapshot/api_op_ListPrincipalThingsV2.go.snap index 63124366df9..62e6342c549 100644 --- a/service/iot/snapshot/api_op_ListPrincipalThingsV2.go.snap +++ b/service/iot/snapshot/api_op_ListPrincipalThingsV2.go.snap @@ -14,7 +14,6 @@ ListPrincipalThingsV2 Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListProvisioningTemplateVersions.go.snap b/service/iot/snapshot/api_op_ListProvisioningTemplateVersions.go.snap index 41e09db82cc..0d9b044b04b 100644 --- a/service/iot/snapshot/api_op_ListProvisioningTemplateVersions.go.snap +++ b/service/iot/snapshot/api_op_ListProvisioningTemplateVersions.go.snap @@ -14,7 +14,6 @@ ListProvisioningTemplateVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListProvisioningTemplates.go.snap b/service/iot/snapshot/api_op_ListProvisioningTemplates.go.snap index 8961248a747..1d95409ee18 100644 --- a/service/iot/snapshot/api_op_ListProvisioningTemplates.go.snap +++ b/service/iot/snapshot/api_op_ListProvisioningTemplates.go.snap @@ -13,7 +13,6 @@ ListProvisioningTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListRelatedResourcesForAuditFinding.go.snap b/service/iot/snapshot/api_op_ListRelatedResourcesForAuditFinding.go.snap index ceda1e06984..e789c69120b 100644 --- a/service/iot/snapshot/api_op_ListRelatedResourcesForAuditFinding.go.snap +++ b/service/iot/snapshot/api_op_ListRelatedResourcesForAuditFinding.go.snap @@ -14,7 +14,6 @@ ListRelatedResourcesForAuditFinding Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListRoleAliases.go.snap b/service/iot/snapshot/api_op_ListRoleAliases.go.snap index ccb860dcb22..e4beed87eb7 100644 --- a/service/iot/snapshot/api_op_ListRoleAliases.go.snap +++ b/service/iot/snapshot/api_op_ListRoleAliases.go.snap @@ -13,7 +13,6 @@ ListRoleAliases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListSbomValidationResults.go.snap b/service/iot/snapshot/api_op_ListSbomValidationResults.go.snap index 955646ba34a..63652e5565d 100644 --- a/service/iot/snapshot/api_op_ListSbomValidationResults.go.snap +++ b/service/iot/snapshot/api_op_ListSbomValidationResults.go.snap @@ -14,7 +14,6 @@ ListSbomValidationResults Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListScheduledAudits.go.snap b/service/iot/snapshot/api_op_ListScheduledAudits.go.snap index ef769c07520..d7e1c73996a 100644 --- a/service/iot/snapshot/api_op_ListScheduledAudits.go.snap +++ b/service/iot/snapshot/api_op_ListScheduledAudits.go.snap @@ -13,7 +13,6 @@ ListScheduledAudits Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListSecurityProfiles.go.snap b/service/iot/snapshot/api_op_ListSecurityProfiles.go.snap index 7fa0896e870..a4e13e9784d 100644 --- a/service/iot/snapshot/api_op_ListSecurityProfiles.go.snap +++ b/service/iot/snapshot/api_op_ListSecurityProfiles.go.snap @@ -13,7 +13,6 @@ ListSecurityProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListSecurityProfilesForTarget.go.snap b/service/iot/snapshot/api_op_ListSecurityProfilesForTarget.go.snap index 6a8a23b4ff8..7d0e09931af 100644 --- a/service/iot/snapshot/api_op_ListSecurityProfilesForTarget.go.snap +++ b/service/iot/snapshot/api_op_ListSecurityProfilesForTarget.go.snap @@ -14,7 +14,6 @@ ListSecurityProfilesForTarget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListStreams.go.snap b/service/iot/snapshot/api_op_ListStreams.go.snap index 89c925c91c7..1885962ecc5 100644 --- a/service/iot/snapshot/api_op_ListStreams.go.snap +++ b/service/iot/snapshot/api_op_ListStreams.go.snap @@ -13,7 +13,6 @@ ListStreams Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListTagsForResource.go.snap b/service/iot/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/iot/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/iot/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListTargetsForPolicy.go.snap b/service/iot/snapshot/api_op_ListTargetsForPolicy.go.snap index 8808f426e28..ec24e209698 100644 --- a/service/iot/snapshot/api_op_ListTargetsForPolicy.go.snap +++ b/service/iot/snapshot/api_op_ListTargetsForPolicy.go.snap @@ -14,7 +14,6 @@ ListTargetsForPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListTargetsForSecurityProfile.go.snap b/service/iot/snapshot/api_op_ListTargetsForSecurityProfile.go.snap index 13fbf5ca22a..cab845fc4ac 100644 --- a/service/iot/snapshot/api_op_ListTargetsForSecurityProfile.go.snap +++ b/service/iot/snapshot/api_op_ListTargetsForSecurityProfile.go.snap @@ -14,7 +14,6 @@ ListTargetsForSecurityProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListThingGroups.go.snap b/service/iot/snapshot/api_op_ListThingGroups.go.snap index 7397c4337e0..de864daccfb 100644 --- a/service/iot/snapshot/api_op_ListThingGroups.go.snap +++ b/service/iot/snapshot/api_op_ListThingGroups.go.snap @@ -13,7 +13,6 @@ ListThingGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListThingGroupsForThing.go.snap b/service/iot/snapshot/api_op_ListThingGroupsForThing.go.snap index 1e40b089247..c5867fbc213 100644 --- a/service/iot/snapshot/api_op_ListThingGroupsForThing.go.snap +++ b/service/iot/snapshot/api_op_ListThingGroupsForThing.go.snap @@ -14,7 +14,6 @@ ListThingGroupsForThing Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListThingPrincipals.go.snap b/service/iot/snapshot/api_op_ListThingPrincipals.go.snap index b93049f1a4e..83e586a735a 100644 --- a/service/iot/snapshot/api_op_ListThingPrincipals.go.snap +++ b/service/iot/snapshot/api_op_ListThingPrincipals.go.snap @@ -14,7 +14,6 @@ ListThingPrincipals Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListThingPrincipalsV2.go.snap b/service/iot/snapshot/api_op_ListThingPrincipalsV2.go.snap index baefd5ee65a..79ce13ceca9 100644 --- a/service/iot/snapshot/api_op_ListThingPrincipalsV2.go.snap +++ b/service/iot/snapshot/api_op_ListThingPrincipalsV2.go.snap @@ -14,7 +14,6 @@ ListThingPrincipalsV2 Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListThingRegistrationTaskReports.go.snap b/service/iot/snapshot/api_op_ListThingRegistrationTaskReports.go.snap index 978b710d1a7..73b538f0051 100644 --- a/service/iot/snapshot/api_op_ListThingRegistrationTaskReports.go.snap +++ b/service/iot/snapshot/api_op_ListThingRegistrationTaskReports.go.snap @@ -14,7 +14,6 @@ ListThingRegistrationTaskReports Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListThingRegistrationTasks.go.snap b/service/iot/snapshot/api_op_ListThingRegistrationTasks.go.snap index 7372e1231f2..b799c5d09f3 100644 --- a/service/iot/snapshot/api_op_ListThingRegistrationTasks.go.snap +++ b/service/iot/snapshot/api_op_ListThingRegistrationTasks.go.snap @@ -13,7 +13,6 @@ ListThingRegistrationTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListThingTypes.go.snap b/service/iot/snapshot/api_op_ListThingTypes.go.snap index e11b6e52a1f..b9f02cf5217 100644 --- a/service/iot/snapshot/api_op_ListThingTypes.go.snap +++ b/service/iot/snapshot/api_op_ListThingTypes.go.snap @@ -13,7 +13,6 @@ ListThingTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListThings.go.snap b/service/iot/snapshot/api_op_ListThings.go.snap index a7b404689e3..941fa0b6bae 100644 --- a/service/iot/snapshot/api_op_ListThings.go.snap +++ b/service/iot/snapshot/api_op_ListThings.go.snap @@ -13,7 +13,6 @@ ListThings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListThingsInBillingGroup.go.snap b/service/iot/snapshot/api_op_ListThingsInBillingGroup.go.snap index cd5eefb3b61..4a1fc13447f 100644 --- a/service/iot/snapshot/api_op_ListThingsInBillingGroup.go.snap +++ b/service/iot/snapshot/api_op_ListThingsInBillingGroup.go.snap @@ -14,7 +14,6 @@ ListThingsInBillingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListThingsInThingGroup.go.snap b/service/iot/snapshot/api_op_ListThingsInThingGroup.go.snap index b921941e341..e31f59dc328 100644 --- a/service/iot/snapshot/api_op_ListThingsInThingGroup.go.snap +++ b/service/iot/snapshot/api_op_ListThingsInThingGroup.go.snap @@ -14,7 +14,6 @@ ListThingsInThingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListTopicRuleDestinations.go.snap b/service/iot/snapshot/api_op_ListTopicRuleDestinations.go.snap index e5ccae0689f..632aed45ad9 100644 --- a/service/iot/snapshot/api_op_ListTopicRuleDestinations.go.snap +++ b/service/iot/snapshot/api_op_ListTopicRuleDestinations.go.snap @@ -13,7 +13,6 @@ ListTopicRuleDestinations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListTopicRules.go.snap b/service/iot/snapshot/api_op_ListTopicRules.go.snap index 208e3b6b782..e32f926c529 100644 --- a/service/iot/snapshot/api_op_ListTopicRules.go.snap +++ b/service/iot/snapshot/api_op_ListTopicRules.go.snap @@ -13,7 +13,6 @@ ListTopicRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListV2LoggingLevels.go.snap b/service/iot/snapshot/api_op_ListV2LoggingLevels.go.snap index 4a80a6268eb..2005b5a4c6e 100644 --- a/service/iot/snapshot/api_op_ListV2LoggingLevels.go.snap +++ b/service/iot/snapshot/api_op_ListV2LoggingLevels.go.snap @@ -13,7 +13,6 @@ ListV2LoggingLevels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ListViolationEvents.go.snap b/service/iot/snapshot/api_op_ListViolationEvents.go.snap index b7d811530fe..9aa463b4c00 100644 --- a/service/iot/snapshot/api_op_ListViolationEvents.go.snap +++ b/service/iot/snapshot/api_op_ListViolationEvents.go.snap @@ -14,7 +14,6 @@ ListViolationEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_PutVerificationStateOnViolation.go.snap b/service/iot/snapshot/api_op_PutVerificationStateOnViolation.go.snap index b0d2ac98fdc..6aa58ec1541 100644 --- a/service/iot/snapshot/api_op_PutVerificationStateOnViolation.go.snap +++ b/service/iot/snapshot/api_op_PutVerificationStateOnViolation.go.snap @@ -14,7 +14,6 @@ PutVerificationStateOnViolation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_RegisterCACertificate.go.snap b/service/iot/snapshot/api_op_RegisterCACertificate.go.snap index df241e49f57..0fc97faf5a4 100644 --- a/service/iot/snapshot/api_op_RegisterCACertificate.go.snap +++ b/service/iot/snapshot/api_op_RegisterCACertificate.go.snap @@ -14,7 +14,6 @@ RegisterCACertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_RegisterCertificate.go.snap b/service/iot/snapshot/api_op_RegisterCertificate.go.snap index 265b0a876a9..b9dd00d6ae6 100644 --- a/service/iot/snapshot/api_op_RegisterCertificate.go.snap +++ b/service/iot/snapshot/api_op_RegisterCertificate.go.snap @@ -14,7 +14,6 @@ RegisterCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_RegisterCertificateWithoutCA.go.snap b/service/iot/snapshot/api_op_RegisterCertificateWithoutCA.go.snap index 7ad6d6aaec5..c77f5f879ff 100644 --- a/service/iot/snapshot/api_op_RegisterCertificateWithoutCA.go.snap +++ b/service/iot/snapshot/api_op_RegisterCertificateWithoutCA.go.snap @@ -14,7 +14,6 @@ RegisterCertificateWithoutCA Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_RegisterThing.go.snap b/service/iot/snapshot/api_op_RegisterThing.go.snap index 38ce35c6db9..912831f2e6c 100644 --- a/service/iot/snapshot/api_op_RegisterThing.go.snap +++ b/service/iot/snapshot/api_op_RegisterThing.go.snap @@ -14,7 +14,6 @@ RegisterThing Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_RejectCertificateTransfer.go.snap b/service/iot/snapshot/api_op_RejectCertificateTransfer.go.snap index e24f6e09a47..8d06013c8f7 100644 --- a/service/iot/snapshot/api_op_RejectCertificateTransfer.go.snap +++ b/service/iot/snapshot/api_op_RejectCertificateTransfer.go.snap @@ -14,7 +14,6 @@ RejectCertificateTransfer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_RemoveThingFromBillingGroup.go.snap b/service/iot/snapshot/api_op_RemoveThingFromBillingGroup.go.snap index 49a447637da..552e48ca4f6 100644 --- a/service/iot/snapshot/api_op_RemoveThingFromBillingGroup.go.snap +++ b/service/iot/snapshot/api_op_RemoveThingFromBillingGroup.go.snap @@ -13,7 +13,6 @@ RemoveThingFromBillingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_RemoveThingFromThingGroup.go.snap b/service/iot/snapshot/api_op_RemoveThingFromThingGroup.go.snap index 0c8e2810f58..64c4cd1e3ae 100644 --- a/service/iot/snapshot/api_op_RemoveThingFromThingGroup.go.snap +++ b/service/iot/snapshot/api_op_RemoveThingFromThingGroup.go.snap @@ -13,7 +13,6 @@ RemoveThingFromThingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ReplaceTopicRule.go.snap b/service/iot/snapshot/api_op_ReplaceTopicRule.go.snap index 2d41910c927..cdd0f5fcb52 100644 --- a/service/iot/snapshot/api_op_ReplaceTopicRule.go.snap +++ b/service/iot/snapshot/api_op_ReplaceTopicRule.go.snap @@ -14,7 +14,6 @@ ReplaceTopicRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_SearchIndex.go.snap b/service/iot/snapshot/api_op_SearchIndex.go.snap index 9f72711e1bd..d54c152a434 100644 --- a/service/iot/snapshot/api_op_SearchIndex.go.snap +++ b/service/iot/snapshot/api_op_SearchIndex.go.snap @@ -14,7 +14,6 @@ SearchIndex Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_SetDefaultAuthorizer.go.snap b/service/iot/snapshot/api_op_SetDefaultAuthorizer.go.snap index 0e7b612f36f..269c7353603 100644 --- a/service/iot/snapshot/api_op_SetDefaultAuthorizer.go.snap +++ b/service/iot/snapshot/api_op_SetDefaultAuthorizer.go.snap @@ -14,7 +14,6 @@ SetDefaultAuthorizer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_SetDefaultPolicyVersion.go.snap b/service/iot/snapshot/api_op_SetDefaultPolicyVersion.go.snap index f9ea7176f5f..db6031e792f 100644 --- a/service/iot/snapshot/api_op_SetDefaultPolicyVersion.go.snap +++ b/service/iot/snapshot/api_op_SetDefaultPolicyVersion.go.snap @@ -14,7 +14,6 @@ SetDefaultPolicyVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_SetLoggingOptions.go.snap b/service/iot/snapshot/api_op_SetLoggingOptions.go.snap index 6aead6e7e5f..b18b1b3dead 100644 --- a/service/iot/snapshot/api_op_SetLoggingOptions.go.snap +++ b/service/iot/snapshot/api_op_SetLoggingOptions.go.snap @@ -14,7 +14,6 @@ SetLoggingOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_SetV2LoggingLevel.go.snap b/service/iot/snapshot/api_op_SetV2LoggingLevel.go.snap index 9d4cbc18b39..c8ea90d1493 100644 --- a/service/iot/snapshot/api_op_SetV2LoggingLevel.go.snap +++ b/service/iot/snapshot/api_op_SetV2LoggingLevel.go.snap @@ -14,7 +14,6 @@ SetV2LoggingLevel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_SetV2LoggingOptions.go.snap b/service/iot/snapshot/api_op_SetV2LoggingOptions.go.snap index cbe5f0a3266..9bdf1030274 100644 --- a/service/iot/snapshot/api_op_SetV2LoggingOptions.go.snap +++ b/service/iot/snapshot/api_op_SetV2LoggingOptions.go.snap @@ -13,7 +13,6 @@ SetV2LoggingOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_StartAuditMitigationActionsTask.go.snap b/service/iot/snapshot/api_op_StartAuditMitigationActionsTask.go.snap index bc48f05e46f..532a3cffbdb 100644 --- a/service/iot/snapshot/api_op_StartAuditMitigationActionsTask.go.snap +++ b/service/iot/snapshot/api_op_StartAuditMitigationActionsTask.go.snap @@ -15,7 +15,6 @@ StartAuditMitigationActionsTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_StartDetectMitigationActionsTask.go.snap b/service/iot/snapshot/api_op_StartDetectMitigationActionsTask.go.snap index 98de2016931..86c689770c5 100644 --- a/service/iot/snapshot/api_op_StartDetectMitigationActionsTask.go.snap +++ b/service/iot/snapshot/api_op_StartDetectMitigationActionsTask.go.snap @@ -15,7 +15,6 @@ StartDetectMitigationActionsTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_StartOnDemandAuditTask.go.snap b/service/iot/snapshot/api_op_StartOnDemandAuditTask.go.snap index 94b38c9664a..35e600c251d 100644 --- a/service/iot/snapshot/api_op_StartOnDemandAuditTask.go.snap +++ b/service/iot/snapshot/api_op_StartOnDemandAuditTask.go.snap @@ -14,7 +14,6 @@ StartOnDemandAuditTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_StartThingRegistrationTask.go.snap b/service/iot/snapshot/api_op_StartThingRegistrationTask.go.snap index eab55d8516c..d938779b465 100644 --- a/service/iot/snapshot/api_op_StartThingRegistrationTask.go.snap +++ b/service/iot/snapshot/api_op_StartThingRegistrationTask.go.snap @@ -14,7 +14,6 @@ StartThingRegistrationTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_StopThingRegistrationTask.go.snap b/service/iot/snapshot/api_op_StopThingRegistrationTask.go.snap index e7c92e03313..a6f889855e9 100644 --- a/service/iot/snapshot/api_op_StopThingRegistrationTask.go.snap +++ b/service/iot/snapshot/api_op_StopThingRegistrationTask.go.snap @@ -14,7 +14,6 @@ StopThingRegistrationTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_TagResource.go.snap b/service/iot/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/iot/snapshot/api_op_TagResource.go.snap +++ b/service/iot/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_TestAuthorization.go.snap b/service/iot/snapshot/api_op_TestAuthorization.go.snap index 1b8304210b1..b85ef0fb600 100644 --- a/service/iot/snapshot/api_op_TestAuthorization.go.snap +++ b/service/iot/snapshot/api_op_TestAuthorization.go.snap @@ -14,7 +14,6 @@ TestAuthorization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_TestInvokeAuthorizer.go.snap b/service/iot/snapshot/api_op_TestInvokeAuthorizer.go.snap index 53620e4510b..63f707f5a52 100644 --- a/service/iot/snapshot/api_op_TestInvokeAuthorizer.go.snap +++ b/service/iot/snapshot/api_op_TestInvokeAuthorizer.go.snap @@ -14,7 +14,6 @@ TestInvokeAuthorizer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_TransferCertificate.go.snap b/service/iot/snapshot/api_op_TransferCertificate.go.snap index a96b72ec2f8..68a0583b14d 100644 --- a/service/iot/snapshot/api_op_TransferCertificate.go.snap +++ b/service/iot/snapshot/api_op_TransferCertificate.go.snap @@ -14,7 +14,6 @@ TransferCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_UntagResource.go.snap b/service/iot/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/iot/snapshot/api_op_UntagResource.go.snap +++ b/service/iot/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_UpdateAccountAuditConfiguration.go.snap b/service/iot/snapshot/api_op_UpdateAccountAuditConfiguration.go.snap index 63e0b26707e..69904fed5cd 100644 --- a/service/iot/snapshot/api_op_UpdateAccountAuditConfiguration.go.snap +++ b/service/iot/snapshot/api_op_UpdateAccountAuditConfiguration.go.snap @@ -13,7 +13,6 @@ UpdateAccountAuditConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_UpdateAuditSuppression.go.snap b/service/iot/snapshot/api_op_UpdateAuditSuppression.go.snap index 14cbd764f27..719d024fc37 100644 --- a/service/iot/snapshot/api_op_UpdateAuditSuppression.go.snap +++ b/service/iot/snapshot/api_op_UpdateAuditSuppression.go.snap @@ -14,7 +14,6 @@ UpdateAuditSuppression Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_UpdateAuthorizer.go.snap b/service/iot/snapshot/api_op_UpdateAuthorizer.go.snap index b84df902753..c9d335ed62c 100644 --- a/service/iot/snapshot/api_op_UpdateAuthorizer.go.snap +++ b/service/iot/snapshot/api_op_UpdateAuthorizer.go.snap @@ -14,7 +14,6 @@ UpdateAuthorizer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_UpdateBillingGroup.go.snap b/service/iot/snapshot/api_op_UpdateBillingGroup.go.snap index 1992ba3b2fe..9ecb1f21225 100644 --- a/service/iot/snapshot/api_op_UpdateBillingGroup.go.snap +++ b/service/iot/snapshot/api_op_UpdateBillingGroup.go.snap @@ -14,7 +14,6 @@ UpdateBillingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_UpdateCACertificate.go.snap b/service/iot/snapshot/api_op_UpdateCACertificate.go.snap index 6a0b343bd0d..1b80a307e53 100644 --- a/service/iot/snapshot/api_op_UpdateCACertificate.go.snap +++ b/service/iot/snapshot/api_op_UpdateCACertificate.go.snap @@ -14,7 +14,6 @@ UpdateCACertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_UpdateCertificate.go.snap b/service/iot/snapshot/api_op_UpdateCertificate.go.snap index 1f71724daba..f99e32e97d4 100644 --- a/service/iot/snapshot/api_op_UpdateCertificate.go.snap +++ b/service/iot/snapshot/api_op_UpdateCertificate.go.snap @@ -14,7 +14,6 @@ UpdateCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_UpdateCertificateProvider.go.snap b/service/iot/snapshot/api_op_UpdateCertificateProvider.go.snap index 326e481262e..d40965fdd0c 100644 --- a/service/iot/snapshot/api_op_UpdateCertificateProvider.go.snap +++ b/service/iot/snapshot/api_op_UpdateCertificateProvider.go.snap @@ -14,7 +14,6 @@ UpdateCertificateProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_UpdateCommand.go.snap b/service/iot/snapshot/api_op_UpdateCommand.go.snap index 633f8377eb8..74331163a7b 100644 --- a/service/iot/snapshot/api_op_UpdateCommand.go.snap +++ b/service/iot/snapshot/api_op_UpdateCommand.go.snap @@ -14,7 +14,6 @@ UpdateCommand Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_UpdateCustomMetric.go.snap b/service/iot/snapshot/api_op_UpdateCustomMetric.go.snap index 4904f7f246c..bdb4f96e93a 100644 --- a/service/iot/snapshot/api_op_UpdateCustomMetric.go.snap +++ b/service/iot/snapshot/api_op_UpdateCustomMetric.go.snap @@ -14,7 +14,6 @@ UpdateCustomMetric Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_UpdateDimension.go.snap b/service/iot/snapshot/api_op_UpdateDimension.go.snap index ab38440d32b..5e6e1877baf 100644 --- a/service/iot/snapshot/api_op_UpdateDimension.go.snap +++ b/service/iot/snapshot/api_op_UpdateDimension.go.snap @@ -14,7 +14,6 @@ UpdateDimension Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_UpdateDomainConfiguration.go.snap b/service/iot/snapshot/api_op_UpdateDomainConfiguration.go.snap index 094299feea1..454a3cdd3e3 100644 --- a/service/iot/snapshot/api_op_UpdateDomainConfiguration.go.snap +++ b/service/iot/snapshot/api_op_UpdateDomainConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateDomainConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_UpdateDynamicThingGroup.go.snap b/service/iot/snapshot/api_op_UpdateDynamicThingGroup.go.snap index feef51ac0a7..a97cfd0c079 100644 --- a/service/iot/snapshot/api_op_UpdateDynamicThingGroup.go.snap +++ b/service/iot/snapshot/api_op_UpdateDynamicThingGroup.go.snap @@ -14,7 +14,6 @@ UpdateDynamicThingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_UpdateEventConfigurations.go.snap b/service/iot/snapshot/api_op_UpdateEventConfigurations.go.snap index db295b6e65a..09c16577ad2 100644 --- a/service/iot/snapshot/api_op_UpdateEventConfigurations.go.snap +++ b/service/iot/snapshot/api_op_UpdateEventConfigurations.go.snap @@ -13,7 +13,6 @@ UpdateEventConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_UpdateFleetMetric.go.snap b/service/iot/snapshot/api_op_UpdateFleetMetric.go.snap index a856d1ecbf5..1ab8cb01c3b 100644 --- a/service/iot/snapshot/api_op_UpdateFleetMetric.go.snap +++ b/service/iot/snapshot/api_op_UpdateFleetMetric.go.snap @@ -14,7 +14,6 @@ UpdateFleetMetric Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_UpdateIndexingConfiguration.go.snap b/service/iot/snapshot/api_op_UpdateIndexingConfiguration.go.snap index 106e9a13edf..bfdc9a3f628 100644 --- a/service/iot/snapshot/api_op_UpdateIndexingConfiguration.go.snap +++ b/service/iot/snapshot/api_op_UpdateIndexingConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateIndexingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_UpdateJob.go.snap b/service/iot/snapshot/api_op_UpdateJob.go.snap index 15f1062c2b4..6e59316cc3e 100644 --- a/service/iot/snapshot/api_op_UpdateJob.go.snap +++ b/service/iot/snapshot/api_op_UpdateJob.go.snap @@ -14,7 +14,6 @@ UpdateJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_UpdateMitigationAction.go.snap b/service/iot/snapshot/api_op_UpdateMitigationAction.go.snap index 3c121e15747..8579e459524 100644 --- a/service/iot/snapshot/api_op_UpdateMitigationAction.go.snap +++ b/service/iot/snapshot/api_op_UpdateMitigationAction.go.snap @@ -14,7 +14,6 @@ UpdateMitigationAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_UpdatePackage.go.snap b/service/iot/snapshot/api_op_UpdatePackage.go.snap index 29caffebd76..b890909cb6c 100644 --- a/service/iot/snapshot/api_op_UpdatePackage.go.snap +++ b/service/iot/snapshot/api_op_UpdatePackage.go.snap @@ -15,7 +15,6 @@ UpdatePackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_UpdatePackageConfiguration.go.snap b/service/iot/snapshot/api_op_UpdatePackageConfiguration.go.snap index e39378e10d9..d1a4438c47c 100644 --- a/service/iot/snapshot/api_op_UpdatePackageConfiguration.go.snap +++ b/service/iot/snapshot/api_op_UpdatePackageConfiguration.go.snap @@ -14,7 +14,6 @@ UpdatePackageConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_UpdatePackageVersion.go.snap b/service/iot/snapshot/api_op_UpdatePackageVersion.go.snap index f0788b8dbcb..01e76a913dc 100644 --- a/service/iot/snapshot/api_op_UpdatePackageVersion.go.snap +++ b/service/iot/snapshot/api_op_UpdatePackageVersion.go.snap @@ -15,7 +15,6 @@ UpdatePackageVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_UpdateProvisioningTemplate.go.snap b/service/iot/snapshot/api_op_UpdateProvisioningTemplate.go.snap index 733ad6606af..7cd511f45e0 100644 --- a/service/iot/snapshot/api_op_UpdateProvisioningTemplate.go.snap +++ b/service/iot/snapshot/api_op_UpdateProvisioningTemplate.go.snap @@ -14,7 +14,6 @@ UpdateProvisioningTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_UpdateRoleAlias.go.snap b/service/iot/snapshot/api_op_UpdateRoleAlias.go.snap index 72497338566..dbf878e28ac 100644 --- a/service/iot/snapshot/api_op_UpdateRoleAlias.go.snap +++ b/service/iot/snapshot/api_op_UpdateRoleAlias.go.snap @@ -14,7 +14,6 @@ UpdateRoleAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_UpdateScheduledAudit.go.snap b/service/iot/snapshot/api_op_UpdateScheduledAudit.go.snap index 2c570787384..a599839d50f 100644 --- a/service/iot/snapshot/api_op_UpdateScheduledAudit.go.snap +++ b/service/iot/snapshot/api_op_UpdateScheduledAudit.go.snap @@ -14,7 +14,6 @@ UpdateScheduledAudit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_UpdateSecurityProfile.go.snap b/service/iot/snapshot/api_op_UpdateSecurityProfile.go.snap index 17654e6b08f..b63273b477c 100644 --- a/service/iot/snapshot/api_op_UpdateSecurityProfile.go.snap +++ b/service/iot/snapshot/api_op_UpdateSecurityProfile.go.snap @@ -14,7 +14,6 @@ UpdateSecurityProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_UpdateStream.go.snap b/service/iot/snapshot/api_op_UpdateStream.go.snap index 385bdfb7124..6e171f1a7ed 100644 --- a/service/iot/snapshot/api_op_UpdateStream.go.snap +++ b/service/iot/snapshot/api_op_UpdateStream.go.snap @@ -14,7 +14,6 @@ UpdateStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_UpdateThing.go.snap b/service/iot/snapshot/api_op_UpdateThing.go.snap index 33aaae92553..83e1dfa07c5 100644 --- a/service/iot/snapshot/api_op_UpdateThing.go.snap +++ b/service/iot/snapshot/api_op_UpdateThing.go.snap @@ -14,7 +14,6 @@ UpdateThing Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_UpdateThingGroup.go.snap b/service/iot/snapshot/api_op_UpdateThingGroup.go.snap index c5413df7cd8..2495b2cff94 100644 --- a/service/iot/snapshot/api_op_UpdateThingGroup.go.snap +++ b/service/iot/snapshot/api_op_UpdateThingGroup.go.snap @@ -14,7 +14,6 @@ UpdateThingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_UpdateThingGroupsForThing.go.snap b/service/iot/snapshot/api_op_UpdateThingGroupsForThing.go.snap index 0ee7601e3d5..0878dd6e3c2 100644 --- a/service/iot/snapshot/api_op_UpdateThingGroupsForThing.go.snap +++ b/service/iot/snapshot/api_op_UpdateThingGroupsForThing.go.snap @@ -13,7 +13,6 @@ UpdateThingGroupsForThing Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_UpdateThingType.go.snap b/service/iot/snapshot/api_op_UpdateThingType.go.snap index a624fe7f5ce..d95414e6a3f 100644 --- a/service/iot/snapshot/api_op_UpdateThingType.go.snap +++ b/service/iot/snapshot/api_op_UpdateThingType.go.snap @@ -14,7 +14,6 @@ UpdateThingType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_UpdateTopicRuleDestination.go.snap b/service/iot/snapshot/api_op_UpdateTopicRuleDestination.go.snap index 93aa334215f..cad3f4dd10e 100644 --- a/service/iot/snapshot/api_op_UpdateTopicRuleDestination.go.snap +++ b/service/iot/snapshot/api_op_UpdateTopicRuleDestination.go.snap @@ -14,7 +14,6 @@ UpdateTopicRuleDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iot/snapshot/api_op_ValidateSecurityProfileBehaviors.go.snap b/service/iot/snapshot/api_op_ValidateSecurityProfileBehaviors.go.snap index 733fea305e1..dddd502d4ca 100644 --- a/service/iot/snapshot/api_op_ValidateSecurityProfileBehaviors.go.snap +++ b/service/iot/snapshot/api_op_ValidateSecurityProfileBehaviors.go.snap @@ -14,7 +14,6 @@ ValidateSecurityProfileBehaviors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/api_client.go b/service/iotanalytics/api_client.go index 9e89ad6ed22..0ffe9dd0462 100644 --- a/service/iotanalytics/api_client.go +++ b/service/iotanalytics/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/iotanalytics/api_op_BatchPutMessage.go b/service/iotanalytics/api_op_BatchPutMessage.go index 1d15648939d..a904ee37057 100644 --- a/service/iotanalytics/api_op_BatchPutMessage.go +++ b/service/iotanalytics/api_op_BatchPutMessage.go @@ -138,9 +138,6 @@ func (c *Client) addOperationBatchPutMessageMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchPutMessageValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_CancelPipelineReprocessing.go b/service/iotanalytics/api_op_CancelPipelineReprocessing.go index 2f6f44c63a5..74be102f8d5 100644 --- a/service/iotanalytics/api_op_CancelPipelineReprocessing.go +++ b/service/iotanalytics/api_op_CancelPipelineReprocessing.go @@ -112,9 +112,6 @@ func (c *Client) addOperationCancelPipelineReprocessingMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelPipelineReprocessingValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_CreateChannel.go b/service/iotanalytics/api_op_CreateChannel.go index d006bc6e04e..d315087b48f 100644 --- a/service/iotanalytics/api_op_CreateChannel.go +++ b/service/iotanalytics/api_op_CreateChannel.go @@ -131,9 +131,6 @@ func (c *Client) addOperationCreateChannelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_CreateDataset.go b/service/iotanalytics/api_op_CreateDataset.go index b4f626248c8..8c4b32b43b1 100644 --- a/service/iotanalytics/api_op_CreateDataset.go +++ b/service/iotanalytics/api_op_CreateDataset.go @@ -162,9 +162,6 @@ func (c *Client) addOperationCreateDatasetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_CreateDatasetContent.go b/service/iotanalytics/api_op_CreateDatasetContent.go index 73977b619fa..0d405b6917a 100644 --- a/service/iotanalytics/api_op_CreateDatasetContent.go +++ b/service/iotanalytics/api_op_CreateDatasetContent.go @@ -118,9 +118,6 @@ func (c *Client) addOperationCreateDatasetContentMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDatasetContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_CreateDatastore.go b/service/iotanalytics/api_op_CreateDatastore.go index c2c31ab9637..9a972f73169 100644 --- a/service/iotanalytics/api_op_CreateDatastore.go +++ b/service/iotanalytics/api_op_CreateDatastore.go @@ -144,9 +144,6 @@ func (c *Client) addOperationCreateDatastoreMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDatastoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_CreatePipeline.go b/service/iotanalytics/api_op_CreatePipeline.go index a5177fa5948..6bcb23e5a22 100644 --- a/service/iotanalytics/api_op_CreatePipeline.go +++ b/service/iotanalytics/api_op_CreatePipeline.go @@ -136,9 +136,6 @@ func (c *Client) addOperationCreatePipelineMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_DeleteChannel.go b/service/iotanalytics/api_op_DeleteChannel.go index 2c6ac599f26..ce0ecd52874 100644 --- a/service/iotanalytics/api_op_DeleteChannel.go +++ b/service/iotanalytics/api_op_DeleteChannel.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteChannelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_DeleteDataset.go b/service/iotanalytics/api_op_DeleteDataset.go index 8baeb041dbe..a1c3b4ab72f 100644 --- a/service/iotanalytics/api_op_DeleteDataset.go +++ b/service/iotanalytics/api_op_DeleteDataset.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteDatasetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_DeleteDatasetContent.go b/service/iotanalytics/api_op_DeleteDatasetContent.go index 59a6e10edd8..65cf463afce 100644 --- a/service/iotanalytics/api_op_DeleteDatasetContent.go +++ b/service/iotanalytics/api_op_DeleteDatasetContent.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteDatasetContentMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDatasetContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_DeleteDatastore.go b/service/iotanalytics/api_op_DeleteDatastore.go index 2c6deba7e54..cbce4031cfc 100644 --- a/service/iotanalytics/api_op_DeleteDatastore.go +++ b/service/iotanalytics/api_op_DeleteDatastore.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteDatastoreMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDatastoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_DeletePipeline.go b/service/iotanalytics/api_op_DeletePipeline.go index 8538b567962..99073a243b7 100644 --- a/service/iotanalytics/api_op_DeletePipeline.go +++ b/service/iotanalytics/api_op_DeletePipeline.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeletePipelineMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_DescribeChannel.go b/service/iotanalytics/api_op_DescribeChannel.go index 3ee6009e376..b664f607c27 100644 --- a/service/iotanalytics/api_op_DescribeChannel.go +++ b/service/iotanalytics/api_op_DescribeChannel.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeChannelMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_DescribeDataset.go b/service/iotanalytics/api_op_DescribeDataset.go index 1fcf637d02a..7324457fda6 100644 --- a/service/iotanalytics/api_op_DescribeDataset.go +++ b/service/iotanalytics/api_op_DescribeDataset.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDescribeDatasetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_DescribeDatastore.go b/service/iotanalytics/api_op_DescribeDatastore.go index 2db2fc05aa4..f04f5c47c3b 100644 --- a/service/iotanalytics/api_op_DescribeDatastore.go +++ b/service/iotanalytics/api_op_DescribeDatastore.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeDatastoreMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDatastoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_DescribeLoggingOptions.go b/service/iotanalytics/api_op_DescribeLoggingOptions.go index f648bbda0ca..8a0c7c3bb30 100644 --- a/service/iotanalytics/api_op_DescribeLoggingOptions.go +++ b/service/iotanalytics/api_op_DescribeLoggingOptions.go @@ -106,9 +106,6 @@ func (c *Client) addOperationDescribeLoggingOptionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLoggingOptions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotanalytics/api_op_DescribePipeline.go b/service/iotanalytics/api_op_DescribePipeline.go index 626a0af699b..2cc059878c6 100644 --- a/service/iotanalytics/api_op_DescribePipeline.go +++ b/service/iotanalytics/api_op_DescribePipeline.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDescribePipelineMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_GetDatasetContent.go b/service/iotanalytics/api_op_GetDatasetContent.go index 3dcd2b6901b..2dde4e4191a 100644 --- a/service/iotanalytics/api_op_GetDatasetContent.go +++ b/service/iotanalytics/api_op_GetDatasetContent.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetDatasetContentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDatasetContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_ListChannels.go b/service/iotanalytics/api_op_ListChannels.go index ab3ba620de5..2334a4ab3ef 100644 --- a/service/iotanalytics/api_op_ListChannels.go +++ b/service/iotanalytics/api_op_ListChannels.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListChannelsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChannels(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotanalytics/api_op_ListDatasetContents.go b/service/iotanalytics/api_op_ListDatasetContents.go index 92731d5779f..46454cb120f 100644 --- a/service/iotanalytics/api_op_ListDatasetContents.go +++ b/service/iotanalytics/api_op_ListDatasetContents.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListDatasetContentsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDatasetContentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_ListDatasets.go b/service/iotanalytics/api_op_ListDatasets.go index 7926c703cac..47a0da7bf1b 100644 --- a/service/iotanalytics/api_op_ListDatasets.go +++ b/service/iotanalytics/api_op_ListDatasets.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListDatasetsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatasets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotanalytics/api_op_ListDatastores.go b/service/iotanalytics/api_op_ListDatastores.go index 0bab00a3d91..a9b44b62303 100644 --- a/service/iotanalytics/api_op_ListDatastores.go +++ b/service/iotanalytics/api_op_ListDatastores.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListDatastoresMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatastores(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotanalytics/api_op_ListPipelines.go b/service/iotanalytics/api_op_ListPipelines.go index 53c69e06e97..cbdbf0255a9 100644 --- a/service/iotanalytics/api_op_ListPipelines.go +++ b/service/iotanalytics/api_op_ListPipelines.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListPipelinesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPipelines(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotanalytics/api_op_ListTagsForResource.go b/service/iotanalytics/api_op_ListTagsForResource.go index f7c5c8a7efa..bb8b5be083b 100644 --- a/service/iotanalytics/api_op_ListTagsForResource.go +++ b/service/iotanalytics/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_PutLoggingOptions.go b/service/iotanalytics/api_op_PutLoggingOptions.go index 1bd0361c8a6..25018241f4b 100644 --- a/service/iotanalytics/api_op_PutLoggingOptions.go +++ b/service/iotanalytics/api_op_PutLoggingOptions.go @@ -113,9 +113,6 @@ func (c *Client) addOperationPutLoggingOptionsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutLoggingOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_RunPipelineActivity.go b/service/iotanalytics/api_op_RunPipelineActivity.go index 3f804367adf..4672de13b6a 100644 --- a/service/iotanalytics/api_op_RunPipelineActivity.go +++ b/service/iotanalytics/api_op_RunPipelineActivity.go @@ -126,9 +126,6 @@ func (c *Client) addOperationRunPipelineActivityMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRunPipelineActivityValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_SampleChannelData.go b/service/iotanalytics/api_op_SampleChannelData.go index 9d20ba023bb..b2630b8b8d6 100644 --- a/service/iotanalytics/api_op_SampleChannelData.go +++ b/service/iotanalytics/api_op_SampleChannelData.go @@ -124,9 +124,6 @@ func (c *Client) addOperationSampleChannelDataMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSampleChannelDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_StartPipelineReprocessing.go b/service/iotanalytics/api_op_StartPipelineReprocessing.go index c4a121b8aec..f5ab8d14eaf 100644 --- a/service/iotanalytics/api_op_StartPipelineReprocessing.go +++ b/service/iotanalytics/api_op_StartPipelineReprocessing.go @@ -131,9 +131,6 @@ func (c *Client) addOperationStartPipelineReprocessingMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartPipelineReprocessingValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_TagResource.go b/service/iotanalytics/api_op_TagResource.go index f14cb7e19ee..78919f6c0fe 100644 --- a/service/iotanalytics/api_op_TagResource.go +++ b/service/iotanalytics/api_op_TagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_UntagResource.go b/service/iotanalytics/api_op_UntagResource.go index 84b767bbf00..eeb8d2bbf83 100644 --- a/service/iotanalytics/api_op_UntagResource.go +++ b/service/iotanalytics/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_UpdateChannel.go b/service/iotanalytics/api_op_UpdateChannel.go index c074ee9c97c..61ef3e41350 100644 --- a/service/iotanalytics/api_op_UpdateChannel.go +++ b/service/iotanalytics/api_op_UpdateChannel.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUpdateChannelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_UpdateDataset.go b/service/iotanalytics/api_op_UpdateDataset.go index 4f9f328144c..f19cf87338c 100644 --- a/service/iotanalytics/api_op_UpdateDataset.go +++ b/service/iotanalytics/api_op_UpdateDataset.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateDatasetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_UpdateDatastore.go b/service/iotanalytics/api_op_UpdateDatastore.go index b1c97df8168..bbfd33afde4 100644 --- a/service/iotanalytics/api_op_UpdateDatastore.go +++ b/service/iotanalytics/api_op_UpdateDatastore.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUpdateDatastoreMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDatastoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/api_op_UpdatePipeline.go b/service/iotanalytics/api_op_UpdatePipeline.go index d68fed22255..5b1b5f79bfb 100644 --- a/service/iotanalytics/api_op_UpdatePipeline.go +++ b/service/iotanalytics/api_op_UpdatePipeline.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdatePipelineMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotanalytics/snapshot/api_op_BatchPutMessage.go.snap b/service/iotanalytics/snapshot/api_op_BatchPutMessage.go.snap index 5a45da177d6..b89f3e36922 100644 --- a/service/iotanalytics/snapshot/api_op_BatchPutMessage.go.snap +++ b/service/iotanalytics/snapshot/api_op_BatchPutMessage.go.snap @@ -14,7 +14,6 @@ BatchPutMessage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/snapshot/api_op_CancelPipelineReprocessing.go.snap b/service/iotanalytics/snapshot/api_op_CancelPipelineReprocessing.go.snap index 61c9b1eafb1..609df495aa1 100644 --- a/service/iotanalytics/snapshot/api_op_CancelPipelineReprocessing.go.snap +++ b/service/iotanalytics/snapshot/api_op_CancelPipelineReprocessing.go.snap @@ -14,7 +14,6 @@ CancelPipelineReprocessing Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/snapshot/api_op_CreateChannel.go.snap b/service/iotanalytics/snapshot/api_op_CreateChannel.go.snap index c4492831992..ee3ad890378 100644 --- a/service/iotanalytics/snapshot/api_op_CreateChannel.go.snap +++ b/service/iotanalytics/snapshot/api_op_CreateChannel.go.snap @@ -14,7 +14,6 @@ CreateChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/snapshot/api_op_CreateDataset.go.snap b/service/iotanalytics/snapshot/api_op_CreateDataset.go.snap index c90f0220921..cb35148be56 100644 --- a/service/iotanalytics/snapshot/api_op_CreateDataset.go.snap +++ b/service/iotanalytics/snapshot/api_op_CreateDataset.go.snap @@ -14,7 +14,6 @@ CreateDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/snapshot/api_op_CreateDatasetContent.go.snap b/service/iotanalytics/snapshot/api_op_CreateDatasetContent.go.snap index 9f696aae95a..83c761b198b 100644 --- a/service/iotanalytics/snapshot/api_op_CreateDatasetContent.go.snap +++ b/service/iotanalytics/snapshot/api_op_CreateDatasetContent.go.snap @@ -14,7 +14,6 @@ CreateDatasetContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/snapshot/api_op_CreateDatastore.go.snap b/service/iotanalytics/snapshot/api_op_CreateDatastore.go.snap index 18506add0ca..c4ccbfb3423 100644 --- a/service/iotanalytics/snapshot/api_op_CreateDatastore.go.snap +++ b/service/iotanalytics/snapshot/api_op_CreateDatastore.go.snap @@ -14,7 +14,6 @@ CreateDatastore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/snapshot/api_op_CreatePipeline.go.snap b/service/iotanalytics/snapshot/api_op_CreatePipeline.go.snap index 4c2b94d4897..b5051ce1ac7 100644 --- a/service/iotanalytics/snapshot/api_op_CreatePipeline.go.snap +++ b/service/iotanalytics/snapshot/api_op_CreatePipeline.go.snap @@ -14,7 +14,6 @@ CreatePipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/snapshot/api_op_DeleteChannel.go.snap b/service/iotanalytics/snapshot/api_op_DeleteChannel.go.snap index c5d8eebaca6..ff973c1a071 100644 --- a/service/iotanalytics/snapshot/api_op_DeleteChannel.go.snap +++ b/service/iotanalytics/snapshot/api_op_DeleteChannel.go.snap @@ -14,7 +14,6 @@ DeleteChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/snapshot/api_op_DeleteDataset.go.snap b/service/iotanalytics/snapshot/api_op_DeleteDataset.go.snap index fd65991f000..352313df04c 100644 --- a/service/iotanalytics/snapshot/api_op_DeleteDataset.go.snap +++ b/service/iotanalytics/snapshot/api_op_DeleteDataset.go.snap @@ -14,7 +14,6 @@ DeleteDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/snapshot/api_op_DeleteDatasetContent.go.snap b/service/iotanalytics/snapshot/api_op_DeleteDatasetContent.go.snap index 23f80a22f49..4b45bb3b4a5 100644 --- a/service/iotanalytics/snapshot/api_op_DeleteDatasetContent.go.snap +++ b/service/iotanalytics/snapshot/api_op_DeleteDatasetContent.go.snap @@ -14,7 +14,6 @@ DeleteDatasetContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/snapshot/api_op_DeleteDatastore.go.snap b/service/iotanalytics/snapshot/api_op_DeleteDatastore.go.snap index c01996e1290..62de3eca375 100644 --- a/service/iotanalytics/snapshot/api_op_DeleteDatastore.go.snap +++ b/service/iotanalytics/snapshot/api_op_DeleteDatastore.go.snap @@ -14,7 +14,6 @@ DeleteDatastore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/snapshot/api_op_DeletePipeline.go.snap b/service/iotanalytics/snapshot/api_op_DeletePipeline.go.snap index a7bf3d79424..50c322a5054 100644 --- a/service/iotanalytics/snapshot/api_op_DeletePipeline.go.snap +++ b/service/iotanalytics/snapshot/api_op_DeletePipeline.go.snap @@ -14,7 +14,6 @@ DeletePipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/snapshot/api_op_DescribeChannel.go.snap b/service/iotanalytics/snapshot/api_op_DescribeChannel.go.snap index 2365be8f025..70f1006d89e 100644 --- a/service/iotanalytics/snapshot/api_op_DescribeChannel.go.snap +++ b/service/iotanalytics/snapshot/api_op_DescribeChannel.go.snap @@ -14,7 +14,6 @@ DescribeChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/snapshot/api_op_DescribeDataset.go.snap b/service/iotanalytics/snapshot/api_op_DescribeDataset.go.snap index d62bad12867..091c433d575 100644 --- a/service/iotanalytics/snapshot/api_op_DescribeDataset.go.snap +++ b/service/iotanalytics/snapshot/api_op_DescribeDataset.go.snap @@ -14,7 +14,6 @@ DescribeDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/snapshot/api_op_DescribeDatastore.go.snap b/service/iotanalytics/snapshot/api_op_DescribeDatastore.go.snap index 5d6be807602..2bd2b04c831 100644 --- a/service/iotanalytics/snapshot/api_op_DescribeDatastore.go.snap +++ b/service/iotanalytics/snapshot/api_op_DescribeDatastore.go.snap @@ -14,7 +14,6 @@ DescribeDatastore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/snapshot/api_op_DescribeLoggingOptions.go.snap b/service/iotanalytics/snapshot/api_op_DescribeLoggingOptions.go.snap index 92b2f687e47..90923093338 100644 --- a/service/iotanalytics/snapshot/api_op_DescribeLoggingOptions.go.snap +++ b/service/iotanalytics/snapshot/api_op_DescribeLoggingOptions.go.snap @@ -13,7 +13,6 @@ DescribeLoggingOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/snapshot/api_op_DescribePipeline.go.snap b/service/iotanalytics/snapshot/api_op_DescribePipeline.go.snap index ea177844414..4f744389007 100644 --- a/service/iotanalytics/snapshot/api_op_DescribePipeline.go.snap +++ b/service/iotanalytics/snapshot/api_op_DescribePipeline.go.snap @@ -14,7 +14,6 @@ DescribePipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/snapshot/api_op_GetDatasetContent.go.snap b/service/iotanalytics/snapshot/api_op_GetDatasetContent.go.snap index 3bff53123d2..dae23a1829a 100644 --- a/service/iotanalytics/snapshot/api_op_GetDatasetContent.go.snap +++ b/service/iotanalytics/snapshot/api_op_GetDatasetContent.go.snap @@ -14,7 +14,6 @@ GetDatasetContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/snapshot/api_op_ListChannels.go.snap b/service/iotanalytics/snapshot/api_op_ListChannels.go.snap index ba520959789..a6c9b89d3b2 100644 --- a/service/iotanalytics/snapshot/api_op_ListChannels.go.snap +++ b/service/iotanalytics/snapshot/api_op_ListChannels.go.snap @@ -13,7 +13,6 @@ ListChannels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/snapshot/api_op_ListDatasetContents.go.snap b/service/iotanalytics/snapshot/api_op_ListDatasetContents.go.snap index 4696b7b93fb..02b1334a37b 100644 --- a/service/iotanalytics/snapshot/api_op_ListDatasetContents.go.snap +++ b/service/iotanalytics/snapshot/api_op_ListDatasetContents.go.snap @@ -14,7 +14,6 @@ ListDatasetContents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/snapshot/api_op_ListDatasets.go.snap b/service/iotanalytics/snapshot/api_op_ListDatasets.go.snap index d12c69e04c8..2417c388432 100644 --- a/service/iotanalytics/snapshot/api_op_ListDatasets.go.snap +++ b/service/iotanalytics/snapshot/api_op_ListDatasets.go.snap @@ -13,7 +13,6 @@ ListDatasets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/snapshot/api_op_ListDatastores.go.snap b/service/iotanalytics/snapshot/api_op_ListDatastores.go.snap index c49edc724e7..d9aba91ca4a 100644 --- a/service/iotanalytics/snapshot/api_op_ListDatastores.go.snap +++ b/service/iotanalytics/snapshot/api_op_ListDatastores.go.snap @@ -13,7 +13,6 @@ ListDatastores Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/snapshot/api_op_ListPipelines.go.snap b/service/iotanalytics/snapshot/api_op_ListPipelines.go.snap index 38a5a0d14ce..96b189f77c0 100644 --- a/service/iotanalytics/snapshot/api_op_ListPipelines.go.snap +++ b/service/iotanalytics/snapshot/api_op_ListPipelines.go.snap @@ -13,7 +13,6 @@ ListPipelines Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/snapshot/api_op_ListTagsForResource.go.snap b/service/iotanalytics/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/iotanalytics/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/iotanalytics/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/snapshot/api_op_PutLoggingOptions.go.snap b/service/iotanalytics/snapshot/api_op_PutLoggingOptions.go.snap index f66b5cd5029..86fb23e71ff 100644 --- a/service/iotanalytics/snapshot/api_op_PutLoggingOptions.go.snap +++ b/service/iotanalytics/snapshot/api_op_PutLoggingOptions.go.snap @@ -14,7 +14,6 @@ PutLoggingOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/snapshot/api_op_RunPipelineActivity.go.snap b/service/iotanalytics/snapshot/api_op_RunPipelineActivity.go.snap index bd3addb6e5b..6d16edb0e04 100644 --- a/service/iotanalytics/snapshot/api_op_RunPipelineActivity.go.snap +++ b/service/iotanalytics/snapshot/api_op_RunPipelineActivity.go.snap @@ -14,7 +14,6 @@ RunPipelineActivity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/snapshot/api_op_SampleChannelData.go.snap b/service/iotanalytics/snapshot/api_op_SampleChannelData.go.snap index 5497ddbf858..440a9c27ec7 100644 --- a/service/iotanalytics/snapshot/api_op_SampleChannelData.go.snap +++ b/service/iotanalytics/snapshot/api_op_SampleChannelData.go.snap @@ -14,7 +14,6 @@ SampleChannelData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/snapshot/api_op_StartPipelineReprocessing.go.snap b/service/iotanalytics/snapshot/api_op_StartPipelineReprocessing.go.snap index b5c34417e2e..58cde8861cf 100644 --- a/service/iotanalytics/snapshot/api_op_StartPipelineReprocessing.go.snap +++ b/service/iotanalytics/snapshot/api_op_StartPipelineReprocessing.go.snap @@ -14,7 +14,6 @@ StartPipelineReprocessing Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/snapshot/api_op_TagResource.go.snap b/service/iotanalytics/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/iotanalytics/snapshot/api_op_TagResource.go.snap +++ b/service/iotanalytics/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/snapshot/api_op_UntagResource.go.snap b/service/iotanalytics/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/iotanalytics/snapshot/api_op_UntagResource.go.snap +++ b/service/iotanalytics/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/snapshot/api_op_UpdateChannel.go.snap b/service/iotanalytics/snapshot/api_op_UpdateChannel.go.snap index 4ee65c8c5a7..f4150e2b85f 100644 --- a/service/iotanalytics/snapshot/api_op_UpdateChannel.go.snap +++ b/service/iotanalytics/snapshot/api_op_UpdateChannel.go.snap @@ -14,7 +14,6 @@ UpdateChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/snapshot/api_op_UpdateDataset.go.snap b/service/iotanalytics/snapshot/api_op_UpdateDataset.go.snap index bb0ad287ec6..20d8b892226 100644 --- a/service/iotanalytics/snapshot/api_op_UpdateDataset.go.snap +++ b/service/iotanalytics/snapshot/api_op_UpdateDataset.go.snap @@ -14,7 +14,6 @@ UpdateDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/snapshot/api_op_UpdateDatastore.go.snap b/service/iotanalytics/snapshot/api_op_UpdateDatastore.go.snap index b4b11b5f768..6a9c401ebac 100644 --- a/service/iotanalytics/snapshot/api_op_UpdateDatastore.go.snap +++ b/service/iotanalytics/snapshot/api_op_UpdateDatastore.go.snap @@ -14,7 +14,6 @@ UpdateDatastore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotanalytics/snapshot/api_op_UpdatePipeline.go.snap b/service/iotanalytics/snapshot/api_op_UpdatePipeline.go.snap index acddf30c7a9..3f2dc40d069 100644 --- a/service/iotanalytics/snapshot/api_op_UpdatePipeline.go.snap +++ b/service/iotanalytics/snapshot/api_op_UpdatePipeline.go.snap @@ -14,7 +14,6 @@ UpdatePipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotdataplane/api_client.go b/service/iotdataplane/api_client.go index dc541b6f6b3..a7bfb03e54d 100644 --- a/service/iotdataplane/api_client.go +++ b/service/iotdataplane/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/iotdataplane/api_op_DeleteThingShadow.go b/service/iotdataplane/api_op_DeleteThingShadow.go index c043a02d752..e85cf08a2b6 100644 --- a/service/iotdataplane/api_op_DeleteThingShadow.go +++ b/service/iotdataplane/api_op_DeleteThingShadow.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteThingShadowMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteThingShadowValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotdataplane/api_op_GetRetainedMessage.go b/service/iotdataplane/api_op_GetRetainedMessage.go index a7d16702a36..2b28eed5a64 100644 --- a/service/iotdataplane/api_op_GetRetainedMessage.go +++ b/service/iotdataplane/api_op_GetRetainedMessage.go @@ -144,9 +144,6 @@ func (c *Client) addOperationGetRetainedMessageMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRetainedMessageValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotdataplane/api_op_GetThingShadow.go b/service/iotdataplane/api_op_GetThingShadow.go index a69746faca9..9de17616ad6 100644 --- a/service/iotdataplane/api_op_GetThingShadow.go +++ b/service/iotdataplane/api_op_GetThingShadow.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetThingShadowMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetThingShadowValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotdataplane/api_op_ListNamedShadowsForThing.go b/service/iotdataplane/api_op_ListNamedShadowsForThing.go index a8ee8d9faf4..fd6671edcd7 100644 --- a/service/iotdataplane/api_op_ListNamedShadowsForThing.go +++ b/service/iotdataplane/api_op_ListNamedShadowsForThing.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListNamedShadowsForThingMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListNamedShadowsForThingValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotdataplane/api_op_ListRetainedMessages.go b/service/iotdataplane/api_op_ListRetainedMessages.go index 2fe5975944d..1f3b24ad585 100644 --- a/service/iotdataplane/api_op_ListRetainedMessages.go +++ b/service/iotdataplane/api_op_ListRetainedMessages.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListRetainedMessagesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRetainedMessages(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotdataplane/api_op_Publish.go b/service/iotdataplane/api_op_Publish.go index a65823f40c8..bd01ed66d72 100644 --- a/service/iotdataplane/api_op_Publish.go +++ b/service/iotdataplane/api_op_Publish.go @@ -176,9 +176,6 @@ func (c *Client) addOperationPublishMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPublishValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotdataplane/api_op_UpdateThingShadow.go b/service/iotdataplane/api_op_UpdateThingShadow.go index 77990b6c5f4..deb8a958e2e 100644 --- a/service/iotdataplane/api_op_UpdateThingShadow.go +++ b/service/iotdataplane/api_op_UpdateThingShadow.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateThingShadowMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateThingShadowValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotdataplane/snapshot/api_op_DeleteThingShadow.go.snap b/service/iotdataplane/snapshot/api_op_DeleteThingShadow.go.snap index 064b31e7cd8..fc2a0315558 100644 --- a/service/iotdataplane/snapshot/api_op_DeleteThingShadow.go.snap +++ b/service/iotdataplane/snapshot/api_op_DeleteThingShadow.go.snap @@ -14,7 +14,6 @@ DeleteThingShadow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotdataplane/snapshot/api_op_GetRetainedMessage.go.snap b/service/iotdataplane/snapshot/api_op_GetRetainedMessage.go.snap index 403700fac7a..9812f06e579 100644 --- a/service/iotdataplane/snapshot/api_op_GetRetainedMessage.go.snap +++ b/service/iotdataplane/snapshot/api_op_GetRetainedMessage.go.snap @@ -14,7 +14,6 @@ GetRetainedMessage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotdataplane/snapshot/api_op_GetThingShadow.go.snap b/service/iotdataplane/snapshot/api_op_GetThingShadow.go.snap index 001c56d5633..99ad856a8da 100644 --- a/service/iotdataplane/snapshot/api_op_GetThingShadow.go.snap +++ b/service/iotdataplane/snapshot/api_op_GetThingShadow.go.snap @@ -14,7 +14,6 @@ GetThingShadow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotdataplane/snapshot/api_op_ListNamedShadowsForThing.go.snap b/service/iotdataplane/snapshot/api_op_ListNamedShadowsForThing.go.snap index c5d376d0891..f73be86b822 100644 --- a/service/iotdataplane/snapshot/api_op_ListNamedShadowsForThing.go.snap +++ b/service/iotdataplane/snapshot/api_op_ListNamedShadowsForThing.go.snap @@ -14,7 +14,6 @@ ListNamedShadowsForThing Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotdataplane/snapshot/api_op_ListRetainedMessages.go.snap b/service/iotdataplane/snapshot/api_op_ListRetainedMessages.go.snap index 0fdbe351903..1900537c94d 100644 --- a/service/iotdataplane/snapshot/api_op_ListRetainedMessages.go.snap +++ b/service/iotdataplane/snapshot/api_op_ListRetainedMessages.go.snap @@ -13,7 +13,6 @@ ListRetainedMessages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotdataplane/snapshot/api_op_Publish.go.snap b/service/iotdataplane/snapshot/api_op_Publish.go.snap index 5c56b6d73e7..ef2a2f04a59 100644 --- a/service/iotdataplane/snapshot/api_op_Publish.go.snap +++ b/service/iotdataplane/snapshot/api_op_Publish.go.snap @@ -14,7 +14,6 @@ Publish Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotdataplane/snapshot/api_op_UpdateThingShadow.go.snap b/service/iotdataplane/snapshot/api_op_UpdateThingShadow.go.snap index 84b5552e750..e5279cc9e6b 100644 --- a/service/iotdataplane/snapshot/api_op_UpdateThingShadow.go.snap +++ b/service/iotdataplane/snapshot/api_op_UpdateThingShadow.go.snap @@ -14,7 +14,6 @@ UpdateThingShadow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotdeviceadvisor/api_client.go b/service/iotdeviceadvisor/api_client.go index f204975b87d..5e336a7c358 100644 --- a/service/iotdeviceadvisor/api_client.go +++ b/service/iotdeviceadvisor/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/iotdeviceadvisor/api_op_CreateSuiteDefinition.go b/service/iotdeviceadvisor/api_op_CreateSuiteDefinition.go index 3565523c1c6..501e7649326 100644 --- a/service/iotdeviceadvisor/api_op_CreateSuiteDefinition.go +++ b/service/iotdeviceadvisor/api_op_CreateSuiteDefinition.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCreateSuiteDefinitionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateSuiteDefinitionMiddleware(stack, options); err != nil { return err } diff --git a/service/iotdeviceadvisor/api_op_DeleteSuiteDefinition.go b/service/iotdeviceadvisor/api_op_DeleteSuiteDefinition.go index 8089286f512..4cf118f9b7e 100644 --- a/service/iotdeviceadvisor/api_op_DeleteSuiteDefinition.go +++ b/service/iotdeviceadvisor/api_op_DeleteSuiteDefinition.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteSuiteDefinitionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSuiteDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotdeviceadvisor/api_op_GetEndpoint.go b/service/iotdeviceadvisor/api_op_GetEndpoint.go index de66977ac41..5a9ab18c3a7 100644 --- a/service/iotdeviceadvisor/api_op_GetEndpoint.go +++ b/service/iotdeviceadvisor/api_op_GetEndpoint.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetEndpointMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEndpoint(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotdeviceadvisor/api_op_GetSuiteDefinition.go b/service/iotdeviceadvisor/api_op_GetSuiteDefinition.go index b911da56bca..50e9480e887 100644 --- a/service/iotdeviceadvisor/api_op_GetSuiteDefinition.go +++ b/service/iotdeviceadvisor/api_op_GetSuiteDefinition.go @@ -141,9 +141,6 @@ func (c *Client) addOperationGetSuiteDefinitionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSuiteDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotdeviceadvisor/api_op_GetSuiteRun.go b/service/iotdeviceadvisor/api_op_GetSuiteRun.go index d04a0d4d004..e1b1ba5d0ee 100644 --- a/service/iotdeviceadvisor/api_op_GetSuiteRun.go +++ b/service/iotdeviceadvisor/api_op_GetSuiteRun.go @@ -152,9 +152,6 @@ func (c *Client) addOperationGetSuiteRunMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSuiteRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotdeviceadvisor/api_op_GetSuiteRunReport.go b/service/iotdeviceadvisor/api_op_GetSuiteRunReport.go index ed06d3180b1..8279fd6950e 100644 --- a/service/iotdeviceadvisor/api_op_GetSuiteRunReport.go +++ b/service/iotdeviceadvisor/api_op_GetSuiteRunReport.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetSuiteRunReportMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSuiteRunReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotdeviceadvisor/api_op_ListSuiteDefinitions.go b/service/iotdeviceadvisor/api_op_ListSuiteDefinitions.go index 01ce3ca4527..4b89e3131a6 100644 --- a/service/iotdeviceadvisor/api_op_ListSuiteDefinitions.go +++ b/service/iotdeviceadvisor/api_op_ListSuiteDefinitions.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListSuiteDefinitionsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSuiteDefinitions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotdeviceadvisor/api_op_ListSuiteRuns.go b/service/iotdeviceadvisor/api_op_ListSuiteRuns.go index 8fba77c042d..87c040ac370 100644 --- a/service/iotdeviceadvisor/api_op_ListSuiteRuns.go +++ b/service/iotdeviceadvisor/api_op_ListSuiteRuns.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListSuiteRunsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSuiteRuns(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotdeviceadvisor/api_op_ListTagsForResource.go b/service/iotdeviceadvisor/api_op_ListTagsForResource.go index 24ed71a7b5a..9c71e33c3c4 100644 --- a/service/iotdeviceadvisor/api_op_ListTagsForResource.go +++ b/service/iotdeviceadvisor/api_op_ListTagsForResource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotdeviceadvisor/api_op_StartSuiteRun.go b/service/iotdeviceadvisor/api_op_StartSuiteRun.go index b7df9e25736..ce30a7bc184 100644 --- a/service/iotdeviceadvisor/api_op_StartSuiteRun.go +++ b/service/iotdeviceadvisor/api_op_StartSuiteRun.go @@ -137,9 +137,6 @@ func (c *Client) addOperationStartSuiteRunMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartSuiteRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotdeviceadvisor/api_op_StopSuiteRun.go b/service/iotdeviceadvisor/api_op_StopSuiteRun.go index a5b82e43619..97ed48a1d21 100644 --- a/service/iotdeviceadvisor/api_op_StopSuiteRun.go +++ b/service/iotdeviceadvisor/api_op_StopSuiteRun.go @@ -116,9 +116,6 @@ func (c *Client) addOperationStopSuiteRunMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopSuiteRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotdeviceadvisor/api_op_TagResource.go b/service/iotdeviceadvisor/api_op_TagResource.go index 3e7feb1fc0c..f2fc59c3025 100644 --- a/service/iotdeviceadvisor/api_op_TagResource.go +++ b/service/iotdeviceadvisor/api_op_TagResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotdeviceadvisor/api_op_UntagResource.go b/service/iotdeviceadvisor/api_op_UntagResource.go index ebe722b310d..aabe398f2a9 100644 --- a/service/iotdeviceadvisor/api_op_UntagResource.go +++ b/service/iotdeviceadvisor/api_op_UntagResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotdeviceadvisor/api_op_UpdateSuiteDefinition.go b/service/iotdeviceadvisor/api_op_UpdateSuiteDefinition.go index da36c5d956e..c357c9b5b1c 100644 --- a/service/iotdeviceadvisor/api_op_UpdateSuiteDefinition.go +++ b/service/iotdeviceadvisor/api_op_UpdateSuiteDefinition.go @@ -137,9 +137,6 @@ func (c *Client) addOperationUpdateSuiteDefinitionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSuiteDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotdeviceadvisor/snapshot/api_op_CreateSuiteDefinition.go.snap b/service/iotdeviceadvisor/snapshot/api_op_CreateSuiteDefinition.go.snap index 6f52f1a7244..5ab5d1390f4 100644 --- a/service/iotdeviceadvisor/snapshot/api_op_CreateSuiteDefinition.go.snap +++ b/service/iotdeviceadvisor/snapshot/api_op_CreateSuiteDefinition.go.snap @@ -15,7 +15,6 @@ CreateSuiteDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotdeviceadvisor/snapshot/api_op_DeleteSuiteDefinition.go.snap b/service/iotdeviceadvisor/snapshot/api_op_DeleteSuiteDefinition.go.snap index 52cf8ff2476..a1608485cff 100644 --- a/service/iotdeviceadvisor/snapshot/api_op_DeleteSuiteDefinition.go.snap +++ b/service/iotdeviceadvisor/snapshot/api_op_DeleteSuiteDefinition.go.snap @@ -14,7 +14,6 @@ DeleteSuiteDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotdeviceadvisor/snapshot/api_op_GetEndpoint.go.snap b/service/iotdeviceadvisor/snapshot/api_op_GetEndpoint.go.snap index acedf413896..10af04af4bf 100644 --- a/service/iotdeviceadvisor/snapshot/api_op_GetEndpoint.go.snap +++ b/service/iotdeviceadvisor/snapshot/api_op_GetEndpoint.go.snap @@ -13,7 +13,6 @@ GetEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotdeviceadvisor/snapshot/api_op_GetSuiteDefinition.go.snap b/service/iotdeviceadvisor/snapshot/api_op_GetSuiteDefinition.go.snap index 59189d31a27..efcc0c4227a 100644 --- a/service/iotdeviceadvisor/snapshot/api_op_GetSuiteDefinition.go.snap +++ b/service/iotdeviceadvisor/snapshot/api_op_GetSuiteDefinition.go.snap @@ -14,7 +14,6 @@ GetSuiteDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotdeviceadvisor/snapshot/api_op_GetSuiteRun.go.snap b/service/iotdeviceadvisor/snapshot/api_op_GetSuiteRun.go.snap index 52bc7552fd0..6e73a07d7d6 100644 --- a/service/iotdeviceadvisor/snapshot/api_op_GetSuiteRun.go.snap +++ b/service/iotdeviceadvisor/snapshot/api_op_GetSuiteRun.go.snap @@ -14,7 +14,6 @@ GetSuiteRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotdeviceadvisor/snapshot/api_op_GetSuiteRunReport.go.snap b/service/iotdeviceadvisor/snapshot/api_op_GetSuiteRunReport.go.snap index c99af041aeb..ff9c469eb36 100644 --- a/service/iotdeviceadvisor/snapshot/api_op_GetSuiteRunReport.go.snap +++ b/service/iotdeviceadvisor/snapshot/api_op_GetSuiteRunReport.go.snap @@ -14,7 +14,6 @@ GetSuiteRunReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotdeviceadvisor/snapshot/api_op_ListSuiteDefinitions.go.snap b/service/iotdeviceadvisor/snapshot/api_op_ListSuiteDefinitions.go.snap index 141dfa5ffb9..ab10e1ca5ae 100644 --- a/service/iotdeviceadvisor/snapshot/api_op_ListSuiteDefinitions.go.snap +++ b/service/iotdeviceadvisor/snapshot/api_op_ListSuiteDefinitions.go.snap @@ -13,7 +13,6 @@ ListSuiteDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotdeviceadvisor/snapshot/api_op_ListSuiteRuns.go.snap b/service/iotdeviceadvisor/snapshot/api_op_ListSuiteRuns.go.snap index 16a80968493..88da9d8d608 100644 --- a/service/iotdeviceadvisor/snapshot/api_op_ListSuiteRuns.go.snap +++ b/service/iotdeviceadvisor/snapshot/api_op_ListSuiteRuns.go.snap @@ -13,7 +13,6 @@ ListSuiteRuns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotdeviceadvisor/snapshot/api_op_ListTagsForResource.go.snap b/service/iotdeviceadvisor/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/iotdeviceadvisor/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/iotdeviceadvisor/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotdeviceadvisor/snapshot/api_op_StartSuiteRun.go.snap b/service/iotdeviceadvisor/snapshot/api_op_StartSuiteRun.go.snap index e8a8774e0a7..5d56da8247d 100644 --- a/service/iotdeviceadvisor/snapshot/api_op_StartSuiteRun.go.snap +++ b/service/iotdeviceadvisor/snapshot/api_op_StartSuiteRun.go.snap @@ -14,7 +14,6 @@ StartSuiteRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotdeviceadvisor/snapshot/api_op_StopSuiteRun.go.snap b/service/iotdeviceadvisor/snapshot/api_op_StopSuiteRun.go.snap index e7713ff20f0..4b6303cfc2f 100644 --- a/service/iotdeviceadvisor/snapshot/api_op_StopSuiteRun.go.snap +++ b/service/iotdeviceadvisor/snapshot/api_op_StopSuiteRun.go.snap @@ -14,7 +14,6 @@ StopSuiteRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotdeviceadvisor/snapshot/api_op_TagResource.go.snap b/service/iotdeviceadvisor/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/iotdeviceadvisor/snapshot/api_op_TagResource.go.snap +++ b/service/iotdeviceadvisor/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotdeviceadvisor/snapshot/api_op_UntagResource.go.snap b/service/iotdeviceadvisor/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/iotdeviceadvisor/snapshot/api_op_UntagResource.go.snap +++ b/service/iotdeviceadvisor/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotdeviceadvisor/snapshot/api_op_UpdateSuiteDefinition.go.snap b/service/iotdeviceadvisor/snapshot/api_op_UpdateSuiteDefinition.go.snap index df05c1dd09d..5108c991c3f 100644 --- a/service/iotdeviceadvisor/snapshot/api_op_UpdateSuiteDefinition.go.snap +++ b/service/iotdeviceadvisor/snapshot/api_op_UpdateSuiteDefinition.go.snap @@ -14,7 +14,6 @@ UpdateSuiteDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotevents/api_client.go b/service/iotevents/api_client.go index 5c7602ebd96..19254a1fab3 100644 --- a/service/iotevents/api_client.go +++ b/service/iotevents/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/iotevents/api_op_CreateAlarmModel.go b/service/iotevents/api_op_CreateAlarmModel.go index 9ebbe4e49dd..ac7663b5a82 100644 --- a/service/iotevents/api_op_CreateAlarmModel.go +++ b/service/iotevents/api_op_CreateAlarmModel.go @@ -187,9 +187,6 @@ func (c *Client) addOperationCreateAlarmModelMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAlarmModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_CreateDetectorModel.go b/service/iotevents/api_op_CreateDetectorModel.go index 71409890b64..fe6fe488b09 100644 --- a/service/iotevents/api_op_CreateDetectorModel.go +++ b/service/iotevents/api_op_CreateDetectorModel.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreateDetectorModelMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDetectorModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_CreateInput.go b/service/iotevents/api_op_CreateInput.go index 37ce1223aa1..a51caf0f448 100644 --- a/service/iotevents/api_op_CreateInput.go +++ b/service/iotevents/api_op_CreateInput.go @@ -123,9 +123,6 @@ func (c *Client) addOperationCreateInputMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateInputValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_DeleteAlarmModel.go b/service/iotevents/api_op_DeleteAlarmModel.go index be6d12c50d5..68712ef0bc1 100644 --- a/service/iotevents/api_op_DeleteAlarmModel.go +++ b/service/iotevents/api_op_DeleteAlarmModel.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteAlarmModelMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAlarmModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_DeleteDetectorModel.go b/service/iotevents/api_op_DeleteDetectorModel.go index f7dc4a63d7b..4dbb4a9c3e0 100644 --- a/service/iotevents/api_op_DeleteDetectorModel.go +++ b/service/iotevents/api_op_DeleteDetectorModel.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteDetectorModelMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDetectorModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_DeleteInput.go b/service/iotevents/api_op_DeleteInput.go index 8b736547c5f..1fafe342291 100644 --- a/service/iotevents/api_op_DeleteInput.go +++ b/service/iotevents/api_op_DeleteInput.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteInputMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInputValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_DescribeAlarmModel.go b/service/iotevents/api_op_DescribeAlarmModel.go index a706efe5691..1b1837a8d72 100644 --- a/service/iotevents/api_op_DescribeAlarmModel.go +++ b/service/iotevents/api_op_DescribeAlarmModel.go @@ -179,9 +179,6 @@ func (c *Client) addOperationDescribeAlarmModelMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAlarmModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_DescribeDetectorModel.go b/service/iotevents/api_op_DescribeDetectorModel.go index 95829a6816e..a1ce30a75cc 100644 --- a/service/iotevents/api_op_DescribeDetectorModel.go +++ b/service/iotevents/api_op_DescribeDetectorModel.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDescribeDetectorModelMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDetectorModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_DescribeDetectorModelAnalysis.go b/service/iotevents/api_op_DescribeDetectorModelAnalysis.go index e5ce2b707e2..aad437eebce 100644 --- a/service/iotevents/api_op_DescribeDetectorModelAnalysis.go +++ b/service/iotevents/api_op_DescribeDetectorModelAnalysis.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeDetectorModelAnalysisMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDetectorModelAnalysisValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_DescribeInput.go b/service/iotevents/api_op_DescribeInput.go index 6d37ecab610..36d43cdfbb5 100644 --- a/service/iotevents/api_op_DescribeInput.go +++ b/service/iotevents/api_op_DescribeInput.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDescribeInputMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeInputValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_DescribeLoggingOptions.go b/service/iotevents/api_op_DescribeLoggingOptions.go index 55f28923310..3461f693a5e 100644 --- a/service/iotevents/api_op_DescribeLoggingOptions.go +++ b/service/iotevents/api_op_DescribeLoggingOptions.go @@ -106,9 +106,6 @@ func (c *Client) addOperationDescribeLoggingOptionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLoggingOptions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotevents/api_op_GetDetectorModelAnalysisResults.go b/service/iotevents/api_op_GetDetectorModelAnalysisResults.go index 5f53cffb665..7540134a2b6 100644 --- a/service/iotevents/api_op_GetDetectorModelAnalysisResults.go +++ b/service/iotevents/api_op_GetDetectorModelAnalysisResults.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetDetectorModelAnalysisResultsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDetectorModelAnalysisResultsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_ListAlarmModelVersions.go b/service/iotevents/api_op_ListAlarmModelVersions.go index 40182ccd00d..ebeee33e071 100644 --- a/service/iotevents/api_op_ListAlarmModelVersions.go +++ b/service/iotevents/api_op_ListAlarmModelVersions.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListAlarmModelVersionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAlarmModelVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_ListAlarmModels.go b/service/iotevents/api_op_ListAlarmModels.go index 76664628c29..8df85781662 100644 --- a/service/iotevents/api_op_ListAlarmModels.go +++ b/service/iotevents/api_op_ListAlarmModels.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListAlarmModelsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAlarmModels(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotevents/api_op_ListDetectorModelVersions.go b/service/iotevents/api_op_ListDetectorModelVersions.go index 2268597f8ff..6610ff2e951 100644 --- a/service/iotevents/api_op_ListDetectorModelVersions.go +++ b/service/iotevents/api_op_ListDetectorModelVersions.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListDetectorModelVersionsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDetectorModelVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_ListDetectorModels.go b/service/iotevents/api_op_ListDetectorModels.go index 118362c348f..34a2b62adbf 100644 --- a/service/iotevents/api_op_ListDetectorModels.go +++ b/service/iotevents/api_op_ListDetectorModels.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListDetectorModelsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDetectorModels(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotevents/api_op_ListInputRoutings.go b/service/iotevents/api_op_ListInputRoutings.go index 63d778d2ecc..b728940d39a 100644 --- a/service/iotevents/api_op_ListInputRoutings.go +++ b/service/iotevents/api_op_ListInputRoutings.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListInputRoutingsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListInputRoutingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_ListInputs.go b/service/iotevents/api_op_ListInputs.go index 10c094af5c7..7e3ee1bd799 100644 --- a/service/iotevents/api_op_ListInputs.go +++ b/service/iotevents/api_op_ListInputs.go @@ -117,9 +117,6 @@ func (c *Client) addOperationListInputsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInputs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotevents/api_op_ListTagsForResource.go b/service/iotevents/api_op_ListTagsForResource.go index c2d0493b6c6..0938cd0b25c 100644 --- a/service/iotevents/api_op_ListTagsForResource.go +++ b/service/iotevents/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_PutLoggingOptions.go b/service/iotevents/api_op_PutLoggingOptions.go index ef0a35fbd34..13553c48e21 100644 --- a/service/iotevents/api_op_PutLoggingOptions.go +++ b/service/iotevents/api_op_PutLoggingOptions.go @@ -113,9 +113,6 @@ func (c *Client) addOperationPutLoggingOptionsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutLoggingOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_StartDetectorModelAnalysis.go b/service/iotevents/api_op_StartDetectorModelAnalysis.go index 7b06276c5eb..d495e06dfeb 100644 --- a/service/iotevents/api_op_StartDetectorModelAnalysis.go +++ b/service/iotevents/api_op_StartDetectorModelAnalysis.go @@ -115,9 +115,6 @@ func (c *Client) addOperationStartDetectorModelAnalysisMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartDetectorModelAnalysisValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_TagResource.go b/service/iotevents/api_op_TagResource.go index 127d52be0a2..e9ddffd775d 100644 --- a/service/iotevents/api_op_TagResource.go +++ b/service/iotevents/api_op_TagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_UntagResource.go b/service/iotevents/api_op_UntagResource.go index 12f51d59905..e12cdd6445a 100644 --- a/service/iotevents/api_op_UntagResource.go +++ b/service/iotevents/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_UpdateAlarmModel.go b/service/iotevents/api_op_UpdateAlarmModel.go index 0f90de81801..2e0ffb5d82a 100644 --- a/service/iotevents/api_op_UpdateAlarmModel.go +++ b/service/iotevents/api_op_UpdateAlarmModel.go @@ -168,9 +168,6 @@ func (c *Client) addOperationUpdateAlarmModelMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAlarmModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_UpdateDetectorModel.go b/service/iotevents/api_op_UpdateDetectorModel.go index 654df3f87df..02e384758fa 100644 --- a/service/iotevents/api_op_UpdateDetectorModel.go +++ b/service/iotevents/api_op_UpdateDetectorModel.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateDetectorModelMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDetectorModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/api_op_UpdateInput.go b/service/iotevents/api_op_UpdateInput.go index 2e8efa7a809..b5fc2c1daa2 100644 --- a/service/iotevents/api_op_UpdateInput.go +++ b/service/iotevents/api_op_UpdateInput.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdateInputMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateInputValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotevents/snapshot/api_op_CreateAlarmModel.go.snap b/service/iotevents/snapshot/api_op_CreateAlarmModel.go.snap index 76e624a17a0..e3341cb208d 100644 --- a/service/iotevents/snapshot/api_op_CreateAlarmModel.go.snap +++ b/service/iotevents/snapshot/api_op_CreateAlarmModel.go.snap @@ -14,7 +14,6 @@ CreateAlarmModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotevents/snapshot/api_op_CreateDetectorModel.go.snap b/service/iotevents/snapshot/api_op_CreateDetectorModel.go.snap index eaca00a7c3e..96c5992d7ab 100644 --- a/service/iotevents/snapshot/api_op_CreateDetectorModel.go.snap +++ b/service/iotevents/snapshot/api_op_CreateDetectorModel.go.snap @@ -14,7 +14,6 @@ CreateDetectorModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotevents/snapshot/api_op_CreateInput.go.snap b/service/iotevents/snapshot/api_op_CreateInput.go.snap index a14b620a585..cef9f77d1fe 100644 --- a/service/iotevents/snapshot/api_op_CreateInput.go.snap +++ b/service/iotevents/snapshot/api_op_CreateInput.go.snap @@ -14,7 +14,6 @@ CreateInput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotevents/snapshot/api_op_DeleteAlarmModel.go.snap b/service/iotevents/snapshot/api_op_DeleteAlarmModel.go.snap index d32d51eb9da..a9f8e1deffa 100644 --- a/service/iotevents/snapshot/api_op_DeleteAlarmModel.go.snap +++ b/service/iotevents/snapshot/api_op_DeleteAlarmModel.go.snap @@ -14,7 +14,6 @@ DeleteAlarmModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotevents/snapshot/api_op_DeleteDetectorModel.go.snap b/service/iotevents/snapshot/api_op_DeleteDetectorModel.go.snap index 6ee99334464..2ca523e7e4b 100644 --- a/service/iotevents/snapshot/api_op_DeleteDetectorModel.go.snap +++ b/service/iotevents/snapshot/api_op_DeleteDetectorModel.go.snap @@ -14,7 +14,6 @@ DeleteDetectorModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotevents/snapshot/api_op_DeleteInput.go.snap b/service/iotevents/snapshot/api_op_DeleteInput.go.snap index 912f6dc87db..768eca668ea 100644 --- a/service/iotevents/snapshot/api_op_DeleteInput.go.snap +++ b/service/iotevents/snapshot/api_op_DeleteInput.go.snap @@ -14,7 +14,6 @@ DeleteInput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotevents/snapshot/api_op_DescribeAlarmModel.go.snap b/service/iotevents/snapshot/api_op_DescribeAlarmModel.go.snap index 0217833fecf..78ee7ea76c0 100644 --- a/service/iotevents/snapshot/api_op_DescribeAlarmModel.go.snap +++ b/service/iotevents/snapshot/api_op_DescribeAlarmModel.go.snap @@ -14,7 +14,6 @@ DescribeAlarmModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotevents/snapshot/api_op_DescribeDetectorModel.go.snap b/service/iotevents/snapshot/api_op_DescribeDetectorModel.go.snap index d6282b65b50..2ec753b2bab 100644 --- a/service/iotevents/snapshot/api_op_DescribeDetectorModel.go.snap +++ b/service/iotevents/snapshot/api_op_DescribeDetectorModel.go.snap @@ -14,7 +14,6 @@ DescribeDetectorModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotevents/snapshot/api_op_DescribeDetectorModelAnalysis.go.snap b/service/iotevents/snapshot/api_op_DescribeDetectorModelAnalysis.go.snap index fc18db141fe..c81e08d1801 100644 --- a/service/iotevents/snapshot/api_op_DescribeDetectorModelAnalysis.go.snap +++ b/service/iotevents/snapshot/api_op_DescribeDetectorModelAnalysis.go.snap @@ -14,7 +14,6 @@ DescribeDetectorModelAnalysis Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotevents/snapshot/api_op_DescribeInput.go.snap b/service/iotevents/snapshot/api_op_DescribeInput.go.snap index a2d7e54b7e0..0922048d6c0 100644 --- a/service/iotevents/snapshot/api_op_DescribeInput.go.snap +++ b/service/iotevents/snapshot/api_op_DescribeInput.go.snap @@ -14,7 +14,6 @@ DescribeInput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotevents/snapshot/api_op_DescribeLoggingOptions.go.snap b/service/iotevents/snapshot/api_op_DescribeLoggingOptions.go.snap index 92b2f687e47..90923093338 100644 --- a/service/iotevents/snapshot/api_op_DescribeLoggingOptions.go.snap +++ b/service/iotevents/snapshot/api_op_DescribeLoggingOptions.go.snap @@ -13,7 +13,6 @@ DescribeLoggingOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotevents/snapshot/api_op_GetDetectorModelAnalysisResults.go.snap b/service/iotevents/snapshot/api_op_GetDetectorModelAnalysisResults.go.snap index 382e900836f..9954b879199 100644 --- a/service/iotevents/snapshot/api_op_GetDetectorModelAnalysisResults.go.snap +++ b/service/iotevents/snapshot/api_op_GetDetectorModelAnalysisResults.go.snap @@ -14,7 +14,6 @@ GetDetectorModelAnalysisResults Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotevents/snapshot/api_op_ListAlarmModelVersions.go.snap b/service/iotevents/snapshot/api_op_ListAlarmModelVersions.go.snap index d79e6d7c8e4..17caeee7c8c 100644 --- a/service/iotevents/snapshot/api_op_ListAlarmModelVersions.go.snap +++ b/service/iotevents/snapshot/api_op_ListAlarmModelVersions.go.snap @@ -14,7 +14,6 @@ ListAlarmModelVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotevents/snapshot/api_op_ListAlarmModels.go.snap b/service/iotevents/snapshot/api_op_ListAlarmModels.go.snap index 30d61ff3558..2c2c757ea15 100644 --- a/service/iotevents/snapshot/api_op_ListAlarmModels.go.snap +++ b/service/iotevents/snapshot/api_op_ListAlarmModels.go.snap @@ -13,7 +13,6 @@ ListAlarmModels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotevents/snapshot/api_op_ListDetectorModelVersions.go.snap b/service/iotevents/snapshot/api_op_ListDetectorModelVersions.go.snap index e462b71a000..8b8a1be4140 100644 --- a/service/iotevents/snapshot/api_op_ListDetectorModelVersions.go.snap +++ b/service/iotevents/snapshot/api_op_ListDetectorModelVersions.go.snap @@ -14,7 +14,6 @@ ListDetectorModelVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotevents/snapshot/api_op_ListDetectorModels.go.snap b/service/iotevents/snapshot/api_op_ListDetectorModels.go.snap index a553ca8bb81..011cd48893e 100644 --- a/service/iotevents/snapshot/api_op_ListDetectorModels.go.snap +++ b/service/iotevents/snapshot/api_op_ListDetectorModels.go.snap @@ -13,7 +13,6 @@ ListDetectorModels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotevents/snapshot/api_op_ListInputRoutings.go.snap b/service/iotevents/snapshot/api_op_ListInputRoutings.go.snap index 6a30885d579..873869c0df1 100644 --- a/service/iotevents/snapshot/api_op_ListInputRoutings.go.snap +++ b/service/iotevents/snapshot/api_op_ListInputRoutings.go.snap @@ -14,7 +14,6 @@ ListInputRoutings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotevents/snapshot/api_op_ListInputs.go.snap b/service/iotevents/snapshot/api_op_ListInputs.go.snap index 5168162d8e3..3e9dd37cc77 100644 --- a/service/iotevents/snapshot/api_op_ListInputs.go.snap +++ b/service/iotevents/snapshot/api_op_ListInputs.go.snap @@ -13,7 +13,6 @@ ListInputs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotevents/snapshot/api_op_ListTagsForResource.go.snap b/service/iotevents/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/iotevents/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/iotevents/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotevents/snapshot/api_op_PutLoggingOptions.go.snap b/service/iotevents/snapshot/api_op_PutLoggingOptions.go.snap index f66b5cd5029..86fb23e71ff 100644 --- a/service/iotevents/snapshot/api_op_PutLoggingOptions.go.snap +++ b/service/iotevents/snapshot/api_op_PutLoggingOptions.go.snap @@ -14,7 +14,6 @@ PutLoggingOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotevents/snapshot/api_op_StartDetectorModelAnalysis.go.snap b/service/iotevents/snapshot/api_op_StartDetectorModelAnalysis.go.snap index 2dddd34f999..b03857b245c 100644 --- a/service/iotevents/snapshot/api_op_StartDetectorModelAnalysis.go.snap +++ b/service/iotevents/snapshot/api_op_StartDetectorModelAnalysis.go.snap @@ -14,7 +14,6 @@ StartDetectorModelAnalysis Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotevents/snapshot/api_op_TagResource.go.snap b/service/iotevents/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/iotevents/snapshot/api_op_TagResource.go.snap +++ b/service/iotevents/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotevents/snapshot/api_op_UntagResource.go.snap b/service/iotevents/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/iotevents/snapshot/api_op_UntagResource.go.snap +++ b/service/iotevents/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotevents/snapshot/api_op_UpdateAlarmModel.go.snap b/service/iotevents/snapshot/api_op_UpdateAlarmModel.go.snap index 2f5dd9e8e1f..af82df7aaf0 100644 --- a/service/iotevents/snapshot/api_op_UpdateAlarmModel.go.snap +++ b/service/iotevents/snapshot/api_op_UpdateAlarmModel.go.snap @@ -14,7 +14,6 @@ UpdateAlarmModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotevents/snapshot/api_op_UpdateDetectorModel.go.snap b/service/iotevents/snapshot/api_op_UpdateDetectorModel.go.snap index f5ff8818140..a1bc11a7b3b 100644 --- a/service/iotevents/snapshot/api_op_UpdateDetectorModel.go.snap +++ b/service/iotevents/snapshot/api_op_UpdateDetectorModel.go.snap @@ -14,7 +14,6 @@ UpdateDetectorModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotevents/snapshot/api_op_UpdateInput.go.snap b/service/iotevents/snapshot/api_op_UpdateInput.go.snap index c98cae8aabf..d9e1f87c507 100644 --- a/service/iotevents/snapshot/api_op_UpdateInput.go.snap +++ b/service/iotevents/snapshot/api_op_UpdateInput.go.snap @@ -14,7 +14,6 @@ UpdateInput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ioteventsdata/api_client.go b/service/ioteventsdata/api_client.go index babe384e505..143dfd9da64 100644 --- a/service/ioteventsdata/api_client.go +++ b/service/ioteventsdata/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/ioteventsdata/api_op_BatchAcknowledgeAlarm.go b/service/ioteventsdata/api_op_BatchAcknowledgeAlarm.go index 1323864a0a7..751f6ef7847 100644 --- a/service/ioteventsdata/api_op_BatchAcknowledgeAlarm.go +++ b/service/ioteventsdata/api_op_BatchAcknowledgeAlarm.go @@ -116,9 +116,6 @@ func (c *Client) addOperationBatchAcknowledgeAlarmMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchAcknowledgeAlarmValidationMiddleware(stack); err != nil { return err } diff --git a/service/ioteventsdata/api_op_BatchDeleteDetector.go b/service/ioteventsdata/api_op_BatchDeleteDetector.go index 5f9f2752ab3..2d2483b1311 100644 --- a/service/ioteventsdata/api_op_BatchDeleteDetector.go +++ b/service/ioteventsdata/api_op_BatchDeleteDetector.go @@ -119,9 +119,6 @@ func (c *Client) addOperationBatchDeleteDetectorMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDeleteDetectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/ioteventsdata/api_op_BatchDisableAlarm.go b/service/ioteventsdata/api_op_BatchDisableAlarm.go index 119c65d7722..3773101d1c5 100644 --- a/service/ioteventsdata/api_op_BatchDisableAlarm.go +++ b/service/ioteventsdata/api_op_BatchDisableAlarm.go @@ -116,9 +116,6 @@ func (c *Client) addOperationBatchDisableAlarmMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDisableAlarmValidationMiddleware(stack); err != nil { return err } diff --git a/service/ioteventsdata/api_op_BatchEnableAlarm.go b/service/ioteventsdata/api_op_BatchEnableAlarm.go index 159c4d9065b..9d490608eb6 100644 --- a/service/ioteventsdata/api_op_BatchEnableAlarm.go +++ b/service/ioteventsdata/api_op_BatchEnableAlarm.go @@ -116,9 +116,6 @@ func (c *Client) addOperationBatchEnableAlarmMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchEnableAlarmValidationMiddleware(stack); err != nil { return err } diff --git a/service/ioteventsdata/api_op_BatchPutMessage.go b/service/ioteventsdata/api_op_BatchPutMessage.go index 9174d7ed877..fb57c26b2d4 100644 --- a/service/ioteventsdata/api_op_BatchPutMessage.go +++ b/service/ioteventsdata/api_op_BatchPutMessage.go @@ -117,9 +117,6 @@ func (c *Client) addOperationBatchPutMessageMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchPutMessageValidationMiddleware(stack); err != nil { return err } diff --git a/service/ioteventsdata/api_op_BatchResetAlarm.go b/service/ioteventsdata/api_op_BatchResetAlarm.go index 99a2d50beab..7fa5d4a488d 100644 --- a/service/ioteventsdata/api_op_BatchResetAlarm.go +++ b/service/ioteventsdata/api_op_BatchResetAlarm.go @@ -116,9 +116,6 @@ func (c *Client) addOperationBatchResetAlarmMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchResetAlarmValidationMiddleware(stack); err != nil { return err } diff --git a/service/ioteventsdata/api_op_BatchSnoozeAlarm.go b/service/ioteventsdata/api_op_BatchSnoozeAlarm.go index ac7b8c56fd4..a6357884262 100644 --- a/service/ioteventsdata/api_op_BatchSnoozeAlarm.go +++ b/service/ioteventsdata/api_op_BatchSnoozeAlarm.go @@ -116,9 +116,6 @@ func (c *Client) addOperationBatchSnoozeAlarmMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchSnoozeAlarmValidationMiddleware(stack); err != nil { return err } diff --git a/service/ioteventsdata/api_op_BatchUpdateDetector.go b/service/ioteventsdata/api_op_BatchUpdateDetector.go index 2f5ff409079..378f3be1b25 100644 --- a/service/ioteventsdata/api_op_BatchUpdateDetector.go +++ b/service/ioteventsdata/api_op_BatchUpdateDetector.go @@ -114,9 +114,6 @@ func (c *Client) addOperationBatchUpdateDetectorMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchUpdateDetectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/ioteventsdata/api_op_DescribeAlarm.go b/service/ioteventsdata/api_op_DescribeAlarm.go index 32e9e388105..8ddb8116676 100644 --- a/service/ioteventsdata/api_op_DescribeAlarm.go +++ b/service/ioteventsdata/api_op_DescribeAlarm.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDescribeAlarmMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAlarmValidationMiddleware(stack); err != nil { return err } diff --git a/service/ioteventsdata/api_op_DescribeDetector.go b/service/ioteventsdata/api_op_DescribeDetector.go index b544cbb27c0..6d985a79bed 100644 --- a/service/ioteventsdata/api_op_DescribeDetector.go +++ b/service/ioteventsdata/api_op_DescribeDetector.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDescribeDetectorMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDetectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/ioteventsdata/api_op_ListAlarms.go b/service/ioteventsdata/api_op_ListAlarms.go index 495b6de50c5..56a7515d9f6 100644 --- a/service/ioteventsdata/api_op_ListAlarms.go +++ b/service/ioteventsdata/api_op_ListAlarms.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListAlarmsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAlarmsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ioteventsdata/api_op_ListDetectors.go b/service/ioteventsdata/api_op_ListDetectors.go index c6f16db7cda..2a054677a30 100644 --- a/service/ioteventsdata/api_op_ListDetectors.go +++ b/service/ioteventsdata/api_op_ListDetectors.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListDetectorsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDetectorsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ioteventsdata/snapshot/api_op_BatchAcknowledgeAlarm.go.snap b/service/ioteventsdata/snapshot/api_op_BatchAcknowledgeAlarm.go.snap index 86415609c7f..a51921109ae 100644 --- a/service/ioteventsdata/snapshot/api_op_BatchAcknowledgeAlarm.go.snap +++ b/service/ioteventsdata/snapshot/api_op_BatchAcknowledgeAlarm.go.snap @@ -14,7 +14,6 @@ BatchAcknowledgeAlarm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ioteventsdata/snapshot/api_op_BatchDeleteDetector.go.snap b/service/ioteventsdata/snapshot/api_op_BatchDeleteDetector.go.snap index e7772dac511..ee16e990630 100644 --- a/service/ioteventsdata/snapshot/api_op_BatchDeleteDetector.go.snap +++ b/service/ioteventsdata/snapshot/api_op_BatchDeleteDetector.go.snap @@ -14,7 +14,6 @@ BatchDeleteDetector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ioteventsdata/snapshot/api_op_BatchDisableAlarm.go.snap b/service/ioteventsdata/snapshot/api_op_BatchDisableAlarm.go.snap index e230a5b4ac3..5229a8ff9eb 100644 --- a/service/ioteventsdata/snapshot/api_op_BatchDisableAlarm.go.snap +++ b/service/ioteventsdata/snapshot/api_op_BatchDisableAlarm.go.snap @@ -14,7 +14,6 @@ BatchDisableAlarm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ioteventsdata/snapshot/api_op_BatchEnableAlarm.go.snap b/service/ioteventsdata/snapshot/api_op_BatchEnableAlarm.go.snap index 76b750c4000..82a467a3423 100644 --- a/service/ioteventsdata/snapshot/api_op_BatchEnableAlarm.go.snap +++ b/service/ioteventsdata/snapshot/api_op_BatchEnableAlarm.go.snap @@ -14,7 +14,6 @@ BatchEnableAlarm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ioteventsdata/snapshot/api_op_BatchPutMessage.go.snap b/service/ioteventsdata/snapshot/api_op_BatchPutMessage.go.snap index 5a45da177d6..b89f3e36922 100644 --- a/service/ioteventsdata/snapshot/api_op_BatchPutMessage.go.snap +++ b/service/ioteventsdata/snapshot/api_op_BatchPutMessage.go.snap @@ -14,7 +14,6 @@ BatchPutMessage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ioteventsdata/snapshot/api_op_BatchResetAlarm.go.snap b/service/ioteventsdata/snapshot/api_op_BatchResetAlarm.go.snap index 0176abed70e..00ef8db7151 100644 --- a/service/ioteventsdata/snapshot/api_op_BatchResetAlarm.go.snap +++ b/service/ioteventsdata/snapshot/api_op_BatchResetAlarm.go.snap @@ -14,7 +14,6 @@ BatchResetAlarm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ioteventsdata/snapshot/api_op_BatchSnoozeAlarm.go.snap b/service/ioteventsdata/snapshot/api_op_BatchSnoozeAlarm.go.snap index cf683e05613..0e8d296b1f5 100644 --- a/service/ioteventsdata/snapshot/api_op_BatchSnoozeAlarm.go.snap +++ b/service/ioteventsdata/snapshot/api_op_BatchSnoozeAlarm.go.snap @@ -14,7 +14,6 @@ BatchSnoozeAlarm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ioteventsdata/snapshot/api_op_BatchUpdateDetector.go.snap b/service/ioteventsdata/snapshot/api_op_BatchUpdateDetector.go.snap index 0231806ca9e..57f3d3dfccc 100644 --- a/service/ioteventsdata/snapshot/api_op_BatchUpdateDetector.go.snap +++ b/service/ioteventsdata/snapshot/api_op_BatchUpdateDetector.go.snap @@ -14,7 +14,6 @@ BatchUpdateDetector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ioteventsdata/snapshot/api_op_DescribeAlarm.go.snap b/service/ioteventsdata/snapshot/api_op_DescribeAlarm.go.snap index fa5f635c1fc..83df7b1f040 100644 --- a/service/ioteventsdata/snapshot/api_op_DescribeAlarm.go.snap +++ b/service/ioteventsdata/snapshot/api_op_DescribeAlarm.go.snap @@ -14,7 +14,6 @@ DescribeAlarm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ioteventsdata/snapshot/api_op_DescribeDetector.go.snap b/service/ioteventsdata/snapshot/api_op_DescribeDetector.go.snap index 7587a4774f9..1da7d4efa5c 100644 --- a/service/ioteventsdata/snapshot/api_op_DescribeDetector.go.snap +++ b/service/ioteventsdata/snapshot/api_op_DescribeDetector.go.snap @@ -14,7 +14,6 @@ DescribeDetector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ioteventsdata/snapshot/api_op_ListAlarms.go.snap b/service/ioteventsdata/snapshot/api_op_ListAlarms.go.snap index 9b4aa5ff99f..d5f3382e27d 100644 --- a/service/ioteventsdata/snapshot/api_op_ListAlarms.go.snap +++ b/service/ioteventsdata/snapshot/api_op_ListAlarms.go.snap @@ -14,7 +14,6 @@ ListAlarms Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ioteventsdata/snapshot/api_op_ListDetectors.go.snap b/service/ioteventsdata/snapshot/api_op_ListDetectors.go.snap index fdab3401701..5685f01e0f7 100644 --- a/service/ioteventsdata/snapshot/api_op_ListDetectors.go.snap +++ b/service/ioteventsdata/snapshot/api_op_ListDetectors.go.snap @@ -14,7 +14,6 @@ ListDetectors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleethub/api_client.go b/service/iotfleethub/api_client.go index 137aa74befe..a8007a12cfc 100644 --- a/service/iotfleethub/api_client.go +++ b/service/iotfleethub/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/iotfleethub/api_op_CreateApplication.go b/service/iotfleethub/api_op_CreateApplication.go index 68b0108bba9..25b7836127c 100644 --- a/service/iotfleethub/api_op_CreateApplication.go +++ b/service/iotfleethub/api_op_CreateApplication.go @@ -146,9 +146,6 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateApplicationMiddleware(stack, options); err != nil { return err } diff --git a/service/iotfleethub/api_op_DeleteApplication.go b/service/iotfleethub/api_op_DeleteApplication.go index cc7c115cce2..ee0a352eebe 100644 --- a/service/iotfleethub/api_op_DeleteApplication.go +++ b/service/iotfleethub/api_op_DeleteApplication.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteApplicationMiddleware(stack, options); err != nil { return err } diff --git a/service/iotfleethub/api_op_DescribeApplication.go b/service/iotfleethub/api_op_DescribeApplication.go index 150daa4de46..e2151a94216 100644 --- a/service/iotfleethub/api_op_DescribeApplication.go +++ b/service/iotfleethub/api_op_DescribeApplication.go @@ -166,9 +166,6 @@ func (c *Client) addOperationDescribeApplicationMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleethub/api_op_ListApplications.go b/service/iotfleethub/api_op_ListApplications.go index 245081b954c..5e4739b378f 100644 --- a/service/iotfleethub/api_op_ListApplications.go +++ b/service/iotfleethub/api_op_ListApplications.go @@ -115,9 +115,6 @@ func (c *Client) addOperationListApplicationsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplications(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotfleethub/api_op_ListTagsForResource.go b/service/iotfleethub/api_op_ListTagsForResource.go index 4d9e018afa2..598c89dffc8 100644 --- a/service/iotfleethub/api_op_ListTagsForResource.go +++ b/service/iotfleethub/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleethub/api_op_TagResource.go b/service/iotfleethub/api_op_TagResource.go index 5435befb7e0..98d6b07cbb5 100644 --- a/service/iotfleethub/api_op_TagResource.go +++ b/service/iotfleethub/api_op_TagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleethub/api_op_UntagResource.go b/service/iotfleethub/api_op_UntagResource.go index 0c090e2b691..32e3746a9b1 100644 --- a/service/iotfleethub/api_op_UntagResource.go +++ b/service/iotfleethub/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleethub/api_op_UpdateApplication.go b/service/iotfleethub/api_op_UpdateApplication.go index bc2bfbf2217..64ef68fb607 100644 --- a/service/iotfleethub/api_op_UpdateApplication.go +++ b/service/iotfleethub/api_op_UpdateApplication.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateApplicationMiddleware(stack, options); err != nil { return err } diff --git a/service/iotfleethub/snapshot/api_op_CreateApplication.go.snap b/service/iotfleethub/snapshot/api_op_CreateApplication.go.snap index 55ae9fa9488..cb4df90a3ee 100644 --- a/service/iotfleethub/snapshot/api_op_CreateApplication.go.snap +++ b/service/iotfleethub/snapshot/api_op_CreateApplication.go.snap @@ -15,7 +15,6 @@ CreateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleethub/snapshot/api_op_DeleteApplication.go.snap b/service/iotfleethub/snapshot/api_op_DeleteApplication.go.snap index 9516a82a8f7..8793f063a3a 100644 --- a/service/iotfleethub/snapshot/api_op_DeleteApplication.go.snap +++ b/service/iotfleethub/snapshot/api_op_DeleteApplication.go.snap @@ -15,7 +15,6 @@ DeleteApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleethub/snapshot/api_op_DescribeApplication.go.snap b/service/iotfleethub/snapshot/api_op_DescribeApplication.go.snap index 9e58fc0215e..c6fbc3e201d 100644 --- a/service/iotfleethub/snapshot/api_op_DescribeApplication.go.snap +++ b/service/iotfleethub/snapshot/api_op_DescribeApplication.go.snap @@ -14,7 +14,6 @@ DescribeApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleethub/snapshot/api_op_ListApplications.go.snap b/service/iotfleethub/snapshot/api_op_ListApplications.go.snap index e18746bd34f..6029195b8e8 100644 --- a/service/iotfleethub/snapshot/api_op_ListApplications.go.snap +++ b/service/iotfleethub/snapshot/api_op_ListApplications.go.snap @@ -13,7 +13,6 @@ ListApplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleethub/snapshot/api_op_ListTagsForResource.go.snap b/service/iotfleethub/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/iotfleethub/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/iotfleethub/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleethub/snapshot/api_op_TagResource.go.snap b/service/iotfleethub/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/iotfleethub/snapshot/api_op_TagResource.go.snap +++ b/service/iotfleethub/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleethub/snapshot/api_op_UntagResource.go.snap b/service/iotfleethub/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/iotfleethub/snapshot/api_op_UntagResource.go.snap +++ b/service/iotfleethub/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleethub/snapshot/api_op_UpdateApplication.go.snap b/service/iotfleethub/snapshot/api_op_UpdateApplication.go.snap index f9676d4b585..d6ccedc2143 100644 --- a/service/iotfleethub/snapshot/api_op_UpdateApplication.go.snap +++ b/service/iotfleethub/snapshot/api_op_UpdateApplication.go.snap @@ -15,7 +15,6 @@ UpdateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/api_client.go b/service/iotfleetwise/api_client.go index ec613ffdd0a..65338e8814c 100644 --- a/service/iotfleetwise/api_client.go +++ b/service/iotfleetwise/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/iotfleetwise/api_op_AssociateVehicleFleet.go b/service/iotfleetwise/api_op_AssociateVehicleFleet.go index 924e1a2d555..398cb9d4e32 100644 --- a/service/iotfleetwise/api_op_AssociateVehicleFleet.go +++ b/service/iotfleetwise/api_op_AssociateVehicleFleet.go @@ -112,9 +112,6 @@ func (c *Client) addOperationAssociateVehicleFleetMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateVehicleFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_BatchCreateVehicle.go b/service/iotfleetwise/api_op_BatchCreateVehicle.go index 92bc302941b..e6f9320fa2e 100644 --- a/service/iotfleetwise/api_op_BatchCreateVehicle.go +++ b/service/iotfleetwise/api_op_BatchCreateVehicle.go @@ -126,9 +126,6 @@ func (c *Client) addOperationBatchCreateVehicleMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchCreateVehicleValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_BatchUpdateVehicle.go b/service/iotfleetwise/api_op_BatchUpdateVehicle.go index 8a4b6f55959..2fa621801b9 100644 --- a/service/iotfleetwise/api_op_BatchUpdateVehicle.go +++ b/service/iotfleetwise/api_op_BatchUpdateVehicle.go @@ -127,9 +127,6 @@ func (c *Client) addOperationBatchUpdateVehicleMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchUpdateVehicleValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_CreateCampaign.go b/service/iotfleetwise/api_op_CreateCampaign.go index 693f4b5ad8e..69ba827d09b 100644 --- a/service/iotfleetwise/api_op_CreateCampaign.go +++ b/service/iotfleetwise/api_op_CreateCampaign.go @@ -241,9 +241,6 @@ func (c *Client) addOperationCreateCampaignMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCampaignValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_CreateDecoderManifest.go b/service/iotfleetwise/api_op_CreateDecoderManifest.go index 198a9d09a35..00f05d28071 100644 --- a/service/iotfleetwise/api_op_CreateDecoderManifest.go +++ b/service/iotfleetwise/api_op_CreateDecoderManifest.go @@ -155,9 +155,6 @@ func (c *Client) addOperationCreateDecoderManifestMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDecoderManifestValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_CreateFleet.go b/service/iotfleetwise/api_op_CreateFleet.go index df429e6a2eb..19a1953ac7e 100644 --- a/service/iotfleetwise/api_op_CreateFleet.go +++ b/service/iotfleetwise/api_op_CreateFleet.go @@ -138,9 +138,6 @@ func (c *Client) addOperationCreateFleetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_CreateModelManifest.go b/service/iotfleetwise/api_op_CreateModelManifest.go index 0905f0c7719..cd2d0ea1173 100644 --- a/service/iotfleetwise/api_op_CreateModelManifest.go +++ b/service/iotfleetwise/api_op_CreateModelManifest.go @@ -142,9 +142,6 @@ func (c *Client) addOperationCreateModelManifestMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateModelManifestValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_CreateSignalCatalog.go b/service/iotfleetwise/api_op_CreateSignalCatalog.go index 8a195248f59..bf0ded800eb 100644 --- a/service/iotfleetwise/api_op_CreateSignalCatalog.go +++ b/service/iotfleetwise/api_op_CreateSignalCatalog.go @@ -131,9 +131,6 @@ func (c *Client) addOperationCreateSignalCatalogMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSignalCatalogValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_CreateStateTemplate.go b/service/iotfleetwise/api_op_CreateStateTemplate.go index dbcec726e58..15dada6a620 100644 --- a/service/iotfleetwise/api_op_CreateStateTemplate.go +++ b/service/iotfleetwise/api_op_CreateStateTemplate.go @@ -163,9 +163,6 @@ func (c *Client) addOperationCreateStateTemplateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateStateTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_CreateVehicle.go b/service/iotfleetwise/api_op_CreateVehicle.go index 4e106efc78a..2fb9ec69706 100644 --- a/service/iotfleetwise/api_op_CreateVehicle.go +++ b/service/iotfleetwise/api_op_CreateVehicle.go @@ -160,9 +160,6 @@ func (c *Client) addOperationCreateVehicleMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVehicleValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_DeleteCampaign.go b/service/iotfleetwise/api_op_DeleteCampaign.go index 4c88edacfd5..ffd40102542 100644 --- a/service/iotfleetwise/api_op_DeleteCampaign.go +++ b/service/iotfleetwise/api_op_DeleteCampaign.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteCampaignMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCampaignValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_DeleteDecoderManifest.go b/service/iotfleetwise/api_op_DeleteDecoderManifest.go index c98a77e98d6..fe168134824 100644 --- a/service/iotfleetwise/api_op_DeleteDecoderManifest.go +++ b/service/iotfleetwise/api_op_DeleteDecoderManifest.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteDecoderManifestMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDecoderManifestValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_DeleteFleet.go b/service/iotfleetwise/api_op_DeleteFleet.go index 86d1c922c72..6f2bf4f82c4 100644 --- a/service/iotfleetwise/api_op_DeleteFleet.go +++ b/service/iotfleetwise/api_op_DeleteFleet.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteFleetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_DeleteModelManifest.go b/service/iotfleetwise/api_op_DeleteModelManifest.go index 87653056739..bf875224206 100644 --- a/service/iotfleetwise/api_op_DeleteModelManifest.go +++ b/service/iotfleetwise/api_op_DeleteModelManifest.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteModelManifestMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteModelManifestValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_DeleteSignalCatalog.go b/service/iotfleetwise/api_op_DeleteSignalCatalog.go index a9e480982e8..d1a8a2c493d 100644 --- a/service/iotfleetwise/api_op_DeleteSignalCatalog.go +++ b/service/iotfleetwise/api_op_DeleteSignalCatalog.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteSignalCatalogMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSignalCatalogValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_DeleteStateTemplate.go b/service/iotfleetwise/api_op_DeleteStateTemplate.go index 98efaf8715d..e88eb1863f3 100644 --- a/service/iotfleetwise/api_op_DeleteStateTemplate.go +++ b/service/iotfleetwise/api_op_DeleteStateTemplate.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteStateTemplateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteStateTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_DeleteVehicle.go b/service/iotfleetwise/api_op_DeleteVehicle.go index f9926aed16d..1bf3ed5231e 100644 --- a/service/iotfleetwise/api_op_DeleteVehicle.go +++ b/service/iotfleetwise/api_op_DeleteVehicle.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteVehicleMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVehicleValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_DisassociateVehicleFleet.go b/service/iotfleetwise/api_op_DisassociateVehicleFleet.go index 48a2a09d0da..5358c9a8f95 100644 --- a/service/iotfleetwise/api_op_DisassociateVehicleFleet.go +++ b/service/iotfleetwise/api_op_DisassociateVehicleFleet.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDisassociateVehicleFleetMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateVehicleFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_GetCampaign.go b/service/iotfleetwise/api_op_GetCampaign.go index ce033c13148..a0e4930ee2e 100644 --- a/service/iotfleetwise/api_op_GetCampaign.go +++ b/service/iotfleetwise/api_op_GetCampaign.go @@ -201,9 +201,6 @@ func (c *Client) addOperationGetCampaignMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCampaignValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_GetDecoderManifest.go b/service/iotfleetwise/api_op_GetDecoderManifest.go index 7bb45951be6..821a03688e5 100644 --- a/service/iotfleetwise/api_op_GetDecoderManifest.go +++ b/service/iotfleetwise/api_op_GetDecoderManifest.go @@ -148,9 +148,6 @@ func (c *Client) addOperationGetDecoderManifestMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDecoderManifestValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_GetEncryptionConfiguration.go b/service/iotfleetwise/api_op_GetEncryptionConfiguration.go index 9fb49bd077e..24164f760fb 100644 --- a/service/iotfleetwise/api_op_GetEncryptionConfiguration.go +++ b/service/iotfleetwise/api_op_GetEncryptionConfiguration.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetEncryptionConfigurationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEncryptionConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotfleetwise/api_op_GetFleet.go b/service/iotfleetwise/api_op_GetFleet.go index 66fb81933cf..dd82704445f 100644 --- a/service/iotfleetwise/api_op_GetFleet.go +++ b/service/iotfleetwise/api_op_GetFleet.go @@ -139,9 +139,6 @@ func (c *Client) addOperationGetFleetMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_GetLoggingOptions.go b/service/iotfleetwise/api_op_GetLoggingOptions.go index 68973a39e80..e34b2c9cdd0 100644 --- a/service/iotfleetwise/api_op_GetLoggingOptions.go +++ b/service/iotfleetwise/api_op_GetLoggingOptions.go @@ -108,9 +108,6 @@ func (c *Client) addOperationGetLoggingOptionsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLoggingOptions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotfleetwise/api_op_GetModelManifest.go b/service/iotfleetwise/api_op_GetModelManifest.go index 316a93f8f56..9e1ca2de65d 100644 --- a/service/iotfleetwise/api_op_GetModelManifest.go +++ b/service/iotfleetwise/api_op_GetModelManifest.go @@ -141,9 +141,6 @@ func (c *Client) addOperationGetModelManifestMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetModelManifestValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_GetRegisterAccountStatus.go b/service/iotfleetwise/api_op_GetRegisterAccountStatus.go index 8d25cafcc82..d7bf4e57ed4 100644 --- a/service/iotfleetwise/api_op_GetRegisterAccountStatus.go +++ b/service/iotfleetwise/api_op_GetRegisterAccountStatus.go @@ -153,9 +153,6 @@ func (c *Client) addOperationGetRegisterAccountStatusMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRegisterAccountStatus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotfleetwise/api_op_GetSignalCatalog.go b/service/iotfleetwise/api_op_GetSignalCatalog.go index 4d3013886b6..4491bc0fa4d 100644 --- a/service/iotfleetwise/api_op_GetSignalCatalog.go +++ b/service/iotfleetwise/api_op_GetSignalCatalog.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGetSignalCatalogMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSignalCatalogValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_GetStateTemplate.go b/service/iotfleetwise/api_op_GetStateTemplate.go index 9e2c91f965a..639556af555 100644 --- a/service/iotfleetwise/api_op_GetStateTemplate.go +++ b/service/iotfleetwise/api_op_GetStateTemplate.go @@ -154,9 +154,6 @@ func (c *Client) addOperationGetStateTemplateMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetStateTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_GetVehicle.go b/service/iotfleetwise/api_op_GetVehicle.go index 5e7e54db088..1ad4ca46c34 100644 --- a/service/iotfleetwise/api_op_GetVehicle.go +++ b/service/iotfleetwise/api_op_GetVehicle.go @@ -138,9 +138,6 @@ func (c *Client) addOperationGetVehicleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVehicleValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_GetVehicleStatus.go b/service/iotfleetwise/api_op_GetVehicleStatus.go index d74fee0258a..31605d2d3bc 100644 --- a/service/iotfleetwise/api_op_GetVehicleStatus.go +++ b/service/iotfleetwise/api_op_GetVehicleStatus.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetVehicleStatusMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVehicleStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_ImportDecoderManifest.go b/service/iotfleetwise/api_op_ImportDecoderManifest.go index 0a7dcb17d7e..d146fc09227 100644 --- a/service/iotfleetwise/api_op_ImportDecoderManifest.go +++ b/service/iotfleetwise/api_op_ImportDecoderManifest.go @@ -129,9 +129,6 @@ func (c *Client) addOperationImportDecoderManifestMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportDecoderManifestValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_ImportSignalCatalog.go b/service/iotfleetwise/api_op_ImportSignalCatalog.go index 5cc0d4a3a52..2aa438dd560 100644 --- a/service/iotfleetwise/api_op_ImportSignalCatalog.go +++ b/service/iotfleetwise/api_op_ImportSignalCatalog.go @@ -131,9 +131,6 @@ func (c *Client) addOperationImportSignalCatalogMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportSignalCatalogValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_ListCampaigns.go b/service/iotfleetwise/api_op_ListCampaigns.go index 737fe2bdaef..e4276d886da 100644 --- a/service/iotfleetwise/api_op_ListCampaigns.go +++ b/service/iotfleetwise/api_op_ListCampaigns.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListCampaignsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCampaigns(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotfleetwise/api_op_ListDecoderManifestNetworkInterfaces.go b/service/iotfleetwise/api_op_ListDecoderManifestNetworkInterfaces.go index 80a07373b8a..ea972a39c61 100644 --- a/service/iotfleetwise/api_op_ListDecoderManifestNetworkInterfaces.go +++ b/service/iotfleetwise/api_op_ListDecoderManifestNetworkInterfaces.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListDecoderManifestNetworkInterfacesMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDecoderManifestNetworkInterfacesValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_ListDecoderManifestSignals.go b/service/iotfleetwise/api_op_ListDecoderManifestSignals.go index a171993a434..e1ec532808b 100644 --- a/service/iotfleetwise/api_op_ListDecoderManifestSignals.go +++ b/service/iotfleetwise/api_op_ListDecoderManifestSignals.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListDecoderManifestSignalsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDecoderManifestSignalsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_ListDecoderManifests.go b/service/iotfleetwise/api_op_ListDecoderManifests.go index 1e98663a4b6..8f558961015 100644 --- a/service/iotfleetwise/api_op_ListDecoderManifests.go +++ b/service/iotfleetwise/api_op_ListDecoderManifests.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListDecoderManifestsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDecoderManifests(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotfleetwise/api_op_ListFleets.go b/service/iotfleetwise/api_op_ListFleets.go index 64c178fa150..74ee54cfcaf 100644 --- a/service/iotfleetwise/api_op_ListFleets.go +++ b/service/iotfleetwise/api_op_ListFleets.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListFleetsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFleets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotfleetwise/api_op_ListFleetsForVehicle.go b/service/iotfleetwise/api_op_ListFleetsForVehicle.go index 966249a5b9b..b9e9334bf2e 100644 --- a/service/iotfleetwise/api_op_ListFleetsForVehicle.go +++ b/service/iotfleetwise/api_op_ListFleetsForVehicle.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListFleetsForVehicleMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFleetsForVehicleValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_ListModelManifestNodes.go b/service/iotfleetwise/api_op_ListModelManifestNodes.go index 78e91964b9e..2cdfeda23cd 100644 --- a/service/iotfleetwise/api_op_ListModelManifestNodes.go +++ b/service/iotfleetwise/api_op_ListModelManifestNodes.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListModelManifestNodesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListModelManifestNodesValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_ListModelManifests.go b/service/iotfleetwise/api_op_ListModelManifests.go index 887a9157cfa..4bc4a8e5f3a 100644 --- a/service/iotfleetwise/api_op_ListModelManifests.go +++ b/service/iotfleetwise/api_op_ListModelManifests.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListModelManifestsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListModelManifests(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotfleetwise/api_op_ListSignalCatalogNodes.go b/service/iotfleetwise/api_op_ListSignalCatalogNodes.go index dfa008bee69..8f333667c08 100644 --- a/service/iotfleetwise/api_op_ListSignalCatalogNodes.go +++ b/service/iotfleetwise/api_op_ListSignalCatalogNodes.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListSignalCatalogNodesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSignalCatalogNodesValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_ListSignalCatalogs.go b/service/iotfleetwise/api_op_ListSignalCatalogs.go index d8130ff5743..1a980ad3c9d 100644 --- a/service/iotfleetwise/api_op_ListSignalCatalogs.go +++ b/service/iotfleetwise/api_op_ListSignalCatalogs.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListSignalCatalogsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSignalCatalogs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotfleetwise/api_op_ListStateTemplates.go b/service/iotfleetwise/api_op_ListStateTemplates.go index de9baad5c1c..bdb8e8bbb03 100644 --- a/service/iotfleetwise/api_op_ListStateTemplates.go +++ b/service/iotfleetwise/api_op_ListStateTemplates.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListStateTemplatesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStateTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotfleetwise/api_op_ListTagsForResource.go b/service/iotfleetwise/api_op_ListTagsForResource.go index 9ef8818379f..c5811b37dca 100644 --- a/service/iotfleetwise/api_op_ListTagsForResource.go +++ b/service/iotfleetwise/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_ListVehicles.go b/service/iotfleetwise/api_op_ListVehicles.go index bfa74ca6090..cd0ff6c3938 100644 --- a/service/iotfleetwise/api_op_ListVehicles.go +++ b/service/iotfleetwise/api_op_ListVehicles.go @@ -155,9 +155,6 @@ func (c *Client) addOperationListVehiclesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVehicles(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotfleetwise/api_op_ListVehiclesInFleet.go b/service/iotfleetwise/api_op_ListVehiclesInFleet.go index 66f476a2f29..c1f3d250ce8 100644 --- a/service/iotfleetwise/api_op_ListVehiclesInFleet.go +++ b/service/iotfleetwise/api_op_ListVehiclesInFleet.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListVehiclesInFleetMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListVehiclesInFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_PutEncryptionConfiguration.go b/service/iotfleetwise/api_op_PutEncryptionConfiguration.go index 0bf14735f5e..96bf2f1a2e6 100644 --- a/service/iotfleetwise/api_op_PutEncryptionConfiguration.go +++ b/service/iotfleetwise/api_op_PutEncryptionConfiguration.go @@ -134,9 +134,6 @@ func (c *Client) addOperationPutEncryptionConfigurationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutEncryptionConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_PutLoggingOptions.go b/service/iotfleetwise/api_op_PutLoggingOptions.go index 9af033e70ce..ce3ef3c971a 100644 --- a/service/iotfleetwise/api_op_PutLoggingOptions.go +++ b/service/iotfleetwise/api_op_PutLoggingOptions.go @@ -108,9 +108,6 @@ func (c *Client) addOperationPutLoggingOptionsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutLoggingOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_RegisterAccount.go b/service/iotfleetwise/api_op_RegisterAccount.go index 9c405d18f75..22f9bc95da0 100644 --- a/service/iotfleetwise/api_op_RegisterAccount.go +++ b/service/iotfleetwise/api_op_RegisterAccount.go @@ -176,9 +176,6 @@ func (c *Client) addOperationRegisterAccountMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_TagResource.go b/service/iotfleetwise/api_op_TagResource.go index 8dff72b587c..682d3a7343e 100644 --- a/service/iotfleetwise/api_op_TagResource.go +++ b/service/iotfleetwise/api_op_TagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_UntagResource.go b/service/iotfleetwise/api_op_UntagResource.go index 492e1216e87..731ff429548 100644 --- a/service/iotfleetwise/api_op_UntagResource.go +++ b/service/iotfleetwise/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_UpdateCampaign.go b/service/iotfleetwise/api_op_UpdateCampaign.go index 74f8de3fcef..bf2c99ba816 100644 --- a/service/iotfleetwise/api_op_UpdateCampaign.go +++ b/service/iotfleetwise/api_op_UpdateCampaign.go @@ -154,9 +154,6 @@ func (c *Client) addOperationUpdateCampaignMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCampaignValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_UpdateDecoderManifest.go b/service/iotfleetwise/api_op_UpdateDecoderManifest.go index fb654845174..aa8dd955c7a 100644 --- a/service/iotfleetwise/api_op_UpdateDecoderManifest.go +++ b/service/iotfleetwise/api_op_UpdateDecoderManifest.go @@ -162,9 +162,6 @@ func (c *Client) addOperationUpdateDecoderManifestMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDecoderManifestValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_UpdateFleet.go b/service/iotfleetwise/api_op_UpdateFleet.go index 39332bd5253..ceb2936880a 100644 --- a/service/iotfleetwise/api_op_UpdateFleet.go +++ b/service/iotfleetwise/api_op_UpdateFleet.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUpdateFleetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_UpdateModelManifest.go b/service/iotfleetwise/api_op_UpdateModelManifest.go index 19201198c9d..268370777b7 100644 --- a/service/iotfleetwise/api_op_UpdateModelManifest.go +++ b/service/iotfleetwise/api_op_UpdateModelManifest.go @@ -136,9 +136,6 @@ func (c *Client) addOperationUpdateModelManifestMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateModelManifestValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_UpdateSignalCatalog.go b/service/iotfleetwise/api_op_UpdateSignalCatalog.go index 0aa9d4062c9..6ac2598e19b 100644 --- a/service/iotfleetwise/api_op_UpdateSignalCatalog.go +++ b/service/iotfleetwise/api_op_UpdateSignalCatalog.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateSignalCatalogMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSignalCatalogValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_UpdateStateTemplate.go b/service/iotfleetwise/api_op_UpdateStateTemplate.go index adb66baa093..22b2b565c19 100644 --- a/service/iotfleetwise/api_op_UpdateStateTemplate.go +++ b/service/iotfleetwise/api_op_UpdateStateTemplate.go @@ -152,9 +152,6 @@ func (c *Client) addOperationUpdateStateTemplateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateStateTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/api_op_UpdateVehicle.go b/service/iotfleetwise/api_op_UpdateVehicle.go index bc732419234..e7bb6affaf4 100644 --- a/service/iotfleetwise/api_op_UpdateVehicle.go +++ b/service/iotfleetwise/api_op_UpdateVehicle.go @@ -139,9 +139,6 @@ func (c *Client) addOperationUpdateVehicleMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateVehicleValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotfleetwise/snapshot/api_op_AssociateVehicleFleet.go.snap b/service/iotfleetwise/snapshot/api_op_AssociateVehicleFleet.go.snap index 9e9a210c32d..709aa56db85 100644 --- a/service/iotfleetwise/snapshot/api_op_AssociateVehicleFleet.go.snap +++ b/service/iotfleetwise/snapshot/api_op_AssociateVehicleFleet.go.snap @@ -14,7 +14,6 @@ AssociateVehicleFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_BatchCreateVehicle.go.snap b/service/iotfleetwise/snapshot/api_op_BatchCreateVehicle.go.snap index e03510464db..74107180983 100644 --- a/service/iotfleetwise/snapshot/api_op_BatchCreateVehicle.go.snap +++ b/service/iotfleetwise/snapshot/api_op_BatchCreateVehicle.go.snap @@ -14,7 +14,6 @@ BatchCreateVehicle Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_BatchUpdateVehicle.go.snap b/service/iotfleetwise/snapshot/api_op_BatchUpdateVehicle.go.snap index de9e708c824..02cfbd1583e 100644 --- a/service/iotfleetwise/snapshot/api_op_BatchUpdateVehicle.go.snap +++ b/service/iotfleetwise/snapshot/api_op_BatchUpdateVehicle.go.snap @@ -14,7 +14,6 @@ BatchUpdateVehicle Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_CreateCampaign.go.snap b/service/iotfleetwise/snapshot/api_op_CreateCampaign.go.snap index 006efd4883c..f323370a82c 100644 --- a/service/iotfleetwise/snapshot/api_op_CreateCampaign.go.snap +++ b/service/iotfleetwise/snapshot/api_op_CreateCampaign.go.snap @@ -14,7 +14,6 @@ CreateCampaign Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_CreateDecoderManifest.go.snap b/service/iotfleetwise/snapshot/api_op_CreateDecoderManifest.go.snap index 5831569fe65..26347029335 100644 --- a/service/iotfleetwise/snapshot/api_op_CreateDecoderManifest.go.snap +++ b/service/iotfleetwise/snapshot/api_op_CreateDecoderManifest.go.snap @@ -14,7 +14,6 @@ CreateDecoderManifest Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_CreateFleet.go.snap b/service/iotfleetwise/snapshot/api_op_CreateFleet.go.snap index e305f1ff665..de432044562 100644 --- a/service/iotfleetwise/snapshot/api_op_CreateFleet.go.snap +++ b/service/iotfleetwise/snapshot/api_op_CreateFleet.go.snap @@ -14,7 +14,6 @@ CreateFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_CreateModelManifest.go.snap b/service/iotfleetwise/snapshot/api_op_CreateModelManifest.go.snap index 3c7c2b5bde1..5735f79f5a4 100644 --- a/service/iotfleetwise/snapshot/api_op_CreateModelManifest.go.snap +++ b/service/iotfleetwise/snapshot/api_op_CreateModelManifest.go.snap @@ -14,7 +14,6 @@ CreateModelManifest Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_CreateSignalCatalog.go.snap b/service/iotfleetwise/snapshot/api_op_CreateSignalCatalog.go.snap index 3dc3fc51af9..1acd71309c9 100644 --- a/service/iotfleetwise/snapshot/api_op_CreateSignalCatalog.go.snap +++ b/service/iotfleetwise/snapshot/api_op_CreateSignalCatalog.go.snap @@ -14,7 +14,6 @@ CreateSignalCatalog Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_CreateStateTemplate.go.snap b/service/iotfleetwise/snapshot/api_op_CreateStateTemplate.go.snap index 877cf3e103b..9f8f3c181dd 100644 --- a/service/iotfleetwise/snapshot/api_op_CreateStateTemplate.go.snap +++ b/service/iotfleetwise/snapshot/api_op_CreateStateTemplate.go.snap @@ -14,7 +14,6 @@ CreateStateTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_CreateVehicle.go.snap b/service/iotfleetwise/snapshot/api_op_CreateVehicle.go.snap index c1a7eb2cf73..835ca07172c 100644 --- a/service/iotfleetwise/snapshot/api_op_CreateVehicle.go.snap +++ b/service/iotfleetwise/snapshot/api_op_CreateVehicle.go.snap @@ -14,7 +14,6 @@ CreateVehicle Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_DeleteCampaign.go.snap b/service/iotfleetwise/snapshot/api_op_DeleteCampaign.go.snap index bc77c45f728..ddcf5fe9446 100644 --- a/service/iotfleetwise/snapshot/api_op_DeleteCampaign.go.snap +++ b/service/iotfleetwise/snapshot/api_op_DeleteCampaign.go.snap @@ -14,7 +14,6 @@ DeleteCampaign Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_DeleteDecoderManifest.go.snap b/service/iotfleetwise/snapshot/api_op_DeleteDecoderManifest.go.snap index b21a663d3cf..991a5a7abf2 100644 --- a/service/iotfleetwise/snapshot/api_op_DeleteDecoderManifest.go.snap +++ b/service/iotfleetwise/snapshot/api_op_DeleteDecoderManifest.go.snap @@ -14,7 +14,6 @@ DeleteDecoderManifest Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_DeleteFleet.go.snap b/service/iotfleetwise/snapshot/api_op_DeleteFleet.go.snap index 33858ccc341..d726bd6cf54 100644 --- a/service/iotfleetwise/snapshot/api_op_DeleteFleet.go.snap +++ b/service/iotfleetwise/snapshot/api_op_DeleteFleet.go.snap @@ -14,7 +14,6 @@ DeleteFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_DeleteModelManifest.go.snap b/service/iotfleetwise/snapshot/api_op_DeleteModelManifest.go.snap index 70e9b3852fb..8445990dff4 100644 --- a/service/iotfleetwise/snapshot/api_op_DeleteModelManifest.go.snap +++ b/service/iotfleetwise/snapshot/api_op_DeleteModelManifest.go.snap @@ -14,7 +14,6 @@ DeleteModelManifest Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_DeleteSignalCatalog.go.snap b/service/iotfleetwise/snapshot/api_op_DeleteSignalCatalog.go.snap index c8dd88f5f43..444a58abafc 100644 --- a/service/iotfleetwise/snapshot/api_op_DeleteSignalCatalog.go.snap +++ b/service/iotfleetwise/snapshot/api_op_DeleteSignalCatalog.go.snap @@ -14,7 +14,6 @@ DeleteSignalCatalog Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_DeleteStateTemplate.go.snap b/service/iotfleetwise/snapshot/api_op_DeleteStateTemplate.go.snap index d521c41f0e6..5c665a79fd4 100644 --- a/service/iotfleetwise/snapshot/api_op_DeleteStateTemplate.go.snap +++ b/service/iotfleetwise/snapshot/api_op_DeleteStateTemplate.go.snap @@ -14,7 +14,6 @@ DeleteStateTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_DeleteVehicle.go.snap b/service/iotfleetwise/snapshot/api_op_DeleteVehicle.go.snap index aa9625eba32..559352747a1 100644 --- a/service/iotfleetwise/snapshot/api_op_DeleteVehicle.go.snap +++ b/service/iotfleetwise/snapshot/api_op_DeleteVehicle.go.snap @@ -14,7 +14,6 @@ DeleteVehicle Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_DisassociateVehicleFleet.go.snap b/service/iotfleetwise/snapshot/api_op_DisassociateVehicleFleet.go.snap index 6a988695c61..78040860ad4 100644 --- a/service/iotfleetwise/snapshot/api_op_DisassociateVehicleFleet.go.snap +++ b/service/iotfleetwise/snapshot/api_op_DisassociateVehicleFleet.go.snap @@ -14,7 +14,6 @@ DisassociateVehicleFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_GetCampaign.go.snap b/service/iotfleetwise/snapshot/api_op_GetCampaign.go.snap index 54f7692ebbf..5ed19ef3000 100644 --- a/service/iotfleetwise/snapshot/api_op_GetCampaign.go.snap +++ b/service/iotfleetwise/snapshot/api_op_GetCampaign.go.snap @@ -14,7 +14,6 @@ GetCampaign Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_GetDecoderManifest.go.snap b/service/iotfleetwise/snapshot/api_op_GetDecoderManifest.go.snap index d836a1b2aa9..92605c460d1 100644 --- a/service/iotfleetwise/snapshot/api_op_GetDecoderManifest.go.snap +++ b/service/iotfleetwise/snapshot/api_op_GetDecoderManifest.go.snap @@ -14,7 +14,6 @@ GetDecoderManifest Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_GetEncryptionConfiguration.go.snap b/service/iotfleetwise/snapshot/api_op_GetEncryptionConfiguration.go.snap index 17f324dbba6..ee1323aaacc 100644 --- a/service/iotfleetwise/snapshot/api_op_GetEncryptionConfiguration.go.snap +++ b/service/iotfleetwise/snapshot/api_op_GetEncryptionConfiguration.go.snap @@ -13,7 +13,6 @@ GetEncryptionConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_GetFleet.go.snap b/service/iotfleetwise/snapshot/api_op_GetFleet.go.snap index 134dad878aa..dbec2290872 100644 --- a/service/iotfleetwise/snapshot/api_op_GetFleet.go.snap +++ b/service/iotfleetwise/snapshot/api_op_GetFleet.go.snap @@ -14,7 +14,6 @@ GetFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_GetLoggingOptions.go.snap b/service/iotfleetwise/snapshot/api_op_GetLoggingOptions.go.snap index 80e663dbb96..344145739e4 100644 --- a/service/iotfleetwise/snapshot/api_op_GetLoggingOptions.go.snap +++ b/service/iotfleetwise/snapshot/api_op_GetLoggingOptions.go.snap @@ -13,7 +13,6 @@ GetLoggingOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_GetModelManifest.go.snap b/service/iotfleetwise/snapshot/api_op_GetModelManifest.go.snap index 678241bb93a..3a58498dcef 100644 --- a/service/iotfleetwise/snapshot/api_op_GetModelManifest.go.snap +++ b/service/iotfleetwise/snapshot/api_op_GetModelManifest.go.snap @@ -14,7 +14,6 @@ GetModelManifest Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_GetRegisterAccountStatus.go.snap b/service/iotfleetwise/snapshot/api_op_GetRegisterAccountStatus.go.snap index af53992e295..163c2e11b6e 100644 --- a/service/iotfleetwise/snapshot/api_op_GetRegisterAccountStatus.go.snap +++ b/service/iotfleetwise/snapshot/api_op_GetRegisterAccountStatus.go.snap @@ -13,7 +13,6 @@ GetRegisterAccountStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_GetSignalCatalog.go.snap b/service/iotfleetwise/snapshot/api_op_GetSignalCatalog.go.snap index 3118cb76033..1f7b385b889 100644 --- a/service/iotfleetwise/snapshot/api_op_GetSignalCatalog.go.snap +++ b/service/iotfleetwise/snapshot/api_op_GetSignalCatalog.go.snap @@ -14,7 +14,6 @@ GetSignalCatalog Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_GetStateTemplate.go.snap b/service/iotfleetwise/snapshot/api_op_GetStateTemplate.go.snap index a8d654037eb..fed6af69b29 100644 --- a/service/iotfleetwise/snapshot/api_op_GetStateTemplate.go.snap +++ b/service/iotfleetwise/snapshot/api_op_GetStateTemplate.go.snap @@ -14,7 +14,6 @@ GetStateTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_GetVehicle.go.snap b/service/iotfleetwise/snapshot/api_op_GetVehicle.go.snap index 4059e3ddfc2..fb8f09eeabd 100644 --- a/service/iotfleetwise/snapshot/api_op_GetVehicle.go.snap +++ b/service/iotfleetwise/snapshot/api_op_GetVehicle.go.snap @@ -14,7 +14,6 @@ GetVehicle Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_GetVehicleStatus.go.snap b/service/iotfleetwise/snapshot/api_op_GetVehicleStatus.go.snap index 3af604859e1..0bd631736ce 100644 --- a/service/iotfleetwise/snapshot/api_op_GetVehicleStatus.go.snap +++ b/service/iotfleetwise/snapshot/api_op_GetVehicleStatus.go.snap @@ -14,7 +14,6 @@ GetVehicleStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_ImportDecoderManifest.go.snap b/service/iotfleetwise/snapshot/api_op_ImportDecoderManifest.go.snap index e95ac0374a1..ed1d2bfff84 100644 --- a/service/iotfleetwise/snapshot/api_op_ImportDecoderManifest.go.snap +++ b/service/iotfleetwise/snapshot/api_op_ImportDecoderManifest.go.snap @@ -14,7 +14,6 @@ ImportDecoderManifest Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_ImportSignalCatalog.go.snap b/service/iotfleetwise/snapshot/api_op_ImportSignalCatalog.go.snap index 775338b21dd..ca97da857b6 100644 --- a/service/iotfleetwise/snapshot/api_op_ImportSignalCatalog.go.snap +++ b/service/iotfleetwise/snapshot/api_op_ImportSignalCatalog.go.snap @@ -14,7 +14,6 @@ ImportSignalCatalog Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_ListCampaigns.go.snap b/service/iotfleetwise/snapshot/api_op_ListCampaigns.go.snap index 322763cc348..438d8fec1ea 100644 --- a/service/iotfleetwise/snapshot/api_op_ListCampaigns.go.snap +++ b/service/iotfleetwise/snapshot/api_op_ListCampaigns.go.snap @@ -13,7 +13,6 @@ ListCampaigns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_ListDecoderManifestNetworkInterfaces.go.snap b/service/iotfleetwise/snapshot/api_op_ListDecoderManifestNetworkInterfaces.go.snap index 10311b47ec0..34a29519272 100644 --- a/service/iotfleetwise/snapshot/api_op_ListDecoderManifestNetworkInterfaces.go.snap +++ b/service/iotfleetwise/snapshot/api_op_ListDecoderManifestNetworkInterfaces.go.snap @@ -14,7 +14,6 @@ ListDecoderManifestNetworkInterfaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_ListDecoderManifestSignals.go.snap b/service/iotfleetwise/snapshot/api_op_ListDecoderManifestSignals.go.snap index ed7331e5b67..e032322e302 100644 --- a/service/iotfleetwise/snapshot/api_op_ListDecoderManifestSignals.go.snap +++ b/service/iotfleetwise/snapshot/api_op_ListDecoderManifestSignals.go.snap @@ -14,7 +14,6 @@ ListDecoderManifestSignals Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_ListDecoderManifests.go.snap b/service/iotfleetwise/snapshot/api_op_ListDecoderManifests.go.snap index a8e6e7542dd..ca529cec5a2 100644 --- a/service/iotfleetwise/snapshot/api_op_ListDecoderManifests.go.snap +++ b/service/iotfleetwise/snapshot/api_op_ListDecoderManifests.go.snap @@ -13,7 +13,6 @@ ListDecoderManifests Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_ListFleets.go.snap b/service/iotfleetwise/snapshot/api_op_ListFleets.go.snap index 8ddb712ca86..1932a10d210 100644 --- a/service/iotfleetwise/snapshot/api_op_ListFleets.go.snap +++ b/service/iotfleetwise/snapshot/api_op_ListFleets.go.snap @@ -13,7 +13,6 @@ ListFleets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_ListFleetsForVehicle.go.snap b/service/iotfleetwise/snapshot/api_op_ListFleetsForVehicle.go.snap index e78ef90f32d..a2b17c7e21b 100644 --- a/service/iotfleetwise/snapshot/api_op_ListFleetsForVehicle.go.snap +++ b/service/iotfleetwise/snapshot/api_op_ListFleetsForVehicle.go.snap @@ -14,7 +14,6 @@ ListFleetsForVehicle Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_ListModelManifestNodes.go.snap b/service/iotfleetwise/snapshot/api_op_ListModelManifestNodes.go.snap index 8288da1d850..9dd745ac9bb 100644 --- a/service/iotfleetwise/snapshot/api_op_ListModelManifestNodes.go.snap +++ b/service/iotfleetwise/snapshot/api_op_ListModelManifestNodes.go.snap @@ -14,7 +14,6 @@ ListModelManifestNodes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_ListModelManifests.go.snap b/service/iotfleetwise/snapshot/api_op_ListModelManifests.go.snap index 50d43759230..7d96c1eb075 100644 --- a/service/iotfleetwise/snapshot/api_op_ListModelManifests.go.snap +++ b/service/iotfleetwise/snapshot/api_op_ListModelManifests.go.snap @@ -13,7 +13,6 @@ ListModelManifests Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_ListSignalCatalogNodes.go.snap b/service/iotfleetwise/snapshot/api_op_ListSignalCatalogNodes.go.snap index 69bb5507e28..28728dbe9fa 100644 --- a/service/iotfleetwise/snapshot/api_op_ListSignalCatalogNodes.go.snap +++ b/service/iotfleetwise/snapshot/api_op_ListSignalCatalogNodes.go.snap @@ -14,7 +14,6 @@ ListSignalCatalogNodes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_ListSignalCatalogs.go.snap b/service/iotfleetwise/snapshot/api_op_ListSignalCatalogs.go.snap index 8151635690d..b4df63c1bc9 100644 --- a/service/iotfleetwise/snapshot/api_op_ListSignalCatalogs.go.snap +++ b/service/iotfleetwise/snapshot/api_op_ListSignalCatalogs.go.snap @@ -13,7 +13,6 @@ ListSignalCatalogs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_ListStateTemplates.go.snap b/service/iotfleetwise/snapshot/api_op_ListStateTemplates.go.snap index 3e4ca91fb77..52b8d7fcd5a 100644 --- a/service/iotfleetwise/snapshot/api_op_ListStateTemplates.go.snap +++ b/service/iotfleetwise/snapshot/api_op_ListStateTemplates.go.snap @@ -13,7 +13,6 @@ ListStateTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_ListTagsForResource.go.snap b/service/iotfleetwise/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/iotfleetwise/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/iotfleetwise/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_ListVehicles.go.snap b/service/iotfleetwise/snapshot/api_op_ListVehicles.go.snap index c1973c1f6fc..40161de49a8 100644 --- a/service/iotfleetwise/snapshot/api_op_ListVehicles.go.snap +++ b/service/iotfleetwise/snapshot/api_op_ListVehicles.go.snap @@ -13,7 +13,6 @@ ListVehicles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_ListVehiclesInFleet.go.snap b/service/iotfleetwise/snapshot/api_op_ListVehiclesInFleet.go.snap index 521536f2adf..907faeb7806 100644 --- a/service/iotfleetwise/snapshot/api_op_ListVehiclesInFleet.go.snap +++ b/service/iotfleetwise/snapshot/api_op_ListVehiclesInFleet.go.snap @@ -14,7 +14,6 @@ ListVehiclesInFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_PutEncryptionConfiguration.go.snap b/service/iotfleetwise/snapshot/api_op_PutEncryptionConfiguration.go.snap index f3fec78ca4b..cd4dc27b044 100644 --- a/service/iotfleetwise/snapshot/api_op_PutEncryptionConfiguration.go.snap +++ b/service/iotfleetwise/snapshot/api_op_PutEncryptionConfiguration.go.snap @@ -14,7 +14,6 @@ PutEncryptionConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_PutLoggingOptions.go.snap b/service/iotfleetwise/snapshot/api_op_PutLoggingOptions.go.snap index f66b5cd5029..86fb23e71ff 100644 --- a/service/iotfleetwise/snapshot/api_op_PutLoggingOptions.go.snap +++ b/service/iotfleetwise/snapshot/api_op_PutLoggingOptions.go.snap @@ -14,7 +14,6 @@ PutLoggingOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_RegisterAccount.go.snap b/service/iotfleetwise/snapshot/api_op_RegisterAccount.go.snap index 90c7d8724f1..dc265cb8d9a 100644 --- a/service/iotfleetwise/snapshot/api_op_RegisterAccount.go.snap +++ b/service/iotfleetwise/snapshot/api_op_RegisterAccount.go.snap @@ -14,7 +14,6 @@ RegisterAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_TagResource.go.snap b/service/iotfleetwise/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/iotfleetwise/snapshot/api_op_TagResource.go.snap +++ b/service/iotfleetwise/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_UntagResource.go.snap b/service/iotfleetwise/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/iotfleetwise/snapshot/api_op_UntagResource.go.snap +++ b/service/iotfleetwise/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_UpdateCampaign.go.snap b/service/iotfleetwise/snapshot/api_op_UpdateCampaign.go.snap index 1cb9830b73d..4960b57cf5b 100644 --- a/service/iotfleetwise/snapshot/api_op_UpdateCampaign.go.snap +++ b/service/iotfleetwise/snapshot/api_op_UpdateCampaign.go.snap @@ -14,7 +14,6 @@ UpdateCampaign Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_UpdateDecoderManifest.go.snap b/service/iotfleetwise/snapshot/api_op_UpdateDecoderManifest.go.snap index 930c4f645e6..cd458475768 100644 --- a/service/iotfleetwise/snapshot/api_op_UpdateDecoderManifest.go.snap +++ b/service/iotfleetwise/snapshot/api_op_UpdateDecoderManifest.go.snap @@ -14,7 +14,6 @@ UpdateDecoderManifest Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_UpdateFleet.go.snap b/service/iotfleetwise/snapshot/api_op_UpdateFleet.go.snap index 8d6e4ad9bc9..01960fdb712 100644 --- a/service/iotfleetwise/snapshot/api_op_UpdateFleet.go.snap +++ b/service/iotfleetwise/snapshot/api_op_UpdateFleet.go.snap @@ -14,7 +14,6 @@ UpdateFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_UpdateModelManifest.go.snap b/service/iotfleetwise/snapshot/api_op_UpdateModelManifest.go.snap index 97a3f754f1f..8e2c12e4e6f 100644 --- a/service/iotfleetwise/snapshot/api_op_UpdateModelManifest.go.snap +++ b/service/iotfleetwise/snapshot/api_op_UpdateModelManifest.go.snap @@ -14,7 +14,6 @@ UpdateModelManifest Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_UpdateSignalCatalog.go.snap b/service/iotfleetwise/snapshot/api_op_UpdateSignalCatalog.go.snap index 7806545020f..efb715af70c 100644 --- a/service/iotfleetwise/snapshot/api_op_UpdateSignalCatalog.go.snap +++ b/service/iotfleetwise/snapshot/api_op_UpdateSignalCatalog.go.snap @@ -14,7 +14,6 @@ UpdateSignalCatalog Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_UpdateStateTemplate.go.snap b/service/iotfleetwise/snapshot/api_op_UpdateStateTemplate.go.snap index 56568ce1056..8a3ac8d0410 100644 --- a/service/iotfleetwise/snapshot/api_op_UpdateStateTemplate.go.snap +++ b/service/iotfleetwise/snapshot/api_op_UpdateStateTemplate.go.snap @@ -14,7 +14,6 @@ UpdateStateTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotfleetwise/snapshot/api_op_UpdateVehicle.go.snap b/service/iotfleetwise/snapshot/api_op_UpdateVehicle.go.snap index feee853f634..e17fa523d2a 100644 --- a/service/iotfleetwise/snapshot/api_op_UpdateVehicle.go.snap +++ b/service/iotfleetwise/snapshot/api_op_UpdateVehicle.go.snap @@ -14,7 +14,6 @@ UpdateVehicle Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotjobsdataplane/api_client.go b/service/iotjobsdataplane/api_client.go index b2a21f9cdf5..1877354dcfa 100644 --- a/service/iotjobsdataplane/api_client.go +++ b/service/iotjobsdataplane/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/iotjobsdataplane/api_op_DescribeJobExecution.go b/service/iotjobsdataplane/api_op_DescribeJobExecution.go index 990c5f99af1..55f0237f1e8 100644 --- a/service/iotjobsdataplane/api_op_DescribeJobExecution.go +++ b/service/iotjobsdataplane/api_op_DescribeJobExecution.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeJobExecutionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeJobExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotjobsdataplane/api_op_GetPendingJobExecutions.go b/service/iotjobsdataplane/api_op_GetPendingJobExecutions.go index 7313be919cf..389e828a070 100644 --- a/service/iotjobsdataplane/api_op_GetPendingJobExecutions.go +++ b/service/iotjobsdataplane/api_op_GetPendingJobExecutions.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetPendingJobExecutionsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPendingJobExecutionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotjobsdataplane/api_op_StartCommandExecution.go b/service/iotjobsdataplane/api_op_StartCommandExecution.go index 3061541364b..2ca4d60bd3a 100644 --- a/service/iotjobsdataplane/api_op_StartCommandExecution.go +++ b/service/iotjobsdataplane/api_op_StartCommandExecution.go @@ -138,9 +138,6 @@ func (c *Client) addOperationStartCommandExecutionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartCommandExecutionMiddleware(stack, options); err != nil { return err } diff --git a/service/iotjobsdataplane/api_op_StartNextPendingJobExecution.go b/service/iotjobsdataplane/api_op_StartNextPendingJobExecution.go index a8386f96d1d..022558c2f98 100644 --- a/service/iotjobsdataplane/api_op_StartNextPendingJobExecution.go +++ b/service/iotjobsdataplane/api_op_StartNextPendingJobExecution.go @@ -135,9 +135,6 @@ func (c *Client) addOperationStartNextPendingJobExecutionMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartNextPendingJobExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotjobsdataplane/api_op_UpdateJobExecution.go b/service/iotjobsdataplane/api_op_UpdateJobExecution.go index 69a3dcbdaa3..9cbe8630244 100644 --- a/service/iotjobsdataplane/api_op_UpdateJobExecution.go +++ b/service/iotjobsdataplane/api_op_UpdateJobExecution.go @@ -171,9 +171,6 @@ func (c *Client) addOperationUpdateJobExecutionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateJobExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotjobsdataplane/snapshot/api_op_DescribeJobExecution.go.snap b/service/iotjobsdataplane/snapshot/api_op_DescribeJobExecution.go.snap index 71e3fb5f88f..225eb8e16ad 100644 --- a/service/iotjobsdataplane/snapshot/api_op_DescribeJobExecution.go.snap +++ b/service/iotjobsdataplane/snapshot/api_op_DescribeJobExecution.go.snap @@ -14,7 +14,6 @@ DescribeJobExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotjobsdataplane/snapshot/api_op_GetPendingJobExecutions.go.snap b/service/iotjobsdataplane/snapshot/api_op_GetPendingJobExecutions.go.snap index a6bde27c816..661260ab321 100644 --- a/service/iotjobsdataplane/snapshot/api_op_GetPendingJobExecutions.go.snap +++ b/service/iotjobsdataplane/snapshot/api_op_GetPendingJobExecutions.go.snap @@ -14,7 +14,6 @@ GetPendingJobExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotjobsdataplane/snapshot/api_op_StartCommandExecution.go.snap b/service/iotjobsdataplane/snapshot/api_op_StartCommandExecution.go.snap index 4eb4881bd3a..7f7f4b8667e 100644 --- a/service/iotjobsdataplane/snapshot/api_op_StartCommandExecution.go.snap +++ b/service/iotjobsdataplane/snapshot/api_op_StartCommandExecution.go.snap @@ -15,7 +15,6 @@ StartCommandExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotjobsdataplane/snapshot/api_op_StartNextPendingJobExecution.go.snap b/service/iotjobsdataplane/snapshot/api_op_StartNextPendingJobExecution.go.snap index 657ee3d46cc..3ee1e94bbf8 100644 --- a/service/iotjobsdataplane/snapshot/api_op_StartNextPendingJobExecution.go.snap +++ b/service/iotjobsdataplane/snapshot/api_op_StartNextPendingJobExecution.go.snap @@ -14,7 +14,6 @@ StartNextPendingJobExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotjobsdataplane/snapshot/api_op_UpdateJobExecution.go.snap b/service/iotjobsdataplane/snapshot/api_op_UpdateJobExecution.go.snap index e1ebb052044..27cd98b7764 100644 --- a/service/iotjobsdataplane/snapshot/api_op_UpdateJobExecution.go.snap +++ b/service/iotjobsdataplane/snapshot/api_op_UpdateJobExecution.go.snap @@ -14,7 +14,6 @@ UpdateJobExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsecuretunneling/api_client.go b/service/iotsecuretunneling/api_client.go index 52b1ec9043c..598a3a23e97 100644 --- a/service/iotsecuretunneling/api_client.go +++ b/service/iotsecuretunneling/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/iotsecuretunneling/api_op_CloseTunnel.go b/service/iotsecuretunneling/api_op_CloseTunnel.go index e737963285b..58459e72c59 100644 --- a/service/iotsecuretunneling/api_op_CloseTunnel.go +++ b/service/iotsecuretunneling/api_op_CloseTunnel.go @@ -116,9 +116,6 @@ func (c *Client) addOperationCloseTunnelMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCloseTunnelValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotsecuretunneling/api_op_DescribeTunnel.go b/service/iotsecuretunneling/api_op_DescribeTunnel.go index dc3c33c3e46..0fd11b41eb7 100644 --- a/service/iotsecuretunneling/api_op_DescribeTunnel.go +++ b/service/iotsecuretunneling/api_op_DescribeTunnel.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDescribeTunnelMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTunnelValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotsecuretunneling/api_op_ListTagsForResource.go b/service/iotsecuretunneling/api_op_ListTagsForResource.go index ffe4194888f..5ac544477a5 100644 --- a/service/iotsecuretunneling/api_op_ListTagsForResource.go +++ b/service/iotsecuretunneling/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotsecuretunneling/api_op_ListTunnels.go b/service/iotsecuretunneling/api_op_ListTunnels.go index 51c0a9d02d2..da1243ada03 100644 --- a/service/iotsecuretunneling/api_op_ListTunnels.go +++ b/service/iotsecuretunneling/api_op_ListTunnels.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListTunnelsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTunnels(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotsecuretunneling/api_op_OpenTunnel.go b/service/iotsecuretunneling/api_op_OpenTunnel.go index 79ea80fe6bc..2f77d0a4996 100644 --- a/service/iotsecuretunneling/api_op_OpenTunnel.go +++ b/service/iotsecuretunneling/api_op_OpenTunnel.go @@ -134,9 +134,6 @@ func (c *Client) addOperationOpenTunnelMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpOpenTunnelValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotsecuretunneling/api_op_RotateTunnelAccessToken.go b/service/iotsecuretunneling/api_op_RotateTunnelAccessToken.go index b2858dca11a..3adb9811ff7 100644 --- a/service/iotsecuretunneling/api_op_RotateTunnelAccessToken.go +++ b/service/iotsecuretunneling/api_op_RotateTunnelAccessToken.go @@ -139,9 +139,6 @@ func (c *Client) addOperationRotateTunnelAccessTokenMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRotateTunnelAccessTokenValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotsecuretunneling/api_op_TagResource.go b/service/iotsecuretunneling/api_op_TagResource.go index 279ac3db8d2..3b21466acc5 100644 --- a/service/iotsecuretunneling/api_op_TagResource.go +++ b/service/iotsecuretunneling/api_op_TagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotsecuretunneling/api_op_UntagResource.go b/service/iotsecuretunneling/api_op_UntagResource.go index 4d7ce2befd4..f504e4c9029 100644 --- a/service/iotsecuretunneling/api_op_UntagResource.go +++ b/service/iotsecuretunneling/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotsecuretunneling/snapshot/api_op_CloseTunnel.go.snap b/service/iotsecuretunneling/snapshot/api_op_CloseTunnel.go.snap index 79b944a24fc..7162c9d34e5 100644 --- a/service/iotsecuretunneling/snapshot/api_op_CloseTunnel.go.snap +++ b/service/iotsecuretunneling/snapshot/api_op_CloseTunnel.go.snap @@ -14,7 +14,6 @@ CloseTunnel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsecuretunneling/snapshot/api_op_DescribeTunnel.go.snap b/service/iotsecuretunneling/snapshot/api_op_DescribeTunnel.go.snap index c41f2d625a7..3491ebd61e7 100644 --- a/service/iotsecuretunneling/snapshot/api_op_DescribeTunnel.go.snap +++ b/service/iotsecuretunneling/snapshot/api_op_DescribeTunnel.go.snap @@ -14,7 +14,6 @@ DescribeTunnel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsecuretunneling/snapshot/api_op_ListTagsForResource.go.snap b/service/iotsecuretunneling/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/iotsecuretunneling/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/iotsecuretunneling/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsecuretunneling/snapshot/api_op_ListTunnels.go.snap b/service/iotsecuretunneling/snapshot/api_op_ListTunnels.go.snap index a7414494c52..4f92ead4620 100644 --- a/service/iotsecuretunneling/snapshot/api_op_ListTunnels.go.snap +++ b/service/iotsecuretunneling/snapshot/api_op_ListTunnels.go.snap @@ -13,7 +13,6 @@ ListTunnels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsecuretunneling/snapshot/api_op_OpenTunnel.go.snap b/service/iotsecuretunneling/snapshot/api_op_OpenTunnel.go.snap index daad0ea61c0..b2ef1c2bb11 100644 --- a/service/iotsecuretunneling/snapshot/api_op_OpenTunnel.go.snap +++ b/service/iotsecuretunneling/snapshot/api_op_OpenTunnel.go.snap @@ -14,7 +14,6 @@ OpenTunnel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsecuretunneling/snapshot/api_op_RotateTunnelAccessToken.go.snap b/service/iotsecuretunneling/snapshot/api_op_RotateTunnelAccessToken.go.snap index bde94220740..ac1e28c6c20 100644 --- a/service/iotsecuretunneling/snapshot/api_op_RotateTunnelAccessToken.go.snap +++ b/service/iotsecuretunneling/snapshot/api_op_RotateTunnelAccessToken.go.snap @@ -14,7 +14,6 @@ RotateTunnelAccessToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsecuretunneling/snapshot/api_op_TagResource.go.snap b/service/iotsecuretunneling/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/iotsecuretunneling/snapshot/api_op_TagResource.go.snap +++ b/service/iotsecuretunneling/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsecuretunneling/snapshot/api_op_UntagResource.go.snap b/service/iotsecuretunneling/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/iotsecuretunneling/snapshot/api_op_UntagResource.go.snap +++ b/service/iotsecuretunneling/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/api_client.go b/service/iotsitewise/api_client.go index 897483c515b..647ac11df71 100644 --- a/service/iotsitewise/api_client.go +++ b/service/iotsitewise/api_client.go @@ -774,37 +774,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/iotsitewise/api_op_AssociateAssets.go b/service/iotsitewise/api_op_AssociateAssets.go index 86ee2065658..e754d420e3f 100644 --- a/service/iotsitewise/api_op_AssociateAssets.go +++ b/service/iotsitewise/api_op_AssociateAssets.go @@ -141,9 +141,6 @@ func (c *Client) addOperationAssociateAssetsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opAssociateAssetsMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_AssociateTimeSeriesToAssetProperty.go b/service/iotsitewise/api_op_AssociateTimeSeriesToAssetProperty.go index 475bd7109e0..ad7c6437314 100644 --- a/service/iotsitewise/api_op_AssociateTimeSeriesToAssetProperty.go +++ b/service/iotsitewise/api_op_AssociateTimeSeriesToAssetProperty.go @@ -130,9 +130,6 @@ func (c *Client) addOperationAssociateTimeSeriesToAssetPropertyMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opAssociateTimeSeriesToAssetPropertyMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_BatchAssociateProjectAssets.go b/service/iotsitewise/api_op_BatchAssociateProjectAssets.go index 8c85baa808c..5726d294fde 100644 --- a/service/iotsitewise/api_op_BatchAssociateProjectAssets.go +++ b/service/iotsitewise/api_op_BatchAssociateProjectAssets.go @@ -122,9 +122,6 @@ func (c *Client) addOperationBatchAssociateProjectAssetsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opBatchAssociateProjectAssetsMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_BatchDisassociateProjectAssets.go b/service/iotsitewise/api_op_BatchDisassociateProjectAssets.go index 7a553980f82..b7880937fb2 100644 --- a/service/iotsitewise/api_op_BatchDisassociateProjectAssets.go +++ b/service/iotsitewise/api_op_BatchDisassociateProjectAssets.go @@ -122,9 +122,6 @@ func (c *Client) addOperationBatchDisassociateProjectAssetsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opBatchDisassociateProjectAssetsMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_BatchGetAssetPropertyAggregates.go b/service/iotsitewise/api_op_BatchGetAssetPropertyAggregates.go index e5b50cb5ce8..663d9726ed5 100644 --- a/service/iotsitewise/api_op_BatchGetAssetPropertyAggregates.go +++ b/service/iotsitewise/api_op_BatchGetAssetPropertyAggregates.go @@ -149,9 +149,6 @@ func (c *Client) addOperationBatchGetAssetPropertyAggregatesMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opBatchGetAssetPropertyAggregatesMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_BatchGetAssetPropertyValue.go b/service/iotsitewise/api_op_BatchGetAssetPropertyValue.go index 2bda0610f5b..4dd2dcd449e 100644 --- a/service/iotsitewise/api_op_BatchGetAssetPropertyValue.go +++ b/service/iotsitewise/api_op_BatchGetAssetPropertyValue.go @@ -140,9 +140,6 @@ func (c *Client) addOperationBatchGetAssetPropertyValueMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opBatchGetAssetPropertyValueMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_BatchGetAssetPropertyValueHistory.go b/service/iotsitewise/api_op_BatchGetAssetPropertyValueHistory.go index dabb75ba874..f068699f394 100644 --- a/service/iotsitewise/api_op_BatchGetAssetPropertyValueHistory.go +++ b/service/iotsitewise/api_op_BatchGetAssetPropertyValueHistory.go @@ -149,9 +149,6 @@ func (c *Client) addOperationBatchGetAssetPropertyValueHistoryMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opBatchGetAssetPropertyValueHistoryMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_BatchPutAssetPropertyValue.go b/service/iotsitewise/api_op_BatchPutAssetPropertyValue.go index 8de8b1effeb..82116ebc0a7 100644 --- a/service/iotsitewise/api_op_BatchPutAssetPropertyValue.go +++ b/service/iotsitewise/api_op_BatchPutAssetPropertyValue.go @@ -147,9 +147,6 @@ func (c *Client) addOperationBatchPutAssetPropertyValueMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opBatchPutAssetPropertyValueMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_CreateAccessPolicy.go b/service/iotsitewise/api_op_CreateAccessPolicy.go index 07ccbcc9212..fa9fae4fca7 100644 --- a/service/iotsitewise/api_op_CreateAccessPolicy.go +++ b/service/iotsitewise/api_op_CreateAccessPolicy.go @@ -149,9 +149,6 @@ func (c *Client) addOperationCreateAccessPolicyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateAccessPolicyMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_CreateAsset.go b/service/iotsitewise/api_op_CreateAsset.go index 5fb6c07aacb..57e87c62143 100644 --- a/service/iotsitewise/api_op_CreateAsset.go +++ b/service/iotsitewise/api_op_CreateAsset.go @@ -169,9 +169,6 @@ func (c *Client) addOperationCreateAssetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateAssetMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_CreateAssetModel.go b/service/iotsitewise/api_op_CreateAssetModel.go index 65b05c8f340..af9685a153d 100644 --- a/service/iotsitewise/api_op_CreateAssetModel.go +++ b/service/iotsitewise/api_op_CreateAssetModel.go @@ -216,9 +216,6 @@ func (c *Client) addOperationCreateAssetModelMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateAssetModelMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_CreateAssetModelCompositeModel.go b/service/iotsitewise/api_op_CreateAssetModelCompositeModel.go index 1ddace6c846..20b6f137a12 100644 --- a/service/iotsitewise/api_op_CreateAssetModelCompositeModel.go +++ b/service/iotsitewise/api_op_CreateAssetModelCompositeModel.go @@ -215,9 +215,6 @@ func (c *Client) addOperationCreateAssetModelCompositeModelMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateAssetModelCompositeModelMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_CreateBulkImportJob.go b/service/iotsitewise/api_op_CreateBulkImportJob.go index 572fcc810e0..1f8f1377408 100644 --- a/service/iotsitewise/api_op_CreateBulkImportJob.go +++ b/service/iotsitewise/api_op_CreateBulkImportJob.go @@ -186,9 +186,6 @@ func (c *Client) addOperationCreateBulkImportJobMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateBulkImportJobMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_CreateDashboard.go b/service/iotsitewise/api_op_CreateDashboard.go index 9af6204f15b..067f7808402 100644 --- a/service/iotsitewise/api_op_CreateDashboard.go +++ b/service/iotsitewise/api_op_CreateDashboard.go @@ -154,9 +154,6 @@ func (c *Client) addOperationCreateDashboardMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateDashboardMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_CreateDataset.go b/service/iotsitewise/api_op_CreateDataset.go index 2ae31e8850c..b72fcce0324 100644 --- a/service/iotsitewise/api_op_CreateDataset.go +++ b/service/iotsitewise/api_op_CreateDataset.go @@ -151,9 +151,6 @@ func (c *Client) addOperationCreateDatasetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateDatasetMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_CreateGateway.go b/service/iotsitewise/api_op_CreateGateway.go index cafc5453f4a..0fb4d157d24 100644 --- a/service/iotsitewise/api_op_CreateGateway.go +++ b/service/iotsitewise/api_op_CreateGateway.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateGatewayMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateGatewayMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_CreatePortal.go b/service/iotsitewise/api_op_CreatePortal.go index e44b5e8eaa0..15ea4c4eade 100644 --- a/service/iotsitewise/api_op_CreatePortal.go +++ b/service/iotsitewise/api_op_CreatePortal.go @@ -228,9 +228,6 @@ func (c *Client) addOperationCreatePortalMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreatePortalMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_CreateProject.go b/service/iotsitewise/api_op_CreateProject.go index f34c1775275..0ed81677089 100644 --- a/service/iotsitewise/api_op_CreateProject.go +++ b/service/iotsitewise/api_op_CreateProject.go @@ -144,9 +144,6 @@ func (c *Client) addOperationCreateProjectMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateProjectMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DeleteAccessPolicy.go b/service/iotsitewise/api_op_DeleteAccessPolicy.go index 8d84410e29d..a458218f229 100644 --- a/service/iotsitewise/api_op_DeleteAccessPolicy.go +++ b/service/iotsitewise/api_op_DeleteAccessPolicy.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteAccessPolicyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteAccessPolicyMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DeleteAsset.go b/service/iotsitewise/api_op_DeleteAsset.go index 743fcdcc79e..7305d6a36cb 100644 --- a/service/iotsitewise/api_op_DeleteAsset.go +++ b/service/iotsitewise/api_op_DeleteAsset.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDeleteAssetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteAssetMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DeleteAssetModel.go b/service/iotsitewise/api_op_DeleteAssetModel.go index cf075e554f5..194775731e4 100644 --- a/service/iotsitewise/api_op_DeleteAssetModel.go +++ b/service/iotsitewise/api_op_DeleteAssetModel.go @@ -147,9 +147,6 @@ func (c *Client) addOperationDeleteAssetModelMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteAssetModelMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DeleteAssetModelCompositeModel.go b/service/iotsitewise/api_op_DeleteAssetModelCompositeModel.go index 31942e0b9a1..b073a59f48b 100644 --- a/service/iotsitewise/api_op_DeleteAssetModelCompositeModel.go +++ b/service/iotsitewise/api_op_DeleteAssetModelCompositeModel.go @@ -150,9 +150,6 @@ func (c *Client) addOperationDeleteAssetModelCompositeModelMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteAssetModelCompositeModelMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DeleteDashboard.go b/service/iotsitewise/api_op_DeleteDashboard.go index fb2f2a60fe1..28bd5a427cd 100644 --- a/service/iotsitewise/api_op_DeleteDashboard.go +++ b/service/iotsitewise/api_op_DeleteDashboard.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteDashboardMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteDashboardMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DeleteDataset.go b/service/iotsitewise/api_op_DeleteDataset.go index 042b9280bdf..2baae8f18fd 100644 --- a/service/iotsitewise/api_op_DeleteDataset.go +++ b/service/iotsitewise/api_op_DeleteDataset.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteDatasetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteDatasetMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DeleteGateway.go b/service/iotsitewise/api_op_DeleteGateway.go index f4ef08da4c4..e8b8bb63d35 100644 --- a/service/iotsitewise/api_op_DeleteGateway.go +++ b/service/iotsitewise/api_op_DeleteGateway.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteGatewayMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteGatewayMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DeletePortal.go b/service/iotsitewise/api_op_DeletePortal.go index 2abd7ac73f9..f3e88653dd4 100644 --- a/service/iotsitewise/api_op_DeletePortal.go +++ b/service/iotsitewise/api_op_DeletePortal.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeletePortalMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeletePortalMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DeleteProject.go b/service/iotsitewise/api_op_DeleteProject.go index 1d192e4962f..1b99b964cb8 100644 --- a/service/iotsitewise/api_op_DeleteProject.go +++ b/service/iotsitewise/api_op_DeleteProject.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteProjectMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteProjectMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DeleteTimeSeries.go b/service/iotsitewise/api_op_DeleteTimeSeries.go index 730e196c688..2a840d28018 100644 --- a/service/iotsitewise/api_op_DeleteTimeSeries.go +++ b/service/iotsitewise/api_op_DeleteTimeSeries.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDeleteTimeSeriesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteTimeSeriesMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DescribeAccessPolicy.go b/service/iotsitewise/api_op_DescribeAccessPolicy.go index 29a4c0294a5..a36d988391c 100644 --- a/service/iotsitewise/api_op_DescribeAccessPolicy.go +++ b/service/iotsitewise/api_op_DescribeAccessPolicy.go @@ -153,9 +153,6 @@ func (c *Client) addOperationDescribeAccessPolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeAccessPolicyMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DescribeAction.go b/service/iotsitewise/api_op_DescribeAction.go index 5376bfda62c..4b3b38bac2a 100644 --- a/service/iotsitewise/api_op_DescribeAction.go +++ b/service/iotsitewise/api_op_DescribeAction.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDescribeActionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeActionMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DescribeAsset.go b/service/iotsitewise/api_op_DescribeAsset.go index e3162292a1e..a14ff02d9fe 100644 --- a/service/iotsitewise/api_op_DescribeAsset.go +++ b/service/iotsitewise/api_op_DescribeAsset.go @@ -185,9 +185,6 @@ func (c *Client) addOperationDescribeAssetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeAssetMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DescribeAssetCompositeModel.go b/service/iotsitewise/api_op_DescribeAssetCompositeModel.go index ee2998f23c2..9e774a46641 100644 --- a/service/iotsitewise/api_op_DescribeAssetCompositeModel.go +++ b/service/iotsitewise/api_op_DescribeAssetCompositeModel.go @@ -180,9 +180,6 @@ func (c *Client) addOperationDescribeAssetCompositeModelMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeAssetCompositeModelMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DescribeAssetModel.go b/service/iotsitewise/api_op_DescribeAssetModel.go index b1934a3a5c5..6d2cc6545cc 100644 --- a/service/iotsitewise/api_op_DescribeAssetModel.go +++ b/service/iotsitewise/api_op_DescribeAssetModel.go @@ -217,9 +217,6 @@ func (c *Client) addOperationDescribeAssetModelMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeAssetModelMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DescribeAssetModelCompositeModel.go b/service/iotsitewise/api_op_DescribeAssetModelCompositeModel.go index 4957de04b77..a6a20c1de08 100644 --- a/service/iotsitewise/api_op_DescribeAssetModelCompositeModel.go +++ b/service/iotsitewise/api_op_DescribeAssetModelCompositeModel.go @@ -187,9 +187,6 @@ func (c *Client) addOperationDescribeAssetModelCompositeModelMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeAssetModelCompositeModelMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DescribeAssetProperty.go b/service/iotsitewise/api_op_DescribeAssetProperty.go index 2cc1149b552..607411269b8 100644 --- a/service/iotsitewise/api_op_DescribeAssetProperty.go +++ b/service/iotsitewise/api_op_DescribeAssetProperty.go @@ -164,9 +164,6 @@ func (c *Client) addOperationDescribeAssetPropertyMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeAssetPropertyMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DescribeBulkImportJob.go b/service/iotsitewise/api_op_DescribeBulkImportJob.go index ac2174f5759..5bdc8353686 100644 --- a/service/iotsitewise/api_op_DescribeBulkImportJob.go +++ b/service/iotsitewise/api_op_DescribeBulkImportJob.go @@ -189,9 +189,6 @@ func (c *Client) addOperationDescribeBulkImportJobMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeBulkImportJobMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DescribeDashboard.go b/service/iotsitewise/api_op_DescribeDashboard.go index 4862dd2c672..9014551852d 100644 --- a/service/iotsitewise/api_op_DescribeDashboard.go +++ b/service/iotsitewise/api_op_DescribeDashboard.go @@ -154,9 +154,6 @@ func (c *Client) addOperationDescribeDashboardMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeDashboardMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DescribeDataset.go b/service/iotsitewise/api_op_DescribeDataset.go index 0d02e3ddca3..9e388aa90c5 100644 --- a/service/iotsitewise/api_op_DescribeDataset.go +++ b/service/iotsitewise/api_op_DescribeDataset.go @@ -158,9 +158,6 @@ func (c *Client) addOperationDescribeDatasetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeDatasetMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DescribeDefaultEncryptionConfiguration.go b/service/iotsitewise/api_op_DescribeDefaultEncryptionConfiguration.go index f6909b902e5..8d8d7b2ec13 100644 --- a/service/iotsitewise/api_op_DescribeDefaultEncryptionConfiguration.go +++ b/service/iotsitewise/api_op_DescribeDefaultEncryptionConfiguration.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeDefaultEncryptionConfigurationMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeDefaultEncryptionConfigurationMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DescribeGateway.go b/service/iotsitewise/api_op_DescribeGateway.go index 90c6af0daef..067c2b10d71 100644 --- a/service/iotsitewise/api_op_DescribeGateway.go +++ b/service/iotsitewise/api_op_DescribeGateway.go @@ -151,9 +151,6 @@ func (c *Client) addOperationDescribeGatewayMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeGatewayMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DescribeGatewayCapabilityConfiguration.go b/service/iotsitewise/api_op_DescribeGatewayCapabilityConfiguration.go index 5a13b0563fa..07e24671d5b 100644 --- a/service/iotsitewise/api_op_DescribeGatewayCapabilityConfiguration.go +++ b/service/iotsitewise/api_op_DescribeGatewayCapabilityConfiguration.go @@ -161,9 +161,6 @@ func (c *Client) addOperationDescribeGatewayCapabilityConfigurationMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeGatewayCapabilityConfigurationMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DescribeLoggingOptions.go b/service/iotsitewise/api_op_DescribeLoggingOptions.go index 33927a7ed39..b30e6a1f371 100644 --- a/service/iotsitewise/api_op_DescribeLoggingOptions.go +++ b/service/iotsitewise/api_op_DescribeLoggingOptions.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDescribeLoggingOptionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeLoggingOptionsMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DescribePortal.go b/service/iotsitewise/api_op_DescribePortal.go index 8d6972528f7..ececb7b9e68 100644 --- a/service/iotsitewise/api_op_DescribePortal.go +++ b/service/iotsitewise/api_op_DescribePortal.go @@ -201,9 +201,6 @@ func (c *Client) addOperationDescribePortalMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribePortalMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DescribeProject.go b/service/iotsitewise/api_op_DescribeProject.go index 24fd6ca4bdb..208f1df8019 100644 --- a/service/iotsitewise/api_op_DescribeProject.go +++ b/service/iotsitewise/api_op_DescribeProject.go @@ -146,9 +146,6 @@ func (c *Client) addOperationDescribeProjectMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeProjectMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DescribeStorageConfiguration.go b/service/iotsitewise/api_op_DescribeStorageConfiguration.go index e126b10269b..1b1d367d31a 100644 --- a/service/iotsitewise/api_op_DescribeStorageConfiguration.go +++ b/service/iotsitewise/api_op_DescribeStorageConfiguration.go @@ -161,9 +161,6 @@ func (c *Client) addOperationDescribeStorageConfigurationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeStorageConfigurationMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DescribeTimeSeries.go b/service/iotsitewise/api_op_DescribeTimeSeries.go index 5a7459dc94c..7145f92975b 100644 --- a/service/iotsitewise/api_op_DescribeTimeSeries.go +++ b/service/iotsitewise/api_op_DescribeTimeSeries.go @@ -183,9 +183,6 @@ func (c *Client) addOperationDescribeTimeSeriesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeTimeSeriesMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DisassociateAssets.go b/service/iotsitewise/api_op_DisassociateAssets.go index 6fc19cec576..368a2de50bd 100644 --- a/service/iotsitewise/api_op_DisassociateAssets.go +++ b/service/iotsitewise/api_op_DisassociateAssets.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDisassociateAssetsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDisassociateAssetsMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_DisassociateTimeSeriesFromAssetProperty.go b/service/iotsitewise/api_op_DisassociateTimeSeriesFromAssetProperty.go index 47d0e0f967a..2091496a031 100644 --- a/service/iotsitewise/api_op_DisassociateTimeSeriesFromAssetProperty.go +++ b/service/iotsitewise/api_op_DisassociateTimeSeriesFromAssetProperty.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDisassociateTimeSeriesFromAssetPropertyMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDisassociateTimeSeriesFromAssetPropertyMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ExecuteAction.go b/service/iotsitewise/api_op_ExecuteAction.go index 8b4639d0863..b36ae67e7d2 100644 --- a/service/iotsitewise/api_op_ExecuteAction.go +++ b/service/iotsitewise/api_op_ExecuteAction.go @@ -129,9 +129,6 @@ func (c *Client) addOperationExecuteActionMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opExecuteActionMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ExecuteQuery.go b/service/iotsitewise/api_op_ExecuteQuery.go index a20ef29b910..89ec692b737 100644 --- a/service/iotsitewise/api_op_ExecuteQuery.go +++ b/service/iotsitewise/api_op_ExecuteQuery.go @@ -130,9 +130,6 @@ func (c *Client) addOperationExecuteQueryMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opExecuteQueryMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_GetAssetPropertyAggregates.go b/service/iotsitewise/api_op_GetAssetPropertyAggregates.go index 9238fcbe5d9..4cb7557d78d 100644 --- a/service/iotsitewise/api_op_GetAssetPropertyAggregates.go +++ b/service/iotsitewise/api_op_GetAssetPropertyAggregates.go @@ -181,9 +181,6 @@ func (c *Client) addOperationGetAssetPropertyAggregatesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetAssetPropertyAggregatesMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_GetAssetPropertyValue.go b/service/iotsitewise/api_op_GetAssetPropertyValue.go index 10e0da2b77d..92a11632295 100644 --- a/service/iotsitewise/api_op_GetAssetPropertyValue.go +++ b/service/iotsitewise/api_op_GetAssetPropertyValue.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetAssetPropertyValueMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetAssetPropertyValueMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_GetAssetPropertyValueHistory.go b/service/iotsitewise/api_op_GetAssetPropertyValueHistory.go index 66b92f8372d..2389c1e5b15 100644 --- a/service/iotsitewise/api_op_GetAssetPropertyValueHistory.go +++ b/service/iotsitewise/api_op_GetAssetPropertyValueHistory.go @@ -167,9 +167,6 @@ func (c *Client) addOperationGetAssetPropertyValueHistoryMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetAssetPropertyValueHistoryMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_GetInterpolatedAssetPropertyValues.go b/service/iotsitewise/api_op_GetInterpolatedAssetPropertyValues.go index 83a92e8dd21..dde96a1b9e2 100644 --- a/service/iotsitewise/api_op_GetInterpolatedAssetPropertyValues.go +++ b/service/iotsitewise/api_op_GetInterpolatedAssetPropertyValues.go @@ -231,9 +231,6 @@ func (c *Client) addOperationGetInterpolatedAssetPropertyValuesMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetInterpolatedAssetPropertyValuesMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_InvokeAssistant.go b/service/iotsitewise/api_op_InvokeAssistant.go index cd58506b5fa..7b4f3bf2c5e 100644 --- a/service/iotsitewise/api_op_InvokeAssistant.go +++ b/service/iotsitewise/api_op_InvokeAssistant.go @@ -131,9 +131,6 @@ func (c *Client) addOperationInvokeAssistantMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opInvokeAssistantMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListAccessPolicies.go b/service/iotsitewise/api_op_ListAccessPolicies.go index 6439fd771b6..84ecf14bbdc 100644 --- a/service/iotsitewise/api_op_ListAccessPolicies.go +++ b/service/iotsitewise/api_op_ListAccessPolicies.go @@ -144,9 +144,6 @@ func (c *Client) addOperationListAccessPoliciesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListAccessPoliciesMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListActions.go b/service/iotsitewise/api_op_ListActions.go index f6ba63a72a6..eb7f14ddcde 100644 --- a/service/iotsitewise/api_op_ListActions.go +++ b/service/iotsitewise/api_op_ListActions.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListActionsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListActionsMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListAssetModelCompositeModels.go b/service/iotsitewise/api_op_ListAssetModelCompositeModels.go index a022765ff14..538fe4592c2 100644 --- a/service/iotsitewise/api_op_ListAssetModelCompositeModels.go +++ b/service/iotsitewise/api_op_ListAssetModelCompositeModels.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListAssetModelCompositeModelsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListAssetModelCompositeModelsMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListAssetModelProperties.go b/service/iotsitewise/api_op_ListAssetModelProperties.go index 52c298899c7..a3a8299044c 100644 --- a/service/iotsitewise/api_op_ListAssetModelProperties.go +++ b/service/iotsitewise/api_op_ListAssetModelProperties.go @@ -150,9 +150,6 @@ func (c *Client) addOperationListAssetModelPropertiesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListAssetModelPropertiesMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListAssetModels.go b/service/iotsitewise/api_op_ListAssetModels.go index 9e36d07c2c7..25c315ac649 100644 --- a/service/iotsitewise/api_op_ListAssetModels.go +++ b/service/iotsitewise/api_op_ListAssetModels.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListAssetModelsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListAssetModelsMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListAssetProperties.go b/service/iotsitewise/api_op_ListAssetProperties.go index b35e6b1e5c6..da1dcd194f1 100644 --- a/service/iotsitewise/api_op_ListAssetProperties.go +++ b/service/iotsitewise/api_op_ListAssetProperties.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListAssetPropertiesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListAssetPropertiesMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListAssetRelationships.go b/service/iotsitewise/api_op_ListAssetRelationships.go index 7b50d1fc6b6..1b084f4b056 100644 --- a/service/iotsitewise/api_op_ListAssetRelationships.go +++ b/service/iotsitewise/api_op_ListAssetRelationships.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListAssetRelationshipsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListAssetRelationshipsMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListAssets.go b/service/iotsitewise/api_op_ListAssets.go index f63b039732f..d752520688a 100644 --- a/service/iotsitewise/api_op_ListAssets.go +++ b/service/iotsitewise/api_op_ListAssets.go @@ -153,9 +153,6 @@ func (c *Client) addOperationListAssetsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListAssetsMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListAssociatedAssets.go b/service/iotsitewise/api_op_ListAssociatedAssets.go index 4167a24a4c8..887353f3689 100644 --- a/service/iotsitewise/api_op_ListAssociatedAssets.go +++ b/service/iotsitewise/api_op_ListAssociatedAssets.go @@ -159,9 +159,6 @@ func (c *Client) addOperationListAssociatedAssetsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListAssociatedAssetsMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListBulkImportJobs.go b/service/iotsitewise/api_op_ListBulkImportJobs.go index 69d086242e9..8e86125a4e1 100644 --- a/service/iotsitewise/api_op_ListBulkImportJobs.go +++ b/service/iotsitewise/api_op_ListBulkImportJobs.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListBulkImportJobsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListBulkImportJobsMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListCompositionRelationships.go b/service/iotsitewise/api_op_ListCompositionRelationships.go index 463eaefd29c..c68dc993bfb 100644 --- a/service/iotsitewise/api_op_ListCompositionRelationships.go +++ b/service/iotsitewise/api_op_ListCompositionRelationships.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListCompositionRelationshipsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListCompositionRelationshipsMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListDashboards.go b/service/iotsitewise/api_op_ListDashboards.go index d3add8fc437..c7e289ad673 100644 --- a/service/iotsitewise/api_op_ListDashboards.go +++ b/service/iotsitewise/api_op_ListDashboards.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListDashboardsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListDashboardsMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListDatasets.go b/service/iotsitewise/api_op_ListDatasets.go index 44bde837423..3560f04d59a 100644 --- a/service/iotsitewise/api_op_ListDatasets.go +++ b/service/iotsitewise/api_op_ListDatasets.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListDatasetsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListDatasetsMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListGateways.go b/service/iotsitewise/api_op_ListGateways.go index 405ab07b650..1d0966f6840 100644 --- a/service/iotsitewise/api_op_ListGateways.go +++ b/service/iotsitewise/api_op_ListGateways.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListGatewaysMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListGatewaysMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListPortals.go b/service/iotsitewise/api_op_ListPortals.go index de470a4d8e9..23f79d02286 100644 --- a/service/iotsitewise/api_op_ListPortals.go +++ b/service/iotsitewise/api_op_ListPortals.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListPortalsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListPortalsMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListProjectAssets.go b/service/iotsitewise/api_op_ListProjectAssets.go index d471c1ee4db..4bab26106a3 100644 --- a/service/iotsitewise/api_op_ListProjectAssets.go +++ b/service/iotsitewise/api_op_ListProjectAssets.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListProjectAssetsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListProjectAssetsMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListProjects.go b/service/iotsitewise/api_op_ListProjects.go index 03e5301b3a0..108c65e8c2b 100644 --- a/service/iotsitewise/api_op_ListProjects.go +++ b/service/iotsitewise/api_op_ListProjects.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListProjectsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListProjectsMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListTagsForResource.go b/service/iotsitewise/api_op_ListTagsForResource.go index a93fcf49535..584ed2158b0 100644 --- a/service/iotsitewise/api_op_ListTagsForResource.go +++ b/service/iotsitewise/api_op_ListTagsForResource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListTagsForResourceMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_ListTimeSeries.go b/service/iotsitewise/api_op_ListTimeSeries.go index 6f174baa234..dc01cdad4ba 100644 --- a/service/iotsitewise/api_op_ListTimeSeries.go +++ b/service/iotsitewise/api_op_ListTimeSeries.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListTimeSeriesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListTimeSeriesMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_PutDefaultEncryptionConfiguration.go b/service/iotsitewise/api_op_PutDefaultEncryptionConfiguration.go index b6c475a00fb..a9336a641db 100644 --- a/service/iotsitewise/api_op_PutDefaultEncryptionConfiguration.go +++ b/service/iotsitewise/api_op_PutDefaultEncryptionConfiguration.go @@ -131,9 +131,6 @@ func (c *Client) addOperationPutDefaultEncryptionConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opPutDefaultEncryptionConfigurationMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_PutLoggingOptions.go b/service/iotsitewise/api_op_PutLoggingOptions.go index 49e49d206f6..5b99d53a38a 100644 --- a/service/iotsitewise/api_op_PutLoggingOptions.go +++ b/service/iotsitewise/api_op_PutLoggingOptions.go @@ -108,9 +108,6 @@ func (c *Client) addOperationPutLoggingOptionsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opPutLoggingOptionsMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_PutStorageConfiguration.go b/service/iotsitewise/api_op_PutStorageConfiguration.go index 7a93f79af33..7c70c4149c0 100644 --- a/service/iotsitewise/api_op_PutStorageConfiguration.go +++ b/service/iotsitewise/api_op_PutStorageConfiguration.go @@ -208,9 +208,6 @@ func (c *Client) addOperationPutStorageConfigurationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opPutStorageConfigurationMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_TagResource.go b/service/iotsitewise/api_op_TagResource.go index a7f52cd9f65..1cc263b2474 100644 --- a/service/iotsitewise/api_op_TagResource.go +++ b/service/iotsitewise/api_op_TagResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opTagResourceMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_UntagResource.go b/service/iotsitewise/api_op_UntagResource.go index cbb952f304c..774de8ce2d2 100644 --- a/service/iotsitewise/api_op_UntagResource.go +++ b/service/iotsitewise/api_op_UntagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUntagResourceMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_UpdateAccessPolicy.go b/service/iotsitewise/api_op_UpdateAccessPolicy.go index 65f9f2faddb..342733ae4bf 100644 --- a/service/iotsitewise/api_op_UpdateAccessPolicy.go +++ b/service/iotsitewise/api_op_UpdateAccessPolicy.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdateAccessPolicyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateAccessPolicyMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_UpdateAsset.go b/service/iotsitewise/api_op_UpdateAsset.go index 27df1126069..c4ee597e8a3 100644 --- a/service/iotsitewise/api_op_UpdateAsset.go +++ b/service/iotsitewise/api_op_UpdateAsset.go @@ -142,9 +142,6 @@ func (c *Client) addOperationUpdateAssetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateAssetMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_UpdateAssetModel.go b/service/iotsitewise/api_op_UpdateAssetModel.go index 62f6e3f5776..25318936ae4 100644 --- a/service/iotsitewise/api_op_UpdateAssetModel.go +++ b/service/iotsitewise/api_op_UpdateAssetModel.go @@ -208,9 +208,6 @@ func (c *Client) addOperationUpdateAssetModelMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateAssetModelMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_UpdateAssetModelCompositeModel.go b/service/iotsitewise/api_op_UpdateAssetModelCompositeModel.go index eb1560edf28..a1710ec4f4f 100644 --- a/service/iotsitewise/api_op_UpdateAssetModelCompositeModel.go +++ b/service/iotsitewise/api_op_UpdateAssetModelCompositeModel.go @@ -191,9 +191,6 @@ func (c *Client) addOperationUpdateAssetModelCompositeModelMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateAssetModelCompositeModelMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_UpdateAssetProperty.go b/service/iotsitewise/api_op_UpdateAssetProperty.go index fcaa91b1002..16d06050870 100644 --- a/service/iotsitewise/api_op_UpdateAssetProperty.go +++ b/service/iotsitewise/api_op_UpdateAssetProperty.go @@ -157,9 +157,6 @@ func (c *Client) addOperationUpdateAssetPropertyMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateAssetPropertyMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_UpdateDashboard.go b/service/iotsitewise/api_op_UpdateDashboard.go index 651b049f523..12088b23365 100644 --- a/service/iotsitewise/api_op_UpdateDashboard.go +++ b/service/iotsitewise/api_op_UpdateDashboard.go @@ -133,9 +133,6 @@ func (c *Client) addOperationUpdateDashboardMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateDashboardMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_UpdateDataset.go b/service/iotsitewise/api_op_UpdateDataset.go index 850dcf8f391..6d07a7f4b45 100644 --- a/service/iotsitewise/api_op_UpdateDataset.go +++ b/service/iotsitewise/api_op_UpdateDataset.go @@ -141,9 +141,6 @@ func (c *Client) addOperationUpdateDatasetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateDatasetMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_UpdateGateway.go b/service/iotsitewise/api_op_UpdateGateway.go index 3dd1ee29f75..a83c4ca4c4b 100644 --- a/service/iotsitewise/api_op_UpdateGateway.go +++ b/service/iotsitewise/api_op_UpdateGateway.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUpdateGatewayMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateGatewayMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_UpdateGatewayCapabilityConfiguration.go b/service/iotsitewise/api_op_UpdateGatewayCapabilityConfiguration.go index b5433621d2b..66a394953f8 100644 --- a/service/iotsitewise/api_op_UpdateGatewayCapabilityConfiguration.go +++ b/service/iotsitewise/api_op_UpdateGatewayCapabilityConfiguration.go @@ -159,9 +159,6 @@ func (c *Client) addOperationUpdateGatewayCapabilityConfigurationMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateGatewayCapabilityConfigurationMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_UpdatePortal.go b/service/iotsitewise/api_op_UpdatePortal.go index 2ca47a831b7..a50ee65914f 100644 --- a/service/iotsitewise/api_op_UpdatePortal.go +++ b/service/iotsitewise/api_op_UpdatePortal.go @@ -171,9 +171,6 @@ func (c *Client) addOperationUpdatePortalMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdatePortalMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/api_op_UpdateProject.go b/service/iotsitewise/api_op_UpdateProject.go index 27f868c3a08..e81508517c4 100644 --- a/service/iotsitewise/api_op_UpdateProject.go +++ b/service/iotsitewise/api_op_UpdateProject.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdateProjectMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateProjectMiddleware(stack); err != nil { return err } diff --git a/service/iotsitewise/snapshot/api_op_AssociateAssets.go.snap b/service/iotsitewise/snapshot/api_op_AssociateAssets.go.snap index 8c2aeb95921..99506598a86 100644 --- a/service/iotsitewise/snapshot/api_op_AssociateAssets.go.snap +++ b/service/iotsitewise/snapshot/api_op_AssociateAssets.go.snap @@ -15,7 +15,6 @@ AssociateAssets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_AssociateTimeSeriesToAssetProperty.go.snap b/service/iotsitewise/snapshot/api_op_AssociateTimeSeriesToAssetProperty.go.snap index 0afe4d4020c..8367431ab4c 100644 --- a/service/iotsitewise/snapshot/api_op_AssociateTimeSeriesToAssetProperty.go.snap +++ b/service/iotsitewise/snapshot/api_op_AssociateTimeSeriesToAssetProperty.go.snap @@ -15,7 +15,6 @@ AssociateTimeSeriesToAssetProperty Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_BatchAssociateProjectAssets.go.snap b/service/iotsitewise/snapshot/api_op_BatchAssociateProjectAssets.go.snap index 2c178b13e30..beb9fdc958a 100644 --- a/service/iotsitewise/snapshot/api_op_BatchAssociateProjectAssets.go.snap +++ b/service/iotsitewise/snapshot/api_op_BatchAssociateProjectAssets.go.snap @@ -15,7 +15,6 @@ BatchAssociateProjectAssets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_BatchDisassociateProjectAssets.go.snap b/service/iotsitewise/snapshot/api_op_BatchDisassociateProjectAssets.go.snap index 3364c7f7a3d..a711705b557 100644 --- a/service/iotsitewise/snapshot/api_op_BatchDisassociateProjectAssets.go.snap +++ b/service/iotsitewise/snapshot/api_op_BatchDisassociateProjectAssets.go.snap @@ -15,7 +15,6 @@ BatchDisassociateProjectAssets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_BatchGetAssetPropertyAggregates.go.snap b/service/iotsitewise/snapshot/api_op_BatchGetAssetPropertyAggregates.go.snap index 2b118ba910c..f19c978fb4e 100644 --- a/service/iotsitewise/snapshot/api_op_BatchGetAssetPropertyAggregates.go.snap +++ b/service/iotsitewise/snapshot/api_op_BatchGetAssetPropertyAggregates.go.snap @@ -14,7 +14,6 @@ BatchGetAssetPropertyAggregates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_BatchGetAssetPropertyValue.go.snap b/service/iotsitewise/snapshot/api_op_BatchGetAssetPropertyValue.go.snap index e2dd0ac9eed..556ca3d2935 100644 --- a/service/iotsitewise/snapshot/api_op_BatchGetAssetPropertyValue.go.snap +++ b/service/iotsitewise/snapshot/api_op_BatchGetAssetPropertyValue.go.snap @@ -14,7 +14,6 @@ BatchGetAssetPropertyValue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_BatchGetAssetPropertyValueHistory.go.snap b/service/iotsitewise/snapshot/api_op_BatchGetAssetPropertyValueHistory.go.snap index 03fd35ef0cb..9d13ce95860 100644 --- a/service/iotsitewise/snapshot/api_op_BatchGetAssetPropertyValueHistory.go.snap +++ b/service/iotsitewise/snapshot/api_op_BatchGetAssetPropertyValueHistory.go.snap @@ -14,7 +14,6 @@ BatchGetAssetPropertyValueHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_BatchPutAssetPropertyValue.go.snap b/service/iotsitewise/snapshot/api_op_BatchPutAssetPropertyValue.go.snap index c4dd0800b09..fc6b5e46144 100644 --- a/service/iotsitewise/snapshot/api_op_BatchPutAssetPropertyValue.go.snap +++ b/service/iotsitewise/snapshot/api_op_BatchPutAssetPropertyValue.go.snap @@ -14,7 +14,6 @@ BatchPutAssetPropertyValue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_CreateAccessPolicy.go.snap b/service/iotsitewise/snapshot/api_op_CreateAccessPolicy.go.snap index 0f9f6410420..0a9f079548d 100644 --- a/service/iotsitewise/snapshot/api_op_CreateAccessPolicy.go.snap +++ b/service/iotsitewise/snapshot/api_op_CreateAccessPolicy.go.snap @@ -15,7 +15,6 @@ CreateAccessPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_CreateAsset.go.snap b/service/iotsitewise/snapshot/api_op_CreateAsset.go.snap index df13d2bb0a2..4abcfd84a3a 100644 --- a/service/iotsitewise/snapshot/api_op_CreateAsset.go.snap +++ b/service/iotsitewise/snapshot/api_op_CreateAsset.go.snap @@ -15,7 +15,6 @@ CreateAsset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_CreateAssetModel.go.snap b/service/iotsitewise/snapshot/api_op_CreateAssetModel.go.snap index 574f77a4421..42099717f22 100644 --- a/service/iotsitewise/snapshot/api_op_CreateAssetModel.go.snap +++ b/service/iotsitewise/snapshot/api_op_CreateAssetModel.go.snap @@ -15,7 +15,6 @@ CreateAssetModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_CreateAssetModelCompositeModel.go.snap b/service/iotsitewise/snapshot/api_op_CreateAssetModelCompositeModel.go.snap index c73388297cc..12dd71cf6d5 100644 --- a/service/iotsitewise/snapshot/api_op_CreateAssetModelCompositeModel.go.snap +++ b/service/iotsitewise/snapshot/api_op_CreateAssetModelCompositeModel.go.snap @@ -15,7 +15,6 @@ CreateAssetModelCompositeModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_CreateBulkImportJob.go.snap b/service/iotsitewise/snapshot/api_op_CreateBulkImportJob.go.snap index e55386504e5..7c0c962bde5 100644 --- a/service/iotsitewise/snapshot/api_op_CreateBulkImportJob.go.snap +++ b/service/iotsitewise/snapshot/api_op_CreateBulkImportJob.go.snap @@ -14,7 +14,6 @@ CreateBulkImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_CreateDashboard.go.snap b/service/iotsitewise/snapshot/api_op_CreateDashboard.go.snap index 49aa1d24b05..8ea7550cd9c 100644 --- a/service/iotsitewise/snapshot/api_op_CreateDashboard.go.snap +++ b/service/iotsitewise/snapshot/api_op_CreateDashboard.go.snap @@ -15,7 +15,6 @@ CreateDashboard Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_CreateDataset.go.snap b/service/iotsitewise/snapshot/api_op_CreateDataset.go.snap index dd90576b106..84ff9c6ff51 100644 --- a/service/iotsitewise/snapshot/api_op_CreateDataset.go.snap +++ b/service/iotsitewise/snapshot/api_op_CreateDataset.go.snap @@ -15,7 +15,6 @@ CreateDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_CreateGateway.go.snap b/service/iotsitewise/snapshot/api_op_CreateGateway.go.snap index b634e78362e..ccf7f2ed0bc 100644 --- a/service/iotsitewise/snapshot/api_op_CreateGateway.go.snap +++ b/service/iotsitewise/snapshot/api_op_CreateGateway.go.snap @@ -14,7 +14,6 @@ CreateGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_CreatePortal.go.snap b/service/iotsitewise/snapshot/api_op_CreatePortal.go.snap index ce089b3befa..b12a5e092de 100644 --- a/service/iotsitewise/snapshot/api_op_CreatePortal.go.snap +++ b/service/iotsitewise/snapshot/api_op_CreatePortal.go.snap @@ -15,7 +15,6 @@ CreatePortal Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_CreateProject.go.snap b/service/iotsitewise/snapshot/api_op_CreateProject.go.snap index 1bd87f59611..fbe1ec29a31 100644 --- a/service/iotsitewise/snapshot/api_op_CreateProject.go.snap +++ b/service/iotsitewise/snapshot/api_op_CreateProject.go.snap @@ -15,7 +15,6 @@ CreateProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_DeleteAccessPolicy.go.snap b/service/iotsitewise/snapshot/api_op_DeleteAccessPolicy.go.snap index 7ca67cd2cf2..828f91c14e4 100644 --- a/service/iotsitewise/snapshot/api_op_DeleteAccessPolicy.go.snap +++ b/service/iotsitewise/snapshot/api_op_DeleteAccessPolicy.go.snap @@ -15,7 +15,6 @@ DeleteAccessPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_DeleteAsset.go.snap b/service/iotsitewise/snapshot/api_op_DeleteAsset.go.snap index a95e3e25e82..b9d41a73893 100644 --- a/service/iotsitewise/snapshot/api_op_DeleteAsset.go.snap +++ b/service/iotsitewise/snapshot/api_op_DeleteAsset.go.snap @@ -15,7 +15,6 @@ DeleteAsset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_DeleteAssetModel.go.snap b/service/iotsitewise/snapshot/api_op_DeleteAssetModel.go.snap index c27ee0c157f..82a4bfc3e2f 100644 --- a/service/iotsitewise/snapshot/api_op_DeleteAssetModel.go.snap +++ b/service/iotsitewise/snapshot/api_op_DeleteAssetModel.go.snap @@ -15,7 +15,6 @@ DeleteAssetModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_DeleteAssetModelCompositeModel.go.snap b/service/iotsitewise/snapshot/api_op_DeleteAssetModelCompositeModel.go.snap index 79bb64ba081..fa403bae96f 100644 --- a/service/iotsitewise/snapshot/api_op_DeleteAssetModelCompositeModel.go.snap +++ b/service/iotsitewise/snapshot/api_op_DeleteAssetModelCompositeModel.go.snap @@ -15,7 +15,6 @@ DeleteAssetModelCompositeModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_DeleteDashboard.go.snap b/service/iotsitewise/snapshot/api_op_DeleteDashboard.go.snap index d1706aca55c..0b46f3c8474 100644 --- a/service/iotsitewise/snapshot/api_op_DeleteDashboard.go.snap +++ b/service/iotsitewise/snapshot/api_op_DeleteDashboard.go.snap @@ -15,7 +15,6 @@ DeleteDashboard Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_DeleteDataset.go.snap b/service/iotsitewise/snapshot/api_op_DeleteDataset.go.snap index 0a580afe0cf..c408a67ca0c 100644 --- a/service/iotsitewise/snapshot/api_op_DeleteDataset.go.snap +++ b/service/iotsitewise/snapshot/api_op_DeleteDataset.go.snap @@ -15,7 +15,6 @@ DeleteDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_DeleteGateway.go.snap b/service/iotsitewise/snapshot/api_op_DeleteGateway.go.snap index 499adff3142..40a4d2bbffb 100644 --- a/service/iotsitewise/snapshot/api_op_DeleteGateway.go.snap +++ b/service/iotsitewise/snapshot/api_op_DeleteGateway.go.snap @@ -14,7 +14,6 @@ DeleteGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_DeletePortal.go.snap b/service/iotsitewise/snapshot/api_op_DeletePortal.go.snap index 7802e1bc034..698eda0ecfe 100644 --- a/service/iotsitewise/snapshot/api_op_DeletePortal.go.snap +++ b/service/iotsitewise/snapshot/api_op_DeletePortal.go.snap @@ -15,7 +15,6 @@ DeletePortal Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_DeleteProject.go.snap b/service/iotsitewise/snapshot/api_op_DeleteProject.go.snap index d5624aa51b6..a07a20054a0 100644 --- a/service/iotsitewise/snapshot/api_op_DeleteProject.go.snap +++ b/service/iotsitewise/snapshot/api_op_DeleteProject.go.snap @@ -15,7 +15,6 @@ DeleteProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_DeleteTimeSeries.go.snap b/service/iotsitewise/snapshot/api_op_DeleteTimeSeries.go.snap index 98da4528f91..7bfe628064d 100644 --- a/service/iotsitewise/snapshot/api_op_DeleteTimeSeries.go.snap +++ b/service/iotsitewise/snapshot/api_op_DeleteTimeSeries.go.snap @@ -14,7 +14,6 @@ DeleteTimeSeries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_DescribeAccessPolicy.go.snap b/service/iotsitewise/snapshot/api_op_DescribeAccessPolicy.go.snap index 11ee24fb578..7d9fea84911 100644 --- a/service/iotsitewise/snapshot/api_op_DescribeAccessPolicy.go.snap +++ b/service/iotsitewise/snapshot/api_op_DescribeAccessPolicy.go.snap @@ -14,7 +14,6 @@ DescribeAccessPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_DescribeAction.go.snap b/service/iotsitewise/snapshot/api_op_DescribeAction.go.snap index fc1273669f5..be527afd6d7 100644 --- a/service/iotsitewise/snapshot/api_op_DescribeAction.go.snap +++ b/service/iotsitewise/snapshot/api_op_DescribeAction.go.snap @@ -14,7 +14,6 @@ DescribeAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_DescribeAsset.go.snap b/service/iotsitewise/snapshot/api_op_DescribeAsset.go.snap index 47f2d7f83a1..dac8b9da103 100644 --- a/service/iotsitewise/snapshot/api_op_DescribeAsset.go.snap +++ b/service/iotsitewise/snapshot/api_op_DescribeAsset.go.snap @@ -14,7 +14,6 @@ DescribeAsset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_DescribeAssetCompositeModel.go.snap b/service/iotsitewise/snapshot/api_op_DescribeAssetCompositeModel.go.snap index 0d33655414b..7c4cdbf6a4d 100644 --- a/service/iotsitewise/snapshot/api_op_DescribeAssetCompositeModel.go.snap +++ b/service/iotsitewise/snapshot/api_op_DescribeAssetCompositeModel.go.snap @@ -14,7 +14,6 @@ DescribeAssetCompositeModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_DescribeAssetModel.go.snap b/service/iotsitewise/snapshot/api_op_DescribeAssetModel.go.snap index 9e4a854210d..e1552e9d5c3 100644 --- a/service/iotsitewise/snapshot/api_op_DescribeAssetModel.go.snap +++ b/service/iotsitewise/snapshot/api_op_DescribeAssetModel.go.snap @@ -14,7 +14,6 @@ DescribeAssetModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_DescribeAssetModelCompositeModel.go.snap b/service/iotsitewise/snapshot/api_op_DescribeAssetModelCompositeModel.go.snap index 3964aa2fbd2..34e65ab2b18 100644 --- a/service/iotsitewise/snapshot/api_op_DescribeAssetModelCompositeModel.go.snap +++ b/service/iotsitewise/snapshot/api_op_DescribeAssetModelCompositeModel.go.snap @@ -14,7 +14,6 @@ DescribeAssetModelCompositeModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_DescribeAssetProperty.go.snap b/service/iotsitewise/snapshot/api_op_DescribeAssetProperty.go.snap index 255b517699b..e95da2e1dea 100644 --- a/service/iotsitewise/snapshot/api_op_DescribeAssetProperty.go.snap +++ b/service/iotsitewise/snapshot/api_op_DescribeAssetProperty.go.snap @@ -14,7 +14,6 @@ DescribeAssetProperty Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_DescribeBulkImportJob.go.snap b/service/iotsitewise/snapshot/api_op_DescribeBulkImportJob.go.snap index 50392fed181..78d7c61fe84 100644 --- a/service/iotsitewise/snapshot/api_op_DescribeBulkImportJob.go.snap +++ b/service/iotsitewise/snapshot/api_op_DescribeBulkImportJob.go.snap @@ -14,7 +14,6 @@ DescribeBulkImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_DescribeDashboard.go.snap b/service/iotsitewise/snapshot/api_op_DescribeDashboard.go.snap index d8f12e8efbb..a6e28a46bff 100644 --- a/service/iotsitewise/snapshot/api_op_DescribeDashboard.go.snap +++ b/service/iotsitewise/snapshot/api_op_DescribeDashboard.go.snap @@ -14,7 +14,6 @@ DescribeDashboard Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_DescribeDataset.go.snap b/service/iotsitewise/snapshot/api_op_DescribeDataset.go.snap index c1d1e0c3448..1c401c88806 100644 --- a/service/iotsitewise/snapshot/api_op_DescribeDataset.go.snap +++ b/service/iotsitewise/snapshot/api_op_DescribeDataset.go.snap @@ -14,7 +14,6 @@ DescribeDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_DescribeDefaultEncryptionConfiguration.go.snap b/service/iotsitewise/snapshot/api_op_DescribeDefaultEncryptionConfiguration.go.snap index 227072e1308..4b64d81ed1f 100644 --- a/service/iotsitewise/snapshot/api_op_DescribeDefaultEncryptionConfiguration.go.snap +++ b/service/iotsitewise/snapshot/api_op_DescribeDefaultEncryptionConfiguration.go.snap @@ -13,7 +13,6 @@ DescribeDefaultEncryptionConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_DescribeGateway.go.snap b/service/iotsitewise/snapshot/api_op_DescribeGateway.go.snap index 4ff4d1f67b7..47f6f18db5e 100644 --- a/service/iotsitewise/snapshot/api_op_DescribeGateway.go.snap +++ b/service/iotsitewise/snapshot/api_op_DescribeGateway.go.snap @@ -14,7 +14,6 @@ DescribeGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_DescribeGatewayCapabilityConfiguration.go.snap b/service/iotsitewise/snapshot/api_op_DescribeGatewayCapabilityConfiguration.go.snap index 568cf80e812..b9ef0b0d5a7 100644 --- a/service/iotsitewise/snapshot/api_op_DescribeGatewayCapabilityConfiguration.go.snap +++ b/service/iotsitewise/snapshot/api_op_DescribeGatewayCapabilityConfiguration.go.snap @@ -14,7 +14,6 @@ DescribeGatewayCapabilityConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_DescribeLoggingOptions.go.snap b/service/iotsitewise/snapshot/api_op_DescribeLoggingOptions.go.snap index 19487134589..4e578e7c5f5 100644 --- a/service/iotsitewise/snapshot/api_op_DescribeLoggingOptions.go.snap +++ b/service/iotsitewise/snapshot/api_op_DescribeLoggingOptions.go.snap @@ -13,7 +13,6 @@ DescribeLoggingOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_DescribePortal.go.snap b/service/iotsitewise/snapshot/api_op_DescribePortal.go.snap index c083467185f..db367d88f90 100644 --- a/service/iotsitewise/snapshot/api_op_DescribePortal.go.snap +++ b/service/iotsitewise/snapshot/api_op_DescribePortal.go.snap @@ -14,7 +14,6 @@ DescribePortal Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_DescribeProject.go.snap b/service/iotsitewise/snapshot/api_op_DescribeProject.go.snap index 4045020bf54..d2ce2e10491 100644 --- a/service/iotsitewise/snapshot/api_op_DescribeProject.go.snap +++ b/service/iotsitewise/snapshot/api_op_DescribeProject.go.snap @@ -14,7 +14,6 @@ DescribeProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_DescribeStorageConfiguration.go.snap b/service/iotsitewise/snapshot/api_op_DescribeStorageConfiguration.go.snap index f4af4ddf4a8..d7d7d0f05f2 100644 --- a/service/iotsitewise/snapshot/api_op_DescribeStorageConfiguration.go.snap +++ b/service/iotsitewise/snapshot/api_op_DescribeStorageConfiguration.go.snap @@ -13,7 +13,6 @@ DescribeStorageConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_DescribeTimeSeries.go.snap b/service/iotsitewise/snapshot/api_op_DescribeTimeSeries.go.snap index efb356b8a48..a9a93fec04c 100644 --- a/service/iotsitewise/snapshot/api_op_DescribeTimeSeries.go.snap +++ b/service/iotsitewise/snapshot/api_op_DescribeTimeSeries.go.snap @@ -13,7 +13,6 @@ DescribeTimeSeries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_DisassociateAssets.go.snap b/service/iotsitewise/snapshot/api_op_DisassociateAssets.go.snap index dd5e61cb2ff..016c3b77888 100644 --- a/service/iotsitewise/snapshot/api_op_DisassociateAssets.go.snap +++ b/service/iotsitewise/snapshot/api_op_DisassociateAssets.go.snap @@ -15,7 +15,6 @@ DisassociateAssets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_DisassociateTimeSeriesFromAssetProperty.go.snap b/service/iotsitewise/snapshot/api_op_DisassociateTimeSeriesFromAssetProperty.go.snap index 876ae9cee5d..138f1aed8e9 100644 --- a/service/iotsitewise/snapshot/api_op_DisassociateTimeSeriesFromAssetProperty.go.snap +++ b/service/iotsitewise/snapshot/api_op_DisassociateTimeSeriesFromAssetProperty.go.snap @@ -15,7 +15,6 @@ DisassociateTimeSeriesFromAssetProperty Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_ExecuteAction.go.snap b/service/iotsitewise/snapshot/api_op_ExecuteAction.go.snap index c86eddca102..c479e532988 100644 --- a/service/iotsitewise/snapshot/api_op_ExecuteAction.go.snap +++ b/service/iotsitewise/snapshot/api_op_ExecuteAction.go.snap @@ -14,7 +14,6 @@ ExecuteAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_ExecuteQuery.go.snap b/service/iotsitewise/snapshot/api_op_ExecuteQuery.go.snap index e9b60194d87..ea4aceede64 100644 --- a/service/iotsitewise/snapshot/api_op_ExecuteQuery.go.snap +++ b/service/iotsitewise/snapshot/api_op_ExecuteQuery.go.snap @@ -15,7 +15,6 @@ ExecuteQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_GetAssetPropertyAggregates.go.snap b/service/iotsitewise/snapshot/api_op_GetAssetPropertyAggregates.go.snap index 8237a673c91..cb4bdaba02f 100644 --- a/service/iotsitewise/snapshot/api_op_GetAssetPropertyAggregates.go.snap +++ b/service/iotsitewise/snapshot/api_op_GetAssetPropertyAggregates.go.snap @@ -14,7 +14,6 @@ GetAssetPropertyAggregates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_GetAssetPropertyValue.go.snap b/service/iotsitewise/snapshot/api_op_GetAssetPropertyValue.go.snap index 754dcc915c6..02e04dc35ee 100644 --- a/service/iotsitewise/snapshot/api_op_GetAssetPropertyValue.go.snap +++ b/service/iotsitewise/snapshot/api_op_GetAssetPropertyValue.go.snap @@ -13,7 +13,6 @@ GetAssetPropertyValue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_GetAssetPropertyValueHistory.go.snap b/service/iotsitewise/snapshot/api_op_GetAssetPropertyValueHistory.go.snap index 48292888953..134b9d94af6 100644 --- a/service/iotsitewise/snapshot/api_op_GetAssetPropertyValueHistory.go.snap +++ b/service/iotsitewise/snapshot/api_op_GetAssetPropertyValueHistory.go.snap @@ -13,7 +13,6 @@ GetAssetPropertyValueHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_GetInterpolatedAssetPropertyValues.go.snap b/service/iotsitewise/snapshot/api_op_GetInterpolatedAssetPropertyValues.go.snap index 0a366b54cbc..3fce2f00aae 100644 --- a/service/iotsitewise/snapshot/api_op_GetInterpolatedAssetPropertyValues.go.snap +++ b/service/iotsitewise/snapshot/api_op_GetInterpolatedAssetPropertyValues.go.snap @@ -14,7 +14,6 @@ GetInterpolatedAssetPropertyValues Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_InvokeAssistant.go.snap b/service/iotsitewise/snapshot/api_op_InvokeAssistant.go.snap index 86366b7821f..af5d1a6fd7b 100644 --- a/service/iotsitewise/snapshot/api_op_InvokeAssistant.go.snap +++ b/service/iotsitewise/snapshot/api_op_InvokeAssistant.go.snap @@ -14,7 +14,6 @@ InvokeAssistant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_ListAccessPolicies.go.snap b/service/iotsitewise/snapshot/api_op_ListAccessPolicies.go.snap index fea3b249466..da527740cf6 100644 --- a/service/iotsitewise/snapshot/api_op_ListAccessPolicies.go.snap +++ b/service/iotsitewise/snapshot/api_op_ListAccessPolicies.go.snap @@ -13,7 +13,6 @@ ListAccessPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_ListActions.go.snap b/service/iotsitewise/snapshot/api_op_ListActions.go.snap index 403aa77d1e3..914a158807e 100644 --- a/service/iotsitewise/snapshot/api_op_ListActions.go.snap +++ b/service/iotsitewise/snapshot/api_op_ListActions.go.snap @@ -14,7 +14,6 @@ ListActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_ListAssetModelCompositeModels.go.snap b/service/iotsitewise/snapshot/api_op_ListAssetModelCompositeModels.go.snap index d59515f3d5a..c615af690fe 100644 --- a/service/iotsitewise/snapshot/api_op_ListAssetModelCompositeModels.go.snap +++ b/service/iotsitewise/snapshot/api_op_ListAssetModelCompositeModels.go.snap @@ -14,7 +14,6 @@ ListAssetModelCompositeModels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_ListAssetModelProperties.go.snap b/service/iotsitewise/snapshot/api_op_ListAssetModelProperties.go.snap index 20d5f6b1cdd..94cc3729a91 100644 --- a/service/iotsitewise/snapshot/api_op_ListAssetModelProperties.go.snap +++ b/service/iotsitewise/snapshot/api_op_ListAssetModelProperties.go.snap @@ -14,7 +14,6 @@ ListAssetModelProperties Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_ListAssetModels.go.snap b/service/iotsitewise/snapshot/api_op_ListAssetModels.go.snap index 486d13f09e5..130180b7c19 100644 --- a/service/iotsitewise/snapshot/api_op_ListAssetModels.go.snap +++ b/service/iotsitewise/snapshot/api_op_ListAssetModels.go.snap @@ -13,7 +13,6 @@ ListAssetModels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_ListAssetProperties.go.snap b/service/iotsitewise/snapshot/api_op_ListAssetProperties.go.snap index e778377612d..8a8a86270d7 100644 --- a/service/iotsitewise/snapshot/api_op_ListAssetProperties.go.snap +++ b/service/iotsitewise/snapshot/api_op_ListAssetProperties.go.snap @@ -14,7 +14,6 @@ ListAssetProperties Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_ListAssetRelationships.go.snap b/service/iotsitewise/snapshot/api_op_ListAssetRelationships.go.snap index 183a4bfa0f3..54fc50486b4 100644 --- a/service/iotsitewise/snapshot/api_op_ListAssetRelationships.go.snap +++ b/service/iotsitewise/snapshot/api_op_ListAssetRelationships.go.snap @@ -14,7 +14,6 @@ ListAssetRelationships Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_ListAssets.go.snap b/service/iotsitewise/snapshot/api_op_ListAssets.go.snap index 5894656b5e5..c3e46be1559 100644 --- a/service/iotsitewise/snapshot/api_op_ListAssets.go.snap +++ b/service/iotsitewise/snapshot/api_op_ListAssets.go.snap @@ -13,7 +13,6 @@ ListAssets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_ListAssociatedAssets.go.snap b/service/iotsitewise/snapshot/api_op_ListAssociatedAssets.go.snap index cc8db3ee534..bfc813690f1 100644 --- a/service/iotsitewise/snapshot/api_op_ListAssociatedAssets.go.snap +++ b/service/iotsitewise/snapshot/api_op_ListAssociatedAssets.go.snap @@ -14,7 +14,6 @@ ListAssociatedAssets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_ListBulkImportJobs.go.snap b/service/iotsitewise/snapshot/api_op_ListBulkImportJobs.go.snap index d21f6cccdb9..53dfcab6ed6 100644 --- a/service/iotsitewise/snapshot/api_op_ListBulkImportJobs.go.snap +++ b/service/iotsitewise/snapshot/api_op_ListBulkImportJobs.go.snap @@ -13,7 +13,6 @@ ListBulkImportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_ListCompositionRelationships.go.snap b/service/iotsitewise/snapshot/api_op_ListCompositionRelationships.go.snap index 6f7663bb5ce..46cd7221f97 100644 --- a/service/iotsitewise/snapshot/api_op_ListCompositionRelationships.go.snap +++ b/service/iotsitewise/snapshot/api_op_ListCompositionRelationships.go.snap @@ -14,7 +14,6 @@ ListCompositionRelationships Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_ListDashboards.go.snap b/service/iotsitewise/snapshot/api_op_ListDashboards.go.snap index b8266aca0c2..e579b50152e 100644 --- a/service/iotsitewise/snapshot/api_op_ListDashboards.go.snap +++ b/service/iotsitewise/snapshot/api_op_ListDashboards.go.snap @@ -14,7 +14,6 @@ ListDashboards Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_ListDatasets.go.snap b/service/iotsitewise/snapshot/api_op_ListDatasets.go.snap index 97187cdc841..e19c54eaf3b 100644 --- a/service/iotsitewise/snapshot/api_op_ListDatasets.go.snap +++ b/service/iotsitewise/snapshot/api_op_ListDatasets.go.snap @@ -14,7 +14,6 @@ ListDatasets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_ListGateways.go.snap b/service/iotsitewise/snapshot/api_op_ListGateways.go.snap index c01456035c0..e9dfb1eb93a 100644 --- a/service/iotsitewise/snapshot/api_op_ListGateways.go.snap +++ b/service/iotsitewise/snapshot/api_op_ListGateways.go.snap @@ -13,7 +13,6 @@ ListGateways Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_ListPortals.go.snap b/service/iotsitewise/snapshot/api_op_ListPortals.go.snap index 2185dabcf06..9a2d992cdad 100644 --- a/service/iotsitewise/snapshot/api_op_ListPortals.go.snap +++ b/service/iotsitewise/snapshot/api_op_ListPortals.go.snap @@ -13,7 +13,6 @@ ListPortals Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_ListProjectAssets.go.snap b/service/iotsitewise/snapshot/api_op_ListProjectAssets.go.snap index 5770114942f..5a73f6f9a8a 100644 --- a/service/iotsitewise/snapshot/api_op_ListProjectAssets.go.snap +++ b/service/iotsitewise/snapshot/api_op_ListProjectAssets.go.snap @@ -14,7 +14,6 @@ ListProjectAssets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_ListProjects.go.snap b/service/iotsitewise/snapshot/api_op_ListProjects.go.snap index c0bf311fba8..6bd24b89701 100644 --- a/service/iotsitewise/snapshot/api_op_ListProjects.go.snap +++ b/service/iotsitewise/snapshot/api_op_ListProjects.go.snap @@ -14,7 +14,6 @@ ListProjects Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_ListTagsForResource.go.snap b/service/iotsitewise/snapshot/api_op_ListTagsForResource.go.snap index 8ff9a02baa1..0d85e67cf02 100644 --- a/service/iotsitewise/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/iotsitewise/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_ListTimeSeries.go.snap b/service/iotsitewise/snapshot/api_op_ListTimeSeries.go.snap index 76018a476ac..07945ff1b38 100644 --- a/service/iotsitewise/snapshot/api_op_ListTimeSeries.go.snap +++ b/service/iotsitewise/snapshot/api_op_ListTimeSeries.go.snap @@ -13,7 +13,6 @@ ListTimeSeries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_PutDefaultEncryptionConfiguration.go.snap b/service/iotsitewise/snapshot/api_op_PutDefaultEncryptionConfiguration.go.snap index 3874ce951e5..93c802af960 100644 --- a/service/iotsitewise/snapshot/api_op_PutDefaultEncryptionConfiguration.go.snap +++ b/service/iotsitewise/snapshot/api_op_PutDefaultEncryptionConfiguration.go.snap @@ -14,7 +14,6 @@ PutDefaultEncryptionConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_PutLoggingOptions.go.snap b/service/iotsitewise/snapshot/api_op_PutLoggingOptions.go.snap index 2741ca83fe4..1c1f520c549 100644 --- a/service/iotsitewise/snapshot/api_op_PutLoggingOptions.go.snap +++ b/service/iotsitewise/snapshot/api_op_PutLoggingOptions.go.snap @@ -14,7 +14,6 @@ PutLoggingOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_PutStorageConfiguration.go.snap b/service/iotsitewise/snapshot/api_op_PutStorageConfiguration.go.snap index 83f51037623..e01f5e8fbf0 100644 --- a/service/iotsitewise/snapshot/api_op_PutStorageConfiguration.go.snap +++ b/service/iotsitewise/snapshot/api_op_PutStorageConfiguration.go.snap @@ -14,7 +14,6 @@ PutStorageConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_TagResource.go.snap b/service/iotsitewise/snapshot/api_op_TagResource.go.snap index e1a30395155..20d1859b264 100644 --- a/service/iotsitewise/snapshot/api_op_TagResource.go.snap +++ b/service/iotsitewise/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_UntagResource.go.snap b/service/iotsitewise/snapshot/api_op_UntagResource.go.snap index 170b89b0d41..dabf5e30bc0 100644 --- a/service/iotsitewise/snapshot/api_op_UntagResource.go.snap +++ b/service/iotsitewise/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_UpdateAccessPolicy.go.snap b/service/iotsitewise/snapshot/api_op_UpdateAccessPolicy.go.snap index 5b034794b8c..8152fa89c5b 100644 --- a/service/iotsitewise/snapshot/api_op_UpdateAccessPolicy.go.snap +++ b/service/iotsitewise/snapshot/api_op_UpdateAccessPolicy.go.snap @@ -15,7 +15,6 @@ UpdateAccessPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_UpdateAsset.go.snap b/service/iotsitewise/snapshot/api_op_UpdateAsset.go.snap index 2fb80c689c1..3df9c3003dc 100644 --- a/service/iotsitewise/snapshot/api_op_UpdateAsset.go.snap +++ b/service/iotsitewise/snapshot/api_op_UpdateAsset.go.snap @@ -15,7 +15,6 @@ UpdateAsset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_UpdateAssetModel.go.snap b/service/iotsitewise/snapshot/api_op_UpdateAssetModel.go.snap index 42da4634261..457b423761f 100644 --- a/service/iotsitewise/snapshot/api_op_UpdateAssetModel.go.snap +++ b/service/iotsitewise/snapshot/api_op_UpdateAssetModel.go.snap @@ -15,7 +15,6 @@ UpdateAssetModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_UpdateAssetModelCompositeModel.go.snap b/service/iotsitewise/snapshot/api_op_UpdateAssetModelCompositeModel.go.snap index a0f360a1fe9..26e0fa25941 100644 --- a/service/iotsitewise/snapshot/api_op_UpdateAssetModelCompositeModel.go.snap +++ b/service/iotsitewise/snapshot/api_op_UpdateAssetModelCompositeModel.go.snap @@ -15,7 +15,6 @@ UpdateAssetModelCompositeModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_UpdateAssetProperty.go.snap b/service/iotsitewise/snapshot/api_op_UpdateAssetProperty.go.snap index e3c1e1500d9..19a05eb30ff 100644 --- a/service/iotsitewise/snapshot/api_op_UpdateAssetProperty.go.snap +++ b/service/iotsitewise/snapshot/api_op_UpdateAssetProperty.go.snap @@ -15,7 +15,6 @@ UpdateAssetProperty Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_UpdateDashboard.go.snap b/service/iotsitewise/snapshot/api_op_UpdateDashboard.go.snap index b0d623ada3a..53033f3e479 100644 --- a/service/iotsitewise/snapshot/api_op_UpdateDashboard.go.snap +++ b/service/iotsitewise/snapshot/api_op_UpdateDashboard.go.snap @@ -15,7 +15,6 @@ UpdateDashboard Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_UpdateDataset.go.snap b/service/iotsitewise/snapshot/api_op_UpdateDataset.go.snap index f8c9a0e70e2..82bba14edec 100644 --- a/service/iotsitewise/snapshot/api_op_UpdateDataset.go.snap +++ b/service/iotsitewise/snapshot/api_op_UpdateDataset.go.snap @@ -15,7 +15,6 @@ UpdateDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_UpdateGateway.go.snap b/service/iotsitewise/snapshot/api_op_UpdateGateway.go.snap index 890452a3c03..1923d6bda9e 100644 --- a/service/iotsitewise/snapshot/api_op_UpdateGateway.go.snap +++ b/service/iotsitewise/snapshot/api_op_UpdateGateway.go.snap @@ -14,7 +14,6 @@ UpdateGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_UpdateGatewayCapabilityConfiguration.go.snap b/service/iotsitewise/snapshot/api_op_UpdateGatewayCapabilityConfiguration.go.snap index 6d2fc1f7aff..118016247b8 100644 --- a/service/iotsitewise/snapshot/api_op_UpdateGatewayCapabilityConfiguration.go.snap +++ b/service/iotsitewise/snapshot/api_op_UpdateGatewayCapabilityConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateGatewayCapabilityConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_UpdatePortal.go.snap b/service/iotsitewise/snapshot/api_op_UpdatePortal.go.snap index bb905c4b8aa..815853ea20b 100644 --- a/service/iotsitewise/snapshot/api_op_UpdatePortal.go.snap +++ b/service/iotsitewise/snapshot/api_op_UpdatePortal.go.snap @@ -15,7 +15,6 @@ UpdatePortal Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotsitewise/snapshot/api_op_UpdateProject.go.snap b/service/iotsitewise/snapshot/api_op_UpdateProject.go.snap index 875e4385a83..c3153d867be 100644 --- a/service/iotsitewise/snapshot/api_op_UpdateProject.go.snap +++ b/service/iotsitewise/snapshot/api_op_UpdateProject.go.snap @@ -15,7 +15,6 @@ UpdateProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/api_client.go b/service/iotthingsgraph/api_client.go index fb5f10ab479..240e518cbf5 100644 --- a/service/iotthingsgraph/api_client.go +++ b/service/iotthingsgraph/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/iotthingsgraph/api_op_AssociateEntityToThing.go b/service/iotthingsgraph/api_op_AssociateEntityToThing.go index 71323bf0ffc..c48041be256 100644 --- a/service/iotthingsgraph/api_op_AssociateEntityToThing.go +++ b/service/iotthingsgraph/api_op_AssociateEntityToThing.go @@ -125,9 +125,6 @@ func (c *Client) addOperationAssociateEntityToThingMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateEntityToThingValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_CreateFlowTemplate.go b/service/iotthingsgraph/api_op_CreateFlowTemplate.go index 599715ed99b..751691a8a26 100644 --- a/service/iotthingsgraph/api_op_CreateFlowTemplate.go +++ b/service/iotthingsgraph/api_op_CreateFlowTemplate.go @@ -123,9 +123,6 @@ func (c *Client) addOperationCreateFlowTemplateMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFlowTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_CreateSystemInstance.go b/service/iotthingsgraph/api_op_CreateSystemInstance.go index 10d39eb2cf4..34714043eb4 100644 --- a/service/iotthingsgraph/api_op_CreateSystemInstance.go +++ b/service/iotthingsgraph/api_op_CreateSystemInstance.go @@ -160,9 +160,6 @@ func (c *Client) addOperationCreateSystemInstanceMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSystemInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_CreateSystemTemplate.go b/service/iotthingsgraph/api_op_CreateSystemTemplate.go index 0c383417516..03e590374ca 100644 --- a/service/iotthingsgraph/api_op_CreateSystemTemplate.go +++ b/service/iotthingsgraph/api_op_CreateSystemTemplate.go @@ -121,9 +121,6 @@ func (c *Client) addOperationCreateSystemTemplateMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSystemTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_DeleteFlowTemplate.go b/service/iotthingsgraph/api_op_DeleteFlowTemplate.go index bd4ddb31ec0..a15414f8628 100644 --- a/service/iotthingsgraph/api_op_DeleteFlowTemplate.go +++ b/service/iotthingsgraph/api_op_DeleteFlowTemplate.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteFlowTemplateMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFlowTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_DeleteNamespace.go b/service/iotthingsgraph/api_op_DeleteNamespace.go index fb986fb8aad..679a1f9c674 100644 --- a/service/iotthingsgraph/api_op_DeleteNamespace.go +++ b/service/iotthingsgraph/api_op_DeleteNamespace.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteNamespaceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteNamespace(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_DeleteSystemInstance.go b/service/iotthingsgraph/api_op_DeleteSystemInstance.go index cd2d02e78ae..cd2451b1793 100644 --- a/service/iotthingsgraph/api_op_DeleteSystemInstance.go +++ b/service/iotthingsgraph/api_op_DeleteSystemInstance.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteSystemInstanceMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSystemInstance(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_DeleteSystemTemplate.go b/service/iotthingsgraph/api_op_DeleteSystemTemplate.go index 4b4fc5aa37e..02863eb0643 100644 --- a/service/iotthingsgraph/api_op_DeleteSystemTemplate.go +++ b/service/iotthingsgraph/api_op_DeleteSystemTemplate.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteSystemTemplateMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSystemTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_DeploySystemInstance.go b/service/iotthingsgraph/api_op_DeploySystemInstance.go index 04c15b91e96..1fbce165ca6 100644 --- a/service/iotthingsgraph/api_op_DeploySystemInstance.go +++ b/service/iotthingsgraph/api_op_DeploySystemInstance.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDeploySystemInstanceMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeploySystemInstance(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_DeprecateFlowTemplate.go b/service/iotthingsgraph/api_op_DeprecateFlowTemplate.go index a34934188b3..ebac5bea771 100644 --- a/service/iotthingsgraph/api_op_DeprecateFlowTemplate.go +++ b/service/iotthingsgraph/api_op_DeprecateFlowTemplate.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeprecateFlowTemplateMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeprecateFlowTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_DeprecateSystemTemplate.go b/service/iotthingsgraph/api_op_DeprecateSystemTemplate.go index 4cefa9007dd..3099a0fea10 100644 --- a/service/iotthingsgraph/api_op_DeprecateSystemTemplate.go +++ b/service/iotthingsgraph/api_op_DeprecateSystemTemplate.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeprecateSystemTemplateMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeprecateSystemTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_DescribeNamespace.go b/service/iotthingsgraph/api_op_DescribeNamespace.go index c3017e62f8a..bd576365f21 100644 --- a/service/iotthingsgraph/api_op_DescribeNamespace.go +++ b/service/iotthingsgraph/api_op_DescribeNamespace.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeNamespaceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNamespace(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_DissociateEntityFromThing.go b/service/iotthingsgraph/api_op_DissociateEntityFromThing.go index ff83ca7587c..aaddcf461c0 100644 --- a/service/iotthingsgraph/api_op_DissociateEntityFromThing.go +++ b/service/iotthingsgraph/api_op_DissociateEntityFromThing.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDissociateEntityFromThingMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDissociateEntityFromThingValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_GetEntities.go b/service/iotthingsgraph/api_op_GetEntities.go index fb03f66a5e9..686f3257683 100644 --- a/service/iotthingsgraph/api_op_GetEntities.go +++ b/service/iotthingsgraph/api_op_GetEntities.go @@ -143,9 +143,6 @@ func (c *Client) addOperationGetEntitiesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEntitiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_GetFlowTemplate.go b/service/iotthingsgraph/api_op_GetFlowTemplate.go index 46bd0b6ae7e..115919aa4b9 100644 --- a/service/iotthingsgraph/api_op_GetFlowTemplate.go +++ b/service/iotthingsgraph/api_op_GetFlowTemplate.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetFlowTemplateMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFlowTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_GetFlowTemplateRevisions.go b/service/iotthingsgraph/api_op_GetFlowTemplateRevisions.go index 00dfb2df30c..774cda49d15 100644 --- a/service/iotthingsgraph/api_op_GetFlowTemplateRevisions.go +++ b/service/iotthingsgraph/api_op_GetFlowTemplateRevisions.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetFlowTemplateRevisionsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFlowTemplateRevisionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_GetNamespaceDeletionStatus.go b/service/iotthingsgraph/api_op_GetNamespaceDeletionStatus.go index d1c13ec9344..69f153cd530 100644 --- a/service/iotthingsgraph/api_op_GetNamespaceDeletionStatus.go +++ b/service/iotthingsgraph/api_op_GetNamespaceDeletionStatus.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetNamespaceDeletionStatusMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetNamespaceDeletionStatus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_GetSystemInstance.go b/service/iotthingsgraph/api_op_GetSystemInstance.go index f7b67524437..54c925d2192 100644 --- a/service/iotthingsgraph/api_op_GetSystemInstance.go +++ b/service/iotthingsgraph/api_op_GetSystemInstance.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetSystemInstanceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSystemInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_GetSystemTemplate.go b/service/iotthingsgraph/api_op_GetSystemTemplate.go index c25e6d72685..6501ff14ec2 100644 --- a/service/iotthingsgraph/api_op_GetSystemTemplate.go +++ b/service/iotthingsgraph/api_op_GetSystemTemplate.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetSystemTemplateMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSystemTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_GetSystemTemplateRevisions.go b/service/iotthingsgraph/api_op_GetSystemTemplateRevisions.go index 326bfc5aa6b..2ed57125c0d 100644 --- a/service/iotthingsgraph/api_op_GetSystemTemplateRevisions.go +++ b/service/iotthingsgraph/api_op_GetSystemTemplateRevisions.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetSystemTemplateRevisionsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSystemTemplateRevisionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_GetUploadStatus.go b/service/iotthingsgraph/api_op_GetUploadStatus.go index cc89483c90f..27388073997 100644 --- a/service/iotthingsgraph/api_op_GetUploadStatus.go +++ b/service/iotthingsgraph/api_op_GetUploadStatus.go @@ -142,9 +142,6 @@ func (c *Client) addOperationGetUploadStatusMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUploadStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_ListFlowExecutionMessages.go b/service/iotthingsgraph/api_op_ListFlowExecutionMessages.go index 9b9ebce4eb2..5783dc3209c 100644 --- a/service/iotthingsgraph/api_op_ListFlowExecutionMessages.go +++ b/service/iotthingsgraph/api_op_ListFlowExecutionMessages.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListFlowExecutionMessagesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFlowExecutionMessagesValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_ListTagsForResource.go b/service/iotthingsgraph/api_op_ListTagsForResource.go index 969bb59d8b6..ac51921e41c 100644 --- a/service/iotthingsgraph/api_op_ListTagsForResource.go +++ b/service/iotthingsgraph/api_op_ListTagsForResource.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_SearchEntities.go b/service/iotthingsgraph/api_op_SearchEntities.go index b713d7ab714..de461331615 100644 --- a/service/iotthingsgraph/api_op_SearchEntities.go +++ b/service/iotthingsgraph/api_op_SearchEntities.go @@ -138,9 +138,6 @@ func (c *Client) addOperationSearchEntitiesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchEntitiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_SearchFlowExecutions.go b/service/iotthingsgraph/api_op_SearchFlowExecutions.go index 253f09f8cd9..37bfed8fe6d 100644 --- a/service/iotthingsgraph/api_op_SearchFlowExecutions.go +++ b/service/iotthingsgraph/api_op_SearchFlowExecutions.go @@ -135,9 +135,6 @@ func (c *Client) addOperationSearchFlowExecutionsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchFlowExecutionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_SearchFlowTemplates.go b/service/iotthingsgraph/api_op_SearchFlowTemplates.go index 79ede4bf15d..802c455dda1 100644 --- a/service/iotthingsgraph/api_op_SearchFlowTemplates.go +++ b/service/iotthingsgraph/api_op_SearchFlowTemplates.go @@ -124,9 +124,6 @@ func (c *Client) addOperationSearchFlowTemplatesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchFlowTemplatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_SearchSystemInstances.go b/service/iotthingsgraph/api_op_SearchSystemInstances.go index ab71a23211d..3b7bc37cf2d 100644 --- a/service/iotthingsgraph/api_op_SearchSystemInstances.go +++ b/service/iotthingsgraph/api_op_SearchSystemInstances.go @@ -127,9 +127,6 @@ func (c *Client) addOperationSearchSystemInstancesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchSystemInstances(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_SearchSystemTemplates.go b/service/iotthingsgraph/api_op_SearchSystemTemplates.go index f82fb4c7acd..fe6595365c2 100644 --- a/service/iotthingsgraph/api_op_SearchSystemTemplates.go +++ b/service/iotthingsgraph/api_op_SearchSystemTemplates.go @@ -126,9 +126,6 @@ func (c *Client) addOperationSearchSystemTemplatesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchSystemTemplatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_SearchThings.go b/service/iotthingsgraph/api_op_SearchThings.go index 77e8a12257e..2f82be68684 100644 --- a/service/iotthingsgraph/api_op_SearchThings.go +++ b/service/iotthingsgraph/api_op_SearchThings.go @@ -141,9 +141,6 @@ func (c *Client) addOperationSearchThingsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchThingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_TagResource.go b/service/iotthingsgraph/api_op_TagResource.go index 726bbe826d7..8cc633457df 100644 --- a/service/iotthingsgraph/api_op_TagResource.go +++ b/service/iotthingsgraph/api_op_TagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_UndeploySystemInstance.go b/service/iotthingsgraph/api_op_UndeploySystemInstance.go index fbb8b7b1b81..deabc419431 100644 --- a/service/iotthingsgraph/api_op_UndeploySystemInstance.go +++ b/service/iotthingsgraph/api_op_UndeploySystemInstance.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUndeploySystemInstanceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUndeploySystemInstance(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_UntagResource.go b/service/iotthingsgraph/api_op_UntagResource.go index 054ea709b54..9f8794d8091 100644 --- a/service/iotthingsgraph/api_op_UntagResource.go +++ b/service/iotthingsgraph/api_op_UntagResource.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_UpdateFlowTemplate.go b/service/iotthingsgraph/api_op_UpdateFlowTemplate.go index 0874905e86e..5a9afe662f2 100644 --- a/service/iotthingsgraph/api_op_UpdateFlowTemplate.go +++ b/service/iotthingsgraph/api_op_UpdateFlowTemplate.go @@ -134,9 +134,6 @@ func (c *Client) addOperationUpdateFlowTemplateMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFlowTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_UpdateSystemTemplate.go b/service/iotthingsgraph/api_op_UpdateSystemTemplate.go index 016b0e325d6..9bbb5470b8c 100644 --- a/service/iotthingsgraph/api_op_UpdateSystemTemplate.go +++ b/service/iotthingsgraph/api_op_UpdateSystemTemplate.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateSystemTemplateMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSystemTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/api_op_UploadEntityDefinitions.go b/service/iotthingsgraph/api_op_UploadEntityDefinitions.go index c190e9a0e93..ea35d87c753 100644 --- a/service/iotthingsgraph/api_op_UploadEntityDefinitions.go +++ b/service/iotthingsgraph/api_op_UploadEntityDefinitions.go @@ -145,9 +145,6 @@ func (c *Client) addOperationUploadEntityDefinitionsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUploadEntityDefinitionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotthingsgraph/snapshot/api_op_AssociateEntityToThing.go.snap b/service/iotthingsgraph/snapshot/api_op_AssociateEntityToThing.go.snap index 49e0054beea..bfbb9af1bed 100644 --- a/service/iotthingsgraph/snapshot/api_op_AssociateEntityToThing.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_AssociateEntityToThing.go.snap @@ -14,7 +14,6 @@ AssociateEntityToThing Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_CreateFlowTemplate.go.snap b/service/iotthingsgraph/snapshot/api_op_CreateFlowTemplate.go.snap index cda4d1d4485..05c155801e5 100644 --- a/service/iotthingsgraph/snapshot/api_op_CreateFlowTemplate.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_CreateFlowTemplate.go.snap @@ -14,7 +14,6 @@ CreateFlowTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_CreateSystemInstance.go.snap b/service/iotthingsgraph/snapshot/api_op_CreateSystemInstance.go.snap index 17e36f55bc8..e57dd3e194b 100644 --- a/service/iotthingsgraph/snapshot/api_op_CreateSystemInstance.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_CreateSystemInstance.go.snap @@ -14,7 +14,6 @@ CreateSystemInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_CreateSystemTemplate.go.snap b/service/iotthingsgraph/snapshot/api_op_CreateSystemTemplate.go.snap index ba04e7bc952..7677b175d43 100644 --- a/service/iotthingsgraph/snapshot/api_op_CreateSystemTemplate.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_CreateSystemTemplate.go.snap @@ -14,7 +14,6 @@ CreateSystemTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_DeleteFlowTemplate.go.snap b/service/iotthingsgraph/snapshot/api_op_DeleteFlowTemplate.go.snap index c9154ff2858..7cf77d0cf7f 100644 --- a/service/iotthingsgraph/snapshot/api_op_DeleteFlowTemplate.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_DeleteFlowTemplate.go.snap @@ -14,7 +14,6 @@ DeleteFlowTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_DeleteNamespace.go.snap b/service/iotthingsgraph/snapshot/api_op_DeleteNamespace.go.snap index 22ccf59f5af..c87b42ff832 100644 --- a/service/iotthingsgraph/snapshot/api_op_DeleteNamespace.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_DeleteNamespace.go.snap @@ -13,7 +13,6 @@ DeleteNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_DeleteSystemInstance.go.snap b/service/iotthingsgraph/snapshot/api_op_DeleteSystemInstance.go.snap index ad52683131e..b00ff14aceb 100644 --- a/service/iotthingsgraph/snapshot/api_op_DeleteSystemInstance.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_DeleteSystemInstance.go.snap @@ -13,7 +13,6 @@ DeleteSystemInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_DeleteSystemTemplate.go.snap b/service/iotthingsgraph/snapshot/api_op_DeleteSystemTemplate.go.snap index 2427addcff1..1dd0440ce8b 100644 --- a/service/iotthingsgraph/snapshot/api_op_DeleteSystemTemplate.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_DeleteSystemTemplate.go.snap @@ -14,7 +14,6 @@ DeleteSystemTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_DeploySystemInstance.go.snap b/service/iotthingsgraph/snapshot/api_op_DeploySystemInstance.go.snap index 2bf38f03427..a3bd544dd2b 100644 --- a/service/iotthingsgraph/snapshot/api_op_DeploySystemInstance.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_DeploySystemInstance.go.snap @@ -13,7 +13,6 @@ DeploySystemInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_DeprecateFlowTemplate.go.snap b/service/iotthingsgraph/snapshot/api_op_DeprecateFlowTemplate.go.snap index cf3ef27e87d..273890fcc5f 100644 --- a/service/iotthingsgraph/snapshot/api_op_DeprecateFlowTemplate.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_DeprecateFlowTemplate.go.snap @@ -14,7 +14,6 @@ DeprecateFlowTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_DeprecateSystemTemplate.go.snap b/service/iotthingsgraph/snapshot/api_op_DeprecateSystemTemplate.go.snap index bed571457d4..9961987ccdc 100644 --- a/service/iotthingsgraph/snapshot/api_op_DeprecateSystemTemplate.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_DeprecateSystemTemplate.go.snap @@ -14,7 +14,6 @@ DeprecateSystemTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_DescribeNamespace.go.snap b/service/iotthingsgraph/snapshot/api_op_DescribeNamespace.go.snap index 0c756e324b5..08fafe8f5c7 100644 --- a/service/iotthingsgraph/snapshot/api_op_DescribeNamespace.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_DescribeNamespace.go.snap @@ -13,7 +13,6 @@ DescribeNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_DissociateEntityFromThing.go.snap b/service/iotthingsgraph/snapshot/api_op_DissociateEntityFromThing.go.snap index 1613fc93963..c2525b11ed5 100644 --- a/service/iotthingsgraph/snapshot/api_op_DissociateEntityFromThing.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_DissociateEntityFromThing.go.snap @@ -14,7 +14,6 @@ DissociateEntityFromThing Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_GetEntities.go.snap b/service/iotthingsgraph/snapshot/api_op_GetEntities.go.snap index e2cfa46130a..46e3408cf55 100644 --- a/service/iotthingsgraph/snapshot/api_op_GetEntities.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_GetEntities.go.snap @@ -14,7 +14,6 @@ GetEntities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_GetFlowTemplate.go.snap b/service/iotthingsgraph/snapshot/api_op_GetFlowTemplate.go.snap index 2d9aeb8f573..9f3bd6991f0 100644 --- a/service/iotthingsgraph/snapshot/api_op_GetFlowTemplate.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_GetFlowTemplate.go.snap @@ -14,7 +14,6 @@ GetFlowTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_GetFlowTemplateRevisions.go.snap b/service/iotthingsgraph/snapshot/api_op_GetFlowTemplateRevisions.go.snap index 4ce16d33df7..d8a3167c86c 100644 --- a/service/iotthingsgraph/snapshot/api_op_GetFlowTemplateRevisions.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_GetFlowTemplateRevisions.go.snap @@ -14,7 +14,6 @@ GetFlowTemplateRevisions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_GetNamespaceDeletionStatus.go.snap b/service/iotthingsgraph/snapshot/api_op_GetNamespaceDeletionStatus.go.snap index 2c0dcfd8ffb..486336f201d 100644 --- a/service/iotthingsgraph/snapshot/api_op_GetNamespaceDeletionStatus.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_GetNamespaceDeletionStatus.go.snap @@ -13,7 +13,6 @@ GetNamespaceDeletionStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_GetSystemInstance.go.snap b/service/iotthingsgraph/snapshot/api_op_GetSystemInstance.go.snap index 79f22501c18..0945aacf0e0 100644 --- a/service/iotthingsgraph/snapshot/api_op_GetSystemInstance.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_GetSystemInstance.go.snap @@ -14,7 +14,6 @@ GetSystemInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_GetSystemTemplate.go.snap b/service/iotthingsgraph/snapshot/api_op_GetSystemTemplate.go.snap index 7685778f2b2..cd2c3aa7576 100644 --- a/service/iotthingsgraph/snapshot/api_op_GetSystemTemplate.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_GetSystemTemplate.go.snap @@ -14,7 +14,6 @@ GetSystemTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_GetSystemTemplateRevisions.go.snap b/service/iotthingsgraph/snapshot/api_op_GetSystemTemplateRevisions.go.snap index b1f79fab374..212dc2adc1a 100644 --- a/service/iotthingsgraph/snapshot/api_op_GetSystemTemplateRevisions.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_GetSystemTemplateRevisions.go.snap @@ -14,7 +14,6 @@ GetSystemTemplateRevisions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_GetUploadStatus.go.snap b/service/iotthingsgraph/snapshot/api_op_GetUploadStatus.go.snap index 0662b01dda4..c52849d5b64 100644 --- a/service/iotthingsgraph/snapshot/api_op_GetUploadStatus.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_GetUploadStatus.go.snap @@ -14,7 +14,6 @@ GetUploadStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_ListFlowExecutionMessages.go.snap b/service/iotthingsgraph/snapshot/api_op_ListFlowExecutionMessages.go.snap index 860ef437026..e4c77dab704 100644 --- a/service/iotthingsgraph/snapshot/api_op_ListFlowExecutionMessages.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_ListFlowExecutionMessages.go.snap @@ -14,7 +14,6 @@ ListFlowExecutionMessages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_ListTagsForResource.go.snap b/service/iotthingsgraph/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/iotthingsgraph/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_SearchEntities.go.snap b/service/iotthingsgraph/snapshot/api_op_SearchEntities.go.snap index a29144cdebd..d53b70ce307 100644 --- a/service/iotthingsgraph/snapshot/api_op_SearchEntities.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_SearchEntities.go.snap @@ -14,7 +14,6 @@ SearchEntities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_SearchFlowExecutions.go.snap b/service/iotthingsgraph/snapshot/api_op_SearchFlowExecutions.go.snap index e411b8d07bd..5d6780917fb 100644 --- a/service/iotthingsgraph/snapshot/api_op_SearchFlowExecutions.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_SearchFlowExecutions.go.snap @@ -14,7 +14,6 @@ SearchFlowExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_SearchFlowTemplates.go.snap b/service/iotthingsgraph/snapshot/api_op_SearchFlowTemplates.go.snap index b8170f31e5d..576bb1ff057 100644 --- a/service/iotthingsgraph/snapshot/api_op_SearchFlowTemplates.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_SearchFlowTemplates.go.snap @@ -14,7 +14,6 @@ SearchFlowTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_SearchSystemInstances.go.snap b/service/iotthingsgraph/snapshot/api_op_SearchSystemInstances.go.snap index 4c8088480f2..50a39ef6aa0 100644 --- a/service/iotthingsgraph/snapshot/api_op_SearchSystemInstances.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_SearchSystemInstances.go.snap @@ -13,7 +13,6 @@ SearchSystemInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_SearchSystemTemplates.go.snap b/service/iotthingsgraph/snapshot/api_op_SearchSystemTemplates.go.snap index 2c74ea43f9b..524074b7e82 100644 --- a/service/iotthingsgraph/snapshot/api_op_SearchSystemTemplates.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_SearchSystemTemplates.go.snap @@ -14,7 +14,6 @@ SearchSystemTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_SearchThings.go.snap b/service/iotthingsgraph/snapshot/api_op_SearchThings.go.snap index e3a8c25e0c1..08049ed286c 100644 --- a/service/iotthingsgraph/snapshot/api_op_SearchThings.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_SearchThings.go.snap @@ -14,7 +14,6 @@ SearchThings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_TagResource.go.snap b/service/iotthingsgraph/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/iotthingsgraph/snapshot/api_op_TagResource.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_UndeploySystemInstance.go.snap b/service/iotthingsgraph/snapshot/api_op_UndeploySystemInstance.go.snap index 241b5ff155a..01d03276ccb 100644 --- a/service/iotthingsgraph/snapshot/api_op_UndeploySystemInstance.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_UndeploySystemInstance.go.snap @@ -13,7 +13,6 @@ UndeploySystemInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_UntagResource.go.snap b/service/iotthingsgraph/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/iotthingsgraph/snapshot/api_op_UntagResource.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_UpdateFlowTemplate.go.snap b/service/iotthingsgraph/snapshot/api_op_UpdateFlowTemplate.go.snap index 6efa3613d6a..265120fae50 100644 --- a/service/iotthingsgraph/snapshot/api_op_UpdateFlowTemplate.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_UpdateFlowTemplate.go.snap @@ -14,7 +14,6 @@ UpdateFlowTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_UpdateSystemTemplate.go.snap b/service/iotthingsgraph/snapshot/api_op_UpdateSystemTemplate.go.snap index c50ded14b86..c9325c5751d 100644 --- a/service/iotthingsgraph/snapshot/api_op_UpdateSystemTemplate.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_UpdateSystemTemplate.go.snap @@ -14,7 +14,6 @@ UpdateSystemTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotthingsgraph/snapshot/api_op_UploadEntityDefinitions.go.snap b/service/iotthingsgraph/snapshot/api_op_UploadEntityDefinitions.go.snap index feaa43a9e60..487fc007b9c 100644 --- a/service/iotthingsgraph/snapshot/api_op_UploadEntityDefinitions.go.snap +++ b/service/iotthingsgraph/snapshot/api_op_UploadEntityDefinitions.go.snap @@ -14,7 +14,6 @@ UploadEntityDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/api_client.go b/service/iottwinmaker/api_client.go index e66e70ffb5f..aef6e97f181 100644 --- a/service/iottwinmaker/api_client.go +++ b/service/iottwinmaker/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/iottwinmaker/api_op_BatchPutPropertyValues.go b/service/iottwinmaker/api_op_BatchPutPropertyValues.go index ba87bfaf2b4..9b4b30752b5 100644 --- a/service/iottwinmaker/api_op_BatchPutPropertyValues.go +++ b/service/iottwinmaker/api_op_BatchPutPropertyValues.go @@ -120,9 +120,6 @@ func (c *Client) addOperationBatchPutPropertyValuesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opBatchPutPropertyValuesMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_CancelMetadataTransferJob.go b/service/iottwinmaker/api_op_CancelMetadataTransferJob.go index 276e982db63..483c5b8c2a4 100644 --- a/service/iottwinmaker/api_op_CancelMetadataTransferJob.go +++ b/service/iottwinmaker/api_op_CancelMetadataTransferJob.go @@ -133,9 +133,6 @@ func (c *Client) addOperationCancelMetadataTransferJobMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCancelMetadataTransferJobMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_CreateComponentType.go b/service/iottwinmaker/api_op_CreateComponentType.go index 897907f5270..31278249077 100644 --- a/service/iottwinmaker/api_op_CreateComponentType.go +++ b/service/iottwinmaker/api_op_CreateComponentType.go @@ -161,9 +161,6 @@ func (c *Client) addOperationCreateComponentTypeMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateComponentTypeMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_CreateEntity.go b/service/iottwinmaker/api_op_CreateEntity.go index 48d3c61f990..9e72c112239 100644 --- a/service/iottwinmaker/api_op_CreateEntity.go +++ b/service/iottwinmaker/api_op_CreateEntity.go @@ -156,9 +156,6 @@ func (c *Client) addOperationCreateEntityMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateEntityMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_CreateMetadataTransferJob.go b/service/iottwinmaker/api_op_CreateMetadataTransferJob.go index 2f4e91bad70..9214b0c567f 100644 --- a/service/iottwinmaker/api_op_CreateMetadataTransferJob.go +++ b/service/iottwinmaker/api_op_CreateMetadataTransferJob.go @@ -141,9 +141,6 @@ func (c *Client) addOperationCreateMetadataTransferJobMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateMetadataTransferJobMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_CreateScene.go b/service/iottwinmaker/api_op_CreateScene.go index 30aa1bb988e..a45bb01cdc1 100644 --- a/service/iottwinmaker/api_op_CreateScene.go +++ b/service/iottwinmaker/api_op_CreateScene.go @@ -141,9 +141,6 @@ func (c *Client) addOperationCreateSceneMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateSceneMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_CreateSyncJob.go b/service/iottwinmaker/api_op_CreateSyncJob.go index 7906200d191..5f898259537 100644 --- a/service/iottwinmaker/api_op_CreateSyncJob.go +++ b/service/iottwinmaker/api_op_CreateSyncJob.go @@ -141,9 +141,6 @@ func (c *Client) addOperationCreateSyncJobMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateSyncJobMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_CreateWorkspace.go b/service/iottwinmaker/api_op_CreateWorkspace.go index 97e02703248..5b91c6b118a 100644 --- a/service/iottwinmaker/api_op_CreateWorkspace.go +++ b/service/iottwinmaker/api_op_CreateWorkspace.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateWorkspaceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateWorkspaceMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_DeleteComponentType.go b/service/iottwinmaker/api_op_DeleteComponentType.go index c951602914a..e64e48b9093 100644 --- a/service/iottwinmaker/api_op_DeleteComponentType.go +++ b/service/iottwinmaker/api_op_DeleteComponentType.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteComponentTypeMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteComponentTypeMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_DeleteEntity.go b/service/iottwinmaker/api_op_DeleteEntity.go index 5a0f74b9950..b628cbb2254 100644 --- a/service/iottwinmaker/api_op_DeleteEntity.go +++ b/service/iottwinmaker/api_op_DeleteEntity.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteEntityMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteEntityMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_DeleteScene.go b/service/iottwinmaker/api_op_DeleteScene.go index 8a919bae30a..75f001b4983 100644 --- a/service/iottwinmaker/api_op_DeleteScene.go +++ b/service/iottwinmaker/api_op_DeleteScene.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteSceneMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteSceneMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_DeleteSyncJob.go b/service/iottwinmaker/api_op_DeleteSyncJob.go index 6da14602840..2f7fe0d412e 100644 --- a/service/iottwinmaker/api_op_DeleteSyncJob.go +++ b/service/iottwinmaker/api_op_DeleteSyncJob.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteSyncJobMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteSyncJobMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_DeleteWorkspace.go b/service/iottwinmaker/api_op_DeleteWorkspace.go index 896d4315204..5d994260846 100644 --- a/service/iottwinmaker/api_op_DeleteWorkspace.go +++ b/service/iottwinmaker/api_op_DeleteWorkspace.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteWorkspaceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteWorkspaceMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_ExecuteQuery.go b/service/iottwinmaker/api_op_ExecuteQuery.go index dd13c7c21ae..584b20b49e4 100644 --- a/service/iottwinmaker/api_op_ExecuteQuery.go +++ b/service/iottwinmaker/api_op_ExecuteQuery.go @@ -135,9 +135,6 @@ func (c *Client) addOperationExecuteQueryMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opExecuteQueryMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_GetComponentType.go b/service/iottwinmaker/api_op_GetComponentType.go index f5f3a1d26ea..85e8927ed7a 100644 --- a/service/iottwinmaker/api_op_GetComponentType.go +++ b/service/iottwinmaker/api_op_GetComponentType.go @@ -183,9 +183,6 @@ func (c *Client) addOperationGetComponentTypeMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetComponentTypeMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_GetEntity.go b/service/iottwinmaker/api_op_GetEntity.go index a520bd1c987..23ed683ea51 100644 --- a/service/iottwinmaker/api_op_GetEntity.go +++ b/service/iottwinmaker/api_op_GetEntity.go @@ -174,9 +174,6 @@ func (c *Client) addOperationGetEntityMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetEntityMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_GetMetadataTransferJob.go b/service/iottwinmaker/api_op_GetMetadataTransferJob.go index d27679e3ed5..9c5ee47921d 100644 --- a/service/iottwinmaker/api_op_GetMetadataTransferJob.go +++ b/service/iottwinmaker/api_op_GetMetadataTransferJob.go @@ -159,9 +159,6 @@ func (c *Client) addOperationGetMetadataTransferJobMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetMetadataTransferJobMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_GetPricingPlan.go b/service/iottwinmaker/api_op_GetPricingPlan.go index 2e66d1590cf..68d261a7da1 100644 --- a/service/iottwinmaker/api_op_GetPricingPlan.go +++ b/service/iottwinmaker/api_op_GetPricingPlan.go @@ -111,9 +111,6 @@ func (c *Client) addOperationGetPricingPlanMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetPricingPlanMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_GetPropertyValue.go b/service/iottwinmaker/api_op_GetPropertyValue.go index 56d6a1f3ac1..cd5be350edb 100644 --- a/service/iottwinmaker/api_op_GetPropertyValue.go +++ b/service/iottwinmaker/api_op_GetPropertyValue.go @@ -154,9 +154,6 @@ func (c *Client) addOperationGetPropertyValueMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetPropertyValueMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_GetPropertyValueHistory.go b/service/iottwinmaker/api_op_GetPropertyValueHistory.go index 4dec1c83976..ee00b757d77 100644 --- a/service/iottwinmaker/api_op_GetPropertyValueHistory.go +++ b/service/iottwinmaker/api_op_GetPropertyValueHistory.go @@ -186,9 +186,6 @@ func (c *Client) addOperationGetPropertyValueHistoryMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetPropertyValueHistoryMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_GetScene.go b/service/iottwinmaker/api_op_GetScene.go index 52e963b7e11..6180da54b34 100644 --- a/service/iottwinmaker/api_op_GetScene.go +++ b/service/iottwinmaker/api_op_GetScene.go @@ -160,9 +160,6 @@ func (c *Client) addOperationGetSceneMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetSceneMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_GetSyncJob.go b/service/iottwinmaker/api_op_GetSyncJob.go index 12d226e60aa..3bc759c0cb4 100644 --- a/service/iottwinmaker/api_op_GetSyncJob.go +++ b/service/iottwinmaker/api_op_GetSyncJob.go @@ -152,9 +152,6 @@ func (c *Client) addOperationGetSyncJobMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetSyncJobMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_GetWorkspace.go b/service/iottwinmaker/api_op_GetWorkspace.go index 72d8a6292ca..325b4256afe 100644 --- a/service/iottwinmaker/api_op_GetWorkspace.go +++ b/service/iottwinmaker/api_op_GetWorkspace.go @@ -142,9 +142,6 @@ func (c *Client) addOperationGetWorkspaceMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetWorkspaceMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_ListComponentTypes.go b/service/iottwinmaker/api_op_ListComponentTypes.go index e08e553ef22..73c9de62fe7 100644 --- a/service/iottwinmaker/api_op_ListComponentTypes.go +++ b/service/iottwinmaker/api_op_ListComponentTypes.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListComponentTypesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListComponentTypesMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_ListComponents.go b/service/iottwinmaker/api_op_ListComponents.go index 45fb3258630..6139fbdffba 100644 --- a/service/iottwinmaker/api_op_ListComponents.go +++ b/service/iottwinmaker/api_op_ListComponents.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListComponentsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListComponentsMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_ListEntities.go b/service/iottwinmaker/api_op_ListEntities.go index f2f6bd0111c..df1b7f5f528 100644 --- a/service/iottwinmaker/api_op_ListEntities.go +++ b/service/iottwinmaker/api_op_ListEntities.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListEntitiesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListEntitiesMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_ListMetadataTransferJobs.go b/service/iottwinmaker/api_op_ListMetadataTransferJobs.go index 9d4694acf8f..71626c298e2 100644 --- a/service/iottwinmaker/api_op_ListMetadataTransferJobs.go +++ b/service/iottwinmaker/api_op_ListMetadataTransferJobs.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListMetadataTransferJobsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListMetadataTransferJobsMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_ListProperties.go b/service/iottwinmaker/api_op_ListProperties.go index 1ccab187d3b..6d0a07493aa 100644 --- a/service/iottwinmaker/api_op_ListProperties.go +++ b/service/iottwinmaker/api_op_ListProperties.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListPropertiesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListPropertiesMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_ListScenes.go b/service/iottwinmaker/api_op_ListScenes.go index 1dbdca18577..7ed851a631a 100644 --- a/service/iottwinmaker/api_op_ListScenes.go +++ b/service/iottwinmaker/api_op_ListScenes.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListScenesMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListScenesMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_ListSyncJobs.go b/service/iottwinmaker/api_op_ListSyncJobs.go index 0db8de51b28..2ecb64e15af 100644 --- a/service/iottwinmaker/api_op_ListSyncJobs.go +++ b/service/iottwinmaker/api_op_ListSyncJobs.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListSyncJobsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListSyncJobsMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_ListSyncResources.go b/service/iottwinmaker/api_op_ListSyncResources.go index 974fd52ef57..509f783823c 100644 --- a/service/iottwinmaker/api_op_ListSyncResources.go +++ b/service/iottwinmaker/api_op_ListSyncResources.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListSyncResourcesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListSyncResourcesMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_ListTagsForResource.go b/service/iottwinmaker/api_op_ListTagsForResource.go index 7c40f637a6d..2fe7af7e8c8 100644 --- a/service/iottwinmaker/api_op_ListTagsForResource.go +++ b/service/iottwinmaker/api_op_ListTagsForResource.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListTagsForResourceMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_ListWorkspaces.go b/service/iottwinmaker/api_op_ListWorkspaces.go index 4d826fdf4d0..b13e1e93762 100644 --- a/service/iottwinmaker/api_op_ListWorkspaces.go +++ b/service/iottwinmaker/api_op_ListWorkspaces.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListWorkspacesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListWorkspacesMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_TagResource.go b/service/iottwinmaker/api_op_TagResource.go index 5add52ad481..0beda7f4cde 100644 --- a/service/iottwinmaker/api_op_TagResource.go +++ b/service/iottwinmaker/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opTagResourceMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_UntagResource.go b/service/iottwinmaker/api_op_UntagResource.go index 9953860fdb1..a6367ee1523 100644 --- a/service/iottwinmaker/api_op_UntagResource.go +++ b/service/iottwinmaker/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUntagResourceMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_UpdateComponentType.go b/service/iottwinmaker/api_op_UpdateComponentType.go index bb26a2ea3c5..e4b3a883461 100644 --- a/service/iottwinmaker/api_op_UpdateComponentType.go +++ b/service/iottwinmaker/api_op_UpdateComponentType.go @@ -162,9 +162,6 @@ func (c *Client) addOperationUpdateComponentTypeMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateComponentTypeMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_UpdateEntity.go b/service/iottwinmaker/api_op_UpdateEntity.go index afe75efef17..b7e0f3d21d2 100644 --- a/service/iottwinmaker/api_op_UpdateEntity.go +++ b/service/iottwinmaker/api_op_UpdateEntity.go @@ -143,9 +143,6 @@ func (c *Client) addOperationUpdateEntityMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateEntityMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_UpdatePricingPlan.go b/service/iottwinmaker/api_op_UpdatePricingPlan.go index 7384d15812e..1106618ed4f 100644 --- a/service/iottwinmaker/api_op_UpdatePricingPlan.go +++ b/service/iottwinmaker/api_op_UpdatePricingPlan.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdatePricingPlanMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdatePricingPlanMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_UpdateScene.go b/service/iottwinmaker/api_op_UpdateScene.go index 72ded19d341..ca9c7aaa078 100644 --- a/service/iottwinmaker/api_op_UpdateScene.go +++ b/service/iottwinmaker/api_op_UpdateScene.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateSceneMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateSceneMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/api_op_UpdateWorkspace.go b/service/iottwinmaker/api_op_UpdateWorkspace.go index fae7df4dfe2..8b180c67cce 100644 --- a/service/iottwinmaker/api_op_UpdateWorkspace.go +++ b/service/iottwinmaker/api_op_UpdateWorkspace.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateWorkspaceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateWorkspaceMiddleware(stack); err != nil { return err } diff --git a/service/iottwinmaker/snapshot/api_op_BatchPutPropertyValues.go.snap b/service/iottwinmaker/snapshot/api_op_BatchPutPropertyValues.go.snap index f089e9b424d..20271bb91fd 100644 --- a/service/iottwinmaker/snapshot/api_op_BatchPutPropertyValues.go.snap +++ b/service/iottwinmaker/snapshot/api_op_BatchPutPropertyValues.go.snap @@ -14,7 +14,6 @@ BatchPutPropertyValues Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_CancelMetadataTransferJob.go.snap b/service/iottwinmaker/snapshot/api_op_CancelMetadataTransferJob.go.snap index 7cc09d430dc..07b9c802924 100644 --- a/service/iottwinmaker/snapshot/api_op_CancelMetadataTransferJob.go.snap +++ b/service/iottwinmaker/snapshot/api_op_CancelMetadataTransferJob.go.snap @@ -14,7 +14,6 @@ CancelMetadataTransferJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_CreateComponentType.go.snap b/service/iottwinmaker/snapshot/api_op_CreateComponentType.go.snap index f305ee8d0bc..3cf8598e71b 100644 --- a/service/iottwinmaker/snapshot/api_op_CreateComponentType.go.snap +++ b/service/iottwinmaker/snapshot/api_op_CreateComponentType.go.snap @@ -14,7 +14,6 @@ CreateComponentType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_CreateEntity.go.snap b/service/iottwinmaker/snapshot/api_op_CreateEntity.go.snap index 34a602d2366..e43ca485d97 100644 --- a/service/iottwinmaker/snapshot/api_op_CreateEntity.go.snap +++ b/service/iottwinmaker/snapshot/api_op_CreateEntity.go.snap @@ -14,7 +14,6 @@ CreateEntity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_CreateMetadataTransferJob.go.snap b/service/iottwinmaker/snapshot/api_op_CreateMetadataTransferJob.go.snap index d07e088444a..7aa51c4b6bf 100644 --- a/service/iottwinmaker/snapshot/api_op_CreateMetadataTransferJob.go.snap +++ b/service/iottwinmaker/snapshot/api_op_CreateMetadataTransferJob.go.snap @@ -14,7 +14,6 @@ CreateMetadataTransferJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_CreateScene.go.snap b/service/iottwinmaker/snapshot/api_op_CreateScene.go.snap index d145d2ee1d3..319a71dcc41 100644 --- a/service/iottwinmaker/snapshot/api_op_CreateScene.go.snap +++ b/service/iottwinmaker/snapshot/api_op_CreateScene.go.snap @@ -14,7 +14,6 @@ CreateScene Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_CreateSyncJob.go.snap b/service/iottwinmaker/snapshot/api_op_CreateSyncJob.go.snap index e2ec56b2426..cfcf3bc89da 100644 --- a/service/iottwinmaker/snapshot/api_op_CreateSyncJob.go.snap +++ b/service/iottwinmaker/snapshot/api_op_CreateSyncJob.go.snap @@ -14,7 +14,6 @@ CreateSyncJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_CreateWorkspace.go.snap b/service/iottwinmaker/snapshot/api_op_CreateWorkspace.go.snap index 146da2c00b4..682a25e503f 100644 --- a/service/iottwinmaker/snapshot/api_op_CreateWorkspace.go.snap +++ b/service/iottwinmaker/snapshot/api_op_CreateWorkspace.go.snap @@ -14,7 +14,6 @@ CreateWorkspace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_DeleteComponentType.go.snap b/service/iottwinmaker/snapshot/api_op_DeleteComponentType.go.snap index 8c0d2dea1fe..b3d0bd74ed3 100644 --- a/service/iottwinmaker/snapshot/api_op_DeleteComponentType.go.snap +++ b/service/iottwinmaker/snapshot/api_op_DeleteComponentType.go.snap @@ -14,7 +14,6 @@ DeleteComponentType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_DeleteEntity.go.snap b/service/iottwinmaker/snapshot/api_op_DeleteEntity.go.snap index 035abe4c668..9d687577488 100644 --- a/service/iottwinmaker/snapshot/api_op_DeleteEntity.go.snap +++ b/service/iottwinmaker/snapshot/api_op_DeleteEntity.go.snap @@ -14,7 +14,6 @@ DeleteEntity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_DeleteScene.go.snap b/service/iottwinmaker/snapshot/api_op_DeleteScene.go.snap index fc86bb07456..f422cdbea98 100644 --- a/service/iottwinmaker/snapshot/api_op_DeleteScene.go.snap +++ b/service/iottwinmaker/snapshot/api_op_DeleteScene.go.snap @@ -14,7 +14,6 @@ DeleteScene Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_DeleteSyncJob.go.snap b/service/iottwinmaker/snapshot/api_op_DeleteSyncJob.go.snap index 60873252ff6..daaa368c7d4 100644 --- a/service/iottwinmaker/snapshot/api_op_DeleteSyncJob.go.snap +++ b/service/iottwinmaker/snapshot/api_op_DeleteSyncJob.go.snap @@ -14,7 +14,6 @@ DeleteSyncJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_DeleteWorkspace.go.snap b/service/iottwinmaker/snapshot/api_op_DeleteWorkspace.go.snap index 19d322fdb9f..cdaf1af7420 100644 --- a/service/iottwinmaker/snapshot/api_op_DeleteWorkspace.go.snap +++ b/service/iottwinmaker/snapshot/api_op_DeleteWorkspace.go.snap @@ -14,7 +14,6 @@ DeleteWorkspace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_ExecuteQuery.go.snap b/service/iottwinmaker/snapshot/api_op_ExecuteQuery.go.snap index 008d6c8e11f..799a2c9afc4 100644 --- a/service/iottwinmaker/snapshot/api_op_ExecuteQuery.go.snap +++ b/service/iottwinmaker/snapshot/api_op_ExecuteQuery.go.snap @@ -14,7 +14,6 @@ ExecuteQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_GetComponentType.go.snap b/service/iottwinmaker/snapshot/api_op_GetComponentType.go.snap index e6466c37393..a25588ab8c2 100644 --- a/service/iottwinmaker/snapshot/api_op_GetComponentType.go.snap +++ b/service/iottwinmaker/snapshot/api_op_GetComponentType.go.snap @@ -14,7 +14,6 @@ GetComponentType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_GetEntity.go.snap b/service/iottwinmaker/snapshot/api_op_GetEntity.go.snap index a00e99d8152..515285e03b0 100644 --- a/service/iottwinmaker/snapshot/api_op_GetEntity.go.snap +++ b/service/iottwinmaker/snapshot/api_op_GetEntity.go.snap @@ -14,7 +14,6 @@ GetEntity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_GetMetadataTransferJob.go.snap b/service/iottwinmaker/snapshot/api_op_GetMetadataTransferJob.go.snap index d11d5a4fd67..ac9794ccb95 100644 --- a/service/iottwinmaker/snapshot/api_op_GetMetadataTransferJob.go.snap +++ b/service/iottwinmaker/snapshot/api_op_GetMetadataTransferJob.go.snap @@ -14,7 +14,6 @@ GetMetadataTransferJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_GetPricingPlan.go.snap b/service/iottwinmaker/snapshot/api_op_GetPricingPlan.go.snap index f54b4b7c8aa..d68561f385d 100644 --- a/service/iottwinmaker/snapshot/api_op_GetPricingPlan.go.snap +++ b/service/iottwinmaker/snapshot/api_op_GetPricingPlan.go.snap @@ -13,7 +13,6 @@ GetPricingPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_GetPropertyValue.go.snap b/service/iottwinmaker/snapshot/api_op_GetPropertyValue.go.snap index a93cf806b85..6221d0a8ae1 100644 --- a/service/iottwinmaker/snapshot/api_op_GetPropertyValue.go.snap +++ b/service/iottwinmaker/snapshot/api_op_GetPropertyValue.go.snap @@ -14,7 +14,6 @@ GetPropertyValue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_GetPropertyValueHistory.go.snap b/service/iottwinmaker/snapshot/api_op_GetPropertyValueHistory.go.snap index c78b3104e69..55d681cebb3 100644 --- a/service/iottwinmaker/snapshot/api_op_GetPropertyValueHistory.go.snap +++ b/service/iottwinmaker/snapshot/api_op_GetPropertyValueHistory.go.snap @@ -14,7 +14,6 @@ GetPropertyValueHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_GetScene.go.snap b/service/iottwinmaker/snapshot/api_op_GetScene.go.snap index 7360c1130ba..a0d2c876f32 100644 --- a/service/iottwinmaker/snapshot/api_op_GetScene.go.snap +++ b/service/iottwinmaker/snapshot/api_op_GetScene.go.snap @@ -14,7 +14,6 @@ GetScene Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_GetSyncJob.go.snap b/service/iottwinmaker/snapshot/api_op_GetSyncJob.go.snap index 6eef80fecc2..9938ffc2d98 100644 --- a/service/iottwinmaker/snapshot/api_op_GetSyncJob.go.snap +++ b/service/iottwinmaker/snapshot/api_op_GetSyncJob.go.snap @@ -14,7 +14,6 @@ GetSyncJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_GetWorkspace.go.snap b/service/iottwinmaker/snapshot/api_op_GetWorkspace.go.snap index e41b3c6244d..c5fdb20e17e 100644 --- a/service/iottwinmaker/snapshot/api_op_GetWorkspace.go.snap +++ b/service/iottwinmaker/snapshot/api_op_GetWorkspace.go.snap @@ -14,7 +14,6 @@ GetWorkspace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_ListComponentTypes.go.snap b/service/iottwinmaker/snapshot/api_op_ListComponentTypes.go.snap index 6fbd3d8db33..03d1386b114 100644 --- a/service/iottwinmaker/snapshot/api_op_ListComponentTypes.go.snap +++ b/service/iottwinmaker/snapshot/api_op_ListComponentTypes.go.snap @@ -14,7 +14,6 @@ ListComponentTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_ListComponents.go.snap b/service/iottwinmaker/snapshot/api_op_ListComponents.go.snap index e7c04858606..1c9f83d28ba 100644 --- a/service/iottwinmaker/snapshot/api_op_ListComponents.go.snap +++ b/service/iottwinmaker/snapshot/api_op_ListComponents.go.snap @@ -14,7 +14,6 @@ ListComponents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_ListEntities.go.snap b/service/iottwinmaker/snapshot/api_op_ListEntities.go.snap index 179903a6d47..46bc650b2c4 100644 --- a/service/iottwinmaker/snapshot/api_op_ListEntities.go.snap +++ b/service/iottwinmaker/snapshot/api_op_ListEntities.go.snap @@ -14,7 +14,6 @@ ListEntities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_ListMetadataTransferJobs.go.snap b/service/iottwinmaker/snapshot/api_op_ListMetadataTransferJobs.go.snap index 016f60b1c48..0677aef307c 100644 --- a/service/iottwinmaker/snapshot/api_op_ListMetadataTransferJobs.go.snap +++ b/service/iottwinmaker/snapshot/api_op_ListMetadataTransferJobs.go.snap @@ -14,7 +14,6 @@ ListMetadataTransferJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_ListProperties.go.snap b/service/iottwinmaker/snapshot/api_op_ListProperties.go.snap index d954d422b7a..0a37bd796d4 100644 --- a/service/iottwinmaker/snapshot/api_op_ListProperties.go.snap +++ b/service/iottwinmaker/snapshot/api_op_ListProperties.go.snap @@ -14,7 +14,6 @@ ListProperties Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_ListScenes.go.snap b/service/iottwinmaker/snapshot/api_op_ListScenes.go.snap index 4e181106fd8..c223166c9db 100644 --- a/service/iottwinmaker/snapshot/api_op_ListScenes.go.snap +++ b/service/iottwinmaker/snapshot/api_op_ListScenes.go.snap @@ -14,7 +14,6 @@ ListScenes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_ListSyncJobs.go.snap b/service/iottwinmaker/snapshot/api_op_ListSyncJobs.go.snap index 27ec4a7fdae..c066e811c30 100644 --- a/service/iottwinmaker/snapshot/api_op_ListSyncJobs.go.snap +++ b/service/iottwinmaker/snapshot/api_op_ListSyncJobs.go.snap @@ -14,7 +14,6 @@ ListSyncJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_ListSyncResources.go.snap b/service/iottwinmaker/snapshot/api_op_ListSyncResources.go.snap index 081fb330241..e1ebd99cf10 100644 --- a/service/iottwinmaker/snapshot/api_op_ListSyncResources.go.snap +++ b/service/iottwinmaker/snapshot/api_op_ListSyncResources.go.snap @@ -14,7 +14,6 @@ ListSyncResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_ListTagsForResource.go.snap b/service/iottwinmaker/snapshot/api_op_ListTagsForResource.go.snap index 8ff9a02baa1..0d85e67cf02 100644 --- a/service/iottwinmaker/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/iottwinmaker/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_ListWorkspaces.go.snap b/service/iottwinmaker/snapshot/api_op_ListWorkspaces.go.snap index 3d1c1dafd3f..11e1d01932f 100644 --- a/service/iottwinmaker/snapshot/api_op_ListWorkspaces.go.snap +++ b/service/iottwinmaker/snapshot/api_op_ListWorkspaces.go.snap @@ -13,7 +13,6 @@ ListWorkspaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_TagResource.go.snap b/service/iottwinmaker/snapshot/api_op_TagResource.go.snap index e1a30395155..20d1859b264 100644 --- a/service/iottwinmaker/snapshot/api_op_TagResource.go.snap +++ b/service/iottwinmaker/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_UntagResource.go.snap b/service/iottwinmaker/snapshot/api_op_UntagResource.go.snap index 170b89b0d41..dabf5e30bc0 100644 --- a/service/iottwinmaker/snapshot/api_op_UntagResource.go.snap +++ b/service/iottwinmaker/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_UpdateComponentType.go.snap b/service/iottwinmaker/snapshot/api_op_UpdateComponentType.go.snap index 11eccdba87b..8d6162b4406 100644 --- a/service/iottwinmaker/snapshot/api_op_UpdateComponentType.go.snap +++ b/service/iottwinmaker/snapshot/api_op_UpdateComponentType.go.snap @@ -14,7 +14,6 @@ UpdateComponentType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_UpdateEntity.go.snap b/service/iottwinmaker/snapshot/api_op_UpdateEntity.go.snap index 3c19902312f..048281304a2 100644 --- a/service/iottwinmaker/snapshot/api_op_UpdateEntity.go.snap +++ b/service/iottwinmaker/snapshot/api_op_UpdateEntity.go.snap @@ -14,7 +14,6 @@ UpdateEntity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_UpdatePricingPlan.go.snap b/service/iottwinmaker/snapshot/api_op_UpdatePricingPlan.go.snap index 99e1e5747e4..9fc62bf2cc0 100644 --- a/service/iottwinmaker/snapshot/api_op_UpdatePricingPlan.go.snap +++ b/service/iottwinmaker/snapshot/api_op_UpdatePricingPlan.go.snap @@ -14,7 +14,6 @@ UpdatePricingPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_UpdateScene.go.snap b/service/iottwinmaker/snapshot/api_op_UpdateScene.go.snap index 282c9638bb6..406f9f059fc 100644 --- a/service/iottwinmaker/snapshot/api_op_UpdateScene.go.snap +++ b/service/iottwinmaker/snapshot/api_op_UpdateScene.go.snap @@ -14,7 +14,6 @@ UpdateScene Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iottwinmaker/snapshot/api_op_UpdateWorkspace.go.snap b/service/iottwinmaker/snapshot/api_op_UpdateWorkspace.go.snap index 483c2f7e45b..1d7b7e21d27 100644 --- a/service/iottwinmaker/snapshot/api_op_UpdateWorkspace.go.snap +++ b/service/iottwinmaker/snapshot/api_op_UpdateWorkspace.go.snap @@ -14,7 +14,6 @@ UpdateWorkspace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/api_client.go b/service/iotwireless/api_client.go index f4f783e0f2e..5b64f8461e1 100644 --- a/service/iotwireless/api_client.go +++ b/service/iotwireless/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/iotwireless/api_op_AssociateAwsAccountWithPartnerAccount.go b/service/iotwireless/api_op_AssociateAwsAccountWithPartnerAccount.go index 3bb2ec3a311..af5d14dfca3 100644 --- a/service/iotwireless/api_op_AssociateAwsAccountWithPartnerAccount.go +++ b/service/iotwireless/api_op_AssociateAwsAccountWithPartnerAccount.go @@ -130,9 +130,6 @@ func (c *Client) addOperationAssociateAwsAccountWithPartnerAccountMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opAssociateAwsAccountWithPartnerAccountMiddleware(stack, options); err != nil { return err } diff --git a/service/iotwireless/api_op_AssociateMulticastGroupWithFuotaTask.go b/service/iotwireless/api_op_AssociateMulticastGroupWithFuotaTask.go index cdbc0b9c963..d96094b0859 100644 --- a/service/iotwireless/api_op_AssociateMulticastGroupWithFuotaTask.go +++ b/service/iotwireless/api_op_AssociateMulticastGroupWithFuotaTask.go @@ -112,9 +112,6 @@ func (c *Client) addOperationAssociateMulticastGroupWithFuotaTaskMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateMulticastGroupWithFuotaTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_AssociateWirelessDeviceWithFuotaTask.go b/service/iotwireless/api_op_AssociateWirelessDeviceWithFuotaTask.go index 74a729c7950..5d197a6b339 100644 --- a/service/iotwireless/api_op_AssociateWirelessDeviceWithFuotaTask.go +++ b/service/iotwireless/api_op_AssociateWirelessDeviceWithFuotaTask.go @@ -112,9 +112,6 @@ func (c *Client) addOperationAssociateWirelessDeviceWithFuotaTaskMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateWirelessDeviceWithFuotaTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_AssociateWirelessDeviceWithMulticastGroup.go b/service/iotwireless/api_op_AssociateWirelessDeviceWithMulticastGroup.go index 12c884ad41c..70ff04bb154 100644 --- a/service/iotwireless/api_op_AssociateWirelessDeviceWithMulticastGroup.go +++ b/service/iotwireless/api_op_AssociateWirelessDeviceWithMulticastGroup.go @@ -112,9 +112,6 @@ func (c *Client) addOperationAssociateWirelessDeviceWithMulticastGroupMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateWirelessDeviceWithMulticastGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_AssociateWirelessDeviceWithThing.go b/service/iotwireless/api_op_AssociateWirelessDeviceWithThing.go index 9344c557ea0..2d5a7d03959 100644 --- a/service/iotwireless/api_op_AssociateWirelessDeviceWithThing.go +++ b/service/iotwireless/api_op_AssociateWirelessDeviceWithThing.go @@ -112,9 +112,6 @@ func (c *Client) addOperationAssociateWirelessDeviceWithThingMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateWirelessDeviceWithThingValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_AssociateWirelessGatewayWithCertificate.go b/service/iotwireless/api_op_AssociateWirelessGatewayWithCertificate.go index 90825ed2e4d..edc218efcc0 100644 --- a/service/iotwireless/api_op_AssociateWirelessGatewayWithCertificate.go +++ b/service/iotwireless/api_op_AssociateWirelessGatewayWithCertificate.go @@ -116,9 +116,6 @@ func (c *Client) addOperationAssociateWirelessGatewayWithCertificateMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateWirelessGatewayWithCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_AssociateWirelessGatewayWithThing.go b/service/iotwireless/api_op_AssociateWirelessGatewayWithThing.go index b5049796be6..5312d335e1e 100644 --- a/service/iotwireless/api_op_AssociateWirelessGatewayWithThing.go +++ b/service/iotwireless/api_op_AssociateWirelessGatewayWithThing.go @@ -112,9 +112,6 @@ func (c *Client) addOperationAssociateWirelessGatewayWithThingMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateWirelessGatewayWithThingValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_CancelMulticastGroupSession.go b/service/iotwireless/api_op_CancelMulticastGroupSession.go index b2c752ff4f6..cc6381700c4 100644 --- a/service/iotwireless/api_op_CancelMulticastGroupSession.go +++ b/service/iotwireless/api_op_CancelMulticastGroupSession.go @@ -107,9 +107,6 @@ func (c *Client) addOperationCancelMulticastGroupSessionMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelMulticastGroupSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_CreateDestination.go b/service/iotwireless/api_op_CreateDestination.go index b5d1da10871..c614ed3f2a2 100644 --- a/service/iotwireless/api_op_CreateDestination.go +++ b/service/iotwireless/api_op_CreateDestination.go @@ -148,9 +148,6 @@ func (c *Client) addOperationCreateDestinationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDestinationMiddleware(stack, options); err != nil { return err } diff --git a/service/iotwireless/api_op_CreateDeviceProfile.go b/service/iotwireless/api_op_CreateDeviceProfile.go index 48d63d64d50..db679c32313 100644 --- a/service/iotwireless/api_op_CreateDeviceProfile.go +++ b/service/iotwireless/api_op_CreateDeviceProfile.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCreateDeviceProfileMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDeviceProfileMiddleware(stack, options); err != nil { return err } diff --git a/service/iotwireless/api_op_CreateFuotaTask.go b/service/iotwireless/api_op_CreateFuotaTask.go index 95c6d9c77a0..a3c78a7ba44 100644 --- a/service/iotwireless/api_op_CreateFuotaTask.go +++ b/service/iotwireless/api_op_CreateFuotaTask.go @@ -169,9 +169,6 @@ func (c *Client) addOperationCreateFuotaTaskMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateFuotaTaskMiddleware(stack, options); err != nil { return err } diff --git a/service/iotwireless/api_op_CreateMulticastGroup.go b/service/iotwireless/api_op_CreateMulticastGroup.go index 9abf84b3391..2ee31b30a58 100644 --- a/service/iotwireless/api_op_CreateMulticastGroup.go +++ b/service/iotwireless/api_op_CreateMulticastGroup.go @@ -136,9 +136,6 @@ func (c *Client) addOperationCreateMulticastGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateMulticastGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/iotwireless/api_op_CreateNetworkAnalyzerConfiguration.go b/service/iotwireless/api_op_CreateNetworkAnalyzerConfiguration.go index 7a8d7762edc..6cca07fdb1f 100644 --- a/service/iotwireless/api_op_CreateNetworkAnalyzerConfiguration.go +++ b/service/iotwireless/api_op_CreateNetworkAnalyzerConfiguration.go @@ -148,9 +148,6 @@ func (c *Client) addOperationCreateNetworkAnalyzerConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateNetworkAnalyzerConfigurationMiddleware(stack, options); err != nil { return err } diff --git a/service/iotwireless/api_op_CreateServiceProfile.go b/service/iotwireless/api_op_CreateServiceProfile.go index 6d270b0e76b..0e8c83a72a1 100644 --- a/service/iotwireless/api_op_CreateServiceProfile.go +++ b/service/iotwireless/api_op_CreateServiceProfile.go @@ -131,9 +131,6 @@ func (c *Client) addOperationCreateServiceProfileMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateServiceProfileMiddleware(stack, options); err != nil { return err } diff --git a/service/iotwireless/api_op_CreateWirelessDevice.go b/service/iotwireless/api_op_CreateWirelessDevice.go index a0f7287819f..ec7ca9a330e 100644 --- a/service/iotwireless/api_op_CreateWirelessDevice.go +++ b/service/iotwireless/api_op_CreateWirelessDevice.go @@ -151,9 +151,6 @@ func (c *Client) addOperationCreateWirelessDeviceMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateWirelessDeviceMiddleware(stack, options); err != nil { return err } diff --git a/service/iotwireless/api_op_CreateWirelessGateway.go b/service/iotwireless/api_op_CreateWirelessGateway.go index 89bfe1183c2..bf705c0634a 100644 --- a/service/iotwireless/api_op_CreateWirelessGateway.go +++ b/service/iotwireless/api_op_CreateWirelessGateway.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCreateWirelessGatewayMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateWirelessGatewayMiddleware(stack, options); err != nil { return err } diff --git a/service/iotwireless/api_op_CreateWirelessGatewayTask.go b/service/iotwireless/api_op_CreateWirelessGatewayTask.go index d31edc90a55..3b7f36cfd5d 100644 --- a/service/iotwireless/api_op_CreateWirelessGatewayTask.go +++ b/service/iotwireless/api_op_CreateWirelessGatewayTask.go @@ -120,9 +120,6 @@ func (c *Client) addOperationCreateWirelessGatewayTaskMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateWirelessGatewayTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_CreateWirelessGatewayTaskDefinition.go b/service/iotwireless/api_op_CreateWirelessGatewayTaskDefinition.go index b1fe54d6f5c..23c775a1aae 100644 --- a/service/iotwireless/api_op_CreateWirelessGatewayTaskDefinition.go +++ b/service/iotwireless/api_op_CreateWirelessGatewayTaskDefinition.go @@ -138,9 +138,6 @@ func (c *Client) addOperationCreateWirelessGatewayTaskDefinitionMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateWirelessGatewayTaskDefinitionMiddleware(stack, options); err != nil { return err } diff --git a/service/iotwireless/api_op_DeleteDestination.go b/service/iotwireless/api_op_DeleteDestination.go index d494ce0978e..5cee57e8e0c 100644 --- a/service/iotwireless/api_op_DeleteDestination.go +++ b/service/iotwireless/api_op_DeleteDestination.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteDestinationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DeleteDeviceProfile.go b/service/iotwireless/api_op_DeleteDeviceProfile.go index a4f67cd29b3..f5a03fafc68 100644 --- a/service/iotwireless/api_op_DeleteDeviceProfile.go +++ b/service/iotwireless/api_op_DeleteDeviceProfile.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteDeviceProfileMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDeviceProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DeleteFuotaTask.go b/service/iotwireless/api_op_DeleteFuotaTask.go index 94940b5c1a5..fdabb1a5903 100644 --- a/service/iotwireless/api_op_DeleteFuotaTask.go +++ b/service/iotwireless/api_op_DeleteFuotaTask.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteFuotaTaskMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFuotaTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DeleteMulticastGroup.go b/service/iotwireless/api_op_DeleteMulticastGroup.go index 26ce8be1f18..d1f6b054905 100644 --- a/service/iotwireless/api_op_DeleteMulticastGroup.go +++ b/service/iotwireless/api_op_DeleteMulticastGroup.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteMulticastGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMulticastGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DeleteNetworkAnalyzerConfiguration.go b/service/iotwireless/api_op_DeleteNetworkAnalyzerConfiguration.go index 7551f9e5bed..1ef2f0d39a5 100644 --- a/service/iotwireless/api_op_DeleteNetworkAnalyzerConfiguration.go +++ b/service/iotwireless/api_op_DeleteNetworkAnalyzerConfiguration.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteNetworkAnalyzerConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteNetworkAnalyzerConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DeleteQueuedMessages.go b/service/iotwireless/api_op_DeleteQueuedMessages.go index 4bb8bd427d2..e770ec05af8 100644 --- a/service/iotwireless/api_op_DeleteQueuedMessages.go +++ b/service/iotwireless/api_op_DeleteQueuedMessages.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteQueuedMessagesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteQueuedMessagesValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DeleteServiceProfile.go b/service/iotwireless/api_op_DeleteServiceProfile.go index 5ba7bdf2cf0..a984a5e5830 100644 --- a/service/iotwireless/api_op_DeleteServiceProfile.go +++ b/service/iotwireless/api_op_DeleteServiceProfile.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteServiceProfileMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteServiceProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DeleteWirelessDevice.go b/service/iotwireless/api_op_DeleteWirelessDevice.go index 2d60e570014..dba2a144327 100644 --- a/service/iotwireless/api_op_DeleteWirelessDevice.go +++ b/service/iotwireless/api_op_DeleteWirelessDevice.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteWirelessDeviceMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWirelessDeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DeleteWirelessDeviceImportTask.go b/service/iotwireless/api_op_DeleteWirelessDeviceImportTask.go index 91b6e418813..1ceadb9fe1e 100644 --- a/service/iotwireless/api_op_DeleteWirelessDeviceImportTask.go +++ b/service/iotwireless/api_op_DeleteWirelessDeviceImportTask.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteWirelessDeviceImportTaskMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWirelessDeviceImportTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DeleteWirelessGateway.go b/service/iotwireless/api_op_DeleteWirelessGateway.go index 1f0852c90cb..cff19b78b6b 100644 --- a/service/iotwireless/api_op_DeleteWirelessGateway.go +++ b/service/iotwireless/api_op_DeleteWirelessGateway.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteWirelessGatewayMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWirelessGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DeleteWirelessGatewayTask.go b/service/iotwireless/api_op_DeleteWirelessGatewayTask.go index ff3da714e45..87e1c085cdf 100644 --- a/service/iotwireless/api_op_DeleteWirelessGatewayTask.go +++ b/service/iotwireless/api_op_DeleteWirelessGatewayTask.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteWirelessGatewayTaskMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWirelessGatewayTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DeleteWirelessGatewayTaskDefinition.go b/service/iotwireless/api_op_DeleteWirelessGatewayTaskDefinition.go index 07d829fff5d..7bb63f8a398 100644 --- a/service/iotwireless/api_op_DeleteWirelessGatewayTaskDefinition.go +++ b/service/iotwireless/api_op_DeleteWirelessGatewayTaskDefinition.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteWirelessGatewayTaskDefinitionMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWirelessGatewayTaskDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DeregisterWirelessDevice.go b/service/iotwireless/api_op_DeregisterWirelessDevice.go index 5df72493c1a..99ed0382da4 100644 --- a/service/iotwireless/api_op_DeregisterWirelessDevice.go +++ b/service/iotwireless/api_op_DeregisterWirelessDevice.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeregisterWirelessDeviceMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterWirelessDeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DisassociateAwsAccountFromPartnerAccount.go b/service/iotwireless/api_op_DisassociateAwsAccountFromPartnerAccount.go index 5519d7aac13..330e7d3ed3b 100644 --- a/service/iotwireless/api_op_DisassociateAwsAccountFromPartnerAccount.go +++ b/service/iotwireless/api_op_DisassociateAwsAccountFromPartnerAccount.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDisassociateAwsAccountFromPartnerAccountMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateAwsAccountFromPartnerAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DisassociateMulticastGroupFromFuotaTask.go b/service/iotwireless/api_op_DisassociateMulticastGroupFromFuotaTask.go index 29c22092722..8a42d22f651 100644 --- a/service/iotwireless/api_op_DisassociateMulticastGroupFromFuotaTask.go +++ b/service/iotwireless/api_op_DisassociateMulticastGroupFromFuotaTask.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDisassociateMulticastGroupFromFuotaTaskMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateMulticastGroupFromFuotaTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DisassociateWirelessDeviceFromFuotaTask.go b/service/iotwireless/api_op_DisassociateWirelessDeviceFromFuotaTask.go index 10f8d3034df..22f2babbebf 100644 --- a/service/iotwireless/api_op_DisassociateWirelessDeviceFromFuotaTask.go +++ b/service/iotwireless/api_op_DisassociateWirelessDeviceFromFuotaTask.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDisassociateWirelessDeviceFromFuotaTaskMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateWirelessDeviceFromFuotaTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DisassociateWirelessDeviceFromMulticastGroup.go b/service/iotwireless/api_op_DisassociateWirelessDeviceFromMulticastGroup.go index d83c53706ad..a195d4f1711 100644 --- a/service/iotwireless/api_op_DisassociateWirelessDeviceFromMulticastGroup.go +++ b/service/iotwireless/api_op_DisassociateWirelessDeviceFromMulticastGroup.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDisassociateWirelessDeviceFromMulticastGroupMiddlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateWirelessDeviceFromMulticastGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DisassociateWirelessDeviceFromThing.go b/service/iotwireless/api_op_DisassociateWirelessDeviceFromThing.go index de102898dd3..c78bb509cdc 100644 --- a/service/iotwireless/api_op_DisassociateWirelessDeviceFromThing.go +++ b/service/iotwireless/api_op_DisassociateWirelessDeviceFromThing.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDisassociateWirelessDeviceFromThingMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateWirelessDeviceFromThingValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DisassociateWirelessGatewayFromCertificate.go b/service/iotwireless/api_op_DisassociateWirelessGatewayFromCertificate.go index 62f45b9fb7f..c9207e6c8d6 100644 --- a/service/iotwireless/api_op_DisassociateWirelessGatewayFromCertificate.go +++ b/service/iotwireless/api_op_DisassociateWirelessGatewayFromCertificate.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDisassociateWirelessGatewayFromCertificateMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateWirelessGatewayFromCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_DisassociateWirelessGatewayFromThing.go b/service/iotwireless/api_op_DisassociateWirelessGatewayFromThing.go index 8587e5e541b..dfac1524a40 100644 --- a/service/iotwireless/api_op_DisassociateWirelessGatewayFromThing.go +++ b/service/iotwireless/api_op_DisassociateWirelessGatewayFromThing.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDisassociateWirelessGatewayFromThingMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateWirelessGatewayFromThingValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetDestination.go b/service/iotwireless/api_op_GetDestination.go index de57ef50840..4a74f08bf84 100644 --- a/service/iotwireless/api_op_GetDestination.go +++ b/service/iotwireless/api_op_GetDestination.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetDestinationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetDeviceProfile.go b/service/iotwireless/api_op_GetDeviceProfile.go index 3889769baf2..b090c162728 100644 --- a/service/iotwireless/api_op_GetDeviceProfile.go +++ b/service/iotwireless/api_op_GetDeviceProfile.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetDeviceProfileMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeviceProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetEventConfigurationByResourceTypes.go b/service/iotwireless/api_op_GetEventConfigurationByResourceTypes.go index 5c13e811893..b0d1bac4cc4 100644 --- a/service/iotwireless/api_op_GetEventConfigurationByResourceTypes.go +++ b/service/iotwireless/api_op_GetEventConfigurationByResourceTypes.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetEventConfigurationByResourceTypesMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEventConfigurationByResourceTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotwireless/api_op_GetFuotaTask.go b/service/iotwireless/api_op_GetFuotaTask.go index 5a3c29895dd..e63d26f3707 100644 --- a/service/iotwireless/api_op_GetFuotaTask.go +++ b/service/iotwireless/api_op_GetFuotaTask.go @@ -162,9 +162,6 @@ func (c *Client) addOperationGetFuotaTaskMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFuotaTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetLogLevelsByResourceTypes.go b/service/iotwireless/api_op_GetLogLevelsByResourceTypes.go index 12399860b57..217ba6b6e66 100644 --- a/service/iotwireless/api_op_GetLogLevelsByResourceTypes.go +++ b/service/iotwireless/api_op_GetLogLevelsByResourceTypes.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetLogLevelsByResourceTypesMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLogLevelsByResourceTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotwireless/api_op_GetMetricConfiguration.go b/service/iotwireless/api_op_GetMetricConfiguration.go index 441b2b7e694..68825d71704 100644 --- a/service/iotwireless/api_op_GetMetricConfiguration.go +++ b/service/iotwireless/api_op_GetMetricConfiguration.go @@ -106,9 +106,6 @@ func (c *Client) addOperationGetMetricConfigurationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMetricConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotwireless/api_op_GetMetrics.go b/service/iotwireless/api_op_GetMetrics.go index 46aaa12bd91..9ad69621d83 100644 --- a/service/iotwireless/api_op_GetMetrics.go +++ b/service/iotwireless/api_op_GetMetrics.go @@ -110,9 +110,6 @@ func (c *Client) addOperationGetMetricsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMetrics(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotwireless/api_op_GetMulticastGroup.go b/service/iotwireless/api_op_GetMulticastGroup.go index c3ac495faad..4b1417cf60d 100644 --- a/service/iotwireless/api_op_GetMulticastGroup.go +++ b/service/iotwireless/api_op_GetMulticastGroup.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetMulticastGroupMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMulticastGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetMulticastGroupSession.go b/service/iotwireless/api_op_GetMulticastGroupSession.go index 562fa8f852b..e078c18db93 100644 --- a/service/iotwireless/api_op_GetMulticastGroupSession.go +++ b/service/iotwireless/api_op_GetMulticastGroupSession.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetMulticastGroupSessionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMulticastGroupSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetNetworkAnalyzerConfiguration.go b/service/iotwireless/api_op_GetNetworkAnalyzerConfiguration.go index 5901d4d8a9e..9285be6b7a2 100644 --- a/service/iotwireless/api_op_GetNetworkAnalyzerConfiguration.go +++ b/service/iotwireless/api_op_GetNetworkAnalyzerConfiguration.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetNetworkAnalyzerConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetNetworkAnalyzerConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetPartnerAccount.go b/service/iotwireless/api_op_GetPartnerAccount.go index 0552de47ced..34d9ef7168d 100644 --- a/service/iotwireless/api_op_GetPartnerAccount.go +++ b/service/iotwireless/api_op_GetPartnerAccount.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetPartnerAccountMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPartnerAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetPosition.go b/service/iotwireless/api_op_GetPosition.go index 2d69fa7c8c5..2a662fbddf6 100644 --- a/service/iotwireless/api_op_GetPosition.go +++ b/service/iotwireless/api_op_GetPosition.go @@ -142,9 +142,6 @@ func (c *Client) addOperationGetPositionMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPositionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetPositionConfiguration.go b/service/iotwireless/api_op_GetPositionConfiguration.go index d9e9ec6f348..506412be404 100644 --- a/service/iotwireless/api_op_GetPositionConfiguration.go +++ b/service/iotwireless/api_op_GetPositionConfiguration.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetPositionConfigurationMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPositionConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetPositionEstimate.go b/service/iotwireless/api_op_GetPositionEstimate.go index d57e6f72ca2..cf60e993442 100644 --- a/service/iotwireless/api_op_GetPositionEstimate.go +++ b/service/iotwireless/api_op_GetPositionEstimate.go @@ -140,9 +140,6 @@ func (c *Client) addOperationGetPositionEstimateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPositionEstimateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetResourceEventConfiguration.go b/service/iotwireless/api_op_GetResourceEventConfiguration.go index 08a4169431e..59ac358c67a 100644 --- a/service/iotwireless/api_op_GetResourceEventConfiguration.go +++ b/service/iotwireless/api_op_GetResourceEventConfiguration.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetResourceEventConfigurationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourceEventConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetResourceLogLevel.go b/service/iotwireless/api_op_GetResourceLogLevel.go index 2ee8240b971..e7a75731456 100644 --- a/service/iotwireless/api_op_GetResourceLogLevel.go +++ b/service/iotwireless/api_op_GetResourceLogLevel.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetResourceLogLevelMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourceLogLevelValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetResourcePosition.go b/service/iotwireless/api_op_GetResourcePosition.go index 8b63d301884..1c54365c6a7 100644 --- a/service/iotwireless/api_op_GetResourcePosition.go +++ b/service/iotwireless/api_op_GetResourcePosition.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetResourcePositionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourcePositionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetServiceEndpoint.go b/service/iotwireless/api_op_GetServiceEndpoint.go index a1a58a5be3e..333b8f3a0b1 100644 --- a/service/iotwireless/api_op_GetServiceEndpoint.go +++ b/service/iotwireless/api_op_GetServiceEndpoint.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetServiceEndpointMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServiceEndpoint(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotwireless/api_op_GetServiceProfile.go b/service/iotwireless/api_op_GetServiceProfile.go index 8a5e21322f1..f61bfe3cc6d 100644 --- a/service/iotwireless/api_op_GetServiceProfile.go +++ b/service/iotwireless/api_op_GetServiceProfile.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetServiceProfileMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetServiceProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetWirelessDevice.go b/service/iotwireless/api_op_GetWirelessDevice.go index 39ebd742a40..d35347da16a 100644 --- a/service/iotwireless/api_op_GetWirelessDevice.go +++ b/service/iotwireless/api_op_GetWirelessDevice.go @@ -149,9 +149,6 @@ func (c *Client) addOperationGetWirelessDeviceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWirelessDeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetWirelessDeviceImportTask.go b/service/iotwireless/api_op_GetWirelessDeviceImportTask.go index 3479ad8c299..e362b0d4989 100644 --- a/service/iotwireless/api_op_GetWirelessDeviceImportTask.go +++ b/service/iotwireless/api_op_GetWirelessDeviceImportTask.go @@ -150,9 +150,6 @@ func (c *Client) addOperationGetWirelessDeviceImportTaskMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWirelessDeviceImportTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetWirelessDeviceStatistics.go b/service/iotwireless/api_op_GetWirelessDeviceStatistics.go index 27409e8909d..d62a415f92c 100644 --- a/service/iotwireless/api_op_GetWirelessDeviceStatistics.go +++ b/service/iotwireless/api_op_GetWirelessDeviceStatistics.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetWirelessDeviceStatisticsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWirelessDeviceStatisticsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetWirelessGateway.go b/service/iotwireless/api_op_GetWirelessGateway.go index 8bf338a6771..86bb7e7171c 100644 --- a/service/iotwireless/api_op_GetWirelessGateway.go +++ b/service/iotwireless/api_op_GetWirelessGateway.go @@ -136,9 +136,6 @@ func (c *Client) addOperationGetWirelessGatewayMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWirelessGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetWirelessGatewayCertificate.go b/service/iotwireless/api_op_GetWirelessGatewayCertificate.go index 22e6e7e5dc3..f3e49c77a8d 100644 --- a/service/iotwireless/api_op_GetWirelessGatewayCertificate.go +++ b/service/iotwireless/api_op_GetWirelessGatewayCertificate.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetWirelessGatewayCertificateMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWirelessGatewayCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetWirelessGatewayFirmwareInformation.go b/service/iotwireless/api_op_GetWirelessGatewayFirmwareInformation.go index da9b088e166..8d73aa6d11d 100644 --- a/service/iotwireless/api_op_GetWirelessGatewayFirmwareInformation.go +++ b/service/iotwireless/api_op_GetWirelessGatewayFirmwareInformation.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetWirelessGatewayFirmwareInformationMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWirelessGatewayFirmwareInformationValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetWirelessGatewayStatistics.go b/service/iotwireless/api_op_GetWirelessGatewayStatistics.go index 285fceebba9..12bbe73f2b5 100644 --- a/service/iotwireless/api_op_GetWirelessGatewayStatistics.go +++ b/service/iotwireless/api_op_GetWirelessGatewayStatistics.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetWirelessGatewayStatisticsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWirelessGatewayStatisticsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetWirelessGatewayTask.go b/service/iotwireless/api_op_GetWirelessGatewayTask.go index ab875dd50ee..511cb0ac229 100644 --- a/service/iotwireless/api_op_GetWirelessGatewayTask.go +++ b/service/iotwireless/api_op_GetWirelessGatewayTask.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetWirelessGatewayTaskMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWirelessGatewayTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_GetWirelessGatewayTaskDefinition.go b/service/iotwireless/api_op_GetWirelessGatewayTaskDefinition.go index 069ec7e8a12..715b3c560e3 100644 --- a/service/iotwireless/api_op_GetWirelessGatewayTaskDefinition.go +++ b/service/iotwireless/api_op_GetWirelessGatewayTaskDefinition.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetWirelessGatewayTaskDefinitionMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWirelessGatewayTaskDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_ListDestinations.go b/service/iotwireless/api_op_ListDestinations.go index 79236f3775c..5898b0b9cc8 100644 --- a/service/iotwireless/api_op_ListDestinations.go +++ b/service/iotwireless/api_op_ListDestinations.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListDestinationsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDestinations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotwireless/api_op_ListDeviceProfiles.go b/service/iotwireless/api_op_ListDeviceProfiles.go index 6f1ece40b96..f4195ab69be 100644 --- a/service/iotwireless/api_op_ListDeviceProfiles.go +++ b/service/iotwireless/api_op_ListDeviceProfiles.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListDeviceProfilesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeviceProfiles(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotwireless/api_op_ListDevicesForWirelessDeviceImportTask.go b/service/iotwireless/api_op_ListDevicesForWirelessDeviceImportTask.go index ed74285a81b..ce71bf5d26d 100644 --- a/service/iotwireless/api_op_ListDevicesForWirelessDeviceImportTask.go +++ b/service/iotwireless/api_op_ListDevicesForWirelessDeviceImportTask.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListDevicesForWirelessDeviceImportTaskMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDevicesForWirelessDeviceImportTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_ListEventConfigurations.go b/service/iotwireless/api_op_ListEventConfigurations.go index f1142216560..c635a11407b 100644 --- a/service/iotwireless/api_op_ListEventConfigurations.go +++ b/service/iotwireless/api_op_ListEventConfigurations.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListEventConfigurationsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEventConfigurationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_ListFuotaTasks.go b/service/iotwireless/api_op_ListFuotaTasks.go index ff4d7a71f5d..e7fec2a1a81 100644 --- a/service/iotwireless/api_op_ListFuotaTasks.go +++ b/service/iotwireless/api_op_ListFuotaTasks.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListFuotaTasksMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFuotaTasks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotwireless/api_op_ListMulticastGroups.go b/service/iotwireless/api_op_ListMulticastGroups.go index 8ca41e5a8b0..fc0e2d89c72 100644 --- a/service/iotwireless/api_op_ListMulticastGroups.go +++ b/service/iotwireless/api_op_ListMulticastGroups.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListMulticastGroupsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMulticastGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotwireless/api_op_ListMulticastGroupsByFuotaTask.go b/service/iotwireless/api_op_ListMulticastGroupsByFuotaTask.go index 0a136c36454..2cc78e2c495 100644 --- a/service/iotwireless/api_op_ListMulticastGroupsByFuotaTask.go +++ b/service/iotwireless/api_op_ListMulticastGroupsByFuotaTask.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListMulticastGroupsByFuotaTaskMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMulticastGroupsByFuotaTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_ListNetworkAnalyzerConfigurations.go b/service/iotwireless/api_op_ListNetworkAnalyzerConfigurations.go index 731e235850e..7a8b581b1bb 100644 --- a/service/iotwireless/api_op_ListNetworkAnalyzerConfigurations.go +++ b/service/iotwireless/api_op_ListNetworkAnalyzerConfigurations.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListNetworkAnalyzerConfigurationsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNetworkAnalyzerConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotwireless/api_op_ListPartnerAccounts.go b/service/iotwireless/api_op_ListPartnerAccounts.go index 7e95ef4e59d..ddf81454abe 100644 --- a/service/iotwireless/api_op_ListPartnerAccounts.go +++ b/service/iotwireless/api_op_ListPartnerAccounts.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListPartnerAccountsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPartnerAccounts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotwireless/api_op_ListPositionConfigurations.go b/service/iotwireless/api_op_ListPositionConfigurations.go index 3e86f815d74..be60ae95df4 100644 --- a/service/iotwireless/api_op_ListPositionConfigurations.go +++ b/service/iotwireless/api_op_ListPositionConfigurations.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListPositionConfigurationsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPositionConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotwireless/api_op_ListQueuedMessages.go b/service/iotwireless/api_op_ListQueuedMessages.go index 2824d5478a2..a75431b6a50 100644 --- a/service/iotwireless/api_op_ListQueuedMessages.go +++ b/service/iotwireless/api_op_ListQueuedMessages.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListQueuedMessagesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListQueuedMessagesValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_ListServiceProfiles.go b/service/iotwireless/api_op_ListServiceProfiles.go index 2d503902fa6..610d124857c 100644 --- a/service/iotwireless/api_op_ListServiceProfiles.go +++ b/service/iotwireless/api_op_ListServiceProfiles.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListServiceProfilesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServiceProfiles(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotwireless/api_op_ListTagsForResource.go b/service/iotwireless/api_op_ListTagsForResource.go index db4c324bac7..32bdcdd82fa 100644 --- a/service/iotwireless/api_op_ListTagsForResource.go +++ b/service/iotwireless/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_ListWirelessDeviceImportTasks.go b/service/iotwireless/api_op_ListWirelessDeviceImportTasks.go index 11b7dee2732..428e0e0af0e 100644 --- a/service/iotwireless/api_op_ListWirelessDeviceImportTasks.go +++ b/service/iotwireless/api_op_ListWirelessDeviceImportTasks.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListWirelessDeviceImportTasksMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWirelessDeviceImportTasks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotwireless/api_op_ListWirelessDevices.go b/service/iotwireless/api_op_ListWirelessDevices.go index 9dd4c8e8dbb..34119887409 100644 --- a/service/iotwireless/api_op_ListWirelessDevices.go +++ b/service/iotwireless/api_op_ListWirelessDevices.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListWirelessDevicesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWirelessDevices(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotwireless/api_op_ListWirelessGatewayTaskDefinitions.go b/service/iotwireless/api_op_ListWirelessGatewayTaskDefinitions.go index 3a36ac2778a..a7dfa2c4f20 100644 --- a/service/iotwireless/api_op_ListWirelessGatewayTaskDefinitions.go +++ b/service/iotwireless/api_op_ListWirelessGatewayTaskDefinitions.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListWirelessGatewayTaskDefinitionsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWirelessGatewayTaskDefinitions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotwireless/api_op_ListWirelessGateways.go b/service/iotwireless/api_op_ListWirelessGateways.go index 581977c9b83..a6357e5f7f4 100644 --- a/service/iotwireless/api_op_ListWirelessGateways.go +++ b/service/iotwireless/api_op_ListWirelessGateways.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListWirelessGatewaysMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWirelessGateways(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotwireless/api_op_PutPositionConfiguration.go b/service/iotwireless/api_op_PutPositionConfiguration.go index 0ee6d03138c..a90a7948a7e 100644 --- a/service/iotwireless/api_op_PutPositionConfiguration.go +++ b/service/iotwireless/api_op_PutPositionConfiguration.go @@ -129,9 +129,6 @@ func (c *Client) addOperationPutPositionConfigurationMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutPositionConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_PutResourceLogLevel.go b/service/iotwireless/api_op_PutResourceLogLevel.go index 8779ba74b72..9ee51672267 100644 --- a/service/iotwireless/api_op_PutResourceLogLevel.go +++ b/service/iotwireless/api_op_PutResourceLogLevel.go @@ -124,9 +124,6 @@ func (c *Client) addOperationPutResourceLogLevelMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutResourceLogLevelValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_ResetAllResourceLogLevels.go b/service/iotwireless/api_op_ResetAllResourceLogLevels.go index 14622254558..1631799f151 100644 --- a/service/iotwireless/api_op_ResetAllResourceLogLevels.go +++ b/service/iotwireless/api_op_ResetAllResourceLogLevels.go @@ -102,9 +102,6 @@ func (c *Client) addOperationResetAllResourceLogLevelsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResetAllResourceLogLevels(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotwireless/api_op_ResetResourceLogLevel.go b/service/iotwireless/api_op_ResetResourceLogLevel.go index 2a718a125ac..6c69786c0bb 100644 --- a/service/iotwireless/api_op_ResetResourceLogLevel.go +++ b/service/iotwireless/api_op_ResetResourceLogLevel.go @@ -116,9 +116,6 @@ func (c *Client) addOperationResetResourceLogLevelMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResetResourceLogLevelValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_SendDataToMulticastGroup.go b/service/iotwireless/api_op_SendDataToMulticastGroup.go index a3269ab4828..1e6998792db 100644 --- a/service/iotwireless/api_op_SendDataToMulticastGroup.go +++ b/service/iotwireless/api_op_SendDataToMulticastGroup.go @@ -122,9 +122,6 @@ func (c *Client) addOperationSendDataToMulticastGroupMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendDataToMulticastGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_SendDataToWirelessDevice.go b/service/iotwireless/api_op_SendDataToWirelessDevice.go index f29bfcc7b03..e9c2de748d6 100644 --- a/service/iotwireless/api_op_SendDataToWirelessDevice.go +++ b/service/iotwireless/api_op_SendDataToWirelessDevice.go @@ -126,9 +126,6 @@ func (c *Client) addOperationSendDataToWirelessDeviceMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendDataToWirelessDeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_StartBulkAssociateWirelessDeviceWithMulticastGroup.go b/service/iotwireless/api_op_StartBulkAssociateWirelessDeviceWithMulticastGroup.go index 021c658774b..f97d9eb72f8 100644 --- a/service/iotwireless/api_op_StartBulkAssociateWirelessDeviceWithMulticastGroup.go +++ b/service/iotwireless/api_op_StartBulkAssociateWirelessDeviceWithMulticastGroup.go @@ -117,9 +117,6 @@ func (c *Client) addOperationStartBulkAssociateWirelessDeviceWithMulticastGroupM if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartBulkAssociateWirelessDeviceWithMulticastGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_StartBulkDisassociateWirelessDeviceFromMulticastGroup.go b/service/iotwireless/api_op_StartBulkDisassociateWirelessDeviceFromMulticastGroup.go index 069f120fbe6..ed9b43faf8d 100644 --- a/service/iotwireless/api_op_StartBulkDisassociateWirelessDeviceFromMulticastGroup.go +++ b/service/iotwireless/api_op_StartBulkDisassociateWirelessDeviceFromMulticastGroup.go @@ -117,9 +117,6 @@ func (c *Client) addOperationStartBulkDisassociateWirelessDeviceFromMulticastGro if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartBulkDisassociateWirelessDeviceFromMulticastGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_StartFuotaTask.go b/service/iotwireless/api_op_StartFuotaTask.go index 55bd1d6f367..cd343e03fe8 100644 --- a/service/iotwireless/api_op_StartFuotaTask.go +++ b/service/iotwireless/api_op_StartFuotaTask.go @@ -111,9 +111,6 @@ func (c *Client) addOperationStartFuotaTaskMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartFuotaTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_StartMulticastGroupSession.go b/service/iotwireless/api_op_StartMulticastGroupSession.go index 0f4609a744b..acd9394ed36 100644 --- a/service/iotwireless/api_op_StartMulticastGroupSession.go +++ b/service/iotwireless/api_op_StartMulticastGroupSession.go @@ -113,9 +113,6 @@ func (c *Client) addOperationStartMulticastGroupSessionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartMulticastGroupSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_StartSingleWirelessDeviceImportTask.go b/service/iotwireless/api_op_StartSingleWirelessDeviceImportTask.go index 74ff248ef04..fdccef8dfe4 100644 --- a/service/iotwireless/api_op_StartSingleWirelessDeviceImportTask.go +++ b/service/iotwireless/api_op_StartSingleWirelessDeviceImportTask.go @@ -140,9 +140,6 @@ func (c *Client) addOperationStartSingleWirelessDeviceImportTaskMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartSingleWirelessDeviceImportTaskMiddleware(stack, options); err != nil { return err } diff --git a/service/iotwireless/api_op_StartWirelessDeviceImportTask.go b/service/iotwireless/api_op_StartWirelessDeviceImportTask.go index 7f5140c2c74..3b0a98bc50f 100644 --- a/service/iotwireless/api_op_StartWirelessDeviceImportTask.go +++ b/service/iotwireless/api_op_StartWirelessDeviceImportTask.go @@ -139,9 +139,6 @@ func (c *Client) addOperationStartWirelessDeviceImportTaskMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartWirelessDeviceImportTaskMiddleware(stack, options); err != nil { return err } diff --git a/service/iotwireless/api_op_TagResource.go b/service/iotwireless/api_op_TagResource.go index daffccb7930..d7600610eeb 100644 --- a/service/iotwireless/api_op_TagResource.go +++ b/service/iotwireless/api_op_TagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_TestWirelessDevice.go b/service/iotwireless/api_op_TestWirelessDevice.go index 7e082971b45..502ba2adf24 100644 --- a/service/iotwireless/api_op_TestWirelessDevice.go +++ b/service/iotwireless/api_op_TestWirelessDevice.go @@ -111,9 +111,6 @@ func (c *Client) addOperationTestWirelessDeviceMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTestWirelessDeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_UntagResource.go b/service/iotwireless/api_op_UntagResource.go index f4da5f7b460..6e374690936 100644 --- a/service/iotwireless/api_op_UntagResource.go +++ b/service/iotwireless/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_UpdateDestination.go b/service/iotwireless/api_op_UpdateDestination.go index a03714bee70..bae2325bca6 100644 --- a/service/iotwireless/api_op_UpdateDestination.go +++ b/service/iotwireless/api_op_UpdateDestination.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdateDestinationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_UpdateEventConfigurationByResourceTypes.go b/service/iotwireless/api_op_UpdateEventConfigurationByResourceTypes.go index 5331f562de5..a06b295f925 100644 --- a/service/iotwireless/api_op_UpdateEventConfigurationByResourceTypes.go +++ b/service/iotwireless/api_op_UpdateEventConfigurationByResourceTypes.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateEventConfigurationByResourceTypesMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEventConfigurationByResourceTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotwireless/api_op_UpdateFuotaTask.go b/service/iotwireless/api_op_UpdateFuotaTask.go index 33b40ac8aa5..f887c652abf 100644 --- a/service/iotwireless/api_op_UpdateFuotaTask.go +++ b/service/iotwireless/api_op_UpdateFuotaTask.go @@ -148,9 +148,6 @@ func (c *Client) addOperationUpdateFuotaTaskMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFuotaTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_UpdateLogLevelsByResourceTypes.go b/service/iotwireless/api_op_UpdateLogLevelsByResourceTypes.go index f7226e7e5f5..5c49084c971 100644 --- a/service/iotwireless/api_op_UpdateLogLevelsByResourceTypes.go +++ b/service/iotwireless/api_op_UpdateLogLevelsByResourceTypes.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateLogLevelsByResourceTypesMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLogLevelsByResourceTypesValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_UpdateMetricConfiguration.go b/service/iotwireless/api_op_UpdateMetricConfiguration.go index 56282b79e57..7cc88c856e5 100644 --- a/service/iotwireless/api_op_UpdateMetricConfiguration.go +++ b/service/iotwireless/api_op_UpdateMetricConfiguration.go @@ -106,9 +106,6 @@ func (c *Client) addOperationUpdateMetricConfigurationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMetricConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/iotwireless/api_op_UpdateMulticastGroup.go b/service/iotwireless/api_op_UpdateMulticastGroup.go index 65b5d631807..a34dd553d1b 100644 --- a/service/iotwireless/api_op_UpdateMulticastGroup.go +++ b/service/iotwireless/api_op_UpdateMulticastGroup.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUpdateMulticastGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMulticastGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_UpdateNetworkAnalyzerConfiguration.go b/service/iotwireless/api_op_UpdateNetworkAnalyzerConfiguration.go index c7c6cd6c7ba..db18811e3b2 100644 --- a/service/iotwireless/api_op_UpdateNetworkAnalyzerConfiguration.go +++ b/service/iotwireless/api_op_UpdateNetworkAnalyzerConfiguration.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateNetworkAnalyzerConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateNetworkAnalyzerConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_UpdatePartnerAccount.go b/service/iotwireless/api_op_UpdatePartnerAccount.go index 4d5e212fe3c..9c32b1cead1 100644 --- a/service/iotwireless/api_op_UpdatePartnerAccount.go +++ b/service/iotwireless/api_op_UpdatePartnerAccount.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdatePartnerAccountMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePartnerAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_UpdatePosition.go b/service/iotwireless/api_op_UpdatePosition.go index 09331503471..119d1434028 100644 --- a/service/iotwireless/api_op_UpdatePosition.go +++ b/service/iotwireless/api_op_UpdatePosition.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdatePositionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePositionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_UpdateResourceEventConfiguration.go b/service/iotwireless/api_op_UpdateResourceEventConfiguration.go index c0da02f6b70..70934049674 100644 --- a/service/iotwireless/api_op_UpdateResourceEventConfiguration.go +++ b/service/iotwireless/api_op_UpdateResourceEventConfiguration.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateResourceEventConfigurationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateResourceEventConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_UpdateResourcePosition.go b/service/iotwireless/api_op_UpdateResourcePosition.go index 3d3b568d398..77e8e42008a 100644 --- a/service/iotwireless/api_op_UpdateResourcePosition.go +++ b/service/iotwireless/api_op_UpdateResourcePosition.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateResourcePositionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateResourcePositionValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_UpdateWirelessDevice.go b/service/iotwireless/api_op_UpdateWirelessDevice.go index e1f44689a34..ce2c78a6502 100644 --- a/service/iotwireless/api_op_UpdateWirelessDevice.go +++ b/service/iotwireless/api_op_UpdateWirelessDevice.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateWirelessDeviceMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateWirelessDeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_UpdateWirelessDeviceImportTask.go b/service/iotwireless/api_op_UpdateWirelessDeviceImportTask.go index 85ea836dab3..384f69d98b6 100644 --- a/service/iotwireless/api_op_UpdateWirelessDeviceImportTask.go +++ b/service/iotwireless/api_op_UpdateWirelessDeviceImportTask.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUpdateWirelessDeviceImportTaskMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateWirelessDeviceImportTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/api_op_UpdateWirelessGateway.go b/service/iotwireless/api_op_UpdateWirelessGateway.go index 7ff1e6c0c73..b7e4938ac7b 100644 --- a/service/iotwireless/api_op_UpdateWirelessGateway.go +++ b/service/iotwireless/api_op_UpdateWirelessGateway.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateWirelessGatewayMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateWirelessGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/iotwireless/snapshot/api_op_AssociateAwsAccountWithPartnerAccount.go.snap b/service/iotwireless/snapshot/api_op_AssociateAwsAccountWithPartnerAccount.go.snap index 983c27111b5..38711621e20 100644 --- a/service/iotwireless/snapshot/api_op_AssociateAwsAccountWithPartnerAccount.go.snap +++ b/service/iotwireless/snapshot/api_op_AssociateAwsAccountWithPartnerAccount.go.snap @@ -15,7 +15,6 @@ AssociateAwsAccountWithPartnerAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_AssociateMulticastGroupWithFuotaTask.go.snap b/service/iotwireless/snapshot/api_op_AssociateMulticastGroupWithFuotaTask.go.snap index db41b995258..5e5e53e0b92 100644 --- a/service/iotwireless/snapshot/api_op_AssociateMulticastGroupWithFuotaTask.go.snap +++ b/service/iotwireless/snapshot/api_op_AssociateMulticastGroupWithFuotaTask.go.snap @@ -14,7 +14,6 @@ AssociateMulticastGroupWithFuotaTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_AssociateWirelessDeviceWithFuotaTask.go.snap b/service/iotwireless/snapshot/api_op_AssociateWirelessDeviceWithFuotaTask.go.snap index 1c4601cd8f9..e4beca140ae 100644 --- a/service/iotwireless/snapshot/api_op_AssociateWirelessDeviceWithFuotaTask.go.snap +++ b/service/iotwireless/snapshot/api_op_AssociateWirelessDeviceWithFuotaTask.go.snap @@ -14,7 +14,6 @@ AssociateWirelessDeviceWithFuotaTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_AssociateWirelessDeviceWithMulticastGroup.go.snap b/service/iotwireless/snapshot/api_op_AssociateWirelessDeviceWithMulticastGroup.go.snap index 30c3d334206..e4424bca6bc 100644 --- a/service/iotwireless/snapshot/api_op_AssociateWirelessDeviceWithMulticastGroup.go.snap +++ b/service/iotwireless/snapshot/api_op_AssociateWirelessDeviceWithMulticastGroup.go.snap @@ -14,7 +14,6 @@ AssociateWirelessDeviceWithMulticastGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_AssociateWirelessDeviceWithThing.go.snap b/service/iotwireless/snapshot/api_op_AssociateWirelessDeviceWithThing.go.snap index 3eff9838438..152cfee6e55 100644 --- a/service/iotwireless/snapshot/api_op_AssociateWirelessDeviceWithThing.go.snap +++ b/service/iotwireless/snapshot/api_op_AssociateWirelessDeviceWithThing.go.snap @@ -14,7 +14,6 @@ AssociateWirelessDeviceWithThing Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_AssociateWirelessGatewayWithCertificate.go.snap b/service/iotwireless/snapshot/api_op_AssociateWirelessGatewayWithCertificate.go.snap index da596023cc7..02ab2bd71b0 100644 --- a/service/iotwireless/snapshot/api_op_AssociateWirelessGatewayWithCertificate.go.snap +++ b/service/iotwireless/snapshot/api_op_AssociateWirelessGatewayWithCertificate.go.snap @@ -14,7 +14,6 @@ AssociateWirelessGatewayWithCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_AssociateWirelessGatewayWithThing.go.snap b/service/iotwireless/snapshot/api_op_AssociateWirelessGatewayWithThing.go.snap index 8d0f9135cdf..23d4761ce6a 100644 --- a/service/iotwireless/snapshot/api_op_AssociateWirelessGatewayWithThing.go.snap +++ b/service/iotwireless/snapshot/api_op_AssociateWirelessGatewayWithThing.go.snap @@ -14,7 +14,6 @@ AssociateWirelessGatewayWithThing Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_CancelMulticastGroupSession.go.snap b/service/iotwireless/snapshot/api_op_CancelMulticastGroupSession.go.snap index 2ac9ec87325..5b7d652608f 100644 --- a/service/iotwireless/snapshot/api_op_CancelMulticastGroupSession.go.snap +++ b/service/iotwireless/snapshot/api_op_CancelMulticastGroupSession.go.snap @@ -14,7 +14,6 @@ CancelMulticastGroupSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_CreateDestination.go.snap b/service/iotwireless/snapshot/api_op_CreateDestination.go.snap index 71cb90136e3..c9113b7f7f8 100644 --- a/service/iotwireless/snapshot/api_op_CreateDestination.go.snap +++ b/service/iotwireless/snapshot/api_op_CreateDestination.go.snap @@ -15,7 +15,6 @@ CreateDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_CreateDeviceProfile.go.snap b/service/iotwireless/snapshot/api_op_CreateDeviceProfile.go.snap index c696a1e73e4..30aa3ef7a9b 100644 --- a/service/iotwireless/snapshot/api_op_CreateDeviceProfile.go.snap +++ b/service/iotwireless/snapshot/api_op_CreateDeviceProfile.go.snap @@ -15,7 +15,6 @@ CreateDeviceProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_CreateFuotaTask.go.snap b/service/iotwireless/snapshot/api_op_CreateFuotaTask.go.snap index a77fd8459b8..357a9708b67 100644 --- a/service/iotwireless/snapshot/api_op_CreateFuotaTask.go.snap +++ b/service/iotwireless/snapshot/api_op_CreateFuotaTask.go.snap @@ -15,7 +15,6 @@ CreateFuotaTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_CreateMulticastGroup.go.snap b/service/iotwireless/snapshot/api_op_CreateMulticastGroup.go.snap index cccebfb3c21..787dfbc9cdd 100644 --- a/service/iotwireless/snapshot/api_op_CreateMulticastGroup.go.snap +++ b/service/iotwireless/snapshot/api_op_CreateMulticastGroup.go.snap @@ -15,7 +15,6 @@ CreateMulticastGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_CreateNetworkAnalyzerConfiguration.go.snap b/service/iotwireless/snapshot/api_op_CreateNetworkAnalyzerConfiguration.go.snap index 44781ea4d03..e1b21dced26 100644 --- a/service/iotwireless/snapshot/api_op_CreateNetworkAnalyzerConfiguration.go.snap +++ b/service/iotwireless/snapshot/api_op_CreateNetworkAnalyzerConfiguration.go.snap @@ -15,7 +15,6 @@ CreateNetworkAnalyzerConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_CreateServiceProfile.go.snap b/service/iotwireless/snapshot/api_op_CreateServiceProfile.go.snap index f124875c04b..b8a31ad5c3c 100644 --- a/service/iotwireless/snapshot/api_op_CreateServiceProfile.go.snap +++ b/service/iotwireless/snapshot/api_op_CreateServiceProfile.go.snap @@ -15,7 +15,6 @@ CreateServiceProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_CreateWirelessDevice.go.snap b/service/iotwireless/snapshot/api_op_CreateWirelessDevice.go.snap index efbc913de95..14e4e80970c 100644 --- a/service/iotwireless/snapshot/api_op_CreateWirelessDevice.go.snap +++ b/service/iotwireless/snapshot/api_op_CreateWirelessDevice.go.snap @@ -15,7 +15,6 @@ CreateWirelessDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_CreateWirelessGateway.go.snap b/service/iotwireless/snapshot/api_op_CreateWirelessGateway.go.snap index 48268fbcb35..11599b999ae 100644 --- a/service/iotwireless/snapshot/api_op_CreateWirelessGateway.go.snap +++ b/service/iotwireless/snapshot/api_op_CreateWirelessGateway.go.snap @@ -15,7 +15,6 @@ CreateWirelessGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_CreateWirelessGatewayTask.go.snap b/service/iotwireless/snapshot/api_op_CreateWirelessGatewayTask.go.snap index d739da4693a..00ae73e1604 100644 --- a/service/iotwireless/snapshot/api_op_CreateWirelessGatewayTask.go.snap +++ b/service/iotwireless/snapshot/api_op_CreateWirelessGatewayTask.go.snap @@ -14,7 +14,6 @@ CreateWirelessGatewayTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_CreateWirelessGatewayTaskDefinition.go.snap b/service/iotwireless/snapshot/api_op_CreateWirelessGatewayTaskDefinition.go.snap index aceb54c4f43..3855111be33 100644 --- a/service/iotwireless/snapshot/api_op_CreateWirelessGatewayTaskDefinition.go.snap +++ b/service/iotwireless/snapshot/api_op_CreateWirelessGatewayTaskDefinition.go.snap @@ -15,7 +15,6 @@ CreateWirelessGatewayTaskDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_DeleteDestination.go.snap b/service/iotwireless/snapshot/api_op_DeleteDestination.go.snap index b6d4cd3fe7c..d047c25e070 100644 --- a/service/iotwireless/snapshot/api_op_DeleteDestination.go.snap +++ b/service/iotwireless/snapshot/api_op_DeleteDestination.go.snap @@ -14,7 +14,6 @@ DeleteDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_DeleteDeviceProfile.go.snap b/service/iotwireless/snapshot/api_op_DeleteDeviceProfile.go.snap index 7e3f11869a9..52d874db2a6 100644 --- a/service/iotwireless/snapshot/api_op_DeleteDeviceProfile.go.snap +++ b/service/iotwireless/snapshot/api_op_DeleteDeviceProfile.go.snap @@ -14,7 +14,6 @@ DeleteDeviceProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_DeleteFuotaTask.go.snap b/service/iotwireless/snapshot/api_op_DeleteFuotaTask.go.snap index 27c1be65dc8..f0cfdc5cfc1 100644 --- a/service/iotwireless/snapshot/api_op_DeleteFuotaTask.go.snap +++ b/service/iotwireless/snapshot/api_op_DeleteFuotaTask.go.snap @@ -14,7 +14,6 @@ DeleteFuotaTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_DeleteMulticastGroup.go.snap b/service/iotwireless/snapshot/api_op_DeleteMulticastGroup.go.snap index 00af81a791b..1522772debd 100644 --- a/service/iotwireless/snapshot/api_op_DeleteMulticastGroup.go.snap +++ b/service/iotwireless/snapshot/api_op_DeleteMulticastGroup.go.snap @@ -14,7 +14,6 @@ DeleteMulticastGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_DeleteNetworkAnalyzerConfiguration.go.snap b/service/iotwireless/snapshot/api_op_DeleteNetworkAnalyzerConfiguration.go.snap index 9ce7f78a909..9c9a9d474af 100644 --- a/service/iotwireless/snapshot/api_op_DeleteNetworkAnalyzerConfiguration.go.snap +++ b/service/iotwireless/snapshot/api_op_DeleteNetworkAnalyzerConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteNetworkAnalyzerConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_DeleteQueuedMessages.go.snap b/service/iotwireless/snapshot/api_op_DeleteQueuedMessages.go.snap index d8ba0cbc8b6..5fcb956c9f0 100644 --- a/service/iotwireless/snapshot/api_op_DeleteQueuedMessages.go.snap +++ b/service/iotwireless/snapshot/api_op_DeleteQueuedMessages.go.snap @@ -14,7 +14,6 @@ DeleteQueuedMessages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_DeleteServiceProfile.go.snap b/service/iotwireless/snapshot/api_op_DeleteServiceProfile.go.snap index 703038087f7..40a522c7002 100644 --- a/service/iotwireless/snapshot/api_op_DeleteServiceProfile.go.snap +++ b/service/iotwireless/snapshot/api_op_DeleteServiceProfile.go.snap @@ -14,7 +14,6 @@ DeleteServiceProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_DeleteWirelessDevice.go.snap b/service/iotwireless/snapshot/api_op_DeleteWirelessDevice.go.snap index 9db01dc3b9d..bfa913f254f 100644 --- a/service/iotwireless/snapshot/api_op_DeleteWirelessDevice.go.snap +++ b/service/iotwireless/snapshot/api_op_DeleteWirelessDevice.go.snap @@ -14,7 +14,6 @@ DeleteWirelessDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_DeleteWirelessDeviceImportTask.go.snap b/service/iotwireless/snapshot/api_op_DeleteWirelessDeviceImportTask.go.snap index b1d1c2f780e..e29d20574dc 100644 --- a/service/iotwireless/snapshot/api_op_DeleteWirelessDeviceImportTask.go.snap +++ b/service/iotwireless/snapshot/api_op_DeleteWirelessDeviceImportTask.go.snap @@ -14,7 +14,6 @@ DeleteWirelessDeviceImportTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_DeleteWirelessGateway.go.snap b/service/iotwireless/snapshot/api_op_DeleteWirelessGateway.go.snap index c7fc1061c74..691821ebbbd 100644 --- a/service/iotwireless/snapshot/api_op_DeleteWirelessGateway.go.snap +++ b/service/iotwireless/snapshot/api_op_DeleteWirelessGateway.go.snap @@ -14,7 +14,6 @@ DeleteWirelessGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_DeleteWirelessGatewayTask.go.snap b/service/iotwireless/snapshot/api_op_DeleteWirelessGatewayTask.go.snap index 45e46e644d9..8054126066c 100644 --- a/service/iotwireless/snapshot/api_op_DeleteWirelessGatewayTask.go.snap +++ b/service/iotwireless/snapshot/api_op_DeleteWirelessGatewayTask.go.snap @@ -14,7 +14,6 @@ DeleteWirelessGatewayTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_DeleteWirelessGatewayTaskDefinition.go.snap b/service/iotwireless/snapshot/api_op_DeleteWirelessGatewayTaskDefinition.go.snap index dbffb20fef8..66b0e3d434d 100644 --- a/service/iotwireless/snapshot/api_op_DeleteWirelessGatewayTaskDefinition.go.snap +++ b/service/iotwireless/snapshot/api_op_DeleteWirelessGatewayTaskDefinition.go.snap @@ -14,7 +14,6 @@ DeleteWirelessGatewayTaskDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_DeregisterWirelessDevice.go.snap b/service/iotwireless/snapshot/api_op_DeregisterWirelessDevice.go.snap index 31c77155cb3..f9c5540c03e 100644 --- a/service/iotwireless/snapshot/api_op_DeregisterWirelessDevice.go.snap +++ b/service/iotwireless/snapshot/api_op_DeregisterWirelessDevice.go.snap @@ -14,7 +14,6 @@ DeregisterWirelessDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_DisassociateAwsAccountFromPartnerAccount.go.snap b/service/iotwireless/snapshot/api_op_DisassociateAwsAccountFromPartnerAccount.go.snap index c8a0311bf7c..98c9dd72ad7 100644 --- a/service/iotwireless/snapshot/api_op_DisassociateAwsAccountFromPartnerAccount.go.snap +++ b/service/iotwireless/snapshot/api_op_DisassociateAwsAccountFromPartnerAccount.go.snap @@ -14,7 +14,6 @@ DisassociateAwsAccountFromPartnerAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_DisassociateMulticastGroupFromFuotaTask.go.snap b/service/iotwireless/snapshot/api_op_DisassociateMulticastGroupFromFuotaTask.go.snap index 3499ceee2f7..dd9b98d6e42 100644 --- a/service/iotwireless/snapshot/api_op_DisassociateMulticastGroupFromFuotaTask.go.snap +++ b/service/iotwireless/snapshot/api_op_DisassociateMulticastGroupFromFuotaTask.go.snap @@ -14,7 +14,6 @@ DisassociateMulticastGroupFromFuotaTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_DisassociateWirelessDeviceFromFuotaTask.go.snap b/service/iotwireless/snapshot/api_op_DisassociateWirelessDeviceFromFuotaTask.go.snap index 9d1ef94b1b2..42902f259e7 100644 --- a/service/iotwireless/snapshot/api_op_DisassociateWirelessDeviceFromFuotaTask.go.snap +++ b/service/iotwireless/snapshot/api_op_DisassociateWirelessDeviceFromFuotaTask.go.snap @@ -14,7 +14,6 @@ DisassociateWirelessDeviceFromFuotaTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_DisassociateWirelessDeviceFromMulticastGroup.go.snap b/service/iotwireless/snapshot/api_op_DisassociateWirelessDeviceFromMulticastGroup.go.snap index 09456fa473a..eddeec7097b 100644 --- a/service/iotwireless/snapshot/api_op_DisassociateWirelessDeviceFromMulticastGroup.go.snap +++ b/service/iotwireless/snapshot/api_op_DisassociateWirelessDeviceFromMulticastGroup.go.snap @@ -14,7 +14,6 @@ DisassociateWirelessDeviceFromMulticastGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_DisassociateWirelessDeviceFromThing.go.snap b/service/iotwireless/snapshot/api_op_DisassociateWirelessDeviceFromThing.go.snap index 76749e2e1e0..21bc3b8937e 100644 --- a/service/iotwireless/snapshot/api_op_DisassociateWirelessDeviceFromThing.go.snap +++ b/service/iotwireless/snapshot/api_op_DisassociateWirelessDeviceFromThing.go.snap @@ -14,7 +14,6 @@ DisassociateWirelessDeviceFromThing Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_DisassociateWirelessGatewayFromCertificate.go.snap b/service/iotwireless/snapshot/api_op_DisassociateWirelessGatewayFromCertificate.go.snap index 3b2fdb778ef..1f636e57493 100644 --- a/service/iotwireless/snapshot/api_op_DisassociateWirelessGatewayFromCertificate.go.snap +++ b/service/iotwireless/snapshot/api_op_DisassociateWirelessGatewayFromCertificate.go.snap @@ -14,7 +14,6 @@ DisassociateWirelessGatewayFromCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_DisassociateWirelessGatewayFromThing.go.snap b/service/iotwireless/snapshot/api_op_DisassociateWirelessGatewayFromThing.go.snap index b11359ba77c..b5f50160318 100644 --- a/service/iotwireless/snapshot/api_op_DisassociateWirelessGatewayFromThing.go.snap +++ b/service/iotwireless/snapshot/api_op_DisassociateWirelessGatewayFromThing.go.snap @@ -14,7 +14,6 @@ DisassociateWirelessGatewayFromThing Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_GetDestination.go.snap b/service/iotwireless/snapshot/api_op_GetDestination.go.snap index 79a45a09d7d..a06ec335d45 100644 --- a/service/iotwireless/snapshot/api_op_GetDestination.go.snap +++ b/service/iotwireless/snapshot/api_op_GetDestination.go.snap @@ -14,7 +14,6 @@ GetDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_GetDeviceProfile.go.snap b/service/iotwireless/snapshot/api_op_GetDeviceProfile.go.snap index 10dfc9a25a8..8dd4dda633a 100644 --- a/service/iotwireless/snapshot/api_op_GetDeviceProfile.go.snap +++ b/service/iotwireless/snapshot/api_op_GetDeviceProfile.go.snap @@ -14,7 +14,6 @@ GetDeviceProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_GetEventConfigurationByResourceTypes.go.snap b/service/iotwireless/snapshot/api_op_GetEventConfigurationByResourceTypes.go.snap index 7abf8251fd4..550d1e8a836 100644 --- a/service/iotwireless/snapshot/api_op_GetEventConfigurationByResourceTypes.go.snap +++ b/service/iotwireless/snapshot/api_op_GetEventConfigurationByResourceTypes.go.snap @@ -13,7 +13,6 @@ GetEventConfigurationByResourceTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_GetFuotaTask.go.snap b/service/iotwireless/snapshot/api_op_GetFuotaTask.go.snap index 9d972b7988c..a383bd108e6 100644 --- a/service/iotwireless/snapshot/api_op_GetFuotaTask.go.snap +++ b/service/iotwireless/snapshot/api_op_GetFuotaTask.go.snap @@ -14,7 +14,6 @@ GetFuotaTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_GetLogLevelsByResourceTypes.go.snap b/service/iotwireless/snapshot/api_op_GetLogLevelsByResourceTypes.go.snap index c9014a25efa..e4ec3412415 100644 --- a/service/iotwireless/snapshot/api_op_GetLogLevelsByResourceTypes.go.snap +++ b/service/iotwireless/snapshot/api_op_GetLogLevelsByResourceTypes.go.snap @@ -13,7 +13,6 @@ GetLogLevelsByResourceTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_GetMetricConfiguration.go.snap b/service/iotwireless/snapshot/api_op_GetMetricConfiguration.go.snap index ebe5c65945c..e13ac0d8596 100644 --- a/service/iotwireless/snapshot/api_op_GetMetricConfiguration.go.snap +++ b/service/iotwireless/snapshot/api_op_GetMetricConfiguration.go.snap @@ -13,7 +13,6 @@ GetMetricConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_GetMetrics.go.snap b/service/iotwireless/snapshot/api_op_GetMetrics.go.snap index b08ccf9e78a..a018e079fe4 100644 --- a/service/iotwireless/snapshot/api_op_GetMetrics.go.snap +++ b/service/iotwireless/snapshot/api_op_GetMetrics.go.snap @@ -13,7 +13,6 @@ GetMetrics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_GetMulticastGroup.go.snap b/service/iotwireless/snapshot/api_op_GetMulticastGroup.go.snap index b714b521741..2cc34c64080 100644 --- a/service/iotwireless/snapshot/api_op_GetMulticastGroup.go.snap +++ b/service/iotwireless/snapshot/api_op_GetMulticastGroup.go.snap @@ -14,7 +14,6 @@ GetMulticastGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_GetMulticastGroupSession.go.snap b/service/iotwireless/snapshot/api_op_GetMulticastGroupSession.go.snap index 92a535fdbeb..055f737fc0d 100644 --- a/service/iotwireless/snapshot/api_op_GetMulticastGroupSession.go.snap +++ b/service/iotwireless/snapshot/api_op_GetMulticastGroupSession.go.snap @@ -14,7 +14,6 @@ GetMulticastGroupSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_GetNetworkAnalyzerConfiguration.go.snap b/service/iotwireless/snapshot/api_op_GetNetworkAnalyzerConfiguration.go.snap index 5eb122fbae2..8d09b9935d3 100644 --- a/service/iotwireless/snapshot/api_op_GetNetworkAnalyzerConfiguration.go.snap +++ b/service/iotwireless/snapshot/api_op_GetNetworkAnalyzerConfiguration.go.snap @@ -14,7 +14,6 @@ GetNetworkAnalyzerConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_GetPartnerAccount.go.snap b/service/iotwireless/snapshot/api_op_GetPartnerAccount.go.snap index 7317ca28394..49172c7262f 100644 --- a/service/iotwireless/snapshot/api_op_GetPartnerAccount.go.snap +++ b/service/iotwireless/snapshot/api_op_GetPartnerAccount.go.snap @@ -14,7 +14,6 @@ GetPartnerAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_GetPosition.go.snap b/service/iotwireless/snapshot/api_op_GetPosition.go.snap index 62998776b59..6363d9eba2a 100644 --- a/service/iotwireless/snapshot/api_op_GetPosition.go.snap +++ b/service/iotwireless/snapshot/api_op_GetPosition.go.snap @@ -14,7 +14,6 @@ GetPosition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_GetPositionConfiguration.go.snap b/service/iotwireless/snapshot/api_op_GetPositionConfiguration.go.snap index 6a0b0520b87..e431924f885 100644 --- a/service/iotwireless/snapshot/api_op_GetPositionConfiguration.go.snap +++ b/service/iotwireless/snapshot/api_op_GetPositionConfiguration.go.snap @@ -14,7 +14,6 @@ GetPositionConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_GetPositionEstimate.go.snap b/service/iotwireless/snapshot/api_op_GetPositionEstimate.go.snap index 065357f01ca..d1627ad2765 100644 --- a/service/iotwireless/snapshot/api_op_GetPositionEstimate.go.snap +++ b/service/iotwireless/snapshot/api_op_GetPositionEstimate.go.snap @@ -14,7 +14,6 @@ GetPositionEstimate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_GetResourceEventConfiguration.go.snap b/service/iotwireless/snapshot/api_op_GetResourceEventConfiguration.go.snap index e667520297c..52e54f77545 100644 --- a/service/iotwireless/snapshot/api_op_GetResourceEventConfiguration.go.snap +++ b/service/iotwireless/snapshot/api_op_GetResourceEventConfiguration.go.snap @@ -14,7 +14,6 @@ GetResourceEventConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_GetResourceLogLevel.go.snap b/service/iotwireless/snapshot/api_op_GetResourceLogLevel.go.snap index 06797948fb0..1177b6f8465 100644 --- a/service/iotwireless/snapshot/api_op_GetResourceLogLevel.go.snap +++ b/service/iotwireless/snapshot/api_op_GetResourceLogLevel.go.snap @@ -14,7 +14,6 @@ GetResourceLogLevel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_GetResourcePosition.go.snap b/service/iotwireless/snapshot/api_op_GetResourcePosition.go.snap index 5c8c0e1cf04..4b1ae00ea5e 100644 --- a/service/iotwireless/snapshot/api_op_GetResourcePosition.go.snap +++ b/service/iotwireless/snapshot/api_op_GetResourcePosition.go.snap @@ -14,7 +14,6 @@ GetResourcePosition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_GetServiceEndpoint.go.snap b/service/iotwireless/snapshot/api_op_GetServiceEndpoint.go.snap index 0ccc2fe5d98..7a91cc7ff6b 100644 --- a/service/iotwireless/snapshot/api_op_GetServiceEndpoint.go.snap +++ b/service/iotwireless/snapshot/api_op_GetServiceEndpoint.go.snap @@ -13,7 +13,6 @@ GetServiceEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_GetServiceProfile.go.snap b/service/iotwireless/snapshot/api_op_GetServiceProfile.go.snap index 8b0b90633b6..7ba93ec39c9 100644 --- a/service/iotwireless/snapshot/api_op_GetServiceProfile.go.snap +++ b/service/iotwireless/snapshot/api_op_GetServiceProfile.go.snap @@ -14,7 +14,6 @@ GetServiceProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_GetWirelessDevice.go.snap b/service/iotwireless/snapshot/api_op_GetWirelessDevice.go.snap index 149c1c7d947..b362c4b24d0 100644 --- a/service/iotwireless/snapshot/api_op_GetWirelessDevice.go.snap +++ b/service/iotwireless/snapshot/api_op_GetWirelessDevice.go.snap @@ -14,7 +14,6 @@ GetWirelessDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_GetWirelessDeviceImportTask.go.snap b/service/iotwireless/snapshot/api_op_GetWirelessDeviceImportTask.go.snap index c37f0e56cc5..67136f5f536 100644 --- a/service/iotwireless/snapshot/api_op_GetWirelessDeviceImportTask.go.snap +++ b/service/iotwireless/snapshot/api_op_GetWirelessDeviceImportTask.go.snap @@ -14,7 +14,6 @@ GetWirelessDeviceImportTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_GetWirelessDeviceStatistics.go.snap b/service/iotwireless/snapshot/api_op_GetWirelessDeviceStatistics.go.snap index ab080073f5b..4fb6a97e88f 100644 --- a/service/iotwireless/snapshot/api_op_GetWirelessDeviceStatistics.go.snap +++ b/service/iotwireless/snapshot/api_op_GetWirelessDeviceStatistics.go.snap @@ -14,7 +14,6 @@ GetWirelessDeviceStatistics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_GetWirelessGateway.go.snap b/service/iotwireless/snapshot/api_op_GetWirelessGateway.go.snap index 96066bb2f75..1a664293579 100644 --- a/service/iotwireless/snapshot/api_op_GetWirelessGateway.go.snap +++ b/service/iotwireless/snapshot/api_op_GetWirelessGateway.go.snap @@ -14,7 +14,6 @@ GetWirelessGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_GetWirelessGatewayCertificate.go.snap b/service/iotwireless/snapshot/api_op_GetWirelessGatewayCertificate.go.snap index 1acd896e137..60a8708d1d4 100644 --- a/service/iotwireless/snapshot/api_op_GetWirelessGatewayCertificate.go.snap +++ b/service/iotwireless/snapshot/api_op_GetWirelessGatewayCertificate.go.snap @@ -14,7 +14,6 @@ GetWirelessGatewayCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_GetWirelessGatewayFirmwareInformation.go.snap b/service/iotwireless/snapshot/api_op_GetWirelessGatewayFirmwareInformation.go.snap index 758469223fd..b4c4a96a41a 100644 --- a/service/iotwireless/snapshot/api_op_GetWirelessGatewayFirmwareInformation.go.snap +++ b/service/iotwireless/snapshot/api_op_GetWirelessGatewayFirmwareInformation.go.snap @@ -14,7 +14,6 @@ GetWirelessGatewayFirmwareInformation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_GetWirelessGatewayStatistics.go.snap b/service/iotwireless/snapshot/api_op_GetWirelessGatewayStatistics.go.snap index c3edc2bec5d..80d2eed93b0 100644 --- a/service/iotwireless/snapshot/api_op_GetWirelessGatewayStatistics.go.snap +++ b/service/iotwireless/snapshot/api_op_GetWirelessGatewayStatistics.go.snap @@ -14,7 +14,6 @@ GetWirelessGatewayStatistics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_GetWirelessGatewayTask.go.snap b/service/iotwireless/snapshot/api_op_GetWirelessGatewayTask.go.snap index ec570724b03..b33052ce1e6 100644 --- a/service/iotwireless/snapshot/api_op_GetWirelessGatewayTask.go.snap +++ b/service/iotwireless/snapshot/api_op_GetWirelessGatewayTask.go.snap @@ -14,7 +14,6 @@ GetWirelessGatewayTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_GetWirelessGatewayTaskDefinition.go.snap b/service/iotwireless/snapshot/api_op_GetWirelessGatewayTaskDefinition.go.snap index 64d0cb282f5..22bf1bf977d 100644 --- a/service/iotwireless/snapshot/api_op_GetWirelessGatewayTaskDefinition.go.snap +++ b/service/iotwireless/snapshot/api_op_GetWirelessGatewayTaskDefinition.go.snap @@ -14,7 +14,6 @@ GetWirelessGatewayTaskDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_ListDestinations.go.snap b/service/iotwireless/snapshot/api_op_ListDestinations.go.snap index 847f3140851..be99ba289c8 100644 --- a/service/iotwireless/snapshot/api_op_ListDestinations.go.snap +++ b/service/iotwireless/snapshot/api_op_ListDestinations.go.snap @@ -13,7 +13,6 @@ ListDestinations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_ListDeviceProfiles.go.snap b/service/iotwireless/snapshot/api_op_ListDeviceProfiles.go.snap index d95e138c764..75819d64865 100644 --- a/service/iotwireless/snapshot/api_op_ListDeviceProfiles.go.snap +++ b/service/iotwireless/snapshot/api_op_ListDeviceProfiles.go.snap @@ -13,7 +13,6 @@ ListDeviceProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_ListDevicesForWirelessDeviceImportTask.go.snap b/service/iotwireless/snapshot/api_op_ListDevicesForWirelessDeviceImportTask.go.snap index 6d61d45c7f2..6ffbfeb6af0 100644 --- a/service/iotwireless/snapshot/api_op_ListDevicesForWirelessDeviceImportTask.go.snap +++ b/service/iotwireless/snapshot/api_op_ListDevicesForWirelessDeviceImportTask.go.snap @@ -14,7 +14,6 @@ ListDevicesForWirelessDeviceImportTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_ListEventConfigurations.go.snap b/service/iotwireless/snapshot/api_op_ListEventConfigurations.go.snap index f5df197a080..e2f2ec86db0 100644 --- a/service/iotwireless/snapshot/api_op_ListEventConfigurations.go.snap +++ b/service/iotwireless/snapshot/api_op_ListEventConfigurations.go.snap @@ -14,7 +14,6 @@ ListEventConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_ListFuotaTasks.go.snap b/service/iotwireless/snapshot/api_op_ListFuotaTasks.go.snap index 419aecbb179..11db5ed748c 100644 --- a/service/iotwireless/snapshot/api_op_ListFuotaTasks.go.snap +++ b/service/iotwireless/snapshot/api_op_ListFuotaTasks.go.snap @@ -13,7 +13,6 @@ ListFuotaTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_ListMulticastGroups.go.snap b/service/iotwireless/snapshot/api_op_ListMulticastGroups.go.snap index 3bc2f229b63..7a62b56e721 100644 --- a/service/iotwireless/snapshot/api_op_ListMulticastGroups.go.snap +++ b/service/iotwireless/snapshot/api_op_ListMulticastGroups.go.snap @@ -13,7 +13,6 @@ ListMulticastGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_ListMulticastGroupsByFuotaTask.go.snap b/service/iotwireless/snapshot/api_op_ListMulticastGroupsByFuotaTask.go.snap index 6bb529d24c5..b461a7433e5 100644 --- a/service/iotwireless/snapshot/api_op_ListMulticastGroupsByFuotaTask.go.snap +++ b/service/iotwireless/snapshot/api_op_ListMulticastGroupsByFuotaTask.go.snap @@ -14,7 +14,6 @@ ListMulticastGroupsByFuotaTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_ListNetworkAnalyzerConfigurations.go.snap b/service/iotwireless/snapshot/api_op_ListNetworkAnalyzerConfigurations.go.snap index 6a3161694d4..bd8341a57ee 100644 --- a/service/iotwireless/snapshot/api_op_ListNetworkAnalyzerConfigurations.go.snap +++ b/service/iotwireless/snapshot/api_op_ListNetworkAnalyzerConfigurations.go.snap @@ -13,7 +13,6 @@ ListNetworkAnalyzerConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_ListPartnerAccounts.go.snap b/service/iotwireless/snapshot/api_op_ListPartnerAccounts.go.snap index 9c42ecc1697..4807b87fd28 100644 --- a/service/iotwireless/snapshot/api_op_ListPartnerAccounts.go.snap +++ b/service/iotwireless/snapshot/api_op_ListPartnerAccounts.go.snap @@ -13,7 +13,6 @@ ListPartnerAccounts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_ListPositionConfigurations.go.snap b/service/iotwireless/snapshot/api_op_ListPositionConfigurations.go.snap index c80bb1a8118..3a73f13e257 100644 --- a/service/iotwireless/snapshot/api_op_ListPositionConfigurations.go.snap +++ b/service/iotwireless/snapshot/api_op_ListPositionConfigurations.go.snap @@ -13,7 +13,6 @@ ListPositionConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_ListQueuedMessages.go.snap b/service/iotwireless/snapshot/api_op_ListQueuedMessages.go.snap index e309282ac1d..b6fe80f68bc 100644 --- a/service/iotwireless/snapshot/api_op_ListQueuedMessages.go.snap +++ b/service/iotwireless/snapshot/api_op_ListQueuedMessages.go.snap @@ -14,7 +14,6 @@ ListQueuedMessages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_ListServiceProfiles.go.snap b/service/iotwireless/snapshot/api_op_ListServiceProfiles.go.snap index 3353cde1dd3..c8c3833aae9 100644 --- a/service/iotwireless/snapshot/api_op_ListServiceProfiles.go.snap +++ b/service/iotwireless/snapshot/api_op_ListServiceProfiles.go.snap @@ -13,7 +13,6 @@ ListServiceProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_ListTagsForResource.go.snap b/service/iotwireless/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/iotwireless/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/iotwireless/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_ListWirelessDeviceImportTasks.go.snap b/service/iotwireless/snapshot/api_op_ListWirelessDeviceImportTasks.go.snap index 8c3360a65a3..2f5b22092eb 100644 --- a/service/iotwireless/snapshot/api_op_ListWirelessDeviceImportTasks.go.snap +++ b/service/iotwireless/snapshot/api_op_ListWirelessDeviceImportTasks.go.snap @@ -13,7 +13,6 @@ ListWirelessDeviceImportTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_ListWirelessDevices.go.snap b/service/iotwireless/snapshot/api_op_ListWirelessDevices.go.snap index 01090b6d68d..a4ad1a3cf93 100644 --- a/service/iotwireless/snapshot/api_op_ListWirelessDevices.go.snap +++ b/service/iotwireless/snapshot/api_op_ListWirelessDevices.go.snap @@ -13,7 +13,6 @@ ListWirelessDevices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_ListWirelessGatewayTaskDefinitions.go.snap b/service/iotwireless/snapshot/api_op_ListWirelessGatewayTaskDefinitions.go.snap index 5e178aab96b..22d9f4bffc1 100644 --- a/service/iotwireless/snapshot/api_op_ListWirelessGatewayTaskDefinitions.go.snap +++ b/service/iotwireless/snapshot/api_op_ListWirelessGatewayTaskDefinitions.go.snap @@ -13,7 +13,6 @@ ListWirelessGatewayTaskDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_ListWirelessGateways.go.snap b/service/iotwireless/snapshot/api_op_ListWirelessGateways.go.snap index 4d151944b9d..4db27a4b2e3 100644 --- a/service/iotwireless/snapshot/api_op_ListWirelessGateways.go.snap +++ b/service/iotwireless/snapshot/api_op_ListWirelessGateways.go.snap @@ -13,7 +13,6 @@ ListWirelessGateways Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_PutPositionConfiguration.go.snap b/service/iotwireless/snapshot/api_op_PutPositionConfiguration.go.snap index aa8bf92c36a..d6799608052 100644 --- a/service/iotwireless/snapshot/api_op_PutPositionConfiguration.go.snap +++ b/service/iotwireless/snapshot/api_op_PutPositionConfiguration.go.snap @@ -14,7 +14,6 @@ PutPositionConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_PutResourceLogLevel.go.snap b/service/iotwireless/snapshot/api_op_PutResourceLogLevel.go.snap index 251a0be6cca..e216c71644f 100644 --- a/service/iotwireless/snapshot/api_op_PutResourceLogLevel.go.snap +++ b/service/iotwireless/snapshot/api_op_PutResourceLogLevel.go.snap @@ -14,7 +14,6 @@ PutResourceLogLevel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_ResetAllResourceLogLevels.go.snap b/service/iotwireless/snapshot/api_op_ResetAllResourceLogLevels.go.snap index 6015889441c..5724b83fcc6 100644 --- a/service/iotwireless/snapshot/api_op_ResetAllResourceLogLevels.go.snap +++ b/service/iotwireless/snapshot/api_op_ResetAllResourceLogLevels.go.snap @@ -13,7 +13,6 @@ ResetAllResourceLogLevels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_ResetResourceLogLevel.go.snap b/service/iotwireless/snapshot/api_op_ResetResourceLogLevel.go.snap index 896507dfcad..08eea2f57a3 100644 --- a/service/iotwireless/snapshot/api_op_ResetResourceLogLevel.go.snap +++ b/service/iotwireless/snapshot/api_op_ResetResourceLogLevel.go.snap @@ -14,7 +14,6 @@ ResetResourceLogLevel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_SendDataToMulticastGroup.go.snap b/service/iotwireless/snapshot/api_op_SendDataToMulticastGroup.go.snap index b545963d52a..e5406ae09e0 100644 --- a/service/iotwireless/snapshot/api_op_SendDataToMulticastGroup.go.snap +++ b/service/iotwireless/snapshot/api_op_SendDataToMulticastGroup.go.snap @@ -14,7 +14,6 @@ SendDataToMulticastGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_SendDataToWirelessDevice.go.snap b/service/iotwireless/snapshot/api_op_SendDataToWirelessDevice.go.snap index 34ee0bb79bf..1a0abbf1c07 100644 --- a/service/iotwireless/snapshot/api_op_SendDataToWirelessDevice.go.snap +++ b/service/iotwireless/snapshot/api_op_SendDataToWirelessDevice.go.snap @@ -14,7 +14,6 @@ SendDataToWirelessDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_StartBulkAssociateWirelessDeviceWithMulticastGroup.go.snap b/service/iotwireless/snapshot/api_op_StartBulkAssociateWirelessDeviceWithMulticastGroup.go.snap index 289ccd407ba..9f45d42bc90 100644 --- a/service/iotwireless/snapshot/api_op_StartBulkAssociateWirelessDeviceWithMulticastGroup.go.snap +++ b/service/iotwireless/snapshot/api_op_StartBulkAssociateWirelessDeviceWithMulticastGroup.go.snap @@ -14,7 +14,6 @@ StartBulkAssociateWirelessDeviceWithMulticastGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_StartBulkDisassociateWirelessDeviceFromMulticastGroup.go.snap b/service/iotwireless/snapshot/api_op_StartBulkDisassociateWirelessDeviceFromMulticastGroup.go.snap index 017fc264acd..e5c078e1c83 100644 --- a/service/iotwireless/snapshot/api_op_StartBulkDisassociateWirelessDeviceFromMulticastGroup.go.snap +++ b/service/iotwireless/snapshot/api_op_StartBulkDisassociateWirelessDeviceFromMulticastGroup.go.snap @@ -14,7 +14,6 @@ StartBulkDisassociateWirelessDeviceFromMulticastGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_StartFuotaTask.go.snap b/service/iotwireless/snapshot/api_op_StartFuotaTask.go.snap index 1f1926a3601..59a9944b8ef 100644 --- a/service/iotwireless/snapshot/api_op_StartFuotaTask.go.snap +++ b/service/iotwireless/snapshot/api_op_StartFuotaTask.go.snap @@ -14,7 +14,6 @@ StartFuotaTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_StartMulticastGroupSession.go.snap b/service/iotwireless/snapshot/api_op_StartMulticastGroupSession.go.snap index 07063d23656..d9f8a42dc8d 100644 --- a/service/iotwireless/snapshot/api_op_StartMulticastGroupSession.go.snap +++ b/service/iotwireless/snapshot/api_op_StartMulticastGroupSession.go.snap @@ -14,7 +14,6 @@ StartMulticastGroupSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_StartSingleWirelessDeviceImportTask.go.snap b/service/iotwireless/snapshot/api_op_StartSingleWirelessDeviceImportTask.go.snap index f2531925e6a..c81f7a73334 100644 --- a/service/iotwireless/snapshot/api_op_StartSingleWirelessDeviceImportTask.go.snap +++ b/service/iotwireless/snapshot/api_op_StartSingleWirelessDeviceImportTask.go.snap @@ -15,7 +15,6 @@ StartSingleWirelessDeviceImportTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_StartWirelessDeviceImportTask.go.snap b/service/iotwireless/snapshot/api_op_StartWirelessDeviceImportTask.go.snap index 8513b402126..0a98b5f2309 100644 --- a/service/iotwireless/snapshot/api_op_StartWirelessDeviceImportTask.go.snap +++ b/service/iotwireless/snapshot/api_op_StartWirelessDeviceImportTask.go.snap @@ -15,7 +15,6 @@ StartWirelessDeviceImportTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_TagResource.go.snap b/service/iotwireless/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/iotwireless/snapshot/api_op_TagResource.go.snap +++ b/service/iotwireless/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_TestWirelessDevice.go.snap b/service/iotwireless/snapshot/api_op_TestWirelessDevice.go.snap index 5bb77c6e304..68e1bf0867b 100644 --- a/service/iotwireless/snapshot/api_op_TestWirelessDevice.go.snap +++ b/service/iotwireless/snapshot/api_op_TestWirelessDevice.go.snap @@ -14,7 +14,6 @@ TestWirelessDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_UntagResource.go.snap b/service/iotwireless/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/iotwireless/snapshot/api_op_UntagResource.go.snap +++ b/service/iotwireless/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_UpdateDestination.go.snap b/service/iotwireless/snapshot/api_op_UpdateDestination.go.snap index 0ecc48083a7..e3709a8d9cc 100644 --- a/service/iotwireless/snapshot/api_op_UpdateDestination.go.snap +++ b/service/iotwireless/snapshot/api_op_UpdateDestination.go.snap @@ -14,7 +14,6 @@ UpdateDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_UpdateEventConfigurationByResourceTypes.go.snap b/service/iotwireless/snapshot/api_op_UpdateEventConfigurationByResourceTypes.go.snap index 67324ae322e..616693553e8 100644 --- a/service/iotwireless/snapshot/api_op_UpdateEventConfigurationByResourceTypes.go.snap +++ b/service/iotwireless/snapshot/api_op_UpdateEventConfigurationByResourceTypes.go.snap @@ -13,7 +13,6 @@ UpdateEventConfigurationByResourceTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_UpdateFuotaTask.go.snap b/service/iotwireless/snapshot/api_op_UpdateFuotaTask.go.snap index 7c87ecd36e9..44cb0acb478 100644 --- a/service/iotwireless/snapshot/api_op_UpdateFuotaTask.go.snap +++ b/service/iotwireless/snapshot/api_op_UpdateFuotaTask.go.snap @@ -14,7 +14,6 @@ UpdateFuotaTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_UpdateLogLevelsByResourceTypes.go.snap b/service/iotwireless/snapshot/api_op_UpdateLogLevelsByResourceTypes.go.snap index cd795a352fc..e3567c7553d 100644 --- a/service/iotwireless/snapshot/api_op_UpdateLogLevelsByResourceTypes.go.snap +++ b/service/iotwireless/snapshot/api_op_UpdateLogLevelsByResourceTypes.go.snap @@ -14,7 +14,6 @@ UpdateLogLevelsByResourceTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_UpdateMetricConfiguration.go.snap b/service/iotwireless/snapshot/api_op_UpdateMetricConfiguration.go.snap index 3f0565dfc8e..f075f410760 100644 --- a/service/iotwireless/snapshot/api_op_UpdateMetricConfiguration.go.snap +++ b/service/iotwireless/snapshot/api_op_UpdateMetricConfiguration.go.snap @@ -13,7 +13,6 @@ UpdateMetricConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_UpdateMulticastGroup.go.snap b/service/iotwireless/snapshot/api_op_UpdateMulticastGroup.go.snap index cc6bfc7d156..ac7c987bf69 100644 --- a/service/iotwireless/snapshot/api_op_UpdateMulticastGroup.go.snap +++ b/service/iotwireless/snapshot/api_op_UpdateMulticastGroup.go.snap @@ -14,7 +14,6 @@ UpdateMulticastGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_UpdateNetworkAnalyzerConfiguration.go.snap b/service/iotwireless/snapshot/api_op_UpdateNetworkAnalyzerConfiguration.go.snap index e17c98c7c0a..80369acea98 100644 --- a/service/iotwireless/snapshot/api_op_UpdateNetworkAnalyzerConfiguration.go.snap +++ b/service/iotwireless/snapshot/api_op_UpdateNetworkAnalyzerConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateNetworkAnalyzerConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_UpdatePartnerAccount.go.snap b/service/iotwireless/snapshot/api_op_UpdatePartnerAccount.go.snap index a15cc26686c..e5ba4cf6bfa 100644 --- a/service/iotwireless/snapshot/api_op_UpdatePartnerAccount.go.snap +++ b/service/iotwireless/snapshot/api_op_UpdatePartnerAccount.go.snap @@ -14,7 +14,6 @@ UpdatePartnerAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_UpdatePosition.go.snap b/service/iotwireless/snapshot/api_op_UpdatePosition.go.snap index 4a40ac18a31..27e8f69bf18 100644 --- a/service/iotwireless/snapshot/api_op_UpdatePosition.go.snap +++ b/service/iotwireless/snapshot/api_op_UpdatePosition.go.snap @@ -14,7 +14,6 @@ UpdatePosition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_UpdateResourceEventConfiguration.go.snap b/service/iotwireless/snapshot/api_op_UpdateResourceEventConfiguration.go.snap index 1d62ca03ae2..cce848b0dcf 100644 --- a/service/iotwireless/snapshot/api_op_UpdateResourceEventConfiguration.go.snap +++ b/service/iotwireless/snapshot/api_op_UpdateResourceEventConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateResourceEventConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_UpdateResourcePosition.go.snap b/service/iotwireless/snapshot/api_op_UpdateResourcePosition.go.snap index d32bd82fb8f..813fd438bc8 100644 --- a/service/iotwireless/snapshot/api_op_UpdateResourcePosition.go.snap +++ b/service/iotwireless/snapshot/api_op_UpdateResourcePosition.go.snap @@ -14,7 +14,6 @@ UpdateResourcePosition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_UpdateWirelessDevice.go.snap b/service/iotwireless/snapshot/api_op_UpdateWirelessDevice.go.snap index bb601d010d1..c74b858b6c2 100644 --- a/service/iotwireless/snapshot/api_op_UpdateWirelessDevice.go.snap +++ b/service/iotwireless/snapshot/api_op_UpdateWirelessDevice.go.snap @@ -14,7 +14,6 @@ UpdateWirelessDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_UpdateWirelessDeviceImportTask.go.snap b/service/iotwireless/snapshot/api_op_UpdateWirelessDeviceImportTask.go.snap index c8331778291..cbefebdb3c9 100644 --- a/service/iotwireless/snapshot/api_op_UpdateWirelessDeviceImportTask.go.snap +++ b/service/iotwireless/snapshot/api_op_UpdateWirelessDeviceImportTask.go.snap @@ -14,7 +14,6 @@ UpdateWirelessDeviceImportTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/iotwireless/snapshot/api_op_UpdateWirelessGateway.go.snap b/service/iotwireless/snapshot/api_op_UpdateWirelessGateway.go.snap index 0a5246416ca..09c80fa2691 100644 --- a/service/iotwireless/snapshot/api_op_UpdateWirelessGateway.go.snap +++ b/service/iotwireless/snapshot/api_op_UpdateWirelessGateway.go.snap @@ -14,7 +14,6 @@ UpdateWirelessGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/api_client.go b/service/ivs/api_client.go index dfdf31522e7..66620df4b15 100644 --- a/service/ivs/api_client.go +++ b/service/ivs/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/ivs/api_op_BatchGetChannel.go b/service/ivs/api_op_BatchGetChannel.go index a8951ebc268..0846a707629 100644 --- a/service/ivs/api_op_BatchGetChannel.go +++ b/service/ivs/api_op_BatchGetChannel.go @@ -115,9 +115,6 @@ func (c *Client) addOperationBatchGetChannelMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_BatchGetStreamKey.go b/service/ivs/api_op_BatchGetStreamKey.go index fcec440a253..d60ba04a28d 100644 --- a/service/ivs/api_op_BatchGetStreamKey.go +++ b/service/ivs/api_op_BatchGetStreamKey.go @@ -115,9 +115,6 @@ func (c *Client) addOperationBatchGetStreamKeyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetStreamKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_BatchStartViewerSessionRevocation.go b/service/ivs/api_op_BatchStartViewerSessionRevocation.go index 4ccdcaa330b..94d078dd13b 100644 --- a/service/ivs/api_op_BatchStartViewerSessionRevocation.go +++ b/service/ivs/api_op_BatchStartViewerSessionRevocation.go @@ -113,9 +113,6 @@ func (c *Client) addOperationBatchStartViewerSessionRevocationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchStartViewerSessionRevocationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_CreateChannel.go b/service/ivs/api_op_CreateChannel.go index 12821f48cd4..5246bb77f88 100644 --- a/service/ivs/api_op_CreateChannel.go +++ b/service/ivs/api_op_CreateChannel.go @@ -164,9 +164,6 @@ func (c *Client) addOperationCreateChannelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateChannel(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ivs/api_op_CreatePlaybackRestrictionPolicy.go b/service/ivs/api_op_CreatePlaybackRestrictionPolicy.go index 89c6604dd02..866e98c4ade 100644 --- a/service/ivs/api_op_CreatePlaybackRestrictionPolicy.go +++ b/service/ivs/api_op_CreatePlaybackRestrictionPolicy.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreatePlaybackRestrictionPolicyMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePlaybackRestrictionPolicy(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ivs/api_op_CreateRecordingConfiguration.go b/service/ivs/api_op_CreateRecordingConfiguration.go index 15dc75a4484..e899267b88e 100644 --- a/service/ivs/api_op_CreateRecordingConfiguration.go +++ b/service/ivs/api_op_CreateRecordingConfiguration.go @@ -148,9 +148,6 @@ func (c *Client) addOperationCreateRecordingConfigurationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRecordingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_CreateStreamKey.go b/service/ivs/api_op_CreateStreamKey.go index 539482c5c57..8a47bf89efd 100644 --- a/service/ivs/api_op_CreateStreamKey.go +++ b/service/ivs/api_op_CreateStreamKey.go @@ -125,9 +125,6 @@ func (c *Client) addOperationCreateStreamKeyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateStreamKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_DeleteChannel.go b/service/ivs/api_op_DeleteChannel.go index 480e828b3bc..b4af9a8190f 100644 --- a/service/ivs/api_op_DeleteChannel.go +++ b/service/ivs/api_op_DeleteChannel.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteChannelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_DeletePlaybackKeyPair.go b/service/ivs/api_op_DeletePlaybackKeyPair.go index 3aeb3cb9c92..8fc1731f9c1 100644 --- a/service/ivs/api_op_DeletePlaybackKeyPair.go +++ b/service/ivs/api_op_DeletePlaybackKeyPair.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeletePlaybackKeyPairMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePlaybackKeyPairValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_DeletePlaybackRestrictionPolicy.go b/service/ivs/api_op_DeletePlaybackRestrictionPolicy.go index d6606f8a597..f21f49db180 100644 --- a/service/ivs/api_op_DeletePlaybackRestrictionPolicy.go +++ b/service/ivs/api_op_DeletePlaybackRestrictionPolicy.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeletePlaybackRestrictionPolicyMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePlaybackRestrictionPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_DeleteRecordingConfiguration.go b/service/ivs/api_op_DeleteRecordingConfiguration.go index 1827f1d6e11..2f0c7bccc37 100644 --- a/service/ivs/api_op_DeleteRecordingConfiguration.go +++ b/service/ivs/api_op_DeleteRecordingConfiguration.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteRecordingConfigurationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRecordingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_DeleteStreamKey.go b/service/ivs/api_op_DeleteStreamKey.go index 459952445b9..3340311f1d8 100644 --- a/service/ivs/api_op_DeleteStreamKey.go +++ b/service/ivs/api_op_DeleteStreamKey.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteStreamKeyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteStreamKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_GetChannel.go b/service/ivs/api_op_GetChannel.go index d380e94fa38..e0dcac16653 100644 --- a/service/ivs/api_op_GetChannel.go +++ b/service/ivs/api_op_GetChannel.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetChannelMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_GetPlaybackKeyPair.go b/service/ivs/api_op_GetPlaybackKeyPair.go index 8a28cbdc9fc..33f25a3a809 100644 --- a/service/ivs/api_op_GetPlaybackKeyPair.go +++ b/service/ivs/api_op_GetPlaybackKeyPair.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetPlaybackKeyPairMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPlaybackKeyPairValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_GetPlaybackRestrictionPolicy.go b/service/ivs/api_op_GetPlaybackRestrictionPolicy.go index db81eb063cb..0efa7d661ae 100644 --- a/service/ivs/api_op_GetPlaybackRestrictionPolicy.go +++ b/service/ivs/api_op_GetPlaybackRestrictionPolicy.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetPlaybackRestrictionPolicyMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPlaybackRestrictionPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_GetRecordingConfiguration.go b/service/ivs/api_op_GetRecordingConfiguration.go index 8d7a7457d8a..0fc406d87d7 100644 --- a/service/ivs/api_op_GetRecordingConfiguration.go +++ b/service/ivs/api_op_GetRecordingConfiguration.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetRecordingConfigurationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRecordingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_GetStream.go b/service/ivs/api_op_GetStream.go index 714c02e9946..8d4abc940be 100644 --- a/service/ivs/api_op_GetStream.go +++ b/service/ivs/api_op_GetStream.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetStreamMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_GetStreamKey.go b/service/ivs/api_op_GetStreamKey.go index d8ac30bc49e..33eef01193a 100644 --- a/service/ivs/api_op_GetStreamKey.go +++ b/service/ivs/api_op_GetStreamKey.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetStreamKeyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetStreamKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_GetStreamSession.go b/service/ivs/api_op_GetStreamSession.go index 1975c199153..a1191fdf6bc 100644 --- a/service/ivs/api_op_GetStreamSession.go +++ b/service/ivs/api_op_GetStreamSession.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetStreamSessionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetStreamSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_ImportPlaybackKeyPair.go b/service/ivs/api_op_ImportPlaybackKeyPair.go index e38401b6745..61d74ab3243 100644 --- a/service/ivs/api_op_ImportPlaybackKeyPair.go +++ b/service/ivs/api_op_ImportPlaybackKeyPair.go @@ -128,9 +128,6 @@ func (c *Client) addOperationImportPlaybackKeyPairMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportPlaybackKeyPairValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_ListChannels.go b/service/ivs/api_op_ListChannels.go index 4a649a8b009..972b3541245 100644 --- a/service/ivs/api_op_ListChannels.go +++ b/service/ivs/api_op_ListChannels.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListChannelsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChannels(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ivs/api_op_ListPlaybackKeyPairs.go b/service/ivs/api_op_ListPlaybackKeyPairs.go index 9397630727e..6e18cce8ab0 100644 --- a/service/ivs/api_op_ListPlaybackKeyPairs.go +++ b/service/ivs/api_op_ListPlaybackKeyPairs.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListPlaybackKeyPairsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPlaybackKeyPairs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ivs/api_op_ListPlaybackRestrictionPolicies.go b/service/ivs/api_op_ListPlaybackRestrictionPolicies.go index 4a0d7f5f766..b893acdfc6c 100644 --- a/service/ivs/api_op_ListPlaybackRestrictionPolicies.go +++ b/service/ivs/api_op_ListPlaybackRestrictionPolicies.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListPlaybackRestrictionPoliciesMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPlaybackRestrictionPolicies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ivs/api_op_ListRecordingConfigurations.go b/service/ivs/api_op_ListRecordingConfigurations.go index 8b6ec0f3a3e..8607e64fe46 100644 --- a/service/ivs/api_op_ListRecordingConfigurations.go +++ b/service/ivs/api_op_ListRecordingConfigurations.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListRecordingConfigurationsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRecordingConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ivs/api_op_ListStreamKeys.go b/service/ivs/api_op_ListStreamKeys.go index a18474c7ef5..e607a366c77 100644 --- a/service/ivs/api_op_ListStreamKeys.go +++ b/service/ivs/api_op_ListStreamKeys.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListStreamKeysMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListStreamKeysValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_ListStreamSessions.go b/service/ivs/api_op_ListStreamSessions.go index 1d78a53f672..a3c0d9b3473 100644 --- a/service/ivs/api_op_ListStreamSessions.go +++ b/service/ivs/api_op_ListStreamSessions.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListStreamSessionsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListStreamSessionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_ListStreams.go b/service/ivs/api_op_ListStreams.go index 8983c89d586..3bf75a1e6f6 100644 --- a/service/ivs/api_op_ListStreams.go +++ b/service/ivs/api_op_ListStreams.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListStreamsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStreams(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ivs/api_op_ListTagsForResource.go b/service/ivs/api_op_ListTagsForResource.go index 5d78e2de47d..e5f87386fef 100644 --- a/service/ivs/api_op_ListTagsForResource.go +++ b/service/ivs/api_op_ListTagsForResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_PutMetadata.go b/service/ivs/api_op_PutMetadata.go index a924dc0337f..b52f5c11d20 100644 --- a/service/ivs/api_op_PutMetadata.go +++ b/service/ivs/api_op_PutMetadata.go @@ -119,9 +119,6 @@ func (c *Client) addOperationPutMetadataMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_StartViewerSessionRevocation.go b/service/ivs/api_op_StartViewerSessionRevocation.go index 88e57891ffc..8b722461f69 100644 --- a/service/ivs/api_op_StartViewerSessionRevocation.go +++ b/service/ivs/api_op_StartViewerSessionRevocation.go @@ -123,9 +123,6 @@ func (c *Client) addOperationStartViewerSessionRevocationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartViewerSessionRevocationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_StopStream.go b/service/ivs/api_op_StopStream.go index 4987861edb9..76e9a09d24c 100644 --- a/service/ivs/api_op_StopStream.go +++ b/service/ivs/api_op_StopStream.go @@ -112,9 +112,6 @@ func (c *Client) addOperationStopStreamMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_TagResource.go b/service/ivs/api_op_TagResource.go index a9f34b04b4f..f32a7c8a727 100644 --- a/service/ivs/api_op_TagResource.go +++ b/service/ivs/api_op_TagResource.go @@ -120,9 +120,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_UntagResource.go b/service/ivs/api_op_UntagResource.go index 9f7adac287f..1acb9a3190a 100644 --- a/service/ivs/api_op_UntagResource.go +++ b/service/ivs/api_op_UntagResource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_UpdateChannel.go b/service/ivs/api_op_UpdateChannel.go index d7f72c917ac..3e13583c421 100644 --- a/service/ivs/api_op_UpdateChannel.go +++ b/service/ivs/api_op_UpdateChannel.go @@ -159,9 +159,6 @@ func (c *Client) addOperationUpdateChannelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivs/api_op_UpdatePlaybackRestrictionPolicy.go b/service/ivs/api_op_UpdatePlaybackRestrictionPolicy.go index 90d2156c024..5765f76d94a 100644 --- a/service/ivs/api_op_UpdatePlaybackRestrictionPolicy.go +++ b/service/ivs/api_op_UpdatePlaybackRestrictionPolicy.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdatePlaybackRestrictionPolicyMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePlaybackRestrictionPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivs/snapshot/api_op_BatchGetChannel.go.snap b/service/ivs/snapshot/api_op_BatchGetChannel.go.snap index ea398cf8981..f2b533d1650 100644 --- a/service/ivs/snapshot/api_op_BatchGetChannel.go.snap +++ b/service/ivs/snapshot/api_op_BatchGetChannel.go.snap @@ -14,7 +14,6 @@ BatchGetChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_BatchGetStreamKey.go.snap b/service/ivs/snapshot/api_op_BatchGetStreamKey.go.snap index 75254b93e0b..0439db59020 100644 --- a/service/ivs/snapshot/api_op_BatchGetStreamKey.go.snap +++ b/service/ivs/snapshot/api_op_BatchGetStreamKey.go.snap @@ -14,7 +14,6 @@ BatchGetStreamKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_BatchStartViewerSessionRevocation.go.snap b/service/ivs/snapshot/api_op_BatchStartViewerSessionRevocation.go.snap index 61fd65c06e6..5715fba1379 100644 --- a/service/ivs/snapshot/api_op_BatchStartViewerSessionRevocation.go.snap +++ b/service/ivs/snapshot/api_op_BatchStartViewerSessionRevocation.go.snap @@ -14,7 +14,6 @@ BatchStartViewerSessionRevocation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_CreateChannel.go.snap b/service/ivs/snapshot/api_op_CreateChannel.go.snap index 14661d08fc7..aa3211b7dbb 100644 --- a/service/ivs/snapshot/api_op_CreateChannel.go.snap +++ b/service/ivs/snapshot/api_op_CreateChannel.go.snap @@ -13,7 +13,6 @@ CreateChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_CreatePlaybackRestrictionPolicy.go.snap b/service/ivs/snapshot/api_op_CreatePlaybackRestrictionPolicy.go.snap index 3836ae1255c..2c3c709c310 100644 --- a/service/ivs/snapshot/api_op_CreatePlaybackRestrictionPolicy.go.snap +++ b/service/ivs/snapshot/api_op_CreatePlaybackRestrictionPolicy.go.snap @@ -13,7 +13,6 @@ CreatePlaybackRestrictionPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_CreateRecordingConfiguration.go.snap b/service/ivs/snapshot/api_op_CreateRecordingConfiguration.go.snap index 05a0f03a2be..4a6ba906085 100644 --- a/service/ivs/snapshot/api_op_CreateRecordingConfiguration.go.snap +++ b/service/ivs/snapshot/api_op_CreateRecordingConfiguration.go.snap @@ -14,7 +14,6 @@ CreateRecordingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_CreateStreamKey.go.snap b/service/ivs/snapshot/api_op_CreateStreamKey.go.snap index b4d5be1d0ce..ada926ad20b 100644 --- a/service/ivs/snapshot/api_op_CreateStreamKey.go.snap +++ b/service/ivs/snapshot/api_op_CreateStreamKey.go.snap @@ -14,7 +14,6 @@ CreateStreamKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_DeleteChannel.go.snap b/service/ivs/snapshot/api_op_DeleteChannel.go.snap index c5d8eebaca6..ff973c1a071 100644 --- a/service/ivs/snapshot/api_op_DeleteChannel.go.snap +++ b/service/ivs/snapshot/api_op_DeleteChannel.go.snap @@ -14,7 +14,6 @@ DeleteChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_DeletePlaybackKeyPair.go.snap b/service/ivs/snapshot/api_op_DeletePlaybackKeyPair.go.snap index 4e335045519..4f4e81c0b7b 100644 --- a/service/ivs/snapshot/api_op_DeletePlaybackKeyPair.go.snap +++ b/service/ivs/snapshot/api_op_DeletePlaybackKeyPair.go.snap @@ -14,7 +14,6 @@ DeletePlaybackKeyPair Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_DeletePlaybackRestrictionPolicy.go.snap b/service/ivs/snapshot/api_op_DeletePlaybackRestrictionPolicy.go.snap index 373a20d4b0c..c764b41111d 100644 --- a/service/ivs/snapshot/api_op_DeletePlaybackRestrictionPolicy.go.snap +++ b/service/ivs/snapshot/api_op_DeletePlaybackRestrictionPolicy.go.snap @@ -14,7 +14,6 @@ DeletePlaybackRestrictionPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_DeleteRecordingConfiguration.go.snap b/service/ivs/snapshot/api_op_DeleteRecordingConfiguration.go.snap index 5f634c632a0..e587a4dddfe 100644 --- a/service/ivs/snapshot/api_op_DeleteRecordingConfiguration.go.snap +++ b/service/ivs/snapshot/api_op_DeleteRecordingConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteRecordingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_DeleteStreamKey.go.snap b/service/ivs/snapshot/api_op_DeleteStreamKey.go.snap index 2030f045246..102f689bfd0 100644 --- a/service/ivs/snapshot/api_op_DeleteStreamKey.go.snap +++ b/service/ivs/snapshot/api_op_DeleteStreamKey.go.snap @@ -14,7 +14,6 @@ DeleteStreamKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_GetChannel.go.snap b/service/ivs/snapshot/api_op_GetChannel.go.snap index 470db8f1e77..8a99dcaf3f1 100644 --- a/service/ivs/snapshot/api_op_GetChannel.go.snap +++ b/service/ivs/snapshot/api_op_GetChannel.go.snap @@ -14,7 +14,6 @@ GetChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_GetPlaybackKeyPair.go.snap b/service/ivs/snapshot/api_op_GetPlaybackKeyPair.go.snap index 5e15d0b5638..49e283b3972 100644 --- a/service/ivs/snapshot/api_op_GetPlaybackKeyPair.go.snap +++ b/service/ivs/snapshot/api_op_GetPlaybackKeyPair.go.snap @@ -14,7 +14,6 @@ GetPlaybackKeyPair Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_GetPlaybackRestrictionPolicy.go.snap b/service/ivs/snapshot/api_op_GetPlaybackRestrictionPolicy.go.snap index 4f17239069e..407988c17da 100644 --- a/service/ivs/snapshot/api_op_GetPlaybackRestrictionPolicy.go.snap +++ b/service/ivs/snapshot/api_op_GetPlaybackRestrictionPolicy.go.snap @@ -14,7 +14,6 @@ GetPlaybackRestrictionPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_GetRecordingConfiguration.go.snap b/service/ivs/snapshot/api_op_GetRecordingConfiguration.go.snap index ee7f9f6f8b0..514ac75bbe7 100644 --- a/service/ivs/snapshot/api_op_GetRecordingConfiguration.go.snap +++ b/service/ivs/snapshot/api_op_GetRecordingConfiguration.go.snap @@ -14,7 +14,6 @@ GetRecordingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_GetStream.go.snap b/service/ivs/snapshot/api_op_GetStream.go.snap index a87a70cd26a..350f5206033 100644 --- a/service/ivs/snapshot/api_op_GetStream.go.snap +++ b/service/ivs/snapshot/api_op_GetStream.go.snap @@ -14,7 +14,6 @@ GetStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_GetStreamKey.go.snap b/service/ivs/snapshot/api_op_GetStreamKey.go.snap index eb590e20aa0..33b53c2e344 100644 --- a/service/ivs/snapshot/api_op_GetStreamKey.go.snap +++ b/service/ivs/snapshot/api_op_GetStreamKey.go.snap @@ -14,7 +14,6 @@ GetStreamKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_GetStreamSession.go.snap b/service/ivs/snapshot/api_op_GetStreamSession.go.snap index 9f6fbd6f692..845ae60dec7 100644 --- a/service/ivs/snapshot/api_op_GetStreamSession.go.snap +++ b/service/ivs/snapshot/api_op_GetStreamSession.go.snap @@ -14,7 +14,6 @@ GetStreamSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_ImportPlaybackKeyPair.go.snap b/service/ivs/snapshot/api_op_ImportPlaybackKeyPair.go.snap index f84c5d4097f..7ba0503b6ed 100644 --- a/service/ivs/snapshot/api_op_ImportPlaybackKeyPair.go.snap +++ b/service/ivs/snapshot/api_op_ImportPlaybackKeyPair.go.snap @@ -14,7 +14,6 @@ ImportPlaybackKeyPair Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_ListChannels.go.snap b/service/ivs/snapshot/api_op_ListChannels.go.snap index ba520959789..a6c9b89d3b2 100644 --- a/service/ivs/snapshot/api_op_ListChannels.go.snap +++ b/service/ivs/snapshot/api_op_ListChannels.go.snap @@ -13,7 +13,6 @@ ListChannels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_ListPlaybackKeyPairs.go.snap b/service/ivs/snapshot/api_op_ListPlaybackKeyPairs.go.snap index eebb716cece..2552579fba5 100644 --- a/service/ivs/snapshot/api_op_ListPlaybackKeyPairs.go.snap +++ b/service/ivs/snapshot/api_op_ListPlaybackKeyPairs.go.snap @@ -13,7 +13,6 @@ ListPlaybackKeyPairs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_ListPlaybackRestrictionPolicies.go.snap b/service/ivs/snapshot/api_op_ListPlaybackRestrictionPolicies.go.snap index 6db7fc2fd42..66fc823391b 100644 --- a/service/ivs/snapshot/api_op_ListPlaybackRestrictionPolicies.go.snap +++ b/service/ivs/snapshot/api_op_ListPlaybackRestrictionPolicies.go.snap @@ -13,7 +13,6 @@ ListPlaybackRestrictionPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_ListRecordingConfigurations.go.snap b/service/ivs/snapshot/api_op_ListRecordingConfigurations.go.snap index f684705b5ce..fc8c262b916 100644 --- a/service/ivs/snapshot/api_op_ListRecordingConfigurations.go.snap +++ b/service/ivs/snapshot/api_op_ListRecordingConfigurations.go.snap @@ -13,7 +13,6 @@ ListRecordingConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_ListStreamKeys.go.snap b/service/ivs/snapshot/api_op_ListStreamKeys.go.snap index 9a95b9f255d..c445bde0359 100644 --- a/service/ivs/snapshot/api_op_ListStreamKeys.go.snap +++ b/service/ivs/snapshot/api_op_ListStreamKeys.go.snap @@ -14,7 +14,6 @@ ListStreamKeys Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_ListStreamSessions.go.snap b/service/ivs/snapshot/api_op_ListStreamSessions.go.snap index 4f800ffc01b..fc4a76916d3 100644 --- a/service/ivs/snapshot/api_op_ListStreamSessions.go.snap +++ b/service/ivs/snapshot/api_op_ListStreamSessions.go.snap @@ -14,7 +14,6 @@ ListStreamSessions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_ListStreams.go.snap b/service/ivs/snapshot/api_op_ListStreams.go.snap index 89c925c91c7..1885962ecc5 100644 --- a/service/ivs/snapshot/api_op_ListStreams.go.snap +++ b/service/ivs/snapshot/api_op_ListStreams.go.snap @@ -13,7 +13,6 @@ ListStreams Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_ListTagsForResource.go.snap b/service/ivs/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/ivs/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/ivs/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_PutMetadata.go.snap b/service/ivs/snapshot/api_op_PutMetadata.go.snap index 8a6abd1842f..97e3b052bef 100644 --- a/service/ivs/snapshot/api_op_PutMetadata.go.snap +++ b/service/ivs/snapshot/api_op_PutMetadata.go.snap @@ -14,7 +14,6 @@ PutMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_StartViewerSessionRevocation.go.snap b/service/ivs/snapshot/api_op_StartViewerSessionRevocation.go.snap index 8009870dc9c..739be76ca80 100644 --- a/service/ivs/snapshot/api_op_StartViewerSessionRevocation.go.snap +++ b/service/ivs/snapshot/api_op_StartViewerSessionRevocation.go.snap @@ -14,7 +14,6 @@ StartViewerSessionRevocation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_StopStream.go.snap b/service/ivs/snapshot/api_op_StopStream.go.snap index 826fb016a9c..102160cba1c 100644 --- a/service/ivs/snapshot/api_op_StopStream.go.snap +++ b/service/ivs/snapshot/api_op_StopStream.go.snap @@ -14,7 +14,6 @@ StopStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_TagResource.go.snap b/service/ivs/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/ivs/snapshot/api_op_TagResource.go.snap +++ b/service/ivs/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_UntagResource.go.snap b/service/ivs/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/ivs/snapshot/api_op_UntagResource.go.snap +++ b/service/ivs/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_UpdateChannel.go.snap b/service/ivs/snapshot/api_op_UpdateChannel.go.snap index 4ee65c8c5a7..f4150e2b85f 100644 --- a/service/ivs/snapshot/api_op_UpdateChannel.go.snap +++ b/service/ivs/snapshot/api_op_UpdateChannel.go.snap @@ -14,7 +14,6 @@ UpdateChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivs/snapshot/api_op_UpdatePlaybackRestrictionPolicy.go.snap b/service/ivs/snapshot/api_op_UpdatePlaybackRestrictionPolicy.go.snap index b4c9450af8f..b21de93f67b 100644 --- a/service/ivs/snapshot/api_op_UpdatePlaybackRestrictionPolicy.go.snap +++ b/service/ivs/snapshot/api_op_UpdatePlaybackRestrictionPolicy.go.snap @@ -14,7 +14,6 @@ UpdatePlaybackRestrictionPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivschat/api_client.go b/service/ivschat/api_client.go index 7668981c945..06962987b15 100644 --- a/service/ivschat/api_client.go +++ b/service/ivschat/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/ivschat/api_op_CreateChatToken.go b/service/ivschat/api_op_CreateChatToken.go index 564120f51af..3378ab61607 100644 --- a/service/ivschat/api_op_CreateChatToken.go +++ b/service/ivschat/api_op_CreateChatToken.go @@ -157,9 +157,6 @@ func (c *Client) addOperationCreateChatTokenMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateChatTokenValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivschat/api_op_CreateLoggingConfiguration.go b/service/ivschat/api_op_CreateLoggingConfiguration.go index 67f9c5879c0..0dc08d2a35f 100644 --- a/service/ivschat/api_op_CreateLoggingConfiguration.go +++ b/service/ivschat/api_op_CreateLoggingConfiguration.go @@ -157,9 +157,6 @@ func (c *Client) addOperationCreateLoggingConfigurationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLoggingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivschat/api_op_CreateRoom.go b/service/ivschat/api_op_CreateRoom.go index 98b0357f652..cd7fab9f33b 100644 --- a/service/ivschat/api_op_CreateRoom.go +++ b/service/ivschat/api_op_CreateRoom.go @@ -168,9 +168,6 @@ func (c *Client) addOperationCreateRoomMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRoom(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ivschat/api_op_DeleteLoggingConfiguration.go b/service/ivschat/api_op_DeleteLoggingConfiguration.go index a3814b87943..9cb80f0cf63 100644 --- a/service/ivschat/api_op_DeleteLoggingConfiguration.go +++ b/service/ivschat/api_op_DeleteLoggingConfiguration.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteLoggingConfigurationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLoggingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivschat/api_op_DeleteMessage.go b/service/ivschat/api_op_DeleteMessage.go index 3fa9cff4bdb..3dfd6ca24e6 100644 --- a/service/ivschat/api_op_DeleteMessage.go +++ b/service/ivschat/api_op_DeleteMessage.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteMessageMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMessageValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivschat/api_op_DeleteRoom.go b/service/ivschat/api_op_DeleteRoom.go index 48b4e654bf2..763f50ee3fa 100644 --- a/service/ivschat/api_op_DeleteRoom.go +++ b/service/ivschat/api_op_DeleteRoom.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteRoomMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRoomValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivschat/api_op_DisconnectUser.go b/service/ivschat/api_op_DisconnectUser.go index 6f9c67b476b..9153b79c205 100644 --- a/service/ivschat/api_op_DisconnectUser.go +++ b/service/ivschat/api_op_DisconnectUser.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDisconnectUserMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisconnectUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivschat/api_op_GetLoggingConfiguration.go b/service/ivschat/api_op_GetLoggingConfiguration.go index 880fae11c4b..b92423652a2 100644 --- a/service/ivschat/api_op_GetLoggingConfiguration.go +++ b/service/ivschat/api_op_GetLoggingConfiguration.go @@ -142,9 +142,6 @@ func (c *Client) addOperationGetLoggingConfigurationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLoggingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivschat/api_op_GetRoom.go b/service/ivschat/api_op_GetRoom.go index 74448437c3e..c9b47fb309f 100644 --- a/service/ivschat/api_op_GetRoom.go +++ b/service/ivschat/api_op_GetRoom.go @@ -148,9 +148,6 @@ func (c *Client) addOperationGetRoomMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRoomValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivschat/api_op_ListLoggingConfigurations.go b/service/ivschat/api_op_ListLoggingConfigurations.go index 8c4fb842758..d2df4473580 100644 --- a/service/ivschat/api_op_ListLoggingConfigurations.go +++ b/service/ivschat/api_op_ListLoggingConfigurations.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListLoggingConfigurationsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLoggingConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ivschat/api_op_ListRooms.go b/service/ivschat/api_op_ListRooms.go index e49a0a40e6f..258d96b0463 100644 --- a/service/ivschat/api_op_ListRooms.go +++ b/service/ivschat/api_op_ListRooms.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListRoomsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRooms(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ivschat/api_op_ListTagsForResource.go b/service/ivschat/api_op_ListTagsForResource.go index bc35aa5d486..c70370d120c 100644 --- a/service/ivschat/api_op_ListTagsForResource.go +++ b/service/ivschat/api_op_ListTagsForResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivschat/api_op_SendEvent.go b/service/ivschat/api_op_SendEvent.go index 0e08ca42479..3b5e8bc167a 100644 --- a/service/ivschat/api_op_SendEvent.go +++ b/service/ivschat/api_op_SendEvent.go @@ -124,9 +124,6 @@ func (c *Client) addOperationSendEventMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendEventValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivschat/api_op_TagResource.go b/service/ivschat/api_op_TagResource.go index a940d323078..f9a9347a420 100644 --- a/service/ivschat/api_op_TagResource.go +++ b/service/ivschat/api_op_TagResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivschat/api_op_UntagResource.go b/service/ivschat/api_op_UntagResource.go index b0c75746d23..37969ead3e1 100644 --- a/service/ivschat/api_op_UntagResource.go +++ b/service/ivschat/api_op_UntagResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivschat/api_op_UpdateLoggingConfiguration.go b/service/ivschat/api_op_UpdateLoggingConfiguration.go index 1f4bad23d2c..53ad722cbb4 100644 --- a/service/ivschat/api_op_UpdateLoggingConfiguration.go +++ b/service/ivschat/api_op_UpdateLoggingConfiguration.go @@ -149,9 +149,6 @@ func (c *Client) addOperationUpdateLoggingConfigurationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLoggingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivschat/api_op_UpdateRoom.go b/service/ivschat/api_op_UpdateRoom.go index 015751e3c45..83891a358f0 100644 --- a/service/ivschat/api_op_UpdateRoom.go +++ b/service/ivschat/api_op_UpdateRoom.go @@ -166,9 +166,6 @@ func (c *Client) addOperationUpdateRoomMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRoomValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivschat/snapshot/api_op_CreateChatToken.go.snap b/service/ivschat/snapshot/api_op_CreateChatToken.go.snap index 1ca1d18bae7..ab60d01f61a 100644 --- a/service/ivschat/snapshot/api_op_CreateChatToken.go.snap +++ b/service/ivschat/snapshot/api_op_CreateChatToken.go.snap @@ -14,7 +14,6 @@ CreateChatToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivschat/snapshot/api_op_CreateLoggingConfiguration.go.snap b/service/ivschat/snapshot/api_op_CreateLoggingConfiguration.go.snap index 7b1deffd12f..d56e2d16070 100644 --- a/service/ivschat/snapshot/api_op_CreateLoggingConfiguration.go.snap +++ b/service/ivschat/snapshot/api_op_CreateLoggingConfiguration.go.snap @@ -14,7 +14,6 @@ CreateLoggingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivschat/snapshot/api_op_CreateRoom.go.snap b/service/ivschat/snapshot/api_op_CreateRoom.go.snap index 663eff4d667..ba66638d34b 100644 --- a/service/ivschat/snapshot/api_op_CreateRoom.go.snap +++ b/service/ivschat/snapshot/api_op_CreateRoom.go.snap @@ -13,7 +13,6 @@ CreateRoom Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivschat/snapshot/api_op_DeleteLoggingConfiguration.go.snap b/service/ivschat/snapshot/api_op_DeleteLoggingConfiguration.go.snap index 2bd9fd0a6ec..ffacd84d1b6 100644 --- a/service/ivschat/snapshot/api_op_DeleteLoggingConfiguration.go.snap +++ b/service/ivschat/snapshot/api_op_DeleteLoggingConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteLoggingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivschat/snapshot/api_op_DeleteMessage.go.snap b/service/ivschat/snapshot/api_op_DeleteMessage.go.snap index ce0dd548059..eeb4800ac83 100644 --- a/service/ivschat/snapshot/api_op_DeleteMessage.go.snap +++ b/service/ivschat/snapshot/api_op_DeleteMessage.go.snap @@ -14,7 +14,6 @@ DeleteMessage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivschat/snapshot/api_op_DeleteRoom.go.snap b/service/ivschat/snapshot/api_op_DeleteRoom.go.snap index dd3f50f9e1d..31dea61cead 100644 --- a/service/ivschat/snapshot/api_op_DeleteRoom.go.snap +++ b/service/ivschat/snapshot/api_op_DeleteRoom.go.snap @@ -14,7 +14,6 @@ DeleteRoom Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivschat/snapshot/api_op_DisconnectUser.go.snap b/service/ivschat/snapshot/api_op_DisconnectUser.go.snap index 33977e90c1a..0340928cd82 100644 --- a/service/ivschat/snapshot/api_op_DisconnectUser.go.snap +++ b/service/ivschat/snapshot/api_op_DisconnectUser.go.snap @@ -14,7 +14,6 @@ DisconnectUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivschat/snapshot/api_op_GetLoggingConfiguration.go.snap b/service/ivschat/snapshot/api_op_GetLoggingConfiguration.go.snap index 608e41b7d36..52dd838fbc5 100644 --- a/service/ivschat/snapshot/api_op_GetLoggingConfiguration.go.snap +++ b/service/ivschat/snapshot/api_op_GetLoggingConfiguration.go.snap @@ -14,7 +14,6 @@ GetLoggingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivschat/snapshot/api_op_GetRoom.go.snap b/service/ivschat/snapshot/api_op_GetRoom.go.snap index 2b0e6d4734c..ef4ea93966a 100644 --- a/service/ivschat/snapshot/api_op_GetRoom.go.snap +++ b/service/ivschat/snapshot/api_op_GetRoom.go.snap @@ -14,7 +14,6 @@ GetRoom Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivschat/snapshot/api_op_ListLoggingConfigurations.go.snap b/service/ivschat/snapshot/api_op_ListLoggingConfigurations.go.snap index 3f94788a012..70f394f1130 100644 --- a/service/ivschat/snapshot/api_op_ListLoggingConfigurations.go.snap +++ b/service/ivschat/snapshot/api_op_ListLoggingConfigurations.go.snap @@ -13,7 +13,6 @@ ListLoggingConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivschat/snapshot/api_op_ListRooms.go.snap b/service/ivschat/snapshot/api_op_ListRooms.go.snap index 8eb2dc71a92..e86759016ce 100644 --- a/service/ivschat/snapshot/api_op_ListRooms.go.snap +++ b/service/ivschat/snapshot/api_op_ListRooms.go.snap @@ -13,7 +13,6 @@ ListRooms Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivschat/snapshot/api_op_ListTagsForResource.go.snap b/service/ivschat/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/ivschat/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/ivschat/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivschat/snapshot/api_op_SendEvent.go.snap b/service/ivschat/snapshot/api_op_SendEvent.go.snap index e225f16819a..a0877d65149 100644 --- a/service/ivschat/snapshot/api_op_SendEvent.go.snap +++ b/service/ivschat/snapshot/api_op_SendEvent.go.snap @@ -14,7 +14,6 @@ SendEvent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivschat/snapshot/api_op_TagResource.go.snap b/service/ivschat/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/ivschat/snapshot/api_op_TagResource.go.snap +++ b/service/ivschat/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivschat/snapshot/api_op_UntagResource.go.snap b/service/ivschat/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/ivschat/snapshot/api_op_UntagResource.go.snap +++ b/service/ivschat/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivschat/snapshot/api_op_UpdateLoggingConfiguration.go.snap b/service/ivschat/snapshot/api_op_UpdateLoggingConfiguration.go.snap index 257ba993b2f..244d9bde557 100644 --- a/service/ivschat/snapshot/api_op_UpdateLoggingConfiguration.go.snap +++ b/service/ivschat/snapshot/api_op_UpdateLoggingConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateLoggingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivschat/snapshot/api_op_UpdateRoom.go.snap b/service/ivschat/snapshot/api_op_UpdateRoom.go.snap index 32b992dc9e0..26b98e85599 100644 --- a/service/ivschat/snapshot/api_op_UpdateRoom.go.snap +++ b/service/ivschat/snapshot/api_op_UpdateRoom.go.snap @@ -14,7 +14,6 @@ UpdateRoom Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/api_client.go b/service/ivsrealtime/api_client.go index 6a5b1921410..20f471fe9f4 100644 --- a/service/ivsrealtime/api_client.go +++ b/service/ivsrealtime/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/ivsrealtime/api_op_CreateEncoderConfiguration.go b/service/ivsrealtime/api_op_CreateEncoderConfiguration.go index c633ef7ceba..c87189e6e37 100644 --- a/service/ivsrealtime/api_op_CreateEncoderConfiguration.go +++ b/service/ivsrealtime/api_op_CreateEncoderConfiguration.go @@ -123,9 +123,6 @@ func (c *Client) addOperationCreateEncoderConfigurationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEncoderConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ivsrealtime/api_op_CreateIngestConfiguration.go b/service/ivsrealtime/api_op_CreateIngestConfiguration.go index 08d12016fd1..47cce11e80e 100644 --- a/service/ivsrealtime/api_op_CreateIngestConfiguration.go +++ b/service/ivsrealtime/api_op_CreateIngestConfiguration.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCreateIngestConfigurationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateIngestConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_CreateParticipantToken.go b/service/ivsrealtime/api_op_CreateParticipantToken.go index 494690dead7..b66632f5915 100644 --- a/service/ivsrealtime/api_op_CreateParticipantToken.go +++ b/service/ivsrealtime/api_op_CreateParticipantToken.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateParticipantTokenMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateParticipantTokenValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_CreateStage.go b/service/ivsrealtime/api_op_CreateStage.go index b959c6d6615..106d140f449 100644 --- a/service/ivsrealtime/api_op_CreateStage.go +++ b/service/ivsrealtime/api_op_CreateStage.go @@ -130,9 +130,6 @@ func (c *Client) addOperationCreateStageMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateStageValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_CreateStorageConfiguration.go b/service/ivsrealtime/api_op_CreateStorageConfiguration.go index 26e90613e10..c43181612e1 100644 --- a/service/ivsrealtime/api_op_CreateStorageConfiguration.go +++ b/service/ivsrealtime/api_op_CreateStorageConfiguration.go @@ -128,9 +128,6 @@ func (c *Client) addOperationCreateStorageConfigurationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateStorageConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_DeleteEncoderConfiguration.go b/service/ivsrealtime/api_op_DeleteEncoderConfiguration.go index 41846379d49..da5083a1af9 100644 --- a/service/ivsrealtime/api_op_DeleteEncoderConfiguration.go +++ b/service/ivsrealtime/api_op_DeleteEncoderConfiguration.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteEncoderConfigurationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEncoderConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_DeleteIngestConfiguration.go b/service/ivsrealtime/api_op_DeleteIngestConfiguration.go index c70d3d32454..46319444043 100644 --- a/service/ivsrealtime/api_op_DeleteIngestConfiguration.go +++ b/service/ivsrealtime/api_op_DeleteIngestConfiguration.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteIngestConfigurationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIngestConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_DeletePublicKey.go b/service/ivsrealtime/api_op_DeletePublicKey.go index 561f8152da3..39f2ef3bd8a 100644 --- a/service/ivsrealtime/api_op_DeletePublicKey.go +++ b/service/ivsrealtime/api_op_DeletePublicKey.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeletePublicKeyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePublicKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_DeleteStage.go b/service/ivsrealtime/api_op_DeleteStage.go index eef84b3f9cf..9bd5fadc8e4 100644 --- a/service/ivsrealtime/api_op_DeleteStage.go +++ b/service/ivsrealtime/api_op_DeleteStage.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteStageMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteStageValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_DeleteStorageConfiguration.go b/service/ivsrealtime/api_op_DeleteStorageConfiguration.go index 9dbfd07afee..fec7b097bc6 100644 --- a/service/ivsrealtime/api_op_DeleteStorageConfiguration.go +++ b/service/ivsrealtime/api_op_DeleteStorageConfiguration.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteStorageConfigurationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteStorageConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_DisconnectParticipant.go b/service/ivsrealtime/api_op_DisconnectParticipant.go index eb406b5608f..058c5cee09d 100644 --- a/service/ivsrealtime/api_op_DisconnectParticipant.go +++ b/service/ivsrealtime/api_op_DisconnectParticipant.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDisconnectParticipantMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisconnectParticipantValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_GetComposition.go b/service/ivsrealtime/api_op_GetComposition.go index 70ca567c842..88fd79849e6 100644 --- a/service/ivsrealtime/api_op_GetComposition.go +++ b/service/ivsrealtime/api_op_GetComposition.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetCompositionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCompositionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_GetEncoderConfiguration.go b/service/ivsrealtime/api_op_GetEncoderConfiguration.go index 4737fa1aaa3..e233eb75b5d 100644 --- a/service/ivsrealtime/api_op_GetEncoderConfiguration.go +++ b/service/ivsrealtime/api_op_GetEncoderConfiguration.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetEncoderConfigurationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEncoderConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_GetIngestConfiguration.go b/service/ivsrealtime/api_op_GetIngestConfiguration.go index b2f65bb0d86..c4eb80ea441 100644 --- a/service/ivsrealtime/api_op_GetIngestConfiguration.go +++ b/service/ivsrealtime/api_op_GetIngestConfiguration.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetIngestConfigurationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIngestConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_GetParticipant.go b/service/ivsrealtime/api_op_GetParticipant.go index 9e698ce3484..79fb7095be6 100644 --- a/service/ivsrealtime/api_op_GetParticipant.go +++ b/service/ivsrealtime/api_op_GetParticipant.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetParticipantMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetParticipantValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_GetPublicKey.go b/service/ivsrealtime/api_op_GetPublicKey.go index 015390477ff..fd2e8338e5d 100644 --- a/service/ivsrealtime/api_op_GetPublicKey.go +++ b/service/ivsrealtime/api_op_GetPublicKey.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetPublicKeyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPublicKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_GetStage.go b/service/ivsrealtime/api_op_GetStage.go index 17b8d4debd7..0a4df0a8c26 100644 --- a/service/ivsrealtime/api_op_GetStage.go +++ b/service/ivsrealtime/api_op_GetStage.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetStageMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetStageValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_GetStageSession.go b/service/ivsrealtime/api_op_GetStageSession.go index 6a74154cfa6..5544a531a48 100644 --- a/service/ivsrealtime/api_op_GetStageSession.go +++ b/service/ivsrealtime/api_op_GetStageSession.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetStageSessionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetStageSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_GetStorageConfiguration.go b/service/ivsrealtime/api_op_GetStorageConfiguration.go index e5a4b472d71..936d35c356c 100644 --- a/service/ivsrealtime/api_op_GetStorageConfiguration.go +++ b/service/ivsrealtime/api_op_GetStorageConfiguration.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetStorageConfigurationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetStorageConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_ImportPublicKey.go b/service/ivsrealtime/api_op_ImportPublicKey.go index d69e00fd4b4..8beaa1f19c5 100644 --- a/service/ivsrealtime/api_op_ImportPublicKey.go +++ b/service/ivsrealtime/api_op_ImportPublicKey.go @@ -124,9 +124,6 @@ func (c *Client) addOperationImportPublicKeyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportPublicKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_ListCompositions.go b/service/ivsrealtime/api_op_ListCompositions.go index 4638ab61945..41f2f598ea6 100644 --- a/service/ivsrealtime/api_op_ListCompositions.go +++ b/service/ivsrealtime/api_op_ListCompositions.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListCompositionsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCompositions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ivsrealtime/api_op_ListEncoderConfigurations.go b/service/ivsrealtime/api_op_ListEncoderConfigurations.go index c7f92556c5b..84af0d237d9 100644 --- a/service/ivsrealtime/api_op_ListEncoderConfigurations.go +++ b/service/ivsrealtime/api_op_ListEncoderConfigurations.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListEncoderConfigurationsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEncoderConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ivsrealtime/api_op_ListIngestConfigurations.go b/service/ivsrealtime/api_op_ListIngestConfigurations.go index 65e5da67ebd..a6bea0a70cf 100644 --- a/service/ivsrealtime/api_op_ListIngestConfigurations.go +++ b/service/ivsrealtime/api_op_ListIngestConfigurations.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListIngestConfigurationsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIngestConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ivsrealtime/api_op_ListParticipantEvents.go b/service/ivsrealtime/api_op_ListParticipantEvents.go index 28bca6b229a..870d2d172f0 100644 --- a/service/ivsrealtime/api_op_ListParticipantEvents.go +++ b/service/ivsrealtime/api_op_ListParticipantEvents.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListParticipantEventsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListParticipantEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_ListParticipants.go b/service/ivsrealtime/api_op_ListParticipants.go index 78b6c99aab0..0cf612915ba 100644 --- a/service/ivsrealtime/api_op_ListParticipants.go +++ b/service/ivsrealtime/api_op_ListParticipants.go @@ -152,9 +152,6 @@ func (c *Client) addOperationListParticipantsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListParticipantsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_ListPublicKeys.go b/service/ivsrealtime/api_op_ListPublicKeys.go index 00f769181a1..ee548e1e658 100644 --- a/service/ivsrealtime/api_op_ListPublicKeys.go +++ b/service/ivsrealtime/api_op_ListPublicKeys.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListPublicKeysMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPublicKeys(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ivsrealtime/api_op_ListStageSessions.go b/service/ivsrealtime/api_op_ListStageSessions.go index 3da0a02c94f..8f7a2055ec2 100644 --- a/service/ivsrealtime/api_op_ListStageSessions.go +++ b/service/ivsrealtime/api_op_ListStageSessions.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListStageSessionsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListStageSessionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_ListStages.go b/service/ivsrealtime/api_op_ListStages.go index f7c681d70a3..c160891f5ca 100644 --- a/service/ivsrealtime/api_op_ListStages.go +++ b/service/ivsrealtime/api_op_ListStages.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListStagesMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStages(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ivsrealtime/api_op_ListStorageConfigurations.go b/service/ivsrealtime/api_op_ListStorageConfigurations.go index c84bf8bd174..86bbf49f414 100644 --- a/service/ivsrealtime/api_op_ListStorageConfigurations.go +++ b/service/ivsrealtime/api_op_ListStorageConfigurations.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListStorageConfigurationsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStorageConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ivsrealtime/api_op_ListTagsForResource.go b/service/ivsrealtime/api_op_ListTagsForResource.go index f2381cee68a..91f56b1f533 100644 --- a/service/ivsrealtime/api_op_ListTagsForResource.go +++ b/service/ivsrealtime/api_op_ListTagsForResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_StartComposition.go b/service/ivsrealtime/api_op_StartComposition.go index f6539993ef8..e5df39f4b07 100644 --- a/service/ivsrealtime/api_op_StartComposition.go +++ b/service/ivsrealtime/api_op_StartComposition.go @@ -149,9 +149,6 @@ func (c *Client) addOperationStartCompositionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartCompositionMiddleware(stack, options); err != nil { return err } diff --git a/service/ivsrealtime/api_op_StopComposition.go b/service/ivsrealtime/api_op_StopComposition.go index a60faa15476..4192f336391 100644 --- a/service/ivsrealtime/api_op_StopComposition.go +++ b/service/ivsrealtime/api_op_StopComposition.go @@ -108,9 +108,6 @@ func (c *Client) addOperationStopCompositionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopCompositionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_TagResource.go b/service/ivsrealtime/api_op_TagResource.go index e41cfde1e3e..816ed66ab49 100644 --- a/service/ivsrealtime/api_op_TagResource.go +++ b/service/ivsrealtime/api_op_TagResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_UntagResource.go b/service/ivsrealtime/api_op_UntagResource.go index 519ceb18cb4..f06360fba13 100644 --- a/service/ivsrealtime/api_op_UntagResource.go +++ b/service/ivsrealtime/api_op_UntagResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_UpdateIngestConfiguration.go b/service/ivsrealtime/api_op_UpdateIngestConfiguration.go index 28ce0cf30c6..ffc74dd1b4c 100644 --- a/service/ivsrealtime/api_op_UpdateIngestConfiguration.go +++ b/service/ivsrealtime/api_op_UpdateIngestConfiguration.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateIngestConfigurationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateIngestConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/api_op_UpdateStage.go b/service/ivsrealtime/api_op_UpdateStage.go index ff77885db6b..e1471206027 100644 --- a/service/ivsrealtime/api_op_UpdateStage.go +++ b/service/ivsrealtime/api_op_UpdateStage.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateStageMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateStageValidationMiddleware(stack); err != nil { return err } diff --git a/service/ivsrealtime/snapshot/api_op_CreateEncoderConfiguration.go.snap b/service/ivsrealtime/snapshot/api_op_CreateEncoderConfiguration.go.snap index 2b9254d3819..faf8e540ea6 100644 --- a/service/ivsrealtime/snapshot/api_op_CreateEncoderConfiguration.go.snap +++ b/service/ivsrealtime/snapshot/api_op_CreateEncoderConfiguration.go.snap @@ -13,7 +13,6 @@ CreateEncoderConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_CreateIngestConfiguration.go.snap b/service/ivsrealtime/snapshot/api_op_CreateIngestConfiguration.go.snap index 86f69412bcb..7543d443ce0 100644 --- a/service/ivsrealtime/snapshot/api_op_CreateIngestConfiguration.go.snap +++ b/service/ivsrealtime/snapshot/api_op_CreateIngestConfiguration.go.snap @@ -14,7 +14,6 @@ CreateIngestConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_CreateParticipantToken.go.snap b/service/ivsrealtime/snapshot/api_op_CreateParticipantToken.go.snap index 52d63b211d6..a65b0c51de3 100644 --- a/service/ivsrealtime/snapshot/api_op_CreateParticipantToken.go.snap +++ b/service/ivsrealtime/snapshot/api_op_CreateParticipantToken.go.snap @@ -14,7 +14,6 @@ CreateParticipantToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_CreateStage.go.snap b/service/ivsrealtime/snapshot/api_op_CreateStage.go.snap index c342e56fe51..a7c7072ae79 100644 --- a/service/ivsrealtime/snapshot/api_op_CreateStage.go.snap +++ b/service/ivsrealtime/snapshot/api_op_CreateStage.go.snap @@ -14,7 +14,6 @@ CreateStage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_CreateStorageConfiguration.go.snap b/service/ivsrealtime/snapshot/api_op_CreateStorageConfiguration.go.snap index de6045b9fee..6a30ae631c2 100644 --- a/service/ivsrealtime/snapshot/api_op_CreateStorageConfiguration.go.snap +++ b/service/ivsrealtime/snapshot/api_op_CreateStorageConfiguration.go.snap @@ -14,7 +14,6 @@ CreateStorageConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_DeleteEncoderConfiguration.go.snap b/service/ivsrealtime/snapshot/api_op_DeleteEncoderConfiguration.go.snap index bbb960a8539..b3cb98b4bb7 100644 --- a/service/ivsrealtime/snapshot/api_op_DeleteEncoderConfiguration.go.snap +++ b/service/ivsrealtime/snapshot/api_op_DeleteEncoderConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteEncoderConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_DeleteIngestConfiguration.go.snap b/service/ivsrealtime/snapshot/api_op_DeleteIngestConfiguration.go.snap index 5f328826ccb..f59bbddd50d 100644 --- a/service/ivsrealtime/snapshot/api_op_DeleteIngestConfiguration.go.snap +++ b/service/ivsrealtime/snapshot/api_op_DeleteIngestConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteIngestConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_DeletePublicKey.go.snap b/service/ivsrealtime/snapshot/api_op_DeletePublicKey.go.snap index 19a19055fd0..e4cc2eeacd8 100644 --- a/service/ivsrealtime/snapshot/api_op_DeletePublicKey.go.snap +++ b/service/ivsrealtime/snapshot/api_op_DeletePublicKey.go.snap @@ -14,7 +14,6 @@ DeletePublicKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_DeleteStage.go.snap b/service/ivsrealtime/snapshot/api_op_DeleteStage.go.snap index f1a1c39e497..b3095c02f0d 100644 --- a/service/ivsrealtime/snapshot/api_op_DeleteStage.go.snap +++ b/service/ivsrealtime/snapshot/api_op_DeleteStage.go.snap @@ -14,7 +14,6 @@ DeleteStage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_DeleteStorageConfiguration.go.snap b/service/ivsrealtime/snapshot/api_op_DeleteStorageConfiguration.go.snap index 71ee4bcad9d..f85b4ebb17b 100644 --- a/service/ivsrealtime/snapshot/api_op_DeleteStorageConfiguration.go.snap +++ b/service/ivsrealtime/snapshot/api_op_DeleteStorageConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteStorageConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_DisconnectParticipant.go.snap b/service/ivsrealtime/snapshot/api_op_DisconnectParticipant.go.snap index fa1fdf596d9..59959c61798 100644 --- a/service/ivsrealtime/snapshot/api_op_DisconnectParticipant.go.snap +++ b/service/ivsrealtime/snapshot/api_op_DisconnectParticipant.go.snap @@ -14,7 +14,6 @@ DisconnectParticipant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_GetComposition.go.snap b/service/ivsrealtime/snapshot/api_op_GetComposition.go.snap index d1f12b665f1..7be8390bcc5 100644 --- a/service/ivsrealtime/snapshot/api_op_GetComposition.go.snap +++ b/service/ivsrealtime/snapshot/api_op_GetComposition.go.snap @@ -14,7 +14,6 @@ GetComposition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_GetEncoderConfiguration.go.snap b/service/ivsrealtime/snapshot/api_op_GetEncoderConfiguration.go.snap index 0776e09521d..950721e4231 100644 --- a/service/ivsrealtime/snapshot/api_op_GetEncoderConfiguration.go.snap +++ b/service/ivsrealtime/snapshot/api_op_GetEncoderConfiguration.go.snap @@ -14,7 +14,6 @@ GetEncoderConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_GetIngestConfiguration.go.snap b/service/ivsrealtime/snapshot/api_op_GetIngestConfiguration.go.snap index b8fed9e386e..e33b997233b 100644 --- a/service/ivsrealtime/snapshot/api_op_GetIngestConfiguration.go.snap +++ b/service/ivsrealtime/snapshot/api_op_GetIngestConfiguration.go.snap @@ -14,7 +14,6 @@ GetIngestConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_GetParticipant.go.snap b/service/ivsrealtime/snapshot/api_op_GetParticipant.go.snap index a21e6db1051..00de1416de5 100644 --- a/service/ivsrealtime/snapshot/api_op_GetParticipant.go.snap +++ b/service/ivsrealtime/snapshot/api_op_GetParticipant.go.snap @@ -14,7 +14,6 @@ GetParticipant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_GetPublicKey.go.snap b/service/ivsrealtime/snapshot/api_op_GetPublicKey.go.snap index b04f259cb83..150b1f6ebe9 100644 --- a/service/ivsrealtime/snapshot/api_op_GetPublicKey.go.snap +++ b/service/ivsrealtime/snapshot/api_op_GetPublicKey.go.snap @@ -14,7 +14,6 @@ GetPublicKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_GetStage.go.snap b/service/ivsrealtime/snapshot/api_op_GetStage.go.snap index df9013ec2d0..4fe1a545818 100644 --- a/service/ivsrealtime/snapshot/api_op_GetStage.go.snap +++ b/service/ivsrealtime/snapshot/api_op_GetStage.go.snap @@ -14,7 +14,6 @@ GetStage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_GetStageSession.go.snap b/service/ivsrealtime/snapshot/api_op_GetStageSession.go.snap index d1ab29d6f71..952cc1b4f31 100644 --- a/service/ivsrealtime/snapshot/api_op_GetStageSession.go.snap +++ b/service/ivsrealtime/snapshot/api_op_GetStageSession.go.snap @@ -14,7 +14,6 @@ GetStageSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_GetStorageConfiguration.go.snap b/service/ivsrealtime/snapshot/api_op_GetStorageConfiguration.go.snap index 268b27410e7..01a409e8771 100644 --- a/service/ivsrealtime/snapshot/api_op_GetStorageConfiguration.go.snap +++ b/service/ivsrealtime/snapshot/api_op_GetStorageConfiguration.go.snap @@ -14,7 +14,6 @@ GetStorageConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_ImportPublicKey.go.snap b/service/ivsrealtime/snapshot/api_op_ImportPublicKey.go.snap index a1e245eab48..dd5b628e3c2 100644 --- a/service/ivsrealtime/snapshot/api_op_ImportPublicKey.go.snap +++ b/service/ivsrealtime/snapshot/api_op_ImportPublicKey.go.snap @@ -14,7 +14,6 @@ ImportPublicKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_ListCompositions.go.snap b/service/ivsrealtime/snapshot/api_op_ListCompositions.go.snap index 3dfabcd24fd..91e33ddcbe9 100644 --- a/service/ivsrealtime/snapshot/api_op_ListCompositions.go.snap +++ b/service/ivsrealtime/snapshot/api_op_ListCompositions.go.snap @@ -13,7 +13,6 @@ ListCompositions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_ListEncoderConfigurations.go.snap b/service/ivsrealtime/snapshot/api_op_ListEncoderConfigurations.go.snap index 870c785238e..4626db0ba81 100644 --- a/service/ivsrealtime/snapshot/api_op_ListEncoderConfigurations.go.snap +++ b/service/ivsrealtime/snapshot/api_op_ListEncoderConfigurations.go.snap @@ -13,7 +13,6 @@ ListEncoderConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_ListIngestConfigurations.go.snap b/service/ivsrealtime/snapshot/api_op_ListIngestConfigurations.go.snap index c0a39602ca5..460d6336364 100644 --- a/service/ivsrealtime/snapshot/api_op_ListIngestConfigurations.go.snap +++ b/service/ivsrealtime/snapshot/api_op_ListIngestConfigurations.go.snap @@ -13,7 +13,6 @@ ListIngestConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_ListParticipantEvents.go.snap b/service/ivsrealtime/snapshot/api_op_ListParticipantEvents.go.snap index ab7c7f12b51..94dd50a9f4f 100644 --- a/service/ivsrealtime/snapshot/api_op_ListParticipantEvents.go.snap +++ b/service/ivsrealtime/snapshot/api_op_ListParticipantEvents.go.snap @@ -14,7 +14,6 @@ ListParticipantEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_ListParticipants.go.snap b/service/ivsrealtime/snapshot/api_op_ListParticipants.go.snap index d774f2d7dc8..5e81572d596 100644 --- a/service/ivsrealtime/snapshot/api_op_ListParticipants.go.snap +++ b/service/ivsrealtime/snapshot/api_op_ListParticipants.go.snap @@ -14,7 +14,6 @@ ListParticipants Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_ListPublicKeys.go.snap b/service/ivsrealtime/snapshot/api_op_ListPublicKeys.go.snap index 63f50b7ceee..92498507334 100644 --- a/service/ivsrealtime/snapshot/api_op_ListPublicKeys.go.snap +++ b/service/ivsrealtime/snapshot/api_op_ListPublicKeys.go.snap @@ -13,7 +13,6 @@ ListPublicKeys Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_ListStageSessions.go.snap b/service/ivsrealtime/snapshot/api_op_ListStageSessions.go.snap index 01aa4f53fb8..af8546320a8 100644 --- a/service/ivsrealtime/snapshot/api_op_ListStageSessions.go.snap +++ b/service/ivsrealtime/snapshot/api_op_ListStageSessions.go.snap @@ -14,7 +14,6 @@ ListStageSessions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_ListStages.go.snap b/service/ivsrealtime/snapshot/api_op_ListStages.go.snap index 0b1d016bb13..a541ec60628 100644 --- a/service/ivsrealtime/snapshot/api_op_ListStages.go.snap +++ b/service/ivsrealtime/snapshot/api_op_ListStages.go.snap @@ -13,7 +13,6 @@ ListStages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_ListStorageConfigurations.go.snap b/service/ivsrealtime/snapshot/api_op_ListStorageConfigurations.go.snap index ba82df8fc81..fd31ccc8b8b 100644 --- a/service/ivsrealtime/snapshot/api_op_ListStorageConfigurations.go.snap +++ b/service/ivsrealtime/snapshot/api_op_ListStorageConfigurations.go.snap @@ -13,7 +13,6 @@ ListStorageConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_ListTagsForResource.go.snap b/service/ivsrealtime/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/ivsrealtime/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/ivsrealtime/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_StartComposition.go.snap b/service/ivsrealtime/snapshot/api_op_StartComposition.go.snap index fbcb2228f15..93468471f09 100644 --- a/service/ivsrealtime/snapshot/api_op_StartComposition.go.snap +++ b/service/ivsrealtime/snapshot/api_op_StartComposition.go.snap @@ -15,7 +15,6 @@ StartComposition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_StopComposition.go.snap b/service/ivsrealtime/snapshot/api_op_StopComposition.go.snap index 483c848fbc7..b25bb8dbd8a 100644 --- a/service/ivsrealtime/snapshot/api_op_StopComposition.go.snap +++ b/service/ivsrealtime/snapshot/api_op_StopComposition.go.snap @@ -14,7 +14,6 @@ StopComposition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_TagResource.go.snap b/service/ivsrealtime/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/ivsrealtime/snapshot/api_op_TagResource.go.snap +++ b/service/ivsrealtime/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_UntagResource.go.snap b/service/ivsrealtime/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/ivsrealtime/snapshot/api_op_UntagResource.go.snap +++ b/service/ivsrealtime/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_UpdateIngestConfiguration.go.snap b/service/ivsrealtime/snapshot/api_op_UpdateIngestConfiguration.go.snap index c80dd48ecb7..ede8f6b56c4 100644 --- a/service/ivsrealtime/snapshot/api_op_UpdateIngestConfiguration.go.snap +++ b/service/ivsrealtime/snapshot/api_op_UpdateIngestConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateIngestConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ivsrealtime/snapshot/api_op_UpdateStage.go.snap b/service/ivsrealtime/snapshot/api_op_UpdateStage.go.snap index 5adbe603ad0..fec562dc2ae 100644 --- a/service/ivsrealtime/snapshot/api_op_UpdateStage.go.snap +++ b/service/ivsrealtime/snapshot/api_op_UpdateStage.go.snap @@ -14,7 +14,6 @@ UpdateStage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/api_client.go b/service/kafka/api_client.go index a326849f7cf..252d6032a6c 100644 --- a/service/kafka/api_client.go +++ b/service/kafka/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/kafka/api_op_BatchAssociateScramSecret.go b/service/kafka/api_op_BatchAssociateScramSecret.go index 8fb52e80cd9..e8830cbc121 100644 --- a/service/kafka/api_op_BatchAssociateScramSecret.go +++ b/service/kafka/api_op_BatchAssociateScramSecret.go @@ -121,9 +121,6 @@ func (c *Client) addOperationBatchAssociateScramSecretMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchAssociateScramSecretValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_BatchDisassociateScramSecret.go b/service/kafka/api_op_BatchDisassociateScramSecret.go index 23166f746ee..0196bfb71df 100644 --- a/service/kafka/api_op_BatchDisassociateScramSecret.go +++ b/service/kafka/api_op_BatchDisassociateScramSecret.go @@ -121,9 +121,6 @@ func (c *Client) addOperationBatchDisassociateScramSecretMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDisassociateScramSecretValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_CreateCluster.go b/service/kafka/api_op_CreateCluster.go index 3aff3ba7f07..6d695d3e27f 100644 --- a/service/kafka/api_op_CreateCluster.go +++ b/service/kafka/api_op_CreateCluster.go @@ -159,9 +159,6 @@ func (c *Client) addOperationCreateClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_CreateClusterV2.go b/service/kafka/api_op_CreateClusterV2.go index 899ee5ddfbd..60bab3cdf56 100644 --- a/service/kafka/api_op_CreateClusterV2.go +++ b/service/kafka/api_op_CreateClusterV2.go @@ -131,9 +131,6 @@ func (c *Client) addOperationCreateClusterV2Middlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateClusterV2ValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_CreateConfiguration.go b/service/kafka/api_op_CreateConfiguration.go index 164bdcc8af0..e95b3a8a817 100644 --- a/service/kafka/api_op_CreateConfiguration.go +++ b/service/kafka/api_op_CreateConfiguration.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreateConfigurationMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_CreateReplicator.go b/service/kafka/api_op_CreateReplicator.go index d5f746b6528..5fed3c112c6 100644 --- a/service/kafka/api_op_CreateReplicator.go +++ b/service/kafka/api_op_CreateReplicator.go @@ -142,9 +142,6 @@ func (c *Client) addOperationCreateReplicatorMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateReplicatorValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_CreateVpcConnection.go b/service/kafka/api_op_CreateVpcConnection.go index c489359775c..952355bcc29 100644 --- a/service/kafka/api_op_CreateVpcConnection.go +++ b/service/kafka/api_op_CreateVpcConnection.go @@ -157,9 +157,6 @@ func (c *Client) addOperationCreateVpcConnectionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVpcConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_DeleteCluster.go b/service/kafka/api_op_DeleteCluster.go index 110e6e3bf56..04f6c192ad2 100644 --- a/service/kafka/api_op_DeleteCluster.go +++ b/service/kafka/api_op_DeleteCluster.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_DeleteClusterPolicy.go b/service/kafka/api_op_DeleteClusterPolicy.go index d9c56049793..327f9b12291 100644 --- a/service/kafka/api_op_DeleteClusterPolicy.go +++ b/service/kafka/api_op_DeleteClusterPolicy.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteClusterPolicyMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteClusterPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_DeleteConfiguration.go b/service/kafka/api_op_DeleteConfiguration.go index a3e47efaf3f..50510e57106 100644 --- a/service/kafka/api_op_DeleteConfiguration.go +++ b/service/kafka/api_op_DeleteConfiguration.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteConfigurationMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_DeleteReplicator.go b/service/kafka/api_op_DeleteReplicator.go index 8c2f7b345de..477b3e46585 100644 --- a/service/kafka/api_op_DeleteReplicator.go +++ b/service/kafka/api_op_DeleteReplicator.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteReplicatorMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteReplicatorValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_DeleteVpcConnection.go b/service/kafka/api_op_DeleteVpcConnection.go index 794b5a35e4b..d85ba3df951 100644 --- a/service/kafka/api_op_DeleteVpcConnection.go +++ b/service/kafka/api_op_DeleteVpcConnection.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteVpcConnectionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVpcConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_DescribeCluster.go b/service/kafka/api_op_DescribeCluster.go index 3a5bf382dc4..7498c5faca5 100644 --- a/service/kafka/api_op_DescribeCluster.go +++ b/service/kafka/api_op_DescribeCluster.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDescribeClusterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_DescribeClusterOperation.go b/service/kafka/api_op_DescribeClusterOperation.go index 481d76502d0..cc1d91d152c 100644 --- a/service/kafka/api_op_DescribeClusterOperation.go +++ b/service/kafka/api_op_DescribeClusterOperation.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDescribeClusterOperationMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeClusterOperationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_DescribeClusterOperationV2.go b/service/kafka/api_op_DescribeClusterOperationV2.go index 559b8d89ea7..62be9b41c0f 100644 --- a/service/kafka/api_op_DescribeClusterOperationV2.go +++ b/service/kafka/api_op_DescribeClusterOperationV2.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDescribeClusterOperationV2Middlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeClusterOperationV2ValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_DescribeClusterV2.go b/service/kafka/api_op_DescribeClusterV2.go index d9ff6b8fd06..b4843c54f85 100644 --- a/service/kafka/api_op_DescribeClusterV2.go +++ b/service/kafka/api_op_DescribeClusterV2.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDescribeClusterV2Middlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeClusterV2ValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_DescribeConfiguration.go b/service/kafka/api_op_DescribeConfiguration.go index 0bf2120bda4..1f63de13033 100644 --- a/service/kafka/api_op_DescribeConfiguration.go +++ b/service/kafka/api_op_DescribeConfiguration.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeConfigurationMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_DescribeConfigurationRevision.go b/service/kafka/api_op_DescribeConfigurationRevision.go index b1d1262ba81..9dc7472519d 100644 --- a/service/kafka/api_op_DescribeConfigurationRevision.go +++ b/service/kafka/api_op_DescribeConfigurationRevision.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeConfigurationRevisionMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeConfigurationRevisionValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_DescribeReplicator.go b/service/kafka/api_op_DescribeReplicator.go index 62939d1b004..23e3cc31ce5 100644 --- a/service/kafka/api_op_DescribeReplicator.go +++ b/service/kafka/api_op_DescribeReplicator.go @@ -152,9 +152,6 @@ func (c *Client) addOperationDescribeReplicatorMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeReplicatorValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_DescribeVpcConnection.go b/service/kafka/api_op_DescribeVpcConnection.go index 30c15b22585..55787427f1d 100644 --- a/service/kafka/api_op_DescribeVpcConnection.go +++ b/service/kafka/api_op_DescribeVpcConnection.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDescribeVpcConnectionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeVpcConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_GetBootstrapBrokers.go b/service/kafka/api_op_GetBootstrapBrokers.go index c504113ff7b..e5768e9c395 100644 --- a/service/kafka/api_op_GetBootstrapBrokers.go +++ b/service/kafka/api_op_GetBootstrapBrokers.go @@ -148,9 +148,6 @@ func (c *Client) addOperationGetBootstrapBrokersMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBootstrapBrokersValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_GetClusterPolicy.go b/service/kafka/api_op_GetClusterPolicy.go index 2fbea414f06..1950177fd5b 100644 --- a/service/kafka/api_op_GetClusterPolicy.go +++ b/service/kafka/api_op_GetClusterPolicy.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetClusterPolicyMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetClusterPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_GetCompatibleKafkaVersions.go b/service/kafka/api_op_GetCompatibleKafkaVersions.go index 0c84752b97a..4e1fc721589 100644 --- a/service/kafka/api_op_GetCompatibleKafkaVersions.go +++ b/service/kafka/api_op_GetCompatibleKafkaVersions.go @@ -110,9 +110,6 @@ func (c *Client) addOperationGetCompatibleKafkaVersionsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCompatibleKafkaVersions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kafka/api_op_ListClientVpcConnections.go b/service/kafka/api_op_ListClientVpcConnections.go index 81999554b5a..f71cdb56cfc 100644 --- a/service/kafka/api_op_ListClientVpcConnections.go +++ b/service/kafka/api_op_ListClientVpcConnections.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListClientVpcConnectionsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListClientVpcConnectionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_ListClusterOperations.go b/service/kafka/api_op_ListClusterOperations.go index d211ac824b6..44ecef22f62 100644 --- a/service/kafka/api_op_ListClusterOperations.go +++ b/service/kafka/api_op_ListClusterOperations.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListClusterOperationsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListClusterOperationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_ListClusterOperationsV2.go b/service/kafka/api_op_ListClusterOperationsV2.go index 1911d6e9b2c..13dbf9b63ec 100644 --- a/service/kafka/api_op_ListClusterOperationsV2.go +++ b/service/kafka/api_op_ListClusterOperationsV2.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListClusterOperationsV2Middlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListClusterOperationsV2ValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_ListClusters.go b/service/kafka/api_op_ListClusters.go index 2e152e4c777..8dcccbcdf69 100644 --- a/service/kafka/api_op_ListClusters.go +++ b/service/kafka/api_op_ListClusters.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListClustersMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListClusters(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kafka/api_op_ListClustersV2.go b/service/kafka/api_op_ListClustersV2.go index afc7be38463..d07526549d7 100644 --- a/service/kafka/api_op_ListClustersV2.go +++ b/service/kafka/api_op_ListClustersV2.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListClustersV2Middlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListClustersV2(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kafka/api_op_ListConfigurationRevisions.go b/service/kafka/api_op_ListConfigurationRevisions.go index bc4fd88f25d..c0963563a1c 100644 --- a/service/kafka/api_op_ListConfigurationRevisions.go +++ b/service/kafka/api_op_ListConfigurationRevisions.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListConfigurationRevisionsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListConfigurationRevisionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_ListConfigurations.go b/service/kafka/api_op_ListConfigurations.go index 1685f4b8369..fc7abadf349 100644 --- a/service/kafka/api_op_ListConfigurations.go +++ b/service/kafka/api_op_ListConfigurations.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListConfigurationsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kafka/api_op_ListKafkaVersions.go b/service/kafka/api_op_ListKafkaVersions.go index 5356982e309..54e3cad68e8 100644 --- a/service/kafka/api_op_ListKafkaVersions.go +++ b/service/kafka/api_op_ListKafkaVersions.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListKafkaVersionsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListKafkaVersions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kafka/api_op_ListNodes.go b/service/kafka/api_op_ListNodes.go index 247d4876cdd..abd7211a453 100644 --- a/service/kafka/api_op_ListNodes.go +++ b/service/kafka/api_op_ListNodes.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListNodesMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListNodesValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_ListReplicators.go b/service/kafka/api_op_ListReplicators.go index d2141fe35a4..a5b80bb9884 100644 --- a/service/kafka/api_op_ListReplicators.go +++ b/service/kafka/api_op_ListReplicators.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListReplicatorsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReplicators(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kafka/api_op_ListScramSecrets.go b/service/kafka/api_op_ListScramSecrets.go index 8e8b783854f..d065ee3bc62 100644 --- a/service/kafka/api_op_ListScramSecrets.go +++ b/service/kafka/api_op_ListScramSecrets.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListScramSecretsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListScramSecretsValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_ListTagsForResource.go b/service/kafka/api_op_ListTagsForResource.go index 82c99889c8d..346cb286ffb 100644 --- a/service/kafka/api_op_ListTagsForResource.go +++ b/service/kafka/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_ListVpcConnections.go b/service/kafka/api_op_ListVpcConnections.go index 30227624172..4aff77340c1 100644 --- a/service/kafka/api_op_ListVpcConnections.go +++ b/service/kafka/api_op_ListVpcConnections.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListVpcConnectionsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVpcConnections(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kafka/api_op_PutClusterPolicy.go b/service/kafka/api_op_PutClusterPolicy.go index b025fce6f87..68a20e98feb 100644 --- a/service/kafka/api_op_PutClusterPolicy.go +++ b/service/kafka/api_op_PutClusterPolicy.go @@ -120,9 +120,6 @@ func (c *Client) addOperationPutClusterPolicyMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutClusterPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_RebootBroker.go b/service/kafka/api_op_RebootBroker.go index de16b2e4b60..3fb72a9ff6a 100644 --- a/service/kafka/api_op_RebootBroker.go +++ b/service/kafka/api_op_RebootBroker.go @@ -121,9 +121,6 @@ func (c *Client) addOperationRebootBrokerMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRebootBrokerValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_RejectClientVpcConnection.go b/service/kafka/api_op_RejectClientVpcConnection.go index 4342c1650b0..9e87ed39a83 100644 --- a/service/kafka/api_op_RejectClientVpcConnection.go +++ b/service/kafka/api_op_RejectClientVpcConnection.go @@ -112,9 +112,6 @@ func (c *Client) addOperationRejectClientVpcConnectionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRejectClientVpcConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_TagResource.go b/service/kafka/api_op_TagResource.go index aaa9fda60b7..d8fa220bb96 100644 --- a/service/kafka/api_op_TagResource.go +++ b/service/kafka/api_op_TagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_UntagResource.go b/service/kafka/api_op_UntagResource.go index 3e663350ad5..2d9526828d7 100644 --- a/service/kafka/api_op_UntagResource.go +++ b/service/kafka/api_op_UntagResource.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_UpdateBrokerCount.go b/service/kafka/api_op_UpdateBrokerCount.go index 5b3467b0c94..0c274500d4c 100644 --- a/service/kafka/api_op_UpdateBrokerCount.go +++ b/service/kafka/api_op_UpdateBrokerCount.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateBrokerCountMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBrokerCountValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_UpdateBrokerStorage.go b/service/kafka/api_op_UpdateBrokerStorage.go index 3576cf726fa..00cf63af785 100644 --- a/service/kafka/api_op_UpdateBrokerStorage.go +++ b/service/kafka/api_op_UpdateBrokerStorage.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateBrokerStorageMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBrokerStorageValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_UpdateBrokerType.go b/service/kafka/api_op_UpdateBrokerType.go index b8132c54e5b..85284b823a4 100644 --- a/service/kafka/api_op_UpdateBrokerType.go +++ b/service/kafka/api_op_UpdateBrokerType.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateBrokerTypeMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBrokerTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_UpdateClusterConfiguration.go b/service/kafka/api_op_UpdateClusterConfiguration.go index a8d801a7c61..4d566367987 100644 --- a/service/kafka/api_op_UpdateClusterConfiguration.go +++ b/service/kafka/api_op_UpdateClusterConfiguration.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateClusterConfigurationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateClusterConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_UpdateClusterKafkaVersion.go b/service/kafka/api_op_UpdateClusterKafkaVersion.go index ff95ed56fd8..b51a533b314 100644 --- a/service/kafka/api_op_UpdateClusterKafkaVersion.go +++ b/service/kafka/api_op_UpdateClusterKafkaVersion.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateClusterKafkaVersionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateClusterKafkaVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_UpdateConfiguration.go b/service/kafka/api_op_UpdateConfiguration.go index 10219be8b96..820d2150fb4 100644 --- a/service/kafka/api_op_UpdateConfiguration.go +++ b/service/kafka/api_op_UpdateConfiguration.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateConfigurationMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_UpdateConnectivity.go b/service/kafka/api_op_UpdateConnectivity.go index 7437d40394e..653e37d836a 100644 --- a/service/kafka/api_op_UpdateConnectivity.go +++ b/service/kafka/api_op_UpdateConnectivity.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateConnectivityMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConnectivityValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_UpdateMonitoring.go b/service/kafka/api_op_UpdateMonitoring.go index 853e90261b5..fc9bfba33ca 100644 --- a/service/kafka/api_op_UpdateMonitoring.go +++ b/service/kafka/api_op_UpdateMonitoring.go @@ -134,9 +134,6 @@ func (c *Client) addOperationUpdateMonitoringMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMonitoringValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_UpdateReplicationInfo.go b/service/kafka/api_op_UpdateReplicationInfo.go index 6f82f52da04..603a6f46e03 100644 --- a/service/kafka/api_op_UpdateReplicationInfo.go +++ b/service/kafka/api_op_UpdateReplicationInfo.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateReplicationInfoMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateReplicationInfoValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_UpdateSecurity.go b/service/kafka/api_op_UpdateSecurity.go index 45a975bd802..89524f3ce7d 100644 --- a/service/kafka/api_op_UpdateSecurity.go +++ b/service/kafka/api_op_UpdateSecurity.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUpdateSecurityMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSecurityValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/api_op_UpdateStorage.go b/service/kafka/api_op_UpdateStorage.go index 6f6af4c7b4f..2c48b462673 100644 --- a/service/kafka/api_op_UpdateStorage.go +++ b/service/kafka/api_op_UpdateStorage.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdateStorageMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateStorageValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafka/snapshot/api_op_BatchAssociateScramSecret.go.snap b/service/kafka/snapshot/api_op_BatchAssociateScramSecret.go.snap index 200401b5407..998a2afc550 100644 --- a/service/kafka/snapshot/api_op_BatchAssociateScramSecret.go.snap +++ b/service/kafka/snapshot/api_op_BatchAssociateScramSecret.go.snap @@ -14,7 +14,6 @@ BatchAssociateScramSecret Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_BatchDisassociateScramSecret.go.snap b/service/kafka/snapshot/api_op_BatchDisassociateScramSecret.go.snap index e4763219f7d..5e61be03783 100644 --- a/service/kafka/snapshot/api_op_BatchDisassociateScramSecret.go.snap +++ b/service/kafka/snapshot/api_op_BatchDisassociateScramSecret.go.snap @@ -14,7 +14,6 @@ BatchDisassociateScramSecret Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_CreateCluster.go.snap b/service/kafka/snapshot/api_op_CreateCluster.go.snap index 1ee274e1f6c..03ac0c0d2e6 100644 --- a/service/kafka/snapshot/api_op_CreateCluster.go.snap +++ b/service/kafka/snapshot/api_op_CreateCluster.go.snap @@ -14,7 +14,6 @@ CreateCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_CreateClusterV2.go.snap b/service/kafka/snapshot/api_op_CreateClusterV2.go.snap index 5edfd9ccfe1..016fe14f66f 100644 --- a/service/kafka/snapshot/api_op_CreateClusterV2.go.snap +++ b/service/kafka/snapshot/api_op_CreateClusterV2.go.snap @@ -14,7 +14,6 @@ CreateClusterV2 Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_CreateConfiguration.go.snap b/service/kafka/snapshot/api_op_CreateConfiguration.go.snap index d4453984a02..1b855676fb6 100644 --- a/service/kafka/snapshot/api_op_CreateConfiguration.go.snap +++ b/service/kafka/snapshot/api_op_CreateConfiguration.go.snap @@ -14,7 +14,6 @@ CreateConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_CreateReplicator.go.snap b/service/kafka/snapshot/api_op_CreateReplicator.go.snap index c006de1882e..3eed670766c 100644 --- a/service/kafka/snapshot/api_op_CreateReplicator.go.snap +++ b/service/kafka/snapshot/api_op_CreateReplicator.go.snap @@ -14,7 +14,6 @@ CreateReplicator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_CreateVpcConnection.go.snap b/service/kafka/snapshot/api_op_CreateVpcConnection.go.snap index d992df71810..5c476f1ded1 100644 --- a/service/kafka/snapshot/api_op_CreateVpcConnection.go.snap +++ b/service/kafka/snapshot/api_op_CreateVpcConnection.go.snap @@ -14,7 +14,6 @@ CreateVpcConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_DeleteCluster.go.snap b/service/kafka/snapshot/api_op_DeleteCluster.go.snap index 8eeb23b33c5..9df5248d4d6 100644 --- a/service/kafka/snapshot/api_op_DeleteCluster.go.snap +++ b/service/kafka/snapshot/api_op_DeleteCluster.go.snap @@ -14,7 +14,6 @@ DeleteCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_DeleteClusterPolicy.go.snap b/service/kafka/snapshot/api_op_DeleteClusterPolicy.go.snap index 2ca1d247819..c42c0d08424 100644 --- a/service/kafka/snapshot/api_op_DeleteClusterPolicy.go.snap +++ b/service/kafka/snapshot/api_op_DeleteClusterPolicy.go.snap @@ -14,7 +14,6 @@ DeleteClusterPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_DeleteConfiguration.go.snap b/service/kafka/snapshot/api_op_DeleteConfiguration.go.snap index 1d6f6986ef0..f0d119d668b 100644 --- a/service/kafka/snapshot/api_op_DeleteConfiguration.go.snap +++ b/service/kafka/snapshot/api_op_DeleteConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_DeleteReplicator.go.snap b/service/kafka/snapshot/api_op_DeleteReplicator.go.snap index eb45db17566..1b59313f698 100644 --- a/service/kafka/snapshot/api_op_DeleteReplicator.go.snap +++ b/service/kafka/snapshot/api_op_DeleteReplicator.go.snap @@ -14,7 +14,6 @@ DeleteReplicator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_DeleteVpcConnection.go.snap b/service/kafka/snapshot/api_op_DeleteVpcConnection.go.snap index 7dffd0a5072..65927454ab2 100644 --- a/service/kafka/snapshot/api_op_DeleteVpcConnection.go.snap +++ b/service/kafka/snapshot/api_op_DeleteVpcConnection.go.snap @@ -14,7 +14,6 @@ DeleteVpcConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_DescribeCluster.go.snap b/service/kafka/snapshot/api_op_DescribeCluster.go.snap index fe48df769b6..aba0b08d3d5 100644 --- a/service/kafka/snapshot/api_op_DescribeCluster.go.snap +++ b/service/kafka/snapshot/api_op_DescribeCluster.go.snap @@ -14,7 +14,6 @@ DescribeCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_DescribeClusterOperation.go.snap b/service/kafka/snapshot/api_op_DescribeClusterOperation.go.snap index ae229e3df1a..c69c0f49260 100644 --- a/service/kafka/snapshot/api_op_DescribeClusterOperation.go.snap +++ b/service/kafka/snapshot/api_op_DescribeClusterOperation.go.snap @@ -14,7 +14,6 @@ DescribeClusterOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_DescribeClusterOperationV2.go.snap b/service/kafka/snapshot/api_op_DescribeClusterOperationV2.go.snap index 1eaa619436d..6370a8883e2 100644 --- a/service/kafka/snapshot/api_op_DescribeClusterOperationV2.go.snap +++ b/service/kafka/snapshot/api_op_DescribeClusterOperationV2.go.snap @@ -14,7 +14,6 @@ DescribeClusterOperationV2 Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_DescribeClusterV2.go.snap b/service/kafka/snapshot/api_op_DescribeClusterV2.go.snap index 370e7edf179..cb010875ae9 100644 --- a/service/kafka/snapshot/api_op_DescribeClusterV2.go.snap +++ b/service/kafka/snapshot/api_op_DescribeClusterV2.go.snap @@ -14,7 +14,6 @@ DescribeClusterV2 Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_DescribeConfiguration.go.snap b/service/kafka/snapshot/api_op_DescribeConfiguration.go.snap index 17e8a758f68..18b0f68da1f 100644 --- a/service/kafka/snapshot/api_op_DescribeConfiguration.go.snap +++ b/service/kafka/snapshot/api_op_DescribeConfiguration.go.snap @@ -14,7 +14,6 @@ DescribeConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_DescribeConfigurationRevision.go.snap b/service/kafka/snapshot/api_op_DescribeConfigurationRevision.go.snap index ae0566c8285..7874c023eea 100644 --- a/service/kafka/snapshot/api_op_DescribeConfigurationRevision.go.snap +++ b/service/kafka/snapshot/api_op_DescribeConfigurationRevision.go.snap @@ -14,7 +14,6 @@ DescribeConfigurationRevision Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_DescribeReplicator.go.snap b/service/kafka/snapshot/api_op_DescribeReplicator.go.snap index 58d2adc0275..ea6a892eccc 100644 --- a/service/kafka/snapshot/api_op_DescribeReplicator.go.snap +++ b/service/kafka/snapshot/api_op_DescribeReplicator.go.snap @@ -14,7 +14,6 @@ DescribeReplicator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_DescribeVpcConnection.go.snap b/service/kafka/snapshot/api_op_DescribeVpcConnection.go.snap index 905ffd4e34a..42dac7a9ed0 100644 --- a/service/kafka/snapshot/api_op_DescribeVpcConnection.go.snap +++ b/service/kafka/snapshot/api_op_DescribeVpcConnection.go.snap @@ -14,7 +14,6 @@ DescribeVpcConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_GetBootstrapBrokers.go.snap b/service/kafka/snapshot/api_op_GetBootstrapBrokers.go.snap index b2cc582f483..40e8fd12218 100644 --- a/service/kafka/snapshot/api_op_GetBootstrapBrokers.go.snap +++ b/service/kafka/snapshot/api_op_GetBootstrapBrokers.go.snap @@ -14,7 +14,6 @@ GetBootstrapBrokers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_GetClusterPolicy.go.snap b/service/kafka/snapshot/api_op_GetClusterPolicy.go.snap index 7705cfa9429..136a65c5d9e 100644 --- a/service/kafka/snapshot/api_op_GetClusterPolicy.go.snap +++ b/service/kafka/snapshot/api_op_GetClusterPolicy.go.snap @@ -14,7 +14,6 @@ GetClusterPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_GetCompatibleKafkaVersions.go.snap b/service/kafka/snapshot/api_op_GetCompatibleKafkaVersions.go.snap index 16540422541..5dad19cc569 100644 --- a/service/kafka/snapshot/api_op_GetCompatibleKafkaVersions.go.snap +++ b/service/kafka/snapshot/api_op_GetCompatibleKafkaVersions.go.snap @@ -13,7 +13,6 @@ GetCompatibleKafkaVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_ListClientVpcConnections.go.snap b/service/kafka/snapshot/api_op_ListClientVpcConnections.go.snap index 57a69f1cae0..bc6262c1ee5 100644 --- a/service/kafka/snapshot/api_op_ListClientVpcConnections.go.snap +++ b/service/kafka/snapshot/api_op_ListClientVpcConnections.go.snap @@ -14,7 +14,6 @@ ListClientVpcConnections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_ListClusterOperations.go.snap b/service/kafka/snapshot/api_op_ListClusterOperations.go.snap index b776f9bd432..1338d2395e3 100644 --- a/service/kafka/snapshot/api_op_ListClusterOperations.go.snap +++ b/service/kafka/snapshot/api_op_ListClusterOperations.go.snap @@ -14,7 +14,6 @@ ListClusterOperations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_ListClusterOperationsV2.go.snap b/service/kafka/snapshot/api_op_ListClusterOperationsV2.go.snap index 96aad65f534..67efbdd361e 100644 --- a/service/kafka/snapshot/api_op_ListClusterOperationsV2.go.snap +++ b/service/kafka/snapshot/api_op_ListClusterOperationsV2.go.snap @@ -14,7 +14,6 @@ ListClusterOperationsV2 Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_ListClusters.go.snap b/service/kafka/snapshot/api_op_ListClusters.go.snap index 48cbced5e1f..949fd968ca2 100644 --- a/service/kafka/snapshot/api_op_ListClusters.go.snap +++ b/service/kafka/snapshot/api_op_ListClusters.go.snap @@ -13,7 +13,6 @@ ListClusters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_ListClustersV2.go.snap b/service/kafka/snapshot/api_op_ListClustersV2.go.snap index 5a7a40a234a..cef4c979bc2 100644 --- a/service/kafka/snapshot/api_op_ListClustersV2.go.snap +++ b/service/kafka/snapshot/api_op_ListClustersV2.go.snap @@ -13,7 +13,6 @@ ListClustersV2 Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_ListConfigurationRevisions.go.snap b/service/kafka/snapshot/api_op_ListConfigurationRevisions.go.snap index 6b2abb6664e..0edc5b74af0 100644 --- a/service/kafka/snapshot/api_op_ListConfigurationRevisions.go.snap +++ b/service/kafka/snapshot/api_op_ListConfigurationRevisions.go.snap @@ -14,7 +14,6 @@ ListConfigurationRevisions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_ListConfigurations.go.snap b/service/kafka/snapshot/api_op_ListConfigurations.go.snap index 3ada00b5a71..0ee10de90de 100644 --- a/service/kafka/snapshot/api_op_ListConfigurations.go.snap +++ b/service/kafka/snapshot/api_op_ListConfigurations.go.snap @@ -13,7 +13,6 @@ ListConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_ListKafkaVersions.go.snap b/service/kafka/snapshot/api_op_ListKafkaVersions.go.snap index 03979041edb..7a0a075a41a 100644 --- a/service/kafka/snapshot/api_op_ListKafkaVersions.go.snap +++ b/service/kafka/snapshot/api_op_ListKafkaVersions.go.snap @@ -13,7 +13,6 @@ ListKafkaVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_ListNodes.go.snap b/service/kafka/snapshot/api_op_ListNodes.go.snap index 8aa2b28b799..1bc437f1d37 100644 --- a/service/kafka/snapshot/api_op_ListNodes.go.snap +++ b/service/kafka/snapshot/api_op_ListNodes.go.snap @@ -14,7 +14,6 @@ ListNodes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_ListReplicators.go.snap b/service/kafka/snapshot/api_op_ListReplicators.go.snap index 21ddf9ce3c2..99d9c4f15f6 100644 --- a/service/kafka/snapshot/api_op_ListReplicators.go.snap +++ b/service/kafka/snapshot/api_op_ListReplicators.go.snap @@ -13,7 +13,6 @@ ListReplicators Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_ListScramSecrets.go.snap b/service/kafka/snapshot/api_op_ListScramSecrets.go.snap index 4d7cd1742e3..e51105fa607 100644 --- a/service/kafka/snapshot/api_op_ListScramSecrets.go.snap +++ b/service/kafka/snapshot/api_op_ListScramSecrets.go.snap @@ -14,7 +14,6 @@ ListScramSecrets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_ListTagsForResource.go.snap b/service/kafka/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/kafka/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/kafka/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_ListVpcConnections.go.snap b/service/kafka/snapshot/api_op_ListVpcConnections.go.snap index 9bfab9e0934..67e22c8a142 100644 --- a/service/kafka/snapshot/api_op_ListVpcConnections.go.snap +++ b/service/kafka/snapshot/api_op_ListVpcConnections.go.snap @@ -13,7 +13,6 @@ ListVpcConnections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_PutClusterPolicy.go.snap b/service/kafka/snapshot/api_op_PutClusterPolicy.go.snap index d695078b69f..8ea6b1fdca1 100644 --- a/service/kafka/snapshot/api_op_PutClusterPolicy.go.snap +++ b/service/kafka/snapshot/api_op_PutClusterPolicy.go.snap @@ -14,7 +14,6 @@ PutClusterPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_RebootBroker.go.snap b/service/kafka/snapshot/api_op_RebootBroker.go.snap index 7d9624418d5..0c577cb90f0 100644 --- a/service/kafka/snapshot/api_op_RebootBroker.go.snap +++ b/service/kafka/snapshot/api_op_RebootBroker.go.snap @@ -14,7 +14,6 @@ RebootBroker Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_RejectClientVpcConnection.go.snap b/service/kafka/snapshot/api_op_RejectClientVpcConnection.go.snap index 616395b2828..b4d076ecf07 100644 --- a/service/kafka/snapshot/api_op_RejectClientVpcConnection.go.snap +++ b/service/kafka/snapshot/api_op_RejectClientVpcConnection.go.snap @@ -14,7 +14,6 @@ RejectClientVpcConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_TagResource.go.snap b/service/kafka/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/kafka/snapshot/api_op_TagResource.go.snap +++ b/service/kafka/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_UntagResource.go.snap b/service/kafka/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/kafka/snapshot/api_op_UntagResource.go.snap +++ b/service/kafka/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_UpdateBrokerCount.go.snap b/service/kafka/snapshot/api_op_UpdateBrokerCount.go.snap index 9e6d10d63ce..5e45e34a098 100644 --- a/service/kafka/snapshot/api_op_UpdateBrokerCount.go.snap +++ b/service/kafka/snapshot/api_op_UpdateBrokerCount.go.snap @@ -14,7 +14,6 @@ UpdateBrokerCount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_UpdateBrokerStorage.go.snap b/service/kafka/snapshot/api_op_UpdateBrokerStorage.go.snap index 88f7d579ad1..52c3104aeb6 100644 --- a/service/kafka/snapshot/api_op_UpdateBrokerStorage.go.snap +++ b/service/kafka/snapshot/api_op_UpdateBrokerStorage.go.snap @@ -14,7 +14,6 @@ UpdateBrokerStorage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_UpdateBrokerType.go.snap b/service/kafka/snapshot/api_op_UpdateBrokerType.go.snap index 32d4e18035e..f9d1aa1acc1 100644 --- a/service/kafka/snapshot/api_op_UpdateBrokerType.go.snap +++ b/service/kafka/snapshot/api_op_UpdateBrokerType.go.snap @@ -14,7 +14,6 @@ UpdateBrokerType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_UpdateClusterConfiguration.go.snap b/service/kafka/snapshot/api_op_UpdateClusterConfiguration.go.snap index 41275dc59da..efe9ad8b206 100644 --- a/service/kafka/snapshot/api_op_UpdateClusterConfiguration.go.snap +++ b/service/kafka/snapshot/api_op_UpdateClusterConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateClusterConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_UpdateClusterKafkaVersion.go.snap b/service/kafka/snapshot/api_op_UpdateClusterKafkaVersion.go.snap index ba838a608f4..f8318df3ac5 100644 --- a/service/kafka/snapshot/api_op_UpdateClusterKafkaVersion.go.snap +++ b/service/kafka/snapshot/api_op_UpdateClusterKafkaVersion.go.snap @@ -14,7 +14,6 @@ UpdateClusterKafkaVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_UpdateConfiguration.go.snap b/service/kafka/snapshot/api_op_UpdateConfiguration.go.snap index 84bf26fe428..1bc07f64c64 100644 --- a/service/kafka/snapshot/api_op_UpdateConfiguration.go.snap +++ b/service/kafka/snapshot/api_op_UpdateConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_UpdateConnectivity.go.snap b/service/kafka/snapshot/api_op_UpdateConnectivity.go.snap index cada0b2341a..fcbb641970c 100644 --- a/service/kafka/snapshot/api_op_UpdateConnectivity.go.snap +++ b/service/kafka/snapshot/api_op_UpdateConnectivity.go.snap @@ -14,7 +14,6 @@ UpdateConnectivity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_UpdateMonitoring.go.snap b/service/kafka/snapshot/api_op_UpdateMonitoring.go.snap index d7f48d0ad76..53162bd3f18 100644 --- a/service/kafka/snapshot/api_op_UpdateMonitoring.go.snap +++ b/service/kafka/snapshot/api_op_UpdateMonitoring.go.snap @@ -14,7 +14,6 @@ UpdateMonitoring Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_UpdateReplicationInfo.go.snap b/service/kafka/snapshot/api_op_UpdateReplicationInfo.go.snap index 5ba97bc51ae..edd7841d8da 100644 --- a/service/kafka/snapshot/api_op_UpdateReplicationInfo.go.snap +++ b/service/kafka/snapshot/api_op_UpdateReplicationInfo.go.snap @@ -14,7 +14,6 @@ UpdateReplicationInfo Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_UpdateSecurity.go.snap b/service/kafka/snapshot/api_op_UpdateSecurity.go.snap index 829c7e8c2a8..9732267e0f9 100644 --- a/service/kafka/snapshot/api_op_UpdateSecurity.go.snap +++ b/service/kafka/snapshot/api_op_UpdateSecurity.go.snap @@ -14,7 +14,6 @@ UpdateSecurity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafka/snapshot/api_op_UpdateStorage.go.snap b/service/kafka/snapshot/api_op_UpdateStorage.go.snap index 964fea00040..0d711ecd488 100644 --- a/service/kafka/snapshot/api_op_UpdateStorage.go.snap +++ b/service/kafka/snapshot/api_op_UpdateStorage.go.snap @@ -14,7 +14,6 @@ UpdateStorage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafkaconnect/api_client.go b/service/kafkaconnect/api_client.go index c5732dce1aa..ce6eaf4e907 100644 --- a/service/kafkaconnect/api_client.go +++ b/service/kafkaconnect/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/kafkaconnect/api_op_CreateConnector.go b/service/kafkaconnect/api_op_CreateConnector.go index 3f11c24846e..ab00e15b049 100644 --- a/service/kafkaconnect/api_op_CreateConnector.go +++ b/service/kafkaconnect/api_op_CreateConnector.go @@ -181,9 +181,6 @@ func (c *Client) addOperationCreateConnectorMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConnectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafkaconnect/api_op_CreateCustomPlugin.go b/service/kafkaconnect/api_op_CreateCustomPlugin.go index 0976c89552c..36ef66d1396 100644 --- a/service/kafkaconnect/api_op_CreateCustomPlugin.go +++ b/service/kafkaconnect/api_op_CreateCustomPlugin.go @@ -137,9 +137,6 @@ func (c *Client) addOperationCreateCustomPluginMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCustomPluginValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafkaconnect/api_op_CreateWorkerConfiguration.go b/service/kafkaconnect/api_op_CreateWorkerConfiguration.go index c4477d89ded..e080c927092 100644 --- a/service/kafkaconnect/api_op_CreateWorkerConfiguration.go +++ b/service/kafkaconnect/api_op_CreateWorkerConfiguration.go @@ -136,9 +136,6 @@ func (c *Client) addOperationCreateWorkerConfigurationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateWorkerConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafkaconnect/api_op_DeleteConnector.go b/service/kafkaconnect/api_op_DeleteConnector.go index 09894f0ab80..0e86828cec7 100644 --- a/service/kafkaconnect/api_op_DeleteConnector.go +++ b/service/kafkaconnect/api_op_DeleteConnector.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteConnectorMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConnectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafkaconnect/api_op_DeleteCustomPlugin.go b/service/kafkaconnect/api_op_DeleteCustomPlugin.go index 8240653bbe4..91c9065b518 100644 --- a/service/kafkaconnect/api_op_DeleteCustomPlugin.go +++ b/service/kafkaconnect/api_op_DeleteCustomPlugin.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteCustomPluginMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCustomPluginValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafkaconnect/api_op_DeleteWorkerConfiguration.go b/service/kafkaconnect/api_op_DeleteWorkerConfiguration.go index 95b1b35a2d7..487ac9ebf95 100644 --- a/service/kafkaconnect/api_op_DeleteWorkerConfiguration.go +++ b/service/kafkaconnect/api_op_DeleteWorkerConfiguration.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteWorkerConfigurationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWorkerConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafkaconnect/api_op_DescribeConnector.go b/service/kafkaconnect/api_op_DescribeConnector.go index b8ca1a161ca..8436c03bdbd 100644 --- a/service/kafkaconnect/api_op_DescribeConnector.go +++ b/service/kafkaconnect/api_op_DescribeConnector.go @@ -165,9 +165,6 @@ func (c *Client) addOperationDescribeConnectorMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeConnectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafkaconnect/api_op_DescribeConnectorOperation.go b/service/kafkaconnect/api_op_DescribeConnectorOperation.go index 17c5f35573a..2466c43fb82 100644 --- a/service/kafkaconnect/api_op_DescribeConnectorOperation.go +++ b/service/kafkaconnect/api_op_DescribeConnectorOperation.go @@ -146,9 +146,6 @@ func (c *Client) addOperationDescribeConnectorOperationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeConnectorOperationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafkaconnect/api_op_DescribeCustomPlugin.go b/service/kafkaconnect/api_op_DescribeCustomPlugin.go index ec81ebd2ea6..5e194bf7601 100644 --- a/service/kafkaconnect/api_op_DescribeCustomPlugin.go +++ b/service/kafkaconnect/api_op_DescribeCustomPlugin.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeCustomPluginMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCustomPluginValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafkaconnect/api_op_DescribeWorkerConfiguration.go b/service/kafkaconnect/api_op_DescribeWorkerConfiguration.go index 878e92f08ec..7feb50e5dd3 100644 --- a/service/kafkaconnect/api_op_DescribeWorkerConfiguration.go +++ b/service/kafkaconnect/api_op_DescribeWorkerConfiguration.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeWorkerConfigurationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeWorkerConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafkaconnect/api_op_ListConnectorOperations.go b/service/kafkaconnect/api_op_ListConnectorOperations.go index 2a84a2b6bed..b1ae01532f3 100644 --- a/service/kafkaconnect/api_op_ListConnectorOperations.go +++ b/service/kafkaconnect/api_op_ListConnectorOperations.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListConnectorOperationsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListConnectorOperationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafkaconnect/api_op_ListConnectors.go b/service/kafkaconnect/api_op_ListConnectors.go index 97abbeb3f2d..1327a4fc330 100644 --- a/service/kafkaconnect/api_op_ListConnectors.go +++ b/service/kafkaconnect/api_op_ListConnectors.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListConnectorsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConnectors(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kafkaconnect/api_op_ListCustomPlugins.go b/service/kafkaconnect/api_op_ListCustomPlugins.go index a8886dd7f71..b6ae709326f 100644 --- a/service/kafkaconnect/api_op_ListCustomPlugins.go +++ b/service/kafkaconnect/api_op_ListCustomPlugins.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListCustomPluginsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCustomPlugins(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kafkaconnect/api_op_ListTagsForResource.go b/service/kafkaconnect/api_op_ListTagsForResource.go index 4b563f48526..0e981adb801 100644 --- a/service/kafkaconnect/api_op_ListTagsForResource.go +++ b/service/kafkaconnect/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafkaconnect/api_op_ListWorkerConfigurations.go b/service/kafkaconnect/api_op_ListWorkerConfigurations.go index 183020f31bf..a10944afee6 100644 --- a/service/kafkaconnect/api_op_ListWorkerConfigurations.go +++ b/service/kafkaconnect/api_op_ListWorkerConfigurations.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListWorkerConfigurationsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkerConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kafkaconnect/api_op_TagResource.go b/service/kafkaconnect/api_op_TagResource.go index f2d936506a2..b3bd96f9ef6 100644 --- a/service/kafkaconnect/api_op_TagResource.go +++ b/service/kafkaconnect/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafkaconnect/api_op_UntagResource.go b/service/kafkaconnect/api_op_UntagResource.go index 124cbe89219..8c2d0e993ad 100644 --- a/service/kafkaconnect/api_op_UntagResource.go +++ b/service/kafkaconnect/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafkaconnect/api_op_UpdateConnector.go b/service/kafkaconnect/api_op_UpdateConnector.go index 76b028127d9..cebc17051c0 100644 --- a/service/kafkaconnect/api_op_UpdateConnector.go +++ b/service/kafkaconnect/api_op_UpdateConnector.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUpdateConnectorMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConnectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/kafkaconnect/snapshot/api_op_CreateConnector.go.snap b/service/kafkaconnect/snapshot/api_op_CreateConnector.go.snap index 08389295e76..d71f8a54a3f 100644 --- a/service/kafkaconnect/snapshot/api_op_CreateConnector.go.snap +++ b/service/kafkaconnect/snapshot/api_op_CreateConnector.go.snap @@ -14,7 +14,6 @@ CreateConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafkaconnect/snapshot/api_op_CreateCustomPlugin.go.snap b/service/kafkaconnect/snapshot/api_op_CreateCustomPlugin.go.snap index b52cb835867..2e0138ac24d 100644 --- a/service/kafkaconnect/snapshot/api_op_CreateCustomPlugin.go.snap +++ b/service/kafkaconnect/snapshot/api_op_CreateCustomPlugin.go.snap @@ -14,7 +14,6 @@ CreateCustomPlugin Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafkaconnect/snapshot/api_op_CreateWorkerConfiguration.go.snap b/service/kafkaconnect/snapshot/api_op_CreateWorkerConfiguration.go.snap index 8878e2cd5de..cd3a25ccc2c 100644 --- a/service/kafkaconnect/snapshot/api_op_CreateWorkerConfiguration.go.snap +++ b/service/kafkaconnect/snapshot/api_op_CreateWorkerConfiguration.go.snap @@ -14,7 +14,6 @@ CreateWorkerConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafkaconnect/snapshot/api_op_DeleteConnector.go.snap b/service/kafkaconnect/snapshot/api_op_DeleteConnector.go.snap index 08ade4bd1ad..f50e7136af2 100644 --- a/service/kafkaconnect/snapshot/api_op_DeleteConnector.go.snap +++ b/service/kafkaconnect/snapshot/api_op_DeleteConnector.go.snap @@ -14,7 +14,6 @@ DeleteConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafkaconnect/snapshot/api_op_DeleteCustomPlugin.go.snap b/service/kafkaconnect/snapshot/api_op_DeleteCustomPlugin.go.snap index 78d7bdd2121..9c739518da8 100644 --- a/service/kafkaconnect/snapshot/api_op_DeleteCustomPlugin.go.snap +++ b/service/kafkaconnect/snapshot/api_op_DeleteCustomPlugin.go.snap @@ -14,7 +14,6 @@ DeleteCustomPlugin Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafkaconnect/snapshot/api_op_DeleteWorkerConfiguration.go.snap b/service/kafkaconnect/snapshot/api_op_DeleteWorkerConfiguration.go.snap index b41759f154d..af6ac9b0cdc 100644 --- a/service/kafkaconnect/snapshot/api_op_DeleteWorkerConfiguration.go.snap +++ b/service/kafkaconnect/snapshot/api_op_DeleteWorkerConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteWorkerConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafkaconnect/snapshot/api_op_DescribeConnector.go.snap b/service/kafkaconnect/snapshot/api_op_DescribeConnector.go.snap index 261224f6337..e88421ae9f4 100644 --- a/service/kafkaconnect/snapshot/api_op_DescribeConnector.go.snap +++ b/service/kafkaconnect/snapshot/api_op_DescribeConnector.go.snap @@ -14,7 +14,6 @@ DescribeConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafkaconnect/snapshot/api_op_DescribeConnectorOperation.go.snap b/service/kafkaconnect/snapshot/api_op_DescribeConnectorOperation.go.snap index 03b7151b907..7ba498e7237 100644 --- a/service/kafkaconnect/snapshot/api_op_DescribeConnectorOperation.go.snap +++ b/service/kafkaconnect/snapshot/api_op_DescribeConnectorOperation.go.snap @@ -14,7 +14,6 @@ DescribeConnectorOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafkaconnect/snapshot/api_op_DescribeCustomPlugin.go.snap b/service/kafkaconnect/snapshot/api_op_DescribeCustomPlugin.go.snap index b4c58467a5e..ef33c1d763a 100644 --- a/service/kafkaconnect/snapshot/api_op_DescribeCustomPlugin.go.snap +++ b/service/kafkaconnect/snapshot/api_op_DescribeCustomPlugin.go.snap @@ -14,7 +14,6 @@ DescribeCustomPlugin Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafkaconnect/snapshot/api_op_DescribeWorkerConfiguration.go.snap b/service/kafkaconnect/snapshot/api_op_DescribeWorkerConfiguration.go.snap index 44ff76f0a1e..1b6454a9412 100644 --- a/service/kafkaconnect/snapshot/api_op_DescribeWorkerConfiguration.go.snap +++ b/service/kafkaconnect/snapshot/api_op_DescribeWorkerConfiguration.go.snap @@ -14,7 +14,6 @@ DescribeWorkerConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafkaconnect/snapshot/api_op_ListConnectorOperations.go.snap b/service/kafkaconnect/snapshot/api_op_ListConnectorOperations.go.snap index a05fcfcc594..63d05d32631 100644 --- a/service/kafkaconnect/snapshot/api_op_ListConnectorOperations.go.snap +++ b/service/kafkaconnect/snapshot/api_op_ListConnectorOperations.go.snap @@ -14,7 +14,6 @@ ListConnectorOperations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafkaconnect/snapshot/api_op_ListConnectors.go.snap b/service/kafkaconnect/snapshot/api_op_ListConnectors.go.snap index 43a1f535ec6..713efc01581 100644 --- a/service/kafkaconnect/snapshot/api_op_ListConnectors.go.snap +++ b/service/kafkaconnect/snapshot/api_op_ListConnectors.go.snap @@ -13,7 +13,6 @@ ListConnectors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafkaconnect/snapshot/api_op_ListCustomPlugins.go.snap b/service/kafkaconnect/snapshot/api_op_ListCustomPlugins.go.snap index 7df7c2d9029..e0b481d5276 100644 --- a/service/kafkaconnect/snapshot/api_op_ListCustomPlugins.go.snap +++ b/service/kafkaconnect/snapshot/api_op_ListCustomPlugins.go.snap @@ -13,7 +13,6 @@ ListCustomPlugins Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafkaconnect/snapshot/api_op_ListTagsForResource.go.snap b/service/kafkaconnect/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/kafkaconnect/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/kafkaconnect/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafkaconnect/snapshot/api_op_ListWorkerConfigurations.go.snap b/service/kafkaconnect/snapshot/api_op_ListWorkerConfigurations.go.snap index 5b9635a3947..269dbe37f92 100644 --- a/service/kafkaconnect/snapshot/api_op_ListWorkerConfigurations.go.snap +++ b/service/kafkaconnect/snapshot/api_op_ListWorkerConfigurations.go.snap @@ -13,7 +13,6 @@ ListWorkerConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafkaconnect/snapshot/api_op_TagResource.go.snap b/service/kafkaconnect/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/kafkaconnect/snapshot/api_op_TagResource.go.snap +++ b/service/kafkaconnect/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafkaconnect/snapshot/api_op_UntagResource.go.snap b/service/kafkaconnect/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/kafkaconnect/snapshot/api_op_UntagResource.go.snap +++ b/service/kafkaconnect/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kafkaconnect/snapshot/api_op_UpdateConnector.go.snap b/service/kafkaconnect/snapshot/api_op_UpdateConnector.go.snap index dba2fe7aae0..8cf4d5503eb 100644 --- a/service/kafkaconnect/snapshot/api_op_UpdateConnector.go.snap +++ b/service/kafkaconnect/snapshot/api_op_UpdateConnector.go.snap @@ -14,7 +14,6 @@ UpdateConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/api_client.go b/service/kendra/api_client.go index 4629060892a..a6e23e6e881 100644 --- a/service/kendra/api_client.go +++ b/service/kendra/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/kendra/api_op_AssociateEntitiesToExperience.go b/service/kendra/api_op_AssociateEntitiesToExperience.go index 778fb3bfca3..ff16c1b8527 100644 --- a/service/kendra/api_op_AssociateEntitiesToExperience.go +++ b/service/kendra/api_op_AssociateEntitiesToExperience.go @@ -128,9 +128,6 @@ func (c *Client) addOperationAssociateEntitiesToExperienceMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateEntitiesToExperienceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_AssociatePersonasToEntities.go b/service/kendra/api_op_AssociatePersonasToEntities.go index 1e0bf6349d5..283afddde13 100644 --- a/service/kendra/api_op_AssociatePersonasToEntities.go +++ b/service/kendra/api_op_AssociatePersonasToEntities.go @@ -132,9 +132,6 @@ func (c *Client) addOperationAssociatePersonasToEntitiesMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociatePersonasToEntitiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_BatchDeleteDocument.go b/service/kendra/api_op_BatchDeleteDocument.go index 851f76e5719..0fef8a34490 100644 --- a/service/kendra/api_op_BatchDeleteDocument.go +++ b/service/kendra/api_op_BatchDeleteDocument.go @@ -132,9 +132,6 @@ func (c *Client) addOperationBatchDeleteDocumentMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDeleteDocumentValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_BatchDeleteFeaturedResultsSet.go b/service/kendra/api_op_BatchDeleteFeaturedResultsSet.go index 05d0c0c6d4e..38ac7a31f87 100644 --- a/service/kendra/api_op_BatchDeleteFeaturedResultsSet.go +++ b/service/kendra/api_op_BatchDeleteFeaturedResultsSet.go @@ -122,9 +122,6 @@ func (c *Client) addOperationBatchDeleteFeaturedResultsSetMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDeleteFeaturedResultsSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_BatchGetDocumentStatus.go b/service/kendra/api_op_BatchGetDocumentStatus.go index eb4516db942..f4582154b61 100644 --- a/service/kendra/api_op_BatchGetDocumentStatus.go +++ b/service/kendra/api_op_BatchGetDocumentStatus.go @@ -139,9 +139,6 @@ func (c *Client) addOperationBatchGetDocumentStatusMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetDocumentStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_BatchPutDocument.go b/service/kendra/api_op_BatchPutDocument.go index bd6ad56b469..b78eb25d45e 100644 --- a/service/kendra/api_op_BatchPutDocument.go +++ b/service/kendra/api_op_BatchPutDocument.go @@ -166,9 +166,6 @@ func (c *Client) addOperationBatchPutDocumentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchPutDocumentValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_ClearQuerySuggestions.go b/service/kendra/api_op_ClearQuerySuggestions.go index a18dbf1ea94..7d5c60dc058 100644 --- a/service/kendra/api_op_ClearQuerySuggestions.go +++ b/service/kendra/api_op_ClearQuerySuggestions.go @@ -116,9 +116,6 @@ func (c *Client) addOperationClearQuerySuggestionsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpClearQuerySuggestionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_CreateAccessControlConfiguration.go b/service/kendra/api_op_CreateAccessControlConfiguration.go index ddc5b2409e5..2728e774157 100644 --- a/service/kendra/api_op_CreateAccessControlConfiguration.go +++ b/service/kendra/api_op_CreateAccessControlConfiguration.go @@ -169,9 +169,6 @@ func (c *Client) addOperationCreateAccessControlConfigurationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAccessControlConfigurationMiddleware(stack, options); err != nil { return err } diff --git a/service/kendra/api_op_CreateDataSource.go b/service/kendra/api_op_CreateDataSource.go index 63309c52e40..205f4bb9334 100644 --- a/service/kendra/api_op_CreateDataSource.go +++ b/service/kendra/api_op_CreateDataSource.go @@ -207,9 +207,6 @@ func (c *Client) addOperationCreateDataSourceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDataSourceMiddleware(stack, options); err != nil { return err } diff --git a/service/kendra/api_op_CreateExperience.go b/service/kendra/api_op_CreateExperience.go index 2599f7f646e..f6e7eb1eb67 100644 --- a/service/kendra/api_op_CreateExperience.go +++ b/service/kendra/api_op_CreateExperience.go @@ -145,9 +145,6 @@ func (c *Client) addOperationCreateExperienceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateExperienceMiddleware(stack, options); err != nil { return err } diff --git a/service/kendra/api_op_CreateFaq.go b/service/kendra/api_op_CreateFaq.go index 423eaabe117..7c535367b71 100644 --- a/service/kendra/api_op_CreateFaq.go +++ b/service/kendra/api_op_CreateFaq.go @@ -170,9 +170,6 @@ func (c *Client) addOperationCreateFaqMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateFaqMiddleware(stack, options); err != nil { return err } diff --git a/service/kendra/api_op_CreateFeaturedResultsSet.go b/service/kendra/api_op_CreateFeaturedResultsSet.go index 60b5f244eb9..b4ad435a0bf 100644 --- a/service/kendra/api_op_CreateFeaturedResultsSet.go +++ b/service/kendra/api_op_CreateFeaturedResultsSet.go @@ -163,9 +163,6 @@ func (c *Client) addOperationCreateFeaturedResultsSetMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFeaturedResultsSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_CreateIndex.go b/service/kendra/api_op_CreateIndex.go index 6d30c64f630..959898524b1 100644 --- a/service/kendra/api_op_CreateIndex.go +++ b/service/kendra/api_op_CreateIndex.go @@ -202,9 +202,6 @@ func (c *Client) addOperationCreateIndexMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateIndexMiddleware(stack, options); err != nil { return err } diff --git a/service/kendra/api_op_CreateQuerySuggestionsBlockList.go b/service/kendra/api_op_CreateQuerySuggestionsBlockList.go index 54c846aacca..3f874c567c6 100644 --- a/service/kendra/api_op_CreateQuerySuggestionsBlockList.go +++ b/service/kendra/api_op_CreateQuerySuggestionsBlockList.go @@ -172,9 +172,6 @@ func (c *Client) addOperationCreateQuerySuggestionsBlockListMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateQuerySuggestionsBlockListMiddleware(stack, options); err != nil { return err } diff --git a/service/kendra/api_op_CreateThesaurus.go b/service/kendra/api_op_CreateThesaurus.go index 2b010f2f312..a973f76cffa 100644 --- a/service/kendra/api_op_CreateThesaurus.go +++ b/service/kendra/api_op_CreateThesaurus.go @@ -149,9 +149,6 @@ func (c *Client) addOperationCreateThesaurusMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateThesaurusMiddleware(stack, options); err != nil { return err } diff --git a/service/kendra/api_op_DeleteAccessControlConfiguration.go b/service/kendra/api_op_DeleteAccessControlConfiguration.go index 93126cd6dad..8e6af071627 100644 --- a/service/kendra/api_op_DeleteAccessControlConfiguration.go +++ b/service/kendra/api_op_DeleteAccessControlConfiguration.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteAccessControlConfigurationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAccessControlConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DeleteDataSource.go b/service/kendra/api_op_DeleteDataSource.go index 60ac5cc3dce..9db36360df5 100644 --- a/service/kendra/api_op_DeleteDataSource.go +++ b/service/kendra/api_op_DeleteDataSource.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteDataSourceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DeleteExperience.go b/service/kendra/api_op_DeleteExperience.go index fda1e64f868..94cfa85cac0 100644 --- a/service/kendra/api_op_DeleteExperience.go +++ b/service/kendra/api_op_DeleteExperience.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteExperienceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteExperienceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DeleteFaq.go b/service/kendra/api_op_DeleteFaq.go index edfdf2db9a3..0349ec5760f 100644 --- a/service/kendra/api_op_DeleteFaq.go +++ b/service/kendra/api_op_DeleteFaq.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteFaqMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFaqValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DeleteIndex.go b/service/kendra/api_op_DeleteIndex.go index 7b351265ffa..d70dd8d29db 100644 --- a/service/kendra/api_op_DeleteIndex.go +++ b/service/kendra/api_op_DeleteIndex.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteIndexMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIndexValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DeletePrincipalMapping.go b/service/kendra/api_op_DeletePrincipalMapping.go index d495f13c59f..91fff5f857f 100644 --- a/service/kendra/api_op_DeletePrincipalMapping.go +++ b/service/kendra/api_op_DeletePrincipalMapping.go @@ -155,9 +155,6 @@ func (c *Client) addOperationDeletePrincipalMappingMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePrincipalMappingValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DeleteQuerySuggestionsBlockList.go b/service/kendra/api_op_DeleteQuerySuggestionsBlockList.go index 644b93f6f71..e6eff1d0e33 100644 --- a/service/kendra/api_op_DeleteQuerySuggestionsBlockList.go +++ b/service/kendra/api_op_DeleteQuerySuggestionsBlockList.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteQuerySuggestionsBlockListMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteQuerySuggestionsBlockListValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DeleteThesaurus.go b/service/kendra/api_op_DeleteThesaurus.go index f4af2515123..0352dc8b3e7 100644 --- a/service/kendra/api_op_DeleteThesaurus.go +++ b/service/kendra/api_op_DeleteThesaurus.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteThesaurusMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteThesaurusValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DescribeAccessControlConfiguration.go b/service/kendra/api_op_DescribeAccessControlConfiguration.go index d7d8cc77ebe..aa35a8d1482 100644 --- a/service/kendra/api_op_DescribeAccessControlConfiguration.go +++ b/service/kendra/api_op_DescribeAccessControlConfiguration.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeAccessControlConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAccessControlConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DescribeDataSource.go b/service/kendra/api_op_DescribeDataSource.go index 03fbbc32fbe..5728dbc4a91 100644 --- a/service/kendra/api_op_DescribeDataSource.go +++ b/service/kendra/api_op_DescribeDataSource.go @@ -180,9 +180,6 @@ func (c *Client) addOperationDescribeDataSourceMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DescribeExperience.go b/service/kendra/api_op_DescribeExperience.go index b95373a1ac4..c8c431b64ac 100644 --- a/service/kendra/api_op_DescribeExperience.go +++ b/service/kendra/api_op_DescribeExperience.go @@ -160,9 +160,6 @@ func (c *Client) addOperationDescribeExperienceMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeExperienceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DescribeFaq.go b/service/kendra/api_op_DescribeFaq.go index 649385c3c28..e4ac3008bd3 100644 --- a/service/kendra/api_op_DescribeFaq.go +++ b/service/kendra/api_op_DescribeFaq.go @@ -157,9 +157,6 @@ func (c *Client) addOperationDescribeFaqMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFaqValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DescribeFeaturedResultsSet.go b/service/kendra/api_op_DescribeFeaturedResultsSet.go index 52180d4a062..3423dc77e09 100644 --- a/service/kendra/api_op_DescribeFeaturedResultsSet.go +++ b/service/kendra/api_op_DescribeFeaturedResultsSet.go @@ -162,9 +162,6 @@ func (c *Client) addOperationDescribeFeaturedResultsSetMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFeaturedResultsSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DescribeIndex.go b/service/kendra/api_op_DescribeIndex.go index 1deef9f99a2..503204e39f5 100644 --- a/service/kendra/api_op_DescribeIndex.go +++ b/service/kendra/api_op_DescribeIndex.go @@ -175,9 +175,6 @@ func (c *Client) addOperationDescribeIndexMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeIndexValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DescribePrincipalMapping.go b/service/kendra/api_op_DescribePrincipalMapping.go index 4240000abb5..71fb618e9fb 100644 --- a/service/kendra/api_op_DescribePrincipalMapping.go +++ b/service/kendra/api_op_DescribePrincipalMapping.go @@ -155,9 +155,6 @@ func (c *Client) addOperationDescribePrincipalMappingMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePrincipalMappingValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DescribeQuerySuggestionsBlockList.go b/service/kendra/api_op_DescribeQuerySuggestionsBlockList.go index 6e46fd89290..1cdf4b47198 100644 --- a/service/kendra/api_op_DescribeQuerySuggestionsBlockList.go +++ b/service/kendra/api_op_DescribeQuerySuggestionsBlockList.go @@ -169,9 +169,6 @@ func (c *Client) addOperationDescribeQuerySuggestionsBlockListMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeQuerySuggestionsBlockListValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DescribeQuerySuggestionsConfig.go b/service/kendra/api_op_DescribeQuerySuggestionsConfig.go index 1178a5e2c5b..b4774728597 100644 --- a/service/kendra/api_op_DescribeQuerySuggestionsConfig.go +++ b/service/kendra/api_op_DescribeQuerySuggestionsConfig.go @@ -177,9 +177,6 @@ func (c *Client) addOperationDescribeQuerySuggestionsConfigMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeQuerySuggestionsConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DescribeThesaurus.go b/service/kendra/api_op_DescribeThesaurus.go index d1995a64d05..f7ae9b687c9 100644 --- a/service/kendra/api_op_DescribeThesaurus.go +++ b/service/kendra/api_op_DescribeThesaurus.go @@ -162,9 +162,6 @@ func (c *Client) addOperationDescribeThesaurusMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeThesaurusValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DisassociateEntitiesFromExperience.go b/service/kendra/api_op_DisassociateEntitiesFromExperience.go index 3ed670099ae..fc2a22b8708 100644 --- a/service/kendra/api_op_DisassociateEntitiesFromExperience.go +++ b/service/kendra/api_op_DisassociateEntitiesFromExperience.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDisassociateEntitiesFromExperienceMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateEntitiesFromExperienceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_DisassociatePersonasFromEntities.go b/service/kendra/api_op_DisassociatePersonasFromEntities.go index 31b4606bd18..7f90bddbacd 100644 --- a/service/kendra/api_op_DisassociatePersonasFromEntities.go +++ b/service/kendra/api_op_DisassociatePersonasFromEntities.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDisassociatePersonasFromEntitiesMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociatePersonasFromEntitiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_GetQuerySuggestions.go b/service/kendra/api_op_GetQuerySuggestions.go index da8e393c7b2..ef5083d8343 100644 --- a/service/kendra/api_op_GetQuerySuggestions.go +++ b/service/kendra/api_op_GetQuerySuggestions.go @@ -148,9 +148,6 @@ func (c *Client) addOperationGetQuerySuggestionsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetQuerySuggestionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_GetSnapshots.go b/service/kendra/api_op_GetSnapshots.go index e9edfecd7db..8e77c0e8d1a 100644 --- a/service/kendra/api_op_GetSnapshots.go +++ b/service/kendra/api_op_GetSnapshots.go @@ -167,9 +167,6 @@ func (c *Client) addOperationGetSnapshotsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSnapshotsValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_ListAccessControlConfigurations.go b/service/kendra/api_op_ListAccessControlConfigurations.go index 70f79328ebf..70ca5671bd3 100644 --- a/service/kendra/api_op_ListAccessControlConfigurations.go +++ b/service/kendra/api_op_ListAccessControlConfigurations.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListAccessControlConfigurationsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAccessControlConfigurationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_ListDataSourceSyncJobs.go b/service/kendra/api_op_ListDataSourceSyncJobs.go index 7f0d3595896..5a5d226bd62 100644 --- a/service/kendra/api_op_ListDataSourceSyncJobs.go +++ b/service/kendra/api_op_ListDataSourceSyncJobs.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListDataSourceSyncJobsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDataSourceSyncJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_ListDataSources.go b/service/kendra/api_op_ListDataSources.go index 0bc120ebce7..9d5a03e67d2 100644 --- a/service/kendra/api_op_ListDataSources.go +++ b/service/kendra/api_op_ListDataSources.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListDataSourcesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDataSourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_ListEntityPersonas.go b/service/kendra/api_op_ListEntityPersonas.go index f121cdc16e3..6f914d7ef3f 100644 --- a/service/kendra/api_op_ListEntityPersonas.go +++ b/service/kendra/api_op_ListEntityPersonas.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListEntityPersonasMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEntityPersonasValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_ListExperienceEntities.go b/service/kendra/api_op_ListExperienceEntities.go index 6a51a1b125f..f9c9556ec8a 100644 --- a/service/kendra/api_op_ListExperienceEntities.go +++ b/service/kendra/api_op_ListExperienceEntities.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListExperienceEntitiesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListExperienceEntitiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_ListExperiences.go b/service/kendra/api_op_ListExperiences.go index 16ca431c0ab..3adaa0cb144 100644 --- a/service/kendra/api_op_ListExperiences.go +++ b/service/kendra/api_op_ListExperiences.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListExperiencesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListExperiencesValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_ListFaqs.go b/service/kendra/api_op_ListFaqs.go index 929b87510b4..b3d8d7c51e8 100644 --- a/service/kendra/api_op_ListFaqs.go +++ b/service/kendra/api_op_ListFaqs.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListFaqsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFaqsValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_ListFeaturedResultsSets.go b/service/kendra/api_op_ListFeaturedResultsSets.go index 6f486ef1a47..55471175fc0 100644 --- a/service/kendra/api_op_ListFeaturedResultsSets.go +++ b/service/kendra/api_op_ListFeaturedResultsSets.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListFeaturedResultsSetsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFeaturedResultsSetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_ListGroupsOlderThanOrderingId.go b/service/kendra/api_op_ListGroupsOlderThanOrderingId.go index 9d90b712903..d86ea0f2c69 100644 --- a/service/kendra/api_op_ListGroupsOlderThanOrderingId.go +++ b/service/kendra/api_op_ListGroupsOlderThanOrderingId.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListGroupsOlderThanOrderingIdMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListGroupsOlderThanOrderingIdValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_ListIndices.go b/service/kendra/api_op_ListIndices.go index bb711450b7f..46b0b84849e 100644 --- a/service/kendra/api_op_ListIndices.go +++ b/service/kendra/api_op_ListIndices.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListIndicesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIndices(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kendra/api_op_ListQuerySuggestionsBlockLists.go b/service/kendra/api_op_ListQuerySuggestionsBlockLists.go index 560856ea38c..4d270207575 100644 --- a/service/kendra/api_op_ListQuerySuggestionsBlockLists.go +++ b/service/kendra/api_op_ListQuerySuggestionsBlockLists.go @@ -145,9 +145,6 @@ func (c *Client) addOperationListQuerySuggestionsBlockListsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListQuerySuggestionsBlockListsValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_ListTagsForResource.go b/service/kendra/api_op_ListTagsForResource.go index 38444738695..449e9c33a79 100644 --- a/service/kendra/api_op_ListTagsForResource.go +++ b/service/kendra/api_op_ListTagsForResource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_ListThesauri.go b/service/kendra/api_op_ListThesauri.go index 1d2cdd45068..5436fa29277 100644 --- a/service/kendra/api_op_ListThesauri.go +++ b/service/kendra/api_op_ListThesauri.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListThesauriMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListThesauriValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_PutPrincipalMapping.go b/service/kendra/api_op_PutPrincipalMapping.go index ed54a137046..29ee631cef1 100644 --- a/service/kendra/api_op_PutPrincipalMapping.go +++ b/service/kendra/api_op_PutPrincipalMapping.go @@ -178,9 +178,6 @@ func (c *Client) addOperationPutPrincipalMappingMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutPrincipalMappingValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_Query.go b/service/kendra/api_op_Query.go index 2b9ee228935..555c5af73e2 100644 --- a/service/kendra/api_op_Query.go +++ b/service/kendra/api_op_Query.go @@ -274,9 +274,6 @@ func (c *Client) addOperationQueryMiddlewares(stack *middleware.Stack, options O if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpQueryValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_Retrieve.go b/service/kendra/api_op_Retrieve.go index 8206b896227..dc31e729997 100644 --- a/service/kendra/api_op_Retrieve.go +++ b/service/kendra/api_op_Retrieve.go @@ -212,9 +212,6 @@ func (c *Client) addOperationRetrieveMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRetrieveValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_StartDataSourceSyncJob.go b/service/kendra/api_op_StartDataSourceSyncJob.go index 4ff8b7bd489..4db1cbcc038 100644 --- a/service/kendra/api_op_StartDataSourceSyncJob.go +++ b/service/kendra/api_op_StartDataSourceSyncJob.go @@ -122,9 +122,6 @@ func (c *Client) addOperationStartDataSourceSyncJobMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartDataSourceSyncJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_StopDataSourceSyncJob.go b/service/kendra/api_op_StopDataSourceSyncJob.go index d033d479adc..a665eb6da48 100644 --- a/service/kendra/api_op_StopDataSourceSyncJob.go +++ b/service/kendra/api_op_StopDataSourceSyncJob.go @@ -114,9 +114,6 @@ func (c *Client) addOperationStopDataSourceSyncJobMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopDataSourceSyncJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_SubmitFeedback.go b/service/kendra/api_op_SubmitFeedback.go index 7b047a1b7b8..b01655272e7 100644 --- a/service/kendra/api_op_SubmitFeedback.go +++ b/service/kendra/api_op_SubmitFeedback.go @@ -126,9 +126,6 @@ func (c *Client) addOperationSubmitFeedbackMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSubmitFeedbackValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_TagResource.go b/service/kendra/api_op_TagResource.go index 12f5a9a96c3..92ab4761407 100644 --- a/service/kendra/api_op_TagResource.go +++ b/service/kendra/api_op_TagResource.go @@ -122,9 +122,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_UntagResource.go b/service/kendra/api_op_UntagResource.go index 33e7d7ac8db..c9afd55d44f 100644 --- a/service/kendra/api_op_UntagResource.go +++ b/service/kendra/api_op_UntagResource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_UpdateAccessControlConfiguration.go b/service/kendra/api_op_UpdateAccessControlConfiguration.go index 30ccd08d863..b84653e4da2 100644 --- a/service/kendra/api_op_UpdateAccessControlConfiguration.go +++ b/service/kendra/api_op_UpdateAccessControlConfiguration.go @@ -158,9 +158,6 @@ func (c *Client) addOperationUpdateAccessControlConfigurationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAccessControlConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_UpdateDataSource.go b/service/kendra/api_op_UpdateDataSource.go index a9fb58726b4..94f5d4a40ba 100644 --- a/service/kendra/api_op_UpdateDataSource.go +++ b/service/kendra/api_op_UpdateDataSource.go @@ -155,9 +155,6 @@ func (c *Client) addOperationUpdateDataSourceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_UpdateExperience.go b/service/kendra/api_op_UpdateExperience.go index af2719ad8b9..c75916d63d0 100644 --- a/service/kendra/api_op_UpdateExperience.go +++ b/service/kendra/api_op_UpdateExperience.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdateExperienceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateExperienceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_UpdateFeaturedResultsSet.go b/service/kendra/api_op_UpdateFeaturedResultsSet.go index 5496a45c793..39439c09066 100644 --- a/service/kendra/api_op_UpdateFeaturedResultsSet.go +++ b/service/kendra/api_op_UpdateFeaturedResultsSet.go @@ -148,9 +148,6 @@ func (c *Client) addOperationUpdateFeaturedResultsSetMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFeaturedResultsSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_UpdateIndex.go b/service/kendra/api_op_UpdateIndex.go index a5724bfb69e..a46dbe251a4 100644 --- a/service/kendra/api_op_UpdateIndex.go +++ b/service/kendra/api_op_UpdateIndex.go @@ -157,9 +157,6 @@ func (c *Client) addOperationUpdateIndexMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateIndexValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_UpdateQuerySuggestionsBlockList.go b/service/kendra/api_op_UpdateQuerySuggestionsBlockList.go index 2b1453493e7..7f6eb9369b4 100644 --- a/service/kendra/api_op_UpdateQuerySuggestionsBlockList.go +++ b/service/kendra/api_op_UpdateQuerySuggestionsBlockList.go @@ -148,9 +148,6 @@ func (c *Client) addOperationUpdateQuerySuggestionsBlockListMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateQuerySuggestionsBlockListValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_UpdateQuerySuggestionsConfig.go b/service/kendra/api_op_UpdateQuerySuggestionsConfig.go index 9bf525153c9..994053c8b2d 100644 --- a/service/kendra/api_op_UpdateQuerySuggestionsConfig.go +++ b/service/kendra/api_op_UpdateQuerySuggestionsConfig.go @@ -179,9 +179,6 @@ func (c *Client) addOperationUpdateQuerySuggestionsConfigMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateQuerySuggestionsConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/api_op_UpdateThesaurus.go b/service/kendra/api_op_UpdateThesaurus.go index 83e032e621a..4b0769619e9 100644 --- a/service/kendra/api_op_UpdateThesaurus.go +++ b/service/kendra/api_op_UpdateThesaurus.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateThesaurusMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateThesaurusValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendra/snapshot/api_op_AssociateEntitiesToExperience.go.snap b/service/kendra/snapshot/api_op_AssociateEntitiesToExperience.go.snap index 6723d17a93a..2efbec6718f 100644 --- a/service/kendra/snapshot/api_op_AssociateEntitiesToExperience.go.snap +++ b/service/kendra/snapshot/api_op_AssociateEntitiesToExperience.go.snap @@ -14,7 +14,6 @@ AssociateEntitiesToExperience Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_AssociatePersonasToEntities.go.snap b/service/kendra/snapshot/api_op_AssociatePersonasToEntities.go.snap index 3b21d7c5db1..fa33e815721 100644 --- a/service/kendra/snapshot/api_op_AssociatePersonasToEntities.go.snap +++ b/service/kendra/snapshot/api_op_AssociatePersonasToEntities.go.snap @@ -14,7 +14,6 @@ AssociatePersonasToEntities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_BatchDeleteDocument.go.snap b/service/kendra/snapshot/api_op_BatchDeleteDocument.go.snap index 11d5385ac51..d09b51d8305 100644 --- a/service/kendra/snapshot/api_op_BatchDeleteDocument.go.snap +++ b/service/kendra/snapshot/api_op_BatchDeleteDocument.go.snap @@ -14,7 +14,6 @@ BatchDeleteDocument Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_BatchDeleteFeaturedResultsSet.go.snap b/service/kendra/snapshot/api_op_BatchDeleteFeaturedResultsSet.go.snap index 89978acc596..3ec48e25075 100644 --- a/service/kendra/snapshot/api_op_BatchDeleteFeaturedResultsSet.go.snap +++ b/service/kendra/snapshot/api_op_BatchDeleteFeaturedResultsSet.go.snap @@ -14,7 +14,6 @@ BatchDeleteFeaturedResultsSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_BatchGetDocumentStatus.go.snap b/service/kendra/snapshot/api_op_BatchGetDocumentStatus.go.snap index 114f339f709..a083dd905b3 100644 --- a/service/kendra/snapshot/api_op_BatchGetDocumentStatus.go.snap +++ b/service/kendra/snapshot/api_op_BatchGetDocumentStatus.go.snap @@ -14,7 +14,6 @@ BatchGetDocumentStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_BatchPutDocument.go.snap b/service/kendra/snapshot/api_op_BatchPutDocument.go.snap index d523118d78d..dc878bb8e8d 100644 --- a/service/kendra/snapshot/api_op_BatchPutDocument.go.snap +++ b/service/kendra/snapshot/api_op_BatchPutDocument.go.snap @@ -14,7 +14,6 @@ BatchPutDocument Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_ClearQuerySuggestions.go.snap b/service/kendra/snapshot/api_op_ClearQuerySuggestions.go.snap index 540c607f104..6d0de21176e 100644 --- a/service/kendra/snapshot/api_op_ClearQuerySuggestions.go.snap +++ b/service/kendra/snapshot/api_op_ClearQuerySuggestions.go.snap @@ -14,7 +14,6 @@ ClearQuerySuggestions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_CreateAccessControlConfiguration.go.snap b/service/kendra/snapshot/api_op_CreateAccessControlConfiguration.go.snap index 36285f095a1..5ee8db81ef7 100644 --- a/service/kendra/snapshot/api_op_CreateAccessControlConfiguration.go.snap +++ b/service/kendra/snapshot/api_op_CreateAccessControlConfiguration.go.snap @@ -15,7 +15,6 @@ CreateAccessControlConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_CreateDataSource.go.snap b/service/kendra/snapshot/api_op_CreateDataSource.go.snap index 8e050aefe11..69b70d6c00e 100644 --- a/service/kendra/snapshot/api_op_CreateDataSource.go.snap +++ b/service/kendra/snapshot/api_op_CreateDataSource.go.snap @@ -15,7 +15,6 @@ CreateDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_CreateExperience.go.snap b/service/kendra/snapshot/api_op_CreateExperience.go.snap index 9a0448afc12..5ddf1fc5cd3 100644 --- a/service/kendra/snapshot/api_op_CreateExperience.go.snap +++ b/service/kendra/snapshot/api_op_CreateExperience.go.snap @@ -15,7 +15,6 @@ CreateExperience Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_CreateFaq.go.snap b/service/kendra/snapshot/api_op_CreateFaq.go.snap index 785e5389527..9d86b8a9af3 100644 --- a/service/kendra/snapshot/api_op_CreateFaq.go.snap +++ b/service/kendra/snapshot/api_op_CreateFaq.go.snap @@ -15,7 +15,6 @@ CreateFaq Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_CreateFeaturedResultsSet.go.snap b/service/kendra/snapshot/api_op_CreateFeaturedResultsSet.go.snap index 13dc7ad6212..a8855b1fcea 100644 --- a/service/kendra/snapshot/api_op_CreateFeaturedResultsSet.go.snap +++ b/service/kendra/snapshot/api_op_CreateFeaturedResultsSet.go.snap @@ -14,7 +14,6 @@ CreateFeaturedResultsSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_CreateIndex.go.snap b/service/kendra/snapshot/api_op_CreateIndex.go.snap index 9211c9d3496..cceeef18834 100644 --- a/service/kendra/snapshot/api_op_CreateIndex.go.snap +++ b/service/kendra/snapshot/api_op_CreateIndex.go.snap @@ -15,7 +15,6 @@ CreateIndex Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_CreateQuerySuggestionsBlockList.go.snap b/service/kendra/snapshot/api_op_CreateQuerySuggestionsBlockList.go.snap index b1fb2a16050..7260bacd6c6 100644 --- a/service/kendra/snapshot/api_op_CreateQuerySuggestionsBlockList.go.snap +++ b/service/kendra/snapshot/api_op_CreateQuerySuggestionsBlockList.go.snap @@ -15,7 +15,6 @@ CreateQuerySuggestionsBlockList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_CreateThesaurus.go.snap b/service/kendra/snapshot/api_op_CreateThesaurus.go.snap index bc21dea32f3..dfd53b40021 100644 --- a/service/kendra/snapshot/api_op_CreateThesaurus.go.snap +++ b/service/kendra/snapshot/api_op_CreateThesaurus.go.snap @@ -15,7 +15,6 @@ CreateThesaurus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_DeleteAccessControlConfiguration.go.snap b/service/kendra/snapshot/api_op_DeleteAccessControlConfiguration.go.snap index cf7cf6a83c4..e6ad1ac8bee 100644 --- a/service/kendra/snapshot/api_op_DeleteAccessControlConfiguration.go.snap +++ b/service/kendra/snapshot/api_op_DeleteAccessControlConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteAccessControlConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_DeleteDataSource.go.snap b/service/kendra/snapshot/api_op_DeleteDataSource.go.snap index 4c10faa3f53..e6bf94d552e 100644 --- a/service/kendra/snapshot/api_op_DeleteDataSource.go.snap +++ b/service/kendra/snapshot/api_op_DeleteDataSource.go.snap @@ -14,7 +14,6 @@ DeleteDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_DeleteExperience.go.snap b/service/kendra/snapshot/api_op_DeleteExperience.go.snap index 5a9d637e57c..eea5bfa78cf 100644 --- a/service/kendra/snapshot/api_op_DeleteExperience.go.snap +++ b/service/kendra/snapshot/api_op_DeleteExperience.go.snap @@ -14,7 +14,6 @@ DeleteExperience Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_DeleteFaq.go.snap b/service/kendra/snapshot/api_op_DeleteFaq.go.snap index 03e2595cba9..a03000a8bab 100644 --- a/service/kendra/snapshot/api_op_DeleteFaq.go.snap +++ b/service/kendra/snapshot/api_op_DeleteFaq.go.snap @@ -14,7 +14,6 @@ DeleteFaq Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_DeleteIndex.go.snap b/service/kendra/snapshot/api_op_DeleteIndex.go.snap index 3c6c0587bdc..33b14cc57cf 100644 --- a/service/kendra/snapshot/api_op_DeleteIndex.go.snap +++ b/service/kendra/snapshot/api_op_DeleteIndex.go.snap @@ -14,7 +14,6 @@ DeleteIndex Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_DeletePrincipalMapping.go.snap b/service/kendra/snapshot/api_op_DeletePrincipalMapping.go.snap index 2044d6a28e2..d26ca1d1b4d 100644 --- a/service/kendra/snapshot/api_op_DeletePrincipalMapping.go.snap +++ b/service/kendra/snapshot/api_op_DeletePrincipalMapping.go.snap @@ -14,7 +14,6 @@ DeletePrincipalMapping Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_DeleteQuerySuggestionsBlockList.go.snap b/service/kendra/snapshot/api_op_DeleteQuerySuggestionsBlockList.go.snap index a13e7cde9d6..842b7cdae50 100644 --- a/service/kendra/snapshot/api_op_DeleteQuerySuggestionsBlockList.go.snap +++ b/service/kendra/snapshot/api_op_DeleteQuerySuggestionsBlockList.go.snap @@ -14,7 +14,6 @@ DeleteQuerySuggestionsBlockList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_DeleteThesaurus.go.snap b/service/kendra/snapshot/api_op_DeleteThesaurus.go.snap index 21ab1fba2f8..35635a333bd 100644 --- a/service/kendra/snapshot/api_op_DeleteThesaurus.go.snap +++ b/service/kendra/snapshot/api_op_DeleteThesaurus.go.snap @@ -14,7 +14,6 @@ DeleteThesaurus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_DescribeAccessControlConfiguration.go.snap b/service/kendra/snapshot/api_op_DescribeAccessControlConfiguration.go.snap index 0f03ea72b78..02cad00f8d6 100644 --- a/service/kendra/snapshot/api_op_DescribeAccessControlConfiguration.go.snap +++ b/service/kendra/snapshot/api_op_DescribeAccessControlConfiguration.go.snap @@ -14,7 +14,6 @@ DescribeAccessControlConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_DescribeDataSource.go.snap b/service/kendra/snapshot/api_op_DescribeDataSource.go.snap index d04253929e1..296b43e5a39 100644 --- a/service/kendra/snapshot/api_op_DescribeDataSource.go.snap +++ b/service/kendra/snapshot/api_op_DescribeDataSource.go.snap @@ -14,7 +14,6 @@ DescribeDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_DescribeExperience.go.snap b/service/kendra/snapshot/api_op_DescribeExperience.go.snap index daa80a660e5..ed5e474ff8a 100644 --- a/service/kendra/snapshot/api_op_DescribeExperience.go.snap +++ b/service/kendra/snapshot/api_op_DescribeExperience.go.snap @@ -14,7 +14,6 @@ DescribeExperience Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_DescribeFaq.go.snap b/service/kendra/snapshot/api_op_DescribeFaq.go.snap index 75cbe9def6c..61af99f83b4 100644 --- a/service/kendra/snapshot/api_op_DescribeFaq.go.snap +++ b/service/kendra/snapshot/api_op_DescribeFaq.go.snap @@ -14,7 +14,6 @@ DescribeFaq Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_DescribeFeaturedResultsSet.go.snap b/service/kendra/snapshot/api_op_DescribeFeaturedResultsSet.go.snap index de098d6e23e..656eab65200 100644 --- a/service/kendra/snapshot/api_op_DescribeFeaturedResultsSet.go.snap +++ b/service/kendra/snapshot/api_op_DescribeFeaturedResultsSet.go.snap @@ -14,7 +14,6 @@ DescribeFeaturedResultsSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_DescribeIndex.go.snap b/service/kendra/snapshot/api_op_DescribeIndex.go.snap index 9772428f1fc..5a759a4deeb 100644 --- a/service/kendra/snapshot/api_op_DescribeIndex.go.snap +++ b/service/kendra/snapshot/api_op_DescribeIndex.go.snap @@ -14,7 +14,6 @@ DescribeIndex Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_DescribePrincipalMapping.go.snap b/service/kendra/snapshot/api_op_DescribePrincipalMapping.go.snap index b38aeed76a7..f28ae6c0717 100644 --- a/service/kendra/snapshot/api_op_DescribePrincipalMapping.go.snap +++ b/service/kendra/snapshot/api_op_DescribePrincipalMapping.go.snap @@ -14,7 +14,6 @@ DescribePrincipalMapping Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_DescribeQuerySuggestionsBlockList.go.snap b/service/kendra/snapshot/api_op_DescribeQuerySuggestionsBlockList.go.snap index 96756d80326..eb31928f224 100644 --- a/service/kendra/snapshot/api_op_DescribeQuerySuggestionsBlockList.go.snap +++ b/service/kendra/snapshot/api_op_DescribeQuerySuggestionsBlockList.go.snap @@ -14,7 +14,6 @@ DescribeQuerySuggestionsBlockList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_DescribeQuerySuggestionsConfig.go.snap b/service/kendra/snapshot/api_op_DescribeQuerySuggestionsConfig.go.snap index 44773ad4f14..83ed12a2c6e 100644 --- a/service/kendra/snapshot/api_op_DescribeQuerySuggestionsConfig.go.snap +++ b/service/kendra/snapshot/api_op_DescribeQuerySuggestionsConfig.go.snap @@ -14,7 +14,6 @@ DescribeQuerySuggestionsConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_DescribeThesaurus.go.snap b/service/kendra/snapshot/api_op_DescribeThesaurus.go.snap index 7511e3f0986..01f00dd2d08 100644 --- a/service/kendra/snapshot/api_op_DescribeThesaurus.go.snap +++ b/service/kendra/snapshot/api_op_DescribeThesaurus.go.snap @@ -14,7 +14,6 @@ DescribeThesaurus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_DisassociateEntitiesFromExperience.go.snap b/service/kendra/snapshot/api_op_DisassociateEntitiesFromExperience.go.snap index 5eab71ab5aa..deacd09d8a1 100644 --- a/service/kendra/snapshot/api_op_DisassociateEntitiesFromExperience.go.snap +++ b/service/kendra/snapshot/api_op_DisassociateEntitiesFromExperience.go.snap @@ -14,7 +14,6 @@ DisassociateEntitiesFromExperience Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_DisassociatePersonasFromEntities.go.snap b/service/kendra/snapshot/api_op_DisassociatePersonasFromEntities.go.snap index 5020ea3c9c9..6511c73eee2 100644 --- a/service/kendra/snapshot/api_op_DisassociatePersonasFromEntities.go.snap +++ b/service/kendra/snapshot/api_op_DisassociatePersonasFromEntities.go.snap @@ -14,7 +14,6 @@ DisassociatePersonasFromEntities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_GetQuerySuggestions.go.snap b/service/kendra/snapshot/api_op_GetQuerySuggestions.go.snap index aa90673ed11..af1fbed10b3 100644 --- a/service/kendra/snapshot/api_op_GetQuerySuggestions.go.snap +++ b/service/kendra/snapshot/api_op_GetQuerySuggestions.go.snap @@ -14,7 +14,6 @@ GetQuerySuggestions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_GetSnapshots.go.snap b/service/kendra/snapshot/api_op_GetSnapshots.go.snap index aa9bd39378d..d9a83fa5b41 100644 --- a/service/kendra/snapshot/api_op_GetSnapshots.go.snap +++ b/service/kendra/snapshot/api_op_GetSnapshots.go.snap @@ -14,7 +14,6 @@ GetSnapshots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_ListAccessControlConfigurations.go.snap b/service/kendra/snapshot/api_op_ListAccessControlConfigurations.go.snap index 9737b76ebb7..9f29f2674a4 100644 --- a/service/kendra/snapshot/api_op_ListAccessControlConfigurations.go.snap +++ b/service/kendra/snapshot/api_op_ListAccessControlConfigurations.go.snap @@ -14,7 +14,6 @@ ListAccessControlConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_ListDataSourceSyncJobs.go.snap b/service/kendra/snapshot/api_op_ListDataSourceSyncJobs.go.snap index a691b3f1151..136b531d5c3 100644 --- a/service/kendra/snapshot/api_op_ListDataSourceSyncJobs.go.snap +++ b/service/kendra/snapshot/api_op_ListDataSourceSyncJobs.go.snap @@ -14,7 +14,6 @@ ListDataSourceSyncJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_ListDataSources.go.snap b/service/kendra/snapshot/api_op_ListDataSources.go.snap index c47a00675e6..2ef138c6eb5 100644 --- a/service/kendra/snapshot/api_op_ListDataSources.go.snap +++ b/service/kendra/snapshot/api_op_ListDataSources.go.snap @@ -14,7 +14,6 @@ ListDataSources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_ListEntityPersonas.go.snap b/service/kendra/snapshot/api_op_ListEntityPersonas.go.snap index 58316a7a1f1..cc2ecb60461 100644 --- a/service/kendra/snapshot/api_op_ListEntityPersonas.go.snap +++ b/service/kendra/snapshot/api_op_ListEntityPersonas.go.snap @@ -14,7 +14,6 @@ ListEntityPersonas Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_ListExperienceEntities.go.snap b/service/kendra/snapshot/api_op_ListExperienceEntities.go.snap index 2c00bb7139a..60dd874b0bf 100644 --- a/service/kendra/snapshot/api_op_ListExperienceEntities.go.snap +++ b/service/kendra/snapshot/api_op_ListExperienceEntities.go.snap @@ -14,7 +14,6 @@ ListExperienceEntities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_ListExperiences.go.snap b/service/kendra/snapshot/api_op_ListExperiences.go.snap index a1a4048b0d5..fffc228b056 100644 --- a/service/kendra/snapshot/api_op_ListExperiences.go.snap +++ b/service/kendra/snapshot/api_op_ListExperiences.go.snap @@ -14,7 +14,6 @@ ListExperiences Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_ListFaqs.go.snap b/service/kendra/snapshot/api_op_ListFaqs.go.snap index a85946fd747..9e297220615 100644 --- a/service/kendra/snapshot/api_op_ListFaqs.go.snap +++ b/service/kendra/snapshot/api_op_ListFaqs.go.snap @@ -14,7 +14,6 @@ ListFaqs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_ListFeaturedResultsSets.go.snap b/service/kendra/snapshot/api_op_ListFeaturedResultsSets.go.snap index e191773c089..c01cc30d6c0 100644 --- a/service/kendra/snapshot/api_op_ListFeaturedResultsSets.go.snap +++ b/service/kendra/snapshot/api_op_ListFeaturedResultsSets.go.snap @@ -14,7 +14,6 @@ ListFeaturedResultsSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_ListGroupsOlderThanOrderingId.go.snap b/service/kendra/snapshot/api_op_ListGroupsOlderThanOrderingId.go.snap index 36ab73690d0..2d9ed625875 100644 --- a/service/kendra/snapshot/api_op_ListGroupsOlderThanOrderingId.go.snap +++ b/service/kendra/snapshot/api_op_ListGroupsOlderThanOrderingId.go.snap @@ -14,7 +14,6 @@ ListGroupsOlderThanOrderingId Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_ListIndices.go.snap b/service/kendra/snapshot/api_op_ListIndices.go.snap index 49a5910efa1..c8383b292d8 100644 --- a/service/kendra/snapshot/api_op_ListIndices.go.snap +++ b/service/kendra/snapshot/api_op_ListIndices.go.snap @@ -13,7 +13,6 @@ ListIndices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_ListQuerySuggestionsBlockLists.go.snap b/service/kendra/snapshot/api_op_ListQuerySuggestionsBlockLists.go.snap index 1d421f031b7..48dd058a2e7 100644 --- a/service/kendra/snapshot/api_op_ListQuerySuggestionsBlockLists.go.snap +++ b/service/kendra/snapshot/api_op_ListQuerySuggestionsBlockLists.go.snap @@ -14,7 +14,6 @@ ListQuerySuggestionsBlockLists Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_ListTagsForResource.go.snap b/service/kendra/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/kendra/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/kendra/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_ListThesauri.go.snap b/service/kendra/snapshot/api_op_ListThesauri.go.snap index c1a1839c1b8..a528fb16661 100644 --- a/service/kendra/snapshot/api_op_ListThesauri.go.snap +++ b/service/kendra/snapshot/api_op_ListThesauri.go.snap @@ -14,7 +14,6 @@ ListThesauri Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_PutPrincipalMapping.go.snap b/service/kendra/snapshot/api_op_PutPrincipalMapping.go.snap index 90038d05162..2408f5ed9b7 100644 --- a/service/kendra/snapshot/api_op_PutPrincipalMapping.go.snap +++ b/service/kendra/snapshot/api_op_PutPrincipalMapping.go.snap @@ -14,7 +14,6 @@ PutPrincipalMapping Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_Query.go.snap b/service/kendra/snapshot/api_op_Query.go.snap index b63fbb88217..e1f117d1165 100644 --- a/service/kendra/snapshot/api_op_Query.go.snap +++ b/service/kendra/snapshot/api_op_Query.go.snap @@ -14,7 +14,6 @@ Query Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_Retrieve.go.snap b/service/kendra/snapshot/api_op_Retrieve.go.snap index eb9e00cf928..265075ecbde 100644 --- a/service/kendra/snapshot/api_op_Retrieve.go.snap +++ b/service/kendra/snapshot/api_op_Retrieve.go.snap @@ -14,7 +14,6 @@ Retrieve Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_StartDataSourceSyncJob.go.snap b/service/kendra/snapshot/api_op_StartDataSourceSyncJob.go.snap index c94c4836c75..f391b641cbc 100644 --- a/service/kendra/snapshot/api_op_StartDataSourceSyncJob.go.snap +++ b/service/kendra/snapshot/api_op_StartDataSourceSyncJob.go.snap @@ -14,7 +14,6 @@ StartDataSourceSyncJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_StopDataSourceSyncJob.go.snap b/service/kendra/snapshot/api_op_StopDataSourceSyncJob.go.snap index 81a8785c81b..960bd360328 100644 --- a/service/kendra/snapshot/api_op_StopDataSourceSyncJob.go.snap +++ b/service/kendra/snapshot/api_op_StopDataSourceSyncJob.go.snap @@ -14,7 +14,6 @@ StopDataSourceSyncJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_SubmitFeedback.go.snap b/service/kendra/snapshot/api_op_SubmitFeedback.go.snap index c8ba8a1cd2f..4df005d4525 100644 --- a/service/kendra/snapshot/api_op_SubmitFeedback.go.snap +++ b/service/kendra/snapshot/api_op_SubmitFeedback.go.snap @@ -14,7 +14,6 @@ SubmitFeedback Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_TagResource.go.snap b/service/kendra/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/kendra/snapshot/api_op_TagResource.go.snap +++ b/service/kendra/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_UntagResource.go.snap b/service/kendra/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/kendra/snapshot/api_op_UntagResource.go.snap +++ b/service/kendra/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_UpdateAccessControlConfiguration.go.snap b/service/kendra/snapshot/api_op_UpdateAccessControlConfiguration.go.snap index 71df07ea69b..a2d2871426b 100644 --- a/service/kendra/snapshot/api_op_UpdateAccessControlConfiguration.go.snap +++ b/service/kendra/snapshot/api_op_UpdateAccessControlConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateAccessControlConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_UpdateDataSource.go.snap b/service/kendra/snapshot/api_op_UpdateDataSource.go.snap index 7c4d5cf15b4..02ae762c076 100644 --- a/service/kendra/snapshot/api_op_UpdateDataSource.go.snap +++ b/service/kendra/snapshot/api_op_UpdateDataSource.go.snap @@ -14,7 +14,6 @@ UpdateDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_UpdateExperience.go.snap b/service/kendra/snapshot/api_op_UpdateExperience.go.snap index b294f3139e7..a522be4de6e 100644 --- a/service/kendra/snapshot/api_op_UpdateExperience.go.snap +++ b/service/kendra/snapshot/api_op_UpdateExperience.go.snap @@ -14,7 +14,6 @@ UpdateExperience Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_UpdateFeaturedResultsSet.go.snap b/service/kendra/snapshot/api_op_UpdateFeaturedResultsSet.go.snap index 479147ed814..fb56bace63b 100644 --- a/service/kendra/snapshot/api_op_UpdateFeaturedResultsSet.go.snap +++ b/service/kendra/snapshot/api_op_UpdateFeaturedResultsSet.go.snap @@ -14,7 +14,6 @@ UpdateFeaturedResultsSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_UpdateIndex.go.snap b/service/kendra/snapshot/api_op_UpdateIndex.go.snap index 95037b0c53c..f4ad1d60fca 100644 --- a/service/kendra/snapshot/api_op_UpdateIndex.go.snap +++ b/service/kendra/snapshot/api_op_UpdateIndex.go.snap @@ -14,7 +14,6 @@ UpdateIndex Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_UpdateQuerySuggestionsBlockList.go.snap b/service/kendra/snapshot/api_op_UpdateQuerySuggestionsBlockList.go.snap index 9847cbb91b7..43f9a39d088 100644 --- a/service/kendra/snapshot/api_op_UpdateQuerySuggestionsBlockList.go.snap +++ b/service/kendra/snapshot/api_op_UpdateQuerySuggestionsBlockList.go.snap @@ -14,7 +14,6 @@ UpdateQuerySuggestionsBlockList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_UpdateQuerySuggestionsConfig.go.snap b/service/kendra/snapshot/api_op_UpdateQuerySuggestionsConfig.go.snap index 5da0e3f0874..e5e95f15c53 100644 --- a/service/kendra/snapshot/api_op_UpdateQuerySuggestionsConfig.go.snap +++ b/service/kendra/snapshot/api_op_UpdateQuerySuggestionsConfig.go.snap @@ -14,7 +14,6 @@ UpdateQuerySuggestionsConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendra/snapshot/api_op_UpdateThesaurus.go.snap b/service/kendra/snapshot/api_op_UpdateThesaurus.go.snap index fc88b45dedd..cf4781193df 100644 --- a/service/kendra/snapshot/api_op_UpdateThesaurus.go.snap +++ b/service/kendra/snapshot/api_op_UpdateThesaurus.go.snap @@ -14,7 +14,6 @@ UpdateThesaurus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendraranking/api_client.go b/service/kendraranking/api_client.go index a74ced2befb..f0801a01901 100644 --- a/service/kendraranking/api_client.go +++ b/service/kendraranking/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/kendraranking/api_op_CreateRescoreExecutionPlan.go b/service/kendraranking/api_op_CreateRescoreExecutionPlan.go index d0beb24da2c..a57da618df6 100644 --- a/service/kendraranking/api_op_CreateRescoreExecutionPlan.go +++ b/service/kendraranking/api_op_CreateRescoreExecutionPlan.go @@ -149,9 +149,6 @@ func (c *Client) addOperationCreateRescoreExecutionPlanMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateRescoreExecutionPlanMiddleware(stack, options); err != nil { return err } diff --git a/service/kendraranking/api_op_DeleteRescoreExecutionPlan.go b/service/kendraranking/api_op_DeleteRescoreExecutionPlan.go index 59bf44f207c..9a3da05d41a 100644 --- a/service/kendraranking/api_op_DeleteRescoreExecutionPlan.go +++ b/service/kendraranking/api_op_DeleteRescoreExecutionPlan.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteRescoreExecutionPlanMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRescoreExecutionPlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendraranking/api_op_DescribeRescoreExecutionPlan.go b/service/kendraranking/api_op_DescribeRescoreExecutionPlan.go index 39e8d134a0e..a467bc3b16b 100644 --- a/service/kendraranking/api_op_DescribeRescoreExecutionPlan.go +++ b/service/kendraranking/api_op_DescribeRescoreExecutionPlan.go @@ -147,9 +147,6 @@ func (c *Client) addOperationDescribeRescoreExecutionPlanMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRescoreExecutionPlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendraranking/api_op_ListRescoreExecutionPlans.go b/service/kendraranking/api_op_ListRescoreExecutionPlans.go index b9a01758670..165dc34544c 100644 --- a/service/kendraranking/api_op_ListRescoreExecutionPlans.go +++ b/service/kendraranking/api_op_ListRescoreExecutionPlans.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListRescoreExecutionPlansMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRescoreExecutionPlans(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kendraranking/api_op_ListTagsForResource.go b/service/kendraranking/api_op_ListTagsForResource.go index 8c3e8cc50de..1f0feb6c00b 100644 --- a/service/kendraranking/api_op_ListTagsForResource.go +++ b/service/kendraranking/api_op_ListTagsForResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendraranking/api_op_Rescore.go b/service/kendraranking/api_op_Rescore.go index 0b5ad4759b2..dcdb41efa5a 100644 --- a/service/kendraranking/api_op_Rescore.go +++ b/service/kendraranking/api_op_Rescore.go @@ -133,9 +133,6 @@ func (c *Client) addOperationRescoreMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRescoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendraranking/api_op_TagResource.go b/service/kendraranking/api_op_TagResource.go index 6019845c3bb..645891e3762 100644 --- a/service/kendraranking/api_op_TagResource.go +++ b/service/kendraranking/api_op_TagResource.go @@ -122,9 +122,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendraranking/api_op_UntagResource.go b/service/kendraranking/api_op_UntagResource.go index 0c7ce486b31..08b7ea78104 100644 --- a/service/kendraranking/api_op_UntagResource.go +++ b/service/kendraranking/api_op_UntagResource.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendraranking/api_op_UpdateRescoreExecutionPlan.go b/service/kendraranking/api_op_UpdateRescoreExecutionPlan.go index 0f18bf411a4..8a39ba12273 100644 --- a/service/kendraranking/api_op_UpdateRescoreExecutionPlan.go +++ b/service/kendraranking/api_op_UpdateRescoreExecutionPlan.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateRescoreExecutionPlanMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRescoreExecutionPlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/kendraranking/snapshot/api_op_CreateRescoreExecutionPlan.go.snap b/service/kendraranking/snapshot/api_op_CreateRescoreExecutionPlan.go.snap index 085d701a2cf..993af00fab7 100644 --- a/service/kendraranking/snapshot/api_op_CreateRescoreExecutionPlan.go.snap +++ b/service/kendraranking/snapshot/api_op_CreateRescoreExecutionPlan.go.snap @@ -15,7 +15,6 @@ CreateRescoreExecutionPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendraranking/snapshot/api_op_DeleteRescoreExecutionPlan.go.snap b/service/kendraranking/snapshot/api_op_DeleteRescoreExecutionPlan.go.snap index 3f4479f84a9..e4c4e802610 100644 --- a/service/kendraranking/snapshot/api_op_DeleteRescoreExecutionPlan.go.snap +++ b/service/kendraranking/snapshot/api_op_DeleteRescoreExecutionPlan.go.snap @@ -14,7 +14,6 @@ DeleteRescoreExecutionPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendraranking/snapshot/api_op_DescribeRescoreExecutionPlan.go.snap b/service/kendraranking/snapshot/api_op_DescribeRescoreExecutionPlan.go.snap index e7881e1f0f8..d33fb54fb35 100644 --- a/service/kendraranking/snapshot/api_op_DescribeRescoreExecutionPlan.go.snap +++ b/service/kendraranking/snapshot/api_op_DescribeRescoreExecutionPlan.go.snap @@ -14,7 +14,6 @@ DescribeRescoreExecutionPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendraranking/snapshot/api_op_ListRescoreExecutionPlans.go.snap b/service/kendraranking/snapshot/api_op_ListRescoreExecutionPlans.go.snap index 4dddc68d4fa..9ff430decf2 100644 --- a/service/kendraranking/snapshot/api_op_ListRescoreExecutionPlans.go.snap +++ b/service/kendraranking/snapshot/api_op_ListRescoreExecutionPlans.go.snap @@ -13,7 +13,6 @@ ListRescoreExecutionPlans Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendraranking/snapshot/api_op_ListTagsForResource.go.snap b/service/kendraranking/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/kendraranking/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/kendraranking/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendraranking/snapshot/api_op_Rescore.go.snap b/service/kendraranking/snapshot/api_op_Rescore.go.snap index 77e4661f686..e33347d3bf4 100644 --- a/service/kendraranking/snapshot/api_op_Rescore.go.snap +++ b/service/kendraranking/snapshot/api_op_Rescore.go.snap @@ -14,7 +14,6 @@ Rescore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendraranking/snapshot/api_op_TagResource.go.snap b/service/kendraranking/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/kendraranking/snapshot/api_op_TagResource.go.snap +++ b/service/kendraranking/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendraranking/snapshot/api_op_UntagResource.go.snap b/service/kendraranking/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/kendraranking/snapshot/api_op_UntagResource.go.snap +++ b/service/kendraranking/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kendraranking/snapshot/api_op_UpdateRescoreExecutionPlan.go.snap b/service/kendraranking/snapshot/api_op_UpdateRescoreExecutionPlan.go.snap index f4d5d27e887..87b45bcd098 100644 --- a/service/kendraranking/snapshot/api_op_UpdateRescoreExecutionPlan.go.snap +++ b/service/kendraranking/snapshot/api_op_UpdateRescoreExecutionPlan.go.snap @@ -14,7 +14,6 @@ UpdateRescoreExecutionPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/keyspaces/api_client.go b/service/keyspaces/api_client.go index 4528d4c121c..aa838bb5c1a 100644 --- a/service/keyspaces/api_client.go +++ b/service/keyspaces/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/keyspaces/api_op_CreateKeyspace.go b/service/keyspaces/api_op_CreateKeyspace.go index 61385294250..088f6945020 100644 --- a/service/keyspaces/api_op_CreateKeyspace.go +++ b/service/keyspaces/api_op_CreateKeyspace.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreateKeyspaceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateKeyspaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/keyspaces/api_op_CreateTable.go b/service/keyspaces/api_op_CreateTable.go index f5c480314af..3f46a440bc0 100644 --- a/service/keyspaces/api_op_CreateTable.go +++ b/service/keyspaces/api_op_CreateTable.go @@ -285,9 +285,6 @@ func (c *Client) addOperationCreateTableMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/keyspaces/api_op_CreateType.go b/service/keyspaces/api_op_CreateType.go index d5d0bee0102..39d101f84dd 100644 --- a/service/keyspaces/api_op_CreateType.go +++ b/service/keyspaces/api_op_CreateType.go @@ -155,9 +155,6 @@ func (c *Client) addOperationCreateTypeMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/keyspaces/api_op_DeleteKeyspace.go b/service/keyspaces/api_op_DeleteKeyspace.go index 2956bfc43ad..dc637a0663e 100644 --- a/service/keyspaces/api_op_DeleteKeyspace.go +++ b/service/keyspaces/api_op_DeleteKeyspace.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteKeyspaceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteKeyspaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/keyspaces/api_op_DeleteTable.go b/service/keyspaces/api_op_DeleteTable.go index 979e81819f5..7b2599641f3 100644 --- a/service/keyspaces/api_op_DeleteTable.go +++ b/service/keyspaces/api_op_DeleteTable.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteTableMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/keyspaces/api_op_DeleteType.go b/service/keyspaces/api_op_DeleteType.go index a221cf758fd..eda233d594b 100644 --- a/service/keyspaces/api_op_DeleteType.go +++ b/service/keyspaces/api_op_DeleteType.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDeleteTypeMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/keyspaces/api_op_GetKeyspace.go b/service/keyspaces/api_op_GetKeyspace.go index 3739f1b7bcb..5ec3f76ebc5 100644 --- a/service/keyspaces/api_op_GetKeyspace.go +++ b/service/keyspaces/api_op_GetKeyspace.go @@ -136,9 +136,6 @@ func (c *Client) addOperationGetKeyspaceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetKeyspaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/keyspaces/api_op_GetTable.go b/service/keyspaces/api_op_GetTable.go index bb7beb53a15..17186db80b6 100644 --- a/service/keyspaces/api_op_GetTable.go +++ b/service/keyspaces/api_op_GetTable.go @@ -172,9 +172,6 @@ func (c *Client) addOperationGetTableMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/keyspaces/api_op_GetTableAutoScalingSettings.go b/service/keyspaces/api_op_GetTableAutoScalingSettings.go index 05dbd3130a1..bbaa6dbdd6d 100644 --- a/service/keyspaces/api_op_GetTableAutoScalingSettings.go +++ b/service/keyspaces/api_op_GetTableAutoScalingSettings.go @@ -154,9 +154,6 @@ func (c *Client) addOperationGetTableAutoScalingSettingsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTableAutoScalingSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/keyspaces/api_op_GetType.go b/service/keyspaces/api_op_GetType.go index 4ac3c314519..54c760cb624 100644 --- a/service/keyspaces/api_op_GetType.go +++ b/service/keyspaces/api_op_GetType.go @@ -162,9 +162,6 @@ func (c *Client) addOperationGetTypeMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/keyspaces/api_op_ListKeyspaces.go b/service/keyspaces/api_op_ListKeyspaces.go index 022667543ec..6bb47d73246 100644 --- a/service/keyspaces/api_op_ListKeyspaces.go +++ b/service/keyspaces/api_op_ListKeyspaces.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListKeyspacesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListKeyspaces(options.Region), middleware.Before); err != nil { return err } diff --git a/service/keyspaces/api_op_ListTables.go b/service/keyspaces/api_op_ListTables.go index 611db1075a5..a9dc5841469 100644 --- a/service/keyspaces/api_op_ListTables.go +++ b/service/keyspaces/api_op_ListTables.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListTablesMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTablesValidationMiddleware(stack); err != nil { return err } diff --git a/service/keyspaces/api_op_ListTagsForResource.go b/service/keyspaces/api_op_ListTagsForResource.go index c83828585a7..3171cdb28b9 100644 --- a/service/keyspaces/api_op_ListTagsForResource.go +++ b/service/keyspaces/api_op_ListTagsForResource.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/keyspaces/api_op_ListTypes.go b/service/keyspaces/api_op_ListTypes.go index 114a32663ee..ff76670a146 100644 --- a/service/keyspaces/api_op_ListTypes.go +++ b/service/keyspaces/api_op_ListTypes.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListTypesMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTypesValidationMiddleware(stack); err != nil { return err } diff --git a/service/keyspaces/api_op_RestoreTable.go b/service/keyspaces/api_op_RestoreTable.go index 475e9923ee4..ca9a0ecac53 100644 --- a/service/keyspaces/api_op_RestoreTable.go +++ b/service/keyspaces/api_op_RestoreTable.go @@ -242,9 +242,6 @@ func (c *Client) addOperationRestoreTableMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/keyspaces/api_op_TagResource.go b/service/keyspaces/api_op_TagResource.go index 8b51774be2a..63d340ba967 100644 --- a/service/keyspaces/api_op_TagResource.go +++ b/service/keyspaces/api_op_TagResource.go @@ -123,9 +123,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/keyspaces/api_op_UntagResource.go b/service/keyspaces/api_op_UntagResource.go index 5ee2f1be9a5..c69e0de1b97 100644 --- a/service/keyspaces/api_op_UntagResource.go +++ b/service/keyspaces/api_op_UntagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/keyspaces/api_op_UpdateKeyspace.go b/service/keyspaces/api_op_UpdateKeyspace.go index 23781b70be4..c6d0a142a87 100644 --- a/service/keyspaces/api_op_UpdateKeyspace.go +++ b/service/keyspaces/api_op_UpdateKeyspace.go @@ -190,9 +190,6 @@ func (c *Client) addOperationUpdateKeyspaceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateKeyspaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/keyspaces/api_op_UpdateTable.go b/service/keyspaces/api_op_UpdateTable.go index 3ccdd91a5b5..4dfe4fe7fd7 100644 --- a/service/keyspaces/api_op_UpdateTable.go +++ b/service/keyspaces/api_op_UpdateTable.go @@ -225,9 +225,6 @@ func (c *Client) addOperationUpdateTableMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/keyspaces/snapshot/api_op_CreateKeyspace.go.snap b/service/keyspaces/snapshot/api_op_CreateKeyspace.go.snap index d7e0c63c306..7f5fcc47109 100644 --- a/service/keyspaces/snapshot/api_op_CreateKeyspace.go.snap +++ b/service/keyspaces/snapshot/api_op_CreateKeyspace.go.snap @@ -14,7 +14,6 @@ CreateKeyspace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/keyspaces/snapshot/api_op_CreateTable.go.snap b/service/keyspaces/snapshot/api_op_CreateTable.go.snap index 745172d72b8..9c4e81458fc 100644 --- a/service/keyspaces/snapshot/api_op_CreateTable.go.snap +++ b/service/keyspaces/snapshot/api_op_CreateTable.go.snap @@ -14,7 +14,6 @@ CreateTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/keyspaces/snapshot/api_op_CreateType.go.snap b/service/keyspaces/snapshot/api_op_CreateType.go.snap index 67cf12b9b85..aeb50abf3f0 100644 --- a/service/keyspaces/snapshot/api_op_CreateType.go.snap +++ b/service/keyspaces/snapshot/api_op_CreateType.go.snap @@ -14,7 +14,6 @@ CreateType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/keyspaces/snapshot/api_op_DeleteKeyspace.go.snap b/service/keyspaces/snapshot/api_op_DeleteKeyspace.go.snap index 82d35051db6..49556ad2d97 100644 --- a/service/keyspaces/snapshot/api_op_DeleteKeyspace.go.snap +++ b/service/keyspaces/snapshot/api_op_DeleteKeyspace.go.snap @@ -14,7 +14,6 @@ DeleteKeyspace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/keyspaces/snapshot/api_op_DeleteTable.go.snap b/service/keyspaces/snapshot/api_op_DeleteTable.go.snap index 470594fe04f..33786026b1d 100644 --- a/service/keyspaces/snapshot/api_op_DeleteTable.go.snap +++ b/service/keyspaces/snapshot/api_op_DeleteTable.go.snap @@ -14,7 +14,6 @@ DeleteTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/keyspaces/snapshot/api_op_DeleteType.go.snap b/service/keyspaces/snapshot/api_op_DeleteType.go.snap index c4b5e1c4040..0e75338235d 100644 --- a/service/keyspaces/snapshot/api_op_DeleteType.go.snap +++ b/service/keyspaces/snapshot/api_op_DeleteType.go.snap @@ -14,7 +14,6 @@ DeleteType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/keyspaces/snapshot/api_op_GetKeyspace.go.snap b/service/keyspaces/snapshot/api_op_GetKeyspace.go.snap index 898a7d0b6ff..138b0f5e50a 100644 --- a/service/keyspaces/snapshot/api_op_GetKeyspace.go.snap +++ b/service/keyspaces/snapshot/api_op_GetKeyspace.go.snap @@ -14,7 +14,6 @@ GetKeyspace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/keyspaces/snapshot/api_op_GetTable.go.snap b/service/keyspaces/snapshot/api_op_GetTable.go.snap index 5566367ab4e..af9c480381f 100644 --- a/service/keyspaces/snapshot/api_op_GetTable.go.snap +++ b/service/keyspaces/snapshot/api_op_GetTable.go.snap @@ -14,7 +14,6 @@ GetTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/keyspaces/snapshot/api_op_GetTableAutoScalingSettings.go.snap b/service/keyspaces/snapshot/api_op_GetTableAutoScalingSettings.go.snap index 136c05d9bb3..cdcb0acfbab 100644 --- a/service/keyspaces/snapshot/api_op_GetTableAutoScalingSettings.go.snap +++ b/service/keyspaces/snapshot/api_op_GetTableAutoScalingSettings.go.snap @@ -14,7 +14,6 @@ GetTableAutoScalingSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/keyspaces/snapshot/api_op_GetType.go.snap b/service/keyspaces/snapshot/api_op_GetType.go.snap index f134b1f18bf..5a9fd791d2d 100644 --- a/service/keyspaces/snapshot/api_op_GetType.go.snap +++ b/service/keyspaces/snapshot/api_op_GetType.go.snap @@ -14,7 +14,6 @@ GetType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/keyspaces/snapshot/api_op_ListKeyspaces.go.snap b/service/keyspaces/snapshot/api_op_ListKeyspaces.go.snap index b1c0979751f..808cee280ce 100644 --- a/service/keyspaces/snapshot/api_op_ListKeyspaces.go.snap +++ b/service/keyspaces/snapshot/api_op_ListKeyspaces.go.snap @@ -13,7 +13,6 @@ ListKeyspaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/keyspaces/snapshot/api_op_ListTables.go.snap b/service/keyspaces/snapshot/api_op_ListTables.go.snap index 700533870a9..9575d9a9ad7 100644 --- a/service/keyspaces/snapshot/api_op_ListTables.go.snap +++ b/service/keyspaces/snapshot/api_op_ListTables.go.snap @@ -14,7 +14,6 @@ ListTables Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/keyspaces/snapshot/api_op_ListTagsForResource.go.snap b/service/keyspaces/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/keyspaces/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/keyspaces/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/keyspaces/snapshot/api_op_ListTypes.go.snap b/service/keyspaces/snapshot/api_op_ListTypes.go.snap index e762360edc0..5e386c7b538 100644 --- a/service/keyspaces/snapshot/api_op_ListTypes.go.snap +++ b/service/keyspaces/snapshot/api_op_ListTypes.go.snap @@ -14,7 +14,6 @@ ListTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/keyspaces/snapshot/api_op_RestoreTable.go.snap b/service/keyspaces/snapshot/api_op_RestoreTable.go.snap index c9a36c8aaea..870841e5214 100644 --- a/service/keyspaces/snapshot/api_op_RestoreTable.go.snap +++ b/service/keyspaces/snapshot/api_op_RestoreTable.go.snap @@ -14,7 +14,6 @@ RestoreTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/keyspaces/snapshot/api_op_TagResource.go.snap b/service/keyspaces/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/keyspaces/snapshot/api_op_TagResource.go.snap +++ b/service/keyspaces/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/keyspaces/snapshot/api_op_UntagResource.go.snap b/service/keyspaces/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/keyspaces/snapshot/api_op_UntagResource.go.snap +++ b/service/keyspaces/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/keyspaces/snapshot/api_op_UpdateKeyspace.go.snap b/service/keyspaces/snapshot/api_op_UpdateKeyspace.go.snap index cf701313888..2b2f8ac5c5d 100644 --- a/service/keyspaces/snapshot/api_op_UpdateKeyspace.go.snap +++ b/service/keyspaces/snapshot/api_op_UpdateKeyspace.go.snap @@ -14,7 +14,6 @@ UpdateKeyspace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/keyspaces/snapshot/api_op_UpdateTable.go.snap b/service/keyspaces/snapshot/api_op_UpdateTable.go.snap index fa66ede5809..a4803b0812e 100644 --- a/service/keyspaces/snapshot/api_op_UpdateTable.go.snap +++ b/service/keyspaces/snapshot/api_op_UpdateTable.go.snap @@ -14,7 +14,6 @@ UpdateTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesis/api_client.go b/service/kinesis/api_client.go index 81c1be61eee..50c8b340f33 100644 --- a/service/kinesis/api_client.go +++ b/service/kinesis/api_client.go @@ -763,37 +763,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/kinesis/api_op_AddTagsToStream.go b/service/kinesis/api_op_AddTagsToStream.go index b4c7f209db0..e28d906eb35 100644 --- a/service/kinesis/api_op_AddTagsToStream.go +++ b/service/kinesis/api_op_AddTagsToStream.go @@ -131,9 +131,6 @@ func (c *Client) addOperationAddTagsToStreamMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddTagsToStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_CreateStream.go b/service/kinesis/api_op_CreateStream.go index 2358f2829dc..b495389a3e9 100644 --- a/service/kinesis/api_op_CreateStream.go +++ b/service/kinesis/api_op_CreateStream.go @@ -176,9 +176,6 @@ func (c *Client) addOperationCreateStreamMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_DecreaseStreamRetentionPeriod.go b/service/kinesis/api_op_DecreaseStreamRetentionPeriod.go index ee2e26e1b6c..9e89701650e 100644 --- a/service/kinesis/api_op_DecreaseStreamRetentionPeriod.go +++ b/service/kinesis/api_op_DecreaseStreamRetentionPeriod.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDecreaseStreamRetentionPeriodMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDecreaseStreamRetentionPeriodValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_DeleteResourcePolicy.go b/service/kinesis/api_op_DeleteResourcePolicy.go index 4522ee072d0..28391f5d028 100644 --- a/service/kinesis/api_op_DeleteResourcePolicy.go +++ b/service/kinesis/api_op_DeleteResourcePolicy.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_DeleteStream.go b/service/kinesis/api_op_DeleteStream.go index 41fb6b0ac57..1fd50a2391f 100644 --- a/service/kinesis/api_op_DeleteStream.go +++ b/service/kinesis/api_op_DeleteStream.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDeleteStreamMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteStream(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kinesis/api_op_DeregisterStreamConsumer.go b/service/kinesis/api_op_DeregisterStreamConsumer.go index af51964b0bc..4429b5cee46 100644 --- a/service/kinesis/api_op_DeregisterStreamConsumer.go +++ b/service/kinesis/api_op_DeregisterStreamConsumer.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDeregisterStreamConsumerMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterStreamConsumer(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kinesis/api_op_DescribeLimits.go b/service/kinesis/api_op_DescribeLimits.go index 0b8ff863237..aae2b9b720d 100644 --- a/service/kinesis/api_op_DescribeLimits.go +++ b/service/kinesis/api_op_DescribeLimits.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeLimitsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLimits(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kinesis/api_op_DescribeStream.go b/service/kinesis/api_op_DescribeStream.go index a04054c3d16..ccfa5055fcb 100644 --- a/service/kinesis/api_op_DescribeStream.go +++ b/service/kinesis/api_op_DescribeStream.go @@ -171,9 +171,6 @@ func (c *Client) addOperationDescribeStreamMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStream(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kinesis/api_op_DescribeStreamConsumer.go b/service/kinesis/api_op_DescribeStreamConsumer.go index 00aee2535d7..998d71539bd 100644 --- a/service/kinesis/api_op_DescribeStreamConsumer.go +++ b/service/kinesis/api_op_DescribeStreamConsumer.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDescribeStreamConsumerMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStreamConsumer(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kinesis/api_op_DescribeStreamSummary.go b/service/kinesis/api_op_DescribeStreamSummary.go index 844c7e60068..50465d750e6 100644 --- a/service/kinesis/api_op_DescribeStreamSummary.go +++ b/service/kinesis/api_op_DescribeStreamSummary.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeStreamSummaryMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStreamSummary(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kinesis/api_op_DisableEnhancedMonitoring.go b/service/kinesis/api_op_DisableEnhancedMonitoring.go index f7cf7a7a449..4d8bdf56731 100644 --- a/service/kinesis/api_op_DisableEnhancedMonitoring.go +++ b/service/kinesis/api_op_DisableEnhancedMonitoring.go @@ -165,9 +165,6 @@ func (c *Client) addOperationDisableEnhancedMonitoringMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableEnhancedMonitoringValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_EnableEnhancedMonitoring.go b/service/kinesis/api_op_EnableEnhancedMonitoring.go index f1f89db93aa..2ad5f3bc75a 100644 --- a/service/kinesis/api_op_EnableEnhancedMonitoring.go +++ b/service/kinesis/api_op_EnableEnhancedMonitoring.go @@ -165,9 +165,6 @@ func (c *Client) addOperationEnableEnhancedMonitoringMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableEnhancedMonitoringValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_GetRecords.go b/service/kinesis/api_op_GetRecords.go index 8c9fc3151cc..32513df0527 100644 --- a/service/kinesis/api_op_GetRecords.go +++ b/service/kinesis/api_op_GetRecords.go @@ -212,9 +212,6 @@ func (c *Client) addOperationGetRecordsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRecordsValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_GetResourcePolicy.go b/service/kinesis/api_op_GetResourcePolicy.go index 0ce9a20ce43..f63303bdc82 100644 --- a/service/kinesis/api_op_GetResourcePolicy.go +++ b/service/kinesis/api_op_GetResourcePolicy.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_GetShardIterator.go b/service/kinesis/api_op_GetShardIterator.go index 8e630bffb0e..43e944fcf03 100644 --- a/service/kinesis/api_op_GetShardIterator.go +++ b/service/kinesis/api_op_GetShardIterator.go @@ -206,9 +206,6 @@ func (c *Client) addOperationGetShardIteratorMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetShardIteratorValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_IncreaseStreamRetentionPeriod.go b/service/kinesis/api_op_IncreaseStreamRetentionPeriod.go index 2c18d00e3be..85f5eb51985 100644 --- a/service/kinesis/api_op_IncreaseStreamRetentionPeriod.go +++ b/service/kinesis/api_op_IncreaseStreamRetentionPeriod.go @@ -136,9 +136,6 @@ func (c *Client) addOperationIncreaseStreamRetentionPeriodMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpIncreaseStreamRetentionPeriodValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_ListShards.go b/service/kinesis/api_op_ListShards.go index e7650e2fc24..0d407972d27 100644 --- a/service/kinesis/api_op_ListShards.go +++ b/service/kinesis/api_op_ListShards.go @@ -225,9 +225,6 @@ func (c *Client) addOperationListShardsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListShardsValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_ListStreamConsumers.go b/service/kinesis/api_op_ListStreamConsumers.go index a5af5dcb105..62c291457d0 100644 --- a/service/kinesis/api_op_ListStreamConsumers.go +++ b/service/kinesis/api_op_ListStreamConsumers.go @@ -177,9 +177,6 @@ func (c *Client) addOperationListStreamConsumersMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListStreamConsumersValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_ListStreams.go b/service/kinesis/api_op_ListStreams.go index 0907240d5b2..191513a8207 100644 --- a/service/kinesis/api_op_ListStreams.go +++ b/service/kinesis/api_op_ListStreams.go @@ -148,9 +148,6 @@ func (c *Client) addOperationListStreamsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStreams(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kinesis/api_op_ListTagsForStream.go b/service/kinesis/api_op_ListTagsForStream.go index 8adfa491644..f009e78c2af 100644 --- a/service/kinesis/api_op_ListTagsForStream.go +++ b/service/kinesis/api_op_ListTagsForStream.go @@ -145,9 +145,6 @@ func (c *Client) addOperationListTagsForStreamMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForStream(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kinesis/api_op_MergeShards.go b/service/kinesis/api_op_MergeShards.go index 910d0b0f69b..2566962000b 100644 --- a/service/kinesis/api_op_MergeShards.go +++ b/service/kinesis/api_op_MergeShards.go @@ -167,9 +167,6 @@ func (c *Client) addOperationMergeShardsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMergeShardsValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_PutRecord.go b/service/kinesis/api_op_PutRecord.go index 83666ac4122..4766d94e7cc 100644 --- a/service/kinesis/api_op_PutRecord.go +++ b/service/kinesis/api_op_PutRecord.go @@ -219,9 +219,6 @@ func (c *Client) addOperationPutRecordMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutRecordValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_PutRecords.go b/service/kinesis/api_op_PutRecords.go index dc705b8ea86..b5da75f461f 100644 --- a/service/kinesis/api_op_PutRecords.go +++ b/service/kinesis/api_op_PutRecords.go @@ -213,9 +213,6 @@ func (c *Client) addOperationPutRecordsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutRecordsValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_PutResourcePolicy.go b/service/kinesis/api_op_PutResourcePolicy.go index d2677ec8e9a..5812ed69a46 100644 --- a/service/kinesis/api_op_PutResourcePolicy.go +++ b/service/kinesis/api_op_PutResourcePolicy.go @@ -138,9 +138,6 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_RegisterStreamConsumer.go b/service/kinesis/api_op_RegisterStreamConsumer.go index c75920e1eb7..4bc86e3194d 100644 --- a/service/kinesis/api_op_RegisterStreamConsumer.go +++ b/service/kinesis/api_op_RegisterStreamConsumer.go @@ -148,9 +148,6 @@ func (c *Client) addOperationRegisterStreamConsumerMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterStreamConsumerValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_RemoveTagsFromStream.go b/service/kinesis/api_op_RemoveTagsFromStream.go index 125da724903..2e06531459f 100644 --- a/service/kinesis/api_op_RemoveTagsFromStream.go +++ b/service/kinesis/api_op_RemoveTagsFromStream.go @@ -130,9 +130,6 @@ func (c *Client) addOperationRemoveTagsFromStreamMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveTagsFromStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_SplitShard.go b/service/kinesis/api_op_SplitShard.go index 69512147182..ca92c2c5872 100644 --- a/service/kinesis/api_op_SplitShard.go +++ b/service/kinesis/api_op_SplitShard.go @@ -181,9 +181,6 @@ func (c *Client) addOperationSplitShardMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSplitShardValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_StartStreamEncryption.go b/service/kinesis/api_op_StartStreamEncryption.go index 7a6970098ef..41ce360cfe6 100644 --- a/service/kinesis/api_op_StartStreamEncryption.go +++ b/service/kinesis/api_op_StartStreamEncryption.go @@ -162,9 +162,6 @@ func (c *Client) addOperationStartStreamEncryptionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartStreamEncryptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_StopStreamEncryption.go b/service/kinesis/api_op_StopStreamEncryption.go index 9d5584c2254..c00fb2d3944 100644 --- a/service/kinesis/api_op_StopStreamEncryption.go +++ b/service/kinesis/api_op_StopStreamEncryption.go @@ -162,9 +162,6 @@ func (c *Client) addOperationStopStreamEncryptionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopStreamEncryptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_SubscribeToShard.go b/service/kinesis/api_op_SubscribeToShard.go index fc7636884ea..0354407b0a1 100644 --- a/service/kinesis/api_op_SubscribeToShard.go +++ b/service/kinesis/api_op_SubscribeToShard.go @@ -157,9 +157,6 @@ func (c *Client) addOperationSubscribeToShardMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSubscribeToShardValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_UpdateShardCount.go b/service/kinesis/api_op_UpdateShardCount.go index 0800d80e8c4..51502b1cdde 100644 --- a/service/kinesis/api_op_UpdateShardCount.go +++ b/service/kinesis/api_op_UpdateShardCount.go @@ -199,9 +199,6 @@ func (c *Client) addOperationUpdateShardCountMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateShardCountValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/api_op_UpdateStreamMode.go b/service/kinesis/api_op_UpdateStreamMode.go index d9f6e27a6d7..cc0561f9a9c 100644 --- a/service/kinesis/api_op_UpdateStreamMode.go +++ b/service/kinesis/api_op_UpdateStreamMode.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateStreamModeMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateStreamModeValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesis/snapshot/api_op_AddTagsToStream.go.snap b/service/kinesis/snapshot/api_op_AddTagsToStream.go.snap index 810c15a41de..9f7ec9c0919 100644 --- a/service/kinesis/snapshot/api_op_AddTagsToStream.go.snap +++ b/service/kinesis/snapshot/api_op_AddTagsToStream.go.snap @@ -14,7 +14,6 @@ AddTagsToStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesis/snapshot/api_op_CreateStream.go.snap b/service/kinesis/snapshot/api_op_CreateStream.go.snap index 67104e5e553..b83033ae1bf 100644 --- a/service/kinesis/snapshot/api_op_CreateStream.go.snap +++ b/service/kinesis/snapshot/api_op_CreateStream.go.snap @@ -14,7 +14,6 @@ CreateStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesis/snapshot/api_op_DecreaseStreamRetentionPeriod.go.snap b/service/kinesis/snapshot/api_op_DecreaseStreamRetentionPeriod.go.snap index 6f2ea888739..33121547347 100644 --- a/service/kinesis/snapshot/api_op_DecreaseStreamRetentionPeriod.go.snap +++ b/service/kinesis/snapshot/api_op_DecreaseStreamRetentionPeriod.go.snap @@ -14,7 +14,6 @@ DecreaseStreamRetentionPeriod Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesis/snapshot/api_op_DeleteResourcePolicy.go.snap b/service/kinesis/snapshot/api_op_DeleteResourcePolicy.go.snap index 21dbc8dfcde..9948d797360 100644 --- a/service/kinesis/snapshot/api_op_DeleteResourcePolicy.go.snap +++ b/service/kinesis/snapshot/api_op_DeleteResourcePolicy.go.snap @@ -14,7 +14,6 @@ DeleteResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesis/snapshot/api_op_DeleteStream.go.snap b/service/kinesis/snapshot/api_op_DeleteStream.go.snap index 112db5882a9..be3237cd7aa 100644 --- a/service/kinesis/snapshot/api_op_DeleteStream.go.snap +++ b/service/kinesis/snapshot/api_op_DeleteStream.go.snap @@ -13,7 +13,6 @@ DeleteStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesis/snapshot/api_op_DeregisterStreamConsumer.go.snap b/service/kinesis/snapshot/api_op_DeregisterStreamConsumer.go.snap index e35303121a4..d6fdc4812ad 100644 --- a/service/kinesis/snapshot/api_op_DeregisterStreamConsumer.go.snap +++ b/service/kinesis/snapshot/api_op_DeregisterStreamConsumer.go.snap @@ -13,7 +13,6 @@ DeregisterStreamConsumer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesis/snapshot/api_op_DescribeLimits.go.snap b/service/kinesis/snapshot/api_op_DescribeLimits.go.snap index 66a309dcc80..c1a5989a2f9 100644 --- a/service/kinesis/snapshot/api_op_DescribeLimits.go.snap +++ b/service/kinesis/snapshot/api_op_DescribeLimits.go.snap @@ -13,7 +13,6 @@ DescribeLimits Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesis/snapshot/api_op_DescribeStream.go.snap b/service/kinesis/snapshot/api_op_DescribeStream.go.snap index 3902ea2063c..de74c661725 100644 --- a/service/kinesis/snapshot/api_op_DescribeStream.go.snap +++ b/service/kinesis/snapshot/api_op_DescribeStream.go.snap @@ -13,7 +13,6 @@ DescribeStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesis/snapshot/api_op_DescribeStreamConsumer.go.snap b/service/kinesis/snapshot/api_op_DescribeStreamConsumer.go.snap index dde6ac6c0b5..89536bca1e6 100644 --- a/service/kinesis/snapshot/api_op_DescribeStreamConsumer.go.snap +++ b/service/kinesis/snapshot/api_op_DescribeStreamConsumer.go.snap @@ -13,7 +13,6 @@ DescribeStreamConsumer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesis/snapshot/api_op_DescribeStreamSummary.go.snap b/service/kinesis/snapshot/api_op_DescribeStreamSummary.go.snap index 326bdf5ccf0..7668b14626a 100644 --- a/service/kinesis/snapshot/api_op_DescribeStreamSummary.go.snap +++ b/service/kinesis/snapshot/api_op_DescribeStreamSummary.go.snap @@ -13,7 +13,6 @@ DescribeStreamSummary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesis/snapshot/api_op_DisableEnhancedMonitoring.go.snap b/service/kinesis/snapshot/api_op_DisableEnhancedMonitoring.go.snap index 8f477cb0f7e..551918080d5 100644 --- a/service/kinesis/snapshot/api_op_DisableEnhancedMonitoring.go.snap +++ b/service/kinesis/snapshot/api_op_DisableEnhancedMonitoring.go.snap @@ -14,7 +14,6 @@ DisableEnhancedMonitoring Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesis/snapshot/api_op_EnableEnhancedMonitoring.go.snap b/service/kinesis/snapshot/api_op_EnableEnhancedMonitoring.go.snap index 38f3cac436f..7ee841dbc31 100644 --- a/service/kinesis/snapshot/api_op_EnableEnhancedMonitoring.go.snap +++ b/service/kinesis/snapshot/api_op_EnableEnhancedMonitoring.go.snap @@ -14,7 +14,6 @@ EnableEnhancedMonitoring Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesis/snapshot/api_op_GetRecords.go.snap b/service/kinesis/snapshot/api_op_GetRecords.go.snap index 49f900ae10a..e4530b2abf4 100644 --- a/service/kinesis/snapshot/api_op_GetRecords.go.snap +++ b/service/kinesis/snapshot/api_op_GetRecords.go.snap @@ -14,7 +14,6 @@ GetRecords Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesis/snapshot/api_op_GetResourcePolicy.go.snap b/service/kinesis/snapshot/api_op_GetResourcePolicy.go.snap index e3408c09804..4b3e7d017fa 100644 --- a/service/kinesis/snapshot/api_op_GetResourcePolicy.go.snap +++ b/service/kinesis/snapshot/api_op_GetResourcePolicy.go.snap @@ -14,7 +14,6 @@ GetResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesis/snapshot/api_op_GetShardIterator.go.snap b/service/kinesis/snapshot/api_op_GetShardIterator.go.snap index dda4fb9f610..859c647b969 100644 --- a/service/kinesis/snapshot/api_op_GetShardIterator.go.snap +++ b/service/kinesis/snapshot/api_op_GetShardIterator.go.snap @@ -14,7 +14,6 @@ GetShardIterator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesis/snapshot/api_op_IncreaseStreamRetentionPeriod.go.snap b/service/kinesis/snapshot/api_op_IncreaseStreamRetentionPeriod.go.snap index 07e3fe1f067..422fc68c54c 100644 --- a/service/kinesis/snapshot/api_op_IncreaseStreamRetentionPeriod.go.snap +++ b/service/kinesis/snapshot/api_op_IncreaseStreamRetentionPeriod.go.snap @@ -14,7 +14,6 @@ IncreaseStreamRetentionPeriod Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesis/snapshot/api_op_ListShards.go.snap b/service/kinesis/snapshot/api_op_ListShards.go.snap index c51df87ca2b..a4c02fca720 100644 --- a/service/kinesis/snapshot/api_op_ListShards.go.snap +++ b/service/kinesis/snapshot/api_op_ListShards.go.snap @@ -14,7 +14,6 @@ ListShards Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesis/snapshot/api_op_ListStreamConsumers.go.snap b/service/kinesis/snapshot/api_op_ListStreamConsumers.go.snap index ac6189572b2..a3ca0a5f30a 100644 --- a/service/kinesis/snapshot/api_op_ListStreamConsumers.go.snap +++ b/service/kinesis/snapshot/api_op_ListStreamConsumers.go.snap @@ -14,7 +14,6 @@ ListStreamConsumers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesis/snapshot/api_op_ListStreams.go.snap b/service/kinesis/snapshot/api_op_ListStreams.go.snap index 89c925c91c7..1885962ecc5 100644 --- a/service/kinesis/snapshot/api_op_ListStreams.go.snap +++ b/service/kinesis/snapshot/api_op_ListStreams.go.snap @@ -13,7 +13,6 @@ ListStreams Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesis/snapshot/api_op_ListTagsForStream.go.snap b/service/kinesis/snapshot/api_op_ListTagsForStream.go.snap index 5bfb9b536d6..ac85872e999 100644 --- a/service/kinesis/snapshot/api_op_ListTagsForStream.go.snap +++ b/service/kinesis/snapshot/api_op_ListTagsForStream.go.snap @@ -13,7 +13,6 @@ ListTagsForStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesis/snapshot/api_op_MergeShards.go.snap b/service/kinesis/snapshot/api_op_MergeShards.go.snap index 470c6065e8c..a243a6a1cc2 100644 --- a/service/kinesis/snapshot/api_op_MergeShards.go.snap +++ b/service/kinesis/snapshot/api_op_MergeShards.go.snap @@ -14,7 +14,6 @@ MergeShards Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesis/snapshot/api_op_PutRecord.go.snap b/service/kinesis/snapshot/api_op_PutRecord.go.snap index b6fcd7250fe..19b644c5e4a 100644 --- a/service/kinesis/snapshot/api_op_PutRecord.go.snap +++ b/service/kinesis/snapshot/api_op_PutRecord.go.snap @@ -14,7 +14,6 @@ PutRecord Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesis/snapshot/api_op_PutRecords.go.snap b/service/kinesis/snapshot/api_op_PutRecords.go.snap index 5bafe33445b..90f6a825ae5 100644 --- a/service/kinesis/snapshot/api_op_PutRecords.go.snap +++ b/service/kinesis/snapshot/api_op_PutRecords.go.snap @@ -14,7 +14,6 @@ PutRecords Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesis/snapshot/api_op_PutResourcePolicy.go.snap b/service/kinesis/snapshot/api_op_PutResourcePolicy.go.snap index 30530b1514f..47bad3fad0e 100644 --- a/service/kinesis/snapshot/api_op_PutResourcePolicy.go.snap +++ b/service/kinesis/snapshot/api_op_PutResourcePolicy.go.snap @@ -14,7 +14,6 @@ PutResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesis/snapshot/api_op_RegisterStreamConsumer.go.snap b/service/kinesis/snapshot/api_op_RegisterStreamConsumer.go.snap index a2d3ae28711..db0cc67eec2 100644 --- a/service/kinesis/snapshot/api_op_RegisterStreamConsumer.go.snap +++ b/service/kinesis/snapshot/api_op_RegisterStreamConsumer.go.snap @@ -14,7 +14,6 @@ RegisterStreamConsumer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesis/snapshot/api_op_RemoveTagsFromStream.go.snap b/service/kinesis/snapshot/api_op_RemoveTagsFromStream.go.snap index 523bbf04aa9..2f33083456c 100644 --- a/service/kinesis/snapshot/api_op_RemoveTagsFromStream.go.snap +++ b/service/kinesis/snapshot/api_op_RemoveTagsFromStream.go.snap @@ -14,7 +14,6 @@ RemoveTagsFromStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesis/snapshot/api_op_SplitShard.go.snap b/service/kinesis/snapshot/api_op_SplitShard.go.snap index 4b689766846..35211be9514 100644 --- a/service/kinesis/snapshot/api_op_SplitShard.go.snap +++ b/service/kinesis/snapshot/api_op_SplitShard.go.snap @@ -14,7 +14,6 @@ SplitShard Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesis/snapshot/api_op_StartStreamEncryption.go.snap b/service/kinesis/snapshot/api_op_StartStreamEncryption.go.snap index 23d8432609d..deac88e66f5 100644 --- a/service/kinesis/snapshot/api_op_StartStreamEncryption.go.snap +++ b/service/kinesis/snapshot/api_op_StartStreamEncryption.go.snap @@ -14,7 +14,6 @@ StartStreamEncryption Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesis/snapshot/api_op_StopStreamEncryption.go.snap b/service/kinesis/snapshot/api_op_StopStreamEncryption.go.snap index 249c93ab493..1c65979b19d 100644 --- a/service/kinesis/snapshot/api_op_StopStreamEncryption.go.snap +++ b/service/kinesis/snapshot/api_op_StopStreamEncryption.go.snap @@ -14,7 +14,6 @@ StopStreamEncryption Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesis/snapshot/api_op_SubscribeToShard.go.snap b/service/kinesis/snapshot/api_op_SubscribeToShard.go.snap index 4c83f3461cb..bd9b4ed9a8d 100644 --- a/service/kinesis/snapshot/api_op_SubscribeToShard.go.snap +++ b/service/kinesis/snapshot/api_op_SubscribeToShard.go.snap @@ -14,7 +14,6 @@ SubscribeToShard Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesis/snapshot/api_op_UpdateShardCount.go.snap b/service/kinesis/snapshot/api_op_UpdateShardCount.go.snap index b5a1b5f1821..6b795f73b35 100644 --- a/service/kinesis/snapshot/api_op_UpdateShardCount.go.snap +++ b/service/kinesis/snapshot/api_op_UpdateShardCount.go.snap @@ -14,7 +14,6 @@ UpdateShardCount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesis/snapshot/api_op_UpdateStreamMode.go.snap b/service/kinesis/snapshot/api_op_UpdateStreamMode.go.snap index 6642e98ccdf..a1367981b50 100644 --- a/service/kinesis/snapshot/api_op_UpdateStreamMode.go.snap +++ b/service/kinesis/snapshot/api_op_UpdateStreamMode.go.snap @@ -14,7 +14,6 @@ UpdateStreamMode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalytics/api_client.go b/service/kinesisanalytics/api_client.go index a6afcb7c6a9..4ef40d8f593 100644 --- a/service/kinesisanalytics/api_client.go +++ b/service/kinesisanalytics/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/kinesisanalytics/api_op_AddApplicationCloudWatchLoggingOption.go b/service/kinesisanalytics/api_op_AddApplicationCloudWatchLoggingOption.go index 60908c079fc..0d5eafec9ce 100644 --- a/service/kinesisanalytics/api_op_AddApplicationCloudWatchLoggingOption.go +++ b/service/kinesisanalytics/api_op_AddApplicationCloudWatchLoggingOption.go @@ -128,9 +128,6 @@ func (c *Client) addOperationAddApplicationCloudWatchLoggingOptionMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddApplicationCloudWatchLoggingOptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_AddApplicationInput.go b/service/kinesisanalytics/api_op_AddApplicationInput.go index 510860dbafc..2a74df4bc45 100644 --- a/service/kinesisanalytics/api_op_AddApplicationInput.go +++ b/service/kinesisanalytics/api_op_AddApplicationInput.go @@ -144,9 +144,6 @@ func (c *Client) addOperationAddApplicationInputMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddApplicationInputValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_AddApplicationInputProcessingConfiguration.go b/service/kinesisanalytics/api_op_AddApplicationInputProcessingConfiguration.go index b795c3edbe7..8b858965433 100644 --- a/service/kinesisanalytics/api_op_AddApplicationInputProcessingConfiguration.go +++ b/service/kinesisanalytics/api_op_AddApplicationInputProcessingConfiguration.go @@ -143,9 +143,6 @@ func (c *Client) addOperationAddApplicationInputProcessingConfigurationMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddApplicationInputProcessingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_AddApplicationOutput.go b/service/kinesisanalytics/api_op_AddApplicationOutput.go index d737131fd9a..6b6e886211a 100644 --- a/service/kinesisanalytics/api_op_AddApplicationOutput.go +++ b/service/kinesisanalytics/api_op_AddApplicationOutput.go @@ -156,9 +156,6 @@ func (c *Client) addOperationAddApplicationOutputMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddApplicationOutputValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_AddApplicationReferenceDataSource.go b/service/kinesisanalytics/api_op_AddApplicationReferenceDataSource.go index 2ef3f062d3b..9b00abd4779 100644 --- a/service/kinesisanalytics/api_op_AddApplicationReferenceDataSource.go +++ b/service/kinesisanalytics/api_op_AddApplicationReferenceDataSource.go @@ -148,9 +148,6 @@ func (c *Client) addOperationAddApplicationReferenceDataSourceMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddApplicationReferenceDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_CreateApplication.go b/service/kinesisanalytics/api_op_CreateApplication.go index 8c9654fec7c..4216af8fdf9 100644 --- a/service/kinesisanalytics/api_op_CreateApplication.go +++ b/service/kinesisanalytics/api_op_CreateApplication.go @@ -223,9 +223,6 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_DeleteApplication.go b/service/kinesisanalytics/api_op_DeleteApplication.go index 9b812c70db3..3a352ac896c 100644 --- a/service/kinesisanalytics/api_op_DeleteApplication.go +++ b/service/kinesisanalytics/api_op_DeleteApplication.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_DeleteApplicationCloudWatchLoggingOption.go b/service/kinesisanalytics/api_op_DeleteApplicationCloudWatchLoggingOption.go index 626d87eed8f..1cea3722fd7 100644 --- a/service/kinesisanalytics/api_op_DeleteApplicationCloudWatchLoggingOption.go +++ b/service/kinesisanalytics/api_op_DeleteApplicationCloudWatchLoggingOption.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDeleteApplicationCloudWatchLoggingOptionMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationCloudWatchLoggingOptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_DeleteApplicationInputProcessingConfiguration.go b/service/kinesisanalytics/api_op_DeleteApplicationInputProcessingConfiguration.go index 88cb2e022a8..22f6ccdf127 100644 --- a/service/kinesisanalytics/api_op_DeleteApplicationInputProcessingConfiguration.go +++ b/service/kinesisanalytics/api_op_DeleteApplicationInputProcessingConfiguration.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDeleteApplicationInputProcessingConfigurationMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationInputProcessingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_DeleteApplicationOutput.go b/service/kinesisanalytics/api_op_DeleteApplicationOutput.go index d7dd4b2f71a..9bf0789bd8d 100644 --- a/service/kinesisanalytics/api_op_DeleteApplicationOutput.go +++ b/service/kinesisanalytics/api_op_DeleteApplicationOutput.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDeleteApplicationOutputMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationOutputValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_DeleteApplicationReferenceDataSource.go b/service/kinesisanalytics/api_op_DeleteApplicationReferenceDataSource.go index 55b6e5d71d0..65ec5e3de8a 100644 --- a/service/kinesisanalytics/api_op_DeleteApplicationReferenceDataSource.go +++ b/service/kinesisanalytics/api_op_DeleteApplicationReferenceDataSource.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDeleteApplicationReferenceDataSourceMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationReferenceDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_DescribeApplication.go b/service/kinesisanalytics/api_op_DescribeApplication.go index 20422914b73..5543caaf9db 100644 --- a/service/kinesisanalytics/api_op_DescribeApplication.go +++ b/service/kinesisanalytics/api_op_DescribeApplication.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeApplicationMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_DiscoverInputSchema.go b/service/kinesisanalytics/api_op_DiscoverInputSchema.go index 3f2aae9a3a8..69dbb0404f4 100644 --- a/service/kinesisanalytics/api_op_DiscoverInputSchema.go +++ b/service/kinesisanalytics/api_op_DiscoverInputSchema.go @@ -157,9 +157,6 @@ func (c *Client) addOperationDiscoverInputSchemaMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDiscoverInputSchemaValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_ListApplications.go b/service/kinesisanalytics/api_op_ListApplications.go index 374cffbcd61..70aa2d10513 100644 --- a/service/kinesisanalytics/api_op_ListApplications.go +++ b/service/kinesisanalytics/api_op_ListApplications.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListApplicationsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplications(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_ListTagsForResource.go b/service/kinesisanalytics/api_op_ListTagsForResource.go index c4891236307..2c7b420f2e8 100644 --- a/service/kinesisanalytics/api_op_ListTagsForResource.go +++ b/service/kinesisanalytics/api_op_ListTagsForResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_StartApplication.go b/service/kinesisanalytics/api_op_StartApplication.go index 19934cb1035..bfafaf69700 100644 --- a/service/kinesisanalytics/api_op_StartApplication.go +++ b/service/kinesisanalytics/api_op_StartApplication.go @@ -136,9 +136,6 @@ func (c *Client) addOperationStartApplicationMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_StopApplication.go b/service/kinesisanalytics/api_op_StopApplication.go index 2b9e22d76ef..f3a09248db8 100644 --- a/service/kinesisanalytics/api_op_StopApplication.go +++ b/service/kinesisanalytics/api_op_StopApplication.go @@ -120,9 +120,6 @@ func (c *Client) addOperationStopApplicationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_TagResource.go b/service/kinesisanalytics/api_op_TagResource.go index 2b5a75acdc8..194c58a2c15 100644 --- a/service/kinesisanalytics/api_op_TagResource.go +++ b/service/kinesisanalytics/api_op_TagResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_UntagResource.go b/service/kinesisanalytics/api_op_UntagResource.go index 224b1b63c8e..d5264481e38 100644 --- a/service/kinesisanalytics/api_op_UntagResource.go +++ b/service/kinesisanalytics/api_op_UntagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/api_op_UpdateApplication.go b/service/kinesisanalytics/api_op_UpdateApplication.go index e4363a3b03a..bfb68b4bf43 100644 --- a/service/kinesisanalytics/api_op_UpdateApplication.go +++ b/service/kinesisanalytics/api_op_UpdateApplication.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalytics/snapshot/api_op_AddApplicationCloudWatchLoggingOption.go.snap b/service/kinesisanalytics/snapshot/api_op_AddApplicationCloudWatchLoggingOption.go.snap index 30c81c81514..d6f23d32a49 100644 --- a/service/kinesisanalytics/snapshot/api_op_AddApplicationCloudWatchLoggingOption.go.snap +++ b/service/kinesisanalytics/snapshot/api_op_AddApplicationCloudWatchLoggingOption.go.snap @@ -14,7 +14,6 @@ AddApplicationCloudWatchLoggingOption Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalytics/snapshot/api_op_AddApplicationInput.go.snap b/service/kinesisanalytics/snapshot/api_op_AddApplicationInput.go.snap index 0dc893acc3b..37ded021eff 100644 --- a/service/kinesisanalytics/snapshot/api_op_AddApplicationInput.go.snap +++ b/service/kinesisanalytics/snapshot/api_op_AddApplicationInput.go.snap @@ -14,7 +14,6 @@ AddApplicationInput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalytics/snapshot/api_op_AddApplicationInputProcessingConfiguration.go.snap b/service/kinesisanalytics/snapshot/api_op_AddApplicationInputProcessingConfiguration.go.snap index 57ebf845e67..1ef16dfbc47 100644 --- a/service/kinesisanalytics/snapshot/api_op_AddApplicationInputProcessingConfiguration.go.snap +++ b/service/kinesisanalytics/snapshot/api_op_AddApplicationInputProcessingConfiguration.go.snap @@ -14,7 +14,6 @@ AddApplicationInputProcessingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalytics/snapshot/api_op_AddApplicationOutput.go.snap b/service/kinesisanalytics/snapshot/api_op_AddApplicationOutput.go.snap index 1e0d4691981..f13e76066e4 100644 --- a/service/kinesisanalytics/snapshot/api_op_AddApplicationOutput.go.snap +++ b/service/kinesisanalytics/snapshot/api_op_AddApplicationOutput.go.snap @@ -14,7 +14,6 @@ AddApplicationOutput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalytics/snapshot/api_op_AddApplicationReferenceDataSource.go.snap b/service/kinesisanalytics/snapshot/api_op_AddApplicationReferenceDataSource.go.snap index 6ac6d7e88b9..4ad359dffd7 100644 --- a/service/kinesisanalytics/snapshot/api_op_AddApplicationReferenceDataSource.go.snap +++ b/service/kinesisanalytics/snapshot/api_op_AddApplicationReferenceDataSource.go.snap @@ -14,7 +14,6 @@ AddApplicationReferenceDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalytics/snapshot/api_op_CreateApplication.go.snap b/service/kinesisanalytics/snapshot/api_op_CreateApplication.go.snap index 503ca240c75..7174d11f956 100644 --- a/service/kinesisanalytics/snapshot/api_op_CreateApplication.go.snap +++ b/service/kinesisanalytics/snapshot/api_op_CreateApplication.go.snap @@ -14,7 +14,6 @@ CreateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalytics/snapshot/api_op_DeleteApplication.go.snap b/service/kinesisanalytics/snapshot/api_op_DeleteApplication.go.snap index 80790355ed5..ffda37a527f 100644 --- a/service/kinesisanalytics/snapshot/api_op_DeleteApplication.go.snap +++ b/service/kinesisanalytics/snapshot/api_op_DeleteApplication.go.snap @@ -14,7 +14,6 @@ DeleteApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalytics/snapshot/api_op_DeleteApplicationCloudWatchLoggingOption.go.snap b/service/kinesisanalytics/snapshot/api_op_DeleteApplicationCloudWatchLoggingOption.go.snap index 7f46aacf2a0..8cffd1cf157 100644 --- a/service/kinesisanalytics/snapshot/api_op_DeleteApplicationCloudWatchLoggingOption.go.snap +++ b/service/kinesisanalytics/snapshot/api_op_DeleteApplicationCloudWatchLoggingOption.go.snap @@ -14,7 +14,6 @@ DeleteApplicationCloudWatchLoggingOption Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalytics/snapshot/api_op_DeleteApplicationInputProcessingConfiguration.go.snap b/service/kinesisanalytics/snapshot/api_op_DeleteApplicationInputProcessingConfiguration.go.snap index 5b6b09be9ed..83bf5782d81 100644 --- a/service/kinesisanalytics/snapshot/api_op_DeleteApplicationInputProcessingConfiguration.go.snap +++ b/service/kinesisanalytics/snapshot/api_op_DeleteApplicationInputProcessingConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteApplicationInputProcessingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalytics/snapshot/api_op_DeleteApplicationOutput.go.snap b/service/kinesisanalytics/snapshot/api_op_DeleteApplicationOutput.go.snap index 7cfbd63ab90..666fe797745 100644 --- a/service/kinesisanalytics/snapshot/api_op_DeleteApplicationOutput.go.snap +++ b/service/kinesisanalytics/snapshot/api_op_DeleteApplicationOutput.go.snap @@ -14,7 +14,6 @@ DeleteApplicationOutput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalytics/snapshot/api_op_DeleteApplicationReferenceDataSource.go.snap b/service/kinesisanalytics/snapshot/api_op_DeleteApplicationReferenceDataSource.go.snap index 2705bdb7b98..0a567373773 100644 --- a/service/kinesisanalytics/snapshot/api_op_DeleteApplicationReferenceDataSource.go.snap +++ b/service/kinesisanalytics/snapshot/api_op_DeleteApplicationReferenceDataSource.go.snap @@ -14,7 +14,6 @@ DeleteApplicationReferenceDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalytics/snapshot/api_op_DescribeApplication.go.snap b/service/kinesisanalytics/snapshot/api_op_DescribeApplication.go.snap index 9e58fc0215e..c6fbc3e201d 100644 --- a/service/kinesisanalytics/snapshot/api_op_DescribeApplication.go.snap +++ b/service/kinesisanalytics/snapshot/api_op_DescribeApplication.go.snap @@ -14,7 +14,6 @@ DescribeApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalytics/snapshot/api_op_DiscoverInputSchema.go.snap b/service/kinesisanalytics/snapshot/api_op_DiscoverInputSchema.go.snap index d4a0e186add..db02de24604 100644 --- a/service/kinesisanalytics/snapshot/api_op_DiscoverInputSchema.go.snap +++ b/service/kinesisanalytics/snapshot/api_op_DiscoverInputSchema.go.snap @@ -14,7 +14,6 @@ DiscoverInputSchema Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalytics/snapshot/api_op_ListApplications.go.snap b/service/kinesisanalytics/snapshot/api_op_ListApplications.go.snap index e18746bd34f..6029195b8e8 100644 --- a/service/kinesisanalytics/snapshot/api_op_ListApplications.go.snap +++ b/service/kinesisanalytics/snapshot/api_op_ListApplications.go.snap @@ -13,7 +13,6 @@ ListApplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalytics/snapshot/api_op_ListTagsForResource.go.snap b/service/kinesisanalytics/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/kinesisanalytics/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/kinesisanalytics/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalytics/snapshot/api_op_StartApplication.go.snap b/service/kinesisanalytics/snapshot/api_op_StartApplication.go.snap index 087fe7e240e..0c8b124a191 100644 --- a/service/kinesisanalytics/snapshot/api_op_StartApplication.go.snap +++ b/service/kinesisanalytics/snapshot/api_op_StartApplication.go.snap @@ -14,7 +14,6 @@ StartApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalytics/snapshot/api_op_StopApplication.go.snap b/service/kinesisanalytics/snapshot/api_op_StopApplication.go.snap index 07b94172772..5c9540921f9 100644 --- a/service/kinesisanalytics/snapshot/api_op_StopApplication.go.snap +++ b/service/kinesisanalytics/snapshot/api_op_StopApplication.go.snap @@ -14,7 +14,6 @@ StopApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalytics/snapshot/api_op_TagResource.go.snap b/service/kinesisanalytics/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/kinesisanalytics/snapshot/api_op_TagResource.go.snap +++ b/service/kinesisanalytics/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalytics/snapshot/api_op_UntagResource.go.snap b/service/kinesisanalytics/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/kinesisanalytics/snapshot/api_op_UntagResource.go.snap +++ b/service/kinesisanalytics/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalytics/snapshot/api_op_UpdateApplication.go.snap b/service/kinesisanalytics/snapshot/api_op_UpdateApplication.go.snap index 5ec4c02edff..d4e2fa4991a 100644 --- a/service/kinesisanalytics/snapshot/api_op_UpdateApplication.go.snap +++ b/service/kinesisanalytics/snapshot/api_op_UpdateApplication.go.snap @@ -14,7 +14,6 @@ UpdateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalyticsv2/api_client.go b/service/kinesisanalyticsv2/api_client.go index dd5ea093add..b88091c505a 100644 --- a/service/kinesisanalyticsv2/api_client.go +++ b/service/kinesisanalyticsv2/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/kinesisanalyticsv2/api_op_AddApplicationCloudWatchLoggingOption.go b/service/kinesisanalyticsv2/api_op_AddApplicationCloudWatchLoggingOption.go index 154ccd7cf2a..d4fb082c81e 100644 --- a/service/kinesisanalyticsv2/api_op_AddApplicationCloudWatchLoggingOption.go +++ b/service/kinesisanalyticsv2/api_op_AddApplicationCloudWatchLoggingOption.go @@ -143,9 +143,6 @@ func (c *Client) addOperationAddApplicationCloudWatchLoggingOptionMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddApplicationCloudWatchLoggingOptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_AddApplicationInput.go b/service/kinesisanalyticsv2/api_op_AddApplicationInput.go index 9a700e4e5ad..53df1c41d6f 100644 --- a/service/kinesisanalyticsv2/api_op_AddApplicationInput.go +++ b/service/kinesisanalyticsv2/api_op_AddApplicationInput.go @@ -139,9 +139,6 @@ func (c *Client) addOperationAddApplicationInputMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddApplicationInputValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_AddApplicationInputProcessingConfiguration.go b/service/kinesisanalyticsv2/api_op_AddApplicationInputProcessingConfiguration.go index b2dcd7ba6e1..62141a89c92 100644 --- a/service/kinesisanalyticsv2/api_op_AddApplicationInputProcessingConfiguration.go +++ b/service/kinesisanalyticsv2/api_op_AddApplicationInputProcessingConfiguration.go @@ -148,9 +148,6 @@ func (c *Client) addOperationAddApplicationInputProcessingConfigurationMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddApplicationInputProcessingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_AddApplicationOutput.go b/service/kinesisanalyticsv2/api_op_AddApplicationOutput.go index 6e4fd8d269f..7bedee890d0 100644 --- a/service/kinesisanalyticsv2/api_op_AddApplicationOutput.go +++ b/service/kinesisanalyticsv2/api_op_AddApplicationOutput.go @@ -154,9 +154,6 @@ func (c *Client) addOperationAddApplicationOutputMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddApplicationOutputValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_AddApplicationReferenceDataSource.go b/service/kinesisanalyticsv2/api_op_AddApplicationReferenceDataSource.go index d0fb1f89d0e..0dab883673c 100644 --- a/service/kinesisanalyticsv2/api_op_AddApplicationReferenceDataSource.go +++ b/service/kinesisanalyticsv2/api_op_AddApplicationReferenceDataSource.go @@ -143,9 +143,6 @@ func (c *Client) addOperationAddApplicationReferenceDataSourceMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddApplicationReferenceDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_AddApplicationVpcConfiguration.go b/service/kinesisanalyticsv2/api_op_AddApplicationVpcConfiguration.go index 7ef3cb14ca3..2c3df668641 100644 --- a/service/kinesisanalyticsv2/api_op_AddApplicationVpcConfiguration.go +++ b/service/kinesisanalyticsv2/api_op_AddApplicationVpcConfiguration.go @@ -151,9 +151,6 @@ func (c *Client) addOperationAddApplicationVpcConfigurationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddApplicationVpcConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_CreateApplication.go b/service/kinesisanalyticsv2/api_op_CreateApplication.go index 1510600d828..13d0a053fdd 100644 --- a/service/kinesisanalyticsv2/api_op_CreateApplication.go +++ b/service/kinesisanalyticsv2/api_op_CreateApplication.go @@ -152,9 +152,6 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_CreateApplicationPresignedUrl.go b/service/kinesisanalyticsv2/api_op_CreateApplicationPresignedUrl.go index 5ff6a79bcdd..c9b7319a292 100644 --- a/service/kinesisanalyticsv2/api_op_CreateApplicationPresignedUrl.go +++ b/service/kinesisanalyticsv2/api_op_CreateApplicationPresignedUrl.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateApplicationPresignedUrlMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateApplicationPresignedUrlValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_CreateApplicationSnapshot.go b/service/kinesisanalyticsv2/api_op_CreateApplicationSnapshot.go index 9639f32dc75..3bdc8a57224 100644 --- a/service/kinesisanalyticsv2/api_op_CreateApplicationSnapshot.go +++ b/service/kinesisanalyticsv2/api_op_CreateApplicationSnapshot.go @@ -112,9 +112,6 @@ func (c *Client) addOperationCreateApplicationSnapshotMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateApplicationSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_DeleteApplication.go b/service/kinesisanalyticsv2/api_op_DeleteApplication.go index 7e4a51c06d5..54984d7b703 100644 --- a/service/kinesisanalyticsv2/api_op_DeleteApplication.go +++ b/service/kinesisanalyticsv2/api_op_DeleteApplication.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_DeleteApplicationCloudWatchLoggingOption.go b/service/kinesisanalyticsv2/api_op_DeleteApplicationCloudWatchLoggingOption.go index 3bd99edea0d..8bea4d0706a 100644 --- a/service/kinesisanalyticsv2/api_op_DeleteApplicationCloudWatchLoggingOption.go +++ b/service/kinesisanalyticsv2/api_op_DeleteApplicationCloudWatchLoggingOption.go @@ -143,9 +143,6 @@ func (c *Client) addOperationDeleteApplicationCloudWatchLoggingOptionMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationCloudWatchLoggingOptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_DeleteApplicationInputProcessingConfiguration.go b/service/kinesisanalyticsv2/api_op_DeleteApplicationInputProcessingConfiguration.go index 1754d033820..628041df2d2 100644 --- a/service/kinesisanalyticsv2/api_op_DeleteApplicationInputProcessingConfiguration.go +++ b/service/kinesisanalyticsv2/api_op_DeleteApplicationInputProcessingConfiguration.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteApplicationInputProcessingConfigurationMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationInputProcessingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_DeleteApplicationOutput.go b/service/kinesisanalyticsv2/api_op_DeleteApplicationOutput.go index a9152e3ada9..49db23eecaa 100644 --- a/service/kinesisanalyticsv2/api_op_DeleteApplicationOutput.go +++ b/service/kinesisanalyticsv2/api_op_DeleteApplicationOutput.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDeleteApplicationOutputMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationOutputValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_DeleteApplicationReferenceDataSource.go b/service/kinesisanalyticsv2/api_op_DeleteApplicationReferenceDataSource.go index c85b9a715f6..72c397eafbe 100644 --- a/service/kinesisanalyticsv2/api_op_DeleteApplicationReferenceDataSource.go +++ b/service/kinesisanalyticsv2/api_op_DeleteApplicationReferenceDataSource.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDeleteApplicationReferenceDataSourceMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationReferenceDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_DeleteApplicationSnapshot.go b/service/kinesisanalyticsv2/api_op_DeleteApplicationSnapshot.go index 48b15f0f9c2..d04727ff309 100644 --- a/service/kinesisanalyticsv2/api_op_DeleteApplicationSnapshot.go +++ b/service/kinesisanalyticsv2/api_op_DeleteApplicationSnapshot.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteApplicationSnapshotMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_DeleteApplicationVpcConfiguration.go b/service/kinesisanalyticsv2/api_op_DeleteApplicationVpcConfiguration.go index 09ea48fbd93..6c5b56b2a9c 100644 --- a/service/kinesisanalyticsv2/api_op_DeleteApplicationVpcConfiguration.go +++ b/service/kinesisanalyticsv2/api_op_DeleteApplicationVpcConfiguration.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDeleteApplicationVpcConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationVpcConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_DescribeApplication.go b/service/kinesisanalyticsv2/api_op_DescribeApplication.go index fb6082c1da4..4c433bedaf1 100644 --- a/service/kinesisanalyticsv2/api_op_DescribeApplication.go +++ b/service/kinesisanalyticsv2/api_op_DescribeApplication.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeApplicationMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_DescribeApplicationOperation.go b/service/kinesisanalyticsv2/api_op_DescribeApplicationOperation.go index 53314f574f6..57e116dc70c 100644 --- a/service/kinesisanalyticsv2/api_op_DescribeApplicationOperation.go +++ b/service/kinesisanalyticsv2/api_op_DescribeApplicationOperation.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeApplicationOperationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeApplicationOperationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_DescribeApplicationSnapshot.go b/service/kinesisanalyticsv2/api_op_DescribeApplicationSnapshot.go index 6b1a777b311..1c22ae87201 100644 --- a/service/kinesisanalyticsv2/api_op_DescribeApplicationSnapshot.go +++ b/service/kinesisanalyticsv2/api_op_DescribeApplicationSnapshot.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeApplicationSnapshotMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeApplicationSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_DescribeApplicationVersion.go b/service/kinesisanalyticsv2/api_op_DescribeApplicationVersion.go index c0e91519c5f..209769b2161 100644 --- a/service/kinesisanalyticsv2/api_op_DescribeApplicationVersion.go +++ b/service/kinesisanalyticsv2/api_op_DescribeApplicationVersion.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeApplicationVersionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeApplicationVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_DiscoverInputSchema.go b/service/kinesisanalyticsv2/api_op_DiscoverInputSchema.go index d981cbe8a95..a3bd5ba00f0 100644 --- a/service/kinesisanalyticsv2/api_op_DiscoverInputSchema.go +++ b/service/kinesisanalyticsv2/api_op_DiscoverInputSchema.go @@ -148,9 +148,6 @@ func (c *Client) addOperationDiscoverInputSchemaMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDiscoverInputSchemaValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_ListApplicationOperations.go b/service/kinesisanalyticsv2/api_op_ListApplicationOperations.go index e8c518f6238..522ce5f54b5 100644 --- a/service/kinesisanalyticsv2/api_op_ListApplicationOperations.go +++ b/service/kinesisanalyticsv2/api_op_ListApplicationOperations.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListApplicationOperationsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListApplicationOperationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_ListApplicationSnapshots.go b/service/kinesisanalyticsv2/api_op_ListApplicationSnapshots.go index e6bac4f9f67..d97fb702eb8 100644 --- a/service/kinesisanalyticsv2/api_op_ListApplicationSnapshots.go +++ b/service/kinesisanalyticsv2/api_op_ListApplicationSnapshots.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListApplicationSnapshotsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListApplicationSnapshotsValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_ListApplicationVersions.go b/service/kinesisanalyticsv2/api_op_ListApplicationVersions.go index 2e0981e6288..654f8c61999 100644 --- a/service/kinesisanalyticsv2/api_op_ListApplicationVersions.go +++ b/service/kinesisanalyticsv2/api_op_ListApplicationVersions.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListApplicationVersionsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListApplicationVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_ListApplications.go b/service/kinesisanalyticsv2/api_op_ListApplications.go index 92647b07b90..f5d1c587cf9 100644 --- a/service/kinesisanalyticsv2/api_op_ListApplications.go +++ b/service/kinesisanalyticsv2/api_op_ListApplications.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListApplicationsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplications(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_ListTagsForResource.go b/service/kinesisanalyticsv2/api_op_ListTagsForResource.go index bcbf1455679..ade139d3372 100644 --- a/service/kinesisanalyticsv2/api_op_ListTagsForResource.go +++ b/service/kinesisanalyticsv2/api_op_ListTagsForResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_RollbackApplication.go b/service/kinesisanalyticsv2/api_op_RollbackApplication.go index 69db45d9327..05f32177907 100644 --- a/service/kinesisanalyticsv2/api_op_RollbackApplication.go +++ b/service/kinesisanalyticsv2/api_op_RollbackApplication.go @@ -133,9 +133,6 @@ func (c *Client) addOperationRollbackApplicationMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRollbackApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_StartApplication.go b/service/kinesisanalyticsv2/api_op_StartApplication.go index e997df25995..c281b984846 100644 --- a/service/kinesisanalyticsv2/api_op_StartApplication.go +++ b/service/kinesisanalyticsv2/api_op_StartApplication.go @@ -118,9 +118,6 @@ func (c *Client) addOperationStartApplicationMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_StopApplication.go b/service/kinesisanalyticsv2/api_op_StopApplication.go index 6a9cc4c39c6..563cb12cf0f 100644 --- a/service/kinesisanalyticsv2/api_op_StopApplication.go +++ b/service/kinesisanalyticsv2/api_op_StopApplication.go @@ -131,9 +131,6 @@ func (c *Client) addOperationStopApplicationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_TagResource.go b/service/kinesisanalyticsv2/api_op_TagResource.go index 43c2d1c3326..35fcea12dca 100644 --- a/service/kinesisanalyticsv2/api_op_TagResource.go +++ b/service/kinesisanalyticsv2/api_op_TagResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_UntagResource.go b/service/kinesisanalyticsv2/api_op_UntagResource.go index aae758ab282..a1da64fc9aa 100644 --- a/service/kinesisanalyticsv2/api_op_UntagResource.go +++ b/service/kinesisanalyticsv2/api_op_UntagResource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_UpdateApplication.go b/service/kinesisanalyticsv2/api_op_UpdateApplication.go index 3771904dec9..c453c0e3bff 100644 --- a/service/kinesisanalyticsv2/api_op_UpdateApplication.go +++ b/service/kinesisanalyticsv2/api_op_UpdateApplication.go @@ -159,9 +159,6 @@ func (c *Client) addOperationUpdateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/api_op_UpdateApplicationMaintenanceConfiguration.go b/service/kinesisanalyticsv2/api_op_UpdateApplicationMaintenanceConfiguration.go index 87fa0439b62..b9ece63b6f1 100644 --- a/service/kinesisanalyticsv2/api_op_UpdateApplicationMaintenanceConfiguration.go +++ b/service/kinesisanalyticsv2/api_op_UpdateApplicationMaintenanceConfiguration.go @@ -142,9 +142,6 @@ func (c *Client) addOperationUpdateApplicationMaintenanceConfigurationMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApplicationMaintenanceConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisanalyticsv2/snapshot/api_op_AddApplicationCloudWatchLoggingOption.go.snap b/service/kinesisanalyticsv2/snapshot/api_op_AddApplicationCloudWatchLoggingOption.go.snap index 30c81c81514..d6f23d32a49 100644 --- a/service/kinesisanalyticsv2/snapshot/api_op_AddApplicationCloudWatchLoggingOption.go.snap +++ b/service/kinesisanalyticsv2/snapshot/api_op_AddApplicationCloudWatchLoggingOption.go.snap @@ -14,7 +14,6 @@ AddApplicationCloudWatchLoggingOption Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalyticsv2/snapshot/api_op_AddApplicationInput.go.snap b/service/kinesisanalyticsv2/snapshot/api_op_AddApplicationInput.go.snap index 0dc893acc3b..37ded021eff 100644 --- a/service/kinesisanalyticsv2/snapshot/api_op_AddApplicationInput.go.snap +++ b/service/kinesisanalyticsv2/snapshot/api_op_AddApplicationInput.go.snap @@ -14,7 +14,6 @@ AddApplicationInput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalyticsv2/snapshot/api_op_AddApplicationInputProcessingConfiguration.go.snap b/service/kinesisanalyticsv2/snapshot/api_op_AddApplicationInputProcessingConfiguration.go.snap index 57ebf845e67..1ef16dfbc47 100644 --- a/service/kinesisanalyticsv2/snapshot/api_op_AddApplicationInputProcessingConfiguration.go.snap +++ b/service/kinesisanalyticsv2/snapshot/api_op_AddApplicationInputProcessingConfiguration.go.snap @@ -14,7 +14,6 @@ AddApplicationInputProcessingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalyticsv2/snapshot/api_op_AddApplicationOutput.go.snap b/service/kinesisanalyticsv2/snapshot/api_op_AddApplicationOutput.go.snap index 1e0d4691981..f13e76066e4 100644 --- a/service/kinesisanalyticsv2/snapshot/api_op_AddApplicationOutput.go.snap +++ b/service/kinesisanalyticsv2/snapshot/api_op_AddApplicationOutput.go.snap @@ -14,7 +14,6 @@ AddApplicationOutput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalyticsv2/snapshot/api_op_AddApplicationReferenceDataSource.go.snap b/service/kinesisanalyticsv2/snapshot/api_op_AddApplicationReferenceDataSource.go.snap index 6ac6d7e88b9..4ad359dffd7 100644 --- a/service/kinesisanalyticsv2/snapshot/api_op_AddApplicationReferenceDataSource.go.snap +++ b/service/kinesisanalyticsv2/snapshot/api_op_AddApplicationReferenceDataSource.go.snap @@ -14,7 +14,6 @@ AddApplicationReferenceDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalyticsv2/snapshot/api_op_AddApplicationVpcConfiguration.go.snap b/service/kinesisanalyticsv2/snapshot/api_op_AddApplicationVpcConfiguration.go.snap index dde65e5c830..54e300eecd8 100644 --- a/service/kinesisanalyticsv2/snapshot/api_op_AddApplicationVpcConfiguration.go.snap +++ b/service/kinesisanalyticsv2/snapshot/api_op_AddApplicationVpcConfiguration.go.snap @@ -14,7 +14,6 @@ AddApplicationVpcConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalyticsv2/snapshot/api_op_CreateApplication.go.snap b/service/kinesisanalyticsv2/snapshot/api_op_CreateApplication.go.snap index 503ca240c75..7174d11f956 100644 --- a/service/kinesisanalyticsv2/snapshot/api_op_CreateApplication.go.snap +++ b/service/kinesisanalyticsv2/snapshot/api_op_CreateApplication.go.snap @@ -14,7 +14,6 @@ CreateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalyticsv2/snapshot/api_op_CreateApplicationPresignedUrl.go.snap b/service/kinesisanalyticsv2/snapshot/api_op_CreateApplicationPresignedUrl.go.snap index facf77afb49..13c12031d48 100644 --- a/service/kinesisanalyticsv2/snapshot/api_op_CreateApplicationPresignedUrl.go.snap +++ b/service/kinesisanalyticsv2/snapshot/api_op_CreateApplicationPresignedUrl.go.snap @@ -14,7 +14,6 @@ CreateApplicationPresignedUrl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalyticsv2/snapshot/api_op_CreateApplicationSnapshot.go.snap b/service/kinesisanalyticsv2/snapshot/api_op_CreateApplicationSnapshot.go.snap index 710f854e2f7..7db8c0dbff0 100644 --- a/service/kinesisanalyticsv2/snapshot/api_op_CreateApplicationSnapshot.go.snap +++ b/service/kinesisanalyticsv2/snapshot/api_op_CreateApplicationSnapshot.go.snap @@ -14,7 +14,6 @@ CreateApplicationSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalyticsv2/snapshot/api_op_DeleteApplication.go.snap b/service/kinesisanalyticsv2/snapshot/api_op_DeleteApplication.go.snap index 80790355ed5..ffda37a527f 100644 --- a/service/kinesisanalyticsv2/snapshot/api_op_DeleteApplication.go.snap +++ b/service/kinesisanalyticsv2/snapshot/api_op_DeleteApplication.go.snap @@ -14,7 +14,6 @@ DeleteApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalyticsv2/snapshot/api_op_DeleteApplicationCloudWatchLoggingOption.go.snap b/service/kinesisanalyticsv2/snapshot/api_op_DeleteApplicationCloudWatchLoggingOption.go.snap index 7f46aacf2a0..8cffd1cf157 100644 --- a/service/kinesisanalyticsv2/snapshot/api_op_DeleteApplicationCloudWatchLoggingOption.go.snap +++ b/service/kinesisanalyticsv2/snapshot/api_op_DeleteApplicationCloudWatchLoggingOption.go.snap @@ -14,7 +14,6 @@ DeleteApplicationCloudWatchLoggingOption Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalyticsv2/snapshot/api_op_DeleteApplicationInputProcessingConfiguration.go.snap b/service/kinesisanalyticsv2/snapshot/api_op_DeleteApplicationInputProcessingConfiguration.go.snap index 5b6b09be9ed..83bf5782d81 100644 --- a/service/kinesisanalyticsv2/snapshot/api_op_DeleteApplicationInputProcessingConfiguration.go.snap +++ b/service/kinesisanalyticsv2/snapshot/api_op_DeleteApplicationInputProcessingConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteApplicationInputProcessingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalyticsv2/snapshot/api_op_DeleteApplicationOutput.go.snap b/service/kinesisanalyticsv2/snapshot/api_op_DeleteApplicationOutput.go.snap index 7cfbd63ab90..666fe797745 100644 --- a/service/kinesisanalyticsv2/snapshot/api_op_DeleteApplicationOutput.go.snap +++ b/service/kinesisanalyticsv2/snapshot/api_op_DeleteApplicationOutput.go.snap @@ -14,7 +14,6 @@ DeleteApplicationOutput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalyticsv2/snapshot/api_op_DeleteApplicationReferenceDataSource.go.snap b/service/kinesisanalyticsv2/snapshot/api_op_DeleteApplicationReferenceDataSource.go.snap index 2705bdb7b98..0a567373773 100644 --- a/service/kinesisanalyticsv2/snapshot/api_op_DeleteApplicationReferenceDataSource.go.snap +++ b/service/kinesisanalyticsv2/snapshot/api_op_DeleteApplicationReferenceDataSource.go.snap @@ -14,7 +14,6 @@ DeleteApplicationReferenceDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalyticsv2/snapshot/api_op_DeleteApplicationSnapshot.go.snap b/service/kinesisanalyticsv2/snapshot/api_op_DeleteApplicationSnapshot.go.snap index df79ba43717..f43126f49e2 100644 --- a/service/kinesisanalyticsv2/snapshot/api_op_DeleteApplicationSnapshot.go.snap +++ b/service/kinesisanalyticsv2/snapshot/api_op_DeleteApplicationSnapshot.go.snap @@ -14,7 +14,6 @@ DeleteApplicationSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalyticsv2/snapshot/api_op_DeleteApplicationVpcConfiguration.go.snap b/service/kinesisanalyticsv2/snapshot/api_op_DeleteApplicationVpcConfiguration.go.snap index a7ee2d67e5b..4a6c6a55896 100644 --- a/service/kinesisanalyticsv2/snapshot/api_op_DeleteApplicationVpcConfiguration.go.snap +++ b/service/kinesisanalyticsv2/snapshot/api_op_DeleteApplicationVpcConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteApplicationVpcConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalyticsv2/snapshot/api_op_DescribeApplication.go.snap b/service/kinesisanalyticsv2/snapshot/api_op_DescribeApplication.go.snap index 9e58fc0215e..c6fbc3e201d 100644 --- a/service/kinesisanalyticsv2/snapshot/api_op_DescribeApplication.go.snap +++ b/service/kinesisanalyticsv2/snapshot/api_op_DescribeApplication.go.snap @@ -14,7 +14,6 @@ DescribeApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalyticsv2/snapshot/api_op_DescribeApplicationOperation.go.snap b/service/kinesisanalyticsv2/snapshot/api_op_DescribeApplicationOperation.go.snap index 8938ff752bb..7403be81eee 100644 --- a/service/kinesisanalyticsv2/snapshot/api_op_DescribeApplicationOperation.go.snap +++ b/service/kinesisanalyticsv2/snapshot/api_op_DescribeApplicationOperation.go.snap @@ -14,7 +14,6 @@ DescribeApplicationOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalyticsv2/snapshot/api_op_DescribeApplicationSnapshot.go.snap b/service/kinesisanalyticsv2/snapshot/api_op_DescribeApplicationSnapshot.go.snap index e421a67a472..5de829fc030 100644 --- a/service/kinesisanalyticsv2/snapshot/api_op_DescribeApplicationSnapshot.go.snap +++ b/service/kinesisanalyticsv2/snapshot/api_op_DescribeApplicationSnapshot.go.snap @@ -14,7 +14,6 @@ DescribeApplicationSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalyticsv2/snapshot/api_op_DescribeApplicationVersion.go.snap b/service/kinesisanalyticsv2/snapshot/api_op_DescribeApplicationVersion.go.snap index 955ea867f74..6d351883b59 100644 --- a/service/kinesisanalyticsv2/snapshot/api_op_DescribeApplicationVersion.go.snap +++ b/service/kinesisanalyticsv2/snapshot/api_op_DescribeApplicationVersion.go.snap @@ -14,7 +14,6 @@ DescribeApplicationVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalyticsv2/snapshot/api_op_DiscoverInputSchema.go.snap b/service/kinesisanalyticsv2/snapshot/api_op_DiscoverInputSchema.go.snap index d4a0e186add..db02de24604 100644 --- a/service/kinesisanalyticsv2/snapshot/api_op_DiscoverInputSchema.go.snap +++ b/service/kinesisanalyticsv2/snapshot/api_op_DiscoverInputSchema.go.snap @@ -14,7 +14,6 @@ DiscoverInputSchema Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalyticsv2/snapshot/api_op_ListApplicationOperations.go.snap b/service/kinesisanalyticsv2/snapshot/api_op_ListApplicationOperations.go.snap index 56c69706f83..aeeab6795d2 100644 --- a/service/kinesisanalyticsv2/snapshot/api_op_ListApplicationOperations.go.snap +++ b/service/kinesisanalyticsv2/snapshot/api_op_ListApplicationOperations.go.snap @@ -14,7 +14,6 @@ ListApplicationOperations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalyticsv2/snapshot/api_op_ListApplicationSnapshots.go.snap b/service/kinesisanalyticsv2/snapshot/api_op_ListApplicationSnapshots.go.snap index d630c1e50b4..3926fed028f 100644 --- a/service/kinesisanalyticsv2/snapshot/api_op_ListApplicationSnapshots.go.snap +++ b/service/kinesisanalyticsv2/snapshot/api_op_ListApplicationSnapshots.go.snap @@ -14,7 +14,6 @@ ListApplicationSnapshots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalyticsv2/snapshot/api_op_ListApplicationVersions.go.snap b/service/kinesisanalyticsv2/snapshot/api_op_ListApplicationVersions.go.snap index 84ef074f555..4c84b5d18d0 100644 --- a/service/kinesisanalyticsv2/snapshot/api_op_ListApplicationVersions.go.snap +++ b/service/kinesisanalyticsv2/snapshot/api_op_ListApplicationVersions.go.snap @@ -14,7 +14,6 @@ ListApplicationVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalyticsv2/snapshot/api_op_ListApplications.go.snap b/service/kinesisanalyticsv2/snapshot/api_op_ListApplications.go.snap index e18746bd34f..6029195b8e8 100644 --- a/service/kinesisanalyticsv2/snapshot/api_op_ListApplications.go.snap +++ b/service/kinesisanalyticsv2/snapshot/api_op_ListApplications.go.snap @@ -13,7 +13,6 @@ ListApplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalyticsv2/snapshot/api_op_ListTagsForResource.go.snap b/service/kinesisanalyticsv2/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/kinesisanalyticsv2/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/kinesisanalyticsv2/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalyticsv2/snapshot/api_op_RollbackApplication.go.snap b/service/kinesisanalyticsv2/snapshot/api_op_RollbackApplication.go.snap index 84d42501dd7..a3b4a58cb59 100644 --- a/service/kinesisanalyticsv2/snapshot/api_op_RollbackApplication.go.snap +++ b/service/kinesisanalyticsv2/snapshot/api_op_RollbackApplication.go.snap @@ -14,7 +14,6 @@ RollbackApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalyticsv2/snapshot/api_op_StartApplication.go.snap b/service/kinesisanalyticsv2/snapshot/api_op_StartApplication.go.snap index 087fe7e240e..0c8b124a191 100644 --- a/service/kinesisanalyticsv2/snapshot/api_op_StartApplication.go.snap +++ b/service/kinesisanalyticsv2/snapshot/api_op_StartApplication.go.snap @@ -14,7 +14,6 @@ StartApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalyticsv2/snapshot/api_op_StopApplication.go.snap b/service/kinesisanalyticsv2/snapshot/api_op_StopApplication.go.snap index 07b94172772..5c9540921f9 100644 --- a/service/kinesisanalyticsv2/snapshot/api_op_StopApplication.go.snap +++ b/service/kinesisanalyticsv2/snapshot/api_op_StopApplication.go.snap @@ -14,7 +14,6 @@ StopApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalyticsv2/snapshot/api_op_TagResource.go.snap b/service/kinesisanalyticsv2/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/kinesisanalyticsv2/snapshot/api_op_TagResource.go.snap +++ b/service/kinesisanalyticsv2/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalyticsv2/snapshot/api_op_UntagResource.go.snap b/service/kinesisanalyticsv2/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/kinesisanalyticsv2/snapshot/api_op_UntagResource.go.snap +++ b/service/kinesisanalyticsv2/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalyticsv2/snapshot/api_op_UpdateApplication.go.snap b/service/kinesisanalyticsv2/snapshot/api_op_UpdateApplication.go.snap index 5ec4c02edff..d4e2fa4991a 100644 --- a/service/kinesisanalyticsv2/snapshot/api_op_UpdateApplication.go.snap +++ b/service/kinesisanalyticsv2/snapshot/api_op_UpdateApplication.go.snap @@ -14,7 +14,6 @@ UpdateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisanalyticsv2/snapshot/api_op_UpdateApplicationMaintenanceConfiguration.go.snap b/service/kinesisanalyticsv2/snapshot/api_op_UpdateApplicationMaintenanceConfiguration.go.snap index da3b0fa3f3a..9c17dc19581 100644 --- a/service/kinesisanalyticsv2/snapshot/api_op_UpdateApplicationMaintenanceConfiguration.go.snap +++ b/service/kinesisanalyticsv2/snapshot/api_op_UpdateApplicationMaintenanceConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateApplicationMaintenanceConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideo/api_client.go b/service/kinesisvideo/api_client.go index 8910b3d4956..0fed258ccd9 100644 --- a/service/kinesisvideo/api_client.go +++ b/service/kinesisvideo/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/kinesisvideo/api_op_CreateSignalingChannel.go b/service/kinesisvideo/api_op_CreateSignalingChannel.go index 3fc340dac23..ac6ea81c046 100644 --- a/service/kinesisvideo/api_op_CreateSignalingChannel.go +++ b/service/kinesisvideo/api_op_CreateSignalingChannel.go @@ -125,9 +125,6 @@ func (c *Client) addOperationCreateSignalingChannelMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSignalingChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_CreateStream.go b/service/kinesisvideo/api_op_CreateStream.go index e08dc6e715b..958c26163c9 100644 --- a/service/kinesisvideo/api_op_CreateStream.go +++ b/service/kinesisvideo/api_op_CreateStream.go @@ -170,9 +170,6 @@ func (c *Client) addOperationCreateStreamMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_DeleteEdgeConfiguration.go b/service/kinesisvideo/api_op_DeleteEdgeConfiguration.go index 8df43b6b4da..21b45146bac 100644 --- a/service/kinesisvideo/api_op_DeleteEdgeConfiguration.go +++ b/service/kinesisvideo/api_op_DeleteEdgeConfiguration.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteEdgeConfigurationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEdgeConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kinesisvideo/api_op_DeleteSignalingChannel.go b/service/kinesisvideo/api_op_DeleteSignalingChannel.go index 9e86abe983e..22e310f3673 100644 --- a/service/kinesisvideo/api_op_DeleteSignalingChannel.go +++ b/service/kinesisvideo/api_op_DeleteSignalingChannel.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteSignalingChannelMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSignalingChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_DeleteStream.go b/service/kinesisvideo/api_op_DeleteStream.go index 14fad024251..974192fb530 100644 --- a/service/kinesisvideo/api_op_DeleteStream.go +++ b/service/kinesisvideo/api_op_DeleteStream.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDeleteStreamMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_DescribeEdgeConfiguration.go b/service/kinesisvideo/api_op_DescribeEdgeConfiguration.go index 1283d5c636f..abf28290a6b 100644 --- a/service/kinesisvideo/api_op_DescribeEdgeConfiguration.go +++ b/service/kinesisvideo/api_op_DescribeEdgeConfiguration.go @@ -145,9 +145,6 @@ func (c *Client) addOperationDescribeEdgeConfigurationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEdgeConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kinesisvideo/api_op_DescribeImageGenerationConfiguration.go b/service/kinesisvideo/api_op_DescribeImageGenerationConfiguration.go index 9c0829cee6d..05202d7d238 100644 --- a/service/kinesisvideo/api_op_DescribeImageGenerationConfiguration.go +++ b/service/kinesisvideo/api_op_DescribeImageGenerationConfiguration.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDescribeImageGenerationConfigurationMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeImageGenerationConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kinesisvideo/api_op_DescribeMappedResourceConfiguration.go b/service/kinesisvideo/api_op_DescribeMappedResourceConfiguration.go index fbad27621c1..e39996f9480 100644 --- a/service/kinesisvideo/api_op_DescribeMappedResourceConfiguration.go +++ b/service/kinesisvideo/api_op_DescribeMappedResourceConfiguration.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribeMappedResourceConfigurationMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMappedResourceConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kinesisvideo/api_op_DescribeMediaStorageConfiguration.go b/service/kinesisvideo/api_op_DescribeMediaStorageConfiguration.go index a156b2e1c69..3ce2688a60f 100644 --- a/service/kinesisvideo/api_op_DescribeMediaStorageConfiguration.go +++ b/service/kinesisvideo/api_op_DescribeMediaStorageConfiguration.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDescribeMediaStorageConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMediaStorageConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kinesisvideo/api_op_DescribeNotificationConfiguration.go b/service/kinesisvideo/api_op_DescribeNotificationConfiguration.go index 531d3400b96..1657d763991 100644 --- a/service/kinesisvideo/api_op_DescribeNotificationConfiguration.go +++ b/service/kinesisvideo/api_op_DescribeNotificationConfiguration.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDescribeNotificationConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeNotificationConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kinesisvideo/api_op_DescribeSignalingChannel.go b/service/kinesisvideo/api_op_DescribeSignalingChannel.go index 95346dde5fc..fda32d70b64 100644 --- a/service/kinesisvideo/api_op_DescribeSignalingChannel.go +++ b/service/kinesisvideo/api_op_DescribeSignalingChannel.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDescribeSignalingChannelMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSignalingChannel(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kinesisvideo/api_op_DescribeStream.go b/service/kinesisvideo/api_op_DescribeStream.go index 89e75aab2a0..8e381229d53 100644 --- a/service/kinesisvideo/api_op_DescribeStream.go +++ b/service/kinesisvideo/api_op_DescribeStream.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribeStreamMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStream(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kinesisvideo/api_op_GetDataEndpoint.go b/service/kinesisvideo/api_op_GetDataEndpoint.go index a727606482c..f6ea6d337e1 100644 --- a/service/kinesisvideo/api_op_GetDataEndpoint.go +++ b/service/kinesisvideo/api_op_GetDataEndpoint.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGetDataEndpointMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_GetSignalingChannelEndpoint.go b/service/kinesisvideo/api_op_GetSignalingChannelEndpoint.go index 9383d46ac78..a4054d8b93a 100644 --- a/service/kinesisvideo/api_op_GetSignalingChannelEndpoint.go +++ b/service/kinesisvideo/api_op_GetSignalingChannelEndpoint.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetSignalingChannelEndpointMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSignalingChannelEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_ListEdgeAgentConfigurations.go b/service/kinesisvideo/api_op_ListEdgeAgentConfigurations.go index 4615f0ac2d2..7d652fbec2a 100644 --- a/service/kinesisvideo/api_op_ListEdgeAgentConfigurations.go +++ b/service/kinesisvideo/api_op_ListEdgeAgentConfigurations.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListEdgeAgentConfigurationsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEdgeAgentConfigurationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_ListSignalingChannels.go b/service/kinesisvideo/api_op_ListSignalingChannels.go index 68314fb1467..e6e5c4bdba1 100644 --- a/service/kinesisvideo/api_op_ListSignalingChannels.go +++ b/service/kinesisvideo/api_op_ListSignalingChannels.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListSignalingChannelsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSignalingChannels(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kinesisvideo/api_op_ListStreams.go b/service/kinesisvideo/api_op_ListStreams.go index 567440f2556..96298195530 100644 --- a/service/kinesisvideo/api_op_ListStreams.go +++ b/service/kinesisvideo/api_op_ListStreams.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListStreamsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStreams(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kinesisvideo/api_op_ListTagsForResource.go b/service/kinesisvideo/api_op_ListTagsForResource.go index c4487416966..04017af5a78 100644 --- a/service/kinesisvideo/api_op_ListTagsForResource.go +++ b/service/kinesisvideo/api_op_ListTagsForResource.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_ListTagsForStream.go b/service/kinesisvideo/api_op_ListTagsForStream.go index 7e41398e745..6f198d073ba 100644 --- a/service/kinesisvideo/api_op_ListTagsForStream.go +++ b/service/kinesisvideo/api_op_ListTagsForStream.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListTagsForStreamMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForStream(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kinesisvideo/api_op_StartEdgeConfigurationUpdate.go b/service/kinesisvideo/api_op_StartEdgeConfigurationUpdate.go index ad41fc97214..b9fed6c12f0 100644 --- a/service/kinesisvideo/api_op_StartEdgeConfigurationUpdate.go +++ b/service/kinesisvideo/api_op_StartEdgeConfigurationUpdate.go @@ -161,9 +161,6 @@ func (c *Client) addOperationStartEdgeConfigurationUpdateMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartEdgeConfigurationUpdateValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_TagResource.go b/service/kinesisvideo/api_op_TagResource.go index bd0c21fc692..d86d88b7b7c 100644 --- a/service/kinesisvideo/api_op_TagResource.go +++ b/service/kinesisvideo/api_op_TagResource.go @@ -121,9 +121,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_TagStream.go b/service/kinesisvideo/api_op_TagStream.go index be4a6c2b10d..9411af31b55 100644 --- a/service/kinesisvideo/api_op_TagStream.go +++ b/service/kinesisvideo/api_op_TagStream.go @@ -127,9 +127,6 @@ func (c *Client) addOperationTagStreamMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_UntagResource.go b/service/kinesisvideo/api_op_UntagResource.go index bb560a21c27..8a65f3d6d72 100644 --- a/service/kinesisvideo/api_op_UntagResource.go +++ b/service/kinesisvideo/api_op_UntagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_UntagStream.go b/service/kinesisvideo/api_op_UntagStream.go index dfced8038ee..edda487be62 100644 --- a/service/kinesisvideo/api_op_UntagStream.go +++ b/service/kinesisvideo/api_op_UntagStream.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUntagStreamMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_UpdateDataRetention.go b/service/kinesisvideo/api_op_UpdateDataRetention.go index 76d09f32baa..5af8ff2160a 100644 --- a/service/kinesisvideo/api_op_UpdateDataRetention.go +++ b/service/kinesisvideo/api_op_UpdateDataRetention.go @@ -147,9 +147,6 @@ func (c *Client) addOperationUpdateDataRetentionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDataRetentionValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_UpdateImageGenerationConfiguration.go b/service/kinesisvideo/api_op_UpdateImageGenerationConfiguration.go index a34bca2a77c..cfb6e0cca04 100644 --- a/service/kinesisvideo/api_op_UpdateImageGenerationConfiguration.go +++ b/service/kinesisvideo/api_op_UpdateImageGenerationConfiguration.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUpdateImageGenerationConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateImageGenerationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_UpdateMediaStorageConfiguration.go b/service/kinesisvideo/api_op_UpdateMediaStorageConfiguration.go index d298da298db..c244767fc33 100644 --- a/service/kinesisvideo/api_op_UpdateMediaStorageConfiguration.go +++ b/service/kinesisvideo/api_op_UpdateMediaStorageConfiguration.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateMediaStorageConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMediaStorageConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_UpdateNotificationConfiguration.go b/service/kinesisvideo/api_op_UpdateNotificationConfiguration.go index 22ca8b5c917..69c10671add 100644 --- a/service/kinesisvideo/api_op_UpdateNotificationConfiguration.go +++ b/service/kinesisvideo/api_op_UpdateNotificationConfiguration.go @@ -116,9 +116,6 @@ func (c *Client) addOperationUpdateNotificationConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateNotificationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_UpdateSignalingChannel.go b/service/kinesisvideo/api_op_UpdateSignalingChannel.go index a1abdd42fe0..51933f4198c 100644 --- a/service/kinesisvideo/api_op_UpdateSignalingChannel.go +++ b/service/kinesisvideo/api_op_UpdateSignalingChannel.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateSignalingChannelMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSignalingChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/api_op_UpdateStream.go b/service/kinesisvideo/api_op_UpdateStream.go index a386a126ad3..b28d34a773d 100644 --- a/service/kinesisvideo/api_op_UpdateStream.go +++ b/service/kinesisvideo/api_op_UpdateStream.go @@ -143,9 +143,6 @@ func (c *Client) addOperationUpdateStreamMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideo/snapshot/api_op_CreateSignalingChannel.go.snap b/service/kinesisvideo/snapshot/api_op_CreateSignalingChannel.go.snap index a7c95fec5f6..cbe2027c172 100644 --- a/service/kinesisvideo/snapshot/api_op_CreateSignalingChannel.go.snap +++ b/service/kinesisvideo/snapshot/api_op_CreateSignalingChannel.go.snap @@ -14,7 +14,6 @@ CreateSignalingChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideo/snapshot/api_op_CreateStream.go.snap b/service/kinesisvideo/snapshot/api_op_CreateStream.go.snap index 67104e5e553..b83033ae1bf 100644 --- a/service/kinesisvideo/snapshot/api_op_CreateStream.go.snap +++ b/service/kinesisvideo/snapshot/api_op_CreateStream.go.snap @@ -14,7 +14,6 @@ CreateStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideo/snapshot/api_op_DeleteEdgeConfiguration.go.snap b/service/kinesisvideo/snapshot/api_op_DeleteEdgeConfiguration.go.snap index 996be01cd56..515900cd614 100644 --- a/service/kinesisvideo/snapshot/api_op_DeleteEdgeConfiguration.go.snap +++ b/service/kinesisvideo/snapshot/api_op_DeleteEdgeConfiguration.go.snap @@ -13,7 +13,6 @@ DeleteEdgeConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideo/snapshot/api_op_DeleteSignalingChannel.go.snap b/service/kinesisvideo/snapshot/api_op_DeleteSignalingChannel.go.snap index d4e8011ea97..dc527115983 100644 --- a/service/kinesisvideo/snapshot/api_op_DeleteSignalingChannel.go.snap +++ b/service/kinesisvideo/snapshot/api_op_DeleteSignalingChannel.go.snap @@ -14,7 +14,6 @@ DeleteSignalingChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideo/snapshot/api_op_DeleteStream.go.snap b/service/kinesisvideo/snapshot/api_op_DeleteStream.go.snap index fe9ca0879db..0222f54f1f4 100644 --- a/service/kinesisvideo/snapshot/api_op_DeleteStream.go.snap +++ b/service/kinesisvideo/snapshot/api_op_DeleteStream.go.snap @@ -14,7 +14,6 @@ DeleteStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideo/snapshot/api_op_DescribeEdgeConfiguration.go.snap b/service/kinesisvideo/snapshot/api_op_DescribeEdgeConfiguration.go.snap index eeae7d773e8..bbbeac68b0d 100644 --- a/service/kinesisvideo/snapshot/api_op_DescribeEdgeConfiguration.go.snap +++ b/service/kinesisvideo/snapshot/api_op_DescribeEdgeConfiguration.go.snap @@ -13,7 +13,6 @@ DescribeEdgeConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideo/snapshot/api_op_DescribeImageGenerationConfiguration.go.snap b/service/kinesisvideo/snapshot/api_op_DescribeImageGenerationConfiguration.go.snap index e9986e48303..4fe6d25032b 100644 --- a/service/kinesisvideo/snapshot/api_op_DescribeImageGenerationConfiguration.go.snap +++ b/service/kinesisvideo/snapshot/api_op_DescribeImageGenerationConfiguration.go.snap @@ -13,7 +13,6 @@ DescribeImageGenerationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideo/snapshot/api_op_DescribeMappedResourceConfiguration.go.snap b/service/kinesisvideo/snapshot/api_op_DescribeMappedResourceConfiguration.go.snap index 119cc8091c1..865f2da730c 100644 --- a/service/kinesisvideo/snapshot/api_op_DescribeMappedResourceConfiguration.go.snap +++ b/service/kinesisvideo/snapshot/api_op_DescribeMappedResourceConfiguration.go.snap @@ -13,7 +13,6 @@ DescribeMappedResourceConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideo/snapshot/api_op_DescribeMediaStorageConfiguration.go.snap b/service/kinesisvideo/snapshot/api_op_DescribeMediaStorageConfiguration.go.snap index 8146946ac41..43ce1daeda4 100644 --- a/service/kinesisvideo/snapshot/api_op_DescribeMediaStorageConfiguration.go.snap +++ b/service/kinesisvideo/snapshot/api_op_DescribeMediaStorageConfiguration.go.snap @@ -13,7 +13,6 @@ DescribeMediaStorageConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideo/snapshot/api_op_DescribeNotificationConfiguration.go.snap b/service/kinesisvideo/snapshot/api_op_DescribeNotificationConfiguration.go.snap index c2bf085f6f2..c98427794a8 100644 --- a/service/kinesisvideo/snapshot/api_op_DescribeNotificationConfiguration.go.snap +++ b/service/kinesisvideo/snapshot/api_op_DescribeNotificationConfiguration.go.snap @@ -13,7 +13,6 @@ DescribeNotificationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideo/snapshot/api_op_DescribeSignalingChannel.go.snap b/service/kinesisvideo/snapshot/api_op_DescribeSignalingChannel.go.snap index 8d43e312c80..8e636615c0a 100644 --- a/service/kinesisvideo/snapshot/api_op_DescribeSignalingChannel.go.snap +++ b/service/kinesisvideo/snapshot/api_op_DescribeSignalingChannel.go.snap @@ -13,7 +13,6 @@ DescribeSignalingChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideo/snapshot/api_op_DescribeStream.go.snap b/service/kinesisvideo/snapshot/api_op_DescribeStream.go.snap index 3902ea2063c..de74c661725 100644 --- a/service/kinesisvideo/snapshot/api_op_DescribeStream.go.snap +++ b/service/kinesisvideo/snapshot/api_op_DescribeStream.go.snap @@ -13,7 +13,6 @@ DescribeStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideo/snapshot/api_op_GetDataEndpoint.go.snap b/service/kinesisvideo/snapshot/api_op_GetDataEndpoint.go.snap index 4ba21aa3728..6ef7773ae9b 100644 --- a/service/kinesisvideo/snapshot/api_op_GetDataEndpoint.go.snap +++ b/service/kinesisvideo/snapshot/api_op_GetDataEndpoint.go.snap @@ -14,7 +14,6 @@ GetDataEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideo/snapshot/api_op_GetSignalingChannelEndpoint.go.snap b/service/kinesisvideo/snapshot/api_op_GetSignalingChannelEndpoint.go.snap index 3e6bbefc129..b77b3fa42c1 100644 --- a/service/kinesisvideo/snapshot/api_op_GetSignalingChannelEndpoint.go.snap +++ b/service/kinesisvideo/snapshot/api_op_GetSignalingChannelEndpoint.go.snap @@ -14,7 +14,6 @@ GetSignalingChannelEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideo/snapshot/api_op_ListEdgeAgentConfigurations.go.snap b/service/kinesisvideo/snapshot/api_op_ListEdgeAgentConfigurations.go.snap index 4d5d410f7c4..bfda6453b7f 100644 --- a/service/kinesisvideo/snapshot/api_op_ListEdgeAgentConfigurations.go.snap +++ b/service/kinesisvideo/snapshot/api_op_ListEdgeAgentConfigurations.go.snap @@ -14,7 +14,6 @@ ListEdgeAgentConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideo/snapshot/api_op_ListSignalingChannels.go.snap b/service/kinesisvideo/snapshot/api_op_ListSignalingChannels.go.snap index cb87b5ca2f5..1c8649b2b63 100644 --- a/service/kinesisvideo/snapshot/api_op_ListSignalingChannels.go.snap +++ b/service/kinesisvideo/snapshot/api_op_ListSignalingChannels.go.snap @@ -13,7 +13,6 @@ ListSignalingChannels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideo/snapshot/api_op_ListStreams.go.snap b/service/kinesisvideo/snapshot/api_op_ListStreams.go.snap index 89c925c91c7..1885962ecc5 100644 --- a/service/kinesisvideo/snapshot/api_op_ListStreams.go.snap +++ b/service/kinesisvideo/snapshot/api_op_ListStreams.go.snap @@ -13,7 +13,6 @@ ListStreams Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideo/snapshot/api_op_ListTagsForResource.go.snap b/service/kinesisvideo/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/kinesisvideo/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/kinesisvideo/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideo/snapshot/api_op_ListTagsForStream.go.snap b/service/kinesisvideo/snapshot/api_op_ListTagsForStream.go.snap index 5bfb9b536d6..ac85872e999 100644 --- a/service/kinesisvideo/snapshot/api_op_ListTagsForStream.go.snap +++ b/service/kinesisvideo/snapshot/api_op_ListTagsForStream.go.snap @@ -13,7 +13,6 @@ ListTagsForStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideo/snapshot/api_op_StartEdgeConfigurationUpdate.go.snap b/service/kinesisvideo/snapshot/api_op_StartEdgeConfigurationUpdate.go.snap index d20cfd4a6bc..cfdcbbce85f 100644 --- a/service/kinesisvideo/snapshot/api_op_StartEdgeConfigurationUpdate.go.snap +++ b/service/kinesisvideo/snapshot/api_op_StartEdgeConfigurationUpdate.go.snap @@ -14,7 +14,6 @@ StartEdgeConfigurationUpdate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideo/snapshot/api_op_TagResource.go.snap b/service/kinesisvideo/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/kinesisvideo/snapshot/api_op_TagResource.go.snap +++ b/service/kinesisvideo/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideo/snapshot/api_op_TagStream.go.snap b/service/kinesisvideo/snapshot/api_op_TagStream.go.snap index 9b20a76b585..1613c633bef 100644 --- a/service/kinesisvideo/snapshot/api_op_TagStream.go.snap +++ b/service/kinesisvideo/snapshot/api_op_TagStream.go.snap @@ -14,7 +14,6 @@ TagStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideo/snapshot/api_op_UntagResource.go.snap b/service/kinesisvideo/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/kinesisvideo/snapshot/api_op_UntagResource.go.snap +++ b/service/kinesisvideo/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideo/snapshot/api_op_UntagStream.go.snap b/service/kinesisvideo/snapshot/api_op_UntagStream.go.snap index d837b4d67a4..2f8d7dd34be 100644 --- a/service/kinesisvideo/snapshot/api_op_UntagStream.go.snap +++ b/service/kinesisvideo/snapshot/api_op_UntagStream.go.snap @@ -14,7 +14,6 @@ UntagStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideo/snapshot/api_op_UpdateDataRetention.go.snap b/service/kinesisvideo/snapshot/api_op_UpdateDataRetention.go.snap index 46578f7f1d8..1852bf43917 100644 --- a/service/kinesisvideo/snapshot/api_op_UpdateDataRetention.go.snap +++ b/service/kinesisvideo/snapshot/api_op_UpdateDataRetention.go.snap @@ -14,7 +14,6 @@ UpdateDataRetention Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideo/snapshot/api_op_UpdateImageGenerationConfiguration.go.snap b/service/kinesisvideo/snapshot/api_op_UpdateImageGenerationConfiguration.go.snap index 21ed87d8837..c686e906fc1 100644 --- a/service/kinesisvideo/snapshot/api_op_UpdateImageGenerationConfiguration.go.snap +++ b/service/kinesisvideo/snapshot/api_op_UpdateImageGenerationConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateImageGenerationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideo/snapshot/api_op_UpdateMediaStorageConfiguration.go.snap b/service/kinesisvideo/snapshot/api_op_UpdateMediaStorageConfiguration.go.snap index 70162f5f7e3..a3288a139c4 100644 --- a/service/kinesisvideo/snapshot/api_op_UpdateMediaStorageConfiguration.go.snap +++ b/service/kinesisvideo/snapshot/api_op_UpdateMediaStorageConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateMediaStorageConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideo/snapshot/api_op_UpdateNotificationConfiguration.go.snap b/service/kinesisvideo/snapshot/api_op_UpdateNotificationConfiguration.go.snap index 3dd1bb1a27e..7100cb96ef1 100644 --- a/service/kinesisvideo/snapshot/api_op_UpdateNotificationConfiguration.go.snap +++ b/service/kinesisvideo/snapshot/api_op_UpdateNotificationConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateNotificationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideo/snapshot/api_op_UpdateSignalingChannel.go.snap b/service/kinesisvideo/snapshot/api_op_UpdateSignalingChannel.go.snap index 9c1b49d9e08..d57f9df958d 100644 --- a/service/kinesisvideo/snapshot/api_op_UpdateSignalingChannel.go.snap +++ b/service/kinesisvideo/snapshot/api_op_UpdateSignalingChannel.go.snap @@ -14,7 +14,6 @@ UpdateSignalingChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideo/snapshot/api_op_UpdateStream.go.snap b/service/kinesisvideo/snapshot/api_op_UpdateStream.go.snap index 385bdfb7124..6e171f1a7ed 100644 --- a/service/kinesisvideo/snapshot/api_op_UpdateStream.go.snap +++ b/service/kinesisvideo/snapshot/api_op_UpdateStream.go.snap @@ -14,7 +14,6 @@ UpdateStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideoarchivedmedia/api_client.go b/service/kinesisvideoarchivedmedia/api_client.go index 7e46980b13c..bf17f0b41cb 100644 --- a/service/kinesisvideoarchivedmedia/api_client.go +++ b/service/kinesisvideoarchivedmedia/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/kinesisvideoarchivedmedia/api_op_GetClip.go b/service/kinesisvideoarchivedmedia/api_op_GetClip.go index 9d25dd8bb60..b02d51bfb11 100644 --- a/service/kinesisvideoarchivedmedia/api_op_GetClip.go +++ b/service/kinesisvideoarchivedmedia/api_op_GetClip.go @@ -166,9 +166,6 @@ func (c *Client) addOperationGetClipMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetClipValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideoarchivedmedia/api_op_GetDASHStreamingSessionURL.go b/service/kinesisvideoarchivedmedia/api_op_GetDASHStreamingSessionURL.go index f005d64d69b..7427b61490a 100644 --- a/service/kinesisvideoarchivedmedia/api_op_GetDASHStreamingSessionURL.go +++ b/service/kinesisvideoarchivedmedia/api_op_GetDASHStreamingSessionURL.go @@ -355,9 +355,6 @@ func (c *Client) addOperationGetDASHStreamingSessionURLMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDASHStreamingSessionURL(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kinesisvideoarchivedmedia/api_op_GetHLSStreamingSessionURL.go b/service/kinesisvideoarchivedmedia/api_op_GetHLSStreamingSessionURL.go index 466b300dc10..c8853cfefaf 100644 --- a/service/kinesisvideoarchivedmedia/api_op_GetHLSStreamingSessionURL.go +++ b/service/kinesisvideoarchivedmedia/api_op_GetHLSStreamingSessionURL.go @@ -421,9 +421,6 @@ func (c *Client) addOperationGetHLSStreamingSessionURLMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetHLSStreamingSessionURL(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kinesisvideoarchivedmedia/api_op_GetImages.go b/service/kinesisvideoarchivedmedia/api_op_GetImages.go index 1dc608ad582..31a1fd16f33 100644 --- a/service/kinesisvideoarchivedmedia/api_op_GetImages.go +++ b/service/kinesisvideoarchivedmedia/api_op_GetImages.go @@ -189,9 +189,6 @@ func (c *Client) addOperationGetImagesMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetImagesValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideoarchivedmedia/api_op_GetMediaForFragmentList.go b/service/kinesisvideoarchivedmedia/api_op_GetMediaForFragmentList.go index f318ba05ed0..babd811d60c 100644 --- a/service/kinesisvideoarchivedmedia/api_op_GetMediaForFragmentList.go +++ b/service/kinesisvideoarchivedmedia/api_op_GetMediaForFragmentList.go @@ -172,9 +172,6 @@ func (c *Client) addOperationGetMediaForFragmentListMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMediaForFragmentListValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideoarchivedmedia/api_op_ListFragments.go b/service/kinesisvideoarchivedmedia/api_op_ListFragments.go index 2c22e7081ff..cf772e410ca 100644 --- a/service/kinesisvideoarchivedmedia/api_op_ListFragments.go +++ b/service/kinesisvideoarchivedmedia/api_op_ListFragments.go @@ -167,9 +167,6 @@ func (c *Client) addOperationListFragmentsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFragmentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideoarchivedmedia/snapshot/api_op_GetClip.go.snap b/service/kinesisvideoarchivedmedia/snapshot/api_op_GetClip.go.snap index 80c8cc318f8..dba8baca49f 100644 --- a/service/kinesisvideoarchivedmedia/snapshot/api_op_GetClip.go.snap +++ b/service/kinesisvideoarchivedmedia/snapshot/api_op_GetClip.go.snap @@ -14,7 +14,6 @@ GetClip Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideoarchivedmedia/snapshot/api_op_GetDASHStreamingSessionURL.go.snap b/service/kinesisvideoarchivedmedia/snapshot/api_op_GetDASHStreamingSessionURL.go.snap index ae93d60b5fb..5b718be341c 100644 --- a/service/kinesisvideoarchivedmedia/snapshot/api_op_GetDASHStreamingSessionURL.go.snap +++ b/service/kinesisvideoarchivedmedia/snapshot/api_op_GetDASHStreamingSessionURL.go.snap @@ -13,7 +13,6 @@ GetDASHStreamingSessionURL Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideoarchivedmedia/snapshot/api_op_GetHLSStreamingSessionURL.go.snap b/service/kinesisvideoarchivedmedia/snapshot/api_op_GetHLSStreamingSessionURL.go.snap index db5465a417d..deccb46d597 100644 --- a/service/kinesisvideoarchivedmedia/snapshot/api_op_GetHLSStreamingSessionURL.go.snap +++ b/service/kinesisvideoarchivedmedia/snapshot/api_op_GetHLSStreamingSessionURL.go.snap @@ -13,7 +13,6 @@ GetHLSStreamingSessionURL Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideoarchivedmedia/snapshot/api_op_GetImages.go.snap b/service/kinesisvideoarchivedmedia/snapshot/api_op_GetImages.go.snap index b7211ff5e51..36476f3b5c1 100644 --- a/service/kinesisvideoarchivedmedia/snapshot/api_op_GetImages.go.snap +++ b/service/kinesisvideoarchivedmedia/snapshot/api_op_GetImages.go.snap @@ -14,7 +14,6 @@ GetImages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideoarchivedmedia/snapshot/api_op_GetMediaForFragmentList.go.snap b/service/kinesisvideoarchivedmedia/snapshot/api_op_GetMediaForFragmentList.go.snap index 66922ce5905..66dbe881dc5 100644 --- a/service/kinesisvideoarchivedmedia/snapshot/api_op_GetMediaForFragmentList.go.snap +++ b/service/kinesisvideoarchivedmedia/snapshot/api_op_GetMediaForFragmentList.go.snap @@ -14,7 +14,6 @@ GetMediaForFragmentList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideoarchivedmedia/snapshot/api_op_ListFragments.go.snap b/service/kinesisvideoarchivedmedia/snapshot/api_op_ListFragments.go.snap index f40e4928c6d..14b9d6c4290 100644 --- a/service/kinesisvideoarchivedmedia/snapshot/api_op_ListFragments.go.snap +++ b/service/kinesisvideoarchivedmedia/snapshot/api_op_ListFragments.go.snap @@ -14,7 +14,6 @@ ListFragments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideomedia/api_client.go b/service/kinesisvideomedia/api_client.go index a238b44e963..e5d0241fd46 100644 --- a/service/kinesisvideomedia/api_client.go +++ b/service/kinesisvideomedia/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/kinesisvideomedia/api_op_GetMedia.go b/service/kinesisvideomedia/api_op_GetMedia.go index 42c3445d062..24d888959ca 100644 --- a/service/kinesisvideomedia/api_op_GetMedia.go +++ b/service/kinesisvideomedia/api_op_GetMedia.go @@ -208,9 +208,6 @@ func (c *Client) addOperationGetMediaMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMediaValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideomedia/snapshot/api_op_GetMedia.go.snap b/service/kinesisvideomedia/snapshot/api_op_GetMedia.go.snap index 20d16391d44..019963beebe 100644 --- a/service/kinesisvideomedia/snapshot/api_op_GetMedia.go.snap +++ b/service/kinesisvideomedia/snapshot/api_op_GetMedia.go.snap @@ -14,7 +14,6 @@ GetMedia Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideosignaling/api_client.go b/service/kinesisvideosignaling/api_client.go index 2519aa23b9e..612fe0e2095 100644 --- a/service/kinesisvideosignaling/api_client.go +++ b/service/kinesisvideosignaling/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/kinesisvideosignaling/api_op_GetIceServerConfig.go b/service/kinesisvideosignaling/api_op_GetIceServerConfig.go index ea6a3888045..70b3e95be37 100644 --- a/service/kinesisvideosignaling/api_op_GetIceServerConfig.go +++ b/service/kinesisvideosignaling/api_op_GetIceServerConfig.go @@ -138,9 +138,6 @@ func (c *Client) addOperationGetIceServerConfigMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIceServerConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideosignaling/api_op_SendAlexaOfferToMaster.go b/service/kinesisvideosignaling/api_op_SendAlexaOfferToMaster.go index f03f4f500c1..6ea4f86d88d 100644 --- a/service/kinesisvideosignaling/api_op_SendAlexaOfferToMaster.go +++ b/service/kinesisvideosignaling/api_op_SendAlexaOfferToMaster.go @@ -126,9 +126,6 @@ func (c *Client) addOperationSendAlexaOfferToMasterMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendAlexaOfferToMasterValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideosignaling/snapshot/api_op_GetIceServerConfig.go.snap b/service/kinesisvideosignaling/snapshot/api_op_GetIceServerConfig.go.snap index a590cdd592e..e565f937d24 100644 --- a/service/kinesisvideosignaling/snapshot/api_op_GetIceServerConfig.go.snap +++ b/service/kinesisvideosignaling/snapshot/api_op_GetIceServerConfig.go.snap @@ -14,7 +14,6 @@ GetIceServerConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideosignaling/snapshot/api_op_SendAlexaOfferToMaster.go.snap b/service/kinesisvideosignaling/snapshot/api_op_SendAlexaOfferToMaster.go.snap index 3fbfccaa634..e992e4bec91 100644 --- a/service/kinesisvideosignaling/snapshot/api_op_SendAlexaOfferToMaster.go.snap +++ b/service/kinesisvideosignaling/snapshot/api_op_SendAlexaOfferToMaster.go.snap @@ -14,7 +14,6 @@ SendAlexaOfferToMaster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideowebrtcstorage/api_client.go b/service/kinesisvideowebrtcstorage/api_client.go index 7c3817f49ec..2c11837e522 100644 --- a/service/kinesisvideowebrtcstorage/api_client.go +++ b/service/kinesisvideowebrtcstorage/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/kinesisvideowebrtcstorage/api_op_JoinStorageSession.go b/service/kinesisvideowebrtcstorage/api_op_JoinStorageSession.go index f516b8b2336..653c98c7f49 100644 --- a/service/kinesisvideowebrtcstorage/api_op_JoinStorageSession.go +++ b/service/kinesisvideowebrtcstorage/api_op_JoinStorageSession.go @@ -154,9 +154,6 @@ func (c *Client) addOperationJoinStorageSessionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpJoinStorageSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideowebrtcstorage/api_op_JoinStorageSessionAsViewer.go b/service/kinesisvideowebrtcstorage/api_op_JoinStorageSessionAsViewer.go index 96de850ee03..68aa0da2056 100644 --- a/service/kinesisvideowebrtcstorage/api_op_JoinStorageSessionAsViewer.go +++ b/service/kinesisvideowebrtcstorage/api_op_JoinStorageSessionAsViewer.go @@ -128,9 +128,6 @@ func (c *Client) addOperationJoinStorageSessionAsViewerMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpJoinStorageSessionAsViewerValidationMiddleware(stack); err != nil { return err } diff --git a/service/kinesisvideowebrtcstorage/snapshot/api_op_JoinStorageSession.go.snap b/service/kinesisvideowebrtcstorage/snapshot/api_op_JoinStorageSession.go.snap index c93660c459c..67c34e803d8 100644 --- a/service/kinesisvideowebrtcstorage/snapshot/api_op_JoinStorageSession.go.snap +++ b/service/kinesisvideowebrtcstorage/snapshot/api_op_JoinStorageSession.go.snap @@ -14,7 +14,6 @@ JoinStorageSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kinesisvideowebrtcstorage/snapshot/api_op_JoinStorageSessionAsViewer.go.snap b/service/kinesisvideowebrtcstorage/snapshot/api_op_JoinStorageSessionAsViewer.go.snap index 213c29aef0c..bde70c666a8 100644 --- a/service/kinesisvideowebrtcstorage/snapshot/api_op_JoinStorageSessionAsViewer.go.snap +++ b/service/kinesisvideowebrtcstorage/snapshot/api_op_JoinStorageSessionAsViewer.go.snap @@ -14,7 +14,6 @@ JoinStorageSessionAsViewer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/api_client.go b/service/kms/api_client.go index 1969e996ce2..320afdf250c 100644 --- a/service/kms/api_client.go +++ b/service/kms/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/kms/api_op_CancelKeyDeletion.go b/service/kms/api_op_CancelKeyDeletion.go index 8e26732934f..706c00b3014 100644 --- a/service/kms/api_op_CancelKeyDeletion.go +++ b/service/kms/api_op_CancelKeyDeletion.go @@ -146,9 +146,6 @@ func (c *Client) addOperationCancelKeyDeletionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelKeyDeletionValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_ConnectCustomKeyStore.go b/service/kms/api_op_ConnectCustomKeyStore.go index e5abbb8fc77..8656b61c86f 100644 --- a/service/kms/api_op_ConnectCustomKeyStore.go +++ b/service/kms/api_op_ConnectCustomKeyStore.go @@ -200,9 +200,6 @@ func (c *Client) addOperationConnectCustomKeyStoreMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpConnectCustomKeyStoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_CreateAlias.go b/service/kms/api_op_CreateAlias.go index 2966f7a21b1..84e8a58d484 100644 --- a/service/kms/api_op_CreateAlias.go +++ b/service/kms/api_op_CreateAlias.go @@ -199,9 +199,6 @@ func (c *Client) addOperationCreateAliasMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_CreateCustomKeyStore.go b/service/kms/api_op_CreateCustomKeyStore.go index 9f5146b47a3..548da759f46 100644 --- a/service/kms/api_op_CreateCustomKeyStore.go +++ b/service/kms/api_op_CreateCustomKeyStore.go @@ -348,9 +348,6 @@ func (c *Client) addOperationCreateCustomKeyStoreMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCustomKeyStoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_CreateGrant.go b/service/kms/api_op_CreateGrant.go index bce9011a436..d30a5e80e3d 100644 --- a/service/kms/api_op_CreateGrant.go +++ b/service/kms/api_op_CreateGrant.go @@ -306,9 +306,6 @@ func (c *Client) addOperationCreateGrantMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGrantValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_CreateKey.go b/service/kms/api_op_CreateKey.go index 6ae27326f78..259c5fce61b 100644 --- a/service/kms/api_op_CreateKey.go +++ b/service/kms/api_op_CreateKey.go @@ -554,9 +554,6 @@ func (c *Client) addOperationCreateKeyMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_Decrypt.go b/service/kms/api_op_Decrypt.go index f0ed6b253d8..93d64f5803f 100644 --- a/service/kms/api_op_Decrypt.go +++ b/service/kms/api_op_Decrypt.go @@ -317,9 +317,6 @@ func (c *Client) addOperationDecryptMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDecryptValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_DeleteAlias.go b/service/kms/api_op_DeleteAlias.go index 434fff3d282..58af22e36e5 100644 --- a/service/kms/api_op_DeleteAlias.go +++ b/service/kms/api_op_DeleteAlias.go @@ -149,9 +149,6 @@ func (c *Client) addOperationDeleteAliasMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_DeleteCustomKeyStore.go b/service/kms/api_op_DeleteCustomKeyStore.go index 49cc8a16abb..b773858b975 100644 --- a/service/kms/api_op_DeleteCustomKeyStore.go +++ b/service/kms/api_op_DeleteCustomKeyStore.go @@ -166,9 +166,6 @@ func (c *Client) addOperationDeleteCustomKeyStoreMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCustomKeyStoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_DeleteImportedKeyMaterial.go b/service/kms/api_op_DeleteImportedKeyMaterial.go index 5b851265219..c952f630599 100644 --- a/service/kms/api_op_DeleteImportedKeyMaterial.go +++ b/service/kms/api_op_DeleteImportedKeyMaterial.go @@ -148,9 +148,6 @@ func (c *Client) addOperationDeleteImportedKeyMaterialMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteImportedKeyMaterialValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_DeriveSharedSecret.go b/service/kms/api_op_DeriveSharedSecret.go index 578c2c9ceba..fef5dc42654 100644 --- a/service/kms/api_op_DeriveSharedSecret.go +++ b/service/kms/api_op_DeriveSharedSecret.go @@ -319,9 +319,6 @@ func (c *Client) addOperationDeriveSharedSecretMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeriveSharedSecretValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_DescribeCustomKeyStores.go b/service/kms/api_op_DescribeCustomKeyStores.go index 78ec89e9644..438537acd65 100644 --- a/service/kms/api_op_DescribeCustomKeyStores.go +++ b/service/kms/api_op_DescribeCustomKeyStores.go @@ -199,9 +199,6 @@ func (c *Client) addOperationDescribeCustomKeyStoresMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCustomKeyStores(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kms/api_op_DescribeKey.go b/service/kms/api_op_DescribeKey.go index 1695eea2570..3ac7fafa056 100644 --- a/service/kms/api_op_DescribeKey.go +++ b/service/kms/api_op_DescribeKey.go @@ -212,9 +212,6 @@ func (c *Client) addOperationDescribeKeyMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_DisableKey.go b/service/kms/api_op_DisableKey.go index c20b99ffd7c..3d247346da3 100644 --- a/service/kms/api_op_DisableKey.go +++ b/service/kms/api_op_DisableKey.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDisableKeyMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_DisableKeyRotation.go b/service/kms/api_op_DisableKeyRotation.go index 00fda1fab65..30ee5155f87 100644 --- a/service/kms/api_op_DisableKeyRotation.go +++ b/service/kms/api_op_DisableKeyRotation.go @@ -170,9 +170,6 @@ func (c *Client) addOperationDisableKeyRotationMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableKeyRotationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_DisconnectCustomKeyStore.go b/service/kms/api_op_DisconnectCustomKeyStore.go index b1b0035ce8b..55327cb726e 100644 --- a/service/kms/api_op_DisconnectCustomKeyStore.go +++ b/service/kms/api_op_DisconnectCustomKeyStore.go @@ -155,9 +155,6 @@ func (c *Client) addOperationDisconnectCustomKeyStoreMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisconnectCustomKeyStoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_EnableKey.go b/service/kms/api_op_EnableKey.go index 3b61f6b88ca..fc8402f5e08 100644 --- a/service/kms/api_op_EnableKey.go +++ b/service/kms/api_op_EnableKey.go @@ -137,9 +137,6 @@ func (c *Client) addOperationEnableKeyMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_EnableKeyRotation.go b/service/kms/api_op_EnableKeyRotation.go index 9a10a7e3b4f..3236e4970f4 100644 --- a/service/kms/api_op_EnableKeyRotation.go +++ b/service/kms/api_op_EnableKeyRotation.go @@ -209,9 +209,6 @@ func (c *Client) addOperationEnableKeyRotationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableKeyRotationValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_Encrypt.go b/service/kms/api_op_Encrypt.go index 421d3445f79..ac6031bdf48 100644 --- a/service/kms/api_op_Encrypt.go +++ b/service/kms/api_op_Encrypt.go @@ -277,9 +277,6 @@ func (c *Client) addOperationEncryptMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEncryptValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_GenerateDataKey.go b/service/kms/api_op_GenerateDataKey.go index 5475f22dab4..5cab73d3f91 100644 --- a/service/kms/api_op_GenerateDataKey.go +++ b/service/kms/api_op_GenerateDataKey.go @@ -332,9 +332,6 @@ func (c *Client) addOperationGenerateDataKeyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGenerateDataKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_GenerateDataKeyPair.go b/service/kms/api_op_GenerateDataKeyPair.go index 109eb022582..394bac81491 100644 --- a/service/kms/api_op_GenerateDataKeyPair.go +++ b/service/kms/api_op_GenerateDataKeyPair.go @@ -330,9 +330,6 @@ func (c *Client) addOperationGenerateDataKeyPairMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGenerateDataKeyPairValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_GenerateDataKeyPairWithoutPlaintext.go b/service/kms/api_op_GenerateDataKeyPairWithoutPlaintext.go index ec29b538cc7..5bbc48fda45 100644 --- a/service/kms/api_op_GenerateDataKeyPairWithoutPlaintext.go +++ b/service/kms/api_op_GenerateDataKeyPairWithoutPlaintext.go @@ -257,9 +257,6 @@ func (c *Client) addOperationGenerateDataKeyPairWithoutPlaintextMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGenerateDataKeyPairWithoutPlaintextValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_GenerateDataKeyWithoutPlaintext.go b/service/kms/api_op_GenerateDataKeyWithoutPlaintext.go index fc5e5a8b34f..69b9550219a 100644 --- a/service/kms/api_op_GenerateDataKeyWithoutPlaintext.go +++ b/service/kms/api_op_GenerateDataKeyWithoutPlaintext.go @@ -257,9 +257,6 @@ func (c *Client) addOperationGenerateDataKeyWithoutPlaintextMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGenerateDataKeyWithoutPlaintextValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_GenerateMac.go b/service/kms/api_op_GenerateMac.go index 8253e75f683..a5505e3331c 100644 --- a/service/kms/api_op_GenerateMac.go +++ b/service/kms/api_op_GenerateMac.go @@ -202,9 +202,6 @@ func (c *Client) addOperationGenerateMacMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGenerateMacValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_GenerateRandom.go b/service/kms/api_op_GenerateRandom.go index 63e933451d4..3ff869365d2 100644 --- a/service/kms/api_op_GenerateRandom.go +++ b/service/kms/api_op_GenerateRandom.go @@ -190,9 +190,6 @@ func (c *Client) addOperationGenerateRandomMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGenerateRandom(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kms/api_op_GetKeyPolicy.go b/service/kms/api_op_GetKeyPolicy.go index bb91505acb8..b0368d53479 100644 --- a/service/kms/api_op_GetKeyPolicy.go +++ b/service/kms/api_op_GetKeyPolicy.go @@ -144,9 +144,6 @@ func (c *Client) addOperationGetKeyPolicyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetKeyPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_GetKeyRotationStatus.go b/service/kms/api_op_GetKeyRotationStatus.go index 7f6684bc6d8..0484bb59c25 100644 --- a/service/kms/api_op_GetKeyRotationStatus.go +++ b/service/kms/api_op_GetKeyRotationStatus.go @@ -213,9 +213,6 @@ func (c *Client) addOperationGetKeyRotationStatusMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetKeyRotationStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_GetParametersForImport.go b/service/kms/api_op_GetParametersForImport.go index 53d4dab403e..e3ffaca7a89 100644 --- a/service/kms/api_op_GetParametersForImport.go +++ b/service/kms/api_op_GetParametersForImport.go @@ -261,9 +261,6 @@ func (c *Client) addOperationGetParametersForImportMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetParametersForImportValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_GetPublicKey.go b/service/kms/api_op_GetPublicKey.go index 673de8891bc..245cf4610ba 100644 --- a/service/kms/api_op_GetPublicKey.go +++ b/service/kms/api_op_GetPublicKey.go @@ -252,9 +252,6 @@ func (c *Client) addOperationGetPublicKeyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPublicKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_ImportKeyMaterial.go b/service/kms/api_op_ImportKeyMaterial.go index f5b2bed826c..ee7037a49f2 100644 --- a/service/kms/api_op_ImportKeyMaterial.go +++ b/service/kms/api_op_ImportKeyMaterial.go @@ -276,9 +276,6 @@ func (c *Client) addOperationImportKeyMaterialMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportKeyMaterialValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_ListAliases.go b/service/kms/api_op_ListAliases.go index 0dd0f922f41..e7f68db3f74 100644 --- a/service/kms/api_op_ListAliases.go +++ b/service/kms/api_op_ListAliases.go @@ -187,9 +187,6 @@ func (c *Client) addOperationListAliasesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAliases(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kms/api_op_ListGrants.go b/service/kms/api_op_ListGrants.go index 086ae2a3aa5..bd9433fa604 100644 --- a/service/kms/api_op_ListGrants.go +++ b/service/kms/api_op_ListGrants.go @@ -193,9 +193,6 @@ func (c *Client) addOperationListGrantsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListGrantsValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_ListKeyPolicies.go b/service/kms/api_op_ListKeyPolicies.go index 8de34587e79..c68867a534a 100644 --- a/service/kms/api_op_ListKeyPolicies.go +++ b/service/kms/api_op_ListKeyPolicies.go @@ -167,9 +167,6 @@ func (c *Client) addOperationListKeyPoliciesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListKeyPoliciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_ListKeyRotations.go b/service/kms/api_op_ListKeyRotations.go index 57f5af80be1..eed276b15a0 100644 --- a/service/kms/api_op_ListKeyRotations.go +++ b/service/kms/api_op_ListKeyRotations.go @@ -175,9 +175,6 @@ func (c *Client) addOperationListKeyRotationsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListKeyRotationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_ListKeys.go b/service/kms/api_op_ListKeys.go index 2133b6ccfc7..9c3860fcc09 100644 --- a/service/kms/api_op_ListKeys.go +++ b/service/kms/api_op_ListKeys.go @@ -152,9 +152,6 @@ func (c *Client) addOperationListKeysMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListKeys(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kms/api_op_ListResourceTags.go b/service/kms/api_op_ListResourceTags.go index 5c77544bd03..7bdf6304c86 100644 --- a/service/kms/api_op_ListResourceTags.go +++ b/service/kms/api_op_ListResourceTags.go @@ -183,9 +183,6 @@ func (c *Client) addOperationListResourceTagsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListResourceTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_ListRetirableGrants.go b/service/kms/api_op_ListRetirableGrants.go index a722cc38041..7fe68d8e21d 100644 --- a/service/kms/api_op_ListRetirableGrants.go +++ b/service/kms/api_op_ListRetirableGrants.go @@ -188,9 +188,6 @@ func (c *Client) addOperationListRetirableGrantsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRetirableGrantsValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_PutKeyPolicy.go b/service/kms/api_op_PutKeyPolicy.go index e1be982d7c1..4957cdee98c 100644 --- a/service/kms/api_op_PutKeyPolicy.go +++ b/service/kms/api_op_PutKeyPolicy.go @@ -199,9 +199,6 @@ func (c *Client) addOperationPutKeyPolicyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutKeyPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_ReEncrypt.go b/service/kms/api_op_ReEncrypt.go index dabcddcf4e3..7d6f278ded1 100644 --- a/service/kms/api_op_ReEncrypt.go +++ b/service/kms/api_op_ReEncrypt.go @@ -356,9 +356,6 @@ func (c *Client) addOperationReEncryptMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpReEncryptValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_ReplicateKey.go b/service/kms/api_op_ReplicateKey.go index 3b0c48588e4..4c5bb7b179c 100644 --- a/service/kms/api_op_ReplicateKey.go +++ b/service/kms/api_op_ReplicateKey.go @@ -353,9 +353,6 @@ func (c *Client) addOperationReplicateKeyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpReplicateKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_RetireGrant.go b/service/kms/api_op_RetireGrant.go index 4ebab0d26d2..016739eabd4 100644 --- a/service/kms/api_op_RetireGrant.go +++ b/service/kms/api_op_RetireGrant.go @@ -171,9 +171,6 @@ func (c *Client) addOperationRetireGrantMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRetireGrant(options.Region), middleware.Before); err != nil { return err } diff --git a/service/kms/api_op_RevokeGrant.go b/service/kms/api_op_RevokeGrant.go index 242b66d7bdc..c97a332bf2d 100644 --- a/service/kms/api_op_RevokeGrant.go +++ b/service/kms/api_op_RevokeGrant.go @@ -170,9 +170,6 @@ func (c *Client) addOperationRevokeGrantMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRevokeGrantValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_RotateKeyOnDemand.go b/service/kms/api_op_RotateKeyOnDemand.go index abd8c33c04f..5424efcf6b1 100644 --- a/service/kms/api_op_RotateKeyOnDemand.go +++ b/service/kms/api_op_RotateKeyOnDemand.go @@ -192,9 +192,6 @@ func (c *Client) addOperationRotateKeyOnDemandMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRotateKeyOnDemandValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_ScheduleKeyDeletion.go b/service/kms/api_op_ScheduleKeyDeletion.go index 9d6d8abbfd5..090468d5e90 100644 --- a/service/kms/api_op_ScheduleKeyDeletion.go +++ b/service/kms/api_op_ScheduleKeyDeletion.go @@ -223,9 +223,6 @@ func (c *Client) addOperationScheduleKeyDeletionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpScheduleKeyDeletionValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_Sign.go b/service/kms/api_op_Sign.go index 506e0902bd6..553404e2377 100644 --- a/service/kms/api_op_Sign.go +++ b/service/kms/api_op_Sign.go @@ -280,9 +280,6 @@ func (c *Client) addOperationSignMiddlewares(stack *middleware.Stack, options Op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSignValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_TagResource.go b/service/kms/api_op_TagResource.go index 713bf6f2dda..6ec3ee335f4 100644 --- a/service/kms/api_op_TagResource.go +++ b/service/kms/api_op_TagResource.go @@ -181,9 +181,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_UntagResource.go b/service/kms/api_op_UntagResource.go index 62f7ff4038e..ee01e6e7c53 100644 --- a/service/kms/api_op_UntagResource.go +++ b/service/kms/api_op_UntagResource.go @@ -164,9 +164,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_UpdateAlias.go b/service/kms/api_op_UpdateAlias.go index 90c763062a9..2238087b271 100644 --- a/service/kms/api_op_UpdateAlias.go +++ b/service/kms/api_op_UpdateAlias.go @@ -195,9 +195,6 @@ func (c *Client) addOperationUpdateAliasMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_UpdateCustomKeyStore.go b/service/kms/api_op_UpdateCustomKeyStore.go index 0e10b4421d2..fa7c84dfd1e 100644 --- a/service/kms/api_op_UpdateCustomKeyStore.go +++ b/service/kms/api_op_UpdateCustomKeyStore.go @@ -305,9 +305,6 @@ func (c *Client) addOperationUpdateCustomKeyStoreMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCustomKeyStoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_UpdateKeyDescription.go b/service/kms/api_op_UpdateKeyDescription.go index 925fd0cd9cb..83ed78459ed 100644 --- a/service/kms/api_op_UpdateKeyDescription.go +++ b/service/kms/api_op_UpdateKeyDescription.go @@ -148,9 +148,6 @@ func (c *Client) addOperationUpdateKeyDescriptionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateKeyDescriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_UpdatePrimaryRegion.go b/service/kms/api_op_UpdatePrimaryRegion.go index d44b70592cb..e79f816aba0 100644 --- a/service/kms/api_op_UpdatePrimaryRegion.go +++ b/service/kms/api_op_UpdatePrimaryRegion.go @@ -203,9 +203,6 @@ func (c *Client) addOperationUpdatePrimaryRegionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePrimaryRegionValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_Verify.go b/service/kms/api_op_Verify.go index b521f2350ab..4a25ff29ffc 100644 --- a/service/kms/api_op_Verify.go +++ b/service/kms/api_op_Verify.go @@ -268,9 +268,6 @@ func (c *Client) addOperationVerifyMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpVerifyValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/api_op_VerifyMac.go b/service/kms/api_op_VerifyMac.go index 2eab7e11c57..484906a5b7d 100644 --- a/service/kms/api_op_VerifyMac.go +++ b/service/kms/api_op_VerifyMac.go @@ -201,9 +201,6 @@ func (c *Client) addOperationVerifyMacMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpVerifyMacValidationMiddleware(stack); err != nil { return err } diff --git a/service/kms/snapshot/api_op_CancelKeyDeletion.go.snap b/service/kms/snapshot/api_op_CancelKeyDeletion.go.snap index 197e256f09f..cefcbf0b091 100644 --- a/service/kms/snapshot/api_op_CancelKeyDeletion.go.snap +++ b/service/kms/snapshot/api_op_CancelKeyDeletion.go.snap @@ -14,7 +14,6 @@ CancelKeyDeletion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_ConnectCustomKeyStore.go.snap b/service/kms/snapshot/api_op_ConnectCustomKeyStore.go.snap index 3e04bbe4517..d382795e986 100644 --- a/service/kms/snapshot/api_op_ConnectCustomKeyStore.go.snap +++ b/service/kms/snapshot/api_op_ConnectCustomKeyStore.go.snap @@ -14,7 +14,6 @@ ConnectCustomKeyStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_CreateAlias.go.snap b/service/kms/snapshot/api_op_CreateAlias.go.snap index ea96e788303..2949a1e05b7 100644 --- a/service/kms/snapshot/api_op_CreateAlias.go.snap +++ b/service/kms/snapshot/api_op_CreateAlias.go.snap @@ -14,7 +14,6 @@ CreateAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_CreateCustomKeyStore.go.snap b/service/kms/snapshot/api_op_CreateCustomKeyStore.go.snap index 3bf095bccca..dfeadf9bbf1 100644 --- a/service/kms/snapshot/api_op_CreateCustomKeyStore.go.snap +++ b/service/kms/snapshot/api_op_CreateCustomKeyStore.go.snap @@ -14,7 +14,6 @@ CreateCustomKeyStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_CreateGrant.go.snap b/service/kms/snapshot/api_op_CreateGrant.go.snap index a5330a34658..e328a08acf7 100644 --- a/service/kms/snapshot/api_op_CreateGrant.go.snap +++ b/service/kms/snapshot/api_op_CreateGrant.go.snap @@ -14,7 +14,6 @@ CreateGrant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_CreateKey.go.snap b/service/kms/snapshot/api_op_CreateKey.go.snap index e27c104a847..8ae75732b82 100644 --- a/service/kms/snapshot/api_op_CreateKey.go.snap +++ b/service/kms/snapshot/api_op_CreateKey.go.snap @@ -14,7 +14,6 @@ CreateKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_Decrypt.go.snap b/service/kms/snapshot/api_op_Decrypt.go.snap index 76f4bab0f92..c2ada9679c2 100644 --- a/service/kms/snapshot/api_op_Decrypt.go.snap +++ b/service/kms/snapshot/api_op_Decrypt.go.snap @@ -14,7 +14,6 @@ Decrypt Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_DeleteAlias.go.snap b/service/kms/snapshot/api_op_DeleteAlias.go.snap index 469fb018efd..d0401eaf34c 100644 --- a/service/kms/snapshot/api_op_DeleteAlias.go.snap +++ b/service/kms/snapshot/api_op_DeleteAlias.go.snap @@ -14,7 +14,6 @@ DeleteAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_DeleteCustomKeyStore.go.snap b/service/kms/snapshot/api_op_DeleteCustomKeyStore.go.snap index a2ace103128..589c18d5b84 100644 --- a/service/kms/snapshot/api_op_DeleteCustomKeyStore.go.snap +++ b/service/kms/snapshot/api_op_DeleteCustomKeyStore.go.snap @@ -14,7 +14,6 @@ DeleteCustomKeyStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_DeleteImportedKeyMaterial.go.snap b/service/kms/snapshot/api_op_DeleteImportedKeyMaterial.go.snap index d7bf489298e..3234929f8a9 100644 --- a/service/kms/snapshot/api_op_DeleteImportedKeyMaterial.go.snap +++ b/service/kms/snapshot/api_op_DeleteImportedKeyMaterial.go.snap @@ -14,7 +14,6 @@ DeleteImportedKeyMaterial Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_DeriveSharedSecret.go.snap b/service/kms/snapshot/api_op_DeriveSharedSecret.go.snap index 4ac237e2ce8..4c6932b2301 100644 --- a/service/kms/snapshot/api_op_DeriveSharedSecret.go.snap +++ b/service/kms/snapshot/api_op_DeriveSharedSecret.go.snap @@ -14,7 +14,6 @@ DeriveSharedSecret Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_DescribeCustomKeyStores.go.snap b/service/kms/snapshot/api_op_DescribeCustomKeyStores.go.snap index 9b700f5015b..1dbbfdf10e2 100644 --- a/service/kms/snapshot/api_op_DescribeCustomKeyStores.go.snap +++ b/service/kms/snapshot/api_op_DescribeCustomKeyStores.go.snap @@ -13,7 +13,6 @@ DescribeCustomKeyStores Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_DescribeKey.go.snap b/service/kms/snapshot/api_op_DescribeKey.go.snap index fd1dd7396ea..814c85ed05a 100644 --- a/service/kms/snapshot/api_op_DescribeKey.go.snap +++ b/service/kms/snapshot/api_op_DescribeKey.go.snap @@ -14,7 +14,6 @@ DescribeKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_DisableKey.go.snap b/service/kms/snapshot/api_op_DisableKey.go.snap index 3638bbee722..c44a6bdc5a1 100644 --- a/service/kms/snapshot/api_op_DisableKey.go.snap +++ b/service/kms/snapshot/api_op_DisableKey.go.snap @@ -14,7 +14,6 @@ DisableKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_DisableKeyRotation.go.snap b/service/kms/snapshot/api_op_DisableKeyRotation.go.snap index ff5dbe53574..ce296470b44 100644 --- a/service/kms/snapshot/api_op_DisableKeyRotation.go.snap +++ b/service/kms/snapshot/api_op_DisableKeyRotation.go.snap @@ -14,7 +14,6 @@ DisableKeyRotation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_DisconnectCustomKeyStore.go.snap b/service/kms/snapshot/api_op_DisconnectCustomKeyStore.go.snap index e5b3f072d38..2b3e9f4ddfa 100644 --- a/service/kms/snapshot/api_op_DisconnectCustomKeyStore.go.snap +++ b/service/kms/snapshot/api_op_DisconnectCustomKeyStore.go.snap @@ -14,7 +14,6 @@ DisconnectCustomKeyStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_EnableKey.go.snap b/service/kms/snapshot/api_op_EnableKey.go.snap index 4cf20d94bb8..7503ebedebc 100644 --- a/service/kms/snapshot/api_op_EnableKey.go.snap +++ b/service/kms/snapshot/api_op_EnableKey.go.snap @@ -14,7 +14,6 @@ EnableKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_EnableKeyRotation.go.snap b/service/kms/snapshot/api_op_EnableKeyRotation.go.snap index c2a14038449..775582c144e 100644 --- a/service/kms/snapshot/api_op_EnableKeyRotation.go.snap +++ b/service/kms/snapshot/api_op_EnableKeyRotation.go.snap @@ -14,7 +14,6 @@ EnableKeyRotation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_Encrypt.go.snap b/service/kms/snapshot/api_op_Encrypt.go.snap index d30591cd673..bcd9f82b360 100644 --- a/service/kms/snapshot/api_op_Encrypt.go.snap +++ b/service/kms/snapshot/api_op_Encrypt.go.snap @@ -14,7 +14,6 @@ Encrypt Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_GenerateDataKey.go.snap b/service/kms/snapshot/api_op_GenerateDataKey.go.snap index 4c1a6906ec1..2e89e8872de 100644 --- a/service/kms/snapshot/api_op_GenerateDataKey.go.snap +++ b/service/kms/snapshot/api_op_GenerateDataKey.go.snap @@ -14,7 +14,6 @@ GenerateDataKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_GenerateDataKeyPair.go.snap b/service/kms/snapshot/api_op_GenerateDataKeyPair.go.snap index 6ca86f8cddc..43e598f62ca 100644 --- a/service/kms/snapshot/api_op_GenerateDataKeyPair.go.snap +++ b/service/kms/snapshot/api_op_GenerateDataKeyPair.go.snap @@ -14,7 +14,6 @@ GenerateDataKeyPair Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_GenerateDataKeyPairWithoutPlaintext.go.snap b/service/kms/snapshot/api_op_GenerateDataKeyPairWithoutPlaintext.go.snap index 21d6effd3c4..28e15a7727e 100644 --- a/service/kms/snapshot/api_op_GenerateDataKeyPairWithoutPlaintext.go.snap +++ b/service/kms/snapshot/api_op_GenerateDataKeyPairWithoutPlaintext.go.snap @@ -14,7 +14,6 @@ GenerateDataKeyPairWithoutPlaintext Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_GenerateDataKeyWithoutPlaintext.go.snap b/service/kms/snapshot/api_op_GenerateDataKeyWithoutPlaintext.go.snap index b73ad37a7cd..da662b425cc 100644 --- a/service/kms/snapshot/api_op_GenerateDataKeyWithoutPlaintext.go.snap +++ b/service/kms/snapshot/api_op_GenerateDataKeyWithoutPlaintext.go.snap @@ -14,7 +14,6 @@ GenerateDataKeyWithoutPlaintext Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_GenerateMac.go.snap b/service/kms/snapshot/api_op_GenerateMac.go.snap index 5a4bb2235b3..8c650247701 100644 --- a/service/kms/snapshot/api_op_GenerateMac.go.snap +++ b/service/kms/snapshot/api_op_GenerateMac.go.snap @@ -14,7 +14,6 @@ GenerateMac Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_GenerateRandom.go.snap b/service/kms/snapshot/api_op_GenerateRandom.go.snap index 5e958c8ac6f..728e08f5935 100644 --- a/service/kms/snapshot/api_op_GenerateRandom.go.snap +++ b/service/kms/snapshot/api_op_GenerateRandom.go.snap @@ -13,7 +13,6 @@ GenerateRandom Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_GetKeyPolicy.go.snap b/service/kms/snapshot/api_op_GetKeyPolicy.go.snap index f42452658d4..b01114ca099 100644 --- a/service/kms/snapshot/api_op_GetKeyPolicy.go.snap +++ b/service/kms/snapshot/api_op_GetKeyPolicy.go.snap @@ -14,7 +14,6 @@ GetKeyPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_GetKeyRotationStatus.go.snap b/service/kms/snapshot/api_op_GetKeyRotationStatus.go.snap index 5ef289f511e..27dc11efa53 100644 --- a/service/kms/snapshot/api_op_GetKeyRotationStatus.go.snap +++ b/service/kms/snapshot/api_op_GetKeyRotationStatus.go.snap @@ -14,7 +14,6 @@ GetKeyRotationStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_GetParametersForImport.go.snap b/service/kms/snapshot/api_op_GetParametersForImport.go.snap index 6a123b49408..0233007a0d9 100644 --- a/service/kms/snapshot/api_op_GetParametersForImport.go.snap +++ b/service/kms/snapshot/api_op_GetParametersForImport.go.snap @@ -14,7 +14,6 @@ GetParametersForImport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_GetPublicKey.go.snap b/service/kms/snapshot/api_op_GetPublicKey.go.snap index b04f259cb83..150b1f6ebe9 100644 --- a/service/kms/snapshot/api_op_GetPublicKey.go.snap +++ b/service/kms/snapshot/api_op_GetPublicKey.go.snap @@ -14,7 +14,6 @@ GetPublicKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_ImportKeyMaterial.go.snap b/service/kms/snapshot/api_op_ImportKeyMaterial.go.snap index c0de6f04ee3..798ab2df33b 100644 --- a/service/kms/snapshot/api_op_ImportKeyMaterial.go.snap +++ b/service/kms/snapshot/api_op_ImportKeyMaterial.go.snap @@ -14,7 +14,6 @@ ImportKeyMaterial Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_ListAliases.go.snap b/service/kms/snapshot/api_op_ListAliases.go.snap index 8bcf5230731..c1a245a774e 100644 --- a/service/kms/snapshot/api_op_ListAliases.go.snap +++ b/service/kms/snapshot/api_op_ListAliases.go.snap @@ -13,7 +13,6 @@ ListAliases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_ListGrants.go.snap b/service/kms/snapshot/api_op_ListGrants.go.snap index 28703a523b5..ef1ee996fe0 100644 --- a/service/kms/snapshot/api_op_ListGrants.go.snap +++ b/service/kms/snapshot/api_op_ListGrants.go.snap @@ -14,7 +14,6 @@ ListGrants Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_ListKeyPolicies.go.snap b/service/kms/snapshot/api_op_ListKeyPolicies.go.snap index 89f880888d8..78c0571b44e 100644 --- a/service/kms/snapshot/api_op_ListKeyPolicies.go.snap +++ b/service/kms/snapshot/api_op_ListKeyPolicies.go.snap @@ -14,7 +14,6 @@ ListKeyPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_ListKeyRotations.go.snap b/service/kms/snapshot/api_op_ListKeyRotations.go.snap index 1f38b7fc012..3c48a7bf246 100644 --- a/service/kms/snapshot/api_op_ListKeyRotations.go.snap +++ b/service/kms/snapshot/api_op_ListKeyRotations.go.snap @@ -14,7 +14,6 @@ ListKeyRotations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_ListKeys.go.snap b/service/kms/snapshot/api_op_ListKeys.go.snap index b63229a55b0..b9f9ec82249 100644 --- a/service/kms/snapshot/api_op_ListKeys.go.snap +++ b/service/kms/snapshot/api_op_ListKeys.go.snap @@ -13,7 +13,6 @@ ListKeys Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_ListResourceTags.go.snap b/service/kms/snapshot/api_op_ListResourceTags.go.snap index 401d0a8ad64..e077d83a264 100644 --- a/service/kms/snapshot/api_op_ListResourceTags.go.snap +++ b/service/kms/snapshot/api_op_ListResourceTags.go.snap @@ -14,7 +14,6 @@ ListResourceTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_ListRetirableGrants.go.snap b/service/kms/snapshot/api_op_ListRetirableGrants.go.snap index ea7095e07c8..b4927f0f8c6 100644 --- a/service/kms/snapshot/api_op_ListRetirableGrants.go.snap +++ b/service/kms/snapshot/api_op_ListRetirableGrants.go.snap @@ -14,7 +14,6 @@ ListRetirableGrants Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_PutKeyPolicy.go.snap b/service/kms/snapshot/api_op_PutKeyPolicy.go.snap index 2e4400babc2..463ac4bd767 100644 --- a/service/kms/snapshot/api_op_PutKeyPolicy.go.snap +++ b/service/kms/snapshot/api_op_PutKeyPolicy.go.snap @@ -14,7 +14,6 @@ PutKeyPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_ReEncrypt.go.snap b/service/kms/snapshot/api_op_ReEncrypt.go.snap index 14f1b0138d0..390637a2ed5 100644 --- a/service/kms/snapshot/api_op_ReEncrypt.go.snap +++ b/service/kms/snapshot/api_op_ReEncrypt.go.snap @@ -14,7 +14,6 @@ ReEncrypt Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_ReplicateKey.go.snap b/service/kms/snapshot/api_op_ReplicateKey.go.snap index ca44a3f30d2..c9b379e143e 100644 --- a/service/kms/snapshot/api_op_ReplicateKey.go.snap +++ b/service/kms/snapshot/api_op_ReplicateKey.go.snap @@ -14,7 +14,6 @@ ReplicateKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_RetireGrant.go.snap b/service/kms/snapshot/api_op_RetireGrant.go.snap index 8a55abf4ba0..3553dff95ba 100644 --- a/service/kms/snapshot/api_op_RetireGrant.go.snap +++ b/service/kms/snapshot/api_op_RetireGrant.go.snap @@ -13,7 +13,6 @@ RetireGrant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_RevokeGrant.go.snap b/service/kms/snapshot/api_op_RevokeGrant.go.snap index 9bacc17e532..682e1016a04 100644 --- a/service/kms/snapshot/api_op_RevokeGrant.go.snap +++ b/service/kms/snapshot/api_op_RevokeGrant.go.snap @@ -14,7 +14,6 @@ RevokeGrant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_RotateKeyOnDemand.go.snap b/service/kms/snapshot/api_op_RotateKeyOnDemand.go.snap index a16152e7081..247745680f6 100644 --- a/service/kms/snapshot/api_op_RotateKeyOnDemand.go.snap +++ b/service/kms/snapshot/api_op_RotateKeyOnDemand.go.snap @@ -14,7 +14,6 @@ RotateKeyOnDemand Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_ScheduleKeyDeletion.go.snap b/service/kms/snapshot/api_op_ScheduleKeyDeletion.go.snap index d5a7fc4873b..f59dbd943bd 100644 --- a/service/kms/snapshot/api_op_ScheduleKeyDeletion.go.snap +++ b/service/kms/snapshot/api_op_ScheduleKeyDeletion.go.snap @@ -14,7 +14,6 @@ ScheduleKeyDeletion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_Sign.go.snap b/service/kms/snapshot/api_op_Sign.go.snap index a5382e2d786..8fa0f753806 100644 --- a/service/kms/snapshot/api_op_Sign.go.snap +++ b/service/kms/snapshot/api_op_Sign.go.snap @@ -14,7 +14,6 @@ Sign Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_TagResource.go.snap b/service/kms/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/kms/snapshot/api_op_TagResource.go.snap +++ b/service/kms/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_UntagResource.go.snap b/service/kms/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/kms/snapshot/api_op_UntagResource.go.snap +++ b/service/kms/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_UpdateAlias.go.snap b/service/kms/snapshot/api_op_UpdateAlias.go.snap index 84608cce172..8900693425f 100644 --- a/service/kms/snapshot/api_op_UpdateAlias.go.snap +++ b/service/kms/snapshot/api_op_UpdateAlias.go.snap @@ -14,7 +14,6 @@ UpdateAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_UpdateCustomKeyStore.go.snap b/service/kms/snapshot/api_op_UpdateCustomKeyStore.go.snap index 461afab7844..ed260422c34 100644 --- a/service/kms/snapshot/api_op_UpdateCustomKeyStore.go.snap +++ b/service/kms/snapshot/api_op_UpdateCustomKeyStore.go.snap @@ -14,7 +14,6 @@ UpdateCustomKeyStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_UpdateKeyDescription.go.snap b/service/kms/snapshot/api_op_UpdateKeyDescription.go.snap index 0fbb807285a..3edfb81cda4 100644 --- a/service/kms/snapshot/api_op_UpdateKeyDescription.go.snap +++ b/service/kms/snapshot/api_op_UpdateKeyDescription.go.snap @@ -14,7 +14,6 @@ UpdateKeyDescription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_UpdatePrimaryRegion.go.snap b/service/kms/snapshot/api_op_UpdatePrimaryRegion.go.snap index 1af4e972b49..2b2c13ff6ce 100644 --- a/service/kms/snapshot/api_op_UpdatePrimaryRegion.go.snap +++ b/service/kms/snapshot/api_op_UpdatePrimaryRegion.go.snap @@ -14,7 +14,6 @@ UpdatePrimaryRegion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_Verify.go.snap b/service/kms/snapshot/api_op_Verify.go.snap index f73e8aa20cb..e2678f9236d 100644 --- a/service/kms/snapshot/api_op_Verify.go.snap +++ b/service/kms/snapshot/api_op_Verify.go.snap @@ -14,7 +14,6 @@ Verify Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/kms/snapshot/api_op_VerifyMac.go.snap b/service/kms/snapshot/api_op_VerifyMac.go.snap index c7d18f8291c..e4a26dee404 100644 --- a/service/kms/snapshot/api_op_VerifyMac.go.snap +++ b/service/kms/snapshot/api_op_VerifyMac.go.snap @@ -14,7 +14,6 @@ VerifyMac Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/api_client.go b/service/lakeformation/api_client.go index 8d678816752..cd186619ed3 100644 --- a/service/lakeformation/api_client.go +++ b/service/lakeformation/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/lakeformation/api_op_AddLFTagsToResource.go b/service/lakeformation/api_op_AddLFTagsToResource.go index e9475db5f2b..66dc6fb3ae5 100644 --- a/service/lakeformation/api_op_AddLFTagsToResource.go +++ b/service/lakeformation/api_op_AddLFTagsToResource.go @@ -123,9 +123,6 @@ func (c *Client) addOperationAddLFTagsToResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddLFTagsToResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_AssumeDecoratedRoleWithSAML.go b/service/lakeformation/api_op_AssumeDecoratedRoleWithSAML.go index 32043f73f31..f05229d6f29 100644 --- a/service/lakeformation/api_op_AssumeDecoratedRoleWithSAML.go +++ b/service/lakeformation/api_op_AssumeDecoratedRoleWithSAML.go @@ -155,9 +155,6 @@ func (c *Client) addOperationAssumeDecoratedRoleWithSAMLMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssumeDecoratedRoleWithSAMLValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_BatchGrantPermissions.go b/service/lakeformation/api_op_BatchGrantPermissions.go index e35890a955f..b22f3347806 100644 --- a/service/lakeformation/api_op_BatchGrantPermissions.go +++ b/service/lakeformation/api_op_BatchGrantPermissions.go @@ -119,9 +119,6 @@ func (c *Client) addOperationBatchGrantPermissionsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGrantPermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_BatchRevokePermissions.go b/service/lakeformation/api_op_BatchRevokePermissions.go index 8a222ae8f7f..d419aacbbdd 100644 --- a/service/lakeformation/api_op_BatchRevokePermissions.go +++ b/service/lakeformation/api_op_BatchRevokePermissions.go @@ -119,9 +119,6 @@ func (c *Client) addOperationBatchRevokePermissionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchRevokePermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_CancelTransaction.go b/service/lakeformation/api_op_CancelTransaction.go index e06e00c55c1..9b150a56906 100644 --- a/service/lakeformation/api_op_CancelTransaction.go +++ b/service/lakeformation/api_op_CancelTransaction.go @@ -108,9 +108,6 @@ func (c *Client) addOperationCancelTransactionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelTransactionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_CommitTransaction.go b/service/lakeformation/api_op_CommitTransaction.go index 7e9805e4b69..5e18285627e 100644 --- a/service/lakeformation/api_op_CommitTransaction.go +++ b/service/lakeformation/api_op_CommitTransaction.go @@ -114,9 +114,6 @@ func (c *Client) addOperationCommitTransactionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCommitTransactionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_CreateDataCellsFilter.go b/service/lakeformation/api_op_CreateDataCellsFilter.go index 821eee4c726..37bb8ae127f 100644 --- a/service/lakeformation/api_op_CreateDataCellsFilter.go +++ b/service/lakeformation/api_op_CreateDataCellsFilter.go @@ -109,9 +109,6 @@ func (c *Client) addOperationCreateDataCellsFilterMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDataCellsFilterValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_CreateLFTag.go b/service/lakeformation/api_op_CreateLFTag.go index 85fb5009f70..a5bf2b4ac2a 100644 --- a/service/lakeformation/api_op_CreateLFTag.go +++ b/service/lakeformation/api_op_CreateLFTag.go @@ -118,9 +118,6 @@ func (c *Client) addOperationCreateLFTagMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLFTagValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_CreateLFTagExpression.go b/service/lakeformation/api_op_CreateLFTagExpression.go index 58cf029d3e8..6e84ec367c2 100644 --- a/service/lakeformation/api_op_CreateLFTagExpression.go +++ b/service/lakeformation/api_op_CreateLFTagExpression.go @@ -131,9 +131,6 @@ func (c *Client) addOperationCreateLFTagExpressionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLFTagExpressionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_CreateLakeFormationIdentityCenterConfiguration.go b/service/lakeformation/api_op_CreateLakeFormationIdentityCenterConfiguration.go index 6f4ea4de2d6..f62dfcfa975 100644 --- a/service/lakeformation/api_op_CreateLakeFormationIdentityCenterConfiguration.go +++ b/service/lakeformation/api_op_CreateLakeFormationIdentityCenterConfiguration.go @@ -136,9 +136,6 @@ func (c *Client) addOperationCreateLakeFormationIdentityCenterConfigurationMiddl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLakeFormationIdentityCenterConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_CreateLakeFormationOptIn.go b/service/lakeformation/api_op_CreateLakeFormationOptIn.go index 9ddd39f0bf5..a9c9c233571 100644 --- a/service/lakeformation/api_op_CreateLakeFormationOptIn.go +++ b/service/lakeformation/api_op_CreateLakeFormationOptIn.go @@ -114,9 +114,6 @@ func (c *Client) addOperationCreateLakeFormationOptInMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLakeFormationOptInValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_DeleteDataCellsFilter.go b/service/lakeformation/api_op_DeleteDataCellsFilter.go index 786749f5e73..ae72b0f991c 100644 --- a/service/lakeformation/api_op_DeleteDataCellsFilter.go +++ b/service/lakeformation/api_op_DeleteDataCellsFilter.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteDataCellsFilterMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDataCellsFilter(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lakeformation/api_op_DeleteLFTag.go b/service/lakeformation/api_op_DeleteLFTag.go index 745ec133df4..788be6f2f2d 100644 --- a/service/lakeformation/api_op_DeleteLFTag.go +++ b/service/lakeformation/api_op_DeleteLFTag.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteLFTagMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLFTagValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_DeleteLFTagExpression.go b/service/lakeformation/api_op_DeleteLFTagExpression.go index cf4eb88ceb5..652e0cab4e5 100644 --- a/service/lakeformation/api_op_DeleteLFTagExpression.go +++ b/service/lakeformation/api_op_DeleteLFTagExpression.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteLFTagExpressionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLFTagExpressionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_DeleteLakeFormationIdentityCenterConfiguration.go b/service/lakeformation/api_op_DeleteLakeFormationIdentityCenterConfiguration.go index 72b52496a17..9f89d73c787 100644 --- a/service/lakeformation/api_op_DeleteLakeFormationIdentityCenterConfiguration.go +++ b/service/lakeformation/api_op_DeleteLakeFormationIdentityCenterConfiguration.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteLakeFormationIdentityCenterConfigurationMiddl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteLakeFormationIdentityCenterConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lakeformation/api_op_DeleteLakeFormationOptIn.go b/service/lakeformation/api_op_DeleteLakeFormationOptIn.go index 50b009972c0..1d07d2ecc91 100644 --- a/service/lakeformation/api_op_DeleteLakeFormationOptIn.go +++ b/service/lakeformation/api_op_DeleteLakeFormationOptIn.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteLakeFormationOptInMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLakeFormationOptInValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_DeleteObjectsOnCancel.go b/service/lakeformation/api_op_DeleteObjectsOnCancel.go index 35aa58fd62f..38d440a5aa7 100644 --- a/service/lakeformation/api_op_DeleteObjectsOnCancel.go +++ b/service/lakeformation/api_op_DeleteObjectsOnCancel.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDeleteObjectsOnCancelMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteObjectsOnCancelValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_DeregisterResource.go b/service/lakeformation/api_op_DeregisterResource.go index 1035a66df83..82f37e4cf5a 100644 --- a/service/lakeformation/api_op_DeregisterResource.go +++ b/service/lakeformation/api_op_DeregisterResource.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeregisterResourceMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_DescribeLakeFormationIdentityCenterConfiguration.go b/service/lakeformation/api_op_DescribeLakeFormationIdentityCenterConfiguration.go index 9fcb2adf928..ca5adb64374 100644 --- a/service/lakeformation/api_op_DescribeLakeFormationIdentityCenterConfiguration.go +++ b/service/lakeformation/api_op_DescribeLakeFormationIdentityCenterConfiguration.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeLakeFormationIdentityCenterConfigurationMid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLakeFormationIdentityCenterConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lakeformation/api_op_DescribeResource.go b/service/lakeformation/api_op_DescribeResource.go index d2474a22b29..8475c248628 100644 --- a/service/lakeformation/api_op_DescribeResource.go +++ b/service/lakeformation/api_op_DescribeResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDescribeResourceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_DescribeTransaction.go b/service/lakeformation/api_op_DescribeTransaction.go index c0327c41c45..310d8985856 100644 --- a/service/lakeformation/api_op_DescribeTransaction.go +++ b/service/lakeformation/api_op_DescribeTransaction.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDescribeTransactionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTransactionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_ExtendTransaction.go b/service/lakeformation/api_op_ExtendTransaction.go index a49f76facab..2a09baef422 100644 --- a/service/lakeformation/api_op_ExtendTransaction.go +++ b/service/lakeformation/api_op_ExtendTransaction.go @@ -109,9 +109,6 @@ func (c *Client) addOperationExtendTransactionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opExtendTransaction(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lakeformation/api_op_GetDataCellsFilter.go b/service/lakeformation/api_op_GetDataCellsFilter.go index 9498c092706..b475eb00b26 100644 --- a/service/lakeformation/api_op_GetDataCellsFilter.go +++ b/service/lakeformation/api_op_GetDataCellsFilter.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetDataCellsFilterMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataCellsFilterValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_GetDataLakePrincipal.go b/service/lakeformation/api_op_GetDataLakePrincipal.go index 26645af35e4..362be167098 100644 --- a/service/lakeformation/api_op_GetDataLakePrincipal.go +++ b/service/lakeformation/api_op_GetDataLakePrincipal.go @@ -105,9 +105,6 @@ func (c *Client) addOperationGetDataLakePrincipalMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDataLakePrincipal(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lakeformation/api_op_GetDataLakeSettings.go b/service/lakeformation/api_op_GetDataLakeSettings.go index bc1175762a4..588e9f206a3 100644 --- a/service/lakeformation/api_op_GetDataLakeSettings.go +++ b/service/lakeformation/api_op_GetDataLakeSettings.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetDataLakeSettingsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDataLakeSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lakeformation/api_op_GetEffectivePermissionsForPath.go b/service/lakeformation/api_op_GetEffectivePermissionsForPath.go index 0f9a1196fc0..2219f0e98da 100644 --- a/service/lakeformation/api_op_GetEffectivePermissionsForPath.go +++ b/service/lakeformation/api_op_GetEffectivePermissionsForPath.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetEffectivePermissionsForPathMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEffectivePermissionsForPathValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_GetLFTag.go b/service/lakeformation/api_op_GetLFTag.go index 3e2aa562d78..c163f07fb8d 100644 --- a/service/lakeformation/api_op_GetLFTag.go +++ b/service/lakeformation/api_op_GetLFTag.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetLFTagMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLFTagValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_GetLFTagExpression.go b/service/lakeformation/api_op_GetLFTagExpression.go index 480fb3ce1f5..a5a59b4464b 100644 --- a/service/lakeformation/api_op_GetLFTagExpression.go +++ b/service/lakeformation/api_op_GetLFTagExpression.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetLFTagExpressionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLFTagExpressionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_GetQueryState.go b/service/lakeformation/api_op_GetQueryState.go index 6b8202ab48a..7f3a90997ab 100644 --- a/service/lakeformation/api_op_GetQueryState.go +++ b/service/lakeformation/api_op_GetQueryState.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetQueryStateMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetQueryStateMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_GetQueryStatistics.go b/service/lakeformation/api_op_GetQueryStatistics.go index 05f1d4c49b8..81c0e2aebc6 100644 --- a/service/lakeformation/api_op_GetQueryStatistics.go +++ b/service/lakeformation/api_op_GetQueryStatistics.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetQueryStatisticsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetQueryStatisticsMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_GetResourceLFTags.go b/service/lakeformation/api_op_GetResourceLFTags.go index b0a583e6749..6d640e48be4 100644 --- a/service/lakeformation/api_op_GetResourceLFTags.go +++ b/service/lakeformation/api_op_GetResourceLFTags.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetResourceLFTagsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourceLFTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_GetTableObjects.go b/service/lakeformation/api_op_GetTableObjects.go index 7d46b2f2075..44fc2c9fe98 100644 --- a/service/lakeformation/api_op_GetTableObjects.go +++ b/service/lakeformation/api_op_GetTableObjects.go @@ -152,9 +152,6 @@ func (c *Client) addOperationGetTableObjectsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTableObjectsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_GetTemporaryGluePartitionCredentials.go b/service/lakeformation/api_op_GetTemporaryGluePartitionCredentials.go index 9847a24d59b..939e20f0538 100644 --- a/service/lakeformation/api_op_GetTemporaryGluePartitionCredentials.go +++ b/service/lakeformation/api_op_GetTemporaryGluePartitionCredentials.go @@ -146,9 +146,6 @@ func (c *Client) addOperationGetTemporaryGluePartitionCredentialsMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTemporaryGluePartitionCredentialsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_GetTemporaryGlueTableCredentials.go b/service/lakeformation/api_op_GetTemporaryGlueTableCredentials.go index 66454654637..2fcc0f55463 100644 --- a/service/lakeformation/api_op_GetTemporaryGlueTableCredentials.go +++ b/service/lakeformation/api_op_GetTemporaryGlueTableCredentials.go @@ -156,9 +156,6 @@ func (c *Client) addOperationGetTemporaryGlueTableCredentialsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTemporaryGlueTableCredentialsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_GetWorkUnitResults.go b/service/lakeformation/api_op_GetWorkUnitResults.go index 1a13aed2cc4..69d6a729951 100644 --- a/service/lakeformation/api_op_GetWorkUnitResults.go +++ b/service/lakeformation/api_op_GetWorkUnitResults.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetWorkUnitResultsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetWorkUnitResultsMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_GetWorkUnits.go b/service/lakeformation/api_op_GetWorkUnits.go index ea0fcc57221..426ad87b37a 100644 --- a/service/lakeformation/api_op_GetWorkUnits.go +++ b/service/lakeformation/api_op_GetWorkUnits.go @@ -135,9 +135,6 @@ func (c *Client) addOperationGetWorkUnitsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetWorkUnitsMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_GrantPermissions.go b/service/lakeformation/api_op_GrantPermissions.go index f2083a9ba80..6cb17df2d95 100644 --- a/service/lakeformation/api_op_GrantPermissions.go +++ b/service/lakeformation/api_op_GrantPermissions.go @@ -145,9 +145,6 @@ func (c *Client) addOperationGrantPermissionsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGrantPermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_ListDataCellsFilter.go b/service/lakeformation/api_op_ListDataCellsFilter.go index 0a47071cb3d..47f87bf004c 100644 --- a/service/lakeformation/api_op_ListDataCellsFilter.go +++ b/service/lakeformation/api_op_ListDataCellsFilter.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListDataCellsFilterMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDataCellsFilterValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_ListLFTagExpressions.go b/service/lakeformation/api_op_ListLFTagExpressions.go index 4d64849b03b..9882ab4ee1d 100644 --- a/service/lakeformation/api_op_ListLFTagExpressions.go +++ b/service/lakeformation/api_op_ListLFTagExpressions.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListLFTagExpressionsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLFTagExpressions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lakeformation/api_op_ListLFTags.go b/service/lakeformation/api_op_ListLFTags.go index 595e4d57b07..0b337a9a35d 100644 --- a/service/lakeformation/api_op_ListLFTags.go +++ b/service/lakeformation/api_op_ListLFTags.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListLFTagsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLFTags(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lakeformation/api_op_ListLakeFormationOptIns.go b/service/lakeformation/api_op_ListLakeFormationOptIns.go index 0327ab95663..e2dc0ac4d90 100644 --- a/service/lakeformation/api_op_ListLakeFormationOptIns.go +++ b/service/lakeformation/api_op_ListLakeFormationOptIns.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListLakeFormationOptInsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListLakeFormationOptInsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_ListPermissions.go b/service/lakeformation/api_op_ListPermissions.go index fd11477bb95..e4ec7f1b8b3 100644 --- a/service/lakeformation/api_op_ListPermissions.go +++ b/service/lakeformation/api_op_ListPermissions.go @@ -147,9 +147,6 @@ func (c *Client) addOperationListPermissionsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_ListResources.go b/service/lakeformation/api_op_ListResources.go index e893eafef75..c81ef1ba5ed 100644 --- a/service/lakeformation/api_op_ListResources.go +++ b/service/lakeformation/api_op_ListResources.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListResourcesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResources(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lakeformation/api_op_ListTableStorageOptimizers.go b/service/lakeformation/api_op_ListTableStorageOptimizers.go index f91dc5935ec..0e3b555f1d4 100644 --- a/service/lakeformation/api_op_ListTableStorageOptimizers.go +++ b/service/lakeformation/api_op_ListTableStorageOptimizers.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListTableStorageOptimizersMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTableStorageOptimizersValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_ListTransactions.go b/service/lakeformation/api_op_ListTransactions.go index 43881818a4b..eedb2cdd567 100644 --- a/service/lakeformation/api_op_ListTransactions.go +++ b/service/lakeformation/api_op_ListTransactions.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListTransactionsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTransactions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lakeformation/api_op_PutDataLakeSettings.go b/service/lakeformation/api_op_PutDataLakeSettings.go index 34de663c097..fcccf1ccd79 100644 --- a/service/lakeformation/api_op_PutDataLakeSettings.go +++ b/service/lakeformation/api_op_PutDataLakeSettings.go @@ -123,9 +123,6 @@ func (c *Client) addOperationPutDataLakeSettingsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutDataLakeSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_RegisterResource.go b/service/lakeformation/api_op_RegisterResource.go index 8fb3c2a0616..0b9e2375405 100644 --- a/service/lakeformation/api_op_RegisterResource.go +++ b/service/lakeformation/api_op_RegisterResource.go @@ -143,9 +143,6 @@ func (c *Client) addOperationRegisterResourceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_RemoveLFTagsFromResource.go b/service/lakeformation/api_op_RemoveLFTagsFromResource.go index a1be209bc74..19cbf8a5d27 100644 --- a/service/lakeformation/api_op_RemoveLFTagsFromResource.go +++ b/service/lakeformation/api_op_RemoveLFTagsFromResource.go @@ -125,9 +125,6 @@ func (c *Client) addOperationRemoveLFTagsFromResourceMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveLFTagsFromResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_RevokePermissions.go b/service/lakeformation/api_op_RevokePermissions.go index b7fae1e5f44..f154b4e870f 100644 --- a/service/lakeformation/api_op_RevokePermissions.go +++ b/service/lakeformation/api_op_RevokePermissions.go @@ -132,9 +132,6 @@ func (c *Client) addOperationRevokePermissionsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRevokePermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_SearchDatabasesByLFTags.go b/service/lakeformation/api_op_SearchDatabasesByLFTags.go index 82a100e762c..5fcbda74021 100644 --- a/service/lakeformation/api_op_SearchDatabasesByLFTags.go +++ b/service/lakeformation/api_op_SearchDatabasesByLFTags.go @@ -131,9 +131,6 @@ func (c *Client) addOperationSearchDatabasesByLFTagsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchDatabasesByLFTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_SearchTablesByLFTags.go b/service/lakeformation/api_op_SearchTablesByLFTags.go index e951bb28e40..1b233e2025b 100644 --- a/service/lakeformation/api_op_SearchTablesByLFTags.go +++ b/service/lakeformation/api_op_SearchTablesByLFTags.go @@ -132,9 +132,6 @@ func (c *Client) addOperationSearchTablesByLFTagsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchTablesByLFTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_StartQueryPlanning.go b/service/lakeformation/api_op_StartQueryPlanning.go index 0b02a21f38b..63805f019e7 100644 --- a/service/lakeformation/api_op_StartQueryPlanning.go +++ b/service/lakeformation/api_op_StartQueryPlanning.go @@ -125,9 +125,6 @@ func (c *Client) addOperationStartQueryPlanningMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opStartQueryPlanningMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_StartTransaction.go b/service/lakeformation/api_op_StartTransaction.go index f1de0b6e40f..1f2081c9fc3 100644 --- a/service/lakeformation/api_op_StartTransaction.go +++ b/service/lakeformation/api_op_StartTransaction.go @@ -113,9 +113,6 @@ func (c *Client) addOperationStartTransactionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartTransaction(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lakeformation/api_op_UpdateDataCellsFilter.go b/service/lakeformation/api_op_UpdateDataCellsFilter.go index 063c20e8726..ed437a0a259 100644 --- a/service/lakeformation/api_op_UpdateDataCellsFilter.go +++ b/service/lakeformation/api_op_UpdateDataCellsFilter.go @@ -108,9 +108,6 @@ func (c *Client) addOperationUpdateDataCellsFilterMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDataCellsFilterValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_UpdateLFTag.go b/service/lakeformation/api_op_UpdateLFTag.go index 94182e17c2d..ded200fd59b 100644 --- a/service/lakeformation/api_op_UpdateLFTag.go +++ b/service/lakeformation/api_op_UpdateLFTag.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateLFTagMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLFTagValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_UpdateLFTagExpression.go b/service/lakeformation/api_op_UpdateLFTagExpression.go index dcb6cb40a6b..44cd4e9c6fb 100644 --- a/service/lakeformation/api_op_UpdateLFTagExpression.go +++ b/service/lakeformation/api_op_UpdateLFTagExpression.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateLFTagExpressionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLFTagExpressionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_UpdateLakeFormationIdentityCenterConfiguration.go b/service/lakeformation/api_op_UpdateLakeFormationIdentityCenterConfiguration.go index 955af1f0320..c11a2edcab6 100644 --- a/service/lakeformation/api_op_UpdateLakeFormationIdentityCenterConfiguration.go +++ b/service/lakeformation/api_op_UpdateLakeFormationIdentityCenterConfiguration.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateLakeFormationIdentityCenterConfigurationMiddl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLakeFormationIdentityCenterConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_UpdateResource.go b/service/lakeformation/api_op_UpdateResource.go index 05fc02d1840..d2e1fec6cdd 100644 --- a/service/lakeformation/api_op_UpdateResource.go +++ b/service/lakeformation/api_op_UpdateResource.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdateResourceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_UpdateTableObjects.go b/service/lakeformation/api_op_UpdateTableObjects.go index 1d3031e1edf..65074319cb4 100644 --- a/service/lakeformation/api_op_UpdateTableObjects.go +++ b/service/lakeformation/api_op_UpdateTableObjects.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateTableObjectsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTableObjectsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/api_op_UpdateTableStorageOptimizer.go b/service/lakeformation/api_op_UpdateTableStorageOptimizer.go index 79b57d961d6..b8ef8be74bd 100644 --- a/service/lakeformation/api_op_UpdateTableStorageOptimizer.go +++ b/service/lakeformation/api_op_UpdateTableStorageOptimizer.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateTableStorageOptimizerMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTableStorageOptimizerValidationMiddleware(stack); err != nil { return err } diff --git a/service/lakeformation/snapshot/api_op_AddLFTagsToResource.go.snap b/service/lakeformation/snapshot/api_op_AddLFTagsToResource.go.snap index 6414abaffe4..2bf05a9e8c3 100644 --- a/service/lakeformation/snapshot/api_op_AddLFTagsToResource.go.snap +++ b/service/lakeformation/snapshot/api_op_AddLFTagsToResource.go.snap @@ -14,7 +14,6 @@ AddLFTagsToResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_AssumeDecoratedRoleWithSAML.go.snap b/service/lakeformation/snapshot/api_op_AssumeDecoratedRoleWithSAML.go.snap index 7204b1a2485..369fc5691db 100644 --- a/service/lakeformation/snapshot/api_op_AssumeDecoratedRoleWithSAML.go.snap +++ b/service/lakeformation/snapshot/api_op_AssumeDecoratedRoleWithSAML.go.snap @@ -14,7 +14,6 @@ AssumeDecoratedRoleWithSAML Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_BatchGrantPermissions.go.snap b/service/lakeformation/snapshot/api_op_BatchGrantPermissions.go.snap index df95175ed14..a6cd3569cf5 100644 --- a/service/lakeformation/snapshot/api_op_BatchGrantPermissions.go.snap +++ b/service/lakeformation/snapshot/api_op_BatchGrantPermissions.go.snap @@ -14,7 +14,6 @@ BatchGrantPermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_BatchRevokePermissions.go.snap b/service/lakeformation/snapshot/api_op_BatchRevokePermissions.go.snap index 13c4c15871f..41652d643ae 100644 --- a/service/lakeformation/snapshot/api_op_BatchRevokePermissions.go.snap +++ b/service/lakeformation/snapshot/api_op_BatchRevokePermissions.go.snap @@ -14,7 +14,6 @@ BatchRevokePermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_CancelTransaction.go.snap b/service/lakeformation/snapshot/api_op_CancelTransaction.go.snap index b82e38f0103..c7a1048ae41 100644 --- a/service/lakeformation/snapshot/api_op_CancelTransaction.go.snap +++ b/service/lakeformation/snapshot/api_op_CancelTransaction.go.snap @@ -14,7 +14,6 @@ CancelTransaction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_CommitTransaction.go.snap b/service/lakeformation/snapshot/api_op_CommitTransaction.go.snap index ed249040ebb..6cf039ba99f 100644 --- a/service/lakeformation/snapshot/api_op_CommitTransaction.go.snap +++ b/service/lakeformation/snapshot/api_op_CommitTransaction.go.snap @@ -14,7 +14,6 @@ CommitTransaction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_CreateDataCellsFilter.go.snap b/service/lakeformation/snapshot/api_op_CreateDataCellsFilter.go.snap index cd845238d31..c18c35f4605 100644 --- a/service/lakeformation/snapshot/api_op_CreateDataCellsFilter.go.snap +++ b/service/lakeformation/snapshot/api_op_CreateDataCellsFilter.go.snap @@ -14,7 +14,6 @@ CreateDataCellsFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_CreateLFTag.go.snap b/service/lakeformation/snapshot/api_op_CreateLFTag.go.snap index d31571d63fb..be7742c8c41 100644 --- a/service/lakeformation/snapshot/api_op_CreateLFTag.go.snap +++ b/service/lakeformation/snapshot/api_op_CreateLFTag.go.snap @@ -14,7 +14,6 @@ CreateLFTag Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_CreateLFTagExpression.go.snap b/service/lakeformation/snapshot/api_op_CreateLFTagExpression.go.snap index 3223aa04901..1a26c7a7bc4 100644 --- a/service/lakeformation/snapshot/api_op_CreateLFTagExpression.go.snap +++ b/service/lakeformation/snapshot/api_op_CreateLFTagExpression.go.snap @@ -14,7 +14,6 @@ CreateLFTagExpression Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_CreateLakeFormationIdentityCenterConfiguration.go.snap b/service/lakeformation/snapshot/api_op_CreateLakeFormationIdentityCenterConfiguration.go.snap index 6f28ea3670a..3f591d16d30 100644 --- a/service/lakeformation/snapshot/api_op_CreateLakeFormationIdentityCenterConfiguration.go.snap +++ b/service/lakeformation/snapshot/api_op_CreateLakeFormationIdentityCenterConfiguration.go.snap @@ -14,7 +14,6 @@ CreateLakeFormationIdentityCenterConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_CreateLakeFormationOptIn.go.snap b/service/lakeformation/snapshot/api_op_CreateLakeFormationOptIn.go.snap index c7045c2c840..5dda68fa40a 100644 --- a/service/lakeformation/snapshot/api_op_CreateLakeFormationOptIn.go.snap +++ b/service/lakeformation/snapshot/api_op_CreateLakeFormationOptIn.go.snap @@ -14,7 +14,6 @@ CreateLakeFormationOptIn Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_DeleteDataCellsFilter.go.snap b/service/lakeformation/snapshot/api_op_DeleteDataCellsFilter.go.snap index 1c2ef636b2d..b64b27c53fd 100644 --- a/service/lakeformation/snapshot/api_op_DeleteDataCellsFilter.go.snap +++ b/service/lakeformation/snapshot/api_op_DeleteDataCellsFilter.go.snap @@ -13,7 +13,6 @@ DeleteDataCellsFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_DeleteLFTag.go.snap b/service/lakeformation/snapshot/api_op_DeleteLFTag.go.snap index 9e29251e382..66d48d0d8cb 100644 --- a/service/lakeformation/snapshot/api_op_DeleteLFTag.go.snap +++ b/service/lakeformation/snapshot/api_op_DeleteLFTag.go.snap @@ -14,7 +14,6 @@ DeleteLFTag Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_DeleteLFTagExpression.go.snap b/service/lakeformation/snapshot/api_op_DeleteLFTagExpression.go.snap index e0bae3a722a..3d1009ef41f 100644 --- a/service/lakeformation/snapshot/api_op_DeleteLFTagExpression.go.snap +++ b/service/lakeformation/snapshot/api_op_DeleteLFTagExpression.go.snap @@ -14,7 +14,6 @@ DeleteLFTagExpression Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_DeleteLakeFormationIdentityCenterConfiguration.go.snap b/service/lakeformation/snapshot/api_op_DeleteLakeFormationIdentityCenterConfiguration.go.snap index 7a434d52d5f..450526278bf 100644 --- a/service/lakeformation/snapshot/api_op_DeleteLakeFormationIdentityCenterConfiguration.go.snap +++ b/service/lakeformation/snapshot/api_op_DeleteLakeFormationIdentityCenterConfiguration.go.snap @@ -13,7 +13,6 @@ DeleteLakeFormationIdentityCenterConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_DeleteLakeFormationOptIn.go.snap b/service/lakeformation/snapshot/api_op_DeleteLakeFormationOptIn.go.snap index c39d226cce1..7c8af06704c 100644 --- a/service/lakeformation/snapshot/api_op_DeleteLakeFormationOptIn.go.snap +++ b/service/lakeformation/snapshot/api_op_DeleteLakeFormationOptIn.go.snap @@ -14,7 +14,6 @@ DeleteLakeFormationOptIn Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_DeleteObjectsOnCancel.go.snap b/service/lakeformation/snapshot/api_op_DeleteObjectsOnCancel.go.snap index b9f284a6d73..53ecac6cb54 100644 --- a/service/lakeformation/snapshot/api_op_DeleteObjectsOnCancel.go.snap +++ b/service/lakeformation/snapshot/api_op_DeleteObjectsOnCancel.go.snap @@ -14,7 +14,6 @@ DeleteObjectsOnCancel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_DeregisterResource.go.snap b/service/lakeformation/snapshot/api_op_DeregisterResource.go.snap index 136ecc8242a..0efa8a141b0 100644 --- a/service/lakeformation/snapshot/api_op_DeregisterResource.go.snap +++ b/service/lakeformation/snapshot/api_op_DeregisterResource.go.snap @@ -14,7 +14,6 @@ DeregisterResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_DescribeLakeFormationIdentityCenterConfiguration.go.snap b/service/lakeformation/snapshot/api_op_DescribeLakeFormationIdentityCenterConfiguration.go.snap index f5867b22348..9afa5dc4f12 100644 --- a/service/lakeformation/snapshot/api_op_DescribeLakeFormationIdentityCenterConfiguration.go.snap +++ b/service/lakeformation/snapshot/api_op_DescribeLakeFormationIdentityCenterConfiguration.go.snap @@ -13,7 +13,6 @@ DescribeLakeFormationIdentityCenterConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_DescribeResource.go.snap b/service/lakeformation/snapshot/api_op_DescribeResource.go.snap index 5f5bb0f5375..a78048e3283 100644 --- a/service/lakeformation/snapshot/api_op_DescribeResource.go.snap +++ b/service/lakeformation/snapshot/api_op_DescribeResource.go.snap @@ -14,7 +14,6 @@ DescribeResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_DescribeTransaction.go.snap b/service/lakeformation/snapshot/api_op_DescribeTransaction.go.snap index 08d7d34a598..f213f05e6e5 100644 --- a/service/lakeformation/snapshot/api_op_DescribeTransaction.go.snap +++ b/service/lakeformation/snapshot/api_op_DescribeTransaction.go.snap @@ -14,7 +14,6 @@ DescribeTransaction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_ExtendTransaction.go.snap b/service/lakeformation/snapshot/api_op_ExtendTransaction.go.snap index ca40768bfdf..9df743c5441 100644 --- a/service/lakeformation/snapshot/api_op_ExtendTransaction.go.snap +++ b/service/lakeformation/snapshot/api_op_ExtendTransaction.go.snap @@ -13,7 +13,6 @@ ExtendTransaction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_GetDataCellsFilter.go.snap b/service/lakeformation/snapshot/api_op_GetDataCellsFilter.go.snap index 3cc3f8d6772..34ac9ce7c32 100644 --- a/service/lakeformation/snapshot/api_op_GetDataCellsFilter.go.snap +++ b/service/lakeformation/snapshot/api_op_GetDataCellsFilter.go.snap @@ -14,7 +14,6 @@ GetDataCellsFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_GetDataLakePrincipal.go.snap b/service/lakeformation/snapshot/api_op_GetDataLakePrincipal.go.snap index 40aab19d2d9..5298a689d44 100644 --- a/service/lakeformation/snapshot/api_op_GetDataLakePrincipal.go.snap +++ b/service/lakeformation/snapshot/api_op_GetDataLakePrincipal.go.snap @@ -13,7 +13,6 @@ GetDataLakePrincipal Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_GetDataLakeSettings.go.snap b/service/lakeformation/snapshot/api_op_GetDataLakeSettings.go.snap index 9a175c05dd2..76102a09bee 100644 --- a/service/lakeformation/snapshot/api_op_GetDataLakeSettings.go.snap +++ b/service/lakeformation/snapshot/api_op_GetDataLakeSettings.go.snap @@ -13,7 +13,6 @@ GetDataLakeSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_GetEffectivePermissionsForPath.go.snap b/service/lakeformation/snapshot/api_op_GetEffectivePermissionsForPath.go.snap index b2783cb9e35..2a5338f7f41 100644 --- a/service/lakeformation/snapshot/api_op_GetEffectivePermissionsForPath.go.snap +++ b/service/lakeformation/snapshot/api_op_GetEffectivePermissionsForPath.go.snap @@ -14,7 +14,6 @@ GetEffectivePermissionsForPath Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_GetLFTag.go.snap b/service/lakeformation/snapshot/api_op_GetLFTag.go.snap index 45a32f2b207..b9401fa7eb2 100644 --- a/service/lakeformation/snapshot/api_op_GetLFTag.go.snap +++ b/service/lakeformation/snapshot/api_op_GetLFTag.go.snap @@ -14,7 +14,6 @@ GetLFTag Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_GetLFTagExpression.go.snap b/service/lakeformation/snapshot/api_op_GetLFTagExpression.go.snap index af3fe24c251..0de0bd145ac 100644 --- a/service/lakeformation/snapshot/api_op_GetLFTagExpression.go.snap +++ b/service/lakeformation/snapshot/api_op_GetLFTagExpression.go.snap @@ -14,7 +14,6 @@ GetLFTagExpression Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_GetQueryState.go.snap b/service/lakeformation/snapshot/api_op_GetQueryState.go.snap index 5ec86ff2ca0..4f835d18f1d 100644 --- a/service/lakeformation/snapshot/api_op_GetQueryState.go.snap +++ b/service/lakeformation/snapshot/api_op_GetQueryState.go.snap @@ -14,7 +14,6 @@ GetQueryState Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_GetQueryStatistics.go.snap b/service/lakeformation/snapshot/api_op_GetQueryStatistics.go.snap index 8dcb0e42779..96efa8d53b8 100644 --- a/service/lakeformation/snapshot/api_op_GetQueryStatistics.go.snap +++ b/service/lakeformation/snapshot/api_op_GetQueryStatistics.go.snap @@ -14,7 +14,6 @@ GetQueryStatistics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_GetResourceLFTags.go.snap b/service/lakeformation/snapshot/api_op_GetResourceLFTags.go.snap index 552d217205f..da5e04ac25b 100644 --- a/service/lakeformation/snapshot/api_op_GetResourceLFTags.go.snap +++ b/service/lakeformation/snapshot/api_op_GetResourceLFTags.go.snap @@ -14,7 +14,6 @@ GetResourceLFTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_GetTableObjects.go.snap b/service/lakeformation/snapshot/api_op_GetTableObjects.go.snap index 2131100c846..fbee3078dc3 100644 --- a/service/lakeformation/snapshot/api_op_GetTableObjects.go.snap +++ b/service/lakeformation/snapshot/api_op_GetTableObjects.go.snap @@ -14,7 +14,6 @@ GetTableObjects Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_GetTemporaryGluePartitionCredentials.go.snap b/service/lakeformation/snapshot/api_op_GetTemporaryGluePartitionCredentials.go.snap index 96212076713..94eee8d4be8 100644 --- a/service/lakeformation/snapshot/api_op_GetTemporaryGluePartitionCredentials.go.snap +++ b/service/lakeformation/snapshot/api_op_GetTemporaryGluePartitionCredentials.go.snap @@ -14,7 +14,6 @@ GetTemporaryGluePartitionCredentials Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_GetTemporaryGlueTableCredentials.go.snap b/service/lakeformation/snapshot/api_op_GetTemporaryGlueTableCredentials.go.snap index 4d2a4d8c154..e371d925888 100644 --- a/service/lakeformation/snapshot/api_op_GetTemporaryGlueTableCredentials.go.snap +++ b/service/lakeformation/snapshot/api_op_GetTemporaryGlueTableCredentials.go.snap @@ -14,7 +14,6 @@ GetTemporaryGlueTableCredentials Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_GetWorkUnitResults.go.snap b/service/lakeformation/snapshot/api_op_GetWorkUnitResults.go.snap index ead2ca03bd8..e946df8239b 100644 --- a/service/lakeformation/snapshot/api_op_GetWorkUnitResults.go.snap +++ b/service/lakeformation/snapshot/api_op_GetWorkUnitResults.go.snap @@ -14,7 +14,6 @@ GetWorkUnitResults Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_GetWorkUnits.go.snap b/service/lakeformation/snapshot/api_op_GetWorkUnits.go.snap index 05312f1e833..2d1a4378c3b 100644 --- a/service/lakeformation/snapshot/api_op_GetWorkUnits.go.snap +++ b/service/lakeformation/snapshot/api_op_GetWorkUnits.go.snap @@ -14,7 +14,6 @@ GetWorkUnits Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_GrantPermissions.go.snap b/service/lakeformation/snapshot/api_op_GrantPermissions.go.snap index db568195d25..a1bed0aab8f 100644 --- a/service/lakeformation/snapshot/api_op_GrantPermissions.go.snap +++ b/service/lakeformation/snapshot/api_op_GrantPermissions.go.snap @@ -14,7 +14,6 @@ GrantPermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_ListDataCellsFilter.go.snap b/service/lakeformation/snapshot/api_op_ListDataCellsFilter.go.snap index e450e27f2e4..5380dd35d6f 100644 --- a/service/lakeformation/snapshot/api_op_ListDataCellsFilter.go.snap +++ b/service/lakeformation/snapshot/api_op_ListDataCellsFilter.go.snap @@ -14,7 +14,6 @@ ListDataCellsFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_ListLFTagExpressions.go.snap b/service/lakeformation/snapshot/api_op_ListLFTagExpressions.go.snap index ec5d2ab9c19..b615741ab2b 100644 --- a/service/lakeformation/snapshot/api_op_ListLFTagExpressions.go.snap +++ b/service/lakeformation/snapshot/api_op_ListLFTagExpressions.go.snap @@ -13,7 +13,6 @@ ListLFTagExpressions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_ListLFTags.go.snap b/service/lakeformation/snapshot/api_op_ListLFTags.go.snap index 260233c64d8..8d53ae584e1 100644 --- a/service/lakeformation/snapshot/api_op_ListLFTags.go.snap +++ b/service/lakeformation/snapshot/api_op_ListLFTags.go.snap @@ -13,7 +13,6 @@ ListLFTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_ListLakeFormationOptIns.go.snap b/service/lakeformation/snapshot/api_op_ListLakeFormationOptIns.go.snap index df3468855d1..d903dd52a7a 100644 --- a/service/lakeformation/snapshot/api_op_ListLakeFormationOptIns.go.snap +++ b/service/lakeformation/snapshot/api_op_ListLakeFormationOptIns.go.snap @@ -14,7 +14,6 @@ ListLakeFormationOptIns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_ListPermissions.go.snap b/service/lakeformation/snapshot/api_op_ListPermissions.go.snap index 07f05345c9d..1fa40597d79 100644 --- a/service/lakeformation/snapshot/api_op_ListPermissions.go.snap +++ b/service/lakeformation/snapshot/api_op_ListPermissions.go.snap @@ -14,7 +14,6 @@ ListPermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_ListResources.go.snap b/service/lakeformation/snapshot/api_op_ListResources.go.snap index f542832b1ff..dc451addb13 100644 --- a/service/lakeformation/snapshot/api_op_ListResources.go.snap +++ b/service/lakeformation/snapshot/api_op_ListResources.go.snap @@ -13,7 +13,6 @@ ListResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_ListTableStorageOptimizers.go.snap b/service/lakeformation/snapshot/api_op_ListTableStorageOptimizers.go.snap index 47784ff73da..1602aa7a8d8 100644 --- a/service/lakeformation/snapshot/api_op_ListTableStorageOptimizers.go.snap +++ b/service/lakeformation/snapshot/api_op_ListTableStorageOptimizers.go.snap @@ -14,7 +14,6 @@ ListTableStorageOptimizers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_ListTransactions.go.snap b/service/lakeformation/snapshot/api_op_ListTransactions.go.snap index 3a0ffc0f0dc..5098229ad48 100644 --- a/service/lakeformation/snapshot/api_op_ListTransactions.go.snap +++ b/service/lakeformation/snapshot/api_op_ListTransactions.go.snap @@ -13,7 +13,6 @@ ListTransactions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_PutDataLakeSettings.go.snap b/service/lakeformation/snapshot/api_op_PutDataLakeSettings.go.snap index 5ce6466272a..dac301f8595 100644 --- a/service/lakeformation/snapshot/api_op_PutDataLakeSettings.go.snap +++ b/service/lakeformation/snapshot/api_op_PutDataLakeSettings.go.snap @@ -14,7 +14,6 @@ PutDataLakeSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_RegisterResource.go.snap b/service/lakeformation/snapshot/api_op_RegisterResource.go.snap index ae88251afa1..4cd6f153b84 100644 --- a/service/lakeformation/snapshot/api_op_RegisterResource.go.snap +++ b/service/lakeformation/snapshot/api_op_RegisterResource.go.snap @@ -14,7 +14,6 @@ RegisterResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_RemoveLFTagsFromResource.go.snap b/service/lakeformation/snapshot/api_op_RemoveLFTagsFromResource.go.snap index 27b90d1d463..38f97655382 100644 --- a/service/lakeformation/snapshot/api_op_RemoveLFTagsFromResource.go.snap +++ b/service/lakeformation/snapshot/api_op_RemoveLFTagsFromResource.go.snap @@ -14,7 +14,6 @@ RemoveLFTagsFromResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_RevokePermissions.go.snap b/service/lakeformation/snapshot/api_op_RevokePermissions.go.snap index df13e3ce0dc..8939cddca01 100644 --- a/service/lakeformation/snapshot/api_op_RevokePermissions.go.snap +++ b/service/lakeformation/snapshot/api_op_RevokePermissions.go.snap @@ -14,7 +14,6 @@ RevokePermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_SearchDatabasesByLFTags.go.snap b/service/lakeformation/snapshot/api_op_SearchDatabasesByLFTags.go.snap index 5839a70c68c..2a252845c27 100644 --- a/service/lakeformation/snapshot/api_op_SearchDatabasesByLFTags.go.snap +++ b/service/lakeformation/snapshot/api_op_SearchDatabasesByLFTags.go.snap @@ -14,7 +14,6 @@ SearchDatabasesByLFTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_SearchTablesByLFTags.go.snap b/service/lakeformation/snapshot/api_op_SearchTablesByLFTags.go.snap index 5cc80d897cd..7fa9a211a78 100644 --- a/service/lakeformation/snapshot/api_op_SearchTablesByLFTags.go.snap +++ b/service/lakeformation/snapshot/api_op_SearchTablesByLFTags.go.snap @@ -14,7 +14,6 @@ SearchTablesByLFTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_StartQueryPlanning.go.snap b/service/lakeformation/snapshot/api_op_StartQueryPlanning.go.snap index aa25e7f0199..875c42cc2f0 100644 --- a/service/lakeformation/snapshot/api_op_StartQueryPlanning.go.snap +++ b/service/lakeformation/snapshot/api_op_StartQueryPlanning.go.snap @@ -14,7 +14,6 @@ StartQueryPlanning Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_StartTransaction.go.snap b/service/lakeformation/snapshot/api_op_StartTransaction.go.snap index 0b0b91b7dbd..5d94a230b69 100644 --- a/service/lakeformation/snapshot/api_op_StartTransaction.go.snap +++ b/service/lakeformation/snapshot/api_op_StartTransaction.go.snap @@ -13,7 +13,6 @@ StartTransaction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_UpdateDataCellsFilter.go.snap b/service/lakeformation/snapshot/api_op_UpdateDataCellsFilter.go.snap index 317d598b9a4..57538c03c4e 100644 --- a/service/lakeformation/snapshot/api_op_UpdateDataCellsFilter.go.snap +++ b/service/lakeformation/snapshot/api_op_UpdateDataCellsFilter.go.snap @@ -14,7 +14,6 @@ UpdateDataCellsFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_UpdateLFTag.go.snap b/service/lakeformation/snapshot/api_op_UpdateLFTag.go.snap index 28ea65833b3..3bd2502d503 100644 --- a/service/lakeformation/snapshot/api_op_UpdateLFTag.go.snap +++ b/service/lakeformation/snapshot/api_op_UpdateLFTag.go.snap @@ -14,7 +14,6 @@ UpdateLFTag Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_UpdateLFTagExpression.go.snap b/service/lakeformation/snapshot/api_op_UpdateLFTagExpression.go.snap index cadbec4c1c8..6159412910f 100644 --- a/service/lakeformation/snapshot/api_op_UpdateLFTagExpression.go.snap +++ b/service/lakeformation/snapshot/api_op_UpdateLFTagExpression.go.snap @@ -14,7 +14,6 @@ UpdateLFTagExpression Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_UpdateLakeFormationIdentityCenterConfiguration.go.snap b/service/lakeformation/snapshot/api_op_UpdateLakeFormationIdentityCenterConfiguration.go.snap index 71ba075b860..9050db4213e 100644 --- a/service/lakeformation/snapshot/api_op_UpdateLakeFormationIdentityCenterConfiguration.go.snap +++ b/service/lakeformation/snapshot/api_op_UpdateLakeFormationIdentityCenterConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateLakeFormationIdentityCenterConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_UpdateResource.go.snap b/service/lakeformation/snapshot/api_op_UpdateResource.go.snap index 1b7c8ce48cb..4d8bd6a368c 100644 --- a/service/lakeformation/snapshot/api_op_UpdateResource.go.snap +++ b/service/lakeformation/snapshot/api_op_UpdateResource.go.snap @@ -14,7 +14,6 @@ UpdateResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_UpdateTableObjects.go.snap b/service/lakeformation/snapshot/api_op_UpdateTableObjects.go.snap index 626ee8a2b5e..3f17270dd5b 100644 --- a/service/lakeformation/snapshot/api_op_UpdateTableObjects.go.snap +++ b/service/lakeformation/snapshot/api_op_UpdateTableObjects.go.snap @@ -14,7 +14,6 @@ UpdateTableObjects Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lakeformation/snapshot/api_op_UpdateTableStorageOptimizer.go.snap b/service/lakeformation/snapshot/api_op_UpdateTableStorageOptimizer.go.snap index 21506d0543e..bf1d0772ccb 100644 --- a/service/lakeformation/snapshot/api_op_UpdateTableStorageOptimizer.go.snap +++ b/service/lakeformation/snapshot/api_op_UpdateTableStorageOptimizer.go.snap @@ -14,7 +14,6 @@ UpdateTableStorageOptimizer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/api_client.go b/service/lambda/api_client.go index ecd620312fc..d14fe4bd4e8 100644 --- a/service/lambda/api_client.go +++ b/service/lambda/api_client.go @@ -763,37 +763,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/lambda/api_op_AddLayerVersionPermission.go b/service/lambda/api_op_AddLayerVersionPermission.go index 7be06262ef8..34412977a2f 100644 --- a/service/lambda/api_op_AddLayerVersionPermission.go +++ b/service/lambda/api_op_AddLayerVersionPermission.go @@ -155,9 +155,6 @@ func (c *Client) addOperationAddLayerVersionPermissionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddLayerVersionPermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_AddPermission.go b/service/lambda/api_op_AddPermission.go index 71a5db722bf..aa9d8e88e36 100644 --- a/service/lambda/api_op_AddPermission.go +++ b/service/lambda/api_op_AddPermission.go @@ -198,9 +198,6 @@ func (c *Client) addOperationAddPermissionMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddPermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_CreateAlias.go b/service/lambda/api_op_CreateAlias.go index 54c26b582d0..65ef1edfddb 100644 --- a/service/lambda/api_op_CreateAlias.go +++ b/service/lambda/api_op_CreateAlias.go @@ -168,9 +168,6 @@ func (c *Client) addOperationCreateAliasMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_CreateCodeSigningConfig.go b/service/lambda/api_op_CreateCodeSigningConfig.go index 4fe78a3b483..20f60a904f6 100644 --- a/service/lambda/api_op_CreateCodeSigningConfig.go +++ b/service/lambda/api_op_CreateCodeSigningConfig.go @@ -128,9 +128,6 @@ func (c *Client) addOperationCreateCodeSigningConfigMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCodeSigningConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_CreateEventSourceMapping.go b/service/lambda/api_op_CreateEventSourceMapping.go index 2566d0b9b21..4cb27810bda 100644 --- a/service/lambda/api_op_CreateEventSourceMapping.go +++ b/service/lambda/api_op_CreateEventSourceMapping.go @@ -515,9 +515,6 @@ func (c *Client) addOperationCreateEventSourceMappingMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEventSourceMappingValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_CreateFunction.go b/service/lambda/api_op_CreateFunction.go index 26b26018f2c..7e5f7e24f78 100644 --- a/service/lambda/api_op_CreateFunction.go +++ b/service/lambda/api_op_CreateFunction.go @@ -492,9 +492,6 @@ func (c *Client) addOperationCreateFunctionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFunctionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_CreateFunctionUrlConfig.go b/service/lambda/api_op_CreateFunctionUrlConfig.go index b9617ac8910..6769b9c8819 100644 --- a/service/lambda/api_op_CreateFunctionUrlConfig.go +++ b/service/lambda/api_op_CreateFunctionUrlConfig.go @@ -198,9 +198,6 @@ func (c *Client) addOperationCreateFunctionUrlConfigMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFunctionUrlConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_DeleteAlias.go b/service/lambda/api_op_DeleteAlias.go index 34cb07ada1d..83b0c7db93a 100644 --- a/service/lambda/api_op_DeleteAlias.go +++ b/service/lambda/api_op_DeleteAlias.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDeleteAliasMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_DeleteCodeSigningConfig.go b/service/lambda/api_op_DeleteCodeSigningConfig.go index 6b45f85c010..09cc6aa5b98 100644 --- a/service/lambda/api_op_DeleteCodeSigningConfig.go +++ b/service/lambda/api_op_DeleteCodeSigningConfig.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteCodeSigningConfigMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCodeSigningConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_DeleteEventSourceMapping.go b/service/lambda/api_op_DeleteEventSourceMapping.go index 66ca2ac799c..8b17d74e833 100644 --- a/service/lambda/api_op_DeleteEventSourceMapping.go +++ b/service/lambda/api_op_DeleteEventSourceMapping.go @@ -280,9 +280,6 @@ func (c *Client) addOperationDeleteEventSourceMappingMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEventSourceMappingValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_DeleteFunction.go b/service/lambda/api_op_DeleteFunction.go index 93742ffbcf6..ce30b53f668 100644 --- a/service/lambda/api_op_DeleteFunction.go +++ b/service/lambda/api_op_DeleteFunction.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDeleteFunctionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFunctionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_DeleteFunctionCodeSigningConfig.go b/service/lambda/api_op_DeleteFunctionCodeSigningConfig.go index 955cc74bdc7..6906f7677ae 100644 --- a/service/lambda/api_op_DeleteFunctionCodeSigningConfig.go +++ b/service/lambda/api_op_DeleteFunctionCodeSigningConfig.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteFunctionCodeSigningConfigMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFunctionCodeSigningConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_DeleteFunctionConcurrency.go b/service/lambda/api_op_DeleteFunctionConcurrency.go index 576bd48ca0e..d46d9749107 100644 --- a/service/lambda/api_op_DeleteFunctionConcurrency.go +++ b/service/lambda/api_op_DeleteFunctionConcurrency.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteFunctionConcurrencyMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFunctionConcurrencyValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_DeleteFunctionEventInvokeConfig.go b/service/lambda/api_op_DeleteFunctionEventInvokeConfig.go index 77a13e576a9..3d984da4a91 100644 --- a/service/lambda/api_op_DeleteFunctionEventInvokeConfig.go +++ b/service/lambda/api_op_DeleteFunctionEventInvokeConfig.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDeleteFunctionEventInvokeConfigMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFunctionEventInvokeConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_DeleteFunctionUrlConfig.go b/service/lambda/api_op_DeleteFunctionUrlConfig.go index fd42b76d55f..c22635466e5 100644 --- a/service/lambda/api_op_DeleteFunctionUrlConfig.go +++ b/service/lambda/api_op_DeleteFunctionUrlConfig.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteFunctionUrlConfigMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFunctionUrlConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_DeleteLayerVersion.go b/service/lambda/api_op_DeleteLayerVersion.go index ed6afac16c0..c121f98f0af 100644 --- a/service/lambda/api_op_DeleteLayerVersion.go +++ b/service/lambda/api_op_DeleteLayerVersion.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteLayerVersionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLayerVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_DeleteProvisionedConcurrencyConfig.go b/service/lambda/api_op_DeleteProvisionedConcurrencyConfig.go index 38f2b0e0491..7fcb7df4dad 100644 --- a/service/lambda/api_op_DeleteProvisionedConcurrencyConfig.go +++ b/service/lambda/api_op_DeleteProvisionedConcurrencyConfig.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteProvisionedConcurrencyConfigMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProvisionedConcurrencyConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_GetAccountSettings.go b/service/lambda/api_op_GetAccountSettings.go index c4678f03bb8..9bb7d3f28b3 100644 --- a/service/lambda/api_op_GetAccountSettings.go +++ b/service/lambda/api_op_GetAccountSettings.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetAccountSettingsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lambda/api_op_GetAlias.go b/service/lambda/api_op_GetAlias.go index c65d0026167..7960d5b208d 100644 --- a/service/lambda/api_op_GetAlias.go +++ b/service/lambda/api_op_GetAlias.go @@ -150,9 +150,6 @@ func (c *Client) addOperationGetAliasMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_GetCodeSigningConfig.go b/service/lambda/api_op_GetCodeSigningConfig.go index 630f2a93435..8f802d74956 100644 --- a/service/lambda/api_op_GetCodeSigningConfig.go +++ b/service/lambda/api_op_GetCodeSigningConfig.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetCodeSigningConfigMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCodeSigningConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_GetEventSourceMapping.go b/service/lambda/api_op_GetEventSourceMapping.go index 38d8d39669a..44f926a15d1 100644 --- a/service/lambda/api_op_GetEventSourceMapping.go +++ b/service/lambda/api_op_GetEventSourceMapping.go @@ -276,9 +276,6 @@ func (c *Client) addOperationGetEventSourceMappingMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEventSourceMappingValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_GetFunction.go b/service/lambda/api_op_GetFunction.go index 82a8b8cb742..3e6e65de7ec 100644 --- a/service/lambda/api_op_GetFunction.go +++ b/service/lambda/api_op_GetFunction.go @@ -152,9 +152,6 @@ func (c *Client) addOperationGetFunctionMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFunctionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_GetFunctionCodeSigningConfig.go b/service/lambda/api_op_GetFunctionCodeSigningConfig.go index f9024f50088..4c4e4d75de6 100644 --- a/service/lambda/api_op_GetFunctionCodeSigningConfig.go +++ b/service/lambda/api_op_GetFunctionCodeSigningConfig.go @@ -140,9 +140,6 @@ func (c *Client) addOperationGetFunctionCodeSigningConfigMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFunctionCodeSigningConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_GetFunctionConcurrency.go b/service/lambda/api_op_GetFunctionConcurrency.go index 307ed61d933..b7b5a18a254 100644 --- a/service/lambda/api_op_GetFunctionConcurrency.go +++ b/service/lambda/api_op_GetFunctionConcurrency.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetFunctionConcurrencyMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFunctionConcurrencyValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_GetFunctionConfiguration.go b/service/lambda/api_op_GetFunctionConfiguration.go index 40785e59841..615782f5bad 100644 --- a/service/lambda/api_op_GetFunctionConfiguration.go +++ b/service/lambda/api_op_GetFunctionConfiguration.go @@ -298,9 +298,6 @@ func (c *Client) addOperationGetFunctionConfigurationMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFunctionConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_GetFunctionEventInvokeConfig.go b/service/lambda/api_op_GetFunctionEventInvokeConfig.go index c41d92acf11..4ba35601d9d 100644 --- a/service/lambda/api_op_GetFunctionEventInvokeConfig.go +++ b/service/lambda/api_op_GetFunctionEventInvokeConfig.go @@ -158,9 +158,6 @@ func (c *Client) addOperationGetFunctionEventInvokeConfigMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFunctionEventInvokeConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_GetFunctionRecursionConfig.go b/service/lambda/api_op_GetFunctionRecursionConfig.go index c46f0aea58b..163b9365814 100644 --- a/service/lambda/api_op_GetFunctionRecursionConfig.go +++ b/service/lambda/api_op_GetFunctionRecursionConfig.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetFunctionRecursionConfigMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFunctionRecursionConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_GetFunctionUrlConfig.go b/service/lambda/api_op_GetFunctionUrlConfig.go index 9772ade061d..a39f60b0fcf 100644 --- a/service/lambda/api_op_GetFunctionUrlConfig.go +++ b/service/lambda/api_op_GetFunctionUrlConfig.go @@ -176,9 +176,6 @@ func (c *Client) addOperationGetFunctionUrlConfigMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFunctionUrlConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_GetLayerVersion.go b/service/lambda/api_op_GetLayerVersion.go index 7bf59fbe262..7345543b23c 100644 --- a/service/lambda/api_op_GetLayerVersion.go +++ b/service/lambda/api_op_GetLayerVersion.go @@ -155,9 +155,6 @@ func (c *Client) addOperationGetLayerVersionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLayerVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_GetLayerVersionByArn.go b/service/lambda/api_op_GetLayerVersionByArn.go index 4f51e388b8a..c8c34820116 100644 --- a/service/lambda/api_op_GetLayerVersionByArn.go +++ b/service/lambda/api_op_GetLayerVersionByArn.go @@ -150,9 +150,6 @@ func (c *Client) addOperationGetLayerVersionByArnMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLayerVersionByArnValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_GetLayerVersionPolicy.go b/service/lambda/api_op_GetLayerVersionPolicy.go index 99efc27fc55..286e44fb51a 100644 --- a/service/lambda/api_op_GetLayerVersionPolicy.go +++ b/service/lambda/api_op_GetLayerVersionPolicy.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetLayerVersionPolicyMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLayerVersionPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_GetPolicy.go b/service/lambda/api_op_GetPolicy.go index 974dc9b7e0d..163f3119974 100644 --- a/service/lambda/api_op_GetPolicy.go +++ b/service/lambda/api_op_GetPolicy.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetPolicyMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_GetProvisionedConcurrencyConfig.go b/service/lambda/api_op_GetProvisionedConcurrencyConfig.go index 9dfc91fc4a4..a04b11c948c 100644 --- a/service/lambda/api_op_GetProvisionedConcurrencyConfig.go +++ b/service/lambda/api_op_GetProvisionedConcurrencyConfig.go @@ -149,9 +149,6 @@ func (c *Client) addOperationGetProvisionedConcurrencyConfigMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetProvisionedConcurrencyConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_GetRuntimeManagementConfig.go b/service/lambda/api_op_GetRuntimeManagementConfig.go index dfd9862ae97..620550daf51 100644 --- a/service/lambda/api_op_GetRuntimeManagementConfig.go +++ b/service/lambda/api_op_GetRuntimeManagementConfig.go @@ -141,9 +141,6 @@ func (c *Client) addOperationGetRuntimeManagementConfigMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRuntimeManagementConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_Invoke.go b/service/lambda/api_op_Invoke.go index 588e867f451..6006f6524e0 100644 --- a/service/lambda/api_op_Invoke.go +++ b/service/lambda/api_op_Invoke.go @@ -218,9 +218,6 @@ func (c *Client) addOperationInvokeMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpInvokeValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_InvokeAsync.go b/service/lambda/api_op_InvokeAsync.go index 8508bbf1478..39ce90f1fb8 100644 --- a/service/lambda/api_op_InvokeAsync.go +++ b/service/lambda/api_op_InvokeAsync.go @@ -138,9 +138,6 @@ func (c *Client) addOperationInvokeAsyncMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpInvokeAsyncValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_InvokeWithResponseStream.go b/service/lambda/api_op_InvokeWithResponseStream.go index 9e62a06fe83..8372a509d50 100644 --- a/service/lambda/api_op_InvokeWithResponseStream.go +++ b/service/lambda/api_op_InvokeWithResponseStream.go @@ -172,9 +172,6 @@ func (c *Client) addOperationInvokeWithResponseStreamMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpInvokeWithResponseStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_ListAliases.go b/service/lambda/api_op_ListAliases.go index 8634e1cccc1..d280ad57ed9 100644 --- a/service/lambda/api_op_ListAliases.go +++ b/service/lambda/api_op_ListAliases.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListAliasesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAliasesValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_ListCodeSigningConfigs.go b/service/lambda/api_op_ListCodeSigningConfigs.go index 69457e3ad20..645d7c2babd 100644 --- a/service/lambda/api_op_ListCodeSigningConfigs.go +++ b/service/lambda/api_op_ListCodeSigningConfigs.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListCodeSigningConfigsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCodeSigningConfigs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lambda/api_op_ListEventSourceMappings.go b/service/lambda/api_op_ListEventSourceMappings.go index 60fe6b308c9..c57331a9f98 100644 --- a/service/lambda/api_op_ListEventSourceMappings.go +++ b/service/lambda/api_op_ListEventSourceMappings.go @@ -155,9 +155,6 @@ func (c *Client) addOperationListEventSourceMappingsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEventSourceMappings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lambda/api_op_ListFunctionEventInvokeConfigs.go b/service/lambda/api_op_ListFunctionEventInvokeConfigs.go index edc12f5bc6f..bda9b3848d2 100644 --- a/service/lambda/api_op_ListFunctionEventInvokeConfigs.go +++ b/service/lambda/api_op_ListFunctionEventInvokeConfigs.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListFunctionEventInvokeConfigsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFunctionEventInvokeConfigsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_ListFunctionUrlConfigs.go b/service/lambda/api_op_ListFunctionUrlConfigs.go index e96814a57d2..d2ce1e54ad9 100644 --- a/service/lambda/api_op_ListFunctionUrlConfigs.go +++ b/service/lambda/api_op_ListFunctionUrlConfigs.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListFunctionUrlConfigsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFunctionUrlConfigsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_ListFunctions.go b/service/lambda/api_op_ListFunctions.go index db0042b9b31..ae77f1965db 100644 --- a/service/lambda/api_op_ListFunctions.go +++ b/service/lambda/api_op_ListFunctions.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListFunctionsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFunctions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lambda/api_op_ListFunctionsByCodeSigningConfig.go b/service/lambda/api_op_ListFunctionsByCodeSigningConfig.go index c5f53f8e18a..e18f1aa4a8e 100644 --- a/service/lambda/api_op_ListFunctionsByCodeSigningConfig.go +++ b/service/lambda/api_op_ListFunctionsByCodeSigningConfig.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListFunctionsByCodeSigningConfigMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFunctionsByCodeSigningConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_ListLayerVersions.go b/service/lambda/api_op_ListLayerVersions.go index 93c12454955..2bf2f182ec6 100644 --- a/service/lambda/api_op_ListLayerVersions.go +++ b/service/lambda/api_op_ListLayerVersions.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListLayerVersionsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListLayerVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_ListLayers.go b/service/lambda/api_op_ListLayers.go index 471b9fe240e..4aebb10606c 100644 --- a/service/lambda/api_op_ListLayers.go +++ b/service/lambda/api_op_ListLayers.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListLayersMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLayers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lambda/api_op_ListProvisionedConcurrencyConfigs.go b/service/lambda/api_op_ListProvisionedConcurrencyConfigs.go index 1e80fa1c382..6b125ff0f9f 100644 --- a/service/lambda/api_op_ListProvisionedConcurrencyConfigs.go +++ b/service/lambda/api_op_ListProvisionedConcurrencyConfigs.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListProvisionedConcurrencyConfigsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListProvisionedConcurrencyConfigsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_ListTags.go b/service/lambda/api_op_ListTags.go index aa140911d4d..36ef9f6dca2 100644 --- a/service/lambda/api_op_ListTags.go +++ b/service/lambda/api_op_ListTags.go @@ -115,9 +115,6 @@ func (c *Client) addOperationListTagsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_ListVersionsByFunction.go b/service/lambda/api_op_ListVersionsByFunction.go index fca5741c5f5..4ecca007125 100644 --- a/service/lambda/api_op_ListVersionsByFunction.go +++ b/service/lambda/api_op_ListVersionsByFunction.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListVersionsByFunctionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListVersionsByFunctionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_PublishLayerVersion.go b/service/lambda/api_op_PublishLayerVersion.go index 223a273b25b..25a9464100a 100644 --- a/service/lambda/api_op_PublishLayerVersion.go +++ b/service/lambda/api_op_PublishLayerVersion.go @@ -185,9 +185,6 @@ func (c *Client) addOperationPublishLayerVersionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPublishLayerVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_PublishVersion.go b/service/lambda/api_op_PublishVersion.go index 15b0cbb1b91..0bb8ec10f60 100644 --- a/service/lambda/api_op_PublishVersion.go +++ b/service/lambda/api_op_PublishVersion.go @@ -311,9 +311,6 @@ func (c *Client) addOperationPublishVersionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPublishVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_PutFunctionCodeSigningConfig.go b/service/lambda/api_op_PutFunctionCodeSigningConfig.go index b6ce4301d99..7437aab1c12 100644 --- a/service/lambda/api_op_PutFunctionCodeSigningConfig.go +++ b/service/lambda/api_op_PutFunctionCodeSigningConfig.go @@ -147,9 +147,6 @@ func (c *Client) addOperationPutFunctionCodeSigningConfigMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutFunctionCodeSigningConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_PutFunctionConcurrency.go b/service/lambda/api_op_PutFunctionConcurrency.go index 467209679dd..1c38e7fc33f 100644 --- a/service/lambda/api_op_PutFunctionConcurrency.go +++ b/service/lambda/api_op_PutFunctionConcurrency.go @@ -144,9 +144,6 @@ func (c *Client) addOperationPutFunctionConcurrencyMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutFunctionConcurrencyValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_PutFunctionEventInvokeConfig.go b/service/lambda/api_op_PutFunctionEventInvokeConfig.go index 9d6a0e4d42f..0caf9efa1e1 100644 --- a/service/lambda/api_op_PutFunctionEventInvokeConfig.go +++ b/service/lambda/api_op_PutFunctionEventInvokeConfig.go @@ -200,9 +200,6 @@ func (c *Client) addOperationPutFunctionEventInvokeConfigMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutFunctionEventInvokeConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_PutFunctionRecursionConfig.go b/service/lambda/api_op_PutFunctionRecursionConfig.go index 78ee7b8431d..2f1c9ce25b9 100644 --- a/service/lambda/api_op_PutFunctionRecursionConfig.go +++ b/service/lambda/api_op_PutFunctionRecursionConfig.go @@ -167,9 +167,6 @@ func (c *Client) addOperationPutFunctionRecursionConfigMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutFunctionRecursionConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_PutProvisionedConcurrencyConfig.go b/service/lambda/api_op_PutProvisionedConcurrencyConfig.go index 7dbb42af1ad..42af6826d5a 100644 --- a/service/lambda/api_op_PutProvisionedConcurrencyConfig.go +++ b/service/lambda/api_op_PutProvisionedConcurrencyConfig.go @@ -153,9 +153,6 @@ func (c *Client) addOperationPutProvisionedConcurrencyConfigMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutProvisionedConcurrencyConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_PutRuntimeManagementConfig.go b/service/lambda/api_op_PutRuntimeManagementConfig.go index f514d2f8398..f3f77fdf77f 100644 --- a/service/lambda/api_op_PutRuntimeManagementConfig.go +++ b/service/lambda/api_op_PutRuntimeManagementConfig.go @@ -172,9 +172,6 @@ func (c *Client) addOperationPutRuntimeManagementConfigMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutRuntimeManagementConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_RemoveLayerVersionPermission.go b/service/lambda/api_op_RemoveLayerVersionPermission.go index ee2ed14ad8b..cf886f285cd 100644 --- a/service/lambda/api_op_RemoveLayerVersionPermission.go +++ b/service/lambda/api_op_RemoveLayerVersionPermission.go @@ -124,9 +124,6 @@ func (c *Client) addOperationRemoveLayerVersionPermissionMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveLayerVersionPermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_RemovePermission.go b/service/lambda/api_op_RemovePermission.go index b9132292370..2aa97662fe2 100644 --- a/service/lambda/api_op_RemovePermission.go +++ b/service/lambda/api_op_RemovePermission.go @@ -134,9 +134,6 @@ func (c *Client) addOperationRemovePermissionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemovePermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_TagResource.go b/service/lambda/api_op_TagResource.go index f58cad0ab9a..fc3f72c9d5a 100644 --- a/service/lambda/api_op_TagResource.go +++ b/service/lambda/api_op_TagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_UntagResource.go b/service/lambda/api_op_UntagResource.go index 13a7707ae26..3ca6366f427 100644 --- a/service/lambda/api_op_UntagResource.go +++ b/service/lambda/api_op_UntagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_UpdateAlias.go b/service/lambda/api_op_UpdateAlias.go index 646e0487569..80f0320d671 100644 --- a/service/lambda/api_op_UpdateAlias.go +++ b/service/lambda/api_op_UpdateAlias.go @@ -165,9 +165,6 @@ func (c *Client) addOperationUpdateAliasMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_UpdateCodeSigningConfig.go b/service/lambda/api_op_UpdateCodeSigningConfig.go index 39e1e8d9543..c5464189641 100644 --- a/service/lambda/api_op_UpdateCodeSigningConfig.go +++ b/service/lambda/api_op_UpdateCodeSigningConfig.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateCodeSigningConfigMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCodeSigningConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_UpdateEventSourceMapping.go b/service/lambda/api_op_UpdateEventSourceMapping.go index 401adfe8731..6283b0ab59e 100644 --- a/service/lambda/api_op_UpdateEventSourceMapping.go +++ b/service/lambda/api_op_UpdateEventSourceMapping.go @@ -471,9 +471,6 @@ func (c *Client) addOperationUpdateEventSourceMappingMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEventSourceMappingValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_UpdateFunctionCode.go b/service/lambda/api_op_UpdateFunctionCode.go index 746b6707538..36ee5574c21 100644 --- a/service/lambda/api_op_UpdateFunctionCode.go +++ b/service/lambda/api_op_UpdateFunctionCode.go @@ -353,9 +353,6 @@ func (c *Client) addOperationUpdateFunctionCodeMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFunctionCodeValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_UpdateFunctionConfiguration.go b/service/lambda/api_op_UpdateFunctionConfiguration.go index 8213932736f..abbd1d4acbc 100644 --- a/service/lambda/api_op_UpdateFunctionConfiguration.go +++ b/service/lambda/api_op_UpdateFunctionConfiguration.go @@ -427,9 +427,6 @@ func (c *Client) addOperationUpdateFunctionConfigurationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFunctionConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_UpdateFunctionEventInvokeConfig.go b/service/lambda/api_op_UpdateFunctionEventInvokeConfig.go index 556c9bcfe15..94c45c39515 100644 --- a/service/lambda/api_op_UpdateFunctionEventInvokeConfig.go +++ b/service/lambda/api_op_UpdateFunctionEventInvokeConfig.go @@ -182,9 +182,6 @@ func (c *Client) addOperationUpdateFunctionEventInvokeConfigMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFunctionEventInvokeConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/api_op_UpdateFunctionUrlConfig.go b/service/lambda/api_op_UpdateFunctionUrlConfig.go index 6d4d451af1b..d5d0ebaf6db 100644 --- a/service/lambda/api_op_UpdateFunctionUrlConfig.go +++ b/service/lambda/api_op_UpdateFunctionUrlConfig.go @@ -202,9 +202,6 @@ func (c *Client) addOperationUpdateFunctionUrlConfigMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFunctionUrlConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/lambda/snapshot/api_op_AddLayerVersionPermission.go.snap b/service/lambda/snapshot/api_op_AddLayerVersionPermission.go.snap index 73aaeccb428..ca0e0375203 100644 --- a/service/lambda/snapshot/api_op_AddLayerVersionPermission.go.snap +++ b/service/lambda/snapshot/api_op_AddLayerVersionPermission.go.snap @@ -14,7 +14,6 @@ AddLayerVersionPermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_AddPermission.go.snap b/service/lambda/snapshot/api_op_AddPermission.go.snap index ea376215034..c1d7dd738da 100644 --- a/service/lambda/snapshot/api_op_AddPermission.go.snap +++ b/service/lambda/snapshot/api_op_AddPermission.go.snap @@ -14,7 +14,6 @@ AddPermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_CreateAlias.go.snap b/service/lambda/snapshot/api_op_CreateAlias.go.snap index ea96e788303..2949a1e05b7 100644 --- a/service/lambda/snapshot/api_op_CreateAlias.go.snap +++ b/service/lambda/snapshot/api_op_CreateAlias.go.snap @@ -14,7 +14,6 @@ CreateAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_CreateCodeSigningConfig.go.snap b/service/lambda/snapshot/api_op_CreateCodeSigningConfig.go.snap index 5081b66bbee..9d0d0fdbe21 100644 --- a/service/lambda/snapshot/api_op_CreateCodeSigningConfig.go.snap +++ b/service/lambda/snapshot/api_op_CreateCodeSigningConfig.go.snap @@ -14,7 +14,6 @@ CreateCodeSigningConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_CreateEventSourceMapping.go.snap b/service/lambda/snapshot/api_op_CreateEventSourceMapping.go.snap index b04ab4a028e..2094687f862 100644 --- a/service/lambda/snapshot/api_op_CreateEventSourceMapping.go.snap +++ b/service/lambda/snapshot/api_op_CreateEventSourceMapping.go.snap @@ -14,7 +14,6 @@ CreateEventSourceMapping Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_CreateFunction.go.snap b/service/lambda/snapshot/api_op_CreateFunction.go.snap index f9c9ef13a79..7d115afcd10 100644 --- a/service/lambda/snapshot/api_op_CreateFunction.go.snap +++ b/service/lambda/snapshot/api_op_CreateFunction.go.snap @@ -14,7 +14,6 @@ CreateFunction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_CreateFunctionUrlConfig.go.snap b/service/lambda/snapshot/api_op_CreateFunctionUrlConfig.go.snap index fb07f9dbac1..34a2bcdc8ea 100644 --- a/service/lambda/snapshot/api_op_CreateFunctionUrlConfig.go.snap +++ b/service/lambda/snapshot/api_op_CreateFunctionUrlConfig.go.snap @@ -14,7 +14,6 @@ CreateFunctionUrlConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_DeleteAlias.go.snap b/service/lambda/snapshot/api_op_DeleteAlias.go.snap index 469fb018efd..d0401eaf34c 100644 --- a/service/lambda/snapshot/api_op_DeleteAlias.go.snap +++ b/service/lambda/snapshot/api_op_DeleteAlias.go.snap @@ -14,7 +14,6 @@ DeleteAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_DeleteCodeSigningConfig.go.snap b/service/lambda/snapshot/api_op_DeleteCodeSigningConfig.go.snap index 6a6e9304aea..36e56bda040 100644 --- a/service/lambda/snapshot/api_op_DeleteCodeSigningConfig.go.snap +++ b/service/lambda/snapshot/api_op_DeleteCodeSigningConfig.go.snap @@ -14,7 +14,6 @@ DeleteCodeSigningConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_DeleteEventSourceMapping.go.snap b/service/lambda/snapshot/api_op_DeleteEventSourceMapping.go.snap index ba937e8deb2..4053baabe54 100644 --- a/service/lambda/snapshot/api_op_DeleteEventSourceMapping.go.snap +++ b/service/lambda/snapshot/api_op_DeleteEventSourceMapping.go.snap @@ -14,7 +14,6 @@ DeleteEventSourceMapping Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_DeleteFunction.go.snap b/service/lambda/snapshot/api_op_DeleteFunction.go.snap index 4fd033d8ed6..7e2aca5451a 100644 --- a/service/lambda/snapshot/api_op_DeleteFunction.go.snap +++ b/service/lambda/snapshot/api_op_DeleteFunction.go.snap @@ -14,7 +14,6 @@ DeleteFunction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_DeleteFunctionCodeSigningConfig.go.snap b/service/lambda/snapshot/api_op_DeleteFunctionCodeSigningConfig.go.snap index 0175df478d8..42ba9930828 100644 --- a/service/lambda/snapshot/api_op_DeleteFunctionCodeSigningConfig.go.snap +++ b/service/lambda/snapshot/api_op_DeleteFunctionCodeSigningConfig.go.snap @@ -14,7 +14,6 @@ DeleteFunctionCodeSigningConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_DeleteFunctionConcurrency.go.snap b/service/lambda/snapshot/api_op_DeleteFunctionConcurrency.go.snap index 5fa634f04be..79b1c6b03db 100644 --- a/service/lambda/snapshot/api_op_DeleteFunctionConcurrency.go.snap +++ b/service/lambda/snapshot/api_op_DeleteFunctionConcurrency.go.snap @@ -14,7 +14,6 @@ DeleteFunctionConcurrency Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_DeleteFunctionEventInvokeConfig.go.snap b/service/lambda/snapshot/api_op_DeleteFunctionEventInvokeConfig.go.snap index 714a1e1a818..93452d4006b 100644 --- a/service/lambda/snapshot/api_op_DeleteFunctionEventInvokeConfig.go.snap +++ b/service/lambda/snapshot/api_op_DeleteFunctionEventInvokeConfig.go.snap @@ -14,7 +14,6 @@ DeleteFunctionEventInvokeConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_DeleteFunctionUrlConfig.go.snap b/service/lambda/snapshot/api_op_DeleteFunctionUrlConfig.go.snap index 112740fa56e..61de841aa7d 100644 --- a/service/lambda/snapshot/api_op_DeleteFunctionUrlConfig.go.snap +++ b/service/lambda/snapshot/api_op_DeleteFunctionUrlConfig.go.snap @@ -14,7 +14,6 @@ DeleteFunctionUrlConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_DeleteLayerVersion.go.snap b/service/lambda/snapshot/api_op_DeleteLayerVersion.go.snap index 2a32ecdcf62..931db8c62fc 100644 --- a/service/lambda/snapshot/api_op_DeleteLayerVersion.go.snap +++ b/service/lambda/snapshot/api_op_DeleteLayerVersion.go.snap @@ -14,7 +14,6 @@ DeleteLayerVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_DeleteProvisionedConcurrencyConfig.go.snap b/service/lambda/snapshot/api_op_DeleteProvisionedConcurrencyConfig.go.snap index bb8784f0994..3501c3e9d21 100644 --- a/service/lambda/snapshot/api_op_DeleteProvisionedConcurrencyConfig.go.snap +++ b/service/lambda/snapshot/api_op_DeleteProvisionedConcurrencyConfig.go.snap @@ -14,7 +14,6 @@ DeleteProvisionedConcurrencyConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_GetAccountSettings.go.snap b/service/lambda/snapshot/api_op_GetAccountSettings.go.snap index 95499ead228..57ca9f6cbf4 100644 --- a/service/lambda/snapshot/api_op_GetAccountSettings.go.snap +++ b/service/lambda/snapshot/api_op_GetAccountSettings.go.snap @@ -13,7 +13,6 @@ GetAccountSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_GetAlias.go.snap b/service/lambda/snapshot/api_op_GetAlias.go.snap index b6533d87cff..5da4f68c456 100644 --- a/service/lambda/snapshot/api_op_GetAlias.go.snap +++ b/service/lambda/snapshot/api_op_GetAlias.go.snap @@ -14,7 +14,6 @@ GetAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_GetCodeSigningConfig.go.snap b/service/lambda/snapshot/api_op_GetCodeSigningConfig.go.snap index 56dc4cc389d..6bc1cb0dc2d 100644 --- a/service/lambda/snapshot/api_op_GetCodeSigningConfig.go.snap +++ b/service/lambda/snapshot/api_op_GetCodeSigningConfig.go.snap @@ -14,7 +14,6 @@ GetCodeSigningConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_GetEventSourceMapping.go.snap b/service/lambda/snapshot/api_op_GetEventSourceMapping.go.snap index 8f663141bda..3c10feb9685 100644 --- a/service/lambda/snapshot/api_op_GetEventSourceMapping.go.snap +++ b/service/lambda/snapshot/api_op_GetEventSourceMapping.go.snap @@ -14,7 +14,6 @@ GetEventSourceMapping Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_GetFunction.go.snap b/service/lambda/snapshot/api_op_GetFunction.go.snap index be354927f8e..9022f391f26 100644 --- a/service/lambda/snapshot/api_op_GetFunction.go.snap +++ b/service/lambda/snapshot/api_op_GetFunction.go.snap @@ -14,7 +14,6 @@ GetFunction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_GetFunctionCodeSigningConfig.go.snap b/service/lambda/snapshot/api_op_GetFunctionCodeSigningConfig.go.snap index 6b0bafad903..13a330d7f60 100644 --- a/service/lambda/snapshot/api_op_GetFunctionCodeSigningConfig.go.snap +++ b/service/lambda/snapshot/api_op_GetFunctionCodeSigningConfig.go.snap @@ -14,7 +14,6 @@ GetFunctionCodeSigningConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_GetFunctionConcurrency.go.snap b/service/lambda/snapshot/api_op_GetFunctionConcurrency.go.snap index 3442efeba1d..85215b3f120 100644 --- a/service/lambda/snapshot/api_op_GetFunctionConcurrency.go.snap +++ b/service/lambda/snapshot/api_op_GetFunctionConcurrency.go.snap @@ -14,7 +14,6 @@ GetFunctionConcurrency Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_GetFunctionConfiguration.go.snap b/service/lambda/snapshot/api_op_GetFunctionConfiguration.go.snap index 8878c2e687e..b9f94315075 100644 --- a/service/lambda/snapshot/api_op_GetFunctionConfiguration.go.snap +++ b/service/lambda/snapshot/api_op_GetFunctionConfiguration.go.snap @@ -14,7 +14,6 @@ GetFunctionConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_GetFunctionEventInvokeConfig.go.snap b/service/lambda/snapshot/api_op_GetFunctionEventInvokeConfig.go.snap index 2e2a9a792d5..85a0b7af567 100644 --- a/service/lambda/snapshot/api_op_GetFunctionEventInvokeConfig.go.snap +++ b/service/lambda/snapshot/api_op_GetFunctionEventInvokeConfig.go.snap @@ -14,7 +14,6 @@ GetFunctionEventInvokeConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_GetFunctionRecursionConfig.go.snap b/service/lambda/snapshot/api_op_GetFunctionRecursionConfig.go.snap index 732d72d0a12..f6bb5429ecd 100644 --- a/service/lambda/snapshot/api_op_GetFunctionRecursionConfig.go.snap +++ b/service/lambda/snapshot/api_op_GetFunctionRecursionConfig.go.snap @@ -14,7 +14,6 @@ GetFunctionRecursionConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_GetFunctionUrlConfig.go.snap b/service/lambda/snapshot/api_op_GetFunctionUrlConfig.go.snap index 180c0b87da1..2d61650b049 100644 --- a/service/lambda/snapshot/api_op_GetFunctionUrlConfig.go.snap +++ b/service/lambda/snapshot/api_op_GetFunctionUrlConfig.go.snap @@ -14,7 +14,6 @@ GetFunctionUrlConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_GetLayerVersion.go.snap b/service/lambda/snapshot/api_op_GetLayerVersion.go.snap index 6660211d236..7d682be53d4 100644 --- a/service/lambda/snapshot/api_op_GetLayerVersion.go.snap +++ b/service/lambda/snapshot/api_op_GetLayerVersion.go.snap @@ -14,7 +14,6 @@ GetLayerVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_GetLayerVersionByArn.go.snap b/service/lambda/snapshot/api_op_GetLayerVersionByArn.go.snap index 53367bf6607..51ac135e82f 100644 --- a/service/lambda/snapshot/api_op_GetLayerVersionByArn.go.snap +++ b/service/lambda/snapshot/api_op_GetLayerVersionByArn.go.snap @@ -14,7 +14,6 @@ GetLayerVersionByArn Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_GetLayerVersionPolicy.go.snap b/service/lambda/snapshot/api_op_GetLayerVersionPolicy.go.snap index 0f14617e5ea..0efd1c4358a 100644 --- a/service/lambda/snapshot/api_op_GetLayerVersionPolicy.go.snap +++ b/service/lambda/snapshot/api_op_GetLayerVersionPolicy.go.snap @@ -14,7 +14,6 @@ GetLayerVersionPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_GetPolicy.go.snap b/service/lambda/snapshot/api_op_GetPolicy.go.snap index dc1a8d53693..1a5ac50a868 100644 --- a/service/lambda/snapshot/api_op_GetPolicy.go.snap +++ b/service/lambda/snapshot/api_op_GetPolicy.go.snap @@ -14,7 +14,6 @@ GetPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_GetProvisionedConcurrencyConfig.go.snap b/service/lambda/snapshot/api_op_GetProvisionedConcurrencyConfig.go.snap index bb725b4d461..6290a153b4d 100644 --- a/service/lambda/snapshot/api_op_GetProvisionedConcurrencyConfig.go.snap +++ b/service/lambda/snapshot/api_op_GetProvisionedConcurrencyConfig.go.snap @@ -14,7 +14,6 @@ GetProvisionedConcurrencyConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_GetRuntimeManagementConfig.go.snap b/service/lambda/snapshot/api_op_GetRuntimeManagementConfig.go.snap index edf9b743131..52cc2a276d1 100644 --- a/service/lambda/snapshot/api_op_GetRuntimeManagementConfig.go.snap +++ b/service/lambda/snapshot/api_op_GetRuntimeManagementConfig.go.snap @@ -14,7 +14,6 @@ GetRuntimeManagementConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_Invoke.go.snap b/service/lambda/snapshot/api_op_Invoke.go.snap index 6e47bf1d9fa..babc249d535 100644 --- a/service/lambda/snapshot/api_op_Invoke.go.snap +++ b/service/lambda/snapshot/api_op_Invoke.go.snap @@ -14,7 +14,6 @@ Invoke Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_InvokeAsync.go.snap b/service/lambda/snapshot/api_op_InvokeAsync.go.snap index 08f68d5a8c8..91ac2c6122d 100644 --- a/service/lambda/snapshot/api_op_InvokeAsync.go.snap +++ b/service/lambda/snapshot/api_op_InvokeAsync.go.snap @@ -14,7 +14,6 @@ InvokeAsync Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_InvokeWithResponseStream.go.snap b/service/lambda/snapshot/api_op_InvokeWithResponseStream.go.snap index ea8c3beb894..ec11d65b46a 100644 --- a/service/lambda/snapshot/api_op_InvokeWithResponseStream.go.snap +++ b/service/lambda/snapshot/api_op_InvokeWithResponseStream.go.snap @@ -14,7 +14,6 @@ InvokeWithResponseStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_ListAliases.go.snap b/service/lambda/snapshot/api_op_ListAliases.go.snap index 5b16fdeb32a..890f5119b06 100644 --- a/service/lambda/snapshot/api_op_ListAliases.go.snap +++ b/service/lambda/snapshot/api_op_ListAliases.go.snap @@ -14,7 +14,6 @@ ListAliases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_ListCodeSigningConfigs.go.snap b/service/lambda/snapshot/api_op_ListCodeSigningConfigs.go.snap index d5d5cba08b3..6571ca230fa 100644 --- a/service/lambda/snapshot/api_op_ListCodeSigningConfigs.go.snap +++ b/service/lambda/snapshot/api_op_ListCodeSigningConfigs.go.snap @@ -13,7 +13,6 @@ ListCodeSigningConfigs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_ListEventSourceMappings.go.snap b/service/lambda/snapshot/api_op_ListEventSourceMappings.go.snap index 4e2f4cdad9a..15c6bed3a82 100644 --- a/service/lambda/snapshot/api_op_ListEventSourceMappings.go.snap +++ b/service/lambda/snapshot/api_op_ListEventSourceMappings.go.snap @@ -13,7 +13,6 @@ ListEventSourceMappings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_ListFunctionEventInvokeConfigs.go.snap b/service/lambda/snapshot/api_op_ListFunctionEventInvokeConfigs.go.snap index 2632cdee95d..21d78356ea9 100644 --- a/service/lambda/snapshot/api_op_ListFunctionEventInvokeConfigs.go.snap +++ b/service/lambda/snapshot/api_op_ListFunctionEventInvokeConfigs.go.snap @@ -14,7 +14,6 @@ ListFunctionEventInvokeConfigs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_ListFunctionUrlConfigs.go.snap b/service/lambda/snapshot/api_op_ListFunctionUrlConfigs.go.snap index 32e6bf50af0..30777836ea3 100644 --- a/service/lambda/snapshot/api_op_ListFunctionUrlConfigs.go.snap +++ b/service/lambda/snapshot/api_op_ListFunctionUrlConfigs.go.snap @@ -14,7 +14,6 @@ ListFunctionUrlConfigs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_ListFunctions.go.snap b/service/lambda/snapshot/api_op_ListFunctions.go.snap index 04c5b32f3e4..c065b2ac7a8 100644 --- a/service/lambda/snapshot/api_op_ListFunctions.go.snap +++ b/service/lambda/snapshot/api_op_ListFunctions.go.snap @@ -13,7 +13,6 @@ ListFunctions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_ListFunctionsByCodeSigningConfig.go.snap b/service/lambda/snapshot/api_op_ListFunctionsByCodeSigningConfig.go.snap index e6b2922e913..586bf56fb60 100644 --- a/service/lambda/snapshot/api_op_ListFunctionsByCodeSigningConfig.go.snap +++ b/service/lambda/snapshot/api_op_ListFunctionsByCodeSigningConfig.go.snap @@ -14,7 +14,6 @@ ListFunctionsByCodeSigningConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_ListLayerVersions.go.snap b/service/lambda/snapshot/api_op_ListLayerVersions.go.snap index 6d6f58c7a98..7b3632f6a38 100644 --- a/service/lambda/snapshot/api_op_ListLayerVersions.go.snap +++ b/service/lambda/snapshot/api_op_ListLayerVersions.go.snap @@ -14,7 +14,6 @@ ListLayerVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_ListLayers.go.snap b/service/lambda/snapshot/api_op_ListLayers.go.snap index 04deb0c3998..f26d07ed72a 100644 --- a/service/lambda/snapshot/api_op_ListLayers.go.snap +++ b/service/lambda/snapshot/api_op_ListLayers.go.snap @@ -13,7 +13,6 @@ ListLayers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_ListProvisionedConcurrencyConfigs.go.snap b/service/lambda/snapshot/api_op_ListProvisionedConcurrencyConfigs.go.snap index f14f35273d8..5999979ea1f 100644 --- a/service/lambda/snapshot/api_op_ListProvisionedConcurrencyConfigs.go.snap +++ b/service/lambda/snapshot/api_op_ListProvisionedConcurrencyConfigs.go.snap @@ -14,7 +14,6 @@ ListProvisionedConcurrencyConfigs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_ListTags.go.snap b/service/lambda/snapshot/api_op_ListTags.go.snap index 1b1e99185a9..438bd1b7aec 100644 --- a/service/lambda/snapshot/api_op_ListTags.go.snap +++ b/service/lambda/snapshot/api_op_ListTags.go.snap @@ -14,7 +14,6 @@ ListTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_ListVersionsByFunction.go.snap b/service/lambda/snapshot/api_op_ListVersionsByFunction.go.snap index 8cadad7e84a..1466d07fc77 100644 --- a/service/lambda/snapshot/api_op_ListVersionsByFunction.go.snap +++ b/service/lambda/snapshot/api_op_ListVersionsByFunction.go.snap @@ -14,7 +14,6 @@ ListVersionsByFunction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_PublishLayerVersion.go.snap b/service/lambda/snapshot/api_op_PublishLayerVersion.go.snap index e35354de15d..b7d6c309cfd 100644 --- a/service/lambda/snapshot/api_op_PublishLayerVersion.go.snap +++ b/service/lambda/snapshot/api_op_PublishLayerVersion.go.snap @@ -14,7 +14,6 @@ PublishLayerVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_PublishVersion.go.snap b/service/lambda/snapshot/api_op_PublishVersion.go.snap index bdd85e26ce2..c03a731a3f4 100644 --- a/service/lambda/snapshot/api_op_PublishVersion.go.snap +++ b/service/lambda/snapshot/api_op_PublishVersion.go.snap @@ -14,7 +14,6 @@ PublishVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_PutFunctionCodeSigningConfig.go.snap b/service/lambda/snapshot/api_op_PutFunctionCodeSigningConfig.go.snap index bad9437d126..13ffc1cc7df 100644 --- a/service/lambda/snapshot/api_op_PutFunctionCodeSigningConfig.go.snap +++ b/service/lambda/snapshot/api_op_PutFunctionCodeSigningConfig.go.snap @@ -14,7 +14,6 @@ PutFunctionCodeSigningConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_PutFunctionConcurrency.go.snap b/service/lambda/snapshot/api_op_PutFunctionConcurrency.go.snap index ee4eb1260b9..76bd707bc6d 100644 --- a/service/lambda/snapshot/api_op_PutFunctionConcurrency.go.snap +++ b/service/lambda/snapshot/api_op_PutFunctionConcurrency.go.snap @@ -14,7 +14,6 @@ PutFunctionConcurrency Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_PutFunctionEventInvokeConfig.go.snap b/service/lambda/snapshot/api_op_PutFunctionEventInvokeConfig.go.snap index 71ac18a7284..cb9c0bf0f0d 100644 --- a/service/lambda/snapshot/api_op_PutFunctionEventInvokeConfig.go.snap +++ b/service/lambda/snapshot/api_op_PutFunctionEventInvokeConfig.go.snap @@ -14,7 +14,6 @@ PutFunctionEventInvokeConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_PutFunctionRecursionConfig.go.snap b/service/lambda/snapshot/api_op_PutFunctionRecursionConfig.go.snap index c83fcf16b07..145f415c70e 100644 --- a/service/lambda/snapshot/api_op_PutFunctionRecursionConfig.go.snap +++ b/service/lambda/snapshot/api_op_PutFunctionRecursionConfig.go.snap @@ -14,7 +14,6 @@ PutFunctionRecursionConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_PutProvisionedConcurrencyConfig.go.snap b/service/lambda/snapshot/api_op_PutProvisionedConcurrencyConfig.go.snap index ed6c89739e0..a1d0f2a17fe 100644 --- a/service/lambda/snapshot/api_op_PutProvisionedConcurrencyConfig.go.snap +++ b/service/lambda/snapshot/api_op_PutProvisionedConcurrencyConfig.go.snap @@ -14,7 +14,6 @@ PutProvisionedConcurrencyConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_PutRuntimeManagementConfig.go.snap b/service/lambda/snapshot/api_op_PutRuntimeManagementConfig.go.snap index 8ace7d4a170..31b8df6919b 100644 --- a/service/lambda/snapshot/api_op_PutRuntimeManagementConfig.go.snap +++ b/service/lambda/snapshot/api_op_PutRuntimeManagementConfig.go.snap @@ -14,7 +14,6 @@ PutRuntimeManagementConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_RemoveLayerVersionPermission.go.snap b/service/lambda/snapshot/api_op_RemoveLayerVersionPermission.go.snap index 3de36be1a4d..9b314b7bace 100644 --- a/service/lambda/snapshot/api_op_RemoveLayerVersionPermission.go.snap +++ b/service/lambda/snapshot/api_op_RemoveLayerVersionPermission.go.snap @@ -14,7 +14,6 @@ RemoveLayerVersionPermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_RemovePermission.go.snap b/service/lambda/snapshot/api_op_RemovePermission.go.snap index 65d7c5c329f..d2d8964fdb1 100644 --- a/service/lambda/snapshot/api_op_RemovePermission.go.snap +++ b/service/lambda/snapshot/api_op_RemovePermission.go.snap @@ -14,7 +14,6 @@ RemovePermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_TagResource.go.snap b/service/lambda/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/lambda/snapshot/api_op_TagResource.go.snap +++ b/service/lambda/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_UntagResource.go.snap b/service/lambda/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/lambda/snapshot/api_op_UntagResource.go.snap +++ b/service/lambda/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_UpdateAlias.go.snap b/service/lambda/snapshot/api_op_UpdateAlias.go.snap index 84608cce172..8900693425f 100644 --- a/service/lambda/snapshot/api_op_UpdateAlias.go.snap +++ b/service/lambda/snapshot/api_op_UpdateAlias.go.snap @@ -14,7 +14,6 @@ UpdateAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_UpdateCodeSigningConfig.go.snap b/service/lambda/snapshot/api_op_UpdateCodeSigningConfig.go.snap index 48fd9316b75..ebeb3570b2a 100644 --- a/service/lambda/snapshot/api_op_UpdateCodeSigningConfig.go.snap +++ b/service/lambda/snapshot/api_op_UpdateCodeSigningConfig.go.snap @@ -14,7 +14,6 @@ UpdateCodeSigningConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_UpdateEventSourceMapping.go.snap b/service/lambda/snapshot/api_op_UpdateEventSourceMapping.go.snap index e10b5159881..0422988aa14 100644 --- a/service/lambda/snapshot/api_op_UpdateEventSourceMapping.go.snap +++ b/service/lambda/snapshot/api_op_UpdateEventSourceMapping.go.snap @@ -14,7 +14,6 @@ UpdateEventSourceMapping Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_UpdateFunctionCode.go.snap b/service/lambda/snapshot/api_op_UpdateFunctionCode.go.snap index 661a323609b..639fe14a9d7 100644 --- a/service/lambda/snapshot/api_op_UpdateFunctionCode.go.snap +++ b/service/lambda/snapshot/api_op_UpdateFunctionCode.go.snap @@ -14,7 +14,6 @@ UpdateFunctionCode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_UpdateFunctionConfiguration.go.snap b/service/lambda/snapshot/api_op_UpdateFunctionConfiguration.go.snap index 16bdcedc853..dafcd57dc34 100644 --- a/service/lambda/snapshot/api_op_UpdateFunctionConfiguration.go.snap +++ b/service/lambda/snapshot/api_op_UpdateFunctionConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateFunctionConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_UpdateFunctionEventInvokeConfig.go.snap b/service/lambda/snapshot/api_op_UpdateFunctionEventInvokeConfig.go.snap index 4b2adee3bc4..9823b705c4a 100644 --- a/service/lambda/snapshot/api_op_UpdateFunctionEventInvokeConfig.go.snap +++ b/service/lambda/snapshot/api_op_UpdateFunctionEventInvokeConfig.go.snap @@ -14,7 +14,6 @@ UpdateFunctionEventInvokeConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lambda/snapshot/api_op_UpdateFunctionUrlConfig.go.snap b/service/lambda/snapshot/api_op_UpdateFunctionUrlConfig.go.snap index b04dbed5611..c18e8f7643d 100644 --- a/service/lambda/snapshot/api_op_UpdateFunctionUrlConfig.go.snap +++ b/service/lambda/snapshot/api_op_UpdateFunctionUrlConfig.go.snap @@ -14,7 +14,6 @@ UpdateFunctionUrlConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/launchwizard/api_client.go b/service/launchwizard/api_client.go index a8afde637f0..bcd28f4c6c8 100644 --- a/service/launchwizard/api_client.go +++ b/service/launchwizard/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/launchwizard/api_op_CreateDeployment.go b/service/launchwizard/api_op_CreateDeployment.go index 536926d05cd..151a98df764 100644 --- a/service/launchwizard/api_op_CreateDeployment.go +++ b/service/launchwizard/api_op_CreateDeployment.go @@ -151,9 +151,6 @@ func (c *Client) addOperationCreateDeploymentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/launchwizard/api_op_DeleteDeployment.go b/service/launchwizard/api_op_DeleteDeployment.go index 7a9e522cc42..8c593821f69 100644 --- a/service/launchwizard/api_op_DeleteDeployment.go +++ b/service/launchwizard/api_op_DeleteDeployment.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteDeploymentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/launchwizard/api_op_GetDeployment.go b/service/launchwizard/api_op_GetDeployment.go index 74c68e32e85..9f9e46981b4 100644 --- a/service/launchwizard/api_op_GetDeployment.go +++ b/service/launchwizard/api_op_GetDeployment.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetDeploymentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/launchwizard/api_op_GetWorkload.go b/service/launchwizard/api_op_GetWorkload.go index b376955ca20..d0a47e7b9e5 100644 --- a/service/launchwizard/api_op_GetWorkload.go +++ b/service/launchwizard/api_op_GetWorkload.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetWorkloadMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWorkloadValidationMiddleware(stack); err != nil { return err } diff --git a/service/launchwizard/api_op_GetWorkloadDeploymentPattern.go b/service/launchwizard/api_op_GetWorkloadDeploymentPattern.go index c4424453edd..3c2675e8e6f 100644 --- a/service/launchwizard/api_op_GetWorkloadDeploymentPattern.go +++ b/service/launchwizard/api_op_GetWorkloadDeploymentPattern.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetWorkloadDeploymentPatternMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWorkloadDeploymentPatternValidationMiddleware(stack); err != nil { return err } diff --git a/service/launchwizard/api_op_ListDeploymentEvents.go b/service/launchwizard/api_op_ListDeploymentEvents.go index 41bdf4b0d04..f8aa70ae0f9 100644 --- a/service/launchwizard/api_op_ListDeploymentEvents.go +++ b/service/launchwizard/api_op_ListDeploymentEvents.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListDeploymentEventsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDeploymentEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/launchwizard/api_op_ListDeployments.go b/service/launchwizard/api_op_ListDeployments.go index d862806730d..2b80c871b3a 100644 --- a/service/launchwizard/api_op_ListDeployments.go +++ b/service/launchwizard/api_op_ListDeployments.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListDeploymentsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeployments(options.Region), middleware.Before); err != nil { return err } diff --git a/service/launchwizard/api_op_ListTagsForResource.go b/service/launchwizard/api_op_ListTagsForResource.go index 996dc884db1..09d0a51adc5 100644 --- a/service/launchwizard/api_op_ListTagsForResource.go +++ b/service/launchwizard/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/launchwizard/api_op_ListWorkloadDeploymentPatterns.go b/service/launchwizard/api_op_ListWorkloadDeploymentPatterns.go index cb0faee4be8..d045dd9727f 100644 --- a/service/launchwizard/api_op_ListWorkloadDeploymentPatterns.go +++ b/service/launchwizard/api_op_ListWorkloadDeploymentPatterns.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListWorkloadDeploymentPatternsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListWorkloadDeploymentPatternsValidationMiddleware(stack); err != nil { return err } diff --git a/service/launchwizard/api_op_ListWorkloads.go b/service/launchwizard/api_op_ListWorkloads.go index 82077a86f87..e8cb712fb92 100644 --- a/service/launchwizard/api_op_ListWorkloads.go +++ b/service/launchwizard/api_op_ListWorkloads.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListWorkloadsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkloads(options.Region), middleware.Before); err != nil { return err } diff --git a/service/launchwizard/api_op_TagResource.go b/service/launchwizard/api_op_TagResource.go index 96bd79671d0..2c1ba83e48d 100644 --- a/service/launchwizard/api_op_TagResource.go +++ b/service/launchwizard/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/launchwizard/api_op_UntagResource.go b/service/launchwizard/api_op_UntagResource.go index c21f59602b6..586e12eebee 100644 --- a/service/launchwizard/api_op_UntagResource.go +++ b/service/launchwizard/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/launchwizard/snapshot/api_op_CreateDeployment.go.snap b/service/launchwizard/snapshot/api_op_CreateDeployment.go.snap index 6a95eb66d05..3334cbaf46f 100644 --- a/service/launchwizard/snapshot/api_op_CreateDeployment.go.snap +++ b/service/launchwizard/snapshot/api_op_CreateDeployment.go.snap @@ -14,7 +14,6 @@ CreateDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/launchwizard/snapshot/api_op_DeleteDeployment.go.snap b/service/launchwizard/snapshot/api_op_DeleteDeployment.go.snap index e7a35d80b4f..964f6b772df 100644 --- a/service/launchwizard/snapshot/api_op_DeleteDeployment.go.snap +++ b/service/launchwizard/snapshot/api_op_DeleteDeployment.go.snap @@ -14,7 +14,6 @@ DeleteDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/launchwizard/snapshot/api_op_GetDeployment.go.snap b/service/launchwizard/snapshot/api_op_GetDeployment.go.snap index 65b4d552af7..7f1504a336c 100644 --- a/service/launchwizard/snapshot/api_op_GetDeployment.go.snap +++ b/service/launchwizard/snapshot/api_op_GetDeployment.go.snap @@ -14,7 +14,6 @@ GetDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/launchwizard/snapshot/api_op_GetWorkload.go.snap b/service/launchwizard/snapshot/api_op_GetWorkload.go.snap index 61f5b2d0bec..b4b33e43e87 100644 --- a/service/launchwizard/snapshot/api_op_GetWorkload.go.snap +++ b/service/launchwizard/snapshot/api_op_GetWorkload.go.snap @@ -14,7 +14,6 @@ GetWorkload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/launchwizard/snapshot/api_op_GetWorkloadDeploymentPattern.go.snap b/service/launchwizard/snapshot/api_op_GetWorkloadDeploymentPattern.go.snap index 4a112c200ce..4b03d94aa69 100644 --- a/service/launchwizard/snapshot/api_op_GetWorkloadDeploymentPattern.go.snap +++ b/service/launchwizard/snapshot/api_op_GetWorkloadDeploymentPattern.go.snap @@ -14,7 +14,6 @@ GetWorkloadDeploymentPattern Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/launchwizard/snapshot/api_op_ListDeploymentEvents.go.snap b/service/launchwizard/snapshot/api_op_ListDeploymentEvents.go.snap index 4e9086192cc..13d8d5494ea 100644 --- a/service/launchwizard/snapshot/api_op_ListDeploymentEvents.go.snap +++ b/service/launchwizard/snapshot/api_op_ListDeploymentEvents.go.snap @@ -14,7 +14,6 @@ ListDeploymentEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/launchwizard/snapshot/api_op_ListDeployments.go.snap b/service/launchwizard/snapshot/api_op_ListDeployments.go.snap index 87731027850..ac65f925362 100644 --- a/service/launchwizard/snapshot/api_op_ListDeployments.go.snap +++ b/service/launchwizard/snapshot/api_op_ListDeployments.go.snap @@ -13,7 +13,6 @@ ListDeployments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/launchwizard/snapshot/api_op_ListTagsForResource.go.snap b/service/launchwizard/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/launchwizard/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/launchwizard/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/launchwizard/snapshot/api_op_ListWorkloadDeploymentPatterns.go.snap b/service/launchwizard/snapshot/api_op_ListWorkloadDeploymentPatterns.go.snap index ef3f28b8483..f03b3679657 100644 --- a/service/launchwizard/snapshot/api_op_ListWorkloadDeploymentPatterns.go.snap +++ b/service/launchwizard/snapshot/api_op_ListWorkloadDeploymentPatterns.go.snap @@ -14,7 +14,6 @@ ListWorkloadDeploymentPatterns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/launchwizard/snapshot/api_op_ListWorkloads.go.snap b/service/launchwizard/snapshot/api_op_ListWorkloads.go.snap index 859a41dbcb6..c38a4979714 100644 --- a/service/launchwizard/snapshot/api_op_ListWorkloads.go.snap +++ b/service/launchwizard/snapshot/api_op_ListWorkloads.go.snap @@ -13,7 +13,6 @@ ListWorkloads Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/launchwizard/snapshot/api_op_TagResource.go.snap b/service/launchwizard/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/launchwizard/snapshot/api_op_TagResource.go.snap +++ b/service/launchwizard/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/launchwizard/snapshot/api_op_UntagResource.go.snap b/service/launchwizard/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/launchwizard/snapshot/api_op_UntagResource.go.snap +++ b/service/launchwizard/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/api_client.go b/service/lexmodelbuildingservice/api_client.go index 4c5124d191f..0c38697b6b0 100644 --- a/service/lexmodelbuildingservice/api_client.go +++ b/service/lexmodelbuildingservice/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/lexmodelbuildingservice/api_op_CreateBotVersion.go b/service/lexmodelbuildingservice/api_op_CreateBotVersion.go index 900d1a3537d..507016c2824 100644 --- a/service/lexmodelbuildingservice/api_op_CreateBotVersion.go +++ b/service/lexmodelbuildingservice/api_op_CreateBotVersion.go @@ -212,9 +212,6 @@ func (c *Client) addOperationCreateBotVersionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBotVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_CreateIntentVersion.go b/service/lexmodelbuildingservice/api_op_CreateIntentVersion.go index 1a83a37c3df..c4f281cde7d 100644 --- a/service/lexmodelbuildingservice/api_op_CreateIntentVersion.go +++ b/service/lexmodelbuildingservice/api_op_CreateIntentVersion.go @@ -192,9 +192,6 @@ func (c *Client) addOperationCreateIntentVersionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateIntentVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_CreateSlotTypeVersion.go b/service/lexmodelbuildingservice/api_op_CreateSlotTypeVersion.go index 1d890676e0f..33309e8cddb 100644 --- a/service/lexmodelbuildingservice/api_op_CreateSlotTypeVersion.go +++ b/service/lexmodelbuildingservice/api_op_CreateSlotTypeVersion.go @@ -162,9 +162,6 @@ func (c *Client) addOperationCreateSlotTypeVersionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSlotTypeVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_DeleteBot.go b/service/lexmodelbuildingservice/api_op_DeleteBot.go index 668827e0a87..1c23f04a24b 100644 --- a/service/lexmodelbuildingservice/api_op_DeleteBot.go +++ b/service/lexmodelbuildingservice/api_op_DeleteBot.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteBotMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBotValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_DeleteBotAlias.go b/service/lexmodelbuildingservice/api_op_DeleteBotAlias.go index b9481fc3ba2..bc689c54f14 100644 --- a/service/lexmodelbuildingservice/api_op_DeleteBotAlias.go +++ b/service/lexmodelbuildingservice/api_op_DeleteBotAlias.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteBotAliasMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBotAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_DeleteBotChannelAssociation.go b/service/lexmodelbuildingservice/api_op_DeleteBotChannelAssociation.go index 0ab57c12781..e994eff2e10 100644 --- a/service/lexmodelbuildingservice/api_op_DeleteBotChannelAssociation.go +++ b/service/lexmodelbuildingservice/api_op_DeleteBotChannelAssociation.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteBotChannelAssociationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBotChannelAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_DeleteBotVersion.go b/service/lexmodelbuildingservice/api_op_DeleteBotVersion.go index 53273f158c6..cd4ade3f29c 100644 --- a/service/lexmodelbuildingservice/api_op_DeleteBotVersion.go +++ b/service/lexmodelbuildingservice/api_op_DeleteBotVersion.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteBotVersionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBotVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_DeleteIntent.go b/service/lexmodelbuildingservice/api_op_DeleteIntent.go index 1a6899df303..0dbb722f157 100644 --- a/service/lexmodelbuildingservice/api_op_DeleteIntent.go +++ b/service/lexmodelbuildingservice/api_op_DeleteIntent.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteIntentMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIntentValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_DeleteIntentVersion.go b/service/lexmodelbuildingservice/api_op_DeleteIntentVersion.go index 2f94156fa02..3f229cc1e1f 100644 --- a/service/lexmodelbuildingservice/api_op_DeleteIntentVersion.go +++ b/service/lexmodelbuildingservice/api_op_DeleteIntentVersion.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteIntentVersionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIntentVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_DeleteSlotType.go b/service/lexmodelbuildingservice/api_op_DeleteSlotType.go index 6248b710c83..f29b5fd2767 100644 --- a/service/lexmodelbuildingservice/api_op_DeleteSlotType.go +++ b/service/lexmodelbuildingservice/api_op_DeleteSlotType.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteSlotTypeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSlotTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_DeleteSlotTypeVersion.go b/service/lexmodelbuildingservice/api_op_DeleteSlotTypeVersion.go index a1208fe2205..f70eb7a0bc5 100644 --- a/service/lexmodelbuildingservice/api_op_DeleteSlotTypeVersion.go +++ b/service/lexmodelbuildingservice/api_op_DeleteSlotTypeVersion.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteSlotTypeVersionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSlotTypeVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_DeleteUtterances.go b/service/lexmodelbuildingservice/api_op_DeleteUtterances.go index eb53f014b03..7ca02c8100d 100644 --- a/service/lexmodelbuildingservice/api_op_DeleteUtterances.go +++ b/service/lexmodelbuildingservice/api_op_DeleteUtterances.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteUtterancesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUtterancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetBot.go b/service/lexmodelbuildingservice/api_op_GetBot.go index a6986dc43a5..48f59a1d041 100644 --- a/service/lexmodelbuildingservice/api_op_GetBot.go +++ b/service/lexmodelbuildingservice/api_op_GetBot.go @@ -221,9 +221,6 @@ func (c *Client) addOperationGetBotMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBotValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetBotAlias.go b/service/lexmodelbuildingservice/api_op_GetBotAlias.go index 7890a82c196..c0edb2ae5d0 100644 --- a/service/lexmodelbuildingservice/api_op_GetBotAlias.go +++ b/service/lexmodelbuildingservice/api_op_GetBotAlias.go @@ -143,9 +143,6 @@ func (c *Client) addOperationGetBotAliasMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBotAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetBotAliases.go b/service/lexmodelbuildingservice/api_op_GetBotAliases.go index 4f2e9a470af..249f44d379d 100644 --- a/service/lexmodelbuildingservice/api_op_GetBotAliases.go +++ b/service/lexmodelbuildingservice/api_op_GetBotAliases.go @@ -134,9 +134,6 @@ func (c *Client) addOperationGetBotAliasesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBotAliasesValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetBotChannelAssociation.go b/service/lexmodelbuildingservice/api_op_GetBotChannelAssociation.go index e7ac1e353b2..9ad590609f6 100644 --- a/service/lexmodelbuildingservice/api_op_GetBotChannelAssociation.go +++ b/service/lexmodelbuildingservice/api_op_GetBotChannelAssociation.go @@ -162,9 +162,6 @@ func (c *Client) addOperationGetBotChannelAssociationMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBotChannelAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetBotChannelAssociations.go b/service/lexmodelbuildingservice/api_op_GetBotChannelAssociations.go index 471aa659fe7..c5f35348fc7 100644 --- a/service/lexmodelbuildingservice/api_op_GetBotChannelAssociations.go +++ b/service/lexmodelbuildingservice/api_op_GetBotChannelAssociations.go @@ -144,9 +144,6 @@ func (c *Client) addOperationGetBotChannelAssociationsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBotChannelAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetBotVersions.go b/service/lexmodelbuildingservice/api_op_GetBotVersions.go index adc8a3fd313..9d894deffab 100644 --- a/service/lexmodelbuildingservice/api_op_GetBotVersions.go +++ b/service/lexmodelbuildingservice/api_op_GetBotVersions.go @@ -138,9 +138,6 @@ func (c *Client) addOperationGetBotVersionsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBotVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetBots.go b/service/lexmodelbuildingservice/api_op_GetBots.go index 33f18dd544a..287dd617740 100644 --- a/service/lexmodelbuildingservice/api_op_GetBots.go +++ b/service/lexmodelbuildingservice/api_op_GetBots.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetBotsMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBots(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetBuiltinIntent.go b/service/lexmodelbuildingservice/api_op_GetBuiltinIntent.go index 9c88d300c6d..4d2cd84a1a6 100644 --- a/service/lexmodelbuildingservice/api_op_GetBuiltinIntent.go +++ b/service/lexmodelbuildingservice/api_op_GetBuiltinIntent.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetBuiltinIntentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBuiltinIntentValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetBuiltinIntents.go b/service/lexmodelbuildingservice/api_op_GetBuiltinIntents.go index d53d4f22edb..2430b02d87e 100644 --- a/service/lexmodelbuildingservice/api_op_GetBuiltinIntents.go +++ b/service/lexmodelbuildingservice/api_op_GetBuiltinIntents.go @@ -134,9 +134,6 @@ func (c *Client) addOperationGetBuiltinIntentsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBuiltinIntents(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetBuiltinSlotTypes.go b/service/lexmodelbuildingservice/api_op_GetBuiltinSlotTypes.go index 7262b63af13..c5c031ff89d 100644 --- a/service/lexmodelbuildingservice/api_op_GetBuiltinSlotTypes.go +++ b/service/lexmodelbuildingservice/api_op_GetBuiltinSlotTypes.go @@ -135,9 +135,6 @@ func (c *Client) addOperationGetBuiltinSlotTypesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBuiltinSlotTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetExport.go b/service/lexmodelbuildingservice/api_op_GetExport.go index b4b239a2b11..ceff106ff36 100644 --- a/service/lexmodelbuildingservice/api_op_GetExport.go +++ b/service/lexmodelbuildingservice/api_op_GetExport.go @@ -155,9 +155,6 @@ func (c *Client) addOperationGetExportMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetExportValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetImport.go b/service/lexmodelbuildingservice/api_op_GetImport.go index 5506950ebe3..beee7d85fe9 100644 --- a/service/lexmodelbuildingservice/api_op_GetImport.go +++ b/service/lexmodelbuildingservice/api_op_GetImport.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetImportMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetImportValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetIntent.go b/service/lexmodelbuildingservice/api_op_GetIntent.go index 8eb3a82140c..b3e02e127bd 100644 --- a/service/lexmodelbuildingservice/api_op_GetIntent.go +++ b/service/lexmodelbuildingservice/api_op_GetIntent.go @@ -182,9 +182,6 @@ func (c *Client) addOperationGetIntentMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIntentValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetIntentVersions.go b/service/lexmodelbuildingservice/api_op_GetIntentVersions.go index 13588a7a4d8..941383d3854 100644 --- a/service/lexmodelbuildingservice/api_op_GetIntentVersions.go +++ b/service/lexmodelbuildingservice/api_op_GetIntentVersions.go @@ -139,9 +139,6 @@ func (c *Client) addOperationGetIntentVersionsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIntentVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetIntents.go b/service/lexmodelbuildingservice/api_op_GetIntents.go index 09940131e03..062d4208fcb 100644 --- a/service/lexmodelbuildingservice/api_op_GetIntents.go +++ b/service/lexmodelbuildingservice/api_op_GetIntents.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetIntentsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIntents(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetMigration.go b/service/lexmodelbuildingservice/api_op_GetMigration.go index f03925de9e8..540f2504df2 100644 --- a/service/lexmodelbuildingservice/api_op_GetMigration.go +++ b/service/lexmodelbuildingservice/api_op_GetMigration.go @@ -161,9 +161,6 @@ func (c *Client) addOperationGetMigrationMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMigrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetMigrations.go b/service/lexmodelbuildingservice/api_op_GetMigrations.go index dde808cde80..ce6642afeed 100644 --- a/service/lexmodelbuildingservice/api_op_GetMigrations.go +++ b/service/lexmodelbuildingservice/api_op_GetMigrations.go @@ -136,9 +136,6 @@ func (c *Client) addOperationGetMigrationsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMigrations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetSlotType.go b/service/lexmodelbuildingservice/api_op_GetSlotType.go index 6025931e766..405994e1e33 100644 --- a/service/lexmodelbuildingservice/api_op_GetSlotType.go +++ b/service/lexmodelbuildingservice/api_op_GetSlotType.go @@ -151,9 +151,6 @@ func (c *Client) addOperationGetSlotTypeMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSlotTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetSlotTypeVersions.go b/service/lexmodelbuildingservice/api_op_GetSlotTypeVersions.go index 5288592592c..ac1131807d6 100644 --- a/service/lexmodelbuildingservice/api_op_GetSlotTypeVersions.go +++ b/service/lexmodelbuildingservice/api_op_GetSlotTypeVersions.go @@ -139,9 +139,6 @@ func (c *Client) addOperationGetSlotTypeVersionsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSlotTypeVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetSlotTypes.go b/service/lexmodelbuildingservice/api_op_GetSlotTypes.go index aa58c1a237b..b87b77435f5 100644 --- a/service/lexmodelbuildingservice/api_op_GetSlotTypes.go +++ b/service/lexmodelbuildingservice/api_op_GetSlotTypes.go @@ -134,9 +134,6 @@ func (c *Client) addOperationGetSlotTypesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSlotTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_GetUtterancesView.go b/service/lexmodelbuildingservice/api_op_GetUtterancesView.go index d5c0bb1ad53..4ae5564c9c0 100644 --- a/service/lexmodelbuildingservice/api_op_GetUtterancesView.go +++ b/service/lexmodelbuildingservice/api_op_GetUtterancesView.go @@ -155,9 +155,6 @@ func (c *Client) addOperationGetUtterancesViewMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUtterancesViewValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_ListTagsForResource.go b/service/lexmodelbuildingservice/api_op_ListTagsForResource.go index ec75d3def89..bb2ef77ae6d 100644 --- a/service/lexmodelbuildingservice/api_op_ListTagsForResource.go +++ b/service/lexmodelbuildingservice/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_PutBot.go b/service/lexmodelbuildingservice/api_op_PutBot.go index 7e79e741435..d893b14764d 100644 --- a/service/lexmodelbuildingservice/api_op_PutBot.go +++ b/service/lexmodelbuildingservice/api_op_PutBot.go @@ -460,9 +460,6 @@ func (c *Client) addOperationPutBotMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutBotValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_PutBotAlias.go b/service/lexmodelbuildingservice/api_op_PutBotAlias.go index 2f9f94ebc5c..e542e0e5e8f 100644 --- a/service/lexmodelbuildingservice/api_op_PutBotAlias.go +++ b/service/lexmodelbuildingservice/api_op_PutBotAlias.go @@ -174,9 +174,6 @@ func (c *Client) addOperationPutBotAliasMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutBotAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_PutIntent.go b/service/lexmodelbuildingservice/api_op_PutIntent.go index 1a5fc30b982..efd9c2f7640 100644 --- a/service/lexmodelbuildingservice/api_op_PutIntent.go +++ b/service/lexmodelbuildingservice/api_op_PutIntent.go @@ -354,9 +354,6 @@ func (c *Client) addOperationPutIntentMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutIntentValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_PutSlotType.go b/service/lexmodelbuildingservice/api_op_PutSlotType.go index b594c2dccdd..d80af074e75 100644 --- a/service/lexmodelbuildingservice/api_op_PutSlotType.go +++ b/service/lexmodelbuildingservice/api_op_PutSlotType.go @@ -229,9 +229,6 @@ func (c *Client) addOperationPutSlotTypeMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutSlotTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_StartImport.go b/service/lexmodelbuildingservice/api_op_StartImport.go index 005c4a9fe9d..0deb9d85275 100644 --- a/service/lexmodelbuildingservice/api_op_StartImport.go +++ b/service/lexmodelbuildingservice/api_op_StartImport.go @@ -163,9 +163,6 @@ func (c *Client) addOperationStartImportMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartImportValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_StartMigration.go b/service/lexmodelbuildingservice/api_op_StartMigration.go index e782ac43dda..afda89dd051 100644 --- a/service/lexmodelbuildingservice/api_op_StartMigration.go +++ b/service/lexmodelbuildingservice/api_op_StartMigration.go @@ -175,9 +175,6 @@ func (c *Client) addOperationStartMigrationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartMigrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_TagResource.go b/service/lexmodelbuildingservice/api_op_TagResource.go index 6542f954967..09b406705a7 100644 --- a/service/lexmodelbuildingservice/api_op_TagResource.go +++ b/service/lexmodelbuildingservice/api_op_TagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/api_op_UntagResource.go b/service/lexmodelbuildingservice/api_op_UntagResource.go index d1b8984d853..a169c5f746d 100644 --- a/service/lexmodelbuildingservice/api_op_UntagResource.go +++ b/service/lexmodelbuildingservice/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelbuildingservice/snapshot/api_op_CreateBotVersion.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_CreateBotVersion.go.snap index 0eff2eaaa04..81d4d5a029b 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_CreateBotVersion.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_CreateBotVersion.go.snap @@ -14,7 +14,6 @@ CreateBotVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_CreateIntentVersion.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_CreateIntentVersion.go.snap index d31ec85ba79..114779edb59 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_CreateIntentVersion.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_CreateIntentVersion.go.snap @@ -14,7 +14,6 @@ CreateIntentVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_CreateSlotTypeVersion.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_CreateSlotTypeVersion.go.snap index ef9fe0d9df7..f2853d53e03 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_CreateSlotTypeVersion.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_CreateSlotTypeVersion.go.snap @@ -14,7 +14,6 @@ CreateSlotTypeVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_DeleteBot.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_DeleteBot.go.snap index 82c5217bb4b..5127075b080 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_DeleteBot.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_DeleteBot.go.snap @@ -14,7 +14,6 @@ DeleteBot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_DeleteBotAlias.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_DeleteBotAlias.go.snap index c850cf915df..8671cbc57f6 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_DeleteBotAlias.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_DeleteBotAlias.go.snap @@ -14,7 +14,6 @@ DeleteBotAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_DeleteBotChannelAssociation.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_DeleteBotChannelAssociation.go.snap index 5a0e2ebcc3b..7c224e7698d 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_DeleteBotChannelAssociation.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_DeleteBotChannelAssociation.go.snap @@ -14,7 +14,6 @@ DeleteBotChannelAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_DeleteBotVersion.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_DeleteBotVersion.go.snap index bdca88e9cbe..0238fadce92 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_DeleteBotVersion.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_DeleteBotVersion.go.snap @@ -14,7 +14,6 @@ DeleteBotVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_DeleteIntent.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_DeleteIntent.go.snap index 5b05662daec..66bf58e74f0 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_DeleteIntent.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_DeleteIntent.go.snap @@ -14,7 +14,6 @@ DeleteIntent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_DeleteIntentVersion.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_DeleteIntentVersion.go.snap index 315a368c477..ee5ade7a466 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_DeleteIntentVersion.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_DeleteIntentVersion.go.snap @@ -14,7 +14,6 @@ DeleteIntentVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_DeleteSlotType.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_DeleteSlotType.go.snap index 47f36fbedd6..d75e6a9d6ab 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_DeleteSlotType.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_DeleteSlotType.go.snap @@ -14,7 +14,6 @@ DeleteSlotType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_DeleteSlotTypeVersion.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_DeleteSlotTypeVersion.go.snap index a74c8c937fb..dbaf2aa4b96 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_DeleteSlotTypeVersion.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_DeleteSlotTypeVersion.go.snap @@ -14,7 +14,6 @@ DeleteSlotTypeVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_DeleteUtterances.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_DeleteUtterances.go.snap index 59e17dc335b..67f1dc699e3 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_DeleteUtterances.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_DeleteUtterances.go.snap @@ -14,7 +14,6 @@ DeleteUtterances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_GetBot.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_GetBot.go.snap index cc251e03ce9..6631987d77b 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_GetBot.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_GetBot.go.snap @@ -14,7 +14,6 @@ GetBot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_GetBotAlias.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_GetBotAlias.go.snap index 7d6e4be82d1..92edad36f52 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_GetBotAlias.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_GetBotAlias.go.snap @@ -14,7 +14,6 @@ GetBotAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_GetBotAliases.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_GetBotAliases.go.snap index 744894d70ed..28128531a7e 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_GetBotAliases.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_GetBotAliases.go.snap @@ -14,7 +14,6 @@ GetBotAliases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_GetBotChannelAssociation.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_GetBotChannelAssociation.go.snap index 26c79b8083e..0186b56abbe 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_GetBotChannelAssociation.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_GetBotChannelAssociation.go.snap @@ -14,7 +14,6 @@ GetBotChannelAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_GetBotChannelAssociations.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_GetBotChannelAssociations.go.snap index 9c59666c33b..7295d5ca52e 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_GetBotChannelAssociations.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_GetBotChannelAssociations.go.snap @@ -14,7 +14,6 @@ GetBotChannelAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_GetBotVersions.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_GetBotVersions.go.snap index a8d1430b0e0..4f12555a1f9 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_GetBotVersions.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_GetBotVersions.go.snap @@ -14,7 +14,6 @@ GetBotVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_GetBots.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_GetBots.go.snap index f0b1f7947e3..4e7ddb08871 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_GetBots.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_GetBots.go.snap @@ -13,7 +13,6 @@ GetBots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_GetBuiltinIntent.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_GetBuiltinIntent.go.snap index d513f2cc836..cdbee39017f 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_GetBuiltinIntent.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_GetBuiltinIntent.go.snap @@ -14,7 +14,6 @@ GetBuiltinIntent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_GetBuiltinIntents.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_GetBuiltinIntents.go.snap index acaabd3f171..333065133aa 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_GetBuiltinIntents.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_GetBuiltinIntents.go.snap @@ -13,7 +13,6 @@ GetBuiltinIntents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_GetBuiltinSlotTypes.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_GetBuiltinSlotTypes.go.snap index 49e84d8c45c..4e0910a16fb 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_GetBuiltinSlotTypes.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_GetBuiltinSlotTypes.go.snap @@ -13,7 +13,6 @@ GetBuiltinSlotTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_GetExport.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_GetExport.go.snap index 067e684ae0b..c16b988449c 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_GetExport.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_GetExport.go.snap @@ -14,7 +14,6 @@ GetExport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_GetImport.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_GetImport.go.snap index de7d9fb96ee..dca58f258a9 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_GetImport.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_GetImport.go.snap @@ -14,7 +14,6 @@ GetImport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_GetIntent.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_GetIntent.go.snap index b0f1bb0b2ac..594e55d42e4 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_GetIntent.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_GetIntent.go.snap @@ -14,7 +14,6 @@ GetIntent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_GetIntentVersions.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_GetIntentVersions.go.snap index 0b829da7cb5..bf55717e27d 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_GetIntentVersions.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_GetIntentVersions.go.snap @@ -14,7 +14,6 @@ GetIntentVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_GetIntents.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_GetIntents.go.snap index 797488c8c34..9cf92fd1b80 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_GetIntents.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_GetIntents.go.snap @@ -13,7 +13,6 @@ GetIntents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_GetMigration.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_GetMigration.go.snap index 94d9275dd81..29a7ec74aaa 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_GetMigration.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_GetMigration.go.snap @@ -14,7 +14,6 @@ GetMigration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_GetMigrations.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_GetMigrations.go.snap index 80206eaf742..27f524780e6 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_GetMigrations.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_GetMigrations.go.snap @@ -13,7 +13,6 @@ GetMigrations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_GetSlotType.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_GetSlotType.go.snap index d6e46564398..bfdd76dbb32 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_GetSlotType.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_GetSlotType.go.snap @@ -14,7 +14,6 @@ GetSlotType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_GetSlotTypeVersions.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_GetSlotTypeVersions.go.snap index 1edcad78343..b1087a62c45 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_GetSlotTypeVersions.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_GetSlotTypeVersions.go.snap @@ -14,7 +14,6 @@ GetSlotTypeVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_GetSlotTypes.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_GetSlotTypes.go.snap index 90d19fb289e..5d720a7fd75 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_GetSlotTypes.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_GetSlotTypes.go.snap @@ -13,7 +13,6 @@ GetSlotTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_GetUtterancesView.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_GetUtterancesView.go.snap index 3db4848e676..c2b23c898f9 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_GetUtterancesView.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_GetUtterancesView.go.snap @@ -14,7 +14,6 @@ GetUtterancesView Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_ListTagsForResource.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_PutBot.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_PutBot.go.snap index 69bced123da..836e1ac3fa7 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_PutBot.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_PutBot.go.snap @@ -14,7 +14,6 @@ PutBot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_PutBotAlias.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_PutBotAlias.go.snap index 1bfc606e40b..3d3a169b0d9 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_PutBotAlias.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_PutBotAlias.go.snap @@ -14,7 +14,6 @@ PutBotAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_PutIntent.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_PutIntent.go.snap index 862cd7fa439..cc5fc2633f3 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_PutIntent.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_PutIntent.go.snap @@ -14,7 +14,6 @@ PutIntent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_PutSlotType.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_PutSlotType.go.snap index e4c0e3794b8..c77746cec01 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_PutSlotType.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_PutSlotType.go.snap @@ -14,7 +14,6 @@ PutSlotType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_StartImport.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_StartImport.go.snap index cc18bd3db0b..e9617340a4a 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_StartImport.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_StartImport.go.snap @@ -14,7 +14,6 @@ StartImport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_StartMigration.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_StartMigration.go.snap index 8ecd0267b26..039f7a54e18 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_StartMigration.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_StartMigration.go.snap @@ -14,7 +14,6 @@ StartMigration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_TagResource.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_TagResource.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelbuildingservice/snapshot/api_op_UntagResource.go.snap b/service/lexmodelbuildingservice/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/lexmodelbuildingservice/snapshot/api_op_UntagResource.go.snap +++ b/service/lexmodelbuildingservice/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/api_client.go b/service/lexmodelsv2/api_client.go index 88cfaf78b86..834d80e867c 100644 --- a/service/lexmodelsv2/api_client.go +++ b/service/lexmodelsv2/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/lexmodelsv2/api_op_BatchCreateCustomVocabularyItem.go b/service/lexmodelsv2/api_op_BatchCreateCustomVocabularyItem.go index 39cbf1ae303..221931b9723 100644 --- a/service/lexmodelsv2/api_op_BatchCreateCustomVocabularyItem.go +++ b/service/lexmodelsv2/api_op_BatchCreateCustomVocabularyItem.go @@ -149,9 +149,6 @@ func (c *Client) addOperationBatchCreateCustomVocabularyItemMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchCreateCustomVocabularyItemValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_BatchDeleteCustomVocabularyItem.go b/service/lexmodelsv2/api_op_BatchDeleteCustomVocabularyItem.go index 6dcb67d1e49..b918e7083ec 100644 --- a/service/lexmodelsv2/api_op_BatchDeleteCustomVocabularyItem.go +++ b/service/lexmodelsv2/api_op_BatchDeleteCustomVocabularyItem.go @@ -149,9 +149,6 @@ func (c *Client) addOperationBatchDeleteCustomVocabularyItemMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDeleteCustomVocabularyItemValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_BatchUpdateCustomVocabularyItem.go b/service/lexmodelsv2/api_op_BatchUpdateCustomVocabularyItem.go index 8d4b2476b6f..25ee2b1da6e 100644 --- a/service/lexmodelsv2/api_op_BatchUpdateCustomVocabularyItem.go +++ b/service/lexmodelsv2/api_op_BatchUpdateCustomVocabularyItem.go @@ -149,9 +149,6 @@ func (c *Client) addOperationBatchUpdateCustomVocabularyItemMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchUpdateCustomVocabularyItemValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_BuildBotLocale.go b/service/lexmodelsv2/api_op_BuildBotLocale.go index f68c99c047a..2cfcd26dccd 100644 --- a/service/lexmodelsv2/api_op_BuildBotLocale.go +++ b/service/lexmodelsv2/api_op_BuildBotLocale.go @@ -148,9 +148,6 @@ func (c *Client) addOperationBuildBotLocaleMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBuildBotLocaleValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_CreateBot.go b/service/lexmodelsv2/api_op_CreateBot.go index 472cd7025ae..bd4293f6e56 100644 --- a/service/lexmodelsv2/api_op_CreateBot.go +++ b/service/lexmodelsv2/api_op_CreateBot.go @@ -194,9 +194,6 @@ func (c *Client) addOperationCreateBotMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBotValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_CreateBotAlias.go b/service/lexmodelsv2/api_op_CreateBotAlias.go index 66c8045da64..e06f645edf4 100644 --- a/service/lexmodelsv2/api_op_CreateBotAlias.go +++ b/service/lexmodelsv2/api_op_CreateBotAlias.go @@ -184,9 +184,6 @@ func (c *Client) addOperationCreateBotAliasMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBotAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_CreateBotLocale.go b/service/lexmodelsv2/api_op_CreateBotLocale.go index 9a7044f8171..e6232aa8891 100644 --- a/service/lexmodelsv2/api_op_CreateBotLocale.go +++ b/service/lexmodelsv2/api_op_CreateBotLocale.go @@ -204,9 +204,6 @@ func (c *Client) addOperationCreateBotLocaleMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBotLocaleValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_CreateBotReplica.go b/service/lexmodelsv2/api_op_CreateBotReplica.go index 8903be2c3a7..e42aa246250 100644 --- a/service/lexmodelsv2/api_op_CreateBotReplica.go +++ b/service/lexmodelsv2/api_op_CreateBotReplica.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateBotReplicaMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBotReplicaValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_CreateBotVersion.go b/service/lexmodelsv2/api_op_CreateBotVersion.go index 0de5b7d3e86..474733144c9 100644 --- a/service/lexmodelsv2/api_op_CreateBotVersion.go +++ b/service/lexmodelsv2/api_op_CreateBotVersion.go @@ -146,9 +146,6 @@ func (c *Client) addOperationCreateBotVersionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBotVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_CreateExport.go b/service/lexmodelsv2/api_op_CreateExport.go index 55f829c4b78..524843094dd 100644 --- a/service/lexmodelsv2/api_op_CreateExport.go +++ b/service/lexmodelsv2/api_op_CreateExport.go @@ -151,9 +151,6 @@ func (c *Client) addOperationCreateExportMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateExportValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_CreateIntent.go b/service/lexmodelsv2/api_op_CreateIntent.go index 595486276b0..9aa1ecf9ce6 100644 --- a/service/lexmodelsv2/api_op_CreateIntent.go +++ b/service/lexmodelsv2/api_op_CreateIntent.go @@ -300,9 +300,6 @@ func (c *Client) addOperationCreateIntentMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateIntentValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_CreateResourcePolicy.go b/service/lexmodelsv2/api_op_CreateResourcePolicy.go index b73982b5890..b4eac59789a 100644 --- a/service/lexmodelsv2/api_op_CreateResourcePolicy.go +++ b/service/lexmodelsv2/api_op_CreateResourcePolicy.go @@ -130,9 +130,6 @@ func (c *Client) addOperationCreateResourcePolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_CreateResourcePolicyStatement.go b/service/lexmodelsv2/api_op_CreateResourcePolicyStatement.go index 5c4a1359afd..418845896fa 100644 --- a/service/lexmodelsv2/api_op_CreateResourcePolicyStatement.go +++ b/service/lexmodelsv2/api_op_CreateResourcePolicyStatement.go @@ -173,9 +173,6 @@ func (c *Client) addOperationCreateResourcePolicyStatementMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateResourcePolicyStatementValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_CreateSlot.go b/service/lexmodelsv2/api_op_CreateSlot.go index 2d967116c2e..efc55993d96 100644 --- a/service/lexmodelsv2/api_op_CreateSlot.go +++ b/service/lexmodelsv2/api_op_CreateSlot.go @@ -212,9 +212,6 @@ func (c *Client) addOperationCreateSlotMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSlotValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_CreateSlotType.go b/service/lexmodelsv2/api_op_CreateSlotType.go index 438bd65017d..a74fd24522d 100644 --- a/service/lexmodelsv2/api_op_CreateSlotType.go +++ b/service/lexmodelsv2/api_op_CreateSlotType.go @@ -206,9 +206,6 @@ func (c *Client) addOperationCreateSlotTypeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSlotTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_CreateTestSetDiscrepancyReport.go b/service/lexmodelsv2/api_op_CreateTestSetDiscrepancyReport.go index 24c2f6db5dd..6cda9c9ad1e 100644 --- a/service/lexmodelsv2/api_op_CreateTestSetDiscrepancyReport.go +++ b/service/lexmodelsv2/api_op_CreateTestSetDiscrepancyReport.go @@ -127,9 +127,6 @@ func (c *Client) addOperationCreateTestSetDiscrepancyReportMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTestSetDiscrepancyReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_CreateUploadUrl.go b/service/lexmodelsv2/api_op_CreateUploadUrl.go index bcbf2218b31..8bea6d6f448 100644 --- a/service/lexmodelsv2/api_op_CreateUploadUrl.go +++ b/service/lexmodelsv2/api_op_CreateUploadUrl.go @@ -112,9 +112,6 @@ func (c *Client) addOperationCreateUploadUrlMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateUploadUrl(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DeleteBot.go b/service/lexmodelsv2/api_op_DeleteBot.go index a8f97847a45..1b453cae1f9 100644 --- a/service/lexmodelsv2/api_op_DeleteBot.go +++ b/service/lexmodelsv2/api_op_DeleteBot.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDeleteBotMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBotValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DeleteBotAlias.go b/service/lexmodelsv2/api_op_DeleteBotAlias.go index 146fd30790b..a9e0fc1c370 100644 --- a/service/lexmodelsv2/api_op_DeleteBotAlias.go +++ b/service/lexmodelsv2/api_op_DeleteBotAlias.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDeleteBotAliasMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBotAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DeleteBotLocale.go b/service/lexmodelsv2/api_op_DeleteBotLocale.go index 458a6a5756d..83e9dd822e1 100644 --- a/service/lexmodelsv2/api_op_DeleteBotLocale.go +++ b/service/lexmodelsv2/api_op_DeleteBotLocale.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDeleteBotLocaleMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBotLocaleValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DeleteBotReplica.go b/service/lexmodelsv2/api_op_DeleteBotReplica.go index 13265bc581f..0c12dedf1be 100644 --- a/service/lexmodelsv2/api_op_DeleteBotReplica.go +++ b/service/lexmodelsv2/api_op_DeleteBotReplica.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteBotReplicaMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBotReplicaValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DeleteBotVersion.go b/service/lexmodelsv2/api_op_DeleteBotVersion.go index a095ed18bda..dadb9d006a3 100644 --- a/service/lexmodelsv2/api_op_DeleteBotVersion.go +++ b/service/lexmodelsv2/api_op_DeleteBotVersion.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDeleteBotVersionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBotVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DeleteCustomVocabulary.go b/service/lexmodelsv2/api_op_DeleteCustomVocabulary.go index bfac59cb52d..1fc9c7ea289 100644 --- a/service/lexmodelsv2/api_op_DeleteCustomVocabulary.go +++ b/service/lexmodelsv2/api_op_DeleteCustomVocabulary.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDeleteCustomVocabularyMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCustomVocabularyValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DeleteExport.go b/service/lexmodelsv2/api_op_DeleteExport.go index d74b9818b19..e511e47c300 100644 --- a/service/lexmodelsv2/api_op_DeleteExport.go +++ b/service/lexmodelsv2/api_op_DeleteExport.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteExportMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteExportValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DeleteImport.go b/service/lexmodelsv2/api_op_DeleteImport.go index 34158cca6da..59222a248aa 100644 --- a/service/lexmodelsv2/api_op_DeleteImport.go +++ b/service/lexmodelsv2/api_op_DeleteImport.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteImportMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteImportValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DeleteIntent.go b/service/lexmodelsv2/api_op_DeleteIntent.go index dad31d74508..d8f2ce650e6 100644 --- a/service/lexmodelsv2/api_op_DeleteIntent.go +++ b/service/lexmodelsv2/api_op_DeleteIntent.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDeleteIntentMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIntentValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DeleteResourcePolicy.go b/service/lexmodelsv2/api_op_DeleteResourcePolicy.go index cd1945678ed..fc90e7074b9 100644 --- a/service/lexmodelsv2/api_op_DeleteResourcePolicy.go +++ b/service/lexmodelsv2/api_op_DeleteResourcePolicy.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DeleteResourcePolicyStatement.go b/service/lexmodelsv2/api_op_DeleteResourcePolicyStatement.go index bb7fe1746a9..42fd738723c 100644 --- a/service/lexmodelsv2/api_op_DeleteResourcePolicyStatement.go +++ b/service/lexmodelsv2/api_op_DeleteResourcePolicyStatement.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDeleteResourcePolicyStatementMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourcePolicyStatementValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DeleteSlot.go b/service/lexmodelsv2/api_op_DeleteSlot.go index d7b0934879b..52cdedf93e2 100644 --- a/service/lexmodelsv2/api_op_DeleteSlot.go +++ b/service/lexmodelsv2/api_op_DeleteSlot.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDeleteSlotMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSlotValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DeleteSlotType.go b/service/lexmodelsv2/api_op_DeleteSlotType.go index b55b0ebfb18..e066469aab9 100644 --- a/service/lexmodelsv2/api_op_DeleteSlotType.go +++ b/service/lexmodelsv2/api_op_DeleteSlotType.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDeleteSlotTypeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSlotTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DeleteTestSet.go b/service/lexmodelsv2/api_op_DeleteTestSet.go index d52a33d98ae..b6ee61a7238 100644 --- a/service/lexmodelsv2/api_op_DeleteTestSet.go +++ b/service/lexmodelsv2/api_op_DeleteTestSet.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteTestSetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTestSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DeleteUtterances.go b/service/lexmodelsv2/api_op_DeleteUtterances.go index 97001d8174e..2f7d7a91375 100644 --- a/service/lexmodelsv2/api_op_DeleteUtterances.go +++ b/service/lexmodelsv2/api_op_DeleteUtterances.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDeleteUtterancesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUtterancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DescribeBot.go b/service/lexmodelsv2/api_op_DescribeBot.go index 6387ff3eb5d..d1ccf4862e6 100644 --- a/service/lexmodelsv2/api_op_DescribeBot.go +++ b/service/lexmodelsv2/api_op_DescribeBot.go @@ -152,9 +152,6 @@ func (c *Client) addOperationDescribeBotMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBotValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DescribeBotAlias.go b/service/lexmodelsv2/api_op_DescribeBotAlias.go index cd1a3942b24..3d953215098 100644 --- a/service/lexmodelsv2/api_op_DescribeBotAlias.go +++ b/service/lexmodelsv2/api_op_DescribeBotAlias.go @@ -160,9 +160,6 @@ func (c *Client) addOperationDescribeBotAliasMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBotAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DescribeBotLocale.go b/service/lexmodelsv2/api_op_DescribeBotLocale.go index 33a393c7b37..3754c141139 100644 --- a/service/lexmodelsv2/api_op_DescribeBotLocale.go +++ b/service/lexmodelsv2/api_op_DescribeBotLocale.go @@ -182,9 +182,6 @@ func (c *Client) addOperationDescribeBotLocaleMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBotLocaleValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DescribeBotRecommendation.go b/service/lexmodelsv2/api_op_DescribeBotRecommendation.go index bff7b595281..27c21bb8a2f 100644 --- a/service/lexmodelsv2/api_op_DescribeBotRecommendation.go +++ b/service/lexmodelsv2/api_op_DescribeBotRecommendation.go @@ -171,9 +171,6 @@ func (c *Client) addOperationDescribeBotRecommendationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBotRecommendationValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DescribeBotReplica.go b/service/lexmodelsv2/api_op_DescribeBotReplica.go index 6acd8fee98a..c0ae07683b1 100644 --- a/service/lexmodelsv2/api_op_DescribeBotReplica.go +++ b/service/lexmodelsv2/api_op_DescribeBotReplica.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeBotReplicaMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBotReplicaValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DescribeBotResourceGeneration.go b/service/lexmodelsv2/api_op_DescribeBotResourceGeneration.go index 830c7c85889..88642a478b3 100644 --- a/service/lexmodelsv2/api_op_DescribeBotResourceGeneration.go +++ b/service/lexmodelsv2/api_op_DescribeBotResourceGeneration.go @@ -163,9 +163,6 @@ func (c *Client) addOperationDescribeBotResourceGenerationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBotResourceGenerationValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DescribeBotVersion.go b/service/lexmodelsv2/api_op_DescribeBotVersion.go index 32da177b422..63b15177ef5 100644 --- a/service/lexmodelsv2/api_op_DescribeBotVersion.go +++ b/service/lexmodelsv2/api_op_DescribeBotVersion.go @@ -161,9 +161,6 @@ func (c *Client) addOperationDescribeBotVersionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBotVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DescribeCustomVocabularyMetadata.go b/service/lexmodelsv2/api_op_DescribeCustomVocabularyMetadata.go index e2fb2e90eed..9117d4888ae 100644 --- a/service/lexmodelsv2/api_op_DescribeCustomVocabularyMetadata.go +++ b/service/lexmodelsv2/api_op_DescribeCustomVocabularyMetadata.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDescribeCustomVocabularyMetadataMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCustomVocabularyMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DescribeExport.go b/service/lexmodelsv2/api_op_DescribeExport.go index 60c27ae1c98..c120516b636 100644 --- a/service/lexmodelsv2/api_op_DescribeExport.go +++ b/service/lexmodelsv2/api_op_DescribeExport.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDescribeExportMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeExportValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DescribeImport.go b/service/lexmodelsv2/api_op_DescribeImport.go index f912eb2f1ef..2637af7119c 100644 --- a/service/lexmodelsv2/api_op_DescribeImport.go +++ b/service/lexmodelsv2/api_op_DescribeImport.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDescribeImportMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeImportValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DescribeIntent.go b/service/lexmodelsv2/api_op_DescribeIntent.go index 7a75eca4efa..c025a24bf08 100644 --- a/service/lexmodelsv2/api_op_DescribeIntent.go +++ b/service/lexmodelsv2/api_op_DescribeIntent.go @@ -192,9 +192,6 @@ func (c *Client) addOperationDescribeIntentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeIntentValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DescribeResourcePolicy.go b/service/lexmodelsv2/api_op_DescribeResourcePolicy.go index 7fabc4c78f8..fa9afc08141 100644 --- a/service/lexmodelsv2/api_op_DescribeResourcePolicy.go +++ b/service/lexmodelsv2/api_op_DescribeResourcePolicy.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeResourcePolicyMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DescribeSlot.go b/service/lexmodelsv2/api_op_DescribeSlot.go index 81518e80c75..50a1905eb40 100644 --- a/service/lexmodelsv2/api_op_DescribeSlot.go +++ b/service/lexmodelsv2/api_op_DescribeSlot.go @@ -180,9 +180,6 @@ func (c *Client) addOperationDescribeSlotMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSlotValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DescribeSlotType.go b/service/lexmodelsv2/api_op_DescribeSlotType.go index 7edf5f0ced9..ec630ddaf36 100644 --- a/service/lexmodelsv2/api_op_DescribeSlotType.go +++ b/service/lexmodelsv2/api_op_DescribeSlotType.go @@ -169,9 +169,6 @@ func (c *Client) addOperationDescribeSlotTypeMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSlotTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DescribeTestExecution.go b/service/lexmodelsv2/api_op_DescribeTestExecution.go index 6f0f35066fe..db4bca47309 100644 --- a/service/lexmodelsv2/api_op_DescribeTestExecution.go +++ b/service/lexmodelsv2/api_op_DescribeTestExecution.go @@ -143,9 +143,6 @@ func (c *Client) addOperationDescribeTestExecutionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTestExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DescribeTestSet.go b/service/lexmodelsv2/api_op_DescribeTestSet.go index d08dc810ac1..e8c539068b5 100644 --- a/service/lexmodelsv2/api_op_DescribeTestSet.go +++ b/service/lexmodelsv2/api_op_DescribeTestSet.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeTestSetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTestSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DescribeTestSetDiscrepancyReport.go b/service/lexmodelsv2/api_op_DescribeTestSetDiscrepancyReport.go index 240e656c8eb..e3983f7d661 100644 --- a/service/lexmodelsv2/api_op_DescribeTestSetDiscrepancyReport.go +++ b/service/lexmodelsv2/api_op_DescribeTestSetDiscrepancyReport.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDescribeTestSetDiscrepancyReportMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTestSetDiscrepancyReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_DescribeTestSetGeneration.go b/service/lexmodelsv2/api_op_DescribeTestSetGeneration.go index b883aecdd0c..60a4b3a32e5 100644 --- a/service/lexmodelsv2/api_op_DescribeTestSetGeneration.go +++ b/service/lexmodelsv2/api_op_DescribeTestSetGeneration.go @@ -143,9 +143,6 @@ func (c *Client) addOperationDescribeTestSetGenerationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTestSetGenerationValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_GenerateBotElement.go b/service/lexmodelsv2/api_op_GenerateBotElement.go index acaa8e17709..1a7fa83c5f1 100644 --- a/service/lexmodelsv2/api_op_GenerateBotElement.go +++ b/service/lexmodelsv2/api_op_GenerateBotElement.go @@ -139,9 +139,6 @@ func (c *Client) addOperationGenerateBotElementMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGenerateBotElementValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_GetTestExecutionArtifactsUrl.go b/service/lexmodelsv2/api_op_GetTestExecutionArtifactsUrl.go index b950214f579..77231874b0c 100644 --- a/service/lexmodelsv2/api_op_GetTestExecutionArtifactsUrl.go +++ b/service/lexmodelsv2/api_op_GetTestExecutionArtifactsUrl.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetTestExecutionArtifactsUrlMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTestExecutionArtifactsUrlValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListAggregatedUtterances.go b/service/lexmodelsv2/api_op_ListAggregatedUtterances.go index ecb467dbccc..8a1e4da4a93 100644 --- a/service/lexmodelsv2/api_op_ListAggregatedUtterances.go +++ b/service/lexmodelsv2/api_op_ListAggregatedUtterances.go @@ -220,9 +220,6 @@ func (c *Client) addOperationListAggregatedUtterancesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAggregatedUtterancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListBotAliasReplicas.go b/service/lexmodelsv2/api_op_ListBotAliasReplicas.go index 945162378ae..d18a600429b 100644 --- a/service/lexmodelsv2/api_op_ListBotAliasReplicas.go +++ b/service/lexmodelsv2/api_op_ListBotAliasReplicas.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListBotAliasReplicasMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBotAliasReplicasValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListBotAliases.go b/service/lexmodelsv2/api_op_ListBotAliases.go index a1370c2f8b9..db23290a185 100644 --- a/service/lexmodelsv2/api_op_ListBotAliases.go +++ b/service/lexmodelsv2/api_op_ListBotAliases.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListBotAliasesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBotAliasesValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListBotLocales.go b/service/lexmodelsv2/api_op_ListBotLocales.go index 12d9dbe125c..c5e40a77aab 100644 --- a/service/lexmodelsv2/api_op_ListBotLocales.go +++ b/service/lexmodelsv2/api_op_ListBotLocales.go @@ -151,9 +151,6 @@ func (c *Client) addOperationListBotLocalesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBotLocalesValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListBotRecommendations.go b/service/lexmodelsv2/api_op_ListBotRecommendations.go index 347b7b68383..b922e21def6 100644 --- a/service/lexmodelsv2/api_op_ListBotRecommendations.go +++ b/service/lexmodelsv2/api_op_ListBotRecommendations.go @@ -150,9 +150,6 @@ func (c *Client) addOperationListBotRecommendationsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBotRecommendationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListBotReplicas.go b/service/lexmodelsv2/api_op_ListBotReplicas.go index afeb7d53b7c..567890f2126 100644 --- a/service/lexmodelsv2/api_op_ListBotReplicas.go +++ b/service/lexmodelsv2/api_op_ListBotReplicas.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListBotReplicasMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBotReplicasValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListBotResourceGenerations.go b/service/lexmodelsv2/api_op_ListBotResourceGenerations.go index 23ab0d755d9..daad68d03e9 100644 --- a/service/lexmodelsv2/api_op_ListBotResourceGenerations.go +++ b/service/lexmodelsv2/api_op_ListBotResourceGenerations.go @@ -149,9 +149,6 @@ func (c *Client) addOperationListBotResourceGenerationsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBotResourceGenerationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListBotVersionReplicas.go b/service/lexmodelsv2/api_op_ListBotVersionReplicas.go index 80fe85f957a..870bfb2934d 100644 --- a/service/lexmodelsv2/api_op_ListBotVersionReplicas.go +++ b/service/lexmodelsv2/api_op_ListBotVersionReplicas.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListBotVersionReplicasMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBotVersionReplicasValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListBotVersions.go b/service/lexmodelsv2/api_op_ListBotVersions.go index ef669da517a..4998bba52af 100644 --- a/service/lexmodelsv2/api_op_ListBotVersions.go +++ b/service/lexmodelsv2/api_op_ListBotVersions.go @@ -146,9 +146,6 @@ func (c *Client) addOperationListBotVersionsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBotVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListBots.go b/service/lexmodelsv2/api_op_ListBots.go index ba6eec2ee93..e3d46b090fc 100644 --- a/service/lexmodelsv2/api_op_ListBots.go +++ b/service/lexmodelsv2/api_op_ListBots.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListBotsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBotsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListBuiltInIntents.go b/service/lexmodelsv2/api_op_ListBuiltInIntents.go index 804d1dd3e84..dac70de2b0a 100644 --- a/service/lexmodelsv2/api_op_ListBuiltInIntents.go +++ b/service/lexmodelsv2/api_op_ListBuiltInIntents.go @@ -150,9 +150,6 @@ func (c *Client) addOperationListBuiltInIntentsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBuiltInIntentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListBuiltInSlotTypes.go b/service/lexmodelsv2/api_op_ListBuiltInSlotTypes.go index 6ce97b14544..238dac16495 100644 --- a/service/lexmodelsv2/api_op_ListBuiltInSlotTypes.go +++ b/service/lexmodelsv2/api_op_ListBuiltInSlotTypes.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListBuiltInSlotTypesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBuiltInSlotTypesValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListCustomVocabularyItems.go b/service/lexmodelsv2/api_op_ListCustomVocabularyItems.go index 702c0065c41..e72f7f793a5 100644 --- a/service/lexmodelsv2/api_op_ListCustomVocabularyItems.go +++ b/service/lexmodelsv2/api_op_ListCustomVocabularyItems.go @@ -147,9 +147,6 @@ func (c *Client) addOperationListCustomVocabularyItemsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCustomVocabularyItemsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListExports.go b/service/lexmodelsv2/api_op_ListExports.go index 9a3d88bc556..bebeda1a527 100644 --- a/service/lexmodelsv2/api_op_ListExports.go +++ b/service/lexmodelsv2/api_op_ListExports.go @@ -159,9 +159,6 @@ func (c *Client) addOperationListExportsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListExportsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListImports.go b/service/lexmodelsv2/api_op_ListImports.go index 7145560472e..3ad0c05c333 100644 --- a/service/lexmodelsv2/api_op_ListImports.go +++ b/service/lexmodelsv2/api_op_ListImports.go @@ -159,9 +159,6 @@ func (c *Client) addOperationListImportsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListImportsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListIntentMetrics.go b/service/lexmodelsv2/api_op_ListIntentMetrics.go index 9fc49fa1aa4..4eb90a0527f 100644 --- a/service/lexmodelsv2/api_op_ListIntentMetrics.go +++ b/service/lexmodelsv2/api_op_ListIntentMetrics.go @@ -201,9 +201,6 @@ func (c *Client) addOperationListIntentMetricsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIntentMetricsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListIntentPaths.go b/service/lexmodelsv2/api_op_ListIntentPaths.go index d596292692b..d4f472e343c 100644 --- a/service/lexmodelsv2/api_op_ListIntentPaths.go +++ b/service/lexmodelsv2/api_op_ListIntentPaths.go @@ -153,9 +153,6 @@ func (c *Client) addOperationListIntentPathsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIntentPathsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListIntentStageMetrics.go b/service/lexmodelsv2/api_op_ListIntentStageMetrics.go index f1d9d61a269..b78ffe6e2b4 100644 --- a/service/lexmodelsv2/api_op_ListIntentStageMetrics.go +++ b/service/lexmodelsv2/api_op_ListIntentStageMetrics.go @@ -199,9 +199,6 @@ func (c *Client) addOperationListIntentStageMetricsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIntentStageMetricsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListIntents.go b/service/lexmodelsv2/api_op_ListIntents.go index b523ac50c66..59b1a42e93e 100644 --- a/service/lexmodelsv2/api_op_ListIntents.go +++ b/service/lexmodelsv2/api_op_ListIntents.go @@ -166,9 +166,6 @@ func (c *Client) addOperationListIntentsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIntentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListRecommendedIntents.go b/service/lexmodelsv2/api_op_ListRecommendedIntents.go index 1d6aefde998..bef957723cc 100644 --- a/service/lexmodelsv2/api_op_ListRecommendedIntents.go +++ b/service/lexmodelsv2/api_op_ListRecommendedIntents.go @@ -162,9 +162,6 @@ func (c *Client) addOperationListRecommendedIntentsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRecommendedIntentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListSessionAnalyticsData.go b/service/lexmodelsv2/api_op_ListSessionAnalyticsData.go index 369bf5e2a83..d91d3ba7188 100644 --- a/service/lexmodelsv2/api_op_ListSessionAnalyticsData.go +++ b/service/lexmodelsv2/api_op_ListSessionAnalyticsData.go @@ -172,9 +172,6 @@ func (c *Client) addOperationListSessionAnalyticsDataMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSessionAnalyticsDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListSessionMetrics.go b/service/lexmodelsv2/api_op_ListSessionMetrics.go index 12c49bf686b..1b4c95e7c3e 100644 --- a/service/lexmodelsv2/api_op_ListSessionMetrics.go +++ b/service/lexmodelsv2/api_op_ListSessionMetrics.go @@ -201,9 +201,6 @@ func (c *Client) addOperationListSessionMetricsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSessionMetricsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListSlotTypes.go b/service/lexmodelsv2/api_op_ListSlotTypes.go index ff07700b53d..91292c2fea0 100644 --- a/service/lexmodelsv2/api_op_ListSlotTypes.go +++ b/service/lexmodelsv2/api_op_ListSlotTypes.go @@ -163,9 +163,6 @@ func (c *Client) addOperationListSlotTypesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSlotTypesValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListSlots.go b/service/lexmodelsv2/api_op_ListSlots.go index f224323e0e9..3f2f2f23f0f 100644 --- a/service/lexmodelsv2/api_op_ListSlots.go +++ b/service/lexmodelsv2/api_op_ListSlots.go @@ -171,9 +171,6 @@ func (c *Client) addOperationListSlotsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSlotsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListTagsForResource.go b/service/lexmodelsv2/api_op_ListTagsForResource.go index e74b012487f..ce019a4118d 100644 --- a/service/lexmodelsv2/api_op_ListTagsForResource.go +++ b/service/lexmodelsv2/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListTestExecutionResultItems.go b/service/lexmodelsv2/api_op_ListTestExecutionResultItems.go index 24ea740f0b7..339fc92557d 100644 --- a/service/lexmodelsv2/api_op_ListTestExecutionResultItems.go +++ b/service/lexmodelsv2/api_op_ListTestExecutionResultItems.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListTestExecutionResultItemsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTestExecutionResultItemsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListTestExecutions.go b/service/lexmodelsv2/api_op_ListTestExecutions.go index 01a0218803b..84c7c9e60fe 100644 --- a/service/lexmodelsv2/api_op_ListTestExecutions.go +++ b/service/lexmodelsv2/api_op_ListTestExecutions.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListTestExecutionsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTestExecutionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListTestSetRecords.go b/service/lexmodelsv2/api_op_ListTestSetRecords.go index 91a99c86cfa..6db53689858 100644 --- a/service/lexmodelsv2/api_op_ListTestSetRecords.go +++ b/service/lexmodelsv2/api_op_ListTestSetRecords.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListTestSetRecordsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTestSetRecordsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListTestSets.go b/service/lexmodelsv2/api_op_ListTestSets.go index de478fee5fd..ba2cf5e9e9b 100644 --- a/service/lexmodelsv2/api_op_ListTestSets.go +++ b/service/lexmodelsv2/api_op_ListTestSets.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListTestSetsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTestSetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListUtteranceAnalyticsData.go b/service/lexmodelsv2/api_op_ListUtteranceAnalyticsData.go index 4aaa96b6de1..4352699756b 100644 --- a/service/lexmodelsv2/api_op_ListUtteranceAnalyticsData.go +++ b/service/lexmodelsv2/api_op_ListUtteranceAnalyticsData.go @@ -182,9 +182,6 @@ func (c *Client) addOperationListUtteranceAnalyticsDataMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListUtteranceAnalyticsDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_ListUtteranceMetrics.go b/service/lexmodelsv2/api_op_ListUtteranceMetrics.go index fd5f869f83e..aa3cb4d3b94 100644 --- a/service/lexmodelsv2/api_op_ListUtteranceMetrics.go +++ b/service/lexmodelsv2/api_op_ListUtteranceMetrics.go @@ -213,9 +213,6 @@ func (c *Client) addOperationListUtteranceMetricsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListUtteranceMetricsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_SearchAssociatedTranscripts.go b/service/lexmodelsv2/api_op_SearchAssociatedTranscripts.go index 6a4c5743b38..cc756924c41 100644 --- a/service/lexmodelsv2/api_op_SearchAssociatedTranscripts.go +++ b/service/lexmodelsv2/api_op_SearchAssociatedTranscripts.go @@ -179,9 +179,6 @@ func (c *Client) addOperationSearchAssociatedTranscriptsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchAssociatedTranscriptsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_StartBotRecommendation.go b/service/lexmodelsv2/api_op_StartBotRecommendation.go index 0203056b08e..2bf01eafcc2 100644 --- a/service/lexmodelsv2/api_op_StartBotRecommendation.go +++ b/service/lexmodelsv2/api_op_StartBotRecommendation.go @@ -168,9 +168,6 @@ func (c *Client) addOperationStartBotRecommendationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartBotRecommendationValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_StartBotResourceGeneration.go b/service/lexmodelsv2/api_op_StartBotResourceGeneration.go index 2c726b73f84..54ef54b1e8d 100644 --- a/service/lexmodelsv2/api_op_StartBotResourceGeneration.go +++ b/service/lexmodelsv2/api_op_StartBotResourceGeneration.go @@ -154,9 +154,6 @@ func (c *Client) addOperationStartBotResourceGenerationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartBotResourceGenerationValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_StartImport.go b/service/lexmodelsv2/api_op_StartImport.go index 2e56728e725..558513a063b 100644 --- a/service/lexmodelsv2/api_op_StartImport.go +++ b/service/lexmodelsv2/api_op_StartImport.go @@ -149,9 +149,6 @@ func (c *Client) addOperationStartImportMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartImportValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_StartTestExecution.go b/service/lexmodelsv2/api_op_StartTestExecution.go index 7ec863efa65..0f0139697de 100644 --- a/service/lexmodelsv2/api_op_StartTestExecution.go +++ b/service/lexmodelsv2/api_op_StartTestExecution.go @@ -147,9 +147,6 @@ func (c *Client) addOperationStartTestExecutionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartTestExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_StartTestSetGeneration.go b/service/lexmodelsv2/api_op_StartTestSetGeneration.go index ef887630461..32760b7f40b 100644 --- a/service/lexmodelsv2/api_op_StartTestSetGeneration.go +++ b/service/lexmodelsv2/api_op_StartTestSetGeneration.go @@ -162,9 +162,6 @@ func (c *Client) addOperationStartTestSetGenerationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartTestSetGenerationValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_StopBotRecommendation.go b/service/lexmodelsv2/api_op_StopBotRecommendation.go index 7babaf82d29..3f6ae5ad242 100644 --- a/service/lexmodelsv2/api_op_StopBotRecommendation.go +++ b/service/lexmodelsv2/api_op_StopBotRecommendation.go @@ -148,9 +148,6 @@ func (c *Client) addOperationStopBotRecommendationMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopBotRecommendationValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_TagResource.go b/service/lexmodelsv2/api_op_TagResource.go index 878c1685827..30b1a201b7d 100644 --- a/service/lexmodelsv2/api_op_TagResource.go +++ b/service/lexmodelsv2/api_op_TagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_UntagResource.go b/service/lexmodelsv2/api_op_UntagResource.go index 8229f88e439..7d1957d8b29 100644 --- a/service/lexmodelsv2/api_op_UntagResource.go +++ b/service/lexmodelsv2/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_UpdateBot.go b/service/lexmodelsv2/api_op_UpdateBot.go index ab6f705ec47..7ca67546607 100644 --- a/service/lexmodelsv2/api_op_UpdateBot.go +++ b/service/lexmodelsv2/api_op_UpdateBot.go @@ -187,9 +187,6 @@ func (c *Client) addOperationUpdateBotMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBotValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_UpdateBotAlias.go b/service/lexmodelsv2/api_op_UpdateBotAlias.go index 95efda3f59c..f31df1eaabe 100644 --- a/service/lexmodelsv2/api_op_UpdateBotAlias.go +++ b/service/lexmodelsv2/api_op_UpdateBotAlias.go @@ -173,9 +173,6 @@ func (c *Client) addOperationUpdateBotAliasMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBotAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_UpdateBotLocale.go b/service/lexmodelsv2/api_op_UpdateBotLocale.go index f5d2886003f..d13d3037234 100644 --- a/service/lexmodelsv2/api_op_UpdateBotLocale.go +++ b/service/lexmodelsv2/api_op_UpdateBotLocale.go @@ -187,9 +187,6 @@ func (c *Client) addOperationUpdateBotLocaleMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBotLocaleValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_UpdateBotRecommendation.go b/service/lexmodelsv2/api_op_UpdateBotRecommendation.go index f5e9b88fe52..7350e739866 100644 --- a/service/lexmodelsv2/api_op_UpdateBotRecommendation.go +++ b/service/lexmodelsv2/api_op_UpdateBotRecommendation.go @@ -173,9 +173,6 @@ func (c *Client) addOperationUpdateBotRecommendationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBotRecommendationValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_UpdateExport.go b/service/lexmodelsv2/api_op_UpdateExport.go index b342b2f3f96..87cb424be2b 100644 --- a/service/lexmodelsv2/api_op_UpdateExport.go +++ b/service/lexmodelsv2/api_op_UpdateExport.go @@ -140,9 +140,6 @@ func (c *Client) addOperationUpdateExportMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateExportValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_UpdateIntent.go b/service/lexmodelsv2/api_op_UpdateIntent.go index e1b4db9fc73..8d33d671ccd 100644 --- a/service/lexmodelsv2/api_op_UpdateIntent.go +++ b/service/lexmodelsv2/api_op_UpdateIntent.go @@ -247,9 +247,6 @@ func (c *Client) addOperationUpdateIntentMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateIntentValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_UpdateResourcePolicy.go b/service/lexmodelsv2/api_op_UpdateResourcePolicy.go index ba8901d0b64..1654498ff1f 100644 --- a/service/lexmodelsv2/api_op_UpdateResourcePolicy.go +++ b/service/lexmodelsv2/api_op_UpdateResourcePolicy.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateResourcePolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_UpdateSlot.go b/service/lexmodelsv2/api_op_UpdateSlot.go index db1514797cb..0bcf9ed73d4 100644 --- a/service/lexmodelsv2/api_op_UpdateSlot.go +++ b/service/lexmodelsv2/api_op_UpdateSlot.go @@ -210,9 +210,6 @@ func (c *Client) addOperationUpdateSlotMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSlotValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_UpdateSlotType.go b/service/lexmodelsv2/api_op_UpdateSlotType.go index 12df6fe3680..16f39898f3f 100644 --- a/service/lexmodelsv2/api_op_UpdateSlotType.go +++ b/service/lexmodelsv2/api_op_UpdateSlotType.go @@ -194,9 +194,6 @@ func (c *Client) addOperationUpdateSlotTypeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSlotTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/api_op_UpdateTestSet.go b/service/lexmodelsv2/api_op_UpdateTestSet.go index 9e40882b527..7cc6a8a1a7f 100644 --- a/service/lexmodelsv2/api_op_UpdateTestSet.go +++ b/service/lexmodelsv2/api_op_UpdateTestSet.go @@ -149,9 +149,6 @@ func (c *Client) addOperationUpdateTestSetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTestSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexmodelsv2/snapshot/api_op_BatchCreateCustomVocabularyItem.go.snap b/service/lexmodelsv2/snapshot/api_op_BatchCreateCustomVocabularyItem.go.snap index acdf911d108..d823dc6097f 100644 --- a/service/lexmodelsv2/snapshot/api_op_BatchCreateCustomVocabularyItem.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_BatchCreateCustomVocabularyItem.go.snap @@ -14,7 +14,6 @@ BatchCreateCustomVocabularyItem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_BatchDeleteCustomVocabularyItem.go.snap b/service/lexmodelsv2/snapshot/api_op_BatchDeleteCustomVocabularyItem.go.snap index adee7561c70..f2ac4df9818 100644 --- a/service/lexmodelsv2/snapshot/api_op_BatchDeleteCustomVocabularyItem.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_BatchDeleteCustomVocabularyItem.go.snap @@ -14,7 +14,6 @@ BatchDeleteCustomVocabularyItem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_BatchUpdateCustomVocabularyItem.go.snap b/service/lexmodelsv2/snapshot/api_op_BatchUpdateCustomVocabularyItem.go.snap index a6f9dc48162..5b807891147 100644 --- a/service/lexmodelsv2/snapshot/api_op_BatchUpdateCustomVocabularyItem.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_BatchUpdateCustomVocabularyItem.go.snap @@ -14,7 +14,6 @@ BatchUpdateCustomVocabularyItem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_BuildBotLocale.go.snap b/service/lexmodelsv2/snapshot/api_op_BuildBotLocale.go.snap index 46228c876ac..d72c2183cb5 100644 --- a/service/lexmodelsv2/snapshot/api_op_BuildBotLocale.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_BuildBotLocale.go.snap @@ -14,7 +14,6 @@ BuildBotLocale Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_CreateBot.go.snap b/service/lexmodelsv2/snapshot/api_op_CreateBot.go.snap index e3c216f8242..1d541e032a1 100644 --- a/service/lexmodelsv2/snapshot/api_op_CreateBot.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_CreateBot.go.snap @@ -14,7 +14,6 @@ CreateBot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_CreateBotAlias.go.snap b/service/lexmodelsv2/snapshot/api_op_CreateBotAlias.go.snap index d25fd70e66e..d1b464e6a28 100644 --- a/service/lexmodelsv2/snapshot/api_op_CreateBotAlias.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_CreateBotAlias.go.snap @@ -14,7 +14,6 @@ CreateBotAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_CreateBotLocale.go.snap b/service/lexmodelsv2/snapshot/api_op_CreateBotLocale.go.snap index 6484a4bfbec..099a901eb4a 100644 --- a/service/lexmodelsv2/snapshot/api_op_CreateBotLocale.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_CreateBotLocale.go.snap @@ -14,7 +14,6 @@ CreateBotLocale Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_CreateBotReplica.go.snap b/service/lexmodelsv2/snapshot/api_op_CreateBotReplica.go.snap index 6e759477af3..73f32f46277 100644 --- a/service/lexmodelsv2/snapshot/api_op_CreateBotReplica.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_CreateBotReplica.go.snap @@ -14,7 +14,6 @@ CreateBotReplica Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_CreateBotVersion.go.snap b/service/lexmodelsv2/snapshot/api_op_CreateBotVersion.go.snap index 0eff2eaaa04..81d4d5a029b 100644 --- a/service/lexmodelsv2/snapshot/api_op_CreateBotVersion.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_CreateBotVersion.go.snap @@ -14,7 +14,6 @@ CreateBotVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_CreateExport.go.snap b/service/lexmodelsv2/snapshot/api_op_CreateExport.go.snap index b63e4ceda82..39d6a3ea6dc 100644 --- a/service/lexmodelsv2/snapshot/api_op_CreateExport.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_CreateExport.go.snap @@ -14,7 +14,6 @@ CreateExport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_CreateIntent.go.snap b/service/lexmodelsv2/snapshot/api_op_CreateIntent.go.snap index f8c5559cd8f..8aaa3eb6958 100644 --- a/service/lexmodelsv2/snapshot/api_op_CreateIntent.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_CreateIntent.go.snap @@ -14,7 +14,6 @@ CreateIntent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_CreateResourcePolicy.go.snap b/service/lexmodelsv2/snapshot/api_op_CreateResourcePolicy.go.snap index 441c62cc0a9..02660204e89 100644 --- a/service/lexmodelsv2/snapshot/api_op_CreateResourcePolicy.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_CreateResourcePolicy.go.snap @@ -14,7 +14,6 @@ CreateResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_CreateResourcePolicyStatement.go.snap b/service/lexmodelsv2/snapshot/api_op_CreateResourcePolicyStatement.go.snap index 5f4ed802da2..bb388bc73d1 100644 --- a/service/lexmodelsv2/snapshot/api_op_CreateResourcePolicyStatement.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_CreateResourcePolicyStatement.go.snap @@ -14,7 +14,6 @@ CreateResourcePolicyStatement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_CreateSlot.go.snap b/service/lexmodelsv2/snapshot/api_op_CreateSlot.go.snap index 8045cfa284e..64b1b534e49 100644 --- a/service/lexmodelsv2/snapshot/api_op_CreateSlot.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_CreateSlot.go.snap @@ -14,7 +14,6 @@ CreateSlot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_CreateSlotType.go.snap b/service/lexmodelsv2/snapshot/api_op_CreateSlotType.go.snap index 8f4cba318b6..1bb2b03b9fc 100644 --- a/service/lexmodelsv2/snapshot/api_op_CreateSlotType.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_CreateSlotType.go.snap @@ -14,7 +14,6 @@ CreateSlotType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_CreateTestSetDiscrepancyReport.go.snap b/service/lexmodelsv2/snapshot/api_op_CreateTestSetDiscrepancyReport.go.snap index cf6be4df565..6e405723cad 100644 --- a/service/lexmodelsv2/snapshot/api_op_CreateTestSetDiscrepancyReport.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_CreateTestSetDiscrepancyReport.go.snap @@ -14,7 +14,6 @@ CreateTestSetDiscrepancyReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_CreateUploadUrl.go.snap b/service/lexmodelsv2/snapshot/api_op_CreateUploadUrl.go.snap index 958154967e0..93758e0c8fb 100644 --- a/service/lexmodelsv2/snapshot/api_op_CreateUploadUrl.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_CreateUploadUrl.go.snap @@ -13,7 +13,6 @@ CreateUploadUrl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_DeleteBot.go.snap b/service/lexmodelsv2/snapshot/api_op_DeleteBot.go.snap index 82c5217bb4b..5127075b080 100644 --- a/service/lexmodelsv2/snapshot/api_op_DeleteBot.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_DeleteBot.go.snap @@ -14,7 +14,6 @@ DeleteBot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_DeleteBotAlias.go.snap b/service/lexmodelsv2/snapshot/api_op_DeleteBotAlias.go.snap index c850cf915df..8671cbc57f6 100644 --- a/service/lexmodelsv2/snapshot/api_op_DeleteBotAlias.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_DeleteBotAlias.go.snap @@ -14,7 +14,6 @@ DeleteBotAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_DeleteBotLocale.go.snap b/service/lexmodelsv2/snapshot/api_op_DeleteBotLocale.go.snap index 6f4bc8353ce..a9d5d1a98b2 100644 --- a/service/lexmodelsv2/snapshot/api_op_DeleteBotLocale.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_DeleteBotLocale.go.snap @@ -14,7 +14,6 @@ DeleteBotLocale Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_DeleteBotReplica.go.snap b/service/lexmodelsv2/snapshot/api_op_DeleteBotReplica.go.snap index 7fea7b013e5..10be17a7495 100644 --- a/service/lexmodelsv2/snapshot/api_op_DeleteBotReplica.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_DeleteBotReplica.go.snap @@ -14,7 +14,6 @@ DeleteBotReplica Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_DeleteBotVersion.go.snap b/service/lexmodelsv2/snapshot/api_op_DeleteBotVersion.go.snap index bdca88e9cbe..0238fadce92 100644 --- a/service/lexmodelsv2/snapshot/api_op_DeleteBotVersion.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_DeleteBotVersion.go.snap @@ -14,7 +14,6 @@ DeleteBotVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_DeleteCustomVocabulary.go.snap b/service/lexmodelsv2/snapshot/api_op_DeleteCustomVocabulary.go.snap index fda87158967..e3f1802afb8 100644 --- a/service/lexmodelsv2/snapshot/api_op_DeleteCustomVocabulary.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_DeleteCustomVocabulary.go.snap @@ -14,7 +14,6 @@ DeleteCustomVocabulary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_DeleteExport.go.snap b/service/lexmodelsv2/snapshot/api_op_DeleteExport.go.snap index fcf195f2461..7625b46ee8f 100644 --- a/service/lexmodelsv2/snapshot/api_op_DeleteExport.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_DeleteExport.go.snap @@ -14,7 +14,6 @@ DeleteExport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_DeleteImport.go.snap b/service/lexmodelsv2/snapshot/api_op_DeleteImport.go.snap index b98ee43babe..0e65356f4e2 100644 --- a/service/lexmodelsv2/snapshot/api_op_DeleteImport.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_DeleteImport.go.snap @@ -14,7 +14,6 @@ DeleteImport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_DeleteIntent.go.snap b/service/lexmodelsv2/snapshot/api_op_DeleteIntent.go.snap index 5b05662daec..66bf58e74f0 100644 --- a/service/lexmodelsv2/snapshot/api_op_DeleteIntent.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_DeleteIntent.go.snap @@ -14,7 +14,6 @@ DeleteIntent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_DeleteResourcePolicy.go.snap b/service/lexmodelsv2/snapshot/api_op_DeleteResourcePolicy.go.snap index 21dbc8dfcde..9948d797360 100644 --- a/service/lexmodelsv2/snapshot/api_op_DeleteResourcePolicy.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_DeleteResourcePolicy.go.snap @@ -14,7 +14,6 @@ DeleteResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_DeleteResourcePolicyStatement.go.snap b/service/lexmodelsv2/snapshot/api_op_DeleteResourcePolicyStatement.go.snap index 3bf9472b747..68fa5f57bda 100644 --- a/service/lexmodelsv2/snapshot/api_op_DeleteResourcePolicyStatement.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_DeleteResourcePolicyStatement.go.snap @@ -14,7 +14,6 @@ DeleteResourcePolicyStatement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_DeleteSlot.go.snap b/service/lexmodelsv2/snapshot/api_op_DeleteSlot.go.snap index 8d231d3c687..4b97d10effb 100644 --- a/service/lexmodelsv2/snapshot/api_op_DeleteSlot.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_DeleteSlot.go.snap @@ -14,7 +14,6 @@ DeleteSlot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_DeleteSlotType.go.snap b/service/lexmodelsv2/snapshot/api_op_DeleteSlotType.go.snap index 47f36fbedd6..d75e6a9d6ab 100644 --- a/service/lexmodelsv2/snapshot/api_op_DeleteSlotType.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_DeleteSlotType.go.snap @@ -14,7 +14,6 @@ DeleteSlotType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_DeleteTestSet.go.snap b/service/lexmodelsv2/snapshot/api_op_DeleteTestSet.go.snap index 10f50f537e7..ac488a11e8b 100644 --- a/service/lexmodelsv2/snapshot/api_op_DeleteTestSet.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_DeleteTestSet.go.snap @@ -14,7 +14,6 @@ DeleteTestSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_DeleteUtterances.go.snap b/service/lexmodelsv2/snapshot/api_op_DeleteUtterances.go.snap index 59e17dc335b..67f1dc699e3 100644 --- a/service/lexmodelsv2/snapshot/api_op_DeleteUtterances.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_DeleteUtterances.go.snap @@ -14,7 +14,6 @@ DeleteUtterances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_DescribeBot.go.snap b/service/lexmodelsv2/snapshot/api_op_DescribeBot.go.snap index 2143f26a5f5..d5ccb749426 100644 --- a/service/lexmodelsv2/snapshot/api_op_DescribeBot.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_DescribeBot.go.snap @@ -14,7 +14,6 @@ DescribeBot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_DescribeBotAlias.go.snap b/service/lexmodelsv2/snapshot/api_op_DescribeBotAlias.go.snap index 48aca7fd80f..b7a6a378648 100644 --- a/service/lexmodelsv2/snapshot/api_op_DescribeBotAlias.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_DescribeBotAlias.go.snap @@ -14,7 +14,6 @@ DescribeBotAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_DescribeBotLocale.go.snap b/service/lexmodelsv2/snapshot/api_op_DescribeBotLocale.go.snap index 0a2ea3b8d19..fa740c8ab44 100644 --- a/service/lexmodelsv2/snapshot/api_op_DescribeBotLocale.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_DescribeBotLocale.go.snap @@ -14,7 +14,6 @@ DescribeBotLocale Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_DescribeBotRecommendation.go.snap b/service/lexmodelsv2/snapshot/api_op_DescribeBotRecommendation.go.snap index 5582f203c95..399a900c619 100644 --- a/service/lexmodelsv2/snapshot/api_op_DescribeBotRecommendation.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_DescribeBotRecommendation.go.snap @@ -14,7 +14,6 @@ DescribeBotRecommendation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_DescribeBotReplica.go.snap b/service/lexmodelsv2/snapshot/api_op_DescribeBotReplica.go.snap index 6256e7c9714..e94626b5a08 100644 --- a/service/lexmodelsv2/snapshot/api_op_DescribeBotReplica.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_DescribeBotReplica.go.snap @@ -14,7 +14,6 @@ DescribeBotReplica Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_DescribeBotResourceGeneration.go.snap b/service/lexmodelsv2/snapshot/api_op_DescribeBotResourceGeneration.go.snap index 7ed5d761332..ea4726dd0f8 100644 --- a/service/lexmodelsv2/snapshot/api_op_DescribeBotResourceGeneration.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_DescribeBotResourceGeneration.go.snap @@ -14,7 +14,6 @@ DescribeBotResourceGeneration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_DescribeBotVersion.go.snap b/service/lexmodelsv2/snapshot/api_op_DescribeBotVersion.go.snap index 4083ea60f50..534ee40bb2d 100644 --- a/service/lexmodelsv2/snapshot/api_op_DescribeBotVersion.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_DescribeBotVersion.go.snap @@ -14,7 +14,6 @@ DescribeBotVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_DescribeCustomVocabularyMetadata.go.snap b/service/lexmodelsv2/snapshot/api_op_DescribeCustomVocabularyMetadata.go.snap index 30cdbde4cc1..6c8bbdd6745 100644 --- a/service/lexmodelsv2/snapshot/api_op_DescribeCustomVocabularyMetadata.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_DescribeCustomVocabularyMetadata.go.snap @@ -14,7 +14,6 @@ DescribeCustomVocabularyMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_DescribeExport.go.snap b/service/lexmodelsv2/snapshot/api_op_DescribeExport.go.snap index 9849a7773ac..750849c0fac 100644 --- a/service/lexmodelsv2/snapshot/api_op_DescribeExport.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_DescribeExport.go.snap @@ -14,7 +14,6 @@ DescribeExport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_DescribeImport.go.snap b/service/lexmodelsv2/snapshot/api_op_DescribeImport.go.snap index 9144eebbfba..23e30fb34c4 100644 --- a/service/lexmodelsv2/snapshot/api_op_DescribeImport.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_DescribeImport.go.snap @@ -14,7 +14,6 @@ DescribeImport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_DescribeIntent.go.snap b/service/lexmodelsv2/snapshot/api_op_DescribeIntent.go.snap index 510876cc5f4..4e0f894cf3c 100644 --- a/service/lexmodelsv2/snapshot/api_op_DescribeIntent.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_DescribeIntent.go.snap @@ -14,7 +14,6 @@ DescribeIntent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_DescribeResourcePolicy.go.snap b/service/lexmodelsv2/snapshot/api_op_DescribeResourcePolicy.go.snap index 4522eae3833..5483931eded 100644 --- a/service/lexmodelsv2/snapshot/api_op_DescribeResourcePolicy.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_DescribeResourcePolicy.go.snap @@ -14,7 +14,6 @@ DescribeResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_DescribeSlot.go.snap b/service/lexmodelsv2/snapshot/api_op_DescribeSlot.go.snap index 85806caeb7d..bc4cf784a0c 100644 --- a/service/lexmodelsv2/snapshot/api_op_DescribeSlot.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_DescribeSlot.go.snap @@ -14,7 +14,6 @@ DescribeSlot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_DescribeSlotType.go.snap b/service/lexmodelsv2/snapshot/api_op_DescribeSlotType.go.snap index 98ff352b14d..5b9201fabd6 100644 --- a/service/lexmodelsv2/snapshot/api_op_DescribeSlotType.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_DescribeSlotType.go.snap @@ -14,7 +14,6 @@ DescribeSlotType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_DescribeTestExecution.go.snap b/service/lexmodelsv2/snapshot/api_op_DescribeTestExecution.go.snap index 4b79b62ef5c..71a7e1992f5 100644 --- a/service/lexmodelsv2/snapshot/api_op_DescribeTestExecution.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_DescribeTestExecution.go.snap @@ -14,7 +14,6 @@ DescribeTestExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_DescribeTestSet.go.snap b/service/lexmodelsv2/snapshot/api_op_DescribeTestSet.go.snap index d81e371e197..4406a77f66b 100644 --- a/service/lexmodelsv2/snapshot/api_op_DescribeTestSet.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_DescribeTestSet.go.snap @@ -14,7 +14,6 @@ DescribeTestSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_DescribeTestSetDiscrepancyReport.go.snap b/service/lexmodelsv2/snapshot/api_op_DescribeTestSetDiscrepancyReport.go.snap index 3e021cd70a8..acc4a25301f 100644 --- a/service/lexmodelsv2/snapshot/api_op_DescribeTestSetDiscrepancyReport.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_DescribeTestSetDiscrepancyReport.go.snap @@ -14,7 +14,6 @@ DescribeTestSetDiscrepancyReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_DescribeTestSetGeneration.go.snap b/service/lexmodelsv2/snapshot/api_op_DescribeTestSetGeneration.go.snap index 0c03e25372e..53703b17058 100644 --- a/service/lexmodelsv2/snapshot/api_op_DescribeTestSetGeneration.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_DescribeTestSetGeneration.go.snap @@ -14,7 +14,6 @@ DescribeTestSetGeneration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_GenerateBotElement.go.snap b/service/lexmodelsv2/snapshot/api_op_GenerateBotElement.go.snap index 77eaf1a3080..5f6209a4f2c 100644 --- a/service/lexmodelsv2/snapshot/api_op_GenerateBotElement.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_GenerateBotElement.go.snap @@ -14,7 +14,6 @@ GenerateBotElement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_GetTestExecutionArtifactsUrl.go.snap b/service/lexmodelsv2/snapshot/api_op_GetTestExecutionArtifactsUrl.go.snap index cb494b7c68c..8cc08ab6200 100644 --- a/service/lexmodelsv2/snapshot/api_op_GetTestExecutionArtifactsUrl.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_GetTestExecutionArtifactsUrl.go.snap @@ -14,7 +14,6 @@ GetTestExecutionArtifactsUrl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_ListAggregatedUtterances.go.snap b/service/lexmodelsv2/snapshot/api_op_ListAggregatedUtterances.go.snap index 4da590ef5fb..93e37287c56 100644 --- a/service/lexmodelsv2/snapshot/api_op_ListAggregatedUtterances.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_ListAggregatedUtterances.go.snap @@ -14,7 +14,6 @@ ListAggregatedUtterances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_ListBotAliasReplicas.go.snap b/service/lexmodelsv2/snapshot/api_op_ListBotAliasReplicas.go.snap index bb13868a91f..3b64a44bdfa 100644 --- a/service/lexmodelsv2/snapshot/api_op_ListBotAliasReplicas.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_ListBotAliasReplicas.go.snap @@ -14,7 +14,6 @@ ListBotAliasReplicas Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_ListBotAliases.go.snap b/service/lexmodelsv2/snapshot/api_op_ListBotAliases.go.snap index 49334b1ebd9..5dd369851b1 100644 --- a/service/lexmodelsv2/snapshot/api_op_ListBotAliases.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_ListBotAliases.go.snap @@ -14,7 +14,6 @@ ListBotAliases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_ListBotLocales.go.snap b/service/lexmodelsv2/snapshot/api_op_ListBotLocales.go.snap index 1138cf4255a..d00bf260bd5 100644 --- a/service/lexmodelsv2/snapshot/api_op_ListBotLocales.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_ListBotLocales.go.snap @@ -14,7 +14,6 @@ ListBotLocales Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_ListBotRecommendations.go.snap b/service/lexmodelsv2/snapshot/api_op_ListBotRecommendations.go.snap index 0e524fceaa1..df1304f7365 100644 --- a/service/lexmodelsv2/snapshot/api_op_ListBotRecommendations.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_ListBotRecommendations.go.snap @@ -14,7 +14,6 @@ ListBotRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_ListBotReplicas.go.snap b/service/lexmodelsv2/snapshot/api_op_ListBotReplicas.go.snap index b1d8872eac7..b90ad670528 100644 --- a/service/lexmodelsv2/snapshot/api_op_ListBotReplicas.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_ListBotReplicas.go.snap @@ -14,7 +14,6 @@ ListBotReplicas Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_ListBotResourceGenerations.go.snap b/service/lexmodelsv2/snapshot/api_op_ListBotResourceGenerations.go.snap index fdaa2455ec5..1312a540b4f 100644 --- a/service/lexmodelsv2/snapshot/api_op_ListBotResourceGenerations.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_ListBotResourceGenerations.go.snap @@ -14,7 +14,6 @@ ListBotResourceGenerations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_ListBotVersionReplicas.go.snap b/service/lexmodelsv2/snapshot/api_op_ListBotVersionReplicas.go.snap index 799b43e69d2..2f664ad2be6 100644 --- a/service/lexmodelsv2/snapshot/api_op_ListBotVersionReplicas.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_ListBotVersionReplicas.go.snap @@ -14,7 +14,6 @@ ListBotVersionReplicas Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_ListBotVersions.go.snap b/service/lexmodelsv2/snapshot/api_op_ListBotVersions.go.snap index e3b9684dc21..d9a4d0ebab5 100644 --- a/service/lexmodelsv2/snapshot/api_op_ListBotVersions.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_ListBotVersions.go.snap @@ -14,7 +14,6 @@ ListBotVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_ListBots.go.snap b/service/lexmodelsv2/snapshot/api_op_ListBots.go.snap index 4e5910d2fd6..ee82b0ffb5a 100644 --- a/service/lexmodelsv2/snapshot/api_op_ListBots.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_ListBots.go.snap @@ -14,7 +14,6 @@ ListBots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_ListBuiltInIntents.go.snap b/service/lexmodelsv2/snapshot/api_op_ListBuiltInIntents.go.snap index 5fdd8f067d2..faf6ef35609 100644 --- a/service/lexmodelsv2/snapshot/api_op_ListBuiltInIntents.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_ListBuiltInIntents.go.snap @@ -14,7 +14,6 @@ ListBuiltInIntents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_ListBuiltInSlotTypes.go.snap b/service/lexmodelsv2/snapshot/api_op_ListBuiltInSlotTypes.go.snap index 2b0b96f0ae2..7a07d624018 100644 --- a/service/lexmodelsv2/snapshot/api_op_ListBuiltInSlotTypes.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_ListBuiltInSlotTypes.go.snap @@ -14,7 +14,6 @@ ListBuiltInSlotTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_ListCustomVocabularyItems.go.snap b/service/lexmodelsv2/snapshot/api_op_ListCustomVocabularyItems.go.snap index 52370469c21..058442567b7 100644 --- a/service/lexmodelsv2/snapshot/api_op_ListCustomVocabularyItems.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_ListCustomVocabularyItems.go.snap @@ -14,7 +14,6 @@ ListCustomVocabularyItems Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_ListExports.go.snap b/service/lexmodelsv2/snapshot/api_op_ListExports.go.snap index e76ae8e0c84..af87a17e165 100644 --- a/service/lexmodelsv2/snapshot/api_op_ListExports.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_ListExports.go.snap @@ -14,7 +14,6 @@ ListExports Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_ListImports.go.snap b/service/lexmodelsv2/snapshot/api_op_ListImports.go.snap index 43faeef3586..2d86346ef23 100644 --- a/service/lexmodelsv2/snapshot/api_op_ListImports.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_ListImports.go.snap @@ -14,7 +14,6 @@ ListImports Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_ListIntentMetrics.go.snap b/service/lexmodelsv2/snapshot/api_op_ListIntentMetrics.go.snap index 1f70b0d9b80..17fb8397f28 100644 --- a/service/lexmodelsv2/snapshot/api_op_ListIntentMetrics.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_ListIntentMetrics.go.snap @@ -14,7 +14,6 @@ ListIntentMetrics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_ListIntentPaths.go.snap b/service/lexmodelsv2/snapshot/api_op_ListIntentPaths.go.snap index 5bb3eeacc5f..4f88ed77f07 100644 --- a/service/lexmodelsv2/snapshot/api_op_ListIntentPaths.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_ListIntentPaths.go.snap @@ -14,7 +14,6 @@ ListIntentPaths Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_ListIntentStageMetrics.go.snap b/service/lexmodelsv2/snapshot/api_op_ListIntentStageMetrics.go.snap index 544898432cc..e2c67c7a986 100644 --- a/service/lexmodelsv2/snapshot/api_op_ListIntentStageMetrics.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_ListIntentStageMetrics.go.snap @@ -14,7 +14,6 @@ ListIntentStageMetrics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_ListIntents.go.snap b/service/lexmodelsv2/snapshot/api_op_ListIntents.go.snap index 3e37483ca38..7c78dab39b3 100644 --- a/service/lexmodelsv2/snapshot/api_op_ListIntents.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_ListIntents.go.snap @@ -14,7 +14,6 @@ ListIntents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_ListRecommendedIntents.go.snap b/service/lexmodelsv2/snapshot/api_op_ListRecommendedIntents.go.snap index 6b956a17c7b..250bf79ac04 100644 --- a/service/lexmodelsv2/snapshot/api_op_ListRecommendedIntents.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_ListRecommendedIntents.go.snap @@ -14,7 +14,6 @@ ListRecommendedIntents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_ListSessionAnalyticsData.go.snap b/service/lexmodelsv2/snapshot/api_op_ListSessionAnalyticsData.go.snap index 45dfdeb63be..3bcd5755672 100644 --- a/service/lexmodelsv2/snapshot/api_op_ListSessionAnalyticsData.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_ListSessionAnalyticsData.go.snap @@ -14,7 +14,6 @@ ListSessionAnalyticsData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_ListSessionMetrics.go.snap b/service/lexmodelsv2/snapshot/api_op_ListSessionMetrics.go.snap index 2958066918e..8840c0f4698 100644 --- a/service/lexmodelsv2/snapshot/api_op_ListSessionMetrics.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_ListSessionMetrics.go.snap @@ -14,7 +14,6 @@ ListSessionMetrics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_ListSlotTypes.go.snap b/service/lexmodelsv2/snapshot/api_op_ListSlotTypes.go.snap index e555b2908a7..ef8c0a283e0 100644 --- a/service/lexmodelsv2/snapshot/api_op_ListSlotTypes.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_ListSlotTypes.go.snap @@ -14,7 +14,6 @@ ListSlotTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_ListSlots.go.snap b/service/lexmodelsv2/snapshot/api_op_ListSlots.go.snap index 8da4cb534de..ff867130e1f 100644 --- a/service/lexmodelsv2/snapshot/api_op_ListSlots.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_ListSlots.go.snap @@ -14,7 +14,6 @@ ListSlots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_ListTagsForResource.go.snap b/service/lexmodelsv2/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/lexmodelsv2/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_ListTestExecutionResultItems.go.snap b/service/lexmodelsv2/snapshot/api_op_ListTestExecutionResultItems.go.snap index 1ccf140c9f8..aafcccfa40b 100644 --- a/service/lexmodelsv2/snapshot/api_op_ListTestExecutionResultItems.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_ListTestExecutionResultItems.go.snap @@ -14,7 +14,6 @@ ListTestExecutionResultItems Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_ListTestExecutions.go.snap b/service/lexmodelsv2/snapshot/api_op_ListTestExecutions.go.snap index 25c0f291067..0db8eb58b78 100644 --- a/service/lexmodelsv2/snapshot/api_op_ListTestExecutions.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_ListTestExecutions.go.snap @@ -14,7 +14,6 @@ ListTestExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_ListTestSetRecords.go.snap b/service/lexmodelsv2/snapshot/api_op_ListTestSetRecords.go.snap index 6e2bf7cb951..44168d13677 100644 --- a/service/lexmodelsv2/snapshot/api_op_ListTestSetRecords.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_ListTestSetRecords.go.snap @@ -14,7 +14,6 @@ ListTestSetRecords Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_ListTestSets.go.snap b/service/lexmodelsv2/snapshot/api_op_ListTestSets.go.snap index af84bc47630..79ac4f405af 100644 --- a/service/lexmodelsv2/snapshot/api_op_ListTestSets.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_ListTestSets.go.snap @@ -14,7 +14,6 @@ ListTestSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_ListUtteranceAnalyticsData.go.snap b/service/lexmodelsv2/snapshot/api_op_ListUtteranceAnalyticsData.go.snap index 3964020a917..cf6223a71a1 100644 --- a/service/lexmodelsv2/snapshot/api_op_ListUtteranceAnalyticsData.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_ListUtteranceAnalyticsData.go.snap @@ -14,7 +14,6 @@ ListUtteranceAnalyticsData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_ListUtteranceMetrics.go.snap b/service/lexmodelsv2/snapshot/api_op_ListUtteranceMetrics.go.snap index a73dcbe2416..f6ccf9a228f 100644 --- a/service/lexmodelsv2/snapshot/api_op_ListUtteranceMetrics.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_ListUtteranceMetrics.go.snap @@ -14,7 +14,6 @@ ListUtteranceMetrics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_SearchAssociatedTranscripts.go.snap b/service/lexmodelsv2/snapshot/api_op_SearchAssociatedTranscripts.go.snap index 95efe21a2b9..9dcb8183ae5 100644 --- a/service/lexmodelsv2/snapshot/api_op_SearchAssociatedTranscripts.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_SearchAssociatedTranscripts.go.snap @@ -14,7 +14,6 @@ SearchAssociatedTranscripts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_StartBotRecommendation.go.snap b/service/lexmodelsv2/snapshot/api_op_StartBotRecommendation.go.snap index 2b1ebb26d2c..62412662359 100644 --- a/service/lexmodelsv2/snapshot/api_op_StartBotRecommendation.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_StartBotRecommendation.go.snap @@ -14,7 +14,6 @@ StartBotRecommendation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_StartBotResourceGeneration.go.snap b/service/lexmodelsv2/snapshot/api_op_StartBotResourceGeneration.go.snap index 76dcfc535fc..abc9bc65b38 100644 --- a/service/lexmodelsv2/snapshot/api_op_StartBotResourceGeneration.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_StartBotResourceGeneration.go.snap @@ -14,7 +14,6 @@ StartBotResourceGeneration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_StartImport.go.snap b/service/lexmodelsv2/snapshot/api_op_StartImport.go.snap index cc18bd3db0b..e9617340a4a 100644 --- a/service/lexmodelsv2/snapshot/api_op_StartImport.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_StartImport.go.snap @@ -14,7 +14,6 @@ StartImport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_StartTestExecution.go.snap b/service/lexmodelsv2/snapshot/api_op_StartTestExecution.go.snap index 875bd4f4128..1411610017b 100644 --- a/service/lexmodelsv2/snapshot/api_op_StartTestExecution.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_StartTestExecution.go.snap @@ -14,7 +14,6 @@ StartTestExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_StartTestSetGeneration.go.snap b/service/lexmodelsv2/snapshot/api_op_StartTestSetGeneration.go.snap index 3ece7b713ef..16094d3970c 100644 --- a/service/lexmodelsv2/snapshot/api_op_StartTestSetGeneration.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_StartTestSetGeneration.go.snap @@ -14,7 +14,6 @@ StartTestSetGeneration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_StopBotRecommendation.go.snap b/service/lexmodelsv2/snapshot/api_op_StopBotRecommendation.go.snap index b773109e323..bcfd6047e30 100644 --- a/service/lexmodelsv2/snapshot/api_op_StopBotRecommendation.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_StopBotRecommendation.go.snap @@ -14,7 +14,6 @@ StopBotRecommendation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_TagResource.go.snap b/service/lexmodelsv2/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/lexmodelsv2/snapshot/api_op_TagResource.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_UntagResource.go.snap b/service/lexmodelsv2/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/lexmodelsv2/snapshot/api_op_UntagResource.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_UpdateBot.go.snap b/service/lexmodelsv2/snapshot/api_op_UpdateBot.go.snap index ac1a2f230a6..fc332ca237a 100644 --- a/service/lexmodelsv2/snapshot/api_op_UpdateBot.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_UpdateBot.go.snap @@ -14,7 +14,6 @@ UpdateBot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_UpdateBotAlias.go.snap b/service/lexmodelsv2/snapshot/api_op_UpdateBotAlias.go.snap index 3a9be48a350..41e681b78b1 100644 --- a/service/lexmodelsv2/snapshot/api_op_UpdateBotAlias.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_UpdateBotAlias.go.snap @@ -14,7 +14,6 @@ UpdateBotAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_UpdateBotLocale.go.snap b/service/lexmodelsv2/snapshot/api_op_UpdateBotLocale.go.snap index 2db8233619e..8e8821ec78b 100644 --- a/service/lexmodelsv2/snapshot/api_op_UpdateBotLocale.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_UpdateBotLocale.go.snap @@ -14,7 +14,6 @@ UpdateBotLocale Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_UpdateBotRecommendation.go.snap b/service/lexmodelsv2/snapshot/api_op_UpdateBotRecommendation.go.snap index 12685744115..86e5eacc763 100644 --- a/service/lexmodelsv2/snapshot/api_op_UpdateBotRecommendation.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_UpdateBotRecommendation.go.snap @@ -14,7 +14,6 @@ UpdateBotRecommendation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_UpdateExport.go.snap b/service/lexmodelsv2/snapshot/api_op_UpdateExport.go.snap index b05752ca879..be409216bcb 100644 --- a/service/lexmodelsv2/snapshot/api_op_UpdateExport.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_UpdateExport.go.snap @@ -14,7 +14,6 @@ UpdateExport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_UpdateIntent.go.snap b/service/lexmodelsv2/snapshot/api_op_UpdateIntent.go.snap index 748c36e1273..a7a4d66390a 100644 --- a/service/lexmodelsv2/snapshot/api_op_UpdateIntent.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_UpdateIntent.go.snap @@ -14,7 +14,6 @@ UpdateIntent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_UpdateResourcePolicy.go.snap b/service/lexmodelsv2/snapshot/api_op_UpdateResourcePolicy.go.snap index c46140c7dfc..07d3d7faf5f 100644 --- a/service/lexmodelsv2/snapshot/api_op_UpdateResourcePolicy.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_UpdateResourcePolicy.go.snap @@ -14,7 +14,6 @@ UpdateResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_UpdateSlot.go.snap b/service/lexmodelsv2/snapshot/api_op_UpdateSlot.go.snap index e664a0a07e2..5aa990d7736 100644 --- a/service/lexmodelsv2/snapshot/api_op_UpdateSlot.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_UpdateSlot.go.snap @@ -14,7 +14,6 @@ UpdateSlot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_UpdateSlotType.go.snap b/service/lexmodelsv2/snapshot/api_op_UpdateSlotType.go.snap index 6161d699b27..7647d02dc48 100644 --- a/service/lexmodelsv2/snapshot/api_op_UpdateSlotType.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_UpdateSlotType.go.snap @@ -14,7 +14,6 @@ UpdateSlotType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexmodelsv2/snapshot/api_op_UpdateTestSet.go.snap b/service/lexmodelsv2/snapshot/api_op_UpdateTestSet.go.snap index 1134d97d435..f0aa795c638 100644 --- a/service/lexmodelsv2/snapshot/api_op_UpdateTestSet.go.snap +++ b/service/lexmodelsv2/snapshot/api_op_UpdateTestSet.go.snap @@ -14,7 +14,6 @@ UpdateTestSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexruntimeservice/api_client.go b/service/lexruntimeservice/api_client.go index 689ac151b2f..ed7702a294e 100644 --- a/service/lexruntimeservice/api_client.go +++ b/service/lexruntimeservice/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/lexruntimeservice/api_op_DeleteSession.go b/service/lexruntimeservice/api_op_DeleteSession.go index 91c5199c054..521bb256ee7 100644 --- a/service/lexruntimeservice/api_op_DeleteSession.go +++ b/service/lexruntimeservice/api_op_DeleteSession.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDeleteSessionMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexruntimeservice/api_op_GetSession.go b/service/lexruntimeservice/api_op_GetSession.go index fbcf8aa198e..8f365b887b2 100644 --- a/service/lexruntimeservice/api_op_GetSession.go +++ b/service/lexruntimeservice/api_op_GetSession.go @@ -154,9 +154,6 @@ func (c *Client) addOperationGetSessionMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexruntimeservice/api_op_PostContent.go b/service/lexruntimeservice/api_op_PostContent.go index 1ab4aa2ec5e..f3a594223b2 100644 --- a/service/lexruntimeservice/api_op_PostContent.go +++ b/service/lexruntimeservice/api_op_PostContent.go @@ -514,9 +514,6 @@ func (c *Client) addOperationPostContentMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPostContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexruntimeservice/api_op_PostText.go b/service/lexruntimeservice/api_op_PostText.go index aaf74e78cd4..72429b85be8 100644 --- a/service/lexruntimeservice/api_op_PostText.go +++ b/service/lexruntimeservice/api_op_PostText.go @@ -362,9 +362,6 @@ func (c *Client) addOperationPostTextMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPostTextValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexruntimeservice/api_op_PutSession.go b/service/lexruntimeservice/api_op_PutSession.go index 3f3b382e447..ad4b9cb4e7a 100644 --- a/service/lexruntimeservice/api_op_PutSession.go +++ b/service/lexruntimeservice/api_op_PutSession.go @@ -277,9 +277,6 @@ func (c *Client) addOperationPutSessionMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexruntimeservice/snapshot/api_op_DeleteSession.go.snap b/service/lexruntimeservice/snapshot/api_op_DeleteSession.go.snap index 0a039c906e7..a91385e8503 100644 --- a/service/lexruntimeservice/snapshot/api_op_DeleteSession.go.snap +++ b/service/lexruntimeservice/snapshot/api_op_DeleteSession.go.snap @@ -14,7 +14,6 @@ DeleteSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexruntimeservice/snapshot/api_op_GetSession.go.snap b/service/lexruntimeservice/snapshot/api_op_GetSession.go.snap index b1fe5b7fa64..409a87aab6e 100644 --- a/service/lexruntimeservice/snapshot/api_op_GetSession.go.snap +++ b/service/lexruntimeservice/snapshot/api_op_GetSession.go.snap @@ -14,7 +14,6 @@ GetSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexruntimeservice/snapshot/api_op_PostContent.go.snap b/service/lexruntimeservice/snapshot/api_op_PostContent.go.snap index afe8260f08d..3c786fcbe01 100644 --- a/service/lexruntimeservice/snapshot/api_op_PostContent.go.snap +++ b/service/lexruntimeservice/snapshot/api_op_PostContent.go.snap @@ -14,7 +14,6 @@ PostContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexruntimeservice/snapshot/api_op_PostText.go.snap b/service/lexruntimeservice/snapshot/api_op_PostText.go.snap index bca8cdd1d79..25ac0c798a6 100644 --- a/service/lexruntimeservice/snapshot/api_op_PostText.go.snap +++ b/service/lexruntimeservice/snapshot/api_op_PostText.go.snap @@ -14,7 +14,6 @@ PostText Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexruntimeservice/snapshot/api_op_PutSession.go.snap b/service/lexruntimeservice/snapshot/api_op_PutSession.go.snap index a70559fd482..f1137ba9138 100644 --- a/service/lexruntimeservice/snapshot/api_op_PutSession.go.snap +++ b/service/lexruntimeservice/snapshot/api_op_PutSession.go.snap @@ -14,7 +14,6 @@ PutSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexruntimev2/api_client.go b/service/lexruntimev2/api_client.go index e55b9e73b92..b08fb4bc392 100644 --- a/service/lexruntimev2/api_client.go +++ b/service/lexruntimev2/api_client.go @@ -764,37 +764,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/lexruntimev2/api_op_DeleteSession.go b/service/lexruntimev2/api_op_DeleteSession.go index a6ab6caff02..8f3415c195a 100644 --- a/service/lexruntimev2/api_op_DeleteSession.go +++ b/service/lexruntimev2/api_op_DeleteSession.go @@ -149,9 +149,6 @@ func (c *Client) addOperationDeleteSessionMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexruntimev2/api_op_GetSession.go b/service/lexruntimev2/api_op_GetSession.go index 0856454a1ce..1f8ed9eb1b6 100644 --- a/service/lexruntimev2/api_op_GetSession.go +++ b/service/lexruntimev2/api_op_GetSession.go @@ -153,9 +153,6 @@ func (c *Client) addOperationGetSessionMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexruntimev2/api_op_PutSession.go b/service/lexruntimev2/api_op_PutSession.go index 3bc408bdc12..dd2026c28c5 100644 --- a/service/lexruntimev2/api_op_PutSession.go +++ b/service/lexruntimev2/api_op_PutSession.go @@ -175,9 +175,6 @@ func (c *Client) addOperationPutSessionMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexruntimev2/api_op_RecognizeText.go b/service/lexruntimev2/api_op_RecognizeText.go index b9de4203378..a821fe488ee 100644 --- a/service/lexruntimev2/api_op_RecognizeText.go +++ b/service/lexruntimev2/api_op_RecognizeText.go @@ -193,9 +193,6 @@ func (c *Client) addOperationRecognizeTextMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRecognizeTextValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexruntimev2/api_op_RecognizeUtterance.go b/service/lexruntimev2/api_op_RecognizeUtterance.go index 785aa411311..2d5fd7b1cd6 100644 --- a/service/lexruntimev2/api_op_RecognizeUtterance.go +++ b/service/lexruntimev2/api_op_RecognizeUtterance.go @@ -322,9 +322,6 @@ func (c *Client) addOperationRecognizeUtteranceMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRecognizeUtteranceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexruntimev2/api_op_StartConversation.go b/service/lexruntimev2/api_op_StartConversation.go index 7f5ce2f1fb9..71982a422e4 100644 --- a/service/lexruntimev2/api_op_StartConversation.go +++ b/service/lexruntimev2/api_op_StartConversation.go @@ -188,9 +188,6 @@ func (c *Client) addOperationStartConversationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartConversationValidationMiddleware(stack); err != nil { return err } diff --git a/service/lexruntimev2/snapshot/api_op_DeleteSession.go.snap b/service/lexruntimev2/snapshot/api_op_DeleteSession.go.snap index 0a039c906e7..a91385e8503 100644 --- a/service/lexruntimev2/snapshot/api_op_DeleteSession.go.snap +++ b/service/lexruntimev2/snapshot/api_op_DeleteSession.go.snap @@ -14,7 +14,6 @@ DeleteSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexruntimev2/snapshot/api_op_GetSession.go.snap b/service/lexruntimev2/snapshot/api_op_GetSession.go.snap index b1fe5b7fa64..409a87aab6e 100644 --- a/service/lexruntimev2/snapshot/api_op_GetSession.go.snap +++ b/service/lexruntimev2/snapshot/api_op_GetSession.go.snap @@ -14,7 +14,6 @@ GetSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexruntimev2/snapshot/api_op_PutSession.go.snap b/service/lexruntimev2/snapshot/api_op_PutSession.go.snap index a70559fd482..f1137ba9138 100644 --- a/service/lexruntimev2/snapshot/api_op_PutSession.go.snap +++ b/service/lexruntimev2/snapshot/api_op_PutSession.go.snap @@ -14,7 +14,6 @@ PutSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexruntimev2/snapshot/api_op_RecognizeText.go.snap b/service/lexruntimev2/snapshot/api_op_RecognizeText.go.snap index a21f14b96f5..411d6e11d73 100644 --- a/service/lexruntimev2/snapshot/api_op_RecognizeText.go.snap +++ b/service/lexruntimev2/snapshot/api_op_RecognizeText.go.snap @@ -14,7 +14,6 @@ RecognizeText Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexruntimev2/snapshot/api_op_RecognizeUtterance.go.snap b/service/lexruntimev2/snapshot/api_op_RecognizeUtterance.go.snap index b539e2d359c..2d4828b89e8 100644 --- a/service/lexruntimev2/snapshot/api_op_RecognizeUtterance.go.snap +++ b/service/lexruntimev2/snapshot/api_op_RecognizeUtterance.go.snap @@ -14,7 +14,6 @@ RecognizeUtterance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lexruntimev2/snapshot/api_op_StartConversation.go.snap b/service/lexruntimev2/snapshot/api_op_StartConversation.go.snap index 9b559c76e48..029e4599936 100644 --- a/service/lexruntimev2/snapshot/api_op_StartConversation.go.snap +++ b/service/lexruntimev2/snapshot/api_op_StartConversation.go.snap @@ -13,7 +13,6 @@ StartConversation OperationSerializer Build stack step ClientRequestID - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/api_client.go b/service/licensemanager/api_client.go index 4dbf6c164cb..61d36cd5264 100644 --- a/service/licensemanager/api_client.go +++ b/service/licensemanager/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/licensemanager/api_op_AcceptGrant.go b/service/licensemanager/api_op_AcceptGrant.go index b2aabacd0b0..de60cd1ebcd 100644 --- a/service/licensemanager/api_op_AcceptGrant.go +++ b/service/licensemanager/api_op_AcceptGrant.go @@ -118,9 +118,6 @@ func (c *Client) addOperationAcceptGrantMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptGrantValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_CheckInLicense.go b/service/licensemanager/api_op_CheckInLicense.go index b868dcc3be1..21e5ab5847d 100644 --- a/service/licensemanager/api_op_CheckInLicense.go +++ b/service/licensemanager/api_op_CheckInLicense.go @@ -110,9 +110,6 @@ func (c *Client) addOperationCheckInLicenseMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCheckInLicenseValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_CheckoutBorrowLicense.go b/service/licensemanager/api_op_CheckoutBorrowLicense.go index 090e002de4d..f83d4b7aa3e 100644 --- a/service/licensemanager/api_op_CheckoutBorrowLicense.go +++ b/service/licensemanager/api_op_CheckoutBorrowLicense.go @@ -159,9 +159,6 @@ func (c *Client) addOperationCheckoutBorrowLicenseMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCheckoutBorrowLicenseValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_CheckoutLicense.go b/service/licensemanager/api_op_CheckoutLicense.go index 7d353da0c0c..3925a1f6fa3 100644 --- a/service/licensemanager/api_op_CheckoutLicense.go +++ b/service/licensemanager/api_op_CheckoutLicense.go @@ -163,9 +163,6 @@ func (c *Client) addOperationCheckoutLicenseMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCheckoutLicenseValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_CreateGrant.go b/service/licensemanager/api_op_CreateGrant.go index 76c65ce96c5..b2de89a1bb1 100644 --- a/service/licensemanager/api_op_CreateGrant.go +++ b/service/licensemanager/api_op_CreateGrant.go @@ -156,9 +156,6 @@ func (c *Client) addOperationCreateGrantMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGrantValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_CreateGrantVersion.go b/service/licensemanager/api_op_CreateGrantVersion.go index 52213209e7a..7977d1d8c5a 100644 --- a/service/licensemanager/api_op_CreateGrantVersion.go +++ b/service/licensemanager/api_op_CreateGrantVersion.go @@ -145,9 +145,6 @@ func (c *Client) addOperationCreateGrantVersionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGrantVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_CreateLicense.go b/service/licensemanager/api_op_CreateLicense.go index d43b595f42e..726a4490abe 100644 --- a/service/licensemanager/api_op_CreateLicense.go +++ b/service/licensemanager/api_op_CreateLicense.go @@ -169,9 +169,6 @@ func (c *Client) addOperationCreateLicenseMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLicenseValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_CreateLicenseConfiguration.go b/service/licensemanager/api_op_CreateLicenseConfiguration.go index 616cb315aaf..2ddaca17358 100644 --- a/service/licensemanager/api_op_CreateLicenseConfiguration.go +++ b/service/licensemanager/api_op_CreateLicenseConfiguration.go @@ -165,9 +165,6 @@ func (c *Client) addOperationCreateLicenseConfigurationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLicenseConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_CreateLicenseConversionTaskForResource.go b/service/licensemanager/api_op_CreateLicenseConversionTaskForResource.go index d931771d405..d63ae1d91f3 100644 --- a/service/licensemanager/api_op_CreateLicenseConversionTaskForResource.go +++ b/service/licensemanager/api_op_CreateLicenseConversionTaskForResource.go @@ -130,9 +130,6 @@ func (c *Client) addOperationCreateLicenseConversionTaskForResourceMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLicenseConversionTaskForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_CreateLicenseManagerReportGenerator.go b/service/licensemanager/api_op_CreateLicenseManagerReportGenerator.go index 25e10b736b4..e4a5d27a381 100644 --- a/service/licensemanager/api_op_CreateLicenseManagerReportGenerator.go +++ b/service/licensemanager/api_op_CreateLicenseManagerReportGenerator.go @@ -146,9 +146,6 @@ func (c *Client) addOperationCreateLicenseManagerReportGeneratorMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLicenseManagerReportGeneratorValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_CreateLicenseVersion.go b/service/licensemanager/api_op_CreateLicenseVersion.go index 16eb651c17c..3f40ee8c08f 100644 --- a/service/licensemanager/api_op_CreateLicenseVersion.go +++ b/service/licensemanager/api_op_CreateLicenseVersion.go @@ -172,9 +172,6 @@ func (c *Client) addOperationCreateLicenseVersionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLicenseVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_CreateToken.go b/service/licensemanager/api_op_CreateToken.go index 3c8450c3725..89f6cc837d2 100644 --- a/service/licensemanager/api_op_CreateToken.go +++ b/service/licensemanager/api_op_CreateToken.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateTokenMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTokenValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_DeleteGrant.go b/service/licensemanager/api_op_DeleteGrant.go index f878e80feae..915d89c941f 100644 --- a/service/licensemanager/api_op_DeleteGrant.go +++ b/service/licensemanager/api_op_DeleteGrant.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDeleteGrantMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGrantValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_DeleteLicense.go b/service/licensemanager/api_op_DeleteLicense.go index bf14fe3a5e5..55289e4b3dc 100644 --- a/service/licensemanager/api_op_DeleteLicense.go +++ b/service/licensemanager/api_op_DeleteLicense.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteLicenseMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLicenseValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_DeleteLicenseConfiguration.go b/service/licensemanager/api_op_DeleteLicenseConfiguration.go index edfa694e5da..222e0cb4f85 100644 --- a/service/licensemanager/api_op_DeleteLicenseConfiguration.go +++ b/service/licensemanager/api_op_DeleteLicenseConfiguration.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteLicenseConfigurationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLicenseConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_DeleteLicenseManagerReportGenerator.go b/service/licensemanager/api_op_DeleteLicenseManagerReportGenerator.go index 05d3d492c45..2d1352a224e 100644 --- a/service/licensemanager/api_op_DeleteLicenseManagerReportGenerator.go +++ b/service/licensemanager/api_op_DeleteLicenseManagerReportGenerator.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteLicenseManagerReportGeneratorMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLicenseManagerReportGeneratorValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_DeleteToken.go b/service/licensemanager/api_op_DeleteToken.go index 7370789f874..943b24ca6fd 100644 --- a/service/licensemanager/api_op_DeleteToken.go +++ b/service/licensemanager/api_op_DeleteToken.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteTokenMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTokenValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_ExtendLicenseConsumption.go b/service/licensemanager/api_op_ExtendLicenseConsumption.go index 93ca14a9668..46161f341e7 100644 --- a/service/licensemanager/api_op_ExtendLicenseConsumption.go +++ b/service/licensemanager/api_op_ExtendLicenseConsumption.go @@ -119,9 +119,6 @@ func (c *Client) addOperationExtendLicenseConsumptionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExtendLicenseConsumptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_GetAccessToken.go b/service/licensemanager/api_op_GetAccessToken.go index 9ef9c3235be..e3674839cf3 100644 --- a/service/licensemanager/api_op_GetAccessToken.go +++ b/service/licensemanager/api_op_GetAccessToken.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetAccessTokenMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAccessTokenValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_GetGrant.go b/service/licensemanager/api_op_GetGrant.go index bd1b8895c46..55fa126cd17 100644 --- a/service/licensemanager/api_op_GetGrant.go +++ b/service/licensemanager/api_op_GetGrant.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetGrantMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetGrantValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_GetLicense.go b/service/licensemanager/api_op_GetLicense.go index 6037e30143e..b9831dd8465 100644 --- a/service/licensemanager/api_op_GetLicense.go +++ b/service/licensemanager/api_op_GetLicense.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetLicenseMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLicenseValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_GetLicenseConfiguration.go b/service/licensemanager/api_op_GetLicenseConfiguration.go index 2695611f4bd..57c7e59080b 100644 --- a/service/licensemanager/api_op_GetLicenseConfiguration.go +++ b/service/licensemanager/api_op_GetLicenseConfiguration.go @@ -160,9 +160,6 @@ func (c *Client) addOperationGetLicenseConfigurationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLicenseConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_GetLicenseConversionTask.go b/service/licensemanager/api_op_GetLicenseConversionTask.go index 0cc3ea5b285..7e558b50809 100644 --- a/service/licensemanager/api_op_GetLicenseConversionTask.go +++ b/service/licensemanager/api_op_GetLicenseConversionTask.go @@ -138,9 +138,6 @@ func (c *Client) addOperationGetLicenseConversionTaskMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLicenseConversionTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_GetLicenseManagerReportGenerator.go b/service/licensemanager/api_op_GetLicenseManagerReportGenerator.go index 992ad5f392f..02f6781a862 100644 --- a/service/licensemanager/api_op_GetLicenseManagerReportGenerator.go +++ b/service/licensemanager/api_op_GetLicenseManagerReportGenerator.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetLicenseManagerReportGeneratorMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLicenseManagerReportGeneratorValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_GetLicenseUsage.go b/service/licensemanager/api_op_GetLicenseUsage.go index 9702bc54aaf..f6dc9cb18aa 100644 --- a/service/licensemanager/api_op_GetLicenseUsage.go +++ b/service/licensemanager/api_op_GetLicenseUsage.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetLicenseUsageMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLicenseUsageValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_GetServiceSettings.go b/service/licensemanager/api_op_GetServiceSettings.go index d70afef6343..c245f159272 100644 --- a/service/licensemanager/api_op_GetServiceSettings.go +++ b/service/licensemanager/api_op_GetServiceSettings.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetServiceSettingsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServiceSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/licensemanager/api_op_ListAssociationsForLicenseConfiguration.go b/service/licensemanager/api_op_ListAssociationsForLicenseConfiguration.go index de2fefbab87..2be7912ded4 100644 --- a/service/licensemanager/api_op_ListAssociationsForLicenseConfiguration.go +++ b/service/licensemanager/api_op_ListAssociationsForLicenseConfiguration.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListAssociationsForLicenseConfigurationMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAssociationsForLicenseConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_ListDistributedGrants.go b/service/licensemanager/api_op_ListDistributedGrants.go index f31a65c8048..7b85f2810bd 100644 --- a/service/licensemanager/api_op_ListDistributedGrants.go +++ b/service/licensemanager/api_op_ListDistributedGrants.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListDistributedGrantsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDistributedGrants(options.Region), middleware.Before); err != nil { return err } diff --git a/service/licensemanager/api_op_ListFailuresForLicenseConfigurationOperations.go b/service/licensemanager/api_op_ListFailuresForLicenseConfigurationOperations.go index 30957e4e19b..a729d571e24 100644 --- a/service/licensemanager/api_op_ListFailuresForLicenseConfigurationOperations.go +++ b/service/licensemanager/api_op_ListFailuresForLicenseConfigurationOperations.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListFailuresForLicenseConfigurationOperationsMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFailuresForLicenseConfigurationOperationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_ListLicenseConfigurations.go b/service/licensemanager/api_op_ListLicenseConfigurations.go index 46456f943f1..c37a4fbceab 100644 --- a/service/licensemanager/api_op_ListLicenseConfigurations.go +++ b/service/licensemanager/api_op_ListLicenseConfigurations.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListLicenseConfigurationsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLicenseConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/licensemanager/api_op_ListLicenseConversionTasks.go b/service/licensemanager/api_op_ListLicenseConversionTasks.go index 6f892a44f36..13a75a8b214 100644 --- a/service/licensemanager/api_op_ListLicenseConversionTasks.go +++ b/service/licensemanager/api_op_ListLicenseConversionTasks.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListLicenseConversionTasksMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLicenseConversionTasks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/licensemanager/api_op_ListLicenseManagerReportGenerators.go b/service/licensemanager/api_op_ListLicenseManagerReportGenerators.go index 98a58ef6a24..7d2ce0ed3e5 100644 --- a/service/licensemanager/api_op_ListLicenseManagerReportGenerators.go +++ b/service/licensemanager/api_op_ListLicenseManagerReportGenerators.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListLicenseManagerReportGeneratorsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLicenseManagerReportGenerators(options.Region), middleware.Before); err != nil { return err } diff --git a/service/licensemanager/api_op_ListLicenseSpecificationsForResource.go b/service/licensemanager/api_op_ListLicenseSpecificationsForResource.go index 3807ec29f4a..aa14ecab463 100644 --- a/service/licensemanager/api_op_ListLicenseSpecificationsForResource.go +++ b/service/licensemanager/api_op_ListLicenseSpecificationsForResource.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListLicenseSpecificationsForResourceMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListLicenseSpecificationsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_ListLicenseVersions.go b/service/licensemanager/api_op_ListLicenseVersions.go index a03bd7dfd12..ef9a1a82672 100644 --- a/service/licensemanager/api_op_ListLicenseVersions.go +++ b/service/licensemanager/api_op_ListLicenseVersions.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListLicenseVersionsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListLicenseVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_ListLicenses.go b/service/licensemanager/api_op_ListLicenses.go index d418863a5e5..22fa0a3aa86 100644 --- a/service/licensemanager/api_op_ListLicenses.go +++ b/service/licensemanager/api_op_ListLicenses.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListLicensesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLicenses(options.Region), middleware.Before); err != nil { return err } diff --git a/service/licensemanager/api_op_ListReceivedGrants.go b/service/licensemanager/api_op_ListReceivedGrants.go index ed102375736..8e46436f650 100644 --- a/service/licensemanager/api_op_ListReceivedGrants.go +++ b/service/licensemanager/api_op_ListReceivedGrants.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListReceivedGrantsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReceivedGrants(options.Region), middleware.Before); err != nil { return err } diff --git a/service/licensemanager/api_op_ListReceivedGrantsForOrganization.go b/service/licensemanager/api_op_ListReceivedGrantsForOrganization.go index 68c50ff7c7a..b54dbd60690 100644 --- a/service/licensemanager/api_op_ListReceivedGrantsForOrganization.go +++ b/service/licensemanager/api_op_ListReceivedGrantsForOrganization.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListReceivedGrantsForOrganizationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListReceivedGrantsForOrganizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_ListReceivedLicenses.go b/service/licensemanager/api_op_ListReceivedLicenses.go index cc05abf175b..439091b4894 100644 --- a/service/licensemanager/api_op_ListReceivedLicenses.go +++ b/service/licensemanager/api_op_ListReceivedLicenses.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListReceivedLicensesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReceivedLicenses(options.Region), middleware.Before); err != nil { return err } diff --git a/service/licensemanager/api_op_ListReceivedLicensesForOrganization.go b/service/licensemanager/api_op_ListReceivedLicensesForOrganization.go index 209cb74f322..09337854391 100644 --- a/service/licensemanager/api_op_ListReceivedLicensesForOrganization.go +++ b/service/licensemanager/api_op_ListReceivedLicensesForOrganization.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListReceivedLicensesForOrganizationMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReceivedLicensesForOrganization(options.Region), middleware.Before); err != nil { return err } diff --git a/service/licensemanager/api_op_ListResourceInventory.go b/service/licensemanager/api_op_ListResourceInventory.go index 9cf584aed9a..ee829ebf781 100644 --- a/service/licensemanager/api_op_ListResourceInventory.go +++ b/service/licensemanager/api_op_ListResourceInventory.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListResourceInventoryMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListResourceInventoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_ListTagsForResource.go b/service/licensemanager/api_op_ListTagsForResource.go index 8ed70bd789d..05e1020b278 100644 --- a/service/licensemanager/api_op_ListTagsForResource.go +++ b/service/licensemanager/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_ListTokens.go b/service/licensemanager/api_op_ListTokens.go index 34c2ce9b5d5..5bd5843382f 100644 --- a/service/licensemanager/api_op_ListTokens.go +++ b/service/licensemanager/api_op_ListTokens.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListTokensMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTokens(options.Region), middleware.Before); err != nil { return err } diff --git a/service/licensemanager/api_op_ListUsageForLicenseConfiguration.go b/service/licensemanager/api_op_ListUsageForLicenseConfiguration.go index a5ace8791e0..1ab4a984f82 100644 --- a/service/licensemanager/api_op_ListUsageForLicenseConfiguration.go +++ b/service/licensemanager/api_op_ListUsageForLicenseConfiguration.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListUsageForLicenseConfigurationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListUsageForLicenseConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_RejectGrant.go b/service/licensemanager/api_op_RejectGrant.go index 55a1dbf31f6..60fe189ff4a 100644 --- a/service/licensemanager/api_op_RejectGrant.go +++ b/service/licensemanager/api_op_RejectGrant.go @@ -118,9 +118,6 @@ func (c *Client) addOperationRejectGrantMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRejectGrantValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_TagResource.go b/service/licensemanager/api_op_TagResource.go index 788fe06d290..ea88c3baec8 100644 --- a/service/licensemanager/api_op_TagResource.go +++ b/service/licensemanager/api_op_TagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_UntagResource.go b/service/licensemanager/api_op_UntagResource.go index 3d53f53fccb..26abbd3dcc9 100644 --- a/service/licensemanager/api_op_UntagResource.go +++ b/service/licensemanager/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_UpdateLicenseConfiguration.go b/service/licensemanager/api_op_UpdateLicenseConfiguration.go index d4332aab1f8..e1541f0362c 100644 --- a/service/licensemanager/api_op_UpdateLicenseConfiguration.go +++ b/service/licensemanager/api_op_UpdateLicenseConfiguration.go @@ -133,9 +133,6 @@ func (c *Client) addOperationUpdateLicenseConfigurationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLicenseConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_UpdateLicenseManagerReportGenerator.go b/service/licensemanager/api_op_UpdateLicenseManagerReportGenerator.go index a31bd1bf7d4..b44bf935b57 100644 --- a/service/licensemanager/api_op_UpdateLicenseManagerReportGenerator.go +++ b/service/licensemanager/api_op_UpdateLicenseManagerReportGenerator.go @@ -146,9 +146,6 @@ func (c *Client) addOperationUpdateLicenseManagerReportGeneratorMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLicenseManagerReportGeneratorValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_UpdateLicenseSpecificationsForResource.go b/service/licensemanager/api_op_UpdateLicenseSpecificationsForResource.go index 3658597732d..4777f31e8c3 100644 --- a/service/licensemanager/api_op_UpdateLicenseSpecificationsForResource.go +++ b/service/licensemanager/api_op_UpdateLicenseSpecificationsForResource.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdateLicenseSpecificationsForResourceMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLicenseSpecificationsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/api_op_UpdateServiceSettings.go b/service/licensemanager/api_op_UpdateServiceSettings.go index 298124a43c9..ef340280766 100644 --- a/service/licensemanager/api_op_UpdateServiceSettings.go +++ b/service/licensemanager/api_op_UpdateServiceSettings.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUpdateServiceSettingsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateServiceSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanager/snapshot/api_op_AcceptGrant.go.snap b/service/licensemanager/snapshot/api_op_AcceptGrant.go.snap index 4fcdf57ae2e..7e493b75007 100644 --- a/service/licensemanager/snapshot/api_op_AcceptGrant.go.snap +++ b/service/licensemanager/snapshot/api_op_AcceptGrant.go.snap @@ -14,7 +14,6 @@ AcceptGrant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_CheckInLicense.go.snap b/service/licensemanager/snapshot/api_op_CheckInLicense.go.snap index da450efcb1c..489aff08b66 100644 --- a/service/licensemanager/snapshot/api_op_CheckInLicense.go.snap +++ b/service/licensemanager/snapshot/api_op_CheckInLicense.go.snap @@ -14,7 +14,6 @@ CheckInLicense Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_CheckoutBorrowLicense.go.snap b/service/licensemanager/snapshot/api_op_CheckoutBorrowLicense.go.snap index b8797a4a50d..f4445a3c275 100644 --- a/service/licensemanager/snapshot/api_op_CheckoutBorrowLicense.go.snap +++ b/service/licensemanager/snapshot/api_op_CheckoutBorrowLicense.go.snap @@ -14,7 +14,6 @@ CheckoutBorrowLicense Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_CheckoutLicense.go.snap b/service/licensemanager/snapshot/api_op_CheckoutLicense.go.snap index 50b29bbd091..6cc078d2d6e 100644 --- a/service/licensemanager/snapshot/api_op_CheckoutLicense.go.snap +++ b/service/licensemanager/snapshot/api_op_CheckoutLicense.go.snap @@ -14,7 +14,6 @@ CheckoutLicense Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_CreateGrant.go.snap b/service/licensemanager/snapshot/api_op_CreateGrant.go.snap index a5330a34658..e328a08acf7 100644 --- a/service/licensemanager/snapshot/api_op_CreateGrant.go.snap +++ b/service/licensemanager/snapshot/api_op_CreateGrant.go.snap @@ -14,7 +14,6 @@ CreateGrant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_CreateGrantVersion.go.snap b/service/licensemanager/snapshot/api_op_CreateGrantVersion.go.snap index b748769c14d..e310f3fc6e6 100644 --- a/service/licensemanager/snapshot/api_op_CreateGrantVersion.go.snap +++ b/service/licensemanager/snapshot/api_op_CreateGrantVersion.go.snap @@ -14,7 +14,6 @@ CreateGrantVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_CreateLicense.go.snap b/service/licensemanager/snapshot/api_op_CreateLicense.go.snap index 8f98dec0686..35361d636ac 100644 --- a/service/licensemanager/snapshot/api_op_CreateLicense.go.snap +++ b/service/licensemanager/snapshot/api_op_CreateLicense.go.snap @@ -14,7 +14,6 @@ CreateLicense Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_CreateLicenseConfiguration.go.snap b/service/licensemanager/snapshot/api_op_CreateLicenseConfiguration.go.snap index f2cc711487b..42dc07395c2 100644 --- a/service/licensemanager/snapshot/api_op_CreateLicenseConfiguration.go.snap +++ b/service/licensemanager/snapshot/api_op_CreateLicenseConfiguration.go.snap @@ -14,7 +14,6 @@ CreateLicenseConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_CreateLicenseConversionTaskForResource.go.snap b/service/licensemanager/snapshot/api_op_CreateLicenseConversionTaskForResource.go.snap index 3c9b9ace6b8..cd841e93314 100644 --- a/service/licensemanager/snapshot/api_op_CreateLicenseConversionTaskForResource.go.snap +++ b/service/licensemanager/snapshot/api_op_CreateLicenseConversionTaskForResource.go.snap @@ -14,7 +14,6 @@ CreateLicenseConversionTaskForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_CreateLicenseManagerReportGenerator.go.snap b/service/licensemanager/snapshot/api_op_CreateLicenseManagerReportGenerator.go.snap index ea7c85a004d..f8dba35262c 100644 --- a/service/licensemanager/snapshot/api_op_CreateLicenseManagerReportGenerator.go.snap +++ b/service/licensemanager/snapshot/api_op_CreateLicenseManagerReportGenerator.go.snap @@ -14,7 +14,6 @@ CreateLicenseManagerReportGenerator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_CreateLicenseVersion.go.snap b/service/licensemanager/snapshot/api_op_CreateLicenseVersion.go.snap index e49c7510e59..36fbd70e84b 100644 --- a/service/licensemanager/snapshot/api_op_CreateLicenseVersion.go.snap +++ b/service/licensemanager/snapshot/api_op_CreateLicenseVersion.go.snap @@ -14,7 +14,6 @@ CreateLicenseVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_CreateToken.go.snap b/service/licensemanager/snapshot/api_op_CreateToken.go.snap index 3339a178f95..e9b83328568 100644 --- a/service/licensemanager/snapshot/api_op_CreateToken.go.snap +++ b/service/licensemanager/snapshot/api_op_CreateToken.go.snap @@ -14,7 +14,6 @@ CreateToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_DeleteGrant.go.snap b/service/licensemanager/snapshot/api_op_DeleteGrant.go.snap index 4283d56d439..a096aed624f 100644 --- a/service/licensemanager/snapshot/api_op_DeleteGrant.go.snap +++ b/service/licensemanager/snapshot/api_op_DeleteGrant.go.snap @@ -14,7 +14,6 @@ DeleteGrant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_DeleteLicense.go.snap b/service/licensemanager/snapshot/api_op_DeleteLicense.go.snap index 94adf6b9fff..66f8a226a8d 100644 --- a/service/licensemanager/snapshot/api_op_DeleteLicense.go.snap +++ b/service/licensemanager/snapshot/api_op_DeleteLicense.go.snap @@ -14,7 +14,6 @@ DeleteLicense Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_DeleteLicenseConfiguration.go.snap b/service/licensemanager/snapshot/api_op_DeleteLicenseConfiguration.go.snap index f09e8507e7f..caa767c1205 100644 --- a/service/licensemanager/snapshot/api_op_DeleteLicenseConfiguration.go.snap +++ b/service/licensemanager/snapshot/api_op_DeleteLicenseConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteLicenseConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_DeleteLicenseManagerReportGenerator.go.snap b/service/licensemanager/snapshot/api_op_DeleteLicenseManagerReportGenerator.go.snap index 93b4c4c7ce9..c928c5f1491 100644 --- a/service/licensemanager/snapshot/api_op_DeleteLicenseManagerReportGenerator.go.snap +++ b/service/licensemanager/snapshot/api_op_DeleteLicenseManagerReportGenerator.go.snap @@ -14,7 +14,6 @@ DeleteLicenseManagerReportGenerator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_DeleteToken.go.snap b/service/licensemanager/snapshot/api_op_DeleteToken.go.snap index 9b61b1c7198..88bd44596b1 100644 --- a/service/licensemanager/snapshot/api_op_DeleteToken.go.snap +++ b/service/licensemanager/snapshot/api_op_DeleteToken.go.snap @@ -14,7 +14,6 @@ DeleteToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_ExtendLicenseConsumption.go.snap b/service/licensemanager/snapshot/api_op_ExtendLicenseConsumption.go.snap index 37eff3c10bd..fe16d39bbbb 100644 --- a/service/licensemanager/snapshot/api_op_ExtendLicenseConsumption.go.snap +++ b/service/licensemanager/snapshot/api_op_ExtendLicenseConsumption.go.snap @@ -14,7 +14,6 @@ ExtendLicenseConsumption Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_GetAccessToken.go.snap b/service/licensemanager/snapshot/api_op_GetAccessToken.go.snap index 0e0fd91324e..0a05c06e6d9 100644 --- a/service/licensemanager/snapshot/api_op_GetAccessToken.go.snap +++ b/service/licensemanager/snapshot/api_op_GetAccessToken.go.snap @@ -14,7 +14,6 @@ GetAccessToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_GetGrant.go.snap b/service/licensemanager/snapshot/api_op_GetGrant.go.snap index a84d9a6e302..782575507ec 100644 --- a/service/licensemanager/snapshot/api_op_GetGrant.go.snap +++ b/service/licensemanager/snapshot/api_op_GetGrant.go.snap @@ -14,7 +14,6 @@ GetGrant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_GetLicense.go.snap b/service/licensemanager/snapshot/api_op_GetLicense.go.snap index aa6e7e6bc9f..c2ea1b0b566 100644 --- a/service/licensemanager/snapshot/api_op_GetLicense.go.snap +++ b/service/licensemanager/snapshot/api_op_GetLicense.go.snap @@ -14,7 +14,6 @@ GetLicense Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_GetLicenseConfiguration.go.snap b/service/licensemanager/snapshot/api_op_GetLicenseConfiguration.go.snap index f0fac1ba990..e8b04123606 100644 --- a/service/licensemanager/snapshot/api_op_GetLicenseConfiguration.go.snap +++ b/service/licensemanager/snapshot/api_op_GetLicenseConfiguration.go.snap @@ -14,7 +14,6 @@ GetLicenseConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_GetLicenseConversionTask.go.snap b/service/licensemanager/snapshot/api_op_GetLicenseConversionTask.go.snap index 0c638c89aed..210ba6f7c31 100644 --- a/service/licensemanager/snapshot/api_op_GetLicenseConversionTask.go.snap +++ b/service/licensemanager/snapshot/api_op_GetLicenseConversionTask.go.snap @@ -14,7 +14,6 @@ GetLicenseConversionTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_GetLicenseManagerReportGenerator.go.snap b/service/licensemanager/snapshot/api_op_GetLicenseManagerReportGenerator.go.snap index 12e84e01a74..b6210772ad1 100644 --- a/service/licensemanager/snapshot/api_op_GetLicenseManagerReportGenerator.go.snap +++ b/service/licensemanager/snapshot/api_op_GetLicenseManagerReportGenerator.go.snap @@ -14,7 +14,6 @@ GetLicenseManagerReportGenerator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_GetLicenseUsage.go.snap b/service/licensemanager/snapshot/api_op_GetLicenseUsage.go.snap index f64a842089d..13cf167387c 100644 --- a/service/licensemanager/snapshot/api_op_GetLicenseUsage.go.snap +++ b/service/licensemanager/snapshot/api_op_GetLicenseUsage.go.snap @@ -14,7 +14,6 @@ GetLicenseUsage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_GetServiceSettings.go.snap b/service/licensemanager/snapshot/api_op_GetServiceSettings.go.snap index f2ceeb2cbaa..62f3d0c3ccf 100644 --- a/service/licensemanager/snapshot/api_op_GetServiceSettings.go.snap +++ b/service/licensemanager/snapshot/api_op_GetServiceSettings.go.snap @@ -13,7 +13,6 @@ GetServiceSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_ListAssociationsForLicenseConfiguration.go.snap b/service/licensemanager/snapshot/api_op_ListAssociationsForLicenseConfiguration.go.snap index 24143f6b660..cb96b2decc0 100644 --- a/service/licensemanager/snapshot/api_op_ListAssociationsForLicenseConfiguration.go.snap +++ b/service/licensemanager/snapshot/api_op_ListAssociationsForLicenseConfiguration.go.snap @@ -14,7 +14,6 @@ ListAssociationsForLicenseConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_ListDistributedGrants.go.snap b/service/licensemanager/snapshot/api_op_ListDistributedGrants.go.snap index 05b305c64ee..d64d00b89fd 100644 --- a/service/licensemanager/snapshot/api_op_ListDistributedGrants.go.snap +++ b/service/licensemanager/snapshot/api_op_ListDistributedGrants.go.snap @@ -13,7 +13,6 @@ ListDistributedGrants Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_ListFailuresForLicenseConfigurationOperations.go.snap b/service/licensemanager/snapshot/api_op_ListFailuresForLicenseConfigurationOperations.go.snap index ee6251e647d..67eb587fe44 100644 --- a/service/licensemanager/snapshot/api_op_ListFailuresForLicenseConfigurationOperations.go.snap +++ b/service/licensemanager/snapshot/api_op_ListFailuresForLicenseConfigurationOperations.go.snap @@ -14,7 +14,6 @@ ListFailuresForLicenseConfigurationOperations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_ListLicenseConfigurations.go.snap b/service/licensemanager/snapshot/api_op_ListLicenseConfigurations.go.snap index e381e4da564..ae9364f4240 100644 --- a/service/licensemanager/snapshot/api_op_ListLicenseConfigurations.go.snap +++ b/service/licensemanager/snapshot/api_op_ListLicenseConfigurations.go.snap @@ -13,7 +13,6 @@ ListLicenseConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_ListLicenseConversionTasks.go.snap b/service/licensemanager/snapshot/api_op_ListLicenseConversionTasks.go.snap index a35a0a5c834..31f396c5756 100644 --- a/service/licensemanager/snapshot/api_op_ListLicenseConversionTasks.go.snap +++ b/service/licensemanager/snapshot/api_op_ListLicenseConversionTasks.go.snap @@ -13,7 +13,6 @@ ListLicenseConversionTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_ListLicenseManagerReportGenerators.go.snap b/service/licensemanager/snapshot/api_op_ListLicenseManagerReportGenerators.go.snap index 1302c2208d4..20cc0ed3bb4 100644 --- a/service/licensemanager/snapshot/api_op_ListLicenseManagerReportGenerators.go.snap +++ b/service/licensemanager/snapshot/api_op_ListLicenseManagerReportGenerators.go.snap @@ -13,7 +13,6 @@ ListLicenseManagerReportGenerators Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_ListLicenseSpecificationsForResource.go.snap b/service/licensemanager/snapshot/api_op_ListLicenseSpecificationsForResource.go.snap index 7c3ba492467..43401bdee11 100644 --- a/service/licensemanager/snapshot/api_op_ListLicenseSpecificationsForResource.go.snap +++ b/service/licensemanager/snapshot/api_op_ListLicenseSpecificationsForResource.go.snap @@ -14,7 +14,6 @@ ListLicenseSpecificationsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_ListLicenseVersions.go.snap b/service/licensemanager/snapshot/api_op_ListLicenseVersions.go.snap index 47879f86a29..61495f5d6ec 100644 --- a/service/licensemanager/snapshot/api_op_ListLicenseVersions.go.snap +++ b/service/licensemanager/snapshot/api_op_ListLicenseVersions.go.snap @@ -14,7 +14,6 @@ ListLicenseVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_ListLicenses.go.snap b/service/licensemanager/snapshot/api_op_ListLicenses.go.snap index 416372d5d68..12e2fd2da2f 100644 --- a/service/licensemanager/snapshot/api_op_ListLicenses.go.snap +++ b/service/licensemanager/snapshot/api_op_ListLicenses.go.snap @@ -13,7 +13,6 @@ ListLicenses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_ListReceivedGrants.go.snap b/service/licensemanager/snapshot/api_op_ListReceivedGrants.go.snap index 62c0922db77..2edb039453e 100644 --- a/service/licensemanager/snapshot/api_op_ListReceivedGrants.go.snap +++ b/service/licensemanager/snapshot/api_op_ListReceivedGrants.go.snap @@ -13,7 +13,6 @@ ListReceivedGrants Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_ListReceivedGrantsForOrganization.go.snap b/service/licensemanager/snapshot/api_op_ListReceivedGrantsForOrganization.go.snap index fd4ef965c8e..0b27d6c2a02 100644 --- a/service/licensemanager/snapshot/api_op_ListReceivedGrantsForOrganization.go.snap +++ b/service/licensemanager/snapshot/api_op_ListReceivedGrantsForOrganization.go.snap @@ -14,7 +14,6 @@ ListReceivedGrantsForOrganization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_ListReceivedLicenses.go.snap b/service/licensemanager/snapshot/api_op_ListReceivedLicenses.go.snap index 8d16f24852a..bf453b519e5 100644 --- a/service/licensemanager/snapshot/api_op_ListReceivedLicenses.go.snap +++ b/service/licensemanager/snapshot/api_op_ListReceivedLicenses.go.snap @@ -13,7 +13,6 @@ ListReceivedLicenses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_ListReceivedLicensesForOrganization.go.snap b/service/licensemanager/snapshot/api_op_ListReceivedLicensesForOrganization.go.snap index 75481114a96..42c04bb7054 100644 --- a/service/licensemanager/snapshot/api_op_ListReceivedLicensesForOrganization.go.snap +++ b/service/licensemanager/snapshot/api_op_ListReceivedLicensesForOrganization.go.snap @@ -13,7 +13,6 @@ ListReceivedLicensesForOrganization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_ListResourceInventory.go.snap b/service/licensemanager/snapshot/api_op_ListResourceInventory.go.snap index 2aa9ec035e6..91aaef627ec 100644 --- a/service/licensemanager/snapshot/api_op_ListResourceInventory.go.snap +++ b/service/licensemanager/snapshot/api_op_ListResourceInventory.go.snap @@ -14,7 +14,6 @@ ListResourceInventory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_ListTagsForResource.go.snap b/service/licensemanager/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/licensemanager/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/licensemanager/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_ListTokens.go.snap b/service/licensemanager/snapshot/api_op_ListTokens.go.snap index 3b066430b18..6d8af9a2c20 100644 --- a/service/licensemanager/snapshot/api_op_ListTokens.go.snap +++ b/service/licensemanager/snapshot/api_op_ListTokens.go.snap @@ -13,7 +13,6 @@ ListTokens Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_ListUsageForLicenseConfiguration.go.snap b/service/licensemanager/snapshot/api_op_ListUsageForLicenseConfiguration.go.snap index ea29e70dbe1..2e7403ac7ac 100644 --- a/service/licensemanager/snapshot/api_op_ListUsageForLicenseConfiguration.go.snap +++ b/service/licensemanager/snapshot/api_op_ListUsageForLicenseConfiguration.go.snap @@ -14,7 +14,6 @@ ListUsageForLicenseConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_RejectGrant.go.snap b/service/licensemanager/snapshot/api_op_RejectGrant.go.snap index bf1f1c0c508..07d60bc26b8 100644 --- a/service/licensemanager/snapshot/api_op_RejectGrant.go.snap +++ b/service/licensemanager/snapshot/api_op_RejectGrant.go.snap @@ -14,7 +14,6 @@ RejectGrant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_TagResource.go.snap b/service/licensemanager/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/licensemanager/snapshot/api_op_TagResource.go.snap +++ b/service/licensemanager/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_UntagResource.go.snap b/service/licensemanager/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/licensemanager/snapshot/api_op_UntagResource.go.snap +++ b/service/licensemanager/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_UpdateLicenseConfiguration.go.snap b/service/licensemanager/snapshot/api_op_UpdateLicenseConfiguration.go.snap index 3b3f63cbe0e..dd6ff00295a 100644 --- a/service/licensemanager/snapshot/api_op_UpdateLicenseConfiguration.go.snap +++ b/service/licensemanager/snapshot/api_op_UpdateLicenseConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateLicenseConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_UpdateLicenseManagerReportGenerator.go.snap b/service/licensemanager/snapshot/api_op_UpdateLicenseManagerReportGenerator.go.snap index ff0f92d8ec0..fcd26ace836 100644 --- a/service/licensemanager/snapshot/api_op_UpdateLicenseManagerReportGenerator.go.snap +++ b/service/licensemanager/snapshot/api_op_UpdateLicenseManagerReportGenerator.go.snap @@ -14,7 +14,6 @@ UpdateLicenseManagerReportGenerator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_UpdateLicenseSpecificationsForResource.go.snap b/service/licensemanager/snapshot/api_op_UpdateLicenseSpecificationsForResource.go.snap index ae1fe3d31de..79caf5eee45 100644 --- a/service/licensemanager/snapshot/api_op_UpdateLicenseSpecificationsForResource.go.snap +++ b/service/licensemanager/snapshot/api_op_UpdateLicenseSpecificationsForResource.go.snap @@ -14,7 +14,6 @@ UpdateLicenseSpecificationsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanager/snapshot/api_op_UpdateServiceSettings.go.snap b/service/licensemanager/snapshot/api_op_UpdateServiceSettings.go.snap index abd55d46df1..751a79d6f66 100644 --- a/service/licensemanager/snapshot/api_op_UpdateServiceSettings.go.snap +++ b/service/licensemanager/snapshot/api_op_UpdateServiceSettings.go.snap @@ -14,7 +14,6 @@ UpdateServiceSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanagerlinuxsubscriptions/api_client.go b/service/licensemanagerlinuxsubscriptions/api_client.go index 4b168b94577..a6e4e3560f6 100644 --- a/service/licensemanagerlinuxsubscriptions/api_client.go +++ b/service/licensemanagerlinuxsubscriptions/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/licensemanagerlinuxsubscriptions/api_op_DeregisterSubscriptionProvider.go b/service/licensemanagerlinuxsubscriptions/api_op_DeregisterSubscriptionProvider.go index 3041b2f3ea9..423e06b4113 100644 --- a/service/licensemanagerlinuxsubscriptions/api_op_DeregisterSubscriptionProvider.go +++ b/service/licensemanagerlinuxsubscriptions/api_op_DeregisterSubscriptionProvider.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeregisterSubscriptionProviderMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterSubscriptionProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerlinuxsubscriptions/api_op_GetRegisteredSubscriptionProvider.go b/service/licensemanagerlinuxsubscriptions/api_op_GetRegisteredSubscriptionProvider.go index 3a59072cbca..11d31dde453 100644 --- a/service/licensemanagerlinuxsubscriptions/api_op_GetRegisteredSubscriptionProvider.go +++ b/service/licensemanagerlinuxsubscriptions/api_op_GetRegisteredSubscriptionProvider.go @@ -134,9 +134,6 @@ func (c *Client) addOperationGetRegisteredSubscriptionProviderMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRegisteredSubscriptionProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerlinuxsubscriptions/api_op_GetServiceSettings.go b/service/licensemanagerlinuxsubscriptions/api_op_GetServiceSettings.go index 975b6afffca..a9243663c10 100644 --- a/service/licensemanagerlinuxsubscriptions/api_op_GetServiceSettings.go +++ b/service/licensemanagerlinuxsubscriptions/api_op_GetServiceSettings.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetServiceSettingsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServiceSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/licensemanagerlinuxsubscriptions/api_op_ListLinuxSubscriptionInstances.go b/service/licensemanagerlinuxsubscriptions/api_op_ListLinuxSubscriptionInstances.go index 78327f60d30..7f2df838533 100644 --- a/service/licensemanagerlinuxsubscriptions/api_op_ListLinuxSubscriptionInstances.go +++ b/service/licensemanagerlinuxsubscriptions/api_op_ListLinuxSubscriptionInstances.go @@ -158,9 +158,6 @@ func (c *Client) addOperationListLinuxSubscriptionInstancesMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLinuxSubscriptionInstances(options.Region), middleware.Before); err != nil { return err } diff --git a/service/licensemanagerlinuxsubscriptions/api_op_ListLinuxSubscriptions.go b/service/licensemanagerlinuxsubscriptions/api_op_ListLinuxSubscriptions.go index 9970def310f..7c0fb2ca7b9 100644 --- a/service/licensemanagerlinuxsubscriptions/api_op_ListLinuxSubscriptions.go +++ b/service/licensemanagerlinuxsubscriptions/api_op_ListLinuxSubscriptions.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListLinuxSubscriptionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLinuxSubscriptions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/licensemanagerlinuxsubscriptions/api_op_ListRegisteredSubscriptionProviders.go b/service/licensemanagerlinuxsubscriptions/api_op_ListRegisteredSubscriptionProviders.go index e326cd50ac6..0a0ae2d8e42 100644 --- a/service/licensemanagerlinuxsubscriptions/api_op_ListRegisteredSubscriptionProviders.go +++ b/service/licensemanagerlinuxsubscriptions/api_op_ListRegisteredSubscriptionProviders.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListRegisteredSubscriptionProvidersMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRegisteredSubscriptionProviders(options.Region), middleware.Before); err != nil { return err } diff --git a/service/licensemanagerlinuxsubscriptions/api_op_ListTagsForResource.go b/service/licensemanagerlinuxsubscriptions/api_op_ListTagsForResource.go index b709183ccfd..c1858a6a187 100644 --- a/service/licensemanagerlinuxsubscriptions/api_op_ListTagsForResource.go +++ b/service/licensemanagerlinuxsubscriptions/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerlinuxsubscriptions/api_op_RegisterSubscriptionProvider.go b/service/licensemanagerlinuxsubscriptions/api_op_RegisterSubscriptionProvider.go index e4a97f792cd..6bd903f07cc 100644 --- a/service/licensemanagerlinuxsubscriptions/api_op_RegisterSubscriptionProvider.go +++ b/service/licensemanagerlinuxsubscriptions/api_op_RegisterSubscriptionProvider.go @@ -133,9 +133,6 @@ func (c *Client) addOperationRegisterSubscriptionProviderMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterSubscriptionProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerlinuxsubscriptions/api_op_TagResource.go b/service/licensemanagerlinuxsubscriptions/api_op_TagResource.go index dd205b668b6..49e68385099 100644 --- a/service/licensemanagerlinuxsubscriptions/api_op_TagResource.go +++ b/service/licensemanagerlinuxsubscriptions/api_op_TagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerlinuxsubscriptions/api_op_UntagResource.go b/service/licensemanagerlinuxsubscriptions/api_op_UntagResource.go index 8a95da2f3cc..7a56747067c 100644 --- a/service/licensemanagerlinuxsubscriptions/api_op_UntagResource.go +++ b/service/licensemanagerlinuxsubscriptions/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerlinuxsubscriptions/api_op_UpdateServiceSettings.go b/service/licensemanagerlinuxsubscriptions/api_op_UpdateServiceSettings.go index dab8006c272..66aafca6b33 100644 --- a/service/licensemanagerlinuxsubscriptions/api_op_UpdateServiceSettings.go +++ b/service/licensemanagerlinuxsubscriptions/api_op_UpdateServiceSettings.go @@ -139,9 +139,6 @@ func (c *Client) addOperationUpdateServiceSettingsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateServiceSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerlinuxsubscriptions/snapshot/api_op_DeregisterSubscriptionProvider.go.snap b/service/licensemanagerlinuxsubscriptions/snapshot/api_op_DeregisterSubscriptionProvider.go.snap index a01fd69d22b..6c40c00caf9 100644 --- a/service/licensemanagerlinuxsubscriptions/snapshot/api_op_DeregisterSubscriptionProvider.go.snap +++ b/service/licensemanagerlinuxsubscriptions/snapshot/api_op_DeregisterSubscriptionProvider.go.snap @@ -14,7 +14,6 @@ DeregisterSubscriptionProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanagerlinuxsubscriptions/snapshot/api_op_GetRegisteredSubscriptionProvider.go.snap b/service/licensemanagerlinuxsubscriptions/snapshot/api_op_GetRegisteredSubscriptionProvider.go.snap index 50a21ae2e38..4ae86b1b075 100644 --- a/service/licensemanagerlinuxsubscriptions/snapshot/api_op_GetRegisteredSubscriptionProvider.go.snap +++ b/service/licensemanagerlinuxsubscriptions/snapshot/api_op_GetRegisteredSubscriptionProvider.go.snap @@ -14,7 +14,6 @@ GetRegisteredSubscriptionProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanagerlinuxsubscriptions/snapshot/api_op_GetServiceSettings.go.snap b/service/licensemanagerlinuxsubscriptions/snapshot/api_op_GetServiceSettings.go.snap index f2ceeb2cbaa..62f3d0c3ccf 100644 --- a/service/licensemanagerlinuxsubscriptions/snapshot/api_op_GetServiceSettings.go.snap +++ b/service/licensemanagerlinuxsubscriptions/snapshot/api_op_GetServiceSettings.go.snap @@ -13,7 +13,6 @@ GetServiceSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanagerlinuxsubscriptions/snapshot/api_op_ListLinuxSubscriptionInstances.go.snap b/service/licensemanagerlinuxsubscriptions/snapshot/api_op_ListLinuxSubscriptionInstances.go.snap index 5cfd05570f5..6f9ada55e95 100644 --- a/service/licensemanagerlinuxsubscriptions/snapshot/api_op_ListLinuxSubscriptionInstances.go.snap +++ b/service/licensemanagerlinuxsubscriptions/snapshot/api_op_ListLinuxSubscriptionInstances.go.snap @@ -13,7 +13,6 @@ ListLinuxSubscriptionInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanagerlinuxsubscriptions/snapshot/api_op_ListLinuxSubscriptions.go.snap b/service/licensemanagerlinuxsubscriptions/snapshot/api_op_ListLinuxSubscriptions.go.snap index 69d1eeba94c..62f3f575ddd 100644 --- a/service/licensemanagerlinuxsubscriptions/snapshot/api_op_ListLinuxSubscriptions.go.snap +++ b/service/licensemanagerlinuxsubscriptions/snapshot/api_op_ListLinuxSubscriptions.go.snap @@ -13,7 +13,6 @@ ListLinuxSubscriptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanagerlinuxsubscriptions/snapshot/api_op_ListRegisteredSubscriptionProviders.go.snap b/service/licensemanagerlinuxsubscriptions/snapshot/api_op_ListRegisteredSubscriptionProviders.go.snap index acf3b3c79a4..e4a39ab1d2c 100644 --- a/service/licensemanagerlinuxsubscriptions/snapshot/api_op_ListRegisteredSubscriptionProviders.go.snap +++ b/service/licensemanagerlinuxsubscriptions/snapshot/api_op_ListRegisteredSubscriptionProviders.go.snap @@ -13,7 +13,6 @@ ListRegisteredSubscriptionProviders Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanagerlinuxsubscriptions/snapshot/api_op_ListTagsForResource.go.snap b/service/licensemanagerlinuxsubscriptions/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/licensemanagerlinuxsubscriptions/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/licensemanagerlinuxsubscriptions/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanagerlinuxsubscriptions/snapshot/api_op_RegisterSubscriptionProvider.go.snap b/service/licensemanagerlinuxsubscriptions/snapshot/api_op_RegisterSubscriptionProvider.go.snap index 2717bb5db6b..40dd96f1bc4 100644 --- a/service/licensemanagerlinuxsubscriptions/snapshot/api_op_RegisterSubscriptionProvider.go.snap +++ b/service/licensemanagerlinuxsubscriptions/snapshot/api_op_RegisterSubscriptionProvider.go.snap @@ -14,7 +14,6 @@ RegisterSubscriptionProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanagerlinuxsubscriptions/snapshot/api_op_TagResource.go.snap b/service/licensemanagerlinuxsubscriptions/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/licensemanagerlinuxsubscriptions/snapshot/api_op_TagResource.go.snap +++ b/service/licensemanagerlinuxsubscriptions/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanagerlinuxsubscriptions/snapshot/api_op_UntagResource.go.snap b/service/licensemanagerlinuxsubscriptions/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/licensemanagerlinuxsubscriptions/snapshot/api_op_UntagResource.go.snap +++ b/service/licensemanagerlinuxsubscriptions/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanagerlinuxsubscriptions/snapshot/api_op_UpdateServiceSettings.go.snap b/service/licensemanagerlinuxsubscriptions/snapshot/api_op_UpdateServiceSettings.go.snap index abd55d46df1..751a79d6f66 100644 --- a/service/licensemanagerlinuxsubscriptions/snapshot/api_op_UpdateServiceSettings.go.snap +++ b/service/licensemanagerlinuxsubscriptions/snapshot/api_op_UpdateServiceSettings.go.snap @@ -14,7 +14,6 @@ UpdateServiceSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanagerusersubscriptions/api_client.go b/service/licensemanagerusersubscriptions/api_client.go index dc25a2a12fd..d0569fbe548 100644 --- a/service/licensemanagerusersubscriptions/api_client.go +++ b/service/licensemanagerusersubscriptions/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/licensemanagerusersubscriptions/api_op_AssociateUser.go b/service/licensemanagerusersubscriptions/api_op_AssociateUser.go index 2afe5eb6f38..0a9aafaac1e 100644 --- a/service/licensemanagerusersubscriptions/api_op_AssociateUser.go +++ b/service/licensemanagerusersubscriptions/api_op_AssociateUser.go @@ -138,9 +138,6 @@ func (c *Client) addOperationAssociateUserMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerusersubscriptions/api_op_CreateLicenseServerEndpoint.go b/service/licensemanagerusersubscriptions/api_op_CreateLicenseServerEndpoint.go index cb36a4d8009..86911ef4328 100644 --- a/service/licensemanagerusersubscriptions/api_op_CreateLicenseServerEndpoint.go +++ b/service/licensemanagerusersubscriptions/api_op_CreateLicenseServerEndpoint.go @@ -129,9 +129,6 @@ func (c *Client) addOperationCreateLicenseServerEndpointMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLicenseServerEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerusersubscriptions/api_op_DeleteLicenseServerEndpoint.go b/service/licensemanagerusersubscriptions/api_op_DeleteLicenseServerEndpoint.go index 0d8250f5bf4..992a9be84b2 100644 --- a/service/licensemanagerusersubscriptions/api_op_DeleteLicenseServerEndpoint.go +++ b/service/licensemanagerusersubscriptions/api_op_DeleteLicenseServerEndpoint.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteLicenseServerEndpointMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLicenseServerEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerusersubscriptions/api_op_DeregisterIdentityProvider.go b/service/licensemanagerusersubscriptions/api_op_DeregisterIdentityProvider.go index 1d9769e7823..95ae6ffab76 100644 --- a/service/licensemanagerusersubscriptions/api_op_DeregisterIdentityProvider.go +++ b/service/licensemanagerusersubscriptions/api_op_DeregisterIdentityProvider.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeregisterIdentityProviderMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterIdentityProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerusersubscriptions/api_op_DisassociateUser.go b/service/licensemanagerusersubscriptions/api_op_DisassociateUser.go index 7ae4ed21e35..c6169571b0c 100644 --- a/service/licensemanagerusersubscriptions/api_op_DisassociateUser.go +++ b/service/licensemanagerusersubscriptions/api_op_DisassociateUser.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDisassociateUserMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerusersubscriptions/api_op_ListIdentityProviders.go b/service/licensemanagerusersubscriptions/api_op_ListIdentityProviders.go index 991fe9fca41..995ab00b600 100644 --- a/service/licensemanagerusersubscriptions/api_op_ListIdentityProviders.go +++ b/service/licensemanagerusersubscriptions/api_op_ListIdentityProviders.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListIdentityProvidersMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIdentityProviders(options.Region), middleware.Before); err != nil { return err } diff --git a/service/licensemanagerusersubscriptions/api_op_ListInstances.go b/service/licensemanagerusersubscriptions/api_op_ListInstances.go index 15eaf09bf12..c811db71771 100644 --- a/service/licensemanagerusersubscriptions/api_op_ListInstances.go +++ b/service/licensemanagerusersubscriptions/api_op_ListInstances.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListInstancesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInstances(options.Region), middleware.Before); err != nil { return err } diff --git a/service/licensemanagerusersubscriptions/api_op_ListLicenseServerEndpoints.go b/service/licensemanagerusersubscriptions/api_op_ListLicenseServerEndpoints.go index 2390c065d0c..4257d266b7c 100644 --- a/service/licensemanagerusersubscriptions/api_op_ListLicenseServerEndpoints.go +++ b/service/licensemanagerusersubscriptions/api_op_ListLicenseServerEndpoints.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListLicenseServerEndpointsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLicenseServerEndpoints(options.Region), middleware.Before); err != nil { return err } diff --git a/service/licensemanagerusersubscriptions/api_op_ListProductSubscriptions.go b/service/licensemanagerusersubscriptions/api_op_ListProductSubscriptions.go index 9a1fa7c2805..62f5dbfd8f7 100644 --- a/service/licensemanagerusersubscriptions/api_op_ListProductSubscriptions.go +++ b/service/licensemanagerusersubscriptions/api_op_ListProductSubscriptions.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListProductSubscriptionsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListProductSubscriptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerusersubscriptions/api_op_ListTagsForResource.go b/service/licensemanagerusersubscriptions/api_op_ListTagsForResource.go index 5b6ac8dbe2c..6a25a09b43a 100644 --- a/service/licensemanagerusersubscriptions/api_op_ListTagsForResource.go +++ b/service/licensemanagerusersubscriptions/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerusersubscriptions/api_op_ListUserAssociations.go b/service/licensemanagerusersubscriptions/api_op_ListUserAssociations.go index 056b00924f7..8b7b20044c5 100644 --- a/service/licensemanagerusersubscriptions/api_op_ListUserAssociations.go +++ b/service/licensemanagerusersubscriptions/api_op_ListUserAssociations.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListUserAssociationsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListUserAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerusersubscriptions/api_op_RegisterIdentityProvider.go b/service/licensemanagerusersubscriptions/api_op_RegisterIdentityProvider.go index de7bd5e1410..bdab145a5a2 100644 --- a/service/licensemanagerusersubscriptions/api_op_RegisterIdentityProvider.go +++ b/service/licensemanagerusersubscriptions/api_op_RegisterIdentityProvider.go @@ -129,9 +129,6 @@ func (c *Client) addOperationRegisterIdentityProviderMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterIdentityProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerusersubscriptions/api_op_StartProductSubscription.go b/service/licensemanagerusersubscriptions/api_op_StartProductSubscription.go index ecbe1b58faf..d72efb14373 100644 --- a/service/licensemanagerusersubscriptions/api_op_StartProductSubscription.go +++ b/service/licensemanagerusersubscriptions/api_op_StartProductSubscription.go @@ -141,9 +141,6 @@ func (c *Client) addOperationStartProductSubscriptionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartProductSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerusersubscriptions/api_op_StopProductSubscription.go b/service/licensemanagerusersubscriptions/api_op_StopProductSubscription.go index ef1ff9ce112..37dcd682d9f 100644 --- a/service/licensemanagerusersubscriptions/api_op_StopProductSubscription.go +++ b/service/licensemanagerusersubscriptions/api_op_StopProductSubscription.go @@ -128,9 +128,6 @@ func (c *Client) addOperationStopProductSubscriptionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopProductSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerusersubscriptions/api_op_TagResource.go b/service/licensemanagerusersubscriptions/api_op_TagResource.go index 69feef18e44..4fdfe782ee7 100644 --- a/service/licensemanagerusersubscriptions/api_op_TagResource.go +++ b/service/licensemanagerusersubscriptions/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerusersubscriptions/api_op_UntagResource.go b/service/licensemanagerusersubscriptions/api_op_UntagResource.go index 89894944d54..970cf998f4b 100644 --- a/service/licensemanagerusersubscriptions/api_op_UntagResource.go +++ b/service/licensemanagerusersubscriptions/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerusersubscriptions/api_op_UpdateIdentityProviderSettings.go b/service/licensemanagerusersubscriptions/api_op_UpdateIdentityProviderSettings.go index 2f25ade0125..7a745a82b0b 100644 --- a/service/licensemanagerusersubscriptions/api_op_UpdateIdentityProviderSettings.go +++ b/service/licensemanagerusersubscriptions/api_op_UpdateIdentityProviderSettings.go @@ -135,9 +135,6 @@ func (c *Client) addOperationUpdateIdentityProviderSettingsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateIdentityProviderSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/licensemanagerusersubscriptions/snapshot/api_op_AssociateUser.go.snap b/service/licensemanagerusersubscriptions/snapshot/api_op_AssociateUser.go.snap index 49b50c2e823..7e78baa9724 100644 --- a/service/licensemanagerusersubscriptions/snapshot/api_op_AssociateUser.go.snap +++ b/service/licensemanagerusersubscriptions/snapshot/api_op_AssociateUser.go.snap @@ -14,7 +14,6 @@ AssociateUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanagerusersubscriptions/snapshot/api_op_CreateLicenseServerEndpoint.go.snap b/service/licensemanagerusersubscriptions/snapshot/api_op_CreateLicenseServerEndpoint.go.snap index 3cfe303b1d6..1e453762ad1 100644 --- a/service/licensemanagerusersubscriptions/snapshot/api_op_CreateLicenseServerEndpoint.go.snap +++ b/service/licensemanagerusersubscriptions/snapshot/api_op_CreateLicenseServerEndpoint.go.snap @@ -14,7 +14,6 @@ CreateLicenseServerEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanagerusersubscriptions/snapshot/api_op_DeleteLicenseServerEndpoint.go.snap b/service/licensemanagerusersubscriptions/snapshot/api_op_DeleteLicenseServerEndpoint.go.snap index 5bf9b29f986..a2da8476031 100644 --- a/service/licensemanagerusersubscriptions/snapshot/api_op_DeleteLicenseServerEndpoint.go.snap +++ b/service/licensemanagerusersubscriptions/snapshot/api_op_DeleteLicenseServerEndpoint.go.snap @@ -14,7 +14,6 @@ DeleteLicenseServerEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanagerusersubscriptions/snapshot/api_op_DeregisterIdentityProvider.go.snap b/service/licensemanagerusersubscriptions/snapshot/api_op_DeregisterIdentityProvider.go.snap index aa20ec8fd8b..6e95e10da0d 100644 --- a/service/licensemanagerusersubscriptions/snapshot/api_op_DeregisterIdentityProvider.go.snap +++ b/service/licensemanagerusersubscriptions/snapshot/api_op_DeregisterIdentityProvider.go.snap @@ -14,7 +14,6 @@ DeregisterIdentityProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanagerusersubscriptions/snapshot/api_op_DisassociateUser.go.snap b/service/licensemanagerusersubscriptions/snapshot/api_op_DisassociateUser.go.snap index b0978a27f2a..00e3729b2da 100644 --- a/service/licensemanagerusersubscriptions/snapshot/api_op_DisassociateUser.go.snap +++ b/service/licensemanagerusersubscriptions/snapshot/api_op_DisassociateUser.go.snap @@ -14,7 +14,6 @@ DisassociateUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanagerusersubscriptions/snapshot/api_op_ListIdentityProviders.go.snap b/service/licensemanagerusersubscriptions/snapshot/api_op_ListIdentityProviders.go.snap index e619f83016b..c51acc72084 100644 --- a/service/licensemanagerusersubscriptions/snapshot/api_op_ListIdentityProviders.go.snap +++ b/service/licensemanagerusersubscriptions/snapshot/api_op_ListIdentityProviders.go.snap @@ -13,7 +13,6 @@ ListIdentityProviders Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanagerusersubscriptions/snapshot/api_op_ListInstances.go.snap b/service/licensemanagerusersubscriptions/snapshot/api_op_ListInstances.go.snap index 139cc49a2f4..92646b4f428 100644 --- a/service/licensemanagerusersubscriptions/snapshot/api_op_ListInstances.go.snap +++ b/service/licensemanagerusersubscriptions/snapshot/api_op_ListInstances.go.snap @@ -13,7 +13,6 @@ ListInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanagerusersubscriptions/snapshot/api_op_ListLicenseServerEndpoints.go.snap b/service/licensemanagerusersubscriptions/snapshot/api_op_ListLicenseServerEndpoints.go.snap index ab4e45ab6ac..0ca3106fac6 100644 --- a/service/licensemanagerusersubscriptions/snapshot/api_op_ListLicenseServerEndpoints.go.snap +++ b/service/licensemanagerusersubscriptions/snapshot/api_op_ListLicenseServerEndpoints.go.snap @@ -13,7 +13,6 @@ ListLicenseServerEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanagerusersubscriptions/snapshot/api_op_ListProductSubscriptions.go.snap b/service/licensemanagerusersubscriptions/snapshot/api_op_ListProductSubscriptions.go.snap index 465eaecf96c..63afa943984 100644 --- a/service/licensemanagerusersubscriptions/snapshot/api_op_ListProductSubscriptions.go.snap +++ b/service/licensemanagerusersubscriptions/snapshot/api_op_ListProductSubscriptions.go.snap @@ -14,7 +14,6 @@ ListProductSubscriptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanagerusersubscriptions/snapshot/api_op_ListTagsForResource.go.snap b/service/licensemanagerusersubscriptions/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/licensemanagerusersubscriptions/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/licensemanagerusersubscriptions/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanagerusersubscriptions/snapshot/api_op_ListUserAssociations.go.snap b/service/licensemanagerusersubscriptions/snapshot/api_op_ListUserAssociations.go.snap index 99d37c7f283..d32acc443cb 100644 --- a/service/licensemanagerusersubscriptions/snapshot/api_op_ListUserAssociations.go.snap +++ b/service/licensemanagerusersubscriptions/snapshot/api_op_ListUserAssociations.go.snap @@ -14,7 +14,6 @@ ListUserAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanagerusersubscriptions/snapshot/api_op_RegisterIdentityProvider.go.snap b/service/licensemanagerusersubscriptions/snapshot/api_op_RegisterIdentityProvider.go.snap index 8f8ab233bdd..40a03ce2495 100644 --- a/service/licensemanagerusersubscriptions/snapshot/api_op_RegisterIdentityProvider.go.snap +++ b/service/licensemanagerusersubscriptions/snapshot/api_op_RegisterIdentityProvider.go.snap @@ -14,7 +14,6 @@ RegisterIdentityProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanagerusersubscriptions/snapshot/api_op_StartProductSubscription.go.snap b/service/licensemanagerusersubscriptions/snapshot/api_op_StartProductSubscription.go.snap index fecc4e78b5a..216908370c9 100644 --- a/service/licensemanagerusersubscriptions/snapshot/api_op_StartProductSubscription.go.snap +++ b/service/licensemanagerusersubscriptions/snapshot/api_op_StartProductSubscription.go.snap @@ -14,7 +14,6 @@ StartProductSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanagerusersubscriptions/snapshot/api_op_StopProductSubscription.go.snap b/service/licensemanagerusersubscriptions/snapshot/api_op_StopProductSubscription.go.snap index ba64d655356..0e56016c913 100644 --- a/service/licensemanagerusersubscriptions/snapshot/api_op_StopProductSubscription.go.snap +++ b/service/licensemanagerusersubscriptions/snapshot/api_op_StopProductSubscription.go.snap @@ -14,7 +14,6 @@ StopProductSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanagerusersubscriptions/snapshot/api_op_TagResource.go.snap b/service/licensemanagerusersubscriptions/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/licensemanagerusersubscriptions/snapshot/api_op_TagResource.go.snap +++ b/service/licensemanagerusersubscriptions/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanagerusersubscriptions/snapshot/api_op_UntagResource.go.snap b/service/licensemanagerusersubscriptions/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/licensemanagerusersubscriptions/snapshot/api_op_UntagResource.go.snap +++ b/service/licensemanagerusersubscriptions/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/licensemanagerusersubscriptions/snapshot/api_op_UpdateIdentityProviderSettings.go.snap b/service/licensemanagerusersubscriptions/snapshot/api_op_UpdateIdentityProviderSettings.go.snap index 15f1e8d8dcc..42de8a80f84 100644 --- a/service/licensemanagerusersubscriptions/snapshot/api_op_UpdateIdentityProviderSettings.go.snap +++ b/service/licensemanagerusersubscriptions/snapshot/api_op_UpdateIdentityProviderSettings.go.snap @@ -14,7 +14,6 @@ UpdateIdentityProviderSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/api_client.go b/service/lightsail/api_client.go index c27124d850b..ec5fa9e996d 100644 --- a/service/lightsail/api_client.go +++ b/service/lightsail/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/lightsail/api_op_AllocateStaticIp.go b/service/lightsail/api_op_AllocateStaticIp.go index 8e96684c2e0..e612046b41c 100644 --- a/service/lightsail/api_op_AllocateStaticIp.go +++ b/service/lightsail/api_op_AllocateStaticIp.go @@ -114,9 +114,6 @@ func (c *Client) addOperationAllocateStaticIpMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAllocateStaticIpValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_AttachCertificateToDistribution.go b/service/lightsail/api_op_AttachCertificateToDistribution.go index 417ff4a5f2e..8e71a5bc43e 100644 --- a/service/lightsail/api_op_AttachCertificateToDistribution.go +++ b/service/lightsail/api_op_AttachCertificateToDistribution.go @@ -146,9 +146,6 @@ func (c *Client) addOperationAttachCertificateToDistributionMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAttachCertificateToDistributionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_AttachDisk.go b/service/lightsail/api_op_AttachDisk.go index d1151753fb7..062d5a9c83d 100644 --- a/service/lightsail/api_op_AttachDisk.go +++ b/service/lightsail/api_op_AttachDisk.go @@ -137,9 +137,6 @@ func (c *Client) addOperationAttachDiskMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAttachDiskValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_AttachInstancesToLoadBalancer.go b/service/lightsail/api_op_AttachInstancesToLoadBalancer.go index c1a6d9078f1..b8d9838519f 100644 --- a/service/lightsail/api_op_AttachInstancesToLoadBalancer.go +++ b/service/lightsail/api_op_AttachInstancesToLoadBalancer.go @@ -135,9 +135,6 @@ func (c *Client) addOperationAttachInstancesToLoadBalancerMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAttachInstancesToLoadBalancerValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_AttachLoadBalancerTlsCertificate.go b/service/lightsail/api_op_AttachLoadBalancerTlsCertificate.go index bd2dcfd6dcc..c7856dcb0d5 100644 --- a/service/lightsail/api_op_AttachLoadBalancerTlsCertificate.go +++ b/service/lightsail/api_op_AttachLoadBalancerTlsCertificate.go @@ -136,9 +136,6 @@ func (c *Client) addOperationAttachLoadBalancerTlsCertificateMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAttachLoadBalancerTlsCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_AttachStaticIp.go b/service/lightsail/api_op_AttachStaticIp.go index 90fca89854d..1c6f4a4c313 100644 --- a/service/lightsail/api_op_AttachStaticIp.go +++ b/service/lightsail/api_op_AttachStaticIp.go @@ -119,9 +119,6 @@ func (c *Client) addOperationAttachStaticIpMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAttachStaticIpValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CloseInstancePublicPorts.go b/service/lightsail/api_op_CloseInstancePublicPorts.go index 576c9004329..3b29a6edbae 100644 --- a/service/lightsail/api_op_CloseInstancePublicPorts.go +++ b/service/lightsail/api_op_CloseInstancePublicPorts.go @@ -125,9 +125,6 @@ func (c *Client) addOperationCloseInstancePublicPortsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCloseInstancePublicPortsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CopySnapshot.go b/service/lightsail/api_op_CopySnapshot.go index 78abcc09f4b..e91036fe414 100644 --- a/service/lightsail/api_op_CopySnapshot.go +++ b/service/lightsail/api_op_CopySnapshot.go @@ -181,9 +181,6 @@ func (c *Client) addOperationCopySnapshotMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCopySnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateBucket.go b/service/lightsail/api_op_CreateBucket.go index 0af78ab1821..0493112de32 100644 --- a/service/lightsail/api_op_CreateBucket.go +++ b/service/lightsail/api_op_CreateBucket.go @@ -159,9 +159,6 @@ func (c *Client) addOperationCreateBucketMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBucketValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateBucketAccessKey.go b/service/lightsail/api_op_CreateBucketAccessKey.go index f58b8b4d96d..c3948ed3a36 100644 --- a/service/lightsail/api_op_CreateBucketAccessKey.go +++ b/service/lightsail/api_op_CreateBucketAccessKey.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateBucketAccessKeyMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBucketAccessKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateCertificate.go b/service/lightsail/api_op_CreateCertificate.go index fba035a42f2..f8bd7be1481 100644 --- a/service/lightsail/api_op_CreateCertificate.go +++ b/service/lightsail/api_op_CreateCertificate.go @@ -148,9 +148,6 @@ func (c *Client) addOperationCreateCertificateMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateCloudFormationStack.go b/service/lightsail/api_op_CreateCloudFormationStack.go index fe69c8eac63..ddc0e856cdb 100644 --- a/service/lightsail/api_op_CreateCloudFormationStack.go +++ b/service/lightsail/api_op_CreateCloudFormationStack.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCreateCloudFormationStackMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCloudFormationStackValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateContactMethod.go b/service/lightsail/api_op_CreateContactMethod.go index e7ee1c6b60c..a42df32101c 100644 --- a/service/lightsail/api_op_CreateContactMethod.go +++ b/service/lightsail/api_op_CreateContactMethod.go @@ -160,9 +160,6 @@ func (c *Client) addOperationCreateContactMethodMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateContactMethodValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateContainerService.go b/service/lightsail/api_op_CreateContainerService.go index 7fad2da0279..12c4c9763bc 100644 --- a/service/lightsail/api_op_CreateContainerService.go +++ b/service/lightsail/api_op_CreateContainerService.go @@ -207,9 +207,6 @@ func (c *Client) addOperationCreateContainerServiceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateContainerServiceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateContainerServiceDeployment.go b/service/lightsail/api_op_CreateContainerServiceDeployment.go index c9141a74fdf..ee6a049e21d 100644 --- a/service/lightsail/api_op_CreateContainerServiceDeployment.go +++ b/service/lightsail/api_op_CreateContainerServiceDeployment.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateContainerServiceDeploymentMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateContainerServiceDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateContainerServiceRegistryLogin.go b/service/lightsail/api_op_CreateContainerServiceRegistryLogin.go index 4564ecd18d8..e6a5956630e 100644 --- a/service/lightsail/api_op_CreateContainerServiceRegistryLogin.go +++ b/service/lightsail/api_op_CreateContainerServiceRegistryLogin.go @@ -127,9 +127,6 @@ func (c *Client) addOperationCreateContainerServiceRegistryLoginMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateContainerServiceRegistryLogin(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_CreateDisk.go b/service/lightsail/api_op_CreateDisk.go index 66567568db5..44d4362d173 100644 --- a/service/lightsail/api_op_CreateDisk.go +++ b/service/lightsail/api_op_CreateDisk.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCreateDiskMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDiskValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateDiskFromSnapshot.go b/service/lightsail/api_op_CreateDiskFromSnapshot.go index e909f4edc3d..c46b7117990 100644 --- a/service/lightsail/api_op_CreateDiskFromSnapshot.go +++ b/service/lightsail/api_op_CreateDiskFromSnapshot.go @@ -202,9 +202,6 @@ func (c *Client) addOperationCreateDiskFromSnapshotMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDiskFromSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateDiskSnapshot.go b/service/lightsail/api_op_CreateDiskSnapshot.go index 2001cf63888..e9fa044774f 100644 --- a/service/lightsail/api_op_CreateDiskSnapshot.go +++ b/service/lightsail/api_op_CreateDiskSnapshot.go @@ -160,9 +160,6 @@ func (c *Client) addOperationCreateDiskSnapshotMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDiskSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateDistribution.go b/service/lightsail/api_op_CreateDistribution.go index 5a40af23021..ffd731f2aa5 100644 --- a/service/lightsail/api_op_CreateDistribution.go +++ b/service/lightsail/api_op_CreateDistribution.go @@ -176,9 +176,6 @@ func (c *Client) addOperationCreateDistributionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDistributionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateDomain.go b/service/lightsail/api_op_CreateDomain.go index 7c6aa24577b..b3f1c57c22e 100644 --- a/service/lightsail/api_op_CreateDomain.go +++ b/service/lightsail/api_op_CreateDomain.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCreateDomainMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateDomainEntry.go b/service/lightsail/api_op_CreateDomainEntry.go index 136f84561f5..1e660324706 100644 --- a/service/lightsail/api_op_CreateDomainEntry.go +++ b/service/lightsail/api_op_CreateDomainEntry.go @@ -128,9 +128,6 @@ func (c *Client) addOperationCreateDomainEntryMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDomainEntryValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateGUISessionAccessDetails.go b/service/lightsail/api_op_CreateGUISessionAccessDetails.go index 93491093c7a..6b86fbb0382 100644 --- a/service/lightsail/api_op_CreateGUISessionAccessDetails.go +++ b/service/lightsail/api_op_CreateGUISessionAccessDetails.go @@ -129,9 +129,6 @@ func (c *Client) addOperationCreateGUISessionAccessDetailsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGUISessionAccessDetailsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateInstanceSnapshot.go b/service/lightsail/api_op_CreateInstanceSnapshot.go index 52d0f214499..214b82ce138 100644 --- a/service/lightsail/api_op_CreateInstanceSnapshot.go +++ b/service/lightsail/api_op_CreateInstanceSnapshot.go @@ -130,9 +130,6 @@ func (c *Client) addOperationCreateInstanceSnapshotMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateInstanceSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateInstances.go b/service/lightsail/api_op_CreateInstances.go index 6e0591f2eb0..2e4edef5772 100644 --- a/service/lightsail/api_op_CreateInstances.go +++ b/service/lightsail/api_op_CreateInstances.go @@ -186,9 +186,6 @@ func (c *Client) addOperationCreateInstancesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateInstancesFromSnapshot.go b/service/lightsail/api_op_CreateInstancesFromSnapshot.go index 9089069c13f..15a6e7c0384 100644 --- a/service/lightsail/api_op_CreateInstancesFromSnapshot.go +++ b/service/lightsail/api_op_CreateInstancesFromSnapshot.go @@ -228,9 +228,6 @@ func (c *Client) addOperationCreateInstancesFromSnapshotMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateInstancesFromSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateKeyPair.go b/service/lightsail/api_op_CreateKeyPair.go index d304ba04beb..25bdee20e56 100644 --- a/service/lightsail/api_op_CreateKeyPair.go +++ b/service/lightsail/api_op_CreateKeyPair.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateKeyPairMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateKeyPairValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateLoadBalancer.go b/service/lightsail/api_op_CreateLoadBalancer.go index e9e34ca7e1f..c19c255ec43 100644 --- a/service/lightsail/api_op_CreateLoadBalancer.go +++ b/service/lightsail/api_op_CreateLoadBalancer.go @@ -180,9 +180,6 @@ func (c *Client) addOperationCreateLoadBalancerMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLoadBalancerValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateLoadBalancerTlsCertificate.go b/service/lightsail/api_op_CreateLoadBalancerTlsCertificate.go index 4bea5c409d2..184bd47d50f 100644 --- a/service/lightsail/api_op_CreateLoadBalancerTlsCertificate.go +++ b/service/lightsail/api_op_CreateLoadBalancerTlsCertificate.go @@ -150,9 +150,6 @@ func (c *Client) addOperationCreateLoadBalancerTlsCertificateMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLoadBalancerTlsCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateRelationalDatabase.go b/service/lightsail/api_op_CreateRelationalDatabase.go index 7d9776fce50..e50c645e5ce 100644 --- a/service/lightsail/api_op_CreateRelationalDatabase.go +++ b/service/lightsail/api_op_CreateRelationalDatabase.go @@ -308,9 +308,6 @@ func (c *Client) addOperationCreateRelationalDatabaseMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRelationalDatabaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateRelationalDatabaseFromSnapshot.go b/service/lightsail/api_op_CreateRelationalDatabaseFromSnapshot.go index 9f15fbf22a8..29c3baddc2c 100644 --- a/service/lightsail/api_op_CreateRelationalDatabaseFromSnapshot.go +++ b/service/lightsail/api_op_CreateRelationalDatabaseFromSnapshot.go @@ -190,9 +190,6 @@ func (c *Client) addOperationCreateRelationalDatabaseFromSnapshotMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRelationalDatabaseFromSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_CreateRelationalDatabaseSnapshot.go b/service/lightsail/api_op_CreateRelationalDatabaseSnapshot.go index e15e7b46881..3f6ed9d6e72 100644 --- a/service/lightsail/api_op_CreateRelationalDatabaseSnapshot.go +++ b/service/lightsail/api_op_CreateRelationalDatabaseSnapshot.go @@ -137,9 +137,6 @@ func (c *Client) addOperationCreateRelationalDatabaseSnapshotMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRelationalDatabaseSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteAlarm.go b/service/lightsail/api_op_DeleteAlarm.go index ca36cfc9586..c909fced0d9 100644 --- a/service/lightsail/api_op_DeleteAlarm.go +++ b/service/lightsail/api_op_DeleteAlarm.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteAlarmMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAlarmValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteAutoSnapshot.go b/service/lightsail/api_op_DeleteAutoSnapshot.go index 1cc3f78f272..bc82b11bbc9 100644 --- a/service/lightsail/api_op_DeleteAutoSnapshot.go +++ b/service/lightsail/api_op_DeleteAutoSnapshot.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteAutoSnapshotMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAutoSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteBucket.go b/service/lightsail/api_op_DeleteBucket.go index 5845c0fb5ab..e48c99c8b84 100644 --- a/service/lightsail/api_op_DeleteBucket.go +++ b/service/lightsail/api_op_DeleteBucket.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDeleteBucketMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBucketValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteBucketAccessKey.go b/service/lightsail/api_op_DeleteBucketAccessKey.go index 1e2fa95e37f..78b2bb04bd7 100644 --- a/service/lightsail/api_op_DeleteBucketAccessKey.go +++ b/service/lightsail/api_op_DeleteBucketAccessKey.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDeleteBucketAccessKeyMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBucketAccessKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteCertificate.go b/service/lightsail/api_op_DeleteCertificate.go index 66b141cd0f7..83a143fcab5 100644 --- a/service/lightsail/api_op_DeleteCertificate.go +++ b/service/lightsail/api_op_DeleteCertificate.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteCertificateMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteContactMethod.go b/service/lightsail/api_op_DeleteContactMethod.go index 3a6cfcdad49..c465ec3e737 100644 --- a/service/lightsail/api_op_DeleteContactMethod.go +++ b/service/lightsail/api_op_DeleteContactMethod.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDeleteContactMethodMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteContactMethodValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteContainerImage.go b/service/lightsail/api_op_DeleteContainerImage.go index c924234c06e..b9fd02d4d0b 100644 --- a/service/lightsail/api_op_DeleteContainerImage.go +++ b/service/lightsail/api_op_DeleteContainerImage.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteContainerImageMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteContainerImageValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteContainerService.go b/service/lightsail/api_op_DeleteContainerService.go index dedda297b76..b485f7ed83c 100644 --- a/service/lightsail/api_op_DeleteContainerService.go +++ b/service/lightsail/api_op_DeleteContainerService.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteContainerServiceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteContainerServiceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteDisk.go b/service/lightsail/api_op_DeleteDisk.go index e487f79247e..719456f4bb5 100644 --- a/service/lightsail/api_op_DeleteDisk.go +++ b/service/lightsail/api_op_DeleteDisk.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDeleteDiskMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDiskValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteDiskSnapshot.go b/service/lightsail/api_op_DeleteDiskSnapshot.go index 5d3ad4dc0a3..19847ff0a8b 100644 --- a/service/lightsail/api_op_DeleteDiskSnapshot.go +++ b/service/lightsail/api_op_DeleteDiskSnapshot.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDeleteDiskSnapshotMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDiskSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteDistribution.go b/service/lightsail/api_op_DeleteDistribution.go index ca14b8fac44..3010f54daf6 100644 --- a/service/lightsail/api_op_DeleteDistribution.go +++ b/service/lightsail/api_op_DeleteDistribution.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteDistributionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDistribution(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteDomain.go b/service/lightsail/api_op_DeleteDomain.go index 1cd8356b78c..c264cd0babb 100644 --- a/service/lightsail/api_op_DeleteDomain.go +++ b/service/lightsail/api_op_DeleteDomain.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteDomainMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteDomainEntry.go b/service/lightsail/api_op_DeleteDomainEntry.go index 30d9c759aee..eae8c465162 100644 --- a/service/lightsail/api_op_DeleteDomainEntry.go +++ b/service/lightsail/api_op_DeleteDomainEntry.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDeleteDomainEntryMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDomainEntryValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteInstance.go b/service/lightsail/api_op_DeleteInstance.go index 39a8afa3870..0ed1b3d212f 100644 --- a/service/lightsail/api_op_DeleteInstance.go +++ b/service/lightsail/api_op_DeleteInstance.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteInstanceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteInstanceSnapshot.go b/service/lightsail/api_op_DeleteInstanceSnapshot.go index a69454b221c..69a77535f0a 100644 --- a/service/lightsail/api_op_DeleteInstanceSnapshot.go +++ b/service/lightsail/api_op_DeleteInstanceSnapshot.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteInstanceSnapshotMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInstanceSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteKeyPair.go b/service/lightsail/api_op_DeleteKeyPair.go index 1a5783c367b..3ebaf3d584d 100644 --- a/service/lightsail/api_op_DeleteKeyPair.go +++ b/service/lightsail/api_op_DeleteKeyPair.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDeleteKeyPairMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteKeyPairValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteKnownHostKeys.go b/service/lightsail/api_op_DeleteKnownHostKeys.go index f9f13f4468c..e7d82d59ef4 100644 --- a/service/lightsail/api_op_DeleteKnownHostKeys.go +++ b/service/lightsail/api_op_DeleteKnownHostKeys.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteKnownHostKeysMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteKnownHostKeysValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteLoadBalancer.go b/service/lightsail/api_op_DeleteLoadBalancer.go index a6020f03d9b..6e60f86f706 100644 --- a/service/lightsail/api_op_DeleteLoadBalancer.go +++ b/service/lightsail/api_op_DeleteLoadBalancer.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteLoadBalancerMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLoadBalancerValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteLoadBalancerTlsCertificate.go b/service/lightsail/api_op_DeleteLoadBalancerTlsCertificate.go index 92241e06ce8..9b85a77ffad 100644 --- a/service/lightsail/api_op_DeleteLoadBalancerTlsCertificate.go +++ b/service/lightsail/api_op_DeleteLoadBalancerTlsCertificate.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDeleteLoadBalancerTlsCertificateMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLoadBalancerTlsCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteRelationalDatabase.go b/service/lightsail/api_op_DeleteRelationalDatabase.go index 99056469070..262ee8be31b 100644 --- a/service/lightsail/api_op_DeleteRelationalDatabase.go +++ b/service/lightsail/api_op_DeleteRelationalDatabase.go @@ -143,9 +143,6 @@ func (c *Client) addOperationDeleteRelationalDatabaseMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRelationalDatabaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DeleteRelationalDatabaseSnapshot.go b/service/lightsail/api_op_DeleteRelationalDatabaseSnapshot.go index 454d57d85ef..98e71e376d1 100644 --- a/service/lightsail/api_op_DeleteRelationalDatabaseSnapshot.go +++ b/service/lightsail/api_op_DeleteRelationalDatabaseSnapshot.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteRelationalDatabaseSnapshotMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRelationalDatabaseSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DetachCertificateFromDistribution.go b/service/lightsail/api_op_DetachCertificateFromDistribution.go index f3998ffe90c..8b1a4b42d46 100644 --- a/service/lightsail/api_op_DetachCertificateFromDistribution.go +++ b/service/lightsail/api_op_DetachCertificateFromDistribution.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDetachCertificateFromDistributionMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetachCertificateFromDistributionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DetachDisk.go b/service/lightsail/api_op_DetachDisk.go index d7ac2b66f5b..7a0e9e99dfd 100644 --- a/service/lightsail/api_op_DetachDisk.go +++ b/service/lightsail/api_op_DetachDisk.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDetachDiskMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetachDiskValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DetachInstancesFromLoadBalancer.go b/service/lightsail/api_op_DetachInstancesFromLoadBalancer.go index 1364fb838bb..8726c4f7c57 100644 --- a/service/lightsail/api_op_DetachInstancesFromLoadBalancer.go +++ b/service/lightsail/api_op_DetachInstancesFromLoadBalancer.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDetachInstancesFromLoadBalancerMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetachInstancesFromLoadBalancerValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DetachStaticIp.go b/service/lightsail/api_op_DetachStaticIp.go index b9c62be5c40..2f8ff855b78 100644 --- a/service/lightsail/api_op_DetachStaticIp.go +++ b/service/lightsail/api_op_DetachStaticIp.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDetachStaticIpMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetachStaticIpValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DisableAddOn.go b/service/lightsail/api_op_DisableAddOn.go index 7c56d50cb64..7e166901f9a 100644 --- a/service/lightsail/api_op_DisableAddOn.go +++ b/service/lightsail/api_op_DisableAddOn.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDisableAddOnMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableAddOnValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_DownloadDefaultKeyPair.go b/service/lightsail/api_op_DownloadDefaultKeyPair.go index 05167ae92f7..603e51f9f52 100644 --- a/service/lightsail/api_op_DownloadDefaultKeyPair.go +++ b/service/lightsail/api_op_DownloadDefaultKeyPair.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDownloadDefaultKeyPairMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDownloadDefaultKeyPair(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_EnableAddOn.go b/service/lightsail/api_op_EnableAddOn.go index 1d80ca5ffe8..4be705a44c7 100644 --- a/service/lightsail/api_op_EnableAddOn.go +++ b/service/lightsail/api_op_EnableAddOn.go @@ -122,9 +122,6 @@ func (c *Client) addOperationEnableAddOnMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableAddOnValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_ExportSnapshot.go b/service/lightsail/api_op_ExportSnapshot.go index 74ade3f68d3..484b01768c3 100644 --- a/service/lightsail/api_op_ExportSnapshot.go +++ b/service/lightsail/api_op_ExportSnapshot.go @@ -132,9 +132,6 @@ func (c *Client) addOperationExportSnapshotMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExportSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetActiveNames.go b/service/lightsail/api_op_GetActiveNames.go index d24e4d25af8..035a3ab07e8 100644 --- a/service/lightsail/api_op_GetActiveNames.go +++ b/service/lightsail/api_op_GetActiveNames.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetActiveNamesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetActiveNames(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_GetAlarms.go b/service/lightsail/api_op_GetAlarms.go index cbc4622d336..50781f4bdb8 100644 --- a/service/lightsail/api_op_GetAlarms.go +++ b/service/lightsail/api_op_GetAlarms.go @@ -142,9 +142,6 @@ func (c *Client) addOperationGetAlarmsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAlarms(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_GetAutoSnapshots.go b/service/lightsail/api_op_GetAutoSnapshots.go index 0913601ded4..159ecb60abe 100644 --- a/service/lightsail/api_op_GetAutoSnapshots.go +++ b/service/lightsail/api_op_GetAutoSnapshots.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetAutoSnapshotsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAutoSnapshotsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetBlueprints.go b/service/lightsail/api_op_GetBlueprints.go index 8394c0a7119..50b7c5aa4c1 100644 --- a/service/lightsail/api_op_GetBlueprints.go +++ b/service/lightsail/api_op_GetBlueprints.go @@ -140,9 +140,6 @@ func (c *Client) addOperationGetBlueprintsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBlueprints(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_GetBucketAccessKeys.go b/service/lightsail/api_op_GetBucketAccessKeys.go index 67111643cde..0b1b3eeca5e 100644 --- a/service/lightsail/api_op_GetBucketAccessKeys.go +++ b/service/lightsail/api_op_GetBucketAccessKeys.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetBucketAccessKeysMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBucketAccessKeysValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetBucketBundles.go b/service/lightsail/api_op_GetBucketBundles.go index f17a7b996a7..f12370b0fff 100644 --- a/service/lightsail/api_op_GetBucketBundles.go +++ b/service/lightsail/api_op_GetBucketBundles.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetBucketBundlesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBucketBundles(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_GetBucketMetricData.go b/service/lightsail/api_op_GetBucketMetricData.go index 896f7561169..bcfda5f5a01 100644 --- a/service/lightsail/api_op_GetBucketMetricData.go +++ b/service/lightsail/api_op_GetBucketMetricData.go @@ -199,9 +199,6 @@ func (c *Client) addOperationGetBucketMetricDataMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBucketMetricDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetBuckets.go b/service/lightsail/api_op_GetBuckets.go index ce2459e0b4d..989e79ce3e2 100644 --- a/service/lightsail/api_op_GetBuckets.go +++ b/service/lightsail/api_op_GetBuckets.go @@ -151,9 +151,6 @@ func (c *Client) addOperationGetBucketsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBuckets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_GetBundles.go b/service/lightsail/api_op_GetBundles.go index 43fb3b4209c..d0026ec2d46 100644 --- a/service/lightsail/api_op_GetBundles.go +++ b/service/lightsail/api_op_GetBundles.go @@ -139,9 +139,6 @@ func (c *Client) addOperationGetBundlesMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBundles(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_GetCertificates.go b/service/lightsail/api_op_GetCertificates.go index 7ea205f1011..8c9046c643b 100644 --- a/service/lightsail/api_op_GetCertificates.go +++ b/service/lightsail/api_op_GetCertificates.go @@ -145,9 +145,6 @@ func (c *Client) addOperationGetCertificatesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCertificates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_GetCloudFormationStackRecords.go b/service/lightsail/api_op_GetCloudFormationStackRecords.go index e9c5e5773e7..83464888d1a 100644 --- a/service/lightsail/api_op_GetCloudFormationStackRecords.go +++ b/service/lightsail/api_op_GetCloudFormationStackRecords.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetCloudFormationStackRecordsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCloudFormationStackRecords(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_GetContactMethods.go b/service/lightsail/api_op_GetContactMethods.go index ea3ec90f232..924e1be9c18 100644 --- a/service/lightsail/api_op_GetContactMethods.go +++ b/service/lightsail/api_op_GetContactMethods.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetContactMethodsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetContactMethods(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_GetContainerAPIMetadata.go b/service/lightsail/api_op_GetContainerAPIMetadata.go index 975148ceeff..0bf456f94f9 100644 --- a/service/lightsail/api_op_GetContainerAPIMetadata.go +++ b/service/lightsail/api_op_GetContainerAPIMetadata.go @@ -107,9 +107,6 @@ func (c *Client) addOperationGetContainerAPIMetadataMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetContainerAPIMetadata(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_GetContainerImages.go b/service/lightsail/api_op_GetContainerImages.go index 70dc6d64d8c..7e3d69101d8 100644 --- a/service/lightsail/api_op_GetContainerImages.go +++ b/service/lightsail/api_op_GetContainerImages.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetContainerImagesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetContainerImagesValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetContainerLog.go b/service/lightsail/api_op_GetContainerLog.go index 3becd1b3abb..4535d7bbfa3 100644 --- a/service/lightsail/api_op_GetContainerLog.go +++ b/service/lightsail/api_op_GetContainerLog.go @@ -197,9 +197,6 @@ func (c *Client) addOperationGetContainerLogMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetContainerLogValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetContainerServiceDeployments.go b/service/lightsail/api_op_GetContainerServiceDeployments.go index 9f02df74187..c9922b5733d 100644 --- a/service/lightsail/api_op_GetContainerServiceDeployments.go +++ b/service/lightsail/api_op_GetContainerServiceDeployments.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetContainerServiceDeploymentsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetContainerServiceDeploymentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetContainerServiceMetricData.go b/service/lightsail/api_op_GetContainerServiceMetricData.go index 49a45b15363..5dad41c0dbb 100644 --- a/service/lightsail/api_op_GetContainerServiceMetricData.go +++ b/service/lightsail/api_op_GetContainerServiceMetricData.go @@ -190,9 +190,6 @@ func (c *Client) addOperationGetContainerServiceMetricDataMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetContainerServiceMetricDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetContainerServicePowers.go b/service/lightsail/api_op_GetContainerServicePowers.go index 8f0eb05db35..a9c614b85e5 100644 --- a/service/lightsail/api_op_GetContainerServicePowers.go +++ b/service/lightsail/api_op_GetContainerServicePowers.go @@ -111,9 +111,6 @@ func (c *Client) addOperationGetContainerServicePowersMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetContainerServicePowers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_GetContainerServices.go b/service/lightsail/api_op_GetContainerServices.go index 28799ac015f..d7026ffe150 100644 --- a/service/lightsail/api_op_GetContainerServices.go +++ b/service/lightsail/api_op_GetContainerServices.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetContainerServicesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetContainerServices(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_GetCostEstimate.go b/service/lightsail/api_op_GetCostEstimate.go index 91ca6ab51dc..ef923bb8666 100644 --- a/service/lightsail/api_op_GetCostEstimate.go +++ b/service/lightsail/api_op_GetCostEstimate.go @@ -152,9 +152,6 @@ func (c *Client) addOperationGetCostEstimateMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCostEstimateValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetDisk.go b/service/lightsail/api_op_GetDisk.go index 7a2d1f24b80..d23b255a993 100644 --- a/service/lightsail/api_op_GetDisk.go +++ b/service/lightsail/api_op_GetDisk.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetDiskMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDiskValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetDiskSnapshot.go b/service/lightsail/api_op_GetDiskSnapshot.go index c46b81b7729..e704458418a 100644 --- a/service/lightsail/api_op_GetDiskSnapshot.go +++ b/service/lightsail/api_op_GetDiskSnapshot.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetDiskSnapshotMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDiskSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetDiskSnapshots.go b/service/lightsail/api_op_GetDiskSnapshots.go index e88b59c41b2..c8658790d27 100644 --- a/service/lightsail/api_op_GetDiskSnapshots.go +++ b/service/lightsail/api_op_GetDiskSnapshots.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetDiskSnapshotsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDiskSnapshots(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_GetDisks.go b/service/lightsail/api_op_GetDisks.go index 8a63c9d7dbb..041398a9a2a 100644 --- a/service/lightsail/api_op_GetDisks.go +++ b/service/lightsail/api_op_GetDisks.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetDisksMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDisks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_GetDistributionBundles.go b/service/lightsail/api_op_GetDistributionBundles.go index 662acf7939d..35b75536440 100644 --- a/service/lightsail/api_op_GetDistributionBundles.go +++ b/service/lightsail/api_op_GetDistributionBundles.go @@ -110,9 +110,6 @@ func (c *Client) addOperationGetDistributionBundlesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDistributionBundles(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_GetDistributionLatestCacheReset.go b/service/lightsail/api_op_GetDistributionLatestCacheReset.go index ce6e2c483a8..68d7b4b4e67 100644 --- a/service/lightsail/api_op_GetDistributionLatestCacheReset.go +++ b/service/lightsail/api_op_GetDistributionLatestCacheReset.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetDistributionLatestCacheResetMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDistributionLatestCacheReset(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_GetDistributionMetricData.go b/service/lightsail/api_op_GetDistributionMetricData.go index cef7858e454..bb6ee2f98a0 100644 --- a/service/lightsail/api_op_GetDistributionMetricData.go +++ b/service/lightsail/api_op_GetDistributionMetricData.go @@ -254,9 +254,6 @@ func (c *Client) addOperationGetDistributionMetricDataMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDistributionMetricDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetDistributions.go b/service/lightsail/api_op_GetDistributions.go index 1fe0d18d516..f7b152a70a8 100644 --- a/service/lightsail/api_op_GetDistributions.go +++ b/service/lightsail/api_op_GetDistributions.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGetDistributionsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDistributions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_GetDomain.go b/service/lightsail/api_op_GetDomain.go index 9f787acba2b..2cc331c9bd8 100644 --- a/service/lightsail/api_op_GetDomain.go +++ b/service/lightsail/api_op_GetDomain.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetDomainMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetDomains.go b/service/lightsail/api_op_GetDomains.go index 2f29b323bfb..45ab9669326 100644 --- a/service/lightsail/api_op_GetDomains.go +++ b/service/lightsail/api_op_GetDomains.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetDomainsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDomains(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_GetExportSnapshotRecords.go b/service/lightsail/api_op_GetExportSnapshotRecords.go index 0b2da1db4a0..7bf7655d91a 100644 --- a/service/lightsail/api_op_GetExportSnapshotRecords.go +++ b/service/lightsail/api_op_GetExportSnapshotRecords.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetExportSnapshotRecordsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetExportSnapshotRecords(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_GetInstance.go b/service/lightsail/api_op_GetInstance.go index 8e49e29a059..d99fd676f26 100644 --- a/service/lightsail/api_op_GetInstance.go +++ b/service/lightsail/api_op_GetInstance.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetInstanceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetInstanceAccessDetails.go b/service/lightsail/api_op_GetInstanceAccessDetails.go index a3b66bf5734..3a5ea8b520b 100644 --- a/service/lightsail/api_op_GetInstanceAccessDetails.go +++ b/service/lightsail/api_op_GetInstanceAccessDetails.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetInstanceAccessDetailsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInstanceAccessDetailsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetInstanceMetricData.go b/service/lightsail/api_op_GetInstanceMetricData.go index e7aee92bb74..bd1412410ae 100644 --- a/service/lightsail/api_op_GetInstanceMetricData.go +++ b/service/lightsail/api_op_GetInstanceMetricData.go @@ -273,9 +273,6 @@ func (c *Client) addOperationGetInstanceMetricDataMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInstanceMetricDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetInstancePortStates.go b/service/lightsail/api_op_GetInstancePortStates.go index 82b31a6c97e..cf45a93179e 100644 --- a/service/lightsail/api_op_GetInstancePortStates.go +++ b/service/lightsail/api_op_GetInstancePortStates.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetInstancePortStatesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInstancePortStatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetInstanceSnapshot.go b/service/lightsail/api_op_GetInstanceSnapshot.go index 3eeb3ca97a1..b3c1aeda040 100644 --- a/service/lightsail/api_op_GetInstanceSnapshot.go +++ b/service/lightsail/api_op_GetInstanceSnapshot.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetInstanceSnapshotMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInstanceSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetInstanceSnapshots.go b/service/lightsail/api_op_GetInstanceSnapshots.go index 8a1c0b52149..0543e907da9 100644 --- a/service/lightsail/api_op_GetInstanceSnapshots.go +++ b/service/lightsail/api_op_GetInstanceSnapshots.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetInstanceSnapshotsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInstanceSnapshots(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_GetInstanceState.go b/service/lightsail/api_op_GetInstanceState.go index 29f50a22a49..c2070deab94 100644 --- a/service/lightsail/api_op_GetInstanceState.go +++ b/service/lightsail/api_op_GetInstanceState.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetInstanceStateMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInstanceStateValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetInstances.go b/service/lightsail/api_op_GetInstances.go index a829e73b375..d5eaba1be87 100644 --- a/service/lightsail/api_op_GetInstances.go +++ b/service/lightsail/api_op_GetInstances.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetInstancesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInstances(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_GetKeyPair.go b/service/lightsail/api_op_GetKeyPair.go index e4d288d1ebc..6078892b7dd 100644 --- a/service/lightsail/api_op_GetKeyPair.go +++ b/service/lightsail/api_op_GetKeyPair.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetKeyPairMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetKeyPairValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetKeyPairs.go b/service/lightsail/api_op_GetKeyPairs.go index 014b1128e0c..e9b2156dd2a 100644 --- a/service/lightsail/api_op_GetKeyPairs.go +++ b/service/lightsail/api_op_GetKeyPairs.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetKeyPairsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetKeyPairs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_GetLoadBalancer.go b/service/lightsail/api_op_GetLoadBalancer.go index cdc68a7d568..d1bd7b67bcb 100644 --- a/service/lightsail/api_op_GetLoadBalancer.go +++ b/service/lightsail/api_op_GetLoadBalancer.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetLoadBalancerMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLoadBalancerValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetLoadBalancerMetricData.go b/service/lightsail/api_op_GetLoadBalancerMetricData.go index 9e877d91098..36979a2dc91 100644 --- a/service/lightsail/api_op_GetLoadBalancerMetricData.go +++ b/service/lightsail/api_op_GetLoadBalancerMetricData.go @@ -279,9 +279,6 @@ func (c *Client) addOperationGetLoadBalancerMetricDataMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLoadBalancerMetricDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetLoadBalancerTlsCertificates.go b/service/lightsail/api_op_GetLoadBalancerTlsCertificates.go index cde605bf535..1eb770cb233 100644 --- a/service/lightsail/api_op_GetLoadBalancerTlsCertificates.go +++ b/service/lightsail/api_op_GetLoadBalancerTlsCertificates.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetLoadBalancerTlsCertificatesMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLoadBalancerTlsCertificatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetLoadBalancerTlsPolicies.go b/service/lightsail/api_op_GetLoadBalancerTlsPolicies.go index 463bbc168d1..2f3c286b8a8 100644 --- a/service/lightsail/api_op_GetLoadBalancerTlsPolicies.go +++ b/service/lightsail/api_op_GetLoadBalancerTlsPolicies.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetLoadBalancerTlsPoliciesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLoadBalancerTlsPolicies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_GetLoadBalancers.go b/service/lightsail/api_op_GetLoadBalancers.go index ec5f89e6226..3e80e852990 100644 --- a/service/lightsail/api_op_GetLoadBalancers.go +++ b/service/lightsail/api_op_GetLoadBalancers.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetLoadBalancersMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLoadBalancers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_GetOperation.go b/service/lightsail/api_op_GetOperation.go index 96ba17c7ccf..fc43665b863 100644 --- a/service/lightsail/api_op_GetOperation.go +++ b/service/lightsail/api_op_GetOperation.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetOperationMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetOperationValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetOperations.go b/service/lightsail/api_op_GetOperations.go index 9f0f50d182f..504d06b3559 100644 --- a/service/lightsail/api_op_GetOperations.go +++ b/service/lightsail/api_op_GetOperations.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetOperationsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetOperations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_GetOperationsForResource.go b/service/lightsail/api_op_GetOperationsForResource.go index a735726de80..1ad6c881846 100644 --- a/service/lightsail/api_op_GetOperationsForResource.go +++ b/service/lightsail/api_op_GetOperationsForResource.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGetOperationsForResourceMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetOperationsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetRegions.go b/service/lightsail/api_op_GetRegions.go index 35f5de0c211..149c6dd301d 100644 --- a/service/lightsail/api_op_GetRegions.go +++ b/service/lightsail/api_op_GetRegions.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetRegionsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRegions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_GetRelationalDatabase.go b/service/lightsail/api_op_GetRelationalDatabase.go index 9fdec5e5e4f..b72e6d50d2e 100644 --- a/service/lightsail/api_op_GetRelationalDatabase.go +++ b/service/lightsail/api_op_GetRelationalDatabase.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetRelationalDatabaseMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRelationalDatabaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetRelationalDatabaseBlueprints.go b/service/lightsail/api_op_GetRelationalDatabaseBlueprints.go index b811ce72052..5bdd328597e 100644 --- a/service/lightsail/api_op_GetRelationalDatabaseBlueprints.go +++ b/service/lightsail/api_op_GetRelationalDatabaseBlueprints.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetRelationalDatabaseBlueprintsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRelationalDatabaseBlueprints(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_GetRelationalDatabaseBundles.go b/service/lightsail/api_op_GetRelationalDatabaseBundles.go index 70ab52b005b..bf6827de51a 100644 --- a/service/lightsail/api_op_GetRelationalDatabaseBundles.go +++ b/service/lightsail/api_op_GetRelationalDatabaseBundles.go @@ -130,9 +130,6 @@ func (c *Client) addOperationGetRelationalDatabaseBundlesMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRelationalDatabaseBundles(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_GetRelationalDatabaseEvents.go b/service/lightsail/api_op_GetRelationalDatabaseEvents.go index b643bcfdd62..075d9673466 100644 --- a/service/lightsail/api_op_GetRelationalDatabaseEvents.go +++ b/service/lightsail/api_op_GetRelationalDatabaseEvents.go @@ -135,9 +135,6 @@ func (c *Client) addOperationGetRelationalDatabaseEventsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRelationalDatabaseEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetRelationalDatabaseLogEvents.go b/service/lightsail/api_op_GetRelationalDatabaseLogEvents.go index 7b80c2eec3d..b32e4ac6787 100644 --- a/service/lightsail/api_op_GetRelationalDatabaseLogEvents.go +++ b/service/lightsail/api_op_GetRelationalDatabaseLogEvents.go @@ -169,9 +169,6 @@ func (c *Client) addOperationGetRelationalDatabaseLogEventsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRelationalDatabaseLogEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetRelationalDatabaseLogStreams.go b/service/lightsail/api_op_GetRelationalDatabaseLogStreams.go index 10c0308019d..70e6100e8a3 100644 --- a/service/lightsail/api_op_GetRelationalDatabaseLogStreams.go +++ b/service/lightsail/api_op_GetRelationalDatabaseLogStreams.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetRelationalDatabaseLogStreamsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRelationalDatabaseLogStreamsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetRelationalDatabaseMasterUserPassword.go b/service/lightsail/api_op_GetRelationalDatabaseMasterUserPassword.go index 5bbd164c255..6d26a116ded 100644 --- a/service/lightsail/api_op_GetRelationalDatabaseMasterUserPassword.go +++ b/service/lightsail/api_op_GetRelationalDatabaseMasterUserPassword.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetRelationalDatabaseMasterUserPasswordMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRelationalDatabaseMasterUserPasswordValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetRelationalDatabaseMetricData.go b/service/lightsail/api_op_GetRelationalDatabaseMetricData.go index 233e8215278..5e149d966d2 100644 --- a/service/lightsail/api_op_GetRelationalDatabaseMetricData.go +++ b/service/lightsail/api_op_GetRelationalDatabaseMetricData.go @@ -241,9 +241,6 @@ func (c *Client) addOperationGetRelationalDatabaseMetricDataMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRelationalDatabaseMetricDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetRelationalDatabaseParameters.go b/service/lightsail/api_op_GetRelationalDatabaseParameters.go index 1a814728715..32565dce4a5 100644 --- a/service/lightsail/api_op_GetRelationalDatabaseParameters.go +++ b/service/lightsail/api_op_GetRelationalDatabaseParameters.go @@ -134,9 +134,6 @@ func (c *Client) addOperationGetRelationalDatabaseParametersMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRelationalDatabaseParametersValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetRelationalDatabaseSnapshot.go b/service/lightsail/api_op_GetRelationalDatabaseSnapshot.go index 8a2d94798b5..0ee3c25d6a0 100644 --- a/service/lightsail/api_op_GetRelationalDatabaseSnapshot.go +++ b/service/lightsail/api_op_GetRelationalDatabaseSnapshot.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetRelationalDatabaseSnapshotMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRelationalDatabaseSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetRelationalDatabaseSnapshots.go b/service/lightsail/api_op_GetRelationalDatabaseSnapshots.go index 15189c20ff8..e47590cf669 100644 --- a/service/lightsail/api_op_GetRelationalDatabaseSnapshots.go +++ b/service/lightsail/api_op_GetRelationalDatabaseSnapshots.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetRelationalDatabaseSnapshotsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRelationalDatabaseSnapshots(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_GetRelationalDatabases.go b/service/lightsail/api_op_GetRelationalDatabases.go index 8209859ea41..6a083de40d4 100644 --- a/service/lightsail/api_op_GetRelationalDatabases.go +++ b/service/lightsail/api_op_GetRelationalDatabases.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetRelationalDatabasesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRelationalDatabases(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_GetSetupHistory.go b/service/lightsail/api_op_GetSetupHistory.go index 8d960d50178..0ebfe123057 100644 --- a/service/lightsail/api_op_GetSetupHistory.go +++ b/service/lightsail/api_op_GetSetupHistory.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetSetupHistoryMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSetupHistoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetStaticIp.go b/service/lightsail/api_op_GetStaticIp.go index a6fba84864d..46db3cb4412 100644 --- a/service/lightsail/api_op_GetStaticIp.go +++ b/service/lightsail/api_op_GetStaticIp.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetStaticIpMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetStaticIpValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_GetStaticIps.go b/service/lightsail/api_op_GetStaticIps.go index 6c4cbeac181..6fafb54249c 100644 --- a/service/lightsail/api_op_GetStaticIps.go +++ b/service/lightsail/api_op_GetStaticIps.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetStaticIpsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetStaticIps(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_ImportKeyPair.go b/service/lightsail/api_op_ImportKeyPair.go index 85d49972296..68bbeb20dcb 100644 --- a/service/lightsail/api_op_ImportKeyPair.go +++ b/service/lightsail/api_op_ImportKeyPair.go @@ -119,9 +119,6 @@ func (c *Client) addOperationImportKeyPairMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportKeyPairValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_IsVpcPeered.go b/service/lightsail/api_op_IsVpcPeered.go index e01f5da06b6..370fb050973 100644 --- a/service/lightsail/api_op_IsVpcPeered.go +++ b/service/lightsail/api_op_IsVpcPeered.go @@ -105,9 +105,6 @@ func (c *Client) addOperationIsVpcPeeredMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opIsVpcPeered(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_OpenInstancePublicPorts.go b/service/lightsail/api_op_OpenInstancePublicPorts.go index 1dbbdefce7b..8d44f2535d8 100644 --- a/service/lightsail/api_op_OpenInstancePublicPorts.go +++ b/service/lightsail/api_op_OpenInstancePublicPorts.go @@ -127,9 +127,6 @@ func (c *Client) addOperationOpenInstancePublicPortsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpOpenInstancePublicPortsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_PeerVpc.go b/service/lightsail/api_op_PeerVpc.go index 430053c6a0d..823cc494ea6 100644 --- a/service/lightsail/api_op_PeerVpc.go +++ b/service/lightsail/api_op_PeerVpc.go @@ -108,9 +108,6 @@ func (c *Client) addOperationPeerVpcMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPeerVpc(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_PutAlarm.go b/service/lightsail/api_op_PutAlarm.go index 2962f91d293..74121de51f1 100644 --- a/service/lightsail/api_op_PutAlarm.go +++ b/service/lightsail/api_op_PutAlarm.go @@ -260,9 +260,6 @@ func (c *Client) addOperationPutAlarmMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutAlarmValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_PutInstancePublicPorts.go b/service/lightsail/api_op_PutInstancePublicPorts.go index da048b2018b..21f1b741134 100644 --- a/service/lightsail/api_op_PutInstancePublicPorts.go +++ b/service/lightsail/api_op_PutInstancePublicPorts.go @@ -130,9 +130,6 @@ func (c *Client) addOperationPutInstancePublicPortsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutInstancePublicPortsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_RebootInstance.go b/service/lightsail/api_op_RebootInstance.go index 1224d354ba7..c98c1422cdc 100644 --- a/service/lightsail/api_op_RebootInstance.go +++ b/service/lightsail/api_op_RebootInstance.go @@ -120,9 +120,6 @@ func (c *Client) addOperationRebootInstanceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRebootInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_RebootRelationalDatabase.go b/service/lightsail/api_op_RebootRelationalDatabase.go index fa5c404e352..cd7069839a7 100644 --- a/service/lightsail/api_op_RebootRelationalDatabase.go +++ b/service/lightsail/api_op_RebootRelationalDatabase.go @@ -120,9 +120,6 @@ func (c *Client) addOperationRebootRelationalDatabaseMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRebootRelationalDatabaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_RegisterContainerImage.go b/service/lightsail/api_op_RegisterContainerImage.go index fb67b82ef02..69927874ae7 100644 --- a/service/lightsail/api_op_RegisterContainerImage.go +++ b/service/lightsail/api_op_RegisterContainerImage.go @@ -148,9 +148,6 @@ func (c *Client) addOperationRegisterContainerImageMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterContainerImageValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_ReleaseStaticIp.go b/service/lightsail/api_op_ReleaseStaticIp.go index cad099b8a76..f88e2113814 100644 --- a/service/lightsail/api_op_ReleaseStaticIp.go +++ b/service/lightsail/api_op_ReleaseStaticIp.go @@ -114,9 +114,6 @@ func (c *Client) addOperationReleaseStaticIpMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpReleaseStaticIpValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_ResetDistributionCache.go b/service/lightsail/api_op_ResetDistributionCache.go index 71b9c6a1680..f3dffb78f13 100644 --- a/service/lightsail/api_op_ResetDistributionCache.go +++ b/service/lightsail/api_op_ResetDistributionCache.go @@ -126,9 +126,6 @@ func (c *Client) addOperationResetDistributionCacheMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResetDistributionCache(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_SendContactMethodVerification.go b/service/lightsail/api_op_SendContactMethodVerification.go index d347be9073e..3569d6a24b3 100644 --- a/service/lightsail/api_op_SendContactMethodVerification.go +++ b/service/lightsail/api_op_SendContactMethodVerification.go @@ -130,9 +130,6 @@ func (c *Client) addOperationSendContactMethodVerificationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendContactMethodVerificationValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_SetIpAddressType.go b/service/lightsail/api_op_SetIpAddressType.go index 6df0dd5b6f0..057a4b84b72 100644 --- a/service/lightsail/api_op_SetIpAddressType.go +++ b/service/lightsail/api_op_SetIpAddressType.go @@ -148,9 +148,6 @@ func (c *Client) addOperationSetIpAddressTypeMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetIpAddressTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_SetResourceAccessForBucket.go b/service/lightsail/api_op_SetResourceAccessForBucket.go index 5e08a469ff3..5d099f56129 100644 --- a/service/lightsail/api_op_SetResourceAccessForBucket.go +++ b/service/lightsail/api_op_SetResourceAccessForBucket.go @@ -136,9 +136,6 @@ func (c *Client) addOperationSetResourceAccessForBucketMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetResourceAccessForBucketValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_SetupInstanceHttps.go b/service/lightsail/api_op_SetupInstanceHttps.go index e518667dd5e..1f10053f44c 100644 --- a/service/lightsail/api_op_SetupInstanceHttps.go +++ b/service/lightsail/api_op_SetupInstanceHttps.go @@ -133,9 +133,6 @@ func (c *Client) addOperationSetupInstanceHttpsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetupInstanceHttpsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_StartGUISession.go b/service/lightsail/api_op_StartGUISession.go index 386ad39eb94..26453958ee0 100644 --- a/service/lightsail/api_op_StartGUISession.go +++ b/service/lightsail/api_op_StartGUISession.go @@ -114,9 +114,6 @@ func (c *Client) addOperationStartGUISessionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartGUISessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_StartInstance.go b/service/lightsail/api_op_StartInstance.go index 864666d47f0..037334fd151 100644 --- a/service/lightsail/api_op_StartInstance.go +++ b/service/lightsail/api_op_StartInstance.go @@ -126,9 +126,6 @@ func (c *Client) addOperationStartInstanceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_StartRelationalDatabase.go b/service/lightsail/api_op_StartRelationalDatabase.go index 89f282ead30..d5bd2915901 100644 --- a/service/lightsail/api_op_StartRelationalDatabase.go +++ b/service/lightsail/api_op_StartRelationalDatabase.go @@ -121,9 +121,6 @@ func (c *Client) addOperationStartRelationalDatabaseMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartRelationalDatabaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_StopGUISession.go b/service/lightsail/api_op_StopGUISession.go index c78968bdd08..6cf56a7d20c 100644 --- a/service/lightsail/api_op_StopGUISession.go +++ b/service/lightsail/api_op_StopGUISession.go @@ -114,9 +114,6 @@ func (c *Client) addOperationStopGUISessionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopGUISessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_StopInstance.go b/service/lightsail/api_op_StopInstance.go index 9be6d8903d9..c3e5823273d 100644 --- a/service/lightsail/api_op_StopInstance.go +++ b/service/lightsail/api_op_StopInstance.go @@ -133,9 +133,6 @@ func (c *Client) addOperationStopInstanceMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_StopRelationalDatabase.go b/service/lightsail/api_op_StopRelationalDatabase.go index e74e2e5dfea..e13e7408482 100644 --- a/service/lightsail/api_op_StopRelationalDatabase.go +++ b/service/lightsail/api_op_StopRelationalDatabase.go @@ -129,9 +129,6 @@ func (c *Client) addOperationStopRelationalDatabaseMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopRelationalDatabaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_TagResource.go b/service/lightsail/api_op_TagResource.go index 83050e48944..ffffced6dbe 100644 --- a/service/lightsail/api_op_TagResource.go +++ b/service/lightsail/api_op_TagResource.go @@ -130,9 +130,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_TestAlarm.go b/service/lightsail/api_op_TestAlarm.go index cc5803bd930..0cab3ef86bb 100644 --- a/service/lightsail/api_op_TestAlarm.go +++ b/service/lightsail/api_op_TestAlarm.go @@ -138,9 +138,6 @@ func (c *Client) addOperationTestAlarmMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTestAlarmValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_UnpeerVpc.go b/service/lightsail/api_op_UnpeerVpc.go index 96a5e5d493d..25e108a68ed 100644 --- a/service/lightsail/api_op_UnpeerVpc.go +++ b/service/lightsail/api_op_UnpeerVpc.go @@ -108,9 +108,6 @@ func (c *Client) addOperationUnpeerVpcMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUnpeerVpc(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_UntagResource.go b/service/lightsail/api_op_UntagResource.go index 97b2308dd03..602370bfa14 100644 --- a/service/lightsail/api_op_UntagResource.go +++ b/service/lightsail/api_op_UntagResource.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_UpdateBucket.go b/service/lightsail/api_op_UpdateBucket.go index 0ff0c0e63b7..ed393de7236 100644 --- a/service/lightsail/api_op_UpdateBucket.go +++ b/service/lightsail/api_op_UpdateBucket.go @@ -143,9 +143,6 @@ func (c *Client) addOperationUpdateBucketMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBucketValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_UpdateBucketBundle.go b/service/lightsail/api_op_UpdateBucketBundle.go index 671c541ef17..a7f94b3b313 100644 --- a/service/lightsail/api_op_UpdateBucketBundle.go +++ b/service/lightsail/api_op_UpdateBucketBundle.go @@ -140,9 +140,6 @@ func (c *Client) addOperationUpdateBucketBundleMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBucketBundleValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_UpdateContainerService.go b/service/lightsail/api_op_UpdateContainerService.go index 2bea73744b1..512cf3bd5fe 100644 --- a/service/lightsail/api_op_UpdateContainerService.go +++ b/service/lightsail/api_op_UpdateContainerService.go @@ -164,9 +164,6 @@ func (c *Client) addOperationUpdateContainerServiceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateContainerServiceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_UpdateDistribution.go b/service/lightsail/api_op_UpdateDistribution.go index dfa725a5e00..eb694d3006d 100644 --- a/service/lightsail/api_op_UpdateDistribution.go +++ b/service/lightsail/api_op_UpdateDistribution.go @@ -162,9 +162,6 @@ func (c *Client) addOperationUpdateDistributionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDistributionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_UpdateDistributionBundle.go b/service/lightsail/api_op_UpdateDistributionBundle.go index 11d8c161734..5eb87cf8bc9 100644 --- a/service/lightsail/api_op_UpdateDistributionBundle.go +++ b/service/lightsail/api_op_UpdateDistributionBundle.go @@ -134,9 +134,6 @@ func (c *Client) addOperationUpdateDistributionBundleMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateDistributionBundle(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lightsail/api_op_UpdateDomainEntry.go b/service/lightsail/api_op_UpdateDomainEntry.go index 7149083c514..37bffa774c3 100644 --- a/service/lightsail/api_op_UpdateDomainEntry.go +++ b/service/lightsail/api_op_UpdateDomainEntry.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateDomainEntryMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDomainEntryValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_UpdateInstanceMetadataOptions.go b/service/lightsail/api_op_UpdateInstanceMetadataOptions.go index 467236bb166..fac0a766045 100644 --- a/service/lightsail/api_op_UpdateInstanceMetadataOptions.go +++ b/service/lightsail/api_op_UpdateInstanceMetadataOptions.go @@ -154,9 +154,6 @@ func (c *Client) addOperationUpdateInstanceMetadataOptionsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateInstanceMetadataOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_UpdateLoadBalancerAttribute.go b/service/lightsail/api_op_UpdateLoadBalancerAttribute.go index 5ad7025aadc..3a02e293550 100644 --- a/service/lightsail/api_op_UpdateLoadBalancerAttribute.go +++ b/service/lightsail/api_op_UpdateLoadBalancerAttribute.go @@ -157,9 +157,6 @@ func (c *Client) addOperationUpdateLoadBalancerAttributeMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLoadBalancerAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_UpdateRelationalDatabase.go b/service/lightsail/api_op_UpdateRelationalDatabase.go index 6aca420e60c..9e3dfc6bdc5 100644 --- a/service/lightsail/api_op_UpdateRelationalDatabase.go +++ b/service/lightsail/api_op_UpdateRelationalDatabase.go @@ -216,9 +216,6 @@ func (c *Client) addOperationUpdateRelationalDatabaseMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRelationalDatabaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/api_op_UpdateRelationalDatabaseParameters.go b/service/lightsail/api_op_UpdateRelationalDatabaseParameters.go index 4bab4e2ccc4..4d5493da5ac 100644 --- a/service/lightsail/api_op_UpdateRelationalDatabaseParameters.go +++ b/service/lightsail/api_op_UpdateRelationalDatabaseParameters.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdateRelationalDatabaseParametersMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRelationalDatabaseParametersValidationMiddleware(stack); err != nil { return err } diff --git a/service/lightsail/snapshot/api_op_AllocateStaticIp.go.snap b/service/lightsail/snapshot/api_op_AllocateStaticIp.go.snap index bbee6131c98..08ad8fa5534 100644 --- a/service/lightsail/snapshot/api_op_AllocateStaticIp.go.snap +++ b/service/lightsail/snapshot/api_op_AllocateStaticIp.go.snap @@ -14,7 +14,6 @@ AllocateStaticIp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_AttachCertificateToDistribution.go.snap b/service/lightsail/snapshot/api_op_AttachCertificateToDistribution.go.snap index 848bb4568a7..00d6b48f61f 100644 --- a/service/lightsail/snapshot/api_op_AttachCertificateToDistribution.go.snap +++ b/service/lightsail/snapshot/api_op_AttachCertificateToDistribution.go.snap @@ -14,7 +14,6 @@ AttachCertificateToDistribution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_AttachDisk.go.snap b/service/lightsail/snapshot/api_op_AttachDisk.go.snap index 5346692206c..012eaeb57ff 100644 --- a/service/lightsail/snapshot/api_op_AttachDisk.go.snap +++ b/service/lightsail/snapshot/api_op_AttachDisk.go.snap @@ -14,7 +14,6 @@ AttachDisk Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_AttachInstancesToLoadBalancer.go.snap b/service/lightsail/snapshot/api_op_AttachInstancesToLoadBalancer.go.snap index 6fb5b91c182..14d41997d69 100644 --- a/service/lightsail/snapshot/api_op_AttachInstancesToLoadBalancer.go.snap +++ b/service/lightsail/snapshot/api_op_AttachInstancesToLoadBalancer.go.snap @@ -14,7 +14,6 @@ AttachInstancesToLoadBalancer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_AttachLoadBalancerTlsCertificate.go.snap b/service/lightsail/snapshot/api_op_AttachLoadBalancerTlsCertificate.go.snap index 78a0553d9be..ad9be9bf7dc 100644 --- a/service/lightsail/snapshot/api_op_AttachLoadBalancerTlsCertificate.go.snap +++ b/service/lightsail/snapshot/api_op_AttachLoadBalancerTlsCertificate.go.snap @@ -14,7 +14,6 @@ AttachLoadBalancerTlsCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_AttachStaticIp.go.snap b/service/lightsail/snapshot/api_op_AttachStaticIp.go.snap index f23d0fb5be0..f22ff086309 100644 --- a/service/lightsail/snapshot/api_op_AttachStaticIp.go.snap +++ b/service/lightsail/snapshot/api_op_AttachStaticIp.go.snap @@ -14,7 +14,6 @@ AttachStaticIp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_CloseInstancePublicPorts.go.snap b/service/lightsail/snapshot/api_op_CloseInstancePublicPorts.go.snap index adbaaa90206..a3707a5f7ca 100644 --- a/service/lightsail/snapshot/api_op_CloseInstancePublicPorts.go.snap +++ b/service/lightsail/snapshot/api_op_CloseInstancePublicPorts.go.snap @@ -14,7 +14,6 @@ CloseInstancePublicPorts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_CopySnapshot.go.snap b/service/lightsail/snapshot/api_op_CopySnapshot.go.snap index b6f4e30237a..cea2f803aa4 100644 --- a/service/lightsail/snapshot/api_op_CopySnapshot.go.snap +++ b/service/lightsail/snapshot/api_op_CopySnapshot.go.snap @@ -14,7 +14,6 @@ CopySnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_CreateBucket.go.snap b/service/lightsail/snapshot/api_op_CreateBucket.go.snap index cdc17197649..80bd4dc00ee 100644 --- a/service/lightsail/snapshot/api_op_CreateBucket.go.snap +++ b/service/lightsail/snapshot/api_op_CreateBucket.go.snap @@ -14,7 +14,6 @@ CreateBucket Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_CreateBucketAccessKey.go.snap b/service/lightsail/snapshot/api_op_CreateBucketAccessKey.go.snap index a2825ceca4e..2195bac3b94 100644 --- a/service/lightsail/snapshot/api_op_CreateBucketAccessKey.go.snap +++ b/service/lightsail/snapshot/api_op_CreateBucketAccessKey.go.snap @@ -14,7 +14,6 @@ CreateBucketAccessKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_CreateCertificate.go.snap b/service/lightsail/snapshot/api_op_CreateCertificate.go.snap index 21abe90c75d..6270b97f8ad 100644 --- a/service/lightsail/snapshot/api_op_CreateCertificate.go.snap +++ b/service/lightsail/snapshot/api_op_CreateCertificate.go.snap @@ -14,7 +14,6 @@ CreateCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_CreateCloudFormationStack.go.snap b/service/lightsail/snapshot/api_op_CreateCloudFormationStack.go.snap index 8a6e89b734f..bae3f69c750 100644 --- a/service/lightsail/snapshot/api_op_CreateCloudFormationStack.go.snap +++ b/service/lightsail/snapshot/api_op_CreateCloudFormationStack.go.snap @@ -14,7 +14,6 @@ CreateCloudFormationStack Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_CreateContactMethod.go.snap b/service/lightsail/snapshot/api_op_CreateContactMethod.go.snap index 91aea1f2b91..a9d6259467d 100644 --- a/service/lightsail/snapshot/api_op_CreateContactMethod.go.snap +++ b/service/lightsail/snapshot/api_op_CreateContactMethod.go.snap @@ -14,7 +14,6 @@ CreateContactMethod Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_CreateContainerService.go.snap b/service/lightsail/snapshot/api_op_CreateContainerService.go.snap index 7e664e419fc..455053ca002 100644 --- a/service/lightsail/snapshot/api_op_CreateContainerService.go.snap +++ b/service/lightsail/snapshot/api_op_CreateContainerService.go.snap @@ -14,7 +14,6 @@ CreateContainerService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_CreateContainerServiceDeployment.go.snap b/service/lightsail/snapshot/api_op_CreateContainerServiceDeployment.go.snap index 974738d56c1..b930bcd265d 100644 --- a/service/lightsail/snapshot/api_op_CreateContainerServiceDeployment.go.snap +++ b/service/lightsail/snapshot/api_op_CreateContainerServiceDeployment.go.snap @@ -14,7 +14,6 @@ CreateContainerServiceDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_CreateContainerServiceRegistryLogin.go.snap b/service/lightsail/snapshot/api_op_CreateContainerServiceRegistryLogin.go.snap index 0cb0fd448dc..187c5990f41 100644 --- a/service/lightsail/snapshot/api_op_CreateContainerServiceRegistryLogin.go.snap +++ b/service/lightsail/snapshot/api_op_CreateContainerServiceRegistryLogin.go.snap @@ -13,7 +13,6 @@ CreateContainerServiceRegistryLogin Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_CreateDisk.go.snap b/service/lightsail/snapshot/api_op_CreateDisk.go.snap index 899e531b95d..e93dc73a3d4 100644 --- a/service/lightsail/snapshot/api_op_CreateDisk.go.snap +++ b/service/lightsail/snapshot/api_op_CreateDisk.go.snap @@ -14,7 +14,6 @@ CreateDisk Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_CreateDiskFromSnapshot.go.snap b/service/lightsail/snapshot/api_op_CreateDiskFromSnapshot.go.snap index 31c0be2b605..06af1c8be13 100644 --- a/service/lightsail/snapshot/api_op_CreateDiskFromSnapshot.go.snap +++ b/service/lightsail/snapshot/api_op_CreateDiskFromSnapshot.go.snap @@ -14,7 +14,6 @@ CreateDiskFromSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_CreateDiskSnapshot.go.snap b/service/lightsail/snapshot/api_op_CreateDiskSnapshot.go.snap index a9d3bf7a31a..913cb62e372 100644 --- a/service/lightsail/snapshot/api_op_CreateDiskSnapshot.go.snap +++ b/service/lightsail/snapshot/api_op_CreateDiskSnapshot.go.snap @@ -14,7 +14,6 @@ CreateDiskSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_CreateDistribution.go.snap b/service/lightsail/snapshot/api_op_CreateDistribution.go.snap index d95c93096b7..3f6c692c628 100644 --- a/service/lightsail/snapshot/api_op_CreateDistribution.go.snap +++ b/service/lightsail/snapshot/api_op_CreateDistribution.go.snap @@ -14,7 +14,6 @@ CreateDistribution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_CreateDomain.go.snap b/service/lightsail/snapshot/api_op_CreateDomain.go.snap index 16feb8a4d42..91a84f443d8 100644 --- a/service/lightsail/snapshot/api_op_CreateDomain.go.snap +++ b/service/lightsail/snapshot/api_op_CreateDomain.go.snap @@ -14,7 +14,6 @@ CreateDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_CreateDomainEntry.go.snap b/service/lightsail/snapshot/api_op_CreateDomainEntry.go.snap index 8e5b67c0b60..c39c5771b09 100644 --- a/service/lightsail/snapshot/api_op_CreateDomainEntry.go.snap +++ b/service/lightsail/snapshot/api_op_CreateDomainEntry.go.snap @@ -14,7 +14,6 @@ CreateDomainEntry Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_CreateGUISessionAccessDetails.go.snap b/service/lightsail/snapshot/api_op_CreateGUISessionAccessDetails.go.snap index b2805e73aa6..6a7fac8a738 100644 --- a/service/lightsail/snapshot/api_op_CreateGUISessionAccessDetails.go.snap +++ b/service/lightsail/snapshot/api_op_CreateGUISessionAccessDetails.go.snap @@ -14,7 +14,6 @@ CreateGUISessionAccessDetails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_CreateInstanceSnapshot.go.snap b/service/lightsail/snapshot/api_op_CreateInstanceSnapshot.go.snap index ff1d541711b..888b6be98d6 100644 --- a/service/lightsail/snapshot/api_op_CreateInstanceSnapshot.go.snap +++ b/service/lightsail/snapshot/api_op_CreateInstanceSnapshot.go.snap @@ -14,7 +14,6 @@ CreateInstanceSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_CreateInstances.go.snap b/service/lightsail/snapshot/api_op_CreateInstances.go.snap index dc86d1200aa..9577ae2c02d 100644 --- a/service/lightsail/snapshot/api_op_CreateInstances.go.snap +++ b/service/lightsail/snapshot/api_op_CreateInstances.go.snap @@ -14,7 +14,6 @@ CreateInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_CreateInstancesFromSnapshot.go.snap b/service/lightsail/snapshot/api_op_CreateInstancesFromSnapshot.go.snap index 0d85296dd2f..9fea55e9e2a 100644 --- a/service/lightsail/snapshot/api_op_CreateInstancesFromSnapshot.go.snap +++ b/service/lightsail/snapshot/api_op_CreateInstancesFromSnapshot.go.snap @@ -14,7 +14,6 @@ CreateInstancesFromSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_CreateKeyPair.go.snap b/service/lightsail/snapshot/api_op_CreateKeyPair.go.snap index cc3afb92036..b196f84d98c 100644 --- a/service/lightsail/snapshot/api_op_CreateKeyPair.go.snap +++ b/service/lightsail/snapshot/api_op_CreateKeyPair.go.snap @@ -14,7 +14,6 @@ CreateKeyPair Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_CreateLoadBalancer.go.snap b/service/lightsail/snapshot/api_op_CreateLoadBalancer.go.snap index c9571515812..2b902beeb7c 100644 --- a/service/lightsail/snapshot/api_op_CreateLoadBalancer.go.snap +++ b/service/lightsail/snapshot/api_op_CreateLoadBalancer.go.snap @@ -14,7 +14,6 @@ CreateLoadBalancer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_CreateLoadBalancerTlsCertificate.go.snap b/service/lightsail/snapshot/api_op_CreateLoadBalancerTlsCertificate.go.snap index e054be6e04e..fde5f598e4f 100644 --- a/service/lightsail/snapshot/api_op_CreateLoadBalancerTlsCertificate.go.snap +++ b/service/lightsail/snapshot/api_op_CreateLoadBalancerTlsCertificate.go.snap @@ -14,7 +14,6 @@ CreateLoadBalancerTlsCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_CreateRelationalDatabase.go.snap b/service/lightsail/snapshot/api_op_CreateRelationalDatabase.go.snap index 512fa57bb1f..6cb7f6d9f6b 100644 --- a/service/lightsail/snapshot/api_op_CreateRelationalDatabase.go.snap +++ b/service/lightsail/snapshot/api_op_CreateRelationalDatabase.go.snap @@ -14,7 +14,6 @@ CreateRelationalDatabase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_CreateRelationalDatabaseFromSnapshot.go.snap b/service/lightsail/snapshot/api_op_CreateRelationalDatabaseFromSnapshot.go.snap index 42a887c78dd..394dabed0fa 100644 --- a/service/lightsail/snapshot/api_op_CreateRelationalDatabaseFromSnapshot.go.snap +++ b/service/lightsail/snapshot/api_op_CreateRelationalDatabaseFromSnapshot.go.snap @@ -14,7 +14,6 @@ CreateRelationalDatabaseFromSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_CreateRelationalDatabaseSnapshot.go.snap b/service/lightsail/snapshot/api_op_CreateRelationalDatabaseSnapshot.go.snap index f832d615b5e..dfccf3d1f62 100644 --- a/service/lightsail/snapshot/api_op_CreateRelationalDatabaseSnapshot.go.snap +++ b/service/lightsail/snapshot/api_op_CreateRelationalDatabaseSnapshot.go.snap @@ -14,7 +14,6 @@ CreateRelationalDatabaseSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_DeleteAlarm.go.snap b/service/lightsail/snapshot/api_op_DeleteAlarm.go.snap index 505be5a0b68..fc00bde283f 100644 --- a/service/lightsail/snapshot/api_op_DeleteAlarm.go.snap +++ b/service/lightsail/snapshot/api_op_DeleteAlarm.go.snap @@ -14,7 +14,6 @@ DeleteAlarm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_DeleteAutoSnapshot.go.snap b/service/lightsail/snapshot/api_op_DeleteAutoSnapshot.go.snap index a1b255aa004..b5eb3b7a283 100644 --- a/service/lightsail/snapshot/api_op_DeleteAutoSnapshot.go.snap +++ b/service/lightsail/snapshot/api_op_DeleteAutoSnapshot.go.snap @@ -14,7 +14,6 @@ DeleteAutoSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_DeleteBucket.go.snap b/service/lightsail/snapshot/api_op_DeleteBucket.go.snap index 76fb026dd2a..ec82c665059 100644 --- a/service/lightsail/snapshot/api_op_DeleteBucket.go.snap +++ b/service/lightsail/snapshot/api_op_DeleteBucket.go.snap @@ -14,7 +14,6 @@ DeleteBucket Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_DeleteBucketAccessKey.go.snap b/service/lightsail/snapshot/api_op_DeleteBucketAccessKey.go.snap index dc556a95d09..8bec35cddde 100644 --- a/service/lightsail/snapshot/api_op_DeleteBucketAccessKey.go.snap +++ b/service/lightsail/snapshot/api_op_DeleteBucketAccessKey.go.snap @@ -14,7 +14,6 @@ DeleteBucketAccessKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_DeleteCertificate.go.snap b/service/lightsail/snapshot/api_op_DeleteCertificate.go.snap index 03832808c49..142de0aec69 100644 --- a/service/lightsail/snapshot/api_op_DeleteCertificate.go.snap +++ b/service/lightsail/snapshot/api_op_DeleteCertificate.go.snap @@ -14,7 +14,6 @@ DeleteCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_DeleteContactMethod.go.snap b/service/lightsail/snapshot/api_op_DeleteContactMethod.go.snap index 4f12c6f2fa1..153c465e2ff 100644 --- a/service/lightsail/snapshot/api_op_DeleteContactMethod.go.snap +++ b/service/lightsail/snapshot/api_op_DeleteContactMethod.go.snap @@ -14,7 +14,6 @@ DeleteContactMethod Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_DeleteContainerImage.go.snap b/service/lightsail/snapshot/api_op_DeleteContainerImage.go.snap index b06b9833e8d..54bb979165f 100644 --- a/service/lightsail/snapshot/api_op_DeleteContainerImage.go.snap +++ b/service/lightsail/snapshot/api_op_DeleteContainerImage.go.snap @@ -14,7 +14,6 @@ DeleteContainerImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_DeleteContainerService.go.snap b/service/lightsail/snapshot/api_op_DeleteContainerService.go.snap index 1d3bf5cf9e2..a3b0d3415cb 100644 --- a/service/lightsail/snapshot/api_op_DeleteContainerService.go.snap +++ b/service/lightsail/snapshot/api_op_DeleteContainerService.go.snap @@ -14,7 +14,6 @@ DeleteContainerService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_DeleteDisk.go.snap b/service/lightsail/snapshot/api_op_DeleteDisk.go.snap index 6b7205134f2..f32bebe8a43 100644 --- a/service/lightsail/snapshot/api_op_DeleteDisk.go.snap +++ b/service/lightsail/snapshot/api_op_DeleteDisk.go.snap @@ -14,7 +14,6 @@ DeleteDisk Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_DeleteDiskSnapshot.go.snap b/service/lightsail/snapshot/api_op_DeleteDiskSnapshot.go.snap index b49affeddfa..7e8fc792331 100644 --- a/service/lightsail/snapshot/api_op_DeleteDiskSnapshot.go.snap +++ b/service/lightsail/snapshot/api_op_DeleteDiskSnapshot.go.snap @@ -14,7 +14,6 @@ DeleteDiskSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_DeleteDistribution.go.snap b/service/lightsail/snapshot/api_op_DeleteDistribution.go.snap index 141af0f3b40..a855afed6c9 100644 --- a/service/lightsail/snapshot/api_op_DeleteDistribution.go.snap +++ b/service/lightsail/snapshot/api_op_DeleteDistribution.go.snap @@ -13,7 +13,6 @@ DeleteDistribution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_DeleteDomain.go.snap b/service/lightsail/snapshot/api_op_DeleteDomain.go.snap index 24c9a1b0eb3..9a8c40f82ef 100644 --- a/service/lightsail/snapshot/api_op_DeleteDomain.go.snap +++ b/service/lightsail/snapshot/api_op_DeleteDomain.go.snap @@ -14,7 +14,6 @@ DeleteDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_DeleteDomainEntry.go.snap b/service/lightsail/snapshot/api_op_DeleteDomainEntry.go.snap index 4c5f1b69cdb..5569eb0fe59 100644 --- a/service/lightsail/snapshot/api_op_DeleteDomainEntry.go.snap +++ b/service/lightsail/snapshot/api_op_DeleteDomainEntry.go.snap @@ -14,7 +14,6 @@ DeleteDomainEntry Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_DeleteInstance.go.snap b/service/lightsail/snapshot/api_op_DeleteInstance.go.snap index 824b539eb6b..c62b128cf8d 100644 --- a/service/lightsail/snapshot/api_op_DeleteInstance.go.snap +++ b/service/lightsail/snapshot/api_op_DeleteInstance.go.snap @@ -14,7 +14,6 @@ DeleteInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_DeleteInstanceSnapshot.go.snap b/service/lightsail/snapshot/api_op_DeleteInstanceSnapshot.go.snap index 133d0a7339a..98dd8077c32 100644 --- a/service/lightsail/snapshot/api_op_DeleteInstanceSnapshot.go.snap +++ b/service/lightsail/snapshot/api_op_DeleteInstanceSnapshot.go.snap @@ -14,7 +14,6 @@ DeleteInstanceSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_DeleteKeyPair.go.snap b/service/lightsail/snapshot/api_op_DeleteKeyPair.go.snap index 2d395693d2e..83525577974 100644 --- a/service/lightsail/snapshot/api_op_DeleteKeyPair.go.snap +++ b/service/lightsail/snapshot/api_op_DeleteKeyPair.go.snap @@ -14,7 +14,6 @@ DeleteKeyPair Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_DeleteKnownHostKeys.go.snap b/service/lightsail/snapshot/api_op_DeleteKnownHostKeys.go.snap index cf83e68cf8e..977d3d1a868 100644 --- a/service/lightsail/snapshot/api_op_DeleteKnownHostKeys.go.snap +++ b/service/lightsail/snapshot/api_op_DeleteKnownHostKeys.go.snap @@ -14,7 +14,6 @@ DeleteKnownHostKeys Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_DeleteLoadBalancer.go.snap b/service/lightsail/snapshot/api_op_DeleteLoadBalancer.go.snap index 1109a946cb2..01691ccc811 100644 --- a/service/lightsail/snapshot/api_op_DeleteLoadBalancer.go.snap +++ b/service/lightsail/snapshot/api_op_DeleteLoadBalancer.go.snap @@ -14,7 +14,6 @@ DeleteLoadBalancer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_DeleteLoadBalancerTlsCertificate.go.snap b/service/lightsail/snapshot/api_op_DeleteLoadBalancerTlsCertificate.go.snap index e82311535ed..9fa8846c0fc 100644 --- a/service/lightsail/snapshot/api_op_DeleteLoadBalancerTlsCertificate.go.snap +++ b/service/lightsail/snapshot/api_op_DeleteLoadBalancerTlsCertificate.go.snap @@ -14,7 +14,6 @@ DeleteLoadBalancerTlsCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_DeleteRelationalDatabase.go.snap b/service/lightsail/snapshot/api_op_DeleteRelationalDatabase.go.snap index da76d10f552..0cb8f8c223f 100644 --- a/service/lightsail/snapshot/api_op_DeleteRelationalDatabase.go.snap +++ b/service/lightsail/snapshot/api_op_DeleteRelationalDatabase.go.snap @@ -14,7 +14,6 @@ DeleteRelationalDatabase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_DeleteRelationalDatabaseSnapshot.go.snap b/service/lightsail/snapshot/api_op_DeleteRelationalDatabaseSnapshot.go.snap index 5203ddaf93d..9dc39ae1181 100644 --- a/service/lightsail/snapshot/api_op_DeleteRelationalDatabaseSnapshot.go.snap +++ b/service/lightsail/snapshot/api_op_DeleteRelationalDatabaseSnapshot.go.snap @@ -14,7 +14,6 @@ DeleteRelationalDatabaseSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_DetachCertificateFromDistribution.go.snap b/service/lightsail/snapshot/api_op_DetachCertificateFromDistribution.go.snap index fec0236857e..9c88759a3aa 100644 --- a/service/lightsail/snapshot/api_op_DetachCertificateFromDistribution.go.snap +++ b/service/lightsail/snapshot/api_op_DetachCertificateFromDistribution.go.snap @@ -14,7 +14,6 @@ DetachCertificateFromDistribution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_DetachDisk.go.snap b/service/lightsail/snapshot/api_op_DetachDisk.go.snap index 9fd0dbfad66..6923351f1fe 100644 --- a/service/lightsail/snapshot/api_op_DetachDisk.go.snap +++ b/service/lightsail/snapshot/api_op_DetachDisk.go.snap @@ -14,7 +14,6 @@ DetachDisk Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_DetachInstancesFromLoadBalancer.go.snap b/service/lightsail/snapshot/api_op_DetachInstancesFromLoadBalancer.go.snap index d3ae752f3ed..aad3cbbf85b 100644 --- a/service/lightsail/snapshot/api_op_DetachInstancesFromLoadBalancer.go.snap +++ b/service/lightsail/snapshot/api_op_DetachInstancesFromLoadBalancer.go.snap @@ -14,7 +14,6 @@ DetachInstancesFromLoadBalancer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_DetachStaticIp.go.snap b/service/lightsail/snapshot/api_op_DetachStaticIp.go.snap index 8733a19123a..5be88f62c87 100644 --- a/service/lightsail/snapshot/api_op_DetachStaticIp.go.snap +++ b/service/lightsail/snapshot/api_op_DetachStaticIp.go.snap @@ -14,7 +14,6 @@ DetachStaticIp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_DisableAddOn.go.snap b/service/lightsail/snapshot/api_op_DisableAddOn.go.snap index 56d0622c742..1b31a276def 100644 --- a/service/lightsail/snapshot/api_op_DisableAddOn.go.snap +++ b/service/lightsail/snapshot/api_op_DisableAddOn.go.snap @@ -14,7 +14,6 @@ DisableAddOn Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_DownloadDefaultKeyPair.go.snap b/service/lightsail/snapshot/api_op_DownloadDefaultKeyPair.go.snap index e4251ce796b..7b142788f3d 100644 --- a/service/lightsail/snapshot/api_op_DownloadDefaultKeyPair.go.snap +++ b/service/lightsail/snapshot/api_op_DownloadDefaultKeyPair.go.snap @@ -13,7 +13,6 @@ DownloadDefaultKeyPair Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_EnableAddOn.go.snap b/service/lightsail/snapshot/api_op_EnableAddOn.go.snap index 07126710919..3d9c4f2e442 100644 --- a/service/lightsail/snapshot/api_op_EnableAddOn.go.snap +++ b/service/lightsail/snapshot/api_op_EnableAddOn.go.snap @@ -14,7 +14,6 @@ EnableAddOn Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_ExportSnapshot.go.snap b/service/lightsail/snapshot/api_op_ExportSnapshot.go.snap index a66756f2eca..cb07d0598b2 100644 --- a/service/lightsail/snapshot/api_op_ExportSnapshot.go.snap +++ b/service/lightsail/snapshot/api_op_ExportSnapshot.go.snap @@ -14,7 +14,6 @@ ExportSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetActiveNames.go.snap b/service/lightsail/snapshot/api_op_GetActiveNames.go.snap index bbc40480f0e..d8a59e21d5d 100644 --- a/service/lightsail/snapshot/api_op_GetActiveNames.go.snap +++ b/service/lightsail/snapshot/api_op_GetActiveNames.go.snap @@ -13,7 +13,6 @@ GetActiveNames Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetAlarms.go.snap b/service/lightsail/snapshot/api_op_GetAlarms.go.snap index 5e27fe39013..239c7c1cc54 100644 --- a/service/lightsail/snapshot/api_op_GetAlarms.go.snap +++ b/service/lightsail/snapshot/api_op_GetAlarms.go.snap @@ -13,7 +13,6 @@ GetAlarms Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetAutoSnapshots.go.snap b/service/lightsail/snapshot/api_op_GetAutoSnapshots.go.snap index 16dae776dd7..d7827ba6c71 100644 --- a/service/lightsail/snapshot/api_op_GetAutoSnapshots.go.snap +++ b/service/lightsail/snapshot/api_op_GetAutoSnapshots.go.snap @@ -14,7 +14,6 @@ GetAutoSnapshots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetBlueprints.go.snap b/service/lightsail/snapshot/api_op_GetBlueprints.go.snap index 03766e14d76..314df3cdccb 100644 --- a/service/lightsail/snapshot/api_op_GetBlueprints.go.snap +++ b/service/lightsail/snapshot/api_op_GetBlueprints.go.snap @@ -13,7 +13,6 @@ GetBlueprints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetBucketAccessKeys.go.snap b/service/lightsail/snapshot/api_op_GetBucketAccessKeys.go.snap index e346e91e446..1356d930ef4 100644 --- a/service/lightsail/snapshot/api_op_GetBucketAccessKeys.go.snap +++ b/service/lightsail/snapshot/api_op_GetBucketAccessKeys.go.snap @@ -14,7 +14,6 @@ GetBucketAccessKeys Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetBucketBundles.go.snap b/service/lightsail/snapshot/api_op_GetBucketBundles.go.snap index d9bb5c70ebc..7b259b71106 100644 --- a/service/lightsail/snapshot/api_op_GetBucketBundles.go.snap +++ b/service/lightsail/snapshot/api_op_GetBucketBundles.go.snap @@ -13,7 +13,6 @@ GetBucketBundles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetBucketMetricData.go.snap b/service/lightsail/snapshot/api_op_GetBucketMetricData.go.snap index e3b3f57219d..a9a1afc740f 100644 --- a/service/lightsail/snapshot/api_op_GetBucketMetricData.go.snap +++ b/service/lightsail/snapshot/api_op_GetBucketMetricData.go.snap @@ -14,7 +14,6 @@ GetBucketMetricData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetBuckets.go.snap b/service/lightsail/snapshot/api_op_GetBuckets.go.snap index e5d157b27d7..ba2cd61ee47 100644 --- a/service/lightsail/snapshot/api_op_GetBuckets.go.snap +++ b/service/lightsail/snapshot/api_op_GetBuckets.go.snap @@ -13,7 +13,6 @@ GetBuckets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetBundles.go.snap b/service/lightsail/snapshot/api_op_GetBundles.go.snap index 4afc308e7cc..4f55d9e5676 100644 --- a/service/lightsail/snapshot/api_op_GetBundles.go.snap +++ b/service/lightsail/snapshot/api_op_GetBundles.go.snap @@ -13,7 +13,6 @@ GetBundles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetCertificates.go.snap b/service/lightsail/snapshot/api_op_GetCertificates.go.snap index f729b93f6d1..5f01e35810e 100644 --- a/service/lightsail/snapshot/api_op_GetCertificates.go.snap +++ b/service/lightsail/snapshot/api_op_GetCertificates.go.snap @@ -13,7 +13,6 @@ GetCertificates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetCloudFormationStackRecords.go.snap b/service/lightsail/snapshot/api_op_GetCloudFormationStackRecords.go.snap index a42d573c5dc..9ebbf091e20 100644 --- a/service/lightsail/snapshot/api_op_GetCloudFormationStackRecords.go.snap +++ b/service/lightsail/snapshot/api_op_GetCloudFormationStackRecords.go.snap @@ -13,7 +13,6 @@ GetCloudFormationStackRecords Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetContactMethods.go.snap b/service/lightsail/snapshot/api_op_GetContactMethods.go.snap index d253fa06b86..4b8fa867b1a 100644 --- a/service/lightsail/snapshot/api_op_GetContactMethods.go.snap +++ b/service/lightsail/snapshot/api_op_GetContactMethods.go.snap @@ -13,7 +13,6 @@ GetContactMethods Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetContainerAPIMetadata.go.snap b/service/lightsail/snapshot/api_op_GetContainerAPIMetadata.go.snap index 908bb4a9dae..a5b40b22ca3 100644 --- a/service/lightsail/snapshot/api_op_GetContainerAPIMetadata.go.snap +++ b/service/lightsail/snapshot/api_op_GetContainerAPIMetadata.go.snap @@ -13,7 +13,6 @@ GetContainerAPIMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetContainerImages.go.snap b/service/lightsail/snapshot/api_op_GetContainerImages.go.snap index a1eed5c8db6..0519d549448 100644 --- a/service/lightsail/snapshot/api_op_GetContainerImages.go.snap +++ b/service/lightsail/snapshot/api_op_GetContainerImages.go.snap @@ -14,7 +14,6 @@ GetContainerImages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetContainerLog.go.snap b/service/lightsail/snapshot/api_op_GetContainerLog.go.snap index 337228ff497..0a932a69165 100644 --- a/service/lightsail/snapshot/api_op_GetContainerLog.go.snap +++ b/service/lightsail/snapshot/api_op_GetContainerLog.go.snap @@ -14,7 +14,6 @@ GetContainerLog Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetContainerServiceDeployments.go.snap b/service/lightsail/snapshot/api_op_GetContainerServiceDeployments.go.snap index ed6cb688f66..71403b0f2c9 100644 --- a/service/lightsail/snapshot/api_op_GetContainerServiceDeployments.go.snap +++ b/service/lightsail/snapshot/api_op_GetContainerServiceDeployments.go.snap @@ -14,7 +14,6 @@ GetContainerServiceDeployments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetContainerServiceMetricData.go.snap b/service/lightsail/snapshot/api_op_GetContainerServiceMetricData.go.snap index 18a26a87b9c..73e48e796cc 100644 --- a/service/lightsail/snapshot/api_op_GetContainerServiceMetricData.go.snap +++ b/service/lightsail/snapshot/api_op_GetContainerServiceMetricData.go.snap @@ -14,7 +14,6 @@ GetContainerServiceMetricData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetContainerServicePowers.go.snap b/service/lightsail/snapshot/api_op_GetContainerServicePowers.go.snap index 47fff2be769..e7f489e033d 100644 --- a/service/lightsail/snapshot/api_op_GetContainerServicePowers.go.snap +++ b/service/lightsail/snapshot/api_op_GetContainerServicePowers.go.snap @@ -13,7 +13,6 @@ GetContainerServicePowers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetContainerServices.go.snap b/service/lightsail/snapshot/api_op_GetContainerServices.go.snap index 4a3da455733..c8b7773ae56 100644 --- a/service/lightsail/snapshot/api_op_GetContainerServices.go.snap +++ b/service/lightsail/snapshot/api_op_GetContainerServices.go.snap @@ -13,7 +13,6 @@ GetContainerServices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetCostEstimate.go.snap b/service/lightsail/snapshot/api_op_GetCostEstimate.go.snap index e07af397264..2eb51b34d4e 100644 --- a/service/lightsail/snapshot/api_op_GetCostEstimate.go.snap +++ b/service/lightsail/snapshot/api_op_GetCostEstimate.go.snap @@ -14,7 +14,6 @@ GetCostEstimate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetDisk.go.snap b/service/lightsail/snapshot/api_op_GetDisk.go.snap index 9a69fced0f4..d9541caaf53 100644 --- a/service/lightsail/snapshot/api_op_GetDisk.go.snap +++ b/service/lightsail/snapshot/api_op_GetDisk.go.snap @@ -14,7 +14,6 @@ GetDisk Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetDiskSnapshot.go.snap b/service/lightsail/snapshot/api_op_GetDiskSnapshot.go.snap index a214f6d569a..1b31840db2e 100644 --- a/service/lightsail/snapshot/api_op_GetDiskSnapshot.go.snap +++ b/service/lightsail/snapshot/api_op_GetDiskSnapshot.go.snap @@ -14,7 +14,6 @@ GetDiskSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetDiskSnapshots.go.snap b/service/lightsail/snapshot/api_op_GetDiskSnapshots.go.snap index 5554e9756b5..befbbe75543 100644 --- a/service/lightsail/snapshot/api_op_GetDiskSnapshots.go.snap +++ b/service/lightsail/snapshot/api_op_GetDiskSnapshots.go.snap @@ -13,7 +13,6 @@ GetDiskSnapshots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetDisks.go.snap b/service/lightsail/snapshot/api_op_GetDisks.go.snap index a60fe4d88aa..13703b97892 100644 --- a/service/lightsail/snapshot/api_op_GetDisks.go.snap +++ b/service/lightsail/snapshot/api_op_GetDisks.go.snap @@ -13,7 +13,6 @@ GetDisks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetDistributionBundles.go.snap b/service/lightsail/snapshot/api_op_GetDistributionBundles.go.snap index 7e66e83cd16..6eac2c46b25 100644 --- a/service/lightsail/snapshot/api_op_GetDistributionBundles.go.snap +++ b/service/lightsail/snapshot/api_op_GetDistributionBundles.go.snap @@ -13,7 +13,6 @@ GetDistributionBundles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetDistributionLatestCacheReset.go.snap b/service/lightsail/snapshot/api_op_GetDistributionLatestCacheReset.go.snap index d25ea585bb5..aa0591add53 100644 --- a/service/lightsail/snapshot/api_op_GetDistributionLatestCacheReset.go.snap +++ b/service/lightsail/snapshot/api_op_GetDistributionLatestCacheReset.go.snap @@ -13,7 +13,6 @@ GetDistributionLatestCacheReset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetDistributionMetricData.go.snap b/service/lightsail/snapshot/api_op_GetDistributionMetricData.go.snap index 1365f53d683..12fbe84d4eb 100644 --- a/service/lightsail/snapshot/api_op_GetDistributionMetricData.go.snap +++ b/service/lightsail/snapshot/api_op_GetDistributionMetricData.go.snap @@ -14,7 +14,6 @@ GetDistributionMetricData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetDistributions.go.snap b/service/lightsail/snapshot/api_op_GetDistributions.go.snap index 62740e679b9..6fb6058500e 100644 --- a/service/lightsail/snapshot/api_op_GetDistributions.go.snap +++ b/service/lightsail/snapshot/api_op_GetDistributions.go.snap @@ -13,7 +13,6 @@ GetDistributions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetDomain.go.snap b/service/lightsail/snapshot/api_op_GetDomain.go.snap index 18aaf8491da..d701a7b1505 100644 --- a/service/lightsail/snapshot/api_op_GetDomain.go.snap +++ b/service/lightsail/snapshot/api_op_GetDomain.go.snap @@ -14,7 +14,6 @@ GetDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetDomains.go.snap b/service/lightsail/snapshot/api_op_GetDomains.go.snap index 40ed943c94a..11f3de0b360 100644 --- a/service/lightsail/snapshot/api_op_GetDomains.go.snap +++ b/service/lightsail/snapshot/api_op_GetDomains.go.snap @@ -13,7 +13,6 @@ GetDomains Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetExportSnapshotRecords.go.snap b/service/lightsail/snapshot/api_op_GetExportSnapshotRecords.go.snap index 70621933ad5..572dc680bb0 100644 --- a/service/lightsail/snapshot/api_op_GetExportSnapshotRecords.go.snap +++ b/service/lightsail/snapshot/api_op_GetExportSnapshotRecords.go.snap @@ -13,7 +13,6 @@ GetExportSnapshotRecords Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetInstance.go.snap b/service/lightsail/snapshot/api_op_GetInstance.go.snap index 729762d50d4..077b1594cb9 100644 --- a/service/lightsail/snapshot/api_op_GetInstance.go.snap +++ b/service/lightsail/snapshot/api_op_GetInstance.go.snap @@ -14,7 +14,6 @@ GetInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetInstanceAccessDetails.go.snap b/service/lightsail/snapshot/api_op_GetInstanceAccessDetails.go.snap index 2f72a3d9c38..28f713e7c36 100644 --- a/service/lightsail/snapshot/api_op_GetInstanceAccessDetails.go.snap +++ b/service/lightsail/snapshot/api_op_GetInstanceAccessDetails.go.snap @@ -14,7 +14,6 @@ GetInstanceAccessDetails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetInstanceMetricData.go.snap b/service/lightsail/snapshot/api_op_GetInstanceMetricData.go.snap index 1235b49ea25..a8ed4ce0a99 100644 --- a/service/lightsail/snapshot/api_op_GetInstanceMetricData.go.snap +++ b/service/lightsail/snapshot/api_op_GetInstanceMetricData.go.snap @@ -14,7 +14,6 @@ GetInstanceMetricData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetInstancePortStates.go.snap b/service/lightsail/snapshot/api_op_GetInstancePortStates.go.snap index 9d716941c50..43adbe42a9f 100644 --- a/service/lightsail/snapshot/api_op_GetInstancePortStates.go.snap +++ b/service/lightsail/snapshot/api_op_GetInstancePortStates.go.snap @@ -14,7 +14,6 @@ GetInstancePortStates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetInstanceSnapshot.go.snap b/service/lightsail/snapshot/api_op_GetInstanceSnapshot.go.snap index c8b54d5b5ab..1b6201ff9dd 100644 --- a/service/lightsail/snapshot/api_op_GetInstanceSnapshot.go.snap +++ b/service/lightsail/snapshot/api_op_GetInstanceSnapshot.go.snap @@ -14,7 +14,6 @@ GetInstanceSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetInstanceSnapshots.go.snap b/service/lightsail/snapshot/api_op_GetInstanceSnapshots.go.snap index 8a513e68206..14177d395aa 100644 --- a/service/lightsail/snapshot/api_op_GetInstanceSnapshots.go.snap +++ b/service/lightsail/snapshot/api_op_GetInstanceSnapshots.go.snap @@ -13,7 +13,6 @@ GetInstanceSnapshots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetInstanceState.go.snap b/service/lightsail/snapshot/api_op_GetInstanceState.go.snap index 236865a8b41..5db75b7c522 100644 --- a/service/lightsail/snapshot/api_op_GetInstanceState.go.snap +++ b/service/lightsail/snapshot/api_op_GetInstanceState.go.snap @@ -14,7 +14,6 @@ GetInstanceState Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetInstances.go.snap b/service/lightsail/snapshot/api_op_GetInstances.go.snap index 132569aa662..ca22891a18e 100644 --- a/service/lightsail/snapshot/api_op_GetInstances.go.snap +++ b/service/lightsail/snapshot/api_op_GetInstances.go.snap @@ -13,7 +13,6 @@ GetInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetKeyPair.go.snap b/service/lightsail/snapshot/api_op_GetKeyPair.go.snap index 65f7f553401..3900d1fef02 100644 --- a/service/lightsail/snapshot/api_op_GetKeyPair.go.snap +++ b/service/lightsail/snapshot/api_op_GetKeyPair.go.snap @@ -14,7 +14,6 @@ GetKeyPair Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetKeyPairs.go.snap b/service/lightsail/snapshot/api_op_GetKeyPairs.go.snap index 6a0ae720d39..de60c1dd33c 100644 --- a/service/lightsail/snapshot/api_op_GetKeyPairs.go.snap +++ b/service/lightsail/snapshot/api_op_GetKeyPairs.go.snap @@ -13,7 +13,6 @@ GetKeyPairs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetLoadBalancer.go.snap b/service/lightsail/snapshot/api_op_GetLoadBalancer.go.snap index 2fbb00645e7..34919f17d4d 100644 --- a/service/lightsail/snapshot/api_op_GetLoadBalancer.go.snap +++ b/service/lightsail/snapshot/api_op_GetLoadBalancer.go.snap @@ -14,7 +14,6 @@ GetLoadBalancer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetLoadBalancerMetricData.go.snap b/service/lightsail/snapshot/api_op_GetLoadBalancerMetricData.go.snap index 2424a05e280..cb5cb8a58e9 100644 --- a/service/lightsail/snapshot/api_op_GetLoadBalancerMetricData.go.snap +++ b/service/lightsail/snapshot/api_op_GetLoadBalancerMetricData.go.snap @@ -14,7 +14,6 @@ GetLoadBalancerMetricData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetLoadBalancerTlsCertificates.go.snap b/service/lightsail/snapshot/api_op_GetLoadBalancerTlsCertificates.go.snap index a6c02b068d2..7f089bce7fb 100644 --- a/service/lightsail/snapshot/api_op_GetLoadBalancerTlsCertificates.go.snap +++ b/service/lightsail/snapshot/api_op_GetLoadBalancerTlsCertificates.go.snap @@ -14,7 +14,6 @@ GetLoadBalancerTlsCertificates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetLoadBalancerTlsPolicies.go.snap b/service/lightsail/snapshot/api_op_GetLoadBalancerTlsPolicies.go.snap index ae133cb2d7f..3ba50ef6c2b 100644 --- a/service/lightsail/snapshot/api_op_GetLoadBalancerTlsPolicies.go.snap +++ b/service/lightsail/snapshot/api_op_GetLoadBalancerTlsPolicies.go.snap @@ -13,7 +13,6 @@ GetLoadBalancerTlsPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetLoadBalancers.go.snap b/service/lightsail/snapshot/api_op_GetLoadBalancers.go.snap index a2d1c7e52a3..e731af7d8ad 100644 --- a/service/lightsail/snapshot/api_op_GetLoadBalancers.go.snap +++ b/service/lightsail/snapshot/api_op_GetLoadBalancers.go.snap @@ -13,7 +13,6 @@ GetLoadBalancers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetOperation.go.snap b/service/lightsail/snapshot/api_op_GetOperation.go.snap index d69823b5d58..b0c626576d1 100644 --- a/service/lightsail/snapshot/api_op_GetOperation.go.snap +++ b/service/lightsail/snapshot/api_op_GetOperation.go.snap @@ -14,7 +14,6 @@ GetOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetOperations.go.snap b/service/lightsail/snapshot/api_op_GetOperations.go.snap index a407dd94f54..a9a829a8ab3 100644 --- a/service/lightsail/snapshot/api_op_GetOperations.go.snap +++ b/service/lightsail/snapshot/api_op_GetOperations.go.snap @@ -13,7 +13,6 @@ GetOperations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetOperationsForResource.go.snap b/service/lightsail/snapshot/api_op_GetOperationsForResource.go.snap index 9d4560d2f57..c17cb4c798d 100644 --- a/service/lightsail/snapshot/api_op_GetOperationsForResource.go.snap +++ b/service/lightsail/snapshot/api_op_GetOperationsForResource.go.snap @@ -14,7 +14,6 @@ GetOperationsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetRegions.go.snap b/service/lightsail/snapshot/api_op_GetRegions.go.snap index 50566f34bf8..344326e2537 100644 --- a/service/lightsail/snapshot/api_op_GetRegions.go.snap +++ b/service/lightsail/snapshot/api_op_GetRegions.go.snap @@ -13,7 +13,6 @@ GetRegions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetRelationalDatabase.go.snap b/service/lightsail/snapshot/api_op_GetRelationalDatabase.go.snap index 6e97b0b06d7..68c90209602 100644 --- a/service/lightsail/snapshot/api_op_GetRelationalDatabase.go.snap +++ b/service/lightsail/snapshot/api_op_GetRelationalDatabase.go.snap @@ -14,7 +14,6 @@ GetRelationalDatabase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetRelationalDatabaseBlueprints.go.snap b/service/lightsail/snapshot/api_op_GetRelationalDatabaseBlueprints.go.snap index 0f5ee71c2f8..172a790fb1f 100644 --- a/service/lightsail/snapshot/api_op_GetRelationalDatabaseBlueprints.go.snap +++ b/service/lightsail/snapshot/api_op_GetRelationalDatabaseBlueprints.go.snap @@ -13,7 +13,6 @@ GetRelationalDatabaseBlueprints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetRelationalDatabaseBundles.go.snap b/service/lightsail/snapshot/api_op_GetRelationalDatabaseBundles.go.snap index abb362f4a96..35cb44256ef 100644 --- a/service/lightsail/snapshot/api_op_GetRelationalDatabaseBundles.go.snap +++ b/service/lightsail/snapshot/api_op_GetRelationalDatabaseBundles.go.snap @@ -13,7 +13,6 @@ GetRelationalDatabaseBundles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetRelationalDatabaseEvents.go.snap b/service/lightsail/snapshot/api_op_GetRelationalDatabaseEvents.go.snap index 163b9e49dd9..95c71555ff2 100644 --- a/service/lightsail/snapshot/api_op_GetRelationalDatabaseEvents.go.snap +++ b/service/lightsail/snapshot/api_op_GetRelationalDatabaseEvents.go.snap @@ -14,7 +14,6 @@ GetRelationalDatabaseEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetRelationalDatabaseLogEvents.go.snap b/service/lightsail/snapshot/api_op_GetRelationalDatabaseLogEvents.go.snap index 4af8aa1dbe8..3aab82324aa 100644 --- a/service/lightsail/snapshot/api_op_GetRelationalDatabaseLogEvents.go.snap +++ b/service/lightsail/snapshot/api_op_GetRelationalDatabaseLogEvents.go.snap @@ -14,7 +14,6 @@ GetRelationalDatabaseLogEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetRelationalDatabaseLogStreams.go.snap b/service/lightsail/snapshot/api_op_GetRelationalDatabaseLogStreams.go.snap index 20d3c44b667..3aa55a699d2 100644 --- a/service/lightsail/snapshot/api_op_GetRelationalDatabaseLogStreams.go.snap +++ b/service/lightsail/snapshot/api_op_GetRelationalDatabaseLogStreams.go.snap @@ -14,7 +14,6 @@ GetRelationalDatabaseLogStreams Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetRelationalDatabaseMasterUserPassword.go.snap b/service/lightsail/snapshot/api_op_GetRelationalDatabaseMasterUserPassword.go.snap index 3e0743d4be3..6dc7c248a65 100644 --- a/service/lightsail/snapshot/api_op_GetRelationalDatabaseMasterUserPassword.go.snap +++ b/service/lightsail/snapshot/api_op_GetRelationalDatabaseMasterUserPassword.go.snap @@ -14,7 +14,6 @@ GetRelationalDatabaseMasterUserPassword Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetRelationalDatabaseMetricData.go.snap b/service/lightsail/snapshot/api_op_GetRelationalDatabaseMetricData.go.snap index 81abb4a552c..87073473d43 100644 --- a/service/lightsail/snapshot/api_op_GetRelationalDatabaseMetricData.go.snap +++ b/service/lightsail/snapshot/api_op_GetRelationalDatabaseMetricData.go.snap @@ -14,7 +14,6 @@ GetRelationalDatabaseMetricData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetRelationalDatabaseParameters.go.snap b/service/lightsail/snapshot/api_op_GetRelationalDatabaseParameters.go.snap index 8ba1c40cb22..9dadd368780 100644 --- a/service/lightsail/snapshot/api_op_GetRelationalDatabaseParameters.go.snap +++ b/service/lightsail/snapshot/api_op_GetRelationalDatabaseParameters.go.snap @@ -14,7 +14,6 @@ GetRelationalDatabaseParameters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetRelationalDatabaseSnapshot.go.snap b/service/lightsail/snapshot/api_op_GetRelationalDatabaseSnapshot.go.snap index d6c1dd8f4ea..17376bfa048 100644 --- a/service/lightsail/snapshot/api_op_GetRelationalDatabaseSnapshot.go.snap +++ b/service/lightsail/snapshot/api_op_GetRelationalDatabaseSnapshot.go.snap @@ -14,7 +14,6 @@ GetRelationalDatabaseSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetRelationalDatabaseSnapshots.go.snap b/service/lightsail/snapshot/api_op_GetRelationalDatabaseSnapshots.go.snap index fe6aac7bd59..3de1d7538d4 100644 --- a/service/lightsail/snapshot/api_op_GetRelationalDatabaseSnapshots.go.snap +++ b/service/lightsail/snapshot/api_op_GetRelationalDatabaseSnapshots.go.snap @@ -13,7 +13,6 @@ GetRelationalDatabaseSnapshots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetRelationalDatabases.go.snap b/service/lightsail/snapshot/api_op_GetRelationalDatabases.go.snap index 13edbd58080..9dc004f7bd0 100644 --- a/service/lightsail/snapshot/api_op_GetRelationalDatabases.go.snap +++ b/service/lightsail/snapshot/api_op_GetRelationalDatabases.go.snap @@ -13,7 +13,6 @@ GetRelationalDatabases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetSetupHistory.go.snap b/service/lightsail/snapshot/api_op_GetSetupHistory.go.snap index 43b5b8b6ee1..7c9dd9f87b8 100644 --- a/service/lightsail/snapshot/api_op_GetSetupHistory.go.snap +++ b/service/lightsail/snapshot/api_op_GetSetupHistory.go.snap @@ -14,7 +14,6 @@ GetSetupHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetStaticIp.go.snap b/service/lightsail/snapshot/api_op_GetStaticIp.go.snap index e7cb4ba0b96..ad07fbc0a10 100644 --- a/service/lightsail/snapshot/api_op_GetStaticIp.go.snap +++ b/service/lightsail/snapshot/api_op_GetStaticIp.go.snap @@ -14,7 +14,6 @@ GetStaticIp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_GetStaticIps.go.snap b/service/lightsail/snapshot/api_op_GetStaticIps.go.snap index 9ee58395788..7c14826f4eb 100644 --- a/service/lightsail/snapshot/api_op_GetStaticIps.go.snap +++ b/service/lightsail/snapshot/api_op_GetStaticIps.go.snap @@ -13,7 +13,6 @@ GetStaticIps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_ImportKeyPair.go.snap b/service/lightsail/snapshot/api_op_ImportKeyPair.go.snap index 9771b382032..16b8d2e122c 100644 --- a/service/lightsail/snapshot/api_op_ImportKeyPair.go.snap +++ b/service/lightsail/snapshot/api_op_ImportKeyPair.go.snap @@ -14,7 +14,6 @@ ImportKeyPair Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_IsVpcPeered.go.snap b/service/lightsail/snapshot/api_op_IsVpcPeered.go.snap index 878a7d954f6..746c03d1098 100644 --- a/service/lightsail/snapshot/api_op_IsVpcPeered.go.snap +++ b/service/lightsail/snapshot/api_op_IsVpcPeered.go.snap @@ -13,7 +13,6 @@ IsVpcPeered Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_OpenInstancePublicPorts.go.snap b/service/lightsail/snapshot/api_op_OpenInstancePublicPorts.go.snap index d625413d68c..f72e0541b3f 100644 --- a/service/lightsail/snapshot/api_op_OpenInstancePublicPorts.go.snap +++ b/service/lightsail/snapshot/api_op_OpenInstancePublicPorts.go.snap @@ -14,7 +14,6 @@ OpenInstancePublicPorts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_PeerVpc.go.snap b/service/lightsail/snapshot/api_op_PeerVpc.go.snap index 167cbd2ae82..93c25122297 100644 --- a/service/lightsail/snapshot/api_op_PeerVpc.go.snap +++ b/service/lightsail/snapshot/api_op_PeerVpc.go.snap @@ -13,7 +13,6 @@ PeerVpc Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_PutAlarm.go.snap b/service/lightsail/snapshot/api_op_PutAlarm.go.snap index 1603ce0781d..38599cec32b 100644 --- a/service/lightsail/snapshot/api_op_PutAlarm.go.snap +++ b/service/lightsail/snapshot/api_op_PutAlarm.go.snap @@ -14,7 +14,6 @@ PutAlarm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_PutInstancePublicPorts.go.snap b/service/lightsail/snapshot/api_op_PutInstancePublicPorts.go.snap index 4d8fbe72ca5..7a814af679b 100644 --- a/service/lightsail/snapshot/api_op_PutInstancePublicPorts.go.snap +++ b/service/lightsail/snapshot/api_op_PutInstancePublicPorts.go.snap @@ -14,7 +14,6 @@ PutInstancePublicPorts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_RebootInstance.go.snap b/service/lightsail/snapshot/api_op_RebootInstance.go.snap index 7671bc63994..dd4f49e46dc 100644 --- a/service/lightsail/snapshot/api_op_RebootInstance.go.snap +++ b/service/lightsail/snapshot/api_op_RebootInstance.go.snap @@ -14,7 +14,6 @@ RebootInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_RebootRelationalDatabase.go.snap b/service/lightsail/snapshot/api_op_RebootRelationalDatabase.go.snap index 7c69b7dec91..55ecee5ec48 100644 --- a/service/lightsail/snapshot/api_op_RebootRelationalDatabase.go.snap +++ b/service/lightsail/snapshot/api_op_RebootRelationalDatabase.go.snap @@ -14,7 +14,6 @@ RebootRelationalDatabase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_RegisterContainerImage.go.snap b/service/lightsail/snapshot/api_op_RegisterContainerImage.go.snap index 249fb2d087d..ec6f89e311d 100644 --- a/service/lightsail/snapshot/api_op_RegisterContainerImage.go.snap +++ b/service/lightsail/snapshot/api_op_RegisterContainerImage.go.snap @@ -14,7 +14,6 @@ RegisterContainerImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_ReleaseStaticIp.go.snap b/service/lightsail/snapshot/api_op_ReleaseStaticIp.go.snap index 4f842d16522..620f13e2ba4 100644 --- a/service/lightsail/snapshot/api_op_ReleaseStaticIp.go.snap +++ b/service/lightsail/snapshot/api_op_ReleaseStaticIp.go.snap @@ -14,7 +14,6 @@ ReleaseStaticIp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_ResetDistributionCache.go.snap b/service/lightsail/snapshot/api_op_ResetDistributionCache.go.snap index 42c964509b3..82433b131ad 100644 --- a/service/lightsail/snapshot/api_op_ResetDistributionCache.go.snap +++ b/service/lightsail/snapshot/api_op_ResetDistributionCache.go.snap @@ -13,7 +13,6 @@ ResetDistributionCache Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_SendContactMethodVerification.go.snap b/service/lightsail/snapshot/api_op_SendContactMethodVerification.go.snap index dff5f42e735..0ea48def0f6 100644 --- a/service/lightsail/snapshot/api_op_SendContactMethodVerification.go.snap +++ b/service/lightsail/snapshot/api_op_SendContactMethodVerification.go.snap @@ -14,7 +14,6 @@ SendContactMethodVerification Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_SetIpAddressType.go.snap b/service/lightsail/snapshot/api_op_SetIpAddressType.go.snap index 2a2816eb5bb..a42027e8f0c 100644 --- a/service/lightsail/snapshot/api_op_SetIpAddressType.go.snap +++ b/service/lightsail/snapshot/api_op_SetIpAddressType.go.snap @@ -14,7 +14,6 @@ SetIpAddressType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_SetResourceAccessForBucket.go.snap b/service/lightsail/snapshot/api_op_SetResourceAccessForBucket.go.snap index b2d4ca83316..2f289514321 100644 --- a/service/lightsail/snapshot/api_op_SetResourceAccessForBucket.go.snap +++ b/service/lightsail/snapshot/api_op_SetResourceAccessForBucket.go.snap @@ -14,7 +14,6 @@ SetResourceAccessForBucket Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_SetupInstanceHttps.go.snap b/service/lightsail/snapshot/api_op_SetupInstanceHttps.go.snap index e8816f5bf52..9f17718ac9c 100644 --- a/service/lightsail/snapshot/api_op_SetupInstanceHttps.go.snap +++ b/service/lightsail/snapshot/api_op_SetupInstanceHttps.go.snap @@ -14,7 +14,6 @@ SetupInstanceHttps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_StartGUISession.go.snap b/service/lightsail/snapshot/api_op_StartGUISession.go.snap index 8e2c088288f..f7d02ffacd4 100644 --- a/service/lightsail/snapshot/api_op_StartGUISession.go.snap +++ b/service/lightsail/snapshot/api_op_StartGUISession.go.snap @@ -14,7 +14,6 @@ StartGUISession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_StartInstance.go.snap b/service/lightsail/snapshot/api_op_StartInstance.go.snap index 3eb7c96a813..6abebaafa6e 100644 --- a/service/lightsail/snapshot/api_op_StartInstance.go.snap +++ b/service/lightsail/snapshot/api_op_StartInstance.go.snap @@ -14,7 +14,6 @@ StartInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_StartRelationalDatabase.go.snap b/service/lightsail/snapshot/api_op_StartRelationalDatabase.go.snap index 8d0346d8d51..e905bcc2c94 100644 --- a/service/lightsail/snapshot/api_op_StartRelationalDatabase.go.snap +++ b/service/lightsail/snapshot/api_op_StartRelationalDatabase.go.snap @@ -14,7 +14,6 @@ StartRelationalDatabase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_StopGUISession.go.snap b/service/lightsail/snapshot/api_op_StopGUISession.go.snap index e7d31951f3e..2cf97c4487f 100644 --- a/service/lightsail/snapshot/api_op_StopGUISession.go.snap +++ b/service/lightsail/snapshot/api_op_StopGUISession.go.snap @@ -14,7 +14,6 @@ StopGUISession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_StopInstance.go.snap b/service/lightsail/snapshot/api_op_StopInstance.go.snap index 706e9beb4ec..16778e307db 100644 --- a/service/lightsail/snapshot/api_op_StopInstance.go.snap +++ b/service/lightsail/snapshot/api_op_StopInstance.go.snap @@ -14,7 +14,6 @@ StopInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_StopRelationalDatabase.go.snap b/service/lightsail/snapshot/api_op_StopRelationalDatabase.go.snap index 98dd3c76cdc..4417c0a6be3 100644 --- a/service/lightsail/snapshot/api_op_StopRelationalDatabase.go.snap +++ b/service/lightsail/snapshot/api_op_StopRelationalDatabase.go.snap @@ -14,7 +14,6 @@ StopRelationalDatabase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_TagResource.go.snap b/service/lightsail/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/lightsail/snapshot/api_op_TagResource.go.snap +++ b/service/lightsail/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_TestAlarm.go.snap b/service/lightsail/snapshot/api_op_TestAlarm.go.snap index b1a910eb824..7e1113fde75 100644 --- a/service/lightsail/snapshot/api_op_TestAlarm.go.snap +++ b/service/lightsail/snapshot/api_op_TestAlarm.go.snap @@ -14,7 +14,6 @@ TestAlarm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_UnpeerVpc.go.snap b/service/lightsail/snapshot/api_op_UnpeerVpc.go.snap index 0235a50cac9..a706ff70f9e 100644 --- a/service/lightsail/snapshot/api_op_UnpeerVpc.go.snap +++ b/service/lightsail/snapshot/api_op_UnpeerVpc.go.snap @@ -13,7 +13,6 @@ UnpeerVpc Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_UntagResource.go.snap b/service/lightsail/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/lightsail/snapshot/api_op_UntagResource.go.snap +++ b/service/lightsail/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_UpdateBucket.go.snap b/service/lightsail/snapshot/api_op_UpdateBucket.go.snap index 19d83709303..ba729b96776 100644 --- a/service/lightsail/snapshot/api_op_UpdateBucket.go.snap +++ b/service/lightsail/snapshot/api_op_UpdateBucket.go.snap @@ -14,7 +14,6 @@ UpdateBucket Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_UpdateBucketBundle.go.snap b/service/lightsail/snapshot/api_op_UpdateBucketBundle.go.snap index e8189b3f0ae..60b416b5bc3 100644 --- a/service/lightsail/snapshot/api_op_UpdateBucketBundle.go.snap +++ b/service/lightsail/snapshot/api_op_UpdateBucketBundle.go.snap @@ -14,7 +14,6 @@ UpdateBucketBundle Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_UpdateContainerService.go.snap b/service/lightsail/snapshot/api_op_UpdateContainerService.go.snap index c4f54936ab9..f3da0b05082 100644 --- a/service/lightsail/snapshot/api_op_UpdateContainerService.go.snap +++ b/service/lightsail/snapshot/api_op_UpdateContainerService.go.snap @@ -14,7 +14,6 @@ UpdateContainerService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_UpdateDistribution.go.snap b/service/lightsail/snapshot/api_op_UpdateDistribution.go.snap index af0699f840a..438da81f160 100644 --- a/service/lightsail/snapshot/api_op_UpdateDistribution.go.snap +++ b/service/lightsail/snapshot/api_op_UpdateDistribution.go.snap @@ -14,7 +14,6 @@ UpdateDistribution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_UpdateDistributionBundle.go.snap b/service/lightsail/snapshot/api_op_UpdateDistributionBundle.go.snap index 767d8a4d8c6..6e571d5e3ed 100644 --- a/service/lightsail/snapshot/api_op_UpdateDistributionBundle.go.snap +++ b/service/lightsail/snapshot/api_op_UpdateDistributionBundle.go.snap @@ -13,7 +13,6 @@ UpdateDistributionBundle Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_UpdateDomainEntry.go.snap b/service/lightsail/snapshot/api_op_UpdateDomainEntry.go.snap index dd3273c5c35..4ce211a50be 100644 --- a/service/lightsail/snapshot/api_op_UpdateDomainEntry.go.snap +++ b/service/lightsail/snapshot/api_op_UpdateDomainEntry.go.snap @@ -14,7 +14,6 @@ UpdateDomainEntry Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_UpdateInstanceMetadataOptions.go.snap b/service/lightsail/snapshot/api_op_UpdateInstanceMetadataOptions.go.snap index edf26b9f8e7..3a8f6cf7e32 100644 --- a/service/lightsail/snapshot/api_op_UpdateInstanceMetadataOptions.go.snap +++ b/service/lightsail/snapshot/api_op_UpdateInstanceMetadataOptions.go.snap @@ -14,7 +14,6 @@ UpdateInstanceMetadataOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_UpdateLoadBalancerAttribute.go.snap b/service/lightsail/snapshot/api_op_UpdateLoadBalancerAttribute.go.snap index 57501cdc316..716f2ba69e5 100644 --- a/service/lightsail/snapshot/api_op_UpdateLoadBalancerAttribute.go.snap +++ b/service/lightsail/snapshot/api_op_UpdateLoadBalancerAttribute.go.snap @@ -14,7 +14,6 @@ UpdateLoadBalancerAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_UpdateRelationalDatabase.go.snap b/service/lightsail/snapshot/api_op_UpdateRelationalDatabase.go.snap index dc3d7fbcc67..6fdec6b3b3c 100644 --- a/service/lightsail/snapshot/api_op_UpdateRelationalDatabase.go.snap +++ b/service/lightsail/snapshot/api_op_UpdateRelationalDatabase.go.snap @@ -14,7 +14,6 @@ UpdateRelationalDatabase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lightsail/snapshot/api_op_UpdateRelationalDatabaseParameters.go.snap b/service/lightsail/snapshot/api_op_UpdateRelationalDatabaseParameters.go.snap index e596827957d..7fd97893907 100644 --- a/service/lightsail/snapshot/api_op_UpdateRelationalDatabaseParameters.go.snap +++ b/service/lightsail/snapshot/api_op_UpdateRelationalDatabaseParameters.go.snap @@ -14,7 +14,6 @@ UpdateRelationalDatabaseParameters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/api_client.go b/service/location/api_client.go index 1e6dfc3c56e..ccbb322d55b 100644 --- a/service/location/api_client.go +++ b/service/location/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/location/api_op_AssociateTrackerConsumer.go b/service/location/api_op_AssociateTrackerConsumer.go index 8050f378886..a0a385a37fe 100644 --- a/service/location/api_op_AssociateTrackerConsumer.go +++ b/service/location/api_op_AssociateTrackerConsumer.go @@ -125,9 +125,6 @@ func (c *Client) addOperationAssociateTrackerConsumerMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opAssociateTrackerConsumerMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_BatchDeleteDevicePositionHistory.go b/service/location/api_op_BatchDeleteDevicePositionHistory.go index 6a3be982966..0772d8def39 100644 --- a/service/location/api_op_BatchDeleteDevicePositionHistory.go +++ b/service/location/api_op_BatchDeleteDevicePositionHistory.go @@ -121,9 +121,6 @@ func (c *Client) addOperationBatchDeleteDevicePositionHistoryMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opBatchDeleteDevicePositionHistoryMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_BatchDeleteGeofence.go b/service/location/api_op_BatchDeleteGeofence.go index da9b4929951..7c294dc7c73 100644 --- a/service/location/api_op_BatchDeleteGeofence.go +++ b/service/location/api_op_BatchDeleteGeofence.go @@ -121,9 +121,6 @@ func (c *Client) addOperationBatchDeleteGeofenceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opBatchDeleteGeofenceMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_BatchEvaluateGeofences.go b/service/location/api_op_BatchEvaluateGeofences.go index 7a65afd1f9b..05614620cb3 100644 --- a/service/location/api_op_BatchEvaluateGeofences.go +++ b/service/location/api_op_BatchEvaluateGeofences.go @@ -143,9 +143,6 @@ func (c *Client) addOperationBatchEvaluateGeofencesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opBatchEvaluateGeofencesMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_BatchGetDevicePosition.go b/service/location/api_op_BatchGetDevicePosition.go index 6517d986b7c..e31ec2629f0 100644 --- a/service/location/api_op_BatchGetDevicePosition.go +++ b/service/location/api_op_BatchGetDevicePosition.go @@ -128,9 +128,6 @@ func (c *Client) addOperationBatchGetDevicePositionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opBatchGetDevicePositionMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_BatchPutGeofence.go b/service/location/api_op_BatchPutGeofence.go index 9a0189f1e6f..03e5ff23603 100644 --- a/service/location/api_op_BatchPutGeofence.go +++ b/service/location/api_op_BatchPutGeofence.go @@ -127,9 +127,6 @@ func (c *Client) addOperationBatchPutGeofenceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opBatchPutGeofenceMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_BatchUpdateDevicePosition.go b/service/location/api_op_BatchUpdateDevicePosition.go index db5aced64b8..42c778321c7 100644 --- a/service/location/api_op_BatchUpdateDevicePosition.go +++ b/service/location/api_op_BatchUpdateDevicePosition.go @@ -142,9 +142,6 @@ func (c *Client) addOperationBatchUpdateDevicePositionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opBatchUpdateDevicePositionMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_CalculateRoute.go b/service/location/api_op_CalculateRoute.go index 35c2ad9a0e8..6476f2d7fa6 100644 --- a/service/location/api_op_CalculateRoute.go +++ b/service/location/api_op_CalculateRoute.go @@ -306,9 +306,6 @@ func (c *Client) addOperationCalculateRouteMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCalculateRouteMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_CalculateRouteMatrix.go b/service/location/api_op_CalculateRouteMatrix.go index a6acbac714c..51bd5df5250 100644 --- a/service/location/api_op_CalculateRouteMatrix.go +++ b/service/location/api_op_CalculateRouteMatrix.go @@ -280,9 +280,6 @@ func (c *Client) addOperationCalculateRouteMatrixMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCalculateRouteMatrixMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_CreateGeofenceCollection.go b/service/location/api_op_CreateGeofenceCollection.go index 74a513fdbe3..8138c439886 100644 --- a/service/location/api_op_CreateGeofenceCollection.go +++ b/service/location/api_op_CreateGeofenceCollection.go @@ -181,9 +181,6 @@ func (c *Client) addOperationCreateGeofenceCollectionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateGeofenceCollectionMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_CreateKey.go b/service/location/api_op_CreateKey.go index 470651cac29..0c6619a7247 100644 --- a/service/location/api_op_CreateKey.go +++ b/service/location/api_op_CreateKey.go @@ -192,9 +192,6 @@ func (c *Client) addOperationCreateKeyMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateKeyMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_CreateMap.go b/service/location/api_op_CreateMap.go index d276a490498..0730d9bcd50 100644 --- a/service/location/api_op_CreateMap.go +++ b/service/location/api_op_CreateMap.go @@ -184,9 +184,6 @@ func (c *Client) addOperationCreateMapMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateMapMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_CreatePlaceIndex.go b/service/location/api_op_CreatePlaceIndex.go index 70649b58b6b..5458aee83d3 100644 --- a/service/location/api_op_CreatePlaceIndex.go +++ b/service/location/api_op_CreatePlaceIndex.go @@ -218,9 +218,6 @@ func (c *Client) addOperationCreatePlaceIndexMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreatePlaceIndexMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_CreateRouteCalculator.go b/service/location/api_op_CreateRouteCalculator.go index 4b7d7f76829..c404fecf800 100644 --- a/service/location/api_op_CreateRouteCalculator.go +++ b/service/location/api_op_CreateRouteCalculator.go @@ -222,9 +222,6 @@ func (c *Client) addOperationCreateRouteCalculatorMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateRouteCalculatorMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_CreateTracker.go b/service/location/api_op_CreateTracker.go index 55cb4beaf8e..70b858f5e21 100644 --- a/service/location/api_op_CreateTracker.go +++ b/service/location/api_op_CreateTracker.go @@ -232,9 +232,6 @@ func (c *Client) addOperationCreateTrackerMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateTrackerMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_DeleteGeofenceCollection.go b/service/location/api_op_DeleteGeofenceCollection.go index ccee6591033..dd4f7a48c2f 100644 --- a/service/location/api_op_DeleteGeofenceCollection.go +++ b/service/location/api_op_DeleteGeofenceCollection.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteGeofenceCollectionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteGeofenceCollectionMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_DeleteKey.go b/service/location/api_op_DeleteKey.go index 61f4b9c0ea3..7d525f8b91d 100644 --- a/service/location/api_op_DeleteKey.go +++ b/service/location/api_op_DeleteKey.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteKeyMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteKeyMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_DeleteMap.go b/service/location/api_op_DeleteMap.go index 5687ddfa894..4ba2518cb97 100644 --- a/service/location/api_op_DeleteMap.go +++ b/service/location/api_op_DeleteMap.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteMapMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteMapMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_DeletePlaceIndex.go b/service/location/api_op_DeletePlaceIndex.go index 8a0a225fe07..a6848d0ac12 100644 --- a/service/location/api_op_DeletePlaceIndex.go +++ b/service/location/api_op_DeletePlaceIndex.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeletePlaceIndexMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeletePlaceIndexMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_DeleteRouteCalculator.go b/service/location/api_op_DeleteRouteCalculator.go index 6039c563751..959615d99ce 100644 --- a/service/location/api_op_DeleteRouteCalculator.go +++ b/service/location/api_op_DeleteRouteCalculator.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteRouteCalculatorMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteRouteCalculatorMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_DeleteTracker.go b/service/location/api_op_DeleteTracker.go index 9d215264dca..2512a1a814b 100644 --- a/service/location/api_op_DeleteTracker.go +++ b/service/location/api_op_DeleteTracker.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteTrackerMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteTrackerMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_DescribeGeofenceCollection.go b/service/location/api_op_DescribeGeofenceCollection.go index 99501bf7639..be625d2e728 100644 --- a/service/location/api_op_DescribeGeofenceCollection.go +++ b/service/location/api_op_DescribeGeofenceCollection.go @@ -166,9 +166,6 @@ func (c *Client) addOperationDescribeGeofenceCollectionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeGeofenceCollectionMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_DescribeKey.go b/service/location/api_op_DescribeKey.go index 0ab7d36ef87..d8de88f0484 100644 --- a/service/location/api_op_DescribeKey.go +++ b/service/location/api_op_DescribeKey.go @@ -164,9 +164,6 @@ func (c *Client) addOperationDescribeKeyMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeKeyMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_DescribeMap.go b/service/location/api_op_DescribeMap.go index 8f1f5146e14..deee22baef8 100644 --- a/service/location/api_op_DescribeMap.go +++ b/service/location/api_op_DescribeMap.go @@ -162,9 +162,6 @@ func (c *Client) addOperationDescribeMapMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeMapMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_DescribePlaceIndex.go b/service/location/api_op_DescribePlaceIndex.go index ce380e73938..6c2fe1e304e 100644 --- a/service/location/api_op_DescribePlaceIndex.go +++ b/service/location/api_op_DescribePlaceIndex.go @@ -172,9 +172,6 @@ func (c *Client) addOperationDescribePlaceIndexMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribePlaceIndexMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_DescribeRouteCalculator.go b/service/location/api_op_DescribeRouteCalculator.go index 770ac0b9538..f37c7169fe9 100644 --- a/service/location/api_op_DescribeRouteCalculator.go +++ b/service/location/api_op_DescribeRouteCalculator.go @@ -173,9 +173,6 @@ func (c *Client) addOperationDescribeRouteCalculatorMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeRouteCalculatorMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_DescribeTracker.go b/service/location/api_op_DescribeTracker.go index 8bbbc0ad5b4..304d8fd00de 100644 --- a/service/location/api_op_DescribeTracker.go +++ b/service/location/api_op_DescribeTracker.go @@ -186,9 +186,6 @@ func (c *Client) addOperationDescribeTrackerMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeTrackerMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_DisassociateTrackerConsumer.go b/service/location/api_op_DisassociateTrackerConsumer.go index 6c5a51c348d..f8456fe6650 100644 --- a/service/location/api_op_DisassociateTrackerConsumer.go +++ b/service/location/api_op_DisassociateTrackerConsumer.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDisassociateTrackerConsumerMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDisassociateTrackerConsumerMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_ForecastGeofenceEvents.go b/service/location/api_op_ForecastGeofenceEvents.go index 66aad7d444a..a18af871289 100644 --- a/service/location/api_op_ForecastGeofenceEvents.go +++ b/service/location/api_op_ForecastGeofenceEvents.go @@ -172,9 +172,6 @@ func (c *Client) addOperationForecastGeofenceEventsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opForecastGeofenceEventsMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_GetDevicePosition.go b/service/location/api_op_GetDevicePosition.go index fd014dea49c..93c6af93e72 100644 --- a/service/location/api_op_GetDevicePosition.go +++ b/service/location/api_op_GetDevicePosition.go @@ -147,9 +147,6 @@ func (c *Client) addOperationGetDevicePositionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetDevicePositionMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_GetDevicePositionHistory.go b/service/location/api_op_GetDevicePositionHistory.go index d5c6633849a..4c09b31c246 100644 --- a/service/location/api_op_GetDevicePositionHistory.go +++ b/service/location/api_op_GetDevicePositionHistory.go @@ -161,9 +161,6 @@ func (c *Client) addOperationGetDevicePositionHistoryMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetDevicePositionHistoryMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_GetGeofence.go b/service/location/api_op_GetGeofence.go index a38018159b7..d5197442ee4 100644 --- a/service/location/api_op_GetGeofence.go +++ b/service/location/api_op_GetGeofence.go @@ -166,9 +166,6 @@ func (c *Client) addOperationGetGeofenceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetGeofenceMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_GetMapGlyphs.go b/service/location/api_op_GetMapGlyphs.go index e54810c8f98..cd2749adc19 100644 --- a/service/location/api_op_GetMapGlyphs.go +++ b/service/location/api_op_GetMapGlyphs.go @@ -185,9 +185,6 @@ func (c *Client) addOperationGetMapGlyphsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetMapGlyphsMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_GetMapSprites.go b/service/location/api_op_GetMapSprites.go index f95e534c993..ff9caddfb8b 100644 --- a/service/location/api_op_GetMapSprites.go +++ b/service/location/api_op_GetMapSprites.go @@ -141,9 +141,6 @@ func (c *Client) addOperationGetMapSpritesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetMapSpritesMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_GetMapStyleDescriptor.go b/service/location/api_op_GetMapStyleDescriptor.go index 09a1a48209e..4a04124e61b 100644 --- a/service/location/api_op_GetMapStyleDescriptor.go +++ b/service/location/api_op_GetMapStyleDescriptor.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetMapStyleDescriptorMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetMapStyleDescriptorMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_GetMapTile.go b/service/location/api_op_GetMapTile.go index f28c7e11867..d218740669f 100644 --- a/service/location/api_op_GetMapTile.go +++ b/service/location/api_op_GetMapTile.go @@ -144,9 +144,6 @@ func (c *Client) addOperationGetMapTileMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetMapTileMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_GetPlace.go b/service/location/api_op_GetPlace.go index 56beb109a6d..5baceb3b767 100644 --- a/service/location/api_op_GetPlace.go +++ b/service/location/api_op_GetPlace.go @@ -154,9 +154,6 @@ func (c *Client) addOperationGetPlaceMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetPlaceMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_ListDevicePositions.go b/service/location/api_op_ListDevicePositions.go index 9864d86fd63..99e15a043c2 100644 --- a/service/location/api_op_ListDevicePositions.go +++ b/service/location/api_op_ListDevicePositions.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListDevicePositionsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListDevicePositionsMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_ListGeofenceCollections.go b/service/location/api_op_ListGeofenceCollections.go index d35a147719d..e131b58ac4e 100644 --- a/service/location/api_op_ListGeofenceCollections.go +++ b/service/location/api_op_ListGeofenceCollections.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListGeofenceCollectionsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListGeofenceCollectionsMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_ListGeofences.go b/service/location/api_op_ListGeofences.go index df00b84379b..f7707f03f0f 100644 --- a/service/location/api_op_ListGeofences.go +++ b/service/location/api_op_ListGeofences.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListGeofencesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListGeofencesMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_ListKeys.go b/service/location/api_op_ListKeys.go index 92d3e27ca3c..9f6bdbe3174 100644 --- a/service/location/api_op_ListKeys.go +++ b/service/location/api_op_ListKeys.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListKeysMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListKeysMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_ListMaps.go b/service/location/api_op_ListMaps.go index 7f832eb1604..fcff76c2472 100644 --- a/service/location/api_op_ListMaps.go +++ b/service/location/api_op_ListMaps.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListMapsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListMapsMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_ListPlaceIndexes.go b/service/location/api_op_ListPlaceIndexes.go index 42d0a7a58f4..798855f98f4 100644 --- a/service/location/api_op_ListPlaceIndexes.go +++ b/service/location/api_op_ListPlaceIndexes.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListPlaceIndexesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListPlaceIndexesMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_ListRouteCalculators.go b/service/location/api_op_ListRouteCalculators.go index 5f29e80a28d..00cfc9c391e 100644 --- a/service/location/api_op_ListRouteCalculators.go +++ b/service/location/api_op_ListRouteCalculators.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListRouteCalculatorsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListRouteCalculatorsMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_ListTagsForResource.go b/service/location/api_op_ListTagsForResource.go index 3658c287b62..ce855b7ee90 100644 --- a/service/location/api_op_ListTagsForResource.go +++ b/service/location/api_op_ListTagsForResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListTagsForResourceMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_ListTrackerConsumers.go b/service/location/api_op_ListTrackerConsumers.go index fabf6394933..8706f387664 100644 --- a/service/location/api_op_ListTrackerConsumers.go +++ b/service/location/api_op_ListTrackerConsumers.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListTrackerConsumersMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListTrackerConsumersMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_ListTrackers.go b/service/location/api_op_ListTrackers.go index 853256c7843..402f40bf9bc 100644 --- a/service/location/api_op_ListTrackers.go +++ b/service/location/api_op_ListTrackers.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListTrackersMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListTrackersMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_PutGeofence.go b/service/location/api_op_PutGeofence.go index 079481e9085..f7e5dd66685 100644 --- a/service/location/api_op_PutGeofence.go +++ b/service/location/api_op_PutGeofence.go @@ -157,9 +157,6 @@ func (c *Client) addOperationPutGeofenceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opPutGeofenceMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_SearchPlaceIndexForPosition.go b/service/location/api_op_SearchPlaceIndexForPosition.go index 0e98898f199..4a46851c35d 100644 --- a/service/location/api_op_SearchPlaceIndexForPosition.go +++ b/service/location/api_op_SearchPlaceIndexForPosition.go @@ -164,9 +164,6 @@ func (c *Client) addOperationSearchPlaceIndexForPositionMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opSearchPlaceIndexForPositionMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_SearchPlaceIndexForSuggestions.go b/service/location/api_op_SearchPlaceIndexForSuggestions.go index 56ab82d47b6..d1336698038 100644 --- a/service/location/api_op_SearchPlaceIndexForSuggestions.go +++ b/service/location/api_op_SearchPlaceIndexForSuggestions.go @@ -217,9 +217,6 @@ func (c *Client) addOperationSearchPlaceIndexForSuggestionsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opSearchPlaceIndexForSuggestionsMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_SearchPlaceIndexForText.go b/service/location/api_op_SearchPlaceIndexForText.go index 80755cc7135..ef5fbb34c85 100644 --- a/service/location/api_op_SearchPlaceIndexForText.go +++ b/service/location/api_op_SearchPlaceIndexForText.go @@ -222,9 +222,6 @@ func (c *Client) addOperationSearchPlaceIndexForTextMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opSearchPlaceIndexForTextMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_TagResource.go b/service/location/api_op_TagResource.go index f51e4487c34..ec72891e198 100644 --- a/service/location/api_op_TagResource.go +++ b/service/location/api_op_TagResource.go @@ -145,9 +145,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opTagResourceMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_UntagResource.go b/service/location/api_op_UntagResource.go index 005c00b43e0..edffa0d4b8f 100644 --- a/service/location/api_op_UntagResource.go +++ b/service/location/api_op_UntagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUntagResourceMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_UpdateGeofenceCollection.go b/service/location/api_op_UpdateGeofenceCollection.go index 2e8a131964b..5a94b88a960 100644 --- a/service/location/api_op_UpdateGeofenceCollection.go +++ b/service/location/api_op_UpdateGeofenceCollection.go @@ -146,9 +146,6 @@ func (c *Client) addOperationUpdateGeofenceCollectionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateGeofenceCollectionMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_UpdateKey.go b/service/location/api_op_UpdateKey.go index 236e1e8300e..7bc50a9b415 100644 --- a/service/location/api_op_UpdateKey.go +++ b/service/location/api_op_UpdateKey.go @@ -157,9 +157,6 @@ func (c *Client) addOperationUpdateKeyMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateKeyMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_UpdateMap.go b/service/location/api_op_UpdateMap.go index 56e863d5166..6fa2686b361 100644 --- a/service/location/api_op_UpdateMap.go +++ b/service/location/api_op_UpdateMap.go @@ -144,9 +144,6 @@ func (c *Client) addOperationUpdateMapMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateMapMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_UpdatePlaceIndex.go b/service/location/api_op_UpdatePlaceIndex.go index fa68a0f7a2c..48f848f390a 100644 --- a/service/location/api_op_UpdatePlaceIndex.go +++ b/service/location/api_op_UpdatePlaceIndex.go @@ -143,9 +143,6 @@ func (c *Client) addOperationUpdatePlaceIndexMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdatePlaceIndexMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_UpdateRouteCalculator.go b/service/location/api_op_UpdateRouteCalculator.go index 95d36767523..e2898b912b0 100644 --- a/service/location/api_op_UpdateRouteCalculator.go +++ b/service/location/api_op_UpdateRouteCalculator.go @@ -141,9 +141,6 @@ func (c *Client) addOperationUpdateRouteCalculatorMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateRouteCalculatorMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_UpdateTracker.go b/service/location/api_op_UpdateTracker.go index f6b924090c4..29fe5a6ac64 100644 --- a/service/location/api_op_UpdateTracker.go +++ b/service/location/api_op_UpdateTracker.go @@ -184,9 +184,6 @@ func (c *Client) addOperationUpdateTrackerMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateTrackerMiddleware(stack); err != nil { return err } diff --git a/service/location/api_op_VerifyDevicePosition.go b/service/location/api_op_VerifyDevicePosition.go index c7e2db4de83..8e987152718 100644 --- a/service/location/api_op_VerifyDevicePosition.go +++ b/service/location/api_op_VerifyDevicePosition.go @@ -155,9 +155,6 @@ func (c *Client) addOperationVerifyDevicePositionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opVerifyDevicePositionMiddleware(stack); err != nil { return err } diff --git a/service/location/snapshot/api_op_AssociateTrackerConsumer.go.snap b/service/location/snapshot/api_op_AssociateTrackerConsumer.go.snap index 38b8d5f1f21..041c04639f9 100644 --- a/service/location/snapshot/api_op_AssociateTrackerConsumer.go.snap +++ b/service/location/snapshot/api_op_AssociateTrackerConsumer.go.snap @@ -14,7 +14,6 @@ AssociateTrackerConsumer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_BatchDeleteDevicePositionHistory.go.snap b/service/location/snapshot/api_op_BatchDeleteDevicePositionHistory.go.snap index 12bac546c1d..42c2cd89af6 100644 --- a/service/location/snapshot/api_op_BatchDeleteDevicePositionHistory.go.snap +++ b/service/location/snapshot/api_op_BatchDeleteDevicePositionHistory.go.snap @@ -14,7 +14,6 @@ BatchDeleteDevicePositionHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_BatchDeleteGeofence.go.snap b/service/location/snapshot/api_op_BatchDeleteGeofence.go.snap index 6b02ed8fedd..0af2986dc92 100644 --- a/service/location/snapshot/api_op_BatchDeleteGeofence.go.snap +++ b/service/location/snapshot/api_op_BatchDeleteGeofence.go.snap @@ -14,7 +14,6 @@ BatchDeleteGeofence Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_BatchEvaluateGeofences.go.snap b/service/location/snapshot/api_op_BatchEvaluateGeofences.go.snap index aa7b98dbfac..a7e9956e2ec 100644 --- a/service/location/snapshot/api_op_BatchEvaluateGeofences.go.snap +++ b/service/location/snapshot/api_op_BatchEvaluateGeofences.go.snap @@ -14,7 +14,6 @@ BatchEvaluateGeofences Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_BatchGetDevicePosition.go.snap b/service/location/snapshot/api_op_BatchGetDevicePosition.go.snap index bb120cc8565..0dc8a706113 100644 --- a/service/location/snapshot/api_op_BatchGetDevicePosition.go.snap +++ b/service/location/snapshot/api_op_BatchGetDevicePosition.go.snap @@ -14,7 +14,6 @@ BatchGetDevicePosition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_BatchPutGeofence.go.snap b/service/location/snapshot/api_op_BatchPutGeofence.go.snap index b0a17c41de0..033dd97eefc 100644 --- a/service/location/snapshot/api_op_BatchPutGeofence.go.snap +++ b/service/location/snapshot/api_op_BatchPutGeofence.go.snap @@ -14,7 +14,6 @@ BatchPutGeofence Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_BatchUpdateDevicePosition.go.snap b/service/location/snapshot/api_op_BatchUpdateDevicePosition.go.snap index 97af43c4787..393644d3cb9 100644 --- a/service/location/snapshot/api_op_BatchUpdateDevicePosition.go.snap +++ b/service/location/snapshot/api_op_BatchUpdateDevicePosition.go.snap @@ -14,7 +14,6 @@ BatchUpdateDevicePosition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_CalculateRoute.go.snap b/service/location/snapshot/api_op_CalculateRoute.go.snap index ea24489b70f..f6ab2feec1c 100644 --- a/service/location/snapshot/api_op_CalculateRoute.go.snap +++ b/service/location/snapshot/api_op_CalculateRoute.go.snap @@ -14,7 +14,6 @@ CalculateRoute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_CalculateRouteMatrix.go.snap b/service/location/snapshot/api_op_CalculateRouteMatrix.go.snap index e5dee486777..05fb47809d5 100644 --- a/service/location/snapshot/api_op_CalculateRouteMatrix.go.snap +++ b/service/location/snapshot/api_op_CalculateRouteMatrix.go.snap @@ -14,7 +14,6 @@ CalculateRouteMatrix Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_CreateGeofenceCollection.go.snap b/service/location/snapshot/api_op_CreateGeofenceCollection.go.snap index 864fdbe33f0..523c820c2bd 100644 --- a/service/location/snapshot/api_op_CreateGeofenceCollection.go.snap +++ b/service/location/snapshot/api_op_CreateGeofenceCollection.go.snap @@ -14,7 +14,6 @@ CreateGeofenceCollection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_CreateKey.go.snap b/service/location/snapshot/api_op_CreateKey.go.snap index d2e03644ffd..7b7d856cdcc 100644 --- a/service/location/snapshot/api_op_CreateKey.go.snap +++ b/service/location/snapshot/api_op_CreateKey.go.snap @@ -14,7 +14,6 @@ CreateKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_CreateMap.go.snap b/service/location/snapshot/api_op_CreateMap.go.snap index 69ade38a9ce..255b46bbff5 100644 --- a/service/location/snapshot/api_op_CreateMap.go.snap +++ b/service/location/snapshot/api_op_CreateMap.go.snap @@ -14,7 +14,6 @@ CreateMap Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_CreatePlaceIndex.go.snap b/service/location/snapshot/api_op_CreatePlaceIndex.go.snap index ae2a6c10574..cb9d564f3b6 100644 --- a/service/location/snapshot/api_op_CreatePlaceIndex.go.snap +++ b/service/location/snapshot/api_op_CreatePlaceIndex.go.snap @@ -14,7 +14,6 @@ CreatePlaceIndex Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_CreateRouteCalculator.go.snap b/service/location/snapshot/api_op_CreateRouteCalculator.go.snap index 1fd15e63e9a..0a94de8fa4f 100644 --- a/service/location/snapshot/api_op_CreateRouteCalculator.go.snap +++ b/service/location/snapshot/api_op_CreateRouteCalculator.go.snap @@ -14,7 +14,6 @@ CreateRouteCalculator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_CreateTracker.go.snap b/service/location/snapshot/api_op_CreateTracker.go.snap index 13019341076..2dfd8ac00ef 100644 --- a/service/location/snapshot/api_op_CreateTracker.go.snap +++ b/service/location/snapshot/api_op_CreateTracker.go.snap @@ -14,7 +14,6 @@ CreateTracker Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_DeleteGeofenceCollection.go.snap b/service/location/snapshot/api_op_DeleteGeofenceCollection.go.snap index bf26bcdc8bf..9b82133f51c 100644 --- a/service/location/snapshot/api_op_DeleteGeofenceCollection.go.snap +++ b/service/location/snapshot/api_op_DeleteGeofenceCollection.go.snap @@ -14,7 +14,6 @@ DeleteGeofenceCollection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_DeleteKey.go.snap b/service/location/snapshot/api_op_DeleteKey.go.snap index eff50a27c9d..999a6bc60c4 100644 --- a/service/location/snapshot/api_op_DeleteKey.go.snap +++ b/service/location/snapshot/api_op_DeleteKey.go.snap @@ -14,7 +14,6 @@ DeleteKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_DeleteMap.go.snap b/service/location/snapshot/api_op_DeleteMap.go.snap index 49fe183ce53..7e86a91e560 100644 --- a/service/location/snapshot/api_op_DeleteMap.go.snap +++ b/service/location/snapshot/api_op_DeleteMap.go.snap @@ -14,7 +14,6 @@ DeleteMap Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_DeletePlaceIndex.go.snap b/service/location/snapshot/api_op_DeletePlaceIndex.go.snap index 14e94a3731c..31f4434a8c7 100644 --- a/service/location/snapshot/api_op_DeletePlaceIndex.go.snap +++ b/service/location/snapshot/api_op_DeletePlaceIndex.go.snap @@ -14,7 +14,6 @@ DeletePlaceIndex Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_DeleteRouteCalculator.go.snap b/service/location/snapshot/api_op_DeleteRouteCalculator.go.snap index a0d733fbdc8..751e07c637d 100644 --- a/service/location/snapshot/api_op_DeleteRouteCalculator.go.snap +++ b/service/location/snapshot/api_op_DeleteRouteCalculator.go.snap @@ -14,7 +14,6 @@ DeleteRouteCalculator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_DeleteTracker.go.snap b/service/location/snapshot/api_op_DeleteTracker.go.snap index ccb0ffb8a35..fe094e9f712 100644 --- a/service/location/snapshot/api_op_DeleteTracker.go.snap +++ b/service/location/snapshot/api_op_DeleteTracker.go.snap @@ -14,7 +14,6 @@ DeleteTracker Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_DescribeGeofenceCollection.go.snap b/service/location/snapshot/api_op_DescribeGeofenceCollection.go.snap index 84bb6819e40..2b65959105e 100644 --- a/service/location/snapshot/api_op_DescribeGeofenceCollection.go.snap +++ b/service/location/snapshot/api_op_DescribeGeofenceCollection.go.snap @@ -14,7 +14,6 @@ DescribeGeofenceCollection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_DescribeKey.go.snap b/service/location/snapshot/api_op_DescribeKey.go.snap index 9ff72b4e81e..aed1c69e83a 100644 --- a/service/location/snapshot/api_op_DescribeKey.go.snap +++ b/service/location/snapshot/api_op_DescribeKey.go.snap @@ -14,7 +14,6 @@ DescribeKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_DescribeMap.go.snap b/service/location/snapshot/api_op_DescribeMap.go.snap index db6803fb8ad..7f927ba7db2 100644 --- a/service/location/snapshot/api_op_DescribeMap.go.snap +++ b/service/location/snapshot/api_op_DescribeMap.go.snap @@ -14,7 +14,6 @@ DescribeMap Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_DescribePlaceIndex.go.snap b/service/location/snapshot/api_op_DescribePlaceIndex.go.snap index b3a90702cd2..b2056a9bb84 100644 --- a/service/location/snapshot/api_op_DescribePlaceIndex.go.snap +++ b/service/location/snapshot/api_op_DescribePlaceIndex.go.snap @@ -14,7 +14,6 @@ DescribePlaceIndex Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_DescribeRouteCalculator.go.snap b/service/location/snapshot/api_op_DescribeRouteCalculator.go.snap index d0ab66c73c9..326fd9a8a13 100644 --- a/service/location/snapshot/api_op_DescribeRouteCalculator.go.snap +++ b/service/location/snapshot/api_op_DescribeRouteCalculator.go.snap @@ -14,7 +14,6 @@ DescribeRouteCalculator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_DescribeTracker.go.snap b/service/location/snapshot/api_op_DescribeTracker.go.snap index 6fe381eb7e7..bc372830783 100644 --- a/service/location/snapshot/api_op_DescribeTracker.go.snap +++ b/service/location/snapshot/api_op_DescribeTracker.go.snap @@ -14,7 +14,6 @@ DescribeTracker Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_DisassociateTrackerConsumer.go.snap b/service/location/snapshot/api_op_DisassociateTrackerConsumer.go.snap index dbd1093c62e..4811d0e4732 100644 --- a/service/location/snapshot/api_op_DisassociateTrackerConsumer.go.snap +++ b/service/location/snapshot/api_op_DisassociateTrackerConsumer.go.snap @@ -14,7 +14,6 @@ DisassociateTrackerConsumer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_ForecastGeofenceEvents.go.snap b/service/location/snapshot/api_op_ForecastGeofenceEvents.go.snap index 04ab8a85818..9813b5cf494 100644 --- a/service/location/snapshot/api_op_ForecastGeofenceEvents.go.snap +++ b/service/location/snapshot/api_op_ForecastGeofenceEvents.go.snap @@ -14,7 +14,6 @@ ForecastGeofenceEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_GetDevicePosition.go.snap b/service/location/snapshot/api_op_GetDevicePosition.go.snap index 2c99ee5520b..7ddeac78366 100644 --- a/service/location/snapshot/api_op_GetDevicePosition.go.snap +++ b/service/location/snapshot/api_op_GetDevicePosition.go.snap @@ -14,7 +14,6 @@ GetDevicePosition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_GetDevicePositionHistory.go.snap b/service/location/snapshot/api_op_GetDevicePositionHistory.go.snap index 8b75cc88c3d..8cdc50e825d 100644 --- a/service/location/snapshot/api_op_GetDevicePositionHistory.go.snap +++ b/service/location/snapshot/api_op_GetDevicePositionHistory.go.snap @@ -14,7 +14,6 @@ GetDevicePositionHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_GetGeofence.go.snap b/service/location/snapshot/api_op_GetGeofence.go.snap index 1b67d997a48..a114f49bcd1 100644 --- a/service/location/snapshot/api_op_GetGeofence.go.snap +++ b/service/location/snapshot/api_op_GetGeofence.go.snap @@ -14,7 +14,6 @@ GetGeofence Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_GetMapGlyphs.go.snap b/service/location/snapshot/api_op_GetMapGlyphs.go.snap index c3150f4d54e..a4dfedb7927 100644 --- a/service/location/snapshot/api_op_GetMapGlyphs.go.snap +++ b/service/location/snapshot/api_op_GetMapGlyphs.go.snap @@ -14,7 +14,6 @@ GetMapGlyphs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_GetMapSprites.go.snap b/service/location/snapshot/api_op_GetMapSprites.go.snap index 149b855865e..6e2b3919760 100644 --- a/service/location/snapshot/api_op_GetMapSprites.go.snap +++ b/service/location/snapshot/api_op_GetMapSprites.go.snap @@ -14,7 +14,6 @@ GetMapSprites Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_GetMapStyleDescriptor.go.snap b/service/location/snapshot/api_op_GetMapStyleDescriptor.go.snap index 2df649f6cee..c9fe28db786 100644 --- a/service/location/snapshot/api_op_GetMapStyleDescriptor.go.snap +++ b/service/location/snapshot/api_op_GetMapStyleDescriptor.go.snap @@ -14,7 +14,6 @@ GetMapStyleDescriptor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_GetMapTile.go.snap b/service/location/snapshot/api_op_GetMapTile.go.snap index a7b22d3d118..fae58281acf 100644 --- a/service/location/snapshot/api_op_GetMapTile.go.snap +++ b/service/location/snapshot/api_op_GetMapTile.go.snap @@ -14,7 +14,6 @@ GetMapTile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_GetPlace.go.snap b/service/location/snapshot/api_op_GetPlace.go.snap index 6531032383c..23e761acf04 100644 --- a/service/location/snapshot/api_op_GetPlace.go.snap +++ b/service/location/snapshot/api_op_GetPlace.go.snap @@ -14,7 +14,6 @@ GetPlace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_ListDevicePositions.go.snap b/service/location/snapshot/api_op_ListDevicePositions.go.snap index 9fb8b0aeca5..bc3d5cabfc1 100644 --- a/service/location/snapshot/api_op_ListDevicePositions.go.snap +++ b/service/location/snapshot/api_op_ListDevicePositions.go.snap @@ -14,7 +14,6 @@ ListDevicePositions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_ListGeofenceCollections.go.snap b/service/location/snapshot/api_op_ListGeofenceCollections.go.snap index 7e477e07bfe..4078691e6c9 100644 --- a/service/location/snapshot/api_op_ListGeofenceCollections.go.snap +++ b/service/location/snapshot/api_op_ListGeofenceCollections.go.snap @@ -13,7 +13,6 @@ ListGeofenceCollections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_ListGeofences.go.snap b/service/location/snapshot/api_op_ListGeofences.go.snap index 1052bbc4283..56037f671f6 100644 --- a/service/location/snapshot/api_op_ListGeofences.go.snap +++ b/service/location/snapshot/api_op_ListGeofences.go.snap @@ -14,7 +14,6 @@ ListGeofences Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_ListKeys.go.snap b/service/location/snapshot/api_op_ListKeys.go.snap index 4c375d7b9d5..8200621d62c 100644 --- a/service/location/snapshot/api_op_ListKeys.go.snap +++ b/service/location/snapshot/api_op_ListKeys.go.snap @@ -13,7 +13,6 @@ ListKeys Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_ListMaps.go.snap b/service/location/snapshot/api_op_ListMaps.go.snap index fc63a8ddb85..d98c922f87a 100644 --- a/service/location/snapshot/api_op_ListMaps.go.snap +++ b/service/location/snapshot/api_op_ListMaps.go.snap @@ -13,7 +13,6 @@ ListMaps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_ListPlaceIndexes.go.snap b/service/location/snapshot/api_op_ListPlaceIndexes.go.snap index 88f9137d290..97022d015f3 100644 --- a/service/location/snapshot/api_op_ListPlaceIndexes.go.snap +++ b/service/location/snapshot/api_op_ListPlaceIndexes.go.snap @@ -13,7 +13,6 @@ ListPlaceIndexes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_ListRouteCalculators.go.snap b/service/location/snapshot/api_op_ListRouteCalculators.go.snap index 23980e2a1fa..9af90e73971 100644 --- a/service/location/snapshot/api_op_ListRouteCalculators.go.snap +++ b/service/location/snapshot/api_op_ListRouteCalculators.go.snap @@ -13,7 +13,6 @@ ListRouteCalculators Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_ListTagsForResource.go.snap b/service/location/snapshot/api_op_ListTagsForResource.go.snap index 8ff9a02baa1..0d85e67cf02 100644 --- a/service/location/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/location/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_ListTrackerConsumers.go.snap b/service/location/snapshot/api_op_ListTrackerConsumers.go.snap index f4e2ec5ebea..454839e8f4b 100644 --- a/service/location/snapshot/api_op_ListTrackerConsumers.go.snap +++ b/service/location/snapshot/api_op_ListTrackerConsumers.go.snap @@ -14,7 +14,6 @@ ListTrackerConsumers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_ListTrackers.go.snap b/service/location/snapshot/api_op_ListTrackers.go.snap index 9b7bc0d6775..3cf30ec8d96 100644 --- a/service/location/snapshot/api_op_ListTrackers.go.snap +++ b/service/location/snapshot/api_op_ListTrackers.go.snap @@ -13,7 +13,6 @@ ListTrackers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_PutGeofence.go.snap b/service/location/snapshot/api_op_PutGeofence.go.snap index d011378f36e..bd77576dbb7 100644 --- a/service/location/snapshot/api_op_PutGeofence.go.snap +++ b/service/location/snapshot/api_op_PutGeofence.go.snap @@ -14,7 +14,6 @@ PutGeofence Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_SearchPlaceIndexForPosition.go.snap b/service/location/snapshot/api_op_SearchPlaceIndexForPosition.go.snap index 385d7742da9..5971cde74ea 100644 --- a/service/location/snapshot/api_op_SearchPlaceIndexForPosition.go.snap +++ b/service/location/snapshot/api_op_SearchPlaceIndexForPosition.go.snap @@ -14,7 +14,6 @@ SearchPlaceIndexForPosition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_SearchPlaceIndexForSuggestions.go.snap b/service/location/snapshot/api_op_SearchPlaceIndexForSuggestions.go.snap index 5807edc7c63..12a837e1ff1 100644 --- a/service/location/snapshot/api_op_SearchPlaceIndexForSuggestions.go.snap +++ b/service/location/snapshot/api_op_SearchPlaceIndexForSuggestions.go.snap @@ -14,7 +14,6 @@ SearchPlaceIndexForSuggestions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_SearchPlaceIndexForText.go.snap b/service/location/snapshot/api_op_SearchPlaceIndexForText.go.snap index 9e8d67c5fcc..c5de21a617d 100644 --- a/service/location/snapshot/api_op_SearchPlaceIndexForText.go.snap +++ b/service/location/snapshot/api_op_SearchPlaceIndexForText.go.snap @@ -14,7 +14,6 @@ SearchPlaceIndexForText Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_TagResource.go.snap b/service/location/snapshot/api_op_TagResource.go.snap index e1a30395155..20d1859b264 100644 --- a/service/location/snapshot/api_op_TagResource.go.snap +++ b/service/location/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_UntagResource.go.snap b/service/location/snapshot/api_op_UntagResource.go.snap index 170b89b0d41..dabf5e30bc0 100644 --- a/service/location/snapshot/api_op_UntagResource.go.snap +++ b/service/location/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_UpdateGeofenceCollection.go.snap b/service/location/snapshot/api_op_UpdateGeofenceCollection.go.snap index 0aa86e73e85..dfd6dbfcdac 100644 --- a/service/location/snapshot/api_op_UpdateGeofenceCollection.go.snap +++ b/service/location/snapshot/api_op_UpdateGeofenceCollection.go.snap @@ -14,7 +14,6 @@ UpdateGeofenceCollection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_UpdateKey.go.snap b/service/location/snapshot/api_op_UpdateKey.go.snap index 6d520452948..038c1394121 100644 --- a/service/location/snapshot/api_op_UpdateKey.go.snap +++ b/service/location/snapshot/api_op_UpdateKey.go.snap @@ -14,7 +14,6 @@ UpdateKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_UpdateMap.go.snap b/service/location/snapshot/api_op_UpdateMap.go.snap index 814f3abd46d..f1679ea15ad 100644 --- a/service/location/snapshot/api_op_UpdateMap.go.snap +++ b/service/location/snapshot/api_op_UpdateMap.go.snap @@ -14,7 +14,6 @@ UpdateMap Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_UpdatePlaceIndex.go.snap b/service/location/snapshot/api_op_UpdatePlaceIndex.go.snap index e0d30bae92e..9931968175a 100644 --- a/service/location/snapshot/api_op_UpdatePlaceIndex.go.snap +++ b/service/location/snapshot/api_op_UpdatePlaceIndex.go.snap @@ -14,7 +14,6 @@ UpdatePlaceIndex Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_UpdateRouteCalculator.go.snap b/service/location/snapshot/api_op_UpdateRouteCalculator.go.snap index 8e724a36faa..f104dbcf497 100644 --- a/service/location/snapshot/api_op_UpdateRouteCalculator.go.snap +++ b/service/location/snapshot/api_op_UpdateRouteCalculator.go.snap @@ -14,7 +14,6 @@ UpdateRouteCalculator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_UpdateTracker.go.snap b/service/location/snapshot/api_op_UpdateTracker.go.snap index 2e7857dc0d1..cb86a01a0ad 100644 --- a/service/location/snapshot/api_op_UpdateTracker.go.snap +++ b/service/location/snapshot/api_op_UpdateTracker.go.snap @@ -14,7 +14,6 @@ UpdateTracker Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/location/snapshot/api_op_VerifyDevicePosition.go.snap b/service/location/snapshot/api_op_VerifyDevicePosition.go.snap index 49f03072a57..b01e1e8bf50 100644 --- a/service/location/snapshot/api_op_VerifyDevicePosition.go.snap +++ b/service/location/snapshot/api_op_VerifyDevicePosition.go.snap @@ -14,7 +14,6 @@ VerifyDevicePosition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/api_client.go b/service/lookoutequipment/api_client.go index 22a89a6745b..d5809bc766c 100644 --- a/service/lookoutequipment/api_client.go +++ b/service/lookoutequipment/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/lookoutequipment/api_op_CreateDataset.go b/service/lookoutequipment/api_op_CreateDataset.go index 57242356e50..370801ed69f 100644 --- a/service/lookoutequipment/api_op_CreateDataset.go +++ b/service/lookoutequipment/api_op_CreateDataset.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateDatasetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDatasetMiddleware(stack, options); err != nil { return err } diff --git a/service/lookoutequipment/api_op_CreateInferenceScheduler.go b/service/lookoutequipment/api_op_CreateInferenceScheduler.go index f03d19c0128..12655d36e00 100644 --- a/service/lookoutequipment/api_op_CreateInferenceScheduler.go +++ b/service/lookoutequipment/api_op_CreateInferenceScheduler.go @@ -206,9 +206,6 @@ func (c *Client) addOperationCreateInferenceSchedulerMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateInferenceSchedulerMiddleware(stack, options); err != nil { return err } diff --git a/service/lookoutequipment/api_op_CreateLabel.go b/service/lookoutequipment/api_op_CreateLabel.go index cbb3c711023..57d4b6d8c47 100644 --- a/service/lookoutequipment/api_op_CreateLabel.go +++ b/service/lookoutequipment/api_op_CreateLabel.go @@ -156,9 +156,6 @@ func (c *Client) addOperationCreateLabelMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateLabelMiddleware(stack, options); err != nil { return err } diff --git a/service/lookoutequipment/api_op_CreateLabelGroup.go b/service/lookoutequipment/api_op_CreateLabelGroup.go index 0b9e740369a..6c436c78968 100644 --- a/service/lookoutequipment/api_op_CreateLabelGroup.go +++ b/service/lookoutequipment/api_op_CreateLabelGroup.go @@ -138,9 +138,6 @@ func (c *Client) addOperationCreateLabelGroupMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateLabelGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/lookoutequipment/api_op_CreateModel.go b/service/lookoutequipment/api_op_CreateModel.go index 2aa141b00a0..15cdfb66edc 100644 --- a/service/lookoutequipment/api_op_CreateModel.go +++ b/service/lookoutequipment/api_op_CreateModel.go @@ -194,9 +194,6 @@ func (c *Client) addOperationCreateModelMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateModelMiddleware(stack, options); err != nil { return err } diff --git a/service/lookoutequipment/api_op_CreateRetrainingScheduler.go b/service/lookoutequipment/api_op_CreateRetrainingScheduler.go index 6d3825be03d..bbf20ec7bff 100644 --- a/service/lookoutequipment/api_op_CreateRetrainingScheduler.go +++ b/service/lookoutequipment/api_op_CreateRetrainingScheduler.go @@ -158,9 +158,6 @@ func (c *Client) addOperationCreateRetrainingSchedulerMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateRetrainingSchedulerMiddleware(stack, options); err != nil { return err } diff --git a/service/lookoutequipment/api_op_DeleteDataset.go b/service/lookoutequipment/api_op_DeleteDataset.go index d1bb3594f23..dc7b4811d1d 100644 --- a/service/lookoutequipment/api_op_DeleteDataset.go +++ b/service/lookoutequipment/api_op_DeleteDataset.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteDatasetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_DeleteInferenceScheduler.go b/service/lookoutequipment/api_op_DeleteInferenceScheduler.go index 0a6a2c9aebf..abd761989da 100644 --- a/service/lookoutequipment/api_op_DeleteInferenceScheduler.go +++ b/service/lookoutequipment/api_op_DeleteInferenceScheduler.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteInferenceSchedulerMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInferenceSchedulerValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_DeleteLabel.go b/service/lookoutequipment/api_op_DeleteLabel.go index f3f4a307366..6ee5c8712eb 100644 --- a/service/lookoutequipment/api_op_DeleteLabel.go +++ b/service/lookoutequipment/api_op_DeleteLabel.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteLabelMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLabelValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_DeleteLabelGroup.go b/service/lookoutequipment/api_op_DeleteLabelGroup.go index de1a0675379..d2f50368fa1 100644 --- a/service/lookoutequipment/api_op_DeleteLabelGroup.go +++ b/service/lookoutequipment/api_op_DeleteLabelGroup.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteLabelGroupMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLabelGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_DeleteModel.go b/service/lookoutequipment/api_op_DeleteModel.go index 8a04055a9ae..f1a879e1b82 100644 --- a/service/lookoutequipment/api_op_DeleteModel.go +++ b/service/lookoutequipment/api_op_DeleteModel.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteModelMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_DeleteResourcePolicy.go b/service/lookoutequipment/api_op_DeleteResourcePolicy.go index aae71a21c3e..9dfcd8eb009 100644 --- a/service/lookoutequipment/api_op_DeleteResourcePolicy.go +++ b/service/lookoutequipment/api_op_DeleteResourcePolicy.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_DeleteRetrainingScheduler.go b/service/lookoutequipment/api_op_DeleteRetrainingScheduler.go index e56051e398b..94e1d96152a 100644 --- a/service/lookoutequipment/api_op_DeleteRetrainingScheduler.go +++ b/service/lookoutequipment/api_op_DeleteRetrainingScheduler.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteRetrainingSchedulerMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRetrainingSchedulerValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_DescribeDataIngestionJob.go b/service/lookoutequipment/api_op_DescribeDataIngestionJob.go index 8d1b14b0bf1..ba14da2e4b2 100644 --- a/service/lookoutequipment/api_op_DescribeDataIngestionJob.go +++ b/service/lookoutequipment/api_op_DescribeDataIngestionJob.go @@ -164,9 +164,6 @@ func (c *Client) addOperationDescribeDataIngestionJobMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDataIngestionJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_DescribeDataset.go b/service/lookoutequipment/api_op_DescribeDataset.go index 2703cc3db94..b6f874144e7 100644 --- a/service/lookoutequipment/api_op_DescribeDataset.go +++ b/service/lookoutequipment/api_op_DescribeDataset.go @@ -166,9 +166,6 @@ func (c *Client) addOperationDescribeDatasetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_DescribeInferenceScheduler.go b/service/lookoutequipment/api_op_DescribeInferenceScheduler.go index 2e64a9080bf..6408ae7dc64 100644 --- a/service/lookoutequipment/api_op_DescribeInferenceScheduler.go +++ b/service/lookoutequipment/api_op_DescribeInferenceScheduler.go @@ -174,9 +174,6 @@ func (c *Client) addOperationDescribeInferenceSchedulerMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeInferenceSchedulerValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_DescribeLabel.go b/service/lookoutequipment/api_op_DescribeLabel.go index b5230ca5c78..2feeac36d76 100644 --- a/service/lookoutequipment/api_op_DescribeLabel.go +++ b/service/lookoutequipment/api_op_DescribeLabel.go @@ -151,9 +151,6 @@ func (c *Client) addOperationDescribeLabelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeLabelValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_DescribeLabelGroup.go b/service/lookoutequipment/api_op_DescribeLabelGroup.go index 932ae726048..f1165a07af5 100644 --- a/service/lookoutequipment/api_op_DescribeLabelGroup.go +++ b/service/lookoutequipment/api_op_DescribeLabelGroup.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribeLabelGroupMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeLabelGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_DescribeModel.go b/service/lookoutequipment/api_op_DescribeModel.go index 544947f6c48..689bc630ee1 100644 --- a/service/lookoutequipment/api_op_DescribeModel.go +++ b/service/lookoutequipment/api_op_DescribeModel.go @@ -297,9 +297,6 @@ func (c *Client) addOperationDescribeModelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_DescribeModelVersion.go b/service/lookoutequipment/api_op_DescribeModelVersion.go index 483c012a81b..402d595c542 100644 --- a/service/lookoutequipment/api_op_DescribeModelVersion.go +++ b/service/lookoutequipment/api_op_DescribeModelVersion.go @@ -274,9 +274,6 @@ func (c *Client) addOperationDescribeModelVersionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeModelVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_DescribeResourcePolicy.go b/service/lookoutequipment/api_op_DescribeResourcePolicy.go index 0f0ceb31c6d..cee7385207d 100644 --- a/service/lookoutequipment/api_op_DescribeResourcePolicy.go +++ b/service/lookoutequipment/api_op_DescribeResourcePolicy.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeResourcePolicyMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_DescribeRetrainingScheduler.go b/service/lookoutequipment/api_op_DescribeRetrainingScheduler.go index 4d6a251a5ff..ad4209e6b78 100644 --- a/service/lookoutequipment/api_op_DescribeRetrainingScheduler.go +++ b/service/lookoutequipment/api_op_DescribeRetrainingScheduler.go @@ -146,9 +146,6 @@ func (c *Client) addOperationDescribeRetrainingSchedulerMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRetrainingSchedulerValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_ImportDataset.go b/service/lookoutequipment/api_op_ImportDataset.go index 58f3d3b4ffc..10b5e05a334 100644 --- a/service/lookoutequipment/api_op_ImportDataset.go +++ b/service/lookoutequipment/api_op_ImportDataset.go @@ -139,9 +139,6 @@ func (c *Client) addOperationImportDatasetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opImportDatasetMiddleware(stack, options); err != nil { return err } diff --git a/service/lookoutequipment/api_op_ImportModelVersion.go b/service/lookoutequipment/api_op_ImportModelVersion.go index 39f3dffece3..62830ef10ee 100644 --- a/service/lookoutequipment/api_op_ImportModelVersion.go +++ b/service/lookoutequipment/api_op_ImportModelVersion.go @@ -167,9 +167,6 @@ func (c *Client) addOperationImportModelVersionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opImportModelVersionMiddleware(stack, options); err != nil { return err } diff --git a/service/lookoutequipment/api_op_ListDataIngestionJobs.go b/service/lookoutequipment/api_op_ListDataIngestionJobs.go index 2992cb1fdd5..a78b7bfa309 100644 --- a/service/lookoutequipment/api_op_ListDataIngestionJobs.go +++ b/service/lookoutequipment/api_op_ListDataIngestionJobs.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListDataIngestionJobsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataIngestionJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lookoutequipment/api_op_ListDatasets.go b/service/lookoutequipment/api_op_ListDatasets.go index 002acd59197..366896fdf94 100644 --- a/service/lookoutequipment/api_op_ListDatasets.go +++ b/service/lookoutequipment/api_op_ListDatasets.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListDatasetsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatasets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lookoutequipment/api_op_ListInferenceEvents.go b/service/lookoutequipment/api_op_ListInferenceEvents.go index 0eb31ad8d9c..0bd286b95b3 100644 --- a/service/lookoutequipment/api_op_ListInferenceEvents.go +++ b/service/lookoutequipment/api_op_ListInferenceEvents.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListInferenceEventsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListInferenceEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_ListInferenceExecutions.go b/service/lookoutequipment/api_op_ListInferenceExecutions.go index 8a73f675790..3670f2d07d7 100644 --- a/service/lookoutequipment/api_op_ListInferenceExecutions.go +++ b/service/lookoutequipment/api_op_ListInferenceExecutions.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListInferenceExecutionsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListInferenceExecutionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_ListInferenceSchedulers.go b/service/lookoutequipment/api_op_ListInferenceSchedulers.go index eb28a6d0f29..aeb2301cf3c 100644 --- a/service/lookoutequipment/api_op_ListInferenceSchedulers.go +++ b/service/lookoutequipment/api_op_ListInferenceSchedulers.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListInferenceSchedulersMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInferenceSchedulers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lookoutequipment/api_op_ListLabelGroups.go b/service/lookoutequipment/api_op_ListLabelGroups.go index d3985662e0e..3fbcbdfed1b 100644 --- a/service/lookoutequipment/api_op_ListLabelGroups.go +++ b/service/lookoutequipment/api_op_ListLabelGroups.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListLabelGroupsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLabelGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lookoutequipment/api_op_ListLabels.go b/service/lookoutequipment/api_op_ListLabels.go index 98e959f94bc..c61e074b592 100644 --- a/service/lookoutequipment/api_op_ListLabels.go +++ b/service/lookoutequipment/api_op_ListLabels.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListLabelsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListLabelsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_ListModelVersions.go b/service/lookoutequipment/api_op_ListModelVersions.go index 3403bbaad88..43beaf17097 100644 --- a/service/lookoutequipment/api_op_ListModelVersions.go +++ b/service/lookoutequipment/api_op_ListModelVersions.go @@ -154,9 +154,6 @@ func (c *Client) addOperationListModelVersionsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListModelVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_ListModels.go b/service/lookoutequipment/api_op_ListModels.go index 7df6ad72f62..354dac879ae 100644 --- a/service/lookoutequipment/api_op_ListModels.go +++ b/service/lookoutequipment/api_op_ListModels.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListModelsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListModels(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lookoutequipment/api_op_ListRetrainingSchedulers.go b/service/lookoutequipment/api_op_ListRetrainingSchedulers.go index 4e6903eace4..0a4217000a1 100644 --- a/service/lookoutequipment/api_op_ListRetrainingSchedulers.go +++ b/service/lookoutequipment/api_op_ListRetrainingSchedulers.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListRetrainingSchedulersMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRetrainingSchedulers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lookoutequipment/api_op_ListSensorStatistics.go b/service/lookoutequipment/api_op_ListSensorStatistics.go index 95d221bb720..bc0fd3922b6 100644 --- a/service/lookoutequipment/api_op_ListSensorStatistics.go +++ b/service/lookoutequipment/api_op_ListSensorStatistics.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListSensorStatisticsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSensorStatisticsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_ListTagsForResource.go b/service/lookoutequipment/api_op_ListTagsForResource.go index bd6913b4ad3..6d8e4d7e23b 100644 --- a/service/lookoutequipment/api_op_ListTagsForResource.go +++ b/service/lookoutequipment/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_PutResourcePolicy.go b/service/lookoutequipment/api_op_PutResourcePolicy.go index f8731941304..f9da6c988a1 100644 --- a/service/lookoutequipment/api_op_PutResourcePolicy.go +++ b/service/lookoutequipment/api_op_PutResourcePolicy.go @@ -129,9 +129,6 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opPutResourcePolicyMiddleware(stack, options); err != nil { return err } diff --git a/service/lookoutequipment/api_op_StartDataIngestionJob.go b/service/lookoutequipment/api_op_StartDataIngestionJob.go index bf77603c0c0..77ed9cb8bf5 100644 --- a/service/lookoutequipment/api_op_StartDataIngestionJob.go +++ b/service/lookoutequipment/api_op_StartDataIngestionJob.go @@ -134,9 +134,6 @@ func (c *Client) addOperationStartDataIngestionJobMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartDataIngestionJobMiddleware(stack, options); err != nil { return err } diff --git a/service/lookoutequipment/api_op_StartInferenceScheduler.go b/service/lookoutequipment/api_op_StartInferenceScheduler.go index 7166e773bbc..5c95f150ca1 100644 --- a/service/lookoutequipment/api_op_StartInferenceScheduler.go +++ b/service/lookoutequipment/api_op_StartInferenceScheduler.go @@ -125,9 +125,6 @@ func (c *Client) addOperationStartInferenceSchedulerMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartInferenceSchedulerValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_StartRetrainingScheduler.go b/service/lookoutequipment/api_op_StartRetrainingScheduler.go index abc5ac99356..b62e0aeac09 100644 --- a/service/lookoutequipment/api_op_StartRetrainingScheduler.go +++ b/service/lookoutequipment/api_op_StartRetrainingScheduler.go @@ -118,9 +118,6 @@ func (c *Client) addOperationStartRetrainingSchedulerMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartRetrainingSchedulerValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_StopInferenceScheduler.go b/service/lookoutequipment/api_op_StopInferenceScheduler.go index d33f4b67157..a6a16c58f86 100644 --- a/service/lookoutequipment/api_op_StopInferenceScheduler.go +++ b/service/lookoutequipment/api_op_StopInferenceScheduler.go @@ -126,9 +126,6 @@ func (c *Client) addOperationStopInferenceSchedulerMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopInferenceSchedulerValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_StopRetrainingScheduler.go b/service/lookoutequipment/api_op_StopRetrainingScheduler.go index 3cbaf293934..eefb8aa052f 100644 --- a/service/lookoutequipment/api_op_StopRetrainingScheduler.go +++ b/service/lookoutequipment/api_op_StopRetrainingScheduler.go @@ -118,9 +118,6 @@ func (c *Client) addOperationStopRetrainingSchedulerMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopRetrainingSchedulerValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_TagResource.go b/service/lookoutequipment/api_op_TagResource.go index c7073368b9d..629a5b65563 100644 --- a/service/lookoutequipment/api_op_TagResource.go +++ b/service/lookoutequipment/api_op_TagResource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_UntagResource.go b/service/lookoutequipment/api_op_UntagResource.go index d78261d73bc..83b649ddcbb 100644 --- a/service/lookoutequipment/api_op_UntagResource.go +++ b/service/lookoutequipment/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_UpdateActiveModelVersion.go b/service/lookoutequipment/api_op_UpdateActiveModelVersion.go index 76848088319..13d6474db0c 100644 --- a/service/lookoutequipment/api_op_UpdateActiveModelVersion.go +++ b/service/lookoutequipment/api_op_UpdateActiveModelVersion.go @@ -139,9 +139,6 @@ func (c *Client) addOperationUpdateActiveModelVersionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateActiveModelVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_UpdateInferenceScheduler.go b/service/lookoutequipment/api_op_UpdateInferenceScheduler.go index 2fb45e36203..050e43e1388 100644 --- a/service/lookoutequipment/api_op_UpdateInferenceScheduler.go +++ b/service/lookoutequipment/api_op_UpdateInferenceScheduler.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateInferenceSchedulerMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateInferenceSchedulerValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_UpdateLabelGroup.go b/service/lookoutequipment/api_op_UpdateLabelGroup.go index 40e1f399864..071bd51112c 100644 --- a/service/lookoutequipment/api_op_UpdateLabelGroup.go +++ b/service/lookoutequipment/api_op_UpdateLabelGroup.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUpdateLabelGroupMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLabelGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_UpdateModel.go b/service/lookoutequipment/api_op_UpdateModel.go index 2cca244cb68..52b3383ec92 100644 --- a/service/lookoutequipment/api_op_UpdateModel.go +++ b/service/lookoutequipment/api_op_UpdateModel.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdateModelMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/api_op_UpdateRetrainingScheduler.go b/service/lookoutequipment/api_op_UpdateRetrainingScheduler.go index 38c4d568107..5efd231f24d 100644 --- a/service/lookoutequipment/api_op_UpdateRetrainingScheduler.go +++ b/service/lookoutequipment/api_op_UpdateRetrainingScheduler.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateRetrainingSchedulerMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRetrainingSchedulerValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutequipment/snapshot/api_op_CreateDataset.go.snap b/service/lookoutequipment/snapshot/api_op_CreateDataset.go.snap index d3e00161393..17c56479435 100644 --- a/service/lookoutequipment/snapshot/api_op_CreateDataset.go.snap +++ b/service/lookoutequipment/snapshot/api_op_CreateDataset.go.snap @@ -15,7 +15,6 @@ CreateDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_CreateInferenceScheduler.go.snap b/service/lookoutequipment/snapshot/api_op_CreateInferenceScheduler.go.snap index 46f8e8ae539..6dccad0e63b 100644 --- a/service/lookoutequipment/snapshot/api_op_CreateInferenceScheduler.go.snap +++ b/service/lookoutequipment/snapshot/api_op_CreateInferenceScheduler.go.snap @@ -15,7 +15,6 @@ CreateInferenceScheduler Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_CreateLabel.go.snap b/service/lookoutequipment/snapshot/api_op_CreateLabel.go.snap index f461a259fa6..81c8d931951 100644 --- a/service/lookoutequipment/snapshot/api_op_CreateLabel.go.snap +++ b/service/lookoutequipment/snapshot/api_op_CreateLabel.go.snap @@ -15,7 +15,6 @@ CreateLabel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_CreateLabelGroup.go.snap b/service/lookoutequipment/snapshot/api_op_CreateLabelGroup.go.snap index e366446957a..7fca09adb4c 100644 --- a/service/lookoutequipment/snapshot/api_op_CreateLabelGroup.go.snap +++ b/service/lookoutequipment/snapshot/api_op_CreateLabelGroup.go.snap @@ -15,7 +15,6 @@ CreateLabelGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_CreateModel.go.snap b/service/lookoutequipment/snapshot/api_op_CreateModel.go.snap index 21f47a21669..603182bbd72 100644 --- a/service/lookoutequipment/snapshot/api_op_CreateModel.go.snap +++ b/service/lookoutequipment/snapshot/api_op_CreateModel.go.snap @@ -15,7 +15,6 @@ CreateModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_CreateRetrainingScheduler.go.snap b/service/lookoutequipment/snapshot/api_op_CreateRetrainingScheduler.go.snap index a7a3902c61c..ce20e9a2d43 100644 --- a/service/lookoutequipment/snapshot/api_op_CreateRetrainingScheduler.go.snap +++ b/service/lookoutequipment/snapshot/api_op_CreateRetrainingScheduler.go.snap @@ -15,7 +15,6 @@ CreateRetrainingScheduler Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_DeleteDataset.go.snap b/service/lookoutequipment/snapshot/api_op_DeleteDataset.go.snap index fd65991f000..352313df04c 100644 --- a/service/lookoutequipment/snapshot/api_op_DeleteDataset.go.snap +++ b/service/lookoutequipment/snapshot/api_op_DeleteDataset.go.snap @@ -14,7 +14,6 @@ DeleteDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_DeleteInferenceScheduler.go.snap b/service/lookoutequipment/snapshot/api_op_DeleteInferenceScheduler.go.snap index 4762671fffb..dbe0326d549 100644 --- a/service/lookoutequipment/snapshot/api_op_DeleteInferenceScheduler.go.snap +++ b/service/lookoutequipment/snapshot/api_op_DeleteInferenceScheduler.go.snap @@ -14,7 +14,6 @@ DeleteInferenceScheduler Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_DeleteLabel.go.snap b/service/lookoutequipment/snapshot/api_op_DeleteLabel.go.snap index 77991a1a0e3..60d36b8b0be 100644 --- a/service/lookoutequipment/snapshot/api_op_DeleteLabel.go.snap +++ b/service/lookoutequipment/snapshot/api_op_DeleteLabel.go.snap @@ -14,7 +14,6 @@ DeleteLabel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_DeleteLabelGroup.go.snap b/service/lookoutequipment/snapshot/api_op_DeleteLabelGroup.go.snap index cb4bb0b2bcc..d6170101e0a 100644 --- a/service/lookoutequipment/snapshot/api_op_DeleteLabelGroup.go.snap +++ b/service/lookoutequipment/snapshot/api_op_DeleteLabelGroup.go.snap @@ -14,7 +14,6 @@ DeleteLabelGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_DeleteModel.go.snap b/service/lookoutequipment/snapshot/api_op_DeleteModel.go.snap index e7d81439c82..4e87eb729a8 100644 --- a/service/lookoutequipment/snapshot/api_op_DeleteModel.go.snap +++ b/service/lookoutequipment/snapshot/api_op_DeleteModel.go.snap @@ -14,7 +14,6 @@ DeleteModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_DeleteResourcePolicy.go.snap b/service/lookoutequipment/snapshot/api_op_DeleteResourcePolicy.go.snap index 21dbc8dfcde..9948d797360 100644 --- a/service/lookoutequipment/snapshot/api_op_DeleteResourcePolicy.go.snap +++ b/service/lookoutequipment/snapshot/api_op_DeleteResourcePolicy.go.snap @@ -14,7 +14,6 @@ DeleteResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_DeleteRetrainingScheduler.go.snap b/service/lookoutequipment/snapshot/api_op_DeleteRetrainingScheduler.go.snap index c3a3586b399..6496551430d 100644 --- a/service/lookoutequipment/snapshot/api_op_DeleteRetrainingScheduler.go.snap +++ b/service/lookoutequipment/snapshot/api_op_DeleteRetrainingScheduler.go.snap @@ -14,7 +14,6 @@ DeleteRetrainingScheduler Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_DescribeDataIngestionJob.go.snap b/service/lookoutequipment/snapshot/api_op_DescribeDataIngestionJob.go.snap index 488ca620317..8dca0a703e5 100644 --- a/service/lookoutequipment/snapshot/api_op_DescribeDataIngestionJob.go.snap +++ b/service/lookoutequipment/snapshot/api_op_DescribeDataIngestionJob.go.snap @@ -14,7 +14,6 @@ DescribeDataIngestionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_DescribeDataset.go.snap b/service/lookoutequipment/snapshot/api_op_DescribeDataset.go.snap index d62bad12867..091c433d575 100644 --- a/service/lookoutequipment/snapshot/api_op_DescribeDataset.go.snap +++ b/service/lookoutequipment/snapshot/api_op_DescribeDataset.go.snap @@ -14,7 +14,6 @@ DescribeDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_DescribeInferenceScheduler.go.snap b/service/lookoutequipment/snapshot/api_op_DescribeInferenceScheduler.go.snap index 7b807491191..8a93d1e1a84 100644 --- a/service/lookoutequipment/snapshot/api_op_DescribeInferenceScheduler.go.snap +++ b/service/lookoutequipment/snapshot/api_op_DescribeInferenceScheduler.go.snap @@ -14,7 +14,6 @@ DescribeInferenceScheduler Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_DescribeLabel.go.snap b/service/lookoutequipment/snapshot/api_op_DescribeLabel.go.snap index a39d8a64e6f..01a783facee 100644 --- a/service/lookoutequipment/snapshot/api_op_DescribeLabel.go.snap +++ b/service/lookoutequipment/snapshot/api_op_DescribeLabel.go.snap @@ -14,7 +14,6 @@ DescribeLabel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_DescribeLabelGroup.go.snap b/service/lookoutequipment/snapshot/api_op_DescribeLabelGroup.go.snap index 1c519833e3f..36fbf223376 100644 --- a/service/lookoutequipment/snapshot/api_op_DescribeLabelGroup.go.snap +++ b/service/lookoutequipment/snapshot/api_op_DescribeLabelGroup.go.snap @@ -14,7 +14,6 @@ DescribeLabelGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_DescribeModel.go.snap b/service/lookoutequipment/snapshot/api_op_DescribeModel.go.snap index eaf9d1d8a0e..ec46b585773 100644 --- a/service/lookoutequipment/snapshot/api_op_DescribeModel.go.snap +++ b/service/lookoutequipment/snapshot/api_op_DescribeModel.go.snap @@ -14,7 +14,6 @@ DescribeModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_DescribeModelVersion.go.snap b/service/lookoutequipment/snapshot/api_op_DescribeModelVersion.go.snap index 31f5196c536..b3be595c7b3 100644 --- a/service/lookoutequipment/snapshot/api_op_DescribeModelVersion.go.snap +++ b/service/lookoutequipment/snapshot/api_op_DescribeModelVersion.go.snap @@ -14,7 +14,6 @@ DescribeModelVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_DescribeResourcePolicy.go.snap b/service/lookoutequipment/snapshot/api_op_DescribeResourcePolicy.go.snap index 4522eae3833..5483931eded 100644 --- a/service/lookoutequipment/snapshot/api_op_DescribeResourcePolicy.go.snap +++ b/service/lookoutequipment/snapshot/api_op_DescribeResourcePolicy.go.snap @@ -14,7 +14,6 @@ DescribeResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_DescribeRetrainingScheduler.go.snap b/service/lookoutequipment/snapshot/api_op_DescribeRetrainingScheduler.go.snap index 7d19ec35d0f..2399d84efd3 100644 --- a/service/lookoutequipment/snapshot/api_op_DescribeRetrainingScheduler.go.snap +++ b/service/lookoutequipment/snapshot/api_op_DescribeRetrainingScheduler.go.snap @@ -14,7 +14,6 @@ DescribeRetrainingScheduler Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_ImportDataset.go.snap b/service/lookoutequipment/snapshot/api_op_ImportDataset.go.snap index 0268ee72554..a887197c74a 100644 --- a/service/lookoutequipment/snapshot/api_op_ImportDataset.go.snap +++ b/service/lookoutequipment/snapshot/api_op_ImportDataset.go.snap @@ -15,7 +15,6 @@ ImportDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_ImportModelVersion.go.snap b/service/lookoutequipment/snapshot/api_op_ImportModelVersion.go.snap index ade3de7cc57..ba23e593afd 100644 --- a/service/lookoutequipment/snapshot/api_op_ImportModelVersion.go.snap +++ b/service/lookoutequipment/snapshot/api_op_ImportModelVersion.go.snap @@ -15,7 +15,6 @@ ImportModelVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_ListDataIngestionJobs.go.snap b/service/lookoutequipment/snapshot/api_op_ListDataIngestionJobs.go.snap index 700cbe16f3d..d7cd1e03122 100644 --- a/service/lookoutequipment/snapshot/api_op_ListDataIngestionJobs.go.snap +++ b/service/lookoutequipment/snapshot/api_op_ListDataIngestionJobs.go.snap @@ -13,7 +13,6 @@ ListDataIngestionJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_ListDatasets.go.snap b/service/lookoutequipment/snapshot/api_op_ListDatasets.go.snap index d12c69e04c8..2417c388432 100644 --- a/service/lookoutequipment/snapshot/api_op_ListDatasets.go.snap +++ b/service/lookoutequipment/snapshot/api_op_ListDatasets.go.snap @@ -13,7 +13,6 @@ ListDatasets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_ListInferenceEvents.go.snap b/service/lookoutequipment/snapshot/api_op_ListInferenceEvents.go.snap index 40b83c868ff..2fadc2079a6 100644 --- a/service/lookoutequipment/snapshot/api_op_ListInferenceEvents.go.snap +++ b/service/lookoutequipment/snapshot/api_op_ListInferenceEvents.go.snap @@ -14,7 +14,6 @@ ListInferenceEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_ListInferenceExecutions.go.snap b/service/lookoutequipment/snapshot/api_op_ListInferenceExecutions.go.snap index 46e314202f9..b43ee085a65 100644 --- a/service/lookoutequipment/snapshot/api_op_ListInferenceExecutions.go.snap +++ b/service/lookoutequipment/snapshot/api_op_ListInferenceExecutions.go.snap @@ -14,7 +14,6 @@ ListInferenceExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_ListInferenceSchedulers.go.snap b/service/lookoutequipment/snapshot/api_op_ListInferenceSchedulers.go.snap index 210c2e6f167..d3b91b98c4c 100644 --- a/service/lookoutequipment/snapshot/api_op_ListInferenceSchedulers.go.snap +++ b/service/lookoutequipment/snapshot/api_op_ListInferenceSchedulers.go.snap @@ -13,7 +13,6 @@ ListInferenceSchedulers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_ListLabelGroups.go.snap b/service/lookoutequipment/snapshot/api_op_ListLabelGroups.go.snap index f23f4f954b8..0d90c3f3ed6 100644 --- a/service/lookoutequipment/snapshot/api_op_ListLabelGroups.go.snap +++ b/service/lookoutequipment/snapshot/api_op_ListLabelGroups.go.snap @@ -13,7 +13,6 @@ ListLabelGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_ListLabels.go.snap b/service/lookoutequipment/snapshot/api_op_ListLabels.go.snap index 2e2d6fb2b16..c802dcb4242 100644 --- a/service/lookoutequipment/snapshot/api_op_ListLabels.go.snap +++ b/service/lookoutequipment/snapshot/api_op_ListLabels.go.snap @@ -14,7 +14,6 @@ ListLabels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_ListModelVersions.go.snap b/service/lookoutequipment/snapshot/api_op_ListModelVersions.go.snap index 90f55d1e8b6..4398fbe6816 100644 --- a/service/lookoutequipment/snapshot/api_op_ListModelVersions.go.snap +++ b/service/lookoutequipment/snapshot/api_op_ListModelVersions.go.snap @@ -14,7 +14,6 @@ ListModelVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_ListModels.go.snap b/service/lookoutequipment/snapshot/api_op_ListModels.go.snap index 6f5868478e1..b02f60518f9 100644 --- a/service/lookoutequipment/snapshot/api_op_ListModels.go.snap +++ b/service/lookoutequipment/snapshot/api_op_ListModels.go.snap @@ -13,7 +13,6 @@ ListModels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_ListRetrainingSchedulers.go.snap b/service/lookoutequipment/snapshot/api_op_ListRetrainingSchedulers.go.snap index 72118923d51..d26d81af1f2 100644 --- a/service/lookoutequipment/snapshot/api_op_ListRetrainingSchedulers.go.snap +++ b/service/lookoutequipment/snapshot/api_op_ListRetrainingSchedulers.go.snap @@ -13,7 +13,6 @@ ListRetrainingSchedulers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_ListSensorStatistics.go.snap b/service/lookoutequipment/snapshot/api_op_ListSensorStatistics.go.snap index d2e108837a0..a8c4c9bd7f6 100644 --- a/service/lookoutequipment/snapshot/api_op_ListSensorStatistics.go.snap +++ b/service/lookoutequipment/snapshot/api_op_ListSensorStatistics.go.snap @@ -14,7 +14,6 @@ ListSensorStatistics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_ListTagsForResource.go.snap b/service/lookoutequipment/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/lookoutequipment/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/lookoutequipment/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_PutResourcePolicy.go.snap b/service/lookoutequipment/snapshot/api_op_PutResourcePolicy.go.snap index c0d8cc98b05..679ae914c26 100644 --- a/service/lookoutequipment/snapshot/api_op_PutResourcePolicy.go.snap +++ b/service/lookoutequipment/snapshot/api_op_PutResourcePolicy.go.snap @@ -15,7 +15,6 @@ PutResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_StartDataIngestionJob.go.snap b/service/lookoutequipment/snapshot/api_op_StartDataIngestionJob.go.snap index 8e2f9a2b7d3..c9b61f3c1d2 100644 --- a/service/lookoutequipment/snapshot/api_op_StartDataIngestionJob.go.snap +++ b/service/lookoutequipment/snapshot/api_op_StartDataIngestionJob.go.snap @@ -15,7 +15,6 @@ StartDataIngestionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_StartInferenceScheduler.go.snap b/service/lookoutequipment/snapshot/api_op_StartInferenceScheduler.go.snap index fa174fc28b5..a51b7d2948a 100644 --- a/service/lookoutequipment/snapshot/api_op_StartInferenceScheduler.go.snap +++ b/service/lookoutequipment/snapshot/api_op_StartInferenceScheduler.go.snap @@ -14,7 +14,6 @@ StartInferenceScheduler Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_StartRetrainingScheduler.go.snap b/service/lookoutequipment/snapshot/api_op_StartRetrainingScheduler.go.snap index 5cb16b85bd5..dd7cdeb8003 100644 --- a/service/lookoutequipment/snapshot/api_op_StartRetrainingScheduler.go.snap +++ b/service/lookoutequipment/snapshot/api_op_StartRetrainingScheduler.go.snap @@ -14,7 +14,6 @@ StartRetrainingScheduler Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_StopInferenceScheduler.go.snap b/service/lookoutequipment/snapshot/api_op_StopInferenceScheduler.go.snap index 4276411c6be..dc0f023a3f2 100644 --- a/service/lookoutequipment/snapshot/api_op_StopInferenceScheduler.go.snap +++ b/service/lookoutequipment/snapshot/api_op_StopInferenceScheduler.go.snap @@ -14,7 +14,6 @@ StopInferenceScheduler Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_StopRetrainingScheduler.go.snap b/service/lookoutequipment/snapshot/api_op_StopRetrainingScheduler.go.snap index ac5ddf779a5..d9b8f2b87e8 100644 --- a/service/lookoutequipment/snapshot/api_op_StopRetrainingScheduler.go.snap +++ b/service/lookoutequipment/snapshot/api_op_StopRetrainingScheduler.go.snap @@ -14,7 +14,6 @@ StopRetrainingScheduler Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_TagResource.go.snap b/service/lookoutequipment/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/lookoutequipment/snapshot/api_op_TagResource.go.snap +++ b/service/lookoutequipment/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_UntagResource.go.snap b/service/lookoutequipment/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/lookoutequipment/snapshot/api_op_UntagResource.go.snap +++ b/service/lookoutequipment/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_UpdateActiveModelVersion.go.snap b/service/lookoutequipment/snapshot/api_op_UpdateActiveModelVersion.go.snap index 983ee5b4885..10931eb19bf 100644 --- a/service/lookoutequipment/snapshot/api_op_UpdateActiveModelVersion.go.snap +++ b/service/lookoutequipment/snapshot/api_op_UpdateActiveModelVersion.go.snap @@ -14,7 +14,6 @@ UpdateActiveModelVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_UpdateInferenceScheduler.go.snap b/service/lookoutequipment/snapshot/api_op_UpdateInferenceScheduler.go.snap index 9baa1898498..765283aec41 100644 --- a/service/lookoutequipment/snapshot/api_op_UpdateInferenceScheduler.go.snap +++ b/service/lookoutequipment/snapshot/api_op_UpdateInferenceScheduler.go.snap @@ -14,7 +14,6 @@ UpdateInferenceScheduler Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_UpdateLabelGroup.go.snap b/service/lookoutequipment/snapshot/api_op_UpdateLabelGroup.go.snap index c997cd59b86..a2dae98c962 100644 --- a/service/lookoutequipment/snapshot/api_op_UpdateLabelGroup.go.snap +++ b/service/lookoutequipment/snapshot/api_op_UpdateLabelGroup.go.snap @@ -14,7 +14,6 @@ UpdateLabelGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_UpdateModel.go.snap b/service/lookoutequipment/snapshot/api_op_UpdateModel.go.snap index ee1931970d4..9309142d990 100644 --- a/service/lookoutequipment/snapshot/api_op_UpdateModel.go.snap +++ b/service/lookoutequipment/snapshot/api_op_UpdateModel.go.snap @@ -14,7 +14,6 @@ UpdateModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutequipment/snapshot/api_op_UpdateRetrainingScheduler.go.snap b/service/lookoutequipment/snapshot/api_op_UpdateRetrainingScheduler.go.snap index 954afb2564f..7f5ab84a33e 100644 --- a/service/lookoutequipment/snapshot/api_op_UpdateRetrainingScheduler.go.snap +++ b/service/lookoutequipment/snapshot/api_op_UpdateRetrainingScheduler.go.snap @@ -14,7 +14,6 @@ UpdateRetrainingScheduler Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutmetrics/api_client.go b/service/lookoutmetrics/api_client.go index af855ce62f9..6fe663179dc 100644 --- a/service/lookoutmetrics/api_client.go +++ b/service/lookoutmetrics/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/lookoutmetrics/api_op_ActivateAnomalyDetector.go b/service/lookoutmetrics/api_op_ActivateAnomalyDetector.go index a9c68cfdd1f..e50221a590d 100644 --- a/service/lookoutmetrics/api_op_ActivateAnomalyDetector.go +++ b/service/lookoutmetrics/api_op_ActivateAnomalyDetector.go @@ -107,9 +107,6 @@ func (c *Client) addOperationActivateAnomalyDetectorMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpActivateAnomalyDetectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_BackTestAnomalyDetector.go b/service/lookoutmetrics/api_op_BackTestAnomalyDetector.go index ab1c2ce836f..31fd752a628 100644 --- a/service/lookoutmetrics/api_op_BackTestAnomalyDetector.go +++ b/service/lookoutmetrics/api_op_BackTestAnomalyDetector.go @@ -107,9 +107,6 @@ func (c *Client) addOperationBackTestAnomalyDetectorMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBackTestAnomalyDetectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_CreateAlert.go b/service/lookoutmetrics/api_op_CreateAlert.go index 490631096c0..a6c2c9a68b4 100644 --- a/service/lookoutmetrics/api_op_CreateAlert.go +++ b/service/lookoutmetrics/api_op_CreateAlert.go @@ -137,9 +137,6 @@ func (c *Client) addOperationCreateAlertMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAlertValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_CreateAnomalyDetector.go b/service/lookoutmetrics/api_op_CreateAnomalyDetector.go index a197b676c76..ad30ebc11d6 100644 --- a/service/lookoutmetrics/api_op_CreateAnomalyDetector.go +++ b/service/lookoutmetrics/api_op_CreateAnomalyDetector.go @@ -128,9 +128,6 @@ func (c *Client) addOperationCreateAnomalyDetectorMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAnomalyDetectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_CreateMetricSet.go b/service/lookoutmetrics/api_op_CreateMetricSet.go index 6838d527056..e2e3822f220 100644 --- a/service/lookoutmetrics/api_op_CreateMetricSet.go +++ b/service/lookoutmetrics/api_op_CreateMetricSet.go @@ -156,9 +156,6 @@ func (c *Client) addOperationCreateMetricSetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateMetricSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_DeactivateAnomalyDetector.go b/service/lookoutmetrics/api_op_DeactivateAnomalyDetector.go index 96fab48daf8..a35365f8ecc 100644 --- a/service/lookoutmetrics/api_op_DeactivateAnomalyDetector.go +++ b/service/lookoutmetrics/api_op_DeactivateAnomalyDetector.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeactivateAnomalyDetectorMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeactivateAnomalyDetectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_DeleteAlert.go b/service/lookoutmetrics/api_op_DeleteAlert.go index 7b42f3252b3..345a6eed579 100644 --- a/service/lookoutmetrics/api_op_DeleteAlert.go +++ b/service/lookoutmetrics/api_op_DeleteAlert.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteAlertMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAlertValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_DeleteAnomalyDetector.go b/service/lookoutmetrics/api_op_DeleteAnomalyDetector.go index 618c62208c0..9b8d08c9176 100644 --- a/service/lookoutmetrics/api_op_DeleteAnomalyDetector.go +++ b/service/lookoutmetrics/api_op_DeleteAnomalyDetector.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteAnomalyDetectorMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAnomalyDetectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_DescribeAlert.go b/service/lookoutmetrics/api_op_DescribeAlert.go index 383702cf934..4358b973300 100644 --- a/service/lookoutmetrics/api_op_DescribeAlert.go +++ b/service/lookoutmetrics/api_op_DescribeAlert.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDescribeAlertMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAlertValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_DescribeAnomalyDetectionExecutions.go b/service/lookoutmetrics/api_op_DescribeAnomalyDetectionExecutions.go index 220bef374c5..8f01167c36a 100644 --- a/service/lookoutmetrics/api_op_DescribeAnomalyDetectionExecutions.go +++ b/service/lookoutmetrics/api_op_DescribeAnomalyDetectionExecutions.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribeAnomalyDetectionExecutionsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAnomalyDetectionExecutionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_DescribeAnomalyDetector.go b/service/lookoutmetrics/api_op_DescribeAnomalyDetector.go index bd5c69ab6ba..e52fa69598f 100644 --- a/service/lookoutmetrics/api_op_DescribeAnomalyDetector.go +++ b/service/lookoutmetrics/api_op_DescribeAnomalyDetector.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDescribeAnomalyDetectorMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAnomalyDetectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_DescribeMetricSet.go b/service/lookoutmetrics/api_op_DescribeMetricSet.go index 91dc3a82708..5b686474b29 100644 --- a/service/lookoutmetrics/api_op_DescribeMetricSet.go +++ b/service/lookoutmetrics/api_op_DescribeMetricSet.go @@ -159,9 +159,6 @@ func (c *Client) addOperationDescribeMetricSetMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeMetricSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_DetectMetricSetConfig.go b/service/lookoutmetrics/api_op_DetectMetricSetConfig.go index 73690454b8b..e3210c99cab 100644 --- a/service/lookoutmetrics/api_op_DetectMetricSetConfig.go +++ b/service/lookoutmetrics/api_op_DetectMetricSetConfig.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDetectMetricSetConfigMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetectMetricSetConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_GetAnomalyGroup.go b/service/lookoutmetrics/api_op_GetAnomalyGroup.go index 674b904d554..a6fd6a672c0 100644 --- a/service/lookoutmetrics/api_op_GetAnomalyGroup.go +++ b/service/lookoutmetrics/api_op_GetAnomalyGroup.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetAnomalyGroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAnomalyGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_GetDataQualityMetrics.go b/service/lookoutmetrics/api_op_GetDataQualityMetrics.go index ebc18485778..9c9eea43dcf 100644 --- a/service/lookoutmetrics/api_op_GetDataQualityMetrics.go +++ b/service/lookoutmetrics/api_op_GetDataQualityMetrics.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetDataQualityMetricsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataQualityMetricsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_GetFeedback.go b/service/lookoutmetrics/api_op_GetFeedback.go index ea2ad485f61..b250d6994e7 100644 --- a/service/lookoutmetrics/api_op_GetFeedback.go +++ b/service/lookoutmetrics/api_op_GetFeedback.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetFeedbackMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFeedbackValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_GetSampleData.go b/service/lookoutmetrics/api_op_GetSampleData.go index 8f0d9f8b06d..3d3d73aa612 100644 --- a/service/lookoutmetrics/api_op_GetSampleData.go +++ b/service/lookoutmetrics/api_op_GetSampleData.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetSampleDataMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSampleDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_ListAlerts.go b/service/lookoutmetrics/api_op_ListAlerts.go index b8affb1c6e5..6109e231f0d 100644 --- a/service/lookoutmetrics/api_op_ListAlerts.go +++ b/service/lookoutmetrics/api_op_ListAlerts.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListAlertsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAlerts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_ListAnomalyDetectors.go b/service/lookoutmetrics/api_op_ListAnomalyDetectors.go index 6d0034606ae..e2333a9bc49 100644 --- a/service/lookoutmetrics/api_op_ListAnomalyDetectors.go +++ b/service/lookoutmetrics/api_op_ListAnomalyDetectors.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListAnomalyDetectorsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAnomalyDetectors(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_ListAnomalyGroupRelatedMetrics.go b/service/lookoutmetrics/api_op_ListAnomalyGroupRelatedMetrics.go index ac036ba31ac..0879677d007 100644 --- a/service/lookoutmetrics/api_op_ListAnomalyGroupRelatedMetrics.go +++ b/service/lookoutmetrics/api_op_ListAnomalyGroupRelatedMetrics.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListAnomalyGroupRelatedMetricsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAnomalyGroupRelatedMetricsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_ListAnomalyGroupSummaries.go b/service/lookoutmetrics/api_op_ListAnomalyGroupSummaries.go index b6aaf6bd798..2831e888fb3 100644 --- a/service/lookoutmetrics/api_op_ListAnomalyGroupSummaries.go +++ b/service/lookoutmetrics/api_op_ListAnomalyGroupSummaries.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListAnomalyGroupSummariesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAnomalyGroupSummariesValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_ListAnomalyGroupTimeSeries.go b/service/lookoutmetrics/api_op_ListAnomalyGroupTimeSeries.go index f084838299f..79beb971436 100644 --- a/service/lookoutmetrics/api_op_ListAnomalyGroupTimeSeries.go +++ b/service/lookoutmetrics/api_op_ListAnomalyGroupTimeSeries.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListAnomalyGroupTimeSeriesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAnomalyGroupTimeSeriesValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_ListMetricSets.go b/service/lookoutmetrics/api_op_ListMetricSets.go index 7db83c1a74e..0cdc4835d58 100644 --- a/service/lookoutmetrics/api_op_ListMetricSets.go +++ b/service/lookoutmetrics/api_op_ListMetricSets.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListMetricSetsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMetricSets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_ListTagsForResource.go b/service/lookoutmetrics/api_op_ListTagsForResource.go index d75e6d35c79..8b55601d2ff 100644 --- a/service/lookoutmetrics/api_op_ListTagsForResource.go +++ b/service/lookoutmetrics/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_PutFeedback.go b/service/lookoutmetrics/api_op_PutFeedback.go index dddde78e713..f0429e26c45 100644 --- a/service/lookoutmetrics/api_op_PutFeedback.go +++ b/service/lookoutmetrics/api_op_PutFeedback.go @@ -113,9 +113,6 @@ func (c *Client) addOperationPutFeedbackMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutFeedbackValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_TagResource.go b/service/lookoutmetrics/api_op_TagResource.go index caf9c79a873..0adbf16cbd0 100644 --- a/service/lookoutmetrics/api_op_TagResource.go +++ b/service/lookoutmetrics/api_op_TagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_UntagResource.go b/service/lookoutmetrics/api_op_UntagResource.go index 639490cc292..c2e6cb6e183 100644 --- a/service/lookoutmetrics/api_op_UntagResource.go +++ b/service/lookoutmetrics/api_op_UntagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_UpdateAlert.go b/service/lookoutmetrics/api_op_UpdateAlert.go index 58d6ca36e73..9cd1c9ea9f5 100644 --- a/service/lookoutmetrics/api_op_UpdateAlert.go +++ b/service/lookoutmetrics/api_op_UpdateAlert.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateAlertMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAlertValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_UpdateAnomalyDetector.go b/service/lookoutmetrics/api_op_UpdateAnomalyDetector.go index c5c8b4d6a65..b57e1fbe9d3 100644 --- a/service/lookoutmetrics/api_op_UpdateAnomalyDetector.go +++ b/service/lookoutmetrics/api_op_UpdateAnomalyDetector.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateAnomalyDetectorMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAnomalyDetectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/api_op_UpdateMetricSet.go b/service/lookoutmetrics/api_op_UpdateMetricSet.go index 1b7c4f77d60..341bcf3e109 100644 --- a/service/lookoutmetrics/api_op_UpdateMetricSet.go +++ b/service/lookoutmetrics/api_op_UpdateMetricSet.go @@ -142,9 +142,6 @@ func (c *Client) addOperationUpdateMetricSetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMetricSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutmetrics/snapshot/api_op_ActivateAnomalyDetector.go.snap b/service/lookoutmetrics/snapshot/api_op_ActivateAnomalyDetector.go.snap index addb9c01a44..1f1ef72bf35 100644 --- a/service/lookoutmetrics/snapshot/api_op_ActivateAnomalyDetector.go.snap +++ b/service/lookoutmetrics/snapshot/api_op_ActivateAnomalyDetector.go.snap @@ -14,7 +14,6 @@ ActivateAnomalyDetector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutmetrics/snapshot/api_op_BackTestAnomalyDetector.go.snap b/service/lookoutmetrics/snapshot/api_op_BackTestAnomalyDetector.go.snap index af00073d628..05ca5469361 100644 --- a/service/lookoutmetrics/snapshot/api_op_BackTestAnomalyDetector.go.snap +++ b/service/lookoutmetrics/snapshot/api_op_BackTestAnomalyDetector.go.snap @@ -14,7 +14,6 @@ BackTestAnomalyDetector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutmetrics/snapshot/api_op_CreateAlert.go.snap b/service/lookoutmetrics/snapshot/api_op_CreateAlert.go.snap index 540e12900d8..a0cd0b518f6 100644 --- a/service/lookoutmetrics/snapshot/api_op_CreateAlert.go.snap +++ b/service/lookoutmetrics/snapshot/api_op_CreateAlert.go.snap @@ -14,7 +14,6 @@ CreateAlert Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutmetrics/snapshot/api_op_CreateAnomalyDetector.go.snap b/service/lookoutmetrics/snapshot/api_op_CreateAnomalyDetector.go.snap index fc8164e5d1c..d143cc4d231 100644 --- a/service/lookoutmetrics/snapshot/api_op_CreateAnomalyDetector.go.snap +++ b/service/lookoutmetrics/snapshot/api_op_CreateAnomalyDetector.go.snap @@ -14,7 +14,6 @@ CreateAnomalyDetector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutmetrics/snapshot/api_op_CreateMetricSet.go.snap b/service/lookoutmetrics/snapshot/api_op_CreateMetricSet.go.snap index 609b00fcc3d..ec042b10ee0 100644 --- a/service/lookoutmetrics/snapshot/api_op_CreateMetricSet.go.snap +++ b/service/lookoutmetrics/snapshot/api_op_CreateMetricSet.go.snap @@ -14,7 +14,6 @@ CreateMetricSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutmetrics/snapshot/api_op_DeactivateAnomalyDetector.go.snap b/service/lookoutmetrics/snapshot/api_op_DeactivateAnomalyDetector.go.snap index 85ac6c2d722..0c078326c58 100644 --- a/service/lookoutmetrics/snapshot/api_op_DeactivateAnomalyDetector.go.snap +++ b/service/lookoutmetrics/snapshot/api_op_DeactivateAnomalyDetector.go.snap @@ -14,7 +14,6 @@ DeactivateAnomalyDetector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutmetrics/snapshot/api_op_DeleteAlert.go.snap b/service/lookoutmetrics/snapshot/api_op_DeleteAlert.go.snap index 9a2fe3e77d5..17a55501e3e 100644 --- a/service/lookoutmetrics/snapshot/api_op_DeleteAlert.go.snap +++ b/service/lookoutmetrics/snapshot/api_op_DeleteAlert.go.snap @@ -14,7 +14,6 @@ DeleteAlert Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutmetrics/snapshot/api_op_DeleteAnomalyDetector.go.snap b/service/lookoutmetrics/snapshot/api_op_DeleteAnomalyDetector.go.snap index a19f7195769..2596fe45385 100644 --- a/service/lookoutmetrics/snapshot/api_op_DeleteAnomalyDetector.go.snap +++ b/service/lookoutmetrics/snapshot/api_op_DeleteAnomalyDetector.go.snap @@ -14,7 +14,6 @@ DeleteAnomalyDetector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutmetrics/snapshot/api_op_DescribeAlert.go.snap b/service/lookoutmetrics/snapshot/api_op_DescribeAlert.go.snap index d36c0af9f2b..739e701e1fa 100644 --- a/service/lookoutmetrics/snapshot/api_op_DescribeAlert.go.snap +++ b/service/lookoutmetrics/snapshot/api_op_DescribeAlert.go.snap @@ -14,7 +14,6 @@ DescribeAlert Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutmetrics/snapshot/api_op_DescribeAnomalyDetectionExecutions.go.snap b/service/lookoutmetrics/snapshot/api_op_DescribeAnomalyDetectionExecutions.go.snap index a089d2d1667..ed0f8adf220 100644 --- a/service/lookoutmetrics/snapshot/api_op_DescribeAnomalyDetectionExecutions.go.snap +++ b/service/lookoutmetrics/snapshot/api_op_DescribeAnomalyDetectionExecutions.go.snap @@ -14,7 +14,6 @@ DescribeAnomalyDetectionExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutmetrics/snapshot/api_op_DescribeAnomalyDetector.go.snap b/service/lookoutmetrics/snapshot/api_op_DescribeAnomalyDetector.go.snap index fc4f4072ad3..c7cd3070160 100644 --- a/service/lookoutmetrics/snapshot/api_op_DescribeAnomalyDetector.go.snap +++ b/service/lookoutmetrics/snapshot/api_op_DescribeAnomalyDetector.go.snap @@ -14,7 +14,6 @@ DescribeAnomalyDetector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutmetrics/snapshot/api_op_DescribeMetricSet.go.snap b/service/lookoutmetrics/snapshot/api_op_DescribeMetricSet.go.snap index 220268255dd..cd4fbb306e3 100644 --- a/service/lookoutmetrics/snapshot/api_op_DescribeMetricSet.go.snap +++ b/service/lookoutmetrics/snapshot/api_op_DescribeMetricSet.go.snap @@ -14,7 +14,6 @@ DescribeMetricSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutmetrics/snapshot/api_op_DetectMetricSetConfig.go.snap b/service/lookoutmetrics/snapshot/api_op_DetectMetricSetConfig.go.snap index c9a9419bdca..253c43f06a8 100644 --- a/service/lookoutmetrics/snapshot/api_op_DetectMetricSetConfig.go.snap +++ b/service/lookoutmetrics/snapshot/api_op_DetectMetricSetConfig.go.snap @@ -14,7 +14,6 @@ DetectMetricSetConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutmetrics/snapshot/api_op_GetAnomalyGroup.go.snap b/service/lookoutmetrics/snapshot/api_op_GetAnomalyGroup.go.snap index e86a611591c..7d09cb97d32 100644 --- a/service/lookoutmetrics/snapshot/api_op_GetAnomalyGroup.go.snap +++ b/service/lookoutmetrics/snapshot/api_op_GetAnomalyGroup.go.snap @@ -14,7 +14,6 @@ GetAnomalyGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutmetrics/snapshot/api_op_GetDataQualityMetrics.go.snap b/service/lookoutmetrics/snapshot/api_op_GetDataQualityMetrics.go.snap index 2a322f81ff6..35d80d9b3c1 100644 --- a/service/lookoutmetrics/snapshot/api_op_GetDataQualityMetrics.go.snap +++ b/service/lookoutmetrics/snapshot/api_op_GetDataQualityMetrics.go.snap @@ -14,7 +14,6 @@ GetDataQualityMetrics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutmetrics/snapshot/api_op_GetFeedback.go.snap b/service/lookoutmetrics/snapshot/api_op_GetFeedback.go.snap index eca79afd292..8634dd41231 100644 --- a/service/lookoutmetrics/snapshot/api_op_GetFeedback.go.snap +++ b/service/lookoutmetrics/snapshot/api_op_GetFeedback.go.snap @@ -14,7 +14,6 @@ GetFeedback Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutmetrics/snapshot/api_op_GetSampleData.go.snap b/service/lookoutmetrics/snapshot/api_op_GetSampleData.go.snap index f86a5f6e77c..f24a7e2485e 100644 --- a/service/lookoutmetrics/snapshot/api_op_GetSampleData.go.snap +++ b/service/lookoutmetrics/snapshot/api_op_GetSampleData.go.snap @@ -14,7 +14,6 @@ GetSampleData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutmetrics/snapshot/api_op_ListAlerts.go.snap b/service/lookoutmetrics/snapshot/api_op_ListAlerts.go.snap index 662bc4d84ab..1f30a55726a 100644 --- a/service/lookoutmetrics/snapshot/api_op_ListAlerts.go.snap +++ b/service/lookoutmetrics/snapshot/api_op_ListAlerts.go.snap @@ -13,7 +13,6 @@ ListAlerts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutmetrics/snapshot/api_op_ListAnomalyDetectors.go.snap b/service/lookoutmetrics/snapshot/api_op_ListAnomalyDetectors.go.snap index c6f963a5926..fc6aeafbb8e 100644 --- a/service/lookoutmetrics/snapshot/api_op_ListAnomalyDetectors.go.snap +++ b/service/lookoutmetrics/snapshot/api_op_ListAnomalyDetectors.go.snap @@ -13,7 +13,6 @@ ListAnomalyDetectors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutmetrics/snapshot/api_op_ListAnomalyGroupRelatedMetrics.go.snap b/service/lookoutmetrics/snapshot/api_op_ListAnomalyGroupRelatedMetrics.go.snap index 06c686a537a..1dd142452fe 100644 --- a/service/lookoutmetrics/snapshot/api_op_ListAnomalyGroupRelatedMetrics.go.snap +++ b/service/lookoutmetrics/snapshot/api_op_ListAnomalyGroupRelatedMetrics.go.snap @@ -14,7 +14,6 @@ ListAnomalyGroupRelatedMetrics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutmetrics/snapshot/api_op_ListAnomalyGroupSummaries.go.snap b/service/lookoutmetrics/snapshot/api_op_ListAnomalyGroupSummaries.go.snap index dcea795718e..34b37126b33 100644 --- a/service/lookoutmetrics/snapshot/api_op_ListAnomalyGroupSummaries.go.snap +++ b/service/lookoutmetrics/snapshot/api_op_ListAnomalyGroupSummaries.go.snap @@ -14,7 +14,6 @@ ListAnomalyGroupSummaries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutmetrics/snapshot/api_op_ListAnomalyGroupTimeSeries.go.snap b/service/lookoutmetrics/snapshot/api_op_ListAnomalyGroupTimeSeries.go.snap index 6f05c72f9ea..ad06b6c8220 100644 --- a/service/lookoutmetrics/snapshot/api_op_ListAnomalyGroupTimeSeries.go.snap +++ b/service/lookoutmetrics/snapshot/api_op_ListAnomalyGroupTimeSeries.go.snap @@ -14,7 +14,6 @@ ListAnomalyGroupTimeSeries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutmetrics/snapshot/api_op_ListMetricSets.go.snap b/service/lookoutmetrics/snapshot/api_op_ListMetricSets.go.snap index 6167b892754..e9c8d0acb5b 100644 --- a/service/lookoutmetrics/snapshot/api_op_ListMetricSets.go.snap +++ b/service/lookoutmetrics/snapshot/api_op_ListMetricSets.go.snap @@ -13,7 +13,6 @@ ListMetricSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutmetrics/snapshot/api_op_ListTagsForResource.go.snap b/service/lookoutmetrics/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/lookoutmetrics/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/lookoutmetrics/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutmetrics/snapshot/api_op_PutFeedback.go.snap b/service/lookoutmetrics/snapshot/api_op_PutFeedback.go.snap index d7a57d82976..822a47e67ad 100644 --- a/service/lookoutmetrics/snapshot/api_op_PutFeedback.go.snap +++ b/service/lookoutmetrics/snapshot/api_op_PutFeedback.go.snap @@ -14,7 +14,6 @@ PutFeedback Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutmetrics/snapshot/api_op_TagResource.go.snap b/service/lookoutmetrics/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/lookoutmetrics/snapshot/api_op_TagResource.go.snap +++ b/service/lookoutmetrics/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutmetrics/snapshot/api_op_UntagResource.go.snap b/service/lookoutmetrics/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/lookoutmetrics/snapshot/api_op_UntagResource.go.snap +++ b/service/lookoutmetrics/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutmetrics/snapshot/api_op_UpdateAlert.go.snap b/service/lookoutmetrics/snapshot/api_op_UpdateAlert.go.snap index fd942a52997..69e9bbae85c 100644 --- a/service/lookoutmetrics/snapshot/api_op_UpdateAlert.go.snap +++ b/service/lookoutmetrics/snapshot/api_op_UpdateAlert.go.snap @@ -14,7 +14,6 @@ UpdateAlert Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutmetrics/snapshot/api_op_UpdateAnomalyDetector.go.snap b/service/lookoutmetrics/snapshot/api_op_UpdateAnomalyDetector.go.snap index 41ca9647f85..0a1e994b499 100644 --- a/service/lookoutmetrics/snapshot/api_op_UpdateAnomalyDetector.go.snap +++ b/service/lookoutmetrics/snapshot/api_op_UpdateAnomalyDetector.go.snap @@ -14,7 +14,6 @@ UpdateAnomalyDetector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutmetrics/snapshot/api_op_UpdateMetricSet.go.snap b/service/lookoutmetrics/snapshot/api_op_UpdateMetricSet.go.snap index 0ef70328b66..8ffc5b852c6 100644 --- a/service/lookoutmetrics/snapshot/api_op_UpdateMetricSet.go.snap +++ b/service/lookoutmetrics/snapshot/api_op_UpdateMetricSet.go.snap @@ -14,7 +14,6 @@ UpdateMetricSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutvision/api_client.go b/service/lookoutvision/api_client.go index f9ca117e8a5..02951f384e8 100644 --- a/service/lookoutvision/api_client.go +++ b/service/lookoutvision/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/lookoutvision/api_op_CreateDataset.go b/service/lookoutvision/api_op_CreateDataset.go index 2577a5e63dc..fb417c20ddc 100644 --- a/service/lookoutvision/api_op_CreateDataset.go +++ b/service/lookoutvision/api_op_CreateDataset.go @@ -157,9 +157,6 @@ func (c *Client) addOperationCreateDatasetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDatasetMiddleware(stack, options); err != nil { return err } diff --git a/service/lookoutvision/api_op_CreateModel.go b/service/lookoutvision/api_op_CreateModel.go index 491e933459c..10c89aa598a 100644 --- a/service/lookoutvision/api_op_CreateModel.go +++ b/service/lookoutvision/api_op_CreateModel.go @@ -161,9 +161,6 @@ func (c *Client) addOperationCreateModelMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateModelMiddleware(stack, options); err != nil { return err } diff --git a/service/lookoutvision/api_op_CreateProject.go b/service/lookoutvision/api_op_CreateProject.go index aeb38514d5d..8aa2865bb27 100644 --- a/service/lookoutvision/api_op_CreateProject.go +++ b/service/lookoutvision/api_op_CreateProject.go @@ -131,9 +131,6 @@ func (c *Client) addOperationCreateProjectMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateProjectMiddleware(stack, options); err != nil { return err } diff --git a/service/lookoutvision/api_op_DeleteDataset.go b/service/lookoutvision/api_op_DeleteDataset.go index 51391e00d2c..a11bafbd092 100644 --- a/service/lookoutvision/api_op_DeleteDataset.go +++ b/service/lookoutvision/api_op_DeleteDataset.go @@ -145,9 +145,6 @@ func (c *Client) addOperationDeleteDatasetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteDatasetMiddleware(stack, options); err != nil { return err } diff --git a/service/lookoutvision/api_op_DeleteModel.go b/service/lookoutvision/api_op_DeleteModel.go index be4960a48f7..f8123be5e23 100644 --- a/service/lookoutvision/api_op_DeleteModel.go +++ b/service/lookoutvision/api_op_DeleteModel.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDeleteModelMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteModelMiddleware(stack, options); err != nil { return err } diff --git a/service/lookoutvision/api_op_DeleteProject.go b/service/lookoutvision/api_op_DeleteProject.go index 2fe075552a5..329e141d327 100644 --- a/service/lookoutvision/api_op_DeleteProject.go +++ b/service/lookoutvision/api_op_DeleteProject.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDeleteProjectMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteProjectMiddleware(stack, options); err != nil { return err } diff --git a/service/lookoutvision/api_op_DescribeDataset.go b/service/lookoutvision/api_op_DescribeDataset.go index ded0d33b0dd..c5b8415eeaf 100644 --- a/service/lookoutvision/api_op_DescribeDataset.go +++ b/service/lookoutvision/api_op_DescribeDataset.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeDatasetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutvision/api_op_DescribeModel.go b/service/lookoutvision/api_op_DescribeModel.go index f4cbf69dda6..7ad2d73bcdc 100644 --- a/service/lookoutvision/api_op_DescribeModel.go +++ b/service/lookoutvision/api_op_DescribeModel.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDescribeModelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutvision/api_op_DescribeModelPackagingJob.go b/service/lookoutvision/api_op_DescribeModelPackagingJob.go index f82e1b9ae23..961d2bd3907 100644 --- a/service/lookoutvision/api_op_DescribeModelPackagingJob.go +++ b/service/lookoutvision/api_op_DescribeModelPackagingJob.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeModelPackagingJobMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeModelPackagingJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutvision/api_op_DescribeProject.go b/service/lookoutvision/api_op_DescribeProject.go index 447b457678e..6e1170d3cb7 100644 --- a/service/lookoutvision/api_op_DescribeProject.go +++ b/service/lookoutvision/api_op_DescribeProject.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDescribeProjectMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutvision/api_op_DetectAnomalies.go b/service/lookoutvision/api_op_DetectAnomalies.go index e26ed38aab0..539e7e3acfe 100644 --- a/service/lookoutvision/api_op_DetectAnomalies.go +++ b/service/lookoutvision/api_op_DetectAnomalies.go @@ -145,9 +145,6 @@ func (c *Client) addOperationDetectAnomaliesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetectAnomaliesValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutvision/api_op_ListDatasetEntries.go b/service/lookoutvision/api_op_ListDatasetEntries.go index e2ed6c331f5..3bcd099cf98 100644 --- a/service/lookoutvision/api_op_ListDatasetEntries.go +++ b/service/lookoutvision/api_op_ListDatasetEntries.go @@ -161,9 +161,6 @@ func (c *Client) addOperationListDatasetEntriesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDatasetEntriesValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutvision/api_op_ListModelPackagingJobs.go b/service/lookoutvision/api_op_ListModelPackagingJobs.go index d764071da00..71d1a8aacf5 100644 --- a/service/lookoutvision/api_op_ListModelPackagingJobs.go +++ b/service/lookoutvision/api_op_ListModelPackagingJobs.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListModelPackagingJobsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListModelPackagingJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutvision/api_op_ListModels.go b/service/lookoutvision/api_op_ListModels.go index 94fb464bd2b..a20585365b7 100644 --- a/service/lookoutvision/api_op_ListModels.go +++ b/service/lookoutvision/api_op_ListModels.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListModelsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListModelsValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutvision/api_op_ListProjects.go b/service/lookoutvision/api_op_ListProjects.go index 89ac90a4a30..dd78c69f13d 100644 --- a/service/lookoutvision/api_op_ListProjects.go +++ b/service/lookoutvision/api_op_ListProjects.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListProjectsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProjects(options.Region), middleware.Before); err != nil { return err } diff --git a/service/lookoutvision/api_op_ListTagsForResource.go b/service/lookoutvision/api_op_ListTagsForResource.go index 10c6ee1c140..63d40f97d4c 100644 --- a/service/lookoutvision/api_op_ListTagsForResource.go +++ b/service/lookoutvision/api_op_ListTagsForResource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutvision/api_op_StartModel.go b/service/lookoutvision/api_op_StartModel.go index 638b4961e9f..454d70924ff 100644 --- a/service/lookoutvision/api_op_StartModel.go +++ b/service/lookoutvision/api_op_StartModel.go @@ -157,9 +157,6 @@ func (c *Client) addOperationStartModelMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartModelMiddleware(stack, options); err != nil { return err } diff --git a/service/lookoutvision/api_op_StartModelPackagingJob.go b/service/lookoutvision/api_op_StartModelPackagingJob.go index ae1a69f1459..4ca80aa3785 100644 --- a/service/lookoutvision/api_op_StartModelPackagingJob.go +++ b/service/lookoutvision/api_op_StartModelPackagingJob.go @@ -178,9 +178,6 @@ func (c *Client) addOperationStartModelPackagingJobMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartModelPackagingJobMiddleware(stack, options); err != nil { return err } diff --git a/service/lookoutvision/api_op_StopModel.go b/service/lookoutvision/api_op_StopModel.go index d662c79c514..6dde6573d58 100644 --- a/service/lookoutvision/api_op_StopModel.go +++ b/service/lookoutvision/api_op_StopModel.go @@ -138,9 +138,6 @@ func (c *Client) addOperationStopModelMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStopModelMiddleware(stack, options); err != nil { return err } diff --git a/service/lookoutvision/api_op_TagResource.go b/service/lookoutvision/api_op_TagResource.go index 181923cd287..95431d1dbde 100644 --- a/service/lookoutvision/api_op_TagResource.go +++ b/service/lookoutvision/api_op_TagResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutvision/api_op_UntagResource.go b/service/lookoutvision/api_op_UntagResource.go index 2e2ecdbe68e..48ccb6f80fb 100644 --- a/service/lookoutvision/api_op_UntagResource.go +++ b/service/lookoutvision/api_op_UntagResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/lookoutvision/api_op_UpdateDatasetEntries.go b/service/lookoutvision/api_op_UpdateDatasetEntries.go index 8a88f80ffc2..fee8c1e7f90 100644 --- a/service/lookoutvision/api_op_UpdateDatasetEntries.go +++ b/service/lookoutvision/api_op_UpdateDatasetEntries.go @@ -159,9 +159,6 @@ func (c *Client) addOperationUpdateDatasetEntriesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateDatasetEntriesMiddleware(stack, options); err != nil { return err } diff --git a/service/lookoutvision/snapshot/api_op_CreateDataset.go.snap b/service/lookoutvision/snapshot/api_op_CreateDataset.go.snap index d3e00161393..17c56479435 100644 --- a/service/lookoutvision/snapshot/api_op_CreateDataset.go.snap +++ b/service/lookoutvision/snapshot/api_op_CreateDataset.go.snap @@ -15,7 +15,6 @@ CreateDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutvision/snapshot/api_op_CreateModel.go.snap b/service/lookoutvision/snapshot/api_op_CreateModel.go.snap index 21f47a21669..603182bbd72 100644 --- a/service/lookoutvision/snapshot/api_op_CreateModel.go.snap +++ b/service/lookoutvision/snapshot/api_op_CreateModel.go.snap @@ -15,7 +15,6 @@ CreateModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutvision/snapshot/api_op_CreateProject.go.snap b/service/lookoutvision/snapshot/api_op_CreateProject.go.snap index 4b3074aa1cc..28784a1c518 100644 --- a/service/lookoutvision/snapshot/api_op_CreateProject.go.snap +++ b/service/lookoutvision/snapshot/api_op_CreateProject.go.snap @@ -15,7 +15,6 @@ CreateProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutvision/snapshot/api_op_DeleteDataset.go.snap b/service/lookoutvision/snapshot/api_op_DeleteDataset.go.snap index 1d3213cb85f..51e0390a170 100644 --- a/service/lookoutvision/snapshot/api_op_DeleteDataset.go.snap +++ b/service/lookoutvision/snapshot/api_op_DeleteDataset.go.snap @@ -15,7 +15,6 @@ DeleteDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutvision/snapshot/api_op_DeleteModel.go.snap b/service/lookoutvision/snapshot/api_op_DeleteModel.go.snap index b8ea5a0a583..0d64fdcbb47 100644 --- a/service/lookoutvision/snapshot/api_op_DeleteModel.go.snap +++ b/service/lookoutvision/snapshot/api_op_DeleteModel.go.snap @@ -15,7 +15,6 @@ DeleteModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutvision/snapshot/api_op_DeleteProject.go.snap b/service/lookoutvision/snapshot/api_op_DeleteProject.go.snap index aac0780bc94..1c50a5710ec 100644 --- a/service/lookoutvision/snapshot/api_op_DeleteProject.go.snap +++ b/service/lookoutvision/snapshot/api_op_DeleteProject.go.snap @@ -15,7 +15,6 @@ DeleteProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutvision/snapshot/api_op_DescribeDataset.go.snap b/service/lookoutvision/snapshot/api_op_DescribeDataset.go.snap index d62bad12867..091c433d575 100644 --- a/service/lookoutvision/snapshot/api_op_DescribeDataset.go.snap +++ b/service/lookoutvision/snapshot/api_op_DescribeDataset.go.snap @@ -14,7 +14,6 @@ DescribeDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutvision/snapshot/api_op_DescribeModel.go.snap b/service/lookoutvision/snapshot/api_op_DescribeModel.go.snap index eaf9d1d8a0e..ec46b585773 100644 --- a/service/lookoutvision/snapshot/api_op_DescribeModel.go.snap +++ b/service/lookoutvision/snapshot/api_op_DescribeModel.go.snap @@ -14,7 +14,6 @@ DescribeModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutvision/snapshot/api_op_DescribeModelPackagingJob.go.snap b/service/lookoutvision/snapshot/api_op_DescribeModelPackagingJob.go.snap index c3efe313fa4..610d68ea4cd 100644 --- a/service/lookoutvision/snapshot/api_op_DescribeModelPackagingJob.go.snap +++ b/service/lookoutvision/snapshot/api_op_DescribeModelPackagingJob.go.snap @@ -14,7 +14,6 @@ DescribeModelPackagingJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutvision/snapshot/api_op_DescribeProject.go.snap b/service/lookoutvision/snapshot/api_op_DescribeProject.go.snap index 041f11ba895..0900739a1bf 100644 --- a/service/lookoutvision/snapshot/api_op_DescribeProject.go.snap +++ b/service/lookoutvision/snapshot/api_op_DescribeProject.go.snap @@ -14,7 +14,6 @@ DescribeProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutvision/snapshot/api_op_DetectAnomalies.go.snap b/service/lookoutvision/snapshot/api_op_DetectAnomalies.go.snap index 4c03ec0987e..c799c27bcc0 100644 --- a/service/lookoutvision/snapshot/api_op_DetectAnomalies.go.snap +++ b/service/lookoutvision/snapshot/api_op_DetectAnomalies.go.snap @@ -14,7 +14,6 @@ DetectAnomalies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutvision/snapshot/api_op_ListDatasetEntries.go.snap b/service/lookoutvision/snapshot/api_op_ListDatasetEntries.go.snap index dfb37e0813d..9572a8a0fc8 100644 --- a/service/lookoutvision/snapshot/api_op_ListDatasetEntries.go.snap +++ b/service/lookoutvision/snapshot/api_op_ListDatasetEntries.go.snap @@ -14,7 +14,6 @@ ListDatasetEntries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutvision/snapshot/api_op_ListModelPackagingJobs.go.snap b/service/lookoutvision/snapshot/api_op_ListModelPackagingJobs.go.snap index 649f1afb406..58b4dfefe94 100644 --- a/service/lookoutvision/snapshot/api_op_ListModelPackagingJobs.go.snap +++ b/service/lookoutvision/snapshot/api_op_ListModelPackagingJobs.go.snap @@ -14,7 +14,6 @@ ListModelPackagingJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutvision/snapshot/api_op_ListModels.go.snap b/service/lookoutvision/snapshot/api_op_ListModels.go.snap index a182813b940..5c76ecfdc09 100644 --- a/service/lookoutvision/snapshot/api_op_ListModels.go.snap +++ b/service/lookoutvision/snapshot/api_op_ListModels.go.snap @@ -14,7 +14,6 @@ ListModels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutvision/snapshot/api_op_ListProjects.go.snap b/service/lookoutvision/snapshot/api_op_ListProjects.go.snap index adb78614633..e63a9b58f58 100644 --- a/service/lookoutvision/snapshot/api_op_ListProjects.go.snap +++ b/service/lookoutvision/snapshot/api_op_ListProjects.go.snap @@ -13,7 +13,6 @@ ListProjects Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutvision/snapshot/api_op_ListTagsForResource.go.snap b/service/lookoutvision/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/lookoutvision/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/lookoutvision/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutvision/snapshot/api_op_StartModel.go.snap b/service/lookoutvision/snapshot/api_op_StartModel.go.snap index cbddf2959cb..5e19f86f601 100644 --- a/service/lookoutvision/snapshot/api_op_StartModel.go.snap +++ b/service/lookoutvision/snapshot/api_op_StartModel.go.snap @@ -15,7 +15,6 @@ StartModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutvision/snapshot/api_op_StartModelPackagingJob.go.snap b/service/lookoutvision/snapshot/api_op_StartModelPackagingJob.go.snap index 4e30160112e..79acea087a1 100644 --- a/service/lookoutvision/snapshot/api_op_StartModelPackagingJob.go.snap +++ b/service/lookoutvision/snapshot/api_op_StartModelPackagingJob.go.snap @@ -15,7 +15,6 @@ StartModelPackagingJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutvision/snapshot/api_op_StopModel.go.snap b/service/lookoutvision/snapshot/api_op_StopModel.go.snap index 3a20a5ac91c..c5bd8a600d5 100644 --- a/service/lookoutvision/snapshot/api_op_StopModel.go.snap +++ b/service/lookoutvision/snapshot/api_op_StopModel.go.snap @@ -15,7 +15,6 @@ StopModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutvision/snapshot/api_op_TagResource.go.snap b/service/lookoutvision/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/lookoutvision/snapshot/api_op_TagResource.go.snap +++ b/service/lookoutvision/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutvision/snapshot/api_op_UntagResource.go.snap b/service/lookoutvision/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/lookoutvision/snapshot/api_op_UntagResource.go.snap +++ b/service/lookoutvision/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/lookoutvision/snapshot/api_op_UpdateDatasetEntries.go.snap b/service/lookoutvision/snapshot/api_op_UpdateDatasetEntries.go.snap index 68f37fe6513..d815da32cef 100644 --- a/service/lookoutvision/snapshot/api_op_UpdateDatasetEntries.go.snap +++ b/service/lookoutvision/snapshot/api_op_UpdateDatasetEntries.go.snap @@ -15,7 +15,6 @@ UpdateDatasetEntries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/api_client.go b/service/m2/api_client.go index faa3b559b3f..2b74a77d115 100644 --- a/service/m2/api_client.go +++ b/service/m2/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/m2/api_op_CancelBatchJobExecution.go b/service/m2/api_op_CancelBatchJobExecution.go index 9c7af16df91..e4ba208d259 100644 --- a/service/m2/api_op_CancelBatchJobExecution.go +++ b/service/m2/api_op_CancelBatchJobExecution.go @@ -116,9 +116,6 @@ func (c *Client) addOperationCancelBatchJobExecutionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelBatchJobExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_CreateApplication.go b/service/m2/api_op_CreateApplication.go index dd72a164ba5..99ec45ba9fb 100644 --- a/service/m2/api_op_CreateApplication.go +++ b/service/m2/api_op_CreateApplication.go @@ -156,9 +156,6 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateApplicationMiddleware(stack, options); err != nil { return err } diff --git a/service/m2/api_op_CreateDataSetImportTask.go b/service/m2/api_op_CreateDataSetImportTask.go index 00c6b70844a..c4e57ea8891 100644 --- a/service/m2/api_op_CreateDataSetImportTask.go +++ b/service/m2/api_op_CreateDataSetImportTask.go @@ -127,9 +127,6 @@ func (c *Client) addOperationCreateDataSetImportTaskMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDataSetImportTaskMiddleware(stack, options); err != nil { return err } diff --git a/service/m2/api_op_CreateDeployment.go b/service/m2/api_op_CreateDeployment.go index d8d812f378e..230a317fdce 100644 --- a/service/m2/api_op_CreateDeployment.go +++ b/service/m2/api_op_CreateDeployment.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateDeploymentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDeploymentMiddleware(stack, options); err != nil { return err } diff --git a/service/m2/api_op_CreateEnvironment.go b/service/m2/api_op_CreateEnvironment.go index 8cdc2043228..9a68fc821b5 100644 --- a/service/m2/api_op_CreateEnvironment.go +++ b/service/m2/api_op_CreateEnvironment.go @@ -170,9 +170,6 @@ func (c *Client) addOperationCreateEnvironmentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateEnvironmentMiddleware(stack, options); err != nil { return err } diff --git a/service/m2/api_op_DeleteApplication.go b/service/m2/api_op_DeleteApplication.go index b77b96d9c4e..5750fa685ab 100644 --- a/service/m2/api_op_DeleteApplication.go +++ b/service/m2/api_op_DeleteApplication.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_DeleteApplicationFromEnvironment.go b/service/m2/api_op_DeleteApplicationFromEnvironment.go index 9d2f01af01d..d9e6650f90a 100644 --- a/service/m2/api_op_DeleteApplicationFromEnvironment.go +++ b/service/m2/api_op_DeleteApplicationFromEnvironment.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteApplicationFromEnvironmentMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationFromEnvironmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_DeleteEnvironment.go b/service/m2/api_op_DeleteEnvironment.go index 67b3e7e4519..3e68b1403a0 100644 --- a/service/m2/api_op_DeleteEnvironment.go +++ b/service/m2/api_op_DeleteEnvironment.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteEnvironmentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEnvironmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_GetApplication.go b/service/m2/api_op_GetApplication.go index 5b9e8701318..3a6814c1ec8 100644 --- a/service/m2/api_op_GetApplication.go +++ b/service/m2/api_op_GetApplication.go @@ -194,9 +194,6 @@ func (c *Client) addOperationGetApplicationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_GetApplicationVersion.go b/service/m2/api_op_GetApplicationVersion.go index 138a261130a..ec7d6e689b4 100644 --- a/service/m2/api_op_GetApplicationVersion.go +++ b/service/m2/api_op_GetApplicationVersion.go @@ -147,9 +147,6 @@ func (c *Client) addOperationGetApplicationVersionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApplicationVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_GetBatchJobExecution.go b/service/m2/api_op_GetBatchJobExecution.go index 57eabfded0c..fdc4cf7ba7e 100644 --- a/service/m2/api_op_GetBatchJobExecution.go +++ b/service/m2/api_op_GetBatchJobExecution.go @@ -166,9 +166,6 @@ func (c *Client) addOperationGetBatchJobExecutionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBatchJobExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_GetDataSetDetails.go b/service/m2/api_op_GetDataSetDetails.go index fc267e4453b..38995220e4b 100644 --- a/service/m2/api_op_GetDataSetDetails.go +++ b/service/m2/api_op_GetDataSetDetails.go @@ -144,9 +144,6 @@ func (c *Client) addOperationGetDataSetDetailsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataSetDetailsValidationMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_GetDataSetImportTask.go b/service/m2/api_op_GetDataSetImportTask.go index b6406a00e9e..ce8e06fd7d2 100644 --- a/service/m2/api_op_GetDataSetImportTask.go +++ b/service/m2/api_op_GetDataSetImportTask.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetDataSetImportTaskMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataSetImportTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_GetDeployment.go b/service/m2/api_op_GetDeployment.go index ba2ca8a4a65..5adafe5a316 100644 --- a/service/m2/api_op_GetDeployment.go +++ b/service/m2/api_op_GetDeployment.go @@ -148,9 +148,6 @@ func (c *Client) addOperationGetDeploymentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_GetEnvironment.go b/service/m2/api_op_GetEnvironment.go index e04b114546e..2403e392f4b 100644 --- a/service/m2/api_op_GetEnvironment.go +++ b/service/m2/api_op_GetEnvironment.go @@ -210,9 +210,6 @@ func (c *Client) addOperationGetEnvironmentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEnvironmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_GetSignedBluinsightsUrl.go b/service/m2/api_op_GetSignedBluinsightsUrl.go index bd1046a7e72..55cc38e17fe 100644 --- a/service/m2/api_op_GetSignedBluinsightsUrl.go +++ b/service/m2/api_op_GetSignedBluinsightsUrl.go @@ -107,9 +107,6 @@ func (c *Client) addOperationGetSignedBluinsightsUrlMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSignedBluinsightsUrl(options.Region), middleware.Before); err != nil { return err } diff --git a/service/m2/api_op_ListApplicationVersions.go b/service/m2/api_op_ListApplicationVersions.go index fe92affa4c5..e70b3bc8e32 100644 --- a/service/m2/api_op_ListApplicationVersions.go +++ b/service/m2/api_op_ListApplicationVersions.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListApplicationVersionsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListApplicationVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_ListApplications.go b/service/m2/api_op_ListApplications.go index 57fc1326d8b..2b0857b2a81 100644 --- a/service/m2/api_op_ListApplications.go +++ b/service/m2/api_op_ListApplications.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListApplicationsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplications(options.Region), middleware.Before); err != nil { return err } diff --git a/service/m2/api_op_ListBatchJobDefinitions.go b/service/m2/api_op_ListBatchJobDefinitions.go index 01acaecff3f..6b8596f4e0d 100644 --- a/service/m2/api_op_ListBatchJobDefinitions.go +++ b/service/m2/api_op_ListBatchJobDefinitions.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListBatchJobDefinitionsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBatchJobDefinitionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_ListBatchJobExecutions.go b/service/m2/api_op_ListBatchJobExecutions.go index 726219faaa9..f787f68ef39 100644 --- a/service/m2/api_op_ListBatchJobExecutions.go +++ b/service/m2/api_op_ListBatchJobExecutions.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListBatchJobExecutionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBatchJobExecutionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_ListBatchJobRestartPoints.go b/service/m2/api_op_ListBatchJobRestartPoints.go index 2c2c8f640a8..6f315a4c250 100644 --- a/service/m2/api_op_ListBatchJobRestartPoints.go +++ b/service/m2/api_op_ListBatchJobRestartPoints.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListBatchJobRestartPointsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBatchJobRestartPointsValidationMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_ListDataSetImportHistory.go b/service/m2/api_op_ListDataSetImportHistory.go index 497e0131a98..e8eca70e6db 100644 --- a/service/m2/api_op_ListDataSetImportHistory.go +++ b/service/m2/api_op_ListDataSetImportHistory.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListDataSetImportHistoryMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDataSetImportHistoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_ListDataSets.go b/service/m2/api_op_ListDataSets.go index 08b0326cd3d..7e8e4d38169 100644 --- a/service/m2/api_op_ListDataSets.go +++ b/service/m2/api_op_ListDataSets.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListDataSetsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDataSetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_ListDeployments.go b/service/m2/api_op_ListDeployments.go index e1c8e31c89e..976b6a1c0b6 100644 --- a/service/m2/api_op_ListDeployments.go +++ b/service/m2/api_op_ListDeployments.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListDeploymentsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDeploymentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_ListEngineVersions.go b/service/m2/api_op_ListEngineVersions.go index 68b39f11011..fa76300fe60 100644 --- a/service/m2/api_op_ListEngineVersions.go +++ b/service/m2/api_op_ListEngineVersions.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListEngineVersionsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEngineVersions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/m2/api_op_ListEnvironments.go b/service/m2/api_op_ListEnvironments.go index 8ed9b7a00c6..1aa0e91d13a 100644 --- a/service/m2/api_op_ListEnvironments.go +++ b/service/m2/api_op_ListEnvironments.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListEnvironmentsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEnvironments(options.Region), middleware.Before); err != nil { return err } diff --git a/service/m2/api_op_ListTagsForResource.go b/service/m2/api_op_ListTagsForResource.go index 77d2f3181f9..a3252230256 100644 --- a/service/m2/api_op_ListTagsForResource.go +++ b/service/m2/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_StartApplication.go b/service/m2/api_op_StartApplication.go index 8e936e113fe..b40366e4261 100644 --- a/service/m2/api_op_StartApplication.go +++ b/service/m2/api_op_StartApplication.go @@ -107,9 +107,6 @@ func (c *Client) addOperationStartApplicationMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_StartBatchJob.go b/service/m2/api_op_StartBatchJob.go index 63c921c9896..8abe209cd41 100644 --- a/service/m2/api_op_StartBatchJob.go +++ b/service/m2/api_op_StartBatchJob.go @@ -131,9 +131,6 @@ func (c *Client) addOperationStartBatchJobMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartBatchJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_StopApplication.go b/service/m2/api_op_StopApplication.go index 6dafd43cd7c..c47fd2664ad 100644 --- a/service/m2/api_op_StopApplication.go +++ b/service/m2/api_op_StopApplication.go @@ -113,9 +113,6 @@ func (c *Client) addOperationStopApplicationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_TagResource.go b/service/m2/api_op_TagResource.go index 54dd86f2cf0..1d83d37ec21 100644 --- a/service/m2/api_op_TagResource.go +++ b/service/m2/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_UntagResource.go b/service/m2/api_op_UntagResource.go index 7c5ef523d2c..7c5f3a60ec6 100644 --- a/service/m2/api_op_UntagResource.go +++ b/service/m2/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_UpdateApplication.go b/service/m2/api_op_UpdateApplication.go index 8028acd6ca0..529170040aa 100644 --- a/service/m2/api_op_UpdateApplication.go +++ b/service/m2/api_op_UpdateApplication.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/m2/api_op_UpdateEnvironment.go b/service/m2/api_op_UpdateEnvironment.go index 759e0d383af..8807fbf9730 100644 --- a/service/m2/api_op_UpdateEnvironment.go +++ b/service/m2/api_op_UpdateEnvironment.go @@ -151,9 +151,6 @@ func (c *Client) addOperationUpdateEnvironmentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEnvironmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/m2/snapshot/api_op_CancelBatchJobExecution.go.snap b/service/m2/snapshot/api_op_CancelBatchJobExecution.go.snap index c5e6a4267f7..228c9122ac5 100644 --- a/service/m2/snapshot/api_op_CancelBatchJobExecution.go.snap +++ b/service/m2/snapshot/api_op_CancelBatchJobExecution.go.snap @@ -14,7 +14,6 @@ CancelBatchJobExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/snapshot/api_op_CreateApplication.go.snap b/service/m2/snapshot/api_op_CreateApplication.go.snap index 55ae9fa9488..cb4df90a3ee 100644 --- a/service/m2/snapshot/api_op_CreateApplication.go.snap +++ b/service/m2/snapshot/api_op_CreateApplication.go.snap @@ -15,7 +15,6 @@ CreateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/snapshot/api_op_CreateDataSetImportTask.go.snap b/service/m2/snapshot/api_op_CreateDataSetImportTask.go.snap index ec09d1728bd..f13033281a0 100644 --- a/service/m2/snapshot/api_op_CreateDataSetImportTask.go.snap +++ b/service/m2/snapshot/api_op_CreateDataSetImportTask.go.snap @@ -15,7 +15,6 @@ CreateDataSetImportTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/snapshot/api_op_CreateDeployment.go.snap b/service/m2/snapshot/api_op_CreateDeployment.go.snap index 4193985c7c6..638f5aec1f8 100644 --- a/service/m2/snapshot/api_op_CreateDeployment.go.snap +++ b/service/m2/snapshot/api_op_CreateDeployment.go.snap @@ -15,7 +15,6 @@ CreateDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/snapshot/api_op_CreateEnvironment.go.snap b/service/m2/snapshot/api_op_CreateEnvironment.go.snap index 0eaef7c2ca1..464ff9f861c 100644 --- a/service/m2/snapshot/api_op_CreateEnvironment.go.snap +++ b/service/m2/snapshot/api_op_CreateEnvironment.go.snap @@ -15,7 +15,6 @@ CreateEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/snapshot/api_op_DeleteApplication.go.snap b/service/m2/snapshot/api_op_DeleteApplication.go.snap index 80790355ed5..ffda37a527f 100644 --- a/service/m2/snapshot/api_op_DeleteApplication.go.snap +++ b/service/m2/snapshot/api_op_DeleteApplication.go.snap @@ -14,7 +14,6 @@ DeleteApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/snapshot/api_op_DeleteApplicationFromEnvironment.go.snap b/service/m2/snapshot/api_op_DeleteApplicationFromEnvironment.go.snap index dc23e74113f..6f0f823fd55 100644 --- a/service/m2/snapshot/api_op_DeleteApplicationFromEnvironment.go.snap +++ b/service/m2/snapshot/api_op_DeleteApplicationFromEnvironment.go.snap @@ -14,7 +14,6 @@ DeleteApplicationFromEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/snapshot/api_op_DeleteEnvironment.go.snap b/service/m2/snapshot/api_op_DeleteEnvironment.go.snap index c799f299d43..b7abf2a0643 100644 --- a/service/m2/snapshot/api_op_DeleteEnvironment.go.snap +++ b/service/m2/snapshot/api_op_DeleteEnvironment.go.snap @@ -14,7 +14,6 @@ DeleteEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/snapshot/api_op_GetApplication.go.snap b/service/m2/snapshot/api_op_GetApplication.go.snap index 3307f56eb00..ffc8b0228f7 100644 --- a/service/m2/snapshot/api_op_GetApplication.go.snap +++ b/service/m2/snapshot/api_op_GetApplication.go.snap @@ -14,7 +14,6 @@ GetApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/snapshot/api_op_GetApplicationVersion.go.snap b/service/m2/snapshot/api_op_GetApplicationVersion.go.snap index a8b31d8e0bd..c7ce8df4924 100644 --- a/service/m2/snapshot/api_op_GetApplicationVersion.go.snap +++ b/service/m2/snapshot/api_op_GetApplicationVersion.go.snap @@ -14,7 +14,6 @@ GetApplicationVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/snapshot/api_op_GetBatchJobExecution.go.snap b/service/m2/snapshot/api_op_GetBatchJobExecution.go.snap index aec73c0fc03..c620b0750ee 100644 --- a/service/m2/snapshot/api_op_GetBatchJobExecution.go.snap +++ b/service/m2/snapshot/api_op_GetBatchJobExecution.go.snap @@ -14,7 +14,6 @@ GetBatchJobExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/snapshot/api_op_GetDataSetDetails.go.snap b/service/m2/snapshot/api_op_GetDataSetDetails.go.snap index bdfddf8c3a3..66804b200cb 100644 --- a/service/m2/snapshot/api_op_GetDataSetDetails.go.snap +++ b/service/m2/snapshot/api_op_GetDataSetDetails.go.snap @@ -14,7 +14,6 @@ GetDataSetDetails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/snapshot/api_op_GetDataSetImportTask.go.snap b/service/m2/snapshot/api_op_GetDataSetImportTask.go.snap index 82b19fc3df5..e3668226bd9 100644 --- a/service/m2/snapshot/api_op_GetDataSetImportTask.go.snap +++ b/service/m2/snapshot/api_op_GetDataSetImportTask.go.snap @@ -14,7 +14,6 @@ GetDataSetImportTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/snapshot/api_op_GetDeployment.go.snap b/service/m2/snapshot/api_op_GetDeployment.go.snap index 65b4d552af7..7f1504a336c 100644 --- a/service/m2/snapshot/api_op_GetDeployment.go.snap +++ b/service/m2/snapshot/api_op_GetDeployment.go.snap @@ -14,7 +14,6 @@ GetDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/snapshot/api_op_GetEnvironment.go.snap b/service/m2/snapshot/api_op_GetEnvironment.go.snap index 6f558393d06..9485ee9410e 100644 --- a/service/m2/snapshot/api_op_GetEnvironment.go.snap +++ b/service/m2/snapshot/api_op_GetEnvironment.go.snap @@ -14,7 +14,6 @@ GetEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/snapshot/api_op_GetSignedBluinsightsUrl.go.snap b/service/m2/snapshot/api_op_GetSignedBluinsightsUrl.go.snap index 6a548a2a3a9..6c67542d598 100644 --- a/service/m2/snapshot/api_op_GetSignedBluinsightsUrl.go.snap +++ b/service/m2/snapshot/api_op_GetSignedBluinsightsUrl.go.snap @@ -13,7 +13,6 @@ GetSignedBluinsightsUrl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/snapshot/api_op_ListApplicationVersions.go.snap b/service/m2/snapshot/api_op_ListApplicationVersions.go.snap index 84ef074f555..4c84b5d18d0 100644 --- a/service/m2/snapshot/api_op_ListApplicationVersions.go.snap +++ b/service/m2/snapshot/api_op_ListApplicationVersions.go.snap @@ -14,7 +14,6 @@ ListApplicationVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/snapshot/api_op_ListApplications.go.snap b/service/m2/snapshot/api_op_ListApplications.go.snap index e18746bd34f..6029195b8e8 100644 --- a/service/m2/snapshot/api_op_ListApplications.go.snap +++ b/service/m2/snapshot/api_op_ListApplications.go.snap @@ -13,7 +13,6 @@ ListApplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/snapshot/api_op_ListBatchJobDefinitions.go.snap b/service/m2/snapshot/api_op_ListBatchJobDefinitions.go.snap index 99eeb5f241c..42cf361fbec 100644 --- a/service/m2/snapshot/api_op_ListBatchJobDefinitions.go.snap +++ b/service/m2/snapshot/api_op_ListBatchJobDefinitions.go.snap @@ -14,7 +14,6 @@ ListBatchJobDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/snapshot/api_op_ListBatchJobExecutions.go.snap b/service/m2/snapshot/api_op_ListBatchJobExecutions.go.snap index bb2e9c7aabe..a179381477e 100644 --- a/service/m2/snapshot/api_op_ListBatchJobExecutions.go.snap +++ b/service/m2/snapshot/api_op_ListBatchJobExecutions.go.snap @@ -14,7 +14,6 @@ ListBatchJobExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/snapshot/api_op_ListBatchJobRestartPoints.go.snap b/service/m2/snapshot/api_op_ListBatchJobRestartPoints.go.snap index 3f363c001e6..434916fbfb7 100644 --- a/service/m2/snapshot/api_op_ListBatchJobRestartPoints.go.snap +++ b/service/m2/snapshot/api_op_ListBatchJobRestartPoints.go.snap @@ -14,7 +14,6 @@ ListBatchJobRestartPoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/snapshot/api_op_ListDataSetImportHistory.go.snap b/service/m2/snapshot/api_op_ListDataSetImportHistory.go.snap index 728a20d1e7e..2c7d99b3942 100644 --- a/service/m2/snapshot/api_op_ListDataSetImportHistory.go.snap +++ b/service/m2/snapshot/api_op_ListDataSetImportHistory.go.snap @@ -14,7 +14,6 @@ ListDataSetImportHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/snapshot/api_op_ListDataSets.go.snap b/service/m2/snapshot/api_op_ListDataSets.go.snap index 070b2f43e7f..5ce797f193c 100644 --- a/service/m2/snapshot/api_op_ListDataSets.go.snap +++ b/service/m2/snapshot/api_op_ListDataSets.go.snap @@ -14,7 +14,6 @@ ListDataSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/snapshot/api_op_ListDeployments.go.snap b/service/m2/snapshot/api_op_ListDeployments.go.snap index a27f685db14..4e35f0f1293 100644 --- a/service/m2/snapshot/api_op_ListDeployments.go.snap +++ b/service/m2/snapshot/api_op_ListDeployments.go.snap @@ -14,7 +14,6 @@ ListDeployments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/snapshot/api_op_ListEngineVersions.go.snap b/service/m2/snapshot/api_op_ListEngineVersions.go.snap index 007a39a86c9..515267982ae 100644 --- a/service/m2/snapshot/api_op_ListEngineVersions.go.snap +++ b/service/m2/snapshot/api_op_ListEngineVersions.go.snap @@ -13,7 +13,6 @@ ListEngineVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/snapshot/api_op_ListEnvironments.go.snap b/service/m2/snapshot/api_op_ListEnvironments.go.snap index 4e02d7ffa8b..882ae7a5f97 100644 --- a/service/m2/snapshot/api_op_ListEnvironments.go.snap +++ b/service/m2/snapshot/api_op_ListEnvironments.go.snap @@ -13,7 +13,6 @@ ListEnvironments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/snapshot/api_op_ListTagsForResource.go.snap b/service/m2/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/m2/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/m2/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/snapshot/api_op_StartApplication.go.snap b/service/m2/snapshot/api_op_StartApplication.go.snap index 087fe7e240e..0c8b124a191 100644 --- a/service/m2/snapshot/api_op_StartApplication.go.snap +++ b/service/m2/snapshot/api_op_StartApplication.go.snap @@ -14,7 +14,6 @@ StartApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/snapshot/api_op_StartBatchJob.go.snap b/service/m2/snapshot/api_op_StartBatchJob.go.snap index bdebf5cdb39..bffe27b52b6 100644 --- a/service/m2/snapshot/api_op_StartBatchJob.go.snap +++ b/service/m2/snapshot/api_op_StartBatchJob.go.snap @@ -14,7 +14,6 @@ StartBatchJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/snapshot/api_op_StopApplication.go.snap b/service/m2/snapshot/api_op_StopApplication.go.snap index 07b94172772..5c9540921f9 100644 --- a/service/m2/snapshot/api_op_StopApplication.go.snap +++ b/service/m2/snapshot/api_op_StopApplication.go.snap @@ -14,7 +14,6 @@ StopApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/snapshot/api_op_TagResource.go.snap b/service/m2/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/m2/snapshot/api_op_TagResource.go.snap +++ b/service/m2/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/snapshot/api_op_UntagResource.go.snap b/service/m2/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/m2/snapshot/api_op_UntagResource.go.snap +++ b/service/m2/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/snapshot/api_op_UpdateApplication.go.snap b/service/m2/snapshot/api_op_UpdateApplication.go.snap index 5ec4c02edff..d4e2fa4991a 100644 --- a/service/m2/snapshot/api_op_UpdateApplication.go.snap +++ b/service/m2/snapshot/api_op_UpdateApplication.go.snap @@ -14,7 +14,6 @@ UpdateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/m2/snapshot/api_op_UpdateEnvironment.go.snap b/service/m2/snapshot/api_op_UpdateEnvironment.go.snap index 239e2fa41bc..abe9dc8e4d3 100644 --- a/service/m2/snapshot/api_op_UpdateEnvironment.go.snap +++ b/service/m2/snapshot/api_op_UpdateEnvironment.go.snap @@ -14,7 +14,6 @@ UpdateEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/machinelearning/api_client.go b/service/machinelearning/api_client.go index 581ec5e6544..4f15f8e1702 100644 --- a/service/machinelearning/api_client.go +++ b/service/machinelearning/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/machinelearning/api_op_AddTags.go b/service/machinelearning/api_op_AddTags.go index 1bdd3f5e39a..883080b717d 100644 --- a/service/machinelearning/api_op_AddTags.go +++ b/service/machinelearning/api_op_AddTags.go @@ -130,9 +130,6 @@ func (c *Client) addOperationAddTagsMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_CreateBatchPrediction.go b/service/machinelearning/api_op_CreateBatchPrediction.go index 6b6949dbc8a..7faf6355b39 100644 --- a/service/machinelearning/api_op_CreateBatchPrediction.go +++ b/service/machinelearning/api_op_CreateBatchPrediction.go @@ -159,9 +159,6 @@ func (c *Client) addOperationCreateBatchPredictionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBatchPredictionValidationMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_CreateDataSourceFromRDS.go b/service/machinelearning/api_op_CreateDataSourceFromRDS.go index a588627cec0..1d49b2f2179 100644 --- a/service/machinelearning/api_op_CreateDataSourceFromRDS.go +++ b/service/machinelearning/api_op_CreateDataSourceFromRDS.go @@ -201,9 +201,6 @@ func (c *Client) addOperationCreateDataSourceFromRDSMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDataSourceFromRDSValidationMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_CreateDataSourceFromRedshift.go b/service/machinelearning/api_op_CreateDataSourceFromRedshift.go index 425d7090cfa..b62aa95562f 100644 --- a/service/machinelearning/api_op_CreateDataSourceFromRedshift.go +++ b/service/machinelearning/api_op_CreateDataSourceFromRedshift.go @@ -204,9 +204,6 @@ func (c *Client) addOperationCreateDataSourceFromRedshiftMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDataSourceFromRedshiftValidationMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_CreateDataSourceFromS3.go b/service/machinelearning/api_op_CreateDataSourceFromS3.go index 8049c1b0c06..e7849bd33ac 100644 --- a/service/machinelearning/api_op_CreateDataSourceFromS3.go +++ b/service/machinelearning/api_op_CreateDataSourceFromS3.go @@ -172,9 +172,6 @@ func (c *Client) addOperationCreateDataSourceFromS3Middlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDataSourceFromS3ValidationMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_CreateEvaluation.go b/service/machinelearning/api_op_CreateEvaluation.go index bbc984766bd..083fb661523 100644 --- a/service/machinelearning/api_op_CreateEvaluation.go +++ b/service/machinelearning/api_op_CreateEvaluation.go @@ -150,9 +150,6 @@ func (c *Client) addOperationCreateEvaluationMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEvaluationValidationMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_CreateMLModel.go b/service/machinelearning/api_op_CreateMLModel.go index 17916be7dce..1e80515a118 100644 --- a/service/machinelearning/api_op_CreateMLModel.go +++ b/service/machinelearning/api_op_CreateMLModel.go @@ -207,9 +207,6 @@ func (c *Client) addOperationCreateMLModelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateMLModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_CreateRealtimeEndpoint.go b/service/machinelearning/api_op_CreateRealtimeEndpoint.go index 9bede7ae800..311212069f3 100644 --- a/service/machinelearning/api_op_CreateRealtimeEndpoint.go +++ b/service/machinelearning/api_op_CreateRealtimeEndpoint.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCreateRealtimeEndpointMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRealtimeEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_DeleteBatchPrediction.go b/service/machinelearning/api_op_DeleteBatchPrediction.go index a69822dc4c6..6c436c4c714 100644 --- a/service/machinelearning/api_op_DeleteBatchPrediction.go +++ b/service/machinelearning/api_op_DeleteBatchPrediction.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteBatchPredictionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBatchPredictionValidationMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_DeleteDataSource.go b/service/machinelearning/api_op_DeleteDataSource.go index 902fe0503e2..1dfb598e046 100644 --- a/service/machinelearning/api_op_DeleteDataSource.go +++ b/service/machinelearning/api_op_DeleteDataSource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteDataSourceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_DeleteEvaluation.go b/service/machinelearning/api_op_DeleteEvaluation.go index 5b3406ee21c..9d5acada2ca 100644 --- a/service/machinelearning/api_op_DeleteEvaluation.go +++ b/service/machinelearning/api_op_DeleteEvaluation.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteEvaluationMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEvaluationValidationMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_DeleteMLModel.go b/service/machinelearning/api_op_DeleteMLModel.go index b7c99be0cff..b5db11aeeba 100644 --- a/service/machinelearning/api_op_DeleteMLModel.go +++ b/service/machinelearning/api_op_DeleteMLModel.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteMLModelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMLModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_DeleteRealtimeEndpoint.go b/service/machinelearning/api_op_DeleteRealtimeEndpoint.go index 5221dc9001b..89842b49479 100644 --- a/service/machinelearning/api_op_DeleteRealtimeEndpoint.go +++ b/service/machinelearning/api_op_DeleteRealtimeEndpoint.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteRealtimeEndpointMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRealtimeEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_DeleteTags.go b/service/machinelearning/api_op_DeleteTags.go index 753e1c4d610..6460cf4e8ec 100644 --- a/service/machinelearning/api_op_DeleteTags.go +++ b/service/machinelearning/api_op_DeleteTags.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDeleteTagsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_DescribeBatchPredictions.go b/service/machinelearning/api_op_DescribeBatchPredictions.go index 537b7961f2d..53de98d1ff9 100644 --- a/service/machinelearning/api_op_DescribeBatchPredictions.go +++ b/service/machinelearning/api_op_DescribeBatchPredictions.go @@ -195,9 +195,6 @@ func (c *Client) addOperationDescribeBatchPredictionsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBatchPredictions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/machinelearning/api_op_DescribeDataSources.go b/service/machinelearning/api_op_DescribeDataSources.go index 34b5fe8f09b..01a1042caa1 100644 --- a/service/machinelearning/api_op_DescribeDataSources.go +++ b/service/machinelearning/api_op_DescribeDataSources.go @@ -187,9 +187,6 @@ func (c *Client) addOperationDescribeDataSourcesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDataSources(options.Region), middleware.Before); err != nil { return err } diff --git a/service/machinelearning/api_op_DescribeEvaluations.go b/service/machinelearning/api_op_DescribeEvaluations.go index fbea12ca5bf..343d6e6ce74 100644 --- a/service/machinelearning/api_op_DescribeEvaluations.go +++ b/service/machinelearning/api_op_DescribeEvaluations.go @@ -193,9 +193,6 @@ func (c *Client) addOperationDescribeEvaluationsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEvaluations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/machinelearning/api_op_DescribeMLModels.go b/service/machinelearning/api_op_DescribeMLModels.go index 21a162c650a..717b900b05f 100644 --- a/service/machinelearning/api_op_DescribeMLModels.go +++ b/service/machinelearning/api_op_DescribeMLModels.go @@ -198,9 +198,6 @@ func (c *Client) addOperationDescribeMLModelsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMLModels(options.Region), middleware.Before); err != nil { return err } diff --git a/service/machinelearning/api_op_DescribeTags.go b/service/machinelearning/api_op_DescribeTags.go index 13e20079299..ab608c756f3 100644 --- a/service/machinelearning/api_op_DescribeTags.go +++ b/service/machinelearning/api_op_DescribeTags.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeTagsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_GetBatchPrediction.go b/service/machinelearning/api_op_GetBatchPrediction.go index f7ce941c013..ba1921e7615 100644 --- a/service/machinelearning/api_op_GetBatchPrediction.go +++ b/service/machinelearning/api_op_GetBatchPrediction.go @@ -193,9 +193,6 @@ func (c *Client) addOperationGetBatchPredictionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBatchPredictionValidationMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_GetDataSource.go b/service/machinelearning/api_op_GetDataSource.go index 4fe2c287c1e..1632c6a69ea 100644 --- a/service/machinelearning/api_op_GetDataSource.go +++ b/service/machinelearning/api_op_GetDataSource.go @@ -214,9 +214,6 @@ func (c *Client) addOperationGetDataSourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_GetEvaluation.go b/service/machinelearning/api_op_GetEvaluation.go index 6d865a5f37c..948f274bdda 100644 --- a/service/machinelearning/api_op_GetEvaluation.go +++ b/service/machinelearning/api_op_GetEvaluation.go @@ -195,9 +195,6 @@ func (c *Client) addOperationGetEvaluationMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEvaluationValidationMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_GetMLModel.go b/service/machinelearning/api_op_GetMLModel.go index 2ea5b8ecdeb..047b188f578 100644 --- a/service/machinelearning/api_op_GetMLModel.go +++ b/service/machinelearning/api_op_GetMLModel.go @@ -263,9 +263,6 @@ func (c *Client) addOperationGetMLModelMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMLModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_Predict.go b/service/machinelearning/api_op_Predict.go index 297e74b957c..54e7c02bd88 100644 --- a/service/machinelearning/api_op_Predict.go +++ b/service/machinelearning/api_op_Predict.go @@ -136,9 +136,6 @@ func (c *Client) addOperationPredictMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPredictValidationMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_UpdateBatchPrediction.go b/service/machinelearning/api_op_UpdateBatchPrediction.go index ae3c4104ce7..c46fe04d74b 100644 --- a/service/machinelearning/api_op_UpdateBatchPrediction.go +++ b/service/machinelearning/api_op_UpdateBatchPrediction.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateBatchPredictionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBatchPredictionValidationMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_UpdateDataSource.go b/service/machinelearning/api_op_UpdateDataSource.go index 36858a6c7f0..878d8ab871f 100644 --- a/service/machinelearning/api_op_UpdateDataSource.go +++ b/service/machinelearning/api_op_UpdateDataSource.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateDataSourceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_UpdateEvaluation.go b/service/machinelearning/api_op_UpdateEvaluation.go index c498680a2c6..cc3d4f9ddbe 100644 --- a/service/machinelearning/api_op_UpdateEvaluation.go +++ b/service/machinelearning/api_op_UpdateEvaluation.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateEvaluationMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEvaluationValidationMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/api_op_UpdateMLModel.go b/service/machinelearning/api_op_UpdateMLModel.go index 9a1c54eb986..3453f4086bd 100644 --- a/service/machinelearning/api_op_UpdateMLModel.go +++ b/service/machinelearning/api_op_UpdateMLModel.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUpdateMLModelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMLModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/machinelearning/snapshot/api_op_AddTags.go.snap b/service/machinelearning/snapshot/api_op_AddTags.go.snap index 0d887673903..96fb5e7b63d 100644 --- a/service/machinelearning/snapshot/api_op_AddTags.go.snap +++ b/service/machinelearning/snapshot/api_op_AddTags.go.snap @@ -14,7 +14,6 @@ AddTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/machinelearning/snapshot/api_op_CreateBatchPrediction.go.snap b/service/machinelearning/snapshot/api_op_CreateBatchPrediction.go.snap index 6abe003ecd2..b61aef73bc4 100644 --- a/service/machinelearning/snapshot/api_op_CreateBatchPrediction.go.snap +++ b/service/machinelearning/snapshot/api_op_CreateBatchPrediction.go.snap @@ -14,7 +14,6 @@ CreateBatchPrediction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/machinelearning/snapshot/api_op_CreateDataSourceFromRDS.go.snap b/service/machinelearning/snapshot/api_op_CreateDataSourceFromRDS.go.snap index 7dc24cb3183..1f55a96754a 100644 --- a/service/machinelearning/snapshot/api_op_CreateDataSourceFromRDS.go.snap +++ b/service/machinelearning/snapshot/api_op_CreateDataSourceFromRDS.go.snap @@ -14,7 +14,6 @@ CreateDataSourceFromRDS Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/machinelearning/snapshot/api_op_CreateDataSourceFromRedshift.go.snap b/service/machinelearning/snapshot/api_op_CreateDataSourceFromRedshift.go.snap index ccc0a2e9e0c..c37954b0c83 100644 --- a/service/machinelearning/snapshot/api_op_CreateDataSourceFromRedshift.go.snap +++ b/service/machinelearning/snapshot/api_op_CreateDataSourceFromRedshift.go.snap @@ -14,7 +14,6 @@ CreateDataSourceFromRedshift Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/machinelearning/snapshot/api_op_CreateDataSourceFromS3.go.snap b/service/machinelearning/snapshot/api_op_CreateDataSourceFromS3.go.snap index cc1f19355cc..450be87952e 100644 --- a/service/machinelearning/snapshot/api_op_CreateDataSourceFromS3.go.snap +++ b/service/machinelearning/snapshot/api_op_CreateDataSourceFromS3.go.snap @@ -14,7 +14,6 @@ CreateDataSourceFromS3 Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/machinelearning/snapshot/api_op_CreateEvaluation.go.snap b/service/machinelearning/snapshot/api_op_CreateEvaluation.go.snap index 6d2073b3f88..dd0b1e17687 100644 --- a/service/machinelearning/snapshot/api_op_CreateEvaluation.go.snap +++ b/service/machinelearning/snapshot/api_op_CreateEvaluation.go.snap @@ -14,7 +14,6 @@ CreateEvaluation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/machinelearning/snapshot/api_op_CreateMLModel.go.snap b/service/machinelearning/snapshot/api_op_CreateMLModel.go.snap index cf34346419f..ee6320070b7 100644 --- a/service/machinelearning/snapshot/api_op_CreateMLModel.go.snap +++ b/service/machinelearning/snapshot/api_op_CreateMLModel.go.snap @@ -14,7 +14,6 @@ CreateMLModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/machinelearning/snapshot/api_op_CreateRealtimeEndpoint.go.snap b/service/machinelearning/snapshot/api_op_CreateRealtimeEndpoint.go.snap index e428eb12bb3..be10c4a23a0 100644 --- a/service/machinelearning/snapshot/api_op_CreateRealtimeEndpoint.go.snap +++ b/service/machinelearning/snapshot/api_op_CreateRealtimeEndpoint.go.snap @@ -14,7 +14,6 @@ CreateRealtimeEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/machinelearning/snapshot/api_op_DeleteBatchPrediction.go.snap b/service/machinelearning/snapshot/api_op_DeleteBatchPrediction.go.snap index ce0a2c3e28d..138430aafe2 100644 --- a/service/machinelearning/snapshot/api_op_DeleteBatchPrediction.go.snap +++ b/service/machinelearning/snapshot/api_op_DeleteBatchPrediction.go.snap @@ -14,7 +14,6 @@ DeleteBatchPrediction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/machinelearning/snapshot/api_op_DeleteDataSource.go.snap b/service/machinelearning/snapshot/api_op_DeleteDataSource.go.snap index 4c10faa3f53..e6bf94d552e 100644 --- a/service/machinelearning/snapshot/api_op_DeleteDataSource.go.snap +++ b/service/machinelearning/snapshot/api_op_DeleteDataSource.go.snap @@ -14,7 +14,6 @@ DeleteDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/machinelearning/snapshot/api_op_DeleteEvaluation.go.snap b/service/machinelearning/snapshot/api_op_DeleteEvaluation.go.snap index 9cc63b85961..b518656f195 100644 --- a/service/machinelearning/snapshot/api_op_DeleteEvaluation.go.snap +++ b/service/machinelearning/snapshot/api_op_DeleteEvaluation.go.snap @@ -14,7 +14,6 @@ DeleteEvaluation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/machinelearning/snapshot/api_op_DeleteMLModel.go.snap b/service/machinelearning/snapshot/api_op_DeleteMLModel.go.snap index 112c40040dd..34e016149bf 100644 --- a/service/machinelearning/snapshot/api_op_DeleteMLModel.go.snap +++ b/service/machinelearning/snapshot/api_op_DeleteMLModel.go.snap @@ -14,7 +14,6 @@ DeleteMLModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/machinelearning/snapshot/api_op_DeleteRealtimeEndpoint.go.snap b/service/machinelearning/snapshot/api_op_DeleteRealtimeEndpoint.go.snap index eb6d20eec51..f9a027040a5 100644 --- a/service/machinelearning/snapshot/api_op_DeleteRealtimeEndpoint.go.snap +++ b/service/machinelearning/snapshot/api_op_DeleteRealtimeEndpoint.go.snap @@ -14,7 +14,6 @@ DeleteRealtimeEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/machinelearning/snapshot/api_op_DeleteTags.go.snap b/service/machinelearning/snapshot/api_op_DeleteTags.go.snap index 7821a01e140..0eeb01dca01 100644 --- a/service/machinelearning/snapshot/api_op_DeleteTags.go.snap +++ b/service/machinelearning/snapshot/api_op_DeleteTags.go.snap @@ -14,7 +14,6 @@ DeleteTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/machinelearning/snapshot/api_op_DescribeBatchPredictions.go.snap b/service/machinelearning/snapshot/api_op_DescribeBatchPredictions.go.snap index dac469d5bc1..482317aad98 100644 --- a/service/machinelearning/snapshot/api_op_DescribeBatchPredictions.go.snap +++ b/service/machinelearning/snapshot/api_op_DescribeBatchPredictions.go.snap @@ -13,7 +13,6 @@ DescribeBatchPredictions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/machinelearning/snapshot/api_op_DescribeDataSources.go.snap b/service/machinelearning/snapshot/api_op_DescribeDataSources.go.snap index 3b61f77858d..e3f6506007e 100644 --- a/service/machinelearning/snapshot/api_op_DescribeDataSources.go.snap +++ b/service/machinelearning/snapshot/api_op_DescribeDataSources.go.snap @@ -13,7 +13,6 @@ DescribeDataSources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/machinelearning/snapshot/api_op_DescribeEvaluations.go.snap b/service/machinelearning/snapshot/api_op_DescribeEvaluations.go.snap index 30720700209..a0481330aec 100644 --- a/service/machinelearning/snapshot/api_op_DescribeEvaluations.go.snap +++ b/service/machinelearning/snapshot/api_op_DescribeEvaluations.go.snap @@ -13,7 +13,6 @@ DescribeEvaluations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/machinelearning/snapshot/api_op_DescribeMLModels.go.snap b/service/machinelearning/snapshot/api_op_DescribeMLModels.go.snap index 00c0eaa6c2c..dbfabce0727 100644 --- a/service/machinelearning/snapshot/api_op_DescribeMLModels.go.snap +++ b/service/machinelearning/snapshot/api_op_DescribeMLModels.go.snap @@ -13,7 +13,6 @@ DescribeMLModels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/machinelearning/snapshot/api_op_DescribeTags.go.snap b/service/machinelearning/snapshot/api_op_DescribeTags.go.snap index e4bd617c306..9e3c32c55d1 100644 --- a/service/machinelearning/snapshot/api_op_DescribeTags.go.snap +++ b/service/machinelearning/snapshot/api_op_DescribeTags.go.snap @@ -14,7 +14,6 @@ DescribeTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/machinelearning/snapshot/api_op_GetBatchPrediction.go.snap b/service/machinelearning/snapshot/api_op_GetBatchPrediction.go.snap index 7a521f8e2d1..4bc00b085bb 100644 --- a/service/machinelearning/snapshot/api_op_GetBatchPrediction.go.snap +++ b/service/machinelearning/snapshot/api_op_GetBatchPrediction.go.snap @@ -14,7 +14,6 @@ GetBatchPrediction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/machinelearning/snapshot/api_op_GetDataSource.go.snap b/service/machinelearning/snapshot/api_op_GetDataSource.go.snap index 02f70812fc1..710bc995cac 100644 --- a/service/machinelearning/snapshot/api_op_GetDataSource.go.snap +++ b/service/machinelearning/snapshot/api_op_GetDataSource.go.snap @@ -14,7 +14,6 @@ GetDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/machinelearning/snapshot/api_op_GetEvaluation.go.snap b/service/machinelearning/snapshot/api_op_GetEvaluation.go.snap index c13d070d853..0d010860e07 100644 --- a/service/machinelearning/snapshot/api_op_GetEvaluation.go.snap +++ b/service/machinelearning/snapshot/api_op_GetEvaluation.go.snap @@ -14,7 +14,6 @@ GetEvaluation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/machinelearning/snapshot/api_op_GetMLModel.go.snap b/service/machinelearning/snapshot/api_op_GetMLModel.go.snap index 29a94bf2b08..6a487310971 100644 --- a/service/machinelearning/snapshot/api_op_GetMLModel.go.snap +++ b/service/machinelearning/snapshot/api_op_GetMLModel.go.snap @@ -14,7 +14,6 @@ GetMLModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/machinelearning/snapshot/api_op_Predict.go.snap b/service/machinelearning/snapshot/api_op_Predict.go.snap index 9b152f2f400..df381004502 100644 --- a/service/machinelearning/snapshot/api_op_Predict.go.snap +++ b/service/machinelearning/snapshot/api_op_Predict.go.snap @@ -15,7 +15,6 @@ Predict Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/machinelearning/snapshot/api_op_UpdateBatchPrediction.go.snap b/service/machinelearning/snapshot/api_op_UpdateBatchPrediction.go.snap index e6d11bf7166..04d4c05b7ef 100644 --- a/service/machinelearning/snapshot/api_op_UpdateBatchPrediction.go.snap +++ b/service/machinelearning/snapshot/api_op_UpdateBatchPrediction.go.snap @@ -14,7 +14,6 @@ UpdateBatchPrediction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/machinelearning/snapshot/api_op_UpdateDataSource.go.snap b/service/machinelearning/snapshot/api_op_UpdateDataSource.go.snap index 7c4d5cf15b4..02ae762c076 100644 --- a/service/machinelearning/snapshot/api_op_UpdateDataSource.go.snap +++ b/service/machinelearning/snapshot/api_op_UpdateDataSource.go.snap @@ -14,7 +14,6 @@ UpdateDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/machinelearning/snapshot/api_op_UpdateEvaluation.go.snap b/service/machinelearning/snapshot/api_op_UpdateEvaluation.go.snap index 5665462b346..44515142aca 100644 --- a/service/machinelearning/snapshot/api_op_UpdateEvaluation.go.snap +++ b/service/machinelearning/snapshot/api_op_UpdateEvaluation.go.snap @@ -14,7 +14,6 @@ UpdateEvaluation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/machinelearning/snapshot/api_op_UpdateMLModel.go.snap b/service/machinelearning/snapshot/api_op_UpdateMLModel.go.snap index def531e412b..9d625ee5292 100644 --- a/service/machinelearning/snapshot/api_op_UpdateMLModel.go.snap +++ b/service/machinelearning/snapshot/api_op_UpdateMLModel.go.snap @@ -14,7 +14,6 @@ UpdateMLModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/api_client.go b/service/macie2/api_client.go index 32cdd1b2c0d..e7dce5c150c 100644 --- a/service/macie2/api_client.go +++ b/service/macie2/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/macie2/api_op_AcceptInvitation.go b/service/macie2/api_op_AcceptInvitation.go index 02e99e58057..2f36263ff4c 100644 --- a/service/macie2/api_op_AcceptInvitation.go +++ b/service/macie2/api_op_AcceptInvitation.go @@ -116,9 +116,6 @@ func (c *Client) addOperationAcceptInvitationMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptInvitationValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_BatchGetCustomDataIdentifiers.go b/service/macie2/api_op_BatchGetCustomDataIdentifiers.go index 02b7e40b172..25e9d0c4917 100644 --- a/service/macie2/api_op_BatchGetCustomDataIdentifiers.go +++ b/service/macie2/api_op_BatchGetCustomDataIdentifiers.go @@ -117,9 +117,6 @@ func (c *Client) addOperationBatchGetCustomDataIdentifiersMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetCustomDataIdentifiers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/macie2/api_op_BatchUpdateAutomatedDiscoveryAccounts.go b/service/macie2/api_op_BatchUpdateAutomatedDiscoveryAccounts.go index fc03b2f206b..3e7669486f6 100644 --- a/service/macie2/api_op_BatchUpdateAutomatedDiscoveryAccounts.go +++ b/service/macie2/api_op_BatchUpdateAutomatedDiscoveryAccounts.go @@ -116,9 +116,6 @@ func (c *Client) addOperationBatchUpdateAutomatedDiscoveryAccountsMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchUpdateAutomatedDiscoveryAccounts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/macie2/api_op_CreateAllowList.go b/service/macie2/api_op_CreateAllowList.go index c991d8f8fa7..9453dc2342a 100644 --- a/service/macie2/api_op_CreateAllowList.go +++ b/service/macie2/api_op_CreateAllowList.go @@ -142,9 +142,6 @@ func (c *Client) addOperationCreateAllowListMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAllowListMiddleware(stack, options); err != nil { return err } diff --git a/service/macie2/api_op_CreateClassificationJob.go b/service/macie2/api_op_CreateClassificationJob.go index c1fa71357ee..4c98e5448b5 100644 --- a/service/macie2/api_op_CreateClassificationJob.go +++ b/service/macie2/api_op_CreateClassificationJob.go @@ -226,9 +226,6 @@ func (c *Client) addOperationCreateClassificationJobMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateClassificationJobMiddleware(stack, options); err != nil { return err } diff --git a/service/macie2/api_op_CreateCustomDataIdentifier.go b/service/macie2/api_op_CreateCustomDataIdentifier.go index 7e079a0f0ed..f44a9414afb 100644 --- a/service/macie2/api_op_CreateCustomDataIdentifier.go +++ b/service/macie2/api_op_CreateCustomDataIdentifier.go @@ -181,9 +181,6 @@ func (c *Client) addOperationCreateCustomDataIdentifierMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateCustomDataIdentifierMiddleware(stack, options); err != nil { return err } diff --git a/service/macie2/api_op_CreateFindingsFilter.go b/service/macie2/api_op_CreateFindingsFilter.go index 6849ee23109..0137c12e372 100644 --- a/service/macie2/api_op_CreateFindingsFilter.go +++ b/service/macie2/api_op_CreateFindingsFilter.go @@ -157,9 +157,6 @@ func (c *Client) addOperationCreateFindingsFilterMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateFindingsFilterMiddleware(stack, options); err != nil { return err } diff --git a/service/macie2/api_op_CreateInvitations.go b/service/macie2/api_op_CreateInvitations.go index df867961058..27d57d428f7 100644 --- a/service/macie2/api_op_CreateInvitations.go +++ b/service/macie2/api_op_CreateInvitations.go @@ -125,9 +125,6 @@ func (c *Client) addOperationCreateInvitationsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateInvitationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_CreateMember.go b/service/macie2/api_op_CreateMember.go index c763c376131..77aac717cf2 100644 --- a/service/macie2/api_op_CreateMember.go +++ b/service/macie2/api_op_CreateMember.go @@ -121,9 +121,6 @@ func (c *Client) addOperationCreateMemberMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateMemberValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_CreateSampleFindings.go b/service/macie2/api_op_CreateSampleFindings.go index 6b909778e42..0c50b06c57c 100644 --- a/service/macie2/api_op_CreateSampleFindings.go +++ b/service/macie2/api_op_CreateSampleFindings.go @@ -108,9 +108,6 @@ func (c *Client) addOperationCreateSampleFindingsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSampleFindings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/macie2/api_op_DeclineInvitations.go b/service/macie2/api_op_DeclineInvitations.go index adb1a3552f1..b609c0dfc05 100644 --- a/service/macie2/api_op_DeclineInvitations.go +++ b/service/macie2/api_op_DeclineInvitations.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeclineInvitationsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeclineInvitationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_DeleteAllowList.go b/service/macie2/api_op_DeleteAllowList.go index f8c1e93a169..61d53daae98 100644 --- a/service/macie2/api_op_DeleteAllowList.go +++ b/service/macie2/api_op_DeleteAllowList.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteAllowListMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAllowListValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_DeleteCustomDataIdentifier.go b/service/macie2/api_op_DeleteCustomDataIdentifier.go index 5fbfb6a39a5..df96db90e01 100644 --- a/service/macie2/api_op_DeleteCustomDataIdentifier.go +++ b/service/macie2/api_op_DeleteCustomDataIdentifier.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteCustomDataIdentifierMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCustomDataIdentifierValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_DeleteFindingsFilter.go b/service/macie2/api_op_DeleteFindingsFilter.go index 263b1c09250..f4a25e24705 100644 --- a/service/macie2/api_op_DeleteFindingsFilter.go +++ b/service/macie2/api_op_DeleteFindingsFilter.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteFindingsFilterMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFindingsFilterValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_DeleteInvitations.go b/service/macie2/api_op_DeleteInvitations.go index c192a8b006c..57e29a9a123 100644 --- a/service/macie2/api_op_DeleteInvitations.go +++ b/service/macie2/api_op_DeleteInvitations.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteInvitationsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInvitationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_DeleteMember.go b/service/macie2/api_op_DeleteMember.go index c581942c155..614e1b41520 100644 --- a/service/macie2/api_op_DeleteMember.go +++ b/service/macie2/api_op_DeleteMember.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteMemberMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMemberValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_DescribeBuckets.go b/service/macie2/api_op_DescribeBuckets.go index 189a9f816de..9df0b2f212d 100644 --- a/service/macie2/api_op_DescribeBuckets.go +++ b/service/macie2/api_op_DescribeBuckets.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeBucketsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBuckets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/macie2/api_op_DescribeClassificationJob.go b/service/macie2/api_op_DescribeClassificationJob.go index b021dba87b4..5f771b8c861 100644 --- a/service/macie2/api_op_DescribeClassificationJob.go +++ b/service/macie2/api_op_DescribeClassificationJob.go @@ -253,9 +253,6 @@ func (c *Client) addOperationDescribeClassificationJobMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeClassificationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_DescribeOrganizationConfiguration.go b/service/macie2/api_op_DescribeOrganizationConfiguration.go index 058f953c9f0..6a3f13c1976 100644 --- a/service/macie2/api_op_DescribeOrganizationConfiguration.go +++ b/service/macie2/api_op_DescribeOrganizationConfiguration.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDescribeOrganizationConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOrganizationConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/macie2/api_op_DisableMacie.go b/service/macie2/api_op_DisableMacie.go index 37304b3d8e1..bff2992c4ef 100644 --- a/service/macie2/api_op_DisableMacie.go +++ b/service/macie2/api_op_DisableMacie.go @@ -102,9 +102,6 @@ func (c *Client) addOperationDisableMacieMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableMacie(options.Region), middleware.Before); err != nil { return err } diff --git a/service/macie2/api_op_DisableOrganizationAdminAccount.go b/service/macie2/api_op_DisableOrganizationAdminAccount.go index ee10d7dda1a..5cb54c6de95 100644 --- a/service/macie2/api_op_DisableOrganizationAdminAccount.go +++ b/service/macie2/api_op_DisableOrganizationAdminAccount.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDisableOrganizationAdminAccountMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableOrganizationAdminAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_DisassociateFromAdministratorAccount.go b/service/macie2/api_op_DisassociateFromAdministratorAccount.go index cd294a0a0d8..b56fcdc8490 100644 --- a/service/macie2/api_op_DisassociateFromAdministratorAccount.go +++ b/service/macie2/api_op_DisassociateFromAdministratorAccount.go @@ -101,9 +101,6 @@ func (c *Client) addOperationDisassociateFromAdministratorAccountMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateFromAdministratorAccount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/macie2/api_op_DisassociateFromMasterAccount.go b/service/macie2/api_op_DisassociateFromMasterAccount.go index 197d605cc02..4d5e7f88b92 100644 --- a/service/macie2/api_op_DisassociateFromMasterAccount.go +++ b/service/macie2/api_op_DisassociateFromMasterAccount.go @@ -103,9 +103,6 @@ func (c *Client) addOperationDisassociateFromMasterAccountMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateFromMasterAccount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/macie2/api_op_DisassociateMember.go b/service/macie2/api_op_DisassociateMember.go index 2636a68537f..53cda132e1e 100644 --- a/service/macie2/api_op_DisassociateMember.go +++ b/service/macie2/api_op_DisassociateMember.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDisassociateMemberMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateMemberValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_EnableMacie.go b/service/macie2/api_op_EnableMacie.go index 95c90ac1243..8c67be1314f 100644 --- a/service/macie2/api_op_EnableMacie.go +++ b/service/macie2/api_op_EnableMacie.go @@ -117,9 +117,6 @@ func (c *Client) addOperationEnableMacieMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opEnableMacieMiddleware(stack, options); err != nil { return err } diff --git a/service/macie2/api_op_EnableOrganizationAdminAccount.go b/service/macie2/api_op_EnableOrganizationAdminAccount.go index a57d77952fa..a2413eaef03 100644 --- a/service/macie2/api_op_EnableOrganizationAdminAccount.go +++ b/service/macie2/api_op_EnableOrganizationAdminAccount.go @@ -113,9 +113,6 @@ func (c *Client) addOperationEnableOrganizationAdminAccountMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opEnableOrganizationAdminAccountMiddleware(stack, options); err != nil { return err } diff --git a/service/macie2/api_op_GetAdministratorAccount.go b/service/macie2/api_op_GetAdministratorAccount.go index b932acf28b4..b55662a4546 100644 --- a/service/macie2/api_op_GetAdministratorAccount.go +++ b/service/macie2/api_op_GetAdministratorAccount.go @@ -110,9 +110,6 @@ func (c *Client) addOperationGetAdministratorAccountMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAdministratorAccount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/macie2/api_op_GetAllowList.go b/service/macie2/api_op_GetAllowList.go index ffbaf047666..58578236c7f 100644 --- a/service/macie2/api_op_GetAllowList.go +++ b/service/macie2/api_op_GetAllowList.go @@ -144,9 +144,6 @@ func (c *Client) addOperationGetAllowListMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAllowListValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_GetAutomatedDiscoveryConfiguration.go b/service/macie2/api_op_GetAutomatedDiscoveryConfiguration.go index 841371bffa0..0a3f0456105 100644 --- a/service/macie2/api_op_GetAutomatedDiscoveryConfiguration.go +++ b/service/macie2/api_op_GetAutomatedDiscoveryConfiguration.go @@ -143,9 +143,6 @@ func (c *Client) addOperationGetAutomatedDiscoveryConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAutomatedDiscoveryConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/macie2/api_op_GetBucketStatistics.go b/service/macie2/api_op_GetBucketStatistics.go index b55c5783952..f273a681a66 100644 --- a/service/macie2/api_op_GetBucketStatistics.go +++ b/service/macie2/api_op_GetBucketStatistics.go @@ -182,9 +182,6 @@ func (c *Client) addOperationGetBucketStatisticsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetBucketStatistics(options.Region), middleware.Before); err != nil { return err } diff --git a/service/macie2/api_op_GetClassificationExportConfiguration.go b/service/macie2/api_op_GetClassificationExportConfiguration.go index 49746114c4c..ee7dbb69226 100644 --- a/service/macie2/api_op_GetClassificationExportConfiguration.go +++ b/service/macie2/api_op_GetClassificationExportConfiguration.go @@ -107,9 +107,6 @@ func (c *Client) addOperationGetClassificationExportConfigurationMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetClassificationExportConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/macie2/api_op_GetClassificationScope.go b/service/macie2/api_op_GetClassificationScope.go index 72b4dd85520..bf3a939bb8f 100644 --- a/service/macie2/api_op_GetClassificationScope.go +++ b/service/macie2/api_op_GetClassificationScope.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetClassificationScopeMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetClassificationScopeValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_GetCustomDataIdentifier.go b/service/macie2/api_op_GetCustomDataIdentifier.go index 73a710de36a..f5be2eb53fb 100644 --- a/service/macie2/api_op_GetCustomDataIdentifier.go +++ b/service/macie2/api_op_GetCustomDataIdentifier.go @@ -163,9 +163,6 @@ func (c *Client) addOperationGetCustomDataIdentifierMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCustomDataIdentifierValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_GetFindingStatistics.go b/service/macie2/api_op_GetFindingStatistics.go index 151fa77433c..1c5fe64b067 100644 --- a/service/macie2/api_op_GetFindingStatistics.go +++ b/service/macie2/api_op_GetFindingStatistics.go @@ -134,9 +134,6 @@ func (c *Client) addOperationGetFindingStatisticsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFindingStatisticsValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_GetFindings.go b/service/macie2/api_op_GetFindings.go index 4ea19a71ce5..330aabc4019 100644 --- a/service/macie2/api_op_GetFindings.go +++ b/service/macie2/api_op_GetFindings.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetFindingsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFindingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_GetFindingsFilter.go b/service/macie2/api_op_GetFindingsFilter.go index 2c0dac3a8aa..dcce502a4c7 100644 --- a/service/macie2/api_op_GetFindingsFilter.go +++ b/service/macie2/api_op_GetFindingsFilter.go @@ -138,9 +138,6 @@ func (c *Client) addOperationGetFindingsFilterMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFindingsFilterValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_GetFindingsPublicationConfiguration.go b/service/macie2/api_op_GetFindingsPublicationConfiguration.go index e557dd53f76..bcd0c30bf95 100644 --- a/service/macie2/api_op_GetFindingsPublicationConfiguration.go +++ b/service/macie2/api_op_GetFindingsPublicationConfiguration.go @@ -107,9 +107,6 @@ func (c *Client) addOperationGetFindingsPublicationConfigurationMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFindingsPublicationConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/macie2/api_op_GetInvitationsCount.go b/service/macie2/api_op_GetInvitationsCount.go index 8274d68225d..e4534df1d13 100644 --- a/service/macie2/api_op_GetInvitationsCount.go +++ b/service/macie2/api_op_GetInvitationsCount.go @@ -107,9 +107,6 @@ func (c *Client) addOperationGetInvitationsCountMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInvitationsCount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/macie2/api_op_GetMacieSession.go b/service/macie2/api_op_GetMacieSession.go index 4ab8b65bfa9..2036e30f2f2 100644 --- a/service/macie2/api_op_GetMacieSession.go +++ b/service/macie2/api_op_GetMacieSession.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetMacieSessionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMacieSession(options.Region), middleware.Before); err != nil { return err } diff --git a/service/macie2/api_op_GetMasterAccount.go b/service/macie2/api_op_GetMasterAccount.go index 38e57bb595f..7a408f80dda 100644 --- a/service/macie2/api_op_GetMasterAccount.go +++ b/service/macie2/api_op_GetMasterAccount.go @@ -111,9 +111,6 @@ func (c *Client) addOperationGetMasterAccountMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMasterAccount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/macie2/api_op_GetMember.go b/service/macie2/api_op_GetMember.go index c0f1bc992b0..c963bd1be5f 100644 --- a/service/macie2/api_op_GetMember.go +++ b/service/macie2/api_op_GetMember.go @@ -147,9 +147,6 @@ func (c *Client) addOperationGetMemberMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMemberValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_GetResourceProfile.go b/service/macie2/api_op_GetResourceProfile.go index 78dc9186a2a..56bee002b9d 100644 --- a/service/macie2/api_op_GetResourceProfile.go +++ b/service/macie2/api_op_GetResourceProfile.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetResourceProfileMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourceProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_GetRevealConfiguration.go b/service/macie2/api_op_GetRevealConfiguration.go index 61e5a52f980..bb587cb7e7c 100644 --- a/service/macie2/api_op_GetRevealConfiguration.go +++ b/service/macie2/api_op_GetRevealConfiguration.go @@ -111,9 +111,6 @@ func (c *Client) addOperationGetRevealConfigurationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRevealConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/macie2/api_op_GetSensitiveDataOccurrences.go b/service/macie2/api_op_GetSensitiveDataOccurrences.go index 80221c00ec1..6c44b2fee5a 100644 --- a/service/macie2/api_op_GetSensitiveDataOccurrences.go +++ b/service/macie2/api_op_GetSensitiveDataOccurrences.go @@ -135,9 +135,6 @@ func (c *Client) addOperationGetSensitiveDataOccurrencesMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSensitiveDataOccurrencesValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_GetSensitiveDataOccurrencesAvailability.go b/service/macie2/api_op_GetSensitiveDataOccurrencesAvailability.go index bc876081398..2892e8c33d1 100644 --- a/service/macie2/api_op_GetSensitiveDataOccurrencesAvailability.go +++ b/service/macie2/api_op_GetSensitiveDataOccurrencesAvailability.go @@ -173,9 +173,6 @@ func (c *Client) addOperationGetSensitiveDataOccurrencesAvailabilityMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSensitiveDataOccurrencesAvailabilityValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_GetSensitivityInspectionTemplate.go b/service/macie2/api_op_GetSensitivityInspectionTemplate.go index e04c71668ea..49c7f991d21 100644 --- a/service/macie2/api_op_GetSensitivityInspectionTemplate.go +++ b/service/macie2/api_op_GetSensitivityInspectionTemplate.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetSensitivityInspectionTemplateMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSensitivityInspectionTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_GetUsageStatistics.go b/service/macie2/api_op_GetUsageStatistics.go index 7ffb09c05bc..c2a5d3e8cfd 100644 --- a/service/macie2/api_op_GetUsageStatistics.go +++ b/service/macie2/api_op_GetUsageStatistics.go @@ -139,9 +139,6 @@ func (c *Client) addOperationGetUsageStatisticsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUsageStatistics(options.Region), middleware.Before); err != nil { return err } diff --git a/service/macie2/api_op_GetUsageTotals.go b/service/macie2/api_op_GetUsageTotals.go index 2d66b2e4972..8c1f20bc6a8 100644 --- a/service/macie2/api_op_GetUsageTotals.go +++ b/service/macie2/api_op_GetUsageTotals.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetUsageTotalsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetUsageTotals(options.Region), middleware.Before); err != nil { return err } diff --git a/service/macie2/api_op_ListAllowLists.go b/service/macie2/api_op_ListAllowLists.go index e3725492517..5c21c5b6694 100644 --- a/service/macie2/api_op_ListAllowLists.go +++ b/service/macie2/api_op_ListAllowLists.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListAllowListsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAllowLists(options.Region), middleware.Before); err != nil { return err } diff --git a/service/macie2/api_op_ListAutomatedDiscoveryAccounts.go b/service/macie2/api_op_ListAutomatedDiscoveryAccounts.go index 9c9163f2c79..63b558fd23d 100644 --- a/service/macie2/api_op_ListAutomatedDiscoveryAccounts.go +++ b/service/macie2/api_op_ListAutomatedDiscoveryAccounts.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListAutomatedDiscoveryAccountsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAutomatedDiscoveryAccounts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/macie2/api_op_ListClassificationJobs.go b/service/macie2/api_op_ListClassificationJobs.go index 4f59c847424..29b0c8adbeb 100644 --- a/service/macie2/api_op_ListClassificationJobs.go +++ b/service/macie2/api_op_ListClassificationJobs.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListClassificationJobsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListClassificationJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/macie2/api_op_ListClassificationScopes.go b/service/macie2/api_op_ListClassificationScopes.go index c56a10a582d..9f6d63315f7 100644 --- a/service/macie2/api_op_ListClassificationScopes.go +++ b/service/macie2/api_op_ListClassificationScopes.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListClassificationScopesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListClassificationScopes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/macie2/api_op_ListCustomDataIdentifiers.go b/service/macie2/api_op_ListCustomDataIdentifiers.go index a37a95a20db..6b6512a461d 100644 --- a/service/macie2/api_op_ListCustomDataIdentifiers.go +++ b/service/macie2/api_op_ListCustomDataIdentifiers.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListCustomDataIdentifiersMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCustomDataIdentifiers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/macie2/api_op_ListFindings.go b/service/macie2/api_op_ListFindings.go index 4cd96ea92ca..24a5d931960 100644 --- a/service/macie2/api_op_ListFindings.go +++ b/service/macie2/api_op_ListFindings.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListFindingsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFindings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/macie2/api_op_ListFindingsFilters.go b/service/macie2/api_op_ListFindingsFilters.go index 17b22b2773a..57ba9f63db3 100644 --- a/service/macie2/api_op_ListFindingsFilters.go +++ b/service/macie2/api_op_ListFindingsFilters.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListFindingsFiltersMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFindingsFilters(options.Region), middleware.Before); err != nil { return err } diff --git a/service/macie2/api_op_ListInvitations.go b/service/macie2/api_op_ListInvitations.go index 9ee3eb066b3..251594532ad 100644 --- a/service/macie2/api_op_ListInvitations.go +++ b/service/macie2/api_op_ListInvitations.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListInvitationsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInvitations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/macie2/api_op_ListManagedDataIdentifiers.go b/service/macie2/api_op_ListManagedDataIdentifiers.go index fa5e8321a5c..3a1d449cfd6 100644 --- a/service/macie2/api_op_ListManagedDataIdentifiers.go +++ b/service/macie2/api_op_ListManagedDataIdentifiers.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListManagedDataIdentifiersMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListManagedDataIdentifiers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/macie2/api_op_ListMembers.go b/service/macie2/api_op_ListMembers.go index 5087393ab84..43509430c16 100644 --- a/service/macie2/api_op_ListMembers.go +++ b/service/macie2/api_op_ListMembers.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListMembersMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMembers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/macie2/api_op_ListOrganizationAdminAccounts.go b/service/macie2/api_op_ListOrganizationAdminAccounts.go index 0797a27af88..b5576fdc8f3 100644 --- a/service/macie2/api_op_ListOrganizationAdminAccounts.go +++ b/service/macie2/api_op_ListOrganizationAdminAccounts.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListOrganizationAdminAccountsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOrganizationAdminAccounts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/macie2/api_op_ListResourceProfileArtifacts.go b/service/macie2/api_op_ListResourceProfileArtifacts.go index 8b97bbf26fc..21fa0f863fa 100644 --- a/service/macie2/api_op_ListResourceProfileArtifacts.go +++ b/service/macie2/api_op_ListResourceProfileArtifacts.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListResourceProfileArtifactsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListResourceProfileArtifactsValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_ListResourceProfileDetections.go b/service/macie2/api_op_ListResourceProfileDetections.go index 1b58dd28239..144c82a853b 100644 --- a/service/macie2/api_op_ListResourceProfileDetections.go +++ b/service/macie2/api_op_ListResourceProfileDetections.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListResourceProfileDetectionsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListResourceProfileDetectionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_ListSensitivityInspectionTemplates.go b/service/macie2/api_op_ListSensitivityInspectionTemplates.go index 20104751b4e..399087dad78 100644 --- a/service/macie2/api_op_ListSensitivityInspectionTemplates.go +++ b/service/macie2/api_op_ListSensitivityInspectionTemplates.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListSensitivityInspectionTemplatesMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSensitivityInspectionTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/macie2/api_op_ListTagsForResource.go b/service/macie2/api_op_ListTagsForResource.go index 125f18e7396..ade925e8245 100644 --- a/service/macie2/api_op_ListTagsForResource.go +++ b/service/macie2/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_PutClassificationExportConfiguration.go b/service/macie2/api_op_PutClassificationExportConfiguration.go index 5f45ea47da9..39ed129be2e 100644 --- a/service/macie2/api_op_PutClassificationExportConfiguration.go +++ b/service/macie2/api_op_PutClassificationExportConfiguration.go @@ -115,9 +115,6 @@ func (c *Client) addOperationPutClassificationExportConfigurationMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutClassificationExportConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_PutFindingsPublicationConfiguration.go b/service/macie2/api_op_PutFindingsPublicationConfiguration.go index cd077686fbc..1dcae97dac6 100644 --- a/service/macie2/api_op_PutFindingsPublicationConfiguration.go +++ b/service/macie2/api_op_PutFindingsPublicationConfiguration.go @@ -111,9 +111,6 @@ func (c *Client) addOperationPutFindingsPublicationConfigurationMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opPutFindingsPublicationConfigurationMiddleware(stack, options); err != nil { return err } diff --git a/service/macie2/api_op_SearchResources.go b/service/macie2/api_op_SearchResources.go index 3e9cc4874b2..a6c5a5000e6 100644 --- a/service/macie2/api_op_SearchResources.go +++ b/service/macie2/api_op_SearchResources.go @@ -128,9 +128,6 @@ func (c *Client) addOperationSearchResourcesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchResources(options.Region), middleware.Before); err != nil { return err } diff --git a/service/macie2/api_op_TagResource.go b/service/macie2/api_op_TagResource.go index fa5a667f28c..8209a77c917 100644 --- a/service/macie2/api_op_TagResource.go +++ b/service/macie2/api_op_TagResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_TestCustomDataIdentifier.go b/service/macie2/api_op_TestCustomDataIdentifier.go index cff500aebc1..fb728787874 100644 --- a/service/macie2/api_op_TestCustomDataIdentifier.go +++ b/service/macie2/api_op_TestCustomDataIdentifier.go @@ -140,9 +140,6 @@ func (c *Client) addOperationTestCustomDataIdentifierMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTestCustomDataIdentifierValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_UntagResource.go b/service/macie2/api_op_UntagResource.go index 9308d305efa..0cc41652af1 100644 --- a/service/macie2/api_op_UntagResource.go +++ b/service/macie2/api_op_UntagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_UpdateAllowList.go b/service/macie2/api_op_UpdateAllowList.go index 70d0b00a72a..788488b02dd 100644 --- a/service/macie2/api_op_UpdateAllowList.go +++ b/service/macie2/api_op_UpdateAllowList.go @@ -137,9 +137,6 @@ func (c *Client) addOperationUpdateAllowListMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAllowListValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_UpdateAutomatedDiscoveryConfiguration.go b/service/macie2/api_op_UpdateAutomatedDiscoveryConfiguration.go index a4047d3392b..bf24b9d1295 100644 --- a/service/macie2/api_op_UpdateAutomatedDiscoveryConfiguration.go +++ b/service/macie2/api_op_UpdateAutomatedDiscoveryConfiguration.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateAutomatedDiscoveryConfigurationMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAutomatedDiscoveryConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_UpdateClassificationJob.go b/service/macie2/api_op_UpdateClassificationJob.go index da174e9cde4..07fefc33f88 100644 --- a/service/macie2/api_op_UpdateClassificationJob.go +++ b/service/macie2/api_op_UpdateClassificationJob.go @@ -139,9 +139,6 @@ func (c *Client) addOperationUpdateClassificationJobMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateClassificationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_UpdateClassificationScope.go b/service/macie2/api_op_UpdateClassificationScope.go index c1e683333bc..10fe6afb70d 100644 --- a/service/macie2/api_op_UpdateClassificationScope.go +++ b/service/macie2/api_op_UpdateClassificationScope.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUpdateClassificationScopeMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateClassificationScopeValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_UpdateFindingsFilter.go b/service/macie2/api_op_UpdateFindingsFilter.go index b52297b2cd2..89fc01cb2e0 100644 --- a/service/macie2/api_op_UpdateFindingsFilter.go +++ b/service/macie2/api_op_UpdateFindingsFilter.go @@ -149,9 +149,6 @@ func (c *Client) addOperationUpdateFindingsFilterMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateFindingsFilterMiddleware(stack, options); err != nil { return err } diff --git a/service/macie2/api_op_UpdateMacieSession.go b/service/macie2/api_op_UpdateMacieSession.go index 4e536c77c67..7d609dca2c4 100644 --- a/service/macie2/api_op_UpdateMacieSession.go +++ b/service/macie2/api_op_UpdateMacieSession.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUpdateMacieSessionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMacieSession(options.Region), middleware.Before); err != nil { return err } diff --git a/service/macie2/api_op_UpdateMemberSession.go b/service/macie2/api_op_UpdateMemberSession.go index 10eb113481a..01404c96afd 100644 --- a/service/macie2/api_op_UpdateMemberSession.go +++ b/service/macie2/api_op_UpdateMemberSession.go @@ -116,9 +116,6 @@ func (c *Client) addOperationUpdateMemberSessionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMemberSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_UpdateOrganizationConfiguration.go b/service/macie2/api_op_UpdateOrganizationConfiguration.go index 6aaa41c3dec..1b8dd8624c0 100644 --- a/service/macie2/api_op_UpdateOrganizationConfiguration.go +++ b/service/macie2/api_op_UpdateOrganizationConfiguration.go @@ -109,9 +109,6 @@ func (c *Client) addOperationUpdateOrganizationConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateOrganizationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_UpdateResourceProfile.go b/service/macie2/api_op_UpdateResourceProfile.go index 1dd11cb7e27..e94c885901e 100644 --- a/service/macie2/api_op_UpdateResourceProfile.go +++ b/service/macie2/api_op_UpdateResourceProfile.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUpdateResourceProfileMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateResourceProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_UpdateResourceProfileDetections.go b/service/macie2/api_op_UpdateResourceProfileDetections.go index c75c308eedf..4105f995003 100644 --- a/service/macie2/api_op_UpdateResourceProfileDetections.go +++ b/service/macie2/api_op_UpdateResourceProfileDetections.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUpdateResourceProfileDetectionsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateResourceProfileDetectionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_UpdateRevealConfiguration.go b/service/macie2/api_op_UpdateRevealConfiguration.go index aec7061df53..ab5420ebed7 100644 --- a/service/macie2/api_op_UpdateRevealConfiguration.go +++ b/service/macie2/api_op_UpdateRevealConfiguration.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateRevealConfigurationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRevealConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/api_op_UpdateSensitivityInspectionTemplate.go b/service/macie2/api_op_UpdateSensitivityInspectionTemplate.go index fa7dd75da67..581ecb9f755 100644 --- a/service/macie2/api_op_UpdateSensitivityInspectionTemplate.go +++ b/service/macie2/api_op_UpdateSensitivityInspectionTemplate.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateSensitivityInspectionTemplateMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSensitivityInspectionTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/macie2/snapshot/api_op_AcceptInvitation.go.snap b/service/macie2/snapshot/api_op_AcceptInvitation.go.snap index f7246312e86..25a4265ede2 100644 --- a/service/macie2/snapshot/api_op_AcceptInvitation.go.snap +++ b/service/macie2/snapshot/api_op_AcceptInvitation.go.snap @@ -14,7 +14,6 @@ AcceptInvitation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_BatchGetCustomDataIdentifiers.go.snap b/service/macie2/snapshot/api_op_BatchGetCustomDataIdentifiers.go.snap index 0919a68728b..a3c84aec9b6 100644 --- a/service/macie2/snapshot/api_op_BatchGetCustomDataIdentifiers.go.snap +++ b/service/macie2/snapshot/api_op_BatchGetCustomDataIdentifiers.go.snap @@ -13,7 +13,6 @@ BatchGetCustomDataIdentifiers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_BatchUpdateAutomatedDiscoveryAccounts.go.snap b/service/macie2/snapshot/api_op_BatchUpdateAutomatedDiscoveryAccounts.go.snap index ae2531704ff..05068870ef2 100644 --- a/service/macie2/snapshot/api_op_BatchUpdateAutomatedDiscoveryAccounts.go.snap +++ b/service/macie2/snapshot/api_op_BatchUpdateAutomatedDiscoveryAccounts.go.snap @@ -13,7 +13,6 @@ BatchUpdateAutomatedDiscoveryAccounts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_CreateAllowList.go.snap b/service/macie2/snapshot/api_op_CreateAllowList.go.snap index 88738486517..b251a9d4909 100644 --- a/service/macie2/snapshot/api_op_CreateAllowList.go.snap +++ b/service/macie2/snapshot/api_op_CreateAllowList.go.snap @@ -15,7 +15,6 @@ CreateAllowList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_CreateClassificationJob.go.snap b/service/macie2/snapshot/api_op_CreateClassificationJob.go.snap index 5308c757663..d90b94043a0 100644 --- a/service/macie2/snapshot/api_op_CreateClassificationJob.go.snap +++ b/service/macie2/snapshot/api_op_CreateClassificationJob.go.snap @@ -15,7 +15,6 @@ CreateClassificationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_CreateCustomDataIdentifier.go.snap b/service/macie2/snapshot/api_op_CreateCustomDataIdentifier.go.snap index 7f425c940e4..ce7d12ed2c4 100644 --- a/service/macie2/snapshot/api_op_CreateCustomDataIdentifier.go.snap +++ b/service/macie2/snapshot/api_op_CreateCustomDataIdentifier.go.snap @@ -15,7 +15,6 @@ CreateCustomDataIdentifier Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_CreateFindingsFilter.go.snap b/service/macie2/snapshot/api_op_CreateFindingsFilter.go.snap index 91b43695aa2..9878212fef2 100644 --- a/service/macie2/snapshot/api_op_CreateFindingsFilter.go.snap +++ b/service/macie2/snapshot/api_op_CreateFindingsFilter.go.snap @@ -15,7 +15,6 @@ CreateFindingsFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_CreateInvitations.go.snap b/service/macie2/snapshot/api_op_CreateInvitations.go.snap index b00663018f4..e0e2364f5e3 100644 --- a/service/macie2/snapshot/api_op_CreateInvitations.go.snap +++ b/service/macie2/snapshot/api_op_CreateInvitations.go.snap @@ -14,7 +14,6 @@ CreateInvitations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_CreateMember.go.snap b/service/macie2/snapshot/api_op_CreateMember.go.snap index 69c99ff72eb..c292b1afc83 100644 --- a/service/macie2/snapshot/api_op_CreateMember.go.snap +++ b/service/macie2/snapshot/api_op_CreateMember.go.snap @@ -14,7 +14,6 @@ CreateMember Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_CreateSampleFindings.go.snap b/service/macie2/snapshot/api_op_CreateSampleFindings.go.snap index 6df6355348c..602f083d989 100644 --- a/service/macie2/snapshot/api_op_CreateSampleFindings.go.snap +++ b/service/macie2/snapshot/api_op_CreateSampleFindings.go.snap @@ -13,7 +13,6 @@ CreateSampleFindings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_DeclineInvitations.go.snap b/service/macie2/snapshot/api_op_DeclineInvitations.go.snap index 07593ea2fc1..b83912e6a92 100644 --- a/service/macie2/snapshot/api_op_DeclineInvitations.go.snap +++ b/service/macie2/snapshot/api_op_DeclineInvitations.go.snap @@ -14,7 +14,6 @@ DeclineInvitations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_DeleteAllowList.go.snap b/service/macie2/snapshot/api_op_DeleteAllowList.go.snap index 64b68fa9c5e..220ef640108 100644 --- a/service/macie2/snapshot/api_op_DeleteAllowList.go.snap +++ b/service/macie2/snapshot/api_op_DeleteAllowList.go.snap @@ -14,7 +14,6 @@ DeleteAllowList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_DeleteCustomDataIdentifier.go.snap b/service/macie2/snapshot/api_op_DeleteCustomDataIdentifier.go.snap index 0ea1de2a991..6909e219e87 100644 --- a/service/macie2/snapshot/api_op_DeleteCustomDataIdentifier.go.snap +++ b/service/macie2/snapshot/api_op_DeleteCustomDataIdentifier.go.snap @@ -14,7 +14,6 @@ DeleteCustomDataIdentifier Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_DeleteFindingsFilter.go.snap b/service/macie2/snapshot/api_op_DeleteFindingsFilter.go.snap index 8d930fed67a..c0de9cfce1c 100644 --- a/service/macie2/snapshot/api_op_DeleteFindingsFilter.go.snap +++ b/service/macie2/snapshot/api_op_DeleteFindingsFilter.go.snap @@ -14,7 +14,6 @@ DeleteFindingsFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_DeleteInvitations.go.snap b/service/macie2/snapshot/api_op_DeleteInvitations.go.snap index 750642c2dc4..d9267029e3d 100644 --- a/service/macie2/snapshot/api_op_DeleteInvitations.go.snap +++ b/service/macie2/snapshot/api_op_DeleteInvitations.go.snap @@ -14,7 +14,6 @@ DeleteInvitations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_DeleteMember.go.snap b/service/macie2/snapshot/api_op_DeleteMember.go.snap index d57271614b8..a3a8981046c 100644 --- a/service/macie2/snapshot/api_op_DeleteMember.go.snap +++ b/service/macie2/snapshot/api_op_DeleteMember.go.snap @@ -14,7 +14,6 @@ DeleteMember Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_DescribeBuckets.go.snap b/service/macie2/snapshot/api_op_DescribeBuckets.go.snap index faf6b445962..7b36cd3b03a 100644 --- a/service/macie2/snapshot/api_op_DescribeBuckets.go.snap +++ b/service/macie2/snapshot/api_op_DescribeBuckets.go.snap @@ -13,7 +13,6 @@ DescribeBuckets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_DescribeClassificationJob.go.snap b/service/macie2/snapshot/api_op_DescribeClassificationJob.go.snap index c36baba5f5e..9c796f5ffa3 100644 --- a/service/macie2/snapshot/api_op_DescribeClassificationJob.go.snap +++ b/service/macie2/snapshot/api_op_DescribeClassificationJob.go.snap @@ -14,7 +14,6 @@ DescribeClassificationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_DescribeOrganizationConfiguration.go.snap b/service/macie2/snapshot/api_op_DescribeOrganizationConfiguration.go.snap index 58b69dba323..5c663808606 100644 --- a/service/macie2/snapshot/api_op_DescribeOrganizationConfiguration.go.snap +++ b/service/macie2/snapshot/api_op_DescribeOrganizationConfiguration.go.snap @@ -13,7 +13,6 @@ DescribeOrganizationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_DisableMacie.go.snap b/service/macie2/snapshot/api_op_DisableMacie.go.snap index 13c10842356..a84a2589d30 100644 --- a/service/macie2/snapshot/api_op_DisableMacie.go.snap +++ b/service/macie2/snapshot/api_op_DisableMacie.go.snap @@ -13,7 +13,6 @@ DisableMacie Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_DisableOrganizationAdminAccount.go.snap b/service/macie2/snapshot/api_op_DisableOrganizationAdminAccount.go.snap index 353e1e5ae02..129fbb99dbe 100644 --- a/service/macie2/snapshot/api_op_DisableOrganizationAdminAccount.go.snap +++ b/service/macie2/snapshot/api_op_DisableOrganizationAdminAccount.go.snap @@ -14,7 +14,6 @@ DisableOrganizationAdminAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_DisassociateFromAdministratorAccount.go.snap b/service/macie2/snapshot/api_op_DisassociateFromAdministratorAccount.go.snap index 0ccab51fb88..0eab61af58e 100644 --- a/service/macie2/snapshot/api_op_DisassociateFromAdministratorAccount.go.snap +++ b/service/macie2/snapshot/api_op_DisassociateFromAdministratorAccount.go.snap @@ -13,7 +13,6 @@ DisassociateFromAdministratorAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_DisassociateFromMasterAccount.go.snap b/service/macie2/snapshot/api_op_DisassociateFromMasterAccount.go.snap index 5a69d20772f..b887c84c9dc 100644 --- a/service/macie2/snapshot/api_op_DisassociateFromMasterAccount.go.snap +++ b/service/macie2/snapshot/api_op_DisassociateFromMasterAccount.go.snap @@ -13,7 +13,6 @@ DisassociateFromMasterAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_DisassociateMember.go.snap b/service/macie2/snapshot/api_op_DisassociateMember.go.snap index 3d9566d0567..24431eca729 100644 --- a/service/macie2/snapshot/api_op_DisassociateMember.go.snap +++ b/service/macie2/snapshot/api_op_DisassociateMember.go.snap @@ -14,7 +14,6 @@ DisassociateMember Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_EnableMacie.go.snap b/service/macie2/snapshot/api_op_EnableMacie.go.snap index d5642b72ef9..482a66c3692 100644 --- a/service/macie2/snapshot/api_op_EnableMacie.go.snap +++ b/service/macie2/snapshot/api_op_EnableMacie.go.snap @@ -14,7 +14,6 @@ EnableMacie Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_EnableOrganizationAdminAccount.go.snap b/service/macie2/snapshot/api_op_EnableOrganizationAdminAccount.go.snap index 7cad164e68a..2d5791ae8b5 100644 --- a/service/macie2/snapshot/api_op_EnableOrganizationAdminAccount.go.snap +++ b/service/macie2/snapshot/api_op_EnableOrganizationAdminAccount.go.snap @@ -15,7 +15,6 @@ EnableOrganizationAdminAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_GetAdministratorAccount.go.snap b/service/macie2/snapshot/api_op_GetAdministratorAccount.go.snap index da77680466e..d1f34160c21 100644 --- a/service/macie2/snapshot/api_op_GetAdministratorAccount.go.snap +++ b/service/macie2/snapshot/api_op_GetAdministratorAccount.go.snap @@ -13,7 +13,6 @@ GetAdministratorAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_GetAllowList.go.snap b/service/macie2/snapshot/api_op_GetAllowList.go.snap index 9733e361c26..adea95d21c5 100644 --- a/service/macie2/snapshot/api_op_GetAllowList.go.snap +++ b/service/macie2/snapshot/api_op_GetAllowList.go.snap @@ -14,7 +14,6 @@ GetAllowList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_GetAutomatedDiscoveryConfiguration.go.snap b/service/macie2/snapshot/api_op_GetAutomatedDiscoveryConfiguration.go.snap index 853d93b6983..00e7167daa1 100644 --- a/service/macie2/snapshot/api_op_GetAutomatedDiscoveryConfiguration.go.snap +++ b/service/macie2/snapshot/api_op_GetAutomatedDiscoveryConfiguration.go.snap @@ -13,7 +13,6 @@ GetAutomatedDiscoveryConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_GetBucketStatistics.go.snap b/service/macie2/snapshot/api_op_GetBucketStatistics.go.snap index a7620a54bdc..f6ff76fd58d 100644 --- a/service/macie2/snapshot/api_op_GetBucketStatistics.go.snap +++ b/service/macie2/snapshot/api_op_GetBucketStatistics.go.snap @@ -13,7 +13,6 @@ GetBucketStatistics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_GetClassificationExportConfiguration.go.snap b/service/macie2/snapshot/api_op_GetClassificationExportConfiguration.go.snap index 2e0752243ec..22343329c2a 100644 --- a/service/macie2/snapshot/api_op_GetClassificationExportConfiguration.go.snap +++ b/service/macie2/snapshot/api_op_GetClassificationExportConfiguration.go.snap @@ -13,7 +13,6 @@ GetClassificationExportConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_GetClassificationScope.go.snap b/service/macie2/snapshot/api_op_GetClassificationScope.go.snap index 080ede0f0e4..de11b257851 100644 --- a/service/macie2/snapshot/api_op_GetClassificationScope.go.snap +++ b/service/macie2/snapshot/api_op_GetClassificationScope.go.snap @@ -14,7 +14,6 @@ GetClassificationScope Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_GetCustomDataIdentifier.go.snap b/service/macie2/snapshot/api_op_GetCustomDataIdentifier.go.snap index 31b8c882ed7..19b5f86dc8d 100644 --- a/service/macie2/snapshot/api_op_GetCustomDataIdentifier.go.snap +++ b/service/macie2/snapshot/api_op_GetCustomDataIdentifier.go.snap @@ -14,7 +14,6 @@ GetCustomDataIdentifier Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_GetFindingStatistics.go.snap b/service/macie2/snapshot/api_op_GetFindingStatistics.go.snap index 1c985a2fd6e..d1214d1e6d6 100644 --- a/service/macie2/snapshot/api_op_GetFindingStatistics.go.snap +++ b/service/macie2/snapshot/api_op_GetFindingStatistics.go.snap @@ -14,7 +14,6 @@ GetFindingStatistics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_GetFindings.go.snap b/service/macie2/snapshot/api_op_GetFindings.go.snap index 0d873431788..67b8b8225e4 100644 --- a/service/macie2/snapshot/api_op_GetFindings.go.snap +++ b/service/macie2/snapshot/api_op_GetFindings.go.snap @@ -14,7 +14,6 @@ GetFindings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_GetFindingsFilter.go.snap b/service/macie2/snapshot/api_op_GetFindingsFilter.go.snap index 33e1ab4ddf4..20055173ab5 100644 --- a/service/macie2/snapshot/api_op_GetFindingsFilter.go.snap +++ b/service/macie2/snapshot/api_op_GetFindingsFilter.go.snap @@ -14,7 +14,6 @@ GetFindingsFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_GetFindingsPublicationConfiguration.go.snap b/service/macie2/snapshot/api_op_GetFindingsPublicationConfiguration.go.snap index 219dc12e1c4..afc9b9abf40 100644 --- a/service/macie2/snapshot/api_op_GetFindingsPublicationConfiguration.go.snap +++ b/service/macie2/snapshot/api_op_GetFindingsPublicationConfiguration.go.snap @@ -13,7 +13,6 @@ GetFindingsPublicationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_GetInvitationsCount.go.snap b/service/macie2/snapshot/api_op_GetInvitationsCount.go.snap index 12fd8e140e6..e383bf978ab 100644 --- a/service/macie2/snapshot/api_op_GetInvitationsCount.go.snap +++ b/service/macie2/snapshot/api_op_GetInvitationsCount.go.snap @@ -13,7 +13,6 @@ GetInvitationsCount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_GetMacieSession.go.snap b/service/macie2/snapshot/api_op_GetMacieSession.go.snap index ca29f75d416..89e5ea04807 100644 --- a/service/macie2/snapshot/api_op_GetMacieSession.go.snap +++ b/service/macie2/snapshot/api_op_GetMacieSession.go.snap @@ -13,7 +13,6 @@ GetMacieSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_GetMasterAccount.go.snap b/service/macie2/snapshot/api_op_GetMasterAccount.go.snap index 63570286c70..cb433df5655 100644 --- a/service/macie2/snapshot/api_op_GetMasterAccount.go.snap +++ b/service/macie2/snapshot/api_op_GetMasterAccount.go.snap @@ -13,7 +13,6 @@ GetMasterAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_GetMember.go.snap b/service/macie2/snapshot/api_op_GetMember.go.snap index a2ad4bbc0c9..30f83276bce 100644 --- a/service/macie2/snapshot/api_op_GetMember.go.snap +++ b/service/macie2/snapshot/api_op_GetMember.go.snap @@ -14,7 +14,6 @@ GetMember Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_GetResourceProfile.go.snap b/service/macie2/snapshot/api_op_GetResourceProfile.go.snap index 8d7aa355269..d460c2b0753 100644 --- a/service/macie2/snapshot/api_op_GetResourceProfile.go.snap +++ b/service/macie2/snapshot/api_op_GetResourceProfile.go.snap @@ -14,7 +14,6 @@ GetResourceProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_GetRevealConfiguration.go.snap b/service/macie2/snapshot/api_op_GetRevealConfiguration.go.snap index cb0932ea39a..a0596110e5b 100644 --- a/service/macie2/snapshot/api_op_GetRevealConfiguration.go.snap +++ b/service/macie2/snapshot/api_op_GetRevealConfiguration.go.snap @@ -13,7 +13,6 @@ GetRevealConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_GetSensitiveDataOccurrences.go.snap b/service/macie2/snapshot/api_op_GetSensitiveDataOccurrences.go.snap index 2e231a3abe8..15f4b926f80 100644 --- a/service/macie2/snapshot/api_op_GetSensitiveDataOccurrences.go.snap +++ b/service/macie2/snapshot/api_op_GetSensitiveDataOccurrences.go.snap @@ -14,7 +14,6 @@ GetSensitiveDataOccurrences Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_GetSensitiveDataOccurrencesAvailability.go.snap b/service/macie2/snapshot/api_op_GetSensitiveDataOccurrencesAvailability.go.snap index ce07072a2df..cfe5266b3b8 100644 --- a/service/macie2/snapshot/api_op_GetSensitiveDataOccurrencesAvailability.go.snap +++ b/service/macie2/snapshot/api_op_GetSensitiveDataOccurrencesAvailability.go.snap @@ -14,7 +14,6 @@ GetSensitiveDataOccurrencesAvailability Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_GetSensitivityInspectionTemplate.go.snap b/service/macie2/snapshot/api_op_GetSensitivityInspectionTemplate.go.snap index a9da2dd67ea..1bf55bfc2a4 100644 --- a/service/macie2/snapshot/api_op_GetSensitivityInspectionTemplate.go.snap +++ b/service/macie2/snapshot/api_op_GetSensitivityInspectionTemplate.go.snap @@ -14,7 +14,6 @@ GetSensitivityInspectionTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_GetUsageStatistics.go.snap b/service/macie2/snapshot/api_op_GetUsageStatistics.go.snap index ce4bbcf7b8b..6f45dc9880e 100644 --- a/service/macie2/snapshot/api_op_GetUsageStatistics.go.snap +++ b/service/macie2/snapshot/api_op_GetUsageStatistics.go.snap @@ -13,7 +13,6 @@ GetUsageStatistics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_GetUsageTotals.go.snap b/service/macie2/snapshot/api_op_GetUsageTotals.go.snap index 7e0bfbe16da..f9316dd5472 100644 --- a/service/macie2/snapshot/api_op_GetUsageTotals.go.snap +++ b/service/macie2/snapshot/api_op_GetUsageTotals.go.snap @@ -13,7 +13,6 @@ GetUsageTotals Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_ListAllowLists.go.snap b/service/macie2/snapshot/api_op_ListAllowLists.go.snap index 0fa533abf29..0c19ca0b165 100644 --- a/service/macie2/snapshot/api_op_ListAllowLists.go.snap +++ b/service/macie2/snapshot/api_op_ListAllowLists.go.snap @@ -13,7 +13,6 @@ ListAllowLists Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_ListAutomatedDiscoveryAccounts.go.snap b/service/macie2/snapshot/api_op_ListAutomatedDiscoveryAccounts.go.snap index f114268b030..2218bef0a4d 100644 --- a/service/macie2/snapshot/api_op_ListAutomatedDiscoveryAccounts.go.snap +++ b/service/macie2/snapshot/api_op_ListAutomatedDiscoveryAccounts.go.snap @@ -13,7 +13,6 @@ ListAutomatedDiscoveryAccounts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_ListClassificationJobs.go.snap b/service/macie2/snapshot/api_op_ListClassificationJobs.go.snap index 8401adbca99..df66ce0b19d 100644 --- a/service/macie2/snapshot/api_op_ListClassificationJobs.go.snap +++ b/service/macie2/snapshot/api_op_ListClassificationJobs.go.snap @@ -13,7 +13,6 @@ ListClassificationJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_ListClassificationScopes.go.snap b/service/macie2/snapshot/api_op_ListClassificationScopes.go.snap index 2bc37709724..de8c1fe929d 100644 --- a/service/macie2/snapshot/api_op_ListClassificationScopes.go.snap +++ b/service/macie2/snapshot/api_op_ListClassificationScopes.go.snap @@ -13,7 +13,6 @@ ListClassificationScopes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_ListCustomDataIdentifiers.go.snap b/service/macie2/snapshot/api_op_ListCustomDataIdentifiers.go.snap index 6a87ff662e1..42b5822e828 100644 --- a/service/macie2/snapshot/api_op_ListCustomDataIdentifiers.go.snap +++ b/service/macie2/snapshot/api_op_ListCustomDataIdentifiers.go.snap @@ -13,7 +13,6 @@ ListCustomDataIdentifiers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_ListFindings.go.snap b/service/macie2/snapshot/api_op_ListFindings.go.snap index dbc08484ab0..12bc4c29ce1 100644 --- a/service/macie2/snapshot/api_op_ListFindings.go.snap +++ b/service/macie2/snapshot/api_op_ListFindings.go.snap @@ -13,7 +13,6 @@ ListFindings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_ListFindingsFilters.go.snap b/service/macie2/snapshot/api_op_ListFindingsFilters.go.snap index bfb418ced06..4bc826245e3 100644 --- a/service/macie2/snapshot/api_op_ListFindingsFilters.go.snap +++ b/service/macie2/snapshot/api_op_ListFindingsFilters.go.snap @@ -13,7 +13,6 @@ ListFindingsFilters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_ListInvitations.go.snap b/service/macie2/snapshot/api_op_ListInvitations.go.snap index 623ba90611b..d8658667fbe 100644 --- a/service/macie2/snapshot/api_op_ListInvitations.go.snap +++ b/service/macie2/snapshot/api_op_ListInvitations.go.snap @@ -13,7 +13,6 @@ ListInvitations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_ListManagedDataIdentifiers.go.snap b/service/macie2/snapshot/api_op_ListManagedDataIdentifiers.go.snap index 9730aba2086..496916de3b3 100644 --- a/service/macie2/snapshot/api_op_ListManagedDataIdentifiers.go.snap +++ b/service/macie2/snapshot/api_op_ListManagedDataIdentifiers.go.snap @@ -13,7 +13,6 @@ ListManagedDataIdentifiers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_ListMembers.go.snap b/service/macie2/snapshot/api_op_ListMembers.go.snap index 88729f44181..a3672c71aeb 100644 --- a/service/macie2/snapshot/api_op_ListMembers.go.snap +++ b/service/macie2/snapshot/api_op_ListMembers.go.snap @@ -13,7 +13,6 @@ ListMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_ListOrganizationAdminAccounts.go.snap b/service/macie2/snapshot/api_op_ListOrganizationAdminAccounts.go.snap index f67edb1d953..8ebdb78565d 100644 --- a/service/macie2/snapshot/api_op_ListOrganizationAdminAccounts.go.snap +++ b/service/macie2/snapshot/api_op_ListOrganizationAdminAccounts.go.snap @@ -13,7 +13,6 @@ ListOrganizationAdminAccounts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_ListResourceProfileArtifacts.go.snap b/service/macie2/snapshot/api_op_ListResourceProfileArtifacts.go.snap index 2cf39ed1170..ade22c0f278 100644 --- a/service/macie2/snapshot/api_op_ListResourceProfileArtifacts.go.snap +++ b/service/macie2/snapshot/api_op_ListResourceProfileArtifacts.go.snap @@ -14,7 +14,6 @@ ListResourceProfileArtifacts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_ListResourceProfileDetections.go.snap b/service/macie2/snapshot/api_op_ListResourceProfileDetections.go.snap index 6f0825cc639..ceff6592c96 100644 --- a/service/macie2/snapshot/api_op_ListResourceProfileDetections.go.snap +++ b/service/macie2/snapshot/api_op_ListResourceProfileDetections.go.snap @@ -14,7 +14,6 @@ ListResourceProfileDetections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_ListSensitivityInspectionTemplates.go.snap b/service/macie2/snapshot/api_op_ListSensitivityInspectionTemplates.go.snap index f815ef162dd..31624091b9e 100644 --- a/service/macie2/snapshot/api_op_ListSensitivityInspectionTemplates.go.snap +++ b/service/macie2/snapshot/api_op_ListSensitivityInspectionTemplates.go.snap @@ -13,7 +13,6 @@ ListSensitivityInspectionTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_ListTagsForResource.go.snap b/service/macie2/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/macie2/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/macie2/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_PutClassificationExportConfiguration.go.snap b/service/macie2/snapshot/api_op_PutClassificationExportConfiguration.go.snap index 3406499a3e9..c8b2f059316 100644 --- a/service/macie2/snapshot/api_op_PutClassificationExportConfiguration.go.snap +++ b/service/macie2/snapshot/api_op_PutClassificationExportConfiguration.go.snap @@ -14,7 +14,6 @@ PutClassificationExportConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_PutFindingsPublicationConfiguration.go.snap b/service/macie2/snapshot/api_op_PutFindingsPublicationConfiguration.go.snap index 38fb4b3ced4..45c23e8acf4 100644 --- a/service/macie2/snapshot/api_op_PutFindingsPublicationConfiguration.go.snap +++ b/service/macie2/snapshot/api_op_PutFindingsPublicationConfiguration.go.snap @@ -15,7 +15,6 @@ PutFindingsPublicationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_SearchResources.go.snap b/service/macie2/snapshot/api_op_SearchResources.go.snap index 49534bbc44e..5f3e77af6d0 100644 --- a/service/macie2/snapshot/api_op_SearchResources.go.snap +++ b/service/macie2/snapshot/api_op_SearchResources.go.snap @@ -13,7 +13,6 @@ SearchResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_TagResource.go.snap b/service/macie2/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/macie2/snapshot/api_op_TagResource.go.snap +++ b/service/macie2/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_TestCustomDataIdentifier.go.snap b/service/macie2/snapshot/api_op_TestCustomDataIdentifier.go.snap index a50467ffede..fa7b2b7b457 100644 --- a/service/macie2/snapshot/api_op_TestCustomDataIdentifier.go.snap +++ b/service/macie2/snapshot/api_op_TestCustomDataIdentifier.go.snap @@ -14,7 +14,6 @@ TestCustomDataIdentifier Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_UntagResource.go.snap b/service/macie2/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/macie2/snapshot/api_op_UntagResource.go.snap +++ b/service/macie2/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_UpdateAllowList.go.snap b/service/macie2/snapshot/api_op_UpdateAllowList.go.snap index d9a2e4d6c2d..68f74cf75ac 100644 --- a/service/macie2/snapshot/api_op_UpdateAllowList.go.snap +++ b/service/macie2/snapshot/api_op_UpdateAllowList.go.snap @@ -14,7 +14,6 @@ UpdateAllowList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_UpdateAutomatedDiscoveryConfiguration.go.snap b/service/macie2/snapshot/api_op_UpdateAutomatedDiscoveryConfiguration.go.snap index 03f611a7476..4a92e6a673d 100644 --- a/service/macie2/snapshot/api_op_UpdateAutomatedDiscoveryConfiguration.go.snap +++ b/service/macie2/snapshot/api_op_UpdateAutomatedDiscoveryConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateAutomatedDiscoveryConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_UpdateClassificationJob.go.snap b/service/macie2/snapshot/api_op_UpdateClassificationJob.go.snap index 26073e549bb..73de69443dd 100644 --- a/service/macie2/snapshot/api_op_UpdateClassificationJob.go.snap +++ b/service/macie2/snapshot/api_op_UpdateClassificationJob.go.snap @@ -14,7 +14,6 @@ UpdateClassificationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_UpdateClassificationScope.go.snap b/service/macie2/snapshot/api_op_UpdateClassificationScope.go.snap index 5e9840e6997..1a950a0072b 100644 --- a/service/macie2/snapshot/api_op_UpdateClassificationScope.go.snap +++ b/service/macie2/snapshot/api_op_UpdateClassificationScope.go.snap @@ -14,7 +14,6 @@ UpdateClassificationScope Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_UpdateFindingsFilter.go.snap b/service/macie2/snapshot/api_op_UpdateFindingsFilter.go.snap index 2f4f27045e0..4278d37172c 100644 --- a/service/macie2/snapshot/api_op_UpdateFindingsFilter.go.snap +++ b/service/macie2/snapshot/api_op_UpdateFindingsFilter.go.snap @@ -15,7 +15,6 @@ UpdateFindingsFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_UpdateMacieSession.go.snap b/service/macie2/snapshot/api_op_UpdateMacieSession.go.snap index 3dec7d3ee28..62c2cec0f8c 100644 --- a/service/macie2/snapshot/api_op_UpdateMacieSession.go.snap +++ b/service/macie2/snapshot/api_op_UpdateMacieSession.go.snap @@ -13,7 +13,6 @@ UpdateMacieSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_UpdateMemberSession.go.snap b/service/macie2/snapshot/api_op_UpdateMemberSession.go.snap index 83ac9db3e4d..759a513b8b6 100644 --- a/service/macie2/snapshot/api_op_UpdateMemberSession.go.snap +++ b/service/macie2/snapshot/api_op_UpdateMemberSession.go.snap @@ -14,7 +14,6 @@ UpdateMemberSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_UpdateOrganizationConfiguration.go.snap b/service/macie2/snapshot/api_op_UpdateOrganizationConfiguration.go.snap index 897c01e0cf2..21d5324cdbc 100644 --- a/service/macie2/snapshot/api_op_UpdateOrganizationConfiguration.go.snap +++ b/service/macie2/snapshot/api_op_UpdateOrganizationConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateOrganizationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_UpdateResourceProfile.go.snap b/service/macie2/snapshot/api_op_UpdateResourceProfile.go.snap index 72438740d9b..e878b563366 100644 --- a/service/macie2/snapshot/api_op_UpdateResourceProfile.go.snap +++ b/service/macie2/snapshot/api_op_UpdateResourceProfile.go.snap @@ -14,7 +14,6 @@ UpdateResourceProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_UpdateResourceProfileDetections.go.snap b/service/macie2/snapshot/api_op_UpdateResourceProfileDetections.go.snap index 581357f2c73..19277410134 100644 --- a/service/macie2/snapshot/api_op_UpdateResourceProfileDetections.go.snap +++ b/service/macie2/snapshot/api_op_UpdateResourceProfileDetections.go.snap @@ -14,7 +14,6 @@ UpdateResourceProfileDetections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_UpdateRevealConfiguration.go.snap b/service/macie2/snapshot/api_op_UpdateRevealConfiguration.go.snap index e47ddff04bb..26cad374b1d 100644 --- a/service/macie2/snapshot/api_op_UpdateRevealConfiguration.go.snap +++ b/service/macie2/snapshot/api_op_UpdateRevealConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateRevealConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/macie2/snapshot/api_op_UpdateSensitivityInspectionTemplate.go.snap b/service/macie2/snapshot/api_op_UpdateSensitivityInspectionTemplate.go.snap index 906c86f73ee..9806452d712 100644 --- a/service/macie2/snapshot/api_op_UpdateSensitivityInspectionTemplate.go.snap +++ b/service/macie2/snapshot/api_op_UpdateSensitivityInspectionTemplate.go.snap @@ -14,7 +14,6 @@ UpdateSensitivityInspectionTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/api_client.go b/service/mailmanager/api_client.go index 74cd34a2f1c..90342c8a6f2 100644 --- a/service/mailmanager/api_client.go +++ b/service/mailmanager/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/mailmanager/api_op_CreateAddonInstance.go b/service/mailmanager/api_op_CreateAddonInstance.go index 9576cbba702..b03a97f3bcd 100644 --- a/service/mailmanager/api_op_CreateAddonInstance.go +++ b/service/mailmanager/api_op_CreateAddonInstance.go @@ -125,9 +125,6 @@ func (c *Client) addOperationCreateAddonInstanceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAddonInstanceMiddleware(stack, options); err != nil { return err } diff --git a/service/mailmanager/api_op_CreateAddonSubscription.go b/service/mailmanager/api_op_CreateAddonSubscription.go index bb074814193..6f904bfe7b3 100644 --- a/service/mailmanager/api_op_CreateAddonSubscription.go +++ b/service/mailmanager/api_op_CreateAddonSubscription.go @@ -125,9 +125,6 @@ func (c *Client) addOperationCreateAddonSubscriptionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAddonSubscriptionMiddleware(stack, options); err != nil { return err } diff --git a/service/mailmanager/api_op_CreateAddressList.go b/service/mailmanager/api_op_CreateAddressList.go index 8faf59b172b..627dede0b48 100644 --- a/service/mailmanager/api_op_CreateAddressList.go +++ b/service/mailmanager/api_op_CreateAddressList.go @@ -122,9 +122,6 @@ func (c *Client) addOperationCreateAddressListMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAddressListMiddleware(stack, options); err != nil { return err } diff --git a/service/mailmanager/api_op_CreateAddressListImportJob.go b/service/mailmanager/api_op_CreateAddressListImportJob.go index 818c298f32d..24736adcd01 100644 --- a/service/mailmanager/api_op_CreateAddressListImportJob.go +++ b/service/mailmanager/api_op_CreateAddressListImportJob.go @@ -133,9 +133,6 @@ func (c *Client) addOperationCreateAddressListImportJobMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAddressListImportJobMiddleware(stack, options); err != nil { return err } diff --git a/service/mailmanager/api_op_CreateArchive.go b/service/mailmanager/api_op_CreateArchive.go index ca92e3b69f3..790700c8a47 100644 --- a/service/mailmanager/api_op_CreateArchive.go +++ b/service/mailmanager/api_op_CreateArchive.go @@ -130,9 +130,6 @@ func (c *Client) addOperationCreateArchiveMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateArchiveMiddleware(stack, options); err != nil { return err } diff --git a/service/mailmanager/api_op_CreateIngressPoint.go b/service/mailmanager/api_op_CreateIngressPoint.go index eb8c2635254..be580e7fd1e 100644 --- a/service/mailmanager/api_op_CreateIngressPoint.go +++ b/service/mailmanager/api_op_CreateIngressPoint.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCreateIngressPointMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateIngressPointMiddleware(stack, options); err != nil { return err } diff --git a/service/mailmanager/api_op_CreateRelay.go b/service/mailmanager/api_op_CreateRelay.go index 841d5416b62..82c9abd81a8 100644 --- a/service/mailmanager/api_op_CreateRelay.go +++ b/service/mailmanager/api_op_CreateRelay.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateRelayMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateRelayMiddleware(stack, options); err != nil { return err } diff --git a/service/mailmanager/api_op_CreateRuleSet.go b/service/mailmanager/api_op_CreateRuleSet.go index 520c9b429d8..a760617e5cf 100644 --- a/service/mailmanager/api_op_CreateRuleSet.go +++ b/service/mailmanager/api_op_CreateRuleSet.go @@ -127,9 +127,6 @@ func (c *Client) addOperationCreateRuleSetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateRuleSetMiddleware(stack, options); err != nil { return err } diff --git a/service/mailmanager/api_op_CreateTrafficPolicy.go b/service/mailmanager/api_op_CreateTrafficPolicy.go index 75ee6280664..00fe49dbb66 100644 --- a/service/mailmanager/api_op_CreateTrafficPolicy.go +++ b/service/mailmanager/api_op_CreateTrafficPolicy.go @@ -138,9 +138,6 @@ func (c *Client) addOperationCreateTrafficPolicyMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateTrafficPolicyMiddleware(stack, options); err != nil { return err } diff --git a/service/mailmanager/api_op_DeleteAddonInstance.go b/service/mailmanager/api_op_DeleteAddonInstance.go index eccc3b5e88b..ca288623edd 100644 --- a/service/mailmanager/api_op_DeleteAddonInstance.go +++ b/service/mailmanager/api_op_DeleteAddonInstance.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteAddonInstanceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAddonInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_DeleteAddonSubscription.go b/service/mailmanager/api_op_DeleteAddonSubscription.go index a1fa74a0530..da4ca0a0c56 100644 --- a/service/mailmanager/api_op_DeleteAddonSubscription.go +++ b/service/mailmanager/api_op_DeleteAddonSubscription.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteAddonSubscriptionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAddonSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_DeleteAddressList.go b/service/mailmanager/api_op_DeleteAddressList.go index b0bd7d7013e..511ef51e6b4 100644 --- a/service/mailmanager/api_op_DeleteAddressList.go +++ b/service/mailmanager/api_op_DeleteAddressList.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteAddressListMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAddressListValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_DeleteArchive.go b/service/mailmanager/api_op_DeleteArchive.go index 085c18f906f..bacfc942e0a 100644 --- a/service/mailmanager/api_op_DeleteArchive.go +++ b/service/mailmanager/api_op_DeleteArchive.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteArchiveMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteArchiveValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_DeleteIngressPoint.go b/service/mailmanager/api_op_DeleteIngressPoint.go index 19b6d7a07fb..5e19914cb3c 100644 --- a/service/mailmanager/api_op_DeleteIngressPoint.go +++ b/service/mailmanager/api_op_DeleteIngressPoint.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteIngressPointMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIngressPointValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_DeleteRelay.go b/service/mailmanager/api_op_DeleteRelay.go index 3778c222538..ddc43ee38d9 100644 --- a/service/mailmanager/api_op_DeleteRelay.go +++ b/service/mailmanager/api_op_DeleteRelay.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteRelayMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRelayValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_DeleteRuleSet.go b/service/mailmanager/api_op_DeleteRuleSet.go index 126f1265e5b..bd26c62331d 100644 --- a/service/mailmanager/api_op_DeleteRuleSet.go +++ b/service/mailmanager/api_op_DeleteRuleSet.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteRuleSetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRuleSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_DeleteTrafficPolicy.go b/service/mailmanager/api_op_DeleteTrafficPolicy.go index d589146cb30..8f91342278e 100644 --- a/service/mailmanager/api_op_DeleteTrafficPolicy.go +++ b/service/mailmanager/api_op_DeleteTrafficPolicy.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteTrafficPolicyMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTrafficPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_DeregisterMemberFromAddressList.go b/service/mailmanager/api_op_DeregisterMemberFromAddressList.go index ed240129bf3..1c3dc8ca09b 100644 --- a/service/mailmanager/api_op_DeregisterMemberFromAddressList.go +++ b/service/mailmanager/api_op_DeregisterMemberFromAddressList.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeregisterMemberFromAddressListMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterMemberFromAddressListValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_GetAddonInstance.go b/service/mailmanager/api_op_GetAddonInstance.go index d0043597da8..79105ee11f7 100644 --- a/service/mailmanager/api_op_GetAddonInstance.go +++ b/service/mailmanager/api_op_GetAddonInstance.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetAddonInstanceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAddonInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_GetAddonSubscription.go b/service/mailmanager/api_op_GetAddonSubscription.go index 91e5720fb8f..899ac7ffe94 100644 --- a/service/mailmanager/api_op_GetAddonSubscription.go +++ b/service/mailmanager/api_op_GetAddonSubscription.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetAddonSubscriptionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAddonSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_GetAddressList.go b/service/mailmanager/api_op_GetAddressList.go index 1ca954389b6..754324eb921 100644 --- a/service/mailmanager/api_op_GetAddressList.go +++ b/service/mailmanager/api_op_GetAddressList.go @@ -134,9 +134,6 @@ func (c *Client) addOperationGetAddressListMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAddressListValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_GetAddressListImportJob.go b/service/mailmanager/api_op_GetAddressListImportJob.go index bf3ba0bfff9..c75b1662c30 100644 --- a/service/mailmanager/api_op_GetAddressListImportJob.go +++ b/service/mailmanager/api_op_GetAddressListImportJob.go @@ -160,9 +160,6 @@ func (c *Client) addOperationGetAddressListImportJobMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAddressListImportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_GetArchive.go b/service/mailmanager/api_op_GetArchive.go index ac10c33262d..8a2acad03a4 100644 --- a/service/mailmanager/api_op_GetArchive.go +++ b/service/mailmanager/api_op_GetArchive.go @@ -152,9 +152,6 @@ func (c *Client) addOperationGetArchiveMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetArchiveValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_GetArchiveExport.go b/service/mailmanager/api_op_GetArchiveExport.go index 7a9db2ceaac..3c578860e09 100644 --- a/service/mailmanager/api_op_GetArchiveExport.go +++ b/service/mailmanager/api_op_GetArchiveExport.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetArchiveExportMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetArchiveExportValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_GetArchiveMessage.go b/service/mailmanager/api_op_GetArchiveMessage.go index 65b1a5a62dc..3159da89359 100644 --- a/service/mailmanager/api_op_GetArchiveMessage.go +++ b/service/mailmanager/api_op_GetArchiveMessage.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetArchiveMessageMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetArchiveMessageValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_GetArchiveMessageContent.go b/service/mailmanager/api_op_GetArchiveMessageContent.go index e5c46fa7229..dc3f6ec95cb 100644 --- a/service/mailmanager/api_op_GetArchiveMessageContent.go +++ b/service/mailmanager/api_op_GetArchiveMessageContent.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetArchiveMessageContentMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetArchiveMessageContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_GetArchiveSearch.go b/service/mailmanager/api_op_GetArchiveSearch.go index 8f9434f806f..0ab2c3e6b9e 100644 --- a/service/mailmanager/api_op_GetArchiveSearch.go +++ b/service/mailmanager/api_op_GetArchiveSearch.go @@ -130,9 +130,6 @@ func (c *Client) addOperationGetArchiveSearchMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetArchiveSearchValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_GetArchiveSearchResults.go b/service/mailmanager/api_op_GetArchiveSearchResults.go index 2ef0e1219ad..6d844a71677 100644 --- a/service/mailmanager/api_op_GetArchiveSearchResults.go +++ b/service/mailmanager/api_op_GetArchiveSearchResults.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetArchiveSearchResultsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetArchiveSearchResultsValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_GetIngressPoint.go b/service/mailmanager/api_op_GetIngressPoint.go index 965f6f0ed82..348383b7cd4 100644 --- a/service/mailmanager/api_op_GetIngressPoint.go +++ b/service/mailmanager/api_op_GetIngressPoint.go @@ -149,9 +149,6 @@ func (c *Client) addOperationGetIngressPointMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIngressPointValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_GetMemberOfAddressList.go b/service/mailmanager/api_op_GetMemberOfAddressList.go index 4377f84c25a..906cb66e1bd 100644 --- a/service/mailmanager/api_op_GetMemberOfAddressList.go +++ b/service/mailmanager/api_op_GetMemberOfAddressList.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetMemberOfAddressListMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMemberOfAddressListValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_GetRelay.go b/service/mailmanager/api_op_GetRelay.go index 85dc3b62c99..5e175f6217b 100644 --- a/service/mailmanager/api_op_GetRelay.go +++ b/service/mailmanager/api_op_GetRelay.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGetRelayMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRelayValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_GetRuleSet.go b/service/mailmanager/api_op_GetRuleSet.go index 61d6e3d199e..d33f02820f0 100644 --- a/service/mailmanager/api_op_GetRuleSet.go +++ b/service/mailmanager/api_op_GetRuleSet.go @@ -140,9 +140,6 @@ func (c *Client) addOperationGetRuleSetMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRuleSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_GetTrafficPolicy.go b/service/mailmanager/api_op_GetTrafficPolicy.go index e3ee8986401..ae3e78e6a67 100644 --- a/service/mailmanager/api_op_GetTrafficPolicy.go +++ b/service/mailmanager/api_op_GetTrafficPolicy.go @@ -139,9 +139,6 @@ func (c *Client) addOperationGetTrafficPolicyMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTrafficPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_ListAddonInstances.go b/service/mailmanager/api_op_ListAddonInstances.go index bc850fb9d2f..a40574098ce 100644 --- a/service/mailmanager/api_op_ListAddonInstances.go +++ b/service/mailmanager/api_op_ListAddonInstances.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListAddonInstancesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAddonInstances(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mailmanager/api_op_ListAddonSubscriptions.go b/service/mailmanager/api_op_ListAddonSubscriptions.go index 19db58a624c..9bb911404eb 100644 --- a/service/mailmanager/api_op_ListAddonSubscriptions.go +++ b/service/mailmanager/api_op_ListAddonSubscriptions.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListAddonSubscriptionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAddonSubscriptions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mailmanager/api_op_ListAddressListImportJobs.go b/service/mailmanager/api_op_ListAddressListImportJobs.go index bf0aacb478e..0e469d0a164 100644 --- a/service/mailmanager/api_op_ListAddressListImportJobs.go +++ b/service/mailmanager/api_op_ListAddressListImportJobs.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListAddressListImportJobsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAddressListImportJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_ListAddressLists.go b/service/mailmanager/api_op_ListAddressLists.go index 2812d202707..15a2db17b5a 100644 --- a/service/mailmanager/api_op_ListAddressLists.go +++ b/service/mailmanager/api_op_ListAddressLists.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListAddressListsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAddressLists(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mailmanager/api_op_ListArchiveExports.go b/service/mailmanager/api_op_ListArchiveExports.go index 304994610e5..4fd2f617b2c 100644 --- a/service/mailmanager/api_op_ListArchiveExports.go +++ b/service/mailmanager/api_op_ListArchiveExports.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListArchiveExportsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListArchiveExportsValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_ListArchiveSearches.go b/service/mailmanager/api_op_ListArchiveSearches.go index 179f998c57d..7c312f85c37 100644 --- a/service/mailmanager/api_op_ListArchiveSearches.go +++ b/service/mailmanager/api_op_ListArchiveSearches.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListArchiveSearchesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListArchiveSearchesValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_ListArchives.go b/service/mailmanager/api_op_ListArchives.go index ad5faf07ea8..39dd51d3c4f 100644 --- a/service/mailmanager/api_op_ListArchives.go +++ b/service/mailmanager/api_op_ListArchives.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListArchivesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListArchives(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mailmanager/api_op_ListIngressPoints.go b/service/mailmanager/api_op_ListIngressPoints.go index f7bdbf0f525..fcaf9409d49 100644 --- a/service/mailmanager/api_op_ListIngressPoints.go +++ b/service/mailmanager/api_op_ListIngressPoints.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListIngressPointsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIngressPoints(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mailmanager/api_op_ListMembersOfAddressList.go b/service/mailmanager/api_op_ListMembersOfAddressList.go index 3164f715648..65fde7bfd8c 100644 --- a/service/mailmanager/api_op_ListMembersOfAddressList.go +++ b/service/mailmanager/api_op_ListMembersOfAddressList.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListMembersOfAddressListMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMembersOfAddressListValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_ListRelays.go b/service/mailmanager/api_op_ListRelays.go index fe8cb7754c0..af151f2d5f6 100644 --- a/service/mailmanager/api_op_ListRelays.go +++ b/service/mailmanager/api_op_ListRelays.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListRelaysMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRelays(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mailmanager/api_op_ListRuleSets.go b/service/mailmanager/api_op_ListRuleSets.go index e572f686d5b..a4e0d670825 100644 --- a/service/mailmanager/api_op_ListRuleSets.go +++ b/service/mailmanager/api_op_ListRuleSets.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListRuleSetsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRuleSets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mailmanager/api_op_ListTagsForResource.go b/service/mailmanager/api_op_ListTagsForResource.go index 1a725848f40..69f4841835d 100644 --- a/service/mailmanager/api_op_ListTagsForResource.go +++ b/service/mailmanager/api_op_ListTagsForResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_ListTrafficPolicies.go b/service/mailmanager/api_op_ListTrafficPolicies.go index 5f4a4761d47..b5188653fdf 100644 --- a/service/mailmanager/api_op_ListTrafficPolicies.go +++ b/service/mailmanager/api_op_ListTrafficPolicies.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListTrafficPoliciesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTrafficPolicies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mailmanager/api_op_RegisterMemberToAddressList.go b/service/mailmanager/api_op_RegisterMemberToAddressList.go index 8136b38a026..3b8beca022a 100644 --- a/service/mailmanager/api_op_RegisterMemberToAddressList.go +++ b/service/mailmanager/api_op_RegisterMemberToAddressList.go @@ -112,9 +112,6 @@ func (c *Client) addOperationRegisterMemberToAddressListMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterMemberToAddressListValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_StartAddressListImportJob.go b/service/mailmanager/api_op_StartAddressListImportJob.go index 1bb18fe455d..db8e487eaef 100644 --- a/service/mailmanager/api_op_StartAddressListImportJob.go +++ b/service/mailmanager/api_op_StartAddressListImportJob.go @@ -107,9 +107,6 @@ func (c *Client) addOperationStartAddressListImportJobMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartAddressListImportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_StartArchiveExport.go b/service/mailmanager/api_op_StartArchiveExport.go index 9ffb82d781b..7e4946f61fa 100644 --- a/service/mailmanager/api_op_StartArchiveExport.go +++ b/service/mailmanager/api_op_StartArchiveExport.go @@ -139,9 +139,6 @@ func (c *Client) addOperationStartArchiveExportMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartArchiveExportValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_StartArchiveSearch.go b/service/mailmanager/api_op_StartArchiveSearch.go index e2fedec1c3f..ca9a14c3d55 100644 --- a/service/mailmanager/api_op_StartArchiveSearch.go +++ b/service/mailmanager/api_op_StartArchiveSearch.go @@ -133,9 +133,6 @@ func (c *Client) addOperationStartArchiveSearchMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartArchiveSearchValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_StopAddressListImportJob.go b/service/mailmanager/api_op_StopAddressListImportJob.go index 6afb8229726..cd75d84e6a9 100644 --- a/service/mailmanager/api_op_StopAddressListImportJob.go +++ b/service/mailmanager/api_op_StopAddressListImportJob.go @@ -107,9 +107,6 @@ func (c *Client) addOperationStopAddressListImportJobMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopAddressListImportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_StopArchiveExport.go b/service/mailmanager/api_op_StopArchiveExport.go index 3ef1355518e..ab646e66aa0 100644 --- a/service/mailmanager/api_op_StopArchiveExport.go +++ b/service/mailmanager/api_op_StopArchiveExport.go @@ -112,9 +112,6 @@ func (c *Client) addOperationStopArchiveExportMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopArchiveExportValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_StopArchiveSearch.go b/service/mailmanager/api_op_StopArchiveSearch.go index 9df0e8879aa..4c4dcbba793 100644 --- a/service/mailmanager/api_op_StopArchiveSearch.go +++ b/service/mailmanager/api_op_StopArchiveSearch.go @@ -112,9 +112,6 @@ func (c *Client) addOperationStopArchiveSearchMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopArchiveSearchValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_TagResource.go b/service/mailmanager/api_op_TagResource.go index 3ff9c1063f2..b3b9db74402 100644 --- a/service/mailmanager/api_op_TagResource.go +++ b/service/mailmanager/api_op_TagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_UntagResource.go b/service/mailmanager/api_op_UntagResource.go index d4ff8aa602b..efbb458c012 100644 --- a/service/mailmanager/api_op_UntagResource.go +++ b/service/mailmanager/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_UpdateArchive.go b/service/mailmanager/api_op_UpdateArchive.go index 2f71475b52d..8d865483917 100644 --- a/service/mailmanager/api_op_UpdateArchive.go +++ b/service/mailmanager/api_op_UpdateArchive.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateArchiveMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateArchiveValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_UpdateIngressPoint.go b/service/mailmanager/api_op_UpdateIngressPoint.go index 33436bf49b5..59b0b508969 100644 --- a/service/mailmanager/api_op_UpdateIngressPoint.go +++ b/service/mailmanager/api_op_UpdateIngressPoint.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateIngressPointMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateIngressPointValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_UpdateRelay.go b/service/mailmanager/api_op_UpdateRelay.go index 1e41741f895..e3f3a461c9d 100644 --- a/service/mailmanager/api_op_UpdateRelay.go +++ b/service/mailmanager/api_op_UpdateRelay.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateRelayMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRelayValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_UpdateRuleSet.go b/service/mailmanager/api_op_UpdateRuleSet.go index 5b3a6bf4612..d0615623145 100644 --- a/service/mailmanager/api_op_UpdateRuleSet.go +++ b/service/mailmanager/api_op_UpdateRuleSet.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUpdateRuleSetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRuleSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/api_op_UpdateTrafficPolicy.go b/service/mailmanager/api_op_UpdateTrafficPolicy.go index 6fb11bd0661..73ff8587e7e 100644 --- a/service/mailmanager/api_op_UpdateTrafficPolicy.go +++ b/service/mailmanager/api_op_UpdateTrafficPolicy.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateTrafficPolicyMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTrafficPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/mailmanager/snapshot/api_op_CreateAddonInstance.go.snap b/service/mailmanager/snapshot/api_op_CreateAddonInstance.go.snap index c5d5e774039..2251e70d0fe 100644 --- a/service/mailmanager/snapshot/api_op_CreateAddonInstance.go.snap +++ b/service/mailmanager/snapshot/api_op_CreateAddonInstance.go.snap @@ -15,7 +15,6 @@ CreateAddonInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_CreateAddonSubscription.go.snap b/service/mailmanager/snapshot/api_op_CreateAddonSubscription.go.snap index 6bf239f316a..22fcfb44c8c 100644 --- a/service/mailmanager/snapshot/api_op_CreateAddonSubscription.go.snap +++ b/service/mailmanager/snapshot/api_op_CreateAddonSubscription.go.snap @@ -15,7 +15,6 @@ CreateAddonSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_CreateAddressList.go.snap b/service/mailmanager/snapshot/api_op_CreateAddressList.go.snap index fbbc0b024b7..30c348ab83f 100644 --- a/service/mailmanager/snapshot/api_op_CreateAddressList.go.snap +++ b/service/mailmanager/snapshot/api_op_CreateAddressList.go.snap @@ -15,7 +15,6 @@ CreateAddressList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_CreateAddressListImportJob.go.snap b/service/mailmanager/snapshot/api_op_CreateAddressListImportJob.go.snap index 1561a2b63ed..b6823401941 100644 --- a/service/mailmanager/snapshot/api_op_CreateAddressListImportJob.go.snap +++ b/service/mailmanager/snapshot/api_op_CreateAddressListImportJob.go.snap @@ -15,7 +15,6 @@ CreateAddressListImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_CreateArchive.go.snap b/service/mailmanager/snapshot/api_op_CreateArchive.go.snap index eb8698f6a6d..657f145c133 100644 --- a/service/mailmanager/snapshot/api_op_CreateArchive.go.snap +++ b/service/mailmanager/snapshot/api_op_CreateArchive.go.snap @@ -15,7 +15,6 @@ CreateArchive Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_CreateIngressPoint.go.snap b/service/mailmanager/snapshot/api_op_CreateIngressPoint.go.snap index 7f9e578204c..cd9be2fa8e9 100644 --- a/service/mailmanager/snapshot/api_op_CreateIngressPoint.go.snap +++ b/service/mailmanager/snapshot/api_op_CreateIngressPoint.go.snap @@ -15,7 +15,6 @@ CreateIngressPoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_CreateRelay.go.snap b/service/mailmanager/snapshot/api_op_CreateRelay.go.snap index d66313dc46b..6dd0ebaf065 100644 --- a/service/mailmanager/snapshot/api_op_CreateRelay.go.snap +++ b/service/mailmanager/snapshot/api_op_CreateRelay.go.snap @@ -15,7 +15,6 @@ CreateRelay Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_CreateRuleSet.go.snap b/service/mailmanager/snapshot/api_op_CreateRuleSet.go.snap index e022e3f4e97..ecf4e3b7a78 100644 --- a/service/mailmanager/snapshot/api_op_CreateRuleSet.go.snap +++ b/service/mailmanager/snapshot/api_op_CreateRuleSet.go.snap @@ -15,7 +15,6 @@ CreateRuleSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_CreateTrafficPolicy.go.snap b/service/mailmanager/snapshot/api_op_CreateTrafficPolicy.go.snap index a3419ec7d22..f0dc0f47f0a 100644 --- a/service/mailmanager/snapshot/api_op_CreateTrafficPolicy.go.snap +++ b/service/mailmanager/snapshot/api_op_CreateTrafficPolicy.go.snap @@ -15,7 +15,6 @@ CreateTrafficPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_DeleteAddonInstance.go.snap b/service/mailmanager/snapshot/api_op_DeleteAddonInstance.go.snap index dfdb0032967..9497d91ffda 100644 --- a/service/mailmanager/snapshot/api_op_DeleteAddonInstance.go.snap +++ b/service/mailmanager/snapshot/api_op_DeleteAddonInstance.go.snap @@ -14,7 +14,6 @@ DeleteAddonInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_DeleteAddonSubscription.go.snap b/service/mailmanager/snapshot/api_op_DeleteAddonSubscription.go.snap index 2ae422f3d86..0e648168750 100644 --- a/service/mailmanager/snapshot/api_op_DeleteAddonSubscription.go.snap +++ b/service/mailmanager/snapshot/api_op_DeleteAddonSubscription.go.snap @@ -14,7 +14,6 @@ DeleteAddonSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_DeleteAddressList.go.snap b/service/mailmanager/snapshot/api_op_DeleteAddressList.go.snap index c55c65218e6..d5767c76d5e 100644 --- a/service/mailmanager/snapshot/api_op_DeleteAddressList.go.snap +++ b/service/mailmanager/snapshot/api_op_DeleteAddressList.go.snap @@ -14,7 +14,6 @@ DeleteAddressList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_DeleteArchive.go.snap b/service/mailmanager/snapshot/api_op_DeleteArchive.go.snap index f9b75f67fc3..37427d3c201 100644 --- a/service/mailmanager/snapshot/api_op_DeleteArchive.go.snap +++ b/service/mailmanager/snapshot/api_op_DeleteArchive.go.snap @@ -14,7 +14,6 @@ DeleteArchive Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_DeleteIngressPoint.go.snap b/service/mailmanager/snapshot/api_op_DeleteIngressPoint.go.snap index 44c8af5bc83..776221d7835 100644 --- a/service/mailmanager/snapshot/api_op_DeleteIngressPoint.go.snap +++ b/service/mailmanager/snapshot/api_op_DeleteIngressPoint.go.snap @@ -14,7 +14,6 @@ DeleteIngressPoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_DeleteRelay.go.snap b/service/mailmanager/snapshot/api_op_DeleteRelay.go.snap index 0839a5dcf4f..890c5e4df39 100644 --- a/service/mailmanager/snapshot/api_op_DeleteRelay.go.snap +++ b/service/mailmanager/snapshot/api_op_DeleteRelay.go.snap @@ -14,7 +14,6 @@ DeleteRelay Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_DeleteRuleSet.go.snap b/service/mailmanager/snapshot/api_op_DeleteRuleSet.go.snap index 60c3bb3f453..e4082437767 100644 --- a/service/mailmanager/snapshot/api_op_DeleteRuleSet.go.snap +++ b/service/mailmanager/snapshot/api_op_DeleteRuleSet.go.snap @@ -14,7 +14,6 @@ DeleteRuleSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_DeleteTrafficPolicy.go.snap b/service/mailmanager/snapshot/api_op_DeleteTrafficPolicy.go.snap index 6817fbc4d96..07db0ec4602 100644 --- a/service/mailmanager/snapshot/api_op_DeleteTrafficPolicy.go.snap +++ b/service/mailmanager/snapshot/api_op_DeleteTrafficPolicy.go.snap @@ -14,7 +14,6 @@ DeleteTrafficPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_DeregisterMemberFromAddressList.go.snap b/service/mailmanager/snapshot/api_op_DeregisterMemberFromAddressList.go.snap index 0128db1fecc..b24f4961b43 100644 --- a/service/mailmanager/snapshot/api_op_DeregisterMemberFromAddressList.go.snap +++ b/service/mailmanager/snapshot/api_op_DeregisterMemberFromAddressList.go.snap @@ -14,7 +14,6 @@ DeregisterMemberFromAddressList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_GetAddonInstance.go.snap b/service/mailmanager/snapshot/api_op_GetAddonInstance.go.snap index 632de626b21..47344eb7507 100644 --- a/service/mailmanager/snapshot/api_op_GetAddonInstance.go.snap +++ b/service/mailmanager/snapshot/api_op_GetAddonInstance.go.snap @@ -14,7 +14,6 @@ GetAddonInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_GetAddonSubscription.go.snap b/service/mailmanager/snapshot/api_op_GetAddonSubscription.go.snap index 472cacd5297..5a97552fc54 100644 --- a/service/mailmanager/snapshot/api_op_GetAddonSubscription.go.snap +++ b/service/mailmanager/snapshot/api_op_GetAddonSubscription.go.snap @@ -14,7 +14,6 @@ GetAddonSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_GetAddressList.go.snap b/service/mailmanager/snapshot/api_op_GetAddressList.go.snap index 028105f42a6..bcd3b4ff7d3 100644 --- a/service/mailmanager/snapshot/api_op_GetAddressList.go.snap +++ b/service/mailmanager/snapshot/api_op_GetAddressList.go.snap @@ -14,7 +14,6 @@ GetAddressList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_GetAddressListImportJob.go.snap b/service/mailmanager/snapshot/api_op_GetAddressListImportJob.go.snap index 47e2fb4afc1..fe4be84641b 100644 --- a/service/mailmanager/snapshot/api_op_GetAddressListImportJob.go.snap +++ b/service/mailmanager/snapshot/api_op_GetAddressListImportJob.go.snap @@ -14,7 +14,6 @@ GetAddressListImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_GetArchive.go.snap b/service/mailmanager/snapshot/api_op_GetArchive.go.snap index 29695125a39..17b441735d2 100644 --- a/service/mailmanager/snapshot/api_op_GetArchive.go.snap +++ b/service/mailmanager/snapshot/api_op_GetArchive.go.snap @@ -14,7 +14,6 @@ GetArchive Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_GetArchiveExport.go.snap b/service/mailmanager/snapshot/api_op_GetArchiveExport.go.snap index 692c29c3084..e639fd6e3c2 100644 --- a/service/mailmanager/snapshot/api_op_GetArchiveExport.go.snap +++ b/service/mailmanager/snapshot/api_op_GetArchiveExport.go.snap @@ -14,7 +14,6 @@ GetArchiveExport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_GetArchiveMessage.go.snap b/service/mailmanager/snapshot/api_op_GetArchiveMessage.go.snap index 5b1e30274a6..fc698c5267b 100644 --- a/service/mailmanager/snapshot/api_op_GetArchiveMessage.go.snap +++ b/service/mailmanager/snapshot/api_op_GetArchiveMessage.go.snap @@ -14,7 +14,6 @@ GetArchiveMessage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_GetArchiveMessageContent.go.snap b/service/mailmanager/snapshot/api_op_GetArchiveMessageContent.go.snap index 05c9cb8d111..ae30878ea10 100644 --- a/service/mailmanager/snapshot/api_op_GetArchiveMessageContent.go.snap +++ b/service/mailmanager/snapshot/api_op_GetArchiveMessageContent.go.snap @@ -14,7 +14,6 @@ GetArchiveMessageContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_GetArchiveSearch.go.snap b/service/mailmanager/snapshot/api_op_GetArchiveSearch.go.snap index c8f08078a10..a93853da5b9 100644 --- a/service/mailmanager/snapshot/api_op_GetArchiveSearch.go.snap +++ b/service/mailmanager/snapshot/api_op_GetArchiveSearch.go.snap @@ -14,7 +14,6 @@ GetArchiveSearch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_GetArchiveSearchResults.go.snap b/service/mailmanager/snapshot/api_op_GetArchiveSearchResults.go.snap index d322b60c5bf..96175c7ea1b 100644 --- a/service/mailmanager/snapshot/api_op_GetArchiveSearchResults.go.snap +++ b/service/mailmanager/snapshot/api_op_GetArchiveSearchResults.go.snap @@ -14,7 +14,6 @@ GetArchiveSearchResults Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_GetIngressPoint.go.snap b/service/mailmanager/snapshot/api_op_GetIngressPoint.go.snap index 531880ae170..02946cfe327 100644 --- a/service/mailmanager/snapshot/api_op_GetIngressPoint.go.snap +++ b/service/mailmanager/snapshot/api_op_GetIngressPoint.go.snap @@ -14,7 +14,6 @@ GetIngressPoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_GetMemberOfAddressList.go.snap b/service/mailmanager/snapshot/api_op_GetMemberOfAddressList.go.snap index b1ba0a435c9..14c70cb37d4 100644 --- a/service/mailmanager/snapshot/api_op_GetMemberOfAddressList.go.snap +++ b/service/mailmanager/snapshot/api_op_GetMemberOfAddressList.go.snap @@ -14,7 +14,6 @@ GetMemberOfAddressList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_GetRelay.go.snap b/service/mailmanager/snapshot/api_op_GetRelay.go.snap index 57fb5ccd248..47c452ced36 100644 --- a/service/mailmanager/snapshot/api_op_GetRelay.go.snap +++ b/service/mailmanager/snapshot/api_op_GetRelay.go.snap @@ -14,7 +14,6 @@ GetRelay Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_GetRuleSet.go.snap b/service/mailmanager/snapshot/api_op_GetRuleSet.go.snap index ba84c4fb4c6..3626a3c113d 100644 --- a/service/mailmanager/snapshot/api_op_GetRuleSet.go.snap +++ b/service/mailmanager/snapshot/api_op_GetRuleSet.go.snap @@ -14,7 +14,6 @@ GetRuleSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_GetTrafficPolicy.go.snap b/service/mailmanager/snapshot/api_op_GetTrafficPolicy.go.snap index 87ee15bac11..ae7a3ee732b 100644 --- a/service/mailmanager/snapshot/api_op_GetTrafficPolicy.go.snap +++ b/service/mailmanager/snapshot/api_op_GetTrafficPolicy.go.snap @@ -14,7 +14,6 @@ GetTrafficPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_ListAddonInstances.go.snap b/service/mailmanager/snapshot/api_op_ListAddonInstances.go.snap index 363b8ccdfd6..a5312fb8ebc 100644 --- a/service/mailmanager/snapshot/api_op_ListAddonInstances.go.snap +++ b/service/mailmanager/snapshot/api_op_ListAddonInstances.go.snap @@ -13,7 +13,6 @@ ListAddonInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_ListAddonSubscriptions.go.snap b/service/mailmanager/snapshot/api_op_ListAddonSubscriptions.go.snap index ee8593f17ce..2504f3e7250 100644 --- a/service/mailmanager/snapshot/api_op_ListAddonSubscriptions.go.snap +++ b/service/mailmanager/snapshot/api_op_ListAddonSubscriptions.go.snap @@ -13,7 +13,6 @@ ListAddonSubscriptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_ListAddressListImportJobs.go.snap b/service/mailmanager/snapshot/api_op_ListAddressListImportJobs.go.snap index 05421b654c9..a2655056e32 100644 --- a/service/mailmanager/snapshot/api_op_ListAddressListImportJobs.go.snap +++ b/service/mailmanager/snapshot/api_op_ListAddressListImportJobs.go.snap @@ -14,7 +14,6 @@ ListAddressListImportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_ListAddressLists.go.snap b/service/mailmanager/snapshot/api_op_ListAddressLists.go.snap index 4e85273a02f..7e2576e972d 100644 --- a/service/mailmanager/snapshot/api_op_ListAddressLists.go.snap +++ b/service/mailmanager/snapshot/api_op_ListAddressLists.go.snap @@ -13,7 +13,6 @@ ListAddressLists Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_ListArchiveExports.go.snap b/service/mailmanager/snapshot/api_op_ListArchiveExports.go.snap index 86466fefa5d..edfcce9a473 100644 --- a/service/mailmanager/snapshot/api_op_ListArchiveExports.go.snap +++ b/service/mailmanager/snapshot/api_op_ListArchiveExports.go.snap @@ -14,7 +14,6 @@ ListArchiveExports Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_ListArchiveSearches.go.snap b/service/mailmanager/snapshot/api_op_ListArchiveSearches.go.snap index 74ccda6ff03..749bbb8b3aa 100644 --- a/service/mailmanager/snapshot/api_op_ListArchiveSearches.go.snap +++ b/service/mailmanager/snapshot/api_op_ListArchiveSearches.go.snap @@ -14,7 +14,6 @@ ListArchiveSearches Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_ListArchives.go.snap b/service/mailmanager/snapshot/api_op_ListArchives.go.snap index 504490d1dd5..30242ee7272 100644 --- a/service/mailmanager/snapshot/api_op_ListArchives.go.snap +++ b/service/mailmanager/snapshot/api_op_ListArchives.go.snap @@ -13,7 +13,6 @@ ListArchives Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_ListIngressPoints.go.snap b/service/mailmanager/snapshot/api_op_ListIngressPoints.go.snap index 33d267e62e5..330731eaabc 100644 --- a/service/mailmanager/snapshot/api_op_ListIngressPoints.go.snap +++ b/service/mailmanager/snapshot/api_op_ListIngressPoints.go.snap @@ -13,7 +13,6 @@ ListIngressPoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_ListMembersOfAddressList.go.snap b/service/mailmanager/snapshot/api_op_ListMembersOfAddressList.go.snap index 971cdc93a5a..b66903857ec 100644 --- a/service/mailmanager/snapshot/api_op_ListMembersOfAddressList.go.snap +++ b/service/mailmanager/snapshot/api_op_ListMembersOfAddressList.go.snap @@ -14,7 +14,6 @@ ListMembersOfAddressList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_ListRelays.go.snap b/service/mailmanager/snapshot/api_op_ListRelays.go.snap index c457514a983..871a5993a8d 100644 --- a/service/mailmanager/snapshot/api_op_ListRelays.go.snap +++ b/service/mailmanager/snapshot/api_op_ListRelays.go.snap @@ -13,7 +13,6 @@ ListRelays Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_ListRuleSets.go.snap b/service/mailmanager/snapshot/api_op_ListRuleSets.go.snap index 4cf8f32811f..022542cdcdb 100644 --- a/service/mailmanager/snapshot/api_op_ListRuleSets.go.snap +++ b/service/mailmanager/snapshot/api_op_ListRuleSets.go.snap @@ -13,7 +13,6 @@ ListRuleSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_ListTagsForResource.go.snap b/service/mailmanager/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/mailmanager/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/mailmanager/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_ListTrafficPolicies.go.snap b/service/mailmanager/snapshot/api_op_ListTrafficPolicies.go.snap index ef4252caf67..c4d9672261a 100644 --- a/service/mailmanager/snapshot/api_op_ListTrafficPolicies.go.snap +++ b/service/mailmanager/snapshot/api_op_ListTrafficPolicies.go.snap @@ -13,7 +13,6 @@ ListTrafficPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_RegisterMemberToAddressList.go.snap b/service/mailmanager/snapshot/api_op_RegisterMemberToAddressList.go.snap index eb96ae851e8..ca61177b35a 100644 --- a/service/mailmanager/snapshot/api_op_RegisterMemberToAddressList.go.snap +++ b/service/mailmanager/snapshot/api_op_RegisterMemberToAddressList.go.snap @@ -14,7 +14,6 @@ RegisterMemberToAddressList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_StartAddressListImportJob.go.snap b/service/mailmanager/snapshot/api_op_StartAddressListImportJob.go.snap index 4eb93c50ba7..8949fe89905 100644 --- a/service/mailmanager/snapshot/api_op_StartAddressListImportJob.go.snap +++ b/service/mailmanager/snapshot/api_op_StartAddressListImportJob.go.snap @@ -14,7 +14,6 @@ StartAddressListImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_StartArchiveExport.go.snap b/service/mailmanager/snapshot/api_op_StartArchiveExport.go.snap index 7c7bb51c67e..a39c0711aaf 100644 --- a/service/mailmanager/snapshot/api_op_StartArchiveExport.go.snap +++ b/service/mailmanager/snapshot/api_op_StartArchiveExport.go.snap @@ -14,7 +14,6 @@ StartArchiveExport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_StartArchiveSearch.go.snap b/service/mailmanager/snapshot/api_op_StartArchiveSearch.go.snap index 4ca4a08c916..e178e806987 100644 --- a/service/mailmanager/snapshot/api_op_StartArchiveSearch.go.snap +++ b/service/mailmanager/snapshot/api_op_StartArchiveSearch.go.snap @@ -14,7 +14,6 @@ StartArchiveSearch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_StopAddressListImportJob.go.snap b/service/mailmanager/snapshot/api_op_StopAddressListImportJob.go.snap index 398214dc450..4952129dd75 100644 --- a/service/mailmanager/snapshot/api_op_StopAddressListImportJob.go.snap +++ b/service/mailmanager/snapshot/api_op_StopAddressListImportJob.go.snap @@ -14,7 +14,6 @@ StopAddressListImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_StopArchiveExport.go.snap b/service/mailmanager/snapshot/api_op_StopArchiveExport.go.snap index 9086b60b8be..7e6d2898722 100644 --- a/service/mailmanager/snapshot/api_op_StopArchiveExport.go.snap +++ b/service/mailmanager/snapshot/api_op_StopArchiveExport.go.snap @@ -14,7 +14,6 @@ StopArchiveExport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_StopArchiveSearch.go.snap b/service/mailmanager/snapshot/api_op_StopArchiveSearch.go.snap index 867675ba13e..84b69feb17c 100644 --- a/service/mailmanager/snapshot/api_op_StopArchiveSearch.go.snap +++ b/service/mailmanager/snapshot/api_op_StopArchiveSearch.go.snap @@ -14,7 +14,6 @@ StopArchiveSearch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_TagResource.go.snap b/service/mailmanager/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/mailmanager/snapshot/api_op_TagResource.go.snap +++ b/service/mailmanager/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_UntagResource.go.snap b/service/mailmanager/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/mailmanager/snapshot/api_op_UntagResource.go.snap +++ b/service/mailmanager/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_UpdateArchive.go.snap b/service/mailmanager/snapshot/api_op_UpdateArchive.go.snap index f94593bcbb8..df2a1c64d4c 100644 --- a/service/mailmanager/snapshot/api_op_UpdateArchive.go.snap +++ b/service/mailmanager/snapshot/api_op_UpdateArchive.go.snap @@ -14,7 +14,6 @@ UpdateArchive Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_UpdateIngressPoint.go.snap b/service/mailmanager/snapshot/api_op_UpdateIngressPoint.go.snap index 57226f2ad5e..ac9ed88bfb5 100644 --- a/service/mailmanager/snapshot/api_op_UpdateIngressPoint.go.snap +++ b/service/mailmanager/snapshot/api_op_UpdateIngressPoint.go.snap @@ -14,7 +14,6 @@ UpdateIngressPoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_UpdateRelay.go.snap b/service/mailmanager/snapshot/api_op_UpdateRelay.go.snap index 519f2facc86..3723e84dfff 100644 --- a/service/mailmanager/snapshot/api_op_UpdateRelay.go.snap +++ b/service/mailmanager/snapshot/api_op_UpdateRelay.go.snap @@ -14,7 +14,6 @@ UpdateRelay Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_UpdateRuleSet.go.snap b/service/mailmanager/snapshot/api_op_UpdateRuleSet.go.snap index 9aca8c8f863..56ed6564189 100644 --- a/service/mailmanager/snapshot/api_op_UpdateRuleSet.go.snap +++ b/service/mailmanager/snapshot/api_op_UpdateRuleSet.go.snap @@ -14,7 +14,6 @@ UpdateRuleSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mailmanager/snapshot/api_op_UpdateTrafficPolicy.go.snap b/service/mailmanager/snapshot/api_op_UpdateTrafficPolicy.go.snap index c2f34c7a6ae..8ca6d78254b 100644 --- a/service/mailmanager/snapshot/api_op_UpdateTrafficPolicy.go.snap +++ b/service/mailmanager/snapshot/api_op_UpdateTrafficPolicy.go.snap @@ -14,7 +14,6 @@ UpdateTrafficPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchain/api_client.go b/service/managedblockchain/api_client.go index 07983db7bf9..6bfb2ec0b80 100644 --- a/service/managedblockchain/api_client.go +++ b/service/managedblockchain/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/managedblockchain/api_op_CreateAccessor.go b/service/managedblockchain/api_op_CreateAccessor.go index 6c7499a90f0..055c1e44e2e 100644 --- a/service/managedblockchain/api_op_CreateAccessor.go +++ b/service/managedblockchain/api_op_CreateAccessor.go @@ -165,9 +165,6 @@ func (c *Client) addOperationCreateAccessorMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAccessorMiddleware(stack, options); err != nil { return err } diff --git a/service/managedblockchain/api_op_CreateMember.go b/service/managedblockchain/api_op_CreateMember.go index 94e06e0d23d..c3efce0c58b 100644 --- a/service/managedblockchain/api_op_CreateMember.go +++ b/service/managedblockchain/api_op_CreateMember.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCreateMemberMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateMemberMiddleware(stack, options); err != nil { return err } diff --git a/service/managedblockchain/api_op_CreateNetwork.go b/service/managedblockchain/api_op_CreateNetwork.go index 10ab2d72067..0e3861a1e88 100644 --- a/service/managedblockchain/api_op_CreateNetwork.go +++ b/service/managedblockchain/api_op_CreateNetwork.go @@ -166,9 +166,6 @@ func (c *Client) addOperationCreateNetworkMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateNetworkMiddleware(stack, options); err != nil { return err } diff --git a/service/managedblockchain/api_op_CreateNode.go b/service/managedblockchain/api_op_CreateNode.go index 3b4d2a17708..7aec955175b 100644 --- a/service/managedblockchain/api_op_CreateNode.go +++ b/service/managedblockchain/api_op_CreateNode.go @@ -150,9 +150,6 @@ func (c *Client) addOperationCreateNodeMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateNodeMiddleware(stack, options); err != nil { return err } diff --git a/service/managedblockchain/api_op_CreateProposal.go b/service/managedblockchain/api_op_CreateProposal.go index 9c5393856b2..052b68da79a 100644 --- a/service/managedblockchain/api_op_CreateProposal.go +++ b/service/managedblockchain/api_op_CreateProposal.go @@ -156,9 +156,6 @@ func (c *Client) addOperationCreateProposalMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateProposalMiddleware(stack, options); err != nil { return err } diff --git a/service/managedblockchain/api_op_DeleteAccessor.go b/service/managedblockchain/api_op_DeleteAccessor.go index 630b07a5342..28ae40291b6 100644 --- a/service/managedblockchain/api_op_DeleteAccessor.go +++ b/service/managedblockchain/api_op_DeleteAccessor.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteAccessorMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAccessorValidationMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_DeleteMember.go b/service/managedblockchain/api_op_DeleteMember.go index 5d79ff218f4..2f8d6b1374e 100644 --- a/service/managedblockchain/api_op_DeleteMember.go +++ b/service/managedblockchain/api_op_DeleteMember.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteMemberMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMemberValidationMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_DeleteNode.go b/service/managedblockchain/api_op_DeleteNode.go index 4d629a3841a..cc3116e9d3e 100644 --- a/service/managedblockchain/api_op_DeleteNode.go +++ b/service/managedblockchain/api_op_DeleteNode.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteNodeMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteNodeValidationMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_GetAccessor.go b/service/managedblockchain/api_op_GetAccessor.go index 787d722dae0..851c1cf05e7 100644 --- a/service/managedblockchain/api_op_GetAccessor.go +++ b/service/managedblockchain/api_op_GetAccessor.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetAccessorMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAccessorValidationMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_GetMember.go b/service/managedblockchain/api_op_GetMember.go index a584a6e34a3..23d8dc774db 100644 --- a/service/managedblockchain/api_op_GetMember.go +++ b/service/managedblockchain/api_op_GetMember.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetMemberMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMemberValidationMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_GetNetwork.go b/service/managedblockchain/api_op_GetNetwork.go index 85eb1b182d7..858bf692ef5 100644 --- a/service/managedblockchain/api_op_GetNetwork.go +++ b/service/managedblockchain/api_op_GetNetwork.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetNetworkMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetNetworkValidationMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_GetNode.go b/service/managedblockchain/api_op_GetNode.go index 59a136e98d8..bf6df2a1859 100644 --- a/service/managedblockchain/api_op_GetNode.go +++ b/service/managedblockchain/api_op_GetNode.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetNodeMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetNodeValidationMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_GetProposal.go b/service/managedblockchain/api_op_GetProposal.go index 04babc05489..1cb11c8b41a 100644 --- a/service/managedblockchain/api_op_GetProposal.go +++ b/service/managedblockchain/api_op_GetProposal.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetProposalMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetProposalValidationMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_ListAccessors.go b/service/managedblockchain/api_op_ListAccessors.go index 93eb187814b..0b3abfb7b9b 100644 --- a/service/managedblockchain/api_op_ListAccessors.go +++ b/service/managedblockchain/api_op_ListAccessors.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListAccessorsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccessors(options.Region), middleware.Before); err != nil { return err } diff --git a/service/managedblockchain/api_op_ListInvitations.go b/service/managedblockchain/api_op_ListInvitations.go index 5aaeb6c98d7..54e9978e94b 100644 --- a/service/managedblockchain/api_op_ListInvitations.go +++ b/service/managedblockchain/api_op_ListInvitations.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListInvitationsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInvitations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/managedblockchain/api_op_ListMembers.go b/service/managedblockchain/api_op_ListMembers.go index b9d13c5dcd4..e15c2cacc5b 100644 --- a/service/managedblockchain/api_op_ListMembers.go +++ b/service/managedblockchain/api_op_ListMembers.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListMembersMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMembersValidationMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_ListNetworks.go b/service/managedblockchain/api_op_ListNetworks.go index 93d80f6839a..276012d5a53 100644 --- a/service/managedblockchain/api_op_ListNetworks.go +++ b/service/managedblockchain/api_op_ListNetworks.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListNetworksMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNetworks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/managedblockchain/api_op_ListNodes.go b/service/managedblockchain/api_op_ListNodes.go index 40713f952bf..c3dfeb328f8 100644 --- a/service/managedblockchain/api_op_ListNodes.go +++ b/service/managedblockchain/api_op_ListNodes.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListNodesMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListNodesValidationMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_ListProposalVotes.go b/service/managedblockchain/api_op_ListProposalVotes.go index 405c1d700ba..1cf133f6005 100644 --- a/service/managedblockchain/api_op_ListProposalVotes.go +++ b/service/managedblockchain/api_op_ListProposalVotes.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListProposalVotesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListProposalVotesValidationMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_ListProposals.go b/service/managedblockchain/api_op_ListProposals.go index ed332d85fca..6fa51b7f60f 100644 --- a/service/managedblockchain/api_op_ListProposals.go +++ b/service/managedblockchain/api_op_ListProposals.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListProposalsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListProposalsValidationMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_ListTagsForResource.go b/service/managedblockchain/api_op_ListTagsForResource.go index cf504d591df..9889178b659 100644 --- a/service/managedblockchain/api_op_ListTagsForResource.go +++ b/service/managedblockchain/api_op_ListTagsForResource.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_RejectInvitation.go b/service/managedblockchain/api_op_RejectInvitation.go index 3cfdcc6594c..176ce7dc811 100644 --- a/service/managedblockchain/api_op_RejectInvitation.go +++ b/service/managedblockchain/api_op_RejectInvitation.go @@ -111,9 +111,6 @@ func (c *Client) addOperationRejectInvitationMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRejectInvitationValidationMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_TagResource.go b/service/managedblockchain/api_op_TagResource.go index 54f876c0c35..c72849c2fac 100644 --- a/service/managedblockchain/api_op_TagResource.go +++ b/service/managedblockchain/api_op_TagResource.go @@ -130,9 +130,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_UntagResource.go b/service/managedblockchain/api_op_UntagResource.go index 80f35ed96f0..1f363f94009 100644 --- a/service/managedblockchain/api_op_UntagResource.go +++ b/service/managedblockchain/api_op_UntagResource.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_UpdateMember.go b/service/managedblockchain/api_op_UpdateMember.go index af7cb35768d..996ba48899d 100644 --- a/service/managedblockchain/api_op_UpdateMember.go +++ b/service/managedblockchain/api_op_UpdateMember.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateMemberMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMemberValidationMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_UpdateNode.go b/service/managedblockchain/api_op_UpdateNode.go index b1ecb34c15a..9d7bc8cfbe4 100644 --- a/service/managedblockchain/api_op_UpdateNode.go +++ b/service/managedblockchain/api_op_UpdateNode.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateNodeMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateNodeValidationMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/api_op_VoteOnProposal.go b/service/managedblockchain/api_op_VoteOnProposal.go index 4173d9423c2..16c79a090a8 100644 --- a/service/managedblockchain/api_op_VoteOnProposal.go +++ b/service/managedblockchain/api_op_VoteOnProposal.go @@ -127,9 +127,6 @@ func (c *Client) addOperationVoteOnProposalMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpVoteOnProposalValidationMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchain/snapshot/api_op_CreateAccessor.go.snap b/service/managedblockchain/snapshot/api_op_CreateAccessor.go.snap index 616deca1e1f..f2ea5634f3c 100644 --- a/service/managedblockchain/snapshot/api_op_CreateAccessor.go.snap +++ b/service/managedblockchain/snapshot/api_op_CreateAccessor.go.snap @@ -15,7 +15,6 @@ CreateAccessor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchain/snapshot/api_op_CreateMember.go.snap b/service/managedblockchain/snapshot/api_op_CreateMember.go.snap index f2033cd3d5a..2a0378811b2 100644 --- a/service/managedblockchain/snapshot/api_op_CreateMember.go.snap +++ b/service/managedblockchain/snapshot/api_op_CreateMember.go.snap @@ -15,7 +15,6 @@ CreateMember Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchain/snapshot/api_op_CreateNetwork.go.snap b/service/managedblockchain/snapshot/api_op_CreateNetwork.go.snap index f863d6906e3..077a5a2ecb1 100644 --- a/service/managedblockchain/snapshot/api_op_CreateNetwork.go.snap +++ b/service/managedblockchain/snapshot/api_op_CreateNetwork.go.snap @@ -15,7 +15,6 @@ CreateNetwork Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchain/snapshot/api_op_CreateNode.go.snap b/service/managedblockchain/snapshot/api_op_CreateNode.go.snap index 773e686992f..830c70d20ee 100644 --- a/service/managedblockchain/snapshot/api_op_CreateNode.go.snap +++ b/service/managedblockchain/snapshot/api_op_CreateNode.go.snap @@ -15,7 +15,6 @@ CreateNode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchain/snapshot/api_op_CreateProposal.go.snap b/service/managedblockchain/snapshot/api_op_CreateProposal.go.snap index b70f6b66312..7727ddd81c1 100644 --- a/service/managedblockchain/snapshot/api_op_CreateProposal.go.snap +++ b/service/managedblockchain/snapshot/api_op_CreateProposal.go.snap @@ -15,7 +15,6 @@ CreateProposal Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchain/snapshot/api_op_DeleteAccessor.go.snap b/service/managedblockchain/snapshot/api_op_DeleteAccessor.go.snap index cfda8378a63..98a46a9085c 100644 --- a/service/managedblockchain/snapshot/api_op_DeleteAccessor.go.snap +++ b/service/managedblockchain/snapshot/api_op_DeleteAccessor.go.snap @@ -14,7 +14,6 @@ DeleteAccessor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchain/snapshot/api_op_DeleteMember.go.snap b/service/managedblockchain/snapshot/api_op_DeleteMember.go.snap index d57271614b8..a3a8981046c 100644 --- a/service/managedblockchain/snapshot/api_op_DeleteMember.go.snap +++ b/service/managedblockchain/snapshot/api_op_DeleteMember.go.snap @@ -14,7 +14,6 @@ DeleteMember Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchain/snapshot/api_op_DeleteNode.go.snap b/service/managedblockchain/snapshot/api_op_DeleteNode.go.snap index 2d7c82dcab7..0be6b8fb8f5 100644 --- a/service/managedblockchain/snapshot/api_op_DeleteNode.go.snap +++ b/service/managedblockchain/snapshot/api_op_DeleteNode.go.snap @@ -14,7 +14,6 @@ DeleteNode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchain/snapshot/api_op_GetAccessor.go.snap b/service/managedblockchain/snapshot/api_op_GetAccessor.go.snap index b477f5aa297..f91eb23346a 100644 --- a/service/managedblockchain/snapshot/api_op_GetAccessor.go.snap +++ b/service/managedblockchain/snapshot/api_op_GetAccessor.go.snap @@ -14,7 +14,6 @@ GetAccessor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchain/snapshot/api_op_GetMember.go.snap b/service/managedblockchain/snapshot/api_op_GetMember.go.snap index a2ad4bbc0c9..30f83276bce 100644 --- a/service/managedblockchain/snapshot/api_op_GetMember.go.snap +++ b/service/managedblockchain/snapshot/api_op_GetMember.go.snap @@ -14,7 +14,6 @@ GetMember Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchain/snapshot/api_op_GetNetwork.go.snap b/service/managedblockchain/snapshot/api_op_GetNetwork.go.snap index 54060e3fbd7..164a965a1e2 100644 --- a/service/managedblockchain/snapshot/api_op_GetNetwork.go.snap +++ b/service/managedblockchain/snapshot/api_op_GetNetwork.go.snap @@ -14,7 +14,6 @@ GetNetwork Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchain/snapshot/api_op_GetNode.go.snap b/service/managedblockchain/snapshot/api_op_GetNode.go.snap index 6a37419f4de..2960cf0df07 100644 --- a/service/managedblockchain/snapshot/api_op_GetNode.go.snap +++ b/service/managedblockchain/snapshot/api_op_GetNode.go.snap @@ -14,7 +14,6 @@ GetNode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchain/snapshot/api_op_GetProposal.go.snap b/service/managedblockchain/snapshot/api_op_GetProposal.go.snap index 177acaee830..cf90d7c72e2 100644 --- a/service/managedblockchain/snapshot/api_op_GetProposal.go.snap +++ b/service/managedblockchain/snapshot/api_op_GetProposal.go.snap @@ -14,7 +14,6 @@ GetProposal Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchain/snapshot/api_op_ListAccessors.go.snap b/service/managedblockchain/snapshot/api_op_ListAccessors.go.snap index da863bef2da..ed71f7b6080 100644 --- a/service/managedblockchain/snapshot/api_op_ListAccessors.go.snap +++ b/service/managedblockchain/snapshot/api_op_ListAccessors.go.snap @@ -13,7 +13,6 @@ ListAccessors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchain/snapshot/api_op_ListInvitations.go.snap b/service/managedblockchain/snapshot/api_op_ListInvitations.go.snap index 623ba90611b..d8658667fbe 100644 --- a/service/managedblockchain/snapshot/api_op_ListInvitations.go.snap +++ b/service/managedblockchain/snapshot/api_op_ListInvitations.go.snap @@ -13,7 +13,6 @@ ListInvitations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchain/snapshot/api_op_ListMembers.go.snap b/service/managedblockchain/snapshot/api_op_ListMembers.go.snap index ded0c54dcae..7f717e539ee 100644 --- a/service/managedblockchain/snapshot/api_op_ListMembers.go.snap +++ b/service/managedblockchain/snapshot/api_op_ListMembers.go.snap @@ -14,7 +14,6 @@ ListMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchain/snapshot/api_op_ListNetworks.go.snap b/service/managedblockchain/snapshot/api_op_ListNetworks.go.snap index debc868f27c..b1720c91895 100644 --- a/service/managedblockchain/snapshot/api_op_ListNetworks.go.snap +++ b/service/managedblockchain/snapshot/api_op_ListNetworks.go.snap @@ -13,7 +13,6 @@ ListNetworks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchain/snapshot/api_op_ListNodes.go.snap b/service/managedblockchain/snapshot/api_op_ListNodes.go.snap index 8aa2b28b799..1bc437f1d37 100644 --- a/service/managedblockchain/snapshot/api_op_ListNodes.go.snap +++ b/service/managedblockchain/snapshot/api_op_ListNodes.go.snap @@ -14,7 +14,6 @@ ListNodes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchain/snapshot/api_op_ListProposalVotes.go.snap b/service/managedblockchain/snapshot/api_op_ListProposalVotes.go.snap index b2c6bfdae3c..224369f7209 100644 --- a/service/managedblockchain/snapshot/api_op_ListProposalVotes.go.snap +++ b/service/managedblockchain/snapshot/api_op_ListProposalVotes.go.snap @@ -14,7 +14,6 @@ ListProposalVotes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchain/snapshot/api_op_ListProposals.go.snap b/service/managedblockchain/snapshot/api_op_ListProposals.go.snap index a7a3a12ea08..0cf3737585e 100644 --- a/service/managedblockchain/snapshot/api_op_ListProposals.go.snap +++ b/service/managedblockchain/snapshot/api_op_ListProposals.go.snap @@ -14,7 +14,6 @@ ListProposals Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchain/snapshot/api_op_ListTagsForResource.go.snap b/service/managedblockchain/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/managedblockchain/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/managedblockchain/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchain/snapshot/api_op_RejectInvitation.go.snap b/service/managedblockchain/snapshot/api_op_RejectInvitation.go.snap index 6fec27e12c8..11bed8c1f5c 100644 --- a/service/managedblockchain/snapshot/api_op_RejectInvitation.go.snap +++ b/service/managedblockchain/snapshot/api_op_RejectInvitation.go.snap @@ -14,7 +14,6 @@ RejectInvitation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchain/snapshot/api_op_TagResource.go.snap b/service/managedblockchain/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/managedblockchain/snapshot/api_op_TagResource.go.snap +++ b/service/managedblockchain/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchain/snapshot/api_op_UntagResource.go.snap b/service/managedblockchain/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/managedblockchain/snapshot/api_op_UntagResource.go.snap +++ b/service/managedblockchain/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchain/snapshot/api_op_UpdateMember.go.snap b/service/managedblockchain/snapshot/api_op_UpdateMember.go.snap index 8bb6227ce72..802afb79eb3 100644 --- a/service/managedblockchain/snapshot/api_op_UpdateMember.go.snap +++ b/service/managedblockchain/snapshot/api_op_UpdateMember.go.snap @@ -14,7 +14,6 @@ UpdateMember Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchain/snapshot/api_op_UpdateNode.go.snap b/service/managedblockchain/snapshot/api_op_UpdateNode.go.snap index 6eb58b8ef15..6c12f30f744 100644 --- a/service/managedblockchain/snapshot/api_op_UpdateNode.go.snap +++ b/service/managedblockchain/snapshot/api_op_UpdateNode.go.snap @@ -14,7 +14,6 @@ UpdateNode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchain/snapshot/api_op_VoteOnProposal.go.snap b/service/managedblockchain/snapshot/api_op_VoteOnProposal.go.snap index c4ea565a0c6..7fe594fb65a 100644 --- a/service/managedblockchain/snapshot/api_op_VoteOnProposal.go.snap +++ b/service/managedblockchain/snapshot/api_op_VoteOnProposal.go.snap @@ -14,7 +14,6 @@ VoteOnProposal Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchainquery/api_client.go b/service/managedblockchainquery/api_client.go index 31c7e6ab386..898ef2a6499 100644 --- a/service/managedblockchainquery/api_client.go +++ b/service/managedblockchainquery/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/managedblockchainquery/api_op_BatchGetTokenBalance.go b/service/managedblockchainquery/api_op_BatchGetTokenBalance.go index 11cb6d28f92..86a34891002 100644 --- a/service/managedblockchainquery/api_op_BatchGetTokenBalance.go +++ b/service/managedblockchainquery/api_op_BatchGetTokenBalance.go @@ -122,9 +122,6 @@ func (c *Client) addOperationBatchGetTokenBalanceMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetTokenBalanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchainquery/api_op_GetAssetContract.go b/service/managedblockchainquery/api_op_GetAssetContract.go index 79cb49f0a3e..566f3ca4452 100644 --- a/service/managedblockchainquery/api_op_GetAssetContract.go +++ b/service/managedblockchainquery/api_op_GetAssetContract.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetAssetContractMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAssetContractValidationMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchainquery/api_op_GetTokenBalance.go b/service/managedblockchainquery/api_op_GetTokenBalance.go index 2638399f1a6..84deac24c31 100644 --- a/service/managedblockchainquery/api_op_GetTokenBalance.go +++ b/service/managedblockchainquery/api_op_GetTokenBalance.go @@ -148,9 +148,6 @@ func (c *Client) addOperationGetTokenBalanceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTokenBalanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchainquery/api_op_GetTransaction.go b/service/managedblockchainquery/api_op_GetTransaction.go index a76fd432a22..85bfcb7ade5 100644 --- a/service/managedblockchainquery/api_op_GetTransaction.go +++ b/service/managedblockchainquery/api_op_GetTransaction.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetTransactionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTransactionValidationMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchainquery/api_op_ListAssetContracts.go b/service/managedblockchainquery/api_op_ListAssetContracts.go index 7d5d9de174b..76da4008c13 100644 --- a/service/managedblockchainquery/api_op_ListAssetContracts.go +++ b/service/managedblockchainquery/api_op_ListAssetContracts.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListAssetContractsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAssetContractsValidationMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchainquery/api_op_ListFilteredTransactionEvents.go b/service/managedblockchainquery/api_op_ListFilteredTransactionEvents.go index 0ae57a2a70f..499ec9d5ec2 100644 --- a/service/managedblockchainquery/api_op_ListFilteredTransactionEvents.go +++ b/service/managedblockchainquery/api_op_ListFilteredTransactionEvents.go @@ -159,9 +159,6 @@ func (c *Client) addOperationListFilteredTransactionEventsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFilteredTransactionEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchainquery/api_op_ListTokenBalances.go b/service/managedblockchainquery/api_op_ListTokenBalances.go index b95adc08d2c..1ff78cde466 100644 --- a/service/managedblockchainquery/api_op_ListTokenBalances.go +++ b/service/managedblockchainquery/api_op_ListTokenBalances.go @@ -153,9 +153,6 @@ func (c *Client) addOperationListTokenBalancesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTokenBalancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchainquery/api_op_ListTransactionEvents.go b/service/managedblockchainquery/api_op_ListTransactionEvents.go index c51a4353851..221abe7e3c6 100644 --- a/service/managedblockchainquery/api_op_ListTransactionEvents.go +++ b/service/managedblockchainquery/api_op_ListTransactionEvents.go @@ -147,9 +147,6 @@ func (c *Client) addOperationListTransactionEventsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTransactionEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchainquery/api_op_ListTransactions.go b/service/managedblockchainquery/api_op_ListTransactions.go index c84fa6e0362..0274230eaed 100644 --- a/service/managedblockchainquery/api_op_ListTransactions.go +++ b/service/managedblockchainquery/api_op_ListTransactions.go @@ -154,9 +154,6 @@ func (c *Client) addOperationListTransactionsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTransactionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/managedblockchainquery/snapshot/api_op_BatchGetTokenBalance.go.snap b/service/managedblockchainquery/snapshot/api_op_BatchGetTokenBalance.go.snap index 3361efb86ed..bb936ca4c50 100644 --- a/service/managedblockchainquery/snapshot/api_op_BatchGetTokenBalance.go.snap +++ b/service/managedblockchainquery/snapshot/api_op_BatchGetTokenBalance.go.snap @@ -14,7 +14,6 @@ BatchGetTokenBalance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchainquery/snapshot/api_op_GetAssetContract.go.snap b/service/managedblockchainquery/snapshot/api_op_GetAssetContract.go.snap index a31f96b9d51..a474e63ae98 100644 --- a/service/managedblockchainquery/snapshot/api_op_GetAssetContract.go.snap +++ b/service/managedblockchainquery/snapshot/api_op_GetAssetContract.go.snap @@ -14,7 +14,6 @@ GetAssetContract Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchainquery/snapshot/api_op_GetTokenBalance.go.snap b/service/managedblockchainquery/snapshot/api_op_GetTokenBalance.go.snap index 3fc7e94afb2..831984bdb44 100644 --- a/service/managedblockchainquery/snapshot/api_op_GetTokenBalance.go.snap +++ b/service/managedblockchainquery/snapshot/api_op_GetTokenBalance.go.snap @@ -14,7 +14,6 @@ GetTokenBalance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchainquery/snapshot/api_op_GetTransaction.go.snap b/service/managedblockchainquery/snapshot/api_op_GetTransaction.go.snap index 2af3afc1959..aea93ae9f6e 100644 --- a/service/managedblockchainquery/snapshot/api_op_GetTransaction.go.snap +++ b/service/managedblockchainquery/snapshot/api_op_GetTransaction.go.snap @@ -14,7 +14,6 @@ GetTransaction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchainquery/snapshot/api_op_ListAssetContracts.go.snap b/service/managedblockchainquery/snapshot/api_op_ListAssetContracts.go.snap index 8cab2ba80ec..de19917956d 100644 --- a/service/managedblockchainquery/snapshot/api_op_ListAssetContracts.go.snap +++ b/service/managedblockchainquery/snapshot/api_op_ListAssetContracts.go.snap @@ -14,7 +14,6 @@ ListAssetContracts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchainquery/snapshot/api_op_ListFilteredTransactionEvents.go.snap b/service/managedblockchainquery/snapshot/api_op_ListFilteredTransactionEvents.go.snap index a3d12eab964..7be350f5204 100644 --- a/service/managedblockchainquery/snapshot/api_op_ListFilteredTransactionEvents.go.snap +++ b/service/managedblockchainquery/snapshot/api_op_ListFilteredTransactionEvents.go.snap @@ -14,7 +14,6 @@ ListFilteredTransactionEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchainquery/snapshot/api_op_ListTokenBalances.go.snap b/service/managedblockchainquery/snapshot/api_op_ListTokenBalances.go.snap index 1e759581383..746e165d19b 100644 --- a/service/managedblockchainquery/snapshot/api_op_ListTokenBalances.go.snap +++ b/service/managedblockchainquery/snapshot/api_op_ListTokenBalances.go.snap @@ -14,7 +14,6 @@ ListTokenBalances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchainquery/snapshot/api_op_ListTransactionEvents.go.snap b/service/managedblockchainquery/snapshot/api_op_ListTransactionEvents.go.snap index c086dad5629..5afb8f975fa 100644 --- a/service/managedblockchainquery/snapshot/api_op_ListTransactionEvents.go.snap +++ b/service/managedblockchainquery/snapshot/api_op_ListTransactionEvents.go.snap @@ -14,7 +14,6 @@ ListTransactionEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/managedblockchainquery/snapshot/api_op_ListTransactions.go.snap b/service/managedblockchainquery/snapshot/api_op_ListTransactions.go.snap index 0292138f93c..baba5dc6c38 100644 --- a/service/managedblockchainquery/snapshot/api_op_ListTransactions.go.snap +++ b/service/managedblockchainquery/snapshot/api_op_ListTransactions.go.snap @@ -14,7 +14,6 @@ ListTransactions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/marketplaceagreement/api_client.go b/service/marketplaceagreement/api_client.go index a37f11383bb..7ec668294bc 100644 --- a/service/marketplaceagreement/api_client.go +++ b/service/marketplaceagreement/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/marketplaceagreement/api_op_DescribeAgreement.go b/service/marketplaceagreement/api_op_DescribeAgreement.go index 220254e35df..cdadbea9c97 100644 --- a/service/marketplaceagreement/api_op_DescribeAgreement.go +++ b/service/marketplaceagreement/api_op_DescribeAgreement.go @@ -171,9 +171,6 @@ func (c *Client) addOperationDescribeAgreementMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAgreementValidationMiddleware(stack); err != nil { return err } diff --git a/service/marketplaceagreement/api_op_GetAgreementTerms.go b/service/marketplaceagreement/api_op_GetAgreementTerms.go index d930b395c87..fa3cc98a629 100644 --- a/service/marketplaceagreement/api_op_GetAgreementTerms.go +++ b/service/marketplaceagreement/api_op_GetAgreementTerms.go @@ -139,9 +139,6 @@ func (c *Client) addOperationGetAgreementTermsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAgreementTermsValidationMiddleware(stack); err != nil { return err } diff --git a/service/marketplaceagreement/api_op_SearchAgreements.go b/service/marketplaceagreement/api_op_SearchAgreements.go index 1361663c823..a35fd691e69 100644 --- a/service/marketplaceagreement/api_op_SearchAgreements.go +++ b/service/marketplaceagreement/api_op_SearchAgreements.go @@ -190,9 +190,6 @@ func (c *Client) addOperationSearchAgreementsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchAgreements(options.Region), middleware.Before); err != nil { return err } diff --git a/service/marketplaceagreement/snapshot/api_op_DescribeAgreement.go.snap b/service/marketplaceagreement/snapshot/api_op_DescribeAgreement.go.snap index d7a50c3d6a5..31e04c5b0f4 100644 --- a/service/marketplaceagreement/snapshot/api_op_DescribeAgreement.go.snap +++ b/service/marketplaceagreement/snapshot/api_op_DescribeAgreement.go.snap @@ -14,7 +14,6 @@ DescribeAgreement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/marketplaceagreement/snapshot/api_op_GetAgreementTerms.go.snap b/service/marketplaceagreement/snapshot/api_op_GetAgreementTerms.go.snap index 1004bd161b4..5ec87eb545a 100644 --- a/service/marketplaceagreement/snapshot/api_op_GetAgreementTerms.go.snap +++ b/service/marketplaceagreement/snapshot/api_op_GetAgreementTerms.go.snap @@ -14,7 +14,6 @@ GetAgreementTerms Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/marketplaceagreement/snapshot/api_op_SearchAgreements.go.snap b/service/marketplaceagreement/snapshot/api_op_SearchAgreements.go.snap index 1a30ac7c6ce..a814ccbc008 100644 --- a/service/marketplaceagreement/snapshot/api_op_SearchAgreements.go.snap +++ b/service/marketplaceagreement/snapshot/api_op_SearchAgreements.go.snap @@ -13,7 +13,6 @@ SearchAgreements Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/marketplacecatalog/api_client.go b/service/marketplacecatalog/api_client.go index fd2685eaf24..fa716811e0f 100644 --- a/service/marketplacecatalog/api_client.go +++ b/service/marketplacecatalog/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/marketplacecatalog/api_op_BatchDescribeEntities.go b/service/marketplacecatalog/api_op_BatchDescribeEntities.go index 36be937aa31..47cdb806ed5 100644 --- a/service/marketplacecatalog/api_op_BatchDescribeEntities.go +++ b/service/marketplacecatalog/api_op_BatchDescribeEntities.go @@ -117,9 +117,6 @@ func (c *Client) addOperationBatchDescribeEntitiesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDescribeEntitiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/marketplacecatalog/api_op_CancelChangeSet.go b/service/marketplacecatalog/api_op_CancelChangeSet.go index 3e7ad840821..50f93ad5235 100644 --- a/service/marketplacecatalog/api_op_CancelChangeSet.go +++ b/service/marketplacecatalog/api_op_CancelChangeSet.go @@ -123,9 +123,6 @@ func (c *Client) addOperationCancelChangeSetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelChangeSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/marketplacecatalog/api_op_DeleteResourcePolicy.go b/service/marketplacecatalog/api_op_DeleteResourcePolicy.go index c0a628ddd74..da54c437bf2 100644 --- a/service/marketplacecatalog/api_op_DeleteResourcePolicy.go +++ b/service/marketplacecatalog/api_op_DeleteResourcePolicy.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/marketplacecatalog/api_op_DescribeChangeSet.go b/service/marketplacecatalog/api_op_DescribeChangeSet.go index a138cafd64d..e22b09ded41 100644 --- a/service/marketplacecatalog/api_op_DescribeChangeSet.go +++ b/service/marketplacecatalog/api_op_DescribeChangeSet.go @@ -155,9 +155,6 @@ func (c *Client) addOperationDescribeChangeSetMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeChangeSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/marketplacecatalog/api_op_DescribeEntity.go b/service/marketplacecatalog/api_op_DescribeEntity.go index 1f993808af1..a5bcc4bd4d7 100644 --- a/service/marketplacecatalog/api_op_DescribeEntity.go +++ b/service/marketplacecatalog/api_op_DescribeEntity.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeEntityMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEntityValidationMiddleware(stack); err != nil { return err } diff --git a/service/marketplacecatalog/api_op_GetResourcePolicy.go b/service/marketplacecatalog/api_op_GetResourcePolicy.go index 72d59972cb7..8e091936add 100644 --- a/service/marketplacecatalog/api_op_GetResourcePolicy.go +++ b/service/marketplacecatalog/api_op_GetResourcePolicy.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/marketplacecatalog/api_op_ListChangeSets.go b/service/marketplacecatalog/api_op_ListChangeSets.go index 3152ddaba26..43370666b30 100644 --- a/service/marketplacecatalog/api_op_ListChangeSets.go +++ b/service/marketplacecatalog/api_op_ListChangeSets.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListChangeSetsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListChangeSetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/marketplacecatalog/api_op_ListEntities.go b/service/marketplacecatalog/api_op_ListEntities.go index a4211d6a879..dcac6dcb473 100644 --- a/service/marketplacecatalog/api_op_ListEntities.go +++ b/service/marketplacecatalog/api_op_ListEntities.go @@ -152,9 +152,6 @@ func (c *Client) addOperationListEntitiesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEntitiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/marketplacecatalog/api_op_ListTagsForResource.go b/service/marketplacecatalog/api_op_ListTagsForResource.go index cb368777db6..fff794c51c1 100644 --- a/service/marketplacecatalog/api_op_ListTagsForResource.go +++ b/service/marketplacecatalog/api_op_ListTagsForResource.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/marketplacecatalog/api_op_PutResourcePolicy.go b/service/marketplacecatalog/api_op_PutResourcePolicy.go index 09db054065d..6bb0383ca1f 100644 --- a/service/marketplacecatalog/api_op_PutResourcePolicy.go +++ b/service/marketplacecatalog/api_op_PutResourcePolicy.go @@ -114,9 +114,6 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/marketplacecatalog/api_op_StartChangeSet.go b/service/marketplacecatalog/api_op_StartChangeSet.go index 37cbc812094..16411cada93 100644 --- a/service/marketplacecatalog/api_op_StartChangeSet.go +++ b/service/marketplacecatalog/api_op_StartChangeSet.go @@ -158,9 +158,6 @@ func (c *Client) addOperationStartChangeSetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartChangeSetMiddleware(stack, options); err != nil { return err } diff --git a/service/marketplacecatalog/api_op_TagResource.go b/service/marketplacecatalog/api_op_TagResource.go index d56498516bf..8543fa66d03 100644 --- a/service/marketplacecatalog/api_op_TagResource.go +++ b/service/marketplacecatalog/api_op_TagResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/marketplacecatalog/api_op_UntagResource.go b/service/marketplacecatalog/api_op_UntagResource.go index 7c19da1c829..ef67c4159b8 100644 --- a/service/marketplacecatalog/api_op_UntagResource.go +++ b/service/marketplacecatalog/api_op_UntagResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/marketplacecatalog/snapshot/api_op_BatchDescribeEntities.go.snap b/service/marketplacecatalog/snapshot/api_op_BatchDescribeEntities.go.snap index e3a5f064cde..44914f17159 100644 --- a/service/marketplacecatalog/snapshot/api_op_BatchDescribeEntities.go.snap +++ b/service/marketplacecatalog/snapshot/api_op_BatchDescribeEntities.go.snap @@ -14,7 +14,6 @@ BatchDescribeEntities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/marketplacecatalog/snapshot/api_op_CancelChangeSet.go.snap b/service/marketplacecatalog/snapshot/api_op_CancelChangeSet.go.snap index 30a4d1e721a..afa9cb71267 100644 --- a/service/marketplacecatalog/snapshot/api_op_CancelChangeSet.go.snap +++ b/service/marketplacecatalog/snapshot/api_op_CancelChangeSet.go.snap @@ -14,7 +14,6 @@ CancelChangeSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/marketplacecatalog/snapshot/api_op_DeleteResourcePolicy.go.snap b/service/marketplacecatalog/snapshot/api_op_DeleteResourcePolicy.go.snap index 21dbc8dfcde..9948d797360 100644 --- a/service/marketplacecatalog/snapshot/api_op_DeleteResourcePolicy.go.snap +++ b/service/marketplacecatalog/snapshot/api_op_DeleteResourcePolicy.go.snap @@ -14,7 +14,6 @@ DeleteResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/marketplacecatalog/snapshot/api_op_DescribeChangeSet.go.snap b/service/marketplacecatalog/snapshot/api_op_DescribeChangeSet.go.snap index 8793e5f128c..ab004484da1 100644 --- a/service/marketplacecatalog/snapshot/api_op_DescribeChangeSet.go.snap +++ b/service/marketplacecatalog/snapshot/api_op_DescribeChangeSet.go.snap @@ -14,7 +14,6 @@ DescribeChangeSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/marketplacecatalog/snapshot/api_op_DescribeEntity.go.snap b/service/marketplacecatalog/snapshot/api_op_DescribeEntity.go.snap index ca7c7845018..ffbbe5cc014 100644 --- a/service/marketplacecatalog/snapshot/api_op_DescribeEntity.go.snap +++ b/service/marketplacecatalog/snapshot/api_op_DescribeEntity.go.snap @@ -14,7 +14,6 @@ DescribeEntity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/marketplacecatalog/snapshot/api_op_GetResourcePolicy.go.snap b/service/marketplacecatalog/snapshot/api_op_GetResourcePolicy.go.snap index e3408c09804..4b3e7d017fa 100644 --- a/service/marketplacecatalog/snapshot/api_op_GetResourcePolicy.go.snap +++ b/service/marketplacecatalog/snapshot/api_op_GetResourcePolicy.go.snap @@ -14,7 +14,6 @@ GetResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/marketplacecatalog/snapshot/api_op_ListChangeSets.go.snap b/service/marketplacecatalog/snapshot/api_op_ListChangeSets.go.snap index 398604bfdbd..295529c460a 100644 --- a/service/marketplacecatalog/snapshot/api_op_ListChangeSets.go.snap +++ b/service/marketplacecatalog/snapshot/api_op_ListChangeSets.go.snap @@ -14,7 +14,6 @@ ListChangeSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/marketplacecatalog/snapshot/api_op_ListEntities.go.snap b/service/marketplacecatalog/snapshot/api_op_ListEntities.go.snap index 5e9dbcc2c57..b88d2a85f5e 100644 --- a/service/marketplacecatalog/snapshot/api_op_ListEntities.go.snap +++ b/service/marketplacecatalog/snapshot/api_op_ListEntities.go.snap @@ -14,7 +14,6 @@ ListEntities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/marketplacecatalog/snapshot/api_op_ListTagsForResource.go.snap b/service/marketplacecatalog/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/marketplacecatalog/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/marketplacecatalog/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/marketplacecatalog/snapshot/api_op_PutResourcePolicy.go.snap b/service/marketplacecatalog/snapshot/api_op_PutResourcePolicy.go.snap index 30530b1514f..47bad3fad0e 100644 --- a/service/marketplacecatalog/snapshot/api_op_PutResourcePolicy.go.snap +++ b/service/marketplacecatalog/snapshot/api_op_PutResourcePolicy.go.snap @@ -14,7 +14,6 @@ PutResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/marketplacecatalog/snapshot/api_op_StartChangeSet.go.snap b/service/marketplacecatalog/snapshot/api_op_StartChangeSet.go.snap index 8848138d413..1787537304a 100644 --- a/service/marketplacecatalog/snapshot/api_op_StartChangeSet.go.snap +++ b/service/marketplacecatalog/snapshot/api_op_StartChangeSet.go.snap @@ -15,7 +15,6 @@ StartChangeSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/marketplacecatalog/snapshot/api_op_TagResource.go.snap b/service/marketplacecatalog/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/marketplacecatalog/snapshot/api_op_TagResource.go.snap +++ b/service/marketplacecatalog/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/marketplacecatalog/snapshot/api_op_UntagResource.go.snap b/service/marketplacecatalog/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/marketplacecatalog/snapshot/api_op_UntagResource.go.snap +++ b/service/marketplacecatalog/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/marketplacecommerceanalytics/api_client.go b/service/marketplacecommerceanalytics/api_client.go index 5d585dc4b2c..be1e8115d6a 100644 --- a/service/marketplacecommerceanalytics/api_client.go +++ b/service/marketplacecommerceanalytics/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/marketplacecommerceanalytics/api_op_GenerateDataSet.go b/service/marketplacecommerceanalytics/api_op_GenerateDataSet.go index adeb4f46375..f1e5ca9fed8 100644 --- a/service/marketplacecommerceanalytics/api_op_GenerateDataSet.go +++ b/service/marketplacecommerceanalytics/api_op_GenerateDataSet.go @@ -247,9 +247,6 @@ func (c *Client) addOperationGenerateDataSetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGenerateDataSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/marketplacecommerceanalytics/api_op_StartSupportDataExport.go b/service/marketplacecommerceanalytics/api_op_StartSupportDataExport.go index 86eb8619c81..a1229410f42 100644 --- a/service/marketplacecommerceanalytics/api_op_StartSupportDataExport.go +++ b/service/marketplacecommerceanalytics/api_op_StartSupportDataExport.go @@ -185,9 +185,6 @@ func (c *Client) addOperationStartSupportDataExportMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartSupportDataExportValidationMiddleware(stack); err != nil { return err } diff --git a/service/marketplacecommerceanalytics/snapshot/api_op_GenerateDataSet.go.snap b/service/marketplacecommerceanalytics/snapshot/api_op_GenerateDataSet.go.snap index df4bd59835c..166ba18cb09 100644 --- a/service/marketplacecommerceanalytics/snapshot/api_op_GenerateDataSet.go.snap +++ b/service/marketplacecommerceanalytics/snapshot/api_op_GenerateDataSet.go.snap @@ -14,7 +14,6 @@ GenerateDataSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/marketplacecommerceanalytics/snapshot/api_op_StartSupportDataExport.go.snap b/service/marketplacecommerceanalytics/snapshot/api_op_StartSupportDataExport.go.snap index 75d62b5a971..4c92549ad14 100644 --- a/service/marketplacecommerceanalytics/snapshot/api_op_StartSupportDataExport.go.snap +++ b/service/marketplacecommerceanalytics/snapshot/api_op_StartSupportDataExport.go.snap @@ -14,7 +14,6 @@ StartSupportDataExport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/marketplacedeployment/api_client.go b/service/marketplacedeployment/api_client.go index f4aae9200f9..e650e31ecd9 100644 --- a/service/marketplacedeployment/api_client.go +++ b/service/marketplacedeployment/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/marketplacedeployment/api_op_ListTagsForResource.go b/service/marketplacedeployment/api_op_ListTagsForResource.go index e9dbc93717c..4171e9d8c68 100644 --- a/service/marketplacedeployment/api_op_ListTagsForResource.go +++ b/service/marketplacedeployment/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/marketplacedeployment/api_op_PutDeploymentParameter.go b/service/marketplacedeployment/api_op_PutDeploymentParameter.go index 8ead323d1a2..a4ff79d6936 100644 --- a/service/marketplacedeployment/api_op_PutDeploymentParameter.go +++ b/service/marketplacedeployment/api_op_PutDeploymentParameter.go @@ -160,9 +160,6 @@ func (c *Client) addOperationPutDeploymentParameterMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opPutDeploymentParameterMiddleware(stack, options); err != nil { return err } diff --git a/service/marketplacedeployment/api_op_TagResource.go b/service/marketplacedeployment/api_op_TagResource.go index e51144315b2..8f4c404033c 100644 --- a/service/marketplacedeployment/api_op_TagResource.go +++ b/service/marketplacedeployment/api_op_TagResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/marketplacedeployment/api_op_UntagResource.go b/service/marketplacedeployment/api_op_UntagResource.go index 381f7dcd6c6..7eefff2ccfe 100644 --- a/service/marketplacedeployment/api_op_UntagResource.go +++ b/service/marketplacedeployment/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/marketplacedeployment/snapshot/api_op_ListTagsForResource.go.snap b/service/marketplacedeployment/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/marketplacedeployment/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/marketplacedeployment/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/marketplacedeployment/snapshot/api_op_PutDeploymentParameter.go.snap b/service/marketplacedeployment/snapshot/api_op_PutDeploymentParameter.go.snap index 54ebca8441d..9c4afb86bad 100644 --- a/service/marketplacedeployment/snapshot/api_op_PutDeploymentParameter.go.snap +++ b/service/marketplacedeployment/snapshot/api_op_PutDeploymentParameter.go.snap @@ -15,7 +15,6 @@ PutDeploymentParameter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/marketplacedeployment/snapshot/api_op_TagResource.go.snap b/service/marketplacedeployment/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/marketplacedeployment/snapshot/api_op_TagResource.go.snap +++ b/service/marketplacedeployment/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/marketplacedeployment/snapshot/api_op_UntagResource.go.snap b/service/marketplacedeployment/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/marketplacedeployment/snapshot/api_op_UntagResource.go.snap +++ b/service/marketplacedeployment/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/marketplaceentitlementservice/api_client.go b/service/marketplaceentitlementservice/api_client.go index aa1eebbbd1a..c7f84460f32 100644 --- a/service/marketplaceentitlementservice/api_client.go +++ b/service/marketplaceentitlementservice/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/marketplaceentitlementservice/api_op_GetEntitlements.go b/service/marketplaceentitlementservice/api_op_GetEntitlements.go index bb0de93146e..b4fe1c306ff 100644 --- a/service/marketplaceentitlementservice/api_op_GetEntitlements.go +++ b/service/marketplaceentitlementservice/api_op_GetEntitlements.go @@ -139,9 +139,6 @@ func (c *Client) addOperationGetEntitlementsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEntitlementsValidationMiddleware(stack); err != nil { return err } diff --git a/service/marketplaceentitlementservice/snapshot/api_op_GetEntitlements.go.snap b/service/marketplaceentitlementservice/snapshot/api_op_GetEntitlements.go.snap index e77e3983f0e..96069d2791c 100644 --- a/service/marketplaceentitlementservice/snapshot/api_op_GetEntitlements.go.snap +++ b/service/marketplaceentitlementservice/snapshot/api_op_GetEntitlements.go.snap @@ -14,7 +14,6 @@ GetEntitlements Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/marketplacemetering/api_client.go b/service/marketplacemetering/api_client.go index 81b78bd4005..98c3579a1cd 100644 --- a/service/marketplacemetering/api_client.go +++ b/service/marketplacemetering/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/marketplacemetering/api_op_BatchMeterUsage.go b/service/marketplacemetering/api_op_BatchMeterUsage.go index d56e8dcea67..9a9e676f42d 100644 --- a/service/marketplacemetering/api_op_BatchMeterUsage.go +++ b/service/marketplacemetering/api_op_BatchMeterUsage.go @@ -159,9 +159,6 @@ func (c *Client) addOperationBatchMeterUsageMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchMeterUsageValidationMiddleware(stack); err != nil { return err } diff --git a/service/marketplacemetering/api_op_MeterUsage.go b/service/marketplacemetering/api_op_MeterUsage.go index 5beeb6be34d..0398a33b74b 100644 --- a/service/marketplacemetering/api_op_MeterUsage.go +++ b/service/marketplacemetering/api_op_MeterUsage.go @@ -156,9 +156,6 @@ func (c *Client) addOperationMeterUsageMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMeterUsageValidationMiddleware(stack); err != nil { return err } diff --git a/service/marketplacemetering/api_op_RegisterUsage.go b/service/marketplacemetering/api_op_RegisterUsage.go index 361774504f6..ea008a6c072 100644 --- a/service/marketplacemetering/api_op_RegisterUsage.go +++ b/service/marketplacemetering/api_op_RegisterUsage.go @@ -157,9 +157,6 @@ func (c *Client) addOperationRegisterUsageMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterUsageValidationMiddleware(stack); err != nil { return err } diff --git a/service/marketplacemetering/api_op_ResolveCustomer.go b/service/marketplacemetering/api_op_ResolveCustomer.go index 8e80291eb06..e48bbfb6f7b 100644 --- a/service/marketplacemetering/api_op_ResolveCustomer.go +++ b/service/marketplacemetering/api_op_ResolveCustomer.go @@ -141,9 +141,6 @@ func (c *Client) addOperationResolveCustomerMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResolveCustomerValidationMiddleware(stack); err != nil { return err } diff --git a/service/marketplacemetering/snapshot/api_op_BatchMeterUsage.go.snap b/service/marketplacemetering/snapshot/api_op_BatchMeterUsage.go.snap index 20de02d34ad..1eb08b2d626 100644 --- a/service/marketplacemetering/snapshot/api_op_BatchMeterUsage.go.snap +++ b/service/marketplacemetering/snapshot/api_op_BatchMeterUsage.go.snap @@ -14,7 +14,6 @@ BatchMeterUsage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/marketplacemetering/snapshot/api_op_MeterUsage.go.snap b/service/marketplacemetering/snapshot/api_op_MeterUsage.go.snap index 2d3fb35e95c..67b949fb2bf 100644 --- a/service/marketplacemetering/snapshot/api_op_MeterUsage.go.snap +++ b/service/marketplacemetering/snapshot/api_op_MeterUsage.go.snap @@ -14,7 +14,6 @@ MeterUsage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/marketplacemetering/snapshot/api_op_RegisterUsage.go.snap b/service/marketplacemetering/snapshot/api_op_RegisterUsage.go.snap index b93987b6ab3..d0378509288 100644 --- a/service/marketplacemetering/snapshot/api_op_RegisterUsage.go.snap +++ b/service/marketplacemetering/snapshot/api_op_RegisterUsage.go.snap @@ -14,7 +14,6 @@ RegisterUsage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/marketplacemetering/snapshot/api_op_ResolveCustomer.go.snap b/service/marketplacemetering/snapshot/api_op_ResolveCustomer.go.snap index 211c06e7605..156cdfd7884 100644 --- a/service/marketplacemetering/snapshot/api_op_ResolveCustomer.go.snap +++ b/service/marketplacemetering/snapshot/api_op_ResolveCustomer.go.snap @@ -14,7 +14,6 @@ ResolveCustomer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/marketplacereporting/api_client.go b/service/marketplacereporting/api_client.go index 7c40d90b854..fd47e46d0b1 100644 --- a/service/marketplacereporting/api_client.go +++ b/service/marketplacereporting/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/marketplacereporting/api_op_GetBuyerDashboard.go b/service/marketplacereporting/api_op_GetBuyerDashboard.go index 8049fd7a407..c95e2d9ca44 100644 --- a/service/marketplacereporting/api_op_GetBuyerDashboard.go +++ b/service/marketplacereporting/api_op_GetBuyerDashboard.go @@ -149,9 +149,6 @@ func (c *Client) addOperationGetBuyerDashboardMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBuyerDashboardValidationMiddleware(stack); err != nil { return err } diff --git a/service/marketplacereporting/snapshot/api_op_GetBuyerDashboard.go.snap b/service/marketplacereporting/snapshot/api_op_GetBuyerDashboard.go.snap index 9db51d9c453..9afdf5eedf3 100644 --- a/service/marketplacereporting/snapshot/api_op_GetBuyerDashboard.go.snap +++ b/service/marketplacereporting/snapshot/api_op_GetBuyerDashboard.go.snap @@ -14,7 +14,6 @@ GetBuyerDashboard Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/api_client.go b/service/mediaconnect/api_client.go index 2f10a3fb78d..dad409ed0e7 100644 --- a/service/mediaconnect/api_client.go +++ b/service/mediaconnect/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/mediaconnect/api_op_AddBridgeOutputs.go b/service/mediaconnect/api_op_AddBridgeOutputs.go index 9a92cbc31df..c5092473a87 100644 --- a/service/mediaconnect/api_op_AddBridgeOutputs.go +++ b/service/mediaconnect/api_op_AddBridgeOutputs.go @@ -121,9 +121,6 @@ func (c *Client) addOperationAddBridgeOutputsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddBridgeOutputsValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_AddBridgeSources.go b/service/mediaconnect/api_op_AddBridgeSources.go index 7a6f3b80542..f25773ead36 100644 --- a/service/mediaconnect/api_op_AddBridgeSources.go +++ b/service/mediaconnect/api_op_AddBridgeSources.go @@ -121,9 +121,6 @@ func (c *Client) addOperationAddBridgeSourcesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddBridgeSourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_AddFlowMediaStreams.go b/service/mediaconnect/api_op_AddFlowMediaStreams.go index c8188b0950d..d5a1a2676a7 100644 --- a/service/mediaconnect/api_op_AddFlowMediaStreams.go +++ b/service/mediaconnect/api_op_AddFlowMediaStreams.go @@ -123,9 +123,6 @@ func (c *Client) addOperationAddFlowMediaStreamsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddFlowMediaStreamsValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_AddFlowOutputs.go b/service/mediaconnect/api_op_AddFlowOutputs.go index adae0f6cfce..801c8e5a801 100644 --- a/service/mediaconnect/api_op_AddFlowOutputs.go +++ b/service/mediaconnect/api_op_AddFlowOutputs.go @@ -121,9 +121,6 @@ func (c *Client) addOperationAddFlowOutputsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddFlowOutputsValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_AddFlowSources.go b/service/mediaconnect/api_op_AddFlowSources.go index a259417ab70..ada898967be 100644 --- a/service/mediaconnect/api_op_AddFlowSources.go +++ b/service/mediaconnect/api_op_AddFlowSources.go @@ -121,9 +121,6 @@ func (c *Client) addOperationAddFlowSourcesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddFlowSourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_AddFlowVpcInterfaces.go b/service/mediaconnect/api_op_AddFlowVpcInterfaces.go index 06bcb830b8e..dae800cf67e 100644 --- a/service/mediaconnect/api_op_AddFlowVpcInterfaces.go +++ b/service/mediaconnect/api_op_AddFlowVpcInterfaces.go @@ -121,9 +121,6 @@ func (c *Client) addOperationAddFlowVpcInterfacesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddFlowVpcInterfacesValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_CreateBridge.go b/service/mediaconnect/api_op_CreateBridge.go index 097285494a0..704f51d5f42 100644 --- a/service/mediaconnect/api_op_CreateBridge.go +++ b/service/mediaconnect/api_op_CreateBridge.go @@ -142,9 +142,6 @@ func (c *Client) addOperationCreateBridgeMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBridgeValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_CreateFlow.go b/service/mediaconnect/api_op_CreateFlow.go index 4674c6021c9..138aa26309a 100644 --- a/service/mediaconnect/api_op_CreateFlow.go +++ b/service/mediaconnect/api_op_CreateFlow.go @@ -146,9 +146,6 @@ func (c *Client) addOperationCreateFlowMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFlowValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_CreateGateway.go b/service/mediaconnect/api_op_CreateGateway.go index 6ece5f1c3f7..0ff364eb587 100644 --- a/service/mediaconnect/api_op_CreateGateway.go +++ b/service/mediaconnect/api_op_CreateGateway.go @@ -127,9 +127,6 @@ func (c *Client) addOperationCreateGatewayMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_DeleteBridge.go b/service/mediaconnect/api_op_DeleteBridge.go index 9f846c4a546..ac80acee4db 100644 --- a/service/mediaconnect/api_op_DeleteBridge.go +++ b/service/mediaconnect/api_op_DeleteBridge.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteBridgeMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBridgeValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_DeleteFlow.go b/service/mediaconnect/api_op_DeleteFlow.go index c04aaa14018..e6704ec6b79 100644 --- a/service/mediaconnect/api_op_DeleteFlow.go +++ b/service/mediaconnect/api_op_DeleteFlow.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteFlowMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFlowValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_DeleteGateway.go b/service/mediaconnect/api_op_DeleteGateway.go index 58eff058567..37ab62c9c5b 100644 --- a/service/mediaconnect/api_op_DeleteGateway.go +++ b/service/mediaconnect/api_op_DeleteGateway.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteGatewayMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_DeregisterGatewayInstance.go b/service/mediaconnect/api_op_DeregisterGatewayInstance.go index bd71d688d30..ccdfde35f60 100644 --- a/service/mediaconnect/api_op_DeregisterGatewayInstance.go +++ b/service/mediaconnect/api_op_DeregisterGatewayInstance.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeregisterGatewayInstanceMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterGatewayInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_DescribeBridge.go b/service/mediaconnect/api_op_DescribeBridge.go index e0a22fbe959..c1e9d29b983 100644 --- a/service/mediaconnect/api_op_DescribeBridge.go +++ b/service/mediaconnect/api_op_DescribeBridge.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribeBridgeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBridgeValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_DescribeFlow.go b/service/mediaconnect/api_op_DescribeFlow.go index 502f04aa668..912b87e83f6 100644 --- a/service/mediaconnect/api_op_DescribeFlow.go +++ b/service/mediaconnect/api_op_DescribeFlow.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeFlowMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFlowValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_DescribeFlowSourceMetadata.go b/service/mediaconnect/api_op_DescribeFlowSourceMetadata.go index 55153a05730..885dddeea25 100644 --- a/service/mediaconnect/api_op_DescribeFlowSourceMetadata.go +++ b/service/mediaconnect/api_op_DescribeFlowSourceMetadata.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeFlowSourceMetadataMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFlowSourceMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_DescribeFlowSourceThumbnail.go b/service/mediaconnect/api_op_DescribeFlowSourceThumbnail.go index 8f092077819..fd858211ed0 100644 --- a/service/mediaconnect/api_op_DescribeFlowSourceThumbnail.go +++ b/service/mediaconnect/api_op_DescribeFlowSourceThumbnail.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDescribeFlowSourceThumbnailMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFlowSourceThumbnailValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_DescribeGateway.go b/service/mediaconnect/api_op_DescribeGateway.go index eee0c0ae8ec..4b9340f492b 100644 --- a/service/mediaconnect/api_op_DescribeGateway.go +++ b/service/mediaconnect/api_op_DescribeGateway.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDescribeGatewayMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_DescribeGatewayInstance.go b/service/mediaconnect/api_op_DescribeGatewayInstance.go index 8f2bbd8d99b..b97494d68db 100644 --- a/service/mediaconnect/api_op_DescribeGatewayInstance.go +++ b/service/mediaconnect/api_op_DescribeGatewayInstance.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDescribeGatewayInstanceMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeGatewayInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_DescribeOffering.go b/service/mediaconnect/api_op_DescribeOffering.go index 7a3b5912cb8..dcdf83edc2f 100644 --- a/service/mediaconnect/api_op_DescribeOffering.go +++ b/service/mediaconnect/api_op_DescribeOffering.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDescribeOfferingMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeOfferingValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_DescribeReservation.go b/service/mediaconnect/api_op_DescribeReservation.go index a952a7a14b6..76b526aae8f 100644 --- a/service/mediaconnect/api_op_DescribeReservation.go +++ b/service/mediaconnect/api_op_DescribeReservation.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeReservationMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeReservationValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_GrantFlowEntitlements.go b/service/mediaconnect/api_op_GrantFlowEntitlements.go index 3cd31094de5..90801e0f5e0 100644 --- a/service/mediaconnect/api_op_GrantFlowEntitlements.go +++ b/service/mediaconnect/api_op_GrantFlowEntitlements.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGrantFlowEntitlementsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGrantFlowEntitlementsValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_ListBridges.go b/service/mediaconnect/api_op_ListBridges.go index ecfdca2ddd5..95556ef1b41 100644 --- a/service/mediaconnect/api_op_ListBridges.go +++ b/service/mediaconnect/api_op_ListBridges.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListBridgesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBridges(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mediaconnect/api_op_ListEntitlements.go b/service/mediaconnect/api_op_ListEntitlements.go index bb91277480e..a496752882f 100644 --- a/service/mediaconnect/api_op_ListEntitlements.go +++ b/service/mediaconnect/api_op_ListEntitlements.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListEntitlementsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEntitlements(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mediaconnect/api_op_ListFlows.go b/service/mediaconnect/api_op_ListFlows.go index a6fd3a3985f..03f2669361a 100644 --- a/service/mediaconnect/api_op_ListFlows.go +++ b/service/mediaconnect/api_op_ListFlows.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListFlowsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFlows(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mediaconnect/api_op_ListGatewayInstances.go b/service/mediaconnect/api_op_ListGatewayInstances.go index f7db264728a..1fb01036cdf 100644 --- a/service/mediaconnect/api_op_ListGatewayInstances.go +++ b/service/mediaconnect/api_op_ListGatewayInstances.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListGatewayInstancesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGatewayInstances(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mediaconnect/api_op_ListGateways.go b/service/mediaconnect/api_op_ListGateways.go index a2396009013..3178101823f 100644 --- a/service/mediaconnect/api_op_ListGateways.go +++ b/service/mediaconnect/api_op_ListGateways.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListGatewaysMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGateways(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mediaconnect/api_op_ListOfferings.go b/service/mediaconnect/api_op_ListOfferings.go index 096c1073dc4..cf0b998c1e7 100644 --- a/service/mediaconnect/api_op_ListOfferings.go +++ b/service/mediaconnect/api_op_ListOfferings.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListOfferingsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOfferings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mediaconnect/api_op_ListReservations.go b/service/mediaconnect/api_op_ListReservations.go index 2adaf0cb127..7149fb2c184 100644 --- a/service/mediaconnect/api_op_ListReservations.go +++ b/service/mediaconnect/api_op_ListReservations.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListReservationsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReservations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mediaconnect/api_op_ListTagsForResource.go b/service/mediaconnect/api_op_ListTagsForResource.go index 0925f1ba1b9..96a44d97981 100644 --- a/service/mediaconnect/api_op_ListTagsForResource.go +++ b/service/mediaconnect/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_PurchaseOffering.go b/service/mediaconnect/api_op_PurchaseOffering.go index 88c9fc2a97b..6cd09e56d07 100644 --- a/service/mediaconnect/api_op_PurchaseOffering.go +++ b/service/mediaconnect/api_op_PurchaseOffering.go @@ -134,9 +134,6 @@ func (c *Client) addOperationPurchaseOfferingMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPurchaseOfferingValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_RemoveBridgeOutput.go b/service/mediaconnect/api_op_RemoveBridgeOutput.go index aff9e9cb216..5f5be0ba408 100644 --- a/service/mediaconnect/api_op_RemoveBridgeOutput.go +++ b/service/mediaconnect/api_op_RemoveBridgeOutput.go @@ -116,9 +116,6 @@ func (c *Client) addOperationRemoveBridgeOutputMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveBridgeOutputValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_RemoveBridgeSource.go b/service/mediaconnect/api_op_RemoveBridgeSource.go index a2247931dbe..646ec117f89 100644 --- a/service/mediaconnect/api_op_RemoveBridgeSource.go +++ b/service/mediaconnect/api_op_RemoveBridgeSource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationRemoveBridgeSourceMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveBridgeSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_RemoveFlowMediaStream.go b/service/mediaconnect/api_op_RemoveFlowMediaStream.go index 6a90276b599..22c9ec751b8 100644 --- a/service/mediaconnect/api_op_RemoveFlowMediaStream.go +++ b/service/mediaconnect/api_op_RemoveFlowMediaStream.go @@ -120,9 +120,6 @@ func (c *Client) addOperationRemoveFlowMediaStreamMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveFlowMediaStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_RemoveFlowOutput.go b/service/mediaconnect/api_op_RemoveFlowOutput.go index 4f74216ee24..34cf36b77b3 100644 --- a/service/mediaconnect/api_op_RemoveFlowOutput.go +++ b/service/mediaconnect/api_op_RemoveFlowOutput.go @@ -122,9 +122,6 @@ func (c *Client) addOperationRemoveFlowOutputMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveFlowOutputValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_RemoveFlowSource.go b/service/mediaconnect/api_op_RemoveFlowSource.go index f8d8d91cc81..62d85c5efc8 100644 --- a/service/mediaconnect/api_op_RemoveFlowSource.go +++ b/service/mediaconnect/api_op_RemoveFlowSource.go @@ -120,9 +120,6 @@ func (c *Client) addOperationRemoveFlowSourceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveFlowSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_RemoveFlowVpcInterface.go b/service/mediaconnect/api_op_RemoveFlowVpcInterface.go index c8c39be70c8..2ec3feeb772 100644 --- a/service/mediaconnect/api_op_RemoveFlowVpcInterface.go +++ b/service/mediaconnect/api_op_RemoveFlowVpcInterface.go @@ -126,9 +126,6 @@ func (c *Client) addOperationRemoveFlowVpcInterfaceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveFlowVpcInterfaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_RevokeFlowEntitlement.go b/service/mediaconnect/api_op_RevokeFlowEntitlement.go index a52321f316c..5a06616bcaa 100644 --- a/service/mediaconnect/api_op_RevokeFlowEntitlement.go +++ b/service/mediaconnect/api_op_RevokeFlowEntitlement.go @@ -120,9 +120,6 @@ func (c *Client) addOperationRevokeFlowEntitlementMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRevokeFlowEntitlementValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_StartFlow.go b/service/mediaconnect/api_op_StartFlow.go index 8b49c3e8c6a..f776152222d 100644 --- a/service/mediaconnect/api_op_StartFlow.go +++ b/service/mediaconnect/api_op_StartFlow.go @@ -115,9 +115,6 @@ func (c *Client) addOperationStartFlowMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartFlowValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_StopFlow.go b/service/mediaconnect/api_op_StopFlow.go index eb7075ba581..b75eb00ffcb 100644 --- a/service/mediaconnect/api_op_StopFlow.go +++ b/service/mediaconnect/api_op_StopFlow.go @@ -115,9 +115,6 @@ func (c *Client) addOperationStopFlowMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopFlowValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_TagResource.go b/service/mediaconnect/api_op_TagResource.go index 3eb501162e7..bb0db9fa63e 100644 --- a/service/mediaconnect/api_op_TagResource.go +++ b/service/mediaconnect/api_op_TagResource.go @@ -120,9 +120,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_UntagResource.go b/service/mediaconnect/api_op_UntagResource.go index a273056517c..7c740772eed 100644 --- a/service/mediaconnect/api_op_UntagResource.go +++ b/service/mediaconnect/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_UpdateBridge.go b/service/mediaconnect/api_op_UpdateBridge.go index d8fc6f420f2..4e44727fae7 100644 --- a/service/mediaconnect/api_op_UpdateBridge.go +++ b/service/mediaconnect/api_op_UpdateBridge.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateBridgeMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBridgeValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_UpdateBridgeOutput.go b/service/mediaconnect/api_op_UpdateBridgeOutput.go index 1445be3974b..48377b79977 100644 --- a/service/mediaconnect/api_op_UpdateBridgeOutput.go +++ b/service/mediaconnect/api_op_UpdateBridgeOutput.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateBridgeOutputMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBridgeOutputValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_UpdateBridgeSource.go b/service/mediaconnect/api_op_UpdateBridgeSource.go index 2c9a40ec434..d29dc765349 100644 --- a/service/mediaconnect/api_op_UpdateBridgeSource.go +++ b/service/mediaconnect/api_op_UpdateBridgeSource.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateBridgeSourceMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBridgeSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_UpdateBridgeState.go b/service/mediaconnect/api_op_UpdateBridgeState.go index e516c22dcd1..e6e9fdee723 100644 --- a/service/mediaconnect/api_op_UpdateBridgeState.go +++ b/service/mediaconnect/api_op_UpdateBridgeState.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateBridgeStateMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBridgeStateValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_UpdateFlow.go b/service/mediaconnect/api_op_UpdateFlow.go index 9dcced41374..11a3734af2f 100644 --- a/service/mediaconnect/api_op_UpdateFlow.go +++ b/service/mediaconnect/api_op_UpdateFlow.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateFlowMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFlowValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_UpdateFlowEntitlement.go b/service/mediaconnect/api_op_UpdateFlowEntitlement.go index 14231e69bdc..5b98721e392 100644 --- a/service/mediaconnect/api_op_UpdateFlowEntitlement.go +++ b/service/mediaconnect/api_op_UpdateFlowEntitlement.go @@ -143,9 +143,6 @@ func (c *Client) addOperationUpdateFlowEntitlementMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFlowEntitlementValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_UpdateFlowMediaStream.go b/service/mediaconnect/api_op_UpdateFlowMediaStream.go index fdbad5f5426..cc577312b45 100644 --- a/service/mediaconnect/api_op_UpdateFlowMediaStream.go +++ b/service/mediaconnect/api_op_UpdateFlowMediaStream.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateFlowMediaStreamMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFlowMediaStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_UpdateFlowOutput.go b/service/mediaconnect/api_op_UpdateFlowOutput.go index c00d544d8b4..aadd7502d06 100644 --- a/service/mediaconnect/api_op_UpdateFlowOutput.go +++ b/service/mediaconnect/api_op_UpdateFlowOutput.go @@ -185,9 +185,6 @@ func (c *Client) addOperationUpdateFlowOutputMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFlowOutputValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_UpdateFlowSource.go b/service/mediaconnect/api_op_UpdateFlowSource.go index ae7393d579f..a6640fe51e4 100644 --- a/service/mediaconnect/api_op_UpdateFlowSource.go +++ b/service/mediaconnect/api_op_UpdateFlowSource.go @@ -190,9 +190,6 @@ func (c *Client) addOperationUpdateFlowSourceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFlowSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/api_op_UpdateGatewayInstance.go b/service/mediaconnect/api_op_UpdateGatewayInstance.go index 493ce6f2afb..eb3328165c0 100644 --- a/service/mediaconnect/api_op_UpdateGatewayInstance.go +++ b/service/mediaconnect/api_op_UpdateGatewayInstance.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateGatewayInstanceMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateGatewayInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconnect/snapshot/api_op_AddBridgeOutputs.go.snap b/service/mediaconnect/snapshot/api_op_AddBridgeOutputs.go.snap index 22a74b952fe..b9ccdc8442b 100644 --- a/service/mediaconnect/snapshot/api_op_AddBridgeOutputs.go.snap +++ b/service/mediaconnect/snapshot/api_op_AddBridgeOutputs.go.snap @@ -14,7 +14,6 @@ AddBridgeOutputs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_AddBridgeSources.go.snap b/service/mediaconnect/snapshot/api_op_AddBridgeSources.go.snap index 773fd283c70..7fb6cf583b6 100644 --- a/service/mediaconnect/snapshot/api_op_AddBridgeSources.go.snap +++ b/service/mediaconnect/snapshot/api_op_AddBridgeSources.go.snap @@ -14,7 +14,6 @@ AddBridgeSources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_AddFlowMediaStreams.go.snap b/service/mediaconnect/snapshot/api_op_AddFlowMediaStreams.go.snap index 05cf3a85f35..c7d488718c5 100644 --- a/service/mediaconnect/snapshot/api_op_AddFlowMediaStreams.go.snap +++ b/service/mediaconnect/snapshot/api_op_AddFlowMediaStreams.go.snap @@ -14,7 +14,6 @@ AddFlowMediaStreams Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_AddFlowOutputs.go.snap b/service/mediaconnect/snapshot/api_op_AddFlowOutputs.go.snap index c7762fc9ac5..0eb22ede7ce 100644 --- a/service/mediaconnect/snapshot/api_op_AddFlowOutputs.go.snap +++ b/service/mediaconnect/snapshot/api_op_AddFlowOutputs.go.snap @@ -14,7 +14,6 @@ AddFlowOutputs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_AddFlowSources.go.snap b/service/mediaconnect/snapshot/api_op_AddFlowSources.go.snap index d23bf13983a..95183da9eab 100644 --- a/service/mediaconnect/snapshot/api_op_AddFlowSources.go.snap +++ b/service/mediaconnect/snapshot/api_op_AddFlowSources.go.snap @@ -14,7 +14,6 @@ AddFlowSources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_AddFlowVpcInterfaces.go.snap b/service/mediaconnect/snapshot/api_op_AddFlowVpcInterfaces.go.snap index c553553a1e9..fff682abfce 100644 --- a/service/mediaconnect/snapshot/api_op_AddFlowVpcInterfaces.go.snap +++ b/service/mediaconnect/snapshot/api_op_AddFlowVpcInterfaces.go.snap @@ -14,7 +14,6 @@ AddFlowVpcInterfaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_CreateBridge.go.snap b/service/mediaconnect/snapshot/api_op_CreateBridge.go.snap index b3ec88b1025..96af85a95e0 100644 --- a/service/mediaconnect/snapshot/api_op_CreateBridge.go.snap +++ b/service/mediaconnect/snapshot/api_op_CreateBridge.go.snap @@ -14,7 +14,6 @@ CreateBridge Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_CreateFlow.go.snap b/service/mediaconnect/snapshot/api_op_CreateFlow.go.snap index 953a03b0423..98d56013926 100644 --- a/service/mediaconnect/snapshot/api_op_CreateFlow.go.snap +++ b/service/mediaconnect/snapshot/api_op_CreateFlow.go.snap @@ -14,7 +14,6 @@ CreateFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_CreateGateway.go.snap b/service/mediaconnect/snapshot/api_op_CreateGateway.go.snap index 4b420977c1e..3e4ba923aaa 100644 --- a/service/mediaconnect/snapshot/api_op_CreateGateway.go.snap +++ b/service/mediaconnect/snapshot/api_op_CreateGateway.go.snap @@ -14,7 +14,6 @@ CreateGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_DeleteBridge.go.snap b/service/mediaconnect/snapshot/api_op_DeleteBridge.go.snap index 481aa294fc2..f1c38d5fdce 100644 --- a/service/mediaconnect/snapshot/api_op_DeleteBridge.go.snap +++ b/service/mediaconnect/snapshot/api_op_DeleteBridge.go.snap @@ -14,7 +14,6 @@ DeleteBridge Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_DeleteFlow.go.snap b/service/mediaconnect/snapshot/api_op_DeleteFlow.go.snap index 133440e076e..4e0191ae096 100644 --- a/service/mediaconnect/snapshot/api_op_DeleteFlow.go.snap +++ b/service/mediaconnect/snapshot/api_op_DeleteFlow.go.snap @@ -14,7 +14,6 @@ DeleteFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_DeleteGateway.go.snap b/service/mediaconnect/snapshot/api_op_DeleteGateway.go.snap index 7d7ab9437f3..70571611919 100644 --- a/service/mediaconnect/snapshot/api_op_DeleteGateway.go.snap +++ b/service/mediaconnect/snapshot/api_op_DeleteGateway.go.snap @@ -14,7 +14,6 @@ DeleteGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_DeregisterGatewayInstance.go.snap b/service/mediaconnect/snapshot/api_op_DeregisterGatewayInstance.go.snap index 94b481e434b..781ced7a4a4 100644 --- a/service/mediaconnect/snapshot/api_op_DeregisterGatewayInstance.go.snap +++ b/service/mediaconnect/snapshot/api_op_DeregisterGatewayInstance.go.snap @@ -14,7 +14,6 @@ DeregisterGatewayInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_DescribeBridge.go.snap b/service/mediaconnect/snapshot/api_op_DescribeBridge.go.snap index 80c10e1b33a..d56485d3ca3 100644 --- a/service/mediaconnect/snapshot/api_op_DescribeBridge.go.snap +++ b/service/mediaconnect/snapshot/api_op_DescribeBridge.go.snap @@ -14,7 +14,6 @@ DescribeBridge Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_DescribeFlow.go.snap b/service/mediaconnect/snapshot/api_op_DescribeFlow.go.snap index 8f385804049..657c732fe43 100644 --- a/service/mediaconnect/snapshot/api_op_DescribeFlow.go.snap +++ b/service/mediaconnect/snapshot/api_op_DescribeFlow.go.snap @@ -14,7 +14,6 @@ DescribeFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_DescribeFlowSourceMetadata.go.snap b/service/mediaconnect/snapshot/api_op_DescribeFlowSourceMetadata.go.snap index 151088ead89..ce4e9e7973b 100644 --- a/service/mediaconnect/snapshot/api_op_DescribeFlowSourceMetadata.go.snap +++ b/service/mediaconnect/snapshot/api_op_DescribeFlowSourceMetadata.go.snap @@ -14,7 +14,6 @@ DescribeFlowSourceMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_DescribeFlowSourceThumbnail.go.snap b/service/mediaconnect/snapshot/api_op_DescribeFlowSourceThumbnail.go.snap index 739340edef2..f3b555fba51 100644 --- a/service/mediaconnect/snapshot/api_op_DescribeFlowSourceThumbnail.go.snap +++ b/service/mediaconnect/snapshot/api_op_DescribeFlowSourceThumbnail.go.snap @@ -14,7 +14,6 @@ DescribeFlowSourceThumbnail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_DescribeGateway.go.snap b/service/mediaconnect/snapshot/api_op_DescribeGateway.go.snap index a904f852ca4..a8da99ca573 100644 --- a/service/mediaconnect/snapshot/api_op_DescribeGateway.go.snap +++ b/service/mediaconnect/snapshot/api_op_DescribeGateway.go.snap @@ -14,7 +14,6 @@ DescribeGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_DescribeGatewayInstance.go.snap b/service/mediaconnect/snapshot/api_op_DescribeGatewayInstance.go.snap index a741aef5b0e..ed6497cdd80 100644 --- a/service/mediaconnect/snapshot/api_op_DescribeGatewayInstance.go.snap +++ b/service/mediaconnect/snapshot/api_op_DescribeGatewayInstance.go.snap @@ -14,7 +14,6 @@ DescribeGatewayInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_DescribeOffering.go.snap b/service/mediaconnect/snapshot/api_op_DescribeOffering.go.snap index 06853952135..3ad0e4e5a48 100644 --- a/service/mediaconnect/snapshot/api_op_DescribeOffering.go.snap +++ b/service/mediaconnect/snapshot/api_op_DescribeOffering.go.snap @@ -14,7 +14,6 @@ DescribeOffering Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_DescribeReservation.go.snap b/service/mediaconnect/snapshot/api_op_DescribeReservation.go.snap index 630c69bff73..52399bf4b44 100644 --- a/service/mediaconnect/snapshot/api_op_DescribeReservation.go.snap +++ b/service/mediaconnect/snapshot/api_op_DescribeReservation.go.snap @@ -14,7 +14,6 @@ DescribeReservation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_GrantFlowEntitlements.go.snap b/service/mediaconnect/snapshot/api_op_GrantFlowEntitlements.go.snap index 42b5f6014cd..c4d830eaa71 100644 --- a/service/mediaconnect/snapshot/api_op_GrantFlowEntitlements.go.snap +++ b/service/mediaconnect/snapshot/api_op_GrantFlowEntitlements.go.snap @@ -14,7 +14,6 @@ GrantFlowEntitlements Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_ListBridges.go.snap b/service/mediaconnect/snapshot/api_op_ListBridges.go.snap index e87cd745772..a547f688e10 100644 --- a/service/mediaconnect/snapshot/api_op_ListBridges.go.snap +++ b/service/mediaconnect/snapshot/api_op_ListBridges.go.snap @@ -13,7 +13,6 @@ ListBridges Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_ListEntitlements.go.snap b/service/mediaconnect/snapshot/api_op_ListEntitlements.go.snap index e8be6e544c2..1ea46f783f8 100644 --- a/service/mediaconnect/snapshot/api_op_ListEntitlements.go.snap +++ b/service/mediaconnect/snapshot/api_op_ListEntitlements.go.snap @@ -13,7 +13,6 @@ ListEntitlements Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_ListFlows.go.snap b/service/mediaconnect/snapshot/api_op_ListFlows.go.snap index 60dea0909f1..34a5034919c 100644 --- a/service/mediaconnect/snapshot/api_op_ListFlows.go.snap +++ b/service/mediaconnect/snapshot/api_op_ListFlows.go.snap @@ -13,7 +13,6 @@ ListFlows Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_ListGatewayInstances.go.snap b/service/mediaconnect/snapshot/api_op_ListGatewayInstances.go.snap index dfcf09de57e..6b21f4e85ac 100644 --- a/service/mediaconnect/snapshot/api_op_ListGatewayInstances.go.snap +++ b/service/mediaconnect/snapshot/api_op_ListGatewayInstances.go.snap @@ -13,7 +13,6 @@ ListGatewayInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_ListGateways.go.snap b/service/mediaconnect/snapshot/api_op_ListGateways.go.snap index 7a4f682e3d5..a9c429c3a6b 100644 --- a/service/mediaconnect/snapshot/api_op_ListGateways.go.snap +++ b/service/mediaconnect/snapshot/api_op_ListGateways.go.snap @@ -13,7 +13,6 @@ ListGateways Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_ListOfferings.go.snap b/service/mediaconnect/snapshot/api_op_ListOfferings.go.snap index 97af9ceb2db..9ce8fe4209f 100644 --- a/service/mediaconnect/snapshot/api_op_ListOfferings.go.snap +++ b/service/mediaconnect/snapshot/api_op_ListOfferings.go.snap @@ -13,7 +13,6 @@ ListOfferings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_ListReservations.go.snap b/service/mediaconnect/snapshot/api_op_ListReservations.go.snap index 6ea042d1c01..c822a8a395f 100644 --- a/service/mediaconnect/snapshot/api_op_ListReservations.go.snap +++ b/service/mediaconnect/snapshot/api_op_ListReservations.go.snap @@ -13,7 +13,6 @@ ListReservations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_ListTagsForResource.go.snap b/service/mediaconnect/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/mediaconnect/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/mediaconnect/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_PurchaseOffering.go.snap b/service/mediaconnect/snapshot/api_op_PurchaseOffering.go.snap index cac5555c74e..f17e2249cbc 100644 --- a/service/mediaconnect/snapshot/api_op_PurchaseOffering.go.snap +++ b/service/mediaconnect/snapshot/api_op_PurchaseOffering.go.snap @@ -14,7 +14,6 @@ PurchaseOffering Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_RemoveBridgeOutput.go.snap b/service/mediaconnect/snapshot/api_op_RemoveBridgeOutput.go.snap index 8b39cf3ef8e..a1918f38ac6 100644 --- a/service/mediaconnect/snapshot/api_op_RemoveBridgeOutput.go.snap +++ b/service/mediaconnect/snapshot/api_op_RemoveBridgeOutput.go.snap @@ -14,7 +14,6 @@ RemoveBridgeOutput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_RemoveBridgeSource.go.snap b/service/mediaconnect/snapshot/api_op_RemoveBridgeSource.go.snap index 478b569d6e8..eb3a3602871 100644 --- a/service/mediaconnect/snapshot/api_op_RemoveBridgeSource.go.snap +++ b/service/mediaconnect/snapshot/api_op_RemoveBridgeSource.go.snap @@ -14,7 +14,6 @@ RemoveBridgeSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_RemoveFlowMediaStream.go.snap b/service/mediaconnect/snapshot/api_op_RemoveFlowMediaStream.go.snap index 1c2c986e77f..1cbe3cfac82 100644 --- a/service/mediaconnect/snapshot/api_op_RemoveFlowMediaStream.go.snap +++ b/service/mediaconnect/snapshot/api_op_RemoveFlowMediaStream.go.snap @@ -14,7 +14,6 @@ RemoveFlowMediaStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_RemoveFlowOutput.go.snap b/service/mediaconnect/snapshot/api_op_RemoveFlowOutput.go.snap index d9b0fcab68d..bad7ca90eab 100644 --- a/service/mediaconnect/snapshot/api_op_RemoveFlowOutput.go.snap +++ b/service/mediaconnect/snapshot/api_op_RemoveFlowOutput.go.snap @@ -14,7 +14,6 @@ RemoveFlowOutput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_RemoveFlowSource.go.snap b/service/mediaconnect/snapshot/api_op_RemoveFlowSource.go.snap index 1bfb16bef30..37ec9172dde 100644 --- a/service/mediaconnect/snapshot/api_op_RemoveFlowSource.go.snap +++ b/service/mediaconnect/snapshot/api_op_RemoveFlowSource.go.snap @@ -14,7 +14,6 @@ RemoveFlowSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_RemoveFlowVpcInterface.go.snap b/service/mediaconnect/snapshot/api_op_RemoveFlowVpcInterface.go.snap index ad5671ccec0..57878517d59 100644 --- a/service/mediaconnect/snapshot/api_op_RemoveFlowVpcInterface.go.snap +++ b/service/mediaconnect/snapshot/api_op_RemoveFlowVpcInterface.go.snap @@ -14,7 +14,6 @@ RemoveFlowVpcInterface Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_RevokeFlowEntitlement.go.snap b/service/mediaconnect/snapshot/api_op_RevokeFlowEntitlement.go.snap index e6ff0da472b..57cbf16a2e2 100644 --- a/service/mediaconnect/snapshot/api_op_RevokeFlowEntitlement.go.snap +++ b/service/mediaconnect/snapshot/api_op_RevokeFlowEntitlement.go.snap @@ -14,7 +14,6 @@ RevokeFlowEntitlement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_StartFlow.go.snap b/service/mediaconnect/snapshot/api_op_StartFlow.go.snap index e05409ae0c0..d8826094d9e 100644 --- a/service/mediaconnect/snapshot/api_op_StartFlow.go.snap +++ b/service/mediaconnect/snapshot/api_op_StartFlow.go.snap @@ -14,7 +14,6 @@ StartFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_StopFlow.go.snap b/service/mediaconnect/snapshot/api_op_StopFlow.go.snap index 5a21c3d5ddf..519ba7fb003 100644 --- a/service/mediaconnect/snapshot/api_op_StopFlow.go.snap +++ b/service/mediaconnect/snapshot/api_op_StopFlow.go.snap @@ -14,7 +14,6 @@ StopFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_TagResource.go.snap b/service/mediaconnect/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/mediaconnect/snapshot/api_op_TagResource.go.snap +++ b/service/mediaconnect/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_UntagResource.go.snap b/service/mediaconnect/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/mediaconnect/snapshot/api_op_UntagResource.go.snap +++ b/service/mediaconnect/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_UpdateBridge.go.snap b/service/mediaconnect/snapshot/api_op_UpdateBridge.go.snap index 3ba7e41183b..09894f5820d 100644 --- a/service/mediaconnect/snapshot/api_op_UpdateBridge.go.snap +++ b/service/mediaconnect/snapshot/api_op_UpdateBridge.go.snap @@ -14,7 +14,6 @@ UpdateBridge Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_UpdateBridgeOutput.go.snap b/service/mediaconnect/snapshot/api_op_UpdateBridgeOutput.go.snap index 1e7d9f37937..3aae1fd33ee 100644 --- a/service/mediaconnect/snapshot/api_op_UpdateBridgeOutput.go.snap +++ b/service/mediaconnect/snapshot/api_op_UpdateBridgeOutput.go.snap @@ -14,7 +14,6 @@ UpdateBridgeOutput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_UpdateBridgeSource.go.snap b/service/mediaconnect/snapshot/api_op_UpdateBridgeSource.go.snap index a47f7e15d7f..f8e0c0179cf 100644 --- a/service/mediaconnect/snapshot/api_op_UpdateBridgeSource.go.snap +++ b/service/mediaconnect/snapshot/api_op_UpdateBridgeSource.go.snap @@ -14,7 +14,6 @@ UpdateBridgeSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_UpdateBridgeState.go.snap b/service/mediaconnect/snapshot/api_op_UpdateBridgeState.go.snap index c004b8ca46f..c7dc1f2963d 100644 --- a/service/mediaconnect/snapshot/api_op_UpdateBridgeState.go.snap +++ b/service/mediaconnect/snapshot/api_op_UpdateBridgeState.go.snap @@ -14,7 +14,6 @@ UpdateBridgeState Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_UpdateFlow.go.snap b/service/mediaconnect/snapshot/api_op_UpdateFlow.go.snap index 57d21f51dba..fa7e770e94c 100644 --- a/service/mediaconnect/snapshot/api_op_UpdateFlow.go.snap +++ b/service/mediaconnect/snapshot/api_op_UpdateFlow.go.snap @@ -14,7 +14,6 @@ UpdateFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_UpdateFlowEntitlement.go.snap b/service/mediaconnect/snapshot/api_op_UpdateFlowEntitlement.go.snap index 5d86e2a32da..fb98d45f6af 100644 --- a/service/mediaconnect/snapshot/api_op_UpdateFlowEntitlement.go.snap +++ b/service/mediaconnect/snapshot/api_op_UpdateFlowEntitlement.go.snap @@ -14,7 +14,6 @@ UpdateFlowEntitlement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_UpdateFlowMediaStream.go.snap b/service/mediaconnect/snapshot/api_op_UpdateFlowMediaStream.go.snap index a10356268a5..3ec283a7ed0 100644 --- a/service/mediaconnect/snapshot/api_op_UpdateFlowMediaStream.go.snap +++ b/service/mediaconnect/snapshot/api_op_UpdateFlowMediaStream.go.snap @@ -14,7 +14,6 @@ UpdateFlowMediaStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_UpdateFlowOutput.go.snap b/service/mediaconnect/snapshot/api_op_UpdateFlowOutput.go.snap index a7459d4ced8..17be91e2f6f 100644 --- a/service/mediaconnect/snapshot/api_op_UpdateFlowOutput.go.snap +++ b/service/mediaconnect/snapshot/api_op_UpdateFlowOutput.go.snap @@ -14,7 +14,6 @@ UpdateFlowOutput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_UpdateFlowSource.go.snap b/service/mediaconnect/snapshot/api_op_UpdateFlowSource.go.snap index 7fee2af78be..1fa2a0078ab 100644 --- a/service/mediaconnect/snapshot/api_op_UpdateFlowSource.go.snap +++ b/service/mediaconnect/snapshot/api_op_UpdateFlowSource.go.snap @@ -14,7 +14,6 @@ UpdateFlowSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconnect/snapshot/api_op_UpdateGatewayInstance.go.snap b/service/mediaconnect/snapshot/api_op_UpdateGatewayInstance.go.snap index 8c47cde9397..20c1009ce20 100644 --- a/service/mediaconnect/snapshot/api_op_UpdateGatewayInstance.go.snap +++ b/service/mediaconnect/snapshot/api_op_UpdateGatewayInstance.go.snap @@ -14,7 +14,6 @@ UpdateGatewayInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconvert/api_client.go b/service/mediaconvert/api_client.go index 54babcadedc..28ff5d06666 100644 --- a/service/mediaconvert/api_client.go +++ b/service/mediaconvert/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/mediaconvert/api_op_AssociateCertificate.go b/service/mediaconvert/api_op_AssociateCertificate.go index cd9cdce6fcc..2a1ac035e79 100644 --- a/service/mediaconvert/api_op_AssociateCertificate.go +++ b/service/mediaconvert/api_op_AssociateCertificate.go @@ -109,9 +109,6 @@ func (c *Client) addOperationAssociateCertificateMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_CancelJob.go b/service/mediaconvert/api_op_CancelJob.go index 2494961d6dc..bde900f718e 100644 --- a/service/mediaconvert/api_op_CancelJob.go +++ b/service/mediaconvert/api_op_CancelJob.go @@ -108,9 +108,6 @@ func (c *Client) addOperationCancelJobMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_CreateJob.go b/service/mediaconvert/api_op_CreateJob.go index a303612991c..cc819037200 100644 --- a/service/mediaconvert/api_op_CreateJob.go +++ b/service/mediaconvert/api_op_CreateJob.go @@ -198,9 +198,6 @@ func (c *Client) addOperationCreateJobMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateJobMiddleware(stack, options); err != nil { return err } diff --git a/service/mediaconvert/api_op_CreateJobTemplate.go b/service/mediaconvert/api_op_CreateJobTemplate.go index 0dc81fae719..fdbeb153124 100644 --- a/service/mediaconvert/api_op_CreateJobTemplate.go +++ b/service/mediaconvert/api_op_CreateJobTemplate.go @@ -158,9 +158,6 @@ func (c *Client) addOperationCreateJobTemplateMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateJobTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_CreatePreset.go b/service/mediaconvert/api_op_CreatePreset.go index d34a2844e88..ebf1bdbc042 100644 --- a/service/mediaconvert/api_op_CreatePreset.go +++ b/service/mediaconvert/api_op_CreatePreset.go @@ -129,9 +129,6 @@ func (c *Client) addOperationCreatePresetMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePresetValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_CreateQueue.go b/service/mediaconvert/api_op_CreateQueue.go index da7b56d07e9..d082d66a99e 100644 --- a/service/mediaconvert/api_op_CreateQueue.go +++ b/service/mediaconvert/api_op_CreateQueue.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCreateQueueMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateQueueValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_DeleteJobTemplate.go b/service/mediaconvert/api_op_DeleteJobTemplate.go index eb77e37dfc0..eec95a2e63b 100644 --- a/service/mediaconvert/api_op_DeleteJobTemplate.go +++ b/service/mediaconvert/api_op_DeleteJobTemplate.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteJobTemplateMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteJobTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_DeletePolicy.go b/service/mediaconvert/api_op_DeletePolicy.go index 819339a11ad..226f838b959 100644 --- a/service/mediaconvert/api_op_DeletePolicy.go +++ b/service/mediaconvert/api_op_DeletePolicy.go @@ -101,9 +101,6 @@ func (c *Client) addOperationDeletePolicyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePolicy(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mediaconvert/api_op_DeletePreset.go b/service/mediaconvert/api_op_DeletePreset.go index 5df20622b71..e494bd5c74d 100644 --- a/service/mediaconvert/api_op_DeletePreset.go +++ b/service/mediaconvert/api_op_DeletePreset.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeletePresetMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePresetValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_DeleteQueue.go b/service/mediaconvert/api_op_DeleteQueue.go index d2c7098943e..8a5c08e874e 100644 --- a/service/mediaconvert/api_op_DeleteQueue.go +++ b/service/mediaconvert/api_op_DeleteQueue.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteQueueMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteQueueValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_DescribeEndpoints.go b/service/mediaconvert/api_op_DescribeEndpoints.go index 3ffa56cfb9d..5ce52193183 100644 --- a/service/mediaconvert/api_op_DescribeEndpoints.go +++ b/service/mediaconvert/api_op_DescribeEndpoints.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeEndpointsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEndpoints(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mediaconvert/api_op_DisassociateCertificate.go b/service/mediaconvert/api_op_DisassociateCertificate.go index 4efc68ee3c2..09900cf05a0 100644 --- a/service/mediaconvert/api_op_DisassociateCertificate.go +++ b/service/mediaconvert/api_op_DisassociateCertificate.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDisassociateCertificateMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_GetJob.go b/service/mediaconvert/api_op_GetJob.go index 48a11a79d50..f67198bd478 100644 --- a/service/mediaconvert/api_op_GetJob.go +++ b/service/mediaconvert/api_op_GetJob.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetJobMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_GetJobTemplate.go b/service/mediaconvert/api_op_GetJobTemplate.go index b67481944be..b46eef3a802 100644 --- a/service/mediaconvert/api_op_GetJobTemplate.go +++ b/service/mediaconvert/api_op_GetJobTemplate.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetJobTemplateMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetJobTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_GetPolicy.go b/service/mediaconvert/api_op_GetPolicy.go index 592583d8ba0..6ac5cf112e1 100644 --- a/service/mediaconvert/api_op_GetPolicy.go +++ b/service/mediaconvert/api_op_GetPolicy.go @@ -108,9 +108,6 @@ func (c *Client) addOperationGetPolicyMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPolicy(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mediaconvert/api_op_GetPreset.go b/service/mediaconvert/api_op_GetPreset.go index 38ce21f961a..6e94a7cb994 100644 --- a/service/mediaconvert/api_op_GetPreset.go +++ b/service/mediaconvert/api_op_GetPreset.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetPresetMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPresetValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_GetQueue.go b/service/mediaconvert/api_op_GetQueue.go index a6507c622fd..e5e5ec53f40 100644 --- a/service/mediaconvert/api_op_GetQueue.go +++ b/service/mediaconvert/api_op_GetQueue.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetQueueMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetQueueValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_ListJobTemplates.go b/service/mediaconvert/api_op_ListJobTemplates.go index 51d26f08bfe..38362100029 100644 --- a/service/mediaconvert/api_op_ListJobTemplates.go +++ b/service/mediaconvert/api_op_ListJobTemplates.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListJobTemplatesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJobTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mediaconvert/api_op_ListJobs.go b/service/mediaconvert/api_op_ListJobs.go index 0557ae72ce0..68be86adcb6 100644 --- a/service/mediaconvert/api_op_ListJobs.go +++ b/service/mediaconvert/api_op_ListJobs.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListJobsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mediaconvert/api_op_ListPresets.go b/service/mediaconvert/api_op_ListPresets.go index fcec60ab595..927732b1363 100644 --- a/service/mediaconvert/api_op_ListPresets.go +++ b/service/mediaconvert/api_op_ListPresets.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListPresetsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPresets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mediaconvert/api_op_ListQueues.go b/service/mediaconvert/api_op_ListQueues.go index 4d45d2f342b..2e1af269451 100644 --- a/service/mediaconvert/api_op_ListQueues.go +++ b/service/mediaconvert/api_op_ListQueues.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListQueuesMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListQueues(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mediaconvert/api_op_ListTagsForResource.go b/service/mediaconvert/api_op_ListTagsForResource.go index 19720820368..6bc9aa11341 100644 --- a/service/mediaconvert/api_op_ListTagsForResource.go +++ b/service/mediaconvert/api_op_ListTagsForResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_ListVersions.go b/service/mediaconvert/api_op_ListVersions.go index b0f6100d671..e92ad354653 100644 --- a/service/mediaconvert/api_op_ListVersions.go +++ b/service/mediaconvert/api_op_ListVersions.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListVersionsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVersions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mediaconvert/api_op_PutPolicy.go b/service/mediaconvert/api_op_PutPolicy.go index 70f3499b2af..0d25788b266 100644 --- a/service/mediaconvert/api_op_PutPolicy.go +++ b/service/mediaconvert/api_op_PutPolicy.go @@ -117,9 +117,6 @@ func (c *Client) addOperationPutPolicyMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_SearchJobs.go b/service/mediaconvert/api_op_SearchJobs.go index 7e5a1b660d0..88857bdf714 100644 --- a/service/mediaconvert/api_op_SearchJobs.go +++ b/service/mediaconvert/api_op_SearchJobs.go @@ -136,9 +136,6 @@ func (c *Client) addOperationSearchJobsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mediaconvert/api_op_TagResource.go b/service/mediaconvert/api_op_TagResource.go index ed6f1b8f020..b3519b9e323 100644 --- a/service/mediaconvert/api_op_TagResource.go +++ b/service/mediaconvert/api_op_TagResource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_UntagResource.go b/service/mediaconvert/api_op_UntagResource.go index b79f22eb32c..af19f41ed61 100644 --- a/service/mediaconvert/api_op_UntagResource.go +++ b/service/mediaconvert/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_UpdateJobTemplate.go b/service/mediaconvert/api_op_UpdateJobTemplate.go index 6aa9888935a..08fdfbf5ce4 100644 --- a/service/mediaconvert/api_op_UpdateJobTemplate.go +++ b/service/mediaconvert/api_op_UpdateJobTemplate.go @@ -147,9 +147,6 @@ func (c *Client) addOperationUpdateJobTemplateMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateJobTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_UpdatePreset.go b/service/mediaconvert/api_op_UpdatePreset.go index 5851e6c8c62..a564c32d6d0 100644 --- a/service/mediaconvert/api_op_UpdatePreset.go +++ b/service/mediaconvert/api_op_UpdatePreset.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdatePresetMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePresetValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/api_op_UpdateQueue.go b/service/mediaconvert/api_op_UpdateQueue.go index f15c4e2cd10..e53cc83c005 100644 --- a/service/mediaconvert/api_op_UpdateQueue.go +++ b/service/mediaconvert/api_op_UpdateQueue.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateQueueMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateQueueValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediaconvert/snapshot/api_op_AssociateCertificate.go.snap b/service/mediaconvert/snapshot/api_op_AssociateCertificate.go.snap index f3aa46cdeb5..ff62b4ecd70 100644 --- a/service/mediaconvert/snapshot/api_op_AssociateCertificate.go.snap +++ b/service/mediaconvert/snapshot/api_op_AssociateCertificate.go.snap @@ -14,7 +14,6 @@ AssociateCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconvert/snapshot/api_op_CancelJob.go.snap b/service/mediaconvert/snapshot/api_op_CancelJob.go.snap index 51903387e8d..b36a88b69e0 100644 --- a/service/mediaconvert/snapshot/api_op_CancelJob.go.snap +++ b/service/mediaconvert/snapshot/api_op_CancelJob.go.snap @@ -14,7 +14,6 @@ CancelJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconvert/snapshot/api_op_CreateJob.go.snap b/service/mediaconvert/snapshot/api_op_CreateJob.go.snap index b3c59d36cdd..3962763039b 100644 --- a/service/mediaconvert/snapshot/api_op_CreateJob.go.snap +++ b/service/mediaconvert/snapshot/api_op_CreateJob.go.snap @@ -15,7 +15,6 @@ CreateJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconvert/snapshot/api_op_CreateJobTemplate.go.snap b/service/mediaconvert/snapshot/api_op_CreateJobTemplate.go.snap index d41884c5d20..b8775af86bb 100644 --- a/service/mediaconvert/snapshot/api_op_CreateJobTemplate.go.snap +++ b/service/mediaconvert/snapshot/api_op_CreateJobTemplate.go.snap @@ -14,7 +14,6 @@ CreateJobTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconvert/snapshot/api_op_CreatePreset.go.snap b/service/mediaconvert/snapshot/api_op_CreatePreset.go.snap index 2148a0323a9..3e4aa7db791 100644 --- a/service/mediaconvert/snapshot/api_op_CreatePreset.go.snap +++ b/service/mediaconvert/snapshot/api_op_CreatePreset.go.snap @@ -14,7 +14,6 @@ CreatePreset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconvert/snapshot/api_op_CreateQueue.go.snap b/service/mediaconvert/snapshot/api_op_CreateQueue.go.snap index 5ce6a8cd107..f940150966e 100644 --- a/service/mediaconvert/snapshot/api_op_CreateQueue.go.snap +++ b/service/mediaconvert/snapshot/api_op_CreateQueue.go.snap @@ -14,7 +14,6 @@ CreateQueue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconvert/snapshot/api_op_DeleteJobTemplate.go.snap b/service/mediaconvert/snapshot/api_op_DeleteJobTemplate.go.snap index cfe71708cb4..07f79aa43ae 100644 --- a/service/mediaconvert/snapshot/api_op_DeleteJobTemplate.go.snap +++ b/service/mediaconvert/snapshot/api_op_DeleteJobTemplate.go.snap @@ -14,7 +14,6 @@ DeleteJobTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconvert/snapshot/api_op_DeletePolicy.go.snap b/service/mediaconvert/snapshot/api_op_DeletePolicy.go.snap index 29da4c33438..bb40edc8f9e 100644 --- a/service/mediaconvert/snapshot/api_op_DeletePolicy.go.snap +++ b/service/mediaconvert/snapshot/api_op_DeletePolicy.go.snap @@ -13,7 +13,6 @@ DeletePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconvert/snapshot/api_op_DeletePreset.go.snap b/service/mediaconvert/snapshot/api_op_DeletePreset.go.snap index 6b8f8c7ff16..7c01d5e1e71 100644 --- a/service/mediaconvert/snapshot/api_op_DeletePreset.go.snap +++ b/service/mediaconvert/snapshot/api_op_DeletePreset.go.snap @@ -14,7 +14,6 @@ DeletePreset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconvert/snapshot/api_op_DeleteQueue.go.snap b/service/mediaconvert/snapshot/api_op_DeleteQueue.go.snap index 094ae28fc98..a5ab05d61ef 100644 --- a/service/mediaconvert/snapshot/api_op_DeleteQueue.go.snap +++ b/service/mediaconvert/snapshot/api_op_DeleteQueue.go.snap @@ -14,7 +14,6 @@ DeleteQueue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconvert/snapshot/api_op_DescribeEndpoints.go.snap b/service/mediaconvert/snapshot/api_op_DescribeEndpoints.go.snap index 40f5280d37a..26aa4f34736 100644 --- a/service/mediaconvert/snapshot/api_op_DescribeEndpoints.go.snap +++ b/service/mediaconvert/snapshot/api_op_DescribeEndpoints.go.snap @@ -13,7 +13,6 @@ DescribeEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconvert/snapshot/api_op_DisassociateCertificate.go.snap b/service/mediaconvert/snapshot/api_op_DisassociateCertificate.go.snap index ef6dcadf985..d0db111689a 100644 --- a/service/mediaconvert/snapshot/api_op_DisassociateCertificate.go.snap +++ b/service/mediaconvert/snapshot/api_op_DisassociateCertificate.go.snap @@ -14,7 +14,6 @@ DisassociateCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconvert/snapshot/api_op_GetJob.go.snap b/service/mediaconvert/snapshot/api_op_GetJob.go.snap index 8785dbdb074..6e4ff7bd3f6 100644 --- a/service/mediaconvert/snapshot/api_op_GetJob.go.snap +++ b/service/mediaconvert/snapshot/api_op_GetJob.go.snap @@ -14,7 +14,6 @@ GetJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconvert/snapshot/api_op_GetJobTemplate.go.snap b/service/mediaconvert/snapshot/api_op_GetJobTemplate.go.snap index f900cd714ea..f961989cefe 100644 --- a/service/mediaconvert/snapshot/api_op_GetJobTemplate.go.snap +++ b/service/mediaconvert/snapshot/api_op_GetJobTemplate.go.snap @@ -14,7 +14,6 @@ GetJobTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconvert/snapshot/api_op_GetPolicy.go.snap b/service/mediaconvert/snapshot/api_op_GetPolicy.go.snap index 994a28233c3..36311a26d75 100644 --- a/service/mediaconvert/snapshot/api_op_GetPolicy.go.snap +++ b/service/mediaconvert/snapshot/api_op_GetPolicy.go.snap @@ -13,7 +13,6 @@ GetPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconvert/snapshot/api_op_GetPreset.go.snap b/service/mediaconvert/snapshot/api_op_GetPreset.go.snap index d288c24c2e9..097f45afdc5 100644 --- a/service/mediaconvert/snapshot/api_op_GetPreset.go.snap +++ b/service/mediaconvert/snapshot/api_op_GetPreset.go.snap @@ -14,7 +14,6 @@ GetPreset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconvert/snapshot/api_op_GetQueue.go.snap b/service/mediaconvert/snapshot/api_op_GetQueue.go.snap index 9e7f147d279..e3ae952d7a0 100644 --- a/service/mediaconvert/snapshot/api_op_GetQueue.go.snap +++ b/service/mediaconvert/snapshot/api_op_GetQueue.go.snap @@ -14,7 +14,6 @@ GetQueue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconvert/snapshot/api_op_ListJobTemplates.go.snap b/service/mediaconvert/snapshot/api_op_ListJobTemplates.go.snap index 1beaee78764..d85c8790fc2 100644 --- a/service/mediaconvert/snapshot/api_op_ListJobTemplates.go.snap +++ b/service/mediaconvert/snapshot/api_op_ListJobTemplates.go.snap @@ -13,7 +13,6 @@ ListJobTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconvert/snapshot/api_op_ListJobs.go.snap b/service/mediaconvert/snapshot/api_op_ListJobs.go.snap index a2366e394ac..3ec2f2c0720 100644 --- a/service/mediaconvert/snapshot/api_op_ListJobs.go.snap +++ b/service/mediaconvert/snapshot/api_op_ListJobs.go.snap @@ -13,7 +13,6 @@ ListJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconvert/snapshot/api_op_ListPresets.go.snap b/service/mediaconvert/snapshot/api_op_ListPresets.go.snap index 2223e0c82b5..fa82491396c 100644 --- a/service/mediaconvert/snapshot/api_op_ListPresets.go.snap +++ b/service/mediaconvert/snapshot/api_op_ListPresets.go.snap @@ -13,7 +13,6 @@ ListPresets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconvert/snapshot/api_op_ListQueues.go.snap b/service/mediaconvert/snapshot/api_op_ListQueues.go.snap index a9a1f0582f9..7b2dfb4a3da 100644 --- a/service/mediaconvert/snapshot/api_op_ListQueues.go.snap +++ b/service/mediaconvert/snapshot/api_op_ListQueues.go.snap @@ -13,7 +13,6 @@ ListQueues Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconvert/snapshot/api_op_ListTagsForResource.go.snap b/service/mediaconvert/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/mediaconvert/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/mediaconvert/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconvert/snapshot/api_op_ListVersions.go.snap b/service/mediaconvert/snapshot/api_op_ListVersions.go.snap index e735edd6ec7..1cf18150ee5 100644 --- a/service/mediaconvert/snapshot/api_op_ListVersions.go.snap +++ b/service/mediaconvert/snapshot/api_op_ListVersions.go.snap @@ -13,7 +13,6 @@ ListVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconvert/snapshot/api_op_PutPolicy.go.snap b/service/mediaconvert/snapshot/api_op_PutPolicy.go.snap index 6803ae065d5..fc906cad0ff 100644 --- a/service/mediaconvert/snapshot/api_op_PutPolicy.go.snap +++ b/service/mediaconvert/snapshot/api_op_PutPolicy.go.snap @@ -14,7 +14,6 @@ PutPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconvert/snapshot/api_op_SearchJobs.go.snap b/service/mediaconvert/snapshot/api_op_SearchJobs.go.snap index 66cd5b2983d..b7a791c59cc 100644 --- a/service/mediaconvert/snapshot/api_op_SearchJobs.go.snap +++ b/service/mediaconvert/snapshot/api_op_SearchJobs.go.snap @@ -13,7 +13,6 @@ SearchJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconvert/snapshot/api_op_TagResource.go.snap b/service/mediaconvert/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/mediaconvert/snapshot/api_op_TagResource.go.snap +++ b/service/mediaconvert/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconvert/snapshot/api_op_UntagResource.go.snap b/service/mediaconvert/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/mediaconvert/snapshot/api_op_UntagResource.go.snap +++ b/service/mediaconvert/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconvert/snapshot/api_op_UpdateJobTemplate.go.snap b/service/mediaconvert/snapshot/api_op_UpdateJobTemplate.go.snap index 969a36b70cb..2eb79c89518 100644 --- a/service/mediaconvert/snapshot/api_op_UpdateJobTemplate.go.snap +++ b/service/mediaconvert/snapshot/api_op_UpdateJobTemplate.go.snap @@ -14,7 +14,6 @@ UpdateJobTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconvert/snapshot/api_op_UpdatePreset.go.snap b/service/mediaconvert/snapshot/api_op_UpdatePreset.go.snap index 2323d6175ea..9dc6961157f 100644 --- a/service/mediaconvert/snapshot/api_op_UpdatePreset.go.snap +++ b/service/mediaconvert/snapshot/api_op_UpdatePreset.go.snap @@ -14,7 +14,6 @@ UpdatePreset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediaconvert/snapshot/api_op_UpdateQueue.go.snap b/service/mediaconvert/snapshot/api_op_UpdateQueue.go.snap index c5b465774af..282dbc5a2e9 100644 --- a/service/mediaconvert/snapshot/api_op_UpdateQueue.go.snap +++ b/service/mediaconvert/snapshot/api_op_UpdateQueue.go.snap @@ -14,7 +14,6 @@ UpdateQueue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/api_client.go b/service/medialive/api_client.go index fca9fa17e62..c52ab154f51 100644 --- a/service/medialive/api_client.go +++ b/service/medialive/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/medialive/api_op_AcceptInputDeviceTransfer.go b/service/medialive/api_op_AcceptInputDeviceTransfer.go index 5807e53d8cd..b12d7f76dcd 100644 --- a/service/medialive/api_op_AcceptInputDeviceTransfer.go +++ b/service/medialive/api_op_AcceptInputDeviceTransfer.go @@ -110,9 +110,6 @@ func (c *Client) addOperationAcceptInputDeviceTransferMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptInputDeviceTransferValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_BatchDelete.go b/service/medialive/api_op_BatchDelete.go index 03fbf78dfb0..2e3a6e26c61 100644 --- a/service/medialive/api_op_BatchDelete.go +++ b/service/medialive/api_op_BatchDelete.go @@ -124,9 +124,6 @@ func (c *Client) addOperationBatchDeleteMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDelete(options.Region), middleware.Before); err != nil { return err } diff --git a/service/medialive/api_op_BatchStart.go b/service/medialive/api_op_BatchStart.go index 87522708f52..441f87ec11d 100644 --- a/service/medialive/api_op_BatchStart.go +++ b/service/medialive/api_op_BatchStart.go @@ -118,9 +118,6 @@ func (c *Client) addOperationBatchStartMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchStart(options.Region), middleware.Before); err != nil { return err } diff --git a/service/medialive/api_op_BatchStop.go b/service/medialive/api_op_BatchStop.go index 290f7c62d2c..20e13e855f8 100644 --- a/service/medialive/api_op_BatchStop.go +++ b/service/medialive/api_op_BatchStop.go @@ -118,9 +118,6 @@ func (c *Client) addOperationBatchStopMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchStop(options.Region), middleware.Before); err != nil { return err } diff --git a/service/medialive/api_op_BatchUpdateSchedule.go b/service/medialive/api_op_BatchUpdateSchedule.go index 42b87d62b93..412bc70755d 100644 --- a/service/medialive/api_op_BatchUpdateSchedule.go +++ b/service/medialive/api_op_BatchUpdateSchedule.go @@ -123,9 +123,6 @@ func (c *Client) addOperationBatchUpdateScheduleMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchUpdateScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_CancelInputDeviceTransfer.go b/service/medialive/api_op_CancelInputDeviceTransfer.go index c6af340dcce..3fa542d68d4 100644 --- a/service/medialive/api_op_CancelInputDeviceTransfer.go +++ b/service/medialive/api_op_CancelInputDeviceTransfer.go @@ -109,9 +109,6 @@ func (c *Client) addOperationCancelInputDeviceTransferMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelInputDeviceTransferValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_ClaimDevice.go b/service/medialive/api_op_ClaimDevice.go index 9309fa18adc..018f273e507 100644 --- a/service/medialive/api_op_ClaimDevice.go +++ b/service/medialive/api_op_ClaimDevice.go @@ -109,9 +109,6 @@ func (c *Client) addOperationClaimDeviceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opClaimDevice(options.Region), middleware.Before); err != nil { return err } diff --git a/service/medialive/api_op_CreateChannel.go b/service/medialive/api_op_CreateChannel.go index 7add0233ef0..f086dd3b8db 100644 --- a/service/medialive/api_op_CreateChannel.go +++ b/service/medialive/api_op_CreateChannel.go @@ -165,9 +165,6 @@ func (c *Client) addOperationCreateChannelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateChannelMiddleware(stack, options); err != nil { return err } diff --git a/service/medialive/api_op_CreateChannelPlacementGroup.go b/service/medialive/api_op_CreateChannelPlacementGroup.go index 69cb0488883..feb08a268c5 100644 --- a/service/medialive/api_op_CreateChannelPlacementGroup.go +++ b/service/medialive/api_op_CreateChannelPlacementGroup.go @@ -158,9 +158,6 @@ func (c *Client) addOperationCreateChannelPlacementGroupMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateChannelPlacementGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/medialive/api_op_CreateCloudWatchAlarmTemplate.go b/service/medialive/api_op_CreateCloudWatchAlarmTemplate.go index cb104c66bbf..7ae4b9f826f 100644 --- a/service/medialive/api_op_CreateCloudWatchAlarmTemplate.go +++ b/service/medialive/api_op_CreateCloudWatchAlarmTemplate.go @@ -237,9 +237,6 @@ func (c *Client) addOperationCreateCloudWatchAlarmTemplateMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateCloudWatchAlarmTemplateMiddleware(stack, options); err != nil { return err } diff --git a/service/medialive/api_op_CreateCloudWatchAlarmTemplateGroup.go b/service/medialive/api_op_CreateCloudWatchAlarmTemplateGroup.go index db17157c671..e46fecb2b89 100644 --- a/service/medialive/api_op_CreateCloudWatchAlarmTemplateGroup.go +++ b/service/medialive/api_op_CreateCloudWatchAlarmTemplateGroup.go @@ -146,9 +146,6 @@ func (c *Client) addOperationCreateCloudWatchAlarmTemplateGroupMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateCloudWatchAlarmTemplateGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/medialive/api_op_CreateCluster.go b/service/medialive/api_op_CreateCluster.go index 936a05d7ac9..75786bd354d 100644 --- a/service/medialive/api_op_CreateCluster.go +++ b/service/medialive/api_op_CreateCluster.go @@ -163,9 +163,6 @@ func (c *Client) addOperationCreateClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateClusterMiddleware(stack, options); err != nil { return err } diff --git a/service/medialive/api_op_CreateEventBridgeRuleTemplate.go b/service/medialive/api_op_CreateEventBridgeRuleTemplate.go index 5c9c97fa562..41a4379eb9b 100644 --- a/service/medialive/api_op_CreateEventBridgeRuleTemplate.go +++ b/service/medialive/api_op_CreateEventBridgeRuleTemplate.go @@ -171,9 +171,6 @@ func (c *Client) addOperationCreateEventBridgeRuleTemplateMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateEventBridgeRuleTemplateMiddleware(stack, options); err != nil { return err } diff --git a/service/medialive/api_op_CreateEventBridgeRuleTemplateGroup.go b/service/medialive/api_op_CreateEventBridgeRuleTemplateGroup.go index 749ed2306ec..382dab5d81d 100644 --- a/service/medialive/api_op_CreateEventBridgeRuleTemplateGroup.go +++ b/service/medialive/api_op_CreateEventBridgeRuleTemplateGroup.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCreateEventBridgeRuleTemplateGroupMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateEventBridgeRuleTemplateGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/medialive/api_op_CreateInput.go b/service/medialive/api_op_CreateInput.go index 19c8d1848d6..dcd309db153 100644 --- a/service/medialive/api_op_CreateInput.go +++ b/service/medialive/api_op_CreateInput.go @@ -162,9 +162,6 @@ func (c *Client) addOperationCreateInputMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateInputMiddleware(stack, options); err != nil { return err } diff --git a/service/medialive/api_op_CreateInputSecurityGroup.go b/service/medialive/api_op_CreateInputSecurityGroup.go index d1611031f89..dd681b85bde 100644 --- a/service/medialive/api_op_CreateInputSecurityGroup.go +++ b/service/medialive/api_op_CreateInputSecurityGroup.go @@ -115,9 +115,6 @@ func (c *Client) addOperationCreateInputSecurityGroupMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateInputSecurityGroup(options.Region), middleware.Before); err != nil { return err } diff --git a/service/medialive/api_op_CreateMultiplex.go b/service/medialive/api_op_CreateMultiplex.go index 4b2e8f03129..20ab39a7eb7 100644 --- a/service/medialive/api_op_CreateMultiplex.go +++ b/service/medialive/api_op_CreateMultiplex.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateMultiplexMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateMultiplexMiddleware(stack, options); err != nil { return err } diff --git a/service/medialive/api_op_CreateMultiplexProgram.go b/service/medialive/api_op_CreateMultiplexProgram.go index 86f93f0a36f..9d336b120dd 100644 --- a/service/medialive/api_op_CreateMultiplexProgram.go +++ b/service/medialive/api_op_CreateMultiplexProgram.go @@ -129,9 +129,6 @@ func (c *Client) addOperationCreateMultiplexProgramMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateMultiplexProgramMiddleware(stack, options); err != nil { return err } diff --git a/service/medialive/api_op_CreateNetwork.go b/service/medialive/api_op_CreateNetwork.go index a03247d2eab..ecc7b43c9b8 100644 --- a/service/medialive/api_op_CreateNetwork.go +++ b/service/medialive/api_op_CreateNetwork.go @@ -160,9 +160,6 @@ func (c *Client) addOperationCreateNetworkMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateNetworkMiddleware(stack, options); err != nil { return err } diff --git a/service/medialive/api_op_CreateNode.go b/service/medialive/api_op_CreateNode.go index 2acefbc1154..9a675fc66bf 100644 --- a/service/medialive/api_op_CreateNode.go +++ b/service/medialive/api_op_CreateNode.go @@ -165,9 +165,6 @@ func (c *Client) addOperationCreateNodeMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateNodeMiddleware(stack, options); err != nil { return err } diff --git a/service/medialive/api_op_CreateNodeRegistrationScript.go b/service/medialive/api_op_CreateNodeRegistrationScript.go index 6003ca3302f..bde1b5a001a 100644 --- a/service/medialive/api_op_CreateNodeRegistrationScript.go +++ b/service/medialive/api_op_CreateNodeRegistrationScript.go @@ -141,9 +141,6 @@ func (c *Client) addOperationCreateNodeRegistrationScriptMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateNodeRegistrationScriptMiddleware(stack, options); err != nil { return err } diff --git a/service/medialive/api_op_CreatePartnerInput.go b/service/medialive/api_op_CreatePartnerInput.go index a559e2c994a..b174f429c6c 100644 --- a/service/medialive/api_op_CreatePartnerInput.go +++ b/service/medialive/api_op_CreatePartnerInput.go @@ -121,9 +121,6 @@ func (c *Client) addOperationCreatePartnerInputMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreatePartnerInputMiddleware(stack, options); err != nil { return err } diff --git a/service/medialive/api_op_CreateSignalMap.go b/service/medialive/api_op_CreateSignalMap.go index 6124ea3bfb4..033547d1f7e 100644 --- a/service/medialive/api_op_CreateSignalMap.go +++ b/service/medialive/api_op_CreateSignalMap.go @@ -193,9 +193,6 @@ func (c *Client) addOperationCreateSignalMapMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateSignalMapMiddleware(stack, options); err != nil { return err } diff --git a/service/medialive/api_op_CreateTags.go b/service/medialive/api_op_CreateTags.go index b7b475e980e..7faa7752d3e 100644 --- a/service/medialive/api_op_CreateTags.go +++ b/service/medialive/api_op_CreateTags.go @@ -111,9 +111,6 @@ func (c *Client) addOperationCreateTagsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DeleteChannel.go b/service/medialive/api_op_DeleteChannel.go index 2590c805a05..13b228fdda2 100644 --- a/service/medialive/api_op_DeleteChannel.go +++ b/service/medialive/api_op_DeleteChannel.go @@ -174,9 +174,6 @@ func (c *Client) addOperationDeleteChannelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DeleteChannelPlacementGroup.go b/service/medialive/api_op_DeleteChannelPlacementGroup.go index 7b6e7056209..47c1803571c 100644 --- a/service/medialive/api_op_DeleteChannelPlacementGroup.go +++ b/service/medialive/api_op_DeleteChannelPlacementGroup.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDeleteChannelPlacementGroupMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteChannelPlacementGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DeleteCloudWatchAlarmTemplate.go b/service/medialive/api_op_DeleteCloudWatchAlarmTemplate.go index 03b29d68e94..82db445c115 100644 --- a/service/medialive/api_op_DeleteCloudWatchAlarmTemplate.go +++ b/service/medialive/api_op_DeleteCloudWatchAlarmTemplate.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteCloudWatchAlarmTemplateMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCloudWatchAlarmTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DeleteCloudWatchAlarmTemplateGroup.go b/service/medialive/api_op_DeleteCloudWatchAlarmTemplateGroup.go index 3dd244766fb..eda6829a8f8 100644 --- a/service/medialive/api_op_DeleteCloudWatchAlarmTemplateGroup.go +++ b/service/medialive/api_op_DeleteCloudWatchAlarmTemplateGroup.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteCloudWatchAlarmTemplateGroupMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCloudWatchAlarmTemplateGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DeleteCluster.go b/service/medialive/api_op_DeleteCluster.go index 5608a7011c7..9086c191ef5 100644 --- a/service/medialive/api_op_DeleteCluster.go +++ b/service/medialive/api_op_DeleteCluster.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDeleteClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DeleteEventBridgeRuleTemplate.go b/service/medialive/api_op_DeleteEventBridgeRuleTemplate.go index 89d626aed66..94cdb594acc 100644 --- a/service/medialive/api_op_DeleteEventBridgeRuleTemplate.go +++ b/service/medialive/api_op_DeleteEventBridgeRuleTemplate.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteEventBridgeRuleTemplateMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEventBridgeRuleTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DeleteEventBridgeRuleTemplateGroup.go b/service/medialive/api_op_DeleteEventBridgeRuleTemplateGroup.go index 3cd4a807be0..4f7fb6498bf 100644 --- a/service/medialive/api_op_DeleteEventBridgeRuleTemplateGroup.go +++ b/service/medialive/api_op_DeleteEventBridgeRuleTemplateGroup.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteEventBridgeRuleTemplateGroupMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEventBridgeRuleTemplateGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DeleteInput.go b/service/medialive/api_op_DeleteInput.go index 9aa4870b236..99ddb83d326 100644 --- a/service/medialive/api_op_DeleteInput.go +++ b/service/medialive/api_op_DeleteInput.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteInputMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInputValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DeleteInputSecurityGroup.go b/service/medialive/api_op_DeleteInputSecurityGroup.go index 08eff09eb22..5a91708211c 100644 --- a/service/medialive/api_op_DeleteInputSecurityGroup.go +++ b/service/medialive/api_op_DeleteInputSecurityGroup.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteInputSecurityGroupMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInputSecurityGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DeleteMultiplex.go b/service/medialive/api_op_DeleteMultiplex.go index 015991579d0..e4d377fe697 100644 --- a/service/medialive/api_op_DeleteMultiplex.go +++ b/service/medialive/api_op_DeleteMultiplex.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDeleteMultiplexMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMultiplexValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DeleteMultiplexProgram.go b/service/medialive/api_op_DeleteMultiplexProgram.go index 0ee17b861f5..869c9ce3ebd 100644 --- a/service/medialive/api_op_DeleteMultiplexProgram.go +++ b/service/medialive/api_op_DeleteMultiplexProgram.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDeleteMultiplexProgramMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMultiplexProgramValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DeleteNetwork.go b/service/medialive/api_op_DeleteNetwork.go index 5beab3f80ae..4de75858713 100644 --- a/service/medialive/api_op_DeleteNetwork.go +++ b/service/medialive/api_op_DeleteNetwork.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDeleteNetworkMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteNetworkValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DeleteNode.go b/service/medialive/api_op_DeleteNode.go index 4b63cf150ee..4fe744c5831 100644 --- a/service/medialive/api_op_DeleteNode.go +++ b/service/medialive/api_op_DeleteNode.go @@ -150,9 +150,6 @@ func (c *Client) addOperationDeleteNodeMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteNodeValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DeleteReservation.go b/service/medialive/api_op_DeleteReservation.go index 4b370dd3499..71d953e8793 100644 --- a/service/medialive/api_op_DeleteReservation.go +++ b/service/medialive/api_op_DeleteReservation.go @@ -171,9 +171,6 @@ func (c *Client) addOperationDeleteReservationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteReservationValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DeleteSchedule.go b/service/medialive/api_op_DeleteSchedule.go index a819df4c95e..cbdf488b840 100644 --- a/service/medialive/api_op_DeleteSchedule.go +++ b/service/medialive/api_op_DeleteSchedule.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteScheduleMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DeleteSignalMap.go b/service/medialive/api_op_DeleteSignalMap.go index 5aaeefa86f9..b3a8ab1bf52 100644 --- a/service/medialive/api_op_DeleteSignalMap.go +++ b/service/medialive/api_op_DeleteSignalMap.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteSignalMapMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSignalMapValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DeleteTags.go b/service/medialive/api_op_DeleteTags.go index f18752e13b5..05b98003cd1 100644 --- a/service/medialive/api_op_DeleteTags.go +++ b/service/medialive/api_op_DeleteTags.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteTagsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DescribeAccountConfiguration.go b/service/medialive/api_op_DescribeAccountConfiguration.go index fa94bfcbfe0..28cb9d9e6d8 100644 --- a/service/medialive/api_op_DescribeAccountConfiguration.go +++ b/service/medialive/api_op_DescribeAccountConfiguration.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDescribeAccountConfigurationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/medialive/api_op_DescribeChannel.go b/service/medialive/api_op_DescribeChannel.go index e4bdb1ade1c..4fd9c304f5a 100644 --- a/service/medialive/api_op_DescribeChannel.go +++ b/service/medialive/api_op_DescribeChannel.go @@ -178,9 +178,6 @@ func (c *Client) addOperationDescribeChannelMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DescribeChannelPlacementGroup.go b/service/medialive/api_op_DescribeChannelPlacementGroup.go index 07243fd77a0..ca58b1ef077 100644 --- a/service/medialive/api_op_DescribeChannelPlacementGroup.go +++ b/service/medialive/api_op_DescribeChannelPlacementGroup.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDescribeChannelPlacementGroupMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeChannelPlacementGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DescribeCluster.go b/service/medialive/api_op_DescribeCluster.go index c1233c29771..416af2b5863 100644 --- a/service/medialive/api_op_DescribeCluster.go +++ b/service/medialive/api_op_DescribeCluster.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDescribeClusterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DescribeInput.go b/service/medialive/api_op_DescribeInput.go index 12de6a5b090..348b814e778 100644 --- a/service/medialive/api_op_DescribeInput.go +++ b/service/medialive/api_op_DescribeInput.go @@ -183,9 +183,6 @@ func (c *Client) addOperationDescribeInputMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeInputValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DescribeInputDevice.go b/service/medialive/api_op_DescribeInputDevice.go index 5fd982e402b..65db4d5359f 100644 --- a/service/medialive/api_op_DescribeInputDevice.go +++ b/service/medialive/api_op_DescribeInputDevice.go @@ -166,9 +166,6 @@ func (c *Client) addOperationDescribeInputDeviceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeInputDeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DescribeInputDeviceThumbnail.go b/service/medialive/api_op_DescribeInputDeviceThumbnail.go index aed951b1864..baa4aafdcaf 100644 --- a/service/medialive/api_op_DescribeInputDeviceThumbnail.go +++ b/service/medialive/api_op_DescribeInputDeviceThumbnail.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeInputDeviceThumbnailMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeInputDeviceThumbnailValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DescribeInputSecurityGroup.go b/service/medialive/api_op_DescribeInputSecurityGroup.go index 4c1780d5c43..85657e3e67d 100644 --- a/service/medialive/api_op_DescribeInputSecurityGroup.go +++ b/service/medialive/api_op_DescribeInputSecurityGroup.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeInputSecurityGroupMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeInputSecurityGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DescribeMultiplex.go b/service/medialive/api_op_DescribeMultiplex.go index 95b3890933d..c19a8c67c4b 100644 --- a/service/medialive/api_op_DescribeMultiplex.go +++ b/service/medialive/api_op_DescribeMultiplex.go @@ -145,9 +145,6 @@ func (c *Client) addOperationDescribeMultiplexMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeMultiplexValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DescribeMultiplexProgram.go b/service/medialive/api_op_DescribeMultiplexProgram.go index 6b39b2fab35..d894f7ccf38 100644 --- a/service/medialive/api_op_DescribeMultiplexProgram.go +++ b/service/medialive/api_op_DescribeMultiplexProgram.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeMultiplexProgramMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeMultiplexProgramValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DescribeNetwork.go b/service/medialive/api_op_DescribeNetwork.go index fa24b75a61e..909ffd9810a 100644 --- a/service/medialive/api_op_DescribeNetwork.go +++ b/service/medialive/api_op_DescribeNetwork.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDescribeNetworkMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeNetworkValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DescribeNode.go b/service/medialive/api_op_DescribeNode.go index d152b9e2bc2..79cc5a967be 100644 --- a/service/medialive/api_op_DescribeNode.go +++ b/service/medialive/api_op_DescribeNode.go @@ -154,9 +154,6 @@ func (c *Client) addOperationDescribeNodeMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeNodeValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DescribeOffering.go b/service/medialive/api_op_DescribeOffering.go index 8e63f075b2f..dbdb876ea18 100644 --- a/service/medialive/api_op_DescribeOffering.go +++ b/service/medialive/api_op_DescribeOffering.go @@ -146,9 +146,6 @@ func (c *Client) addOperationDescribeOfferingMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeOfferingValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DescribeReservation.go b/service/medialive/api_op_DescribeReservation.go index 87c14d4be51..bbafa07723d 100644 --- a/service/medialive/api_op_DescribeReservation.go +++ b/service/medialive/api_op_DescribeReservation.go @@ -171,9 +171,6 @@ func (c *Client) addOperationDescribeReservationMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeReservationValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DescribeSchedule.go b/service/medialive/api_op_DescribeSchedule.go index 0c6eac413bb..106f3133093 100644 --- a/service/medialive/api_op_DescribeSchedule.go +++ b/service/medialive/api_op_DescribeSchedule.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeScheduleMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_DescribeThumbnails.go b/service/medialive/api_op_DescribeThumbnails.go index 61cb6aadb87..df6be96018b 100644 --- a/service/medialive/api_op_DescribeThumbnails.go +++ b/service/medialive/api_op_DescribeThumbnails.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeThumbnailsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeThumbnailsValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_GetCloudWatchAlarmTemplate.go b/service/medialive/api_op_GetCloudWatchAlarmTemplate.go index 78f2c983dfc..598b0f9cb1e 100644 --- a/service/medialive/api_op_GetCloudWatchAlarmTemplate.go +++ b/service/medialive/api_op_GetCloudWatchAlarmTemplate.go @@ -172,9 +172,6 @@ func (c *Client) addOperationGetCloudWatchAlarmTemplateMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCloudWatchAlarmTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_GetCloudWatchAlarmTemplateGroup.go b/service/medialive/api_op_GetCloudWatchAlarmTemplateGroup.go index e9839c66fdf..09ffff478fe 100644 --- a/service/medialive/api_op_GetCloudWatchAlarmTemplateGroup.go +++ b/service/medialive/api_op_GetCloudWatchAlarmTemplateGroup.go @@ -135,9 +135,6 @@ func (c *Client) addOperationGetCloudWatchAlarmTemplateGroupMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCloudWatchAlarmTemplateGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_GetEventBridgeRuleTemplate.go b/service/medialive/api_op_GetEventBridgeRuleTemplate.go index 2db59219738..fe464204c26 100644 --- a/service/medialive/api_op_GetEventBridgeRuleTemplate.go +++ b/service/medialive/api_op_GetEventBridgeRuleTemplate.go @@ -146,9 +146,6 @@ func (c *Client) addOperationGetEventBridgeRuleTemplateMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEventBridgeRuleTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_GetEventBridgeRuleTemplateGroup.go b/service/medialive/api_op_GetEventBridgeRuleTemplateGroup.go index c30a950e518..daf942acd00 100644 --- a/service/medialive/api_op_GetEventBridgeRuleTemplateGroup.go +++ b/service/medialive/api_op_GetEventBridgeRuleTemplateGroup.go @@ -135,9 +135,6 @@ func (c *Client) addOperationGetEventBridgeRuleTemplateGroupMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEventBridgeRuleTemplateGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_GetSignalMap.go b/service/medialive/api_op_GetSignalMap.go index 71d9a3087cc..5d39559df75 100644 --- a/service/medialive/api_op_GetSignalMap.go +++ b/service/medialive/api_op_GetSignalMap.go @@ -172,9 +172,6 @@ func (c *Client) addOperationGetSignalMapMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSignalMapValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_ListChannelPlacementGroups.go b/service/medialive/api_op_ListChannelPlacementGroups.go index cf3008ba604..d3439936f08 100644 --- a/service/medialive/api_op_ListChannelPlacementGroups.go +++ b/service/medialive/api_op_ListChannelPlacementGroups.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListChannelPlacementGroupsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListChannelPlacementGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_ListChannels.go b/service/medialive/api_op_ListChannels.go index 967f3711d1a..eeed0bf7f59 100644 --- a/service/medialive/api_op_ListChannels.go +++ b/service/medialive/api_op_ListChannels.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListChannelsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChannels(options.Region), middleware.Before); err != nil { return err } diff --git a/service/medialive/api_op_ListCloudWatchAlarmTemplateGroups.go b/service/medialive/api_op_ListCloudWatchAlarmTemplateGroups.go index a6fac672c52..6295b726849 100644 --- a/service/medialive/api_op_ListCloudWatchAlarmTemplateGroups.go +++ b/service/medialive/api_op_ListCloudWatchAlarmTemplateGroups.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListCloudWatchAlarmTemplateGroupsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCloudWatchAlarmTemplateGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/medialive/api_op_ListCloudWatchAlarmTemplates.go b/service/medialive/api_op_ListCloudWatchAlarmTemplates.go index 8d9d5d6f588..eab30b05636 100644 --- a/service/medialive/api_op_ListCloudWatchAlarmTemplates.go +++ b/service/medialive/api_op_ListCloudWatchAlarmTemplates.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListCloudWatchAlarmTemplatesMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCloudWatchAlarmTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/medialive/api_op_ListClusters.go b/service/medialive/api_op_ListClusters.go index 9415392286e..97d01bafdd6 100644 --- a/service/medialive/api_op_ListClusters.go +++ b/service/medialive/api_op_ListClusters.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListClustersMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListClusters(options.Region), middleware.Before); err != nil { return err } diff --git a/service/medialive/api_op_ListEventBridgeRuleTemplateGroups.go b/service/medialive/api_op_ListEventBridgeRuleTemplateGroups.go index 6aaa9226e06..11441075322 100644 --- a/service/medialive/api_op_ListEventBridgeRuleTemplateGroups.go +++ b/service/medialive/api_op_ListEventBridgeRuleTemplateGroups.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListEventBridgeRuleTemplateGroupsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEventBridgeRuleTemplateGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/medialive/api_op_ListEventBridgeRuleTemplates.go b/service/medialive/api_op_ListEventBridgeRuleTemplates.go index 936781eab7f..c77b84e93a2 100644 --- a/service/medialive/api_op_ListEventBridgeRuleTemplates.go +++ b/service/medialive/api_op_ListEventBridgeRuleTemplates.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListEventBridgeRuleTemplatesMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEventBridgeRuleTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/medialive/api_op_ListInputDeviceTransfers.go b/service/medialive/api_op_ListInputDeviceTransfers.go index 09de935d80c..4f580766bc9 100644 --- a/service/medialive/api_op_ListInputDeviceTransfers.go +++ b/service/medialive/api_op_ListInputDeviceTransfers.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListInputDeviceTransfersMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListInputDeviceTransfersValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_ListInputDevices.go b/service/medialive/api_op_ListInputDevices.go index 51634cf3139..b637b0b0258 100644 --- a/service/medialive/api_op_ListInputDevices.go +++ b/service/medialive/api_op_ListInputDevices.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListInputDevicesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInputDevices(options.Region), middleware.Before); err != nil { return err } diff --git a/service/medialive/api_op_ListInputSecurityGroups.go b/service/medialive/api_op_ListInputSecurityGroups.go index fcd88da7119..4f8043a336d 100644 --- a/service/medialive/api_op_ListInputSecurityGroups.go +++ b/service/medialive/api_op_ListInputSecurityGroups.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListInputSecurityGroupsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInputSecurityGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/medialive/api_op_ListInputs.go b/service/medialive/api_op_ListInputs.go index d2fe3164f90..e897db0f38d 100644 --- a/service/medialive/api_op_ListInputs.go +++ b/service/medialive/api_op_ListInputs.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListInputsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInputs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/medialive/api_op_ListMultiplexPrograms.go b/service/medialive/api_op_ListMultiplexPrograms.go index 781df64e5f7..39ae351d1d1 100644 --- a/service/medialive/api_op_ListMultiplexPrograms.go +++ b/service/medialive/api_op_ListMultiplexPrograms.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListMultiplexProgramsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMultiplexProgramsValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_ListMultiplexes.go b/service/medialive/api_op_ListMultiplexes.go index 54bba5df2de..3bb232224f0 100644 --- a/service/medialive/api_op_ListMultiplexes.go +++ b/service/medialive/api_op_ListMultiplexes.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListMultiplexesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMultiplexes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/medialive/api_op_ListNetworks.go b/service/medialive/api_op_ListNetworks.go index 9a27295d740..c7d90283a80 100644 --- a/service/medialive/api_op_ListNetworks.go +++ b/service/medialive/api_op_ListNetworks.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListNetworksMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNetworks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/medialive/api_op_ListNodes.go b/service/medialive/api_op_ListNodes.go index 0d674e665c5..0bf5e0f5167 100644 --- a/service/medialive/api_op_ListNodes.go +++ b/service/medialive/api_op_ListNodes.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListNodesMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListNodesValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_ListOfferings.go b/service/medialive/api_op_ListOfferings.go index a168fc7aa70..65259c31c1b 100644 --- a/service/medialive/api_op_ListOfferings.go +++ b/service/medialive/api_op_ListOfferings.go @@ -149,9 +149,6 @@ func (c *Client) addOperationListOfferingsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOfferings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/medialive/api_op_ListReservations.go b/service/medialive/api_op_ListReservations.go index bd04a08242e..bfaf0f26216 100644 --- a/service/medialive/api_op_ListReservations.go +++ b/service/medialive/api_op_ListReservations.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListReservationsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReservations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/medialive/api_op_ListSignalMaps.go b/service/medialive/api_op_ListSignalMaps.go index 51ee8cd34c0..f9f45b48314 100644 --- a/service/medialive/api_op_ListSignalMaps.go +++ b/service/medialive/api_op_ListSignalMaps.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListSignalMapsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSignalMaps(options.Region), middleware.Before); err != nil { return err } diff --git a/service/medialive/api_op_ListTagsForResource.go b/service/medialive/api_op_ListTagsForResource.go index 68831383a8e..8c8c5ea3bd5 100644 --- a/service/medialive/api_op_ListTagsForResource.go +++ b/service/medialive/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_ListVersions.go b/service/medialive/api_op_ListVersions.go index 0b0bda96423..3e471a35e8f 100644 --- a/service/medialive/api_op_ListVersions.go +++ b/service/medialive/api_op_ListVersions.go @@ -109,9 +109,6 @@ func (c *Client) addOperationListVersionsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVersions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/medialive/api_op_PurchaseOffering.go b/service/medialive/api_op_PurchaseOffering.go index 7834295556d..3f106649e95 100644 --- a/service/medialive/api_op_PurchaseOffering.go +++ b/service/medialive/api_op_PurchaseOffering.go @@ -137,9 +137,6 @@ func (c *Client) addOperationPurchaseOfferingMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opPurchaseOfferingMiddleware(stack, options); err != nil { return err } diff --git a/service/medialive/api_op_RebootInputDevice.go b/service/medialive/api_op_RebootInputDevice.go index abc5e70cee8..613474efed4 100644 --- a/service/medialive/api_op_RebootInputDevice.go +++ b/service/medialive/api_op_RebootInputDevice.go @@ -118,9 +118,6 @@ func (c *Client) addOperationRebootInputDeviceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRebootInputDeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_RejectInputDeviceTransfer.go b/service/medialive/api_op_RejectInputDeviceTransfer.go index b37301ac942..87bcd58934d 100644 --- a/service/medialive/api_op_RejectInputDeviceTransfer.go +++ b/service/medialive/api_op_RejectInputDeviceTransfer.go @@ -109,9 +109,6 @@ func (c *Client) addOperationRejectInputDeviceTransferMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRejectInputDeviceTransferValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_RestartChannelPipelines.go b/service/medialive/api_op_RestartChannelPipelines.go index 3cfa1e21c27..597b8510e57 100644 --- a/service/medialive/api_op_RestartChannelPipelines.go +++ b/service/medialive/api_op_RestartChannelPipelines.go @@ -181,9 +181,6 @@ func (c *Client) addOperationRestartChannelPipelinesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestartChannelPipelinesValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_StartChannel.go b/service/medialive/api_op_StartChannel.go index 0a4391fcf41..d7dbb999c64 100644 --- a/service/medialive/api_op_StartChannel.go +++ b/service/medialive/api_op_StartChannel.go @@ -174,9 +174,6 @@ func (c *Client) addOperationStartChannelMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_StartDeleteMonitorDeployment.go b/service/medialive/api_op_StartDeleteMonitorDeployment.go index ef24cc811fc..04c4cacea4f 100644 --- a/service/medialive/api_op_StartDeleteMonitorDeployment.go +++ b/service/medialive/api_op_StartDeleteMonitorDeployment.go @@ -170,9 +170,6 @@ func (c *Client) addOperationStartDeleteMonitorDeploymentMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartDeleteMonitorDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_StartInputDevice.go b/service/medialive/api_op_StartInputDevice.go index 4630be1336f..914992a77ea 100644 --- a/service/medialive/api_op_StartInputDevice.go +++ b/service/medialive/api_op_StartInputDevice.go @@ -111,9 +111,6 @@ func (c *Client) addOperationStartInputDeviceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartInputDeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_StartInputDeviceMaintenanceWindow.go b/service/medialive/api_op_StartInputDeviceMaintenanceWindow.go index 921ccb5260c..ee2cd6eb41d 100644 --- a/service/medialive/api_op_StartInputDeviceMaintenanceWindow.go +++ b/service/medialive/api_op_StartInputDeviceMaintenanceWindow.go @@ -117,9 +117,6 @@ func (c *Client) addOperationStartInputDeviceMaintenanceWindowMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartInputDeviceMaintenanceWindowValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_StartMonitorDeployment.go b/service/medialive/api_op_StartMonitorDeployment.go index 24cee823153..f96c9bd1fbc 100644 --- a/service/medialive/api_op_StartMonitorDeployment.go +++ b/service/medialive/api_op_StartMonitorDeployment.go @@ -173,9 +173,6 @@ func (c *Client) addOperationStartMonitorDeploymentMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartMonitorDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_StartMultiplex.go b/service/medialive/api_op_StartMultiplex.go index 0ac8dea971d..fb68342c050 100644 --- a/service/medialive/api_op_StartMultiplex.go +++ b/service/medialive/api_op_StartMultiplex.go @@ -142,9 +142,6 @@ func (c *Client) addOperationStartMultiplexMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartMultiplexValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_StartUpdateSignalMap.go b/service/medialive/api_op_StartUpdateSignalMap.go index c1cad167ec5..15077051904 100644 --- a/service/medialive/api_op_StartUpdateSignalMap.go +++ b/service/medialive/api_op_StartUpdateSignalMap.go @@ -191,9 +191,6 @@ func (c *Client) addOperationStartUpdateSignalMapMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartUpdateSignalMapValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_StopChannel.go b/service/medialive/api_op_StopChannel.go index 0901390f1ad..31402dd459d 100644 --- a/service/medialive/api_op_StopChannel.go +++ b/service/medialive/api_op_StopChannel.go @@ -174,9 +174,6 @@ func (c *Client) addOperationStopChannelMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_StopInputDevice.go b/service/medialive/api_op_StopInputDevice.go index 95f5b9bcc22..c7805846570 100644 --- a/service/medialive/api_op_StopInputDevice.go +++ b/service/medialive/api_op_StopInputDevice.go @@ -111,9 +111,6 @@ func (c *Client) addOperationStopInputDeviceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopInputDeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_StopMultiplex.go b/service/medialive/api_op_StopMultiplex.go index 2179d6a8a85..091791be060 100644 --- a/service/medialive/api_op_StopMultiplex.go +++ b/service/medialive/api_op_StopMultiplex.go @@ -142,9 +142,6 @@ func (c *Client) addOperationStopMultiplexMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopMultiplexValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_TransferInputDevice.go b/service/medialive/api_op_TransferInputDevice.go index 4bd2fad009c..6c2dca72729 100644 --- a/service/medialive/api_op_TransferInputDevice.go +++ b/service/medialive/api_op_TransferInputDevice.go @@ -119,9 +119,6 @@ func (c *Client) addOperationTransferInputDeviceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTransferInputDeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_UpdateAccountConfiguration.go b/service/medialive/api_op_UpdateAccountConfiguration.go index 1df6151940c..5d4b4b2a424 100644 --- a/service/medialive/api_op_UpdateAccountConfiguration.go +++ b/service/medialive/api_op_UpdateAccountConfiguration.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUpdateAccountConfigurationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAccountConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/medialive/api_op_UpdateChannel.go b/service/medialive/api_op_UpdateChannel.go index affe442d3ad..8ce6efa94b6 100644 --- a/service/medialive/api_op_UpdateChannel.go +++ b/service/medialive/api_op_UpdateChannel.go @@ -149,9 +149,6 @@ func (c *Client) addOperationUpdateChannelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_UpdateChannelClass.go b/service/medialive/api_op_UpdateChannelClass.go index 2b7935926bd..17e28340b79 100644 --- a/service/medialive/api_op_UpdateChannelClass.go +++ b/service/medialive/api_op_UpdateChannelClass.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateChannelClassMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateChannelClassValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_UpdateChannelPlacementGroup.go b/service/medialive/api_op_UpdateChannelPlacementGroup.go index b60cbb0f889..a5b7fe0244e 100644 --- a/service/medialive/api_op_UpdateChannelPlacementGroup.go +++ b/service/medialive/api_op_UpdateChannelPlacementGroup.go @@ -149,9 +149,6 @@ func (c *Client) addOperationUpdateChannelPlacementGroupMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateChannelPlacementGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_UpdateCloudWatchAlarmTemplate.go b/service/medialive/api_op_UpdateCloudWatchAlarmTemplate.go index f74d91f57c7..f295b4f2b75 100644 --- a/service/medialive/api_op_UpdateCloudWatchAlarmTemplate.go +++ b/service/medialive/api_op_UpdateCloudWatchAlarmTemplate.go @@ -215,9 +215,6 @@ func (c *Client) addOperationUpdateCloudWatchAlarmTemplateMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCloudWatchAlarmTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_UpdateCloudWatchAlarmTemplateGroup.go b/service/medialive/api_op_UpdateCloudWatchAlarmTemplateGroup.go index ea7178fdd58..a6d92c07df2 100644 --- a/service/medialive/api_op_UpdateCloudWatchAlarmTemplateGroup.go +++ b/service/medialive/api_op_UpdateCloudWatchAlarmTemplateGroup.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateCloudWatchAlarmTemplateGroupMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCloudWatchAlarmTemplateGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_UpdateCluster.go b/service/medialive/api_op_UpdateCluster.go index df0acb90bf1..9a3aefa8e16 100644 --- a/service/medialive/api_op_UpdateCluster.go +++ b/service/medialive/api_op_UpdateCluster.go @@ -146,9 +146,6 @@ func (c *Client) addOperationUpdateClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_UpdateEventBridgeRuleTemplate.go b/service/medialive/api_op_UpdateEventBridgeRuleTemplate.go index 2e1a5824af2..54581481218 100644 --- a/service/medialive/api_op_UpdateEventBridgeRuleTemplate.go +++ b/service/medialive/api_op_UpdateEventBridgeRuleTemplate.go @@ -163,9 +163,6 @@ func (c *Client) addOperationUpdateEventBridgeRuleTemplateMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEventBridgeRuleTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_UpdateEventBridgeRuleTemplateGroup.go b/service/medialive/api_op_UpdateEventBridgeRuleTemplateGroup.go index 96e356335e7..c13ac8d0db0 100644 --- a/service/medialive/api_op_UpdateEventBridgeRuleTemplateGroup.go +++ b/service/medialive/api_op_UpdateEventBridgeRuleTemplateGroup.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateEventBridgeRuleTemplateGroupMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEventBridgeRuleTemplateGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_UpdateInput.go b/service/medialive/api_op_UpdateInput.go index 50f089b3627..24ea6a35442 100644 --- a/service/medialive/api_op_UpdateInput.go +++ b/service/medialive/api_op_UpdateInput.go @@ -148,9 +148,6 @@ func (c *Client) addOperationUpdateInputMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateInputValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_UpdateInputDevice.go b/service/medialive/api_op_UpdateInputDevice.go index 284de4fd744..91f0249e3ae 100644 --- a/service/medialive/api_op_UpdateInputDevice.go +++ b/service/medialive/api_op_UpdateInputDevice.go @@ -178,9 +178,6 @@ func (c *Client) addOperationUpdateInputDeviceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateInputDeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_UpdateInputSecurityGroup.go b/service/medialive/api_op_UpdateInputSecurityGroup.go index ddc08833b87..a5532047e22 100644 --- a/service/medialive/api_op_UpdateInputSecurityGroup.go +++ b/service/medialive/api_op_UpdateInputSecurityGroup.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateInputSecurityGroupMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateInputSecurityGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_UpdateMultiplex.go b/service/medialive/api_op_UpdateMultiplex.go index 1dd0d9ffb31..0595084190a 100644 --- a/service/medialive/api_op_UpdateMultiplex.go +++ b/service/medialive/api_op_UpdateMultiplex.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateMultiplexMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMultiplexValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_UpdateMultiplexProgram.go b/service/medialive/api_op_UpdateMultiplexProgram.go index 37d151996ce..84ee5a773d4 100644 --- a/service/medialive/api_op_UpdateMultiplexProgram.go +++ b/service/medialive/api_op_UpdateMultiplexProgram.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateMultiplexProgramMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMultiplexProgramValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_UpdateNetwork.go b/service/medialive/api_op_UpdateNetwork.go index 7d7dad265ac..41bde3e6eb2 100644 --- a/service/medialive/api_op_UpdateNetwork.go +++ b/service/medialive/api_op_UpdateNetwork.go @@ -156,9 +156,6 @@ func (c *Client) addOperationUpdateNetworkMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateNetworkValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_UpdateNode.go b/service/medialive/api_op_UpdateNode.go index 51c31694ef2..960e7fe2486 100644 --- a/service/medialive/api_op_UpdateNode.go +++ b/service/medialive/api_op_UpdateNode.go @@ -160,9 +160,6 @@ func (c *Client) addOperationUpdateNodeMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateNodeValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_UpdateNodeState.go b/service/medialive/api_op_UpdateNodeState.go index 5d4dc4cb943..04e40222f0e 100644 --- a/service/medialive/api_op_UpdateNodeState.go +++ b/service/medialive/api_op_UpdateNodeState.go @@ -157,9 +157,6 @@ func (c *Client) addOperationUpdateNodeStateMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateNodeStateValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/api_op_UpdateReservation.go b/service/medialive/api_op_UpdateReservation.go index db915f839bb..0f0977f5d4b 100644 --- a/service/medialive/api_op_UpdateReservation.go +++ b/service/medialive/api_op_UpdateReservation.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdateReservationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateReservationValidationMiddleware(stack); err != nil { return err } diff --git a/service/medialive/snapshot/api_op_AcceptInputDeviceTransfer.go.snap b/service/medialive/snapshot/api_op_AcceptInputDeviceTransfer.go.snap index 96e29d0ab57..cf412f37300 100644 --- a/service/medialive/snapshot/api_op_AcceptInputDeviceTransfer.go.snap +++ b/service/medialive/snapshot/api_op_AcceptInputDeviceTransfer.go.snap @@ -14,7 +14,6 @@ AcceptInputDeviceTransfer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_BatchDelete.go.snap b/service/medialive/snapshot/api_op_BatchDelete.go.snap index 476e4d993e2..db294f5cee7 100644 --- a/service/medialive/snapshot/api_op_BatchDelete.go.snap +++ b/service/medialive/snapshot/api_op_BatchDelete.go.snap @@ -13,7 +13,6 @@ BatchDelete Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_BatchStart.go.snap b/service/medialive/snapshot/api_op_BatchStart.go.snap index f04436a7a00..7b15f895be9 100644 --- a/service/medialive/snapshot/api_op_BatchStart.go.snap +++ b/service/medialive/snapshot/api_op_BatchStart.go.snap @@ -13,7 +13,6 @@ BatchStart Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_BatchStop.go.snap b/service/medialive/snapshot/api_op_BatchStop.go.snap index 71557f96afc..f08b7b4226f 100644 --- a/service/medialive/snapshot/api_op_BatchStop.go.snap +++ b/service/medialive/snapshot/api_op_BatchStop.go.snap @@ -13,7 +13,6 @@ BatchStop Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_BatchUpdateSchedule.go.snap b/service/medialive/snapshot/api_op_BatchUpdateSchedule.go.snap index 2add3e9bd13..450bbbe51bb 100644 --- a/service/medialive/snapshot/api_op_BatchUpdateSchedule.go.snap +++ b/service/medialive/snapshot/api_op_BatchUpdateSchedule.go.snap @@ -14,7 +14,6 @@ BatchUpdateSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_CancelInputDeviceTransfer.go.snap b/service/medialive/snapshot/api_op_CancelInputDeviceTransfer.go.snap index fb5df21eb39..fdf0d07c506 100644 --- a/service/medialive/snapshot/api_op_CancelInputDeviceTransfer.go.snap +++ b/service/medialive/snapshot/api_op_CancelInputDeviceTransfer.go.snap @@ -14,7 +14,6 @@ CancelInputDeviceTransfer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_ClaimDevice.go.snap b/service/medialive/snapshot/api_op_ClaimDevice.go.snap index 97e2818f988..d9f948ba862 100644 --- a/service/medialive/snapshot/api_op_ClaimDevice.go.snap +++ b/service/medialive/snapshot/api_op_ClaimDevice.go.snap @@ -13,7 +13,6 @@ ClaimDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_CreateChannel.go.snap b/service/medialive/snapshot/api_op_CreateChannel.go.snap index 0c5cdf1ab36..8c2652a4b53 100644 --- a/service/medialive/snapshot/api_op_CreateChannel.go.snap +++ b/service/medialive/snapshot/api_op_CreateChannel.go.snap @@ -15,7 +15,6 @@ CreateChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_CreateChannelPlacementGroup.go.snap b/service/medialive/snapshot/api_op_CreateChannelPlacementGroup.go.snap index 6628fb72067..97355fc29ba 100644 --- a/service/medialive/snapshot/api_op_CreateChannelPlacementGroup.go.snap +++ b/service/medialive/snapshot/api_op_CreateChannelPlacementGroup.go.snap @@ -15,7 +15,6 @@ CreateChannelPlacementGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_CreateCloudWatchAlarmTemplate.go.snap b/service/medialive/snapshot/api_op_CreateCloudWatchAlarmTemplate.go.snap index fc62a475bc9..fb4bb3f6c92 100644 --- a/service/medialive/snapshot/api_op_CreateCloudWatchAlarmTemplate.go.snap +++ b/service/medialive/snapshot/api_op_CreateCloudWatchAlarmTemplate.go.snap @@ -15,7 +15,6 @@ CreateCloudWatchAlarmTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_CreateCloudWatchAlarmTemplateGroup.go.snap b/service/medialive/snapshot/api_op_CreateCloudWatchAlarmTemplateGroup.go.snap index f8337dd2ccc..5bdf2921bf4 100644 --- a/service/medialive/snapshot/api_op_CreateCloudWatchAlarmTemplateGroup.go.snap +++ b/service/medialive/snapshot/api_op_CreateCloudWatchAlarmTemplateGroup.go.snap @@ -15,7 +15,6 @@ CreateCloudWatchAlarmTemplateGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_CreateCluster.go.snap b/service/medialive/snapshot/api_op_CreateCluster.go.snap index 55bc1bca6d0..1638d560228 100644 --- a/service/medialive/snapshot/api_op_CreateCluster.go.snap +++ b/service/medialive/snapshot/api_op_CreateCluster.go.snap @@ -14,7 +14,6 @@ CreateCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_CreateEventBridgeRuleTemplate.go.snap b/service/medialive/snapshot/api_op_CreateEventBridgeRuleTemplate.go.snap index 695147be676..03581b50b55 100644 --- a/service/medialive/snapshot/api_op_CreateEventBridgeRuleTemplate.go.snap +++ b/service/medialive/snapshot/api_op_CreateEventBridgeRuleTemplate.go.snap @@ -15,7 +15,6 @@ CreateEventBridgeRuleTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_CreateEventBridgeRuleTemplateGroup.go.snap b/service/medialive/snapshot/api_op_CreateEventBridgeRuleTemplateGroup.go.snap index 6a855b9282e..1ad7179e17d 100644 --- a/service/medialive/snapshot/api_op_CreateEventBridgeRuleTemplateGroup.go.snap +++ b/service/medialive/snapshot/api_op_CreateEventBridgeRuleTemplateGroup.go.snap @@ -15,7 +15,6 @@ CreateEventBridgeRuleTemplateGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_CreateInput.go.snap b/service/medialive/snapshot/api_op_CreateInput.go.snap index f4b415def85..0dcab5e3adc 100644 --- a/service/medialive/snapshot/api_op_CreateInput.go.snap +++ b/service/medialive/snapshot/api_op_CreateInput.go.snap @@ -15,7 +15,6 @@ CreateInput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_CreateInputSecurityGroup.go.snap b/service/medialive/snapshot/api_op_CreateInputSecurityGroup.go.snap index 08a96eeb940..5e817bc2acc 100644 --- a/service/medialive/snapshot/api_op_CreateInputSecurityGroup.go.snap +++ b/service/medialive/snapshot/api_op_CreateInputSecurityGroup.go.snap @@ -13,7 +13,6 @@ CreateInputSecurityGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_CreateMultiplex.go.snap b/service/medialive/snapshot/api_op_CreateMultiplex.go.snap index 65029b28b0d..fea4734f8f1 100644 --- a/service/medialive/snapshot/api_op_CreateMultiplex.go.snap +++ b/service/medialive/snapshot/api_op_CreateMultiplex.go.snap @@ -15,7 +15,6 @@ CreateMultiplex Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_CreateMultiplexProgram.go.snap b/service/medialive/snapshot/api_op_CreateMultiplexProgram.go.snap index bf8740db857..93d6410f710 100644 --- a/service/medialive/snapshot/api_op_CreateMultiplexProgram.go.snap +++ b/service/medialive/snapshot/api_op_CreateMultiplexProgram.go.snap @@ -15,7 +15,6 @@ CreateMultiplexProgram Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_CreateNetwork.go.snap b/service/medialive/snapshot/api_op_CreateNetwork.go.snap index 60a76e3700e..b0a4141a5ee 100644 --- a/service/medialive/snapshot/api_op_CreateNetwork.go.snap +++ b/service/medialive/snapshot/api_op_CreateNetwork.go.snap @@ -14,7 +14,6 @@ CreateNetwork Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_CreateNode.go.snap b/service/medialive/snapshot/api_op_CreateNode.go.snap index 773e686992f..830c70d20ee 100644 --- a/service/medialive/snapshot/api_op_CreateNode.go.snap +++ b/service/medialive/snapshot/api_op_CreateNode.go.snap @@ -15,7 +15,6 @@ CreateNode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_CreateNodeRegistrationScript.go.snap b/service/medialive/snapshot/api_op_CreateNodeRegistrationScript.go.snap index e435a6f7cf5..3086630c28b 100644 --- a/service/medialive/snapshot/api_op_CreateNodeRegistrationScript.go.snap +++ b/service/medialive/snapshot/api_op_CreateNodeRegistrationScript.go.snap @@ -15,7 +15,6 @@ CreateNodeRegistrationScript Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_CreatePartnerInput.go.snap b/service/medialive/snapshot/api_op_CreatePartnerInput.go.snap index 3eff92efc09..0c0c4ad64ea 100644 --- a/service/medialive/snapshot/api_op_CreatePartnerInput.go.snap +++ b/service/medialive/snapshot/api_op_CreatePartnerInput.go.snap @@ -15,7 +15,6 @@ CreatePartnerInput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_CreateSignalMap.go.snap b/service/medialive/snapshot/api_op_CreateSignalMap.go.snap index a3a1ddb61d2..2f4ee52fada 100644 --- a/service/medialive/snapshot/api_op_CreateSignalMap.go.snap +++ b/service/medialive/snapshot/api_op_CreateSignalMap.go.snap @@ -15,7 +15,6 @@ CreateSignalMap Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_CreateTags.go.snap b/service/medialive/snapshot/api_op_CreateTags.go.snap index fe83545a271..2507df3be57 100644 --- a/service/medialive/snapshot/api_op_CreateTags.go.snap +++ b/service/medialive/snapshot/api_op_CreateTags.go.snap @@ -14,7 +14,6 @@ CreateTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_DeleteChannel.go.snap b/service/medialive/snapshot/api_op_DeleteChannel.go.snap index c5d8eebaca6..ff973c1a071 100644 --- a/service/medialive/snapshot/api_op_DeleteChannel.go.snap +++ b/service/medialive/snapshot/api_op_DeleteChannel.go.snap @@ -14,7 +14,6 @@ DeleteChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_DeleteChannelPlacementGroup.go.snap b/service/medialive/snapshot/api_op_DeleteChannelPlacementGroup.go.snap index c8858580a30..96951b09853 100644 --- a/service/medialive/snapshot/api_op_DeleteChannelPlacementGroup.go.snap +++ b/service/medialive/snapshot/api_op_DeleteChannelPlacementGroup.go.snap @@ -14,7 +14,6 @@ DeleteChannelPlacementGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_DeleteCloudWatchAlarmTemplate.go.snap b/service/medialive/snapshot/api_op_DeleteCloudWatchAlarmTemplate.go.snap index 65b6706bc7a..ad9c881c1b5 100644 --- a/service/medialive/snapshot/api_op_DeleteCloudWatchAlarmTemplate.go.snap +++ b/service/medialive/snapshot/api_op_DeleteCloudWatchAlarmTemplate.go.snap @@ -14,7 +14,6 @@ DeleteCloudWatchAlarmTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_DeleteCloudWatchAlarmTemplateGroup.go.snap b/service/medialive/snapshot/api_op_DeleteCloudWatchAlarmTemplateGroup.go.snap index 516ba95e86f..451287553f2 100644 --- a/service/medialive/snapshot/api_op_DeleteCloudWatchAlarmTemplateGroup.go.snap +++ b/service/medialive/snapshot/api_op_DeleteCloudWatchAlarmTemplateGroup.go.snap @@ -14,7 +14,6 @@ DeleteCloudWatchAlarmTemplateGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_DeleteCluster.go.snap b/service/medialive/snapshot/api_op_DeleteCluster.go.snap index 8eeb23b33c5..9df5248d4d6 100644 --- a/service/medialive/snapshot/api_op_DeleteCluster.go.snap +++ b/service/medialive/snapshot/api_op_DeleteCluster.go.snap @@ -14,7 +14,6 @@ DeleteCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_DeleteEventBridgeRuleTemplate.go.snap b/service/medialive/snapshot/api_op_DeleteEventBridgeRuleTemplate.go.snap index 719e92b67ab..58f7a49fb1d 100644 --- a/service/medialive/snapshot/api_op_DeleteEventBridgeRuleTemplate.go.snap +++ b/service/medialive/snapshot/api_op_DeleteEventBridgeRuleTemplate.go.snap @@ -14,7 +14,6 @@ DeleteEventBridgeRuleTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_DeleteEventBridgeRuleTemplateGroup.go.snap b/service/medialive/snapshot/api_op_DeleteEventBridgeRuleTemplateGroup.go.snap index 77800cade91..d5f1c0cebd3 100644 --- a/service/medialive/snapshot/api_op_DeleteEventBridgeRuleTemplateGroup.go.snap +++ b/service/medialive/snapshot/api_op_DeleteEventBridgeRuleTemplateGroup.go.snap @@ -14,7 +14,6 @@ DeleteEventBridgeRuleTemplateGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_DeleteInput.go.snap b/service/medialive/snapshot/api_op_DeleteInput.go.snap index 912f6dc87db..768eca668ea 100644 --- a/service/medialive/snapshot/api_op_DeleteInput.go.snap +++ b/service/medialive/snapshot/api_op_DeleteInput.go.snap @@ -14,7 +14,6 @@ DeleteInput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_DeleteInputSecurityGroup.go.snap b/service/medialive/snapshot/api_op_DeleteInputSecurityGroup.go.snap index 4d1b0270a6c..f75059ecfd4 100644 --- a/service/medialive/snapshot/api_op_DeleteInputSecurityGroup.go.snap +++ b/service/medialive/snapshot/api_op_DeleteInputSecurityGroup.go.snap @@ -14,7 +14,6 @@ DeleteInputSecurityGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_DeleteMultiplex.go.snap b/service/medialive/snapshot/api_op_DeleteMultiplex.go.snap index f83a2f50244..72fc000fd07 100644 --- a/service/medialive/snapshot/api_op_DeleteMultiplex.go.snap +++ b/service/medialive/snapshot/api_op_DeleteMultiplex.go.snap @@ -14,7 +14,6 @@ DeleteMultiplex Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_DeleteMultiplexProgram.go.snap b/service/medialive/snapshot/api_op_DeleteMultiplexProgram.go.snap index 4678fe93f39..6aced10215b 100644 --- a/service/medialive/snapshot/api_op_DeleteMultiplexProgram.go.snap +++ b/service/medialive/snapshot/api_op_DeleteMultiplexProgram.go.snap @@ -14,7 +14,6 @@ DeleteMultiplexProgram Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_DeleteNetwork.go.snap b/service/medialive/snapshot/api_op_DeleteNetwork.go.snap index dc142bc7fef..c131337c6b4 100644 --- a/service/medialive/snapshot/api_op_DeleteNetwork.go.snap +++ b/service/medialive/snapshot/api_op_DeleteNetwork.go.snap @@ -14,7 +14,6 @@ DeleteNetwork Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_DeleteNode.go.snap b/service/medialive/snapshot/api_op_DeleteNode.go.snap index 2d7c82dcab7..0be6b8fb8f5 100644 --- a/service/medialive/snapshot/api_op_DeleteNode.go.snap +++ b/service/medialive/snapshot/api_op_DeleteNode.go.snap @@ -14,7 +14,6 @@ DeleteNode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_DeleteReservation.go.snap b/service/medialive/snapshot/api_op_DeleteReservation.go.snap index b9d07404fe3..b73a4da7397 100644 --- a/service/medialive/snapshot/api_op_DeleteReservation.go.snap +++ b/service/medialive/snapshot/api_op_DeleteReservation.go.snap @@ -14,7 +14,6 @@ DeleteReservation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_DeleteSchedule.go.snap b/service/medialive/snapshot/api_op_DeleteSchedule.go.snap index ed09f2a53c0..bee6add4923 100644 --- a/service/medialive/snapshot/api_op_DeleteSchedule.go.snap +++ b/service/medialive/snapshot/api_op_DeleteSchedule.go.snap @@ -14,7 +14,6 @@ DeleteSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_DeleteSignalMap.go.snap b/service/medialive/snapshot/api_op_DeleteSignalMap.go.snap index b408122b266..2e6f269b95b 100644 --- a/service/medialive/snapshot/api_op_DeleteSignalMap.go.snap +++ b/service/medialive/snapshot/api_op_DeleteSignalMap.go.snap @@ -14,7 +14,6 @@ DeleteSignalMap Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_DeleteTags.go.snap b/service/medialive/snapshot/api_op_DeleteTags.go.snap index 7821a01e140..0eeb01dca01 100644 --- a/service/medialive/snapshot/api_op_DeleteTags.go.snap +++ b/service/medialive/snapshot/api_op_DeleteTags.go.snap @@ -14,7 +14,6 @@ DeleteTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_DescribeAccountConfiguration.go.snap b/service/medialive/snapshot/api_op_DescribeAccountConfiguration.go.snap index fb5ea329d3b..5810b92bb67 100644 --- a/service/medialive/snapshot/api_op_DescribeAccountConfiguration.go.snap +++ b/service/medialive/snapshot/api_op_DescribeAccountConfiguration.go.snap @@ -13,7 +13,6 @@ DescribeAccountConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_DescribeChannel.go.snap b/service/medialive/snapshot/api_op_DescribeChannel.go.snap index 2365be8f025..70f1006d89e 100644 --- a/service/medialive/snapshot/api_op_DescribeChannel.go.snap +++ b/service/medialive/snapshot/api_op_DescribeChannel.go.snap @@ -14,7 +14,6 @@ DescribeChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_DescribeChannelPlacementGroup.go.snap b/service/medialive/snapshot/api_op_DescribeChannelPlacementGroup.go.snap index 078336dbcc6..bb8cf7ee70a 100644 --- a/service/medialive/snapshot/api_op_DescribeChannelPlacementGroup.go.snap +++ b/service/medialive/snapshot/api_op_DescribeChannelPlacementGroup.go.snap @@ -14,7 +14,6 @@ DescribeChannelPlacementGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_DescribeCluster.go.snap b/service/medialive/snapshot/api_op_DescribeCluster.go.snap index fe48df769b6..aba0b08d3d5 100644 --- a/service/medialive/snapshot/api_op_DescribeCluster.go.snap +++ b/service/medialive/snapshot/api_op_DescribeCluster.go.snap @@ -14,7 +14,6 @@ DescribeCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_DescribeInput.go.snap b/service/medialive/snapshot/api_op_DescribeInput.go.snap index a2d7e54b7e0..0922048d6c0 100644 --- a/service/medialive/snapshot/api_op_DescribeInput.go.snap +++ b/service/medialive/snapshot/api_op_DescribeInput.go.snap @@ -14,7 +14,6 @@ DescribeInput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_DescribeInputDevice.go.snap b/service/medialive/snapshot/api_op_DescribeInputDevice.go.snap index 647eee30e4d..bffa05906c9 100644 --- a/service/medialive/snapshot/api_op_DescribeInputDevice.go.snap +++ b/service/medialive/snapshot/api_op_DescribeInputDevice.go.snap @@ -14,7 +14,6 @@ DescribeInputDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_DescribeInputDeviceThumbnail.go.snap b/service/medialive/snapshot/api_op_DescribeInputDeviceThumbnail.go.snap index 05bdadbcb35..6cfdf1f4daf 100644 --- a/service/medialive/snapshot/api_op_DescribeInputDeviceThumbnail.go.snap +++ b/service/medialive/snapshot/api_op_DescribeInputDeviceThumbnail.go.snap @@ -14,7 +14,6 @@ DescribeInputDeviceThumbnail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_DescribeInputSecurityGroup.go.snap b/service/medialive/snapshot/api_op_DescribeInputSecurityGroup.go.snap index e69b90f5160..94d90f65102 100644 --- a/service/medialive/snapshot/api_op_DescribeInputSecurityGroup.go.snap +++ b/service/medialive/snapshot/api_op_DescribeInputSecurityGroup.go.snap @@ -14,7 +14,6 @@ DescribeInputSecurityGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_DescribeMultiplex.go.snap b/service/medialive/snapshot/api_op_DescribeMultiplex.go.snap index d103dc785c6..111dbdaf630 100644 --- a/service/medialive/snapshot/api_op_DescribeMultiplex.go.snap +++ b/service/medialive/snapshot/api_op_DescribeMultiplex.go.snap @@ -14,7 +14,6 @@ DescribeMultiplex Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_DescribeMultiplexProgram.go.snap b/service/medialive/snapshot/api_op_DescribeMultiplexProgram.go.snap index 28e96eb4a48..4220428ed04 100644 --- a/service/medialive/snapshot/api_op_DescribeMultiplexProgram.go.snap +++ b/service/medialive/snapshot/api_op_DescribeMultiplexProgram.go.snap @@ -14,7 +14,6 @@ DescribeMultiplexProgram Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_DescribeNetwork.go.snap b/service/medialive/snapshot/api_op_DescribeNetwork.go.snap index 99522de555d..668c883f469 100644 --- a/service/medialive/snapshot/api_op_DescribeNetwork.go.snap +++ b/service/medialive/snapshot/api_op_DescribeNetwork.go.snap @@ -14,7 +14,6 @@ DescribeNetwork Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_DescribeNode.go.snap b/service/medialive/snapshot/api_op_DescribeNode.go.snap index 6b817cfe616..c5d84a95bd7 100644 --- a/service/medialive/snapshot/api_op_DescribeNode.go.snap +++ b/service/medialive/snapshot/api_op_DescribeNode.go.snap @@ -14,7 +14,6 @@ DescribeNode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_DescribeOffering.go.snap b/service/medialive/snapshot/api_op_DescribeOffering.go.snap index 06853952135..3ad0e4e5a48 100644 --- a/service/medialive/snapshot/api_op_DescribeOffering.go.snap +++ b/service/medialive/snapshot/api_op_DescribeOffering.go.snap @@ -14,7 +14,6 @@ DescribeOffering Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_DescribeReservation.go.snap b/service/medialive/snapshot/api_op_DescribeReservation.go.snap index 630c69bff73..52399bf4b44 100644 --- a/service/medialive/snapshot/api_op_DescribeReservation.go.snap +++ b/service/medialive/snapshot/api_op_DescribeReservation.go.snap @@ -14,7 +14,6 @@ DescribeReservation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_DescribeSchedule.go.snap b/service/medialive/snapshot/api_op_DescribeSchedule.go.snap index 5cbf7c92fab..f595bd55eb5 100644 --- a/service/medialive/snapshot/api_op_DescribeSchedule.go.snap +++ b/service/medialive/snapshot/api_op_DescribeSchedule.go.snap @@ -14,7 +14,6 @@ DescribeSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_DescribeThumbnails.go.snap b/service/medialive/snapshot/api_op_DescribeThumbnails.go.snap index 54268853291..47e957de9bf 100644 --- a/service/medialive/snapshot/api_op_DescribeThumbnails.go.snap +++ b/service/medialive/snapshot/api_op_DescribeThumbnails.go.snap @@ -14,7 +14,6 @@ DescribeThumbnails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_GetCloudWatchAlarmTemplate.go.snap b/service/medialive/snapshot/api_op_GetCloudWatchAlarmTemplate.go.snap index 79a9f6204b7..cfdb9dbb167 100644 --- a/service/medialive/snapshot/api_op_GetCloudWatchAlarmTemplate.go.snap +++ b/service/medialive/snapshot/api_op_GetCloudWatchAlarmTemplate.go.snap @@ -14,7 +14,6 @@ GetCloudWatchAlarmTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_GetCloudWatchAlarmTemplateGroup.go.snap b/service/medialive/snapshot/api_op_GetCloudWatchAlarmTemplateGroup.go.snap index 6fea5f25d38..8bd4a8b3274 100644 --- a/service/medialive/snapshot/api_op_GetCloudWatchAlarmTemplateGroup.go.snap +++ b/service/medialive/snapshot/api_op_GetCloudWatchAlarmTemplateGroup.go.snap @@ -14,7 +14,6 @@ GetCloudWatchAlarmTemplateGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_GetEventBridgeRuleTemplate.go.snap b/service/medialive/snapshot/api_op_GetEventBridgeRuleTemplate.go.snap index cb721da5ff3..0a3cf712546 100644 --- a/service/medialive/snapshot/api_op_GetEventBridgeRuleTemplate.go.snap +++ b/service/medialive/snapshot/api_op_GetEventBridgeRuleTemplate.go.snap @@ -14,7 +14,6 @@ GetEventBridgeRuleTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_GetEventBridgeRuleTemplateGroup.go.snap b/service/medialive/snapshot/api_op_GetEventBridgeRuleTemplateGroup.go.snap index e848de2d47a..7ff4479c8eb 100644 --- a/service/medialive/snapshot/api_op_GetEventBridgeRuleTemplateGroup.go.snap +++ b/service/medialive/snapshot/api_op_GetEventBridgeRuleTemplateGroup.go.snap @@ -14,7 +14,6 @@ GetEventBridgeRuleTemplateGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_GetSignalMap.go.snap b/service/medialive/snapshot/api_op_GetSignalMap.go.snap index 77f7a4f2ac4..860af3ff93e 100644 --- a/service/medialive/snapshot/api_op_GetSignalMap.go.snap +++ b/service/medialive/snapshot/api_op_GetSignalMap.go.snap @@ -14,7 +14,6 @@ GetSignalMap Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_ListChannelPlacementGroups.go.snap b/service/medialive/snapshot/api_op_ListChannelPlacementGroups.go.snap index f4713c0e5cf..4229420d651 100644 --- a/service/medialive/snapshot/api_op_ListChannelPlacementGroups.go.snap +++ b/service/medialive/snapshot/api_op_ListChannelPlacementGroups.go.snap @@ -14,7 +14,6 @@ ListChannelPlacementGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_ListChannels.go.snap b/service/medialive/snapshot/api_op_ListChannels.go.snap index ba520959789..a6c9b89d3b2 100644 --- a/service/medialive/snapshot/api_op_ListChannels.go.snap +++ b/service/medialive/snapshot/api_op_ListChannels.go.snap @@ -13,7 +13,6 @@ ListChannels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_ListCloudWatchAlarmTemplateGroups.go.snap b/service/medialive/snapshot/api_op_ListCloudWatchAlarmTemplateGroups.go.snap index 51055d084bc..5ad9d3adaf4 100644 --- a/service/medialive/snapshot/api_op_ListCloudWatchAlarmTemplateGroups.go.snap +++ b/service/medialive/snapshot/api_op_ListCloudWatchAlarmTemplateGroups.go.snap @@ -13,7 +13,6 @@ ListCloudWatchAlarmTemplateGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_ListCloudWatchAlarmTemplates.go.snap b/service/medialive/snapshot/api_op_ListCloudWatchAlarmTemplates.go.snap index 3d6edaa9f93..920d8657633 100644 --- a/service/medialive/snapshot/api_op_ListCloudWatchAlarmTemplates.go.snap +++ b/service/medialive/snapshot/api_op_ListCloudWatchAlarmTemplates.go.snap @@ -13,7 +13,6 @@ ListCloudWatchAlarmTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_ListClusters.go.snap b/service/medialive/snapshot/api_op_ListClusters.go.snap index 48cbced5e1f..949fd968ca2 100644 --- a/service/medialive/snapshot/api_op_ListClusters.go.snap +++ b/service/medialive/snapshot/api_op_ListClusters.go.snap @@ -13,7 +13,6 @@ ListClusters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_ListEventBridgeRuleTemplateGroups.go.snap b/service/medialive/snapshot/api_op_ListEventBridgeRuleTemplateGroups.go.snap index 17777704499..2ac0b0d8096 100644 --- a/service/medialive/snapshot/api_op_ListEventBridgeRuleTemplateGroups.go.snap +++ b/service/medialive/snapshot/api_op_ListEventBridgeRuleTemplateGroups.go.snap @@ -13,7 +13,6 @@ ListEventBridgeRuleTemplateGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_ListEventBridgeRuleTemplates.go.snap b/service/medialive/snapshot/api_op_ListEventBridgeRuleTemplates.go.snap index 7fe6397357e..907ef7a367f 100644 --- a/service/medialive/snapshot/api_op_ListEventBridgeRuleTemplates.go.snap +++ b/service/medialive/snapshot/api_op_ListEventBridgeRuleTemplates.go.snap @@ -13,7 +13,6 @@ ListEventBridgeRuleTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_ListInputDeviceTransfers.go.snap b/service/medialive/snapshot/api_op_ListInputDeviceTransfers.go.snap index 6204306f60b..c63bd0c8945 100644 --- a/service/medialive/snapshot/api_op_ListInputDeviceTransfers.go.snap +++ b/service/medialive/snapshot/api_op_ListInputDeviceTransfers.go.snap @@ -14,7 +14,6 @@ ListInputDeviceTransfers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_ListInputDevices.go.snap b/service/medialive/snapshot/api_op_ListInputDevices.go.snap index 4b66b8e5015..c51a1b1668e 100644 --- a/service/medialive/snapshot/api_op_ListInputDevices.go.snap +++ b/service/medialive/snapshot/api_op_ListInputDevices.go.snap @@ -13,7 +13,6 @@ ListInputDevices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_ListInputSecurityGroups.go.snap b/service/medialive/snapshot/api_op_ListInputSecurityGroups.go.snap index b79c50e2842..059ad208474 100644 --- a/service/medialive/snapshot/api_op_ListInputSecurityGroups.go.snap +++ b/service/medialive/snapshot/api_op_ListInputSecurityGroups.go.snap @@ -13,7 +13,6 @@ ListInputSecurityGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_ListInputs.go.snap b/service/medialive/snapshot/api_op_ListInputs.go.snap index 5168162d8e3..3e9dd37cc77 100644 --- a/service/medialive/snapshot/api_op_ListInputs.go.snap +++ b/service/medialive/snapshot/api_op_ListInputs.go.snap @@ -13,7 +13,6 @@ ListInputs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_ListMultiplexPrograms.go.snap b/service/medialive/snapshot/api_op_ListMultiplexPrograms.go.snap index 8c7e0d2922d..0534d108619 100644 --- a/service/medialive/snapshot/api_op_ListMultiplexPrograms.go.snap +++ b/service/medialive/snapshot/api_op_ListMultiplexPrograms.go.snap @@ -14,7 +14,6 @@ ListMultiplexPrograms Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_ListMultiplexes.go.snap b/service/medialive/snapshot/api_op_ListMultiplexes.go.snap index 441eb151252..b2aef98f13d 100644 --- a/service/medialive/snapshot/api_op_ListMultiplexes.go.snap +++ b/service/medialive/snapshot/api_op_ListMultiplexes.go.snap @@ -13,7 +13,6 @@ ListMultiplexes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_ListNetworks.go.snap b/service/medialive/snapshot/api_op_ListNetworks.go.snap index debc868f27c..b1720c91895 100644 --- a/service/medialive/snapshot/api_op_ListNetworks.go.snap +++ b/service/medialive/snapshot/api_op_ListNetworks.go.snap @@ -13,7 +13,6 @@ ListNetworks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_ListNodes.go.snap b/service/medialive/snapshot/api_op_ListNodes.go.snap index 8aa2b28b799..1bc437f1d37 100644 --- a/service/medialive/snapshot/api_op_ListNodes.go.snap +++ b/service/medialive/snapshot/api_op_ListNodes.go.snap @@ -14,7 +14,6 @@ ListNodes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_ListOfferings.go.snap b/service/medialive/snapshot/api_op_ListOfferings.go.snap index 97af9ceb2db..9ce8fe4209f 100644 --- a/service/medialive/snapshot/api_op_ListOfferings.go.snap +++ b/service/medialive/snapshot/api_op_ListOfferings.go.snap @@ -13,7 +13,6 @@ ListOfferings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_ListReservations.go.snap b/service/medialive/snapshot/api_op_ListReservations.go.snap index 6ea042d1c01..c822a8a395f 100644 --- a/service/medialive/snapshot/api_op_ListReservations.go.snap +++ b/service/medialive/snapshot/api_op_ListReservations.go.snap @@ -13,7 +13,6 @@ ListReservations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_ListSignalMaps.go.snap b/service/medialive/snapshot/api_op_ListSignalMaps.go.snap index 40999cf33b5..6545f31b18a 100644 --- a/service/medialive/snapshot/api_op_ListSignalMaps.go.snap +++ b/service/medialive/snapshot/api_op_ListSignalMaps.go.snap @@ -13,7 +13,6 @@ ListSignalMaps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_ListTagsForResource.go.snap b/service/medialive/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/medialive/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/medialive/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_ListVersions.go.snap b/service/medialive/snapshot/api_op_ListVersions.go.snap index e735edd6ec7..1cf18150ee5 100644 --- a/service/medialive/snapshot/api_op_ListVersions.go.snap +++ b/service/medialive/snapshot/api_op_ListVersions.go.snap @@ -13,7 +13,6 @@ ListVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_PurchaseOffering.go.snap b/service/medialive/snapshot/api_op_PurchaseOffering.go.snap index 189b02fd6df..e4f5806ec5e 100644 --- a/service/medialive/snapshot/api_op_PurchaseOffering.go.snap +++ b/service/medialive/snapshot/api_op_PurchaseOffering.go.snap @@ -15,7 +15,6 @@ PurchaseOffering Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_RebootInputDevice.go.snap b/service/medialive/snapshot/api_op_RebootInputDevice.go.snap index 4f7db905010..af87f8cdb18 100644 --- a/service/medialive/snapshot/api_op_RebootInputDevice.go.snap +++ b/service/medialive/snapshot/api_op_RebootInputDevice.go.snap @@ -14,7 +14,6 @@ RebootInputDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_RejectInputDeviceTransfer.go.snap b/service/medialive/snapshot/api_op_RejectInputDeviceTransfer.go.snap index 2efd2764894..c697776e847 100644 --- a/service/medialive/snapshot/api_op_RejectInputDeviceTransfer.go.snap +++ b/service/medialive/snapshot/api_op_RejectInputDeviceTransfer.go.snap @@ -14,7 +14,6 @@ RejectInputDeviceTransfer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_RestartChannelPipelines.go.snap b/service/medialive/snapshot/api_op_RestartChannelPipelines.go.snap index b2df6b010cc..cc2f3687f11 100644 --- a/service/medialive/snapshot/api_op_RestartChannelPipelines.go.snap +++ b/service/medialive/snapshot/api_op_RestartChannelPipelines.go.snap @@ -14,7 +14,6 @@ RestartChannelPipelines Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_StartChannel.go.snap b/service/medialive/snapshot/api_op_StartChannel.go.snap index 5ab3f5a8e52..ee4ee4094b4 100644 --- a/service/medialive/snapshot/api_op_StartChannel.go.snap +++ b/service/medialive/snapshot/api_op_StartChannel.go.snap @@ -14,7 +14,6 @@ StartChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_StartDeleteMonitorDeployment.go.snap b/service/medialive/snapshot/api_op_StartDeleteMonitorDeployment.go.snap index 29406fac627..82cf2c42b7d 100644 --- a/service/medialive/snapshot/api_op_StartDeleteMonitorDeployment.go.snap +++ b/service/medialive/snapshot/api_op_StartDeleteMonitorDeployment.go.snap @@ -14,7 +14,6 @@ StartDeleteMonitorDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_StartInputDevice.go.snap b/service/medialive/snapshot/api_op_StartInputDevice.go.snap index cccb17b10e7..c5a27845408 100644 --- a/service/medialive/snapshot/api_op_StartInputDevice.go.snap +++ b/service/medialive/snapshot/api_op_StartInputDevice.go.snap @@ -14,7 +14,6 @@ StartInputDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_StartInputDeviceMaintenanceWindow.go.snap b/service/medialive/snapshot/api_op_StartInputDeviceMaintenanceWindow.go.snap index 3a818420531..5602e0a325b 100644 --- a/service/medialive/snapshot/api_op_StartInputDeviceMaintenanceWindow.go.snap +++ b/service/medialive/snapshot/api_op_StartInputDeviceMaintenanceWindow.go.snap @@ -14,7 +14,6 @@ StartInputDeviceMaintenanceWindow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_StartMonitorDeployment.go.snap b/service/medialive/snapshot/api_op_StartMonitorDeployment.go.snap index 062128af839..41533a46103 100644 --- a/service/medialive/snapshot/api_op_StartMonitorDeployment.go.snap +++ b/service/medialive/snapshot/api_op_StartMonitorDeployment.go.snap @@ -14,7 +14,6 @@ StartMonitorDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_StartMultiplex.go.snap b/service/medialive/snapshot/api_op_StartMultiplex.go.snap index 8e977eef6a7..d557cb721bc 100644 --- a/service/medialive/snapshot/api_op_StartMultiplex.go.snap +++ b/service/medialive/snapshot/api_op_StartMultiplex.go.snap @@ -14,7 +14,6 @@ StartMultiplex Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_StartUpdateSignalMap.go.snap b/service/medialive/snapshot/api_op_StartUpdateSignalMap.go.snap index e03b61d5ba0..a5ffdb8307b 100644 --- a/service/medialive/snapshot/api_op_StartUpdateSignalMap.go.snap +++ b/service/medialive/snapshot/api_op_StartUpdateSignalMap.go.snap @@ -14,7 +14,6 @@ StartUpdateSignalMap Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_StopChannel.go.snap b/service/medialive/snapshot/api_op_StopChannel.go.snap index d1489f1e644..418bd05959d 100644 --- a/service/medialive/snapshot/api_op_StopChannel.go.snap +++ b/service/medialive/snapshot/api_op_StopChannel.go.snap @@ -14,7 +14,6 @@ StopChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_StopInputDevice.go.snap b/service/medialive/snapshot/api_op_StopInputDevice.go.snap index 88dc37b34b5..b9a907d81b7 100644 --- a/service/medialive/snapshot/api_op_StopInputDevice.go.snap +++ b/service/medialive/snapshot/api_op_StopInputDevice.go.snap @@ -14,7 +14,6 @@ StopInputDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_StopMultiplex.go.snap b/service/medialive/snapshot/api_op_StopMultiplex.go.snap index 27b876a3574..6749fa49cd0 100644 --- a/service/medialive/snapshot/api_op_StopMultiplex.go.snap +++ b/service/medialive/snapshot/api_op_StopMultiplex.go.snap @@ -14,7 +14,6 @@ StopMultiplex Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_TransferInputDevice.go.snap b/service/medialive/snapshot/api_op_TransferInputDevice.go.snap index 3889b432464..5db4fa11bd3 100644 --- a/service/medialive/snapshot/api_op_TransferInputDevice.go.snap +++ b/service/medialive/snapshot/api_op_TransferInputDevice.go.snap @@ -14,7 +14,6 @@ TransferInputDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_UpdateAccountConfiguration.go.snap b/service/medialive/snapshot/api_op_UpdateAccountConfiguration.go.snap index 336e8c154d1..99f229ae249 100644 --- a/service/medialive/snapshot/api_op_UpdateAccountConfiguration.go.snap +++ b/service/medialive/snapshot/api_op_UpdateAccountConfiguration.go.snap @@ -13,7 +13,6 @@ UpdateAccountConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_UpdateChannel.go.snap b/service/medialive/snapshot/api_op_UpdateChannel.go.snap index 4ee65c8c5a7..f4150e2b85f 100644 --- a/service/medialive/snapshot/api_op_UpdateChannel.go.snap +++ b/service/medialive/snapshot/api_op_UpdateChannel.go.snap @@ -14,7 +14,6 @@ UpdateChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_UpdateChannelClass.go.snap b/service/medialive/snapshot/api_op_UpdateChannelClass.go.snap index 810b953cce5..bec9517c084 100644 --- a/service/medialive/snapshot/api_op_UpdateChannelClass.go.snap +++ b/service/medialive/snapshot/api_op_UpdateChannelClass.go.snap @@ -14,7 +14,6 @@ UpdateChannelClass Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_UpdateChannelPlacementGroup.go.snap b/service/medialive/snapshot/api_op_UpdateChannelPlacementGroup.go.snap index 3814de7d613..c950a25b590 100644 --- a/service/medialive/snapshot/api_op_UpdateChannelPlacementGroup.go.snap +++ b/service/medialive/snapshot/api_op_UpdateChannelPlacementGroup.go.snap @@ -14,7 +14,6 @@ UpdateChannelPlacementGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_UpdateCloudWatchAlarmTemplate.go.snap b/service/medialive/snapshot/api_op_UpdateCloudWatchAlarmTemplate.go.snap index 68b0c3b9df9..b41a473b433 100644 --- a/service/medialive/snapshot/api_op_UpdateCloudWatchAlarmTemplate.go.snap +++ b/service/medialive/snapshot/api_op_UpdateCloudWatchAlarmTemplate.go.snap @@ -14,7 +14,6 @@ UpdateCloudWatchAlarmTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_UpdateCloudWatchAlarmTemplateGroup.go.snap b/service/medialive/snapshot/api_op_UpdateCloudWatchAlarmTemplateGroup.go.snap index deaa798b35c..8f41af1d677 100644 --- a/service/medialive/snapshot/api_op_UpdateCloudWatchAlarmTemplateGroup.go.snap +++ b/service/medialive/snapshot/api_op_UpdateCloudWatchAlarmTemplateGroup.go.snap @@ -14,7 +14,6 @@ UpdateCloudWatchAlarmTemplateGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_UpdateCluster.go.snap b/service/medialive/snapshot/api_op_UpdateCluster.go.snap index 9ff96b83973..babe61a8cd3 100644 --- a/service/medialive/snapshot/api_op_UpdateCluster.go.snap +++ b/service/medialive/snapshot/api_op_UpdateCluster.go.snap @@ -14,7 +14,6 @@ UpdateCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_UpdateEventBridgeRuleTemplate.go.snap b/service/medialive/snapshot/api_op_UpdateEventBridgeRuleTemplate.go.snap index b19500d4974..3134285f983 100644 --- a/service/medialive/snapshot/api_op_UpdateEventBridgeRuleTemplate.go.snap +++ b/service/medialive/snapshot/api_op_UpdateEventBridgeRuleTemplate.go.snap @@ -14,7 +14,6 @@ UpdateEventBridgeRuleTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_UpdateEventBridgeRuleTemplateGroup.go.snap b/service/medialive/snapshot/api_op_UpdateEventBridgeRuleTemplateGroup.go.snap index 1828ae9f329..ad7ead9e92a 100644 --- a/service/medialive/snapshot/api_op_UpdateEventBridgeRuleTemplateGroup.go.snap +++ b/service/medialive/snapshot/api_op_UpdateEventBridgeRuleTemplateGroup.go.snap @@ -14,7 +14,6 @@ UpdateEventBridgeRuleTemplateGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_UpdateInput.go.snap b/service/medialive/snapshot/api_op_UpdateInput.go.snap index c98cae8aabf..d9e1f87c507 100644 --- a/service/medialive/snapshot/api_op_UpdateInput.go.snap +++ b/service/medialive/snapshot/api_op_UpdateInput.go.snap @@ -14,7 +14,6 @@ UpdateInput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_UpdateInputDevice.go.snap b/service/medialive/snapshot/api_op_UpdateInputDevice.go.snap index 64284df3c6b..d028a56a46b 100644 --- a/service/medialive/snapshot/api_op_UpdateInputDevice.go.snap +++ b/service/medialive/snapshot/api_op_UpdateInputDevice.go.snap @@ -14,7 +14,6 @@ UpdateInputDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_UpdateInputSecurityGroup.go.snap b/service/medialive/snapshot/api_op_UpdateInputSecurityGroup.go.snap index f39f84fd160..2d9e64838b9 100644 --- a/service/medialive/snapshot/api_op_UpdateInputSecurityGroup.go.snap +++ b/service/medialive/snapshot/api_op_UpdateInputSecurityGroup.go.snap @@ -14,7 +14,6 @@ UpdateInputSecurityGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_UpdateMultiplex.go.snap b/service/medialive/snapshot/api_op_UpdateMultiplex.go.snap index 36e2c431327..b75c53468b8 100644 --- a/service/medialive/snapshot/api_op_UpdateMultiplex.go.snap +++ b/service/medialive/snapshot/api_op_UpdateMultiplex.go.snap @@ -14,7 +14,6 @@ UpdateMultiplex Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_UpdateMultiplexProgram.go.snap b/service/medialive/snapshot/api_op_UpdateMultiplexProgram.go.snap index 10e70aab15a..d23f8e910a7 100644 --- a/service/medialive/snapshot/api_op_UpdateMultiplexProgram.go.snap +++ b/service/medialive/snapshot/api_op_UpdateMultiplexProgram.go.snap @@ -14,7 +14,6 @@ UpdateMultiplexProgram Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_UpdateNetwork.go.snap b/service/medialive/snapshot/api_op_UpdateNetwork.go.snap index 49c1fdada9f..eb5063f152a 100644 --- a/service/medialive/snapshot/api_op_UpdateNetwork.go.snap +++ b/service/medialive/snapshot/api_op_UpdateNetwork.go.snap @@ -14,7 +14,6 @@ UpdateNetwork Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_UpdateNode.go.snap b/service/medialive/snapshot/api_op_UpdateNode.go.snap index 6eb58b8ef15..6c12f30f744 100644 --- a/service/medialive/snapshot/api_op_UpdateNode.go.snap +++ b/service/medialive/snapshot/api_op_UpdateNode.go.snap @@ -14,7 +14,6 @@ UpdateNode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_UpdateNodeState.go.snap b/service/medialive/snapshot/api_op_UpdateNodeState.go.snap index e502f585aa0..317afe11c26 100644 --- a/service/medialive/snapshot/api_op_UpdateNodeState.go.snap +++ b/service/medialive/snapshot/api_op_UpdateNodeState.go.snap @@ -14,7 +14,6 @@ UpdateNodeState Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medialive/snapshot/api_op_UpdateReservation.go.snap b/service/medialive/snapshot/api_op_UpdateReservation.go.snap index dd117487aff..516a1a63c58 100644 --- a/service/medialive/snapshot/api_op_UpdateReservation.go.snap +++ b/service/medialive/snapshot/api_op_UpdateReservation.go.snap @@ -14,7 +14,6 @@ UpdateReservation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackage/api_client.go b/service/mediapackage/api_client.go index d69542eac57..c4bf408b709 100644 --- a/service/mediapackage/api_client.go +++ b/service/mediapackage/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/mediapackage/api_op_ConfigureLogs.go b/service/mediapackage/api_op_ConfigureLogs.go index 7e5eab196d7..76988fc3e55 100644 --- a/service/mediapackage/api_op_ConfigureLogs.go +++ b/service/mediapackage/api_op_ConfigureLogs.go @@ -140,9 +140,6 @@ func (c *Client) addOperationConfigureLogsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpConfigureLogsValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_CreateChannel.go b/service/mediapackage/api_op_CreateChannel.go index f84f5a24ba3..b906ae85572 100644 --- a/service/mediapackage/api_op_CreateChannel.go +++ b/service/mediapackage/api_op_CreateChannel.go @@ -141,9 +141,6 @@ func (c *Client) addOperationCreateChannelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_CreateHarvestJob.go b/service/mediapackage/api_op_CreateHarvestJob.go index 45e345aff31..7a22cf83640 100644 --- a/service/mediapackage/api_op_CreateHarvestJob.go +++ b/service/mediapackage/api_op_CreateHarvestJob.go @@ -165,9 +165,6 @@ func (c *Client) addOperationCreateHarvestJobMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateHarvestJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_CreateOriginEndpoint.go b/service/mediapackage/api_op_CreateOriginEndpoint.go index c51c80823c5..78998cd1269 100644 --- a/service/mediapackage/api_op_CreateOriginEndpoint.go +++ b/service/mediapackage/api_op_CreateOriginEndpoint.go @@ -219,9 +219,6 @@ func (c *Client) addOperationCreateOriginEndpointMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateOriginEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_DeleteChannel.go b/service/mediapackage/api_op_DeleteChannel.go index 13010ea40c0..674ab623be7 100644 --- a/service/mediapackage/api_op_DeleteChannel.go +++ b/service/mediapackage/api_op_DeleteChannel.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteChannelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_DeleteOriginEndpoint.go b/service/mediapackage/api_op_DeleteOriginEndpoint.go index e1ee37f5ac4..833e9c0de14 100644 --- a/service/mediapackage/api_op_DeleteOriginEndpoint.go +++ b/service/mediapackage/api_op_DeleteOriginEndpoint.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteOriginEndpointMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteOriginEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_DescribeChannel.go b/service/mediapackage/api_op_DescribeChannel.go index 41df7361a22..b14548905dd 100644 --- a/service/mediapackage/api_op_DescribeChannel.go +++ b/service/mediapackage/api_op_DescribeChannel.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeChannelMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_DescribeHarvestJob.go b/service/mediapackage/api_op_DescribeHarvestJob.go index 1a3d6106f7e..fe62f4e1809 100644 --- a/service/mediapackage/api_op_DescribeHarvestJob.go +++ b/service/mediapackage/api_op_DescribeHarvestJob.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeHarvestJobMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeHarvestJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_DescribeOriginEndpoint.go b/service/mediapackage/api_op_DescribeOriginEndpoint.go index fde99c0b6e5..1dcbdcc2237 100644 --- a/service/mediapackage/api_op_DescribeOriginEndpoint.go +++ b/service/mediapackage/api_op_DescribeOriginEndpoint.go @@ -167,9 +167,6 @@ func (c *Client) addOperationDescribeOriginEndpointMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeOriginEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_ListChannels.go b/service/mediapackage/api_op_ListChannels.go index ebccd201c46..28b1352ba02 100644 --- a/service/mediapackage/api_op_ListChannels.go +++ b/service/mediapackage/api_op_ListChannels.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListChannelsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChannels(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mediapackage/api_op_ListHarvestJobs.go b/service/mediapackage/api_op_ListHarvestJobs.go index 79a56865490..6888e53fcad 100644 --- a/service/mediapackage/api_op_ListHarvestJobs.go +++ b/service/mediapackage/api_op_ListHarvestJobs.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListHarvestJobsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHarvestJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mediapackage/api_op_ListOriginEndpoints.go b/service/mediapackage/api_op_ListOriginEndpoints.go index 0ecf38fec82..b8eae6e039b 100644 --- a/service/mediapackage/api_op_ListOriginEndpoints.go +++ b/service/mediapackage/api_op_ListOriginEndpoints.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListOriginEndpointsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOriginEndpoints(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mediapackage/api_op_ListTagsForResource.go b/service/mediapackage/api_op_ListTagsForResource.go index fe35e812893..61bf027f6d3 100644 --- a/service/mediapackage/api_op_ListTagsForResource.go +++ b/service/mediapackage/api_op_ListTagsForResource.go @@ -106,9 +106,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_RotateChannelCredentials.go b/service/mediapackage/api_op_RotateChannelCredentials.go index 3c3954a6e6a..e461b98772f 100644 --- a/service/mediapackage/api_op_RotateChannelCredentials.go +++ b/service/mediapackage/api_op_RotateChannelCredentials.go @@ -137,9 +137,6 @@ func (c *Client) addOperationRotateChannelCredentialsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRotateChannelCredentialsValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_RotateIngestEndpointCredentials.go b/service/mediapackage/api_op_RotateIngestEndpointCredentials.go index a1a85637894..164a543bb36 100644 --- a/service/mediapackage/api_op_RotateIngestEndpointCredentials.go +++ b/service/mediapackage/api_op_RotateIngestEndpointCredentials.go @@ -139,9 +139,6 @@ func (c *Client) addOperationRotateIngestEndpointCredentialsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRotateIngestEndpointCredentialsValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_TagResource.go b/service/mediapackage/api_op_TagResource.go index 3fab54adb42..81c7e4442e7 100644 --- a/service/mediapackage/api_op_TagResource.go +++ b/service/mediapackage/api_op_TagResource.go @@ -107,9 +107,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_UntagResource.go b/service/mediapackage/api_op_UntagResource.go index 853f568e0c5..89ed09dc433 100644 --- a/service/mediapackage/api_op_UntagResource.go +++ b/service/mediapackage/api_op_UntagResource.go @@ -109,9 +109,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_UpdateChannel.go b/service/mediapackage/api_op_UpdateChannel.go index 56948c26e60..85773cf91d5 100644 --- a/service/mediapackage/api_op_UpdateChannel.go +++ b/service/mediapackage/api_op_UpdateChannel.go @@ -137,9 +137,6 @@ func (c *Client) addOperationUpdateChannelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/api_op_UpdateOriginEndpoint.go b/service/mediapackage/api_op_UpdateOriginEndpoint.go index e9293b56e0f..bce41a17a5a 100644 --- a/service/mediapackage/api_op_UpdateOriginEndpoint.go +++ b/service/mediapackage/api_op_UpdateOriginEndpoint.go @@ -208,9 +208,6 @@ func (c *Client) addOperationUpdateOriginEndpointMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateOriginEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackage/snapshot/api_op_ConfigureLogs.go.snap b/service/mediapackage/snapshot/api_op_ConfigureLogs.go.snap index 5c57717d1a5..c43b5466b0b 100644 --- a/service/mediapackage/snapshot/api_op_ConfigureLogs.go.snap +++ b/service/mediapackage/snapshot/api_op_ConfigureLogs.go.snap @@ -14,7 +14,6 @@ ConfigureLogs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackage/snapshot/api_op_CreateChannel.go.snap b/service/mediapackage/snapshot/api_op_CreateChannel.go.snap index c4492831992..ee3ad890378 100644 --- a/service/mediapackage/snapshot/api_op_CreateChannel.go.snap +++ b/service/mediapackage/snapshot/api_op_CreateChannel.go.snap @@ -14,7 +14,6 @@ CreateChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackage/snapshot/api_op_CreateHarvestJob.go.snap b/service/mediapackage/snapshot/api_op_CreateHarvestJob.go.snap index 47ad6f003a1..8837683cfef 100644 --- a/service/mediapackage/snapshot/api_op_CreateHarvestJob.go.snap +++ b/service/mediapackage/snapshot/api_op_CreateHarvestJob.go.snap @@ -14,7 +14,6 @@ CreateHarvestJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackage/snapshot/api_op_CreateOriginEndpoint.go.snap b/service/mediapackage/snapshot/api_op_CreateOriginEndpoint.go.snap index 652fe1babb8..c82fe099cba 100644 --- a/service/mediapackage/snapshot/api_op_CreateOriginEndpoint.go.snap +++ b/service/mediapackage/snapshot/api_op_CreateOriginEndpoint.go.snap @@ -14,7 +14,6 @@ CreateOriginEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackage/snapshot/api_op_DeleteChannel.go.snap b/service/mediapackage/snapshot/api_op_DeleteChannel.go.snap index c5d8eebaca6..ff973c1a071 100644 --- a/service/mediapackage/snapshot/api_op_DeleteChannel.go.snap +++ b/service/mediapackage/snapshot/api_op_DeleteChannel.go.snap @@ -14,7 +14,6 @@ DeleteChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackage/snapshot/api_op_DeleteOriginEndpoint.go.snap b/service/mediapackage/snapshot/api_op_DeleteOriginEndpoint.go.snap index a3cf55460fe..750a103cded 100644 --- a/service/mediapackage/snapshot/api_op_DeleteOriginEndpoint.go.snap +++ b/service/mediapackage/snapshot/api_op_DeleteOriginEndpoint.go.snap @@ -14,7 +14,6 @@ DeleteOriginEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackage/snapshot/api_op_DescribeChannel.go.snap b/service/mediapackage/snapshot/api_op_DescribeChannel.go.snap index 2365be8f025..70f1006d89e 100644 --- a/service/mediapackage/snapshot/api_op_DescribeChannel.go.snap +++ b/service/mediapackage/snapshot/api_op_DescribeChannel.go.snap @@ -14,7 +14,6 @@ DescribeChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackage/snapshot/api_op_DescribeHarvestJob.go.snap b/service/mediapackage/snapshot/api_op_DescribeHarvestJob.go.snap index a5f7c82fafb..fee3a067a08 100644 --- a/service/mediapackage/snapshot/api_op_DescribeHarvestJob.go.snap +++ b/service/mediapackage/snapshot/api_op_DescribeHarvestJob.go.snap @@ -14,7 +14,6 @@ DescribeHarvestJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackage/snapshot/api_op_DescribeOriginEndpoint.go.snap b/service/mediapackage/snapshot/api_op_DescribeOriginEndpoint.go.snap index ff56f8fc129..b11b62d34e5 100644 --- a/service/mediapackage/snapshot/api_op_DescribeOriginEndpoint.go.snap +++ b/service/mediapackage/snapshot/api_op_DescribeOriginEndpoint.go.snap @@ -14,7 +14,6 @@ DescribeOriginEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackage/snapshot/api_op_ListChannels.go.snap b/service/mediapackage/snapshot/api_op_ListChannels.go.snap index ba520959789..a6c9b89d3b2 100644 --- a/service/mediapackage/snapshot/api_op_ListChannels.go.snap +++ b/service/mediapackage/snapshot/api_op_ListChannels.go.snap @@ -13,7 +13,6 @@ ListChannels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackage/snapshot/api_op_ListHarvestJobs.go.snap b/service/mediapackage/snapshot/api_op_ListHarvestJobs.go.snap index aa01e87fc50..2a134783565 100644 --- a/service/mediapackage/snapshot/api_op_ListHarvestJobs.go.snap +++ b/service/mediapackage/snapshot/api_op_ListHarvestJobs.go.snap @@ -13,7 +13,6 @@ ListHarvestJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackage/snapshot/api_op_ListOriginEndpoints.go.snap b/service/mediapackage/snapshot/api_op_ListOriginEndpoints.go.snap index d31b15490a1..80f4e5333f4 100644 --- a/service/mediapackage/snapshot/api_op_ListOriginEndpoints.go.snap +++ b/service/mediapackage/snapshot/api_op_ListOriginEndpoints.go.snap @@ -13,7 +13,6 @@ ListOriginEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackage/snapshot/api_op_ListTagsForResource.go.snap b/service/mediapackage/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/mediapackage/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/mediapackage/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackage/snapshot/api_op_RotateChannelCredentials.go.snap b/service/mediapackage/snapshot/api_op_RotateChannelCredentials.go.snap index 322d27e08bb..c43496c1d5a 100644 --- a/service/mediapackage/snapshot/api_op_RotateChannelCredentials.go.snap +++ b/service/mediapackage/snapshot/api_op_RotateChannelCredentials.go.snap @@ -14,7 +14,6 @@ RotateChannelCredentials Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackage/snapshot/api_op_RotateIngestEndpointCredentials.go.snap b/service/mediapackage/snapshot/api_op_RotateIngestEndpointCredentials.go.snap index 189298fa0c1..53ebf535f70 100644 --- a/service/mediapackage/snapshot/api_op_RotateIngestEndpointCredentials.go.snap +++ b/service/mediapackage/snapshot/api_op_RotateIngestEndpointCredentials.go.snap @@ -14,7 +14,6 @@ RotateIngestEndpointCredentials Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackage/snapshot/api_op_TagResource.go.snap b/service/mediapackage/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/mediapackage/snapshot/api_op_TagResource.go.snap +++ b/service/mediapackage/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackage/snapshot/api_op_UntagResource.go.snap b/service/mediapackage/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/mediapackage/snapshot/api_op_UntagResource.go.snap +++ b/service/mediapackage/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackage/snapshot/api_op_UpdateChannel.go.snap b/service/mediapackage/snapshot/api_op_UpdateChannel.go.snap index 4ee65c8c5a7..f4150e2b85f 100644 --- a/service/mediapackage/snapshot/api_op_UpdateChannel.go.snap +++ b/service/mediapackage/snapshot/api_op_UpdateChannel.go.snap @@ -14,7 +14,6 @@ UpdateChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackage/snapshot/api_op_UpdateOriginEndpoint.go.snap b/service/mediapackage/snapshot/api_op_UpdateOriginEndpoint.go.snap index 140e70852ed..a3ddff37b1b 100644 --- a/service/mediapackage/snapshot/api_op_UpdateOriginEndpoint.go.snap +++ b/service/mediapackage/snapshot/api_op_UpdateOriginEndpoint.go.snap @@ -14,7 +14,6 @@ UpdateOriginEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagev2/api_client.go b/service/mediapackagev2/api_client.go index 71e81260093..3d1f89cd0dd 100644 --- a/service/mediapackagev2/api_client.go +++ b/service/mediapackagev2/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/mediapackagev2/api_op_CancelHarvestJob.go b/service/mediapackagev2/api_op_CancelHarvestJob.go index 1140fcc3d79..74cbe48e822 100644 --- a/service/mediapackagev2/api_op_CancelHarvestJob.go +++ b/service/mediapackagev2/api_op_CancelHarvestJob.go @@ -129,9 +129,6 @@ func (c *Client) addOperationCancelHarvestJobMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelHarvestJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagev2/api_op_CreateChannel.go b/service/mediapackagev2/api_op_CreateChannel.go index b3fcfffe792..94bc3d4670c 100644 --- a/service/mediapackagev2/api_op_CreateChannel.go +++ b/service/mediapackagev2/api_op_CreateChannel.go @@ -226,9 +226,6 @@ func (c *Client) addOperationCreateChannelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateChannelMiddleware(stack, options); err != nil { return err } diff --git a/service/mediapackagev2/api_op_CreateChannelGroup.go b/service/mediapackagev2/api_op_CreateChannelGroup.go index 111368e6c82..f5c01ffb703 100644 --- a/service/mediapackagev2/api_op_CreateChannelGroup.go +++ b/service/mediapackagev2/api_op_CreateChannelGroup.go @@ -168,9 +168,6 @@ func (c *Client) addOperationCreateChannelGroupMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateChannelGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/mediapackagev2/api_op_CreateHarvestJob.go b/service/mediapackagev2/api_op_CreateHarvestJob.go index 0a0efc5c4d1..2c1819bd8ae 100644 --- a/service/mediapackagev2/api_op_CreateHarvestJob.go +++ b/service/mediapackagev2/api_op_CreateHarvestJob.go @@ -223,9 +223,6 @@ func (c *Client) addOperationCreateHarvestJobMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateHarvestJobMiddleware(stack, options); err != nil { return err } diff --git a/service/mediapackagev2/api_op_CreateOriginEndpoint.go b/service/mediapackagev2/api_op_CreateOriginEndpoint.go index 5906c32e303..a8dc41ade36 100644 --- a/service/mediapackagev2/api_op_CreateOriginEndpoint.go +++ b/service/mediapackagev2/api_op_CreateOriginEndpoint.go @@ -247,9 +247,6 @@ func (c *Client) addOperationCreateOriginEndpointMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateOriginEndpointMiddleware(stack, options); err != nil { return err } diff --git a/service/mediapackagev2/api_op_DeleteChannel.go b/service/mediapackagev2/api_op_DeleteChannel.go index c3c1bdbc81c..152fb3419d0 100644 --- a/service/mediapackagev2/api_op_DeleteChannel.go +++ b/service/mediapackagev2/api_op_DeleteChannel.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteChannelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagev2/api_op_DeleteChannelGroup.go b/service/mediapackagev2/api_op_DeleteChannelGroup.go index 15e27fef4ff..1b406635579 100644 --- a/service/mediapackagev2/api_op_DeleteChannelGroup.go +++ b/service/mediapackagev2/api_op_DeleteChannelGroup.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteChannelGroupMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteChannelGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagev2/api_op_DeleteChannelPolicy.go b/service/mediapackagev2/api_op_DeleteChannelPolicy.go index 94a59a2e56a..4f885141179 100644 --- a/service/mediapackagev2/api_op_DeleteChannelPolicy.go +++ b/service/mediapackagev2/api_op_DeleteChannelPolicy.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteChannelPolicyMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteChannelPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagev2/api_op_DeleteOriginEndpoint.go b/service/mediapackagev2/api_op_DeleteOriginEndpoint.go index 30d585fb26e..f09b0253859 100644 --- a/service/mediapackagev2/api_op_DeleteOriginEndpoint.go +++ b/service/mediapackagev2/api_op_DeleteOriginEndpoint.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteOriginEndpointMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteOriginEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagev2/api_op_DeleteOriginEndpointPolicy.go b/service/mediapackagev2/api_op_DeleteOriginEndpointPolicy.go index 730762e1bd9..6b5768083b1 100644 --- a/service/mediapackagev2/api_op_DeleteOriginEndpointPolicy.go +++ b/service/mediapackagev2/api_op_DeleteOriginEndpointPolicy.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteOriginEndpointPolicyMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteOriginEndpointPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagev2/api_op_GetChannel.go b/service/mediapackagev2/api_op_GetChannel.go index 467071badc9..8d9f45e4840 100644 --- a/service/mediapackagev2/api_op_GetChannel.go +++ b/service/mediapackagev2/api_op_GetChannel.go @@ -183,9 +183,6 @@ func (c *Client) addOperationGetChannelMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagev2/api_op_GetChannelGroup.go b/service/mediapackagev2/api_op_GetChannelGroup.go index a6151de476f..b0fc208594e 100644 --- a/service/mediapackagev2/api_op_GetChannelGroup.go +++ b/service/mediapackagev2/api_op_GetChannelGroup.go @@ -149,9 +149,6 @@ func (c *Client) addOperationGetChannelGroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetChannelGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagev2/api_op_GetChannelPolicy.go b/service/mediapackagev2/api_op_GetChannelPolicy.go index 9e149964889..1ae7500220d 100644 --- a/service/mediapackagev2/api_op_GetChannelPolicy.go +++ b/service/mediapackagev2/api_op_GetChannelPolicy.go @@ -136,9 +136,6 @@ func (c *Client) addOperationGetChannelPolicyMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetChannelPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagev2/api_op_GetHarvestJob.go b/service/mediapackagev2/api_op_GetHarvestJob.go index 6dcd6673add..f25f43b8530 100644 --- a/service/mediapackagev2/api_op_GetHarvestJob.go +++ b/service/mediapackagev2/api_op_GetHarvestJob.go @@ -200,9 +200,6 @@ func (c *Client) addOperationGetHarvestJobMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetHarvestJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagev2/api_op_GetOriginEndpoint.go b/service/mediapackagev2/api_op_GetOriginEndpoint.go index 66544b65191..701aa473810 100644 --- a/service/mediapackagev2/api_op_GetOriginEndpoint.go +++ b/service/mediapackagev2/api_op_GetOriginEndpoint.go @@ -200,9 +200,6 @@ func (c *Client) addOperationGetOriginEndpointMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetOriginEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagev2/api_op_GetOriginEndpointPolicy.go b/service/mediapackagev2/api_op_GetOriginEndpointPolicy.go index 319119b62ce..cbf709934b2 100644 --- a/service/mediapackagev2/api_op_GetOriginEndpointPolicy.go +++ b/service/mediapackagev2/api_op_GetOriginEndpointPolicy.go @@ -149,9 +149,6 @@ func (c *Client) addOperationGetOriginEndpointPolicyMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetOriginEndpointPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagev2/api_op_ListChannelGroups.go b/service/mediapackagev2/api_op_ListChannelGroups.go index e4f57d37c78..ae0d88068be 100644 --- a/service/mediapackagev2/api_op_ListChannelGroups.go +++ b/service/mediapackagev2/api_op_ListChannelGroups.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListChannelGroupsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChannelGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mediapackagev2/api_op_ListChannels.go b/service/mediapackagev2/api_op_ListChannels.go index 6423a274b62..96ccb415f4b 100644 --- a/service/mediapackagev2/api_op_ListChannels.go +++ b/service/mediapackagev2/api_op_ListChannels.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListChannelsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListChannelsValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagev2/api_op_ListHarvestJobs.go b/service/mediapackagev2/api_op_ListHarvestJobs.go index 3ad4fc754d8..c016117adb8 100644 --- a/service/mediapackagev2/api_op_ListHarvestJobs.go +++ b/service/mediapackagev2/api_op_ListHarvestJobs.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListHarvestJobsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListHarvestJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagev2/api_op_ListOriginEndpoints.go b/service/mediapackagev2/api_op_ListOriginEndpoints.go index c1e450f046c..f24ea5f63a0 100644 --- a/service/mediapackagev2/api_op_ListOriginEndpoints.go +++ b/service/mediapackagev2/api_op_ListOriginEndpoints.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListOriginEndpointsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListOriginEndpointsValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagev2/api_op_ListTagsForResource.go b/service/mediapackagev2/api_op_ListTagsForResource.go index 06d653ce34f..ba3e621a369 100644 --- a/service/mediapackagev2/api_op_ListTagsForResource.go +++ b/service/mediapackagev2/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagev2/api_op_PutChannelPolicy.go b/service/mediapackagev2/api_op_PutChannelPolicy.go index 3da41a7f100..d653a7e3510 100644 --- a/service/mediapackagev2/api_op_PutChannelPolicy.go +++ b/service/mediapackagev2/api_op_PutChannelPolicy.go @@ -122,9 +122,6 @@ func (c *Client) addOperationPutChannelPolicyMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutChannelPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagev2/api_op_PutOriginEndpointPolicy.go b/service/mediapackagev2/api_op_PutOriginEndpointPolicy.go index a2eff1703ac..f30c47e29ca 100644 --- a/service/mediapackagev2/api_op_PutOriginEndpointPolicy.go +++ b/service/mediapackagev2/api_op_PutOriginEndpointPolicy.go @@ -128,9 +128,6 @@ func (c *Client) addOperationPutOriginEndpointPolicyMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutOriginEndpointPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagev2/api_op_TagResource.go b/service/mediapackagev2/api_op_TagResource.go index f770ad0b630..537a1ddccd0 100644 --- a/service/mediapackagev2/api_op_TagResource.go +++ b/service/mediapackagev2/api_op_TagResource.go @@ -122,9 +122,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagev2/api_op_UntagResource.go b/service/mediapackagev2/api_op_UntagResource.go index 90da76e7bb6..86e42ee3301 100644 --- a/service/mediapackagev2/api_op_UntagResource.go +++ b/service/mediapackagev2/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagev2/api_op_UpdateChannel.go b/service/mediapackagev2/api_op_UpdateChannel.go index 2db42c1beed..7a33e437671 100644 --- a/service/mediapackagev2/api_op_UpdateChannel.go +++ b/service/mediapackagev2/api_op_UpdateChannel.go @@ -207,9 +207,6 @@ func (c *Client) addOperationUpdateChannelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagev2/api_op_UpdateChannelGroup.go b/service/mediapackagev2/api_op_UpdateChannelGroup.go index 9e94dcac494..35c1c7b5be8 100644 --- a/service/mediapackagev2/api_op_UpdateChannelGroup.go +++ b/service/mediapackagev2/api_op_UpdateChannelGroup.go @@ -161,9 +161,6 @@ func (c *Client) addOperationUpdateChannelGroupMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateChannelGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagev2/api_op_UpdateOriginEndpoint.go b/service/mediapackagev2/api_op_UpdateOriginEndpoint.go index a4ba7b4dc73..20fc8ef8755 100644 --- a/service/mediapackagev2/api_op_UpdateOriginEndpoint.go +++ b/service/mediapackagev2/api_op_UpdateOriginEndpoint.go @@ -241,9 +241,6 @@ func (c *Client) addOperationUpdateOriginEndpointMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateOriginEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagev2/snapshot/api_op_CancelHarvestJob.go.snap b/service/mediapackagev2/snapshot/api_op_CancelHarvestJob.go.snap index ea84a4a0dfa..b48a6db54dd 100644 --- a/service/mediapackagev2/snapshot/api_op_CancelHarvestJob.go.snap +++ b/service/mediapackagev2/snapshot/api_op_CancelHarvestJob.go.snap @@ -14,7 +14,6 @@ CancelHarvestJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagev2/snapshot/api_op_CreateChannel.go.snap b/service/mediapackagev2/snapshot/api_op_CreateChannel.go.snap index 0c5cdf1ab36..8c2652a4b53 100644 --- a/service/mediapackagev2/snapshot/api_op_CreateChannel.go.snap +++ b/service/mediapackagev2/snapshot/api_op_CreateChannel.go.snap @@ -15,7 +15,6 @@ CreateChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagev2/snapshot/api_op_CreateChannelGroup.go.snap b/service/mediapackagev2/snapshot/api_op_CreateChannelGroup.go.snap index 21686f63556..d695e46c0a8 100644 --- a/service/mediapackagev2/snapshot/api_op_CreateChannelGroup.go.snap +++ b/service/mediapackagev2/snapshot/api_op_CreateChannelGroup.go.snap @@ -15,7 +15,6 @@ CreateChannelGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagev2/snapshot/api_op_CreateHarvestJob.go.snap b/service/mediapackagev2/snapshot/api_op_CreateHarvestJob.go.snap index 0989211cd67..24e58c38f22 100644 --- a/service/mediapackagev2/snapshot/api_op_CreateHarvestJob.go.snap +++ b/service/mediapackagev2/snapshot/api_op_CreateHarvestJob.go.snap @@ -15,7 +15,6 @@ CreateHarvestJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagev2/snapshot/api_op_CreateOriginEndpoint.go.snap b/service/mediapackagev2/snapshot/api_op_CreateOriginEndpoint.go.snap index af2b3ecdde6..479c19de2bc 100644 --- a/service/mediapackagev2/snapshot/api_op_CreateOriginEndpoint.go.snap +++ b/service/mediapackagev2/snapshot/api_op_CreateOriginEndpoint.go.snap @@ -15,7 +15,6 @@ CreateOriginEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagev2/snapshot/api_op_DeleteChannel.go.snap b/service/mediapackagev2/snapshot/api_op_DeleteChannel.go.snap index c5d8eebaca6..ff973c1a071 100644 --- a/service/mediapackagev2/snapshot/api_op_DeleteChannel.go.snap +++ b/service/mediapackagev2/snapshot/api_op_DeleteChannel.go.snap @@ -14,7 +14,6 @@ DeleteChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagev2/snapshot/api_op_DeleteChannelGroup.go.snap b/service/mediapackagev2/snapshot/api_op_DeleteChannelGroup.go.snap index 754a69bceb8..08f8f1a22d7 100644 --- a/service/mediapackagev2/snapshot/api_op_DeleteChannelGroup.go.snap +++ b/service/mediapackagev2/snapshot/api_op_DeleteChannelGroup.go.snap @@ -14,7 +14,6 @@ DeleteChannelGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagev2/snapshot/api_op_DeleteChannelPolicy.go.snap b/service/mediapackagev2/snapshot/api_op_DeleteChannelPolicy.go.snap index ab5bba5987e..777da5d3ed5 100644 --- a/service/mediapackagev2/snapshot/api_op_DeleteChannelPolicy.go.snap +++ b/service/mediapackagev2/snapshot/api_op_DeleteChannelPolicy.go.snap @@ -14,7 +14,6 @@ DeleteChannelPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagev2/snapshot/api_op_DeleteOriginEndpoint.go.snap b/service/mediapackagev2/snapshot/api_op_DeleteOriginEndpoint.go.snap index a3cf55460fe..750a103cded 100644 --- a/service/mediapackagev2/snapshot/api_op_DeleteOriginEndpoint.go.snap +++ b/service/mediapackagev2/snapshot/api_op_DeleteOriginEndpoint.go.snap @@ -14,7 +14,6 @@ DeleteOriginEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagev2/snapshot/api_op_DeleteOriginEndpointPolicy.go.snap b/service/mediapackagev2/snapshot/api_op_DeleteOriginEndpointPolicy.go.snap index dd9073f301a..c494f080419 100644 --- a/service/mediapackagev2/snapshot/api_op_DeleteOriginEndpointPolicy.go.snap +++ b/service/mediapackagev2/snapshot/api_op_DeleteOriginEndpointPolicy.go.snap @@ -14,7 +14,6 @@ DeleteOriginEndpointPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagev2/snapshot/api_op_GetChannel.go.snap b/service/mediapackagev2/snapshot/api_op_GetChannel.go.snap index 470db8f1e77..8a99dcaf3f1 100644 --- a/service/mediapackagev2/snapshot/api_op_GetChannel.go.snap +++ b/service/mediapackagev2/snapshot/api_op_GetChannel.go.snap @@ -14,7 +14,6 @@ GetChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagev2/snapshot/api_op_GetChannelGroup.go.snap b/service/mediapackagev2/snapshot/api_op_GetChannelGroup.go.snap index 3f3ba9c8816..c67a068f0d8 100644 --- a/service/mediapackagev2/snapshot/api_op_GetChannelGroup.go.snap +++ b/service/mediapackagev2/snapshot/api_op_GetChannelGroup.go.snap @@ -14,7 +14,6 @@ GetChannelGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagev2/snapshot/api_op_GetChannelPolicy.go.snap b/service/mediapackagev2/snapshot/api_op_GetChannelPolicy.go.snap index 3b362774d4b..92bfedac144 100644 --- a/service/mediapackagev2/snapshot/api_op_GetChannelPolicy.go.snap +++ b/service/mediapackagev2/snapshot/api_op_GetChannelPolicy.go.snap @@ -14,7 +14,6 @@ GetChannelPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagev2/snapshot/api_op_GetHarvestJob.go.snap b/service/mediapackagev2/snapshot/api_op_GetHarvestJob.go.snap index 606a552f56e..dcc3e669eaa 100644 --- a/service/mediapackagev2/snapshot/api_op_GetHarvestJob.go.snap +++ b/service/mediapackagev2/snapshot/api_op_GetHarvestJob.go.snap @@ -14,7 +14,6 @@ GetHarvestJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagev2/snapshot/api_op_GetOriginEndpoint.go.snap b/service/mediapackagev2/snapshot/api_op_GetOriginEndpoint.go.snap index 22050c915ab..b1ea9cac7cc 100644 --- a/service/mediapackagev2/snapshot/api_op_GetOriginEndpoint.go.snap +++ b/service/mediapackagev2/snapshot/api_op_GetOriginEndpoint.go.snap @@ -14,7 +14,6 @@ GetOriginEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagev2/snapshot/api_op_GetOriginEndpointPolicy.go.snap b/service/mediapackagev2/snapshot/api_op_GetOriginEndpointPolicy.go.snap index fb7960d2ba3..ec1b49cdb44 100644 --- a/service/mediapackagev2/snapshot/api_op_GetOriginEndpointPolicy.go.snap +++ b/service/mediapackagev2/snapshot/api_op_GetOriginEndpointPolicy.go.snap @@ -14,7 +14,6 @@ GetOriginEndpointPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagev2/snapshot/api_op_ListChannelGroups.go.snap b/service/mediapackagev2/snapshot/api_op_ListChannelGroups.go.snap index 6a67ae0d2c4..033ac9e42aa 100644 --- a/service/mediapackagev2/snapshot/api_op_ListChannelGroups.go.snap +++ b/service/mediapackagev2/snapshot/api_op_ListChannelGroups.go.snap @@ -13,7 +13,6 @@ ListChannelGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagev2/snapshot/api_op_ListChannels.go.snap b/service/mediapackagev2/snapshot/api_op_ListChannels.go.snap index ce86206744d..5a0797d47d0 100644 --- a/service/mediapackagev2/snapshot/api_op_ListChannels.go.snap +++ b/service/mediapackagev2/snapshot/api_op_ListChannels.go.snap @@ -14,7 +14,6 @@ ListChannels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagev2/snapshot/api_op_ListHarvestJobs.go.snap b/service/mediapackagev2/snapshot/api_op_ListHarvestJobs.go.snap index 4b49b2a448e..78fa8e0cb2d 100644 --- a/service/mediapackagev2/snapshot/api_op_ListHarvestJobs.go.snap +++ b/service/mediapackagev2/snapshot/api_op_ListHarvestJobs.go.snap @@ -14,7 +14,6 @@ ListHarvestJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagev2/snapshot/api_op_ListOriginEndpoints.go.snap b/service/mediapackagev2/snapshot/api_op_ListOriginEndpoints.go.snap index 1efac376d3c..f921c103ced 100644 --- a/service/mediapackagev2/snapshot/api_op_ListOriginEndpoints.go.snap +++ b/service/mediapackagev2/snapshot/api_op_ListOriginEndpoints.go.snap @@ -14,7 +14,6 @@ ListOriginEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagev2/snapshot/api_op_ListTagsForResource.go.snap b/service/mediapackagev2/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/mediapackagev2/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/mediapackagev2/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagev2/snapshot/api_op_PutChannelPolicy.go.snap b/service/mediapackagev2/snapshot/api_op_PutChannelPolicy.go.snap index bcae2e247b7..f584e8c8640 100644 --- a/service/mediapackagev2/snapshot/api_op_PutChannelPolicy.go.snap +++ b/service/mediapackagev2/snapshot/api_op_PutChannelPolicy.go.snap @@ -14,7 +14,6 @@ PutChannelPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagev2/snapshot/api_op_PutOriginEndpointPolicy.go.snap b/service/mediapackagev2/snapshot/api_op_PutOriginEndpointPolicy.go.snap index d75a43a9a91..83cffb513bc 100644 --- a/service/mediapackagev2/snapshot/api_op_PutOriginEndpointPolicy.go.snap +++ b/service/mediapackagev2/snapshot/api_op_PutOriginEndpointPolicy.go.snap @@ -14,7 +14,6 @@ PutOriginEndpointPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagev2/snapshot/api_op_TagResource.go.snap b/service/mediapackagev2/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/mediapackagev2/snapshot/api_op_TagResource.go.snap +++ b/service/mediapackagev2/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagev2/snapshot/api_op_UntagResource.go.snap b/service/mediapackagev2/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/mediapackagev2/snapshot/api_op_UntagResource.go.snap +++ b/service/mediapackagev2/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagev2/snapshot/api_op_UpdateChannel.go.snap b/service/mediapackagev2/snapshot/api_op_UpdateChannel.go.snap index 4ee65c8c5a7..f4150e2b85f 100644 --- a/service/mediapackagev2/snapshot/api_op_UpdateChannel.go.snap +++ b/service/mediapackagev2/snapshot/api_op_UpdateChannel.go.snap @@ -14,7 +14,6 @@ UpdateChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagev2/snapshot/api_op_UpdateChannelGroup.go.snap b/service/mediapackagev2/snapshot/api_op_UpdateChannelGroup.go.snap index 8d57c41bc0a..77d22a5d9b6 100644 --- a/service/mediapackagev2/snapshot/api_op_UpdateChannelGroup.go.snap +++ b/service/mediapackagev2/snapshot/api_op_UpdateChannelGroup.go.snap @@ -14,7 +14,6 @@ UpdateChannelGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagev2/snapshot/api_op_UpdateOriginEndpoint.go.snap b/service/mediapackagev2/snapshot/api_op_UpdateOriginEndpoint.go.snap index 140e70852ed..a3ddff37b1b 100644 --- a/service/mediapackagev2/snapshot/api_op_UpdateOriginEndpoint.go.snap +++ b/service/mediapackagev2/snapshot/api_op_UpdateOriginEndpoint.go.snap @@ -14,7 +14,6 @@ UpdateOriginEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagevod/api_client.go b/service/mediapackagevod/api_client.go index 53de1f5b2a5..0810b217cee 100644 --- a/service/mediapackagevod/api_client.go +++ b/service/mediapackagevod/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/mediapackagevod/api_op_ConfigureLogs.go b/service/mediapackagevod/api_op_ConfigureLogs.go index ddb4d45f25e..2f31653f3ff 100644 --- a/service/mediapackagevod/api_op_ConfigureLogs.go +++ b/service/mediapackagevod/api_op_ConfigureLogs.go @@ -134,9 +134,6 @@ func (c *Client) addOperationConfigureLogsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpConfigureLogsValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagevod/api_op_CreateAsset.go b/service/mediapackagevod/api_op_CreateAsset.go index 19cf4d15cc5..174a78c6598 100644 --- a/service/mediapackagevod/api_op_CreateAsset.go +++ b/service/mediapackagevod/api_op_CreateAsset.go @@ -158,9 +158,6 @@ func (c *Client) addOperationCreateAssetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAssetValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagevod/api_op_CreatePackagingConfiguration.go b/service/mediapackagevod/api_op_CreatePackagingConfiguration.go index 02ed6bf6dba..26c7e79a3ab 100644 --- a/service/mediapackagevod/api_op_CreatePackagingConfiguration.go +++ b/service/mediapackagevod/api_op_CreatePackagingConfiguration.go @@ -157,9 +157,6 @@ func (c *Client) addOperationCreatePackagingConfigurationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePackagingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagevod/api_op_CreatePackagingGroup.go b/service/mediapackagevod/api_op_CreatePackagingGroup.go index 9e308abfd74..7c87f99b6ac 100644 --- a/service/mediapackagevod/api_op_CreatePackagingGroup.go +++ b/service/mediapackagevod/api_op_CreatePackagingGroup.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreatePackagingGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePackagingGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagevod/api_op_DeleteAsset.go b/service/mediapackagevod/api_op_DeleteAsset.go index eb8590e984a..c78a3cca85d 100644 --- a/service/mediapackagevod/api_op_DeleteAsset.go +++ b/service/mediapackagevod/api_op_DeleteAsset.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteAssetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAssetValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagevod/api_op_DeletePackagingConfiguration.go b/service/mediapackagevod/api_op_DeletePackagingConfiguration.go index c03f41af2a3..da7ede5fe3a 100644 --- a/service/mediapackagevod/api_op_DeletePackagingConfiguration.go +++ b/service/mediapackagevod/api_op_DeletePackagingConfiguration.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeletePackagingConfigurationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePackagingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagevod/api_op_DeletePackagingGroup.go b/service/mediapackagevod/api_op_DeletePackagingGroup.go index 8b764e41a09..85222c93cb1 100644 --- a/service/mediapackagevod/api_op_DeletePackagingGroup.go +++ b/service/mediapackagevod/api_op_DeletePackagingGroup.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeletePackagingGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePackagingGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagevod/api_op_DescribeAsset.go b/service/mediapackagevod/api_op_DescribeAsset.go index 7dff20da2dd..7c4b5ae45e9 100644 --- a/service/mediapackagevod/api_op_DescribeAsset.go +++ b/service/mediapackagevod/api_op_DescribeAsset.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribeAssetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAssetValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagevod/api_op_DescribePackagingConfiguration.go b/service/mediapackagevod/api_op_DescribePackagingConfiguration.go index 52ad160bc22..c7b99651dbc 100644 --- a/service/mediapackagevod/api_op_DescribePackagingConfiguration.go +++ b/service/mediapackagevod/api_op_DescribePackagingConfiguration.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribePackagingConfigurationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePackagingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagevod/api_op_DescribePackagingGroup.go b/service/mediapackagevod/api_op_DescribePackagingGroup.go index 1fb42338e1d..beccee388e9 100644 --- a/service/mediapackagevod/api_op_DescribePackagingGroup.go +++ b/service/mediapackagevod/api_op_DescribePackagingGroup.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribePackagingGroupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePackagingGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagevod/api_op_ListAssets.go b/service/mediapackagevod/api_op_ListAssets.go index b623dba8450..a90d890420f 100644 --- a/service/mediapackagevod/api_op_ListAssets.go +++ b/service/mediapackagevod/api_op_ListAssets.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListAssetsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mediapackagevod/api_op_ListPackagingConfigurations.go b/service/mediapackagevod/api_op_ListPackagingConfigurations.go index 320a30ea7b9..7a6a3376d23 100644 --- a/service/mediapackagevod/api_op_ListPackagingConfigurations.go +++ b/service/mediapackagevod/api_op_ListPackagingConfigurations.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListPackagingConfigurationsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPackagingConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mediapackagevod/api_op_ListPackagingGroups.go b/service/mediapackagevod/api_op_ListPackagingGroups.go index 9cad4308fb9..e629adc478a 100644 --- a/service/mediapackagevod/api_op_ListPackagingGroups.go +++ b/service/mediapackagevod/api_op_ListPackagingGroups.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListPackagingGroupsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPackagingGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mediapackagevod/api_op_ListTagsForResource.go b/service/mediapackagevod/api_op_ListTagsForResource.go index 9cb9eb328e4..5c59b734092 100644 --- a/service/mediapackagevod/api_op_ListTagsForResource.go +++ b/service/mediapackagevod/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagevod/api_op_TagResource.go b/service/mediapackagevod/api_op_TagResource.go index 929b5e6bb14..8b6fea1f1ef 100644 --- a/service/mediapackagevod/api_op_TagResource.go +++ b/service/mediapackagevod/api_op_TagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagevod/api_op_UntagResource.go b/service/mediapackagevod/api_op_UntagResource.go index 1347c9e9478..17187268142 100644 --- a/service/mediapackagevod/api_op_UntagResource.go +++ b/service/mediapackagevod/api_op_UntagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagevod/api_op_UpdatePackagingGroup.go b/service/mediapackagevod/api_op_UpdatePackagingGroup.go index e7276680238..16176440957 100644 --- a/service/mediapackagevod/api_op_UpdatePackagingGroup.go +++ b/service/mediapackagevod/api_op_UpdatePackagingGroup.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdatePackagingGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePackagingGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediapackagevod/snapshot/api_op_ConfigureLogs.go.snap b/service/mediapackagevod/snapshot/api_op_ConfigureLogs.go.snap index 5c57717d1a5..c43b5466b0b 100644 --- a/service/mediapackagevod/snapshot/api_op_ConfigureLogs.go.snap +++ b/service/mediapackagevod/snapshot/api_op_ConfigureLogs.go.snap @@ -14,7 +14,6 @@ ConfigureLogs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagevod/snapshot/api_op_CreateAsset.go.snap b/service/mediapackagevod/snapshot/api_op_CreateAsset.go.snap index 45602b53341..5057f091cb8 100644 --- a/service/mediapackagevod/snapshot/api_op_CreateAsset.go.snap +++ b/service/mediapackagevod/snapshot/api_op_CreateAsset.go.snap @@ -14,7 +14,6 @@ CreateAsset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagevod/snapshot/api_op_CreatePackagingConfiguration.go.snap b/service/mediapackagevod/snapshot/api_op_CreatePackagingConfiguration.go.snap index 1bb8213e468..65c023b8d2a 100644 --- a/service/mediapackagevod/snapshot/api_op_CreatePackagingConfiguration.go.snap +++ b/service/mediapackagevod/snapshot/api_op_CreatePackagingConfiguration.go.snap @@ -14,7 +14,6 @@ CreatePackagingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagevod/snapshot/api_op_CreatePackagingGroup.go.snap b/service/mediapackagevod/snapshot/api_op_CreatePackagingGroup.go.snap index 546073b14d5..af83d9cb3d4 100644 --- a/service/mediapackagevod/snapshot/api_op_CreatePackagingGroup.go.snap +++ b/service/mediapackagevod/snapshot/api_op_CreatePackagingGroup.go.snap @@ -14,7 +14,6 @@ CreatePackagingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagevod/snapshot/api_op_DeleteAsset.go.snap b/service/mediapackagevod/snapshot/api_op_DeleteAsset.go.snap index b3fc5112fcd..d6e666f8120 100644 --- a/service/mediapackagevod/snapshot/api_op_DeleteAsset.go.snap +++ b/service/mediapackagevod/snapshot/api_op_DeleteAsset.go.snap @@ -14,7 +14,6 @@ DeleteAsset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagevod/snapshot/api_op_DeletePackagingConfiguration.go.snap b/service/mediapackagevod/snapshot/api_op_DeletePackagingConfiguration.go.snap index c9f32de9787..2fbc70bf65f 100644 --- a/service/mediapackagevod/snapshot/api_op_DeletePackagingConfiguration.go.snap +++ b/service/mediapackagevod/snapshot/api_op_DeletePackagingConfiguration.go.snap @@ -14,7 +14,6 @@ DeletePackagingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagevod/snapshot/api_op_DeletePackagingGroup.go.snap b/service/mediapackagevod/snapshot/api_op_DeletePackagingGroup.go.snap index 4dee2383fbc..7b8e9390d6b 100644 --- a/service/mediapackagevod/snapshot/api_op_DeletePackagingGroup.go.snap +++ b/service/mediapackagevod/snapshot/api_op_DeletePackagingGroup.go.snap @@ -14,7 +14,6 @@ DeletePackagingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagevod/snapshot/api_op_DescribeAsset.go.snap b/service/mediapackagevod/snapshot/api_op_DescribeAsset.go.snap index cdc93ea7e75..26e972bf06a 100644 --- a/service/mediapackagevod/snapshot/api_op_DescribeAsset.go.snap +++ b/service/mediapackagevod/snapshot/api_op_DescribeAsset.go.snap @@ -14,7 +14,6 @@ DescribeAsset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagevod/snapshot/api_op_DescribePackagingConfiguration.go.snap b/service/mediapackagevod/snapshot/api_op_DescribePackagingConfiguration.go.snap index fec28b1827e..dea5737754b 100644 --- a/service/mediapackagevod/snapshot/api_op_DescribePackagingConfiguration.go.snap +++ b/service/mediapackagevod/snapshot/api_op_DescribePackagingConfiguration.go.snap @@ -14,7 +14,6 @@ DescribePackagingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagevod/snapshot/api_op_DescribePackagingGroup.go.snap b/service/mediapackagevod/snapshot/api_op_DescribePackagingGroup.go.snap index 8bcad5043f7..4439de69e64 100644 --- a/service/mediapackagevod/snapshot/api_op_DescribePackagingGroup.go.snap +++ b/service/mediapackagevod/snapshot/api_op_DescribePackagingGroup.go.snap @@ -14,7 +14,6 @@ DescribePackagingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagevod/snapshot/api_op_ListAssets.go.snap b/service/mediapackagevod/snapshot/api_op_ListAssets.go.snap index 7e4ec409784..609a43a7e12 100644 --- a/service/mediapackagevod/snapshot/api_op_ListAssets.go.snap +++ b/service/mediapackagevod/snapshot/api_op_ListAssets.go.snap @@ -13,7 +13,6 @@ ListAssets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagevod/snapshot/api_op_ListPackagingConfigurations.go.snap b/service/mediapackagevod/snapshot/api_op_ListPackagingConfigurations.go.snap index 805129e22fa..e7250ac7f3c 100644 --- a/service/mediapackagevod/snapshot/api_op_ListPackagingConfigurations.go.snap +++ b/service/mediapackagevod/snapshot/api_op_ListPackagingConfigurations.go.snap @@ -13,7 +13,6 @@ ListPackagingConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagevod/snapshot/api_op_ListPackagingGroups.go.snap b/service/mediapackagevod/snapshot/api_op_ListPackagingGroups.go.snap index 26227f0981f..e5c19d421e0 100644 --- a/service/mediapackagevod/snapshot/api_op_ListPackagingGroups.go.snap +++ b/service/mediapackagevod/snapshot/api_op_ListPackagingGroups.go.snap @@ -13,7 +13,6 @@ ListPackagingGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagevod/snapshot/api_op_ListTagsForResource.go.snap b/service/mediapackagevod/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/mediapackagevod/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/mediapackagevod/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagevod/snapshot/api_op_TagResource.go.snap b/service/mediapackagevod/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/mediapackagevod/snapshot/api_op_TagResource.go.snap +++ b/service/mediapackagevod/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagevod/snapshot/api_op_UntagResource.go.snap b/service/mediapackagevod/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/mediapackagevod/snapshot/api_op_UntagResource.go.snap +++ b/service/mediapackagevod/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediapackagevod/snapshot/api_op_UpdatePackagingGroup.go.snap b/service/mediapackagevod/snapshot/api_op_UpdatePackagingGroup.go.snap index 976dd1c549f..0fb7841fe13 100644 --- a/service/mediapackagevod/snapshot/api_op_UpdatePackagingGroup.go.snap +++ b/service/mediapackagevod/snapshot/api_op_UpdatePackagingGroup.go.snap @@ -14,7 +14,6 @@ UpdatePackagingGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediastore/api_client.go b/service/mediastore/api_client.go index 4e3c8935cd8..ca684bac2ac 100644 --- a/service/mediastore/api_client.go +++ b/service/mediastore/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/mediastore/api_op_CreateContainer.go b/service/mediastore/api_op_CreateContainer.go index 8ccee948627..37a52f5e978 100644 --- a/service/mediastore/api_op_CreateContainer.go +++ b/service/mediastore/api_op_CreateContainer.go @@ -142,9 +142,6 @@ func (c *Client) addOperationCreateContainerMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateContainerValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_DeleteContainer.go b/service/mediastore/api_op_DeleteContainer.go index a45dc09a62d..9e2c5cea159 100644 --- a/service/mediastore/api_op_DeleteContainer.go +++ b/service/mediastore/api_op_DeleteContainer.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteContainerMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteContainerValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_DeleteContainerPolicy.go b/service/mediastore/api_op_DeleteContainerPolicy.go index e53ed0e830a..8e10985c989 100644 --- a/service/mediastore/api_op_DeleteContainerPolicy.go +++ b/service/mediastore/api_op_DeleteContainerPolicy.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteContainerPolicyMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteContainerPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_DeleteCorsPolicy.go b/service/mediastore/api_op_DeleteCorsPolicy.go index 80573e6a044..73630b3a7fc 100644 --- a/service/mediastore/api_op_DeleteCorsPolicy.go +++ b/service/mediastore/api_op_DeleteCorsPolicy.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteCorsPolicyMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCorsPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_DeleteLifecyclePolicy.go b/service/mediastore/api_op_DeleteLifecyclePolicy.go index aef99bef372..ebddc08c63b 100644 --- a/service/mediastore/api_op_DeleteLifecyclePolicy.go +++ b/service/mediastore/api_op_DeleteLifecyclePolicy.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteLifecyclePolicyMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLifecyclePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_DeleteMetricPolicy.go b/service/mediastore/api_op_DeleteMetricPolicy.go index 1b2914281ee..a57eeba01b6 100644 --- a/service/mediastore/api_op_DeleteMetricPolicy.go +++ b/service/mediastore/api_op_DeleteMetricPolicy.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteMetricPolicyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMetricPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_DescribeContainer.go b/service/mediastore/api_op_DescribeContainer.go index b2d6131f8f1..540478534fa 100644 --- a/service/mediastore/api_op_DescribeContainer.go +++ b/service/mediastore/api_op_DescribeContainer.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDescribeContainerMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeContainer(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mediastore/api_op_GetContainerPolicy.go b/service/mediastore/api_op_GetContainerPolicy.go index feefd26bfe0..5f11399b283 100644 --- a/service/mediastore/api_op_GetContainerPolicy.go +++ b/service/mediastore/api_op_GetContainerPolicy.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetContainerPolicyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetContainerPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_GetCorsPolicy.go b/service/mediastore/api_op_GetCorsPolicy.go index d6b34ce87b2..4fb8e6356dd 100644 --- a/service/mediastore/api_op_GetCorsPolicy.go +++ b/service/mediastore/api_op_GetCorsPolicy.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetCorsPolicyMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCorsPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_GetLifecyclePolicy.go b/service/mediastore/api_op_GetLifecyclePolicy.go index 577b58c81e6..0e408a013c3 100644 --- a/service/mediastore/api_op_GetLifecyclePolicy.go +++ b/service/mediastore/api_op_GetLifecyclePolicy.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetLifecyclePolicyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLifecyclePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_GetMetricPolicy.go b/service/mediastore/api_op_GetMetricPolicy.go index b968e0abda8..973be50c550 100644 --- a/service/mediastore/api_op_GetMetricPolicy.go +++ b/service/mediastore/api_op_GetMetricPolicy.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetMetricPolicyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMetricPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_ListContainers.go b/service/mediastore/api_op_ListContainers.go index 2f400f18204..87250be8fea 100644 --- a/service/mediastore/api_op_ListContainers.go +++ b/service/mediastore/api_op_ListContainers.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListContainersMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListContainers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mediastore/api_op_ListTagsForResource.go b/service/mediastore/api_op_ListTagsForResource.go index 41324406c10..84dec009b52 100644 --- a/service/mediastore/api_op_ListTagsForResource.go +++ b/service/mediastore/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_PutContainerPolicy.go b/service/mediastore/api_op_PutContainerPolicy.go index d5994814fa8..b3436351f4e 100644 --- a/service/mediastore/api_op_PutContainerPolicy.go +++ b/service/mediastore/api_op_PutContainerPolicy.go @@ -124,9 +124,6 @@ func (c *Client) addOperationPutContainerPolicyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutContainerPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_PutCorsPolicy.go b/service/mediastore/api_op_PutCorsPolicy.go index b9ebe77782b..eb3dcdbc7ef 100644 --- a/service/mediastore/api_op_PutCorsPolicy.go +++ b/service/mediastore/api_op_PutCorsPolicy.go @@ -127,9 +127,6 @@ func (c *Client) addOperationPutCorsPolicyMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutCorsPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_PutLifecyclePolicy.go b/service/mediastore/api_op_PutLifecyclePolicy.go index b85c769ba87..28ee18af7b8 100644 --- a/service/mediastore/api_op_PutLifecyclePolicy.go +++ b/service/mediastore/api_op_PutLifecyclePolicy.go @@ -119,9 +119,6 @@ func (c *Client) addOperationPutLifecyclePolicyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutLifecyclePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_PutMetricPolicy.go b/service/mediastore/api_op_PutMetricPolicy.go index 1de7606816b..9ab139372d6 100644 --- a/service/mediastore/api_op_PutMetricPolicy.go +++ b/service/mediastore/api_op_PutMetricPolicy.go @@ -129,9 +129,6 @@ func (c *Client) addOperationPutMetricPolicyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutMetricPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_StartAccessLogging.go b/service/mediastore/api_op_StartAccessLogging.go index 03f8ecd5205..da326eee6aa 100644 --- a/service/mediastore/api_op_StartAccessLogging.go +++ b/service/mediastore/api_op_StartAccessLogging.go @@ -109,9 +109,6 @@ func (c *Client) addOperationStartAccessLoggingMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartAccessLoggingValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_StopAccessLogging.go b/service/mediastore/api_op_StopAccessLogging.go index 7f8fbda03ab..29edf479f8e 100644 --- a/service/mediastore/api_op_StopAccessLogging.go +++ b/service/mediastore/api_op_StopAccessLogging.go @@ -109,9 +109,6 @@ func (c *Client) addOperationStopAccessLoggingMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopAccessLoggingValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_TagResource.go b/service/mediastore/api_op_TagResource.go index 71821d7e33a..34a0abebccd 100644 --- a/service/mediastore/api_op_TagResource.go +++ b/service/mediastore/api_op_TagResource.go @@ -126,9 +126,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/api_op_UntagResource.go b/service/mediastore/api_op_UntagResource.go index 8a63b6c1544..d60741866ac 100644 --- a/service/mediastore/api_op_UntagResource.go +++ b/service/mediastore/api_op_UntagResource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediastore/snapshot/api_op_CreateContainer.go.snap b/service/mediastore/snapshot/api_op_CreateContainer.go.snap index c313379c871..29d882f953b 100644 --- a/service/mediastore/snapshot/api_op_CreateContainer.go.snap +++ b/service/mediastore/snapshot/api_op_CreateContainer.go.snap @@ -14,7 +14,6 @@ CreateContainer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediastore/snapshot/api_op_DeleteContainer.go.snap b/service/mediastore/snapshot/api_op_DeleteContainer.go.snap index 967be91f708..29e658383ae 100644 --- a/service/mediastore/snapshot/api_op_DeleteContainer.go.snap +++ b/service/mediastore/snapshot/api_op_DeleteContainer.go.snap @@ -14,7 +14,6 @@ DeleteContainer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediastore/snapshot/api_op_DeleteContainerPolicy.go.snap b/service/mediastore/snapshot/api_op_DeleteContainerPolicy.go.snap index 6d11a44db60..95c152db7a4 100644 --- a/service/mediastore/snapshot/api_op_DeleteContainerPolicy.go.snap +++ b/service/mediastore/snapshot/api_op_DeleteContainerPolicy.go.snap @@ -14,7 +14,6 @@ DeleteContainerPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediastore/snapshot/api_op_DeleteCorsPolicy.go.snap b/service/mediastore/snapshot/api_op_DeleteCorsPolicy.go.snap index af1c9522d88..42e2b4355c6 100644 --- a/service/mediastore/snapshot/api_op_DeleteCorsPolicy.go.snap +++ b/service/mediastore/snapshot/api_op_DeleteCorsPolicy.go.snap @@ -14,7 +14,6 @@ DeleteCorsPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediastore/snapshot/api_op_DeleteLifecyclePolicy.go.snap b/service/mediastore/snapshot/api_op_DeleteLifecyclePolicy.go.snap index aba59434b8b..fe2afb7dac7 100644 --- a/service/mediastore/snapshot/api_op_DeleteLifecyclePolicy.go.snap +++ b/service/mediastore/snapshot/api_op_DeleteLifecyclePolicy.go.snap @@ -14,7 +14,6 @@ DeleteLifecyclePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediastore/snapshot/api_op_DeleteMetricPolicy.go.snap b/service/mediastore/snapshot/api_op_DeleteMetricPolicy.go.snap index bf83962fade..995bf63dd70 100644 --- a/service/mediastore/snapshot/api_op_DeleteMetricPolicy.go.snap +++ b/service/mediastore/snapshot/api_op_DeleteMetricPolicy.go.snap @@ -14,7 +14,6 @@ DeleteMetricPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediastore/snapshot/api_op_DescribeContainer.go.snap b/service/mediastore/snapshot/api_op_DescribeContainer.go.snap index ca186edeb9d..9f305a98a47 100644 --- a/service/mediastore/snapshot/api_op_DescribeContainer.go.snap +++ b/service/mediastore/snapshot/api_op_DescribeContainer.go.snap @@ -13,7 +13,6 @@ DescribeContainer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediastore/snapshot/api_op_GetContainerPolicy.go.snap b/service/mediastore/snapshot/api_op_GetContainerPolicy.go.snap index 6cb8c38e9b1..36d9757fdf2 100644 --- a/service/mediastore/snapshot/api_op_GetContainerPolicy.go.snap +++ b/service/mediastore/snapshot/api_op_GetContainerPolicy.go.snap @@ -14,7 +14,6 @@ GetContainerPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediastore/snapshot/api_op_GetCorsPolicy.go.snap b/service/mediastore/snapshot/api_op_GetCorsPolicy.go.snap index baa2bc0ec10..09e6ab24c0a 100644 --- a/service/mediastore/snapshot/api_op_GetCorsPolicy.go.snap +++ b/service/mediastore/snapshot/api_op_GetCorsPolicy.go.snap @@ -14,7 +14,6 @@ GetCorsPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediastore/snapshot/api_op_GetLifecyclePolicy.go.snap b/service/mediastore/snapshot/api_op_GetLifecyclePolicy.go.snap index d6545bfa017..4b0e5f0b1b7 100644 --- a/service/mediastore/snapshot/api_op_GetLifecyclePolicy.go.snap +++ b/service/mediastore/snapshot/api_op_GetLifecyclePolicy.go.snap @@ -14,7 +14,6 @@ GetLifecyclePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediastore/snapshot/api_op_GetMetricPolicy.go.snap b/service/mediastore/snapshot/api_op_GetMetricPolicy.go.snap index 048bbbe716b..402adf39c60 100644 --- a/service/mediastore/snapshot/api_op_GetMetricPolicy.go.snap +++ b/service/mediastore/snapshot/api_op_GetMetricPolicy.go.snap @@ -14,7 +14,6 @@ GetMetricPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediastore/snapshot/api_op_ListContainers.go.snap b/service/mediastore/snapshot/api_op_ListContainers.go.snap index 6b6402351d9..739db5e256a 100644 --- a/service/mediastore/snapshot/api_op_ListContainers.go.snap +++ b/service/mediastore/snapshot/api_op_ListContainers.go.snap @@ -13,7 +13,6 @@ ListContainers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediastore/snapshot/api_op_ListTagsForResource.go.snap b/service/mediastore/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/mediastore/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/mediastore/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediastore/snapshot/api_op_PutContainerPolicy.go.snap b/service/mediastore/snapshot/api_op_PutContainerPolicy.go.snap index 2c2bf148fba..c8c0acc4c3b 100644 --- a/service/mediastore/snapshot/api_op_PutContainerPolicy.go.snap +++ b/service/mediastore/snapshot/api_op_PutContainerPolicy.go.snap @@ -14,7 +14,6 @@ PutContainerPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediastore/snapshot/api_op_PutCorsPolicy.go.snap b/service/mediastore/snapshot/api_op_PutCorsPolicy.go.snap index d6bba7917e8..c5ebde3aa6a 100644 --- a/service/mediastore/snapshot/api_op_PutCorsPolicy.go.snap +++ b/service/mediastore/snapshot/api_op_PutCorsPolicy.go.snap @@ -14,7 +14,6 @@ PutCorsPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediastore/snapshot/api_op_PutLifecyclePolicy.go.snap b/service/mediastore/snapshot/api_op_PutLifecyclePolicy.go.snap index de1606852e1..a609121a5f0 100644 --- a/service/mediastore/snapshot/api_op_PutLifecyclePolicy.go.snap +++ b/service/mediastore/snapshot/api_op_PutLifecyclePolicy.go.snap @@ -14,7 +14,6 @@ PutLifecyclePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediastore/snapshot/api_op_PutMetricPolicy.go.snap b/service/mediastore/snapshot/api_op_PutMetricPolicy.go.snap index fa3dd5065f7..e840b2ef06b 100644 --- a/service/mediastore/snapshot/api_op_PutMetricPolicy.go.snap +++ b/service/mediastore/snapshot/api_op_PutMetricPolicy.go.snap @@ -14,7 +14,6 @@ PutMetricPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediastore/snapshot/api_op_StartAccessLogging.go.snap b/service/mediastore/snapshot/api_op_StartAccessLogging.go.snap index 86cd30cf4d6..2c98b2a2a3c 100644 --- a/service/mediastore/snapshot/api_op_StartAccessLogging.go.snap +++ b/service/mediastore/snapshot/api_op_StartAccessLogging.go.snap @@ -14,7 +14,6 @@ StartAccessLogging Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediastore/snapshot/api_op_StopAccessLogging.go.snap b/service/mediastore/snapshot/api_op_StopAccessLogging.go.snap index b190091b7c9..099e7c885cf 100644 --- a/service/mediastore/snapshot/api_op_StopAccessLogging.go.snap +++ b/service/mediastore/snapshot/api_op_StopAccessLogging.go.snap @@ -14,7 +14,6 @@ StopAccessLogging Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediastore/snapshot/api_op_TagResource.go.snap b/service/mediastore/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/mediastore/snapshot/api_op_TagResource.go.snap +++ b/service/mediastore/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediastore/snapshot/api_op_UntagResource.go.snap b/service/mediastore/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/mediastore/snapshot/api_op_UntagResource.go.snap +++ b/service/mediastore/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediastoredata/api_client.go b/service/mediastoredata/api_client.go index ba555fc8486..8bd447130fe 100644 --- a/service/mediastoredata/api_client.go +++ b/service/mediastoredata/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/mediastoredata/api_op_DeleteObject.go b/service/mediastoredata/api_op_DeleteObject.go index 3d81867e645..bdf68b4ba42 100644 --- a/service/mediastoredata/api_op_DeleteObject.go +++ b/service/mediastoredata/api_op_DeleteObject.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteObjectMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteObjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediastoredata/api_op_DescribeObject.go b/service/mediastoredata/api_op_DescribeObject.go index e3e72b211de..2ffa85aebce 100644 --- a/service/mediastoredata/api_op_DescribeObject.go +++ b/service/mediastoredata/api_op_DescribeObject.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeObjectMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeObjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediastoredata/api_op_GetObject.go b/service/mediastoredata/api_op_GetObject.go index 6c45122ca69..631506129a7 100644 --- a/service/mediastoredata/api_op_GetObject.go +++ b/service/mediastoredata/api_op_GetObject.go @@ -171,9 +171,6 @@ func (c *Client) addOperationGetObjectMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetObjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediastoredata/api_op_ListItems.go b/service/mediastoredata/api_op_ListItems.go index e6b10434026..249ae8dd232 100644 --- a/service/mediastoredata/api_op_ListItems.go +++ b/service/mediastoredata/api_op_ListItems.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListItemsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListItems(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mediastoredata/api_op_PutObject.go b/service/mediastoredata/api_op_PutObject.go index 9ded4fdc4ac..76147fabe1d 100644 --- a/service/mediastoredata/api_op_PutObject.go +++ b/service/mediastoredata/api_op_PutObject.go @@ -177,9 +177,6 @@ func (c *Client) addOperationPutObjectMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutObjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediastoredata/snapshot/api_op_DeleteObject.go.snap b/service/mediastoredata/snapshot/api_op_DeleteObject.go.snap index f77ca139f8b..7505db786ec 100644 --- a/service/mediastoredata/snapshot/api_op_DeleteObject.go.snap +++ b/service/mediastoredata/snapshot/api_op_DeleteObject.go.snap @@ -14,7 +14,6 @@ DeleteObject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediastoredata/snapshot/api_op_DescribeObject.go.snap b/service/mediastoredata/snapshot/api_op_DescribeObject.go.snap index 91cb74f38de..c40ea769f9d 100644 --- a/service/mediastoredata/snapshot/api_op_DescribeObject.go.snap +++ b/service/mediastoredata/snapshot/api_op_DescribeObject.go.snap @@ -14,7 +14,6 @@ DescribeObject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediastoredata/snapshot/api_op_GetObject.go.snap b/service/mediastoredata/snapshot/api_op_GetObject.go.snap index d54d4483665..cdafc09fce2 100644 --- a/service/mediastoredata/snapshot/api_op_GetObject.go.snap +++ b/service/mediastoredata/snapshot/api_op_GetObject.go.snap @@ -14,7 +14,6 @@ GetObject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediastoredata/snapshot/api_op_ListItems.go.snap b/service/mediastoredata/snapshot/api_op_ListItems.go.snap index 2e608886cb7..e45be738e39 100644 --- a/service/mediastoredata/snapshot/api_op_ListItems.go.snap +++ b/service/mediastoredata/snapshot/api_op_ListItems.go.snap @@ -13,7 +13,6 @@ ListItems Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediastoredata/snapshot/api_op_PutObject.go.snap b/service/mediastoredata/snapshot/api_op_PutObject.go.snap index c06d3654665..eea74f7af00 100644 --- a/service/mediastoredata/snapshot/api_op_PutObject.go.snap +++ b/service/mediastoredata/snapshot/api_op_PutObject.go.snap @@ -14,7 +14,6 @@ PutObject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/api_client.go b/service/mediatailor/api_client.go index 9a545fcb97a..f59e335390d 100644 --- a/service/mediatailor/api_client.go +++ b/service/mediatailor/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/mediatailor/api_op_ConfigureLogsForChannel.go b/service/mediatailor/api_op_ConfigureLogsForChannel.go index 19a42972a9a..4dc9681889e 100644 --- a/service/mediatailor/api_op_ConfigureLogsForChannel.go +++ b/service/mediatailor/api_op_ConfigureLogsForChannel.go @@ -120,9 +120,6 @@ func (c *Client) addOperationConfigureLogsForChannelMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpConfigureLogsForChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_ConfigureLogsForPlaybackConfiguration.go b/service/mediatailor/api_op_ConfigureLogsForPlaybackConfiguration.go index 77c9bf8afa5..a2305bb888f 100644 --- a/service/mediatailor/api_op_ConfigureLogsForPlaybackConfiguration.go +++ b/service/mediatailor/api_op_ConfigureLogsForPlaybackConfiguration.go @@ -155,9 +155,6 @@ func (c *Client) addOperationConfigureLogsForPlaybackConfigurationMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpConfigureLogsForPlaybackConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_CreateChannel.go b/service/mediatailor/api_op_CreateChannel.go index 9da91f052cc..94508e09c70 100644 --- a/service/mediatailor/api_op_CreateChannel.go +++ b/service/mediatailor/api_op_CreateChannel.go @@ -192,9 +192,6 @@ func (c *Client) addOperationCreateChannelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_CreateLiveSource.go b/service/mediatailor/api_op_CreateLiveSource.go index 58f911b75ea..000d563b4d0 100644 --- a/service/mediatailor/api_op_CreateLiveSource.go +++ b/service/mediatailor/api_op_CreateLiveSource.go @@ -152,9 +152,6 @@ func (c *Client) addOperationCreateLiveSourceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLiveSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_CreatePrefetchSchedule.go b/service/mediatailor/api_op_CreatePrefetchSchedule.go index 100092e9136..6ae7bce8fd2 100644 --- a/service/mediatailor/api_op_CreatePrefetchSchedule.go +++ b/service/mediatailor/api_op_CreatePrefetchSchedule.go @@ -168,9 +168,6 @@ func (c *Client) addOperationCreatePrefetchScheduleMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePrefetchScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_CreateProgram.go b/service/mediatailor/api_op_CreateProgram.go index 3b0c52ce0fe..6b7d55c0ba3 100644 --- a/service/mediatailor/api_op_CreateProgram.go +++ b/service/mediatailor/api_op_CreateProgram.go @@ -176,9 +176,6 @@ func (c *Client) addOperationCreateProgramMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateProgramValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_CreateSourceLocation.go b/service/mediatailor/api_op_CreateSourceLocation.go index 66c9c16b00e..a5432ee9378 100644 --- a/service/mediatailor/api_op_CreateSourceLocation.go +++ b/service/mediatailor/api_op_CreateSourceLocation.go @@ -170,9 +170,6 @@ func (c *Client) addOperationCreateSourceLocationMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSourceLocationValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_CreateVodSource.go b/service/mediatailor/api_op_CreateVodSource.go index 682d1bdcf4b..1df5c7ff0ac 100644 --- a/service/mediatailor/api_op_CreateVodSource.go +++ b/service/mediatailor/api_op_CreateVodSource.go @@ -152,9 +152,6 @@ func (c *Client) addOperationCreateVodSourceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVodSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_DeleteChannel.go b/service/mediatailor/api_op_DeleteChannel.go index 977c808ad13..64d94e80364 100644 --- a/service/mediatailor/api_op_DeleteChannel.go +++ b/service/mediatailor/api_op_DeleteChannel.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteChannelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_DeleteChannelPolicy.go b/service/mediatailor/api_op_DeleteChannelPolicy.go index 602bcb99e40..b1e559fa3f6 100644 --- a/service/mediatailor/api_op_DeleteChannelPolicy.go +++ b/service/mediatailor/api_op_DeleteChannelPolicy.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteChannelPolicyMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteChannelPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_DeleteLiveSource.go b/service/mediatailor/api_op_DeleteLiveSource.go index d3954fe3b5e..2d68bb38ac5 100644 --- a/service/mediatailor/api_op_DeleteLiveSource.go +++ b/service/mediatailor/api_op_DeleteLiveSource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteLiveSourceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLiveSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_DeletePlaybackConfiguration.go b/service/mediatailor/api_op_DeletePlaybackConfiguration.go index 3c21da0eae3..b64ac53adaf 100644 --- a/service/mediatailor/api_op_DeletePlaybackConfiguration.go +++ b/service/mediatailor/api_op_DeletePlaybackConfiguration.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeletePlaybackConfigurationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePlaybackConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_DeletePrefetchSchedule.go b/service/mediatailor/api_op_DeletePrefetchSchedule.go index d819dd3049b..8d05e3eb695 100644 --- a/service/mediatailor/api_op_DeletePrefetchSchedule.go +++ b/service/mediatailor/api_op_DeletePrefetchSchedule.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeletePrefetchScheduleMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePrefetchScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_DeleteProgram.go b/service/mediatailor/api_op_DeleteProgram.go index bf1fe3d3067..61a5a48f799 100644 --- a/service/mediatailor/api_op_DeleteProgram.go +++ b/service/mediatailor/api_op_DeleteProgram.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteProgramMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProgramValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_DeleteSourceLocation.go b/service/mediatailor/api_op_DeleteSourceLocation.go index 702406bc606..8dcd261ccfc 100644 --- a/service/mediatailor/api_op_DeleteSourceLocation.go +++ b/service/mediatailor/api_op_DeleteSourceLocation.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteSourceLocationMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSourceLocationValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_DeleteVodSource.go b/service/mediatailor/api_op_DeleteVodSource.go index da8bb358be4..e04830445a6 100644 --- a/service/mediatailor/api_op_DeleteVodSource.go +++ b/service/mediatailor/api_op_DeleteVodSource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteVodSourceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVodSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_DescribeChannel.go b/service/mediatailor/api_op_DescribeChannel.go index ec832605927..61cb4bada7a 100644 --- a/service/mediatailor/api_op_DescribeChannel.go +++ b/service/mediatailor/api_op_DescribeChannel.go @@ -159,9 +159,6 @@ func (c *Client) addOperationDescribeChannelMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_DescribeLiveSource.go b/service/mediatailor/api_op_DescribeLiveSource.go index 902595a3f49..e0148917e2b 100644 --- a/service/mediatailor/api_op_DescribeLiveSource.go +++ b/service/mediatailor/api_op_DescribeLiveSource.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDescribeLiveSourceMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeLiveSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_DescribeProgram.go b/service/mediatailor/api_op_DescribeProgram.go index a0146402364..b334b088df5 100644 --- a/service/mediatailor/api_op_DescribeProgram.go +++ b/service/mediatailor/api_op_DescribeProgram.go @@ -156,9 +156,6 @@ func (c *Client) addOperationDescribeProgramMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeProgramValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_DescribeSourceLocation.go b/service/mediatailor/api_op_DescribeSourceLocation.go index 0d31902a96c..2025a29ceaf 100644 --- a/service/mediatailor/api_op_DescribeSourceLocation.go +++ b/service/mediatailor/api_op_DescribeSourceLocation.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDescribeSourceLocationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSourceLocationValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_DescribeVodSource.go b/service/mediatailor/api_op_DescribeVodSource.go index 4baefae910d..c93177d3678 100644 --- a/service/mediatailor/api_op_DescribeVodSource.go +++ b/service/mediatailor/api_op_DescribeVodSource.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDescribeVodSourceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeVodSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_GetChannelPolicy.go b/service/mediatailor/api_op_GetChannelPolicy.go index 0a7d16fec08..1e23ab879b7 100644 --- a/service/mediatailor/api_op_GetChannelPolicy.go +++ b/service/mediatailor/api_op_GetChannelPolicy.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetChannelPolicyMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetChannelPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_GetChannelSchedule.go b/service/mediatailor/api_op_GetChannelSchedule.go index eb266234c6d..14ed50bf54d 100644 --- a/service/mediatailor/api_op_GetChannelSchedule.go +++ b/service/mediatailor/api_op_GetChannelSchedule.go @@ -140,9 +140,6 @@ func (c *Client) addOperationGetChannelScheduleMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetChannelScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_GetPlaybackConfiguration.go b/service/mediatailor/api_op_GetPlaybackConfiguration.go index 9f2a33deda7..8f1401d4a7f 100644 --- a/service/mediatailor/api_op_GetPlaybackConfiguration.go +++ b/service/mediatailor/api_op_GetPlaybackConfiguration.go @@ -221,9 +221,6 @@ func (c *Client) addOperationGetPlaybackConfigurationMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPlaybackConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_GetPrefetchSchedule.go b/service/mediatailor/api_op_GetPrefetchSchedule.go index 0fc3840bec8..a3e95fdb543 100644 --- a/service/mediatailor/api_op_GetPrefetchSchedule.go +++ b/service/mediatailor/api_op_GetPrefetchSchedule.go @@ -146,9 +146,6 @@ func (c *Client) addOperationGetPrefetchScheduleMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPrefetchScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_ListAlerts.go b/service/mediatailor/api_op_ListAlerts.go index f6a3f8181da..81e935aabf6 100644 --- a/service/mediatailor/api_op_ListAlerts.go +++ b/service/mediatailor/api_op_ListAlerts.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListAlertsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAlertsValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_ListChannels.go b/service/mediatailor/api_op_ListChannels.go index 3251fdff0de..410d11c9eec 100644 --- a/service/mediatailor/api_op_ListChannels.go +++ b/service/mediatailor/api_op_ListChannels.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListChannelsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChannels(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mediatailor/api_op_ListLiveSources.go b/service/mediatailor/api_op_ListLiveSources.go index 6815e07b8e8..6b42cbaf808 100644 --- a/service/mediatailor/api_op_ListLiveSources.go +++ b/service/mediatailor/api_op_ListLiveSources.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListLiveSourcesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListLiveSourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_ListPlaybackConfigurations.go b/service/mediatailor/api_op_ListPlaybackConfigurations.go index e9f52628b9b..a17ed7b9663 100644 --- a/service/mediatailor/api_op_ListPlaybackConfigurations.go +++ b/service/mediatailor/api_op_ListPlaybackConfigurations.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListPlaybackConfigurationsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPlaybackConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mediatailor/api_op_ListPrefetchSchedules.go b/service/mediatailor/api_op_ListPrefetchSchedules.go index b5bd27331f5..90bb35187ca 100644 --- a/service/mediatailor/api_op_ListPrefetchSchedules.go +++ b/service/mediatailor/api_op_ListPrefetchSchedules.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListPrefetchSchedulesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPrefetchSchedulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_ListSourceLocations.go b/service/mediatailor/api_op_ListSourceLocations.go index 271acfbbbae..2f65b3bc955 100644 --- a/service/mediatailor/api_op_ListSourceLocations.go +++ b/service/mediatailor/api_op_ListSourceLocations.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListSourceLocationsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSourceLocations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mediatailor/api_op_ListTagsForResource.go b/service/mediatailor/api_op_ListTagsForResource.go index 7609c77e285..5647e62685a 100644 --- a/service/mediatailor/api_op_ListTagsForResource.go +++ b/service/mediatailor/api_op_ListTagsForResource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_ListVodSources.go b/service/mediatailor/api_op_ListVodSources.go index 3382bac7894..5a29e9df3c2 100644 --- a/service/mediatailor/api_op_ListVodSources.go +++ b/service/mediatailor/api_op_ListVodSources.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListVodSourcesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListVodSourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_PutChannelPolicy.go b/service/mediatailor/api_op_PutChannelPolicy.go index 9321f7f127b..d0fe920e461 100644 --- a/service/mediatailor/api_op_PutChannelPolicy.go +++ b/service/mediatailor/api_op_PutChannelPolicy.go @@ -113,9 +113,6 @@ func (c *Client) addOperationPutChannelPolicyMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutChannelPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_PutPlaybackConfiguration.go b/service/mediatailor/api_op_PutPlaybackConfiguration.go index 4681563f045..a0b33a67e7c 100644 --- a/service/mediatailor/api_op_PutPlaybackConfiguration.go +++ b/service/mediatailor/api_op_PutPlaybackConfiguration.go @@ -308,9 +308,6 @@ func (c *Client) addOperationPutPlaybackConfigurationMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutPlaybackConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_StartChannel.go b/service/mediatailor/api_op_StartChannel.go index d750d77e79e..ccb929e434d 100644 --- a/service/mediatailor/api_op_StartChannel.go +++ b/service/mediatailor/api_op_StartChannel.go @@ -110,9 +110,6 @@ func (c *Client) addOperationStartChannelMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_StopChannel.go b/service/mediatailor/api_op_StopChannel.go index d9e9018ef4b..4447985a151 100644 --- a/service/mediatailor/api_op_StopChannel.go +++ b/service/mediatailor/api_op_StopChannel.go @@ -110,9 +110,6 @@ func (c *Client) addOperationStopChannelMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_TagResource.go b/service/mediatailor/api_op_TagResource.go index 9658e11767d..9cbde4ea70f 100644 --- a/service/mediatailor/api_op_TagResource.go +++ b/service/mediatailor/api_op_TagResource.go @@ -120,9 +120,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_UntagResource.go b/service/mediatailor/api_op_UntagResource.go index c3e62e1e29d..b31bbdc4baf 100644 --- a/service/mediatailor/api_op_UntagResource.go +++ b/service/mediatailor/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_UpdateChannel.go b/service/mediatailor/api_op_UpdateChannel.go index 37c12a0fe98..a93de4a92cd 100644 --- a/service/mediatailor/api_op_UpdateChannel.go +++ b/service/mediatailor/api_op_UpdateChannel.go @@ -178,9 +178,6 @@ func (c *Client) addOperationUpdateChannelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_UpdateLiveSource.go b/service/mediatailor/api_op_UpdateLiveSource.go index d691206c260..000b9dbb484 100644 --- a/service/mediatailor/api_op_UpdateLiveSource.go +++ b/service/mediatailor/api_op_UpdateLiveSource.go @@ -145,9 +145,6 @@ func (c *Client) addOperationUpdateLiveSourceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLiveSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_UpdateProgram.go b/service/mediatailor/api_op_UpdateProgram.go index 53fac63529d..3e48eb175c8 100644 --- a/service/mediatailor/api_op_UpdateProgram.go +++ b/service/mediatailor/api_op_UpdateProgram.go @@ -162,9 +162,6 @@ func (c *Client) addOperationUpdateProgramMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateProgramValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_UpdateSourceLocation.go b/service/mediatailor/api_op_UpdateSourceLocation.go index 8ad16ce499a..e6bc5182e71 100644 --- a/service/mediatailor/api_op_UpdateSourceLocation.go +++ b/service/mediatailor/api_op_UpdateSourceLocation.go @@ -163,9 +163,6 @@ func (c *Client) addOperationUpdateSourceLocationMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSourceLocationValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/api_op_UpdateVodSource.go b/service/mediatailor/api_op_UpdateVodSource.go index 954d9a1f201..d8b8367f16c 100644 --- a/service/mediatailor/api_op_UpdateVodSource.go +++ b/service/mediatailor/api_op_UpdateVodSource.go @@ -145,9 +145,6 @@ func (c *Client) addOperationUpdateVodSourceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateVodSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mediatailor/snapshot/api_op_ConfigureLogsForChannel.go.snap b/service/mediatailor/snapshot/api_op_ConfigureLogsForChannel.go.snap index 74c331ad389..4a33b401873 100644 --- a/service/mediatailor/snapshot/api_op_ConfigureLogsForChannel.go.snap +++ b/service/mediatailor/snapshot/api_op_ConfigureLogsForChannel.go.snap @@ -14,7 +14,6 @@ ConfigureLogsForChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_ConfigureLogsForPlaybackConfiguration.go.snap b/service/mediatailor/snapshot/api_op_ConfigureLogsForPlaybackConfiguration.go.snap index 4312e42991b..89bcf14f30a 100644 --- a/service/mediatailor/snapshot/api_op_ConfigureLogsForPlaybackConfiguration.go.snap +++ b/service/mediatailor/snapshot/api_op_ConfigureLogsForPlaybackConfiguration.go.snap @@ -14,7 +14,6 @@ ConfigureLogsForPlaybackConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_CreateChannel.go.snap b/service/mediatailor/snapshot/api_op_CreateChannel.go.snap index c4492831992..ee3ad890378 100644 --- a/service/mediatailor/snapshot/api_op_CreateChannel.go.snap +++ b/service/mediatailor/snapshot/api_op_CreateChannel.go.snap @@ -14,7 +14,6 @@ CreateChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_CreateLiveSource.go.snap b/service/mediatailor/snapshot/api_op_CreateLiveSource.go.snap index 1250ce4ca7b..2332bdf153d 100644 --- a/service/mediatailor/snapshot/api_op_CreateLiveSource.go.snap +++ b/service/mediatailor/snapshot/api_op_CreateLiveSource.go.snap @@ -14,7 +14,6 @@ CreateLiveSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_CreatePrefetchSchedule.go.snap b/service/mediatailor/snapshot/api_op_CreatePrefetchSchedule.go.snap index 13af5edeebc..e2f59481df4 100644 --- a/service/mediatailor/snapshot/api_op_CreatePrefetchSchedule.go.snap +++ b/service/mediatailor/snapshot/api_op_CreatePrefetchSchedule.go.snap @@ -14,7 +14,6 @@ CreatePrefetchSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_CreateProgram.go.snap b/service/mediatailor/snapshot/api_op_CreateProgram.go.snap index 8509e00269a..804b2f69e8b 100644 --- a/service/mediatailor/snapshot/api_op_CreateProgram.go.snap +++ b/service/mediatailor/snapshot/api_op_CreateProgram.go.snap @@ -14,7 +14,6 @@ CreateProgram Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_CreateSourceLocation.go.snap b/service/mediatailor/snapshot/api_op_CreateSourceLocation.go.snap index c8880126a52..a6fa9e451d9 100644 --- a/service/mediatailor/snapshot/api_op_CreateSourceLocation.go.snap +++ b/service/mediatailor/snapshot/api_op_CreateSourceLocation.go.snap @@ -14,7 +14,6 @@ CreateSourceLocation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_CreateVodSource.go.snap b/service/mediatailor/snapshot/api_op_CreateVodSource.go.snap index e827dd77bc2..96a13be6396 100644 --- a/service/mediatailor/snapshot/api_op_CreateVodSource.go.snap +++ b/service/mediatailor/snapshot/api_op_CreateVodSource.go.snap @@ -14,7 +14,6 @@ CreateVodSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_DeleteChannel.go.snap b/service/mediatailor/snapshot/api_op_DeleteChannel.go.snap index c5d8eebaca6..ff973c1a071 100644 --- a/service/mediatailor/snapshot/api_op_DeleteChannel.go.snap +++ b/service/mediatailor/snapshot/api_op_DeleteChannel.go.snap @@ -14,7 +14,6 @@ DeleteChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_DeleteChannelPolicy.go.snap b/service/mediatailor/snapshot/api_op_DeleteChannelPolicy.go.snap index ab5bba5987e..777da5d3ed5 100644 --- a/service/mediatailor/snapshot/api_op_DeleteChannelPolicy.go.snap +++ b/service/mediatailor/snapshot/api_op_DeleteChannelPolicy.go.snap @@ -14,7 +14,6 @@ DeleteChannelPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_DeleteLiveSource.go.snap b/service/mediatailor/snapshot/api_op_DeleteLiveSource.go.snap index 99121e67830..5e2ee36a224 100644 --- a/service/mediatailor/snapshot/api_op_DeleteLiveSource.go.snap +++ b/service/mediatailor/snapshot/api_op_DeleteLiveSource.go.snap @@ -14,7 +14,6 @@ DeleteLiveSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_DeletePlaybackConfiguration.go.snap b/service/mediatailor/snapshot/api_op_DeletePlaybackConfiguration.go.snap index b9f47de7791..1dd313153a6 100644 --- a/service/mediatailor/snapshot/api_op_DeletePlaybackConfiguration.go.snap +++ b/service/mediatailor/snapshot/api_op_DeletePlaybackConfiguration.go.snap @@ -14,7 +14,6 @@ DeletePlaybackConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_DeletePrefetchSchedule.go.snap b/service/mediatailor/snapshot/api_op_DeletePrefetchSchedule.go.snap index 13f442608d7..41fa24ec18d 100644 --- a/service/mediatailor/snapshot/api_op_DeletePrefetchSchedule.go.snap +++ b/service/mediatailor/snapshot/api_op_DeletePrefetchSchedule.go.snap @@ -14,7 +14,6 @@ DeletePrefetchSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_DeleteProgram.go.snap b/service/mediatailor/snapshot/api_op_DeleteProgram.go.snap index ebcffa5e311..89a95e4975d 100644 --- a/service/mediatailor/snapshot/api_op_DeleteProgram.go.snap +++ b/service/mediatailor/snapshot/api_op_DeleteProgram.go.snap @@ -14,7 +14,6 @@ DeleteProgram Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_DeleteSourceLocation.go.snap b/service/mediatailor/snapshot/api_op_DeleteSourceLocation.go.snap index 2cfe6243e99..52bad98ddfd 100644 --- a/service/mediatailor/snapshot/api_op_DeleteSourceLocation.go.snap +++ b/service/mediatailor/snapshot/api_op_DeleteSourceLocation.go.snap @@ -14,7 +14,6 @@ DeleteSourceLocation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_DeleteVodSource.go.snap b/service/mediatailor/snapshot/api_op_DeleteVodSource.go.snap index b47b19a88f2..c4114d7aaa8 100644 --- a/service/mediatailor/snapshot/api_op_DeleteVodSource.go.snap +++ b/service/mediatailor/snapshot/api_op_DeleteVodSource.go.snap @@ -14,7 +14,6 @@ DeleteVodSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_DescribeChannel.go.snap b/service/mediatailor/snapshot/api_op_DescribeChannel.go.snap index 2365be8f025..70f1006d89e 100644 --- a/service/mediatailor/snapshot/api_op_DescribeChannel.go.snap +++ b/service/mediatailor/snapshot/api_op_DescribeChannel.go.snap @@ -14,7 +14,6 @@ DescribeChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_DescribeLiveSource.go.snap b/service/mediatailor/snapshot/api_op_DescribeLiveSource.go.snap index e9bd2c26570..49f509b8389 100644 --- a/service/mediatailor/snapshot/api_op_DescribeLiveSource.go.snap +++ b/service/mediatailor/snapshot/api_op_DescribeLiveSource.go.snap @@ -14,7 +14,6 @@ DescribeLiveSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_DescribeProgram.go.snap b/service/mediatailor/snapshot/api_op_DescribeProgram.go.snap index b71b554f68f..aadbd71695a 100644 --- a/service/mediatailor/snapshot/api_op_DescribeProgram.go.snap +++ b/service/mediatailor/snapshot/api_op_DescribeProgram.go.snap @@ -14,7 +14,6 @@ DescribeProgram Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_DescribeSourceLocation.go.snap b/service/mediatailor/snapshot/api_op_DescribeSourceLocation.go.snap index 8eec4e3beb1..32a72788b2f 100644 --- a/service/mediatailor/snapshot/api_op_DescribeSourceLocation.go.snap +++ b/service/mediatailor/snapshot/api_op_DescribeSourceLocation.go.snap @@ -14,7 +14,6 @@ DescribeSourceLocation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_DescribeVodSource.go.snap b/service/mediatailor/snapshot/api_op_DescribeVodSource.go.snap index 27b9506b0eb..a3d455fec81 100644 --- a/service/mediatailor/snapshot/api_op_DescribeVodSource.go.snap +++ b/service/mediatailor/snapshot/api_op_DescribeVodSource.go.snap @@ -14,7 +14,6 @@ DescribeVodSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_GetChannelPolicy.go.snap b/service/mediatailor/snapshot/api_op_GetChannelPolicy.go.snap index 3b362774d4b..92bfedac144 100644 --- a/service/mediatailor/snapshot/api_op_GetChannelPolicy.go.snap +++ b/service/mediatailor/snapshot/api_op_GetChannelPolicy.go.snap @@ -14,7 +14,6 @@ GetChannelPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_GetChannelSchedule.go.snap b/service/mediatailor/snapshot/api_op_GetChannelSchedule.go.snap index 99d2a538b5a..3ca63e0b581 100644 --- a/service/mediatailor/snapshot/api_op_GetChannelSchedule.go.snap +++ b/service/mediatailor/snapshot/api_op_GetChannelSchedule.go.snap @@ -14,7 +14,6 @@ GetChannelSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_GetPlaybackConfiguration.go.snap b/service/mediatailor/snapshot/api_op_GetPlaybackConfiguration.go.snap index d8cf827f6a1..994f913ea85 100644 --- a/service/mediatailor/snapshot/api_op_GetPlaybackConfiguration.go.snap +++ b/service/mediatailor/snapshot/api_op_GetPlaybackConfiguration.go.snap @@ -14,7 +14,6 @@ GetPlaybackConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_GetPrefetchSchedule.go.snap b/service/mediatailor/snapshot/api_op_GetPrefetchSchedule.go.snap index 5b5f40e9e94..3887f7c1dcd 100644 --- a/service/mediatailor/snapshot/api_op_GetPrefetchSchedule.go.snap +++ b/service/mediatailor/snapshot/api_op_GetPrefetchSchedule.go.snap @@ -14,7 +14,6 @@ GetPrefetchSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_ListAlerts.go.snap b/service/mediatailor/snapshot/api_op_ListAlerts.go.snap index 4a52e1d84fa..303cd6b1806 100644 --- a/service/mediatailor/snapshot/api_op_ListAlerts.go.snap +++ b/service/mediatailor/snapshot/api_op_ListAlerts.go.snap @@ -14,7 +14,6 @@ ListAlerts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_ListChannels.go.snap b/service/mediatailor/snapshot/api_op_ListChannels.go.snap index ba520959789..a6c9b89d3b2 100644 --- a/service/mediatailor/snapshot/api_op_ListChannels.go.snap +++ b/service/mediatailor/snapshot/api_op_ListChannels.go.snap @@ -13,7 +13,6 @@ ListChannels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_ListLiveSources.go.snap b/service/mediatailor/snapshot/api_op_ListLiveSources.go.snap index 584e5629aa8..087347dfbed 100644 --- a/service/mediatailor/snapshot/api_op_ListLiveSources.go.snap +++ b/service/mediatailor/snapshot/api_op_ListLiveSources.go.snap @@ -14,7 +14,6 @@ ListLiveSources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_ListPlaybackConfigurations.go.snap b/service/mediatailor/snapshot/api_op_ListPlaybackConfigurations.go.snap index 599fc20e4f8..bb82ed9e08b 100644 --- a/service/mediatailor/snapshot/api_op_ListPlaybackConfigurations.go.snap +++ b/service/mediatailor/snapshot/api_op_ListPlaybackConfigurations.go.snap @@ -13,7 +13,6 @@ ListPlaybackConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_ListPrefetchSchedules.go.snap b/service/mediatailor/snapshot/api_op_ListPrefetchSchedules.go.snap index e09878fbb6c..41d0ea40f96 100644 --- a/service/mediatailor/snapshot/api_op_ListPrefetchSchedules.go.snap +++ b/service/mediatailor/snapshot/api_op_ListPrefetchSchedules.go.snap @@ -14,7 +14,6 @@ ListPrefetchSchedules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_ListSourceLocations.go.snap b/service/mediatailor/snapshot/api_op_ListSourceLocations.go.snap index bdbfa5292cc..81da1e04542 100644 --- a/service/mediatailor/snapshot/api_op_ListSourceLocations.go.snap +++ b/service/mediatailor/snapshot/api_op_ListSourceLocations.go.snap @@ -13,7 +13,6 @@ ListSourceLocations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_ListTagsForResource.go.snap b/service/mediatailor/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/mediatailor/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/mediatailor/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_ListVodSources.go.snap b/service/mediatailor/snapshot/api_op_ListVodSources.go.snap index bf623fb927b..3369b09f317 100644 --- a/service/mediatailor/snapshot/api_op_ListVodSources.go.snap +++ b/service/mediatailor/snapshot/api_op_ListVodSources.go.snap @@ -14,7 +14,6 @@ ListVodSources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_PutChannelPolicy.go.snap b/service/mediatailor/snapshot/api_op_PutChannelPolicy.go.snap index bcae2e247b7..f584e8c8640 100644 --- a/service/mediatailor/snapshot/api_op_PutChannelPolicy.go.snap +++ b/service/mediatailor/snapshot/api_op_PutChannelPolicy.go.snap @@ -14,7 +14,6 @@ PutChannelPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_PutPlaybackConfiguration.go.snap b/service/mediatailor/snapshot/api_op_PutPlaybackConfiguration.go.snap index 78405d470ab..26e04f0b004 100644 --- a/service/mediatailor/snapshot/api_op_PutPlaybackConfiguration.go.snap +++ b/service/mediatailor/snapshot/api_op_PutPlaybackConfiguration.go.snap @@ -14,7 +14,6 @@ PutPlaybackConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_StartChannel.go.snap b/service/mediatailor/snapshot/api_op_StartChannel.go.snap index 5ab3f5a8e52..ee4ee4094b4 100644 --- a/service/mediatailor/snapshot/api_op_StartChannel.go.snap +++ b/service/mediatailor/snapshot/api_op_StartChannel.go.snap @@ -14,7 +14,6 @@ StartChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_StopChannel.go.snap b/service/mediatailor/snapshot/api_op_StopChannel.go.snap index d1489f1e644..418bd05959d 100644 --- a/service/mediatailor/snapshot/api_op_StopChannel.go.snap +++ b/service/mediatailor/snapshot/api_op_StopChannel.go.snap @@ -14,7 +14,6 @@ StopChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_TagResource.go.snap b/service/mediatailor/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/mediatailor/snapshot/api_op_TagResource.go.snap +++ b/service/mediatailor/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_UntagResource.go.snap b/service/mediatailor/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/mediatailor/snapshot/api_op_UntagResource.go.snap +++ b/service/mediatailor/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_UpdateChannel.go.snap b/service/mediatailor/snapshot/api_op_UpdateChannel.go.snap index 4ee65c8c5a7..f4150e2b85f 100644 --- a/service/mediatailor/snapshot/api_op_UpdateChannel.go.snap +++ b/service/mediatailor/snapshot/api_op_UpdateChannel.go.snap @@ -14,7 +14,6 @@ UpdateChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_UpdateLiveSource.go.snap b/service/mediatailor/snapshot/api_op_UpdateLiveSource.go.snap index ad23e24e443..b88b5516f36 100644 --- a/service/mediatailor/snapshot/api_op_UpdateLiveSource.go.snap +++ b/service/mediatailor/snapshot/api_op_UpdateLiveSource.go.snap @@ -14,7 +14,6 @@ UpdateLiveSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_UpdateProgram.go.snap b/service/mediatailor/snapshot/api_op_UpdateProgram.go.snap index 7470d455267..84482df192b 100644 --- a/service/mediatailor/snapshot/api_op_UpdateProgram.go.snap +++ b/service/mediatailor/snapshot/api_op_UpdateProgram.go.snap @@ -14,7 +14,6 @@ UpdateProgram Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_UpdateSourceLocation.go.snap b/service/mediatailor/snapshot/api_op_UpdateSourceLocation.go.snap index 5ca44003c2c..ada640cf7f4 100644 --- a/service/mediatailor/snapshot/api_op_UpdateSourceLocation.go.snap +++ b/service/mediatailor/snapshot/api_op_UpdateSourceLocation.go.snap @@ -14,7 +14,6 @@ UpdateSourceLocation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mediatailor/snapshot/api_op_UpdateVodSource.go.snap b/service/mediatailor/snapshot/api_op_UpdateVodSource.go.snap index e7cc4ce0080..cd27630027f 100644 --- a/service/mediatailor/snapshot/api_op_UpdateVodSource.go.snap +++ b/service/mediatailor/snapshot/api_op_UpdateVodSource.go.snap @@ -14,7 +14,6 @@ UpdateVodSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medicalimaging/api_client.go b/service/medicalimaging/api_client.go index b127c6f84d5..6ba6e9f8bd9 100644 --- a/service/medicalimaging/api_client.go +++ b/service/medicalimaging/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/medicalimaging/api_op_CopyImageSet.go b/service/medicalimaging/api_op_CopyImageSet.go index e113461bf9f..048339a6104 100644 --- a/service/medicalimaging/api_op_CopyImageSet.go +++ b/service/medicalimaging/api_op_CopyImageSet.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCopyImageSetMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCopyImageSetMiddleware(stack); err != nil { return err } diff --git a/service/medicalimaging/api_op_CreateDatastore.go b/service/medicalimaging/api_op_CreateDatastore.go index 66cd26a55fc..6f77c6895ae 100644 --- a/service/medicalimaging/api_op_CreateDatastore.go +++ b/service/medicalimaging/api_op_CreateDatastore.go @@ -129,9 +129,6 @@ func (c *Client) addOperationCreateDatastoreMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDatastoreMiddleware(stack, options); err != nil { return err } diff --git a/service/medicalimaging/api_op_DeleteDatastore.go b/service/medicalimaging/api_op_DeleteDatastore.go index 66eb63947d6..3497513f374 100644 --- a/service/medicalimaging/api_op_DeleteDatastore.go +++ b/service/medicalimaging/api_op_DeleteDatastore.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteDatastoreMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDatastoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/medicalimaging/api_op_DeleteImageSet.go b/service/medicalimaging/api_op_DeleteImageSet.go index ef55cb21cd6..f528afbbdb6 100644 --- a/service/medicalimaging/api_op_DeleteImageSet.go +++ b/service/medicalimaging/api_op_DeleteImageSet.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDeleteImageSetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteImageSetMiddleware(stack); err != nil { return err } diff --git a/service/medicalimaging/api_op_GetDICOMImportJob.go b/service/medicalimaging/api_op_GetDICOMImportJob.go index 0d6f9773833..e1434fb17c8 100644 --- a/service/medicalimaging/api_op_GetDICOMImportJob.go +++ b/service/medicalimaging/api_op_GetDICOMImportJob.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetDICOMImportJobMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDICOMImportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/medicalimaging/api_op_GetDatastore.go b/service/medicalimaging/api_op_GetDatastore.go index 64bebb493a8..32cfe132f60 100644 --- a/service/medicalimaging/api_op_GetDatastore.go +++ b/service/medicalimaging/api_op_GetDatastore.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetDatastoreMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDatastoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/medicalimaging/api_op_GetImageFrame.go b/service/medicalimaging/api_op_GetImageFrame.go index 796d0ad5c72..2d08ec0a5a0 100644 --- a/service/medicalimaging/api_op_GetImageFrame.go +++ b/service/medicalimaging/api_op_GetImageFrame.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetImageFrameMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetImageFrameMiddleware(stack); err != nil { return err } diff --git a/service/medicalimaging/api_op_GetImageSet.go b/service/medicalimaging/api_op_GetImageSet.go index fb45cf05ed3..2b00cc5598e 100644 --- a/service/medicalimaging/api_op_GetImageSet.go +++ b/service/medicalimaging/api_op_GetImageSet.go @@ -161,9 +161,6 @@ func (c *Client) addOperationGetImageSetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetImageSetMiddleware(stack); err != nil { return err } diff --git a/service/medicalimaging/api_op_GetImageSetMetadata.go b/service/medicalimaging/api_op_GetImageSetMetadata.go index 0a6d9a9dbe9..e97e002fc86 100644 --- a/service/medicalimaging/api_op_GetImageSetMetadata.go +++ b/service/medicalimaging/api_op_GetImageSetMetadata.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetImageSetMetadataMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetImageSetMetadataMiddleware(stack); err != nil { return err } diff --git a/service/medicalimaging/api_op_ListDICOMImportJobs.go b/service/medicalimaging/api_op_ListDICOMImportJobs.go index 13d43c04352..e34b8af4bae 100644 --- a/service/medicalimaging/api_op_ListDICOMImportJobs.go +++ b/service/medicalimaging/api_op_ListDICOMImportJobs.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListDICOMImportJobsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDICOMImportJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/medicalimaging/api_op_ListDatastores.go b/service/medicalimaging/api_op_ListDatastores.go index f78e639f1db..378003b3116 100644 --- a/service/medicalimaging/api_op_ListDatastores.go +++ b/service/medicalimaging/api_op_ListDatastores.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListDatastoresMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatastores(options.Region), middleware.Before); err != nil { return err } diff --git a/service/medicalimaging/api_op_ListImageSetVersions.go b/service/medicalimaging/api_op_ListImageSetVersions.go index 33133bf985c..48a5077dbf6 100644 --- a/service/medicalimaging/api_op_ListImageSetVersions.go +++ b/service/medicalimaging/api_op_ListImageSetVersions.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListImageSetVersionsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListImageSetVersionsMiddleware(stack); err != nil { return err } diff --git a/service/medicalimaging/api_op_ListTagsForResource.go b/service/medicalimaging/api_op_ListTagsForResource.go index 8d75da6b818..042142390b6 100644 --- a/service/medicalimaging/api_op_ListTagsForResource.go +++ b/service/medicalimaging/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/medicalimaging/api_op_SearchImageSets.go b/service/medicalimaging/api_op_SearchImageSets.go index 072022cb565..0143279eb20 100644 --- a/service/medicalimaging/api_op_SearchImageSets.go +++ b/service/medicalimaging/api_op_SearchImageSets.go @@ -139,9 +139,6 @@ func (c *Client) addOperationSearchImageSetsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opSearchImageSetsMiddleware(stack); err != nil { return err } diff --git a/service/medicalimaging/api_op_StartDICOMImportJob.go b/service/medicalimaging/api_op_StartDICOMImportJob.go index 0e5b057be47..9ac68d64fd7 100644 --- a/service/medicalimaging/api_op_StartDICOMImportJob.go +++ b/service/medicalimaging/api_op_StartDICOMImportJob.go @@ -162,9 +162,6 @@ func (c *Client) addOperationStartDICOMImportJobMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartDICOMImportJobMiddleware(stack, options); err != nil { return err } diff --git a/service/medicalimaging/api_op_TagResource.go b/service/medicalimaging/api_op_TagResource.go index a2cb8fb87fe..2179fec50be 100644 --- a/service/medicalimaging/api_op_TagResource.go +++ b/service/medicalimaging/api_op_TagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/medicalimaging/api_op_UntagResource.go b/service/medicalimaging/api_op_UntagResource.go index 6214e6b531d..e8d08cff0ca 100644 --- a/service/medicalimaging/api_op_UntagResource.go +++ b/service/medicalimaging/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/medicalimaging/api_op_UpdateImageSetMetadata.go b/service/medicalimaging/api_op_UpdateImageSetMetadata.go index 801dc47ee25..7a6bc90b51c 100644 --- a/service/medicalimaging/api_op_UpdateImageSetMetadata.go +++ b/service/medicalimaging/api_op_UpdateImageSetMetadata.go @@ -166,9 +166,6 @@ func (c *Client) addOperationUpdateImageSetMetadataMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateImageSetMetadataMiddleware(stack); err != nil { return err } diff --git a/service/medicalimaging/snapshot/api_op_CopyImageSet.go.snap b/service/medicalimaging/snapshot/api_op_CopyImageSet.go.snap index 09af398f475..48881c58ee1 100644 --- a/service/medicalimaging/snapshot/api_op_CopyImageSet.go.snap +++ b/service/medicalimaging/snapshot/api_op_CopyImageSet.go.snap @@ -14,7 +14,6 @@ CopyImageSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medicalimaging/snapshot/api_op_CreateDatastore.go.snap b/service/medicalimaging/snapshot/api_op_CreateDatastore.go.snap index 3afd1445dbc..f1595816665 100644 --- a/service/medicalimaging/snapshot/api_op_CreateDatastore.go.snap +++ b/service/medicalimaging/snapshot/api_op_CreateDatastore.go.snap @@ -15,7 +15,6 @@ CreateDatastore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medicalimaging/snapshot/api_op_DeleteDatastore.go.snap b/service/medicalimaging/snapshot/api_op_DeleteDatastore.go.snap index c01996e1290..62de3eca375 100644 --- a/service/medicalimaging/snapshot/api_op_DeleteDatastore.go.snap +++ b/service/medicalimaging/snapshot/api_op_DeleteDatastore.go.snap @@ -14,7 +14,6 @@ DeleteDatastore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medicalimaging/snapshot/api_op_DeleteImageSet.go.snap b/service/medicalimaging/snapshot/api_op_DeleteImageSet.go.snap index 30bcc002271..34ebc405fd2 100644 --- a/service/medicalimaging/snapshot/api_op_DeleteImageSet.go.snap +++ b/service/medicalimaging/snapshot/api_op_DeleteImageSet.go.snap @@ -14,7 +14,6 @@ DeleteImageSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medicalimaging/snapshot/api_op_GetDICOMImportJob.go.snap b/service/medicalimaging/snapshot/api_op_GetDICOMImportJob.go.snap index 4a0d7512cee..017ae6c2266 100644 --- a/service/medicalimaging/snapshot/api_op_GetDICOMImportJob.go.snap +++ b/service/medicalimaging/snapshot/api_op_GetDICOMImportJob.go.snap @@ -14,7 +14,6 @@ GetDICOMImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medicalimaging/snapshot/api_op_GetDatastore.go.snap b/service/medicalimaging/snapshot/api_op_GetDatastore.go.snap index 891fc421cb5..d27ab0dfec8 100644 --- a/service/medicalimaging/snapshot/api_op_GetDatastore.go.snap +++ b/service/medicalimaging/snapshot/api_op_GetDatastore.go.snap @@ -14,7 +14,6 @@ GetDatastore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medicalimaging/snapshot/api_op_GetImageFrame.go.snap b/service/medicalimaging/snapshot/api_op_GetImageFrame.go.snap index db09740ecb4..f85e4acabb7 100644 --- a/service/medicalimaging/snapshot/api_op_GetImageFrame.go.snap +++ b/service/medicalimaging/snapshot/api_op_GetImageFrame.go.snap @@ -14,7 +14,6 @@ GetImageFrame Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medicalimaging/snapshot/api_op_GetImageSet.go.snap b/service/medicalimaging/snapshot/api_op_GetImageSet.go.snap index bb14c663bde..70656abf9a4 100644 --- a/service/medicalimaging/snapshot/api_op_GetImageSet.go.snap +++ b/service/medicalimaging/snapshot/api_op_GetImageSet.go.snap @@ -14,7 +14,6 @@ GetImageSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medicalimaging/snapshot/api_op_GetImageSetMetadata.go.snap b/service/medicalimaging/snapshot/api_op_GetImageSetMetadata.go.snap index 0b4da1d9594..5faa4b048b7 100644 --- a/service/medicalimaging/snapshot/api_op_GetImageSetMetadata.go.snap +++ b/service/medicalimaging/snapshot/api_op_GetImageSetMetadata.go.snap @@ -14,7 +14,6 @@ GetImageSetMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medicalimaging/snapshot/api_op_ListDICOMImportJobs.go.snap b/service/medicalimaging/snapshot/api_op_ListDICOMImportJobs.go.snap index f07ec8f200b..e064508e79e 100644 --- a/service/medicalimaging/snapshot/api_op_ListDICOMImportJobs.go.snap +++ b/service/medicalimaging/snapshot/api_op_ListDICOMImportJobs.go.snap @@ -14,7 +14,6 @@ ListDICOMImportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medicalimaging/snapshot/api_op_ListDatastores.go.snap b/service/medicalimaging/snapshot/api_op_ListDatastores.go.snap index c49edc724e7..d9aba91ca4a 100644 --- a/service/medicalimaging/snapshot/api_op_ListDatastores.go.snap +++ b/service/medicalimaging/snapshot/api_op_ListDatastores.go.snap @@ -13,7 +13,6 @@ ListDatastores Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medicalimaging/snapshot/api_op_ListImageSetVersions.go.snap b/service/medicalimaging/snapshot/api_op_ListImageSetVersions.go.snap index 8ff71985b56..c43b0708bbd 100644 --- a/service/medicalimaging/snapshot/api_op_ListImageSetVersions.go.snap +++ b/service/medicalimaging/snapshot/api_op_ListImageSetVersions.go.snap @@ -14,7 +14,6 @@ ListImageSetVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medicalimaging/snapshot/api_op_ListTagsForResource.go.snap b/service/medicalimaging/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/medicalimaging/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/medicalimaging/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medicalimaging/snapshot/api_op_SearchImageSets.go.snap b/service/medicalimaging/snapshot/api_op_SearchImageSets.go.snap index e150b339a03..406bffe53fe 100644 --- a/service/medicalimaging/snapshot/api_op_SearchImageSets.go.snap +++ b/service/medicalimaging/snapshot/api_op_SearchImageSets.go.snap @@ -14,7 +14,6 @@ SearchImageSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medicalimaging/snapshot/api_op_StartDICOMImportJob.go.snap b/service/medicalimaging/snapshot/api_op_StartDICOMImportJob.go.snap index 7251f2062d8..fd3ee262c46 100644 --- a/service/medicalimaging/snapshot/api_op_StartDICOMImportJob.go.snap +++ b/service/medicalimaging/snapshot/api_op_StartDICOMImportJob.go.snap @@ -15,7 +15,6 @@ StartDICOMImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medicalimaging/snapshot/api_op_TagResource.go.snap b/service/medicalimaging/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/medicalimaging/snapshot/api_op_TagResource.go.snap +++ b/service/medicalimaging/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medicalimaging/snapshot/api_op_UntagResource.go.snap b/service/medicalimaging/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/medicalimaging/snapshot/api_op_UntagResource.go.snap +++ b/service/medicalimaging/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/medicalimaging/snapshot/api_op_UpdateImageSetMetadata.go.snap b/service/medicalimaging/snapshot/api_op_UpdateImageSetMetadata.go.snap index 54578246aa7..da011c7a435 100644 --- a/service/medicalimaging/snapshot/api_op_UpdateImageSetMetadata.go.snap +++ b/service/medicalimaging/snapshot/api_op_UpdateImageSetMetadata.go.snap @@ -14,7 +14,6 @@ UpdateImageSetMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/api_client.go b/service/memorydb/api_client.go index 373769eab86..c0c09f33243 100644 --- a/service/memorydb/api_client.go +++ b/service/memorydb/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/memorydb/api_op_BatchUpdateCluster.go b/service/memorydb/api_op_BatchUpdateCluster.go index eedd7ba66d9..9d035e18986 100644 --- a/service/memorydb/api_op_BatchUpdateCluster.go +++ b/service/memorydb/api_op_BatchUpdateCluster.go @@ -121,9 +121,6 @@ func (c *Client) addOperationBatchUpdateClusterMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchUpdateClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_CopySnapshot.go b/service/memorydb/api_op_CopySnapshot.go index 7ed21f46db6..b2201ce8091 100644 --- a/service/memorydb/api_op_CopySnapshot.go +++ b/service/memorydb/api_op_CopySnapshot.go @@ -138,9 +138,6 @@ func (c *Client) addOperationCopySnapshotMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCopySnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_CreateACL.go b/service/memorydb/api_op_CreateACL.go index e989662cc6a..267316ffd03 100644 --- a/service/memorydb/api_op_CreateACL.go +++ b/service/memorydb/api_op_CreateACL.go @@ -121,9 +121,6 @@ func (c *Client) addOperationCreateACLMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateACLValidationMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_CreateCluster.go b/service/memorydb/api_op_CreateCluster.go index 6b77f503908..abfef6e051c 100644 --- a/service/memorydb/api_op_CreateCluster.go +++ b/service/memorydb/api_op_CreateCluster.go @@ -227,9 +227,6 @@ func (c *Client) addOperationCreateClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_CreateMultiRegionCluster.go b/service/memorydb/api_op_CreateMultiRegionCluster.go index 5c756de207b..e42060b08fd 100644 --- a/service/memorydb/api_op_CreateMultiRegionCluster.go +++ b/service/memorydb/api_op_CreateMultiRegionCluster.go @@ -138,9 +138,6 @@ func (c *Client) addOperationCreateMultiRegionClusterMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateMultiRegionClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_CreateParameterGroup.go b/service/memorydb/api_op_CreateParameterGroup.go index 32a4907d495..035757e4e29 100644 --- a/service/memorydb/api_op_CreateParameterGroup.go +++ b/service/memorydb/api_op_CreateParameterGroup.go @@ -129,9 +129,6 @@ func (c *Client) addOperationCreateParameterGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_CreateSnapshot.go b/service/memorydb/api_op_CreateSnapshot.go index d3ccd89e5c8..564fccd8f7f 100644 --- a/service/memorydb/api_op_CreateSnapshot.go +++ b/service/memorydb/api_op_CreateSnapshot.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCreateSnapshotMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_CreateSubnetGroup.go b/service/memorydb/api_op_CreateSubnetGroup.go index 538c0597310..6e11fea5d82 100644 --- a/service/memorydb/api_op_CreateSubnetGroup.go +++ b/service/memorydb/api_op_CreateSubnetGroup.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateSubnetGroupMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSubnetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_CreateUser.go b/service/memorydb/api_op_CreateUser.go index e305799d02b..83f3e47bd75 100644 --- a/service/memorydb/api_op_CreateUser.go +++ b/service/memorydb/api_op_CreateUser.go @@ -130,9 +130,6 @@ func (c *Client) addOperationCreateUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_DeleteACL.go b/service/memorydb/api_op_DeleteACL.go index 0ef61a8d4f0..f9a24c0d97c 100644 --- a/service/memorydb/api_op_DeleteACL.go +++ b/service/memorydb/api_op_DeleteACL.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteACLMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteACLValidationMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_DeleteCluster.go b/service/memorydb/api_op_DeleteCluster.go index 1f514826796..095fa3820e1 100644 --- a/service/memorydb/api_op_DeleteCluster.go +++ b/service/memorydb/api_op_DeleteCluster.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_DeleteMultiRegionCluster.go b/service/memorydb/api_op_DeleteMultiRegionCluster.go index b5a983598ab..dea7a6fdf92 100644 --- a/service/memorydb/api_op_DeleteMultiRegionCluster.go +++ b/service/memorydb/api_op_DeleteMultiRegionCluster.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteMultiRegionClusterMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMultiRegionClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_DeleteParameterGroup.go b/service/memorydb/api_op_DeleteParameterGroup.go index 15413272d1e..4b07736cbae 100644 --- a/service/memorydb/api_op_DeleteParameterGroup.go +++ b/service/memorydb/api_op_DeleteParameterGroup.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteParameterGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_DeleteSnapshot.go b/service/memorydb/api_op_DeleteSnapshot.go index dec842bb0ab..a304b985de7 100644 --- a/service/memorydb/api_op_DeleteSnapshot.go +++ b/service/memorydb/api_op_DeleteSnapshot.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteSnapshotMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_DeleteSubnetGroup.go b/service/memorydb/api_op_DeleteSubnetGroup.go index 97dabcb1c3c..3a24baf9688 100644 --- a/service/memorydb/api_op_DeleteSubnetGroup.go +++ b/service/memorydb/api_op_DeleteSubnetGroup.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteSubnetGroupMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSubnetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_DeleteUser.go b/service/memorydb/api_op_DeleteUser.go index f9f8b9ea2d3..713879ce859 100644 --- a/service/memorydb/api_op_DeleteUser.go +++ b/service/memorydb/api_op_DeleteUser.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_DescribeACLs.go b/service/memorydb/api_op_DescribeACLs.go index 9e68fc60464..7692192d310 100644 --- a/service/memorydb/api_op_DescribeACLs.go +++ b/service/memorydb/api_op_DescribeACLs.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDescribeACLsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeACLs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/memorydb/api_op_DescribeClusters.go b/service/memorydb/api_op_DescribeClusters.go index 87d6113c7fb..1af425682f4 100644 --- a/service/memorydb/api_op_DescribeClusters.go +++ b/service/memorydb/api_op_DescribeClusters.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeClustersMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClusters(options.Region), middleware.Before); err != nil { return err } diff --git a/service/memorydb/api_op_DescribeEngineVersions.go b/service/memorydb/api_op_DescribeEngineVersions.go index f7b130b54e6..5c31ec8e5c9 100644 --- a/service/memorydb/api_op_DescribeEngineVersions.go +++ b/service/memorydb/api_op_DescribeEngineVersions.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDescribeEngineVersionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEngineVersions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/memorydb/api_op_DescribeEvents.go b/service/memorydb/api_op_DescribeEvents.go index e86fcf6aae9..67f0a108628 100644 --- a/service/memorydb/api_op_DescribeEvents.go +++ b/service/memorydb/api_op_DescribeEvents.go @@ -156,9 +156,6 @@ func (c *Client) addOperationDescribeEventsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEvents(options.Region), middleware.Before); err != nil { return err } diff --git a/service/memorydb/api_op_DescribeMultiRegionClusters.go b/service/memorydb/api_op_DescribeMultiRegionClusters.go index f30a4711585..dd6d3b66bb8 100644 --- a/service/memorydb/api_op_DescribeMultiRegionClusters.go +++ b/service/memorydb/api_op_DescribeMultiRegionClusters.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeMultiRegionClustersMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMultiRegionClusters(options.Region), middleware.Before); err != nil { return err } diff --git a/service/memorydb/api_op_DescribeParameterGroups.go b/service/memorydb/api_op_DescribeParameterGroups.go index 030269a7868..166c567fb0f 100644 --- a/service/memorydb/api_op_DescribeParameterGroups.go +++ b/service/memorydb/api_op_DescribeParameterGroups.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeParameterGroupsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeParameterGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/memorydb/api_op_DescribeParameters.go b/service/memorydb/api_op_DescribeParameters.go index 13b020483a5..39a5bcbd92b 100644 --- a/service/memorydb/api_op_DescribeParameters.go +++ b/service/memorydb/api_op_DescribeParameters.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeParametersMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeParametersValidationMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_DescribeReservedNodes.go b/service/memorydb/api_op_DescribeReservedNodes.go index 4b11010c412..dbfc4da647e 100644 --- a/service/memorydb/api_op_DescribeReservedNodes.go +++ b/service/memorydb/api_op_DescribeReservedNodes.go @@ -149,9 +149,6 @@ func (c *Client) addOperationDescribeReservedNodesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservedNodes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/memorydb/api_op_DescribeReservedNodesOfferings.go b/service/memorydb/api_op_DescribeReservedNodesOfferings.go index 166e5a8aad5..e9f4fd79e2d 100644 --- a/service/memorydb/api_op_DescribeReservedNodesOfferings.go +++ b/service/memorydb/api_op_DescribeReservedNodesOfferings.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDescribeReservedNodesOfferingsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservedNodesOfferings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/memorydb/api_op_DescribeServiceUpdates.go b/service/memorydb/api_op_DescribeServiceUpdates.go index 52cb0960905..151f8b3e940 100644 --- a/service/memorydb/api_op_DescribeServiceUpdates.go +++ b/service/memorydb/api_op_DescribeServiceUpdates.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDescribeServiceUpdatesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeServiceUpdates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/memorydb/api_op_DescribeSnapshots.go b/service/memorydb/api_op_DescribeSnapshots.go index 4e446875186..e6b3444b7eb 100644 --- a/service/memorydb/api_op_DescribeSnapshots.go +++ b/service/memorydb/api_op_DescribeSnapshots.go @@ -146,9 +146,6 @@ func (c *Client) addOperationDescribeSnapshotsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSnapshots(options.Region), middleware.Before); err != nil { return err } diff --git a/service/memorydb/api_op_DescribeSubnetGroups.go b/service/memorydb/api_op_DescribeSubnetGroups.go index f8d61265a02..2f6a909f767 100644 --- a/service/memorydb/api_op_DescribeSubnetGroups.go +++ b/service/memorydb/api_op_DescribeSubnetGroups.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeSubnetGroupsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSubnetGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/memorydb/api_op_DescribeUsers.go b/service/memorydb/api_op_DescribeUsers.go index 3d4d45684a1..e5182f0227c 100644 --- a/service/memorydb/api_op_DescribeUsers.go +++ b/service/memorydb/api_op_DescribeUsers.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeUsersMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeUsersValidationMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_FailoverShard.go b/service/memorydb/api_op_FailoverShard.go index 5a93b9d9f2a..8605aeb086f 100644 --- a/service/memorydb/api_op_FailoverShard.go +++ b/service/memorydb/api_op_FailoverShard.go @@ -121,9 +121,6 @@ func (c *Client) addOperationFailoverShardMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpFailoverShardValidationMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_ListAllowedMultiRegionClusterUpdates.go b/service/memorydb/api_op_ListAllowedMultiRegionClusterUpdates.go index a89c9061079..18dcf164368 100644 --- a/service/memorydb/api_op_ListAllowedMultiRegionClusterUpdates.go +++ b/service/memorydb/api_op_ListAllowedMultiRegionClusterUpdates.go @@ -114,9 +114,6 @@ func (c *Client) addOperationListAllowedMultiRegionClusterUpdatesMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAllowedMultiRegionClusterUpdatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_ListAllowedNodeTypeUpdates.go b/service/memorydb/api_op_ListAllowedNodeTypeUpdates.go index ef658f28bc4..e94446c93c9 100644 --- a/service/memorydb/api_op_ListAllowedNodeTypeUpdates.go +++ b/service/memorydb/api_op_ListAllowedNodeTypeUpdates.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListAllowedNodeTypeUpdatesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAllowedNodeTypeUpdatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_ListTags.go b/service/memorydb/api_op_ListTags.go index 5286431373b..3a2a90017a5 100644 --- a/service/memorydb/api_op_ListTags.go +++ b/service/memorydb/api_op_ListTags.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListTagsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_PurchaseReservedNodesOffering.go b/service/memorydb/api_op_PurchaseReservedNodesOffering.go index a0b7b76a866..6bf1c9d0efa 100644 --- a/service/memorydb/api_op_PurchaseReservedNodesOffering.go +++ b/service/memorydb/api_op_PurchaseReservedNodesOffering.go @@ -123,9 +123,6 @@ func (c *Client) addOperationPurchaseReservedNodesOfferingMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPurchaseReservedNodesOfferingValidationMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_ResetParameterGroup.go b/service/memorydb/api_op_ResetParameterGroup.go index 487084bb28f..c2897ba1d0f 100644 --- a/service/memorydb/api_op_ResetParameterGroup.go +++ b/service/memorydb/api_op_ResetParameterGroup.go @@ -125,9 +125,6 @@ func (c *Client) addOperationResetParameterGroupMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResetParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_TagResource.go b/service/memorydb/api_op_TagResource.go index 3f24db4578e..087b6dc14b0 100644 --- a/service/memorydb/api_op_TagResource.go +++ b/service/memorydb/api_op_TagResource.go @@ -136,9 +136,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_UntagResource.go b/service/memorydb/api_op_UntagResource.go index 2c867b3e95d..76aeb8b0b4a 100644 --- a/service/memorydb/api_op_UntagResource.go +++ b/service/memorydb/api_op_UntagResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_UpdateACL.go b/service/memorydb/api_op_UpdateACL.go index 3caa0ca05ec..d0e0be0b71a 100644 --- a/service/memorydb/api_op_UpdateACL.go +++ b/service/memorydb/api_op_UpdateACL.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateACLMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateACLValidationMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_UpdateCluster.go b/service/memorydb/api_op_UpdateCluster.go index b8ee69ee6c9..05c1c9d2ee1 100644 --- a/service/memorydb/api_op_UpdateCluster.go +++ b/service/memorydb/api_op_UpdateCluster.go @@ -183,9 +183,6 @@ func (c *Client) addOperationUpdateClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_UpdateMultiRegionCluster.go b/service/memorydb/api_op_UpdateMultiRegionCluster.go index 0752dc92115..1e355f82a6d 100644 --- a/service/memorydb/api_op_UpdateMultiRegionCluster.go +++ b/service/memorydb/api_op_UpdateMultiRegionCluster.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateMultiRegionClusterMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMultiRegionClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_UpdateParameterGroup.go b/service/memorydb/api_op_UpdateParameterGroup.go index d0137a58c28..5b34823b4bd 100644 --- a/service/memorydb/api_op_UpdateParameterGroup.go +++ b/service/memorydb/api_op_UpdateParameterGroup.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdateParameterGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_UpdateSubnetGroup.go b/service/memorydb/api_op_UpdateSubnetGroup.go index 565ac2d0e0b..d6cdfa6b704 100644 --- a/service/memorydb/api_op_UpdateSubnetGroup.go +++ b/service/memorydb/api_op_UpdateSubnetGroup.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdateSubnetGroupMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSubnetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/api_op_UpdateUser.go b/service/memorydb/api_op_UpdateUser.go index 7425ee0a08c..6bbf3076e27 100644 --- a/service/memorydb/api_op_UpdateUser.go +++ b/service/memorydb/api_op_UpdateUser.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/memorydb/snapshot/api_op_BatchUpdateCluster.go.snap b/service/memorydb/snapshot/api_op_BatchUpdateCluster.go.snap index 2f8f8a4ece7..293f82d3749 100644 --- a/service/memorydb/snapshot/api_op_BatchUpdateCluster.go.snap +++ b/service/memorydb/snapshot/api_op_BatchUpdateCluster.go.snap @@ -14,7 +14,6 @@ BatchUpdateCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_CopySnapshot.go.snap b/service/memorydb/snapshot/api_op_CopySnapshot.go.snap index b6f4e30237a..cea2f803aa4 100644 --- a/service/memorydb/snapshot/api_op_CopySnapshot.go.snap +++ b/service/memorydb/snapshot/api_op_CopySnapshot.go.snap @@ -14,7 +14,6 @@ CopySnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_CreateACL.go.snap b/service/memorydb/snapshot/api_op_CreateACL.go.snap index a122ac2e0f1..9867ab75f4c 100644 --- a/service/memorydb/snapshot/api_op_CreateACL.go.snap +++ b/service/memorydb/snapshot/api_op_CreateACL.go.snap @@ -14,7 +14,6 @@ CreateACL Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_CreateCluster.go.snap b/service/memorydb/snapshot/api_op_CreateCluster.go.snap index 1ee274e1f6c..03ac0c0d2e6 100644 --- a/service/memorydb/snapshot/api_op_CreateCluster.go.snap +++ b/service/memorydb/snapshot/api_op_CreateCluster.go.snap @@ -14,7 +14,6 @@ CreateCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_CreateMultiRegionCluster.go.snap b/service/memorydb/snapshot/api_op_CreateMultiRegionCluster.go.snap index 3bae854b590..14492831041 100644 --- a/service/memorydb/snapshot/api_op_CreateMultiRegionCluster.go.snap +++ b/service/memorydb/snapshot/api_op_CreateMultiRegionCluster.go.snap @@ -14,7 +14,6 @@ CreateMultiRegionCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_CreateParameterGroup.go.snap b/service/memorydb/snapshot/api_op_CreateParameterGroup.go.snap index 239f6c4f993..9c3c96afcf5 100644 --- a/service/memorydb/snapshot/api_op_CreateParameterGroup.go.snap +++ b/service/memorydb/snapshot/api_op_CreateParameterGroup.go.snap @@ -14,7 +14,6 @@ CreateParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_CreateSnapshot.go.snap b/service/memorydb/snapshot/api_op_CreateSnapshot.go.snap index c5c9178ac0b..1a0713f514c 100644 --- a/service/memorydb/snapshot/api_op_CreateSnapshot.go.snap +++ b/service/memorydb/snapshot/api_op_CreateSnapshot.go.snap @@ -14,7 +14,6 @@ CreateSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_CreateSubnetGroup.go.snap b/service/memorydb/snapshot/api_op_CreateSubnetGroup.go.snap index df16bafd1ab..b6bffde70b7 100644 --- a/service/memorydb/snapshot/api_op_CreateSubnetGroup.go.snap +++ b/service/memorydb/snapshot/api_op_CreateSubnetGroup.go.snap @@ -14,7 +14,6 @@ CreateSubnetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_CreateUser.go.snap b/service/memorydb/snapshot/api_op_CreateUser.go.snap index bfcfbd2c853..d278c15935b 100644 --- a/service/memorydb/snapshot/api_op_CreateUser.go.snap +++ b/service/memorydb/snapshot/api_op_CreateUser.go.snap @@ -14,7 +14,6 @@ CreateUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_DeleteACL.go.snap b/service/memorydb/snapshot/api_op_DeleteACL.go.snap index 8183cdfca60..632b173b1fa 100644 --- a/service/memorydb/snapshot/api_op_DeleteACL.go.snap +++ b/service/memorydb/snapshot/api_op_DeleteACL.go.snap @@ -14,7 +14,6 @@ DeleteACL Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_DeleteCluster.go.snap b/service/memorydb/snapshot/api_op_DeleteCluster.go.snap index 8eeb23b33c5..9df5248d4d6 100644 --- a/service/memorydb/snapshot/api_op_DeleteCluster.go.snap +++ b/service/memorydb/snapshot/api_op_DeleteCluster.go.snap @@ -14,7 +14,6 @@ DeleteCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_DeleteMultiRegionCluster.go.snap b/service/memorydb/snapshot/api_op_DeleteMultiRegionCluster.go.snap index 921e595aba7..77039131d8d 100644 --- a/service/memorydb/snapshot/api_op_DeleteMultiRegionCluster.go.snap +++ b/service/memorydb/snapshot/api_op_DeleteMultiRegionCluster.go.snap @@ -14,7 +14,6 @@ DeleteMultiRegionCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_DeleteParameterGroup.go.snap b/service/memorydb/snapshot/api_op_DeleteParameterGroup.go.snap index 1937ccddbfe..e18f69175d7 100644 --- a/service/memorydb/snapshot/api_op_DeleteParameterGroup.go.snap +++ b/service/memorydb/snapshot/api_op_DeleteParameterGroup.go.snap @@ -14,7 +14,6 @@ DeleteParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_DeleteSnapshot.go.snap b/service/memorydb/snapshot/api_op_DeleteSnapshot.go.snap index f4046d31f87..054fe5bb9b5 100644 --- a/service/memorydb/snapshot/api_op_DeleteSnapshot.go.snap +++ b/service/memorydb/snapshot/api_op_DeleteSnapshot.go.snap @@ -14,7 +14,6 @@ DeleteSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_DeleteSubnetGroup.go.snap b/service/memorydb/snapshot/api_op_DeleteSubnetGroup.go.snap index 7c21f26d253..2a30404cd36 100644 --- a/service/memorydb/snapshot/api_op_DeleteSubnetGroup.go.snap +++ b/service/memorydb/snapshot/api_op_DeleteSubnetGroup.go.snap @@ -14,7 +14,6 @@ DeleteSubnetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_DeleteUser.go.snap b/service/memorydb/snapshot/api_op_DeleteUser.go.snap index 43834da9879..eda6e5fae30 100644 --- a/service/memorydb/snapshot/api_op_DeleteUser.go.snap +++ b/service/memorydb/snapshot/api_op_DeleteUser.go.snap @@ -14,7 +14,6 @@ DeleteUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_DescribeACLs.go.snap b/service/memorydb/snapshot/api_op_DescribeACLs.go.snap index 6a638333345..44668786c55 100644 --- a/service/memorydb/snapshot/api_op_DescribeACLs.go.snap +++ b/service/memorydb/snapshot/api_op_DescribeACLs.go.snap @@ -13,7 +13,6 @@ DescribeACLs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_DescribeClusters.go.snap b/service/memorydb/snapshot/api_op_DescribeClusters.go.snap index f52d125d54e..bfa7d3b3625 100644 --- a/service/memorydb/snapshot/api_op_DescribeClusters.go.snap +++ b/service/memorydb/snapshot/api_op_DescribeClusters.go.snap @@ -13,7 +13,6 @@ DescribeClusters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_DescribeEngineVersions.go.snap b/service/memorydb/snapshot/api_op_DescribeEngineVersions.go.snap index ae600eee825..e5c847b3b1c 100644 --- a/service/memorydb/snapshot/api_op_DescribeEngineVersions.go.snap +++ b/service/memorydb/snapshot/api_op_DescribeEngineVersions.go.snap @@ -13,7 +13,6 @@ DescribeEngineVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_DescribeEvents.go.snap b/service/memorydb/snapshot/api_op_DescribeEvents.go.snap index c63aa6daa0b..36f0ef6bea9 100644 --- a/service/memorydb/snapshot/api_op_DescribeEvents.go.snap +++ b/service/memorydb/snapshot/api_op_DescribeEvents.go.snap @@ -13,7 +13,6 @@ DescribeEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_DescribeMultiRegionClusters.go.snap b/service/memorydb/snapshot/api_op_DescribeMultiRegionClusters.go.snap index 16019d6fcd6..bf4711cf124 100644 --- a/service/memorydb/snapshot/api_op_DescribeMultiRegionClusters.go.snap +++ b/service/memorydb/snapshot/api_op_DescribeMultiRegionClusters.go.snap @@ -13,7 +13,6 @@ DescribeMultiRegionClusters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_DescribeParameterGroups.go.snap b/service/memorydb/snapshot/api_op_DescribeParameterGroups.go.snap index f7b5c6f8f7d..42e4ce46a6c 100644 --- a/service/memorydb/snapshot/api_op_DescribeParameterGroups.go.snap +++ b/service/memorydb/snapshot/api_op_DescribeParameterGroups.go.snap @@ -13,7 +13,6 @@ DescribeParameterGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_DescribeParameters.go.snap b/service/memorydb/snapshot/api_op_DescribeParameters.go.snap index 5f40622e8ea..bbe314ad47a 100644 --- a/service/memorydb/snapshot/api_op_DescribeParameters.go.snap +++ b/service/memorydb/snapshot/api_op_DescribeParameters.go.snap @@ -14,7 +14,6 @@ DescribeParameters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_DescribeReservedNodes.go.snap b/service/memorydb/snapshot/api_op_DescribeReservedNodes.go.snap index 947fd9bc559..0232083e6c6 100644 --- a/service/memorydb/snapshot/api_op_DescribeReservedNodes.go.snap +++ b/service/memorydb/snapshot/api_op_DescribeReservedNodes.go.snap @@ -13,7 +13,6 @@ DescribeReservedNodes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_DescribeReservedNodesOfferings.go.snap b/service/memorydb/snapshot/api_op_DescribeReservedNodesOfferings.go.snap index 3e494bd519c..396a6ce93e6 100644 --- a/service/memorydb/snapshot/api_op_DescribeReservedNodesOfferings.go.snap +++ b/service/memorydb/snapshot/api_op_DescribeReservedNodesOfferings.go.snap @@ -13,7 +13,6 @@ DescribeReservedNodesOfferings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_DescribeServiceUpdates.go.snap b/service/memorydb/snapshot/api_op_DescribeServiceUpdates.go.snap index ab08a0fd7a5..fe31973bd3a 100644 --- a/service/memorydb/snapshot/api_op_DescribeServiceUpdates.go.snap +++ b/service/memorydb/snapshot/api_op_DescribeServiceUpdates.go.snap @@ -13,7 +13,6 @@ DescribeServiceUpdates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_DescribeSnapshots.go.snap b/service/memorydb/snapshot/api_op_DescribeSnapshots.go.snap index 8b006c734ed..03fd8bd6409 100644 --- a/service/memorydb/snapshot/api_op_DescribeSnapshots.go.snap +++ b/service/memorydb/snapshot/api_op_DescribeSnapshots.go.snap @@ -13,7 +13,6 @@ DescribeSnapshots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_DescribeSubnetGroups.go.snap b/service/memorydb/snapshot/api_op_DescribeSubnetGroups.go.snap index bbbb95f1336..985a8c99077 100644 --- a/service/memorydb/snapshot/api_op_DescribeSubnetGroups.go.snap +++ b/service/memorydb/snapshot/api_op_DescribeSubnetGroups.go.snap @@ -13,7 +13,6 @@ DescribeSubnetGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_DescribeUsers.go.snap b/service/memorydb/snapshot/api_op_DescribeUsers.go.snap index 5426fc171f5..c384ad1048b 100644 --- a/service/memorydb/snapshot/api_op_DescribeUsers.go.snap +++ b/service/memorydb/snapshot/api_op_DescribeUsers.go.snap @@ -14,7 +14,6 @@ DescribeUsers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_FailoverShard.go.snap b/service/memorydb/snapshot/api_op_FailoverShard.go.snap index f5cac2b3456..19f723d634b 100644 --- a/service/memorydb/snapshot/api_op_FailoverShard.go.snap +++ b/service/memorydb/snapshot/api_op_FailoverShard.go.snap @@ -14,7 +14,6 @@ FailoverShard Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_ListAllowedMultiRegionClusterUpdates.go.snap b/service/memorydb/snapshot/api_op_ListAllowedMultiRegionClusterUpdates.go.snap index 33969c373e0..18380351b55 100644 --- a/service/memorydb/snapshot/api_op_ListAllowedMultiRegionClusterUpdates.go.snap +++ b/service/memorydb/snapshot/api_op_ListAllowedMultiRegionClusterUpdates.go.snap @@ -14,7 +14,6 @@ ListAllowedMultiRegionClusterUpdates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_ListAllowedNodeTypeUpdates.go.snap b/service/memorydb/snapshot/api_op_ListAllowedNodeTypeUpdates.go.snap index c81f7fb137a..dd1fd170f86 100644 --- a/service/memorydb/snapshot/api_op_ListAllowedNodeTypeUpdates.go.snap +++ b/service/memorydb/snapshot/api_op_ListAllowedNodeTypeUpdates.go.snap @@ -14,7 +14,6 @@ ListAllowedNodeTypeUpdates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_ListTags.go.snap b/service/memorydb/snapshot/api_op_ListTags.go.snap index 1b1e99185a9..438bd1b7aec 100644 --- a/service/memorydb/snapshot/api_op_ListTags.go.snap +++ b/service/memorydb/snapshot/api_op_ListTags.go.snap @@ -14,7 +14,6 @@ ListTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_PurchaseReservedNodesOffering.go.snap b/service/memorydb/snapshot/api_op_PurchaseReservedNodesOffering.go.snap index 2058e939c97..387865f3a8e 100644 --- a/service/memorydb/snapshot/api_op_PurchaseReservedNodesOffering.go.snap +++ b/service/memorydb/snapshot/api_op_PurchaseReservedNodesOffering.go.snap @@ -14,7 +14,6 @@ PurchaseReservedNodesOffering Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_ResetParameterGroup.go.snap b/service/memorydb/snapshot/api_op_ResetParameterGroup.go.snap index 0659a34480e..5919c1ba165 100644 --- a/service/memorydb/snapshot/api_op_ResetParameterGroup.go.snap +++ b/service/memorydb/snapshot/api_op_ResetParameterGroup.go.snap @@ -14,7 +14,6 @@ ResetParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_TagResource.go.snap b/service/memorydb/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/memorydb/snapshot/api_op_TagResource.go.snap +++ b/service/memorydb/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_UntagResource.go.snap b/service/memorydb/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/memorydb/snapshot/api_op_UntagResource.go.snap +++ b/service/memorydb/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_UpdateACL.go.snap b/service/memorydb/snapshot/api_op_UpdateACL.go.snap index 5f70e4b29b9..a8f31957f36 100644 --- a/service/memorydb/snapshot/api_op_UpdateACL.go.snap +++ b/service/memorydb/snapshot/api_op_UpdateACL.go.snap @@ -14,7 +14,6 @@ UpdateACL Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_UpdateCluster.go.snap b/service/memorydb/snapshot/api_op_UpdateCluster.go.snap index 9ff96b83973..babe61a8cd3 100644 --- a/service/memorydb/snapshot/api_op_UpdateCluster.go.snap +++ b/service/memorydb/snapshot/api_op_UpdateCluster.go.snap @@ -14,7 +14,6 @@ UpdateCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_UpdateMultiRegionCluster.go.snap b/service/memorydb/snapshot/api_op_UpdateMultiRegionCluster.go.snap index 9d59bf88d2c..4203519b3a0 100644 --- a/service/memorydb/snapshot/api_op_UpdateMultiRegionCluster.go.snap +++ b/service/memorydb/snapshot/api_op_UpdateMultiRegionCluster.go.snap @@ -14,7 +14,6 @@ UpdateMultiRegionCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_UpdateParameterGroup.go.snap b/service/memorydb/snapshot/api_op_UpdateParameterGroup.go.snap index 00a99441171..f377563d1c4 100644 --- a/service/memorydb/snapshot/api_op_UpdateParameterGroup.go.snap +++ b/service/memorydb/snapshot/api_op_UpdateParameterGroup.go.snap @@ -14,7 +14,6 @@ UpdateParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_UpdateSubnetGroup.go.snap b/service/memorydb/snapshot/api_op_UpdateSubnetGroup.go.snap index f6171a7ee94..da77919eba8 100644 --- a/service/memorydb/snapshot/api_op_UpdateSubnetGroup.go.snap +++ b/service/memorydb/snapshot/api_op_UpdateSubnetGroup.go.snap @@ -14,7 +14,6 @@ UpdateSubnetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/memorydb/snapshot/api_op_UpdateUser.go.snap b/service/memorydb/snapshot/api_op_UpdateUser.go.snap index 52e6424cb0f..bee553c064e 100644 --- a/service/memorydb/snapshot/api_op_UpdateUser.go.snap +++ b/service/memorydb/snapshot/api_op_UpdateUser.go.snap @@ -14,7 +14,6 @@ UpdateUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/api_client.go b/service/mgn/api_client.go index 2514e5d899a..f3e0a2b05d4 100644 --- a/service/mgn/api_client.go +++ b/service/mgn/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/mgn/api_op_ArchiveApplication.go b/service/mgn/api_op_ArchiveApplication.go index 4d24b245daf..3e37939d30f 100644 --- a/service/mgn/api_op_ArchiveApplication.go +++ b/service/mgn/api_op_ArchiveApplication.go @@ -142,9 +142,6 @@ func (c *Client) addOperationArchiveApplicationMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpArchiveApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_ArchiveWave.go b/service/mgn/api_op_ArchiveWave.go index 26ef4c169e2..c28f12e1b54 100644 --- a/service/mgn/api_op_ArchiveWave.go +++ b/service/mgn/api_op_ArchiveWave.go @@ -139,9 +139,6 @@ func (c *Client) addOperationArchiveWaveMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpArchiveWaveValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_AssociateApplications.go b/service/mgn/api_op_AssociateApplications.go index 9f5a70abe7c..f59af40b237 100644 --- a/service/mgn/api_op_AssociateApplications.go +++ b/service/mgn/api_op_AssociateApplications.go @@ -115,9 +115,6 @@ func (c *Client) addOperationAssociateApplicationsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateApplicationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_AssociateSourceServers.go b/service/mgn/api_op_AssociateSourceServers.go index 0825eab1dae..6c6ecc95a0c 100644 --- a/service/mgn/api_op_AssociateSourceServers.go +++ b/service/mgn/api_op_AssociateSourceServers.go @@ -115,9 +115,6 @@ func (c *Client) addOperationAssociateSourceServersMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateSourceServersValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_ChangeServerLifeCycleState.go b/service/mgn/api_op_ChangeServerLifeCycleState.go index 8854567ccd1..70c7907ef16 100644 --- a/service/mgn/api_op_ChangeServerLifeCycleState.go +++ b/service/mgn/api_op_ChangeServerLifeCycleState.go @@ -163,9 +163,6 @@ func (c *Client) addOperationChangeServerLifeCycleStateMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpChangeServerLifeCycleStateValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_CreateApplication.go b/service/mgn/api_op_CreateApplication.go index c8164c49e00..ba9e989941c 100644 --- a/service/mgn/api_op_CreateApplication.go +++ b/service/mgn/api_op_CreateApplication.go @@ -148,9 +148,6 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_CreateConnector.go b/service/mgn/api_op_CreateConnector.go index 5eeaa5bedb3..401cf5b9e61 100644 --- a/service/mgn/api_op_CreateConnector.go +++ b/service/mgn/api_op_CreateConnector.go @@ -138,9 +138,6 @@ func (c *Client) addOperationCreateConnectorMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConnectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_CreateLaunchConfigurationTemplate.go b/service/mgn/api_op_CreateLaunchConfigurationTemplate.go index 7899b0d6ba9..c4387859e18 100644 --- a/service/mgn/api_op_CreateLaunchConfigurationTemplate.go +++ b/service/mgn/api_op_CreateLaunchConfigurationTemplate.go @@ -199,9 +199,6 @@ func (c *Client) addOperationCreateLaunchConfigurationTemplateMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLaunchConfigurationTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_CreateReplicationConfigurationTemplate.go b/service/mgn/api_op_CreateReplicationConfigurationTemplate.go index 2a9adf1afbc..ef5595cb0ae 100644 --- a/service/mgn/api_op_CreateReplicationConfigurationTemplate.go +++ b/service/mgn/api_op_CreateReplicationConfigurationTemplate.go @@ -230,9 +230,6 @@ func (c *Client) addOperationCreateReplicationConfigurationTemplateMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateReplicationConfigurationTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_CreateWave.go b/service/mgn/api_op_CreateWave.go index 070157ed26b..6e2eac60bef 100644 --- a/service/mgn/api_op_CreateWave.go +++ b/service/mgn/api_op_CreateWave.go @@ -145,9 +145,6 @@ func (c *Client) addOperationCreateWaveMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateWaveValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_DeleteApplication.go b/service/mgn/api_op_DeleteApplication.go index f8c2ac2bff4..2cca6cf660f 100644 --- a/service/mgn/api_op_DeleteApplication.go +++ b/service/mgn/api_op_DeleteApplication.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_DeleteConnector.go b/service/mgn/api_op_DeleteConnector.go index 6d3c8160a5a..b944a16fa30 100644 --- a/service/mgn/api_op_DeleteConnector.go +++ b/service/mgn/api_op_DeleteConnector.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteConnectorMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConnectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_DeleteJob.go b/service/mgn/api_op_DeleteJob.go index df27bf6eb8d..0767b86bc53 100644 --- a/service/mgn/api_op_DeleteJob.go +++ b/service/mgn/api_op_DeleteJob.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteJobMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_DeleteLaunchConfigurationTemplate.go b/service/mgn/api_op_DeleteLaunchConfigurationTemplate.go index 0722ba35da2..c65be85a8d0 100644 --- a/service/mgn/api_op_DeleteLaunchConfigurationTemplate.go +++ b/service/mgn/api_op_DeleteLaunchConfigurationTemplate.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteLaunchConfigurationTemplateMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLaunchConfigurationTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_DeleteReplicationConfigurationTemplate.go b/service/mgn/api_op_DeleteReplicationConfigurationTemplate.go index 3f9fc1a3f9f..f3fc7849fdc 100644 --- a/service/mgn/api_op_DeleteReplicationConfigurationTemplate.go +++ b/service/mgn/api_op_DeleteReplicationConfigurationTemplate.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteReplicationConfigurationTemplateMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteReplicationConfigurationTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_DeleteSourceServer.go b/service/mgn/api_op_DeleteSourceServer.go index fb91099095f..5f867ee2764 100644 --- a/service/mgn/api_op_DeleteSourceServer.go +++ b/service/mgn/api_op_DeleteSourceServer.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteSourceServerMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSourceServerValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_DeleteVcenterClient.go b/service/mgn/api_op_DeleteVcenterClient.go index 8da16da2861..c68be8281f5 100644 --- a/service/mgn/api_op_DeleteVcenterClient.go +++ b/service/mgn/api_op_DeleteVcenterClient.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteVcenterClientMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVcenterClientValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_DeleteWave.go b/service/mgn/api_op_DeleteWave.go index 41d6f44601b..e552bb7b59f 100644 --- a/service/mgn/api_op_DeleteWave.go +++ b/service/mgn/api_op_DeleteWave.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteWaveMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWaveValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_DescribeJobLogItems.go b/service/mgn/api_op_DescribeJobLogItems.go index 112f32802d9..c48553345b6 100644 --- a/service/mgn/api_op_DescribeJobLogItems.go +++ b/service/mgn/api_op_DescribeJobLogItems.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeJobLogItemsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeJobLogItemsValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_DescribeJobs.go b/service/mgn/api_op_DescribeJobs.go index 2aed2511cbd..cf9e7284486 100644 --- a/service/mgn/api_op_DescribeJobs.go +++ b/service/mgn/api_op_DescribeJobs.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeJobsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mgn/api_op_DescribeLaunchConfigurationTemplates.go b/service/mgn/api_op_DescribeLaunchConfigurationTemplates.go index 64e9ee21d1f..ad65440fbe8 100644 --- a/service/mgn/api_op_DescribeLaunchConfigurationTemplates.go +++ b/service/mgn/api_op_DescribeLaunchConfigurationTemplates.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeLaunchConfigurationTemplatesMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLaunchConfigurationTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mgn/api_op_DescribeReplicationConfigurationTemplates.go b/service/mgn/api_op_DescribeReplicationConfigurationTemplates.go index 1c63a4c445f..2fb46450cfb 100644 --- a/service/mgn/api_op_DescribeReplicationConfigurationTemplates.go +++ b/service/mgn/api_op_DescribeReplicationConfigurationTemplates.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeReplicationConfigurationTemplatesMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReplicationConfigurationTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mgn/api_op_DescribeSourceServers.go b/service/mgn/api_op_DescribeSourceServers.go index 50b23d85a0f..67d1c9e823f 100644 --- a/service/mgn/api_op_DescribeSourceServers.go +++ b/service/mgn/api_op_DescribeSourceServers.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeSourceServersMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSourceServers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mgn/api_op_DescribeVcenterClients.go b/service/mgn/api_op_DescribeVcenterClients.go index 2b215ceab44..8f4a7680caf 100644 --- a/service/mgn/api_op_DescribeVcenterClients.go +++ b/service/mgn/api_op_DescribeVcenterClients.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDescribeVcenterClientsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVcenterClients(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mgn/api_op_DisassociateApplications.go b/service/mgn/api_op_DisassociateApplications.go index ae7fdf1d6c6..4b29153f91e 100644 --- a/service/mgn/api_op_DisassociateApplications.go +++ b/service/mgn/api_op_DisassociateApplications.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDisassociateApplicationsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateApplicationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_DisassociateSourceServers.go b/service/mgn/api_op_DisassociateSourceServers.go index a7766fcf70f..5abcb0d5ec1 100644 --- a/service/mgn/api_op_DisassociateSourceServers.go +++ b/service/mgn/api_op_DisassociateSourceServers.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDisassociateSourceServersMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateSourceServersValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_DisconnectFromService.go b/service/mgn/api_op_DisconnectFromService.go index df90b4880be..8a1ff3037b1 100644 --- a/service/mgn/api_op_DisconnectFromService.go +++ b/service/mgn/api_op_DisconnectFromService.go @@ -165,9 +165,6 @@ func (c *Client) addOperationDisconnectFromServiceMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisconnectFromServiceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_FinalizeCutover.go b/service/mgn/api_op_FinalizeCutover.go index 2f34af602c4..bcd07c680cd 100644 --- a/service/mgn/api_op_FinalizeCutover.go +++ b/service/mgn/api_op_FinalizeCutover.go @@ -164,9 +164,6 @@ func (c *Client) addOperationFinalizeCutoverMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpFinalizeCutoverValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_GetLaunchConfiguration.go b/service/mgn/api_op_GetLaunchConfiguration.go index da8c7c94486..0f92e656448 100644 --- a/service/mgn/api_op_GetLaunchConfiguration.go +++ b/service/mgn/api_op_GetLaunchConfiguration.go @@ -148,9 +148,6 @@ func (c *Client) addOperationGetLaunchConfigurationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLaunchConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_GetReplicationConfiguration.go b/service/mgn/api_op_GetReplicationConfiguration.go index ffe9fc180c2..5fdf99f7c57 100644 --- a/service/mgn/api_op_GetReplicationConfiguration.go +++ b/service/mgn/api_op_GetReplicationConfiguration.go @@ -161,9 +161,6 @@ func (c *Client) addOperationGetReplicationConfigurationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetReplicationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_InitializeService.go b/service/mgn/api_op_InitializeService.go index 3eaa7490f03..dde1a255597 100644 --- a/service/mgn/api_op_InitializeService.go +++ b/service/mgn/api_op_InitializeService.go @@ -101,9 +101,6 @@ func (c *Client) addOperationInitializeServiceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInitializeService(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mgn/api_op_ListApplications.go b/service/mgn/api_op_ListApplications.go index 136124f5f98..4296653f268 100644 --- a/service/mgn/api_op_ListApplications.go +++ b/service/mgn/api_op_ListApplications.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListApplicationsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplications(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mgn/api_op_ListConnectors.go b/service/mgn/api_op_ListConnectors.go index 9e20f2ae0a4..670f6c4ecbb 100644 --- a/service/mgn/api_op_ListConnectors.go +++ b/service/mgn/api_op_ListConnectors.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListConnectorsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConnectors(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mgn/api_op_ListExportErrors.go b/service/mgn/api_op_ListExportErrors.go index d16a69ee681..cf55b6b66f1 100644 --- a/service/mgn/api_op_ListExportErrors.go +++ b/service/mgn/api_op_ListExportErrors.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListExportErrorsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListExportErrorsValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_ListExports.go b/service/mgn/api_op_ListExports.go index 37cd6fdf965..09c35e62578 100644 --- a/service/mgn/api_op_ListExports.go +++ b/service/mgn/api_op_ListExports.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListExportsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExports(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mgn/api_op_ListImportErrors.go b/service/mgn/api_op_ListImportErrors.go index 7eec679e756..9bdcfb9f2a8 100644 --- a/service/mgn/api_op_ListImportErrors.go +++ b/service/mgn/api_op_ListImportErrors.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListImportErrorsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListImportErrorsValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_ListImports.go b/service/mgn/api_op_ListImports.go index d0f550c7bf2..0f5ce269682 100644 --- a/service/mgn/api_op_ListImports.go +++ b/service/mgn/api_op_ListImports.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListImportsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImports(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mgn/api_op_ListManagedAccounts.go b/service/mgn/api_op_ListManagedAccounts.go index b8ee6ca52f9..00279ebf59f 100644 --- a/service/mgn/api_op_ListManagedAccounts.go +++ b/service/mgn/api_op_ListManagedAccounts.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListManagedAccountsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListManagedAccounts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mgn/api_op_ListSourceServerActions.go b/service/mgn/api_op_ListSourceServerActions.go index 742f045b4bf..757fd853edf 100644 --- a/service/mgn/api_op_ListSourceServerActions.go +++ b/service/mgn/api_op_ListSourceServerActions.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListSourceServerActionsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSourceServerActionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_ListTagsForResource.go b/service/mgn/api_op_ListTagsForResource.go index 321f88fa3c9..e73b588d2bb 100644 --- a/service/mgn/api_op_ListTagsForResource.go +++ b/service/mgn/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_ListTemplateActions.go b/service/mgn/api_op_ListTemplateActions.go index 45bc80d7a3c..7b20450da75 100644 --- a/service/mgn/api_op_ListTemplateActions.go +++ b/service/mgn/api_op_ListTemplateActions.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListTemplateActionsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTemplateActionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_ListWaves.go b/service/mgn/api_op_ListWaves.go index fc3f87c2d36..52ed72c9ae7 100644 --- a/service/mgn/api_op_ListWaves.go +++ b/service/mgn/api_op_ListWaves.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListWavesMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWaves(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mgn/api_op_MarkAsArchived.go b/service/mgn/api_op_MarkAsArchived.go index 0105d51c023..44f5b48c80e 100644 --- a/service/mgn/api_op_MarkAsArchived.go +++ b/service/mgn/api_op_MarkAsArchived.go @@ -156,9 +156,6 @@ func (c *Client) addOperationMarkAsArchivedMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMarkAsArchivedValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_PauseReplication.go b/service/mgn/api_op_PauseReplication.go index 04ab3d3f590..6ede0b92f98 100644 --- a/service/mgn/api_op_PauseReplication.go +++ b/service/mgn/api_op_PauseReplication.go @@ -154,9 +154,6 @@ func (c *Client) addOperationPauseReplicationMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPauseReplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_PutSourceServerAction.go b/service/mgn/api_op_PutSourceServerAction.go index 7b37da95a37..eaf6080ff4e 100644 --- a/service/mgn/api_op_PutSourceServerAction.go +++ b/service/mgn/api_op_PutSourceServerAction.go @@ -192,9 +192,6 @@ func (c *Client) addOperationPutSourceServerActionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutSourceServerActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_PutTemplateAction.go b/service/mgn/api_op_PutTemplateAction.go index a2fe9162ad8..7aec7db2f97 100644 --- a/service/mgn/api_op_PutTemplateAction.go +++ b/service/mgn/api_op_PutTemplateAction.go @@ -195,9 +195,6 @@ func (c *Client) addOperationPutTemplateActionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutTemplateActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_RemoveSourceServerAction.go b/service/mgn/api_op_RemoveSourceServerAction.go index e8b8019a387..77453d651b7 100644 --- a/service/mgn/api_op_RemoveSourceServerAction.go +++ b/service/mgn/api_op_RemoveSourceServerAction.go @@ -115,9 +115,6 @@ func (c *Client) addOperationRemoveSourceServerActionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveSourceServerActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_RemoveTemplateAction.go b/service/mgn/api_op_RemoveTemplateAction.go index 50d821f9484..52ac4a854e8 100644 --- a/service/mgn/api_op_RemoveTemplateAction.go +++ b/service/mgn/api_op_RemoveTemplateAction.go @@ -112,9 +112,6 @@ func (c *Client) addOperationRemoveTemplateActionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveTemplateActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_ResumeReplication.go b/service/mgn/api_op_ResumeReplication.go index 016f788b1a4..d8897928fef 100644 --- a/service/mgn/api_op_ResumeReplication.go +++ b/service/mgn/api_op_ResumeReplication.go @@ -154,9 +154,6 @@ func (c *Client) addOperationResumeReplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResumeReplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_RetryDataReplication.go b/service/mgn/api_op_RetryDataReplication.go index 208a5cc16b9..da2ee03da9d 100644 --- a/service/mgn/api_op_RetryDataReplication.go +++ b/service/mgn/api_op_RetryDataReplication.go @@ -157,9 +157,6 @@ func (c *Client) addOperationRetryDataReplicationMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRetryDataReplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_StartCutover.go b/service/mgn/api_op_StartCutover.go index cccb3d9f92d..c79fd79bb49 100644 --- a/service/mgn/api_op_StartCutover.go +++ b/service/mgn/api_op_StartCutover.go @@ -120,9 +120,6 @@ func (c *Client) addOperationStartCutoverMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartCutoverValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_StartExport.go b/service/mgn/api_op_StartExport.go index a92fadffe26..1b17eb1783c 100644 --- a/service/mgn/api_op_StartExport.go +++ b/service/mgn/api_op_StartExport.go @@ -122,9 +122,6 @@ func (c *Client) addOperationStartExportMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartExportValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_StartImport.go b/service/mgn/api_op_StartImport.go index 93744fe3dd5..3968c54458f 100644 --- a/service/mgn/api_op_StartImport.go +++ b/service/mgn/api_op_StartImport.go @@ -117,9 +117,6 @@ func (c *Client) addOperationStartImportMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartImportMiddleware(stack, options); err != nil { return err } diff --git a/service/mgn/api_op_StartReplication.go b/service/mgn/api_op_StartReplication.go index 5bb03737da7..6e162d9331e 100644 --- a/service/mgn/api_op_StartReplication.go +++ b/service/mgn/api_op_StartReplication.go @@ -154,9 +154,6 @@ func (c *Client) addOperationStartReplicationMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartReplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_StartTest.go b/service/mgn/api_op_StartTest.go index faaf6f0ce6b..e37cb759178 100644 --- a/service/mgn/api_op_StartTest.go +++ b/service/mgn/api_op_StartTest.go @@ -120,9 +120,6 @@ func (c *Client) addOperationStartTestMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartTestValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_StopReplication.go b/service/mgn/api_op_StopReplication.go index 028b8c70872..924b80d1616 100644 --- a/service/mgn/api_op_StopReplication.go +++ b/service/mgn/api_op_StopReplication.go @@ -154,9 +154,6 @@ func (c *Client) addOperationStopReplicationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopReplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_TagResource.go b/service/mgn/api_op_TagResource.go index ef40b947bb8..f48f54f95ab 100644 --- a/service/mgn/api_op_TagResource.go +++ b/service/mgn/api_op_TagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_TerminateTargetInstances.go b/service/mgn/api_op_TerminateTargetInstances.go index 268388bffa3..5cf27f334c0 100644 --- a/service/mgn/api_op_TerminateTargetInstances.go +++ b/service/mgn/api_op_TerminateTargetInstances.go @@ -120,9 +120,6 @@ func (c *Client) addOperationTerminateTargetInstancesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTerminateTargetInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_UnarchiveApplication.go b/service/mgn/api_op_UnarchiveApplication.go index eacc8565b4e..41b5627eb6f 100644 --- a/service/mgn/api_op_UnarchiveApplication.go +++ b/service/mgn/api_op_UnarchiveApplication.go @@ -142,9 +142,6 @@ func (c *Client) addOperationUnarchiveApplicationMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUnarchiveApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_UnarchiveWave.go b/service/mgn/api_op_UnarchiveWave.go index 51561b2073e..c9e6366f4ac 100644 --- a/service/mgn/api_op_UnarchiveWave.go +++ b/service/mgn/api_op_UnarchiveWave.go @@ -139,9 +139,6 @@ func (c *Client) addOperationUnarchiveWaveMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUnarchiveWaveValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_UntagResource.go b/service/mgn/api_op_UntagResource.go index 52f106dd1d5..7b336249126 100644 --- a/service/mgn/api_op_UntagResource.go +++ b/service/mgn/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_UpdateApplication.go b/service/mgn/api_op_UpdateApplication.go index 67a9a2cc082..3ac1627fab9 100644 --- a/service/mgn/api_op_UpdateApplication.go +++ b/service/mgn/api_op_UpdateApplication.go @@ -148,9 +148,6 @@ func (c *Client) addOperationUpdateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_UpdateConnector.go b/service/mgn/api_op_UpdateConnector.go index fbbcd0fc057..7e1fc08898a 100644 --- a/service/mgn/api_op_UpdateConnector.go +++ b/service/mgn/api_op_UpdateConnector.go @@ -133,9 +133,6 @@ func (c *Client) addOperationUpdateConnectorMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConnectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_UpdateLaunchConfiguration.go b/service/mgn/api_op_UpdateLaunchConfiguration.go index c1c96fc1044..ec3ed395ab2 100644 --- a/service/mgn/api_op_UpdateLaunchConfiguration.go +++ b/service/mgn/api_op_UpdateLaunchConfiguration.go @@ -180,9 +180,6 @@ func (c *Client) addOperationUpdateLaunchConfigurationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLaunchConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_UpdateLaunchConfigurationTemplate.go b/service/mgn/api_op_UpdateLaunchConfigurationTemplate.go index 2ce4375d352..b427c1e18aa 100644 --- a/service/mgn/api_op_UpdateLaunchConfigurationTemplate.go +++ b/service/mgn/api_op_UpdateLaunchConfigurationTemplate.go @@ -201,9 +201,6 @@ func (c *Client) addOperationUpdateLaunchConfigurationTemplateMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLaunchConfigurationTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_UpdateReplicationConfiguration.go b/service/mgn/api_op_UpdateReplicationConfiguration.go index 45bf29a686a..99002d4a726 100644 --- a/service/mgn/api_op_UpdateReplicationConfiguration.go +++ b/service/mgn/api_op_UpdateReplicationConfiguration.go @@ -207,9 +207,6 @@ func (c *Client) addOperationUpdateReplicationConfigurationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateReplicationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_UpdateReplicationConfigurationTemplate.go b/service/mgn/api_op_UpdateReplicationConfigurationTemplate.go index f82f1a53ea5..4465f943e0d 100644 --- a/service/mgn/api_op_UpdateReplicationConfigurationTemplate.go +++ b/service/mgn/api_op_UpdateReplicationConfigurationTemplate.go @@ -207,9 +207,6 @@ func (c *Client) addOperationUpdateReplicationConfigurationTemplateMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateReplicationConfigurationTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_UpdateSourceServer.go b/service/mgn/api_op_UpdateSourceServer.go index e89f4ca9b6e..34f91e8e919 100644 --- a/service/mgn/api_op_UpdateSourceServer.go +++ b/service/mgn/api_op_UpdateSourceServer.go @@ -157,9 +157,6 @@ func (c *Client) addOperationUpdateSourceServerMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSourceServerValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_UpdateSourceServerReplicationType.go b/service/mgn/api_op_UpdateSourceServerReplicationType.go index 3b3a5e0ebe2..5c7a54de38e 100644 --- a/service/mgn/api_op_UpdateSourceServerReplicationType.go +++ b/service/mgn/api_op_UpdateSourceServerReplicationType.go @@ -160,9 +160,6 @@ func (c *Client) addOperationUpdateSourceServerReplicationTypeMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSourceServerReplicationTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/api_op_UpdateWave.go b/service/mgn/api_op_UpdateWave.go index a9e08df08e3..b0ef300f9eb 100644 --- a/service/mgn/api_op_UpdateWave.go +++ b/service/mgn/api_op_UpdateWave.go @@ -145,9 +145,6 @@ func (c *Client) addOperationUpdateWaveMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateWaveValidationMiddleware(stack); err != nil { return err } diff --git a/service/mgn/snapshot/api_op_ArchiveApplication.go.snap b/service/mgn/snapshot/api_op_ArchiveApplication.go.snap index 1e716a15f73..b8cbe2df5c0 100644 --- a/service/mgn/snapshot/api_op_ArchiveApplication.go.snap +++ b/service/mgn/snapshot/api_op_ArchiveApplication.go.snap @@ -14,7 +14,6 @@ ArchiveApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_ArchiveWave.go.snap b/service/mgn/snapshot/api_op_ArchiveWave.go.snap index d9b92a6f0b0..dac5bd5c47e 100644 --- a/service/mgn/snapshot/api_op_ArchiveWave.go.snap +++ b/service/mgn/snapshot/api_op_ArchiveWave.go.snap @@ -14,7 +14,6 @@ ArchiveWave Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_AssociateApplications.go.snap b/service/mgn/snapshot/api_op_AssociateApplications.go.snap index 0b69409d7bb..5f4e6f8d37a 100644 --- a/service/mgn/snapshot/api_op_AssociateApplications.go.snap +++ b/service/mgn/snapshot/api_op_AssociateApplications.go.snap @@ -14,7 +14,6 @@ AssociateApplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_AssociateSourceServers.go.snap b/service/mgn/snapshot/api_op_AssociateSourceServers.go.snap index 32a6f8ca861..9b96e30e286 100644 --- a/service/mgn/snapshot/api_op_AssociateSourceServers.go.snap +++ b/service/mgn/snapshot/api_op_AssociateSourceServers.go.snap @@ -14,7 +14,6 @@ AssociateSourceServers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_ChangeServerLifeCycleState.go.snap b/service/mgn/snapshot/api_op_ChangeServerLifeCycleState.go.snap index e6bfc479b64..426933167cf 100644 --- a/service/mgn/snapshot/api_op_ChangeServerLifeCycleState.go.snap +++ b/service/mgn/snapshot/api_op_ChangeServerLifeCycleState.go.snap @@ -14,7 +14,6 @@ ChangeServerLifeCycleState Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_CreateApplication.go.snap b/service/mgn/snapshot/api_op_CreateApplication.go.snap index 503ca240c75..7174d11f956 100644 --- a/service/mgn/snapshot/api_op_CreateApplication.go.snap +++ b/service/mgn/snapshot/api_op_CreateApplication.go.snap @@ -14,7 +14,6 @@ CreateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_CreateConnector.go.snap b/service/mgn/snapshot/api_op_CreateConnector.go.snap index 08389295e76..d71f8a54a3f 100644 --- a/service/mgn/snapshot/api_op_CreateConnector.go.snap +++ b/service/mgn/snapshot/api_op_CreateConnector.go.snap @@ -14,7 +14,6 @@ CreateConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_CreateLaunchConfigurationTemplate.go.snap b/service/mgn/snapshot/api_op_CreateLaunchConfigurationTemplate.go.snap index 38cd774b8f3..89e003f3480 100644 --- a/service/mgn/snapshot/api_op_CreateLaunchConfigurationTemplate.go.snap +++ b/service/mgn/snapshot/api_op_CreateLaunchConfigurationTemplate.go.snap @@ -14,7 +14,6 @@ CreateLaunchConfigurationTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_CreateReplicationConfigurationTemplate.go.snap b/service/mgn/snapshot/api_op_CreateReplicationConfigurationTemplate.go.snap index 3df2b264bc8..29ac3d030b4 100644 --- a/service/mgn/snapshot/api_op_CreateReplicationConfigurationTemplate.go.snap +++ b/service/mgn/snapshot/api_op_CreateReplicationConfigurationTemplate.go.snap @@ -14,7 +14,6 @@ CreateReplicationConfigurationTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_CreateWave.go.snap b/service/mgn/snapshot/api_op_CreateWave.go.snap index c6bd4c397e0..0747dcb8af7 100644 --- a/service/mgn/snapshot/api_op_CreateWave.go.snap +++ b/service/mgn/snapshot/api_op_CreateWave.go.snap @@ -14,7 +14,6 @@ CreateWave Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_DeleteApplication.go.snap b/service/mgn/snapshot/api_op_DeleteApplication.go.snap index 80790355ed5..ffda37a527f 100644 --- a/service/mgn/snapshot/api_op_DeleteApplication.go.snap +++ b/service/mgn/snapshot/api_op_DeleteApplication.go.snap @@ -14,7 +14,6 @@ DeleteApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_DeleteConnector.go.snap b/service/mgn/snapshot/api_op_DeleteConnector.go.snap index 08ade4bd1ad..f50e7136af2 100644 --- a/service/mgn/snapshot/api_op_DeleteConnector.go.snap +++ b/service/mgn/snapshot/api_op_DeleteConnector.go.snap @@ -14,7 +14,6 @@ DeleteConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_DeleteJob.go.snap b/service/mgn/snapshot/api_op_DeleteJob.go.snap index fa2c54dcf0a..d47c3554a1e 100644 --- a/service/mgn/snapshot/api_op_DeleteJob.go.snap +++ b/service/mgn/snapshot/api_op_DeleteJob.go.snap @@ -14,7 +14,6 @@ DeleteJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_DeleteLaunchConfigurationTemplate.go.snap b/service/mgn/snapshot/api_op_DeleteLaunchConfigurationTemplate.go.snap index 5959f7ed8bb..e0685edca87 100644 --- a/service/mgn/snapshot/api_op_DeleteLaunchConfigurationTemplate.go.snap +++ b/service/mgn/snapshot/api_op_DeleteLaunchConfigurationTemplate.go.snap @@ -14,7 +14,6 @@ DeleteLaunchConfigurationTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_DeleteReplicationConfigurationTemplate.go.snap b/service/mgn/snapshot/api_op_DeleteReplicationConfigurationTemplate.go.snap index 978efd57c61..d610b7456cf 100644 --- a/service/mgn/snapshot/api_op_DeleteReplicationConfigurationTemplate.go.snap +++ b/service/mgn/snapshot/api_op_DeleteReplicationConfigurationTemplate.go.snap @@ -14,7 +14,6 @@ DeleteReplicationConfigurationTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_DeleteSourceServer.go.snap b/service/mgn/snapshot/api_op_DeleteSourceServer.go.snap index 02929169f63..e4ffc9e9ea4 100644 --- a/service/mgn/snapshot/api_op_DeleteSourceServer.go.snap +++ b/service/mgn/snapshot/api_op_DeleteSourceServer.go.snap @@ -14,7 +14,6 @@ DeleteSourceServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_DeleteVcenterClient.go.snap b/service/mgn/snapshot/api_op_DeleteVcenterClient.go.snap index a56c907c82b..b10815a0373 100644 --- a/service/mgn/snapshot/api_op_DeleteVcenterClient.go.snap +++ b/service/mgn/snapshot/api_op_DeleteVcenterClient.go.snap @@ -14,7 +14,6 @@ DeleteVcenterClient Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_DeleteWave.go.snap b/service/mgn/snapshot/api_op_DeleteWave.go.snap index 9c3fb67bcff..a24652861c9 100644 --- a/service/mgn/snapshot/api_op_DeleteWave.go.snap +++ b/service/mgn/snapshot/api_op_DeleteWave.go.snap @@ -14,7 +14,6 @@ DeleteWave Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_DescribeJobLogItems.go.snap b/service/mgn/snapshot/api_op_DescribeJobLogItems.go.snap index 3161e40fe3a..d5da054ae97 100644 --- a/service/mgn/snapshot/api_op_DescribeJobLogItems.go.snap +++ b/service/mgn/snapshot/api_op_DescribeJobLogItems.go.snap @@ -14,7 +14,6 @@ DescribeJobLogItems Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_DescribeJobs.go.snap b/service/mgn/snapshot/api_op_DescribeJobs.go.snap index 21e31ccf7da..8a20c7544c2 100644 --- a/service/mgn/snapshot/api_op_DescribeJobs.go.snap +++ b/service/mgn/snapshot/api_op_DescribeJobs.go.snap @@ -13,7 +13,6 @@ DescribeJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_DescribeLaunchConfigurationTemplates.go.snap b/service/mgn/snapshot/api_op_DescribeLaunchConfigurationTemplates.go.snap index bc5422c1166..25de97ccb61 100644 --- a/service/mgn/snapshot/api_op_DescribeLaunchConfigurationTemplates.go.snap +++ b/service/mgn/snapshot/api_op_DescribeLaunchConfigurationTemplates.go.snap @@ -13,7 +13,6 @@ DescribeLaunchConfigurationTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_DescribeReplicationConfigurationTemplates.go.snap b/service/mgn/snapshot/api_op_DescribeReplicationConfigurationTemplates.go.snap index 3937e32b5c1..a0c7c6bbac9 100644 --- a/service/mgn/snapshot/api_op_DescribeReplicationConfigurationTemplates.go.snap +++ b/service/mgn/snapshot/api_op_DescribeReplicationConfigurationTemplates.go.snap @@ -13,7 +13,6 @@ DescribeReplicationConfigurationTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_DescribeSourceServers.go.snap b/service/mgn/snapshot/api_op_DescribeSourceServers.go.snap index 418ba77278e..58bfd7282cd 100644 --- a/service/mgn/snapshot/api_op_DescribeSourceServers.go.snap +++ b/service/mgn/snapshot/api_op_DescribeSourceServers.go.snap @@ -13,7 +13,6 @@ DescribeSourceServers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_DescribeVcenterClients.go.snap b/service/mgn/snapshot/api_op_DescribeVcenterClients.go.snap index d20bfd8056b..9cbf0df09c9 100644 --- a/service/mgn/snapshot/api_op_DescribeVcenterClients.go.snap +++ b/service/mgn/snapshot/api_op_DescribeVcenterClients.go.snap @@ -13,7 +13,6 @@ DescribeVcenterClients Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_DisassociateApplications.go.snap b/service/mgn/snapshot/api_op_DisassociateApplications.go.snap index 165576b2f3a..ccd95a72b8f 100644 --- a/service/mgn/snapshot/api_op_DisassociateApplications.go.snap +++ b/service/mgn/snapshot/api_op_DisassociateApplications.go.snap @@ -14,7 +14,6 @@ DisassociateApplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_DisassociateSourceServers.go.snap b/service/mgn/snapshot/api_op_DisassociateSourceServers.go.snap index b6aa2b5882f..6d7d85a98b5 100644 --- a/service/mgn/snapshot/api_op_DisassociateSourceServers.go.snap +++ b/service/mgn/snapshot/api_op_DisassociateSourceServers.go.snap @@ -14,7 +14,6 @@ DisassociateSourceServers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_DisconnectFromService.go.snap b/service/mgn/snapshot/api_op_DisconnectFromService.go.snap index eb069f3eee9..5e81c73e5cf 100644 --- a/service/mgn/snapshot/api_op_DisconnectFromService.go.snap +++ b/service/mgn/snapshot/api_op_DisconnectFromService.go.snap @@ -14,7 +14,6 @@ DisconnectFromService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_FinalizeCutover.go.snap b/service/mgn/snapshot/api_op_FinalizeCutover.go.snap index 22888e1e6e4..72a32bd01fa 100644 --- a/service/mgn/snapshot/api_op_FinalizeCutover.go.snap +++ b/service/mgn/snapshot/api_op_FinalizeCutover.go.snap @@ -14,7 +14,6 @@ FinalizeCutover Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_GetLaunchConfiguration.go.snap b/service/mgn/snapshot/api_op_GetLaunchConfiguration.go.snap index 099b92f97b0..ab0ea078438 100644 --- a/service/mgn/snapshot/api_op_GetLaunchConfiguration.go.snap +++ b/service/mgn/snapshot/api_op_GetLaunchConfiguration.go.snap @@ -14,7 +14,6 @@ GetLaunchConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_GetReplicationConfiguration.go.snap b/service/mgn/snapshot/api_op_GetReplicationConfiguration.go.snap index 9339628769c..86d8f1f40b2 100644 --- a/service/mgn/snapshot/api_op_GetReplicationConfiguration.go.snap +++ b/service/mgn/snapshot/api_op_GetReplicationConfiguration.go.snap @@ -14,7 +14,6 @@ GetReplicationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_InitializeService.go.snap b/service/mgn/snapshot/api_op_InitializeService.go.snap index 5c4dfac0ee9..39ba52775e4 100644 --- a/service/mgn/snapshot/api_op_InitializeService.go.snap +++ b/service/mgn/snapshot/api_op_InitializeService.go.snap @@ -13,7 +13,6 @@ InitializeService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_ListApplications.go.snap b/service/mgn/snapshot/api_op_ListApplications.go.snap index e18746bd34f..6029195b8e8 100644 --- a/service/mgn/snapshot/api_op_ListApplications.go.snap +++ b/service/mgn/snapshot/api_op_ListApplications.go.snap @@ -13,7 +13,6 @@ ListApplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_ListConnectors.go.snap b/service/mgn/snapshot/api_op_ListConnectors.go.snap index 43a1f535ec6..713efc01581 100644 --- a/service/mgn/snapshot/api_op_ListConnectors.go.snap +++ b/service/mgn/snapshot/api_op_ListConnectors.go.snap @@ -13,7 +13,6 @@ ListConnectors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_ListExportErrors.go.snap b/service/mgn/snapshot/api_op_ListExportErrors.go.snap index 9dca173924a..9f88073ad80 100644 --- a/service/mgn/snapshot/api_op_ListExportErrors.go.snap +++ b/service/mgn/snapshot/api_op_ListExportErrors.go.snap @@ -14,7 +14,6 @@ ListExportErrors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_ListExports.go.snap b/service/mgn/snapshot/api_op_ListExports.go.snap index 711d1eed083..40d43cc0824 100644 --- a/service/mgn/snapshot/api_op_ListExports.go.snap +++ b/service/mgn/snapshot/api_op_ListExports.go.snap @@ -13,7 +13,6 @@ ListExports Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_ListImportErrors.go.snap b/service/mgn/snapshot/api_op_ListImportErrors.go.snap index 744d72216c1..da1fac1c206 100644 --- a/service/mgn/snapshot/api_op_ListImportErrors.go.snap +++ b/service/mgn/snapshot/api_op_ListImportErrors.go.snap @@ -14,7 +14,6 @@ ListImportErrors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_ListImports.go.snap b/service/mgn/snapshot/api_op_ListImports.go.snap index 6488b45f588..df03e4bff6a 100644 --- a/service/mgn/snapshot/api_op_ListImports.go.snap +++ b/service/mgn/snapshot/api_op_ListImports.go.snap @@ -13,7 +13,6 @@ ListImports Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_ListManagedAccounts.go.snap b/service/mgn/snapshot/api_op_ListManagedAccounts.go.snap index 1e1ec34d6ac..22653ee1de1 100644 --- a/service/mgn/snapshot/api_op_ListManagedAccounts.go.snap +++ b/service/mgn/snapshot/api_op_ListManagedAccounts.go.snap @@ -13,7 +13,6 @@ ListManagedAccounts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_ListSourceServerActions.go.snap b/service/mgn/snapshot/api_op_ListSourceServerActions.go.snap index ecd513f08d1..896006e2426 100644 --- a/service/mgn/snapshot/api_op_ListSourceServerActions.go.snap +++ b/service/mgn/snapshot/api_op_ListSourceServerActions.go.snap @@ -14,7 +14,6 @@ ListSourceServerActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_ListTagsForResource.go.snap b/service/mgn/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/mgn/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/mgn/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_ListTemplateActions.go.snap b/service/mgn/snapshot/api_op_ListTemplateActions.go.snap index e097fc62149..6a4d3ca2904 100644 --- a/service/mgn/snapshot/api_op_ListTemplateActions.go.snap +++ b/service/mgn/snapshot/api_op_ListTemplateActions.go.snap @@ -14,7 +14,6 @@ ListTemplateActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_ListWaves.go.snap b/service/mgn/snapshot/api_op_ListWaves.go.snap index 72c1d9e2f5d..d0d0d801683 100644 --- a/service/mgn/snapshot/api_op_ListWaves.go.snap +++ b/service/mgn/snapshot/api_op_ListWaves.go.snap @@ -13,7 +13,6 @@ ListWaves Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_MarkAsArchived.go.snap b/service/mgn/snapshot/api_op_MarkAsArchived.go.snap index 99a812ea1fd..2ac4a0f1b38 100644 --- a/service/mgn/snapshot/api_op_MarkAsArchived.go.snap +++ b/service/mgn/snapshot/api_op_MarkAsArchived.go.snap @@ -14,7 +14,6 @@ MarkAsArchived Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_PauseReplication.go.snap b/service/mgn/snapshot/api_op_PauseReplication.go.snap index 915165af8e2..881703bb4b0 100644 --- a/service/mgn/snapshot/api_op_PauseReplication.go.snap +++ b/service/mgn/snapshot/api_op_PauseReplication.go.snap @@ -14,7 +14,6 @@ PauseReplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_PutSourceServerAction.go.snap b/service/mgn/snapshot/api_op_PutSourceServerAction.go.snap index eaf706d41b8..684b9d6dd3c 100644 --- a/service/mgn/snapshot/api_op_PutSourceServerAction.go.snap +++ b/service/mgn/snapshot/api_op_PutSourceServerAction.go.snap @@ -14,7 +14,6 @@ PutSourceServerAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_PutTemplateAction.go.snap b/service/mgn/snapshot/api_op_PutTemplateAction.go.snap index 01445581e72..e638974f2f3 100644 --- a/service/mgn/snapshot/api_op_PutTemplateAction.go.snap +++ b/service/mgn/snapshot/api_op_PutTemplateAction.go.snap @@ -14,7 +14,6 @@ PutTemplateAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_RemoveSourceServerAction.go.snap b/service/mgn/snapshot/api_op_RemoveSourceServerAction.go.snap index b99f0fccc9e..e1145b82978 100644 --- a/service/mgn/snapshot/api_op_RemoveSourceServerAction.go.snap +++ b/service/mgn/snapshot/api_op_RemoveSourceServerAction.go.snap @@ -14,7 +14,6 @@ RemoveSourceServerAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_RemoveTemplateAction.go.snap b/service/mgn/snapshot/api_op_RemoveTemplateAction.go.snap index 8d52ed45bd4..46543f6e37d 100644 --- a/service/mgn/snapshot/api_op_RemoveTemplateAction.go.snap +++ b/service/mgn/snapshot/api_op_RemoveTemplateAction.go.snap @@ -14,7 +14,6 @@ RemoveTemplateAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_ResumeReplication.go.snap b/service/mgn/snapshot/api_op_ResumeReplication.go.snap index ce9076c82a7..36c0d2a7e45 100644 --- a/service/mgn/snapshot/api_op_ResumeReplication.go.snap +++ b/service/mgn/snapshot/api_op_ResumeReplication.go.snap @@ -14,7 +14,6 @@ ResumeReplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_RetryDataReplication.go.snap b/service/mgn/snapshot/api_op_RetryDataReplication.go.snap index 9bc5308f4a5..7137092c6c3 100644 --- a/service/mgn/snapshot/api_op_RetryDataReplication.go.snap +++ b/service/mgn/snapshot/api_op_RetryDataReplication.go.snap @@ -14,7 +14,6 @@ RetryDataReplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_StartCutover.go.snap b/service/mgn/snapshot/api_op_StartCutover.go.snap index b3c7b2d3e1a..d27fe7b9c9d 100644 --- a/service/mgn/snapshot/api_op_StartCutover.go.snap +++ b/service/mgn/snapshot/api_op_StartCutover.go.snap @@ -14,7 +14,6 @@ StartCutover Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_StartExport.go.snap b/service/mgn/snapshot/api_op_StartExport.go.snap index 4696ff6dc3c..4b2bd8ca8d0 100644 --- a/service/mgn/snapshot/api_op_StartExport.go.snap +++ b/service/mgn/snapshot/api_op_StartExport.go.snap @@ -14,7 +14,6 @@ StartExport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_StartImport.go.snap b/service/mgn/snapshot/api_op_StartImport.go.snap index 8232345268b..7039da5ab97 100644 --- a/service/mgn/snapshot/api_op_StartImport.go.snap +++ b/service/mgn/snapshot/api_op_StartImport.go.snap @@ -15,7 +15,6 @@ StartImport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_StartReplication.go.snap b/service/mgn/snapshot/api_op_StartReplication.go.snap index 8a16fe45079..b070d6f4dd3 100644 --- a/service/mgn/snapshot/api_op_StartReplication.go.snap +++ b/service/mgn/snapshot/api_op_StartReplication.go.snap @@ -14,7 +14,6 @@ StartReplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_StartTest.go.snap b/service/mgn/snapshot/api_op_StartTest.go.snap index be9f5448b31..95070629e11 100644 --- a/service/mgn/snapshot/api_op_StartTest.go.snap +++ b/service/mgn/snapshot/api_op_StartTest.go.snap @@ -14,7 +14,6 @@ StartTest Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_StopReplication.go.snap b/service/mgn/snapshot/api_op_StopReplication.go.snap index 2e14d2813d5..7d8c9401bf4 100644 --- a/service/mgn/snapshot/api_op_StopReplication.go.snap +++ b/service/mgn/snapshot/api_op_StopReplication.go.snap @@ -14,7 +14,6 @@ StopReplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_TagResource.go.snap b/service/mgn/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/mgn/snapshot/api_op_TagResource.go.snap +++ b/service/mgn/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_TerminateTargetInstances.go.snap b/service/mgn/snapshot/api_op_TerminateTargetInstances.go.snap index f7edb70cc1b..c3a22ee1845 100644 --- a/service/mgn/snapshot/api_op_TerminateTargetInstances.go.snap +++ b/service/mgn/snapshot/api_op_TerminateTargetInstances.go.snap @@ -14,7 +14,6 @@ TerminateTargetInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_UnarchiveApplication.go.snap b/service/mgn/snapshot/api_op_UnarchiveApplication.go.snap index 6c15df46f2b..be6fadfbed6 100644 --- a/service/mgn/snapshot/api_op_UnarchiveApplication.go.snap +++ b/service/mgn/snapshot/api_op_UnarchiveApplication.go.snap @@ -14,7 +14,6 @@ UnarchiveApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_UnarchiveWave.go.snap b/service/mgn/snapshot/api_op_UnarchiveWave.go.snap index 7e345850ca0..413a0ffdf49 100644 --- a/service/mgn/snapshot/api_op_UnarchiveWave.go.snap +++ b/service/mgn/snapshot/api_op_UnarchiveWave.go.snap @@ -14,7 +14,6 @@ UnarchiveWave Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_UntagResource.go.snap b/service/mgn/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/mgn/snapshot/api_op_UntagResource.go.snap +++ b/service/mgn/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_UpdateApplication.go.snap b/service/mgn/snapshot/api_op_UpdateApplication.go.snap index 5ec4c02edff..d4e2fa4991a 100644 --- a/service/mgn/snapshot/api_op_UpdateApplication.go.snap +++ b/service/mgn/snapshot/api_op_UpdateApplication.go.snap @@ -14,7 +14,6 @@ UpdateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_UpdateConnector.go.snap b/service/mgn/snapshot/api_op_UpdateConnector.go.snap index dba2fe7aae0..8cf4d5503eb 100644 --- a/service/mgn/snapshot/api_op_UpdateConnector.go.snap +++ b/service/mgn/snapshot/api_op_UpdateConnector.go.snap @@ -14,7 +14,6 @@ UpdateConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_UpdateLaunchConfiguration.go.snap b/service/mgn/snapshot/api_op_UpdateLaunchConfiguration.go.snap index 1b18e831d2f..6301f74a18b 100644 --- a/service/mgn/snapshot/api_op_UpdateLaunchConfiguration.go.snap +++ b/service/mgn/snapshot/api_op_UpdateLaunchConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateLaunchConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_UpdateLaunchConfigurationTemplate.go.snap b/service/mgn/snapshot/api_op_UpdateLaunchConfigurationTemplate.go.snap index d9f5390f5c0..f95c858cadc 100644 --- a/service/mgn/snapshot/api_op_UpdateLaunchConfigurationTemplate.go.snap +++ b/service/mgn/snapshot/api_op_UpdateLaunchConfigurationTemplate.go.snap @@ -14,7 +14,6 @@ UpdateLaunchConfigurationTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_UpdateReplicationConfiguration.go.snap b/service/mgn/snapshot/api_op_UpdateReplicationConfiguration.go.snap index 7c38a548920..74f12f12b99 100644 --- a/service/mgn/snapshot/api_op_UpdateReplicationConfiguration.go.snap +++ b/service/mgn/snapshot/api_op_UpdateReplicationConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateReplicationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_UpdateReplicationConfigurationTemplate.go.snap b/service/mgn/snapshot/api_op_UpdateReplicationConfigurationTemplate.go.snap index 4a7b784c7cf..f79df3ccc21 100644 --- a/service/mgn/snapshot/api_op_UpdateReplicationConfigurationTemplate.go.snap +++ b/service/mgn/snapshot/api_op_UpdateReplicationConfigurationTemplate.go.snap @@ -14,7 +14,6 @@ UpdateReplicationConfigurationTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_UpdateSourceServer.go.snap b/service/mgn/snapshot/api_op_UpdateSourceServer.go.snap index b2aa72941a2..2ff413dc8ef 100644 --- a/service/mgn/snapshot/api_op_UpdateSourceServer.go.snap +++ b/service/mgn/snapshot/api_op_UpdateSourceServer.go.snap @@ -14,7 +14,6 @@ UpdateSourceServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_UpdateSourceServerReplicationType.go.snap b/service/mgn/snapshot/api_op_UpdateSourceServerReplicationType.go.snap index 4ca0fa1d062..9f403f0dca1 100644 --- a/service/mgn/snapshot/api_op_UpdateSourceServerReplicationType.go.snap +++ b/service/mgn/snapshot/api_op_UpdateSourceServerReplicationType.go.snap @@ -14,7 +14,6 @@ UpdateSourceServerReplicationType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mgn/snapshot/api_op_UpdateWave.go.snap b/service/mgn/snapshot/api_op_UpdateWave.go.snap index b2d5fbc18df..3c1ad365645 100644 --- a/service/mgn/snapshot/api_op_UpdateWave.go.snap +++ b/service/mgn/snapshot/api_op_UpdateWave.go.snap @@ -14,7 +14,6 @@ UpdateWave Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhub/api_client.go b/service/migrationhub/api_client.go index aeac172a188..6115fbbcefd 100644 --- a/service/migrationhub/api_client.go +++ b/service/migrationhub/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/migrationhub/api_op_AssociateCreatedArtifact.go b/service/migrationhub/api_op_AssociateCreatedArtifact.go index fa56ee625fd..ec9a76a35ef 100644 --- a/service/migrationhub/api_op_AssociateCreatedArtifact.go +++ b/service/migrationhub/api_op_AssociateCreatedArtifact.go @@ -136,9 +136,6 @@ func (c *Client) addOperationAssociateCreatedArtifactMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateCreatedArtifactValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_AssociateDiscoveredResource.go b/service/migrationhub/api_op_AssociateDiscoveredResource.go index d43dceaa576..c7204d8ef4f 100644 --- a/service/migrationhub/api_op_AssociateDiscoveredResource.go +++ b/service/migrationhub/api_op_AssociateDiscoveredResource.go @@ -124,9 +124,6 @@ func (c *Client) addOperationAssociateDiscoveredResourceMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateDiscoveredResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_AssociateSourceResource.go b/service/migrationhub/api_op_AssociateSourceResource.go index f76179a2029..b5b986d145f 100644 --- a/service/migrationhub/api_op_AssociateSourceResource.go +++ b/service/migrationhub/api_op_AssociateSourceResource.go @@ -130,9 +130,6 @@ func (c *Client) addOperationAssociateSourceResourceMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateSourceResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_CreateProgressUpdateStream.go b/service/migrationhub/api_op_CreateProgressUpdateStream.go index 743d4c1abd0..0f6579c0f2b 100644 --- a/service/migrationhub/api_op_CreateProgressUpdateStream.go +++ b/service/migrationhub/api_op_CreateProgressUpdateStream.go @@ -115,9 +115,6 @@ func (c *Client) addOperationCreateProgressUpdateStreamMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateProgressUpdateStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_DeleteProgressUpdateStream.go b/service/migrationhub/api_op_DeleteProgressUpdateStream.go index 83740890c0a..549140da25a 100644 --- a/service/migrationhub/api_op_DeleteProgressUpdateStream.go +++ b/service/migrationhub/api_op_DeleteProgressUpdateStream.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDeleteProgressUpdateStreamMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProgressUpdateStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_DescribeApplicationState.go b/service/migrationhub/api_op_DescribeApplicationState.go index 9b7950dcb86..82e6674c971 100644 --- a/service/migrationhub/api_op_DescribeApplicationState.go +++ b/service/migrationhub/api_op_DescribeApplicationState.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDescribeApplicationStateMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeApplicationStateValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_DescribeMigrationTask.go b/service/migrationhub/api_op_DescribeMigrationTask.go index 7cd9cc32b67..707175fc542 100644 --- a/service/migrationhub/api_op_DescribeMigrationTask.go +++ b/service/migrationhub/api_op_DescribeMigrationTask.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDescribeMigrationTaskMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeMigrationTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_DisassociateCreatedArtifact.go b/service/migrationhub/api_op_DisassociateCreatedArtifact.go index bd87cf15e26..27a84c72b86 100644 --- a/service/migrationhub/api_op_DisassociateCreatedArtifact.go +++ b/service/migrationhub/api_op_DisassociateCreatedArtifact.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDisassociateCreatedArtifactMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateCreatedArtifactValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_DisassociateDiscoveredResource.go b/service/migrationhub/api_op_DisassociateDiscoveredResource.go index 71c54329137..88b647aa43e 100644 --- a/service/migrationhub/api_op_DisassociateDiscoveredResource.go +++ b/service/migrationhub/api_op_DisassociateDiscoveredResource.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDisassociateDiscoveredResourceMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateDiscoveredResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_DisassociateSourceResource.go b/service/migrationhub/api_op_DisassociateSourceResource.go index 3fa103ad72c..16acb520033 100644 --- a/service/migrationhub/api_op_DisassociateSourceResource.go +++ b/service/migrationhub/api_op_DisassociateSourceResource.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDisassociateSourceResourceMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateSourceResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_ImportMigrationTask.go b/service/migrationhub/api_op_ImportMigrationTask.go index 95cb44f0b45..7ed5bc212c4 100644 --- a/service/migrationhub/api_op_ImportMigrationTask.go +++ b/service/migrationhub/api_op_ImportMigrationTask.go @@ -121,9 +121,6 @@ func (c *Client) addOperationImportMigrationTaskMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportMigrationTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_ListApplicationStates.go b/service/migrationhub/api_op_ListApplicationStates.go index 68a6ada50cc..7e1573a96f1 100644 --- a/service/migrationhub/api_op_ListApplicationStates.go +++ b/service/migrationhub/api_op_ListApplicationStates.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListApplicationStatesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplicationStates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/migrationhub/api_op_ListCreatedArtifacts.go b/service/migrationhub/api_op_ListCreatedArtifacts.go index 951062d190d..187e6353d4a 100644 --- a/service/migrationhub/api_op_ListCreatedArtifacts.go +++ b/service/migrationhub/api_op_ListCreatedArtifacts.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListCreatedArtifactsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCreatedArtifactsValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_ListDiscoveredResources.go b/service/migrationhub/api_op_ListDiscoveredResources.go index e3c879eb919..df092f08cf7 100644 --- a/service/migrationhub/api_op_ListDiscoveredResources.go +++ b/service/migrationhub/api_op_ListDiscoveredResources.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListDiscoveredResourcesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDiscoveredResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_ListMigrationTaskUpdates.go b/service/migrationhub/api_op_ListMigrationTaskUpdates.go index d8d0217198b..f25ca06703f 100644 --- a/service/migrationhub/api_op_ListMigrationTaskUpdates.go +++ b/service/migrationhub/api_op_ListMigrationTaskUpdates.go @@ -144,9 +144,6 @@ func (c *Client) addOperationListMigrationTaskUpdatesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMigrationTaskUpdatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_ListMigrationTasks.go b/service/migrationhub/api_op_ListMigrationTasks.go index f29fc079067..196a4035e53 100644 --- a/service/migrationhub/api_op_ListMigrationTasks.go +++ b/service/migrationhub/api_op_ListMigrationTasks.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListMigrationTasksMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMigrationTasks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/migrationhub/api_op_ListProgressUpdateStreams.go b/service/migrationhub/api_op_ListProgressUpdateStreams.go index 0892553f15a..57237c6bc79 100644 --- a/service/migrationhub/api_op_ListProgressUpdateStreams.go +++ b/service/migrationhub/api_op_ListProgressUpdateStreams.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListProgressUpdateStreamsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProgressUpdateStreams(options.Region), middleware.Before); err != nil { return err } diff --git a/service/migrationhub/api_op_ListSourceResources.go b/service/migrationhub/api_op_ListSourceResources.go index 675c782674e..d3808b5ced9 100644 --- a/service/migrationhub/api_op_ListSourceResources.go +++ b/service/migrationhub/api_op_ListSourceResources.go @@ -144,9 +144,6 @@ func (c *Client) addOperationListSourceResourcesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSourceResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_NotifyApplicationState.go b/service/migrationhub/api_op_NotifyApplicationState.go index 7580a8c4b79..08c37c1eba9 100644 --- a/service/migrationhub/api_op_NotifyApplicationState.go +++ b/service/migrationhub/api_op_NotifyApplicationState.go @@ -124,9 +124,6 @@ func (c *Client) addOperationNotifyApplicationStateMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpNotifyApplicationStateValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_NotifyMigrationTaskState.go b/service/migrationhub/api_op_NotifyMigrationTaskState.go index 1516a2827fa..ab3243e73e3 100644 --- a/service/migrationhub/api_op_NotifyMigrationTaskState.go +++ b/service/migrationhub/api_op_NotifyMigrationTaskState.go @@ -145,9 +145,6 @@ func (c *Client) addOperationNotifyMigrationTaskStateMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpNotifyMigrationTaskStateValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/api_op_PutResourceAttributes.go b/service/migrationhub/api_op_PutResourceAttributes.go index 03019104d6f..dc604fa8ee2 100644 --- a/service/migrationhub/api_op_PutResourceAttributes.go +++ b/service/migrationhub/api_op_PutResourceAttributes.go @@ -160,9 +160,6 @@ func (c *Client) addOperationPutResourceAttributesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutResourceAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhub/snapshot/api_op_AssociateCreatedArtifact.go.snap b/service/migrationhub/snapshot/api_op_AssociateCreatedArtifact.go.snap index 1cbea120c2e..4e6d00fbe76 100644 --- a/service/migrationhub/snapshot/api_op_AssociateCreatedArtifact.go.snap +++ b/service/migrationhub/snapshot/api_op_AssociateCreatedArtifact.go.snap @@ -14,7 +14,6 @@ AssociateCreatedArtifact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhub/snapshot/api_op_AssociateDiscoveredResource.go.snap b/service/migrationhub/snapshot/api_op_AssociateDiscoveredResource.go.snap index 03ddfeeb983..4eb5648384b 100644 --- a/service/migrationhub/snapshot/api_op_AssociateDiscoveredResource.go.snap +++ b/service/migrationhub/snapshot/api_op_AssociateDiscoveredResource.go.snap @@ -14,7 +14,6 @@ AssociateDiscoveredResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhub/snapshot/api_op_AssociateSourceResource.go.snap b/service/migrationhub/snapshot/api_op_AssociateSourceResource.go.snap index 3a8a5cc8847..b075188943f 100644 --- a/service/migrationhub/snapshot/api_op_AssociateSourceResource.go.snap +++ b/service/migrationhub/snapshot/api_op_AssociateSourceResource.go.snap @@ -14,7 +14,6 @@ AssociateSourceResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhub/snapshot/api_op_CreateProgressUpdateStream.go.snap b/service/migrationhub/snapshot/api_op_CreateProgressUpdateStream.go.snap index a5f4898c452..bc48073cd6f 100644 --- a/service/migrationhub/snapshot/api_op_CreateProgressUpdateStream.go.snap +++ b/service/migrationhub/snapshot/api_op_CreateProgressUpdateStream.go.snap @@ -14,7 +14,6 @@ CreateProgressUpdateStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhub/snapshot/api_op_DeleteProgressUpdateStream.go.snap b/service/migrationhub/snapshot/api_op_DeleteProgressUpdateStream.go.snap index 9848f796a80..0435446e858 100644 --- a/service/migrationhub/snapshot/api_op_DeleteProgressUpdateStream.go.snap +++ b/service/migrationhub/snapshot/api_op_DeleteProgressUpdateStream.go.snap @@ -14,7 +14,6 @@ DeleteProgressUpdateStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhub/snapshot/api_op_DescribeApplicationState.go.snap b/service/migrationhub/snapshot/api_op_DescribeApplicationState.go.snap index b03a5da6fc2..377d0b83ad8 100644 --- a/service/migrationhub/snapshot/api_op_DescribeApplicationState.go.snap +++ b/service/migrationhub/snapshot/api_op_DescribeApplicationState.go.snap @@ -14,7 +14,6 @@ DescribeApplicationState Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhub/snapshot/api_op_DescribeMigrationTask.go.snap b/service/migrationhub/snapshot/api_op_DescribeMigrationTask.go.snap index 80ce4b236dc..149af4c4382 100644 --- a/service/migrationhub/snapshot/api_op_DescribeMigrationTask.go.snap +++ b/service/migrationhub/snapshot/api_op_DescribeMigrationTask.go.snap @@ -14,7 +14,6 @@ DescribeMigrationTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhub/snapshot/api_op_DisassociateCreatedArtifact.go.snap b/service/migrationhub/snapshot/api_op_DisassociateCreatedArtifact.go.snap index 65dfab27775..66e01032a93 100644 --- a/service/migrationhub/snapshot/api_op_DisassociateCreatedArtifact.go.snap +++ b/service/migrationhub/snapshot/api_op_DisassociateCreatedArtifact.go.snap @@ -14,7 +14,6 @@ DisassociateCreatedArtifact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhub/snapshot/api_op_DisassociateDiscoveredResource.go.snap b/service/migrationhub/snapshot/api_op_DisassociateDiscoveredResource.go.snap index 257acc705ea..0146c7ff197 100644 --- a/service/migrationhub/snapshot/api_op_DisassociateDiscoveredResource.go.snap +++ b/service/migrationhub/snapshot/api_op_DisassociateDiscoveredResource.go.snap @@ -14,7 +14,6 @@ DisassociateDiscoveredResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhub/snapshot/api_op_DisassociateSourceResource.go.snap b/service/migrationhub/snapshot/api_op_DisassociateSourceResource.go.snap index 8c11fec9af1..858b565d4a6 100644 --- a/service/migrationhub/snapshot/api_op_DisassociateSourceResource.go.snap +++ b/service/migrationhub/snapshot/api_op_DisassociateSourceResource.go.snap @@ -14,7 +14,6 @@ DisassociateSourceResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhub/snapshot/api_op_ImportMigrationTask.go.snap b/service/migrationhub/snapshot/api_op_ImportMigrationTask.go.snap index 779a2274491..436f6e96781 100644 --- a/service/migrationhub/snapshot/api_op_ImportMigrationTask.go.snap +++ b/service/migrationhub/snapshot/api_op_ImportMigrationTask.go.snap @@ -14,7 +14,6 @@ ImportMigrationTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhub/snapshot/api_op_ListApplicationStates.go.snap b/service/migrationhub/snapshot/api_op_ListApplicationStates.go.snap index 968cea408cd..570a7150945 100644 --- a/service/migrationhub/snapshot/api_op_ListApplicationStates.go.snap +++ b/service/migrationhub/snapshot/api_op_ListApplicationStates.go.snap @@ -13,7 +13,6 @@ ListApplicationStates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhub/snapshot/api_op_ListCreatedArtifacts.go.snap b/service/migrationhub/snapshot/api_op_ListCreatedArtifacts.go.snap index 0a0ff228c14..ffacb608771 100644 --- a/service/migrationhub/snapshot/api_op_ListCreatedArtifacts.go.snap +++ b/service/migrationhub/snapshot/api_op_ListCreatedArtifacts.go.snap @@ -14,7 +14,6 @@ ListCreatedArtifacts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhub/snapshot/api_op_ListDiscoveredResources.go.snap b/service/migrationhub/snapshot/api_op_ListDiscoveredResources.go.snap index 115d4c7a2b2..b1e97097934 100644 --- a/service/migrationhub/snapshot/api_op_ListDiscoveredResources.go.snap +++ b/service/migrationhub/snapshot/api_op_ListDiscoveredResources.go.snap @@ -14,7 +14,6 @@ ListDiscoveredResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhub/snapshot/api_op_ListMigrationTaskUpdates.go.snap b/service/migrationhub/snapshot/api_op_ListMigrationTaskUpdates.go.snap index fe44ba8e80a..4711f7dbade 100644 --- a/service/migrationhub/snapshot/api_op_ListMigrationTaskUpdates.go.snap +++ b/service/migrationhub/snapshot/api_op_ListMigrationTaskUpdates.go.snap @@ -14,7 +14,6 @@ ListMigrationTaskUpdates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhub/snapshot/api_op_ListMigrationTasks.go.snap b/service/migrationhub/snapshot/api_op_ListMigrationTasks.go.snap index 8d8448178da..189088ad711 100644 --- a/service/migrationhub/snapshot/api_op_ListMigrationTasks.go.snap +++ b/service/migrationhub/snapshot/api_op_ListMigrationTasks.go.snap @@ -13,7 +13,6 @@ ListMigrationTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhub/snapshot/api_op_ListProgressUpdateStreams.go.snap b/service/migrationhub/snapshot/api_op_ListProgressUpdateStreams.go.snap index 3f1cb3fe5ef..aa95523405d 100644 --- a/service/migrationhub/snapshot/api_op_ListProgressUpdateStreams.go.snap +++ b/service/migrationhub/snapshot/api_op_ListProgressUpdateStreams.go.snap @@ -13,7 +13,6 @@ ListProgressUpdateStreams Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhub/snapshot/api_op_ListSourceResources.go.snap b/service/migrationhub/snapshot/api_op_ListSourceResources.go.snap index ef11d0c58cb..5f731da4786 100644 --- a/service/migrationhub/snapshot/api_op_ListSourceResources.go.snap +++ b/service/migrationhub/snapshot/api_op_ListSourceResources.go.snap @@ -14,7 +14,6 @@ ListSourceResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhub/snapshot/api_op_NotifyApplicationState.go.snap b/service/migrationhub/snapshot/api_op_NotifyApplicationState.go.snap index e426bea38bb..3afd1d93e04 100644 --- a/service/migrationhub/snapshot/api_op_NotifyApplicationState.go.snap +++ b/service/migrationhub/snapshot/api_op_NotifyApplicationState.go.snap @@ -14,7 +14,6 @@ NotifyApplicationState Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhub/snapshot/api_op_NotifyMigrationTaskState.go.snap b/service/migrationhub/snapshot/api_op_NotifyMigrationTaskState.go.snap index 503a28952d7..052191e8e4e 100644 --- a/service/migrationhub/snapshot/api_op_NotifyMigrationTaskState.go.snap +++ b/service/migrationhub/snapshot/api_op_NotifyMigrationTaskState.go.snap @@ -14,7 +14,6 @@ NotifyMigrationTaskState Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhub/snapshot/api_op_PutResourceAttributes.go.snap b/service/migrationhub/snapshot/api_op_PutResourceAttributes.go.snap index 22c55af09b2..81b1dd270ad 100644 --- a/service/migrationhub/snapshot/api_op_PutResourceAttributes.go.snap +++ b/service/migrationhub/snapshot/api_op_PutResourceAttributes.go.snap @@ -14,7 +14,6 @@ PutResourceAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubconfig/api_client.go b/service/migrationhubconfig/api_client.go index 8e149c0b8ad..16476aedf7f 100644 --- a/service/migrationhubconfig/api_client.go +++ b/service/migrationhubconfig/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/migrationhubconfig/api_op_CreateHomeRegionControl.go b/service/migrationhubconfig/api_op_CreateHomeRegionControl.go index fe28b00f78d..4f96cbda4b7 100644 --- a/service/migrationhubconfig/api_op_CreateHomeRegionControl.go +++ b/service/migrationhubconfig/api_op_CreateHomeRegionControl.go @@ -123,9 +123,6 @@ func (c *Client) addOperationCreateHomeRegionControlMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateHomeRegionControlValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubconfig/api_op_DeleteHomeRegionControl.go b/service/migrationhubconfig/api_op_DeleteHomeRegionControl.go index 775e6041f97..e875daa81b2 100644 --- a/service/migrationhubconfig/api_op_DeleteHomeRegionControl.go +++ b/service/migrationhubconfig/api_op_DeleteHomeRegionControl.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteHomeRegionControlMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteHomeRegionControlValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubconfig/api_op_DescribeHomeRegionControls.go b/service/migrationhubconfig/api_op_DescribeHomeRegionControls.go index 7ebcc821e5a..1523b306841 100644 --- a/service/migrationhubconfig/api_op_DescribeHomeRegionControls.go +++ b/service/migrationhubconfig/api_op_DescribeHomeRegionControls.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeHomeRegionControlsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeHomeRegionControlsValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubconfig/api_op_GetHomeRegion.go b/service/migrationhubconfig/api_op_GetHomeRegion.go index 8c7943f00e9..ec6c6df6a14 100644 --- a/service/migrationhubconfig/api_op_GetHomeRegion.go +++ b/service/migrationhubconfig/api_op_GetHomeRegion.go @@ -109,9 +109,6 @@ func (c *Client) addOperationGetHomeRegionMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetHomeRegion(options.Region), middleware.Before); err != nil { return err } diff --git a/service/migrationhubconfig/snapshot/api_op_CreateHomeRegionControl.go.snap b/service/migrationhubconfig/snapshot/api_op_CreateHomeRegionControl.go.snap index 6940f0fbe0c..f8f6cff6b4e 100644 --- a/service/migrationhubconfig/snapshot/api_op_CreateHomeRegionControl.go.snap +++ b/service/migrationhubconfig/snapshot/api_op_CreateHomeRegionControl.go.snap @@ -14,7 +14,6 @@ CreateHomeRegionControl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubconfig/snapshot/api_op_DeleteHomeRegionControl.go.snap b/service/migrationhubconfig/snapshot/api_op_DeleteHomeRegionControl.go.snap index e65ed80e208..e7dcb2f463d 100644 --- a/service/migrationhubconfig/snapshot/api_op_DeleteHomeRegionControl.go.snap +++ b/service/migrationhubconfig/snapshot/api_op_DeleteHomeRegionControl.go.snap @@ -14,7 +14,6 @@ DeleteHomeRegionControl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubconfig/snapshot/api_op_DescribeHomeRegionControls.go.snap b/service/migrationhubconfig/snapshot/api_op_DescribeHomeRegionControls.go.snap index e27e2982e3d..2cf4f1e5dc8 100644 --- a/service/migrationhubconfig/snapshot/api_op_DescribeHomeRegionControls.go.snap +++ b/service/migrationhubconfig/snapshot/api_op_DescribeHomeRegionControls.go.snap @@ -14,7 +14,6 @@ DescribeHomeRegionControls Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubconfig/snapshot/api_op_GetHomeRegion.go.snap b/service/migrationhubconfig/snapshot/api_op_GetHomeRegion.go.snap index 5ef2d3bad62..cb2531f67f8 100644 --- a/service/migrationhubconfig/snapshot/api_op_GetHomeRegion.go.snap +++ b/service/migrationhubconfig/snapshot/api_op_GetHomeRegion.go.snap @@ -13,7 +13,6 @@ GetHomeRegion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhuborchestrator/api_client.go b/service/migrationhuborchestrator/api_client.go index aded612938a..9f68cb41d55 100644 --- a/service/migrationhuborchestrator/api_client.go +++ b/service/migrationhuborchestrator/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/migrationhuborchestrator/api_op_CreateTemplate.go b/service/migrationhuborchestrator/api_op_CreateTemplate.go index bd8745e4fbe..47cc59add78 100644 --- a/service/migrationhuborchestrator/api_op_CreateTemplate.go +++ b/service/migrationhuborchestrator/api_op_CreateTemplate.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreateTemplateMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateTemplateMiddleware(stack, options); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_CreateWorkflow.go b/service/migrationhuborchestrator/api_op_CreateWorkflow.go index bf517561609..dfad98efb8b 100644 --- a/service/migrationhuborchestrator/api_op_CreateWorkflow.go +++ b/service/migrationhuborchestrator/api_op_CreateWorkflow.go @@ -167,9 +167,6 @@ func (c *Client) addOperationCreateWorkflowMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateWorkflowValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_CreateWorkflowStep.go b/service/migrationhuborchestrator/api_op_CreateWorkflowStep.go index 895473b94fe..32301fcc64b 100644 --- a/service/migrationhuborchestrator/api_op_CreateWorkflowStep.go +++ b/service/migrationhuborchestrator/api_op_CreateWorkflowStep.go @@ -155,9 +155,6 @@ func (c *Client) addOperationCreateWorkflowStepMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateWorkflowStepValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_CreateWorkflowStepGroup.go b/service/migrationhuborchestrator/api_op_CreateWorkflowStepGroup.go index 35ee5ee4715..8754851062e 100644 --- a/service/migrationhuborchestrator/api_op_CreateWorkflowStepGroup.go +++ b/service/migrationhuborchestrator/api_op_CreateWorkflowStepGroup.go @@ -148,9 +148,6 @@ func (c *Client) addOperationCreateWorkflowStepGroupMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateWorkflowStepGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_DeleteTemplate.go b/service/migrationhuborchestrator/api_op_DeleteTemplate.go index f269d0fbe76..c00e85a54b2 100644 --- a/service/migrationhuborchestrator/api_op_DeleteTemplate.go +++ b/service/migrationhuborchestrator/api_op_DeleteTemplate.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteTemplateMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_DeleteWorkflow.go b/service/migrationhuborchestrator/api_op_DeleteWorkflow.go index 9f0036ecfc8..5c262f6db3d 100644 --- a/service/migrationhuborchestrator/api_op_DeleteWorkflow.go +++ b/service/migrationhuborchestrator/api_op_DeleteWorkflow.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteWorkflowMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWorkflowValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_DeleteWorkflowStep.go b/service/migrationhuborchestrator/api_op_DeleteWorkflowStep.go index 159aa46c9a5..d7d59d88078 100644 --- a/service/migrationhuborchestrator/api_op_DeleteWorkflowStep.go +++ b/service/migrationhuborchestrator/api_op_DeleteWorkflowStep.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteWorkflowStepMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWorkflowStepValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_DeleteWorkflowStepGroup.go b/service/migrationhuborchestrator/api_op_DeleteWorkflowStepGroup.go index f8de00251dc..9bed120bc6a 100644 --- a/service/migrationhuborchestrator/api_op_DeleteWorkflowStepGroup.go +++ b/service/migrationhuborchestrator/api_op_DeleteWorkflowStepGroup.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteWorkflowStepGroupMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWorkflowStepGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_GetTemplate.go b/service/migrationhuborchestrator/api_op_GetTemplate.go index a34c78d30aa..15429136f5b 100644 --- a/service/migrationhuborchestrator/api_op_GetTemplate.go +++ b/service/migrationhuborchestrator/api_op_GetTemplate.go @@ -164,9 +164,6 @@ func (c *Client) addOperationGetTemplateMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_GetTemplateStep.go b/service/migrationhuborchestrator/api_op_GetTemplateStep.go index 61cd755609b..5536c3f9d8d 100644 --- a/service/migrationhuborchestrator/api_op_GetTemplateStep.go +++ b/service/migrationhuborchestrator/api_op_GetTemplateStep.go @@ -153,9 +153,6 @@ func (c *Client) addOperationGetTemplateStepMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTemplateStepValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_GetTemplateStepGroup.go b/service/migrationhuborchestrator/api_op_GetTemplateStepGroup.go index f41e36763e0..a2ae89bfb47 100644 --- a/service/migrationhuborchestrator/api_op_GetTemplateStepGroup.go +++ b/service/migrationhuborchestrator/api_op_GetTemplateStepGroup.go @@ -145,9 +145,6 @@ func (c *Client) addOperationGetTemplateStepGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTemplateStepGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_GetWorkflow.go b/service/migrationhuborchestrator/api_op_GetWorkflow.go index 4fa691ae18e..51e339839e3 100644 --- a/service/migrationhuborchestrator/api_op_GetWorkflow.go +++ b/service/migrationhuborchestrator/api_op_GetWorkflow.go @@ -171,9 +171,6 @@ func (c *Client) addOperationGetWorkflowMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWorkflowValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_GetWorkflowStep.go b/service/migrationhuborchestrator/api_op_GetWorkflowStep.go index c6766c8dab5..ce01aadcfff 100644 --- a/service/migrationhuborchestrator/api_op_GetWorkflowStep.go +++ b/service/migrationhuborchestrator/api_op_GetWorkflowStep.go @@ -184,9 +184,6 @@ func (c *Client) addOperationGetWorkflowStepMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWorkflowStepValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_GetWorkflowStepGroup.go b/service/migrationhuborchestrator/api_op_GetWorkflowStepGroup.go index aa21ae710a4..ef5aba77ec1 100644 --- a/service/migrationhuborchestrator/api_op_GetWorkflowStepGroup.go +++ b/service/migrationhuborchestrator/api_op_GetWorkflowStepGroup.go @@ -151,9 +151,6 @@ func (c *Client) addOperationGetWorkflowStepGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWorkflowStepGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_ListPlugins.go b/service/migrationhuborchestrator/api_op_ListPlugins.go index 0ae3bd9468a..657d10305d5 100644 --- a/service/migrationhuborchestrator/api_op_ListPlugins.go +++ b/service/migrationhuborchestrator/api_op_ListPlugins.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListPluginsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPlugins(options.Region), middleware.Before); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_ListTagsForResource.go b/service/migrationhuborchestrator/api_op_ListTagsForResource.go index a544fb49230..364e5015ed7 100644 --- a/service/migrationhuborchestrator/api_op_ListTagsForResource.go +++ b/service/migrationhuborchestrator/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_ListTemplateStepGroups.go b/service/migrationhuborchestrator/api_op_ListTemplateStepGroups.go index bf3ff1189c0..ebd03ef793a 100644 --- a/service/migrationhuborchestrator/api_op_ListTemplateStepGroups.go +++ b/service/migrationhuborchestrator/api_op_ListTemplateStepGroups.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListTemplateStepGroupsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTemplateStepGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_ListTemplateSteps.go b/service/migrationhuborchestrator/api_op_ListTemplateSteps.go index e638de952c9..8c23d3b1bfe 100644 --- a/service/migrationhuborchestrator/api_op_ListTemplateSteps.go +++ b/service/migrationhuborchestrator/api_op_ListTemplateSteps.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListTemplateStepsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTemplateStepsValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_ListTemplates.go b/service/migrationhuborchestrator/api_op_ListTemplates.go index 338dff5ecd0..481a57420ef 100644 --- a/service/migrationhuborchestrator/api_op_ListTemplates.go +++ b/service/migrationhuborchestrator/api_op_ListTemplates.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListTemplatesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_ListWorkflowStepGroups.go b/service/migrationhuborchestrator/api_op_ListWorkflowStepGroups.go index a51146ebdae..6d197b73aed 100644 --- a/service/migrationhuborchestrator/api_op_ListWorkflowStepGroups.go +++ b/service/migrationhuborchestrator/api_op_ListWorkflowStepGroups.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListWorkflowStepGroupsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListWorkflowStepGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_ListWorkflowSteps.go b/service/migrationhuborchestrator/api_op_ListWorkflowSteps.go index e07c0935117..89299eabbff 100644 --- a/service/migrationhuborchestrator/api_op_ListWorkflowSteps.go +++ b/service/migrationhuborchestrator/api_op_ListWorkflowSteps.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListWorkflowStepsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListWorkflowStepsValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_ListWorkflows.go b/service/migrationhuborchestrator/api_op_ListWorkflows.go index a36d3b7a7cc..af96e37c9bd 100644 --- a/service/migrationhuborchestrator/api_op_ListWorkflows.go +++ b/service/migrationhuborchestrator/api_op_ListWorkflows.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListWorkflowsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkflows(options.Region), middleware.Before); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_RetryWorkflowStep.go b/service/migrationhuborchestrator/api_op_RetryWorkflowStep.go index 4f5ea78a494..8ab517ba711 100644 --- a/service/migrationhuborchestrator/api_op_RetryWorkflowStep.go +++ b/service/migrationhuborchestrator/api_op_RetryWorkflowStep.go @@ -131,9 +131,6 @@ func (c *Client) addOperationRetryWorkflowStepMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRetryWorkflowStepValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_StartWorkflow.go b/service/migrationhuborchestrator/api_op_StartWorkflow.go index e17a76e875d..15b636bfcc9 100644 --- a/service/migrationhuborchestrator/api_op_StartWorkflow.go +++ b/service/migrationhuborchestrator/api_op_StartWorkflow.go @@ -125,9 +125,6 @@ func (c *Client) addOperationStartWorkflowMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartWorkflowValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_StopWorkflow.go b/service/migrationhuborchestrator/api_op_StopWorkflow.go index 177c8d60eea..8b41dd0c544 100644 --- a/service/migrationhuborchestrator/api_op_StopWorkflow.go +++ b/service/migrationhuborchestrator/api_op_StopWorkflow.go @@ -125,9 +125,6 @@ func (c *Client) addOperationStopWorkflowMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopWorkflowValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_TagResource.go b/service/migrationhuborchestrator/api_op_TagResource.go index 10197489f03..f0a3a477c2d 100644 --- a/service/migrationhuborchestrator/api_op_TagResource.go +++ b/service/migrationhuborchestrator/api_op_TagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_UntagResource.go b/service/migrationhuborchestrator/api_op_UntagResource.go index f41db292459..7a8919c8df8 100644 --- a/service/migrationhuborchestrator/api_op_UntagResource.go +++ b/service/migrationhuborchestrator/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_UpdateTemplate.go b/service/migrationhuborchestrator/api_op_UpdateTemplate.go index 292590b35d4..651f93300e7 100644 --- a/service/migrationhuborchestrator/api_op_UpdateTemplate.go +++ b/service/migrationhuborchestrator/api_op_UpdateTemplate.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdateTemplateMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateTemplateMiddleware(stack, options); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_UpdateWorkflow.go b/service/migrationhuborchestrator/api_op_UpdateWorkflow.go index 5f8bea34d1b..677a46a74d0 100644 --- a/service/migrationhuborchestrator/api_op_UpdateWorkflow.go +++ b/service/migrationhuborchestrator/api_op_UpdateWorkflow.go @@ -158,9 +158,6 @@ func (c *Client) addOperationUpdateWorkflowMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateWorkflowValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_UpdateWorkflowStep.go b/service/migrationhuborchestrator/api_op_UpdateWorkflowStep.go index 3db5d9f4630..e04be1db0a9 100644 --- a/service/migrationhuborchestrator/api_op_UpdateWorkflowStep.go +++ b/service/migrationhuborchestrator/api_op_UpdateWorkflowStep.go @@ -159,9 +159,6 @@ func (c *Client) addOperationUpdateWorkflowStepMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateWorkflowStepValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/api_op_UpdateWorkflowStepGroup.go b/service/migrationhuborchestrator/api_op_UpdateWorkflowStepGroup.go index adb185649d7..2a5ee2daf8f 100644 --- a/service/migrationhuborchestrator/api_op_UpdateWorkflowStepGroup.go +++ b/service/migrationhuborchestrator/api_op_UpdateWorkflowStepGroup.go @@ -151,9 +151,6 @@ func (c *Client) addOperationUpdateWorkflowStepGroupMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateWorkflowStepGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhuborchestrator/snapshot/api_op_CreateTemplate.go.snap b/service/migrationhuborchestrator/snapshot/api_op_CreateTemplate.go.snap index 0e99a81b560..788a979a5a3 100644 --- a/service/migrationhuborchestrator/snapshot/api_op_CreateTemplate.go.snap +++ b/service/migrationhuborchestrator/snapshot/api_op_CreateTemplate.go.snap @@ -15,7 +15,6 @@ CreateTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhuborchestrator/snapshot/api_op_CreateWorkflow.go.snap b/service/migrationhuborchestrator/snapshot/api_op_CreateWorkflow.go.snap index 23dcd4d6283..f1ae25c1fe1 100644 --- a/service/migrationhuborchestrator/snapshot/api_op_CreateWorkflow.go.snap +++ b/service/migrationhuborchestrator/snapshot/api_op_CreateWorkflow.go.snap @@ -14,7 +14,6 @@ CreateWorkflow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhuborchestrator/snapshot/api_op_CreateWorkflowStep.go.snap b/service/migrationhuborchestrator/snapshot/api_op_CreateWorkflowStep.go.snap index 0e2dbe002a7..140072066e3 100644 --- a/service/migrationhuborchestrator/snapshot/api_op_CreateWorkflowStep.go.snap +++ b/service/migrationhuborchestrator/snapshot/api_op_CreateWorkflowStep.go.snap @@ -14,7 +14,6 @@ CreateWorkflowStep Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhuborchestrator/snapshot/api_op_CreateWorkflowStepGroup.go.snap b/service/migrationhuborchestrator/snapshot/api_op_CreateWorkflowStepGroup.go.snap index 98d5700ee08..6cbb5772a46 100644 --- a/service/migrationhuborchestrator/snapshot/api_op_CreateWorkflowStepGroup.go.snap +++ b/service/migrationhuborchestrator/snapshot/api_op_CreateWorkflowStepGroup.go.snap @@ -14,7 +14,6 @@ CreateWorkflowStepGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhuborchestrator/snapshot/api_op_DeleteTemplate.go.snap b/service/migrationhuborchestrator/snapshot/api_op_DeleteTemplate.go.snap index 41c557a15e0..c8aa686044f 100644 --- a/service/migrationhuborchestrator/snapshot/api_op_DeleteTemplate.go.snap +++ b/service/migrationhuborchestrator/snapshot/api_op_DeleteTemplate.go.snap @@ -14,7 +14,6 @@ DeleteTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhuborchestrator/snapshot/api_op_DeleteWorkflow.go.snap b/service/migrationhuborchestrator/snapshot/api_op_DeleteWorkflow.go.snap index f774183f26a..a86f5754e15 100644 --- a/service/migrationhuborchestrator/snapshot/api_op_DeleteWorkflow.go.snap +++ b/service/migrationhuborchestrator/snapshot/api_op_DeleteWorkflow.go.snap @@ -14,7 +14,6 @@ DeleteWorkflow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhuborchestrator/snapshot/api_op_DeleteWorkflowStep.go.snap b/service/migrationhuborchestrator/snapshot/api_op_DeleteWorkflowStep.go.snap index 4bea7c92301..9138165cdda 100644 --- a/service/migrationhuborchestrator/snapshot/api_op_DeleteWorkflowStep.go.snap +++ b/service/migrationhuborchestrator/snapshot/api_op_DeleteWorkflowStep.go.snap @@ -14,7 +14,6 @@ DeleteWorkflowStep Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhuborchestrator/snapshot/api_op_DeleteWorkflowStepGroup.go.snap b/service/migrationhuborchestrator/snapshot/api_op_DeleteWorkflowStepGroup.go.snap index e4a56314397..d313ab48bbd 100644 --- a/service/migrationhuborchestrator/snapshot/api_op_DeleteWorkflowStepGroup.go.snap +++ b/service/migrationhuborchestrator/snapshot/api_op_DeleteWorkflowStepGroup.go.snap @@ -14,7 +14,6 @@ DeleteWorkflowStepGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhuborchestrator/snapshot/api_op_GetTemplate.go.snap b/service/migrationhuborchestrator/snapshot/api_op_GetTemplate.go.snap index cb56263a74d..ec7b98a0f54 100644 --- a/service/migrationhuborchestrator/snapshot/api_op_GetTemplate.go.snap +++ b/service/migrationhuborchestrator/snapshot/api_op_GetTemplate.go.snap @@ -14,7 +14,6 @@ GetTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhuborchestrator/snapshot/api_op_GetTemplateStep.go.snap b/service/migrationhuborchestrator/snapshot/api_op_GetTemplateStep.go.snap index 1be14c930d0..dd4b669a35e 100644 --- a/service/migrationhuborchestrator/snapshot/api_op_GetTemplateStep.go.snap +++ b/service/migrationhuborchestrator/snapshot/api_op_GetTemplateStep.go.snap @@ -14,7 +14,6 @@ GetTemplateStep Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhuborchestrator/snapshot/api_op_GetTemplateStepGroup.go.snap b/service/migrationhuborchestrator/snapshot/api_op_GetTemplateStepGroup.go.snap index a2c9847a590..77c941d4ea8 100644 --- a/service/migrationhuborchestrator/snapshot/api_op_GetTemplateStepGroup.go.snap +++ b/service/migrationhuborchestrator/snapshot/api_op_GetTemplateStepGroup.go.snap @@ -14,7 +14,6 @@ GetTemplateStepGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhuborchestrator/snapshot/api_op_GetWorkflow.go.snap b/service/migrationhuborchestrator/snapshot/api_op_GetWorkflow.go.snap index 3413cbe7fa8..bfa3bc8a6c8 100644 --- a/service/migrationhuborchestrator/snapshot/api_op_GetWorkflow.go.snap +++ b/service/migrationhuborchestrator/snapshot/api_op_GetWorkflow.go.snap @@ -14,7 +14,6 @@ GetWorkflow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhuborchestrator/snapshot/api_op_GetWorkflowStep.go.snap b/service/migrationhuborchestrator/snapshot/api_op_GetWorkflowStep.go.snap index e2c85015818..c28e39cc14b 100644 --- a/service/migrationhuborchestrator/snapshot/api_op_GetWorkflowStep.go.snap +++ b/service/migrationhuborchestrator/snapshot/api_op_GetWorkflowStep.go.snap @@ -14,7 +14,6 @@ GetWorkflowStep Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhuborchestrator/snapshot/api_op_GetWorkflowStepGroup.go.snap b/service/migrationhuborchestrator/snapshot/api_op_GetWorkflowStepGroup.go.snap index 8a212175081..7a725f4deca 100644 --- a/service/migrationhuborchestrator/snapshot/api_op_GetWorkflowStepGroup.go.snap +++ b/service/migrationhuborchestrator/snapshot/api_op_GetWorkflowStepGroup.go.snap @@ -14,7 +14,6 @@ GetWorkflowStepGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhuborchestrator/snapshot/api_op_ListPlugins.go.snap b/service/migrationhuborchestrator/snapshot/api_op_ListPlugins.go.snap index 2755e1bb04b..c32f167253d 100644 --- a/service/migrationhuborchestrator/snapshot/api_op_ListPlugins.go.snap +++ b/service/migrationhuborchestrator/snapshot/api_op_ListPlugins.go.snap @@ -13,7 +13,6 @@ ListPlugins Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhuborchestrator/snapshot/api_op_ListTagsForResource.go.snap b/service/migrationhuborchestrator/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/migrationhuborchestrator/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/migrationhuborchestrator/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhuborchestrator/snapshot/api_op_ListTemplateStepGroups.go.snap b/service/migrationhuborchestrator/snapshot/api_op_ListTemplateStepGroups.go.snap index fc49e4ad780..c039d9155cd 100644 --- a/service/migrationhuborchestrator/snapshot/api_op_ListTemplateStepGroups.go.snap +++ b/service/migrationhuborchestrator/snapshot/api_op_ListTemplateStepGroups.go.snap @@ -14,7 +14,6 @@ ListTemplateStepGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhuborchestrator/snapshot/api_op_ListTemplateSteps.go.snap b/service/migrationhuborchestrator/snapshot/api_op_ListTemplateSteps.go.snap index d411a22e2eb..d2a5698d902 100644 --- a/service/migrationhuborchestrator/snapshot/api_op_ListTemplateSteps.go.snap +++ b/service/migrationhuborchestrator/snapshot/api_op_ListTemplateSteps.go.snap @@ -14,7 +14,6 @@ ListTemplateSteps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhuborchestrator/snapshot/api_op_ListTemplates.go.snap b/service/migrationhuborchestrator/snapshot/api_op_ListTemplates.go.snap index 3702fc869e8..fa1a1fc2a6e 100644 --- a/service/migrationhuborchestrator/snapshot/api_op_ListTemplates.go.snap +++ b/service/migrationhuborchestrator/snapshot/api_op_ListTemplates.go.snap @@ -13,7 +13,6 @@ ListTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhuborchestrator/snapshot/api_op_ListWorkflowStepGroups.go.snap b/service/migrationhuborchestrator/snapshot/api_op_ListWorkflowStepGroups.go.snap index 204f3f5aeb2..4cd3a7fdb4a 100644 --- a/service/migrationhuborchestrator/snapshot/api_op_ListWorkflowStepGroups.go.snap +++ b/service/migrationhuborchestrator/snapshot/api_op_ListWorkflowStepGroups.go.snap @@ -14,7 +14,6 @@ ListWorkflowStepGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhuborchestrator/snapshot/api_op_ListWorkflowSteps.go.snap b/service/migrationhuborchestrator/snapshot/api_op_ListWorkflowSteps.go.snap index 2e2bc57e772..ce56f3d7c7e 100644 --- a/service/migrationhuborchestrator/snapshot/api_op_ListWorkflowSteps.go.snap +++ b/service/migrationhuborchestrator/snapshot/api_op_ListWorkflowSteps.go.snap @@ -14,7 +14,6 @@ ListWorkflowSteps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhuborchestrator/snapshot/api_op_ListWorkflows.go.snap b/service/migrationhuborchestrator/snapshot/api_op_ListWorkflows.go.snap index eda65b9859b..a58c50557a2 100644 --- a/service/migrationhuborchestrator/snapshot/api_op_ListWorkflows.go.snap +++ b/service/migrationhuborchestrator/snapshot/api_op_ListWorkflows.go.snap @@ -13,7 +13,6 @@ ListWorkflows Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhuborchestrator/snapshot/api_op_RetryWorkflowStep.go.snap b/service/migrationhuborchestrator/snapshot/api_op_RetryWorkflowStep.go.snap index c62c6ed7f20..f6fa6d61906 100644 --- a/service/migrationhuborchestrator/snapshot/api_op_RetryWorkflowStep.go.snap +++ b/service/migrationhuborchestrator/snapshot/api_op_RetryWorkflowStep.go.snap @@ -14,7 +14,6 @@ RetryWorkflowStep Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhuborchestrator/snapshot/api_op_StartWorkflow.go.snap b/service/migrationhuborchestrator/snapshot/api_op_StartWorkflow.go.snap index 7ef65b5ef55..3f486937b0a 100644 --- a/service/migrationhuborchestrator/snapshot/api_op_StartWorkflow.go.snap +++ b/service/migrationhuborchestrator/snapshot/api_op_StartWorkflow.go.snap @@ -14,7 +14,6 @@ StartWorkflow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhuborchestrator/snapshot/api_op_StopWorkflow.go.snap b/service/migrationhuborchestrator/snapshot/api_op_StopWorkflow.go.snap index 0bed957b8d2..82e95520dcb 100644 --- a/service/migrationhuborchestrator/snapshot/api_op_StopWorkflow.go.snap +++ b/service/migrationhuborchestrator/snapshot/api_op_StopWorkflow.go.snap @@ -14,7 +14,6 @@ StopWorkflow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhuborchestrator/snapshot/api_op_TagResource.go.snap b/service/migrationhuborchestrator/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/migrationhuborchestrator/snapshot/api_op_TagResource.go.snap +++ b/service/migrationhuborchestrator/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhuborchestrator/snapshot/api_op_UntagResource.go.snap b/service/migrationhuborchestrator/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/migrationhuborchestrator/snapshot/api_op_UntagResource.go.snap +++ b/service/migrationhuborchestrator/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhuborchestrator/snapshot/api_op_UpdateTemplate.go.snap b/service/migrationhuborchestrator/snapshot/api_op_UpdateTemplate.go.snap index 2876172be3d..f5e61903867 100644 --- a/service/migrationhuborchestrator/snapshot/api_op_UpdateTemplate.go.snap +++ b/service/migrationhuborchestrator/snapshot/api_op_UpdateTemplate.go.snap @@ -15,7 +15,6 @@ UpdateTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhuborchestrator/snapshot/api_op_UpdateWorkflow.go.snap b/service/migrationhuborchestrator/snapshot/api_op_UpdateWorkflow.go.snap index 2f3a909fbce..b7bf4a105ee 100644 --- a/service/migrationhuborchestrator/snapshot/api_op_UpdateWorkflow.go.snap +++ b/service/migrationhuborchestrator/snapshot/api_op_UpdateWorkflow.go.snap @@ -14,7 +14,6 @@ UpdateWorkflow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhuborchestrator/snapshot/api_op_UpdateWorkflowStep.go.snap b/service/migrationhuborchestrator/snapshot/api_op_UpdateWorkflowStep.go.snap index 991d0c8354a..aade14554b3 100644 --- a/service/migrationhuborchestrator/snapshot/api_op_UpdateWorkflowStep.go.snap +++ b/service/migrationhuborchestrator/snapshot/api_op_UpdateWorkflowStep.go.snap @@ -14,7 +14,6 @@ UpdateWorkflowStep Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhuborchestrator/snapshot/api_op_UpdateWorkflowStepGroup.go.snap b/service/migrationhuborchestrator/snapshot/api_op_UpdateWorkflowStepGroup.go.snap index 60be7990357..d2d568571ce 100644 --- a/service/migrationhuborchestrator/snapshot/api_op_UpdateWorkflowStepGroup.go.snap +++ b/service/migrationhuborchestrator/snapshot/api_op_UpdateWorkflowStepGroup.go.snap @@ -14,7 +14,6 @@ UpdateWorkflowStepGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubrefactorspaces/api_client.go b/service/migrationhubrefactorspaces/api_client.go index 6b0d6da6466..4880d085ee1 100644 --- a/service/migrationhubrefactorspaces/api_client.go +++ b/service/migrationhubrefactorspaces/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/migrationhubrefactorspaces/api_op_CreateApplication.go b/service/migrationhubrefactorspaces/api_op_CreateApplication.go index b0de1a29694..ae2217f893f 100644 --- a/service/migrationhubrefactorspaces/api_op_CreateApplication.go +++ b/service/migrationhubrefactorspaces/api_op_CreateApplication.go @@ -196,9 +196,6 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateApplicationMiddleware(stack, options); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_CreateEnvironment.go b/service/migrationhubrefactorspaces/api_op_CreateEnvironment.go index 128a3bec51a..7da30320e3c 100644 --- a/service/migrationhubrefactorspaces/api_op_CreateEnvironment.go +++ b/service/migrationhubrefactorspaces/api_op_CreateEnvironment.go @@ -170,9 +170,6 @@ func (c *Client) addOperationCreateEnvironmentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateEnvironmentMiddleware(stack, options); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_CreateRoute.go b/service/migrationhubrefactorspaces/api_op_CreateRoute.go index a13393298e3..b3d02924631 100644 --- a/service/migrationhubrefactorspaces/api_op_CreateRoute.go +++ b/service/migrationhubrefactorspaces/api_op_CreateRoute.go @@ -272,9 +272,6 @@ func (c *Client) addOperationCreateRouteMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateRouteMiddleware(stack, options); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_CreateService.go b/service/migrationhubrefactorspaces/api_op_CreateService.go index 4a3cd22ad25..22ab76e0a86 100644 --- a/service/migrationhubrefactorspaces/api_op_CreateService.go +++ b/service/migrationhubrefactorspaces/api_op_CreateService.go @@ -206,9 +206,6 @@ func (c *Client) addOperationCreateServiceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateServiceMiddleware(stack, options); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_DeleteApplication.go b/service/migrationhubrefactorspaces/api_op_DeleteApplication.go index 9c333b91509..89f25b46f0c 100644 --- a/service/migrationhubrefactorspaces/api_op_DeleteApplication.go +++ b/service/migrationhubrefactorspaces/api_op_DeleteApplication.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDeleteApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_DeleteEnvironment.go b/service/migrationhubrefactorspaces/api_op_DeleteEnvironment.go index ce608a6a9c9..866e8a245b2 100644 --- a/service/migrationhubrefactorspaces/api_op_DeleteEnvironment.go +++ b/service/migrationhubrefactorspaces/api_op_DeleteEnvironment.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDeleteEnvironmentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEnvironmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_DeleteResourcePolicy.go b/service/migrationhubrefactorspaces/api_op_DeleteResourcePolicy.go index 753a5fe201f..8e843fb1d17 100644 --- a/service/migrationhubrefactorspaces/api_op_DeleteResourcePolicy.go +++ b/service/migrationhubrefactorspaces/api_op_DeleteResourcePolicy.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_DeleteRoute.go b/service/migrationhubrefactorspaces/api_op_DeleteRoute.go index a4dfc6df644..244a1c2f838 100644 --- a/service/migrationhubrefactorspaces/api_op_DeleteRoute.go +++ b/service/migrationhubrefactorspaces/api_op_DeleteRoute.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDeleteRouteMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRouteValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_DeleteService.go b/service/migrationhubrefactorspaces/api_op_DeleteService.go index f9dce5ababe..3a31b75193a 100644 --- a/service/migrationhubrefactorspaces/api_op_DeleteService.go +++ b/service/migrationhubrefactorspaces/api_op_DeleteService.go @@ -145,9 +145,6 @@ func (c *Client) addOperationDeleteServiceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteServiceValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_GetApplication.go b/service/migrationhubrefactorspaces/api_op_GetApplication.go index 2749fa33536..bbcde69365c 100644 --- a/service/migrationhubrefactorspaces/api_op_GetApplication.go +++ b/service/migrationhubrefactorspaces/api_op_GetApplication.go @@ -159,9 +159,6 @@ func (c *Client) addOperationGetApplicationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_GetEnvironment.go b/service/migrationhubrefactorspaces/api_op_GetEnvironment.go index 2baeeedee98..c1077fa0170 100644 --- a/service/migrationhubrefactorspaces/api_op_GetEnvironment.go +++ b/service/migrationhubrefactorspaces/api_op_GetEnvironment.go @@ -147,9 +147,6 @@ func (c *Client) addOperationGetEnvironmentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEnvironmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_GetResourcePolicy.go b/service/migrationhubrefactorspaces/api_op_GetResourcePolicy.go index bf09137353b..f33ea123cc6 100644 --- a/service/migrationhubrefactorspaces/api_op_GetResourcePolicy.go +++ b/service/migrationhubrefactorspaces/api_op_GetResourcePolicy.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_GetRoute.go b/service/migrationhubrefactorspaces/api_op_GetRoute.go index 43cb59610b4..195aa72caa7 100644 --- a/service/migrationhubrefactorspaces/api_op_GetRoute.go +++ b/service/migrationhubrefactorspaces/api_op_GetRoute.go @@ -188,9 +188,6 @@ func (c *Client) addOperationGetRouteMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRouteValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_GetService.go b/service/migrationhubrefactorspaces/api_op_GetService.go index 7dce3d414f7..8691384d990 100644 --- a/service/migrationhubrefactorspaces/api_op_GetService.go +++ b/service/migrationhubrefactorspaces/api_op_GetService.go @@ -179,9 +179,6 @@ func (c *Client) addOperationGetServiceMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetServiceValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_ListApplications.go b/service/migrationhubrefactorspaces/api_op_ListApplications.go index 9490ddfaf48..8d186457881 100644 --- a/service/migrationhubrefactorspaces/api_op_ListApplications.go +++ b/service/migrationhubrefactorspaces/api_op_ListApplications.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListApplicationsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListApplicationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_ListEnvironmentVpcs.go b/service/migrationhubrefactorspaces/api_op_ListEnvironmentVpcs.go index 5a62e73f86f..b2b1891c37e 100644 --- a/service/migrationhubrefactorspaces/api_op_ListEnvironmentVpcs.go +++ b/service/migrationhubrefactorspaces/api_op_ListEnvironmentVpcs.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListEnvironmentVpcsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEnvironmentVpcsValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_ListEnvironments.go b/service/migrationhubrefactorspaces/api_op_ListEnvironments.go index 601520c7d19..184591a8faa 100644 --- a/service/migrationhubrefactorspaces/api_op_ListEnvironments.go +++ b/service/migrationhubrefactorspaces/api_op_ListEnvironments.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListEnvironmentsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEnvironments(options.Region), middleware.Before); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_ListRoutes.go b/service/migrationhubrefactorspaces/api_op_ListRoutes.go index ac868b480eb..608e79afab5 100644 --- a/service/migrationhubrefactorspaces/api_op_ListRoutes.go +++ b/service/migrationhubrefactorspaces/api_op_ListRoutes.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListRoutesMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRoutesValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_ListServices.go b/service/migrationhubrefactorspaces/api_op_ListServices.go index 3ca8a0b8a0e..fec4cbddd50 100644 --- a/service/migrationhubrefactorspaces/api_op_ListServices.go +++ b/service/migrationhubrefactorspaces/api_op_ListServices.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListServicesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListServicesValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_ListTagsForResource.go b/service/migrationhubrefactorspaces/api_op_ListTagsForResource.go index 829e282911c..c20979afd31 100644 --- a/service/migrationhubrefactorspaces/api_op_ListTagsForResource.go +++ b/service/migrationhubrefactorspaces/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_PutResourcePolicy.go b/service/migrationhubrefactorspaces/api_op_PutResourcePolicy.go index ea5a5bcac83..c0083251599 100644 --- a/service/migrationhubrefactorspaces/api_op_PutResourcePolicy.go +++ b/service/migrationhubrefactorspaces/api_op_PutResourcePolicy.go @@ -118,9 +118,6 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_TagResource.go b/service/migrationhubrefactorspaces/api_op_TagResource.go index bbac9bb4c55..380197150c4 100644 --- a/service/migrationhubrefactorspaces/api_op_TagResource.go +++ b/service/migrationhubrefactorspaces/api_op_TagResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_UntagResource.go b/service/migrationhubrefactorspaces/api_op_UntagResource.go index 4eec5285440..b52d45dbd7f 100644 --- a/service/migrationhubrefactorspaces/api_op_UntagResource.go +++ b/service/migrationhubrefactorspaces/api_op_UntagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/api_op_UpdateRoute.go b/service/migrationhubrefactorspaces/api_op_UpdateRoute.go index 1b5c8cbd9b4..c5442901387 100644 --- a/service/migrationhubrefactorspaces/api_op_UpdateRoute.go +++ b/service/migrationhubrefactorspaces/api_op_UpdateRoute.go @@ -149,9 +149,6 @@ func (c *Client) addOperationUpdateRouteMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRouteValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubrefactorspaces/snapshot/api_op_CreateApplication.go.snap b/service/migrationhubrefactorspaces/snapshot/api_op_CreateApplication.go.snap index 55ae9fa9488..cb4df90a3ee 100644 --- a/service/migrationhubrefactorspaces/snapshot/api_op_CreateApplication.go.snap +++ b/service/migrationhubrefactorspaces/snapshot/api_op_CreateApplication.go.snap @@ -15,7 +15,6 @@ CreateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubrefactorspaces/snapshot/api_op_CreateEnvironment.go.snap b/service/migrationhubrefactorspaces/snapshot/api_op_CreateEnvironment.go.snap index 0eaef7c2ca1..464ff9f861c 100644 --- a/service/migrationhubrefactorspaces/snapshot/api_op_CreateEnvironment.go.snap +++ b/service/migrationhubrefactorspaces/snapshot/api_op_CreateEnvironment.go.snap @@ -15,7 +15,6 @@ CreateEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubrefactorspaces/snapshot/api_op_CreateRoute.go.snap b/service/migrationhubrefactorspaces/snapshot/api_op_CreateRoute.go.snap index bc3207b6a18..73fc9e4ee12 100644 --- a/service/migrationhubrefactorspaces/snapshot/api_op_CreateRoute.go.snap +++ b/service/migrationhubrefactorspaces/snapshot/api_op_CreateRoute.go.snap @@ -15,7 +15,6 @@ CreateRoute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubrefactorspaces/snapshot/api_op_CreateService.go.snap b/service/migrationhubrefactorspaces/snapshot/api_op_CreateService.go.snap index bdc32ad5952..e3246937990 100644 --- a/service/migrationhubrefactorspaces/snapshot/api_op_CreateService.go.snap +++ b/service/migrationhubrefactorspaces/snapshot/api_op_CreateService.go.snap @@ -15,7 +15,6 @@ CreateService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubrefactorspaces/snapshot/api_op_DeleteApplication.go.snap b/service/migrationhubrefactorspaces/snapshot/api_op_DeleteApplication.go.snap index 80790355ed5..ffda37a527f 100644 --- a/service/migrationhubrefactorspaces/snapshot/api_op_DeleteApplication.go.snap +++ b/service/migrationhubrefactorspaces/snapshot/api_op_DeleteApplication.go.snap @@ -14,7 +14,6 @@ DeleteApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubrefactorspaces/snapshot/api_op_DeleteEnvironment.go.snap b/service/migrationhubrefactorspaces/snapshot/api_op_DeleteEnvironment.go.snap index c799f299d43..b7abf2a0643 100644 --- a/service/migrationhubrefactorspaces/snapshot/api_op_DeleteEnvironment.go.snap +++ b/service/migrationhubrefactorspaces/snapshot/api_op_DeleteEnvironment.go.snap @@ -14,7 +14,6 @@ DeleteEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubrefactorspaces/snapshot/api_op_DeleteResourcePolicy.go.snap b/service/migrationhubrefactorspaces/snapshot/api_op_DeleteResourcePolicy.go.snap index 21dbc8dfcde..9948d797360 100644 --- a/service/migrationhubrefactorspaces/snapshot/api_op_DeleteResourcePolicy.go.snap +++ b/service/migrationhubrefactorspaces/snapshot/api_op_DeleteResourcePolicy.go.snap @@ -14,7 +14,6 @@ DeleteResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubrefactorspaces/snapshot/api_op_DeleteRoute.go.snap b/service/migrationhubrefactorspaces/snapshot/api_op_DeleteRoute.go.snap index ec3f8a11fa2..8d7b1473a8c 100644 --- a/service/migrationhubrefactorspaces/snapshot/api_op_DeleteRoute.go.snap +++ b/service/migrationhubrefactorspaces/snapshot/api_op_DeleteRoute.go.snap @@ -14,7 +14,6 @@ DeleteRoute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubrefactorspaces/snapshot/api_op_DeleteService.go.snap b/service/migrationhubrefactorspaces/snapshot/api_op_DeleteService.go.snap index 0ca8d33ca7c..b57f6142373 100644 --- a/service/migrationhubrefactorspaces/snapshot/api_op_DeleteService.go.snap +++ b/service/migrationhubrefactorspaces/snapshot/api_op_DeleteService.go.snap @@ -14,7 +14,6 @@ DeleteService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubrefactorspaces/snapshot/api_op_GetApplication.go.snap b/service/migrationhubrefactorspaces/snapshot/api_op_GetApplication.go.snap index 3307f56eb00..ffc8b0228f7 100644 --- a/service/migrationhubrefactorspaces/snapshot/api_op_GetApplication.go.snap +++ b/service/migrationhubrefactorspaces/snapshot/api_op_GetApplication.go.snap @@ -14,7 +14,6 @@ GetApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubrefactorspaces/snapshot/api_op_GetEnvironment.go.snap b/service/migrationhubrefactorspaces/snapshot/api_op_GetEnvironment.go.snap index 6f558393d06..9485ee9410e 100644 --- a/service/migrationhubrefactorspaces/snapshot/api_op_GetEnvironment.go.snap +++ b/service/migrationhubrefactorspaces/snapshot/api_op_GetEnvironment.go.snap @@ -14,7 +14,6 @@ GetEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubrefactorspaces/snapshot/api_op_GetResourcePolicy.go.snap b/service/migrationhubrefactorspaces/snapshot/api_op_GetResourcePolicy.go.snap index e3408c09804..4b3e7d017fa 100644 --- a/service/migrationhubrefactorspaces/snapshot/api_op_GetResourcePolicy.go.snap +++ b/service/migrationhubrefactorspaces/snapshot/api_op_GetResourcePolicy.go.snap @@ -14,7 +14,6 @@ GetResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubrefactorspaces/snapshot/api_op_GetRoute.go.snap b/service/migrationhubrefactorspaces/snapshot/api_op_GetRoute.go.snap index 5486ca6c63b..6dccc91459b 100644 --- a/service/migrationhubrefactorspaces/snapshot/api_op_GetRoute.go.snap +++ b/service/migrationhubrefactorspaces/snapshot/api_op_GetRoute.go.snap @@ -14,7 +14,6 @@ GetRoute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubrefactorspaces/snapshot/api_op_GetService.go.snap b/service/migrationhubrefactorspaces/snapshot/api_op_GetService.go.snap index c5e405f61cb..aad7d0d939e 100644 --- a/service/migrationhubrefactorspaces/snapshot/api_op_GetService.go.snap +++ b/service/migrationhubrefactorspaces/snapshot/api_op_GetService.go.snap @@ -14,7 +14,6 @@ GetService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubrefactorspaces/snapshot/api_op_ListApplications.go.snap b/service/migrationhubrefactorspaces/snapshot/api_op_ListApplications.go.snap index 7f3561f3d5c..be3dfcbf241 100644 --- a/service/migrationhubrefactorspaces/snapshot/api_op_ListApplications.go.snap +++ b/service/migrationhubrefactorspaces/snapshot/api_op_ListApplications.go.snap @@ -14,7 +14,6 @@ ListApplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubrefactorspaces/snapshot/api_op_ListEnvironmentVpcs.go.snap b/service/migrationhubrefactorspaces/snapshot/api_op_ListEnvironmentVpcs.go.snap index 69139416424..c5de6470397 100644 --- a/service/migrationhubrefactorspaces/snapshot/api_op_ListEnvironmentVpcs.go.snap +++ b/service/migrationhubrefactorspaces/snapshot/api_op_ListEnvironmentVpcs.go.snap @@ -14,7 +14,6 @@ ListEnvironmentVpcs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubrefactorspaces/snapshot/api_op_ListEnvironments.go.snap b/service/migrationhubrefactorspaces/snapshot/api_op_ListEnvironments.go.snap index 4e02d7ffa8b..882ae7a5f97 100644 --- a/service/migrationhubrefactorspaces/snapshot/api_op_ListEnvironments.go.snap +++ b/service/migrationhubrefactorspaces/snapshot/api_op_ListEnvironments.go.snap @@ -13,7 +13,6 @@ ListEnvironments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubrefactorspaces/snapshot/api_op_ListRoutes.go.snap b/service/migrationhubrefactorspaces/snapshot/api_op_ListRoutes.go.snap index 41759f5ea0e..2aa92dc369c 100644 --- a/service/migrationhubrefactorspaces/snapshot/api_op_ListRoutes.go.snap +++ b/service/migrationhubrefactorspaces/snapshot/api_op_ListRoutes.go.snap @@ -14,7 +14,6 @@ ListRoutes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubrefactorspaces/snapshot/api_op_ListServices.go.snap b/service/migrationhubrefactorspaces/snapshot/api_op_ListServices.go.snap index 726eac6f5a5..724b7cfbbd5 100644 --- a/service/migrationhubrefactorspaces/snapshot/api_op_ListServices.go.snap +++ b/service/migrationhubrefactorspaces/snapshot/api_op_ListServices.go.snap @@ -14,7 +14,6 @@ ListServices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubrefactorspaces/snapshot/api_op_ListTagsForResource.go.snap b/service/migrationhubrefactorspaces/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/migrationhubrefactorspaces/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/migrationhubrefactorspaces/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubrefactorspaces/snapshot/api_op_PutResourcePolicy.go.snap b/service/migrationhubrefactorspaces/snapshot/api_op_PutResourcePolicy.go.snap index 30530b1514f..47bad3fad0e 100644 --- a/service/migrationhubrefactorspaces/snapshot/api_op_PutResourcePolicy.go.snap +++ b/service/migrationhubrefactorspaces/snapshot/api_op_PutResourcePolicy.go.snap @@ -14,7 +14,6 @@ PutResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubrefactorspaces/snapshot/api_op_TagResource.go.snap b/service/migrationhubrefactorspaces/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/migrationhubrefactorspaces/snapshot/api_op_TagResource.go.snap +++ b/service/migrationhubrefactorspaces/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubrefactorspaces/snapshot/api_op_UntagResource.go.snap b/service/migrationhubrefactorspaces/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/migrationhubrefactorspaces/snapshot/api_op_UntagResource.go.snap +++ b/service/migrationhubrefactorspaces/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubrefactorspaces/snapshot/api_op_UpdateRoute.go.snap b/service/migrationhubrefactorspaces/snapshot/api_op_UpdateRoute.go.snap index 49d40157d3c..8c0b3198652 100644 --- a/service/migrationhubrefactorspaces/snapshot/api_op_UpdateRoute.go.snap +++ b/service/migrationhubrefactorspaces/snapshot/api_op_UpdateRoute.go.snap @@ -14,7 +14,6 @@ UpdateRoute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubstrategy/api_client.go b/service/migrationhubstrategy/api_client.go index 7db8b43cc06..f4407ffa6f6 100644 --- a/service/migrationhubstrategy/api_client.go +++ b/service/migrationhubstrategy/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/migrationhubstrategy/api_op_GetApplicationComponentDetails.go b/service/migrationhubstrategy/api_op_GetApplicationComponentDetails.go index eed4bbba835..e4578c86f84 100644 --- a/service/migrationhubstrategy/api_op_GetApplicationComponentDetails.go +++ b/service/migrationhubstrategy/api_op_GetApplicationComponentDetails.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetApplicationComponentDetailsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApplicationComponentDetailsValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_GetApplicationComponentStrategies.go b/service/migrationhubstrategy/api_op_GetApplicationComponentStrategies.go index 8c94c26d7ef..360ba0ce1dd 100644 --- a/service/migrationhubstrategy/api_op_GetApplicationComponentStrategies.go +++ b/service/migrationhubstrategy/api_op_GetApplicationComponentStrategies.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetApplicationComponentStrategiesMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApplicationComponentStrategiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_GetAssessment.go b/service/migrationhubstrategy/api_op_GetAssessment.go index 5843a0d6fa7..bd17752f9f3 100644 --- a/service/migrationhubstrategy/api_op_GetAssessment.go +++ b/service/migrationhubstrategy/api_op_GetAssessment.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetAssessmentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAssessmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_GetImportFileTask.go b/service/migrationhubstrategy/api_op_GetImportFileTask.go index 1e099bb314f..0ed4f0fb63a 100644 --- a/service/migrationhubstrategy/api_op_GetImportFileTask.go +++ b/service/migrationhubstrategy/api_op_GetImportFileTask.go @@ -144,9 +144,6 @@ func (c *Client) addOperationGetImportFileTaskMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetImportFileTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_GetLatestAssessmentId.go b/service/migrationhubstrategy/api_op_GetLatestAssessmentId.go index 32f6a52c79a..885c1ab394c 100644 --- a/service/migrationhubstrategy/api_op_GetLatestAssessmentId.go +++ b/service/migrationhubstrategy/api_op_GetLatestAssessmentId.go @@ -105,9 +105,6 @@ func (c *Client) addOperationGetLatestAssessmentIdMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLatestAssessmentId(options.Region), middleware.Before); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_GetPortfolioPreferences.go b/service/migrationhubstrategy/api_op_GetPortfolioPreferences.go index 48df1363175..8b04dfa5d7e 100644 --- a/service/migrationhubstrategy/api_op_GetPortfolioPreferences.go +++ b/service/migrationhubstrategy/api_op_GetPortfolioPreferences.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetPortfolioPreferencesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPortfolioPreferences(options.Region), middleware.Before); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_GetPortfolioSummary.go b/service/migrationhubstrategy/api_op_GetPortfolioSummary.go index cf5e13de685..715f0d6870e 100644 --- a/service/migrationhubstrategy/api_op_GetPortfolioSummary.go +++ b/service/migrationhubstrategy/api_op_GetPortfolioSummary.go @@ -109,9 +109,6 @@ func (c *Client) addOperationGetPortfolioSummaryMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPortfolioSummary(options.Region), middleware.Before); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_GetRecommendationReportDetails.go b/service/migrationhubstrategy/api_op_GetRecommendationReportDetails.go index c45437ab342..521abbd2cbd 100644 --- a/service/migrationhubstrategy/api_op_GetRecommendationReportDetails.go +++ b/service/migrationhubstrategy/api_op_GetRecommendationReportDetails.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetRecommendationReportDetailsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRecommendationReportDetailsValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_GetServerDetails.go b/service/migrationhubstrategy/api_op_GetServerDetails.go index e02201518cc..8a5dcdfaf0a 100644 --- a/service/migrationhubstrategy/api_op_GetServerDetails.go +++ b/service/migrationhubstrategy/api_op_GetServerDetails.go @@ -130,9 +130,6 @@ func (c *Client) addOperationGetServerDetailsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetServerDetailsValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_GetServerStrategies.go b/service/migrationhubstrategy/api_op_GetServerStrategies.go index d6701696430..ccec5eb9e77 100644 --- a/service/migrationhubstrategy/api_op_GetServerStrategies.go +++ b/service/migrationhubstrategy/api_op_GetServerStrategies.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetServerStrategiesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetServerStrategiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_ListAnalyzableServers.go b/service/migrationhubstrategy/api_op_ListAnalyzableServers.go index ccd0583c479..75875119a3c 100644 --- a/service/migrationhubstrategy/api_op_ListAnalyzableServers.go +++ b/service/migrationhubstrategy/api_op_ListAnalyzableServers.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListAnalyzableServersMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAnalyzableServers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_ListApplicationComponents.go b/service/migrationhubstrategy/api_op_ListApplicationComponents.go index 044de9e1797..1af3e158761 100644 --- a/service/migrationhubstrategy/api_op_ListApplicationComponents.go +++ b/service/migrationhubstrategy/api_op_ListApplicationComponents.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListApplicationComponentsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplicationComponents(options.Region), middleware.Before); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_ListCollectors.go b/service/migrationhubstrategy/api_op_ListCollectors.go index 77d67914398..4fed546a00e 100644 --- a/service/migrationhubstrategy/api_op_ListCollectors.go +++ b/service/migrationhubstrategy/api_op_ListCollectors.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListCollectorsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCollectors(options.Region), middleware.Before); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_ListImportFileTask.go b/service/migrationhubstrategy/api_op_ListImportFileTask.go index da96f749e29..27e07a4e011 100644 --- a/service/migrationhubstrategy/api_op_ListImportFileTask.go +++ b/service/migrationhubstrategy/api_op_ListImportFileTask.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListImportFileTaskMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImportFileTask(options.Region), middleware.Before); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_ListServers.go b/service/migrationhubstrategy/api_op_ListServers.go index b87f3baa067..12c1a6d98cb 100644 --- a/service/migrationhubstrategy/api_op_ListServers.go +++ b/service/migrationhubstrategy/api_op_ListServers.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListServersMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_PutPortfolioPreferences.go b/service/migrationhubstrategy/api_op_PutPortfolioPreferences.go index 335055e8838..72bea66689f 100644 --- a/service/migrationhubstrategy/api_op_PutPortfolioPreferences.go +++ b/service/migrationhubstrategy/api_op_PutPortfolioPreferences.go @@ -115,9 +115,6 @@ func (c *Client) addOperationPutPortfolioPreferencesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutPortfolioPreferencesValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_StartAssessment.go b/service/migrationhubstrategy/api_op_StartAssessment.go index 07fa860d0f5..3a29f8d9c07 100644 --- a/service/migrationhubstrategy/api_op_StartAssessment.go +++ b/service/migrationhubstrategy/api_op_StartAssessment.go @@ -121,9 +121,6 @@ func (c *Client) addOperationStartAssessmentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartAssessmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_StartImportFileTask.go b/service/migrationhubstrategy/api_op_StartImportFileTask.go index 17f72199707..66c193de1ba 100644 --- a/service/migrationhubstrategy/api_op_StartImportFileTask.go +++ b/service/migrationhubstrategy/api_op_StartImportFileTask.go @@ -136,9 +136,6 @@ func (c *Client) addOperationStartImportFileTaskMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartImportFileTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_StartRecommendationReportGeneration.go b/service/migrationhubstrategy/api_op_StartRecommendationReportGeneration.go index 0d9953d942b..e887caa70e8 100644 --- a/service/migrationhubstrategy/api_op_StartRecommendationReportGeneration.go +++ b/service/migrationhubstrategy/api_op_StartRecommendationReportGeneration.go @@ -114,9 +114,6 @@ func (c *Client) addOperationStartRecommendationReportGenerationMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartRecommendationReportGeneration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_StopAssessment.go b/service/migrationhubstrategy/api_op_StopAssessment.go index 8637674a2c9..3e8d468a762 100644 --- a/service/migrationhubstrategy/api_op_StopAssessment.go +++ b/service/migrationhubstrategy/api_op_StopAssessment.go @@ -107,9 +107,6 @@ func (c *Client) addOperationStopAssessmentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopAssessmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_UpdateApplicationComponentConfig.go b/service/migrationhubstrategy/api_op_UpdateApplicationComponentConfig.go index 544b8324df9..f98afb35594 100644 --- a/service/migrationhubstrategy/api_op_UpdateApplicationComponentConfig.go +++ b/service/migrationhubstrategy/api_op_UpdateApplicationComponentConfig.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdateApplicationComponentConfigMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApplicationComponentConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/api_op_UpdateServerConfig.go b/service/migrationhubstrategy/api_op_UpdateServerConfig.go index dc148f74990..9fdc5d28923 100644 --- a/service/migrationhubstrategy/api_op_UpdateServerConfig.go +++ b/service/migrationhubstrategy/api_op_UpdateServerConfig.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUpdateServerConfigMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateServerConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/migrationhubstrategy/snapshot/api_op_GetApplicationComponentDetails.go.snap b/service/migrationhubstrategy/snapshot/api_op_GetApplicationComponentDetails.go.snap index d9ec10cdd9e..6971fba0224 100644 --- a/service/migrationhubstrategy/snapshot/api_op_GetApplicationComponentDetails.go.snap +++ b/service/migrationhubstrategy/snapshot/api_op_GetApplicationComponentDetails.go.snap @@ -14,7 +14,6 @@ GetApplicationComponentDetails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubstrategy/snapshot/api_op_GetApplicationComponentStrategies.go.snap b/service/migrationhubstrategy/snapshot/api_op_GetApplicationComponentStrategies.go.snap index 98d3f3388d5..4d9ec1adc3d 100644 --- a/service/migrationhubstrategy/snapshot/api_op_GetApplicationComponentStrategies.go.snap +++ b/service/migrationhubstrategy/snapshot/api_op_GetApplicationComponentStrategies.go.snap @@ -14,7 +14,6 @@ GetApplicationComponentStrategies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubstrategy/snapshot/api_op_GetAssessment.go.snap b/service/migrationhubstrategy/snapshot/api_op_GetAssessment.go.snap index d3d00bbd4e4..ddb7ed95a91 100644 --- a/service/migrationhubstrategy/snapshot/api_op_GetAssessment.go.snap +++ b/service/migrationhubstrategy/snapshot/api_op_GetAssessment.go.snap @@ -14,7 +14,6 @@ GetAssessment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubstrategy/snapshot/api_op_GetImportFileTask.go.snap b/service/migrationhubstrategy/snapshot/api_op_GetImportFileTask.go.snap index a647f0b25a9..c68d8006e2f 100644 --- a/service/migrationhubstrategy/snapshot/api_op_GetImportFileTask.go.snap +++ b/service/migrationhubstrategy/snapshot/api_op_GetImportFileTask.go.snap @@ -14,7 +14,6 @@ GetImportFileTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubstrategy/snapshot/api_op_GetLatestAssessmentId.go.snap b/service/migrationhubstrategy/snapshot/api_op_GetLatestAssessmentId.go.snap index 8bb8bc9cda6..76bb1919025 100644 --- a/service/migrationhubstrategy/snapshot/api_op_GetLatestAssessmentId.go.snap +++ b/service/migrationhubstrategy/snapshot/api_op_GetLatestAssessmentId.go.snap @@ -13,7 +13,6 @@ GetLatestAssessmentId Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubstrategy/snapshot/api_op_GetPortfolioPreferences.go.snap b/service/migrationhubstrategy/snapshot/api_op_GetPortfolioPreferences.go.snap index 891fab89538..878110637e5 100644 --- a/service/migrationhubstrategy/snapshot/api_op_GetPortfolioPreferences.go.snap +++ b/service/migrationhubstrategy/snapshot/api_op_GetPortfolioPreferences.go.snap @@ -13,7 +13,6 @@ GetPortfolioPreferences Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubstrategy/snapshot/api_op_GetPortfolioSummary.go.snap b/service/migrationhubstrategy/snapshot/api_op_GetPortfolioSummary.go.snap index de84b98ecab..eeb29b2a2b6 100644 --- a/service/migrationhubstrategy/snapshot/api_op_GetPortfolioSummary.go.snap +++ b/service/migrationhubstrategy/snapshot/api_op_GetPortfolioSummary.go.snap @@ -13,7 +13,6 @@ GetPortfolioSummary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubstrategy/snapshot/api_op_GetRecommendationReportDetails.go.snap b/service/migrationhubstrategy/snapshot/api_op_GetRecommendationReportDetails.go.snap index b70e3049ec9..d9548111fd7 100644 --- a/service/migrationhubstrategy/snapshot/api_op_GetRecommendationReportDetails.go.snap +++ b/service/migrationhubstrategy/snapshot/api_op_GetRecommendationReportDetails.go.snap @@ -14,7 +14,6 @@ GetRecommendationReportDetails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubstrategy/snapshot/api_op_GetServerDetails.go.snap b/service/migrationhubstrategy/snapshot/api_op_GetServerDetails.go.snap index be06b11cddb..f8d7937523a 100644 --- a/service/migrationhubstrategy/snapshot/api_op_GetServerDetails.go.snap +++ b/service/migrationhubstrategy/snapshot/api_op_GetServerDetails.go.snap @@ -14,7 +14,6 @@ GetServerDetails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubstrategy/snapshot/api_op_GetServerStrategies.go.snap b/service/migrationhubstrategy/snapshot/api_op_GetServerStrategies.go.snap index 8d4e98b5587..3a636c8c0bd 100644 --- a/service/migrationhubstrategy/snapshot/api_op_GetServerStrategies.go.snap +++ b/service/migrationhubstrategy/snapshot/api_op_GetServerStrategies.go.snap @@ -14,7 +14,6 @@ GetServerStrategies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubstrategy/snapshot/api_op_ListAnalyzableServers.go.snap b/service/migrationhubstrategy/snapshot/api_op_ListAnalyzableServers.go.snap index 9ab437f3682..289adb7345b 100644 --- a/service/migrationhubstrategy/snapshot/api_op_ListAnalyzableServers.go.snap +++ b/service/migrationhubstrategy/snapshot/api_op_ListAnalyzableServers.go.snap @@ -13,7 +13,6 @@ ListAnalyzableServers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubstrategy/snapshot/api_op_ListApplicationComponents.go.snap b/service/migrationhubstrategy/snapshot/api_op_ListApplicationComponents.go.snap index 5bcbf5efe48..ddce7263f42 100644 --- a/service/migrationhubstrategy/snapshot/api_op_ListApplicationComponents.go.snap +++ b/service/migrationhubstrategy/snapshot/api_op_ListApplicationComponents.go.snap @@ -13,7 +13,6 @@ ListApplicationComponents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubstrategy/snapshot/api_op_ListCollectors.go.snap b/service/migrationhubstrategy/snapshot/api_op_ListCollectors.go.snap index 6947f6bb967..6efd9d72af0 100644 --- a/service/migrationhubstrategy/snapshot/api_op_ListCollectors.go.snap +++ b/service/migrationhubstrategy/snapshot/api_op_ListCollectors.go.snap @@ -13,7 +13,6 @@ ListCollectors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubstrategy/snapshot/api_op_ListImportFileTask.go.snap b/service/migrationhubstrategy/snapshot/api_op_ListImportFileTask.go.snap index 7689173c857..0786a13ffdb 100644 --- a/service/migrationhubstrategy/snapshot/api_op_ListImportFileTask.go.snap +++ b/service/migrationhubstrategy/snapshot/api_op_ListImportFileTask.go.snap @@ -13,7 +13,6 @@ ListImportFileTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubstrategy/snapshot/api_op_ListServers.go.snap b/service/migrationhubstrategy/snapshot/api_op_ListServers.go.snap index 0f96b82d8c4..0b60971e28d 100644 --- a/service/migrationhubstrategy/snapshot/api_op_ListServers.go.snap +++ b/service/migrationhubstrategy/snapshot/api_op_ListServers.go.snap @@ -13,7 +13,6 @@ ListServers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubstrategy/snapshot/api_op_PutPortfolioPreferences.go.snap b/service/migrationhubstrategy/snapshot/api_op_PutPortfolioPreferences.go.snap index eb2a34a86c6..6a8d3d70eda 100644 --- a/service/migrationhubstrategy/snapshot/api_op_PutPortfolioPreferences.go.snap +++ b/service/migrationhubstrategy/snapshot/api_op_PutPortfolioPreferences.go.snap @@ -14,7 +14,6 @@ PutPortfolioPreferences Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubstrategy/snapshot/api_op_StartAssessment.go.snap b/service/migrationhubstrategy/snapshot/api_op_StartAssessment.go.snap index ce5e31b76eb..172b73d48ed 100644 --- a/service/migrationhubstrategy/snapshot/api_op_StartAssessment.go.snap +++ b/service/migrationhubstrategy/snapshot/api_op_StartAssessment.go.snap @@ -14,7 +14,6 @@ StartAssessment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubstrategy/snapshot/api_op_StartImportFileTask.go.snap b/service/migrationhubstrategy/snapshot/api_op_StartImportFileTask.go.snap index ccb9932c312..92584f35885 100644 --- a/service/migrationhubstrategy/snapshot/api_op_StartImportFileTask.go.snap +++ b/service/migrationhubstrategy/snapshot/api_op_StartImportFileTask.go.snap @@ -14,7 +14,6 @@ StartImportFileTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubstrategy/snapshot/api_op_StartRecommendationReportGeneration.go.snap b/service/migrationhubstrategy/snapshot/api_op_StartRecommendationReportGeneration.go.snap index 6a4c1f47626..17e480bfbc3 100644 --- a/service/migrationhubstrategy/snapshot/api_op_StartRecommendationReportGeneration.go.snap +++ b/service/migrationhubstrategy/snapshot/api_op_StartRecommendationReportGeneration.go.snap @@ -13,7 +13,6 @@ StartRecommendationReportGeneration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubstrategy/snapshot/api_op_StopAssessment.go.snap b/service/migrationhubstrategy/snapshot/api_op_StopAssessment.go.snap index 121a30aff91..d377b2d4fc9 100644 --- a/service/migrationhubstrategy/snapshot/api_op_StopAssessment.go.snap +++ b/service/migrationhubstrategy/snapshot/api_op_StopAssessment.go.snap @@ -14,7 +14,6 @@ StopAssessment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubstrategy/snapshot/api_op_UpdateApplicationComponentConfig.go.snap b/service/migrationhubstrategy/snapshot/api_op_UpdateApplicationComponentConfig.go.snap index 4c7e98156ac..8da485c5533 100644 --- a/service/migrationhubstrategy/snapshot/api_op_UpdateApplicationComponentConfig.go.snap +++ b/service/migrationhubstrategy/snapshot/api_op_UpdateApplicationComponentConfig.go.snap @@ -14,7 +14,6 @@ UpdateApplicationComponentConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/migrationhubstrategy/snapshot/api_op_UpdateServerConfig.go.snap b/service/migrationhubstrategy/snapshot/api_op_UpdateServerConfig.go.snap index b35faf749ec..a452285532c 100644 --- a/service/migrationhubstrategy/snapshot/api_op_UpdateServerConfig.go.snap +++ b/service/migrationhubstrategy/snapshot/api_op_UpdateServerConfig.go.snap @@ -14,7 +14,6 @@ UpdateServerConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mq/api_client.go b/service/mq/api_client.go index 1843fb7571d..82f2a03ff86 100644 --- a/service/mq/api_client.go +++ b/service/mq/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/mq/api_op_CreateBroker.go b/service/mq/api_op_CreateBroker.go index bfdc05bed9e..074db1afb72 100644 --- a/service/mq/api_op_CreateBroker.go +++ b/service/mq/api_op_CreateBroker.go @@ -274,9 +274,6 @@ func (c *Client) addOperationCreateBrokerMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateBrokerMiddleware(stack, options); err != nil { return err } diff --git a/service/mq/api_op_CreateConfiguration.go b/service/mq/api_op_CreateConfiguration.go index 7ac2c4020d0..61afc76075c 100644 --- a/service/mq/api_op_CreateConfiguration.go +++ b/service/mq/api_op_CreateConfiguration.go @@ -157,9 +157,6 @@ func (c *Client) addOperationCreateConfigurationMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_CreateTags.go b/service/mq/api_op_CreateTags.go index d727a6934d4..7c957ca1af5 100644 --- a/service/mq/api_op_CreateTags.go +++ b/service/mq/api_op_CreateTags.go @@ -111,9 +111,6 @@ func (c *Client) addOperationCreateTagsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_CreateUser.go b/service/mq/api_op_CreateUser.go index b4bd4bd92d3..aaefb40bc05 100644 --- a/service/mq/api_op_CreateUser.go +++ b/service/mq/api_op_CreateUser.go @@ -138,9 +138,6 @@ func (c *Client) addOperationCreateUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_DeleteBroker.go b/service/mq/api_op_DeleteBroker.go index 75900fcc928..8f82afeeb75 100644 --- a/service/mq/api_op_DeleteBroker.go +++ b/service/mq/api_op_DeleteBroker.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteBrokerMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBrokerValidationMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_DeleteTags.go b/service/mq/api_op_DeleteTags.go index 74501de7358..cd13108ed84 100644 --- a/service/mq/api_op_DeleteTags.go +++ b/service/mq/api_op_DeleteTags.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteTagsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_DeleteUser.go b/service/mq/api_op_DeleteUser.go index c36c64893e2..c18c517a16c 100644 --- a/service/mq/api_op_DeleteUser.go +++ b/service/mq/api_op_DeleteUser.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_DescribeBroker.go b/service/mq/api_op_DescribeBroker.go index 5aa67ff2ead..baa5fbd5a4c 100644 --- a/service/mq/api_op_DescribeBroker.go +++ b/service/mq/api_op_DescribeBroker.go @@ -235,9 +235,6 @@ func (c *Client) addOperationDescribeBrokerMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBrokerValidationMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_DescribeBrokerEngineTypes.go b/service/mq/api_op_DescribeBrokerEngineTypes.go index facaff9c919..a761e924211 100644 --- a/service/mq/api_op_DescribeBrokerEngineTypes.go +++ b/service/mq/api_op_DescribeBrokerEngineTypes.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeBrokerEngineTypesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBrokerEngineTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mq/api_op_DescribeBrokerInstanceOptions.go b/service/mq/api_op_DescribeBrokerInstanceOptions.go index 05f0b480c79..b1653c32315 100644 --- a/service/mq/api_op_DescribeBrokerInstanceOptions.go +++ b/service/mq/api_op_DescribeBrokerInstanceOptions.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeBrokerInstanceOptionsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBrokerInstanceOptions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mq/api_op_DescribeConfiguration.go b/service/mq/api_op_DescribeConfiguration.go index 6e7ad50c51e..a9c01e627f0 100644 --- a/service/mq/api_op_DescribeConfiguration.go +++ b/service/mq/api_op_DescribeConfiguration.go @@ -149,9 +149,6 @@ func (c *Client) addOperationDescribeConfigurationMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_DescribeConfigurationRevision.go b/service/mq/api_op_DescribeConfigurationRevision.go index d4c1d5e08f0..7edfb0075a6 100644 --- a/service/mq/api_op_DescribeConfigurationRevision.go +++ b/service/mq/api_op_DescribeConfigurationRevision.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeConfigurationRevisionMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeConfigurationRevisionValidationMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_DescribeUser.go b/service/mq/api_op_DescribeUser.go index 905fe20a4c3..9b7ec78ba2e 100644 --- a/service/mq/api_op_DescribeUser.go +++ b/service/mq/api_op_DescribeUser.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDescribeUserMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_ListBrokers.go b/service/mq/api_op_ListBrokers.go index c1a88ea3b0b..3377c2c7b33 100644 --- a/service/mq/api_op_ListBrokers.go +++ b/service/mq/api_op_ListBrokers.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListBrokersMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBrokers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mq/api_op_ListConfigurationRevisions.go b/service/mq/api_op_ListConfigurationRevisions.go index 8223ed69a0d..e5d18c9066e 100644 --- a/service/mq/api_op_ListConfigurationRevisions.go +++ b/service/mq/api_op_ListConfigurationRevisions.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListConfigurationRevisionsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListConfigurationRevisionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_ListConfigurations.go b/service/mq/api_op_ListConfigurations.go index 482fc865eeb..1af515fe1dc 100644 --- a/service/mq/api_op_ListConfigurations.go +++ b/service/mq/api_op_ListConfigurations.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListConfigurationsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mq/api_op_ListTags.go b/service/mq/api_op_ListTags.go index 734ed2c0f2e..08044f09c21 100644 --- a/service/mq/api_op_ListTags.go +++ b/service/mq/api_op_ListTags.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_ListUsers.go b/service/mq/api_op_ListUsers.go index 71333c354b2..ce99931c731 100644 --- a/service/mq/api_op_ListUsers.go +++ b/service/mq/api_op_ListUsers.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListUsersMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListUsersValidationMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_Promote.go b/service/mq/api_op_Promote.go index 3fd0a4f14e3..acecdf89d01 100644 --- a/service/mq/api_op_Promote.go +++ b/service/mq/api_op_Promote.go @@ -119,9 +119,6 @@ func (c *Client) addOperationPromoteMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPromoteValidationMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_RebootBroker.go b/service/mq/api_op_RebootBroker.go index 17abe3436c7..6683b5ef99f 100644 --- a/service/mq/api_op_RebootBroker.go +++ b/service/mq/api_op_RebootBroker.go @@ -107,9 +107,6 @@ func (c *Client) addOperationRebootBrokerMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRebootBrokerValidationMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_UpdateBroker.go b/service/mq/api_op_UpdateBroker.go index 8334457dbd6..e04a2a9fd1a 100644 --- a/service/mq/api_op_UpdateBroker.go +++ b/service/mq/api_op_UpdateBroker.go @@ -215,9 +215,6 @@ func (c *Client) addOperationUpdateBrokerMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBrokerValidationMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_UpdateConfiguration.go b/service/mq/api_op_UpdateConfiguration.go index f76dfd94d3f..b47fed41eb1 100644 --- a/service/mq/api_op_UpdateConfiguration.go +++ b/service/mq/api_op_UpdateConfiguration.go @@ -141,9 +141,6 @@ func (c *Client) addOperationUpdateConfigurationMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/mq/api_op_UpdateUser.go b/service/mq/api_op_UpdateUser.go index cb1fddce979..4fdaf99498b 100644 --- a/service/mq/api_op_UpdateUser.go +++ b/service/mq/api_op_UpdateUser.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/mq/snapshot/api_op_CreateBroker.go.snap b/service/mq/snapshot/api_op_CreateBroker.go.snap index d2bf5e28e15..41f2026cf2a 100644 --- a/service/mq/snapshot/api_op_CreateBroker.go.snap +++ b/service/mq/snapshot/api_op_CreateBroker.go.snap @@ -15,7 +15,6 @@ CreateBroker Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mq/snapshot/api_op_CreateConfiguration.go.snap b/service/mq/snapshot/api_op_CreateConfiguration.go.snap index d4453984a02..1b855676fb6 100644 --- a/service/mq/snapshot/api_op_CreateConfiguration.go.snap +++ b/service/mq/snapshot/api_op_CreateConfiguration.go.snap @@ -14,7 +14,6 @@ CreateConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mq/snapshot/api_op_CreateTags.go.snap b/service/mq/snapshot/api_op_CreateTags.go.snap index fe83545a271..2507df3be57 100644 --- a/service/mq/snapshot/api_op_CreateTags.go.snap +++ b/service/mq/snapshot/api_op_CreateTags.go.snap @@ -14,7 +14,6 @@ CreateTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mq/snapshot/api_op_CreateUser.go.snap b/service/mq/snapshot/api_op_CreateUser.go.snap index bfcfbd2c853..d278c15935b 100644 --- a/service/mq/snapshot/api_op_CreateUser.go.snap +++ b/service/mq/snapshot/api_op_CreateUser.go.snap @@ -14,7 +14,6 @@ CreateUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mq/snapshot/api_op_DeleteBroker.go.snap b/service/mq/snapshot/api_op_DeleteBroker.go.snap index 59abee36092..e9f8f96619f 100644 --- a/service/mq/snapshot/api_op_DeleteBroker.go.snap +++ b/service/mq/snapshot/api_op_DeleteBroker.go.snap @@ -14,7 +14,6 @@ DeleteBroker Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mq/snapshot/api_op_DeleteTags.go.snap b/service/mq/snapshot/api_op_DeleteTags.go.snap index 7821a01e140..0eeb01dca01 100644 --- a/service/mq/snapshot/api_op_DeleteTags.go.snap +++ b/service/mq/snapshot/api_op_DeleteTags.go.snap @@ -14,7 +14,6 @@ DeleteTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mq/snapshot/api_op_DeleteUser.go.snap b/service/mq/snapshot/api_op_DeleteUser.go.snap index 43834da9879..eda6e5fae30 100644 --- a/service/mq/snapshot/api_op_DeleteUser.go.snap +++ b/service/mq/snapshot/api_op_DeleteUser.go.snap @@ -14,7 +14,6 @@ DeleteUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mq/snapshot/api_op_DescribeBroker.go.snap b/service/mq/snapshot/api_op_DescribeBroker.go.snap index 983e40e3530..5724c397825 100644 --- a/service/mq/snapshot/api_op_DescribeBroker.go.snap +++ b/service/mq/snapshot/api_op_DescribeBroker.go.snap @@ -14,7 +14,6 @@ DescribeBroker Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mq/snapshot/api_op_DescribeBrokerEngineTypes.go.snap b/service/mq/snapshot/api_op_DescribeBrokerEngineTypes.go.snap index 0f0a23f1266..e558071fa1a 100644 --- a/service/mq/snapshot/api_op_DescribeBrokerEngineTypes.go.snap +++ b/service/mq/snapshot/api_op_DescribeBrokerEngineTypes.go.snap @@ -13,7 +13,6 @@ DescribeBrokerEngineTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mq/snapshot/api_op_DescribeBrokerInstanceOptions.go.snap b/service/mq/snapshot/api_op_DescribeBrokerInstanceOptions.go.snap index 7de6b160941..db6c52f3cfa 100644 --- a/service/mq/snapshot/api_op_DescribeBrokerInstanceOptions.go.snap +++ b/service/mq/snapshot/api_op_DescribeBrokerInstanceOptions.go.snap @@ -13,7 +13,6 @@ DescribeBrokerInstanceOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mq/snapshot/api_op_DescribeConfiguration.go.snap b/service/mq/snapshot/api_op_DescribeConfiguration.go.snap index 17e8a758f68..18b0f68da1f 100644 --- a/service/mq/snapshot/api_op_DescribeConfiguration.go.snap +++ b/service/mq/snapshot/api_op_DescribeConfiguration.go.snap @@ -14,7 +14,6 @@ DescribeConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mq/snapshot/api_op_DescribeConfigurationRevision.go.snap b/service/mq/snapshot/api_op_DescribeConfigurationRevision.go.snap index ae0566c8285..7874c023eea 100644 --- a/service/mq/snapshot/api_op_DescribeConfigurationRevision.go.snap +++ b/service/mq/snapshot/api_op_DescribeConfigurationRevision.go.snap @@ -14,7 +14,6 @@ DescribeConfigurationRevision Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mq/snapshot/api_op_DescribeUser.go.snap b/service/mq/snapshot/api_op_DescribeUser.go.snap index 630a2859093..a7ee6cfa46d 100644 --- a/service/mq/snapshot/api_op_DescribeUser.go.snap +++ b/service/mq/snapshot/api_op_DescribeUser.go.snap @@ -14,7 +14,6 @@ DescribeUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mq/snapshot/api_op_ListBrokers.go.snap b/service/mq/snapshot/api_op_ListBrokers.go.snap index 4968509d540..b603aa8e90d 100644 --- a/service/mq/snapshot/api_op_ListBrokers.go.snap +++ b/service/mq/snapshot/api_op_ListBrokers.go.snap @@ -13,7 +13,6 @@ ListBrokers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mq/snapshot/api_op_ListConfigurationRevisions.go.snap b/service/mq/snapshot/api_op_ListConfigurationRevisions.go.snap index 6b2abb6664e..0edc5b74af0 100644 --- a/service/mq/snapshot/api_op_ListConfigurationRevisions.go.snap +++ b/service/mq/snapshot/api_op_ListConfigurationRevisions.go.snap @@ -14,7 +14,6 @@ ListConfigurationRevisions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mq/snapshot/api_op_ListConfigurations.go.snap b/service/mq/snapshot/api_op_ListConfigurations.go.snap index 3ada00b5a71..0ee10de90de 100644 --- a/service/mq/snapshot/api_op_ListConfigurations.go.snap +++ b/service/mq/snapshot/api_op_ListConfigurations.go.snap @@ -13,7 +13,6 @@ ListConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mq/snapshot/api_op_ListTags.go.snap b/service/mq/snapshot/api_op_ListTags.go.snap index 1b1e99185a9..438bd1b7aec 100644 --- a/service/mq/snapshot/api_op_ListTags.go.snap +++ b/service/mq/snapshot/api_op_ListTags.go.snap @@ -14,7 +14,6 @@ ListTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mq/snapshot/api_op_ListUsers.go.snap b/service/mq/snapshot/api_op_ListUsers.go.snap index e806475e845..214b3b04368 100644 --- a/service/mq/snapshot/api_op_ListUsers.go.snap +++ b/service/mq/snapshot/api_op_ListUsers.go.snap @@ -14,7 +14,6 @@ ListUsers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mq/snapshot/api_op_Promote.go.snap b/service/mq/snapshot/api_op_Promote.go.snap index 33c210c83db..61f8a8091c3 100644 --- a/service/mq/snapshot/api_op_Promote.go.snap +++ b/service/mq/snapshot/api_op_Promote.go.snap @@ -14,7 +14,6 @@ Promote Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mq/snapshot/api_op_RebootBroker.go.snap b/service/mq/snapshot/api_op_RebootBroker.go.snap index 7d9624418d5..0c577cb90f0 100644 --- a/service/mq/snapshot/api_op_RebootBroker.go.snap +++ b/service/mq/snapshot/api_op_RebootBroker.go.snap @@ -14,7 +14,6 @@ RebootBroker Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mq/snapshot/api_op_UpdateBroker.go.snap b/service/mq/snapshot/api_op_UpdateBroker.go.snap index 039cbf1af01..64c75ffb24c 100644 --- a/service/mq/snapshot/api_op_UpdateBroker.go.snap +++ b/service/mq/snapshot/api_op_UpdateBroker.go.snap @@ -14,7 +14,6 @@ UpdateBroker Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mq/snapshot/api_op_UpdateConfiguration.go.snap b/service/mq/snapshot/api_op_UpdateConfiguration.go.snap index 84bf26fe428..1bc07f64c64 100644 --- a/service/mq/snapshot/api_op_UpdateConfiguration.go.snap +++ b/service/mq/snapshot/api_op_UpdateConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mq/snapshot/api_op_UpdateUser.go.snap b/service/mq/snapshot/api_op_UpdateUser.go.snap index 52e6424cb0f..bee553c064e 100644 --- a/service/mq/snapshot/api_op_UpdateUser.go.snap +++ b/service/mq/snapshot/api_op_UpdateUser.go.snap @@ -14,7 +14,6 @@ UpdateUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/api_client.go b/service/mturk/api_client.go index d167c31e2cf..12f3bff8eef 100644 --- a/service/mturk/api_client.go +++ b/service/mturk/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/mturk/api_op_AcceptQualificationRequest.go b/service/mturk/api_op_AcceptQualificationRequest.go index f04dc37e9bf..743f9d66159 100644 --- a/service/mturk/api_op_AcceptQualificationRequest.go +++ b/service/mturk/api_op_AcceptQualificationRequest.go @@ -120,9 +120,6 @@ func (c *Client) addOperationAcceptQualificationRequestMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptQualificationRequestValidationMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_ApproveAssignment.go b/service/mturk/api_op_ApproveAssignment.go index e6f7cf8bb63..951ad5f3b1d 100644 --- a/service/mturk/api_op_ApproveAssignment.go +++ b/service/mturk/api_op_ApproveAssignment.go @@ -136,9 +136,6 @@ func (c *Client) addOperationApproveAssignmentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpApproveAssignmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_AssociateQualificationWithWorker.go b/service/mturk/api_op_AssociateQualificationWithWorker.go index 7dc92c8c51c..07b8d045913 100644 --- a/service/mturk/api_op_AssociateQualificationWithWorker.go +++ b/service/mturk/api_op_AssociateQualificationWithWorker.go @@ -135,9 +135,6 @@ func (c *Client) addOperationAssociateQualificationWithWorkerMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateQualificationWithWorkerValidationMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_CreateAdditionalAssignmentsForHIT.go b/service/mturk/api_op_CreateAdditionalAssignmentsForHIT.go index 338f4755619..86d9bebebac 100644 --- a/service/mturk/api_op_CreateAdditionalAssignmentsForHIT.go +++ b/service/mturk/api_op_CreateAdditionalAssignmentsForHIT.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateAdditionalAssignmentsForHITMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAdditionalAssignmentsForHITValidationMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_CreateHIT.go b/service/mturk/api_op_CreateHIT.go index 3b010e59986..7875e9a91f0 100644 --- a/service/mturk/api_op_CreateHIT.go +++ b/service/mturk/api_op_CreateHIT.go @@ -244,9 +244,6 @@ func (c *Client) addOperationCreateHITMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateHITValidationMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_CreateHITType.go b/service/mturk/api_op_CreateHITType.go index 4ace58f0c3f..db99c3f3ebe 100644 --- a/service/mturk/api_op_CreateHITType.go +++ b/service/mturk/api_op_CreateHITType.go @@ -158,9 +158,6 @@ func (c *Client) addOperationCreateHITTypeMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateHITTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_CreateHITWithHITType.go b/service/mturk/api_op_CreateHITWithHITType.go index 6e79df8425e..0534b2927be 100644 --- a/service/mturk/api_op_CreateHITWithHITType.go +++ b/service/mturk/api_op_CreateHITWithHITType.go @@ -194,9 +194,6 @@ func (c *Client) addOperationCreateHITWithHITTypeMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateHITWithHITTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_CreateQualificationType.go b/service/mturk/api_op_CreateQualificationType.go index 9032c4a4e11..14096a5ce36 100644 --- a/service/mturk/api_op_CreateQualificationType.go +++ b/service/mturk/api_op_CreateQualificationType.go @@ -180,9 +180,6 @@ func (c *Client) addOperationCreateQualificationTypeMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateQualificationTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_CreateWorkerBlock.go b/service/mturk/api_op_CreateWorkerBlock.go index 30529e2ef83..d16b9360a7c 100644 --- a/service/mturk/api_op_CreateWorkerBlock.go +++ b/service/mturk/api_op_CreateWorkerBlock.go @@ -115,9 +115,6 @@ func (c *Client) addOperationCreateWorkerBlockMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateWorkerBlockValidationMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_DeleteHIT.go b/service/mturk/api_op_DeleteHIT.go index 48f7757088f..103beb86f17 100644 --- a/service/mturk/api_op_DeleteHIT.go +++ b/service/mturk/api_op_DeleteHIT.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDeleteHITMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteHITValidationMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_DeleteQualificationType.go b/service/mturk/api_op_DeleteQualificationType.go index 9dce9293dc2..449dee0dbc2 100644 --- a/service/mturk/api_op_DeleteQualificationType.go +++ b/service/mturk/api_op_DeleteQualificationType.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteQualificationTypeMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteQualificationTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_DeleteWorkerBlock.go b/service/mturk/api_op_DeleteWorkerBlock.go index c956725dae8..dba49668b1b 100644 --- a/service/mturk/api_op_DeleteWorkerBlock.go +++ b/service/mturk/api_op_DeleteWorkerBlock.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteWorkerBlockMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWorkerBlockValidationMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_DisassociateQualificationFromWorker.go b/service/mturk/api_op_DisassociateQualificationFromWorker.go index 802f19783cb..ab7b18c62d2 100644 --- a/service/mturk/api_op_DisassociateQualificationFromWorker.go +++ b/service/mturk/api_op_DisassociateQualificationFromWorker.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDisassociateQualificationFromWorkerMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateQualificationFromWorkerValidationMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_GetAccountBalance.go b/service/mturk/api_op_GetAccountBalance.go index 6fd28f1930f..731db2219ee 100644 --- a/service/mturk/api_op_GetAccountBalance.go +++ b/service/mturk/api_op_GetAccountBalance.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetAccountBalanceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountBalance(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mturk/api_op_GetAssignment.go b/service/mturk/api_op_GetAssignment.go index 4697e765a21..d56fb5fa598 100644 --- a/service/mturk/api_op_GetAssignment.go +++ b/service/mturk/api_op_GetAssignment.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetAssignmentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAssignmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_GetFileUploadURL.go b/service/mturk/api_op_GetFileUploadURL.go index 43d6b680a24..7b260caffd7 100644 --- a/service/mturk/api_op_GetFileUploadURL.go +++ b/service/mturk/api_op_GetFileUploadURL.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGetFileUploadURLMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFileUploadURLValidationMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_GetHIT.go b/service/mturk/api_op_GetHIT.go index 71975cb2e4c..3aebd8b8513 100644 --- a/service/mturk/api_op_GetHIT.go +++ b/service/mturk/api_op_GetHIT.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetHITMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetHITValidationMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_GetQualificationScore.go b/service/mturk/api_op_GetQualificationScore.go index 694d3aea39e..b74ff4395b2 100644 --- a/service/mturk/api_op_GetQualificationScore.go +++ b/service/mturk/api_op_GetQualificationScore.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetQualificationScoreMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetQualificationScoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_GetQualificationType.go b/service/mturk/api_op_GetQualificationType.go index b373f212aa8..dbe8c4271d8 100644 --- a/service/mturk/api_op_GetQualificationType.go +++ b/service/mturk/api_op_GetQualificationType.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetQualificationTypeMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetQualificationTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_ListAssignmentsForHIT.go b/service/mturk/api_op_ListAssignmentsForHIT.go index 17eb5cef6c2..515453d1261 100644 --- a/service/mturk/api_op_ListAssignmentsForHIT.go +++ b/service/mturk/api_op_ListAssignmentsForHIT.go @@ -150,9 +150,6 @@ func (c *Client) addOperationListAssignmentsForHITMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAssignmentsForHITValidationMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_ListBonusPayments.go b/service/mturk/api_op_ListBonusPayments.go index 9880e37d697..e6198d5e0c3 100644 --- a/service/mturk/api_op_ListBonusPayments.go +++ b/service/mturk/api_op_ListBonusPayments.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListBonusPaymentsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBonusPayments(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mturk/api_op_ListHITs.go b/service/mturk/api_op_ListHITs.go index 1bc1b1e9eaf..1c7dedb7d5f 100644 --- a/service/mturk/api_op_ListHITs.go +++ b/service/mturk/api_op_ListHITs.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListHITsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHITs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mturk/api_op_ListHITsForQualificationType.go b/service/mturk/api_op_ListHITsForQualificationType.go index f44b9f7edb7..9bcf36dc0c7 100644 --- a/service/mturk/api_op_ListHITsForQualificationType.go +++ b/service/mturk/api_op_ListHITsForQualificationType.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListHITsForQualificationTypeMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListHITsForQualificationTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_ListQualificationRequests.go b/service/mturk/api_op_ListQualificationRequests.go index 00d50e3eb61..f1d6014b265 100644 --- a/service/mturk/api_op_ListQualificationRequests.go +++ b/service/mturk/api_op_ListQualificationRequests.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListQualificationRequestsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListQualificationRequests(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mturk/api_op_ListQualificationTypes.go b/service/mturk/api_op_ListQualificationTypes.go index e139c51e7c0..458ac7a1aa5 100644 --- a/service/mturk/api_op_ListQualificationTypes.go +++ b/service/mturk/api_op_ListQualificationTypes.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListQualificationTypesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListQualificationTypesValidationMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_ListReviewPolicyResultsForHIT.go b/service/mturk/api_op_ListReviewPolicyResultsForHIT.go index d6465292bce..781e32ca6d6 100644 --- a/service/mturk/api_op_ListReviewPolicyResultsForHIT.go +++ b/service/mturk/api_op_ListReviewPolicyResultsForHIT.go @@ -155,9 +155,6 @@ func (c *Client) addOperationListReviewPolicyResultsForHITMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListReviewPolicyResultsForHITValidationMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_ListReviewableHITs.go b/service/mturk/api_op_ListReviewableHITs.go index 0cf16ca4d93..dbe51f759f6 100644 --- a/service/mturk/api_op_ListReviewableHITs.go +++ b/service/mturk/api_op_ListReviewableHITs.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListReviewableHITsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReviewableHITs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mturk/api_op_ListWorkerBlocks.go b/service/mturk/api_op_ListWorkerBlocks.go index 66a0c4bb5dd..c8ece5817a9 100644 --- a/service/mturk/api_op_ListWorkerBlocks.go +++ b/service/mturk/api_op_ListWorkerBlocks.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListWorkerBlocksMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkerBlocks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/mturk/api_op_ListWorkersWithQualificationType.go b/service/mturk/api_op_ListWorkersWithQualificationType.go index 0236b013cb1..46a4fc34e10 100644 --- a/service/mturk/api_op_ListWorkersWithQualificationType.go +++ b/service/mturk/api_op_ListWorkersWithQualificationType.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListWorkersWithQualificationTypeMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListWorkersWithQualificationTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_NotifyWorkers.go b/service/mturk/api_op_NotifyWorkers.go index b6328498dc6..dc41a4b8c43 100644 --- a/service/mturk/api_op_NotifyWorkers.go +++ b/service/mturk/api_op_NotifyWorkers.go @@ -129,9 +129,6 @@ func (c *Client) addOperationNotifyWorkersMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpNotifyWorkersValidationMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_RejectAssignment.go b/service/mturk/api_op_RejectAssignment.go index 9f3a0c59e23..7b1e709c907 100644 --- a/service/mturk/api_op_RejectAssignment.go +++ b/service/mturk/api_op_RejectAssignment.go @@ -122,9 +122,6 @@ func (c *Client) addOperationRejectAssignmentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRejectAssignmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_RejectQualificationRequest.go b/service/mturk/api_op_RejectQualificationRequest.go index dfe731d6311..a2a0b55510e 100644 --- a/service/mturk/api_op_RejectQualificationRequest.go +++ b/service/mturk/api_op_RejectQualificationRequest.go @@ -117,9 +117,6 @@ func (c *Client) addOperationRejectQualificationRequestMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRejectQualificationRequestValidationMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_SendBonus.go b/service/mturk/api_op_SendBonus.go index 4f4f2fbb2cd..fd9260f4272 100644 --- a/service/mturk/api_op_SendBonus.go +++ b/service/mturk/api_op_SendBonus.go @@ -142,9 +142,6 @@ func (c *Client) addOperationSendBonusMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendBonusValidationMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_SendTestEventNotification.go b/service/mturk/api_op_SendTestEventNotification.go index 6730743bf44..7fe9095bbcf 100644 --- a/service/mturk/api_op_SendTestEventNotification.go +++ b/service/mturk/api_op_SendTestEventNotification.go @@ -124,9 +124,6 @@ func (c *Client) addOperationSendTestEventNotificationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendTestEventNotificationValidationMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_UpdateExpirationForHIT.go b/service/mturk/api_op_UpdateExpirationForHIT.go index 1da3c713fe9..0163252e468 100644 --- a/service/mturk/api_op_UpdateExpirationForHIT.go +++ b/service/mturk/api_op_UpdateExpirationForHIT.go @@ -116,9 +116,6 @@ func (c *Client) addOperationUpdateExpirationForHITMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateExpirationForHITValidationMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_UpdateHITReviewStatus.go b/service/mturk/api_op_UpdateHITReviewStatus.go index 078da649a7e..4d740fd4412 100644 --- a/service/mturk/api_op_UpdateHITReviewStatus.go +++ b/service/mturk/api_op_UpdateHITReviewStatus.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateHITReviewStatusMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateHITReviewStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_UpdateHITTypeOfHIT.go b/service/mturk/api_op_UpdateHITTypeOfHIT.go index b2bbad40c43..2eb9066059d 100644 --- a/service/mturk/api_op_UpdateHITTypeOfHIT.go +++ b/service/mturk/api_op_UpdateHITTypeOfHIT.go @@ -116,9 +116,6 @@ func (c *Client) addOperationUpdateHITTypeOfHITMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateHITTypeOfHITValidationMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_UpdateNotificationSettings.go b/service/mturk/api_op_UpdateNotificationSettings.go index 8151c94b78e..63e13d2dbc2 100644 --- a/service/mturk/api_op_UpdateNotificationSettings.go +++ b/service/mturk/api_op_UpdateNotificationSettings.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateNotificationSettingsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateNotificationSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/mturk/api_op_UpdateQualificationType.go b/service/mturk/api_op_UpdateQualificationType.go index 6fef1fbcf26..20f0cf30f64 100644 --- a/service/mturk/api_op_UpdateQualificationType.go +++ b/service/mturk/api_op_UpdateQualificationType.go @@ -187,9 +187,6 @@ func (c *Client) addOperationUpdateQualificationTypeMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateQualificationTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/mturk/snapshot/api_op_AcceptQualificationRequest.go.snap b/service/mturk/snapshot/api_op_AcceptQualificationRequest.go.snap index 4ce546427fa..d0cf7022bb9 100644 --- a/service/mturk/snapshot/api_op_AcceptQualificationRequest.go.snap +++ b/service/mturk/snapshot/api_op_AcceptQualificationRequest.go.snap @@ -14,7 +14,6 @@ AcceptQualificationRequest Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_ApproveAssignment.go.snap b/service/mturk/snapshot/api_op_ApproveAssignment.go.snap index 8ce300e36ab..b26351504e3 100644 --- a/service/mturk/snapshot/api_op_ApproveAssignment.go.snap +++ b/service/mturk/snapshot/api_op_ApproveAssignment.go.snap @@ -14,7 +14,6 @@ ApproveAssignment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_AssociateQualificationWithWorker.go.snap b/service/mturk/snapshot/api_op_AssociateQualificationWithWorker.go.snap index 7ce1c429102..cf65e71b596 100644 --- a/service/mturk/snapshot/api_op_AssociateQualificationWithWorker.go.snap +++ b/service/mturk/snapshot/api_op_AssociateQualificationWithWorker.go.snap @@ -14,7 +14,6 @@ AssociateQualificationWithWorker Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_CreateAdditionalAssignmentsForHIT.go.snap b/service/mturk/snapshot/api_op_CreateAdditionalAssignmentsForHIT.go.snap index c16ff528129..c8d9b5cd777 100644 --- a/service/mturk/snapshot/api_op_CreateAdditionalAssignmentsForHIT.go.snap +++ b/service/mturk/snapshot/api_op_CreateAdditionalAssignmentsForHIT.go.snap @@ -14,7 +14,6 @@ CreateAdditionalAssignmentsForHIT Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_CreateHIT.go.snap b/service/mturk/snapshot/api_op_CreateHIT.go.snap index 6fc1cb1041e..a4786b41ead 100644 --- a/service/mturk/snapshot/api_op_CreateHIT.go.snap +++ b/service/mturk/snapshot/api_op_CreateHIT.go.snap @@ -14,7 +14,6 @@ CreateHIT Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_CreateHITType.go.snap b/service/mturk/snapshot/api_op_CreateHITType.go.snap index b9873cf1aa7..51ee5d54b3d 100644 --- a/service/mturk/snapshot/api_op_CreateHITType.go.snap +++ b/service/mturk/snapshot/api_op_CreateHITType.go.snap @@ -14,7 +14,6 @@ CreateHITType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_CreateHITWithHITType.go.snap b/service/mturk/snapshot/api_op_CreateHITWithHITType.go.snap index 3a5676f0e09..8738a61148f 100644 --- a/service/mturk/snapshot/api_op_CreateHITWithHITType.go.snap +++ b/service/mturk/snapshot/api_op_CreateHITWithHITType.go.snap @@ -14,7 +14,6 @@ CreateHITWithHITType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_CreateQualificationType.go.snap b/service/mturk/snapshot/api_op_CreateQualificationType.go.snap index 22c916dbff0..400645f7cf2 100644 --- a/service/mturk/snapshot/api_op_CreateQualificationType.go.snap +++ b/service/mturk/snapshot/api_op_CreateQualificationType.go.snap @@ -14,7 +14,6 @@ CreateQualificationType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_CreateWorkerBlock.go.snap b/service/mturk/snapshot/api_op_CreateWorkerBlock.go.snap index 001e178e606..66b4c1c410a 100644 --- a/service/mturk/snapshot/api_op_CreateWorkerBlock.go.snap +++ b/service/mturk/snapshot/api_op_CreateWorkerBlock.go.snap @@ -14,7 +14,6 @@ CreateWorkerBlock Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_DeleteHIT.go.snap b/service/mturk/snapshot/api_op_DeleteHIT.go.snap index bc687923c34..c30b4d5b27a 100644 --- a/service/mturk/snapshot/api_op_DeleteHIT.go.snap +++ b/service/mturk/snapshot/api_op_DeleteHIT.go.snap @@ -14,7 +14,6 @@ DeleteHIT Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_DeleteQualificationType.go.snap b/service/mturk/snapshot/api_op_DeleteQualificationType.go.snap index 219c4195b8e..27c69ba1ea5 100644 --- a/service/mturk/snapshot/api_op_DeleteQualificationType.go.snap +++ b/service/mturk/snapshot/api_op_DeleteQualificationType.go.snap @@ -14,7 +14,6 @@ DeleteQualificationType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_DeleteWorkerBlock.go.snap b/service/mturk/snapshot/api_op_DeleteWorkerBlock.go.snap index 2d861fe5c92..349d93925f9 100644 --- a/service/mturk/snapshot/api_op_DeleteWorkerBlock.go.snap +++ b/service/mturk/snapshot/api_op_DeleteWorkerBlock.go.snap @@ -14,7 +14,6 @@ DeleteWorkerBlock Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_DisassociateQualificationFromWorker.go.snap b/service/mturk/snapshot/api_op_DisassociateQualificationFromWorker.go.snap index c70e814bea5..622c4bd82b8 100644 --- a/service/mturk/snapshot/api_op_DisassociateQualificationFromWorker.go.snap +++ b/service/mturk/snapshot/api_op_DisassociateQualificationFromWorker.go.snap @@ -14,7 +14,6 @@ DisassociateQualificationFromWorker Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_GetAccountBalance.go.snap b/service/mturk/snapshot/api_op_GetAccountBalance.go.snap index ce9ffedd126..ff5b1293b9b 100644 --- a/service/mturk/snapshot/api_op_GetAccountBalance.go.snap +++ b/service/mturk/snapshot/api_op_GetAccountBalance.go.snap @@ -13,7 +13,6 @@ GetAccountBalance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_GetAssignment.go.snap b/service/mturk/snapshot/api_op_GetAssignment.go.snap index c01dab51541..12ca8e8ba36 100644 --- a/service/mturk/snapshot/api_op_GetAssignment.go.snap +++ b/service/mturk/snapshot/api_op_GetAssignment.go.snap @@ -14,7 +14,6 @@ GetAssignment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_GetFileUploadURL.go.snap b/service/mturk/snapshot/api_op_GetFileUploadURL.go.snap index 3cd789e4750..7cd7001abec 100644 --- a/service/mturk/snapshot/api_op_GetFileUploadURL.go.snap +++ b/service/mturk/snapshot/api_op_GetFileUploadURL.go.snap @@ -14,7 +14,6 @@ GetFileUploadURL Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_GetHIT.go.snap b/service/mturk/snapshot/api_op_GetHIT.go.snap index fdf553adfbb..869d3054f21 100644 --- a/service/mturk/snapshot/api_op_GetHIT.go.snap +++ b/service/mturk/snapshot/api_op_GetHIT.go.snap @@ -14,7 +14,6 @@ GetHIT Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_GetQualificationScore.go.snap b/service/mturk/snapshot/api_op_GetQualificationScore.go.snap index fb78debf57a..ffca7639432 100644 --- a/service/mturk/snapshot/api_op_GetQualificationScore.go.snap +++ b/service/mturk/snapshot/api_op_GetQualificationScore.go.snap @@ -14,7 +14,6 @@ GetQualificationScore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_GetQualificationType.go.snap b/service/mturk/snapshot/api_op_GetQualificationType.go.snap index 8e0d518544f..f56a99179fe 100644 --- a/service/mturk/snapshot/api_op_GetQualificationType.go.snap +++ b/service/mturk/snapshot/api_op_GetQualificationType.go.snap @@ -14,7 +14,6 @@ GetQualificationType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_ListAssignmentsForHIT.go.snap b/service/mturk/snapshot/api_op_ListAssignmentsForHIT.go.snap index 3cd05eb72f5..19290037af6 100644 --- a/service/mturk/snapshot/api_op_ListAssignmentsForHIT.go.snap +++ b/service/mturk/snapshot/api_op_ListAssignmentsForHIT.go.snap @@ -14,7 +14,6 @@ ListAssignmentsForHIT Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_ListBonusPayments.go.snap b/service/mturk/snapshot/api_op_ListBonusPayments.go.snap index eeca923958c..e3ea784738d 100644 --- a/service/mturk/snapshot/api_op_ListBonusPayments.go.snap +++ b/service/mturk/snapshot/api_op_ListBonusPayments.go.snap @@ -13,7 +13,6 @@ ListBonusPayments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_ListHITs.go.snap b/service/mturk/snapshot/api_op_ListHITs.go.snap index bc69f941af7..9772ec344bb 100644 --- a/service/mturk/snapshot/api_op_ListHITs.go.snap +++ b/service/mturk/snapshot/api_op_ListHITs.go.snap @@ -13,7 +13,6 @@ ListHITs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_ListHITsForQualificationType.go.snap b/service/mturk/snapshot/api_op_ListHITsForQualificationType.go.snap index 304a783cc5d..2fede03bdfe 100644 --- a/service/mturk/snapshot/api_op_ListHITsForQualificationType.go.snap +++ b/service/mturk/snapshot/api_op_ListHITsForQualificationType.go.snap @@ -14,7 +14,6 @@ ListHITsForQualificationType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_ListQualificationRequests.go.snap b/service/mturk/snapshot/api_op_ListQualificationRequests.go.snap index 269cdfe068f..b28a53aa437 100644 --- a/service/mturk/snapshot/api_op_ListQualificationRequests.go.snap +++ b/service/mturk/snapshot/api_op_ListQualificationRequests.go.snap @@ -13,7 +13,6 @@ ListQualificationRequests Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_ListQualificationTypes.go.snap b/service/mturk/snapshot/api_op_ListQualificationTypes.go.snap index 3936a6285b4..023d69c8939 100644 --- a/service/mturk/snapshot/api_op_ListQualificationTypes.go.snap +++ b/service/mturk/snapshot/api_op_ListQualificationTypes.go.snap @@ -14,7 +14,6 @@ ListQualificationTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_ListReviewPolicyResultsForHIT.go.snap b/service/mturk/snapshot/api_op_ListReviewPolicyResultsForHIT.go.snap index 06859e88713..63e235ba88a 100644 --- a/service/mturk/snapshot/api_op_ListReviewPolicyResultsForHIT.go.snap +++ b/service/mturk/snapshot/api_op_ListReviewPolicyResultsForHIT.go.snap @@ -14,7 +14,6 @@ ListReviewPolicyResultsForHIT Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_ListReviewableHITs.go.snap b/service/mturk/snapshot/api_op_ListReviewableHITs.go.snap index e5264d15d83..926709f9b72 100644 --- a/service/mturk/snapshot/api_op_ListReviewableHITs.go.snap +++ b/service/mturk/snapshot/api_op_ListReviewableHITs.go.snap @@ -13,7 +13,6 @@ ListReviewableHITs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_ListWorkerBlocks.go.snap b/service/mturk/snapshot/api_op_ListWorkerBlocks.go.snap index bd1e667fb2b..8583f922571 100644 --- a/service/mturk/snapshot/api_op_ListWorkerBlocks.go.snap +++ b/service/mturk/snapshot/api_op_ListWorkerBlocks.go.snap @@ -13,7 +13,6 @@ ListWorkerBlocks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_ListWorkersWithQualificationType.go.snap b/service/mturk/snapshot/api_op_ListWorkersWithQualificationType.go.snap index 4d48a10028e..d42c33545c3 100644 --- a/service/mturk/snapshot/api_op_ListWorkersWithQualificationType.go.snap +++ b/service/mturk/snapshot/api_op_ListWorkersWithQualificationType.go.snap @@ -14,7 +14,6 @@ ListWorkersWithQualificationType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_NotifyWorkers.go.snap b/service/mturk/snapshot/api_op_NotifyWorkers.go.snap index 052efca202a..c54169285e9 100644 --- a/service/mturk/snapshot/api_op_NotifyWorkers.go.snap +++ b/service/mturk/snapshot/api_op_NotifyWorkers.go.snap @@ -14,7 +14,6 @@ NotifyWorkers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_RejectAssignment.go.snap b/service/mturk/snapshot/api_op_RejectAssignment.go.snap index 20f81eb8b88..5c82521a9ff 100644 --- a/service/mturk/snapshot/api_op_RejectAssignment.go.snap +++ b/service/mturk/snapshot/api_op_RejectAssignment.go.snap @@ -14,7 +14,6 @@ RejectAssignment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_RejectQualificationRequest.go.snap b/service/mturk/snapshot/api_op_RejectQualificationRequest.go.snap index 4b46c265bfe..713434f34b3 100644 --- a/service/mturk/snapshot/api_op_RejectQualificationRequest.go.snap +++ b/service/mturk/snapshot/api_op_RejectQualificationRequest.go.snap @@ -14,7 +14,6 @@ RejectQualificationRequest Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_SendBonus.go.snap b/service/mturk/snapshot/api_op_SendBonus.go.snap index 7c3e7c2f109..41478f94eac 100644 --- a/service/mturk/snapshot/api_op_SendBonus.go.snap +++ b/service/mturk/snapshot/api_op_SendBonus.go.snap @@ -14,7 +14,6 @@ SendBonus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_SendTestEventNotification.go.snap b/service/mturk/snapshot/api_op_SendTestEventNotification.go.snap index 08b720f09c3..eff929dcb53 100644 --- a/service/mturk/snapshot/api_op_SendTestEventNotification.go.snap +++ b/service/mturk/snapshot/api_op_SendTestEventNotification.go.snap @@ -14,7 +14,6 @@ SendTestEventNotification Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_UpdateExpirationForHIT.go.snap b/service/mturk/snapshot/api_op_UpdateExpirationForHIT.go.snap index f7244c88fd8..8d6b1be06d6 100644 --- a/service/mturk/snapshot/api_op_UpdateExpirationForHIT.go.snap +++ b/service/mturk/snapshot/api_op_UpdateExpirationForHIT.go.snap @@ -14,7 +14,6 @@ UpdateExpirationForHIT Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_UpdateHITReviewStatus.go.snap b/service/mturk/snapshot/api_op_UpdateHITReviewStatus.go.snap index e18a68e3d7b..0eddbfd8df0 100644 --- a/service/mturk/snapshot/api_op_UpdateHITReviewStatus.go.snap +++ b/service/mturk/snapshot/api_op_UpdateHITReviewStatus.go.snap @@ -14,7 +14,6 @@ UpdateHITReviewStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_UpdateHITTypeOfHIT.go.snap b/service/mturk/snapshot/api_op_UpdateHITTypeOfHIT.go.snap index 7fd1731d9d2..386007368a8 100644 --- a/service/mturk/snapshot/api_op_UpdateHITTypeOfHIT.go.snap +++ b/service/mturk/snapshot/api_op_UpdateHITTypeOfHIT.go.snap @@ -14,7 +14,6 @@ UpdateHITTypeOfHIT Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_UpdateNotificationSettings.go.snap b/service/mturk/snapshot/api_op_UpdateNotificationSettings.go.snap index 64380ec6236..c67e03bee2c 100644 --- a/service/mturk/snapshot/api_op_UpdateNotificationSettings.go.snap +++ b/service/mturk/snapshot/api_op_UpdateNotificationSettings.go.snap @@ -14,7 +14,6 @@ UpdateNotificationSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mturk/snapshot/api_op_UpdateQualificationType.go.snap b/service/mturk/snapshot/api_op_UpdateQualificationType.go.snap index c472ee673c3..97fee79eac8 100644 --- a/service/mturk/snapshot/api_op_UpdateQualificationType.go.snap +++ b/service/mturk/snapshot/api_op_UpdateQualificationType.go.snap @@ -14,7 +14,6 @@ UpdateQualificationType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mwaa/api_client.go b/service/mwaa/api_client.go index 76cb2106647..a1ac7b42043 100644 --- a/service/mwaa/api_client.go +++ b/service/mwaa/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/mwaa/api_op_CreateCliToken.go b/service/mwaa/api_op_CreateCliToken.go index d44ec42ecd4..39f69a3bbdb 100644 --- a/service/mwaa/api_op_CreateCliToken.go +++ b/service/mwaa/api_op_CreateCliToken.go @@ -116,9 +116,6 @@ func (c *Client) addOperationCreateCliTokenMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateCliTokenMiddleware(stack); err != nil { return err } diff --git a/service/mwaa/api_op_CreateEnvironment.go b/service/mwaa/api_op_CreateEnvironment.go index f7149712468..9f4b2ee219e 100644 --- a/service/mwaa/api_op_CreateEnvironment.go +++ b/service/mwaa/api_op_CreateEnvironment.go @@ -317,9 +317,6 @@ func (c *Client) addOperationCreateEnvironmentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateEnvironmentMiddleware(stack); err != nil { return err } diff --git a/service/mwaa/api_op_CreateWebLoginToken.go b/service/mwaa/api_op_CreateWebLoginToken.go index c9e0c149b88..8ee6aaae9ab 100644 --- a/service/mwaa/api_op_CreateWebLoginToken.go +++ b/service/mwaa/api_op_CreateWebLoginToken.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCreateWebLoginTokenMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateWebLoginTokenMiddleware(stack); err != nil { return err } diff --git a/service/mwaa/api_op_DeleteEnvironment.go b/service/mwaa/api_op_DeleteEnvironment.go index 5a17fd3bc60..f250b176e68 100644 --- a/service/mwaa/api_op_DeleteEnvironment.go +++ b/service/mwaa/api_op_DeleteEnvironment.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteEnvironmentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteEnvironmentMiddleware(stack); err != nil { return err } diff --git a/service/mwaa/api_op_GetEnvironment.go b/service/mwaa/api_op_GetEnvironment.go index 398228e644a..16cc17e52af 100644 --- a/service/mwaa/api_op_GetEnvironment.go +++ b/service/mwaa/api_op_GetEnvironment.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetEnvironmentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetEnvironmentMiddleware(stack); err != nil { return err } diff --git a/service/mwaa/api_op_InvokeRestApi.go b/service/mwaa/api_op_InvokeRestApi.go index 4f31e7aa7f6..0a6b2a8b739 100644 --- a/service/mwaa/api_op_InvokeRestApi.go +++ b/service/mwaa/api_op_InvokeRestApi.go @@ -141,9 +141,6 @@ func (c *Client) addOperationInvokeRestApiMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opInvokeRestApiMiddleware(stack); err != nil { return err } diff --git a/service/mwaa/api_op_ListEnvironments.go b/service/mwaa/api_op_ListEnvironments.go index 78b32a90aeb..f74ec4e9cba 100644 --- a/service/mwaa/api_op_ListEnvironments.go +++ b/service/mwaa/api_op_ListEnvironments.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListEnvironmentsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListEnvironmentsMiddleware(stack); err != nil { return err } diff --git a/service/mwaa/api_op_ListTagsForResource.go b/service/mwaa/api_op_ListTagsForResource.go index bf37ac41d3f..d9a6a62e0e9 100644 --- a/service/mwaa/api_op_ListTagsForResource.go +++ b/service/mwaa/api_op_ListTagsForResource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListTagsForResourceMiddleware(stack); err != nil { return err } diff --git a/service/mwaa/api_op_PublishMetrics.go b/service/mwaa/api_op_PublishMetrics.go index 6756779ff53..1fc521582a8 100644 --- a/service/mwaa/api_op_PublishMetrics.go +++ b/service/mwaa/api_op_PublishMetrics.go @@ -122,9 +122,6 @@ func (c *Client) addOperationPublishMetricsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opPublishMetricsMiddleware(stack); err != nil { return err } diff --git a/service/mwaa/api_op_TagResource.go b/service/mwaa/api_op_TagResource.go index 0aeeeadec1a..7bdb6409543 100644 --- a/service/mwaa/api_op_TagResource.go +++ b/service/mwaa/api_op_TagResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opTagResourceMiddleware(stack); err != nil { return err } diff --git a/service/mwaa/api_op_UntagResource.go b/service/mwaa/api_op_UntagResource.go index f3d4c50282e..a2ee33c34ec 100644 --- a/service/mwaa/api_op_UntagResource.go +++ b/service/mwaa/api_op_UntagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUntagResourceMiddleware(stack); err != nil { return err } diff --git a/service/mwaa/api_op_UpdateEnvironment.go b/service/mwaa/api_op_UpdateEnvironment.go index 0581f0a56ba..ed1b03f36a6 100644 --- a/service/mwaa/api_op_UpdateEnvironment.go +++ b/service/mwaa/api_op_UpdateEnvironment.go @@ -275,9 +275,6 @@ func (c *Client) addOperationUpdateEnvironmentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateEnvironmentMiddleware(stack); err != nil { return err } diff --git a/service/mwaa/snapshot/api_op_CreateCliToken.go.snap b/service/mwaa/snapshot/api_op_CreateCliToken.go.snap index 5eeca863b4e..44f726fbd3b 100644 --- a/service/mwaa/snapshot/api_op_CreateCliToken.go.snap +++ b/service/mwaa/snapshot/api_op_CreateCliToken.go.snap @@ -14,7 +14,6 @@ CreateCliToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mwaa/snapshot/api_op_CreateEnvironment.go.snap b/service/mwaa/snapshot/api_op_CreateEnvironment.go.snap index 991b8a4ae34..f6d34162f4b 100644 --- a/service/mwaa/snapshot/api_op_CreateEnvironment.go.snap +++ b/service/mwaa/snapshot/api_op_CreateEnvironment.go.snap @@ -14,7 +14,6 @@ CreateEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mwaa/snapshot/api_op_CreateWebLoginToken.go.snap b/service/mwaa/snapshot/api_op_CreateWebLoginToken.go.snap index 0ed7558101d..82017c7996a 100644 --- a/service/mwaa/snapshot/api_op_CreateWebLoginToken.go.snap +++ b/service/mwaa/snapshot/api_op_CreateWebLoginToken.go.snap @@ -14,7 +14,6 @@ CreateWebLoginToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mwaa/snapshot/api_op_DeleteEnvironment.go.snap b/service/mwaa/snapshot/api_op_DeleteEnvironment.go.snap index f12d121c206..4d960c1073e 100644 --- a/service/mwaa/snapshot/api_op_DeleteEnvironment.go.snap +++ b/service/mwaa/snapshot/api_op_DeleteEnvironment.go.snap @@ -14,7 +14,6 @@ DeleteEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mwaa/snapshot/api_op_GetEnvironment.go.snap b/service/mwaa/snapshot/api_op_GetEnvironment.go.snap index 7dcb9b23764..4c4fd9e455e 100644 --- a/service/mwaa/snapshot/api_op_GetEnvironment.go.snap +++ b/service/mwaa/snapshot/api_op_GetEnvironment.go.snap @@ -14,7 +14,6 @@ GetEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mwaa/snapshot/api_op_InvokeRestApi.go.snap b/service/mwaa/snapshot/api_op_InvokeRestApi.go.snap index 04ef743ba5f..7721a5268d6 100644 --- a/service/mwaa/snapshot/api_op_InvokeRestApi.go.snap +++ b/service/mwaa/snapshot/api_op_InvokeRestApi.go.snap @@ -14,7 +14,6 @@ InvokeRestApi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mwaa/snapshot/api_op_ListEnvironments.go.snap b/service/mwaa/snapshot/api_op_ListEnvironments.go.snap index 2c89ceea36e..ad7b2e9ff7b 100644 --- a/service/mwaa/snapshot/api_op_ListEnvironments.go.snap +++ b/service/mwaa/snapshot/api_op_ListEnvironments.go.snap @@ -13,7 +13,6 @@ ListEnvironments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mwaa/snapshot/api_op_ListTagsForResource.go.snap b/service/mwaa/snapshot/api_op_ListTagsForResource.go.snap index 8ff9a02baa1..0d85e67cf02 100644 --- a/service/mwaa/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/mwaa/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mwaa/snapshot/api_op_PublishMetrics.go.snap b/service/mwaa/snapshot/api_op_PublishMetrics.go.snap index 272439034b0..41a4907e045 100644 --- a/service/mwaa/snapshot/api_op_PublishMetrics.go.snap +++ b/service/mwaa/snapshot/api_op_PublishMetrics.go.snap @@ -14,7 +14,6 @@ PublishMetrics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mwaa/snapshot/api_op_TagResource.go.snap b/service/mwaa/snapshot/api_op_TagResource.go.snap index e1a30395155..20d1859b264 100644 --- a/service/mwaa/snapshot/api_op_TagResource.go.snap +++ b/service/mwaa/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mwaa/snapshot/api_op_UntagResource.go.snap b/service/mwaa/snapshot/api_op_UntagResource.go.snap index 170b89b0d41..dabf5e30bc0 100644 --- a/service/mwaa/snapshot/api_op_UntagResource.go.snap +++ b/service/mwaa/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/mwaa/snapshot/api_op_UpdateEnvironment.go.snap b/service/mwaa/snapshot/api_op_UpdateEnvironment.go.snap index 24e4169b591..a8a4e0583d6 100644 --- a/service/mwaa/snapshot/api_op_UpdateEnvironment.go.snap +++ b/service/mwaa/snapshot/api_op_UpdateEnvironment.go.snap @@ -14,7 +14,6 @@ UpdateEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/api_client.go b/service/neptune/api_client.go index 1296469c1d5..db8b9ca31c3 100644 --- a/service/neptune/api_client.go +++ b/service/neptune/api_client.go @@ -764,37 +764,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/neptune/api_op_AddRoleToDBCluster.go b/service/neptune/api_op_AddRoleToDBCluster.go index 53c4e9a30cb..dc8ff6b0886 100644 --- a/service/neptune/api_op_AddRoleToDBCluster.go +++ b/service/neptune/api_op_AddRoleToDBCluster.go @@ -118,9 +118,6 @@ func (c *Client) addOperationAddRoleToDBClusterMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddRoleToDBClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_AddSourceIdentifierToSubscription.go b/service/neptune/api_op_AddSourceIdentifierToSubscription.go index a82fe2f4671..f0db51e2f13 100644 --- a/service/neptune/api_op_AddSourceIdentifierToSubscription.go +++ b/service/neptune/api_op_AddSourceIdentifierToSubscription.go @@ -131,9 +131,6 @@ func (c *Client) addOperationAddSourceIdentifierToSubscriptionMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddSourceIdentifierToSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_AddTagsToResource.go b/service/neptune/api_op_AddTagsToResource.go index 35f9bf8fde5..6b93672f4a3 100644 --- a/service/neptune/api_op_AddTagsToResource.go +++ b/service/neptune/api_op_AddTagsToResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationAddTagsToResourceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddTagsToResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_ApplyPendingMaintenanceAction.go b/service/neptune/api_op_ApplyPendingMaintenanceAction.go index b809310d48d..e4ff41f18b4 100644 --- a/service/neptune/api_op_ApplyPendingMaintenanceAction.go +++ b/service/neptune/api_op_ApplyPendingMaintenanceAction.go @@ -138,9 +138,6 @@ func (c *Client) addOperationApplyPendingMaintenanceActionMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpApplyPendingMaintenanceActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_CopyDBClusterParameterGroup.go b/service/neptune/api_op_CopyDBClusterParameterGroup.go index 8ad03b3c3bd..3ee9307756d 100644 --- a/service/neptune/api_op_CopyDBClusterParameterGroup.go +++ b/service/neptune/api_op_CopyDBClusterParameterGroup.go @@ -154,9 +154,6 @@ func (c *Client) addOperationCopyDBClusterParameterGroupMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCopyDBClusterParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_CopyDBClusterSnapshot.go b/service/neptune/api_op_CopyDBClusterSnapshot.go index 36fd5c70f26..85c832ff844 100644 --- a/service/neptune/api_op_CopyDBClusterSnapshot.go +++ b/service/neptune/api_op_CopyDBClusterSnapshot.go @@ -187,9 +187,6 @@ func (c *Client) addOperationCopyDBClusterSnapshotMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCopyDBClusterSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_CopyDBParameterGroup.go b/service/neptune/api_op_CopyDBParameterGroup.go index 9edde5ce5f1..4d1964f5291 100644 --- a/service/neptune/api_op_CopyDBParameterGroup.go +++ b/service/neptune/api_op_CopyDBParameterGroup.go @@ -149,9 +149,6 @@ func (c *Client) addOperationCopyDBParameterGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCopyDBParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_CreateDBCluster.go b/service/neptune/api_op_CreateDBCluster.go index 54f8e114d5d..575206c67d2 100644 --- a/service/neptune/api_op_CreateDBCluster.go +++ b/service/neptune/api_op_CreateDBCluster.go @@ -335,9 +335,6 @@ func (c *Client) addOperationCreateDBClusterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDBClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_CreateDBClusterEndpoint.go b/service/neptune/api_op_CreateDBClusterEndpoint.go index 5fc6564463a..9e731aa69b9 100644 --- a/service/neptune/api_op_CreateDBClusterEndpoint.go +++ b/service/neptune/api_op_CreateDBClusterEndpoint.go @@ -185,9 +185,6 @@ func (c *Client) addOperationCreateDBClusterEndpointMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDBClusterEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_CreateDBClusterParameterGroup.go b/service/neptune/api_op_CreateDBClusterParameterGroup.go index bf29832ae83..fdfe87193b2 100644 --- a/service/neptune/api_op_CreateDBClusterParameterGroup.go +++ b/service/neptune/api_op_CreateDBClusterParameterGroup.go @@ -160,9 +160,6 @@ func (c *Client) addOperationCreateDBClusterParameterGroupMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDBClusterParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_CreateDBClusterSnapshot.go b/service/neptune/api_op_CreateDBClusterSnapshot.go index b622dc380db..addfcac3255 100644 --- a/service/neptune/api_op_CreateDBClusterSnapshot.go +++ b/service/neptune/api_op_CreateDBClusterSnapshot.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreateDBClusterSnapshotMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDBClusterSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_CreateDBInstance.go b/service/neptune/api_op_CreateDBInstance.go index 7e9c769b0d5..d6e51de0c3a 100644 --- a/service/neptune/api_op_CreateDBInstance.go +++ b/service/neptune/api_op_CreateDBInstance.go @@ -379,9 +379,6 @@ func (c *Client) addOperationCreateDBInstanceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDBInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_CreateDBParameterGroup.go b/service/neptune/api_op_CreateDBParameterGroup.go index 99545632f50..3c4daf2c1eb 100644 --- a/service/neptune/api_op_CreateDBParameterGroup.go +++ b/service/neptune/api_op_CreateDBParameterGroup.go @@ -160,9 +160,6 @@ func (c *Client) addOperationCreateDBParameterGroupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDBParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_CreateDBSubnetGroup.go b/service/neptune/api_op_CreateDBSubnetGroup.go index 50ab7140f84..0f4bf5cad6f 100644 --- a/service/neptune/api_op_CreateDBSubnetGroup.go +++ b/service/neptune/api_op_CreateDBSubnetGroup.go @@ -133,9 +133,6 @@ func (c *Client) addOperationCreateDBSubnetGroupMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDBSubnetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_CreateEventSubscription.go b/service/neptune/api_op_CreateEventSubscription.go index c497093c5ac..492685837a9 100644 --- a/service/neptune/api_op_CreateEventSubscription.go +++ b/service/neptune/api_op_CreateEventSubscription.go @@ -178,9 +178,6 @@ func (c *Client) addOperationCreateEventSubscriptionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEventSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_CreateGlobalCluster.go b/service/neptune/api_op_CreateGlobalCluster.go index 43d4a452ca6..117f6d05433 100644 --- a/service/neptune/api_op_CreateGlobalCluster.go +++ b/service/neptune/api_op_CreateGlobalCluster.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCreateGlobalClusterMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGlobalClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DeleteDBCluster.go b/service/neptune/api_op_DeleteDBCluster.go index 752ed19ae98..cc8d242db60 100644 --- a/service/neptune/api_op_DeleteDBCluster.go +++ b/service/neptune/api_op_DeleteDBCluster.go @@ -151,9 +151,6 @@ func (c *Client) addOperationDeleteDBClusterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDBClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DeleteDBClusterEndpoint.go b/service/neptune/api_op_DeleteDBClusterEndpoint.go index 45119d388e6..2ab4042ae18 100644 --- a/service/neptune/api_op_DeleteDBClusterEndpoint.go +++ b/service/neptune/api_op_DeleteDBClusterEndpoint.go @@ -161,9 +161,6 @@ func (c *Client) addOperationDeleteDBClusterEndpointMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDBClusterEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DeleteDBClusterParameterGroup.go b/service/neptune/api_op_DeleteDBClusterParameterGroup.go index da3851e45f2..c0fb7e25814 100644 --- a/service/neptune/api_op_DeleteDBClusterParameterGroup.go +++ b/service/neptune/api_op_DeleteDBClusterParameterGroup.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteDBClusterParameterGroupMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDBClusterParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DeleteDBClusterSnapshot.go b/service/neptune/api_op_DeleteDBClusterSnapshot.go index b66f847f9a7..a8902e3f599 100644 --- a/service/neptune/api_op_DeleteDBClusterSnapshot.go +++ b/service/neptune/api_op_DeleteDBClusterSnapshot.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteDBClusterSnapshotMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDBClusterSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DeleteDBInstance.go b/service/neptune/api_op_DeleteDBInstance.go index 204d05312fe..d2a53a2ea6a 100644 --- a/service/neptune/api_op_DeleteDBInstance.go +++ b/service/neptune/api_op_DeleteDBInstance.go @@ -167,9 +167,6 @@ func (c *Client) addOperationDeleteDBInstanceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDBInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DeleteDBParameterGroup.go b/service/neptune/api_op_DeleteDBParameterGroup.go index 78a458f9eb1..e7e2fd0ba18 100644 --- a/service/neptune/api_op_DeleteDBParameterGroup.go +++ b/service/neptune/api_op_DeleteDBParameterGroup.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteDBParameterGroupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDBParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DeleteDBSubnetGroup.go b/service/neptune/api_op_DeleteDBSubnetGroup.go index 75b6eb50eea..ec0300286fe 100644 --- a/service/neptune/api_op_DeleteDBSubnetGroup.go +++ b/service/neptune/api_op_DeleteDBSubnetGroup.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteDBSubnetGroupMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDBSubnetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DeleteEventSubscription.go b/service/neptune/api_op_DeleteEventSubscription.go index 7d362f55215..60dca6cfb04 100644 --- a/service/neptune/api_op_DeleteEventSubscription.go +++ b/service/neptune/api_op_DeleteEventSubscription.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteEventSubscriptionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEventSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DeleteGlobalCluster.go b/service/neptune/api_op_DeleteGlobalCluster.go index 900856a56ef..f19fc02c3a1 100644 --- a/service/neptune/api_op_DeleteGlobalCluster.go +++ b/service/neptune/api_op_DeleteGlobalCluster.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteGlobalClusterMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGlobalClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeDBClusterEndpoints.go b/service/neptune/api_op_DescribeDBClusterEndpoints.go index d26b3e2274b..9a4bb7607a4 100644 --- a/service/neptune/api_op_DescribeDBClusterEndpoints.go +++ b/service/neptune/api_op_DescribeDBClusterEndpoints.go @@ -149,9 +149,6 @@ func (c *Client) addOperationDescribeDBClusterEndpointsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBClusterEndpointsValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeDBClusterParameterGroups.go b/service/neptune/api_op_DescribeDBClusterParameterGroups.go index 663b2c08e21..57008c580c7 100644 --- a/service/neptune/api_op_DescribeDBClusterParameterGroups.go +++ b/service/neptune/api_op_DescribeDBClusterParameterGroups.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeDBClusterParameterGroupsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBClusterParameterGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeDBClusterParameters.go b/service/neptune/api_op_DescribeDBClusterParameters.go index 5fdd0119d04..37e76093fe3 100644 --- a/service/neptune/api_op_DescribeDBClusterParameters.go +++ b/service/neptune/api_op_DescribeDBClusterParameters.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDescribeDBClusterParametersMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBClusterParametersValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeDBClusterSnapshotAttributes.go b/service/neptune/api_op_DescribeDBClusterSnapshotAttributes.go index 65bb1fc7808..303e05cf8f1 100644 --- a/service/neptune/api_op_DescribeDBClusterSnapshotAttributes.go +++ b/service/neptune/api_op_DescribeDBClusterSnapshotAttributes.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDescribeDBClusterSnapshotAttributesMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBClusterSnapshotAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeDBClusterSnapshots.go b/service/neptune/api_op_DescribeDBClusterSnapshots.go index 93b82e70b4f..8eb74181216 100644 --- a/service/neptune/api_op_DescribeDBClusterSnapshots.go +++ b/service/neptune/api_op_DescribeDBClusterSnapshots.go @@ -192,9 +192,6 @@ func (c *Client) addOperationDescribeDBClusterSnapshotsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBClusterSnapshotsValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeDBClusters.go b/service/neptune/api_op_DescribeDBClusters.go index bb38ef3f169..dc42d65f813 100644 --- a/service/neptune/api_op_DescribeDBClusters.go +++ b/service/neptune/api_op_DescribeDBClusters.go @@ -151,9 +151,6 @@ func (c *Client) addOperationDescribeDBClustersMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBClustersValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeDBEngineVersions.go b/service/neptune/api_op_DescribeDBEngineVersions.go index 7683a2b8119..8ddf4ba1e5e 100644 --- a/service/neptune/api_op_DescribeDBEngineVersions.go +++ b/service/neptune/api_op_DescribeDBEngineVersions.go @@ -158,9 +158,6 @@ func (c *Client) addOperationDescribeDBEngineVersionsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBEngineVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeDBInstances.go b/service/neptune/api_op_DescribeDBInstances.go index d387183a9eb..d97f1bd2315 100644 --- a/service/neptune/api_op_DescribeDBInstances.go +++ b/service/neptune/api_op_DescribeDBInstances.go @@ -158,9 +158,6 @@ func (c *Client) addOperationDescribeDBInstancesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeDBParameterGroups.go b/service/neptune/api_op_DescribeDBParameterGroups.go index 7ddc9b1744c..acdc500c458 100644 --- a/service/neptune/api_op_DescribeDBParameterGroups.go +++ b/service/neptune/api_op_DescribeDBParameterGroups.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDescribeDBParameterGroupsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBParameterGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeDBParameters.go b/service/neptune/api_op_DescribeDBParameters.go index 25b1972583a..bd1df32aee4 100644 --- a/service/neptune/api_op_DescribeDBParameters.go +++ b/service/neptune/api_op_DescribeDBParameters.go @@ -145,9 +145,6 @@ func (c *Client) addOperationDescribeDBParametersMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBParametersValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeDBSubnetGroups.go b/service/neptune/api_op_DescribeDBSubnetGroups.go index 9e8c27a46e0..83d6947f2e7 100644 --- a/service/neptune/api_op_DescribeDBSubnetGroups.go +++ b/service/neptune/api_op_DescribeDBSubnetGroups.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDescribeDBSubnetGroupsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBSubnetGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeEngineDefaultClusterParameters.go b/service/neptune/api_op_DescribeEngineDefaultClusterParameters.go index cb7c071c859..c71174bc7fa 100644 --- a/service/neptune/api_op_DescribeEngineDefaultClusterParameters.go +++ b/service/neptune/api_op_DescribeEngineDefaultClusterParameters.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeEngineDefaultClusterParametersMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEngineDefaultClusterParametersValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeEngineDefaultParameters.go b/service/neptune/api_op_DescribeEngineDefaultParameters.go index d82c2bfabd6..8a5997e1dc9 100644 --- a/service/neptune/api_op_DescribeEngineDefaultParameters.go +++ b/service/neptune/api_op_DescribeEngineDefaultParameters.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeEngineDefaultParametersMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEngineDefaultParametersValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeEventCategories.go b/service/neptune/api_op_DescribeEventCategories.go index c83c87a506f..27d3a842ca2 100644 --- a/service/neptune/api_op_DescribeEventCategories.go +++ b/service/neptune/api_op_DescribeEventCategories.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDescribeEventCategoriesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEventCategoriesValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeEventSubscriptions.go b/service/neptune/api_op_DescribeEventSubscriptions.go index 018173b991d..0bb15e82db3 100644 --- a/service/neptune/api_op_DescribeEventSubscriptions.go +++ b/service/neptune/api_op_DescribeEventSubscriptions.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDescribeEventSubscriptionsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEventSubscriptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeEvents.go b/service/neptune/api_op_DescribeEvents.go index 8ac62c1c378..cd865ec028c 100644 --- a/service/neptune/api_op_DescribeEvents.go +++ b/service/neptune/api_op_DescribeEvents.go @@ -184,9 +184,6 @@ func (c *Client) addOperationDescribeEventsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeGlobalClusters.go b/service/neptune/api_op_DescribeGlobalClusters.go index a3cdb30202b..49d9cce912d 100644 --- a/service/neptune/api_op_DescribeGlobalClusters.go +++ b/service/neptune/api_op_DescribeGlobalClusters.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeGlobalClustersMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGlobalClusters(options.Region), middleware.Before); err != nil { return err } diff --git a/service/neptune/api_op_DescribeOrderableDBInstanceOptions.go b/service/neptune/api_op_DescribeOrderableDBInstanceOptions.go index afaaedde21e..b4f01811a31 100644 --- a/service/neptune/api_op_DescribeOrderableDBInstanceOptions.go +++ b/service/neptune/api_op_DescribeOrderableDBInstanceOptions.go @@ -152,9 +152,6 @@ func (c *Client) addOperationDescribeOrderableDBInstanceOptionsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeOrderableDBInstanceOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribePendingMaintenanceActions.go b/service/neptune/api_op_DescribePendingMaintenanceActions.go index 7f697422cf6..2c1d03334bc 100644 --- a/service/neptune/api_op_DescribePendingMaintenanceActions.go +++ b/service/neptune/api_op_DescribePendingMaintenanceActions.go @@ -146,9 +146,6 @@ func (c *Client) addOperationDescribePendingMaintenanceActionsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePendingMaintenanceActionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_DescribeValidDBInstanceModifications.go b/service/neptune/api_op_DescribeValidDBInstanceModifications.go index 2305f08006b..2152b010bce 100644 --- a/service/neptune/api_op_DescribeValidDBInstanceModifications.go +++ b/service/neptune/api_op_DescribeValidDBInstanceModifications.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDescribeValidDBInstanceModificationsMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeValidDBInstanceModificationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_FailoverDBCluster.go b/service/neptune/api_op_FailoverDBCluster.go index c42133375f3..4e19ed19bb3 100644 --- a/service/neptune/api_op_FailoverDBCluster.go +++ b/service/neptune/api_op_FailoverDBCluster.go @@ -133,9 +133,6 @@ func (c *Client) addOperationFailoverDBClusterMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFailoverDBCluster(options.Region), middleware.Before); err != nil { return err } diff --git a/service/neptune/api_op_FailoverGlobalCluster.go b/service/neptune/api_op_FailoverGlobalCluster.go index 476253cc66b..eebd83e7c6a 100644 --- a/service/neptune/api_op_FailoverGlobalCluster.go +++ b/service/neptune/api_op_FailoverGlobalCluster.go @@ -137,9 +137,6 @@ func (c *Client) addOperationFailoverGlobalClusterMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpFailoverGlobalClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_ListTagsForResource.go b/service/neptune/api_op_ListTagsForResource.go index d529f530f0e..12a51297b82 100644 --- a/service/neptune/api_op_ListTagsForResource.go +++ b/service/neptune/api_op_ListTagsForResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_ModifyDBCluster.go b/service/neptune/api_op_ModifyDBCluster.go index de33f75ecf7..3c595352aad 100644 --- a/service/neptune/api_op_ModifyDBCluster.go +++ b/service/neptune/api_op_ModifyDBCluster.go @@ -282,9 +282,6 @@ func (c *Client) addOperationModifyDBClusterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyDBClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_ModifyDBClusterEndpoint.go b/service/neptune/api_op_ModifyDBClusterEndpoint.go index 25ebbe2fd87..a40a43aa5c2 100644 --- a/service/neptune/api_op_ModifyDBClusterEndpoint.go +++ b/service/neptune/api_op_ModifyDBClusterEndpoint.go @@ -172,9 +172,6 @@ func (c *Client) addOperationModifyDBClusterEndpointMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyDBClusterEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_ModifyDBClusterParameterGroup.go b/service/neptune/api_op_ModifyDBClusterParameterGroup.go index 3d300d36d85..242f184fb99 100644 --- a/service/neptune/api_op_ModifyDBClusterParameterGroup.go +++ b/service/neptune/api_op_ModifyDBClusterParameterGroup.go @@ -145,9 +145,6 @@ func (c *Client) addOperationModifyDBClusterParameterGroupMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyDBClusterParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_ModifyDBClusterSnapshotAttribute.go b/service/neptune/api_op_ModifyDBClusterSnapshotAttribute.go index 1620de62e19..528ca60bcff 100644 --- a/service/neptune/api_op_ModifyDBClusterSnapshotAttribute.go +++ b/service/neptune/api_op_ModifyDBClusterSnapshotAttribute.go @@ -161,9 +161,6 @@ func (c *Client) addOperationModifyDBClusterSnapshotAttributeMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyDBClusterSnapshotAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_ModifyDBInstance.go b/service/neptune/api_op_ModifyDBInstance.go index ce2780fd795..e0fee1c5767 100644 --- a/service/neptune/api_op_ModifyDBInstance.go +++ b/service/neptune/api_op_ModifyDBInstance.go @@ -383,9 +383,6 @@ func (c *Client) addOperationModifyDBInstanceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyDBInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_ModifyDBParameterGroup.go b/service/neptune/api_op_ModifyDBParameterGroup.go index 10f1dfdf935..10b81b5e8a2 100644 --- a/service/neptune/api_op_ModifyDBParameterGroup.go +++ b/service/neptune/api_op_ModifyDBParameterGroup.go @@ -147,9 +147,6 @@ func (c *Client) addOperationModifyDBParameterGroupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyDBParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_ModifyDBSubnetGroup.go b/service/neptune/api_op_ModifyDBSubnetGroup.go index 2c0c94b40dd..513c0ce3ff5 100644 --- a/service/neptune/api_op_ModifyDBSubnetGroup.go +++ b/service/neptune/api_op_ModifyDBSubnetGroup.go @@ -129,9 +129,6 @@ func (c *Client) addOperationModifyDBSubnetGroupMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyDBSubnetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_ModifyEventSubscription.go b/service/neptune/api_op_ModifyEventSubscription.go index 9a2551fd7d0..ae4d196b484 100644 --- a/service/neptune/api_op_ModifyEventSubscription.go +++ b/service/neptune/api_op_ModifyEventSubscription.go @@ -137,9 +137,6 @@ func (c *Client) addOperationModifyEventSubscriptionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyEventSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_ModifyGlobalCluster.go b/service/neptune/api_op_ModifyGlobalCluster.go index 81b60508088..ae6c9675c08 100644 --- a/service/neptune/api_op_ModifyGlobalCluster.go +++ b/service/neptune/api_op_ModifyGlobalCluster.go @@ -156,9 +156,6 @@ func (c *Client) addOperationModifyGlobalClusterMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyGlobalClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_PromoteReadReplicaDBCluster.go b/service/neptune/api_op_PromoteReadReplicaDBCluster.go index c8b21be3a4d..62c3170a534 100644 --- a/service/neptune/api_op_PromoteReadReplicaDBCluster.go +++ b/service/neptune/api_op_PromoteReadReplicaDBCluster.go @@ -114,9 +114,6 @@ func (c *Client) addOperationPromoteReadReplicaDBClusterMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPromoteReadReplicaDBClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_RebootDBInstance.go b/service/neptune/api_op_RebootDBInstance.go index 8b9fe86f025..5e41fd88a59 100644 --- a/service/neptune/api_op_RebootDBInstance.go +++ b/service/neptune/api_op_RebootDBInstance.go @@ -131,9 +131,6 @@ func (c *Client) addOperationRebootDBInstanceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRebootDBInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_RemoveFromGlobalCluster.go b/service/neptune/api_op_RemoveFromGlobalCluster.go index a7108bd308f..eff9d801284 100644 --- a/service/neptune/api_op_RemoveFromGlobalCluster.go +++ b/service/neptune/api_op_RemoveFromGlobalCluster.go @@ -123,9 +123,6 @@ func (c *Client) addOperationRemoveFromGlobalClusterMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveFromGlobalClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_RemoveRoleFromDBCluster.go b/service/neptune/api_op_RemoveRoleFromDBCluster.go index 85789f0c7bd..4455d98b490 100644 --- a/service/neptune/api_op_RemoveRoleFromDBCluster.go +++ b/service/neptune/api_op_RemoveRoleFromDBCluster.go @@ -117,9 +117,6 @@ func (c *Client) addOperationRemoveRoleFromDBClusterMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveRoleFromDBClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_RemoveSourceIdentifierFromSubscription.go b/service/neptune/api_op_RemoveSourceIdentifierFromSubscription.go index 8cdf7eb5b04..5a9f9e47f5b 100644 --- a/service/neptune/api_op_RemoveSourceIdentifierFromSubscription.go +++ b/service/neptune/api_op_RemoveSourceIdentifierFromSubscription.go @@ -119,9 +119,6 @@ func (c *Client) addOperationRemoveSourceIdentifierFromSubscriptionMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveSourceIdentifierFromSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_RemoveTagsFromResource.go b/service/neptune/api_op_RemoveTagsFromResource.go index 6033d2948af..57b1872b6af 100644 --- a/service/neptune/api_op_RemoveTagsFromResource.go +++ b/service/neptune/api_op_RemoveTagsFromResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationRemoveTagsFromResourceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveTagsFromResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_ResetDBClusterParameterGroup.go b/service/neptune/api_op_ResetDBClusterParameterGroup.go index 540e2bae2e2..803d3089cef 100644 --- a/service/neptune/api_op_ResetDBClusterParameterGroup.go +++ b/service/neptune/api_op_ResetDBClusterParameterGroup.go @@ -142,9 +142,6 @@ func (c *Client) addOperationResetDBClusterParameterGroupMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResetDBClusterParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_ResetDBParameterGroup.go b/service/neptune/api_op_ResetDBParameterGroup.go index 12ea2a74210..46841b66b50 100644 --- a/service/neptune/api_op_ResetDBParameterGroup.go +++ b/service/neptune/api_op_ResetDBParameterGroup.go @@ -136,9 +136,6 @@ func (c *Client) addOperationResetDBParameterGroupMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResetDBParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_RestoreDBClusterFromSnapshot.go b/service/neptune/api_op_RestoreDBClusterFromSnapshot.go index 5b905dd8b07..02687280116 100644 --- a/service/neptune/api_op_RestoreDBClusterFromSnapshot.go +++ b/service/neptune/api_op_RestoreDBClusterFromSnapshot.go @@ -246,9 +246,6 @@ func (c *Client) addOperationRestoreDBClusterFromSnapshotMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreDBClusterFromSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_RestoreDBClusterToPointInTime.go b/service/neptune/api_op_RestoreDBClusterToPointInTime.go index 584f34e0e9e..bd33ac826e0 100644 --- a/service/neptune/api_op_RestoreDBClusterToPointInTime.go +++ b/service/neptune/api_op_RestoreDBClusterToPointInTime.go @@ -265,9 +265,6 @@ func (c *Client) addOperationRestoreDBClusterToPointInTimeMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreDBClusterToPointInTimeValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_StartDBCluster.go b/service/neptune/api_op_StartDBCluster.go index 652f1c2fd54..ba56f5e99cf 100644 --- a/service/neptune/api_op_StartDBCluster.go +++ b/service/neptune/api_op_StartDBCluster.go @@ -116,9 +116,6 @@ func (c *Client) addOperationStartDBClusterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartDBClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/api_op_StopDBCluster.go b/service/neptune/api_op_StopDBCluster.go index 928c0618987..a0e6cb0515b 100644 --- a/service/neptune/api_op_StopDBCluster.go +++ b/service/neptune/api_op_StopDBCluster.go @@ -119,9 +119,6 @@ func (c *Client) addOperationStopDBClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopDBClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptune/snapshot/api_op_AddRoleToDBCluster.go.snap b/service/neptune/snapshot/api_op_AddRoleToDBCluster.go.snap index 06c00d90e3f..cb76c6c829c 100644 --- a/service/neptune/snapshot/api_op_AddRoleToDBCluster.go.snap +++ b/service/neptune/snapshot/api_op_AddRoleToDBCluster.go.snap @@ -14,7 +14,6 @@ AddRoleToDBCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_AddSourceIdentifierToSubscription.go.snap b/service/neptune/snapshot/api_op_AddSourceIdentifierToSubscription.go.snap index 68a5ef40d3c..004560ae937 100644 --- a/service/neptune/snapshot/api_op_AddSourceIdentifierToSubscription.go.snap +++ b/service/neptune/snapshot/api_op_AddSourceIdentifierToSubscription.go.snap @@ -14,7 +14,6 @@ AddSourceIdentifierToSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_AddTagsToResource.go.snap b/service/neptune/snapshot/api_op_AddTagsToResource.go.snap index adf3a58c167..23e3b3e3966 100644 --- a/service/neptune/snapshot/api_op_AddTagsToResource.go.snap +++ b/service/neptune/snapshot/api_op_AddTagsToResource.go.snap @@ -14,7 +14,6 @@ AddTagsToResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_ApplyPendingMaintenanceAction.go.snap b/service/neptune/snapshot/api_op_ApplyPendingMaintenanceAction.go.snap index 3ef78ec47c1..d30b93e6005 100644 --- a/service/neptune/snapshot/api_op_ApplyPendingMaintenanceAction.go.snap +++ b/service/neptune/snapshot/api_op_ApplyPendingMaintenanceAction.go.snap @@ -14,7 +14,6 @@ ApplyPendingMaintenanceAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_CopyDBClusterParameterGroup.go.snap b/service/neptune/snapshot/api_op_CopyDBClusterParameterGroup.go.snap index b4f0e7464e6..81e5726dec8 100644 --- a/service/neptune/snapshot/api_op_CopyDBClusterParameterGroup.go.snap +++ b/service/neptune/snapshot/api_op_CopyDBClusterParameterGroup.go.snap @@ -14,7 +14,6 @@ CopyDBClusterParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_CopyDBClusterSnapshot.go.snap b/service/neptune/snapshot/api_op_CopyDBClusterSnapshot.go.snap index e7947a43eac..b776bd588ae 100644 --- a/service/neptune/snapshot/api_op_CopyDBClusterSnapshot.go.snap +++ b/service/neptune/snapshot/api_op_CopyDBClusterSnapshot.go.snap @@ -15,7 +15,6 @@ CopyDBClusterSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_CopyDBParameterGroup.go.snap b/service/neptune/snapshot/api_op_CopyDBParameterGroup.go.snap index 3aa4dee28c0..a88a37abe1c 100644 --- a/service/neptune/snapshot/api_op_CopyDBParameterGroup.go.snap +++ b/service/neptune/snapshot/api_op_CopyDBParameterGroup.go.snap @@ -14,7 +14,6 @@ CopyDBParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_CreateDBCluster.go.snap b/service/neptune/snapshot/api_op_CreateDBCluster.go.snap index ccdb622c59a..172001bb45a 100644 --- a/service/neptune/snapshot/api_op_CreateDBCluster.go.snap +++ b/service/neptune/snapshot/api_op_CreateDBCluster.go.snap @@ -15,7 +15,6 @@ CreateDBCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_CreateDBClusterEndpoint.go.snap b/service/neptune/snapshot/api_op_CreateDBClusterEndpoint.go.snap index 3abd8ae2304..18a7c00245a 100644 --- a/service/neptune/snapshot/api_op_CreateDBClusterEndpoint.go.snap +++ b/service/neptune/snapshot/api_op_CreateDBClusterEndpoint.go.snap @@ -14,7 +14,6 @@ CreateDBClusterEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_CreateDBClusterParameterGroup.go.snap b/service/neptune/snapshot/api_op_CreateDBClusterParameterGroup.go.snap index a952e153ea3..e17371408eb 100644 --- a/service/neptune/snapshot/api_op_CreateDBClusterParameterGroup.go.snap +++ b/service/neptune/snapshot/api_op_CreateDBClusterParameterGroup.go.snap @@ -14,7 +14,6 @@ CreateDBClusterParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_CreateDBClusterSnapshot.go.snap b/service/neptune/snapshot/api_op_CreateDBClusterSnapshot.go.snap index b9050be528a..764f5bc56ad 100644 --- a/service/neptune/snapshot/api_op_CreateDBClusterSnapshot.go.snap +++ b/service/neptune/snapshot/api_op_CreateDBClusterSnapshot.go.snap @@ -14,7 +14,6 @@ CreateDBClusterSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_CreateDBInstance.go.snap b/service/neptune/snapshot/api_op_CreateDBInstance.go.snap index 5b515f91073..29fbed300ab 100644 --- a/service/neptune/snapshot/api_op_CreateDBInstance.go.snap +++ b/service/neptune/snapshot/api_op_CreateDBInstance.go.snap @@ -14,7 +14,6 @@ CreateDBInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_CreateDBParameterGroup.go.snap b/service/neptune/snapshot/api_op_CreateDBParameterGroup.go.snap index b7d2d0affd5..92c475a006b 100644 --- a/service/neptune/snapshot/api_op_CreateDBParameterGroup.go.snap +++ b/service/neptune/snapshot/api_op_CreateDBParameterGroup.go.snap @@ -14,7 +14,6 @@ CreateDBParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_CreateDBSubnetGroup.go.snap b/service/neptune/snapshot/api_op_CreateDBSubnetGroup.go.snap index 9c53c1d23ae..936610d7640 100644 --- a/service/neptune/snapshot/api_op_CreateDBSubnetGroup.go.snap +++ b/service/neptune/snapshot/api_op_CreateDBSubnetGroup.go.snap @@ -14,7 +14,6 @@ CreateDBSubnetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_CreateEventSubscription.go.snap b/service/neptune/snapshot/api_op_CreateEventSubscription.go.snap index 68d152a81b9..abaf183d2d8 100644 --- a/service/neptune/snapshot/api_op_CreateEventSubscription.go.snap +++ b/service/neptune/snapshot/api_op_CreateEventSubscription.go.snap @@ -14,7 +14,6 @@ CreateEventSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_CreateGlobalCluster.go.snap b/service/neptune/snapshot/api_op_CreateGlobalCluster.go.snap index eedca85868a..c3acf911a1d 100644 --- a/service/neptune/snapshot/api_op_CreateGlobalCluster.go.snap +++ b/service/neptune/snapshot/api_op_CreateGlobalCluster.go.snap @@ -14,7 +14,6 @@ CreateGlobalCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_DeleteDBCluster.go.snap b/service/neptune/snapshot/api_op_DeleteDBCluster.go.snap index c1324387368..029aa4c7771 100644 --- a/service/neptune/snapshot/api_op_DeleteDBCluster.go.snap +++ b/service/neptune/snapshot/api_op_DeleteDBCluster.go.snap @@ -14,7 +14,6 @@ DeleteDBCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_DeleteDBClusterEndpoint.go.snap b/service/neptune/snapshot/api_op_DeleteDBClusterEndpoint.go.snap index 374b5d406e7..b73ca982811 100644 --- a/service/neptune/snapshot/api_op_DeleteDBClusterEndpoint.go.snap +++ b/service/neptune/snapshot/api_op_DeleteDBClusterEndpoint.go.snap @@ -14,7 +14,6 @@ DeleteDBClusterEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_DeleteDBClusterParameterGroup.go.snap b/service/neptune/snapshot/api_op_DeleteDBClusterParameterGroup.go.snap index facc979c7e1..1e0c5d99826 100644 --- a/service/neptune/snapshot/api_op_DeleteDBClusterParameterGroup.go.snap +++ b/service/neptune/snapshot/api_op_DeleteDBClusterParameterGroup.go.snap @@ -14,7 +14,6 @@ DeleteDBClusterParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_DeleteDBClusterSnapshot.go.snap b/service/neptune/snapshot/api_op_DeleteDBClusterSnapshot.go.snap index 6b8e8aef56b..d77b8c6c200 100644 --- a/service/neptune/snapshot/api_op_DeleteDBClusterSnapshot.go.snap +++ b/service/neptune/snapshot/api_op_DeleteDBClusterSnapshot.go.snap @@ -14,7 +14,6 @@ DeleteDBClusterSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_DeleteDBInstance.go.snap b/service/neptune/snapshot/api_op_DeleteDBInstance.go.snap index d2b496adf73..fcb1623e06c 100644 --- a/service/neptune/snapshot/api_op_DeleteDBInstance.go.snap +++ b/service/neptune/snapshot/api_op_DeleteDBInstance.go.snap @@ -14,7 +14,6 @@ DeleteDBInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_DeleteDBParameterGroup.go.snap b/service/neptune/snapshot/api_op_DeleteDBParameterGroup.go.snap index 5185c8fe5b4..4ab63209570 100644 --- a/service/neptune/snapshot/api_op_DeleteDBParameterGroup.go.snap +++ b/service/neptune/snapshot/api_op_DeleteDBParameterGroup.go.snap @@ -14,7 +14,6 @@ DeleteDBParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_DeleteDBSubnetGroup.go.snap b/service/neptune/snapshot/api_op_DeleteDBSubnetGroup.go.snap index abb0c44362e..ed03e5743aa 100644 --- a/service/neptune/snapshot/api_op_DeleteDBSubnetGroup.go.snap +++ b/service/neptune/snapshot/api_op_DeleteDBSubnetGroup.go.snap @@ -14,7 +14,6 @@ DeleteDBSubnetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_DeleteEventSubscription.go.snap b/service/neptune/snapshot/api_op_DeleteEventSubscription.go.snap index 02f527bc9d5..1bfd53e9563 100644 --- a/service/neptune/snapshot/api_op_DeleteEventSubscription.go.snap +++ b/service/neptune/snapshot/api_op_DeleteEventSubscription.go.snap @@ -14,7 +14,6 @@ DeleteEventSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_DeleteGlobalCluster.go.snap b/service/neptune/snapshot/api_op_DeleteGlobalCluster.go.snap index b0cbc29172b..f4c1a08fe2b 100644 --- a/service/neptune/snapshot/api_op_DeleteGlobalCluster.go.snap +++ b/service/neptune/snapshot/api_op_DeleteGlobalCluster.go.snap @@ -14,7 +14,6 @@ DeleteGlobalCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_DescribeDBClusterEndpoints.go.snap b/service/neptune/snapshot/api_op_DescribeDBClusterEndpoints.go.snap index 884ad984ed3..1e47d24404e 100644 --- a/service/neptune/snapshot/api_op_DescribeDBClusterEndpoints.go.snap +++ b/service/neptune/snapshot/api_op_DescribeDBClusterEndpoints.go.snap @@ -14,7 +14,6 @@ DescribeDBClusterEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_DescribeDBClusterParameterGroups.go.snap b/service/neptune/snapshot/api_op_DescribeDBClusterParameterGroups.go.snap index d2c722ff4c2..03fd185d044 100644 --- a/service/neptune/snapshot/api_op_DescribeDBClusterParameterGroups.go.snap +++ b/service/neptune/snapshot/api_op_DescribeDBClusterParameterGroups.go.snap @@ -14,7 +14,6 @@ DescribeDBClusterParameterGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_DescribeDBClusterParameters.go.snap b/service/neptune/snapshot/api_op_DescribeDBClusterParameters.go.snap index f3e2e565999..50bdfdd9e29 100644 --- a/service/neptune/snapshot/api_op_DescribeDBClusterParameters.go.snap +++ b/service/neptune/snapshot/api_op_DescribeDBClusterParameters.go.snap @@ -14,7 +14,6 @@ DescribeDBClusterParameters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_DescribeDBClusterSnapshotAttributes.go.snap b/service/neptune/snapshot/api_op_DescribeDBClusterSnapshotAttributes.go.snap index 7314e53cb22..8bb8a90bbca 100644 --- a/service/neptune/snapshot/api_op_DescribeDBClusterSnapshotAttributes.go.snap +++ b/service/neptune/snapshot/api_op_DescribeDBClusterSnapshotAttributes.go.snap @@ -14,7 +14,6 @@ DescribeDBClusterSnapshotAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_DescribeDBClusterSnapshots.go.snap b/service/neptune/snapshot/api_op_DescribeDBClusterSnapshots.go.snap index 2d4352f765e..a73c54b4529 100644 --- a/service/neptune/snapshot/api_op_DescribeDBClusterSnapshots.go.snap +++ b/service/neptune/snapshot/api_op_DescribeDBClusterSnapshots.go.snap @@ -14,7 +14,6 @@ DescribeDBClusterSnapshots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_DescribeDBClusters.go.snap b/service/neptune/snapshot/api_op_DescribeDBClusters.go.snap index 9fd17dae342..64c2ff6a7d2 100644 --- a/service/neptune/snapshot/api_op_DescribeDBClusters.go.snap +++ b/service/neptune/snapshot/api_op_DescribeDBClusters.go.snap @@ -14,7 +14,6 @@ DescribeDBClusters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_DescribeDBEngineVersions.go.snap b/service/neptune/snapshot/api_op_DescribeDBEngineVersions.go.snap index bad2d24380d..d328d299fae 100644 --- a/service/neptune/snapshot/api_op_DescribeDBEngineVersions.go.snap +++ b/service/neptune/snapshot/api_op_DescribeDBEngineVersions.go.snap @@ -14,7 +14,6 @@ DescribeDBEngineVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_DescribeDBInstances.go.snap b/service/neptune/snapshot/api_op_DescribeDBInstances.go.snap index d82efb78caa..8433cb55988 100644 --- a/service/neptune/snapshot/api_op_DescribeDBInstances.go.snap +++ b/service/neptune/snapshot/api_op_DescribeDBInstances.go.snap @@ -14,7 +14,6 @@ DescribeDBInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_DescribeDBParameterGroups.go.snap b/service/neptune/snapshot/api_op_DescribeDBParameterGroups.go.snap index 4505cefa65c..97115ae6152 100644 --- a/service/neptune/snapshot/api_op_DescribeDBParameterGroups.go.snap +++ b/service/neptune/snapshot/api_op_DescribeDBParameterGroups.go.snap @@ -14,7 +14,6 @@ DescribeDBParameterGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_DescribeDBParameters.go.snap b/service/neptune/snapshot/api_op_DescribeDBParameters.go.snap index 26c55213393..a92e77a4d8f 100644 --- a/service/neptune/snapshot/api_op_DescribeDBParameters.go.snap +++ b/service/neptune/snapshot/api_op_DescribeDBParameters.go.snap @@ -14,7 +14,6 @@ DescribeDBParameters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_DescribeDBSubnetGroups.go.snap b/service/neptune/snapshot/api_op_DescribeDBSubnetGroups.go.snap index 142d71a4487..74b6ddc3746 100644 --- a/service/neptune/snapshot/api_op_DescribeDBSubnetGroups.go.snap +++ b/service/neptune/snapshot/api_op_DescribeDBSubnetGroups.go.snap @@ -14,7 +14,6 @@ DescribeDBSubnetGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_DescribeEngineDefaultClusterParameters.go.snap b/service/neptune/snapshot/api_op_DescribeEngineDefaultClusterParameters.go.snap index 15eccdd66a7..b19a1ad9888 100644 --- a/service/neptune/snapshot/api_op_DescribeEngineDefaultClusterParameters.go.snap +++ b/service/neptune/snapshot/api_op_DescribeEngineDefaultClusterParameters.go.snap @@ -14,7 +14,6 @@ DescribeEngineDefaultClusterParameters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_DescribeEngineDefaultParameters.go.snap b/service/neptune/snapshot/api_op_DescribeEngineDefaultParameters.go.snap index c9c3f3d5cd6..b39afa4622c 100644 --- a/service/neptune/snapshot/api_op_DescribeEngineDefaultParameters.go.snap +++ b/service/neptune/snapshot/api_op_DescribeEngineDefaultParameters.go.snap @@ -14,7 +14,6 @@ DescribeEngineDefaultParameters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_DescribeEventCategories.go.snap b/service/neptune/snapshot/api_op_DescribeEventCategories.go.snap index 79ac1344ef4..66357b7c577 100644 --- a/service/neptune/snapshot/api_op_DescribeEventCategories.go.snap +++ b/service/neptune/snapshot/api_op_DescribeEventCategories.go.snap @@ -14,7 +14,6 @@ DescribeEventCategories Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_DescribeEventSubscriptions.go.snap b/service/neptune/snapshot/api_op_DescribeEventSubscriptions.go.snap index ff2b6980db8..96179ea21c2 100644 --- a/service/neptune/snapshot/api_op_DescribeEventSubscriptions.go.snap +++ b/service/neptune/snapshot/api_op_DescribeEventSubscriptions.go.snap @@ -14,7 +14,6 @@ DescribeEventSubscriptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_DescribeEvents.go.snap b/service/neptune/snapshot/api_op_DescribeEvents.go.snap index d4b92015d81..7a366dd1cf9 100644 --- a/service/neptune/snapshot/api_op_DescribeEvents.go.snap +++ b/service/neptune/snapshot/api_op_DescribeEvents.go.snap @@ -14,7 +14,6 @@ DescribeEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_DescribeGlobalClusters.go.snap b/service/neptune/snapshot/api_op_DescribeGlobalClusters.go.snap index 8d41e2f9084..4e94d3242ec 100644 --- a/service/neptune/snapshot/api_op_DescribeGlobalClusters.go.snap +++ b/service/neptune/snapshot/api_op_DescribeGlobalClusters.go.snap @@ -13,7 +13,6 @@ DescribeGlobalClusters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_DescribeOrderableDBInstanceOptions.go.snap b/service/neptune/snapshot/api_op_DescribeOrderableDBInstanceOptions.go.snap index 6a595d9d1f2..91ca3932ea5 100644 --- a/service/neptune/snapshot/api_op_DescribeOrderableDBInstanceOptions.go.snap +++ b/service/neptune/snapshot/api_op_DescribeOrderableDBInstanceOptions.go.snap @@ -14,7 +14,6 @@ DescribeOrderableDBInstanceOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_DescribePendingMaintenanceActions.go.snap b/service/neptune/snapshot/api_op_DescribePendingMaintenanceActions.go.snap index 56165855a0e..6a5fc44c87f 100644 --- a/service/neptune/snapshot/api_op_DescribePendingMaintenanceActions.go.snap +++ b/service/neptune/snapshot/api_op_DescribePendingMaintenanceActions.go.snap @@ -14,7 +14,6 @@ DescribePendingMaintenanceActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_DescribeValidDBInstanceModifications.go.snap b/service/neptune/snapshot/api_op_DescribeValidDBInstanceModifications.go.snap index db683ea7972..f1f436f46a6 100644 --- a/service/neptune/snapshot/api_op_DescribeValidDBInstanceModifications.go.snap +++ b/service/neptune/snapshot/api_op_DescribeValidDBInstanceModifications.go.snap @@ -14,7 +14,6 @@ DescribeValidDBInstanceModifications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_FailoverDBCluster.go.snap b/service/neptune/snapshot/api_op_FailoverDBCluster.go.snap index 3e4d9267bf7..beacd9425d5 100644 --- a/service/neptune/snapshot/api_op_FailoverDBCluster.go.snap +++ b/service/neptune/snapshot/api_op_FailoverDBCluster.go.snap @@ -13,7 +13,6 @@ FailoverDBCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_FailoverGlobalCluster.go.snap b/service/neptune/snapshot/api_op_FailoverGlobalCluster.go.snap index 04131a30017..fb973f09386 100644 --- a/service/neptune/snapshot/api_op_FailoverGlobalCluster.go.snap +++ b/service/neptune/snapshot/api_op_FailoverGlobalCluster.go.snap @@ -14,7 +14,6 @@ FailoverGlobalCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_ListTagsForResource.go.snap b/service/neptune/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/neptune/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/neptune/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_ModifyDBCluster.go.snap b/service/neptune/snapshot/api_op_ModifyDBCluster.go.snap index 69410d7a268..66af8f96297 100644 --- a/service/neptune/snapshot/api_op_ModifyDBCluster.go.snap +++ b/service/neptune/snapshot/api_op_ModifyDBCluster.go.snap @@ -14,7 +14,6 @@ ModifyDBCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_ModifyDBClusterEndpoint.go.snap b/service/neptune/snapshot/api_op_ModifyDBClusterEndpoint.go.snap index 5392b10651a..aced2416723 100644 --- a/service/neptune/snapshot/api_op_ModifyDBClusterEndpoint.go.snap +++ b/service/neptune/snapshot/api_op_ModifyDBClusterEndpoint.go.snap @@ -14,7 +14,6 @@ ModifyDBClusterEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_ModifyDBClusterParameterGroup.go.snap b/service/neptune/snapshot/api_op_ModifyDBClusterParameterGroup.go.snap index e1183329c85..c29b83c9056 100644 --- a/service/neptune/snapshot/api_op_ModifyDBClusterParameterGroup.go.snap +++ b/service/neptune/snapshot/api_op_ModifyDBClusterParameterGroup.go.snap @@ -14,7 +14,6 @@ ModifyDBClusterParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_ModifyDBClusterSnapshotAttribute.go.snap b/service/neptune/snapshot/api_op_ModifyDBClusterSnapshotAttribute.go.snap index 6bc7f22e6a0..d3c38ed76ca 100644 --- a/service/neptune/snapshot/api_op_ModifyDBClusterSnapshotAttribute.go.snap +++ b/service/neptune/snapshot/api_op_ModifyDBClusterSnapshotAttribute.go.snap @@ -14,7 +14,6 @@ ModifyDBClusterSnapshotAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_ModifyDBInstance.go.snap b/service/neptune/snapshot/api_op_ModifyDBInstance.go.snap index 3c86f5c5fd5..c97ef2c5505 100644 --- a/service/neptune/snapshot/api_op_ModifyDBInstance.go.snap +++ b/service/neptune/snapshot/api_op_ModifyDBInstance.go.snap @@ -14,7 +14,6 @@ ModifyDBInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_ModifyDBParameterGroup.go.snap b/service/neptune/snapshot/api_op_ModifyDBParameterGroup.go.snap index 115f1b0c6c5..1ec75d4206b 100644 --- a/service/neptune/snapshot/api_op_ModifyDBParameterGroup.go.snap +++ b/service/neptune/snapshot/api_op_ModifyDBParameterGroup.go.snap @@ -14,7 +14,6 @@ ModifyDBParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_ModifyDBSubnetGroup.go.snap b/service/neptune/snapshot/api_op_ModifyDBSubnetGroup.go.snap index 1f42b602ae8..e4e52ea89c4 100644 --- a/service/neptune/snapshot/api_op_ModifyDBSubnetGroup.go.snap +++ b/service/neptune/snapshot/api_op_ModifyDBSubnetGroup.go.snap @@ -14,7 +14,6 @@ ModifyDBSubnetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_ModifyEventSubscription.go.snap b/service/neptune/snapshot/api_op_ModifyEventSubscription.go.snap index 0facf4e0e8f..805942e17a2 100644 --- a/service/neptune/snapshot/api_op_ModifyEventSubscription.go.snap +++ b/service/neptune/snapshot/api_op_ModifyEventSubscription.go.snap @@ -14,7 +14,6 @@ ModifyEventSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_ModifyGlobalCluster.go.snap b/service/neptune/snapshot/api_op_ModifyGlobalCluster.go.snap index ab24aeedd74..33fa9005c5b 100644 --- a/service/neptune/snapshot/api_op_ModifyGlobalCluster.go.snap +++ b/service/neptune/snapshot/api_op_ModifyGlobalCluster.go.snap @@ -14,7 +14,6 @@ ModifyGlobalCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_PromoteReadReplicaDBCluster.go.snap b/service/neptune/snapshot/api_op_PromoteReadReplicaDBCluster.go.snap index 08881bae4da..8f91068f3d9 100644 --- a/service/neptune/snapshot/api_op_PromoteReadReplicaDBCluster.go.snap +++ b/service/neptune/snapshot/api_op_PromoteReadReplicaDBCluster.go.snap @@ -14,7 +14,6 @@ PromoteReadReplicaDBCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_RebootDBInstance.go.snap b/service/neptune/snapshot/api_op_RebootDBInstance.go.snap index ebaac068bfe..2d5f470fcdf 100644 --- a/service/neptune/snapshot/api_op_RebootDBInstance.go.snap +++ b/service/neptune/snapshot/api_op_RebootDBInstance.go.snap @@ -14,7 +14,6 @@ RebootDBInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_RemoveFromGlobalCluster.go.snap b/service/neptune/snapshot/api_op_RemoveFromGlobalCluster.go.snap index 5da81ab00b1..436a037c9e0 100644 --- a/service/neptune/snapshot/api_op_RemoveFromGlobalCluster.go.snap +++ b/service/neptune/snapshot/api_op_RemoveFromGlobalCluster.go.snap @@ -14,7 +14,6 @@ RemoveFromGlobalCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_RemoveRoleFromDBCluster.go.snap b/service/neptune/snapshot/api_op_RemoveRoleFromDBCluster.go.snap index 85e058b8645..91c4d0bcddb 100644 --- a/service/neptune/snapshot/api_op_RemoveRoleFromDBCluster.go.snap +++ b/service/neptune/snapshot/api_op_RemoveRoleFromDBCluster.go.snap @@ -14,7 +14,6 @@ RemoveRoleFromDBCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_RemoveSourceIdentifierFromSubscription.go.snap b/service/neptune/snapshot/api_op_RemoveSourceIdentifierFromSubscription.go.snap index ec13206d8ed..c262fef59a5 100644 --- a/service/neptune/snapshot/api_op_RemoveSourceIdentifierFromSubscription.go.snap +++ b/service/neptune/snapshot/api_op_RemoveSourceIdentifierFromSubscription.go.snap @@ -14,7 +14,6 @@ RemoveSourceIdentifierFromSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_RemoveTagsFromResource.go.snap b/service/neptune/snapshot/api_op_RemoveTagsFromResource.go.snap index e43df9156ac..48a29e492e9 100644 --- a/service/neptune/snapshot/api_op_RemoveTagsFromResource.go.snap +++ b/service/neptune/snapshot/api_op_RemoveTagsFromResource.go.snap @@ -14,7 +14,6 @@ RemoveTagsFromResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_ResetDBClusterParameterGroup.go.snap b/service/neptune/snapshot/api_op_ResetDBClusterParameterGroup.go.snap index 78989d7942f..b1ae46b23e5 100644 --- a/service/neptune/snapshot/api_op_ResetDBClusterParameterGroup.go.snap +++ b/service/neptune/snapshot/api_op_ResetDBClusterParameterGroup.go.snap @@ -14,7 +14,6 @@ ResetDBClusterParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_ResetDBParameterGroup.go.snap b/service/neptune/snapshot/api_op_ResetDBParameterGroup.go.snap index 9d229b94921..f913022f1ea 100644 --- a/service/neptune/snapshot/api_op_ResetDBParameterGroup.go.snap +++ b/service/neptune/snapshot/api_op_ResetDBParameterGroup.go.snap @@ -14,7 +14,6 @@ ResetDBParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_RestoreDBClusterFromSnapshot.go.snap b/service/neptune/snapshot/api_op_RestoreDBClusterFromSnapshot.go.snap index f3f5f5db007..4303819021c 100644 --- a/service/neptune/snapshot/api_op_RestoreDBClusterFromSnapshot.go.snap +++ b/service/neptune/snapshot/api_op_RestoreDBClusterFromSnapshot.go.snap @@ -14,7 +14,6 @@ RestoreDBClusterFromSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_RestoreDBClusterToPointInTime.go.snap b/service/neptune/snapshot/api_op_RestoreDBClusterToPointInTime.go.snap index 4acc3f0c4cf..b8e0609eb0b 100644 --- a/service/neptune/snapshot/api_op_RestoreDBClusterToPointInTime.go.snap +++ b/service/neptune/snapshot/api_op_RestoreDBClusterToPointInTime.go.snap @@ -14,7 +14,6 @@ RestoreDBClusterToPointInTime Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_StartDBCluster.go.snap b/service/neptune/snapshot/api_op_StartDBCluster.go.snap index 050579b0cca..c8fdca72110 100644 --- a/service/neptune/snapshot/api_op_StartDBCluster.go.snap +++ b/service/neptune/snapshot/api_op_StartDBCluster.go.snap @@ -14,7 +14,6 @@ StartDBCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptune/snapshot/api_op_StopDBCluster.go.snap b/service/neptune/snapshot/api_op_StopDBCluster.go.snap index 42e3cd5606f..8235a032291 100644 --- a/service/neptune/snapshot/api_op_StopDBCluster.go.snap +++ b/service/neptune/snapshot/api_op_StopDBCluster.go.snap @@ -14,7 +14,6 @@ StopDBCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/api_client.go b/service/neptunedata/api_client.go index b5dc22b3fdc..6e074b9e8b4 100644 --- a/service/neptunedata/api_client.go +++ b/service/neptunedata/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/neptunedata/api_op_CancelGremlinQuery.go b/service/neptunedata/api_op_CancelGremlinQuery.go index 1213882562c..a91d115cdcc 100644 --- a/service/neptunedata/api_op_CancelGremlinQuery.go +++ b/service/neptunedata/api_op_CancelGremlinQuery.go @@ -118,9 +118,6 @@ func (c *Client) addOperationCancelGremlinQueryMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelGremlinQueryValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunedata/api_op_CancelLoaderJob.go b/service/neptunedata/api_op_CancelLoaderJob.go index 7274e7ac4c9..41f36e5d234 100644 --- a/service/neptunedata/api_op_CancelLoaderJob.go +++ b/service/neptunedata/api_op_CancelLoaderJob.go @@ -119,9 +119,6 @@ func (c *Client) addOperationCancelLoaderJobMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelLoaderJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunedata/api_op_CancelMLDataProcessingJob.go b/service/neptunedata/api_op_CancelMLDataProcessingJob.go index 72b2e10f1ac..37864a69644 100644 --- a/service/neptunedata/api_op_CancelMLDataProcessingJob.go +++ b/service/neptunedata/api_op_CancelMLDataProcessingJob.go @@ -127,9 +127,6 @@ func (c *Client) addOperationCancelMLDataProcessingJobMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelMLDataProcessingJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunedata/api_op_CancelMLModelTrainingJob.go b/service/neptunedata/api_op_CancelMLModelTrainingJob.go index e60b6a882e1..627d274fb71 100644 --- a/service/neptunedata/api_op_CancelMLModelTrainingJob.go +++ b/service/neptunedata/api_op_CancelMLModelTrainingJob.go @@ -127,9 +127,6 @@ func (c *Client) addOperationCancelMLModelTrainingJobMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelMLModelTrainingJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunedata/api_op_CancelMLModelTransformJob.go b/service/neptunedata/api_op_CancelMLModelTransformJob.go index 19d32a62cfd..d96fcf77126 100644 --- a/service/neptunedata/api_op_CancelMLModelTransformJob.go +++ b/service/neptunedata/api_op_CancelMLModelTransformJob.go @@ -127,9 +127,6 @@ func (c *Client) addOperationCancelMLModelTransformJobMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelMLModelTransformJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunedata/api_op_CancelOpenCypherQuery.go b/service/neptunedata/api_op_CancelOpenCypherQuery.go index f38de8de729..4eb0faa3670 100644 --- a/service/neptunedata/api_op_CancelOpenCypherQuery.go +++ b/service/neptunedata/api_op_CancelOpenCypherQuery.go @@ -125,9 +125,6 @@ func (c *Client) addOperationCancelOpenCypherQueryMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelOpenCypherQueryValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunedata/api_op_CreateMLEndpoint.go b/service/neptunedata/api_op_CreateMLEndpoint.go index f5a74d417ef..87a10011c07 100644 --- a/service/neptunedata/api_op_CreateMLEndpoint.go +++ b/service/neptunedata/api_op_CreateMLEndpoint.go @@ -164,9 +164,6 @@ func (c *Client) addOperationCreateMLEndpointMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMLEndpoint(options.Region), middleware.Before); err != nil { return err } diff --git a/service/neptunedata/api_op_DeleteMLEndpoint.go b/service/neptunedata/api_op_DeleteMLEndpoint.go index 51df790eb56..1d6399f60d7 100644 --- a/service/neptunedata/api_op_DeleteMLEndpoint.go +++ b/service/neptunedata/api_op_DeleteMLEndpoint.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDeleteMLEndpointMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMLEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunedata/api_op_DeletePropertygraphStatistics.go b/service/neptunedata/api_op_DeletePropertygraphStatistics.go index ffad51ad298..7522d10157c 100644 --- a/service/neptunedata/api_op_DeletePropertygraphStatistics.go +++ b/service/neptunedata/api_op_DeletePropertygraphStatistics.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeletePropertygraphStatisticsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePropertygraphStatistics(options.Region), middleware.Before); err != nil { return err } diff --git a/service/neptunedata/api_op_DeleteSparqlStatistics.go b/service/neptunedata/api_op_DeleteSparqlStatistics.go index 29d52efdef3..2660c37d3a9 100644 --- a/service/neptunedata/api_op_DeleteSparqlStatistics.go +++ b/service/neptunedata/api_op_DeleteSparqlStatistics.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteSparqlStatisticsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSparqlStatistics(options.Region), middleware.Before); err != nil { return err } diff --git a/service/neptunedata/api_op_ExecuteFastReset.go b/service/neptunedata/api_op_ExecuteFastReset.go index 0d050df7a24..48c622a16f3 100644 --- a/service/neptunedata/api_op_ExecuteFastReset.go +++ b/service/neptunedata/api_op_ExecuteFastReset.go @@ -142,9 +142,6 @@ func (c *Client) addOperationExecuteFastResetMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExecuteFastResetValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunedata/api_op_ExecuteGremlinExplainQuery.go b/service/neptunedata/api_op_ExecuteGremlinExplainQuery.go index 6ab7f400187..e6b53c159d6 100644 --- a/service/neptunedata/api_op_ExecuteGremlinExplainQuery.go +++ b/service/neptunedata/api_op_ExecuteGremlinExplainQuery.go @@ -146,9 +146,6 @@ func (c *Client) addOperationExecuteGremlinExplainQueryMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExecuteGremlinExplainQueryValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunedata/api_op_ExecuteGremlinProfileQuery.go b/service/neptunedata/api_op_ExecuteGremlinProfileQuery.go index 067eed3c7e4..6dd12511b78 100644 --- a/service/neptunedata/api_op_ExecuteGremlinProfileQuery.go +++ b/service/neptunedata/api_op_ExecuteGremlinProfileQuery.go @@ -147,9 +147,6 @@ func (c *Client) addOperationExecuteGremlinProfileQueryMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExecuteGremlinProfileQueryValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunedata/api_op_ExecuteGremlinQuery.go b/service/neptunedata/api_op_ExecuteGremlinQuery.go index 2d3af6cad97..d5413ec9241 100644 --- a/service/neptunedata/api_op_ExecuteGremlinQuery.go +++ b/service/neptunedata/api_op_ExecuteGremlinQuery.go @@ -159,9 +159,6 @@ func (c *Client) addOperationExecuteGremlinQueryMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExecuteGremlinQueryValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunedata/api_op_ExecuteOpenCypherExplainQuery.go b/service/neptunedata/api_op_ExecuteOpenCypherExplainQuery.go index 26b73ea5fa1..4d6bf52e952 100644 --- a/service/neptunedata/api_op_ExecuteOpenCypherExplainQuery.go +++ b/service/neptunedata/api_op_ExecuteOpenCypherExplainQuery.go @@ -134,9 +134,6 @@ func (c *Client) addOperationExecuteOpenCypherExplainQueryMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExecuteOpenCypherExplainQueryValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunedata/api_op_ExecuteOpenCypherQuery.go b/service/neptunedata/api_op_ExecuteOpenCypherQuery.go index 48e3d6cf1b7..d5ae2716321 100644 --- a/service/neptunedata/api_op_ExecuteOpenCypherQuery.go +++ b/service/neptunedata/api_op_ExecuteOpenCypherQuery.go @@ -150,9 +150,6 @@ func (c *Client) addOperationExecuteOpenCypherQueryMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExecuteOpenCypherQueryValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunedata/api_op_GetEngineStatus.go b/service/neptunedata/api_op_GetEngineStatus.go index 75eb30b29ba..80c369cfc5b 100644 --- a/service/neptunedata/api_op_GetEngineStatus.go +++ b/service/neptunedata/api_op_GetEngineStatus.go @@ -166,9 +166,6 @@ func (c *Client) addOperationGetEngineStatusMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEngineStatus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/neptunedata/api_op_GetGremlinQueryStatus.go b/service/neptunedata/api_op_GetGremlinQueryStatus.go index 05a431fbd37..00f58869606 100644 --- a/service/neptunedata/api_op_GetGremlinQueryStatus.go +++ b/service/neptunedata/api_op_GetGremlinQueryStatus.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGetGremlinQueryStatusMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetGremlinQueryStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunedata/api_op_GetLoaderJobStatus.go b/service/neptunedata/api_op_GetLoaderJobStatus.go index 5d7a4ddc8af..afbe75ced2c 100644 --- a/service/neptunedata/api_op_GetLoaderJobStatus.go +++ b/service/neptunedata/api_op_GetLoaderJobStatus.go @@ -149,9 +149,6 @@ func (c *Client) addOperationGetLoaderJobStatusMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLoaderJobStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunedata/api_op_GetMLDataProcessingJob.go b/service/neptunedata/api_op_GetMLDataProcessingJob.go index 9749067df40..39bf24a9745 100644 --- a/service/neptunedata/api_op_GetMLDataProcessingJob.go +++ b/service/neptunedata/api_op_GetMLDataProcessingJob.go @@ -130,9 +130,6 @@ func (c *Client) addOperationGetMLDataProcessingJobMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMLDataProcessingJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunedata/api_op_GetMLEndpoint.go b/service/neptunedata/api_op_GetMLEndpoint.go index 097460e9712..dfb25a4b7f2 100644 --- a/service/neptunedata/api_op_GetMLEndpoint.go +++ b/service/neptunedata/api_op_GetMLEndpoint.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetMLEndpointMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMLEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunedata/api_op_GetMLModelTrainingJob.go b/service/neptunedata/api_op_GetMLModelTrainingJob.go index 5eba633b8e1..61ce02b2f47 100644 --- a/service/neptunedata/api_op_GetMLModelTrainingJob.go +++ b/service/neptunedata/api_op_GetMLModelTrainingJob.go @@ -139,9 +139,6 @@ func (c *Client) addOperationGetMLModelTrainingJobMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMLModelTrainingJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunedata/api_op_GetMLModelTransformJob.go b/service/neptunedata/api_op_GetMLModelTransformJob.go index 1bfc5b069cd..96beee559eb 100644 --- a/service/neptunedata/api_op_GetMLModelTransformJob.go +++ b/service/neptunedata/api_op_GetMLModelTransformJob.go @@ -136,9 +136,6 @@ func (c *Client) addOperationGetMLModelTransformJobMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMLModelTransformJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunedata/api_op_GetOpenCypherQueryStatus.go b/service/neptunedata/api_op_GetOpenCypherQueryStatus.go index 38e7f0c82a7..7ec52f85bcc 100644 --- a/service/neptunedata/api_op_GetOpenCypherQueryStatus.go +++ b/service/neptunedata/api_op_GetOpenCypherQueryStatus.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGetOpenCypherQueryStatusMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetOpenCypherQueryStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunedata/api_op_GetPropertygraphStatistics.go b/service/neptunedata/api_op_GetPropertygraphStatistics.go index f92fcc6a66c..3922a4811b0 100644 --- a/service/neptunedata/api_op_GetPropertygraphStatistics.go +++ b/service/neptunedata/api_op_GetPropertygraphStatistics.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetPropertygraphStatisticsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPropertygraphStatistics(options.Region), middleware.Before); err != nil { return err } diff --git a/service/neptunedata/api_op_GetPropertygraphStream.go b/service/neptunedata/api_op_GetPropertygraphStream.go index ee4e4a5018b..fb87e0b1722 100644 --- a/service/neptunedata/api_op_GetPropertygraphStream.go +++ b/service/neptunedata/api_op_GetPropertygraphStream.go @@ -206,9 +206,6 @@ func (c *Client) addOperationGetPropertygraphStreamMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPropertygraphStream(options.Region), middleware.Before); err != nil { return err } diff --git a/service/neptunedata/api_op_GetPropertygraphSummary.go b/service/neptunedata/api_op_GetPropertygraphSummary.go index 7e6d4b73cd4..84b82f49be0 100644 --- a/service/neptunedata/api_op_GetPropertygraphSummary.go +++ b/service/neptunedata/api_op_GetPropertygraphSummary.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetPropertygraphSummaryMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPropertygraphSummary(options.Region), middleware.Before); err != nil { return err } diff --git a/service/neptunedata/api_op_GetRDFGraphSummary.go b/service/neptunedata/api_op_GetRDFGraphSummary.go index 902d5f9a099..3ffd969401f 100644 --- a/service/neptunedata/api_op_GetRDFGraphSummary.go +++ b/service/neptunedata/api_op_GetRDFGraphSummary.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetRDFGraphSummaryMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRDFGraphSummary(options.Region), middleware.Before); err != nil { return err } diff --git a/service/neptunedata/api_op_GetSparqlStatistics.go b/service/neptunedata/api_op_GetSparqlStatistics.go index eb19aff796c..19713927bfe 100644 --- a/service/neptunedata/api_op_GetSparqlStatistics.go +++ b/service/neptunedata/api_op_GetSparqlStatistics.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetSparqlStatisticsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSparqlStatistics(options.Region), middleware.Before); err != nil { return err } diff --git a/service/neptunedata/api_op_GetSparqlStream.go b/service/neptunedata/api_op_GetSparqlStream.go index 5370457cf24..9c0c6453b61 100644 --- a/service/neptunedata/api_op_GetSparqlStream.go +++ b/service/neptunedata/api_op_GetSparqlStream.go @@ -195,9 +195,6 @@ func (c *Client) addOperationGetSparqlStreamMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSparqlStream(options.Region), middleware.Before); err != nil { return err } diff --git a/service/neptunedata/api_op_ListGremlinQueries.go b/service/neptunedata/api_op_ListGremlinQueries.go index 8da3dd4cde4..956ab8fabb4 100644 --- a/service/neptunedata/api_op_ListGremlinQueries.go +++ b/service/neptunedata/api_op_ListGremlinQueries.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListGremlinQueriesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGremlinQueries(options.Region), middleware.Before); err != nil { return err } diff --git a/service/neptunedata/api_op_ListLoaderJobs.go b/service/neptunedata/api_op_ListLoaderJobs.go index 299653425d1..63b12ba3933 100644 --- a/service/neptunedata/api_op_ListLoaderJobs.go +++ b/service/neptunedata/api_op_ListLoaderJobs.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListLoaderJobsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLoaderJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/neptunedata/api_op_ListMLDataProcessingJobs.go b/service/neptunedata/api_op_ListMLDataProcessingJobs.go index d3989bc2aca..3daffa9606a 100644 --- a/service/neptunedata/api_op_ListMLDataProcessingJobs.go +++ b/service/neptunedata/api_op_ListMLDataProcessingJobs.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListMLDataProcessingJobsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMLDataProcessingJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/neptunedata/api_op_ListMLEndpoints.go b/service/neptunedata/api_op_ListMLEndpoints.go index 5280b541e42..48a94ee51f0 100644 --- a/service/neptunedata/api_op_ListMLEndpoints.go +++ b/service/neptunedata/api_op_ListMLEndpoints.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListMLEndpointsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMLEndpoints(options.Region), middleware.Before); err != nil { return err } diff --git a/service/neptunedata/api_op_ListMLModelTrainingJobs.go b/service/neptunedata/api_op_ListMLModelTrainingJobs.go index ba669edef7e..69501630a45 100644 --- a/service/neptunedata/api_op_ListMLModelTrainingJobs.go +++ b/service/neptunedata/api_op_ListMLModelTrainingJobs.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListMLModelTrainingJobsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMLModelTrainingJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/neptunedata/api_op_ListMLModelTransformJobs.go b/service/neptunedata/api_op_ListMLModelTransformJobs.go index 485db567cfa..c8e59ee68ef 100644 --- a/service/neptunedata/api_op_ListMLModelTransformJobs.go +++ b/service/neptunedata/api_op_ListMLModelTransformJobs.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListMLModelTransformJobsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMLModelTransformJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/neptunedata/api_op_ListOpenCypherQueries.go b/service/neptunedata/api_op_ListOpenCypherQueries.go index bf933409b7f..7957b92140d 100644 --- a/service/neptunedata/api_op_ListOpenCypherQueries.go +++ b/service/neptunedata/api_op_ListOpenCypherQueries.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListOpenCypherQueriesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOpenCypherQueries(options.Region), middleware.Before); err != nil { return err } diff --git a/service/neptunedata/api_op_ManagePropertygraphStatistics.go b/service/neptunedata/api_op_ManagePropertygraphStatistics.go index 3b501599a2f..b09aae00b06 100644 --- a/service/neptunedata/api_op_ManagePropertygraphStatistics.go +++ b/service/neptunedata/api_op_ManagePropertygraphStatistics.go @@ -122,9 +122,6 @@ func (c *Client) addOperationManagePropertygraphStatisticsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opManagePropertygraphStatistics(options.Region), middleware.Before); err != nil { return err } diff --git a/service/neptunedata/api_op_ManageSparqlStatistics.go b/service/neptunedata/api_op_ManageSparqlStatistics.go index 1c72a4fef01..84c8989d982 100644 --- a/service/neptunedata/api_op_ManageSparqlStatistics.go +++ b/service/neptunedata/api_op_ManageSparqlStatistics.go @@ -122,9 +122,6 @@ func (c *Client) addOperationManageSparqlStatisticsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opManageSparqlStatistics(options.Region), middleware.Before); err != nil { return err } diff --git a/service/neptunedata/api_op_StartLoaderJob.go b/service/neptunedata/api_op_StartLoaderJob.go index 53df2e1de7c..8853aff0a90 100644 --- a/service/neptunedata/api_op_StartLoaderJob.go +++ b/service/neptunedata/api_op_StartLoaderJob.go @@ -366,9 +366,6 @@ func (c *Client) addOperationStartLoaderJobMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartLoaderJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunedata/api_op_StartMLDataProcessingJob.go b/service/neptunedata/api_op_StartMLDataProcessingJob.go index ef1a0800195..99c11b21096 100644 --- a/service/neptunedata/api_op_StartMLDataProcessingJob.go +++ b/service/neptunedata/api_op_StartMLDataProcessingJob.go @@ -189,9 +189,6 @@ func (c *Client) addOperationStartMLDataProcessingJobMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartMLDataProcessingJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunedata/api_op_StartMLModelTrainingJob.go b/service/neptunedata/api_op_StartMLModelTrainingJob.go index 15e0f262794..7949767b8fe 100644 --- a/service/neptunedata/api_op_StartMLModelTrainingJob.go +++ b/service/neptunedata/api_op_StartMLModelTrainingJob.go @@ -201,9 +201,6 @@ func (c *Client) addOperationStartMLModelTrainingJobMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartMLModelTrainingJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunedata/api_op_StartMLModelTransformJob.go b/service/neptunedata/api_op_StartMLModelTransformJob.go index 34973572075..d9a5e5ae6db 100644 --- a/service/neptunedata/api_op_StartMLModelTransformJob.go +++ b/service/neptunedata/api_op_StartMLModelTransformJob.go @@ -181,9 +181,6 @@ func (c *Client) addOperationStartMLModelTransformJobMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartMLModelTransformJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunedata/snapshot/api_op_CancelGremlinQuery.go.snap b/service/neptunedata/snapshot/api_op_CancelGremlinQuery.go.snap index 284a95dbd33..636d5c16ebe 100644 --- a/service/neptunedata/snapshot/api_op_CancelGremlinQuery.go.snap +++ b/service/neptunedata/snapshot/api_op_CancelGremlinQuery.go.snap @@ -14,7 +14,6 @@ CancelGremlinQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_CancelLoaderJob.go.snap b/service/neptunedata/snapshot/api_op_CancelLoaderJob.go.snap index c44a6484f2c..e3861d8c109 100644 --- a/service/neptunedata/snapshot/api_op_CancelLoaderJob.go.snap +++ b/service/neptunedata/snapshot/api_op_CancelLoaderJob.go.snap @@ -14,7 +14,6 @@ CancelLoaderJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_CancelMLDataProcessingJob.go.snap b/service/neptunedata/snapshot/api_op_CancelMLDataProcessingJob.go.snap index c081cc1599f..6351a7c3927 100644 --- a/service/neptunedata/snapshot/api_op_CancelMLDataProcessingJob.go.snap +++ b/service/neptunedata/snapshot/api_op_CancelMLDataProcessingJob.go.snap @@ -14,7 +14,6 @@ CancelMLDataProcessingJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_CancelMLModelTrainingJob.go.snap b/service/neptunedata/snapshot/api_op_CancelMLModelTrainingJob.go.snap index ae69655a87a..2bef6346327 100644 --- a/service/neptunedata/snapshot/api_op_CancelMLModelTrainingJob.go.snap +++ b/service/neptunedata/snapshot/api_op_CancelMLModelTrainingJob.go.snap @@ -14,7 +14,6 @@ CancelMLModelTrainingJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_CancelMLModelTransformJob.go.snap b/service/neptunedata/snapshot/api_op_CancelMLModelTransformJob.go.snap index a1b921ede7c..f78b3816a3c 100644 --- a/service/neptunedata/snapshot/api_op_CancelMLModelTransformJob.go.snap +++ b/service/neptunedata/snapshot/api_op_CancelMLModelTransformJob.go.snap @@ -14,7 +14,6 @@ CancelMLModelTransformJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_CancelOpenCypherQuery.go.snap b/service/neptunedata/snapshot/api_op_CancelOpenCypherQuery.go.snap index 9d25d0881ea..1e08b3a7632 100644 --- a/service/neptunedata/snapshot/api_op_CancelOpenCypherQuery.go.snap +++ b/service/neptunedata/snapshot/api_op_CancelOpenCypherQuery.go.snap @@ -14,7 +14,6 @@ CancelOpenCypherQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_CreateMLEndpoint.go.snap b/service/neptunedata/snapshot/api_op_CreateMLEndpoint.go.snap index 6b04062860d..24a7fbca338 100644 --- a/service/neptunedata/snapshot/api_op_CreateMLEndpoint.go.snap +++ b/service/neptunedata/snapshot/api_op_CreateMLEndpoint.go.snap @@ -13,7 +13,6 @@ CreateMLEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_DeleteMLEndpoint.go.snap b/service/neptunedata/snapshot/api_op_DeleteMLEndpoint.go.snap index 6dfd02a59ef..adfcad22b0d 100644 --- a/service/neptunedata/snapshot/api_op_DeleteMLEndpoint.go.snap +++ b/service/neptunedata/snapshot/api_op_DeleteMLEndpoint.go.snap @@ -14,7 +14,6 @@ DeleteMLEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_DeletePropertygraphStatistics.go.snap b/service/neptunedata/snapshot/api_op_DeletePropertygraphStatistics.go.snap index 592e1b86259..223897deaf0 100644 --- a/service/neptunedata/snapshot/api_op_DeletePropertygraphStatistics.go.snap +++ b/service/neptunedata/snapshot/api_op_DeletePropertygraphStatistics.go.snap @@ -13,7 +13,6 @@ DeletePropertygraphStatistics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_DeleteSparqlStatistics.go.snap b/service/neptunedata/snapshot/api_op_DeleteSparqlStatistics.go.snap index 5ba47d82f90..bc3d0254bc8 100644 --- a/service/neptunedata/snapshot/api_op_DeleteSparqlStatistics.go.snap +++ b/service/neptunedata/snapshot/api_op_DeleteSparqlStatistics.go.snap @@ -13,7 +13,6 @@ DeleteSparqlStatistics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_ExecuteFastReset.go.snap b/service/neptunedata/snapshot/api_op_ExecuteFastReset.go.snap index 368c9beaf3e..d5cf61f6f81 100644 --- a/service/neptunedata/snapshot/api_op_ExecuteFastReset.go.snap +++ b/service/neptunedata/snapshot/api_op_ExecuteFastReset.go.snap @@ -14,7 +14,6 @@ ExecuteFastReset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_ExecuteGremlinExplainQuery.go.snap b/service/neptunedata/snapshot/api_op_ExecuteGremlinExplainQuery.go.snap index 5e46cc2fa57..6800d08184f 100644 --- a/service/neptunedata/snapshot/api_op_ExecuteGremlinExplainQuery.go.snap +++ b/service/neptunedata/snapshot/api_op_ExecuteGremlinExplainQuery.go.snap @@ -14,7 +14,6 @@ ExecuteGremlinExplainQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_ExecuteGremlinProfileQuery.go.snap b/service/neptunedata/snapshot/api_op_ExecuteGremlinProfileQuery.go.snap index 27d3b3ed39d..4138fc7b425 100644 --- a/service/neptunedata/snapshot/api_op_ExecuteGremlinProfileQuery.go.snap +++ b/service/neptunedata/snapshot/api_op_ExecuteGremlinProfileQuery.go.snap @@ -14,7 +14,6 @@ ExecuteGremlinProfileQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_ExecuteGremlinQuery.go.snap b/service/neptunedata/snapshot/api_op_ExecuteGremlinQuery.go.snap index 1d51f953939..4f4256618ba 100644 --- a/service/neptunedata/snapshot/api_op_ExecuteGremlinQuery.go.snap +++ b/service/neptunedata/snapshot/api_op_ExecuteGremlinQuery.go.snap @@ -14,7 +14,6 @@ ExecuteGremlinQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_ExecuteOpenCypherExplainQuery.go.snap b/service/neptunedata/snapshot/api_op_ExecuteOpenCypherExplainQuery.go.snap index 30c947b7762..718bd8b6d44 100644 --- a/service/neptunedata/snapshot/api_op_ExecuteOpenCypherExplainQuery.go.snap +++ b/service/neptunedata/snapshot/api_op_ExecuteOpenCypherExplainQuery.go.snap @@ -14,7 +14,6 @@ ExecuteOpenCypherExplainQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_ExecuteOpenCypherQuery.go.snap b/service/neptunedata/snapshot/api_op_ExecuteOpenCypherQuery.go.snap index f80476b4a78..e94048af1d6 100644 --- a/service/neptunedata/snapshot/api_op_ExecuteOpenCypherQuery.go.snap +++ b/service/neptunedata/snapshot/api_op_ExecuteOpenCypherQuery.go.snap @@ -14,7 +14,6 @@ ExecuteOpenCypherQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_GetEngineStatus.go.snap b/service/neptunedata/snapshot/api_op_GetEngineStatus.go.snap index b7177f0bbb6..5322384a2c3 100644 --- a/service/neptunedata/snapshot/api_op_GetEngineStatus.go.snap +++ b/service/neptunedata/snapshot/api_op_GetEngineStatus.go.snap @@ -13,7 +13,6 @@ GetEngineStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_GetGremlinQueryStatus.go.snap b/service/neptunedata/snapshot/api_op_GetGremlinQueryStatus.go.snap index cab062adcb9..f18e6da1641 100644 --- a/service/neptunedata/snapshot/api_op_GetGremlinQueryStatus.go.snap +++ b/service/neptunedata/snapshot/api_op_GetGremlinQueryStatus.go.snap @@ -14,7 +14,6 @@ GetGremlinQueryStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_GetLoaderJobStatus.go.snap b/service/neptunedata/snapshot/api_op_GetLoaderJobStatus.go.snap index eb1d09a690b..831d3be5ea9 100644 --- a/service/neptunedata/snapshot/api_op_GetLoaderJobStatus.go.snap +++ b/service/neptunedata/snapshot/api_op_GetLoaderJobStatus.go.snap @@ -14,7 +14,6 @@ GetLoaderJobStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_GetMLDataProcessingJob.go.snap b/service/neptunedata/snapshot/api_op_GetMLDataProcessingJob.go.snap index 6345183b94f..5fd33f14a5e 100644 --- a/service/neptunedata/snapshot/api_op_GetMLDataProcessingJob.go.snap +++ b/service/neptunedata/snapshot/api_op_GetMLDataProcessingJob.go.snap @@ -14,7 +14,6 @@ GetMLDataProcessingJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_GetMLEndpoint.go.snap b/service/neptunedata/snapshot/api_op_GetMLEndpoint.go.snap index 43b98c87cf3..60b24fbec21 100644 --- a/service/neptunedata/snapshot/api_op_GetMLEndpoint.go.snap +++ b/service/neptunedata/snapshot/api_op_GetMLEndpoint.go.snap @@ -14,7 +14,6 @@ GetMLEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_GetMLModelTrainingJob.go.snap b/service/neptunedata/snapshot/api_op_GetMLModelTrainingJob.go.snap index d3bf7ecced6..7fcb44756bc 100644 --- a/service/neptunedata/snapshot/api_op_GetMLModelTrainingJob.go.snap +++ b/service/neptunedata/snapshot/api_op_GetMLModelTrainingJob.go.snap @@ -14,7 +14,6 @@ GetMLModelTrainingJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_GetMLModelTransformJob.go.snap b/service/neptunedata/snapshot/api_op_GetMLModelTransformJob.go.snap index b3aa76d7657..b569995320e 100644 --- a/service/neptunedata/snapshot/api_op_GetMLModelTransformJob.go.snap +++ b/service/neptunedata/snapshot/api_op_GetMLModelTransformJob.go.snap @@ -14,7 +14,6 @@ GetMLModelTransformJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_GetOpenCypherQueryStatus.go.snap b/service/neptunedata/snapshot/api_op_GetOpenCypherQueryStatus.go.snap index 6b2563209ff..3305f77a258 100644 --- a/service/neptunedata/snapshot/api_op_GetOpenCypherQueryStatus.go.snap +++ b/service/neptunedata/snapshot/api_op_GetOpenCypherQueryStatus.go.snap @@ -14,7 +14,6 @@ GetOpenCypherQueryStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_GetPropertygraphStatistics.go.snap b/service/neptunedata/snapshot/api_op_GetPropertygraphStatistics.go.snap index e296915de06..201bf0ba8ae 100644 --- a/service/neptunedata/snapshot/api_op_GetPropertygraphStatistics.go.snap +++ b/service/neptunedata/snapshot/api_op_GetPropertygraphStatistics.go.snap @@ -13,7 +13,6 @@ GetPropertygraphStatistics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_GetPropertygraphStream.go.snap b/service/neptunedata/snapshot/api_op_GetPropertygraphStream.go.snap index 488ed50a583..e7717c789ca 100644 --- a/service/neptunedata/snapshot/api_op_GetPropertygraphStream.go.snap +++ b/service/neptunedata/snapshot/api_op_GetPropertygraphStream.go.snap @@ -13,7 +13,6 @@ GetPropertygraphStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_GetPropertygraphSummary.go.snap b/service/neptunedata/snapshot/api_op_GetPropertygraphSummary.go.snap index 8caffd6532e..1038fd8c015 100644 --- a/service/neptunedata/snapshot/api_op_GetPropertygraphSummary.go.snap +++ b/service/neptunedata/snapshot/api_op_GetPropertygraphSummary.go.snap @@ -13,7 +13,6 @@ GetPropertygraphSummary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_GetRDFGraphSummary.go.snap b/service/neptunedata/snapshot/api_op_GetRDFGraphSummary.go.snap index feb0607efc6..0e684809367 100644 --- a/service/neptunedata/snapshot/api_op_GetRDFGraphSummary.go.snap +++ b/service/neptunedata/snapshot/api_op_GetRDFGraphSummary.go.snap @@ -13,7 +13,6 @@ GetRDFGraphSummary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_GetSparqlStatistics.go.snap b/service/neptunedata/snapshot/api_op_GetSparqlStatistics.go.snap index 44b84f44008..010fb93da1d 100644 --- a/service/neptunedata/snapshot/api_op_GetSparqlStatistics.go.snap +++ b/service/neptunedata/snapshot/api_op_GetSparqlStatistics.go.snap @@ -13,7 +13,6 @@ GetSparqlStatistics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_GetSparqlStream.go.snap b/service/neptunedata/snapshot/api_op_GetSparqlStream.go.snap index 3ef590a47d6..132e431d2e8 100644 --- a/service/neptunedata/snapshot/api_op_GetSparqlStream.go.snap +++ b/service/neptunedata/snapshot/api_op_GetSparqlStream.go.snap @@ -13,7 +13,6 @@ GetSparqlStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_ListGremlinQueries.go.snap b/service/neptunedata/snapshot/api_op_ListGremlinQueries.go.snap index c65ab2a78ab..49b22294303 100644 --- a/service/neptunedata/snapshot/api_op_ListGremlinQueries.go.snap +++ b/service/neptunedata/snapshot/api_op_ListGremlinQueries.go.snap @@ -13,7 +13,6 @@ ListGremlinQueries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_ListLoaderJobs.go.snap b/service/neptunedata/snapshot/api_op_ListLoaderJobs.go.snap index f9274652744..bbcbbd3ede1 100644 --- a/service/neptunedata/snapshot/api_op_ListLoaderJobs.go.snap +++ b/service/neptunedata/snapshot/api_op_ListLoaderJobs.go.snap @@ -13,7 +13,6 @@ ListLoaderJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_ListMLDataProcessingJobs.go.snap b/service/neptunedata/snapshot/api_op_ListMLDataProcessingJobs.go.snap index 377130e01d6..ffb09f0d2d2 100644 --- a/service/neptunedata/snapshot/api_op_ListMLDataProcessingJobs.go.snap +++ b/service/neptunedata/snapshot/api_op_ListMLDataProcessingJobs.go.snap @@ -13,7 +13,6 @@ ListMLDataProcessingJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_ListMLEndpoints.go.snap b/service/neptunedata/snapshot/api_op_ListMLEndpoints.go.snap index df1de4eda77..983ff695cbc 100644 --- a/service/neptunedata/snapshot/api_op_ListMLEndpoints.go.snap +++ b/service/neptunedata/snapshot/api_op_ListMLEndpoints.go.snap @@ -13,7 +13,6 @@ ListMLEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_ListMLModelTrainingJobs.go.snap b/service/neptunedata/snapshot/api_op_ListMLModelTrainingJobs.go.snap index 1d9047c7840..7150c972f2c 100644 --- a/service/neptunedata/snapshot/api_op_ListMLModelTrainingJobs.go.snap +++ b/service/neptunedata/snapshot/api_op_ListMLModelTrainingJobs.go.snap @@ -13,7 +13,6 @@ ListMLModelTrainingJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_ListMLModelTransformJobs.go.snap b/service/neptunedata/snapshot/api_op_ListMLModelTransformJobs.go.snap index 328a2b8d339..074ec8c63ca 100644 --- a/service/neptunedata/snapshot/api_op_ListMLModelTransformJobs.go.snap +++ b/service/neptunedata/snapshot/api_op_ListMLModelTransformJobs.go.snap @@ -13,7 +13,6 @@ ListMLModelTransformJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_ListOpenCypherQueries.go.snap b/service/neptunedata/snapshot/api_op_ListOpenCypherQueries.go.snap index 0811157393a..8b40f87c50b 100644 --- a/service/neptunedata/snapshot/api_op_ListOpenCypherQueries.go.snap +++ b/service/neptunedata/snapshot/api_op_ListOpenCypherQueries.go.snap @@ -13,7 +13,6 @@ ListOpenCypherQueries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_ManagePropertygraphStatistics.go.snap b/service/neptunedata/snapshot/api_op_ManagePropertygraphStatistics.go.snap index 1b8118d9294..7da3fa2bbe5 100644 --- a/service/neptunedata/snapshot/api_op_ManagePropertygraphStatistics.go.snap +++ b/service/neptunedata/snapshot/api_op_ManagePropertygraphStatistics.go.snap @@ -13,7 +13,6 @@ ManagePropertygraphStatistics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_ManageSparqlStatistics.go.snap b/service/neptunedata/snapshot/api_op_ManageSparqlStatistics.go.snap index 045333ac9ad..32637009d7c 100644 --- a/service/neptunedata/snapshot/api_op_ManageSparqlStatistics.go.snap +++ b/service/neptunedata/snapshot/api_op_ManageSparqlStatistics.go.snap @@ -13,7 +13,6 @@ ManageSparqlStatistics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_StartLoaderJob.go.snap b/service/neptunedata/snapshot/api_op_StartLoaderJob.go.snap index 2cf82b2e25d..fbb67352d0f 100644 --- a/service/neptunedata/snapshot/api_op_StartLoaderJob.go.snap +++ b/service/neptunedata/snapshot/api_op_StartLoaderJob.go.snap @@ -14,7 +14,6 @@ StartLoaderJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_StartMLDataProcessingJob.go.snap b/service/neptunedata/snapshot/api_op_StartMLDataProcessingJob.go.snap index c48b51d7bf2..10c664b4c7c 100644 --- a/service/neptunedata/snapshot/api_op_StartMLDataProcessingJob.go.snap +++ b/service/neptunedata/snapshot/api_op_StartMLDataProcessingJob.go.snap @@ -14,7 +14,6 @@ StartMLDataProcessingJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_StartMLModelTrainingJob.go.snap b/service/neptunedata/snapshot/api_op_StartMLModelTrainingJob.go.snap index c21dafe0c0c..7ed531944bf 100644 --- a/service/neptunedata/snapshot/api_op_StartMLModelTrainingJob.go.snap +++ b/service/neptunedata/snapshot/api_op_StartMLModelTrainingJob.go.snap @@ -14,7 +14,6 @@ StartMLModelTrainingJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunedata/snapshot/api_op_StartMLModelTransformJob.go.snap b/service/neptunedata/snapshot/api_op_StartMLModelTransformJob.go.snap index 64f81355bf8..54f0b9e879c 100644 --- a/service/neptunedata/snapshot/api_op_StartMLModelTransformJob.go.snap +++ b/service/neptunedata/snapshot/api_op_StartMLModelTransformJob.go.snap @@ -14,7 +14,6 @@ StartMLModelTransformJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunegraph/api_client.go b/service/neptunegraph/api_client.go index 156a345a4d7..1b3da4c285f 100644 --- a/service/neptunegraph/api_client.go +++ b/service/neptunegraph/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/neptunegraph/api_op_CancelExportTask.go b/service/neptunegraph/api_op_CancelExportTask.go index 7bc5689e119..95c728015f9 100644 --- a/service/neptunegraph/api_op_CancelExportTask.go +++ b/service/neptunegraph/api_op_CancelExportTask.go @@ -158,9 +158,6 @@ func (c *Client) addOperationCancelExportTaskMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelExportTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunegraph/api_op_CancelImportTask.go b/service/neptunegraph/api_op_CancelImportTask.go index 08848fab029..fbde7f30db4 100644 --- a/service/neptunegraph/api_op_CancelImportTask.go +++ b/service/neptunegraph/api_op_CancelImportTask.go @@ -151,9 +151,6 @@ func (c *Client) addOperationCancelImportTaskMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelImportTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunegraph/api_op_CancelQuery.go b/service/neptunegraph/api_op_CancelQuery.go index e92057fc195..06fc5b52ee6 100644 --- a/service/neptunegraph/api_op_CancelQuery.go +++ b/service/neptunegraph/api_op_CancelQuery.go @@ -120,9 +120,6 @@ func (c *Client) addOperationCancelQueryMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCancelQueryMiddleware(stack); err != nil { return err } diff --git a/service/neptunegraph/api_op_CreateGraph.go b/service/neptunegraph/api_op_CreateGraph.go index 0b900550583..df261751139 100644 --- a/service/neptunegraph/api_op_CreateGraph.go +++ b/service/neptunegraph/api_op_CreateGraph.go @@ -217,9 +217,6 @@ func (c *Client) addOperationCreateGraphMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGraphValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunegraph/api_op_CreateGraphSnapshot.go b/service/neptunegraph/api_op_CreateGraphSnapshot.go index c3bcf065330..033b89f1dbd 100644 --- a/service/neptunegraph/api_op_CreateGraphSnapshot.go +++ b/service/neptunegraph/api_op_CreateGraphSnapshot.go @@ -156,9 +156,6 @@ func (c *Client) addOperationCreateGraphSnapshotMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGraphSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunegraph/api_op_CreateGraphUsingImportTask.go b/service/neptunegraph/api_op_CreateGraphUsingImportTask.go index da87ef8e7bd..d6ee6ea6ce9 100644 --- a/service/neptunegraph/api_op_CreateGraphUsingImportTask.go +++ b/service/neptunegraph/api_op_CreateGraphUsingImportTask.go @@ -248,9 +248,6 @@ func (c *Client) addOperationCreateGraphUsingImportTaskMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGraphUsingImportTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunegraph/api_op_CreatePrivateGraphEndpoint.go b/service/neptunegraph/api_op_CreatePrivateGraphEndpoint.go index 80010e377e2..b902f02075f 100644 --- a/service/neptunegraph/api_op_CreatePrivateGraphEndpoint.go +++ b/service/neptunegraph/api_op_CreatePrivateGraphEndpoint.go @@ -145,9 +145,6 @@ func (c *Client) addOperationCreatePrivateGraphEndpointMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePrivateGraphEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunegraph/api_op_DeleteGraph.go b/service/neptunegraph/api_op_DeleteGraph.go index 7fe3c81cc8a..39ca0039815 100644 --- a/service/neptunegraph/api_op_DeleteGraph.go +++ b/service/neptunegraph/api_op_DeleteGraph.go @@ -178,9 +178,6 @@ func (c *Client) addOperationDeleteGraphMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGraphValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunegraph/api_op_DeleteGraphSnapshot.go b/service/neptunegraph/api_op_DeleteGraphSnapshot.go index 7fbca613e3b..ddd3f5b17f0 100644 --- a/service/neptunegraph/api_op_DeleteGraphSnapshot.go +++ b/service/neptunegraph/api_op_DeleteGraphSnapshot.go @@ -147,9 +147,6 @@ func (c *Client) addOperationDeleteGraphSnapshotMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGraphSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunegraph/api_op_DeletePrivateGraphEndpoint.go b/service/neptunegraph/api_op_DeletePrivateGraphEndpoint.go index 8800026231f..ace69a787d3 100644 --- a/service/neptunegraph/api_op_DeletePrivateGraphEndpoint.go +++ b/service/neptunegraph/api_op_DeletePrivateGraphEndpoint.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDeletePrivateGraphEndpointMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePrivateGraphEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunegraph/api_op_ExecuteQuery.go b/service/neptunegraph/api_op_ExecuteQuery.go index 087f539ddcf..9266be2dd1f 100644 --- a/service/neptunegraph/api_op_ExecuteQuery.go +++ b/service/neptunegraph/api_op_ExecuteQuery.go @@ -161,9 +161,6 @@ func (c *Client) addOperationExecuteQueryMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opExecuteQueryMiddleware(stack); err != nil { return err } diff --git a/service/neptunegraph/api_op_GetExportTask.go b/service/neptunegraph/api_op_GetExportTask.go index 983294b0d13..13e32c7ec9c 100644 --- a/service/neptunegraph/api_op_GetExportTask.go +++ b/service/neptunegraph/api_op_GetExportTask.go @@ -166,9 +166,6 @@ func (c *Client) addOperationGetExportTaskMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetExportTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunegraph/api_op_GetGraph.go b/service/neptunegraph/api_op_GetGraph.go index 6bf902d73b6..b286627543b 100644 --- a/service/neptunegraph/api_op_GetGraph.go +++ b/service/neptunegraph/api_op_GetGraph.go @@ -174,9 +174,6 @@ func (c *Client) addOperationGetGraphMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetGraphValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunegraph/api_op_GetGraphSnapshot.go b/service/neptunegraph/api_op_GetGraphSnapshot.go index 3ab693a8b09..e9f2dbaecc3 100644 --- a/service/neptunegraph/api_op_GetGraphSnapshot.go +++ b/service/neptunegraph/api_op_GetGraphSnapshot.go @@ -151,9 +151,6 @@ func (c *Client) addOperationGetGraphSnapshotMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetGraphSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunegraph/api_op_GetGraphSummary.go b/service/neptunegraph/api_op_GetGraphSummary.go index a0e2d8acc0f..b2fa61c5a2d 100644 --- a/service/neptunegraph/api_op_GetGraphSummary.go +++ b/service/neptunegraph/api_op_GetGraphSummary.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetGraphSummaryMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetGraphSummaryMiddleware(stack); err != nil { return err } diff --git a/service/neptunegraph/api_op_GetImportTask.go b/service/neptunegraph/api_op_GetImportTask.go index e7b06eb2de6..62f473271fc 100644 --- a/service/neptunegraph/api_op_GetImportTask.go +++ b/service/neptunegraph/api_op_GetImportTask.go @@ -196,9 +196,6 @@ func (c *Client) addOperationGetImportTaskMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetImportTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunegraph/api_op_GetPrivateGraphEndpoint.go b/service/neptunegraph/api_op_GetPrivateGraphEndpoint.go index 941153cba54..42deb0cf8f1 100644 --- a/service/neptunegraph/api_op_GetPrivateGraphEndpoint.go +++ b/service/neptunegraph/api_op_GetPrivateGraphEndpoint.go @@ -143,9 +143,6 @@ func (c *Client) addOperationGetPrivateGraphEndpointMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPrivateGraphEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunegraph/api_op_GetQuery.go b/service/neptunegraph/api_op_GetQuery.go index f84e1079592..72c44ab34d7 100644 --- a/service/neptunegraph/api_op_GetQuery.go +++ b/service/neptunegraph/api_op_GetQuery.go @@ -141,9 +141,6 @@ func (c *Client) addOperationGetQueryMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetQueryMiddleware(stack); err != nil { return err } diff --git a/service/neptunegraph/api_op_ListExportTasks.go b/service/neptunegraph/api_op_ListExportTasks.go index 072542fda6b..00f62e73533 100644 --- a/service/neptunegraph/api_op_ListExportTasks.go +++ b/service/neptunegraph/api_op_ListExportTasks.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListExportTasksMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExportTasks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/neptunegraph/api_op_ListGraphSnapshots.go b/service/neptunegraph/api_op_ListGraphSnapshots.go index 6a7ff816516..769b635c1d3 100644 --- a/service/neptunegraph/api_op_ListGraphSnapshots.go +++ b/service/neptunegraph/api_op_ListGraphSnapshots.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListGraphSnapshotsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGraphSnapshots(options.Region), middleware.Before); err != nil { return err } diff --git a/service/neptunegraph/api_op_ListGraphs.go b/service/neptunegraph/api_op_ListGraphs.go index 1344abe6622..9b9ec2bfe6f 100644 --- a/service/neptunegraph/api_op_ListGraphs.go +++ b/service/neptunegraph/api_op_ListGraphs.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListGraphsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGraphs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/neptunegraph/api_op_ListImportTasks.go b/service/neptunegraph/api_op_ListImportTasks.go index c5b6e5dcc69..13354002fd9 100644 --- a/service/neptunegraph/api_op_ListImportTasks.go +++ b/service/neptunegraph/api_op_ListImportTasks.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListImportTasksMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImportTasks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/neptunegraph/api_op_ListPrivateGraphEndpoints.go b/service/neptunegraph/api_op_ListPrivateGraphEndpoints.go index 22f853337ed..f2b7dddd053 100644 --- a/service/neptunegraph/api_op_ListPrivateGraphEndpoints.go +++ b/service/neptunegraph/api_op_ListPrivateGraphEndpoints.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListPrivateGraphEndpointsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPrivateGraphEndpointsValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunegraph/api_op_ListQueries.go b/service/neptunegraph/api_op_ListQueries.go index 6f6f3cf54c1..d1616b39734 100644 --- a/service/neptunegraph/api_op_ListQueries.go +++ b/service/neptunegraph/api_op_ListQueries.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListQueriesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListQueriesMiddleware(stack); err != nil { return err } diff --git a/service/neptunegraph/api_op_ListTagsForResource.go b/service/neptunegraph/api_op_ListTagsForResource.go index 61966f77610..cb4c3bc07fc 100644 --- a/service/neptunegraph/api_op_ListTagsForResource.go +++ b/service/neptunegraph/api_op_ListTagsForResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunegraph/api_op_ResetGraph.go b/service/neptunegraph/api_op_ResetGraph.go index 1521df6c5f9..78d6bd1ed8c 100644 --- a/service/neptunegraph/api_op_ResetGraph.go +++ b/service/neptunegraph/api_op_ResetGraph.go @@ -176,9 +176,6 @@ func (c *Client) addOperationResetGraphMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResetGraphValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunegraph/api_op_RestoreGraphFromSnapshot.go b/service/neptunegraph/api_op_RestoreGraphFromSnapshot.go index 965c4186572..c89138e99fe 100644 --- a/service/neptunegraph/api_op_RestoreGraphFromSnapshot.go +++ b/service/neptunegraph/api_op_RestoreGraphFromSnapshot.go @@ -202,9 +202,6 @@ func (c *Client) addOperationRestoreGraphFromSnapshotMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreGraphFromSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunegraph/api_op_StartExportTask.go b/service/neptunegraph/api_op_StartExportTask.go index 838bffc68c7..d40e93a563a 100644 --- a/service/neptunegraph/api_op_StartExportTask.go +++ b/service/neptunegraph/api_op_StartExportTask.go @@ -189,9 +189,6 @@ func (c *Client) addOperationStartExportTaskMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartExportTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunegraph/api_op_StartImportTask.go b/service/neptunegraph/api_op_StartImportTask.go index 2c7e9f72456..a6718e66abb 100644 --- a/service/neptunegraph/api_op_StartImportTask.go +++ b/service/neptunegraph/api_op_StartImportTask.go @@ -186,9 +186,6 @@ func (c *Client) addOperationStartImportTaskMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartImportTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunegraph/api_op_TagResource.go b/service/neptunegraph/api_op_TagResource.go index 79a8beffc00..fa3d48399b5 100644 --- a/service/neptunegraph/api_op_TagResource.go +++ b/service/neptunegraph/api_op_TagResource.go @@ -130,9 +130,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunegraph/api_op_UntagResource.go b/service/neptunegraph/api_op_UntagResource.go index 3e02e8ac695..2dafc00cfda 100644 --- a/service/neptunegraph/api_op_UntagResource.go +++ b/service/neptunegraph/api_op_UntagResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunegraph/api_op_UpdateGraph.go b/service/neptunegraph/api_op_UpdateGraph.go index 476111ee611..dc8da9d2e75 100644 --- a/service/neptunegraph/api_op_UpdateGraph.go +++ b/service/neptunegraph/api_op_UpdateGraph.go @@ -183,9 +183,6 @@ func (c *Client) addOperationUpdateGraphMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateGraphValidationMiddleware(stack); err != nil { return err } diff --git a/service/neptunegraph/snapshot/api_op_CancelExportTask.go.snap b/service/neptunegraph/snapshot/api_op_CancelExportTask.go.snap index bfe84b37bba..e3777470e3e 100644 --- a/service/neptunegraph/snapshot/api_op_CancelExportTask.go.snap +++ b/service/neptunegraph/snapshot/api_op_CancelExportTask.go.snap @@ -14,7 +14,6 @@ CancelExportTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunegraph/snapshot/api_op_CancelImportTask.go.snap b/service/neptunegraph/snapshot/api_op_CancelImportTask.go.snap index ee2c5e1f1ff..f78f2bbdc28 100644 --- a/service/neptunegraph/snapshot/api_op_CancelImportTask.go.snap +++ b/service/neptunegraph/snapshot/api_op_CancelImportTask.go.snap @@ -14,7 +14,6 @@ CancelImportTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunegraph/snapshot/api_op_CancelQuery.go.snap b/service/neptunegraph/snapshot/api_op_CancelQuery.go.snap index bf368417278..844d86e9a2b 100644 --- a/service/neptunegraph/snapshot/api_op_CancelQuery.go.snap +++ b/service/neptunegraph/snapshot/api_op_CancelQuery.go.snap @@ -14,7 +14,6 @@ CancelQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunegraph/snapshot/api_op_CreateGraph.go.snap b/service/neptunegraph/snapshot/api_op_CreateGraph.go.snap index fe29d186aa2..be12bb3aa0c 100644 --- a/service/neptunegraph/snapshot/api_op_CreateGraph.go.snap +++ b/service/neptunegraph/snapshot/api_op_CreateGraph.go.snap @@ -14,7 +14,6 @@ CreateGraph Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunegraph/snapshot/api_op_CreateGraphSnapshot.go.snap b/service/neptunegraph/snapshot/api_op_CreateGraphSnapshot.go.snap index 622558f92f4..ade7a7ae8b1 100644 --- a/service/neptunegraph/snapshot/api_op_CreateGraphSnapshot.go.snap +++ b/service/neptunegraph/snapshot/api_op_CreateGraphSnapshot.go.snap @@ -14,7 +14,6 @@ CreateGraphSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunegraph/snapshot/api_op_CreateGraphUsingImportTask.go.snap b/service/neptunegraph/snapshot/api_op_CreateGraphUsingImportTask.go.snap index 1cadfa180e2..d6db3d280fd 100644 --- a/service/neptunegraph/snapshot/api_op_CreateGraphUsingImportTask.go.snap +++ b/service/neptunegraph/snapshot/api_op_CreateGraphUsingImportTask.go.snap @@ -14,7 +14,6 @@ CreateGraphUsingImportTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunegraph/snapshot/api_op_CreatePrivateGraphEndpoint.go.snap b/service/neptunegraph/snapshot/api_op_CreatePrivateGraphEndpoint.go.snap index f015a538676..e2bf6926d3b 100644 --- a/service/neptunegraph/snapshot/api_op_CreatePrivateGraphEndpoint.go.snap +++ b/service/neptunegraph/snapshot/api_op_CreatePrivateGraphEndpoint.go.snap @@ -14,7 +14,6 @@ CreatePrivateGraphEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunegraph/snapshot/api_op_DeleteGraph.go.snap b/service/neptunegraph/snapshot/api_op_DeleteGraph.go.snap index c7f1d3184cb..90dad595656 100644 --- a/service/neptunegraph/snapshot/api_op_DeleteGraph.go.snap +++ b/service/neptunegraph/snapshot/api_op_DeleteGraph.go.snap @@ -14,7 +14,6 @@ DeleteGraph Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunegraph/snapshot/api_op_DeleteGraphSnapshot.go.snap b/service/neptunegraph/snapshot/api_op_DeleteGraphSnapshot.go.snap index 8c5353212d6..b7361a07485 100644 --- a/service/neptunegraph/snapshot/api_op_DeleteGraphSnapshot.go.snap +++ b/service/neptunegraph/snapshot/api_op_DeleteGraphSnapshot.go.snap @@ -14,7 +14,6 @@ DeleteGraphSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunegraph/snapshot/api_op_DeletePrivateGraphEndpoint.go.snap b/service/neptunegraph/snapshot/api_op_DeletePrivateGraphEndpoint.go.snap index 5499f7d6943..cedb991fd02 100644 --- a/service/neptunegraph/snapshot/api_op_DeletePrivateGraphEndpoint.go.snap +++ b/service/neptunegraph/snapshot/api_op_DeletePrivateGraphEndpoint.go.snap @@ -14,7 +14,6 @@ DeletePrivateGraphEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunegraph/snapshot/api_op_ExecuteQuery.go.snap b/service/neptunegraph/snapshot/api_op_ExecuteQuery.go.snap index 7df55c68560..40e6d2200aa 100644 --- a/service/neptunegraph/snapshot/api_op_ExecuteQuery.go.snap +++ b/service/neptunegraph/snapshot/api_op_ExecuteQuery.go.snap @@ -14,7 +14,6 @@ ExecuteQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunegraph/snapshot/api_op_GetExportTask.go.snap b/service/neptunegraph/snapshot/api_op_GetExportTask.go.snap index c183121df79..3b6f1d70424 100644 --- a/service/neptunegraph/snapshot/api_op_GetExportTask.go.snap +++ b/service/neptunegraph/snapshot/api_op_GetExportTask.go.snap @@ -14,7 +14,6 @@ GetExportTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunegraph/snapshot/api_op_GetGraph.go.snap b/service/neptunegraph/snapshot/api_op_GetGraph.go.snap index bccc76c203f..fcef23e3f05 100644 --- a/service/neptunegraph/snapshot/api_op_GetGraph.go.snap +++ b/service/neptunegraph/snapshot/api_op_GetGraph.go.snap @@ -14,7 +14,6 @@ GetGraph Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunegraph/snapshot/api_op_GetGraphSnapshot.go.snap b/service/neptunegraph/snapshot/api_op_GetGraphSnapshot.go.snap index b34d4fe961b..cc1e3b16a68 100644 --- a/service/neptunegraph/snapshot/api_op_GetGraphSnapshot.go.snap +++ b/service/neptunegraph/snapshot/api_op_GetGraphSnapshot.go.snap @@ -14,7 +14,6 @@ GetGraphSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunegraph/snapshot/api_op_GetGraphSummary.go.snap b/service/neptunegraph/snapshot/api_op_GetGraphSummary.go.snap index 30ebdf97a4b..d330f3c64c8 100644 --- a/service/neptunegraph/snapshot/api_op_GetGraphSummary.go.snap +++ b/service/neptunegraph/snapshot/api_op_GetGraphSummary.go.snap @@ -14,7 +14,6 @@ GetGraphSummary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunegraph/snapshot/api_op_GetImportTask.go.snap b/service/neptunegraph/snapshot/api_op_GetImportTask.go.snap index 22fdc10682b..b86234876d5 100644 --- a/service/neptunegraph/snapshot/api_op_GetImportTask.go.snap +++ b/service/neptunegraph/snapshot/api_op_GetImportTask.go.snap @@ -14,7 +14,6 @@ GetImportTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunegraph/snapshot/api_op_GetPrivateGraphEndpoint.go.snap b/service/neptunegraph/snapshot/api_op_GetPrivateGraphEndpoint.go.snap index e634f875368..6d0b8d92426 100644 --- a/service/neptunegraph/snapshot/api_op_GetPrivateGraphEndpoint.go.snap +++ b/service/neptunegraph/snapshot/api_op_GetPrivateGraphEndpoint.go.snap @@ -14,7 +14,6 @@ GetPrivateGraphEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunegraph/snapshot/api_op_GetQuery.go.snap b/service/neptunegraph/snapshot/api_op_GetQuery.go.snap index 2991df651e9..d96fb671a85 100644 --- a/service/neptunegraph/snapshot/api_op_GetQuery.go.snap +++ b/service/neptunegraph/snapshot/api_op_GetQuery.go.snap @@ -14,7 +14,6 @@ GetQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunegraph/snapshot/api_op_ListExportTasks.go.snap b/service/neptunegraph/snapshot/api_op_ListExportTasks.go.snap index 5276ef7bd04..f3baec06c67 100644 --- a/service/neptunegraph/snapshot/api_op_ListExportTasks.go.snap +++ b/service/neptunegraph/snapshot/api_op_ListExportTasks.go.snap @@ -13,7 +13,6 @@ ListExportTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunegraph/snapshot/api_op_ListGraphSnapshots.go.snap b/service/neptunegraph/snapshot/api_op_ListGraphSnapshots.go.snap index e64b063b16d..56c81167a99 100644 --- a/service/neptunegraph/snapshot/api_op_ListGraphSnapshots.go.snap +++ b/service/neptunegraph/snapshot/api_op_ListGraphSnapshots.go.snap @@ -13,7 +13,6 @@ ListGraphSnapshots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunegraph/snapshot/api_op_ListGraphs.go.snap b/service/neptunegraph/snapshot/api_op_ListGraphs.go.snap index 96fc5299060..b15ce6d1cec 100644 --- a/service/neptunegraph/snapshot/api_op_ListGraphs.go.snap +++ b/service/neptunegraph/snapshot/api_op_ListGraphs.go.snap @@ -13,7 +13,6 @@ ListGraphs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunegraph/snapshot/api_op_ListImportTasks.go.snap b/service/neptunegraph/snapshot/api_op_ListImportTasks.go.snap index 5bc38d1fe83..22b6f38c7c4 100644 --- a/service/neptunegraph/snapshot/api_op_ListImportTasks.go.snap +++ b/service/neptunegraph/snapshot/api_op_ListImportTasks.go.snap @@ -13,7 +13,6 @@ ListImportTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunegraph/snapshot/api_op_ListPrivateGraphEndpoints.go.snap b/service/neptunegraph/snapshot/api_op_ListPrivateGraphEndpoints.go.snap index 15ed26500da..11c2ab994b0 100644 --- a/service/neptunegraph/snapshot/api_op_ListPrivateGraphEndpoints.go.snap +++ b/service/neptunegraph/snapshot/api_op_ListPrivateGraphEndpoints.go.snap @@ -14,7 +14,6 @@ ListPrivateGraphEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunegraph/snapshot/api_op_ListQueries.go.snap b/service/neptunegraph/snapshot/api_op_ListQueries.go.snap index 8a105884882..c775998ed8e 100644 --- a/service/neptunegraph/snapshot/api_op_ListQueries.go.snap +++ b/service/neptunegraph/snapshot/api_op_ListQueries.go.snap @@ -14,7 +14,6 @@ ListQueries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunegraph/snapshot/api_op_ListTagsForResource.go.snap b/service/neptunegraph/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/neptunegraph/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/neptunegraph/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunegraph/snapshot/api_op_ResetGraph.go.snap b/service/neptunegraph/snapshot/api_op_ResetGraph.go.snap index 15c9642170e..a7720705db6 100644 --- a/service/neptunegraph/snapshot/api_op_ResetGraph.go.snap +++ b/service/neptunegraph/snapshot/api_op_ResetGraph.go.snap @@ -14,7 +14,6 @@ ResetGraph Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunegraph/snapshot/api_op_RestoreGraphFromSnapshot.go.snap b/service/neptunegraph/snapshot/api_op_RestoreGraphFromSnapshot.go.snap index 108ba343b85..08ca25658bb 100644 --- a/service/neptunegraph/snapshot/api_op_RestoreGraphFromSnapshot.go.snap +++ b/service/neptunegraph/snapshot/api_op_RestoreGraphFromSnapshot.go.snap @@ -14,7 +14,6 @@ RestoreGraphFromSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunegraph/snapshot/api_op_StartExportTask.go.snap b/service/neptunegraph/snapshot/api_op_StartExportTask.go.snap index 372f83d4d85..7cb5950c4fa 100644 --- a/service/neptunegraph/snapshot/api_op_StartExportTask.go.snap +++ b/service/neptunegraph/snapshot/api_op_StartExportTask.go.snap @@ -14,7 +14,6 @@ StartExportTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunegraph/snapshot/api_op_StartImportTask.go.snap b/service/neptunegraph/snapshot/api_op_StartImportTask.go.snap index b07fcad88de..e30d789a869 100644 --- a/service/neptunegraph/snapshot/api_op_StartImportTask.go.snap +++ b/service/neptunegraph/snapshot/api_op_StartImportTask.go.snap @@ -14,7 +14,6 @@ StartImportTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunegraph/snapshot/api_op_TagResource.go.snap b/service/neptunegraph/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/neptunegraph/snapshot/api_op_TagResource.go.snap +++ b/service/neptunegraph/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunegraph/snapshot/api_op_UntagResource.go.snap b/service/neptunegraph/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/neptunegraph/snapshot/api_op_UntagResource.go.snap +++ b/service/neptunegraph/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/neptunegraph/snapshot/api_op_UpdateGraph.go.snap b/service/neptunegraph/snapshot/api_op_UpdateGraph.go.snap index 183d293f4af..0c738468190 100644 --- a/service/neptunegraph/snapshot/api_op_UpdateGraph.go.snap +++ b/service/neptunegraph/snapshot/api_op_UpdateGraph.go.snap @@ -14,7 +14,6 @@ UpdateGraph Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/api_client.go b/service/networkfirewall/api_client.go index e7c67c25af6..1b68055fb07 100644 --- a/service/networkfirewall/api_client.go +++ b/service/networkfirewall/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/networkfirewall/api_op_AssociateFirewallPolicy.go b/service/networkfirewall/api_op_AssociateFirewallPolicy.go index 3376ae5e382..ae7bfb8b639 100644 --- a/service/networkfirewall/api_op_AssociateFirewallPolicy.go +++ b/service/networkfirewall/api_op_AssociateFirewallPolicy.go @@ -166,9 +166,6 @@ func (c *Client) addOperationAssociateFirewallPolicyMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateFirewallPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_AssociateSubnets.go b/service/networkfirewall/api_op_AssociateSubnets.go index f295a628ad6..e3afbbd4283 100644 --- a/service/networkfirewall/api_op_AssociateSubnets.go +++ b/service/networkfirewall/api_op_AssociateSubnets.go @@ -168,9 +168,6 @@ func (c *Client) addOperationAssociateSubnetsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateSubnetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_CreateFirewall.go b/service/networkfirewall/api_op_CreateFirewall.go index 55c11f32d85..d43f1b343d1 100644 --- a/service/networkfirewall/api_op_CreateFirewall.go +++ b/service/networkfirewall/api_op_CreateFirewall.go @@ -184,9 +184,6 @@ func (c *Client) addOperationCreateFirewallMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFirewallValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_CreateFirewallPolicy.go b/service/networkfirewall/api_op_CreateFirewallPolicy.go index fbb1f73e56d..451c3328a0d 100644 --- a/service/networkfirewall/api_op_CreateFirewallPolicy.go +++ b/service/networkfirewall/api_op_CreateFirewallPolicy.go @@ -163,9 +163,6 @@ func (c *Client) addOperationCreateFirewallPolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFirewallPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_CreateRuleGroup.go b/service/networkfirewall/api_op_CreateRuleGroup.go index 40586a493fe..c70a8fe9d37 100644 --- a/service/networkfirewall/api_op_CreateRuleGroup.go +++ b/service/networkfirewall/api_op_CreateRuleGroup.go @@ -238,9 +238,6 @@ func (c *Client) addOperationCreateRuleGroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRuleGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_CreateTLSInspectionConfiguration.go b/service/networkfirewall/api_op_CreateTLSInspectionConfiguration.go index 30eb13d858c..34a351ed62d 100644 --- a/service/networkfirewall/api_op_CreateTLSInspectionConfiguration.go +++ b/service/networkfirewall/api_op_CreateTLSInspectionConfiguration.go @@ -189,9 +189,6 @@ func (c *Client) addOperationCreateTLSInspectionConfigurationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTLSInspectionConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_DeleteFirewall.go b/service/networkfirewall/api_op_DeleteFirewall.go index e7919e16e7e..ff9f8721a70 100644 --- a/service/networkfirewall/api_op_DeleteFirewall.go +++ b/service/networkfirewall/api_op_DeleteFirewall.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDeleteFirewallMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFirewall(options.Region), middleware.Before); err != nil { return err } diff --git a/service/networkfirewall/api_op_DeleteFirewallPolicy.go b/service/networkfirewall/api_op_DeleteFirewallPolicy.go index 57a9e12a79a..0b9c5301405 100644 --- a/service/networkfirewall/api_op_DeleteFirewallPolicy.go +++ b/service/networkfirewall/api_op_DeleteFirewallPolicy.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteFirewallPolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteFirewallPolicy(options.Region), middleware.Before); err != nil { return err } diff --git a/service/networkfirewall/api_op_DeleteResourcePolicy.go b/service/networkfirewall/api_op_DeleteResourcePolicy.go index 1c65b6782af..678b1b24f24 100644 --- a/service/networkfirewall/api_op_DeleteResourcePolicy.go +++ b/service/networkfirewall/api_op_DeleteResourcePolicy.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_DeleteRuleGroup.go b/service/networkfirewall/api_op_DeleteRuleGroup.go index 0bcf0a4cea5..52de9af308d 100644 --- a/service/networkfirewall/api_op_DeleteRuleGroup.go +++ b/service/networkfirewall/api_op_DeleteRuleGroup.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteRuleGroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRuleGroup(options.Region), middleware.Before); err != nil { return err } diff --git a/service/networkfirewall/api_op_DeleteTLSInspectionConfiguration.go b/service/networkfirewall/api_op_DeleteTLSInspectionConfiguration.go index ff1b40fbe93..da39aba78e1 100644 --- a/service/networkfirewall/api_op_DeleteTLSInspectionConfiguration.go +++ b/service/networkfirewall/api_op_DeleteTLSInspectionConfiguration.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteTLSInspectionConfigurationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTLSInspectionConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/networkfirewall/api_op_DescribeFirewall.go b/service/networkfirewall/api_op_DescribeFirewall.go index aad3b56d0e9..479ea1f540e 100644 --- a/service/networkfirewall/api_op_DescribeFirewall.go +++ b/service/networkfirewall/api_op_DescribeFirewall.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDescribeFirewallMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFirewall(options.Region), middleware.Before); err != nil { return err } diff --git a/service/networkfirewall/api_op_DescribeFirewallPolicy.go b/service/networkfirewall/api_op_DescribeFirewallPolicy.go index 32a15802322..727e08d09a5 100644 --- a/service/networkfirewall/api_op_DescribeFirewallPolicy.go +++ b/service/networkfirewall/api_op_DescribeFirewallPolicy.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDescribeFirewallPolicyMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeFirewallPolicy(options.Region), middleware.Before); err != nil { return err } diff --git a/service/networkfirewall/api_op_DescribeLoggingConfiguration.go b/service/networkfirewall/api_op_DescribeLoggingConfiguration.go index f6c1a822ea6..f38402519cc 100644 --- a/service/networkfirewall/api_op_DescribeLoggingConfiguration.go +++ b/service/networkfirewall/api_op_DescribeLoggingConfiguration.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeLoggingConfigurationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLoggingConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/networkfirewall/api_op_DescribeResourcePolicy.go b/service/networkfirewall/api_op_DescribeResourcePolicy.go index 4db5e728d02..f23335df131 100644 --- a/service/networkfirewall/api_op_DescribeResourcePolicy.go +++ b/service/networkfirewall/api_op_DescribeResourcePolicy.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDescribeResourcePolicyMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_DescribeRuleGroup.go b/service/networkfirewall/api_op_DescribeRuleGroup.go index 28416d198d9..290a209e894 100644 --- a/service/networkfirewall/api_op_DescribeRuleGroup.go +++ b/service/networkfirewall/api_op_DescribeRuleGroup.go @@ -160,9 +160,6 @@ func (c *Client) addOperationDescribeRuleGroupMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRuleGroup(options.Region), middleware.Before); err != nil { return err } diff --git a/service/networkfirewall/api_op_DescribeRuleGroupMetadata.go b/service/networkfirewall/api_op_DescribeRuleGroupMetadata.go index 11a97227f93..fcf78ac4978 100644 --- a/service/networkfirewall/api_op_DescribeRuleGroupMetadata.go +++ b/service/networkfirewall/api_op_DescribeRuleGroupMetadata.go @@ -169,9 +169,6 @@ func (c *Client) addOperationDescribeRuleGroupMetadataMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRuleGroupMetadata(options.Region), middleware.Before); err != nil { return err } diff --git a/service/networkfirewall/api_op_DescribeTLSInspectionConfiguration.go b/service/networkfirewall/api_op_DescribeTLSInspectionConfiguration.go index 2de13650561..925fad05883 100644 --- a/service/networkfirewall/api_op_DescribeTLSInspectionConfiguration.go +++ b/service/networkfirewall/api_op_DescribeTLSInspectionConfiguration.go @@ -155,9 +155,6 @@ func (c *Client) addOperationDescribeTLSInspectionConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTLSInspectionConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/networkfirewall/api_op_DisassociateSubnets.go b/service/networkfirewall/api_op_DisassociateSubnets.go index ecc1259a1f2..d63d67a42d8 100644 --- a/service/networkfirewall/api_op_DisassociateSubnets.go +++ b/service/networkfirewall/api_op_DisassociateSubnets.go @@ -164,9 +164,6 @@ func (c *Client) addOperationDisassociateSubnetsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateSubnetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_ListFirewallPolicies.go b/service/networkfirewall/api_op_ListFirewallPolicies.go index db2c15952e1..c59f1ba48bd 100644 --- a/service/networkfirewall/api_op_ListFirewallPolicies.go +++ b/service/networkfirewall/api_op_ListFirewallPolicies.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListFirewallPoliciesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFirewallPolicies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/networkfirewall/api_op_ListFirewalls.go b/service/networkfirewall/api_op_ListFirewalls.go index accce27155d..aa0d984ddff 100644 --- a/service/networkfirewall/api_op_ListFirewalls.go +++ b/service/networkfirewall/api_op_ListFirewalls.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListFirewallsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFirewalls(options.Region), middleware.Before); err != nil { return err } diff --git a/service/networkfirewall/api_op_ListRuleGroups.go b/service/networkfirewall/api_op_ListRuleGroups.go index daa461eb8b9..014b73ac60c 100644 --- a/service/networkfirewall/api_op_ListRuleGroups.go +++ b/service/networkfirewall/api_op_ListRuleGroups.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListRuleGroupsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRuleGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/networkfirewall/api_op_ListTLSInspectionConfigurations.go b/service/networkfirewall/api_op_ListTLSInspectionConfigurations.go index f78c91acb0a..82123727b88 100644 --- a/service/networkfirewall/api_op_ListTLSInspectionConfigurations.go +++ b/service/networkfirewall/api_op_ListTLSInspectionConfigurations.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListTLSInspectionConfigurationsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTLSInspectionConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/networkfirewall/api_op_ListTagsForResource.go b/service/networkfirewall/api_op_ListTagsForResource.go index bf845f53a1b..aaae8db6e6e 100644 --- a/service/networkfirewall/api_op_ListTagsForResource.go +++ b/service/networkfirewall/api_op_ListTagsForResource.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_PutResourcePolicy.go b/service/networkfirewall/api_op_PutResourcePolicy.go index 0a0870af565..4cda7babcad 100644 --- a/service/networkfirewall/api_op_PutResourcePolicy.go +++ b/service/networkfirewall/api_op_PutResourcePolicy.go @@ -160,9 +160,6 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_TagResource.go b/service/networkfirewall/api_op_TagResource.go index 863be8a630e..9e1b6510054 100644 --- a/service/networkfirewall/api_op_TagResource.go +++ b/service/networkfirewall/api_op_TagResource.go @@ -120,9 +120,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_UntagResource.go b/service/networkfirewall/api_op_UntagResource.go index 2243473a310..932462cdc69 100644 --- a/service/networkfirewall/api_op_UntagResource.go +++ b/service/networkfirewall/api_op_UntagResource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_UpdateFirewallDeleteProtection.go b/service/networkfirewall/api_op_UpdateFirewallDeleteProtection.go index 69bed4b4414..5551ff67176 100644 --- a/service/networkfirewall/api_op_UpdateFirewallDeleteProtection.go +++ b/service/networkfirewall/api_op_UpdateFirewallDeleteProtection.go @@ -170,9 +170,6 @@ func (c *Client) addOperationUpdateFirewallDeleteProtectionMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFirewallDeleteProtectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_UpdateFirewallDescription.go b/service/networkfirewall/api_op_UpdateFirewallDescription.go index 7c13b02186b..ff9d9b2707e 100644 --- a/service/networkfirewall/api_op_UpdateFirewallDescription.go +++ b/service/networkfirewall/api_op_UpdateFirewallDescription.go @@ -161,9 +161,6 @@ func (c *Client) addOperationUpdateFirewallDescriptionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateFirewallDescription(options.Region), middleware.Before); err != nil { return err } diff --git a/service/networkfirewall/api_op_UpdateFirewallEncryptionConfiguration.go b/service/networkfirewall/api_op_UpdateFirewallEncryptionConfiguration.go index 2e587d562f3..c0412800f6a 100644 --- a/service/networkfirewall/api_op_UpdateFirewallEncryptionConfiguration.go +++ b/service/networkfirewall/api_op_UpdateFirewallEncryptionConfiguration.go @@ -172,9 +172,6 @@ func (c *Client) addOperationUpdateFirewallEncryptionConfigurationMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFirewallEncryptionConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_UpdateFirewallPolicy.go b/service/networkfirewall/api_op_UpdateFirewallPolicy.go index e831096c8c9..c57f3364785 100644 --- a/service/networkfirewall/api_op_UpdateFirewallPolicy.go +++ b/service/networkfirewall/api_op_UpdateFirewallPolicy.go @@ -177,9 +177,6 @@ func (c *Client) addOperationUpdateFirewallPolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFirewallPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_UpdateFirewallPolicyChangeProtection.go b/service/networkfirewall/api_op_UpdateFirewallPolicyChangeProtection.go index 83f79759383..2c5cac3bfc5 100644 --- a/service/networkfirewall/api_op_UpdateFirewallPolicyChangeProtection.go +++ b/service/networkfirewall/api_op_UpdateFirewallPolicyChangeProtection.go @@ -170,9 +170,6 @@ func (c *Client) addOperationUpdateFirewallPolicyChangeProtectionMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFirewallPolicyChangeProtectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_UpdateLoggingConfiguration.go b/service/networkfirewall/api_op_UpdateLoggingConfiguration.go index b8356a27676..e6a7b9387b8 100644 --- a/service/networkfirewall/api_op_UpdateLoggingConfiguration.go +++ b/service/networkfirewall/api_op_UpdateLoggingConfiguration.go @@ -149,9 +149,6 @@ func (c *Client) addOperationUpdateLoggingConfigurationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLoggingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_UpdateRuleGroup.go b/service/networkfirewall/api_op_UpdateRuleGroup.go index 7c2f28e8ca5..978d9b0d163 100644 --- a/service/networkfirewall/api_op_UpdateRuleGroup.go +++ b/service/networkfirewall/api_op_UpdateRuleGroup.go @@ -212,9 +212,6 @@ func (c *Client) addOperationUpdateRuleGroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRuleGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_UpdateSubnetChangeProtection.go b/service/networkfirewall/api_op_UpdateSubnetChangeProtection.go index dcf60aefd96..25f8d531f3e 100644 --- a/service/networkfirewall/api_op_UpdateSubnetChangeProtection.go +++ b/service/networkfirewall/api_op_UpdateSubnetChangeProtection.go @@ -166,9 +166,6 @@ func (c *Client) addOperationUpdateSubnetChangeProtectionMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSubnetChangeProtectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/api_op_UpdateTLSInspectionConfiguration.go b/service/networkfirewall/api_op_UpdateTLSInspectionConfiguration.go index a6991929219..6104cbbf38b 100644 --- a/service/networkfirewall/api_op_UpdateTLSInspectionConfiguration.go +++ b/service/networkfirewall/api_op_UpdateTLSInspectionConfiguration.go @@ -183,9 +183,6 @@ func (c *Client) addOperationUpdateTLSInspectionConfigurationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTLSInspectionConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkfirewall/snapshot/api_op_AssociateFirewallPolicy.go.snap b/service/networkfirewall/snapshot/api_op_AssociateFirewallPolicy.go.snap index 3d795588a7e..2e520ec2efe 100644 --- a/service/networkfirewall/snapshot/api_op_AssociateFirewallPolicy.go.snap +++ b/service/networkfirewall/snapshot/api_op_AssociateFirewallPolicy.go.snap @@ -14,7 +14,6 @@ AssociateFirewallPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_AssociateSubnets.go.snap b/service/networkfirewall/snapshot/api_op_AssociateSubnets.go.snap index fcf61f99366..2834c0d319f 100644 --- a/service/networkfirewall/snapshot/api_op_AssociateSubnets.go.snap +++ b/service/networkfirewall/snapshot/api_op_AssociateSubnets.go.snap @@ -14,7 +14,6 @@ AssociateSubnets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_CreateFirewall.go.snap b/service/networkfirewall/snapshot/api_op_CreateFirewall.go.snap index 37c2e1589da..3153b1feaea 100644 --- a/service/networkfirewall/snapshot/api_op_CreateFirewall.go.snap +++ b/service/networkfirewall/snapshot/api_op_CreateFirewall.go.snap @@ -14,7 +14,6 @@ CreateFirewall Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_CreateFirewallPolicy.go.snap b/service/networkfirewall/snapshot/api_op_CreateFirewallPolicy.go.snap index 9a1299edba4..6413d14a511 100644 --- a/service/networkfirewall/snapshot/api_op_CreateFirewallPolicy.go.snap +++ b/service/networkfirewall/snapshot/api_op_CreateFirewallPolicy.go.snap @@ -14,7 +14,6 @@ CreateFirewallPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_CreateRuleGroup.go.snap b/service/networkfirewall/snapshot/api_op_CreateRuleGroup.go.snap index 108ec0e0bc3..8bcaa33c0da 100644 --- a/service/networkfirewall/snapshot/api_op_CreateRuleGroup.go.snap +++ b/service/networkfirewall/snapshot/api_op_CreateRuleGroup.go.snap @@ -14,7 +14,6 @@ CreateRuleGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_CreateTLSInspectionConfiguration.go.snap b/service/networkfirewall/snapshot/api_op_CreateTLSInspectionConfiguration.go.snap index fe7cd2f4c6a..d21ef2b0dfd 100644 --- a/service/networkfirewall/snapshot/api_op_CreateTLSInspectionConfiguration.go.snap +++ b/service/networkfirewall/snapshot/api_op_CreateTLSInspectionConfiguration.go.snap @@ -14,7 +14,6 @@ CreateTLSInspectionConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_DeleteFirewall.go.snap b/service/networkfirewall/snapshot/api_op_DeleteFirewall.go.snap index 22c29ff8536..907b0dfbdd7 100644 --- a/service/networkfirewall/snapshot/api_op_DeleteFirewall.go.snap +++ b/service/networkfirewall/snapshot/api_op_DeleteFirewall.go.snap @@ -13,7 +13,6 @@ DeleteFirewall Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_DeleteFirewallPolicy.go.snap b/service/networkfirewall/snapshot/api_op_DeleteFirewallPolicy.go.snap index 89e54dda7e3..4d3dcbe4702 100644 --- a/service/networkfirewall/snapshot/api_op_DeleteFirewallPolicy.go.snap +++ b/service/networkfirewall/snapshot/api_op_DeleteFirewallPolicy.go.snap @@ -13,7 +13,6 @@ DeleteFirewallPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_DeleteResourcePolicy.go.snap b/service/networkfirewall/snapshot/api_op_DeleteResourcePolicy.go.snap index 21dbc8dfcde..9948d797360 100644 --- a/service/networkfirewall/snapshot/api_op_DeleteResourcePolicy.go.snap +++ b/service/networkfirewall/snapshot/api_op_DeleteResourcePolicy.go.snap @@ -14,7 +14,6 @@ DeleteResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_DeleteRuleGroup.go.snap b/service/networkfirewall/snapshot/api_op_DeleteRuleGroup.go.snap index ad8a0557d9a..d0dc22b142c 100644 --- a/service/networkfirewall/snapshot/api_op_DeleteRuleGroup.go.snap +++ b/service/networkfirewall/snapshot/api_op_DeleteRuleGroup.go.snap @@ -13,7 +13,6 @@ DeleteRuleGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_DeleteTLSInspectionConfiguration.go.snap b/service/networkfirewall/snapshot/api_op_DeleteTLSInspectionConfiguration.go.snap index e7918bba473..5a8e82db336 100644 --- a/service/networkfirewall/snapshot/api_op_DeleteTLSInspectionConfiguration.go.snap +++ b/service/networkfirewall/snapshot/api_op_DeleteTLSInspectionConfiguration.go.snap @@ -13,7 +13,6 @@ DeleteTLSInspectionConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_DescribeFirewall.go.snap b/service/networkfirewall/snapshot/api_op_DescribeFirewall.go.snap index 20210fce3b4..59be54e91c7 100644 --- a/service/networkfirewall/snapshot/api_op_DescribeFirewall.go.snap +++ b/service/networkfirewall/snapshot/api_op_DescribeFirewall.go.snap @@ -13,7 +13,6 @@ DescribeFirewall Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_DescribeFirewallPolicy.go.snap b/service/networkfirewall/snapshot/api_op_DescribeFirewallPolicy.go.snap index 70a17cd5b3d..3ae807562b5 100644 --- a/service/networkfirewall/snapshot/api_op_DescribeFirewallPolicy.go.snap +++ b/service/networkfirewall/snapshot/api_op_DescribeFirewallPolicy.go.snap @@ -13,7 +13,6 @@ DescribeFirewallPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_DescribeLoggingConfiguration.go.snap b/service/networkfirewall/snapshot/api_op_DescribeLoggingConfiguration.go.snap index c2c287dbbfe..0be3ed92b98 100644 --- a/service/networkfirewall/snapshot/api_op_DescribeLoggingConfiguration.go.snap +++ b/service/networkfirewall/snapshot/api_op_DescribeLoggingConfiguration.go.snap @@ -13,7 +13,6 @@ DescribeLoggingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_DescribeResourcePolicy.go.snap b/service/networkfirewall/snapshot/api_op_DescribeResourcePolicy.go.snap index 4522eae3833..5483931eded 100644 --- a/service/networkfirewall/snapshot/api_op_DescribeResourcePolicy.go.snap +++ b/service/networkfirewall/snapshot/api_op_DescribeResourcePolicy.go.snap @@ -14,7 +14,6 @@ DescribeResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_DescribeRuleGroup.go.snap b/service/networkfirewall/snapshot/api_op_DescribeRuleGroup.go.snap index 05e35395e98..ce69c320522 100644 --- a/service/networkfirewall/snapshot/api_op_DescribeRuleGroup.go.snap +++ b/service/networkfirewall/snapshot/api_op_DescribeRuleGroup.go.snap @@ -13,7 +13,6 @@ DescribeRuleGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_DescribeRuleGroupMetadata.go.snap b/service/networkfirewall/snapshot/api_op_DescribeRuleGroupMetadata.go.snap index 1cf93192854..85ef80e98da 100644 --- a/service/networkfirewall/snapshot/api_op_DescribeRuleGroupMetadata.go.snap +++ b/service/networkfirewall/snapshot/api_op_DescribeRuleGroupMetadata.go.snap @@ -13,7 +13,6 @@ DescribeRuleGroupMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_DescribeTLSInspectionConfiguration.go.snap b/service/networkfirewall/snapshot/api_op_DescribeTLSInspectionConfiguration.go.snap index 6cfe3b9e33e..62030282ff3 100644 --- a/service/networkfirewall/snapshot/api_op_DescribeTLSInspectionConfiguration.go.snap +++ b/service/networkfirewall/snapshot/api_op_DescribeTLSInspectionConfiguration.go.snap @@ -13,7 +13,6 @@ DescribeTLSInspectionConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_DisassociateSubnets.go.snap b/service/networkfirewall/snapshot/api_op_DisassociateSubnets.go.snap index bfc22560fb9..2b1d1113cf5 100644 --- a/service/networkfirewall/snapshot/api_op_DisassociateSubnets.go.snap +++ b/service/networkfirewall/snapshot/api_op_DisassociateSubnets.go.snap @@ -14,7 +14,6 @@ DisassociateSubnets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_ListFirewallPolicies.go.snap b/service/networkfirewall/snapshot/api_op_ListFirewallPolicies.go.snap index 3a3745a13e6..748a363b9d9 100644 --- a/service/networkfirewall/snapshot/api_op_ListFirewallPolicies.go.snap +++ b/service/networkfirewall/snapshot/api_op_ListFirewallPolicies.go.snap @@ -13,7 +13,6 @@ ListFirewallPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_ListFirewalls.go.snap b/service/networkfirewall/snapshot/api_op_ListFirewalls.go.snap index 79b9dc57898..5d2ff503e65 100644 --- a/service/networkfirewall/snapshot/api_op_ListFirewalls.go.snap +++ b/service/networkfirewall/snapshot/api_op_ListFirewalls.go.snap @@ -13,7 +13,6 @@ ListFirewalls Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_ListRuleGroups.go.snap b/service/networkfirewall/snapshot/api_op_ListRuleGroups.go.snap index 0d7977c95b5..ccb082203e7 100644 --- a/service/networkfirewall/snapshot/api_op_ListRuleGroups.go.snap +++ b/service/networkfirewall/snapshot/api_op_ListRuleGroups.go.snap @@ -13,7 +13,6 @@ ListRuleGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_ListTLSInspectionConfigurations.go.snap b/service/networkfirewall/snapshot/api_op_ListTLSInspectionConfigurations.go.snap index 790aeb300e2..53fa1e6ac1d 100644 --- a/service/networkfirewall/snapshot/api_op_ListTLSInspectionConfigurations.go.snap +++ b/service/networkfirewall/snapshot/api_op_ListTLSInspectionConfigurations.go.snap @@ -13,7 +13,6 @@ ListTLSInspectionConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_ListTagsForResource.go.snap b/service/networkfirewall/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/networkfirewall/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/networkfirewall/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_PutResourcePolicy.go.snap b/service/networkfirewall/snapshot/api_op_PutResourcePolicy.go.snap index 30530b1514f..47bad3fad0e 100644 --- a/service/networkfirewall/snapshot/api_op_PutResourcePolicy.go.snap +++ b/service/networkfirewall/snapshot/api_op_PutResourcePolicy.go.snap @@ -14,7 +14,6 @@ PutResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_TagResource.go.snap b/service/networkfirewall/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/networkfirewall/snapshot/api_op_TagResource.go.snap +++ b/service/networkfirewall/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_UntagResource.go.snap b/service/networkfirewall/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/networkfirewall/snapshot/api_op_UntagResource.go.snap +++ b/service/networkfirewall/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_UpdateFirewallDeleteProtection.go.snap b/service/networkfirewall/snapshot/api_op_UpdateFirewallDeleteProtection.go.snap index 391f7ca26a8..7b13943682b 100644 --- a/service/networkfirewall/snapshot/api_op_UpdateFirewallDeleteProtection.go.snap +++ b/service/networkfirewall/snapshot/api_op_UpdateFirewallDeleteProtection.go.snap @@ -14,7 +14,6 @@ UpdateFirewallDeleteProtection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_UpdateFirewallDescription.go.snap b/service/networkfirewall/snapshot/api_op_UpdateFirewallDescription.go.snap index 335a4416522..67462fe94a3 100644 --- a/service/networkfirewall/snapshot/api_op_UpdateFirewallDescription.go.snap +++ b/service/networkfirewall/snapshot/api_op_UpdateFirewallDescription.go.snap @@ -13,7 +13,6 @@ UpdateFirewallDescription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_UpdateFirewallEncryptionConfiguration.go.snap b/service/networkfirewall/snapshot/api_op_UpdateFirewallEncryptionConfiguration.go.snap index 77b826dbd56..718079fee8a 100644 --- a/service/networkfirewall/snapshot/api_op_UpdateFirewallEncryptionConfiguration.go.snap +++ b/service/networkfirewall/snapshot/api_op_UpdateFirewallEncryptionConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateFirewallEncryptionConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_UpdateFirewallPolicy.go.snap b/service/networkfirewall/snapshot/api_op_UpdateFirewallPolicy.go.snap index ee134ae57e9..cbbf245785d 100644 --- a/service/networkfirewall/snapshot/api_op_UpdateFirewallPolicy.go.snap +++ b/service/networkfirewall/snapshot/api_op_UpdateFirewallPolicy.go.snap @@ -14,7 +14,6 @@ UpdateFirewallPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_UpdateFirewallPolicyChangeProtection.go.snap b/service/networkfirewall/snapshot/api_op_UpdateFirewallPolicyChangeProtection.go.snap index e08b8256e83..75f319b5119 100644 --- a/service/networkfirewall/snapshot/api_op_UpdateFirewallPolicyChangeProtection.go.snap +++ b/service/networkfirewall/snapshot/api_op_UpdateFirewallPolicyChangeProtection.go.snap @@ -14,7 +14,6 @@ UpdateFirewallPolicyChangeProtection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_UpdateLoggingConfiguration.go.snap b/service/networkfirewall/snapshot/api_op_UpdateLoggingConfiguration.go.snap index 257ba993b2f..244d9bde557 100644 --- a/service/networkfirewall/snapshot/api_op_UpdateLoggingConfiguration.go.snap +++ b/service/networkfirewall/snapshot/api_op_UpdateLoggingConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateLoggingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_UpdateRuleGroup.go.snap b/service/networkfirewall/snapshot/api_op_UpdateRuleGroup.go.snap index 37b5c4f2ee6..d91ff56f190 100644 --- a/service/networkfirewall/snapshot/api_op_UpdateRuleGroup.go.snap +++ b/service/networkfirewall/snapshot/api_op_UpdateRuleGroup.go.snap @@ -14,7 +14,6 @@ UpdateRuleGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_UpdateSubnetChangeProtection.go.snap b/service/networkfirewall/snapshot/api_op_UpdateSubnetChangeProtection.go.snap index dcf06c2199e..00d9834e1bf 100644 --- a/service/networkfirewall/snapshot/api_op_UpdateSubnetChangeProtection.go.snap +++ b/service/networkfirewall/snapshot/api_op_UpdateSubnetChangeProtection.go.snap @@ -14,7 +14,6 @@ UpdateSubnetChangeProtection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkfirewall/snapshot/api_op_UpdateTLSInspectionConfiguration.go.snap b/service/networkfirewall/snapshot/api_op_UpdateTLSInspectionConfiguration.go.snap index 91ba64419bd..9403623e941 100644 --- a/service/networkfirewall/snapshot/api_op_UpdateTLSInspectionConfiguration.go.snap +++ b/service/networkfirewall/snapshot/api_op_UpdateTLSInspectionConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateTLSInspectionConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkflowmonitor/api_client.go b/service/networkflowmonitor/api_client.go index aea59313e7a..9bc37a10ff1 100644 --- a/service/networkflowmonitor/api_client.go +++ b/service/networkflowmonitor/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/networkflowmonitor/api_op_CreateMonitor.go b/service/networkflowmonitor/api_op_CreateMonitor.go index 1a8e92b8ce6..31d560daacf 100644 --- a/service/networkflowmonitor/api_op_CreateMonitor.go +++ b/service/networkflowmonitor/api_op_CreateMonitor.go @@ -194,9 +194,6 @@ func (c *Client) addOperationCreateMonitorMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateMonitorMiddleware(stack, options); err != nil { return err } diff --git a/service/networkflowmonitor/api_op_CreateScope.go b/service/networkflowmonitor/api_op_CreateScope.go index 279636c7b27..8d52fdbcf12 100644 --- a/service/networkflowmonitor/api_op_CreateScope.go +++ b/service/networkflowmonitor/api_op_CreateScope.go @@ -146,9 +146,6 @@ func (c *Client) addOperationCreateScopeMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateScopeMiddleware(stack, options); err != nil { return err } diff --git a/service/networkflowmonitor/api_op_DeleteMonitor.go b/service/networkflowmonitor/api_op_DeleteMonitor.go index 223113932d6..c9d7e2b4127 100644 --- a/service/networkflowmonitor/api_op_DeleteMonitor.go +++ b/service/networkflowmonitor/api_op_DeleteMonitor.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteMonitorMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMonitorValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkflowmonitor/api_op_DeleteScope.go b/service/networkflowmonitor/api_op_DeleteScope.go index 17cdfc6d58f..cd5379a4bd5 100644 --- a/service/networkflowmonitor/api_op_DeleteScope.go +++ b/service/networkflowmonitor/api_op_DeleteScope.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteScopeMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteScopeValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkflowmonitor/api_op_GetMonitor.go b/service/networkflowmonitor/api_op_GetMonitor.go index db6d83979bb..45c8cb7d7ff 100644 --- a/service/networkflowmonitor/api_op_GetMonitor.go +++ b/service/networkflowmonitor/api_op_GetMonitor.go @@ -160,9 +160,6 @@ func (c *Client) addOperationGetMonitorMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMonitorValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkflowmonitor/api_op_GetQueryResultsMonitorTopContributors.go b/service/networkflowmonitor/api_op_GetQueryResultsMonitorTopContributors.go index d97d7cf77e4..a7305a46971 100644 --- a/service/networkflowmonitor/api_op_GetQueryResultsMonitorTopContributors.go +++ b/service/networkflowmonitor/api_op_GetQueryResultsMonitorTopContributors.go @@ -144,9 +144,6 @@ func (c *Client) addOperationGetQueryResultsMonitorTopContributorsMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetQueryResultsMonitorTopContributorsValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkflowmonitor/api_op_GetQueryResultsWorkloadInsightsTopContributors.go b/service/networkflowmonitor/api_op_GetQueryResultsWorkloadInsightsTopContributors.go index 37ba99a4214..61f753c3ba1 100644 --- a/service/networkflowmonitor/api_op_GetQueryResultsWorkloadInsightsTopContributors.go +++ b/service/networkflowmonitor/api_op_GetQueryResultsWorkloadInsightsTopContributors.go @@ -143,9 +143,6 @@ func (c *Client) addOperationGetQueryResultsWorkloadInsightsTopContributorsMiddl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetQueryResultsWorkloadInsightsTopContributorsValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkflowmonitor/api_op_GetQueryResultsWorkloadInsightsTopContributorsData.go b/service/networkflowmonitor/api_op_GetQueryResultsWorkloadInsightsTopContributorsData.go index 33129b9bc1e..c045b8b6399 100644 --- a/service/networkflowmonitor/api_op_GetQueryResultsWorkloadInsightsTopContributorsData.go +++ b/service/networkflowmonitor/api_op_GetQueryResultsWorkloadInsightsTopContributorsData.go @@ -153,9 +153,6 @@ func (c *Client) addOperationGetQueryResultsWorkloadInsightsTopContributorsDataM if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetQueryResultsWorkloadInsightsTopContributorsDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkflowmonitor/api_op_GetQueryStatusMonitorTopContributors.go b/service/networkflowmonitor/api_op_GetQueryStatusMonitorTopContributors.go index 0b4a355ac19..99d658a861a 100644 --- a/service/networkflowmonitor/api_op_GetQueryStatusMonitorTopContributors.go +++ b/service/networkflowmonitor/api_op_GetQueryStatusMonitorTopContributors.go @@ -141,9 +141,6 @@ func (c *Client) addOperationGetQueryStatusMonitorTopContributorsMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetQueryStatusMonitorTopContributorsValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkflowmonitor/api_op_GetQueryStatusWorkloadInsightsTopContributors.go b/service/networkflowmonitor/api_op_GetQueryStatusWorkloadInsightsTopContributors.go index 64aea691c1f..ce19bab158c 100644 --- a/service/networkflowmonitor/api_op_GetQueryStatusWorkloadInsightsTopContributors.go +++ b/service/networkflowmonitor/api_op_GetQueryStatusWorkloadInsightsTopContributors.go @@ -145,9 +145,6 @@ func (c *Client) addOperationGetQueryStatusWorkloadInsightsTopContributorsMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetQueryStatusWorkloadInsightsTopContributorsValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkflowmonitor/api_op_GetQueryStatusWorkloadInsightsTopContributorsData.go b/service/networkflowmonitor/api_op_GetQueryStatusWorkloadInsightsTopContributorsData.go index 90670db3f38..afdf4704ede 100644 --- a/service/networkflowmonitor/api_op_GetQueryStatusWorkloadInsightsTopContributorsData.go +++ b/service/networkflowmonitor/api_op_GetQueryStatusWorkloadInsightsTopContributorsData.go @@ -147,9 +147,6 @@ func (c *Client) addOperationGetQueryStatusWorkloadInsightsTopContributorsDataMi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetQueryStatusWorkloadInsightsTopContributorsDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkflowmonitor/api_op_GetScope.go b/service/networkflowmonitor/api_op_GetScope.go index ba051114a0d..a3ae6f2fd73 100644 --- a/service/networkflowmonitor/api_op_GetScope.go +++ b/service/networkflowmonitor/api_op_GetScope.go @@ -140,9 +140,6 @@ func (c *Client) addOperationGetScopeMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetScopeValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkflowmonitor/api_op_ListMonitors.go b/service/networkflowmonitor/api_op_ListMonitors.go index dcf77f1a231..eb652f24e52 100644 --- a/service/networkflowmonitor/api_op_ListMonitors.go +++ b/service/networkflowmonitor/api_op_ListMonitors.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListMonitorsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMonitors(options.Region), middleware.Before); err != nil { return err } diff --git a/service/networkflowmonitor/api_op_ListScopes.go b/service/networkflowmonitor/api_op_ListScopes.go index 8a5e1a96578..cdbbabebfd5 100644 --- a/service/networkflowmonitor/api_op_ListScopes.go +++ b/service/networkflowmonitor/api_op_ListScopes.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListScopesMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListScopes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/networkflowmonitor/api_op_ListTagsForResource.go b/service/networkflowmonitor/api_op_ListTagsForResource.go index cd1ab345779..fd301c7d48b 100644 --- a/service/networkflowmonitor/api_op_ListTagsForResource.go +++ b/service/networkflowmonitor/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkflowmonitor/api_op_StartQueryMonitorTopContributors.go b/service/networkflowmonitor/api_op_StartQueryMonitorTopContributors.go index c6d4c1b565c..f8ba1d65da1 100644 --- a/service/networkflowmonitor/api_op_StartQueryMonitorTopContributors.go +++ b/service/networkflowmonitor/api_op_StartQueryMonitorTopContributors.go @@ -164,9 +164,6 @@ func (c *Client) addOperationStartQueryMonitorTopContributorsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartQueryMonitorTopContributorsValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkflowmonitor/api_op_StartQueryWorkloadInsightsTopContributors.go b/service/networkflowmonitor/api_op_StartQueryWorkloadInsightsTopContributors.go index 9b47d9e6dfe..10a613056a8 100644 --- a/service/networkflowmonitor/api_op_StartQueryWorkloadInsightsTopContributors.go +++ b/service/networkflowmonitor/api_op_StartQueryWorkloadInsightsTopContributors.go @@ -166,9 +166,6 @@ func (c *Client) addOperationStartQueryWorkloadInsightsTopContributorsMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartQueryWorkloadInsightsTopContributorsValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkflowmonitor/api_op_StartQueryWorkloadInsightsTopContributorsData.go b/service/networkflowmonitor/api_op_StartQueryWorkloadInsightsTopContributorsData.go index ced52bc13b6..e441fbf2417 100644 --- a/service/networkflowmonitor/api_op_StartQueryWorkloadInsightsTopContributorsData.go +++ b/service/networkflowmonitor/api_op_StartQueryWorkloadInsightsTopContributorsData.go @@ -170,9 +170,6 @@ func (c *Client) addOperationStartQueryWorkloadInsightsTopContributorsDataMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartQueryWorkloadInsightsTopContributorsDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkflowmonitor/api_op_StopQueryMonitorTopContributors.go b/service/networkflowmonitor/api_op_StopQueryMonitorTopContributors.go index df7cde6bddd..6e197003a25 100644 --- a/service/networkflowmonitor/api_op_StopQueryMonitorTopContributors.go +++ b/service/networkflowmonitor/api_op_StopQueryMonitorTopContributors.go @@ -119,9 +119,6 @@ func (c *Client) addOperationStopQueryMonitorTopContributorsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopQueryMonitorTopContributorsValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkflowmonitor/api_op_StopQueryWorkloadInsightsTopContributors.go b/service/networkflowmonitor/api_op_StopQueryWorkloadInsightsTopContributors.go index 808ae1aa751..e4107173273 100644 --- a/service/networkflowmonitor/api_op_StopQueryWorkloadInsightsTopContributors.go +++ b/service/networkflowmonitor/api_op_StopQueryWorkloadInsightsTopContributors.go @@ -121,9 +121,6 @@ func (c *Client) addOperationStopQueryWorkloadInsightsTopContributorsMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopQueryWorkloadInsightsTopContributorsValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkflowmonitor/api_op_StopQueryWorkloadInsightsTopContributorsData.go b/service/networkflowmonitor/api_op_StopQueryWorkloadInsightsTopContributorsData.go index 14933998786..35611270851 100644 --- a/service/networkflowmonitor/api_op_StopQueryWorkloadInsightsTopContributorsData.go +++ b/service/networkflowmonitor/api_op_StopQueryWorkloadInsightsTopContributorsData.go @@ -126,9 +126,6 @@ func (c *Client) addOperationStopQueryWorkloadInsightsTopContributorsDataMiddlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopQueryWorkloadInsightsTopContributorsDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkflowmonitor/api_op_TagResource.go b/service/networkflowmonitor/api_op_TagResource.go index d46c39d2c53..0b6f1806f0d 100644 --- a/service/networkflowmonitor/api_op_TagResource.go +++ b/service/networkflowmonitor/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkflowmonitor/api_op_UntagResource.go b/service/networkflowmonitor/api_op_UntagResource.go index 646cee8f4c3..fa4833ad6ed 100644 --- a/service/networkflowmonitor/api_op_UntagResource.go +++ b/service/networkflowmonitor/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkflowmonitor/api_op_UpdateMonitor.go b/service/networkflowmonitor/api_op_UpdateMonitor.go index 8a7664aa8b5..05d8e2fd181 100644 --- a/service/networkflowmonitor/api_op_UpdateMonitor.go +++ b/service/networkflowmonitor/api_op_UpdateMonitor.go @@ -180,9 +180,6 @@ func (c *Client) addOperationUpdateMonitorMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateMonitorMiddleware(stack, options); err != nil { return err } diff --git a/service/networkflowmonitor/api_op_UpdateScope.go b/service/networkflowmonitor/api_op_UpdateScope.go index 657eb1782fe..40d05cbc39f 100644 --- a/service/networkflowmonitor/api_op_UpdateScope.go +++ b/service/networkflowmonitor/api_op_UpdateScope.go @@ -140,9 +140,6 @@ func (c *Client) addOperationUpdateScopeMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateScopeValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkflowmonitor/snapshot/api_op_CreateMonitor.go.snap b/service/networkflowmonitor/snapshot/api_op_CreateMonitor.go.snap index d8ff2fc0e4d..e7d6fa5ba59 100644 --- a/service/networkflowmonitor/snapshot/api_op_CreateMonitor.go.snap +++ b/service/networkflowmonitor/snapshot/api_op_CreateMonitor.go.snap @@ -15,7 +15,6 @@ CreateMonitor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkflowmonitor/snapshot/api_op_CreateScope.go.snap b/service/networkflowmonitor/snapshot/api_op_CreateScope.go.snap index 81251d1e3ef..37f47890550 100644 --- a/service/networkflowmonitor/snapshot/api_op_CreateScope.go.snap +++ b/service/networkflowmonitor/snapshot/api_op_CreateScope.go.snap @@ -15,7 +15,6 @@ CreateScope Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkflowmonitor/snapshot/api_op_DeleteMonitor.go.snap b/service/networkflowmonitor/snapshot/api_op_DeleteMonitor.go.snap index a83d348660b..afde7f18bf0 100644 --- a/service/networkflowmonitor/snapshot/api_op_DeleteMonitor.go.snap +++ b/service/networkflowmonitor/snapshot/api_op_DeleteMonitor.go.snap @@ -14,7 +14,6 @@ DeleteMonitor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkflowmonitor/snapshot/api_op_DeleteScope.go.snap b/service/networkflowmonitor/snapshot/api_op_DeleteScope.go.snap index 1ee960d474a..8adb19e189a 100644 --- a/service/networkflowmonitor/snapshot/api_op_DeleteScope.go.snap +++ b/service/networkflowmonitor/snapshot/api_op_DeleteScope.go.snap @@ -14,7 +14,6 @@ DeleteScope Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkflowmonitor/snapshot/api_op_GetMonitor.go.snap b/service/networkflowmonitor/snapshot/api_op_GetMonitor.go.snap index 22e70b05d7a..480accf6e4b 100644 --- a/service/networkflowmonitor/snapshot/api_op_GetMonitor.go.snap +++ b/service/networkflowmonitor/snapshot/api_op_GetMonitor.go.snap @@ -14,7 +14,6 @@ GetMonitor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkflowmonitor/snapshot/api_op_GetQueryResultsMonitorTopContributors.go.snap b/service/networkflowmonitor/snapshot/api_op_GetQueryResultsMonitorTopContributors.go.snap index c346e4d8a1b..934a81d7bd5 100644 --- a/service/networkflowmonitor/snapshot/api_op_GetQueryResultsMonitorTopContributors.go.snap +++ b/service/networkflowmonitor/snapshot/api_op_GetQueryResultsMonitorTopContributors.go.snap @@ -14,7 +14,6 @@ GetQueryResultsMonitorTopContributors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkflowmonitor/snapshot/api_op_GetQueryResultsWorkloadInsightsTopContributors.go.snap b/service/networkflowmonitor/snapshot/api_op_GetQueryResultsWorkloadInsightsTopContributors.go.snap index f9e5c1e58b1..59ce3059a92 100644 --- a/service/networkflowmonitor/snapshot/api_op_GetQueryResultsWorkloadInsightsTopContributors.go.snap +++ b/service/networkflowmonitor/snapshot/api_op_GetQueryResultsWorkloadInsightsTopContributors.go.snap @@ -14,7 +14,6 @@ GetQueryResultsWorkloadInsightsTopContributors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkflowmonitor/snapshot/api_op_GetQueryResultsWorkloadInsightsTopContributorsData.go.snap b/service/networkflowmonitor/snapshot/api_op_GetQueryResultsWorkloadInsightsTopContributorsData.go.snap index b3808c34631..ed372c4482b 100644 --- a/service/networkflowmonitor/snapshot/api_op_GetQueryResultsWorkloadInsightsTopContributorsData.go.snap +++ b/service/networkflowmonitor/snapshot/api_op_GetQueryResultsWorkloadInsightsTopContributorsData.go.snap @@ -14,7 +14,6 @@ GetQueryResultsWorkloadInsightsTopContributorsData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkflowmonitor/snapshot/api_op_GetQueryStatusMonitorTopContributors.go.snap b/service/networkflowmonitor/snapshot/api_op_GetQueryStatusMonitorTopContributors.go.snap index 8f9730955d3..483dab268f7 100644 --- a/service/networkflowmonitor/snapshot/api_op_GetQueryStatusMonitorTopContributors.go.snap +++ b/service/networkflowmonitor/snapshot/api_op_GetQueryStatusMonitorTopContributors.go.snap @@ -14,7 +14,6 @@ GetQueryStatusMonitorTopContributors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkflowmonitor/snapshot/api_op_GetQueryStatusWorkloadInsightsTopContributors.go.snap b/service/networkflowmonitor/snapshot/api_op_GetQueryStatusWorkloadInsightsTopContributors.go.snap index f77e1168f51..57f7d0e1663 100644 --- a/service/networkflowmonitor/snapshot/api_op_GetQueryStatusWorkloadInsightsTopContributors.go.snap +++ b/service/networkflowmonitor/snapshot/api_op_GetQueryStatusWorkloadInsightsTopContributors.go.snap @@ -14,7 +14,6 @@ GetQueryStatusWorkloadInsightsTopContributors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkflowmonitor/snapshot/api_op_GetQueryStatusWorkloadInsightsTopContributorsData.go.snap b/service/networkflowmonitor/snapshot/api_op_GetQueryStatusWorkloadInsightsTopContributorsData.go.snap index 030cbd4433f..575d77653f8 100644 --- a/service/networkflowmonitor/snapshot/api_op_GetQueryStatusWorkloadInsightsTopContributorsData.go.snap +++ b/service/networkflowmonitor/snapshot/api_op_GetQueryStatusWorkloadInsightsTopContributorsData.go.snap @@ -14,7 +14,6 @@ GetQueryStatusWorkloadInsightsTopContributorsData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkflowmonitor/snapshot/api_op_GetScope.go.snap b/service/networkflowmonitor/snapshot/api_op_GetScope.go.snap index 54159132125..8db9d74d08d 100644 --- a/service/networkflowmonitor/snapshot/api_op_GetScope.go.snap +++ b/service/networkflowmonitor/snapshot/api_op_GetScope.go.snap @@ -14,7 +14,6 @@ GetScope Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkflowmonitor/snapshot/api_op_ListMonitors.go.snap b/service/networkflowmonitor/snapshot/api_op_ListMonitors.go.snap index ae6de0a74e1..b14f384f57d 100644 --- a/service/networkflowmonitor/snapshot/api_op_ListMonitors.go.snap +++ b/service/networkflowmonitor/snapshot/api_op_ListMonitors.go.snap @@ -13,7 +13,6 @@ ListMonitors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkflowmonitor/snapshot/api_op_ListScopes.go.snap b/service/networkflowmonitor/snapshot/api_op_ListScopes.go.snap index a5b42a6818a..8df1b368f1a 100644 --- a/service/networkflowmonitor/snapshot/api_op_ListScopes.go.snap +++ b/service/networkflowmonitor/snapshot/api_op_ListScopes.go.snap @@ -13,7 +13,6 @@ ListScopes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkflowmonitor/snapshot/api_op_ListTagsForResource.go.snap b/service/networkflowmonitor/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/networkflowmonitor/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/networkflowmonitor/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkflowmonitor/snapshot/api_op_StartQueryMonitorTopContributors.go.snap b/service/networkflowmonitor/snapshot/api_op_StartQueryMonitorTopContributors.go.snap index b6321a9b46f..84a85403c09 100644 --- a/service/networkflowmonitor/snapshot/api_op_StartQueryMonitorTopContributors.go.snap +++ b/service/networkflowmonitor/snapshot/api_op_StartQueryMonitorTopContributors.go.snap @@ -14,7 +14,6 @@ StartQueryMonitorTopContributors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkflowmonitor/snapshot/api_op_StartQueryWorkloadInsightsTopContributors.go.snap b/service/networkflowmonitor/snapshot/api_op_StartQueryWorkloadInsightsTopContributors.go.snap index 02440cac3b9..ea502ab6eeb 100644 --- a/service/networkflowmonitor/snapshot/api_op_StartQueryWorkloadInsightsTopContributors.go.snap +++ b/service/networkflowmonitor/snapshot/api_op_StartQueryWorkloadInsightsTopContributors.go.snap @@ -14,7 +14,6 @@ StartQueryWorkloadInsightsTopContributors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkflowmonitor/snapshot/api_op_StartQueryWorkloadInsightsTopContributorsData.go.snap b/service/networkflowmonitor/snapshot/api_op_StartQueryWorkloadInsightsTopContributorsData.go.snap index 1ad8aaa3da6..53b82b1cc34 100644 --- a/service/networkflowmonitor/snapshot/api_op_StartQueryWorkloadInsightsTopContributorsData.go.snap +++ b/service/networkflowmonitor/snapshot/api_op_StartQueryWorkloadInsightsTopContributorsData.go.snap @@ -14,7 +14,6 @@ StartQueryWorkloadInsightsTopContributorsData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkflowmonitor/snapshot/api_op_StopQueryMonitorTopContributors.go.snap b/service/networkflowmonitor/snapshot/api_op_StopQueryMonitorTopContributors.go.snap index 22201c2d685..b4d3279e749 100644 --- a/service/networkflowmonitor/snapshot/api_op_StopQueryMonitorTopContributors.go.snap +++ b/service/networkflowmonitor/snapshot/api_op_StopQueryMonitorTopContributors.go.snap @@ -14,7 +14,6 @@ StopQueryMonitorTopContributors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkflowmonitor/snapshot/api_op_StopQueryWorkloadInsightsTopContributors.go.snap b/service/networkflowmonitor/snapshot/api_op_StopQueryWorkloadInsightsTopContributors.go.snap index 51e397c7651..ffb607fbe73 100644 --- a/service/networkflowmonitor/snapshot/api_op_StopQueryWorkloadInsightsTopContributors.go.snap +++ b/service/networkflowmonitor/snapshot/api_op_StopQueryWorkloadInsightsTopContributors.go.snap @@ -14,7 +14,6 @@ StopQueryWorkloadInsightsTopContributors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkflowmonitor/snapshot/api_op_StopQueryWorkloadInsightsTopContributorsData.go.snap b/service/networkflowmonitor/snapshot/api_op_StopQueryWorkloadInsightsTopContributorsData.go.snap index d45a838c03b..5d25d8539c0 100644 --- a/service/networkflowmonitor/snapshot/api_op_StopQueryWorkloadInsightsTopContributorsData.go.snap +++ b/service/networkflowmonitor/snapshot/api_op_StopQueryWorkloadInsightsTopContributorsData.go.snap @@ -14,7 +14,6 @@ StopQueryWorkloadInsightsTopContributorsData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkflowmonitor/snapshot/api_op_TagResource.go.snap b/service/networkflowmonitor/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/networkflowmonitor/snapshot/api_op_TagResource.go.snap +++ b/service/networkflowmonitor/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkflowmonitor/snapshot/api_op_UntagResource.go.snap b/service/networkflowmonitor/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/networkflowmonitor/snapshot/api_op_UntagResource.go.snap +++ b/service/networkflowmonitor/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkflowmonitor/snapshot/api_op_UpdateMonitor.go.snap b/service/networkflowmonitor/snapshot/api_op_UpdateMonitor.go.snap index 431aaf58dcb..29348cc199e 100644 --- a/service/networkflowmonitor/snapshot/api_op_UpdateMonitor.go.snap +++ b/service/networkflowmonitor/snapshot/api_op_UpdateMonitor.go.snap @@ -15,7 +15,6 @@ UpdateMonitor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkflowmonitor/snapshot/api_op_UpdateScope.go.snap b/service/networkflowmonitor/snapshot/api_op_UpdateScope.go.snap index a933e5c59b5..379989ef402 100644 --- a/service/networkflowmonitor/snapshot/api_op_UpdateScope.go.snap +++ b/service/networkflowmonitor/snapshot/api_op_UpdateScope.go.snap @@ -14,7 +14,6 @@ UpdateScope Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/api_client.go b/service/networkmanager/api_client.go index 7aadb72d678..128f0195199 100644 --- a/service/networkmanager/api_client.go +++ b/service/networkmanager/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/networkmanager/api_op_AcceptAttachment.go b/service/networkmanager/api_op_AcceptAttachment.go index 46a8741b0b0..e7558495669 100644 --- a/service/networkmanager/api_op_AcceptAttachment.go +++ b/service/networkmanager/api_op_AcceptAttachment.go @@ -115,9 +115,6 @@ func (c *Client) addOperationAcceptAttachmentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptAttachmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_AssociateConnectPeer.go b/service/networkmanager/api_op_AssociateConnectPeer.go index 09088fc3aaf..48a71b875e5 100644 --- a/service/networkmanager/api_op_AssociateConnectPeer.go +++ b/service/networkmanager/api_op_AssociateConnectPeer.go @@ -130,9 +130,6 @@ func (c *Client) addOperationAssociateConnectPeerMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateConnectPeerValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_AssociateCustomerGateway.go b/service/networkmanager/api_op_AssociateCustomerGateway.go index fbf382978ce..86c7f2e343d 100644 --- a/service/networkmanager/api_op_AssociateCustomerGateway.go +++ b/service/networkmanager/api_op_AssociateCustomerGateway.go @@ -137,9 +137,6 @@ func (c *Client) addOperationAssociateCustomerGatewayMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateCustomerGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_AssociateLink.go b/service/networkmanager/api_op_AssociateLink.go index 3934e615bf6..8d18cb43ba8 100644 --- a/service/networkmanager/api_op_AssociateLink.go +++ b/service/networkmanager/api_op_AssociateLink.go @@ -124,9 +124,6 @@ func (c *Client) addOperationAssociateLinkMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateLinkValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_AssociateTransitGatewayConnectPeer.go b/service/networkmanager/api_op_AssociateTransitGatewayConnectPeer.go index 724dec466b6..3704ee63fe4 100644 --- a/service/networkmanager/api_op_AssociateTransitGatewayConnectPeer.go +++ b/service/networkmanager/api_op_AssociateTransitGatewayConnectPeer.go @@ -132,9 +132,6 @@ func (c *Client) addOperationAssociateTransitGatewayConnectPeerMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateTransitGatewayConnectPeerValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_CreateConnectAttachment.go b/service/networkmanager/api_op_CreateConnectAttachment.go index e180b7193d6..8057a327a17 100644 --- a/service/networkmanager/api_op_CreateConnectAttachment.go +++ b/service/networkmanager/api_op_CreateConnectAttachment.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateConnectAttachmentMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateConnectAttachmentMiddleware(stack, options); err != nil { return err } diff --git a/service/networkmanager/api_op_CreateConnectPeer.go b/service/networkmanager/api_op_CreateConnectPeer.go index f64cfc3a2c7..38ba2f59cb0 100644 --- a/service/networkmanager/api_op_CreateConnectPeer.go +++ b/service/networkmanager/api_op_CreateConnectPeer.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateConnectPeerMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateConnectPeerMiddleware(stack, options); err != nil { return err } diff --git a/service/networkmanager/api_op_CreateConnection.go b/service/networkmanager/api_op_CreateConnection.go index a29b9f997d2..3042ceb69fc 100644 --- a/service/networkmanager/api_op_CreateConnection.go +++ b/service/networkmanager/api_op_CreateConnection.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateConnectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_CreateCoreNetwork.go b/service/networkmanager/api_op_CreateCoreNetwork.go index 39407aa2058..cf0738554be 100644 --- a/service/networkmanager/api_op_CreateCoreNetwork.go +++ b/service/networkmanager/api_op_CreateCoreNetwork.go @@ -125,9 +125,6 @@ func (c *Client) addOperationCreateCoreNetworkMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateCoreNetworkMiddleware(stack, options); err != nil { return err } diff --git a/service/networkmanager/api_op_CreateDevice.go b/service/networkmanager/api_op_CreateDevice.go index 7492198f057..0130896f81e 100644 --- a/service/networkmanager/api_op_CreateDevice.go +++ b/service/networkmanager/api_op_CreateDevice.go @@ -150,9 +150,6 @@ func (c *Client) addOperationCreateDeviceMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_CreateDirectConnectGatewayAttachment.go b/service/networkmanager/api_op_CreateDirectConnectGatewayAttachment.go index 0a3631bb46c..8eaf919c7ee 100644 --- a/service/networkmanager/api_op_CreateDirectConnectGatewayAttachment.go +++ b/service/networkmanager/api_op_CreateDirectConnectGatewayAttachment.go @@ -131,9 +131,6 @@ func (c *Client) addOperationCreateDirectConnectGatewayAttachmentMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDirectConnectGatewayAttachmentMiddleware(stack, options); err != nil { return err } diff --git a/service/networkmanager/api_op_CreateGlobalNetwork.go b/service/networkmanager/api_op_CreateGlobalNetwork.go index f5a2061255f..41f667d9402 100644 --- a/service/networkmanager/api_op_CreateGlobalNetwork.go +++ b/service/networkmanager/api_op_CreateGlobalNetwork.go @@ -115,9 +115,6 @@ func (c *Client) addOperationCreateGlobalNetworkMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGlobalNetwork(options.Region), middleware.Before); err != nil { return err } diff --git a/service/networkmanager/api_op_CreateLink.go b/service/networkmanager/api_op_CreateLink.go index 95ee400cae6..9ed2c0d731d 100644 --- a/service/networkmanager/api_op_CreateLink.go +++ b/service/networkmanager/api_op_CreateLink.go @@ -142,9 +142,6 @@ func (c *Client) addOperationCreateLinkMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLinkValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_CreateSite.go b/service/networkmanager/api_op_CreateSite.go index 34a3c911020..d9eb7a3d716 100644 --- a/service/networkmanager/api_op_CreateSite.go +++ b/service/networkmanager/api_op_CreateSite.go @@ -131,9 +131,6 @@ func (c *Client) addOperationCreateSiteMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSiteValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_CreateSiteToSiteVpnAttachment.go b/service/networkmanager/api_op_CreateSiteToSiteVpnAttachment.go index 33d1471d9d0..38476a5f99e 100644 --- a/service/networkmanager/api_op_CreateSiteToSiteVpnAttachment.go +++ b/service/networkmanager/api_op_CreateSiteToSiteVpnAttachment.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCreateSiteToSiteVpnAttachmentMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateSiteToSiteVpnAttachmentMiddleware(stack, options); err != nil { return err } diff --git a/service/networkmanager/api_op_CreateTransitGatewayPeering.go b/service/networkmanager/api_op_CreateTransitGatewayPeering.go index 9d2f510ee2e..50fc8e39f25 100644 --- a/service/networkmanager/api_op_CreateTransitGatewayPeering.go +++ b/service/networkmanager/api_op_CreateTransitGatewayPeering.go @@ -123,9 +123,6 @@ func (c *Client) addOperationCreateTransitGatewayPeeringMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateTransitGatewayPeeringMiddleware(stack, options); err != nil { return err } diff --git a/service/networkmanager/api_op_CreateTransitGatewayRouteTableAttachment.go b/service/networkmanager/api_op_CreateTransitGatewayRouteTableAttachment.go index e98b8271207..f09bd2b0211 100644 --- a/service/networkmanager/api_op_CreateTransitGatewayRouteTableAttachment.go +++ b/service/networkmanager/api_op_CreateTransitGatewayRouteTableAttachment.go @@ -127,9 +127,6 @@ func (c *Client) addOperationCreateTransitGatewayRouteTableAttachmentMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateTransitGatewayRouteTableAttachmentMiddleware(stack, options); err != nil { return err } diff --git a/service/networkmanager/api_op_CreateVpcAttachment.go b/service/networkmanager/api_op_CreateVpcAttachment.go index a525ced8f95..67f44e78464 100644 --- a/service/networkmanager/api_op_CreateVpcAttachment.go +++ b/service/networkmanager/api_op_CreateVpcAttachment.go @@ -131,9 +131,6 @@ func (c *Client) addOperationCreateVpcAttachmentMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateVpcAttachmentMiddleware(stack, options); err != nil { return err } diff --git a/service/networkmanager/api_op_DeleteAttachment.go b/service/networkmanager/api_op_DeleteAttachment.go index f482b11f5fd..78f2bb1d01e 100644 --- a/service/networkmanager/api_op_DeleteAttachment.go +++ b/service/networkmanager/api_op_DeleteAttachment.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteAttachmentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAttachmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_DeleteConnectPeer.go b/service/networkmanager/api_op_DeleteConnectPeer.go index 340723ad7ca..21bf9457f4e 100644 --- a/service/networkmanager/api_op_DeleteConnectPeer.go +++ b/service/networkmanager/api_op_DeleteConnectPeer.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteConnectPeerMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConnectPeerValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_DeleteConnection.go b/service/networkmanager/api_op_DeleteConnection.go index d4bc6efed3f..c6883ca2e66 100644 --- a/service/networkmanager/api_op_DeleteConnection.go +++ b/service/networkmanager/api_op_DeleteConnection.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteConnectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_DeleteCoreNetwork.go b/service/networkmanager/api_op_DeleteCoreNetwork.go index 065f664fdcd..c8375150d6f 100644 --- a/service/networkmanager/api_op_DeleteCoreNetwork.go +++ b/service/networkmanager/api_op_DeleteCoreNetwork.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteCoreNetworkMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCoreNetworkValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_DeleteCoreNetworkPolicyVersion.go b/service/networkmanager/api_op_DeleteCoreNetworkPolicyVersion.go index ed849c67627..e3395f97e3d 100644 --- a/service/networkmanager/api_op_DeleteCoreNetworkPolicyVersion.go +++ b/service/networkmanager/api_op_DeleteCoreNetworkPolicyVersion.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteCoreNetworkPolicyVersionMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCoreNetworkPolicyVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_DeleteDevice.go b/service/networkmanager/api_op_DeleteDevice.go index f648bea1b05..5ddeddc7fdb 100644 --- a/service/networkmanager/api_op_DeleteDevice.go +++ b/service/networkmanager/api_op_DeleteDevice.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteDeviceMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_DeleteGlobalNetwork.go b/service/networkmanager/api_op_DeleteGlobalNetwork.go index c70cf75304b..cfe88042237 100644 --- a/service/networkmanager/api_op_DeleteGlobalNetwork.go +++ b/service/networkmanager/api_op_DeleteGlobalNetwork.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteGlobalNetworkMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGlobalNetworkValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_DeleteLink.go b/service/networkmanager/api_op_DeleteLink.go index 09566ef800d..97cda2b2703 100644 --- a/service/networkmanager/api_op_DeleteLink.go +++ b/service/networkmanager/api_op_DeleteLink.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteLinkMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLinkValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_DeletePeering.go b/service/networkmanager/api_op_DeletePeering.go index 815ca25df65..dbab1c2bb6a 100644 --- a/service/networkmanager/api_op_DeletePeering.go +++ b/service/networkmanager/api_op_DeletePeering.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeletePeeringMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePeeringValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_DeleteResourcePolicy.go b/service/networkmanager/api_op_DeleteResourcePolicy.go index af587abface..65015f29b98 100644 --- a/service/networkmanager/api_op_DeleteResourcePolicy.go +++ b/service/networkmanager/api_op_DeleteResourcePolicy.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_DeleteSite.go b/service/networkmanager/api_op_DeleteSite.go index 0236492990a..c2742816cc6 100644 --- a/service/networkmanager/api_op_DeleteSite.go +++ b/service/networkmanager/api_op_DeleteSite.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteSiteMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSiteValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_DeregisterTransitGateway.go b/service/networkmanager/api_op_DeregisterTransitGateway.go index f4aed10f02a..74d150337c4 100644 --- a/service/networkmanager/api_op_DeregisterTransitGateway.go +++ b/service/networkmanager/api_op_DeregisterTransitGateway.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeregisterTransitGatewayMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterTransitGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_DescribeGlobalNetworks.go b/service/networkmanager/api_op_DescribeGlobalNetworks.go index 2408e8cdae2..5cc85890a74 100644 --- a/service/networkmanager/api_op_DescribeGlobalNetworks.go +++ b/service/networkmanager/api_op_DescribeGlobalNetworks.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeGlobalNetworksMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGlobalNetworks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/networkmanager/api_op_DisassociateConnectPeer.go b/service/networkmanager/api_op_DisassociateConnectPeer.go index fede4d6c5a6..3d35a3e4953 100644 --- a/service/networkmanager/api_op_DisassociateConnectPeer.go +++ b/service/networkmanager/api_op_DisassociateConnectPeer.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDisassociateConnectPeerMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateConnectPeerValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_DisassociateCustomerGateway.go b/service/networkmanager/api_op_DisassociateCustomerGateway.go index e5c3a4c3448..581fe82ff5f 100644 --- a/service/networkmanager/api_op_DisassociateCustomerGateway.go +++ b/service/networkmanager/api_op_DisassociateCustomerGateway.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDisassociateCustomerGatewayMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateCustomerGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_DisassociateLink.go b/service/networkmanager/api_op_DisassociateLink.go index 5b6dadbd305..1c90a514b82 100644 --- a/service/networkmanager/api_op_DisassociateLink.go +++ b/service/networkmanager/api_op_DisassociateLink.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDisassociateLinkMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateLinkValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_DisassociateTransitGatewayConnectPeer.go b/service/networkmanager/api_op_DisassociateTransitGatewayConnectPeer.go index bd174217a8e..4a7a8b81558 100644 --- a/service/networkmanager/api_op_DisassociateTransitGatewayConnectPeer.go +++ b/service/networkmanager/api_op_DisassociateTransitGatewayConnectPeer.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDisassociateTransitGatewayConnectPeerMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateTransitGatewayConnectPeerValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_ExecuteCoreNetworkChangeSet.go b/service/networkmanager/api_op_ExecuteCoreNetworkChangeSet.go index 50b5c43d8ae..2e1446a3d40 100644 --- a/service/networkmanager/api_op_ExecuteCoreNetworkChangeSet.go +++ b/service/networkmanager/api_op_ExecuteCoreNetworkChangeSet.go @@ -113,9 +113,6 @@ func (c *Client) addOperationExecuteCoreNetworkChangeSetMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExecuteCoreNetworkChangeSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetConnectAttachment.go b/service/networkmanager/api_op_GetConnectAttachment.go index b17d1466b22..e6408a3462b 100644 --- a/service/networkmanager/api_op_GetConnectAttachment.go +++ b/service/networkmanager/api_op_GetConnectAttachment.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetConnectAttachmentMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConnectAttachmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetConnectPeer.go b/service/networkmanager/api_op_GetConnectPeer.go index 32656cdcfdb..3b18fc04e37 100644 --- a/service/networkmanager/api_op_GetConnectPeer.go +++ b/service/networkmanager/api_op_GetConnectPeer.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetConnectPeerMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConnectPeerValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetConnectPeerAssociations.go b/service/networkmanager/api_op_GetConnectPeerAssociations.go index 41628cc980c..af6c80fe507 100644 --- a/service/networkmanager/api_op_GetConnectPeerAssociations.go +++ b/service/networkmanager/api_op_GetConnectPeerAssociations.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetConnectPeerAssociationsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConnectPeerAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetConnections.go b/service/networkmanager/api_op_GetConnections.go index 1d5e43f4fc9..40e6a6021c5 100644 --- a/service/networkmanager/api_op_GetConnections.go +++ b/service/networkmanager/api_op_GetConnections.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetConnectionsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConnectionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetCoreNetwork.go b/service/networkmanager/api_op_GetCoreNetwork.go index c31635c06eb..de00dbc7173 100644 --- a/service/networkmanager/api_op_GetCoreNetwork.go +++ b/service/networkmanager/api_op_GetCoreNetwork.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetCoreNetworkMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCoreNetworkValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetCoreNetworkChangeEvents.go b/service/networkmanager/api_op_GetCoreNetworkChangeEvents.go index dc53ead5b40..5aebc3ddc6d 100644 --- a/service/networkmanager/api_op_GetCoreNetworkChangeEvents.go +++ b/service/networkmanager/api_op_GetCoreNetworkChangeEvents.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetCoreNetworkChangeEventsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCoreNetworkChangeEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetCoreNetworkChangeSet.go b/service/networkmanager/api_op_GetCoreNetworkChangeSet.go index fa0a151a9f1..509a83eceae 100644 --- a/service/networkmanager/api_op_GetCoreNetworkChangeSet.go +++ b/service/networkmanager/api_op_GetCoreNetworkChangeSet.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetCoreNetworkChangeSetMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCoreNetworkChangeSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetCoreNetworkPolicy.go b/service/networkmanager/api_op_GetCoreNetworkPolicy.go index ab21676ad18..288eedcd353 100644 --- a/service/networkmanager/api_op_GetCoreNetworkPolicy.go +++ b/service/networkmanager/api_op_GetCoreNetworkPolicy.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetCoreNetworkPolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCoreNetworkPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetCustomerGatewayAssociations.go b/service/networkmanager/api_op_GetCustomerGatewayAssociations.go index 76d1d9cd336..4f9dcc5f66b 100644 --- a/service/networkmanager/api_op_GetCustomerGatewayAssociations.go +++ b/service/networkmanager/api_op_GetCustomerGatewayAssociations.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetCustomerGatewayAssociationsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCustomerGatewayAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetDevices.go b/service/networkmanager/api_op_GetDevices.go index 1cd32433fc3..0ac964b96d8 100644 --- a/service/networkmanager/api_op_GetDevices.go +++ b/service/networkmanager/api_op_GetDevices.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetDevicesMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDevicesValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetDirectConnectGatewayAttachment.go b/service/networkmanager/api_op_GetDirectConnectGatewayAttachment.go index be11caf6846..fc547d88ccc 100644 --- a/service/networkmanager/api_op_GetDirectConnectGatewayAttachment.go +++ b/service/networkmanager/api_op_GetDirectConnectGatewayAttachment.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetDirectConnectGatewayAttachmentMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDirectConnectGatewayAttachmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetLinkAssociations.go b/service/networkmanager/api_op_GetLinkAssociations.go index bc4852e9bed..c5f0893968a 100644 --- a/service/networkmanager/api_op_GetLinkAssociations.go +++ b/service/networkmanager/api_op_GetLinkAssociations.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetLinkAssociationsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLinkAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetLinks.go b/service/networkmanager/api_op_GetLinks.go index 2052a399080..9f953db0220 100644 --- a/service/networkmanager/api_op_GetLinks.go +++ b/service/networkmanager/api_op_GetLinks.go @@ -136,9 +136,6 @@ func (c *Client) addOperationGetLinksMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLinksValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetNetworkResourceCounts.go b/service/networkmanager/api_op_GetNetworkResourceCounts.go index 8e468f24861..f59ef6660b5 100644 --- a/service/networkmanager/api_op_GetNetworkResourceCounts.go +++ b/service/networkmanager/api_op_GetNetworkResourceCounts.go @@ -165,9 +165,6 @@ func (c *Client) addOperationGetNetworkResourceCountsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetNetworkResourceCountsValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetNetworkResourceRelationships.go b/service/networkmanager/api_op_GetNetworkResourceRelationships.go index 8fc475452a5..a15cb982453 100644 --- a/service/networkmanager/api_op_GetNetworkResourceRelationships.go +++ b/service/networkmanager/api_op_GetNetworkResourceRelationships.go @@ -179,9 +179,6 @@ func (c *Client) addOperationGetNetworkResourceRelationshipsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetNetworkResourceRelationshipsValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetNetworkResources.go b/service/networkmanager/api_op_GetNetworkResources.go index 2ab172a11d8..81828b4bb56 100644 --- a/service/networkmanager/api_op_GetNetworkResources.go +++ b/service/networkmanager/api_op_GetNetworkResources.go @@ -182,9 +182,6 @@ func (c *Client) addOperationGetNetworkResourcesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetNetworkResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetNetworkRoutes.go b/service/networkmanager/api_op_GetNetworkRoutes.go index 864dd2003dc..0367df52bcf 100644 --- a/service/networkmanager/api_op_GetNetworkRoutes.go +++ b/service/networkmanager/api_op_GetNetworkRoutes.go @@ -156,9 +156,6 @@ func (c *Client) addOperationGetNetworkRoutesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetNetworkRoutesValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetNetworkTelemetry.go b/service/networkmanager/api_op_GetNetworkTelemetry.go index 25bbb50d5f5..f7e2c6f5acf 100644 --- a/service/networkmanager/api_op_GetNetworkTelemetry.go +++ b/service/networkmanager/api_op_GetNetworkTelemetry.go @@ -145,9 +145,6 @@ func (c *Client) addOperationGetNetworkTelemetryMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetNetworkTelemetryValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetResourcePolicy.go b/service/networkmanager/api_op_GetResourcePolicy.go index e42e5623764..2ea5f5cca6a 100644 --- a/service/networkmanager/api_op_GetResourcePolicy.go +++ b/service/networkmanager/api_op_GetResourcePolicy.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetRouteAnalysis.go b/service/networkmanager/api_op_GetRouteAnalysis.go index 0b6cab2da8d..30735d749ab 100644 --- a/service/networkmanager/api_op_GetRouteAnalysis.go +++ b/service/networkmanager/api_op_GetRouteAnalysis.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetRouteAnalysisMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRouteAnalysisValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetSiteToSiteVpnAttachment.go b/service/networkmanager/api_op_GetSiteToSiteVpnAttachment.go index d39eaf464b5..72c273d8858 100644 --- a/service/networkmanager/api_op_GetSiteToSiteVpnAttachment.go +++ b/service/networkmanager/api_op_GetSiteToSiteVpnAttachment.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetSiteToSiteVpnAttachmentMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSiteToSiteVpnAttachmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetSites.go b/service/networkmanager/api_op_GetSites.go index 651661a2b16..c556853191f 100644 --- a/service/networkmanager/api_op_GetSites.go +++ b/service/networkmanager/api_op_GetSites.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetSitesMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSitesValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetTransitGatewayConnectPeerAssociations.go b/service/networkmanager/api_op_GetTransitGatewayConnectPeerAssociations.go index 7bf261cb02d..c61fb7f44d1 100644 --- a/service/networkmanager/api_op_GetTransitGatewayConnectPeerAssociations.go +++ b/service/networkmanager/api_op_GetTransitGatewayConnectPeerAssociations.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetTransitGatewayConnectPeerAssociationsMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTransitGatewayConnectPeerAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetTransitGatewayPeering.go b/service/networkmanager/api_op_GetTransitGatewayPeering.go index 787829c00de..d35a26c4c4a 100644 --- a/service/networkmanager/api_op_GetTransitGatewayPeering.go +++ b/service/networkmanager/api_op_GetTransitGatewayPeering.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetTransitGatewayPeeringMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTransitGatewayPeeringValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetTransitGatewayRegistrations.go b/service/networkmanager/api_op_GetTransitGatewayRegistrations.go index 4d73f01bdd6..635f6d7c508 100644 --- a/service/networkmanager/api_op_GetTransitGatewayRegistrations.go +++ b/service/networkmanager/api_op_GetTransitGatewayRegistrations.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetTransitGatewayRegistrationsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTransitGatewayRegistrationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetTransitGatewayRouteTableAttachment.go b/service/networkmanager/api_op_GetTransitGatewayRouteTableAttachment.go index 8b7b5a56629..0eb0f317023 100644 --- a/service/networkmanager/api_op_GetTransitGatewayRouteTableAttachment.go +++ b/service/networkmanager/api_op_GetTransitGatewayRouteTableAttachment.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetTransitGatewayRouteTableAttachmentMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTransitGatewayRouteTableAttachmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_GetVpcAttachment.go b/service/networkmanager/api_op_GetVpcAttachment.go index 8e7962adb4c..fb49dbc063f 100644 --- a/service/networkmanager/api_op_GetVpcAttachment.go +++ b/service/networkmanager/api_op_GetVpcAttachment.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetVpcAttachmentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVpcAttachmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_ListAttachments.go b/service/networkmanager/api_op_ListAttachments.go index 418b58e4b18..4e997ad8984 100644 --- a/service/networkmanager/api_op_ListAttachments.go +++ b/service/networkmanager/api_op_ListAttachments.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListAttachmentsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAttachments(options.Region), middleware.Before); err != nil { return err } diff --git a/service/networkmanager/api_op_ListConnectPeers.go b/service/networkmanager/api_op_ListConnectPeers.go index 3addc9159be..987d4a9e617 100644 --- a/service/networkmanager/api_op_ListConnectPeers.go +++ b/service/networkmanager/api_op_ListConnectPeers.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListConnectPeersMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConnectPeers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/networkmanager/api_op_ListCoreNetworkPolicyVersions.go b/service/networkmanager/api_op_ListCoreNetworkPolicyVersions.go index 41d82fff970..d71ea7d5c44 100644 --- a/service/networkmanager/api_op_ListCoreNetworkPolicyVersions.go +++ b/service/networkmanager/api_op_ListCoreNetworkPolicyVersions.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListCoreNetworkPolicyVersionsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCoreNetworkPolicyVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_ListCoreNetworks.go b/service/networkmanager/api_op_ListCoreNetworks.go index c58c1a936df..2bc23a9dace 100644 --- a/service/networkmanager/api_op_ListCoreNetworks.go +++ b/service/networkmanager/api_op_ListCoreNetworks.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListCoreNetworksMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCoreNetworks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/networkmanager/api_op_ListOrganizationServiceAccessStatus.go b/service/networkmanager/api_op_ListOrganizationServiceAccessStatus.go index caf7492467a..e56c33044b8 100644 --- a/service/networkmanager/api_op_ListOrganizationServiceAccessStatus.go +++ b/service/networkmanager/api_op_ListOrganizationServiceAccessStatus.go @@ -117,9 +117,6 @@ func (c *Client) addOperationListOrganizationServiceAccessStatusMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOrganizationServiceAccessStatus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/networkmanager/api_op_ListPeerings.go b/service/networkmanager/api_op_ListPeerings.go index 44ab79bbddf..20ea0a55436 100644 --- a/service/networkmanager/api_op_ListPeerings.go +++ b/service/networkmanager/api_op_ListPeerings.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListPeeringsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPeerings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/networkmanager/api_op_ListTagsForResource.go b/service/networkmanager/api_op_ListTagsForResource.go index 164407d5327..ff60be9584f 100644 --- a/service/networkmanager/api_op_ListTagsForResource.go +++ b/service/networkmanager/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_PutCoreNetworkPolicy.go b/service/networkmanager/api_op_PutCoreNetworkPolicy.go index 9dd645b1c12..17e0bd6b34d 100644 --- a/service/networkmanager/api_op_PutCoreNetworkPolicy.go +++ b/service/networkmanager/api_op_PutCoreNetworkPolicy.go @@ -130,9 +130,6 @@ func (c *Client) addOperationPutCoreNetworkPolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opPutCoreNetworkPolicyMiddleware(stack, options); err != nil { return err } diff --git a/service/networkmanager/api_op_PutResourcePolicy.go b/service/networkmanager/api_op_PutResourcePolicy.go index 5a582df1c4c..8d0557d8f0c 100644 --- a/service/networkmanager/api_op_PutResourcePolicy.go +++ b/service/networkmanager/api_op_PutResourcePolicy.go @@ -114,9 +114,6 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_RegisterTransitGateway.go b/service/networkmanager/api_op_RegisterTransitGateway.go index b9cc0fad799..a61c27de169 100644 --- a/service/networkmanager/api_op_RegisterTransitGateway.go +++ b/service/networkmanager/api_op_RegisterTransitGateway.go @@ -124,9 +124,6 @@ func (c *Client) addOperationRegisterTransitGatewayMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterTransitGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_RejectAttachment.go b/service/networkmanager/api_op_RejectAttachment.go index 12940c21f2d..50cf5718243 100644 --- a/service/networkmanager/api_op_RejectAttachment.go +++ b/service/networkmanager/api_op_RejectAttachment.go @@ -112,9 +112,6 @@ func (c *Client) addOperationRejectAttachmentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRejectAttachmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_RestoreCoreNetworkPolicyVersion.go b/service/networkmanager/api_op_RestoreCoreNetworkPolicyVersion.go index a5ed52f0bc1..e35806bd045 100644 --- a/service/networkmanager/api_op_RestoreCoreNetworkPolicyVersion.go +++ b/service/networkmanager/api_op_RestoreCoreNetworkPolicyVersion.go @@ -119,9 +119,6 @@ func (c *Client) addOperationRestoreCoreNetworkPolicyVersionMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreCoreNetworkPolicyVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_StartOrganizationServiceAccessUpdate.go b/service/networkmanager/api_op_StartOrganizationServiceAccessUpdate.go index cb69a8292b8..4c45c9c423f 100644 --- a/service/networkmanager/api_op_StartOrganizationServiceAccessUpdate.go +++ b/service/networkmanager/api_op_StartOrganizationServiceAccessUpdate.go @@ -114,9 +114,6 @@ func (c *Client) addOperationStartOrganizationServiceAccessUpdateMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartOrganizationServiceAccessUpdateValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_StartRouteAnalysis.go b/service/networkmanager/api_op_StartRouteAnalysis.go index ac84c290a3f..fe0b68ec280 100644 --- a/service/networkmanager/api_op_StartRouteAnalysis.go +++ b/service/networkmanager/api_op_StartRouteAnalysis.go @@ -132,9 +132,6 @@ func (c *Client) addOperationStartRouteAnalysisMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartRouteAnalysisValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_TagResource.go b/service/networkmanager/api_op_TagResource.go index e631e669170..6a1a027b96f 100644 --- a/service/networkmanager/api_op_TagResource.go +++ b/service/networkmanager/api_op_TagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_UntagResource.go b/service/networkmanager/api_op_UntagResource.go index c4057ec52c5..31dfca83e37 100644 --- a/service/networkmanager/api_op_UntagResource.go +++ b/service/networkmanager/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_UpdateConnection.go b/service/networkmanager/api_op_UpdateConnection.go index c4e34a968cc..b099f0b65af 100644 --- a/service/networkmanager/api_op_UpdateConnection.go +++ b/service/networkmanager/api_op_UpdateConnection.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUpdateConnectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_UpdateCoreNetwork.go b/service/networkmanager/api_op_UpdateCoreNetwork.go index 98e8c1eddea..303800a87cf 100644 --- a/service/networkmanager/api_op_UpdateCoreNetwork.go +++ b/service/networkmanager/api_op_UpdateCoreNetwork.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUpdateCoreNetworkMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCoreNetworkValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_UpdateDevice.go b/service/networkmanager/api_op_UpdateDevice.go index cd21fc0fd1d..612d9bdbac2 100644 --- a/service/networkmanager/api_op_UpdateDevice.go +++ b/service/networkmanager/api_op_UpdateDevice.go @@ -151,9 +151,6 @@ func (c *Client) addOperationUpdateDeviceMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_UpdateDirectConnectGatewayAttachment.go b/service/networkmanager/api_op_UpdateDirectConnectGatewayAttachment.go index d98dfd1b233..5924c176eb6 100644 --- a/service/networkmanager/api_op_UpdateDirectConnectGatewayAttachment.go +++ b/service/networkmanager/api_op_UpdateDirectConnectGatewayAttachment.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateDirectConnectGatewayAttachmentMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDirectConnectGatewayAttachmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_UpdateGlobalNetwork.go b/service/networkmanager/api_op_UpdateGlobalNetwork.go index 1558b3a74a9..838a4c0ff70 100644 --- a/service/networkmanager/api_op_UpdateGlobalNetwork.go +++ b/service/networkmanager/api_op_UpdateGlobalNetwork.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateGlobalNetworkMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateGlobalNetworkValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_UpdateLink.go b/service/networkmanager/api_op_UpdateLink.go index 9fd4a7ac443..c10674c6e67 100644 --- a/service/networkmanager/api_op_UpdateLink.go +++ b/service/networkmanager/api_op_UpdateLink.go @@ -136,9 +136,6 @@ func (c *Client) addOperationUpdateLinkMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLinkValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_UpdateNetworkResourceMetadata.go b/service/networkmanager/api_op_UpdateNetworkResourceMetadata.go index 68f62fd4bf2..d37d73a3582 100644 --- a/service/networkmanager/api_op_UpdateNetworkResourceMetadata.go +++ b/service/networkmanager/api_op_UpdateNetworkResourceMetadata.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateNetworkResourceMetadataMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateNetworkResourceMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_UpdateSite.go b/service/networkmanager/api_op_UpdateSite.go index 11ef1fee2ee..d763241db39 100644 --- a/service/networkmanager/api_op_UpdateSite.go +++ b/service/networkmanager/api_op_UpdateSite.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdateSiteMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSiteValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/api_op_UpdateVpcAttachment.go b/service/networkmanager/api_op_UpdateVpcAttachment.go index 46fe622ffc1..bfff559e9e7 100644 --- a/service/networkmanager/api_op_UpdateVpcAttachment.go +++ b/service/networkmanager/api_op_UpdateVpcAttachment.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateVpcAttachmentMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateVpcAttachmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmanager/snapshot/api_op_AcceptAttachment.go.snap b/service/networkmanager/snapshot/api_op_AcceptAttachment.go.snap index 2f4209443a6..ffb792a063f 100644 --- a/service/networkmanager/snapshot/api_op_AcceptAttachment.go.snap +++ b/service/networkmanager/snapshot/api_op_AcceptAttachment.go.snap @@ -14,7 +14,6 @@ AcceptAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_AssociateConnectPeer.go.snap b/service/networkmanager/snapshot/api_op_AssociateConnectPeer.go.snap index b6065fce7ba..02a596d337e 100644 --- a/service/networkmanager/snapshot/api_op_AssociateConnectPeer.go.snap +++ b/service/networkmanager/snapshot/api_op_AssociateConnectPeer.go.snap @@ -14,7 +14,6 @@ AssociateConnectPeer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_AssociateCustomerGateway.go.snap b/service/networkmanager/snapshot/api_op_AssociateCustomerGateway.go.snap index 0c6795c9562..e2c0197721f 100644 --- a/service/networkmanager/snapshot/api_op_AssociateCustomerGateway.go.snap +++ b/service/networkmanager/snapshot/api_op_AssociateCustomerGateway.go.snap @@ -14,7 +14,6 @@ AssociateCustomerGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_AssociateLink.go.snap b/service/networkmanager/snapshot/api_op_AssociateLink.go.snap index 9a8becf4872..6e6f48304c3 100644 --- a/service/networkmanager/snapshot/api_op_AssociateLink.go.snap +++ b/service/networkmanager/snapshot/api_op_AssociateLink.go.snap @@ -14,7 +14,6 @@ AssociateLink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_AssociateTransitGatewayConnectPeer.go.snap b/service/networkmanager/snapshot/api_op_AssociateTransitGatewayConnectPeer.go.snap index 560bafe66a0..4d0cf88d3d2 100644 --- a/service/networkmanager/snapshot/api_op_AssociateTransitGatewayConnectPeer.go.snap +++ b/service/networkmanager/snapshot/api_op_AssociateTransitGatewayConnectPeer.go.snap @@ -14,7 +14,6 @@ AssociateTransitGatewayConnectPeer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_CreateConnectAttachment.go.snap b/service/networkmanager/snapshot/api_op_CreateConnectAttachment.go.snap index d7d3d8102bf..ca803a83cfd 100644 --- a/service/networkmanager/snapshot/api_op_CreateConnectAttachment.go.snap +++ b/service/networkmanager/snapshot/api_op_CreateConnectAttachment.go.snap @@ -15,7 +15,6 @@ CreateConnectAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_CreateConnectPeer.go.snap b/service/networkmanager/snapshot/api_op_CreateConnectPeer.go.snap index 67b9b55eb70..95ec20104f1 100644 --- a/service/networkmanager/snapshot/api_op_CreateConnectPeer.go.snap +++ b/service/networkmanager/snapshot/api_op_CreateConnectPeer.go.snap @@ -15,7 +15,6 @@ CreateConnectPeer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_CreateConnection.go.snap b/service/networkmanager/snapshot/api_op_CreateConnection.go.snap index 2925a097d86..744b4a055f4 100644 --- a/service/networkmanager/snapshot/api_op_CreateConnection.go.snap +++ b/service/networkmanager/snapshot/api_op_CreateConnection.go.snap @@ -14,7 +14,6 @@ CreateConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_CreateCoreNetwork.go.snap b/service/networkmanager/snapshot/api_op_CreateCoreNetwork.go.snap index 3370bff14d6..66317584705 100644 --- a/service/networkmanager/snapshot/api_op_CreateCoreNetwork.go.snap +++ b/service/networkmanager/snapshot/api_op_CreateCoreNetwork.go.snap @@ -15,7 +15,6 @@ CreateCoreNetwork Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_CreateDevice.go.snap b/service/networkmanager/snapshot/api_op_CreateDevice.go.snap index 643d2c9b00e..63c5125901d 100644 --- a/service/networkmanager/snapshot/api_op_CreateDevice.go.snap +++ b/service/networkmanager/snapshot/api_op_CreateDevice.go.snap @@ -14,7 +14,6 @@ CreateDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_CreateDirectConnectGatewayAttachment.go.snap b/service/networkmanager/snapshot/api_op_CreateDirectConnectGatewayAttachment.go.snap index 9098043c6fa..245cceac8d5 100644 --- a/service/networkmanager/snapshot/api_op_CreateDirectConnectGatewayAttachment.go.snap +++ b/service/networkmanager/snapshot/api_op_CreateDirectConnectGatewayAttachment.go.snap @@ -15,7 +15,6 @@ CreateDirectConnectGatewayAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_CreateGlobalNetwork.go.snap b/service/networkmanager/snapshot/api_op_CreateGlobalNetwork.go.snap index 542d2f2318d..f3f0ad9d217 100644 --- a/service/networkmanager/snapshot/api_op_CreateGlobalNetwork.go.snap +++ b/service/networkmanager/snapshot/api_op_CreateGlobalNetwork.go.snap @@ -13,7 +13,6 @@ CreateGlobalNetwork Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_CreateLink.go.snap b/service/networkmanager/snapshot/api_op_CreateLink.go.snap index b5f02332f9c..be3268d07c5 100644 --- a/service/networkmanager/snapshot/api_op_CreateLink.go.snap +++ b/service/networkmanager/snapshot/api_op_CreateLink.go.snap @@ -14,7 +14,6 @@ CreateLink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_CreateSite.go.snap b/service/networkmanager/snapshot/api_op_CreateSite.go.snap index 80bdf35e81c..0f4f5958c65 100644 --- a/service/networkmanager/snapshot/api_op_CreateSite.go.snap +++ b/service/networkmanager/snapshot/api_op_CreateSite.go.snap @@ -14,7 +14,6 @@ CreateSite Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_CreateSiteToSiteVpnAttachment.go.snap b/service/networkmanager/snapshot/api_op_CreateSiteToSiteVpnAttachment.go.snap index 67c8751f5d7..386ebad22ae 100644 --- a/service/networkmanager/snapshot/api_op_CreateSiteToSiteVpnAttachment.go.snap +++ b/service/networkmanager/snapshot/api_op_CreateSiteToSiteVpnAttachment.go.snap @@ -15,7 +15,6 @@ CreateSiteToSiteVpnAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_CreateTransitGatewayPeering.go.snap b/service/networkmanager/snapshot/api_op_CreateTransitGatewayPeering.go.snap index d1b6f285d6b..56b7850df46 100644 --- a/service/networkmanager/snapshot/api_op_CreateTransitGatewayPeering.go.snap +++ b/service/networkmanager/snapshot/api_op_CreateTransitGatewayPeering.go.snap @@ -15,7 +15,6 @@ CreateTransitGatewayPeering Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_CreateTransitGatewayRouteTableAttachment.go.snap b/service/networkmanager/snapshot/api_op_CreateTransitGatewayRouteTableAttachment.go.snap index aa96f652a94..cc960f8217a 100644 --- a/service/networkmanager/snapshot/api_op_CreateTransitGatewayRouteTableAttachment.go.snap +++ b/service/networkmanager/snapshot/api_op_CreateTransitGatewayRouteTableAttachment.go.snap @@ -15,7 +15,6 @@ CreateTransitGatewayRouteTableAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_CreateVpcAttachment.go.snap b/service/networkmanager/snapshot/api_op_CreateVpcAttachment.go.snap index cad60528e19..a414c7fd525 100644 --- a/service/networkmanager/snapshot/api_op_CreateVpcAttachment.go.snap +++ b/service/networkmanager/snapshot/api_op_CreateVpcAttachment.go.snap @@ -15,7 +15,6 @@ CreateVpcAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_DeleteAttachment.go.snap b/service/networkmanager/snapshot/api_op_DeleteAttachment.go.snap index ad96c5af648..1b0a7808804 100644 --- a/service/networkmanager/snapshot/api_op_DeleteAttachment.go.snap +++ b/service/networkmanager/snapshot/api_op_DeleteAttachment.go.snap @@ -14,7 +14,6 @@ DeleteAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_DeleteConnectPeer.go.snap b/service/networkmanager/snapshot/api_op_DeleteConnectPeer.go.snap index a66f2556da3..e93ea1e8c6d 100644 --- a/service/networkmanager/snapshot/api_op_DeleteConnectPeer.go.snap +++ b/service/networkmanager/snapshot/api_op_DeleteConnectPeer.go.snap @@ -14,7 +14,6 @@ DeleteConnectPeer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_DeleteConnection.go.snap b/service/networkmanager/snapshot/api_op_DeleteConnection.go.snap index 95b646dafd7..a9cca584913 100644 --- a/service/networkmanager/snapshot/api_op_DeleteConnection.go.snap +++ b/service/networkmanager/snapshot/api_op_DeleteConnection.go.snap @@ -14,7 +14,6 @@ DeleteConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_DeleteCoreNetwork.go.snap b/service/networkmanager/snapshot/api_op_DeleteCoreNetwork.go.snap index 33241c4c69f..92b23d4c77f 100644 --- a/service/networkmanager/snapshot/api_op_DeleteCoreNetwork.go.snap +++ b/service/networkmanager/snapshot/api_op_DeleteCoreNetwork.go.snap @@ -14,7 +14,6 @@ DeleteCoreNetwork Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_DeleteCoreNetworkPolicyVersion.go.snap b/service/networkmanager/snapshot/api_op_DeleteCoreNetworkPolicyVersion.go.snap index b64c4c119b0..999e83415c7 100644 --- a/service/networkmanager/snapshot/api_op_DeleteCoreNetworkPolicyVersion.go.snap +++ b/service/networkmanager/snapshot/api_op_DeleteCoreNetworkPolicyVersion.go.snap @@ -14,7 +14,6 @@ DeleteCoreNetworkPolicyVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_DeleteDevice.go.snap b/service/networkmanager/snapshot/api_op_DeleteDevice.go.snap index fbbf0961bd0..0da2a0b02c0 100644 --- a/service/networkmanager/snapshot/api_op_DeleteDevice.go.snap +++ b/service/networkmanager/snapshot/api_op_DeleteDevice.go.snap @@ -14,7 +14,6 @@ DeleteDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_DeleteGlobalNetwork.go.snap b/service/networkmanager/snapshot/api_op_DeleteGlobalNetwork.go.snap index 62308a2eec4..3ddb0e90bfe 100644 --- a/service/networkmanager/snapshot/api_op_DeleteGlobalNetwork.go.snap +++ b/service/networkmanager/snapshot/api_op_DeleteGlobalNetwork.go.snap @@ -14,7 +14,6 @@ DeleteGlobalNetwork Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_DeleteLink.go.snap b/service/networkmanager/snapshot/api_op_DeleteLink.go.snap index 7fed205282d..d2b9df504f5 100644 --- a/service/networkmanager/snapshot/api_op_DeleteLink.go.snap +++ b/service/networkmanager/snapshot/api_op_DeleteLink.go.snap @@ -14,7 +14,6 @@ DeleteLink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_DeletePeering.go.snap b/service/networkmanager/snapshot/api_op_DeletePeering.go.snap index 43980cb87db..5f16ce1760d 100644 --- a/service/networkmanager/snapshot/api_op_DeletePeering.go.snap +++ b/service/networkmanager/snapshot/api_op_DeletePeering.go.snap @@ -14,7 +14,6 @@ DeletePeering Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_DeleteResourcePolicy.go.snap b/service/networkmanager/snapshot/api_op_DeleteResourcePolicy.go.snap index 21dbc8dfcde..9948d797360 100644 --- a/service/networkmanager/snapshot/api_op_DeleteResourcePolicy.go.snap +++ b/service/networkmanager/snapshot/api_op_DeleteResourcePolicy.go.snap @@ -14,7 +14,6 @@ DeleteResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_DeleteSite.go.snap b/service/networkmanager/snapshot/api_op_DeleteSite.go.snap index 1c8867b0bd9..aa043f780ef 100644 --- a/service/networkmanager/snapshot/api_op_DeleteSite.go.snap +++ b/service/networkmanager/snapshot/api_op_DeleteSite.go.snap @@ -14,7 +14,6 @@ DeleteSite Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_DeregisterTransitGateway.go.snap b/service/networkmanager/snapshot/api_op_DeregisterTransitGateway.go.snap index f9cf590be45..f8e2b3cb6d5 100644 --- a/service/networkmanager/snapshot/api_op_DeregisterTransitGateway.go.snap +++ b/service/networkmanager/snapshot/api_op_DeregisterTransitGateway.go.snap @@ -14,7 +14,6 @@ DeregisterTransitGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_DescribeGlobalNetworks.go.snap b/service/networkmanager/snapshot/api_op_DescribeGlobalNetworks.go.snap index 1491a2e323b..66139095a2b 100644 --- a/service/networkmanager/snapshot/api_op_DescribeGlobalNetworks.go.snap +++ b/service/networkmanager/snapshot/api_op_DescribeGlobalNetworks.go.snap @@ -13,7 +13,6 @@ DescribeGlobalNetworks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_DisassociateConnectPeer.go.snap b/service/networkmanager/snapshot/api_op_DisassociateConnectPeer.go.snap index 7f6ea45ecb3..e2d978f2b0a 100644 --- a/service/networkmanager/snapshot/api_op_DisassociateConnectPeer.go.snap +++ b/service/networkmanager/snapshot/api_op_DisassociateConnectPeer.go.snap @@ -14,7 +14,6 @@ DisassociateConnectPeer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_DisassociateCustomerGateway.go.snap b/service/networkmanager/snapshot/api_op_DisassociateCustomerGateway.go.snap index 0f82a1b0198..52a8062ac99 100644 --- a/service/networkmanager/snapshot/api_op_DisassociateCustomerGateway.go.snap +++ b/service/networkmanager/snapshot/api_op_DisassociateCustomerGateway.go.snap @@ -14,7 +14,6 @@ DisassociateCustomerGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_DisassociateLink.go.snap b/service/networkmanager/snapshot/api_op_DisassociateLink.go.snap index e9f5ad97348..c19a6d7ac44 100644 --- a/service/networkmanager/snapshot/api_op_DisassociateLink.go.snap +++ b/service/networkmanager/snapshot/api_op_DisassociateLink.go.snap @@ -14,7 +14,6 @@ DisassociateLink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_DisassociateTransitGatewayConnectPeer.go.snap b/service/networkmanager/snapshot/api_op_DisassociateTransitGatewayConnectPeer.go.snap index 75726229a49..8d0061c4af5 100644 --- a/service/networkmanager/snapshot/api_op_DisassociateTransitGatewayConnectPeer.go.snap +++ b/service/networkmanager/snapshot/api_op_DisassociateTransitGatewayConnectPeer.go.snap @@ -14,7 +14,6 @@ DisassociateTransitGatewayConnectPeer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_ExecuteCoreNetworkChangeSet.go.snap b/service/networkmanager/snapshot/api_op_ExecuteCoreNetworkChangeSet.go.snap index 610976c9511..c9c23e883b2 100644 --- a/service/networkmanager/snapshot/api_op_ExecuteCoreNetworkChangeSet.go.snap +++ b/service/networkmanager/snapshot/api_op_ExecuteCoreNetworkChangeSet.go.snap @@ -14,7 +14,6 @@ ExecuteCoreNetworkChangeSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_GetConnectAttachment.go.snap b/service/networkmanager/snapshot/api_op_GetConnectAttachment.go.snap index d38d89c73f5..ae2e07c64de 100644 --- a/service/networkmanager/snapshot/api_op_GetConnectAttachment.go.snap +++ b/service/networkmanager/snapshot/api_op_GetConnectAttachment.go.snap @@ -14,7 +14,6 @@ GetConnectAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_GetConnectPeer.go.snap b/service/networkmanager/snapshot/api_op_GetConnectPeer.go.snap index 38017e87f83..2f9a34559f6 100644 --- a/service/networkmanager/snapshot/api_op_GetConnectPeer.go.snap +++ b/service/networkmanager/snapshot/api_op_GetConnectPeer.go.snap @@ -14,7 +14,6 @@ GetConnectPeer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_GetConnectPeerAssociations.go.snap b/service/networkmanager/snapshot/api_op_GetConnectPeerAssociations.go.snap index db93c7ea2be..3604884123d 100644 --- a/service/networkmanager/snapshot/api_op_GetConnectPeerAssociations.go.snap +++ b/service/networkmanager/snapshot/api_op_GetConnectPeerAssociations.go.snap @@ -14,7 +14,6 @@ GetConnectPeerAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_GetConnections.go.snap b/service/networkmanager/snapshot/api_op_GetConnections.go.snap index 1d8b62d6458..3496ab80461 100644 --- a/service/networkmanager/snapshot/api_op_GetConnections.go.snap +++ b/service/networkmanager/snapshot/api_op_GetConnections.go.snap @@ -14,7 +14,6 @@ GetConnections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_GetCoreNetwork.go.snap b/service/networkmanager/snapshot/api_op_GetCoreNetwork.go.snap index c102a37afdc..9f1484c88ce 100644 --- a/service/networkmanager/snapshot/api_op_GetCoreNetwork.go.snap +++ b/service/networkmanager/snapshot/api_op_GetCoreNetwork.go.snap @@ -14,7 +14,6 @@ GetCoreNetwork Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_GetCoreNetworkChangeEvents.go.snap b/service/networkmanager/snapshot/api_op_GetCoreNetworkChangeEvents.go.snap index 56501f4a594..6f9f366fd20 100644 --- a/service/networkmanager/snapshot/api_op_GetCoreNetworkChangeEvents.go.snap +++ b/service/networkmanager/snapshot/api_op_GetCoreNetworkChangeEvents.go.snap @@ -14,7 +14,6 @@ GetCoreNetworkChangeEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_GetCoreNetworkChangeSet.go.snap b/service/networkmanager/snapshot/api_op_GetCoreNetworkChangeSet.go.snap index 66d9198f4b5..bf4860bfc37 100644 --- a/service/networkmanager/snapshot/api_op_GetCoreNetworkChangeSet.go.snap +++ b/service/networkmanager/snapshot/api_op_GetCoreNetworkChangeSet.go.snap @@ -14,7 +14,6 @@ GetCoreNetworkChangeSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_GetCoreNetworkPolicy.go.snap b/service/networkmanager/snapshot/api_op_GetCoreNetworkPolicy.go.snap index 9660032e7df..058eef9e32a 100644 --- a/service/networkmanager/snapshot/api_op_GetCoreNetworkPolicy.go.snap +++ b/service/networkmanager/snapshot/api_op_GetCoreNetworkPolicy.go.snap @@ -14,7 +14,6 @@ GetCoreNetworkPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_GetCustomerGatewayAssociations.go.snap b/service/networkmanager/snapshot/api_op_GetCustomerGatewayAssociations.go.snap index 0a572ba4dda..d91fff2c62a 100644 --- a/service/networkmanager/snapshot/api_op_GetCustomerGatewayAssociations.go.snap +++ b/service/networkmanager/snapshot/api_op_GetCustomerGatewayAssociations.go.snap @@ -14,7 +14,6 @@ GetCustomerGatewayAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_GetDevices.go.snap b/service/networkmanager/snapshot/api_op_GetDevices.go.snap index 1d6ebcb20f3..4a403bfcce4 100644 --- a/service/networkmanager/snapshot/api_op_GetDevices.go.snap +++ b/service/networkmanager/snapshot/api_op_GetDevices.go.snap @@ -14,7 +14,6 @@ GetDevices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_GetDirectConnectGatewayAttachment.go.snap b/service/networkmanager/snapshot/api_op_GetDirectConnectGatewayAttachment.go.snap index dacc6b07600..1b9847adc1c 100644 --- a/service/networkmanager/snapshot/api_op_GetDirectConnectGatewayAttachment.go.snap +++ b/service/networkmanager/snapshot/api_op_GetDirectConnectGatewayAttachment.go.snap @@ -14,7 +14,6 @@ GetDirectConnectGatewayAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_GetLinkAssociations.go.snap b/service/networkmanager/snapshot/api_op_GetLinkAssociations.go.snap index ed236f49235..43761edb9a5 100644 --- a/service/networkmanager/snapshot/api_op_GetLinkAssociations.go.snap +++ b/service/networkmanager/snapshot/api_op_GetLinkAssociations.go.snap @@ -14,7 +14,6 @@ GetLinkAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_GetLinks.go.snap b/service/networkmanager/snapshot/api_op_GetLinks.go.snap index d01bbc42bfe..3ebde144f1d 100644 --- a/service/networkmanager/snapshot/api_op_GetLinks.go.snap +++ b/service/networkmanager/snapshot/api_op_GetLinks.go.snap @@ -14,7 +14,6 @@ GetLinks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_GetNetworkResourceCounts.go.snap b/service/networkmanager/snapshot/api_op_GetNetworkResourceCounts.go.snap index 38459cd04e2..b9a133f42ce 100644 --- a/service/networkmanager/snapshot/api_op_GetNetworkResourceCounts.go.snap +++ b/service/networkmanager/snapshot/api_op_GetNetworkResourceCounts.go.snap @@ -14,7 +14,6 @@ GetNetworkResourceCounts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_GetNetworkResourceRelationships.go.snap b/service/networkmanager/snapshot/api_op_GetNetworkResourceRelationships.go.snap index eacd02bab4e..9b2389cdfcd 100644 --- a/service/networkmanager/snapshot/api_op_GetNetworkResourceRelationships.go.snap +++ b/service/networkmanager/snapshot/api_op_GetNetworkResourceRelationships.go.snap @@ -14,7 +14,6 @@ GetNetworkResourceRelationships Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_GetNetworkResources.go.snap b/service/networkmanager/snapshot/api_op_GetNetworkResources.go.snap index 206ef5a8f45..14b7a3a38b2 100644 --- a/service/networkmanager/snapshot/api_op_GetNetworkResources.go.snap +++ b/service/networkmanager/snapshot/api_op_GetNetworkResources.go.snap @@ -14,7 +14,6 @@ GetNetworkResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_GetNetworkRoutes.go.snap b/service/networkmanager/snapshot/api_op_GetNetworkRoutes.go.snap index c0f12d860dd..a329c203d9f 100644 --- a/service/networkmanager/snapshot/api_op_GetNetworkRoutes.go.snap +++ b/service/networkmanager/snapshot/api_op_GetNetworkRoutes.go.snap @@ -14,7 +14,6 @@ GetNetworkRoutes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_GetNetworkTelemetry.go.snap b/service/networkmanager/snapshot/api_op_GetNetworkTelemetry.go.snap index 06ab48aa7c7..edbd696a717 100644 --- a/service/networkmanager/snapshot/api_op_GetNetworkTelemetry.go.snap +++ b/service/networkmanager/snapshot/api_op_GetNetworkTelemetry.go.snap @@ -14,7 +14,6 @@ GetNetworkTelemetry Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_GetResourcePolicy.go.snap b/service/networkmanager/snapshot/api_op_GetResourcePolicy.go.snap index e3408c09804..4b3e7d017fa 100644 --- a/service/networkmanager/snapshot/api_op_GetResourcePolicy.go.snap +++ b/service/networkmanager/snapshot/api_op_GetResourcePolicy.go.snap @@ -14,7 +14,6 @@ GetResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_GetRouteAnalysis.go.snap b/service/networkmanager/snapshot/api_op_GetRouteAnalysis.go.snap index 3304dada99b..53dbfe73d12 100644 --- a/service/networkmanager/snapshot/api_op_GetRouteAnalysis.go.snap +++ b/service/networkmanager/snapshot/api_op_GetRouteAnalysis.go.snap @@ -14,7 +14,6 @@ GetRouteAnalysis Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_GetSiteToSiteVpnAttachment.go.snap b/service/networkmanager/snapshot/api_op_GetSiteToSiteVpnAttachment.go.snap index 44f64350ab5..656a1cb3bfd 100644 --- a/service/networkmanager/snapshot/api_op_GetSiteToSiteVpnAttachment.go.snap +++ b/service/networkmanager/snapshot/api_op_GetSiteToSiteVpnAttachment.go.snap @@ -14,7 +14,6 @@ GetSiteToSiteVpnAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_GetSites.go.snap b/service/networkmanager/snapshot/api_op_GetSites.go.snap index ddeaf0466e6..1fd427ad397 100644 --- a/service/networkmanager/snapshot/api_op_GetSites.go.snap +++ b/service/networkmanager/snapshot/api_op_GetSites.go.snap @@ -14,7 +14,6 @@ GetSites Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_GetTransitGatewayConnectPeerAssociations.go.snap b/service/networkmanager/snapshot/api_op_GetTransitGatewayConnectPeerAssociations.go.snap index 9b578333c8f..7ba6ca77d2e 100644 --- a/service/networkmanager/snapshot/api_op_GetTransitGatewayConnectPeerAssociations.go.snap +++ b/service/networkmanager/snapshot/api_op_GetTransitGatewayConnectPeerAssociations.go.snap @@ -14,7 +14,6 @@ GetTransitGatewayConnectPeerAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_GetTransitGatewayPeering.go.snap b/service/networkmanager/snapshot/api_op_GetTransitGatewayPeering.go.snap index f9505f526a4..48f3c931a53 100644 --- a/service/networkmanager/snapshot/api_op_GetTransitGatewayPeering.go.snap +++ b/service/networkmanager/snapshot/api_op_GetTransitGatewayPeering.go.snap @@ -14,7 +14,6 @@ GetTransitGatewayPeering Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_GetTransitGatewayRegistrations.go.snap b/service/networkmanager/snapshot/api_op_GetTransitGatewayRegistrations.go.snap index 983a1a8401b..00a15e276c6 100644 --- a/service/networkmanager/snapshot/api_op_GetTransitGatewayRegistrations.go.snap +++ b/service/networkmanager/snapshot/api_op_GetTransitGatewayRegistrations.go.snap @@ -14,7 +14,6 @@ GetTransitGatewayRegistrations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_GetTransitGatewayRouteTableAttachment.go.snap b/service/networkmanager/snapshot/api_op_GetTransitGatewayRouteTableAttachment.go.snap index ea51818450b..809e05f2894 100644 --- a/service/networkmanager/snapshot/api_op_GetTransitGatewayRouteTableAttachment.go.snap +++ b/service/networkmanager/snapshot/api_op_GetTransitGatewayRouteTableAttachment.go.snap @@ -14,7 +14,6 @@ GetTransitGatewayRouteTableAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_GetVpcAttachment.go.snap b/service/networkmanager/snapshot/api_op_GetVpcAttachment.go.snap index a6b3e331ee7..324d4cd1a64 100644 --- a/service/networkmanager/snapshot/api_op_GetVpcAttachment.go.snap +++ b/service/networkmanager/snapshot/api_op_GetVpcAttachment.go.snap @@ -14,7 +14,6 @@ GetVpcAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_ListAttachments.go.snap b/service/networkmanager/snapshot/api_op_ListAttachments.go.snap index ece178272a8..e972dbd9cd8 100644 --- a/service/networkmanager/snapshot/api_op_ListAttachments.go.snap +++ b/service/networkmanager/snapshot/api_op_ListAttachments.go.snap @@ -13,7 +13,6 @@ ListAttachments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_ListConnectPeers.go.snap b/service/networkmanager/snapshot/api_op_ListConnectPeers.go.snap index 8f711f9c919..a5ab7b7c7ab 100644 --- a/service/networkmanager/snapshot/api_op_ListConnectPeers.go.snap +++ b/service/networkmanager/snapshot/api_op_ListConnectPeers.go.snap @@ -13,7 +13,6 @@ ListConnectPeers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_ListCoreNetworkPolicyVersions.go.snap b/service/networkmanager/snapshot/api_op_ListCoreNetworkPolicyVersions.go.snap index a91677a19a5..69d6d417304 100644 --- a/service/networkmanager/snapshot/api_op_ListCoreNetworkPolicyVersions.go.snap +++ b/service/networkmanager/snapshot/api_op_ListCoreNetworkPolicyVersions.go.snap @@ -14,7 +14,6 @@ ListCoreNetworkPolicyVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_ListCoreNetworks.go.snap b/service/networkmanager/snapshot/api_op_ListCoreNetworks.go.snap index 976f8ea0ba8..7b3975d43bb 100644 --- a/service/networkmanager/snapshot/api_op_ListCoreNetworks.go.snap +++ b/service/networkmanager/snapshot/api_op_ListCoreNetworks.go.snap @@ -13,7 +13,6 @@ ListCoreNetworks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_ListOrganizationServiceAccessStatus.go.snap b/service/networkmanager/snapshot/api_op_ListOrganizationServiceAccessStatus.go.snap index 54af04dea07..766d50a9496 100644 --- a/service/networkmanager/snapshot/api_op_ListOrganizationServiceAccessStatus.go.snap +++ b/service/networkmanager/snapshot/api_op_ListOrganizationServiceAccessStatus.go.snap @@ -13,7 +13,6 @@ ListOrganizationServiceAccessStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_ListPeerings.go.snap b/service/networkmanager/snapshot/api_op_ListPeerings.go.snap index b56cec300aa..152e2e8c668 100644 --- a/service/networkmanager/snapshot/api_op_ListPeerings.go.snap +++ b/service/networkmanager/snapshot/api_op_ListPeerings.go.snap @@ -13,7 +13,6 @@ ListPeerings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_ListTagsForResource.go.snap b/service/networkmanager/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/networkmanager/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/networkmanager/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_PutCoreNetworkPolicy.go.snap b/service/networkmanager/snapshot/api_op_PutCoreNetworkPolicy.go.snap index 8232ac77ceb..434ae5a42d5 100644 --- a/service/networkmanager/snapshot/api_op_PutCoreNetworkPolicy.go.snap +++ b/service/networkmanager/snapshot/api_op_PutCoreNetworkPolicy.go.snap @@ -15,7 +15,6 @@ PutCoreNetworkPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_PutResourcePolicy.go.snap b/service/networkmanager/snapshot/api_op_PutResourcePolicy.go.snap index 30530b1514f..47bad3fad0e 100644 --- a/service/networkmanager/snapshot/api_op_PutResourcePolicy.go.snap +++ b/service/networkmanager/snapshot/api_op_PutResourcePolicy.go.snap @@ -14,7 +14,6 @@ PutResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_RegisterTransitGateway.go.snap b/service/networkmanager/snapshot/api_op_RegisterTransitGateway.go.snap index b45190eabf6..7c49f5917bb 100644 --- a/service/networkmanager/snapshot/api_op_RegisterTransitGateway.go.snap +++ b/service/networkmanager/snapshot/api_op_RegisterTransitGateway.go.snap @@ -14,7 +14,6 @@ RegisterTransitGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_RejectAttachment.go.snap b/service/networkmanager/snapshot/api_op_RejectAttachment.go.snap index 5a7a74700d5..faab59480d1 100644 --- a/service/networkmanager/snapshot/api_op_RejectAttachment.go.snap +++ b/service/networkmanager/snapshot/api_op_RejectAttachment.go.snap @@ -14,7 +14,6 @@ RejectAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_RestoreCoreNetworkPolicyVersion.go.snap b/service/networkmanager/snapshot/api_op_RestoreCoreNetworkPolicyVersion.go.snap index 2dea939a3a5..15eb3bd681d 100644 --- a/service/networkmanager/snapshot/api_op_RestoreCoreNetworkPolicyVersion.go.snap +++ b/service/networkmanager/snapshot/api_op_RestoreCoreNetworkPolicyVersion.go.snap @@ -14,7 +14,6 @@ RestoreCoreNetworkPolicyVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_StartOrganizationServiceAccessUpdate.go.snap b/service/networkmanager/snapshot/api_op_StartOrganizationServiceAccessUpdate.go.snap index 4d872a3fbe2..4a94762d1ff 100644 --- a/service/networkmanager/snapshot/api_op_StartOrganizationServiceAccessUpdate.go.snap +++ b/service/networkmanager/snapshot/api_op_StartOrganizationServiceAccessUpdate.go.snap @@ -14,7 +14,6 @@ StartOrganizationServiceAccessUpdate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_StartRouteAnalysis.go.snap b/service/networkmanager/snapshot/api_op_StartRouteAnalysis.go.snap index 7999112b588..77384891739 100644 --- a/service/networkmanager/snapshot/api_op_StartRouteAnalysis.go.snap +++ b/service/networkmanager/snapshot/api_op_StartRouteAnalysis.go.snap @@ -14,7 +14,6 @@ StartRouteAnalysis Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_TagResource.go.snap b/service/networkmanager/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/networkmanager/snapshot/api_op_TagResource.go.snap +++ b/service/networkmanager/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_UntagResource.go.snap b/service/networkmanager/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/networkmanager/snapshot/api_op_UntagResource.go.snap +++ b/service/networkmanager/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_UpdateConnection.go.snap b/service/networkmanager/snapshot/api_op_UpdateConnection.go.snap index 8bcc0bccc85..f8c8899dab6 100644 --- a/service/networkmanager/snapshot/api_op_UpdateConnection.go.snap +++ b/service/networkmanager/snapshot/api_op_UpdateConnection.go.snap @@ -14,7 +14,6 @@ UpdateConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_UpdateCoreNetwork.go.snap b/service/networkmanager/snapshot/api_op_UpdateCoreNetwork.go.snap index c9aa436d27c..f8d5d1dc864 100644 --- a/service/networkmanager/snapshot/api_op_UpdateCoreNetwork.go.snap +++ b/service/networkmanager/snapshot/api_op_UpdateCoreNetwork.go.snap @@ -14,7 +14,6 @@ UpdateCoreNetwork Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_UpdateDevice.go.snap b/service/networkmanager/snapshot/api_op_UpdateDevice.go.snap index 753b56a3ed2..e0b6af259a6 100644 --- a/service/networkmanager/snapshot/api_op_UpdateDevice.go.snap +++ b/service/networkmanager/snapshot/api_op_UpdateDevice.go.snap @@ -14,7 +14,6 @@ UpdateDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_UpdateDirectConnectGatewayAttachment.go.snap b/service/networkmanager/snapshot/api_op_UpdateDirectConnectGatewayAttachment.go.snap index 44b5709a23c..e49985dd2a2 100644 --- a/service/networkmanager/snapshot/api_op_UpdateDirectConnectGatewayAttachment.go.snap +++ b/service/networkmanager/snapshot/api_op_UpdateDirectConnectGatewayAttachment.go.snap @@ -14,7 +14,6 @@ UpdateDirectConnectGatewayAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_UpdateGlobalNetwork.go.snap b/service/networkmanager/snapshot/api_op_UpdateGlobalNetwork.go.snap index 1b21edb29c2..0865bf6afc0 100644 --- a/service/networkmanager/snapshot/api_op_UpdateGlobalNetwork.go.snap +++ b/service/networkmanager/snapshot/api_op_UpdateGlobalNetwork.go.snap @@ -14,7 +14,6 @@ UpdateGlobalNetwork Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_UpdateLink.go.snap b/service/networkmanager/snapshot/api_op_UpdateLink.go.snap index c4467373561..353e8ad946a 100644 --- a/service/networkmanager/snapshot/api_op_UpdateLink.go.snap +++ b/service/networkmanager/snapshot/api_op_UpdateLink.go.snap @@ -14,7 +14,6 @@ UpdateLink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_UpdateNetworkResourceMetadata.go.snap b/service/networkmanager/snapshot/api_op_UpdateNetworkResourceMetadata.go.snap index 9701cf63c26..df2dcb54d07 100644 --- a/service/networkmanager/snapshot/api_op_UpdateNetworkResourceMetadata.go.snap +++ b/service/networkmanager/snapshot/api_op_UpdateNetworkResourceMetadata.go.snap @@ -14,7 +14,6 @@ UpdateNetworkResourceMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_UpdateSite.go.snap b/service/networkmanager/snapshot/api_op_UpdateSite.go.snap index f76010c8579..2b758741255 100644 --- a/service/networkmanager/snapshot/api_op_UpdateSite.go.snap +++ b/service/networkmanager/snapshot/api_op_UpdateSite.go.snap @@ -14,7 +14,6 @@ UpdateSite Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmanager/snapshot/api_op_UpdateVpcAttachment.go.snap b/service/networkmanager/snapshot/api_op_UpdateVpcAttachment.go.snap index d7909cc5d8f..5c83d6c3cc4 100644 --- a/service/networkmanager/snapshot/api_op_UpdateVpcAttachment.go.snap +++ b/service/networkmanager/snapshot/api_op_UpdateVpcAttachment.go.snap @@ -14,7 +14,6 @@ UpdateVpcAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmonitor/api_client.go b/service/networkmonitor/api_client.go index 63803f05ab3..176591a2be3 100644 --- a/service/networkmonitor/api_client.go +++ b/service/networkmonitor/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/networkmonitor/api_op_CreateMonitor.go b/service/networkmonitor/api_op_CreateMonitor.go index 9480b70d413..13022507801 100644 --- a/service/networkmonitor/api_op_CreateMonitor.go +++ b/service/networkmonitor/api_op_CreateMonitor.go @@ -167,9 +167,6 @@ func (c *Client) addOperationCreateMonitorMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateMonitorMiddleware(stack, options); err != nil { return err } diff --git a/service/networkmonitor/api_op_CreateProbe.go b/service/networkmonitor/api_op_CreateProbe.go index a53cf3b3a53..c76b3b1d81c 100644 --- a/service/networkmonitor/api_op_CreateProbe.go +++ b/service/networkmonitor/api_op_CreateProbe.go @@ -175,9 +175,6 @@ func (c *Client) addOperationCreateProbeMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateProbeMiddleware(stack, options); err != nil { return err } diff --git a/service/networkmonitor/api_op_DeleteMonitor.go b/service/networkmonitor/api_op_DeleteMonitor.go index 3be6c7c4757..271cbcd8638 100644 --- a/service/networkmonitor/api_op_DeleteMonitor.go +++ b/service/networkmonitor/api_op_DeleteMonitor.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteMonitorMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMonitorValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmonitor/api_op_DeleteProbe.go b/service/networkmonitor/api_op_DeleteProbe.go index d6caa256bb7..248303ed8f4 100644 --- a/service/networkmonitor/api_op_DeleteProbe.go +++ b/service/networkmonitor/api_op_DeleteProbe.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteProbeMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProbeValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmonitor/api_op_GetMonitor.go b/service/networkmonitor/api_op_GetMonitor.go index f9fb61e49a7..39a7ca155a0 100644 --- a/service/networkmonitor/api_op_GetMonitor.go +++ b/service/networkmonitor/api_op_GetMonitor.go @@ -149,9 +149,6 @@ func (c *Client) addOperationGetMonitorMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMonitorValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmonitor/api_op_GetProbe.go b/service/networkmonitor/api_op_GetProbe.go index 3e8dc9558a4..385481ac5fe 100644 --- a/service/networkmonitor/api_op_GetProbe.go +++ b/service/networkmonitor/api_op_GetProbe.go @@ -168,9 +168,6 @@ func (c *Client) addOperationGetProbeMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetProbeValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmonitor/api_op_ListMonitors.go b/service/networkmonitor/api_op_ListMonitors.go index eb46a6c3818..f0d80bd035d 100644 --- a/service/networkmonitor/api_op_ListMonitors.go +++ b/service/networkmonitor/api_op_ListMonitors.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListMonitorsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMonitors(options.Region), middleware.Before); err != nil { return err } diff --git a/service/networkmonitor/api_op_ListTagsForResource.go b/service/networkmonitor/api_op_ListTagsForResource.go index 664f4a3a8df..fc5dcc22124 100644 --- a/service/networkmonitor/api_op_ListTagsForResource.go +++ b/service/networkmonitor/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmonitor/api_op_TagResource.go b/service/networkmonitor/api_op_TagResource.go index cb843d1f0c2..998eab2d390 100644 --- a/service/networkmonitor/api_op_TagResource.go +++ b/service/networkmonitor/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmonitor/api_op_UntagResource.go b/service/networkmonitor/api_op_UntagResource.go index 15b26cf730c..84838f86b06 100644 --- a/service/networkmonitor/api_op_UntagResource.go +++ b/service/networkmonitor/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmonitor/api_op_UpdateMonitor.go b/service/networkmonitor/api_op_UpdateMonitor.go index 7df3c67ca75..ea7cfb0d1bc 100644 --- a/service/networkmonitor/api_op_UpdateMonitor.go +++ b/service/networkmonitor/api_op_UpdateMonitor.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateMonitorMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMonitorValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmonitor/api_op_UpdateProbe.go b/service/networkmonitor/api_op_UpdateProbe.go index 72f4799b519..2e481ce687c 100644 --- a/service/networkmonitor/api_op_UpdateProbe.go +++ b/service/networkmonitor/api_op_UpdateProbe.go @@ -198,9 +198,6 @@ func (c *Client) addOperationUpdateProbeMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateProbeValidationMiddleware(stack); err != nil { return err } diff --git a/service/networkmonitor/snapshot/api_op_CreateMonitor.go.snap b/service/networkmonitor/snapshot/api_op_CreateMonitor.go.snap index d8ff2fc0e4d..e7d6fa5ba59 100644 --- a/service/networkmonitor/snapshot/api_op_CreateMonitor.go.snap +++ b/service/networkmonitor/snapshot/api_op_CreateMonitor.go.snap @@ -15,7 +15,6 @@ CreateMonitor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmonitor/snapshot/api_op_CreateProbe.go.snap b/service/networkmonitor/snapshot/api_op_CreateProbe.go.snap index 91898165110..8981ea49201 100644 --- a/service/networkmonitor/snapshot/api_op_CreateProbe.go.snap +++ b/service/networkmonitor/snapshot/api_op_CreateProbe.go.snap @@ -15,7 +15,6 @@ CreateProbe Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmonitor/snapshot/api_op_DeleteMonitor.go.snap b/service/networkmonitor/snapshot/api_op_DeleteMonitor.go.snap index a83d348660b..afde7f18bf0 100644 --- a/service/networkmonitor/snapshot/api_op_DeleteMonitor.go.snap +++ b/service/networkmonitor/snapshot/api_op_DeleteMonitor.go.snap @@ -14,7 +14,6 @@ DeleteMonitor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmonitor/snapshot/api_op_DeleteProbe.go.snap b/service/networkmonitor/snapshot/api_op_DeleteProbe.go.snap index 9f0a59c876d..764666cac47 100644 --- a/service/networkmonitor/snapshot/api_op_DeleteProbe.go.snap +++ b/service/networkmonitor/snapshot/api_op_DeleteProbe.go.snap @@ -14,7 +14,6 @@ DeleteProbe Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmonitor/snapshot/api_op_GetMonitor.go.snap b/service/networkmonitor/snapshot/api_op_GetMonitor.go.snap index 22e70b05d7a..480accf6e4b 100644 --- a/service/networkmonitor/snapshot/api_op_GetMonitor.go.snap +++ b/service/networkmonitor/snapshot/api_op_GetMonitor.go.snap @@ -14,7 +14,6 @@ GetMonitor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmonitor/snapshot/api_op_GetProbe.go.snap b/service/networkmonitor/snapshot/api_op_GetProbe.go.snap index 910d59e916c..ecde1b772d7 100644 --- a/service/networkmonitor/snapshot/api_op_GetProbe.go.snap +++ b/service/networkmonitor/snapshot/api_op_GetProbe.go.snap @@ -14,7 +14,6 @@ GetProbe Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmonitor/snapshot/api_op_ListMonitors.go.snap b/service/networkmonitor/snapshot/api_op_ListMonitors.go.snap index ae6de0a74e1..b14f384f57d 100644 --- a/service/networkmonitor/snapshot/api_op_ListMonitors.go.snap +++ b/service/networkmonitor/snapshot/api_op_ListMonitors.go.snap @@ -13,7 +13,6 @@ ListMonitors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmonitor/snapshot/api_op_ListTagsForResource.go.snap b/service/networkmonitor/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/networkmonitor/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/networkmonitor/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmonitor/snapshot/api_op_TagResource.go.snap b/service/networkmonitor/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/networkmonitor/snapshot/api_op_TagResource.go.snap +++ b/service/networkmonitor/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmonitor/snapshot/api_op_UntagResource.go.snap b/service/networkmonitor/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/networkmonitor/snapshot/api_op_UntagResource.go.snap +++ b/service/networkmonitor/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmonitor/snapshot/api_op_UpdateMonitor.go.snap b/service/networkmonitor/snapshot/api_op_UpdateMonitor.go.snap index bcb83fc53f7..ffdc8d6febd 100644 --- a/service/networkmonitor/snapshot/api_op_UpdateMonitor.go.snap +++ b/service/networkmonitor/snapshot/api_op_UpdateMonitor.go.snap @@ -14,7 +14,6 @@ UpdateMonitor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/networkmonitor/snapshot/api_op_UpdateProbe.go.snap b/service/networkmonitor/snapshot/api_op_UpdateProbe.go.snap index d18cd0a7cc6..bf932676b27 100644 --- a/service/networkmonitor/snapshot/api_op_UpdateProbe.go.snap +++ b/service/networkmonitor/snapshot/api_op_UpdateProbe.go.snap @@ -14,7 +14,6 @@ UpdateProbe Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/api_client.go b/service/notifications/api_client.go index a6a01a6ba5a..c99e1354db8 100644 --- a/service/notifications/api_client.go +++ b/service/notifications/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/notifications/api_op_AssociateChannel.go b/service/notifications/api_op_AssociateChannel.go index 9dd117d0e95..29a9c03852e 100644 --- a/service/notifications/api_op_AssociateChannel.go +++ b/service/notifications/api_op_AssociateChannel.go @@ -120,9 +120,6 @@ func (c *Client) addOperationAssociateChannelMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/notifications/api_op_AssociateManagedNotificationAccountContact.go b/service/notifications/api_op_AssociateManagedNotificationAccountContact.go index abb3197333e..e0340405a72 100644 --- a/service/notifications/api_op_AssociateManagedNotificationAccountContact.go +++ b/service/notifications/api_op_AssociateManagedNotificationAccountContact.go @@ -116,9 +116,6 @@ func (c *Client) addOperationAssociateManagedNotificationAccountContactMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateManagedNotificationAccountContactValidationMiddleware(stack); err != nil { return err } diff --git a/service/notifications/api_op_AssociateManagedNotificationAdditionalChannel.go b/service/notifications/api_op_AssociateManagedNotificationAdditionalChannel.go index 96238fd6417..24cc234f2bb 100644 --- a/service/notifications/api_op_AssociateManagedNotificationAdditionalChannel.go +++ b/service/notifications/api_op_AssociateManagedNotificationAdditionalChannel.go @@ -121,9 +121,6 @@ func (c *Client) addOperationAssociateManagedNotificationAdditionalChannelMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateManagedNotificationAdditionalChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/notifications/api_op_CreateEventRule.go b/service/notifications/api_op_CreateEventRule.go index 37a17d99c46..46e6de067bc 100644 --- a/service/notifications/api_op_CreateEventRule.go +++ b/service/notifications/api_op_CreateEventRule.go @@ -164,9 +164,6 @@ func (c *Client) addOperationCreateEventRuleMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEventRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/notifications/api_op_CreateNotificationConfiguration.go b/service/notifications/api_op_CreateNotificationConfiguration.go index 614843a1658..03338b246bd 100644 --- a/service/notifications/api_op_CreateNotificationConfiguration.go +++ b/service/notifications/api_op_CreateNotificationConfiguration.go @@ -146,9 +146,6 @@ func (c *Client) addOperationCreateNotificationConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateNotificationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/notifications/api_op_DeleteEventRule.go b/service/notifications/api_op_DeleteEventRule.go index 7317fa17ece..e4a6bf24fb9 100644 --- a/service/notifications/api_op_DeleteEventRule.go +++ b/service/notifications/api_op_DeleteEventRule.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteEventRuleMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEventRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/notifications/api_op_DeleteNotificationConfiguration.go b/service/notifications/api_op_DeleteNotificationConfiguration.go index ce54a6e0f5f..477ec137d4b 100644 --- a/service/notifications/api_op_DeleteNotificationConfiguration.go +++ b/service/notifications/api_op_DeleteNotificationConfiguration.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteNotificationConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteNotificationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/notifications/api_op_DeregisterNotificationHub.go b/service/notifications/api_op_DeregisterNotificationHub.go index 332887f1d42..77549ac9c94 100644 --- a/service/notifications/api_op_DeregisterNotificationHub.go +++ b/service/notifications/api_op_DeregisterNotificationHub.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeregisterNotificationHubMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterNotificationHubValidationMiddleware(stack); err != nil { return err } diff --git a/service/notifications/api_op_DisableNotificationsAccessForOrganization.go b/service/notifications/api_op_DisableNotificationsAccessForOrganization.go index bed3a21bc82..ac95002aed5 100644 --- a/service/notifications/api_op_DisableNotificationsAccessForOrganization.go +++ b/service/notifications/api_op_DisableNotificationsAccessForOrganization.go @@ -102,9 +102,6 @@ func (c *Client) addOperationDisableNotificationsAccessForOrganizationMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableNotificationsAccessForOrganization(options.Region), middleware.Before); err != nil { return err } diff --git a/service/notifications/api_op_DisassociateChannel.go b/service/notifications/api_op_DisassociateChannel.go index 13c55c16ecd..683ae60270e 100644 --- a/service/notifications/api_op_DisassociateChannel.go +++ b/service/notifications/api_op_DisassociateChannel.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDisassociateChannelMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/notifications/api_op_DisassociateManagedNotificationAccountContact.go b/service/notifications/api_op_DisassociateManagedNotificationAccountContact.go index 304eb143a53..143b960f03f 100644 --- a/service/notifications/api_op_DisassociateManagedNotificationAccountContact.go +++ b/service/notifications/api_op_DisassociateManagedNotificationAccountContact.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDisassociateManagedNotificationAccountContactMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateManagedNotificationAccountContactValidationMiddleware(stack); err != nil { return err } diff --git a/service/notifications/api_op_DisassociateManagedNotificationAdditionalChannel.go b/service/notifications/api_op_DisassociateManagedNotificationAdditionalChannel.go index f5dc2f8137d..0586dd0a10c 100644 --- a/service/notifications/api_op_DisassociateManagedNotificationAdditionalChannel.go +++ b/service/notifications/api_op_DisassociateManagedNotificationAdditionalChannel.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDisassociateManagedNotificationAdditionalChannelMid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateManagedNotificationAdditionalChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/notifications/api_op_EnableNotificationsAccessForOrganization.go b/service/notifications/api_op_EnableNotificationsAccessForOrganization.go index 0f3f0bae184..5cacc1d8901 100644 --- a/service/notifications/api_op_EnableNotificationsAccessForOrganization.go +++ b/service/notifications/api_op_EnableNotificationsAccessForOrganization.go @@ -102,9 +102,6 @@ func (c *Client) addOperationEnableNotificationsAccessForOrganizationMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableNotificationsAccessForOrganization(options.Region), middleware.Before); err != nil { return err } diff --git a/service/notifications/api_op_GetEventRule.go b/service/notifications/api_op_GetEventRule.go index 749a105f21c..fa90f052772 100644 --- a/service/notifications/api_op_GetEventRule.go +++ b/service/notifications/api_op_GetEventRule.go @@ -177,9 +177,6 @@ func (c *Client) addOperationGetEventRuleMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEventRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/notifications/api_op_GetManagedNotificationChildEvent.go b/service/notifications/api_op_GetManagedNotificationChildEvent.go index 95154ab3c56..46788ea6161 100644 --- a/service/notifications/api_op_GetManagedNotificationChildEvent.go +++ b/service/notifications/api_op_GetManagedNotificationChildEvent.go @@ -135,9 +135,6 @@ func (c *Client) addOperationGetManagedNotificationChildEventMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetManagedNotificationChildEventValidationMiddleware(stack); err != nil { return err } diff --git a/service/notifications/api_op_GetManagedNotificationConfiguration.go b/service/notifications/api_op_GetManagedNotificationConfiguration.go index 68205cd5aa6..67e77a36993 100644 --- a/service/notifications/api_op_GetManagedNotificationConfiguration.go +++ b/service/notifications/api_op_GetManagedNotificationConfiguration.go @@ -134,9 +134,6 @@ func (c *Client) addOperationGetManagedNotificationConfigurationMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetManagedNotificationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/notifications/api_op_GetManagedNotificationEvent.go b/service/notifications/api_op_GetManagedNotificationEvent.go index d72bcf17ad3..c63b9ff25bc 100644 --- a/service/notifications/api_op_GetManagedNotificationEvent.go +++ b/service/notifications/api_op_GetManagedNotificationEvent.go @@ -134,9 +134,6 @@ func (c *Client) addOperationGetManagedNotificationEventMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetManagedNotificationEventValidationMiddleware(stack); err != nil { return err } diff --git a/service/notifications/api_op_GetNotificationConfiguration.go b/service/notifications/api_op_GetNotificationConfiguration.go index 494948af4ea..0f2170f1719 100644 --- a/service/notifications/api_op_GetNotificationConfiguration.go +++ b/service/notifications/api_op_GetNotificationConfiguration.go @@ -152,9 +152,6 @@ func (c *Client) addOperationGetNotificationConfigurationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetNotificationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/notifications/api_op_GetNotificationEvent.go b/service/notifications/api_op_GetNotificationEvent.go index 5ab3f71a8cf..10bd6f5a275 100644 --- a/service/notifications/api_op_GetNotificationEvent.go +++ b/service/notifications/api_op_GetNotificationEvent.go @@ -144,9 +144,6 @@ func (c *Client) addOperationGetNotificationEventMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetNotificationEventValidationMiddleware(stack); err != nil { return err } diff --git a/service/notifications/api_op_GetNotificationsAccessForOrganization.go b/service/notifications/api_op_GetNotificationsAccessForOrganization.go index 95674b3b1bd..f97df1803da 100644 --- a/service/notifications/api_op_GetNotificationsAccessForOrganization.go +++ b/service/notifications/api_op_GetNotificationsAccessForOrganization.go @@ -110,9 +110,6 @@ func (c *Client) addOperationGetNotificationsAccessForOrganizationMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetNotificationsAccessForOrganization(options.Region), middleware.Before); err != nil { return err } diff --git a/service/notifications/api_op_ListChannels.go b/service/notifications/api_op_ListChannels.go index 0c44bd2cfa3..53f4d159695 100644 --- a/service/notifications/api_op_ListChannels.go +++ b/service/notifications/api_op_ListChannels.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListChannelsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListChannelsValidationMiddleware(stack); err != nil { return err } diff --git a/service/notifications/api_op_ListEventRules.go b/service/notifications/api_op_ListEventRules.go index 84edd1d3239..c13bbbc4a56 100644 --- a/service/notifications/api_op_ListEventRules.go +++ b/service/notifications/api_op_ListEventRules.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListEventRulesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEventRulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/notifications/api_op_ListManagedNotificationChannelAssociations.go b/service/notifications/api_op_ListManagedNotificationChannelAssociations.go index e0590213237..9e480f43d00 100644 --- a/service/notifications/api_op_ListManagedNotificationChannelAssociations.go +++ b/service/notifications/api_op_ListManagedNotificationChannelAssociations.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListManagedNotificationChannelAssociationsMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListManagedNotificationChannelAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/notifications/api_op_ListManagedNotificationChildEvents.go b/service/notifications/api_op_ListManagedNotificationChildEvents.go index 5bbe4d5a921..a434371c214 100644 --- a/service/notifications/api_op_ListManagedNotificationChildEvents.go +++ b/service/notifications/api_op_ListManagedNotificationChildEvents.go @@ -148,9 +148,6 @@ func (c *Client) addOperationListManagedNotificationChildEventsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListManagedNotificationChildEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/notifications/api_op_ListManagedNotificationConfigurations.go b/service/notifications/api_op_ListManagedNotificationConfigurations.go index 0668208ace1..118ea56ffcc 100644 --- a/service/notifications/api_op_ListManagedNotificationConfigurations.go +++ b/service/notifications/api_op_ListManagedNotificationConfigurations.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListManagedNotificationConfigurationsMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListManagedNotificationConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/notifications/api_op_ListManagedNotificationEvents.go b/service/notifications/api_op_ListManagedNotificationEvents.go index 9e312af14f0..cde6131a04f 100644 --- a/service/notifications/api_op_ListManagedNotificationEvents.go +++ b/service/notifications/api_op_ListManagedNotificationEvents.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListManagedNotificationEventsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListManagedNotificationEvents(options.Region), middleware.Before); err != nil { return err } diff --git a/service/notifications/api_op_ListNotificationConfigurations.go b/service/notifications/api_op_ListNotificationConfigurations.go index 7fe55f516aa..2bc0a76128f 100644 --- a/service/notifications/api_op_ListNotificationConfigurations.go +++ b/service/notifications/api_op_ListNotificationConfigurations.go @@ -158,9 +158,6 @@ func (c *Client) addOperationListNotificationConfigurationsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNotificationConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/notifications/api_op_ListNotificationEvents.go b/service/notifications/api_op_ListNotificationEvents.go index 2bc7d6f4b21..9a7b2548b12 100644 --- a/service/notifications/api_op_ListNotificationEvents.go +++ b/service/notifications/api_op_ListNotificationEvents.go @@ -157,9 +157,6 @@ func (c *Client) addOperationListNotificationEventsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNotificationEvents(options.Region), middleware.Before); err != nil { return err } diff --git a/service/notifications/api_op_ListNotificationHubs.go b/service/notifications/api_op_ListNotificationHubs.go index 6916a61905c..b4f0f3f00f3 100644 --- a/service/notifications/api_op_ListNotificationHubs.go +++ b/service/notifications/api_op_ListNotificationHubs.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListNotificationHubsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNotificationHubs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/notifications/api_op_ListTagsForResource.go b/service/notifications/api_op_ListTagsForResource.go index 54837a72750..63a9111834a 100644 --- a/service/notifications/api_op_ListTagsForResource.go +++ b/service/notifications/api_op_ListTagsForResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/notifications/api_op_RegisterNotificationHub.go b/service/notifications/api_op_RegisterNotificationHub.go index 7e192bd1feb..331d8596293 100644 --- a/service/notifications/api_op_RegisterNotificationHub.go +++ b/service/notifications/api_op_RegisterNotificationHub.go @@ -132,9 +132,6 @@ func (c *Client) addOperationRegisterNotificationHubMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterNotificationHubValidationMiddleware(stack); err != nil { return err } diff --git a/service/notifications/api_op_TagResource.go b/service/notifications/api_op_TagResource.go index 9809b3c2834..5442791c14f 100644 --- a/service/notifications/api_op_TagResource.go +++ b/service/notifications/api_op_TagResource.go @@ -120,9 +120,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/notifications/api_op_UntagResource.go b/service/notifications/api_op_UntagResource.go index fb9418683eb..704562dce36 100644 --- a/service/notifications/api_op_UntagResource.go +++ b/service/notifications/api_op_UntagResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/notifications/api_op_UpdateEventRule.go b/service/notifications/api_op_UpdateEventRule.go index e2d5bcf6096..eaf6d91a199 100644 --- a/service/notifications/api_op_UpdateEventRule.go +++ b/service/notifications/api_op_UpdateEventRule.go @@ -135,9 +135,6 @@ func (c *Client) addOperationUpdateEventRuleMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEventRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/notifications/api_op_UpdateNotificationConfiguration.go b/service/notifications/api_op_UpdateNotificationConfiguration.go index 1b0b11d0668..8eee5589620 100644 --- a/service/notifications/api_op_UpdateNotificationConfiguration.go +++ b/service/notifications/api_op_UpdateNotificationConfiguration.go @@ -137,9 +137,6 @@ func (c *Client) addOperationUpdateNotificationConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateNotificationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/notifications/snapshot/api_op_AssociateChannel.go.snap b/service/notifications/snapshot/api_op_AssociateChannel.go.snap index 705dbe71838..3aa45a7bae3 100644 --- a/service/notifications/snapshot/api_op_AssociateChannel.go.snap +++ b/service/notifications/snapshot/api_op_AssociateChannel.go.snap @@ -14,7 +14,6 @@ AssociateChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_AssociateManagedNotificationAccountContact.go.snap b/service/notifications/snapshot/api_op_AssociateManagedNotificationAccountContact.go.snap index 179269c588f..54c66efe46f 100644 --- a/service/notifications/snapshot/api_op_AssociateManagedNotificationAccountContact.go.snap +++ b/service/notifications/snapshot/api_op_AssociateManagedNotificationAccountContact.go.snap @@ -14,7 +14,6 @@ AssociateManagedNotificationAccountContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_AssociateManagedNotificationAdditionalChannel.go.snap b/service/notifications/snapshot/api_op_AssociateManagedNotificationAdditionalChannel.go.snap index a488107d6b9..381ed740b25 100644 --- a/service/notifications/snapshot/api_op_AssociateManagedNotificationAdditionalChannel.go.snap +++ b/service/notifications/snapshot/api_op_AssociateManagedNotificationAdditionalChannel.go.snap @@ -14,7 +14,6 @@ AssociateManagedNotificationAdditionalChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_CreateEventRule.go.snap b/service/notifications/snapshot/api_op_CreateEventRule.go.snap index 78405ebe013..3558c38cccc 100644 --- a/service/notifications/snapshot/api_op_CreateEventRule.go.snap +++ b/service/notifications/snapshot/api_op_CreateEventRule.go.snap @@ -14,7 +14,6 @@ CreateEventRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_CreateNotificationConfiguration.go.snap b/service/notifications/snapshot/api_op_CreateNotificationConfiguration.go.snap index 5d1d4e1d3ca..20e6cf48ffa 100644 --- a/service/notifications/snapshot/api_op_CreateNotificationConfiguration.go.snap +++ b/service/notifications/snapshot/api_op_CreateNotificationConfiguration.go.snap @@ -14,7 +14,6 @@ CreateNotificationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_DeleteEventRule.go.snap b/service/notifications/snapshot/api_op_DeleteEventRule.go.snap index 761037f08b3..f2490c09b4d 100644 --- a/service/notifications/snapshot/api_op_DeleteEventRule.go.snap +++ b/service/notifications/snapshot/api_op_DeleteEventRule.go.snap @@ -14,7 +14,6 @@ DeleteEventRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_DeleteNotificationConfiguration.go.snap b/service/notifications/snapshot/api_op_DeleteNotificationConfiguration.go.snap index 2573a1a5c4e..1fac8d111eb 100644 --- a/service/notifications/snapshot/api_op_DeleteNotificationConfiguration.go.snap +++ b/service/notifications/snapshot/api_op_DeleteNotificationConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteNotificationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_DeregisterNotificationHub.go.snap b/service/notifications/snapshot/api_op_DeregisterNotificationHub.go.snap index 050f3d058d7..9fa26f9ff52 100644 --- a/service/notifications/snapshot/api_op_DeregisterNotificationHub.go.snap +++ b/service/notifications/snapshot/api_op_DeregisterNotificationHub.go.snap @@ -14,7 +14,6 @@ DeregisterNotificationHub Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_DisableNotificationsAccessForOrganization.go.snap b/service/notifications/snapshot/api_op_DisableNotificationsAccessForOrganization.go.snap index 494c809424e..c8ae85bad45 100644 --- a/service/notifications/snapshot/api_op_DisableNotificationsAccessForOrganization.go.snap +++ b/service/notifications/snapshot/api_op_DisableNotificationsAccessForOrganization.go.snap @@ -13,7 +13,6 @@ DisableNotificationsAccessForOrganization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_DisassociateChannel.go.snap b/service/notifications/snapshot/api_op_DisassociateChannel.go.snap index 15671e72a4e..888eb5f8437 100644 --- a/service/notifications/snapshot/api_op_DisassociateChannel.go.snap +++ b/service/notifications/snapshot/api_op_DisassociateChannel.go.snap @@ -14,7 +14,6 @@ DisassociateChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_DisassociateManagedNotificationAccountContact.go.snap b/service/notifications/snapshot/api_op_DisassociateManagedNotificationAccountContact.go.snap index 34a23d2c6ef..4c177ec0f16 100644 --- a/service/notifications/snapshot/api_op_DisassociateManagedNotificationAccountContact.go.snap +++ b/service/notifications/snapshot/api_op_DisassociateManagedNotificationAccountContact.go.snap @@ -14,7 +14,6 @@ DisassociateManagedNotificationAccountContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_DisassociateManagedNotificationAdditionalChannel.go.snap b/service/notifications/snapshot/api_op_DisassociateManagedNotificationAdditionalChannel.go.snap index 31f2604788a..50ef0e6c7c0 100644 --- a/service/notifications/snapshot/api_op_DisassociateManagedNotificationAdditionalChannel.go.snap +++ b/service/notifications/snapshot/api_op_DisassociateManagedNotificationAdditionalChannel.go.snap @@ -14,7 +14,6 @@ DisassociateManagedNotificationAdditionalChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_EnableNotificationsAccessForOrganization.go.snap b/service/notifications/snapshot/api_op_EnableNotificationsAccessForOrganization.go.snap index 6abec3500a5..039fe9c6828 100644 --- a/service/notifications/snapshot/api_op_EnableNotificationsAccessForOrganization.go.snap +++ b/service/notifications/snapshot/api_op_EnableNotificationsAccessForOrganization.go.snap @@ -13,7 +13,6 @@ EnableNotificationsAccessForOrganization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_GetEventRule.go.snap b/service/notifications/snapshot/api_op_GetEventRule.go.snap index eb59bc0ac61..2cb510cfc7c 100644 --- a/service/notifications/snapshot/api_op_GetEventRule.go.snap +++ b/service/notifications/snapshot/api_op_GetEventRule.go.snap @@ -14,7 +14,6 @@ GetEventRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_GetManagedNotificationChildEvent.go.snap b/service/notifications/snapshot/api_op_GetManagedNotificationChildEvent.go.snap index 138f8258f70..38982024667 100644 --- a/service/notifications/snapshot/api_op_GetManagedNotificationChildEvent.go.snap +++ b/service/notifications/snapshot/api_op_GetManagedNotificationChildEvent.go.snap @@ -14,7 +14,6 @@ GetManagedNotificationChildEvent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_GetManagedNotificationConfiguration.go.snap b/service/notifications/snapshot/api_op_GetManagedNotificationConfiguration.go.snap index f5b43982d0c..9c30636330c 100644 --- a/service/notifications/snapshot/api_op_GetManagedNotificationConfiguration.go.snap +++ b/service/notifications/snapshot/api_op_GetManagedNotificationConfiguration.go.snap @@ -14,7 +14,6 @@ GetManagedNotificationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_GetManagedNotificationEvent.go.snap b/service/notifications/snapshot/api_op_GetManagedNotificationEvent.go.snap index bda6da05ecc..6b49ae4b473 100644 --- a/service/notifications/snapshot/api_op_GetManagedNotificationEvent.go.snap +++ b/service/notifications/snapshot/api_op_GetManagedNotificationEvent.go.snap @@ -14,7 +14,6 @@ GetManagedNotificationEvent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_GetNotificationConfiguration.go.snap b/service/notifications/snapshot/api_op_GetNotificationConfiguration.go.snap index f0ee2563469..6fa135347e5 100644 --- a/service/notifications/snapshot/api_op_GetNotificationConfiguration.go.snap +++ b/service/notifications/snapshot/api_op_GetNotificationConfiguration.go.snap @@ -14,7 +14,6 @@ GetNotificationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_GetNotificationEvent.go.snap b/service/notifications/snapshot/api_op_GetNotificationEvent.go.snap index 73de9919796..f598b4fad42 100644 --- a/service/notifications/snapshot/api_op_GetNotificationEvent.go.snap +++ b/service/notifications/snapshot/api_op_GetNotificationEvent.go.snap @@ -14,7 +14,6 @@ GetNotificationEvent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_GetNotificationsAccessForOrganization.go.snap b/service/notifications/snapshot/api_op_GetNotificationsAccessForOrganization.go.snap index 36f0549c42a..fc8828b65bc 100644 --- a/service/notifications/snapshot/api_op_GetNotificationsAccessForOrganization.go.snap +++ b/service/notifications/snapshot/api_op_GetNotificationsAccessForOrganization.go.snap @@ -13,7 +13,6 @@ GetNotificationsAccessForOrganization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_ListChannels.go.snap b/service/notifications/snapshot/api_op_ListChannels.go.snap index ce86206744d..5a0797d47d0 100644 --- a/service/notifications/snapshot/api_op_ListChannels.go.snap +++ b/service/notifications/snapshot/api_op_ListChannels.go.snap @@ -14,7 +14,6 @@ ListChannels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_ListEventRules.go.snap b/service/notifications/snapshot/api_op_ListEventRules.go.snap index 6a9aa5b1046..364220a7c6b 100644 --- a/service/notifications/snapshot/api_op_ListEventRules.go.snap +++ b/service/notifications/snapshot/api_op_ListEventRules.go.snap @@ -14,7 +14,6 @@ ListEventRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_ListManagedNotificationChannelAssociations.go.snap b/service/notifications/snapshot/api_op_ListManagedNotificationChannelAssociations.go.snap index 08a31dd3bdb..c0d13a3fb2f 100644 --- a/service/notifications/snapshot/api_op_ListManagedNotificationChannelAssociations.go.snap +++ b/service/notifications/snapshot/api_op_ListManagedNotificationChannelAssociations.go.snap @@ -14,7 +14,6 @@ ListManagedNotificationChannelAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_ListManagedNotificationChildEvents.go.snap b/service/notifications/snapshot/api_op_ListManagedNotificationChildEvents.go.snap index d7015a72004..c184ccdfe37 100644 --- a/service/notifications/snapshot/api_op_ListManagedNotificationChildEvents.go.snap +++ b/service/notifications/snapshot/api_op_ListManagedNotificationChildEvents.go.snap @@ -14,7 +14,6 @@ ListManagedNotificationChildEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_ListManagedNotificationConfigurations.go.snap b/service/notifications/snapshot/api_op_ListManagedNotificationConfigurations.go.snap index eb3e0a84530..c9f72e33d40 100644 --- a/service/notifications/snapshot/api_op_ListManagedNotificationConfigurations.go.snap +++ b/service/notifications/snapshot/api_op_ListManagedNotificationConfigurations.go.snap @@ -13,7 +13,6 @@ ListManagedNotificationConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_ListManagedNotificationEvents.go.snap b/service/notifications/snapshot/api_op_ListManagedNotificationEvents.go.snap index 1ee79b76ec4..14132daa863 100644 --- a/service/notifications/snapshot/api_op_ListManagedNotificationEvents.go.snap +++ b/service/notifications/snapshot/api_op_ListManagedNotificationEvents.go.snap @@ -13,7 +13,6 @@ ListManagedNotificationEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_ListNotificationConfigurations.go.snap b/service/notifications/snapshot/api_op_ListNotificationConfigurations.go.snap index 2ad767ac1d1..268ccb12f19 100644 --- a/service/notifications/snapshot/api_op_ListNotificationConfigurations.go.snap +++ b/service/notifications/snapshot/api_op_ListNotificationConfigurations.go.snap @@ -13,7 +13,6 @@ ListNotificationConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_ListNotificationEvents.go.snap b/service/notifications/snapshot/api_op_ListNotificationEvents.go.snap index 1d891684acd..b59c58692f1 100644 --- a/service/notifications/snapshot/api_op_ListNotificationEvents.go.snap +++ b/service/notifications/snapshot/api_op_ListNotificationEvents.go.snap @@ -13,7 +13,6 @@ ListNotificationEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_ListNotificationHubs.go.snap b/service/notifications/snapshot/api_op_ListNotificationHubs.go.snap index 67049d470e8..48bfe3254ef 100644 --- a/service/notifications/snapshot/api_op_ListNotificationHubs.go.snap +++ b/service/notifications/snapshot/api_op_ListNotificationHubs.go.snap @@ -13,7 +13,6 @@ ListNotificationHubs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_ListTagsForResource.go.snap b/service/notifications/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/notifications/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/notifications/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_RegisterNotificationHub.go.snap b/service/notifications/snapshot/api_op_RegisterNotificationHub.go.snap index 9c509e6d28e..9bd5e9fd290 100644 --- a/service/notifications/snapshot/api_op_RegisterNotificationHub.go.snap +++ b/service/notifications/snapshot/api_op_RegisterNotificationHub.go.snap @@ -14,7 +14,6 @@ RegisterNotificationHub Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_TagResource.go.snap b/service/notifications/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/notifications/snapshot/api_op_TagResource.go.snap +++ b/service/notifications/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_UntagResource.go.snap b/service/notifications/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/notifications/snapshot/api_op_UntagResource.go.snap +++ b/service/notifications/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_UpdateEventRule.go.snap b/service/notifications/snapshot/api_op_UpdateEventRule.go.snap index dbd32cc8f86..409d68423e8 100644 --- a/service/notifications/snapshot/api_op_UpdateEventRule.go.snap +++ b/service/notifications/snapshot/api_op_UpdateEventRule.go.snap @@ -14,7 +14,6 @@ UpdateEventRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notifications/snapshot/api_op_UpdateNotificationConfiguration.go.snap b/service/notifications/snapshot/api_op_UpdateNotificationConfiguration.go.snap index 3dd1bb1a27e..7100cb96ef1 100644 --- a/service/notifications/snapshot/api_op_UpdateNotificationConfiguration.go.snap +++ b/service/notifications/snapshot/api_op_UpdateNotificationConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateNotificationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notificationscontacts/api_client.go b/service/notificationscontacts/api_client.go index ce0d7419174..9da67bd7acb 100644 --- a/service/notificationscontacts/api_client.go +++ b/service/notificationscontacts/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/notificationscontacts/api_op_ActivateEmailContact.go b/service/notificationscontacts/api_op_ActivateEmailContact.go index b3acc157be3..a12f2d2ebfe 100644 --- a/service/notificationscontacts/api_op_ActivateEmailContact.go +++ b/service/notificationscontacts/api_op_ActivateEmailContact.go @@ -118,9 +118,6 @@ func (c *Client) addOperationActivateEmailContactMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpActivateEmailContactValidationMiddleware(stack); err != nil { return err } diff --git a/service/notificationscontacts/api_op_CreateEmailContact.go b/service/notificationscontacts/api_op_CreateEmailContact.go index e292cef5596..5a150ed11da 100644 --- a/service/notificationscontacts/api_op_CreateEmailContact.go +++ b/service/notificationscontacts/api_op_CreateEmailContact.go @@ -125,9 +125,6 @@ func (c *Client) addOperationCreateEmailContactMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEmailContactValidationMiddleware(stack); err != nil { return err } diff --git a/service/notificationscontacts/api_op_DeleteEmailContact.go b/service/notificationscontacts/api_op_DeleteEmailContact.go index 4029bf787a6..69808d6f81f 100644 --- a/service/notificationscontacts/api_op_DeleteEmailContact.go +++ b/service/notificationscontacts/api_op_DeleteEmailContact.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteEmailContactMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEmailContactValidationMiddleware(stack); err != nil { return err } diff --git a/service/notificationscontacts/api_op_GetEmailContact.go b/service/notificationscontacts/api_op_GetEmailContact.go index 13c303e2285..a198185a2c1 100644 --- a/service/notificationscontacts/api_op_GetEmailContact.go +++ b/service/notificationscontacts/api_op_GetEmailContact.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetEmailContactMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEmailContactValidationMiddleware(stack); err != nil { return err } diff --git a/service/notificationscontacts/api_op_ListEmailContacts.go b/service/notificationscontacts/api_op_ListEmailContacts.go index 946a00ebec8..fe55fac1532 100644 --- a/service/notificationscontacts/api_op_ListEmailContacts.go +++ b/service/notificationscontacts/api_op_ListEmailContacts.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListEmailContactsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEmailContacts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/notificationscontacts/api_op_ListTagsForResource.go b/service/notificationscontacts/api_op_ListTagsForResource.go index a557f28eb07..c655d22ed1a 100644 --- a/service/notificationscontacts/api_op_ListTagsForResource.go +++ b/service/notificationscontacts/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/notificationscontacts/api_op_SendActivationCode.go b/service/notificationscontacts/api_op_SendActivationCode.go index 761bb44b470..60f0597ff12 100644 --- a/service/notificationscontacts/api_op_SendActivationCode.go +++ b/service/notificationscontacts/api_op_SendActivationCode.go @@ -111,9 +111,6 @@ func (c *Client) addOperationSendActivationCodeMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendActivationCodeValidationMiddleware(stack); err != nil { return err } diff --git a/service/notificationscontacts/api_op_TagResource.go b/service/notificationscontacts/api_op_TagResource.go index f2fe34d0834..acdfdb11c90 100644 --- a/service/notificationscontacts/api_op_TagResource.go +++ b/service/notificationscontacts/api_op_TagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/notificationscontacts/api_op_UntagResource.go b/service/notificationscontacts/api_op_UntagResource.go index d7c1d90245d..0dc4fdd8f27 100644 --- a/service/notificationscontacts/api_op_UntagResource.go +++ b/service/notificationscontacts/api_op_UntagResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/notificationscontacts/snapshot/api_op_ActivateEmailContact.go.snap b/service/notificationscontacts/snapshot/api_op_ActivateEmailContact.go.snap index 4d0e2e151a4..2580033072e 100644 --- a/service/notificationscontacts/snapshot/api_op_ActivateEmailContact.go.snap +++ b/service/notificationscontacts/snapshot/api_op_ActivateEmailContact.go.snap @@ -14,7 +14,6 @@ ActivateEmailContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notificationscontacts/snapshot/api_op_CreateEmailContact.go.snap b/service/notificationscontacts/snapshot/api_op_CreateEmailContact.go.snap index 16601cd42c6..5fb9b946530 100644 --- a/service/notificationscontacts/snapshot/api_op_CreateEmailContact.go.snap +++ b/service/notificationscontacts/snapshot/api_op_CreateEmailContact.go.snap @@ -14,7 +14,6 @@ CreateEmailContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notificationscontacts/snapshot/api_op_DeleteEmailContact.go.snap b/service/notificationscontacts/snapshot/api_op_DeleteEmailContact.go.snap index 1cffd054b64..96a2b7421b5 100644 --- a/service/notificationscontacts/snapshot/api_op_DeleteEmailContact.go.snap +++ b/service/notificationscontacts/snapshot/api_op_DeleteEmailContact.go.snap @@ -14,7 +14,6 @@ DeleteEmailContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notificationscontacts/snapshot/api_op_GetEmailContact.go.snap b/service/notificationscontacts/snapshot/api_op_GetEmailContact.go.snap index 83b1c738725..149ce4719ae 100644 --- a/service/notificationscontacts/snapshot/api_op_GetEmailContact.go.snap +++ b/service/notificationscontacts/snapshot/api_op_GetEmailContact.go.snap @@ -14,7 +14,6 @@ GetEmailContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notificationscontacts/snapshot/api_op_ListEmailContacts.go.snap b/service/notificationscontacts/snapshot/api_op_ListEmailContacts.go.snap index 4216268637b..9c54eb79102 100644 --- a/service/notificationscontacts/snapshot/api_op_ListEmailContacts.go.snap +++ b/service/notificationscontacts/snapshot/api_op_ListEmailContacts.go.snap @@ -13,7 +13,6 @@ ListEmailContacts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notificationscontacts/snapshot/api_op_ListTagsForResource.go.snap b/service/notificationscontacts/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/notificationscontacts/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/notificationscontacts/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notificationscontacts/snapshot/api_op_SendActivationCode.go.snap b/service/notificationscontacts/snapshot/api_op_SendActivationCode.go.snap index e036d95f503..9099ef6ba89 100644 --- a/service/notificationscontacts/snapshot/api_op_SendActivationCode.go.snap +++ b/service/notificationscontacts/snapshot/api_op_SendActivationCode.go.snap @@ -14,7 +14,6 @@ SendActivationCode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notificationscontacts/snapshot/api_op_TagResource.go.snap b/service/notificationscontacts/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/notificationscontacts/snapshot/api_op_TagResource.go.snap +++ b/service/notificationscontacts/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/notificationscontacts/snapshot/api_op_UntagResource.go.snap b/service/notificationscontacts/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/notificationscontacts/snapshot/api_op_UntagResource.go.snap +++ b/service/notificationscontacts/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/oam/api_client.go b/service/oam/api_client.go index b8a426acc1b..e3718e56ce7 100644 --- a/service/oam/api_client.go +++ b/service/oam/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/oam/api_op_CreateLink.go b/service/oam/api_op_CreateLink.go index 8c0bd821acd..8d1448abb48 100644 --- a/service/oam/api_op_CreateLink.go +++ b/service/oam/api_op_CreateLink.go @@ -196,9 +196,6 @@ func (c *Client) addOperationCreateLinkMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLinkValidationMiddleware(stack); err != nil { return err } diff --git a/service/oam/api_op_CreateSink.go b/service/oam/api_op_CreateSink.go index f36f52d1793..d97f5c10799 100644 --- a/service/oam/api_op_CreateSink.go +++ b/service/oam/api_op_CreateSink.go @@ -142,9 +142,6 @@ func (c *Client) addOperationCreateSinkMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSinkValidationMiddleware(stack); err != nil { return err } diff --git a/service/oam/api_op_DeleteLink.go b/service/oam/api_op_DeleteLink.go index fc81aa52260..3d60962766f 100644 --- a/service/oam/api_op_DeleteLink.go +++ b/service/oam/api_op_DeleteLink.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteLinkMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLinkValidationMiddleware(stack); err != nil { return err } diff --git a/service/oam/api_op_DeleteSink.go b/service/oam/api_op_DeleteSink.go index 5f769f9b777..4fdc621338d 100644 --- a/service/oam/api_op_DeleteSink.go +++ b/service/oam/api_op_DeleteSink.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteSinkMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSinkValidationMiddleware(stack); err != nil { return err } diff --git a/service/oam/api_op_GetLink.go b/service/oam/api_op_GetLink.go index 734bc760cfb..224276e062d 100644 --- a/service/oam/api_op_GetLink.go +++ b/service/oam/api_op_GetLink.go @@ -141,9 +141,6 @@ func (c *Client) addOperationGetLinkMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLinkValidationMiddleware(stack); err != nil { return err } diff --git a/service/oam/api_op_GetSink.go b/service/oam/api_op_GetSink.go index 70c9a347c53..e4199df5ed4 100644 --- a/service/oam/api_op_GetSink.go +++ b/service/oam/api_op_GetSink.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetSinkMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSinkValidationMiddleware(stack); err != nil { return err } diff --git a/service/oam/api_op_GetSinkPolicy.go b/service/oam/api_op_GetSinkPolicy.go index 4ea9d70cc4d..0765fa564b9 100644 --- a/service/oam/api_op_GetSinkPolicy.go +++ b/service/oam/api_op_GetSinkPolicy.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetSinkPolicyMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSinkPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/oam/api_op_ListAttachedLinks.go b/service/oam/api_op_ListAttachedLinks.go index be1d867b34a..daf20e5cfec 100644 --- a/service/oam/api_op_ListAttachedLinks.go +++ b/service/oam/api_op_ListAttachedLinks.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListAttachedLinksMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAttachedLinksValidationMiddleware(stack); err != nil { return err } diff --git a/service/oam/api_op_ListLinks.go b/service/oam/api_op_ListLinks.go index 1adaa9f2669..6ae40e4f725 100644 --- a/service/oam/api_op_ListLinks.go +++ b/service/oam/api_op_ListLinks.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListLinksMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLinks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/oam/api_op_ListSinks.go b/service/oam/api_op_ListSinks.go index 37e7d4c213a..d1517bf0a94 100644 --- a/service/oam/api_op_ListSinks.go +++ b/service/oam/api_op_ListSinks.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListSinksMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSinks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/oam/api_op_ListTagsForResource.go b/service/oam/api_op_ListTagsForResource.go index 6b0c06a4edb..00f07971904 100644 --- a/service/oam/api_op_ListTagsForResource.go +++ b/service/oam/api_op_ListTagsForResource.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/oam/api_op_PutSinkPolicy.go b/service/oam/api_op_PutSinkPolicy.go index a4938873d48..aefe78e7669 100644 --- a/service/oam/api_op_PutSinkPolicy.go +++ b/service/oam/api_op_PutSinkPolicy.go @@ -147,9 +147,6 @@ func (c *Client) addOperationPutSinkPolicyMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutSinkPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/oam/api_op_TagResource.go b/service/oam/api_op_TagResource.go index 19848186413..df9f6cf868f 100644 --- a/service/oam/api_op_TagResource.go +++ b/service/oam/api_op_TagResource.go @@ -140,9 +140,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/oam/api_op_UntagResource.go b/service/oam/api_op_UntagResource.go index 899ea852d73..912a493d14f 100644 --- a/service/oam/api_op_UntagResource.go +++ b/service/oam/api_op_UntagResource.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/oam/api_op_UpdateLink.go b/service/oam/api_op_UpdateLink.go index 8efac44e3c0..f929a414400 100644 --- a/service/oam/api_op_UpdateLink.go +++ b/service/oam/api_op_UpdateLink.go @@ -158,9 +158,6 @@ func (c *Client) addOperationUpdateLinkMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLinkValidationMiddleware(stack); err != nil { return err } diff --git a/service/oam/snapshot/api_op_CreateLink.go.snap b/service/oam/snapshot/api_op_CreateLink.go.snap index b5f02332f9c..be3268d07c5 100644 --- a/service/oam/snapshot/api_op_CreateLink.go.snap +++ b/service/oam/snapshot/api_op_CreateLink.go.snap @@ -14,7 +14,6 @@ CreateLink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/oam/snapshot/api_op_CreateSink.go.snap b/service/oam/snapshot/api_op_CreateSink.go.snap index e234ead5a98..5d3f372f7f6 100644 --- a/service/oam/snapshot/api_op_CreateSink.go.snap +++ b/service/oam/snapshot/api_op_CreateSink.go.snap @@ -14,7 +14,6 @@ CreateSink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/oam/snapshot/api_op_DeleteLink.go.snap b/service/oam/snapshot/api_op_DeleteLink.go.snap index 7fed205282d..d2b9df504f5 100644 --- a/service/oam/snapshot/api_op_DeleteLink.go.snap +++ b/service/oam/snapshot/api_op_DeleteLink.go.snap @@ -14,7 +14,6 @@ DeleteLink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/oam/snapshot/api_op_DeleteSink.go.snap b/service/oam/snapshot/api_op_DeleteSink.go.snap index 05e01eff3cb..0851c8e5a37 100644 --- a/service/oam/snapshot/api_op_DeleteSink.go.snap +++ b/service/oam/snapshot/api_op_DeleteSink.go.snap @@ -14,7 +14,6 @@ DeleteSink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/oam/snapshot/api_op_GetLink.go.snap b/service/oam/snapshot/api_op_GetLink.go.snap index 94c3ecc2750..30b48beaf7c 100644 --- a/service/oam/snapshot/api_op_GetLink.go.snap +++ b/service/oam/snapshot/api_op_GetLink.go.snap @@ -14,7 +14,6 @@ GetLink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/oam/snapshot/api_op_GetSink.go.snap b/service/oam/snapshot/api_op_GetSink.go.snap index bba7c6ad09d..99bf56fe036 100644 --- a/service/oam/snapshot/api_op_GetSink.go.snap +++ b/service/oam/snapshot/api_op_GetSink.go.snap @@ -14,7 +14,6 @@ GetSink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/oam/snapshot/api_op_GetSinkPolicy.go.snap b/service/oam/snapshot/api_op_GetSinkPolicy.go.snap index 62c2deb903b..3d8eb66742f 100644 --- a/service/oam/snapshot/api_op_GetSinkPolicy.go.snap +++ b/service/oam/snapshot/api_op_GetSinkPolicy.go.snap @@ -14,7 +14,6 @@ GetSinkPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/oam/snapshot/api_op_ListAttachedLinks.go.snap b/service/oam/snapshot/api_op_ListAttachedLinks.go.snap index 5fbc03db6c9..e327c2cb681 100644 --- a/service/oam/snapshot/api_op_ListAttachedLinks.go.snap +++ b/service/oam/snapshot/api_op_ListAttachedLinks.go.snap @@ -14,7 +14,6 @@ ListAttachedLinks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/oam/snapshot/api_op_ListLinks.go.snap b/service/oam/snapshot/api_op_ListLinks.go.snap index e30504d2999..e22ea19145e 100644 --- a/service/oam/snapshot/api_op_ListLinks.go.snap +++ b/service/oam/snapshot/api_op_ListLinks.go.snap @@ -13,7 +13,6 @@ ListLinks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/oam/snapshot/api_op_ListSinks.go.snap b/service/oam/snapshot/api_op_ListSinks.go.snap index eee9cc517b6..6835a47791e 100644 --- a/service/oam/snapshot/api_op_ListSinks.go.snap +++ b/service/oam/snapshot/api_op_ListSinks.go.snap @@ -13,7 +13,6 @@ ListSinks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/oam/snapshot/api_op_ListTagsForResource.go.snap b/service/oam/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/oam/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/oam/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/oam/snapshot/api_op_PutSinkPolicy.go.snap b/service/oam/snapshot/api_op_PutSinkPolicy.go.snap index 411d4308706..e3b303f214d 100644 --- a/service/oam/snapshot/api_op_PutSinkPolicy.go.snap +++ b/service/oam/snapshot/api_op_PutSinkPolicy.go.snap @@ -14,7 +14,6 @@ PutSinkPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/oam/snapshot/api_op_TagResource.go.snap b/service/oam/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/oam/snapshot/api_op_TagResource.go.snap +++ b/service/oam/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/oam/snapshot/api_op_UntagResource.go.snap b/service/oam/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/oam/snapshot/api_op_UntagResource.go.snap +++ b/service/oam/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/oam/snapshot/api_op_UpdateLink.go.snap b/service/oam/snapshot/api_op_UpdateLink.go.snap index c4467373561..353e8ad946a 100644 --- a/service/oam/snapshot/api_op_UpdateLink.go.snap +++ b/service/oam/snapshot/api_op_UpdateLink.go.snap @@ -14,7 +14,6 @@ UpdateLink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/observabilityadmin/api_client.go b/service/observabilityadmin/api_client.go index befc526774f..3aac31e891c 100644 --- a/service/observabilityadmin/api_client.go +++ b/service/observabilityadmin/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/observabilityadmin/api_op_GetTelemetryEvaluationStatus.go b/service/observabilityadmin/api_op_GetTelemetryEvaluationStatus.go index ef720cdc5fc..a51741b6919 100644 --- a/service/observabilityadmin/api_op_GetTelemetryEvaluationStatus.go +++ b/service/observabilityadmin/api_op_GetTelemetryEvaluationStatus.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetTelemetryEvaluationStatusMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTelemetryEvaluationStatus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/observabilityadmin/api_op_GetTelemetryEvaluationStatusForOrganization.go b/service/observabilityadmin/api_op_GetTelemetryEvaluationStatusForOrganization.go index c3744ef2a9e..619797095c9 100644 --- a/service/observabilityadmin/api_op_GetTelemetryEvaluationStatusForOrganization.go +++ b/service/observabilityadmin/api_op_GetTelemetryEvaluationStatusForOrganization.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetTelemetryEvaluationStatusForOrganizationMiddlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTelemetryEvaluationStatusForOrganization(options.Region), middleware.Before); err != nil { return err } diff --git a/service/observabilityadmin/api_op_ListResourceTelemetry.go b/service/observabilityadmin/api_op_ListResourceTelemetry.go index 6b755a5e76f..3b5de7cfae3 100644 --- a/service/observabilityadmin/api_op_ListResourceTelemetry.go +++ b/service/observabilityadmin/api_op_ListResourceTelemetry.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListResourceTelemetryMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourceTelemetry(options.Region), middleware.Before); err != nil { return err } diff --git a/service/observabilityadmin/api_op_ListResourceTelemetryForOrganization.go b/service/observabilityadmin/api_op_ListResourceTelemetryForOrganization.go index 4cb892ffc46..6196c995c6b 100644 --- a/service/observabilityadmin/api_op_ListResourceTelemetryForOrganization.go +++ b/service/observabilityadmin/api_op_ListResourceTelemetryForOrganization.go @@ -145,9 +145,6 @@ func (c *Client) addOperationListResourceTelemetryForOrganizationMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourceTelemetryForOrganization(options.Region), middleware.Before); err != nil { return err } diff --git a/service/observabilityadmin/api_op_StartTelemetryEvaluation.go b/service/observabilityadmin/api_op_StartTelemetryEvaluation.go index 726fafef1d2..f567e16794a 100644 --- a/service/observabilityadmin/api_op_StartTelemetryEvaluation.go +++ b/service/observabilityadmin/api_op_StartTelemetryEvaluation.go @@ -103,9 +103,6 @@ func (c *Client) addOperationStartTelemetryEvaluationMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartTelemetryEvaluation(options.Region), middleware.Before); err != nil { return err } diff --git a/service/observabilityadmin/api_op_StartTelemetryEvaluationForOrganization.go b/service/observabilityadmin/api_op_StartTelemetryEvaluationForOrganization.go index f654a609b3d..33a0ae2773b 100644 --- a/service/observabilityadmin/api_op_StartTelemetryEvaluationForOrganization.go +++ b/service/observabilityadmin/api_op_StartTelemetryEvaluationForOrganization.go @@ -103,9 +103,6 @@ func (c *Client) addOperationStartTelemetryEvaluationForOrganizationMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartTelemetryEvaluationForOrganization(options.Region), middleware.Before); err != nil { return err } diff --git a/service/observabilityadmin/api_op_StopTelemetryEvaluation.go b/service/observabilityadmin/api_op_StopTelemetryEvaluation.go index 4a49267657a..d51b5cedd56 100644 --- a/service/observabilityadmin/api_op_StopTelemetryEvaluation.go +++ b/service/observabilityadmin/api_op_StopTelemetryEvaluation.go @@ -103,9 +103,6 @@ func (c *Client) addOperationStopTelemetryEvaluationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopTelemetryEvaluation(options.Region), middleware.Before); err != nil { return err } diff --git a/service/observabilityadmin/api_op_StopTelemetryEvaluationForOrganization.go b/service/observabilityadmin/api_op_StopTelemetryEvaluationForOrganization.go index 0023629138b..a2b29cd89f7 100644 --- a/service/observabilityadmin/api_op_StopTelemetryEvaluationForOrganization.go +++ b/service/observabilityadmin/api_op_StopTelemetryEvaluationForOrganization.go @@ -103,9 +103,6 @@ func (c *Client) addOperationStopTelemetryEvaluationForOrganizationMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopTelemetryEvaluationForOrganization(options.Region), middleware.Before); err != nil { return err } diff --git a/service/observabilityadmin/snapshot/api_op_GetTelemetryEvaluationStatus.go.snap b/service/observabilityadmin/snapshot/api_op_GetTelemetryEvaluationStatus.go.snap index 547cd01daeb..dee772f3d83 100644 --- a/service/observabilityadmin/snapshot/api_op_GetTelemetryEvaluationStatus.go.snap +++ b/service/observabilityadmin/snapshot/api_op_GetTelemetryEvaluationStatus.go.snap @@ -13,7 +13,6 @@ GetTelemetryEvaluationStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/observabilityadmin/snapshot/api_op_GetTelemetryEvaluationStatusForOrganization.go.snap b/service/observabilityadmin/snapshot/api_op_GetTelemetryEvaluationStatusForOrganization.go.snap index 2a7c5ff374c..fbb63971f74 100644 --- a/service/observabilityadmin/snapshot/api_op_GetTelemetryEvaluationStatusForOrganization.go.snap +++ b/service/observabilityadmin/snapshot/api_op_GetTelemetryEvaluationStatusForOrganization.go.snap @@ -13,7 +13,6 @@ GetTelemetryEvaluationStatusForOrganization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/observabilityadmin/snapshot/api_op_ListResourceTelemetry.go.snap b/service/observabilityadmin/snapshot/api_op_ListResourceTelemetry.go.snap index a3472ea9463..27d64377539 100644 --- a/service/observabilityadmin/snapshot/api_op_ListResourceTelemetry.go.snap +++ b/service/observabilityadmin/snapshot/api_op_ListResourceTelemetry.go.snap @@ -13,7 +13,6 @@ ListResourceTelemetry Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/observabilityadmin/snapshot/api_op_ListResourceTelemetryForOrganization.go.snap b/service/observabilityadmin/snapshot/api_op_ListResourceTelemetryForOrganization.go.snap index 4f31e54253f..909a873ba95 100644 --- a/service/observabilityadmin/snapshot/api_op_ListResourceTelemetryForOrganization.go.snap +++ b/service/observabilityadmin/snapshot/api_op_ListResourceTelemetryForOrganization.go.snap @@ -13,7 +13,6 @@ ListResourceTelemetryForOrganization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/observabilityadmin/snapshot/api_op_StartTelemetryEvaluation.go.snap b/service/observabilityadmin/snapshot/api_op_StartTelemetryEvaluation.go.snap index 797e6d8a01f..97ae78c3071 100644 --- a/service/observabilityadmin/snapshot/api_op_StartTelemetryEvaluation.go.snap +++ b/service/observabilityadmin/snapshot/api_op_StartTelemetryEvaluation.go.snap @@ -13,7 +13,6 @@ StartTelemetryEvaluation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/observabilityadmin/snapshot/api_op_StartTelemetryEvaluationForOrganization.go.snap b/service/observabilityadmin/snapshot/api_op_StartTelemetryEvaluationForOrganization.go.snap index 40003d1863d..3dfe49a689b 100644 --- a/service/observabilityadmin/snapshot/api_op_StartTelemetryEvaluationForOrganization.go.snap +++ b/service/observabilityadmin/snapshot/api_op_StartTelemetryEvaluationForOrganization.go.snap @@ -13,7 +13,6 @@ StartTelemetryEvaluationForOrganization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/observabilityadmin/snapshot/api_op_StopTelemetryEvaluation.go.snap b/service/observabilityadmin/snapshot/api_op_StopTelemetryEvaluation.go.snap index bbea6c2a670..eea3f204b4e 100644 --- a/service/observabilityadmin/snapshot/api_op_StopTelemetryEvaluation.go.snap +++ b/service/observabilityadmin/snapshot/api_op_StopTelemetryEvaluation.go.snap @@ -13,7 +13,6 @@ StopTelemetryEvaluation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/observabilityadmin/snapshot/api_op_StopTelemetryEvaluationForOrganization.go.snap b/service/observabilityadmin/snapshot/api_op_StopTelemetryEvaluationForOrganization.go.snap index 2c92ec5ce3b..a99e5601e68 100644 --- a/service/observabilityadmin/snapshot/api_op_StopTelemetryEvaluationForOrganization.go.snap +++ b/service/observabilityadmin/snapshot/api_op_StopTelemetryEvaluationForOrganization.go.snap @@ -13,7 +13,6 @@ StopTelemetryEvaluationForOrganization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/api_client.go b/service/omics/api_client.go index e52417d0d4a..b6d226e9545 100644 --- a/service/omics/api_client.go +++ b/service/omics/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/omics/api_op_AbortMultipartReadSetUpload.go b/service/omics/api_op_AbortMultipartReadSetUpload.go index 71e79734ebf..c7cc9b14386 100644 --- a/service/omics/api_op_AbortMultipartReadSetUpload.go +++ b/service/omics/api_op_AbortMultipartReadSetUpload.go @@ -112,9 +112,6 @@ func (c *Client) addOperationAbortMultipartReadSetUploadMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opAbortMultipartReadSetUploadMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_AcceptShare.go b/service/omics/api_op_AcceptShare.go index cdef2f2f8bc..b1b1f5bfce5 100644 --- a/service/omics/api_op_AcceptShare.go +++ b/service/omics/api_op_AcceptShare.go @@ -112,9 +112,6 @@ func (c *Client) addOperationAcceptShareMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opAcceptShareMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_BatchDeleteReadSet.go b/service/omics/api_op_BatchDeleteReadSet.go index 0395166db9c..f26c0bb8d28 100644 --- a/service/omics/api_op_BatchDeleteReadSet.go +++ b/service/omics/api_op_BatchDeleteReadSet.go @@ -117,9 +117,6 @@ func (c *Client) addOperationBatchDeleteReadSetMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opBatchDeleteReadSetMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_CancelAnnotationImportJob.go b/service/omics/api_op_CancelAnnotationImportJob.go index 955ab70aafb..e07139697bc 100644 --- a/service/omics/api_op_CancelAnnotationImportJob.go +++ b/service/omics/api_op_CancelAnnotationImportJob.go @@ -107,9 +107,6 @@ func (c *Client) addOperationCancelAnnotationImportJobMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCancelAnnotationImportJobMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_CancelRun.go b/service/omics/api_op_CancelRun.go index e263504905f..4d7052a5d57 100644 --- a/service/omics/api_op_CancelRun.go +++ b/service/omics/api_op_CancelRun.go @@ -107,9 +107,6 @@ func (c *Client) addOperationCancelRunMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCancelRunMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_CancelVariantImportJob.go b/service/omics/api_op_CancelVariantImportJob.go index 3f98d33025e..45dbc960e3f 100644 --- a/service/omics/api_op_CancelVariantImportJob.go +++ b/service/omics/api_op_CancelVariantImportJob.go @@ -107,9 +107,6 @@ func (c *Client) addOperationCancelVariantImportJobMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCancelVariantImportJobMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_CompleteMultipartReadSetUpload.go b/service/omics/api_op_CompleteMultipartReadSetUpload.go index d935bbdbb95..79f2d1b387b 100644 --- a/service/omics/api_op_CompleteMultipartReadSetUpload.go +++ b/service/omics/api_op_CompleteMultipartReadSetUpload.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCompleteMultipartReadSetUploadMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCompleteMultipartReadSetUploadMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_CreateAnnotationStore.go b/service/omics/api_op_CreateAnnotationStore.go index d52be4cad1d..ba4da8e9081 100644 --- a/service/omics/api_op_CreateAnnotationStore.go +++ b/service/omics/api_op_CreateAnnotationStore.go @@ -168,9 +168,6 @@ func (c *Client) addOperationCreateAnnotationStoreMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateAnnotationStoreMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_CreateAnnotationStoreVersion.go b/service/omics/api_op_CreateAnnotationStoreVersion.go index 67f432422c9..c46a66bd69b 100644 --- a/service/omics/api_op_CreateAnnotationStoreVersion.go +++ b/service/omics/api_op_CreateAnnotationStoreVersion.go @@ -160,9 +160,6 @@ func (c *Client) addOperationCreateAnnotationStoreVersionMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateAnnotationStoreVersionMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_CreateMultipartReadSetUpload.go b/service/omics/api_op_CreateMultipartReadSetUpload.go index 75adfae2a9e..5e88735e9e5 100644 --- a/service/omics/api_op_CreateMultipartReadSetUpload.go +++ b/service/omics/api_op_CreateMultipartReadSetUpload.go @@ -194,9 +194,6 @@ func (c *Client) addOperationCreateMultipartReadSetUploadMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateMultipartReadSetUploadMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_CreateReferenceStore.go b/service/omics/api_op_CreateReferenceStore.go index dd79cabe499..cc7ce127b92 100644 --- a/service/omics/api_op_CreateReferenceStore.go +++ b/service/omics/api_op_CreateReferenceStore.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCreateReferenceStoreMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateReferenceStoreMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_CreateRunCache.go b/service/omics/api_op_CreateRunCache.go index 7cae159ccc4..821b217b192 100644 --- a/service/omics/api_op_CreateRunCache.go +++ b/service/omics/api_op_CreateRunCache.go @@ -171,9 +171,6 @@ func (c *Client) addOperationCreateRunCacheMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateRunCacheMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_CreateRunGroup.go b/service/omics/api_op_CreateRunGroup.go index b0ed74ed67b..d254df94922 100644 --- a/service/omics/api_op_CreateRunGroup.go +++ b/service/omics/api_op_CreateRunGroup.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreateRunGroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateRunGroupMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_CreateSequenceStore.go b/service/omics/api_op_CreateSequenceStore.go index 96211a5a250..2345dea5836 100644 --- a/service/omics/api_op_CreateSequenceStore.go +++ b/service/omics/api_op_CreateSequenceStore.go @@ -179,9 +179,6 @@ func (c *Client) addOperationCreateSequenceStoreMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateSequenceStoreMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_CreateShare.go b/service/omics/api_op_CreateShare.go index 53843b535ba..7944640f65b 100644 --- a/service/omics/api_op_CreateShare.go +++ b/service/omics/api_op_CreateShare.go @@ -137,9 +137,6 @@ func (c *Client) addOperationCreateShareMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateShareMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_CreateVariantStore.go b/service/omics/api_op_CreateVariantStore.go index 90db58b94fa..237006c5924 100644 --- a/service/omics/api_op_CreateVariantStore.go +++ b/service/omics/api_op_CreateVariantStore.go @@ -145,9 +145,6 @@ func (c *Client) addOperationCreateVariantStoreMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateVariantStoreMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_CreateWorkflow.go b/service/omics/api_op_CreateWorkflow.go index f5d1ff447e5..8ea5d2366c4 100644 --- a/service/omics/api_op_CreateWorkflow.go +++ b/service/omics/api_op_CreateWorkflow.go @@ -152,9 +152,6 @@ func (c *Client) addOperationCreateWorkflowMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateWorkflowMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_DeleteAnnotationStore.go b/service/omics/api_op_DeleteAnnotationStore.go index 66306602222..5db72f333ba 100644 --- a/service/omics/api_op_DeleteAnnotationStore.go +++ b/service/omics/api_op_DeleteAnnotationStore.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteAnnotationStoreMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteAnnotationStoreMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_DeleteAnnotationStoreVersions.go b/service/omics/api_op_DeleteAnnotationStoreVersions.go index e12e38249ce..cbb8a241950 100644 --- a/service/omics/api_op_DeleteAnnotationStoreVersions.go +++ b/service/omics/api_op_DeleteAnnotationStoreVersions.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteAnnotationStoreVersionsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteAnnotationStoreVersionsMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_DeleteReference.go b/service/omics/api_op_DeleteReference.go index 45e6142e2d7..7d066d5388b 100644 --- a/service/omics/api_op_DeleteReference.go +++ b/service/omics/api_op_DeleteReference.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteReferenceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteReferenceMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_DeleteReferenceStore.go b/service/omics/api_op_DeleteReferenceStore.go index 1775c1e16a7..ed6898a5b46 100644 --- a/service/omics/api_op_DeleteReferenceStore.go +++ b/service/omics/api_op_DeleteReferenceStore.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteReferenceStoreMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteReferenceStoreMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_DeleteRun.go b/service/omics/api_op_DeleteRun.go index c57a20b5ccc..ce24b3266be 100644 --- a/service/omics/api_op_DeleteRun.go +++ b/service/omics/api_op_DeleteRun.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteRunMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteRunMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_DeleteRunCache.go b/service/omics/api_op_DeleteRunCache.go index 07b3c3b9d55..6beafdaf2b9 100644 --- a/service/omics/api_op_DeleteRunCache.go +++ b/service/omics/api_op_DeleteRunCache.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteRunCacheMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteRunCacheMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_DeleteRunGroup.go b/service/omics/api_op_DeleteRunGroup.go index 281c4b66040..e109c69af2d 100644 --- a/service/omics/api_op_DeleteRunGroup.go +++ b/service/omics/api_op_DeleteRunGroup.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteRunGroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteRunGroupMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_DeleteS3AccessPolicy.go b/service/omics/api_op_DeleteS3AccessPolicy.go index f73a4119207..7ab86920590 100644 --- a/service/omics/api_op_DeleteS3AccessPolicy.go +++ b/service/omics/api_op_DeleteS3AccessPolicy.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteS3AccessPolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteS3AccessPolicyMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_DeleteSequenceStore.go b/service/omics/api_op_DeleteSequenceStore.go index 8ed1938e854..1389b01ab76 100644 --- a/service/omics/api_op_DeleteSequenceStore.go +++ b/service/omics/api_op_DeleteSequenceStore.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteSequenceStoreMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteSequenceStoreMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_DeleteShare.go b/service/omics/api_op_DeleteShare.go index 64a7b71192c..2e0a2acff26 100644 --- a/service/omics/api_op_DeleteShare.go +++ b/service/omics/api_op_DeleteShare.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteShareMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteShareMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_DeleteVariantStore.go b/service/omics/api_op_DeleteVariantStore.go index 8bfe63ed8cb..8c3400446a2 100644 --- a/service/omics/api_op_DeleteVariantStore.go +++ b/service/omics/api_op_DeleteVariantStore.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteVariantStoreMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteVariantStoreMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_DeleteWorkflow.go b/service/omics/api_op_DeleteWorkflow.go index 21babd17bfd..93c8b64fb2b 100644 --- a/service/omics/api_op_DeleteWorkflow.go +++ b/service/omics/api_op_DeleteWorkflow.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteWorkflowMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteWorkflowMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetAnnotationImportJob.go b/service/omics/api_op_GetAnnotationImportJob.go index e5e1a9e1a61..468c106a20f 100644 --- a/service/omics/api_op_GetAnnotationImportJob.go +++ b/service/omics/api_op_GetAnnotationImportJob.go @@ -175,9 +175,6 @@ func (c *Client) addOperationGetAnnotationImportJobMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetAnnotationImportJobMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetAnnotationStore.go b/service/omics/api_op_GetAnnotationStore.go index 75a6e685755..7dcce1e4301 100644 --- a/service/omics/api_op_GetAnnotationStore.go +++ b/service/omics/api_op_GetAnnotationStore.go @@ -184,9 +184,6 @@ func (c *Client) addOperationGetAnnotationStoreMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetAnnotationStoreMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetAnnotationStoreVersion.go b/service/omics/api_op_GetAnnotationStoreVersion.go index b93163cbd8d..b58e82835fc 100644 --- a/service/omics/api_op_GetAnnotationStoreVersion.go +++ b/service/omics/api_op_GetAnnotationStoreVersion.go @@ -181,9 +181,6 @@ func (c *Client) addOperationGetAnnotationStoreVersionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetAnnotationStoreVersionMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetReadSet.go b/service/omics/api_op_GetReadSet.go index c7706e724e6..aac9c25028c 100644 --- a/service/omics/api_op_GetReadSet.go +++ b/service/omics/api_op_GetReadSet.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetReadSetMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetReadSetMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetReadSetActivationJob.go b/service/omics/api_op_GetReadSetActivationJob.go index 5d1422ce0e9..197ff9b89e8 100644 --- a/service/omics/api_op_GetReadSetActivationJob.go +++ b/service/omics/api_op_GetReadSetActivationJob.go @@ -146,9 +146,6 @@ func (c *Client) addOperationGetReadSetActivationJobMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetReadSetActivationJobMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetReadSetExportJob.go b/service/omics/api_op_GetReadSetExportJob.go index 6486eba6599..d541d03f5cd 100644 --- a/service/omics/api_op_GetReadSetExportJob.go +++ b/service/omics/api_op_GetReadSetExportJob.go @@ -151,9 +151,6 @@ func (c *Client) addOperationGetReadSetExportJobMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetReadSetExportJobMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetReadSetImportJob.go b/service/omics/api_op_GetReadSetImportJob.go index 1f898c38b72..be13925cb59 100644 --- a/service/omics/api_op_GetReadSetImportJob.go +++ b/service/omics/api_op_GetReadSetImportJob.go @@ -153,9 +153,6 @@ func (c *Client) addOperationGetReadSetImportJobMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetReadSetImportJobMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetReadSetMetadata.go b/service/omics/api_op_GetReadSetMetadata.go index 5c658638199..212092c7e4f 100644 --- a/service/omics/api_op_GetReadSetMetadata.go +++ b/service/omics/api_op_GetReadSetMetadata.go @@ -180,9 +180,6 @@ func (c *Client) addOperationGetReadSetMetadataMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetReadSetMetadataMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetReference.go b/service/omics/api_op_GetReference.go index 1e2e3ca6a6d..0c63fd6c3cb 100644 --- a/service/omics/api_op_GetReference.go +++ b/service/omics/api_op_GetReference.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetReferenceMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetReferenceMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetReferenceImportJob.go b/service/omics/api_op_GetReferenceImportJob.go index 15e521e8ff6..5177180acf8 100644 --- a/service/omics/api_op_GetReferenceImportJob.go +++ b/service/omics/api_op_GetReferenceImportJob.go @@ -153,9 +153,6 @@ func (c *Client) addOperationGetReferenceImportJobMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetReferenceImportJobMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetReferenceMetadata.go b/service/omics/api_op_GetReferenceMetadata.go index 20fe92816e3..5ee14f8cdfb 100644 --- a/service/omics/api_op_GetReferenceMetadata.go +++ b/service/omics/api_op_GetReferenceMetadata.go @@ -163,9 +163,6 @@ func (c *Client) addOperationGetReferenceMetadataMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetReferenceMetadataMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetReferenceStore.go b/service/omics/api_op_GetReferenceStore.go index e1cd8a09ef0..8de8b040858 100644 --- a/service/omics/api_op_GetReferenceStore.go +++ b/service/omics/api_op_GetReferenceStore.go @@ -134,9 +134,6 @@ func (c *Client) addOperationGetReferenceStoreMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetReferenceStoreMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetRun.go b/service/omics/api_op_GetRun.go index dbb0cbf7575..ad366cb4975 100644 --- a/service/omics/api_op_GetRun.go +++ b/service/omics/api_op_GetRun.go @@ -228,9 +228,6 @@ func (c *Client) addOperationGetRunMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetRunMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetRunCache.go b/service/omics/api_op_GetRunCache.go index 92ff9eb464c..e3c35a7b4d7 100644 --- a/service/omics/api_op_GetRunCache.go +++ b/service/omics/api_op_GetRunCache.go @@ -144,9 +144,6 @@ func (c *Client) addOperationGetRunCacheMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetRunCacheMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetRunGroup.go b/service/omics/api_op_GetRunGroup.go index 6a23e29d3f1..0bc37d85a57 100644 --- a/service/omics/api_op_GetRunGroup.go +++ b/service/omics/api_op_GetRunGroup.go @@ -136,9 +136,6 @@ func (c *Client) addOperationGetRunGroupMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetRunGroupMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetRunTask.go b/service/omics/api_op_GetRunTask.go index 5b8bac7c47a..dd8126b6fb0 100644 --- a/service/omics/api_op_GetRunTask.go +++ b/service/omics/api_op_GetRunTask.go @@ -163,9 +163,6 @@ func (c *Client) addOperationGetRunTaskMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetRunTaskMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetS3AccessPolicy.go b/service/omics/api_op_GetS3AccessPolicy.go index 6c9f8a670ea..ec3b41de982 100644 --- a/service/omics/api_op_GetS3AccessPolicy.go +++ b/service/omics/api_op_GetS3AccessPolicy.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGetS3AccessPolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetS3AccessPolicyMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetSequenceStore.go b/service/omics/api_op_GetSequenceStore.go index 3020a03a5fb..1876b487775 100644 --- a/service/omics/api_op_GetSequenceStore.go +++ b/service/omics/api_op_GetSequenceStore.go @@ -157,9 +157,6 @@ func (c *Client) addOperationGetSequenceStoreMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetSequenceStoreMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetShare.go b/service/omics/api_op_GetShare.go index 0a670cc660d..d0c2086c5cf 100644 --- a/service/omics/api_op_GetShare.go +++ b/service/omics/api_op_GetShare.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetShareMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetShareMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetVariantImportJob.go b/service/omics/api_op_GetVariantImportJob.go index 2f388d104e3..cd34d592f10 100644 --- a/service/omics/api_op_GetVariantImportJob.go +++ b/service/omics/api_op_GetVariantImportJob.go @@ -163,9 +163,6 @@ func (c *Client) addOperationGetVariantImportJobMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetVariantImportJobMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetVariantStore.go b/service/omics/api_op_GetVariantStore.go index ea1d86eb1f6..a59678c8db4 100644 --- a/service/omics/api_op_GetVariantStore.go +++ b/service/omics/api_op_GetVariantStore.go @@ -173,9 +173,6 @@ func (c *Client) addOperationGetVariantStoreMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetVariantStoreMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_GetWorkflow.go b/service/omics/api_op_GetWorkflow.go index 87b9d4016c0..dd402344e6b 100644 --- a/service/omics/api_op_GetWorkflow.go +++ b/service/omics/api_op_GetWorkflow.go @@ -174,9 +174,6 @@ func (c *Client) addOperationGetWorkflowMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetWorkflowMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListAnnotationImportJobs.go b/service/omics/api_op_ListAnnotationImportJobs.go index 5c35461d065..84b8891f672 100644 --- a/service/omics/api_op_ListAnnotationImportJobs.go +++ b/service/omics/api_op_ListAnnotationImportJobs.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListAnnotationImportJobsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListAnnotationImportJobsMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListAnnotationStoreVersions.go b/service/omics/api_op_ListAnnotationStoreVersions.go index 94c6e5cb543..852550bb9b2 100644 --- a/service/omics/api_op_ListAnnotationStoreVersions.go +++ b/service/omics/api_op_ListAnnotationStoreVersions.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListAnnotationStoreVersionsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListAnnotationStoreVersionsMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListAnnotationStores.go b/service/omics/api_op_ListAnnotationStores.go index 434304ea5e2..8358a472fce 100644 --- a/service/omics/api_op_ListAnnotationStores.go +++ b/service/omics/api_op_ListAnnotationStores.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListAnnotationStoresMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListAnnotationStoresMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListMultipartReadSetUploads.go b/service/omics/api_op_ListMultipartReadSetUploads.go index bb8811d411b..e1656a44c0f 100644 --- a/service/omics/api_op_ListMultipartReadSetUploads.go +++ b/service/omics/api_op_ListMultipartReadSetUploads.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListMultipartReadSetUploadsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListMultipartReadSetUploadsMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListReadSetActivationJobs.go b/service/omics/api_op_ListReadSetActivationJobs.go index 202a2f50f9c..90925075b55 100644 --- a/service/omics/api_op_ListReadSetActivationJobs.go +++ b/service/omics/api_op_ListReadSetActivationJobs.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListReadSetActivationJobsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListReadSetActivationJobsMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListReadSetExportJobs.go b/service/omics/api_op_ListReadSetExportJobs.go index 184422b167d..e493e9660ff 100644 --- a/service/omics/api_op_ListReadSetExportJobs.go +++ b/service/omics/api_op_ListReadSetExportJobs.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListReadSetExportJobsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListReadSetExportJobsMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListReadSetImportJobs.go b/service/omics/api_op_ListReadSetImportJobs.go index 48302c48353..c09ab45e1c1 100644 --- a/service/omics/api_op_ListReadSetImportJobs.go +++ b/service/omics/api_op_ListReadSetImportJobs.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListReadSetImportJobsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListReadSetImportJobsMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListReadSetUploadParts.go b/service/omics/api_op_ListReadSetUploadParts.go index 7a777313c31..83ccb667d67 100644 --- a/service/omics/api_op_ListReadSetUploadParts.go +++ b/service/omics/api_op_ListReadSetUploadParts.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListReadSetUploadPartsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListReadSetUploadPartsMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListReadSets.go b/service/omics/api_op_ListReadSets.go index bf6c2160d09..fdd4891f83a 100644 --- a/service/omics/api_op_ListReadSets.go +++ b/service/omics/api_op_ListReadSets.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListReadSetsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListReadSetsMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListReferenceImportJobs.go b/service/omics/api_op_ListReferenceImportJobs.go index 51b16febb93..4cdf433f706 100644 --- a/service/omics/api_op_ListReferenceImportJobs.go +++ b/service/omics/api_op_ListReferenceImportJobs.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListReferenceImportJobsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListReferenceImportJobsMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListReferenceStores.go b/service/omics/api_op_ListReferenceStores.go index 348bed4904f..3db3a8c014f 100644 --- a/service/omics/api_op_ListReferenceStores.go +++ b/service/omics/api_op_ListReferenceStores.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListReferenceStoresMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListReferenceStoresMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListReferences.go b/service/omics/api_op_ListReferences.go index 9fba1768970..443c565e163 100644 --- a/service/omics/api_op_ListReferences.go +++ b/service/omics/api_op_ListReferences.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListReferencesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListReferencesMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListRunCaches.go b/service/omics/api_op_ListRunCaches.go index 6ab8015b6c4..19f1c93044b 100644 --- a/service/omics/api_op_ListRunCaches.go +++ b/service/omics/api_op_ListRunCaches.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListRunCachesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListRunCachesMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListRunGroups.go b/service/omics/api_op_ListRunGroups.go index 8e96297f51e..60cc17ccadb 100644 --- a/service/omics/api_op_ListRunGroups.go +++ b/service/omics/api_op_ListRunGroups.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListRunGroupsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListRunGroupsMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListRunTasks.go b/service/omics/api_op_ListRunTasks.go index 66d3005b545..0c2a69fc346 100644 --- a/service/omics/api_op_ListRunTasks.go +++ b/service/omics/api_op_ListRunTasks.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListRunTasksMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListRunTasksMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListRuns.go b/service/omics/api_op_ListRuns.go index 5c11b8fec58..967d92296f1 100644 --- a/service/omics/api_op_ListRuns.go +++ b/service/omics/api_op_ListRuns.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListRunsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListRunsMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListSequenceStores.go b/service/omics/api_op_ListSequenceStores.go index c14e6e108cf..4649426c5ae 100644 --- a/service/omics/api_op_ListSequenceStores.go +++ b/service/omics/api_op_ListSequenceStores.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListSequenceStoresMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListSequenceStoresMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListShares.go b/service/omics/api_op_ListShares.go index 25a172d2419..ce7f13b302d 100644 --- a/service/omics/api_op_ListShares.go +++ b/service/omics/api_op_ListShares.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListSharesMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListSharesMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListTagsForResource.go b/service/omics/api_op_ListTagsForResource.go index 90c86543680..e6bddb8c13c 100644 --- a/service/omics/api_op_ListTagsForResource.go +++ b/service/omics/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListTagsForResourceMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListVariantImportJobs.go b/service/omics/api_op_ListVariantImportJobs.go index aea2a31d6c4..c6392979e00 100644 --- a/service/omics/api_op_ListVariantImportJobs.go +++ b/service/omics/api_op_ListVariantImportJobs.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListVariantImportJobsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListVariantImportJobsMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListVariantStores.go b/service/omics/api_op_ListVariantStores.go index 171a6d68fb3..b3a827bed50 100644 --- a/service/omics/api_op_ListVariantStores.go +++ b/service/omics/api_op_ListVariantStores.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListVariantStoresMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListVariantStoresMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_ListWorkflows.go b/service/omics/api_op_ListWorkflows.go index 2c7f0f5279f..39ecae31ebf 100644 --- a/service/omics/api_op_ListWorkflows.go +++ b/service/omics/api_op_ListWorkflows.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListWorkflowsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListWorkflowsMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_PutS3AccessPolicy.go b/service/omics/api_op_PutS3AccessPolicy.go index 0744dda67cc..bb4ffe82d15 100644 --- a/service/omics/api_op_PutS3AccessPolicy.go +++ b/service/omics/api_op_PutS3AccessPolicy.go @@ -125,9 +125,6 @@ func (c *Client) addOperationPutS3AccessPolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opPutS3AccessPolicyMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_StartAnnotationImportJob.go b/service/omics/api_op_StartAnnotationImportJob.go index 70a1286072c..33e262fe4ba 100644 --- a/service/omics/api_op_StartAnnotationImportJob.go +++ b/service/omics/api_op_StartAnnotationImportJob.go @@ -136,9 +136,6 @@ func (c *Client) addOperationStartAnnotationImportJobMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opStartAnnotationImportJobMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_StartReadSetActivationJob.go b/service/omics/api_op_StartReadSetActivationJob.go index 0934c34d91c..010eec0b431 100644 --- a/service/omics/api_op_StartReadSetActivationJob.go +++ b/service/omics/api_op_StartReadSetActivationJob.go @@ -140,9 +140,6 @@ func (c *Client) addOperationStartReadSetActivationJobMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opStartReadSetActivationJobMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_StartReadSetExportJob.go b/service/omics/api_op_StartReadSetExportJob.go index 7518406c10e..f978d537d4f 100644 --- a/service/omics/api_op_StartReadSetExportJob.go +++ b/service/omics/api_op_StartReadSetExportJob.go @@ -154,9 +154,6 @@ func (c *Client) addOperationStartReadSetExportJobMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opStartReadSetExportJobMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_StartReadSetImportJob.go b/service/omics/api_op_StartReadSetImportJob.go index 846567b1d9c..e9ee654c76e 100644 --- a/service/omics/api_op_StartReadSetImportJob.go +++ b/service/omics/api_op_StartReadSetImportJob.go @@ -149,9 +149,6 @@ func (c *Client) addOperationStartReadSetImportJobMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opStartReadSetImportJobMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_StartReferenceImportJob.go b/service/omics/api_op_StartReferenceImportJob.go index 48197576b0d..573ee334bc3 100644 --- a/service/omics/api_op_StartReferenceImportJob.go +++ b/service/omics/api_op_StartReferenceImportJob.go @@ -149,9 +149,6 @@ func (c *Client) addOperationStartReferenceImportJobMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opStartReferenceImportJobMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_StartRun.go b/service/omics/api_op_StartRun.go index bb6d5b3cce7..4d18c611388 100644 --- a/service/omics/api_op_StartRun.go +++ b/service/omics/api_op_StartRun.go @@ -220,9 +220,6 @@ func (c *Client) addOperationStartRunMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opStartRunMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_StartVariantImportJob.go b/service/omics/api_op_StartVariantImportJob.go index a52757620ef..9bd8b07e91c 100644 --- a/service/omics/api_op_StartVariantImportJob.go +++ b/service/omics/api_op_StartVariantImportJob.go @@ -130,9 +130,6 @@ func (c *Client) addOperationStartVariantImportJobMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opStartVariantImportJobMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_TagResource.go b/service/omics/api_op_TagResource.go index 18a54b22500..13950f2a878 100644 --- a/service/omics/api_op_TagResource.go +++ b/service/omics/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opTagResourceMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_UntagResource.go b/service/omics/api_op_UntagResource.go index cf236461a5c..666ae766a36 100644 --- a/service/omics/api_op_UntagResource.go +++ b/service/omics/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUntagResourceMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_UpdateAnnotationStore.go b/service/omics/api_op_UpdateAnnotationStore.go index aae9934b454..875ce13fe9e 100644 --- a/service/omics/api_op_UpdateAnnotationStore.go +++ b/service/omics/api_op_UpdateAnnotationStore.go @@ -154,9 +154,6 @@ func (c *Client) addOperationUpdateAnnotationStoreMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateAnnotationStoreMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_UpdateAnnotationStoreVersion.go b/service/omics/api_op_UpdateAnnotationStoreVersion.go index 4a836e6161d..b97b1c13084 100644 --- a/service/omics/api_op_UpdateAnnotationStoreVersion.go +++ b/service/omics/api_op_UpdateAnnotationStoreVersion.go @@ -158,9 +158,6 @@ func (c *Client) addOperationUpdateAnnotationStoreVersionMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateAnnotationStoreVersionMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_UpdateRunCache.go b/service/omics/api_op_UpdateRunCache.go index 9c15eee3df3..90c72616706 100644 --- a/service/omics/api_op_UpdateRunCache.go +++ b/service/omics/api_op_UpdateRunCache.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUpdateRunCacheMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateRunCacheMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_UpdateRunGroup.go b/service/omics/api_op_UpdateRunGroup.go index 11f0455a1f2..9ab4742a7cf 100644 --- a/service/omics/api_op_UpdateRunGroup.go +++ b/service/omics/api_op_UpdateRunGroup.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateRunGroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateRunGroupMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_UpdateSequenceStore.go b/service/omics/api_op_UpdateSequenceStore.go index 02cb0b0edbf..89236458d93 100644 --- a/service/omics/api_op_UpdateSequenceStore.go +++ b/service/omics/api_op_UpdateSequenceStore.go @@ -176,9 +176,6 @@ func (c *Client) addOperationUpdateSequenceStoreMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateSequenceStoreMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_UpdateVariantStore.go b/service/omics/api_op_UpdateVariantStore.go index 34f34877713..76d16a85c67 100644 --- a/service/omics/api_op_UpdateVariantStore.go +++ b/service/omics/api_op_UpdateVariantStore.go @@ -148,9 +148,6 @@ func (c *Client) addOperationUpdateVariantStoreMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateVariantStoreMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_UpdateWorkflow.go b/service/omics/api_op_UpdateWorkflow.go index 486b40d9466..b07ef6fe1e5 100644 --- a/service/omics/api_op_UpdateWorkflow.go +++ b/service/omics/api_op_UpdateWorkflow.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUpdateWorkflowMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateWorkflowMiddleware(stack); err != nil { return err } diff --git a/service/omics/api_op_UploadReadSetPart.go b/service/omics/api_op_UploadReadSetPart.go index 711878d8a32..49a1e61ee68 100644 --- a/service/omics/api_op_UploadReadSetPart.go +++ b/service/omics/api_op_UploadReadSetPart.go @@ -140,9 +140,6 @@ func (c *Client) addOperationUploadReadSetPartMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUploadReadSetPartMiddleware(stack); err != nil { return err } diff --git a/service/omics/snapshot/api_op_AbortMultipartReadSetUpload.go.snap b/service/omics/snapshot/api_op_AbortMultipartReadSetUpload.go.snap index fbdd3fcc013..b176ddd66e8 100644 --- a/service/omics/snapshot/api_op_AbortMultipartReadSetUpload.go.snap +++ b/service/omics/snapshot/api_op_AbortMultipartReadSetUpload.go.snap @@ -14,7 +14,6 @@ AbortMultipartReadSetUpload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_AcceptShare.go.snap b/service/omics/snapshot/api_op_AcceptShare.go.snap index 26512464bcd..87e232a4d78 100644 --- a/service/omics/snapshot/api_op_AcceptShare.go.snap +++ b/service/omics/snapshot/api_op_AcceptShare.go.snap @@ -14,7 +14,6 @@ AcceptShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_BatchDeleteReadSet.go.snap b/service/omics/snapshot/api_op_BatchDeleteReadSet.go.snap index 5eb15a895c5..3fc3e86cd1c 100644 --- a/service/omics/snapshot/api_op_BatchDeleteReadSet.go.snap +++ b/service/omics/snapshot/api_op_BatchDeleteReadSet.go.snap @@ -14,7 +14,6 @@ BatchDeleteReadSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_CancelAnnotationImportJob.go.snap b/service/omics/snapshot/api_op_CancelAnnotationImportJob.go.snap index 04710f0bd74..bbc615e92c4 100644 --- a/service/omics/snapshot/api_op_CancelAnnotationImportJob.go.snap +++ b/service/omics/snapshot/api_op_CancelAnnotationImportJob.go.snap @@ -14,7 +14,6 @@ CancelAnnotationImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_CancelRun.go.snap b/service/omics/snapshot/api_op_CancelRun.go.snap index f78a7c0a65e..3f8ac6c3d61 100644 --- a/service/omics/snapshot/api_op_CancelRun.go.snap +++ b/service/omics/snapshot/api_op_CancelRun.go.snap @@ -14,7 +14,6 @@ CancelRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_CancelVariantImportJob.go.snap b/service/omics/snapshot/api_op_CancelVariantImportJob.go.snap index 15a99d76e26..a77e93647c0 100644 --- a/service/omics/snapshot/api_op_CancelVariantImportJob.go.snap +++ b/service/omics/snapshot/api_op_CancelVariantImportJob.go.snap @@ -14,7 +14,6 @@ CancelVariantImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_CompleteMultipartReadSetUpload.go.snap b/service/omics/snapshot/api_op_CompleteMultipartReadSetUpload.go.snap index f1e8f5c1aab..00bccbccafe 100644 --- a/service/omics/snapshot/api_op_CompleteMultipartReadSetUpload.go.snap +++ b/service/omics/snapshot/api_op_CompleteMultipartReadSetUpload.go.snap @@ -14,7 +14,6 @@ CompleteMultipartReadSetUpload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_CreateAnnotationStore.go.snap b/service/omics/snapshot/api_op_CreateAnnotationStore.go.snap index c4ab1a7284d..c1a61485ec4 100644 --- a/service/omics/snapshot/api_op_CreateAnnotationStore.go.snap +++ b/service/omics/snapshot/api_op_CreateAnnotationStore.go.snap @@ -14,7 +14,6 @@ CreateAnnotationStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_CreateAnnotationStoreVersion.go.snap b/service/omics/snapshot/api_op_CreateAnnotationStoreVersion.go.snap index 0795cfb4e75..322d39bf7ef 100644 --- a/service/omics/snapshot/api_op_CreateAnnotationStoreVersion.go.snap +++ b/service/omics/snapshot/api_op_CreateAnnotationStoreVersion.go.snap @@ -14,7 +14,6 @@ CreateAnnotationStoreVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_CreateMultipartReadSetUpload.go.snap b/service/omics/snapshot/api_op_CreateMultipartReadSetUpload.go.snap index 8786c5370d1..f4172cd217f 100644 --- a/service/omics/snapshot/api_op_CreateMultipartReadSetUpload.go.snap +++ b/service/omics/snapshot/api_op_CreateMultipartReadSetUpload.go.snap @@ -14,7 +14,6 @@ CreateMultipartReadSetUpload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_CreateReferenceStore.go.snap b/service/omics/snapshot/api_op_CreateReferenceStore.go.snap index e7bd159326b..ca4e0dd8885 100644 --- a/service/omics/snapshot/api_op_CreateReferenceStore.go.snap +++ b/service/omics/snapshot/api_op_CreateReferenceStore.go.snap @@ -14,7 +14,6 @@ CreateReferenceStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_CreateRunCache.go.snap b/service/omics/snapshot/api_op_CreateRunCache.go.snap index f79bbec2593..2486ff29a6e 100644 --- a/service/omics/snapshot/api_op_CreateRunCache.go.snap +++ b/service/omics/snapshot/api_op_CreateRunCache.go.snap @@ -15,7 +15,6 @@ CreateRunCache Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_CreateRunGroup.go.snap b/service/omics/snapshot/api_op_CreateRunGroup.go.snap index dac2cdd171a..ee3a5ce6f63 100644 --- a/service/omics/snapshot/api_op_CreateRunGroup.go.snap +++ b/service/omics/snapshot/api_op_CreateRunGroup.go.snap @@ -15,7 +15,6 @@ CreateRunGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_CreateSequenceStore.go.snap b/service/omics/snapshot/api_op_CreateSequenceStore.go.snap index 146b9d78131..ee6938e320f 100644 --- a/service/omics/snapshot/api_op_CreateSequenceStore.go.snap +++ b/service/omics/snapshot/api_op_CreateSequenceStore.go.snap @@ -15,7 +15,6 @@ CreateSequenceStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_CreateShare.go.snap b/service/omics/snapshot/api_op_CreateShare.go.snap index c64a1ece444..71a15cd8491 100644 --- a/service/omics/snapshot/api_op_CreateShare.go.snap +++ b/service/omics/snapshot/api_op_CreateShare.go.snap @@ -14,7 +14,6 @@ CreateShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_CreateVariantStore.go.snap b/service/omics/snapshot/api_op_CreateVariantStore.go.snap index e3790f1a469..529069fa776 100644 --- a/service/omics/snapshot/api_op_CreateVariantStore.go.snap +++ b/service/omics/snapshot/api_op_CreateVariantStore.go.snap @@ -14,7 +14,6 @@ CreateVariantStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_CreateWorkflow.go.snap b/service/omics/snapshot/api_op_CreateWorkflow.go.snap index a3e1a6b2a6e..d442995fe3a 100644 --- a/service/omics/snapshot/api_op_CreateWorkflow.go.snap +++ b/service/omics/snapshot/api_op_CreateWorkflow.go.snap @@ -15,7 +15,6 @@ CreateWorkflow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_DeleteAnnotationStore.go.snap b/service/omics/snapshot/api_op_DeleteAnnotationStore.go.snap index 9d830400cd4..48abe71ff21 100644 --- a/service/omics/snapshot/api_op_DeleteAnnotationStore.go.snap +++ b/service/omics/snapshot/api_op_DeleteAnnotationStore.go.snap @@ -14,7 +14,6 @@ DeleteAnnotationStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_DeleteAnnotationStoreVersions.go.snap b/service/omics/snapshot/api_op_DeleteAnnotationStoreVersions.go.snap index 83f4d97a3fa..250a8275106 100644 --- a/service/omics/snapshot/api_op_DeleteAnnotationStoreVersions.go.snap +++ b/service/omics/snapshot/api_op_DeleteAnnotationStoreVersions.go.snap @@ -14,7 +14,6 @@ DeleteAnnotationStoreVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_DeleteReference.go.snap b/service/omics/snapshot/api_op_DeleteReference.go.snap index 4d326a74651..ed7ad1d9bbd 100644 --- a/service/omics/snapshot/api_op_DeleteReference.go.snap +++ b/service/omics/snapshot/api_op_DeleteReference.go.snap @@ -14,7 +14,6 @@ DeleteReference Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_DeleteReferenceStore.go.snap b/service/omics/snapshot/api_op_DeleteReferenceStore.go.snap index 991aaf3a7ce..719f763344c 100644 --- a/service/omics/snapshot/api_op_DeleteReferenceStore.go.snap +++ b/service/omics/snapshot/api_op_DeleteReferenceStore.go.snap @@ -14,7 +14,6 @@ DeleteReferenceStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_DeleteRun.go.snap b/service/omics/snapshot/api_op_DeleteRun.go.snap index 8a6ccc381db..bc03b11dddb 100644 --- a/service/omics/snapshot/api_op_DeleteRun.go.snap +++ b/service/omics/snapshot/api_op_DeleteRun.go.snap @@ -14,7 +14,6 @@ DeleteRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_DeleteRunCache.go.snap b/service/omics/snapshot/api_op_DeleteRunCache.go.snap index a919581b2f9..095d0506a97 100644 --- a/service/omics/snapshot/api_op_DeleteRunCache.go.snap +++ b/service/omics/snapshot/api_op_DeleteRunCache.go.snap @@ -14,7 +14,6 @@ DeleteRunCache Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_DeleteRunGroup.go.snap b/service/omics/snapshot/api_op_DeleteRunGroup.go.snap index 6c59e43dc22..377b05ee709 100644 --- a/service/omics/snapshot/api_op_DeleteRunGroup.go.snap +++ b/service/omics/snapshot/api_op_DeleteRunGroup.go.snap @@ -14,7 +14,6 @@ DeleteRunGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_DeleteS3AccessPolicy.go.snap b/service/omics/snapshot/api_op_DeleteS3AccessPolicy.go.snap index 094f9436e58..f5615d57847 100644 --- a/service/omics/snapshot/api_op_DeleteS3AccessPolicy.go.snap +++ b/service/omics/snapshot/api_op_DeleteS3AccessPolicy.go.snap @@ -14,7 +14,6 @@ DeleteS3AccessPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_DeleteSequenceStore.go.snap b/service/omics/snapshot/api_op_DeleteSequenceStore.go.snap index 3a309e96163..c9527db6da7 100644 --- a/service/omics/snapshot/api_op_DeleteSequenceStore.go.snap +++ b/service/omics/snapshot/api_op_DeleteSequenceStore.go.snap @@ -14,7 +14,6 @@ DeleteSequenceStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_DeleteShare.go.snap b/service/omics/snapshot/api_op_DeleteShare.go.snap index e72c8a76729..75f59bf5226 100644 --- a/service/omics/snapshot/api_op_DeleteShare.go.snap +++ b/service/omics/snapshot/api_op_DeleteShare.go.snap @@ -14,7 +14,6 @@ DeleteShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_DeleteVariantStore.go.snap b/service/omics/snapshot/api_op_DeleteVariantStore.go.snap index 90f957ab9c1..d3c7dd2296f 100644 --- a/service/omics/snapshot/api_op_DeleteVariantStore.go.snap +++ b/service/omics/snapshot/api_op_DeleteVariantStore.go.snap @@ -14,7 +14,6 @@ DeleteVariantStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_DeleteWorkflow.go.snap b/service/omics/snapshot/api_op_DeleteWorkflow.go.snap index 0772f10cdfb..b0cc6fcc5ae 100644 --- a/service/omics/snapshot/api_op_DeleteWorkflow.go.snap +++ b/service/omics/snapshot/api_op_DeleteWorkflow.go.snap @@ -14,7 +14,6 @@ DeleteWorkflow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_GetAnnotationImportJob.go.snap b/service/omics/snapshot/api_op_GetAnnotationImportJob.go.snap index 2e86cafe789..4366bd0debf 100644 --- a/service/omics/snapshot/api_op_GetAnnotationImportJob.go.snap +++ b/service/omics/snapshot/api_op_GetAnnotationImportJob.go.snap @@ -14,7 +14,6 @@ GetAnnotationImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_GetAnnotationStore.go.snap b/service/omics/snapshot/api_op_GetAnnotationStore.go.snap index cc97bb5856a..b340825c4c4 100644 --- a/service/omics/snapshot/api_op_GetAnnotationStore.go.snap +++ b/service/omics/snapshot/api_op_GetAnnotationStore.go.snap @@ -14,7 +14,6 @@ GetAnnotationStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_GetAnnotationStoreVersion.go.snap b/service/omics/snapshot/api_op_GetAnnotationStoreVersion.go.snap index 77726c38a67..95c35c3f4ad 100644 --- a/service/omics/snapshot/api_op_GetAnnotationStoreVersion.go.snap +++ b/service/omics/snapshot/api_op_GetAnnotationStoreVersion.go.snap @@ -14,7 +14,6 @@ GetAnnotationStoreVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_GetReadSet.go.snap b/service/omics/snapshot/api_op_GetReadSet.go.snap index b23cdfc6a93..b5712e0b58c 100644 --- a/service/omics/snapshot/api_op_GetReadSet.go.snap +++ b/service/omics/snapshot/api_op_GetReadSet.go.snap @@ -14,7 +14,6 @@ GetReadSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_GetReadSetActivationJob.go.snap b/service/omics/snapshot/api_op_GetReadSetActivationJob.go.snap index 956ff3ce2fe..c66a0a4e336 100644 --- a/service/omics/snapshot/api_op_GetReadSetActivationJob.go.snap +++ b/service/omics/snapshot/api_op_GetReadSetActivationJob.go.snap @@ -14,7 +14,6 @@ GetReadSetActivationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_GetReadSetExportJob.go.snap b/service/omics/snapshot/api_op_GetReadSetExportJob.go.snap index 5d51f55be9a..d0774e6cd25 100644 --- a/service/omics/snapshot/api_op_GetReadSetExportJob.go.snap +++ b/service/omics/snapshot/api_op_GetReadSetExportJob.go.snap @@ -14,7 +14,6 @@ GetReadSetExportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_GetReadSetImportJob.go.snap b/service/omics/snapshot/api_op_GetReadSetImportJob.go.snap index b5c7b16dd2c..ae4d761d145 100644 --- a/service/omics/snapshot/api_op_GetReadSetImportJob.go.snap +++ b/service/omics/snapshot/api_op_GetReadSetImportJob.go.snap @@ -14,7 +14,6 @@ GetReadSetImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_GetReadSetMetadata.go.snap b/service/omics/snapshot/api_op_GetReadSetMetadata.go.snap index 09a70a1eb4f..4aa06e0c68b 100644 --- a/service/omics/snapshot/api_op_GetReadSetMetadata.go.snap +++ b/service/omics/snapshot/api_op_GetReadSetMetadata.go.snap @@ -14,7 +14,6 @@ GetReadSetMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_GetReference.go.snap b/service/omics/snapshot/api_op_GetReference.go.snap index a6d98e18a3a..9dfe5e31b8e 100644 --- a/service/omics/snapshot/api_op_GetReference.go.snap +++ b/service/omics/snapshot/api_op_GetReference.go.snap @@ -14,7 +14,6 @@ GetReference Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_GetReferenceImportJob.go.snap b/service/omics/snapshot/api_op_GetReferenceImportJob.go.snap index 21065be613d..8ef621c0640 100644 --- a/service/omics/snapshot/api_op_GetReferenceImportJob.go.snap +++ b/service/omics/snapshot/api_op_GetReferenceImportJob.go.snap @@ -14,7 +14,6 @@ GetReferenceImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_GetReferenceMetadata.go.snap b/service/omics/snapshot/api_op_GetReferenceMetadata.go.snap index e2ee09fee56..573913bb668 100644 --- a/service/omics/snapshot/api_op_GetReferenceMetadata.go.snap +++ b/service/omics/snapshot/api_op_GetReferenceMetadata.go.snap @@ -14,7 +14,6 @@ GetReferenceMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_GetReferenceStore.go.snap b/service/omics/snapshot/api_op_GetReferenceStore.go.snap index ee1dee1ccd9..2443d78b48e 100644 --- a/service/omics/snapshot/api_op_GetReferenceStore.go.snap +++ b/service/omics/snapshot/api_op_GetReferenceStore.go.snap @@ -14,7 +14,6 @@ GetReferenceStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_GetRun.go.snap b/service/omics/snapshot/api_op_GetRun.go.snap index 3d6c87f2092..82c427b021c 100644 --- a/service/omics/snapshot/api_op_GetRun.go.snap +++ b/service/omics/snapshot/api_op_GetRun.go.snap @@ -14,7 +14,6 @@ GetRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_GetRunCache.go.snap b/service/omics/snapshot/api_op_GetRunCache.go.snap index 6f4dc88136d..1c53564a12a 100644 --- a/service/omics/snapshot/api_op_GetRunCache.go.snap +++ b/service/omics/snapshot/api_op_GetRunCache.go.snap @@ -14,7 +14,6 @@ GetRunCache Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_GetRunGroup.go.snap b/service/omics/snapshot/api_op_GetRunGroup.go.snap index 8e57bc2ae37..eefc8850dad 100644 --- a/service/omics/snapshot/api_op_GetRunGroup.go.snap +++ b/service/omics/snapshot/api_op_GetRunGroup.go.snap @@ -14,7 +14,6 @@ GetRunGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_GetRunTask.go.snap b/service/omics/snapshot/api_op_GetRunTask.go.snap index 98a1ecaf51b..d4f91523808 100644 --- a/service/omics/snapshot/api_op_GetRunTask.go.snap +++ b/service/omics/snapshot/api_op_GetRunTask.go.snap @@ -14,7 +14,6 @@ GetRunTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_GetS3AccessPolicy.go.snap b/service/omics/snapshot/api_op_GetS3AccessPolicy.go.snap index 1907ff402a8..f0f32528493 100644 --- a/service/omics/snapshot/api_op_GetS3AccessPolicy.go.snap +++ b/service/omics/snapshot/api_op_GetS3AccessPolicy.go.snap @@ -14,7 +14,6 @@ GetS3AccessPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_GetSequenceStore.go.snap b/service/omics/snapshot/api_op_GetSequenceStore.go.snap index 942f8737062..ae4369ded43 100644 --- a/service/omics/snapshot/api_op_GetSequenceStore.go.snap +++ b/service/omics/snapshot/api_op_GetSequenceStore.go.snap @@ -14,7 +14,6 @@ GetSequenceStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_GetShare.go.snap b/service/omics/snapshot/api_op_GetShare.go.snap index f065fd8064e..1d277e298dd 100644 --- a/service/omics/snapshot/api_op_GetShare.go.snap +++ b/service/omics/snapshot/api_op_GetShare.go.snap @@ -14,7 +14,6 @@ GetShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_GetVariantImportJob.go.snap b/service/omics/snapshot/api_op_GetVariantImportJob.go.snap index 058ce87b7e8..8e802ba5fd2 100644 --- a/service/omics/snapshot/api_op_GetVariantImportJob.go.snap +++ b/service/omics/snapshot/api_op_GetVariantImportJob.go.snap @@ -14,7 +14,6 @@ GetVariantImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_GetVariantStore.go.snap b/service/omics/snapshot/api_op_GetVariantStore.go.snap index 3a74df61b86..1185fc0d547 100644 --- a/service/omics/snapshot/api_op_GetVariantStore.go.snap +++ b/service/omics/snapshot/api_op_GetVariantStore.go.snap @@ -14,7 +14,6 @@ GetVariantStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_GetWorkflow.go.snap b/service/omics/snapshot/api_op_GetWorkflow.go.snap index 8b6fb586aea..61e4c9bf211 100644 --- a/service/omics/snapshot/api_op_GetWorkflow.go.snap +++ b/service/omics/snapshot/api_op_GetWorkflow.go.snap @@ -14,7 +14,6 @@ GetWorkflow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_ListAnnotationImportJobs.go.snap b/service/omics/snapshot/api_op_ListAnnotationImportJobs.go.snap index cde7e411717..6ee8d72796b 100644 --- a/service/omics/snapshot/api_op_ListAnnotationImportJobs.go.snap +++ b/service/omics/snapshot/api_op_ListAnnotationImportJobs.go.snap @@ -13,7 +13,6 @@ ListAnnotationImportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_ListAnnotationStoreVersions.go.snap b/service/omics/snapshot/api_op_ListAnnotationStoreVersions.go.snap index 8bef71ab20f..2e7531432d4 100644 --- a/service/omics/snapshot/api_op_ListAnnotationStoreVersions.go.snap +++ b/service/omics/snapshot/api_op_ListAnnotationStoreVersions.go.snap @@ -14,7 +14,6 @@ ListAnnotationStoreVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_ListAnnotationStores.go.snap b/service/omics/snapshot/api_op_ListAnnotationStores.go.snap index 330813cfd50..be2c43049a6 100644 --- a/service/omics/snapshot/api_op_ListAnnotationStores.go.snap +++ b/service/omics/snapshot/api_op_ListAnnotationStores.go.snap @@ -13,7 +13,6 @@ ListAnnotationStores Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_ListMultipartReadSetUploads.go.snap b/service/omics/snapshot/api_op_ListMultipartReadSetUploads.go.snap index 05da7e87b41..cf36d8252f7 100644 --- a/service/omics/snapshot/api_op_ListMultipartReadSetUploads.go.snap +++ b/service/omics/snapshot/api_op_ListMultipartReadSetUploads.go.snap @@ -14,7 +14,6 @@ ListMultipartReadSetUploads Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_ListReadSetActivationJobs.go.snap b/service/omics/snapshot/api_op_ListReadSetActivationJobs.go.snap index 04edbbfaeee..114050d2278 100644 --- a/service/omics/snapshot/api_op_ListReadSetActivationJobs.go.snap +++ b/service/omics/snapshot/api_op_ListReadSetActivationJobs.go.snap @@ -14,7 +14,6 @@ ListReadSetActivationJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_ListReadSetExportJobs.go.snap b/service/omics/snapshot/api_op_ListReadSetExportJobs.go.snap index bcc6dbaacf3..0ba5c006a27 100644 --- a/service/omics/snapshot/api_op_ListReadSetExportJobs.go.snap +++ b/service/omics/snapshot/api_op_ListReadSetExportJobs.go.snap @@ -14,7 +14,6 @@ ListReadSetExportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_ListReadSetImportJobs.go.snap b/service/omics/snapshot/api_op_ListReadSetImportJobs.go.snap index 5d099ad42d7..6f940e303a2 100644 --- a/service/omics/snapshot/api_op_ListReadSetImportJobs.go.snap +++ b/service/omics/snapshot/api_op_ListReadSetImportJobs.go.snap @@ -14,7 +14,6 @@ ListReadSetImportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_ListReadSetUploadParts.go.snap b/service/omics/snapshot/api_op_ListReadSetUploadParts.go.snap index d865c85c693..d2ea0cf0956 100644 --- a/service/omics/snapshot/api_op_ListReadSetUploadParts.go.snap +++ b/service/omics/snapshot/api_op_ListReadSetUploadParts.go.snap @@ -14,7 +14,6 @@ ListReadSetUploadParts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_ListReadSets.go.snap b/service/omics/snapshot/api_op_ListReadSets.go.snap index 2889f66376e..d889a342812 100644 --- a/service/omics/snapshot/api_op_ListReadSets.go.snap +++ b/service/omics/snapshot/api_op_ListReadSets.go.snap @@ -14,7 +14,6 @@ ListReadSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_ListReferenceImportJobs.go.snap b/service/omics/snapshot/api_op_ListReferenceImportJobs.go.snap index 7c7437d1ea6..527dbdc2cb2 100644 --- a/service/omics/snapshot/api_op_ListReferenceImportJobs.go.snap +++ b/service/omics/snapshot/api_op_ListReferenceImportJobs.go.snap @@ -14,7 +14,6 @@ ListReferenceImportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_ListReferenceStores.go.snap b/service/omics/snapshot/api_op_ListReferenceStores.go.snap index edd103b7cf2..55d705d57b4 100644 --- a/service/omics/snapshot/api_op_ListReferenceStores.go.snap +++ b/service/omics/snapshot/api_op_ListReferenceStores.go.snap @@ -13,7 +13,6 @@ ListReferenceStores Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_ListReferences.go.snap b/service/omics/snapshot/api_op_ListReferences.go.snap index 1f02aa7a2f9..13fd85716b0 100644 --- a/service/omics/snapshot/api_op_ListReferences.go.snap +++ b/service/omics/snapshot/api_op_ListReferences.go.snap @@ -14,7 +14,6 @@ ListReferences Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_ListRunCaches.go.snap b/service/omics/snapshot/api_op_ListRunCaches.go.snap index 9caac62f794..126d1f6c97b 100644 --- a/service/omics/snapshot/api_op_ListRunCaches.go.snap +++ b/service/omics/snapshot/api_op_ListRunCaches.go.snap @@ -13,7 +13,6 @@ ListRunCaches Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_ListRunGroups.go.snap b/service/omics/snapshot/api_op_ListRunGroups.go.snap index 4f0a927b80b..f6db974e15e 100644 --- a/service/omics/snapshot/api_op_ListRunGroups.go.snap +++ b/service/omics/snapshot/api_op_ListRunGroups.go.snap @@ -13,7 +13,6 @@ ListRunGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_ListRunTasks.go.snap b/service/omics/snapshot/api_op_ListRunTasks.go.snap index 9341922b6f1..a2f0ab6ce51 100644 --- a/service/omics/snapshot/api_op_ListRunTasks.go.snap +++ b/service/omics/snapshot/api_op_ListRunTasks.go.snap @@ -14,7 +14,6 @@ ListRunTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_ListRuns.go.snap b/service/omics/snapshot/api_op_ListRuns.go.snap index fe9311667ef..790ab5d0f3c 100644 --- a/service/omics/snapshot/api_op_ListRuns.go.snap +++ b/service/omics/snapshot/api_op_ListRuns.go.snap @@ -13,7 +13,6 @@ ListRuns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_ListSequenceStores.go.snap b/service/omics/snapshot/api_op_ListSequenceStores.go.snap index 8ed40f8cd5c..cdaf58a0e10 100644 --- a/service/omics/snapshot/api_op_ListSequenceStores.go.snap +++ b/service/omics/snapshot/api_op_ListSequenceStores.go.snap @@ -13,7 +13,6 @@ ListSequenceStores Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_ListShares.go.snap b/service/omics/snapshot/api_op_ListShares.go.snap index 8817511b9dc..60092077c11 100644 --- a/service/omics/snapshot/api_op_ListShares.go.snap +++ b/service/omics/snapshot/api_op_ListShares.go.snap @@ -14,7 +14,6 @@ ListShares Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_ListTagsForResource.go.snap b/service/omics/snapshot/api_op_ListTagsForResource.go.snap index 8ff9a02baa1..0d85e67cf02 100644 --- a/service/omics/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/omics/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_ListVariantImportJobs.go.snap b/service/omics/snapshot/api_op_ListVariantImportJobs.go.snap index cc08f92664d..af1a1ba0bba 100644 --- a/service/omics/snapshot/api_op_ListVariantImportJobs.go.snap +++ b/service/omics/snapshot/api_op_ListVariantImportJobs.go.snap @@ -13,7 +13,6 @@ ListVariantImportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_ListVariantStores.go.snap b/service/omics/snapshot/api_op_ListVariantStores.go.snap index 0afd22348e6..dc47f5e3116 100644 --- a/service/omics/snapshot/api_op_ListVariantStores.go.snap +++ b/service/omics/snapshot/api_op_ListVariantStores.go.snap @@ -13,7 +13,6 @@ ListVariantStores Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_ListWorkflows.go.snap b/service/omics/snapshot/api_op_ListWorkflows.go.snap index c7b68b6b545..73227708021 100644 --- a/service/omics/snapshot/api_op_ListWorkflows.go.snap +++ b/service/omics/snapshot/api_op_ListWorkflows.go.snap @@ -13,7 +13,6 @@ ListWorkflows Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_PutS3AccessPolicy.go.snap b/service/omics/snapshot/api_op_PutS3AccessPolicy.go.snap index abc5ab768a9..6c62de17c4b 100644 --- a/service/omics/snapshot/api_op_PutS3AccessPolicy.go.snap +++ b/service/omics/snapshot/api_op_PutS3AccessPolicy.go.snap @@ -14,7 +14,6 @@ PutS3AccessPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_StartAnnotationImportJob.go.snap b/service/omics/snapshot/api_op_StartAnnotationImportJob.go.snap index 1dc4d654fbb..aebdf3341d7 100644 --- a/service/omics/snapshot/api_op_StartAnnotationImportJob.go.snap +++ b/service/omics/snapshot/api_op_StartAnnotationImportJob.go.snap @@ -14,7 +14,6 @@ StartAnnotationImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_StartReadSetActivationJob.go.snap b/service/omics/snapshot/api_op_StartReadSetActivationJob.go.snap index 1c38d291b9e..30513cab338 100644 --- a/service/omics/snapshot/api_op_StartReadSetActivationJob.go.snap +++ b/service/omics/snapshot/api_op_StartReadSetActivationJob.go.snap @@ -14,7 +14,6 @@ StartReadSetActivationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_StartReadSetExportJob.go.snap b/service/omics/snapshot/api_op_StartReadSetExportJob.go.snap index 6e03c7521b5..658f372d4c8 100644 --- a/service/omics/snapshot/api_op_StartReadSetExportJob.go.snap +++ b/service/omics/snapshot/api_op_StartReadSetExportJob.go.snap @@ -14,7 +14,6 @@ StartReadSetExportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_StartReadSetImportJob.go.snap b/service/omics/snapshot/api_op_StartReadSetImportJob.go.snap index bb27bbc90f5..cf9ff05c063 100644 --- a/service/omics/snapshot/api_op_StartReadSetImportJob.go.snap +++ b/service/omics/snapshot/api_op_StartReadSetImportJob.go.snap @@ -14,7 +14,6 @@ StartReadSetImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_StartReferenceImportJob.go.snap b/service/omics/snapshot/api_op_StartReferenceImportJob.go.snap index 743f201752d..10ed052a3be 100644 --- a/service/omics/snapshot/api_op_StartReferenceImportJob.go.snap +++ b/service/omics/snapshot/api_op_StartReferenceImportJob.go.snap @@ -14,7 +14,6 @@ StartReferenceImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_StartRun.go.snap b/service/omics/snapshot/api_op_StartRun.go.snap index 2f14407c563..fbcfa90884f 100644 --- a/service/omics/snapshot/api_op_StartRun.go.snap +++ b/service/omics/snapshot/api_op_StartRun.go.snap @@ -15,7 +15,6 @@ StartRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_StartVariantImportJob.go.snap b/service/omics/snapshot/api_op_StartVariantImportJob.go.snap index 6b4dd941daa..cdfc1148120 100644 --- a/service/omics/snapshot/api_op_StartVariantImportJob.go.snap +++ b/service/omics/snapshot/api_op_StartVariantImportJob.go.snap @@ -14,7 +14,6 @@ StartVariantImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_TagResource.go.snap b/service/omics/snapshot/api_op_TagResource.go.snap index e1a30395155..20d1859b264 100644 --- a/service/omics/snapshot/api_op_TagResource.go.snap +++ b/service/omics/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_UntagResource.go.snap b/service/omics/snapshot/api_op_UntagResource.go.snap index 170b89b0d41..dabf5e30bc0 100644 --- a/service/omics/snapshot/api_op_UntagResource.go.snap +++ b/service/omics/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_UpdateAnnotationStore.go.snap b/service/omics/snapshot/api_op_UpdateAnnotationStore.go.snap index 0b8b543a6f3..cbfe825393a 100644 --- a/service/omics/snapshot/api_op_UpdateAnnotationStore.go.snap +++ b/service/omics/snapshot/api_op_UpdateAnnotationStore.go.snap @@ -14,7 +14,6 @@ UpdateAnnotationStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_UpdateAnnotationStoreVersion.go.snap b/service/omics/snapshot/api_op_UpdateAnnotationStoreVersion.go.snap index 5f3527a7ce3..190b903f220 100644 --- a/service/omics/snapshot/api_op_UpdateAnnotationStoreVersion.go.snap +++ b/service/omics/snapshot/api_op_UpdateAnnotationStoreVersion.go.snap @@ -14,7 +14,6 @@ UpdateAnnotationStoreVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_UpdateRunCache.go.snap b/service/omics/snapshot/api_op_UpdateRunCache.go.snap index d9d6db6a810..834ca382498 100644 --- a/service/omics/snapshot/api_op_UpdateRunCache.go.snap +++ b/service/omics/snapshot/api_op_UpdateRunCache.go.snap @@ -14,7 +14,6 @@ UpdateRunCache Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_UpdateRunGroup.go.snap b/service/omics/snapshot/api_op_UpdateRunGroup.go.snap index e3103311a38..6806ef18358 100644 --- a/service/omics/snapshot/api_op_UpdateRunGroup.go.snap +++ b/service/omics/snapshot/api_op_UpdateRunGroup.go.snap @@ -14,7 +14,6 @@ UpdateRunGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_UpdateSequenceStore.go.snap b/service/omics/snapshot/api_op_UpdateSequenceStore.go.snap index 06ac3d25c07..585462f03a3 100644 --- a/service/omics/snapshot/api_op_UpdateSequenceStore.go.snap +++ b/service/omics/snapshot/api_op_UpdateSequenceStore.go.snap @@ -15,7 +15,6 @@ UpdateSequenceStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_UpdateVariantStore.go.snap b/service/omics/snapshot/api_op_UpdateVariantStore.go.snap index 1abd7c15284..6eaee70a478 100644 --- a/service/omics/snapshot/api_op_UpdateVariantStore.go.snap +++ b/service/omics/snapshot/api_op_UpdateVariantStore.go.snap @@ -14,7 +14,6 @@ UpdateVariantStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_UpdateWorkflow.go.snap b/service/omics/snapshot/api_op_UpdateWorkflow.go.snap index 0a7e7120a90..8b490aaa212 100644 --- a/service/omics/snapshot/api_op_UpdateWorkflow.go.snap +++ b/service/omics/snapshot/api_op_UpdateWorkflow.go.snap @@ -14,7 +14,6 @@ UpdateWorkflow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/omics/snapshot/api_op_UploadReadSetPart.go.snap b/service/omics/snapshot/api_op_UploadReadSetPart.go.snap index b482817cc16..1d5d4534087 100644 --- a/service/omics/snapshot/api_op_UploadReadSetPart.go.snap +++ b/service/omics/snapshot/api_op_UploadReadSetPart.go.snap @@ -14,7 +14,6 @@ UploadReadSetPart Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/api_client.go b/service/opensearch/api_client.go index 8f5ca50f756..063e1a38adc 100644 --- a/service/opensearch/api_client.go +++ b/service/opensearch/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/opensearch/api_op_AcceptInboundConnection.go b/service/opensearch/api_op_AcceptInboundConnection.go index 84e4e2a0b9c..327a2b36171 100644 --- a/service/opensearch/api_op_AcceptInboundConnection.go +++ b/service/opensearch/api_op_AcceptInboundConnection.go @@ -117,9 +117,6 @@ func (c *Client) addOperationAcceptInboundConnectionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptInboundConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_AddDataSource.go b/service/opensearch/api_op_AddDataSource.go index 0d7fc8887b6..0b95ae7f9b4 100644 --- a/service/opensearch/api_op_AddDataSource.go +++ b/service/opensearch/api_op_AddDataSource.go @@ -130,9 +130,6 @@ func (c *Client) addOperationAddDataSourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_AddDirectQueryDataSource.go b/service/opensearch/api_op_AddDirectQueryDataSource.go index 989cd94d27b..f8d126fb342 100644 --- a/service/opensearch/api_op_AddDirectQueryDataSource.go +++ b/service/opensearch/api_op_AddDirectQueryDataSource.go @@ -134,9 +134,6 @@ func (c *Client) addOperationAddDirectQueryDataSourceMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddDirectQueryDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_AddTags.go b/service/opensearch/api_op_AddTags.go index 198f8f848f0..30866b74631 100644 --- a/service/opensearch/api_op_AddTags.go +++ b/service/opensearch/api_op_AddTags.go @@ -122,9 +122,6 @@ func (c *Client) addOperationAddTagsMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_AssociatePackage.go b/service/opensearch/api_op_AssociatePackage.go index 990e708c3cb..8642534387d 100644 --- a/service/opensearch/api_op_AssociatePackage.go +++ b/service/opensearch/api_op_AssociatePackage.go @@ -131,9 +131,6 @@ func (c *Client) addOperationAssociatePackageMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociatePackageValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_AssociatePackages.go b/service/opensearch/api_op_AssociatePackages.go index 628a58012b5..b2c37df79a6 100644 --- a/service/opensearch/api_op_AssociatePackages.go +++ b/service/opensearch/api_op_AssociatePackages.go @@ -119,9 +119,6 @@ func (c *Client) addOperationAssociatePackagesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociatePackagesValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_AuthorizeVpcEndpointAccess.go b/service/opensearch/api_op_AuthorizeVpcEndpointAccess.go index ae22bb65728..718dc6078fb 100644 --- a/service/opensearch/api_op_AuthorizeVpcEndpointAccess.go +++ b/service/opensearch/api_op_AuthorizeVpcEndpointAccess.go @@ -122,9 +122,6 @@ func (c *Client) addOperationAuthorizeVpcEndpointAccessMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAuthorizeVpcEndpointAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_CancelDomainConfigChange.go b/service/opensearch/api_op_CancelDomainConfigChange.go index 5c09e756e18..28bbc9c7283 100644 --- a/service/opensearch/api_op_CancelDomainConfigChange.go +++ b/service/opensearch/api_op_CancelDomainConfigChange.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCancelDomainConfigChangeMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelDomainConfigChangeValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_CancelServiceSoftwareUpdate.go b/service/opensearch/api_op_CancelServiceSoftwareUpdate.go index 0616267a104..6f39d16fb0b 100644 --- a/service/opensearch/api_op_CancelServiceSoftwareUpdate.go +++ b/service/opensearch/api_op_CancelServiceSoftwareUpdate.go @@ -120,9 +120,6 @@ func (c *Client) addOperationCancelServiceSoftwareUpdateMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelServiceSoftwareUpdateValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_CreateApplication.go b/service/opensearch/api_op_CreateApplication.go index 8e87544faae..ce659e2d4b8 100644 --- a/service/opensearch/api_op_CreateApplication.go +++ b/service/opensearch/api_op_CreateApplication.go @@ -154,9 +154,6 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateApplicationMiddleware(stack, options); err != nil { return err } diff --git a/service/opensearch/api_op_CreateDomain.go b/service/opensearch/api_op_CreateDomain.go index 8675edf8eb6..045745d114e 100644 --- a/service/opensearch/api_op_CreateDomain.go +++ b/service/opensearch/api_op_CreateDomain.go @@ -224,9 +224,6 @@ func (c *Client) addOperationCreateDomainMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_CreateOutboundConnection.go b/service/opensearch/api_op_CreateOutboundConnection.go index dd52c457c70..a66a8b9a4d6 100644 --- a/service/opensearch/api_op_CreateOutboundConnection.go +++ b/service/opensearch/api_op_CreateOutboundConnection.go @@ -153,9 +153,6 @@ func (c *Client) addOperationCreateOutboundConnectionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateOutboundConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_CreatePackage.go b/service/opensearch/api_op_CreatePackage.go index 7772a53b359..25d8edd6e14 100644 --- a/service/opensearch/api_op_CreatePackage.go +++ b/service/opensearch/api_op_CreatePackage.go @@ -144,9 +144,6 @@ func (c *Client) addOperationCreatePackageMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePackageValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_CreateVpcEndpoint.go b/service/opensearch/api_op_CreateVpcEndpoint.go index 8bfec25fcba..8eb7c3b8455 100644 --- a/service/opensearch/api_op_CreateVpcEndpoint.go +++ b/service/opensearch/api_op_CreateVpcEndpoint.go @@ -122,9 +122,6 @@ func (c *Client) addOperationCreateVpcEndpointMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVpcEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DeleteApplication.go b/service/opensearch/api_op_DeleteApplication.go index cbc6584e338..ba50603c37f 100644 --- a/service/opensearch/api_op_DeleteApplication.go +++ b/service/opensearch/api_op_DeleteApplication.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DeleteDataSource.go b/service/opensearch/api_op_DeleteDataSource.go index 8fe9521f763..456c14f202e 100644 --- a/service/opensearch/api_op_DeleteDataSource.go +++ b/service/opensearch/api_op_DeleteDataSource.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteDataSourceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DeleteDirectQueryDataSource.go b/service/opensearch/api_op_DeleteDirectQueryDataSource.go index ce1801fe16b..e346dc73241 100644 --- a/service/opensearch/api_op_DeleteDirectQueryDataSource.go +++ b/service/opensearch/api_op_DeleteDirectQueryDataSource.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteDirectQueryDataSourceMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDirectQueryDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DeleteDomain.go b/service/opensearch/api_op_DeleteDomain.go index 7c0769509a9..507927e618c 100644 --- a/service/opensearch/api_op_DeleteDomain.go +++ b/service/opensearch/api_op_DeleteDomain.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteDomainMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DeleteInboundConnection.go b/service/opensearch/api_op_DeleteInboundConnection.go index 12f35470e81..de1ac0b1abb 100644 --- a/service/opensearch/api_op_DeleteInboundConnection.go +++ b/service/opensearch/api_op_DeleteInboundConnection.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteInboundConnectionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInboundConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DeleteOutboundConnection.go b/service/opensearch/api_op_DeleteOutboundConnection.go index 43baf2190f8..696b6fea083 100644 --- a/service/opensearch/api_op_DeleteOutboundConnection.go +++ b/service/opensearch/api_op_DeleteOutboundConnection.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteOutboundConnectionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteOutboundConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DeletePackage.go b/service/opensearch/api_op_DeletePackage.go index 855bd76ff18..64a3055d627 100644 --- a/service/opensearch/api_op_DeletePackage.go +++ b/service/opensearch/api_op_DeletePackage.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeletePackageMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePackageValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DeleteVpcEndpoint.go b/service/opensearch/api_op_DeleteVpcEndpoint.go index 4dc63964dd5..a09ffa432c0 100644 --- a/service/opensearch/api_op_DeleteVpcEndpoint.go +++ b/service/opensearch/api_op_DeleteVpcEndpoint.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteVpcEndpointMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVpcEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DescribeDomain.go b/service/opensearch/api_op_DescribeDomain.go index a281d03bdc5..b04ab9b17cd 100644 --- a/service/opensearch/api_op_DescribeDomain.go +++ b/service/opensearch/api_op_DescribeDomain.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDescribeDomainMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DescribeDomainAutoTunes.go b/service/opensearch/api_op_DescribeDomainAutoTunes.go index 50f0ef9deac..325fdb25743 100644 --- a/service/opensearch/api_op_DescribeDomainAutoTunes.go +++ b/service/opensearch/api_op_DescribeDomainAutoTunes.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeDomainAutoTunesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDomainAutoTunesValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DescribeDomainChangeProgress.go b/service/opensearch/api_op_DescribeDomainChangeProgress.go index fc706ca1cbd..009fed9d359 100644 --- a/service/opensearch/api_op_DescribeDomainChangeProgress.go +++ b/service/opensearch/api_op_DescribeDomainChangeProgress.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeDomainChangeProgressMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDomainChangeProgressValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DescribeDomainConfig.go b/service/opensearch/api_op_DescribeDomainConfig.go index 33037dd7251..5d04522fa99 100644 --- a/service/opensearch/api_op_DescribeDomainConfig.go +++ b/service/opensearch/api_op_DescribeDomainConfig.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDescribeDomainConfigMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDomainConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DescribeDomainHealth.go b/service/opensearch/api_op_DescribeDomainHealth.go index ad6b92bd15e..18c3fef838c 100644 --- a/service/opensearch/api_op_DescribeDomainHealth.go +++ b/service/opensearch/api_op_DescribeDomainHealth.go @@ -177,9 +177,6 @@ func (c *Client) addOperationDescribeDomainHealthMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDomainHealthValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DescribeDomainNodes.go b/service/opensearch/api_op_DescribeDomainNodes.go index bdb09a8af4d..dc70a1c6d48 100644 --- a/service/opensearch/api_op_DescribeDomainNodes.go +++ b/service/opensearch/api_op_DescribeDomainNodes.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDescribeDomainNodesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDomainNodesValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DescribeDomains.go b/service/opensearch/api_op_DescribeDomains.go index febfb781b4d..599169086f3 100644 --- a/service/opensearch/api_op_DescribeDomains.go +++ b/service/opensearch/api_op_DescribeDomains.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeDomainsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDomainsValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DescribeDryRunProgress.go b/service/opensearch/api_op_DescribeDryRunProgress.go index ba72d87fe8a..b65e8931d84 100644 --- a/service/opensearch/api_op_DescribeDryRunProgress.go +++ b/service/opensearch/api_op_DescribeDryRunProgress.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDescribeDryRunProgressMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDryRunProgressValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DescribeInboundConnections.go b/service/opensearch/api_op_DescribeInboundConnections.go index 6ce7b3eaf99..2b70d8ca0e3 100644 --- a/service/opensearch/api_op_DescribeInboundConnections.go +++ b/service/opensearch/api_op_DescribeInboundConnections.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeInboundConnectionsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInboundConnections(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opensearch/api_op_DescribeInstanceTypeLimits.go b/service/opensearch/api_op_DescribeInstanceTypeLimits.go index 80af547b5b0..1af194d99b1 100644 --- a/service/opensearch/api_op_DescribeInstanceTypeLimits.go +++ b/service/opensearch/api_op_DescribeInstanceTypeLimits.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeInstanceTypeLimitsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeInstanceTypeLimitsValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DescribeOutboundConnections.go b/service/opensearch/api_op_DescribeOutboundConnections.go index 5dc8f80e363..4864266b939 100644 --- a/service/opensearch/api_op_DescribeOutboundConnections.go +++ b/service/opensearch/api_op_DescribeOutboundConnections.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeOutboundConnectionsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOutboundConnections(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opensearch/api_op_DescribePackages.go b/service/opensearch/api_op_DescribePackages.go index baffcd4169b..4e77a19407f 100644 --- a/service/opensearch/api_op_DescribePackages.go +++ b/service/opensearch/api_op_DescribePackages.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribePackagesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePackages(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opensearch/api_op_DescribeReservedInstanceOfferings.go b/service/opensearch/api_op_DescribeReservedInstanceOfferings.go index aa0c3d15387..8d2d2196192 100644 --- a/service/opensearch/api_op_DescribeReservedInstanceOfferings.go +++ b/service/opensearch/api_op_DescribeReservedInstanceOfferings.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeReservedInstanceOfferingsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservedInstanceOfferings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opensearch/api_op_DescribeReservedInstances.go b/service/opensearch/api_op_DescribeReservedInstances.go index 1d09369b5cf..7256760930f 100644 --- a/service/opensearch/api_op_DescribeReservedInstances.go +++ b/service/opensearch/api_op_DescribeReservedInstances.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeReservedInstancesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservedInstances(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opensearch/api_op_DescribeVpcEndpoints.go b/service/opensearch/api_op_DescribeVpcEndpoints.go index 025ae41b2a1..0f5b512cfa7 100644 --- a/service/opensearch/api_op_DescribeVpcEndpoints.go +++ b/service/opensearch/api_op_DescribeVpcEndpoints.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeVpcEndpointsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeVpcEndpointsValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DissociatePackage.go b/service/opensearch/api_op_DissociatePackage.go index 7abddb3ab34..9d4e873f8a1 100644 --- a/service/opensearch/api_op_DissociatePackage.go +++ b/service/opensearch/api_op_DissociatePackage.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDissociatePackageMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDissociatePackageValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_DissociatePackages.go b/service/opensearch/api_op_DissociatePackages.go index d0d7f328aa7..e877f3c5197 100644 --- a/service/opensearch/api_op_DissociatePackages.go +++ b/service/opensearch/api_op_DissociatePackages.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDissociatePackagesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDissociatePackagesValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_GetApplication.go b/service/opensearch/api_op_GetApplication.go index 13cc89efdfd..4d72c5914a9 100644 --- a/service/opensearch/api_op_GetApplication.go +++ b/service/opensearch/api_op_GetApplication.go @@ -144,9 +144,6 @@ func (c *Client) addOperationGetApplicationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_GetCompatibleVersions.go b/service/opensearch/api_op_GetCompatibleVersions.go index a7936e41003..052efea4b02 100644 --- a/service/opensearch/api_op_GetCompatibleVersions.go +++ b/service/opensearch/api_op_GetCompatibleVersions.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetCompatibleVersionsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCompatibleVersions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opensearch/api_op_GetDataSource.go b/service/opensearch/api_op_GetDataSource.go index c2f0c9e8190..360fbce84aa 100644 --- a/service/opensearch/api_op_GetDataSource.go +++ b/service/opensearch/api_op_GetDataSource.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetDataSourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_GetDirectQueryDataSource.go b/service/opensearch/api_op_GetDirectQueryDataSource.go index c5354e16345..922c4e5f6be 100644 --- a/service/opensearch/api_op_GetDirectQueryDataSource.go +++ b/service/opensearch/api_op_GetDirectQueryDataSource.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetDirectQueryDataSourceMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDirectQueryDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_GetDomainMaintenanceStatus.go b/service/opensearch/api_op_GetDomainMaintenanceStatus.go index 6c61fd21c63..919438a6c03 100644 --- a/service/opensearch/api_op_GetDomainMaintenanceStatus.go +++ b/service/opensearch/api_op_GetDomainMaintenanceStatus.go @@ -136,9 +136,6 @@ func (c *Client) addOperationGetDomainMaintenanceStatusMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDomainMaintenanceStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_GetPackageVersionHistory.go b/service/opensearch/api_op_GetPackageVersionHistory.go index b1fa8e74522..47dfeb3a9ec 100644 --- a/service/opensearch/api_op_GetPackageVersionHistory.go +++ b/service/opensearch/api_op_GetPackageVersionHistory.go @@ -135,9 +135,6 @@ func (c *Client) addOperationGetPackageVersionHistoryMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPackageVersionHistoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_GetUpgradeHistory.go b/service/opensearch/api_op_GetUpgradeHistory.go index ba1e904e324..f9831f9a2b3 100644 --- a/service/opensearch/api_op_GetUpgradeHistory.go +++ b/service/opensearch/api_op_GetUpgradeHistory.go @@ -130,9 +130,6 @@ func (c *Client) addOperationGetUpgradeHistoryMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUpgradeHistoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_GetUpgradeStatus.go b/service/opensearch/api_op_GetUpgradeStatus.go index 27d4024b4fb..7c278e81873 100644 --- a/service/opensearch/api_op_GetUpgradeStatus.go +++ b/service/opensearch/api_op_GetUpgradeStatus.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetUpgradeStatusMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUpgradeStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_ListApplications.go b/service/opensearch/api_op_ListApplications.go index 9038448a206..216abe9d495 100644 --- a/service/opensearch/api_op_ListApplications.go +++ b/service/opensearch/api_op_ListApplications.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListApplicationsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplications(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opensearch/api_op_ListDataSources.go b/service/opensearch/api_op_ListDataSources.go index ace54b97c16..fd356f0fb59 100644 --- a/service/opensearch/api_op_ListDataSources.go +++ b/service/opensearch/api_op_ListDataSources.go @@ -117,9 +117,6 @@ func (c *Client) addOperationListDataSourcesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDataSourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_ListDirectQueryDataSources.go b/service/opensearch/api_op_ListDirectQueryDataSources.go index 3664c85f2c5..5144a8cfc8a 100644 --- a/service/opensearch/api_op_ListDirectQueryDataSources.go +++ b/service/opensearch/api_op_ListDirectQueryDataSources.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListDirectQueryDataSourcesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDirectQueryDataSources(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opensearch/api_op_ListDomainMaintenances.go b/service/opensearch/api_op_ListDomainMaintenances.go index 7ae6dfae05d..262239956bc 100644 --- a/service/opensearch/api_op_ListDomainMaintenances.go +++ b/service/opensearch/api_op_ListDomainMaintenances.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListDomainMaintenancesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDomainMaintenancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_ListDomainNames.go b/service/opensearch/api_op_ListDomainNames.go index d7de03ab239..0b7b5b77672 100644 --- a/service/opensearch/api_op_ListDomainNames.go +++ b/service/opensearch/api_op_ListDomainNames.go @@ -115,9 +115,6 @@ func (c *Client) addOperationListDomainNamesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDomainNames(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opensearch/api_op_ListDomainsForPackage.go b/service/opensearch/api_op_ListDomainsForPackage.go index 926ed5f152f..533246d785f 100644 --- a/service/opensearch/api_op_ListDomainsForPackage.go +++ b/service/opensearch/api_op_ListDomainsForPackage.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListDomainsForPackageMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDomainsForPackageValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_ListInstanceTypeDetails.go b/service/opensearch/api_op_ListInstanceTypeDetails.go index 387a94eaf58..287d0ab08b8 100644 --- a/service/opensearch/api_op_ListInstanceTypeDetails.go +++ b/service/opensearch/api_op_ListInstanceTypeDetails.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListInstanceTypeDetailsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListInstanceTypeDetailsValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_ListPackagesForDomain.go b/service/opensearch/api_op_ListPackagesForDomain.go index fd3eae19af4..c2f6b21617c 100644 --- a/service/opensearch/api_op_ListPackagesForDomain.go +++ b/service/opensearch/api_op_ListPackagesForDomain.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListPackagesForDomainMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPackagesForDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_ListScheduledActions.go b/service/opensearch/api_op_ListScheduledActions.go index 6565f95d12b..7e29ff6a962 100644 --- a/service/opensearch/api_op_ListScheduledActions.go +++ b/service/opensearch/api_op_ListScheduledActions.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListScheduledActionsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListScheduledActionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_ListTags.go b/service/opensearch/api_op_ListTags.go index c6b8f79d03a..34a7d8844d3 100644 --- a/service/opensearch/api_op_ListTags.go +++ b/service/opensearch/api_op_ListTags.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListTagsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_ListVersions.go b/service/opensearch/api_op_ListVersions.go index c6933fdc59f..da477ec32fb 100644 --- a/service/opensearch/api_op_ListVersions.go +++ b/service/opensearch/api_op_ListVersions.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListVersionsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVersions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opensearch/api_op_ListVpcEndpointAccess.go b/service/opensearch/api_op_ListVpcEndpointAccess.go index 9b2e7e15dd3..287c9966198 100644 --- a/service/opensearch/api_op_ListVpcEndpointAccess.go +++ b/service/opensearch/api_op_ListVpcEndpointAccess.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListVpcEndpointAccessMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListVpcEndpointAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_ListVpcEndpoints.go b/service/opensearch/api_op_ListVpcEndpoints.go index 7bb3de9e25f..db740f52c78 100644 --- a/service/opensearch/api_op_ListVpcEndpoints.go +++ b/service/opensearch/api_op_ListVpcEndpoints.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListVpcEndpointsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVpcEndpoints(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opensearch/api_op_ListVpcEndpointsForDomain.go b/service/opensearch/api_op_ListVpcEndpointsForDomain.go index db366fe9c27..e8784500b2e 100644 --- a/service/opensearch/api_op_ListVpcEndpointsForDomain.go +++ b/service/opensearch/api_op_ListVpcEndpointsForDomain.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListVpcEndpointsForDomainMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListVpcEndpointsForDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_PurchaseReservedInstanceOffering.go b/service/opensearch/api_op_PurchaseReservedInstanceOffering.go index de1293ffffa..4f00eb634d6 100644 --- a/service/opensearch/api_op_PurchaseReservedInstanceOffering.go +++ b/service/opensearch/api_op_PurchaseReservedInstanceOffering.go @@ -125,9 +125,6 @@ func (c *Client) addOperationPurchaseReservedInstanceOfferingMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPurchaseReservedInstanceOfferingValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_RejectInboundConnection.go b/service/opensearch/api_op_RejectInboundConnection.go index 6821e028824..e06bbe4c4c6 100644 --- a/service/opensearch/api_op_RejectInboundConnection.go +++ b/service/opensearch/api_op_RejectInboundConnection.go @@ -115,9 +115,6 @@ func (c *Client) addOperationRejectInboundConnectionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRejectInboundConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_RemoveTags.go b/service/opensearch/api_op_RemoveTags.go index c358a7c704f..ec32aaa5f20 100644 --- a/service/opensearch/api_op_RemoveTags.go +++ b/service/opensearch/api_op_RemoveTags.go @@ -117,9 +117,6 @@ func (c *Client) addOperationRemoveTagsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_RevokeVpcEndpointAccess.go b/service/opensearch/api_op_RevokeVpcEndpointAccess.go index bacb1441b3b..8bcd09dfe75 100644 --- a/service/opensearch/api_op_RevokeVpcEndpointAccess.go +++ b/service/opensearch/api_op_RevokeVpcEndpointAccess.go @@ -115,9 +115,6 @@ func (c *Client) addOperationRevokeVpcEndpointAccessMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRevokeVpcEndpointAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_StartDomainMaintenance.go b/service/opensearch/api_op_StartDomainMaintenance.go index 8e798390101..9bcad9f2eac 100644 --- a/service/opensearch/api_op_StartDomainMaintenance.go +++ b/service/opensearch/api_op_StartDomainMaintenance.go @@ -125,9 +125,6 @@ func (c *Client) addOperationStartDomainMaintenanceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartDomainMaintenanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_StartServiceSoftwareUpdate.go b/service/opensearch/api_op_StartServiceSoftwareUpdate.go index 0d9b8b31c83..338e7e35593 100644 --- a/service/opensearch/api_op_StartServiceSoftwareUpdate.go +++ b/service/opensearch/api_op_StartServiceSoftwareUpdate.go @@ -140,9 +140,6 @@ func (c *Client) addOperationStartServiceSoftwareUpdateMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartServiceSoftwareUpdateValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_UpdateApplication.go b/service/opensearch/api_op_UpdateApplication.go index afce0d04e06..931e019cece 100644 --- a/service/opensearch/api_op_UpdateApplication.go +++ b/service/opensearch/api_op_UpdateApplication.go @@ -143,9 +143,6 @@ func (c *Client) addOperationUpdateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_UpdateDataSource.go b/service/opensearch/api_op_UpdateDataSource.go index 9d6daf8032f..b838452de39 100644 --- a/service/opensearch/api_op_UpdateDataSource.go +++ b/service/opensearch/api_op_UpdateDataSource.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdateDataSourceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_UpdateDirectQueryDataSource.go b/service/opensearch/api_op_UpdateDirectQueryDataSource.go index 32516f859b9..40d205a1007 100644 --- a/service/opensearch/api_op_UpdateDirectQueryDataSource.go +++ b/service/opensearch/api_op_UpdateDirectQueryDataSource.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateDirectQueryDataSourceMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDirectQueryDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_UpdateDomainConfig.go b/service/opensearch/api_op_UpdateDomainConfig.go index 5545a541e0b..fbbc98d2adc 100644 --- a/service/opensearch/api_op_UpdateDomainConfig.go +++ b/service/opensearch/api_op_UpdateDomainConfig.go @@ -224,9 +224,6 @@ func (c *Client) addOperationUpdateDomainConfigMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDomainConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_UpdatePackage.go b/service/opensearch/api_op_UpdatePackage.go index 4620c27e621..e151d88bee5 100644 --- a/service/opensearch/api_op_UpdatePackage.go +++ b/service/opensearch/api_op_UpdatePackage.go @@ -135,9 +135,6 @@ func (c *Client) addOperationUpdatePackageMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePackageValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_UpdatePackageScope.go b/service/opensearch/api_op_UpdatePackageScope.go index 548f8141dce..9e28ee599f9 100644 --- a/service/opensearch/api_op_UpdatePackageScope.go +++ b/service/opensearch/api_op_UpdatePackageScope.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdatePackageScopeMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePackageScopeValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_UpdateScheduledAction.go b/service/opensearch/api_op_UpdateScheduledAction.go index 7054b8a9eb5..7f5e36c1663 100644 --- a/service/opensearch/api_op_UpdateScheduledAction.go +++ b/service/opensearch/api_op_UpdateScheduledAction.go @@ -153,9 +153,6 @@ func (c *Client) addOperationUpdateScheduledActionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateScheduledActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_UpdateVpcEndpoint.go b/service/opensearch/api_op_UpdateVpcEndpoint.go index c08ce441f8b..2f1597a3c8e 100644 --- a/service/opensearch/api_op_UpdateVpcEndpoint.go +++ b/service/opensearch/api_op_UpdateVpcEndpoint.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateVpcEndpointMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateVpcEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/api_op_UpgradeDomain.go b/service/opensearch/api_op_UpgradeDomain.go index f1dfd8e39ec..539b3241657 100644 --- a/service/opensearch/api_op_UpgradeDomain.go +++ b/service/opensearch/api_op_UpgradeDomain.go @@ -147,9 +147,6 @@ func (c *Client) addOperationUpgradeDomainMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpgradeDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearch/snapshot/api_op_AcceptInboundConnection.go.snap b/service/opensearch/snapshot/api_op_AcceptInboundConnection.go.snap index e41a4dd0e4f..6463f11ace2 100644 --- a/service/opensearch/snapshot/api_op_AcceptInboundConnection.go.snap +++ b/service/opensearch/snapshot/api_op_AcceptInboundConnection.go.snap @@ -14,7 +14,6 @@ AcceptInboundConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_AddDataSource.go.snap b/service/opensearch/snapshot/api_op_AddDataSource.go.snap index befb0bf1dc4..196c99afcff 100644 --- a/service/opensearch/snapshot/api_op_AddDataSource.go.snap +++ b/service/opensearch/snapshot/api_op_AddDataSource.go.snap @@ -14,7 +14,6 @@ AddDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_AddDirectQueryDataSource.go.snap b/service/opensearch/snapshot/api_op_AddDirectQueryDataSource.go.snap index 3b03cd1c415..2a3973b8dc0 100644 --- a/service/opensearch/snapshot/api_op_AddDirectQueryDataSource.go.snap +++ b/service/opensearch/snapshot/api_op_AddDirectQueryDataSource.go.snap @@ -14,7 +14,6 @@ AddDirectQueryDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_AddTags.go.snap b/service/opensearch/snapshot/api_op_AddTags.go.snap index 0d887673903..96fb5e7b63d 100644 --- a/service/opensearch/snapshot/api_op_AddTags.go.snap +++ b/service/opensearch/snapshot/api_op_AddTags.go.snap @@ -14,7 +14,6 @@ AddTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_AssociatePackage.go.snap b/service/opensearch/snapshot/api_op_AssociatePackage.go.snap index a0024ce227f..0c479eb2238 100644 --- a/service/opensearch/snapshot/api_op_AssociatePackage.go.snap +++ b/service/opensearch/snapshot/api_op_AssociatePackage.go.snap @@ -14,7 +14,6 @@ AssociatePackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_AssociatePackages.go.snap b/service/opensearch/snapshot/api_op_AssociatePackages.go.snap index 97031d85b27..7f545c54a77 100644 --- a/service/opensearch/snapshot/api_op_AssociatePackages.go.snap +++ b/service/opensearch/snapshot/api_op_AssociatePackages.go.snap @@ -14,7 +14,6 @@ AssociatePackages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_AuthorizeVpcEndpointAccess.go.snap b/service/opensearch/snapshot/api_op_AuthorizeVpcEndpointAccess.go.snap index d353918c130..f450729e895 100644 --- a/service/opensearch/snapshot/api_op_AuthorizeVpcEndpointAccess.go.snap +++ b/service/opensearch/snapshot/api_op_AuthorizeVpcEndpointAccess.go.snap @@ -14,7 +14,6 @@ AuthorizeVpcEndpointAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_CancelDomainConfigChange.go.snap b/service/opensearch/snapshot/api_op_CancelDomainConfigChange.go.snap index b5d964e6fef..4be6323617a 100644 --- a/service/opensearch/snapshot/api_op_CancelDomainConfigChange.go.snap +++ b/service/opensearch/snapshot/api_op_CancelDomainConfigChange.go.snap @@ -14,7 +14,6 @@ CancelDomainConfigChange Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_CancelServiceSoftwareUpdate.go.snap b/service/opensearch/snapshot/api_op_CancelServiceSoftwareUpdate.go.snap index ab3a244c9fd..f36f07ad106 100644 --- a/service/opensearch/snapshot/api_op_CancelServiceSoftwareUpdate.go.snap +++ b/service/opensearch/snapshot/api_op_CancelServiceSoftwareUpdate.go.snap @@ -14,7 +14,6 @@ CancelServiceSoftwareUpdate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_CreateApplication.go.snap b/service/opensearch/snapshot/api_op_CreateApplication.go.snap index 55ae9fa9488..cb4df90a3ee 100644 --- a/service/opensearch/snapshot/api_op_CreateApplication.go.snap +++ b/service/opensearch/snapshot/api_op_CreateApplication.go.snap @@ -15,7 +15,6 @@ CreateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_CreateDomain.go.snap b/service/opensearch/snapshot/api_op_CreateDomain.go.snap index 16feb8a4d42..91a84f443d8 100644 --- a/service/opensearch/snapshot/api_op_CreateDomain.go.snap +++ b/service/opensearch/snapshot/api_op_CreateDomain.go.snap @@ -14,7 +14,6 @@ CreateDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_CreateOutboundConnection.go.snap b/service/opensearch/snapshot/api_op_CreateOutboundConnection.go.snap index 31fd9593931..fb35f48a634 100644 --- a/service/opensearch/snapshot/api_op_CreateOutboundConnection.go.snap +++ b/service/opensearch/snapshot/api_op_CreateOutboundConnection.go.snap @@ -14,7 +14,6 @@ CreateOutboundConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_CreatePackage.go.snap b/service/opensearch/snapshot/api_op_CreatePackage.go.snap index 7352e284764..c0eee49ef01 100644 --- a/service/opensearch/snapshot/api_op_CreatePackage.go.snap +++ b/service/opensearch/snapshot/api_op_CreatePackage.go.snap @@ -14,7 +14,6 @@ CreatePackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_CreateVpcEndpoint.go.snap b/service/opensearch/snapshot/api_op_CreateVpcEndpoint.go.snap index 2711d80d6ad..dc7a815c05e 100644 --- a/service/opensearch/snapshot/api_op_CreateVpcEndpoint.go.snap +++ b/service/opensearch/snapshot/api_op_CreateVpcEndpoint.go.snap @@ -14,7 +14,6 @@ CreateVpcEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_DeleteApplication.go.snap b/service/opensearch/snapshot/api_op_DeleteApplication.go.snap index 80790355ed5..ffda37a527f 100644 --- a/service/opensearch/snapshot/api_op_DeleteApplication.go.snap +++ b/service/opensearch/snapshot/api_op_DeleteApplication.go.snap @@ -14,7 +14,6 @@ DeleteApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_DeleteDataSource.go.snap b/service/opensearch/snapshot/api_op_DeleteDataSource.go.snap index 4c10faa3f53..e6bf94d552e 100644 --- a/service/opensearch/snapshot/api_op_DeleteDataSource.go.snap +++ b/service/opensearch/snapshot/api_op_DeleteDataSource.go.snap @@ -14,7 +14,6 @@ DeleteDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_DeleteDirectQueryDataSource.go.snap b/service/opensearch/snapshot/api_op_DeleteDirectQueryDataSource.go.snap index f2da5d7f3fb..691b80be00e 100644 --- a/service/opensearch/snapshot/api_op_DeleteDirectQueryDataSource.go.snap +++ b/service/opensearch/snapshot/api_op_DeleteDirectQueryDataSource.go.snap @@ -14,7 +14,6 @@ DeleteDirectQueryDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_DeleteDomain.go.snap b/service/opensearch/snapshot/api_op_DeleteDomain.go.snap index 24c9a1b0eb3..9a8c40f82ef 100644 --- a/service/opensearch/snapshot/api_op_DeleteDomain.go.snap +++ b/service/opensearch/snapshot/api_op_DeleteDomain.go.snap @@ -14,7 +14,6 @@ DeleteDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_DeleteInboundConnection.go.snap b/service/opensearch/snapshot/api_op_DeleteInboundConnection.go.snap index df5192313e6..2c3e804145a 100644 --- a/service/opensearch/snapshot/api_op_DeleteInboundConnection.go.snap +++ b/service/opensearch/snapshot/api_op_DeleteInboundConnection.go.snap @@ -14,7 +14,6 @@ DeleteInboundConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_DeleteOutboundConnection.go.snap b/service/opensearch/snapshot/api_op_DeleteOutboundConnection.go.snap index 51c660083c2..a8cbb9bb628 100644 --- a/service/opensearch/snapshot/api_op_DeleteOutboundConnection.go.snap +++ b/service/opensearch/snapshot/api_op_DeleteOutboundConnection.go.snap @@ -14,7 +14,6 @@ DeleteOutboundConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_DeletePackage.go.snap b/service/opensearch/snapshot/api_op_DeletePackage.go.snap index dba6b0ad28c..d4bc64169bf 100644 --- a/service/opensearch/snapshot/api_op_DeletePackage.go.snap +++ b/service/opensearch/snapshot/api_op_DeletePackage.go.snap @@ -14,7 +14,6 @@ DeletePackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_DeleteVpcEndpoint.go.snap b/service/opensearch/snapshot/api_op_DeleteVpcEndpoint.go.snap index 5094a820886..bfbc7e9e102 100644 --- a/service/opensearch/snapshot/api_op_DeleteVpcEndpoint.go.snap +++ b/service/opensearch/snapshot/api_op_DeleteVpcEndpoint.go.snap @@ -14,7 +14,6 @@ DeleteVpcEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_DescribeDomain.go.snap b/service/opensearch/snapshot/api_op_DescribeDomain.go.snap index 5f596bc704b..25b39221775 100644 --- a/service/opensearch/snapshot/api_op_DescribeDomain.go.snap +++ b/service/opensearch/snapshot/api_op_DescribeDomain.go.snap @@ -14,7 +14,6 @@ DescribeDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_DescribeDomainAutoTunes.go.snap b/service/opensearch/snapshot/api_op_DescribeDomainAutoTunes.go.snap index ea80a975ecf..7e68c25c714 100644 --- a/service/opensearch/snapshot/api_op_DescribeDomainAutoTunes.go.snap +++ b/service/opensearch/snapshot/api_op_DescribeDomainAutoTunes.go.snap @@ -14,7 +14,6 @@ DescribeDomainAutoTunes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_DescribeDomainChangeProgress.go.snap b/service/opensearch/snapshot/api_op_DescribeDomainChangeProgress.go.snap index 9ede0c8e083..53f386a0f22 100644 --- a/service/opensearch/snapshot/api_op_DescribeDomainChangeProgress.go.snap +++ b/service/opensearch/snapshot/api_op_DescribeDomainChangeProgress.go.snap @@ -14,7 +14,6 @@ DescribeDomainChangeProgress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_DescribeDomainConfig.go.snap b/service/opensearch/snapshot/api_op_DescribeDomainConfig.go.snap index c61074d405d..9201f2bbd83 100644 --- a/service/opensearch/snapshot/api_op_DescribeDomainConfig.go.snap +++ b/service/opensearch/snapshot/api_op_DescribeDomainConfig.go.snap @@ -14,7 +14,6 @@ DescribeDomainConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_DescribeDomainHealth.go.snap b/service/opensearch/snapshot/api_op_DescribeDomainHealth.go.snap index 12bf5fc2a36..cbd2d9bb136 100644 --- a/service/opensearch/snapshot/api_op_DescribeDomainHealth.go.snap +++ b/service/opensearch/snapshot/api_op_DescribeDomainHealth.go.snap @@ -14,7 +14,6 @@ DescribeDomainHealth Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_DescribeDomainNodes.go.snap b/service/opensearch/snapshot/api_op_DescribeDomainNodes.go.snap index a06f1fcab1d..be580e4b0d3 100644 --- a/service/opensearch/snapshot/api_op_DescribeDomainNodes.go.snap +++ b/service/opensearch/snapshot/api_op_DescribeDomainNodes.go.snap @@ -14,7 +14,6 @@ DescribeDomainNodes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_DescribeDomains.go.snap b/service/opensearch/snapshot/api_op_DescribeDomains.go.snap index 65504d22d2c..b8227d3db85 100644 --- a/service/opensearch/snapshot/api_op_DescribeDomains.go.snap +++ b/service/opensearch/snapshot/api_op_DescribeDomains.go.snap @@ -14,7 +14,6 @@ DescribeDomains Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_DescribeDryRunProgress.go.snap b/service/opensearch/snapshot/api_op_DescribeDryRunProgress.go.snap index 747b4c20989..9df72a26e08 100644 --- a/service/opensearch/snapshot/api_op_DescribeDryRunProgress.go.snap +++ b/service/opensearch/snapshot/api_op_DescribeDryRunProgress.go.snap @@ -14,7 +14,6 @@ DescribeDryRunProgress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_DescribeInboundConnections.go.snap b/service/opensearch/snapshot/api_op_DescribeInboundConnections.go.snap index 177bb787034..af008138cf8 100644 --- a/service/opensearch/snapshot/api_op_DescribeInboundConnections.go.snap +++ b/service/opensearch/snapshot/api_op_DescribeInboundConnections.go.snap @@ -13,7 +13,6 @@ DescribeInboundConnections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_DescribeInstanceTypeLimits.go.snap b/service/opensearch/snapshot/api_op_DescribeInstanceTypeLimits.go.snap index 44e328fe1a8..a2e6a647eff 100644 --- a/service/opensearch/snapshot/api_op_DescribeInstanceTypeLimits.go.snap +++ b/service/opensearch/snapshot/api_op_DescribeInstanceTypeLimits.go.snap @@ -14,7 +14,6 @@ DescribeInstanceTypeLimits Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_DescribeOutboundConnections.go.snap b/service/opensearch/snapshot/api_op_DescribeOutboundConnections.go.snap index d1911050b51..41e6721a3fa 100644 --- a/service/opensearch/snapshot/api_op_DescribeOutboundConnections.go.snap +++ b/service/opensearch/snapshot/api_op_DescribeOutboundConnections.go.snap @@ -13,7 +13,6 @@ DescribeOutboundConnections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_DescribePackages.go.snap b/service/opensearch/snapshot/api_op_DescribePackages.go.snap index fe37f78d612..155df488120 100644 --- a/service/opensearch/snapshot/api_op_DescribePackages.go.snap +++ b/service/opensearch/snapshot/api_op_DescribePackages.go.snap @@ -13,7 +13,6 @@ DescribePackages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_DescribeReservedInstanceOfferings.go.snap b/service/opensearch/snapshot/api_op_DescribeReservedInstanceOfferings.go.snap index 36626cab179..5aaca0a3498 100644 --- a/service/opensearch/snapshot/api_op_DescribeReservedInstanceOfferings.go.snap +++ b/service/opensearch/snapshot/api_op_DescribeReservedInstanceOfferings.go.snap @@ -13,7 +13,6 @@ DescribeReservedInstanceOfferings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_DescribeReservedInstances.go.snap b/service/opensearch/snapshot/api_op_DescribeReservedInstances.go.snap index 8068507fe03..04896b2fbcb 100644 --- a/service/opensearch/snapshot/api_op_DescribeReservedInstances.go.snap +++ b/service/opensearch/snapshot/api_op_DescribeReservedInstances.go.snap @@ -13,7 +13,6 @@ DescribeReservedInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_DescribeVpcEndpoints.go.snap b/service/opensearch/snapshot/api_op_DescribeVpcEndpoints.go.snap index ca4c4b707c2..567594fc346 100644 --- a/service/opensearch/snapshot/api_op_DescribeVpcEndpoints.go.snap +++ b/service/opensearch/snapshot/api_op_DescribeVpcEndpoints.go.snap @@ -14,7 +14,6 @@ DescribeVpcEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_DissociatePackage.go.snap b/service/opensearch/snapshot/api_op_DissociatePackage.go.snap index f517b2352a6..dd6776a993e 100644 --- a/service/opensearch/snapshot/api_op_DissociatePackage.go.snap +++ b/service/opensearch/snapshot/api_op_DissociatePackage.go.snap @@ -14,7 +14,6 @@ DissociatePackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_DissociatePackages.go.snap b/service/opensearch/snapshot/api_op_DissociatePackages.go.snap index 85882827a1e..d6ee90ef31e 100644 --- a/service/opensearch/snapshot/api_op_DissociatePackages.go.snap +++ b/service/opensearch/snapshot/api_op_DissociatePackages.go.snap @@ -14,7 +14,6 @@ DissociatePackages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_GetApplication.go.snap b/service/opensearch/snapshot/api_op_GetApplication.go.snap index 3307f56eb00..ffc8b0228f7 100644 --- a/service/opensearch/snapshot/api_op_GetApplication.go.snap +++ b/service/opensearch/snapshot/api_op_GetApplication.go.snap @@ -14,7 +14,6 @@ GetApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_GetCompatibleVersions.go.snap b/service/opensearch/snapshot/api_op_GetCompatibleVersions.go.snap index dab7c694e9b..62bbaa3502b 100644 --- a/service/opensearch/snapshot/api_op_GetCompatibleVersions.go.snap +++ b/service/opensearch/snapshot/api_op_GetCompatibleVersions.go.snap @@ -13,7 +13,6 @@ GetCompatibleVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_GetDataSource.go.snap b/service/opensearch/snapshot/api_op_GetDataSource.go.snap index 02f70812fc1..710bc995cac 100644 --- a/service/opensearch/snapshot/api_op_GetDataSource.go.snap +++ b/service/opensearch/snapshot/api_op_GetDataSource.go.snap @@ -14,7 +14,6 @@ GetDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_GetDirectQueryDataSource.go.snap b/service/opensearch/snapshot/api_op_GetDirectQueryDataSource.go.snap index a94df031ef4..0c96d72c797 100644 --- a/service/opensearch/snapshot/api_op_GetDirectQueryDataSource.go.snap +++ b/service/opensearch/snapshot/api_op_GetDirectQueryDataSource.go.snap @@ -14,7 +14,6 @@ GetDirectQueryDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_GetDomainMaintenanceStatus.go.snap b/service/opensearch/snapshot/api_op_GetDomainMaintenanceStatus.go.snap index d8d5cc38f12..a8bc03b2d88 100644 --- a/service/opensearch/snapshot/api_op_GetDomainMaintenanceStatus.go.snap +++ b/service/opensearch/snapshot/api_op_GetDomainMaintenanceStatus.go.snap @@ -14,7 +14,6 @@ GetDomainMaintenanceStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_GetPackageVersionHistory.go.snap b/service/opensearch/snapshot/api_op_GetPackageVersionHistory.go.snap index 4ebccbe7e6b..5fb2eca68ce 100644 --- a/service/opensearch/snapshot/api_op_GetPackageVersionHistory.go.snap +++ b/service/opensearch/snapshot/api_op_GetPackageVersionHistory.go.snap @@ -14,7 +14,6 @@ GetPackageVersionHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_GetUpgradeHistory.go.snap b/service/opensearch/snapshot/api_op_GetUpgradeHistory.go.snap index 82779e5cc8f..d51ab25bff8 100644 --- a/service/opensearch/snapshot/api_op_GetUpgradeHistory.go.snap +++ b/service/opensearch/snapshot/api_op_GetUpgradeHistory.go.snap @@ -14,7 +14,6 @@ GetUpgradeHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_GetUpgradeStatus.go.snap b/service/opensearch/snapshot/api_op_GetUpgradeStatus.go.snap index 458638c85d2..7950a6b0a2e 100644 --- a/service/opensearch/snapshot/api_op_GetUpgradeStatus.go.snap +++ b/service/opensearch/snapshot/api_op_GetUpgradeStatus.go.snap @@ -14,7 +14,6 @@ GetUpgradeStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_ListApplications.go.snap b/service/opensearch/snapshot/api_op_ListApplications.go.snap index e18746bd34f..6029195b8e8 100644 --- a/service/opensearch/snapshot/api_op_ListApplications.go.snap +++ b/service/opensearch/snapshot/api_op_ListApplications.go.snap @@ -13,7 +13,6 @@ ListApplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_ListDataSources.go.snap b/service/opensearch/snapshot/api_op_ListDataSources.go.snap index c47a00675e6..2ef138c6eb5 100644 --- a/service/opensearch/snapshot/api_op_ListDataSources.go.snap +++ b/service/opensearch/snapshot/api_op_ListDataSources.go.snap @@ -14,7 +14,6 @@ ListDataSources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_ListDirectQueryDataSources.go.snap b/service/opensearch/snapshot/api_op_ListDirectQueryDataSources.go.snap index 1245c6b4715..3b4c5d4ae63 100644 --- a/service/opensearch/snapshot/api_op_ListDirectQueryDataSources.go.snap +++ b/service/opensearch/snapshot/api_op_ListDirectQueryDataSources.go.snap @@ -13,7 +13,6 @@ ListDirectQueryDataSources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_ListDomainMaintenances.go.snap b/service/opensearch/snapshot/api_op_ListDomainMaintenances.go.snap index a32e46debb9..a47910ec400 100644 --- a/service/opensearch/snapshot/api_op_ListDomainMaintenances.go.snap +++ b/service/opensearch/snapshot/api_op_ListDomainMaintenances.go.snap @@ -14,7 +14,6 @@ ListDomainMaintenances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_ListDomainNames.go.snap b/service/opensearch/snapshot/api_op_ListDomainNames.go.snap index 4a7e5309986..41390e6e2df 100644 --- a/service/opensearch/snapshot/api_op_ListDomainNames.go.snap +++ b/service/opensearch/snapshot/api_op_ListDomainNames.go.snap @@ -13,7 +13,6 @@ ListDomainNames Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_ListDomainsForPackage.go.snap b/service/opensearch/snapshot/api_op_ListDomainsForPackage.go.snap index 7891d7ceec1..21a2eecdda1 100644 --- a/service/opensearch/snapshot/api_op_ListDomainsForPackage.go.snap +++ b/service/opensearch/snapshot/api_op_ListDomainsForPackage.go.snap @@ -14,7 +14,6 @@ ListDomainsForPackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_ListInstanceTypeDetails.go.snap b/service/opensearch/snapshot/api_op_ListInstanceTypeDetails.go.snap index 36f3b37b1bb..001b1f78dc7 100644 --- a/service/opensearch/snapshot/api_op_ListInstanceTypeDetails.go.snap +++ b/service/opensearch/snapshot/api_op_ListInstanceTypeDetails.go.snap @@ -14,7 +14,6 @@ ListInstanceTypeDetails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_ListPackagesForDomain.go.snap b/service/opensearch/snapshot/api_op_ListPackagesForDomain.go.snap index a9c69ac1fe7..18ea7bde5b2 100644 --- a/service/opensearch/snapshot/api_op_ListPackagesForDomain.go.snap +++ b/service/opensearch/snapshot/api_op_ListPackagesForDomain.go.snap @@ -14,7 +14,6 @@ ListPackagesForDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_ListScheduledActions.go.snap b/service/opensearch/snapshot/api_op_ListScheduledActions.go.snap index 042f63f5874..e605b38effa 100644 --- a/service/opensearch/snapshot/api_op_ListScheduledActions.go.snap +++ b/service/opensearch/snapshot/api_op_ListScheduledActions.go.snap @@ -14,7 +14,6 @@ ListScheduledActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_ListTags.go.snap b/service/opensearch/snapshot/api_op_ListTags.go.snap index 1b1e99185a9..438bd1b7aec 100644 --- a/service/opensearch/snapshot/api_op_ListTags.go.snap +++ b/service/opensearch/snapshot/api_op_ListTags.go.snap @@ -14,7 +14,6 @@ ListTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_ListVersions.go.snap b/service/opensearch/snapshot/api_op_ListVersions.go.snap index e735edd6ec7..1cf18150ee5 100644 --- a/service/opensearch/snapshot/api_op_ListVersions.go.snap +++ b/service/opensearch/snapshot/api_op_ListVersions.go.snap @@ -13,7 +13,6 @@ ListVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_ListVpcEndpointAccess.go.snap b/service/opensearch/snapshot/api_op_ListVpcEndpointAccess.go.snap index ede27afdf75..bfc5457e260 100644 --- a/service/opensearch/snapshot/api_op_ListVpcEndpointAccess.go.snap +++ b/service/opensearch/snapshot/api_op_ListVpcEndpointAccess.go.snap @@ -14,7 +14,6 @@ ListVpcEndpointAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_ListVpcEndpoints.go.snap b/service/opensearch/snapshot/api_op_ListVpcEndpoints.go.snap index 54f31990dc9..f7d511f5fd1 100644 --- a/service/opensearch/snapshot/api_op_ListVpcEndpoints.go.snap +++ b/service/opensearch/snapshot/api_op_ListVpcEndpoints.go.snap @@ -13,7 +13,6 @@ ListVpcEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_ListVpcEndpointsForDomain.go.snap b/service/opensearch/snapshot/api_op_ListVpcEndpointsForDomain.go.snap index 169c7aaddff..2b1d38d1fe8 100644 --- a/service/opensearch/snapshot/api_op_ListVpcEndpointsForDomain.go.snap +++ b/service/opensearch/snapshot/api_op_ListVpcEndpointsForDomain.go.snap @@ -14,7 +14,6 @@ ListVpcEndpointsForDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_PurchaseReservedInstanceOffering.go.snap b/service/opensearch/snapshot/api_op_PurchaseReservedInstanceOffering.go.snap index d1f18b68016..2a1ffb079b5 100644 --- a/service/opensearch/snapshot/api_op_PurchaseReservedInstanceOffering.go.snap +++ b/service/opensearch/snapshot/api_op_PurchaseReservedInstanceOffering.go.snap @@ -14,7 +14,6 @@ PurchaseReservedInstanceOffering Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_RejectInboundConnection.go.snap b/service/opensearch/snapshot/api_op_RejectInboundConnection.go.snap index f2c28b6e95b..657596415fd 100644 --- a/service/opensearch/snapshot/api_op_RejectInboundConnection.go.snap +++ b/service/opensearch/snapshot/api_op_RejectInboundConnection.go.snap @@ -14,7 +14,6 @@ RejectInboundConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_RemoveTags.go.snap b/service/opensearch/snapshot/api_op_RemoveTags.go.snap index eb11fc26f76..e1cbd329051 100644 --- a/service/opensearch/snapshot/api_op_RemoveTags.go.snap +++ b/service/opensearch/snapshot/api_op_RemoveTags.go.snap @@ -14,7 +14,6 @@ RemoveTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_RevokeVpcEndpointAccess.go.snap b/service/opensearch/snapshot/api_op_RevokeVpcEndpointAccess.go.snap index 899652379ae..586989106a1 100644 --- a/service/opensearch/snapshot/api_op_RevokeVpcEndpointAccess.go.snap +++ b/service/opensearch/snapshot/api_op_RevokeVpcEndpointAccess.go.snap @@ -14,7 +14,6 @@ RevokeVpcEndpointAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_StartDomainMaintenance.go.snap b/service/opensearch/snapshot/api_op_StartDomainMaintenance.go.snap index e167ccc62b7..cca0deafe85 100644 --- a/service/opensearch/snapshot/api_op_StartDomainMaintenance.go.snap +++ b/service/opensearch/snapshot/api_op_StartDomainMaintenance.go.snap @@ -14,7 +14,6 @@ StartDomainMaintenance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_StartServiceSoftwareUpdate.go.snap b/service/opensearch/snapshot/api_op_StartServiceSoftwareUpdate.go.snap index 0fa353709cd..1ee4fa214c8 100644 --- a/service/opensearch/snapshot/api_op_StartServiceSoftwareUpdate.go.snap +++ b/service/opensearch/snapshot/api_op_StartServiceSoftwareUpdate.go.snap @@ -14,7 +14,6 @@ StartServiceSoftwareUpdate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_UpdateApplication.go.snap b/service/opensearch/snapshot/api_op_UpdateApplication.go.snap index 5ec4c02edff..d4e2fa4991a 100644 --- a/service/opensearch/snapshot/api_op_UpdateApplication.go.snap +++ b/service/opensearch/snapshot/api_op_UpdateApplication.go.snap @@ -14,7 +14,6 @@ UpdateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_UpdateDataSource.go.snap b/service/opensearch/snapshot/api_op_UpdateDataSource.go.snap index 7c4d5cf15b4..02ae762c076 100644 --- a/service/opensearch/snapshot/api_op_UpdateDataSource.go.snap +++ b/service/opensearch/snapshot/api_op_UpdateDataSource.go.snap @@ -14,7 +14,6 @@ UpdateDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_UpdateDirectQueryDataSource.go.snap b/service/opensearch/snapshot/api_op_UpdateDirectQueryDataSource.go.snap index 44fef2a4f33..1cc38fe159e 100644 --- a/service/opensearch/snapshot/api_op_UpdateDirectQueryDataSource.go.snap +++ b/service/opensearch/snapshot/api_op_UpdateDirectQueryDataSource.go.snap @@ -14,7 +14,6 @@ UpdateDirectQueryDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_UpdateDomainConfig.go.snap b/service/opensearch/snapshot/api_op_UpdateDomainConfig.go.snap index ef8df833db9..2f85a2e005d 100644 --- a/service/opensearch/snapshot/api_op_UpdateDomainConfig.go.snap +++ b/service/opensearch/snapshot/api_op_UpdateDomainConfig.go.snap @@ -14,7 +14,6 @@ UpdateDomainConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_UpdatePackage.go.snap b/service/opensearch/snapshot/api_op_UpdatePackage.go.snap index 8110076f4eb..42865474dd7 100644 --- a/service/opensearch/snapshot/api_op_UpdatePackage.go.snap +++ b/service/opensearch/snapshot/api_op_UpdatePackage.go.snap @@ -14,7 +14,6 @@ UpdatePackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_UpdatePackageScope.go.snap b/service/opensearch/snapshot/api_op_UpdatePackageScope.go.snap index 7f1045c5d7d..a7f5977dacf 100644 --- a/service/opensearch/snapshot/api_op_UpdatePackageScope.go.snap +++ b/service/opensearch/snapshot/api_op_UpdatePackageScope.go.snap @@ -14,7 +14,6 @@ UpdatePackageScope Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_UpdateScheduledAction.go.snap b/service/opensearch/snapshot/api_op_UpdateScheduledAction.go.snap index d6a0891ba67..afb72b6dc49 100644 --- a/service/opensearch/snapshot/api_op_UpdateScheduledAction.go.snap +++ b/service/opensearch/snapshot/api_op_UpdateScheduledAction.go.snap @@ -14,7 +14,6 @@ UpdateScheduledAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_UpdateVpcEndpoint.go.snap b/service/opensearch/snapshot/api_op_UpdateVpcEndpoint.go.snap index 9e7190b277d..73b01fd6a26 100644 --- a/service/opensearch/snapshot/api_op_UpdateVpcEndpoint.go.snap +++ b/service/opensearch/snapshot/api_op_UpdateVpcEndpoint.go.snap @@ -14,7 +14,6 @@ UpdateVpcEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearch/snapshot/api_op_UpgradeDomain.go.snap b/service/opensearch/snapshot/api_op_UpgradeDomain.go.snap index b676f40cfc0..d2b88ba4db8 100644 --- a/service/opensearch/snapshot/api_op_UpgradeDomain.go.snap +++ b/service/opensearch/snapshot/api_op_UpgradeDomain.go.snap @@ -14,7 +14,6 @@ UpgradeDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/api_client.go b/service/opensearchserverless/api_client.go index 09de6e7ba70..bf6b5c9a87f 100644 --- a/service/opensearchserverless/api_client.go +++ b/service/opensearchserverless/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/opensearchserverless/api_op_BatchGetCollection.go b/service/opensearchserverless/api_op_BatchGetCollection.go index af35bc8403e..389355a417f 100644 --- a/service/opensearchserverless/api_op_BatchGetCollection.go +++ b/service/opensearchserverless/api_op_BatchGetCollection.go @@ -123,9 +123,6 @@ func (c *Client) addOperationBatchGetCollectionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetCollection(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opensearchserverless/api_op_BatchGetEffectiveLifecyclePolicy.go b/service/opensearchserverless/api_op_BatchGetEffectiveLifecyclePolicy.go index 5fcd8c39933..7d3de233a7c 100644 --- a/service/opensearchserverless/api_op_BatchGetEffectiveLifecyclePolicy.go +++ b/service/opensearchserverless/api_op_BatchGetEffectiveLifecyclePolicy.go @@ -118,9 +118,6 @@ func (c *Client) addOperationBatchGetEffectiveLifecyclePolicyMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetEffectiveLifecyclePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_BatchGetLifecyclePolicy.go b/service/opensearchserverless/api_op_BatchGetLifecyclePolicy.go index a42dc4ef27f..c81ea4089ce 100644 --- a/service/opensearchserverless/api_op_BatchGetLifecyclePolicy.go +++ b/service/opensearchserverless/api_op_BatchGetLifecyclePolicy.go @@ -118,9 +118,6 @@ func (c *Client) addOperationBatchGetLifecyclePolicyMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetLifecyclePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_BatchGetVpcEndpoint.go b/service/opensearchserverless/api_op_BatchGetVpcEndpoint.go index c3252f1e526..dc92efdaaab 100644 --- a/service/opensearchserverless/api_op_BatchGetVpcEndpoint.go +++ b/service/opensearchserverless/api_op_BatchGetVpcEndpoint.go @@ -118,9 +118,6 @@ func (c *Client) addOperationBatchGetVpcEndpointMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetVpcEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_CreateAccessPolicy.go b/service/opensearchserverless/api_op_CreateAccessPolicy.go index 934d859b1a9..b1dde4a0063 100644 --- a/service/opensearchserverless/api_op_CreateAccessPolicy.go +++ b/service/opensearchserverless/api_op_CreateAccessPolicy.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCreateAccessPolicyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAccessPolicyMiddleware(stack, options); err != nil { return err } diff --git a/service/opensearchserverless/api_op_CreateCollection.go b/service/opensearchserverless/api_op_CreateCollection.go index b9b607e9acc..0a253d51412 100644 --- a/service/opensearchserverless/api_op_CreateCollection.go +++ b/service/opensearchserverless/api_op_CreateCollection.go @@ -130,9 +130,6 @@ func (c *Client) addOperationCreateCollectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateCollectionMiddleware(stack, options); err != nil { return err } diff --git a/service/opensearchserverless/api_op_CreateLifecyclePolicy.go b/service/opensearchserverless/api_op_CreateLifecyclePolicy.go index bc40ca851c5..a10d8c334ce 100644 --- a/service/opensearchserverless/api_op_CreateLifecyclePolicy.go +++ b/service/opensearchserverless/api_op_CreateLifecyclePolicy.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateLifecyclePolicyMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateLifecyclePolicyMiddleware(stack, options); err != nil { return err } diff --git a/service/opensearchserverless/api_op_CreateSecurityConfig.go b/service/opensearchserverless/api_op_CreateSecurityConfig.go index 0a6e41356ff..67a0decbe96 100644 --- a/service/opensearchserverless/api_op_CreateSecurityConfig.go +++ b/service/opensearchserverless/api_op_CreateSecurityConfig.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCreateSecurityConfigMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateSecurityConfigMiddleware(stack, options); err != nil { return err } diff --git a/service/opensearchserverless/api_op_CreateSecurityPolicy.go b/service/opensearchserverless/api_op_CreateSecurityPolicy.go index 9eede771490..ce6a76b253a 100644 --- a/service/opensearchserverless/api_op_CreateSecurityPolicy.go +++ b/service/opensearchserverless/api_op_CreateSecurityPolicy.go @@ -136,9 +136,6 @@ func (c *Client) addOperationCreateSecurityPolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateSecurityPolicyMiddleware(stack, options); err != nil { return err } diff --git a/service/opensearchserverless/api_op_CreateVpcEndpoint.go b/service/opensearchserverless/api_op_CreateVpcEndpoint.go index 8b09416b1f0..ff86512c4c4 100644 --- a/service/opensearchserverless/api_op_CreateVpcEndpoint.go +++ b/service/opensearchserverless/api_op_CreateVpcEndpoint.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateVpcEndpointMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateVpcEndpointMiddleware(stack, options); err != nil { return err } diff --git a/service/opensearchserverless/api_op_DeleteAccessPolicy.go b/service/opensearchserverless/api_op_DeleteAccessPolicy.go index 50c0af365d7..d623dde0d48 100644 --- a/service/opensearchserverless/api_op_DeleteAccessPolicy.go +++ b/service/opensearchserverless/api_op_DeleteAccessPolicy.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteAccessPolicyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteAccessPolicyMiddleware(stack, options); err != nil { return err } diff --git a/service/opensearchserverless/api_op_DeleteCollection.go b/service/opensearchserverless/api_op_DeleteCollection.go index 91b9b3f661f..089d39bbbac 100644 --- a/service/opensearchserverless/api_op_DeleteCollection.go +++ b/service/opensearchserverless/api_op_DeleteCollection.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteCollectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteCollectionMiddleware(stack, options); err != nil { return err } diff --git a/service/opensearchserverless/api_op_DeleteLifecyclePolicy.go b/service/opensearchserverless/api_op_DeleteLifecyclePolicy.go index 890c0c25562..d53d5cb9f7f 100644 --- a/service/opensearchserverless/api_op_DeleteLifecyclePolicy.go +++ b/service/opensearchserverless/api_op_DeleteLifecyclePolicy.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteLifecyclePolicyMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteLifecyclePolicyMiddleware(stack, options); err != nil { return err } diff --git a/service/opensearchserverless/api_op_DeleteSecurityConfig.go b/service/opensearchserverless/api_op_DeleteSecurityConfig.go index 2cfdd983141..d62d762e1f1 100644 --- a/service/opensearchserverless/api_op_DeleteSecurityConfig.go +++ b/service/opensearchserverless/api_op_DeleteSecurityConfig.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteSecurityConfigMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteSecurityConfigMiddleware(stack, options); err != nil { return err } diff --git a/service/opensearchserverless/api_op_DeleteSecurityPolicy.go b/service/opensearchserverless/api_op_DeleteSecurityPolicy.go index b7439b345f2..e03a265dc8c 100644 --- a/service/opensearchserverless/api_op_DeleteSecurityPolicy.go +++ b/service/opensearchserverless/api_op_DeleteSecurityPolicy.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteSecurityPolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteSecurityPolicyMiddleware(stack, options); err != nil { return err } diff --git a/service/opensearchserverless/api_op_DeleteVpcEndpoint.go b/service/opensearchserverless/api_op_DeleteVpcEndpoint.go index 82a5c8c2faa..17f63730c90 100644 --- a/service/opensearchserverless/api_op_DeleteVpcEndpoint.go +++ b/service/opensearchserverless/api_op_DeleteVpcEndpoint.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteVpcEndpointMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteVpcEndpointMiddleware(stack, options); err != nil { return err } diff --git a/service/opensearchserverless/api_op_GetAccessPolicy.go b/service/opensearchserverless/api_op_GetAccessPolicy.go index a87b8478d0e..77bc2f37428 100644 --- a/service/opensearchserverless/api_op_GetAccessPolicy.go +++ b/service/opensearchserverless/api_op_GetAccessPolicy.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetAccessPolicyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAccessPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_GetAccountSettings.go b/service/opensearchserverless/api_op_GetAccountSettings.go index 4983be1916c..2b7323ee6f0 100644 --- a/service/opensearchserverless/api_op_GetAccountSettings.go +++ b/service/opensearchserverless/api_op_GetAccountSettings.go @@ -106,9 +106,6 @@ func (c *Client) addOperationGetAccountSettingsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opensearchserverless/api_op_GetPoliciesStats.go b/service/opensearchserverless/api_op_GetPoliciesStats.go index 9c0bb684837..7f13202aab4 100644 --- a/service/opensearchserverless/api_op_GetPoliciesStats.go +++ b/service/opensearchserverless/api_op_GetPoliciesStats.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetPoliciesStatsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPoliciesStats(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opensearchserverless/api_op_GetSecurityConfig.go b/service/opensearchserverless/api_op_GetSecurityConfig.go index 16d7b00615f..1879f655897 100644 --- a/service/opensearchserverless/api_op_GetSecurityConfig.go +++ b/service/opensearchserverless/api_op_GetSecurityConfig.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetSecurityConfigMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSecurityConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_GetSecurityPolicy.go b/service/opensearchserverless/api_op_GetSecurityPolicy.go index 4b56a62ea8c..2b1a6258f29 100644 --- a/service/opensearchserverless/api_op_GetSecurityPolicy.go +++ b/service/opensearchserverless/api_op_GetSecurityPolicy.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetSecurityPolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSecurityPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_ListAccessPolicies.go b/service/opensearchserverless/api_op_ListAccessPolicies.go index 1ddd01692f4..ccf5fe511dc 100644 --- a/service/opensearchserverless/api_op_ListAccessPolicies.go +++ b/service/opensearchserverless/api_op_ListAccessPolicies.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListAccessPoliciesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAccessPoliciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_ListCollections.go b/service/opensearchserverless/api_op_ListCollections.go index cd1973fc43e..5be1fed5ece 100644 --- a/service/opensearchserverless/api_op_ListCollections.go +++ b/service/opensearchserverless/api_op_ListCollections.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListCollectionsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCollections(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opensearchserverless/api_op_ListLifecyclePolicies.go b/service/opensearchserverless/api_op_ListLifecyclePolicies.go index 7ffcca6b079..35fac6506ab 100644 --- a/service/opensearchserverless/api_op_ListLifecyclePolicies.go +++ b/service/opensearchserverless/api_op_ListLifecyclePolicies.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListLifecyclePoliciesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListLifecyclePoliciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_ListSecurityConfigs.go b/service/opensearchserverless/api_op_ListSecurityConfigs.go index 558b7251171..e0c10269c5e 100644 --- a/service/opensearchserverless/api_op_ListSecurityConfigs.go +++ b/service/opensearchserverless/api_op_ListSecurityConfigs.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListSecurityConfigsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSecurityConfigsValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_ListSecurityPolicies.go b/service/opensearchserverless/api_op_ListSecurityPolicies.go index 8f463613c47..6cff9d8a8fc 100644 --- a/service/opensearchserverless/api_op_ListSecurityPolicies.go +++ b/service/opensearchserverless/api_op_ListSecurityPolicies.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListSecurityPoliciesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSecurityPoliciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_ListTagsForResource.go b/service/opensearchserverless/api_op_ListTagsForResource.go index 09f56c342d0..8466775524f 100644 --- a/service/opensearchserverless/api_op_ListTagsForResource.go +++ b/service/opensearchserverless/api_op_ListTagsForResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_ListVpcEndpoints.go b/service/opensearchserverless/api_op_ListVpcEndpoints.go index 24c707b054a..fbd1ca3b6ab 100644 --- a/service/opensearchserverless/api_op_ListVpcEndpoints.go +++ b/service/opensearchserverless/api_op_ListVpcEndpoints.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListVpcEndpointsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVpcEndpoints(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opensearchserverless/api_op_TagResource.go b/service/opensearchserverless/api_op_TagResource.go index 35b902f1194..3a86d7e4a52 100644 --- a/service/opensearchserverless/api_op_TagResource.go +++ b/service/opensearchserverless/api_op_TagResource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_UntagResource.go b/service/opensearchserverless/api_op_UntagResource.go index 3c3d647ebed..2dc35927dfc 100644 --- a/service/opensearchserverless/api_op_UntagResource.go +++ b/service/opensearchserverless/api_op_UntagResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/opensearchserverless/api_op_UpdateAccessPolicy.go b/service/opensearchserverless/api_op_UpdateAccessPolicy.go index dea17d42a79..7675de4a875 100644 --- a/service/opensearchserverless/api_op_UpdateAccessPolicy.go +++ b/service/opensearchserverless/api_op_UpdateAccessPolicy.go @@ -134,9 +134,6 @@ func (c *Client) addOperationUpdateAccessPolicyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateAccessPolicyMiddleware(stack, options); err != nil { return err } diff --git a/service/opensearchserverless/api_op_UpdateAccountSettings.go b/service/opensearchserverless/api_op_UpdateAccountSettings.go index 49c03b8a117..9bbe6693f39 100644 --- a/service/opensearchserverless/api_op_UpdateAccountSettings.go +++ b/service/opensearchserverless/api_op_UpdateAccountSettings.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateAccountSettingsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAccountSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opensearchserverless/api_op_UpdateCollection.go b/service/opensearchserverless/api_op_UpdateCollection.go index 7117f906193..2707e5a1d80 100644 --- a/service/opensearchserverless/api_op_UpdateCollection.go +++ b/service/opensearchserverless/api_op_UpdateCollection.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateCollectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateCollectionMiddleware(stack, options); err != nil { return err } diff --git a/service/opensearchserverless/api_op_UpdateLifecyclePolicy.go b/service/opensearchserverless/api_op_UpdateLifecyclePolicy.go index 85b1e586e7d..4571cf5d33e 100644 --- a/service/opensearchserverless/api_op_UpdateLifecyclePolicy.go +++ b/service/opensearchserverless/api_op_UpdateLifecyclePolicy.go @@ -133,9 +133,6 @@ func (c *Client) addOperationUpdateLifecyclePolicyMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateLifecyclePolicyMiddleware(stack, options); err != nil { return err } diff --git a/service/opensearchserverless/api_op_UpdateSecurityConfig.go b/service/opensearchserverless/api_op_UpdateSecurityConfig.go index 19c7c399dd7..d1f5e46469d 100644 --- a/service/opensearchserverless/api_op_UpdateSecurityConfig.go +++ b/service/opensearchserverless/api_op_UpdateSecurityConfig.go @@ -134,9 +134,6 @@ func (c *Client) addOperationUpdateSecurityConfigMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateSecurityConfigMiddleware(stack, options); err != nil { return err } diff --git a/service/opensearchserverless/api_op_UpdateSecurityPolicy.go b/service/opensearchserverless/api_op_UpdateSecurityPolicy.go index 1219f31057d..5761c165884 100644 --- a/service/opensearchserverless/api_op_UpdateSecurityPolicy.go +++ b/service/opensearchserverless/api_op_UpdateSecurityPolicy.go @@ -136,9 +136,6 @@ func (c *Client) addOperationUpdateSecurityPolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateSecurityPolicyMiddleware(stack, options); err != nil { return err } diff --git a/service/opensearchserverless/api_op_UpdateVpcEndpoint.go b/service/opensearchserverless/api_op_UpdateVpcEndpoint.go index 487dd4f02f3..52ddc48717f 100644 --- a/service/opensearchserverless/api_op_UpdateVpcEndpoint.go +++ b/service/opensearchserverless/api_op_UpdateVpcEndpoint.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdateVpcEndpointMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateVpcEndpointMiddleware(stack, options); err != nil { return err } diff --git a/service/opensearchserverless/snapshot/api_op_BatchGetCollection.go.snap b/service/opensearchserverless/snapshot/api_op_BatchGetCollection.go.snap index 1a5290b6cfe..0f18a9fd4cb 100644 --- a/service/opensearchserverless/snapshot/api_op_BatchGetCollection.go.snap +++ b/service/opensearchserverless/snapshot/api_op_BatchGetCollection.go.snap @@ -13,7 +13,6 @@ BatchGetCollection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_BatchGetEffectiveLifecyclePolicy.go.snap b/service/opensearchserverless/snapshot/api_op_BatchGetEffectiveLifecyclePolicy.go.snap index c9b2e4d436c..3fa68a9a5f7 100644 --- a/service/opensearchserverless/snapshot/api_op_BatchGetEffectiveLifecyclePolicy.go.snap +++ b/service/opensearchserverless/snapshot/api_op_BatchGetEffectiveLifecyclePolicy.go.snap @@ -14,7 +14,6 @@ BatchGetEffectiveLifecyclePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_BatchGetLifecyclePolicy.go.snap b/service/opensearchserverless/snapshot/api_op_BatchGetLifecyclePolicy.go.snap index 3ed9c306880..21c3e818e32 100644 --- a/service/opensearchserverless/snapshot/api_op_BatchGetLifecyclePolicy.go.snap +++ b/service/opensearchserverless/snapshot/api_op_BatchGetLifecyclePolicy.go.snap @@ -14,7 +14,6 @@ BatchGetLifecyclePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_BatchGetVpcEndpoint.go.snap b/service/opensearchserverless/snapshot/api_op_BatchGetVpcEndpoint.go.snap index 2c6f08e1dd6..51260e9ba91 100644 --- a/service/opensearchserverless/snapshot/api_op_BatchGetVpcEndpoint.go.snap +++ b/service/opensearchserverless/snapshot/api_op_BatchGetVpcEndpoint.go.snap @@ -14,7 +14,6 @@ BatchGetVpcEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_CreateAccessPolicy.go.snap b/service/opensearchserverless/snapshot/api_op_CreateAccessPolicy.go.snap index 78dead9a9a5..2f6d88e39b9 100644 --- a/service/opensearchserverless/snapshot/api_op_CreateAccessPolicy.go.snap +++ b/service/opensearchserverless/snapshot/api_op_CreateAccessPolicy.go.snap @@ -15,7 +15,6 @@ CreateAccessPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_CreateCollection.go.snap b/service/opensearchserverless/snapshot/api_op_CreateCollection.go.snap index 268dc423409..25886438d94 100644 --- a/service/opensearchserverless/snapshot/api_op_CreateCollection.go.snap +++ b/service/opensearchserverless/snapshot/api_op_CreateCollection.go.snap @@ -15,7 +15,6 @@ CreateCollection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_CreateLifecyclePolicy.go.snap b/service/opensearchserverless/snapshot/api_op_CreateLifecyclePolicy.go.snap index 19588c546dc..a025e30cb7d 100644 --- a/service/opensearchserverless/snapshot/api_op_CreateLifecyclePolicy.go.snap +++ b/service/opensearchserverless/snapshot/api_op_CreateLifecyclePolicy.go.snap @@ -15,7 +15,6 @@ CreateLifecyclePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_CreateSecurityConfig.go.snap b/service/opensearchserverless/snapshot/api_op_CreateSecurityConfig.go.snap index 0f9f64e54cf..ea6ae06a549 100644 --- a/service/opensearchserverless/snapshot/api_op_CreateSecurityConfig.go.snap +++ b/service/opensearchserverless/snapshot/api_op_CreateSecurityConfig.go.snap @@ -15,7 +15,6 @@ CreateSecurityConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_CreateSecurityPolicy.go.snap b/service/opensearchserverless/snapshot/api_op_CreateSecurityPolicy.go.snap index 55f73d5550a..53a403aa99a 100644 --- a/service/opensearchserverless/snapshot/api_op_CreateSecurityPolicy.go.snap +++ b/service/opensearchserverless/snapshot/api_op_CreateSecurityPolicy.go.snap @@ -15,7 +15,6 @@ CreateSecurityPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_CreateVpcEndpoint.go.snap b/service/opensearchserverless/snapshot/api_op_CreateVpcEndpoint.go.snap index 1c1d5b1059c..361686ad585 100644 --- a/service/opensearchserverless/snapshot/api_op_CreateVpcEndpoint.go.snap +++ b/service/opensearchserverless/snapshot/api_op_CreateVpcEndpoint.go.snap @@ -15,7 +15,6 @@ CreateVpcEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_DeleteAccessPolicy.go.snap b/service/opensearchserverless/snapshot/api_op_DeleteAccessPolicy.go.snap index aa2f2e8b9e3..a44184351f7 100644 --- a/service/opensearchserverless/snapshot/api_op_DeleteAccessPolicy.go.snap +++ b/service/opensearchserverless/snapshot/api_op_DeleteAccessPolicy.go.snap @@ -15,7 +15,6 @@ DeleteAccessPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_DeleteCollection.go.snap b/service/opensearchserverless/snapshot/api_op_DeleteCollection.go.snap index a7ebeb66ca6..b5d4478f8a5 100644 --- a/service/opensearchserverless/snapshot/api_op_DeleteCollection.go.snap +++ b/service/opensearchserverless/snapshot/api_op_DeleteCollection.go.snap @@ -15,7 +15,6 @@ DeleteCollection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_DeleteLifecyclePolicy.go.snap b/service/opensearchserverless/snapshot/api_op_DeleteLifecyclePolicy.go.snap index 054c005ab0a..dcae10b5f97 100644 --- a/service/opensearchserverless/snapshot/api_op_DeleteLifecyclePolicy.go.snap +++ b/service/opensearchserverless/snapshot/api_op_DeleteLifecyclePolicy.go.snap @@ -15,7 +15,6 @@ DeleteLifecyclePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_DeleteSecurityConfig.go.snap b/service/opensearchserverless/snapshot/api_op_DeleteSecurityConfig.go.snap index f2dfe33d60c..51a77e716ea 100644 --- a/service/opensearchserverless/snapshot/api_op_DeleteSecurityConfig.go.snap +++ b/service/opensearchserverless/snapshot/api_op_DeleteSecurityConfig.go.snap @@ -15,7 +15,6 @@ DeleteSecurityConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_DeleteSecurityPolicy.go.snap b/service/opensearchserverless/snapshot/api_op_DeleteSecurityPolicy.go.snap index 34c309349e9..3b595427968 100644 --- a/service/opensearchserverless/snapshot/api_op_DeleteSecurityPolicy.go.snap +++ b/service/opensearchserverless/snapshot/api_op_DeleteSecurityPolicy.go.snap @@ -15,7 +15,6 @@ DeleteSecurityPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_DeleteVpcEndpoint.go.snap b/service/opensearchserverless/snapshot/api_op_DeleteVpcEndpoint.go.snap index b140dd477a8..12f80ad0014 100644 --- a/service/opensearchserverless/snapshot/api_op_DeleteVpcEndpoint.go.snap +++ b/service/opensearchserverless/snapshot/api_op_DeleteVpcEndpoint.go.snap @@ -15,7 +15,6 @@ DeleteVpcEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_GetAccessPolicy.go.snap b/service/opensearchserverless/snapshot/api_op_GetAccessPolicy.go.snap index 3d8a537e9da..1189da272e6 100644 --- a/service/opensearchserverless/snapshot/api_op_GetAccessPolicy.go.snap +++ b/service/opensearchserverless/snapshot/api_op_GetAccessPolicy.go.snap @@ -14,7 +14,6 @@ GetAccessPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_GetAccountSettings.go.snap b/service/opensearchserverless/snapshot/api_op_GetAccountSettings.go.snap index 95499ead228..57ca9f6cbf4 100644 --- a/service/opensearchserverless/snapshot/api_op_GetAccountSettings.go.snap +++ b/service/opensearchserverless/snapshot/api_op_GetAccountSettings.go.snap @@ -13,7 +13,6 @@ GetAccountSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_GetPoliciesStats.go.snap b/service/opensearchserverless/snapshot/api_op_GetPoliciesStats.go.snap index 979d7338598..e2771e23463 100644 --- a/service/opensearchserverless/snapshot/api_op_GetPoliciesStats.go.snap +++ b/service/opensearchserverless/snapshot/api_op_GetPoliciesStats.go.snap @@ -13,7 +13,6 @@ GetPoliciesStats Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_GetSecurityConfig.go.snap b/service/opensearchserverless/snapshot/api_op_GetSecurityConfig.go.snap index dc60136b353..8e73c0cdb4f 100644 --- a/service/opensearchserverless/snapshot/api_op_GetSecurityConfig.go.snap +++ b/service/opensearchserverless/snapshot/api_op_GetSecurityConfig.go.snap @@ -14,7 +14,6 @@ GetSecurityConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_GetSecurityPolicy.go.snap b/service/opensearchserverless/snapshot/api_op_GetSecurityPolicy.go.snap index e490e74e2f8..64d3b765a4a 100644 --- a/service/opensearchserverless/snapshot/api_op_GetSecurityPolicy.go.snap +++ b/service/opensearchserverless/snapshot/api_op_GetSecurityPolicy.go.snap @@ -14,7 +14,6 @@ GetSecurityPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_ListAccessPolicies.go.snap b/service/opensearchserverless/snapshot/api_op_ListAccessPolicies.go.snap index ed861429316..05ab75bf7d4 100644 --- a/service/opensearchserverless/snapshot/api_op_ListAccessPolicies.go.snap +++ b/service/opensearchserverless/snapshot/api_op_ListAccessPolicies.go.snap @@ -14,7 +14,6 @@ ListAccessPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_ListCollections.go.snap b/service/opensearchserverless/snapshot/api_op_ListCollections.go.snap index ce23b9b0cf6..c94e1e80ee3 100644 --- a/service/opensearchserverless/snapshot/api_op_ListCollections.go.snap +++ b/service/opensearchserverless/snapshot/api_op_ListCollections.go.snap @@ -13,7 +13,6 @@ ListCollections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_ListLifecyclePolicies.go.snap b/service/opensearchserverless/snapshot/api_op_ListLifecyclePolicies.go.snap index 62d93d13a42..65c0adb0852 100644 --- a/service/opensearchserverless/snapshot/api_op_ListLifecyclePolicies.go.snap +++ b/service/opensearchserverless/snapshot/api_op_ListLifecyclePolicies.go.snap @@ -14,7 +14,6 @@ ListLifecyclePolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_ListSecurityConfigs.go.snap b/service/opensearchserverless/snapshot/api_op_ListSecurityConfigs.go.snap index 20616d681c9..5a44bcb650b 100644 --- a/service/opensearchserverless/snapshot/api_op_ListSecurityConfigs.go.snap +++ b/service/opensearchserverless/snapshot/api_op_ListSecurityConfigs.go.snap @@ -14,7 +14,6 @@ ListSecurityConfigs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_ListSecurityPolicies.go.snap b/service/opensearchserverless/snapshot/api_op_ListSecurityPolicies.go.snap index 20fbf42fc8a..55ccf944880 100644 --- a/service/opensearchserverless/snapshot/api_op_ListSecurityPolicies.go.snap +++ b/service/opensearchserverless/snapshot/api_op_ListSecurityPolicies.go.snap @@ -14,7 +14,6 @@ ListSecurityPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_ListTagsForResource.go.snap b/service/opensearchserverless/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/opensearchserverless/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/opensearchserverless/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_ListVpcEndpoints.go.snap b/service/opensearchserverless/snapshot/api_op_ListVpcEndpoints.go.snap index 54f31990dc9..f7d511f5fd1 100644 --- a/service/opensearchserverless/snapshot/api_op_ListVpcEndpoints.go.snap +++ b/service/opensearchserverless/snapshot/api_op_ListVpcEndpoints.go.snap @@ -13,7 +13,6 @@ ListVpcEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_TagResource.go.snap b/service/opensearchserverless/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/opensearchserverless/snapshot/api_op_TagResource.go.snap +++ b/service/opensearchserverless/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_UntagResource.go.snap b/service/opensearchserverless/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/opensearchserverless/snapshot/api_op_UntagResource.go.snap +++ b/service/opensearchserverless/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_UpdateAccessPolicy.go.snap b/service/opensearchserverless/snapshot/api_op_UpdateAccessPolicy.go.snap index a9fef8e3283..3122e5d4fa2 100644 --- a/service/opensearchserverless/snapshot/api_op_UpdateAccessPolicy.go.snap +++ b/service/opensearchserverless/snapshot/api_op_UpdateAccessPolicy.go.snap @@ -15,7 +15,6 @@ UpdateAccessPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_UpdateAccountSettings.go.snap b/service/opensearchserverless/snapshot/api_op_UpdateAccountSettings.go.snap index 2d48f636076..443e69d651e 100644 --- a/service/opensearchserverless/snapshot/api_op_UpdateAccountSettings.go.snap +++ b/service/opensearchserverless/snapshot/api_op_UpdateAccountSettings.go.snap @@ -13,7 +13,6 @@ UpdateAccountSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_UpdateCollection.go.snap b/service/opensearchserverless/snapshot/api_op_UpdateCollection.go.snap index 14a3ccdee52..08bbdd80834 100644 --- a/service/opensearchserverless/snapshot/api_op_UpdateCollection.go.snap +++ b/service/opensearchserverless/snapshot/api_op_UpdateCollection.go.snap @@ -15,7 +15,6 @@ UpdateCollection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_UpdateLifecyclePolicy.go.snap b/service/opensearchserverless/snapshot/api_op_UpdateLifecyclePolicy.go.snap index b6f1d142e56..3409daba9cb 100644 --- a/service/opensearchserverless/snapshot/api_op_UpdateLifecyclePolicy.go.snap +++ b/service/opensearchserverless/snapshot/api_op_UpdateLifecyclePolicy.go.snap @@ -15,7 +15,6 @@ UpdateLifecyclePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_UpdateSecurityConfig.go.snap b/service/opensearchserverless/snapshot/api_op_UpdateSecurityConfig.go.snap index f670fa2a869..f7991e8db42 100644 --- a/service/opensearchserverless/snapshot/api_op_UpdateSecurityConfig.go.snap +++ b/service/opensearchserverless/snapshot/api_op_UpdateSecurityConfig.go.snap @@ -15,7 +15,6 @@ UpdateSecurityConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_UpdateSecurityPolicy.go.snap b/service/opensearchserverless/snapshot/api_op_UpdateSecurityPolicy.go.snap index ab42d88a18d..9e3c4bf4be1 100644 --- a/service/opensearchserverless/snapshot/api_op_UpdateSecurityPolicy.go.snap +++ b/service/opensearchserverless/snapshot/api_op_UpdateSecurityPolicy.go.snap @@ -15,7 +15,6 @@ UpdateSecurityPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opensearchserverless/snapshot/api_op_UpdateVpcEndpoint.go.snap b/service/opensearchserverless/snapshot/api_op_UpdateVpcEndpoint.go.snap index 3671c49428b..efa0a7d1340 100644 --- a/service/opensearchserverless/snapshot/api_op_UpdateVpcEndpoint.go.snap +++ b/service/opensearchserverless/snapshot/api_op_UpdateVpcEndpoint.go.snap @@ -15,7 +15,6 @@ UpdateVpcEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/api_client.go b/service/opsworks/api_client.go index 86ef02f90a3..f8c638b4fa6 100644 --- a/service/opsworks/api_client.go +++ b/service/opsworks/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/opsworks/api_op_AssignInstance.go b/service/opsworks/api_op_AssignInstance.go index 9c9962c9499..95184020eeb 100644 --- a/service/opsworks/api_op_AssignInstance.go +++ b/service/opsworks/api_op_AssignInstance.go @@ -127,9 +127,6 @@ func (c *Client) addOperationAssignInstanceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssignInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_AssignVolume.go b/service/opsworks/api_op_AssignVolume.go index bb142109802..25d91ada040 100644 --- a/service/opsworks/api_op_AssignVolume.go +++ b/service/opsworks/api_op_AssignVolume.go @@ -120,9 +120,6 @@ func (c *Client) addOperationAssignVolumeMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssignVolumeValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_AssociateElasticIp.go b/service/opsworks/api_op_AssociateElasticIp.go index 37a0e1055fc..c769a5e9716 100644 --- a/service/opsworks/api_op_AssociateElasticIp.go +++ b/service/opsworks/api_op_AssociateElasticIp.go @@ -119,9 +119,6 @@ func (c *Client) addOperationAssociateElasticIpMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateElasticIpValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_AttachElasticLoadBalancer.go b/service/opsworks/api_op_AttachElasticLoadBalancer.go index 7c9ec03c665..4136c406d72 100644 --- a/service/opsworks/api_op_AttachElasticLoadBalancer.go +++ b/service/opsworks/api_op_AttachElasticLoadBalancer.go @@ -126,9 +126,6 @@ func (c *Client) addOperationAttachElasticLoadBalancerMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAttachElasticLoadBalancerValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_CloneStack.go b/service/opsworks/api_op_CloneStack.go index 256adeb6bcd..288e7748ff9 100644 --- a/service/opsworks/api_op_CloneStack.go +++ b/service/opsworks/api_op_CloneStack.go @@ -365,9 +365,6 @@ func (c *Client) addOperationCloneStackMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCloneStackValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_CreateApp.go b/service/opsworks/api_op_CreateApp.go index 904474ff8d4..3b1dbbc74c4 100644 --- a/service/opsworks/api_op_CreateApp.go +++ b/service/opsworks/api_op_CreateApp.go @@ -175,9 +175,6 @@ func (c *Client) addOperationCreateAppMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAppValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_CreateDeployment.go b/service/opsworks/api_op_CreateDeployment.go index fd5a4b6e407..3878a7ff580 100644 --- a/service/opsworks/api_op_CreateDeployment.go +++ b/service/opsworks/api_op_CreateDeployment.go @@ -153,9 +153,6 @@ func (c *Client) addOperationCreateDeploymentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_CreateInstance.go b/service/opsworks/api_op_CreateInstance.go index a8154687c52..a1e1e10fb93 100644 --- a/service/opsworks/api_op_CreateInstance.go +++ b/service/opsworks/api_op_CreateInstance.go @@ -267,9 +267,6 @@ func (c *Client) addOperationCreateInstanceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_CreateLayer.go b/service/opsworks/api_op_CreateLayer.go index e6f3215f9ab..c1ab41a8ffe 100644 --- a/service/opsworks/api_op_CreateLayer.go +++ b/service/opsworks/api_op_CreateLayer.go @@ -222,9 +222,6 @@ func (c *Client) addOperationCreateLayerMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLayerValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_CreateStack.go b/service/opsworks/api_op_CreateStack.go index e09b48f6150..10d6922eb7d 100644 --- a/service/opsworks/api_op_CreateStack.go +++ b/service/opsworks/api_op_CreateStack.go @@ -366,9 +366,6 @@ func (c *Client) addOperationCreateStackMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateStackValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_CreateUserProfile.go b/service/opsworks/api_op_CreateUserProfile.go index 9f60f950a93..980ab20efbc 100644 --- a/service/opsworks/api_op_CreateUserProfile.go +++ b/service/opsworks/api_op_CreateUserProfile.go @@ -133,9 +133,6 @@ func (c *Client) addOperationCreateUserProfileMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateUserProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DeleteApp.go b/service/opsworks/api_op_DeleteApp.go index bde8198ee0d..6927be310c4 100644 --- a/service/opsworks/api_op_DeleteApp.go +++ b/service/opsworks/api_op_DeleteApp.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteAppMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAppValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DeleteInstance.go b/service/opsworks/api_op_DeleteInstance.go index 0a43837e3c0..12d1c2daa39 100644 --- a/service/opsworks/api_op_DeleteInstance.go +++ b/service/opsworks/api_op_DeleteInstance.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteInstanceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DeleteLayer.go b/service/opsworks/api_op_DeleteLayer.go index a3fc5a14a0d..745a715881e 100644 --- a/service/opsworks/api_op_DeleteLayer.go +++ b/service/opsworks/api_op_DeleteLayer.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteLayerMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLayerValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DeleteStack.go b/service/opsworks/api_op_DeleteStack.go index 50d46b1db61..089e4fd063d 100644 --- a/service/opsworks/api_op_DeleteStack.go +++ b/service/opsworks/api_op_DeleteStack.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteStackMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteStackValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DeleteUserProfile.go b/service/opsworks/api_op_DeleteUserProfile.go index 1a393221a39..c4f30ecc0f3 100644 --- a/service/opsworks/api_op_DeleteUserProfile.go +++ b/service/opsworks/api_op_DeleteUserProfile.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteUserProfileMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUserProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DeregisterEcsCluster.go b/service/opsworks/api_op_DeregisterEcsCluster.go index 1cf2c62283f..6ce63c1c397 100644 --- a/service/opsworks/api_op_DeregisterEcsCluster.go +++ b/service/opsworks/api_op_DeregisterEcsCluster.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeregisterEcsClusterMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterEcsClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DeregisterElasticIp.go b/service/opsworks/api_op_DeregisterElasticIp.go index 1136ad2cbca..26c3c6aad15 100644 --- a/service/opsworks/api_op_DeregisterElasticIp.go +++ b/service/opsworks/api_op_DeregisterElasticIp.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeregisterElasticIpMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterElasticIpValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DeregisterInstance.go b/service/opsworks/api_op_DeregisterInstance.go index b1998cfb5d5..6c5c614732b 100644 --- a/service/opsworks/api_op_DeregisterInstance.go +++ b/service/opsworks/api_op_DeregisterInstance.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeregisterInstanceMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DeregisterRdsDbInstance.go b/service/opsworks/api_op_DeregisterRdsDbInstance.go index 3bd2e0d77dc..e6ed2f11637 100644 --- a/service/opsworks/api_op_DeregisterRdsDbInstance.go +++ b/service/opsworks/api_op_DeregisterRdsDbInstance.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeregisterRdsDbInstanceMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterRdsDbInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DeregisterVolume.go b/service/opsworks/api_op_DeregisterVolume.go index d622fea843f..e069f897e69 100644 --- a/service/opsworks/api_op_DeregisterVolume.go +++ b/service/opsworks/api_op_DeregisterVolume.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeregisterVolumeMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterVolumeValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeAgentVersions.go b/service/opsworks/api_op_DescribeAgentVersions.go index a041e6693a6..895baaf32cb 100644 --- a/service/opsworks/api_op_DescribeAgentVersions.go +++ b/service/opsworks/api_op_DescribeAgentVersions.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDescribeAgentVersionsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAgentVersions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeApps.go b/service/opsworks/api_op_DescribeApps.go index 5652ec99b67..b04b84dff19 100644 --- a/service/opsworks/api_op_DescribeApps.go +++ b/service/opsworks/api_op_DescribeApps.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDescribeAppsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeApps(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeCommands.go b/service/opsworks/api_op_DescribeCommands.go index 015f29aeea0..028514d095c 100644 --- a/service/opsworks/api_op_DescribeCommands.go +++ b/service/opsworks/api_op_DescribeCommands.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeCommandsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCommands(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeDeployments.go b/service/opsworks/api_op_DescribeDeployments.go index a75b8508d27..de50415cb70 100644 --- a/service/opsworks/api_op_DescribeDeployments.go +++ b/service/opsworks/api_op_DescribeDeployments.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeDeploymentsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDeployments(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeEcsClusters.go b/service/opsworks/api_op_DescribeEcsClusters.go index 870ebb65e05..18660dbd783 100644 --- a/service/opsworks/api_op_DescribeEcsClusters.go +++ b/service/opsworks/api_op_DescribeEcsClusters.go @@ -146,9 +146,6 @@ func (c *Client) addOperationDescribeEcsClustersMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEcsClusters(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeElasticIps.go b/service/opsworks/api_op_DescribeElasticIps.go index 22645220b5d..1f95dca6cf8 100644 --- a/service/opsworks/api_op_DescribeElasticIps.go +++ b/service/opsworks/api_op_DescribeElasticIps.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeElasticIpsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeElasticIps(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeElasticLoadBalancers.go b/service/opsworks/api_op_DescribeElasticLoadBalancers.go index a12ca08750a..b43925d1515 100644 --- a/service/opsworks/api_op_DescribeElasticLoadBalancers.go +++ b/service/opsworks/api_op_DescribeElasticLoadBalancers.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeElasticLoadBalancersMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeElasticLoadBalancers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeInstances.go b/service/opsworks/api_op_DescribeInstances.go index 8f601aa341a..d28852fa5f3 100644 --- a/service/opsworks/api_op_DescribeInstances.go +++ b/service/opsworks/api_op_DescribeInstances.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeInstancesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInstances(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeLayers.go b/service/opsworks/api_op_DescribeLayers.go index bc5db7f72ea..e4382e65be1 100644 --- a/service/opsworks/api_op_DescribeLayers.go +++ b/service/opsworks/api_op_DescribeLayers.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeLayersMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeLayers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeLoadBasedAutoScaling.go b/service/opsworks/api_op_DescribeLoadBasedAutoScaling.go index b76063da521..031553bd105 100644 --- a/service/opsworks/api_op_DescribeLoadBasedAutoScaling.go +++ b/service/opsworks/api_op_DescribeLoadBasedAutoScaling.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeLoadBasedAutoScalingMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeLoadBasedAutoScalingValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeMyUserProfile.go b/service/opsworks/api_op_DescribeMyUserProfile.go index 84acf73633f..67c9b52c238 100644 --- a/service/opsworks/api_op_DescribeMyUserProfile.go +++ b/service/opsworks/api_op_DescribeMyUserProfile.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDescribeMyUserProfileMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMyUserProfile(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeOperatingSystems.go b/service/opsworks/api_op_DescribeOperatingSystems.go index d39225aa839..5710705b236 100644 --- a/service/opsworks/api_op_DescribeOperatingSystems.go +++ b/service/opsworks/api_op_DescribeOperatingSystems.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDescribeOperatingSystemsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOperatingSystems(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opsworks/api_op_DescribePermissions.go b/service/opsworks/api_op_DescribePermissions.go index 1fe81dc7e7f..a67cdb10f50 100644 --- a/service/opsworks/api_op_DescribePermissions.go +++ b/service/opsworks/api_op_DescribePermissions.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribePermissionsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePermissions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeRaidArrays.go b/service/opsworks/api_op_DescribeRaidArrays.go index bbe845dfb9f..ba9161754a9 100644 --- a/service/opsworks/api_op_DescribeRaidArrays.go +++ b/service/opsworks/api_op_DescribeRaidArrays.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDescribeRaidArraysMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRaidArrays(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeRdsDbInstances.go b/service/opsworks/api_op_DescribeRdsDbInstances.go index a1b4a01b6be..9a985724e07 100644 --- a/service/opsworks/api_op_DescribeRdsDbInstances.go +++ b/service/opsworks/api_op_DescribeRdsDbInstances.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribeRdsDbInstancesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRdsDbInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeServiceErrors.go b/service/opsworks/api_op_DescribeServiceErrors.go index 3c1d8b9dd6c..dca5be7c5d7 100644 --- a/service/opsworks/api_op_DescribeServiceErrors.go +++ b/service/opsworks/api_op_DescribeServiceErrors.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeServiceErrorsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeServiceErrors(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeStackProvisioningParameters.go b/service/opsworks/api_op_DescribeStackProvisioningParameters.go index 546b51cf922..e21b5c17f73 100644 --- a/service/opsworks/api_op_DescribeStackProvisioningParameters.go +++ b/service/opsworks/api_op_DescribeStackProvisioningParameters.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeStackProvisioningParametersMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeStackProvisioningParametersValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeStackSummary.go b/service/opsworks/api_op_DescribeStackSummary.go index ba231d63fff..358b370ecab 100644 --- a/service/opsworks/api_op_DescribeStackSummary.go +++ b/service/opsworks/api_op_DescribeStackSummary.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDescribeStackSummaryMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeStackSummaryValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeStacks.go b/service/opsworks/api_op_DescribeStacks.go index 213c9e0f9db..2184cbd60ca 100644 --- a/service/opsworks/api_op_DescribeStacks.go +++ b/service/opsworks/api_op_DescribeStacks.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeStacksMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStacks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeTimeBasedAutoScaling.go b/service/opsworks/api_op_DescribeTimeBasedAutoScaling.go index ec4fe7d21f6..a62aa58421d 100644 --- a/service/opsworks/api_op_DescribeTimeBasedAutoScaling.go +++ b/service/opsworks/api_op_DescribeTimeBasedAutoScaling.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeTimeBasedAutoScalingMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTimeBasedAutoScalingValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeUserProfiles.go b/service/opsworks/api_op_DescribeUserProfiles.go index 5419d349493..2ea1114eb0b 100644 --- a/service/opsworks/api_op_DescribeUserProfiles.go +++ b/service/opsworks/api_op_DescribeUserProfiles.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDescribeUserProfilesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUserProfiles(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opsworks/api_op_DescribeVolumes.go b/service/opsworks/api_op_DescribeVolumes.go index 49b981b2298..b67ecf3231d 100644 --- a/service/opsworks/api_op_DescribeVolumes.go +++ b/service/opsworks/api_op_DescribeVolumes.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeVolumesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVolumes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opsworks/api_op_DetachElasticLoadBalancer.go b/service/opsworks/api_op_DetachElasticLoadBalancer.go index 79d0557b05a..190eaf77b28 100644 --- a/service/opsworks/api_op_DetachElasticLoadBalancer.go +++ b/service/opsworks/api_op_DetachElasticLoadBalancer.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDetachElasticLoadBalancerMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetachElasticLoadBalancerValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_DisassociateElasticIp.go b/service/opsworks/api_op_DisassociateElasticIp.go index b70d8795477..578a1bc780b 100644 --- a/service/opsworks/api_op_DisassociateElasticIp.go +++ b/service/opsworks/api_op_DisassociateElasticIp.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDisassociateElasticIpMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateElasticIpValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_GetHostnameSuggestion.go b/service/opsworks/api_op_GetHostnameSuggestion.go index 6d94311e8f6..a309b26fad9 100644 --- a/service/opsworks/api_op_GetHostnameSuggestion.go +++ b/service/opsworks/api_op_GetHostnameSuggestion.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetHostnameSuggestionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetHostnameSuggestionValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_GrantAccess.go b/service/opsworks/api_op_GrantAccess.go index 036329e52a9..a639f893e1a 100644 --- a/service/opsworks/api_op_GrantAccess.go +++ b/service/opsworks/api_op_GrantAccess.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGrantAccessMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGrantAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_ListTags.go b/service/opsworks/api_op_ListTags.go index bdac05211fe..eb83917688f 100644 --- a/service/opsworks/api_op_ListTags.go +++ b/service/opsworks/api_op_ListTags.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListTagsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_RebootInstance.go b/service/opsworks/api_op_RebootInstance.go index 29c3b91e52e..e2eae6c662b 100644 --- a/service/opsworks/api_op_RebootInstance.go +++ b/service/opsworks/api_op_RebootInstance.go @@ -114,9 +114,6 @@ func (c *Client) addOperationRebootInstanceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRebootInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_RegisterEcsCluster.go b/service/opsworks/api_op_RegisterEcsCluster.go index a841c7b7c20..11a3be2e553 100644 --- a/service/opsworks/api_op_RegisterEcsCluster.go +++ b/service/opsworks/api_op_RegisterEcsCluster.go @@ -126,9 +126,6 @@ func (c *Client) addOperationRegisterEcsClusterMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterEcsClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_RegisterElasticIp.go b/service/opsworks/api_op_RegisterElasticIp.go index 538090d9843..14f19a057c7 100644 --- a/service/opsworks/api_op_RegisterElasticIp.go +++ b/service/opsworks/api_op_RegisterElasticIp.go @@ -126,9 +126,6 @@ func (c *Client) addOperationRegisterElasticIpMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterElasticIpValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_RegisterInstance.go b/service/opsworks/api_op_RegisterInstance.go index d13451b7f52..960a14536bc 100644 --- a/service/opsworks/api_op_RegisterInstance.go +++ b/service/opsworks/api_op_RegisterInstance.go @@ -158,9 +158,6 @@ func (c *Client) addOperationRegisterInstanceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_RegisterRdsDbInstance.go b/service/opsworks/api_op_RegisterRdsDbInstance.go index c97c9485075..1caee513b4e 100644 --- a/service/opsworks/api_op_RegisterRdsDbInstance.go +++ b/service/opsworks/api_op_RegisterRdsDbInstance.go @@ -128,9 +128,6 @@ func (c *Client) addOperationRegisterRdsDbInstanceMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterRdsDbInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_RegisterVolume.go b/service/opsworks/api_op_RegisterVolume.go index 89d5225191d..d1f621ecd44 100644 --- a/service/opsworks/api_op_RegisterVolume.go +++ b/service/opsworks/api_op_RegisterVolume.go @@ -124,9 +124,6 @@ func (c *Client) addOperationRegisterVolumeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterVolumeValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_SetLoadBasedAutoScaling.go b/service/opsworks/api_op_SetLoadBasedAutoScaling.go index 11ec04ee3f2..e5cc65086f7 100644 --- a/service/opsworks/api_op_SetLoadBasedAutoScaling.go +++ b/service/opsworks/api_op_SetLoadBasedAutoScaling.go @@ -134,9 +134,6 @@ func (c *Client) addOperationSetLoadBasedAutoScalingMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetLoadBasedAutoScalingValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_SetPermission.go b/service/opsworks/api_op_SetPermission.go index de6d412a32b..c0813869754 100644 --- a/service/opsworks/api_op_SetPermission.go +++ b/service/opsworks/api_op_SetPermission.go @@ -143,9 +143,6 @@ func (c *Client) addOperationSetPermissionMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetPermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_SetTimeBasedAutoScaling.go b/service/opsworks/api_op_SetTimeBasedAutoScaling.go index 9fbb9f91f97..2b76d20504f 100644 --- a/service/opsworks/api_op_SetTimeBasedAutoScaling.go +++ b/service/opsworks/api_op_SetTimeBasedAutoScaling.go @@ -119,9 +119,6 @@ func (c *Client) addOperationSetTimeBasedAutoScalingMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetTimeBasedAutoScalingValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_StartInstance.go b/service/opsworks/api_op_StartInstance.go index 162b3419cb9..8337097ab93 100644 --- a/service/opsworks/api_op_StartInstance.go +++ b/service/opsworks/api_op_StartInstance.go @@ -114,9 +114,6 @@ func (c *Client) addOperationStartInstanceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_StartStack.go b/service/opsworks/api_op_StartStack.go index ded1acc296b..2faab81e652 100644 --- a/service/opsworks/api_op_StartStack.go +++ b/service/opsworks/api_op_StartStack.go @@ -113,9 +113,6 @@ func (c *Client) addOperationStartStackMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartStackValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_StopInstance.go b/service/opsworks/api_op_StopInstance.go index a2e26df104a..c8bdf53909d 100644 --- a/service/opsworks/api_op_StopInstance.go +++ b/service/opsworks/api_op_StopInstance.go @@ -124,9 +124,6 @@ func (c *Client) addOperationStopInstanceMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_StopStack.go b/service/opsworks/api_op_StopStack.go index 2d839753d88..a31801d6ca8 100644 --- a/service/opsworks/api_op_StopStack.go +++ b/service/opsworks/api_op_StopStack.go @@ -113,9 +113,6 @@ func (c *Client) addOperationStopStackMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopStackValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_TagResource.go b/service/opsworks/api_op_TagResource.go index dfd4d1b93ca..47b28f31037 100644 --- a/service/opsworks/api_op_TagResource.go +++ b/service/opsworks/api_op_TagResource.go @@ -130,9 +130,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_UnassignInstance.go b/service/opsworks/api_op_UnassignInstance.go index 386e1507b16..ec9489054e7 100644 --- a/service/opsworks/api_op_UnassignInstance.go +++ b/service/opsworks/api_op_UnassignInstance.go @@ -116,9 +116,6 @@ func (c *Client) addOperationUnassignInstanceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUnassignInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_UnassignVolume.go b/service/opsworks/api_op_UnassignVolume.go index b663f62db07..686a6012d40 100644 --- a/service/opsworks/api_op_UnassignVolume.go +++ b/service/opsworks/api_op_UnassignVolume.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUnassignVolumeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUnassignVolumeValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_UntagResource.go b/service/opsworks/api_op_UntagResource.go index 9b28081555a..4676c3947cc 100644 --- a/service/opsworks/api_op_UntagResource.go +++ b/service/opsworks/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_UpdateApp.go b/service/opsworks/api_op_UpdateApp.go index e2f1c171ddc..016d2cf0c02 100644 --- a/service/opsworks/api_op_UpdateApp.go +++ b/service/opsworks/api_op_UpdateApp.go @@ -158,9 +158,6 @@ func (c *Client) addOperationUpdateAppMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAppValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_UpdateElasticIp.go b/service/opsworks/api_op_UpdateElasticIp.go index 028579928d2..3148181f278 100644 --- a/service/opsworks/api_op_UpdateElasticIp.go +++ b/service/opsworks/api_op_UpdateElasticIp.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUpdateElasticIpMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateElasticIpValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_UpdateInstance.go b/service/opsworks/api_op_UpdateInstance.go index 2beab504847..2bb8e1497e9 100644 --- a/service/opsworks/api_op_UpdateInstance.go +++ b/service/opsworks/api_op_UpdateInstance.go @@ -218,9 +218,6 @@ func (c *Client) addOperationUpdateInstanceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_UpdateLayer.go b/service/opsworks/api_op_UpdateLayer.go index 3d26516d2c6..0ccf3b58998 100644 --- a/service/opsworks/api_op_UpdateLayer.go +++ b/service/opsworks/api_op_UpdateLayer.go @@ -194,9 +194,6 @@ func (c *Client) addOperationUpdateLayerMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLayerValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_UpdateMyUserProfile.go b/service/opsworks/api_op_UpdateMyUserProfile.go index 1bdf12d0628..3f027d6a2cf 100644 --- a/service/opsworks/api_op_UpdateMyUserProfile.go +++ b/service/opsworks/api_op_UpdateMyUserProfile.go @@ -111,9 +111,6 @@ func (c *Client) addOperationUpdateMyUserProfileMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMyUserProfile(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opsworks/api_op_UpdateRdsDbInstance.go b/service/opsworks/api_op_UpdateRdsDbInstance.go index 590f8507f5e..59f00f54faa 100644 --- a/service/opsworks/api_op_UpdateRdsDbInstance.go +++ b/service/opsworks/api_op_UpdateRdsDbInstance.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateRdsDbInstanceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRdsDbInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_UpdateStack.go b/service/opsworks/api_op_UpdateStack.go index 89d969e90c9..44cf0febe3a 100644 --- a/service/opsworks/api_op_UpdateStack.go +++ b/service/opsworks/api_op_UpdateStack.go @@ -301,9 +301,6 @@ func (c *Client) addOperationUpdateStackMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateStackValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_UpdateUserProfile.go b/service/opsworks/api_op_UpdateUserProfile.go index 3cad59c9921..93e53cc0233 100644 --- a/service/opsworks/api_op_UpdateUserProfile.go +++ b/service/opsworks/api_op_UpdateUserProfile.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUpdateUserProfileMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateUserProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/api_op_UpdateVolume.go b/service/opsworks/api_op_UpdateVolume.go index ad39dab6996..9cbb4213ee5 100644 --- a/service/opsworks/api_op_UpdateVolume.go +++ b/service/opsworks/api_op_UpdateVolume.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdateVolumeMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateVolumeValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworks/snapshot/api_op_AssignInstance.go.snap b/service/opsworks/snapshot/api_op_AssignInstance.go.snap index 5000762ea24..adc06753b90 100644 --- a/service/opsworks/snapshot/api_op_AssignInstance.go.snap +++ b/service/opsworks/snapshot/api_op_AssignInstance.go.snap @@ -14,7 +14,6 @@ AssignInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_AssignVolume.go.snap b/service/opsworks/snapshot/api_op_AssignVolume.go.snap index 0a7cc9ce921..15a296e52c9 100644 --- a/service/opsworks/snapshot/api_op_AssignVolume.go.snap +++ b/service/opsworks/snapshot/api_op_AssignVolume.go.snap @@ -14,7 +14,6 @@ AssignVolume Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_AssociateElasticIp.go.snap b/service/opsworks/snapshot/api_op_AssociateElasticIp.go.snap index a22e26af32a..3f83e3ed665 100644 --- a/service/opsworks/snapshot/api_op_AssociateElasticIp.go.snap +++ b/service/opsworks/snapshot/api_op_AssociateElasticIp.go.snap @@ -14,7 +14,6 @@ AssociateElasticIp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_AttachElasticLoadBalancer.go.snap b/service/opsworks/snapshot/api_op_AttachElasticLoadBalancer.go.snap index 73b5324d8a9..af086a72c62 100644 --- a/service/opsworks/snapshot/api_op_AttachElasticLoadBalancer.go.snap +++ b/service/opsworks/snapshot/api_op_AttachElasticLoadBalancer.go.snap @@ -14,7 +14,6 @@ AttachElasticLoadBalancer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_CloneStack.go.snap b/service/opsworks/snapshot/api_op_CloneStack.go.snap index aa69fa7b2c8..37320626475 100644 --- a/service/opsworks/snapshot/api_op_CloneStack.go.snap +++ b/service/opsworks/snapshot/api_op_CloneStack.go.snap @@ -14,7 +14,6 @@ CloneStack Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_CreateApp.go.snap b/service/opsworks/snapshot/api_op_CreateApp.go.snap index b4303227129..d73b17a92f7 100644 --- a/service/opsworks/snapshot/api_op_CreateApp.go.snap +++ b/service/opsworks/snapshot/api_op_CreateApp.go.snap @@ -14,7 +14,6 @@ CreateApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_CreateDeployment.go.snap b/service/opsworks/snapshot/api_op_CreateDeployment.go.snap index 6a95eb66d05..3334cbaf46f 100644 --- a/service/opsworks/snapshot/api_op_CreateDeployment.go.snap +++ b/service/opsworks/snapshot/api_op_CreateDeployment.go.snap @@ -14,7 +14,6 @@ CreateDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_CreateInstance.go.snap b/service/opsworks/snapshot/api_op_CreateInstance.go.snap index f58770ec717..694c3c849c0 100644 --- a/service/opsworks/snapshot/api_op_CreateInstance.go.snap +++ b/service/opsworks/snapshot/api_op_CreateInstance.go.snap @@ -14,7 +14,6 @@ CreateInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_CreateLayer.go.snap b/service/opsworks/snapshot/api_op_CreateLayer.go.snap index b91993dd319..2d8ead79278 100644 --- a/service/opsworks/snapshot/api_op_CreateLayer.go.snap +++ b/service/opsworks/snapshot/api_op_CreateLayer.go.snap @@ -14,7 +14,6 @@ CreateLayer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_CreateStack.go.snap b/service/opsworks/snapshot/api_op_CreateStack.go.snap index aacc3d6b1e0..450b37916a9 100644 --- a/service/opsworks/snapshot/api_op_CreateStack.go.snap +++ b/service/opsworks/snapshot/api_op_CreateStack.go.snap @@ -14,7 +14,6 @@ CreateStack Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_CreateUserProfile.go.snap b/service/opsworks/snapshot/api_op_CreateUserProfile.go.snap index e373ae84853..a9c912b5800 100644 --- a/service/opsworks/snapshot/api_op_CreateUserProfile.go.snap +++ b/service/opsworks/snapshot/api_op_CreateUserProfile.go.snap @@ -14,7 +14,6 @@ CreateUserProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DeleteApp.go.snap b/service/opsworks/snapshot/api_op_DeleteApp.go.snap index 5e024f33011..d8467fecd56 100644 --- a/service/opsworks/snapshot/api_op_DeleteApp.go.snap +++ b/service/opsworks/snapshot/api_op_DeleteApp.go.snap @@ -14,7 +14,6 @@ DeleteApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DeleteInstance.go.snap b/service/opsworks/snapshot/api_op_DeleteInstance.go.snap index 824b539eb6b..c62b128cf8d 100644 --- a/service/opsworks/snapshot/api_op_DeleteInstance.go.snap +++ b/service/opsworks/snapshot/api_op_DeleteInstance.go.snap @@ -14,7 +14,6 @@ DeleteInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DeleteLayer.go.snap b/service/opsworks/snapshot/api_op_DeleteLayer.go.snap index 3f5c8df61b9..888b9c54baf 100644 --- a/service/opsworks/snapshot/api_op_DeleteLayer.go.snap +++ b/service/opsworks/snapshot/api_op_DeleteLayer.go.snap @@ -14,7 +14,6 @@ DeleteLayer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DeleteStack.go.snap b/service/opsworks/snapshot/api_op_DeleteStack.go.snap index 0cf0f3311dc..562d86a1c85 100644 --- a/service/opsworks/snapshot/api_op_DeleteStack.go.snap +++ b/service/opsworks/snapshot/api_op_DeleteStack.go.snap @@ -14,7 +14,6 @@ DeleteStack Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DeleteUserProfile.go.snap b/service/opsworks/snapshot/api_op_DeleteUserProfile.go.snap index 335c703211d..99b2dd2687b 100644 --- a/service/opsworks/snapshot/api_op_DeleteUserProfile.go.snap +++ b/service/opsworks/snapshot/api_op_DeleteUserProfile.go.snap @@ -14,7 +14,6 @@ DeleteUserProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DeregisterEcsCluster.go.snap b/service/opsworks/snapshot/api_op_DeregisterEcsCluster.go.snap index 69c977d7323..29a625d642a 100644 --- a/service/opsworks/snapshot/api_op_DeregisterEcsCluster.go.snap +++ b/service/opsworks/snapshot/api_op_DeregisterEcsCluster.go.snap @@ -14,7 +14,6 @@ DeregisterEcsCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DeregisterElasticIp.go.snap b/service/opsworks/snapshot/api_op_DeregisterElasticIp.go.snap index 0ddb476e267..de410e32ada 100644 --- a/service/opsworks/snapshot/api_op_DeregisterElasticIp.go.snap +++ b/service/opsworks/snapshot/api_op_DeregisterElasticIp.go.snap @@ -14,7 +14,6 @@ DeregisterElasticIp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DeregisterInstance.go.snap b/service/opsworks/snapshot/api_op_DeregisterInstance.go.snap index 3106f2002f9..bd57f1afd65 100644 --- a/service/opsworks/snapshot/api_op_DeregisterInstance.go.snap +++ b/service/opsworks/snapshot/api_op_DeregisterInstance.go.snap @@ -14,7 +14,6 @@ DeregisterInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DeregisterRdsDbInstance.go.snap b/service/opsworks/snapshot/api_op_DeregisterRdsDbInstance.go.snap index 91b6cd74be0..7d03472e2a6 100644 --- a/service/opsworks/snapshot/api_op_DeregisterRdsDbInstance.go.snap +++ b/service/opsworks/snapshot/api_op_DeregisterRdsDbInstance.go.snap @@ -14,7 +14,6 @@ DeregisterRdsDbInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DeregisterVolume.go.snap b/service/opsworks/snapshot/api_op_DeregisterVolume.go.snap index ef3d42abdcc..5dd462b77cd 100644 --- a/service/opsworks/snapshot/api_op_DeregisterVolume.go.snap +++ b/service/opsworks/snapshot/api_op_DeregisterVolume.go.snap @@ -14,7 +14,6 @@ DeregisterVolume Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DescribeAgentVersions.go.snap b/service/opsworks/snapshot/api_op_DescribeAgentVersions.go.snap index 3f883f98a44..d9f42e9f0cc 100644 --- a/service/opsworks/snapshot/api_op_DescribeAgentVersions.go.snap +++ b/service/opsworks/snapshot/api_op_DescribeAgentVersions.go.snap @@ -13,7 +13,6 @@ DescribeAgentVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DescribeApps.go.snap b/service/opsworks/snapshot/api_op_DescribeApps.go.snap index d7ea12ae7b9..d6f3cc6ba9e 100644 --- a/service/opsworks/snapshot/api_op_DescribeApps.go.snap +++ b/service/opsworks/snapshot/api_op_DescribeApps.go.snap @@ -13,7 +13,6 @@ DescribeApps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DescribeCommands.go.snap b/service/opsworks/snapshot/api_op_DescribeCommands.go.snap index d1045d7ccfd..94b93b92a8c 100644 --- a/service/opsworks/snapshot/api_op_DescribeCommands.go.snap +++ b/service/opsworks/snapshot/api_op_DescribeCommands.go.snap @@ -13,7 +13,6 @@ DescribeCommands Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DescribeDeployments.go.snap b/service/opsworks/snapshot/api_op_DescribeDeployments.go.snap index dcb51a6e833..34693756dc1 100644 --- a/service/opsworks/snapshot/api_op_DescribeDeployments.go.snap +++ b/service/opsworks/snapshot/api_op_DescribeDeployments.go.snap @@ -13,7 +13,6 @@ DescribeDeployments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DescribeEcsClusters.go.snap b/service/opsworks/snapshot/api_op_DescribeEcsClusters.go.snap index 8257ba0de4c..0b5a298b65b 100644 --- a/service/opsworks/snapshot/api_op_DescribeEcsClusters.go.snap +++ b/service/opsworks/snapshot/api_op_DescribeEcsClusters.go.snap @@ -13,7 +13,6 @@ DescribeEcsClusters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DescribeElasticIps.go.snap b/service/opsworks/snapshot/api_op_DescribeElasticIps.go.snap index 45802e8ff2b..00036429524 100644 --- a/service/opsworks/snapshot/api_op_DescribeElasticIps.go.snap +++ b/service/opsworks/snapshot/api_op_DescribeElasticIps.go.snap @@ -13,7 +13,6 @@ DescribeElasticIps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DescribeElasticLoadBalancers.go.snap b/service/opsworks/snapshot/api_op_DescribeElasticLoadBalancers.go.snap index e751e895976..c3d03d368f9 100644 --- a/service/opsworks/snapshot/api_op_DescribeElasticLoadBalancers.go.snap +++ b/service/opsworks/snapshot/api_op_DescribeElasticLoadBalancers.go.snap @@ -13,7 +13,6 @@ DescribeElasticLoadBalancers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DescribeInstances.go.snap b/service/opsworks/snapshot/api_op_DescribeInstances.go.snap index 176d820d35f..1041bed7d7e 100644 --- a/service/opsworks/snapshot/api_op_DescribeInstances.go.snap +++ b/service/opsworks/snapshot/api_op_DescribeInstances.go.snap @@ -13,7 +13,6 @@ DescribeInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DescribeLayers.go.snap b/service/opsworks/snapshot/api_op_DescribeLayers.go.snap index dd416964895..5caae988a83 100644 --- a/service/opsworks/snapshot/api_op_DescribeLayers.go.snap +++ b/service/opsworks/snapshot/api_op_DescribeLayers.go.snap @@ -13,7 +13,6 @@ DescribeLayers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DescribeLoadBasedAutoScaling.go.snap b/service/opsworks/snapshot/api_op_DescribeLoadBasedAutoScaling.go.snap index c4ddbc130f2..6b1385410bb 100644 --- a/service/opsworks/snapshot/api_op_DescribeLoadBasedAutoScaling.go.snap +++ b/service/opsworks/snapshot/api_op_DescribeLoadBasedAutoScaling.go.snap @@ -14,7 +14,6 @@ DescribeLoadBasedAutoScaling Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DescribeMyUserProfile.go.snap b/service/opsworks/snapshot/api_op_DescribeMyUserProfile.go.snap index 93141368681..48464b56e29 100644 --- a/service/opsworks/snapshot/api_op_DescribeMyUserProfile.go.snap +++ b/service/opsworks/snapshot/api_op_DescribeMyUserProfile.go.snap @@ -13,7 +13,6 @@ DescribeMyUserProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DescribeOperatingSystems.go.snap b/service/opsworks/snapshot/api_op_DescribeOperatingSystems.go.snap index 35757eb6aba..46dfbc95e96 100644 --- a/service/opsworks/snapshot/api_op_DescribeOperatingSystems.go.snap +++ b/service/opsworks/snapshot/api_op_DescribeOperatingSystems.go.snap @@ -13,7 +13,6 @@ DescribeOperatingSystems Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DescribePermissions.go.snap b/service/opsworks/snapshot/api_op_DescribePermissions.go.snap index 1f141c4c8f1..6a87ae2109a 100644 --- a/service/opsworks/snapshot/api_op_DescribePermissions.go.snap +++ b/service/opsworks/snapshot/api_op_DescribePermissions.go.snap @@ -13,7 +13,6 @@ DescribePermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DescribeRaidArrays.go.snap b/service/opsworks/snapshot/api_op_DescribeRaidArrays.go.snap index a497da74cdd..7c37ad4daf8 100644 --- a/service/opsworks/snapshot/api_op_DescribeRaidArrays.go.snap +++ b/service/opsworks/snapshot/api_op_DescribeRaidArrays.go.snap @@ -13,7 +13,6 @@ DescribeRaidArrays Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DescribeRdsDbInstances.go.snap b/service/opsworks/snapshot/api_op_DescribeRdsDbInstances.go.snap index 8f06e93f36f..b8aa3ad8b80 100644 --- a/service/opsworks/snapshot/api_op_DescribeRdsDbInstances.go.snap +++ b/service/opsworks/snapshot/api_op_DescribeRdsDbInstances.go.snap @@ -14,7 +14,6 @@ DescribeRdsDbInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DescribeServiceErrors.go.snap b/service/opsworks/snapshot/api_op_DescribeServiceErrors.go.snap index bac648c39d6..a9bded91d1e 100644 --- a/service/opsworks/snapshot/api_op_DescribeServiceErrors.go.snap +++ b/service/opsworks/snapshot/api_op_DescribeServiceErrors.go.snap @@ -13,7 +13,6 @@ DescribeServiceErrors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DescribeStackProvisioningParameters.go.snap b/service/opsworks/snapshot/api_op_DescribeStackProvisioningParameters.go.snap index 8e9781fc7af..ec5fac22ec5 100644 --- a/service/opsworks/snapshot/api_op_DescribeStackProvisioningParameters.go.snap +++ b/service/opsworks/snapshot/api_op_DescribeStackProvisioningParameters.go.snap @@ -14,7 +14,6 @@ DescribeStackProvisioningParameters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DescribeStackSummary.go.snap b/service/opsworks/snapshot/api_op_DescribeStackSummary.go.snap index 3d04224c389..e1b5ae7332b 100644 --- a/service/opsworks/snapshot/api_op_DescribeStackSummary.go.snap +++ b/service/opsworks/snapshot/api_op_DescribeStackSummary.go.snap @@ -14,7 +14,6 @@ DescribeStackSummary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DescribeStacks.go.snap b/service/opsworks/snapshot/api_op_DescribeStacks.go.snap index 32eda12f946..6f67872a839 100644 --- a/service/opsworks/snapshot/api_op_DescribeStacks.go.snap +++ b/service/opsworks/snapshot/api_op_DescribeStacks.go.snap @@ -13,7 +13,6 @@ DescribeStacks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DescribeTimeBasedAutoScaling.go.snap b/service/opsworks/snapshot/api_op_DescribeTimeBasedAutoScaling.go.snap index 7b9a77350b6..85054cb0314 100644 --- a/service/opsworks/snapshot/api_op_DescribeTimeBasedAutoScaling.go.snap +++ b/service/opsworks/snapshot/api_op_DescribeTimeBasedAutoScaling.go.snap @@ -14,7 +14,6 @@ DescribeTimeBasedAutoScaling Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DescribeUserProfiles.go.snap b/service/opsworks/snapshot/api_op_DescribeUserProfiles.go.snap index 6670406b7d0..2c584fba6af 100644 --- a/service/opsworks/snapshot/api_op_DescribeUserProfiles.go.snap +++ b/service/opsworks/snapshot/api_op_DescribeUserProfiles.go.snap @@ -13,7 +13,6 @@ DescribeUserProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DescribeVolumes.go.snap b/service/opsworks/snapshot/api_op_DescribeVolumes.go.snap index b33def0d1e4..efd8caa4007 100644 --- a/service/opsworks/snapshot/api_op_DescribeVolumes.go.snap +++ b/service/opsworks/snapshot/api_op_DescribeVolumes.go.snap @@ -13,7 +13,6 @@ DescribeVolumes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DetachElasticLoadBalancer.go.snap b/service/opsworks/snapshot/api_op_DetachElasticLoadBalancer.go.snap index f93d8fada4f..56f51122e91 100644 --- a/service/opsworks/snapshot/api_op_DetachElasticLoadBalancer.go.snap +++ b/service/opsworks/snapshot/api_op_DetachElasticLoadBalancer.go.snap @@ -14,7 +14,6 @@ DetachElasticLoadBalancer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_DisassociateElasticIp.go.snap b/service/opsworks/snapshot/api_op_DisassociateElasticIp.go.snap index d69e07c5aa5..3231161d96d 100644 --- a/service/opsworks/snapshot/api_op_DisassociateElasticIp.go.snap +++ b/service/opsworks/snapshot/api_op_DisassociateElasticIp.go.snap @@ -14,7 +14,6 @@ DisassociateElasticIp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_GetHostnameSuggestion.go.snap b/service/opsworks/snapshot/api_op_GetHostnameSuggestion.go.snap index 8d738681084..074dbe9c5f0 100644 --- a/service/opsworks/snapshot/api_op_GetHostnameSuggestion.go.snap +++ b/service/opsworks/snapshot/api_op_GetHostnameSuggestion.go.snap @@ -14,7 +14,6 @@ GetHostnameSuggestion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_GrantAccess.go.snap b/service/opsworks/snapshot/api_op_GrantAccess.go.snap index fd99e317624..4987e8046b8 100644 --- a/service/opsworks/snapshot/api_op_GrantAccess.go.snap +++ b/service/opsworks/snapshot/api_op_GrantAccess.go.snap @@ -14,7 +14,6 @@ GrantAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_ListTags.go.snap b/service/opsworks/snapshot/api_op_ListTags.go.snap index 1b1e99185a9..438bd1b7aec 100644 --- a/service/opsworks/snapshot/api_op_ListTags.go.snap +++ b/service/opsworks/snapshot/api_op_ListTags.go.snap @@ -14,7 +14,6 @@ ListTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_RebootInstance.go.snap b/service/opsworks/snapshot/api_op_RebootInstance.go.snap index 7671bc63994..dd4f49e46dc 100644 --- a/service/opsworks/snapshot/api_op_RebootInstance.go.snap +++ b/service/opsworks/snapshot/api_op_RebootInstance.go.snap @@ -14,7 +14,6 @@ RebootInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_RegisterEcsCluster.go.snap b/service/opsworks/snapshot/api_op_RegisterEcsCluster.go.snap index d58bb4b7939..7dd07b9ba6e 100644 --- a/service/opsworks/snapshot/api_op_RegisterEcsCluster.go.snap +++ b/service/opsworks/snapshot/api_op_RegisterEcsCluster.go.snap @@ -14,7 +14,6 @@ RegisterEcsCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_RegisterElasticIp.go.snap b/service/opsworks/snapshot/api_op_RegisterElasticIp.go.snap index 2c8a3fc8174..f6735e9fd51 100644 --- a/service/opsworks/snapshot/api_op_RegisterElasticIp.go.snap +++ b/service/opsworks/snapshot/api_op_RegisterElasticIp.go.snap @@ -14,7 +14,6 @@ RegisterElasticIp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_RegisterInstance.go.snap b/service/opsworks/snapshot/api_op_RegisterInstance.go.snap index 6150f7df2d3..492e8495001 100644 --- a/service/opsworks/snapshot/api_op_RegisterInstance.go.snap +++ b/service/opsworks/snapshot/api_op_RegisterInstance.go.snap @@ -14,7 +14,6 @@ RegisterInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_RegisterRdsDbInstance.go.snap b/service/opsworks/snapshot/api_op_RegisterRdsDbInstance.go.snap index 57534763982..55e62525822 100644 --- a/service/opsworks/snapshot/api_op_RegisterRdsDbInstance.go.snap +++ b/service/opsworks/snapshot/api_op_RegisterRdsDbInstance.go.snap @@ -14,7 +14,6 @@ RegisterRdsDbInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_RegisterVolume.go.snap b/service/opsworks/snapshot/api_op_RegisterVolume.go.snap index d6e2926c6c2..14263bf8f2d 100644 --- a/service/opsworks/snapshot/api_op_RegisterVolume.go.snap +++ b/service/opsworks/snapshot/api_op_RegisterVolume.go.snap @@ -14,7 +14,6 @@ RegisterVolume Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_SetLoadBasedAutoScaling.go.snap b/service/opsworks/snapshot/api_op_SetLoadBasedAutoScaling.go.snap index d5bc5ac0d47..704f1ca1960 100644 --- a/service/opsworks/snapshot/api_op_SetLoadBasedAutoScaling.go.snap +++ b/service/opsworks/snapshot/api_op_SetLoadBasedAutoScaling.go.snap @@ -14,7 +14,6 @@ SetLoadBasedAutoScaling Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_SetPermission.go.snap b/service/opsworks/snapshot/api_op_SetPermission.go.snap index 2278f231f0e..7b0d5c5a58d 100644 --- a/service/opsworks/snapshot/api_op_SetPermission.go.snap +++ b/service/opsworks/snapshot/api_op_SetPermission.go.snap @@ -14,7 +14,6 @@ SetPermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_SetTimeBasedAutoScaling.go.snap b/service/opsworks/snapshot/api_op_SetTimeBasedAutoScaling.go.snap index 9be50601ff8..014970c0818 100644 --- a/service/opsworks/snapshot/api_op_SetTimeBasedAutoScaling.go.snap +++ b/service/opsworks/snapshot/api_op_SetTimeBasedAutoScaling.go.snap @@ -14,7 +14,6 @@ SetTimeBasedAutoScaling Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_StartInstance.go.snap b/service/opsworks/snapshot/api_op_StartInstance.go.snap index 3eb7c96a813..6abebaafa6e 100644 --- a/service/opsworks/snapshot/api_op_StartInstance.go.snap +++ b/service/opsworks/snapshot/api_op_StartInstance.go.snap @@ -14,7 +14,6 @@ StartInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_StartStack.go.snap b/service/opsworks/snapshot/api_op_StartStack.go.snap index 85b40c9c9f5..1691f67c67e 100644 --- a/service/opsworks/snapshot/api_op_StartStack.go.snap +++ b/service/opsworks/snapshot/api_op_StartStack.go.snap @@ -14,7 +14,6 @@ StartStack Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_StopInstance.go.snap b/service/opsworks/snapshot/api_op_StopInstance.go.snap index 706e9beb4ec..16778e307db 100644 --- a/service/opsworks/snapshot/api_op_StopInstance.go.snap +++ b/service/opsworks/snapshot/api_op_StopInstance.go.snap @@ -14,7 +14,6 @@ StopInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_StopStack.go.snap b/service/opsworks/snapshot/api_op_StopStack.go.snap index b11457cc65c..af081addf42 100644 --- a/service/opsworks/snapshot/api_op_StopStack.go.snap +++ b/service/opsworks/snapshot/api_op_StopStack.go.snap @@ -14,7 +14,6 @@ StopStack Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_TagResource.go.snap b/service/opsworks/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/opsworks/snapshot/api_op_TagResource.go.snap +++ b/service/opsworks/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_UnassignInstance.go.snap b/service/opsworks/snapshot/api_op_UnassignInstance.go.snap index 3662502b6a1..dce5ab2f768 100644 --- a/service/opsworks/snapshot/api_op_UnassignInstance.go.snap +++ b/service/opsworks/snapshot/api_op_UnassignInstance.go.snap @@ -14,7 +14,6 @@ UnassignInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_UnassignVolume.go.snap b/service/opsworks/snapshot/api_op_UnassignVolume.go.snap index 1eef49fbc4f..18b04d266c9 100644 --- a/service/opsworks/snapshot/api_op_UnassignVolume.go.snap +++ b/service/opsworks/snapshot/api_op_UnassignVolume.go.snap @@ -14,7 +14,6 @@ UnassignVolume Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_UntagResource.go.snap b/service/opsworks/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/opsworks/snapshot/api_op_UntagResource.go.snap +++ b/service/opsworks/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_UpdateApp.go.snap b/service/opsworks/snapshot/api_op_UpdateApp.go.snap index 075bf64a87d..2baf300a08e 100644 --- a/service/opsworks/snapshot/api_op_UpdateApp.go.snap +++ b/service/opsworks/snapshot/api_op_UpdateApp.go.snap @@ -14,7 +14,6 @@ UpdateApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_UpdateElasticIp.go.snap b/service/opsworks/snapshot/api_op_UpdateElasticIp.go.snap index 5df4f9ff377..d6b9ae96bee 100644 --- a/service/opsworks/snapshot/api_op_UpdateElasticIp.go.snap +++ b/service/opsworks/snapshot/api_op_UpdateElasticIp.go.snap @@ -14,7 +14,6 @@ UpdateElasticIp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_UpdateInstance.go.snap b/service/opsworks/snapshot/api_op_UpdateInstance.go.snap index b383487fe65..ec44284e49a 100644 --- a/service/opsworks/snapshot/api_op_UpdateInstance.go.snap +++ b/service/opsworks/snapshot/api_op_UpdateInstance.go.snap @@ -14,7 +14,6 @@ UpdateInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_UpdateLayer.go.snap b/service/opsworks/snapshot/api_op_UpdateLayer.go.snap index 89d6eac9606..967a409ba1d 100644 --- a/service/opsworks/snapshot/api_op_UpdateLayer.go.snap +++ b/service/opsworks/snapshot/api_op_UpdateLayer.go.snap @@ -14,7 +14,6 @@ UpdateLayer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_UpdateMyUserProfile.go.snap b/service/opsworks/snapshot/api_op_UpdateMyUserProfile.go.snap index 66ac060ad8b..cd2673c1d3a 100644 --- a/service/opsworks/snapshot/api_op_UpdateMyUserProfile.go.snap +++ b/service/opsworks/snapshot/api_op_UpdateMyUserProfile.go.snap @@ -13,7 +13,6 @@ UpdateMyUserProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_UpdateRdsDbInstance.go.snap b/service/opsworks/snapshot/api_op_UpdateRdsDbInstance.go.snap index 89101a030fd..e9dc44996c4 100644 --- a/service/opsworks/snapshot/api_op_UpdateRdsDbInstance.go.snap +++ b/service/opsworks/snapshot/api_op_UpdateRdsDbInstance.go.snap @@ -14,7 +14,6 @@ UpdateRdsDbInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_UpdateStack.go.snap b/service/opsworks/snapshot/api_op_UpdateStack.go.snap index 56a2bc2f983..590a1b70f85 100644 --- a/service/opsworks/snapshot/api_op_UpdateStack.go.snap +++ b/service/opsworks/snapshot/api_op_UpdateStack.go.snap @@ -14,7 +14,6 @@ UpdateStack Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_UpdateUserProfile.go.snap b/service/opsworks/snapshot/api_op_UpdateUserProfile.go.snap index 0887974adeb..edca8ac8013 100644 --- a/service/opsworks/snapshot/api_op_UpdateUserProfile.go.snap +++ b/service/opsworks/snapshot/api_op_UpdateUserProfile.go.snap @@ -14,7 +14,6 @@ UpdateUserProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworks/snapshot/api_op_UpdateVolume.go.snap b/service/opsworks/snapshot/api_op_UpdateVolume.go.snap index ed30cfb3c9a..0f406d924e7 100644 --- a/service/opsworks/snapshot/api_op_UpdateVolume.go.snap +++ b/service/opsworks/snapshot/api_op_UpdateVolume.go.snap @@ -14,7 +14,6 @@ UpdateVolume Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworkscm/api_client.go b/service/opsworkscm/api_client.go index 4c1934f558d..4723892d491 100644 --- a/service/opsworkscm/api_client.go +++ b/service/opsworkscm/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/opsworkscm/api_op_AssociateNode.go b/service/opsworkscm/api_op_AssociateNode.go index 969fe0e56df..2a8fe099910 100644 --- a/service/opsworkscm/api_op_AssociateNode.go +++ b/service/opsworkscm/api_op_AssociateNode.go @@ -159,9 +159,6 @@ func (c *Client) addOperationAssociateNodeMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateNodeValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_CreateBackup.go b/service/opsworkscm/api_op_CreateBackup.go index 287e3d6d5a6..8f160085169 100644 --- a/service/opsworkscm/api_op_CreateBackup.go +++ b/service/opsworkscm/api_op_CreateBackup.go @@ -148,9 +148,6 @@ func (c *Client) addOperationCreateBackupMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBackupValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_CreateServer.go b/service/opsworkscm/api_op_CreateServer.go index 3a91780b6e3..32d453d140b 100644 --- a/service/opsworkscm/api_op_CreateServer.go +++ b/service/opsworkscm/api_op_CreateServer.go @@ -344,9 +344,6 @@ func (c *Client) addOperationCreateServerMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateServerValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_DeleteBackup.go b/service/opsworkscm/api_op_DeleteBackup.go index 614ee123165..3ace243a8ea 100644 --- a/service/opsworkscm/api_op_DeleteBackup.go +++ b/service/opsworkscm/api_op_DeleteBackup.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteBackupMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBackupValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_DeleteServer.go b/service/opsworkscm/api_op_DeleteServer.go index f9678ade4a0..649cbde6fb8 100644 --- a/service/opsworkscm/api_op_DeleteServer.go +++ b/service/opsworkscm/api_op_DeleteServer.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteServerMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteServerValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_DescribeAccountAttributes.go b/service/opsworkscm/api_op_DescribeAccountAttributes.go index 48424aa5574..bc10bfea880 100644 --- a/service/opsworkscm/api_op_DescribeAccountAttributes.go +++ b/service/opsworkscm/api_op_DescribeAccountAttributes.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDescribeAccountAttributesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountAttributes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opsworkscm/api_op_DescribeBackups.go b/service/opsworkscm/api_op_DescribeBackups.go index 6bb21aba987..68c568de067 100644 --- a/service/opsworkscm/api_op_DescribeBackups.go +++ b/service/opsworkscm/api_op_DescribeBackups.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeBackupsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeBackups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opsworkscm/api_op_DescribeEvents.go b/service/opsworkscm/api_op_DescribeEvents.go index b3f0ffe87fe..6d7f2d4fc69 100644 --- a/service/opsworkscm/api_op_DescribeEvents.go +++ b/service/opsworkscm/api_op_DescribeEvents.go @@ -143,9 +143,6 @@ func (c *Client) addOperationDescribeEventsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_DescribeNodeAssociationStatus.go b/service/opsworkscm/api_op_DescribeNodeAssociationStatus.go index 4c40bb584be..b8ff36ccdee 100644 --- a/service/opsworkscm/api_op_DescribeNodeAssociationStatus.go +++ b/service/opsworkscm/api_op_DescribeNodeAssociationStatus.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDescribeNodeAssociationStatusMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeNodeAssociationStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_DescribeServers.go b/service/opsworkscm/api_op_DescribeServers.go index 16137c14864..85e7959728d 100644 --- a/service/opsworkscm/api_op_DescribeServers.go +++ b/service/opsworkscm/api_op_DescribeServers.go @@ -145,9 +145,6 @@ func (c *Client) addOperationDescribeServersMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeServers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/opsworkscm/api_op_DisassociateNode.go b/service/opsworkscm/api_op_DisassociateNode.go index c79cca9e7e3..30a618107fe 100644 --- a/service/opsworkscm/api_op_DisassociateNode.go +++ b/service/opsworkscm/api_op_DisassociateNode.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDisassociateNodeMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateNodeValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_ExportServerEngineAttribute.go b/service/opsworkscm/api_op_ExportServerEngineAttribute.go index 43d8fe77f75..de68ed3cf0e 100644 --- a/service/opsworkscm/api_op_ExportServerEngineAttribute.go +++ b/service/opsworkscm/api_op_ExportServerEngineAttribute.go @@ -153,9 +153,6 @@ func (c *Client) addOperationExportServerEngineAttributeMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExportServerEngineAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_ListTagsForResource.go b/service/opsworkscm/api_op_ListTagsForResource.go index a7be0e414d3..ea8aa2c0f3b 100644 --- a/service/opsworkscm/api_op_ListTagsForResource.go +++ b/service/opsworkscm/api_op_ListTagsForResource.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_RestoreServer.go b/service/opsworkscm/api_op_RestoreServer.go index 988b3a4c2bd..4665164a78e 100644 --- a/service/opsworkscm/api_op_RestoreServer.go +++ b/service/opsworkscm/api_op_RestoreServer.go @@ -144,9 +144,6 @@ func (c *Client) addOperationRestoreServerMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreServerValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_StartMaintenance.go b/service/opsworkscm/api_op_StartMaintenance.go index 63b75eb98bd..dd2a33dfed4 100644 --- a/service/opsworkscm/api_op_StartMaintenance.go +++ b/service/opsworkscm/api_op_StartMaintenance.go @@ -134,9 +134,6 @@ func (c *Client) addOperationStartMaintenanceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartMaintenanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_TagResource.go b/service/opsworkscm/api_op_TagResource.go index 299c0ca18a9..3869ee08411 100644 --- a/service/opsworkscm/api_op_TagResource.go +++ b/service/opsworkscm/api_op_TagResource.go @@ -133,9 +133,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_UntagResource.go b/service/opsworkscm/api_op_UntagResource.go index c394ab57a47..c0fef79c3c4 100644 --- a/service/opsworkscm/api_op_UntagResource.go +++ b/service/opsworkscm/api_op_UntagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_UpdateServer.go b/service/opsworkscm/api_op_UpdateServer.go index 7f61147f965..dbfcd718523 100644 --- a/service/opsworkscm/api_op_UpdateServer.go +++ b/service/opsworkscm/api_op_UpdateServer.go @@ -133,9 +133,6 @@ func (c *Client) addOperationUpdateServerMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateServerValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/api_op_UpdateServerEngineAttributes.go b/service/opsworkscm/api_op_UpdateServerEngineAttributes.go index 3a511cc440a..0f9ccf80a05 100644 --- a/service/opsworkscm/api_op_UpdateServerEngineAttributes.go +++ b/service/opsworkscm/api_op_UpdateServerEngineAttributes.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdateServerEngineAttributesMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateServerEngineAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/opsworkscm/snapshot/api_op_AssociateNode.go.snap b/service/opsworkscm/snapshot/api_op_AssociateNode.go.snap index cea8e54970b..862675382cc 100644 --- a/service/opsworkscm/snapshot/api_op_AssociateNode.go.snap +++ b/service/opsworkscm/snapshot/api_op_AssociateNode.go.snap @@ -14,7 +14,6 @@ AssociateNode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworkscm/snapshot/api_op_CreateBackup.go.snap b/service/opsworkscm/snapshot/api_op_CreateBackup.go.snap index 938578a6d29..f5d7a3e07b5 100644 --- a/service/opsworkscm/snapshot/api_op_CreateBackup.go.snap +++ b/service/opsworkscm/snapshot/api_op_CreateBackup.go.snap @@ -14,7 +14,6 @@ CreateBackup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworkscm/snapshot/api_op_CreateServer.go.snap b/service/opsworkscm/snapshot/api_op_CreateServer.go.snap index 9105a2aed74..87e44d0bba8 100644 --- a/service/opsworkscm/snapshot/api_op_CreateServer.go.snap +++ b/service/opsworkscm/snapshot/api_op_CreateServer.go.snap @@ -14,7 +14,6 @@ CreateServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworkscm/snapshot/api_op_DeleteBackup.go.snap b/service/opsworkscm/snapshot/api_op_DeleteBackup.go.snap index 97fcc0c4ae6..32e2f475334 100644 --- a/service/opsworkscm/snapshot/api_op_DeleteBackup.go.snap +++ b/service/opsworkscm/snapshot/api_op_DeleteBackup.go.snap @@ -14,7 +14,6 @@ DeleteBackup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworkscm/snapshot/api_op_DeleteServer.go.snap b/service/opsworkscm/snapshot/api_op_DeleteServer.go.snap index d108c91190a..b32ce0e8dbf 100644 --- a/service/opsworkscm/snapshot/api_op_DeleteServer.go.snap +++ b/service/opsworkscm/snapshot/api_op_DeleteServer.go.snap @@ -14,7 +14,6 @@ DeleteServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworkscm/snapshot/api_op_DescribeAccountAttributes.go.snap b/service/opsworkscm/snapshot/api_op_DescribeAccountAttributes.go.snap index 8289af53fde..f099fff933a 100644 --- a/service/opsworkscm/snapshot/api_op_DescribeAccountAttributes.go.snap +++ b/service/opsworkscm/snapshot/api_op_DescribeAccountAttributes.go.snap @@ -13,7 +13,6 @@ DescribeAccountAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworkscm/snapshot/api_op_DescribeBackups.go.snap b/service/opsworkscm/snapshot/api_op_DescribeBackups.go.snap index e5a75436dfc..d6d6f55f5fa 100644 --- a/service/opsworkscm/snapshot/api_op_DescribeBackups.go.snap +++ b/service/opsworkscm/snapshot/api_op_DescribeBackups.go.snap @@ -13,7 +13,6 @@ DescribeBackups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworkscm/snapshot/api_op_DescribeEvents.go.snap b/service/opsworkscm/snapshot/api_op_DescribeEvents.go.snap index d4b92015d81..7a366dd1cf9 100644 --- a/service/opsworkscm/snapshot/api_op_DescribeEvents.go.snap +++ b/service/opsworkscm/snapshot/api_op_DescribeEvents.go.snap @@ -14,7 +14,6 @@ DescribeEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworkscm/snapshot/api_op_DescribeNodeAssociationStatus.go.snap b/service/opsworkscm/snapshot/api_op_DescribeNodeAssociationStatus.go.snap index d236fa968a4..ce950dad6a8 100644 --- a/service/opsworkscm/snapshot/api_op_DescribeNodeAssociationStatus.go.snap +++ b/service/opsworkscm/snapshot/api_op_DescribeNodeAssociationStatus.go.snap @@ -14,7 +14,6 @@ DescribeNodeAssociationStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworkscm/snapshot/api_op_DescribeServers.go.snap b/service/opsworkscm/snapshot/api_op_DescribeServers.go.snap index ebead7a7738..a4fd6f4794c 100644 --- a/service/opsworkscm/snapshot/api_op_DescribeServers.go.snap +++ b/service/opsworkscm/snapshot/api_op_DescribeServers.go.snap @@ -13,7 +13,6 @@ DescribeServers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworkscm/snapshot/api_op_DisassociateNode.go.snap b/service/opsworkscm/snapshot/api_op_DisassociateNode.go.snap index 9023b360a2c..92cd6347eb0 100644 --- a/service/opsworkscm/snapshot/api_op_DisassociateNode.go.snap +++ b/service/opsworkscm/snapshot/api_op_DisassociateNode.go.snap @@ -14,7 +14,6 @@ DisassociateNode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworkscm/snapshot/api_op_ExportServerEngineAttribute.go.snap b/service/opsworkscm/snapshot/api_op_ExportServerEngineAttribute.go.snap index 2531cb1c225..70fec9d554b 100644 --- a/service/opsworkscm/snapshot/api_op_ExportServerEngineAttribute.go.snap +++ b/service/opsworkscm/snapshot/api_op_ExportServerEngineAttribute.go.snap @@ -14,7 +14,6 @@ ExportServerEngineAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworkscm/snapshot/api_op_ListTagsForResource.go.snap b/service/opsworkscm/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/opsworkscm/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/opsworkscm/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworkscm/snapshot/api_op_RestoreServer.go.snap b/service/opsworkscm/snapshot/api_op_RestoreServer.go.snap index 2cd3cae0cf5..8475a756e0d 100644 --- a/service/opsworkscm/snapshot/api_op_RestoreServer.go.snap +++ b/service/opsworkscm/snapshot/api_op_RestoreServer.go.snap @@ -14,7 +14,6 @@ RestoreServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworkscm/snapshot/api_op_StartMaintenance.go.snap b/service/opsworkscm/snapshot/api_op_StartMaintenance.go.snap index 56453c22e48..10d3dc945ca 100644 --- a/service/opsworkscm/snapshot/api_op_StartMaintenance.go.snap +++ b/service/opsworkscm/snapshot/api_op_StartMaintenance.go.snap @@ -14,7 +14,6 @@ StartMaintenance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworkscm/snapshot/api_op_TagResource.go.snap b/service/opsworkscm/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/opsworkscm/snapshot/api_op_TagResource.go.snap +++ b/service/opsworkscm/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworkscm/snapshot/api_op_UntagResource.go.snap b/service/opsworkscm/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/opsworkscm/snapshot/api_op_UntagResource.go.snap +++ b/service/opsworkscm/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworkscm/snapshot/api_op_UpdateServer.go.snap b/service/opsworkscm/snapshot/api_op_UpdateServer.go.snap index feeb177bfe0..cc0266d21dc 100644 --- a/service/opsworkscm/snapshot/api_op_UpdateServer.go.snap +++ b/service/opsworkscm/snapshot/api_op_UpdateServer.go.snap @@ -14,7 +14,6 @@ UpdateServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/opsworkscm/snapshot/api_op_UpdateServerEngineAttributes.go.snap b/service/opsworkscm/snapshot/api_op_UpdateServerEngineAttributes.go.snap index 347a6fae85d..549a77e1004 100644 --- a/service/opsworkscm/snapshot/api_op_UpdateServerEngineAttributes.go.snap +++ b/service/opsworkscm/snapshot/api_op_UpdateServerEngineAttributes.go.snap @@ -14,7 +14,6 @@ UpdateServerEngineAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/api_client.go b/service/organizations/api_client.go index a2d61f0022b..87e81facca9 100644 --- a/service/organizations/api_client.go +++ b/service/organizations/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/organizations/api_op_AcceptHandshake.go b/service/organizations/api_op_AcceptHandshake.go index 39026caca5d..e2796459770 100644 --- a/service/organizations/api_op_AcceptHandshake.go +++ b/service/organizations/api_op_AcceptHandshake.go @@ -148,9 +148,6 @@ func (c *Client) addOperationAcceptHandshakeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptHandshakeValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_AttachPolicy.go b/service/organizations/api_op_AttachPolicy.go index da6a353396c..7f2dacb0523 100644 --- a/service/organizations/api_op_AttachPolicy.go +++ b/service/organizations/api_op_AttachPolicy.go @@ -161,9 +161,6 @@ func (c *Client) addOperationAttachPolicyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAttachPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_CancelHandshake.go b/service/organizations/api_op_CancelHandshake.go index 94856a38485..08dd51e05b7 100644 --- a/service/organizations/api_op_CancelHandshake.go +++ b/service/organizations/api_op_CancelHandshake.go @@ -126,9 +126,6 @@ func (c *Client) addOperationCancelHandshakeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelHandshakeValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_CloseAccount.go b/service/organizations/api_op_CloseAccount.go index bed505a1f01..7105ca2e95a 100644 --- a/service/organizations/api_op_CloseAccount.go +++ b/service/organizations/api_op_CloseAccount.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCloseAccountMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCloseAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_CreateAccount.go b/service/organizations/api_op_CreateAccount.go index 61ae097d5c2..51e5821adf9 100644 --- a/service/organizations/api_op_CreateAccount.go +++ b/service/organizations/api_op_CreateAccount.go @@ -270,9 +270,6 @@ func (c *Client) addOperationCreateAccountMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_CreateGovCloudAccount.go b/service/organizations/api_op_CreateGovCloudAccount.go index b4e4e276978..287a37be589 100644 --- a/service/organizations/api_op_CreateGovCloudAccount.go +++ b/service/organizations/api_op_CreateGovCloudAccount.go @@ -322,9 +322,6 @@ func (c *Client) addOperationCreateGovCloudAccountMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGovCloudAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_CreateOrganization.go b/service/organizations/api_op_CreateOrganization.go index 864f4b96450..cec2ec08184 100644 --- a/service/organizations/api_op_CreateOrganization.go +++ b/service/organizations/api_op_CreateOrganization.go @@ -141,9 +141,6 @@ func (c *Client) addOperationCreateOrganizationMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateOrganization(options.Region), middleware.Before); err != nil { return err } diff --git a/service/organizations/api_op_CreateOrganizationalUnit.go b/service/organizations/api_op_CreateOrganizationalUnit.go index 98f27b7222a..5bf554baf84 100644 --- a/service/organizations/api_op_CreateOrganizationalUnit.go +++ b/service/organizations/api_op_CreateOrganizationalUnit.go @@ -154,9 +154,6 @@ func (c *Client) addOperationCreateOrganizationalUnitMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateOrganizationalUnitValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_CreatePolicy.go b/service/organizations/api_op_CreatePolicy.go index dc3a001a2ea..4f25b11455a 100644 --- a/service/organizations/api_op_CreatePolicy.go +++ b/service/organizations/api_op_CreatePolicy.go @@ -183,9 +183,6 @@ func (c *Client) addOperationCreatePolicyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_DeclineHandshake.go b/service/organizations/api_op_DeclineHandshake.go index 5390efba9d8..a937bec3a16 100644 --- a/service/organizations/api_op_DeclineHandshake.go +++ b/service/organizations/api_op_DeclineHandshake.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeclineHandshakeMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeclineHandshakeValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_DeleteOrganization.go b/service/organizations/api_op_DeleteOrganization.go index 4c4b9916a4a..7d04c0b4c19 100644 --- a/service/organizations/api_op_DeleteOrganization.go +++ b/service/organizations/api_op_DeleteOrganization.go @@ -103,9 +103,6 @@ func (c *Client) addOperationDeleteOrganizationMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteOrganization(options.Region), middleware.Before); err != nil { return err } diff --git a/service/organizations/api_op_DeleteOrganizationalUnit.go b/service/organizations/api_op_DeleteOrganizationalUnit.go index 746980f6b96..54138b071fa 100644 --- a/service/organizations/api_op_DeleteOrganizationalUnit.go +++ b/service/organizations/api_op_DeleteOrganizationalUnit.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteOrganizationalUnitMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteOrganizationalUnitValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_DeletePolicy.go b/service/organizations/api_op_DeletePolicy.go index 49f935414c9..cccf8e57fb7 100644 --- a/service/organizations/api_op_DeletePolicy.go +++ b/service/organizations/api_op_DeletePolicy.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeletePolicyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_DeleteResourcePolicy.go b/service/organizations/api_op_DeleteResourcePolicy.go index 3a5d02fab49..372c94a798f 100644 --- a/service/organizations/api_op_DeleteResourcePolicy.go +++ b/service/organizations/api_op_DeleteResourcePolicy.go @@ -103,9 +103,6 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourcePolicy(options.Region), middleware.Before); err != nil { return err } diff --git a/service/organizations/api_op_DeregisterDelegatedAdministrator.go b/service/organizations/api_op_DeregisterDelegatedAdministrator.go index b4b8c141467..482ece3e89c 100644 --- a/service/organizations/api_op_DeregisterDelegatedAdministrator.go +++ b/service/organizations/api_op_DeregisterDelegatedAdministrator.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDeregisterDelegatedAdministratorMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterDelegatedAdministratorValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_DescribeAccount.go b/service/organizations/api_op_DescribeAccount.go index 8af37ea866d..940ba30db44 100644 --- a/service/organizations/api_op_DescribeAccount.go +++ b/service/organizations/api_op_DescribeAccount.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeAccountMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_DescribeCreateAccountStatus.go b/service/organizations/api_op_DescribeCreateAccountStatus.go index 6ac8d3bba82..935bbb5b5a2 100644 --- a/service/organizations/api_op_DescribeCreateAccountStatus.go +++ b/service/organizations/api_op_DescribeCreateAccountStatus.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeCreateAccountStatusMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCreateAccountStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_DescribeEffectivePolicy.go b/service/organizations/api_op_DescribeEffectivePolicy.go index 04750e01635..71c97434820 100644 --- a/service/organizations/api_op_DescribeEffectivePolicy.go +++ b/service/organizations/api_op_DescribeEffectivePolicy.go @@ -148,9 +148,6 @@ func (c *Client) addOperationDescribeEffectivePolicyMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEffectivePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_DescribeHandshake.go b/service/organizations/api_op_DescribeHandshake.go index 108e6cdfc36..8ab55842bba 100644 --- a/service/organizations/api_op_DescribeHandshake.go +++ b/service/organizations/api_op_DescribeHandshake.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribeHandshakeMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeHandshakeValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_DescribeOrganization.go b/service/organizations/api_op_DescribeOrganization.go index e8caa8594a9..750e2521857 100644 --- a/service/organizations/api_op_DescribeOrganization.go +++ b/service/organizations/api_op_DescribeOrganization.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDescribeOrganizationMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOrganization(options.Region), middleware.Before); err != nil { return err } diff --git a/service/organizations/api_op_DescribeOrganizationalUnit.go b/service/organizations/api_op_DescribeOrganizationalUnit.go index 99ce6ed2a05..b6192f448e5 100644 --- a/service/organizations/api_op_DescribeOrganizationalUnit.go +++ b/service/organizations/api_op_DescribeOrganizationalUnit.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeOrganizationalUnitMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeOrganizationalUnitValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_DescribePolicy.go b/service/organizations/api_op_DescribePolicy.go index 6fc48c5c992..b5bd3aa4ba5 100644 --- a/service/organizations/api_op_DescribePolicy.go +++ b/service/organizations/api_op_DescribePolicy.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribePolicyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_DescribeResourcePolicy.go b/service/organizations/api_op_DescribeResourcePolicy.go index 384e5d146de..ac86a0c8a52 100644 --- a/service/organizations/api_op_DescribeResourcePolicy.go +++ b/service/organizations/api_op_DescribeResourcePolicy.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDescribeResourcePolicyMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeResourcePolicy(options.Region), middleware.Before); err != nil { return err } diff --git a/service/organizations/api_op_DetachPolicy.go b/service/organizations/api_op_DetachPolicy.go index 3e2a40fd724..166f1e72c23 100644 --- a/service/organizations/api_op_DetachPolicy.go +++ b/service/organizations/api_op_DetachPolicy.go @@ -153,9 +153,6 @@ func (c *Client) addOperationDetachPolicyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetachPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_DisableAWSServiceAccess.go b/service/organizations/api_op_DisableAWSServiceAccess.go index 51d86b9720f..268924baa8c 100644 --- a/service/organizations/api_op_DisableAWSServiceAccess.go +++ b/service/organizations/api_op_DisableAWSServiceAccess.go @@ -165,9 +165,6 @@ func (c *Client) addOperationDisableAWSServiceAccessMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableAWSServiceAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_DisablePolicyType.go b/service/organizations/api_op_DisablePolicyType.go index 371313413da..5d90913aab8 100644 --- a/service/organizations/api_op_DisablePolicyType.go +++ b/service/organizations/api_op_DisablePolicyType.go @@ -164,9 +164,6 @@ func (c *Client) addOperationDisablePolicyTypeMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisablePolicyTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_EnableAWSServiceAccess.go b/service/organizations/api_op_EnableAWSServiceAccess.go index 88628f42703..65a0f4b38cb 100644 --- a/service/organizations/api_op_EnableAWSServiceAccess.go +++ b/service/organizations/api_op_EnableAWSServiceAccess.go @@ -132,9 +132,6 @@ func (c *Client) addOperationEnableAWSServiceAccessMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableAWSServiceAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_EnableAllFeatures.go b/service/organizations/api_op_EnableAllFeatures.go index b45a5f83281..004f656e3b7 100644 --- a/service/organizations/api_op_EnableAllFeatures.go +++ b/service/organizations/api_op_EnableAllFeatures.go @@ -137,9 +137,6 @@ func (c *Client) addOperationEnableAllFeaturesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableAllFeatures(options.Region), middleware.Before); err != nil { return err } diff --git a/service/organizations/api_op_EnablePolicyType.go b/service/organizations/api_op_EnablePolicyType.go index 0d32ab5102d..8525877a82e 100644 --- a/service/organizations/api_op_EnablePolicyType.go +++ b/service/organizations/api_op_EnablePolicyType.go @@ -160,9 +160,6 @@ func (c *Client) addOperationEnablePolicyTypeMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnablePolicyTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_InviteAccountToOrganization.go b/service/organizations/api_op_InviteAccountToOrganization.go index 8b3c4f05f56..0945d2d8943 100644 --- a/service/organizations/api_op_InviteAccountToOrganization.go +++ b/service/organizations/api_op_InviteAccountToOrganization.go @@ -174,9 +174,6 @@ func (c *Client) addOperationInviteAccountToOrganizationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpInviteAccountToOrganizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_LeaveOrganization.go b/service/organizations/api_op_LeaveOrganization.go index 5b29bfc5e89..a9df4ce1a44 100644 --- a/service/organizations/api_op_LeaveOrganization.go +++ b/service/organizations/api_op_LeaveOrganization.go @@ -154,9 +154,6 @@ func (c *Client) addOperationLeaveOrganizationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opLeaveOrganization(options.Region), middleware.Before); err != nil { return err } diff --git a/service/organizations/api_op_ListAWSServiceAccessForOrganization.go b/service/organizations/api_op_ListAWSServiceAccessForOrganization.go index c2bd2be09ab..8d619069d4b 100644 --- a/service/organizations/api_op_ListAWSServiceAccessForOrganization.go +++ b/service/organizations/api_op_ListAWSServiceAccessForOrganization.go @@ -145,9 +145,6 @@ func (c *Client) addOperationListAWSServiceAccessForOrganizationMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAWSServiceAccessForOrganization(options.Region), middleware.Before); err != nil { return err } diff --git a/service/organizations/api_op_ListAccounts.go b/service/organizations/api_op_ListAccounts.go index 139726c57f8..c8da7dd4c41 100644 --- a/service/organizations/api_op_ListAccounts.go +++ b/service/organizations/api_op_ListAccounts.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListAccountsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccounts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/organizations/api_op_ListAccountsForParent.go b/service/organizations/api_op_ListAccountsForParent.go index d798ee8efe2..5fee039848f 100644 --- a/service/organizations/api_op_ListAccountsForParent.go +++ b/service/organizations/api_op_ListAccountsForParent.go @@ -149,9 +149,6 @@ func (c *Client) addOperationListAccountsForParentMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAccountsForParentValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_ListChildren.go b/service/organizations/api_op_ListChildren.go index 87ca5764592..07eb173de71 100644 --- a/service/organizations/api_op_ListChildren.go +++ b/service/organizations/api_op_ListChildren.go @@ -164,9 +164,6 @@ func (c *Client) addOperationListChildrenMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListChildrenValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_ListCreateAccountStatus.go b/service/organizations/api_op_ListCreateAccountStatus.go index 0a7bd63f261..3f76502e609 100644 --- a/service/organizations/api_op_ListCreateAccountStatus.go +++ b/service/organizations/api_op_ListCreateAccountStatus.go @@ -146,9 +146,6 @@ func (c *Client) addOperationListCreateAccountStatusMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCreateAccountStatus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/organizations/api_op_ListDelegatedAdministrators.go b/service/organizations/api_op_ListDelegatedAdministrators.go index 8cd1cada48f..890cd804775 100644 --- a/service/organizations/api_op_ListDelegatedAdministrators.go +++ b/service/organizations/api_op_ListDelegatedAdministrators.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListDelegatedAdministratorsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDelegatedAdministrators(options.Region), middleware.Before); err != nil { return err } diff --git a/service/organizations/api_op_ListDelegatedServicesForAccount.go b/service/organizations/api_op_ListDelegatedServicesForAccount.go index 3b08dafdded..59bf30b6323 100644 --- a/service/organizations/api_op_ListDelegatedServicesForAccount.go +++ b/service/organizations/api_op_ListDelegatedServicesForAccount.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListDelegatedServicesForAccountMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDelegatedServicesForAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_ListHandshakesForAccount.go b/service/organizations/api_op_ListHandshakesForAccount.go index e32d970fea6..26c1b856bb3 100644 --- a/service/organizations/api_op_ListHandshakesForAccount.go +++ b/service/organizations/api_op_ListHandshakesForAccount.go @@ -151,9 +151,6 @@ func (c *Client) addOperationListHandshakesForAccountMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHandshakesForAccount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/organizations/api_op_ListHandshakesForOrganization.go b/service/organizations/api_op_ListHandshakesForOrganization.go index 9c7788aaac1..ae4124263f3 100644 --- a/service/organizations/api_op_ListHandshakesForOrganization.go +++ b/service/organizations/api_op_ListHandshakesForOrganization.go @@ -155,9 +155,6 @@ func (c *Client) addOperationListHandshakesForOrganizationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHandshakesForOrganization(options.Region), middleware.Before); err != nil { return err } diff --git a/service/organizations/api_op_ListOrganizationalUnitsForParent.go b/service/organizations/api_op_ListOrganizationalUnitsForParent.go index 77084001471..b0a48280cd9 100644 --- a/service/organizations/api_op_ListOrganizationalUnitsForParent.go +++ b/service/organizations/api_op_ListOrganizationalUnitsForParent.go @@ -156,9 +156,6 @@ func (c *Client) addOperationListOrganizationalUnitsForParentMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListOrganizationalUnitsForParentValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_ListParents.go b/service/organizations/api_op_ListParents.go index 041d1f0b74f..8bb870399a3 100644 --- a/service/organizations/api_op_ListParents.go +++ b/service/organizations/api_op_ListParents.go @@ -160,9 +160,6 @@ func (c *Client) addOperationListParentsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListParentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_ListPolicies.go b/service/organizations/api_op_ListPolicies.go index 7b449dbd6ed..25d5f6ce601 100644 --- a/service/organizations/api_op_ListPolicies.go +++ b/service/organizations/api_op_ListPolicies.go @@ -168,9 +168,6 @@ func (c *Client) addOperationListPoliciesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPoliciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_ListPoliciesForTarget.go b/service/organizations/api_op_ListPoliciesForTarget.go index a507cc53350..31f850e1ff5 100644 --- a/service/organizations/api_op_ListPoliciesForTarget.go +++ b/service/organizations/api_op_ListPoliciesForTarget.go @@ -189,9 +189,6 @@ func (c *Client) addOperationListPoliciesForTargetMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPoliciesForTargetValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_ListRoots.go b/service/organizations/api_op_ListRoots.go index 299d636f076..2eecee7686c 100644 --- a/service/organizations/api_op_ListRoots.go +++ b/service/organizations/api_op_ListRoots.go @@ -145,9 +145,6 @@ func (c *Client) addOperationListRootsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRoots(options.Region), middleware.Before); err != nil { return err } diff --git a/service/organizations/api_op_ListTagsForResource.go b/service/organizations/api_op_ListTagsForResource.go index 1fe592a02d9..7b0c53a906d 100644 --- a/service/organizations/api_op_ListTagsForResource.go +++ b/service/organizations/api_op_ListTagsForResource.go @@ -150,9 +150,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_ListTargetsForPolicy.go b/service/organizations/api_op_ListTargetsForPolicy.go index ab695f53e3c..4e1cc4c9eee 100644 --- a/service/organizations/api_op_ListTargetsForPolicy.go +++ b/service/organizations/api_op_ListTargetsForPolicy.go @@ -151,9 +151,6 @@ func (c *Client) addOperationListTargetsForPolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTargetsForPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_MoveAccount.go b/service/organizations/api_op_MoveAccount.go index 1f2207d05f1..279d845204c 100644 --- a/service/organizations/api_op_MoveAccount.go +++ b/service/organizations/api_op_MoveAccount.go @@ -150,9 +150,6 @@ func (c *Client) addOperationMoveAccountMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMoveAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_PutResourcePolicy.go b/service/organizations/api_op_PutResourcePolicy.go index 7e0490e7a66..583ea3418c2 100644 --- a/service/organizations/api_op_PutResourcePolicy.go +++ b/service/organizations/api_op_PutResourcePolicy.go @@ -131,9 +131,6 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_RegisterDelegatedAdministrator.go b/service/organizations/api_op_RegisterDelegatedAdministrator.go index ceffdd48fe3..f756dd9255b 100644 --- a/service/organizations/api_op_RegisterDelegatedAdministrator.go +++ b/service/organizations/api_op_RegisterDelegatedAdministrator.go @@ -125,9 +125,6 @@ func (c *Client) addOperationRegisterDelegatedAdministratorMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterDelegatedAdministratorValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_RemoveAccountFromOrganization.go b/service/organizations/api_op_RemoveAccountFromOrganization.go index 3cf6a30d6c8..a8607abe4d1 100644 --- a/service/organizations/api_op_RemoveAccountFromOrganization.go +++ b/service/organizations/api_op_RemoveAccountFromOrganization.go @@ -139,9 +139,6 @@ func (c *Client) addOperationRemoveAccountFromOrganizationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveAccountFromOrganizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_TagResource.go b/service/organizations/api_op_TagResource.go index dd15df82c5e..c17a84400ed 100644 --- a/service/organizations/api_op_TagResource.go +++ b/service/organizations/api_op_TagResource.go @@ -145,9 +145,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_UntagResource.go b/service/organizations/api_op_UntagResource.go index 3f14af5546c..8aacc77e1cb 100644 --- a/service/organizations/api_op_UntagResource.go +++ b/service/organizations/api_op_UntagResource.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_UpdateOrganizationalUnit.go b/service/organizations/api_op_UpdateOrganizationalUnit.go index 09ab5f0c96b..98bdc45cdfc 100644 --- a/service/organizations/api_op_UpdateOrganizationalUnit.go +++ b/service/organizations/api_op_UpdateOrganizationalUnit.go @@ -133,9 +133,6 @@ func (c *Client) addOperationUpdateOrganizationalUnitMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateOrganizationalUnitValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/api_op_UpdatePolicy.go b/service/organizations/api_op_UpdatePolicy.go index da434c0f6b4..22e57ec4e6f 100644 --- a/service/organizations/api_op_UpdatePolicy.go +++ b/service/organizations/api_op_UpdatePolicy.go @@ -146,9 +146,6 @@ func (c *Client) addOperationUpdatePolicyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/organizations/snapshot/api_op_AcceptHandshake.go.snap b/service/organizations/snapshot/api_op_AcceptHandshake.go.snap index 563da2f7b0d..6ae9738412f 100644 --- a/service/organizations/snapshot/api_op_AcceptHandshake.go.snap +++ b/service/organizations/snapshot/api_op_AcceptHandshake.go.snap @@ -14,7 +14,6 @@ AcceptHandshake Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_AttachPolicy.go.snap b/service/organizations/snapshot/api_op_AttachPolicy.go.snap index 0205ccc8d25..bbf49744c86 100644 --- a/service/organizations/snapshot/api_op_AttachPolicy.go.snap +++ b/service/organizations/snapshot/api_op_AttachPolicy.go.snap @@ -14,7 +14,6 @@ AttachPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_CancelHandshake.go.snap b/service/organizations/snapshot/api_op_CancelHandshake.go.snap index 357ee555cb3..4390ff4e640 100644 --- a/service/organizations/snapshot/api_op_CancelHandshake.go.snap +++ b/service/organizations/snapshot/api_op_CancelHandshake.go.snap @@ -14,7 +14,6 @@ CancelHandshake Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_CloseAccount.go.snap b/service/organizations/snapshot/api_op_CloseAccount.go.snap index 0f84978459c..b8d6cadfa84 100644 --- a/service/organizations/snapshot/api_op_CloseAccount.go.snap +++ b/service/organizations/snapshot/api_op_CloseAccount.go.snap @@ -14,7 +14,6 @@ CloseAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_CreateAccount.go.snap b/service/organizations/snapshot/api_op_CreateAccount.go.snap index d8dc54098c7..e6373b4a26f 100644 --- a/service/organizations/snapshot/api_op_CreateAccount.go.snap +++ b/service/organizations/snapshot/api_op_CreateAccount.go.snap @@ -14,7 +14,6 @@ CreateAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_CreateGovCloudAccount.go.snap b/service/organizations/snapshot/api_op_CreateGovCloudAccount.go.snap index 9323e8ebb3c..398f07acc00 100644 --- a/service/organizations/snapshot/api_op_CreateGovCloudAccount.go.snap +++ b/service/organizations/snapshot/api_op_CreateGovCloudAccount.go.snap @@ -14,7 +14,6 @@ CreateGovCloudAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_CreateOrganization.go.snap b/service/organizations/snapshot/api_op_CreateOrganization.go.snap index cc8c4c18121..cea477a6c6c 100644 --- a/service/organizations/snapshot/api_op_CreateOrganization.go.snap +++ b/service/organizations/snapshot/api_op_CreateOrganization.go.snap @@ -13,7 +13,6 @@ CreateOrganization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_CreateOrganizationalUnit.go.snap b/service/organizations/snapshot/api_op_CreateOrganizationalUnit.go.snap index 37aa6f76601..5da412879e8 100644 --- a/service/organizations/snapshot/api_op_CreateOrganizationalUnit.go.snap +++ b/service/organizations/snapshot/api_op_CreateOrganizationalUnit.go.snap @@ -14,7 +14,6 @@ CreateOrganizationalUnit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_CreatePolicy.go.snap b/service/organizations/snapshot/api_op_CreatePolicy.go.snap index f230aad3a35..332e7f13792 100644 --- a/service/organizations/snapshot/api_op_CreatePolicy.go.snap +++ b/service/organizations/snapshot/api_op_CreatePolicy.go.snap @@ -14,7 +14,6 @@ CreatePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_DeclineHandshake.go.snap b/service/organizations/snapshot/api_op_DeclineHandshake.go.snap index e177e260b7e..1944bcef010 100644 --- a/service/organizations/snapshot/api_op_DeclineHandshake.go.snap +++ b/service/organizations/snapshot/api_op_DeclineHandshake.go.snap @@ -14,7 +14,6 @@ DeclineHandshake Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_DeleteOrganization.go.snap b/service/organizations/snapshot/api_op_DeleteOrganization.go.snap index 7938ddf7b96..84f8fc8bee3 100644 --- a/service/organizations/snapshot/api_op_DeleteOrganization.go.snap +++ b/service/organizations/snapshot/api_op_DeleteOrganization.go.snap @@ -13,7 +13,6 @@ DeleteOrganization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_DeleteOrganizationalUnit.go.snap b/service/organizations/snapshot/api_op_DeleteOrganizationalUnit.go.snap index 973f9747a1e..b360901cc45 100644 --- a/service/organizations/snapshot/api_op_DeleteOrganizationalUnit.go.snap +++ b/service/organizations/snapshot/api_op_DeleteOrganizationalUnit.go.snap @@ -14,7 +14,6 @@ DeleteOrganizationalUnit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_DeletePolicy.go.snap b/service/organizations/snapshot/api_op_DeletePolicy.go.snap index 82f0492a4e2..cf5ab0d043a 100644 --- a/service/organizations/snapshot/api_op_DeletePolicy.go.snap +++ b/service/organizations/snapshot/api_op_DeletePolicy.go.snap @@ -14,7 +14,6 @@ DeletePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_DeleteResourcePolicy.go.snap b/service/organizations/snapshot/api_op_DeleteResourcePolicy.go.snap index 71f4a3802ad..88f47f54773 100644 --- a/service/organizations/snapshot/api_op_DeleteResourcePolicy.go.snap +++ b/service/organizations/snapshot/api_op_DeleteResourcePolicy.go.snap @@ -13,7 +13,6 @@ DeleteResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_DeregisterDelegatedAdministrator.go.snap b/service/organizations/snapshot/api_op_DeregisterDelegatedAdministrator.go.snap index c7e98f72101..2617d4159fe 100644 --- a/service/organizations/snapshot/api_op_DeregisterDelegatedAdministrator.go.snap +++ b/service/organizations/snapshot/api_op_DeregisterDelegatedAdministrator.go.snap @@ -14,7 +14,6 @@ DeregisterDelegatedAdministrator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_DescribeAccount.go.snap b/service/organizations/snapshot/api_op_DescribeAccount.go.snap index 4192e677368..d0e68a55b2f 100644 --- a/service/organizations/snapshot/api_op_DescribeAccount.go.snap +++ b/service/organizations/snapshot/api_op_DescribeAccount.go.snap @@ -14,7 +14,6 @@ DescribeAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_DescribeCreateAccountStatus.go.snap b/service/organizations/snapshot/api_op_DescribeCreateAccountStatus.go.snap index 9f156278962..39ea385f24d 100644 --- a/service/organizations/snapshot/api_op_DescribeCreateAccountStatus.go.snap +++ b/service/organizations/snapshot/api_op_DescribeCreateAccountStatus.go.snap @@ -14,7 +14,6 @@ DescribeCreateAccountStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_DescribeEffectivePolicy.go.snap b/service/organizations/snapshot/api_op_DescribeEffectivePolicy.go.snap index c8ada0a1565..4636244d3d7 100644 --- a/service/organizations/snapshot/api_op_DescribeEffectivePolicy.go.snap +++ b/service/organizations/snapshot/api_op_DescribeEffectivePolicy.go.snap @@ -14,7 +14,6 @@ DescribeEffectivePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_DescribeHandshake.go.snap b/service/organizations/snapshot/api_op_DescribeHandshake.go.snap index f9d02a594f1..89fcb889639 100644 --- a/service/organizations/snapshot/api_op_DescribeHandshake.go.snap +++ b/service/organizations/snapshot/api_op_DescribeHandshake.go.snap @@ -14,7 +14,6 @@ DescribeHandshake Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_DescribeOrganization.go.snap b/service/organizations/snapshot/api_op_DescribeOrganization.go.snap index b40a1a1030e..2788b9a0a29 100644 --- a/service/organizations/snapshot/api_op_DescribeOrganization.go.snap +++ b/service/organizations/snapshot/api_op_DescribeOrganization.go.snap @@ -13,7 +13,6 @@ DescribeOrganization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_DescribeOrganizationalUnit.go.snap b/service/organizations/snapshot/api_op_DescribeOrganizationalUnit.go.snap index 7fe21195641..5899b647e0f 100644 --- a/service/organizations/snapshot/api_op_DescribeOrganizationalUnit.go.snap +++ b/service/organizations/snapshot/api_op_DescribeOrganizationalUnit.go.snap @@ -14,7 +14,6 @@ DescribeOrganizationalUnit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_DescribePolicy.go.snap b/service/organizations/snapshot/api_op_DescribePolicy.go.snap index ab44db8c267..34007ce4750 100644 --- a/service/organizations/snapshot/api_op_DescribePolicy.go.snap +++ b/service/organizations/snapshot/api_op_DescribePolicy.go.snap @@ -14,7 +14,6 @@ DescribePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_DescribeResourcePolicy.go.snap b/service/organizations/snapshot/api_op_DescribeResourcePolicy.go.snap index f28005c1b06..793dfea2739 100644 --- a/service/organizations/snapshot/api_op_DescribeResourcePolicy.go.snap +++ b/service/organizations/snapshot/api_op_DescribeResourcePolicy.go.snap @@ -13,7 +13,6 @@ DescribeResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_DetachPolicy.go.snap b/service/organizations/snapshot/api_op_DetachPolicy.go.snap index f92a38a4bf6..3a4818e6ca0 100644 --- a/service/organizations/snapshot/api_op_DetachPolicy.go.snap +++ b/service/organizations/snapshot/api_op_DetachPolicy.go.snap @@ -14,7 +14,6 @@ DetachPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_DisableAWSServiceAccess.go.snap b/service/organizations/snapshot/api_op_DisableAWSServiceAccess.go.snap index 7356b0e04f2..39e500ef805 100644 --- a/service/organizations/snapshot/api_op_DisableAWSServiceAccess.go.snap +++ b/service/organizations/snapshot/api_op_DisableAWSServiceAccess.go.snap @@ -14,7 +14,6 @@ DisableAWSServiceAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_DisablePolicyType.go.snap b/service/organizations/snapshot/api_op_DisablePolicyType.go.snap index fa7ddd14e67..75fc829cba8 100644 --- a/service/organizations/snapshot/api_op_DisablePolicyType.go.snap +++ b/service/organizations/snapshot/api_op_DisablePolicyType.go.snap @@ -14,7 +14,6 @@ DisablePolicyType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_EnableAWSServiceAccess.go.snap b/service/organizations/snapshot/api_op_EnableAWSServiceAccess.go.snap index 7f4ba5d3d43..bffd5b908ba 100644 --- a/service/organizations/snapshot/api_op_EnableAWSServiceAccess.go.snap +++ b/service/organizations/snapshot/api_op_EnableAWSServiceAccess.go.snap @@ -14,7 +14,6 @@ EnableAWSServiceAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_EnableAllFeatures.go.snap b/service/organizations/snapshot/api_op_EnableAllFeatures.go.snap index ca5f40b436a..ae7a4cc7345 100644 --- a/service/organizations/snapshot/api_op_EnableAllFeatures.go.snap +++ b/service/organizations/snapshot/api_op_EnableAllFeatures.go.snap @@ -13,7 +13,6 @@ EnableAllFeatures Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_EnablePolicyType.go.snap b/service/organizations/snapshot/api_op_EnablePolicyType.go.snap index c0606e4ecb0..75dee81a3a9 100644 --- a/service/organizations/snapshot/api_op_EnablePolicyType.go.snap +++ b/service/organizations/snapshot/api_op_EnablePolicyType.go.snap @@ -14,7 +14,6 @@ EnablePolicyType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_InviteAccountToOrganization.go.snap b/service/organizations/snapshot/api_op_InviteAccountToOrganization.go.snap index 4e8c671ade5..c77a9193835 100644 --- a/service/organizations/snapshot/api_op_InviteAccountToOrganization.go.snap +++ b/service/organizations/snapshot/api_op_InviteAccountToOrganization.go.snap @@ -14,7 +14,6 @@ InviteAccountToOrganization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_LeaveOrganization.go.snap b/service/organizations/snapshot/api_op_LeaveOrganization.go.snap index 90d9c5caba6..9f89372a688 100644 --- a/service/organizations/snapshot/api_op_LeaveOrganization.go.snap +++ b/service/organizations/snapshot/api_op_LeaveOrganization.go.snap @@ -13,7 +13,6 @@ LeaveOrganization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_ListAWSServiceAccessForOrganization.go.snap b/service/organizations/snapshot/api_op_ListAWSServiceAccessForOrganization.go.snap index 39dd4628780..14933c8cf57 100644 --- a/service/organizations/snapshot/api_op_ListAWSServiceAccessForOrganization.go.snap +++ b/service/organizations/snapshot/api_op_ListAWSServiceAccessForOrganization.go.snap @@ -13,7 +13,6 @@ ListAWSServiceAccessForOrganization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_ListAccounts.go.snap b/service/organizations/snapshot/api_op_ListAccounts.go.snap index 869e69a4070..bda45a2cf05 100644 --- a/service/organizations/snapshot/api_op_ListAccounts.go.snap +++ b/service/organizations/snapshot/api_op_ListAccounts.go.snap @@ -13,7 +13,6 @@ ListAccounts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_ListAccountsForParent.go.snap b/service/organizations/snapshot/api_op_ListAccountsForParent.go.snap index 740f26daada..98a39d4f87d 100644 --- a/service/organizations/snapshot/api_op_ListAccountsForParent.go.snap +++ b/service/organizations/snapshot/api_op_ListAccountsForParent.go.snap @@ -14,7 +14,6 @@ ListAccountsForParent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_ListChildren.go.snap b/service/organizations/snapshot/api_op_ListChildren.go.snap index 63cfea6cca4..d05be8147f9 100644 --- a/service/organizations/snapshot/api_op_ListChildren.go.snap +++ b/service/organizations/snapshot/api_op_ListChildren.go.snap @@ -14,7 +14,6 @@ ListChildren Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_ListCreateAccountStatus.go.snap b/service/organizations/snapshot/api_op_ListCreateAccountStatus.go.snap index a772a9b2f28..6ddc76d5025 100644 --- a/service/organizations/snapshot/api_op_ListCreateAccountStatus.go.snap +++ b/service/organizations/snapshot/api_op_ListCreateAccountStatus.go.snap @@ -13,7 +13,6 @@ ListCreateAccountStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_ListDelegatedAdministrators.go.snap b/service/organizations/snapshot/api_op_ListDelegatedAdministrators.go.snap index 03aab3cf457..3d45859c0ee 100644 --- a/service/organizations/snapshot/api_op_ListDelegatedAdministrators.go.snap +++ b/service/organizations/snapshot/api_op_ListDelegatedAdministrators.go.snap @@ -13,7 +13,6 @@ ListDelegatedAdministrators Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_ListDelegatedServicesForAccount.go.snap b/service/organizations/snapshot/api_op_ListDelegatedServicesForAccount.go.snap index b2c96fae499..cae85dc6982 100644 --- a/service/organizations/snapshot/api_op_ListDelegatedServicesForAccount.go.snap +++ b/service/organizations/snapshot/api_op_ListDelegatedServicesForAccount.go.snap @@ -14,7 +14,6 @@ ListDelegatedServicesForAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_ListHandshakesForAccount.go.snap b/service/organizations/snapshot/api_op_ListHandshakesForAccount.go.snap index ef4a400d1ca..617d0707408 100644 --- a/service/organizations/snapshot/api_op_ListHandshakesForAccount.go.snap +++ b/service/organizations/snapshot/api_op_ListHandshakesForAccount.go.snap @@ -13,7 +13,6 @@ ListHandshakesForAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_ListHandshakesForOrganization.go.snap b/service/organizations/snapshot/api_op_ListHandshakesForOrganization.go.snap index f665c8f6b3f..94db07ca750 100644 --- a/service/organizations/snapshot/api_op_ListHandshakesForOrganization.go.snap +++ b/service/organizations/snapshot/api_op_ListHandshakesForOrganization.go.snap @@ -13,7 +13,6 @@ ListHandshakesForOrganization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_ListOrganizationalUnitsForParent.go.snap b/service/organizations/snapshot/api_op_ListOrganizationalUnitsForParent.go.snap index 8db79a91df3..da6c781dbec 100644 --- a/service/organizations/snapshot/api_op_ListOrganizationalUnitsForParent.go.snap +++ b/service/organizations/snapshot/api_op_ListOrganizationalUnitsForParent.go.snap @@ -14,7 +14,6 @@ ListOrganizationalUnitsForParent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_ListParents.go.snap b/service/organizations/snapshot/api_op_ListParents.go.snap index 5e10e4536ee..f3ee4fa9f30 100644 --- a/service/organizations/snapshot/api_op_ListParents.go.snap +++ b/service/organizations/snapshot/api_op_ListParents.go.snap @@ -14,7 +14,6 @@ ListParents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_ListPolicies.go.snap b/service/organizations/snapshot/api_op_ListPolicies.go.snap index c3cc19d8303..05f5380e121 100644 --- a/service/organizations/snapshot/api_op_ListPolicies.go.snap +++ b/service/organizations/snapshot/api_op_ListPolicies.go.snap @@ -14,7 +14,6 @@ ListPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_ListPoliciesForTarget.go.snap b/service/organizations/snapshot/api_op_ListPoliciesForTarget.go.snap index 67aa984f4bf..1bf45cebc9b 100644 --- a/service/organizations/snapshot/api_op_ListPoliciesForTarget.go.snap +++ b/service/organizations/snapshot/api_op_ListPoliciesForTarget.go.snap @@ -14,7 +14,6 @@ ListPoliciesForTarget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_ListRoots.go.snap b/service/organizations/snapshot/api_op_ListRoots.go.snap index 5f3cca7d61a..03c2d85b06a 100644 --- a/service/organizations/snapshot/api_op_ListRoots.go.snap +++ b/service/organizations/snapshot/api_op_ListRoots.go.snap @@ -13,7 +13,6 @@ ListRoots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_ListTagsForResource.go.snap b/service/organizations/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/organizations/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/organizations/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_ListTargetsForPolicy.go.snap b/service/organizations/snapshot/api_op_ListTargetsForPolicy.go.snap index 8808f426e28..ec24e209698 100644 --- a/service/organizations/snapshot/api_op_ListTargetsForPolicy.go.snap +++ b/service/organizations/snapshot/api_op_ListTargetsForPolicy.go.snap @@ -14,7 +14,6 @@ ListTargetsForPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_MoveAccount.go.snap b/service/organizations/snapshot/api_op_MoveAccount.go.snap index ecac55c62f5..a202f67405e 100644 --- a/service/organizations/snapshot/api_op_MoveAccount.go.snap +++ b/service/organizations/snapshot/api_op_MoveAccount.go.snap @@ -14,7 +14,6 @@ MoveAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_PutResourcePolicy.go.snap b/service/organizations/snapshot/api_op_PutResourcePolicy.go.snap index 30530b1514f..47bad3fad0e 100644 --- a/service/organizations/snapshot/api_op_PutResourcePolicy.go.snap +++ b/service/organizations/snapshot/api_op_PutResourcePolicy.go.snap @@ -14,7 +14,6 @@ PutResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_RegisterDelegatedAdministrator.go.snap b/service/organizations/snapshot/api_op_RegisterDelegatedAdministrator.go.snap index 362f3ebec3c..5f76cc9552f 100644 --- a/service/organizations/snapshot/api_op_RegisterDelegatedAdministrator.go.snap +++ b/service/organizations/snapshot/api_op_RegisterDelegatedAdministrator.go.snap @@ -14,7 +14,6 @@ RegisterDelegatedAdministrator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_RemoveAccountFromOrganization.go.snap b/service/organizations/snapshot/api_op_RemoveAccountFromOrganization.go.snap index b3f0c29cea6..8bedd0a57e6 100644 --- a/service/organizations/snapshot/api_op_RemoveAccountFromOrganization.go.snap +++ b/service/organizations/snapshot/api_op_RemoveAccountFromOrganization.go.snap @@ -14,7 +14,6 @@ RemoveAccountFromOrganization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_TagResource.go.snap b/service/organizations/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/organizations/snapshot/api_op_TagResource.go.snap +++ b/service/organizations/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_UntagResource.go.snap b/service/organizations/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/organizations/snapshot/api_op_UntagResource.go.snap +++ b/service/organizations/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_UpdateOrganizationalUnit.go.snap b/service/organizations/snapshot/api_op_UpdateOrganizationalUnit.go.snap index 76024916edb..e805011fb67 100644 --- a/service/organizations/snapshot/api_op_UpdateOrganizationalUnit.go.snap +++ b/service/organizations/snapshot/api_op_UpdateOrganizationalUnit.go.snap @@ -14,7 +14,6 @@ UpdateOrganizationalUnit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/organizations/snapshot/api_op_UpdatePolicy.go.snap b/service/organizations/snapshot/api_op_UpdatePolicy.go.snap index a2a4f919e60..e9d88679499 100644 --- a/service/organizations/snapshot/api_op_UpdatePolicy.go.snap +++ b/service/organizations/snapshot/api_op_UpdatePolicy.go.snap @@ -14,7 +14,6 @@ UpdatePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/osis/api_client.go b/service/osis/api_client.go index 5a432ffb718..11ac0f0245c 100644 --- a/service/osis/api_client.go +++ b/service/osis/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/osis/api_op_CreatePipeline.go b/service/osis/api_op_CreatePipeline.go index 24f3f7be08f..bb4cfda42a3 100644 --- a/service/osis/api_op_CreatePipeline.go +++ b/service/osis/api_op_CreatePipeline.go @@ -151,9 +151,6 @@ func (c *Client) addOperationCreatePipelineMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/osis/api_op_DeletePipeline.go b/service/osis/api_op_DeletePipeline.go index 9e714b3c893..a09fafc82d6 100644 --- a/service/osis/api_op_DeletePipeline.go +++ b/service/osis/api_op_DeletePipeline.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeletePipelineMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/osis/api_op_GetPipeline.go b/service/osis/api_op_GetPipeline.go index 301e6e5e896..a4f73216d1b 100644 --- a/service/osis/api_op_GetPipeline.go +++ b/service/osis/api_op_GetPipeline.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetPipelineMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/osis/api_op_GetPipelineBlueprint.go b/service/osis/api_op_GetPipelineBlueprint.go index c694ec408d0..4467d0e151c 100644 --- a/service/osis/api_op_GetPipelineBlueprint.go +++ b/service/osis/api_op_GetPipelineBlueprint.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetPipelineBlueprintMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPipelineBlueprintValidationMiddleware(stack); err != nil { return err } diff --git a/service/osis/api_op_GetPipelineChangeProgress.go b/service/osis/api_op_GetPipelineChangeProgress.go index 1515ae644e4..3efe7473940 100644 --- a/service/osis/api_op_GetPipelineChangeProgress.go +++ b/service/osis/api_op_GetPipelineChangeProgress.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetPipelineChangeProgressMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPipelineChangeProgressValidationMiddleware(stack); err != nil { return err } diff --git a/service/osis/api_op_ListPipelineBlueprints.go b/service/osis/api_op_ListPipelineBlueprints.go index f1084288dc0..f62dd41ff38 100644 --- a/service/osis/api_op_ListPipelineBlueprints.go +++ b/service/osis/api_op_ListPipelineBlueprints.go @@ -109,9 +109,6 @@ func (c *Client) addOperationListPipelineBlueprintsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPipelineBlueprints(options.Region), middleware.Before); err != nil { return err } diff --git a/service/osis/api_op_ListPipelines.go b/service/osis/api_op_ListPipelines.go index 660852cb682..845fabb1b1f 100644 --- a/service/osis/api_op_ListPipelines.go +++ b/service/osis/api_op_ListPipelines.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListPipelinesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPipelines(options.Region), middleware.Before); err != nil { return err } diff --git a/service/osis/api_op_ListTagsForResource.go b/service/osis/api_op_ListTagsForResource.go index 7799b8a1a20..d1f0ae8798a 100644 --- a/service/osis/api_op_ListTagsForResource.go +++ b/service/osis/api_op_ListTagsForResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/osis/api_op_StartPipeline.go b/service/osis/api_op_StartPipeline.go index 7236b17ebad..fb6b347c3fe 100644 --- a/service/osis/api_op_StartPipeline.go +++ b/service/osis/api_op_StartPipeline.go @@ -114,9 +114,6 @@ func (c *Client) addOperationStartPipelineMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartPipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/osis/api_op_StopPipeline.go b/service/osis/api_op_StopPipeline.go index 4ec9a24b3c4..e81c7407a4d 100644 --- a/service/osis/api_op_StopPipeline.go +++ b/service/osis/api_op_StopPipeline.go @@ -114,9 +114,6 @@ func (c *Client) addOperationStopPipelineMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopPipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/osis/api_op_TagResource.go b/service/osis/api_op_TagResource.go index 33de7f60c80..99be38c04ec 100644 --- a/service/osis/api_op_TagResource.go +++ b/service/osis/api_op_TagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/osis/api_op_UntagResource.go b/service/osis/api_op_UntagResource.go index 3295a8006ef..434c5d15642 100644 --- a/service/osis/api_op_UntagResource.go +++ b/service/osis/api_op_UntagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/osis/api_op_UpdatePipeline.go b/service/osis/api_op_UpdatePipeline.go index a3b74b2341f..6838085e516 100644 --- a/service/osis/api_op_UpdatePipeline.go +++ b/service/osis/api_op_UpdatePipeline.go @@ -135,9 +135,6 @@ func (c *Client) addOperationUpdatePipelineMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/osis/api_op_ValidatePipeline.go b/service/osis/api_op_ValidatePipeline.go index 3aaa9255a13..eae2943f89c 100644 --- a/service/osis/api_op_ValidatePipeline.go +++ b/service/osis/api_op_ValidatePipeline.go @@ -120,9 +120,6 @@ func (c *Client) addOperationValidatePipelineMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpValidatePipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/osis/snapshot/api_op_CreatePipeline.go.snap b/service/osis/snapshot/api_op_CreatePipeline.go.snap index 4c2b94d4897..b5051ce1ac7 100644 --- a/service/osis/snapshot/api_op_CreatePipeline.go.snap +++ b/service/osis/snapshot/api_op_CreatePipeline.go.snap @@ -14,7 +14,6 @@ CreatePipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/osis/snapshot/api_op_DeletePipeline.go.snap b/service/osis/snapshot/api_op_DeletePipeline.go.snap index a7bf3d79424..50c322a5054 100644 --- a/service/osis/snapshot/api_op_DeletePipeline.go.snap +++ b/service/osis/snapshot/api_op_DeletePipeline.go.snap @@ -14,7 +14,6 @@ DeletePipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/osis/snapshot/api_op_GetPipeline.go.snap b/service/osis/snapshot/api_op_GetPipeline.go.snap index b05791104d8..afb4c29f76c 100644 --- a/service/osis/snapshot/api_op_GetPipeline.go.snap +++ b/service/osis/snapshot/api_op_GetPipeline.go.snap @@ -14,7 +14,6 @@ GetPipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/osis/snapshot/api_op_GetPipelineBlueprint.go.snap b/service/osis/snapshot/api_op_GetPipelineBlueprint.go.snap index 8237b841096..67262dd9cc6 100644 --- a/service/osis/snapshot/api_op_GetPipelineBlueprint.go.snap +++ b/service/osis/snapshot/api_op_GetPipelineBlueprint.go.snap @@ -14,7 +14,6 @@ GetPipelineBlueprint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/osis/snapshot/api_op_GetPipelineChangeProgress.go.snap b/service/osis/snapshot/api_op_GetPipelineChangeProgress.go.snap index 4094ddb85bb..2e4a14bb11a 100644 --- a/service/osis/snapshot/api_op_GetPipelineChangeProgress.go.snap +++ b/service/osis/snapshot/api_op_GetPipelineChangeProgress.go.snap @@ -14,7 +14,6 @@ GetPipelineChangeProgress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/osis/snapshot/api_op_ListPipelineBlueprints.go.snap b/service/osis/snapshot/api_op_ListPipelineBlueprints.go.snap index 27176904c94..cec3985a0a5 100644 --- a/service/osis/snapshot/api_op_ListPipelineBlueprints.go.snap +++ b/service/osis/snapshot/api_op_ListPipelineBlueprints.go.snap @@ -13,7 +13,6 @@ ListPipelineBlueprints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/osis/snapshot/api_op_ListPipelines.go.snap b/service/osis/snapshot/api_op_ListPipelines.go.snap index 38a5a0d14ce..96b189f77c0 100644 --- a/service/osis/snapshot/api_op_ListPipelines.go.snap +++ b/service/osis/snapshot/api_op_ListPipelines.go.snap @@ -13,7 +13,6 @@ ListPipelines Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/osis/snapshot/api_op_ListTagsForResource.go.snap b/service/osis/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/osis/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/osis/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/osis/snapshot/api_op_StartPipeline.go.snap b/service/osis/snapshot/api_op_StartPipeline.go.snap index 0c90baa57c5..33705fd70f9 100644 --- a/service/osis/snapshot/api_op_StartPipeline.go.snap +++ b/service/osis/snapshot/api_op_StartPipeline.go.snap @@ -14,7 +14,6 @@ StartPipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/osis/snapshot/api_op_StopPipeline.go.snap b/service/osis/snapshot/api_op_StopPipeline.go.snap index 8c49f9c1724..50ae0b37236 100644 --- a/service/osis/snapshot/api_op_StopPipeline.go.snap +++ b/service/osis/snapshot/api_op_StopPipeline.go.snap @@ -14,7 +14,6 @@ StopPipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/osis/snapshot/api_op_TagResource.go.snap b/service/osis/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/osis/snapshot/api_op_TagResource.go.snap +++ b/service/osis/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/osis/snapshot/api_op_UntagResource.go.snap b/service/osis/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/osis/snapshot/api_op_UntagResource.go.snap +++ b/service/osis/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/osis/snapshot/api_op_UpdatePipeline.go.snap b/service/osis/snapshot/api_op_UpdatePipeline.go.snap index acddf30c7a9..3f2dc40d069 100644 --- a/service/osis/snapshot/api_op_UpdatePipeline.go.snap +++ b/service/osis/snapshot/api_op_UpdatePipeline.go.snap @@ -14,7 +14,6 @@ UpdatePipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/osis/snapshot/api_op_ValidatePipeline.go.snap b/service/osis/snapshot/api_op_ValidatePipeline.go.snap index fa9e8187461..a43236daf92 100644 --- a/service/osis/snapshot/api_op_ValidatePipeline.go.snap +++ b/service/osis/snapshot/api_op_ValidatePipeline.go.snap @@ -14,7 +14,6 @@ ValidatePipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/outposts/api_client.go b/service/outposts/api_client.go index 353f32ceafc..2e236c79691 100644 --- a/service/outposts/api_client.go +++ b/service/outposts/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/outposts/api_op_CancelCapacityTask.go b/service/outposts/api_op_CancelCapacityTask.go index a1c65976acb..82466fd734f 100644 --- a/service/outposts/api_op_CancelCapacityTask.go +++ b/service/outposts/api_op_CancelCapacityTask.go @@ -113,9 +113,6 @@ func (c *Client) addOperationCancelCapacityTaskMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelCapacityTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_CancelOrder.go b/service/outposts/api_op_CancelOrder.go index 54126d13e93..86c3d92ef4a 100644 --- a/service/outposts/api_op_CancelOrder.go +++ b/service/outposts/api_op_CancelOrder.go @@ -107,9 +107,6 @@ func (c *Client) addOperationCancelOrderMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelOrderValidationMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_CreateOrder.go b/service/outposts/api_op_CreateOrder.go index fc193487e02..7c8c1b57403 100644 --- a/service/outposts/api_op_CreateOrder.go +++ b/service/outposts/api_op_CreateOrder.go @@ -125,9 +125,6 @@ func (c *Client) addOperationCreateOrderMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateOrderValidationMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_CreateOutpost.go b/service/outposts/api_op_CreateOutpost.go index 1d108a1f5e4..dad97f6422d 100644 --- a/service/outposts/api_op_CreateOutpost.go +++ b/service/outposts/api_op_CreateOutpost.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCreateOutpostMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateOutpostValidationMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_CreateSite.go b/service/outposts/api_op_CreateSite.go index 8d691d23b92..3021b620644 100644 --- a/service/outposts/api_op_CreateSite.go +++ b/service/outposts/api_op_CreateSite.go @@ -138,9 +138,6 @@ func (c *Client) addOperationCreateSiteMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSiteValidationMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_DeleteOutpost.go b/service/outposts/api_op_DeleteOutpost.go index 35454aef33a..8efa5686e2d 100644 --- a/service/outposts/api_op_DeleteOutpost.go +++ b/service/outposts/api_op_DeleteOutpost.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteOutpostMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteOutpostValidationMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_DeleteSite.go b/service/outposts/api_op_DeleteSite.go index 913fbfe6a1b..c60cd37e2e9 100644 --- a/service/outposts/api_op_DeleteSite.go +++ b/service/outposts/api_op_DeleteSite.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteSiteMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSiteValidationMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_GetCapacityTask.go b/service/outposts/api_op_GetCapacityTask.go index 8d63255e824..816bec330ff 100644 --- a/service/outposts/api_op_GetCapacityTask.go +++ b/service/outposts/api_op_GetCapacityTask.go @@ -170,9 +170,6 @@ func (c *Client) addOperationGetCapacityTaskMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCapacityTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_GetCatalogItem.go b/service/outposts/api_op_GetCatalogItem.go index aeee56b2318..de2b9aeec27 100644 --- a/service/outposts/api_op_GetCatalogItem.go +++ b/service/outposts/api_op_GetCatalogItem.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetCatalogItemMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCatalogItemValidationMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_GetConnection.go b/service/outposts/api_op_GetConnection.go index d5e68f83103..340d728c656 100644 --- a/service/outposts/api_op_GetConnection.go +++ b/service/outposts/api_op_GetConnection.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetConnectionMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_GetOrder.go b/service/outposts/api_op_GetOrder.go index f6de06d62d6..80e4ed36bdc 100644 --- a/service/outposts/api_op_GetOrder.go +++ b/service/outposts/api_op_GetOrder.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetOrderMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetOrderValidationMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_GetOutpost.go b/service/outposts/api_op_GetOutpost.go index fa44e5bad27..fc27c953e8b 100644 --- a/service/outposts/api_op_GetOutpost.go +++ b/service/outposts/api_op_GetOutpost.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetOutpostMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetOutpostValidationMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_GetOutpostInstanceTypes.go b/service/outposts/api_op_GetOutpostInstanceTypes.go index 9b8e177b220..138b669f658 100644 --- a/service/outposts/api_op_GetOutpostInstanceTypes.go +++ b/service/outposts/api_op_GetOutpostInstanceTypes.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetOutpostInstanceTypesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetOutpostInstanceTypesValidationMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_GetOutpostSupportedInstanceTypes.go b/service/outposts/api_op_GetOutpostSupportedInstanceTypes.go index d3899078b54..b588fa25d0a 100644 --- a/service/outposts/api_op_GetOutpostSupportedInstanceTypes.go +++ b/service/outposts/api_op_GetOutpostSupportedInstanceTypes.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetOutpostSupportedInstanceTypesMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetOutpostSupportedInstanceTypesValidationMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_GetSite.go b/service/outposts/api_op_GetSite.go index a9aa851f8eb..ef6e649d515 100644 --- a/service/outposts/api_op_GetSite.go +++ b/service/outposts/api_op_GetSite.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetSiteMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSiteValidationMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_GetSiteAddress.go b/service/outposts/api_op_GetSiteAddress.go index 8c4ebb64600..5ac0480cad4 100644 --- a/service/outposts/api_op_GetSiteAddress.go +++ b/service/outposts/api_op_GetSiteAddress.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetSiteAddressMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSiteAddressValidationMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_ListAssetInstances.go b/service/outposts/api_op_ListAssetInstances.go index ace08fc34c6..fc2f0944694 100644 --- a/service/outposts/api_op_ListAssetInstances.go +++ b/service/outposts/api_op_ListAssetInstances.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListAssetInstancesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAssetInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_ListAssets.go b/service/outposts/api_op_ListAssets.go index 689385449e0..360996a54f1 100644 --- a/service/outposts/api_op_ListAssets.go +++ b/service/outposts/api_op_ListAssets.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListAssetsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAssetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_ListBlockingInstancesForCapacityTask.go b/service/outposts/api_op_ListBlockingInstancesForCapacityTask.go index a2da1dfb649..1160e55c07e 100644 --- a/service/outposts/api_op_ListBlockingInstancesForCapacityTask.go +++ b/service/outposts/api_op_ListBlockingInstancesForCapacityTask.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListBlockingInstancesForCapacityTaskMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBlockingInstancesForCapacityTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_ListCapacityTasks.go b/service/outposts/api_op_ListCapacityTasks.go index 5d1ad24e81b..70aa459abb4 100644 --- a/service/outposts/api_op_ListCapacityTasks.go +++ b/service/outposts/api_op_ListCapacityTasks.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListCapacityTasksMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCapacityTasks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/outposts/api_op_ListCatalogItems.go b/service/outposts/api_op_ListCatalogItems.go index 84f0e514cbb..64c9a6d435d 100644 --- a/service/outposts/api_op_ListCatalogItems.go +++ b/service/outposts/api_op_ListCatalogItems.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListCatalogItemsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCatalogItems(options.Region), middleware.Before); err != nil { return err } diff --git a/service/outposts/api_op_ListOrders.go b/service/outposts/api_op_ListOrders.go index 4cabeedaebd..cf693d8e699 100644 --- a/service/outposts/api_op_ListOrders.go +++ b/service/outposts/api_op_ListOrders.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListOrdersMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOrders(options.Region), middleware.Before); err != nil { return err } diff --git a/service/outposts/api_op_ListOutposts.go b/service/outposts/api_op_ListOutposts.go index 2f6abca6b5c..06ab33cb219 100644 --- a/service/outposts/api_op_ListOutposts.go +++ b/service/outposts/api_op_ListOutposts.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListOutpostsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOutposts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/outposts/api_op_ListSites.go b/service/outposts/api_op_ListSites.go index 3c8f3228309..bd1298c3fc5 100644 --- a/service/outposts/api_op_ListSites.go +++ b/service/outposts/api_op_ListSites.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListSitesMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSites(options.Region), middleware.Before); err != nil { return err } diff --git a/service/outposts/api_op_ListTagsForResource.go b/service/outposts/api_op_ListTagsForResource.go index 87272a477c0..7adb524c026 100644 --- a/service/outposts/api_op_ListTagsForResource.go +++ b/service/outposts/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_StartCapacityTask.go b/service/outposts/api_op_StartCapacityTask.go index 0cf65c58f76..73d208cf5a8 100644 --- a/service/outposts/api_op_StartCapacityTask.go +++ b/service/outposts/api_op_StartCapacityTask.go @@ -183,9 +183,6 @@ func (c *Client) addOperationStartCapacityTaskMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartCapacityTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_StartConnection.go b/service/outposts/api_op_StartConnection.go index 6145d837fd1..1f495b3b3d4 100644 --- a/service/outposts/api_op_StartConnection.go +++ b/service/outposts/api_op_StartConnection.go @@ -136,9 +136,6 @@ func (c *Client) addOperationStartConnectionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_TagResource.go b/service/outposts/api_op_TagResource.go index 93ee9e39b75..552ab712b31 100644 --- a/service/outposts/api_op_TagResource.go +++ b/service/outposts/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_UntagResource.go b/service/outposts/api_op_UntagResource.go index 7cb269c6e23..ead5b5c2ce7 100644 --- a/service/outposts/api_op_UntagResource.go +++ b/service/outposts/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_UpdateOutpost.go b/service/outposts/api_op_UpdateOutpost.go index 4f760a6402a..519ae3c0a6d 100644 --- a/service/outposts/api_op_UpdateOutpost.go +++ b/service/outposts/api_op_UpdateOutpost.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateOutpostMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateOutpostValidationMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_UpdateSite.go b/service/outposts/api_op_UpdateSite.go index ea213a36412..15f6fe93ad3 100644 --- a/service/outposts/api_op_UpdateSite.go +++ b/service/outposts/api_op_UpdateSite.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateSiteMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSiteValidationMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_UpdateSiteAddress.go b/service/outposts/api_op_UpdateSiteAddress.go index af3a2d7fd73..9deae8cc1ed 100644 --- a/service/outposts/api_op_UpdateSiteAddress.go +++ b/service/outposts/api_op_UpdateSiteAddress.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateSiteAddressMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSiteAddressValidationMiddleware(stack); err != nil { return err } diff --git a/service/outposts/api_op_UpdateSiteRackPhysicalProperties.go b/service/outposts/api_op_UpdateSiteRackPhysicalProperties.go index 5729f82343a..739b9eeaac8 100644 --- a/service/outposts/api_op_UpdateSiteRackPhysicalProperties.go +++ b/service/outposts/api_op_UpdateSiteRackPhysicalProperties.go @@ -208,9 +208,6 @@ func (c *Client) addOperationUpdateSiteRackPhysicalPropertiesMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSiteRackPhysicalPropertiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/outposts/snapshot/api_op_CancelCapacityTask.go.snap b/service/outposts/snapshot/api_op_CancelCapacityTask.go.snap index fec765c2a72..071b35ab24c 100644 --- a/service/outposts/snapshot/api_op_CancelCapacityTask.go.snap +++ b/service/outposts/snapshot/api_op_CancelCapacityTask.go.snap @@ -14,7 +14,6 @@ CancelCapacityTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/outposts/snapshot/api_op_CancelOrder.go.snap b/service/outposts/snapshot/api_op_CancelOrder.go.snap index be4f8dd8c82..9b5d7dbefd7 100644 --- a/service/outposts/snapshot/api_op_CancelOrder.go.snap +++ b/service/outposts/snapshot/api_op_CancelOrder.go.snap @@ -14,7 +14,6 @@ CancelOrder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/outposts/snapshot/api_op_CreateOrder.go.snap b/service/outposts/snapshot/api_op_CreateOrder.go.snap index 2ab97e486ab..defdcd4c2a0 100644 --- a/service/outposts/snapshot/api_op_CreateOrder.go.snap +++ b/service/outposts/snapshot/api_op_CreateOrder.go.snap @@ -14,7 +14,6 @@ CreateOrder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/outposts/snapshot/api_op_CreateOutpost.go.snap b/service/outposts/snapshot/api_op_CreateOutpost.go.snap index 2520dfc3751..764061f45e5 100644 --- a/service/outposts/snapshot/api_op_CreateOutpost.go.snap +++ b/service/outposts/snapshot/api_op_CreateOutpost.go.snap @@ -14,7 +14,6 @@ CreateOutpost Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/outposts/snapshot/api_op_CreateSite.go.snap b/service/outposts/snapshot/api_op_CreateSite.go.snap index 80bdf35e81c..0f4f5958c65 100644 --- a/service/outposts/snapshot/api_op_CreateSite.go.snap +++ b/service/outposts/snapshot/api_op_CreateSite.go.snap @@ -14,7 +14,6 @@ CreateSite Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/outposts/snapshot/api_op_DeleteOutpost.go.snap b/service/outposts/snapshot/api_op_DeleteOutpost.go.snap index 37fa54d1dfc..dbf730a60f6 100644 --- a/service/outposts/snapshot/api_op_DeleteOutpost.go.snap +++ b/service/outposts/snapshot/api_op_DeleteOutpost.go.snap @@ -14,7 +14,6 @@ DeleteOutpost Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/outposts/snapshot/api_op_DeleteSite.go.snap b/service/outposts/snapshot/api_op_DeleteSite.go.snap index 1c8867b0bd9..aa043f780ef 100644 --- a/service/outposts/snapshot/api_op_DeleteSite.go.snap +++ b/service/outposts/snapshot/api_op_DeleteSite.go.snap @@ -14,7 +14,6 @@ DeleteSite Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/outposts/snapshot/api_op_GetCapacityTask.go.snap b/service/outposts/snapshot/api_op_GetCapacityTask.go.snap index 66cabf586e3..914b79aa63f 100644 --- a/service/outposts/snapshot/api_op_GetCapacityTask.go.snap +++ b/service/outposts/snapshot/api_op_GetCapacityTask.go.snap @@ -14,7 +14,6 @@ GetCapacityTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/outposts/snapshot/api_op_GetCatalogItem.go.snap b/service/outposts/snapshot/api_op_GetCatalogItem.go.snap index d9f56fbd21b..a81ae76c49c 100644 --- a/service/outposts/snapshot/api_op_GetCatalogItem.go.snap +++ b/service/outposts/snapshot/api_op_GetCatalogItem.go.snap @@ -14,7 +14,6 @@ GetCatalogItem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/outposts/snapshot/api_op_GetConnection.go.snap b/service/outposts/snapshot/api_op_GetConnection.go.snap index b305d4ada6d..b6411ef260a 100644 --- a/service/outposts/snapshot/api_op_GetConnection.go.snap +++ b/service/outposts/snapshot/api_op_GetConnection.go.snap @@ -14,7 +14,6 @@ GetConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/outposts/snapshot/api_op_GetOrder.go.snap b/service/outposts/snapshot/api_op_GetOrder.go.snap index bfe50573677..424a279c17f 100644 --- a/service/outposts/snapshot/api_op_GetOrder.go.snap +++ b/service/outposts/snapshot/api_op_GetOrder.go.snap @@ -14,7 +14,6 @@ GetOrder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/outposts/snapshot/api_op_GetOutpost.go.snap b/service/outposts/snapshot/api_op_GetOutpost.go.snap index 3c4d29db3ac..ef949a51a4e 100644 --- a/service/outposts/snapshot/api_op_GetOutpost.go.snap +++ b/service/outposts/snapshot/api_op_GetOutpost.go.snap @@ -14,7 +14,6 @@ GetOutpost Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/outposts/snapshot/api_op_GetOutpostInstanceTypes.go.snap b/service/outposts/snapshot/api_op_GetOutpostInstanceTypes.go.snap index b88a72013ce..96117863a7a 100644 --- a/service/outposts/snapshot/api_op_GetOutpostInstanceTypes.go.snap +++ b/service/outposts/snapshot/api_op_GetOutpostInstanceTypes.go.snap @@ -14,7 +14,6 @@ GetOutpostInstanceTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/outposts/snapshot/api_op_GetOutpostSupportedInstanceTypes.go.snap b/service/outposts/snapshot/api_op_GetOutpostSupportedInstanceTypes.go.snap index e1c26ee7796..737ff6160cf 100644 --- a/service/outposts/snapshot/api_op_GetOutpostSupportedInstanceTypes.go.snap +++ b/service/outposts/snapshot/api_op_GetOutpostSupportedInstanceTypes.go.snap @@ -14,7 +14,6 @@ GetOutpostSupportedInstanceTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/outposts/snapshot/api_op_GetSite.go.snap b/service/outposts/snapshot/api_op_GetSite.go.snap index 2062ccb8291..82e25050c02 100644 --- a/service/outposts/snapshot/api_op_GetSite.go.snap +++ b/service/outposts/snapshot/api_op_GetSite.go.snap @@ -14,7 +14,6 @@ GetSite Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/outposts/snapshot/api_op_GetSiteAddress.go.snap b/service/outposts/snapshot/api_op_GetSiteAddress.go.snap index ba47cd30e47..77df0e6b1e3 100644 --- a/service/outposts/snapshot/api_op_GetSiteAddress.go.snap +++ b/service/outposts/snapshot/api_op_GetSiteAddress.go.snap @@ -14,7 +14,6 @@ GetSiteAddress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/outposts/snapshot/api_op_ListAssetInstances.go.snap b/service/outposts/snapshot/api_op_ListAssetInstances.go.snap index 85b496012fa..bf84f5bfa5d 100644 --- a/service/outposts/snapshot/api_op_ListAssetInstances.go.snap +++ b/service/outposts/snapshot/api_op_ListAssetInstances.go.snap @@ -14,7 +14,6 @@ ListAssetInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/outposts/snapshot/api_op_ListAssets.go.snap b/service/outposts/snapshot/api_op_ListAssets.go.snap index f4c779f2670..6537831107e 100644 --- a/service/outposts/snapshot/api_op_ListAssets.go.snap +++ b/service/outposts/snapshot/api_op_ListAssets.go.snap @@ -14,7 +14,6 @@ ListAssets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/outposts/snapshot/api_op_ListBlockingInstancesForCapacityTask.go.snap b/service/outposts/snapshot/api_op_ListBlockingInstancesForCapacityTask.go.snap index 7a57d4ab35c..1ad5bb67ba5 100644 --- a/service/outposts/snapshot/api_op_ListBlockingInstancesForCapacityTask.go.snap +++ b/service/outposts/snapshot/api_op_ListBlockingInstancesForCapacityTask.go.snap @@ -14,7 +14,6 @@ ListBlockingInstancesForCapacityTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/outposts/snapshot/api_op_ListCapacityTasks.go.snap b/service/outposts/snapshot/api_op_ListCapacityTasks.go.snap index ffaa81010e7..b82caa5ab87 100644 --- a/service/outposts/snapshot/api_op_ListCapacityTasks.go.snap +++ b/service/outposts/snapshot/api_op_ListCapacityTasks.go.snap @@ -13,7 +13,6 @@ ListCapacityTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/outposts/snapshot/api_op_ListCatalogItems.go.snap b/service/outposts/snapshot/api_op_ListCatalogItems.go.snap index 426af55bf20..a4f0fd7f6f8 100644 --- a/service/outposts/snapshot/api_op_ListCatalogItems.go.snap +++ b/service/outposts/snapshot/api_op_ListCatalogItems.go.snap @@ -13,7 +13,6 @@ ListCatalogItems Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/outposts/snapshot/api_op_ListOrders.go.snap b/service/outposts/snapshot/api_op_ListOrders.go.snap index 4111088dd87..d16f4e266dd 100644 --- a/service/outposts/snapshot/api_op_ListOrders.go.snap +++ b/service/outposts/snapshot/api_op_ListOrders.go.snap @@ -13,7 +13,6 @@ ListOrders Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/outposts/snapshot/api_op_ListOutposts.go.snap b/service/outposts/snapshot/api_op_ListOutposts.go.snap index 83e1c85a27d..df896ae6dc0 100644 --- a/service/outposts/snapshot/api_op_ListOutposts.go.snap +++ b/service/outposts/snapshot/api_op_ListOutposts.go.snap @@ -13,7 +13,6 @@ ListOutposts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/outposts/snapshot/api_op_ListSites.go.snap b/service/outposts/snapshot/api_op_ListSites.go.snap index 86bb08e33f1..117dccffd00 100644 --- a/service/outposts/snapshot/api_op_ListSites.go.snap +++ b/service/outposts/snapshot/api_op_ListSites.go.snap @@ -13,7 +13,6 @@ ListSites Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/outposts/snapshot/api_op_ListTagsForResource.go.snap b/service/outposts/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/outposts/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/outposts/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/outposts/snapshot/api_op_StartCapacityTask.go.snap b/service/outposts/snapshot/api_op_StartCapacityTask.go.snap index ee447f95063..78916a409a7 100644 --- a/service/outposts/snapshot/api_op_StartCapacityTask.go.snap +++ b/service/outposts/snapshot/api_op_StartCapacityTask.go.snap @@ -14,7 +14,6 @@ StartCapacityTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/outposts/snapshot/api_op_StartConnection.go.snap b/service/outposts/snapshot/api_op_StartConnection.go.snap index c97dd4b3c99..077d8004339 100644 --- a/service/outposts/snapshot/api_op_StartConnection.go.snap +++ b/service/outposts/snapshot/api_op_StartConnection.go.snap @@ -14,7 +14,6 @@ StartConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/outposts/snapshot/api_op_TagResource.go.snap b/service/outposts/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/outposts/snapshot/api_op_TagResource.go.snap +++ b/service/outposts/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/outposts/snapshot/api_op_UntagResource.go.snap b/service/outposts/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/outposts/snapshot/api_op_UntagResource.go.snap +++ b/service/outposts/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/outposts/snapshot/api_op_UpdateOutpost.go.snap b/service/outposts/snapshot/api_op_UpdateOutpost.go.snap index d3f97ddad6f..e894b357d31 100644 --- a/service/outposts/snapshot/api_op_UpdateOutpost.go.snap +++ b/service/outposts/snapshot/api_op_UpdateOutpost.go.snap @@ -14,7 +14,6 @@ UpdateOutpost Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/outposts/snapshot/api_op_UpdateSite.go.snap b/service/outposts/snapshot/api_op_UpdateSite.go.snap index f76010c8579..2b758741255 100644 --- a/service/outposts/snapshot/api_op_UpdateSite.go.snap +++ b/service/outposts/snapshot/api_op_UpdateSite.go.snap @@ -14,7 +14,6 @@ UpdateSite Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/outposts/snapshot/api_op_UpdateSiteAddress.go.snap b/service/outposts/snapshot/api_op_UpdateSiteAddress.go.snap index ed61e3d5b3c..b2e4ba5d0fe 100644 --- a/service/outposts/snapshot/api_op_UpdateSiteAddress.go.snap +++ b/service/outposts/snapshot/api_op_UpdateSiteAddress.go.snap @@ -14,7 +14,6 @@ UpdateSiteAddress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/outposts/snapshot/api_op_UpdateSiteRackPhysicalProperties.go.snap b/service/outposts/snapshot/api_op_UpdateSiteRackPhysicalProperties.go.snap index d3d71690626..73b92fa8b5e 100644 --- a/service/outposts/snapshot/api_op_UpdateSiteRackPhysicalProperties.go.snap +++ b/service/outposts/snapshot/api_op_UpdateSiteRackPhysicalProperties.go.snap @@ -14,7 +14,6 @@ UpdateSiteRackPhysicalProperties Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/api_client.go b/service/panorama/api_client.go index e41c0590c3f..43af14eb24e 100644 --- a/service/panorama/api_client.go +++ b/service/panorama/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/panorama/api_op_CreateApplicationInstance.go b/service/panorama/api_op_CreateApplicationInstance.go index b0b1be72a77..51e65043fc2 100644 --- a/service/panorama/api_op_CreateApplicationInstance.go +++ b/service/panorama/api_op_CreateApplicationInstance.go @@ -137,9 +137,6 @@ func (c *Client) addOperationCreateApplicationInstanceMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateApplicationInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_CreateJobForDevices.go b/service/panorama/api_op_CreateJobForDevices.go index 30c63516521..56ac7aa9e2f 100644 --- a/service/panorama/api_op_CreateJobForDevices.go +++ b/service/panorama/api_op_CreateJobForDevices.go @@ -123,9 +123,6 @@ func (c *Client) addOperationCreateJobForDevicesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateJobForDevicesValidationMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_CreateNodeFromTemplateJob.go b/service/panorama/api_op_CreateNodeFromTemplateJob.go index 614947a8582..5f7f9b7a1f0 100644 --- a/service/panorama/api_op_CreateNodeFromTemplateJob.go +++ b/service/panorama/api_op_CreateNodeFromTemplateJob.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreateNodeFromTemplateJobMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateNodeFromTemplateJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_CreatePackage.go b/service/panorama/api_op_CreatePackage.go index a02ad03ed0e..3dfe178649f 100644 --- a/service/panorama/api_op_CreatePackage.go +++ b/service/panorama/api_op_CreatePackage.go @@ -123,9 +123,6 @@ func (c *Client) addOperationCreatePackageMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePackageValidationMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_CreatePackageImportJob.go b/service/panorama/api_op_CreatePackageImportJob.go index f39510331f3..29d559ac6fa 100644 --- a/service/panorama/api_op_CreatePackageImportJob.go +++ b/service/panorama/api_op_CreatePackageImportJob.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreatePackageImportJobMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePackageImportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_DeleteDevice.go b/service/panorama/api_op_DeleteDevice.go index 96e2145575a..062f9d48ca1 100644 --- a/service/panorama/api_op_DeleteDevice.go +++ b/service/panorama/api_op_DeleteDevice.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteDeviceMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_DeletePackage.go b/service/panorama/api_op_DeletePackage.go index 51ae935af0e..b15021421dc 100644 --- a/service/panorama/api_op_DeletePackage.go +++ b/service/panorama/api_op_DeletePackage.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeletePackageMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePackageValidationMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_DeregisterPackageVersion.go b/service/panorama/api_op_DeregisterPackageVersion.go index 074362eff26..213171a6257 100644 --- a/service/panorama/api_op_DeregisterPackageVersion.go +++ b/service/panorama/api_op_DeregisterPackageVersion.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeregisterPackageVersionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterPackageVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_DescribeApplicationInstance.go b/service/panorama/api_op_DescribeApplicationInstance.go index cb24ca7327f..3231075b99c 100644 --- a/service/panorama/api_op_DescribeApplicationInstance.go +++ b/service/panorama/api_op_DescribeApplicationInstance.go @@ -155,9 +155,6 @@ func (c *Client) addOperationDescribeApplicationInstanceMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeApplicationInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_DescribeApplicationInstanceDetails.go b/service/panorama/api_op_DescribeApplicationInstanceDetails.go index fe6292bf0ad..4a9d42c0d9c 100644 --- a/service/panorama/api_op_DescribeApplicationInstanceDetails.go +++ b/service/panorama/api_op_DescribeApplicationInstanceDetails.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeApplicationInstanceDetailsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeApplicationInstanceDetailsValidationMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_DescribeDevice.go b/service/panorama/api_op_DescribeDevice.go index 5e8e683d823..41a7e4afeda 100644 --- a/service/panorama/api_op_DescribeDevice.go +++ b/service/panorama/api_op_DescribeDevice.go @@ -171,9 +171,6 @@ func (c *Client) addOperationDescribeDeviceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_DescribeDeviceJob.go b/service/panorama/api_op_DescribeDeviceJob.go index 0f0ebae99fe..75a218d7cce 100644 --- a/service/panorama/api_op_DescribeDeviceJob.go +++ b/service/panorama/api_op_DescribeDeviceJob.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDescribeDeviceJobMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDeviceJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_DescribeNode.go b/service/panorama/api_op_DescribeNode.go index 5861bd97595..e603fdaf3b0 100644 --- a/service/panorama/api_op_DescribeNode.go +++ b/service/panorama/api_op_DescribeNode.go @@ -179,9 +179,6 @@ func (c *Client) addOperationDescribeNodeMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeNodeValidationMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_DescribeNodeFromTemplateJob.go b/service/panorama/api_op_DescribeNodeFromTemplateJob.go index 6afde815a11..7fe83e7f01e 100644 --- a/service/panorama/api_op_DescribeNodeFromTemplateJob.go +++ b/service/panorama/api_op_DescribeNodeFromTemplateJob.go @@ -166,9 +166,6 @@ func (c *Client) addOperationDescribeNodeFromTemplateJobMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeNodeFromTemplateJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_DescribePackage.go b/service/panorama/api_op_DescribePackage.go index 009f3ded4fa..f82c4ef0c9f 100644 --- a/service/panorama/api_op_DescribePackage.go +++ b/service/panorama/api_op_DescribePackage.go @@ -146,9 +146,6 @@ func (c *Client) addOperationDescribePackageMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePackageValidationMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_DescribePackageImportJob.go b/service/panorama/api_op_DescribePackageImportJob.go index 0939377f547..d2baf8d097a 100644 --- a/service/panorama/api_op_DescribePackageImportJob.go +++ b/service/panorama/api_op_DescribePackageImportJob.go @@ -161,9 +161,6 @@ func (c *Client) addOperationDescribePackageImportJobMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePackageImportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_DescribePackageVersion.go b/service/panorama/api_op_DescribePackageVersion.go index 59cdd189541..e5484d1deaf 100644 --- a/service/panorama/api_op_DescribePackageVersion.go +++ b/service/panorama/api_op_DescribePackageVersion.go @@ -163,9 +163,6 @@ func (c *Client) addOperationDescribePackageVersionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePackageVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_ListApplicationInstanceDependencies.go b/service/panorama/api_op_ListApplicationInstanceDependencies.go index 047934fe563..99eff97045d 100644 --- a/service/panorama/api_op_ListApplicationInstanceDependencies.go +++ b/service/panorama/api_op_ListApplicationInstanceDependencies.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListApplicationInstanceDependenciesMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListApplicationInstanceDependenciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_ListApplicationInstanceNodeInstances.go b/service/panorama/api_op_ListApplicationInstanceNodeInstances.go index 30b097c52bb..b91ed6c8b78 100644 --- a/service/panorama/api_op_ListApplicationInstanceNodeInstances.go +++ b/service/panorama/api_op_ListApplicationInstanceNodeInstances.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListApplicationInstanceNodeInstancesMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListApplicationInstanceNodeInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_ListApplicationInstances.go b/service/panorama/api_op_ListApplicationInstances.go index 96e8388ae33..882cbd319c5 100644 --- a/service/panorama/api_op_ListApplicationInstances.go +++ b/service/panorama/api_op_ListApplicationInstances.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListApplicationInstancesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplicationInstances(options.Region), middleware.Before); err != nil { return err } diff --git a/service/panorama/api_op_ListDevices.go b/service/panorama/api_op_ListDevices.go index 3fe22d1bec5..76d7493a9b2 100644 --- a/service/panorama/api_op_ListDevices.go +++ b/service/panorama/api_op_ListDevices.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListDevicesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDevices(options.Region), middleware.Before); err != nil { return err } diff --git a/service/panorama/api_op_ListDevicesJobs.go b/service/panorama/api_op_ListDevicesJobs.go index 55f798c15da..3e848e33df2 100644 --- a/service/panorama/api_op_ListDevicesJobs.go +++ b/service/panorama/api_op_ListDevicesJobs.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListDevicesJobsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDevicesJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/panorama/api_op_ListNodeFromTemplateJobs.go b/service/panorama/api_op_ListNodeFromTemplateJobs.go index 5db048746dd..1dabf404b54 100644 --- a/service/panorama/api_op_ListNodeFromTemplateJobs.go +++ b/service/panorama/api_op_ListNodeFromTemplateJobs.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListNodeFromTemplateJobsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNodeFromTemplateJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/panorama/api_op_ListNodes.go b/service/panorama/api_op_ListNodes.go index 85d9c8dd702..098e4073231 100644 --- a/service/panorama/api_op_ListNodes.go +++ b/service/panorama/api_op_ListNodes.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListNodesMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNodes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/panorama/api_op_ListPackageImportJobs.go b/service/panorama/api_op_ListPackageImportJobs.go index 180b742e744..9f2b83d45d3 100644 --- a/service/panorama/api_op_ListPackageImportJobs.go +++ b/service/panorama/api_op_ListPackageImportJobs.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListPackageImportJobsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPackageImportJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/panorama/api_op_ListPackages.go b/service/panorama/api_op_ListPackages.go index c8437c04265..a61687c4ed3 100644 --- a/service/panorama/api_op_ListPackages.go +++ b/service/panorama/api_op_ListPackages.go @@ -117,9 +117,6 @@ func (c *Client) addOperationListPackagesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPackages(options.Region), middleware.Before); err != nil { return err } diff --git a/service/panorama/api_op_ListTagsForResource.go b/service/panorama/api_op_ListTagsForResource.go index ed2a984a621..498120ce200 100644 --- a/service/panorama/api_op_ListTagsForResource.go +++ b/service/panorama/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_ProvisionDevice.go b/service/panorama/api_op_ProvisionDevice.go index fae8714042b..92e2fc6a59b 100644 --- a/service/panorama/api_op_ProvisionDevice.go +++ b/service/panorama/api_op_ProvisionDevice.go @@ -141,9 +141,6 @@ func (c *Client) addOperationProvisionDeviceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpProvisionDeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_RegisterPackageVersion.go b/service/panorama/api_op_RegisterPackageVersion.go index 0e39154607c..8027fa8b055 100644 --- a/service/panorama/api_op_RegisterPackageVersion.go +++ b/service/panorama/api_op_RegisterPackageVersion.go @@ -123,9 +123,6 @@ func (c *Client) addOperationRegisterPackageVersionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterPackageVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_RemoveApplicationInstance.go b/service/panorama/api_op_RemoveApplicationInstance.go index 108fd1f8975..6761ffa4eb2 100644 --- a/service/panorama/api_op_RemoveApplicationInstance.go +++ b/service/panorama/api_op_RemoveApplicationInstance.go @@ -107,9 +107,6 @@ func (c *Client) addOperationRemoveApplicationInstanceMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveApplicationInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_SignalApplicationInstanceNodeInstances.go b/service/panorama/api_op_SignalApplicationInstanceNodeInstances.go index 0237cc6c427..b61be102f39 100644 --- a/service/panorama/api_op_SignalApplicationInstanceNodeInstances.go +++ b/service/panorama/api_op_SignalApplicationInstanceNodeInstances.go @@ -119,9 +119,6 @@ func (c *Client) addOperationSignalApplicationInstanceNodeInstancesMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSignalApplicationInstanceNodeInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_TagResource.go b/service/panorama/api_op_TagResource.go index 03bd812a367..a9e48b966c4 100644 --- a/service/panorama/api_op_TagResource.go +++ b/service/panorama/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_UntagResource.go b/service/panorama/api_op_UntagResource.go index b5e9a1c7a15..8e959410fd9 100644 --- a/service/panorama/api_op_UntagResource.go +++ b/service/panorama/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/panorama/api_op_UpdateDeviceMetadata.go b/service/panorama/api_op_UpdateDeviceMetadata.go index 73d72fff159..a6e22dc463d 100644 --- a/service/panorama/api_op_UpdateDeviceMetadata.go +++ b/service/panorama/api_op_UpdateDeviceMetadata.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUpdateDeviceMetadataMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDeviceMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/panorama/snapshot/api_op_CreateApplicationInstance.go.snap b/service/panorama/snapshot/api_op_CreateApplicationInstance.go.snap index cf17244c605..c1e0dccc601 100644 --- a/service/panorama/snapshot/api_op_CreateApplicationInstance.go.snap +++ b/service/panorama/snapshot/api_op_CreateApplicationInstance.go.snap @@ -14,7 +14,6 @@ CreateApplicationInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/snapshot/api_op_CreateJobForDevices.go.snap b/service/panorama/snapshot/api_op_CreateJobForDevices.go.snap index 86252005505..1cce8e73a69 100644 --- a/service/panorama/snapshot/api_op_CreateJobForDevices.go.snap +++ b/service/panorama/snapshot/api_op_CreateJobForDevices.go.snap @@ -14,7 +14,6 @@ CreateJobForDevices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/snapshot/api_op_CreateNodeFromTemplateJob.go.snap b/service/panorama/snapshot/api_op_CreateNodeFromTemplateJob.go.snap index 4e87b9460a4..8ba6bf01812 100644 --- a/service/panorama/snapshot/api_op_CreateNodeFromTemplateJob.go.snap +++ b/service/panorama/snapshot/api_op_CreateNodeFromTemplateJob.go.snap @@ -14,7 +14,6 @@ CreateNodeFromTemplateJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/snapshot/api_op_CreatePackage.go.snap b/service/panorama/snapshot/api_op_CreatePackage.go.snap index 7352e284764..c0eee49ef01 100644 --- a/service/panorama/snapshot/api_op_CreatePackage.go.snap +++ b/service/panorama/snapshot/api_op_CreatePackage.go.snap @@ -14,7 +14,6 @@ CreatePackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/snapshot/api_op_CreatePackageImportJob.go.snap b/service/panorama/snapshot/api_op_CreatePackageImportJob.go.snap index dd6f16ef899..412518ad404 100644 --- a/service/panorama/snapshot/api_op_CreatePackageImportJob.go.snap +++ b/service/panorama/snapshot/api_op_CreatePackageImportJob.go.snap @@ -14,7 +14,6 @@ CreatePackageImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/snapshot/api_op_DeleteDevice.go.snap b/service/panorama/snapshot/api_op_DeleteDevice.go.snap index fbbf0961bd0..0da2a0b02c0 100644 --- a/service/panorama/snapshot/api_op_DeleteDevice.go.snap +++ b/service/panorama/snapshot/api_op_DeleteDevice.go.snap @@ -14,7 +14,6 @@ DeleteDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/snapshot/api_op_DeletePackage.go.snap b/service/panorama/snapshot/api_op_DeletePackage.go.snap index dba6b0ad28c..d4bc64169bf 100644 --- a/service/panorama/snapshot/api_op_DeletePackage.go.snap +++ b/service/panorama/snapshot/api_op_DeletePackage.go.snap @@ -14,7 +14,6 @@ DeletePackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/snapshot/api_op_DeregisterPackageVersion.go.snap b/service/panorama/snapshot/api_op_DeregisterPackageVersion.go.snap index 2d577e3cdf9..8d784beb035 100644 --- a/service/panorama/snapshot/api_op_DeregisterPackageVersion.go.snap +++ b/service/panorama/snapshot/api_op_DeregisterPackageVersion.go.snap @@ -14,7 +14,6 @@ DeregisterPackageVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/snapshot/api_op_DescribeApplicationInstance.go.snap b/service/panorama/snapshot/api_op_DescribeApplicationInstance.go.snap index 121c37deeab..e18db51e97a 100644 --- a/service/panorama/snapshot/api_op_DescribeApplicationInstance.go.snap +++ b/service/panorama/snapshot/api_op_DescribeApplicationInstance.go.snap @@ -14,7 +14,6 @@ DescribeApplicationInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/snapshot/api_op_DescribeApplicationInstanceDetails.go.snap b/service/panorama/snapshot/api_op_DescribeApplicationInstanceDetails.go.snap index ac0988a674d..ff6f2c222b2 100644 --- a/service/panorama/snapshot/api_op_DescribeApplicationInstanceDetails.go.snap +++ b/service/panorama/snapshot/api_op_DescribeApplicationInstanceDetails.go.snap @@ -14,7 +14,6 @@ DescribeApplicationInstanceDetails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/snapshot/api_op_DescribeDevice.go.snap b/service/panorama/snapshot/api_op_DescribeDevice.go.snap index 06526f7b2de..84ca571d68f 100644 --- a/service/panorama/snapshot/api_op_DescribeDevice.go.snap +++ b/service/panorama/snapshot/api_op_DescribeDevice.go.snap @@ -14,7 +14,6 @@ DescribeDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/snapshot/api_op_DescribeDeviceJob.go.snap b/service/panorama/snapshot/api_op_DescribeDeviceJob.go.snap index 3800ef5e993..2834051d917 100644 --- a/service/panorama/snapshot/api_op_DescribeDeviceJob.go.snap +++ b/service/panorama/snapshot/api_op_DescribeDeviceJob.go.snap @@ -14,7 +14,6 @@ DescribeDeviceJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/snapshot/api_op_DescribeNode.go.snap b/service/panorama/snapshot/api_op_DescribeNode.go.snap index 6b817cfe616..c5d84a95bd7 100644 --- a/service/panorama/snapshot/api_op_DescribeNode.go.snap +++ b/service/panorama/snapshot/api_op_DescribeNode.go.snap @@ -14,7 +14,6 @@ DescribeNode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/snapshot/api_op_DescribeNodeFromTemplateJob.go.snap b/service/panorama/snapshot/api_op_DescribeNodeFromTemplateJob.go.snap index 1aca2a39e38..80543cf7671 100644 --- a/service/panorama/snapshot/api_op_DescribeNodeFromTemplateJob.go.snap +++ b/service/panorama/snapshot/api_op_DescribeNodeFromTemplateJob.go.snap @@ -14,7 +14,6 @@ DescribeNodeFromTemplateJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/snapshot/api_op_DescribePackage.go.snap b/service/panorama/snapshot/api_op_DescribePackage.go.snap index 2eccacb01d7..bd3a3cf7486 100644 --- a/service/panorama/snapshot/api_op_DescribePackage.go.snap +++ b/service/panorama/snapshot/api_op_DescribePackage.go.snap @@ -14,7 +14,6 @@ DescribePackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/snapshot/api_op_DescribePackageImportJob.go.snap b/service/panorama/snapshot/api_op_DescribePackageImportJob.go.snap index bb10eb66832..3f43324327d 100644 --- a/service/panorama/snapshot/api_op_DescribePackageImportJob.go.snap +++ b/service/panorama/snapshot/api_op_DescribePackageImportJob.go.snap @@ -14,7 +14,6 @@ DescribePackageImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/snapshot/api_op_DescribePackageVersion.go.snap b/service/panorama/snapshot/api_op_DescribePackageVersion.go.snap index 3c514428648..34d1720610c 100644 --- a/service/panorama/snapshot/api_op_DescribePackageVersion.go.snap +++ b/service/panorama/snapshot/api_op_DescribePackageVersion.go.snap @@ -14,7 +14,6 @@ DescribePackageVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/snapshot/api_op_ListApplicationInstanceDependencies.go.snap b/service/panorama/snapshot/api_op_ListApplicationInstanceDependencies.go.snap index 341277327c8..56e0b32922a 100644 --- a/service/panorama/snapshot/api_op_ListApplicationInstanceDependencies.go.snap +++ b/service/panorama/snapshot/api_op_ListApplicationInstanceDependencies.go.snap @@ -14,7 +14,6 @@ ListApplicationInstanceDependencies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/snapshot/api_op_ListApplicationInstanceNodeInstances.go.snap b/service/panorama/snapshot/api_op_ListApplicationInstanceNodeInstances.go.snap index 189e0f8faf8..c67a5b280e6 100644 --- a/service/panorama/snapshot/api_op_ListApplicationInstanceNodeInstances.go.snap +++ b/service/panorama/snapshot/api_op_ListApplicationInstanceNodeInstances.go.snap @@ -14,7 +14,6 @@ ListApplicationInstanceNodeInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/snapshot/api_op_ListApplicationInstances.go.snap b/service/panorama/snapshot/api_op_ListApplicationInstances.go.snap index eaf8e884403..1d98ecae955 100644 --- a/service/panorama/snapshot/api_op_ListApplicationInstances.go.snap +++ b/service/panorama/snapshot/api_op_ListApplicationInstances.go.snap @@ -13,7 +13,6 @@ ListApplicationInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/snapshot/api_op_ListDevices.go.snap b/service/panorama/snapshot/api_op_ListDevices.go.snap index 590c4ca6130..2dca98d8d7a 100644 --- a/service/panorama/snapshot/api_op_ListDevices.go.snap +++ b/service/panorama/snapshot/api_op_ListDevices.go.snap @@ -13,7 +13,6 @@ ListDevices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/snapshot/api_op_ListDevicesJobs.go.snap b/service/panorama/snapshot/api_op_ListDevicesJobs.go.snap index 75c23e06690..356d8df14e5 100644 --- a/service/panorama/snapshot/api_op_ListDevicesJobs.go.snap +++ b/service/panorama/snapshot/api_op_ListDevicesJobs.go.snap @@ -13,7 +13,6 @@ ListDevicesJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/snapshot/api_op_ListNodeFromTemplateJobs.go.snap b/service/panorama/snapshot/api_op_ListNodeFromTemplateJobs.go.snap index da3b67ae39b..656b34023f9 100644 --- a/service/panorama/snapshot/api_op_ListNodeFromTemplateJobs.go.snap +++ b/service/panorama/snapshot/api_op_ListNodeFromTemplateJobs.go.snap @@ -13,7 +13,6 @@ ListNodeFromTemplateJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/snapshot/api_op_ListNodes.go.snap b/service/panorama/snapshot/api_op_ListNodes.go.snap index 9686de646ae..4d9a8281d2b 100644 --- a/service/panorama/snapshot/api_op_ListNodes.go.snap +++ b/service/panorama/snapshot/api_op_ListNodes.go.snap @@ -13,7 +13,6 @@ ListNodes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/snapshot/api_op_ListPackageImportJobs.go.snap b/service/panorama/snapshot/api_op_ListPackageImportJobs.go.snap index ca7385592f2..1020eefce86 100644 --- a/service/panorama/snapshot/api_op_ListPackageImportJobs.go.snap +++ b/service/panorama/snapshot/api_op_ListPackageImportJobs.go.snap @@ -13,7 +13,6 @@ ListPackageImportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/snapshot/api_op_ListPackages.go.snap b/service/panorama/snapshot/api_op_ListPackages.go.snap index b9355fa97c6..409c68d8cca 100644 --- a/service/panorama/snapshot/api_op_ListPackages.go.snap +++ b/service/panorama/snapshot/api_op_ListPackages.go.snap @@ -13,7 +13,6 @@ ListPackages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/snapshot/api_op_ListTagsForResource.go.snap b/service/panorama/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/panorama/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/panorama/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/snapshot/api_op_ProvisionDevice.go.snap b/service/panorama/snapshot/api_op_ProvisionDevice.go.snap index 98983a6a484..2938c0afdf3 100644 --- a/service/panorama/snapshot/api_op_ProvisionDevice.go.snap +++ b/service/panorama/snapshot/api_op_ProvisionDevice.go.snap @@ -14,7 +14,6 @@ ProvisionDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/snapshot/api_op_RegisterPackageVersion.go.snap b/service/panorama/snapshot/api_op_RegisterPackageVersion.go.snap index f4545d41ac9..02546fe0a47 100644 --- a/service/panorama/snapshot/api_op_RegisterPackageVersion.go.snap +++ b/service/panorama/snapshot/api_op_RegisterPackageVersion.go.snap @@ -14,7 +14,6 @@ RegisterPackageVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/snapshot/api_op_RemoveApplicationInstance.go.snap b/service/panorama/snapshot/api_op_RemoveApplicationInstance.go.snap index c6212305a82..a61aefcd5c6 100644 --- a/service/panorama/snapshot/api_op_RemoveApplicationInstance.go.snap +++ b/service/panorama/snapshot/api_op_RemoveApplicationInstance.go.snap @@ -14,7 +14,6 @@ RemoveApplicationInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/snapshot/api_op_SignalApplicationInstanceNodeInstances.go.snap b/service/panorama/snapshot/api_op_SignalApplicationInstanceNodeInstances.go.snap index ec16f188588..f26504da6e6 100644 --- a/service/panorama/snapshot/api_op_SignalApplicationInstanceNodeInstances.go.snap +++ b/service/panorama/snapshot/api_op_SignalApplicationInstanceNodeInstances.go.snap @@ -14,7 +14,6 @@ SignalApplicationInstanceNodeInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/snapshot/api_op_TagResource.go.snap b/service/panorama/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/panorama/snapshot/api_op_TagResource.go.snap +++ b/service/panorama/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/snapshot/api_op_UntagResource.go.snap b/service/panorama/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/panorama/snapshot/api_op_UntagResource.go.snap +++ b/service/panorama/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/panorama/snapshot/api_op_UpdateDeviceMetadata.go.snap b/service/panorama/snapshot/api_op_UpdateDeviceMetadata.go.snap index dfaed3fbd9d..79e68a581dc 100644 --- a/service/panorama/snapshot/api_op_UpdateDeviceMetadata.go.snap +++ b/service/panorama/snapshot/api_op_UpdateDeviceMetadata.go.snap @@ -14,7 +14,6 @@ UpdateDeviceMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/api_client.go b/service/partnercentralselling/api_client.go index d716688021e..10f06ffc57c 100644 --- a/service/partnercentralselling/api_client.go +++ b/service/partnercentralselling/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/partnercentralselling/api_op_AcceptEngagementInvitation.go b/service/partnercentralselling/api_op_AcceptEngagementInvitation.go index 7fd38217f97..4d949428d08 100644 --- a/service/partnercentralselling/api_op_AcceptEngagementInvitation.go +++ b/service/partnercentralselling/api_op_AcceptEngagementInvitation.go @@ -119,9 +119,6 @@ func (c *Client) addOperationAcceptEngagementInvitationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptEngagementInvitationValidationMiddleware(stack); err != nil { return err } diff --git a/service/partnercentralselling/api_op_AssignOpportunity.go b/service/partnercentralselling/api_op_AssignOpportunity.go index ec0bdd9aa6a..a6b4bcd0ac3 100644 --- a/service/partnercentralselling/api_op_AssignOpportunity.go +++ b/service/partnercentralselling/api_op_AssignOpportunity.go @@ -135,9 +135,6 @@ func (c *Client) addOperationAssignOpportunityMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssignOpportunityValidationMiddleware(stack); err != nil { return err } diff --git a/service/partnercentralselling/api_op_AssociateOpportunity.go b/service/partnercentralselling/api_op_AssociateOpportunity.go index b59e7432668..4fd9e5a8491 100644 --- a/service/partnercentralselling/api_op_AssociateOpportunity.go +++ b/service/partnercentralselling/api_op_AssociateOpportunity.go @@ -168,9 +168,6 @@ func (c *Client) addOperationAssociateOpportunityMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateOpportunityValidationMiddleware(stack); err != nil { return err } diff --git a/service/partnercentralselling/api_op_CreateEngagement.go b/service/partnercentralselling/api_op_CreateEngagement.go index 9d217a06e0c..1ceb0441307 100644 --- a/service/partnercentralselling/api_op_CreateEngagement.go +++ b/service/partnercentralselling/api_op_CreateEngagement.go @@ -152,9 +152,6 @@ func (c *Client) addOperationCreateEngagementMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateEngagementMiddleware(stack, options); err != nil { return err } diff --git a/service/partnercentralselling/api_op_CreateEngagementInvitation.go b/service/partnercentralselling/api_op_CreateEngagementInvitation.go index 2ca1137773e..9ef5b7e125d 100644 --- a/service/partnercentralselling/api_op_CreateEngagementInvitation.go +++ b/service/partnercentralselling/api_op_CreateEngagementInvitation.go @@ -145,9 +145,6 @@ func (c *Client) addOperationCreateEngagementInvitationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateEngagementInvitationMiddleware(stack, options); err != nil { return err } diff --git a/service/partnercentralselling/api_op_CreateOpportunity.go b/service/partnercentralselling/api_op_CreateOpportunity.go index 5ffbdb3fdc0..b21407e4f4c 100644 --- a/service/partnercentralselling/api_op_CreateOpportunity.go +++ b/service/partnercentralselling/api_op_CreateOpportunity.go @@ -255,9 +255,6 @@ func (c *Client) addOperationCreateOpportunityMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateOpportunityMiddleware(stack, options); err != nil { return err } diff --git a/service/partnercentralselling/api_op_CreateResourceSnapshot.go b/service/partnercentralselling/api_op_CreateResourceSnapshot.go index 238fb70ab33..30ff9eff151 100644 --- a/service/partnercentralselling/api_op_CreateResourceSnapshot.go +++ b/service/partnercentralselling/api_op_CreateResourceSnapshot.go @@ -157,9 +157,6 @@ func (c *Client) addOperationCreateResourceSnapshotMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateResourceSnapshotMiddleware(stack, options); err != nil { return err } diff --git a/service/partnercentralselling/api_op_CreateResourceSnapshotJob.go b/service/partnercentralselling/api_op_CreateResourceSnapshotJob.go index c0612f55eed..dc73906a62f 100644 --- a/service/partnercentralselling/api_op_CreateResourceSnapshotJob.go +++ b/service/partnercentralselling/api_op_CreateResourceSnapshotJob.go @@ -152,9 +152,6 @@ func (c *Client) addOperationCreateResourceSnapshotJobMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateResourceSnapshotJobMiddleware(stack, options); err != nil { return err } diff --git a/service/partnercentralselling/api_op_DeleteResourceSnapshotJob.go b/service/partnercentralselling/api_op_DeleteResourceSnapshotJob.go index c27eafd9057..957a47acf84 100644 --- a/service/partnercentralselling/api_op_DeleteResourceSnapshotJob.go +++ b/service/partnercentralselling/api_op_DeleteResourceSnapshotJob.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteResourceSnapshotJobMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourceSnapshotJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/partnercentralselling/api_op_DisassociateOpportunity.go b/service/partnercentralselling/api_op_DisassociateOpportunity.go index 66e7f2f1be5..559d0cb3453 100644 --- a/service/partnercentralselling/api_op_DisassociateOpportunity.go +++ b/service/partnercentralselling/api_op_DisassociateOpportunity.go @@ -165,9 +165,6 @@ func (c *Client) addOperationDisassociateOpportunityMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateOpportunityValidationMiddleware(stack); err != nil { return err } diff --git a/service/partnercentralselling/api_op_GetAwsOpportunitySummary.go b/service/partnercentralselling/api_op_GetAwsOpportunitySummary.go index 7878c04d19e..ccf41ed73ca 100644 --- a/service/partnercentralselling/api_op_GetAwsOpportunitySummary.go +++ b/service/partnercentralselling/api_op_GetAwsOpportunitySummary.go @@ -181,9 +181,6 @@ func (c *Client) addOperationGetAwsOpportunitySummaryMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAwsOpportunitySummaryValidationMiddleware(stack); err != nil { return err } diff --git a/service/partnercentralselling/api_op_GetEngagement.go b/service/partnercentralselling/api_op_GetEngagement.go index 52d490ba073..73bc2e334ea 100644 --- a/service/partnercentralselling/api_op_GetEngagement.go +++ b/service/partnercentralselling/api_op_GetEngagement.go @@ -150,9 +150,6 @@ func (c *Client) addOperationGetEngagementMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEngagementValidationMiddleware(stack); err != nil { return err } diff --git a/service/partnercentralselling/api_op_GetEngagementInvitation.go b/service/partnercentralselling/api_op_GetEngagementInvitation.go index eeaf87d19b7..acee642650b 100644 --- a/service/partnercentralselling/api_op_GetEngagementInvitation.go +++ b/service/partnercentralselling/api_op_GetEngagementInvitation.go @@ -192,9 +192,6 @@ func (c *Client) addOperationGetEngagementInvitationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEngagementInvitationValidationMiddleware(stack); err != nil { return err } diff --git a/service/partnercentralselling/api_op_GetOpportunity.go b/service/partnercentralselling/api_op_GetOpportunity.go index f7664fdc605..1dd668234bb 100644 --- a/service/partnercentralselling/api_op_GetOpportunity.go +++ b/service/partnercentralselling/api_op_GetOpportunity.go @@ -237,9 +237,6 @@ func (c *Client) addOperationGetOpportunityMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetOpportunityValidationMiddleware(stack); err != nil { return err } diff --git a/service/partnercentralselling/api_op_GetResourceSnapshot.go b/service/partnercentralselling/api_op_GetResourceSnapshot.go index ac352bd52c4..289cfffd5ca 100644 --- a/service/partnercentralselling/api_op_GetResourceSnapshot.go +++ b/service/partnercentralselling/api_op_GetResourceSnapshot.go @@ -190,9 +190,6 @@ func (c *Client) addOperationGetResourceSnapshotMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourceSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/partnercentralselling/api_op_GetResourceSnapshotJob.go b/service/partnercentralselling/api_op_GetResourceSnapshotJob.go index 75c1a8c83b2..50ad0f06a31 100644 --- a/service/partnercentralselling/api_op_GetResourceSnapshotJob.go +++ b/service/partnercentralselling/api_op_GetResourceSnapshotJob.go @@ -175,9 +175,6 @@ func (c *Client) addOperationGetResourceSnapshotJobMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourceSnapshotJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/partnercentralselling/api_op_GetSellingSystemSettings.go b/service/partnercentralselling/api_op_GetSellingSystemSettings.go index bd3469c5791..e6bbf166536 100644 --- a/service/partnercentralselling/api_op_GetSellingSystemSettings.go +++ b/service/partnercentralselling/api_op_GetSellingSystemSettings.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetSellingSystemSettingsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSellingSystemSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/partnercentralselling/api_op_ListEngagementByAcceptingInvitationTasks.go b/service/partnercentralselling/api_op_ListEngagementByAcceptingInvitationTasks.go index 8cb2b00f8a4..929f6c5a89d 100644 --- a/service/partnercentralselling/api_op_ListEngagementByAcceptingInvitationTasks.go +++ b/service/partnercentralselling/api_op_ListEngagementByAcceptingInvitationTasks.go @@ -157,9 +157,6 @@ func (c *Client) addOperationListEngagementByAcceptingInvitationTasksMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEngagementByAcceptingInvitationTasksValidationMiddleware(stack); err != nil { return err } diff --git a/service/partnercentralselling/api_op_ListEngagementFromOpportunityTasks.go b/service/partnercentralselling/api_op_ListEngagementFromOpportunityTasks.go index 17461b68d23..6f63213497c 100644 --- a/service/partnercentralselling/api_op_ListEngagementFromOpportunityTasks.go +++ b/service/partnercentralselling/api_op_ListEngagementFromOpportunityTasks.go @@ -156,9 +156,6 @@ func (c *Client) addOperationListEngagementFromOpportunityTasksMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEngagementFromOpportunityTasksValidationMiddleware(stack); err != nil { return err } diff --git a/service/partnercentralselling/api_op_ListEngagementInvitations.go b/service/partnercentralselling/api_op_ListEngagementInvitations.go index 6fff9b3fdc1..e188ec0aeb0 100644 --- a/service/partnercentralselling/api_op_ListEngagementInvitations.go +++ b/service/partnercentralselling/api_op_ListEngagementInvitations.go @@ -160,9 +160,6 @@ func (c *Client) addOperationListEngagementInvitationsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEngagementInvitationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/partnercentralselling/api_op_ListEngagementMembers.go b/service/partnercentralselling/api_op_ListEngagementMembers.go index 876e8d943cd..444124d8760 100644 --- a/service/partnercentralselling/api_op_ListEngagementMembers.go +++ b/service/partnercentralselling/api_op_ListEngagementMembers.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListEngagementMembersMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEngagementMembersValidationMiddleware(stack); err != nil { return err } diff --git a/service/partnercentralselling/api_op_ListEngagementResourceAssociations.go b/service/partnercentralselling/api_op_ListEngagementResourceAssociations.go index 47e1e41cf95..709a9760bdd 100644 --- a/service/partnercentralselling/api_op_ListEngagementResourceAssociations.go +++ b/service/partnercentralselling/api_op_ListEngagementResourceAssociations.go @@ -151,9 +151,6 @@ func (c *Client) addOperationListEngagementResourceAssociationsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEngagementResourceAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/partnercentralselling/api_op_ListEngagements.go b/service/partnercentralselling/api_op_ListEngagements.go index 284c76cec0f..2abb9f97472 100644 --- a/service/partnercentralselling/api_op_ListEngagements.go +++ b/service/partnercentralselling/api_op_ListEngagements.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListEngagementsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEngagementsValidationMiddleware(stack); err != nil { return err } diff --git a/service/partnercentralselling/api_op_ListOpportunities.go b/service/partnercentralselling/api_op_ListOpportunities.go index 9d7677f5809..f1937c844b8 100644 --- a/service/partnercentralselling/api_op_ListOpportunities.go +++ b/service/partnercentralselling/api_op_ListOpportunities.go @@ -185,9 +185,6 @@ func (c *Client) addOperationListOpportunitiesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListOpportunitiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/partnercentralselling/api_op_ListResourceSnapshotJobs.go b/service/partnercentralselling/api_op_ListResourceSnapshotJobs.go index ed70f78f534..a3c4e7a4ad9 100644 --- a/service/partnercentralselling/api_op_ListResourceSnapshotJobs.go +++ b/service/partnercentralselling/api_op_ListResourceSnapshotJobs.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListResourceSnapshotJobsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListResourceSnapshotJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/partnercentralselling/api_op_ListResourceSnapshots.go b/service/partnercentralselling/api_op_ListResourceSnapshots.go index f757249ce63..3ebe0d74aca 100644 --- a/service/partnercentralselling/api_op_ListResourceSnapshots.go +++ b/service/partnercentralselling/api_op_ListResourceSnapshots.go @@ -154,9 +154,6 @@ func (c *Client) addOperationListResourceSnapshotsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListResourceSnapshotsValidationMiddleware(stack); err != nil { return err } diff --git a/service/partnercentralselling/api_op_ListSolutions.go b/service/partnercentralselling/api_op_ListSolutions.go index f58f63c8f74..1beffc19cc6 100644 --- a/service/partnercentralselling/api_op_ListSolutions.go +++ b/service/partnercentralselling/api_op_ListSolutions.go @@ -154,9 +154,6 @@ func (c *Client) addOperationListSolutionsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSolutionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/partnercentralselling/api_op_ListTagsForResource.go b/service/partnercentralselling/api_op_ListTagsForResource.go index 446aeabe9bf..91c9e290fe6 100644 --- a/service/partnercentralselling/api_op_ListTagsForResource.go +++ b/service/partnercentralselling/api_op_ListTagsForResource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/partnercentralselling/api_op_PutSellingSystemSettings.go b/service/partnercentralselling/api_op_PutSellingSystemSettings.go index 583314f3f3c..600db2e85f7 100644 --- a/service/partnercentralselling/api_op_PutSellingSystemSettings.go +++ b/service/partnercentralselling/api_op_PutSellingSystemSettings.go @@ -122,9 +122,6 @@ func (c *Client) addOperationPutSellingSystemSettingsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutSellingSystemSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/partnercentralselling/api_op_RejectEngagementInvitation.go b/service/partnercentralselling/api_op_RejectEngagementInvitation.go index 519cef7a4a5..003dce4e62a 100644 --- a/service/partnercentralselling/api_op_RejectEngagementInvitation.go +++ b/service/partnercentralselling/api_op_RejectEngagementInvitation.go @@ -133,9 +133,6 @@ func (c *Client) addOperationRejectEngagementInvitationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRejectEngagementInvitationValidationMiddleware(stack); err != nil { return err } diff --git a/service/partnercentralselling/api_op_StartEngagementByAcceptingInvitationTask.go b/service/partnercentralselling/api_op_StartEngagementByAcceptingInvitationTask.go index e5c14174fe3..e023159f577 100644 --- a/service/partnercentralselling/api_op_StartEngagementByAcceptingInvitationTask.go +++ b/service/partnercentralselling/api_op_StartEngagementByAcceptingInvitationTask.go @@ -165,9 +165,6 @@ func (c *Client) addOperationStartEngagementByAcceptingInvitationTaskMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartEngagementByAcceptingInvitationTaskMiddleware(stack, options); err != nil { return err } diff --git a/service/partnercentralselling/api_op_StartEngagementFromOpportunityTask.go b/service/partnercentralselling/api_op_StartEngagementFromOpportunityTask.go index 1663f9e9420..4d52f9ec9d9 100644 --- a/service/partnercentralselling/api_op_StartEngagementFromOpportunityTask.go +++ b/service/partnercentralselling/api_op_StartEngagementFromOpportunityTask.go @@ -176,9 +176,6 @@ func (c *Client) addOperationStartEngagementFromOpportunityTaskMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartEngagementFromOpportunityTaskMiddleware(stack, options); err != nil { return err } diff --git a/service/partnercentralselling/api_op_StartResourceSnapshotJob.go b/service/partnercentralselling/api_op_StartResourceSnapshotJob.go index d95ae576c2d..d4c908ee7d5 100644 --- a/service/partnercentralselling/api_op_StartResourceSnapshotJob.go +++ b/service/partnercentralselling/api_op_StartResourceSnapshotJob.go @@ -117,9 +117,6 @@ func (c *Client) addOperationStartResourceSnapshotJobMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartResourceSnapshotJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/partnercentralselling/api_op_StopResourceSnapshotJob.go b/service/partnercentralselling/api_op_StopResourceSnapshotJob.go index 321dd444668..f89c04978c3 100644 --- a/service/partnercentralselling/api_op_StopResourceSnapshotJob.go +++ b/service/partnercentralselling/api_op_StopResourceSnapshotJob.go @@ -117,9 +117,6 @@ func (c *Client) addOperationStopResourceSnapshotJobMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopResourceSnapshotJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/partnercentralselling/api_op_SubmitOpportunity.go b/service/partnercentralselling/api_op_SubmitOpportunity.go index 34744ec4d10..f2d32a7c4b1 100644 --- a/service/partnercentralselling/api_op_SubmitOpportunity.go +++ b/service/partnercentralselling/api_op_SubmitOpportunity.go @@ -143,9 +143,6 @@ func (c *Client) addOperationSubmitOpportunityMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSubmitOpportunityValidationMiddleware(stack); err != nil { return err } diff --git a/service/partnercentralselling/api_op_TagResource.go b/service/partnercentralselling/api_op_TagResource.go index 811a38e42ac..f541460023f 100644 --- a/service/partnercentralselling/api_op_TagResource.go +++ b/service/partnercentralselling/api_op_TagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/partnercentralselling/api_op_UntagResource.go b/service/partnercentralselling/api_op_UntagResource.go index 795b632fcfc..2f5b86f7b8f 100644 --- a/service/partnercentralselling/api_op_UntagResource.go +++ b/service/partnercentralselling/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/partnercentralselling/api_op_UpdateOpportunity.go b/service/partnercentralselling/api_op_UpdateOpportunity.go index 82c51453a2c..1bed22e2b4e 100644 --- a/service/partnercentralselling/api_op_UpdateOpportunity.go +++ b/service/partnercentralselling/api_op_UpdateOpportunity.go @@ -221,9 +221,6 @@ func (c *Client) addOperationUpdateOpportunityMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateOpportunityValidationMiddleware(stack); err != nil { return err } diff --git a/service/partnercentralselling/snapshot/api_op_AcceptEngagementInvitation.go.snap b/service/partnercentralselling/snapshot/api_op_AcceptEngagementInvitation.go.snap index 159ea9252af..45d75c025d4 100644 --- a/service/partnercentralselling/snapshot/api_op_AcceptEngagementInvitation.go.snap +++ b/service/partnercentralselling/snapshot/api_op_AcceptEngagementInvitation.go.snap @@ -14,7 +14,6 @@ AcceptEngagementInvitation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_AssignOpportunity.go.snap b/service/partnercentralselling/snapshot/api_op_AssignOpportunity.go.snap index 38657dfbb4f..443f5046a0e 100644 --- a/service/partnercentralselling/snapshot/api_op_AssignOpportunity.go.snap +++ b/service/partnercentralselling/snapshot/api_op_AssignOpportunity.go.snap @@ -14,7 +14,6 @@ AssignOpportunity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_AssociateOpportunity.go.snap b/service/partnercentralselling/snapshot/api_op_AssociateOpportunity.go.snap index ee2120a8101..d0bf1ae2d3b 100644 --- a/service/partnercentralselling/snapshot/api_op_AssociateOpportunity.go.snap +++ b/service/partnercentralselling/snapshot/api_op_AssociateOpportunity.go.snap @@ -14,7 +14,6 @@ AssociateOpportunity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_CreateEngagement.go.snap b/service/partnercentralselling/snapshot/api_op_CreateEngagement.go.snap index ff6bd0c9065..6a7c13c53d1 100644 --- a/service/partnercentralselling/snapshot/api_op_CreateEngagement.go.snap +++ b/service/partnercentralselling/snapshot/api_op_CreateEngagement.go.snap @@ -15,7 +15,6 @@ CreateEngagement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_CreateEngagementInvitation.go.snap b/service/partnercentralselling/snapshot/api_op_CreateEngagementInvitation.go.snap index 3d336077b85..d1944cde2fa 100644 --- a/service/partnercentralselling/snapshot/api_op_CreateEngagementInvitation.go.snap +++ b/service/partnercentralselling/snapshot/api_op_CreateEngagementInvitation.go.snap @@ -15,7 +15,6 @@ CreateEngagementInvitation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_CreateOpportunity.go.snap b/service/partnercentralselling/snapshot/api_op_CreateOpportunity.go.snap index 842a6945183..37f3f732757 100644 --- a/service/partnercentralselling/snapshot/api_op_CreateOpportunity.go.snap +++ b/service/partnercentralselling/snapshot/api_op_CreateOpportunity.go.snap @@ -15,7 +15,6 @@ CreateOpportunity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_CreateResourceSnapshot.go.snap b/service/partnercentralselling/snapshot/api_op_CreateResourceSnapshot.go.snap index ff36a0ec3c6..25aaa0e8f07 100644 --- a/service/partnercentralselling/snapshot/api_op_CreateResourceSnapshot.go.snap +++ b/service/partnercentralselling/snapshot/api_op_CreateResourceSnapshot.go.snap @@ -15,7 +15,6 @@ CreateResourceSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_CreateResourceSnapshotJob.go.snap b/service/partnercentralselling/snapshot/api_op_CreateResourceSnapshotJob.go.snap index ca407c043a1..faa0b298c13 100644 --- a/service/partnercentralselling/snapshot/api_op_CreateResourceSnapshotJob.go.snap +++ b/service/partnercentralselling/snapshot/api_op_CreateResourceSnapshotJob.go.snap @@ -15,7 +15,6 @@ CreateResourceSnapshotJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_DeleteResourceSnapshotJob.go.snap b/service/partnercentralselling/snapshot/api_op_DeleteResourceSnapshotJob.go.snap index d07c7374e8e..0f6bde8545b 100644 --- a/service/partnercentralselling/snapshot/api_op_DeleteResourceSnapshotJob.go.snap +++ b/service/partnercentralselling/snapshot/api_op_DeleteResourceSnapshotJob.go.snap @@ -14,7 +14,6 @@ DeleteResourceSnapshotJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_DisassociateOpportunity.go.snap b/service/partnercentralselling/snapshot/api_op_DisassociateOpportunity.go.snap index c10208216c7..b9b178ec39f 100644 --- a/service/partnercentralselling/snapshot/api_op_DisassociateOpportunity.go.snap +++ b/service/partnercentralselling/snapshot/api_op_DisassociateOpportunity.go.snap @@ -14,7 +14,6 @@ DisassociateOpportunity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_GetAwsOpportunitySummary.go.snap b/service/partnercentralselling/snapshot/api_op_GetAwsOpportunitySummary.go.snap index b433a7c2456..8acdfc4f12d 100644 --- a/service/partnercentralselling/snapshot/api_op_GetAwsOpportunitySummary.go.snap +++ b/service/partnercentralselling/snapshot/api_op_GetAwsOpportunitySummary.go.snap @@ -14,7 +14,6 @@ GetAwsOpportunitySummary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_GetEngagement.go.snap b/service/partnercentralselling/snapshot/api_op_GetEngagement.go.snap index 17e607650d1..3ad82d9a9a7 100644 --- a/service/partnercentralselling/snapshot/api_op_GetEngagement.go.snap +++ b/service/partnercentralselling/snapshot/api_op_GetEngagement.go.snap @@ -14,7 +14,6 @@ GetEngagement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_GetEngagementInvitation.go.snap b/service/partnercentralselling/snapshot/api_op_GetEngagementInvitation.go.snap index 151d857ff04..35b603e97c3 100644 --- a/service/partnercentralselling/snapshot/api_op_GetEngagementInvitation.go.snap +++ b/service/partnercentralselling/snapshot/api_op_GetEngagementInvitation.go.snap @@ -14,7 +14,6 @@ GetEngagementInvitation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_GetOpportunity.go.snap b/service/partnercentralselling/snapshot/api_op_GetOpportunity.go.snap index 7a81ac3434b..6afe5cf488e 100644 --- a/service/partnercentralselling/snapshot/api_op_GetOpportunity.go.snap +++ b/service/partnercentralselling/snapshot/api_op_GetOpportunity.go.snap @@ -14,7 +14,6 @@ GetOpportunity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_GetResourceSnapshot.go.snap b/service/partnercentralselling/snapshot/api_op_GetResourceSnapshot.go.snap index c05195ca238..0c1f30aef6e 100644 --- a/service/partnercentralselling/snapshot/api_op_GetResourceSnapshot.go.snap +++ b/service/partnercentralselling/snapshot/api_op_GetResourceSnapshot.go.snap @@ -14,7 +14,6 @@ GetResourceSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_GetResourceSnapshotJob.go.snap b/service/partnercentralselling/snapshot/api_op_GetResourceSnapshotJob.go.snap index 696252f051a..93df61c7ec6 100644 --- a/service/partnercentralselling/snapshot/api_op_GetResourceSnapshotJob.go.snap +++ b/service/partnercentralselling/snapshot/api_op_GetResourceSnapshotJob.go.snap @@ -14,7 +14,6 @@ GetResourceSnapshotJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_GetSellingSystemSettings.go.snap b/service/partnercentralselling/snapshot/api_op_GetSellingSystemSettings.go.snap index b5ba6ade06e..ff220a940d4 100644 --- a/service/partnercentralselling/snapshot/api_op_GetSellingSystemSettings.go.snap +++ b/service/partnercentralselling/snapshot/api_op_GetSellingSystemSettings.go.snap @@ -14,7 +14,6 @@ GetSellingSystemSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_ListEngagementByAcceptingInvitationTasks.go.snap b/service/partnercentralselling/snapshot/api_op_ListEngagementByAcceptingInvitationTasks.go.snap index 6c124899ee9..6b4da3ebcd1 100644 --- a/service/partnercentralselling/snapshot/api_op_ListEngagementByAcceptingInvitationTasks.go.snap +++ b/service/partnercentralselling/snapshot/api_op_ListEngagementByAcceptingInvitationTasks.go.snap @@ -14,7 +14,6 @@ ListEngagementByAcceptingInvitationTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_ListEngagementFromOpportunityTasks.go.snap b/service/partnercentralselling/snapshot/api_op_ListEngagementFromOpportunityTasks.go.snap index 9ad101fec37..f78c361f830 100644 --- a/service/partnercentralselling/snapshot/api_op_ListEngagementFromOpportunityTasks.go.snap +++ b/service/partnercentralselling/snapshot/api_op_ListEngagementFromOpportunityTasks.go.snap @@ -14,7 +14,6 @@ ListEngagementFromOpportunityTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_ListEngagementInvitations.go.snap b/service/partnercentralselling/snapshot/api_op_ListEngagementInvitations.go.snap index dd1cdba63a5..e1d21b1214f 100644 --- a/service/partnercentralselling/snapshot/api_op_ListEngagementInvitations.go.snap +++ b/service/partnercentralselling/snapshot/api_op_ListEngagementInvitations.go.snap @@ -14,7 +14,6 @@ ListEngagementInvitations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_ListEngagementMembers.go.snap b/service/partnercentralselling/snapshot/api_op_ListEngagementMembers.go.snap index 6d0b6205226..83154af6170 100644 --- a/service/partnercentralselling/snapshot/api_op_ListEngagementMembers.go.snap +++ b/service/partnercentralselling/snapshot/api_op_ListEngagementMembers.go.snap @@ -14,7 +14,6 @@ ListEngagementMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_ListEngagementResourceAssociations.go.snap b/service/partnercentralselling/snapshot/api_op_ListEngagementResourceAssociations.go.snap index d38e3f3f23c..fa9024fe5e7 100644 --- a/service/partnercentralselling/snapshot/api_op_ListEngagementResourceAssociations.go.snap +++ b/service/partnercentralselling/snapshot/api_op_ListEngagementResourceAssociations.go.snap @@ -14,7 +14,6 @@ ListEngagementResourceAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_ListEngagements.go.snap b/service/partnercentralselling/snapshot/api_op_ListEngagements.go.snap index 156b971338b..a0f2c3bc85d 100644 --- a/service/partnercentralselling/snapshot/api_op_ListEngagements.go.snap +++ b/service/partnercentralselling/snapshot/api_op_ListEngagements.go.snap @@ -14,7 +14,6 @@ ListEngagements Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_ListOpportunities.go.snap b/service/partnercentralselling/snapshot/api_op_ListOpportunities.go.snap index 7e953d9803c..da91d6ee820 100644 --- a/service/partnercentralselling/snapshot/api_op_ListOpportunities.go.snap +++ b/service/partnercentralselling/snapshot/api_op_ListOpportunities.go.snap @@ -14,7 +14,6 @@ ListOpportunities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_ListResourceSnapshotJobs.go.snap b/service/partnercentralselling/snapshot/api_op_ListResourceSnapshotJobs.go.snap index d8dd5c91c15..d629b25e840 100644 --- a/service/partnercentralselling/snapshot/api_op_ListResourceSnapshotJobs.go.snap +++ b/service/partnercentralselling/snapshot/api_op_ListResourceSnapshotJobs.go.snap @@ -14,7 +14,6 @@ ListResourceSnapshotJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_ListResourceSnapshots.go.snap b/service/partnercentralselling/snapshot/api_op_ListResourceSnapshots.go.snap index 00c2aa9927b..5771928bc1e 100644 --- a/service/partnercentralselling/snapshot/api_op_ListResourceSnapshots.go.snap +++ b/service/partnercentralselling/snapshot/api_op_ListResourceSnapshots.go.snap @@ -14,7 +14,6 @@ ListResourceSnapshots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_ListSolutions.go.snap b/service/partnercentralselling/snapshot/api_op_ListSolutions.go.snap index 2ceb516cbb2..54a1b697deb 100644 --- a/service/partnercentralselling/snapshot/api_op_ListSolutions.go.snap +++ b/service/partnercentralselling/snapshot/api_op_ListSolutions.go.snap @@ -14,7 +14,6 @@ ListSolutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_ListTagsForResource.go.snap b/service/partnercentralselling/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/partnercentralselling/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/partnercentralselling/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_PutSellingSystemSettings.go.snap b/service/partnercentralselling/snapshot/api_op_PutSellingSystemSettings.go.snap index ff7beb298aa..6f62e0e1003 100644 --- a/service/partnercentralselling/snapshot/api_op_PutSellingSystemSettings.go.snap +++ b/service/partnercentralselling/snapshot/api_op_PutSellingSystemSettings.go.snap @@ -14,7 +14,6 @@ PutSellingSystemSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_RejectEngagementInvitation.go.snap b/service/partnercentralselling/snapshot/api_op_RejectEngagementInvitation.go.snap index 04b66fbe817..0441a0ae1cd 100644 --- a/service/partnercentralselling/snapshot/api_op_RejectEngagementInvitation.go.snap +++ b/service/partnercentralselling/snapshot/api_op_RejectEngagementInvitation.go.snap @@ -14,7 +14,6 @@ RejectEngagementInvitation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_StartEngagementByAcceptingInvitationTask.go.snap b/service/partnercentralselling/snapshot/api_op_StartEngagementByAcceptingInvitationTask.go.snap index 3200ae03f66..61bc9e43275 100644 --- a/service/partnercentralselling/snapshot/api_op_StartEngagementByAcceptingInvitationTask.go.snap +++ b/service/partnercentralselling/snapshot/api_op_StartEngagementByAcceptingInvitationTask.go.snap @@ -15,7 +15,6 @@ StartEngagementByAcceptingInvitationTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_StartEngagementFromOpportunityTask.go.snap b/service/partnercentralselling/snapshot/api_op_StartEngagementFromOpportunityTask.go.snap index 469959b1354..43fa2979b4f 100644 --- a/service/partnercentralselling/snapshot/api_op_StartEngagementFromOpportunityTask.go.snap +++ b/service/partnercentralselling/snapshot/api_op_StartEngagementFromOpportunityTask.go.snap @@ -15,7 +15,6 @@ StartEngagementFromOpportunityTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_StartResourceSnapshotJob.go.snap b/service/partnercentralselling/snapshot/api_op_StartResourceSnapshotJob.go.snap index 908139bc2b3..c0c2ea62835 100644 --- a/service/partnercentralselling/snapshot/api_op_StartResourceSnapshotJob.go.snap +++ b/service/partnercentralselling/snapshot/api_op_StartResourceSnapshotJob.go.snap @@ -14,7 +14,6 @@ StartResourceSnapshotJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_StopResourceSnapshotJob.go.snap b/service/partnercentralselling/snapshot/api_op_StopResourceSnapshotJob.go.snap index f68911595a9..c926abd70b6 100644 --- a/service/partnercentralselling/snapshot/api_op_StopResourceSnapshotJob.go.snap +++ b/service/partnercentralselling/snapshot/api_op_StopResourceSnapshotJob.go.snap @@ -14,7 +14,6 @@ StopResourceSnapshotJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_SubmitOpportunity.go.snap b/service/partnercentralselling/snapshot/api_op_SubmitOpportunity.go.snap index a9216c90ea1..76332f43356 100644 --- a/service/partnercentralselling/snapshot/api_op_SubmitOpportunity.go.snap +++ b/service/partnercentralselling/snapshot/api_op_SubmitOpportunity.go.snap @@ -14,7 +14,6 @@ SubmitOpportunity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_TagResource.go.snap b/service/partnercentralselling/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/partnercentralselling/snapshot/api_op_TagResource.go.snap +++ b/service/partnercentralselling/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_UntagResource.go.snap b/service/partnercentralselling/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/partnercentralselling/snapshot/api_op_UntagResource.go.snap +++ b/service/partnercentralselling/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/partnercentralselling/snapshot/api_op_UpdateOpportunity.go.snap b/service/partnercentralselling/snapshot/api_op_UpdateOpportunity.go.snap index e1743a94782..3af79874a8d 100644 --- a/service/partnercentralselling/snapshot/api_op_UpdateOpportunity.go.snap +++ b/service/partnercentralselling/snapshot/api_op_UpdateOpportunity.go.snap @@ -14,7 +14,6 @@ UpdateOpportunity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/paymentcryptography/api_client.go b/service/paymentcryptography/api_client.go index d2d00a7f9d5..7765cccd46a 100644 --- a/service/paymentcryptography/api_client.go +++ b/service/paymentcryptography/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/paymentcryptography/api_op_CreateAlias.go b/service/paymentcryptography/api_op_CreateAlias.go index ec159b7cc69..73f7363ad69 100644 --- a/service/paymentcryptography/api_op_CreateAlias.go +++ b/service/paymentcryptography/api_op_CreateAlias.go @@ -154,9 +154,6 @@ func (c *Client) addOperationCreateAliasMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/paymentcryptography/api_op_CreateKey.go b/service/paymentcryptography/api_op_CreateKey.go index 3a3d27182b5..2a398cd347b 100644 --- a/service/paymentcryptography/api_op_CreateKey.go +++ b/service/paymentcryptography/api_op_CreateKey.go @@ -191,9 +191,6 @@ func (c *Client) addOperationCreateKeyMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/paymentcryptography/api_op_DeleteAlias.go b/service/paymentcryptography/api_op_DeleteAlias.go index f045f0c68e5..b399eba991e 100644 --- a/service/paymentcryptography/api_op_DeleteAlias.go +++ b/service/paymentcryptography/api_op_DeleteAlias.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDeleteAliasMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/paymentcryptography/api_op_DeleteKey.go b/service/paymentcryptography/api_op_DeleteKey.go index b00c4a69502..954b136efc8 100644 --- a/service/paymentcryptography/api_op_DeleteKey.go +++ b/service/paymentcryptography/api_op_DeleteKey.go @@ -148,9 +148,6 @@ func (c *Client) addOperationDeleteKeyMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/paymentcryptography/api_op_ExportKey.go b/service/paymentcryptography/api_op_ExportKey.go index e5e114b6629..cacf85aa147 100644 --- a/service/paymentcryptography/api_op_ExportKey.go +++ b/service/paymentcryptography/api_op_ExportKey.go @@ -281,9 +281,6 @@ func (c *Client) addOperationExportKeyMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExportKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/paymentcryptography/api_op_GetAlias.go b/service/paymentcryptography/api_op_GetAlias.go index 3fcd6855758..7424b10a2e9 100644 --- a/service/paymentcryptography/api_op_GetAlias.go +++ b/service/paymentcryptography/api_op_GetAlias.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetAliasMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/paymentcryptography/api_op_GetKey.go b/service/paymentcryptography/api_op_GetKey.go index 10ad0b35dae..c5a56420c00 100644 --- a/service/paymentcryptography/api_op_GetKey.go +++ b/service/paymentcryptography/api_op_GetKey.go @@ -130,9 +130,6 @@ func (c *Client) addOperationGetKeyMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/paymentcryptography/api_op_GetParametersForExport.go b/service/paymentcryptography/api_op_GetParametersForExport.go index 32fa8a1f089..8e3bca85e5a 100644 --- a/service/paymentcryptography/api_op_GetParametersForExport.go +++ b/service/paymentcryptography/api_op_GetParametersForExport.go @@ -167,9 +167,6 @@ func (c *Client) addOperationGetParametersForExportMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetParametersForExportValidationMiddleware(stack); err != nil { return err } diff --git a/service/paymentcryptography/api_op_GetParametersForImport.go b/service/paymentcryptography/api_op_GetParametersForImport.go index f784616791c..47a37a95ce2 100644 --- a/service/paymentcryptography/api_op_GetParametersForImport.go +++ b/service/paymentcryptography/api_op_GetParametersForImport.go @@ -174,9 +174,6 @@ func (c *Client) addOperationGetParametersForImportMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetParametersForImportValidationMiddleware(stack); err != nil { return err } diff --git a/service/paymentcryptography/api_op_GetPublicKeyCertificate.go b/service/paymentcryptography/api_op_GetPublicKeyCertificate.go index 80a5ced5932..ec79e449870 100644 --- a/service/paymentcryptography/api_op_GetPublicKeyCertificate.go +++ b/service/paymentcryptography/api_op_GetPublicKeyCertificate.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetPublicKeyCertificateMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPublicKeyCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/paymentcryptography/api_op_ImportKey.go b/service/paymentcryptography/api_op_ImportKey.go index a8d55dd0d47..e627bb0c98f 100644 --- a/service/paymentcryptography/api_op_ImportKey.go +++ b/service/paymentcryptography/api_op_ImportKey.go @@ -309,9 +309,6 @@ func (c *Client) addOperationImportKeyMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/paymentcryptography/api_op_ListAliases.go b/service/paymentcryptography/api_op_ListAliases.go index ddbab776a64..fcbb245873f 100644 --- a/service/paymentcryptography/api_op_ListAliases.go +++ b/service/paymentcryptography/api_op_ListAliases.go @@ -157,9 +157,6 @@ func (c *Client) addOperationListAliasesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAliases(options.Region), middleware.Before); err != nil { return err } diff --git a/service/paymentcryptography/api_op_ListKeys.go b/service/paymentcryptography/api_op_ListKeys.go index 97d464c745c..f657975d894 100644 --- a/service/paymentcryptography/api_op_ListKeys.go +++ b/service/paymentcryptography/api_op_ListKeys.go @@ -152,9 +152,6 @@ func (c *Client) addOperationListKeysMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListKeys(options.Region), middleware.Before); err != nil { return err } diff --git a/service/paymentcryptography/api_op_ListTagsForResource.go b/service/paymentcryptography/api_op_ListTagsForResource.go index ae21e7bd47c..03c39ea499b 100644 --- a/service/paymentcryptography/api_op_ListTagsForResource.go +++ b/service/paymentcryptography/api_op_ListTagsForResource.go @@ -151,9 +151,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/paymentcryptography/api_op_RestoreKey.go b/service/paymentcryptography/api_op_RestoreKey.go index 913e2f889fb..e79c20db5dd 100644 --- a/service/paymentcryptography/api_op_RestoreKey.go +++ b/service/paymentcryptography/api_op_RestoreKey.go @@ -137,9 +137,6 @@ func (c *Client) addOperationRestoreKeyMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/paymentcryptography/api_op_StartKeyUsage.go b/service/paymentcryptography/api_op_StartKeyUsage.go index 8af0b9f2ba1..507bd9b7273 100644 --- a/service/paymentcryptography/api_op_StartKeyUsage.go +++ b/service/paymentcryptography/api_op_StartKeyUsage.go @@ -125,9 +125,6 @@ func (c *Client) addOperationStartKeyUsageMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartKeyUsageValidationMiddleware(stack); err != nil { return err } diff --git a/service/paymentcryptography/api_op_StopKeyUsage.go b/service/paymentcryptography/api_op_StopKeyUsage.go index 4ae27ec98b4..e078424eb97 100644 --- a/service/paymentcryptography/api_op_StopKeyUsage.go +++ b/service/paymentcryptography/api_op_StopKeyUsage.go @@ -130,9 +130,6 @@ func (c *Client) addOperationStopKeyUsageMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopKeyUsageValidationMiddleware(stack); err != nil { return err } diff --git a/service/paymentcryptography/api_op_TagResource.go b/service/paymentcryptography/api_op_TagResource.go index e1357e4bfca..db71bfebf8f 100644 --- a/service/paymentcryptography/api_op_TagResource.go +++ b/service/paymentcryptography/api_op_TagResource.go @@ -149,9 +149,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/paymentcryptography/api_op_UntagResource.go b/service/paymentcryptography/api_op_UntagResource.go index 5d9e47911bc..e32e80c04e5 100644 --- a/service/paymentcryptography/api_op_UntagResource.go +++ b/service/paymentcryptography/api_op_UntagResource.go @@ -133,9 +133,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/paymentcryptography/api_op_UpdateAlias.go b/service/paymentcryptography/api_op_UpdateAlias.go index 8e65f7c5bcd..6d598cd68af 100644 --- a/service/paymentcryptography/api_op_UpdateAlias.go +++ b/service/paymentcryptography/api_op_UpdateAlias.go @@ -139,9 +139,6 @@ func (c *Client) addOperationUpdateAliasMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/paymentcryptography/snapshot/api_op_CreateAlias.go.snap b/service/paymentcryptography/snapshot/api_op_CreateAlias.go.snap index ea96e788303..2949a1e05b7 100644 --- a/service/paymentcryptography/snapshot/api_op_CreateAlias.go.snap +++ b/service/paymentcryptography/snapshot/api_op_CreateAlias.go.snap @@ -14,7 +14,6 @@ CreateAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/paymentcryptography/snapshot/api_op_CreateKey.go.snap b/service/paymentcryptography/snapshot/api_op_CreateKey.go.snap index e27c104a847..8ae75732b82 100644 --- a/service/paymentcryptography/snapshot/api_op_CreateKey.go.snap +++ b/service/paymentcryptography/snapshot/api_op_CreateKey.go.snap @@ -14,7 +14,6 @@ CreateKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/paymentcryptography/snapshot/api_op_DeleteAlias.go.snap b/service/paymentcryptography/snapshot/api_op_DeleteAlias.go.snap index 469fb018efd..d0401eaf34c 100644 --- a/service/paymentcryptography/snapshot/api_op_DeleteAlias.go.snap +++ b/service/paymentcryptography/snapshot/api_op_DeleteAlias.go.snap @@ -14,7 +14,6 @@ DeleteAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/paymentcryptography/snapshot/api_op_DeleteKey.go.snap b/service/paymentcryptography/snapshot/api_op_DeleteKey.go.snap index af47ac6b77f..02530e367a8 100644 --- a/service/paymentcryptography/snapshot/api_op_DeleteKey.go.snap +++ b/service/paymentcryptography/snapshot/api_op_DeleteKey.go.snap @@ -14,7 +14,6 @@ DeleteKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/paymentcryptography/snapshot/api_op_ExportKey.go.snap b/service/paymentcryptography/snapshot/api_op_ExportKey.go.snap index ff1aea63d1f..002d79e3b6e 100644 --- a/service/paymentcryptography/snapshot/api_op_ExportKey.go.snap +++ b/service/paymentcryptography/snapshot/api_op_ExportKey.go.snap @@ -14,7 +14,6 @@ ExportKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/paymentcryptography/snapshot/api_op_GetAlias.go.snap b/service/paymentcryptography/snapshot/api_op_GetAlias.go.snap index b6533d87cff..5da4f68c456 100644 --- a/service/paymentcryptography/snapshot/api_op_GetAlias.go.snap +++ b/service/paymentcryptography/snapshot/api_op_GetAlias.go.snap @@ -14,7 +14,6 @@ GetAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/paymentcryptography/snapshot/api_op_GetKey.go.snap b/service/paymentcryptography/snapshot/api_op_GetKey.go.snap index 3103b154404..990c03c7c0c 100644 --- a/service/paymentcryptography/snapshot/api_op_GetKey.go.snap +++ b/service/paymentcryptography/snapshot/api_op_GetKey.go.snap @@ -14,7 +14,6 @@ GetKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/paymentcryptography/snapshot/api_op_GetParametersForExport.go.snap b/service/paymentcryptography/snapshot/api_op_GetParametersForExport.go.snap index ab0ec7e5d0f..46ae5cb2720 100644 --- a/service/paymentcryptography/snapshot/api_op_GetParametersForExport.go.snap +++ b/service/paymentcryptography/snapshot/api_op_GetParametersForExport.go.snap @@ -14,7 +14,6 @@ GetParametersForExport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/paymentcryptography/snapshot/api_op_GetParametersForImport.go.snap b/service/paymentcryptography/snapshot/api_op_GetParametersForImport.go.snap index 6a123b49408..0233007a0d9 100644 --- a/service/paymentcryptography/snapshot/api_op_GetParametersForImport.go.snap +++ b/service/paymentcryptography/snapshot/api_op_GetParametersForImport.go.snap @@ -14,7 +14,6 @@ GetParametersForImport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/paymentcryptography/snapshot/api_op_GetPublicKeyCertificate.go.snap b/service/paymentcryptography/snapshot/api_op_GetPublicKeyCertificate.go.snap index 05da565e083..0c91681beda 100644 --- a/service/paymentcryptography/snapshot/api_op_GetPublicKeyCertificate.go.snap +++ b/service/paymentcryptography/snapshot/api_op_GetPublicKeyCertificate.go.snap @@ -14,7 +14,6 @@ GetPublicKeyCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/paymentcryptography/snapshot/api_op_ImportKey.go.snap b/service/paymentcryptography/snapshot/api_op_ImportKey.go.snap index c29830a995a..03761933320 100644 --- a/service/paymentcryptography/snapshot/api_op_ImportKey.go.snap +++ b/service/paymentcryptography/snapshot/api_op_ImportKey.go.snap @@ -14,7 +14,6 @@ ImportKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/paymentcryptography/snapshot/api_op_ListAliases.go.snap b/service/paymentcryptography/snapshot/api_op_ListAliases.go.snap index 8bcf5230731..c1a245a774e 100644 --- a/service/paymentcryptography/snapshot/api_op_ListAliases.go.snap +++ b/service/paymentcryptography/snapshot/api_op_ListAliases.go.snap @@ -13,7 +13,6 @@ ListAliases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/paymentcryptography/snapshot/api_op_ListKeys.go.snap b/service/paymentcryptography/snapshot/api_op_ListKeys.go.snap index b63229a55b0..b9f9ec82249 100644 --- a/service/paymentcryptography/snapshot/api_op_ListKeys.go.snap +++ b/service/paymentcryptography/snapshot/api_op_ListKeys.go.snap @@ -13,7 +13,6 @@ ListKeys Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/paymentcryptography/snapshot/api_op_ListTagsForResource.go.snap b/service/paymentcryptography/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/paymentcryptography/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/paymentcryptography/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/paymentcryptography/snapshot/api_op_RestoreKey.go.snap b/service/paymentcryptography/snapshot/api_op_RestoreKey.go.snap index 0791048a7ae..0146d863603 100644 --- a/service/paymentcryptography/snapshot/api_op_RestoreKey.go.snap +++ b/service/paymentcryptography/snapshot/api_op_RestoreKey.go.snap @@ -14,7 +14,6 @@ RestoreKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/paymentcryptography/snapshot/api_op_StartKeyUsage.go.snap b/service/paymentcryptography/snapshot/api_op_StartKeyUsage.go.snap index c655b7f4087..f4031210ea2 100644 --- a/service/paymentcryptography/snapshot/api_op_StartKeyUsage.go.snap +++ b/service/paymentcryptography/snapshot/api_op_StartKeyUsage.go.snap @@ -14,7 +14,6 @@ StartKeyUsage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/paymentcryptography/snapshot/api_op_StopKeyUsage.go.snap b/service/paymentcryptography/snapshot/api_op_StopKeyUsage.go.snap index 3011b6aa3f1..d90e0eceb45 100644 --- a/service/paymentcryptography/snapshot/api_op_StopKeyUsage.go.snap +++ b/service/paymentcryptography/snapshot/api_op_StopKeyUsage.go.snap @@ -14,7 +14,6 @@ StopKeyUsage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/paymentcryptography/snapshot/api_op_TagResource.go.snap b/service/paymentcryptography/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/paymentcryptography/snapshot/api_op_TagResource.go.snap +++ b/service/paymentcryptography/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/paymentcryptography/snapshot/api_op_UntagResource.go.snap b/service/paymentcryptography/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/paymentcryptography/snapshot/api_op_UntagResource.go.snap +++ b/service/paymentcryptography/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/paymentcryptography/snapshot/api_op_UpdateAlias.go.snap b/service/paymentcryptography/snapshot/api_op_UpdateAlias.go.snap index 84608cce172..8900693425f 100644 --- a/service/paymentcryptography/snapshot/api_op_UpdateAlias.go.snap +++ b/service/paymentcryptography/snapshot/api_op_UpdateAlias.go.snap @@ -14,7 +14,6 @@ UpdateAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/paymentcryptographydata/api_client.go b/service/paymentcryptographydata/api_client.go index 2851afd5942..5bc9c241865 100644 --- a/service/paymentcryptographydata/api_client.go +++ b/service/paymentcryptographydata/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/paymentcryptographydata/api_op_DecryptData.go b/service/paymentcryptographydata/api_op_DecryptData.go index 33967e3d02c..a32e332f023 100644 --- a/service/paymentcryptographydata/api_op_DecryptData.go +++ b/service/paymentcryptographydata/api_op_DecryptData.go @@ -198,9 +198,6 @@ func (c *Client) addOperationDecryptDataMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDecryptDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/paymentcryptographydata/api_op_EncryptData.go b/service/paymentcryptographydata/api_op_EncryptData.go index 753221aa822..c99305e07a9 100644 --- a/service/paymentcryptographydata/api_op_EncryptData.go +++ b/service/paymentcryptographydata/api_op_EncryptData.go @@ -211,9 +211,6 @@ func (c *Client) addOperationEncryptDataMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEncryptDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/paymentcryptographydata/api_op_GenerateCardValidationData.go b/service/paymentcryptographydata/api_op_GenerateCardValidationData.go index cd9216ede5b..36d60ca4897 100644 --- a/service/paymentcryptographydata/api_op_GenerateCardValidationData.go +++ b/service/paymentcryptographydata/api_op_GenerateCardValidationData.go @@ -176,9 +176,6 @@ func (c *Client) addOperationGenerateCardValidationDataMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGenerateCardValidationDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/paymentcryptographydata/api_op_GenerateMac.go b/service/paymentcryptographydata/api_op_GenerateMac.go index 8732a9bfd24..bd9c5e701a4 100644 --- a/service/paymentcryptographydata/api_op_GenerateMac.go +++ b/service/paymentcryptographydata/api_op_GenerateMac.go @@ -171,9 +171,6 @@ func (c *Client) addOperationGenerateMacMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGenerateMacValidationMiddleware(stack); err != nil { return err } diff --git a/service/paymentcryptographydata/api_op_GenerateMacEmvPinChange.go b/service/paymentcryptographydata/api_op_GenerateMacEmvPinChange.go index eb3e846c361..da49a4ce197 100644 --- a/service/paymentcryptographydata/api_op_GenerateMacEmvPinChange.go +++ b/service/paymentcryptographydata/api_op_GenerateMacEmvPinChange.go @@ -227,9 +227,6 @@ func (c *Client) addOperationGenerateMacEmvPinChangeMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGenerateMacEmvPinChangeValidationMiddleware(stack); err != nil { return err } diff --git a/service/paymentcryptographydata/api_op_GeneratePinData.go b/service/paymentcryptographydata/api_op_GeneratePinData.go index c7611468118..1b58ae3dc06 100644 --- a/service/paymentcryptographydata/api_op_GeneratePinData.go +++ b/service/paymentcryptographydata/api_op_GeneratePinData.go @@ -227,9 +227,6 @@ func (c *Client) addOperationGeneratePinDataMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGeneratePinDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/paymentcryptographydata/api_op_ReEncryptData.go b/service/paymentcryptographydata/api_op_ReEncryptData.go index 6a8077698d3..d8b50dfcfbc 100644 --- a/service/paymentcryptographydata/api_op_ReEncryptData.go +++ b/service/paymentcryptographydata/api_op_ReEncryptData.go @@ -206,9 +206,6 @@ func (c *Client) addOperationReEncryptDataMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpReEncryptDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/paymentcryptographydata/api_op_TranslatePinData.go b/service/paymentcryptographydata/api_op_TranslatePinData.go index 1297c1741c5..1995b11fce5 100644 --- a/service/paymentcryptographydata/api_op_TranslatePinData.go +++ b/service/paymentcryptographydata/api_op_TranslatePinData.go @@ -232,9 +232,6 @@ func (c *Client) addOperationTranslatePinDataMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTranslatePinDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/paymentcryptographydata/api_op_VerifyAuthRequestCryptogram.go b/service/paymentcryptographydata/api_op_VerifyAuthRequestCryptogram.go index 09a64ecdc67..a404ede1ea9 100644 --- a/service/paymentcryptographydata/api_op_VerifyAuthRequestCryptogram.go +++ b/service/paymentcryptographydata/api_op_VerifyAuthRequestCryptogram.go @@ -195,9 +195,6 @@ func (c *Client) addOperationVerifyAuthRequestCryptogramMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpVerifyAuthRequestCryptogramValidationMiddleware(stack); err != nil { return err } diff --git a/service/paymentcryptographydata/api_op_VerifyCardValidationData.go b/service/paymentcryptographydata/api_op_VerifyCardValidationData.go index f17cd9aa21a..9a120b27afd 100644 --- a/service/paymentcryptographydata/api_op_VerifyCardValidationData.go +++ b/service/paymentcryptographydata/api_op_VerifyCardValidationData.go @@ -174,9 +174,6 @@ func (c *Client) addOperationVerifyCardValidationDataMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpVerifyCardValidationDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/paymentcryptographydata/api_op_VerifyMac.go b/service/paymentcryptographydata/api_op_VerifyMac.go index 7db22b762ea..66f4567ab3d 100644 --- a/service/paymentcryptographydata/api_op_VerifyMac.go +++ b/service/paymentcryptographydata/api_op_VerifyMac.go @@ -164,9 +164,6 @@ func (c *Client) addOperationVerifyMacMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpVerifyMacValidationMiddleware(stack); err != nil { return err } diff --git a/service/paymentcryptographydata/api_op_VerifyPinData.go b/service/paymentcryptographydata/api_op_VerifyPinData.go index 25a64635d07..4a587bdd0a7 100644 --- a/service/paymentcryptographydata/api_op_VerifyPinData.go +++ b/service/paymentcryptographydata/api_op_VerifyPinData.go @@ -211,9 +211,6 @@ func (c *Client) addOperationVerifyPinDataMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpVerifyPinDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/paymentcryptographydata/snapshot/api_op_DecryptData.go.snap b/service/paymentcryptographydata/snapshot/api_op_DecryptData.go.snap index 6491b1a8ee1..039b630fc09 100644 --- a/service/paymentcryptographydata/snapshot/api_op_DecryptData.go.snap +++ b/service/paymentcryptographydata/snapshot/api_op_DecryptData.go.snap @@ -14,7 +14,6 @@ DecryptData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/paymentcryptographydata/snapshot/api_op_EncryptData.go.snap b/service/paymentcryptographydata/snapshot/api_op_EncryptData.go.snap index c04f9381800..689066aa702 100644 --- a/service/paymentcryptographydata/snapshot/api_op_EncryptData.go.snap +++ b/service/paymentcryptographydata/snapshot/api_op_EncryptData.go.snap @@ -14,7 +14,6 @@ EncryptData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/paymentcryptographydata/snapshot/api_op_GenerateCardValidationData.go.snap b/service/paymentcryptographydata/snapshot/api_op_GenerateCardValidationData.go.snap index 4b88f9f4912..867c17f1498 100644 --- a/service/paymentcryptographydata/snapshot/api_op_GenerateCardValidationData.go.snap +++ b/service/paymentcryptographydata/snapshot/api_op_GenerateCardValidationData.go.snap @@ -14,7 +14,6 @@ GenerateCardValidationData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/paymentcryptographydata/snapshot/api_op_GenerateMac.go.snap b/service/paymentcryptographydata/snapshot/api_op_GenerateMac.go.snap index 5a4bb2235b3..8c650247701 100644 --- a/service/paymentcryptographydata/snapshot/api_op_GenerateMac.go.snap +++ b/service/paymentcryptographydata/snapshot/api_op_GenerateMac.go.snap @@ -14,7 +14,6 @@ GenerateMac Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/paymentcryptographydata/snapshot/api_op_GenerateMacEmvPinChange.go.snap b/service/paymentcryptographydata/snapshot/api_op_GenerateMacEmvPinChange.go.snap index 5f17550c85e..8a93f7a112f 100644 --- a/service/paymentcryptographydata/snapshot/api_op_GenerateMacEmvPinChange.go.snap +++ b/service/paymentcryptographydata/snapshot/api_op_GenerateMacEmvPinChange.go.snap @@ -14,7 +14,6 @@ GenerateMacEmvPinChange Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/paymentcryptographydata/snapshot/api_op_GeneratePinData.go.snap b/service/paymentcryptographydata/snapshot/api_op_GeneratePinData.go.snap index b62c3b0a625..32a817e852d 100644 --- a/service/paymentcryptographydata/snapshot/api_op_GeneratePinData.go.snap +++ b/service/paymentcryptographydata/snapshot/api_op_GeneratePinData.go.snap @@ -14,7 +14,6 @@ GeneratePinData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/paymentcryptographydata/snapshot/api_op_ReEncryptData.go.snap b/service/paymentcryptographydata/snapshot/api_op_ReEncryptData.go.snap index f3e3284f2b1..c691422caaf 100644 --- a/service/paymentcryptographydata/snapshot/api_op_ReEncryptData.go.snap +++ b/service/paymentcryptographydata/snapshot/api_op_ReEncryptData.go.snap @@ -14,7 +14,6 @@ ReEncryptData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/paymentcryptographydata/snapshot/api_op_TranslatePinData.go.snap b/service/paymentcryptographydata/snapshot/api_op_TranslatePinData.go.snap index 85ea00b0bed..cdde14aaaea 100644 --- a/service/paymentcryptographydata/snapshot/api_op_TranslatePinData.go.snap +++ b/service/paymentcryptographydata/snapshot/api_op_TranslatePinData.go.snap @@ -14,7 +14,6 @@ TranslatePinData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/paymentcryptographydata/snapshot/api_op_VerifyAuthRequestCryptogram.go.snap b/service/paymentcryptographydata/snapshot/api_op_VerifyAuthRequestCryptogram.go.snap index 7aa88e5b8e8..d9dced09d1f 100644 --- a/service/paymentcryptographydata/snapshot/api_op_VerifyAuthRequestCryptogram.go.snap +++ b/service/paymentcryptographydata/snapshot/api_op_VerifyAuthRequestCryptogram.go.snap @@ -14,7 +14,6 @@ VerifyAuthRequestCryptogram Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/paymentcryptographydata/snapshot/api_op_VerifyCardValidationData.go.snap b/service/paymentcryptographydata/snapshot/api_op_VerifyCardValidationData.go.snap index eec805f03f6..f9c6641f244 100644 --- a/service/paymentcryptographydata/snapshot/api_op_VerifyCardValidationData.go.snap +++ b/service/paymentcryptographydata/snapshot/api_op_VerifyCardValidationData.go.snap @@ -14,7 +14,6 @@ VerifyCardValidationData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/paymentcryptographydata/snapshot/api_op_VerifyMac.go.snap b/service/paymentcryptographydata/snapshot/api_op_VerifyMac.go.snap index c7d18f8291c..e4a26dee404 100644 --- a/service/paymentcryptographydata/snapshot/api_op_VerifyMac.go.snap +++ b/service/paymentcryptographydata/snapshot/api_op_VerifyMac.go.snap @@ -14,7 +14,6 @@ VerifyMac Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/paymentcryptographydata/snapshot/api_op_VerifyPinData.go.snap b/service/paymentcryptographydata/snapshot/api_op_VerifyPinData.go.snap index 50c3fe622aa..f5a93fec2cb 100644 --- a/service/paymentcryptographydata/snapshot/api_op_VerifyPinData.go.snap +++ b/service/paymentcryptographydata/snapshot/api_op_VerifyPinData.go.snap @@ -14,7 +14,6 @@ VerifyPinData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorad/api_client.go b/service/pcaconnectorad/api_client.go index ac95b800648..4be8e0692c9 100644 --- a/service/pcaconnectorad/api_client.go +++ b/service/pcaconnectorad/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/pcaconnectorad/api_op_CreateConnector.go b/service/pcaconnectorad/api_op_CreateConnector.go index f13378f73d0..7d2f49c123e 100644 --- a/service/pcaconnectorad/api_op_CreateConnector.go +++ b/service/pcaconnectorad/api_op_CreateConnector.go @@ -130,9 +130,6 @@ func (c *Client) addOperationCreateConnectorMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateConnectorMiddleware(stack, options); err != nil { return err } diff --git a/service/pcaconnectorad/api_op_CreateDirectoryRegistration.go b/service/pcaconnectorad/api_op_CreateDirectoryRegistration.go index 000933eec7f..33121bb6598 100644 --- a/service/pcaconnectorad/api_op_CreateDirectoryRegistration.go +++ b/service/pcaconnectorad/api_op_CreateDirectoryRegistration.go @@ -120,9 +120,6 @@ func (c *Client) addOperationCreateDirectoryRegistrationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDirectoryRegistrationMiddleware(stack, options); err != nil { return err } diff --git a/service/pcaconnectorad/api_op_CreateServicePrincipalName.go b/service/pcaconnectorad/api_op_CreateServicePrincipalName.go index d97d90e8255..940e636426c 100644 --- a/service/pcaconnectorad/api_op_CreateServicePrincipalName.go +++ b/service/pcaconnectorad/api_op_CreateServicePrincipalName.go @@ -121,9 +121,6 @@ func (c *Client) addOperationCreateServicePrincipalNameMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateServicePrincipalNameMiddleware(stack, options); err != nil { return err } diff --git a/service/pcaconnectorad/api_op_CreateTemplate.go b/service/pcaconnectorad/api_op_CreateTemplate.go index a1dfaaf4be3..e13c00a579b 100644 --- a/service/pcaconnectorad/api_op_CreateTemplate.go +++ b/service/pcaconnectorad/api_op_CreateTemplate.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateTemplateMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateTemplateMiddleware(stack, options); err != nil { return err } diff --git a/service/pcaconnectorad/api_op_CreateTemplateGroupAccessControlEntry.go b/service/pcaconnectorad/api_op_CreateTemplateGroupAccessControlEntry.go index db66fc4e328..49c79afa8ea 100644 --- a/service/pcaconnectorad/api_op_CreateTemplateGroupAccessControlEntry.go +++ b/service/pcaconnectorad/api_op_CreateTemplateGroupAccessControlEntry.go @@ -133,9 +133,6 @@ func (c *Client) addOperationCreateTemplateGroupAccessControlEntryMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateTemplateGroupAccessControlEntryMiddleware(stack, options); err != nil { return err } diff --git a/service/pcaconnectorad/api_op_DeleteConnector.go b/service/pcaconnectorad/api_op_DeleteConnector.go index cd12de48c29..a2264652488 100644 --- a/service/pcaconnectorad/api_op_DeleteConnector.go +++ b/service/pcaconnectorad/api_op_DeleteConnector.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteConnectorMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConnectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcaconnectorad/api_op_DeleteDirectoryRegistration.go b/service/pcaconnectorad/api_op_DeleteDirectoryRegistration.go index 5366530f736..2c589301798 100644 --- a/service/pcaconnectorad/api_op_DeleteDirectoryRegistration.go +++ b/service/pcaconnectorad/api_op_DeleteDirectoryRegistration.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteDirectoryRegistrationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDirectoryRegistrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcaconnectorad/api_op_DeleteServicePrincipalName.go b/service/pcaconnectorad/api_op_DeleteServicePrincipalName.go index e8628e357d2..3177ed3088a 100644 --- a/service/pcaconnectorad/api_op_DeleteServicePrincipalName.go +++ b/service/pcaconnectorad/api_op_DeleteServicePrincipalName.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteServicePrincipalNameMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteServicePrincipalNameValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcaconnectorad/api_op_DeleteTemplate.go b/service/pcaconnectorad/api_op_DeleteTemplate.go index d037d57a9f4..622097b15e9 100644 --- a/service/pcaconnectorad/api_op_DeleteTemplate.go +++ b/service/pcaconnectorad/api_op_DeleteTemplate.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteTemplateMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcaconnectorad/api_op_DeleteTemplateGroupAccessControlEntry.go b/service/pcaconnectorad/api_op_DeleteTemplateGroupAccessControlEntry.go index 812580977c4..db10b34beed 100644 --- a/service/pcaconnectorad/api_op_DeleteTemplateGroupAccessControlEntry.go +++ b/service/pcaconnectorad/api_op_DeleteTemplateGroupAccessControlEntry.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteTemplateGroupAccessControlEntryMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTemplateGroupAccessControlEntryValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcaconnectorad/api_op_GetConnector.go b/service/pcaconnectorad/api_op_GetConnector.go index 818fb42dd51..885e5c2cac0 100644 --- a/service/pcaconnectorad/api_op_GetConnector.go +++ b/service/pcaconnectorad/api_op_GetConnector.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetConnectorMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConnectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcaconnectorad/api_op_GetDirectoryRegistration.go b/service/pcaconnectorad/api_op_GetDirectoryRegistration.go index 9e6eaf44e31..7b1440a91bd 100644 --- a/service/pcaconnectorad/api_op_GetDirectoryRegistration.go +++ b/service/pcaconnectorad/api_op_GetDirectoryRegistration.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetDirectoryRegistrationMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDirectoryRegistrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcaconnectorad/api_op_GetServicePrincipalName.go b/service/pcaconnectorad/api_op_GetServicePrincipalName.go index cf2fa8a7c4d..827d3a93041 100644 --- a/service/pcaconnectorad/api_op_GetServicePrincipalName.go +++ b/service/pcaconnectorad/api_op_GetServicePrincipalName.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetServicePrincipalNameMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetServicePrincipalNameValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcaconnectorad/api_op_GetTemplate.go b/service/pcaconnectorad/api_op_GetTemplate.go index e8be316f9e6..cbb14855b42 100644 --- a/service/pcaconnectorad/api_op_GetTemplate.go +++ b/service/pcaconnectorad/api_op_GetTemplate.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetTemplateMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcaconnectorad/api_op_GetTemplateGroupAccessControlEntry.go b/service/pcaconnectorad/api_op_GetTemplateGroupAccessControlEntry.go index b7fca99e718..c5b2557594e 100644 --- a/service/pcaconnectorad/api_op_GetTemplateGroupAccessControlEntry.go +++ b/service/pcaconnectorad/api_op_GetTemplateGroupAccessControlEntry.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetTemplateGroupAccessControlEntryMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTemplateGroupAccessControlEntryValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcaconnectorad/api_op_ListConnectors.go b/service/pcaconnectorad/api_op_ListConnectors.go index 88675dfdb93..71e02fa4646 100644 --- a/service/pcaconnectorad/api_op_ListConnectors.go +++ b/service/pcaconnectorad/api_op_ListConnectors.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListConnectorsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConnectors(options.Region), middleware.Before); err != nil { return err } diff --git a/service/pcaconnectorad/api_op_ListDirectoryRegistrations.go b/service/pcaconnectorad/api_op_ListDirectoryRegistrations.go index e8303ddc83f..fe827b56360 100644 --- a/service/pcaconnectorad/api_op_ListDirectoryRegistrations.go +++ b/service/pcaconnectorad/api_op_ListDirectoryRegistrations.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListDirectoryRegistrationsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDirectoryRegistrations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/pcaconnectorad/api_op_ListServicePrincipalNames.go b/service/pcaconnectorad/api_op_ListServicePrincipalNames.go index 24015cd4a66..370e1fa804f 100644 --- a/service/pcaconnectorad/api_op_ListServicePrincipalNames.go +++ b/service/pcaconnectorad/api_op_ListServicePrincipalNames.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListServicePrincipalNamesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListServicePrincipalNamesValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcaconnectorad/api_op_ListTagsForResource.go b/service/pcaconnectorad/api_op_ListTagsForResource.go index 2ff688c5276..e71e8f8a534 100644 --- a/service/pcaconnectorad/api_op_ListTagsForResource.go +++ b/service/pcaconnectorad/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcaconnectorad/api_op_ListTemplateGroupAccessControlEntries.go b/service/pcaconnectorad/api_op_ListTemplateGroupAccessControlEntries.go index 190f59804c7..e11f11d64d2 100644 --- a/service/pcaconnectorad/api_op_ListTemplateGroupAccessControlEntries.go +++ b/service/pcaconnectorad/api_op_ListTemplateGroupAccessControlEntries.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListTemplateGroupAccessControlEntriesMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTemplateGroupAccessControlEntriesValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcaconnectorad/api_op_ListTemplates.go b/service/pcaconnectorad/api_op_ListTemplates.go index b2545302e6c..bfa02313334 100644 --- a/service/pcaconnectorad/api_op_ListTemplates.go +++ b/service/pcaconnectorad/api_op_ListTemplates.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListTemplatesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTemplatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcaconnectorad/api_op_TagResource.go b/service/pcaconnectorad/api_op_TagResource.go index 153af941d37..06f77e6f0d4 100644 --- a/service/pcaconnectorad/api_op_TagResource.go +++ b/service/pcaconnectorad/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcaconnectorad/api_op_UntagResource.go b/service/pcaconnectorad/api_op_UntagResource.go index f468bcccdce..374a7d1e5d8 100644 --- a/service/pcaconnectorad/api_op_UntagResource.go +++ b/service/pcaconnectorad/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcaconnectorad/api_op_UpdateTemplate.go b/service/pcaconnectorad/api_op_UpdateTemplate.go index 3599d83b1e8..87e64329958 100644 --- a/service/pcaconnectorad/api_op_UpdateTemplate.go +++ b/service/pcaconnectorad/api_op_UpdateTemplate.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateTemplateMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcaconnectorad/api_op_UpdateTemplateGroupAccessControlEntry.go b/service/pcaconnectorad/api_op_UpdateTemplateGroupAccessControlEntry.go index cfd5ec9e355..f89d5caca26 100644 --- a/service/pcaconnectorad/api_op_UpdateTemplateGroupAccessControlEntry.go +++ b/service/pcaconnectorad/api_op_UpdateTemplateGroupAccessControlEntry.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateTemplateGroupAccessControlEntryMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTemplateGroupAccessControlEntryValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcaconnectorad/snapshot/api_op_CreateConnector.go.snap b/service/pcaconnectorad/snapshot/api_op_CreateConnector.go.snap index 8d94afffb5f..339ff8855e1 100644 --- a/service/pcaconnectorad/snapshot/api_op_CreateConnector.go.snap +++ b/service/pcaconnectorad/snapshot/api_op_CreateConnector.go.snap @@ -15,7 +15,6 @@ CreateConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorad/snapshot/api_op_CreateDirectoryRegistration.go.snap b/service/pcaconnectorad/snapshot/api_op_CreateDirectoryRegistration.go.snap index 32c4db404f1..8c7ac7d83da 100644 --- a/service/pcaconnectorad/snapshot/api_op_CreateDirectoryRegistration.go.snap +++ b/service/pcaconnectorad/snapshot/api_op_CreateDirectoryRegistration.go.snap @@ -15,7 +15,6 @@ CreateDirectoryRegistration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorad/snapshot/api_op_CreateServicePrincipalName.go.snap b/service/pcaconnectorad/snapshot/api_op_CreateServicePrincipalName.go.snap index 780a8cd14f9..8e8378fb701 100644 --- a/service/pcaconnectorad/snapshot/api_op_CreateServicePrincipalName.go.snap +++ b/service/pcaconnectorad/snapshot/api_op_CreateServicePrincipalName.go.snap @@ -15,7 +15,6 @@ CreateServicePrincipalName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorad/snapshot/api_op_CreateTemplate.go.snap b/service/pcaconnectorad/snapshot/api_op_CreateTemplate.go.snap index 0e99a81b560..788a979a5a3 100644 --- a/service/pcaconnectorad/snapshot/api_op_CreateTemplate.go.snap +++ b/service/pcaconnectorad/snapshot/api_op_CreateTemplate.go.snap @@ -15,7 +15,6 @@ CreateTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorad/snapshot/api_op_CreateTemplateGroupAccessControlEntry.go.snap b/service/pcaconnectorad/snapshot/api_op_CreateTemplateGroupAccessControlEntry.go.snap index 30ed077cc9b..8aa7763acde 100644 --- a/service/pcaconnectorad/snapshot/api_op_CreateTemplateGroupAccessControlEntry.go.snap +++ b/service/pcaconnectorad/snapshot/api_op_CreateTemplateGroupAccessControlEntry.go.snap @@ -15,7 +15,6 @@ CreateTemplateGroupAccessControlEntry Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorad/snapshot/api_op_DeleteConnector.go.snap b/service/pcaconnectorad/snapshot/api_op_DeleteConnector.go.snap index 08ade4bd1ad..f50e7136af2 100644 --- a/service/pcaconnectorad/snapshot/api_op_DeleteConnector.go.snap +++ b/service/pcaconnectorad/snapshot/api_op_DeleteConnector.go.snap @@ -14,7 +14,6 @@ DeleteConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorad/snapshot/api_op_DeleteDirectoryRegistration.go.snap b/service/pcaconnectorad/snapshot/api_op_DeleteDirectoryRegistration.go.snap index f2625fea5f7..543695f5f76 100644 --- a/service/pcaconnectorad/snapshot/api_op_DeleteDirectoryRegistration.go.snap +++ b/service/pcaconnectorad/snapshot/api_op_DeleteDirectoryRegistration.go.snap @@ -14,7 +14,6 @@ DeleteDirectoryRegistration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorad/snapshot/api_op_DeleteServicePrincipalName.go.snap b/service/pcaconnectorad/snapshot/api_op_DeleteServicePrincipalName.go.snap index bd2b3b7ea54..de2d2d10eee 100644 --- a/service/pcaconnectorad/snapshot/api_op_DeleteServicePrincipalName.go.snap +++ b/service/pcaconnectorad/snapshot/api_op_DeleteServicePrincipalName.go.snap @@ -14,7 +14,6 @@ DeleteServicePrincipalName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorad/snapshot/api_op_DeleteTemplate.go.snap b/service/pcaconnectorad/snapshot/api_op_DeleteTemplate.go.snap index 41c557a15e0..c8aa686044f 100644 --- a/service/pcaconnectorad/snapshot/api_op_DeleteTemplate.go.snap +++ b/service/pcaconnectorad/snapshot/api_op_DeleteTemplate.go.snap @@ -14,7 +14,6 @@ DeleteTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorad/snapshot/api_op_DeleteTemplateGroupAccessControlEntry.go.snap b/service/pcaconnectorad/snapshot/api_op_DeleteTemplateGroupAccessControlEntry.go.snap index 57bda1b1674..5112090d424 100644 --- a/service/pcaconnectorad/snapshot/api_op_DeleteTemplateGroupAccessControlEntry.go.snap +++ b/service/pcaconnectorad/snapshot/api_op_DeleteTemplateGroupAccessControlEntry.go.snap @@ -14,7 +14,6 @@ DeleteTemplateGroupAccessControlEntry Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorad/snapshot/api_op_GetConnector.go.snap b/service/pcaconnectorad/snapshot/api_op_GetConnector.go.snap index 858274860d1..6a36ca86cf0 100644 --- a/service/pcaconnectorad/snapshot/api_op_GetConnector.go.snap +++ b/service/pcaconnectorad/snapshot/api_op_GetConnector.go.snap @@ -14,7 +14,6 @@ GetConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorad/snapshot/api_op_GetDirectoryRegistration.go.snap b/service/pcaconnectorad/snapshot/api_op_GetDirectoryRegistration.go.snap index b16c19e5f8b..1e23c7f2179 100644 --- a/service/pcaconnectorad/snapshot/api_op_GetDirectoryRegistration.go.snap +++ b/service/pcaconnectorad/snapshot/api_op_GetDirectoryRegistration.go.snap @@ -14,7 +14,6 @@ GetDirectoryRegistration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorad/snapshot/api_op_GetServicePrincipalName.go.snap b/service/pcaconnectorad/snapshot/api_op_GetServicePrincipalName.go.snap index c382c7ea59c..cf8852957f7 100644 --- a/service/pcaconnectorad/snapshot/api_op_GetServicePrincipalName.go.snap +++ b/service/pcaconnectorad/snapshot/api_op_GetServicePrincipalName.go.snap @@ -14,7 +14,6 @@ GetServicePrincipalName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorad/snapshot/api_op_GetTemplate.go.snap b/service/pcaconnectorad/snapshot/api_op_GetTemplate.go.snap index cb56263a74d..ec7b98a0f54 100644 --- a/service/pcaconnectorad/snapshot/api_op_GetTemplate.go.snap +++ b/service/pcaconnectorad/snapshot/api_op_GetTemplate.go.snap @@ -14,7 +14,6 @@ GetTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorad/snapshot/api_op_GetTemplateGroupAccessControlEntry.go.snap b/service/pcaconnectorad/snapshot/api_op_GetTemplateGroupAccessControlEntry.go.snap index 812589e1c8a..2093fab5515 100644 --- a/service/pcaconnectorad/snapshot/api_op_GetTemplateGroupAccessControlEntry.go.snap +++ b/service/pcaconnectorad/snapshot/api_op_GetTemplateGroupAccessControlEntry.go.snap @@ -14,7 +14,6 @@ GetTemplateGroupAccessControlEntry Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorad/snapshot/api_op_ListConnectors.go.snap b/service/pcaconnectorad/snapshot/api_op_ListConnectors.go.snap index 43a1f535ec6..713efc01581 100644 --- a/service/pcaconnectorad/snapshot/api_op_ListConnectors.go.snap +++ b/service/pcaconnectorad/snapshot/api_op_ListConnectors.go.snap @@ -13,7 +13,6 @@ ListConnectors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorad/snapshot/api_op_ListDirectoryRegistrations.go.snap b/service/pcaconnectorad/snapshot/api_op_ListDirectoryRegistrations.go.snap index 1a64a0deb8f..67cafda42b3 100644 --- a/service/pcaconnectorad/snapshot/api_op_ListDirectoryRegistrations.go.snap +++ b/service/pcaconnectorad/snapshot/api_op_ListDirectoryRegistrations.go.snap @@ -13,7 +13,6 @@ ListDirectoryRegistrations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorad/snapshot/api_op_ListServicePrincipalNames.go.snap b/service/pcaconnectorad/snapshot/api_op_ListServicePrincipalNames.go.snap index 090e9c3801c..b0da11e82b0 100644 --- a/service/pcaconnectorad/snapshot/api_op_ListServicePrincipalNames.go.snap +++ b/service/pcaconnectorad/snapshot/api_op_ListServicePrincipalNames.go.snap @@ -14,7 +14,6 @@ ListServicePrincipalNames Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorad/snapshot/api_op_ListTagsForResource.go.snap b/service/pcaconnectorad/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/pcaconnectorad/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/pcaconnectorad/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorad/snapshot/api_op_ListTemplateGroupAccessControlEntries.go.snap b/service/pcaconnectorad/snapshot/api_op_ListTemplateGroupAccessControlEntries.go.snap index f14dadb748f..ec4adfdae8b 100644 --- a/service/pcaconnectorad/snapshot/api_op_ListTemplateGroupAccessControlEntries.go.snap +++ b/service/pcaconnectorad/snapshot/api_op_ListTemplateGroupAccessControlEntries.go.snap @@ -14,7 +14,6 @@ ListTemplateGroupAccessControlEntries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorad/snapshot/api_op_ListTemplates.go.snap b/service/pcaconnectorad/snapshot/api_op_ListTemplates.go.snap index 3d56e0fa565..03eb81b1fdb 100644 --- a/service/pcaconnectorad/snapshot/api_op_ListTemplates.go.snap +++ b/service/pcaconnectorad/snapshot/api_op_ListTemplates.go.snap @@ -14,7 +14,6 @@ ListTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorad/snapshot/api_op_TagResource.go.snap b/service/pcaconnectorad/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/pcaconnectorad/snapshot/api_op_TagResource.go.snap +++ b/service/pcaconnectorad/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorad/snapshot/api_op_UntagResource.go.snap b/service/pcaconnectorad/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/pcaconnectorad/snapshot/api_op_UntagResource.go.snap +++ b/service/pcaconnectorad/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorad/snapshot/api_op_UpdateTemplate.go.snap b/service/pcaconnectorad/snapshot/api_op_UpdateTemplate.go.snap index f6cbedf6f89..abb91d0f8d6 100644 --- a/service/pcaconnectorad/snapshot/api_op_UpdateTemplate.go.snap +++ b/service/pcaconnectorad/snapshot/api_op_UpdateTemplate.go.snap @@ -14,7 +14,6 @@ UpdateTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorad/snapshot/api_op_UpdateTemplateGroupAccessControlEntry.go.snap b/service/pcaconnectorad/snapshot/api_op_UpdateTemplateGroupAccessControlEntry.go.snap index 718b65f682a..ad41e74ee09 100644 --- a/service/pcaconnectorad/snapshot/api_op_UpdateTemplateGroupAccessControlEntry.go.snap +++ b/service/pcaconnectorad/snapshot/api_op_UpdateTemplateGroupAccessControlEntry.go.snap @@ -14,7 +14,6 @@ UpdateTemplateGroupAccessControlEntry Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorscep/api_client.go b/service/pcaconnectorscep/api_client.go index 605e0122314..b3996f8bea9 100644 --- a/service/pcaconnectorscep/api_client.go +++ b/service/pcaconnectorscep/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/pcaconnectorscep/api_op_CreateChallenge.go b/service/pcaconnectorscep/api_op_CreateChallenge.go index 6763b9acc2e..578088f2e9f 100644 --- a/service/pcaconnectorscep/api_op_CreateChallenge.go +++ b/service/pcaconnectorscep/api_op_CreateChallenge.go @@ -137,9 +137,6 @@ func (c *Client) addOperationCreateChallengeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateChallengeMiddleware(stack, options); err != nil { return err } diff --git a/service/pcaconnectorscep/api_op_CreateConnector.go b/service/pcaconnectorscep/api_op_CreateConnector.go index 3b018f3a477..cf14f81751b 100644 --- a/service/pcaconnectorscep/api_op_CreateConnector.go +++ b/service/pcaconnectorscep/api_op_CreateConnector.go @@ -155,9 +155,6 @@ func (c *Client) addOperationCreateConnectorMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateConnectorMiddleware(stack, options); err != nil { return err } diff --git a/service/pcaconnectorscep/api_op_DeleteChallenge.go b/service/pcaconnectorscep/api_op_DeleteChallenge.go index 1ef29aeb15b..f34ccd72968 100644 --- a/service/pcaconnectorscep/api_op_DeleteChallenge.go +++ b/service/pcaconnectorscep/api_op_DeleteChallenge.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteChallengeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteChallengeValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcaconnectorscep/api_op_DeleteConnector.go b/service/pcaconnectorscep/api_op_DeleteConnector.go index c3834dc5fe3..e6a14f2d58f 100644 --- a/service/pcaconnectorscep/api_op_DeleteConnector.go +++ b/service/pcaconnectorscep/api_op_DeleteConnector.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteConnectorMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConnectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcaconnectorscep/api_op_GetChallengeMetadata.go b/service/pcaconnectorscep/api_op_GetChallengeMetadata.go index 9a7c40f0b86..7311530c9ac 100644 --- a/service/pcaconnectorscep/api_op_GetChallengeMetadata.go +++ b/service/pcaconnectorscep/api_op_GetChallengeMetadata.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetChallengeMetadataMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetChallengeMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcaconnectorscep/api_op_GetChallengePassword.go b/service/pcaconnectorscep/api_op_GetChallengePassword.go index 3475c3148e1..f771fd33c13 100644 --- a/service/pcaconnectorscep/api_op_GetChallengePassword.go +++ b/service/pcaconnectorscep/api_op_GetChallengePassword.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetChallengePasswordMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetChallengePasswordValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcaconnectorscep/api_op_GetConnector.go b/service/pcaconnectorscep/api_op_GetConnector.go index 2bac33bca22..0dd753f89a0 100644 --- a/service/pcaconnectorscep/api_op_GetConnector.go +++ b/service/pcaconnectorscep/api_op_GetConnector.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetConnectorMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConnectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcaconnectorscep/api_op_ListChallengeMetadata.go b/service/pcaconnectorscep/api_op_ListChallengeMetadata.go index c304c6635cf..b45cb531d8c 100644 --- a/service/pcaconnectorscep/api_op_ListChallengeMetadata.go +++ b/service/pcaconnectorscep/api_op_ListChallengeMetadata.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListChallengeMetadataMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListChallengeMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcaconnectorscep/api_op_ListConnectors.go b/service/pcaconnectorscep/api_op_ListConnectors.go index 61d3d0ead00..096f8f234a1 100644 --- a/service/pcaconnectorscep/api_op_ListConnectors.go +++ b/service/pcaconnectorscep/api_op_ListConnectors.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListConnectorsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConnectors(options.Region), middleware.Before); err != nil { return err } diff --git a/service/pcaconnectorscep/api_op_ListTagsForResource.go b/service/pcaconnectorscep/api_op_ListTagsForResource.go index d65ee56e73d..2d41cad647d 100644 --- a/service/pcaconnectorscep/api_op_ListTagsForResource.go +++ b/service/pcaconnectorscep/api_op_ListTagsForResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcaconnectorscep/api_op_TagResource.go b/service/pcaconnectorscep/api_op_TagResource.go index 217ffa55971..d471c9d8e70 100644 --- a/service/pcaconnectorscep/api_op_TagResource.go +++ b/service/pcaconnectorscep/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcaconnectorscep/api_op_UntagResource.go b/service/pcaconnectorscep/api_op_UntagResource.go index f4d47548dea..71c634f3e20 100644 --- a/service/pcaconnectorscep/api_op_UntagResource.go +++ b/service/pcaconnectorscep/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcaconnectorscep/snapshot/api_op_CreateChallenge.go.snap b/service/pcaconnectorscep/snapshot/api_op_CreateChallenge.go.snap index 311ae1ff78d..221005c8fee 100644 --- a/service/pcaconnectorscep/snapshot/api_op_CreateChallenge.go.snap +++ b/service/pcaconnectorscep/snapshot/api_op_CreateChallenge.go.snap @@ -15,7 +15,6 @@ CreateChallenge Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorscep/snapshot/api_op_CreateConnector.go.snap b/service/pcaconnectorscep/snapshot/api_op_CreateConnector.go.snap index 8d94afffb5f..339ff8855e1 100644 --- a/service/pcaconnectorscep/snapshot/api_op_CreateConnector.go.snap +++ b/service/pcaconnectorscep/snapshot/api_op_CreateConnector.go.snap @@ -15,7 +15,6 @@ CreateConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorscep/snapshot/api_op_DeleteChallenge.go.snap b/service/pcaconnectorscep/snapshot/api_op_DeleteChallenge.go.snap index 0c14d5450a2..a1be760ab5a 100644 --- a/service/pcaconnectorscep/snapshot/api_op_DeleteChallenge.go.snap +++ b/service/pcaconnectorscep/snapshot/api_op_DeleteChallenge.go.snap @@ -14,7 +14,6 @@ DeleteChallenge Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorscep/snapshot/api_op_DeleteConnector.go.snap b/service/pcaconnectorscep/snapshot/api_op_DeleteConnector.go.snap index 08ade4bd1ad..f50e7136af2 100644 --- a/service/pcaconnectorscep/snapshot/api_op_DeleteConnector.go.snap +++ b/service/pcaconnectorscep/snapshot/api_op_DeleteConnector.go.snap @@ -14,7 +14,6 @@ DeleteConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorscep/snapshot/api_op_GetChallengeMetadata.go.snap b/service/pcaconnectorscep/snapshot/api_op_GetChallengeMetadata.go.snap index 27ae74fb96f..f487dda64e5 100644 --- a/service/pcaconnectorscep/snapshot/api_op_GetChallengeMetadata.go.snap +++ b/service/pcaconnectorscep/snapshot/api_op_GetChallengeMetadata.go.snap @@ -14,7 +14,6 @@ GetChallengeMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorscep/snapshot/api_op_GetChallengePassword.go.snap b/service/pcaconnectorscep/snapshot/api_op_GetChallengePassword.go.snap index 855b12492b4..e9deb799355 100644 --- a/service/pcaconnectorscep/snapshot/api_op_GetChallengePassword.go.snap +++ b/service/pcaconnectorscep/snapshot/api_op_GetChallengePassword.go.snap @@ -14,7 +14,6 @@ GetChallengePassword Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorscep/snapshot/api_op_GetConnector.go.snap b/service/pcaconnectorscep/snapshot/api_op_GetConnector.go.snap index 858274860d1..6a36ca86cf0 100644 --- a/service/pcaconnectorscep/snapshot/api_op_GetConnector.go.snap +++ b/service/pcaconnectorscep/snapshot/api_op_GetConnector.go.snap @@ -14,7 +14,6 @@ GetConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorscep/snapshot/api_op_ListChallengeMetadata.go.snap b/service/pcaconnectorscep/snapshot/api_op_ListChallengeMetadata.go.snap index 10ccc61b3ba..8c6f5147ee4 100644 --- a/service/pcaconnectorscep/snapshot/api_op_ListChallengeMetadata.go.snap +++ b/service/pcaconnectorscep/snapshot/api_op_ListChallengeMetadata.go.snap @@ -14,7 +14,6 @@ ListChallengeMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorscep/snapshot/api_op_ListConnectors.go.snap b/service/pcaconnectorscep/snapshot/api_op_ListConnectors.go.snap index 43a1f535ec6..713efc01581 100644 --- a/service/pcaconnectorscep/snapshot/api_op_ListConnectors.go.snap +++ b/service/pcaconnectorscep/snapshot/api_op_ListConnectors.go.snap @@ -13,7 +13,6 @@ ListConnectors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorscep/snapshot/api_op_ListTagsForResource.go.snap b/service/pcaconnectorscep/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/pcaconnectorscep/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/pcaconnectorscep/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorscep/snapshot/api_op_TagResource.go.snap b/service/pcaconnectorscep/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/pcaconnectorscep/snapshot/api_op_TagResource.go.snap +++ b/service/pcaconnectorscep/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcaconnectorscep/snapshot/api_op_UntagResource.go.snap b/service/pcaconnectorscep/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/pcaconnectorscep/snapshot/api_op_UntagResource.go.snap +++ b/service/pcaconnectorscep/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcs/api_client.go b/service/pcs/api_client.go index cf4e6be73d4..42c329c83ba 100644 --- a/service/pcs/api_client.go +++ b/service/pcs/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/pcs/api_op_CreateCluster.go b/service/pcs/api_op_CreateCluster.go index 102d9259091..f5842027283 100644 --- a/service/pcs/api_op_CreateCluster.go +++ b/service/pcs/api_op_CreateCluster.go @@ -158,9 +158,6 @@ func (c *Client) addOperationCreateClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateClusterMiddleware(stack, options); err != nil { return err } diff --git a/service/pcs/api_op_CreateComputeNodeGroup.go b/service/pcs/api_op_CreateComputeNodeGroup.go index 963b594860e..cb071cf4895 100644 --- a/service/pcs/api_op_CreateComputeNodeGroup.go +++ b/service/pcs/api_op_CreateComputeNodeGroup.go @@ -198,9 +198,6 @@ func (c *Client) addOperationCreateComputeNodeGroupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateComputeNodeGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/pcs/api_op_CreateQueue.go b/service/pcs/api_op_CreateQueue.go index d5868e8b841..0e83ea3f608 100644 --- a/service/pcs/api_op_CreateQueue.go +++ b/service/pcs/api_op_CreateQueue.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCreateQueueMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateQueueMiddleware(stack, options); err != nil { return err } diff --git a/service/pcs/api_op_DeleteCluster.go b/service/pcs/api_op_DeleteCluster.go index 262715d224d..ae119fa8c84 100644 --- a/service/pcs/api_op_DeleteCluster.go +++ b/service/pcs/api_op_DeleteCluster.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteClusterMiddleware(stack, options); err != nil { return err } diff --git a/service/pcs/api_op_DeleteComputeNodeGroup.go b/service/pcs/api_op_DeleteComputeNodeGroup.go index 9c84f2be53f..84b93e4a6ba 100644 --- a/service/pcs/api_op_DeleteComputeNodeGroup.go +++ b/service/pcs/api_op_DeleteComputeNodeGroup.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteComputeNodeGroupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteComputeNodeGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/pcs/api_op_DeleteQueue.go b/service/pcs/api_op_DeleteQueue.go index f56c2016c23..c22cc1eb3a4 100644 --- a/service/pcs/api_op_DeleteQueue.go +++ b/service/pcs/api_op_DeleteQueue.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteQueueMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteQueueMiddleware(stack, options); err != nil { return err } diff --git a/service/pcs/api_op_GetCluster.go b/service/pcs/api_op_GetCluster.go index e267d4ffcd3..2486f86e3f2 100644 --- a/service/pcs/api_op_GetCluster.go +++ b/service/pcs/api_op_GetCluster.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetClusterMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcs/api_op_GetComputeNodeGroup.go b/service/pcs/api_op_GetComputeNodeGroup.go index d77c0a946b2..0e0a237f2bb 100644 --- a/service/pcs/api_op_GetComputeNodeGroup.go +++ b/service/pcs/api_op_GetComputeNodeGroup.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetComputeNodeGroupMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetComputeNodeGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcs/api_op_GetQueue.go b/service/pcs/api_op_GetQueue.go index 214e56c239f..9e747b20c80 100644 --- a/service/pcs/api_op_GetQueue.go +++ b/service/pcs/api_op_GetQueue.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetQueueMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetQueueValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcs/api_op_ListClusters.go b/service/pcs/api_op_ListClusters.go index 740e05e6fdc..8aa086f7c19 100644 --- a/service/pcs/api_op_ListClusters.go +++ b/service/pcs/api_op_ListClusters.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListClustersMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListClusters(options.Region), middleware.Before); err != nil { return err } diff --git a/service/pcs/api_op_ListComputeNodeGroups.go b/service/pcs/api_op_ListComputeNodeGroups.go index b11ee594c6d..6e81862aac1 100644 --- a/service/pcs/api_op_ListComputeNodeGroups.go +++ b/service/pcs/api_op_ListComputeNodeGroups.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListComputeNodeGroupsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListComputeNodeGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcs/api_op_ListQueues.go b/service/pcs/api_op_ListQueues.go index 4104da27502..7c80b3a63a8 100644 --- a/service/pcs/api_op_ListQueues.go +++ b/service/pcs/api_op_ListQueues.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListQueuesMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListQueuesValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcs/api_op_ListTagsForResource.go b/service/pcs/api_op_ListTagsForResource.go index 4e0c4660499..3417405b7a4 100644 --- a/service/pcs/api_op_ListTagsForResource.go +++ b/service/pcs/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcs/api_op_RegisterComputeNodeGroupInstance.go b/service/pcs/api_op_RegisterComputeNodeGroupInstance.go index c0ce73a2a0e..2d76d17dd51 100644 --- a/service/pcs/api_op_RegisterComputeNodeGroupInstance.go +++ b/service/pcs/api_op_RegisterComputeNodeGroupInstance.go @@ -133,9 +133,6 @@ func (c *Client) addOperationRegisterComputeNodeGroupInstanceMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterComputeNodeGroupInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcs/api_op_TagResource.go b/service/pcs/api_op_TagResource.go index 6b7a99eb9da..bfa9013c15d 100644 --- a/service/pcs/api_op_TagResource.go +++ b/service/pcs/api_op_TagResource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcs/api_op_UntagResource.go b/service/pcs/api_op_UntagResource.go index 1b1dff9089d..6e09b05e5c6 100644 --- a/service/pcs/api_op_UntagResource.go +++ b/service/pcs/api_op_UntagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/pcs/api_op_UpdateComputeNodeGroup.go b/service/pcs/api_op_UpdateComputeNodeGroup.go index a5a605a867f..aabf4595737 100644 --- a/service/pcs/api_op_UpdateComputeNodeGroup.go +++ b/service/pcs/api_op_UpdateComputeNodeGroup.go @@ -171,9 +171,6 @@ func (c *Client) addOperationUpdateComputeNodeGroupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateComputeNodeGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/pcs/api_op_UpdateQueue.go b/service/pcs/api_op_UpdateQueue.go index 18f24f7388a..d560931be8b 100644 --- a/service/pcs/api_op_UpdateQueue.go +++ b/service/pcs/api_op_UpdateQueue.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateQueueMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateQueueMiddleware(stack, options); err != nil { return err } diff --git a/service/pcs/snapshot/api_op_CreateCluster.go.snap b/service/pcs/snapshot/api_op_CreateCluster.go.snap index cc20b56b767..404c2be2c9c 100644 --- a/service/pcs/snapshot/api_op_CreateCluster.go.snap +++ b/service/pcs/snapshot/api_op_CreateCluster.go.snap @@ -15,7 +15,6 @@ CreateCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcs/snapshot/api_op_CreateComputeNodeGroup.go.snap b/service/pcs/snapshot/api_op_CreateComputeNodeGroup.go.snap index 68d163322a3..4b5152cc4d3 100644 --- a/service/pcs/snapshot/api_op_CreateComputeNodeGroup.go.snap +++ b/service/pcs/snapshot/api_op_CreateComputeNodeGroup.go.snap @@ -15,7 +15,6 @@ CreateComputeNodeGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcs/snapshot/api_op_CreateQueue.go.snap b/service/pcs/snapshot/api_op_CreateQueue.go.snap index 7645933b3f4..f351246f0e6 100644 --- a/service/pcs/snapshot/api_op_CreateQueue.go.snap +++ b/service/pcs/snapshot/api_op_CreateQueue.go.snap @@ -15,7 +15,6 @@ CreateQueue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcs/snapshot/api_op_DeleteCluster.go.snap b/service/pcs/snapshot/api_op_DeleteCluster.go.snap index e07b1e81c8e..b7816baab6c 100644 --- a/service/pcs/snapshot/api_op_DeleteCluster.go.snap +++ b/service/pcs/snapshot/api_op_DeleteCluster.go.snap @@ -15,7 +15,6 @@ DeleteCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcs/snapshot/api_op_DeleteComputeNodeGroup.go.snap b/service/pcs/snapshot/api_op_DeleteComputeNodeGroup.go.snap index f8d49e8e508..53ec6d44d73 100644 --- a/service/pcs/snapshot/api_op_DeleteComputeNodeGroup.go.snap +++ b/service/pcs/snapshot/api_op_DeleteComputeNodeGroup.go.snap @@ -15,7 +15,6 @@ DeleteComputeNodeGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcs/snapshot/api_op_DeleteQueue.go.snap b/service/pcs/snapshot/api_op_DeleteQueue.go.snap index 5792634ee7f..2646d83aac2 100644 --- a/service/pcs/snapshot/api_op_DeleteQueue.go.snap +++ b/service/pcs/snapshot/api_op_DeleteQueue.go.snap @@ -15,7 +15,6 @@ DeleteQueue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcs/snapshot/api_op_GetCluster.go.snap b/service/pcs/snapshot/api_op_GetCluster.go.snap index ef54c50a47e..1e661d8fafb 100644 --- a/service/pcs/snapshot/api_op_GetCluster.go.snap +++ b/service/pcs/snapshot/api_op_GetCluster.go.snap @@ -14,7 +14,6 @@ GetCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcs/snapshot/api_op_GetComputeNodeGroup.go.snap b/service/pcs/snapshot/api_op_GetComputeNodeGroup.go.snap index 2535e8e5ff9..133800fb6bc 100644 --- a/service/pcs/snapshot/api_op_GetComputeNodeGroup.go.snap +++ b/service/pcs/snapshot/api_op_GetComputeNodeGroup.go.snap @@ -14,7 +14,6 @@ GetComputeNodeGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcs/snapshot/api_op_GetQueue.go.snap b/service/pcs/snapshot/api_op_GetQueue.go.snap index 9e7f147d279..e3ae952d7a0 100644 --- a/service/pcs/snapshot/api_op_GetQueue.go.snap +++ b/service/pcs/snapshot/api_op_GetQueue.go.snap @@ -14,7 +14,6 @@ GetQueue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcs/snapshot/api_op_ListClusters.go.snap b/service/pcs/snapshot/api_op_ListClusters.go.snap index 48cbced5e1f..949fd968ca2 100644 --- a/service/pcs/snapshot/api_op_ListClusters.go.snap +++ b/service/pcs/snapshot/api_op_ListClusters.go.snap @@ -13,7 +13,6 @@ ListClusters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcs/snapshot/api_op_ListComputeNodeGroups.go.snap b/service/pcs/snapshot/api_op_ListComputeNodeGroups.go.snap index d5b904e948d..553f012d4a6 100644 --- a/service/pcs/snapshot/api_op_ListComputeNodeGroups.go.snap +++ b/service/pcs/snapshot/api_op_ListComputeNodeGroups.go.snap @@ -14,7 +14,6 @@ ListComputeNodeGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcs/snapshot/api_op_ListQueues.go.snap b/service/pcs/snapshot/api_op_ListQueues.go.snap index a1f23cb9afb..ba7a11de067 100644 --- a/service/pcs/snapshot/api_op_ListQueues.go.snap +++ b/service/pcs/snapshot/api_op_ListQueues.go.snap @@ -14,7 +14,6 @@ ListQueues Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcs/snapshot/api_op_ListTagsForResource.go.snap b/service/pcs/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/pcs/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/pcs/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcs/snapshot/api_op_RegisterComputeNodeGroupInstance.go.snap b/service/pcs/snapshot/api_op_RegisterComputeNodeGroupInstance.go.snap index fa04690babf..425c79d0dbd 100644 --- a/service/pcs/snapshot/api_op_RegisterComputeNodeGroupInstance.go.snap +++ b/service/pcs/snapshot/api_op_RegisterComputeNodeGroupInstance.go.snap @@ -14,7 +14,6 @@ RegisterComputeNodeGroupInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcs/snapshot/api_op_TagResource.go.snap b/service/pcs/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/pcs/snapshot/api_op_TagResource.go.snap +++ b/service/pcs/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcs/snapshot/api_op_UntagResource.go.snap b/service/pcs/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/pcs/snapshot/api_op_UntagResource.go.snap +++ b/service/pcs/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcs/snapshot/api_op_UpdateComputeNodeGroup.go.snap b/service/pcs/snapshot/api_op_UpdateComputeNodeGroup.go.snap index 0957a8ff7a1..01bb3594301 100644 --- a/service/pcs/snapshot/api_op_UpdateComputeNodeGroup.go.snap +++ b/service/pcs/snapshot/api_op_UpdateComputeNodeGroup.go.snap @@ -15,7 +15,6 @@ UpdateComputeNodeGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pcs/snapshot/api_op_UpdateQueue.go.snap b/service/pcs/snapshot/api_op_UpdateQueue.go.snap index a7e3cac32c3..9ce3019f0e7 100644 --- a/service/pcs/snapshot/api_op_UpdateQueue.go.snap +++ b/service/pcs/snapshot/api_op_UpdateQueue.go.snap @@ -15,7 +15,6 @@ UpdateQueue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/api_client.go b/service/personalize/api_client.go index 0dac37a61a9..9057adf75e3 100644 --- a/service/personalize/api_client.go +++ b/service/personalize/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/personalize/api_op_CreateBatchInferenceJob.go b/service/personalize/api_op_CreateBatchInferenceJob.go index 1ecbefa7cf7..5576d615186 100644 --- a/service/personalize/api_op_CreateBatchInferenceJob.go +++ b/service/personalize/api_op_CreateBatchInferenceJob.go @@ -189,9 +189,6 @@ func (c *Client) addOperationCreateBatchInferenceJobMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBatchInferenceJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_CreateBatchSegmentJob.go b/service/personalize/api_op_CreateBatchSegmentJob.go index 57130479966..6dc38ec58e7 100644 --- a/service/personalize/api_op_CreateBatchSegmentJob.go +++ b/service/personalize/api_op_CreateBatchSegmentJob.go @@ -152,9 +152,6 @@ func (c *Client) addOperationCreateBatchSegmentJobMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBatchSegmentJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_CreateCampaign.go b/service/personalize/api_op_CreateCampaign.go index 801f6b0c0de..03725bd369b 100644 --- a/service/personalize/api_op_CreateCampaign.go +++ b/service/personalize/api_op_CreateCampaign.go @@ -208,9 +208,6 @@ func (c *Client) addOperationCreateCampaignMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCampaignValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_CreateDataDeletionJob.go b/service/personalize/api_op_CreateDataDeletionJob.go index f57499901cf..b2ac31b2689 100644 --- a/service/personalize/api_op_CreateDataDeletionJob.go +++ b/service/personalize/api_op_CreateDataDeletionJob.go @@ -175,9 +175,6 @@ func (c *Client) addOperationCreateDataDeletionJobMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDataDeletionJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_CreateDataset.go b/service/personalize/api_op_CreateDataset.go index f96042f1bb6..35ff15ff1d9 100644 --- a/service/personalize/api_op_CreateDataset.go +++ b/service/personalize/api_op_CreateDataset.go @@ -186,9 +186,6 @@ func (c *Client) addOperationCreateDatasetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_CreateDatasetExportJob.go b/service/personalize/api_op_CreateDatasetExportJob.go index 7658632bb7b..692a0a71228 100644 --- a/service/personalize/api_op_CreateDatasetExportJob.go +++ b/service/personalize/api_op_CreateDatasetExportJob.go @@ -158,9 +158,6 @@ func (c *Client) addOperationCreateDatasetExportJobMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDatasetExportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_CreateDatasetGroup.go b/service/personalize/api_op_CreateDatasetGroup.go index 01407dbb0e5..413d1977a12 100644 --- a/service/personalize/api_op_CreateDatasetGroup.go +++ b/service/personalize/api_op_CreateDatasetGroup.go @@ -195,9 +195,6 @@ func (c *Client) addOperationCreateDatasetGroupMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDatasetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_CreateDatasetImportJob.go b/service/personalize/api_op_CreateDatasetImportJob.go index dc9aa0429c8..bc8f2108d42 100644 --- a/service/personalize/api_op_CreateDatasetImportJob.go +++ b/service/personalize/api_op_CreateDatasetImportJob.go @@ -187,9 +187,6 @@ func (c *Client) addOperationCreateDatasetImportJobMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDatasetImportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_CreateEventTracker.go b/service/personalize/api_op_CreateEventTracker.go index 0b855815056..bd50bc03861 100644 --- a/service/personalize/api_op_CreateEventTracker.go +++ b/service/personalize/api_op_CreateEventTracker.go @@ -161,9 +161,6 @@ func (c *Client) addOperationCreateEventTrackerMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEventTrackerValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_CreateFilter.go b/service/personalize/api_op_CreateFilter.go index 271e5360e15..e7e21bd8a12 100644 --- a/service/personalize/api_op_CreateFilter.go +++ b/service/personalize/api_op_CreateFilter.go @@ -133,9 +133,6 @@ func (c *Client) addOperationCreateFilterMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFilterValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_CreateMetricAttribution.go b/service/personalize/api_op_CreateMetricAttribution.go index 658b88fc6e3..df84f527aaf 100644 --- a/service/personalize/api_op_CreateMetricAttribution.go +++ b/service/personalize/api_op_CreateMetricAttribution.go @@ -137,9 +137,6 @@ func (c *Client) addOperationCreateMetricAttributionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateMetricAttributionValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_CreateRecommender.go b/service/personalize/api_op_CreateRecommender.go index 87ec90b1fb4..d5145d1d99a 100644 --- a/service/personalize/api_op_CreateRecommender.go +++ b/service/personalize/api_op_CreateRecommender.go @@ -200,9 +200,6 @@ func (c *Client) addOperationCreateRecommenderMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRecommenderValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_CreateSchema.go b/service/personalize/api_op_CreateSchema.go index 78a414f8309..860f8d29b71 100644 --- a/service/personalize/api_op_CreateSchema.go +++ b/service/personalize/api_op_CreateSchema.go @@ -141,9 +141,6 @@ func (c *Client) addOperationCreateSchemaMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSchemaValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_CreateSolution.go b/service/personalize/api_op_CreateSolution.go index dc1a46c15f6..73cdb52f5e3 100644 --- a/service/personalize/api_op_CreateSolution.go +++ b/service/personalize/api_op_CreateSolution.go @@ -256,9 +256,6 @@ func (c *Client) addOperationCreateSolutionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSolutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_CreateSolutionVersion.go b/service/personalize/api_op_CreateSolutionVersion.go index 123b55cf5d2..2a7f7235500 100644 --- a/service/personalize/api_op_CreateSolutionVersion.go +++ b/service/personalize/api_op_CreateSolutionVersion.go @@ -187,9 +187,6 @@ func (c *Client) addOperationCreateSolutionVersionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSolutionVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DeleteCampaign.go b/service/personalize/api_op_DeleteCampaign.go index 536cf0f9496..2c5ecdec899 100644 --- a/service/personalize/api_op_DeleteCampaign.go +++ b/service/personalize/api_op_DeleteCampaign.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteCampaignMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCampaignValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DeleteDataset.go b/service/personalize/api_op_DeleteDataset.go index cd608fd6283..af75170ea6b 100644 --- a/service/personalize/api_op_DeleteDataset.go +++ b/service/personalize/api_op_DeleteDataset.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteDatasetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DeleteDatasetGroup.go b/service/personalize/api_op_DeleteDatasetGroup.go index e5a27b90a74..2e1b0c29e5c 100644 --- a/service/personalize/api_op_DeleteDatasetGroup.go +++ b/service/personalize/api_op_DeleteDatasetGroup.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteDatasetGroupMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDatasetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DeleteEventTracker.go b/service/personalize/api_op_DeleteEventTracker.go index f2372950d83..4021f89e4d8 100644 --- a/service/personalize/api_op_DeleteEventTracker.go +++ b/service/personalize/api_op_DeleteEventTracker.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteEventTrackerMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEventTrackerValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DeleteFilter.go b/service/personalize/api_op_DeleteFilter.go index 3affbb98d2b..918d7023563 100644 --- a/service/personalize/api_op_DeleteFilter.go +++ b/service/personalize/api_op_DeleteFilter.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteFilterMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFilterValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DeleteMetricAttribution.go b/service/personalize/api_op_DeleteMetricAttribution.go index 6ef9f8f6830..ac37982f1b2 100644 --- a/service/personalize/api_op_DeleteMetricAttribution.go +++ b/service/personalize/api_op_DeleteMetricAttribution.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteMetricAttributionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMetricAttributionValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DeleteRecommender.go b/service/personalize/api_op_DeleteRecommender.go index 37bbf52f618..0f6ec3e394f 100644 --- a/service/personalize/api_op_DeleteRecommender.go +++ b/service/personalize/api_op_DeleteRecommender.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteRecommenderMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRecommenderValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DeleteSchema.go b/service/personalize/api_op_DeleteSchema.go index 2ed9279023d..60eb674eeef 100644 --- a/service/personalize/api_op_DeleteSchema.go +++ b/service/personalize/api_op_DeleteSchema.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteSchemaMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSchemaValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DeleteSolution.go b/service/personalize/api_op_DeleteSolution.go index bdee7fca17c..11a1416db7b 100644 --- a/service/personalize/api_op_DeleteSolution.go +++ b/service/personalize/api_op_DeleteSolution.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteSolutionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSolutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeAlgorithm.go b/service/personalize/api_op_DescribeAlgorithm.go index 3dcbc7a67c7..23ca2a3ea73 100644 --- a/service/personalize/api_op_DescribeAlgorithm.go +++ b/service/personalize/api_op_DescribeAlgorithm.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDescribeAlgorithmMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAlgorithmValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeBatchInferenceJob.go b/service/personalize/api_op_DescribeBatchInferenceJob.go index 59a6c2cc9b5..4c5645180ad 100644 --- a/service/personalize/api_op_DescribeBatchInferenceJob.go +++ b/service/personalize/api_op_DescribeBatchInferenceJob.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribeBatchInferenceJobMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBatchInferenceJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeBatchSegmentJob.go b/service/personalize/api_op_DescribeBatchSegmentJob.go index f433a51d823..142d1dce3bd 100644 --- a/service/personalize/api_op_DescribeBatchSegmentJob.go +++ b/service/personalize/api_op_DescribeBatchSegmentJob.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribeBatchSegmentJobMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBatchSegmentJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeCampaign.go b/service/personalize/api_op_DescribeCampaign.go index 68934ed2cff..f1a12b74a19 100644 --- a/service/personalize/api_op_DescribeCampaign.go +++ b/service/personalize/api_op_DescribeCampaign.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribeCampaignMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCampaignValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeDataDeletionJob.go b/service/personalize/api_op_DescribeDataDeletionJob.go index 2e1d9ddff9b..4f1e6c382bc 100644 --- a/service/personalize/api_op_DescribeDataDeletionJob.go +++ b/service/personalize/api_op_DescribeDataDeletionJob.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeDataDeletionJobMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDataDeletionJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeDataset.go b/service/personalize/api_op_DescribeDataset.go index 924de9f71ec..998e5ab8266 100644 --- a/service/personalize/api_op_DescribeDataset.go +++ b/service/personalize/api_op_DescribeDataset.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribeDatasetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeDatasetExportJob.go b/service/personalize/api_op_DescribeDatasetExportJob.go index 0bc77c3ce43..42667e81f3d 100644 --- a/service/personalize/api_op_DescribeDatasetExportJob.go +++ b/service/personalize/api_op_DescribeDatasetExportJob.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeDatasetExportJobMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDatasetExportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeDatasetGroup.go b/service/personalize/api_op_DescribeDatasetGroup.go index 226f4599540..59047c87879 100644 --- a/service/personalize/api_op_DescribeDatasetGroup.go +++ b/service/personalize/api_op_DescribeDatasetGroup.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribeDatasetGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDatasetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeDatasetImportJob.go b/service/personalize/api_op_DescribeDatasetImportJob.go index 6adfb42674d..e8aa63ebacc 100644 --- a/service/personalize/api_op_DescribeDatasetImportJob.go +++ b/service/personalize/api_op_DescribeDatasetImportJob.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeDatasetImportJobMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDatasetImportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeEventTracker.go b/service/personalize/api_op_DescribeEventTracker.go index d31b9569e3d..7cfa26258f4 100644 --- a/service/personalize/api_op_DescribeEventTracker.go +++ b/service/personalize/api_op_DescribeEventTracker.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDescribeEventTrackerMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEventTrackerValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeFeatureTransformation.go b/service/personalize/api_op_DescribeFeatureTransformation.go index a968a686924..856b3aa8a71 100644 --- a/service/personalize/api_op_DescribeFeatureTransformation.go +++ b/service/personalize/api_op_DescribeFeatureTransformation.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDescribeFeatureTransformationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFeatureTransformationValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeFilter.go b/service/personalize/api_op_DescribeFilter.go index 25e9539a099..1f491aeaf99 100644 --- a/service/personalize/api_op_DescribeFilter.go +++ b/service/personalize/api_op_DescribeFilter.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDescribeFilterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFilterValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeMetricAttribution.go b/service/personalize/api_op_DescribeMetricAttribution.go index aaa2902abf1..af81df00ceb 100644 --- a/service/personalize/api_op_DescribeMetricAttribution.go +++ b/service/personalize/api_op_DescribeMetricAttribution.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDescribeMetricAttributionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeMetricAttributionValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeRecipe.go b/service/personalize/api_op_DescribeRecipe.go index 394c6ea9fb6..72c5e838849 100644 --- a/service/personalize/api_op_DescribeRecipe.go +++ b/service/personalize/api_op_DescribeRecipe.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeRecipeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRecipeValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeRecommender.go b/service/personalize/api_op_DescribeRecommender.go index cea69b1f6bd..ae566fb7380 100644 --- a/service/personalize/api_op_DescribeRecommender.go +++ b/service/personalize/api_op_DescribeRecommender.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeRecommenderMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRecommenderValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeSchema.go b/service/personalize/api_op_DescribeSchema.go index 4a775e39bc0..b4cbad115f2 100644 --- a/service/personalize/api_op_DescribeSchema.go +++ b/service/personalize/api_op_DescribeSchema.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribeSchemaMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSchemaValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeSolution.go b/service/personalize/api_op_DescribeSolution.go index 6d871227af1..8fc607e4c79 100644 --- a/service/personalize/api_op_DescribeSolution.go +++ b/service/personalize/api_op_DescribeSolution.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribeSolutionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSolutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_DescribeSolutionVersion.go b/service/personalize/api_op_DescribeSolutionVersion.go index a85221b2475..ecdaaf604f1 100644 --- a/service/personalize/api_op_DescribeSolutionVersion.go +++ b/service/personalize/api_op_DescribeSolutionVersion.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDescribeSolutionVersionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSolutionVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_GetSolutionMetrics.go b/service/personalize/api_op_GetSolutionMetrics.go index 989f2c4e55a..47082b278e9 100644 --- a/service/personalize/api_op_GetSolutionMetrics.go +++ b/service/personalize/api_op_GetSolutionMetrics.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetSolutionMetricsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSolutionMetricsValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_ListBatchInferenceJobs.go b/service/personalize/api_op_ListBatchInferenceJobs.go index f4241e60c95..fb45b1a57e1 100644 --- a/service/personalize/api_op_ListBatchInferenceJobs.go +++ b/service/personalize/api_op_ListBatchInferenceJobs.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListBatchInferenceJobsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBatchInferenceJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/personalize/api_op_ListBatchSegmentJobs.go b/service/personalize/api_op_ListBatchSegmentJobs.go index 19b9cf9fbed..2c60ce572ef 100644 --- a/service/personalize/api_op_ListBatchSegmentJobs.go +++ b/service/personalize/api_op_ListBatchSegmentJobs.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListBatchSegmentJobsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBatchSegmentJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/personalize/api_op_ListCampaigns.go b/service/personalize/api_op_ListCampaigns.go index 22102b184a0..5027dbd3956 100644 --- a/service/personalize/api_op_ListCampaigns.go +++ b/service/personalize/api_op_ListCampaigns.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListCampaignsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCampaigns(options.Region), middleware.Before); err != nil { return err } diff --git a/service/personalize/api_op_ListDataDeletionJobs.go b/service/personalize/api_op_ListDataDeletionJobs.go index 857da58cc75..974f61fb5c2 100644 --- a/service/personalize/api_op_ListDataDeletionJobs.go +++ b/service/personalize/api_op_ListDataDeletionJobs.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListDataDeletionJobsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataDeletionJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/personalize/api_op_ListDatasetExportJobs.go b/service/personalize/api_op_ListDatasetExportJobs.go index 304c6556319..f529cea1611 100644 --- a/service/personalize/api_op_ListDatasetExportJobs.go +++ b/service/personalize/api_op_ListDatasetExportJobs.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListDatasetExportJobsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatasetExportJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/personalize/api_op_ListDatasetGroups.go b/service/personalize/api_op_ListDatasetGroups.go index 0c41c593642..cd7ed14eea6 100644 --- a/service/personalize/api_op_ListDatasetGroups.go +++ b/service/personalize/api_op_ListDatasetGroups.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListDatasetGroupsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatasetGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/personalize/api_op_ListDatasetImportJobs.go b/service/personalize/api_op_ListDatasetImportJobs.go index 92bb62b76db..80c974df0e0 100644 --- a/service/personalize/api_op_ListDatasetImportJobs.go +++ b/service/personalize/api_op_ListDatasetImportJobs.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListDatasetImportJobsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatasetImportJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/personalize/api_op_ListDatasets.go b/service/personalize/api_op_ListDatasets.go index 8cbb6022ab7..0950dbe0350 100644 --- a/service/personalize/api_op_ListDatasets.go +++ b/service/personalize/api_op_ListDatasets.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListDatasetsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatasets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/personalize/api_op_ListEventTrackers.go b/service/personalize/api_op_ListEventTrackers.go index da1613468d0..6385ec61862 100644 --- a/service/personalize/api_op_ListEventTrackers.go +++ b/service/personalize/api_op_ListEventTrackers.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListEventTrackersMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEventTrackers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/personalize/api_op_ListFilters.go b/service/personalize/api_op_ListFilters.go index 0ed54c47f6a..981d6a504c8 100644 --- a/service/personalize/api_op_ListFilters.go +++ b/service/personalize/api_op_ListFilters.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListFiltersMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFilters(options.Region), middleware.Before); err != nil { return err } diff --git a/service/personalize/api_op_ListMetricAttributionMetrics.go b/service/personalize/api_op_ListMetricAttributionMetrics.go index 846634e4c28..df8d912d9c5 100644 --- a/service/personalize/api_op_ListMetricAttributionMetrics.go +++ b/service/personalize/api_op_ListMetricAttributionMetrics.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListMetricAttributionMetricsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMetricAttributionMetrics(options.Region), middleware.Before); err != nil { return err } diff --git a/service/personalize/api_op_ListMetricAttributions.go b/service/personalize/api_op_ListMetricAttributions.go index d64d39ee670..1685637c137 100644 --- a/service/personalize/api_op_ListMetricAttributions.go +++ b/service/personalize/api_op_ListMetricAttributions.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListMetricAttributionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMetricAttributions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/personalize/api_op_ListRecipes.go b/service/personalize/api_op_ListRecipes.go index 5153904b457..c169dfe9b26 100644 --- a/service/personalize/api_op_ListRecipes.go +++ b/service/personalize/api_op_ListRecipes.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListRecipesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRecipes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/personalize/api_op_ListRecommenders.go b/service/personalize/api_op_ListRecommenders.go index 7854bebdf9a..ba43bb10110 100644 --- a/service/personalize/api_op_ListRecommenders.go +++ b/service/personalize/api_op_ListRecommenders.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListRecommendersMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRecommenders(options.Region), middleware.Before); err != nil { return err } diff --git a/service/personalize/api_op_ListSchemas.go b/service/personalize/api_op_ListSchemas.go index f6552bbd33c..e882eb862f4 100644 --- a/service/personalize/api_op_ListSchemas.go +++ b/service/personalize/api_op_ListSchemas.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListSchemasMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSchemas(options.Region), middleware.Before); err != nil { return err } diff --git a/service/personalize/api_op_ListSolutionVersions.go b/service/personalize/api_op_ListSolutionVersions.go index 605bb9f38f9..46f91a37685 100644 --- a/service/personalize/api_op_ListSolutionVersions.go +++ b/service/personalize/api_op_ListSolutionVersions.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListSolutionVersionsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSolutionVersions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/personalize/api_op_ListSolutions.go b/service/personalize/api_op_ListSolutions.go index 0fd64be4154..c8603c9061f 100644 --- a/service/personalize/api_op_ListSolutions.go +++ b/service/personalize/api_op_ListSolutions.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListSolutionsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSolutions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/personalize/api_op_ListTagsForResource.go b/service/personalize/api_op_ListTagsForResource.go index b13423ac7d4..7c33f93810a 100644 --- a/service/personalize/api_op_ListTagsForResource.go +++ b/service/personalize/api_op_ListTagsForResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_StartRecommender.go b/service/personalize/api_op_StartRecommender.go index 93a66b475b9..70703cfe3e2 100644 --- a/service/personalize/api_op_StartRecommender.go +++ b/service/personalize/api_op_StartRecommender.go @@ -113,9 +113,6 @@ func (c *Client) addOperationStartRecommenderMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartRecommenderValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_StopRecommender.go b/service/personalize/api_op_StopRecommender.go index 7bf95b20a59..2bab8d242d5 100644 --- a/service/personalize/api_op_StopRecommender.go +++ b/service/personalize/api_op_StopRecommender.go @@ -112,9 +112,6 @@ func (c *Client) addOperationStopRecommenderMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopRecommenderValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_StopSolutionVersionCreation.go b/service/personalize/api_op_StopSolutionVersionCreation.go index ed5bd6449df..6e4e1ce4abf 100644 --- a/service/personalize/api_op_StopSolutionVersionCreation.go +++ b/service/personalize/api_op_StopSolutionVersionCreation.go @@ -122,9 +122,6 @@ func (c *Client) addOperationStopSolutionVersionCreationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopSolutionVersionCreationValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_TagResource.go b/service/personalize/api_op_TagResource.go index 00415a2cd1b..5a4599d469f 100644 --- a/service/personalize/api_op_TagResource.go +++ b/service/personalize/api_op_TagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_UntagResource.go b/service/personalize/api_op_UntagResource.go index 610c6907bdc..ab2a4d5f8eb 100644 --- a/service/personalize/api_op_UntagResource.go +++ b/service/personalize/api_op_UntagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_UpdateCampaign.go b/service/personalize/api_op_UpdateCampaign.go index d7c72b11333..04ad034a130 100644 --- a/service/personalize/api_op_UpdateCampaign.go +++ b/service/personalize/api_op_UpdateCampaign.go @@ -163,9 +163,6 @@ func (c *Client) addOperationUpdateCampaignMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCampaignValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_UpdateDataset.go b/service/personalize/api_op_UpdateDataset.go index 6184d93f45f..2794ecb95e5 100644 --- a/service/personalize/api_op_UpdateDataset.go +++ b/service/personalize/api_op_UpdateDataset.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateDatasetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_UpdateMetricAttribution.go b/service/personalize/api_op_UpdateMetricAttribution.go index afccfb9f56e..4b26bb8e789 100644 --- a/service/personalize/api_op_UpdateMetricAttribution.go +++ b/service/personalize/api_op_UpdateMetricAttribution.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateMetricAttributionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMetricAttributionValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_UpdateRecommender.go b/service/personalize/api_op_UpdateRecommender.go index 11f9f79ef45..83329fb3852 100644 --- a/service/personalize/api_op_UpdateRecommender.go +++ b/service/personalize/api_op_UpdateRecommender.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateRecommenderMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRecommenderValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/api_op_UpdateSolution.go b/service/personalize/api_op_UpdateSolution.go index 076afea8b66..c500eb3bef2 100644 --- a/service/personalize/api_op_UpdateSolution.go +++ b/service/personalize/api_op_UpdateSolution.go @@ -146,9 +146,6 @@ func (c *Client) addOperationUpdateSolutionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSolutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalize/snapshot/api_op_CreateBatchInferenceJob.go.snap b/service/personalize/snapshot/api_op_CreateBatchInferenceJob.go.snap index 0dd283dfe4c..7c163085ff4 100644 --- a/service/personalize/snapshot/api_op_CreateBatchInferenceJob.go.snap +++ b/service/personalize/snapshot/api_op_CreateBatchInferenceJob.go.snap @@ -14,7 +14,6 @@ CreateBatchInferenceJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_CreateBatchSegmentJob.go.snap b/service/personalize/snapshot/api_op_CreateBatchSegmentJob.go.snap index ca939e282b4..6f40b1f072e 100644 --- a/service/personalize/snapshot/api_op_CreateBatchSegmentJob.go.snap +++ b/service/personalize/snapshot/api_op_CreateBatchSegmentJob.go.snap @@ -14,7 +14,6 @@ CreateBatchSegmentJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_CreateCampaign.go.snap b/service/personalize/snapshot/api_op_CreateCampaign.go.snap index 006efd4883c..f323370a82c 100644 --- a/service/personalize/snapshot/api_op_CreateCampaign.go.snap +++ b/service/personalize/snapshot/api_op_CreateCampaign.go.snap @@ -14,7 +14,6 @@ CreateCampaign Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_CreateDataDeletionJob.go.snap b/service/personalize/snapshot/api_op_CreateDataDeletionJob.go.snap index 87d486a0a6f..42172698b38 100644 --- a/service/personalize/snapshot/api_op_CreateDataDeletionJob.go.snap +++ b/service/personalize/snapshot/api_op_CreateDataDeletionJob.go.snap @@ -14,7 +14,6 @@ CreateDataDeletionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_CreateDataset.go.snap b/service/personalize/snapshot/api_op_CreateDataset.go.snap index c90f0220921..cb35148be56 100644 --- a/service/personalize/snapshot/api_op_CreateDataset.go.snap +++ b/service/personalize/snapshot/api_op_CreateDataset.go.snap @@ -14,7 +14,6 @@ CreateDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_CreateDatasetExportJob.go.snap b/service/personalize/snapshot/api_op_CreateDatasetExportJob.go.snap index a35acf927bd..15bcadd4365 100644 --- a/service/personalize/snapshot/api_op_CreateDatasetExportJob.go.snap +++ b/service/personalize/snapshot/api_op_CreateDatasetExportJob.go.snap @@ -14,7 +14,6 @@ CreateDatasetExportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_CreateDatasetGroup.go.snap b/service/personalize/snapshot/api_op_CreateDatasetGroup.go.snap index 04f9ff529e5..52304fd9a71 100644 --- a/service/personalize/snapshot/api_op_CreateDatasetGroup.go.snap +++ b/service/personalize/snapshot/api_op_CreateDatasetGroup.go.snap @@ -14,7 +14,6 @@ CreateDatasetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_CreateDatasetImportJob.go.snap b/service/personalize/snapshot/api_op_CreateDatasetImportJob.go.snap index 5886dfabb38..a514973b3bc 100644 --- a/service/personalize/snapshot/api_op_CreateDatasetImportJob.go.snap +++ b/service/personalize/snapshot/api_op_CreateDatasetImportJob.go.snap @@ -14,7 +14,6 @@ CreateDatasetImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_CreateEventTracker.go.snap b/service/personalize/snapshot/api_op_CreateEventTracker.go.snap index 96e3987643a..580a585b0a7 100644 --- a/service/personalize/snapshot/api_op_CreateEventTracker.go.snap +++ b/service/personalize/snapshot/api_op_CreateEventTracker.go.snap @@ -14,7 +14,6 @@ CreateEventTracker Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_CreateFilter.go.snap b/service/personalize/snapshot/api_op_CreateFilter.go.snap index 7b3fdd34cc0..0e37ef10cb9 100644 --- a/service/personalize/snapshot/api_op_CreateFilter.go.snap +++ b/service/personalize/snapshot/api_op_CreateFilter.go.snap @@ -14,7 +14,6 @@ CreateFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_CreateMetricAttribution.go.snap b/service/personalize/snapshot/api_op_CreateMetricAttribution.go.snap index 4d16fcf30cc..352fed59ea8 100644 --- a/service/personalize/snapshot/api_op_CreateMetricAttribution.go.snap +++ b/service/personalize/snapshot/api_op_CreateMetricAttribution.go.snap @@ -14,7 +14,6 @@ CreateMetricAttribution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_CreateRecommender.go.snap b/service/personalize/snapshot/api_op_CreateRecommender.go.snap index cc32845bcde..9816439440c 100644 --- a/service/personalize/snapshot/api_op_CreateRecommender.go.snap +++ b/service/personalize/snapshot/api_op_CreateRecommender.go.snap @@ -14,7 +14,6 @@ CreateRecommender Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_CreateSchema.go.snap b/service/personalize/snapshot/api_op_CreateSchema.go.snap index 1d4156efd14..5922a5ee3e9 100644 --- a/service/personalize/snapshot/api_op_CreateSchema.go.snap +++ b/service/personalize/snapshot/api_op_CreateSchema.go.snap @@ -14,7 +14,6 @@ CreateSchema Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_CreateSolution.go.snap b/service/personalize/snapshot/api_op_CreateSolution.go.snap index 723239eabdf..d7ae01aad74 100644 --- a/service/personalize/snapshot/api_op_CreateSolution.go.snap +++ b/service/personalize/snapshot/api_op_CreateSolution.go.snap @@ -14,7 +14,6 @@ CreateSolution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_CreateSolutionVersion.go.snap b/service/personalize/snapshot/api_op_CreateSolutionVersion.go.snap index 410ae94e0b7..8b7a1f0d888 100644 --- a/service/personalize/snapshot/api_op_CreateSolutionVersion.go.snap +++ b/service/personalize/snapshot/api_op_CreateSolutionVersion.go.snap @@ -14,7 +14,6 @@ CreateSolutionVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_DeleteCampaign.go.snap b/service/personalize/snapshot/api_op_DeleteCampaign.go.snap index bc77c45f728..ddcf5fe9446 100644 --- a/service/personalize/snapshot/api_op_DeleteCampaign.go.snap +++ b/service/personalize/snapshot/api_op_DeleteCampaign.go.snap @@ -14,7 +14,6 @@ DeleteCampaign Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_DeleteDataset.go.snap b/service/personalize/snapshot/api_op_DeleteDataset.go.snap index fd65991f000..352313df04c 100644 --- a/service/personalize/snapshot/api_op_DeleteDataset.go.snap +++ b/service/personalize/snapshot/api_op_DeleteDataset.go.snap @@ -14,7 +14,6 @@ DeleteDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_DeleteDatasetGroup.go.snap b/service/personalize/snapshot/api_op_DeleteDatasetGroup.go.snap index 91f468caa5e..a2ff660eeaf 100644 --- a/service/personalize/snapshot/api_op_DeleteDatasetGroup.go.snap +++ b/service/personalize/snapshot/api_op_DeleteDatasetGroup.go.snap @@ -14,7 +14,6 @@ DeleteDatasetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_DeleteEventTracker.go.snap b/service/personalize/snapshot/api_op_DeleteEventTracker.go.snap index e29b6195c99..77ec8f1e27f 100644 --- a/service/personalize/snapshot/api_op_DeleteEventTracker.go.snap +++ b/service/personalize/snapshot/api_op_DeleteEventTracker.go.snap @@ -14,7 +14,6 @@ DeleteEventTracker Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_DeleteFilter.go.snap b/service/personalize/snapshot/api_op_DeleteFilter.go.snap index c8333d36574..dc61d9a3d0c 100644 --- a/service/personalize/snapshot/api_op_DeleteFilter.go.snap +++ b/service/personalize/snapshot/api_op_DeleteFilter.go.snap @@ -14,7 +14,6 @@ DeleteFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_DeleteMetricAttribution.go.snap b/service/personalize/snapshot/api_op_DeleteMetricAttribution.go.snap index 7a1380c32fb..aff8a6bfb44 100644 --- a/service/personalize/snapshot/api_op_DeleteMetricAttribution.go.snap +++ b/service/personalize/snapshot/api_op_DeleteMetricAttribution.go.snap @@ -14,7 +14,6 @@ DeleteMetricAttribution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_DeleteRecommender.go.snap b/service/personalize/snapshot/api_op_DeleteRecommender.go.snap index b86a76b6e94..b7623c8bb73 100644 --- a/service/personalize/snapshot/api_op_DeleteRecommender.go.snap +++ b/service/personalize/snapshot/api_op_DeleteRecommender.go.snap @@ -14,7 +14,6 @@ DeleteRecommender Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_DeleteSchema.go.snap b/service/personalize/snapshot/api_op_DeleteSchema.go.snap index 753ed53e6a6..043389aaa5f 100644 --- a/service/personalize/snapshot/api_op_DeleteSchema.go.snap +++ b/service/personalize/snapshot/api_op_DeleteSchema.go.snap @@ -14,7 +14,6 @@ DeleteSchema Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_DeleteSolution.go.snap b/service/personalize/snapshot/api_op_DeleteSolution.go.snap index c168e58fbee..95511bcbbc9 100644 --- a/service/personalize/snapshot/api_op_DeleteSolution.go.snap +++ b/service/personalize/snapshot/api_op_DeleteSolution.go.snap @@ -14,7 +14,6 @@ DeleteSolution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_DescribeAlgorithm.go.snap b/service/personalize/snapshot/api_op_DescribeAlgorithm.go.snap index 7b8d58fdf8c..0b0380aba27 100644 --- a/service/personalize/snapshot/api_op_DescribeAlgorithm.go.snap +++ b/service/personalize/snapshot/api_op_DescribeAlgorithm.go.snap @@ -14,7 +14,6 @@ DescribeAlgorithm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_DescribeBatchInferenceJob.go.snap b/service/personalize/snapshot/api_op_DescribeBatchInferenceJob.go.snap index 99f964970da..bb2b2f6e792 100644 --- a/service/personalize/snapshot/api_op_DescribeBatchInferenceJob.go.snap +++ b/service/personalize/snapshot/api_op_DescribeBatchInferenceJob.go.snap @@ -14,7 +14,6 @@ DescribeBatchInferenceJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_DescribeBatchSegmentJob.go.snap b/service/personalize/snapshot/api_op_DescribeBatchSegmentJob.go.snap index abc06f2eecb..a8b474375f4 100644 --- a/service/personalize/snapshot/api_op_DescribeBatchSegmentJob.go.snap +++ b/service/personalize/snapshot/api_op_DescribeBatchSegmentJob.go.snap @@ -14,7 +14,6 @@ DescribeBatchSegmentJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_DescribeCampaign.go.snap b/service/personalize/snapshot/api_op_DescribeCampaign.go.snap index 898a3bc7db5..f7512ec7254 100644 --- a/service/personalize/snapshot/api_op_DescribeCampaign.go.snap +++ b/service/personalize/snapshot/api_op_DescribeCampaign.go.snap @@ -14,7 +14,6 @@ DescribeCampaign Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_DescribeDataDeletionJob.go.snap b/service/personalize/snapshot/api_op_DescribeDataDeletionJob.go.snap index d02cb9ec5fb..51aed720a54 100644 --- a/service/personalize/snapshot/api_op_DescribeDataDeletionJob.go.snap +++ b/service/personalize/snapshot/api_op_DescribeDataDeletionJob.go.snap @@ -14,7 +14,6 @@ DescribeDataDeletionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_DescribeDataset.go.snap b/service/personalize/snapshot/api_op_DescribeDataset.go.snap index d62bad12867..091c433d575 100644 --- a/service/personalize/snapshot/api_op_DescribeDataset.go.snap +++ b/service/personalize/snapshot/api_op_DescribeDataset.go.snap @@ -14,7 +14,6 @@ DescribeDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_DescribeDatasetExportJob.go.snap b/service/personalize/snapshot/api_op_DescribeDatasetExportJob.go.snap index be03a51a2c8..22d60d1e1d6 100644 --- a/service/personalize/snapshot/api_op_DescribeDatasetExportJob.go.snap +++ b/service/personalize/snapshot/api_op_DescribeDatasetExportJob.go.snap @@ -14,7 +14,6 @@ DescribeDatasetExportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_DescribeDatasetGroup.go.snap b/service/personalize/snapshot/api_op_DescribeDatasetGroup.go.snap index 64f4b82b91c..c2d1bb327a4 100644 --- a/service/personalize/snapshot/api_op_DescribeDatasetGroup.go.snap +++ b/service/personalize/snapshot/api_op_DescribeDatasetGroup.go.snap @@ -14,7 +14,6 @@ DescribeDatasetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_DescribeDatasetImportJob.go.snap b/service/personalize/snapshot/api_op_DescribeDatasetImportJob.go.snap index eab54989651..818afa5e58f 100644 --- a/service/personalize/snapshot/api_op_DescribeDatasetImportJob.go.snap +++ b/service/personalize/snapshot/api_op_DescribeDatasetImportJob.go.snap @@ -14,7 +14,6 @@ DescribeDatasetImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_DescribeEventTracker.go.snap b/service/personalize/snapshot/api_op_DescribeEventTracker.go.snap index 61c6a153445..23460631140 100644 --- a/service/personalize/snapshot/api_op_DescribeEventTracker.go.snap +++ b/service/personalize/snapshot/api_op_DescribeEventTracker.go.snap @@ -14,7 +14,6 @@ DescribeEventTracker Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_DescribeFeatureTransformation.go.snap b/service/personalize/snapshot/api_op_DescribeFeatureTransformation.go.snap index cf667f52bf5..650105326e7 100644 --- a/service/personalize/snapshot/api_op_DescribeFeatureTransformation.go.snap +++ b/service/personalize/snapshot/api_op_DescribeFeatureTransformation.go.snap @@ -14,7 +14,6 @@ DescribeFeatureTransformation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_DescribeFilter.go.snap b/service/personalize/snapshot/api_op_DescribeFilter.go.snap index 4423f4ec1cd..4a82f786cf4 100644 --- a/service/personalize/snapshot/api_op_DescribeFilter.go.snap +++ b/service/personalize/snapshot/api_op_DescribeFilter.go.snap @@ -14,7 +14,6 @@ DescribeFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_DescribeMetricAttribution.go.snap b/service/personalize/snapshot/api_op_DescribeMetricAttribution.go.snap index c979c5da8b9..fea6bb8022f 100644 --- a/service/personalize/snapshot/api_op_DescribeMetricAttribution.go.snap +++ b/service/personalize/snapshot/api_op_DescribeMetricAttribution.go.snap @@ -14,7 +14,6 @@ DescribeMetricAttribution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_DescribeRecipe.go.snap b/service/personalize/snapshot/api_op_DescribeRecipe.go.snap index 2b206628042..aafd1ac577e 100644 --- a/service/personalize/snapshot/api_op_DescribeRecipe.go.snap +++ b/service/personalize/snapshot/api_op_DescribeRecipe.go.snap @@ -14,7 +14,6 @@ DescribeRecipe Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_DescribeRecommender.go.snap b/service/personalize/snapshot/api_op_DescribeRecommender.go.snap index 8152c800301..e64bf12660b 100644 --- a/service/personalize/snapshot/api_op_DescribeRecommender.go.snap +++ b/service/personalize/snapshot/api_op_DescribeRecommender.go.snap @@ -14,7 +14,6 @@ DescribeRecommender Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_DescribeSchema.go.snap b/service/personalize/snapshot/api_op_DescribeSchema.go.snap index ba3609dd7ce..c10b501ec3a 100644 --- a/service/personalize/snapshot/api_op_DescribeSchema.go.snap +++ b/service/personalize/snapshot/api_op_DescribeSchema.go.snap @@ -14,7 +14,6 @@ DescribeSchema Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_DescribeSolution.go.snap b/service/personalize/snapshot/api_op_DescribeSolution.go.snap index 36d1ae97964..8e8483ac030 100644 --- a/service/personalize/snapshot/api_op_DescribeSolution.go.snap +++ b/service/personalize/snapshot/api_op_DescribeSolution.go.snap @@ -14,7 +14,6 @@ DescribeSolution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_DescribeSolutionVersion.go.snap b/service/personalize/snapshot/api_op_DescribeSolutionVersion.go.snap index e5a137182b2..5d778d78a8f 100644 --- a/service/personalize/snapshot/api_op_DescribeSolutionVersion.go.snap +++ b/service/personalize/snapshot/api_op_DescribeSolutionVersion.go.snap @@ -14,7 +14,6 @@ DescribeSolutionVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_GetSolutionMetrics.go.snap b/service/personalize/snapshot/api_op_GetSolutionMetrics.go.snap index ad97a5b339c..c45ced01596 100644 --- a/service/personalize/snapshot/api_op_GetSolutionMetrics.go.snap +++ b/service/personalize/snapshot/api_op_GetSolutionMetrics.go.snap @@ -14,7 +14,6 @@ GetSolutionMetrics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_ListBatchInferenceJobs.go.snap b/service/personalize/snapshot/api_op_ListBatchInferenceJobs.go.snap index b44326fee3a..1b0a81c37b2 100644 --- a/service/personalize/snapshot/api_op_ListBatchInferenceJobs.go.snap +++ b/service/personalize/snapshot/api_op_ListBatchInferenceJobs.go.snap @@ -13,7 +13,6 @@ ListBatchInferenceJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_ListBatchSegmentJobs.go.snap b/service/personalize/snapshot/api_op_ListBatchSegmentJobs.go.snap index fc5e8d98b0f..904e8f82b0e 100644 --- a/service/personalize/snapshot/api_op_ListBatchSegmentJobs.go.snap +++ b/service/personalize/snapshot/api_op_ListBatchSegmentJobs.go.snap @@ -13,7 +13,6 @@ ListBatchSegmentJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_ListCampaigns.go.snap b/service/personalize/snapshot/api_op_ListCampaigns.go.snap index 322763cc348..438d8fec1ea 100644 --- a/service/personalize/snapshot/api_op_ListCampaigns.go.snap +++ b/service/personalize/snapshot/api_op_ListCampaigns.go.snap @@ -13,7 +13,6 @@ ListCampaigns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_ListDataDeletionJobs.go.snap b/service/personalize/snapshot/api_op_ListDataDeletionJobs.go.snap index 6378a93937c..bc7e5637fb4 100644 --- a/service/personalize/snapshot/api_op_ListDataDeletionJobs.go.snap +++ b/service/personalize/snapshot/api_op_ListDataDeletionJobs.go.snap @@ -13,7 +13,6 @@ ListDataDeletionJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_ListDatasetExportJobs.go.snap b/service/personalize/snapshot/api_op_ListDatasetExportJobs.go.snap index 73f56893742..c8bb594cec6 100644 --- a/service/personalize/snapshot/api_op_ListDatasetExportJobs.go.snap +++ b/service/personalize/snapshot/api_op_ListDatasetExportJobs.go.snap @@ -13,7 +13,6 @@ ListDatasetExportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_ListDatasetGroups.go.snap b/service/personalize/snapshot/api_op_ListDatasetGroups.go.snap index eabcfb11087..5135d4da59f 100644 --- a/service/personalize/snapshot/api_op_ListDatasetGroups.go.snap +++ b/service/personalize/snapshot/api_op_ListDatasetGroups.go.snap @@ -13,7 +13,6 @@ ListDatasetGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_ListDatasetImportJobs.go.snap b/service/personalize/snapshot/api_op_ListDatasetImportJobs.go.snap index 34094deab59..0c11f941d47 100644 --- a/service/personalize/snapshot/api_op_ListDatasetImportJobs.go.snap +++ b/service/personalize/snapshot/api_op_ListDatasetImportJobs.go.snap @@ -13,7 +13,6 @@ ListDatasetImportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_ListDatasets.go.snap b/service/personalize/snapshot/api_op_ListDatasets.go.snap index d12c69e04c8..2417c388432 100644 --- a/service/personalize/snapshot/api_op_ListDatasets.go.snap +++ b/service/personalize/snapshot/api_op_ListDatasets.go.snap @@ -13,7 +13,6 @@ ListDatasets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_ListEventTrackers.go.snap b/service/personalize/snapshot/api_op_ListEventTrackers.go.snap index 966f6678b81..57403e7cc9b 100644 --- a/service/personalize/snapshot/api_op_ListEventTrackers.go.snap +++ b/service/personalize/snapshot/api_op_ListEventTrackers.go.snap @@ -13,7 +13,6 @@ ListEventTrackers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_ListFilters.go.snap b/service/personalize/snapshot/api_op_ListFilters.go.snap index 6aefd926978..ec414d6f5a0 100644 --- a/service/personalize/snapshot/api_op_ListFilters.go.snap +++ b/service/personalize/snapshot/api_op_ListFilters.go.snap @@ -13,7 +13,6 @@ ListFilters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_ListMetricAttributionMetrics.go.snap b/service/personalize/snapshot/api_op_ListMetricAttributionMetrics.go.snap index 89eaaed3660..c09efe172e4 100644 --- a/service/personalize/snapshot/api_op_ListMetricAttributionMetrics.go.snap +++ b/service/personalize/snapshot/api_op_ListMetricAttributionMetrics.go.snap @@ -13,7 +13,6 @@ ListMetricAttributionMetrics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_ListMetricAttributions.go.snap b/service/personalize/snapshot/api_op_ListMetricAttributions.go.snap index 80ca75860b8..33a6d0315ff 100644 --- a/service/personalize/snapshot/api_op_ListMetricAttributions.go.snap +++ b/service/personalize/snapshot/api_op_ListMetricAttributions.go.snap @@ -13,7 +13,6 @@ ListMetricAttributions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_ListRecipes.go.snap b/service/personalize/snapshot/api_op_ListRecipes.go.snap index 440c05fc9a7..3a6c492711c 100644 --- a/service/personalize/snapshot/api_op_ListRecipes.go.snap +++ b/service/personalize/snapshot/api_op_ListRecipes.go.snap @@ -13,7 +13,6 @@ ListRecipes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_ListRecommenders.go.snap b/service/personalize/snapshot/api_op_ListRecommenders.go.snap index ee6a445cb94..d4f30732143 100644 --- a/service/personalize/snapshot/api_op_ListRecommenders.go.snap +++ b/service/personalize/snapshot/api_op_ListRecommenders.go.snap @@ -13,7 +13,6 @@ ListRecommenders Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_ListSchemas.go.snap b/service/personalize/snapshot/api_op_ListSchemas.go.snap index 5c0669fd020..81eef00558a 100644 --- a/service/personalize/snapshot/api_op_ListSchemas.go.snap +++ b/service/personalize/snapshot/api_op_ListSchemas.go.snap @@ -13,7 +13,6 @@ ListSchemas Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_ListSolutionVersions.go.snap b/service/personalize/snapshot/api_op_ListSolutionVersions.go.snap index e3db2d6f0f1..5eadba01bcd 100644 --- a/service/personalize/snapshot/api_op_ListSolutionVersions.go.snap +++ b/service/personalize/snapshot/api_op_ListSolutionVersions.go.snap @@ -13,7 +13,6 @@ ListSolutionVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_ListSolutions.go.snap b/service/personalize/snapshot/api_op_ListSolutions.go.snap index 1522c5b9c68..0bc5a52cb09 100644 --- a/service/personalize/snapshot/api_op_ListSolutions.go.snap +++ b/service/personalize/snapshot/api_op_ListSolutions.go.snap @@ -13,7 +13,6 @@ ListSolutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_ListTagsForResource.go.snap b/service/personalize/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/personalize/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/personalize/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_StartRecommender.go.snap b/service/personalize/snapshot/api_op_StartRecommender.go.snap index f8eecd8f186..dafb31178e5 100644 --- a/service/personalize/snapshot/api_op_StartRecommender.go.snap +++ b/service/personalize/snapshot/api_op_StartRecommender.go.snap @@ -14,7 +14,6 @@ StartRecommender Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_StopRecommender.go.snap b/service/personalize/snapshot/api_op_StopRecommender.go.snap index 39ef3f94ded..46dbac02e83 100644 --- a/service/personalize/snapshot/api_op_StopRecommender.go.snap +++ b/service/personalize/snapshot/api_op_StopRecommender.go.snap @@ -14,7 +14,6 @@ StopRecommender Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_StopSolutionVersionCreation.go.snap b/service/personalize/snapshot/api_op_StopSolutionVersionCreation.go.snap index 0eed5c4b4fe..bc8dc0ccb9e 100644 --- a/service/personalize/snapshot/api_op_StopSolutionVersionCreation.go.snap +++ b/service/personalize/snapshot/api_op_StopSolutionVersionCreation.go.snap @@ -14,7 +14,6 @@ StopSolutionVersionCreation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_TagResource.go.snap b/service/personalize/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/personalize/snapshot/api_op_TagResource.go.snap +++ b/service/personalize/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_UntagResource.go.snap b/service/personalize/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/personalize/snapshot/api_op_UntagResource.go.snap +++ b/service/personalize/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_UpdateCampaign.go.snap b/service/personalize/snapshot/api_op_UpdateCampaign.go.snap index 1cb9830b73d..4960b57cf5b 100644 --- a/service/personalize/snapshot/api_op_UpdateCampaign.go.snap +++ b/service/personalize/snapshot/api_op_UpdateCampaign.go.snap @@ -14,7 +14,6 @@ UpdateCampaign Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_UpdateDataset.go.snap b/service/personalize/snapshot/api_op_UpdateDataset.go.snap index bb0ad287ec6..20d8b892226 100644 --- a/service/personalize/snapshot/api_op_UpdateDataset.go.snap +++ b/service/personalize/snapshot/api_op_UpdateDataset.go.snap @@ -14,7 +14,6 @@ UpdateDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_UpdateMetricAttribution.go.snap b/service/personalize/snapshot/api_op_UpdateMetricAttribution.go.snap index fd2d82d7091..4b60be1b5e5 100644 --- a/service/personalize/snapshot/api_op_UpdateMetricAttribution.go.snap +++ b/service/personalize/snapshot/api_op_UpdateMetricAttribution.go.snap @@ -14,7 +14,6 @@ UpdateMetricAttribution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_UpdateRecommender.go.snap b/service/personalize/snapshot/api_op_UpdateRecommender.go.snap index 9fbbbe833c9..62fa8e42e8d 100644 --- a/service/personalize/snapshot/api_op_UpdateRecommender.go.snap +++ b/service/personalize/snapshot/api_op_UpdateRecommender.go.snap @@ -14,7 +14,6 @@ UpdateRecommender Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalize/snapshot/api_op_UpdateSolution.go.snap b/service/personalize/snapshot/api_op_UpdateSolution.go.snap index f1dd02f06b4..07014303b38 100644 --- a/service/personalize/snapshot/api_op_UpdateSolution.go.snap +++ b/service/personalize/snapshot/api_op_UpdateSolution.go.snap @@ -14,7 +14,6 @@ UpdateSolution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalizeevents/api_client.go b/service/personalizeevents/api_client.go index 4a6318cdc53..6058588d13b 100644 --- a/service/personalizeevents/api_client.go +++ b/service/personalizeevents/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/personalizeevents/api_op_PutActionInteractions.go b/service/personalizeevents/api_op_PutActionInteractions.go index 576c7969a8a..59294a03d5d 100644 --- a/service/personalizeevents/api_op_PutActionInteractions.go +++ b/service/personalizeevents/api_op_PutActionInteractions.go @@ -125,9 +125,6 @@ func (c *Client) addOperationPutActionInteractionsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutActionInteractionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalizeevents/api_op_PutActions.go b/service/personalizeevents/api_op_PutActions.go index c95687d1373..f35a3c75b9c 100644 --- a/service/personalizeevents/api_op_PutActions.go +++ b/service/personalizeevents/api_op_PutActions.go @@ -116,9 +116,6 @@ func (c *Client) addOperationPutActionsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutActionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalizeevents/api_op_PutEvents.go b/service/personalizeevents/api_op_PutEvents.go index c4864013481..46c69cbac66 100644 --- a/service/personalizeevents/api_op_PutEvents.go +++ b/service/personalizeevents/api_op_PutEvents.go @@ -130,9 +130,6 @@ func (c *Client) addOperationPutEventsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalizeevents/api_op_PutItems.go b/service/personalizeevents/api_op_PutItems.go index 8eb4656b3b2..5fb6655305b 100644 --- a/service/personalizeevents/api_op_PutItems.go +++ b/service/personalizeevents/api_op_PutItems.go @@ -116,9 +116,6 @@ func (c *Client) addOperationPutItemsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutItemsValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalizeevents/api_op_PutUsers.go b/service/personalizeevents/api_op_PutUsers.go index d0473d93ef9..541330fed11 100644 --- a/service/personalizeevents/api_op_PutUsers.go +++ b/service/personalizeevents/api_op_PutUsers.go @@ -116,9 +116,6 @@ func (c *Client) addOperationPutUsersMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutUsersValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalizeevents/snapshot/api_op_PutActionInteractions.go.snap b/service/personalizeevents/snapshot/api_op_PutActionInteractions.go.snap index 711936d8524..09ac3a0510a 100644 --- a/service/personalizeevents/snapshot/api_op_PutActionInteractions.go.snap +++ b/service/personalizeevents/snapshot/api_op_PutActionInteractions.go.snap @@ -14,7 +14,6 @@ PutActionInteractions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalizeevents/snapshot/api_op_PutActions.go.snap b/service/personalizeevents/snapshot/api_op_PutActions.go.snap index c989bc5cb8b..cef04fe80a9 100644 --- a/service/personalizeevents/snapshot/api_op_PutActions.go.snap +++ b/service/personalizeevents/snapshot/api_op_PutActions.go.snap @@ -14,7 +14,6 @@ PutActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalizeevents/snapshot/api_op_PutEvents.go.snap b/service/personalizeevents/snapshot/api_op_PutEvents.go.snap index e89dc6a29e8..84dd8b33f3d 100644 --- a/service/personalizeevents/snapshot/api_op_PutEvents.go.snap +++ b/service/personalizeevents/snapshot/api_op_PutEvents.go.snap @@ -14,7 +14,6 @@ PutEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalizeevents/snapshot/api_op_PutItems.go.snap b/service/personalizeevents/snapshot/api_op_PutItems.go.snap index 985d5df87b6..4e578e31349 100644 --- a/service/personalizeevents/snapshot/api_op_PutItems.go.snap +++ b/service/personalizeevents/snapshot/api_op_PutItems.go.snap @@ -14,7 +14,6 @@ PutItems Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalizeevents/snapshot/api_op_PutUsers.go.snap b/service/personalizeevents/snapshot/api_op_PutUsers.go.snap index 7779f9d624e..45d1092c7f6 100644 --- a/service/personalizeevents/snapshot/api_op_PutUsers.go.snap +++ b/service/personalizeevents/snapshot/api_op_PutUsers.go.snap @@ -14,7 +14,6 @@ PutUsers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalizeruntime/api_client.go b/service/personalizeruntime/api_client.go index 03290a80814..6dfe9058ab9 100644 --- a/service/personalizeruntime/api_client.go +++ b/service/personalizeruntime/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/personalizeruntime/api_op_GetActionRecommendations.go b/service/personalizeruntime/api_op_GetActionRecommendations.go index 97c83d2e746..b11ddac7ef2 100644 --- a/service/personalizeruntime/api_op_GetActionRecommendations.go +++ b/service/personalizeruntime/api_op_GetActionRecommendations.go @@ -158,9 +158,6 @@ func (c *Client) addOperationGetActionRecommendationsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetActionRecommendations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/personalizeruntime/api_op_GetPersonalizedRanking.go b/service/personalizeruntime/api_op_GetPersonalizedRanking.go index 858b7e1ce27..8df9c7aae09 100644 --- a/service/personalizeruntime/api_op_GetPersonalizedRanking.go +++ b/service/personalizeruntime/api_op_GetPersonalizedRanking.go @@ -173,9 +173,6 @@ func (c *Client) addOperationGetPersonalizedRankingMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPersonalizedRankingValidationMiddleware(stack); err != nil { return err } diff --git a/service/personalizeruntime/api_op_GetRecommendations.go b/service/personalizeruntime/api_op_GetRecommendations.go index 9d2d0918a42..9c1c1b85759 100644 --- a/service/personalizeruntime/api_op_GetRecommendations.go +++ b/service/personalizeruntime/api_op_GetRecommendations.go @@ -197,9 +197,6 @@ func (c *Client) addOperationGetRecommendationsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRecommendations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/personalizeruntime/snapshot/api_op_GetActionRecommendations.go.snap b/service/personalizeruntime/snapshot/api_op_GetActionRecommendations.go.snap index b8d61a7cd65..1eb4a076378 100644 --- a/service/personalizeruntime/snapshot/api_op_GetActionRecommendations.go.snap +++ b/service/personalizeruntime/snapshot/api_op_GetActionRecommendations.go.snap @@ -13,7 +13,6 @@ GetActionRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalizeruntime/snapshot/api_op_GetPersonalizedRanking.go.snap b/service/personalizeruntime/snapshot/api_op_GetPersonalizedRanking.go.snap index 953ed4a366e..ebe11818d26 100644 --- a/service/personalizeruntime/snapshot/api_op_GetPersonalizedRanking.go.snap +++ b/service/personalizeruntime/snapshot/api_op_GetPersonalizedRanking.go.snap @@ -14,7 +14,6 @@ GetPersonalizedRanking Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/personalizeruntime/snapshot/api_op_GetRecommendations.go.snap b/service/personalizeruntime/snapshot/api_op_GetRecommendations.go.snap index 00f015593d4..9e64011f853 100644 --- a/service/personalizeruntime/snapshot/api_op_GetRecommendations.go.snap +++ b/service/personalizeruntime/snapshot/api_op_GetRecommendations.go.snap @@ -13,7 +13,6 @@ GetRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pi/api_client.go b/service/pi/api_client.go index 87272452148..0f9ce34a53c 100644 --- a/service/pi/api_client.go +++ b/service/pi/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/pi/api_op_CreatePerformanceAnalysisReport.go b/service/pi/api_op_CreatePerformanceAnalysisReport.go index eba47c8d4de..78ef2303158 100644 --- a/service/pi/api_op_CreatePerformanceAnalysisReport.go +++ b/service/pi/api_op_CreatePerformanceAnalysisReport.go @@ -137,9 +137,6 @@ func (c *Client) addOperationCreatePerformanceAnalysisReportMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePerformanceAnalysisReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/pi/api_op_DeletePerformanceAnalysisReport.go b/service/pi/api_op_DeletePerformanceAnalysisReport.go index 58061923671..e179118d18a 100644 --- a/service/pi/api_op_DeletePerformanceAnalysisReport.go +++ b/service/pi/api_op_DeletePerformanceAnalysisReport.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDeletePerformanceAnalysisReportMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePerformanceAnalysisReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/pi/api_op_DescribeDimensionKeys.go b/service/pi/api_op_DescribeDimensionKeys.go index bc7f91e0c7c..13ba539d25a 100644 --- a/service/pi/api_op_DescribeDimensionKeys.go +++ b/service/pi/api_op_DescribeDimensionKeys.go @@ -247,9 +247,6 @@ func (c *Client) addOperationDescribeDimensionKeysMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDimensionKeysValidationMiddleware(stack); err != nil { return err } diff --git a/service/pi/api_op_GetDimensionKeyDetails.go b/service/pi/api_op_GetDimensionKeyDetails.go index d8c0e4fe7b7..f4297983465 100644 --- a/service/pi/api_op_GetDimensionKeyDetails.go +++ b/service/pi/api_op_GetDimensionKeyDetails.go @@ -177,9 +177,6 @@ func (c *Client) addOperationGetDimensionKeyDetailsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDimensionKeyDetailsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pi/api_op_GetPerformanceAnalysisReport.go b/service/pi/api_op_GetPerformanceAnalysisReport.go index ef18012f2cd..62e661c1946 100644 --- a/service/pi/api_op_GetPerformanceAnalysisReport.go +++ b/service/pi/api_op_GetPerformanceAnalysisReport.go @@ -139,9 +139,6 @@ func (c *Client) addOperationGetPerformanceAnalysisReportMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPerformanceAnalysisReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/pi/api_op_GetResourceMetadata.go b/service/pi/api_op_GetResourceMetadata.go index 8e4758b23be..9cc19323130 100644 --- a/service/pi/api_op_GetResourceMetadata.go +++ b/service/pi/api_op_GetResourceMetadata.go @@ -130,9 +130,6 @@ func (c *Client) addOperationGetResourceMetadataMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourceMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/pi/api_op_GetResourceMetrics.go b/service/pi/api_op_GetResourceMetrics.go index bb6cc800c6b..aeabd4578fc 100644 --- a/service/pi/api_op_GetResourceMetrics.go +++ b/service/pi/api_op_GetResourceMetrics.go @@ -218,9 +218,6 @@ func (c *Client) addOperationGetResourceMetricsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourceMetricsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pi/api_op_ListAvailableResourceDimensions.go b/service/pi/api_op_ListAvailableResourceDimensions.go index bcf0026dfa7..0d9ffb6ddd8 100644 --- a/service/pi/api_op_ListAvailableResourceDimensions.go +++ b/service/pi/api_op_ListAvailableResourceDimensions.go @@ -151,9 +151,6 @@ func (c *Client) addOperationListAvailableResourceDimensionsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAvailableResourceDimensionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pi/api_op_ListAvailableResourceMetrics.go b/service/pi/api_op_ListAvailableResourceMetrics.go index 21748070d71..edcaf4dd98a 100644 --- a/service/pi/api_op_ListAvailableResourceMetrics.go +++ b/service/pi/api_op_ListAvailableResourceMetrics.go @@ -151,9 +151,6 @@ func (c *Client) addOperationListAvailableResourceMetricsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAvailableResourceMetricsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pi/api_op_ListPerformanceAnalysisReports.go b/service/pi/api_op_ListPerformanceAnalysisReports.go index 83624b2d5aa..5850c530f7b 100644 --- a/service/pi/api_op_ListPerformanceAnalysisReports.go +++ b/service/pi/api_op_ListPerformanceAnalysisReports.go @@ -144,9 +144,6 @@ func (c *Client) addOperationListPerformanceAnalysisReportsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPerformanceAnalysisReportsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pi/api_op_ListTagsForResource.go b/service/pi/api_op_ListTagsForResource.go index 3ba453fce80..3f19445a523 100644 --- a/service/pi/api_op_ListTagsForResource.go +++ b/service/pi/api_op_ListTagsForResource.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/pi/api_op_TagResource.go b/service/pi/api_op_TagResource.go index eac66afbbe1..83df624913f 100644 --- a/service/pi/api_op_TagResource.go +++ b/service/pi/api_op_TagResource.go @@ -123,9 +123,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/pi/api_op_UntagResource.go b/service/pi/api_op_UntagResource.go index 32ea02318ed..2d97966eef1 100644 --- a/service/pi/api_op_UntagResource.go +++ b/service/pi/api_op_UntagResource.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/pi/snapshot/api_op_CreatePerformanceAnalysisReport.go.snap b/service/pi/snapshot/api_op_CreatePerformanceAnalysisReport.go.snap index f410d5377f6..205ae8594fb 100644 --- a/service/pi/snapshot/api_op_CreatePerformanceAnalysisReport.go.snap +++ b/service/pi/snapshot/api_op_CreatePerformanceAnalysisReport.go.snap @@ -14,7 +14,6 @@ CreatePerformanceAnalysisReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pi/snapshot/api_op_DeletePerformanceAnalysisReport.go.snap b/service/pi/snapshot/api_op_DeletePerformanceAnalysisReport.go.snap index d410cba504d..ae459a0c650 100644 --- a/service/pi/snapshot/api_op_DeletePerformanceAnalysisReport.go.snap +++ b/service/pi/snapshot/api_op_DeletePerformanceAnalysisReport.go.snap @@ -14,7 +14,6 @@ DeletePerformanceAnalysisReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pi/snapshot/api_op_DescribeDimensionKeys.go.snap b/service/pi/snapshot/api_op_DescribeDimensionKeys.go.snap index e9626a433f5..3667b7e0a1f 100644 --- a/service/pi/snapshot/api_op_DescribeDimensionKeys.go.snap +++ b/service/pi/snapshot/api_op_DescribeDimensionKeys.go.snap @@ -14,7 +14,6 @@ DescribeDimensionKeys Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pi/snapshot/api_op_GetDimensionKeyDetails.go.snap b/service/pi/snapshot/api_op_GetDimensionKeyDetails.go.snap index 9455187d5ae..6375a85dd21 100644 --- a/service/pi/snapshot/api_op_GetDimensionKeyDetails.go.snap +++ b/service/pi/snapshot/api_op_GetDimensionKeyDetails.go.snap @@ -14,7 +14,6 @@ GetDimensionKeyDetails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pi/snapshot/api_op_GetPerformanceAnalysisReport.go.snap b/service/pi/snapshot/api_op_GetPerformanceAnalysisReport.go.snap index 472659e4f7c..78c64bfa375 100644 --- a/service/pi/snapshot/api_op_GetPerformanceAnalysisReport.go.snap +++ b/service/pi/snapshot/api_op_GetPerformanceAnalysisReport.go.snap @@ -14,7 +14,6 @@ GetPerformanceAnalysisReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pi/snapshot/api_op_GetResourceMetadata.go.snap b/service/pi/snapshot/api_op_GetResourceMetadata.go.snap index 6f82a1140a0..f169717a7f7 100644 --- a/service/pi/snapshot/api_op_GetResourceMetadata.go.snap +++ b/service/pi/snapshot/api_op_GetResourceMetadata.go.snap @@ -14,7 +14,6 @@ GetResourceMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pi/snapshot/api_op_GetResourceMetrics.go.snap b/service/pi/snapshot/api_op_GetResourceMetrics.go.snap index 6b10e86fce3..34659662522 100644 --- a/service/pi/snapshot/api_op_GetResourceMetrics.go.snap +++ b/service/pi/snapshot/api_op_GetResourceMetrics.go.snap @@ -14,7 +14,6 @@ GetResourceMetrics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pi/snapshot/api_op_ListAvailableResourceDimensions.go.snap b/service/pi/snapshot/api_op_ListAvailableResourceDimensions.go.snap index cf67d813b43..3dc679731eb 100644 --- a/service/pi/snapshot/api_op_ListAvailableResourceDimensions.go.snap +++ b/service/pi/snapshot/api_op_ListAvailableResourceDimensions.go.snap @@ -14,7 +14,6 @@ ListAvailableResourceDimensions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pi/snapshot/api_op_ListAvailableResourceMetrics.go.snap b/service/pi/snapshot/api_op_ListAvailableResourceMetrics.go.snap index baf6f6a041f..b42bdf06673 100644 --- a/service/pi/snapshot/api_op_ListAvailableResourceMetrics.go.snap +++ b/service/pi/snapshot/api_op_ListAvailableResourceMetrics.go.snap @@ -14,7 +14,6 @@ ListAvailableResourceMetrics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pi/snapshot/api_op_ListPerformanceAnalysisReports.go.snap b/service/pi/snapshot/api_op_ListPerformanceAnalysisReports.go.snap index f239deb17cd..ac34dd02ac7 100644 --- a/service/pi/snapshot/api_op_ListPerformanceAnalysisReports.go.snap +++ b/service/pi/snapshot/api_op_ListPerformanceAnalysisReports.go.snap @@ -14,7 +14,6 @@ ListPerformanceAnalysisReports Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pi/snapshot/api_op_ListTagsForResource.go.snap b/service/pi/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/pi/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/pi/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pi/snapshot/api_op_TagResource.go.snap b/service/pi/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/pi/snapshot/api_op_TagResource.go.snap +++ b/service/pi/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pi/snapshot/api_op_UntagResource.go.snap b/service/pi/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/pi/snapshot/api_op_UntagResource.go.snap +++ b/service/pi/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/api_client.go b/service/pinpoint/api_client.go index d22c17d5062..ea8f7bc5625 100644 --- a/service/pinpoint/api_client.go +++ b/service/pinpoint/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/pinpoint/api_op_CreateApp.go b/service/pinpoint/api_op_CreateApp.go index eee1fc5f495..93f307a7641 100644 --- a/service/pinpoint/api_op_CreateApp.go +++ b/service/pinpoint/api_op_CreateApp.go @@ -115,9 +115,6 @@ func (c *Client) addOperationCreateAppMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAppValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_CreateCampaign.go b/service/pinpoint/api_op_CreateCampaign.go index 7c2b043480b..934b2822e8a 100644 --- a/service/pinpoint/api_op_CreateCampaign.go +++ b/service/pinpoint/api_op_CreateCampaign.go @@ -122,9 +122,6 @@ func (c *Client) addOperationCreateCampaignMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCampaignValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_CreateEmailTemplate.go b/service/pinpoint/api_op_CreateEmailTemplate.go index 40bb4b20f12..9ce6f489896 100644 --- a/service/pinpoint/api_op_CreateEmailTemplate.go +++ b/service/pinpoint/api_op_CreateEmailTemplate.go @@ -123,9 +123,6 @@ func (c *Client) addOperationCreateEmailTemplateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEmailTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_CreateExportJob.go b/service/pinpoint/api_op_CreateExportJob.go index f8f42967d94..78b1626d88a 100644 --- a/service/pinpoint/api_op_CreateExportJob.go +++ b/service/pinpoint/api_op_CreateExportJob.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCreateExportJobMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateExportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_CreateImportJob.go b/service/pinpoint/api_op_CreateImportJob.go index e9b58ac61f5..dca3f4f8602 100644 --- a/service/pinpoint/api_op_CreateImportJob.go +++ b/service/pinpoint/api_op_CreateImportJob.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCreateImportJobMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateImportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_CreateInAppTemplate.go b/service/pinpoint/api_op_CreateInAppTemplate.go index 11b88be4ef8..9d5692cf7a8 100644 --- a/service/pinpoint/api_op_CreateInAppTemplate.go +++ b/service/pinpoint/api_op_CreateInAppTemplate.go @@ -122,9 +122,6 @@ func (c *Client) addOperationCreateInAppTemplateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateInAppTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_CreateJourney.go b/service/pinpoint/api_op_CreateJourney.go index 7a5708ea088..3f15c226a1c 100644 --- a/service/pinpoint/api_op_CreateJourney.go +++ b/service/pinpoint/api_op_CreateJourney.go @@ -121,9 +121,6 @@ func (c *Client) addOperationCreateJourneyMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateJourneyValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_CreatePushTemplate.go b/service/pinpoint/api_op_CreatePushTemplate.go index c15135aaf00..ba8bfe8f6b5 100644 --- a/service/pinpoint/api_op_CreatePushTemplate.go +++ b/service/pinpoint/api_op_CreatePushTemplate.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCreatePushTemplateMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePushTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_CreateRecommenderConfiguration.go b/service/pinpoint/api_op_CreateRecommenderConfiguration.go index 0958d5d5d9e..71b2d44187a 100644 --- a/service/pinpoint/api_op_CreateRecommenderConfiguration.go +++ b/service/pinpoint/api_op_CreateRecommenderConfiguration.go @@ -116,9 +116,6 @@ func (c *Client) addOperationCreateRecommenderConfigurationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRecommenderConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_CreateSegment.go b/service/pinpoint/api_op_CreateSegment.go index d5450110221..08534eee48f 100644 --- a/service/pinpoint/api_op_CreateSegment.go +++ b/service/pinpoint/api_op_CreateSegment.go @@ -125,9 +125,6 @@ func (c *Client) addOperationCreateSegmentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSegmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_CreateSmsTemplate.go b/service/pinpoint/api_op_CreateSmsTemplate.go index 6dcdfcca5b1..9a6e610129f 100644 --- a/service/pinpoint/api_op_CreateSmsTemplate.go +++ b/service/pinpoint/api_op_CreateSmsTemplate.go @@ -123,9 +123,6 @@ func (c *Client) addOperationCreateSmsTemplateMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSmsTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_CreateVoiceTemplate.go b/service/pinpoint/api_op_CreateVoiceTemplate.go index 980e0c72bc6..2c0994d399f 100644 --- a/service/pinpoint/api_op_CreateVoiceTemplate.go +++ b/service/pinpoint/api_op_CreateVoiceTemplate.go @@ -123,9 +123,6 @@ func (c *Client) addOperationCreateVoiceTemplateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVoiceTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteAdmChannel.go b/service/pinpoint/api_op_DeleteAdmChannel.go index 22eac781632..860375706ea 100644 --- a/service/pinpoint/api_op_DeleteAdmChannel.go +++ b/service/pinpoint/api_op_DeleteAdmChannel.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteAdmChannelMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAdmChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteApnsChannel.go b/service/pinpoint/api_op_DeleteApnsChannel.go index 434bc1a7fb7..05d24e3667f 100644 --- a/service/pinpoint/api_op_DeleteApnsChannel.go +++ b/service/pinpoint/api_op_DeleteApnsChannel.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteApnsChannelMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApnsChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteApnsSandboxChannel.go b/service/pinpoint/api_op_DeleteApnsSandboxChannel.go index 3745989179e..cc3d6d2f922 100644 --- a/service/pinpoint/api_op_DeleteApnsSandboxChannel.go +++ b/service/pinpoint/api_op_DeleteApnsSandboxChannel.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteApnsSandboxChannelMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApnsSandboxChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteApnsVoipChannel.go b/service/pinpoint/api_op_DeleteApnsVoipChannel.go index c5a2af40143..d40723e23ce 100644 --- a/service/pinpoint/api_op_DeleteApnsVoipChannel.go +++ b/service/pinpoint/api_op_DeleteApnsVoipChannel.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteApnsVoipChannelMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApnsVoipChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteApnsVoipSandboxChannel.go b/service/pinpoint/api_op_DeleteApnsVoipSandboxChannel.go index afa66032715..bbf5c863bd1 100644 --- a/service/pinpoint/api_op_DeleteApnsVoipSandboxChannel.go +++ b/service/pinpoint/api_op_DeleteApnsVoipSandboxChannel.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteApnsVoipSandboxChannelMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApnsVoipSandboxChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteApp.go b/service/pinpoint/api_op_DeleteApp.go index 7d6348644d7..1db098af9d3 100644 --- a/service/pinpoint/api_op_DeleteApp.go +++ b/service/pinpoint/api_op_DeleteApp.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteAppMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAppValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteBaiduChannel.go b/service/pinpoint/api_op_DeleteBaiduChannel.go index 9a2f54b313b..5a6ad98f4b0 100644 --- a/service/pinpoint/api_op_DeleteBaiduChannel.go +++ b/service/pinpoint/api_op_DeleteBaiduChannel.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteBaiduChannelMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBaiduChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteCampaign.go b/service/pinpoint/api_op_DeleteCampaign.go index 1f3e9ec625d..01d4014636b 100644 --- a/service/pinpoint/api_op_DeleteCampaign.go +++ b/service/pinpoint/api_op_DeleteCampaign.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteCampaignMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCampaignValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteEmailChannel.go b/service/pinpoint/api_op_DeleteEmailChannel.go index 3bab98cce14..9cef72e4fe7 100644 --- a/service/pinpoint/api_op_DeleteEmailChannel.go +++ b/service/pinpoint/api_op_DeleteEmailChannel.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteEmailChannelMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEmailChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteEmailTemplate.go b/service/pinpoint/api_op_DeleteEmailTemplate.go index 1c708cfb238..7942662e684 100644 --- a/service/pinpoint/api_op_DeleteEmailTemplate.go +++ b/service/pinpoint/api_op_DeleteEmailTemplate.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDeleteEmailTemplateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEmailTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteEndpoint.go b/service/pinpoint/api_op_DeleteEndpoint.go index c1db6ac6f10..8c1a40fa577 100644 --- a/service/pinpoint/api_op_DeleteEndpoint.go +++ b/service/pinpoint/api_op_DeleteEndpoint.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteEndpointMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteEventStream.go b/service/pinpoint/api_op_DeleteEventStream.go index a1f8460c66b..b6e75e6ad8e 100644 --- a/service/pinpoint/api_op_DeleteEventStream.go +++ b/service/pinpoint/api_op_DeleteEventStream.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteEventStreamMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEventStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteGcmChannel.go b/service/pinpoint/api_op_DeleteGcmChannel.go index e7bac185852..46abbeea0e1 100644 --- a/service/pinpoint/api_op_DeleteGcmChannel.go +++ b/service/pinpoint/api_op_DeleteGcmChannel.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteGcmChannelMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGcmChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteInAppTemplate.go b/service/pinpoint/api_op_DeleteInAppTemplate.go index e8f15d4fc93..e86c5a22414 100644 --- a/service/pinpoint/api_op_DeleteInAppTemplate.go +++ b/service/pinpoint/api_op_DeleteInAppTemplate.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDeleteInAppTemplateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInAppTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteJourney.go b/service/pinpoint/api_op_DeleteJourney.go index 67de0638676..63b637284b9 100644 --- a/service/pinpoint/api_op_DeleteJourney.go +++ b/service/pinpoint/api_op_DeleteJourney.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteJourneyMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteJourneyValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeletePushTemplate.go b/service/pinpoint/api_op_DeletePushTemplate.go index 3557fe57c7f..d022cfde4d2 100644 --- a/service/pinpoint/api_op_DeletePushTemplate.go +++ b/service/pinpoint/api_op_DeletePushTemplate.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDeletePushTemplateMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePushTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteRecommenderConfiguration.go b/service/pinpoint/api_op_DeleteRecommenderConfiguration.go index c5e2bd79f18..c64644f3e0f 100644 --- a/service/pinpoint/api_op_DeleteRecommenderConfiguration.go +++ b/service/pinpoint/api_op_DeleteRecommenderConfiguration.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteRecommenderConfigurationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRecommenderConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteSegment.go b/service/pinpoint/api_op_DeleteSegment.go index ed24887a0f2..d89741ae43a 100644 --- a/service/pinpoint/api_op_DeleteSegment.go +++ b/service/pinpoint/api_op_DeleteSegment.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteSegmentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSegmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteSmsChannel.go b/service/pinpoint/api_op_DeleteSmsChannel.go index 0f9f5a60c8f..d68e8e6e276 100644 --- a/service/pinpoint/api_op_DeleteSmsChannel.go +++ b/service/pinpoint/api_op_DeleteSmsChannel.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteSmsChannelMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSmsChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteSmsTemplate.go b/service/pinpoint/api_op_DeleteSmsTemplate.go index 7609b53394c..1c7a49447f0 100644 --- a/service/pinpoint/api_op_DeleteSmsTemplate.go +++ b/service/pinpoint/api_op_DeleteSmsTemplate.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDeleteSmsTemplateMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSmsTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteUserEndpoints.go b/service/pinpoint/api_op_DeleteUserEndpoints.go index 0a1853fa5a9..dc84ff2f9df 100644 --- a/service/pinpoint/api_op_DeleteUserEndpoints.go +++ b/service/pinpoint/api_op_DeleteUserEndpoints.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteUserEndpointsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUserEndpointsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteVoiceChannel.go b/service/pinpoint/api_op_DeleteVoiceChannel.go index aa8da9fa059..cc3dcbce903 100644 --- a/service/pinpoint/api_op_DeleteVoiceChannel.go +++ b/service/pinpoint/api_op_DeleteVoiceChannel.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteVoiceChannelMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVoiceChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_DeleteVoiceTemplate.go b/service/pinpoint/api_op_DeleteVoiceTemplate.go index c30307b0e1c..88d8c2038b5 100644 --- a/service/pinpoint/api_op_DeleteVoiceTemplate.go +++ b/service/pinpoint/api_op_DeleteVoiceTemplate.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDeleteVoiceTemplateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVoiceTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetAdmChannel.go b/service/pinpoint/api_op_GetAdmChannel.go index dc07ce1482d..9cba179beb2 100644 --- a/service/pinpoint/api_op_GetAdmChannel.go +++ b/service/pinpoint/api_op_GetAdmChannel.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetAdmChannelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAdmChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetApnsChannel.go b/service/pinpoint/api_op_GetApnsChannel.go index 36c6ba9cc7e..b25de399e68 100644 --- a/service/pinpoint/api_op_GetApnsChannel.go +++ b/service/pinpoint/api_op_GetApnsChannel.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetApnsChannelMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApnsChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetApnsSandboxChannel.go b/service/pinpoint/api_op_GetApnsSandboxChannel.go index 2977bd750fa..95f0df65d8b 100644 --- a/service/pinpoint/api_op_GetApnsSandboxChannel.go +++ b/service/pinpoint/api_op_GetApnsSandboxChannel.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetApnsSandboxChannelMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApnsSandboxChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetApnsVoipChannel.go b/service/pinpoint/api_op_GetApnsVoipChannel.go index e2d0aba85ac..2e410e398fe 100644 --- a/service/pinpoint/api_op_GetApnsVoipChannel.go +++ b/service/pinpoint/api_op_GetApnsVoipChannel.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetApnsVoipChannelMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApnsVoipChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetApnsVoipSandboxChannel.go b/service/pinpoint/api_op_GetApnsVoipSandboxChannel.go index d669b871aad..820cae2cc05 100644 --- a/service/pinpoint/api_op_GetApnsVoipSandboxChannel.go +++ b/service/pinpoint/api_op_GetApnsVoipSandboxChannel.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetApnsVoipSandboxChannelMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApnsVoipSandboxChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetApp.go b/service/pinpoint/api_op_GetApp.go index f830a2530ce..e98358a3f59 100644 --- a/service/pinpoint/api_op_GetApp.go +++ b/service/pinpoint/api_op_GetApp.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetAppMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAppValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetApplicationDateRangeKpi.go b/service/pinpoint/api_op_GetApplicationDateRangeKpi.go index 944fcd55200..4eeabd17418 100644 --- a/service/pinpoint/api_op_GetApplicationDateRangeKpi.go +++ b/service/pinpoint/api_op_GetApplicationDateRangeKpi.go @@ -151,9 +151,6 @@ func (c *Client) addOperationGetApplicationDateRangeKpiMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApplicationDateRangeKpiValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetApplicationSettings.go b/service/pinpoint/api_op_GetApplicationSettings.go index 46605be4d2f..83b98865482 100644 --- a/service/pinpoint/api_op_GetApplicationSettings.go +++ b/service/pinpoint/api_op_GetApplicationSettings.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetApplicationSettingsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApplicationSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetApps.go b/service/pinpoint/api_op_GetApps.go index 90b44c77ae5..21ab59c5a9f 100644 --- a/service/pinpoint/api_op_GetApps.go +++ b/service/pinpoint/api_op_GetApps.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetAppsMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApps(options.Region), middleware.Before); err != nil { return err } diff --git a/service/pinpoint/api_op_GetBaiduChannel.go b/service/pinpoint/api_op_GetBaiduChannel.go index bc96df3baae..5b2ad063a41 100644 --- a/service/pinpoint/api_op_GetBaiduChannel.go +++ b/service/pinpoint/api_op_GetBaiduChannel.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetBaiduChannelMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBaiduChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetCampaign.go b/service/pinpoint/api_op_GetCampaign.go index f79c0cb7abf..3396d020464 100644 --- a/service/pinpoint/api_op_GetCampaign.go +++ b/service/pinpoint/api_op_GetCampaign.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetCampaignMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCampaignValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetCampaignActivities.go b/service/pinpoint/api_op_GetCampaignActivities.go index 6b984c1e71f..aff5be1beb7 100644 --- a/service/pinpoint/api_op_GetCampaignActivities.go +++ b/service/pinpoint/api_op_GetCampaignActivities.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetCampaignActivitiesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCampaignActivitiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetCampaignDateRangeKpi.go b/service/pinpoint/api_op_GetCampaignDateRangeKpi.go index 5bfba42c40e..5e65c0ca8df 100644 --- a/service/pinpoint/api_op_GetCampaignDateRangeKpi.go +++ b/service/pinpoint/api_op_GetCampaignDateRangeKpi.go @@ -156,9 +156,6 @@ func (c *Client) addOperationGetCampaignDateRangeKpiMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCampaignDateRangeKpiValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetCampaignVersion.go b/service/pinpoint/api_op_GetCampaignVersion.go index 0a43362d9d5..2153b7d8309 100644 --- a/service/pinpoint/api_op_GetCampaignVersion.go +++ b/service/pinpoint/api_op_GetCampaignVersion.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetCampaignVersionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCampaignVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetCampaignVersions.go b/service/pinpoint/api_op_GetCampaignVersions.go index 1e3bdc60fd2..8c3076fcced 100644 --- a/service/pinpoint/api_op_GetCampaignVersions.go +++ b/service/pinpoint/api_op_GetCampaignVersions.go @@ -130,9 +130,6 @@ func (c *Client) addOperationGetCampaignVersionsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCampaignVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetCampaigns.go b/service/pinpoint/api_op_GetCampaigns.go index dbeeae6efdf..cb5cdbde473 100644 --- a/service/pinpoint/api_op_GetCampaigns.go +++ b/service/pinpoint/api_op_GetCampaigns.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetCampaignsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCampaignsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetChannels.go b/service/pinpoint/api_op_GetChannels.go index 62a77741eb7..48b0481c20f 100644 --- a/service/pinpoint/api_op_GetChannels.go +++ b/service/pinpoint/api_op_GetChannels.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetChannelsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetChannelsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetEmailChannel.go b/service/pinpoint/api_op_GetEmailChannel.go index 1f6823880f0..c8e41d7ff96 100644 --- a/service/pinpoint/api_op_GetEmailChannel.go +++ b/service/pinpoint/api_op_GetEmailChannel.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetEmailChannelMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEmailChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetEmailTemplate.go b/service/pinpoint/api_op_GetEmailTemplate.go index 319c410db82..e52376fab24 100644 --- a/service/pinpoint/api_op_GetEmailTemplate.go +++ b/service/pinpoint/api_op_GetEmailTemplate.go @@ -143,9 +143,6 @@ func (c *Client) addOperationGetEmailTemplateMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEmailTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetEndpoint.go b/service/pinpoint/api_op_GetEndpoint.go index 7d5fd4eeb88..fb17700e94f 100644 --- a/service/pinpoint/api_op_GetEndpoint.go +++ b/service/pinpoint/api_op_GetEndpoint.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetEndpointMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetEventStream.go b/service/pinpoint/api_op_GetEventStream.go index f89e480c885..6237c8eb6de 100644 --- a/service/pinpoint/api_op_GetEventStream.go +++ b/service/pinpoint/api_op_GetEventStream.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetEventStreamMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEventStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetExportJob.go b/service/pinpoint/api_op_GetExportJob.go index 70d656ee2ff..a350dbfc317 100644 --- a/service/pinpoint/api_op_GetExportJob.go +++ b/service/pinpoint/api_op_GetExportJob.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetExportJobMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetExportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetExportJobs.go b/service/pinpoint/api_op_GetExportJobs.go index e06cd0401e6..88a3e174c6b 100644 --- a/service/pinpoint/api_op_GetExportJobs.go +++ b/service/pinpoint/api_op_GetExportJobs.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetExportJobsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetExportJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetGcmChannel.go b/service/pinpoint/api_op_GetGcmChannel.go index ad262d9a123..08c21f3ca43 100644 --- a/service/pinpoint/api_op_GetGcmChannel.go +++ b/service/pinpoint/api_op_GetGcmChannel.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetGcmChannelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetGcmChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetImportJob.go b/service/pinpoint/api_op_GetImportJob.go index 2a4a1178845..127d2941a70 100644 --- a/service/pinpoint/api_op_GetImportJob.go +++ b/service/pinpoint/api_op_GetImportJob.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetImportJobMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetImportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetImportJobs.go b/service/pinpoint/api_op_GetImportJobs.go index c036891f9e8..cc8834df8fd 100644 --- a/service/pinpoint/api_op_GetImportJobs.go +++ b/service/pinpoint/api_op_GetImportJobs.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetImportJobsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetImportJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetInAppMessages.go b/service/pinpoint/api_op_GetInAppMessages.go index 25ebae1407e..871226f92db 100644 --- a/service/pinpoint/api_op_GetInAppMessages.go +++ b/service/pinpoint/api_op_GetInAppMessages.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetInAppMessagesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInAppMessagesValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetInAppTemplate.go b/service/pinpoint/api_op_GetInAppTemplate.go index 6e0b7156f46..f9fe8828078 100644 --- a/service/pinpoint/api_op_GetInAppTemplate.go +++ b/service/pinpoint/api_op_GetInAppTemplate.go @@ -142,9 +142,6 @@ func (c *Client) addOperationGetInAppTemplateMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInAppTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetJourney.go b/service/pinpoint/api_op_GetJourney.go index 83b5cb12518..7384d03415e 100644 --- a/service/pinpoint/api_op_GetJourney.go +++ b/service/pinpoint/api_op_GetJourney.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetJourneyMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetJourneyValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetJourneyDateRangeKpi.go b/service/pinpoint/api_op_GetJourneyDateRangeKpi.go index 6124adef77b..0056cb2f189 100644 --- a/service/pinpoint/api_op_GetJourneyDateRangeKpi.go +++ b/service/pinpoint/api_op_GetJourneyDateRangeKpi.go @@ -157,9 +157,6 @@ func (c *Client) addOperationGetJourneyDateRangeKpiMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetJourneyDateRangeKpiValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetJourneyExecutionActivityMetrics.go b/service/pinpoint/api_op_GetJourneyExecutionActivityMetrics.go index 2253da26f68..9f044b488c8 100644 --- a/service/pinpoint/api_op_GetJourneyExecutionActivityMetrics.go +++ b/service/pinpoint/api_op_GetJourneyExecutionActivityMetrics.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGetJourneyExecutionActivityMetricsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetJourneyExecutionActivityMetricsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetJourneyExecutionMetrics.go b/service/pinpoint/api_op_GetJourneyExecutionMetrics.go index 9762f85e3d3..7646907df7b 100644 --- a/service/pinpoint/api_op_GetJourneyExecutionMetrics.go +++ b/service/pinpoint/api_op_GetJourneyExecutionMetrics.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetJourneyExecutionMetricsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetJourneyExecutionMetricsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetJourneyRunExecutionActivityMetrics.go b/service/pinpoint/api_op_GetJourneyRunExecutionActivityMetrics.go index b757bfd5407..5f9ce86bd63 100644 --- a/service/pinpoint/api_op_GetJourneyRunExecutionActivityMetrics.go +++ b/service/pinpoint/api_op_GetJourneyRunExecutionActivityMetrics.go @@ -142,9 +142,6 @@ func (c *Client) addOperationGetJourneyRunExecutionActivityMetricsMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetJourneyRunExecutionActivityMetricsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetJourneyRunExecutionMetrics.go b/service/pinpoint/api_op_GetJourneyRunExecutionMetrics.go index b073ca17ff6..9bda4fa5ed1 100644 --- a/service/pinpoint/api_op_GetJourneyRunExecutionMetrics.go +++ b/service/pinpoint/api_op_GetJourneyRunExecutionMetrics.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGetJourneyRunExecutionMetricsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetJourneyRunExecutionMetricsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetJourneyRuns.go b/service/pinpoint/api_op_GetJourneyRuns.go index 291d51032f2..e867ad930c3 100644 --- a/service/pinpoint/api_op_GetJourneyRuns.go +++ b/service/pinpoint/api_op_GetJourneyRuns.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetJourneyRunsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetJourneyRunsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetPushTemplate.go b/service/pinpoint/api_op_GetPushTemplate.go index 9144690dd09..59b2ab593eb 100644 --- a/service/pinpoint/api_op_GetPushTemplate.go +++ b/service/pinpoint/api_op_GetPushTemplate.go @@ -143,9 +143,6 @@ func (c *Client) addOperationGetPushTemplateMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPushTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetRecommenderConfiguration.go b/service/pinpoint/api_op_GetRecommenderConfiguration.go index 719f764b69d..737a6b04955 100644 --- a/service/pinpoint/api_op_GetRecommenderConfiguration.go +++ b/service/pinpoint/api_op_GetRecommenderConfiguration.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetRecommenderConfigurationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRecommenderConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetRecommenderConfigurations.go b/service/pinpoint/api_op_GetRecommenderConfigurations.go index 310b652b095..3e18255ea75 100644 --- a/service/pinpoint/api_op_GetRecommenderConfigurations.go +++ b/service/pinpoint/api_op_GetRecommenderConfigurations.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetRecommenderConfigurationsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRecommenderConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/pinpoint/api_op_GetSegment.go b/service/pinpoint/api_op_GetSegment.go index d93068bc2e4..5bdcd08f4b0 100644 --- a/service/pinpoint/api_op_GetSegment.go +++ b/service/pinpoint/api_op_GetSegment.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetSegmentMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSegmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetSegmentExportJobs.go b/service/pinpoint/api_op_GetSegmentExportJobs.go index 3bd5fd1c69e..9a415159e1d 100644 --- a/service/pinpoint/api_op_GetSegmentExportJobs.go +++ b/service/pinpoint/api_op_GetSegmentExportJobs.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetSegmentExportJobsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSegmentExportJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetSegmentImportJobs.go b/service/pinpoint/api_op_GetSegmentImportJobs.go index 69e623f9384..c1f864e10cb 100644 --- a/service/pinpoint/api_op_GetSegmentImportJobs.go +++ b/service/pinpoint/api_op_GetSegmentImportJobs.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetSegmentImportJobsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSegmentImportJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetSegmentVersion.go b/service/pinpoint/api_op_GetSegmentVersion.go index 07fdddeb510..b166b68bf38 100644 --- a/service/pinpoint/api_op_GetSegmentVersion.go +++ b/service/pinpoint/api_op_GetSegmentVersion.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetSegmentVersionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSegmentVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetSegmentVersions.go b/service/pinpoint/api_op_GetSegmentVersions.go index 37c6d135c1e..b3dba3a1608 100644 --- a/service/pinpoint/api_op_GetSegmentVersions.go +++ b/service/pinpoint/api_op_GetSegmentVersions.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetSegmentVersionsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSegmentVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetSegments.go b/service/pinpoint/api_op_GetSegments.go index 2a1e9357ff2..f42e429a3c0 100644 --- a/service/pinpoint/api_op_GetSegments.go +++ b/service/pinpoint/api_op_GetSegments.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetSegmentsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSegmentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetSmsChannel.go b/service/pinpoint/api_op_GetSmsChannel.go index 72b825fa766..d466520c314 100644 --- a/service/pinpoint/api_op_GetSmsChannel.go +++ b/service/pinpoint/api_op_GetSmsChannel.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetSmsChannelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSmsChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetSmsTemplate.go b/service/pinpoint/api_op_GetSmsTemplate.go index 2059d21c048..55cf6ab6e0c 100644 --- a/service/pinpoint/api_op_GetSmsTemplate.go +++ b/service/pinpoint/api_op_GetSmsTemplate.go @@ -143,9 +143,6 @@ func (c *Client) addOperationGetSmsTemplateMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSmsTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetUserEndpoints.go b/service/pinpoint/api_op_GetUserEndpoints.go index 409aff75418..0ae0bc34f69 100644 --- a/service/pinpoint/api_op_GetUserEndpoints.go +++ b/service/pinpoint/api_op_GetUserEndpoints.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetUserEndpointsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUserEndpointsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetVoiceChannel.go b/service/pinpoint/api_op_GetVoiceChannel.go index 6cda7ab7748..a57bfddfd64 100644 --- a/service/pinpoint/api_op_GetVoiceChannel.go +++ b/service/pinpoint/api_op_GetVoiceChannel.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetVoiceChannelMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVoiceChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_GetVoiceTemplate.go b/service/pinpoint/api_op_GetVoiceTemplate.go index 29794a223ac..9664178f9cd 100644 --- a/service/pinpoint/api_op_GetVoiceTemplate.go +++ b/service/pinpoint/api_op_GetVoiceTemplate.go @@ -143,9 +143,6 @@ func (c *Client) addOperationGetVoiceTemplateMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVoiceTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_ListJourneys.go b/service/pinpoint/api_op_ListJourneys.go index 21ef56dbe9d..5837eb5e5f8 100644 --- a/service/pinpoint/api_op_ListJourneys.go +++ b/service/pinpoint/api_op_ListJourneys.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListJourneysMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListJourneysValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_ListTagsForResource.go b/service/pinpoint/api_op_ListTagsForResource.go index e09d6a9390b..45f173905df 100644 --- a/service/pinpoint/api_op_ListTagsForResource.go +++ b/service/pinpoint/api_op_ListTagsForResource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_ListTemplateVersions.go b/service/pinpoint/api_op_ListTemplateVersions.go index 33b8dac3bd2..d6d016c48e7 100644 --- a/service/pinpoint/api_op_ListTemplateVersions.go +++ b/service/pinpoint/api_op_ListTemplateVersions.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListTemplateVersionsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTemplateVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_ListTemplates.go b/service/pinpoint/api_op_ListTemplates.go index 709434e466d..bd3a5ae8460 100644 --- a/service/pinpoint/api_op_ListTemplates.go +++ b/service/pinpoint/api_op_ListTemplates.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListTemplatesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/pinpoint/api_op_PhoneNumberValidate.go b/service/pinpoint/api_op_PhoneNumberValidate.go index 5f16e752b8f..3625fe008b4 100644 --- a/service/pinpoint/api_op_PhoneNumberValidate.go +++ b/service/pinpoint/api_op_PhoneNumberValidate.go @@ -114,9 +114,6 @@ func (c *Client) addOperationPhoneNumberValidateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPhoneNumberValidateValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_PutEventStream.go b/service/pinpoint/api_op_PutEventStream.go index b883e6a1477..0174427bdc8 100644 --- a/service/pinpoint/api_op_PutEventStream.go +++ b/service/pinpoint/api_op_PutEventStream.go @@ -124,9 +124,6 @@ func (c *Client) addOperationPutEventStreamMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutEventStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_PutEvents.go b/service/pinpoint/api_op_PutEvents.go index 3336d0a3789..844f9d65d07 100644 --- a/service/pinpoint/api_op_PutEvents.go +++ b/service/pinpoint/api_op_PutEvents.go @@ -122,9 +122,6 @@ func (c *Client) addOperationPutEventsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_RemoveAttributes.go b/service/pinpoint/api_op_RemoveAttributes.go index 0d4f0408d76..dd39bbfa4df 100644 --- a/service/pinpoint/api_op_RemoveAttributes.go +++ b/service/pinpoint/api_op_RemoveAttributes.go @@ -140,9 +140,6 @@ func (c *Client) addOperationRemoveAttributesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_SendMessages.go b/service/pinpoint/api_op_SendMessages.go index 364b6d3f7ce..8dd1171e921 100644 --- a/service/pinpoint/api_op_SendMessages.go +++ b/service/pinpoint/api_op_SendMessages.go @@ -121,9 +121,6 @@ func (c *Client) addOperationSendMessagesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendMessagesValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_SendOTPMessage.go b/service/pinpoint/api_op_SendOTPMessage.go index c195fcf9a3a..dd178c0abec 100644 --- a/service/pinpoint/api_op_SendOTPMessage.go +++ b/service/pinpoint/api_op_SendOTPMessage.go @@ -120,9 +120,6 @@ func (c *Client) addOperationSendOTPMessageMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendOTPMessageValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_SendUsersMessages.go b/service/pinpoint/api_op_SendUsersMessages.go index 74051a5f469..c7766555cc1 100644 --- a/service/pinpoint/api_op_SendUsersMessages.go +++ b/service/pinpoint/api_op_SendUsersMessages.go @@ -121,9 +121,6 @@ func (c *Client) addOperationSendUsersMessagesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendUsersMessagesValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_TagResource.go b/service/pinpoint/api_op_TagResource.go index 46e84f4a00c..71aa3d35cd4 100644 --- a/service/pinpoint/api_op_TagResource.go +++ b/service/pinpoint/api_op_TagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UntagResource.go b/service/pinpoint/api_op_UntagResource.go index 6a1f6126ab1..86f2136b6fd 100644 --- a/service/pinpoint/api_op_UntagResource.go +++ b/service/pinpoint/api_op_UntagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateAdmChannel.go b/service/pinpoint/api_op_UpdateAdmChannel.go index 88a3bdfffdc..3ace0932e49 100644 --- a/service/pinpoint/api_op_UpdateAdmChannel.go +++ b/service/pinpoint/api_op_UpdateAdmChannel.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateAdmChannelMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAdmChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateApnsChannel.go b/service/pinpoint/api_op_UpdateApnsChannel.go index f9d0b18282f..71017029734 100644 --- a/service/pinpoint/api_op_UpdateApnsChannel.go +++ b/service/pinpoint/api_op_UpdateApnsChannel.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateApnsChannelMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApnsChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateApnsSandboxChannel.go b/service/pinpoint/api_op_UpdateApnsSandboxChannel.go index a6def524747..8cd4552974e 100644 --- a/service/pinpoint/api_op_UpdateApnsSandboxChannel.go +++ b/service/pinpoint/api_op_UpdateApnsSandboxChannel.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateApnsSandboxChannelMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApnsSandboxChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateApnsVoipChannel.go b/service/pinpoint/api_op_UpdateApnsVoipChannel.go index 6c239417076..a9f66fd96ae 100644 --- a/service/pinpoint/api_op_UpdateApnsVoipChannel.go +++ b/service/pinpoint/api_op_UpdateApnsVoipChannel.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateApnsVoipChannelMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApnsVoipChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateApnsVoipSandboxChannel.go b/service/pinpoint/api_op_UpdateApnsVoipSandboxChannel.go index beb7018959c..a56f99e585b 100644 --- a/service/pinpoint/api_op_UpdateApnsVoipSandboxChannel.go +++ b/service/pinpoint/api_op_UpdateApnsVoipSandboxChannel.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateApnsVoipSandboxChannelMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApnsVoipSandboxChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateApplicationSettings.go b/service/pinpoint/api_op_UpdateApplicationSettings.go index 080edcc75e6..2b127257261 100644 --- a/service/pinpoint/api_op_UpdateApplicationSettings.go +++ b/service/pinpoint/api_op_UpdateApplicationSettings.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateApplicationSettingsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApplicationSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateBaiduChannel.go b/service/pinpoint/api_op_UpdateBaiduChannel.go index 362e9cb835a..30fd61eb0cb 100644 --- a/service/pinpoint/api_op_UpdateBaiduChannel.go +++ b/service/pinpoint/api_op_UpdateBaiduChannel.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateBaiduChannelMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBaiduChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateCampaign.go b/service/pinpoint/api_op_UpdateCampaign.go index 8db37513248..df81b143277 100644 --- a/service/pinpoint/api_op_UpdateCampaign.go +++ b/service/pinpoint/api_op_UpdateCampaign.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateCampaignMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCampaignValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateEmailChannel.go b/service/pinpoint/api_op_UpdateEmailChannel.go index 88037d0a5f0..da1c236f34d 100644 --- a/service/pinpoint/api_op_UpdateEmailChannel.go +++ b/service/pinpoint/api_op_UpdateEmailChannel.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateEmailChannelMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEmailChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateEmailTemplate.go b/service/pinpoint/api_op_UpdateEmailTemplate.go index be525142faa..5ac8ea85ff4 100644 --- a/service/pinpoint/api_op_UpdateEmailTemplate.go +++ b/service/pinpoint/api_op_UpdateEmailTemplate.go @@ -158,9 +158,6 @@ func (c *Client) addOperationUpdateEmailTemplateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEmailTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateEndpoint.go b/service/pinpoint/api_op_UpdateEndpoint.go index e4ca63ce90d..09ba2019893 100644 --- a/service/pinpoint/api_op_UpdateEndpoint.go +++ b/service/pinpoint/api_op_UpdateEndpoint.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateEndpointMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateEndpointsBatch.go b/service/pinpoint/api_op_UpdateEndpointsBatch.go index 814d4f77017..3bb215cbbfa 100644 --- a/service/pinpoint/api_op_UpdateEndpointsBatch.go +++ b/service/pinpoint/api_op_UpdateEndpointsBatch.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateEndpointsBatchMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEndpointsBatchValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateGcmChannel.go b/service/pinpoint/api_op_UpdateGcmChannel.go index afccbf629ad..dd68f30319c 100644 --- a/service/pinpoint/api_op_UpdateGcmChannel.go +++ b/service/pinpoint/api_op_UpdateGcmChannel.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateGcmChannelMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateGcmChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateInAppTemplate.go b/service/pinpoint/api_op_UpdateInAppTemplate.go index 5c763ca56be..52536e973b5 100644 --- a/service/pinpoint/api_op_UpdateInAppTemplate.go +++ b/service/pinpoint/api_op_UpdateInAppTemplate.go @@ -157,9 +157,6 @@ func (c *Client) addOperationUpdateInAppTemplateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateInAppTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateJourney.go b/service/pinpoint/api_op_UpdateJourney.go index a37c29a54d2..93ddc2859b2 100644 --- a/service/pinpoint/api_op_UpdateJourney.go +++ b/service/pinpoint/api_op_UpdateJourney.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateJourneyMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateJourneyValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateJourneyState.go b/service/pinpoint/api_op_UpdateJourneyState.go index 7da3e14bed7..04418ee7fcb 100644 --- a/service/pinpoint/api_op_UpdateJourneyState.go +++ b/service/pinpoint/api_op_UpdateJourneyState.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateJourneyStateMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateJourneyStateValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdatePushTemplate.go b/service/pinpoint/api_op_UpdatePushTemplate.go index b43b7684121..04d0a5897eb 100644 --- a/service/pinpoint/api_op_UpdatePushTemplate.go +++ b/service/pinpoint/api_op_UpdatePushTemplate.go @@ -158,9 +158,6 @@ func (c *Client) addOperationUpdatePushTemplateMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePushTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateRecommenderConfiguration.go b/service/pinpoint/api_op_UpdateRecommenderConfiguration.go index 321c6acae33..9cc7f8dbe15 100644 --- a/service/pinpoint/api_op_UpdateRecommenderConfiguration.go +++ b/service/pinpoint/api_op_UpdateRecommenderConfiguration.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateRecommenderConfigurationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRecommenderConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateSegment.go b/service/pinpoint/api_op_UpdateSegment.go index 9a90616a31d..f650abdf144 100644 --- a/service/pinpoint/api_op_UpdateSegment.go +++ b/service/pinpoint/api_op_UpdateSegment.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateSegmentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSegmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateSmsChannel.go b/service/pinpoint/api_op_UpdateSmsChannel.go index 3b34ea438ef..7380eeecd2b 100644 --- a/service/pinpoint/api_op_UpdateSmsChannel.go +++ b/service/pinpoint/api_op_UpdateSmsChannel.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateSmsChannelMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSmsChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateSmsTemplate.go b/service/pinpoint/api_op_UpdateSmsTemplate.go index 3694111b698..5deb2b596c1 100644 --- a/service/pinpoint/api_op_UpdateSmsTemplate.go +++ b/service/pinpoint/api_op_UpdateSmsTemplate.go @@ -158,9 +158,6 @@ func (c *Client) addOperationUpdateSmsTemplateMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSmsTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateTemplateActiveVersion.go b/service/pinpoint/api_op_UpdateTemplateActiveVersion.go index d95e709aad5..3760235c588 100644 --- a/service/pinpoint/api_op_UpdateTemplateActiveVersion.go +++ b/service/pinpoint/api_op_UpdateTemplateActiveVersion.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUpdateTemplateActiveVersionMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTemplateActiveVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateVoiceChannel.go b/service/pinpoint/api_op_UpdateVoiceChannel.go index 60ce3862957..4f8f3e176d1 100644 --- a/service/pinpoint/api_op_UpdateVoiceChannel.go +++ b/service/pinpoint/api_op_UpdateVoiceChannel.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateVoiceChannelMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateVoiceChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_UpdateVoiceTemplate.go b/service/pinpoint/api_op_UpdateVoiceTemplate.go index cc8ed67ab82..f863f9dbbc8 100644 --- a/service/pinpoint/api_op_UpdateVoiceTemplate.go +++ b/service/pinpoint/api_op_UpdateVoiceTemplate.go @@ -158,9 +158,6 @@ func (c *Client) addOperationUpdateVoiceTemplateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateVoiceTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/api_op_VerifyOTPMessage.go b/service/pinpoint/api_op_VerifyOTPMessage.go index 030de2d34f8..01087054e8f 100644 --- a/service/pinpoint/api_op_VerifyOTPMessage.go +++ b/service/pinpoint/api_op_VerifyOTPMessage.go @@ -119,9 +119,6 @@ func (c *Client) addOperationVerifyOTPMessageMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpVerifyOTPMessageValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpoint/snapshot/api_op_CreateApp.go.snap b/service/pinpoint/snapshot/api_op_CreateApp.go.snap index b4303227129..d73b17a92f7 100644 --- a/service/pinpoint/snapshot/api_op_CreateApp.go.snap +++ b/service/pinpoint/snapshot/api_op_CreateApp.go.snap @@ -14,7 +14,6 @@ CreateApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_CreateCampaign.go.snap b/service/pinpoint/snapshot/api_op_CreateCampaign.go.snap index 006efd4883c..f323370a82c 100644 --- a/service/pinpoint/snapshot/api_op_CreateCampaign.go.snap +++ b/service/pinpoint/snapshot/api_op_CreateCampaign.go.snap @@ -14,7 +14,6 @@ CreateCampaign Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_CreateEmailTemplate.go.snap b/service/pinpoint/snapshot/api_op_CreateEmailTemplate.go.snap index 4e57ed95919..ef3ae9d561e 100644 --- a/service/pinpoint/snapshot/api_op_CreateEmailTemplate.go.snap +++ b/service/pinpoint/snapshot/api_op_CreateEmailTemplate.go.snap @@ -14,7 +14,6 @@ CreateEmailTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_CreateExportJob.go.snap b/service/pinpoint/snapshot/api_op_CreateExportJob.go.snap index f7d0d0acf34..d5a8d27ab5e 100644 --- a/service/pinpoint/snapshot/api_op_CreateExportJob.go.snap +++ b/service/pinpoint/snapshot/api_op_CreateExportJob.go.snap @@ -14,7 +14,6 @@ CreateExportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_CreateImportJob.go.snap b/service/pinpoint/snapshot/api_op_CreateImportJob.go.snap index 75b83202019..4316cd59197 100644 --- a/service/pinpoint/snapshot/api_op_CreateImportJob.go.snap +++ b/service/pinpoint/snapshot/api_op_CreateImportJob.go.snap @@ -14,7 +14,6 @@ CreateImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_CreateInAppTemplate.go.snap b/service/pinpoint/snapshot/api_op_CreateInAppTemplate.go.snap index 0e6acae7909..9ee560235e6 100644 --- a/service/pinpoint/snapshot/api_op_CreateInAppTemplate.go.snap +++ b/service/pinpoint/snapshot/api_op_CreateInAppTemplate.go.snap @@ -14,7 +14,6 @@ CreateInAppTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_CreateJourney.go.snap b/service/pinpoint/snapshot/api_op_CreateJourney.go.snap index 58817d0b01d..76bb792bf3a 100644 --- a/service/pinpoint/snapshot/api_op_CreateJourney.go.snap +++ b/service/pinpoint/snapshot/api_op_CreateJourney.go.snap @@ -14,7 +14,6 @@ CreateJourney Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_CreatePushTemplate.go.snap b/service/pinpoint/snapshot/api_op_CreatePushTemplate.go.snap index de2ed2c8bc5..433427298d9 100644 --- a/service/pinpoint/snapshot/api_op_CreatePushTemplate.go.snap +++ b/service/pinpoint/snapshot/api_op_CreatePushTemplate.go.snap @@ -14,7 +14,6 @@ CreatePushTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_CreateRecommenderConfiguration.go.snap b/service/pinpoint/snapshot/api_op_CreateRecommenderConfiguration.go.snap index 28350d53142..0fe3fe5bb33 100644 --- a/service/pinpoint/snapshot/api_op_CreateRecommenderConfiguration.go.snap +++ b/service/pinpoint/snapshot/api_op_CreateRecommenderConfiguration.go.snap @@ -14,7 +14,6 @@ CreateRecommenderConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_CreateSegment.go.snap b/service/pinpoint/snapshot/api_op_CreateSegment.go.snap index 96de7294f89..5c5c4f14591 100644 --- a/service/pinpoint/snapshot/api_op_CreateSegment.go.snap +++ b/service/pinpoint/snapshot/api_op_CreateSegment.go.snap @@ -14,7 +14,6 @@ CreateSegment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_CreateSmsTemplate.go.snap b/service/pinpoint/snapshot/api_op_CreateSmsTemplate.go.snap index 21aff3652e2..6db487c4dc1 100644 --- a/service/pinpoint/snapshot/api_op_CreateSmsTemplate.go.snap +++ b/service/pinpoint/snapshot/api_op_CreateSmsTemplate.go.snap @@ -14,7 +14,6 @@ CreateSmsTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_CreateVoiceTemplate.go.snap b/service/pinpoint/snapshot/api_op_CreateVoiceTemplate.go.snap index 1d610c75048..7bf9ede78f3 100644 --- a/service/pinpoint/snapshot/api_op_CreateVoiceTemplate.go.snap +++ b/service/pinpoint/snapshot/api_op_CreateVoiceTemplate.go.snap @@ -14,7 +14,6 @@ CreateVoiceTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_DeleteAdmChannel.go.snap b/service/pinpoint/snapshot/api_op_DeleteAdmChannel.go.snap index f28c3f8c99f..e760cb97515 100644 --- a/service/pinpoint/snapshot/api_op_DeleteAdmChannel.go.snap +++ b/service/pinpoint/snapshot/api_op_DeleteAdmChannel.go.snap @@ -14,7 +14,6 @@ DeleteAdmChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_DeleteApnsChannel.go.snap b/service/pinpoint/snapshot/api_op_DeleteApnsChannel.go.snap index 0fa465af32a..eead14cb300 100644 --- a/service/pinpoint/snapshot/api_op_DeleteApnsChannel.go.snap +++ b/service/pinpoint/snapshot/api_op_DeleteApnsChannel.go.snap @@ -14,7 +14,6 @@ DeleteApnsChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_DeleteApnsSandboxChannel.go.snap b/service/pinpoint/snapshot/api_op_DeleteApnsSandboxChannel.go.snap index 0789f86eb17..a0c0c36c1e6 100644 --- a/service/pinpoint/snapshot/api_op_DeleteApnsSandboxChannel.go.snap +++ b/service/pinpoint/snapshot/api_op_DeleteApnsSandboxChannel.go.snap @@ -14,7 +14,6 @@ DeleteApnsSandboxChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_DeleteApnsVoipChannel.go.snap b/service/pinpoint/snapshot/api_op_DeleteApnsVoipChannel.go.snap index 42f7ae3091c..6d22aceb238 100644 --- a/service/pinpoint/snapshot/api_op_DeleteApnsVoipChannel.go.snap +++ b/service/pinpoint/snapshot/api_op_DeleteApnsVoipChannel.go.snap @@ -14,7 +14,6 @@ DeleteApnsVoipChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_DeleteApnsVoipSandboxChannel.go.snap b/service/pinpoint/snapshot/api_op_DeleteApnsVoipSandboxChannel.go.snap index d5fb2901c6c..e86218d3c54 100644 --- a/service/pinpoint/snapshot/api_op_DeleteApnsVoipSandboxChannel.go.snap +++ b/service/pinpoint/snapshot/api_op_DeleteApnsVoipSandboxChannel.go.snap @@ -14,7 +14,6 @@ DeleteApnsVoipSandboxChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_DeleteApp.go.snap b/service/pinpoint/snapshot/api_op_DeleteApp.go.snap index 5e024f33011..d8467fecd56 100644 --- a/service/pinpoint/snapshot/api_op_DeleteApp.go.snap +++ b/service/pinpoint/snapshot/api_op_DeleteApp.go.snap @@ -14,7 +14,6 @@ DeleteApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_DeleteBaiduChannel.go.snap b/service/pinpoint/snapshot/api_op_DeleteBaiduChannel.go.snap index 844962369c0..a09112bdbd6 100644 --- a/service/pinpoint/snapshot/api_op_DeleteBaiduChannel.go.snap +++ b/service/pinpoint/snapshot/api_op_DeleteBaiduChannel.go.snap @@ -14,7 +14,6 @@ DeleteBaiduChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_DeleteCampaign.go.snap b/service/pinpoint/snapshot/api_op_DeleteCampaign.go.snap index bc77c45f728..ddcf5fe9446 100644 --- a/service/pinpoint/snapshot/api_op_DeleteCampaign.go.snap +++ b/service/pinpoint/snapshot/api_op_DeleteCampaign.go.snap @@ -14,7 +14,6 @@ DeleteCampaign Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_DeleteEmailChannel.go.snap b/service/pinpoint/snapshot/api_op_DeleteEmailChannel.go.snap index d07cfe6161b..fd6d51ae129 100644 --- a/service/pinpoint/snapshot/api_op_DeleteEmailChannel.go.snap +++ b/service/pinpoint/snapshot/api_op_DeleteEmailChannel.go.snap @@ -14,7 +14,6 @@ DeleteEmailChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_DeleteEmailTemplate.go.snap b/service/pinpoint/snapshot/api_op_DeleteEmailTemplate.go.snap index c3de188b7ef..359b4c8186a 100644 --- a/service/pinpoint/snapshot/api_op_DeleteEmailTemplate.go.snap +++ b/service/pinpoint/snapshot/api_op_DeleteEmailTemplate.go.snap @@ -14,7 +14,6 @@ DeleteEmailTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_DeleteEndpoint.go.snap b/service/pinpoint/snapshot/api_op_DeleteEndpoint.go.snap index 0f46907f489..c4648fb3e07 100644 --- a/service/pinpoint/snapshot/api_op_DeleteEndpoint.go.snap +++ b/service/pinpoint/snapshot/api_op_DeleteEndpoint.go.snap @@ -14,7 +14,6 @@ DeleteEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_DeleteEventStream.go.snap b/service/pinpoint/snapshot/api_op_DeleteEventStream.go.snap index b9a910da6c7..24a171b2af2 100644 --- a/service/pinpoint/snapshot/api_op_DeleteEventStream.go.snap +++ b/service/pinpoint/snapshot/api_op_DeleteEventStream.go.snap @@ -14,7 +14,6 @@ DeleteEventStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_DeleteGcmChannel.go.snap b/service/pinpoint/snapshot/api_op_DeleteGcmChannel.go.snap index 971c95bd474..f4d136996ef 100644 --- a/service/pinpoint/snapshot/api_op_DeleteGcmChannel.go.snap +++ b/service/pinpoint/snapshot/api_op_DeleteGcmChannel.go.snap @@ -14,7 +14,6 @@ DeleteGcmChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_DeleteInAppTemplate.go.snap b/service/pinpoint/snapshot/api_op_DeleteInAppTemplate.go.snap index c4eb60df650..297baa04fb7 100644 --- a/service/pinpoint/snapshot/api_op_DeleteInAppTemplate.go.snap +++ b/service/pinpoint/snapshot/api_op_DeleteInAppTemplate.go.snap @@ -14,7 +14,6 @@ DeleteInAppTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_DeleteJourney.go.snap b/service/pinpoint/snapshot/api_op_DeleteJourney.go.snap index 1a905067ea3..fac695dece6 100644 --- a/service/pinpoint/snapshot/api_op_DeleteJourney.go.snap +++ b/service/pinpoint/snapshot/api_op_DeleteJourney.go.snap @@ -14,7 +14,6 @@ DeleteJourney Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_DeletePushTemplate.go.snap b/service/pinpoint/snapshot/api_op_DeletePushTemplate.go.snap index 8e075f2d2d6..b462f5fda11 100644 --- a/service/pinpoint/snapshot/api_op_DeletePushTemplate.go.snap +++ b/service/pinpoint/snapshot/api_op_DeletePushTemplate.go.snap @@ -14,7 +14,6 @@ DeletePushTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_DeleteRecommenderConfiguration.go.snap b/service/pinpoint/snapshot/api_op_DeleteRecommenderConfiguration.go.snap index 595596168a8..24aad9649ec 100644 --- a/service/pinpoint/snapshot/api_op_DeleteRecommenderConfiguration.go.snap +++ b/service/pinpoint/snapshot/api_op_DeleteRecommenderConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteRecommenderConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_DeleteSegment.go.snap b/service/pinpoint/snapshot/api_op_DeleteSegment.go.snap index bff14a8c94e..0684da8a094 100644 --- a/service/pinpoint/snapshot/api_op_DeleteSegment.go.snap +++ b/service/pinpoint/snapshot/api_op_DeleteSegment.go.snap @@ -14,7 +14,6 @@ DeleteSegment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_DeleteSmsChannel.go.snap b/service/pinpoint/snapshot/api_op_DeleteSmsChannel.go.snap index 9f148a5177a..a56822358f1 100644 --- a/service/pinpoint/snapshot/api_op_DeleteSmsChannel.go.snap +++ b/service/pinpoint/snapshot/api_op_DeleteSmsChannel.go.snap @@ -14,7 +14,6 @@ DeleteSmsChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_DeleteSmsTemplate.go.snap b/service/pinpoint/snapshot/api_op_DeleteSmsTemplate.go.snap index 8159ae9afd9..800ed8bd820 100644 --- a/service/pinpoint/snapshot/api_op_DeleteSmsTemplate.go.snap +++ b/service/pinpoint/snapshot/api_op_DeleteSmsTemplate.go.snap @@ -14,7 +14,6 @@ DeleteSmsTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_DeleteUserEndpoints.go.snap b/service/pinpoint/snapshot/api_op_DeleteUserEndpoints.go.snap index a40b0909901..43ecac19c74 100644 --- a/service/pinpoint/snapshot/api_op_DeleteUserEndpoints.go.snap +++ b/service/pinpoint/snapshot/api_op_DeleteUserEndpoints.go.snap @@ -14,7 +14,6 @@ DeleteUserEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_DeleteVoiceChannel.go.snap b/service/pinpoint/snapshot/api_op_DeleteVoiceChannel.go.snap index 47e0b430dc5..dce213e83d9 100644 --- a/service/pinpoint/snapshot/api_op_DeleteVoiceChannel.go.snap +++ b/service/pinpoint/snapshot/api_op_DeleteVoiceChannel.go.snap @@ -14,7 +14,6 @@ DeleteVoiceChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_DeleteVoiceTemplate.go.snap b/service/pinpoint/snapshot/api_op_DeleteVoiceTemplate.go.snap index 8ef5f8985f0..5ab2270201e 100644 --- a/service/pinpoint/snapshot/api_op_DeleteVoiceTemplate.go.snap +++ b/service/pinpoint/snapshot/api_op_DeleteVoiceTemplate.go.snap @@ -14,7 +14,6 @@ DeleteVoiceTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetAdmChannel.go.snap b/service/pinpoint/snapshot/api_op_GetAdmChannel.go.snap index 62751c83eeb..efc50e11c91 100644 --- a/service/pinpoint/snapshot/api_op_GetAdmChannel.go.snap +++ b/service/pinpoint/snapshot/api_op_GetAdmChannel.go.snap @@ -14,7 +14,6 @@ GetAdmChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetApnsChannel.go.snap b/service/pinpoint/snapshot/api_op_GetApnsChannel.go.snap index d7187f90bab..f88aec854b5 100644 --- a/service/pinpoint/snapshot/api_op_GetApnsChannel.go.snap +++ b/service/pinpoint/snapshot/api_op_GetApnsChannel.go.snap @@ -14,7 +14,6 @@ GetApnsChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetApnsSandboxChannel.go.snap b/service/pinpoint/snapshot/api_op_GetApnsSandboxChannel.go.snap index f8fb9b671c7..dc195b2be70 100644 --- a/service/pinpoint/snapshot/api_op_GetApnsSandboxChannel.go.snap +++ b/service/pinpoint/snapshot/api_op_GetApnsSandboxChannel.go.snap @@ -14,7 +14,6 @@ GetApnsSandboxChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetApnsVoipChannel.go.snap b/service/pinpoint/snapshot/api_op_GetApnsVoipChannel.go.snap index 3d7780f4178..9eb067bfec6 100644 --- a/service/pinpoint/snapshot/api_op_GetApnsVoipChannel.go.snap +++ b/service/pinpoint/snapshot/api_op_GetApnsVoipChannel.go.snap @@ -14,7 +14,6 @@ GetApnsVoipChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetApnsVoipSandboxChannel.go.snap b/service/pinpoint/snapshot/api_op_GetApnsVoipSandboxChannel.go.snap index 9e0846fc64f..36126d5ea9f 100644 --- a/service/pinpoint/snapshot/api_op_GetApnsVoipSandboxChannel.go.snap +++ b/service/pinpoint/snapshot/api_op_GetApnsVoipSandboxChannel.go.snap @@ -14,7 +14,6 @@ GetApnsVoipSandboxChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetApp.go.snap b/service/pinpoint/snapshot/api_op_GetApp.go.snap index 0b529ede89d..6ba8466c4a6 100644 --- a/service/pinpoint/snapshot/api_op_GetApp.go.snap +++ b/service/pinpoint/snapshot/api_op_GetApp.go.snap @@ -14,7 +14,6 @@ GetApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetApplicationDateRangeKpi.go.snap b/service/pinpoint/snapshot/api_op_GetApplicationDateRangeKpi.go.snap index 449fef4ed9d..31d8587a5cd 100644 --- a/service/pinpoint/snapshot/api_op_GetApplicationDateRangeKpi.go.snap +++ b/service/pinpoint/snapshot/api_op_GetApplicationDateRangeKpi.go.snap @@ -14,7 +14,6 @@ GetApplicationDateRangeKpi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetApplicationSettings.go.snap b/service/pinpoint/snapshot/api_op_GetApplicationSettings.go.snap index c89f22a3664..8acaf39ad6b 100644 --- a/service/pinpoint/snapshot/api_op_GetApplicationSettings.go.snap +++ b/service/pinpoint/snapshot/api_op_GetApplicationSettings.go.snap @@ -14,7 +14,6 @@ GetApplicationSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetApps.go.snap b/service/pinpoint/snapshot/api_op_GetApps.go.snap index ef8dd6d4941..a18e7500888 100644 --- a/service/pinpoint/snapshot/api_op_GetApps.go.snap +++ b/service/pinpoint/snapshot/api_op_GetApps.go.snap @@ -13,7 +13,6 @@ GetApps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetBaiduChannel.go.snap b/service/pinpoint/snapshot/api_op_GetBaiduChannel.go.snap index a5806947eae..cf8d461b5c1 100644 --- a/service/pinpoint/snapshot/api_op_GetBaiduChannel.go.snap +++ b/service/pinpoint/snapshot/api_op_GetBaiduChannel.go.snap @@ -14,7 +14,6 @@ GetBaiduChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetCampaign.go.snap b/service/pinpoint/snapshot/api_op_GetCampaign.go.snap index 54f7692ebbf..5ed19ef3000 100644 --- a/service/pinpoint/snapshot/api_op_GetCampaign.go.snap +++ b/service/pinpoint/snapshot/api_op_GetCampaign.go.snap @@ -14,7 +14,6 @@ GetCampaign Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetCampaignActivities.go.snap b/service/pinpoint/snapshot/api_op_GetCampaignActivities.go.snap index 10b4fe5103a..d06855f3b8a 100644 --- a/service/pinpoint/snapshot/api_op_GetCampaignActivities.go.snap +++ b/service/pinpoint/snapshot/api_op_GetCampaignActivities.go.snap @@ -14,7 +14,6 @@ GetCampaignActivities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetCampaignDateRangeKpi.go.snap b/service/pinpoint/snapshot/api_op_GetCampaignDateRangeKpi.go.snap index 25f43680db5..c8a45187e95 100644 --- a/service/pinpoint/snapshot/api_op_GetCampaignDateRangeKpi.go.snap +++ b/service/pinpoint/snapshot/api_op_GetCampaignDateRangeKpi.go.snap @@ -14,7 +14,6 @@ GetCampaignDateRangeKpi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetCampaignVersion.go.snap b/service/pinpoint/snapshot/api_op_GetCampaignVersion.go.snap index 28933b054c3..eb5472ac4d6 100644 --- a/service/pinpoint/snapshot/api_op_GetCampaignVersion.go.snap +++ b/service/pinpoint/snapshot/api_op_GetCampaignVersion.go.snap @@ -14,7 +14,6 @@ GetCampaignVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetCampaignVersions.go.snap b/service/pinpoint/snapshot/api_op_GetCampaignVersions.go.snap index 5c593efffe6..5919e8c74e5 100644 --- a/service/pinpoint/snapshot/api_op_GetCampaignVersions.go.snap +++ b/service/pinpoint/snapshot/api_op_GetCampaignVersions.go.snap @@ -14,7 +14,6 @@ GetCampaignVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetCampaigns.go.snap b/service/pinpoint/snapshot/api_op_GetCampaigns.go.snap index b39b413c69e..8d43d68ef90 100644 --- a/service/pinpoint/snapshot/api_op_GetCampaigns.go.snap +++ b/service/pinpoint/snapshot/api_op_GetCampaigns.go.snap @@ -14,7 +14,6 @@ GetCampaigns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetChannels.go.snap b/service/pinpoint/snapshot/api_op_GetChannels.go.snap index 0f3a8e06ea5..dddc6e7bf31 100644 --- a/service/pinpoint/snapshot/api_op_GetChannels.go.snap +++ b/service/pinpoint/snapshot/api_op_GetChannels.go.snap @@ -14,7 +14,6 @@ GetChannels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetEmailChannel.go.snap b/service/pinpoint/snapshot/api_op_GetEmailChannel.go.snap index 62a93041fc2..93f526580c7 100644 --- a/service/pinpoint/snapshot/api_op_GetEmailChannel.go.snap +++ b/service/pinpoint/snapshot/api_op_GetEmailChannel.go.snap @@ -14,7 +14,6 @@ GetEmailChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetEmailTemplate.go.snap b/service/pinpoint/snapshot/api_op_GetEmailTemplate.go.snap index b1244b40492..8f05709838e 100644 --- a/service/pinpoint/snapshot/api_op_GetEmailTemplate.go.snap +++ b/service/pinpoint/snapshot/api_op_GetEmailTemplate.go.snap @@ -14,7 +14,6 @@ GetEmailTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetEndpoint.go.snap b/service/pinpoint/snapshot/api_op_GetEndpoint.go.snap index 30d3f8f64bf..2fe00c5304d 100644 --- a/service/pinpoint/snapshot/api_op_GetEndpoint.go.snap +++ b/service/pinpoint/snapshot/api_op_GetEndpoint.go.snap @@ -14,7 +14,6 @@ GetEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetEventStream.go.snap b/service/pinpoint/snapshot/api_op_GetEventStream.go.snap index dbc5c372181..b29faea0e7f 100644 --- a/service/pinpoint/snapshot/api_op_GetEventStream.go.snap +++ b/service/pinpoint/snapshot/api_op_GetEventStream.go.snap @@ -14,7 +14,6 @@ GetEventStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetExportJob.go.snap b/service/pinpoint/snapshot/api_op_GetExportJob.go.snap index eaa0eba79ea..46fe8ce1587 100644 --- a/service/pinpoint/snapshot/api_op_GetExportJob.go.snap +++ b/service/pinpoint/snapshot/api_op_GetExportJob.go.snap @@ -14,7 +14,6 @@ GetExportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetExportJobs.go.snap b/service/pinpoint/snapshot/api_op_GetExportJobs.go.snap index 59938a4d0aa..6f1b2088e07 100644 --- a/service/pinpoint/snapshot/api_op_GetExportJobs.go.snap +++ b/service/pinpoint/snapshot/api_op_GetExportJobs.go.snap @@ -14,7 +14,6 @@ GetExportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetGcmChannel.go.snap b/service/pinpoint/snapshot/api_op_GetGcmChannel.go.snap index 80962fe5d54..acf374f3208 100644 --- a/service/pinpoint/snapshot/api_op_GetGcmChannel.go.snap +++ b/service/pinpoint/snapshot/api_op_GetGcmChannel.go.snap @@ -14,7 +14,6 @@ GetGcmChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetImportJob.go.snap b/service/pinpoint/snapshot/api_op_GetImportJob.go.snap index b0cf47477db..bb388923d10 100644 --- a/service/pinpoint/snapshot/api_op_GetImportJob.go.snap +++ b/service/pinpoint/snapshot/api_op_GetImportJob.go.snap @@ -14,7 +14,6 @@ GetImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetImportJobs.go.snap b/service/pinpoint/snapshot/api_op_GetImportJobs.go.snap index b64c018ab92..30feff657f1 100644 --- a/service/pinpoint/snapshot/api_op_GetImportJobs.go.snap +++ b/service/pinpoint/snapshot/api_op_GetImportJobs.go.snap @@ -14,7 +14,6 @@ GetImportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetInAppMessages.go.snap b/service/pinpoint/snapshot/api_op_GetInAppMessages.go.snap index 095ec7fd52c..a2ed653e94b 100644 --- a/service/pinpoint/snapshot/api_op_GetInAppMessages.go.snap +++ b/service/pinpoint/snapshot/api_op_GetInAppMessages.go.snap @@ -14,7 +14,6 @@ GetInAppMessages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetInAppTemplate.go.snap b/service/pinpoint/snapshot/api_op_GetInAppTemplate.go.snap index 1dc25e1429c..27654504c54 100644 --- a/service/pinpoint/snapshot/api_op_GetInAppTemplate.go.snap +++ b/service/pinpoint/snapshot/api_op_GetInAppTemplate.go.snap @@ -14,7 +14,6 @@ GetInAppTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetJourney.go.snap b/service/pinpoint/snapshot/api_op_GetJourney.go.snap index 53aeacbeeee..39dc3ed8a1b 100644 --- a/service/pinpoint/snapshot/api_op_GetJourney.go.snap +++ b/service/pinpoint/snapshot/api_op_GetJourney.go.snap @@ -14,7 +14,6 @@ GetJourney Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetJourneyDateRangeKpi.go.snap b/service/pinpoint/snapshot/api_op_GetJourneyDateRangeKpi.go.snap index 4416045961e..89cd5a0031e 100644 --- a/service/pinpoint/snapshot/api_op_GetJourneyDateRangeKpi.go.snap +++ b/service/pinpoint/snapshot/api_op_GetJourneyDateRangeKpi.go.snap @@ -14,7 +14,6 @@ GetJourneyDateRangeKpi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetJourneyExecutionActivityMetrics.go.snap b/service/pinpoint/snapshot/api_op_GetJourneyExecutionActivityMetrics.go.snap index dbb2a1438dc..a8cce348308 100644 --- a/service/pinpoint/snapshot/api_op_GetJourneyExecutionActivityMetrics.go.snap +++ b/service/pinpoint/snapshot/api_op_GetJourneyExecutionActivityMetrics.go.snap @@ -14,7 +14,6 @@ GetJourneyExecutionActivityMetrics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetJourneyExecutionMetrics.go.snap b/service/pinpoint/snapshot/api_op_GetJourneyExecutionMetrics.go.snap index 0b8c961fffd..835ee5c6b17 100644 --- a/service/pinpoint/snapshot/api_op_GetJourneyExecutionMetrics.go.snap +++ b/service/pinpoint/snapshot/api_op_GetJourneyExecutionMetrics.go.snap @@ -14,7 +14,6 @@ GetJourneyExecutionMetrics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetJourneyRunExecutionActivityMetrics.go.snap b/service/pinpoint/snapshot/api_op_GetJourneyRunExecutionActivityMetrics.go.snap index c7092743335..d9358f7229e 100644 --- a/service/pinpoint/snapshot/api_op_GetJourneyRunExecutionActivityMetrics.go.snap +++ b/service/pinpoint/snapshot/api_op_GetJourneyRunExecutionActivityMetrics.go.snap @@ -14,7 +14,6 @@ GetJourneyRunExecutionActivityMetrics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetJourneyRunExecutionMetrics.go.snap b/service/pinpoint/snapshot/api_op_GetJourneyRunExecutionMetrics.go.snap index 40607a94d72..aa7a6a54426 100644 --- a/service/pinpoint/snapshot/api_op_GetJourneyRunExecutionMetrics.go.snap +++ b/service/pinpoint/snapshot/api_op_GetJourneyRunExecutionMetrics.go.snap @@ -14,7 +14,6 @@ GetJourneyRunExecutionMetrics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetJourneyRuns.go.snap b/service/pinpoint/snapshot/api_op_GetJourneyRuns.go.snap index b54b65e5339..40f4f9dbcfc 100644 --- a/service/pinpoint/snapshot/api_op_GetJourneyRuns.go.snap +++ b/service/pinpoint/snapshot/api_op_GetJourneyRuns.go.snap @@ -14,7 +14,6 @@ GetJourneyRuns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetPushTemplate.go.snap b/service/pinpoint/snapshot/api_op_GetPushTemplate.go.snap index 483c9b53b59..e31d8d54a44 100644 --- a/service/pinpoint/snapshot/api_op_GetPushTemplate.go.snap +++ b/service/pinpoint/snapshot/api_op_GetPushTemplate.go.snap @@ -14,7 +14,6 @@ GetPushTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetRecommenderConfiguration.go.snap b/service/pinpoint/snapshot/api_op_GetRecommenderConfiguration.go.snap index 72fd5c87970..0c19a8150eb 100644 --- a/service/pinpoint/snapshot/api_op_GetRecommenderConfiguration.go.snap +++ b/service/pinpoint/snapshot/api_op_GetRecommenderConfiguration.go.snap @@ -14,7 +14,6 @@ GetRecommenderConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetRecommenderConfigurations.go.snap b/service/pinpoint/snapshot/api_op_GetRecommenderConfigurations.go.snap index 4d80b64d883..2fdede7e9b1 100644 --- a/service/pinpoint/snapshot/api_op_GetRecommenderConfigurations.go.snap +++ b/service/pinpoint/snapshot/api_op_GetRecommenderConfigurations.go.snap @@ -13,7 +13,6 @@ GetRecommenderConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetSegment.go.snap b/service/pinpoint/snapshot/api_op_GetSegment.go.snap index 5b8717c012b..be1b0340b38 100644 --- a/service/pinpoint/snapshot/api_op_GetSegment.go.snap +++ b/service/pinpoint/snapshot/api_op_GetSegment.go.snap @@ -14,7 +14,6 @@ GetSegment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetSegmentExportJobs.go.snap b/service/pinpoint/snapshot/api_op_GetSegmentExportJobs.go.snap index 436067e14f5..f464957a834 100644 --- a/service/pinpoint/snapshot/api_op_GetSegmentExportJobs.go.snap +++ b/service/pinpoint/snapshot/api_op_GetSegmentExportJobs.go.snap @@ -14,7 +14,6 @@ GetSegmentExportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetSegmentImportJobs.go.snap b/service/pinpoint/snapshot/api_op_GetSegmentImportJobs.go.snap index 992e15dfc79..cc536c3e45e 100644 --- a/service/pinpoint/snapshot/api_op_GetSegmentImportJobs.go.snap +++ b/service/pinpoint/snapshot/api_op_GetSegmentImportJobs.go.snap @@ -14,7 +14,6 @@ GetSegmentImportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetSegmentVersion.go.snap b/service/pinpoint/snapshot/api_op_GetSegmentVersion.go.snap index 573c983764f..32a6121a4cb 100644 --- a/service/pinpoint/snapshot/api_op_GetSegmentVersion.go.snap +++ b/service/pinpoint/snapshot/api_op_GetSegmentVersion.go.snap @@ -14,7 +14,6 @@ GetSegmentVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetSegmentVersions.go.snap b/service/pinpoint/snapshot/api_op_GetSegmentVersions.go.snap index 55a7664fa91..c2be6c45ee4 100644 --- a/service/pinpoint/snapshot/api_op_GetSegmentVersions.go.snap +++ b/service/pinpoint/snapshot/api_op_GetSegmentVersions.go.snap @@ -14,7 +14,6 @@ GetSegmentVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetSegments.go.snap b/service/pinpoint/snapshot/api_op_GetSegments.go.snap index fa1f8d561a9..e2ec8158808 100644 --- a/service/pinpoint/snapshot/api_op_GetSegments.go.snap +++ b/service/pinpoint/snapshot/api_op_GetSegments.go.snap @@ -14,7 +14,6 @@ GetSegments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetSmsChannel.go.snap b/service/pinpoint/snapshot/api_op_GetSmsChannel.go.snap index a1354a015c4..8af39d853ce 100644 --- a/service/pinpoint/snapshot/api_op_GetSmsChannel.go.snap +++ b/service/pinpoint/snapshot/api_op_GetSmsChannel.go.snap @@ -14,7 +14,6 @@ GetSmsChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetSmsTemplate.go.snap b/service/pinpoint/snapshot/api_op_GetSmsTemplate.go.snap index b9a522475c8..f20a1d95ca9 100644 --- a/service/pinpoint/snapshot/api_op_GetSmsTemplate.go.snap +++ b/service/pinpoint/snapshot/api_op_GetSmsTemplate.go.snap @@ -14,7 +14,6 @@ GetSmsTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetUserEndpoints.go.snap b/service/pinpoint/snapshot/api_op_GetUserEndpoints.go.snap index faf18de2ecb..56fd5dedaba 100644 --- a/service/pinpoint/snapshot/api_op_GetUserEndpoints.go.snap +++ b/service/pinpoint/snapshot/api_op_GetUserEndpoints.go.snap @@ -14,7 +14,6 @@ GetUserEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetVoiceChannel.go.snap b/service/pinpoint/snapshot/api_op_GetVoiceChannel.go.snap index deddf81f00e..88f16ee1268 100644 --- a/service/pinpoint/snapshot/api_op_GetVoiceChannel.go.snap +++ b/service/pinpoint/snapshot/api_op_GetVoiceChannel.go.snap @@ -14,7 +14,6 @@ GetVoiceChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_GetVoiceTemplate.go.snap b/service/pinpoint/snapshot/api_op_GetVoiceTemplate.go.snap index 8d19e5a6d08..4d7c11e87a6 100644 --- a/service/pinpoint/snapshot/api_op_GetVoiceTemplate.go.snap +++ b/service/pinpoint/snapshot/api_op_GetVoiceTemplate.go.snap @@ -14,7 +14,6 @@ GetVoiceTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_ListJourneys.go.snap b/service/pinpoint/snapshot/api_op_ListJourneys.go.snap index 594d0a52409..eb4d294129f 100644 --- a/service/pinpoint/snapshot/api_op_ListJourneys.go.snap +++ b/service/pinpoint/snapshot/api_op_ListJourneys.go.snap @@ -14,7 +14,6 @@ ListJourneys Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_ListTagsForResource.go.snap b/service/pinpoint/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/pinpoint/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/pinpoint/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_ListTemplateVersions.go.snap b/service/pinpoint/snapshot/api_op_ListTemplateVersions.go.snap index ce1bbeb3a21..154649e2f14 100644 --- a/service/pinpoint/snapshot/api_op_ListTemplateVersions.go.snap +++ b/service/pinpoint/snapshot/api_op_ListTemplateVersions.go.snap @@ -14,7 +14,6 @@ ListTemplateVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_ListTemplates.go.snap b/service/pinpoint/snapshot/api_op_ListTemplates.go.snap index 3702fc869e8..fa1a1fc2a6e 100644 --- a/service/pinpoint/snapshot/api_op_ListTemplates.go.snap +++ b/service/pinpoint/snapshot/api_op_ListTemplates.go.snap @@ -13,7 +13,6 @@ ListTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_PhoneNumberValidate.go.snap b/service/pinpoint/snapshot/api_op_PhoneNumberValidate.go.snap index d67b922de0a..de607ef8a94 100644 --- a/service/pinpoint/snapshot/api_op_PhoneNumberValidate.go.snap +++ b/service/pinpoint/snapshot/api_op_PhoneNumberValidate.go.snap @@ -14,7 +14,6 @@ PhoneNumberValidate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_PutEventStream.go.snap b/service/pinpoint/snapshot/api_op_PutEventStream.go.snap index 7fc61ecd04d..5aab0a8e438 100644 --- a/service/pinpoint/snapshot/api_op_PutEventStream.go.snap +++ b/service/pinpoint/snapshot/api_op_PutEventStream.go.snap @@ -14,7 +14,6 @@ PutEventStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_PutEvents.go.snap b/service/pinpoint/snapshot/api_op_PutEvents.go.snap index e89dc6a29e8..84dd8b33f3d 100644 --- a/service/pinpoint/snapshot/api_op_PutEvents.go.snap +++ b/service/pinpoint/snapshot/api_op_PutEvents.go.snap @@ -14,7 +14,6 @@ PutEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_RemoveAttributes.go.snap b/service/pinpoint/snapshot/api_op_RemoveAttributes.go.snap index 18c0f4d816c..ef2c501b43f 100644 --- a/service/pinpoint/snapshot/api_op_RemoveAttributes.go.snap +++ b/service/pinpoint/snapshot/api_op_RemoveAttributes.go.snap @@ -14,7 +14,6 @@ RemoveAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_SendMessages.go.snap b/service/pinpoint/snapshot/api_op_SendMessages.go.snap index 1974a91b63b..a373127aa9f 100644 --- a/service/pinpoint/snapshot/api_op_SendMessages.go.snap +++ b/service/pinpoint/snapshot/api_op_SendMessages.go.snap @@ -14,7 +14,6 @@ SendMessages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_SendOTPMessage.go.snap b/service/pinpoint/snapshot/api_op_SendOTPMessage.go.snap index 7e790aa3afa..6877df1fa3e 100644 --- a/service/pinpoint/snapshot/api_op_SendOTPMessage.go.snap +++ b/service/pinpoint/snapshot/api_op_SendOTPMessage.go.snap @@ -14,7 +14,6 @@ SendOTPMessage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_SendUsersMessages.go.snap b/service/pinpoint/snapshot/api_op_SendUsersMessages.go.snap index 8df0492dcae..704aaebc66f 100644 --- a/service/pinpoint/snapshot/api_op_SendUsersMessages.go.snap +++ b/service/pinpoint/snapshot/api_op_SendUsersMessages.go.snap @@ -14,7 +14,6 @@ SendUsersMessages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_TagResource.go.snap b/service/pinpoint/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/pinpoint/snapshot/api_op_TagResource.go.snap +++ b/service/pinpoint/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_UntagResource.go.snap b/service/pinpoint/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/pinpoint/snapshot/api_op_UntagResource.go.snap +++ b/service/pinpoint/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_UpdateAdmChannel.go.snap b/service/pinpoint/snapshot/api_op_UpdateAdmChannel.go.snap index 2c2d2787b82..5db3f88ed21 100644 --- a/service/pinpoint/snapshot/api_op_UpdateAdmChannel.go.snap +++ b/service/pinpoint/snapshot/api_op_UpdateAdmChannel.go.snap @@ -14,7 +14,6 @@ UpdateAdmChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_UpdateApnsChannel.go.snap b/service/pinpoint/snapshot/api_op_UpdateApnsChannel.go.snap index c619af5dc9a..9ddac17caac 100644 --- a/service/pinpoint/snapshot/api_op_UpdateApnsChannel.go.snap +++ b/service/pinpoint/snapshot/api_op_UpdateApnsChannel.go.snap @@ -14,7 +14,6 @@ UpdateApnsChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_UpdateApnsSandboxChannel.go.snap b/service/pinpoint/snapshot/api_op_UpdateApnsSandboxChannel.go.snap index 2feed920c2c..70298f36d3e 100644 --- a/service/pinpoint/snapshot/api_op_UpdateApnsSandboxChannel.go.snap +++ b/service/pinpoint/snapshot/api_op_UpdateApnsSandboxChannel.go.snap @@ -14,7 +14,6 @@ UpdateApnsSandboxChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_UpdateApnsVoipChannel.go.snap b/service/pinpoint/snapshot/api_op_UpdateApnsVoipChannel.go.snap index afc8d4997ca..9b469961570 100644 --- a/service/pinpoint/snapshot/api_op_UpdateApnsVoipChannel.go.snap +++ b/service/pinpoint/snapshot/api_op_UpdateApnsVoipChannel.go.snap @@ -14,7 +14,6 @@ UpdateApnsVoipChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_UpdateApnsVoipSandboxChannel.go.snap b/service/pinpoint/snapshot/api_op_UpdateApnsVoipSandboxChannel.go.snap index d75602d7a70..222688825f7 100644 --- a/service/pinpoint/snapshot/api_op_UpdateApnsVoipSandboxChannel.go.snap +++ b/service/pinpoint/snapshot/api_op_UpdateApnsVoipSandboxChannel.go.snap @@ -14,7 +14,6 @@ UpdateApnsVoipSandboxChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_UpdateApplicationSettings.go.snap b/service/pinpoint/snapshot/api_op_UpdateApplicationSettings.go.snap index bb3774cd7e4..14ed778aac7 100644 --- a/service/pinpoint/snapshot/api_op_UpdateApplicationSettings.go.snap +++ b/service/pinpoint/snapshot/api_op_UpdateApplicationSettings.go.snap @@ -14,7 +14,6 @@ UpdateApplicationSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_UpdateBaiduChannel.go.snap b/service/pinpoint/snapshot/api_op_UpdateBaiduChannel.go.snap index cbad86e7452..baf58c28cb9 100644 --- a/service/pinpoint/snapshot/api_op_UpdateBaiduChannel.go.snap +++ b/service/pinpoint/snapshot/api_op_UpdateBaiduChannel.go.snap @@ -14,7 +14,6 @@ UpdateBaiduChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_UpdateCampaign.go.snap b/service/pinpoint/snapshot/api_op_UpdateCampaign.go.snap index 1cb9830b73d..4960b57cf5b 100644 --- a/service/pinpoint/snapshot/api_op_UpdateCampaign.go.snap +++ b/service/pinpoint/snapshot/api_op_UpdateCampaign.go.snap @@ -14,7 +14,6 @@ UpdateCampaign Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_UpdateEmailChannel.go.snap b/service/pinpoint/snapshot/api_op_UpdateEmailChannel.go.snap index fc4664df769..3c260bb2009 100644 --- a/service/pinpoint/snapshot/api_op_UpdateEmailChannel.go.snap +++ b/service/pinpoint/snapshot/api_op_UpdateEmailChannel.go.snap @@ -14,7 +14,6 @@ UpdateEmailChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_UpdateEmailTemplate.go.snap b/service/pinpoint/snapshot/api_op_UpdateEmailTemplate.go.snap index 5a689567a5a..9170b529f65 100644 --- a/service/pinpoint/snapshot/api_op_UpdateEmailTemplate.go.snap +++ b/service/pinpoint/snapshot/api_op_UpdateEmailTemplate.go.snap @@ -14,7 +14,6 @@ UpdateEmailTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_UpdateEndpoint.go.snap b/service/pinpoint/snapshot/api_op_UpdateEndpoint.go.snap index 63486efef57..9f5c5924842 100644 --- a/service/pinpoint/snapshot/api_op_UpdateEndpoint.go.snap +++ b/service/pinpoint/snapshot/api_op_UpdateEndpoint.go.snap @@ -14,7 +14,6 @@ UpdateEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_UpdateEndpointsBatch.go.snap b/service/pinpoint/snapshot/api_op_UpdateEndpointsBatch.go.snap index 1336662fd89..8d143fbe2e9 100644 --- a/service/pinpoint/snapshot/api_op_UpdateEndpointsBatch.go.snap +++ b/service/pinpoint/snapshot/api_op_UpdateEndpointsBatch.go.snap @@ -14,7 +14,6 @@ UpdateEndpointsBatch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_UpdateGcmChannel.go.snap b/service/pinpoint/snapshot/api_op_UpdateGcmChannel.go.snap index d5372822fbb..074a9c4b2d8 100644 --- a/service/pinpoint/snapshot/api_op_UpdateGcmChannel.go.snap +++ b/service/pinpoint/snapshot/api_op_UpdateGcmChannel.go.snap @@ -14,7 +14,6 @@ UpdateGcmChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_UpdateInAppTemplate.go.snap b/service/pinpoint/snapshot/api_op_UpdateInAppTemplate.go.snap index a38ca71dab6..d8926080643 100644 --- a/service/pinpoint/snapshot/api_op_UpdateInAppTemplate.go.snap +++ b/service/pinpoint/snapshot/api_op_UpdateInAppTemplate.go.snap @@ -14,7 +14,6 @@ UpdateInAppTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_UpdateJourney.go.snap b/service/pinpoint/snapshot/api_op_UpdateJourney.go.snap index 80eda235ce8..deed85a5b6b 100644 --- a/service/pinpoint/snapshot/api_op_UpdateJourney.go.snap +++ b/service/pinpoint/snapshot/api_op_UpdateJourney.go.snap @@ -14,7 +14,6 @@ UpdateJourney Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_UpdateJourneyState.go.snap b/service/pinpoint/snapshot/api_op_UpdateJourneyState.go.snap index 97c712ae5f8..43bc7af7435 100644 --- a/service/pinpoint/snapshot/api_op_UpdateJourneyState.go.snap +++ b/service/pinpoint/snapshot/api_op_UpdateJourneyState.go.snap @@ -14,7 +14,6 @@ UpdateJourneyState Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_UpdatePushTemplate.go.snap b/service/pinpoint/snapshot/api_op_UpdatePushTemplate.go.snap index ce27811ba7a..0e222dc8f33 100644 --- a/service/pinpoint/snapshot/api_op_UpdatePushTemplate.go.snap +++ b/service/pinpoint/snapshot/api_op_UpdatePushTemplate.go.snap @@ -14,7 +14,6 @@ UpdatePushTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_UpdateRecommenderConfiguration.go.snap b/service/pinpoint/snapshot/api_op_UpdateRecommenderConfiguration.go.snap index 9a781b6d4fc..5e43e1bd1ff 100644 --- a/service/pinpoint/snapshot/api_op_UpdateRecommenderConfiguration.go.snap +++ b/service/pinpoint/snapshot/api_op_UpdateRecommenderConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateRecommenderConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_UpdateSegment.go.snap b/service/pinpoint/snapshot/api_op_UpdateSegment.go.snap index 774dcb091f2..d2a25743d65 100644 --- a/service/pinpoint/snapshot/api_op_UpdateSegment.go.snap +++ b/service/pinpoint/snapshot/api_op_UpdateSegment.go.snap @@ -14,7 +14,6 @@ UpdateSegment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_UpdateSmsChannel.go.snap b/service/pinpoint/snapshot/api_op_UpdateSmsChannel.go.snap index eada27350a1..5bd388a196c 100644 --- a/service/pinpoint/snapshot/api_op_UpdateSmsChannel.go.snap +++ b/service/pinpoint/snapshot/api_op_UpdateSmsChannel.go.snap @@ -14,7 +14,6 @@ UpdateSmsChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_UpdateSmsTemplate.go.snap b/service/pinpoint/snapshot/api_op_UpdateSmsTemplate.go.snap index 176fa57cb0a..7115ed2563c 100644 --- a/service/pinpoint/snapshot/api_op_UpdateSmsTemplate.go.snap +++ b/service/pinpoint/snapshot/api_op_UpdateSmsTemplate.go.snap @@ -14,7 +14,6 @@ UpdateSmsTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_UpdateTemplateActiveVersion.go.snap b/service/pinpoint/snapshot/api_op_UpdateTemplateActiveVersion.go.snap index 89a1e9f11bd..d0b311859b1 100644 --- a/service/pinpoint/snapshot/api_op_UpdateTemplateActiveVersion.go.snap +++ b/service/pinpoint/snapshot/api_op_UpdateTemplateActiveVersion.go.snap @@ -14,7 +14,6 @@ UpdateTemplateActiveVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_UpdateVoiceChannel.go.snap b/service/pinpoint/snapshot/api_op_UpdateVoiceChannel.go.snap index 9de15f00600..af1d17b767f 100644 --- a/service/pinpoint/snapshot/api_op_UpdateVoiceChannel.go.snap +++ b/service/pinpoint/snapshot/api_op_UpdateVoiceChannel.go.snap @@ -14,7 +14,6 @@ UpdateVoiceChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_UpdateVoiceTemplate.go.snap b/service/pinpoint/snapshot/api_op_UpdateVoiceTemplate.go.snap index 3b8d6329e4f..2aa50bfa5bd 100644 --- a/service/pinpoint/snapshot/api_op_UpdateVoiceTemplate.go.snap +++ b/service/pinpoint/snapshot/api_op_UpdateVoiceTemplate.go.snap @@ -14,7 +14,6 @@ UpdateVoiceTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpoint/snapshot/api_op_VerifyOTPMessage.go.snap b/service/pinpoint/snapshot/api_op_VerifyOTPMessage.go.snap index df61910aef1..913e25858a0 100644 --- a/service/pinpoint/snapshot/api_op_VerifyOTPMessage.go.snap +++ b/service/pinpoint/snapshot/api_op_VerifyOTPMessage.go.snap @@ -14,7 +14,6 @@ VerifyOTPMessage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/api_client.go b/service/pinpointemail/api_client.go index 53ac2c1f16d..18412f017db 100644 --- a/service/pinpointemail/api_client.go +++ b/service/pinpointemail/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/pinpointemail/api_op_CreateConfigurationSet.go b/service/pinpointemail/api_op_CreateConfigurationSet.go index 28fe10a588b..5b95d5f77db 100644 --- a/service/pinpointemail/api_op_CreateConfigurationSet.go +++ b/service/pinpointemail/api_op_CreateConfigurationSet.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateConfigurationSetMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConfigurationSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_CreateConfigurationSetEventDestination.go b/service/pinpointemail/api_op_CreateConfigurationSetEventDestination.go index d9e19c39bd4..79892e121b2 100644 --- a/service/pinpointemail/api_op_CreateConfigurationSetEventDestination.go +++ b/service/pinpointemail/api_op_CreateConfigurationSetEventDestination.go @@ -128,9 +128,6 @@ func (c *Client) addOperationCreateConfigurationSetEventDestinationMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConfigurationSetEventDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_CreateDedicatedIpPool.go b/service/pinpointemail/api_op_CreateDedicatedIpPool.go index 44120ae8875..7eec7896039 100644 --- a/service/pinpointemail/api_op_CreateDedicatedIpPool.go +++ b/service/pinpointemail/api_op_CreateDedicatedIpPool.go @@ -119,9 +119,6 @@ func (c *Client) addOperationCreateDedicatedIpPoolMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDedicatedIpPoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_CreateDeliverabilityTestReport.go b/service/pinpointemail/api_op_CreateDeliverabilityTestReport.go index 10297dc7743..3c0ef793a3e 100644 --- a/service/pinpointemail/api_op_CreateDeliverabilityTestReport.go +++ b/service/pinpointemail/api_op_CreateDeliverabilityTestReport.go @@ -153,9 +153,6 @@ func (c *Client) addOperationCreateDeliverabilityTestReportMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDeliverabilityTestReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_CreateEmailIdentity.go b/service/pinpointemail/api_op_CreateEmailIdentity.go index d25750238ec..6b1b3660e1d 100644 --- a/service/pinpointemail/api_op_CreateEmailIdentity.go +++ b/service/pinpointemail/api_op_CreateEmailIdentity.go @@ -150,9 +150,6 @@ func (c *Client) addOperationCreateEmailIdentityMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEmailIdentityValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_DeleteConfigurationSet.go b/service/pinpointemail/api_op_DeleteConfigurationSet.go index 2b83bf1bc51..47502d4d3e5 100644 --- a/service/pinpointemail/api_op_DeleteConfigurationSet.go +++ b/service/pinpointemail/api_op_DeleteConfigurationSet.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteConfigurationSetMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConfigurationSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_DeleteConfigurationSetEventDestination.go b/service/pinpointemail/api_op_DeleteConfigurationSetEventDestination.go index ef00114187b..a639d977096 100644 --- a/service/pinpointemail/api_op_DeleteConfigurationSetEventDestination.go +++ b/service/pinpointemail/api_op_DeleteConfigurationSetEventDestination.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteConfigurationSetEventDestinationMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConfigurationSetEventDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_DeleteDedicatedIpPool.go b/service/pinpointemail/api_op_DeleteDedicatedIpPool.go index b912c799ee3..eef482e1d80 100644 --- a/service/pinpointemail/api_op_DeleteDedicatedIpPool.go +++ b/service/pinpointemail/api_op_DeleteDedicatedIpPool.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteDedicatedIpPoolMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDedicatedIpPoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_DeleteEmailIdentity.go b/service/pinpointemail/api_op_DeleteEmailIdentity.go index 6b6b489e845..ff089e7c604 100644 --- a/service/pinpointemail/api_op_DeleteEmailIdentity.go +++ b/service/pinpointemail/api_op_DeleteEmailIdentity.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteEmailIdentityMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEmailIdentityValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_GetAccount.go b/service/pinpointemail/api_op_GetAccount.go index 1f1925e8f3c..97c835e2934 100644 --- a/service/pinpointemail/api_op_GetAccount.go +++ b/service/pinpointemail/api_op_GetAccount.go @@ -151,9 +151,6 @@ func (c *Client) addOperationGetAccountMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/pinpointemail/api_op_GetBlacklistReports.go b/service/pinpointemail/api_op_GetBlacklistReports.go index f951c4dcdfc..c82312a7696 100644 --- a/service/pinpointemail/api_op_GetBlacklistReports.go +++ b/service/pinpointemail/api_op_GetBlacklistReports.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetBlacklistReportsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBlacklistReportsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_GetConfigurationSet.go b/service/pinpointemail/api_op_GetConfigurationSet.go index 2bb99bd3a8d..acb70dcce3c 100644 --- a/service/pinpointemail/api_op_GetConfigurationSet.go +++ b/service/pinpointemail/api_op_GetConfigurationSet.go @@ -143,9 +143,6 @@ func (c *Client) addOperationGetConfigurationSetMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConfigurationSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_GetConfigurationSetEventDestinations.go b/service/pinpointemail/api_op_GetConfigurationSetEventDestinations.go index 8f1c989c6dd..13ee6b2ece8 100644 --- a/service/pinpointemail/api_op_GetConfigurationSetEventDestinations.go +++ b/service/pinpointemail/api_op_GetConfigurationSetEventDestinations.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetConfigurationSetEventDestinationsMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConfigurationSetEventDestinationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_GetDedicatedIp.go b/service/pinpointemail/api_op_GetDedicatedIp.go index dd0e87df5da..06b01fe7788 100644 --- a/service/pinpointemail/api_op_GetDedicatedIp.go +++ b/service/pinpointemail/api_op_GetDedicatedIp.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetDedicatedIpMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDedicatedIpValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_GetDedicatedIps.go b/service/pinpointemail/api_op_GetDedicatedIps.go index 30292092277..63dd482e63a 100644 --- a/service/pinpointemail/api_op_GetDedicatedIps.go +++ b/service/pinpointemail/api_op_GetDedicatedIps.go @@ -130,9 +130,6 @@ func (c *Client) addOperationGetDedicatedIpsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDedicatedIps(options.Region), middleware.Before); err != nil { return err } diff --git a/service/pinpointemail/api_op_GetDeliverabilityDashboardOptions.go b/service/pinpointemail/api_op_GetDeliverabilityDashboardOptions.go index 92c6c669da2..599b2106862 100644 --- a/service/pinpointemail/api_op_GetDeliverabilityDashboardOptions.go +++ b/service/pinpointemail/api_op_GetDeliverabilityDashboardOptions.go @@ -157,9 +157,6 @@ func (c *Client) addOperationGetDeliverabilityDashboardOptionsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDeliverabilityDashboardOptions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/pinpointemail/api_op_GetDeliverabilityTestReport.go b/service/pinpointemail/api_op_GetDeliverabilityTestReport.go index d1f13f4b3a5..9fdf3cea768 100644 --- a/service/pinpointemail/api_op_GetDeliverabilityTestReport.go +++ b/service/pinpointemail/api_op_GetDeliverabilityTestReport.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGetDeliverabilityTestReportMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeliverabilityTestReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_GetDomainDeliverabilityCampaign.go b/service/pinpointemail/api_op_GetDomainDeliverabilityCampaign.go index d3a0131c1b5..4d5a4329c3c 100644 --- a/service/pinpointemail/api_op_GetDomainDeliverabilityCampaign.go +++ b/service/pinpointemail/api_op_GetDomainDeliverabilityCampaign.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetDomainDeliverabilityCampaignMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDomainDeliverabilityCampaignValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_GetDomainStatisticsReport.go b/service/pinpointemail/api_op_GetDomainStatisticsReport.go index 5f2550b608a..cde17032512 100644 --- a/service/pinpointemail/api_op_GetDomainStatisticsReport.go +++ b/service/pinpointemail/api_op_GetDomainStatisticsReport.go @@ -141,9 +141,6 @@ func (c *Client) addOperationGetDomainStatisticsReportMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDomainStatisticsReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_GetEmailIdentity.go b/service/pinpointemail/api_op_GetEmailIdentity.go index a00f5a7151a..7da5902893c 100644 --- a/service/pinpointemail/api_op_GetEmailIdentity.go +++ b/service/pinpointemail/api_op_GetEmailIdentity.go @@ -150,9 +150,6 @@ func (c *Client) addOperationGetEmailIdentityMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEmailIdentityValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_ListConfigurationSets.go b/service/pinpointemail/api_op_ListConfigurationSets.go index 9371c4b8456..a67b070c7d9 100644 --- a/service/pinpointemail/api_op_ListConfigurationSets.go +++ b/service/pinpointemail/api_op_ListConfigurationSets.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListConfigurationSetsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConfigurationSets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/pinpointemail/api_op_ListDedicatedIpPools.go b/service/pinpointemail/api_op_ListDedicatedIpPools.go index ef5447af6e2..1fc8246a2d0 100644 --- a/service/pinpointemail/api_op_ListDedicatedIpPools.go +++ b/service/pinpointemail/api_op_ListDedicatedIpPools.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListDedicatedIpPoolsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDedicatedIpPools(options.Region), middleware.Before); err != nil { return err } diff --git a/service/pinpointemail/api_op_ListDeliverabilityTestReports.go b/service/pinpointemail/api_op_ListDeliverabilityTestReports.go index 25d470f2650..4eb06911602 100644 --- a/service/pinpointemail/api_op_ListDeliverabilityTestReports.go +++ b/service/pinpointemail/api_op_ListDeliverabilityTestReports.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListDeliverabilityTestReportsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeliverabilityTestReports(options.Region), middleware.Before); err != nil { return err } diff --git a/service/pinpointemail/api_op_ListDomainDeliverabilityCampaigns.go b/service/pinpointemail/api_op_ListDomainDeliverabilityCampaigns.go index 5c207d9a538..ad07c164b27 100644 --- a/service/pinpointemail/api_op_ListDomainDeliverabilityCampaigns.go +++ b/service/pinpointemail/api_op_ListDomainDeliverabilityCampaigns.go @@ -156,9 +156,6 @@ func (c *Client) addOperationListDomainDeliverabilityCampaignsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDomainDeliverabilityCampaignsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_ListEmailIdentities.go b/service/pinpointemail/api_op_ListEmailIdentities.go index ed4cbc1a2e6..21ef8c5b625 100644 --- a/service/pinpointemail/api_op_ListEmailIdentities.go +++ b/service/pinpointemail/api_op_ListEmailIdentities.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListEmailIdentitiesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEmailIdentities(options.Region), middleware.Before); err != nil { return err } diff --git a/service/pinpointemail/api_op_ListTagsForResource.go b/service/pinpointemail/api_op_ListTagsForResource.go index 812d7c7d8df..ce0d997785c 100644 --- a/service/pinpointemail/api_op_ListTagsForResource.go +++ b/service/pinpointemail/api_op_ListTagsForResource.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_PutAccountDedicatedIpWarmupAttributes.go b/service/pinpointemail/api_op_PutAccountDedicatedIpWarmupAttributes.go index 331749dfe2e..0024df1f077 100644 --- a/service/pinpointemail/api_op_PutAccountDedicatedIpWarmupAttributes.go +++ b/service/pinpointemail/api_op_PutAccountDedicatedIpWarmupAttributes.go @@ -111,9 +111,6 @@ func (c *Client) addOperationPutAccountDedicatedIpWarmupAttributesMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAccountDedicatedIpWarmupAttributes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/pinpointemail/api_op_PutAccountSendingAttributes.go b/service/pinpointemail/api_op_PutAccountSendingAttributes.go index c65b17322aa..928840532b8 100644 --- a/service/pinpointemail/api_op_PutAccountSendingAttributes.go +++ b/service/pinpointemail/api_op_PutAccountSendingAttributes.go @@ -112,9 +112,6 @@ func (c *Client) addOperationPutAccountSendingAttributesMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAccountSendingAttributes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/pinpointemail/api_op_PutConfigurationSetDeliveryOptions.go b/service/pinpointemail/api_op_PutConfigurationSetDeliveryOptions.go index 037c64debb0..935c4accfaa 100644 --- a/service/pinpointemail/api_op_PutConfigurationSetDeliveryOptions.go +++ b/service/pinpointemail/api_op_PutConfigurationSetDeliveryOptions.go @@ -125,9 +125,6 @@ func (c *Client) addOperationPutConfigurationSetDeliveryOptionsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutConfigurationSetDeliveryOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_PutConfigurationSetReputationOptions.go b/service/pinpointemail/api_op_PutConfigurationSetReputationOptions.go index 6b1e2623240..9478a1039ae 100644 --- a/service/pinpointemail/api_op_PutConfigurationSetReputationOptions.go +++ b/service/pinpointemail/api_op_PutConfigurationSetReputationOptions.go @@ -117,9 +117,6 @@ func (c *Client) addOperationPutConfigurationSetReputationOptionsMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutConfigurationSetReputationOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_PutConfigurationSetSendingOptions.go b/service/pinpointemail/api_op_PutConfigurationSetSendingOptions.go index 19d130da7dd..2af8ca1fdbb 100644 --- a/service/pinpointemail/api_op_PutConfigurationSetSendingOptions.go +++ b/service/pinpointemail/api_op_PutConfigurationSetSendingOptions.go @@ -117,9 +117,6 @@ func (c *Client) addOperationPutConfigurationSetSendingOptionsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutConfigurationSetSendingOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_PutConfigurationSetTrackingOptions.go b/service/pinpointemail/api_op_PutConfigurationSetTrackingOptions.go index b04c29c2588..8531c0a0adc 100644 --- a/service/pinpointemail/api_op_PutConfigurationSetTrackingOptions.go +++ b/service/pinpointemail/api_op_PutConfigurationSetTrackingOptions.go @@ -116,9 +116,6 @@ func (c *Client) addOperationPutConfigurationSetTrackingOptionsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutConfigurationSetTrackingOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_PutDedicatedIpInPool.go b/service/pinpointemail/api_op_PutDedicatedIpInPool.go index 42195d048e0..51eb73d172a 100644 --- a/service/pinpointemail/api_op_PutDedicatedIpInPool.go +++ b/service/pinpointemail/api_op_PutDedicatedIpInPool.go @@ -124,9 +124,6 @@ func (c *Client) addOperationPutDedicatedIpInPoolMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutDedicatedIpInPoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_PutDedicatedIpWarmupAttributes.go b/service/pinpointemail/api_op_PutDedicatedIpWarmupAttributes.go index 327c232c033..1c8b80269f5 100644 --- a/service/pinpointemail/api_op_PutDedicatedIpWarmupAttributes.go +++ b/service/pinpointemail/api_op_PutDedicatedIpWarmupAttributes.go @@ -116,9 +116,6 @@ func (c *Client) addOperationPutDedicatedIpWarmupAttributesMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutDedicatedIpWarmupAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_PutDeliverabilityDashboardOption.go b/service/pinpointemail/api_op_PutDeliverabilityDashboardOption.go index a32048dbd50..d7deec63b73 100644 --- a/service/pinpointemail/api_op_PutDeliverabilityDashboardOption.go +++ b/service/pinpointemail/api_op_PutDeliverabilityDashboardOption.go @@ -138,9 +138,6 @@ func (c *Client) addOperationPutDeliverabilityDashboardOptionMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutDeliverabilityDashboardOptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_PutEmailIdentityDkimAttributes.go b/service/pinpointemail/api_op_PutEmailIdentityDkimAttributes.go index 9d9cab26b4d..2c9ed85273e 100644 --- a/service/pinpointemail/api_op_PutEmailIdentityDkimAttributes.go +++ b/service/pinpointemail/api_op_PutEmailIdentityDkimAttributes.go @@ -118,9 +118,6 @@ func (c *Client) addOperationPutEmailIdentityDkimAttributesMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutEmailIdentityDkimAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_PutEmailIdentityFeedbackAttributes.go b/service/pinpointemail/api_op_PutEmailIdentityFeedbackAttributes.go index 192d7bdd860..02352e7481a 100644 --- a/service/pinpointemail/api_op_PutEmailIdentityFeedbackAttributes.go +++ b/service/pinpointemail/api_op_PutEmailIdentityFeedbackAttributes.go @@ -140,9 +140,6 @@ func (c *Client) addOperationPutEmailIdentityFeedbackAttributesMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutEmailIdentityFeedbackAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_PutEmailIdentityMailFromAttributes.go b/service/pinpointemail/api_op_PutEmailIdentityMailFromAttributes.go index 48e44eb1373..06042668544 100644 --- a/service/pinpointemail/api_op_PutEmailIdentityMailFromAttributes.go +++ b/service/pinpointemail/api_op_PutEmailIdentityMailFromAttributes.go @@ -134,9 +134,6 @@ func (c *Client) addOperationPutEmailIdentityMailFromAttributesMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutEmailIdentityMailFromAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_SendEmail.go b/service/pinpointemail/api_op_SendEmail.go index 7988fc849f0..6ef4b11157e 100644 --- a/service/pinpointemail/api_op_SendEmail.go +++ b/service/pinpointemail/api_op_SendEmail.go @@ -157,9 +157,6 @@ func (c *Client) addOperationSendEmailMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendEmailValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_TagResource.go b/service/pinpointemail/api_op_TagResource.go index fc27c121b84..a13183f521a 100644 --- a/service/pinpointemail/api_op_TagResource.go +++ b/service/pinpointemail/api_op_TagResource.go @@ -125,9 +125,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_UntagResource.go b/service/pinpointemail/api_op_UntagResource.go index 9509b1c3cfb..85bf2f774af 100644 --- a/service/pinpointemail/api_op_UntagResource.go +++ b/service/pinpointemail/api_op_UntagResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/api_op_UpdateConfigurationSetEventDestination.go b/service/pinpointemail/api_op_UpdateConfigurationSetEventDestination.go index 8a4ac1e4f7a..0fcce12388e 100644 --- a/service/pinpointemail/api_op_UpdateConfigurationSetEventDestination.go +++ b/service/pinpointemail/api_op_UpdateConfigurationSetEventDestination.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateConfigurationSetEventDestinationMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConfigurationSetEventDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointemail/snapshot/api_op_CreateConfigurationSet.go.snap b/service/pinpointemail/snapshot/api_op_CreateConfigurationSet.go.snap index 23327154112..f88f5165b23 100644 --- a/service/pinpointemail/snapshot/api_op_CreateConfigurationSet.go.snap +++ b/service/pinpointemail/snapshot/api_op_CreateConfigurationSet.go.snap @@ -14,7 +14,6 @@ CreateConfigurationSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_CreateConfigurationSetEventDestination.go.snap b/service/pinpointemail/snapshot/api_op_CreateConfigurationSetEventDestination.go.snap index e273ff4bc46..21d4c7d2443 100644 --- a/service/pinpointemail/snapshot/api_op_CreateConfigurationSetEventDestination.go.snap +++ b/service/pinpointemail/snapshot/api_op_CreateConfigurationSetEventDestination.go.snap @@ -14,7 +14,6 @@ CreateConfigurationSetEventDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_CreateDedicatedIpPool.go.snap b/service/pinpointemail/snapshot/api_op_CreateDedicatedIpPool.go.snap index 604dafafb0b..2aebc2acec0 100644 --- a/service/pinpointemail/snapshot/api_op_CreateDedicatedIpPool.go.snap +++ b/service/pinpointemail/snapshot/api_op_CreateDedicatedIpPool.go.snap @@ -14,7 +14,6 @@ CreateDedicatedIpPool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_CreateDeliverabilityTestReport.go.snap b/service/pinpointemail/snapshot/api_op_CreateDeliverabilityTestReport.go.snap index 12a5bdf4ff8..f8003bfe50a 100644 --- a/service/pinpointemail/snapshot/api_op_CreateDeliverabilityTestReport.go.snap +++ b/service/pinpointemail/snapshot/api_op_CreateDeliverabilityTestReport.go.snap @@ -14,7 +14,6 @@ CreateDeliverabilityTestReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_CreateEmailIdentity.go.snap b/service/pinpointemail/snapshot/api_op_CreateEmailIdentity.go.snap index fa8623dbf48..e1b7f686ce1 100644 --- a/service/pinpointemail/snapshot/api_op_CreateEmailIdentity.go.snap +++ b/service/pinpointemail/snapshot/api_op_CreateEmailIdentity.go.snap @@ -14,7 +14,6 @@ CreateEmailIdentity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_DeleteConfigurationSet.go.snap b/service/pinpointemail/snapshot/api_op_DeleteConfigurationSet.go.snap index c8de5b62739..c7f4d120ec5 100644 --- a/service/pinpointemail/snapshot/api_op_DeleteConfigurationSet.go.snap +++ b/service/pinpointemail/snapshot/api_op_DeleteConfigurationSet.go.snap @@ -14,7 +14,6 @@ DeleteConfigurationSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_DeleteConfigurationSetEventDestination.go.snap b/service/pinpointemail/snapshot/api_op_DeleteConfigurationSetEventDestination.go.snap index 6e85ce81822..ea61d59c58e 100644 --- a/service/pinpointemail/snapshot/api_op_DeleteConfigurationSetEventDestination.go.snap +++ b/service/pinpointemail/snapshot/api_op_DeleteConfigurationSetEventDestination.go.snap @@ -14,7 +14,6 @@ DeleteConfigurationSetEventDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_DeleteDedicatedIpPool.go.snap b/service/pinpointemail/snapshot/api_op_DeleteDedicatedIpPool.go.snap index 5df93667d79..c2b58d7a68c 100644 --- a/service/pinpointemail/snapshot/api_op_DeleteDedicatedIpPool.go.snap +++ b/service/pinpointemail/snapshot/api_op_DeleteDedicatedIpPool.go.snap @@ -14,7 +14,6 @@ DeleteDedicatedIpPool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_DeleteEmailIdentity.go.snap b/service/pinpointemail/snapshot/api_op_DeleteEmailIdentity.go.snap index c608cd9b961..2860acb4f4a 100644 --- a/service/pinpointemail/snapshot/api_op_DeleteEmailIdentity.go.snap +++ b/service/pinpointemail/snapshot/api_op_DeleteEmailIdentity.go.snap @@ -14,7 +14,6 @@ DeleteEmailIdentity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_GetAccount.go.snap b/service/pinpointemail/snapshot/api_op_GetAccount.go.snap index 6a937d1e473..2512db68f05 100644 --- a/service/pinpointemail/snapshot/api_op_GetAccount.go.snap +++ b/service/pinpointemail/snapshot/api_op_GetAccount.go.snap @@ -13,7 +13,6 @@ GetAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_GetBlacklistReports.go.snap b/service/pinpointemail/snapshot/api_op_GetBlacklistReports.go.snap index df7a1f32979..8d8754fb242 100644 --- a/service/pinpointemail/snapshot/api_op_GetBlacklistReports.go.snap +++ b/service/pinpointemail/snapshot/api_op_GetBlacklistReports.go.snap @@ -14,7 +14,6 @@ GetBlacklistReports Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_GetConfigurationSet.go.snap b/service/pinpointemail/snapshot/api_op_GetConfigurationSet.go.snap index e3b186e07f3..80abf558f23 100644 --- a/service/pinpointemail/snapshot/api_op_GetConfigurationSet.go.snap +++ b/service/pinpointemail/snapshot/api_op_GetConfigurationSet.go.snap @@ -14,7 +14,6 @@ GetConfigurationSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_GetConfigurationSetEventDestinations.go.snap b/service/pinpointemail/snapshot/api_op_GetConfigurationSetEventDestinations.go.snap index bd31e742518..9fdc460a149 100644 --- a/service/pinpointemail/snapshot/api_op_GetConfigurationSetEventDestinations.go.snap +++ b/service/pinpointemail/snapshot/api_op_GetConfigurationSetEventDestinations.go.snap @@ -14,7 +14,6 @@ GetConfigurationSetEventDestinations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_GetDedicatedIp.go.snap b/service/pinpointemail/snapshot/api_op_GetDedicatedIp.go.snap index 989633dfc56..e6c4fa211c5 100644 --- a/service/pinpointemail/snapshot/api_op_GetDedicatedIp.go.snap +++ b/service/pinpointemail/snapshot/api_op_GetDedicatedIp.go.snap @@ -14,7 +14,6 @@ GetDedicatedIp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_GetDedicatedIps.go.snap b/service/pinpointemail/snapshot/api_op_GetDedicatedIps.go.snap index 840c1628ac9..b3ffce9e8d5 100644 --- a/service/pinpointemail/snapshot/api_op_GetDedicatedIps.go.snap +++ b/service/pinpointemail/snapshot/api_op_GetDedicatedIps.go.snap @@ -13,7 +13,6 @@ GetDedicatedIps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_GetDeliverabilityDashboardOptions.go.snap b/service/pinpointemail/snapshot/api_op_GetDeliverabilityDashboardOptions.go.snap index fdf300970e7..750cb0171d8 100644 --- a/service/pinpointemail/snapshot/api_op_GetDeliverabilityDashboardOptions.go.snap +++ b/service/pinpointemail/snapshot/api_op_GetDeliverabilityDashboardOptions.go.snap @@ -13,7 +13,6 @@ GetDeliverabilityDashboardOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_GetDeliverabilityTestReport.go.snap b/service/pinpointemail/snapshot/api_op_GetDeliverabilityTestReport.go.snap index 3104fb5abd7..f011bb412be 100644 --- a/service/pinpointemail/snapshot/api_op_GetDeliverabilityTestReport.go.snap +++ b/service/pinpointemail/snapshot/api_op_GetDeliverabilityTestReport.go.snap @@ -14,7 +14,6 @@ GetDeliverabilityTestReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_GetDomainDeliverabilityCampaign.go.snap b/service/pinpointemail/snapshot/api_op_GetDomainDeliverabilityCampaign.go.snap index f76b8012929..75c564fc468 100644 --- a/service/pinpointemail/snapshot/api_op_GetDomainDeliverabilityCampaign.go.snap +++ b/service/pinpointemail/snapshot/api_op_GetDomainDeliverabilityCampaign.go.snap @@ -14,7 +14,6 @@ GetDomainDeliverabilityCampaign Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_GetDomainStatisticsReport.go.snap b/service/pinpointemail/snapshot/api_op_GetDomainStatisticsReport.go.snap index 1d56c939cf2..8dcbfcc36b0 100644 --- a/service/pinpointemail/snapshot/api_op_GetDomainStatisticsReport.go.snap +++ b/service/pinpointemail/snapshot/api_op_GetDomainStatisticsReport.go.snap @@ -14,7 +14,6 @@ GetDomainStatisticsReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_GetEmailIdentity.go.snap b/service/pinpointemail/snapshot/api_op_GetEmailIdentity.go.snap index bf8bffb6f2d..650bec13ea3 100644 --- a/service/pinpointemail/snapshot/api_op_GetEmailIdentity.go.snap +++ b/service/pinpointemail/snapshot/api_op_GetEmailIdentity.go.snap @@ -14,7 +14,6 @@ GetEmailIdentity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_ListConfigurationSets.go.snap b/service/pinpointemail/snapshot/api_op_ListConfigurationSets.go.snap index 16d06b8c86e..dec8b656364 100644 --- a/service/pinpointemail/snapshot/api_op_ListConfigurationSets.go.snap +++ b/service/pinpointemail/snapshot/api_op_ListConfigurationSets.go.snap @@ -13,7 +13,6 @@ ListConfigurationSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_ListDedicatedIpPools.go.snap b/service/pinpointemail/snapshot/api_op_ListDedicatedIpPools.go.snap index 6e5184495ba..3974d053394 100644 --- a/service/pinpointemail/snapshot/api_op_ListDedicatedIpPools.go.snap +++ b/service/pinpointemail/snapshot/api_op_ListDedicatedIpPools.go.snap @@ -13,7 +13,6 @@ ListDedicatedIpPools Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_ListDeliverabilityTestReports.go.snap b/service/pinpointemail/snapshot/api_op_ListDeliverabilityTestReports.go.snap index 72e7c475d11..e133b89ac3f 100644 --- a/service/pinpointemail/snapshot/api_op_ListDeliverabilityTestReports.go.snap +++ b/service/pinpointemail/snapshot/api_op_ListDeliverabilityTestReports.go.snap @@ -13,7 +13,6 @@ ListDeliverabilityTestReports Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_ListDomainDeliverabilityCampaigns.go.snap b/service/pinpointemail/snapshot/api_op_ListDomainDeliverabilityCampaigns.go.snap index 4874e1d811c..256fae18c52 100644 --- a/service/pinpointemail/snapshot/api_op_ListDomainDeliverabilityCampaigns.go.snap +++ b/service/pinpointemail/snapshot/api_op_ListDomainDeliverabilityCampaigns.go.snap @@ -14,7 +14,6 @@ ListDomainDeliverabilityCampaigns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_ListEmailIdentities.go.snap b/service/pinpointemail/snapshot/api_op_ListEmailIdentities.go.snap index a193b03c093..7dcc28b1af1 100644 --- a/service/pinpointemail/snapshot/api_op_ListEmailIdentities.go.snap +++ b/service/pinpointemail/snapshot/api_op_ListEmailIdentities.go.snap @@ -13,7 +13,6 @@ ListEmailIdentities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_ListTagsForResource.go.snap b/service/pinpointemail/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/pinpointemail/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/pinpointemail/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_PutAccountDedicatedIpWarmupAttributes.go.snap b/service/pinpointemail/snapshot/api_op_PutAccountDedicatedIpWarmupAttributes.go.snap index e67d1c253c7..e8f4287bdfb 100644 --- a/service/pinpointemail/snapshot/api_op_PutAccountDedicatedIpWarmupAttributes.go.snap +++ b/service/pinpointemail/snapshot/api_op_PutAccountDedicatedIpWarmupAttributes.go.snap @@ -13,7 +13,6 @@ PutAccountDedicatedIpWarmupAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_PutAccountSendingAttributes.go.snap b/service/pinpointemail/snapshot/api_op_PutAccountSendingAttributes.go.snap index ba49ee81a95..4bedef71508 100644 --- a/service/pinpointemail/snapshot/api_op_PutAccountSendingAttributes.go.snap +++ b/service/pinpointemail/snapshot/api_op_PutAccountSendingAttributes.go.snap @@ -13,7 +13,6 @@ PutAccountSendingAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_PutConfigurationSetDeliveryOptions.go.snap b/service/pinpointemail/snapshot/api_op_PutConfigurationSetDeliveryOptions.go.snap index c5a437012be..dff482d47ac 100644 --- a/service/pinpointemail/snapshot/api_op_PutConfigurationSetDeliveryOptions.go.snap +++ b/service/pinpointemail/snapshot/api_op_PutConfigurationSetDeliveryOptions.go.snap @@ -14,7 +14,6 @@ PutConfigurationSetDeliveryOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_PutConfigurationSetReputationOptions.go.snap b/service/pinpointemail/snapshot/api_op_PutConfigurationSetReputationOptions.go.snap index 663bdbae21f..4c81fd4407d 100644 --- a/service/pinpointemail/snapshot/api_op_PutConfigurationSetReputationOptions.go.snap +++ b/service/pinpointemail/snapshot/api_op_PutConfigurationSetReputationOptions.go.snap @@ -14,7 +14,6 @@ PutConfigurationSetReputationOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_PutConfigurationSetSendingOptions.go.snap b/service/pinpointemail/snapshot/api_op_PutConfigurationSetSendingOptions.go.snap index 5495dc8fb46..7f4f28db86e 100644 --- a/service/pinpointemail/snapshot/api_op_PutConfigurationSetSendingOptions.go.snap +++ b/service/pinpointemail/snapshot/api_op_PutConfigurationSetSendingOptions.go.snap @@ -14,7 +14,6 @@ PutConfigurationSetSendingOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_PutConfigurationSetTrackingOptions.go.snap b/service/pinpointemail/snapshot/api_op_PutConfigurationSetTrackingOptions.go.snap index f966d5acf84..4e5f218bdc2 100644 --- a/service/pinpointemail/snapshot/api_op_PutConfigurationSetTrackingOptions.go.snap +++ b/service/pinpointemail/snapshot/api_op_PutConfigurationSetTrackingOptions.go.snap @@ -14,7 +14,6 @@ PutConfigurationSetTrackingOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_PutDedicatedIpInPool.go.snap b/service/pinpointemail/snapshot/api_op_PutDedicatedIpInPool.go.snap index a1ce94d8955..deea601e061 100644 --- a/service/pinpointemail/snapshot/api_op_PutDedicatedIpInPool.go.snap +++ b/service/pinpointemail/snapshot/api_op_PutDedicatedIpInPool.go.snap @@ -14,7 +14,6 @@ PutDedicatedIpInPool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_PutDedicatedIpWarmupAttributes.go.snap b/service/pinpointemail/snapshot/api_op_PutDedicatedIpWarmupAttributes.go.snap index 32b369c9c69..70cb2534ef8 100644 --- a/service/pinpointemail/snapshot/api_op_PutDedicatedIpWarmupAttributes.go.snap +++ b/service/pinpointemail/snapshot/api_op_PutDedicatedIpWarmupAttributes.go.snap @@ -14,7 +14,6 @@ PutDedicatedIpWarmupAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_PutDeliverabilityDashboardOption.go.snap b/service/pinpointemail/snapshot/api_op_PutDeliverabilityDashboardOption.go.snap index a131315b440..a95fbf1c270 100644 --- a/service/pinpointemail/snapshot/api_op_PutDeliverabilityDashboardOption.go.snap +++ b/service/pinpointemail/snapshot/api_op_PutDeliverabilityDashboardOption.go.snap @@ -14,7 +14,6 @@ PutDeliverabilityDashboardOption Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_PutEmailIdentityDkimAttributes.go.snap b/service/pinpointemail/snapshot/api_op_PutEmailIdentityDkimAttributes.go.snap index d866c79e3c8..a696f6ab797 100644 --- a/service/pinpointemail/snapshot/api_op_PutEmailIdentityDkimAttributes.go.snap +++ b/service/pinpointemail/snapshot/api_op_PutEmailIdentityDkimAttributes.go.snap @@ -14,7 +14,6 @@ PutEmailIdentityDkimAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_PutEmailIdentityFeedbackAttributes.go.snap b/service/pinpointemail/snapshot/api_op_PutEmailIdentityFeedbackAttributes.go.snap index 1261087d0f5..62f9033644e 100644 --- a/service/pinpointemail/snapshot/api_op_PutEmailIdentityFeedbackAttributes.go.snap +++ b/service/pinpointemail/snapshot/api_op_PutEmailIdentityFeedbackAttributes.go.snap @@ -14,7 +14,6 @@ PutEmailIdentityFeedbackAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_PutEmailIdentityMailFromAttributes.go.snap b/service/pinpointemail/snapshot/api_op_PutEmailIdentityMailFromAttributes.go.snap index d580f9b38a2..445378f08cc 100644 --- a/service/pinpointemail/snapshot/api_op_PutEmailIdentityMailFromAttributes.go.snap +++ b/service/pinpointemail/snapshot/api_op_PutEmailIdentityMailFromAttributes.go.snap @@ -14,7 +14,6 @@ PutEmailIdentityMailFromAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_SendEmail.go.snap b/service/pinpointemail/snapshot/api_op_SendEmail.go.snap index f1eb7b412e0..749c9b4478e 100644 --- a/service/pinpointemail/snapshot/api_op_SendEmail.go.snap +++ b/service/pinpointemail/snapshot/api_op_SendEmail.go.snap @@ -14,7 +14,6 @@ SendEmail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_TagResource.go.snap b/service/pinpointemail/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/pinpointemail/snapshot/api_op_TagResource.go.snap +++ b/service/pinpointemail/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_UntagResource.go.snap b/service/pinpointemail/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/pinpointemail/snapshot/api_op_UntagResource.go.snap +++ b/service/pinpointemail/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointemail/snapshot/api_op_UpdateConfigurationSetEventDestination.go.snap b/service/pinpointemail/snapshot/api_op_UpdateConfigurationSetEventDestination.go.snap index 624d602cec8..ac613959f80 100644 --- a/service/pinpointemail/snapshot/api_op_UpdateConfigurationSetEventDestination.go.snap +++ b/service/pinpointemail/snapshot/api_op_UpdateConfigurationSetEventDestination.go.snap @@ -14,7 +14,6 @@ UpdateConfigurationSetEventDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoice/api_client.go b/service/pinpointsmsvoice/api_client.go index 3f00e4b3c22..d787e639772 100644 --- a/service/pinpointsmsvoice/api_client.go +++ b/service/pinpointsmsvoice/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/pinpointsmsvoice/api_op_CreateConfigurationSet.go b/service/pinpointsmsvoice/api_op_CreateConfigurationSet.go index 3aa09a05c42..ab4730307c6 100644 --- a/service/pinpointsmsvoice/api_op_CreateConfigurationSet.go +++ b/service/pinpointsmsvoice/api_op_CreateConfigurationSet.go @@ -109,9 +109,6 @@ func (c *Client) addOperationCreateConfigurationSetMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConfigurationSet(options.Region), middleware.Before); err != nil { return err } diff --git a/service/pinpointsmsvoice/api_op_CreateConfigurationSetEventDestination.go b/service/pinpointsmsvoice/api_op_CreateConfigurationSetEventDestination.go index b57f4b5e5c3..237824fc1d5 100644 --- a/service/pinpointsmsvoice/api_op_CreateConfigurationSetEventDestination.go +++ b/service/pinpointsmsvoice/api_op_CreateConfigurationSetEventDestination.go @@ -117,9 +117,6 @@ func (c *Client) addOperationCreateConfigurationSetEventDestinationMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConfigurationSetEventDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoice/api_op_DeleteConfigurationSet.go b/service/pinpointsmsvoice/api_op_DeleteConfigurationSet.go index 954ef16770c..61bedc5ce3c 100644 --- a/service/pinpointsmsvoice/api_op_DeleteConfigurationSet.go +++ b/service/pinpointsmsvoice/api_op_DeleteConfigurationSet.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteConfigurationSetMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConfigurationSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoice/api_op_DeleteConfigurationSetEventDestination.go b/service/pinpointsmsvoice/api_op_DeleteConfigurationSetEventDestination.go index 562543b5d6c..853b59c5221 100644 --- a/service/pinpointsmsvoice/api_op_DeleteConfigurationSetEventDestination.go +++ b/service/pinpointsmsvoice/api_op_DeleteConfigurationSetEventDestination.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteConfigurationSetEventDestinationMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConfigurationSetEventDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoice/api_op_GetConfigurationSetEventDestinations.go b/service/pinpointsmsvoice/api_op_GetConfigurationSetEventDestinations.go index 4403725bc68..d9664688477 100644 --- a/service/pinpointsmsvoice/api_op_GetConfigurationSetEventDestinations.go +++ b/service/pinpointsmsvoice/api_op_GetConfigurationSetEventDestinations.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetConfigurationSetEventDestinationsMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConfigurationSetEventDestinationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoice/api_op_ListConfigurationSets.go b/service/pinpointsmsvoice/api_op_ListConfigurationSets.go index a6690ed98df..15292d9e5f3 100644 --- a/service/pinpointsmsvoice/api_op_ListConfigurationSets.go +++ b/service/pinpointsmsvoice/api_op_ListConfigurationSets.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListConfigurationSetsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConfigurationSets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/pinpointsmsvoice/api_op_SendVoiceMessage.go b/service/pinpointsmsvoice/api_op_SendVoiceMessage.go index c7b2dc4bc56..66035cfe05d 100644 --- a/service/pinpointsmsvoice/api_op_SendVoiceMessage.go +++ b/service/pinpointsmsvoice/api_op_SendVoiceMessage.go @@ -130,9 +130,6 @@ func (c *Client) addOperationSendVoiceMessageMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSendVoiceMessage(options.Region), middleware.Before); err != nil { return err } diff --git a/service/pinpointsmsvoice/api_op_UpdateConfigurationSetEventDestination.go b/service/pinpointsmsvoice/api_op_UpdateConfigurationSetEventDestination.go index 301af2e564a..f1a04469e0f 100644 --- a/service/pinpointsmsvoice/api_op_UpdateConfigurationSetEventDestination.go +++ b/service/pinpointsmsvoice/api_op_UpdateConfigurationSetEventDestination.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateConfigurationSetEventDestinationMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConfigurationSetEventDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoice/snapshot/api_op_CreateConfigurationSet.go.snap b/service/pinpointsmsvoice/snapshot/api_op_CreateConfigurationSet.go.snap index 298b9a078c8..5b787fc31fc 100644 --- a/service/pinpointsmsvoice/snapshot/api_op_CreateConfigurationSet.go.snap +++ b/service/pinpointsmsvoice/snapshot/api_op_CreateConfigurationSet.go.snap @@ -13,7 +13,6 @@ CreateConfigurationSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoice/snapshot/api_op_CreateConfigurationSetEventDestination.go.snap b/service/pinpointsmsvoice/snapshot/api_op_CreateConfigurationSetEventDestination.go.snap index e273ff4bc46..21d4c7d2443 100644 --- a/service/pinpointsmsvoice/snapshot/api_op_CreateConfigurationSetEventDestination.go.snap +++ b/service/pinpointsmsvoice/snapshot/api_op_CreateConfigurationSetEventDestination.go.snap @@ -14,7 +14,6 @@ CreateConfigurationSetEventDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoice/snapshot/api_op_DeleteConfigurationSet.go.snap b/service/pinpointsmsvoice/snapshot/api_op_DeleteConfigurationSet.go.snap index c8de5b62739..c7f4d120ec5 100644 --- a/service/pinpointsmsvoice/snapshot/api_op_DeleteConfigurationSet.go.snap +++ b/service/pinpointsmsvoice/snapshot/api_op_DeleteConfigurationSet.go.snap @@ -14,7 +14,6 @@ DeleteConfigurationSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoice/snapshot/api_op_DeleteConfigurationSetEventDestination.go.snap b/service/pinpointsmsvoice/snapshot/api_op_DeleteConfigurationSetEventDestination.go.snap index 6e85ce81822..ea61d59c58e 100644 --- a/service/pinpointsmsvoice/snapshot/api_op_DeleteConfigurationSetEventDestination.go.snap +++ b/service/pinpointsmsvoice/snapshot/api_op_DeleteConfigurationSetEventDestination.go.snap @@ -14,7 +14,6 @@ DeleteConfigurationSetEventDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoice/snapshot/api_op_GetConfigurationSetEventDestinations.go.snap b/service/pinpointsmsvoice/snapshot/api_op_GetConfigurationSetEventDestinations.go.snap index bd31e742518..9fdc460a149 100644 --- a/service/pinpointsmsvoice/snapshot/api_op_GetConfigurationSetEventDestinations.go.snap +++ b/service/pinpointsmsvoice/snapshot/api_op_GetConfigurationSetEventDestinations.go.snap @@ -14,7 +14,6 @@ GetConfigurationSetEventDestinations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoice/snapshot/api_op_ListConfigurationSets.go.snap b/service/pinpointsmsvoice/snapshot/api_op_ListConfigurationSets.go.snap index 16d06b8c86e..dec8b656364 100644 --- a/service/pinpointsmsvoice/snapshot/api_op_ListConfigurationSets.go.snap +++ b/service/pinpointsmsvoice/snapshot/api_op_ListConfigurationSets.go.snap @@ -13,7 +13,6 @@ ListConfigurationSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoice/snapshot/api_op_SendVoiceMessage.go.snap b/service/pinpointsmsvoice/snapshot/api_op_SendVoiceMessage.go.snap index 904e2c8c1ac..d4ee617c60d 100644 --- a/service/pinpointsmsvoice/snapshot/api_op_SendVoiceMessage.go.snap +++ b/service/pinpointsmsvoice/snapshot/api_op_SendVoiceMessage.go.snap @@ -13,7 +13,6 @@ SendVoiceMessage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoice/snapshot/api_op_UpdateConfigurationSetEventDestination.go.snap b/service/pinpointsmsvoice/snapshot/api_op_UpdateConfigurationSetEventDestination.go.snap index 624d602cec8..ac613959f80 100644 --- a/service/pinpointsmsvoice/snapshot/api_op_UpdateConfigurationSetEventDestination.go.snap +++ b/service/pinpointsmsvoice/snapshot/api_op_UpdateConfigurationSetEventDestination.go.snap @@ -14,7 +14,6 @@ UpdateConfigurationSetEventDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/api_client.go b/service/pinpointsmsvoicev2/api_client.go index f5acbba9c86..a8ab3656447 100644 --- a/service/pinpointsmsvoicev2/api_client.go +++ b/service/pinpointsmsvoicev2/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/pinpointsmsvoicev2/api_op_AssociateOriginationIdentity.go b/service/pinpointsmsvoicev2/api_op_AssociateOriginationIdentity.go index 41aa0c5e387..fe1f4db9052 100644 --- a/service/pinpointsmsvoicev2/api_op_AssociateOriginationIdentity.go +++ b/service/pinpointsmsvoicev2/api_op_AssociateOriginationIdentity.go @@ -158,9 +158,6 @@ func (c *Client) addOperationAssociateOriginationIdentityMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opAssociateOriginationIdentityMiddleware(stack, options); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_AssociateProtectConfiguration.go b/service/pinpointsmsvoicev2/api_op_AssociateProtectConfiguration.go index 9ba3219645c..d886af4a643 100644 --- a/service/pinpointsmsvoicev2/api_op_AssociateProtectConfiguration.go +++ b/service/pinpointsmsvoicev2/api_op_AssociateProtectConfiguration.go @@ -136,9 +136,6 @@ func (c *Client) addOperationAssociateProtectConfigurationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateProtectConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_CreateConfigurationSet.go b/service/pinpointsmsvoicev2/api_op_CreateConfigurationSet.go index 1fafb588aa0..a05cee7e131 100644 --- a/service/pinpointsmsvoicev2/api_op_CreateConfigurationSet.go +++ b/service/pinpointsmsvoicev2/api_op_CreateConfigurationSet.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreateConfigurationSetMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateConfigurationSetMiddleware(stack, options); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_CreateEventDestination.go b/service/pinpointsmsvoicev2/api_op_CreateEventDestination.go index 62e313e5fd0..06986ee3c22 100644 --- a/service/pinpointsmsvoicev2/api_op_CreateEventDestination.go +++ b/service/pinpointsmsvoicev2/api_op_CreateEventDestination.go @@ -160,9 +160,6 @@ func (c *Client) addOperationCreateEventDestinationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateEventDestinationMiddleware(stack, options); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_CreateOptOutList.go b/service/pinpointsmsvoicev2/api_op_CreateOptOutList.go index 007becf1459..2a0ec241472 100644 --- a/service/pinpointsmsvoicev2/api_op_CreateOptOutList.go +++ b/service/pinpointsmsvoicev2/api_op_CreateOptOutList.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCreateOptOutListMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateOptOutListMiddleware(stack, options); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_CreatePool.go b/service/pinpointsmsvoicev2/api_op_CreatePool.go index 2efb4312baf..b4de32eafa9 100644 --- a/service/pinpointsmsvoicev2/api_op_CreatePool.go +++ b/service/pinpointsmsvoicev2/api_op_CreatePool.go @@ -213,9 +213,6 @@ func (c *Client) addOperationCreatePoolMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreatePoolMiddleware(stack, options); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_CreateProtectConfiguration.go b/service/pinpointsmsvoicev2/api_op_CreateProtectConfiguration.go index 0ac26f62ccc..cb481b45d69 100644 --- a/service/pinpointsmsvoicev2/api_op_CreateProtectConfiguration.go +++ b/service/pinpointsmsvoicev2/api_op_CreateProtectConfiguration.go @@ -153,9 +153,6 @@ func (c *Client) addOperationCreateProtectConfigurationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateProtectConfigurationMiddleware(stack, options); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_CreateRegistration.go b/service/pinpointsmsvoicev2/api_op_CreateRegistration.go index a2d9e9275f2..4039dc3f336 100644 --- a/service/pinpointsmsvoicev2/api_op_CreateRegistration.go +++ b/service/pinpointsmsvoicev2/api_op_CreateRegistration.go @@ -179,9 +179,6 @@ func (c *Client) addOperationCreateRegistrationMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateRegistrationMiddleware(stack, options); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_CreateRegistrationAssociation.go b/service/pinpointsmsvoicev2/api_op_CreateRegistrationAssociation.go index 41b11b2132b..4db9d0701a7 100644 --- a/service/pinpointsmsvoicev2/api_op_CreateRegistrationAssociation.go +++ b/service/pinpointsmsvoicev2/api_op_CreateRegistrationAssociation.go @@ -154,9 +154,6 @@ func (c *Client) addOperationCreateRegistrationAssociationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRegistrationAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_CreateRegistrationAttachment.go b/service/pinpointsmsvoicev2/api_op_CreateRegistrationAttachment.go index 317cd817009..1f78fd6dd8f 100644 --- a/service/pinpointsmsvoicev2/api_op_CreateRegistrationAttachment.go +++ b/service/pinpointsmsvoicev2/api_op_CreateRegistrationAttachment.go @@ -162,9 +162,6 @@ func (c *Client) addOperationCreateRegistrationAttachmentMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateRegistrationAttachmentMiddleware(stack, options); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_CreateRegistrationVersion.go b/service/pinpointsmsvoicev2/api_op_CreateRegistrationVersion.go index 3609045c82a..42ae440c9a6 100644 --- a/service/pinpointsmsvoicev2/api_op_CreateRegistrationVersion.go +++ b/service/pinpointsmsvoicev2/api_op_CreateRegistrationVersion.go @@ -156,9 +156,6 @@ func (c *Client) addOperationCreateRegistrationVersionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRegistrationVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_CreateVerifiedDestinationNumber.go b/service/pinpointsmsvoicev2/api_op_CreateVerifiedDestinationNumber.go index ec4889a9663..ee85f227774 100644 --- a/service/pinpointsmsvoicev2/api_op_CreateVerifiedDestinationNumber.go +++ b/service/pinpointsmsvoicev2/api_op_CreateVerifiedDestinationNumber.go @@ -153,9 +153,6 @@ func (c *Client) addOperationCreateVerifiedDestinationNumberMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateVerifiedDestinationNumberMiddleware(stack, options); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DeleteAccountDefaultProtectConfiguration.go b/service/pinpointsmsvoicev2/api_op_DeleteAccountDefaultProtectConfiguration.go index 167c167a306..ecc5367c8c5 100644 --- a/service/pinpointsmsvoicev2/api_op_DeleteAccountDefaultProtectConfiguration.go +++ b/service/pinpointsmsvoicev2/api_op_DeleteAccountDefaultProtectConfiguration.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteAccountDefaultProtectConfigurationMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAccountDefaultProtectConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DeleteConfigurationSet.go b/service/pinpointsmsvoicev2/api_op_DeleteConfigurationSet.go index eddbe0ed616..395b122b585 100644 --- a/service/pinpointsmsvoicev2/api_op_DeleteConfigurationSet.go +++ b/service/pinpointsmsvoicev2/api_op_DeleteConfigurationSet.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDeleteConfigurationSetMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConfigurationSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DeleteDefaultMessageType.go b/service/pinpointsmsvoicev2/api_op_DeleteDefaultMessageType.go index 33197f237cb..d4ed4b64775 100644 --- a/service/pinpointsmsvoicev2/api_op_DeleteDefaultMessageType.go +++ b/service/pinpointsmsvoicev2/api_op_DeleteDefaultMessageType.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDeleteDefaultMessageTypeMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDefaultMessageTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DeleteDefaultSenderId.go b/service/pinpointsmsvoicev2/api_op_DeleteDefaultSenderId.go index 67896ebf6ef..e17f8e4e88b 100644 --- a/service/pinpointsmsvoicev2/api_op_DeleteDefaultSenderId.go +++ b/service/pinpointsmsvoicev2/api_op_DeleteDefaultSenderId.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteDefaultSenderIdMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDefaultSenderIdValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DeleteEventDestination.go b/service/pinpointsmsvoicev2/api_op_DeleteEventDestination.go index 7c3eebcac4b..97b19b83638 100644 --- a/service/pinpointsmsvoicev2/api_op_DeleteEventDestination.go +++ b/service/pinpointsmsvoicev2/api_op_DeleteEventDestination.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDeleteEventDestinationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEventDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DeleteKeyword.go b/service/pinpointsmsvoicev2/api_op_DeleteKeyword.go index 8b524bb8b5c..3da1f076f05 100644 --- a/service/pinpointsmsvoicev2/api_op_DeleteKeyword.go +++ b/service/pinpointsmsvoicev2/api_op_DeleteKeyword.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDeleteKeywordMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteKeywordValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DeleteMediaMessageSpendLimitOverride.go b/service/pinpointsmsvoicev2/api_op_DeleteMediaMessageSpendLimitOverride.go index 521a37cd657..769ca96a0b5 100644 --- a/service/pinpointsmsvoicev2/api_op_DeleteMediaMessageSpendLimitOverride.go +++ b/service/pinpointsmsvoicev2/api_op_DeleteMediaMessageSpendLimitOverride.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteMediaMessageSpendLimitOverrideMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMediaMessageSpendLimitOverride(options.Region), middleware.Before); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DeleteOptOutList.go b/service/pinpointsmsvoicev2/api_op_DeleteOptOutList.go index 2d2716ef853..95e0f6f2f7e 100644 --- a/service/pinpointsmsvoicev2/api_op_DeleteOptOutList.go +++ b/service/pinpointsmsvoicev2/api_op_DeleteOptOutList.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteOptOutListMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteOptOutListValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DeleteOptedOutNumber.go b/service/pinpointsmsvoicev2/api_op_DeleteOptedOutNumber.go index 86e52e1e839..1a5c4c2776a 100644 --- a/service/pinpointsmsvoicev2/api_op_DeleteOptedOutNumber.go +++ b/service/pinpointsmsvoicev2/api_op_DeleteOptedOutNumber.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDeleteOptedOutNumberMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteOptedOutNumberValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DeletePool.go b/service/pinpointsmsvoicev2/api_op_DeletePool.go index 2c89d65b406..c4640283641 100644 --- a/service/pinpointsmsvoicev2/api_op_DeletePool.go +++ b/service/pinpointsmsvoicev2/api_op_DeletePool.go @@ -171,9 +171,6 @@ func (c *Client) addOperationDeletePoolMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DeleteProtectConfiguration.go b/service/pinpointsmsvoicev2/api_op_DeleteProtectConfiguration.go index b5b146af994..a7ffa47bc98 100644 --- a/service/pinpointsmsvoicev2/api_op_DeleteProtectConfiguration.go +++ b/service/pinpointsmsvoicev2/api_op_DeleteProtectConfiguration.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDeleteProtectConfigurationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProtectConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DeleteProtectConfigurationRuleSetNumberOverride.go b/service/pinpointsmsvoicev2/api_op_DeleteProtectConfigurationRuleSetNumberOverride.go index 3b4c5a7ef12..dafe7d0066b 100644 --- a/service/pinpointsmsvoicev2/api_op_DeleteProtectConfigurationRuleSetNumberOverride.go +++ b/service/pinpointsmsvoicev2/api_op_DeleteProtectConfigurationRuleSetNumberOverride.go @@ -150,9 +150,6 @@ func (c *Client) addOperationDeleteProtectConfigurationRuleSetNumberOverrideMidd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProtectConfigurationRuleSetNumberOverrideValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DeleteRegistration.go b/service/pinpointsmsvoicev2/api_op_DeleteRegistration.go index 52504044824..16a2bd4995e 100644 --- a/service/pinpointsmsvoicev2/api_op_DeleteRegistration.go +++ b/service/pinpointsmsvoicev2/api_op_DeleteRegistration.go @@ -173,9 +173,6 @@ func (c *Client) addOperationDeleteRegistrationMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRegistrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DeleteRegistrationAttachment.go b/service/pinpointsmsvoicev2/api_op_DeleteRegistrationAttachment.go index 3bcf84e994d..7095061b98e 100644 --- a/service/pinpointsmsvoicev2/api_op_DeleteRegistrationAttachment.go +++ b/service/pinpointsmsvoicev2/api_op_DeleteRegistrationAttachment.go @@ -143,9 +143,6 @@ func (c *Client) addOperationDeleteRegistrationAttachmentMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRegistrationAttachmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DeleteRegistrationFieldValue.go b/service/pinpointsmsvoicev2/api_op_DeleteRegistrationFieldValue.go index 1468ca9d992..f5344379b3b 100644 --- a/service/pinpointsmsvoicev2/api_op_DeleteRegistrationFieldValue.go +++ b/service/pinpointsmsvoicev2/api_op_DeleteRegistrationFieldValue.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDeleteRegistrationFieldValueMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRegistrationFieldValueValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DeleteResourcePolicy.go b/service/pinpointsmsvoicev2/api_op_DeleteResourcePolicy.go index 94dcd771954..a3f3e96bf69 100644 --- a/service/pinpointsmsvoicev2/api_op_DeleteResourcePolicy.go +++ b/service/pinpointsmsvoicev2/api_op_DeleteResourcePolicy.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DeleteTextMessageSpendLimitOverride.go b/service/pinpointsmsvoicev2/api_op_DeleteTextMessageSpendLimitOverride.go index 16b2be76822..f39eccd0095 100644 --- a/service/pinpointsmsvoicev2/api_op_DeleteTextMessageSpendLimitOverride.go +++ b/service/pinpointsmsvoicev2/api_op_DeleteTextMessageSpendLimitOverride.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteTextMessageSpendLimitOverrideMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTextMessageSpendLimitOverride(options.Region), middleware.Before); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DeleteVerifiedDestinationNumber.go b/service/pinpointsmsvoicev2/api_op_DeleteVerifiedDestinationNumber.go index 761d2319470..883c92f8b2f 100644 --- a/service/pinpointsmsvoicev2/api_op_DeleteVerifiedDestinationNumber.go +++ b/service/pinpointsmsvoicev2/api_op_DeleteVerifiedDestinationNumber.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDeleteVerifiedDestinationNumberMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVerifiedDestinationNumberValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DeleteVoiceMessageSpendLimitOverride.go b/service/pinpointsmsvoicev2/api_op_DeleteVoiceMessageSpendLimitOverride.go index c1b92a21913..c4c33178caf 100644 --- a/service/pinpointsmsvoicev2/api_op_DeleteVoiceMessageSpendLimitOverride.go +++ b/service/pinpointsmsvoicev2/api_op_DeleteVoiceMessageSpendLimitOverride.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteVoiceMessageSpendLimitOverrideMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVoiceMessageSpendLimitOverride(options.Region), middleware.Before); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DescribeAccountAttributes.go b/service/pinpointsmsvoicev2/api_op_DescribeAccountAttributes.go index 1185e58dc52..de72d83b18d 100644 --- a/service/pinpointsmsvoicev2/api_op_DescribeAccountAttributes.go +++ b/service/pinpointsmsvoicev2/api_op_DescribeAccountAttributes.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeAccountAttributesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountAttributes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DescribeAccountLimits.go b/service/pinpointsmsvoicev2/api_op_DescribeAccountLimits.go index f38ac2f7551..688cc6c0669 100644 --- a/service/pinpointsmsvoicev2/api_op_DescribeAccountLimits.go +++ b/service/pinpointsmsvoicev2/api_op_DescribeAccountLimits.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeAccountLimitsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountLimits(options.Region), middleware.Before); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DescribeConfigurationSets.go b/service/pinpointsmsvoicev2/api_op_DescribeConfigurationSets.go index 2e51f091a19..d22ca760ebf 100644 --- a/service/pinpointsmsvoicev2/api_op_DescribeConfigurationSets.go +++ b/service/pinpointsmsvoicev2/api_op_DescribeConfigurationSets.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeConfigurationSetsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeConfigurationSetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DescribeKeywords.go b/service/pinpointsmsvoicev2/api_op_DescribeKeywords.go index 143c8aa4373..d20343e8abb 100644 --- a/service/pinpointsmsvoicev2/api_op_DescribeKeywords.go +++ b/service/pinpointsmsvoicev2/api_op_DescribeKeywords.go @@ -149,9 +149,6 @@ func (c *Client) addOperationDescribeKeywordsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeKeywordsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DescribeOptOutLists.go b/service/pinpointsmsvoicev2/api_op_DescribeOptOutLists.go index da8af00742c..7471076ca9c 100644 --- a/service/pinpointsmsvoicev2/api_op_DescribeOptOutLists.go +++ b/service/pinpointsmsvoicev2/api_op_DescribeOptOutLists.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDescribeOptOutListsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOptOutLists(options.Region), middleware.Before); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DescribeOptedOutNumbers.go b/service/pinpointsmsvoicev2/api_op_DescribeOptedOutNumbers.go index 2e9bbc3919e..ff39f1c929e 100644 --- a/service/pinpointsmsvoicev2/api_op_DescribeOptedOutNumbers.go +++ b/service/pinpointsmsvoicev2/api_op_DescribeOptedOutNumbers.go @@ -151,9 +151,6 @@ func (c *Client) addOperationDescribeOptedOutNumbersMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeOptedOutNumbersValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DescribePhoneNumbers.go b/service/pinpointsmsvoicev2/api_op_DescribePhoneNumbers.go index dd622bed519..4c9cacc7272 100644 --- a/service/pinpointsmsvoicev2/api_op_DescribePhoneNumbers.go +++ b/service/pinpointsmsvoicev2/api_op_DescribePhoneNumbers.go @@ -143,9 +143,6 @@ func (c *Client) addOperationDescribePhoneNumbersMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePhoneNumbersValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DescribePools.go b/service/pinpointsmsvoicev2/api_op_DescribePools.go index 11677e199d8..d4cfbea8589 100644 --- a/service/pinpointsmsvoicev2/api_op_DescribePools.go +++ b/service/pinpointsmsvoicev2/api_op_DescribePools.go @@ -146,9 +146,6 @@ func (c *Client) addOperationDescribePoolsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePoolsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DescribeProtectConfigurations.go b/service/pinpointsmsvoicev2/api_op_DescribeProtectConfigurations.go index ff5130df0b4..f3b03c52e92 100644 --- a/service/pinpointsmsvoicev2/api_op_DescribeProtectConfigurations.go +++ b/service/pinpointsmsvoicev2/api_op_DescribeProtectConfigurations.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeProtectConfigurationsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeProtectConfigurationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DescribeRegistrationAttachments.go b/service/pinpointsmsvoicev2/api_op_DescribeRegistrationAttachments.go index d507759f54d..6cf1af306a7 100644 --- a/service/pinpointsmsvoicev2/api_op_DescribeRegistrationAttachments.go +++ b/service/pinpointsmsvoicev2/api_op_DescribeRegistrationAttachments.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeRegistrationAttachmentsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRegistrationAttachmentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DescribeRegistrationFieldDefinitions.go b/service/pinpointsmsvoicev2/api_op_DescribeRegistrationFieldDefinitions.go index 7a136a76790..96f00509039 100644 --- a/service/pinpointsmsvoicev2/api_op_DescribeRegistrationFieldDefinitions.go +++ b/service/pinpointsmsvoicev2/api_op_DescribeRegistrationFieldDefinitions.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeRegistrationFieldDefinitionsMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRegistrationFieldDefinitionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DescribeRegistrationFieldValues.go b/service/pinpointsmsvoicev2/api_op_DescribeRegistrationFieldValues.go index 08eb2a7fa81..8782dc9c5b3 100644 --- a/service/pinpointsmsvoicev2/api_op_DescribeRegistrationFieldValues.go +++ b/service/pinpointsmsvoicev2/api_op_DescribeRegistrationFieldValues.go @@ -150,9 +150,6 @@ func (c *Client) addOperationDescribeRegistrationFieldValuesMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRegistrationFieldValuesValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DescribeRegistrationSectionDefinitions.go b/service/pinpointsmsvoicev2/api_op_DescribeRegistrationSectionDefinitions.go index 8c2b670727c..6e46ea4ae1a 100644 --- a/service/pinpointsmsvoicev2/api_op_DescribeRegistrationSectionDefinitions.go +++ b/service/pinpointsmsvoicev2/api_op_DescribeRegistrationSectionDefinitions.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDescribeRegistrationSectionDefinitionsMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRegistrationSectionDefinitionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DescribeRegistrationTypeDefinitions.go b/service/pinpointsmsvoicev2/api_op_DescribeRegistrationTypeDefinitions.go index 8008a1251bf..e6157c56d0a 100644 --- a/service/pinpointsmsvoicev2/api_op_DescribeRegistrationTypeDefinitions.go +++ b/service/pinpointsmsvoicev2/api_op_DescribeRegistrationTypeDefinitions.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeRegistrationTypeDefinitionsMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRegistrationTypeDefinitionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DescribeRegistrationVersions.go b/service/pinpointsmsvoicev2/api_op_DescribeRegistrationVersions.go index f6e236f2f49..6acc1ffb44d 100644 --- a/service/pinpointsmsvoicev2/api_op_DescribeRegistrationVersions.go +++ b/service/pinpointsmsvoicev2/api_op_DescribeRegistrationVersions.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeRegistrationVersionsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRegistrationVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DescribeRegistrations.go b/service/pinpointsmsvoicev2/api_op_DescribeRegistrations.go index 512edb45a9e..70574fb8c2d 100644 --- a/service/pinpointsmsvoicev2/api_op_DescribeRegistrations.go +++ b/service/pinpointsmsvoicev2/api_op_DescribeRegistrations.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeRegistrationsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRegistrationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DescribeSenderIds.go b/service/pinpointsmsvoicev2/api_op_DescribeSenderIds.go index fa2026eabce..0d62418a276 100644 --- a/service/pinpointsmsvoicev2/api_op_DescribeSenderIds.go +++ b/service/pinpointsmsvoicev2/api_op_DescribeSenderIds.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeSenderIdsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSenderIdsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DescribeSpendLimits.go b/service/pinpointsmsvoicev2/api_op_DescribeSpendLimits.go index 092d259c720..9fa2440ea3b 100644 --- a/service/pinpointsmsvoicev2/api_op_DescribeSpendLimits.go +++ b/service/pinpointsmsvoicev2/api_op_DescribeSpendLimits.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribeSpendLimitsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSpendLimits(options.Region), middleware.Before); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DescribeVerifiedDestinationNumbers.go b/service/pinpointsmsvoicev2/api_op_DescribeVerifiedDestinationNumbers.go index f47a1512b20..f1e33c2ca41 100644 --- a/service/pinpointsmsvoicev2/api_op_DescribeVerifiedDestinationNumbers.go +++ b/service/pinpointsmsvoicev2/api_op_DescribeVerifiedDestinationNumbers.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeVerifiedDestinationNumbersMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeVerifiedDestinationNumbersValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DisassociateOriginationIdentity.go b/service/pinpointsmsvoicev2/api_op_DisassociateOriginationIdentity.go index c2f25b90c2e..2ea909d989e 100644 --- a/service/pinpointsmsvoicev2/api_op_DisassociateOriginationIdentity.go +++ b/service/pinpointsmsvoicev2/api_op_DisassociateOriginationIdentity.go @@ -151,9 +151,6 @@ func (c *Client) addOperationDisassociateOriginationIdentityMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDisassociateOriginationIdentityMiddleware(stack, options); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DisassociateProtectConfiguration.go b/service/pinpointsmsvoicev2/api_op_DisassociateProtectConfiguration.go index 23b041e5ad3..a1bab7540be 100644 --- a/service/pinpointsmsvoicev2/api_op_DisassociateProtectConfiguration.go +++ b/service/pinpointsmsvoicev2/api_op_DisassociateProtectConfiguration.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDisassociateProtectConfigurationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateProtectConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_DiscardRegistrationVersion.go b/service/pinpointsmsvoicev2/api_op_DiscardRegistrationVersion.go index 9e15fa1b853..4228e90aadf 100644 --- a/service/pinpointsmsvoicev2/api_op_DiscardRegistrationVersion.go +++ b/service/pinpointsmsvoicev2/api_op_DiscardRegistrationVersion.go @@ -155,9 +155,6 @@ func (c *Client) addOperationDiscardRegistrationVersionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDiscardRegistrationVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_GetProtectConfigurationCountryRuleSet.go b/service/pinpointsmsvoicev2/api_op_GetProtectConfigurationCountryRuleSet.go index 403ebef0bbc..09f85f91bbf 100644 --- a/service/pinpointsmsvoicev2/api_op_GetProtectConfigurationCountryRuleSet.go +++ b/service/pinpointsmsvoicev2/api_op_GetProtectConfigurationCountryRuleSet.go @@ -142,9 +142,6 @@ func (c *Client) addOperationGetProtectConfigurationCountryRuleSetMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetProtectConfigurationCountryRuleSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_GetResourcePolicy.go b/service/pinpointsmsvoicev2/api_op_GetResourcePolicy.go index 997c2de5ebe..1d31225d93b 100644 --- a/service/pinpointsmsvoicev2/api_op_GetResourcePolicy.go +++ b/service/pinpointsmsvoicev2/api_op_GetResourcePolicy.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_ListPoolOriginationIdentities.go b/service/pinpointsmsvoicev2/api_op_ListPoolOriginationIdentities.go index b992e531953..1600cecceeb 100644 --- a/service/pinpointsmsvoicev2/api_op_ListPoolOriginationIdentities.go +++ b/service/pinpointsmsvoicev2/api_op_ListPoolOriginationIdentities.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListPoolOriginationIdentitiesMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPoolOriginationIdentitiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_ListProtectConfigurationRuleSetNumberOverrides.go b/service/pinpointsmsvoicev2/api_op_ListProtectConfigurationRuleSetNumberOverrides.go index 0ffd1d83a09..da33b01bad9 100644 --- a/service/pinpointsmsvoicev2/api_op_ListProtectConfigurationRuleSetNumberOverrides.go +++ b/service/pinpointsmsvoicev2/api_op_ListProtectConfigurationRuleSetNumberOverrides.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListProtectConfigurationRuleSetNumberOverridesMiddl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListProtectConfigurationRuleSetNumberOverridesValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_ListRegistrationAssociations.go b/service/pinpointsmsvoicev2/api_op_ListRegistrationAssociations.go index 71c4cafeb90..c7878220dff 100644 --- a/service/pinpointsmsvoicev2/api_op_ListRegistrationAssociations.go +++ b/service/pinpointsmsvoicev2/api_op_ListRegistrationAssociations.go @@ -146,9 +146,6 @@ func (c *Client) addOperationListRegistrationAssociationsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRegistrationAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_ListTagsForResource.go b/service/pinpointsmsvoicev2/api_op_ListTagsForResource.go index 4d76c923b79..443d469ea4f 100644 --- a/service/pinpointsmsvoicev2/api_op_ListTagsForResource.go +++ b/service/pinpointsmsvoicev2/api_op_ListTagsForResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_PutKeyword.go b/service/pinpointsmsvoicev2/api_op_PutKeyword.go index 96b55695d42..d9d7bb1a5b4 100644 --- a/service/pinpointsmsvoicev2/api_op_PutKeyword.go +++ b/service/pinpointsmsvoicev2/api_op_PutKeyword.go @@ -157,9 +157,6 @@ func (c *Client) addOperationPutKeywordMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutKeywordValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_PutMessageFeedback.go b/service/pinpointsmsvoicev2/api_op_PutMessageFeedback.go index 76ab9fbbab3..b06d51efa41 100644 --- a/service/pinpointsmsvoicev2/api_op_PutMessageFeedback.go +++ b/service/pinpointsmsvoicev2/api_op_PutMessageFeedback.go @@ -130,9 +130,6 @@ func (c *Client) addOperationPutMessageFeedbackMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutMessageFeedbackValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_PutOptedOutNumber.go b/service/pinpointsmsvoicev2/api_op_PutOptedOutNumber.go index f4a66fbbef9..aa0c93a7d85 100644 --- a/service/pinpointsmsvoicev2/api_op_PutOptedOutNumber.go +++ b/service/pinpointsmsvoicev2/api_op_PutOptedOutNumber.go @@ -138,9 +138,6 @@ func (c *Client) addOperationPutOptedOutNumberMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutOptedOutNumberValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_PutProtectConfigurationRuleSetNumberOverride.go b/service/pinpointsmsvoicev2/api_op_PutProtectConfigurationRuleSetNumberOverride.go index 7d1704bf0a4..b82e28fa515 100644 --- a/service/pinpointsmsvoicev2/api_op_PutProtectConfigurationRuleSetNumberOverride.go +++ b/service/pinpointsmsvoicev2/api_op_PutProtectConfigurationRuleSetNumberOverride.go @@ -164,9 +164,6 @@ func (c *Client) addOperationPutProtectConfigurationRuleSetNumberOverrideMiddlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opPutProtectConfigurationRuleSetNumberOverrideMiddleware(stack, options); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_PutRegistrationFieldValue.go b/service/pinpointsmsvoicev2/api_op_PutRegistrationFieldValue.go index 523fe399465..97cc0d56b3a 100644 --- a/service/pinpointsmsvoicev2/api_op_PutRegistrationFieldValue.go +++ b/service/pinpointsmsvoicev2/api_op_PutRegistrationFieldValue.go @@ -151,9 +151,6 @@ func (c *Client) addOperationPutRegistrationFieldValueMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutRegistrationFieldValueValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_PutResourcePolicy.go b/service/pinpointsmsvoicev2/api_op_PutResourcePolicy.go index 41b8713ce16..6f86b6daccd 100644 --- a/service/pinpointsmsvoicev2/api_op_PutResourcePolicy.go +++ b/service/pinpointsmsvoicev2/api_op_PutResourcePolicy.go @@ -133,9 +133,6 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_ReleasePhoneNumber.go b/service/pinpointsmsvoicev2/api_op_ReleasePhoneNumber.go index e44d99aa6aa..0ee6b0c7ef0 100644 --- a/service/pinpointsmsvoicev2/api_op_ReleasePhoneNumber.go +++ b/service/pinpointsmsvoicev2/api_op_ReleasePhoneNumber.go @@ -175,9 +175,6 @@ func (c *Client) addOperationReleasePhoneNumberMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpReleasePhoneNumberValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_ReleaseSenderId.go b/service/pinpointsmsvoicev2/api_op_ReleaseSenderId.go index d0dcb79f292..16bb5e49234 100644 --- a/service/pinpointsmsvoicev2/api_op_ReleaseSenderId.go +++ b/service/pinpointsmsvoicev2/api_op_ReleaseSenderId.go @@ -149,9 +149,6 @@ func (c *Client) addOperationReleaseSenderIdMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpReleaseSenderIdValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_RequestPhoneNumber.go b/service/pinpointsmsvoicev2/api_op_RequestPhoneNumber.go index 0397c0094d1..4be28ba4c1f 100644 --- a/service/pinpointsmsvoicev2/api_op_RequestPhoneNumber.go +++ b/service/pinpointsmsvoicev2/api_op_RequestPhoneNumber.go @@ -234,9 +234,6 @@ func (c *Client) addOperationRequestPhoneNumberMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opRequestPhoneNumberMiddleware(stack, options); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_RequestSenderId.go b/service/pinpointsmsvoicev2/api_op_RequestSenderId.go index 562dbabefbb..816fd406795 100644 --- a/service/pinpointsmsvoicev2/api_op_RequestSenderId.go +++ b/service/pinpointsmsvoicev2/api_op_RequestSenderId.go @@ -172,9 +172,6 @@ func (c *Client) addOperationRequestSenderIdMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opRequestSenderIdMiddleware(stack, options); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_SendDestinationNumberVerificationCode.go b/service/pinpointsmsvoicev2/api_op_SendDestinationNumberVerificationCode.go index d65dbd0c0aa..a243e6af266 100644 --- a/service/pinpointsmsvoicev2/api_op_SendDestinationNumberVerificationCode.go +++ b/service/pinpointsmsvoicev2/api_op_SendDestinationNumberVerificationCode.go @@ -148,9 +148,6 @@ func (c *Client) addOperationSendDestinationNumberVerificationCodeMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendDestinationNumberVerificationCodeValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_SendMediaMessage.go b/service/pinpointsmsvoicev2/api_op_SendMediaMessage.go index 62d69552256..e4801085184 100644 --- a/service/pinpointsmsvoicev2/api_op_SendMediaMessage.go +++ b/service/pinpointsmsvoicev2/api_op_SendMediaMessage.go @@ -160,9 +160,6 @@ func (c *Client) addOperationSendMediaMessageMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendMediaMessageValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_SendTextMessage.go b/service/pinpointsmsvoicev2/api_op_SendTextMessage.go index 23c4b3c9be0..2c58f06c81c 100644 --- a/service/pinpointsmsvoicev2/api_op_SendTextMessage.go +++ b/service/pinpointsmsvoicev2/api_op_SendTextMessage.go @@ -193,9 +193,6 @@ func (c *Client) addOperationSendTextMessageMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendTextMessageValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_SendVoiceMessage.go b/service/pinpointsmsvoicev2/api_op_SendVoiceMessage.go index 3d49b616d50..54f76464387 100644 --- a/service/pinpointsmsvoicev2/api_op_SendVoiceMessage.go +++ b/service/pinpointsmsvoicev2/api_op_SendVoiceMessage.go @@ -167,9 +167,6 @@ func (c *Client) addOperationSendVoiceMessageMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendVoiceMessageValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_SetAccountDefaultProtectConfiguration.go b/service/pinpointsmsvoicev2/api_op_SetAccountDefaultProtectConfiguration.go index ac2dc47543a..77e3738df87 100644 --- a/service/pinpointsmsvoicev2/api_op_SetAccountDefaultProtectConfiguration.go +++ b/service/pinpointsmsvoicev2/api_op_SetAccountDefaultProtectConfiguration.go @@ -120,9 +120,6 @@ func (c *Client) addOperationSetAccountDefaultProtectConfigurationMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetAccountDefaultProtectConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_SetDefaultMessageFeedbackEnabled.go b/service/pinpointsmsvoicev2/api_op_SetDefaultMessageFeedbackEnabled.go index e419b4081a4..178685bf162 100644 --- a/service/pinpointsmsvoicev2/api_op_SetDefaultMessageFeedbackEnabled.go +++ b/service/pinpointsmsvoicev2/api_op_SetDefaultMessageFeedbackEnabled.go @@ -123,9 +123,6 @@ func (c *Client) addOperationSetDefaultMessageFeedbackEnabledMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetDefaultMessageFeedbackEnabledValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_SetDefaultMessageType.go b/service/pinpointsmsvoicev2/api_op_SetDefaultMessageType.go index 63d3a57f70d..8ba008471e2 100644 --- a/service/pinpointsmsvoicev2/api_op_SetDefaultMessageType.go +++ b/service/pinpointsmsvoicev2/api_op_SetDefaultMessageType.go @@ -132,9 +132,6 @@ func (c *Client) addOperationSetDefaultMessageTypeMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetDefaultMessageTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_SetDefaultSenderId.go b/service/pinpointsmsvoicev2/api_op_SetDefaultSenderId.go index 2b9990aa252..6ce9a95e3c2 100644 --- a/service/pinpointsmsvoicev2/api_op_SetDefaultSenderId.go +++ b/service/pinpointsmsvoicev2/api_op_SetDefaultSenderId.go @@ -132,9 +132,6 @@ func (c *Client) addOperationSetDefaultSenderIdMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetDefaultSenderIdValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_SetMediaMessageSpendLimitOverride.go b/service/pinpointsmsvoicev2/api_op_SetMediaMessageSpendLimitOverride.go index 1510890e3f5..758d9f40444 100644 --- a/service/pinpointsmsvoicev2/api_op_SetMediaMessageSpendLimitOverride.go +++ b/service/pinpointsmsvoicev2/api_op_SetMediaMessageSpendLimitOverride.go @@ -113,9 +113,6 @@ func (c *Client) addOperationSetMediaMessageSpendLimitOverrideMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetMediaMessageSpendLimitOverrideValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_SetTextMessageSpendLimitOverride.go b/service/pinpointsmsvoicev2/api_op_SetTextMessageSpendLimitOverride.go index f339e953503..93f16734640 100644 --- a/service/pinpointsmsvoicev2/api_op_SetTextMessageSpendLimitOverride.go +++ b/service/pinpointsmsvoicev2/api_op_SetTextMessageSpendLimitOverride.go @@ -113,9 +113,6 @@ func (c *Client) addOperationSetTextMessageSpendLimitOverrideMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetTextMessageSpendLimitOverrideValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_SetVoiceMessageSpendLimitOverride.go b/service/pinpointsmsvoicev2/api_op_SetVoiceMessageSpendLimitOverride.go index 0a09cfc3469..aa32b7145c8 100644 --- a/service/pinpointsmsvoicev2/api_op_SetVoiceMessageSpendLimitOverride.go +++ b/service/pinpointsmsvoicev2/api_op_SetVoiceMessageSpendLimitOverride.go @@ -113,9 +113,6 @@ func (c *Client) addOperationSetVoiceMessageSpendLimitOverrideMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetVoiceMessageSpendLimitOverrideValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_SubmitRegistrationVersion.go b/service/pinpointsmsvoicev2/api_op_SubmitRegistrationVersion.go index ec98183fb62..b1608417ca3 100644 --- a/service/pinpointsmsvoicev2/api_op_SubmitRegistrationVersion.go +++ b/service/pinpointsmsvoicev2/api_op_SubmitRegistrationVersion.go @@ -155,9 +155,6 @@ func (c *Client) addOperationSubmitRegistrationVersionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSubmitRegistrationVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_TagResource.go b/service/pinpointsmsvoicev2/api_op_TagResource.go index 3a31eed44ae..131e97b326d 100644 --- a/service/pinpointsmsvoicev2/api_op_TagResource.go +++ b/service/pinpointsmsvoicev2/api_op_TagResource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_UntagResource.go b/service/pinpointsmsvoicev2/api_op_UntagResource.go index dbd14ffc95f..462a7bfeb8e 100644 --- a/service/pinpointsmsvoicev2/api_op_UntagResource.go +++ b/service/pinpointsmsvoicev2/api_op_UntagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_UpdateEventDestination.go b/service/pinpointsmsvoicev2/api_op_UpdateEventDestination.go index 13acacd86db..41cadf4b91f 100644 --- a/service/pinpointsmsvoicev2/api_op_UpdateEventDestination.go +++ b/service/pinpointsmsvoicev2/api_op_UpdateEventDestination.go @@ -151,9 +151,6 @@ func (c *Client) addOperationUpdateEventDestinationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEventDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_UpdatePhoneNumber.go b/service/pinpointsmsvoicev2/api_op_UpdatePhoneNumber.go index 1e8253bf573..e4d8ae5a55b 100644 --- a/service/pinpointsmsvoicev2/api_op_UpdatePhoneNumber.go +++ b/service/pinpointsmsvoicev2/api_op_UpdatePhoneNumber.go @@ -204,9 +204,6 @@ func (c *Client) addOperationUpdatePhoneNumberMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePhoneNumberValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_UpdatePool.go b/service/pinpointsmsvoicev2/api_op_UpdatePool.go index f72927abffe..fba6d13dfe5 100644 --- a/service/pinpointsmsvoicev2/api_op_UpdatePool.go +++ b/service/pinpointsmsvoicev2/api_op_UpdatePool.go @@ -193,9 +193,6 @@ func (c *Client) addOperationUpdatePoolMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_UpdateProtectConfiguration.go b/service/pinpointsmsvoicev2/api_op_UpdateProtectConfiguration.go index 2024a14728d..ac6ecca12f5 100644 --- a/service/pinpointsmsvoicev2/api_op_UpdateProtectConfiguration.go +++ b/service/pinpointsmsvoicev2/api_op_UpdateProtectConfiguration.go @@ -142,9 +142,6 @@ func (c *Client) addOperationUpdateProtectConfigurationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateProtectConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_UpdateProtectConfigurationCountryRuleSet.go b/service/pinpointsmsvoicev2/api_op_UpdateProtectConfigurationCountryRuleSet.go index 2a7632d3928..e68362a6ad6 100644 --- a/service/pinpointsmsvoicev2/api_op_UpdateProtectConfigurationCountryRuleSet.go +++ b/service/pinpointsmsvoicev2/api_op_UpdateProtectConfigurationCountryRuleSet.go @@ -147,9 +147,6 @@ func (c *Client) addOperationUpdateProtectConfigurationCountryRuleSetMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateProtectConfigurationCountryRuleSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_UpdateSenderId.go b/service/pinpointsmsvoicev2/api_op_UpdateSenderId.go index d8a0efe9df3..afcc3981110 100644 --- a/service/pinpointsmsvoicev2/api_op_UpdateSenderId.go +++ b/service/pinpointsmsvoicev2/api_op_UpdateSenderId.go @@ -159,9 +159,6 @@ func (c *Client) addOperationUpdateSenderIdMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSenderIdValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/api_op_VerifyDestinationNumber.go b/service/pinpointsmsvoicev2/api_op_VerifyDestinationNumber.go index d1931a937c5..64cfb956d43 100644 --- a/service/pinpointsmsvoicev2/api_op_VerifyDestinationNumber.go +++ b/service/pinpointsmsvoicev2/api_op_VerifyDestinationNumber.go @@ -144,9 +144,6 @@ func (c *Client) addOperationVerifyDestinationNumberMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpVerifyDestinationNumberValidationMiddleware(stack); err != nil { return err } diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_AssociateOriginationIdentity.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_AssociateOriginationIdentity.go.snap index 8b54bc73706..c886dbf144f 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_AssociateOriginationIdentity.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_AssociateOriginationIdentity.go.snap @@ -15,7 +15,6 @@ AssociateOriginationIdentity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_AssociateProtectConfiguration.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_AssociateProtectConfiguration.go.snap index 726f3319ea2..1494760182b 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_AssociateProtectConfiguration.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_AssociateProtectConfiguration.go.snap @@ -14,7 +14,6 @@ AssociateProtectConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_CreateConfigurationSet.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_CreateConfigurationSet.go.snap index eff745e8ae5..e6e55ec4b01 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_CreateConfigurationSet.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_CreateConfigurationSet.go.snap @@ -15,7 +15,6 @@ CreateConfigurationSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_CreateEventDestination.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_CreateEventDestination.go.snap index 6e76acb6d03..6e15bc9c367 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_CreateEventDestination.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_CreateEventDestination.go.snap @@ -15,7 +15,6 @@ CreateEventDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_CreateOptOutList.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_CreateOptOutList.go.snap index 99cfe94c11e..a3492142314 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_CreateOptOutList.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_CreateOptOutList.go.snap @@ -15,7 +15,6 @@ CreateOptOutList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_CreatePool.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_CreatePool.go.snap index e959f81d863..9218e5dd2ea 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_CreatePool.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_CreatePool.go.snap @@ -15,7 +15,6 @@ CreatePool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_CreateProtectConfiguration.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_CreateProtectConfiguration.go.snap index ff721358d64..0bb052382e2 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_CreateProtectConfiguration.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_CreateProtectConfiguration.go.snap @@ -15,7 +15,6 @@ CreateProtectConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_CreateRegistration.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_CreateRegistration.go.snap index 58b4bb6c9f3..fcd862e3230 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_CreateRegistration.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_CreateRegistration.go.snap @@ -15,7 +15,6 @@ CreateRegistration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_CreateRegistrationAssociation.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_CreateRegistrationAssociation.go.snap index c9d0d3e2262..e31c58b1f9e 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_CreateRegistrationAssociation.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_CreateRegistrationAssociation.go.snap @@ -14,7 +14,6 @@ CreateRegistrationAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_CreateRegistrationAttachment.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_CreateRegistrationAttachment.go.snap index 5b128f47f50..3a31aeb9dba 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_CreateRegistrationAttachment.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_CreateRegistrationAttachment.go.snap @@ -15,7 +15,6 @@ CreateRegistrationAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_CreateRegistrationVersion.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_CreateRegistrationVersion.go.snap index b9baa6051df..ce9b2142092 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_CreateRegistrationVersion.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_CreateRegistrationVersion.go.snap @@ -14,7 +14,6 @@ CreateRegistrationVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_CreateVerifiedDestinationNumber.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_CreateVerifiedDestinationNumber.go.snap index 3856ea73e0b..76bdb70bbb4 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_CreateVerifiedDestinationNumber.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_CreateVerifiedDestinationNumber.go.snap @@ -15,7 +15,6 @@ CreateVerifiedDestinationNumber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteAccountDefaultProtectConfiguration.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteAccountDefaultProtectConfiguration.go.snap index fc88207412c..bfacd1b2470 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteAccountDefaultProtectConfiguration.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteAccountDefaultProtectConfiguration.go.snap @@ -13,7 +13,6 @@ DeleteAccountDefaultProtectConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteConfigurationSet.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteConfigurationSet.go.snap index c8de5b62739..c7f4d120ec5 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteConfigurationSet.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteConfigurationSet.go.snap @@ -14,7 +14,6 @@ DeleteConfigurationSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteDefaultMessageType.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteDefaultMessageType.go.snap index 3c149caa60d..0bdcc5d20fa 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteDefaultMessageType.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteDefaultMessageType.go.snap @@ -14,7 +14,6 @@ DeleteDefaultMessageType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteDefaultSenderId.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteDefaultSenderId.go.snap index 3e8c3cda73e..8840d66e689 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteDefaultSenderId.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteDefaultSenderId.go.snap @@ -14,7 +14,6 @@ DeleteDefaultSenderId Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteEventDestination.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteEventDestination.go.snap index 239927ca9dc..672e3dfdcc0 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteEventDestination.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteEventDestination.go.snap @@ -14,7 +14,6 @@ DeleteEventDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteKeyword.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteKeyword.go.snap index 3a1c0017740..8797932e464 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteKeyword.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteKeyword.go.snap @@ -14,7 +14,6 @@ DeleteKeyword Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteMediaMessageSpendLimitOverride.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteMediaMessageSpendLimitOverride.go.snap index 3371bda6c89..5cbb1283157 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteMediaMessageSpendLimitOverride.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteMediaMessageSpendLimitOverride.go.snap @@ -13,7 +13,6 @@ DeleteMediaMessageSpendLimitOverride Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteOptOutList.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteOptOutList.go.snap index 49d05919983..4d45ee16de2 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteOptOutList.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteOptOutList.go.snap @@ -14,7 +14,6 @@ DeleteOptOutList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteOptedOutNumber.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteOptedOutNumber.go.snap index 773bd5e2951..722fe1244fa 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteOptedOutNumber.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteOptedOutNumber.go.snap @@ -14,7 +14,6 @@ DeleteOptedOutNumber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DeletePool.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DeletePool.go.snap index 82736a226e2..53de9ee539e 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DeletePool.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DeletePool.go.snap @@ -14,7 +14,6 @@ DeletePool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteProtectConfiguration.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteProtectConfiguration.go.snap index 6411b4a96b8..849304080ef 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteProtectConfiguration.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteProtectConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteProtectConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteProtectConfigurationRuleSetNumberOverride.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteProtectConfigurationRuleSetNumberOverride.go.snap index 4a76cfc9340..a8b88eb4c39 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteProtectConfigurationRuleSetNumberOverride.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteProtectConfigurationRuleSetNumberOverride.go.snap @@ -14,7 +14,6 @@ DeleteProtectConfigurationRuleSetNumberOverride Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteRegistration.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteRegistration.go.snap index ac8d538fcdc..40b456de481 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteRegistration.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteRegistration.go.snap @@ -14,7 +14,6 @@ DeleteRegistration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteRegistrationAttachment.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteRegistrationAttachment.go.snap index d561c025ee0..85a9c59b2d8 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteRegistrationAttachment.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteRegistrationAttachment.go.snap @@ -14,7 +14,6 @@ DeleteRegistrationAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteRegistrationFieldValue.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteRegistrationFieldValue.go.snap index 7e51b76becc..d5eec579da1 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteRegistrationFieldValue.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteRegistrationFieldValue.go.snap @@ -14,7 +14,6 @@ DeleteRegistrationFieldValue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteResourcePolicy.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteResourcePolicy.go.snap index 21dbc8dfcde..9948d797360 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteResourcePolicy.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteResourcePolicy.go.snap @@ -14,7 +14,6 @@ DeleteResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteTextMessageSpendLimitOverride.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteTextMessageSpendLimitOverride.go.snap index 9158d6aba2b..c1e7da60b1a 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteTextMessageSpendLimitOverride.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteTextMessageSpendLimitOverride.go.snap @@ -13,7 +13,6 @@ DeleteTextMessageSpendLimitOverride Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteVerifiedDestinationNumber.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteVerifiedDestinationNumber.go.snap index a91fcc4fa90..ceb29f5efc1 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteVerifiedDestinationNumber.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteVerifiedDestinationNumber.go.snap @@ -14,7 +14,6 @@ DeleteVerifiedDestinationNumber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteVoiceMessageSpendLimitOverride.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteVoiceMessageSpendLimitOverride.go.snap index 1fe37ebbb11..91df2858a76 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DeleteVoiceMessageSpendLimitOverride.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DeleteVoiceMessageSpendLimitOverride.go.snap @@ -13,7 +13,6 @@ DeleteVoiceMessageSpendLimitOverride Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeAccountAttributes.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeAccountAttributes.go.snap index 8289af53fde..f099fff933a 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeAccountAttributes.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeAccountAttributes.go.snap @@ -13,7 +13,6 @@ DescribeAccountAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeAccountLimits.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeAccountLimits.go.snap index 84ffa497501..283376e4c97 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeAccountLimits.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeAccountLimits.go.snap @@ -13,7 +13,6 @@ DescribeAccountLimits Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeConfigurationSets.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeConfigurationSets.go.snap index 7aebbd36190..07da662f85e 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeConfigurationSets.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeConfigurationSets.go.snap @@ -14,7 +14,6 @@ DescribeConfigurationSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeKeywords.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeKeywords.go.snap index db1d09840c3..fc02747a495 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeKeywords.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeKeywords.go.snap @@ -14,7 +14,6 @@ DescribeKeywords Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeOptOutLists.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeOptOutLists.go.snap index ab6d45ca99e..b4d985e12e8 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeOptOutLists.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeOptOutLists.go.snap @@ -13,7 +13,6 @@ DescribeOptOutLists Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeOptedOutNumbers.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeOptedOutNumbers.go.snap index a6ed120595a..3a6316e40dc 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeOptedOutNumbers.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeOptedOutNumbers.go.snap @@ -14,7 +14,6 @@ DescribeOptedOutNumbers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DescribePhoneNumbers.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DescribePhoneNumbers.go.snap index 5f266e55765..f7ef83f93e1 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DescribePhoneNumbers.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DescribePhoneNumbers.go.snap @@ -14,7 +14,6 @@ DescribePhoneNumbers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DescribePools.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DescribePools.go.snap index 0fa1f97fb07..27bfb0c09a1 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DescribePools.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DescribePools.go.snap @@ -14,7 +14,6 @@ DescribePools Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeProtectConfigurations.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeProtectConfigurations.go.snap index 69592be4f09..f4e413394e7 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeProtectConfigurations.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeProtectConfigurations.go.snap @@ -14,7 +14,6 @@ DescribeProtectConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeRegistrationAttachments.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeRegistrationAttachments.go.snap index d844ebb5e74..48c8bb5b5af 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeRegistrationAttachments.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeRegistrationAttachments.go.snap @@ -14,7 +14,6 @@ DescribeRegistrationAttachments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeRegistrationFieldDefinitions.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeRegistrationFieldDefinitions.go.snap index af90a9bd6ee..aceda2933a8 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeRegistrationFieldDefinitions.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeRegistrationFieldDefinitions.go.snap @@ -14,7 +14,6 @@ DescribeRegistrationFieldDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeRegistrationFieldValues.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeRegistrationFieldValues.go.snap index 7eb110fa32b..871622ffd1e 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeRegistrationFieldValues.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeRegistrationFieldValues.go.snap @@ -14,7 +14,6 @@ DescribeRegistrationFieldValues Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeRegistrationSectionDefinitions.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeRegistrationSectionDefinitions.go.snap index 188051d5e23..61c523b2adf 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeRegistrationSectionDefinitions.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeRegistrationSectionDefinitions.go.snap @@ -14,7 +14,6 @@ DescribeRegistrationSectionDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeRegistrationTypeDefinitions.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeRegistrationTypeDefinitions.go.snap index 4fc7c8e8f68..2fdab07593e 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeRegistrationTypeDefinitions.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeRegistrationTypeDefinitions.go.snap @@ -14,7 +14,6 @@ DescribeRegistrationTypeDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeRegistrationVersions.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeRegistrationVersions.go.snap index 5b238b598e1..16c62fb121d 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeRegistrationVersions.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeRegistrationVersions.go.snap @@ -14,7 +14,6 @@ DescribeRegistrationVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeRegistrations.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeRegistrations.go.snap index ed9fec59126..0a894a06458 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeRegistrations.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeRegistrations.go.snap @@ -14,7 +14,6 @@ DescribeRegistrations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeSenderIds.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeSenderIds.go.snap index b3446497f21..a8e28bd9f6a 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeSenderIds.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeSenderIds.go.snap @@ -14,7 +14,6 @@ DescribeSenderIds Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeSpendLimits.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeSpendLimits.go.snap index fa926069e19..1da94c4698d 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeSpendLimits.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeSpendLimits.go.snap @@ -13,7 +13,6 @@ DescribeSpendLimits Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeVerifiedDestinationNumbers.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeVerifiedDestinationNumbers.go.snap index 404c30b759c..7163f9316a9 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DescribeVerifiedDestinationNumbers.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DescribeVerifiedDestinationNumbers.go.snap @@ -14,7 +14,6 @@ DescribeVerifiedDestinationNumbers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DisassociateOriginationIdentity.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DisassociateOriginationIdentity.go.snap index 391f585df67..5489f5f8c25 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DisassociateOriginationIdentity.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DisassociateOriginationIdentity.go.snap @@ -15,7 +15,6 @@ DisassociateOriginationIdentity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DisassociateProtectConfiguration.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DisassociateProtectConfiguration.go.snap index c1f69c373ef..6497215acb7 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DisassociateProtectConfiguration.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DisassociateProtectConfiguration.go.snap @@ -14,7 +14,6 @@ DisassociateProtectConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_DiscardRegistrationVersion.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_DiscardRegistrationVersion.go.snap index 1f24e864ee2..b9cf67ee924 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_DiscardRegistrationVersion.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_DiscardRegistrationVersion.go.snap @@ -14,7 +14,6 @@ DiscardRegistrationVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_GetProtectConfigurationCountryRuleSet.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_GetProtectConfigurationCountryRuleSet.go.snap index 45347dd8d1a..812a9a2ee39 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_GetProtectConfigurationCountryRuleSet.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_GetProtectConfigurationCountryRuleSet.go.snap @@ -14,7 +14,6 @@ GetProtectConfigurationCountryRuleSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_GetResourcePolicy.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_GetResourcePolicy.go.snap index e3408c09804..4b3e7d017fa 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_GetResourcePolicy.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_GetResourcePolicy.go.snap @@ -14,7 +14,6 @@ GetResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_ListPoolOriginationIdentities.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_ListPoolOriginationIdentities.go.snap index 8a46a3a449e..f6274636283 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_ListPoolOriginationIdentities.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_ListPoolOriginationIdentities.go.snap @@ -14,7 +14,6 @@ ListPoolOriginationIdentities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_ListProtectConfigurationRuleSetNumberOverrides.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_ListProtectConfigurationRuleSetNumberOverrides.go.snap index d082dcc6829..b0fb9e5a081 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_ListProtectConfigurationRuleSetNumberOverrides.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_ListProtectConfigurationRuleSetNumberOverrides.go.snap @@ -14,7 +14,6 @@ ListProtectConfigurationRuleSetNumberOverrides Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_ListRegistrationAssociations.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_ListRegistrationAssociations.go.snap index 4a7b89cf459..3680a4989f7 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_ListRegistrationAssociations.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_ListRegistrationAssociations.go.snap @@ -14,7 +14,6 @@ ListRegistrationAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_ListTagsForResource.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_PutKeyword.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_PutKeyword.go.snap index 230afcc1e78..5a0fd31cd3c 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_PutKeyword.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_PutKeyword.go.snap @@ -14,7 +14,6 @@ PutKeyword Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_PutMessageFeedback.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_PutMessageFeedback.go.snap index d7db9651c92..e3cdfc8daed 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_PutMessageFeedback.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_PutMessageFeedback.go.snap @@ -14,7 +14,6 @@ PutMessageFeedback Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_PutOptedOutNumber.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_PutOptedOutNumber.go.snap index 81789c2cbb1..a30d5861e0a 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_PutOptedOutNumber.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_PutOptedOutNumber.go.snap @@ -14,7 +14,6 @@ PutOptedOutNumber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_PutProtectConfigurationRuleSetNumberOverride.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_PutProtectConfigurationRuleSetNumberOverride.go.snap index 44d0c65893d..cd070f8f046 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_PutProtectConfigurationRuleSetNumberOverride.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_PutProtectConfigurationRuleSetNumberOverride.go.snap @@ -15,7 +15,6 @@ PutProtectConfigurationRuleSetNumberOverride Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_PutRegistrationFieldValue.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_PutRegistrationFieldValue.go.snap index 92217a3bd08..185ee74fd4f 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_PutRegistrationFieldValue.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_PutRegistrationFieldValue.go.snap @@ -14,7 +14,6 @@ PutRegistrationFieldValue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_PutResourcePolicy.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_PutResourcePolicy.go.snap index 30530b1514f..47bad3fad0e 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_PutResourcePolicy.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_PutResourcePolicy.go.snap @@ -14,7 +14,6 @@ PutResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_ReleasePhoneNumber.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_ReleasePhoneNumber.go.snap index f58ff1acc81..a6f665d649b 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_ReleasePhoneNumber.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_ReleasePhoneNumber.go.snap @@ -14,7 +14,6 @@ ReleasePhoneNumber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_ReleaseSenderId.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_ReleaseSenderId.go.snap index 6f7699597c9..70d47e85d7b 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_ReleaseSenderId.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_ReleaseSenderId.go.snap @@ -14,7 +14,6 @@ ReleaseSenderId Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_RequestPhoneNumber.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_RequestPhoneNumber.go.snap index 97c10977f26..26f76ec7bce 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_RequestPhoneNumber.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_RequestPhoneNumber.go.snap @@ -15,7 +15,6 @@ RequestPhoneNumber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_RequestSenderId.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_RequestSenderId.go.snap index 1065ac4cb48..eafaf5a5ecb 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_RequestSenderId.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_RequestSenderId.go.snap @@ -15,7 +15,6 @@ RequestSenderId Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_SendDestinationNumberVerificationCode.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_SendDestinationNumberVerificationCode.go.snap index 3e2302e79e4..f0a98365c40 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_SendDestinationNumberVerificationCode.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_SendDestinationNumberVerificationCode.go.snap @@ -14,7 +14,6 @@ SendDestinationNumberVerificationCode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_SendMediaMessage.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_SendMediaMessage.go.snap index 91463900f5c..714c41690c7 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_SendMediaMessage.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_SendMediaMessage.go.snap @@ -14,7 +14,6 @@ SendMediaMessage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_SendTextMessage.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_SendTextMessage.go.snap index 66558334aa9..1c75e664ed3 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_SendTextMessage.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_SendTextMessage.go.snap @@ -14,7 +14,6 @@ SendTextMessage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_SendVoiceMessage.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_SendVoiceMessage.go.snap index d86cf536404..8bd85fcae2d 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_SendVoiceMessage.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_SendVoiceMessage.go.snap @@ -14,7 +14,6 @@ SendVoiceMessage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_SetAccountDefaultProtectConfiguration.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_SetAccountDefaultProtectConfiguration.go.snap index be18e641455..269bb1cfd11 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_SetAccountDefaultProtectConfiguration.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_SetAccountDefaultProtectConfiguration.go.snap @@ -14,7 +14,6 @@ SetAccountDefaultProtectConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_SetDefaultMessageFeedbackEnabled.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_SetDefaultMessageFeedbackEnabled.go.snap index 1f8b423a648..f9ba8d7686d 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_SetDefaultMessageFeedbackEnabled.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_SetDefaultMessageFeedbackEnabled.go.snap @@ -14,7 +14,6 @@ SetDefaultMessageFeedbackEnabled Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_SetDefaultMessageType.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_SetDefaultMessageType.go.snap index 9be772241dd..a9f7444fc05 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_SetDefaultMessageType.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_SetDefaultMessageType.go.snap @@ -14,7 +14,6 @@ SetDefaultMessageType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_SetDefaultSenderId.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_SetDefaultSenderId.go.snap index 9559a4dac5a..6cb58459e66 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_SetDefaultSenderId.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_SetDefaultSenderId.go.snap @@ -14,7 +14,6 @@ SetDefaultSenderId Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_SetMediaMessageSpendLimitOverride.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_SetMediaMessageSpendLimitOverride.go.snap index 6386f7e3d6d..1fa5afcff5b 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_SetMediaMessageSpendLimitOverride.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_SetMediaMessageSpendLimitOverride.go.snap @@ -14,7 +14,6 @@ SetMediaMessageSpendLimitOverride Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_SetTextMessageSpendLimitOverride.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_SetTextMessageSpendLimitOverride.go.snap index ee29d9eea03..681a1ec9306 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_SetTextMessageSpendLimitOverride.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_SetTextMessageSpendLimitOverride.go.snap @@ -14,7 +14,6 @@ SetTextMessageSpendLimitOverride Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_SetVoiceMessageSpendLimitOverride.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_SetVoiceMessageSpendLimitOverride.go.snap index b7814172831..83361e7dd92 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_SetVoiceMessageSpendLimitOverride.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_SetVoiceMessageSpendLimitOverride.go.snap @@ -14,7 +14,6 @@ SetVoiceMessageSpendLimitOverride Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_SubmitRegistrationVersion.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_SubmitRegistrationVersion.go.snap index 1e8e775256f..5acf40c116b 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_SubmitRegistrationVersion.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_SubmitRegistrationVersion.go.snap @@ -14,7 +14,6 @@ SubmitRegistrationVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_TagResource.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_TagResource.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_UntagResource.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_UntagResource.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_UpdateEventDestination.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_UpdateEventDestination.go.snap index 87cee152bbd..0623c285e18 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_UpdateEventDestination.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_UpdateEventDestination.go.snap @@ -14,7 +14,6 @@ UpdateEventDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_UpdatePhoneNumber.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_UpdatePhoneNumber.go.snap index ea27f48ae8a..5bd3b027498 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_UpdatePhoneNumber.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_UpdatePhoneNumber.go.snap @@ -14,7 +14,6 @@ UpdatePhoneNumber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_UpdatePool.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_UpdatePool.go.snap index a0772c2c1c0..22fa5efe889 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_UpdatePool.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_UpdatePool.go.snap @@ -14,7 +14,6 @@ UpdatePool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_UpdateProtectConfiguration.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_UpdateProtectConfiguration.go.snap index 410b91a8ce2..6ef2cf94bf6 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_UpdateProtectConfiguration.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_UpdateProtectConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateProtectConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_UpdateProtectConfigurationCountryRuleSet.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_UpdateProtectConfigurationCountryRuleSet.go.snap index 5248eb16858..613015ffcb4 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_UpdateProtectConfigurationCountryRuleSet.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_UpdateProtectConfigurationCountryRuleSet.go.snap @@ -14,7 +14,6 @@ UpdateProtectConfigurationCountryRuleSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_UpdateSenderId.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_UpdateSenderId.go.snap index b1fa5f5e0b8..a92d7d2469b 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_UpdateSenderId.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_UpdateSenderId.go.snap @@ -14,7 +14,6 @@ UpdateSenderId Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pinpointsmsvoicev2/snapshot/api_op_VerifyDestinationNumber.go.snap b/service/pinpointsmsvoicev2/snapshot/api_op_VerifyDestinationNumber.go.snap index 05d48b64496..1c492c093b7 100644 --- a/service/pinpointsmsvoicev2/snapshot/api_op_VerifyDestinationNumber.go.snap +++ b/service/pinpointsmsvoicev2/snapshot/api_op_VerifyDestinationNumber.go.snap @@ -14,7 +14,6 @@ VerifyDestinationNumber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pipes/api_client.go b/service/pipes/api_client.go index feafdaf1394..c65159c1141 100644 --- a/service/pipes/api_client.go +++ b/service/pipes/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/pipes/api_op_CreatePipe.go b/service/pipes/api_op_CreatePipe.go index 842de64c32c..5dbfbaec29c 100644 --- a/service/pipes/api_op_CreatePipe.go +++ b/service/pipes/api_op_CreatePipe.go @@ -187,9 +187,6 @@ func (c *Client) addOperationCreatePipeMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePipeValidationMiddleware(stack); err != nil { return err } diff --git a/service/pipes/api_op_DeletePipe.go b/service/pipes/api_op_DeletePipe.go index 4616dc9a5ec..e265ad68779 100644 --- a/service/pipes/api_op_DeletePipe.go +++ b/service/pipes/api_op_DeletePipe.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDeletePipeMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePipeValidationMiddleware(stack); err != nil { return err } diff --git a/service/pipes/api_op_DescribePipe.go b/service/pipes/api_op_DescribePipe.go index 790a8c1e3ec..1d93f989108 100644 --- a/service/pipes/api_op_DescribePipe.go +++ b/service/pipes/api_op_DescribePipe.go @@ -179,9 +179,6 @@ func (c *Client) addOperationDescribePipeMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePipeValidationMiddleware(stack); err != nil { return err } diff --git a/service/pipes/api_op_ListPipes.go b/service/pipes/api_op_ListPipes.go index 747f3e1a468..d4b043bbaac 100644 --- a/service/pipes/api_op_ListPipes.go +++ b/service/pipes/api_op_ListPipes.go @@ -144,9 +144,6 @@ func (c *Client) addOperationListPipesMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPipes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/pipes/api_op_ListTagsForResource.go b/service/pipes/api_op_ListTagsForResource.go index e5c2e6588dd..9bd520732a9 100644 --- a/service/pipes/api_op_ListTagsForResource.go +++ b/service/pipes/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/pipes/api_op_StartPipe.go b/service/pipes/api_op_StartPipe.go index f328cab1604..6cd6c0aee5a 100644 --- a/service/pipes/api_op_StartPipe.go +++ b/service/pipes/api_op_StartPipe.go @@ -130,9 +130,6 @@ func (c *Client) addOperationStartPipeMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartPipeValidationMiddleware(stack); err != nil { return err } diff --git a/service/pipes/api_op_StopPipe.go b/service/pipes/api_op_StopPipe.go index 7890d803716..95726a335b0 100644 --- a/service/pipes/api_op_StopPipe.go +++ b/service/pipes/api_op_StopPipe.go @@ -130,9 +130,6 @@ func (c *Client) addOperationStopPipeMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopPipeValidationMiddleware(stack); err != nil { return err } diff --git a/service/pipes/api_op_TagResource.go b/service/pipes/api_op_TagResource.go index e16f04bc514..542569c15d4 100644 --- a/service/pipes/api_op_TagResource.go +++ b/service/pipes/api_op_TagResource.go @@ -125,9 +125,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/pipes/api_op_UntagResource.go b/service/pipes/api_op_UntagResource.go index 64676b1fc8e..60ed7629e36 100644 --- a/service/pipes/api_op_UntagResource.go +++ b/service/pipes/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/pipes/api_op_UpdatePipe.go b/service/pipes/api_op_UpdatePipe.go index 41e170b791e..5b9f21fe4a5 100644 --- a/service/pipes/api_op_UpdatePipe.go +++ b/service/pipes/api_op_UpdatePipe.go @@ -193,9 +193,6 @@ func (c *Client) addOperationUpdatePipeMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePipeValidationMiddleware(stack); err != nil { return err } diff --git a/service/pipes/snapshot/api_op_CreatePipe.go.snap b/service/pipes/snapshot/api_op_CreatePipe.go.snap index 9eeab435b8c..c6f6666932b 100644 --- a/service/pipes/snapshot/api_op_CreatePipe.go.snap +++ b/service/pipes/snapshot/api_op_CreatePipe.go.snap @@ -14,7 +14,6 @@ CreatePipe Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pipes/snapshot/api_op_DeletePipe.go.snap b/service/pipes/snapshot/api_op_DeletePipe.go.snap index eccd35b3baf..5241c22b6f4 100644 --- a/service/pipes/snapshot/api_op_DeletePipe.go.snap +++ b/service/pipes/snapshot/api_op_DeletePipe.go.snap @@ -14,7 +14,6 @@ DeletePipe Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pipes/snapshot/api_op_DescribePipe.go.snap b/service/pipes/snapshot/api_op_DescribePipe.go.snap index a915ccb83ec..ae7fe61d695 100644 --- a/service/pipes/snapshot/api_op_DescribePipe.go.snap +++ b/service/pipes/snapshot/api_op_DescribePipe.go.snap @@ -14,7 +14,6 @@ DescribePipe Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pipes/snapshot/api_op_ListPipes.go.snap b/service/pipes/snapshot/api_op_ListPipes.go.snap index 2fb35174563..5c6424ae5ff 100644 --- a/service/pipes/snapshot/api_op_ListPipes.go.snap +++ b/service/pipes/snapshot/api_op_ListPipes.go.snap @@ -13,7 +13,6 @@ ListPipes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pipes/snapshot/api_op_ListTagsForResource.go.snap b/service/pipes/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/pipes/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/pipes/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pipes/snapshot/api_op_StartPipe.go.snap b/service/pipes/snapshot/api_op_StartPipe.go.snap index ae41cff6ee8..24650ba19cc 100644 --- a/service/pipes/snapshot/api_op_StartPipe.go.snap +++ b/service/pipes/snapshot/api_op_StartPipe.go.snap @@ -14,7 +14,6 @@ StartPipe Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pipes/snapshot/api_op_StopPipe.go.snap b/service/pipes/snapshot/api_op_StopPipe.go.snap index a245e2ec94b..a8bc22a56b1 100644 --- a/service/pipes/snapshot/api_op_StopPipe.go.snap +++ b/service/pipes/snapshot/api_op_StopPipe.go.snap @@ -14,7 +14,6 @@ StopPipe Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pipes/snapshot/api_op_TagResource.go.snap b/service/pipes/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/pipes/snapshot/api_op_TagResource.go.snap +++ b/service/pipes/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pipes/snapshot/api_op_UntagResource.go.snap b/service/pipes/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/pipes/snapshot/api_op_UntagResource.go.snap +++ b/service/pipes/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pipes/snapshot/api_op_UpdatePipe.go.snap b/service/pipes/snapshot/api_op_UpdatePipe.go.snap index d2ae8b3a9ad..be8b4479a2d 100644 --- a/service/pipes/snapshot/api_op_UpdatePipe.go.snap +++ b/service/pipes/snapshot/api_op_UpdatePipe.go.snap @@ -14,7 +14,6 @@ UpdatePipe Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/polly/api_client.go b/service/polly/api_client.go index 30ebcba6340..6bd80e6546f 100644 --- a/service/polly/api_client.go +++ b/service/polly/api_client.go @@ -764,37 +764,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/polly/api_op_DeleteLexicon.go b/service/polly/api_op_DeleteLexicon.go index a874273e318..8253646bb00 100644 --- a/service/polly/api_op_DeleteLexicon.go +++ b/service/polly/api_op_DeleteLexicon.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteLexiconMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLexiconValidationMiddleware(stack); err != nil { return err } diff --git a/service/polly/api_op_DescribeVoices.go b/service/polly/api_op_DescribeVoices.go index 2b3e4f62aef..43261e88790 100644 --- a/service/polly/api_op_DescribeVoices.go +++ b/service/polly/api_op_DescribeVoices.go @@ -147,9 +147,6 @@ func (c *Client) addOperationDescribeVoicesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVoices(options.Region), middleware.Before); err != nil { return err } diff --git a/service/polly/api_op_GetLexicon.go b/service/polly/api_op_GetLexicon.go index 15b69b9abe8..3cb43c8d79f 100644 --- a/service/polly/api_op_GetLexicon.go +++ b/service/polly/api_op_GetLexicon.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetLexiconMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLexiconValidationMiddleware(stack); err != nil { return err } diff --git a/service/polly/api_op_GetSpeechSynthesisTask.go b/service/polly/api_op_GetSpeechSynthesisTask.go index c26b7d25ed4..e63f6da0c4c 100644 --- a/service/polly/api_op_GetSpeechSynthesisTask.go +++ b/service/polly/api_op_GetSpeechSynthesisTask.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetSpeechSynthesisTaskMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSpeechSynthesisTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/polly/api_op_ListLexicons.go b/service/polly/api_op_ListLexicons.go index 7a1d86c3aa9..3d6c2036904 100644 --- a/service/polly/api_op_ListLexicons.go +++ b/service/polly/api_op_ListLexicons.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListLexiconsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLexicons(options.Region), middleware.Before); err != nil { return err } diff --git a/service/polly/api_op_ListSpeechSynthesisTasks.go b/service/polly/api_op_ListSpeechSynthesisTasks.go index bdd856e3301..70502c6d87f 100644 --- a/service/polly/api_op_ListSpeechSynthesisTasks.go +++ b/service/polly/api_op_ListSpeechSynthesisTasks.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListSpeechSynthesisTasksMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSpeechSynthesisTasks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/polly/api_op_PutLexicon.go b/service/polly/api_op_PutLexicon.go index a3e4dfc7358..9c457d19ad0 100644 --- a/service/polly/api_op_PutLexicon.go +++ b/service/polly/api_op_PutLexicon.go @@ -121,9 +121,6 @@ func (c *Client) addOperationPutLexiconMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutLexiconValidationMiddleware(stack); err != nil { return err } diff --git a/service/polly/api_op_StartSpeechSynthesisTask.go b/service/polly/api_op_StartSpeechSynthesisTask.go index a20d95676fe..ce8e2982299 100644 --- a/service/polly/api_op_StartSpeechSynthesisTask.go +++ b/service/polly/api_op_StartSpeechSynthesisTask.go @@ -184,9 +184,6 @@ func (c *Client) addOperationStartSpeechSynthesisTaskMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartSpeechSynthesisTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/polly/api_op_SynthesizeSpeech.go b/service/polly/api_op_SynthesizeSpeech.go index 623ac7b2056..8982dd8ea26 100644 --- a/service/polly/api_op_SynthesizeSpeech.go +++ b/service/polly/api_op_SynthesizeSpeech.go @@ -209,9 +209,6 @@ func (c *Client) addOperationSynthesizeSpeechMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSynthesizeSpeechValidationMiddleware(stack); err != nil { return err } diff --git a/service/polly/snapshot/api_op_DeleteLexicon.go.snap b/service/polly/snapshot/api_op_DeleteLexicon.go.snap index b71d0b84b37..f793b8ca139 100644 --- a/service/polly/snapshot/api_op_DeleteLexicon.go.snap +++ b/service/polly/snapshot/api_op_DeleteLexicon.go.snap @@ -14,7 +14,6 @@ DeleteLexicon Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/polly/snapshot/api_op_DescribeVoices.go.snap b/service/polly/snapshot/api_op_DescribeVoices.go.snap index a0ff7205b0c..6a35330970b 100644 --- a/service/polly/snapshot/api_op_DescribeVoices.go.snap +++ b/service/polly/snapshot/api_op_DescribeVoices.go.snap @@ -13,7 +13,6 @@ DescribeVoices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/polly/snapshot/api_op_GetLexicon.go.snap b/service/polly/snapshot/api_op_GetLexicon.go.snap index ed47e15771e..dbcec487002 100644 --- a/service/polly/snapshot/api_op_GetLexicon.go.snap +++ b/service/polly/snapshot/api_op_GetLexicon.go.snap @@ -14,7 +14,6 @@ GetLexicon Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/polly/snapshot/api_op_GetSpeechSynthesisTask.go.snap b/service/polly/snapshot/api_op_GetSpeechSynthesisTask.go.snap index 3e20dbbf5cc..023fd9052a4 100644 --- a/service/polly/snapshot/api_op_GetSpeechSynthesisTask.go.snap +++ b/service/polly/snapshot/api_op_GetSpeechSynthesisTask.go.snap @@ -14,7 +14,6 @@ GetSpeechSynthesisTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/polly/snapshot/api_op_ListLexicons.go.snap b/service/polly/snapshot/api_op_ListLexicons.go.snap index a1cf6d5ecb5..d36ea1848f9 100644 --- a/service/polly/snapshot/api_op_ListLexicons.go.snap +++ b/service/polly/snapshot/api_op_ListLexicons.go.snap @@ -13,7 +13,6 @@ ListLexicons Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/polly/snapshot/api_op_ListSpeechSynthesisTasks.go.snap b/service/polly/snapshot/api_op_ListSpeechSynthesisTasks.go.snap index c54936ea9e5..5b764a39e06 100644 --- a/service/polly/snapshot/api_op_ListSpeechSynthesisTasks.go.snap +++ b/service/polly/snapshot/api_op_ListSpeechSynthesisTasks.go.snap @@ -13,7 +13,6 @@ ListSpeechSynthesisTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/polly/snapshot/api_op_PutLexicon.go.snap b/service/polly/snapshot/api_op_PutLexicon.go.snap index f62cb158653..0245b738449 100644 --- a/service/polly/snapshot/api_op_PutLexicon.go.snap +++ b/service/polly/snapshot/api_op_PutLexicon.go.snap @@ -14,7 +14,6 @@ PutLexicon Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/polly/snapshot/api_op_StartSpeechSynthesisTask.go.snap b/service/polly/snapshot/api_op_StartSpeechSynthesisTask.go.snap index b5edc726bf2..220da10452b 100644 --- a/service/polly/snapshot/api_op_StartSpeechSynthesisTask.go.snap +++ b/service/polly/snapshot/api_op_StartSpeechSynthesisTask.go.snap @@ -14,7 +14,6 @@ StartSpeechSynthesisTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/polly/snapshot/api_op_SynthesizeSpeech.go.snap b/service/polly/snapshot/api_op_SynthesizeSpeech.go.snap index 250d4cb9ca7..7697f37de72 100644 --- a/service/polly/snapshot/api_op_SynthesizeSpeech.go.snap +++ b/service/polly/snapshot/api_op_SynthesizeSpeech.go.snap @@ -14,7 +14,6 @@ SynthesizeSpeech Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pricing/api_client.go b/service/pricing/api_client.go index cf0e7fcaacf..253f7364ae9 100644 --- a/service/pricing/api_client.go +++ b/service/pricing/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/pricing/api_op_DescribeServices.go b/service/pricing/api_op_DescribeServices.go index 73631b68de3..56a27aae20e 100644 --- a/service/pricing/api_op_DescribeServices.go +++ b/service/pricing/api_op_DescribeServices.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribeServicesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeServices(options.Region), middleware.Before); err != nil { return err } diff --git a/service/pricing/api_op_GetAttributeValues.go b/service/pricing/api_op_GetAttributeValues.go index b6ab19a0c8b..0dca647e4de 100644 --- a/service/pricing/api_op_GetAttributeValues.go +++ b/service/pricing/api_op_GetAttributeValues.go @@ -134,9 +134,6 @@ func (c *Client) addOperationGetAttributeValuesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAttributeValuesValidationMiddleware(stack); err != nil { return err } diff --git a/service/pricing/api_op_GetPriceListFileUrl.go b/service/pricing/api_op_GetPriceListFileUrl.go index e9aed510062..aae3c22134c 100644 --- a/service/pricing/api_op_GetPriceListFileUrl.go +++ b/service/pricing/api_op_GetPriceListFileUrl.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetPriceListFileUrlMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPriceListFileUrlValidationMiddleware(stack); err != nil { return err } diff --git a/service/pricing/api_op_GetProducts.go b/service/pricing/api_op_GetProducts.go index 3881d41db12..a18cb72c6ba 100644 --- a/service/pricing/api_op_GetProducts.go +++ b/service/pricing/api_op_GetProducts.go @@ -135,9 +135,6 @@ func (c *Client) addOperationGetProductsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetProductsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pricing/api_op_ListPriceLists.go b/service/pricing/api_op_ListPriceLists.go index e8e0b5b1e35..53d4eac7e04 100644 --- a/service/pricing/api_op_ListPriceLists.go +++ b/service/pricing/api_op_ListPriceLists.go @@ -167,9 +167,6 @@ func (c *Client) addOperationListPriceListsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPriceListsValidationMiddleware(stack); err != nil { return err } diff --git a/service/pricing/snapshot/api_op_DescribeServices.go.snap b/service/pricing/snapshot/api_op_DescribeServices.go.snap index c7f0f24baab..79416e93ea8 100644 --- a/service/pricing/snapshot/api_op_DescribeServices.go.snap +++ b/service/pricing/snapshot/api_op_DescribeServices.go.snap @@ -13,7 +13,6 @@ DescribeServices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pricing/snapshot/api_op_GetAttributeValues.go.snap b/service/pricing/snapshot/api_op_GetAttributeValues.go.snap index 367c3a160c4..c098c9feceb 100644 --- a/service/pricing/snapshot/api_op_GetAttributeValues.go.snap +++ b/service/pricing/snapshot/api_op_GetAttributeValues.go.snap @@ -14,7 +14,6 @@ GetAttributeValues Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pricing/snapshot/api_op_GetPriceListFileUrl.go.snap b/service/pricing/snapshot/api_op_GetPriceListFileUrl.go.snap index 6409025c901..1d0816222a0 100644 --- a/service/pricing/snapshot/api_op_GetPriceListFileUrl.go.snap +++ b/service/pricing/snapshot/api_op_GetPriceListFileUrl.go.snap @@ -14,7 +14,6 @@ GetPriceListFileUrl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pricing/snapshot/api_op_GetProducts.go.snap b/service/pricing/snapshot/api_op_GetProducts.go.snap index 476bb4b1719..d08db9ac557 100644 --- a/service/pricing/snapshot/api_op_GetProducts.go.snap +++ b/service/pricing/snapshot/api_op_GetProducts.go.snap @@ -14,7 +14,6 @@ GetProducts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/pricing/snapshot/api_op_ListPriceLists.go.snap b/service/pricing/snapshot/api_op_ListPriceLists.go.snap index e05407d27b7..3bbb7ca40bb 100644 --- a/service/pricing/snapshot/api_op_ListPriceLists.go.snap +++ b/service/pricing/snapshot/api_op_ListPriceLists.go.snap @@ -14,7 +14,6 @@ ListPriceLists Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/privatenetworks/api_client.go b/service/privatenetworks/api_client.go index ea9ac4aecbd..936a0d94233 100644 --- a/service/privatenetworks/api_client.go +++ b/service/privatenetworks/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/privatenetworks/api_op_AcknowledgeOrderReceipt.go b/service/privatenetworks/api_op_AcknowledgeOrderReceipt.go index b3981bf2936..a35cddac742 100644 --- a/service/privatenetworks/api_op_AcknowledgeOrderReceipt.go +++ b/service/privatenetworks/api_op_AcknowledgeOrderReceipt.go @@ -114,9 +114,6 @@ func (c *Client) addOperationAcknowledgeOrderReceiptMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcknowledgeOrderReceiptValidationMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_ActivateDeviceIdentifier.go b/service/privatenetworks/api_op_ActivateDeviceIdentifier.go index ae7c98b162f..a1089185fb1 100644 --- a/service/privatenetworks/api_op_ActivateDeviceIdentifier.go +++ b/service/privatenetworks/api_op_ActivateDeviceIdentifier.go @@ -123,9 +123,6 @@ func (c *Client) addOperationActivateDeviceIdentifierMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpActivateDeviceIdentifierValidationMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_ActivateNetworkSite.go b/service/privatenetworks/api_op_ActivateNetworkSite.go index f31ed740042..ea0771d0fe8 100644 --- a/service/privatenetworks/api_op_ActivateNetworkSite.go +++ b/service/privatenetworks/api_op_ActivateNetworkSite.go @@ -143,9 +143,6 @@ func (c *Client) addOperationActivateNetworkSiteMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpActivateNetworkSiteValidationMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_ConfigureAccessPoint.go b/service/privatenetworks/api_op_ConfigureAccessPoint.go index bd91c76bddc..7043a322f93 100644 --- a/service/privatenetworks/api_op_ConfigureAccessPoint.go +++ b/service/privatenetworks/api_op_ConfigureAccessPoint.go @@ -139,9 +139,6 @@ func (c *Client) addOperationConfigureAccessPointMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpConfigureAccessPointValidationMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_CreateNetwork.go b/service/privatenetworks/api_op_CreateNetwork.go index e0ec5bc3dde..3e4ecb47f8c 100644 --- a/service/privatenetworks/api_op_CreateNetwork.go +++ b/service/privatenetworks/api_op_CreateNetwork.go @@ -129,9 +129,6 @@ func (c *Client) addOperationCreateNetworkMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateNetworkValidationMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_CreateNetworkSite.go b/service/privatenetworks/api_op_CreateNetworkSite.go index 117058f376b..68db961f045 100644 --- a/service/privatenetworks/api_op_CreateNetworkSite.go +++ b/service/privatenetworks/api_op_CreateNetworkSite.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCreateNetworkSiteMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateNetworkSiteValidationMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_DeactivateDeviceIdentifier.go b/service/privatenetworks/api_op_DeactivateDeviceIdentifier.go index 0ec155b849f..e212f4d9b1b 100644 --- a/service/privatenetworks/api_op_DeactivateDeviceIdentifier.go +++ b/service/privatenetworks/api_op_DeactivateDeviceIdentifier.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeactivateDeviceIdentifierMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeactivateDeviceIdentifierValidationMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_DeleteNetwork.go b/service/privatenetworks/api_op_DeleteNetwork.go index b9b99ce3de2..79c278c1089 100644 --- a/service/privatenetworks/api_op_DeleteNetwork.go +++ b/service/privatenetworks/api_op_DeleteNetwork.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteNetworkMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteNetworkValidationMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_DeleteNetworkSite.go b/service/privatenetworks/api_op_DeleteNetworkSite.go index e4f9988cb85..b0bdb93481b 100644 --- a/service/privatenetworks/api_op_DeleteNetworkSite.go +++ b/service/privatenetworks/api_op_DeleteNetworkSite.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteNetworkSiteMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteNetworkSiteValidationMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_GetDeviceIdentifier.go b/service/privatenetworks/api_op_GetDeviceIdentifier.go index 5b8b8499217..015ef68995b 100644 --- a/service/privatenetworks/api_op_GetDeviceIdentifier.go +++ b/service/privatenetworks/api_op_GetDeviceIdentifier.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetDeviceIdentifierMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeviceIdentifierValidationMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_GetNetwork.go b/service/privatenetworks/api_op_GetNetwork.go index 4053d189377..e66a083ef5f 100644 --- a/service/privatenetworks/api_op_GetNetwork.go +++ b/service/privatenetworks/api_op_GetNetwork.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetNetworkMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetNetworkValidationMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_GetNetworkResource.go b/service/privatenetworks/api_op_GetNetworkResource.go index 391db4daaf4..602dc81b05c 100644 --- a/service/privatenetworks/api_op_GetNetworkResource.go +++ b/service/privatenetworks/api_op_GetNetworkResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetNetworkResourceMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetNetworkResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_GetNetworkSite.go b/service/privatenetworks/api_op_GetNetworkSite.go index 5850ad9419f..b0bb0c5ad4d 100644 --- a/service/privatenetworks/api_op_GetNetworkSite.go +++ b/service/privatenetworks/api_op_GetNetworkSite.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetNetworkSiteMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetNetworkSiteValidationMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_GetOrder.go b/service/privatenetworks/api_op_GetOrder.go index 22dbda1a0d7..2af2621dfcc 100644 --- a/service/privatenetworks/api_op_GetOrder.go +++ b/service/privatenetworks/api_op_GetOrder.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetOrderMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetOrderValidationMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_ListDeviceIdentifiers.go b/service/privatenetworks/api_op_ListDeviceIdentifiers.go index ace35f3bd33..0de69a352c1 100644 --- a/service/privatenetworks/api_op_ListDeviceIdentifiers.go +++ b/service/privatenetworks/api_op_ListDeviceIdentifiers.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListDeviceIdentifiersMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDeviceIdentifiersValidationMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_ListNetworkResources.go b/service/privatenetworks/api_op_ListNetworkResources.go index 03175602622..682e44faa42 100644 --- a/service/privatenetworks/api_op_ListNetworkResources.go +++ b/service/privatenetworks/api_op_ListNetworkResources.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListNetworkResourcesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListNetworkResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_ListNetworkSites.go b/service/privatenetworks/api_op_ListNetworkSites.go index bacfe15410d..69c2b4713b9 100644 --- a/service/privatenetworks/api_op_ListNetworkSites.go +++ b/service/privatenetworks/api_op_ListNetworkSites.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListNetworkSitesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListNetworkSitesValidationMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_ListNetworks.go b/service/privatenetworks/api_op_ListNetworks.go index 2161eef6626..a58a8c8143f 100644 --- a/service/privatenetworks/api_op_ListNetworks.go +++ b/service/privatenetworks/api_op_ListNetworks.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListNetworksMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNetworks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/privatenetworks/api_op_ListOrders.go b/service/privatenetworks/api_op_ListOrders.go index b39f9bce06a..b93a66bcf90 100644 --- a/service/privatenetworks/api_op_ListOrders.go +++ b/service/privatenetworks/api_op_ListOrders.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListOrdersMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListOrdersValidationMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_ListTagsForResource.go b/service/privatenetworks/api_op_ListTagsForResource.go index adff4743887..d0b88caa5c4 100644 --- a/service/privatenetworks/api_op_ListTagsForResource.go +++ b/service/privatenetworks/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_Ping.go b/service/privatenetworks/api_op_Ping.go index ed6e5e686b3..ddeae9b082b 100644 --- a/service/privatenetworks/api_op_Ping.go +++ b/service/privatenetworks/api_op_Ping.go @@ -105,9 +105,6 @@ func (c *Client) addOperationPingMiddlewares(stack *middleware.Stack, options Op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPing(options.Region), middleware.Before); err != nil { return err } diff --git a/service/privatenetworks/api_op_StartNetworkResourceUpdate.go b/service/privatenetworks/api_op_StartNetworkResourceUpdate.go index c23cc8334c0..9a2dc690ff0 100644 --- a/service/privatenetworks/api_op_StartNetworkResourceUpdate.go +++ b/service/privatenetworks/api_op_StartNetworkResourceUpdate.go @@ -178,9 +178,6 @@ func (c *Client) addOperationStartNetworkResourceUpdateMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartNetworkResourceUpdateValidationMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_TagResource.go b/service/privatenetworks/api_op_TagResource.go index 6988b468dd7..8438a31764f 100644 --- a/service/privatenetworks/api_op_TagResource.go +++ b/service/privatenetworks/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_UntagResource.go b/service/privatenetworks/api_op_UntagResource.go index dcaaceb4505..7e0b0509d32 100644 --- a/service/privatenetworks/api_op_UntagResource.go +++ b/service/privatenetworks/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_UpdateNetworkSite.go b/service/privatenetworks/api_op_UpdateNetworkSite.go index 8accede6491..318b2135c82 100644 --- a/service/privatenetworks/api_op_UpdateNetworkSite.go +++ b/service/privatenetworks/api_op_UpdateNetworkSite.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateNetworkSiteMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateNetworkSiteValidationMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/api_op_UpdateNetworkSitePlan.go b/service/privatenetworks/api_op_UpdateNetworkSitePlan.go index 8518bd7d2fe..5337f1d9f20 100644 --- a/service/privatenetworks/api_op_UpdateNetworkSitePlan.go +++ b/service/privatenetworks/api_op_UpdateNetworkSitePlan.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateNetworkSitePlanMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateNetworkSitePlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/privatenetworks/snapshot/api_op_AcknowledgeOrderReceipt.go.snap b/service/privatenetworks/snapshot/api_op_AcknowledgeOrderReceipt.go.snap index 38bf67f74fb..ba65509c558 100644 --- a/service/privatenetworks/snapshot/api_op_AcknowledgeOrderReceipt.go.snap +++ b/service/privatenetworks/snapshot/api_op_AcknowledgeOrderReceipt.go.snap @@ -14,7 +14,6 @@ AcknowledgeOrderReceipt Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/privatenetworks/snapshot/api_op_ActivateDeviceIdentifier.go.snap b/service/privatenetworks/snapshot/api_op_ActivateDeviceIdentifier.go.snap index 3b637344460..4fefcb2918a 100644 --- a/service/privatenetworks/snapshot/api_op_ActivateDeviceIdentifier.go.snap +++ b/service/privatenetworks/snapshot/api_op_ActivateDeviceIdentifier.go.snap @@ -14,7 +14,6 @@ ActivateDeviceIdentifier Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/privatenetworks/snapshot/api_op_ActivateNetworkSite.go.snap b/service/privatenetworks/snapshot/api_op_ActivateNetworkSite.go.snap index 01ba98dae7b..6d436bf58cb 100644 --- a/service/privatenetworks/snapshot/api_op_ActivateNetworkSite.go.snap +++ b/service/privatenetworks/snapshot/api_op_ActivateNetworkSite.go.snap @@ -14,7 +14,6 @@ ActivateNetworkSite Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/privatenetworks/snapshot/api_op_ConfigureAccessPoint.go.snap b/service/privatenetworks/snapshot/api_op_ConfigureAccessPoint.go.snap index 5cad454927d..2a45ddc53c9 100644 --- a/service/privatenetworks/snapshot/api_op_ConfigureAccessPoint.go.snap +++ b/service/privatenetworks/snapshot/api_op_ConfigureAccessPoint.go.snap @@ -14,7 +14,6 @@ ConfigureAccessPoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/privatenetworks/snapshot/api_op_CreateNetwork.go.snap b/service/privatenetworks/snapshot/api_op_CreateNetwork.go.snap index 5868fcf368b..eaad9ccc06f 100644 --- a/service/privatenetworks/snapshot/api_op_CreateNetwork.go.snap +++ b/service/privatenetworks/snapshot/api_op_CreateNetwork.go.snap @@ -14,7 +14,6 @@ CreateNetwork Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/privatenetworks/snapshot/api_op_CreateNetworkSite.go.snap b/service/privatenetworks/snapshot/api_op_CreateNetworkSite.go.snap index 5a840910c4d..a14f7eb5009 100644 --- a/service/privatenetworks/snapshot/api_op_CreateNetworkSite.go.snap +++ b/service/privatenetworks/snapshot/api_op_CreateNetworkSite.go.snap @@ -14,7 +14,6 @@ CreateNetworkSite Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/privatenetworks/snapshot/api_op_DeactivateDeviceIdentifier.go.snap b/service/privatenetworks/snapshot/api_op_DeactivateDeviceIdentifier.go.snap index c296c943c7f..07c6948c3c2 100644 --- a/service/privatenetworks/snapshot/api_op_DeactivateDeviceIdentifier.go.snap +++ b/service/privatenetworks/snapshot/api_op_DeactivateDeviceIdentifier.go.snap @@ -14,7 +14,6 @@ DeactivateDeviceIdentifier Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/privatenetworks/snapshot/api_op_DeleteNetwork.go.snap b/service/privatenetworks/snapshot/api_op_DeleteNetwork.go.snap index dc142bc7fef..c131337c6b4 100644 --- a/service/privatenetworks/snapshot/api_op_DeleteNetwork.go.snap +++ b/service/privatenetworks/snapshot/api_op_DeleteNetwork.go.snap @@ -14,7 +14,6 @@ DeleteNetwork Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/privatenetworks/snapshot/api_op_DeleteNetworkSite.go.snap b/service/privatenetworks/snapshot/api_op_DeleteNetworkSite.go.snap index 622b3098ff1..1bc98e7cc60 100644 --- a/service/privatenetworks/snapshot/api_op_DeleteNetworkSite.go.snap +++ b/service/privatenetworks/snapshot/api_op_DeleteNetworkSite.go.snap @@ -14,7 +14,6 @@ DeleteNetworkSite Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/privatenetworks/snapshot/api_op_GetDeviceIdentifier.go.snap b/service/privatenetworks/snapshot/api_op_GetDeviceIdentifier.go.snap index 4e940b2206e..5d158007cda 100644 --- a/service/privatenetworks/snapshot/api_op_GetDeviceIdentifier.go.snap +++ b/service/privatenetworks/snapshot/api_op_GetDeviceIdentifier.go.snap @@ -14,7 +14,6 @@ GetDeviceIdentifier Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/privatenetworks/snapshot/api_op_GetNetwork.go.snap b/service/privatenetworks/snapshot/api_op_GetNetwork.go.snap index 54060e3fbd7..164a965a1e2 100644 --- a/service/privatenetworks/snapshot/api_op_GetNetwork.go.snap +++ b/service/privatenetworks/snapshot/api_op_GetNetwork.go.snap @@ -14,7 +14,6 @@ GetNetwork Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/privatenetworks/snapshot/api_op_GetNetworkResource.go.snap b/service/privatenetworks/snapshot/api_op_GetNetworkResource.go.snap index 2eb82d28bda..877ef03e0de 100644 --- a/service/privatenetworks/snapshot/api_op_GetNetworkResource.go.snap +++ b/service/privatenetworks/snapshot/api_op_GetNetworkResource.go.snap @@ -14,7 +14,6 @@ GetNetworkResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/privatenetworks/snapshot/api_op_GetNetworkSite.go.snap b/service/privatenetworks/snapshot/api_op_GetNetworkSite.go.snap index 052bd04ac01..f663fece8ed 100644 --- a/service/privatenetworks/snapshot/api_op_GetNetworkSite.go.snap +++ b/service/privatenetworks/snapshot/api_op_GetNetworkSite.go.snap @@ -14,7 +14,6 @@ GetNetworkSite Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/privatenetworks/snapshot/api_op_GetOrder.go.snap b/service/privatenetworks/snapshot/api_op_GetOrder.go.snap index bfe50573677..424a279c17f 100644 --- a/service/privatenetworks/snapshot/api_op_GetOrder.go.snap +++ b/service/privatenetworks/snapshot/api_op_GetOrder.go.snap @@ -14,7 +14,6 @@ GetOrder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/privatenetworks/snapshot/api_op_ListDeviceIdentifiers.go.snap b/service/privatenetworks/snapshot/api_op_ListDeviceIdentifiers.go.snap index 4a3d019614f..33586aead06 100644 --- a/service/privatenetworks/snapshot/api_op_ListDeviceIdentifiers.go.snap +++ b/service/privatenetworks/snapshot/api_op_ListDeviceIdentifiers.go.snap @@ -14,7 +14,6 @@ ListDeviceIdentifiers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/privatenetworks/snapshot/api_op_ListNetworkResources.go.snap b/service/privatenetworks/snapshot/api_op_ListNetworkResources.go.snap index 9388ff93263..fe5eb15e653 100644 --- a/service/privatenetworks/snapshot/api_op_ListNetworkResources.go.snap +++ b/service/privatenetworks/snapshot/api_op_ListNetworkResources.go.snap @@ -14,7 +14,6 @@ ListNetworkResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/privatenetworks/snapshot/api_op_ListNetworkSites.go.snap b/service/privatenetworks/snapshot/api_op_ListNetworkSites.go.snap index 32df2ed59ae..71c817e0d0c 100644 --- a/service/privatenetworks/snapshot/api_op_ListNetworkSites.go.snap +++ b/service/privatenetworks/snapshot/api_op_ListNetworkSites.go.snap @@ -14,7 +14,6 @@ ListNetworkSites Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/privatenetworks/snapshot/api_op_ListNetworks.go.snap b/service/privatenetworks/snapshot/api_op_ListNetworks.go.snap index debc868f27c..b1720c91895 100644 --- a/service/privatenetworks/snapshot/api_op_ListNetworks.go.snap +++ b/service/privatenetworks/snapshot/api_op_ListNetworks.go.snap @@ -13,7 +13,6 @@ ListNetworks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/privatenetworks/snapshot/api_op_ListOrders.go.snap b/service/privatenetworks/snapshot/api_op_ListOrders.go.snap index f64f6b6e550..06830654b5a 100644 --- a/service/privatenetworks/snapshot/api_op_ListOrders.go.snap +++ b/service/privatenetworks/snapshot/api_op_ListOrders.go.snap @@ -14,7 +14,6 @@ ListOrders Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/privatenetworks/snapshot/api_op_ListTagsForResource.go.snap b/service/privatenetworks/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/privatenetworks/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/privatenetworks/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/privatenetworks/snapshot/api_op_Ping.go.snap b/service/privatenetworks/snapshot/api_op_Ping.go.snap index 2fd39b981b6..20b47606ae1 100644 --- a/service/privatenetworks/snapshot/api_op_Ping.go.snap +++ b/service/privatenetworks/snapshot/api_op_Ping.go.snap @@ -13,7 +13,6 @@ Ping Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/privatenetworks/snapshot/api_op_StartNetworkResourceUpdate.go.snap b/service/privatenetworks/snapshot/api_op_StartNetworkResourceUpdate.go.snap index cf88a99dc41..600d5682f04 100644 --- a/service/privatenetworks/snapshot/api_op_StartNetworkResourceUpdate.go.snap +++ b/service/privatenetworks/snapshot/api_op_StartNetworkResourceUpdate.go.snap @@ -14,7 +14,6 @@ StartNetworkResourceUpdate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/privatenetworks/snapshot/api_op_TagResource.go.snap b/service/privatenetworks/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/privatenetworks/snapshot/api_op_TagResource.go.snap +++ b/service/privatenetworks/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/privatenetworks/snapshot/api_op_UntagResource.go.snap b/service/privatenetworks/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/privatenetworks/snapshot/api_op_UntagResource.go.snap +++ b/service/privatenetworks/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/privatenetworks/snapshot/api_op_UpdateNetworkSite.go.snap b/service/privatenetworks/snapshot/api_op_UpdateNetworkSite.go.snap index a610e4dd366..cd967a489d4 100644 --- a/service/privatenetworks/snapshot/api_op_UpdateNetworkSite.go.snap +++ b/service/privatenetworks/snapshot/api_op_UpdateNetworkSite.go.snap @@ -14,7 +14,6 @@ UpdateNetworkSite Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/privatenetworks/snapshot/api_op_UpdateNetworkSitePlan.go.snap b/service/privatenetworks/snapshot/api_op_UpdateNetworkSitePlan.go.snap index 585234b2fdd..17f55bc262f 100644 --- a/service/privatenetworks/snapshot/api_op_UpdateNetworkSitePlan.go.snap +++ b/service/privatenetworks/snapshot/api_op_UpdateNetworkSitePlan.go.snap @@ -14,7 +14,6 @@ UpdateNetworkSitePlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/api_client.go b/service/proton/api_client.go index 87a0ea5a842..af466ed1ffb 100644 --- a/service/proton/api_client.go +++ b/service/proton/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/proton/api_op_AcceptEnvironmentAccountConnection.go b/service/proton/api_op_AcceptEnvironmentAccountConnection.go index 9159172b16d..968003adac2 100644 --- a/service/proton/api_op_AcceptEnvironmentAccountConnection.go +++ b/service/proton/api_op_AcceptEnvironmentAccountConnection.go @@ -121,9 +121,6 @@ func (c *Client) addOperationAcceptEnvironmentAccountConnectionMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptEnvironmentAccountConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_CancelComponentDeployment.go b/service/proton/api_op_CancelComponentDeployment.go index faef6a72703..d48551dc46a 100644 --- a/service/proton/api_op_CancelComponentDeployment.go +++ b/service/proton/api_op_CancelComponentDeployment.go @@ -119,9 +119,6 @@ func (c *Client) addOperationCancelComponentDeploymentMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelComponentDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_CancelEnvironmentDeployment.go b/service/proton/api_op_CancelEnvironmentDeployment.go index b7b2d45ee88..f5065ecf8fc 100644 --- a/service/proton/api_op_CancelEnvironmentDeployment.go +++ b/service/proton/api_op_CancelEnvironmentDeployment.go @@ -128,9 +128,6 @@ func (c *Client) addOperationCancelEnvironmentDeploymentMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelEnvironmentDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_CancelServiceInstanceDeployment.go b/service/proton/api_op_CancelServiceInstanceDeployment.go index a5dd8e60b6a..4f28d03d2fd 100644 --- a/service/proton/api_op_CancelServiceInstanceDeployment.go +++ b/service/proton/api_op_CancelServiceInstanceDeployment.go @@ -133,9 +133,6 @@ func (c *Client) addOperationCancelServiceInstanceDeploymentMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelServiceInstanceDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_CancelServicePipelineDeployment.go b/service/proton/api_op_CancelServicePipelineDeployment.go index 8c9633c7e2b..dc4fb5c52e7 100644 --- a/service/proton/api_op_CancelServicePipelineDeployment.go +++ b/service/proton/api_op_CancelServicePipelineDeployment.go @@ -128,9 +128,6 @@ func (c *Client) addOperationCancelServicePipelineDeploymentMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelServicePipelineDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_CreateComponent.go b/service/proton/api_op_CreateComponent.go index ac1823710c3..1d82bca89cf 100644 --- a/service/proton/api_op_CreateComponent.go +++ b/service/proton/api_op_CreateComponent.go @@ -174,9 +174,6 @@ func (c *Client) addOperationCreateComponentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateComponentMiddleware(stack, options); err != nil { return err } diff --git a/service/proton/api_op_CreateEnvironment.go b/service/proton/api_op_CreateEnvironment.go index cd67c9933a4..043914a5457 100644 --- a/service/proton/api_op_CreateEnvironment.go +++ b/service/proton/api_op_CreateEnvironment.go @@ -214,9 +214,6 @@ func (c *Client) addOperationCreateEnvironmentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEnvironmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_CreateEnvironmentAccountConnection.go b/service/proton/api_op_CreateEnvironmentAccountConnection.go index 7f956a5538c..926f5ec6af8 100644 --- a/service/proton/api_op_CreateEnvironmentAccountConnection.go +++ b/service/proton/api_op_CreateEnvironmentAccountConnection.go @@ -168,9 +168,6 @@ func (c *Client) addOperationCreateEnvironmentAccountConnectionMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateEnvironmentAccountConnectionMiddleware(stack, options); err != nil { return err } diff --git a/service/proton/api_op_CreateEnvironmentTemplate.go b/service/proton/api_op_CreateEnvironmentTemplate.go index 2ca3b964813..7f88a2f5147 100644 --- a/service/proton/api_op_CreateEnvironmentTemplate.go +++ b/service/proton/api_op_CreateEnvironmentTemplate.go @@ -151,9 +151,6 @@ func (c *Client) addOperationCreateEnvironmentTemplateMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEnvironmentTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_CreateEnvironmentTemplateVersion.go b/service/proton/api_op_CreateEnvironmentTemplateVersion.go index f9d628135b8..1503d92cb50 100644 --- a/service/proton/api_op_CreateEnvironmentTemplateVersion.go +++ b/service/proton/api_op_CreateEnvironmentTemplateVersion.go @@ -145,9 +145,6 @@ func (c *Client) addOperationCreateEnvironmentTemplateVersionMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateEnvironmentTemplateVersionMiddleware(stack, options); err != nil { return err } diff --git a/service/proton/api_op_CreateRepository.go b/service/proton/api_op_CreateRepository.go index 2a52b069e31..8d170a14c24 100644 --- a/service/proton/api_op_CreateRepository.go +++ b/service/proton/api_op_CreateRepository.go @@ -151,9 +151,6 @@ func (c *Client) addOperationCreateRepositoryMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRepositoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_CreateService.go b/service/proton/api_op_CreateService.go index 823e51e24a1..7cfaee956a3 100644 --- a/service/proton/api_op_CreateService.go +++ b/service/proton/api_op_CreateService.go @@ -170,9 +170,6 @@ func (c *Client) addOperationCreateServiceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateServiceValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_CreateServiceInstance.go b/service/proton/api_op_CreateServiceInstance.go index 78ff2c2d824..f7deb4ba4bc 100644 --- a/service/proton/api_op_CreateServiceInstance.go +++ b/service/proton/api_op_CreateServiceInstance.go @@ -144,9 +144,6 @@ func (c *Client) addOperationCreateServiceInstanceMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateServiceInstanceMiddleware(stack, options); err != nil { return err } diff --git a/service/proton/api_op_CreateServiceSyncConfig.go b/service/proton/api_op_CreateServiceSyncConfig.go index 8d650a393ec..a8babd7abed 100644 --- a/service/proton/api_op_CreateServiceSyncConfig.go +++ b/service/proton/api_op_CreateServiceSyncConfig.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateServiceSyncConfigMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateServiceSyncConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_CreateServiceTemplate.go b/service/proton/api_op_CreateServiceTemplate.go index d9602a484f6..f011c8a47e5 100644 --- a/service/proton/api_op_CreateServiceTemplate.go +++ b/service/proton/api_op_CreateServiceTemplate.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCreateServiceTemplateMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateServiceTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_CreateServiceTemplateVersion.go b/service/proton/api_op_CreateServiceTemplateVersion.go index 0ce30201656..40292fe7a44 100644 --- a/service/proton/api_op_CreateServiceTemplateVersion.go +++ b/service/proton/api_op_CreateServiceTemplateVersion.go @@ -159,9 +159,6 @@ func (c *Client) addOperationCreateServiceTemplateVersionMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateServiceTemplateVersionMiddleware(stack, options); err != nil { return err } diff --git a/service/proton/api_op_CreateTemplateSyncConfig.go b/service/proton/api_op_CreateTemplateSyncConfig.go index 01198af28e3..f107b69e320 100644 --- a/service/proton/api_op_CreateTemplateSyncConfig.go +++ b/service/proton/api_op_CreateTemplateSyncConfig.go @@ -145,9 +145,6 @@ func (c *Client) addOperationCreateTemplateSyncConfigMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTemplateSyncConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_DeleteComponent.go b/service/proton/api_op_DeleteComponent.go index 3e06642eb9f..b8d7ee7ac99 100644 --- a/service/proton/api_op_DeleteComponent.go +++ b/service/proton/api_op_DeleteComponent.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteComponentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteComponentValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_DeleteDeployment.go b/service/proton/api_op_DeleteDeployment.go index 259214f8d10..7bd1f6d3dae 100644 --- a/service/proton/api_op_DeleteDeployment.go +++ b/service/proton/api_op_DeleteDeployment.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteDeploymentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_DeleteEnvironment.go b/service/proton/api_op_DeleteEnvironment.go index 7d33dc62f72..b3421edb025 100644 --- a/service/proton/api_op_DeleteEnvironment.go +++ b/service/proton/api_op_DeleteEnvironment.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteEnvironmentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEnvironmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_DeleteEnvironmentAccountConnection.go b/service/proton/api_op_DeleteEnvironmentAccountConnection.go index 5b622c1737b..9923921c99c 100644 --- a/service/proton/api_op_DeleteEnvironmentAccountConnection.go +++ b/service/proton/api_op_DeleteEnvironmentAccountConnection.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteEnvironmentAccountConnectionMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEnvironmentAccountConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_DeleteEnvironmentTemplate.go b/service/proton/api_op_DeleteEnvironmentTemplate.go index 12b43ae7ccb..f77d91202f8 100644 --- a/service/proton/api_op_DeleteEnvironmentTemplate.go +++ b/service/proton/api_op_DeleteEnvironmentTemplate.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteEnvironmentTemplateMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEnvironmentTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_DeleteEnvironmentTemplateVersion.go b/service/proton/api_op_DeleteEnvironmentTemplateVersion.go index 854e7c25634..ee0c499e05e 100644 --- a/service/proton/api_op_DeleteEnvironmentTemplateVersion.go +++ b/service/proton/api_op_DeleteEnvironmentTemplateVersion.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDeleteEnvironmentTemplateVersionMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEnvironmentTemplateVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_DeleteRepository.go b/service/proton/api_op_DeleteRepository.go index e33edc91b03..6dfdaac7473 100644 --- a/service/proton/api_op_DeleteRepository.go +++ b/service/proton/api_op_DeleteRepository.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteRepositoryMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRepositoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_DeleteService.go b/service/proton/api_op_DeleteService.go index fe39d6cc1f3..661eee5e623 100644 --- a/service/proton/api_op_DeleteService.go +++ b/service/proton/api_op_DeleteService.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteServiceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteServiceValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_DeleteServiceSyncConfig.go b/service/proton/api_op_DeleteServiceSyncConfig.go index ebecacf144a..19cf6e0a401 100644 --- a/service/proton/api_op_DeleteServiceSyncConfig.go +++ b/service/proton/api_op_DeleteServiceSyncConfig.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteServiceSyncConfigMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteServiceSyncConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_DeleteServiceTemplate.go b/service/proton/api_op_DeleteServiceTemplate.go index f2e452b3033..334b87c521a 100644 --- a/service/proton/api_op_DeleteServiceTemplate.go +++ b/service/proton/api_op_DeleteServiceTemplate.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteServiceTemplateMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteServiceTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_DeleteServiceTemplateVersion.go b/service/proton/api_op_DeleteServiceTemplateVersion.go index 6b9fd1902a2..d8d0b98f720 100644 --- a/service/proton/api_op_DeleteServiceTemplateVersion.go +++ b/service/proton/api_op_DeleteServiceTemplateVersion.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDeleteServiceTemplateVersionMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteServiceTemplateVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_DeleteTemplateSyncConfig.go b/service/proton/api_op_DeleteTemplateSyncConfig.go index a5afa8b341f..dbd66213874 100644 --- a/service/proton/api_op_DeleteTemplateSyncConfig.go +++ b/service/proton/api_op_DeleteTemplateSyncConfig.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteTemplateSyncConfigMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTemplateSyncConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetAccountSettings.go b/service/proton/api_op_GetAccountSettings.go index 57ddab440dc..85eed4512c9 100644 --- a/service/proton/api_op_GetAccountSettings.go +++ b/service/proton/api_op_GetAccountSettings.go @@ -106,9 +106,6 @@ func (c *Client) addOperationGetAccountSettingsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/proton/api_op_GetComponent.go b/service/proton/api_op_GetComponent.go index 8179900a036..8c14391aa8e 100644 --- a/service/proton/api_op_GetComponent.go +++ b/service/proton/api_op_GetComponent.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetComponentMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetComponentValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetDeployment.go b/service/proton/api_op_GetDeployment.go index 53322073fda..3218344607c 100644 --- a/service/proton/api_op_GetDeployment.go +++ b/service/proton/api_op_GetDeployment.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetDeploymentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetEnvironment.go b/service/proton/api_op_GetEnvironment.go index e9f40f9f11b..5dddb91afa8 100644 --- a/service/proton/api_op_GetEnvironment.go +++ b/service/proton/api_op_GetEnvironment.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetEnvironmentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEnvironmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetEnvironmentAccountConnection.go b/service/proton/api_op_GetEnvironmentAccountConnection.go index 076cb368c23..c05d76e8b6c 100644 --- a/service/proton/api_op_GetEnvironmentAccountConnection.go +++ b/service/proton/api_op_GetEnvironmentAccountConnection.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetEnvironmentAccountConnectionMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEnvironmentAccountConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetEnvironmentTemplate.go b/service/proton/api_op_GetEnvironmentTemplate.go index f2d8ea839bf..dce5df14507 100644 --- a/service/proton/api_op_GetEnvironmentTemplate.go +++ b/service/proton/api_op_GetEnvironmentTemplate.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetEnvironmentTemplateMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEnvironmentTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetEnvironmentTemplateVersion.go b/service/proton/api_op_GetEnvironmentTemplateVersion.go index 60f95550eb5..5f85ee8f617 100644 --- a/service/proton/api_op_GetEnvironmentTemplateVersion.go +++ b/service/proton/api_op_GetEnvironmentTemplateVersion.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetEnvironmentTemplateVersionMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEnvironmentTemplateVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetRepository.go b/service/proton/api_op_GetRepository.go index 20d041a7fcd..6ca764bf8fa 100644 --- a/service/proton/api_op_GetRepository.go +++ b/service/proton/api_op_GetRepository.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetRepositoryMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRepositoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetRepositorySyncStatus.go b/service/proton/api_op_GetRepositorySyncStatus.go index 7dee2f72f20..20f7285d5d8 100644 --- a/service/proton/api_op_GetRepositorySyncStatus.go +++ b/service/proton/api_op_GetRepositorySyncStatus.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGetRepositorySyncStatusMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRepositorySyncStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetResourcesSummary.go b/service/proton/api_op_GetResourcesSummary.go index a27249d64a4..c1c564fca45 100644 --- a/service/proton/api_op_GetResourcesSummary.go +++ b/service/proton/api_op_GetResourcesSummary.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetResourcesSummaryMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourcesSummary(options.Region), middleware.Before); err != nil { return err } diff --git a/service/proton/api_op_GetService.go b/service/proton/api_op_GetService.go index 18ce32aaf48..6c88f39f56e 100644 --- a/service/proton/api_op_GetService.go +++ b/service/proton/api_op_GetService.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetServiceMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetServiceValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetServiceInstance.go b/service/proton/api_op_GetServiceInstance.go index a9f35233150..8ad13f18842 100644 --- a/service/proton/api_op_GetServiceInstance.go +++ b/service/proton/api_op_GetServiceInstance.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetServiceInstanceMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetServiceInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetServiceInstanceSyncStatus.go b/service/proton/api_op_GetServiceInstanceSyncStatus.go index c795ae17cd0..ab206f2c810 100644 --- a/service/proton/api_op_GetServiceInstanceSyncStatus.go +++ b/service/proton/api_op_GetServiceInstanceSyncStatus.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetServiceInstanceSyncStatusMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetServiceInstanceSyncStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetServiceSyncBlockerSummary.go b/service/proton/api_op_GetServiceSyncBlockerSummary.go index 8bba1833874..cb5ba9de4de 100644 --- a/service/proton/api_op_GetServiceSyncBlockerSummary.go +++ b/service/proton/api_op_GetServiceSyncBlockerSummary.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetServiceSyncBlockerSummaryMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetServiceSyncBlockerSummaryValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetServiceSyncConfig.go b/service/proton/api_op_GetServiceSyncConfig.go index 59b045e8fef..679071501b9 100644 --- a/service/proton/api_op_GetServiceSyncConfig.go +++ b/service/proton/api_op_GetServiceSyncConfig.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetServiceSyncConfigMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetServiceSyncConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetServiceTemplate.go b/service/proton/api_op_GetServiceTemplate.go index e9a8f3b7230..0086d7e9eb1 100644 --- a/service/proton/api_op_GetServiceTemplate.go +++ b/service/proton/api_op_GetServiceTemplate.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetServiceTemplateMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetServiceTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetServiceTemplateVersion.go b/service/proton/api_op_GetServiceTemplateVersion.go index 6aebcb0cd87..d4fdff157d4 100644 --- a/service/proton/api_op_GetServiceTemplateVersion.go +++ b/service/proton/api_op_GetServiceTemplateVersion.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetServiceTemplateVersionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetServiceTemplateVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetTemplateSyncConfig.go b/service/proton/api_op_GetTemplateSyncConfig.go index 778396223d7..ee53b438a6e 100644 --- a/service/proton/api_op_GetTemplateSyncConfig.go +++ b/service/proton/api_op_GetTemplateSyncConfig.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetTemplateSyncConfigMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTemplateSyncConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_GetTemplateSyncStatus.go b/service/proton/api_op_GetTemplateSyncStatus.go index 221064621fe..683e506dd39 100644 --- a/service/proton/api_op_GetTemplateSyncStatus.go +++ b/service/proton/api_op_GetTemplateSyncStatus.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetTemplateSyncStatusMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTemplateSyncStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListComponentOutputs.go b/service/proton/api_op_ListComponentOutputs.go index 09074784d0e..6f80ad11a92 100644 --- a/service/proton/api_op_ListComponentOutputs.go +++ b/service/proton/api_op_ListComponentOutputs.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListComponentOutputsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListComponentOutputsValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListComponentProvisionedResources.go b/service/proton/api_op_ListComponentProvisionedResources.go index 93dff308b00..66576560ba4 100644 --- a/service/proton/api_op_ListComponentProvisionedResources.go +++ b/service/proton/api_op_ListComponentProvisionedResources.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListComponentProvisionedResourcesMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListComponentProvisionedResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListComponents.go b/service/proton/api_op_ListComponents.go index f45cc2d4098..158d5444b70 100644 --- a/service/proton/api_op_ListComponents.go +++ b/service/proton/api_op_ListComponents.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListComponentsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListComponents(options.Region), middleware.Before); err != nil { return err } diff --git a/service/proton/api_op_ListDeployments.go b/service/proton/api_op_ListDeployments.go index cf71c490118..647a834277c 100644 --- a/service/proton/api_op_ListDeployments.go +++ b/service/proton/api_op_ListDeployments.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListDeploymentsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeployments(options.Region), middleware.Before); err != nil { return err } diff --git a/service/proton/api_op_ListEnvironmentAccountConnections.go b/service/proton/api_op_ListEnvironmentAccountConnections.go index 252fc884665..37a163d0dea 100644 --- a/service/proton/api_op_ListEnvironmentAccountConnections.go +++ b/service/proton/api_op_ListEnvironmentAccountConnections.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListEnvironmentAccountConnectionsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEnvironmentAccountConnectionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListEnvironmentOutputs.go b/service/proton/api_op_ListEnvironmentOutputs.go index 98e50fddab3..38dd2753222 100644 --- a/service/proton/api_op_ListEnvironmentOutputs.go +++ b/service/proton/api_op_ListEnvironmentOutputs.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListEnvironmentOutputsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEnvironmentOutputsValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListEnvironmentProvisionedResources.go b/service/proton/api_op_ListEnvironmentProvisionedResources.go index 3fe7daa7ae8..63f23555934 100644 --- a/service/proton/api_op_ListEnvironmentProvisionedResources.go +++ b/service/proton/api_op_ListEnvironmentProvisionedResources.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListEnvironmentProvisionedResourcesMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEnvironmentProvisionedResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListEnvironmentTemplateVersions.go b/service/proton/api_op_ListEnvironmentTemplateVersions.go index 630d0196598..e2685952785 100644 --- a/service/proton/api_op_ListEnvironmentTemplateVersions.go +++ b/service/proton/api_op_ListEnvironmentTemplateVersions.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListEnvironmentTemplateVersionsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEnvironmentTemplateVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListEnvironmentTemplates.go b/service/proton/api_op_ListEnvironmentTemplates.go index 20ae3393e04..d904f86a093 100644 --- a/service/proton/api_op_ListEnvironmentTemplates.go +++ b/service/proton/api_op_ListEnvironmentTemplates.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListEnvironmentTemplatesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEnvironmentTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/proton/api_op_ListEnvironments.go b/service/proton/api_op_ListEnvironments.go index 009bf68ded9..45c771fd150 100644 --- a/service/proton/api_op_ListEnvironments.go +++ b/service/proton/api_op_ListEnvironments.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListEnvironmentsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEnvironmentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListRepositories.go b/service/proton/api_op_ListRepositories.go index 3eb17014bfe..b84ccb9912c 100644 --- a/service/proton/api_op_ListRepositories.go +++ b/service/proton/api_op_ListRepositories.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListRepositoriesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRepositories(options.Region), middleware.Before); err != nil { return err } diff --git a/service/proton/api_op_ListRepositorySyncDefinitions.go b/service/proton/api_op_ListRepositorySyncDefinitions.go index 06b4c72d903..404b57245ef 100644 --- a/service/proton/api_op_ListRepositorySyncDefinitions.go +++ b/service/proton/api_op_ListRepositorySyncDefinitions.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListRepositorySyncDefinitionsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRepositorySyncDefinitionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListServiceInstanceOutputs.go b/service/proton/api_op_ListServiceInstanceOutputs.go index 370f4d53c51..78ee2e602f0 100644 --- a/service/proton/api_op_ListServiceInstanceOutputs.go +++ b/service/proton/api_op_ListServiceInstanceOutputs.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListServiceInstanceOutputsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListServiceInstanceOutputsValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListServiceInstanceProvisionedResources.go b/service/proton/api_op_ListServiceInstanceProvisionedResources.go index 57531e15c46..3f60d3a218d 100644 --- a/service/proton/api_op_ListServiceInstanceProvisionedResources.go +++ b/service/proton/api_op_ListServiceInstanceProvisionedResources.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListServiceInstanceProvisionedResourcesMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListServiceInstanceProvisionedResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListServiceInstances.go b/service/proton/api_op_ListServiceInstances.go index e78d4e590fa..6b2de076f27 100644 --- a/service/proton/api_op_ListServiceInstances.go +++ b/service/proton/api_op_ListServiceInstances.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListServiceInstancesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServiceInstances(options.Region), middleware.Before); err != nil { return err } diff --git a/service/proton/api_op_ListServicePipelineOutputs.go b/service/proton/api_op_ListServicePipelineOutputs.go index 7647f452251..05a3dfbb947 100644 --- a/service/proton/api_op_ListServicePipelineOutputs.go +++ b/service/proton/api_op_ListServicePipelineOutputs.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListServicePipelineOutputsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListServicePipelineOutputsValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListServicePipelineProvisionedResources.go b/service/proton/api_op_ListServicePipelineProvisionedResources.go index 984fb4e77c2..027a02da033 100644 --- a/service/proton/api_op_ListServicePipelineProvisionedResources.go +++ b/service/proton/api_op_ListServicePipelineProvisionedResources.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListServicePipelineProvisionedResourcesMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListServicePipelineProvisionedResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListServiceTemplateVersions.go b/service/proton/api_op_ListServiceTemplateVersions.go index 4c16021da29..f3b18a92932 100644 --- a/service/proton/api_op_ListServiceTemplateVersions.go +++ b/service/proton/api_op_ListServiceTemplateVersions.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListServiceTemplateVersionsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListServiceTemplateVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_ListServiceTemplates.go b/service/proton/api_op_ListServiceTemplates.go index 0b43992373e..53c48674f53 100644 --- a/service/proton/api_op_ListServiceTemplates.go +++ b/service/proton/api_op_ListServiceTemplates.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListServiceTemplatesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServiceTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/proton/api_op_ListServices.go b/service/proton/api_op_ListServices.go index 05955fd884d..93fd0f2746d 100644 --- a/service/proton/api_op_ListServices.go +++ b/service/proton/api_op_ListServices.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListServicesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServices(options.Region), middleware.Before); err != nil { return err } diff --git a/service/proton/api_op_ListTagsForResource.go b/service/proton/api_op_ListTagsForResource.go index 6be7ddbf9ea..80a5aa5a6b3 100644 --- a/service/proton/api_op_ListTagsForResource.go +++ b/service/proton/api_op_ListTagsForResource.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_NotifyResourceDeploymentStatusChange.go b/service/proton/api_op_NotifyResourceDeploymentStatusChange.go index e4b3a963e40..f0ff7e90e17 100644 --- a/service/proton/api_op_NotifyResourceDeploymentStatusChange.go +++ b/service/proton/api_op_NotifyResourceDeploymentStatusChange.go @@ -125,9 +125,6 @@ func (c *Client) addOperationNotifyResourceDeploymentStatusChangeMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpNotifyResourceDeploymentStatusChangeValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_RejectEnvironmentAccountConnection.go b/service/proton/api_op_RejectEnvironmentAccountConnection.go index a41c7e2bc3c..ea0e1d07b23 100644 --- a/service/proton/api_op_RejectEnvironmentAccountConnection.go +++ b/service/proton/api_op_RejectEnvironmentAccountConnection.go @@ -125,9 +125,6 @@ func (c *Client) addOperationRejectEnvironmentAccountConnectionMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRejectEnvironmentAccountConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_TagResource.go b/service/proton/api_op_TagResource.go index f868238f45c..1131674ed84 100644 --- a/service/proton/api_op_TagResource.go +++ b/service/proton/api_op_TagResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_UntagResource.go b/service/proton/api_op_UntagResource.go index e28eb195fa2..754099eb9cc 100644 --- a/service/proton/api_op_UntagResource.go +++ b/service/proton/api_op_UntagResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_UpdateAccountSettings.go b/service/proton/api_op_UpdateAccountSettings.go index 2e84feb6b31..c61175e2ea0 100644 --- a/service/proton/api_op_UpdateAccountSettings.go +++ b/service/proton/api_op_UpdateAccountSettings.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateAccountSettingsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAccountSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_UpdateComponent.go b/service/proton/api_op_UpdateComponent.go index 922ad077082..8ed28662f5f 100644 --- a/service/proton/api_op_UpdateComponent.go +++ b/service/proton/api_op_UpdateComponent.go @@ -175,9 +175,6 @@ func (c *Client) addOperationUpdateComponentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateComponentMiddleware(stack, options); err != nil { return err } diff --git a/service/proton/api_op_UpdateEnvironment.go b/service/proton/api_op_UpdateEnvironment.go index 42f03b43e7d..2b6fc088b07 100644 --- a/service/proton/api_op_UpdateEnvironment.go +++ b/service/proton/api_op_UpdateEnvironment.go @@ -248,9 +248,6 @@ func (c *Client) addOperationUpdateEnvironmentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEnvironmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_UpdateEnvironmentAccountConnection.go b/service/proton/api_op_UpdateEnvironmentAccountConnection.go index 7168650ca17..840480c6ac5 100644 --- a/service/proton/api_op_UpdateEnvironmentAccountConnection.go +++ b/service/proton/api_op_UpdateEnvironmentAccountConnection.go @@ -142,9 +142,6 @@ func (c *Client) addOperationUpdateEnvironmentAccountConnectionMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEnvironmentAccountConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_UpdateEnvironmentTemplate.go b/service/proton/api_op_UpdateEnvironmentTemplate.go index 51d909b94b0..7c5c35ea799 100644 --- a/service/proton/api_op_UpdateEnvironmentTemplate.go +++ b/service/proton/api_op_UpdateEnvironmentTemplate.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateEnvironmentTemplateMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEnvironmentTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_UpdateEnvironmentTemplateVersion.go b/service/proton/api_op_UpdateEnvironmentTemplateVersion.go index e6a65e1bc6a..dc28cc78f42 100644 --- a/service/proton/api_op_UpdateEnvironmentTemplateVersion.go +++ b/service/proton/api_op_UpdateEnvironmentTemplateVersion.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateEnvironmentTemplateVersionMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEnvironmentTemplateVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_UpdateService.go b/service/proton/api_op_UpdateService.go index c35fb96b3f1..9cf67d9e530 100644 --- a/service/proton/api_op_UpdateService.go +++ b/service/proton/api_op_UpdateService.go @@ -141,9 +141,6 @@ func (c *Client) addOperationUpdateServiceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateServiceValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_UpdateServiceInstance.go b/service/proton/api_op_UpdateServiceInstance.go index 2886354e3cb..f8bf8f60315 100644 --- a/service/proton/api_op_UpdateServiceInstance.go +++ b/service/proton/api_op_UpdateServiceInstance.go @@ -174,9 +174,6 @@ func (c *Client) addOperationUpdateServiceInstanceMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateServiceInstanceMiddleware(stack, options); err != nil { return err } diff --git a/service/proton/api_op_UpdateServicePipeline.go b/service/proton/api_op_UpdateServicePipeline.go index b3a5a759605..60f26a93d5f 100644 --- a/service/proton/api_op_UpdateServicePipeline.go +++ b/service/proton/api_op_UpdateServicePipeline.go @@ -190,9 +190,6 @@ func (c *Client) addOperationUpdateServicePipelineMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateServicePipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_UpdateServiceSyncBlocker.go b/service/proton/api_op_UpdateServiceSyncBlocker.go index 029e663881e..bcf4391be0b 100644 --- a/service/proton/api_op_UpdateServiceSyncBlocker.go +++ b/service/proton/api_op_UpdateServiceSyncBlocker.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateServiceSyncBlockerMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateServiceSyncBlockerValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_UpdateServiceSyncConfig.go b/service/proton/api_op_UpdateServiceSyncConfig.go index 01fc87e477a..803ee3741cd 100644 --- a/service/proton/api_op_UpdateServiceSyncConfig.go +++ b/service/proton/api_op_UpdateServiceSyncConfig.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdateServiceSyncConfigMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateServiceSyncConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_UpdateServiceTemplate.go b/service/proton/api_op_UpdateServiceTemplate.go index 6f8550e97f7..0e0a4f9d9b8 100644 --- a/service/proton/api_op_UpdateServiceTemplate.go +++ b/service/proton/api_op_UpdateServiceTemplate.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateServiceTemplateMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateServiceTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_UpdateServiceTemplateVersion.go b/service/proton/api_op_UpdateServiceTemplateVersion.go index 009fc7047bf..09fd2e96c46 100644 --- a/service/proton/api_op_UpdateServiceTemplateVersion.go +++ b/service/proton/api_op_UpdateServiceTemplateVersion.go @@ -147,9 +147,6 @@ func (c *Client) addOperationUpdateServiceTemplateVersionMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateServiceTemplateVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/api_op_UpdateTemplateSyncConfig.go b/service/proton/api_op_UpdateTemplateSyncConfig.go index 22e35635f86..6b98d18ceee 100644 --- a/service/proton/api_op_UpdateTemplateSyncConfig.go +++ b/service/proton/api_op_UpdateTemplateSyncConfig.go @@ -139,9 +139,6 @@ func (c *Client) addOperationUpdateTemplateSyncConfigMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTemplateSyncConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/proton/snapshot/api_op_AcceptEnvironmentAccountConnection.go.snap b/service/proton/snapshot/api_op_AcceptEnvironmentAccountConnection.go.snap index 69d08475893..50d539498e9 100644 --- a/service/proton/snapshot/api_op_AcceptEnvironmentAccountConnection.go.snap +++ b/service/proton/snapshot/api_op_AcceptEnvironmentAccountConnection.go.snap @@ -14,7 +14,6 @@ AcceptEnvironmentAccountConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_CancelComponentDeployment.go.snap b/service/proton/snapshot/api_op_CancelComponentDeployment.go.snap index 41c72ce7cda..8acfc76c6a5 100644 --- a/service/proton/snapshot/api_op_CancelComponentDeployment.go.snap +++ b/service/proton/snapshot/api_op_CancelComponentDeployment.go.snap @@ -14,7 +14,6 @@ CancelComponentDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_CancelEnvironmentDeployment.go.snap b/service/proton/snapshot/api_op_CancelEnvironmentDeployment.go.snap index 79370604eb3..065bf83dc5f 100644 --- a/service/proton/snapshot/api_op_CancelEnvironmentDeployment.go.snap +++ b/service/proton/snapshot/api_op_CancelEnvironmentDeployment.go.snap @@ -14,7 +14,6 @@ CancelEnvironmentDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_CancelServiceInstanceDeployment.go.snap b/service/proton/snapshot/api_op_CancelServiceInstanceDeployment.go.snap index 43bbe3e236a..b6bbb630369 100644 --- a/service/proton/snapshot/api_op_CancelServiceInstanceDeployment.go.snap +++ b/service/proton/snapshot/api_op_CancelServiceInstanceDeployment.go.snap @@ -14,7 +14,6 @@ CancelServiceInstanceDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_CancelServicePipelineDeployment.go.snap b/service/proton/snapshot/api_op_CancelServicePipelineDeployment.go.snap index f1387f2bcd3..c1e639f05b1 100644 --- a/service/proton/snapshot/api_op_CancelServicePipelineDeployment.go.snap +++ b/service/proton/snapshot/api_op_CancelServicePipelineDeployment.go.snap @@ -14,7 +14,6 @@ CancelServicePipelineDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_CreateComponent.go.snap b/service/proton/snapshot/api_op_CreateComponent.go.snap index 28a16c4f51c..12b5fb80720 100644 --- a/service/proton/snapshot/api_op_CreateComponent.go.snap +++ b/service/proton/snapshot/api_op_CreateComponent.go.snap @@ -15,7 +15,6 @@ CreateComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_CreateEnvironment.go.snap b/service/proton/snapshot/api_op_CreateEnvironment.go.snap index b57bec0043d..04b7f27479d 100644 --- a/service/proton/snapshot/api_op_CreateEnvironment.go.snap +++ b/service/proton/snapshot/api_op_CreateEnvironment.go.snap @@ -14,7 +14,6 @@ CreateEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_CreateEnvironmentAccountConnection.go.snap b/service/proton/snapshot/api_op_CreateEnvironmentAccountConnection.go.snap index 602dd52e94e..81c71a6e008 100644 --- a/service/proton/snapshot/api_op_CreateEnvironmentAccountConnection.go.snap +++ b/service/proton/snapshot/api_op_CreateEnvironmentAccountConnection.go.snap @@ -15,7 +15,6 @@ CreateEnvironmentAccountConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_CreateEnvironmentTemplate.go.snap b/service/proton/snapshot/api_op_CreateEnvironmentTemplate.go.snap index ae5c0d1d7ca..56c8b357ced 100644 --- a/service/proton/snapshot/api_op_CreateEnvironmentTemplate.go.snap +++ b/service/proton/snapshot/api_op_CreateEnvironmentTemplate.go.snap @@ -14,7 +14,6 @@ CreateEnvironmentTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_CreateEnvironmentTemplateVersion.go.snap b/service/proton/snapshot/api_op_CreateEnvironmentTemplateVersion.go.snap index 6d31d4de851..83c6edae0ef 100644 --- a/service/proton/snapshot/api_op_CreateEnvironmentTemplateVersion.go.snap +++ b/service/proton/snapshot/api_op_CreateEnvironmentTemplateVersion.go.snap @@ -15,7 +15,6 @@ CreateEnvironmentTemplateVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_CreateRepository.go.snap b/service/proton/snapshot/api_op_CreateRepository.go.snap index 89c86dfaf56..6f61c5b4675 100644 --- a/service/proton/snapshot/api_op_CreateRepository.go.snap +++ b/service/proton/snapshot/api_op_CreateRepository.go.snap @@ -14,7 +14,6 @@ CreateRepository Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_CreateService.go.snap b/service/proton/snapshot/api_op_CreateService.go.snap index 5255cb082a9..538fa6b4f3b 100644 --- a/service/proton/snapshot/api_op_CreateService.go.snap +++ b/service/proton/snapshot/api_op_CreateService.go.snap @@ -14,7 +14,6 @@ CreateService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_CreateServiceInstance.go.snap b/service/proton/snapshot/api_op_CreateServiceInstance.go.snap index c7adcb93b98..59338019aa9 100644 --- a/service/proton/snapshot/api_op_CreateServiceInstance.go.snap +++ b/service/proton/snapshot/api_op_CreateServiceInstance.go.snap @@ -15,7 +15,6 @@ CreateServiceInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_CreateServiceSyncConfig.go.snap b/service/proton/snapshot/api_op_CreateServiceSyncConfig.go.snap index 4f5d87cf404..1b90caca5a7 100644 --- a/service/proton/snapshot/api_op_CreateServiceSyncConfig.go.snap +++ b/service/proton/snapshot/api_op_CreateServiceSyncConfig.go.snap @@ -14,7 +14,6 @@ CreateServiceSyncConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_CreateServiceTemplate.go.snap b/service/proton/snapshot/api_op_CreateServiceTemplate.go.snap index 04392bea5ba..c3d7a9c2aa3 100644 --- a/service/proton/snapshot/api_op_CreateServiceTemplate.go.snap +++ b/service/proton/snapshot/api_op_CreateServiceTemplate.go.snap @@ -14,7 +14,6 @@ CreateServiceTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_CreateServiceTemplateVersion.go.snap b/service/proton/snapshot/api_op_CreateServiceTemplateVersion.go.snap index 2aa8e09e7a3..abfb138223b 100644 --- a/service/proton/snapshot/api_op_CreateServiceTemplateVersion.go.snap +++ b/service/proton/snapshot/api_op_CreateServiceTemplateVersion.go.snap @@ -15,7 +15,6 @@ CreateServiceTemplateVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_CreateTemplateSyncConfig.go.snap b/service/proton/snapshot/api_op_CreateTemplateSyncConfig.go.snap index 52e9cc666fd..c44f13ce66d 100644 --- a/service/proton/snapshot/api_op_CreateTemplateSyncConfig.go.snap +++ b/service/proton/snapshot/api_op_CreateTemplateSyncConfig.go.snap @@ -14,7 +14,6 @@ CreateTemplateSyncConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_DeleteComponent.go.snap b/service/proton/snapshot/api_op_DeleteComponent.go.snap index 41afbb31f32..8511e11596a 100644 --- a/service/proton/snapshot/api_op_DeleteComponent.go.snap +++ b/service/proton/snapshot/api_op_DeleteComponent.go.snap @@ -14,7 +14,6 @@ DeleteComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_DeleteDeployment.go.snap b/service/proton/snapshot/api_op_DeleteDeployment.go.snap index e7a35d80b4f..964f6b772df 100644 --- a/service/proton/snapshot/api_op_DeleteDeployment.go.snap +++ b/service/proton/snapshot/api_op_DeleteDeployment.go.snap @@ -14,7 +14,6 @@ DeleteDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_DeleteEnvironment.go.snap b/service/proton/snapshot/api_op_DeleteEnvironment.go.snap index c799f299d43..b7abf2a0643 100644 --- a/service/proton/snapshot/api_op_DeleteEnvironment.go.snap +++ b/service/proton/snapshot/api_op_DeleteEnvironment.go.snap @@ -14,7 +14,6 @@ DeleteEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_DeleteEnvironmentAccountConnection.go.snap b/service/proton/snapshot/api_op_DeleteEnvironmentAccountConnection.go.snap index 442d98a1d01..f5b698e2c34 100644 --- a/service/proton/snapshot/api_op_DeleteEnvironmentAccountConnection.go.snap +++ b/service/proton/snapshot/api_op_DeleteEnvironmentAccountConnection.go.snap @@ -14,7 +14,6 @@ DeleteEnvironmentAccountConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_DeleteEnvironmentTemplate.go.snap b/service/proton/snapshot/api_op_DeleteEnvironmentTemplate.go.snap index 17aa1e5fc32..dc5148bf548 100644 --- a/service/proton/snapshot/api_op_DeleteEnvironmentTemplate.go.snap +++ b/service/proton/snapshot/api_op_DeleteEnvironmentTemplate.go.snap @@ -14,7 +14,6 @@ DeleteEnvironmentTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_DeleteEnvironmentTemplateVersion.go.snap b/service/proton/snapshot/api_op_DeleteEnvironmentTemplateVersion.go.snap index d3a05dd8588..34ea4e69d75 100644 --- a/service/proton/snapshot/api_op_DeleteEnvironmentTemplateVersion.go.snap +++ b/service/proton/snapshot/api_op_DeleteEnvironmentTemplateVersion.go.snap @@ -14,7 +14,6 @@ DeleteEnvironmentTemplateVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_DeleteRepository.go.snap b/service/proton/snapshot/api_op_DeleteRepository.go.snap index f94a590e30e..9a621bc6069 100644 --- a/service/proton/snapshot/api_op_DeleteRepository.go.snap +++ b/service/proton/snapshot/api_op_DeleteRepository.go.snap @@ -14,7 +14,6 @@ DeleteRepository Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_DeleteService.go.snap b/service/proton/snapshot/api_op_DeleteService.go.snap index 0ca8d33ca7c..b57f6142373 100644 --- a/service/proton/snapshot/api_op_DeleteService.go.snap +++ b/service/proton/snapshot/api_op_DeleteService.go.snap @@ -14,7 +14,6 @@ DeleteService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_DeleteServiceSyncConfig.go.snap b/service/proton/snapshot/api_op_DeleteServiceSyncConfig.go.snap index 6dddd8c2de1..e502c02f0dc 100644 --- a/service/proton/snapshot/api_op_DeleteServiceSyncConfig.go.snap +++ b/service/proton/snapshot/api_op_DeleteServiceSyncConfig.go.snap @@ -14,7 +14,6 @@ DeleteServiceSyncConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_DeleteServiceTemplate.go.snap b/service/proton/snapshot/api_op_DeleteServiceTemplate.go.snap index 4be16f49b4e..f1b8d40a4d3 100644 --- a/service/proton/snapshot/api_op_DeleteServiceTemplate.go.snap +++ b/service/proton/snapshot/api_op_DeleteServiceTemplate.go.snap @@ -14,7 +14,6 @@ DeleteServiceTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_DeleteServiceTemplateVersion.go.snap b/service/proton/snapshot/api_op_DeleteServiceTemplateVersion.go.snap index a84bcb41ed8..89b1d8939c9 100644 --- a/service/proton/snapshot/api_op_DeleteServiceTemplateVersion.go.snap +++ b/service/proton/snapshot/api_op_DeleteServiceTemplateVersion.go.snap @@ -14,7 +14,6 @@ DeleteServiceTemplateVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_DeleteTemplateSyncConfig.go.snap b/service/proton/snapshot/api_op_DeleteTemplateSyncConfig.go.snap index 7715608c176..cd93dfb1aa2 100644 --- a/service/proton/snapshot/api_op_DeleteTemplateSyncConfig.go.snap +++ b/service/proton/snapshot/api_op_DeleteTemplateSyncConfig.go.snap @@ -14,7 +14,6 @@ DeleteTemplateSyncConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_GetAccountSettings.go.snap b/service/proton/snapshot/api_op_GetAccountSettings.go.snap index 95499ead228..57ca9f6cbf4 100644 --- a/service/proton/snapshot/api_op_GetAccountSettings.go.snap +++ b/service/proton/snapshot/api_op_GetAccountSettings.go.snap @@ -13,7 +13,6 @@ GetAccountSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_GetComponent.go.snap b/service/proton/snapshot/api_op_GetComponent.go.snap index 5768daf3ae8..680830a7f4d 100644 --- a/service/proton/snapshot/api_op_GetComponent.go.snap +++ b/service/proton/snapshot/api_op_GetComponent.go.snap @@ -14,7 +14,6 @@ GetComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_GetDeployment.go.snap b/service/proton/snapshot/api_op_GetDeployment.go.snap index 65b4d552af7..7f1504a336c 100644 --- a/service/proton/snapshot/api_op_GetDeployment.go.snap +++ b/service/proton/snapshot/api_op_GetDeployment.go.snap @@ -14,7 +14,6 @@ GetDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_GetEnvironment.go.snap b/service/proton/snapshot/api_op_GetEnvironment.go.snap index 6f558393d06..9485ee9410e 100644 --- a/service/proton/snapshot/api_op_GetEnvironment.go.snap +++ b/service/proton/snapshot/api_op_GetEnvironment.go.snap @@ -14,7 +14,6 @@ GetEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_GetEnvironmentAccountConnection.go.snap b/service/proton/snapshot/api_op_GetEnvironmentAccountConnection.go.snap index b39ad4f7a85..e24b7a6217d 100644 --- a/service/proton/snapshot/api_op_GetEnvironmentAccountConnection.go.snap +++ b/service/proton/snapshot/api_op_GetEnvironmentAccountConnection.go.snap @@ -14,7 +14,6 @@ GetEnvironmentAccountConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_GetEnvironmentTemplate.go.snap b/service/proton/snapshot/api_op_GetEnvironmentTemplate.go.snap index 34be643bba3..8f85c9ab127 100644 --- a/service/proton/snapshot/api_op_GetEnvironmentTemplate.go.snap +++ b/service/proton/snapshot/api_op_GetEnvironmentTemplate.go.snap @@ -14,7 +14,6 @@ GetEnvironmentTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_GetEnvironmentTemplateVersion.go.snap b/service/proton/snapshot/api_op_GetEnvironmentTemplateVersion.go.snap index 33a2bd0403a..5d93d3d5457 100644 --- a/service/proton/snapshot/api_op_GetEnvironmentTemplateVersion.go.snap +++ b/service/proton/snapshot/api_op_GetEnvironmentTemplateVersion.go.snap @@ -14,7 +14,6 @@ GetEnvironmentTemplateVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_GetRepository.go.snap b/service/proton/snapshot/api_op_GetRepository.go.snap index 2472b69cd56..c220af68fc5 100644 --- a/service/proton/snapshot/api_op_GetRepository.go.snap +++ b/service/proton/snapshot/api_op_GetRepository.go.snap @@ -14,7 +14,6 @@ GetRepository Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_GetRepositorySyncStatus.go.snap b/service/proton/snapshot/api_op_GetRepositorySyncStatus.go.snap index c6e829428bc..7425cb26ebe 100644 --- a/service/proton/snapshot/api_op_GetRepositorySyncStatus.go.snap +++ b/service/proton/snapshot/api_op_GetRepositorySyncStatus.go.snap @@ -14,7 +14,6 @@ GetRepositorySyncStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_GetResourcesSummary.go.snap b/service/proton/snapshot/api_op_GetResourcesSummary.go.snap index 89777da6300..9a479cd2006 100644 --- a/service/proton/snapshot/api_op_GetResourcesSummary.go.snap +++ b/service/proton/snapshot/api_op_GetResourcesSummary.go.snap @@ -13,7 +13,6 @@ GetResourcesSummary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_GetService.go.snap b/service/proton/snapshot/api_op_GetService.go.snap index c5e405f61cb..aad7d0d939e 100644 --- a/service/proton/snapshot/api_op_GetService.go.snap +++ b/service/proton/snapshot/api_op_GetService.go.snap @@ -14,7 +14,6 @@ GetService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_GetServiceInstance.go.snap b/service/proton/snapshot/api_op_GetServiceInstance.go.snap index a4833790804..d059b35b396 100644 --- a/service/proton/snapshot/api_op_GetServiceInstance.go.snap +++ b/service/proton/snapshot/api_op_GetServiceInstance.go.snap @@ -14,7 +14,6 @@ GetServiceInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_GetServiceInstanceSyncStatus.go.snap b/service/proton/snapshot/api_op_GetServiceInstanceSyncStatus.go.snap index 47252a89cc2..576ba107545 100644 --- a/service/proton/snapshot/api_op_GetServiceInstanceSyncStatus.go.snap +++ b/service/proton/snapshot/api_op_GetServiceInstanceSyncStatus.go.snap @@ -14,7 +14,6 @@ GetServiceInstanceSyncStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_GetServiceSyncBlockerSummary.go.snap b/service/proton/snapshot/api_op_GetServiceSyncBlockerSummary.go.snap index c42a54b056e..db21a48d8c0 100644 --- a/service/proton/snapshot/api_op_GetServiceSyncBlockerSummary.go.snap +++ b/service/proton/snapshot/api_op_GetServiceSyncBlockerSummary.go.snap @@ -14,7 +14,6 @@ GetServiceSyncBlockerSummary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_GetServiceSyncConfig.go.snap b/service/proton/snapshot/api_op_GetServiceSyncConfig.go.snap index 090ece52ba8..20d3bf14a00 100644 --- a/service/proton/snapshot/api_op_GetServiceSyncConfig.go.snap +++ b/service/proton/snapshot/api_op_GetServiceSyncConfig.go.snap @@ -14,7 +14,6 @@ GetServiceSyncConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_GetServiceTemplate.go.snap b/service/proton/snapshot/api_op_GetServiceTemplate.go.snap index 38026b49816..557ec379ca1 100644 --- a/service/proton/snapshot/api_op_GetServiceTemplate.go.snap +++ b/service/proton/snapshot/api_op_GetServiceTemplate.go.snap @@ -14,7 +14,6 @@ GetServiceTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_GetServiceTemplateVersion.go.snap b/service/proton/snapshot/api_op_GetServiceTemplateVersion.go.snap index e06e627ec3a..857f7ad18ee 100644 --- a/service/proton/snapshot/api_op_GetServiceTemplateVersion.go.snap +++ b/service/proton/snapshot/api_op_GetServiceTemplateVersion.go.snap @@ -14,7 +14,6 @@ GetServiceTemplateVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_GetTemplateSyncConfig.go.snap b/service/proton/snapshot/api_op_GetTemplateSyncConfig.go.snap index 766f9e6303a..a340399b2e4 100644 --- a/service/proton/snapshot/api_op_GetTemplateSyncConfig.go.snap +++ b/service/proton/snapshot/api_op_GetTemplateSyncConfig.go.snap @@ -14,7 +14,6 @@ GetTemplateSyncConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_GetTemplateSyncStatus.go.snap b/service/proton/snapshot/api_op_GetTemplateSyncStatus.go.snap index cee6bd93129..84b33d81f48 100644 --- a/service/proton/snapshot/api_op_GetTemplateSyncStatus.go.snap +++ b/service/proton/snapshot/api_op_GetTemplateSyncStatus.go.snap @@ -14,7 +14,6 @@ GetTemplateSyncStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_ListComponentOutputs.go.snap b/service/proton/snapshot/api_op_ListComponentOutputs.go.snap index 0942ad588eb..85975e79aa6 100644 --- a/service/proton/snapshot/api_op_ListComponentOutputs.go.snap +++ b/service/proton/snapshot/api_op_ListComponentOutputs.go.snap @@ -14,7 +14,6 @@ ListComponentOutputs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_ListComponentProvisionedResources.go.snap b/service/proton/snapshot/api_op_ListComponentProvisionedResources.go.snap index bb486eb502a..415451d82a4 100644 --- a/service/proton/snapshot/api_op_ListComponentProvisionedResources.go.snap +++ b/service/proton/snapshot/api_op_ListComponentProvisionedResources.go.snap @@ -14,7 +14,6 @@ ListComponentProvisionedResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_ListComponents.go.snap b/service/proton/snapshot/api_op_ListComponents.go.snap index 53b6f454dde..2e97dba2ec7 100644 --- a/service/proton/snapshot/api_op_ListComponents.go.snap +++ b/service/proton/snapshot/api_op_ListComponents.go.snap @@ -13,7 +13,6 @@ ListComponents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_ListDeployments.go.snap b/service/proton/snapshot/api_op_ListDeployments.go.snap index 87731027850..ac65f925362 100644 --- a/service/proton/snapshot/api_op_ListDeployments.go.snap +++ b/service/proton/snapshot/api_op_ListDeployments.go.snap @@ -13,7 +13,6 @@ ListDeployments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_ListEnvironmentAccountConnections.go.snap b/service/proton/snapshot/api_op_ListEnvironmentAccountConnections.go.snap index fc73b03cbd9..5a739f85637 100644 --- a/service/proton/snapshot/api_op_ListEnvironmentAccountConnections.go.snap +++ b/service/proton/snapshot/api_op_ListEnvironmentAccountConnections.go.snap @@ -14,7 +14,6 @@ ListEnvironmentAccountConnections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_ListEnvironmentOutputs.go.snap b/service/proton/snapshot/api_op_ListEnvironmentOutputs.go.snap index ecaf58585a8..cc24040a9fb 100644 --- a/service/proton/snapshot/api_op_ListEnvironmentOutputs.go.snap +++ b/service/proton/snapshot/api_op_ListEnvironmentOutputs.go.snap @@ -14,7 +14,6 @@ ListEnvironmentOutputs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_ListEnvironmentProvisionedResources.go.snap b/service/proton/snapshot/api_op_ListEnvironmentProvisionedResources.go.snap index c46cf8db000..1fffbd73371 100644 --- a/service/proton/snapshot/api_op_ListEnvironmentProvisionedResources.go.snap +++ b/service/proton/snapshot/api_op_ListEnvironmentProvisionedResources.go.snap @@ -14,7 +14,6 @@ ListEnvironmentProvisionedResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_ListEnvironmentTemplateVersions.go.snap b/service/proton/snapshot/api_op_ListEnvironmentTemplateVersions.go.snap index ed2c722057f..a5e699d5567 100644 --- a/service/proton/snapshot/api_op_ListEnvironmentTemplateVersions.go.snap +++ b/service/proton/snapshot/api_op_ListEnvironmentTemplateVersions.go.snap @@ -14,7 +14,6 @@ ListEnvironmentTemplateVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_ListEnvironmentTemplates.go.snap b/service/proton/snapshot/api_op_ListEnvironmentTemplates.go.snap index d991308b137..ac2faa66ed7 100644 --- a/service/proton/snapshot/api_op_ListEnvironmentTemplates.go.snap +++ b/service/proton/snapshot/api_op_ListEnvironmentTemplates.go.snap @@ -13,7 +13,6 @@ ListEnvironmentTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_ListEnvironments.go.snap b/service/proton/snapshot/api_op_ListEnvironments.go.snap index 7c237cc1cdf..1bf27beef05 100644 --- a/service/proton/snapshot/api_op_ListEnvironments.go.snap +++ b/service/proton/snapshot/api_op_ListEnvironments.go.snap @@ -14,7 +14,6 @@ ListEnvironments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_ListRepositories.go.snap b/service/proton/snapshot/api_op_ListRepositories.go.snap index f1cf42911a4..8e9de194287 100644 --- a/service/proton/snapshot/api_op_ListRepositories.go.snap +++ b/service/proton/snapshot/api_op_ListRepositories.go.snap @@ -13,7 +13,6 @@ ListRepositories Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_ListRepositorySyncDefinitions.go.snap b/service/proton/snapshot/api_op_ListRepositorySyncDefinitions.go.snap index e4b70f12b93..54f91041c59 100644 --- a/service/proton/snapshot/api_op_ListRepositorySyncDefinitions.go.snap +++ b/service/proton/snapshot/api_op_ListRepositorySyncDefinitions.go.snap @@ -14,7 +14,6 @@ ListRepositorySyncDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_ListServiceInstanceOutputs.go.snap b/service/proton/snapshot/api_op_ListServiceInstanceOutputs.go.snap index 982510f51fd..da5ddef49ca 100644 --- a/service/proton/snapshot/api_op_ListServiceInstanceOutputs.go.snap +++ b/service/proton/snapshot/api_op_ListServiceInstanceOutputs.go.snap @@ -14,7 +14,6 @@ ListServiceInstanceOutputs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_ListServiceInstanceProvisionedResources.go.snap b/service/proton/snapshot/api_op_ListServiceInstanceProvisionedResources.go.snap index db7ac36c1a6..c64701f0d9e 100644 --- a/service/proton/snapshot/api_op_ListServiceInstanceProvisionedResources.go.snap +++ b/service/proton/snapshot/api_op_ListServiceInstanceProvisionedResources.go.snap @@ -14,7 +14,6 @@ ListServiceInstanceProvisionedResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_ListServiceInstances.go.snap b/service/proton/snapshot/api_op_ListServiceInstances.go.snap index 39719a6c82e..232b199f0ed 100644 --- a/service/proton/snapshot/api_op_ListServiceInstances.go.snap +++ b/service/proton/snapshot/api_op_ListServiceInstances.go.snap @@ -13,7 +13,6 @@ ListServiceInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_ListServicePipelineOutputs.go.snap b/service/proton/snapshot/api_op_ListServicePipelineOutputs.go.snap index 316bdec50f7..83eb7d8834a 100644 --- a/service/proton/snapshot/api_op_ListServicePipelineOutputs.go.snap +++ b/service/proton/snapshot/api_op_ListServicePipelineOutputs.go.snap @@ -14,7 +14,6 @@ ListServicePipelineOutputs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_ListServicePipelineProvisionedResources.go.snap b/service/proton/snapshot/api_op_ListServicePipelineProvisionedResources.go.snap index b5fa1a70c09..39f4f2e2646 100644 --- a/service/proton/snapshot/api_op_ListServicePipelineProvisionedResources.go.snap +++ b/service/proton/snapshot/api_op_ListServicePipelineProvisionedResources.go.snap @@ -14,7 +14,6 @@ ListServicePipelineProvisionedResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_ListServiceTemplateVersions.go.snap b/service/proton/snapshot/api_op_ListServiceTemplateVersions.go.snap index 8f9e1e35dc0..f9bc4f52b77 100644 --- a/service/proton/snapshot/api_op_ListServiceTemplateVersions.go.snap +++ b/service/proton/snapshot/api_op_ListServiceTemplateVersions.go.snap @@ -14,7 +14,6 @@ ListServiceTemplateVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_ListServiceTemplates.go.snap b/service/proton/snapshot/api_op_ListServiceTemplates.go.snap index e05f1b1d7a1..5c041603380 100644 --- a/service/proton/snapshot/api_op_ListServiceTemplates.go.snap +++ b/service/proton/snapshot/api_op_ListServiceTemplates.go.snap @@ -13,7 +13,6 @@ ListServiceTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_ListServices.go.snap b/service/proton/snapshot/api_op_ListServices.go.snap index 6f09c01d3f4..3cc1a93f1f2 100644 --- a/service/proton/snapshot/api_op_ListServices.go.snap +++ b/service/proton/snapshot/api_op_ListServices.go.snap @@ -13,7 +13,6 @@ ListServices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_ListTagsForResource.go.snap b/service/proton/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/proton/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/proton/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_NotifyResourceDeploymentStatusChange.go.snap b/service/proton/snapshot/api_op_NotifyResourceDeploymentStatusChange.go.snap index 4950a02a7b7..6c6148700dd 100644 --- a/service/proton/snapshot/api_op_NotifyResourceDeploymentStatusChange.go.snap +++ b/service/proton/snapshot/api_op_NotifyResourceDeploymentStatusChange.go.snap @@ -14,7 +14,6 @@ NotifyResourceDeploymentStatusChange Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_RejectEnvironmentAccountConnection.go.snap b/service/proton/snapshot/api_op_RejectEnvironmentAccountConnection.go.snap index d8a6d327adb..6797c4abecd 100644 --- a/service/proton/snapshot/api_op_RejectEnvironmentAccountConnection.go.snap +++ b/service/proton/snapshot/api_op_RejectEnvironmentAccountConnection.go.snap @@ -14,7 +14,6 @@ RejectEnvironmentAccountConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_TagResource.go.snap b/service/proton/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/proton/snapshot/api_op_TagResource.go.snap +++ b/service/proton/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_UntagResource.go.snap b/service/proton/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/proton/snapshot/api_op_UntagResource.go.snap +++ b/service/proton/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_UpdateAccountSettings.go.snap b/service/proton/snapshot/api_op_UpdateAccountSettings.go.snap index d69f82cf445..0768f34df66 100644 --- a/service/proton/snapshot/api_op_UpdateAccountSettings.go.snap +++ b/service/proton/snapshot/api_op_UpdateAccountSettings.go.snap @@ -14,7 +14,6 @@ UpdateAccountSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_UpdateComponent.go.snap b/service/proton/snapshot/api_op_UpdateComponent.go.snap index 6e7a97ae4c8..3f72526e908 100644 --- a/service/proton/snapshot/api_op_UpdateComponent.go.snap +++ b/service/proton/snapshot/api_op_UpdateComponent.go.snap @@ -15,7 +15,6 @@ UpdateComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_UpdateEnvironment.go.snap b/service/proton/snapshot/api_op_UpdateEnvironment.go.snap index 239e2fa41bc..abe9dc8e4d3 100644 --- a/service/proton/snapshot/api_op_UpdateEnvironment.go.snap +++ b/service/proton/snapshot/api_op_UpdateEnvironment.go.snap @@ -14,7 +14,6 @@ UpdateEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_UpdateEnvironmentAccountConnection.go.snap b/service/proton/snapshot/api_op_UpdateEnvironmentAccountConnection.go.snap index e0cf6bd3323..fc3c6c6ac5b 100644 --- a/service/proton/snapshot/api_op_UpdateEnvironmentAccountConnection.go.snap +++ b/service/proton/snapshot/api_op_UpdateEnvironmentAccountConnection.go.snap @@ -14,7 +14,6 @@ UpdateEnvironmentAccountConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_UpdateEnvironmentTemplate.go.snap b/service/proton/snapshot/api_op_UpdateEnvironmentTemplate.go.snap index 6811408ff9f..fb11777fac9 100644 --- a/service/proton/snapshot/api_op_UpdateEnvironmentTemplate.go.snap +++ b/service/proton/snapshot/api_op_UpdateEnvironmentTemplate.go.snap @@ -14,7 +14,6 @@ UpdateEnvironmentTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_UpdateEnvironmentTemplateVersion.go.snap b/service/proton/snapshot/api_op_UpdateEnvironmentTemplateVersion.go.snap index c1a12398b01..23e1b9f3691 100644 --- a/service/proton/snapshot/api_op_UpdateEnvironmentTemplateVersion.go.snap +++ b/service/proton/snapshot/api_op_UpdateEnvironmentTemplateVersion.go.snap @@ -14,7 +14,6 @@ UpdateEnvironmentTemplateVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_UpdateService.go.snap b/service/proton/snapshot/api_op_UpdateService.go.snap index 813a9e72802..bf0abbe4b1a 100644 --- a/service/proton/snapshot/api_op_UpdateService.go.snap +++ b/service/proton/snapshot/api_op_UpdateService.go.snap @@ -14,7 +14,6 @@ UpdateService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_UpdateServiceInstance.go.snap b/service/proton/snapshot/api_op_UpdateServiceInstance.go.snap index 68d9b9db8fd..3bf25daa6ba 100644 --- a/service/proton/snapshot/api_op_UpdateServiceInstance.go.snap +++ b/service/proton/snapshot/api_op_UpdateServiceInstance.go.snap @@ -15,7 +15,6 @@ UpdateServiceInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_UpdateServicePipeline.go.snap b/service/proton/snapshot/api_op_UpdateServicePipeline.go.snap index 4defd9fd95c..a5ec58b8c8d 100644 --- a/service/proton/snapshot/api_op_UpdateServicePipeline.go.snap +++ b/service/proton/snapshot/api_op_UpdateServicePipeline.go.snap @@ -14,7 +14,6 @@ UpdateServicePipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_UpdateServiceSyncBlocker.go.snap b/service/proton/snapshot/api_op_UpdateServiceSyncBlocker.go.snap index 9b306fb0961..cb8615ca44c 100644 --- a/service/proton/snapshot/api_op_UpdateServiceSyncBlocker.go.snap +++ b/service/proton/snapshot/api_op_UpdateServiceSyncBlocker.go.snap @@ -14,7 +14,6 @@ UpdateServiceSyncBlocker Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_UpdateServiceSyncConfig.go.snap b/service/proton/snapshot/api_op_UpdateServiceSyncConfig.go.snap index 6f2e7422015..9021a6ec9df 100644 --- a/service/proton/snapshot/api_op_UpdateServiceSyncConfig.go.snap +++ b/service/proton/snapshot/api_op_UpdateServiceSyncConfig.go.snap @@ -14,7 +14,6 @@ UpdateServiceSyncConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_UpdateServiceTemplate.go.snap b/service/proton/snapshot/api_op_UpdateServiceTemplate.go.snap index 91816b39b7e..2ebda352581 100644 --- a/service/proton/snapshot/api_op_UpdateServiceTemplate.go.snap +++ b/service/proton/snapshot/api_op_UpdateServiceTemplate.go.snap @@ -14,7 +14,6 @@ UpdateServiceTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_UpdateServiceTemplateVersion.go.snap b/service/proton/snapshot/api_op_UpdateServiceTemplateVersion.go.snap index 6bd32e69cdf..f1e2fb2b87c 100644 --- a/service/proton/snapshot/api_op_UpdateServiceTemplateVersion.go.snap +++ b/service/proton/snapshot/api_op_UpdateServiceTemplateVersion.go.snap @@ -14,7 +14,6 @@ UpdateServiceTemplateVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/proton/snapshot/api_op_UpdateTemplateSyncConfig.go.snap b/service/proton/snapshot/api_op_UpdateTemplateSyncConfig.go.snap index 290c0791fea..3efaa9194aa 100644 --- a/service/proton/snapshot/api_op_UpdateTemplateSyncConfig.go.snap +++ b/service/proton/snapshot/api_op_UpdateTemplateSyncConfig.go.snap @@ -14,7 +14,6 @@ UpdateTemplateSyncConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/api_client.go b/service/qapps/api_client.go index aee6f1a9d10..e5ca6ead19a 100644 --- a/service/qapps/api_client.go +++ b/service/qapps/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/qapps/api_op_AssociateLibraryItemReview.go b/service/qapps/api_op_AssociateLibraryItemReview.go index 55d6aefd95d..683153df955 100644 --- a/service/qapps/api_op_AssociateLibraryItemReview.go +++ b/service/qapps/api_op_AssociateLibraryItemReview.go @@ -114,9 +114,6 @@ func (c *Client) addOperationAssociateLibraryItemReviewMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateLibraryItemReviewValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_AssociateQAppWithUser.go b/service/qapps/api_op_AssociateQAppWithUser.go index fcb7464a9ca..3bd5fbbe676 100644 --- a/service/qapps/api_op_AssociateQAppWithUser.go +++ b/service/qapps/api_op_AssociateQAppWithUser.go @@ -115,9 +115,6 @@ func (c *Client) addOperationAssociateQAppWithUserMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateQAppWithUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_BatchCreateCategory.go b/service/qapps/api_op_BatchCreateCategory.go index fe575862265..ce3bba7ba49 100644 --- a/service/qapps/api_op_BatchCreateCategory.go +++ b/service/qapps/api_op_BatchCreateCategory.go @@ -117,9 +117,6 @@ func (c *Client) addOperationBatchCreateCategoryMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchCreateCategoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_BatchDeleteCategory.go b/service/qapps/api_op_BatchDeleteCategory.go index 52526c93d22..83a8f3ddb04 100644 --- a/service/qapps/api_op_BatchDeleteCategory.go +++ b/service/qapps/api_op_BatchDeleteCategory.go @@ -116,9 +116,6 @@ func (c *Client) addOperationBatchDeleteCategoryMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDeleteCategoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_BatchUpdateCategory.go b/service/qapps/api_op_BatchUpdateCategory.go index d057ae044e4..01b9917b33f 100644 --- a/service/qapps/api_op_BatchUpdateCategory.go +++ b/service/qapps/api_op_BatchUpdateCategory.go @@ -117,9 +117,6 @@ func (c *Client) addOperationBatchUpdateCategoryMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchUpdateCategoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_CreateLibraryItem.go b/service/qapps/api_op_CreateLibraryItem.go index 40c84353798..646c987d717 100644 --- a/service/qapps/api_op_CreateLibraryItem.go +++ b/service/qapps/api_op_CreateLibraryItem.go @@ -159,9 +159,6 @@ func (c *Client) addOperationCreateLibraryItemMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLibraryItemValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_CreatePresignedUrl.go b/service/qapps/api_op_CreatePresignedUrl.go index d2ed89c5c82..d9e3fde1aac 100644 --- a/service/qapps/api_op_CreatePresignedUrl.go +++ b/service/qapps/api_op_CreatePresignedUrl.go @@ -164,9 +164,6 @@ func (c *Client) addOperationCreatePresignedUrlMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePresignedUrlValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_CreateQApp.go b/service/qapps/api_op_CreateQApp.go index bc5b6f7207f..9735fa9109e 100644 --- a/service/qapps/api_op_CreateQApp.go +++ b/service/qapps/api_op_CreateQApp.go @@ -184,9 +184,6 @@ func (c *Client) addOperationCreateQAppMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateQAppValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_DeleteLibraryItem.go b/service/qapps/api_op_DeleteLibraryItem.go index d9dbe1f1cdd..e076d6b39ef 100644 --- a/service/qapps/api_op_DeleteLibraryItem.go +++ b/service/qapps/api_op_DeleteLibraryItem.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteLibraryItemMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLibraryItemValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_DeleteQApp.go b/service/qapps/api_op_DeleteQApp.go index e31b0afae87..fd229465ca6 100644 --- a/service/qapps/api_op_DeleteQApp.go +++ b/service/qapps/api_op_DeleteQApp.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteQAppMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteQAppValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_DescribeQAppPermissions.go b/service/qapps/api_op_DescribeQAppPermissions.go index 838d237220c..6687f6e2b27 100644 --- a/service/qapps/api_op_DescribeQAppPermissions.go +++ b/service/qapps/api_op_DescribeQAppPermissions.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeQAppPermissionsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeQAppPermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_DisassociateLibraryItemReview.go b/service/qapps/api_op_DisassociateLibraryItemReview.go index d156b58370c..c35697b50dd 100644 --- a/service/qapps/api_op_DisassociateLibraryItemReview.go +++ b/service/qapps/api_op_DisassociateLibraryItemReview.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDisassociateLibraryItemReviewMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateLibraryItemReviewValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_DisassociateQAppFromUser.go b/service/qapps/api_op_DisassociateQAppFromUser.go index 2a250e10af0..ec5dfd700fc 100644 --- a/service/qapps/api_op_DisassociateQAppFromUser.go +++ b/service/qapps/api_op_DisassociateQAppFromUser.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDisassociateQAppFromUserMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateQAppFromUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_ExportQAppSessionData.go b/service/qapps/api_op_ExportQAppSessionData.go index d8ac1cc9e4c..a1d1789cae6 100644 --- a/service/qapps/api_op_ExportQAppSessionData.go +++ b/service/qapps/api_op_ExportQAppSessionData.go @@ -129,9 +129,6 @@ func (c *Client) addOperationExportQAppSessionDataMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExportQAppSessionDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_GetLibraryItem.go b/service/qapps/api_op_GetLibraryItem.go index 75ea9281af1..eab07f786c1 100644 --- a/service/qapps/api_op_GetLibraryItem.go +++ b/service/qapps/api_op_GetLibraryItem.go @@ -174,9 +174,6 @@ func (c *Client) addOperationGetLibraryItemMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLibraryItemValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_GetQApp.go b/service/qapps/api_op_GetQApp.go index a1aa83b08e1..5153d7e23eb 100644 --- a/service/qapps/api_op_GetQApp.go +++ b/service/qapps/api_op_GetQApp.go @@ -179,9 +179,6 @@ func (c *Client) addOperationGetQAppMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetQAppValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_GetQAppSession.go b/service/qapps/api_op_GetQAppSession.go index 3a1b9fb2101..1d691828a14 100644 --- a/service/qapps/api_op_GetQAppSession.go +++ b/service/qapps/api_op_GetQAppSession.go @@ -148,9 +148,6 @@ func (c *Client) addOperationGetQAppSessionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetQAppSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_GetQAppSessionMetadata.go b/service/qapps/api_op_GetQAppSessionMetadata.go index 7cdecd4c4f5..eeca4b650b6 100644 --- a/service/qapps/api_op_GetQAppSessionMetadata.go +++ b/service/qapps/api_op_GetQAppSessionMetadata.go @@ -135,9 +135,6 @@ func (c *Client) addOperationGetQAppSessionMetadataMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetQAppSessionMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_ImportDocument.go b/service/qapps/api_op_ImportDocument.go index 75099d60794..38edd98958a 100644 --- a/service/qapps/api_op_ImportDocument.go +++ b/service/qapps/api_op_ImportDocument.go @@ -145,9 +145,6 @@ func (c *Client) addOperationImportDocumentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportDocumentValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_ListCategories.go b/service/qapps/api_op_ListCategories.go index 37bac8b8dac..95586ec588c 100644 --- a/service/qapps/api_op_ListCategories.go +++ b/service/qapps/api_op_ListCategories.go @@ -115,9 +115,6 @@ func (c *Client) addOperationListCategoriesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCategoriesValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_ListLibraryItems.go b/service/qapps/api_op_ListLibraryItems.go index 83e81b9ac3e..5a4a7fe9250 100644 --- a/service/qapps/api_op_ListLibraryItems.go +++ b/service/qapps/api_op_ListLibraryItems.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListLibraryItemsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListLibraryItemsValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_ListQAppSessionData.go b/service/qapps/api_op_ListQAppSessionData.go index dfdaca0ab43..0a93dccb185 100644 --- a/service/qapps/api_op_ListQAppSessionData.go +++ b/service/qapps/api_op_ListQAppSessionData.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListQAppSessionDataMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListQAppSessionDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_ListQApps.go b/service/qapps/api_op_ListQApps.go index 57a62fde565..6ebc08c9dad 100644 --- a/service/qapps/api_op_ListQApps.go +++ b/service/qapps/api_op_ListQApps.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListQAppsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListQAppsValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_ListTagsForResource.go b/service/qapps/api_op_ListTagsForResource.go index 1c46c76f7f2..5bdaa2a6bf8 100644 --- a/service/qapps/api_op_ListTagsForResource.go +++ b/service/qapps/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_PredictQApp.go b/service/qapps/api_op_PredictQApp.go index edda5fad536..2e995976caf 100644 --- a/service/qapps/api_op_PredictQApp.go +++ b/service/qapps/api_op_PredictQApp.go @@ -125,9 +125,6 @@ func (c *Client) addOperationPredictQAppMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPredictQAppValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_StartQAppSession.go b/service/qapps/api_op_StartQAppSession.go index e05461632d6..3cb9eb3bd63 100644 --- a/service/qapps/api_op_StartQAppSession.go +++ b/service/qapps/api_op_StartQAppSession.go @@ -142,9 +142,6 @@ func (c *Client) addOperationStartQAppSessionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartQAppSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_StopQAppSession.go b/service/qapps/api_op_StopQAppSession.go index 2f164e48c66..e688ab1cf59 100644 --- a/service/qapps/api_op_StopQAppSession.go +++ b/service/qapps/api_op_StopQAppSession.go @@ -114,9 +114,6 @@ func (c *Client) addOperationStopQAppSessionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopQAppSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_TagResource.go b/service/qapps/api_op_TagResource.go index cfcbd1eca4a..df856531d9f 100644 --- a/service/qapps/api_op_TagResource.go +++ b/service/qapps/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_UntagResource.go b/service/qapps/api_op_UntagResource.go index 658a46bf754..5a3ed8d31a9 100644 --- a/service/qapps/api_op_UntagResource.go +++ b/service/qapps/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_UpdateLibraryItem.go b/service/qapps/api_op_UpdateLibraryItem.go index 9a778ab206a..4d12538c9a8 100644 --- a/service/qapps/api_op_UpdateLibraryItem.go +++ b/service/qapps/api_op_UpdateLibraryItem.go @@ -176,9 +176,6 @@ func (c *Client) addOperationUpdateLibraryItemMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLibraryItemValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_UpdateLibraryItemMetadata.go b/service/qapps/api_op_UpdateLibraryItemMetadata.go index a539acdf10f..2d5186f8c1a 100644 --- a/service/qapps/api_op_UpdateLibraryItemMetadata.go +++ b/service/qapps/api_op_UpdateLibraryItemMetadata.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUpdateLibraryItemMetadataMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLibraryItemMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_UpdateQApp.go b/service/qapps/api_op_UpdateQApp.go index 9317f796bd0..f41661babbe 100644 --- a/service/qapps/api_op_UpdateQApp.go +++ b/service/qapps/api_op_UpdateQApp.go @@ -179,9 +179,6 @@ func (c *Client) addOperationUpdateQAppMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateQAppValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_UpdateQAppPermissions.go b/service/qapps/api_op_UpdateQAppPermissions.go index 14ceb2c68ff..8ba7222c993 100644 --- a/service/qapps/api_op_UpdateQAppPermissions.go +++ b/service/qapps/api_op_UpdateQAppPermissions.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdateQAppPermissionsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateQAppPermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_UpdateQAppSession.go b/service/qapps/api_op_UpdateQAppSession.go index 02c62e2487a..d42f66c9649 100644 --- a/service/qapps/api_op_UpdateQAppSession.go +++ b/service/qapps/api_op_UpdateQAppSession.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateQAppSessionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateQAppSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/api_op_UpdateQAppSessionMetadata.go b/service/qapps/api_op_UpdateQAppSessionMetadata.go index 1e1d36ac578..6af350510dc 100644 --- a/service/qapps/api_op_UpdateQAppSessionMetadata.go +++ b/service/qapps/api_op_UpdateQAppSessionMetadata.go @@ -140,9 +140,6 @@ func (c *Client) addOperationUpdateQAppSessionMetadataMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateQAppSessionMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/qapps/snapshot/api_op_AssociateLibraryItemReview.go.snap b/service/qapps/snapshot/api_op_AssociateLibraryItemReview.go.snap index 1118a485d37..09767239cb2 100644 --- a/service/qapps/snapshot/api_op_AssociateLibraryItemReview.go.snap +++ b/service/qapps/snapshot/api_op_AssociateLibraryItemReview.go.snap @@ -14,7 +14,6 @@ AssociateLibraryItemReview Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_AssociateQAppWithUser.go.snap b/service/qapps/snapshot/api_op_AssociateQAppWithUser.go.snap index 638aee67716..d1c57f1a729 100644 --- a/service/qapps/snapshot/api_op_AssociateQAppWithUser.go.snap +++ b/service/qapps/snapshot/api_op_AssociateQAppWithUser.go.snap @@ -14,7 +14,6 @@ AssociateQAppWithUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_BatchCreateCategory.go.snap b/service/qapps/snapshot/api_op_BatchCreateCategory.go.snap index aa4542a848a..6b9af5cbac1 100644 --- a/service/qapps/snapshot/api_op_BatchCreateCategory.go.snap +++ b/service/qapps/snapshot/api_op_BatchCreateCategory.go.snap @@ -14,7 +14,6 @@ BatchCreateCategory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_BatchDeleteCategory.go.snap b/service/qapps/snapshot/api_op_BatchDeleteCategory.go.snap index a4ffe6e1cc7..8d92615b2b3 100644 --- a/service/qapps/snapshot/api_op_BatchDeleteCategory.go.snap +++ b/service/qapps/snapshot/api_op_BatchDeleteCategory.go.snap @@ -14,7 +14,6 @@ BatchDeleteCategory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_BatchUpdateCategory.go.snap b/service/qapps/snapshot/api_op_BatchUpdateCategory.go.snap index b44a808fc29..454f9e90579 100644 --- a/service/qapps/snapshot/api_op_BatchUpdateCategory.go.snap +++ b/service/qapps/snapshot/api_op_BatchUpdateCategory.go.snap @@ -14,7 +14,6 @@ BatchUpdateCategory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_CreateLibraryItem.go.snap b/service/qapps/snapshot/api_op_CreateLibraryItem.go.snap index 8d28afc5c4c..d67e46a0c15 100644 --- a/service/qapps/snapshot/api_op_CreateLibraryItem.go.snap +++ b/service/qapps/snapshot/api_op_CreateLibraryItem.go.snap @@ -14,7 +14,6 @@ CreateLibraryItem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_CreatePresignedUrl.go.snap b/service/qapps/snapshot/api_op_CreatePresignedUrl.go.snap index 5aec2baa930..d0bcbe905f8 100644 --- a/service/qapps/snapshot/api_op_CreatePresignedUrl.go.snap +++ b/service/qapps/snapshot/api_op_CreatePresignedUrl.go.snap @@ -14,7 +14,6 @@ CreatePresignedUrl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_CreateQApp.go.snap b/service/qapps/snapshot/api_op_CreateQApp.go.snap index ebf932d1220..def84193ab5 100644 --- a/service/qapps/snapshot/api_op_CreateQApp.go.snap +++ b/service/qapps/snapshot/api_op_CreateQApp.go.snap @@ -14,7 +14,6 @@ CreateQApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_DeleteLibraryItem.go.snap b/service/qapps/snapshot/api_op_DeleteLibraryItem.go.snap index 26f175ed5ed..9fb49a9a769 100644 --- a/service/qapps/snapshot/api_op_DeleteLibraryItem.go.snap +++ b/service/qapps/snapshot/api_op_DeleteLibraryItem.go.snap @@ -14,7 +14,6 @@ DeleteLibraryItem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_DeleteQApp.go.snap b/service/qapps/snapshot/api_op_DeleteQApp.go.snap index e7eb07407d5..8528ade4ff1 100644 --- a/service/qapps/snapshot/api_op_DeleteQApp.go.snap +++ b/service/qapps/snapshot/api_op_DeleteQApp.go.snap @@ -14,7 +14,6 @@ DeleteQApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_DescribeQAppPermissions.go.snap b/service/qapps/snapshot/api_op_DescribeQAppPermissions.go.snap index 46d3a370a5d..48148822ec1 100644 --- a/service/qapps/snapshot/api_op_DescribeQAppPermissions.go.snap +++ b/service/qapps/snapshot/api_op_DescribeQAppPermissions.go.snap @@ -14,7 +14,6 @@ DescribeQAppPermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_DisassociateLibraryItemReview.go.snap b/service/qapps/snapshot/api_op_DisassociateLibraryItemReview.go.snap index d8e65e03931..245c26a46cf 100644 --- a/service/qapps/snapshot/api_op_DisassociateLibraryItemReview.go.snap +++ b/service/qapps/snapshot/api_op_DisassociateLibraryItemReview.go.snap @@ -14,7 +14,6 @@ DisassociateLibraryItemReview Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_DisassociateQAppFromUser.go.snap b/service/qapps/snapshot/api_op_DisassociateQAppFromUser.go.snap index e9dda4715f7..62d8d597b39 100644 --- a/service/qapps/snapshot/api_op_DisassociateQAppFromUser.go.snap +++ b/service/qapps/snapshot/api_op_DisassociateQAppFromUser.go.snap @@ -14,7 +14,6 @@ DisassociateQAppFromUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_ExportQAppSessionData.go.snap b/service/qapps/snapshot/api_op_ExportQAppSessionData.go.snap index 6bb83f29e4a..01ea62f8914 100644 --- a/service/qapps/snapshot/api_op_ExportQAppSessionData.go.snap +++ b/service/qapps/snapshot/api_op_ExportQAppSessionData.go.snap @@ -14,7 +14,6 @@ ExportQAppSessionData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_GetLibraryItem.go.snap b/service/qapps/snapshot/api_op_GetLibraryItem.go.snap index 426ac65e10f..ee5b3ef5c14 100644 --- a/service/qapps/snapshot/api_op_GetLibraryItem.go.snap +++ b/service/qapps/snapshot/api_op_GetLibraryItem.go.snap @@ -14,7 +14,6 @@ GetLibraryItem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_GetQApp.go.snap b/service/qapps/snapshot/api_op_GetQApp.go.snap index 5915d2881b5..2d6521f2041 100644 --- a/service/qapps/snapshot/api_op_GetQApp.go.snap +++ b/service/qapps/snapshot/api_op_GetQApp.go.snap @@ -14,7 +14,6 @@ GetQApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_GetQAppSession.go.snap b/service/qapps/snapshot/api_op_GetQAppSession.go.snap index 87e5945e553..2a45ee9d406 100644 --- a/service/qapps/snapshot/api_op_GetQAppSession.go.snap +++ b/service/qapps/snapshot/api_op_GetQAppSession.go.snap @@ -14,7 +14,6 @@ GetQAppSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_GetQAppSessionMetadata.go.snap b/service/qapps/snapshot/api_op_GetQAppSessionMetadata.go.snap index 266c698586f..a9f213f3b8f 100644 --- a/service/qapps/snapshot/api_op_GetQAppSessionMetadata.go.snap +++ b/service/qapps/snapshot/api_op_GetQAppSessionMetadata.go.snap @@ -14,7 +14,6 @@ GetQAppSessionMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_ImportDocument.go.snap b/service/qapps/snapshot/api_op_ImportDocument.go.snap index 2ea17749551..0deea46e0f4 100644 --- a/service/qapps/snapshot/api_op_ImportDocument.go.snap +++ b/service/qapps/snapshot/api_op_ImportDocument.go.snap @@ -14,7 +14,6 @@ ImportDocument Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_ListCategories.go.snap b/service/qapps/snapshot/api_op_ListCategories.go.snap index a5338cca2da..c48d8c9cf80 100644 --- a/service/qapps/snapshot/api_op_ListCategories.go.snap +++ b/service/qapps/snapshot/api_op_ListCategories.go.snap @@ -14,7 +14,6 @@ ListCategories Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_ListLibraryItems.go.snap b/service/qapps/snapshot/api_op_ListLibraryItems.go.snap index 0fd8d3aa2f0..aa55abede62 100644 --- a/service/qapps/snapshot/api_op_ListLibraryItems.go.snap +++ b/service/qapps/snapshot/api_op_ListLibraryItems.go.snap @@ -14,7 +14,6 @@ ListLibraryItems Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_ListQAppSessionData.go.snap b/service/qapps/snapshot/api_op_ListQAppSessionData.go.snap index 595f9c5dc2c..bb20a150e5f 100644 --- a/service/qapps/snapshot/api_op_ListQAppSessionData.go.snap +++ b/service/qapps/snapshot/api_op_ListQAppSessionData.go.snap @@ -14,7 +14,6 @@ ListQAppSessionData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_ListQApps.go.snap b/service/qapps/snapshot/api_op_ListQApps.go.snap index 4ed96c7a0e6..1058ff1a098 100644 --- a/service/qapps/snapshot/api_op_ListQApps.go.snap +++ b/service/qapps/snapshot/api_op_ListQApps.go.snap @@ -14,7 +14,6 @@ ListQApps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_ListTagsForResource.go.snap b/service/qapps/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/qapps/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/qapps/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_PredictQApp.go.snap b/service/qapps/snapshot/api_op_PredictQApp.go.snap index 114983111dc..b357c49be2e 100644 --- a/service/qapps/snapshot/api_op_PredictQApp.go.snap +++ b/service/qapps/snapshot/api_op_PredictQApp.go.snap @@ -14,7 +14,6 @@ PredictQApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_StartQAppSession.go.snap b/service/qapps/snapshot/api_op_StartQAppSession.go.snap index 969c3d5e08f..06063b20716 100644 --- a/service/qapps/snapshot/api_op_StartQAppSession.go.snap +++ b/service/qapps/snapshot/api_op_StartQAppSession.go.snap @@ -14,7 +14,6 @@ StartQAppSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_StopQAppSession.go.snap b/service/qapps/snapshot/api_op_StopQAppSession.go.snap index be2b4929679..ea7a2ff2fb7 100644 --- a/service/qapps/snapshot/api_op_StopQAppSession.go.snap +++ b/service/qapps/snapshot/api_op_StopQAppSession.go.snap @@ -14,7 +14,6 @@ StopQAppSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_TagResource.go.snap b/service/qapps/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/qapps/snapshot/api_op_TagResource.go.snap +++ b/service/qapps/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_UntagResource.go.snap b/service/qapps/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/qapps/snapshot/api_op_UntagResource.go.snap +++ b/service/qapps/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_UpdateLibraryItem.go.snap b/service/qapps/snapshot/api_op_UpdateLibraryItem.go.snap index b6df2e6ce19..41eb64aa2c3 100644 --- a/service/qapps/snapshot/api_op_UpdateLibraryItem.go.snap +++ b/service/qapps/snapshot/api_op_UpdateLibraryItem.go.snap @@ -14,7 +14,6 @@ UpdateLibraryItem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_UpdateLibraryItemMetadata.go.snap b/service/qapps/snapshot/api_op_UpdateLibraryItemMetadata.go.snap index df8e7c6f80b..10c0885d025 100644 --- a/service/qapps/snapshot/api_op_UpdateLibraryItemMetadata.go.snap +++ b/service/qapps/snapshot/api_op_UpdateLibraryItemMetadata.go.snap @@ -14,7 +14,6 @@ UpdateLibraryItemMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_UpdateQApp.go.snap b/service/qapps/snapshot/api_op_UpdateQApp.go.snap index 7bf944af430..f97388b5c11 100644 --- a/service/qapps/snapshot/api_op_UpdateQApp.go.snap +++ b/service/qapps/snapshot/api_op_UpdateQApp.go.snap @@ -14,7 +14,6 @@ UpdateQApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_UpdateQAppPermissions.go.snap b/service/qapps/snapshot/api_op_UpdateQAppPermissions.go.snap index a3fcd3a3d66..716c86e40e5 100644 --- a/service/qapps/snapshot/api_op_UpdateQAppPermissions.go.snap +++ b/service/qapps/snapshot/api_op_UpdateQAppPermissions.go.snap @@ -14,7 +14,6 @@ UpdateQAppPermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_UpdateQAppSession.go.snap b/service/qapps/snapshot/api_op_UpdateQAppSession.go.snap index 7ef8e69b543..33342681b61 100644 --- a/service/qapps/snapshot/api_op_UpdateQAppSession.go.snap +++ b/service/qapps/snapshot/api_op_UpdateQAppSession.go.snap @@ -14,7 +14,6 @@ UpdateQAppSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qapps/snapshot/api_op_UpdateQAppSessionMetadata.go.snap b/service/qapps/snapshot/api_op_UpdateQAppSessionMetadata.go.snap index 9154dc58114..a1d04e59fdc 100644 --- a/service/qapps/snapshot/api_op_UpdateQAppSessionMetadata.go.snap +++ b/service/qapps/snapshot/api_op_UpdateQAppSessionMetadata.go.snap @@ -14,7 +14,6 @@ UpdateQAppSessionMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/api_client.go b/service/qbusiness/api_client.go index af9c114352d..2e6672bec5e 100644 --- a/service/qbusiness/api_client.go +++ b/service/qbusiness/api_client.go @@ -774,37 +774,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/qbusiness/api_op_AssociatePermission.go b/service/qbusiness/api_op_AssociatePermission.go index 1faa3925ae2..199cda69d3a 100644 --- a/service/qbusiness/api_op_AssociatePermission.go +++ b/service/qbusiness/api_op_AssociatePermission.go @@ -131,9 +131,6 @@ func (c *Client) addOperationAssociatePermissionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociatePermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_BatchDeleteDocument.go b/service/qbusiness/api_op_BatchDeleteDocument.go index 5edcbe659b4..88249759d22 100644 --- a/service/qbusiness/api_op_BatchDeleteDocument.go +++ b/service/qbusiness/api_op_BatchDeleteDocument.go @@ -132,9 +132,6 @@ func (c *Client) addOperationBatchDeleteDocumentMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDeleteDocumentValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_BatchPutDocument.go b/service/qbusiness/api_op_BatchPutDocument.go index 87b6bc98345..6d848e7265f 100644 --- a/service/qbusiness/api_op_BatchPutDocument.go +++ b/service/qbusiness/api_op_BatchPutDocument.go @@ -144,9 +144,6 @@ func (c *Client) addOperationBatchPutDocumentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchPutDocumentValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_CancelSubscription.go b/service/qbusiness/api_op_CancelSubscription.go index 97e0e4aa548..d23a43be5ff 100644 --- a/service/qbusiness/api_op_CancelSubscription.go +++ b/service/qbusiness/api_op_CancelSubscription.go @@ -127,9 +127,6 @@ func (c *Client) addOperationCancelSubscriptionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_Chat.go b/service/qbusiness/api_op_Chat.go index e6ed58e3198..d2740724fd0 100644 --- a/service/qbusiness/api_op_Chat.go +++ b/service/qbusiness/api_op_Chat.go @@ -138,9 +138,6 @@ func (c *Client) addOperationChatMiddlewares(stack *middleware.Stack, options Op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opChatMiddleware(stack, options); err != nil { return err } diff --git a/service/qbusiness/api_op_ChatSync.go b/service/qbusiness/api_op_ChatSync.go index da0936051f1..876c5d42299 100644 --- a/service/qbusiness/api_op_ChatSync.go +++ b/service/qbusiness/api_op_ChatSync.go @@ -203,9 +203,6 @@ func (c *Client) addOperationChatSyncMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opChatSyncMiddleware(stack, options); err != nil { return err } diff --git a/service/qbusiness/api_op_CreateApplication.go b/service/qbusiness/api_op_CreateApplication.go index cedc40f2b14..86ded7dfd65 100644 --- a/service/qbusiness/api_op_CreateApplication.go +++ b/service/qbusiness/api_op_CreateApplication.go @@ -192,9 +192,6 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateApplicationMiddleware(stack, options); err != nil { return err } diff --git a/service/qbusiness/api_op_CreateDataAccessor.go b/service/qbusiness/api_op_CreateDataAccessor.go index 22fc47bf76b..edcc3e2ad6a 100644 --- a/service/qbusiness/api_op_CreateDataAccessor.go +++ b/service/qbusiness/api_op_CreateDataAccessor.go @@ -156,9 +156,6 @@ func (c *Client) addOperationCreateDataAccessorMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDataAccessorMiddleware(stack, options); err != nil { return err } diff --git a/service/qbusiness/api_op_CreateDataSource.go b/service/qbusiness/api_op_CreateDataSource.go index 1a6156b267b..507b3be03c8 100644 --- a/service/qbusiness/api_op_CreateDataSource.go +++ b/service/qbusiness/api_op_CreateDataSource.go @@ -206,9 +206,6 @@ func (c *Client) addOperationCreateDataSourceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDataSourceMiddleware(stack, options); err != nil { return err } diff --git a/service/qbusiness/api_op_CreateIndex.go b/service/qbusiness/api_op_CreateIndex.go index 4ba495f5ec3..0619d38baf8 100644 --- a/service/qbusiness/api_op_CreateIndex.go +++ b/service/qbusiness/api_op_CreateIndex.go @@ -154,9 +154,6 @@ func (c *Client) addOperationCreateIndexMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateIndexMiddleware(stack, options); err != nil { return err } diff --git a/service/qbusiness/api_op_CreatePlugin.go b/service/qbusiness/api_op_CreatePlugin.go index 091697090e9..33f62bdec5b 100644 --- a/service/qbusiness/api_op_CreatePlugin.go +++ b/service/qbusiness/api_op_CreatePlugin.go @@ -149,9 +149,6 @@ func (c *Client) addOperationCreatePluginMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreatePluginMiddleware(stack, options); err != nil { return err } diff --git a/service/qbusiness/api_op_CreateRetriever.go b/service/qbusiness/api_op_CreateRetriever.go index 0b6c0858a49..089724c301a 100644 --- a/service/qbusiness/api_op_CreateRetriever.go +++ b/service/qbusiness/api_op_CreateRetriever.go @@ -145,9 +145,6 @@ func (c *Client) addOperationCreateRetrieverMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateRetrieverMiddleware(stack, options); err != nil { return err } diff --git a/service/qbusiness/api_op_CreateSubscription.go b/service/qbusiness/api_op_CreateSubscription.go index 7eb3d679a70..c242278befc 100644 --- a/service/qbusiness/api_op_CreateSubscription.go +++ b/service/qbusiness/api_op_CreateSubscription.go @@ -144,9 +144,6 @@ func (c *Client) addOperationCreateSubscriptionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateSubscriptionMiddleware(stack, options); err != nil { return err } diff --git a/service/qbusiness/api_op_CreateUser.go b/service/qbusiness/api_op_CreateUser.go index f017a92a0af..266f5b6d66a 100644 --- a/service/qbusiness/api_op_CreateUser.go +++ b/service/qbusiness/api_op_CreateUser.go @@ -121,9 +121,6 @@ func (c *Client) addOperationCreateUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateUserMiddleware(stack, options); err != nil { return err } diff --git a/service/qbusiness/api_op_CreateWebExperience.go b/service/qbusiness/api_op_CreateWebExperience.go index e34c141343a..be15bca19b4 100644 --- a/service/qbusiness/api_op_CreateWebExperience.go +++ b/service/qbusiness/api_op_CreateWebExperience.go @@ -174,9 +174,6 @@ func (c *Client) addOperationCreateWebExperienceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateWebExperienceMiddleware(stack, options); err != nil { return err } diff --git a/service/qbusiness/api_op_DeleteApplication.go b/service/qbusiness/api_op_DeleteApplication.go index 8e99fa9e3d7..1d06ffed8d6 100644 --- a/service/qbusiness/api_op_DeleteApplication.go +++ b/service/qbusiness/api_op_DeleteApplication.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_DeleteChatControlsConfiguration.go b/service/qbusiness/api_op_DeleteChatControlsConfiguration.go index a92001009b9..6405bf8288f 100644 --- a/service/qbusiness/api_op_DeleteChatControlsConfiguration.go +++ b/service/qbusiness/api_op_DeleteChatControlsConfiguration.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteChatControlsConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteChatControlsConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_DeleteConversation.go b/service/qbusiness/api_op_DeleteConversation.go index 61fc2778b62..a7ae5d0f141 100644 --- a/service/qbusiness/api_op_DeleteConversation.go +++ b/service/qbusiness/api_op_DeleteConversation.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteConversationMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConversationValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_DeleteDataAccessor.go b/service/qbusiness/api_op_DeleteDataAccessor.go index b8bb24a6b8a..7e66d14d5b6 100644 --- a/service/qbusiness/api_op_DeleteDataAccessor.go +++ b/service/qbusiness/api_op_DeleteDataAccessor.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteDataAccessorMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDataAccessorValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_DeleteDataSource.go b/service/qbusiness/api_op_DeleteDataSource.go index 4a464ab0411..2191b464146 100644 --- a/service/qbusiness/api_op_DeleteDataSource.go +++ b/service/qbusiness/api_op_DeleteDataSource.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteDataSourceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_DeleteGroup.go b/service/qbusiness/api_op_DeleteGroup.go index 8c83c93fd5f..9d588f8f515 100644 --- a/service/qbusiness/api_op_DeleteGroup.go +++ b/service/qbusiness/api_op_DeleteGroup.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDeleteGroupMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_DeleteIndex.go b/service/qbusiness/api_op_DeleteIndex.go index ea6564adda2..2309780c6db 100644 --- a/service/qbusiness/api_op_DeleteIndex.go +++ b/service/qbusiness/api_op_DeleteIndex.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteIndexMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIndexValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_DeletePlugin.go b/service/qbusiness/api_op_DeletePlugin.go index 3ee4fadcb31..0bfba139490 100644 --- a/service/qbusiness/api_op_DeletePlugin.go +++ b/service/qbusiness/api_op_DeletePlugin.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeletePluginMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePluginValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_DeleteRetriever.go b/service/qbusiness/api_op_DeleteRetriever.go index 2b474873305..1d569ae9449 100644 --- a/service/qbusiness/api_op_DeleteRetriever.go +++ b/service/qbusiness/api_op_DeleteRetriever.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteRetrieverMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRetrieverValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_DeleteUser.go b/service/qbusiness/api_op_DeleteUser.go index 21f4a3a7383..262164e51e0 100644 --- a/service/qbusiness/api_op_DeleteUser.go +++ b/service/qbusiness/api_op_DeleteUser.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_DeleteWebExperience.go b/service/qbusiness/api_op_DeleteWebExperience.go index d81bc398e14..a59db9b3548 100644 --- a/service/qbusiness/api_op_DeleteWebExperience.go +++ b/service/qbusiness/api_op_DeleteWebExperience.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteWebExperienceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWebExperienceValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_DisassociatePermission.go b/service/qbusiness/api_op_DisassociatePermission.go index 847ee33032a..659ad2a7c4a 100644 --- a/service/qbusiness/api_op_DisassociatePermission.go +++ b/service/qbusiness/api_op_DisassociatePermission.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDisassociatePermissionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociatePermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_GetApplication.go b/service/qbusiness/api_op_GetApplication.go index c04cc481ab4..3e66e29e063 100644 --- a/service/qbusiness/api_op_GetApplication.go +++ b/service/qbusiness/api_op_GetApplication.go @@ -178,9 +178,6 @@ func (c *Client) addOperationGetApplicationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_GetChatControlsConfiguration.go b/service/qbusiness/api_op_GetChatControlsConfiguration.go index 138fb4c12d7..e6fba97f97e 100644 --- a/service/qbusiness/api_op_GetChatControlsConfiguration.go +++ b/service/qbusiness/api_op_GetChatControlsConfiguration.go @@ -149,9 +149,6 @@ func (c *Client) addOperationGetChatControlsConfigurationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetChatControlsConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_GetDataAccessor.go b/service/qbusiness/api_op_GetDataAccessor.go index 925e3d0b329..85e71e6d239 100644 --- a/service/qbusiness/api_op_GetDataAccessor.go +++ b/service/qbusiness/api_op_GetDataAccessor.go @@ -151,9 +151,6 @@ func (c *Client) addOperationGetDataAccessorMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataAccessorValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_GetDataSource.go b/service/qbusiness/api_op_GetDataSource.go index 9cca63f3ec8..dcf89523e73 100644 --- a/service/qbusiness/api_op_GetDataSource.go +++ b/service/qbusiness/api_op_GetDataSource.go @@ -183,9 +183,6 @@ func (c *Client) addOperationGetDataSourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_GetGroup.go b/service/qbusiness/api_op_GetGroup.go index 9cbd7867742..f16c7ba0156 100644 --- a/service/qbusiness/api_op_GetGroup.go +++ b/service/qbusiness/api_op_GetGroup.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetGroupMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_GetIndex.go b/service/qbusiness/api_op_GetIndex.go index cc1c355a170..b68928290fa 100644 --- a/service/qbusiness/api_op_GetIndex.go +++ b/service/qbusiness/api_op_GetIndex.go @@ -161,9 +161,6 @@ func (c *Client) addOperationGetIndexMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIndexValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_GetMedia.go b/service/qbusiness/api_op_GetMedia.go index 8ff21ab1219..85719065fe4 100644 --- a/service/qbusiness/api_op_GetMedia.go +++ b/service/qbusiness/api_op_GetMedia.go @@ -138,9 +138,6 @@ func (c *Client) addOperationGetMediaMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMediaValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_GetPlugin.go b/service/qbusiness/api_op_GetPlugin.go index 89b01436a6c..9a7dffa45e8 100644 --- a/service/qbusiness/api_op_GetPlugin.go +++ b/service/qbusiness/api_op_GetPlugin.go @@ -152,9 +152,6 @@ func (c *Client) addOperationGetPluginMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPluginValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_GetPolicy.go b/service/qbusiness/api_op_GetPolicy.go index 40e9275bfde..e836a2e829d 100644 --- a/service/qbusiness/api_op_GetPolicy.go +++ b/service/qbusiness/api_op_GetPolicy.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetPolicyMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_GetRetriever.go b/service/qbusiness/api_op_GetRetriever.go index 4249fe63ab1..62838905077 100644 --- a/service/qbusiness/api_op_GetRetriever.go +++ b/service/qbusiness/api_op_GetRetriever.go @@ -148,9 +148,6 @@ func (c *Client) addOperationGetRetrieverMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRetrieverValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_GetUser.go b/service/qbusiness/api_op_GetUser.go index d32666d7f1c..8cc6bf53261 100644 --- a/service/qbusiness/api_op_GetUser.go +++ b/service/qbusiness/api_op_GetUser.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetUserMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_GetWebExperience.go b/service/qbusiness/api_op_GetWebExperience.go index c5269a3bf58..9a6523ccc9d 100644 --- a/service/qbusiness/api_op_GetWebExperience.go +++ b/service/qbusiness/api_op_GetWebExperience.go @@ -188,9 +188,6 @@ func (c *Client) addOperationGetWebExperienceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWebExperienceValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_ListApplications.go b/service/qbusiness/api_op_ListApplications.go index 582bf1c3f90..a32473329aa 100644 --- a/service/qbusiness/api_op_ListApplications.go +++ b/service/qbusiness/api_op_ListApplications.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListApplicationsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplications(options.Region), middleware.Before); err != nil { return err } diff --git a/service/qbusiness/api_op_ListAttachments.go b/service/qbusiness/api_op_ListAttachments.go index b11673d7216..3cbdd7505e4 100644 --- a/service/qbusiness/api_op_ListAttachments.go +++ b/service/qbusiness/api_op_ListAttachments.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListAttachmentsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAttachmentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_ListConversations.go b/service/qbusiness/api_op_ListConversations.go index 81d2a908446..c1a98c799eb 100644 --- a/service/qbusiness/api_op_ListConversations.go +++ b/service/qbusiness/api_op_ListConversations.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListConversationsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListConversationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_ListDataAccessors.go b/service/qbusiness/api_op_ListDataAccessors.go index 44472eaf1de..30250561675 100644 --- a/service/qbusiness/api_op_ListDataAccessors.go +++ b/service/qbusiness/api_op_ListDataAccessors.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListDataAccessorsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDataAccessorsValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_ListDataSourceSyncJobs.go b/service/qbusiness/api_op_ListDataSourceSyncJobs.go index c4a6d39a4e3..1b2349149d9 100644 --- a/service/qbusiness/api_op_ListDataSourceSyncJobs.go +++ b/service/qbusiness/api_op_ListDataSourceSyncJobs.go @@ -148,9 +148,6 @@ func (c *Client) addOperationListDataSourceSyncJobsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDataSourceSyncJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_ListDataSources.go b/service/qbusiness/api_op_ListDataSources.go index 2f09e0cf614..878c689e914 100644 --- a/service/qbusiness/api_op_ListDataSources.go +++ b/service/qbusiness/api_op_ListDataSources.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListDataSourcesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDataSourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_ListDocuments.go b/service/qbusiness/api_op_ListDocuments.go index 3e55205f6b9..fca6765e4a1 100644 --- a/service/qbusiness/api_op_ListDocuments.go +++ b/service/qbusiness/api_op_ListDocuments.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListDocumentsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDocumentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_ListGroups.go b/service/qbusiness/api_op_ListGroups.go index ac73691fb0c..c5d81b71f76 100644 --- a/service/qbusiness/api_op_ListGroups.go +++ b/service/qbusiness/api_op_ListGroups.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListGroupsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_ListIndices.go b/service/qbusiness/api_op_ListIndices.go index 4f15b877e71..d4b4e5997da 100644 --- a/service/qbusiness/api_op_ListIndices.go +++ b/service/qbusiness/api_op_ListIndices.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListIndicesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIndicesValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_ListMessages.go b/service/qbusiness/api_op_ListMessages.go index 4662a878cb4..906805985f8 100644 --- a/service/qbusiness/api_op_ListMessages.go +++ b/service/qbusiness/api_op_ListMessages.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListMessagesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMessagesValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_ListPluginActions.go b/service/qbusiness/api_op_ListPluginActions.go index 640f8cc1c46..6a134e71ead 100644 --- a/service/qbusiness/api_op_ListPluginActions.go +++ b/service/qbusiness/api_op_ListPluginActions.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListPluginActionsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPluginActionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_ListPluginTypeActions.go b/service/qbusiness/api_op_ListPluginTypeActions.go index 14d4509fcb9..6a022b68322 100644 --- a/service/qbusiness/api_op_ListPluginTypeActions.go +++ b/service/qbusiness/api_op_ListPluginTypeActions.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListPluginTypeActionsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPluginTypeActionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_ListPluginTypeMetadata.go b/service/qbusiness/api_op_ListPluginTypeMetadata.go index 212a4ce1381..4d0f0c78f94 100644 --- a/service/qbusiness/api_op_ListPluginTypeMetadata.go +++ b/service/qbusiness/api_op_ListPluginTypeMetadata.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListPluginTypeMetadataMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPluginTypeMetadata(options.Region), middleware.Before); err != nil { return err } diff --git a/service/qbusiness/api_op_ListPlugins.go b/service/qbusiness/api_op_ListPlugins.go index 9e28ca55677..1826519ad28 100644 --- a/service/qbusiness/api_op_ListPlugins.go +++ b/service/qbusiness/api_op_ListPlugins.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListPluginsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPluginsValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_ListRetrievers.go b/service/qbusiness/api_op_ListRetrievers.go index 3f3401bb6ef..58b29b6caa7 100644 --- a/service/qbusiness/api_op_ListRetrievers.go +++ b/service/qbusiness/api_op_ListRetrievers.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListRetrieversMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRetrieversValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_ListSubscriptions.go b/service/qbusiness/api_op_ListSubscriptions.go index 91cea76b3bb..a017fddcca4 100644 --- a/service/qbusiness/api_op_ListSubscriptions.go +++ b/service/qbusiness/api_op_ListSubscriptions.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListSubscriptionsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSubscriptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_ListTagsForResource.go b/service/qbusiness/api_op_ListTagsForResource.go index df2b572fd70..4bc6db346da 100644 --- a/service/qbusiness/api_op_ListTagsForResource.go +++ b/service/qbusiness/api_op_ListTagsForResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_ListWebExperiences.go b/service/qbusiness/api_op_ListWebExperiences.go index 7655430ea4b..4e194fac529 100644 --- a/service/qbusiness/api_op_ListWebExperiences.go +++ b/service/qbusiness/api_op_ListWebExperiences.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListWebExperiencesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListWebExperiencesValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_PutFeedback.go b/service/qbusiness/api_op_PutFeedback.go index e46aed778a0..3dc7138b7b7 100644 --- a/service/qbusiness/api_op_PutFeedback.go +++ b/service/qbusiness/api_op_PutFeedback.go @@ -129,9 +129,6 @@ func (c *Client) addOperationPutFeedbackMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutFeedbackValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_PutGroup.go b/service/qbusiness/api_op_PutGroup.go index 8cf799a50a5..253b9df44a2 100644 --- a/service/qbusiness/api_op_PutGroup.go +++ b/service/qbusiness/api_op_PutGroup.go @@ -157,9 +157,6 @@ func (c *Client) addOperationPutGroupMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_SearchRelevantContent.go b/service/qbusiness/api_op_SearchRelevantContent.go index 3341bbb9f70..43c54979ca7 100644 --- a/service/qbusiness/api_op_SearchRelevantContent.go +++ b/service/qbusiness/api_op_SearchRelevantContent.go @@ -141,9 +141,6 @@ func (c *Client) addOperationSearchRelevantContentMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchRelevantContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_StartDataSourceSyncJob.go b/service/qbusiness/api_op_StartDataSourceSyncJob.go index 4188f2b8b71..f52744d65a3 100644 --- a/service/qbusiness/api_op_StartDataSourceSyncJob.go +++ b/service/qbusiness/api_op_StartDataSourceSyncJob.go @@ -122,9 +122,6 @@ func (c *Client) addOperationStartDataSourceSyncJobMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartDataSourceSyncJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_StopDataSourceSyncJob.go b/service/qbusiness/api_op_StopDataSourceSyncJob.go index 1bb99f486f5..36c2f6505a1 100644 --- a/service/qbusiness/api_op_StopDataSourceSyncJob.go +++ b/service/qbusiness/api_op_StopDataSourceSyncJob.go @@ -120,9 +120,6 @@ func (c *Client) addOperationStopDataSourceSyncJobMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopDataSourceSyncJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_TagResource.go b/service/qbusiness/api_op_TagResource.go index f92ef37bf2d..d226fa13e30 100644 --- a/service/qbusiness/api_op_TagResource.go +++ b/service/qbusiness/api_op_TagResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_UntagResource.go b/service/qbusiness/api_op_UntagResource.go index 8525fd49610..572d0987f00 100644 --- a/service/qbusiness/api_op_UntagResource.go +++ b/service/qbusiness/api_op_UntagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_UpdateApplication.go b/service/qbusiness/api_op_UpdateApplication.go index d3eb7b0c1f4..331d3c0ac05 100644 --- a/service/qbusiness/api_op_UpdateApplication.go +++ b/service/qbusiness/api_op_UpdateApplication.go @@ -149,9 +149,6 @@ func (c *Client) addOperationUpdateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_UpdateChatControlsConfiguration.go b/service/qbusiness/api_op_UpdateChatControlsConfiguration.go index 9a92ff40851..8cab5e8cb0c 100644 --- a/service/qbusiness/api_op_UpdateChatControlsConfiguration.go +++ b/service/qbusiness/api_op_UpdateChatControlsConfiguration.go @@ -134,9 +134,6 @@ func (c *Client) addOperationUpdateChatControlsConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateChatControlsConfigurationMiddleware(stack, options); err != nil { return err } diff --git a/service/qbusiness/api_op_UpdateDataAccessor.go b/service/qbusiness/api_op_UpdateDataAccessor.go index e3e6039dc65..cf809421b2a 100644 --- a/service/qbusiness/api_op_UpdateDataAccessor.go +++ b/service/qbusiness/api_op_UpdateDataAccessor.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateDataAccessorMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDataAccessorValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_UpdateDataSource.go b/service/qbusiness/api_op_UpdateDataSource.go index 3fa27034a7b..ef2991f7498 100644 --- a/service/qbusiness/api_op_UpdateDataSource.go +++ b/service/qbusiness/api_op_UpdateDataSource.go @@ -152,9 +152,6 @@ func (c *Client) addOperationUpdateDataSourceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_UpdateIndex.go b/service/qbusiness/api_op_UpdateIndex.go index 8e71a993b9f..203adefb60b 100644 --- a/service/qbusiness/api_op_UpdateIndex.go +++ b/service/qbusiness/api_op_UpdateIndex.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateIndexMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateIndexValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_UpdatePlugin.go b/service/qbusiness/api_op_UpdatePlugin.go index c838d9b4219..ab31ba6fe5f 100644 --- a/service/qbusiness/api_op_UpdatePlugin.go +++ b/service/qbusiness/api_op_UpdatePlugin.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdatePluginMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePluginValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_UpdateRetriever.go b/service/qbusiness/api_op_UpdateRetriever.go index 756bbf0eddb..8a064392e59 100644 --- a/service/qbusiness/api_op_UpdateRetriever.go +++ b/service/qbusiness/api_op_UpdateRetriever.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateRetrieverMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRetrieverValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_UpdateSubscription.go b/service/qbusiness/api_op_UpdateSubscription.go index 8997db4d68c..5ab9f362ab5 100644 --- a/service/qbusiness/api_op_UpdateSubscription.go +++ b/service/qbusiness/api_op_UpdateSubscription.go @@ -135,9 +135,6 @@ func (c *Client) addOperationUpdateSubscriptionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_UpdateUser.go b/service/qbusiness/api_op_UpdateUser.go index ff0b53d6bbe..a086935cbb4 100644 --- a/service/qbusiness/api_op_UpdateUser.go +++ b/service/qbusiness/api_op_UpdateUser.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUpdateUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/api_op_UpdateWebExperience.go b/service/qbusiness/api_op_UpdateWebExperience.go index a90ffdaa9aa..3474656b641 100644 --- a/service/qbusiness/api_op_UpdateWebExperience.go +++ b/service/qbusiness/api_op_UpdateWebExperience.go @@ -168,9 +168,6 @@ func (c *Client) addOperationUpdateWebExperienceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateWebExperienceValidationMiddleware(stack); err != nil { return err } diff --git a/service/qbusiness/snapshot/api_op_AssociatePermission.go.snap b/service/qbusiness/snapshot/api_op_AssociatePermission.go.snap index 7e712942730..6ad2d0efc88 100644 --- a/service/qbusiness/snapshot/api_op_AssociatePermission.go.snap +++ b/service/qbusiness/snapshot/api_op_AssociatePermission.go.snap @@ -14,7 +14,6 @@ AssociatePermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_BatchDeleteDocument.go.snap b/service/qbusiness/snapshot/api_op_BatchDeleteDocument.go.snap index 11d5385ac51..d09b51d8305 100644 --- a/service/qbusiness/snapshot/api_op_BatchDeleteDocument.go.snap +++ b/service/qbusiness/snapshot/api_op_BatchDeleteDocument.go.snap @@ -14,7 +14,6 @@ BatchDeleteDocument Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_BatchPutDocument.go.snap b/service/qbusiness/snapshot/api_op_BatchPutDocument.go.snap index d523118d78d..dc878bb8e8d 100644 --- a/service/qbusiness/snapshot/api_op_BatchPutDocument.go.snap +++ b/service/qbusiness/snapshot/api_op_BatchPutDocument.go.snap @@ -14,7 +14,6 @@ BatchPutDocument Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_CancelSubscription.go.snap b/service/qbusiness/snapshot/api_op_CancelSubscription.go.snap index a860b03420e..1fd68a3d1eb 100644 --- a/service/qbusiness/snapshot/api_op_CancelSubscription.go.snap +++ b/service/qbusiness/snapshot/api_op_CancelSubscription.go.snap @@ -14,7 +14,6 @@ CancelSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_Chat.go.snap b/service/qbusiness/snapshot/api_op_Chat.go.snap index 8c912dfdd33..8f1306947a3 100644 --- a/service/qbusiness/snapshot/api_op_Chat.go.snap +++ b/service/qbusiness/snapshot/api_op_Chat.go.snap @@ -14,7 +14,6 @@ Chat OperationSerializer Build stack step ClientRequestID - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_ChatSync.go.snap b/service/qbusiness/snapshot/api_op_ChatSync.go.snap index d7e8cdbdf3c..4dcc19de399 100644 --- a/service/qbusiness/snapshot/api_op_ChatSync.go.snap +++ b/service/qbusiness/snapshot/api_op_ChatSync.go.snap @@ -15,7 +15,6 @@ ChatSync Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_CreateApplication.go.snap b/service/qbusiness/snapshot/api_op_CreateApplication.go.snap index 55ae9fa9488..cb4df90a3ee 100644 --- a/service/qbusiness/snapshot/api_op_CreateApplication.go.snap +++ b/service/qbusiness/snapshot/api_op_CreateApplication.go.snap @@ -15,7 +15,6 @@ CreateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_CreateDataAccessor.go.snap b/service/qbusiness/snapshot/api_op_CreateDataAccessor.go.snap index 98b530adae3..d4afba1a7da 100644 --- a/service/qbusiness/snapshot/api_op_CreateDataAccessor.go.snap +++ b/service/qbusiness/snapshot/api_op_CreateDataAccessor.go.snap @@ -15,7 +15,6 @@ CreateDataAccessor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_CreateDataSource.go.snap b/service/qbusiness/snapshot/api_op_CreateDataSource.go.snap index 8e050aefe11..69b70d6c00e 100644 --- a/service/qbusiness/snapshot/api_op_CreateDataSource.go.snap +++ b/service/qbusiness/snapshot/api_op_CreateDataSource.go.snap @@ -15,7 +15,6 @@ CreateDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_CreateIndex.go.snap b/service/qbusiness/snapshot/api_op_CreateIndex.go.snap index 9211c9d3496..cceeef18834 100644 --- a/service/qbusiness/snapshot/api_op_CreateIndex.go.snap +++ b/service/qbusiness/snapshot/api_op_CreateIndex.go.snap @@ -15,7 +15,6 @@ CreateIndex Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_CreatePlugin.go.snap b/service/qbusiness/snapshot/api_op_CreatePlugin.go.snap index 232e1d39bd8..e52f8c94ecd 100644 --- a/service/qbusiness/snapshot/api_op_CreatePlugin.go.snap +++ b/service/qbusiness/snapshot/api_op_CreatePlugin.go.snap @@ -15,7 +15,6 @@ CreatePlugin Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_CreateRetriever.go.snap b/service/qbusiness/snapshot/api_op_CreateRetriever.go.snap index 55c0c777dfe..7d13ac3f3b6 100644 --- a/service/qbusiness/snapshot/api_op_CreateRetriever.go.snap +++ b/service/qbusiness/snapshot/api_op_CreateRetriever.go.snap @@ -15,7 +15,6 @@ CreateRetriever Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_CreateSubscription.go.snap b/service/qbusiness/snapshot/api_op_CreateSubscription.go.snap index 741638247f8..33306351abe 100644 --- a/service/qbusiness/snapshot/api_op_CreateSubscription.go.snap +++ b/service/qbusiness/snapshot/api_op_CreateSubscription.go.snap @@ -15,7 +15,6 @@ CreateSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_CreateUser.go.snap b/service/qbusiness/snapshot/api_op_CreateUser.go.snap index 0558eb17555..235683caf2c 100644 --- a/service/qbusiness/snapshot/api_op_CreateUser.go.snap +++ b/service/qbusiness/snapshot/api_op_CreateUser.go.snap @@ -15,7 +15,6 @@ CreateUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_CreateWebExperience.go.snap b/service/qbusiness/snapshot/api_op_CreateWebExperience.go.snap index e523bdff42d..114296d942d 100644 --- a/service/qbusiness/snapshot/api_op_CreateWebExperience.go.snap +++ b/service/qbusiness/snapshot/api_op_CreateWebExperience.go.snap @@ -15,7 +15,6 @@ CreateWebExperience Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_DeleteApplication.go.snap b/service/qbusiness/snapshot/api_op_DeleteApplication.go.snap index 80790355ed5..ffda37a527f 100644 --- a/service/qbusiness/snapshot/api_op_DeleteApplication.go.snap +++ b/service/qbusiness/snapshot/api_op_DeleteApplication.go.snap @@ -14,7 +14,6 @@ DeleteApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_DeleteChatControlsConfiguration.go.snap b/service/qbusiness/snapshot/api_op_DeleteChatControlsConfiguration.go.snap index d9d791e72dd..f29bee76b16 100644 --- a/service/qbusiness/snapshot/api_op_DeleteChatControlsConfiguration.go.snap +++ b/service/qbusiness/snapshot/api_op_DeleteChatControlsConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteChatControlsConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_DeleteConversation.go.snap b/service/qbusiness/snapshot/api_op_DeleteConversation.go.snap index 16299ed0378..88ee4875943 100644 --- a/service/qbusiness/snapshot/api_op_DeleteConversation.go.snap +++ b/service/qbusiness/snapshot/api_op_DeleteConversation.go.snap @@ -14,7 +14,6 @@ DeleteConversation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_DeleteDataAccessor.go.snap b/service/qbusiness/snapshot/api_op_DeleteDataAccessor.go.snap index c29aed93869..27a98b7efb4 100644 --- a/service/qbusiness/snapshot/api_op_DeleteDataAccessor.go.snap +++ b/service/qbusiness/snapshot/api_op_DeleteDataAccessor.go.snap @@ -14,7 +14,6 @@ DeleteDataAccessor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_DeleteDataSource.go.snap b/service/qbusiness/snapshot/api_op_DeleteDataSource.go.snap index 4c10faa3f53..e6bf94d552e 100644 --- a/service/qbusiness/snapshot/api_op_DeleteDataSource.go.snap +++ b/service/qbusiness/snapshot/api_op_DeleteDataSource.go.snap @@ -14,7 +14,6 @@ DeleteDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_DeleteGroup.go.snap b/service/qbusiness/snapshot/api_op_DeleteGroup.go.snap index fa762a3a297..9a74537ddc0 100644 --- a/service/qbusiness/snapshot/api_op_DeleteGroup.go.snap +++ b/service/qbusiness/snapshot/api_op_DeleteGroup.go.snap @@ -14,7 +14,6 @@ DeleteGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_DeleteIndex.go.snap b/service/qbusiness/snapshot/api_op_DeleteIndex.go.snap index 3c6c0587bdc..33b14cc57cf 100644 --- a/service/qbusiness/snapshot/api_op_DeleteIndex.go.snap +++ b/service/qbusiness/snapshot/api_op_DeleteIndex.go.snap @@ -14,7 +14,6 @@ DeleteIndex Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_DeletePlugin.go.snap b/service/qbusiness/snapshot/api_op_DeletePlugin.go.snap index 8686cca924f..b25c363950d 100644 --- a/service/qbusiness/snapshot/api_op_DeletePlugin.go.snap +++ b/service/qbusiness/snapshot/api_op_DeletePlugin.go.snap @@ -14,7 +14,6 @@ DeletePlugin Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_DeleteRetriever.go.snap b/service/qbusiness/snapshot/api_op_DeleteRetriever.go.snap index 90b4b044df7..ffc045d8438 100644 --- a/service/qbusiness/snapshot/api_op_DeleteRetriever.go.snap +++ b/service/qbusiness/snapshot/api_op_DeleteRetriever.go.snap @@ -14,7 +14,6 @@ DeleteRetriever Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_DeleteUser.go.snap b/service/qbusiness/snapshot/api_op_DeleteUser.go.snap index 43834da9879..eda6e5fae30 100644 --- a/service/qbusiness/snapshot/api_op_DeleteUser.go.snap +++ b/service/qbusiness/snapshot/api_op_DeleteUser.go.snap @@ -14,7 +14,6 @@ DeleteUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_DeleteWebExperience.go.snap b/service/qbusiness/snapshot/api_op_DeleteWebExperience.go.snap index f4286431989..c2f30bbb7ee 100644 --- a/service/qbusiness/snapshot/api_op_DeleteWebExperience.go.snap +++ b/service/qbusiness/snapshot/api_op_DeleteWebExperience.go.snap @@ -14,7 +14,6 @@ DeleteWebExperience Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_DisassociatePermission.go.snap b/service/qbusiness/snapshot/api_op_DisassociatePermission.go.snap index 42a9e426ef9..5247744cad2 100644 --- a/service/qbusiness/snapshot/api_op_DisassociatePermission.go.snap +++ b/service/qbusiness/snapshot/api_op_DisassociatePermission.go.snap @@ -14,7 +14,6 @@ DisassociatePermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_GetApplication.go.snap b/service/qbusiness/snapshot/api_op_GetApplication.go.snap index 3307f56eb00..ffc8b0228f7 100644 --- a/service/qbusiness/snapshot/api_op_GetApplication.go.snap +++ b/service/qbusiness/snapshot/api_op_GetApplication.go.snap @@ -14,7 +14,6 @@ GetApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_GetChatControlsConfiguration.go.snap b/service/qbusiness/snapshot/api_op_GetChatControlsConfiguration.go.snap index eb59f2be5a4..98dec9d3f2e 100644 --- a/service/qbusiness/snapshot/api_op_GetChatControlsConfiguration.go.snap +++ b/service/qbusiness/snapshot/api_op_GetChatControlsConfiguration.go.snap @@ -14,7 +14,6 @@ GetChatControlsConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_GetDataAccessor.go.snap b/service/qbusiness/snapshot/api_op_GetDataAccessor.go.snap index e507457cfdd..41f0c7217ac 100644 --- a/service/qbusiness/snapshot/api_op_GetDataAccessor.go.snap +++ b/service/qbusiness/snapshot/api_op_GetDataAccessor.go.snap @@ -14,7 +14,6 @@ GetDataAccessor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_GetDataSource.go.snap b/service/qbusiness/snapshot/api_op_GetDataSource.go.snap index 02f70812fc1..710bc995cac 100644 --- a/service/qbusiness/snapshot/api_op_GetDataSource.go.snap +++ b/service/qbusiness/snapshot/api_op_GetDataSource.go.snap @@ -14,7 +14,6 @@ GetDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_GetGroup.go.snap b/service/qbusiness/snapshot/api_op_GetGroup.go.snap index 25747cefc39..078a0814033 100644 --- a/service/qbusiness/snapshot/api_op_GetGroup.go.snap +++ b/service/qbusiness/snapshot/api_op_GetGroup.go.snap @@ -14,7 +14,6 @@ GetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_GetIndex.go.snap b/service/qbusiness/snapshot/api_op_GetIndex.go.snap index e337d4aa497..39b806e2a6d 100644 --- a/service/qbusiness/snapshot/api_op_GetIndex.go.snap +++ b/service/qbusiness/snapshot/api_op_GetIndex.go.snap @@ -14,7 +14,6 @@ GetIndex Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_GetMedia.go.snap b/service/qbusiness/snapshot/api_op_GetMedia.go.snap index 7c906b087e7..d52661d2b06 100644 --- a/service/qbusiness/snapshot/api_op_GetMedia.go.snap +++ b/service/qbusiness/snapshot/api_op_GetMedia.go.snap @@ -14,7 +14,6 @@ GetMedia Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_GetPlugin.go.snap b/service/qbusiness/snapshot/api_op_GetPlugin.go.snap index 5694fcefb94..72ca1e97edd 100644 --- a/service/qbusiness/snapshot/api_op_GetPlugin.go.snap +++ b/service/qbusiness/snapshot/api_op_GetPlugin.go.snap @@ -14,7 +14,6 @@ GetPlugin Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_GetPolicy.go.snap b/service/qbusiness/snapshot/api_op_GetPolicy.go.snap index dc1a8d53693..1a5ac50a868 100644 --- a/service/qbusiness/snapshot/api_op_GetPolicy.go.snap +++ b/service/qbusiness/snapshot/api_op_GetPolicy.go.snap @@ -14,7 +14,6 @@ GetPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_GetRetriever.go.snap b/service/qbusiness/snapshot/api_op_GetRetriever.go.snap index a196d612f83..e4f4d11d14f 100644 --- a/service/qbusiness/snapshot/api_op_GetRetriever.go.snap +++ b/service/qbusiness/snapshot/api_op_GetRetriever.go.snap @@ -14,7 +14,6 @@ GetRetriever Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_GetUser.go.snap b/service/qbusiness/snapshot/api_op_GetUser.go.snap index b46d4656e9a..f5c0f99bd52 100644 --- a/service/qbusiness/snapshot/api_op_GetUser.go.snap +++ b/service/qbusiness/snapshot/api_op_GetUser.go.snap @@ -14,7 +14,6 @@ GetUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_GetWebExperience.go.snap b/service/qbusiness/snapshot/api_op_GetWebExperience.go.snap index adefbc7ede8..91b2de7ba3a 100644 --- a/service/qbusiness/snapshot/api_op_GetWebExperience.go.snap +++ b/service/qbusiness/snapshot/api_op_GetWebExperience.go.snap @@ -14,7 +14,6 @@ GetWebExperience Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_ListApplications.go.snap b/service/qbusiness/snapshot/api_op_ListApplications.go.snap index e18746bd34f..6029195b8e8 100644 --- a/service/qbusiness/snapshot/api_op_ListApplications.go.snap +++ b/service/qbusiness/snapshot/api_op_ListApplications.go.snap @@ -13,7 +13,6 @@ ListApplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_ListAttachments.go.snap b/service/qbusiness/snapshot/api_op_ListAttachments.go.snap index d14cbf6aa64..ddf935480d0 100644 --- a/service/qbusiness/snapshot/api_op_ListAttachments.go.snap +++ b/service/qbusiness/snapshot/api_op_ListAttachments.go.snap @@ -14,7 +14,6 @@ ListAttachments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_ListConversations.go.snap b/service/qbusiness/snapshot/api_op_ListConversations.go.snap index 72c75939c42..79858ef821b 100644 --- a/service/qbusiness/snapshot/api_op_ListConversations.go.snap +++ b/service/qbusiness/snapshot/api_op_ListConversations.go.snap @@ -14,7 +14,6 @@ ListConversations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_ListDataAccessors.go.snap b/service/qbusiness/snapshot/api_op_ListDataAccessors.go.snap index e0f42699e18..5c7657af806 100644 --- a/service/qbusiness/snapshot/api_op_ListDataAccessors.go.snap +++ b/service/qbusiness/snapshot/api_op_ListDataAccessors.go.snap @@ -14,7 +14,6 @@ ListDataAccessors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_ListDataSourceSyncJobs.go.snap b/service/qbusiness/snapshot/api_op_ListDataSourceSyncJobs.go.snap index a691b3f1151..136b531d5c3 100644 --- a/service/qbusiness/snapshot/api_op_ListDataSourceSyncJobs.go.snap +++ b/service/qbusiness/snapshot/api_op_ListDataSourceSyncJobs.go.snap @@ -14,7 +14,6 @@ ListDataSourceSyncJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_ListDataSources.go.snap b/service/qbusiness/snapshot/api_op_ListDataSources.go.snap index c47a00675e6..2ef138c6eb5 100644 --- a/service/qbusiness/snapshot/api_op_ListDataSources.go.snap +++ b/service/qbusiness/snapshot/api_op_ListDataSources.go.snap @@ -14,7 +14,6 @@ ListDataSources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_ListDocuments.go.snap b/service/qbusiness/snapshot/api_op_ListDocuments.go.snap index 719bf5d4aaa..3a69fe976e0 100644 --- a/service/qbusiness/snapshot/api_op_ListDocuments.go.snap +++ b/service/qbusiness/snapshot/api_op_ListDocuments.go.snap @@ -14,7 +14,6 @@ ListDocuments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_ListGroups.go.snap b/service/qbusiness/snapshot/api_op_ListGroups.go.snap index 96d00de9d60..2cce91ebfeb 100644 --- a/service/qbusiness/snapshot/api_op_ListGroups.go.snap +++ b/service/qbusiness/snapshot/api_op_ListGroups.go.snap @@ -14,7 +14,6 @@ ListGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_ListIndices.go.snap b/service/qbusiness/snapshot/api_op_ListIndices.go.snap index 57d36fdaa24..362fe01484a 100644 --- a/service/qbusiness/snapshot/api_op_ListIndices.go.snap +++ b/service/qbusiness/snapshot/api_op_ListIndices.go.snap @@ -14,7 +14,6 @@ ListIndices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_ListMessages.go.snap b/service/qbusiness/snapshot/api_op_ListMessages.go.snap index bcfb264140d..c5f30f59f44 100644 --- a/service/qbusiness/snapshot/api_op_ListMessages.go.snap +++ b/service/qbusiness/snapshot/api_op_ListMessages.go.snap @@ -14,7 +14,6 @@ ListMessages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_ListPluginActions.go.snap b/service/qbusiness/snapshot/api_op_ListPluginActions.go.snap index 1724cff3a1c..8409dc5251e 100644 --- a/service/qbusiness/snapshot/api_op_ListPluginActions.go.snap +++ b/service/qbusiness/snapshot/api_op_ListPluginActions.go.snap @@ -14,7 +14,6 @@ ListPluginActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_ListPluginTypeActions.go.snap b/service/qbusiness/snapshot/api_op_ListPluginTypeActions.go.snap index e3ba603be21..37ad0f8f465 100644 --- a/service/qbusiness/snapshot/api_op_ListPluginTypeActions.go.snap +++ b/service/qbusiness/snapshot/api_op_ListPluginTypeActions.go.snap @@ -14,7 +14,6 @@ ListPluginTypeActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_ListPluginTypeMetadata.go.snap b/service/qbusiness/snapshot/api_op_ListPluginTypeMetadata.go.snap index f611a8b57f6..b1f2c0e6547 100644 --- a/service/qbusiness/snapshot/api_op_ListPluginTypeMetadata.go.snap +++ b/service/qbusiness/snapshot/api_op_ListPluginTypeMetadata.go.snap @@ -13,7 +13,6 @@ ListPluginTypeMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_ListPlugins.go.snap b/service/qbusiness/snapshot/api_op_ListPlugins.go.snap index 99d3e8546b5..78965faec1a 100644 --- a/service/qbusiness/snapshot/api_op_ListPlugins.go.snap +++ b/service/qbusiness/snapshot/api_op_ListPlugins.go.snap @@ -14,7 +14,6 @@ ListPlugins Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_ListRetrievers.go.snap b/service/qbusiness/snapshot/api_op_ListRetrievers.go.snap index b03c2a401ed..42c9a5aa6c9 100644 --- a/service/qbusiness/snapshot/api_op_ListRetrievers.go.snap +++ b/service/qbusiness/snapshot/api_op_ListRetrievers.go.snap @@ -14,7 +14,6 @@ ListRetrievers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_ListSubscriptions.go.snap b/service/qbusiness/snapshot/api_op_ListSubscriptions.go.snap index 529cf25a2e7..de1b4b801bf 100644 --- a/service/qbusiness/snapshot/api_op_ListSubscriptions.go.snap +++ b/service/qbusiness/snapshot/api_op_ListSubscriptions.go.snap @@ -14,7 +14,6 @@ ListSubscriptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_ListTagsForResource.go.snap b/service/qbusiness/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/qbusiness/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/qbusiness/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_ListWebExperiences.go.snap b/service/qbusiness/snapshot/api_op_ListWebExperiences.go.snap index faf921bc360..b5d5fb0c023 100644 --- a/service/qbusiness/snapshot/api_op_ListWebExperiences.go.snap +++ b/service/qbusiness/snapshot/api_op_ListWebExperiences.go.snap @@ -14,7 +14,6 @@ ListWebExperiences Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_PutFeedback.go.snap b/service/qbusiness/snapshot/api_op_PutFeedback.go.snap index d7a57d82976..822a47e67ad 100644 --- a/service/qbusiness/snapshot/api_op_PutFeedback.go.snap +++ b/service/qbusiness/snapshot/api_op_PutFeedback.go.snap @@ -14,7 +14,6 @@ PutFeedback Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_PutGroup.go.snap b/service/qbusiness/snapshot/api_op_PutGroup.go.snap index 7259f3e27c3..0c725540a9d 100644 --- a/service/qbusiness/snapshot/api_op_PutGroup.go.snap +++ b/service/qbusiness/snapshot/api_op_PutGroup.go.snap @@ -14,7 +14,6 @@ PutGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_SearchRelevantContent.go.snap b/service/qbusiness/snapshot/api_op_SearchRelevantContent.go.snap index 7c99859981f..a1f0d6fd532 100644 --- a/service/qbusiness/snapshot/api_op_SearchRelevantContent.go.snap +++ b/service/qbusiness/snapshot/api_op_SearchRelevantContent.go.snap @@ -14,7 +14,6 @@ SearchRelevantContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_StartDataSourceSyncJob.go.snap b/service/qbusiness/snapshot/api_op_StartDataSourceSyncJob.go.snap index c94c4836c75..f391b641cbc 100644 --- a/service/qbusiness/snapshot/api_op_StartDataSourceSyncJob.go.snap +++ b/service/qbusiness/snapshot/api_op_StartDataSourceSyncJob.go.snap @@ -14,7 +14,6 @@ StartDataSourceSyncJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_StopDataSourceSyncJob.go.snap b/service/qbusiness/snapshot/api_op_StopDataSourceSyncJob.go.snap index 81a8785c81b..960bd360328 100644 --- a/service/qbusiness/snapshot/api_op_StopDataSourceSyncJob.go.snap +++ b/service/qbusiness/snapshot/api_op_StopDataSourceSyncJob.go.snap @@ -14,7 +14,6 @@ StopDataSourceSyncJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_TagResource.go.snap b/service/qbusiness/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/qbusiness/snapshot/api_op_TagResource.go.snap +++ b/service/qbusiness/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_UntagResource.go.snap b/service/qbusiness/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/qbusiness/snapshot/api_op_UntagResource.go.snap +++ b/service/qbusiness/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_UpdateApplication.go.snap b/service/qbusiness/snapshot/api_op_UpdateApplication.go.snap index 5ec4c02edff..d4e2fa4991a 100644 --- a/service/qbusiness/snapshot/api_op_UpdateApplication.go.snap +++ b/service/qbusiness/snapshot/api_op_UpdateApplication.go.snap @@ -14,7 +14,6 @@ UpdateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_UpdateChatControlsConfiguration.go.snap b/service/qbusiness/snapshot/api_op_UpdateChatControlsConfiguration.go.snap index 9e26a3ddf6d..4c39c7e48a1 100644 --- a/service/qbusiness/snapshot/api_op_UpdateChatControlsConfiguration.go.snap +++ b/service/qbusiness/snapshot/api_op_UpdateChatControlsConfiguration.go.snap @@ -15,7 +15,6 @@ UpdateChatControlsConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_UpdateDataAccessor.go.snap b/service/qbusiness/snapshot/api_op_UpdateDataAccessor.go.snap index 1a1907c99a0..98b05cf6aeb 100644 --- a/service/qbusiness/snapshot/api_op_UpdateDataAccessor.go.snap +++ b/service/qbusiness/snapshot/api_op_UpdateDataAccessor.go.snap @@ -14,7 +14,6 @@ UpdateDataAccessor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_UpdateDataSource.go.snap b/service/qbusiness/snapshot/api_op_UpdateDataSource.go.snap index 7c4d5cf15b4..02ae762c076 100644 --- a/service/qbusiness/snapshot/api_op_UpdateDataSource.go.snap +++ b/service/qbusiness/snapshot/api_op_UpdateDataSource.go.snap @@ -14,7 +14,6 @@ UpdateDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_UpdateIndex.go.snap b/service/qbusiness/snapshot/api_op_UpdateIndex.go.snap index 95037b0c53c..f4ad1d60fca 100644 --- a/service/qbusiness/snapshot/api_op_UpdateIndex.go.snap +++ b/service/qbusiness/snapshot/api_op_UpdateIndex.go.snap @@ -14,7 +14,6 @@ UpdateIndex Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_UpdatePlugin.go.snap b/service/qbusiness/snapshot/api_op_UpdatePlugin.go.snap index e05f7a65130..352724bf706 100644 --- a/service/qbusiness/snapshot/api_op_UpdatePlugin.go.snap +++ b/service/qbusiness/snapshot/api_op_UpdatePlugin.go.snap @@ -14,7 +14,6 @@ UpdatePlugin Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_UpdateRetriever.go.snap b/service/qbusiness/snapshot/api_op_UpdateRetriever.go.snap index 36a4ecb5ea8..43572e30567 100644 --- a/service/qbusiness/snapshot/api_op_UpdateRetriever.go.snap +++ b/service/qbusiness/snapshot/api_op_UpdateRetriever.go.snap @@ -14,7 +14,6 @@ UpdateRetriever Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_UpdateSubscription.go.snap b/service/qbusiness/snapshot/api_op_UpdateSubscription.go.snap index 0d0f1bbd300..830667b9b9b 100644 --- a/service/qbusiness/snapshot/api_op_UpdateSubscription.go.snap +++ b/service/qbusiness/snapshot/api_op_UpdateSubscription.go.snap @@ -14,7 +14,6 @@ UpdateSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_UpdateUser.go.snap b/service/qbusiness/snapshot/api_op_UpdateUser.go.snap index 52e6424cb0f..bee553c064e 100644 --- a/service/qbusiness/snapshot/api_op_UpdateUser.go.snap +++ b/service/qbusiness/snapshot/api_op_UpdateUser.go.snap @@ -14,7 +14,6 @@ UpdateUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qbusiness/snapshot/api_op_UpdateWebExperience.go.snap b/service/qbusiness/snapshot/api_op_UpdateWebExperience.go.snap index f90c02db247..eddb4bf75ad 100644 --- a/service/qbusiness/snapshot/api_op_UpdateWebExperience.go.snap +++ b/service/qbusiness/snapshot/api_op_UpdateWebExperience.go.snap @@ -14,7 +14,6 @@ UpdateWebExperience Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/api_client.go b/service/qconnect/api_client.go index bf0d33ea100..69de38862db 100644 --- a/service/qconnect/api_client.go +++ b/service/qconnect/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/qconnect/api_op_ActivateMessageTemplate.go b/service/qconnect/api_op_ActivateMessageTemplate.go index 69c52115e6f..22f1f731171 100644 --- a/service/qconnect/api_op_ActivateMessageTemplate.go +++ b/service/qconnect/api_op_ActivateMessageTemplate.go @@ -138,9 +138,6 @@ func (c *Client) addOperationActivateMessageTemplateMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpActivateMessageTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_CreateAIAgent.go b/service/qconnect/api_op_CreateAIAgent.go index 1d73d99f260..4c31f7bf246 100644 --- a/service/qconnect/api_op_CreateAIAgent.go +++ b/service/qconnect/api_op_CreateAIAgent.go @@ -146,9 +146,6 @@ func (c *Client) addOperationCreateAIAgentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAIAgentMiddleware(stack, options); err != nil { return err } diff --git a/service/qconnect/api_op_CreateAIAgentVersion.go b/service/qconnect/api_op_CreateAIAgentVersion.go index 6ba3f23a8d0..077a9952103 100644 --- a/service/qconnect/api_op_CreateAIAgentVersion.go +++ b/service/qconnect/api_op_CreateAIAgentVersion.go @@ -137,9 +137,6 @@ func (c *Client) addOperationCreateAIAgentVersionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAIAgentVersionMiddleware(stack, options); err != nil { return err } diff --git a/service/qconnect/api_op_CreateAIGuardrail.go b/service/qconnect/api_op_CreateAIGuardrail.go index 497a39b3f52..7963455cd54 100644 --- a/service/qconnect/api_op_CreateAIGuardrail.go +++ b/service/qconnect/api_op_CreateAIGuardrail.go @@ -161,9 +161,6 @@ func (c *Client) addOperationCreateAIGuardrailMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAIGuardrailMiddleware(stack, options); err != nil { return err } diff --git a/service/qconnect/api_op_CreateAIGuardrailVersion.go b/service/qconnect/api_op_CreateAIGuardrailVersion.go index 9df4b234449..c929842d447 100644 --- a/service/qconnect/api_op_CreateAIGuardrailVersion.go +++ b/service/qconnect/api_op_CreateAIGuardrailVersion.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateAIGuardrailVersionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAIGuardrailVersionMiddleware(stack, options); err != nil { return err } diff --git a/service/qconnect/api_op_CreateAIPrompt.go b/service/qconnect/api_op_CreateAIPrompt.go index b4c95d6ee9c..e53978e9b5f 100644 --- a/service/qconnect/api_op_CreateAIPrompt.go +++ b/service/qconnect/api_op_CreateAIPrompt.go @@ -162,9 +162,6 @@ func (c *Client) addOperationCreateAIPromptMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAIPromptMiddleware(stack, options); err != nil { return err } diff --git a/service/qconnect/api_op_CreateAIPromptVersion.go b/service/qconnect/api_op_CreateAIPromptVersion.go index f9f1044c11c..1f3d8f477b8 100644 --- a/service/qconnect/api_op_CreateAIPromptVersion.go +++ b/service/qconnect/api_op_CreateAIPromptVersion.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateAIPromptVersionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAIPromptVersionMiddleware(stack, options); err != nil { return err } diff --git a/service/qconnect/api_op_CreateAssistant.go b/service/qconnect/api_op_CreateAssistant.go index 35e12ee68a1..aee628b1890 100644 --- a/service/qconnect/api_op_CreateAssistant.go +++ b/service/qconnect/api_op_CreateAssistant.go @@ -144,9 +144,6 @@ func (c *Client) addOperationCreateAssistantMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAssistantMiddleware(stack, options); err != nil { return err } diff --git a/service/qconnect/api_op_CreateAssistantAssociation.go b/service/qconnect/api_op_CreateAssistantAssociation.go index 4cfb7e3a818..17b8bddd7c1 100644 --- a/service/qconnect/api_op_CreateAssistantAssociation.go +++ b/service/qconnect/api_op_CreateAssistantAssociation.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateAssistantAssociationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAssistantAssociationMiddleware(stack, options); err != nil { return err } diff --git a/service/qconnect/api_op_CreateContent.go b/service/qconnect/api_op_CreateContent.go index 908f348e555..6560baab0e3 100644 --- a/service/qconnect/api_op_CreateContent.go +++ b/service/qconnect/api_op_CreateContent.go @@ -155,9 +155,6 @@ func (c *Client) addOperationCreateContentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateContentMiddleware(stack, options); err != nil { return err } diff --git a/service/qconnect/api_op_CreateContentAssociation.go b/service/qconnect/api_op_CreateContentAssociation.go index 5ee90f5f9ea..9994611afbd 100644 --- a/service/qconnect/api_op_CreateContentAssociation.go +++ b/service/qconnect/api_op_CreateContentAssociation.go @@ -157,9 +157,6 @@ func (c *Client) addOperationCreateContentAssociationMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateContentAssociationMiddleware(stack, options); err != nil { return err } diff --git a/service/qconnect/api_op_CreateKnowledgeBase.go b/service/qconnect/api_op_CreateKnowledgeBase.go index 07f88ef692f..e8ff4c305cf 100644 --- a/service/qconnect/api_op_CreateKnowledgeBase.go +++ b/service/qconnect/api_op_CreateKnowledgeBase.go @@ -175,9 +175,6 @@ func (c *Client) addOperationCreateKnowledgeBaseMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateKnowledgeBaseMiddleware(stack, options); err != nil { return err } diff --git a/service/qconnect/api_op_CreateMessageTemplate.go b/service/qconnect/api_op_CreateMessageTemplate.go index 4d594a42421..17747816f97 100644 --- a/service/qconnect/api_op_CreateMessageTemplate.go +++ b/service/qconnect/api_op_CreateMessageTemplate.go @@ -159,9 +159,6 @@ func (c *Client) addOperationCreateMessageTemplateMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateMessageTemplateMiddleware(stack, options); err != nil { return err } diff --git a/service/qconnect/api_op_CreateMessageTemplateAttachment.go b/service/qconnect/api_op_CreateMessageTemplateAttachment.go index e2755f9675b..478dd43a6b6 100644 --- a/service/qconnect/api_op_CreateMessageTemplateAttachment.go +++ b/service/qconnect/api_op_CreateMessageTemplateAttachment.go @@ -148,9 +148,6 @@ func (c *Client) addOperationCreateMessageTemplateAttachmentMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateMessageTemplateAttachmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_CreateMessageTemplateVersion.go b/service/qconnect/api_op_CreateMessageTemplateVersion.go index 03ea3a9efa8..08536f842e9 100644 --- a/service/qconnect/api_op_CreateMessageTemplateVersion.go +++ b/service/qconnect/api_op_CreateMessageTemplateVersion.go @@ -137,9 +137,6 @@ func (c *Client) addOperationCreateMessageTemplateVersionMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateMessageTemplateVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_CreateQuickResponse.go b/service/qconnect/api_op_CreateQuickResponse.go index 7a064084571..5a4f47319b2 100644 --- a/service/qconnect/api_op_CreateQuickResponse.go +++ b/service/qconnect/api_op_CreateQuickResponse.go @@ -164,9 +164,6 @@ func (c *Client) addOperationCreateQuickResponseMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateQuickResponseMiddleware(stack, options); err != nil { return err } diff --git a/service/qconnect/api_op_CreateSession.go b/service/qconnect/api_op_CreateSession.go index c8ba14b0bcd..c87821f0ce3 100644 --- a/service/qconnect/api_op_CreateSession.go +++ b/service/qconnect/api_op_CreateSession.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreateSessionMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateSessionMiddleware(stack, options); err != nil { return err } diff --git a/service/qconnect/api_op_DeactivateMessageTemplate.go b/service/qconnect/api_op_DeactivateMessageTemplate.go index 0aca5081cd7..16611652e94 100644 --- a/service/qconnect/api_op_DeactivateMessageTemplate.go +++ b/service/qconnect/api_op_DeactivateMessageTemplate.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDeactivateMessageTemplateMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeactivateMessageTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_DeleteAIAgent.go b/service/qconnect/api_op_DeleteAIAgent.go index 62c97ad9ff4..587ed43db4d 100644 --- a/service/qconnect/api_op_DeleteAIAgent.go +++ b/service/qconnect/api_op_DeleteAIAgent.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteAIAgentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAIAgentValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_DeleteAIAgentVersion.go b/service/qconnect/api_op_DeleteAIAgentVersion.go index 962478d8f47..b78b60f8485 100644 --- a/service/qconnect/api_op_DeleteAIAgentVersion.go +++ b/service/qconnect/api_op_DeleteAIAgentVersion.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteAIAgentVersionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAIAgentVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_DeleteAIGuardrail.go b/service/qconnect/api_op_DeleteAIGuardrail.go index e75eb7f0fdc..80fb786a602 100644 --- a/service/qconnect/api_op_DeleteAIGuardrail.go +++ b/service/qconnect/api_op_DeleteAIGuardrail.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteAIGuardrailMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAIGuardrailValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_DeleteAIGuardrailVersion.go b/service/qconnect/api_op_DeleteAIGuardrailVersion.go index 5f4fde932d0..0b9e120b50e 100644 --- a/service/qconnect/api_op_DeleteAIGuardrailVersion.go +++ b/service/qconnect/api_op_DeleteAIGuardrailVersion.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteAIGuardrailVersionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAIGuardrailVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_DeleteAIPrompt.go b/service/qconnect/api_op_DeleteAIPrompt.go index bf66c33a7af..27245b7a766 100644 --- a/service/qconnect/api_op_DeleteAIPrompt.go +++ b/service/qconnect/api_op_DeleteAIPrompt.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteAIPromptMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAIPromptValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_DeleteAIPromptVersion.go b/service/qconnect/api_op_DeleteAIPromptVersion.go index 9b5accb7758..5629ed21507 100644 --- a/service/qconnect/api_op_DeleteAIPromptVersion.go +++ b/service/qconnect/api_op_DeleteAIPromptVersion.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteAIPromptVersionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAIPromptVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_DeleteAssistant.go b/service/qconnect/api_op_DeleteAssistant.go index c6ca468d1f2..b2358d6c905 100644 --- a/service/qconnect/api_op_DeleteAssistant.go +++ b/service/qconnect/api_op_DeleteAssistant.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteAssistantMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAssistantValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_DeleteAssistantAssociation.go b/service/qconnect/api_op_DeleteAssistantAssociation.go index 8dcec14ef89..6e5bd722337 100644 --- a/service/qconnect/api_op_DeleteAssistantAssociation.go +++ b/service/qconnect/api_op_DeleteAssistantAssociation.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteAssistantAssociationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAssistantAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_DeleteContent.go b/service/qconnect/api_op_DeleteContent.go index 23628107251..309c82638d1 100644 --- a/service/qconnect/api_op_DeleteContent.go +++ b/service/qconnect/api_op_DeleteContent.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteContentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_DeleteContentAssociation.go b/service/qconnect/api_op_DeleteContentAssociation.go index 6b26894a413..6655f3210bf 100644 --- a/service/qconnect/api_op_DeleteContentAssociation.go +++ b/service/qconnect/api_op_DeleteContentAssociation.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteContentAssociationMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteContentAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_DeleteImportJob.go b/service/qconnect/api_op_DeleteImportJob.go index b664b77029b..adb08c72aab 100644 --- a/service/qconnect/api_op_DeleteImportJob.go +++ b/service/qconnect/api_op_DeleteImportJob.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteImportJobMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteImportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_DeleteKnowledgeBase.go b/service/qconnect/api_op_DeleteKnowledgeBase.go index 11197043117..59620bc7681 100644 --- a/service/qconnect/api_op_DeleteKnowledgeBase.go +++ b/service/qconnect/api_op_DeleteKnowledgeBase.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteKnowledgeBaseMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteKnowledgeBaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_DeleteMessageTemplate.go b/service/qconnect/api_op_DeleteMessageTemplate.go index 0145d0c933e..a14700bc6f2 100644 --- a/service/qconnect/api_op_DeleteMessageTemplate.go +++ b/service/qconnect/api_op_DeleteMessageTemplate.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteMessageTemplateMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMessageTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_DeleteMessageTemplateAttachment.go b/service/qconnect/api_op_DeleteMessageTemplateAttachment.go index b97c209ad69..06ef71edad0 100644 --- a/service/qconnect/api_op_DeleteMessageTemplateAttachment.go +++ b/service/qconnect/api_op_DeleteMessageTemplateAttachment.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteMessageTemplateAttachmentMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMessageTemplateAttachmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_DeleteQuickResponse.go b/service/qconnect/api_op_DeleteQuickResponse.go index 4d8310e1f32..d21dc7347ca 100644 --- a/service/qconnect/api_op_DeleteQuickResponse.go +++ b/service/qconnect/api_op_DeleteQuickResponse.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteQuickResponseMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteQuickResponseValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_GetAIAgent.go b/service/qconnect/api_op_GetAIAgent.go index f70c6f43eb9..d78edd4727c 100644 --- a/service/qconnect/api_op_GetAIAgent.go +++ b/service/qconnect/api_op_GetAIAgent.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetAIAgentMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAIAgentValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_GetAIGuardrail.go b/service/qconnect/api_op_GetAIGuardrail.go index 0739c9f7116..e6e36048e0e 100644 --- a/service/qconnect/api_op_GetAIGuardrail.go +++ b/service/qconnect/api_op_GetAIGuardrail.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetAIGuardrailMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAIGuardrailValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_GetAIPrompt.go b/service/qconnect/api_op_GetAIPrompt.go index 2eefb914670..5e7bddf9db4 100644 --- a/service/qconnect/api_op_GetAIPrompt.go +++ b/service/qconnect/api_op_GetAIPrompt.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetAIPromptMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAIPromptValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_GetAssistant.go b/service/qconnect/api_op_GetAssistant.go index 3480e4697bf..daac083f269 100644 --- a/service/qconnect/api_op_GetAssistant.go +++ b/service/qconnect/api_op_GetAssistant.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetAssistantMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAssistantValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_GetAssistantAssociation.go b/service/qconnect/api_op_GetAssistantAssociation.go index e2278a131c4..756196db05d 100644 --- a/service/qconnect/api_op_GetAssistantAssociation.go +++ b/service/qconnect/api_op_GetAssistantAssociation.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetAssistantAssociationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAssistantAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_GetContent.go b/service/qconnect/api_op_GetContent.go index 4e7663c2670..d3e3ad1c893 100644 --- a/service/qconnect/api_op_GetContent.go +++ b/service/qconnect/api_op_GetContent.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetContentMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_GetContentAssociation.go b/service/qconnect/api_op_GetContentAssociation.go index 57a5f0eeec2..4b7b6127c98 100644 --- a/service/qconnect/api_op_GetContentAssociation.go +++ b/service/qconnect/api_op_GetContentAssociation.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetContentAssociationMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetContentAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_GetContentSummary.go b/service/qconnect/api_op_GetContentSummary.go index ded960141f8..d3b55d6753e 100644 --- a/service/qconnect/api_op_GetContentSummary.go +++ b/service/qconnect/api_op_GetContentSummary.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetContentSummaryMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetContentSummaryValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_GetImportJob.go b/service/qconnect/api_op_GetImportJob.go index 3e189cabae4..1738d92e8eb 100644 --- a/service/qconnect/api_op_GetImportJob.go +++ b/service/qconnect/api_op_GetImportJob.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetImportJobMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetImportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_GetKnowledgeBase.go b/service/qconnect/api_op_GetKnowledgeBase.go index 6e15f78ce6e..58726ec18df 100644 --- a/service/qconnect/api_op_GetKnowledgeBase.go +++ b/service/qconnect/api_op_GetKnowledgeBase.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetKnowledgeBaseMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetKnowledgeBaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_GetMessageTemplate.go b/service/qconnect/api_op_GetMessageTemplate.go index 5d09caa56be..f75e8e2ca00 100644 --- a/service/qconnect/api_op_GetMessageTemplate.go +++ b/service/qconnect/api_op_GetMessageTemplate.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetMessageTemplateMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMessageTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_GetNextMessage.go b/service/qconnect/api_op_GetNextMessage.go index 7de60ce18ae..2549bc75137 100644 --- a/service/qconnect/api_op_GetNextMessage.go +++ b/service/qconnect/api_op_GetNextMessage.go @@ -146,9 +146,6 @@ func (c *Client) addOperationGetNextMessageMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetNextMessageValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_GetQuickResponse.go b/service/qconnect/api_op_GetQuickResponse.go index 68e0e9c95b4..9866ed938a6 100644 --- a/service/qconnect/api_op_GetQuickResponse.go +++ b/service/qconnect/api_op_GetQuickResponse.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetQuickResponseMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetQuickResponseValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_GetRecommendations.go b/service/qconnect/api_op_GetRecommendations.go index d25ef0df781..947f4cb233e 100644 --- a/service/qconnect/api_op_GetRecommendations.go +++ b/service/qconnect/api_op_GetRecommendations.go @@ -150,9 +150,6 @@ func (c *Client) addOperationGetRecommendationsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRecommendationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_GetSession.go b/service/qconnect/api_op_GetSession.go index 6270f7ea74c..2d6257049ba 100644 --- a/service/qconnect/api_op_GetSession.go +++ b/service/qconnect/api_op_GetSession.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetSessionMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_ListAIAgentVersions.go b/service/qconnect/api_op_ListAIAgentVersions.go index 79c850e06c9..ed984434537 100644 --- a/service/qconnect/api_op_ListAIAgentVersions.go +++ b/service/qconnect/api_op_ListAIAgentVersions.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListAIAgentVersionsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAIAgentVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_ListAIAgents.go b/service/qconnect/api_op_ListAIAgents.go index 951dfab5e90..a5e3fe126d8 100644 --- a/service/qconnect/api_op_ListAIAgents.go +++ b/service/qconnect/api_op_ListAIAgents.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListAIAgentsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAIAgentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_ListAIGuardrailVersions.go b/service/qconnect/api_op_ListAIGuardrailVersions.go index 680e38b1bb2..e1e4b8b3b33 100644 --- a/service/qconnect/api_op_ListAIGuardrailVersions.go +++ b/service/qconnect/api_op_ListAIGuardrailVersions.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListAIGuardrailVersionsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAIGuardrailVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_ListAIGuardrails.go b/service/qconnect/api_op_ListAIGuardrails.go index d9762a6fa9d..0e04238c53d 100644 --- a/service/qconnect/api_op_ListAIGuardrails.go +++ b/service/qconnect/api_op_ListAIGuardrails.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListAIGuardrailsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAIGuardrailsValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_ListAIPromptVersions.go b/service/qconnect/api_op_ListAIPromptVersions.go index 646a8ab444b..4f4229eb737 100644 --- a/service/qconnect/api_op_ListAIPromptVersions.go +++ b/service/qconnect/api_op_ListAIPromptVersions.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListAIPromptVersionsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAIPromptVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_ListAIPrompts.go b/service/qconnect/api_op_ListAIPrompts.go index 58c0f799b77..d2cf092d1ac 100644 --- a/service/qconnect/api_op_ListAIPrompts.go +++ b/service/qconnect/api_op_ListAIPrompts.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListAIPromptsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAIPromptsValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_ListAssistantAssociations.go b/service/qconnect/api_op_ListAssistantAssociations.go index 04f88b86d23..b41616bfeeb 100644 --- a/service/qconnect/api_op_ListAssistantAssociations.go +++ b/service/qconnect/api_op_ListAssistantAssociations.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListAssistantAssociationsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAssistantAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_ListAssistants.go b/service/qconnect/api_op_ListAssistants.go index adcda2220e9..88da42fb9f3 100644 --- a/service/qconnect/api_op_ListAssistants.go +++ b/service/qconnect/api_op_ListAssistants.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListAssistantsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssistants(options.Region), middleware.Before); err != nil { return err } diff --git a/service/qconnect/api_op_ListContentAssociations.go b/service/qconnect/api_op_ListContentAssociations.go index 4ef148f1d7e..5c38729ded4 100644 --- a/service/qconnect/api_op_ListContentAssociations.go +++ b/service/qconnect/api_op_ListContentAssociations.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListContentAssociationsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListContentAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_ListContents.go b/service/qconnect/api_op_ListContents.go index ac05aaa679d..e1f1911a119 100644 --- a/service/qconnect/api_op_ListContents.go +++ b/service/qconnect/api_op_ListContents.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListContentsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListContentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_ListImportJobs.go b/service/qconnect/api_op_ListImportJobs.go index c43e983cf25..320b4401671 100644 --- a/service/qconnect/api_op_ListImportJobs.go +++ b/service/qconnect/api_op_ListImportJobs.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListImportJobsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListImportJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_ListKnowledgeBases.go b/service/qconnect/api_op_ListKnowledgeBases.go index 2b54c340f94..6a740decabb 100644 --- a/service/qconnect/api_op_ListKnowledgeBases.go +++ b/service/qconnect/api_op_ListKnowledgeBases.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListKnowledgeBasesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListKnowledgeBases(options.Region), middleware.Before); err != nil { return err } diff --git a/service/qconnect/api_op_ListMessageTemplateVersions.go b/service/qconnect/api_op_ListMessageTemplateVersions.go index 2df560543a6..6f8b8fe0e63 100644 --- a/service/qconnect/api_op_ListMessageTemplateVersions.go +++ b/service/qconnect/api_op_ListMessageTemplateVersions.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListMessageTemplateVersionsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMessageTemplateVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_ListMessageTemplates.go b/service/qconnect/api_op_ListMessageTemplates.go index 104f5bc8b21..97119e2992d 100644 --- a/service/qconnect/api_op_ListMessageTemplates.go +++ b/service/qconnect/api_op_ListMessageTemplates.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListMessageTemplatesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMessageTemplatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_ListMessages.go b/service/qconnect/api_op_ListMessages.go index 13ba063a82a..231ed11f754 100644 --- a/service/qconnect/api_op_ListMessages.go +++ b/service/qconnect/api_op_ListMessages.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListMessagesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMessagesValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_ListQuickResponses.go b/service/qconnect/api_op_ListQuickResponses.go index b810dc674ba..da510f4c6fc 100644 --- a/service/qconnect/api_op_ListQuickResponses.go +++ b/service/qconnect/api_op_ListQuickResponses.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListQuickResponsesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListQuickResponsesValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_ListTagsForResource.go b/service/qconnect/api_op_ListTagsForResource.go index b2dd36109cd..9f76842c1de 100644 --- a/service/qconnect/api_op_ListTagsForResource.go +++ b/service/qconnect/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_NotifyRecommendationsReceived.go b/service/qconnect/api_op_NotifyRecommendationsReceived.go index 4b836930862..62acf9e9780 100644 --- a/service/qconnect/api_op_NotifyRecommendationsReceived.go +++ b/service/qconnect/api_op_NotifyRecommendationsReceived.go @@ -132,9 +132,6 @@ func (c *Client) addOperationNotifyRecommendationsReceivedMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpNotifyRecommendationsReceivedValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_PutFeedback.go b/service/qconnect/api_op_PutFeedback.go index 17118d48eef..09d96038a48 100644 --- a/service/qconnect/api_op_PutFeedback.go +++ b/service/qconnect/api_op_PutFeedback.go @@ -150,9 +150,6 @@ func (c *Client) addOperationPutFeedbackMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutFeedbackValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_QueryAssistant.go b/service/qconnect/api_op_QueryAssistant.go index 84070f668b2..3f5db9e3411 100644 --- a/service/qconnect/api_op_QueryAssistant.go +++ b/service/qconnect/api_op_QueryAssistant.go @@ -156,9 +156,6 @@ func (c *Client) addOperationQueryAssistantMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpQueryAssistantValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_RemoveAssistantAIAgent.go b/service/qconnect/api_op_RemoveAssistantAIAgent.go index 88a1bf64c84..1bb89a5e6b8 100644 --- a/service/qconnect/api_op_RemoveAssistantAIAgent.go +++ b/service/qconnect/api_op_RemoveAssistantAIAgent.go @@ -116,9 +116,6 @@ func (c *Client) addOperationRemoveAssistantAIAgentMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveAssistantAIAgentValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_RemoveKnowledgeBaseTemplateUri.go b/service/qconnect/api_op_RemoveKnowledgeBaseTemplateUri.go index c595ee152df..82b900f029f 100644 --- a/service/qconnect/api_op_RemoveKnowledgeBaseTemplateUri.go +++ b/service/qconnect/api_op_RemoveKnowledgeBaseTemplateUri.go @@ -108,9 +108,6 @@ func (c *Client) addOperationRemoveKnowledgeBaseTemplateUriMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveKnowledgeBaseTemplateUriValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_RenderMessageTemplate.go b/service/qconnect/api_op_RenderMessageTemplate.go index ea23ca968dd..3f26d50726e 100644 --- a/service/qconnect/api_op_RenderMessageTemplate.go +++ b/service/qconnect/api_op_RenderMessageTemplate.go @@ -139,9 +139,6 @@ func (c *Client) addOperationRenderMessageTemplateMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRenderMessageTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_SearchContent.go b/service/qconnect/api_op_SearchContent.go index cc69e5fc488..09aeaaf2188 100644 --- a/service/qconnect/api_op_SearchContent.go +++ b/service/qconnect/api_op_SearchContent.go @@ -131,9 +131,6 @@ func (c *Client) addOperationSearchContentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_SearchMessageTemplates.go b/service/qconnect/api_op_SearchMessageTemplates.go index 77ae23c48a9..e39fb027f73 100644 --- a/service/qconnect/api_op_SearchMessageTemplates.go +++ b/service/qconnect/api_op_SearchMessageTemplates.go @@ -131,9 +131,6 @@ func (c *Client) addOperationSearchMessageTemplatesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchMessageTemplatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_SearchQuickResponses.go b/service/qconnect/api_op_SearchQuickResponses.go index 91d74b44902..bc847fa122e 100644 --- a/service/qconnect/api_op_SearchQuickResponses.go +++ b/service/qconnect/api_op_SearchQuickResponses.go @@ -137,9 +137,6 @@ func (c *Client) addOperationSearchQuickResponsesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchQuickResponsesValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_SearchSessions.go b/service/qconnect/api_op_SearchSessions.go index 8f5b5d177df..304e195ac7e 100644 --- a/service/qconnect/api_op_SearchSessions.go +++ b/service/qconnect/api_op_SearchSessions.go @@ -130,9 +130,6 @@ func (c *Client) addOperationSearchSessionsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchSessionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_SendMessage.go b/service/qconnect/api_op_SendMessage.go index f28dee83af3..88cf8fa11f5 100644 --- a/service/qconnect/api_op_SendMessage.go +++ b/service/qconnect/api_op_SendMessage.go @@ -142,9 +142,6 @@ func (c *Client) addOperationSendMessageMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opSendMessageMiddleware(stack, options); err != nil { return err } diff --git a/service/qconnect/api_op_StartContentUpload.go b/service/qconnect/api_op_StartContentUpload.go index ca89e217a1c..7d69c9004df 100644 --- a/service/qconnect/api_op_StartContentUpload.go +++ b/service/qconnect/api_op_StartContentUpload.go @@ -146,9 +146,6 @@ func (c *Client) addOperationStartContentUploadMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartContentUploadValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_StartImportJob.go b/service/qconnect/api_op_StartImportJob.go index 46da144d8c3..236d3218ee4 100644 --- a/service/qconnect/api_op_StartImportJob.go +++ b/service/qconnect/api_op_StartImportJob.go @@ -149,9 +149,6 @@ func (c *Client) addOperationStartImportJobMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartImportJobMiddleware(stack, options); err != nil { return err } diff --git a/service/qconnect/api_op_TagResource.go b/service/qconnect/api_op_TagResource.go index 935dc693c65..5db79809f25 100644 --- a/service/qconnect/api_op_TagResource.go +++ b/service/qconnect/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_UntagResource.go b/service/qconnect/api_op_UntagResource.go index dc2b6c8336b..19c9ba0433c 100644 --- a/service/qconnect/api_op_UntagResource.go +++ b/service/qconnect/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_UpdateAIAgent.go b/service/qconnect/api_op_UpdateAIAgent.go index 6ed95633c2d..d367cee7f88 100644 --- a/service/qconnect/api_op_UpdateAIAgent.go +++ b/service/qconnect/api_op_UpdateAIAgent.go @@ -136,9 +136,6 @@ func (c *Client) addOperationUpdateAIAgentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateAIAgentMiddleware(stack, options); err != nil { return err } diff --git a/service/qconnect/api_op_UpdateAIGuardrail.go b/service/qconnect/api_op_UpdateAIGuardrail.go index 4624ba2f765..e4955d364dc 100644 --- a/service/qconnect/api_op_UpdateAIGuardrail.go +++ b/service/qconnect/api_op_UpdateAIGuardrail.go @@ -158,9 +158,6 @@ func (c *Client) addOperationUpdateAIGuardrailMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateAIGuardrailMiddleware(stack, options); err != nil { return err } diff --git a/service/qconnect/api_op_UpdateAIPrompt.go b/service/qconnect/api_op_UpdateAIPrompt.go index 2db72d78cbb..603db7f3549 100644 --- a/service/qconnect/api_op_UpdateAIPrompt.go +++ b/service/qconnect/api_op_UpdateAIPrompt.go @@ -136,9 +136,6 @@ func (c *Client) addOperationUpdateAIPromptMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateAIPromptMiddleware(stack, options); err != nil { return err } diff --git a/service/qconnect/api_op_UpdateAssistantAIAgent.go b/service/qconnect/api_op_UpdateAssistantAIAgent.go index b92d00fb7aa..1b57200680b 100644 --- a/service/qconnect/api_op_UpdateAssistantAIAgent.go +++ b/service/qconnect/api_op_UpdateAssistantAIAgent.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateAssistantAIAgentMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAssistantAIAgentValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_UpdateContent.go b/service/qconnect/api_op_UpdateContent.go index 6e424e43604..fcf64dfb8c7 100644 --- a/service/qconnect/api_op_UpdateContent.go +++ b/service/qconnect/api_op_UpdateContent.go @@ -149,9 +149,6 @@ func (c *Client) addOperationUpdateContentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_UpdateKnowledgeBaseTemplateUri.go b/service/qconnect/api_op_UpdateKnowledgeBaseTemplateUri.go index a791572a862..ae55676e381 100644 --- a/service/qconnect/api_op_UpdateKnowledgeBaseTemplateUri.go +++ b/service/qconnect/api_op_UpdateKnowledgeBaseTemplateUri.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateKnowledgeBaseTemplateUriMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateKnowledgeBaseTemplateUriValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_UpdateMessageTemplate.go b/service/qconnect/api_op_UpdateMessageTemplate.go index c90dc1736cd..289e06e2a4f 100644 --- a/service/qconnect/api_op_UpdateMessageTemplate.go +++ b/service/qconnect/api_op_UpdateMessageTemplate.go @@ -137,9 +137,6 @@ func (c *Client) addOperationUpdateMessageTemplateMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMessageTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_UpdateMessageTemplateMetadata.go b/service/qconnect/api_op_UpdateMessageTemplateMetadata.go index fd8ceb125f8..220479edac3 100644 --- a/service/qconnect/api_op_UpdateMessageTemplateMetadata.go +++ b/service/qconnect/api_op_UpdateMessageTemplateMetadata.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdateMessageTemplateMetadataMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMessageTemplateMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_UpdateQuickResponse.go b/service/qconnect/api_op_UpdateQuickResponse.go index 9629b6821a3..d1dee69f6c7 100644 --- a/service/qconnect/api_op_UpdateQuickResponse.go +++ b/service/qconnect/api_op_UpdateQuickResponse.go @@ -164,9 +164,6 @@ func (c *Client) addOperationUpdateQuickResponseMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateQuickResponseValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_UpdateSession.go b/service/qconnect/api_op_UpdateSession.go index 9f7fea69055..1b1d1c6921f 100644 --- a/service/qconnect/api_op_UpdateSession.go +++ b/service/qconnect/api_op_UpdateSession.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateSessionMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/api_op_UpdateSessionData.go b/service/qconnect/api_op_UpdateSessionData.go index 56f2001a9e5..0fbe69d87d1 100644 --- a/service/qconnect/api_op_UpdateSessionData.go +++ b/service/qconnect/api_op_UpdateSessionData.go @@ -146,9 +146,6 @@ func (c *Client) addOperationUpdateSessionDataMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSessionDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/qconnect/snapshot/api_op_ActivateMessageTemplate.go.snap b/service/qconnect/snapshot/api_op_ActivateMessageTemplate.go.snap index e8f99335f7f..96898f1de9b 100644 --- a/service/qconnect/snapshot/api_op_ActivateMessageTemplate.go.snap +++ b/service/qconnect/snapshot/api_op_ActivateMessageTemplate.go.snap @@ -14,7 +14,6 @@ ActivateMessageTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_CreateAIAgent.go.snap b/service/qconnect/snapshot/api_op_CreateAIAgent.go.snap index b4c6b755246..3330216b65a 100644 --- a/service/qconnect/snapshot/api_op_CreateAIAgent.go.snap +++ b/service/qconnect/snapshot/api_op_CreateAIAgent.go.snap @@ -15,7 +15,6 @@ CreateAIAgent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_CreateAIAgentVersion.go.snap b/service/qconnect/snapshot/api_op_CreateAIAgentVersion.go.snap index a400cd411d1..57dc3e6d999 100644 --- a/service/qconnect/snapshot/api_op_CreateAIAgentVersion.go.snap +++ b/service/qconnect/snapshot/api_op_CreateAIAgentVersion.go.snap @@ -15,7 +15,6 @@ CreateAIAgentVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_CreateAIGuardrail.go.snap b/service/qconnect/snapshot/api_op_CreateAIGuardrail.go.snap index dfc8cf4c6d9..6a7d2751fce 100644 --- a/service/qconnect/snapshot/api_op_CreateAIGuardrail.go.snap +++ b/service/qconnect/snapshot/api_op_CreateAIGuardrail.go.snap @@ -15,7 +15,6 @@ CreateAIGuardrail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_CreateAIGuardrailVersion.go.snap b/service/qconnect/snapshot/api_op_CreateAIGuardrailVersion.go.snap index 2f2ec94596b..66749d2ad41 100644 --- a/service/qconnect/snapshot/api_op_CreateAIGuardrailVersion.go.snap +++ b/service/qconnect/snapshot/api_op_CreateAIGuardrailVersion.go.snap @@ -15,7 +15,6 @@ CreateAIGuardrailVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_CreateAIPrompt.go.snap b/service/qconnect/snapshot/api_op_CreateAIPrompt.go.snap index b6abd00e005..54c6ef935f0 100644 --- a/service/qconnect/snapshot/api_op_CreateAIPrompt.go.snap +++ b/service/qconnect/snapshot/api_op_CreateAIPrompt.go.snap @@ -15,7 +15,6 @@ CreateAIPrompt Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_CreateAIPromptVersion.go.snap b/service/qconnect/snapshot/api_op_CreateAIPromptVersion.go.snap index 9b6bfd93276..e823cad0101 100644 --- a/service/qconnect/snapshot/api_op_CreateAIPromptVersion.go.snap +++ b/service/qconnect/snapshot/api_op_CreateAIPromptVersion.go.snap @@ -15,7 +15,6 @@ CreateAIPromptVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_CreateAssistant.go.snap b/service/qconnect/snapshot/api_op_CreateAssistant.go.snap index 0b9891a7546..f311f4af1e4 100644 --- a/service/qconnect/snapshot/api_op_CreateAssistant.go.snap +++ b/service/qconnect/snapshot/api_op_CreateAssistant.go.snap @@ -15,7 +15,6 @@ CreateAssistant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_CreateAssistantAssociation.go.snap b/service/qconnect/snapshot/api_op_CreateAssistantAssociation.go.snap index 473a50a8a80..b01e9df58da 100644 --- a/service/qconnect/snapshot/api_op_CreateAssistantAssociation.go.snap +++ b/service/qconnect/snapshot/api_op_CreateAssistantAssociation.go.snap @@ -15,7 +15,6 @@ CreateAssistantAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_CreateContent.go.snap b/service/qconnect/snapshot/api_op_CreateContent.go.snap index 0989142c2a7..18499c4ab14 100644 --- a/service/qconnect/snapshot/api_op_CreateContent.go.snap +++ b/service/qconnect/snapshot/api_op_CreateContent.go.snap @@ -15,7 +15,6 @@ CreateContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_CreateContentAssociation.go.snap b/service/qconnect/snapshot/api_op_CreateContentAssociation.go.snap index 5c11fbfbbde..ef004055435 100644 --- a/service/qconnect/snapshot/api_op_CreateContentAssociation.go.snap +++ b/service/qconnect/snapshot/api_op_CreateContentAssociation.go.snap @@ -15,7 +15,6 @@ CreateContentAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_CreateKnowledgeBase.go.snap b/service/qconnect/snapshot/api_op_CreateKnowledgeBase.go.snap index 942cdc3f999..aee9f8ba322 100644 --- a/service/qconnect/snapshot/api_op_CreateKnowledgeBase.go.snap +++ b/service/qconnect/snapshot/api_op_CreateKnowledgeBase.go.snap @@ -15,7 +15,6 @@ CreateKnowledgeBase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_CreateMessageTemplate.go.snap b/service/qconnect/snapshot/api_op_CreateMessageTemplate.go.snap index 5bbe4c2b9e7..355ec58d1c9 100644 --- a/service/qconnect/snapshot/api_op_CreateMessageTemplate.go.snap +++ b/service/qconnect/snapshot/api_op_CreateMessageTemplate.go.snap @@ -15,7 +15,6 @@ CreateMessageTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_CreateMessageTemplateAttachment.go.snap b/service/qconnect/snapshot/api_op_CreateMessageTemplateAttachment.go.snap index f0d745c9d8b..9e0166d8ffc 100644 --- a/service/qconnect/snapshot/api_op_CreateMessageTemplateAttachment.go.snap +++ b/service/qconnect/snapshot/api_op_CreateMessageTemplateAttachment.go.snap @@ -14,7 +14,6 @@ CreateMessageTemplateAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_CreateMessageTemplateVersion.go.snap b/service/qconnect/snapshot/api_op_CreateMessageTemplateVersion.go.snap index 958329cb3d2..93895670926 100644 --- a/service/qconnect/snapshot/api_op_CreateMessageTemplateVersion.go.snap +++ b/service/qconnect/snapshot/api_op_CreateMessageTemplateVersion.go.snap @@ -14,7 +14,6 @@ CreateMessageTemplateVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_CreateQuickResponse.go.snap b/service/qconnect/snapshot/api_op_CreateQuickResponse.go.snap index aef9e34d046..fec75203b76 100644 --- a/service/qconnect/snapshot/api_op_CreateQuickResponse.go.snap +++ b/service/qconnect/snapshot/api_op_CreateQuickResponse.go.snap @@ -15,7 +15,6 @@ CreateQuickResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_CreateSession.go.snap b/service/qconnect/snapshot/api_op_CreateSession.go.snap index 046353571d6..f185aabd7db 100644 --- a/service/qconnect/snapshot/api_op_CreateSession.go.snap +++ b/service/qconnect/snapshot/api_op_CreateSession.go.snap @@ -15,7 +15,6 @@ CreateSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_DeactivateMessageTemplate.go.snap b/service/qconnect/snapshot/api_op_DeactivateMessageTemplate.go.snap index 4f453012a8e..0d0bcbe15c8 100644 --- a/service/qconnect/snapshot/api_op_DeactivateMessageTemplate.go.snap +++ b/service/qconnect/snapshot/api_op_DeactivateMessageTemplate.go.snap @@ -14,7 +14,6 @@ DeactivateMessageTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_DeleteAIAgent.go.snap b/service/qconnect/snapshot/api_op_DeleteAIAgent.go.snap index 56d3db9b11f..bc4f9a277b4 100644 --- a/service/qconnect/snapshot/api_op_DeleteAIAgent.go.snap +++ b/service/qconnect/snapshot/api_op_DeleteAIAgent.go.snap @@ -14,7 +14,6 @@ DeleteAIAgent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_DeleteAIAgentVersion.go.snap b/service/qconnect/snapshot/api_op_DeleteAIAgentVersion.go.snap index 9a5e268e88f..497ae026a6d 100644 --- a/service/qconnect/snapshot/api_op_DeleteAIAgentVersion.go.snap +++ b/service/qconnect/snapshot/api_op_DeleteAIAgentVersion.go.snap @@ -14,7 +14,6 @@ DeleteAIAgentVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_DeleteAIGuardrail.go.snap b/service/qconnect/snapshot/api_op_DeleteAIGuardrail.go.snap index b3776fb75ef..0d15d8fcd68 100644 --- a/service/qconnect/snapshot/api_op_DeleteAIGuardrail.go.snap +++ b/service/qconnect/snapshot/api_op_DeleteAIGuardrail.go.snap @@ -14,7 +14,6 @@ DeleteAIGuardrail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_DeleteAIGuardrailVersion.go.snap b/service/qconnect/snapshot/api_op_DeleteAIGuardrailVersion.go.snap index f6c59fe267a..2387bd5fd87 100644 --- a/service/qconnect/snapshot/api_op_DeleteAIGuardrailVersion.go.snap +++ b/service/qconnect/snapshot/api_op_DeleteAIGuardrailVersion.go.snap @@ -14,7 +14,6 @@ DeleteAIGuardrailVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_DeleteAIPrompt.go.snap b/service/qconnect/snapshot/api_op_DeleteAIPrompt.go.snap index 9b73fff3ea7..50ab7081a20 100644 --- a/service/qconnect/snapshot/api_op_DeleteAIPrompt.go.snap +++ b/service/qconnect/snapshot/api_op_DeleteAIPrompt.go.snap @@ -14,7 +14,6 @@ DeleteAIPrompt Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_DeleteAIPromptVersion.go.snap b/service/qconnect/snapshot/api_op_DeleteAIPromptVersion.go.snap index 6bd8d0b777f..50486d7c456 100644 --- a/service/qconnect/snapshot/api_op_DeleteAIPromptVersion.go.snap +++ b/service/qconnect/snapshot/api_op_DeleteAIPromptVersion.go.snap @@ -14,7 +14,6 @@ DeleteAIPromptVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_DeleteAssistant.go.snap b/service/qconnect/snapshot/api_op_DeleteAssistant.go.snap index e0cf70c5bc7..2374b733765 100644 --- a/service/qconnect/snapshot/api_op_DeleteAssistant.go.snap +++ b/service/qconnect/snapshot/api_op_DeleteAssistant.go.snap @@ -14,7 +14,6 @@ DeleteAssistant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_DeleteAssistantAssociation.go.snap b/service/qconnect/snapshot/api_op_DeleteAssistantAssociation.go.snap index 5548b841bb9..5f4bc91c347 100644 --- a/service/qconnect/snapshot/api_op_DeleteAssistantAssociation.go.snap +++ b/service/qconnect/snapshot/api_op_DeleteAssistantAssociation.go.snap @@ -14,7 +14,6 @@ DeleteAssistantAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_DeleteContent.go.snap b/service/qconnect/snapshot/api_op_DeleteContent.go.snap index cc199cc1c99..dd7afedeae1 100644 --- a/service/qconnect/snapshot/api_op_DeleteContent.go.snap +++ b/service/qconnect/snapshot/api_op_DeleteContent.go.snap @@ -14,7 +14,6 @@ DeleteContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_DeleteContentAssociation.go.snap b/service/qconnect/snapshot/api_op_DeleteContentAssociation.go.snap index 0f33823eb9c..5b319a6e1b3 100644 --- a/service/qconnect/snapshot/api_op_DeleteContentAssociation.go.snap +++ b/service/qconnect/snapshot/api_op_DeleteContentAssociation.go.snap @@ -14,7 +14,6 @@ DeleteContentAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_DeleteImportJob.go.snap b/service/qconnect/snapshot/api_op_DeleteImportJob.go.snap index 6fdbcb419f9..a7bdcf5edac 100644 --- a/service/qconnect/snapshot/api_op_DeleteImportJob.go.snap +++ b/service/qconnect/snapshot/api_op_DeleteImportJob.go.snap @@ -14,7 +14,6 @@ DeleteImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_DeleteKnowledgeBase.go.snap b/service/qconnect/snapshot/api_op_DeleteKnowledgeBase.go.snap index c7aa91b3dcf..125e1b22706 100644 --- a/service/qconnect/snapshot/api_op_DeleteKnowledgeBase.go.snap +++ b/service/qconnect/snapshot/api_op_DeleteKnowledgeBase.go.snap @@ -14,7 +14,6 @@ DeleteKnowledgeBase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_DeleteMessageTemplate.go.snap b/service/qconnect/snapshot/api_op_DeleteMessageTemplate.go.snap index 50526c84997..c4e14594783 100644 --- a/service/qconnect/snapshot/api_op_DeleteMessageTemplate.go.snap +++ b/service/qconnect/snapshot/api_op_DeleteMessageTemplate.go.snap @@ -14,7 +14,6 @@ DeleteMessageTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_DeleteMessageTemplateAttachment.go.snap b/service/qconnect/snapshot/api_op_DeleteMessageTemplateAttachment.go.snap index 2d49df70c99..20aa0d360cf 100644 --- a/service/qconnect/snapshot/api_op_DeleteMessageTemplateAttachment.go.snap +++ b/service/qconnect/snapshot/api_op_DeleteMessageTemplateAttachment.go.snap @@ -14,7 +14,6 @@ DeleteMessageTemplateAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_DeleteQuickResponse.go.snap b/service/qconnect/snapshot/api_op_DeleteQuickResponse.go.snap index 89a2633b6dd..e121341b0a1 100644 --- a/service/qconnect/snapshot/api_op_DeleteQuickResponse.go.snap +++ b/service/qconnect/snapshot/api_op_DeleteQuickResponse.go.snap @@ -14,7 +14,6 @@ DeleteQuickResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_GetAIAgent.go.snap b/service/qconnect/snapshot/api_op_GetAIAgent.go.snap index 26e39a31422..934bb933a10 100644 --- a/service/qconnect/snapshot/api_op_GetAIAgent.go.snap +++ b/service/qconnect/snapshot/api_op_GetAIAgent.go.snap @@ -14,7 +14,6 @@ GetAIAgent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_GetAIGuardrail.go.snap b/service/qconnect/snapshot/api_op_GetAIGuardrail.go.snap index da843ff0fa6..c50ae5021f0 100644 --- a/service/qconnect/snapshot/api_op_GetAIGuardrail.go.snap +++ b/service/qconnect/snapshot/api_op_GetAIGuardrail.go.snap @@ -14,7 +14,6 @@ GetAIGuardrail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_GetAIPrompt.go.snap b/service/qconnect/snapshot/api_op_GetAIPrompt.go.snap index 010969b9e7c..0223e43fb96 100644 --- a/service/qconnect/snapshot/api_op_GetAIPrompt.go.snap +++ b/service/qconnect/snapshot/api_op_GetAIPrompt.go.snap @@ -14,7 +14,6 @@ GetAIPrompt Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_GetAssistant.go.snap b/service/qconnect/snapshot/api_op_GetAssistant.go.snap index e8a84fd87de..0ebcbd672d6 100644 --- a/service/qconnect/snapshot/api_op_GetAssistant.go.snap +++ b/service/qconnect/snapshot/api_op_GetAssistant.go.snap @@ -14,7 +14,6 @@ GetAssistant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_GetAssistantAssociation.go.snap b/service/qconnect/snapshot/api_op_GetAssistantAssociation.go.snap index 96de6b4a877..3c8219d5f71 100644 --- a/service/qconnect/snapshot/api_op_GetAssistantAssociation.go.snap +++ b/service/qconnect/snapshot/api_op_GetAssistantAssociation.go.snap @@ -14,7 +14,6 @@ GetAssistantAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_GetContent.go.snap b/service/qconnect/snapshot/api_op_GetContent.go.snap index dadcca105e8..d04cd849d0d 100644 --- a/service/qconnect/snapshot/api_op_GetContent.go.snap +++ b/service/qconnect/snapshot/api_op_GetContent.go.snap @@ -14,7 +14,6 @@ GetContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_GetContentAssociation.go.snap b/service/qconnect/snapshot/api_op_GetContentAssociation.go.snap index 5994ff39ea4..2bfea1fae36 100644 --- a/service/qconnect/snapshot/api_op_GetContentAssociation.go.snap +++ b/service/qconnect/snapshot/api_op_GetContentAssociation.go.snap @@ -14,7 +14,6 @@ GetContentAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_GetContentSummary.go.snap b/service/qconnect/snapshot/api_op_GetContentSummary.go.snap index 62ff7aeb7c6..72320d26977 100644 --- a/service/qconnect/snapshot/api_op_GetContentSummary.go.snap +++ b/service/qconnect/snapshot/api_op_GetContentSummary.go.snap @@ -14,7 +14,6 @@ GetContentSummary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_GetImportJob.go.snap b/service/qconnect/snapshot/api_op_GetImportJob.go.snap index b0cf47477db..bb388923d10 100644 --- a/service/qconnect/snapshot/api_op_GetImportJob.go.snap +++ b/service/qconnect/snapshot/api_op_GetImportJob.go.snap @@ -14,7 +14,6 @@ GetImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_GetKnowledgeBase.go.snap b/service/qconnect/snapshot/api_op_GetKnowledgeBase.go.snap index 8e0eaee5f9f..3aa21a23981 100644 --- a/service/qconnect/snapshot/api_op_GetKnowledgeBase.go.snap +++ b/service/qconnect/snapshot/api_op_GetKnowledgeBase.go.snap @@ -14,7 +14,6 @@ GetKnowledgeBase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_GetMessageTemplate.go.snap b/service/qconnect/snapshot/api_op_GetMessageTemplate.go.snap index 9fce80922e9..8c74295989c 100644 --- a/service/qconnect/snapshot/api_op_GetMessageTemplate.go.snap +++ b/service/qconnect/snapshot/api_op_GetMessageTemplate.go.snap @@ -14,7 +14,6 @@ GetMessageTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_GetNextMessage.go.snap b/service/qconnect/snapshot/api_op_GetNextMessage.go.snap index bc6941d1288..8a6726fa1fb 100644 --- a/service/qconnect/snapshot/api_op_GetNextMessage.go.snap +++ b/service/qconnect/snapshot/api_op_GetNextMessage.go.snap @@ -14,7 +14,6 @@ GetNextMessage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_GetQuickResponse.go.snap b/service/qconnect/snapshot/api_op_GetQuickResponse.go.snap index c3d7af1b95c..e72ff21aa2b 100644 --- a/service/qconnect/snapshot/api_op_GetQuickResponse.go.snap +++ b/service/qconnect/snapshot/api_op_GetQuickResponse.go.snap @@ -14,7 +14,6 @@ GetQuickResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_GetRecommendations.go.snap b/service/qconnect/snapshot/api_op_GetRecommendations.go.snap index b679aae6ed3..1a6f7a66b36 100644 --- a/service/qconnect/snapshot/api_op_GetRecommendations.go.snap +++ b/service/qconnect/snapshot/api_op_GetRecommendations.go.snap @@ -14,7 +14,6 @@ GetRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_GetSession.go.snap b/service/qconnect/snapshot/api_op_GetSession.go.snap index b1fe5b7fa64..409a87aab6e 100644 --- a/service/qconnect/snapshot/api_op_GetSession.go.snap +++ b/service/qconnect/snapshot/api_op_GetSession.go.snap @@ -14,7 +14,6 @@ GetSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_ListAIAgentVersions.go.snap b/service/qconnect/snapshot/api_op_ListAIAgentVersions.go.snap index 79faeaa8f1a..0e03f8b8331 100644 --- a/service/qconnect/snapshot/api_op_ListAIAgentVersions.go.snap +++ b/service/qconnect/snapshot/api_op_ListAIAgentVersions.go.snap @@ -14,7 +14,6 @@ ListAIAgentVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_ListAIAgents.go.snap b/service/qconnect/snapshot/api_op_ListAIAgents.go.snap index 80bd94ffc78..2639e90066c 100644 --- a/service/qconnect/snapshot/api_op_ListAIAgents.go.snap +++ b/service/qconnect/snapshot/api_op_ListAIAgents.go.snap @@ -14,7 +14,6 @@ ListAIAgents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_ListAIGuardrailVersions.go.snap b/service/qconnect/snapshot/api_op_ListAIGuardrailVersions.go.snap index c6f642e1901..6085aa2bb67 100644 --- a/service/qconnect/snapshot/api_op_ListAIGuardrailVersions.go.snap +++ b/service/qconnect/snapshot/api_op_ListAIGuardrailVersions.go.snap @@ -14,7 +14,6 @@ ListAIGuardrailVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_ListAIGuardrails.go.snap b/service/qconnect/snapshot/api_op_ListAIGuardrails.go.snap index 92e7e31bc86..b8557135e1e 100644 --- a/service/qconnect/snapshot/api_op_ListAIGuardrails.go.snap +++ b/service/qconnect/snapshot/api_op_ListAIGuardrails.go.snap @@ -14,7 +14,6 @@ ListAIGuardrails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_ListAIPromptVersions.go.snap b/service/qconnect/snapshot/api_op_ListAIPromptVersions.go.snap index 50a0fdeee5b..8a1921d6c43 100644 --- a/service/qconnect/snapshot/api_op_ListAIPromptVersions.go.snap +++ b/service/qconnect/snapshot/api_op_ListAIPromptVersions.go.snap @@ -14,7 +14,6 @@ ListAIPromptVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_ListAIPrompts.go.snap b/service/qconnect/snapshot/api_op_ListAIPrompts.go.snap index 99209fa7fef..904e489c207 100644 --- a/service/qconnect/snapshot/api_op_ListAIPrompts.go.snap +++ b/service/qconnect/snapshot/api_op_ListAIPrompts.go.snap @@ -14,7 +14,6 @@ ListAIPrompts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_ListAssistantAssociations.go.snap b/service/qconnect/snapshot/api_op_ListAssistantAssociations.go.snap index 78f8562e302..da9c3a9eab3 100644 --- a/service/qconnect/snapshot/api_op_ListAssistantAssociations.go.snap +++ b/service/qconnect/snapshot/api_op_ListAssistantAssociations.go.snap @@ -14,7 +14,6 @@ ListAssistantAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_ListAssistants.go.snap b/service/qconnect/snapshot/api_op_ListAssistants.go.snap index dc018948381..f322f97609e 100644 --- a/service/qconnect/snapshot/api_op_ListAssistants.go.snap +++ b/service/qconnect/snapshot/api_op_ListAssistants.go.snap @@ -13,7 +13,6 @@ ListAssistants Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_ListContentAssociations.go.snap b/service/qconnect/snapshot/api_op_ListContentAssociations.go.snap index 39d4a9a0b5d..1072fa94b76 100644 --- a/service/qconnect/snapshot/api_op_ListContentAssociations.go.snap +++ b/service/qconnect/snapshot/api_op_ListContentAssociations.go.snap @@ -14,7 +14,6 @@ ListContentAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_ListContents.go.snap b/service/qconnect/snapshot/api_op_ListContents.go.snap index 9bf09b2f823..8e80e2e3313 100644 --- a/service/qconnect/snapshot/api_op_ListContents.go.snap +++ b/service/qconnect/snapshot/api_op_ListContents.go.snap @@ -14,7 +14,6 @@ ListContents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_ListImportJobs.go.snap b/service/qconnect/snapshot/api_op_ListImportJobs.go.snap index d32fe407ea4..a78442da544 100644 --- a/service/qconnect/snapshot/api_op_ListImportJobs.go.snap +++ b/service/qconnect/snapshot/api_op_ListImportJobs.go.snap @@ -14,7 +14,6 @@ ListImportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_ListKnowledgeBases.go.snap b/service/qconnect/snapshot/api_op_ListKnowledgeBases.go.snap index 7d3f985be30..9d6991f7a7e 100644 --- a/service/qconnect/snapshot/api_op_ListKnowledgeBases.go.snap +++ b/service/qconnect/snapshot/api_op_ListKnowledgeBases.go.snap @@ -13,7 +13,6 @@ ListKnowledgeBases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_ListMessageTemplateVersions.go.snap b/service/qconnect/snapshot/api_op_ListMessageTemplateVersions.go.snap index f26654842aa..f96e55fcc4b 100644 --- a/service/qconnect/snapshot/api_op_ListMessageTemplateVersions.go.snap +++ b/service/qconnect/snapshot/api_op_ListMessageTemplateVersions.go.snap @@ -14,7 +14,6 @@ ListMessageTemplateVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_ListMessageTemplates.go.snap b/service/qconnect/snapshot/api_op_ListMessageTemplates.go.snap index f55261204f9..1612a183328 100644 --- a/service/qconnect/snapshot/api_op_ListMessageTemplates.go.snap +++ b/service/qconnect/snapshot/api_op_ListMessageTemplates.go.snap @@ -14,7 +14,6 @@ ListMessageTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_ListMessages.go.snap b/service/qconnect/snapshot/api_op_ListMessages.go.snap index bcfb264140d..c5f30f59f44 100644 --- a/service/qconnect/snapshot/api_op_ListMessages.go.snap +++ b/service/qconnect/snapshot/api_op_ListMessages.go.snap @@ -14,7 +14,6 @@ ListMessages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_ListQuickResponses.go.snap b/service/qconnect/snapshot/api_op_ListQuickResponses.go.snap index 33f07524b5d..9a358eafb00 100644 --- a/service/qconnect/snapshot/api_op_ListQuickResponses.go.snap +++ b/service/qconnect/snapshot/api_op_ListQuickResponses.go.snap @@ -14,7 +14,6 @@ ListQuickResponses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_ListTagsForResource.go.snap b/service/qconnect/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/qconnect/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/qconnect/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_NotifyRecommendationsReceived.go.snap b/service/qconnect/snapshot/api_op_NotifyRecommendationsReceived.go.snap index a9bbc700a60..6c80f4096ff 100644 --- a/service/qconnect/snapshot/api_op_NotifyRecommendationsReceived.go.snap +++ b/service/qconnect/snapshot/api_op_NotifyRecommendationsReceived.go.snap @@ -14,7 +14,6 @@ NotifyRecommendationsReceived Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_PutFeedback.go.snap b/service/qconnect/snapshot/api_op_PutFeedback.go.snap index d7a57d82976..822a47e67ad 100644 --- a/service/qconnect/snapshot/api_op_PutFeedback.go.snap +++ b/service/qconnect/snapshot/api_op_PutFeedback.go.snap @@ -14,7 +14,6 @@ PutFeedback Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_QueryAssistant.go.snap b/service/qconnect/snapshot/api_op_QueryAssistant.go.snap index ca6af60652c..1fe2a298ca6 100644 --- a/service/qconnect/snapshot/api_op_QueryAssistant.go.snap +++ b/service/qconnect/snapshot/api_op_QueryAssistant.go.snap @@ -14,7 +14,6 @@ QueryAssistant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_RemoveAssistantAIAgent.go.snap b/service/qconnect/snapshot/api_op_RemoveAssistantAIAgent.go.snap index d4da5c1f169..76ff9661254 100644 --- a/service/qconnect/snapshot/api_op_RemoveAssistantAIAgent.go.snap +++ b/service/qconnect/snapshot/api_op_RemoveAssistantAIAgent.go.snap @@ -14,7 +14,6 @@ RemoveAssistantAIAgent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_RemoveKnowledgeBaseTemplateUri.go.snap b/service/qconnect/snapshot/api_op_RemoveKnowledgeBaseTemplateUri.go.snap index 662fc3b2bf8..23372387ecc 100644 --- a/service/qconnect/snapshot/api_op_RemoveKnowledgeBaseTemplateUri.go.snap +++ b/service/qconnect/snapshot/api_op_RemoveKnowledgeBaseTemplateUri.go.snap @@ -14,7 +14,6 @@ RemoveKnowledgeBaseTemplateUri Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_RenderMessageTemplate.go.snap b/service/qconnect/snapshot/api_op_RenderMessageTemplate.go.snap index e45c9cc6e89..abb389b82d3 100644 --- a/service/qconnect/snapshot/api_op_RenderMessageTemplate.go.snap +++ b/service/qconnect/snapshot/api_op_RenderMessageTemplate.go.snap @@ -14,7 +14,6 @@ RenderMessageTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_SearchContent.go.snap b/service/qconnect/snapshot/api_op_SearchContent.go.snap index fab30140cff..f28b8e3e297 100644 --- a/service/qconnect/snapshot/api_op_SearchContent.go.snap +++ b/service/qconnect/snapshot/api_op_SearchContent.go.snap @@ -14,7 +14,6 @@ SearchContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_SearchMessageTemplates.go.snap b/service/qconnect/snapshot/api_op_SearchMessageTemplates.go.snap index ccd3dabc41f..5728adf73a4 100644 --- a/service/qconnect/snapshot/api_op_SearchMessageTemplates.go.snap +++ b/service/qconnect/snapshot/api_op_SearchMessageTemplates.go.snap @@ -14,7 +14,6 @@ SearchMessageTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_SearchQuickResponses.go.snap b/service/qconnect/snapshot/api_op_SearchQuickResponses.go.snap index d3d2dc02124..17f966f9cfd 100644 --- a/service/qconnect/snapshot/api_op_SearchQuickResponses.go.snap +++ b/service/qconnect/snapshot/api_op_SearchQuickResponses.go.snap @@ -14,7 +14,6 @@ SearchQuickResponses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_SearchSessions.go.snap b/service/qconnect/snapshot/api_op_SearchSessions.go.snap index 71b7b4b22f4..74529290ea2 100644 --- a/service/qconnect/snapshot/api_op_SearchSessions.go.snap +++ b/service/qconnect/snapshot/api_op_SearchSessions.go.snap @@ -14,7 +14,6 @@ SearchSessions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_SendMessage.go.snap b/service/qconnect/snapshot/api_op_SendMessage.go.snap index b28790bdb14..99238818a8f 100644 --- a/service/qconnect/snapshot/api_op_SendMessage.go.snap +++ b/service/qconnect/snapshot/api_op_SendMessage.go.snap @@ -15,7 +15,6 @@ SendMessage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_StartContentUpload.go.snap b/service/qconnect/snapshot/api_op_StartContentUpload.go.snap index c71cbeba9f2..32eb7d0b657 100644 --- a/service/qconnect/snapshot/api_op_StartContentUpload.go.snap +++ b/service/qconnect/snapshot/api_op_StartContentUpload.go.snap @@ -14,7 +14,6 @@ StartContentUpload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_StartImportJob.go.snap b/service/qconnect/snapshot/api_op_StartImportJob.go.snap index 0641ac38d23..e6ed4b036a6 100644 --- a/service/qconnect/snapshot/api_op_StartImportJob.go.snap +++ b/service/qconnect/snapshot/api_op_StartImportJob.go.snap @@ -15,7 +15,6 @@ StartImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_TagResource.go.snap b/service/qconnect/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/qconnect/snapshot/api_op_TagResource.go.snap +++ b/service/qconnect/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_UntagResource.go.snap b/service/qconnect/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/qconnect/snapshot/api_op_UntagResource.go.snap +++ b/service/qconnect/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_UpdateAIAgent.go.snap b/service/qconnect/snapshot/api_op_UpdateAIAgent.go.snap index 20031d235d0..d2a79ce1c64 100644 --- a/service/qconnect/snapshot/api_op_UpdateAIAgent.go.snap +++ b/service/qconnect/snapshot/api_op_UpdateAIAgent.go.snap @@ -15,7 +15,6 @@ UpdateAIAgent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_UpdateAIGuardrail.go.snap b/service/qconnect/snapshot/api_op_UpdateAIGuardrail.go.snap index b1469fc0322..c9aee04e4f0 100644 --- a/service/qconnect/snapshot/api_op_UpdateAIGuardrail.go.snap +++ b/service/qconnect/snapshot/api_op_UpdateAIGuardrail.go.snap @@ -15,7 +15,6 @@ UpdateAIGuardrail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_UpdateAIPrompt.go.snap b/service/qconnect/snapshot/api_op_UpdateAIPrompt.go.snap index b215aacfb66..4fb0848f3e8 100644 --- a/service/qconnect/snapshot/api_op_UpdateAIPrompt.go.snap +++ b/service/qconnect/snapshot/api_op_UpdateAIPrompt.go.snap @@ -15,7 +15,6 @@ UpdateAIPrompt Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_UpdateAssistantAIAgent.go.snap b/service/qconnect/snapshot/api_op_UpdateAssistantAIAgent.go.snap index 1415ffcba1b..b13df84aea1 100644 --- a/service/qconnect/snapshot/api_op_UpdateAssistantAIAgent.go.snap +++ b/service/qconnect/snapshot/api_op_UpdateAssistantAIAgent.go.snap @@ -14,7 +14,6 @@ UpdateAssistantAIAgent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_UpdateContent.go.snap b/service/qconnect/snapshot/api_op_UpdateContent.go.snap index 39b2b7167c0..231379f6ed5 100644 --- a/service/qconnect/snapshot/api_op_UpdateContent.go.snap +++ b/service/qconnect/snapshot/api_op_UpdateContent.go.snap @@ -14,7 +14,6 @@ UpdateContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_UpdateKnowledgeBaseTemplateUri.go.snap b/service/qconnect/snapshot/api_op_UpdateKnowledgeBaseTemplateUri.go.snap index c92f1471004..b8bcde45a18 100644 --- a/service/qconnect/snapshot/api_op_UpdateKnowledgeBaseTemplateUri.go.snap +++ b/service/qconnect/snapshot/api_op_UpdateKnowledgeBaseTemplateUri.go.snap @@ -14,7 +14,6 @@ UpdateKnowledgeBaseTemplateUri Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_UpdateMessageTemplate.go.snap b/service/qconnect/snapshot/api_op_UpdateMessageTemplate.go.snap index 93ebc4ec50e..8214f5a63c9 100644 --- a/service/qconnect/snapshot/api_op_UpdateMessageTemplate.go.snap +++ b/service/qconnect/snapshot/api_op_UpdateMessageTemplate.go.snap @@ -14,7 +14,6 @@ UpdateMessageTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_UpdateMessageTemplateMetadata.go.snap b/service/qconnect/snapshot/api_op_UpdateMessageTemplateMetadata.go.snap index d7fbddc53e5..10c819762f4 100644 --- a/service/qconnect/snapshot/api_op_UpdateMessageTemplateMetadata.go.snap +++ b/service/qconnect/snapshot/api_op_UpdateMessageTemplateMetadata.go.snap @@ -14,7 +14,6 @@ UpdateMessageTemplateMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_UpdateQuickResponse.go.snap b/service/qconnect/snapshot/api_op_UpdateQuickResponse.go.snap index 1186d7a827c..0c695180be7 100644 --- a/service/qconnect/snapshot/api_op_UpdateQuickResponse.go.snap +++ b/service/qconnect/snapshot/api_op_UpdateQuickResponse.go.snap @@ -14,7 +14,6 @@ UpdateQuickResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_UpdateSession.go.snap b/service/qconnect/snapshot/api_op_UpdateSession.go.snap index e16da24faa1..da53834bc80 100644 --- a/service/qconnect/snapshot/api_op_UpdateSession.go.snap +++ b/service/qconnect/snapshot/api_op_UpdateSession.go.snap @@ -14,7 +14,6 @@ UpdateSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qconnect/snapshot/api_op_UpdateSessionData.go.snap b/service/qconnect/snapshot/api_op_UpdateSessionData.go.snap index 554fbcce94d..99196adee03 100644 --- a/service/qconnect/snapshot/api_op_UpdateSessionData.go.snap +++ b/service/qconnect/snapshot/api_op_UpdateSessionData.go.snap @@ -14,7 +14,6 @@ UpdateSessionData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qldb/api_client.go b/service/qldb/api_client.go index 7a3654b2505..ae9d3b8be92 100644 --- a/service/qldb/api_client.go +++ b/service/qldb/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/qldb/api_op_CancelJournalKinesisStream.go b/service/qldb/api_op_CancelJournalKinesisStream.go index d8f2507df94..45f8a22a24d 100644 --- a/service/qldb/api_op_CancelJournalKinesisStream.go +++ b/service/qldb/api_op_CancelJournalKinesisStream.go @@ -122,9 +122,6 @@ func (c *Client) addOperationCancelJournalKinesisStreamMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelJournalKinesisStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_CreateLedger.go b/service/qldb/api_op_CreateLedger.go index 5783fc8a242..00a83faf0ef 100644 --- a/service/qldb/api_op_CreateLedger.go +++ b/service/qldb/api_op_CreateLedger.go @@ -225,9 +225,6 @@ func (c *Client) addOperationCreateLedgerMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLedgerValidationMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_DeleteLedger.go b/service/qldb/api_op_DeleteLedger.go index 2546dc73bc2..7a9a1313e8e 100644 --- a/service/qldb/api_op_DeleteLedger.go +++ b/service/qldb/api_op_DeleteLedger.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteLedgerMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLedgerValidationMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_DescribeJournalKinesisStream.go b/service/qldb/api_op_DescribeJournalKinesisStream.go index 2bb0c331120..5e4ea049172 100644 --- a/service/qldb/api_op_DescribeJournalKinesisStream.go +++ b/service/qldb/api_op_DescribeJournalKinesisStream.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeJournalKinesisStreamMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeJournalKinesisStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_DescribeJournalS3Export.go b/service/qldb/api_op_DescribeJournalS3Export.go index 416789b759b..61b261717f0 100644 --- a/service/qldb/api_op_DescribeJournalS3Export.go +++ b/service/qldb/api_op_DescribeJournalS3Export.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeJournalS3ExportMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeJournalS3ExportValidationMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_DescribeLedger.go b/service/qldb/api_op_DescribeLedger.go index 34ac041d7b3..07d2e1798dc 100644 --- a/service/qldb/api_op_DescribeLedger.go +++ b/service/qldb/api_op_DescribeLedger.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDescribeLedgerMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeLedgerValidationMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_ExportJournalToS3.go b/service/qldb/api_op_ExportJournalToS3.go index f20ecea2641..e5455bef29b 100644 --- a/service/qldb/api_op_ExportJournalToS3.go +++ b/service/qldb/api_op_ExportJournalToS3.go @@ -191,9 +191,6 @@ func (c *Client) addOperationExportJournalToS3Middlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExportJournalToS3ValidationMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_GetBlock.go b/service/qldb/api_op_GetBlock.go index 0b7f2889056..0d373fa9c77 100644 --- a/service/qldb/api_op_GetBlock.go +++ b/service/qldb/api_op_GetBlock.go @@ -149,9 +149,6 @@ func (c *Client) addOperationGetBlockMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBlockValidationMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_GetDigest.go b/service/qldb/api_op_GetDigest.go index b48d090d161..439a8027810 100644 --- a/service/qldb/api_op_GetDigest.go +++ b/service/qldb/api_op_GetDigest.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetDigestMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDigestValidationMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_GetRevision.go b/service/qldb/api_op_GetRevision.go index 0ad969e67b4..df3eee51128 100644 --- a/service/qldb/api_op_GetRevision.go +++ b/service/qldb/api_op_GetRevision.go @@ -142,9 +142,6 @@ func (c *Client) addOperationGetRevisionMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRevisionValidationMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_ListJournalKinesisStreamsForLedger.go b/service/qldb/api_op_ListJournalKinesisStreamsForLedger.go index 24ea383377b..07df4022376 100644 --- a/service/qldb/api_op_ListJournalKinesisStreamsForLedger.go +++ b/service/qldb/api_op_ListJournalKinesisStreamsForLedger.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListJournalKinesisStreamsForLedgerMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListJournalKinesisStreamsForLedgerValidationMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_ListJournalS3Exports.go b/service/qldb/api_op_ListJournalS3Exports.go index ff1c5d88f73..c472de0e328 100644 --- a/service/qldb/api_op_ListJournalS3Exports.go +++ b/service/qldb/api_op_ListJournalS3Exports.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListJournalS3ExportsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJournalS3Exports(options.Region), middleware.Before); err != nil { return err } diff --git a/service/qldb/api_op_ListJournalS3ExportsForLedger.go b/service/qldb/api_op_ListJournalS3ExportsForLedger.go index 34f5e725aee..e1d289d819a 100644 --- a/service/qldb/api_op_ListJournalS3ExportsForLedger.go +++ b/service/qldb/api_op_ListJournalS3ExportsForLedger.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListJournalS3ExportsForLedgerMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListJournalS3ExportsForLedgerValidationMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_ListLedgers.go b/service/qldb/api_op_ListLedgers.go index 41efd1fbbcd..4948582d5a3 100644 --- a/service/qldb/api_op_ListLedgers.go +++ b/service/qldb/api_op_ListLedgers.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListLedgersMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLedgers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/qldb/api_op_ListTagsForResource.go b/service/qldb/api_op_ListTagsForResource.go index 23fc007d80b..db0b2792644 100644 --- a/service/qldb/api_op_ListTagsForResource.go +++ b/service/qldb/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_StreamJournalToKinesis.go b/service/qldb/api_op_StreamJournalToKinesis.go index 4659003cb40..e8e3bbfa2c3 100644 --- a/service/qldb/api_op_StreamJournalToKinesis.go +++ b/service/qldb/api_op_StreamJournalToKinesis.go @@ -169,9 +169,6 @@ func (c *Client) addOperationStreamJournalToKinesisMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStreamJournalToKinesisValidationMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_TagResource.go b/service/qldb/api_op_TagResource.go index 0edc2dc2668..17c73e5b365 100644 --- a/service/qldb/api_op_TagResource.go +++ b/service/qldb/api_op_TagResource.go @@ -120,9 +120,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_UntagResource.go b/service/qldb/api_op_UntagResource.go index 115d1baa149..a975fd30f71 100644 --- a/service/qldb/api_op_UntagResource.go +++ b/service/qldb/api_op_UntagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_UpdateLedger.go b/service/qldb/api_op_UpdateLedger.go index b63b89ab820..752149f41e4 100644 --- a/service/qldb/api_op_UpdateLedger.go +++ b/service/qldb/api_op_UpdateLedger.go @@ -184,9 +184,6 @@ func (c *Client) addOperationUpdateLedgerMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLedgerValidationMiddleware(stack); err != nil { return err } diff --git a/service/qldb/api_op_UpdateLedgerPermissionsMode.go b/service/qldb/api_op_UpdateLedgerPermissionsMode.go index d67cda19e23..4968baa4a25 100644 --- a/service/qldb/api_op_UpdateLedgerPermissionsMode.go +++ b/service/qldb/api_op_UpdateLedgerPermissionsMode.go @@ -152,9 +152,6 @@ func (c *Client) addOperationUpdateLedgerPermissionsModeMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLedgerPermissionsModeValidationMiddleware(stack); err != nil { return err } diff --git a/service/qldb/snapshot/api_op_CancelJournalKinesisStream.go.snap b/service/qldb/snapshot/api_op_CancelJournalKinesisStream.go.snap index 1d967fe3e43..2cf3a09225f 100644 --- a/service/qldb/snapshot/api_op_CancelJournalKinesisStream.go.snap +++ b/service/qldb/snapshot/api_op_CancelJournalKinesisStream.go.snap @@ -14,7 +14,6 @@ CancelJournalKinesisStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qldb/snapshot/api_op_CreateLedger.go.snap b/service/qldb/snapshot/api_op_CreateLedger.go.snap index 2c8ca155705..3bbb7eae70e 100644 --- a/service/qldb/snapshot/api_op_CreateLedger.go.snap +++ b/service/qldb/snapshot/api_op_CreateLedger.go.snap @@ -14,7 +14,6 @@ CreateLedger Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qldb/snapshot/api_op_DeleteLedger.go.snap b/service/qldb/snapshot/api_op_DeleteLedger.go.snap index 0bdd0c86668..9fb6cf727e0 100644 --- a/service/qldb/snapshot/api_op_DeleteLedger.go.snap +++ b/service/qldb/snapshot/api_op_DeleteLedger.go.snap @@ -14,7 +14,6 @@ DeleteLedger Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qldb/snapshot/api_op_DescribeJournalKinesisStream.go.snap b/service/qldb/snapshot/api_op_DescribeJournalKinesisStream.go.snap index d7d78955a40..96903493396 100644 --- a/service/qldb/snapshot/api_op_DescribeJournalKinesisStream.go.snap +++ b/service/qldb/snapshot/api_op_DescribeJournalKinesisStream.go.snap @@ -14,7 +14,6 @@ DescribeJournalKinesisStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qldb/snapshot/api_op_DescribeJournalS3Export.go.snap b/service/qldb/snapshot/api_op_DescribeJournalS3Export.go.snap index 86f6cf24933..e0c3bc4b5d1 100644 --- a/service/qldb/snapshot/api_op_DescribeJournalS3Export.go.snap +++ b/service/qldb/snapshot/api_op_DescribeJournalS3Export.go.snap @@ -14,7 +14,6 @@ DescribeJournalS3Export Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qldb/snapshot/api_op_DescribeLedger.go.snap b/service/qldb/snapshot/api_op_DescribeLedger.go.snap index ba5eca0f7cf..a27eb27a79c 100644 --- a/service/qldb/snapshot/api_op_DescribeLedger.go.snap +++ b/service/qldb/snapshot/api_op_DescribeLedger.go.snap @@ -14,7 +14,6 @@ DescribeLedger Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qldb/snapshot/api_op_ExportJournalToS3.go.snap b/service/qldb/snapshot/api_op_ExportJournalToS3.go.snap index ea416833f2a..e090208eabb 100644 --- a/service/qldb/snapshot/api_op_ExportJournalToS3.go.snap +++ b/service/qldb/snapshot/api_op_ExportJournalToS3.go.snap @@ -14,7 +14,6 @@ ExportJournalToS3 Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qldb/snapshot/api_op_GetBlock.go.snap b/service/qldb/snapshot/api_op_GetBlock.go.snap index 11f5361ab55..a2af1ac26c2 100644 --- a/service/qldb/snapshot/api_op_GetBlock.go.snap +++ b/service/qldb/snapshot/api_op_GetBlock.go.snap @@ -14,7 +14,6 @@ GetBlock Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qldb/snapshot/api_op_GetDigest.go.snap b/service/qldb/snapshot/api_op_GetDigest.go.snap index 4c620deaac8..8e0a30dafcd 100644 --- a/service/qldb/snapshot/api_op_GetDigest.go.snap +++ b/service/qldb/snapshot/api_op_GetDigest.go.snap @@ -14,7 +14,6 @@ GetDigest Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qldb/snapshot/api_op_GetRevision.go.snap b/service/qldb/snapshot/api_op_GetRevision.go.snap index 96f4d0a6138..865d9e66a5b 100644 --- a/service/qldb/snapshot/api_op_GetRevision.go.snap +++ b/service/qldb/snapshot/api_op_GetRevision.go.snap @@ -14,7 +14,6 @@ GetRevision Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qldb/snapshot/api_op_ListJournalKinesisStreamsForLedger.go.snap b/service/qldb/snapshot/api_op_ListJournalKinesisStreamsForLedger.go.snap index dbd76f2f1de..4a6299c4321 100644 --- a/service/qldb/snapshot/api_op_ListJournalKinesisStreamsForLedger.go.snap +++ b/service/qldb/snapshot/api_op_ListJournalKinesisStreamsForLedger.go.snap @@ -14,7 +14,6 @@ ListJournalKinesisStreamsForLedger Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qldb/snapshot/api_op_ListJournalS3Exports.go.snap b/service/qldb/snapshot/api_op_ListJournalS3Exports.go.snap index 418706396b6..5da87dd38f8 100644 --- a/service/qldb/snapshot/api_op_ListJournalS3Exports.go.snap +++ b/service/qldb/snapshot/api_op_ListJournalS3Exports.go.snap @@ -13,7 +13,6 @@ ListJournalS3Exports Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qldb/snapshot/api_op_ListJournalS3ExportsForLedger.go.snap b/service/qldb/snapshot/api_op_ListJournalS3ExportsForLedger.go.snap index d1aebd7f94a..69c80259b57 100644 --- a/service/qldb/snapshot/api_op_ListJournalS3ExportsForLedger.go.snap +++ b/service/qldb/snapshot/api_op_ListJournalS3ExportsForLedger.go.snap @@ -14,7 +14,6 @@ ListJournalS3ExportsForLedger Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qldb/snapshot/api_op_ListLedgers.go.snap b/service/qldb/snapshot/api_op_ListLedgers.go.snap index 5c6f0aa4586..ed003342463 100644 --- a/service/qldb/snapshot/api_op_ListLedgers.go.snap +++ b/service/qldb/snapshot/api_op_ListLedgers.go.snap @@ -13,7 +13,6 @@ ListLedgers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qldb/snapshot/api_op_ListTagsForResource.go.snap b/service/qldb/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/qldb/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/qldb/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qldb/snapshot/api_op_StreamJournalToKinesis.go.snap b/service/qldb/snapshot/api_op_StreamJournalToKinesis.go.snap index f1e2b47d185..cf4050f9dab 100644 --- a/service/qldb/snapshot/api_op_StreamJournalToKinesis.go.snap +++ b/service/qldb/snapshot/api_op_StreamJournalToKinesis.go.snap @@ -14,7 +14,6 @@ StreamJournalToKinesis Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qldb/snapshot/api_op_TagResource.go.snap b/service/qldb/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/qldb/snapshot/api_op_TagResource.go.snap +++ b/service/qldb/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qldb/snapshot/api_op_UntagResource.go.snap b/service/qldb/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/qldb/snapshot/api_op_UntagResource.go.snap +++ b/service/qldb/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qldb/snapshot/api_op_UpdateLedger.go.snap b/service/qldb/snapshot/api_op_UpdateLedger.go.snap index e056a2499c8..4f3df2eae63 100644 --- a/service/qldb/snapshot/api_op_UpdateLedger.go.snap +++ b/service/qldb/snapshot/api_op_UpdateLedger.go.snap @@ -14,7 +14,6 @@ UpdateLedger Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qldb/snapshot/api_op_UpdateLedgerPermissionsMode.go.snap b/service/qldb/snapshot/api_op_UpdateLedgerPermissionsMode.go.snap index 58a3ee0044d..4ed0eb52499 100644 --- a/service/qldb/snapshot/api_op_UpdateLedgerPermissionsMode.go.snap +++ b/service/qldb/snapshot/api_op_UpdateLedgerPermissionsMode.go.snap @@ -14,7 +14,6 @@ UpdateLedgerPermissionsMode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/qldbsession/api_client.go b/service/qldbsession/api_client.go index 4263eea249b..4f1e3b2db36 100644 --- a/service/qldbsession/api_client.go +++ b/service/qldbsession/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/qldbsession/api_op_SendCommand.go b/service/qldbsession/api_op_SendCommand.go index ad8ab0e513e..8a72055b2e5 100644 --- a/service/qldbsession/api_op_SendCommand.go +++ b/service/qldbsession/api_op_SendCommand.go @@ -171,9 +171,6 @@ func (c *Client) addOperationSendCommandMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendCommandValidationMiddleware(stack); err != nil { return err } diff --git a/service/qldbsession/snapshot/api_op_SendCommand.go.snap b/service/qldbsession/snapshot/api_op_SendCommand.go.snap index 820c2dfad6e..0e291948303 100644 --- a/service/qldbsession/snapshot/api_op_SendCommand.go.snap +++ b/service/qldbsession/snapshot/api_op_SendCommand.go.snap @@ -14,7 +14,6 @@ SendCommand Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/api_client.go b/service/quicksight/api_client.go index 2ad5b9aa902..9493eb5ca9e 100644 --- a/service/quicksight/api_client.go +++ b/service/quicksight/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/quicksight/api_op_BatchCreateTopicReviewedAnswer.go b/service/quicksight/api_op_BatchCreateTopicReviewedAnswer.go index 7bd73d8a6cf..bc629a7518b 100644 --- a/service/quicksight/api_op_BatchCreateTopicReviewedAnswer.go +++ b/service/quicksight/api_op_BatchCreateTopicReviewedAnswer.go @@ -140,9 +140,6 @@ func (c *Client) addOperationBatchCreateTopicReviewedAnswerMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchCreateTopicReviewedAnswerValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_BatchDeleteTopicReviewedAnswer.go b/service/quicksight/api_op_BatchDeleteTopicReviewedAnswer.go index dd8c95002c2..a30d16f098f 100644 --- a/service/quicksight/api_op_BatchDeleteTopicReviewedAnswer.go +++ b/service/quicksight/api_op_BatchDeleteTopicReviewedAnswer.go @@ -138,9 +138,6 @@ func (c *Client) addOperationBatchDeleteTopicReviewedAnswerMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDeleteTopicReviewedAnswerValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CancelIngestion.go b/service/quicksight/api_op_CancelIngestion.go index 2a33e98bd45..3fd5dc82fbf 100644 --- a/service/quicksight/api_op_CancelIngestion.go +++ b/service/quicksight/api_op_CancelIngestion.go @@ -130,9 +130,6 @@ func (c *Client) addOperationCancelIngestionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelIngestionValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateAccountCustomization.go b/service/quicksight/api_op_CreateAccountCustomization.go index 9fde372c109..d5c533fb9b3 100644 --- a/service/quicksight/api_op_CreateAccountCustomization.go +++ b/service/quicksight/api_op_CreateAccountCustomization.go @@ -172,9 +172,6 @@ func (c *Client) addOperationCreateAccountCustomizationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAccountCustomizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateAccountSubscription.go b/service/quicksight/api_op_CreateAccountSubscription.go index b9088c3e9ba..c9583b573a9 100644 --- a/service/quicksight/api_op_CreateAccountSubscription.go +++ b/service/quicksight/api_op_CreateAccountSubscription.go @@ -291,9 +291,6 @@ func (c *Client) addOperationCreateAccountSubscriptionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAccountSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateAnalysis.go b/service/quicksight/api_op_CreateAnalysis.go index 03d12173adb..b0e1e835190 100644 --- a/service/quicksight/api_op_CreateAnalysis.go +++ b/service/quicksight/api_op_CreateAnalysis.go @@ -182,9 +182,6 @@ func (c *Client) addOperationCreateAnalysisMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAnalysisValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateBrand.go b/service/quicksight/api_op_CreateBrand.go index a3c19db1cd2..651acb59ee1 100644 --- a/service/quicksight/api_op_CreateBrand.go +++ b/service/quicksight/api_op_CreateBrand.go @@ -129,9 +129,6 @@ func (c *Client) addOperationCreateBrandMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBrandValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateCustomPermissions.go b/service/quicksight/api_op_CreateCustomPermissions.go index 4df31fd5edf..95368a4760a 100644 --- a/service/quicksight/api_op_CreateCustomPermissions.go +++ b/service/quicksight/api_op_CreateCustomPermissions.go @@ -130,9 +130,6 @@ func (c *Client) addOperationCreateCustomPermissionsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCustomPermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateDashboard.go b/service/quicksight/api_op_CreateDashboard.go index 20605266771..eac35ce849c 100644 --- a/service/quicksight/api_op_CreateDashboard.go +++ b/service/quicksight/api_op_CreateDashboard.go @@ -230,9 +230,6 @@ func (c *Client) addOperationCreateDashboardMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDashboardValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateDataSet.go b/service/quicksight/api_op_CreateDataSet.go index 6c92ee0efe8..db475933f70 100644 --- a/service/quicksight/api_op_CreateDataSet.go +++ b/service/quicksight/api_op_CreateDataSet.go @@ -197,9 +197,6 @@ func (c *Client) addOperationCreateDataSetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDataSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateDataSource.go b/service/quicksight/api_op_CreateDataSource.go index 8a977cd548f..27438ac3d41 100644 --- a/service/quicksight/api_op_CreateDataSource.go +++ b/service/quicksight/api_op_CreateDataSource.go @@ -171,9 +171,6 @@ func (c *Client) addOperationCreateDataSourceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateFolder.go b/service/quicksight/api_op_CreateFolder.go index 046565b9efb..6ff63787bc7 100644 --- a/service/quicksight/api_op_CreateFolder.go +++ b/service/quicksight/api_op_CreateFolder.go @@ -151,9 +151,6 @@ func (c *Client) addOperationCreateFolderMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFolderValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateFolderMembership.go b/service/quicksight/api_op_CreateFolderMembership.go index 934d018acca..109a8151d47 100644 --- a/service/quicksight/api_op_CreateFolderMembership.go +++ b/service/quicksight/api_op_CreateFolderMembership.go @@ -133,9 +133,6 @@ func (c *Client) addOperationCreateFolderMembershipMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFolderMembershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateGroup.go b/service/quicksight/api_op_CreateGroup.go index 19fc23e93a4..c8a94183036 100644 --- a/service/quicksight/api_op_CreateGroup.go +++ b/service/quicksight/api_op_CreateGroup.go @@ -141,9 +141,6 @@ func (c *Client) addOperationCreateGroupMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateGroupMembership.go b/service/quicksight/api_op_CreateGroupMembership.go index c31ba77e780..a122b31fa37 100644 --- a/service/quicksight/api_op_CreateGroupMembership.go +++ b/service/quicksight/api_op_CreateGroupMembership.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateGroupMembershipMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGroupMembershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateIAMPolicyAssignment.go b/service/quicksight/api_op_CreateIAMPolicyAssignment.go index 768702ed83c..503fe293a5c 100644 --- a/service/quicksight/api_op_CreateIAMPolicyAssignment.go +++ b/service/quicksight/api_op_CreateIAMPolicyAssignment.go @@ -177,9 +177,6 @@ func (c *Client) addOperationCreateIAMPolicyAssignmentMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateIAMPolicyAssignmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateIngestion.go b/service/quicksight/api_op_CreateIngestion.go index 770ea8737c8..db27b3526e8 100644 --- a/service/quicksight/api_op_CreateIngestion.go +++ b/service/quicksight/api_op_CreateIngestion.go @@ -148,9 +148,6 @@ func (c *Client) addOperationCreateIngestionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateIngestionValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateNamespace.go b/service/quicksight/api_op_CreateNamespace.go index cef2e0e9606..ffe7b8f3279 100644 --- a/service/quicksight/api_op_CreateNamespace.go +++ b/service/quicksight/api_op_CreateNamespace.go @@ -161,9 +161,6 @@ func (c *Client) addOperationCreateNamespaceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateNamespaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateRefreshSchedule.go b/service/quicksight/api_op_CreateRefreshSchedule.go index 9b4b9011311..62e0f84921e 100644 --- a/service/quicksight/api_op_CreateRefreshSchedule.go +++ b/service/quicksight/api_op_CreateRefreshSchedule.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateRefreshScheduleMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRefreshScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateRoleMembership.go b/service/quicksight/api_op_CreateRoleMembership.go index aa46c3ff3f7..5aa40463fe9 100644 --- a/service/quicksight/api_op_CreateRoleMembership.go +++ b/service/quicksight/api_op_CreateRoleMembership.go @@ -133,9 +133,6 @@ func (c *Client) addOperationCreateRoleMembershipMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRoleMembershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateTemplate.go b/service/quicksight/api_op_CreateTemplate.go index 3b362d39760..9dcdb73b153 100644 --- a/service/quicksight/api_op_CreateTemplate.go +++ b/service/quicksight/api_op_CreateTemplate.go @@ -190,9 +190,6 @@ func (c *Client) addOperationCreateTemplateMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateTemplateAlias.go b/service/quicksight/api_op_CreateTemplateAlias.go index b6e4a6573e2..4bd874e3df1 100644 --- a/service/quicksight/api_op_CreateTemplateAlias.go +++ b/service/quicksight/api_op_CreateTemplateAlias.go @@ -136,9 +136,6 @@ func (c *Client) addOperationCreateTemplateAliasMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTemplateAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateTheme.go b/service/quicksight/api_op_CreateTheme.go index 4120f7ded94..1cb7a947e96 100644 --- a/service/quicksight/api_op_CreateTheme.go +++ b/service/quicksight/api_op_CreateTheme.go @@ -169,9 +169,6 @@ func (c *Client) addOperationCreateThemeMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateThemeValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateThemeAlias.go b/service/quicksight/api_op_CreateThemeAlias.go index f487f2f2596..5b88c2b8c5b 100644 --- a/service/quicksight/api_op_CreateThemeAlias.go +++ b/service/quicksight/api_op_CreateThemeAlias.go @@ -136,9 +136,6 @@ func (c *Client) addOperationCreateThemeAliasMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateThemeAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateTopic.go b/service/quicksight/api_op_CreateTopic.go index 1b555ee7e31..530da514481 100644 --- a/service/quicksight/api_op_CreateTopic.go +++ b/service/quicksight/api_op_CreateTopic.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCreateTopicMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTopicValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateTopicRefreshSchedule.go b/service/quicksight/api_op_CreateTopicRefreshSchedule.go index 8f305f1d214..2da05a48258 100644 --- a/service/quicksight/api_op_CreateTopicRefreshSchedule.go +++ b/service/quicksight/api_op_CreateTopicRefreshSchedule.go @@ -145,9 +145,6 @@ func (c *Client) addOperationCreateTopicRefreshScheduleMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTopicRefreshScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_CreateVPCConnection.go b/service/quicksight/api_op_CreateVPCConnection.go index 1f0077bbb3e..b3bbeb2adad 100644 --- a/service/quicksight/api_op_CreateVPCConnection.go +++ b/service/quicksight/api_op_CreateVPCConnection.go @@ -163,9 +163,6 @@ func (c *Client) addOperationCreateVPCConnectionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVPCConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteAccountCustomization.go b/service/quicksight/api_op_DeleteAccountCustomization.go index 91d057651ba..1271be1f579 100644 --- a/service/quicksight/api_op_DeleteAccountCustomization.go +++ b/service/quicksight/api_op_DeleteAccountCustomization.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteAccountCustomizationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAccountCustomizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteAccountSubscription.go b/service/quicksight/api_op_DeleteAccountSubscription.go index 8e1527c4b08..9dea5bae506 100644 --- a/service/quicksight/api_op_DeleteAccountSubscription.go +++ b/service/quicksight/api_op_DeleteAccountSubscription.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteAccountSubscriptionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAccountSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteAnalysis.go b/service/quicksight/api_op_DeleteAnalysis.go index 66dfa35559b..b55c10f9d58 100644 --- a/service/quicksight/api_op_DeleteAnalysis.go +++ b/service/quicksight/api_op_DeleteAnalysis.go @@ -153,9 +153,6 @@ func (c *Client) addOperationDeleteAnalysisMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAnalysisValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteBrand.go b/service/quicksight/api_op_DeleteBrand.go index 56fa6761217..6dd6f664021 100644 --- a/service/quicksight/api_op_DeleteBrand.go +++ b/service/quicksight/api_op_DeleteBrand.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteBrandMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBrandValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteBrandAssignment.go b/service/quicksight/api_op_DeleteBrandAssignment.go index 0af10c6fcd0..3bb0c593f64 100644 --- a/service/quicksight/api_op_DeleteBrandAssignment.go +++ b/service/quicksight/api_op_DeleteBrandAssignment.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteBrandAssignmentMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBrandAssignmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteCustomPermissions.go b/service/quicksight/api_op_DeleteCustomPermissions.go index 8439562aa6b..2b6676d4bac 100644 --- a/service/quicksight/api_op_DeleteCustomPermissions.go +++ b/service/quicksight/api_op_DeleteCustomPermissions.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteCustomPermissionsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCustomPermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteDashboard.go b/service/quicksight/api_op_DeleteDashboard.go index ab6b8424db9..22daf5173da 100644 --- a/service/quicksight/api_op_DeleteDashboard.go +++ b/service/quicksight/api_op_DeleteDashboard.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDeleteDashboardMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDashboardValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteDataSet.go b/service/quicksight/api_op_DeleteDataSet.go index 6d520e45d60..a0f2f10f426 100644 --- a/service/quicksight/api_op_DeleteDataSet.go +++ b/service/quicksight/api_op_DeleteDataSet.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDeleteDataSetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDataSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteDataSetRefreshProperties.go b/service/quicksight/api_op_DeleteDataSetRefreshProperties.go index 7604130c3c2..a258eb04ae0 100644 --- a/service/quicksight/api_op_DeleteDataSetRefreshProperties.go +++ b/service/quicksight/api_op_DeleteDataSetRefreshProperties.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteDataSetRefreshPropertiesMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDataSetRefreshPropertiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteDataSource.go b/service/quicksight/api_op_DeleteDataSource.go index bda2ce091f3..d7d5adf57e3 100644 --- a/service/quicksight/api_op_DeleteDataSource.go +++ b/service/quicksight/api_op_DeleteDataSource.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteDataSourceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteDefaultQBusinessApplication.go b/service/quicksight/api_op_DeleteDefaultQBusinessApplication.go index 3bdbbac2f33..ebfe34155c7 100644 --- a/service/quicksight/api_op_DeleteDefaultQBusinessApplication.go +++ b/service/quicksight/api_op_DeleteDefaultQBusinessApplication.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteDefaultQBusinessApplicationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDefaultQBusinessApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteFolder.go b/service/quicksight/api_op_DeleteFolder.go index 19d28f9f961..a565e07ce79 100644 --- a/service/quicksight/api_op_DeleteFolder.go +++ b/service/quicksight/api_op_DeleteFolder.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDeleteFolderMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFolderValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteFolderMembership.go b/service/quicksight/api_op_DeleteFolderMembership.go index ba1fa2051cb..d45b5f823f4 100644 --- a/service/quicksight/api_op_DeleteFolderMembership.go +++ b/service/quicksight/api_op_DeleteFolderMembership.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDeleteFolderMembershipMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFolderMembershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteGroup.go b/service/quicksight/api_op_DeleteGroup.go index 723cb531a2f..ef1df329002 100644 --- a/service/quicksight/api_op_DeleteGroup.go +++ b/service/quicksight/api_op_DeleteGroup.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDeleteGroupMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteGroupMembership.go b/service/quicksight/api_op_DeleteGroupMembership.go index 15dfcda09c1..89e57a7d899 100644 --- a/service/quicksight/api_op_DeleteGroupMembership.go +++ b/service/quicksight/api_op_DeleteGroupMembership.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDeleteGroupMembershipMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGroupMembershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteIAMPolicyAssignment.go b/service/quicksight/api_op_DeleteIAMPolicyAssignment.go index 377ad7aed13..2ddf4ca40b6 100644 --- a/service/quicksight/api_op_DeleteIAMPolicyAssignment.go +++ b/service/quicksight/api_op_DeleteIAMPolicyAssignment.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteIAMPolicyAssignmentMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIAMPolicyAssignmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteIdentityPropagationConfig.go b/service/quicksight/api_op_DeleteIdentityPropagationConfig.go index 39c3c77bb12..608775e837c 100644 --- a/service/quicksight/api_op_DeleteIdentityPropagationConfig.go +++ b/service/quicksight/api_op_DeleteIdentityPropagationConfig.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDeleteIdentityPropagationConfigMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIdentityPropagationConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteNamespace.go b/service/quicksight/api_op_DeleteNamespace.go index ff348a364d2..63b57cbc5c5 100644 --- a/service/quicksight/api_op_DeleteNamespace.go +++ b/service/quicksight/api_op_DeleteNamespace.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteNamespaceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteNamespaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteRefreshSchedule.go b/service/quicksight/api_op_DeleteRefreshSchedule.go index 55a86474122..b3a257aaa73 100644 --- a/service/quicksight/api_op_DeleteRefreshSchedule.go +++ b/service/quicksight/api_op_DeleteRefreshSchedule.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDeleteRefreshScheduleMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRefreshScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteRoleCustomPermission.go b/service/quicksight/api_op_DeleteRoleCustomPermission.go index 1338ab23c40..d17c939f8e6 100644 --- a/service/quicksight/api_op_DeleteRoleCustomPermission.go +++ b/service/quicksight/api_op_DeleteRoleCustomPermission.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDeleteRoleCustomPermissionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRoleCustomPermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteRoleMembership.go b/service/quicksight/api_op_DeleteRoleMembership.go index efc602ef78c..eedcc1c1329 100644 --- a/service/quicksight/api_op_DeleteRoleMembership.go +++ b/service/quicksight/api_op_DeleteRoleMembership.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDeleteRoleMembershipMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRoleMembershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteTemplate.go b/service/quicksight/api_op_DeleteTemplate.go index 55d76356809..946e41d582e 100644 --- a/service/quicksight/api_op_DeleteTemplate.go +++ b/service/quicksight/api_op_DeleteTemplate.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDeleteTemplateMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteTemplateAlias.go b/service/quicksight/api_op_DeleteTemplateAlias.go index 561552e7997..65da40c24d4 100644 --- a/service/quicksight/api_op_DeleteTemplateAlias.go +++ b/service/quicksight/api_op_DeleteTemplateAlias.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDeleteTemplateAliasMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTemplateAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteTheme.go b/service/quicksight/api_op_DeleteTheme.go index e690829e241..87a7fbc6f00 100644 --- a/service/quicksight/api_op_DeleteTheme.go +++ b/service/quicksight/api_op_DeleteTheme.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDeleteThemeMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteThemeValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteThemeAlias.go b/service/quicksight/api_op_DeleteThemeAlias.go index 0935dfa5c55..6b5fcfc736b 100644 --- a/service/quicksight/api_op_DeleteThemeAlias.go +++ b/service/quicksight/api_op_DeleteThemeAlias.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDeleteThemeAliasMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteThemeAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteTopic.go b/service/quicksight/api_op_DeleteTopic.go index 905674514e8..7ed9a72925b 100644 --- a/service/quicksight/api_op_DeleteTopic.go +++ b/service/quicksight/api_op_DeleteTopic.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteTopicMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTopicValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteTopicRefreshSchedule.go b/service/quicksight/api_op_DeleteTopicRefreshSchedule.go index 2bdda481c5c..8c1b5fb34e6 100644 --- a/service/quicksight/api_op_DeleteTopicRefreshSchedule.go +++ b/service/quicksight/api_op_DeleteTopicRefreshSchedule.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDeleteTopicRefreshScheduleMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTopicRefreshScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteUser.go b/service/quicksight/api_op_DeleteUser.go index 7c036567d32..b3886422bca 100644 --- a/service/quicksight/api_op_DeleteUser.go +++ b/service/quicksight/api_op_DeleteUser.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteUserByPrincipalId.go b/service/quicksight/api_op_DeleteUserByPrincipalId.go index 3ba18e9f17d..a52e883ca02 100644 --- a/service/quicksight/api_op_DeleteUserByPrincipalId.go +++ b/service/quicksight/api_op_DeleteUserByPrincipalId.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDeleteUserByPrincipalIdMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUserByPrincipalIdValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteUserCustomPermission.go b/service/quicksight/api_op_DeleteUserCustomPermission.go index f748be302c5..ab3e73fb8e1 100644 --- a/service/quicksight/api_op_DeleteUserCustomPermission.go +++ b/service/quicksight/api_op_DeleteUserCustomPermission.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDeleteUserCustomPermissionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUserCustomPermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DeleteVPCConnection.go b/service/quicksight/api_op_DeleteVPCConnection.go index de63d619c6a..993feb39ed3 100644 --- a/service/quicksight/api_op_DeleteVPCConnection.go +++ b/service/quicksight/api_op_DeleteVPCConnection.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDeleteVPCConnectionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVPCConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeAccountCustomization.go b/service/quicksight/api_op_DescribeAccountCustomization.go index 04b8301c51d..34c85f3c8d3 100644 --- a/service/quicksight/api_op_DescribeAccountCustomization.go +++ b/service/quicksight/api_op_DescribeAccountCustomization.go @@ -192,9 +192,6 @@ func (c *Client) addOperationDescribeAccountCustomizationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAccountCustomizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeAccountSettings.go b/service/quicksight/api_op_DescribeAccountSettings.go index bd6ec18df8f..a786e2c7ece 100644 --- a/service/quicksight/api_op_DescribeAccountSettings.go +++ b/service/quicksight/api_op_DescribeAccountSettings.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeAccountSettingsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAccountSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeAccountSubscription.go b/service/quicksight/api_op_DescribeAccountSubscription.go index b0985e3e9a5..64fb7f65308 100644 --- a/service/quicksight/api_op_DescribeAccountSubscription.go +++ b/service/quicksight/api_op_DescribeAccountSubscription.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeAccountSubscriptionMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAccountSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeAnalysis.go b/service/quicksight/api_op_DescribeAnalysis.go index 23b0c5ccc35..99622ebac0f 100644 --- a/service/quicksight/api_op_DescribeAnalysis.go +++ b/service/quicksight/api_op_DescribeAnalysis.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeAnalysisMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAnalysisValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeAnalysisDefinition.go b/service/quicksight/api_op_DescribeAnalysisDefinition.go index ff4208eb13f..8189298bdbe 100644 --- a/service/quicksight/api_op_DescribeAnalysisDefinition.go +++ b/service/quicksight/api_op_DescribeAnalysisDefinition.go @@ -163,9 +163,6 @@ func (c *Client) addOperationDescribeAnalysisDefinitionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAnalysisDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeAnalysisPermissions.go b/service/quicksight/api_op_DescribeAnalysisPermissions.go index 1b1535826ef..956ae9ff473 100644 --- a/service/quicksight/api_op_DescribeAnalysisPermissions.go +++ b/service/quicksight/api_op_DescribeAnalysisPermissions.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeAnalysisPermissionsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAnalysisPermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeAssetBundleExportJob.go b/service/quicksight/api_op_DescribeAssetBundleExportJob.go index 779b92f7866..2a629e70dd8 100644 --- a/service/quicksight/api_op_DescribeAssetBundleExportJob.go +++ b/service/quicksight/api_op_DescribeAssetBundleExportJob.go @@ -206,9 +206,6 @@ func (c *Client) addOperationDescribeAssetBundleExportJobMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAssetBundleExportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeAssetBundleImportJob.go b/service/quicksight/api_op_DescribeAssetBundleImportJob.go index 8a7443eb448..3742b476c07 100644 --- a/service/quicksight/api_op_DescribeAssetBundleImportJob.go +++ b/service/quicksight/api_op_DescribeAssetBundleImportJob.go @@ -192,9 +192,6 @@ func (c *Client) addOperationDescribeAssetBundleImportJobMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAssetBundleImportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeBrand.go b/service/quicksight/api_op_DescribeBrand.go index 1ef1fa1c71f..7c53dd21661 100644 --- a/service/quicksight/api_op_DescribeBrand.go +++ b/service/quicksight/api_op_DescribeBrand.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeBrandMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBrandValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeBrandAssignment.go b/service/quicksight/api_op_DescribeBrandAssignment.go index 4fb79febca0..3a5b1366f49 100644 --- a/service/quicksight/api_op_DescribeBrandAssignment.go +++ b/service/quicksight/api_op_DescribeBrandAssignment.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribeBrandAssignmentMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBrandAssignmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeBrandPublishedVersion.go b/service/quicksight/api_op_DescribeBrandPublishedVersion.go index dce8470c418..41796d7e743 100644 --- a/service/quicksight/api_op_DescribeBrandPublishedVersion.go +++ b/service/quicksight/api_op_DescribeBrandPublishedVersion.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeBrandPublishedVersionMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBrandPublishedVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeCustomPermissions.go b/service/quicksight/api_op_DescribeCustomPermissions.go index 100836cab53..438727bcad7 100644 --- a/service/quicksight/api_op_DescribeCustomPermissions.go +++ b/service/quicksight/api_op_DescribeCustomPermissions.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeCustomPermissionsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCustomPermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeDashboard.go b/service/quicksight/api_op_DescribeDashboard.go index 5025d4765a8..3f9c1254118 100644 --- a/service/quicksight/api_op_DescribeDashboard.go +++ b/service/quicksight/api_op_DescribeDashboard.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeDashboardMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDashboardValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeDashboardDefinition.go b/service/quicksight/api_op_DescribeDashboardDefinition.go index 39bfb3910de..0ac09cb264f 100644 --- a/service/quicksight/api_op_DescribeDashboardDefinition.go +++ b/service/quicksight/api_op_DescribeDashboardDefinition.go @@ -184,9 +184,6 @@ func (c *Client) addOperationDescribeDashboardDefinitionMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDashboardDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeDashboardPermissions.go b/service/quicksight/api_op_DescribeDashboardPermissions.go index f23b580172d..f9c26730e93 100644 --- a/service/quicksight/api_op_DescribeDashboardPermissions.go +++ b/service/quicksight/api_op_DescribeDashboardPermissions.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDescribeDashboardPermissionsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDashboardPermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeDashboardSnapshotJob.go b/service/quicksight/api_op_DescribeDashboardSnapshotJob.go index 4a37d83fc69..fed23fb7b49 100644 --- a/service/quicksight/api_op_DescribeDashboardSnapshotJob.go +++ b/service/quicksight/api_op_DescribeDashboardSnapshotJob.go @@ -172,9 +172,6 @@ func (c *Client) addOperationDescribeDashboardSnapshotJobMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDashboardSnapshotJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeDashboardSnapshotJobResult.go b/service/quicksight/api_op_DescribeDashboardSnapshotJobResult.go index ddaa1a12cc0..0b36777b69c 100644 --- a/service/quicksight/api_op_DescribeDashboardSnapshotJobResult.go +++ b/service/quicksight/api_op_DescribeDashboardSnapshotJobResult.go @@ -156,9 +156,6 @@ func (c *Client) addOperationDescribeDashboardSnapshotJobResultMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDashboardSnapshotJobResultValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeDashboardsQAConfiguration.go b/service/quicksight/api_op_DescribeDashboardsQAConfiguration.go index 16d7c39f859..71646c45cc3 100644 --- a/service/quicksight/api_op_DescribeDashboardsQAConfiguration.go +++ b/service/quicksight/api_op_DescribeDashboardsQAConfiguration.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeDashboardsQAConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDashboardsQAConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeDataSet.go b/service/quicksight/api_op_DescribeDataSet.go index 44b8896868d..800511ea41b 100644 --- a/service/quicksight/api_op_DescribeDataSet.go +++ b/service/quicksight/api_op_DescribeDataSet.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribeDataSetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDataSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeDataSetPermissions.go b/service/quicksight/api_op_DescribeDataSetPermissions.go index ae064677031..cf2021c91f1 100644 --- a/service/quicksight/api_op_DescribeDataSetPermissions.go +++ b/service/quicksight/api_op_DescribeDataSetPermissions.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeDataSetPermissionsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDataSetPermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeDataSetRefreshProperties.go b/service/quicksight/api_op_DescribeDataSetRefreshProperties.go index 5a0ba16edd0..a70a34a2f46 100644 --- a/service/quicksight/api_op_DescribeDataSetRefreshProperties.go +++ b/service/quicksight/api_op_DescribeDataSetRefreshProperties.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeDataSetRefreshPropertiesMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDataSetRefreshPropertiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeDataSource.go b/service/quicksight/api_op_DescribeDataSource.go index a43c706321c..0147fdc08ab 100644 --- a/service/quicksight/api_op_DescribeDataSource.go +++ b/service/quicksight/api_op_DescribeDataSource.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeDataSourceMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeDataSourcePermissions.go b/service/quicksight/api_op_DescribeDataSourcePermissions.go index cbdf15abad7..7f50c8184dd 100644 --- a/service/quicksight/api_op_DescribeDataSourcePermissions.go +++ b/service/quicksight/api_op_DescribeDataSourcePermissions.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeDataSourcePermissionsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDataSourcePermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeDefaultQBusinessApplication.go b/service/quicksight/api_op_DescribeDefaultQBusinessApplication.go index ecdff08bc31..c86a1ac4b71 100644 --- a/service/quicksight/api_op_DescribeDefaultQBusinessApplication.go +++ b/service/quicksight/api_op_DescribeDefaultQBusinessApplication.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribeDefaultQBusinessApplicationMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDefaultQBusinessApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeFolder.go b/service/quicksight/api_op_DescribeFolder.go index b694addccd0..9ecb90543be 100644 --- a/service/quicksight/api_op_DescribeFolder.go +++ b/service/quicksight/api_op_DescribeFolder.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeFolderMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFolderValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeFolderPermissions.go b/service/quicksight/api_op_DescribeFolderPermissions.go index e8ef7a521ea..383d4e9a0f5 100644 --- a/service/quicksight/api_op_DescribeFolderPermissions.go +++ b/service/quicksight/api_op_DescribeFolderPermissions.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDescribeFolderPermissionsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFolderPermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeFolderResolvedPermissions.go b/service/quicksight/api_op_DescribeFolderResolvedPermissions.go index 06f0e958a84..90d950e3633 100644 --- a/service/quicksight/api_op_DescribeFolderResolvedPermissions.go +++ b/service/quicksight/api_op_DescribeFolderResolvedPermissions.go @@ -143,9 +143,6 @@ func (c *Client) addOperationDescribeFolderResolvedPermissionsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFolderResolvedPermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeGroup.go b/service/quicksight/api_op_DescribeGroup.go index bddd067423a..8e5c01aa832 100644 --- a/service/quicksight/api_op_DescribeGroup.go +++ b/service/quicksight/api_op_DescribeGroup.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeGroupMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeGroupMembership.go b/service/quicksight/api_op_DescribeGroupMembership.go index dffe8f2c5bb..bb33192dcb0 100644 --- a/service/quicksight/api_op_DescribeGroupMembership.go +++ b/service/quicksight/api_op_DescribeGroupMembership.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDescribeGroupMembershipMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeGroupMembershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeIAMPolicyAssignment.go b/service/quicksight/api_op_DescribeIAMPolicyAssignment.go index 989af596c8b..b7b4a62b32e 100644 --- a/service/quicksight/api_op_DescribeIAMPolicyAssignment.go +++ b/service/quicksight/api_op_DescribeIAMPolicyAssignment.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeIAMPolicyAssignmentMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeIAMPolicyAssignmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeIngestion.go b/service/quicksight/api_op_DescribeIngestion.go index 53ec7bd6578..58fd21db19c 100644 --- a/service/quicksight/api_op_DescribeIngestion.go +++ b/service/quicksight/api_op_DescribeIngestion.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDescribeIngestionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeIngestionValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeIpRestriction.go b/service/quicksight/api_op_DescribeIpRestriction.go index c77fc51fbf4..0c15e98bef5 100644 --- a/service/quicksight/api_op_DescribeIpRestriction.go +++ b/service/quicksight/api_op_DescribeIpRestriction.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeIpRestrictionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeIpRestrictionValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeKeyRegistration.go b/service/quicksight/api_op_DescribeKeyRegistration.go index 6254415c0ab..5046449da70 100644 --- a/service/quicksight/api_op_DescribeKeyRegistration.go +++ b/service/quicksight/api_op_DescribeKeyRegistration.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeKeyRegistrationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeKeyRegistrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeNamespace.go b/service/quicksight/api_op_DescribeNamespace.go index 751944533ad..6e419318be9 100644 --- a/service/quicksight/api_op_DescribeNamespace.go +++ b/service/quicksight/api_op_DescribeNamespace.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDescribeNamespaceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeNamespaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeQPersonalizationConfiguration.go b/service/quicksight/api_op_DescribeQPersonalizationConfiguration.go index 2bf6fd074f5..5b0cee0230c 100644 --- a/service/quicksight/api_op_DescribeQPersonalizationConfiguration.go +++ b/service/quicksight/api_op_DescribeQPersonalizationConfiguration.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeQPersonalizationConfigurationMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeQPersonalizationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeQuickSightQSearchConfiguration.go b/service/quicksight/api_op_DescribeQuickSightQSearchConfiguration.go index 01aae95205d..124a9747432 100644 --- a/service/quicksight/api_op_DescribeQuickSightQSearchConfiguration.go +++ b/service/quicksight/api_op_DescribeQuickSightQSearchConfiguration.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeQuickSightQSearchConfigurationMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeQuickSightQSearchConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeRefreshSchedule.go b/service/quicksight/api_op_DescribeRefreshSchedule.go index eb728cf4183..4245ef688c4 100644 --- a/service/quicksight/api_op_DescribeRefreshSchedule.go +++ b/service/quicksight/api_op_DescribeRefreshSchedule.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeRefreshScheduleMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRefreshScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeRoleCustomPermission.go b/service/quicksight/api_op_DescribeRoleCustomPermission.go index a4b0f6017ee..80b2038be7d 100644 --- a/service/quicksight/api_op_DescribeRoleCustomPermission.go +++ b/service/quicksight/api_op_DescribeRoleCustomPermission.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeRoleCustomPermissionMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRoleCustomPermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeTemplate.go b/service/quicksight/api_op_DescribeTemplate.go index 06ab34d875f..9be7621d260 100644 --- a/service/quicksight/api_op_DescribeTemplate.go +++ b/service/quicksight/api_op_DescribeTemplate.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeTemplateMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeTemplateAlias.go b/service/quicksight/api_op_DescribeTemplateAlias.go index 6ff2b33caed..f3d17f6d644 100644 --- a/service/quicksight/api_op_DescribeTemplateAlias.go +++ b/service/quicksight/api_op_DescribeTemplateAlias.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeTemplateAliasMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTemplateAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeTemplateDefinition.go b/service/quicksight/api_op_DescribeTemplateDefinition.go index 976d4284717..88789bddbdd 100644 --- a/service/quicksight/api_op_DescribeTemplateDefinition.go +++ b/service/quicksight/api_op_DescribeTemplateDefinition.go @@ -171,9 +171,6 @@ func (c *Client) addOperationDescribeTemplateDefinitionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTemplateDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeTemplatePermissions.go b/service/quicksight/api_op_DescribeTemplatePermissions.go index a1bc4d341a7..e15bd949b62 100644 --- a/service/quicksight/api_op_DescribeTemplatePermissions.go +++ b/service/quicksight/api_op_DescribeTemplatePermissions.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeTemplatePermissionsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTemplatePermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeTheme.go b/service/quicksight/api_op_DescribeTheme.go index a02a737ea63..15b2cb59855 100644 --- a/service/quicksight/api_op_DescribeTheme.go +++ b/service/quicksight/api_op_DescribeTheme.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeThemeMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeThemeValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeThemeAlias.go b/service/quicksight/api_op_DescribeThemeAlias.go index a88f5208c87..ce24153a6d9 100644 --- a/service/quicksight/api_op_DescribeThemeAlias.go +++ b/service/quicksight/api_op_DescribeThemeAlias.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeThemeAliasMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeThemeAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeThemePermissions.go b/service/quicksight/api_op_DescribeThemePermissions.go index 09b56a2c15a..85e097d8021 100644 --- a/service/quicksight/api_op_DescribeThemePermissions.go +++ b/service/quicksight/api_op_DescribeThemePermissions.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeThemePermissionsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeThemePermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeTopic.go b/service/quicksight/api_op_DescribeTopic.go index bff0b3fb150..018cc5df1d8 100644 --- a/service/quicksight/api_op_DescribeTopic.go +++ b/service/quicksight/api_op_DescribeTopic.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeTopicMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTopicValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeTopicPermissions.go b/service/quicksight/api_op_DescribeTopicPermissions.go index b375336f71c..40da26e2fb4 100644 --- a/service/quicksight/api_op_DescribeTopicPermissions.go +++ b/service/quicksight/api_op_DescribeTopicPermissions.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeTopicPermissionsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTopicPermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeTopicRefresh.go b/service/quicksight/api_op_DescribeTopicRefresh.go index 018731f9a5f..edf116aa9ac 100644 --- a/service/quicksight/api_op_DescribeTopicRefresh.go +++ b/service/quicksight/api_op_DescribeTopicRefresh.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeTopicRefreshMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTopicRefreshValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeTopicRefreshSchedule.go b/service/quicksight/api_op_DescribeTopicRefreshSchedule.go index d76fb0e88f5..55d582d18d9 100644 --- a/service/quicksight/api_op_DescribeTopicRefreshSchedule.go +++ b/service/quicksight/api_op_DescribeTopicRefreshSchedule.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeTopicRefreshScheduleMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTopicRefreshScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeUser.go b/service/quicksight/api_op_DescribeUser.go index e3fe6bc0542..e3c30f69e6f 100644 --- a/service/quicksight/api_op_DescribeUser.go +++ b/service/quicksight/api_op_DescribeUser.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeUserMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_DescribeVPCConnection.go b/service/quicksight/api_op_DescribeVPCConnection.go index ef4e9b6d548..706dd4ae33e 100644 --- a/service/quicksight/api_op_DescribeVPCConnection.go +++ b/service/quicksight/api_op_DescribeVPCConnection.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeVPCConnectionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeVPCConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_GenerateEmbedUrlForAnonymousUser.go b/service/quicksight/api_op_GenerateEmbedUrlForAnonymousUser.go index 7f728429755..101efe6889f 100644 --- a/service/quicksight/api_op_GenerateEmbedUrlForAnonymousUser.go +++ b/service/quicksight/api_op_GenerateEmbedUrlForAnonymousUser.go @@ -206,9 +206,6 @@ func (c *Client) addOperationGenerateEmbedUrlForAnonymousUserMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGenerateEmbedUrlForAnonymousUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_GenerateEmbedUrlForRegisteredUser.go b/service/quicksight/api_op_GenerateEmbedUrlForRegisteredUser.go index c7e66c9957d..b32ffabdd68 100644 --- a/service/quicksight/api_op_GenerateEmbedUrlForRegisteredUser.go +++ b/service/quicksight/api_op_GenerateEmbedUrlForRegisteredUser.go @@ -182,9 +182,6 @@ func (c *Client) addOperationGenerateEmbedUrlForRegisteredUserMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGenerateEmbedUrlForRegisteredUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_GenerateEmbedUrlForRegisteredUserWithIdentity.go b/service/quicksight/api_op_GenerateEmbedUrlForRegisteredUserWithIdentity.go index f7c47c3b131..2cdcfbd800f 100644 --- a/service/quicksight/api_op_GenerateEmbedUrlForRegisteredUserWithIdentity.go +++ b/service/quicksight/api_op_GenerateEmbedUrlForRegisteredUserWithIdentity.go @@ -154,9 +154,6 @@ func (c *Client) addOperationGenerateEmbedUrlForRegisteredUserWithIdentityMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGenerateEmbedUrlForRegisteredUserWithIdentityValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_GetDashboardEmbedUrl.go b/service/quicksight/api_op_GetDashboardEmbedUrl.go index 21dbe894eb1..10e7175a20b 100644 --- a/service/quicksight/api_op_GetDashboardEmbedUrl.go +++ b/service/quicksight/api_op_GetDashboardEmbedUrl.go @@ -208,9 +208,6 @@ func (c *Client) addOperationGetDashboardEmbedUrlMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDashboardEmbedUrlValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_GetSessionEmbedUrl.go b/service/quicksight/api_op_GetSessionEmbedUrl.go index 0f6cd50f53c..a5810b968cd 100644 --- a/service/quicksight/api_op_GetSessionEmbedUrl.go +++ b/service/quicksight/api_op_GetSessionEmbedUrl.go @@ -176,9 +176,6 @@ func (c *Client) addOperationGetSessionEmbedUrlMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSessionEmbedUrlValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListAnalyses.go b/service/quicksight/api_op_ListAnalyses.go index 3c17dd4f478..6d56e4b0a42 100644 --- a/service/quicksight/api_op_ListAnalyses.go +++ b/service/quicksight/api_op_ListAnalyses.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListAnalysesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAnalysesValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListAssetBundleExportJobs.go b/service/quicksight/api_op_ListAssetBundleExportJobs.go index 73e4b705ddd..2ce1d530a21 100644 --- a/service/quicksight/api_op_ListAssetBundleExportJobs.go +++ b/service/quicksight/api_op_ListAssetBundleExportJobs.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListAssetBundleExportJobsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAssetBundleExportJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListAssetBundleImportJobs.go b/service/quicksight/api_op_ListAssetBundleImportJobs.go index 89fc4dd10dd..bc9423bbf9d 100644 --- a/service/quicksight/api_op_ListAssetBundleImportJobs.go +++ b/service/quicksight/api_op_ListAssetBundleImportJobs.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListAssetBundleImportJobsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAssetBundleImportJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListBrands.go b/service/quicksight/api_op_ListBrands.go index c4a61d6f816..4f2544dced0 100644 --- a/service/quicksight/api_op_ListBrands.go +++ b/service/quicksight/api_op_ListBrands.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListBrandsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBrandsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListCustomPermissions.go b/service/quicksight/api_op_ListCustomPermissions.go index 08674b84d1b..312ae9632ae 100644 --- a/service/quicksight/api_op_ListCustomPermissions.go +++ b/service/quicksight/api_op_ListCustomPermissions.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListCustomPermissionsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCustomPermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListDashboardVersions.go b/service/quicksight/api_op_ListDashboardVersions.go index 5d31d33d60b..921cd9aea1c 100644 --- a/service/quicksight/api_op_ListDashboardVersions.go +++ b/service/quicksight/api_op_ListDashboardVersions.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListDashboardVersionsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDashboardVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListDashboards.go b/service/quicksight/api_op_ListDashboards.go index 925fa6480b4..a997b39584c 100644 --- a/service/quicksight/api_op_ListDashboards.go +++ b/service/quicksight/api_op_ListDashboards.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListDashboardsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDashboardsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListDataSets.go b/service/quicksight/api_op_ListDataSets.go index 19341204624..c8d7d300b31 100644 --- a/service/quicksight/api_op_ListDataSets.go +++ b/service/quicksight/api_op_ListDataSets.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListDataSetsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDataSetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListDataSources.go b/service/quicksight/api_op_ListDataSources.go index 889f00c3358..5b3f4718738 100644 --- a/service/quicksight/api_op_ListDataSources.go +++ b/service/quicksight/api_op_ListDataSources.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListDataSourcesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDataSourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListFolderMembers.go b/service/quicksight/api_op_ListFolderMembers.go index 4936874a2cc..d1816b7a0d1 100644 --- a/service/quicksight/api_op_ListFolderMembers.go +++ b/service/quicksight/api_op_ListFolderMembers.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListFolderMembersMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFolderMembersValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListFolders.go b/service/quicksight/api_op_ListFolders.go index 07fe07f1141..8ed7a0d3fd3 100644 --- a/service/quicksight/api_op_ListFolders.go +++ b/service/quicksight/api_op_ListFolders.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListFoldersMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFoldersValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListFoldersForResource.go b/service/quicksight/api_op_ListFoldersForResource.go index 70b2a1197d1..b77c5fee2da 100644 --- a/service/quicksight/api_op_ListFoldersForResource.go +++ b/service/quicksight/api_op_ListFoldersForResource.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListFoldersForResourceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFoldersForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListGroupMemberships.go b/service/quicksight/api_op_ListGroupMemberships.go index 2c4031675ab..750c54e0f2f 100644 --- a/service/quicksight/api_op_ListGroupMemberships.go +++ b/service/quicksight/api_op_ListGroupMemberships.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListGroupMembershipsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListGroupMembershipsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListGroups.go b/service/quicksight/api_op_ListGroups.go index 0ec7d1d3abf..fcf2b315964 100644 --- a/service/quicksight/api_op_ListGroups.go +++ b/service/quicksight/api_op_ListGroups.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListGroupsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListIAMPolicyAssignments.go b/service/quicksight/api_op_ListIAMPolicyAssignments.go index fda9fbd7f7f..c0c0dbd154f 100644 --- a/service/quicksight/api_op_ListIAMPolicyAssignments.go +++ b/service/quicksight/api_op_ListIAMPolicyAssignments.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListIAMPolicyAssignmentsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIAMPolicyAssignmentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListIAMPolicyAssignmentsForUser.go b/service/quicksight/api_op_ListIAMPolicyAssignmentsForUser.go index d746e9fff11..a44c97b5a75 100644 --- a/service/quicksight/api_op_ListIAMPolicyAssignmentsForUser.go +++ b/service/quicksight/api_op_ListIAMPolicyAssignmentsForUser.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListIAMPolicyAssignmentsForUserMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIAMPolicyAssignmentsForUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListIdentityPropagationConfigs.go b/service/quicksight/api_op_ListIdentityPropagationConfigs.go index 8c066b31c7d..392bd745f21 100644 --- a/service/quicksight/api_op_ListIdentityPropagationConfigs.go +++ b/service/quicksight/api_op_ListIdentityPropagationConfigs.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListIdentityPropagationConfigsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIdentityPropagationConfigsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListIngestions.go b/service/quicksight/api_op_ListIngestions.go index e1289cb6c26..cbd7a0ab438 100644 --- a/service/quicksight/api_op_ListIngestions.go +++ b/service/quicksight/api_op_ListIngestions.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListIngestionsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIngestionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListNamespaces.go b/service/quicksight/api_op_ListNamespaces.go index f071316a1ed..d464ebfd4cb 100644 --- a/service/quicksight/api_op_ListNamespaces.go +++ b/service/quicksight/api_op_ListNamespaces.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListNamespacesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListNamespacesValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListRefreshSchedules.go b/service/quicksight/api_op_ListRefreshSchedules.go index 623e3440ba8..2ae82161e37 100644 --- a/service/quicksight/api_op_ListRefreshSchedules.go +++ b/service/quicksight/api_op_ListRefreshSchedules.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListRefreshSchedulesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRefreshSchedulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListRoleMemberships.go b/service/quicksight/api_op_ListRoleMemberships.go index b18405a2268..0bde5695a89 100644 --- a/service/quicksight/api_op_ListRoleMemberships.go +++ b/service/quicksight/api_op_ListRoleMemberships.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListRoleMembershipsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRoleMembershipsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListTagsForResource.go b/service/quicksight/api_op_ListTagsForResource.go index abdd63f0d5d..1fc8eb4490b 100644 --- a/service/quicksight/api_op_ListTagsForResource.go +++ b/service/quicksight/api_op_ListTagsForResource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListTemplateAliases.go b/service/quicksight/api_op_ListTemplateAliases.go index 32c71914cd6..e5d0957aab0 100644 --- a/service/quicksight/api_op_ListTemplateAliases.go +++ b/service/quicksight/api_op_ListTemplateAliases.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListTemplateAliasesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTemplateAliasesValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListTemplateVersions.go b/service/quicksight/api_op_ListTemplateVersions.go index eca73c70d37..3fd45a52b91 100644 --- a/service/quicksight/api_op_ListTemplateVersions.go +++ b/service/quicksight/api_op_ListTemplateVersions.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListTemplateVersionsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTemplateVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListTemplates.go b/service/quicksight/api_op_ListTemplates.go index c2d49269a71..78176756b58 100644 --- a/service/quicksight/api_op_ListTemplates.go +++ b/service/quicksight/api_op_ListTemplates.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListTemplatesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTemplatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListThemeAliases.go b/service/quicksight/api_op_ListThemeAliases.go index e9f28cd5e49..f21cf457cb2 100644 --- a/service/quicksight/api_op_ListThemeAliases.go +++ b/service/quicksight/api_op_ListThemeAliases.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListThemeAliasesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListThemeAliasesValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListThemeVersions.go b/service/quicksight/api_op_ListThemeVersions.go index eec0f9322f4..ebfa38f39fe 100644 --- a/service/quicksight/api_op_ListThemeVersions.go +++ b/service/quicksight/api_op_ListThemeVersions.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListThemeVersionsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListThemeVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListThemes.go b/service/quicksight/api_op_ListThemes.go index c1c00cc0e78..79365c37e9c 100644 --- a/service/quicksight/api_op_ListThemes.go +++ b/service/quicksight/api_op_ListThemes.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListThemesMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListThemesValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListTopicRefreshSchedules.go b/service/quicksight/api_op_ListTopicRefreshSchedules.go index c1ce57f2462..c15c8adb02c 100644 --- a/service/quicksight/api_op_ListTopicRefreshSchedules.go +++ b/service/quicksight/api_op_ListTopicRefreshSchedules.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListTopicRefreshSchedulesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTopicRefreshSchedulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListTopicReviewedAnswers.go b/service/quicksight/api_op_ListTopicReviewedAnswers.go index d5dab0c5fc9..47df5ac5c49 100644 --- a/service/quicksight/api_op_ListTopicReviewedAnswers.go +++ b/service/quicksight/api_op_ListTopicReviewedAnswers.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListTopicReviewedAnswersMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTopicReviewedAnswersValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListTopics.go b/service/quicksight/api_op_ListTopics.go index fc4f775dffd..81a9bddf08f 100644 --- a/service/quicksight/api_op_ListTopics.go +++ b/service/quicksight/api_op_ListTopics.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListTopicsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTopicsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListUserGroups.go b/service/quicksight/api_op_ListUserGroups.go index 6ff9851381a..369f00d9d2e 100644 --- a/service/quicksight/api_op_ListUserGroups.go +++ b/service/quicksight/api_op_ListUserGroups.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListUserGroupsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListUserGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListUsers.go b/service/quicksight/api_op_ListUsers.go index df94987d47f..2cf794cf8b9 100644 --- a/service/quicksight/api_op_ListUsers.go +++ b/service/quicksight/api_op_ListUsers.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListUsersMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListUsersValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_ListVPCConnections.go b/service/quicksight/api_op_ListVPCConnections.go index 4b858245a42..4dd15876848 100644 --- a/service/quicksight/api_op_ListVPCConnections.go +++ b/service/quicksight/api_op_ListVPCConnections.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListVPCConnectionsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListVPCConnectionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_PredictQAResults.go b/service/quicksight/api_op_PredictQAResults.go index 94b8f9c914c..3000b884973 100644 --- a/service/quicksight/api_op_PredictQAResults.go +++ b/service/quicksight/api_op_PredictQAResults.go @@ -136,9 +136,6 @@ func (c *Client) addOperationPredictQAResultsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPredictQAResultsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_PutDataSetRefreshProperties.go b/service/quicksight/api_op_PutDataSetRefreshProperties.go index 8adddf09ba4..abb333f5bec 100644 --- a/service/quicksight/api_op_PutDataSetRefreshProperties.go +++ b/service/quicksight/api_op_PutDataSetRefreshProperties.go @@ -125,9 +125,6 @@ func (c *Client) addOperationPutDataSetRefreshPropertiesMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutDataSetRefreshPropertiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_RegisterUser.go b/service/quicksight/api_op_RegisterUser.go index 96cfe9fb328..ccb103bcd46 100644 --- a/service/quicksight/api_op_RegisterUser.go +++ b/service/quicksight/api_op_RegisterUser.go @@ -255,9 +255,6 @@ func (c *Client) addOperationRegisterUserMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_RestoreAnalysis.go b/service/quicksight/api_op_RestoreAnalysis.go index fe9d54c0d90..4c64949311f 100644 --- a/service/quicksight/api_op_RestoreAnalysis.go +++ b/service/quicksight/api_op_RestoreAnalysis.go @@ -135,9 +135,6 @@ func (c *Client) addOperationRestoreAnalysisMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreAnalysisValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_SearchAnalyses.go b/service/quicksight/api_op_SearchAnalyses.go index 97a46c1c3e3..f401e6eece4 100644 --- a/service/quicksight/api_op_SearchAnalyses.go +++ b/service/quicksight/api_op_SearchAnalyses.go @@ -136,9 +136,6 @@ func (c *Client) addOperationSearchAnalysesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchAnalysesValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_SearchDashboards.go b/service/quicksight/api_op_SearchDashboards.go index c5dbac55df5..7ba9a79f7db 100644 --- a/service/quicksight/api_op_SearchDashboards.go +++ b/service/quicksight/api_op_SearchDashboards.go @@ -139,9 +139,6 @@ func (c *Client) addOperationSearchDashboardsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchDashboardsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_SearchDataSets.go b/service/quicksight/api_op_SearchDataSets.go index b92986c91c2..6b55bd91146 100644 --- a/service/quicksight/api_op_SearchDataSets.go +++ b/service/quicksight/api_op_SearchDataSets.go @@ -133,9 +133,6 @@ func (c *Client) addOperationSearchDataSetsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchDataSetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_SearchDataSources.go b/service/quicksight/api_op_SearchDataSources.go index 2a2e771ce9a..c9199f043e7 100644 --- a/service/quicksight/api_op_SearchDataSources.go +++ b/service/quicksight/api_op_SearchDataSources.go @@ -133,9 +133,6 @@ func (c *Client) addOperationSearchDataSourcesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchDataSourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_SearchFolders.go b/service/quicksight/api_op_SearchFolders.go index 954ef495def..60d6661c112 100644 --- a/service/quicksight/api_op_SearchFolders.go +++ b/service/quicksight/api_op_SearchFolders.go @@ -136,9 +136,6 @@ func (c *Client) addOperationSearchFoldersMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchFoldersValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_SearchGroups.go b/service/quicksight/api_op_SearchGroups.go index 8bbfa5cb476..994bebb4169 100644 --- a/service/quicksight/api_op_SearchGroups.go +++ b/service/quicksight/api_op_SearchGroups.go @@ -141,9 +141,6 @@ func (c *Client) addOperationSearchGroupsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_SearchTopics.go b/service/quicksight/api_op_SearchTopics.go index 536dbb9079d..896d7c97938 100644 --- a/service/quicksight/api_op_SearchTopics.go +++ b/service/quicksight/api_op_SearchTopics.go @@ -133,9 +133,6 @@ func (c *Client) addOperationSearchTopicsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchTopicsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_StartAssetBundleExportJob.go b/service/quicksight/api_op_StartAssetBundleExportJob.go index 7d4468e6abf..d3b673ee765 100644 --- a/service/quicksight/api_op_StartAssetBundleExportJob.go +++ b/service/quicksight/api_op_StartAssetBundleExportJob.go @@ -207,9 +207,6 @@ func (c *Client) addOperationStartAssetBundleExportJobMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartAssetBundleExportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_StartAssetBundleImportJob.go b/service/quicksight/api_op_StartAssetBundleImportJob.go index 903788765aa..c24774f1a7f 100644 --- a/service/quicksight/api_op_StartAssetBundleImportJob.go +++ b/service/quicksight/api_op_StartAssetBundleImportJob.go @@ -170,9 +170,6 @@ func (c *Client) addOperationStartAssetBundleImportJobMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartAssetBundleImportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_StartDashboardSnapshotJob.go b/service/quicksight/api_op_StartDashboardSnapshotJob.go index 841cb159280..eb9d81b108a 100644 --- a/service/quicksight/api_op_StartDashboardSnapshotJob.go +++ b/service/quicksight/api_op_StartDashboardSnapshotJob.go @@ -226,9 +226,6 @@ func (c *Client) addOperationStartDashboardSnapshotJobMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartDashboardSnapshotJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_StartDashboardSnapshotJobSchedule.go b/service/quicksight/api_op_StartDashboardSnapshotJobSchedule.go index 12d43b97c6e..ec3cd51ea57 100644 --- a/service/quicksight/api_op_StartDashboardSnapshotJobSchedule.go +++ b/service/quicksight/api_op_StartDashboardSnapshotJobSchedule.go @@ -136,9 +136,6 @@ func (c *Client) addOperationStartDashboardSnapshotJobScheduleMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartDashboardSnapshotJobScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_TagResource.go b/service/quicksight/api_op_TagResource.go index c488051142f..46dea58a93b 100644 --- a/service/quicksight/api_op_TagResource.go +++ b/service/quicksight/api_op_TagResource.go @@ -143,9 +143,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UntagResource.go b/service/quicksight/api_op_UntagResource.go index 25d1b9ca18f..0860ba669ae 100644 --- a/service/quicksight/api_op_UntagResource.go +++ b/service/quicksight/api_op_UntagResource.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateAccountCustomization.go b/service/quicksight/api_op_UpdateAccountCustomization.go index b71a51a5313..d057a247e63 100644 --- a/service/quicksight/api_op_UpdateAccountCustomization.go +++ b/service/quicksight/api_op_UpdateAccountCustomization.go @@ -147,9 +147,6 @@ func (c *Client) addOperationUpdateAccountCustomizationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAccountCustomizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateAccountSettings.go b/service/quicksight/api_op_UpdateAccountSettings.go index c3120915e20..17af8c3b5ea 100644 --- a/service/quicksight/api_op_UpdateAccountSettings.go +++ b/service/quicksight/api_op_UpdateAccountSettings.go @@ -133,9 +133,6 @@ func (c *Client) addOperationUpdateAccountSettingsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAccountSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateAnalysis.go b/service/quicksight/api_op_UpdateAnalysis.go index 78639e1fca5..3c6ce918fdf 100644 --- a/service/quicksight/api_op_UpdateAnalysis.go +++ b/service/quicksight/api_op_UpdateAnalysis.go @@ -161,9 +161,6 @@ func (c *Client) addOperationUpdateAnalysisMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAnalysisValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateAnalysisPermissions.go b/service/quicksight/api_op_UpdateAnalysisPermissions.go index be3894941e8..1bbacbb4355 100644 --- a/service/quicksight/api_op_UpdateAnalysisPermissions.go +++ b/service/quicksight/api_op_UpdateAnalysisPermissions.go @@ -141,9 +141,6 @@ func (c *Client) addOperationUpdateAnalysisPermissionsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAnalysisPermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateApplicationWithTokenExchangeGrant.go b/service/quicksight/api_op_UpdateApplicationWithTokenExchangeGrant.go index bc58d9f9609..c03864fde50 100644 --- a/service/quicksight/api_op_UpdateApplicationWithTokenExchangeGrant.go +++ b/service/quicksight/api_op_UpdateApplicationWithTokenExchangeGrant.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateApplicationWithTokenExchangeGrantMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApplicationWithTokenExchangeGrantValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateBrand.go b/service/quicksight/api_op_UpdateBrand.go index 5e2f5dc68f4..85cbd91d4ed 100644 --- a/service/quicksight/api_op_UpdateBrand.go +++ b/service/quicksight/api_op_UpdateBrand.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateBrandMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBrandValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateBrandAssignment.go b/service/quicksight/api_op_UpdateBrandAssignment.go index 0791415de8c..bb7aaad5e14 100644 --- a/service/quicksight/api_op_UpdateBrandAssignment.go +++ b/service/quicksight/api_op_UpdateBrandAssignment.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateBrandAssignmentMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBrandAssignmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateBrandPublishedVersion.go b/service/quicksight/api_op_UpdateBrandPublishedVersion.go index 0a1a9a10263..9e78f15e224 100644 --- a/service/quicksight/api_op_UpdateBrandPublishedVersion.go +++ b/service/quicksight/api_op_UpdateBrandPublishedVersion.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateBrandPublishedVersionMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBrandPublishedVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateCustomPermissions.go b/service/quicksight/api_op_UpdateCustomPermissions.go index e1e1e2f01f4..f6f9c19e9ea 100644 --- a/service/quicksight/api_op_UpdateCustomPermissions.go +++ b/service/quicksight/api_op_UpdateCustomPermissions.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateCustomPermissionsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCustomPermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateDashboard.go b/service/quicksight/api_op_UpdateDashboard.go index 5838882b1ff..6cabbc0ec20 100644 --- a/service/quicksight/api_op_UpdateDashboard.go +++ b/service/quicksight/api_op_UpdateDashboard.go @@ -199,9 +199,6 @@ func (c *Client) addOperationUpdateDashboardMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDashboardValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateDashboardLinks.go b/service/quicksight/api_op_UpdateDashboardLinks.go index a14e416ba27..65663e8167b 100644 --- a/service/quicksight/api_op_UpdateDashboardLinks.go +++ b/service/quicksight/api_op_UpdateDashboardLinks.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateDashboardLinksMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDashboardLinksValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateDashboardPermissions.go b/service/quicksight/api_op_UpdateDashboardPermissions.go index dad81ddef00..8830d96d3c0 100644 --- a/service/quicksight/api_op_UpdateDashboardPermissions.go +++ b/service/quicksight/api_op_UpdateDashboardPermissions.go @@ -145,9 +145,6 @@ func (c *Client) addOperationUpdateDashboardPermissionsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDashboardPermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateDashboardPublishedVersion.go b/service/quicksight/api_op_UpdateDashboardPublishedVersion.go index a59152bc32e..71604fea497 100644 --- a/service/quicksight/api_op_UpdateDashboardPublishedVersion.go +++ b/service/quicksight/api_op_UpdateDashboardPublishedVersion.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateDashboardPublishedVersionMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDashboardPublishedVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateDashboardsQAConfiguration.go b/service/quicksight/api_op_UpdateDashboardsQAConfiguration.go index 68f1476f1ff..154cb2f7e5f 100644 --- a/service/quicksight/api_op_UpdateDashboardsQAConfiguration.go +++ b/service/quicksight/api_op_UpdateDashboardsQAConfiguration.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateDashboardsQAConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDashboardsQAConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateDataSet.go b/service/quicksight/api_op_UpdateDataSet.go index 8691dcbb673..08c675ac5f3 100644 --- a/service/quicksight/api_op_UpdateDataSet.go +++ b/service/quicksight/api_op_UpdateDataSet.go @@ -186,9 +186,6 @@ func (c *Client) addOperationUpdateDataSetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDataSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateDataSetPermissions.go b/service/quicksight/api_op_UpdateDataSetPermissions.go index fbba21da107..0c8a8c10e63 100644 --- a/service/quicksight/api_op_UpdateDataSetPermissions.go +++ b/service/quicksight/api_op_UpdateDataSetPermissions.go @@ -137,9 +137,6 @@ func (c *Client) addOperationUpdateDataSetPermissionsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDataSetPermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateDataSource.go b/service/quicksight/api_op_UpdateDataSource.go index 1c056bfac27..405742a37da 100644 --- a/service/quicksight/api_op_UpdateDataSource.go +++ b/service/quicksight/api_op_UpdateDataSource.go @@ -152,9 +152,6 @@ func (c *Client) addOperationUpdateDataSourceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDataSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateDataSourcePermissions.go b/service/quicksight/api_op_UpdateDataSourcePermissions.go index f9d97dd701f..a3a27541886 100644 --- a/service/quicksight/api_op_UpdateDataSourcePermissions.go +++ b/service/quicksight/api_op_UpdateDataSourcePermissions.go @@ -134,9 +134,6 @@ func (c *Client) addOperationUpdateDataSourcePermissionsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDataSourcePermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateDefaultQBusinessApplication.go b/service/quicksight/api_op_UpdateDefaultQBusinessApplication.go index 61cd7f75902..397d0d9d1c8 100644 --- a/service/quicksight/api_op_UpdateDefaultQBusinessApplication.go +++ b/service/quicksight/api_op_UpdateDefaultQBusinessApplication.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateDefaultQBusinessApplicationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDefaultQBusinessApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateFolder.go b/service/quicksight/api_op_UpdateFolder.go index 586e065accd..aebb1893413 100644 --- a/service/quicksight/api_op_UpdateFolder.go +++ b/service/quicksight/api_op_UpdateFolder.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateFolderMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFolderValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateFolderPermissions.go b/service/quicksight/api_op_UpdateFolderPermissions.go index 1f0985fd9cd..9157f7888df 100644 --- a/service/quicksight/api_op_UpdateFolderPermissions.go +++ b/service/quicksight/api_op_UpdateFolderPermissions.go @@ -137,9 +137,6 @@ func (c *Client) addOperationUpdateFolderPermissionsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFolderPermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateGroup.go b/service/quicksight/api_op_UpdateGroup.go index ca449d2f8b1..49daf212cf5 100644 --- a/service/quicksight/api_op_UpdateGroup.go +++ b/service/quicksight/api_op_UpdateGroup.go @@ -133,9 +133,6 @@ func (c *Client) addOperationUpdateGroupMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateIAMPolicyAssignment.go b/service/quicksight/api_op_UpdateIAMPolicyAssignment.go index 12b0b3e9025..412b025c795 100644 --- a/service/quicksight/api_op_UpdateIAMPolicyAssignment.go +++ b/service/quicksight/api_op_UpdateIAMPolicyAssignment.go @@ -172,9 +172,6 @@ func (c *Client) addOperationUpdateIAMPolicyAssignmentMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateIAMPolicyAssignmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateIdentityPropagationConfig.go b/service/quicksight/api_op_UpdateIdentityPropagationConfig.go index 541ee364413..df7b9be770d 100644 --- a/service/quicksight/api_op_UpdateIdentityPropagationConfig.go +++ b/service/quicksight/api_op_UpdateIdentityPropagationConfig.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateIdentityPropagationConfigMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateIdentityPropagationConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateIpRestriction.go b/service/quicksight/api_op_UpdateIpRestriction.go index 0a094aaf5ee..ddcf60b184c 100644 --- a/service/quicksight/api_op_UpdateIpRestriction.go +++ b/service/quicksight/api_op_UpdateIpRestriction.go @@ -135,9 +135,6 @@ func (c *Client) addOperationUpdateIpRestrictionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateIpRestrictionValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateKeyRegistration.go b/service/quicksight/api_op_UpdateKeyRegistration.go index 8cf9669a136..38a70bb0b13 100644 --- a/service/quicksight/api_op_UpdateKeyRegistration.go +++ b/service/quicksight/api_op_UpdateKeyRegistration.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateKeyRegistrationMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateKeyRegistrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdatePublicSharingSettings.go b/service/quicksight/api_op_UpdatePublicSharingSettings.go index b6a604c1fec..42c99a5040e 100644 --- a/service/quicksight/api_op_UpdatePublicSharingSettings.go +++ b/service/quicksight/api_op_UpdatePublicSharingSettings.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdatePublicSharingSettingsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePublicSharingSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateQPersonalizationConfiguration.go b/service/quicksight/api_op_UpdateQPersonalizationConfiguration.go index 584ba3e3234..135742b7aa8 100644 --- a/service/quicksight/api_op_UpdateQPersonalizationConfiguration.go +++ b/service/quicksight/api_op_UpdateQPersonalizationConfiguration.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateQPersonalizationConfigurationMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateQPersonalizationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateQuickSightQSearchConfiguration.go b/service/quicksight/api_op_UpdateQuickSightQSearchConfiguration.go index 0ceff354a10..f835c2e192e 100644 --- a/service/quicksight/api_op_UpdateQuickSightQSearchConfiguration.go +++ b/service/quicksight/api_op_UpdateQuickSightQSearchConfiguration.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateQuickSightQSearchConfigurationMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateQuickSightQSearchConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateRefreshSchedule.go b/service/quicksight/api_op_UpdateRefreshSchedule.go index 9c0c5feba5e..2f22a1ef052 100644 --- a/service/quicksight/api_op_UpdateRefreshSchedule.go +++ b/service/quicksight/api_op_UpdateRefreshSchedule.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateRefreshScheduleMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRefreshScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateRoleCustomPermission.go b/service/quicksight/api_op_UpdateRoleCustomPermission.go index c20eb648d57..9bd269ffb96 100644 --- a/service/quicksight/api_op_UpdateRoleCustomPermission.go +++ b/service/quicksight/api_op_UpdateRoleCustomPermission.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdateRoleCustomPermissionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRoleCustomPermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateSPICECapacityConfiguration.go b/service/quicksight/api_op_UpdateSPICECapacityConfiguration.go index 9465b65f6cb..b64286820a2 100644 --- a/service/quicksight/api_op_UpdateSPICECapacityConfiguration.go +++ b/service/quicksight/api_op_UpdateSPICECapacityConfiguration.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateSPICECapacityConfigurationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSPICECapacityConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateTemplate.go b/service/quicksight/api_op_UpdateTemplate.go index aa04b0c5909..979f6e2fb35 100644 --- a/service/quicksight/api_op_UpdateTemplate.go +++ b/service/quicksight/api_op_UpdateTemplate.go @@ -167,9 +167,6 @@ func (c *Client) addOperationUpdateTemplateMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateTemplateAlias.go b/service/quicksight/api_op_UpdateTemplateAlias.go index 2206577c993..f668619aa84 100644 --- a/service/quicksight/api_op_UpdateTemplateAlias.go +++ b/service/quicksight/api_op_UpdateTemplateAlias.go @@ -137,9 +137,6 @@ func (c *Client) addOperationUpdateTemplateAliasMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTemplateAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateTemplatePermissions.go b/service/quicksight/api_op_UpdateTemplatePermissions.go index be4358753a5..9bd5d3dfe99 100644 --- a/service/quicksight/api_op_UpdateTemplatePermissions.go +++ b/service/quicksight/api_op_UpdateTemplatePermissions.go @@ -135,9 +135,6 @@ func (c *Client) addOperationUpdateTemplatePermissionsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTemplatePermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateTheme.go b/service/quicksight/api_op_UpdateTheme.go index 7475ffaa3b1..f3645f1d6bd 100644 --- a/service/quicksight/api_op_UpdateTheme.go +++ b/service/quicksight/api_op_UpdateTheme.go @@ -150,9 +150,6 @@ func (c *Client) addOperationUpdateThemeMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateThemeValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateThemeAlias.go b/service/quicksight/api_op_UpdateThemeAlias.go index 8ea35d446f5..588574b5491 100644 --- a/service/quicksight/api_op_UpdateThemeAlias.go +++ b/service/quicksight/api_op_UpdateThemeAlias.go @@ -134,9 +134,6 @@ func (c *Client) addOperationUpdateThemeAliasMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateThemeAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateThemePermissions.go b/service/quicksight/api_op_UpdateThemePermissions.go index 970bb37dd41..2acb1eb7755 100644 --- a/service/quicksight/api_op_UpdateThemePermissions.go +++ b/service/quicksight/api_op_UpdateThemePermissions.go @@ -175,9 +175,6 @@ func (c *Client) addOperationUpdateThemePermissionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateThemePermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateTopic.go b/service/quicksight/api_op_UpdateTopic.go index fb84c6c6e4e..0f59b087bd1 100644 --- a/service/quicksight/api_op_UpdateTopic.go +++ b/service/quicksight/api_op_UpdateTopic.go @@ -137,9 +137,6 @@ func (c *Client) addOperationUpdateTopicMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTopicValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateTopicPermissions.go b/service/quicksight/api_op_UpdateTopicPermissions.go index 3712ab566fa..c61fd5066e3 100644 --- a/service/quicksight/api_op_UpdateTopicPermissions.go +++ b/service/quicksight/api_op_UpdateTopicPermissions.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateTopicPermissionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTopicPermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateTopicRefreshSchedule.go b/service/quicksight/api_op_UpdateTopicRefreshSchedule.go index 66f9a208aaa..2e0d0fd0f73 100644 --- a/service/quicksight/api_op_UpdateTopicRefreshSchedule.go +++ b/service/quicksight/api_op_UpdateTopicRefreshSchedule.go @@ -142,9 +142,6 @@ func (c *Client) addOperationUpdateTopicRefreshScheduleMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTopicRefreshScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateUser.go b/service/quicksight/api_op_UpdateUser.go index 336188e155c..5b506ec8ee6 100644 --- a/service/quicksight/api_op_UpdateUser.go +++ b/service/quicksight/api_op_UpdateUser.go @@ -225,9 +225,6 @@ func (c *Client) addOperationUpdateUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateUserCustomPermission.go b/service/quicksight/api_op_UpdateUserCustomPermission.go index ac9549fdfd3..21c57ebc294 100644 --- a/service/quicksight/api_op_UpdateUserCustomPermission.go +++ b/service/quicksight/api_op_UpdateUserCustomPermission.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateUserCustomPermissionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateUserCustomPermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/api_op_UpdateVPCConnection.go b/service/quicksight/api_op_UpdateVPCConnection.go index 923b535b662..3b9ae5de2fa 100644 --- a/service/quicksight/api_op_UpdateVPCConnection.go +++ b/service/quicksight/api_op_UpdateVPCConnection.go @@ -159,9 +159,6 @@ func (c *Client) addOperationUpdateVPCConnectionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateVPCConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/quicksight/snapshot/api_op_BatchCreateTopicReviewedAnswer.go.snap b/service/quicksight/snapshot/api_op_BatchCreateTopicReviewedAnswer.go.snap index a3c8d6d4470..23cc66f7c93 100644 --- a/service/quicksight/snapshot/api_op_BatchCreateTopicReviewedAnswer.go.snap +++ b/service/quicksight/snapshot/api_op_BatchCreateTopicReviewedAnswer.go.snap @@ -14,7 +14,6 @@ BatchCreateTopicReviewedAnswer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_BatchDeleteTopicReviewedAnswer.go.snap b/service/quicksight/snapshot/api_op_BatchDeleteTopicReviewedAnswer.go.snap index cfa27898a5b..f4291eb20ac 100644 --- a/service/quicksight/snapshot/api_op_BatchDeleteTopicReviewedAnswer.go.snap +++ b/service/quicksight/snapshot/api_op_BatchDeleteTopicReviewedAnswer.go.snap @@ -14,7 +14,6 @@ BatchDeleteTopicReviewedAnswer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_CancelIngestion.go.snap b/service/quicksight/snapshot/api_op_CancelIngestion.go.snap index 549c5f230b4..1ed3f2b38a4 100644 --- a/service/quicksight/snapshot/api_op_CancelIngestion.go.snap +++ b/service/quicksight/snapshot/api_op_CancelIngestion.go.snap @@ -14,7 +14,6 @@ CancelIngestion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_CreateAccountCustomization.go.snap b/service/quicksight/snapshot/api_op_CreateAccountCustomization.go.snap index 0e3935f3f46..bf843fae59c 100644 --- a/service/quicksight/snapshot/api_op_CreateAccountCustomization.go.snap +++ b/service/quicksight/snapshot/api_op_CreateAccountCustomization.go.snap @@ -14,7 +14,6 @@ CreateAccountCustomization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_CreateAccountSubscription.go.snap b/service/quicksight/snapshot/api_op_CreateAccountSubscription.go.snap index 39947eeb922..4fcbad911da 100644 --- a/service/quicksight/snapshot/api_op_CreateAccountSubscription.go.snap +++ b/service/quicksight/snapshot/api_op_CreateAccountSubscription.go.snap @@ -14,7 +14,6 @@ CreateAccountSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_CreateAnalysis.go.snap b/service/quicksight/snapshot/api_op_CreateAnalysis.go.snap index e890a4a0fc4..a8c6a2d38c2 100644 --- a/service/quicksight/snapshot/api_op_CreateAnalysis.go.snap +++ b/service/quicksight/snapshot/api_op_CreateAnalysis.go.snap @@ -14,7 +14,6 @@ CreateAnalysis Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_CreateBrand.go.snap b/service/quicksight/snapshot/api_op_CreateBrand.go.snap index cae53eb33e1..bdc647952fe 100644 --- a/service/quicksight/snapshot/api_op_CreateBrand.go.snap +++ b/service/quicksight/snapshot/api_op_CreateBrand.go.snap @@ -14,7 +14,6 @@ CreateBrand Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_CreateCustomPermissions.go.snap b/service/quicksight/snapshot/api_op_CreateCustomPermissions.go.snap index 0b285cd9493..943f751c40f 100644 --- a/service/quicksight/snapshot/api_op_CreateCustomPermissions.go.snap +++ b/service/quicksight/snapshot/api_op_CreateCustomPermissions.go.snap @@ -14,7 +14,6 @@ CreateCustomPermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_CreateDashboard.go.snap b/service/quicksight/snapshot/api_op_CreateDashboard.go.snap index 31dc6c21e1e..d27b7282c64 100644 --- a/service/quicksight/snapshot/api_op_CreateDashboard.go.snap +++ b/service/quicksight/snapshot/api_op_CreateDashboard.go.snap @@ -14,7 +14,6 @@ CreateDashboard Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_CreateDataSet.go.snap b/service/quicksight/snapshot/api_op_CreateDataSet.go.snap index 9c38213051c..1548300a587 100644 --- a/service/quicksight/snapshot/api_op_CreateDataSet.go.snap +++ b/service/quicksight/snapshot/api_op_CreateDataSet.go.snap @@ -14,7 +14,6 @@ CreateDataSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_CreateDataSource.go.snap b/service/quicksight/snapshot/api_op_CreateDataSource.go.snap index 940184e6ce1..26975d703c9 100644 --- a/service/quicksight/snapshot/api_op_CreateDataSource.go.snap +++ b/service/quicksight/snapshot/api_op_CreateDataSource.go.snap @@ -14,7 +14,6 @@ CreateDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_CreateFolder.go.snap b/service/quicksight/snapshot/api_op_CreateFolder.go.snap index 3e9979bfdad..40f11caf835 100644 --- a/service/quicksight/snapshot/api_op_CreateFolder.go.snap +++ b/service/quicksight/snapshot/api_op_CreateFolder.go.snap @@ -14,7 +14,6 @@ CreateFolder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_CreateFolderMembership.go.snap b/service/quicksight/snapshot/api_op_CreateFolderMembership.go.snap index bd6c522709b..53c06e50933 100644 --- a/service/quicksight/snapshot/api_op_CreateFolderMembership.go.snap +++ b/service/quicksight/snapshot/api_op_CreateFolderMembership.go.snap @@ -14,7 +14,6 @@ CreateFolderMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_CreateGroup.go.snap b/service/quicksight/snapshot/api_op_CreateGroup.go.snap index f017be256c7..f4adf31ac79 100644 --- a/service/quicksight/snapshot/api_op_CreateGroup.go.snap +++ b/service/quicksight/snapshot/api_op_CreateGroup.go.snap @@ -14,7 +14,6 @@ CreateGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_CreateGroupMembership.go.snap b/service/quicksight/snapshot/api_op_CreateGroupMembership.go.snap index 01e7f014db6..7752d05d2b0 100644 --- a/service/quicksight/snapshot/api_op_CreateGroupMembership.go.snap +++ b/service/quicksight/snapshot/api_op_CreateGroupMembership.go.snap @@ -14,7 +14,6 @@ CreateGroupMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_CreateIAMPolicyAssignment.go.snap b/service/quicksight/snapshot/api_op_CreateIAMPolicyAssignment.go.snap index 031bff77006..e30e932765f 100644 --- a/service/quicksight/snapshot/api_op_CreateIAMPolicyAssignment.go.snap +++ b/service/quicksight/snapshot/api_op_CreateIAMPolicyAssignment.go.snap @@ -14,7 +14,6 @@ CreateIAMPolicyAssignment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_CreateIngestion.go.snap b/service/quicksight/snapshot/api_op_CreateIngestion.go.snap index efd27e11a98..4460df8a6d9 100644 --- a/service/quicksight/snapshot/api_op_CreateIngestion.go.snap +++ b/service/quicksight/snapshot/api_op_CreateIngestion.go.snap @@ -14,7 +14,6 @@ CreateIngestion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_CreateNamespace.go.snap b/service/quicksight/snapshot/api_op_CreateNamespace.go.snap index 36e21aff687..be14144a32f 100644 --- a/service/quicksight/snapshot/api_op_CreateNamespace.go.snap +++ b/service/quicksight/snapshot/api_op_CreateNamespace.go.snap @@ -14,7 +14,6 @@ CreateNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_CreateRefreshSchedule.go.snap b/service/quicksight/snapshot/api_op_CreateRefreshSchedule.go.snap index f934b3be434..0dfa364a5e1 100644 --- a/service/quicksight/snapshot/api_op_CreateRefreshSchedule.go.snap +++ b/service/quicksight/snapshot/api_op_CreateRefreshSchedule.go.snap @@ -14,7 +14,6 @@ CreateRefreshSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_CreateRoleMembership.go.snap b/service/quicksight/snapshot/api_op_CreateRoleMembership.go.snap index a1d3a22a407..d54907fb8ab 100644 --- a/service/quicksight/snapshot/api_op_CreateRoleMembership.go.snap +++ b/service/quicksight/snapshot/api_op_CreateRoleMembership.go.snap @@ -14,7 +14,6 @@ CreateRoleMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_CreateTemplate.go.snap b/service/quicksight/snapshot/api_op_CreateTemplate.go.snap index b4031071673..2c0edcbe8f5 100644 --- a/service/quicksight/snapshot/api_op_CreateTemplate.go.snap +++ b/service/quicksight/snapshot/api_op_CreateTemplate.go.snap @@ -14,7 +14,6 @@ CreateTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_CreateTemplateAlias.go.snap b/service/quicksight/snapshot/api_op_CreateTemplateAlias.go.snap index f27aebb1830..224d8253324 100644 --- a/service/quicksight/snapshot/api_op_CreateTemplateAlias.go.snap +++ b/service/quicksight/snapshot/api_op_CreateTemplateAlias.go.snap @@ -14,7 +14,6 @@ CreateTemplateAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_CreateTheme.go.snap b/service/quicksight/snapshot/api_op_CreateTheme.go.snap index 06f8ec4f04e..a02b77fdfe1 100644 --- a/service/quicksight/snapshot/api_op_CreateTheme.go.snap +++ b/service/quicksight/snapshot/api_op_CreateTheme.go.snap @@ -14,7 +14,6 @@ CreateTheme Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_CreateThemeAlias.go.snap b/service/quicksight/snapshot/api_op_CreateThemeAlias.go.snap index e33c0b32aa8..21fcea7ea05 100644 --- a/service/quicksight/snapshot/api_op_CreateThemeAlias.go.snap +++ b/service/quicksight/snapshot/api_op_CreateThemeAlias.go.snap @@ -14,7 +14,6 @@ CreateThemeAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_CreateTopic.go.snap b/service/quicksight/snapshot/api_op_CreateTopic.go.snap index 189d36b73b4..efe0f527128 100644 --- a/service/quicksight/snapshot/api_op_CreateTopic.go.snap +++ b/service/quicksight/snapshot/api_op_CreateTopic.go.snap @@ -14,7 +14,6 @@ CreateTopic Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_CreateTopicRefreshSchedule.go.snap b/service/quicksight/snapshot/api_op_CreateTopicRefreshSchedule.go.snap index 905452411d0..e389c5960a5 100644 --- a/service/quicksight/snapshot/api_op_CreateTopicRefreshSchedule.go.snap +++ b/service/quicksight/snapshot/api_op_CreateTopicRefreshSchedule.go.snap @@ -14,7 +14,6 @@ CreateTopicRefreshSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_CreateVPCConnection.go.snap b/service/quicksight/snapshot/api_op_CreateVPCConnection.go.snap index f8473d51adf..2a58d3f86c0 100644 --- a/service/quicksight/snapshot/api_op_CreateVPCConnection.go.snap +++ b/service/quicksight/snapshot/api_op_CreateVPCConnection.go.snap @@ -14,7 +14,6 @@ CreateVPCConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DeleteAccountCustomization.go.snap b/service/quicksight/snapshot/api_op_DeleteAccountCustomization.go.snap index fc350e04b96..fd4dd06677e 100644 --- a/service/quicksight/snapshot/api_op_DeleteAccountCustomization.go.snap +++ b/service/quicksight/snapshot/api_op_DeleteAccountCustomization.go.snap @@ -14,7 +14,6 @@ DeleteAccountCustomization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DeleteAccountSubscription.go.snap b/service/quicksight/snapshot/api_op_DeleteAccountSubscription.go.snap index 3ad4d6839df..977c5c0069b 100644 --- a/service/quicksight/snapshot/api_op_DeleteAccountSubscription.go.snap +++ b/service/quicksight/snapshot/api_op_DeleteAccountSubscription.go.snap @@ -14,7 +14,6 @@ DeleteAccountSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DeleteAnalysis.go.snap b/service/quicksight/snapshot/api_op_DeleteAnalysis.go.snap index 7381149e534..1e799703673 100644 --- a/service/quicksight/snapshot/api_op_DeleteAnalysis.go.snap +++ b/service/quicksight/snapshot/api_op_DeleteAnalysis.go.snap @@ -14,7 +14,6 @@ DeleteAnalysis Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DeleteBrand.go.snap b/service/quicksight/snapshot/api_op_DeleteBrand.go.snap index 942e6920bb3..190811d3668 100644 --- a/service/quicksight/snapshot/api_op_DeleteBrand.go.snap +++ b/service/quicksight/snapshot/api_op_DeleteBrand.go.snap @@ -14,7 +14,6 @@ DeleteBrand Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DeleteBrandAssignment.go.snap b/service/quicksight/snapshot/api_op_DeleteBrandAssignment.go.snap index ee350f4a316..38f306aeeaf 100644 --- a/service/quicksight/snapshot/api_op_DeleteBrandAssignment.go.snap +++ b/service/quicksight/snapshot/api_op_DeleteBrandAssignment.go.snap @@ -14,7 +14,6 @@ DeleteBrandAssignment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DeleteCustomPermissions.go.snap b/service/quicksight/snapshot/api_op_DeleteCustomPermissions.go.snap index 07512cfe1bc..5e12687ab09 100644 --- a/service/quicksight/snapshot/api_op_DeleteCustomPermissions.go.snap +++ b/service/quicksight/snapshot/api_op_DeleteCustomPermissions.go.snap @@ -14,7 +14,6 @@ DeleteCustomPermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DeleteDashboard.go.snap b/service/quicksight/snapshot/api_op_DeleteDashboard.go.snap index 14ec08bffec..6f6da35b7c0 100644 --- a/service/quicksight/snapshot/api_op_DeleteDashboard.go.snap +++ b/service/quicksight/snapshot/api_op_DeleteDashboard.go.snap @@ -14,7 +14,6 @@ DeleteDashboard Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DeleteDataSet.go.snap b/service/quicksight/snapshot/api_op_DeleteDataSet.go.snap index eb3f01f962c..d21ee4c98fc 100644 --- a/service/quicksight/snapshot/api_op_DeleteDataSet.go.snap +++ b/service/quicksight/snapshot/api_op_DeleteDataSet.go.snap @@ -14,7 +14,6 @@ DeleteDataSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DeleteDataSetRefreshProperties.go.snap b/service/quicksight/snapshot/api_op_DeleteDataSetRefreshProperties.go.snap index 5dbc284ac30..d2b7ecdb704 100644 --- a/service/quicksight/snapshot/api_op_DeleteDataSetRefreshProperties.go.snap +++ b/service/quicksight/snapshot/api_op_DeleteDataSetRefreshProperties.go.snap @@ -14,7 +14,6 @@ DeleteDataSetRefreshProperties Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DeleteDataSource.go.snap b/service/quicksight/snapshot/api_op_DeleteDataSource.go.snap index 4c10faa3f53..e6bf94d552e 100644 --- a/service/quicksight/snapshot/api_op_DeleteDataSource.go.snap +++ b/service/quicksight/snapshot/api_op_DeleteDataSource.go.snap @@ -14,7 +14,6 @@ DeleteDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DeleteDefaultQBusinessApplication.go.snap b/service/quicksight/snapshot/api_op_DeleteDefaultQBusinessApplication.go.snap index ad1e99ad1d7..8d4558411e8 100644 --- a/service/quicksight/snapshot/api_op_DeleteDefaultQBusinessApplication.go.snap +++ b/service/quicksight/snapshot/api_op_DeleteDefaultQBusinessApplication.go.snap @@ -14,7 +14,6 @@ DeleteDefaultQBusinessApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DeleteFolder.go.snap b/service/quicksight/snapshot/api_op_DeleteFolder.go.snap index 0ed77eaf6e5..f155a22e668 100644 --- a/service/quicksight/snapshot/api_op_DeleteFolder.go.snap +++ b/service/quicksight/snapshot/api_op_DeleteFolder.go.snap @@ -14,7 +14,6 @@ DeleteFolder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DeleteFolderMembership.go.snap b/service/quicksight/snapshot/api_op_DeleteFolderMembership.go.snap index 04df7d01a15..dbdb93d9586 100644 --- a/service/quicksight/snapshot/api_op_DeleteFolderMembership.go.snap +++ b/service/quicksight/snapshot/api_op_DeleteFolderMembership.go.snap @@ -14,7 +14,6 @@ DeleteFolderMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DeleteGroup.go.snap b/service/quicksight/snapshot/api_op_DeleteGroup.go.snap index fa762a3a297..9a74537ddc0 100644 --- a/service/quicksight/snapshot/api_op_DeleteGroup.go.snap +++ b/service/quicksight/snapshot/api_op_DeleteGroup.go.snap @@ -14,7 +14,6 @@ DeleteGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DeleteGroupMembership.go.snap b/service/quicksight/snapshot/api_op_DeleteGroupMembership.go.snap index a572a556acb..77112ca8d91 100644 --- a/service/quicksight/snapshot/api_op_DeleteGroupMembership.go.snap +++ b/service/quicksight/snapshot/api_op_DeleteGroupMembership.go.snap @@ -14,7 +14,6 @@ DeleteGroupMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DeleteIAMPolicyAssignment.go.snap b/service/quicksight/snapshot/api_op_DeleteIAMPolicyAssignment.go.snap index df2618d4329..2bc1774d64a 100644 --- a/service/quicksight/snapshot/api_op_DeleteIAMPolicyAssignment.go.snap +++ b/service/quicksight/snapshot/api_op_DeleteIAMPolicyAssignment.go.snap @@ -14,7 +14,6 @@ DeleteIAMPolicyAssignment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DeleteIdentityPropagationConfig.go.snap b/service/quicksight/snapshot/api_op_DeleteIdentityPropagationConfig.go.snap index 82cd250ce7a..1de991322ea 100644 --- a/service/quicksight/snapshot/api_op_DeleteIdentityPropagationConfig.go.snap +++ b/service/quicksight/snapshot/api_op_DeleteIdentityPropagationConfig.go.snap @@ -14,7 +14,6 @@ DeleteIdentityPropagationConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DeleteNamespace.go.snap b/service/quicksight/snapshot/api_op_DeleteNamespace.go.snap index fc3c23b4082..2b81737a0c2 100644 --- a/service/quicksight/snapshot/api_op_DeleteNamespace.go.snap +++ b/service/quicksight/snapshot/api_op_DeleteNamespace.go.snap @@ -14,7 +14,6 @@ DeleteNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DeleteRefreshSchedule.go.snap b/service/quicksight/snapshot/api_op_DeleteRefreshSchedule.go.snap index b238e026c08..bc8c9f39e58 100644 --- a/service/quicksight/snapshot/api_op_DeleteRefreshSchedule.go.snap +++ b/service/quicksight/snapshot/api_op_DeleteRefreshSchedule.go.snap @@ -14,7 +14,6 @@ DeleteRefreshSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DeleteRoleCustomPermission.go.snap b/service/quicksight/snapshot/api_op_DeleteRoleCustomPermission.go.snap index 6353110eb02..a8b0ecf8893 100644 --- a/service/quicksight/snapshot/api_op_DeleteRoleCustomPermission.go.snap +++ b/service/quicksight/snapshot/api_op_DeleteRoleCustomPermission.go.snap @@ -14,7 +14,6 @@ DeleteRoleCustomPermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DeleteRoleMembership.go.snap b/service/quicksight/snapshot/api_op_DeleteRoleMembership.go.snap index 895a2bb26a1..aabbf879245 100644 --- a/service/quicksight/snapshot/api_op_DeleteRoleMembership.go.snap +++ b/service/quicksight/snapshot/api_op_DeleteRoleMembership.go.snap @@ -14,7 +14,6 @@ DeleteRoleMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DeleteTemplate.go.snap b/service/quicksight/snapshot/api_op_DeleteTemplate.go.snap index 41c557a15e0..c8aa686044f 100644 --- a/service/quicksight/snapshot/api_op_DeleteTemplate.go.snap +++ b/service/quicksight/snapshot/api_op_DeleteTemplate.go.snap @@ -14,7 +14,6 @@ DeleteTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DeleteTemplateAlias.go.snap b/service/quicksight/snapshot/api_op_DeleteTemplateAlias.go.snap index c26aa01ac1d..9f10a7fa238 100644 --- a/service/quicksight/snapshot/api_op_DeleteTemplateAlias.go.snap +++ b/service/quicksight/snapshot/api_op_DeleteTemplateAlias.go.snap @@ -14,7 +14,6 @@ DeleteTemplateAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DeleteTheme.go.snap b/service/quicksight/snapshot/api_op_DeleteTheme.go.snap index 759264392f7..11de3df4398 100644 --- a/service/quicksight/snapshot/api_op_DeleteTheme.go.snap +++ b/service/quicksight/snapshot/api_op_DeleteTheme.go.snap @@ -14,7 +14,6 @@ DeleteTheme Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DeleteThemeAlias.go.snap b/service/quicksight/snapshot/api_op_DeleteThemeAlias.go.snap index 64af0b598ec..3ed6ac7fb94 100644 --- a/service/quicksight/snapshot/api_op_DeleteThemeAlias.go.snap +++ b/service/quicksight/snapshot/api_op_DeleteThemeAlias.go.snap @@ -14,7 +14,6 @@ DeleteThemeAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DeleteTopic.go.snap b/service/quicksight/snapshot/api_op_DeleteTopic.go.snap index 76c7adc477f..37cf7be6177 100644 --- a/service/quicksight/snapshot/api_op_DeleteTopic.go.snap +++ b/service/quicksight/snapshot/api_op_DeleteTopic.go.snap @@ -14,7 +14,6 @@ DeleteTopic Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DeleteTopicRefreshSchedule.go.snap b/service/quicksight/snapshot/api_op_DeleteTopicRefreshSchedule.go.snap index 50c653fd5e5..72a121aa1ed 100644 --- a/service/quicksight/snapshot/api_op_DeleteTopicRefreshSchedule.go.snap +++ b/service/quicksight/snapshot/api_op_DeleteTopicRefreshSchedule.go.snap @@ -14,7 +14,6 @@ DeleteTopicRefreshSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DeleteUser.go.snap b/service/quicksight/snapshot/api_op_DeleteUser.go.snap index 43834da9879..eda6e5fae30 100644 --- a/service/quicksight/snapshot/api_op_DeleteUser.go.snap +++ b/service/quicksight/snapshot/api_op_DeleteUser.go.snap @@ -14,7 +14,6 @@ DeleteUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DeleteUserByPrincipalId.go.snap b/service/quicksight/snapshot/api_op_DeleteUserByPrincipalId.go.snap index c896bbd0c04..bfa5e241a62 100644 --- a/service/quicksight/snapshot/api_op_DeleteUserByPrincipalId.go.snap +++ b/service/quicksight/snapshot/api_op_DeleteUserByPrincipalId.go.snap @@ -14,7 +14,6 @@ DeleteUserByPrincipalId Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DeleteUserCustomPermission.go.snap b/service/quicksight/snapshot/api_op_DeleteUserCustomPermission.go.snap index b44507a572c..dda40549f2c 100644 --- a/service/quicksight/snapshot/api_op_DeleteUserCustomPermission.go.snap +++ b/service/quicksight/snapshot/api_op_DeleteUserCustomPermission.go.snap @@ -14,7 +14,6 @@ DeleteUserCustomPermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DeleteVPCConnection.go.snap b/service/quicksight/snapshot/api_op_DeleteVPCConnection.go.snap index 3b54a303412..17b31df9122 100644 --- a/service/quicksight/snapshot/api_op_DeleteVPCConnection.go.snap +++ b/service/quicksight/snapshot/api_op_DeleteVPCConnection.go.snap @@ -14,7 +14,6 @@ DeleteVPCConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeAccountCustomization.go.snap b/service/quicksight/snapshot/api_op_DescribeAccountCustomization.go.snap index 93138d008d6..4ade6c6b2f5 100644 --- a/service/quicksight/snapshot/api_op_DescribeAccountCustomization.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeAccountCustomization.go.snap @@ -14,7 +14,6 @@ DescribeAccountCustomization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeAccountSettings.go.snap b/service/quicksight/snapshot/api_op_DescribeAccountSettings.go.snap index 9157daf064c..4d6a0140296 100644 --- a/service/quicksight/snapshot/api_op_DescribeAccountSettings.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeAccountSettings.go.snap @@ -14,7 +14,6 @@ DescribeAccountSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeAccountSubscription.go.snap b/service/quicksight/snapshot/api_op_DescribeAccountSubscription.go.snap index 431448ef16f..cb2f262871e 100644 --- a/service/quicksight/snapshot/api_op_DescribeAccountSubscription.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeAccountSubscription.go.snap @@ -14,7 +14,6 @@ DescribeAccountSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeAnalysis.go.snap b/service/quicksight/snapshot/api_op_DescribeAnalysis.go.snap index 712a3e777c3..b30064f0a91 100644 --- a/service/quicksight/snapshot/api_op_DescribeAnalysis.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeAnalysis.go.snap @@ -14,7 +14,6 @@ DescribeAnalysis Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeAnalysisDefinition.go.snap b/service/quicksight/snapshot/api_op_DescribeAnalysisDefinition.go.snap index 48c11ce6278..745a9f16010 100644 --- a/service/quicksight/snapshot/api_op_DescribeAnalysisDefinition.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeAnalysisDefinition.go.snap @@ -14,7 +14,6 @@ DescribeAnalysisDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeAnalysisPermissions.go.snap b/service/quicksight/snapshot/api_op_DescribeAnalysisPermissions.go.snap index 5cfdc6335bf..2679ad6d48b 100644 --- a/service/quicksight/snapshot/api_op_DescribeAnalysisPermissions.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeAnalysisPermissions.go.snap @@ -14,7 +14,6 @@ DescribeAnalysisPermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeAssetBundleExportJob.go.snap b/service/quicksight/snapshot/api_op_DescribeAssetBundleExportJob.go.snap index a201cf7690c..5398a8f77da 100644 --- a/service/quicksight/snapshot/api_op_DescribeAssetBundleExportJob.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeAssetBundleExportJob.go.snap @@ -14,7 +14,6 @@ DescribeAssetBundleExportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeAssetBundleImportJob.go.snap b/service/quicksight/snapshot/api_op_DescribeAssetBundleImportJob.go.snap index bc840447172..a81a3fc87ce 100644 --- a/service/quicksight/snapshot/api_op_DescribeAssetBundleImportJob.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeAssetBundleImportJob.go.snap @@ -14,7 +14,6 @@ DescribeAssetBundleImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeBrand.go.snap b/service/quicksight/snapshot/api_op_DescribeBrand.go.snap index cc9f09eed16..cf1bb104720 100644 --- a/service/quicksight/snapshot/api_op_DescribeBrand.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeBrand.go.snap @@ -14,7 +14,6 @@ DescribeBrand Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeBrandAssignment.go.snap b/service/quicksight/snapshot/api_op_DescribeBrandAssignment.go.snap index b8f7c564517..6a0e73b8a1b 100644 --- a/service/quicksight/snapshot/api_op_DescribeBrandAssignment.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeBrandAssignment.go.snap @@ -14,7 +14,6 @@ DescribeBrandAssignment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeBrandPublishedVersion.go.snap b/service/quicksight/snapshot/api_op_DescribeBrandPublishedVersion.go.snap index ecdcfaeeaa1..70b2ae073ce 100644 --- a/service/quicksight/snapshot/api_op_DescribeBrandPublishedVersion.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeBrandPublishedVersion.go.snap @@ -14,7 +14,6 @@ DescribeBrandPublishedVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeCustomPermissions.go.snap b/service/quicksight/snapshot/api_op_DescribeCustomPermissions.go.snap index 0cbfd33d61d..69b7cb54927 100644 --- a/service/quicksight/snapshot/api_op_DescribeCustomPermissions.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeCustomPermissions.go.snap @@ -14,7 +14,6 @@ DescribeCustomPermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeDashboard.go.snap b/service/quicksight/snapshot/api_op_DescribeDashboard.go.snap index ba719422ed9..c440da4e5a0 100644 --- a/service/quicksight/snapshot/api_op_DescribeDashboard.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeDashboard.go.snap @@ -14,7 +14,6 @@ DescribeDashboard Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeDashboardDefinition.go.snap b/service/quicksight/snapshot/api_op_DescribeDashboardDefinition.go.snap index 9a207bfd534..a86685106d1 100644 --- a/service/quicksight/snapshot/api_op_DescribeDashboardDefinition.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeDashboardDefinition.go.snap @@ -14,7 +14,6 @@ DescribeDashboardDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeDashboardPermissions.go.snap b/service/quicksight/snapshot/api_op_DescribeDashboardPermissions.go.snap index a5a0aa97869..314eb06cf4d 100644 --- a/service/quicksight/snapshot/api_op_DescribeDashboardPermissions.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeDashboardPermissions.go.snap @@ -14,7 +14,6 @@ DescribeDashboardPermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeDashboardSnapshotJob.go.snap b/service/quicksight/snapshot/api_op_DescribeDashboardSnapshotJob.go.snap index e5b686f17b6..730710850c9 100644 --- a/service/quicksight/snapshot/api_op_DescribeDashboardSnapshotJob.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeDashboardSnapshotJob.go.snap @@ -14,7 +14,6 @@ DescribeDashboardSnapshotJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeDashboardSnapshotJobResult.go.snap b/service/quicksight/snapshot/api_op_DescribeDashboardSnapshotJobResult.go.snap index b806b189e4a..82a15d722e5 100644 --- a/service/quicksight/snapshot/api_op_DescribeDashboardSnapshotJobResult.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeDashboardSnapshotJobResult.go.snap @@ -14,7 +14,6 @@ DescribeDashboardSnapshotJobResult Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeDashboardsQAConfiguration.go.snap b/service/quicksight/snapshot/api_op_DescribeDashboardsQAConfiguration.go.snap index 2aa54c4c22f..08244840263 100644 --- a/service/quicksight/snapshot/api_op_DescribeDashboardsQAConfiguration.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeDashboardsQAConfiguration.go.snap @@ -14,7 +14,6 @@ DescribeDashboardsQAConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeDataSet.go.snap b/service/quicksight/snapshot/api_op_DescribeDataSet.go.snap index d1bfe254e49..31cdc815f75 100644 --- a/service/quicksight/snapshot/api_op_DescribeDataSet.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeDataSet.go.snap @@ -14,7 +14,6 @@ DescribeDataSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeDataSetPermissions.go.snap b/service/quicksight/snapshot/api_op_DescribeDataSetPermissions.go.snap index 9bbc7bf2e0e..8d2db963af6 100644 --- a/service/quicksight/snapshot/api_op_DescribeDataSetPermissions.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeDataSetPermissions.go.snap @@ -14,7 +14,6 @@ DescribeDataSetPermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeDataSetRefreshProperties.go.snap b/service/quicksight/snapshot/api_op_DescribeDataSetRefreshProperties.go.snap index 5c88c573c0e..f744b4aeaeb 100644 --- a/service/quicksight/snapshot/api_op_DescribeDataSetRefreshProperties.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeDataSetRefreshProperties.go.snap @@ -14,7 +14,6 @@ DescribeDataSetRefreshProperties Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeDataSource.go.snap b/service/quicksight/snapshot/api_op_DescribeDataSource.go.snap index d04253929e1..296b43e5a39 100644 --- a/service/quicksight/snapshot/api_op_DescribeDataSource.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeDataSource.go.snap @@ -14,7 +14,6 @@ DescribeDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeDataSourcePermissions.go.snap b/service/quicksight/snapshot/api_op_DescribeDataSourcePermissions.go.snap index a990940d3d0..25a4abb4507 100644 --- a/service/quicksight/snapshot/api_op_DescribeDataSourcePermissions.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeDataSourcePermissions.go.snap @@ -14,7 +14,6 @@ DescribeDataSourcePermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeDefaultQBusinessApplication.go.snap b/service/quicksight/snapshot/api_op_DescribeDefaultQBusinessApplication.go.snap index a9ceefcfe39..6269af3634c 100644 --- a/service/quicksight/snapshot/api_op_DescribeDefaultQBusinessApplication.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeDefaultQBusinessApplication.go.snap @@ -14,7 +14,6 @@ DescribeDefaultQBusinessApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeFolder.go.snap b/service/quicksight/snapshot/api_op_DescribeFolder.go.snap index b2d8586f8d8..fd476261830 100644 --- a/service/quicksight/snapshot/api_op_DescribeFolder.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeFolder.go.snap @@ -14,7 +14,6 @@ DescribeFolder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeFolderPermissions.go.snap b/service/quicksight/snapshot/api_op_DescribeFolderPermissions.go.snap index 1a8a733fa65..b0259cb02d1 100644 --- a/service/quicksight/snapshot/api_op_DescribeFolderPermissions.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeFolderPermissions.go.snap @@ -14,7 +14,6 @@ DescribeFolderPermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeFolderResolvedPermissions.go.snap b/service/quicksight/snapshot/api_op_DescribeFolderResolvedPermissions.go.snap index 0803f75dc3a..9ffc2cc3021 100644 --- a/service/quicksight/snapshot/api_op_DescribeFolderResolvedPermissions.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeFolderResolvedPermissions.go.snap @@ -14,7 +14,6 @@ DescribeFolderResolvedPermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeGroup.go.snap b/service/quicksight/snapshot/api_op_DescribeGroup.go.snap index a31f75b49bc..e51d7cac904 100644 --- a/service/quicksight/snapshot/api_op_DescribeGroup.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeGroup.go.snap @@ -14,7 +14,6 @@ DescribeGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeGroupMembership.go.snap b/service/quicksight/snapshot/api_op_DescribeGroupMembership.go.snap index c0619b890cd..68e9814aa87 100644 --- a/service/quicksight/snapshot/api_op_DescribeGroupMembership.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeGroupMembership.go.snap @@ -14,7 +14,6 @@ DescribeGroupMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeIAMPolicyAssignment.go.snap b/service/quicksight/snapshot/api_op_DescribeIAMPolicyAssignment.go.snap index d453ef556f3..f5603628d74 100644 --- a/service/quicksight/snapshot/api_op_DescribeIAMPolicyAssignment.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeIAMPolicyAssignment.go.snap @@ -14,7 +14,6 @@ DescribeIAMPolicyAssignment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeIngestion.go.snap b/service/quicksight/snapshot/api_op_DescribeIngestion.go.snap index 537334a1039..3377df29171 100644 --- a/service/quicksight/snapshot/api_op_DescribeIngestion.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeIngestion.go.snap @@ -14,7 +14,6 @@ DescribeIngestion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeIpRestriction.go.snap b/service/quicksight/snapshot/api_op_DescribeIpRestriction.go.snap index 15cff95728f..2f3ac75b326 100644 --- a/service/quicksight/snapshot/api_op_DescribeIpRestriction.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeIpRestriction.go.snap @@ -14,7 +14,6 @@ DescribeIpRestriction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeKeyRegistration.go.snap b/service/quicksight/snapshot/api_op_DescribeKeyRegistration.go.snap index 1cebd4e4ec1..8894b399c77 100644 --- a/service/quicksight/snapshot/api_op_DescribeKeyRegistration.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeKeyRegistration.go.snap @@ -14,7 +14,6 @@ DescribeKeyRegistration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeNamespace.go.snap b/service/quicksight/snapshot/api_op_DescribeNamespace.go.snap index 8700a0dde87..e8b7ac854de 100644 --- a/service/quicksight/snapshot/api_op_DescribeNamespace.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeNamespace.go.snap @@ -14,7 +14,6 @@ DescribeNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeQPersonalizationConfiguration.go.snap b/service/quicksight/snapshot/api_op_DescribeQPersonalizationConfiguration.go.snap index 0ca9b078b9d..024104ca62a 100644 --- a/service/quicksight/snapshot/api_op_DescribeQPersonalizationConfiguration.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeQPersonalizationConfiguration.go.snap @@ -14,7 +14,6 @@ DescribeQPersonalizationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeQuickSightQSearchConfiguration.go.snap b/service/quicksight/snapshot/api_op_DescribeQuickSightQSearchConfiguration.go.snap index aa118920f9d..3744c1dd8f8 100644 --- a/service/quicksight/snapshot/api_op_DescribeQuickSightQSearchConfiguration.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeQuickSightQSearchConfiguration.go.snap @@ -14,7 +14,6 @@ DescribeQuickSightQSearchConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeRefreshSchedule.go.snap b/service/quicksight/snapshot/api_op_DescribeRefreshSchedule.go.snap index 81afe209723..c9759416c15 100644 --- a/service/quicksight/snapshot/api_op_DescribeRefreshSchedule.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeRefreshSchedule.go.snap @@ -14,7 +14,6 @@ DescribeRefreshSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeRoleCustomPermission.go.snap b/service/quicksight/snapshot/api_op_DescribeRoleCustomPermission.go.snap index 7a97ddac8ac..4c48d14ec49 100644 --- a/service/quicksight/snapshot/api_op_DescribeRoleCustomPermission.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeRoleCustomPermission.go.snap @@ -14,7 +14,6 @@ DescribeRoleCustomPermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeTemplate.go.snap b/service/quicksight/snapshot/api_op_DescribeTemplate.go.snap index f54de588050..ff7eccefd49 100644 --- a/service/quicksight/snapshot/api_op_DescribeTemplate.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeTemplate.go.snap @@ -14,7 +14,6 @@ DescribeTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeTemplateAlias.go.snap b/service/quicksight/snapshot/api_op_DescribeTemplateAlias.go.snap index cd473ca4c28..d1270916605 100644 --- a/service/quicksight/snapshot/api_op_DescribeTemplateAlias.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeTemplateAlias.go.snap @@ -14,7 +14,6 @@ DescribeTemplateAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeTemplateDefinition.go.snap b/service/quicksight/snapshot/api_op_DescribeTemplateDefinition.go.snap index afde359293f..2db01e046ed 100644 --- a/service/quicksight/snapshot/api_op_DescribeTemplateDefinition.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeTemplateDefinition.go.snap @@ -14,7 +14,6 @@ DescribeTemplateDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeTemplatePermissions.go.snap b/service/quicksight/snapshot/api_op_DescribeTemplatePermissions.go.snap index fa6d3ad3fc5..ed3c01557c3 100644 --- a/service/quicksight/snapshot/api_op_DescribeTemplatePermissions.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeTemplatePermissions.go.snap @@ -14,7 +14,6 @@ DescribeTemplatePermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeTheme.go.snap b/service/quicksight/snapshot/api_op_DescribeTheme.go.snap index 1309241f585..484aed9c3b0 100644 --- a/service/quicksight/snapshot/api_op_DescribeTheme.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeTheme.go.snap @@ -14,7 +14,6 @@ DescribeTheme Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeThemeAlias.go.snap b/service/quicksight/snapshot/api_op_DescribeThemeAlias.go.snap index e1199ca75a5..fea01581d9c 100644 --- a/service/quicksight/snapshot/api_op_DescribeThemeAlias.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeThemeAlias.go.snap @@ -14,7 +14,6 @@ DescribeThemeAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeThemePermissions.go.snap b/service/quicksight/snapshot/api_op_DescribeThemePermissions.go.snap index 771260c7891..169db5f86aa 100644 --- a/service/quicksight/snapshot/api_op_DescribeThemePermissions.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeThemePermissions.go.snap @@ -14,7 +14,6 @@ DescribeThemePermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeTopic.go.snap b/service/quicksight/snapshot/api_op_DescribeTopic.go.snap index 41bf47f7fb8..ff9ae3a98a1 100644 --- a/service/quicksight/snapshot/api_op_DescribeTopic.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeTopic.go.snap @@ -14,7 +14,6 @@ DescribeTopic Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeTopicPermissions.go.snap b/service/quicksight/snapshot/api_op_DescribeTopicPermissions.go.snap index 329425d47d4..171a72bba8f 100644 --- a/service/quicksight/snapshot/api_op_DescribeTopicPermissions.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeTopicPermissions.go.snap @@ -14,7 +14,6 @@ DescribeTopicPermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeTopicRefresh.go.snap b/service/quicksight/snapshot/api_op_DescribeTopicRefresh.go.snap index 41f88ba3b98..e8ca913a29a 100644 --- a/service/quicksight/snapshot/api_op_DescribeTopicRefresh.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeTopicRefresh.go.snap @@ -14,7 +14,6 @@ DescribeTopicRefresh Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeTopicRefreshSchedule.go.snap b/service/quicksight/snapshot/api_op_DescribeTopicRefreshSchedule.go.snap index 6e3172bd3f2..b9761076b81 100644 --- a/service/quicksight/snapshot/api_op_DescribeTopicRefreshSchedule.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeTopicRefreshSchedule.go.snap @@ -14,7 +14,6 @@ DescribeTopicRefreshSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeUser.go.snap b/service/quicksight/snapshot/api_op_DescribeUser.go.snap index 630a2859093..a7ee6cfa46d 100644 --- a/service/quicksight/snapshot/api_op_DescribeUser.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeUser.go.snap @@ -14,7 +14,6 @@ DescribeUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_DescribeVPCConnection.go.snap b/service/quicksight/snapshot/api_op_DescribeVPCConnection.go.snap index e7d87345e9b..cc3d0b632fd 100644 --- a/service/quicksight/snapshot/api_op_DescribeVPCConnection.go.snap +++ b/service/quicksight/snapshot/api_op_DescribeVPCConnection.go.snap @@ -14,7 +14,6 @@ DescribeVPCConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_GenerateEmbedUrlForAnonymousUser.go.snap b/service/quicksight/snapshot/api_op_GenerateEmbedUrlForAnonymousUser.go.snap index 13aae227d0a..bf0761c8384 100644 --- a/service/quicksight/snapshot/api_op_GenerateEmbedUrlForAnonymousUser.go.snap +++ b/service/quicksight/snapshot/api_op_GenerateEmbedUrlForAnonymousUser.go.snap @@ -14,7 +14,6 @@ GenerateEmbedUrlForAnonymousUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_GenerateEmbedUrlForRegisteredUser.go.snap b/service/quicksight/snapshot/api_op_GenerateEmbedUrlForRegisteredUser.go.snap index c8a1d5752fd..331af82ecff 100644 --- a/service/quicksight/snapshot/api_op_GenerateEmbedUrlForRegisteredUser.go.snap +++ b/service/quicksight/snapshot/api_op_GenerateEmbedUrlForRegisteredUser.go.snap @@ -14,7 +14,6 @@ GenerateEmbedUrlForRegisteredUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_GenerateEmbedUrlForRegisteredUserWithIdentity.go.snap b/service/quicksight/snapshot/api_op_GenerateEmbedUrlForRegisteredUserWithIdentity.go.snap index 1ab39ae8b29..98b5a21b0de 100644 --- a/service/quicksight/snapshot/api_op_GenerateEmbedUrlForRegisteredUserWithIdentity.go.snap +++ b/service/quicksight/snapshot/api_op_GenerateEmbedUrlForRegisteredUserWithIdentity.go.snap @@ -14,7 +14,6 @@ GenerateEmbedUrlForRegisteredUserWithIdentity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_GetDashboardEmbedUrl.go.snap b/service/quicksight/snapshot/api_op_GetDashboardEmbedUrl.go.snap index e17c47c2414..4f471ced582 100644 --- a/service/quicksight/snapshot/api_op_GetDashboardEmbedUrl.go.snap +++ b/service/quicksight/snapshot/api_op_GetDashboardEmbedUrl.go.snap @@ -14,7 +14,6 @@ GetDashboardEmbedUrl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_GetSessionEmbedUrl.go.snap b/service/quicksight/snapshot/api_op_GetSessionEmbedUrl.go.snap index 6b2c9608e7a..46ab9b9bcc5 100644 --- a/service/quicksight/snapshot/api_op_GetSessionEmbedUrl.go.snap +++ b/service/quicksight/snapshot/api_op_GetSessionEmbedUrl.go.snap @@ -14,7 +14,6 @@ GetSessionEmbedUrl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListAnalyses.go.snap b/service/quicksight/snapshot/api_op_ListAnalyses.go.snap index f3b26f99d24..bba639346ed 100644 --- a/service/quicksight/snapshot/api_op_ListAnalyses.go.snap +++ b/service/quicksight/snapshot/api_op_ListAnalyses.go.snap @@ -14,7 +14,6 @@ ListAnalyses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListAssetBundleExportJobs.go.snap b/service/quicksight/snapshot/api_op_ListAssetBundleExportJobs.go.snap index 698e3f6b42f..0400ff138b8 100644 --- a/service/quicksight/snapshot/api_op_ListAssetBundleExportJobs.go.snap +++ b/service/quicksight/snapshot/api_op_ListAssetBundleExportJobs.go.snap @@ -14,7 +14,6 @@ ListAssetBundleExportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListAssetBundleImportJobs.go.snap b/service/quicksight/snapshot/api_op_ListAssetBundleImportJobs.go.snap index aa0cf791658..f1122375d11 100644 --- a/service/quicksight/snapshot/api_op_ListAssetBundleImportJobs.go.snap +++ b/service/quicksight/snapshot/api_op_ListAssetBundleImportJobs.go.snap @@ -14,7 +14,6 @@ ListAssetBundleImportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListBrands.go.snap b/service/quicksight/snapshot/api_op_ListBrands.go.snap index 03751adb60f..30a0939c592 100644 --- a/service/quicksight/snapshot/api_op_ListBrands.go.snap +++ b/service/quicksight/snapshot/api_op_ListBrands.go.snap @@ -14,7 +14,6 @@ ListBrands Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListCustomPermissions.go.snap b/service/quicksight/snapshot/api_op_ListCustomPermissions.go.snap index 813a29056b3..35140c26ed5 100644 --- a/service/quicksight/snapshot/api_op_ListCustomPermissions.go.snap +++ b/service/quicksight/snapshot/api_op_ListCustomPermissions.go.snap @@ -14,7 +14,6 @@ ListCustomPermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListDashboardVersions.go.snap b/service/quicksight/snapshot/api_op_ListDashboardVersions.go.snap index e639621c1b0..c99810f7506 100644 --- a/service/quicksight/snapshot/api_op_ListDashboardVersions.go.snap +++ b/service/quicksight/snapshot/api_op_ListDashboardVersions.go.snap @@ -14,7 +14,6 @@ ListDashboardVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListDashboards.go.snap b/service/quicksight/snapshot/api_op_ListDashboards.go.snap index bf5922d4aac..3f1c8b506cc 100644 --- a/service/quicksight/snapshot/api_op_ListDashboards.go.snap +++ b/service/quicksight/snapshot/api_op_ListDashboards.go.snap @@ -14,7 +14,6 @@ ListDashboards Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListDataSets.go.snap b/service/quicksight/snapshot/api_op_ListDataSets.go.snap index 070b2f43e7f..5ce797f193c 100644 --- a/service/quicksight/snapshot/api_op_ListDataSets.go.snap +++ b/service/quicksight/snapshot/api_op_ListDataSets.go.snap @@ -14,7 +14,6 @@ ListDataSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListDataSources.go.snap b/service/quicksight/snapshot/api_op_ListDataSources.go.snap index c47a00675e6..2ef138c6eb5 100644 --- a/service/quicksight/snapshot/api_op_ListDataSources.go.snap +++ b/service/quicksight/snapshot/api_op_ListDataSources.go.snap @@ -14,7 +14,6 @@ ListDataSources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListFolderMembers.go.snap b/service/quicksight/snapshot/api_op_ListFolderMembers.go.snap index d2cd6ad2694..076bd040337 100644 --- a/service/quicksight/snapshot/api_op_ListFolderMembers.go.snap +++ b/service/quicksight/snapshot/api_op_ListFolderMembers.go.snap @@ -14,7 +14,6 @@ ListFolderMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListFolders.go.snap b/service/quicksight/snapshot/api_op_ListFolders.go.snap index abc88523ce2..cb133a2f799 100644 --- a/service/quicksight/snapshot/api_op_ListFolders.go.snap +++ b/service/quicksight/snapshot/api_op_ListFolders.go.snap @@ -14,7 +14,6 @@ ListFolders Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListFoldersForResource.go.snap b/service/quicksight/snapshot/api_op_ListFoldersForResource.go.snap index faf21c25ec7..63479e0097e 100644 --- a/service/quicksight/snapshot/api_op_ListFoldersForResource.go.snap +++ b/service/quicksight/snapshot/api_op_ListFoldersForResource.go.snap @@ -14,7 +14,6 @@ ListFoldersForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListGroupMemberships.go.snap b/service/quicksight/snapshot/api_op_ListGroupMemberships.go.snap index c7a28aff2f2..383daf8e2a2 100644 --- a/service/quicksight/snapshot/api_op_ListGroupMemberships.go.snap +++ b/service/quicksight/snapshot/api_op_ListGroupMemberships.go.snap @@ -14,7 +14,6 @@ ListGroupMemberships Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListGroups.go.snap b/service/quicksight/snapshot/api_op_ListGroups.go.snap index 96d00de9d60..2cce91ebfeb 100644 --- a/service/quicksight/snapshot/api_op_ListGroups.go.snap +++ b/service/quicksight/snapshot/api_op_ListGroups.go.snap @@ -14,7 +14,6 @@ ListGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListIAMPolicyAssignments.go.snap b/service/quicksight/snapshot/api_op_ListIAMPolicyAssignments.go.snap index d8ed5d7045a..2b994288436 100644 --- a/service/quicksight/snapshot/api_op_ListIAMPolicyAssignments.go.snap +++ b/service/quicksight/snapshot/api_op_ListIAMPolicyAssignments.go.snap @@ -14,7 +14,6 @@ ListIAMPolicyAssignments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListIAMPolicyAssignmentsForUser.go.snap b/service/quicksight/snapshot/api_op_ListIAMPolicyAssignmentsForUser.go.snap index 572652831e1..9e35fbb0213 100644 --- a/service/quicksight/snapshot/api_op_ListIAMPolicyAssignmentsForUser.go.snap +++ b/service/quicksight/snapshot/api_op_ListIAMPolicyAssignmentsForUser.go.snap @@ -14,7 +14,6 @@ ListIAMPolicyAssignmentsForUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListIdentityPropagationConfigs.go.snap b/service/quicksight/snapshot/api_op_ListIdentityPropagationConfigs.go.snap index 2ab3573d8c2..2e11092c78b 100644 --- a/service/quicksight/snapshot/api_op_ListIdentityPropagationConfigs.go.snap +++ b/service/quicksight/snapshot/api_op_ListIdentityPropagationConfigs.go.snap @@ -14,7 +14,6 @@ ListIdentityPropagationConfigs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListIngestions.go.snap b/service/quicksight/snapshot/api_op_ListIngestions.go.snap index 02c32096f78..50d5bd4223d 100644 --- a/service/quicksight/snapshot/api_op_ListIngestions.go.snap +++ b/service/quicksight/snapshot/api_op_ListIngestions.go.snap @@ -14,7 +14,6 @@ ListIngestions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListNamespaces.go.snap b/service/quicksight/snapshot/api_op_ListNamespaces.go.snap index 83483964796..73a113a8bd8 100644 --- a/service/quicksight/snapshot/api_op_ListNamespaces.go.snap +++ b/service/quicksight/snapshot/api_op_ListNamespaces.go.snap @@ -14,7 +14,6 @@ ListNamespaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListRefreshSchedules.go.snap b/service/quicksight/snapshot/api_op_ListRefreshSchedules.go.snap index 664607579c1..8fee0c764f3 100644 --- a/service/quicksight/snapshot/api_op_ListRefreshSchedules.go.snap +++ b/service/quicksight/snapshot/api_op_ListRefreshSchedules.go.snap @@ -14,7 +14,6 @@ ListRefreshSchedules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListRoleMemberships.go.snap b/service/quicksight/snapshot/api_op_ListRoleMemberships.go.snap index 8de0f2e828a..9f1c67b8ad1 100644 --- a/service/quicksight/snapshot/api_op_ListRoleMemberships.go.snap +++ b/service/quicksight/snapshot/api_op_ListRoleMemberships.go.snap @@ -14,7 +14,6 @@ ListRoleMemberships Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListTagsForResource.go.snap b/service/quicksight/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/quicksight/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/quicksight/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListTemplateAliases.go.snap b/service/quicksight/snapshot/api_op_ListTemplateAliases.go.snap index 26fa54771d3..7c1d180e266 100644 --- a/service/quicksight/snapshot/api_op_ListTemplateAliases.go.snap +++ b/service/quicksight/snapshot/api_op_ListTemplateAliases.go.snap @@ -14,7 +14,6 @@ ListTemplateAliases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListTemplateVersions.go.snap b/service/quicksight/snapshot/api_op_ListTemplateVersions.go.snap index ce1bbeb3a21..154649e2f14 100644 --- a/service/quicksight/snapshot/api_op_ListTemplateVersions.go.snap +++ b/service/quicksight/snapshot/api_op_ListTemplateVersions.go.snap @@ -14,7 +14,6 @@ ListTemplateVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListTemplates.go.snap b/service/quicksight/snapshot/api_op_ListTemplates.go.snap index 3d56e0fa565..03eb81b1fdb 100644 --- a/service/quicksight/snapshot/api_op_ListTemplates.go.snap +++ b/service/quicksight/snapshot/api_op_ListTemplates.go.snap @@ -14,7 +14,6 @@ ListTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListThemeAliases.go.snap b/service/quicksight/snapshot/api_op_ListThemeAliases.go.snap index 02e463f7a1d..567dae0d31d 100644 --- a/service/quicksight/snapshot/api_op_ListThemeAliases.go.snap +++ b/service/quicksight/snapshot/api_op_ListThemeAliases.go.snap @@ -14,7 +14,6 @@ ListThemeAliases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListThemeVersions.go.snap b/service/quicksight/snapshot/api_op_ListThemeVersions.go.snap index c6c829ea01f..290fdda9e38 100644 --- a/service/quicksight/snapshot/api_op_ListThemeVersions.go.snap +++ b/service/quicksight/snapshot/api_op_ListThemeVersions.go.snap @@ -14,7 +14,6 @@ ListThemeVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListThemes.go.snap b/service/quicksight/snapshot/api_op_ListThemes.go.snap index 9ce387ace9a..8fa590a6455 100644 --- a/service/quicksight/snapshot/api_op_ListThemes.go.snap +++ b/service/quicksight/snapshot/api_op_ListThemes.go.snap @@ -14,7 +14,6 @@ ListThemes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListTopicRefreshSchedules.go.snap b/service/quicksight/snapshot/api_op_ListTopicRefreshSchedules.go.snap index bc38059df5e..0d3df955466 100644 --- a/service/quicksight/snapshot/api_op_ListTopicRefreshSchedules.go.snap +++ b/service/quicksight/snapshot/api_op_ListTopicRefreshSchedules.go.snap @@ -14,7 +14,6 @@ ListTopicRefreshSchedules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListTopicReviewedAnswers.go.snap b/service/quicksight/snapshot/api_op_ListTopicReviewedAnswers.go.snap index dd34568da9d..a6cb04ffdc9 100644 --- a/service/quicksight/snapshot/api_op_ListTopicReviewedAnswers.go.snap +++ b/service/quicksight/snapshot/api_op_ListTopicReviewedAnswers.go.snap @@ -14,7 +14,6 @@ ListTopicReviewedAnswers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListTopics.go.snap b/service/quicksight/snapshot/api_op_ListTopics.go.snap index d7f7795542f..f61a23760e8 100644 --- a/service/quicksight/snapshot/api_op_ListTopics.go.snap +++ b/service/quicksight/snapshot/api_op_ListTopics.go.snap @@ -14,7 +14,6 @@ ListTopics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListUserGroups.go.snap b/service/quicksight/snapshot/api_op_ListUserGroups.go.snap index 40cfdc80acc..6324e95f880 100644 --- a/service/quicksight/snapshot/api_op_ListUserGroups.go.snap +++ b/service/quicksight/snapshot/api_op_ListUserGroups.go.snap @@ -14,7 +14,6 @@ ListUserGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListUsers.go.snap b/service/quicksight/snapshot/api_op_ListUsers.go.snap index e806475e845..214b3b04368 100644 --- a/service/quicksight/snapshot/api_op_ListUsers.go.snap +++ b/service/quicksight/snapshot/api_op_ListUsers.go.snap @@ -14,7 +14,6 @@ ListUsers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_ListVPCConnections.go.snap b/service/quicksight/snapshot/api_op_ListVPCConnections.go.snap index 35c2f86ab64..2b4b74f3d9b 100644 --- a/service/quicksight/snapshot/api_op_ListVPCConnections.go.snap +++ b/service/quicksight/snapshot/api_op_ListVPCConnections.go.snap @@ -14,7 +14,6 @@ ListVPCConnections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_PredictQAResults.go.snap b/service/quicksight/snapshot/api_op_PredictQAResults.go.snap index e1d5f10fc41..024e23c0f0e 100644 --- a/service/quicksight/snapshot/api_op_PredictQAResults.go.snap +++ b/service/quicksight/snapshot/api_op_PredictQAResults.go.snap @@ -14,7 +14,6 @@ PredictQAResults Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_PutDataSetRefreshProperties.go.snap b/service/quicksight/snapshot/api_op_PutDataSetRefreshProperties.go.snap index fb4267705ba..ba4fac88eb9 100644 --- a/service/quicksight/snapshot/api_op_PutDataSetRefreshProperties.go.snap +++ b/service/quicksight/snapshot/api_op_PutDataSetRefreshProperties.go.snap @@ -14,7 +14,6 @@ PutDataSetRefreshProperties Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_RegisterUser.go.snap b/service/quicksight/snapshot/api_op_RegisterUser.go.snap index 776e6863889..fae5b1b50f8 100644 --- a/service/quicksight/snapshot/api_op_RegisterUser.go.snap +++ b/service/quicksight/snapshot/api_op_RegisterUser.go.snap @@ -14,7 +14,6 @@ RegisterUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_RestoreAnalysis.go.snap b/service/quicksight/snapshot/api_op_RestoreAnalysis.go.snap index f815b65c606..308d1be5b86 100644 --- a/service/quicksight/snapshot/api_op_RestoreAnalysis.go.snap +++ b/service/quicksight/snapshot/api_op_RestoreAnalysis.go.snap @@ -14,7 +14,6 @@ RestoreAnalysis Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_SearchAnalyses.go.snap b/service/quicksight/snapshot/api_op_SearchAnalyses.go.snap index 4b0d8261ed4..ea0f4825293 100644 --- a/service/quicksight/snapshot/api_op_SearchAnalyses.go.snap +++ b/service/quicksight/snapshot/api_op_SearchAnalyses.go.snap @@ -14,7 +14,6 @@ SearchAnalyses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_SearchDashboards.go.snap b/service/quicksight/snapshot/api_op_SearchDashboards.go.snap index 8dd0ccafe9d..2a2eaee2631 100644 --- a/service/quicksight/snapshot/api_op_SearchDashboards.go.snap +++ b/service/quicksight/snapshot/api_op_SearchDashboards.go.snap @@ -14,7 +14,6 @@ SearchDashboards Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_SearchDataSets.go.snap b/service/quicksight/snapshot/api_op_SearchDataSets.go.snap index 1ac779313ac..f77d6c69b86 100644 --- a/service/quicksight/snapshot/api_op_SearchDataSets.go.snap +++ b/service/quicksight/snapshot/api_op_SearchDataSets.go.snap @@ -14,7 +14,6 @@ SearchDataSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_SearchDataSources.go.snap b/service/quicksight/snapshot/api_op_SearchDataSources.go.snap index e8db86b7f58..5318a74c4d4 100644 --- a/service/quicksight/snapshot/api_op_SearchDataSources.go.snap +++ b/service/quicksight/snapshot/api_op_SearchDataSources.go.snap @@ -14,7 +14,6 @@ SearchDataSources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_SearchFolders.go.snap b/service/quicksight/snapshot/api_op_SearchFolders.go.snap index 880220d2c3c..8b57b3e8eca 100644 --- a/service/quicksight/snapshot/api_op_SearchFolders.go.snap +++ b/service/quicksight/snapshot/api_op_SearchFolders.go.snap @@ -14,7 +14,6 @@ SearchFolders Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_SearchGroups.go.snap b/service/quicksight/snapshot/api_op_SearchGroups.go.snap index 023d884c8ea..397da4a5a19 100644 --- a/service/quicksight/snapshot/api_op_SearchGroups.go.snap +++ b/service/quicksight/snapshot/api_op_SearchGroups.go.snap @@ -14,7 +14,6 @@ SearchGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_SearchTopics.go.snap b/service/quicksight/snapshot/api_op_SearchTopics.go.snap index 27a6afafc32..75ae0c773f1 100644 --- a/service/quicksight/snapshot/api_op_SearchTopics.go.snap +++ b/service/quicksight/snapshot/api_op_SearchTopics.go.snap @@ -14,7 +14,6 @@ SearchTopics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_StartAssetBundleExportJob.go.snap b/service/quicksight/snapshot/api_op_StartAssetBundleExportJob.go.snap index a63d032dc2b..d79b5c84300 100644 --- a/service/quicksight/snapshot/api_op_StartAssetBundleExportJob.go.snap +++ b/service/quicksight/snapshot/api_op_StartAssetBundleExportJob.go.snap @@ -14,7 +14,6 @@ StartAssetBundleExportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_StartAssetBundleImportJob.go.snap b/service/quicksight/snapshot/api_op_StartAssetBundleImportJob.go.snap index e14caaf4a30..49495372f3a 100644 --- a/service/quicksight/snapshot/api_op_StartAssetBundleImportJob.go.snap +++ b/service/quicksight/snapshot/api_op_StartAssetBundleImportJob.go.snap @@ -14,7 +14,6 @@ StartAssetBundleImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_StartDashboardSnapshotJob.go.snap b/service/quicksight/snapshot/api_op_StartDashboardSnapshotJob.go.snap index ef54b61d1e9..4bed25f1592 100644 --- a/service/quicksight/snapshot/api_op_StartDashboardSnapshotJob.go.snap +++ b/service/quicksight/snapshot/api_op_StartDashboardSnapshotJob.go.snap @@ -14,7 +14,6 @@ StartDashboardSnapshotJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_StartDashboardSnapshotJobSchedule.go.snap b/service/quicksight/snapshot/api_op_StartDashboardSnapshotJobSchedule.go.snap index e10201292c9..4329fddd58c 100644 --- a/service/quicksight/snapshot/api_op_StartDashboardSnapshotJobSchedule.go.snap +++ b/service/quicksight/snapshot/api_op_StartDashboardSnapshotJobSchedule.go.snap @@ -14,7 +14,6 @@ StartDashboardSnapshotJobSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_TagResource.go.snap b/service/quicksight/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/quicksight/snapshot/api_op_TagResource.go.snap +++ b/service/quicksight/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UntagResource.go.snap b/service/quicksight/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/quicksight/snapshot/api_op_UntagResource.go.snap +++ b/service/quicksight/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateAccountCustomization.go.snap b/service/quicksight/snapshot/api_op_UpdateAccountCustomization.go.snap index 0ad9a7513d1..a37a4ecb80e 100644 --- a/service/quicksight/snapshot/api_op_UpdateAccountCustomization.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateAccountCustomization.go.snap @@ -14,7 +14,6 @@ UpdateAccountCustomization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateAccountSettings.go.snap b/service/quicksight/snapshot/api_op_UpdateAccountSettings.go.snap index d69f82cf445..0768f34df66 100644 --- a/service/quicksight/snapshot/api_op_UpdateAccountSettings.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateAccountSettings.go.snap @@ -14,7 +14,6 @@ UpdateAccountSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateAnalysis.go.snap b/service/quicksight/snapshot/api_op_UpdateAnalysis.go.snap index 26d16391606..aa82d39e759 100644 --- a/service/quicksight/snapshot/api_op_UpdateAnalysis.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateAnalysis.go.snap @@ -14,7 +14,6 @@ UpdateAnalysis Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateAnalysisPermissions.go.snap b/service/quicksight/snapshot/api_op_UpdateAnalysisPermissions.go.snap index ae99714cad9..12d31f2bb01 100644 --- a/service/quicksight/snapshot/api_op_UpdateAnalysisPermissions.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateAnalysisPermissions.go.snap @@ -14,7 +14,6 @@ UpdateAnalysisPermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateApplicationWithTokenExchangeGrant.go.snap b/service/quicksight/snapshot/api_op_UpdateApplicationWithTokenExchangeGrant.go.snap index 4b368c2f27f..45792635b42 100644 --- a/service/quicksight/snapshot/api_op_UpdateApplicationWithTokenExchangeGrant.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateApplicationWithTokenExchangeGrant.go.snap @@ -14,7 +14,6 @@ UpdateApplicationWithTokenExchangeGrant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateBrand.go.snap b/service/quicksight/snapshot/api_op_UpdateBrand.go.snap index 91adddb913a..a0e23396ec9 100644 --- a/service/quicksight/snapshot/api_op_UpdateBrand.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateBrand.go.snap @@ -14,7 +14,6 @@ UpdateBrand Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateBrandAssignment.go.snap b/service/quicksight/snapshot/api_op_UpdateBrandAssignment.go.snap index 21c05de1c50..a9f134524cb 100644 --- a/service/quicksight/snapshot/api_op_UpdateBrandAssignment.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateBrandAssignment.go.snap @@ -14,7 +14,6 @@ UpdateBrandAssignment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateBrandPublishedVersion.go.snap b/service/quicksight/snapshot/api_op_UpdateBrandPublishedVersion.go.snap index b320161b0d7..3a3ef15eba7 100644 --- a/service/quicksight/snapshot/api_op_UpdateBrandPublishedVersion.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateBrandPublishedVersion.go.snap @@ -14,7 +14,6 @@ UpdateBrandPublishedVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateCustomPermissions.go.snap b/service/quicksight/snapshot/api_op_UpdateCustomPermissions.go.snap index 9ff3cacdaa7..38b0777f468 100644 --- a/service/quicksight/snapshot/api_op_UpdateCustomPermissions.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateCustomPermissions.go.snap @@ -14,7 +14,6 @@ UpdateCustomPermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateDashboard.go.snap b/service/quicksight/snapshot/api_op_UpdateDashboard.go.snap index 7e154c9832a..b0e69548223 100644 --- a/service/quicksight/snapshot/api_op_UpdateDashboard.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateDashboard.go.snap @@ -14,7 +14,6 @@ UpdateDashboard Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateDashboardLinks.go.snap b/service/quicksight/snapshot/api_op_UpdateDashboardLinks.go.snap index 3e26f0ed38c..1f8e5013eed 100644 --- a/service/quicksight/snapshot/api_op_UpdateDashboardLinks.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateDashboardLinks.go.snap @@ -14,7 +14,6 @@ UpdateDashboardLinks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateDashboardPermissions.go.snap b/service/quicksight/snapshot/api_op_UpdateDashboardPermissions.go.snap index f7242588fa3..d99e5b8f26c 100644 --- a/service/quicksight/snapshot/api_op_UpdateDashboardPermissions.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateDashboardPermissions.go.snap @@ -14,7 +14,6 @@ UpdateDashboardPermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateDashboardPublishedVersion.go.snap b/service/quicksight/snapshot/api_op_UpdateDashboardPublishedVersion.go.snap index 3e71e135baf..79c98646686 100644 --- a/service/quicksight/snapshot/api_op_UpdateDashboardPublishedVersion.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateDashboardPublishedVersion.go.snap @@ -14,7 +14,6 @@ UpdateDashboardPublishedVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateDashboardsQAConfiguration.go.snap b/service/quicksight/snapshot/api_op_UpdateDashboardsQAConfiguration.go.snap index f61805046df..5356ce097c0 100644 --- a/service/quicksight/snapshot/api_op_UpdateDashboardsQAConfiguration.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateDashboardsQAConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateDashboardsQAConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateDataSet.go.snap b/service/quicksight/snapshot/api_op_UpdateDataSet.go.snap index a12916563f6..080cbc200eb 100644 --- a/service/quicksight/snapshot/api_op_UpdateDataSet.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateDataSet.go.snap @@ -14,7 +14,6 @@ UpdateDataSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateDataSetPermissions.go.snap b/service/quicksight/snapshot/api_op_UpdateDataSetPermissions.go.snap index 689b5786413..35209fe6224 100644 --- a/service/quicksight/snapshot/api_op_UpdateDataSetPermissions.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateDataSetPermissions.go.snap @@ -14,7 +14,6 @@ UpdateDataSetPermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateDataSource.go.snap b/service/quicksight/snapshot/api_op_UpdateDataSource.go.snap index 7c4d5cf15b4..02ae762c076 100644 --- a/service/quicksight/snapshot/api_op_UpdateDataSource.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateDataSource.go.snap @@ -14,7 +14,6 @@ UpdateDataSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateDataSourcePermissions.go.snap b/service/quicksight/snapshot/api_op_UpdateDataSourcePermissions.go.snap index e24818cc297..cc05aa76827 100644 --- a/service/quicksight/snapshot/api_op_UpdateDataSourcePermissions.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateDataSourcePermissions.go.snap @@ -14,7 +14,6 @@ UpdateDataSourcePermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateDefaultQBusinessApplication.go.snap b/service/quicksight/snapshot/api_op_UpdateDefaultQBusinessApplication.go.snap index 17bf86be652..23852623a1c 100644 --- a/service/quicksight/snapshot/api_op_UpdateDefaultQBusinessApplication.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateDefaultQBusinessApplication.go.snap @@ -14,7 +14,6 @@ UpdateDefaultQBusinessApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateFolder.go.snap b/service/quicksight/snapshot/api_op_UpdateFolder.go.snap index c28f835d5b3..91b1acb9cfe 100644 --- a/service/quicksight/snapshot/api_op_UpdateFolder.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateFolder.go.snap @@ -14,7 +14,6 @@ UpdateFolder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateFolderPermissions.go.snap b/service/quicksight/snapshot/api_op_UpdateFolderPermissions.go.snap index 0bc892d5d6e..22a7e24669e 100644 --- a/service/quicksight/snapshot/api_op_UpdateFolderPermissions.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateFolderPermissions.go.snap @@ -14,7 +14,6 @@ UpdateFolderPermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateGroup.go.snap b/service/quicksight/snapshot/api_op_UpdateGroup.go.snap index 4e6da26c18e..4d69c0aef49 100644 --- a/service/quicksight/snapshot/api_op_UpdateGroup.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateGroup.go.snap @@ -14,7 +14,6 @@ UpdateGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateIAMPolicyAssignment.go.snap b/service/quicksight/snapshot/api_op_UpdateIAMPolicyAssignment.go.snap index ad73fd612f5..ada1a3c2981 100644 --- a/service/quicksight/snapshot/api_op_UpdateIAMPolicyAssignment.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateIAMPolicyAssignment.go.snap @@ -14,7 +14,6 @@ UpdateIAMPolicyAssignment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateIdentityPropagationConfig.go.snap b/service/quicksight/snapshot/api_op_UpdateIdentityPropagationConfig.go.snap index 9db13da364b..d76f4261095 100644 --- a/service/quicksight/snapshot/api_op_UpdateIdentityPropagationConfig.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateIdentityPropagationConfig.go.snap @@ -14,7 +14,6 @@ UpdateIdentityPropagationConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateIpRestriction.go.snap b/service/quicksight/snapshot/api_op_UpdateIpRestriction.go.snap index 33057b300fe..88f2d1e002d 100644 --- a/service/quicksight/snapshot/api_op_UpdateIpRestriction.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateIpRestriction.go.snap @@ -14,7 +14,6 @@ UpdateIpRestriction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateKeyRegistration.go.snap b/service/quicksight/snapshot/api_op_UpdateKeyRegistration.go.snap index 1a0298e099e..02151464921 100644 --- a/service/quicksight/snapshot/api_op_UpdateKeyRegistration.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateKeyRegistration.go.snap @@ -14,7 +14,6 @@ UpdateKeyRegistration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdatePublicSharingSettings.go.snap b/service/quicksight/snapshot/api_op_UpdatePublicSharingSettings.go.snap index 0be7c6d3827..9e68bc7856e 100644 --- a/service/quicksight/snapshot/api_op_UpdatePublicSharingSettings.go.snap +++ b/service/quicksight/snapshot/api_op_UpdatePublicSharingSettings.go.snap @@ -14,7 +14,6 @@ UpdatePublicSharingSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateQPersonalizationConfiguration.go.snap b/service/quicksight/snapshot/api_op_UpdateQPersonalizationConfiguration.go.snap index 1f2308b808f..60928e8ba1a 100644 --- a/service/quicksight/snapshot/api_op_UpdateQPersonalizationConfiguration.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateQPersonalizationConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateQPersonalizationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateQuickSightQSearchConfiguration.go.snap b/service/quicksight/snapshot/api_op_UpdateQuickSightQSearchConfiguration.go.snap index e421f5fbea9..98117f411b4 100644 --- a/service/quicksight/snapshot/api_op_UpdateQuickSightQSearchConfiguration.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateQuickSightQSearchConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateQuickSightQSearchConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateRefreshSchedule.go.snap b/service/quicksight/snapshot/api_op_UpdateRefreshSchedule.go.snap index b2be354a8a4..150e6ed1457 100644 --- a/service/quicksight/snapshot/api_op_UpdateRefreshSchedule.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateRefreshSchedule.go.snap @@ -14,7 +14,6 @@ UpdateRefreshSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateRoleCustomPermission.go.snap b/service/quicksight/snapshot/api_op_UpdateRoleCustomPermission.go.snap index edcbe922ef3..b9ed9541e72 100644 --- a/service/quicksight/snapshot/api_op_UpdateRoleCustomPermission.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateRoleCustomPermission.go.snap @@ -14,7 +14,6 @@ UpdateRoleCustomPermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateSPICECapacityConfiguration.go.snap b/service/quicksight/snapshot/api_op_UpdateSPICECapacityConfiguration.go.snap index e5141e7e3bc..68a1a55bbb0 100644 --- a/service/quicksight/snapshot/api_op_UpdateSPICECapacityConfiguration.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateSPICECapacityConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateSPICECapacityConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateTemplate.go.snap b/service/quicksight/snapshot/api_op_UpdateTemplate.go.snap index f6cbedf6f89..abb91d0f8d6 100644 --- a/service/quicksight/snapshot/api_op_UpdateTemplate.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateTemplate.go.snap @@ -14,7 +14,6 @@ UpdateTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateTemplateAlias.go.snap b/service/quicksight/snapshot/api_op_UpdateTemplateAlias.go.snap index 02090d011d1..7e2c11e73db 100644 --- a/service/quicksight/snapshot/api_op_UpdateTemplateAlias.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateTemplateAlias.go.snap @@ -14,7 +14,6 @@ UpdateTemplateAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateTemplatePermissions.go.snap b/service/quicksight/snapshot/api_op_UpdateTemplatePermissions.go.snap index 65a76072741..d2872bab07d 100644 --- a/service/quicksight/snapshot/api_op_UpdateTemplatePermissions.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateTemplatePermissions.go.snap @@ -14,7 +14,6 @@ UpdateTemplatePermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateTheme.go.snap b/service/quicksight/snapshot/api_op_UpdateTheme.go.snap index 33233676096..fcc01f394ca 100644 --- a/service/quicksight/snapshot/api_op_UpdateTheme.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateTheme.go.snap @@ -14,7 +14,6 @@ UpdateTheme Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateThemeAlias.go.snap b/service/quicksight/snapshot/api_op_UpdateThemeAlias.go.snap index 343e8737048..f94e4363cc2 100644 --- a/service/quicksight/snapshot/api_op_UpdateThemeAlias.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateThemeAlias.go.snap @@ -14,7 +14,6 @@ UpdateThemeAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateThemePermissions.go.snap b/service/quicksight/snapshot/api_op_UpdateThemePermissions.go.snap index cb26ccd906c..d38f0c6393d 100644 --- a/service/quicksight/snapshot/api_op_UpdateThemePermissions.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateThemePermissions.go.snap @@ -14,7 +14,6 @@ UpdateThemePermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateTopic.go.snap b/service/quicksight/snapshot/api_op_UpdateTopic.go.snap index 75f363c3b7d..0b450deacb1 100644 --- a/service/quicksight/snapshot/api_op_UpdateTopic.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateTopic.go.snap @@ -14,7 +14,6 @@ UpdateTopic Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateTopicPermissions.go.snap b/service/quicksight/snapshot/api_op_UpdateTopicPermissions.go.snap index dcc48cc4023..f702b0ad6ce 100644 --- a/service/quicksight/snapshot/api_op_UpdateTopicPermissions.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateTopicPermissions.go.snap @@ -14,7 +14,6 @@ UpdateTopicPermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateTopicRefreshSchedule.go.snap b/service/quicksight/snapshot/api_op_UpdateTopicRefreshSchedule.go.snap index 2682362eb0a..597eda681d4 100644 --- a/service/quicksight/snapshot/api_op_UpdateTopicRefreshSchedule.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateTopicRefreshSchedule.go.snap @@ -14,7 +14,6 @@ UpdateTopicRefreshSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateUser.go.snap b/service/quicksight/snapshot/api_op_UpdateUser.go.snap index 52e6424cb0f..bee553c064e 100644 --- a/service/quicksight/snapshot/api_op_UpdateUser.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateUser.go.snap @@ -14,7 +14,6 @@ UpdateUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateUserCustomPermission.go.snap b/service/quicksight/snapshot/api_op_UpdateUserCustomPermission.go.snap index 239f16794c7..5d3d991f553 100644 --- a/service/quicksight/snapshot/api_op_UpdateUserCustomPermission.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateUserCustomPermission.go.snap @@ -14,7 +14,6 @@ UpdateUserCustomPermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/quicksight/snapshot/api_op_UpdateVPCConnection.go.snap b/service/quicksight/snapshot/api_op_UpdateVPCConnection.go.snap index eadc9123a7e..c69c14e5b29 100644 --- a/service/quicksight/snapshot/api_op_UpdateVPCConnection.go.snap +++ b/service/quicksight/snapshot/api_op_UpdateVPCConnection.go.snap @@ -14,7 +14,6 @@ UpdateVPCConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/api_client.go b/service/ram/api_client.go index 42bc73c7aa5..476c2070f6b 100644 --- a/service/ram/api_client.go +++ b/service/ram/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/ram/api_op_AcceptResourceShareInvitation.go b/service/ram/api_op_AcceptResourceShareInvitation.go index 3190ebfe37b..b42284d0d50 100644 --- a/service/ram/api_op_AcceptResourceShareInvitation.go +++ b/service/ram/api_op_AcceptResourceShareInvitation.go @@ -138,9 +138,6 @@ func (c *Client) addOperationAcceptResourceShareInvitationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptResourceShareInvitationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_AssociateResourceShare.go b/service/ram/api_op_AssociateResourceShare.go index 0265c4fb96a..866f3f8fda6 100644 --- a/service/ram/api_op_AssociateResourceShare.go +++ b/service/ram/api_op_AssociateResourceShare.go @@ -176,9 +176,6 @@ func (c *Client) addOperationAssociateResourceShareMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateResourceShareValidationMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_AssociateResourceSharePermission.go b/service/ram/api_op_AssociateResourceSharePermission.go index c450c0a258a..27f10def404 100644 --- a/service/ram/api_op_AssociateResourceSharePermission.go +++ b/service/ram/api_op_AssociateResourceSharePermission.go @@ -172,9 +172,6 @@ func (c *Client) addOperationAssociateResourceSharePermissionMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateResourceSharePermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_CreatePermission.go b/service/ram/api_op_CreatePermission.go index 9046f006241..924c6054c13 100644 --- a/service/ram/api_op_CreatePermission.go +++ b/service/ram/api_op_CreatePermission.go @@ -177,9 +177,6 @@ func (c *Client) addOperationCreatePermissionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_CreatePermissionVersion.go b/service/ram/api_op_CreatePermissionVersion.go index 25482ab2b69..0dd912343ea 100644 --- a/service/ram/api_op_CreatePermissionVersion.go +++ b/service/ram/api_op_CreatePermissionVersion.go @@ -171,9 +171,6 @@ func (c *Client) addOperationCreatePermissionVersionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePermissionVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_CreateResourceShare.go b/service/ram/api_op_CreateResourceShare.go index fed8d6b8d8d..30c3a8f1746 100644 --- a/service/ram/api_op_CreateResourceShare.go +++ b/service/ram/api_op_CreateResourceShare.go @@ -192,9 +192,6 @@ func (c *Client) addOperationCreateResourceShareMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateResourceShareValidationMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_DeletePermission.go b/service/ram/api_op_DeletePermission.go index 3df65e34c9b..6b1f3a20d89 100644 --- a/service/ram/api_op_DeletePermission.go +++ b/service/ram/api_op_DeletePermission.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDeletePermissionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_DeletePermissionVersion.go b/service/ram/api_op_DeletePermissionVersion.go index 5a0e1060fd4..62e3778b4d6 100644 --- a/service/ram/api_op_DeletePermissionVersion.go +++ b/service/ram/api_op_DeletePermissionVersion.go @@ -159,9 +159,6 @@ func (c *Client) addOperationDeletePermissionVersionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePermissionVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_DeleteResourceShare.go b/service/ram/api_op_DeleteResourceShare.go index 0ca85072c20..1c50f24f346 100644 --- a/service/ram/api_op_DeleteResourceShare.go +++ b/service/ram/api_op_DeleteResourceShare.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDeleteResourceShareMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourceShareValidationMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_DisassociateResourceShare.go b/service/ram/api_op_DisassociateResourceShare.go index 31c39c9a259..7b49691423b 100644 --- a/service/ram/api_op_DisassociateResourceShare.go +++ b/service/ram/api_op_DisassociateResourceShare.go @@ -173,9 +173,6 @@ func (c *Client) addOperationDisassociateResourceShareMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateResourceShareValidationMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_DisassociateResourceSharePermission.go b/service/ram/api_op_DisassociateResourceSharePermission.go index 5690c5f3c93..ef9248d6f7f 100644 --- a/service/ram/api_op_DisassociateResourceSharePermission.go +++ b/service/ram/api_op_DisassociateResourceSharePermission.go @@ -146,9 +146,6 @@ func (c *Client) addOperationDisassociateResourceSharePermissionMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateResourceSharePermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_EnableSharingWithAwsOrganization.go b/service/ram/api_op_EnableSharingWithAwsOrganization.go index e69f2f2a2d9..54267a7bca8 100644 --- a/service/ram/api_op_EnableSharingWithAwsOrganization.go +++ b/service/ram/api_op_EnableSharingWithAwsOrganization.go @@ -118,9 +118,6 @@ func (c *Client) addOperationEnableSharingWithAwsOrganizationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableSharingWithAwsOrganization(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ram/api_op_GetPermission.go b/service/ram/api_op_GetPermission.go index 6bf548b1eba..fb69a8bdae2 100644 --- a/service/ram/api_op_GetPermission.go +++ b/service/ram/api_op_GetPermission.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetPermissionMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_GetResourcePolicies.go b/service/ram/api_op_GetResourcePolicies.go index a0d12e26ed8..335ce5ce2f6 100644 --- a/service/ram/api_op_GetResourcePolicies.go +++ b/service/ram/api_op_GetResourcePolicies.go @@ -141,9 +141,6 @@ func (c *Client) addOperationGetResourcePoliciesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourcePoliciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_GetResourceShareAssociations.go b/service/ram/api_op_GetResourceShareAssociations.go index ce4f2767f20..0fb248ad318 100644 --- a/service/ram/api_op_GetResourceShareAssociations.go +++ b/service/ram/api_op_GetResourceShareAssociations.go @@ -167,9 +167,6 @@ func (c *Client) addOperationGetResourceShareAssociationsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourceShareAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_GetResourceShareInvitations.go b/service/ram/api_op_GetResourceShareInvitations.go index 92cd83fc94a..ec2e9b9186f 100644 --- a/service/ram/api_op_GetResourceShareInvitations.go +++ b/service/ram/api_op_GetResourceShareInvitations.go @@ -142,9 +142,6 @@ func (c *Client) addOperationGetResourceShareInvitationsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourceShareInvitations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ram/api_op_GetResourceShares.go b/service/ram/api_op_GetResourceShares.go index f11d31ca3c4..f66b55a1bbe 100644 --- a/service/ram/api_op_GetResourceShares.go +++ b/service/ram/api_op_GetResourceShares.go @@ -169,9 +169,6 @@ func (c *Client) addOperationGetResourceSharesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourceSharesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_ListPendingInvitationResources.go b/service/ram/api_op_ListPendingInvitationResources.go index 25757905533..1113c41adf5 100644 --- a/service/ram/api_op_ListPendingInvitationResources.go +++ b/service/ram/api_op_ListPendingInvitationResources.go @@ -155,9 +155,6 @@ func (c *Client) addOperationListPendingInvitationResourcesMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPendingInvitationResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_ListPermissionAssociations.go b/service/ram/api_op_ListPermissionAssociations.go index aed4b47e29b..6105d3c1e3c 100644 --- a/service/ram/api_op_ListPermissionAssociations.go +++ b/service/ram/api_op_ListPermissionAssociations.go @@ -164,9 +164,6 @@ func (c *Client) addOperationListPermissionAssociationsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPermissionAssociations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ram/api_op_ListPermissionVersions.go b/service/ram/api_op_ListPermissionVersions.go index 5ec564c637b..2bf1c12bafd 100644 --- a/service/ram/api_op_ListPermissionVersions.go +++ b/service/ram/api_op_ListPermissionVersions.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListPermissionVersionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPermissionVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_ListPermissions.go b/service/ram/api_op_ListPermissions.go index d34e450030d..8b7f55a5439 100644 --- a/service/ram/api_op_ListPermissions.go +++ b/service/ram/api_op_ListPermissions.go @@ -151,9 +151,6 @@ func (c *Client) addOperationListPermissionsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPermissions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ram/api_op_ListPrincipals.go b/service/ram/api_op_ListPrincipals.go index bbb6630a34d..b18e7d53a5f 100644 --- a/service/ram/api_op_ListPrincipals.go +++ b/service/ram/api_op_ListPrincipals.go @@ -183,9 +183,6 @@ func (c *Client) addOperationListPrincipalsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPrincipalsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_ListReplacePermissionAssociationsWork.go b/service/ram/api_op_ListReplacePermissionAssociationsWork.go index 904472e7169..6649203d72e 100644 --- a/service/ram/api_op_ListReplacePermissionAssociationsWork.go +++ b/service/ram/api_op_ListReplacePermissionAssociationsWork.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListReplacePermissionAssociationsWorkMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReplacePermissionAssociationsWork(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ram/api_op_ListResourceSharePermissions.go b/service/ram/api_op_ListResourceSharePermissions.go index da73d25d1bb..1182357257f 100644 --- a/service/ram/api_op_ListResourceSharePermissions.go +++ b/service/ram/api_op_ListResourceSharePermissions.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListResourceSharePermissionsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListResourceSharePermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_ListResourceTypes.go b/service/ram/api_op_ListResourceTypes.go index 0d419c29e6f..0d8b2679fa0 100644 --- a/service/ram/api_op_ListResourceTypes.go +++ b/service/ram/api_op_ListResourceTypes.go @@ -145,9 +145,6 @@ func (c *Client) addOperationListResourceTypesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourceTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ram/api_op_ListResources.go b/service/ram/api_op_ListResources.go index 2f6e1b0233b..00d50643e8b 100644 --- a/service/ram/api_op_ListResources.go +++ b/service/ram/api_op_ListResources.go @@ -177,9 +177,6 @@ func (c *Client) addOperationListResourcesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_PromotePermissionCreatedFromPolicy.go b/service/ram/api_op_PromotePermissionCreatedFromPolicy.go index bb0df4a2a60..baba7bb3db6 100644 --- a/service/ram/api_op_PromotePermissionCreatedFromPolicy.go +++ b/service/ram/api_op_PromotePermissionCreatedFromPolicy.go @@ -166,9 +166,6 @@ func (c *Client) addOperationPromotePermissionCreatedFromPolicyMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPromotePermissionCreatedFromPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_PromoteResourceShareCreatedFromPolicy.go b/service/ram/api_op_PromoteResourceShareCreatedFromPolicy.go index f6d5b81f9d8..6bd86b26378 100644 --- a/service/ram/api_op_PromoteResourceShareCreatedFromPolicy.go +++ b/service/ram/api_op_PromoteResourceShareCreatedFromPolicy.go @@ -129,9 +129,6 @@ func (c *Client) addOperationPromoteResourceShareCreatedFromPolicyMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPromoteResourceShareCreatedFromPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_RejectResourceShareInvitation.go b/service/ram/api_op_RejectResourceShareInvitation.go index 9dc7664ab9a..1f1db3fae25 100644 --- a/service/ram/api_op_RejectResourceShareInvitation.go +++ b/service/ram/api_op_RejectResourceShareInvitation.go @@ -136,9 +136,6 @@ func (c *Client) addOperationRejectResourceShareInvitationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRejectResourceShareInvitationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_ReplacePermissionAssociations.go b/service/ram/api_op_ReplacePermissionAssociations.go index 167f08da073..68086e381a7 100644 --- a/service/ram/api_op_ReplacePermissionAssociations.go +++ b/service/ram/api_op_ReplacePermissionAssociations.go @@ -167,9 +167,6 @@ func (c *Client) addOperationReplacePermissionAssociationsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpReplacePermissionAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_SetDefaultPermissionVersion.go b/service/ram/api_op_SetDefaultPermissionVersion.go index ea2d4cb7b30..c9901de0f19 100644 --- a/service/ram/api_op_SetDefaultPermissionVersion.go +++ b/service/ram/api_op_SetDefaultPermissionVersion.go @@ -145,9 +145,6 @@ func (c *Client) addOperationSetDefaultPermissionVersionMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetDefaultPermissionVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_TagResource.go b/service/ram/api_op_TagResource.go index 63721273efe..b8e65ea7516 100644 --- a/service/ram/api_op_TagResource.go +++ b/service/ram/api_op_TagResource.go @@ -127,9 +127,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_UntagResource.go b/service/ram/api_op_UntagResource.go index 9490a5811f3..f83e19ee0c2 100644 --- a/service/ram/api_op_UntagResource.go +++ b/service/ram/api_op_UntagResource.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ram/api_op_UpdateResourceShare.go b/service/ram/api_op_UpdateResourceShare.go index 3f6ed3a6c3b..b1a04a24730 100644 --- a/service/ram/api_op_UpdateResourceShare.go +++ b/service/ram/api_op_UpdateResourceShare.go @@ -142,9 +142,6 @@ func (c *Client) addOperationUpdateResourceShareMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateResourceShareValidationMiddleware(stack); err != nil { return err } diff --git a/service/ram/snapshot/api_op_AcceptResourceShareInvitation.go.snap b/service/ram/snapshot/api_op_AcceptResourceShareInvitation.go.snap index 28f6d30e710..5857526bf01 100644 --- a/service/ram/snapshot/api_op_AcceptResourceShareInvitation.go.snap +++ b/service/ram/snapshot/api_op_AcceptResourceShareInvitation.go.snap @@ -14,7 +14,6 @@ AcceptResourceShareInvitation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/snapshot/api_op_AssociateResourceShare.go.snap b/service/ram/snapshot/api_op_AssociateResourceShare.go.snap index 03c1948f762..f7673d89225 100644 --- a/service/ram/snapshot/api_op_AssociateResourceShare.go.snap +++ b/service/ram/snapshot/api_op_AssociateResourceShare.go.snap @@ -14,7 +14,6 @@ AssociateResourceShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/snapshot/api_op_AssociateResourceSharePermission.go.snap b/service/ram/snapshot/api_op_AssociateResourceSharePermission.go.snap index 131c111aa52..01fda2761ee 100644 --- a/service/ram/snapshot/api_op_AssociateResourceSharePermission.go.snap +++ b/service/ram/snapshot/api_op_AssociateResourceSharePermission.go.snap @@ -14,7 +14,6 @@ AssociateResourceSharePermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/snapshot/api_op_CreatePermission.go.snap b/service/ram/snapshot/api_op_CreatePermission.go.snap index b3000f6a3f0..211662b41b7 100644 --- a/service/ram/snapshot/api_op_CreatePermission.go.snap +++ b/service/ram/snapshot/api_op_CreatePermission.go.snap @@ -14,7 +14,6 @@ CreatePermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/snapshot/api_op_CreatePermissionVersion.go.snap b/service/ram/snapshot/api_op_CreatePermissionVersion.go.snap index f5046f7537d..ac1d4cf6759 100644 --- a/service/ram/snapshot/api_op_CreatePermissionVersion.go.snap +++ b/service/ram/snapshot/api_op_CreatePermissionVersion.go.snap @@ -14,7 +14,6 @@ CreatePermissionVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/snapshot/api_op_CreateResourceShare.go.snap b/service/ram/snapshot/api_op_CreateResourceShare.go.snap index 0ce82524f4c..16723d561ed 100644 --- a/service/ram/snapshot/api_op_CreateResourceShare.go.snap +++ b/service/ram/snapshot/api_op_CreateResourceShare.go.snap @@ -14,7 +14,6 @@ CreateResourceShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/snapshot/api_op_DeletePermission.go.snap b/service/ram/snapshot/api_op_DeletePermission.go.snap index e1ac34fcbb5..42fc1b8a493 100644 --- a/service/ram/snapshot/api_op_DeletePermission.go.snap +++ b/service/ram/snapshot/api_op_DeletePermission.go.snap @@ -14,7 +14,6 @@ DeletePermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/snapshot/api_op_DeletePermissionVersion.go.snap b/service/ram/snapshot/api_op_DeletePermissionVersion.go.snap index d807a9285d1..195f3295dcd 100644 --- a/service/ram/snapshot/api_op_DeletePermissionVersion.go.snap +++ b/service/ram/snapshot/api_op_DeletePermissionVersion.go.snap @@ -14,7 +14,6 @@ DeletePermissionVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/snapshot/api_op_DeleteResourceShare.go.snap b/service/ram/snapshot/api_op_DeleteResourceShare.go.snap index 3acf1c4f8cd..8786a4409de 100644 --- a/service/ram/snapshot/api_op_DeleteResourceShare.go.snap +++ b/service/ram/snapshot/api_op_DeleteResourceShare.go.snap @@ -14,7 +14,6 @@ DeleteResourceShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/snapshot/api_op_DisassociateResourceShare.go.snap b/service/ram/snapshot/api_op_DisassociateResourceShare.go.snap index c9233aafb78..74cc6899ca3 100644 --- a/service/ram/snapshot/api_op_DisassociateResourceShare.go.snap +++ b/service/ram/snapshot/api_op_DisassociateResourceShare.go.snap @@ -14,7 +14,6 @@ DisassociateResourceShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/snapshot/api_op_DisassociateResourceSharePermission.go.snap b/service/ram/snapshot/api_op_DisassociateResourceSharePermission.go.snap index fe608bf42ce..3eed78cc40d 100644 --- a/service/ram/snapshot/api_op_DisassociateResourceSharePermission.go.snap +++ b/service/ram/snapshot/api_op_DisassociateResourceSharePermission.go.snap @@ -14,7 +14,6 @@ DisassociateResourceSharePermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/snapshot/api_op_EnableSharingWithAwsOrganization.go.snap b/service/ram/snapshot/api_op_EnableSharingWithAwsOrganization.go.snap index b94b8325814..fc8a2a9eb60 100644 --- a/service/ram/snapshot/api_op_EnableSharingWithAwsOrganization.go.snap +++ b/service/ram/snapshot/api_op_EnableSharingWithAwsOrganization.go.snap @@ -13,7 +13,6 @@ EnableSharingWithAwsOrganization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/snapshot/api_op_GetPermission.go.snap b/service/ram/snapshot/api_op_GetPermission.go.snap index 6470296f34a..c058131ef87 100644 --- a/service/ram/snapshot/api_op_GetPermission.go.snap +++ b/service/ram/snapshot/api_op_GetPermission.go.snap @@ -14,7 +14,6 @@ GetPermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/snapshot/api_op_GetResourcePolicies.go.snap b/service/ram/snapshot/api_op_GetResourcePolicies.go.snap index 57a5f5567a0..e35c789807c 100644 --- a/service/ram/snapshot/api_op_GetResourcePolicies.go.snap +++ b/service/ram/snapshot/api_op_GetResourcePolicies.go.snap @@ -14,7 +14,6 @@ GetResourcePolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/snapshot/api_op_GetResourceShareAssociations.go.snap b/service/ram/snapshot/api_op_GetResourceShareAssociations.go.snap index c35ea210e0b..e010cb6ac66 100644 --- a/service/ram/snapshot/api_op_GetResourceShareAssociations.go.snap +++ b/service/ram/snapshot/api_op_GetResourceShareAssociations.go.snap @@ -14,7 +14,6 @@ GetResourceShareAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/snapshot/api_op_GetResourceShareInvitations.go.snap b/service/ram/snapshot/api_op_GetResourceShareInvitations.go.snap index dd59b2f0608..63f42dbc961 100644 --- a/service/ram/snapshot/api_op_GetResourceShareInvitations.go.snap +++ b/service/ram/snapshot/api_op_GetResourceShareInvitations.go.snap @@ -13,7 +13,6 @@ GetResourceShareInvitations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/snapshot/api_op_GetResourceShares.go.snap b/service/ram/snapshot/api_op_GetResourceShares.go.snap index ea54a9fd7f8..a2c74d91594 100644 --- a/service/ram/snapshot/api_op_GetResourceShares.go.snap +++ b/service/ram/snapshot/api_op_GetResourceShares.go.snap @@ -14,7 +14,6 @@ GetResourceShares Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/snapshot/api_op_ListPendingInvitationResources.go.snap b/service/ram/snapshot/api_op_ListPendingInvitationResources.go.snap index 9d180b633e4..38fdc8b79fa 100644 --- a/service/ram/snapshot/api_op_ListPendingInvitationResources.go.snap +++ b/service/ram/snapshot/api_op_ListPendingInvitationResources.go.snap @@ -14,7 +14,6 @@ ListPendingInvitationResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/snapshot/api_op_ListPermissionAssociations.go.snap b/service/ram/snapshot/api_op_ListPermissionAssociations.go.snap index 2a7ec7f537c..778b064a1f7 100644 --- a/service/ram/snapshot/api_op_ListPermissionAssociations.go.snap +++ b/service/ram/snapshot/api_op_ListPermissionAssociations.go.snap @@ -13,7 +13,6 @@ ListPermissionAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/snapshot/api_op_ListPermissionVersions.go.snap b/service/ram/snapshot/api_op_ListPermissionVersions.go.snap index ba9b39caa54..c8ac23e4356 100644 --- a/service/ram/snapshot/api_op_ListPermissionVersions.go.snap +++ b/service/ram/snapshot/api_op_ListPermissionVersions.go.snap @@ -14,7 +14,6 @@ ListPermissionVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/snapshot/api_op_ListPermissions.go.snap b/service/ram/snapshot/api_op_ListPermissions.go.snap index 4eeb519ec13..14055130710 100644 --- a/service/ram/snapshot/api_op_ListPermissions.go.snap +++ b/service/ram/snapshot/api_op_ListPermissions.go.snap @@ -13,7 +13,6 @@ ListPermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/snapshot/api_op_ListPrincipals.go.snap b/service/ram/snapshot/api_op_ListPrincipals.go.snap index 8418f267cd1..11cb1596b0a 100644 --- a/service/ram/snapshot/api_op_ListPrincipals.go.snap +++ b/service/ram/snapshot/api_op_ListPrincipals.go.snap @@ -14,7 +14,6 @@ ListPrincipals Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/snapshot/api_op_ListReplacePermissionAssociationsWork.go.snap b/service/ram/snapshot/api_op_ListReplacePermissionAssociationsWork.go.snap index 1174425221c..a6b56488f77 100644 --- a/service/ram/snapshot/api_op_ListReplacePermissionAssociationsWork.go.snap +++ b/service/ram/snapshot/api_op_ListReplacePermissionAssociationsWork.go.snap @@ -13,7 +13,6 @@ ListReplacePermissionAssociationsWork Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/snapshot/api_op_ListResourceSharePermissions.go.snap b/service/ram/snapshot/api_op_ListResourceSharePermissions.go.snap index 30a608cb851..ec5e2ac0127 100644 --- a/service/ram/snapshot/api_op_ListResourceSharePermissions.go.snap +++ b/service/ram/snapshot/api_op_ListResourceSharePermissions.go.snap @@ -14,7 +14,6 @@ ListResourceSharePermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/snapshot/api_op_ListResourceTypes.go.snap b/service/ram/snapshot/api_op_ListResourceTypes.go.snap index 2f19d1645a3..75908f71071 100644 --- a/service/ram/snapshot/api_op_ListResourceTypes.go.snap +++ b/service/ram/snapshot/api_op_ListResourceTypes.go.snap @@ -13,7 +13,6 @@ ListResourceTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/snapshot/api_op_ListResources.go.snap b/service/ram/snapshot/api_op_ListResources.go.snap index ef5c53317cd..4dfe792a25a 100644 --- a/service/ram/snapshot/api_op_ListResources.go.snap +++ b/service/ram/snapshot/api_op_ListResources.go.snap @@ -14,7 +14,6 @@ ListResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/snapshot/api_op_PromotePermissionCreatedFromPolicy.go.snap b/service/ram/snapshot/api_op_PromotePermissionCreatedFromPolicy.go.snap index c38eb8c6976..0bf624adafd 100644 --- a/service/ram/snapshot/api_op_PromotePermissionCreatedFromPolicy.go.snap +++ b/service/ram/snapshot/api_op_PromotePermissionCreatedFromPolicy.go.snap @@ -14,7 +14,6 @@ PromotePermissionCreatedFromPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/snapshot/api_op_PromoteResourceShareCreatedFromPolicy.go.snap b/service/ram/snapshot/api_op_PromoteResourceShareCreatedFromPolicy.go.snap index 3a62acc9b93..6362e7db7b9 100644 --- a/service/ram/snapshot/api_op_PromoteResourceShareCreatedFromPolicy.go.snap +++ b/service/ram/snapshot/api_op_PromoteResourceShareCreatedFromPolicy.go.snap @@ -14,7 +14,6 @@ PromoteResourceShareCreatedFromPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/snapshot/api_op_RejectResourceShareInvitation.go.snap b/service/ram/snapshot/api_op_RejectResourceShareInvitation.go.snap index 94ebada0509..64e18a7355e 100644 --- a/service/ram/snapshot/api_op_RejectResourceShareInvitation.go.snap +++ b/service/ram/snapshot/api_op_RejectResourceShareInvitation.go.snap @@ -14,7 +14,6 @@ RejectResourceShareInvitation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/snapshot/api_op_ReplacePermissionAssociations.go.snap b/service/ram/snapshot/api_op_ReplacePermissionAssociations.go.snap index df7c8337df1..264b76fe648 100644 --- a/service/ram/snapshot/api_op_ReplacePermissionAssociations.go.snap +++ b/service/ram/snapshot/api_op_ReplacePermissionAssociations.go.snap @@ -14,7 +14,6 @@ ReplacePermissionAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/snapshot/api_op_SetDefaultPermissionVersion.go.snap b/service/ram/snapshot/api_op_SetDefaultPermissionVersion.go.snap index 83b0b5f7092..a77998057ff 100644 --- a/service/ram/snapshot/api_op_SetDefaultPermissionVersion.go.snap +++ b/service/ram/snapshot/api_op_SetDefaultPermissionVersion.go.snap @@ -14,7 +14,6 @@ SetDefaultPermissionVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/snapshot/api_op_TagResource.go.snap b/service/ram/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/ram/snapshot/api_op_TagResource.go.snap +++ b/service/ram/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/snapshot/api_op_UntagResource.go.snap b/service/ram/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/ram/snapshot/api_op_UntagResource.go.snap +++ b/service/ram/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ram/snapshot/api_op_UpdateResourceShare.go.snap b/service/ram/snapshot/api_op_UpdateResourceShare.go.snap index 59c0cdfd69d..8423ee3f15d 100644 --- a/service/ram/snapshot/api_op_UpdateResourceShare.go.snap +++ b/service/ram/snapshot/api_op_UpdateResourceShare.go.snap @@ -14,7 +14,6 @@ UpdateResourceShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rbin/api_client.go b/service/rbin/api_client.go index fd19b81921a..5af9e380770 100644 --- a/service/rbin/api_client.go +++ b/service/rbin/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/rbin/api_op_CreateRule.go b/service/rbin/api_op_CreateRule.go index 39685951530..6e555936c34 100644 --- a/service/rbin/api_op_CreateRule.go +++ b/service/rbin/api_op_CreateRule.go @@ -219,9 +219,6 @@ func (c *Client) addOperationCreateRuleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/rbin/api_op_DeleteRule.go b/service/rbin/api_op_DeleteRule.go index 7e67fcb6326..89e798d82a5 100644 --- a/service/rbin/api_op_DeleteRule.go +++ b/service/rbin/api_op_DeleteRule.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteRuleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/rbin/api_op_GetRule.go b/service/rbin/api_op_GetRule.go index 08a19ae4e5f..6c349dcad33 100644 --- a/service/rbin/api_op_GetRule.go +++ b/service/rbin/api_op_GetRule.go @@ -163,9 +163,6 @@ func (c *Client) addOperationGetRuleMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/rbin/api_op_ListRules.go b/service/rbin/api_op_ListRules.go index 0af28d6ca16..44e7c852748 100644 --- a/service/rbin/api_op_ListRules.go +++ b/service/rbin/api_op_ListRules.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListRulesMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/rbin/api_op_ListTagsForResource.go b/service/rbin/api_op_ListTagsForResource.go index 80b45f334fd..384558f9e16 100644 --- a/service/rbin/api_op_ListTagsForResource.go +++ b/service/rbin/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/rbin/api_op_LockRule.go b/service/rbin/api_op_LockRule.go index bcacaaa831a..018ea24d909 100644 --- a/service/rbin/api_op_LockRule.go +++ b/service/rbin/api_op_LockRule.go @@ -166,9 +166,6 @@ func (c *Client) addOperationLockRuleMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpLockRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/rbin/api_op_TagResource.go b/service/rbin/api_op_TagResource.go index 5ac3d6a9b49..651b0217af7 100644 --- a/service/rbin/api_op_TagResource.go +++ b/service/rbin/api_op_TagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/rbin/api_op_UnlockRule.go b/service/rbin/api_op_UnlockRule.go index d28431b7c19..73b1395863e 100644 --- a/service/rbin/api_op_UnlockRule.go +++ b/service/rbin/api_op_UnlockRule.go @@ -164,9 +164,6 @@ func (c *Client) addOperationUnlockRuleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUnlockRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/rbin/api_op_UntagResource.go b/service/rbin/api_op_UntagResource.go index 3fb941e7d15..6ca603e0d30 100644 --- a/service/rbin/api_op_UntagResource.go +++ b/service/rbin/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/rbin/api_op_UpdateRule.go b/service/rbin/api_op_UpdateRule.go index 17b373aaa96..7f95247eed9 100644 --- a/service/rbin/api_op_UpdateRule.go +++ b/service/rbin/api_op_UpdateRule.go @@ -200,9 +200,6 @@ func (c *Client) addOperationUpdateRuleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/rbin/snapshot/api_op_CreateRule.go.snap b/service/rbin/snapshot/api_op_CreateRule.go.snap index ccb56fcbaaa..0f845aa30f2 100644 --- a/service/rbin/snapshot/api_op_CreateRule.go.snap +++ b/service/rbin/snapshot/api_op_CreateRule.go.snap @@ -14,7 +14,6 @@ CreateRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rbin/snapshot/api_op_DeleteRule.go.snap b/service/rbin/snapshot/api_op_DeleteRule.go.snap index dd841287b59..a6bc8103292 100644 --- a/service/rbin/snapshot/api_op_DeleteRule.go.snap +++ b/service/rbin/snapshot/api_op_DeleteRule.go.snap @@ -14,7 +14,6 @@ DeleteRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rbin/snapshot/api_op_GetRule.go.snap b/service/rbin/snapshot/api_op_GetRule.go.snap index 6752a7a08cc..6baf28ba349 100644 --- a/service/rbin/snapshot/api_op_GetRule.go.snap +++ b/service/rbin/snapshot/api_op_GetRule.go.snap @@ -14,7 +14,6 @@ GetRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rbin/snapshot/api_op_ListRules.go.snap b/service/rbin/snapshot/api_op_ListRules.go.snap index fbd62b15a4f..0e39687c8a2 100644 --- a/service/rbin/snapshot/api_op_ListRules.go.snap +++ b/service/rbin/snapshot/api_op_ListRules.go.snap @@ -14,7 +14,6 @@ ListRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rbin/snapshot/api_op_ListTagsForResource.go.snap b/service/rbin/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/rbin/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/rbin/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rbin/snapshot/api_op_LockRule.go.snap b/service/rbin/snapshot/api_op_LockRule.go.snap index fae0f8eb7fc..d898918ed86 100644 --- a/service/rbin/snapshot/api_op_LockRule.go.snap +++ b/service/rbin/snapshot/api_op_LockRule.go.snap @@ -14,7 +14,6 @@ LockRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rbin/snapshot/api_op_TagResource.go.snap b/service/rbin/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/rbin/snapshot/api_op_TagResource.go.snap +++ b/service/rbin/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rbin/snapshot/api_op_UnlockRule.go.snap b/service/rbin/snapshot/api_op_UnlockRule.go.snap index 5ae1fa0c8f4..2445e425a0d 100644 --- a/service/rbin/snapshot/api_op_UnlockRule.go.snap +++ b/service/rbin/snapshot/api_op_UnlockRule.go.snap @@ -14,7 +14,6 @@ UnlockRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rbin/snapshot/api_op_UntagResource.go.snap b/service/rbin/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/rbin/snapshot/api_op_UntagResource.go.snap +++ b/service/rbin/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rbin/snapshot/api_op_UpdateRule.go.snap b/service/rbin/snapshot/api_op_UpdateRule.go.snap index 4eccda0001c..fb285fb40de 100644 --- a/service/rbin/snapshot/api_op_UpdateRule.go.snap +++ b/service/rbin/snapshot/api_op_UpdateRule.go.snap @@ -14,7 +14,6 @@ UpdateRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/api_client.go b/service/rds/api_client.go index 8e41ad1ac3f..1519f4c49d4 100644 --- a/service/rds/api_client.go +++ b/service/rds/api_client.go @@ -765,37 +765,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/rds/api_op_AddRoleToDBCluster.go b/service/rds/api_op_AddRoleToDBCluster.go index c67dc682c41..a2cfcdd8be4 100644 --- a/service/rds/api_op_AddRoleToDBCluster.go +++ b/service/rds/api_op_AddRoleToDBCluster.go @@ -117,9 +117,6 @@ func (c *Client) addOperationAddRoleToDBClusterMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddRoleToDBClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_AddRoleToDBInstance.go b/service/rds/api_op_AddRoleToDBInstance.go index 0855861e9fb..b8b201feef0 100644 --- a/service/rds/api_op_AddRoleToDBInstance.go +++ b/service/rds/api_op_AddRoleToDBInstance.go @@ -124,9 +124,6 @@ func (c *Client) addOperationAddRoleToDBInstanceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddRoleToDBInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_AddSourceIdentifierToSubscription.go b/service/rds/api_op_AddSourceIdentifierToSubscription.go index b7391464e78..62f02d0370a 100644 --- a/service/rds/api_op_AddSourceIdentifierToSubscription.go +++ b/service/rds/api_op_AddSourceIdentifierToSubscription.go @@ -141,9 +141,6 @@ func (c *Client) addOperationAddSourceIdentifierToSubscriptionMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddSourceIdentifierToSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_AddTagsToResource.go b/service/rds/api_op_AddTagsToResource.go index abeebc31dbe..7babb64cf70 100644 --- a/service/rds/api_op_AddTagsToResource.go +++ b/service/rds/api_op_AddTagsToResource.go @@ -123,9 +123,6 @@ func (c *Client) addOperationAddTagsToResourceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddTagsToResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ApplyPendingMaintenanceAction.go b/service/rds/api_op_ApplyPendingMaintenanceAction.go index c25a2417301..a8410f476ca 100644 --- a/service/rds/api_op_ApplyPendingMaintenanceAction.go +++ b/service/rds/api_op_ApplyPendingMaintenanceAction.go @@ -153,9 +153,6 @@ func (c *Client) addOperationApplyPendingMaintenanceActionMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpApplyPendingMaintenanceActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_AuthorizeDBSecurityGroupIngress.go b/service/rds/api_op_AuthorizeDBSecurityGroupIngress.go index 934987da7a5..9f744777921 100644 --- a/service/rds/api_op_AuthorizeDBSecurityGroupIngress.go +++ b/service/rds/api_op_AuthorizeDBSecurityGroupIngress.go @@ -158,9 +158,6 @@ func (c *Client) addOperationAuthorizeDBSecurityGroupIngressMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAuthorizeDBSecurityGroupIngressValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_BacktrackDBCluster.go b/service/rds/api_op_BacktrackDBCluster.go index cea7ba4efb3..4d8a095ba2e 100644 --- a/service/rds/api_op_BacktrackDBCluster.go +++ b/service/rds/api_op_BacktrackDBCluster.go @@ -188,9 +188,6 @@ func (c *Client) addOperationBacktrackDBClusterMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBacktrackDBClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CancelExportTask.go b/service/rds/api_op_CancelExportTask.go index b10eb009818..a485e62b588 100644 --- a/service/rds/api_op_CancelExportTask.go +++ b/service/rds/api_op_CancelExportTask.go @@ -194,9 +194,6 @@ func (c *Client) addOperationCancelExportTaskMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelExportTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CopyDBClusterParameterGroup.go b/service/rds/api_op_CopyDBClusterParameterGroup.go index 54e70e560b5..3c3dd7d22f1 100644 --- a/service/rds/api_op_CopyDBClusterParameterGroup.go +++ b/service/rds/api_op_CopyDBClusterParameterGroup.go @@ -158,9 +158,6 @@ func (c *Client) addOperationCopyDBClusterParameterGroupMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCopyDBClusterParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CopyDBClusterSnapshot.go b/service/rds/api_op_CopyDBClusterSnapshot.go index 9cb08ed42d5..e14da5a37e9 100644 --- a/service/rds/api_op_CopyDBClusterSnapshot.go +++ b/service/rds/api_op_CopyDBClusterSnapshot.go @@ -285,9 +285,6 @@ func (c *Client) addOperationCopyDBClusterSnapshotMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCopyDBClusterSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CopyDBParameterGroup.go b/service/rds/api_op_CopyDBParameterGroup.go index 6304475f317..456b106b758 100644 --- a/service/rds/api_op_CopyDBParameterGroup.go +++ b/service/rds/api_op_CopyDBParameterGroup.go @@ -157,9 +157,6 @@ func (c *Client) addOperationCopyDBParameterGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCopyDBParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CopyDBSnapshot.go b/service/rds/api_op_CopyDBSnapshot.go index d7c32493985..09ae2db26d2 100644 --- a/service/rds/api_op_CopyDBSnapshot.go +++ b/service/rds/api_op_CopyDBSnapshot.go @@ -291,9 +291,6 @@ func (c *Client) addOperationCopyDBSnapshotMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCopyDBSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CopyOptionGroup.go b/service/rds/api_op_CopyOptionGroup.go index cd783df92b3..b7845d41082 100644 --- a/service/rds/api_op_CopyOptionGroup.go +++ b/service/rds/api_op_CopyOptionGroup.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCopyOptionGroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCopyOptionGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateBlueGreenDeployment.go b/service/rds/api_op_CreateBlueGreenDeployment.go index dd583bd42a1..8b8c80515d2 100644 --- a/service/rds/api_op_CreateBlueGreenDeployment.go +++ b/service/rds/api_op_CreateBlueGreenDeployment.go @@ -218,9 +218,6 @@ func (c *Client) addOperationCreateBlueGreenDeploymentMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBlueGreenDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateCustomDBEngineVersion.go b/service/rds/api_op_CreateCustomDBEngineVersion.go index a85c5510761..48745a668a0 100644 --- a/service/rds/api_op_CreateCustomDBEngineVersion.go +++ b/service/rds/api_op_CreateCustomDBEngineVersion.go @@ -364,9 +364,6 @@ func (c *Client) addOperationCreateCustomDBEngineVersionMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCustomDBEngineVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateDBCluster.go b/service/rds/api_op_CreateDBCluster.go index f1d1c3ac466..99de612ff81 100644 --- a/service/rds/api_op_CreateDBCluster.go +++ b/service/rds/api_op_CreateDBCluster.go @@ -943,9 +943,6 @@ func (c *Client) addOperationCreateDBClusterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDBClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateDBClusterEndpoint.go b/service/rds/api_op_CreateDBClusterEndpoint.go index c5a1c81bf2a..e67221b6066 100644 --- a/service/rds/api_op_CreateDBClusterEndpoint.go +++ b/service/rds/api_op_CreateDBClusterEndpoint.go @@ -187,9 +187,6 @@ func (c *Client) addOperationCreateDBClusterEndpointMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDBClusterEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateDBClusterParameterGroup.go b/service/rds/api_op_CreateDBClusterParameterGroup.go index 7c4eabbc56e..0b5f7f8f4a5 100644 --- a/service/rds/api_op_CreateDBClusterParameterGroup.go +++ b/service/rds/api_op_CreateDBClusterParameterGroup.go @@ -213,9 +213,6 @@ func (c *Client) addOperationCreateDBClusterParameterGroupMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDBClusterParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateDBClusterSnapshot.go b/service/rds/api_op_CreateDBClusterSnapshot.go index 3929a786070..b477d203124 100644 --- a/service/rds/api_op_CreateDBClusterSnapshot.go +++ b/service/rds/api_op_CreateDBClusterSnapshot.go @@ -148,9 +148,6 @@ func (c *Client) addOperationCreateDBClusterSnapshotMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDBClusterSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateDBInstance.go b/service/rds/api_op_CreateDBInstance.go index dded4476bc3..b9421d749fb 100644 --- a/service/rds/api_op_CreateDBInstance.go +++ b/service/rds/api_op_CreateDBInstance.go @@ -1236,9 +1236,6 @@ func (c *Client) addOperationCreateDBInstanceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDBInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateDBInstanceReadReplica.go b/service/rds/api_op_CreateDBInstanceReadReplica.go index bf78ba027c4..d0b4b6a76d8 100644 --- a/service/rds/api_op_CreateDBInstanceReadReplica.go +++ b/service/rds/api_op_CreateDBInstanceReadReplica.go @@ -722,9 +722,6 @@ func (c *Client) addOperationCreateDBInstanceReadReplicaMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDBInstanceReadReplicaValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateDBParameterGroup.go b/service/rds/api_op_CreateDBParameterGroup.go index de3456a9b79..f0cac2bbdd1 100644 --- a/service/rds/api_op_CreateDBParameterGroup.go +++ b/service/rds/api_op_CreateDBParameterGroup.go @@ -196,9 +196,6 @@ func (c *Client) addOperationCreateDBParameterGroupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDBParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateDBProxy.go b/service/rds/api_op_CreateDBProxy.go index b3422bb93f6..36be8b63770 100644 --- a/service/rds/api_op_CreateDBProxy.go +++ b/service/rds/api_op_CreateDBProxy.go @@ -167,9 +167,6 @@ func (c *Client) addOperationCreateDBProxyMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDBProxyValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateDBProxyEndpoint.go b/service/rds/api_op_CreateDBProxyEndpoint.go index 09f4f0130cb..58faa547ae4 100644 --- a/service/rds/api_op_CreateDBProxyEndpoint.go +++ b/service/rds/api_op_CreateDBProxyEndpoint.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCreateDBProxyEndpointMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDBProxyEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateDBSecurityGroup.go b/service/rds/api_op_CreateDBSecurityGroup.go index 476952fc5f3..a09cc5e3231 100644 --- a/service/rds/api_op_CreateDBSecurityGroup.go +++ b/service/rds/api_op_CreateDBSecurityGroup.go @@ -148,9 +148,6 @@ func (c *Client) addOperationCreateDBSecurityGroupMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDBSecurityGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateDBShardGroup.go b/service/rds/api_op_CreateDBShardGroup.go index 028f822a251..6b461803452 100644 --- a/service/rds/api_op_CreateDBShardGroup.go +++ b/service/rds/api_op_CreateDBShardGroup.go @@ -246,9 +246,6 @@ func (c *Client) addOperationCreateDBShardGroupMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDBShardGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateDBSnapshot.go b/service/rds/api_op_CreateDBSnapshot.go index 515238d90d3..b5e387c97d5 100644 --- a/service/rds/api_op_CreateDBSnapshot.go +++ b/service/rds/api_op_CreateDBSnapshot.go @@ -145,9 +145,6 @@ func (c *Client) addOperationCreateDBSnapshotMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDBSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateDBSubnetGroup.go b/service/rds/api_op_CreateDBSubnetGroup.go index 1977c8e2f0f..615ef65b6c3 100644 --- a/service/rds/api_op_CreateDBSubnetGroup.go +++ b/service/rds/api_op_CreateDBSubnetGroup.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreateDBSubnetGroupMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDBSubnetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateEventSubscription.go b/service/rds/api_op_CreateEventSubscription.go index 3c3ee671302..0b9a7e64430 100644 --- a/service/rds/api_op_CreateEventSubscription.go +++ b/service/rds/api_op_CreateEventSubscription.go @@ -214,9 +214,6 @@ func (c *Client) addOperationCreateEventSubscriptionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEventSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateGlobalCluster.go b/service/rds/api_op_CreateGlobalCluster.go index e45908220ae..924f2002c0b 100644 --- a/service/rds/api_op_CreateGlobalCluster.go +++ b/service/rds/api_op_CreateGlobalCluster.go @@ -207,9 +207,6 @@ func (c *Client) addOperationCreateGlobalClusterMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGlobalCluster(options.Region), middleware.Before); err != nil { return err } diff --git a/service/rds/api_op_CreateIntegration.go b/service/rds/api_op_CreateIntegration.go index 7db6ad6fe12..69cb523f5e3 100644 --- a/service/rds/api_op_CreateIntegration.go +++ b/service/rds/api_op_CreateIntegration.go @@ -202,9 +202,6 @@ func (c *Client) addOperationCreateIntegrationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateIntegrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateOptionGroup.go b/service/rds/api_op_CreateOptionGroup.go index 8d0c53b980b..890e4db2833 100644 --- a/service/rds/api_op_CreateOptionGroup.go +++ b/service/rds/api_op_CreateOptionGroup.go @@ -171,9 +171,6 @@ func (c *Client) addOperationCreateOptionGroupMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateOptionGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_CreateTenantDatabase.go b/service/rds/api_op_CreateTenantDatabase.go index f059ab31124..74e70801a93 100644 --- a/service/rds/api_op_CreateTenantDatabase.go +++ b/service/rds/api_op_CreateTenantDatabase.go @@ -166,9 +166,6 @@ func (c *Client) addOperationCreateTenantDatabaseMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTenantDatabaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteBlueGreenDeployment.go b/service/rds/api_op_DeleteBlueGreenDeployment.go index 65888efaabf..aaff5528fb0 100644 --- a/service/rds/api_op_DeleteBlueGreenDeployment.go +++ b/service/rds/api_op_DeleteBlueGreenDeployment.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDeleteBlueGreenDeploymentMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBlueGreenDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteCustomDBEngineVersion.go b/service/rds/api_op_DeleteCustomDBEngineVersion.go index c5381bc2f5d..d2184399aa5 100644 --- a/service/rds/api_op_DeleteCustomDBEngineVersion.go +++ b/service/rds/api_op_DeleteCustomDBEngineVersion.go @@ -306,9 +306,6 @@ func (c *Client) addOperationDeleteCustomDBEngineVersionMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCustomDBEngineVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteDBCluster.go b/service/rds/api_op_DeleteDBCluster.go index 9ce13cd3d5c..822e90646b2 100644 --- a/service/rds/api_op_DeleteDBCluster.go +++ b/service/rds/api_op_DeleteDBCluster.go @@ -181,9 +181,6 @@ func (c *Client) addOperationDeleteDBClusterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDBClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteDBClusterAutomatedBackup.go b/service/rds/api_op_DeleteDBClusterAutomatedBackup.go index ae719298202..a20a778e342 100644 --- a/service/rds/api_op_DeleteDBClusterAutomatedBackup.go +++ b/service/rds/api_op_DeleteDBClusterAutomatedBackup.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteDBClusterAutomatedBackupMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDBClusterAutomatedBackupValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteDBClusterEndpoint.go b/service/rds/api_op_DeleteDBClusterEndpoint.go index c52709c8038..56079aaf3ea 100644 --- a/service/rds/api_op_DeleteDBClusterEndpoint.go +++ b/service/rds/api_op_DeleteDBClusterEndpoint.go @@ -163,9 +163,6 @@ func (c *Client) addOperationDeleteDBClusterEndpointMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDBClusterEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteDBClusterParameterGroup.go b/service/rds/api_op_DeleteDBClusterParameterGroup.go index 36c4a4cdc12..6be02e6939e 100644 --- a/service/rds/api_op_DeleteDBClusterParameterGroup.go +++ b/service/rds/api_op_DeleteDBClusterParameterGroup.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteDBClusterParameterGroupMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDBClusterParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteDBClusterSnapshot.go b/service/rds/api_op_DeleteDBClusterSnapshot.go index b5ca6d10f4b..3f7fde12002 100644 --- a/service/rds/api_op_DeleteDBClusterSnapshot.go +++ b/service/rds/api_op_DeleteDBClusterSnapshot.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteDBClusterSnapshotMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDBClusterSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteDBInstance.go b/service/rds/api_op_DeleteDBInstance.go index ea56626b1cb..e268637877d 100644 --- a/service/rds/api_op_DeleteDBInstance.go +++ b/service/rds/api_op_DeleteDBInstance.go @@ -194,9 +194,6 @@ func (c *Client) addOperationDeleteDBInstanceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDBInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteDBInstanceAutomatedBackup.go b/service/rds/api_op_DeleteDBInstanceAutomatedBackup.go index f72e345d74b..26071a417f8 100644 --- a/service/rds/api_op_DeleteDBInstanceAutomatedBackup.go +++ b/service/rds/api_op_DeleteDBInstanceAutomatedBackup.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteDBInstanceAutomatedBackupMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDBInstanceAutomatedBackup(options.Region), middleware.Before); err != nil { return err } diff --git a/service/rds/api_op_DeleteDBParameterGroup.go b/service/rds/api_op_DeleteDBParameterGroup.go index cb49de58526..b5330fba5c7 100644 --- a/service/rds/api_op_DeleteDBParameterGroup.go +++ b/service/rds/api_op_DeleteDBParameterGroup.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteDBParameterGroupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDBParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteDBProxy.go b/service/rds/api_op_DeleteDBProxy.go index b7358800fc6..28d09303a24 100644 --- a/service/rds/api_op_DeleteDBProxy.go +++ b/service/rds/api_op_DeleteDBProxy.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteDBProxyMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDBProxyValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteDBProxyEndpoint.go b/service/rds/api_op_DeleteDBProxyEndpoint.go index e31f9e58b2e..04ef02e3252 100644 --- a/service/rds/api_op_DeleteDBProxyEndpoint.go +++ b/service/rds/api_op_DeleteDBProxyEndpoint.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteDBProxyEndpointMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDBProxyEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteDBSecurityGroup.go b/service/rds/api_op_DeleteDBSecurityGroup.go index 934c6c9ab26..03c119cb746 100644 --- a/service/rds/api_op_DeleteDBSecurityGroup.go +++ b/service/rds/api_op_DeleteDBSecurityGroup.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDeleteDBSecurityGroupMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDBSecurityGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteDBShardGroup.go b/service/rds/api_op_DeleteDBShardGroup.go index f5b6f76b5b1..7ecab9123fe 100644 --- a/service/rds/api_op_DeleteDBShardGroup.go +++ b/service/rds/api_op_DeleteDBShardGroup.go @@ -174,9 +174,6 @@ func (c *Client) addOperationDeleteDBShardGroupMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDBShardGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteDBSnapshot.go b/service/rds/api_op_DeleteDBSnapshot.go index 612b597a38f..9a9579217d1 100644 --- a/service/rds/api_op_DeleteDBSnapshot.go +++ b/service/rds/api_op_DeleteDBSnapshot.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteDBSnapshotMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDBSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteDBSubnetGroup.go b/service/rds/api_op_DeleteDBSubnetGroup.go index e9e03cced3d..9b07cc06d2c 100644 --- a/service/rds/api_op_DeleteDBSubnetGroup.go +++ b/service/rds/api_op_DeleteDBSubnetGroup.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteDBSubnetGroupMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDBSubnetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteEventSubscription.go b/service/rds/api_op_DeleteEventSubscription.go index 8475308fb13..f29bad65843 100644 --- a/service/rds/api_op_DeleteEventSubscription.go +++ b/service/rds/api_op_DeleteEventSubscription.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteEventSubscriptionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEventSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteGlobalCluster.go b/service/rds/api_op_DeleteGlobalCluster.go index 26328c60647..b8914232dbd 100644 --- a/service/rds/api_op_DeleteGlobalCluster.go +++ b/service/rds/api_op_DeleteGlobalCluster.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteGlobalClusterMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGlobalClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteIntegration.go b/service/rds/api_op_DeleteIntegration.go index 3a553ee083b..6c618d17d72 100644 --- a/service/rds/api_op_DeleteIntegration.go +++ b/service/rds/api_op_DeleteIntegration.go @@ -159,9 +159,6 @@ func (c *Client) addOperationDeleteIntegrationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIntegrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteOptionGroup.go b/service/rds/api_op_DeleteOptionGroup.go index 4e912e18017..68718400502 100644 --- a/service/rds/api_op_DeleteOptionGroup.go +++ b/service/rds/api_op_DeleteOptionGroup.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteOptionGroupMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteOptionGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeleteTenantDatabase.go b/service/rds/api_op_DeleteTenantDatabase.go index dd37219547b..2d31839fd81 100644 --- a/service/rds/api_op_DeleteTenantDatabase.go +++ b/service/rds/api_op_DeleteTenantDatabase.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDeleteTenantDatabaseMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTenantDatabaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DeregisterDBProxyTargets.go b/service/rds/api_op_DeregisterDBProxyTargets.go index ad74aeb1910..34f688c7751 100644 --- a/service/rds/api_op_DeregisterDBProxyTargets.go +++ b/service/rds/api_op_DeregisterDBProxyTargets.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeregisterDBProxyTargetsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterDBProxyTargetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeAccountAttributes.go b/service/rds/api_op_DescribeAccountAttributes.go index a02f88d708a..42f437a0c78 100644 --- a/service/rds/api_op_DescribeAccountAttributes.go +++ b/service/rds/api_op_DescribeAccountAttributes.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDescribeAccountAttributesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountAttributes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/rds/api_op_DescribeBlueGreenDeployments.go b/service/rds/api_op_DescribeBlueGreenDeployments.go index 002e16bf741..f427457c4bc 100644 --- a/service/rds/api_op_DescribeBlueGreenDeployments.go +++ b/service/rds/api_op_DescribeBlueGreenDeployments.go @@ -165,9 +165,6 @@ func (c *Client) addOperationDescribeBlueGreenDeploymentsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBlueGreenDeploymentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeCertificates.go b/service/rds/api_op_DescribeCertificates.go index 46d0da8c629..e0481321756 100644 --- a/service/rds/api_op_DescribeCertificates.go +++ b/service/rds/api_op_DescribeCertificates.go @@ -152,9 +152,6 @@ func (c *Client) addOperationDescribeCertificatesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCertificatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBClusterAutomatedBackups.go b/service/rds/api_op_DescribeDBClusterAutomatedBackups.go index e421b5d0872..80bb0e20a9d 100644 --- a/service/rds/api_op_DescribeDBClusterAutomatedBackups.go +++ b/service/rds/api_op_DescribeDBClusterAutomatedBackups.go @@ -158,9 +158,6 @@ func (c *Client) addOperationDescribeDBClusterAutomatedBackupsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBClusterAutomatedBackupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBClusterBacktracks.go b/service/rds/api_op_DescribeDBClusterBacktracks.go index 5bda5e19d26..f2ea96eeb46 100644 --- a/service/rds/api_op_DescribeDBClusterBacktracks.go +++ b/service/rds/api_op_DescribeDBClusterBacktracks.go @@ -183,9 +183,6 @@ func (c *Client) addOperationDescribeDBClusterBacktracksMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBClusterBacktracksValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBClusterEndpoints.go b/service/rds/api_op_DescribeDBClusterEndpoints.go index 4b6bcea7a16..ace8c36a94a 100644 --- a/service/rds/api_op_DescribeDBClusterEndpoints.go +++ b/service/rds/api_op_DescribeDBClusterEndpoints.go @@ -148,9 +148,6 @@ func (c *Client) addOperationDescribeDBClusterEndpointsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBClusterEndpointsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBClusterParameterGroups.go b/service/rds/api_op_DescribeDBClusterParameterGroups.go index 6a7cbd62bc2..ff532d78d37 100644 --- a/service/rds/api_op_DescribeDBClusterParameterGroups.go +++ b/service/rds/api_op_DescribeDBClusterParameterGroups.go @@ -147,9 +147,6 @@ func (c *Client) addOperationDescribeDBClusterParameterGroupsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBClusterParameterGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBClusterParameters.go b/service/rds/api_op_DescribeDBClusterParameters.go index fa0499ece03..2b67928f67f 100644 --- a/service/rds/api_op_DescribeDBClusterParameters.go +++ b/service/rds/api_op_DescribeDBClusterParameters.go @@ -162,9 +162,6 @@ func (c *Client) addOperationDescribeDBClusterParametersMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBClusterParametersValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBClusterSnapshotAttributes.go b/service/rds/api_op_DescribeDBClusterSnapshotAttributes.go index d236f3e7fab..b0128b834b7 100644 --- a/service/rds/api_op_DescribeDBClusterSnapshotAttributes.go +++ b/service/rds/api_op_DescribeDBClusterSnapshotAttributes.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeDBClusterSnapshotAttributesMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBClusterSnapshotAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBClusterSnapshots.go b/service/rds/api_op_DescribeDBClusterSnapshots.go index 770e3560f5c..82f3f517c7a 100644 --- a/service/rds/api_op_DescribeDBClusterSnapshots.go +++ b/service/rds/api_op_DescribeDBClusterSnapshots.go @@ -222,9 +222,6 @@ func (c *Client) addOperationDescribeDBClusterSnapshotsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBClusterSnapshotsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBClusters.go b/service/rds/api_op_DescribeDBClusters.go index 6096b21acfd..557f173e7ad 100644 --- a/service/rds/api_op_DescribeDBClusters.go +++ b/service/rds/api_op_DescribeDBClusters.go @@ -177,9 +177,6 @@ func (c *Client) addOperationDescribeDBClustersMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBClustersValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBEngineVersions.go b/service/rds/api_op_DescribeDBEngineVersions.go index 705cada113d..df25652dd38 100644 --- a/service/rds/api_op_DescribeDBEngineVersions.go +++ b/service/rds/api_op_DescribeDBEngineVersions.go @@ -248,9 +248,6 @@ func (c *Client) addOperationDescribeDBEngineVersionsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBEngineVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBInstanceAutomatedBackups.go b/service/rds/api_op_DescribeDBInstanceAutomatedBackups.go index 71d62c8dfcc..b6a2033ce41 100644 --- a/service/rds/api_op_DescribeDBInstanceAutomatedBackups.go +++ b/service/rds/api_op_DescribeDBInstanceAutomatedBackups.go @@ -174,9 +174,6 @@ func (c *Client) addOperationDescribeDBInstanceAutomatedBackupsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBInstanceAutomatedBackupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBInstances.go b/service/rds/api_op_DescribeDBInstances.go index bb5865989c9..546a349b931 100644 --- a/service/rds/api_op_DescribeDBInstances.go +++ b/service/rds/api_op_DescribeDBInstances.go @@ -169,9 +169,6 @@ func (c *Client) addOperationDescribeDBInstancesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBLogFiles.go b/service/rds/api_op_DescribeDBLogFiles.go index d6ba4380b0f..f2cfa0a5738 100644 --- a/service/rds/api_op_DescribeDBLogFiles.go +++ b/service/rds/api_op_DescribeDBLogFiles.go @@ -147,9 +147,6 @@ func (c *Client) addOperationDescribeDBLogFilesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBLogFilesValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBParameterGroups.go b/service/rds/api_op_DescribeDBParameterGroups.go index 6dfb9c64201..a6a908b8f8e 100644 --- a/service/rds/api_op_DescribeDBParameterGroups.go +++ b/service/rds/api_op_DescribeDBParameterGroups.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDescribeDBParameterGroupsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBParameterGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBParameters.go b/service/rds/api_op_DescribeDBParameters.go index 6c0c7b0be88..aa040233448 100644 --- a/service/rds/api_op_DescribeDBParameters.go +++ b/service/rds/api_op_DescribeDBParameters.go @@ -150,9 +150,6 @@ func (c *Client) addOperationDescribeDBParametersMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBParametersValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBProxies.go b/service/rds/api_op_DescribeDBProxies.go index c9da5d504c8..489ae6b1e2b 100644 --- a/service/rds/api_op_DescribeDBProxies.go +++ b/service/rds/api_op_DescribeDBProxies.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeDBProxiesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBProxiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBProxyEndpoints.go b/service/rds/api_op_DescribeDBProxyEndpoints.go index 82e9ae5651c..79c4f48236f 100644 --- a/service/rds/api_op_DescribeDBProxyEndpoints.go +++ b/service/rds/api_op_DescribeDBProxyEndpoints.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDescribeDBProxyEndpointsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBProxyEndpointsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBProxyTargetGroups.go b/service/rds/api_op_DescribeDBProxyTargetGroups.go index d60f8859c8b..39101524505 100644 --- a/service/rds/api_op_DescribeDBProxyTargetGroups.go +++ b/service/rds/api_op_DescribeDBProxyTargetGroups.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDescribeDBProxyTargetGroupsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBProxyTargetGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBProxyTargets.go b/service/rds/api_op_DescribeDBProxyTargets.go index 71103ffd4da..ea91f4c1bd2 100644 --- a/service/rds/api_op_DescribeDBProxyTargets.go +++ b/service/rds/api_op_DescribeDBProxyTargets.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDescribeDBProxyTargetsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBProxyTargetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBRecommendations.go b/service/rds/api_op_DescribeDBRecommendations.go index 24038cca9e7..56feee7b94a 100644 --- a/service/rds/api_op_DescribeDBRecommendations.go +++ b/service/rds/api_op_DescribeDBRecommendations.go @@ -219,9 +219,6 @@ func (c *Client) addOperationDescribeDBRecommendationsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBRecommendationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBSecurityGroups.go b/service/rds/api_op_DescribeDBSecurityGroups.go index a32b575fabd..df8d914576a 100644 --- a/service/rds/api_op_DescribeDBSecurityGroups.go +++ b/service/rds/api_op_DescribeDBSecurityGroups.go @@ -145,9 +145,6 @@ func (c *Client) addOperationDescribeDBSecurityGroupsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBSecurityGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBShardGroups.go b/service/rds/api_op_DescribeDBShardGroups.go index 5181367f666..a08f80aac17 100644 --- a/service/rds/api_op_DescribeDBShardGroups.go +++ b/service/rds/api_op_DescribeDBShardGroups.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribeDBShardGroupsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBShardGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBSnapshotAttributes.go b/service/rds/api_op_DescribeDBSnapshotAttributes.go index 7ad8932949c..ab5a4bf0d87 100644 --- a/service/rds/api_op_DescribeDBSnapshotAttributes.go +++ b/service/rds/api_op_DescribeDBSnapshotAttributes.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeDBSnapshotAttributesMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBSnapshotAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBSnapshotTenantDatabases.go b/service/rds/api_op_DescribeDBSnapshotTenantDatabases.go index 06a3be2633b..bc23bfc02d5 100644 --- a/service/rds/api_op_DescribeDBSnapshotTenantDatabases.go +++ b/service/rds/api_op_DescribeDBSnapshotTenantDatabases.go @@ -192,9 +192,6 @@ func (c *Client) addOperationDescribeDBSnapshotTenantDatabasesMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBSnapshotTenantDatabasesValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBSnapshots.go b/service/rds/api_op_DescribeDBSnapshots.go index 2924d4ff53c..27c48461b18 100644 --- a/service/rds/api_op_DescribeDBSnapshots.go +++ b/service/rds/api_op_DescribeDBSnapshots.go @@ -228,9 +228,6 @@ func (c *Client) addOperationDescribeDBSnapshotsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBSnapshotsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeDBSubnetGroups.go b/service/rds/api_op_DescribeDBSubnetGroups.go index a9e228cb97b..be07728161c 100644 --- a/service/rds/api_op_DescribeDBSubnetGroups.go +++ b/service/rds/api_op_DescribeDBSubnetGroups.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDescribeDBSubnetGroupsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDBSubnetGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeEngineDefaultClusterParameters.go b/service/rds/api_op_DescribeEngineDefaultClusterParameters.go index 10679fe87ec..79ab2e4f233 100644 --- a/service/rds/api_op_DescribeEngineDefaultClusterParameters.go +++ b/service/rds/api_op_DescribeEngineDefaultClusterParameters.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDescribeEngineDefaultClusterParametersMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEngineDefaultClusterParametersValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeEngineDefaultParameters.go b/service/rds/api_op_DescribeEngineDefaultParameters.go index d931e3080a8..2e28889f956 100644 --- a/service/rds/api_op_DescribeEngineDefaultParameters.go +++ b/service/rds/api_op_DescribeEngineDefaultParameters.go @@ -235,9 +235,6 @@ func (c *Client) addOperationDescribeEngineDefaultParametersMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEngineDefaultParametersValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeEventCategories.go b/service/rds/api_op_DescribeEventCategories.go index 33b31568dcb..c7e2bd2144d 100644 --- a/service/rds/api_op_DescribeEventCategories.go +++ b/service/rds/api_op_DescribeEventCategories.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeEventCategoriesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEventCategoriesValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeEventSubscriptions.go b/service/rds/api_op_DescribeEventSubscriptions.go index ddbbf90e1af..60972127b33 100644 --- a/service/rds/api_op_DescribeEventSubscriptions.go +++ b/service/rds/api_op_DescribeEventSubscriptions.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDescribeEventSubscriptionsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEventSubscriptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeEvents.go b/service/rds/api_op_DescribeEvents.go index 19f9d1777cf..9d3e1e9dad2 100644 --- a/service/rds/api_op_DescribeEvents.go +++ b/service/rds/api_op_DescribeEvents.go @@ -202,9 +202,6 @@ func (c *Client) addOperationDescribeEventsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeExportTasks.go b/service/rds/api_op_DescribeExportTasks.go index a32075c0a57..559c6f97d86 100644 --- a/service/rds/api_op_DescribeExportTasks.go +++ b/service/rds/api_op_DescribeExportTasks.go @@ -167,9 +167,6 @@ func (c *Client) addOperationDescribeExportTasksMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeExportTasksValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeGlobalClusters.go b/service/rds/api_op_DescribeGlobalClusters.go index 383baf18ec7..46aea090b77 100644 --- a/service/rds/api_op_DescribeGlobalClusters.go +++ b/service/rds/api_op_DescribeGlobalClusters.go @@ -151,9 +151,6 @@ func (c *Client) addOperationDescribeGlobalClustersMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeGlobalClustersValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeIntegrations.go b/service/rds/api_op_DescribeIntegrations.go index 86303bd4cc8..eeb4d498d78 100644 --- a/service/rds/api_op_DescribeIntegrations.go +++ b/service/rds/api_op_DescribeIntegrations.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeIntegrationsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeIntegrationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeOptionGroupOptions.go b/service/rds/api_op_DescribeOptionGroupOptions.go index 87575ab4d8a..290a6d63e01 100644 --- a/service/rds/api_op_DescribeOptionGroupOptions.go +++ b/service/rds/api_op_DescribeOptionGroupOptions.go @@ -166,9 +166,6 @@ func (c *Client) addOperationDescribeOptionGroupOptionsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeOptionGroupOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeOptionGroups.go b/service/rds/api_op_DescribeOptionGroups.go index 4dd66f9e7a6..b9886bac7a1 100644 --- a/service/rds/api_op_DescribeOptionGroups.go +++ b/service/rds/api_op_DescribeOptionGroups.go @@ -170,9 +170,6 @@ func (c *Client) addOperationDescribeOptionGroupsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeOptionGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeOrderableDBInstanceOptions.go b/service/rds/api_op_DescribeOrderableDBInstanceOptions.go index c76f447c05c..2df96a9ec52 100644 --- a/service/rds/api_op_DescribeOrderableDBInstanceOptions.go +++ b/service/rds/api_op_DescribeOrderableDBInstanceOptions.go @@ -206,9 +206,6 @@ func (c *Client) addOperationDescribeOrderableDBInstanceOptionsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeOrderableDBInstanceOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribePendingMaintenanceActions.go b/service/rds/api_op_DescribePendingMaintenanceActions.go index cfd68b844a5..e9d74f63da6 100644 --- a/service/rds/api_op_DescribePendingMaintenanceActions.go +++ b/service/rds/api_op_DescribePendingMaintenanceActions.go @@ -153,9 +153,6 @@ func (c *Client) addOperationDescribePendingMaintenanceActionsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePendingMaintenanceActionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeReservedDBInstances.go b/service/rds/api_op_DescribeReservedDBInstances.go index 4ce23e887d4..a3930be34a9 100644 --- a/service/rds/api_op_DescribeReservedDBInstances.go +++ b/service/rds/api_op_DescribeReservedDBInstances.go @@ -170,9 +170,6 @@ func (c *Client) addOperationDescribeReservedDBInstancesMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeReservedDBInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeReservedDBInstancesOfferings.go b/service/rds/api_op_DescribeReservedDBInstancesOfferings.go index 90cd3375af6..36ba3bade01 100644 --- a/service/rds/api_op_DescribeReservedDBInstancesOfferings.go +++ b/service/rds/api_op_DescribeReservedDBInstancesOfferings.go @@ -162,9 +162,6 @@ func (c *Client) addOperationDescribeReservedDBInstancesOfferingsMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeReservedDBInstancesOfferingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeSourceRegions.go b/service/rds/api_op_DescribeSourceRegions.go index d84886f84d2..6eda75e59a8 100644 --- a/service/rds/api_op_DescribeSourceRegions.go +++ b/service/rds/api_op_DescribeSourceRegions.go @@ -152,9 +152,6 @@ func (c *Client) addOperationDescribeSourceRegionsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSourceRegionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeTenantDatabases.go b/service/rds/api_op_DescribeTenantDatabases.go index 1e8f7001ffc..22ea4a631aa 100644 --- a/service/rds/api_op_DescribeTenantDatabases.go +++ b/service/rds/api_op_DescribeTenantDatabases.go @@ -153,9 +153,6 @@ func (c *Client) addOperationDescribeTenantDatabasesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTenantDatabasesValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DescribeValidDBInstanceModifications.go b/service/rds/api_op_DescribeValidDBInstanceModifications.go index 222b23bfef4..4cd793db064 100644 --- a/service/rds/api_op_DescribeValidDBInstanceModifications.go +++ b/service/rds/api_op_DescribeValidDBInstanceModifications.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeValidDBInstanceModificationsMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeValidDBInstanceModificationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DisableHttpEndpoint.go b/service/rds/api_op_DisableHttpEndpoint.go index e692408eed7..cb5fe19e974 100644 --- a/service/rds/api_op_DisableHttpEndpoint.go +++ b/service/rds/api_op_DisableHttpEndpoint.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDisableHttpEndpointMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableHttpEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_DownloadDBLogFilePortion.go b/service/rds/api_op_DownloadDBLogFilePortion.go index 5efcc6cce94..9bde86c1a71 100644 --- a/service/rds/api_op_DownloadDBLogFilePortion.go +++ b/service/rds/api_op_DownloadDBLogFilePortion.go @@ -159,9 +159,6 @@ func (c *Client) addOperationDownloadDBLogFilePortionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDownloadDBLogFilePortionValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_EnableHttpEndpoint.go b/service/rds/api_op_EnableHttpEndpoint.go index c4a4ec78926..a9c67469251 100644 --- a/service/rds/api_op_EnableHttpEndpoint.go +++ b/service/rds/api_op_EnableHttpEndpoint.go @@ -127,9 +127,6 @@ func (c *Client) addOperationEnableHttpEndpointMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableHttpEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_FailoverDBCluster.go b/service/rds/api_op_FailoverDBCluster.go index fab6e0be1fd..148533d9eee 100644 --- a/service/rds/api_op_FailoverDBCluster.go +++ b/service/rds/api_op_FailoverDBCluster.go @@ -173,9 +173,6 @@ func (c *Client) addOperationFailoverDBClusterMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpFailoverDBClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_FailoverGlobalCluster.go b/service/rds/api_op_FailoverGlobalCluster.go index 63051cc8c58..de7ac2aebb7 100644 --- a/service/rds/api_op_FailoverGlobalCluster.go +++ b/service/rds/api_op_FailoverGlobalCluster.go @@ -189,9 +189,6 @@ func (c *Client) addOperationFailoverGlobalClusterMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpFailoverGlobalClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ListTagsForResource.go b/service/rds/api_op_ListTagsForResource.go index 1630f33ccc8..f6dafd92f93 100644 --- a/service/rds/api_op_ListTagsForResource.go +++ b/service/rds/api_op_ListTagsForResource.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyActivityStream.go b/service/rds/api_op_ModifyActivityStream.go index 968a4e82e8f..7cf5d4222de 100644 --- a/service/rds/api_op_ModifyActivityStream.go +++ b/service/rds/api_op_ModifyActivityStream.go @@ -144,9 +144,6 @@ func (c *Client) addOperationModifyActivityStreamMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyActivityStream(options.Region), middleware.Before); err != nil { return err } diff --git a/service/rds/api_op_ModifyCertificates.go b/service/rds/api_op_ModifyCertificates.go index 7128652fdf2..a59c3beda16 100644 --- a/service/rds/api_op_ModifyCertificates.go +++ b/service/rds/api_op_ModifyCertificates.go @@ -149,9 +149,6 @@ func (c *Client) addOperationModifyCertificatesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyCertificates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/rds/api_op_ModifyCurrentDBClusterCapacity.go b/service/rds/api_op_ModifyCurrentDBClusterCapacity.go index 74fbcc58e03..a6e848abaf1 100644 --- a/service/rds/api_op_ModifyCurrentDBClusterCapacity.go +++ b/service/rds/api_op_ModifyCurrentDBClusterCapacity.go @@ -183,9 +183,6 @@ func (c *Client) addOperationModifyCurrentDBClusterCapacityMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyCurrentDBClusterCapacityValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyCustomDBEngineVersion.go b/service/rds/api_op_ModifyCustomDBEngineVersion.go index 3e8c2b4f8e6..1d8aa01cd2e 100644 --- a/service/rds/api_op_ModifyCustomDBEngineVersion.go +++ b/service/rds/api_op_ModifyCustomDBEngineVersion.go @@ -317,9 +317,6 @@ func (c *Client) addOperationModifyCustomDBEngineVersionMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyCustomDBEngineVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyDBCluster.go b/service/rds/api_op_ModifyDBCluster.go index 6d3d3d89fc8..f72478dadb6 100644 --- a/service/rds/api_op_ModifyDBCluster.go +++ b/service/rds/api_op_ModifyDBCluster.go @@ -750,9 +750,6 @@ func (c *Client) addOperationModifyDBClusterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyDBClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyDBClusterEndpoint.go b/service/rds/api_op_ModifyDBClusterEndpoint.go index 687315e52ab..df8d4fea7bf 100644 --- a/service/rds/api_op_ModifyDBClusterEndpoint.go +++ b/service/rds/api_op_ModifyDBClusterEndpoint.go @@ -174,9 +174,6 @@ func (c *Client) addOperationModifyDBClusterEndpointMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyDBClusterEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyDBClusterParameterGroup.go b/service/rds/api_op_ModifyDBClusterParameterGroup.go index c28e8f903ee..acdf3557778 100644 --- a/service/rds/api_op_ModifyDBClusterParameterGroup.go +++ b/service/rds/api_op_ModifyDBClusterParameterGroup.go @@ -167,9 +167,6 @@ func (c *Client) addOperationModifyDBClusterParameterGroupMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyDBClusterParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyDBClusterSnapshotAttribute.go b/service/rds/api_op_ModifyDBClusterSnapshotAttribute.go index b7b37c34951..c2370992d66 100644 --- a/service/rds/api_op_ModifyDBClusterSnapshotAttribute.go +++ b/service/rds/api_op_ModifyDBClusterSnapshotAttribute.go @@ -172,9 +172,6 @@ func (c *Client) addOperationModifyDBClusterSnapshotAttributeMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyDBClusterSnapshotAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyDBInstance.go b/service/rds/api_op_ModifyDBInstance.go index 23b9c870c53..0d780f14702 100644 --- a/service/rds/api_op_ModifyDBInstance.go +++ b/service/rds/api_op_ModifyDBInstance.go @@ -1082,9 +1082,6 @@ func (c *Client) addOperationModifyDBInstanceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyDBInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyDBParameterGroup.go b/service/rds/api_op_ModifyDBParameterGroup.go index 397b4af37ed..4726164495c 100644 --- a/service/rds/api_op_ModifyDBParameterGroup.go +++ b/service/rds/api_op_ModifyDBParameterGroup.go @@ -160,9 +160,6 @@ func (c *Client) addOperationModifyDBParameterGroupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyDBParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyDBProxy.go b/service/rds/api_op_ModifyDBProxy.go index f8dae2483c6..59e28adca75 100644 --- a/service/rds/api_op_ModifyDBProxy.go +++ b/service/rds/api_op_ModifyDBProxy.go @@ -146,9 +146,6 @@ func (c *Client) addOperationModifyDBProxyMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyDBProxyValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyDBProxyEndpoint.go b/service/rds/api_op_ModifyDBProxyEndpoint.go index ffedb2febe1..da4bad5fed1 100644 --- a/service/rds/api_op_ModifyDBProxyEndpoint.go +++ b/service/rds/api_op_ModifyDBProxyEndpoint.go @@ -124,9 +124,6 @@ func (c *Client) addOperationModifyDBProxyEndpointMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyDBProxyEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyDBProxyTargetGroup.go b/service/rds/api_op_ModifyDBProxyTargetGroup.go index 01a8d816ec0..11d78fab9e2 100644 --- a/service/rds/api_op_ModifyDBProxyTargetGroup.go +++ b/service/rds/api_op_ModifyDBProxyTargetGroup.go @@ -128,9 +128,6 @@ func (c *Client) addOperationModifyDBProxyTargetGroupMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyDBProxyTargetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyDBRecommendation.go b/service/rds/api_op_ModifyDBRecommendation.go index cefc999d951..9d8174f728b 100644 --- a/service/rds/api_op_ModifyDBRecommendation.go +++ b/service/rds/api_op_ModifyDBRecommendation.go @@ -129,9 +129,6 @@ func (c *Client) addOperationModifyDBRecommendationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyDBRecommendationValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyDBShardGroup.go b/service/rds/api_op_ModifyDBShardGroup.go index 5eb9adad784..9656182daa3 100644 --- a/service/rds/api_op_ModifyDBShardGroup.go +++ b/service/rds/api_op_ModifyDBShardGroup.go @@ -195,9 +195,6 @@ func (c *Client) addOperationModifyDBShardGroupMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyDBShardGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyDBSnapshot.go b/service/rds/api_op_ModifyDBSnapshot.go index 345b42413dd..51549ca4d4f 100644 --- a/service/rds/api_op_ModifyDBSnapshot.go +++ b/service/rds/api_op_ModifyDBSnapshot.go @@ -158,9 +158,6 @@ func (c *Client) addOperationModifyDBSnapshotMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyDBSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyDBSnapshotAttribute.go b/service/rds/api_op_ModifyDBSnapshotAttribute.go index 3da96b331bd..adca5633cb2 100644 --- a/service/rds/api_op_ModifyDBSnapshotAttribute.go +++ b/service/rds/api_op_ModifyDBSnapshotAttribute.go @@ -168,9 +168,6 @@ func (c *Client) addOperationModifyDBSnapshotAttributeMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyDBSnapshotAttributeValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyDBSubnetGroup.go b/service/rds/api_op_ModifyDBSubnetGroup.go index 5c53357d3ae..4af3706f3e7 100644 --- a/service/rds/api_op_ModifyDBSubnetGroup.go +++ b/service/rds/api_op_ModifyDBSubnetGroup.go @@ -130,9 +130,6 @@ func (c *Client) addOperationModifyDBSubnetGroupMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyDBSubnetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyEventSubscription.go b/service/rds/api_op_ModifyEventSubscription.go index e845daed848..e23d29ef663 100644 --- a/service/rds/api_op_ModifyEventSubscription.go +++ b/service/rds/api_op_ModifyEventSubscription.go @@ -146,9 +146,6 @@ func (c *Client) addOperationModifyEventSubscriptionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyEventSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyGlobalCluster.go b/service/rds/api_op_ModifyGlobalCluster.go index 0ac57ef55b8..2943a020ae1 100644 --- a/service/rds/api_op_ModifyGlobalCluster.go +++ b/service/rds/api_op_ModifyGlobalCluster.go @@ -167,9 +167,6 @@ func (c *Client) addOperationModifyGlobalClusterMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyGlobalCluster(options.Region), middleware.Before); err != nil { return err } diff --git a/service/rds/api_op_ModifyIntegration.go b/service/rds/api_op_ModifyIntegration.go index 766f775c0d8..62dba7ca097 100644 --- a/service/rds/api_op_ModifyIntegration.go +++ b/service/rds/api_op_ModifyIntegration.go @@ -171,9 +171,6 @@ func (c *Client) addOperationModifyIntegrationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyIntegrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyOptionGroup.go b/service/rds/api_op_ModifyOptionGroup.go index 026ee62dc13..4d04d6751dd 100644 --- a/service/rds/api_op_ModifyOptionGroup.go +++ b/service/rds/api_op_ModifyOptionGroup.go @@ -127,9 +127,6 @@ func (c *Client) addOperationModifyOptionGroupMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyOptionGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ModifyTenantDatabase.go b/service/rds/api_op_ModifyTenantDatabase.go index 06d55a0e32e..69d61976745 100644 --- a/service/rds/api_op_ModifyTenantDatabase.go +++ b/service/rds/api_op_ModifyTenantDatabase.go @@ -157,9 +157,6 @@ func (c *Client) addOperationModifyTenantDatabaseMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyTenantDatabaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_PromoteReadReplica.go b/service/rds/api_op_PromoteReadReplica.go index b307b2903c4..be3698933aa 100644 --- a/service/rds/api_op_PromoteReadReplica.go +++ b/service/rds/api_op_PromoteReadReplica.go @@ -168,9 +168,6 @@ func (c *Client) addOperationPromoteReadReplicaMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPromoteReadReplicaValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_PromoteReadReplicaDBCluster.go b/service/rds/api_op_PromoteReadReplicaDBCluster.go index 6f5a3e81fde..1971d7ef592 100644 --- a/service/rds/api_op_PromoteReadReplicaDBCluster.go +++ b/service/rds/api_op_PromoteReadReplicaDBCluster.go @@ -139,9 +139,6 @@ func (c *Client) addOperationPromoteReadReplicaDBClusterMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPromoteReadReplicaDBClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_PurchaseReservedDBInstancesOffering.go b/service/rds/api_op_PurchaseReservedDBInstancesOffering.go index a4303cc3de5..2491fa54b66 100644 --- a/service/rds/api_op_PurchaseReservedDBInstancesOffering.go +++ b/service/rds/api_op_PurchaseReservedDBInstancesOffering.go @@ -134,9 +134,6 @@ func (c *Client) addOperationPurchaseReservedDBInstancesOfferingMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPurchaseReservedDBInstancesOfferingValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_RebootDBCluster.go b/service/rds/api_op_RebootDBCluster.go index d6cfd525241..3793ee7155e 100644 --- a/service/rds/api_op_RebootDBCluster.go +++ b/service/rds/api_op_RebootDBCluster.go @@ -150,9 +150,6 @@ func (c *Client) addOperationRebootDBClusterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRebootDBClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_RebootDBInstance.go b/service/rds/api_op_RebootDBInstance.go index 416d3deae1a..437c2ace068 100644 --- a/service/rds/api_op_RebootDBInstance.go +++ b/service/rds/api_op_RebootDBInstance.go @@ -144,9 +144,6 @@ func (c *Client) addOperationRebootDBInstanceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRebootDBInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_RebootDBShardGroup.go b/service/rds/api_op_RebootDBShardGroup.go index d1861645a8f..f6402250ab0 100644 --- a/service/rds/api_op_RebootDBShardGroup.go +++ b/service/rds/api_op_RebootDBShardGroup.go @@ -178,9 +178,6 @@ func (c *Client) addOperationRebootDBShardGroupMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRebootDBShardGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_RegisterDBProxyTargets.go b/service/rds/api_op_RegisterDBProxyTargets.go index 848459e5d4a..5f2530a137f 100644 --- a/service/rds/api_op_RegisterDBProxyTargets.go +++ b/service/rds/api_op_RegisterDBProxyTargets.go @@ -122,9 +122,6 @@ func (c *Client) addOperationRegisterDBProxyTargetsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterDBProxyTargetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_RemoveFromGlobalCluster.go b/service/rds/api_op_RemoveFromGlobalCluster.go index 3d6e3de4e95..17aa3d21ee5 100644 --- a/service/rds/api_op_RemoveFromGlobalCluster.go +++ b/service/rds/api_op_RemoveFromGlobalCluster.go @@ -118,9 +118,6 @@ func (c *Client) addOperationRemoveFromGlobalClusterMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveFromGlobalCluster(options.Region), middleware.Before); err != nil { return err } diff --git a/service/rds/api_op_RemoveRoleFromDBCluster.go b/service/rds/api_op_RemoveRoleFromDBCluster.go index dd634d985e6..2656f8b54ff 100644 --- a/service/rds/api_op_RemoveRoleFromDBCluster.go +++ b/service/rds/api_op_RemoveRoleFromDBCluster.go @@ -127,9 +127,6 @@ func (c *Client) addOperationRemoveRoleFromDBClusterMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveRoleFromDBClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_RemoveRoleFromDBInstance.go b/service/rds/api_op_RemoveRoleFromDBInstance.go index 4420164c14c..b2f64e561d1 100644 --- a/service/rds/api_op_RemoveRoleFromDBInstance.go +++ b/service/rds/api_op_RemoveRoleFromDBInstance.go @@ -121,9 +121,6 @@ func (c *Client) addOperationRemoveRoleFromDBInstanceMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveRoleFromDBInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_RemoveSourceIdentifierFromSubscription.go b/service/rds/api_op_RemoveSourceIdentifierFromSubscription.go index ca91aa75f34..6e5e02904ef 100644 --- a/service/rds/api_op_RemoveSourceIdentifierFromSubscription.go +++ b/service/rds/api_op_RemoveSourceIdentifierFromSubscription.go @@ -121,9 +121,6 @@ func (c *Client) addOperationRemoveSourceIdentifierFromSubscriptionMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveSourceIdentifierFromSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_RemoveTagsFromResource.go b/service/rds/api_op_RemoveTagsFromResource.go index cdfd30487e2..82419f119a0 100644 --- a/service/rds/api_op_RemoveTagsFromResource.go +++ b/service/rds/api_op_RemoveTagsFromResource.go @@ -122,9 +122,6 @@ func (c *Client) addOperationRemoveTagsFromResourceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveTagsFromResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ResetDBClusterParameterGroup.go b/service/rds/api_op_ResetDBClusterParameterGroup.go index 18574a0e223..52aa768df84 100644 --- a/service/rds/api_op_ResetDBClusterParameterGroup.go +++ b/service/rds/api_op_ResetDBClusterParameterGroup.go @@ -150,9 +150,6 @@ func (c *Client) addOperationResetDBClusterParameterGroupMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResetDBClusterParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_ResetDBParameterGroup.go b/service/rds/api_op_ResetDBParameterGroup.go index d78649be543..1188f565a09 100644 --- a/service/rds/api_op_ResetDBParameterGroup.go +++ b/service/rds/api_op_ResetDBParameterGroup.go @@ -155,9 +155,6 @@ func (c *Client) addOperationResetDBParameterGroupMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResetDBParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_RestoreDBClusterFromS3.go b/service/rds/api_op_RestoreDBClusterFromS3.go index 38a0517fbea..f13b24c47ac 100644 --- a/service/rds/api_op_RestoreDBClusterFromS3.go +++ b/service/rds/api_op_RestoreDBClusterFromS3.go @@ -513,9 +513,6 @@ func (c *Client) addOperationRestoreDBClusterFromS3Middlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreDBClusterFromS3ValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_RestoreDBClusterFromSnapshot.go b/service/rds/api_op_RestoreDBClusterFromSnapshot.go index b5c4fc724cf..2c7ed475123 100644 --- a/service/rds/api_op_RestoreDBClusterFromSnapshot.go +++ b/service/rds/api_op_RestoreDBClusterFromSnapshot.go @@ -611,9 +611,6 @@ func (c *Client) addOperationRestoreDBClusterFromSnapshotMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreDBClusterFromSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_RestoreDBClusterToPointInTime.go b/service/rds/api_op_RestoreDBClusterToPointInTime.go index 4b1c198cc29..5e4dda4dff2 100644 --- a/service/rds/api_op_RestoreDBClusterToPointInTime.go +++ b/service/rds/api_op_RestoreDBClusterToPointInTime.go @@ -588,9 +588,6 @@ func (c *Client) addOperationRestoreDBClusterToPointInTimeMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreDBClusterToPointInTimeValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_RestoreDBInstanceFromDBSnapshot.go b/service/rds/api_op_RestoreDBInstanceFromDBSnapshot.go index 2cae2075291..cc87245e930 100644 --- a/service/rds/api_op_RestoreDBInstanceFromDBSnapshot.go +++ b/service/rds/api_op_RestoreDBInstanceFromDBSnapshot.go @@ -639,9 +639,6 @@ func (c *Client) addOperationRestoreDBInstanceFromDBSnapshotMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreDBInstanceFromDBSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_RestoreDBInstanceFromS3.go b/service/rds/api_op_RestoreDBInstanceFromS3.go index 492b4ed5e4a..f13b0a834a0 100644 --- a/service/rds/api_op_RestoreDBInstanceFromS3.go +++ b/service/rds/api_op_RestoreDBInstanceFromS3.go @@ -609,9 +609,6 @@ func (c *Client) addOperationRestoreDBInstanceFromS3Middlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreDBInstanceFromS3ValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_RestoreDBInstanceToPointInTime.go b/service/rds/api_op_RestoreDBInstanceToPointInTime.go index 7eee767632e..ca702f56b10 100644 --- a/service/rds/api_op_RestoreDBInstanceToPointInTime.go +++ b/service/rds/api_op_RestoreDBInstanceToPointInTime.go @@ -645,9 +645,6 @@ func (c *Client) addOperationRestoreDBInstanceToPointInTimeMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreDBInstanceToPointInTimeValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_RevokeDBSecurityGroupIngress.go b/service/rds/api_op_RevokeDBSecurityGroupIngress.go index 4adc69f32d5..f38f8760140 100644 --- a/service/rds/api_op_RevokeDBSecurityGroupIngress.go +++ b/service/rds/api_op_RevokeDBSecurityGroupIngress.go @@ -149,9 +149,6 @@ func (c *Client) addOperationRevokeDBSecurityGroupIngressMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRevokeDBSecurityGroupIngressValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_StartActivityStream.go b/service/rds/api_op_StartActivityStream.go index ce9446d4cdb..37618bc6c8b 100644 --- a/service/rds/api_op_StartActivityStream.go +++ b/service/rds/api_op_StartActivityStream.go @@ -160,9 +160,6 @@ func (c *Client) addOperationStartActivityStreamMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartActivityStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_StartDBCluster.go b/service/rds/api_op_StartDBCluster.go index 991b08529ef..4c34d55c605 100644 --- a/service/rds/api_op_StartDBCluster.go +++ b/service/rds/api_op_StartDBCluster.go @@ -141,9 +141,6 @@ func (c *Client) addOperationStartDBClusterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartDBClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_StartDBInstance.go b/service/rds/api_op_StartDBInstance.go index da9687f2fe1..64a5698371e 100644 --- a/service/rds/api_op_StartDBInstance.go +++ b/service/rds/api_op_StartDBInstance.go @@ -126,9 +126,6 @@ func (c *Client) addOperationStartDBInstanceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartDBInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_StartDBInstanceAutomatedBackupsReplication.go b/service/rds/api_op_StartDBInstanceAutomatedBackupsReplication.go index 688c631aa80..384471353bd 100644 --- a/service/rds/api_op_StartDBInstanceAutomatedBackupsReplication.go +++ b/service/rds/api_op_StartDBInstanceAutomatedBackupsReplication.go @@ -153,9 +153,6 @@ func (c *Client) addOperationStartDBInstanceAutomatedBackupsReplicationMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartDBInstanceAutomatedBackupsReplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_StartExportTask.go b/service/rds/api_op_StartExportTask.go index 014bfe73823..fcd1a02a10d 100644 --- a/service/rds/api_op_StartExportTask.go +++ b/service/rds/api_op_StartExportTask.go @@ -293,9 +293,6 @@ func (c *Client) addOperationStartExportTaskMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartExportTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_StopActivityStream.go b/service/rds/api_op_StopActivityStream.go index cc3277efec6..12500e66236 100644 --- a/service/rds/api_op_StopActivityStream.go +++ b/service/rds/api_op_StopActivityStream.go @@ -136,9 +136,6 @@ func (c *Client) addOperationStopActivityStreamMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopActivityStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_StopDBCluster.go b/service/rds/api_op_StopDBCluster.go index eaaec9b125a..0e44c1e14b2 100644 --- a/service/rds/api_op_StopDBCluster.go +++ b/service/rds/api_op_StopDBCluster.go @@ -142,9 +142,6 @@ func (c *Client) addOperationStopDBClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopDBClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_StopDBInstance.go b/service/rds/api_op_StopDBInstance.go index 8369ff4e690..a6dda16c2db 100644 --- a/service/rds/api_op_StopDBInstance.go +++ b/service/rds/api_op_StopDBInstance.go @@ -133,9 +133,6 @@ func (c *Client) addOperationStopDBInstanceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopDBInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_StopDBInstanceAutomatedBackupsReplication.go b/service/rds/api_op_StopDBInstanceAutomatedBackupsReplication.go index ce56a024f4c..a05dd448dbb 100644 --- a/service/rds/api_op_StopDBInstanceAutomatedBackupsReplication.go +++ b/service/rds/api_op_StopDBInstanceAutomatedBackupsReplication.go @@ -122,9 +122,6 @@ func (c *Client) addOperationStopDBInstanceAutomatedBackupsReplicationMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopDBInstanceAutomatedBackupsReplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_SwitchoverBlueGreenDeployment.go b/service/rds/api_op_SwitchoverBlueGreenDeployment.go index c75309b0b6b..faadadeb46c 100644 --- a/service/rds/api_op_SwitchoverBlueGreenDeployment.go +++ b/service/rds/api_op_SwitchoverBlueGreenDeployment.go @@ -138,9 +138,6 @@ func (c *Client) addOperationSwitchoverBlueGreenDeploymentMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSwitchoverBlueGreenDeploymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_SwitchoverGlobalCluster.go b/service/rds/api_op_SwitchoverGlobalCluster.go index 9cbe8f7cc45..0ef6888ec83 100644 --- a/service/rds/api_op_SwitchoverGlobalCluster.go +++ b/service/rds/api_op_SwitchoverGlobalCluster.go @@ -144,9 +144,6 @@ func (c *Client) addOperationSwitchoverGlobalClusterMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSwitchoverGlobalClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/api_op_SwitchoverReadReplica.go b/service/rds/api_op_SwitchoverReadReplica.go index d077b1417b4..01208b4b104 100644 --- a/service/rds/api_op_SwitchoverReadReplica.go +++ b/service/rds/api_op_SwitchoverReadReplica.go @@ -125,9 +125,6 @@ func (c *Client) addOperationSwitchoverReadReplicaMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSwitchoverReadReplicaValidationMiddleware(stack); err != nil { return err } diff --git a/service/rds/snapshot/api_op_AddRoleToDBCluster.go.snap b/service/rds/snapshot/api_op_AddRoleToDBCluster.go.snap index 06c00d90e3f..cb76c6c829c 100644 --- a/service/rds/snapshot/api_op_AddRoleToDBCluster.go.snap +++ b/service/rds/snapshot/api_op_AddRoleToDBCluster.go.snap @@ -14,7 +14,6 @@ AddRoleToDBCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_AddRoleToDBInstance.go.snap b/service/rds/snapshot/api_op_AddRoleToDBInstance.go.snap index f8859a795e0..7ca726a41d4 100644 --- a/service/rds/snapshot/api_op_AddRoleToDBInstance.go.snap +++ b/service/rds/snapshot/api_op_AddRoleToDBInstance.go.snap @@ -14,7 +14,6 @@ AddRoleToDBInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_AddSourceIdentifierToSubscription.go.snap b/service/rds/snapshot/api_op_AddSourceIdentifierToSubscription.go.snap index 68a5ef40d3c..004560ae937 100644 --- a/service/rds/snapshot/api_op_AddSourceIdentifierToSubscription.go.snap +++ b/service/rds/snapshot/api_op_AddSourceIdentifierToSubscription.go.snap @@ -14,7 +14,6 @@ AddSourceIdentifierToSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_AddTagsToResource.go.snap b/service/rds/snapshot/api_op_AddTagsToResource.go.snap index adf3a58c167..23e3b3e3966 100644 --- a/service/rds/snapshot/api_op_AddTagsToResource.go.snap +++ b/service/rds/snapshot/api_op_AddTagsToResource.go.snap @@ -14,7 +14,6 @@ AddTagsToResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_ApplyPendingMaintenanceAction.go.snap b/service/rds/snapshot/api_op_ApplyPendingMaintenanceAction.go.snap index 3ef78ec47c1..d30b93e6005 100644 --- a/service/rds/snapshot/api_op_ApplyPendingMaintenanceAction.go.snap +++ b/service/rds/snapshot/api_op_ApplyPendingMaintenanceAction.go.snap @@ -14,7 +14,6 @@ ApplyPendingMaintenanceAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_AuthorizeDBSecurityGroupIngress.go.snap b/service/rds/snapshot/api_op_AuthorizeDBSecurityGroupIngress.go.snap index b66e1cc8a2a..86e4fc31711 100644 --- a/service/rds/snapshot/api_op_AuthorizeDBSecurityGroupIngress.go.snap +++ b/service/rds/snapshot/api_op_AuthorizeDBSecurityGroupIngress.go.snap @@ -14,7 +14,6 @@ AuthorizeDBSecurityGroupIngress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_BacktrackDBCluster.go.snap b/service/rds/snapshot/api_op_BacktrackDBCluster.go.snap index 65ec1bcc428..46ac8db5303 100644 --- a/service/rds/snapshot/api_op_BacktrackDBCluster.go.snap +++ b/service/rds/snapshot/api_op_BacktrackDBCluster.go.snap @@ -14,7 +14,6 @@ BacktrackDBCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_CancelExportTask.go.snap b/service/rds/snapshot/api_op_CancelExportTask.go.snap index bfe84b37bba..e3777470e3e 100644 --- a/service/rds/snapshot/api_op_CancelExportTask.go.snap +++ b/service/rds/snapshot/api_op_CancelExportTask.go.snap @@ -14,7 +14,6 @@ CancelExportTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_CopyDBClusterParameterGroup.go.snap b/service/rds/snapshot/api_op_CopyDBClusterParameterGroup.go.snap index b4f0e7464e6..81e5726dec8 100644 --- a/service/rds/snapshot/api_op_CopyDBClusterParameterGroup.go.snap +++ b/service/rds/snapshot/api_op_CopyDBClusterParameterGroup.go.snap @@ -14,7 +14,6 @@ CopyDBClusterParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_CopyDBClusterSnapshot.go.snap b/service/rds/snapshot/api_op_CopyDBClusterSnapshot.go.snap index e7947a43eac..b776bd588ae 100644 --- a/service/rds/snapshot/api_op_CopyDBClusterSnapshot.go.snap +++ b/service/rds/snapshot/api_op_CopyDBClusterSnapshot.go.snap @@ -15,7 +15,6 @@ CopyDBClusterSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_CopyDBParameterGroup.go.snap b/service/rds/snapshot/api_op_CopyDBParameterGroup.go.snap index 3aa4dee28c0..a88a37abe1c 100644 --- a/service/rds/snapshot/api_op_CopyDBParameterGroup.go.snap +++ b/service/rds/snapshot/api_op_CopyDBParameterGroup.go.snap @@ -14,7 +14,6 @@ CopyDBParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_CopyDBSnapshot.go.snap b/service/rds/snapshot/api_op_CopyDBSnapshot.go.snap index aee93a97c12..aff64bf6eec 100644 --- a/service/rds/snapshot/api_op_CopyDBSnapshot.go.snap +++ b/service/rds/snapshot/api_op_CopyDBSnapshot.go.snap @@ -15,7 +15,6 @@ CopyDBSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_CopyOptionGroup.go.snap b/service/rds/snapshot/api_op_CopyOptionGroup.go.snap index 9452199936c..c032e9ac7f1 100644 --- a/service/rds/snapshot/api_op_CopyOptionGroup.go.snap +++ b/service/rds/snapshot/api_op_CopyOptionGroup.go.snap @@ -14,7 +14,6 @@ CopyOptionGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_CreateBlueGreenDeployment.go.snap b/service/rds/snapshot/api_op_CreateBlueGreenDeployment.go.snap index a75615e31a6..b7624b8dffd 100644 --- a/service/rds/snapshot/api_op_CreateBlueGreenDeployment.go.snap +++ b/service/rds/snapshot/api_op_CreateBlueGreenDeployment.go.snap @@ -14,7 +14,6 @@ CreateBlueGreenDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_CreateCustomDBEngineVersion.go.snap b/service/rds/snapshot/api_op_CreateCustomDBEngineVersion.go.snap index 5df7f96f3cb..c5ab0a17a1f 100644 --- a/service/rds/snapshot/api_op_CreateCustomDBEngineVersion.go.snap +++ b/service/rds/snapshot/api_op_CreateCustomDBEngineVersion.go.snap @@ -14,7 +14,6 @@ CreateCustomDBEngineVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_CreateDBCluster.go.snap b/service/rds/snapshot/api_op_CreateDBCluster.go.snap index ccdb622c59a..172001bb45a 100644 --- a/service/rds/snapshot/api_op_CreateDBCluster.go.snap +++ b/service/rds/snapshot/api_op_CreateDBCluster.go.snap @@ -15,7 +15,6 @@ CreateDBCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_CreateDBClusterEndpoint.go.snap b/service/rds/snapshot/api_op_CreateDBClusterEndpoint.go.snap index 3abd8ae2304..18a7c00245a 100644 --- a/service/rds/snapshot/api_op_CreateDBClusterEndpoint.go.snap +++ b/service/rds/snapshot/api_op_CreateDBClusterEndpoint.go.snap @@ -14,7 +14,6 @@ CreateDBClusterEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_CreateDBClusterParameterGroup.go.snap b/service/rds/snapshot/api_op_CreateDBClusterParameterGroup.go.snap index a952e153ea3..e17371408eb 100644 --- a/service/rds/snapshot/api_op_CreateDBClusterParameterGroup.go.snap +++ b/service/rds/snapshot/api_op_CreateDBClusterParameterGroup.go.snap @@ -14,7 +14,6 @@ CreateDBClusterParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_CreateDBClusterSnapshot.go.snap b/service/rds/snapshot/api_op_CreateDBClusterSnapshot.go.snap index b9050be528a..764f5bc56ad 100644 --- a/service/rds/snapshot/api_op_CreateDBClusterSnapshot.go.snap +++ b/service/rds/snapshot/api_op_CreateDBClusterSnapshot.go.snap @@ -14,7 +14,6 @@ CreateDBClusterSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_CreateDBInstance.go.snap b/service/rds/snapshot/api_op_CreateDBInstance.go.snap index 5b515f91073..29fbed300ab 100644 --- a/service/rds/snapshot/api_op_CreateDBInstance.go.snap +++ b/service/rds/snapshot/api_op_CreateDBInstance.go.snap @@ -14,7 +14,6 @@ CreateDBInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_CreateDBInstanceReadReplica.go.snap b/service/rds/snapshot/api_op_CreateDBInstanceReadReplica.go.snap index 60773d0797e..5ee9dc67ce1 100644 --- a/service/rds/snapshot/api_op_CreateDBInstanceReadReplica.go.snap +++ b/service/rds/snapshot/api_op_CreateDBInstanceReadReplica.go.snap @@ -15,7 +15,6 @@ CreateDBInstanceReadReplica Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_CreateDBParameterGroup.go.snap b/service/rds/snapshot/api_op_CreateDBParameterGroup.go.snap index b7d2d0affd5..92c475a006b 100644 --- a/service/rds/snapshot/api_op_CreateDBParameterGroup.go.snap +++ b/service/rds/snapshot/api_op_CreateDBParameterGroup.go.snap @@ -14,7 +14,6 @@ CreateDBParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_CreateDBProxy.go.snap b/service/rds/snapshot/api_op_CreateDBProxy.go.snap index b650be886bb..b97c2ec87f3 100644 --- a/service/rds/snapshot/api_op_CreateDBProxy.go.snap +++ b/service/rds/snapshot/api_op_CreateDBProxy.go.snap @@ -14,7 +14,6 @@ CreateDBProxy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_CreateDBProxyEndpoint.go.snap b/service/rds/snapshot/api_op_CreateDBProxyEndpoint.go.snap index 70f33da00b4..e8ce0d14fab 100644 --- a/service/rds/snapshot/api_op_CreateDBProxyEndpoint.go.snap +++ b/service/rds/snapshot/api_op_CreateDBProxyEndpoint.go.snap @@ -14,7 +14,6 @@ CreateDBProxyEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_CreateDBSecurityGroup.go.snap b/service/rds/snapshot/api_op_CreateDBSecurityGroup.go.snap index c2011125ee8..34721dd62b9 100644 --- a/service/rds/snapshot/api_op_CreateDBSecurityGroup.go.snap +++ b/service/rds/snapshot/api_op_CreateDBSecurityGroup.go.snap @@ -14,7 +14,6 @@ CreateDBSecurityGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_CreateDBShardGroup.go.snap b/service/rds/snapshot/api_op_CreateDBShardGroup.go.snap index 393b7fb6522..e7274c08c4c 100644 --- a/service/rds/snapshot/api_op_CreateDBShardGroup.go.snap +++ b/service/rds/snapshot/api_op_CreateDBShardGroup.go.snap @@ -14,7 +14,6 @@ CreateDBShardGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_CreateDBSnapshot.go.snap b/service/rds/snapshot/api_op_CreateDBSnapshot.go.snap index e5690c1bb6a..78240dd4284 100644 --- a/service/rds/snapshot/api_op_CreateDBSnapshot.go.snap +++ b/service/rds/snapshot/api_op_CreateDBSnapshot.go.snap @@ -14,7 +14,6 @@ CreateDBSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_CreateDBSubnetGroup.go.snap b/service/rds/snapshot/api_op_CreateDBSubnetGroup.go.snap index 9c53c1d23ae..936610d7640 100644 --- a/service/rds/snapshot/api_op_CreateDBSubnetGroup.go.snap +++ b/service/rds/snapshot/api_op_CreateDBSubnetGroup.go.snap @@ -14,7 +14,6 @@ CreateDBSubnetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_CreateEventSubscription.go.snap b/service/rds/snapshot/api_op_CreateEventSubscription.go.snap index 68d152a81b9..abaf183d2d8 100644 --- a/service/rds/snapshot/api_op_CreateEventSubscription.go.snap +++ b/service/rds/snapshot/api_op_CreateEventSubscription.go.snap @@ -14,7 +14,6 @@ CreateEventSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_CreateGlobalCluster.go.snap b/service/rds/snapshot/api_op_CreateGlobalCluster.go.snap index faed3766152..151f3b26ff6 100644 --- a/service/rds/snapshot/api_op_CreateGlobalCluster.go.snap +++ b/service/rds/snapshot/api_op_CreateGlobalCluster.go.snap @@ -13,7 +13,6 @@ CreateGlobalCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_CreateIntegration.go.snap b/service/rds/snapshot/api_op_CreateIntegration.go.snap index c23fbf5af89..d22fcfb6a4e 100644 --- a/service/rds/snapshot/api_op_CreateIntegration.go.snap +++ b/service/rds/snapshot/api_op_CreateIntegration.go.snap @@ -14,7 +14,6 @@ CreateIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_CreateOptionGroup.go.snap b/service/rds/snapshot/api_op_CreateOptionGroup.go.snap index 967c64437c8..b562d72c1cf 100644 --- a/service/rds/snapshot/api_op_CreateOptionGroup.go.snap +++ b/service/rds/snapshot/api_op_CreateOptionGroup.go.snap @@ -14,7 +14,6 @@ CreateOptionGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_CreateTenantDatabase.go.snap b/service/rds/snapshot/api_op_CreateTenantDatabase.go.snap index f4fb7e51cb9..1523daa8d60 100644 --- a/service/rds/snapshot/api_op_CreateTenantDatabase.go.snap +++ b/service/rds/snapshot/api_op_CreateTenantDatabase.go.snap @@ -14,7 +14,6 @@ CreateTenantDatabase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DeleteBlueGreenDeployment.go.snap b/service/rds/snapshot/api_op_DeleteBlueGreenDeployment.go.snap index 4c553a9782f..e964cee6a65 100644 --- a/service/rds/snapshot/api_op_DeleteBlueGreenDeployment.go.snap +++ b/service/rds/snapshot/api_op_DeleteBlueGreenDeployment.go.snap @@ -14,7 +14,6 @@ DeleteBlueGreenDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DeleteCustomDBEngineVersion.go.snap b/service/rds/snapshot/api_op_DeleteCustomDBEngineVersion.go.snap index f53b317ff4a..c3ff1cef315 100644 --- a/service/rds/snapshot/api_op_DeleteCustomDBEngineVersion.go.snap +++ b/service/rds/snapshot/api_op_DeleteCustomDBEngineVersion.go.snap @@ -14,7 +14,6 @@ DeleteCustomDBEngineVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DeleteDBCluster.go.snap b/service/rds/snapshot/api_op_DeleteDBCluster.go.snap index c1324387368..029aa4c7771 100644 --- a/service/rds/snapshot/api_op_DeleteDBCluster.go.snap +++ b/service/rds/snapshot/api_op_DeleteDBCluster.go.snap @@ -14,7 +14,6 @@ DeleteDBCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DeleteDBClusterAutomatedBackup.go.snap b/service/rds/snapshot/api_op_DeleteDBClusterAutomatedBackup.go.snap index df92b40a806..f5e7509e2b4 100644 --- a/service/rds/snapshot/api_op_DeleteDBClusterAutomatedBackup.go.snap +++ b/service/rds/snapshot/api_op_DeleteDBClusterAutomatedBackup.go.snap @@ -14,7 +14,6 @@ DeleteDBClusterAutomatedBackup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DeleteDBClusterEndpoint.go.snap b/service/rds/snapshot/api_op_DeleteDBClusterEndpoint.go.snap index 374b5d406e7..b73ca982811 100644 --- a/service/rds/snapshot/api_op_DeleteDBClusterEndpoint.go.snap +++ b/service/rds/snapshot/api_op_DeleteDBClusterEndpoint.go.snap @@ -14,7 +14,6 @@ DeleteDBClusterEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DeleteDBClusterParameterGroup.go.snap b/service/rds/snapshot/api_op_DeleteDBClusterParameterGroup.go.snap index facc979c7e1..1e0c5d99826 100644 --- a/service/rds/snapshot/api_op_DeleteDBClusterParameterGroup.go.snap +++ b/service/rds/snapshot/api_op_DeleteDBClusterParameterGroup.go.snap @@ -14,7 +14,6 @@ DeleteDBClusterParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DeleteDBClusterSnapshot.go.snap b/service/rds/snapshot/api_op_DeleteDBClusterSnapshot.go.snap index 6b8e8aef56b..d77b8c6c200 100644 --- a/service/rds/snapshot/api_op_DeleteDBClusterSnapshot.go.snap +++ b/service/rds/snapshot/api_op_DeleteDBClusterSnapshot.go.snap @@ -14,7 +14,6 @@ DeleteDBClusterSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DeleteDBInstance.go.snap b/service/rds/snapshot/api_op_DeleteDBInstance.go.snap index d2b496adf73..fcb1623e06c 100644 --- a/service/rds/snapshot/api_op_DeleteDBInstance.go.snap +++ b/service/rds/snapshot/api_op_DeleteDBInstance.go.snap @@ -14,7 +14,6 @@ DeleteDBInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DeleteDBInstanceAutomatedBackup.go.snap b/service/rds/snapshot/api_op_DeleteDBInstanceAutomatedBackup.go.snap index f4cf1e8db6e..150b0cf12a2 100644 --- a/service/rds/snapshot/api_op_DeleteDBInstanceAutomatedBackup.go.snap +++ b/service/rds/snapshot/api_op_DeleteDBInstanceAutomatedBackup.go.snap @@ -13,7 +13,6 @@ DeleteDBInstanceAutomatedBackup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DeleteDBParameterGroup.go.snap b/service/rds/snapshot/api_op_DeleteDBParameterGroup.go.snap index 5185c8fe5b4..4ab63209570 100644 --- a/service/rds/snapshot/api_op_DeleteDBParameterGroup.go.snap +++ b/service/rds/snapshot/api_op_DeleteDBParameterGroup.go.snap @@ -14,7 +14,6 @@ DeleteDBParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DeleteDBProxy.go.snap b/service/rds/snapshot/api_op_DeleteDBProxy.go.snap index 9f4d88b1d0e..788c48c1733 100644 --- a/service/rds/snapshot/api_op_DeleteDBProxy.go.snap +++ b/service/rds/snapshot/api_op_DeleteDBProxy.go.snap @@ -14,7 +14,6 @@ DeleteDBProxy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DeleteDBProxyEndpoint.go.snap b/service/rds/snapshot/api_op_DeleteDBProxyEndpoint.go.snap index 8c4d5239754..9f74dcc67e8 100644 --- a/service/rds/snapshot/api_op_DeleteDBProxyEndpoint.go.snap +++ b/service/rds/snapshot/api_op_DeleteDBProxyEndpoint.go.snap @@ -14,7 +14,6 @@ DeleteDBProxyEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DeleteDBSecurityGroup.go.snap b/service/rds/snapshot/api_op_DeleteDBSecurityGroup.go.snap index 65541791517..c6ffc91ba39 100644 --- a/service/rds/snapshot/api_op_DeleteDBSecurityGroup.go.snap +++ b/service/rds/snapshot/api_op_DeleteDBSecurityGroup.go.snap @@ -14,7 +14,6 @@ DeleteDBSecurityGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DeleteDBShardGroup.go.snap b/service/rds/snapshot/api_op_DeleteDBShardGroup.go.snap index 4b2431c19a2..c44bde4d737 100644 --- a/service/rds/snapshot/api_op_DeleteDBShardGroup.go.snap +++ b/service/rds/snapshot/api_op_DeleteDBShardGroup.go.snap @@ -14,7 +14,6 @@ DeleteDBShardGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DeleteDBSnapshot.go.snap b/service/rds/snapshot/api_op_DeleteDBSnapshot.go.snap index e1a8170e32e..7a8e42a4ef9 100644 --- a/service/rds/snapshot/api_op_DeleteDBSnapshot.go.snap +++ b/service/rds/snapshot/api_op_DeleteDBSnapshot.go.snap @@ -14,7 +14,6 @@ DeleteDBSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DeleteDBSubnetGroup.go.snap b/service/rds/snapshot/api_op_DeleteDBSubnetGroup.go.snap index abb0c44362e..ed03e5743aa 100644 --- a/service/rds/snapshot/api_op_DeleteDBSubnetGroup.go.snap +++ b/service/rds/snapshot/api_op_DeleteDBSubnetGroup.go.snap @@ -14,7 +14,6 @@ DeleteDBSubnetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DeleteEventSubscription.go.snap b/service/rds/snapshot/api_op_DeleteEventSubscription.go.snap index 02f527bc9d5..1bfd53e9563 100644 --- a/service/rds/snapshot/api_op_DeleteEventSubscription.go.snap +++ b/service/rds/snapshot/api_op_DeleteEventSubscription.go.snap @@ -14,7 +14,6 @@ DeleteEventSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DeleteGlobalCluster.go.snap b/service/rds/snapshot/api_op_DeleteGlobalCluster.go.snap index b0cbc29172b..f4c1a08fe2b 100644 --- a/service/rds/snapshot/api_op_DeleteGlobalCluster.go.snap +++ b/service/rds/snapshot/api_op_DeleteGlobalCluster.go.snap @@ -14,7 +14,6 @@ DeleteGlobalCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DeleteIntegration.go.snap b/service/rds/snapshot/api_op_DeleteIntegration.go.snap index b138e678938..cc8fc148389 100644 --- a/service/rds/snapshot/api_op_DeleteIntegration.go.snap +++ b/service/rds/snapshot/api_op_DeleteIntegration.go.snap @@ -14,7 +14,6 @@ DeleteIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DeleteOptionGroup.go.snap b/service/rds/snapshot/api_op_DeleteOptionGroup.go.snap index c55c05c316b..4a3cddd6037 100644 --- a/service/rds/snapshot/api_op_DeleteOptionGroup.go.snap +++ b/service/rds/snapshot/api_op_DeleteOptionGroup.go.snap @@ -14,7 +14,6 @@ DeleteOptionGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DeleteTenantDatabase.go.snap b/service/rds/snapshot/api_op_DeleteTenantDatabase.go.snap index cfbfe615b38..43f7de20577 100644 --- a/service/rds/snapshot/api_op_DeleteTenantDatabase.go.snap +++ b/service/rds/snapshot/api_op_DeleteTenantDatabase.go.snap @@ -14,7 +14,6 @@ DeleteTenantDatabase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DeregisterDBProxyTargets.go.snap b/service/rds/snapshot/api_op_DeregisterDBProxyTargets.go.snap index 788ccbb4df5..8f730ae9f35 100644 --- a/service/rds/snapshot/api_op_DeregisterDBProxyTargets.go.snap +++ b/service/rds/snapshot/api_op_DeregisterDBProxyTargets.go.snap @@ -14,7 +14,6 @@ DeregisterDBProxyTargets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeAccountAttributes.go.snap b/service/rds/snapshot/api_op_DescribeAccountAttributes.go.snap index 8289af53fde..f099fff933a 100644 --- a/service/rds/snapshot/api_op_DescribeAccountAttributes.go.snap +++ b/service/rds/snapshot/api_op_DescribeAccountAttributes.go.snap @@ -13,7 +13,6 @@ DescribeAccountAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeBlueGreenDeployments.go.snap b/service/rds/snapshot/api_op_DescribeBlueGreenDeployments.go.snap index 9bde67ea723..6fa44969b19 100644 --- a/service/rds/snapshot/api_op_DescribeBlueGreenDeployments.go.snap +++ b/service/rds/snapshot/api_op_DescribeBlueGreenDeployments.go.snap @@ -14,7 +14,6 @@ DescribeBlueGreenDeployments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeCertificates.go.snap b/service/rds/snapshot/api_op_DescribeCertificates.go.snap index 833d96f5239..23918da991f 100644 --- a/service/rds/snapshot/api_op_DescribeCertificates.go.snap +++ b/service/rds/snapshot/api_op_DescribeCertificates.go.snap @@ -14,7 +14,6 @@ DescribeCertificates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeDBClusterAutomatedBackups.go.snap b/service/rds/snapshot/api_op_DescribeDBClusterAutomatedBackups.go.snap index 81ef11bc4e3..fda2068fbf1 100644 --- a/service/rds/snapshot/api_op_DescribeDBClusterAutomatedBackups.go.snap +++ b/service/rds/snapshot/api_op_DescribeDBClusterAutomatedBackups.go.snap @@ -14,7 +14,6 @@ DescribeDBClusterAutomatedBackups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeDBClusterBacktracks.go.snap b/service/rds/snapshot/api_op_DescribeDBClusterBacktracks.go.snap index f8aaa6d6f8d..80a12f9b702 100644 --- a/service/rds/snapshot/api_op_DescribeDBClusterBacktracks.go.snap +++ b/service/rds/snapshot/api_op_DescribeDBClusterBacktracks.go.snap @@ -14,7 +14,6 @@ DescribeDBClusterBacktracks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeDBClusterEndpoints.go.snap b/service/rds/snapshot/api_op_DescribeDBClusterEndpoints.go.snap index 884ad984ed3..1e47d24404e 100644 --- a/service/rds/snapshot/api_op_DescribeDBClusterEndpoints.go.snap +++ b/service/rds/snapshot/api_op_DescribeDBClusterEndpoints.go.snap @@ -14,7 +14,6 @@ DescribeDBClusterEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeDBClusterParameterGroups.go.snap b/service/rds/snapshot/api_op_DescribeDBClusterParameterGroups.go.snap index d2c722ff4c2..03fd185d044 100644 --- a/service/rds/snapshot/api_op_DescribeDBClusterParameterGroups.go.snap +++ b/service/rds/snapshot/api_op_DescribeDBClusterParameterGroups.go.snap @@ -14,7 +14,6 @@ DescribeDBClusterParameterGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeDBClusterParameters.go.snap b/service/rds/snapshot/api_op_DescribeDBClusterParameters.go.snap index f3e2e565999..50bdfdd9e29 100644 --- a/service/rds/snapshot/api_op_DescribeDBClusterParameters.go.snap +++ b/service/rds/snapshot/api_op_DescribeDBClusterParameters.go.snap @@ -14,7 +14,6 @@ DescribeDBClusterParameters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeDBClusterSnapshotAttributes.go.snap b/service/rds/snapshot/api_op_DescribeDBClusterSnapshotAttributes.go.snap index 7314e53cb22..8bb8a90bbca 100644 --- a/service/rds/snapshot/api_op_DescribeDBClusterSnapshotAttributes.go.snap +++ b/service/rds/snapshot/api_op_DescribeDBClusterSnapshotAttributes.go.snap @@ -14,7 +14,6 @@ DescribeDBClusterSnapshotAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeDBClusterSnapshots.go.snap b/service/rds/snapshot/api_op_DescribeDBClusterSnapshots.go.snap index 2d4352f765e..a73c54b4529 100644 --- a/service/rds/snapshot/api_op_DescribeDBClusterSnapshots.go.snap +++ b/service/rds/snapshot/api_op_DescribeDBClusterSnapshots.go.snap @@ -14,7 +14,6 @@ DescribeDBClusterSnapshots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeDBClusters.go.snap b/service/rds/snapshot/api_op_DescribeDBClusters.go.snap index 9fd17dae342..64c2ff6a7d2 100644 --- a/service/rds/snapshot/api_op_DescribeDBClusters.go.snap +++ b/service/rds/snapshot/api_op_DescribeDBClusters.go.snap @@ -14,7 +14,6 @@ DescribeDBClusters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeDBEngineVersions.go.snap b/service/rds/snapshot/api_op_DescribeDBEngineVersions.go.snap index bad2d24380d..d328d299fae 100644 --- a/service/rds/snapshot/api_op_DescribeDBEngineVersions.go.snap +++ b/service/rds/snapshot/api_op_DescribeDBEngineVersions.go.snap @@ -14,7 +14,6 @@ DescribeDBEngineVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeDBInstanceAutomatedBackups.go.snap b/service/rds/snapshot/api_op_DescribeDBInstanceAutomatedBackups.go.snap index ee572dd2031..b17983c604b 100644 --- a/service/rds/snapshot/api_op_DescribeDBInstanceAutomatedBackups.go.snap +++ b/service/rds/snapshot/api_op_DescribeDBInstanceAutomatedBackups.go.snap @@ -14,7 +14,6 @@ DescribeDBInstanceAutomatedBackups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeDBInstances.go.snap b/service/rds/snapshot/api_op_DescribeDBInstances.go.snap index d82efb78caa..8433cb55988 100644 --- a/service/rds/snapshot/api_op_DescribeDBInstances.go.snap +++ b/service/rds/snapshot/api_op_DescribeDBInstances.go.snap @@ -14,7 +14,6 @@ DescribeDBInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeDBLogFiles.go.snap b/service/rds/snapshot/api_op_DescribeDBLogFiles.go.snap index b4ad4e6ef82..ae538549737 100644 --- a/service/rds/snapshot/api_op_DescribeDBLogFiles.go.snap +++ b/service/rds/snapshot/api_op_DescribeDBLogFiles.go.snap @@ -14,7 +14,6 @@ DescribeDBLogFiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeDBParameterGroups.go.snap b/service/rds/snapshot/api_op_DescribeDBParameterGroups.go.snap index 4505cefa65c..97115ae6152 100644 --- a/service/rds/snapshot/api_op_DescribeDBParameterGroups.go.snap +++ b/service/rds/snapshot/api_op_DescribeDBParameterGroups.go.snap @@ -14,7 +14,6 @@ DescribeDBParameterGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeDBParameters.go.snap b/service/rds/snapshot/api_op_DescribeDBParameters.go.snap index 26c55213393..a92e77a4d8f 100644 --- a/service/rds/snapshot/api_op_DescribeDBParameters.go.snap +++ b/service/rds/snapshot/api_op_DescribeDBParameters.go.snap @@ -14,7 +14,6 @@ DescribeDBParameters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeDBProxies.go.snap b/service/rds/snapshot/api_op_DescribeDBProxies.go.snap index 68ffaf9b045..d0ef306f59c 100644 --- a/service/rds/snapshot/api_op_DescribeDBProxies.go.snap +++ b/service/rds/snapshot/api_op_DescribeDBProxies.go.snap @@ -14,7 +14,6 @@ DescribeDBProxies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeDBProxyEndpoints.go.snap b/service/rds/snapshot/api_op_DescribeDBProxyEndpoints.go.snap index eaa64a43f98..d033cf890f2 100644 --- a/service/rds/snapshot/api_op_DescribeDBProxyEndpoints.go.snap +++ b/service/rds/snapshot/api_op_DescribeDBProxyEndpoints.go.snap @@ -14,7 +14,6 @@ DescribeDBProxyEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeDBProxyTargetGroups.go.snap b/service/rds/snapshot/api_op_DescribeDBProxyTargetGroups.go.snap index 29567768c66..fc3247dfd7a 100644 --- a/service/rds/snapshot/api_op_DescribeDBProxyTargetGroups.go.snap +++ b/service/rds/snapshot/api_op_DescribeDBProxyTargetGroups.go.snap @@ -14,7 +14,6 @@ DescribeDBProxyTargetGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeDBProxyTargets.go.snap b/service/rds/snapshot/api_op_DescribeDBProxyTargets.go.snap index 5429c848760..126fcf0a197 100644 --- a/service/rds/snapshot/api_op_DescribeDBProxyTargets.go.snap +++ b/service/rds/snapshot/api_op_DescribeDBProxyTargets.go.snap @@ -14,7 +14,6 @@ DescribeDBProxyTargets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeDBRecommendations.go.snap b/service/rds/snapshot/api_op_DescribeDBRecommendations.go.snap index 7cfb59189ee..b55c00d9556 100644 --- a/service/rds/snapshot/api_op_DescribeDBRecommendations.go.snap +++ b/service/rds/snapshot/api_op_DescribeDBRecommendations.go.snap @@ -14,7 +14,6 @@ DescribeDBRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeDBSecurityGroups.go.snap b/service/rds/snapshot/api_op_DescribeDBSecurityGroups.go.snap index 004be30c1b9..2d52a37133d 100644 --- a/service/rds/snapshot/api_op_DescribeDBSecurityGroups.go.snap +++ b/service/rds/snapshot/api_op_DescribeDBSecurityGroups.go.snap @@ -14,7 +14,6 @@ DescribeDBSecurityGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeDBShardGroups.go.snap b/service/rds/snapshot/api_op_DescribeDBShardGroups.go.snap index afc36da4397..d5abfdbf183 100644 --- a/service/rds/snapshot/api_op_DescribeDBShardGroups.go.snap +++ b/service/rds/snapshot/api_op_DescribeDBShardGroups.go.snap @@ -14,7 +14,6 @@ DescribeDBShardGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeDBSnapshotAttributes.go.snap b/service/rds/snapshot/api_op_DescribeDBSnapshotAttributes.go.snap index c7eb31818ad..fe2afe04189 100644 --- a/service/rds/snapshot/api_op_DescribeDBSnapshotAttributes.go.snap +++ b/service/rds/snapshot/api_op_DescribeDBSnapshotAttributes.go.snap @@ -14,7 +14,6 @@ DescribeDBSnapshotAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeDBSnapshotTenantDatabases.go.snap b/service/rds/snapshot/api_op_DescribeDBSnapshotTenantDatabases.go.snap index 42ffe28a477..5d08631d47a 100644 --- a/service/rds/snapshot/api_op_DescribeDBSnapshotTenantDatabases.go.snap +++ b/service/rds/snapshot/api_op_DescribeDBSnapshotTenantDatabases.go.snap @@ -14,7 +14,6 @@ DescribeDBSnapshotTenantDatabases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeDBSnapshots.go.snap b/service/rds/snapshot/api_op_DescribeDBSnapshots.go.snap index a868464c546..f845c9c6bb4 100644 --- a/service/rds/snapshot/api_op_DescribeDBSnapshots.go.snap +++ b/service/rds/snapshot/api_op_DescribeDBSnapshots.go.snap @@ -14,7 +14,6 @@ DescribeDBSnapshots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeDBSubnetGroups.go.snap b/service/rds/snapshot/api_op_DescribeDBSubnetGroups.go.snap index 142d71a4487..74b6ddc3746 100644 --- a/service/rds/snapshot/api_op_DescribeDBSubnetGroups.go.snap +++ b/service/rds/snapshot/api_op_DescribeDBSubnetGroups.go.snap @@ -14,7 +14,6 @@ DescribeDBSubnetGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeEngineDefaultClusterParameters.go.snap b/service/rds/snapshot/api_op_DescribeEngineDefaultClusterParameters.go.snap index 15eccdd66a7..b19a1ad9888 100644 --- a/service/rds/snapshot/api_op_DescribeEngineDefaultClusterParameters.go.snap +++ b/service/rds/snapshot/api_op_DescribeEngineDefaultClusterParameters.go.snap @@ -14,7 +14,6 @@ DescribeEngineDefaultClusterParameters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeEngineDefaultParameters.go.snap b/service/rds/snapshot/api_op_DescribeEngineDefaultParameters.go.snap index c9c3f3d5cd6..b39afa4622c 100644 --- a/service/rds/snapshot/api_op_DescribeEngineDefaultParameters.go.snap +++ b/service/rds/snapshot/api_op_DescribeEngineDefaultParameters.go.snap @@ -14,7 +14,6 @@ DescribeEngineDefaultParameters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeEventCategories.go.snap b/service/rds/snapshot/api_op_DescribeEventCategories.go.snap index 79ac1344ef4..66357b7c577 100644 --- a/service/rds/snapshot/api_op_DescribeEventCategories.go.snap +++ b/service/rds/snapshot/api_op_DescribeEventCategories.go.snap @@ -14,7 +14,6 @@ DescribeEventCategories Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeEventSubscriptions.go.snap b/service/rds/snapshot/api_op_DescribeEventSubscriptions.go.snap index ff2b6980db8..96179ea21c2 100644 --- a/service/rds/snapshot/api_op_DescribeEventSubscriptions.go.snap +++ b/service/rds/snapshot/api_op_DescribeEventSubscriptions.go.snap @@ -14,7 +14,6 @@ DescribeEventSubscriptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeEvents.go.snap b/service/rds/snapshot/api_op_DescribeEvents.go.snap index d4b92015d81..7a366dd1cf9 100644 --- a/service/rds/snapshot/api_op_DescribeEvents.go.snap +++ b/service/rds/snapshot/api_op_DescribeEvents.go.snap @@ -14,7 +14,6 @@ DescribeEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeExportTasks.go.snap b/service/rds/snapshot/api_op_DescribeExportTasks.go.snap index 37c8b2d0ea0..d1af7be7479 100644 --- a/service/rds/snapshot/api_op_DescribeExportTasks.go.snap +++ b/service/rds/snapshot/api_op_DescribeExportTasks.go.snap @@ -14,7 +14,6 @@ DescribeExportTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeGlobalClusters.go.snap b/service/rds/snapshot/api_op_DescribeGlobalClusters.go.snap index e9007236072..e46024d371d 100644 --- a/service/rds/snapshot/api_op_DescribeGlobalClusters.go.snap +++ b/service/rds/snapshot/api_op_DescribeGlobalClusters.go.snap @@ -14,7 +14,6 @@ DescribeGlobalClusters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeIntegrations.go.snap b/service/rds/snapshot/api_op_DescribeIntegrations.go.snap index 031bf8fc39b..5c669ce94f9 100644 --- a/service/rds/snapshot/api_op_DescribeIntegrations.go.snap +++ b/service/rds/snapshot/api_op_DescribeIntegrations.go.snap @@ -14,7 +14,6 @@ DescribeIntegrations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeOptionGroupOptions.go.snap b/service/rds/snapshot/api_op_DescribeOptionGroupOptions.go.snap index 12211819315..19a0bd65fb3 100644 --- a/service/rds/snapshot/api_op_DescribeOptionGroupOptions.go.snap +++ b/service/rds/snapshot/api_op_DescribeOptionGroupOptions.go.snap @@ -14,7 +14,6 @@ DescribeOptionGroupOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeOptionGroups.go.snap b/service/rds/snapshot/api_op_DescribeOptionGroups.go.snap index 3e1f2d38a07..f2f480e3c58 100644 --- a/service/rds/snapshot/api_op_DescribeOptionGroups.go.snap +++ b/service/rds/snapshot/api_op_DescribeOptionGroups.go.snap @@ -14,7 +14,6 @@ DescribeOptionGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeOrderableDBInstanceOptions.go.snap b/service/rds/snapshot/api_op_DescribeOrderableDBInstanceOptions.go.snap index 6a595d9d1f2..91ca3932ea5 100644 --- a/service/rds/snapshot/api_op_DescribeOrderableDBInstanceOptions.go.snap +++ b/service/rds/snapshot/api_op_DescribeOrderableDBInstanceOptions.go.snap @@ -14,7 +14,6 @@ DescribeOrderableDBInstanceOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribePendingMaintenanceActions.go.snap b/service/rds/snapshot/api_op_DescribePendingMaintenanceActions.go.snap index 56165855a0e..6a5fc44c87f 100644 --- a/service/rds/snapshot/api_op_DescribePendingMaintenanceActions.go.snap +++ b/service/rds/snapshot/api_op_DescribePendingMaintenanceActions.go.snap @@ -14,7 +14,6 @@ DescribePendingMaintenanceActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeReservedDBInstances.go.snap b/service/rds/snapshot/api_op_DescribeReservedDBInstances.go.snap index 234db223316..a6a7789b73e 100644 --- a/service/rds/snapshot/api_op_DescribeReservedDBInstances.go.snap +++ b/service/rds/snapshot/api_op_DescribeReservedDBInstances.go.snap @@ -14,7 +14,6 @@ DescribeReservedDBInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeReservedDBInstancesOfferings.go.snap b/service/rds/snapshot/api_op_DescribeReservedDBInstancesOfferings.go.snap index af3e38a9327..5e50613833b 100644 --- a/service/rds/snapshot/api_op_DescribeReservedDBInstancesOfferings.go.snap +++ b/service/rds/snapshot/api_op_DescribeReservedDBInstancesOfferings.go.snap @@ -14,7 +14,6 @@ DescribeReservedDBInstancesOfferings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeSourceRegions.go.snap b/service/rds/snapshot/api_op_DescribeSourceRegions.go.snap index 39e491ebcbc..db7f9bc9ea4 100644 --- a/service/rds/snapshot/api_op_DescribeSourceRegions.go.snap +++ b/service/rds/snapshot/api_op_DescribeSourceRegions.go.snap @@ -14,7 +14,6 @@ DescribeSourceRegions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeTenantDatabases.go.snap b/service/rds/snapshot/api_op_DescribeTenantDatabases.go.snap index fd8269ff859..4615cc88832 100644 --- a/service/rds/snapshot/api_op_DescribeTenantDatabases.go.snap +++ b/service/rds/snapshot/api_op_DescribeTenantDatabases.go.snap @@ -14,7 +14,6 @@ DescribeTenantDatabases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DescribeValidDBInstanceModifications.go.snap b/service/rds/snapshot/api_op_DescribeValidDBInstanceModifications.go.snap index db683ea7972..f1f436f46a6 100644 --- a/service/rds/snapshot/api_op_DescribeValidDBInstanceModifications.go.snap +++ b/service/rds/snapshot/api_op_DescribeValidDBInstanceModifications.go.snap @@ -14,7 +14,6 @@ DescribeValidDBInstanceModifications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DisableHttpEndpoint.go.snap b/service/rds/snapshot/api_op_DisableHttpEndpoint.go.snap index b52fc5792a3..c608477a56e 100644 --- a/service/rds/snapshot/api_op_DisableHttpEndpoint.go.snap +++ b/service/rds/snapshot/api_op_DisableHttpEndpoint.go.snap @@ -14,7 +14,6 @@ DisableHttpEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_DownloadDBLogFilePortion.go.snap b/service/rds/snapshot/api_op_DownloadDBLogFilePortion.go.snap index 6bc3d57f904..6b57f6f0152 100644 --- a/service/rds/snapshot/api_op_DownloadDBLogFilePortion.go.snap +++ b/service/rds/snapshot/api_op_DownloadDBLogFilePortion.go.snap @@ -14,7 +14,6 @@ DownloadDBLogFilePortion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_EnableHttpEndpoint.go.snap b/service/rds/snapshot/api_op_EnableHttpEndpoint.go.snap index c073c43df2f..8460b82f3f4 100644 --- a/service/rds/snapshot/api_op_EnableHttpEndpoint.go.snap +++ b/service/rds/snapshot/api_op_EnableHttpEndpoint.go.snap @@ -14,7 +14,6 @@ EnableHttpEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_FailoverDBCluster.go.snap b/service/rds/snapshot/api_op_FailoverDBCluster.go.snap index bf64d508e93..881025f2b6c 100644 --- a/service/rds/snapshot/api_op_FailoverDBCluster.go.snap +++ b/service/rds/snapshot/api_op_FailoverDBCluster.go.snap @@ -14,7 +14,6 @@ FailoverDBCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_FailoverGlobalCluster.go.snap b/service/rds/snapshot/api_op_FailoverGlobalCluster.go.snap index 04131a30017..fb973f09386 100644 --- a/service/rds/snapshot/api_op_FailoverGlobalCluster.go.snap +++ b/service/rds/snapshot/api_op_FailoverGlobalCluster.go.snap @@ -14,7 +14,6 @@ FailoverGlobalCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_ListTagsForResource.go.snap b/service/rds/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/rds/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/rds/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_ModifyActivityStream.go.snap b/service/rds/snapshot/api_op_ModifyActivityStream.go.snap index 17d27f5413d..10f8af88da4 100644 --- a/service/rds/snapshot/api_op_ModifyActivityStream.go.snap +++ b/service/rds/snapshot/api_op_ModifyActivityStream.go.snap @@ -13,7 +13,6 @@ ModifyActivityStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_ModifyCertificates.go.snap b/service/rds/snapshot/api_op_ModifyCertificates.go.snap index c16d9b5b81f..5cfe31fe598 100644 --- a/service/rds/snapshot/api_op_ModifyCertificates.go.snap +++ b/service/rds/snapshot/api_op_ModifyCertificates.go.snap @@ -13,7 +13,6 @@ ModifyCertificates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_ModifyCurrentDBClusterCapacity.go.snap b/service/rds/snapshot/api_op_ModifyCurrentDBClusterCapacity.go.snap index 19d49284289..0738a7b23be 100644 --- a/service/rds/snapshot/api_op_ModifyCurrentDBClusterCapacity.go.snap +++ b/service/rds/snapshot/api_op_ModifyCurrentDBClusterCapacity.go.snap @@ -14,7 +14,6 @@ ModifyCurrentDBClusterCapacity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_ModifyCustomDBEngineVersion.go.snap b/service/rds/snapshot/api_op_ModifyCustomDBEngineVersion.go.snap index 56672dcf308..2632dc3e058 100644 --- a/service/rds/snapshot/api_op_ModifyCustomDBEngineVersion.go.snap +++ b/service/rds/snapshot/api_op_ModifyCustomDBEngineVersion.go.snap @@ -14,7 +14,6 @@ ModifyCustomDBEngineVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_ModifyDBCluster.go.snap b/service/rds/snapshot/api_op_ModifyDBCluster.go.snap index 69410d7a268..66af8f96297 100644 --- a/service/rds/snapshot/api_op_ModifyDBCluster.go.snap +++ b/service/rds/snapshot/api_op_ModifyDBCluster.go.snap @@ -14,7 +14,6 @@ ModifyDBCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_ModifyDBClusterEndpoint.go.snap b/service/rds/snapshot/api_op_ModifyDBClusterEndpoint.go.snap index 5392b10651a..aced2416723 100644 --- a/service/rds/snapshot/api_op_ModifyDBClusterEndpoint.go.snap +++ b/service/rds/snapshot/api_op_ModifyDBClusterEndpoint.go.snap @@ -14,7 +14,6 @@ ModifyDBClusterEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_ModifyDBClusterParameterGroup.go.snap b/service/rds/snapshot/api_op_ModifyDBClusterParameterGroup.go.snap index e1183329c85..c29b83c9056 100644 --- a/service/rds/snapshot/api_op_ModifyDBClusterParameterGroup.go.snap +++ b/service/rds/snapshot/api_op_ModifyDBClusterParameterGroup.go.snap @@ -14,7 +14,6 @@ ModifyDBClusterParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_ModifyDBClusterSnapshotAttribute.go.snap b/service/rds/snapshot/api_op_ModifyDBClusterSnapshotAttribute.go.snap index 6bc7f22e6a0..d3c38ed76ca 100644 --- a/service/rds/snapshot/api_op_ModifyDBClusterSnapshotAttribute.go.snap +++ b/service/rds/snapshot/api_op_ModifyDBClusterSnapshotAttribute.go.snap @@ -14,7 +14,6 @@ ModifyDBClusterSnapshotAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_ModifyDBInstance.go.snap b/service/rds/snapshot/api_op_ModifyDBInstance.go.snap index 3c86f5c5fd5..c97ef2c5505 100644 --- a/service/rds/snapshot/api_op_ModifyDBInstance.go.snap +++ b/service/rds/snapshot/api_op_ModifyDBInstance.go.snap @@ -14,7 +14,6 @@ ModifyDBInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_ModifyDBParameterGroup.go.snap b/service/rds/snapshot/api_op_ModifyDBParameterGroup.go.snap index 115f1b0c6c5..1ec75d4206b 100644 --- a/service/rds/snapshot/api_op_ModifyDBParameterGroup.go.snap +++ b/service/rds/snapshot/api_op_ModifyDBParameterGroup.go.snap @@ -14,7 +14,6 @@ ModifyDBParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_ModifyDBProxy.go.snap b/service/rds/snapshot/api_op_ModifyDBProxy.go.snap index 13d370e2054..860be29cb08 100644 --- a/service/rds/snapshot/api_op_ModifyDBProxy.go.snap +++ b/service/rds/snapshot/api_op_ModifyDBProxy.go.snap @@ -14,7 +14,6 @@ ModifyDBProxy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_ModifyDBProxyEndpoint.go.snap b/service/rds/snapshot/api_op_ModifyDBProxyEndpoint.go.snap index 1cd066ad034..3c4006b6ada 100644 --- a/service/rds/snapshot/api_op_ModifyDBProxyEndpoint.go.snap +++ b/service/rds/snapshot/api_op_ModifyDBProxyEndpoint.go.snap @@ -14,7 +14,6 @@ ModifyDBProxyEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_ModifyDBProxyTargetGroup.go.snap b/service/rds/snapshot/api_op_ModifyDBProxyTargetGroup.go.snap index 442410d1ac2..11b5884c42f 100644 --- a/service/rds/snapshot/api_op_ModifyDBProxyTargetGroup.go.snap +++ b/service/rds/snapshot/api_op_ModifyDBProxyTargetGroup.go.snap @@ -14,7 +14,6 @@ ModifyDBProxyTargetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_ModifyDBRecommendation.go.snap b/service/rds/snapshot/api_op_ModifyDBRecommendation.go.snap index a6bf9441ad8..212ac08bd7d 100644 --- a/service/rds/snapshot/api_op_ModifyDBRecommendation.go.snap +++ b/service/rds/snapshot/api_op_ModifyDBRecommendation.go.snap @@ -14,7 +14,6 @@ ModifyDBRecommendation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_ModifyDBShardGroup.go.snap b/service/rds/snapshot/api_op_ModifyDBShardGroup.go.snap index e9ad78db6e0..cb12df0ae03 100644 --- a/service/rds/snapshot/api_op_ModifyDBShardGroup.go.snap +++ b/service/rds/snapshot/api_op_ModifyDBShardGroup.go.snap @@ -14,7 +14,6 @@ ModifyDBShardGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_ModifyDBSnapshot.go.snap b/service/rds/snapshot/api_op_ModifyDBSnapshot.go.snap index bf4df288199..cd7302690db 100644 --- a/service/rds/snapshot/api_op_ModifyDBSnapshot.go.snap +++ b/service/rds/snapshot/api_op_ModifyDBSnapshot.go.snap @@ -14,7 +14,6 @@ ModifyDBSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_ModifyDBSnapshotAttribute.go.snap b/service/rds/snapshot/api_op_ModifyDBSnapshotAttribute.go.snap index 821a801f640..98e397d7624 100644 --- a/service/rds/snapshot/api_op_ModifyDBSnapshotAttribute.go.snap +++ b/service/rds/snapshot/api_op_ModifyDBSnapshotAttribute.go.snap @@ -14,7 +14,6 @@ ModifyDBSnapshotAttribute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_ModifyDBSubnetGroup.go.snap b/service/rds/snapshot/api_op_ModifyDBSubnetGroup.go.snap index 1f42b602ae8..e4e52ea89c4 100644 --- a/service/rds/snapshot/api_op_ModifyDBSubnetGroup.go.snap +++ b/service/rds/snapshot/api_op_ModifyDBSubnetGroup.go.snap @@ -14,7 +14,6 @@ ModifyDBSubnetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_ModifyEventSubscription.go.snap b/service/rds/snapshot/api_op_ModifyEventSubscription.go.snap index 0facf4e0e8f..805942e17a2 100644 --- a/service/rds/snapshot/api_op_ModifyEventSubscription.go.snap +++ b/service/rds/snapshot/api_op_ModifyEventSubscription.go.snap @@ -14,7 +14,6 @@ ModifyEventSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_ModifyGlobalCluster.go.snap b/service/rds/snapshot/api_op_ModifyGlobalCluster.go.snap index a723b0ff126..4d55da7a292 100644 --- a/service/rds/snapshot/api_op_ModifyGlobalCluster.go.snap +++ b/service/rds/snapshot/api_op_ModifyGlobalCluster.go.snap @@ -13,7 +13,6 @@ ModifyGlobalCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_ModifyIntegration.go.snap b/service/rds/snapshot/api_op_ModifyIntegration.go.snap index d884fc0266e..654cbf0d1df 100644 --- a/service/rds/snapshot/api_op_ModifyIntegration.go.snap +++ b/service/rds/snapshot/api_op_ModifyIntegration.go.snap @@ -14,7 +14,6 @@ ModifyIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_ModifyOptionGroup.go.snap b/service/rds/snapshot/api_op_ModifyOptionGroup.go.snap index ab84d513742..6241c7cc61c 100644 --- a/service/rds/snapshot/api_op_ModifyOptionGroup.go.snap +++ b/service/rds/snapshot/api_op_ModifyOptionGroup.go.snap @@ -14,7 +14,6 @@ ModifyOptionGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_ModifyTenantDatabase.go.snap b/service/rds/snapshot/api_op_ModifyTenantDatabase.go.snap index c764c7a1766..1b8ac1c50c0 100644 --- a/service/rds/snapshot/api_op_ModifyTenantDatabase.go.snap +++ b/service/rds/snapshot/api_op_ModifyTenantDatabase.go.snap @@ -14,7 +14,6 @@ ModifyTenantDatabase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_PromoteReadReplica.go.snap b/service/rds/snapshot/api_op_PromoteReadReplica.go.snap index c7d5ca5b6bc..2962529df90 100644 --- a/service/rds/snapshot/api_op_PromoteReadReplica.go.snap +++ b/service/rds/snapshot/api_op_PromoteReadReplica.go.snap @@ -14,7 +14,6 @@ PromoteReadReplica Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_PromoteReadReplicaDBCluster.go.snap b/service/rds/snapshot/api_op_PromoteReadReplicaDBCluster.go.snap index 08881bae4da..8f91068f3d9 100644 --- a/service/rds/snapshot/api_op_PromoteReadReplicaDBCluster.go.snap +++ b/service/rds/snapshot/api_op_PromoteReadReplicaDBCluster.go.snap @@ -14,7 +14,6 @@ PromoteReadReplicaDBCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_PurchaseReservedDBInstancesOffering.go.snap b/service/rds/snapshot/api_op_PurchaseReservedDBInstancesOffering.go.snap index 1acc2ba58d0..d6d95ed3008 100644 --- a/service/rds/snapshot/api_op_PurchaseReservedDBInstancesOffering.go.snap +++ b/service/rds/snapshot/api_op_PurchaseReservedDBInstancesOffering.go.snap @@ -14,7 +14,6 @@ PurchaseReservedDBInstancesOffering Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_RebootDBCluster.go.snap b/service/rds/snapshot/api_op_RebootDBCluster.go.snap index c6d7e89f4ef..4544c556416 100644 --- a/service/rds/snapshot/api_op_RebootDBCluster.go.snap +++ b/service/rds/snapshot/api_op_RebootDBCluster.go.snap @@ -14,7 +14,6 @@ RebootDBCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_RebootDBInstance.go.snap b/service/rds/snapshot/api_op_RebootDBInstance.go.snap index ebaac068bfe..2d5f470fcdf 100644 --- a/service/rds/snapshot/api_op_RebootDBInstance.go.snap +++ b/service/rds/snapshot/api_op_RebootDBInstance.go.snap @@ -14,7 +14,6 @@ RebootDBInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_RebootDBShardGroup.go.snap b/service/rds/snapshot/api_op_RebootDBShardGroup.go.snap index 3c1860f8805..6a6bc17d5e1 100644 --- a/service/rds/snapshot/api_op_RebootDBShardGroup.go.snap +++ b/service/rds/snapshot/api_op_RebootDBShardGroup.go.snap @@ -14,7 +14,6 @@ RebootDBShardGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_RegisterDBProxyTargets.go.snap b/service/rds/snapshot/api_op_RegisterDBProxyTargets.go.snap index 8b9548d3dc1..eb218278b15 100644 --- a/service/rds/snapshot/api_op_RegisterDBProxyTargets.go.snap +++ b/service/rds/snapshot/api_op_RegisterDBProxyTargets.go.snap @@ -14,7 +14,6 @@ RegisterDBProxyTargets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_RemoveFromGlobalCluster.go.snap b/service/rds/snapshot/api_op_RemoveFromGlobalCluster.go.snap index 867ec2cf814..88a6571a3b2 100644 --- a/service/rds/snapshot/api_op_RemoveFromGlobalCluster.go.snap +++ b/service/rds/snapshot/api_op_RemoveFromGlobalCluster.go.snap @@ -13,7 +13,6 @@ RemoveFromGlobalCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_RemoveRoleFromDBCluster.go.snap b/service/rds/snapshot/api_op_RemoveRoleFromDBCluster.go.snap index 85e058b8645..91c4d0bcddb 100644 --- a/service/rds/snapshot/api_op_RemoveRoleFromDBCluster.go.snap +++ b/service/rds/snapshot/api_op_RemoveRoleFromDBCluster.go.snap @@ -14,7 +14,6 @@ RemoveRoleFromDBCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_RemoveRoleFromDBInstance.go.snap b/service/rds/snapshot/api_op_RemoveRoleFromDBInstance.go.snap index 6cbbdc6366e..0fd252fe55b 100644 --- a/service/rds/snapshot/api_op_RemoveRoleFromDBInstance.go.snap +++ b/service/rds/snapshot/api_op_RemoveRoleFromDBInstance.go.snap @@ -14,7 +14,6 @@ RemoveRoleFromDBInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_RemoveSourceIdentifierFromSubscription.go.snap b/service/rds/snapshot/api_op_RemoveSourceIdentifierFromSubscription.go.snap index ec13206d8ed..c262fef59a5 100644 --- a/service/rds/snapshot/api_op_RemoveSourceIdentifierFromSubscription.go.snap +++ b/service/rds/snapshot/api_op_RemoveSourceIdentifierFromSubscription.go.snap @@ -14,7 +14,6 @@ RemoveSourceIdentifierFromSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_RemoveTagsFromResource.go.snap b/service/rds/snapshot/api_op_RemoveTagsFromResource.go.snap index e43df9156ac..48a29e492e9 100644 --- a/service/rds/snapshot/api_op_RemoveTagsFromResource.go.snap +++ b/service/rds/snapshot/api_op_RemoveTagsFromResource.go.snap @@ -14,7 +14,6 @@ RemoveTagsFromResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_ResetDBClusterParameterGroup.go.snap b/service/rds/snapshot/api_op_ResetDBClusterParameterGroup.go.snap index 78989d7942f..b1ae46b23e5 100644 --- a/service/rds/snapshot/api_op_ResetDBClusterParameterGroup.go.snap +++ b/service/rds/snapshot/api_op_ResetDBClusterParameterGroup.go.snap @@ -14,7 +14,6 @@ ResetDBClusterParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_ResetDBParameterGroup.go.snap b/service/rds/snapshot/api_op_ResetDBParameterGroup.go.snap index 9d229b94921..f913022f1ea 100644 --- a/service/rds/snapshot/api_op_ResetDBParameterGroup.go.snap +++ b/service/rds/snapshot/api_op_ResetDBParameterGroup.go.snap @@ -14,7 +14,6 @@ ResetDBParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_RestoreDBClusterFromS3.go.snap b/service/rds/snapshot/api_op_RestoreDBClusterFromS3.go.snap index 512fd2cc948..7c3e74633c0 100644 --- a/service/rds/snapshot/api_op_RestoreDBClusterFromS3.go.snap +++ b/service/rds/snapshot/api_op_RestoreDBClusterFromS3.go.snap @@ -14,7 +14,6 @@ RestoreDBClusterFromS3 Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_RestoreDBClusterFromSnapshot.go.snap b/service/rds/snapshot/api_op_RestoreDBClusterFromSnapshot.go.snap index f3f5f5db007..4303819021c 100644 --- a/service/rds/snapshot/api_op_RestoreDBClusterFromSnapshot.go.snap +++ b/service/rds/snapshot/api_op_RestoreDBClusterFromSnapshot.go.snap @@ -14,7 +14,6 @@ RestoreDBClusterFromSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_RestoreDBClusterToPointInTime.go.snap b/service/rds/snapshot/api_op_RestoreDBClusterToPointInTime.go.snap index 4acc3f0c4cf..b8e0609eb0b 100644 --- a/service/rds/snapshot/api_op_RestoreDBClusterToPointInTime.go.snap +++ b/service/rds/snapshot/api_op_RestoreDBClusterToPointInTime.go.snap @@ -14,7 +14,6 @@ RestoreDBClusterToPointInTime Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_RestoreDBInstanceFromDBSnapshot.go.snap b/service/rds/snapshot/api_op_RestoreDBInstanceFromDBSnapshot.go.snap index 71b8f34bc67..3205d542210 100644 --- a/service/rds/snapshot/api_op_RestoreDBInstanceFromDBSnapshot.go.snap +++ b/service/rds/snapshot/api_op_RestoreDBInstanceFromDBSnapshot.go.snap @@ -14,7 +14,6 @@ RestoreDBInstanceFromDBSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_RestoreDBInstanceFromS3.go.snap b/service/rds/snapshot/api_op_RestoreDBInstanceFromS3.go.snap index 585747147dd..eb0c595e3a4 100644 --- a/service/rds/snapshot/api_op_RestoreDBInstanceFromS3.go.snap +++ b/service/rds/snapshot/api_op_RestoreDBInstanceFromS3.go.snap @@ -14,7 +14,6 @@ RestoreDBInstanceFromS3 Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_RestoreDBInstanceToPointInTime.go.snap b/service/rds/snapshot/api_op_RestoreDBInstanceToPointInTime.go.snap index e8a5de3f819..e2951d8e806 100644 --- a/service/rds/snapshot/api_op_RestoreDBInstanceToPointInTime.go.snap +++ b/service/rds/snapshot/api_op_RestoreDBInstanceToPointInTime.go.snap @@ -14,7 +14,6 @@ RestoreDBInstanceToPointInTime Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_RevokeDBSecurityGroupIngress.go.snap b/service/rds/snapshot/api_op_RevokeDBSecurityGroupIngress.go.snap index 6ace461d9f0..3f150edeb63 100644 --- a/service/rds/snapshot/api_op_RevokeDBSecurityGroupIngress.go.snap +++ b/service/rds/snapshot/api_op_RevokeDBSecurityGroupIngress.go.snap @@ -14,7 +14,6 @@ RevokeDBSecurityGroupIngress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_StartActivityStream.go.snap b/service/rds/snapshot/api_op_StartActivityStream.go.snap index 7e203d481a7..a3083f4bd71 100644 --- a/service/rds/snapshot/api_op_StartActivityStream.go.snap +++ b/service/rds/snapshot/api_op_StartActivityStream.go.snap @@ -14,7 +14,6 @@ StartActivityStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_StartDBCluster.go.snap b/service/rds/snapshot/api_op_StartDBCluster.go.snap index 050579b0cca..c8fdca72110 100644 --- a/service/rds/snapshot/api_op_StartDBCluster.go.snap +++ b/service/rds/snapshot/api_op_StartDBCluster.go.snap @@ -14,7 +14,6 @@ StartDBCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_StartDBInstance.go.snap b/service/rds/snapshot/api_op_StartDBInstance.go.snap index b718e2c3e2e..5e7f9680894 100644 --- a/service/rds/snapshot/api_op_StartDBInstance.go.snap +++ b/service/rds/snapshot/api_op_StartDBInstance.go.snap @@ -14,7 +14,6 @@ StartDBInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_StartDBInstanceAutomatedBackupsReplication.go.snap b/service/rds/snapshot/api_op_StartDBInstanceAutomatedBackupsReplication.go.snap index 6e490cedf50..855ea9009b7 100644 --- a/service/rds/snapshot/api_op_StartDBInstanceAutomatedBackupsReplication.go.snap +++ b/service/rds/snapshot/api_op_StartDBInstanceAutomatedBackupsReplication.go.snap @@ -14,7 +14,6 @@ StartDBInstanceAutomatedBackupsReplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_StartExportTask.go.snap b/service/rds/snapshot/api_op_StartExportTask.go.snap index 372f83d4d85..7cb5950c4fa 100644 --- a/service/rds/snapshot/api_op_StartExportTask.go.snap +++ b/service/rds/snapshot/api_op_StartExportTask.go.snap @@ -14,7 +14,6 @@ StartExportTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_StopActivityStream.go.snap b/service/rds/snapshot/api_op_StopActivityStream.go.snap index b9335394426..f0df8e2703e 100644 --- a/service/rds/snapshot/api_op_StopActivityStream.go.snap +++ b/service/rds/snapshot/api_op_StopActivityStream.go.snap @@ -14,7 +14,6 @@ StopActivityStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_StopDBCluster.go.snap b/service/rds/snapshot/api_op_StopDBCluster.go.snap index 42e3cd5606f..8235a032291 100644 --- a/service/rds/snapshot/api_op_StopDBCluster.go.snap +++ b/service/rds/snapshot/api_op_StopDBCluster.go.snap @@ -14,7 +14,6 @@ StopDBCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_StopDBInstance.go.snap b/service/rds/snapshot/api_op_StopDBInstance.go.snap index 001f8c4d6ae..9375463744d 100644 --- a/service/rds/snapshot/api_op_StopDBInstance.go.snap +++ b/service/rds/snapshot/api_op_StopDBInstance.go.snap @@ -14,7 +14,6 @@ StopDBInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_StopDBInstanceAutomatedBackupsReplication.go.snap b/service/rds/snapshot/api_op_StopDBInstanceAutomatedBackupsReplication.go.snap index bf759802840..345e686c7ce 100644 --- a/service/rds/snapshot/api_op_StopDBInstanceAutomatedBackupsReplication.go.snap +++ b/service/rds/snapshot/api_op_StopDBInstanceAutomatedBackupsReplication.go.snap @@ -14,7 +14,6 @@ StopDBInstanceAutomatedBackupsReplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_SwitchoverBlueGreenDeployment.go.snap b/service/rds/snapshot/api_op_SwitchoverBlueGreenDeployment.go.snap index ef80d00984a..90b172d8101 100644 --- a/service/rds/snapshot/api_op_SwitchoverBlueGreenDeployment.go.snap +++ b/service/rds/snapshot/api_op_SwitchoverBlueGreenDeployment.go.snap @@ -14,7 +14,6 @@ SwitchoverBlueGreenDeployment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_SwitchoverGlobalCluster.go.snap b/service/rds/snapshot/api_op_SwitchoverGlobalCluster.go.snap index 891024897d3..1ad1c85c3e0 100644 --- a/service/rds/snapshot/api_op_SwitchoverGlobalCluster.go.snap +++ b/service/rds/snapshot/api_op_SwitchoverGlobalCluster.go.snap @@ -14,7 +14,6 @@ SwitchoverGlobalCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rds/snapshot/api_op_SwitchoverReadReplica.go.snap b/service/rds/snapshot/api_op_SwitchoverReadReplica.go.snap index c7346265716..007d40a5ce2 100644 --- a/service/rds/snapshot/api_op_SwitchoverReadReplica.go.snap +++ b/service/rds/snapshot/api_op_SwitchoverReadReplica.go.snap @@ -14,7 +14,6 @@ SwitchoverReadReplica Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rdsdata/api_client.go b/service/rdsdata/api_client.go index 62007786b6e..1cbc4bd047e 100644 --- a/service/rdsdata/api_client.go +++ b/service/rdsdata/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/rdsdata/api_op_BatchExecuteStatement.go b/service/rdsdata/api_op_BatchExecuteStatement.go index 5d4602b193b..2ea3f648223 100644 --- a/service/rdsdata/api_op_BatchExecuteStatement.go +++ b/service/rdsdata/api_op_BatchExecuteStatement.go @@ -181,9 +181,6 @@ func (c *Client) addOperationBatchExecuteStatementMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchExecuteStatementValidationMiddleware(stack); err != nil { return err } diff --git a/service/rdsdata/api_op_BeginTransaction.go b/service/rdsdata/api_op_BeginTransaction.go index 46dc93b64ab..2675d1b56ef 100644 --- a/service/rdsdata/api_op_BeginTransaction.go +++ b/service/rdsdata/api_op_BeginTransaction.go @@ -136,9 +136,6 @@ func (c *Client) addOperationBeginTransactionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBeginTransactionValidationMiddleware(stack); err != nil { return err } diff --git a/service/rdsdata/api_op_CommitTransaction.go b/service/rdsdata/api_op_CommitTransaction.go index 8f800a193e1..45133832c07 100644 --- a/service/rdsdata/api_op_CommitTransaction.go +++ b/service/rdsdata/api_op_CommitTransaction.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCommitTransactionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCommitTransactionValidationMiddleware(stack); err != nil { return err } diff --git a/service/rdsdata/api_op_ExecuteSql.go b/service/rdsdata/api_op_ExecuteSql.go index 887e8e540ce..2c52c5a1d59 100644 --- a/service/rdsdata/api_op_ExecuteSql.go +++ b/service/rdsdata/api_op_ExecuteSql.go @@ -149,9 +149,6 @@ func (c *Client) addOperationExecuteSqlMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExecuteSqlValidationMiddleware(stack); err != nil { return err } diff --git a/service/rdsdata/api_op_ExecuteStatement.go b/service/rdsdata/api_op_ExecuteStatement.go index ff09f89c948..6b3c52e3415 100644 --- a/service/rdsdata/api_op_ExecuteStatement.go +++ b/service/rdsdata/api_op_ExecuteStatement.go @@ -208,9 +208,6 @@ func (c *Client) addOperationExecuteStatementMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExecuteStatementValidationMiddleware(stack); err != nil { return err } diff --git a/service/rdsdata/api_op_RollbackTransaction.go b/service/rdsdata/api_op_RollbackTransaction.go index 8c42e259927..95c75ab9bd9 100644 --- a/service/rdsdata/api_op_RollbackTransaction.go +++ b/service/rdsdata/api_op_RollbackTransaction.go @@ -126,9 +126,6 @@ func (c *Client) addOperationRollbackTransactionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRollbackTransactionValidationMiddleware(stack); err != nil { return err } diff --git a/service/rdsdata/snapshot/api_op_BatchExecuteStatement.go.snap b/service/rdsdata/snapshot/api_op_BatchExecuteStatement.go.snap index c286af35b37..75fb75497ad 100644 --- a/service/rdsdata/snapshot/api_op_BatchExecuteStatement.go.snap +++ b/service/rdsdata/snapshot/api_op_BatchExecuteStatement.go.snap @@ -14,7 +14,6 @@ BatchExecuteStatement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rdsdata/snapshot/api_op_BeginTransaction.go.snap b/service/rdsdata/snapshot/api_op_BeginTransaction.go.snap index 254efd56161..e8d31f47443 100644 --- a/service/rdsdata/snapshot/api_op_BeginTransaction.go.snap +++ b/service/rdsdata/snapshot/api_op_BeginTransaction.go.snap @@ -14,7 +14,6 @@ BeginTransaction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rdsdata/snapshot/api_op_CommitTransaction.go.snap b/service/rdsdata/snapshot/api_op_CommitTransaction.go.snap index ed249040ebb..6cf039ba99f 100644 --- a/service/rdsdata/snapshot/api_op_CommitTransaction.go.snap +++ b/service/rdsdata/snapshot/api_op_CommitTransaction.go.snap @@ -14,7 +14,6 @@ CommitTransaction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rdsdata/snapshot/api_op_ExecuteSql.go.snap b/service/rdsdata/snapshot/api_op_ExecuteSql.go.snap index 2acff810ac2..7a2c1f45b69 100644 --- a/service/rdsdata/snapshot/api_op_ExecuteSql.go.snap +++ b/service/rdsdata/snapshot/api_op_ExecuteSql.go.snap @@ -14,7 +14,6 @@ ExecuteSql Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rdsdata/snapshot/api_op_ExecuteStatement.go.snap b/service/rdsdata/snapshot/api_op_ExecuteStatement.go.snap index ef56d315698..ac39c668e07 100644 --- a/service/rdsdata/snapshot/api_op_ExecuteStatement.go.snap +++ b/service/rdsdata/snapshot/api_op_ExecuteStatement.go.snap @@ -14,7 +14,6 @@ ExecuteStatement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rdsdata/snapshot/api_op_RollbackTransaction.go.snap b/service/rdsdata/snapshot/api_op_RollbackTransaction.go.snap index 232d04da1a7..4da59d808b9 100644 --- a/service/rdsdata/snapshot/api_op_RollbackTransaction.go.snap +++ b/service/rdsdata/snapshot/api_op_RollbackTransaction.go.snap @@ -14,7 +14,6 @@ RollbackTransaction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/api_client.go b/service/redshift/api_client.go index b9c0a1b61a7..82effc0bbc9 100644 --- a/service/redshift/api_client.go +++ b/service/redshift/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/redshift/api_op_AcceptReservedNodeExchange.go b/service/redshift/api_op_AcceptReservedNodeExchange.go index 730b322e23b..9eca2fd5b2d 100644 --- a/service/redshift/api_op_AcceptReservedNodeExchange.go +++ b/service/redshift/api_op_AcceptReservedNodeExchange.go @@ -120,9 +120,6 @@ func (c *Client) addOperationAcceptReservedNodeExchangeMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptReservedNodeExchangeValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_AddPartner.go b/service/redshift/api_op_AddPartner.go index 55e3f5ef587..45a2f123581 100644 --- a/service/redshift/api_op_AddPartner.go +++ b/service/redshift/api_op_AddPartner.go @@ -131,9 +131,6 @@ func (c *Client) addOperationAddPartnerMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddPartnerValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_AssociateDataShareConsumer.go b/service/redshift/api_op_AssociateDataShareConsumer.go index 9e52071acb7..11db9a0a88e 100644 --- a/service/redshift/api_op_AssociateDataShareConsumer.go +++ b/service/redshift/api_op_AssociateDataShareConsumer.go @@ -146,9 +146,6 @@ func (c *Client) addOperationAssociateDataShareConsumerMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateDataShareConsumerValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_AuthorizeClusterSecurityGroupIngress.go b/service/redshift/api_op_AuthorizeClusterSecurityGroupIngress.go index 165d6eb8c2d..9253b3b2a3e 100644 --- a/service/redshift/api_op_AuthorizeClusterSecurityGroupIngress.go +++ b/service/redshift/api_op_AuthorizeClusterSecurityGroupIngress.go @@ -145,9 +145,6 @@ func (c *Client) addOperationAuthorizeClusterSecurityGroupIngressMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAuthorizeClusterSecurityGroupIngressValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_AuthorizeDataShare.go b/service/redshift/api_op_AuthorizeDataShare.go index 46da5917f07..fefa06851a7 100644 --- a/service/redshift/api_op_AuthorizeDataShare.go +++ b/service/redshift/api_op_AuthorizeDataShare.go @@ -141,9 +141,6 @@ func (c *Client) addOperationAuthorizeDataShareMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAuthorizeDataShareValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_AuthorizeEndpointAccess.go b/service/redshift/api_op_AuthorizeEndpointAccess.go index e3bfc7f9de8..0277c8e8510 100644 --- a/service/redshift/api_op_AuthorizeEndpointAccess.go +++ b/service/redshift/api_op_AuthorizeEndpointAccess.go @@ -146,9 +146,6 @@ func (c *Client) addOperationAuthorizeEndpointAccessMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAuthorizeEndpointAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_AuthorizeSnapshotAccess.go b/service/redshift/api_op_AuthorizeSnapshotAccess.go index c7b3c391cda..961626357df 100644 --- a/service/redshift/api_op_AuthorizeSnapshotAccess.go +++ b/service/redshift/api_op_AuthorizeSnapshotAccess.go @@ -139,9 +139,6 @@ func (c *Client) addOperationAuthorizeSnapshotAccessMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAuthorizeSnapshotAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_BatchDeleteClusterSnapshots.go b/service/redshift/api_op_BatchDeleteClusterSnapshots.go index 3808e6baccb..8b5bc2467b0 100644 --- a/service/redshift/api_op_BatchDeleteClusterSnapshots.go +++ b/service/redshift/api_op_BatchDeleteClusterSnapshots.go @@ -115,9 +115,6 @@ func (c *Client) addOperationBatchDeleteClusterSnapshotsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDeleteClusterSnapshotsValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_BatchModifyClusterSnapshots.go b/service/redshift/api_op_BatchModifyClusterSnapshots.go index ed850554da5..3150fad9756 100644 --- a/service/redshift/api_op_BatchModifyClusterSnapshots.go +++ b/service/redshift/api_op_BatchModifyClusterSnapshots.go @@ -130,9 +130,6 @@ func (c *Client) addOperationBatchModifyClusterSnapshotsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchModifyClusterSnapshotsValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CancelResize.go b/service/redshift/api_op_CancelResize.go index b274fb9cf87..43bc9010a75 100644 --- a/service/redshift/api_op_CancelResize.go +++ b/service/redshift/api_op_CancelResize.go @@ -184,9 +184,6 @@ func (c *Client) addOperationCancelResizeMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelResizeValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CopyClusterSnapshot.go b/service/redshift/api_op_CopyClusterSnapshot.go index 550fa799c68..57082dd25cd 100644 --- a/service/redshift/api_op_CopyClusterSnapshot.go +++ b/service/redshift/api_op_CopyClusterSnapshot.go @@ -165,9 +165,6 @@ func (c *Client) addOperationCopyClusterSnapshotMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCopyClusterSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CreateAuthenticationProfile.go b/service/redshift/api_op_CreateAuthenticationProfile.go index 1e753c03a97..9afb3ad49cd 100644 --- a/service/redshift/api_op_CreateAuthenticationProfile.go +++ b/service/redshift/api_op_CreateAuthenticationProfile.go @@ -120,9 +120,6 @@ func (c *Client) addOperationCreateAuthenticationProfileMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAuthenticationProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CreateCluster.go b/service/redshift/api_op_CreateCluster.go index dff00ec87a9..d88f3f904b6 100644 --- a/service/redshift/api_op_CreateCluster.go +++ b/service/redshift/api_op_CreateCluster.go @@ -482,9 +482,6 @@ func (c *Client) addOperationCreateClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CreateClusterParameterGroup.go b/service/redshift/api_op_CreateClusterParameterGroup.go index 139e5d6cd21..9d8e77a4622 100644 --- a/service/redshift/api_op_CreateClusterParameterGroup.go +++ b/service/redshift/api_op_CreateClusterParameterGroup.go @@ -156,9 +156,6 @@ func (c *Client) addOperationCreateClusterParameterGroupMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateClusterParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CreateClusterSecurityGroup.go b/service/redshift/api_op_CreateClusterSecurityGroup.go index 145be8404ba..34a6c5e1f5c 100644 --- a/service/redshift/api_op_CreateClusterSecurityGroup.go +++ b/service/redshift/api_op_CreateClusterSecurityGroup.go @@ -138,9 +138,6 @@ func (c *Client) addOperationCreateClusterSecurityGroupMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateClusterSecurityGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CreateClusterSnapshot.go b/service/redshift/api_op_CreateClusterSnapshot.go index 136b687c7a8..4362b5fdf36 100644 --- a/service/redshift/api_op_CreateClusterSnapshot.go +++ b/service/redshift/api_op_CreateClusterSnapshot.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCreateClusterSnapshotMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateClusterSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CreateClusterSubnetGroup.go b/service/redshift/api_op_CreateClusterSubnetGroup.go index 8c3032fbc8c..96f4428a26d 100644 --- a/service/redshift/api_op_CreateClusterSubnetGroup.go +++ b/service/redshift/api_op_CreateClusterSubnetGroup.go @@ -145,9 +145,6 @@ func (c *Client) addOperationCreateClusterSubnetGroupMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateClusterSubnetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CreateCustomDomainAssociation.go b/service/redshift/api_op_CreateCustomDomainAssociation.go index 8930e278d70..ce45c9ca8d2 100644 --- a/service/redshift/api_op_CreateCustomDomainAssociation.go +++ b/service/redshift/api_op_CreateCustomDomainAssociation.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCreateCustomDomainAssociationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCustomDomainAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CreateEndpointAccess.go b/service/redshift/api_op_CreateEndpointAccess.go index 54a5c52aa24..8e31540725c 100644 --- a/service/redshift/api_op_CreateEndpointAccess.go +++ b/service/redshift/api_op_CreateEndpointAccess.go @@ -163,9 +163,6 @@ func (c *Client) addOperationCreateEndpointAccessMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEndpointAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CreateEventSubscription.go b/service/redshift/api_op_CreateEventSubscription.go index 5b08778ac52..f6b1a0d8272 100644 --- a/service/redshift/api_op_CreateEventSubscription.go +++ b/service/redshift/api_op_CreateEventSubscription.go @@ -190,9 +190,6 @@ func (c *Client) addOperationCreateEventSubscriptionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEventSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CreateHsmClientCertificate.go b/service/redshift/api_op_CreateHsmClientCertificate.go index 061dcb9cc7b..78ad9e196ea 100644 --- a/service/redshift/api_op_CreateHsmClientCertificate.go +++ b/service/redshift/api_op_CreateHsmClientCertificate.go @@ -128,9 +128,6 @@ func (c *Client) addOperationCreateHsmClientCertificateMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateHsmClientCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CreateHsmConfiguration.go b/service/redshift/api_op_CreateHsmConfiguration.go index 354bc9d988e..9debd2e0730 100644 --- a/service/redshift/api_op_CreateHsmConfiguration.go +++ b/service/redshift/api_op_CreateHsmConfiguration.go @@ -154,9 +154,6 @@ func (c *Client) addOperationCreateHsmConfigurationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateHsmConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CreateIntegration.go b/service/redshift/api_op_CreateIntegration.go index afcfce56cd0..9784648ced0 100644 --- a/service/redshift/api_op_CreateIntegration.go +++ b/service/redshift/api_op_CreateIntegration.go @@ -181,9 +181,6 @@ func (c *Client) addOperationCreateIntegrationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateIntegrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CreateRedshiftIdcApplication.go b/service/redshift/api_op_CreateRedshiftIdcApplication.go index f333a0f5db5..83a66454054 100644 --- a/service/redshift/api_op_CreateRedshiftIdcApplication.go +++ b/service/redshift/api_op_CreateRedshiftIdcApplication.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCreateRedshiftIdcApplicationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRedshiftIdcApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CreateScheduledAction.go b/service/redshift/api_op_CreateScheduledAction.go index bb310f825b0..129e1397c98 100644 --- a/service/redshift/api_op_CreateScheduledAction.go +++ b/service/redshift/api_op_CreateScheduledAction.go @@ -201,9 +201,6 @@ func (c *Client) addOperationCreateScheduledActionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateScheduledActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CreateSnapshotCopyGrant.go b/service/redshift/api_op_CreateSnapshotCopyGrant.go index 0523b5fd5a9..d457127f02e 100644 --- a/service/redshift/api_op_CreateSnapshotCopyGrant.go +++ b/service/redshift/api_op_CreateSnapshotCopyGrant.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCreateSnapshotCopyGrantMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSnapshotCopyGrantValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CreateSnapshotSchedule.go b/service/redshift/api_op_CreateSnapshotSchedule.go index 71e05a6a876..d291cf871f4 100644 --- a/service/redshift/api_op_CreateSnapshotSchedule.go +++ b/service/redshift/api_op_CreateSnapshotSchedule.go @@ -150,9 +150,6 @@ func (c *Client) addOperationCreateSnapshotScheduleMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSnapshotSchedule(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_CreateTags.go b/service/redshift/api_op_CreateTags.go index 09fd3ddd487..85f92ac3049 100644 --- a/service/redshift/api_op_CreateTags.go +++ b/service/redshift/api_op_CreateTags.go @@ -126,9 +126,6 @@ func (c *Client) addOperationCreateTagsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_CreateUsageLimit.go b/service/redshift/api_op_CreateUsageLimit.go index 9d824ba2507..7ea0e1c474a 100644 --- a/service/redshift/api_op_CreateUsageLimit.go +++ b/service/redshift/api_op_CreateUsageLimit.go @@ -176,9 +176,6 @@ func (c *Client) addOperationCreateUsageLimitMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateUsageLimitValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeauthorizeDataShare.go b/service/redshift/api_op_DeauthorizeDataShare.go index 1a54acfa148..e581e6c9ebc 100644 --- a/service/redshift/api_op_DeauthorizeDataShare.go +++ b/service/redshift/api_op_DeauthorizeDataShare.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDeauthorizeDataShareMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeauthorizeDataShareValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteAuthenticationProfile.go b/service/redshift/api_op_DeleteAuthenticationProfile.go index 3022ba53be9..2fd75be7192 100644 --- a/service/redshift/api_op_DeleteAuthenticationProfile.go +++ b/service/redshift/api_op_DeleteAuthenticationProfile.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteAuthenticationProfileMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAuthenticationProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteCluster.go b/service/redshift/api_op_DeleteCluster.go index 2e003094686..602b21879c8 100644 --- a/service/redshift/api_op_DeleteCluster.go +++ b/service/redshift/api_op_DeleteCluster.go @@ -169,9 +169,6 @@ func (c *Client) addOperationDeleteClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteClusterParameterGroup.go b/service/redshift/api_op_DeleteClusterParameterGroup.go index fbee7fa00bf..76b4d6f5c79 100644 --- a/service/redshift/api_op_DeleteClusterParameterGroup.go +++ b/service/redshift/api_op_DeleteClusterParameterGroup.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteClusterParameterGroupMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteClusterParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteClusterSecurityGroup.go b/service/redshift/api_op_DeleteClusterSecurityGroup.go index 31a0a642839..aabba04be5c 100644 --- a/service/redshift/api_op_DeleteClusterSecurityGroup.go +++ b/service/redshift/api_op_DeleteClusterSecurityGroup.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteClusterSecurityGroupMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteClusterSecurityGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteClusterSnapshot.go b/service/redshift/api_op_DeleteClusterSnapshot.go index b2e46473674..ca030ebcc95 100644 --- a/service/redshift/api_op_DeleteClusterSnapshot.go +++ b/service/redshift/api_op_DeleteClusterSnapshot.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDeleteClusterSnapshotMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteClusterSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteClusterSubnetGroup.go b/service/redshift/api_op_DeleteClusterSubnetGroup.go index 5a4b4ea9125..827011b5ded 100644 --- a/service/redshift/api_op_DeleteClusterSubnetGroup.go +++ b/service/redshift/api_op_DeleteClusterSubnetGroup.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteClusterSubnetGroupMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteClusterSubnetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteCustomDomainAssociation.go b/service/redshift/api_op_DeleteCustomDomainAssociation.go index 3b08bad3b4e..c0102bb995d 100644 --- a/service/redshift/api_op_DeleteCustomDomainAssociation.go +++ b/service/redshift/api_op_DeleteCustomDomainAssociation.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteCustomDomainAssociationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCustomDomainAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteEndpointAccess.go b/service/redshift/api_op_DeleteEndpointAccess.go index d397d0cd0f2..598ee08f141 100644 --- a/service/redshift/api_op_DeleteEndpointAccess.go +++ b/service/redshift/api_op_DeleteEndpointAccess.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDeleteEndpointAccessMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEndpointAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteEventSubscription.go b/service/redshift/api_op_DeleteEventSubscription.go index c6216a74eb5..18bfefc377b 100644 --- a/service/redshift/api_op_DeleteEventSubscription.go +++ b/service/redshift/api_op_DeleteEventSubscription.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteEventSubscriptionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEventSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteHsmClientCertificate.go b/service/redshift/api_op_DeleteHsmClientCertificate.go index 0c06f300c7f..7733b184bb8 100644 --- a/service/redshift/api_op_DeleteHsmClientCertificate.go +++ b/service/redshift/api_op_DeleteHsmClientCertificate.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteHsmClientCertificateMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteHsmClientCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteHsmConfiguration.go b/service/redshift/api_op_DeleteHsmConfiguration.go index 94071a5065f..2a3bc8c15af 100644 --- a/service/redshift/api_op_DeleteHsmConfiguration.go +++ b/service/redshift/api_op_DeleteHsmConfiguration.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteHsmConfigurationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteHsmConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteIntegration.go b/service/redshift/api_op_DeleteIntegration.go index b342ea6cc53..758bdc7dd44 100644 --- a/service/redshift/api_op_DeleteIntegration.go +++ b/service/redshift/api_op_DeleteIntegration.go @@ -149,9 +149,6 @@ func (c *Client) addOperationDeleteIntegrationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIntegrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeletePartner.go b/service/redshift/api_op_DeletePartner.go index f2d9d0790c5..dbc94c7e71e 100644 --- a/service/redshift/api_op_DeletePartner.go +++ b/service/redshift/api_op_DeletePartner.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDeletePartnerMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePartnerValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteRedshiftIdcApplication.go b/service/redshift/api_op_DeleteRedshiftIdcApplication.go index 82b7e4ce690..1650bdf1f3e 100644 --- a/service/redshift/api_op_DeleteRedshiftIdcApplication.go +++ b/service/redshift/api_op_DeleteRedshiftIdcApplication.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteRedshiftIdcApplicationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRedshiftIdcApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteResourcePolicy.go b/service/redshift/api_op_DeleteResourcePolicy.go index dca3ed789fb..fc89a9b0cfd 100644 --- a/service/redshift/api_op_DeleteResourcePolicy.go +++ b/service/redshift/api_op_DeleteResourcePolicy.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteScheduledAction.go b/service/redshift/api_op_DeleteScheduledAction.go index a1996fb2c8a..d1c4be4f93e 100644 --- a/service/redshift/api_op_DeleteScheduledAction.go +++ b/service/redshift/api_op_DeleteScheduledAction.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteScheduledActionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteScheduledActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteSnapshotCopyGrant.go b/service/redshift/api_op_DeleteSnapshotCopyGrant.go index fd5b07dbab4..19cb2be1d37 100644 --- a/service/redshift/api_op_DeleteSnapshotCopyGrant.go +++ b/service/redshift/api_op_DeleteSnapshotCopyGrant.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteSnapshotCopyGrantMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSnapshotCopyGrantValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteSnapshotSchedule.go b/service/redshift/api_op_DeleteSnapshotSchedule.go index f9303bcf474..3570c3ae510 100644 --- a/service/redshift/api_op_DeleteSnapshotSchedule.go +++ b/service/redshift/api_op_DeleteSnapshotSchedule.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteSnapshotScheduleMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSnapshotScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteTags.go b/service/redshift/api_op_DeleteTags.go index 06a500c5599..028874d04dd 100644 --- a/service/redshift/api_op_DeleteTags.go +++ b/service/redshift/api_op_DeleteTags.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteTagsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeleteUsageLimit.go b/service/redshift/api_op_DeleteUsageLimit.go index 32eb2a8211f..5d04636a536 100644 --- a/service/redshift/api_op_DeleteUsageLimit.go +++ b/service/redshift/api_op_DeleteUsageLimit.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteUsageLimitMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUsageLimitValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DeregisterNamespace.go b/service/redshift/api_op_DeregisterNamespace.go index 3ed51e51afc..231482b741c 100644 --- a/service/redshift/api_op_DeregisterNamespace.go +++ b/service/redshift/api_op_DeregisterNamespace.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeregisterNamespaceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterNamespaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeAccountAttributes.go b/service/redshift/api_op_DescribeAccountAttributes.go index 6542a7e3f94..a03edc07fc9 100644 --- a/service/redshift/api_op_DescribeAccountAttributes.go +++ b/service/redshift/api_op_DescribeAccountAttributes.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDescribeAccountAttributesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountAttributes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_DescribeAuthenticationProfiles.go b/service/redshift/api_op_DescribeAuthenticationProfiles.go index 0da801c2afa..9cd20c024fd 100644 --- a/service/redshift/api_op_DescribeAuthenticationProfiles.go +++ b/service/redshift/api_op_DescribeAuthenticationProfiles.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDescribeAuthenticationProfilesMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAuthenticationProfiles(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_DescribeClusterDbRevisions.go b/service/redshift/api_op_DescribeClusterDbRevisions.go index ff6c2444791..f46e703f316 100644 --- a/service/redshift/api_op_DescribeClusterDbRevisions.go +++ b/service/redshift/api_op_DescribeClusterDbRevisions.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDescribeClusterDbRevisionsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClusterDbRevisions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_DescribeClusterParameterGroups.go b/service/redshift/api_op_DescribeClusterParameterGroups.go index 0c3490edb6f..c8763ed37b8 100644 --- a/service/redshift/api_op_DescribeClusterParameterGroups.go +++ b/service/redshift/api_op_DescribeClusterParameterGroups.go @@ -171,9 +171,6 @@ func (c *Client) addOperationDescribeClusterParameterGroupsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClusterParameterGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_DescribeClusterParameters.go b/service/redshift/api_op_DescribeClusterParameters.go index 5221dc27f9c..85cf458cddf 100644 --- a/service/redshift/api_op_DescribeClusterParameters.go +++ b/service/redshift/api_op_DescribeClusterParameters.go @@ -159,9 +159,6 @@ func (c *Client) addOperationDescribeClusterParametersMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeClusterParametersValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeClusterSecurityGroups.go b/service/redshift/api_op_DescribeClusterSecurityGroups.go index cb6343649f0..f22ba3f0211 100644 --- a/service/redshift/api_op_DescribeClusterSecurityGroups.go +++ b/service/redshift/api_op_DescribeClusterSecurityGroups.go @@ -174,9 +174,6 @@ func (c *Client) addOperationDescribeClusterSecurityGroupsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClusterSecurityGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_DescribeClusterSnapshots.go b/service/redshift/api_op_DescribeClusterSnapshots.go index 876548cecf5..1ef12218964 100644 --- a/service/redshift/api_op_DescribeClusterSnapshots.go +++ b/service/redshift/api_op_DescribeClusterSnapshots.go @@ -226,9 +226,6 @@ func (c *Client) addOperationDescribeClusterSnapshotsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeClusterSnapshotsValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeClusterSubnetGroups.go b/service/redshift/api_op_DescribeClusterSubnetGroups.go index 71d19db6a61..4befd217868 100644 --- a/service/redshift/api_op_DescribeClusterSubnetGroups.go +++ b/service/redshift/api_op_DescribeClusterSubnetGroups.go @@ -163,9 +163,6 @@ func (c *Client) addOperationDescribeClusterSubnetGroupsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClusterSubnetGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_DescribeClusterTracks.go b/service/redshift/api_op_DescribeClusterTracks.go index 348de0a7ca0..84c0e5315ac 100644 --- a/service/redshift/api_op_DescribeClusterTracks.go +++ b/service/redshift/api_op_DescribeClusterTracks.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeClusterTracksMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClusterTracks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_DescribeClusterVersions.go b/service/redshift/api_op_DescribeClusterVersions.go index 3af3f4319ee..14bd3b083a1 100644 --- a/service/redshift/api_op_DescribeClusterVersions.go +++ b/service/redshift/api_op_DescribeClusterVersions.go @@ -155,9 +155,6 @@ func (c *Client) addOperationDescribeClusterVersionsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClusterVersions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_DescribeClusters.go b/service/redshift/api_op_DescribeClusters.go index 1834332ef17..6efce7a87a3 100644 --- a/service/redshift/api_op_DescribeClusters.go +++ b/service/redshift/api_op_DescribeClusters.go @@ -176,9 +176,6 @@ func (c *Client) addOperationDescribeClustersMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeClusters(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_DescribeCustomDomainAssociations.go b/service/redshift/api_op_DescribeCustomDomainAssociations.go index 88fd0974b81..7f13aeaa712 100644 --- a/service/redshift/api_op_DescribeCustomDomainAssociations.go +++ b/service/redshift/api_op_DescribeCustomDomainAssociations.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeCustomDomainAssociationsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCustomDomainAssociations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_DescribeDataShares.go b/service/redshift/api_op_DescribeDataShares.go index ac7ab2010f4..69915a18199 100644 --- a/service/redshift/api_op_DescribeDataShares.go +++ b/service/redshift/api_op_DescribeDataShares.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeDataSharesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDataShares(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_DescribeDataSharesForConsumer.go b/service/redshift/api_op_DescribeDataSharesForConsumer.go index bcfc68a48b9..b90fe9f04a3 100644 --- a/service/redshift/api_op_DescribeDataSharesForConsumer.go +++ b/service/redshift/api_op_DescribeDataSharesForConsumer.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDescribeDataSharesForConsumerMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDataSharesForConsumer(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_DescribeDataSharesForProducer.go b/service/redshift/api_op_DescribeDataSharesForProducer.go index 07bb3d0a0d7..8172ff56598 100644 --- a/service/redshift/api_op_DescribeDataSharesForProducer.go +++ b/service/redshift/api_op_DescribeDataSharesForProducer.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDescribeDataSharesForProducerMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDataSharesForProducer(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_DescribeDefaultClusterParameters.go b/service/redshift/api_op_DescribeDefaultClusterParameters.go index 0d163adcce3..33a961b7408 100644 --- a/service/redshift/api_op_DescribeDefaultClusterParameters.go +++ b/service/redshift/api_op_DescribeDefaultClusterParameters.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeDefaultClusterParametersMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDefaultClusterParametersValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeEndpointAccess.go b/service/redshift/api_op_DescribeEndpointAccess.go index fdc9dbe96d3..441b6b23a0e 100644 --- a/service/redshift/api_op_DescribeEndpointAccess.go +++ b/service/redshift/api_op_DescribeEndpointAccess.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeEndpointAccessMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEndpointAccess(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_DescribeEndpointAuthorization.go b/service/redshift/api_op_DescribeEndpointAuthorization.go index 32b77ed948c..fcba6efe759 100644 --- a/service/redshift/api_op_DescribeEndpointAuthorization.go +++ b/service/redshift/api_op_DescribeEndpointAuthorization.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribeEndpointAuthorizationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEndpointAuthorization(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_DescribeEventCategories.go b/service/redshift/api_op_DescribeEventCategories.go index 62261545dd6..e147eb18c52 100644 --- a/service/redshift/api_op_DescribeEventCategories.go +++ b/service/redshift/api_op_DescribeEventCategories.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDescribeEventCategoriesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEventCategories(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_DescribeEventSubscriptions.go b/service/redshift/api_op_DescribeEventSubscriptions.go index 45ac6d17cd1..13f3e336113 100644 --- a/service/redshift/api_op_DescribeEventSubscriptions.go +++ b/service/redshift/api_op_DescribeEventSubscriptions.go @@ -163,9 +163,6 @@ func (c *Client) addOperationDescribeEventSubscriptionsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEventSubscriptions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_DescribeEvents.go b/service/redshift/api_op_DescribeEvents.go index ec8988e03fe..aa4b8755b89 100644 --- a/service/redshift/api_op_DescribeEvents.go +++ b/service/redshift/api_op_DescribeEvents.go @@ -195,9 +195,6 @@ func (c *Client) addOperationDescribeEventsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEvents(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_DescribeHsmClientCertificates.go b/service/redshift/api_op_DescribeHsmClientCertificates.go index 0c885f6f1e3..f038b0fbc4d 100644 --- a/service/redshift/api_op_DescribeHsmClientCertificates.go +++ b/service/redshift/api_op_DescribeHsmClientCertificates.go @@ -166,9 +166,6 @@ func (c *Client) addOperationDescribeHsmClientCertificatesMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeHsmClientCertificates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_DescribeHsmConfigurations.go b/service/redshift/api_op_DescribeHsmConfigurations.go index ae2b19ea728..2d925385bc3 100644 --- a/service/redshift/api_op_DescribeHsmConfigurations.go +++ b/service/redshift/api_op_DescribeHsmConfigurations.go @@ -164,9 +164,6 @@ func (c *Client) addOperationDescribeHsmConfigurationsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeHsmConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_DescribeInboundIntegrations.go b/service/redshift/api_op_DescribeInboundIntegrations.go index 0d37691cbf4..19d5de95338 100644 --- a/service/redshift/api_op_DescribeInboundIntegrations.go +++ b/service/redshift/api_op_DescribeInboundIntegrations.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDescribeInboundIntegrationsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInboundIntegrations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_DescribeIntegrations.go b/service/redshift/api_op_DescribeIntegrations.go index 9df9805edde..8bcaf348de7 100644 --- a/service/redshift/api_op_DescribeIntegrations.go +++ b/service/redshift/api_op_DescribeIntegrations.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDescribeIntegrationsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeIntegrationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeLoggingStatus.go b/service/redshift/api_op_DescribeLoggingStatus.go index 2548cf78cd0..4ecc267b500 100644 --- a/service/redshift/api_op_DescribeLoggingStatus.go +++ b/service/redshift/api_op_DescribeLoggingStatus.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDescribeLoggingStatusMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeLoggingStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeNodeConfigurationOptions.go b/service/redshift/api_op_DescribeNodeConfigurationOptions.go index b033136847b..1cb457b3b8c 100644 --- a/service/redshift/api_op_DescribeNodeConfigurationOptions.go +++ b/service/redshift/api_op_DescribeNodeConfigurationOptions.go @@ -159,9 +159,6 @@ func (c *Client) addOperationDescribeNodeConfigurationOptionsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeNodeConfigurationOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeOrderableClusterOptions.go b/service/redshift/api_op_DescribeOrderableClusterOptions.go index 914005193bd..04d92687f1b 100644 --- a/service/redshift/api_op_DescribeOrderableClusterOptions.go +++ b/service/redshift/api_op_DescribeOrderableClusterOptions.go @@ -154,9 +154,6 @@ func (c *Client) addOperationDescribeOrderableClusterOptionsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOrderableClusterOptions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_DescribePartners.go b/service/redshift/api_op_DescribePartners.go index f2b8ccfddb3..ed6b73cbe29 100644 --- a/service/redshift/api_op_DescribePartners.go +++ b/service/redshift/api_op_DescribePartners.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribePartnersMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePartnersValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeRedshiftIdcApplications.go b/service/redshift/api_op_DescribeRedshiftIdcApplications.go index 1e53ef1a0b5..33ed8f73d15 100644 --- a/service/redshift/api_op_DescribeRedshiftIdcApplications.go +++ b/service/redshift/api_op_DescribeRedshiftIdcApplications.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeRedshiftIdcApplicationsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRedshiftIdcApplications(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_DescribeReservedNodeExchangeStatus.go b/service/redshift/api_op_DescribeReservedNodeExchangeStatus.go index cad0e73a44f..74e98c093e1 100644 --- a/service/redshift/api_op_DescribeReservedNodeExchangeStatus.go +++ b/service/redshift/api_op_DescribeReservedNodeExchangeStatus.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeReservedNodeExchangeStatusMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservedNodeExchangeStatus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_DescribeReservedNodeOfferings.go b/service/redshift/api_op_DescribeReservedNodeOfferings.go index 6b8680671db..c5b5142c94c 100644 --- a/service/redshift/api_op_DescribeReservedNodeOfferings.go +++ b/service/redshift/api_op_DescribeReservedNodeOfferings.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDescribeReservedNodeOfferingsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservedNodeOfferings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_DescribeReservedNodes.go b/service/redshift/api_op_DescribeReservedNodes.go index 4ace39f2e6a..cfb086babfc 100644 --- a/service/redshift/api_op_DescribeReservedNodes.go +++ b/service/redshift/api_op_DescribeReservedNodes.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeReservedNodesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReservedNodes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_DescribeResize.go b/service/redshift/api_op_DescribeResize.go index 19d43c6b856..4d374ab5475 100644 --- a/service/redshift/api_op_DescribeResize.go +++ b/service/redshift/api_op_DescribeResize.go @@ -193,9 +193,6 @@ func (c *Client) addOperationDescribeResizeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeResizeValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeScheduledActions.go b/service/redshift/api_op_DescribeScheduledActions.go index 14107c2e2c0..bb4ea667b79 100644 --- a/service/redshift/api_op_DescribeScheduledActions.go +++ b/service/redshift/api_op_DescribeScheduledActions.go @@ -153,9 +153,6 @@ func (c *Client) addOperationDescribeScheduledActionsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeScheduledActionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DescribeSnapshotCopyGrants.go b/service/redshift/api_op_DescribeSnapshotCopyGrants.go index 5456e47159f..c6d766da024 100644 --- a/service/redshift/api_op_DescribeSnapshotCopyGrants.go +++ b/service/redshift/api_op_DescribeSnapshotCopyGrants.go @@ -163,9 +163,6 @@ func (c *Client) addOperationDescribeSnapshotCopyGrantsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSnapshotCopyGrants(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_DescribeSnapshotSchedules.go b/service/redshift/api_op_DescribeSnapshotSchedules.go index bf7507fef6c..60f3765d3ab 100644 --- a/service/redshift/api_op_DescribeSnapshotSchedules.go +++ b/service/redshift/api_op_DescribeSnapshotSchedules.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDescribeSnapshotSchedulesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSnapshotSchedules(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_DescribeStorage.go b/service/redshift/api_op_DescribeStorage.go index ee46560a57c..81730ab574f 100644 --- a/service/redshift/api_op_DescribeStorage.go +++ b/service/redshift/api_op_DescribeStorage.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDescribeStorageMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStorage(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_DescribeTableRestoreStatus.go b/service/redshift/api_op_DescribeTableRestoreStatus.go index a35b427999c..7906fbc734d 100644 --- a/service/redshift/api_op_DescribeTableRestoreStatus.go +++ b/service/redshift/api_op_DescribeTableRestoreStatus.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeTableRestoreStatusMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTableRestoreStatus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_DescribeTags.go b/service/redshift/api_op_DescribeTags.go index a52ce59184e..347ffce99f4 100644 --- a/service/redshift/api_op_DescribeTags.go +++ b/service/redshift/api_op_DescribeTags.go @@ -202,9 +202,6 @@ func (c *Client) addOperationDescribeTagsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTags(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_DescribeUsageLimits.go b/service/redshift/api_op_DescribeUsageLimits.go index ec504b6ccaa..da2eaff688d 100644 --- a/service/redshift/api_op_DescribeUsageLimits.go +++ b/service/redshift/api_op_DescribeUsageLimits.go @@ -171,9 +171,6 @@ func (c *Client) addOperationDescribeUsageLimitsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUsageLimits(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_DisableLogging.go b/service/redshift/api_op_DisableLogging.go index e475f1280cc..606fe3e9db0 100644 --- a/service/redshift/api_op_DisableLogging.go +++ b/service/redshift/api_op_DisableLogging.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDisableLoggingMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableLoggingValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DisableSnapshotCopy.go b/service/redshift/api_op_DisableSnapshotCopy.go index f01b250628f..226ca03a48c 100644 --- a/service/redshift/api_op_DisableSnapshotCopy.go +++ b/service/redshift/api_op_DisableSnapshotCopy.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDisableSnapshotCopyMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableSnapshotCopyValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_DisassociateDataShareConsumer.go b/service/redshift/api_op_DisassociateDataShareConsumer.go index 8ca37562c78..ef2e0c49d5a 100644 --- a/service/redshift/api_op_DisassociateDataShareConsumer.go +++ b/service/redshift/api_op_DisassociateDataShareConsumer.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDisassociateDataShareConsumerMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateDataShareConsumerValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_EnableLogging.go b/service/redshift/api_op_EnableLogging.go index ef2e9e1862f..3b7d121acc2 100644 --- a/service/redshift/api_op_EnableLogging.go +++ b/service/redshift/api_op_EnableLogging.go @@ -163,9 +163,6 @@ func (c *Client) addOperationEnableLoggingMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableLoggingValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_EnableSnapshotCopy.go b/service/redshift/api_op_EnableSnapshotCopy.go index 9de67466bea..5b0d0e356f8 100644 --- a/service/redshift/api_op_EnableSnapshotCopy.go +++ b/service/redshift/api_op_EnableSnapshotCopy.go @@ -145,9 +145,6 @@ func (c *Client) addOperationEnableSnapshotCopyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableSnapshotCopyValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_FailoverPrimaryCompute.go b/service/redshift/api_op_FailoverPrimaryCompute.go index 3a224c5a1bf..4068c665933 100644 --- a/service/redshift/api_op_FailoverPrimaryCompute.go +++ b/service/redshift/api_op_FailoverPrimaryCompute.go @@ -114,9 +114,6 @@ func (c *Client) addOperationFailoverPrimaryComputeMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpFailoverPrimaryComputeValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_GetClusterCredentials.go b/service/redshift/api_op_GetClusterCredentials.go index 6b9e3fb75df..1aa052baf45 100644 --- a/service/redshift/api_op_GetClusterCredentials.go +++ b/service/redshift/api_op_GetClusterCredentials.go @@ -236,9 +236,6 @@ func (c *Client) addOperationGetClusterCredentialsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetClusterCredentialsValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_GetClusterCredentialsWithIAM.go b/service/redshift/api_op_GetClusterCredentialsWithIAM.go index 0830a8a8ecc..51aac2c40d6 100644 --- a/service/redshift/api_op_GetClusterCredentialsWithIAM.go +++ b/service/redshift/api_op_GetClusterCredentialsWithIAM.go @@ -148,9 +148,6 @@ func (c *Client) addOperationGetClusterCredentialsWithIAMMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetClusterCredentialsWithIAM(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_GetReservedNodeExchangeConfigurationOptions.go b/service/redshift/api_op_GetReservedNodeExchangeConfigurationOptions.go index c0ca5380c75..12271e3575b 100644 --- a/service/redshift/api_op_GetReservedNodeExchangeConfigurationOptions.go +++ b/service/redshift/api_op_GetReservedNodeExchangeConfigurationOptions.go @@ -143,9 +143,6 @@ func (c *Client) addOperationGetReservedNodeExchangeConfigurationOptionsMiddlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetReservedNodeExchangeConfigurationOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_GetReservedNodeExchangeOfferings.go b/service/redshift/api_op_GetReservedNodeExchangeOfferings.go index 8272257f5cb..ab5464c5a35 100644 --- a/service/redshift/api_op_GetReservedNodeExchangeOfferings.go +++ b/service/redshift/api_op_GetReservedNodeExchangeOfferings.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGetReservedNodeExchangeOfferingsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetReservedNodeExchangeOfferingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_GetResourcePolicy.go b/service/redshift/api_op_GetResourcePolicy.go index 9426fc854b3..999e7bc5cac 100644 --- a/service/redshift/api_op_GetResourcePolicy.go +++ b/service/redshift/api_op_GetResourcePolicy.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ListRecommendations.go b/service/redshift/api_op_ListRecommendations.go index becb89d5585..50ca057b1db 100644 --- a/service/redshift/api_op_ListRecommendations.go +++ b/service/redshift/api_op_ListRecommendations.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListRecommendationsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRecommendations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_ModifyAquaConfiguration.go b/service/redshift/api_op_ModifyAquaConfiguration.go index db38e0e2542..ef3cf1b69fa 100644 --- a/service/redshift/api_op_ModifyAquaConfiguration.go +++ b/service/redshift/api_op_ModifyAquaConfiguration.go @@ -119,9 +119,6 @@ func (c *Client) addOperationModifyAquaConfigurationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyAquaConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifyAuthenticationProfile.go b/service/redshift/api_op_ModifyAuthenticationProfile.go index c133c6514ed..e1b9edae741 100644 --- a/service/redshift/api_op_ModifyAuthenticationProfile.go +++ b/service/redshift/api_op_ModifyAuthenticationProfile.go @@ -120,9 +120,6 @@ func (c *Client) addOperationModifyAuthenticationProfileMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyAuthenticationProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifyCluster.go b/service/redshift/api_op_ModifyCluster.go index 931e02a34bc..083f75a7eab 100644 --- a/service/redshift/api_op_ModifyCluster.go +++ b/service/redshift/api_op_ModifyCluster.go @@ -406,9 +406,6 @@ func (c *Client) addOperationModifyClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifyClusterDbRevision.go b/service/redshift/api_op_ModifyClusterDbRevision.go index cec45c6a7a7..b545f7c1bd1 100644 --- a/service/redshift/api_op_ModifyClusterDbRevision.go +++ b/service/redshift/api_op_ModifyClusterDbRevision.go @@ -121,9 +121,6 @@ func (c *Client) addOperationModifyClusterDbRevisionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyClusterDbRevisionValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifyClusterIamRoles.go b/service/redshift/api_op_ModifyClusterIamRoles.go index ad4eb7bb1a1..8187480fd75 100644 --- a/service/redshift/api_op_ModifyClusterIamRoles.go +++ b/service/redshift/api_op_ModifyClusterIamRoles.go @@ -130,9 +130,6 @@ func (c *Client) addOperationModifyClusterIamRolesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyClusterIamRolesValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifyClusterMaintenance.go b/service/redshift/api_op_ModifyClusterMaintenance.go index 082ec280b1b..bfe75e29c46 100644 --- a/service/redshift/api_op_ModifyClusterMaintenance.go +++ b/service/redshift/api_op_ModifyClusterMaintenance.go @@ -131,9 +131,6 @@ func (c *Client) addOperationModifyClusterMaintenanceMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyClusterMaintenanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifyClusterParameterGroup.go b/service/redshift/api_op_ModifyClusterParameterGroup.go index 7ded8636b99..5ff6903f582 100644 --- a/service/redshift/api_op_ModifyClusterParameterGroup.go +++ b/service/redshift/api_op_ModifyClusterParameterGroup.go @@ -136,9 +136,6 @@ func (c *Client) addOperationModifyClusterParameterGroupMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyClusterParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifyClusterSnapshot.go b/service/redshift/api_op_ModifyClusterSnapshot.go index 73612bc8315..97bd4d7ad96 100644 --- a/service/redshift/api_op_ModifyClusterSnapshot.go +++ b/service/redshift/api_op_ModifyClusterSnapshot.go @@ -128,9 +128,6 @@ func (c *Client) addOperationModifyClusterSnapshotMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyClusterSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifyClusterSnapshotSchedule.go b/service/redshift/api_op_ModifyClusterSnapshotSchedule.go index 80ec2a5a12d..c61196910e1 100644 --- a/service/redshift/api_op_ModifyClusterSnapshotSchedule.go +++ b/service/redshift/api_op_ModifyClusterSnapshotSchedule.go @@ -115,9 +115,6 @@ func (c *Client) addOperationModifyClusterSnapshotScheduleMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyClusterSnapshotScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifyClusterSubnetGroup.go b/service/redshift/api_op_ModifyClusterSubnetGroup.go index bcea9c060b0..79c10854d38 100644 --- a/service/redshift/api_op_ModifyClusterSubnetGroup.go +++ b/service/redshift/api_op_ModifyClusterSubnetGroup.go @@ -142,9 +142,6 @@ func (c *Client) addOperationModifyClusterSubnetGroupMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyClusterSubnetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifyCustomDomainAssociation.go b/service/redshift/api_op_ModifyCustomDomainAssociation.go index 6af59145c81..bc7da010f2b 100644 --- a/service/redshift/api_op_ModifyCustomDomainAssociation.go +++ b/service/redshift/api_op_ModifyCustomDomainAssociation.go @@ -135,9 +135,6 @@ func (c *Client) addOperationModifyCustomDomainAssociationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyCustomDomainAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifyEndpointAccess.go b/service/redshift/api_op_ModifyEndpointAccess.go index e9be7ac20eb..3e3b1a64064 100644 --- a/service/redshift/api_op_ModifyEndpointAccess.go +++ b/service/redshift/api_op_ModifyEndpointAccess.go @@ -146,9 +146,6 @@ func (c *Client) addOperationModifyEndpointAccessMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyEndpointAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifyEventSubscription.go b/service/redshift/api_op_ModifyEventSubscription.go index 672791aa77d..2e0b05c75ce 100644 --- a/service/redshift/api_op_ModifyEventSubscription.go +++ b/service/redshift/api_op_ModifyEventSubscription.go @@ -153,9 +153,6 @@ func (c *Client) addOperationModifyEventSubscriptionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyEventSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifyIntegration.go b/service/redshift/api_op_ModifyIntegration.go index 4b77e26789b..13a2074d427 100644 --- a/service/redshift/api_op_ModifyIntegration.go +++ b/service/redshift/api_op_ModifyIntegration.go @@ -155,9 +155,6 @@ func (c *Client) addOperationModifyIntegrationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyIntegrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifyRedshiftIdcApplication.go b/service/redshift/api_op_ModifyRedshiftIdcApplication.go index 7aa854e4389..801f0592442 100644 --- a/service/redshift/api_op_ModifyRedshiftIdcApplication.go +++ b/service/redshift/api_op_ModifyRedshiftIdcApplication.go @@ -132,9 +132,6 @@ func (c *Client) addOperationModifyRedshiftIdcApplicationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyRedshiftIdcApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifyScheduledAction.go b/service/redshift/api_op_ModifyScheduledAction.go index c39a704b934..5add41890a3 100644 --- a/service/redshift/api_op_ModifyScheduledAction.go +++ b/service/redshift/api_op_ModifyScheduledAction.go @@ -192,9 +192,6 @@ func (c *Client) addOperationModifyScheduledActionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyScheduledActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifySnapshotCopyRetentionPeriod.go b/service/redshift/api_op_ModifySnapshotCopyRetentionPeriod.go index e6e54a18034..41af037b833 100644 --- a/service/redshift/api_op_ModifySnapshotCopyRetentionPeriod.go +++ b/service/redshift/api_op_ModifySnapshotCopyRetentionPeriod.go @@ -154,9 +154,6 @@ func (c *Client) addOperationModifySnapshotCopyRetentionPeriodMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifySnapshotCopyRetentionPeriodValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifySnapshotSchedule.go b/service/redshift/api_op_ModifySnapshotSchedule.go index 83ff534b820..007fc3d09ed 100644 --- a/service/redshift/api_op_ModifySnapshotSchedule.go +++ b/service/redshift/api_op_ModifySnapshotSchedule.go @@ -141,9 +141,6 @@ func (c *Client) addOperationModifySnapshotScheduleMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifySnapshotScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ModifyUsageLimit.go b/service/redshift/api_op_ModifyUsageLimit.go index b612f289229..a696e484577 100644 --- a/service/redshift/api_op_ModifyUsageLimit.go +++ b/service/redshift/api_op_ModifyUsageLimit.go @@ -152,9 +152,6 @@ func (c *Client) addOperationModifyUsageLimitMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyUsageLimitValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_PauseCluster.go b/service/redshift/api_op_PauseCluster.go index dfe3d61d6d1..edd8e3a20ce 100644 --- a/service/redshift/api_op_PauseCluster.go +++ b/service/redshift/api_op_PauseCluster.go @@ -114,9 +114,6 @@ func (c *Client) addOperationPauseClusterMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPauseClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_PurchaseReservedNodeOffering.go b/service/redshift/api_op_PurchaseReservedNodeOffering.go index 7fe25b106e0..e5a09385cbb 100644 --- a/service/redshift/api_op_PurchaseReservedNodeOffering.go +++ b/service/redshift/api_op_PurchaseReservedNodeOffering.go @@ -127,9 +127,6 @@ func (c *Client) addOperationPurchaseReservedNodeOfferingMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPurchaseReservedNodeOfferingValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_PutResourcePolicy.go b/service/redshift/api_op_PutResourcePolicy.go index 7355a790a79..8b92f14386a 100644 --- a/service/redshift/api_op_PutResourcePolicy.go +++ b/service/redshift/api_op_PutResourcePolicy.go @@ -118,9 +118,6 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_RebootCluster.go b/service/redshift/api_op_RebootCluster.go index e4544473593..ee61e1d4ac2 100644 --- a/service/redshift/api_op_RebootCluster.go +++ b/service/redshift/api_op_RebootCluster.go @@ -118,9 +118,6 @@ func (c *Client) addOperationRebootClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRebootClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_RegisterNamespace.go b/service/redshift/api_op_RegisterNamespace.go index 32bf29e0e2a..80ff51e5705 100644 --- a/service/redshift/api_op_RegisterNamespace.go +++ b/service/redshift/api_op_RegisterNamespace.go @@ -120,9 +120,6 @@ func (c *Client) addOperationRegisterNamespaceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterNamespaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_RejectDataShare.go b/service/redshift/api_op_RejectDataShare.go index f02016c0a2d..445224d865b 100644 --- a/service/redshift/api_op_RejectDataShare.go +++ b/service/redshift/api_op_RejectDataShare.go @@ -129,9 +129,6 @@ func (c *Client) addOperationRejectDataShareMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRejectDataShareValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ResetClusterParameterGroup.go b/service/redshift/api_op_ResetClusterParameterGroup.go index b2374ab02b6..f8d767acf72 100644 --- a/service/redshift/api_op_ResetClusterParameterGroup.go +++ b/service/redshift/api_op_ResetClusterParameterGroup.go @@ -132,9 +132,6 @@ func (c *Client) addOperationResetClusterParameterGroupMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResetClusterParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ResizeCluster.go b/service/redshift/api_op_ResizeCluster.go index 667a91e7484..13915b2ead9 100644 --- a/service/redshift/api_op_ResizeCluster.go +++ b/service/redshift/api_op_ResizeCluster.go @@ -157,9 +157,6 @@ func (c *Client) addOperationResizeClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResizeClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_RestoreFromClusterSnapshot.go b/service/redshift/api_op_RestoreFromClusterSnapshot.go index 73f9fb38ed1..0acb4a14c0e 100644 --- a/service/redshift/api_op_RestoreFromClusterSnapshot.go +++ b/service/redshift/api_op_RestoreFromClusterSnapshot.go @@ -390,9 +390,6 @@ func (c *Client) addOperationRestoreFromClusterSnapshotMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreFromClusterSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_RestoreTableFromClusterSnapshot.go b/service/redshift/api_op_RestoreTableFromClusterSnapshot.go index 65ff418adee..34aa0014198 100644 --- a/service/redshift/api_op_RestoreTableFromClusterSnapshot.go +++ b/service/redshift/api_op_RestoreTableFromClusterSnapshot.go @@ -165,9 +165,6 @@ func (c *Client) addOperationRestoreTableFromClusterSnapshotMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreTableFromClusterSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_ResumeCluster.go b/service/redshift/api_op_ResumeCluster.go index e0c91a39432..b31d2099d98 100644 --- a/service/redshift/api_op_ResumeCluster.go +++ b/service/redshift/api_op_ResumeCluster.go @@ -114,9 +114,6 @@ func (c *Client) addOperationResumeClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResumeClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_RevokeClusterSecurityGroupIngress.go b/service/redshift/api_op_RevokeClusterSecurityGroupIngress.go index 77ed1c2f05f..021a6e31a51 100644 --- a/service/redshift/api_op_RevokeClusterSecurityGroupIngress.go +++ b/service/redshift/api_op_RevokeClusterSecurityGroupIngress.go @@ -135,9 +135,6 @@ func (c *Client) addOperationRevokeClusterSecurityGroupIngressMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRevokeClusterSecurityGroupIngressValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_RevokeEndpointAccess.go b/service/redshift/api_op_RevokeEndpointAccess.go index b31721eb579..3bfc9aa8249 100644 --- a/service/redshift/api_op_RevokeEndpointAccess.go +++ b/service/redshift/api_op_RevokeEndpointAccess.go @@ -148,9 +148,6 @@ func (c *Client) addOperationRevokeEndpointAccessMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRevokeEndpointAccess(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshift/api_op_RevokeSnapshotAccess.go b/service/redshift/api_op_RevokeSnapshotAccess.go index c9f91eba6a7..bf274e90a2a 100644 --- a/service/redshift/api_op_RevokeSnapshotAccess.go +++ b/service/redshift/api_op_RevokeSnapshotAccess.go @@ -132,9 +132,6 @@ func (c *Client) addOperationRevokeSnapshotAccessMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRevokeSnapshotAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_RotateEncryptionKey.go b/service/redshift/api_op_RotateEncryptionKey.go index dfc2ff8a272..7beb2663241 100644 --- a/service/redshift/api_op_RotateEncryptionKey.go +++ b/service/redshift/api_op_RotateEncryptionKey.go @@ -115,9 +115,6 @@ func (c *Client) addOperationRotateEncryptionKeyMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRotateEncryptionKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/api_op_UpdatePartnerStatus.go b/service/redshift/api_op_UpdatePartnerStatus.go index 36423292a72..c02e229e379 100644 --- a/service/redshift/api_op_UpdatePartnerStatus.go +++ b/service/redshift/api_op_UpdatePartnerStatus.go @@ -139,9 +139,6 @@ func (c *Client) addOperationUpdatePartnerStatusMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePartnerStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshift/snapshot/api_op_AcceptReservedNodeExchange.go.snap b/service/redshift/snapshot/api_op_AcceptReservedNodeExchange.go.snap index ef3fe3ebb9a..5ab9b0cca93 100644 --- a/service/redshift/snapshot/api_op_AcceptReservedNodeExchange.go.snap +++ b/service/redshift/snapshot/api_op_AcceptReservedNodeExchange.go.snap @@ -14,7 +14,6 @@ AcceptReservedNodeExchange Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_AddPartner.go.snap b/service/redshift/snapshot/api_op_AddPartner.go.snap index edaa178c451..45d6d945520 100644 --- a/service/redshift/snapshot/api_op_AddPartner.go.snap +++ b/service/redshift/snapshot/api_op_AddPartner.go.snap @@ -14,7 +14,6 @@ AddPartner Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_AssociateDataShareConsumer.go.snap b/service/redshift/snapshot/api_op_AssociateDataShareConsumer.go.snap index 3c90b2a73a7..dbe7b7a1fe7 100644 --- a/service/redshift/snapshot/api_op_AssociateDataShareConsumer.go.snap +++ b/service/redshift/snapshot/api_op_AssociateDataShareConsumer.go.snap @@ -14,7 +14,6 @@ AssociateDataShareConsumer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_AuthorizeClusterSecurityGroupIngress.go.snap b/service/redshift/snapshot/api_op_AuthorizeClusterSecurityGroupIngress.go.snap index bbb75445df2..4a1458da529 100644 --- a/service/redshift/snapshot/api_op_AuthorizeClusterSecurityGroupIngress.go.snap +++ b/service/redshift/snapshot/api_op_AuthorizeClusterSecurityGroupIngress.go.snap @@ -14,7 +14,6 @@ AuthorizeClusterSecurityGroupIngress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_AuthorizeDataShare.go.snap b/service/redshift/snapshot/api_op_AuthorizeDataShare.go.snap index f08e5983b0d..c6f8f80fcea 100644 --- a/service/redshift/snapshot/api_op_AuthorizeDataShare.go.snap +++ b/service/redshift/snapshot/api_op_AuthorizeDataShare.go.snap @@ -14,7 +14,6 @@ AuthorizeDataShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_AuthorizeEndpointAccess.go.snap b/service/redshift/snapshot/api_op_AuthorizeEndpointAccess.go.snap index 98f1382d7bc..4beede953b2 100644 --- a/service/redshift/snapshot/api_op_AuthorizeEndpointAccess.go.snap +++ b/service/redshift/snapshot/api_op_AuthorizeEndpointAccess.go.snap @@ -14,7 +14,6 @@ AuthorizeEndpointAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_AuthorizeSnapshotAccess.go.snap b/service/redshift/snapshot/api_op_AuthorizeSnapshotAccess.go.snap index 76930ddc9f6..9975782ec01 100644 --- a/service/redshift/snapshot/api_op_AuthorizeSnapshotAccess.go.snap +++ b/service/redshift/snapshot/api_op_AuthorizeSnapshotAccess.go.snap @@ -14,7 +14,6 @@ AuthorizeSnapshotAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_BatchDeleteClusterSnapshots.go.snap b/service/redshift/snapshot/api_op_BatchDeleteClusterSnapshots.go.snap index b447c908552..5c35fcde436 100644 --- a/service/redshift/snapshot/api_op_BatchDeleteClusterSnapshots.go.snap +++ b/service/redshift/snapshot/api_op_BatchDeleteClusterSnapshots.go.snap @@ -14,7 +14,6 @@ BatchDeleteClusterSnapshots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_BatchModifyClusterSnapshots.go.snap b/service/redshift/snapshot/api_op_BatchModifyClusterSnapshots.go.snap index 4d6b9bb5d6b..8382c889a73 100644 --- a/service/redshift/snapshot/api_op_BatchModifyClusterSnapshots.go.snap +++ b/service/redshift/snapshot/api_op_BatchModifyClusterSnapshots.go.snap @@ -14,7 +14,6 @@ BatchModifyClusterSnapshots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_CancelResize.go.snap b/service/redshift/snapshot/api_op_CancelResize.go.snap index 4f0fbc62f63..d0d0a98aff3 100644 --- a/service/redshift/snapshot/api_op_CancelResize.go.snap +++ b/service/redshift/snapshot/api_op_CancelResize.go.snap @@ -14,7 +14,6 @@ CancelResize Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_CopyClusterSnapshot.go.snap b/service/redshift/snapshot/api_op_CopyClusterSnapshot.go.snap index e14716a87a8..fb594615c9e 100644 --- a/service/redshift/snapshot/api_op_CopyClusterSnapshot.go.snap +++ b/service/redshift/snapshot/api_op_CopyClusterSnapshot.go.snap @@ -14,7 +14,6 @@ CopyClusterSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_CreateAuthenticationProfile.go.snap b/service/redshift/snapshot/api_op_CreateAuthenticationProfile.go.snap index 5af7aae3028..10cfd71480b 100644 --- a/service/redshift/snapshot/api_op_CreateAuthenticationProfile.go.snap +++ b/service/redshift/snapshot/api_op_CreateAuthenticationProfile.go.snap @@ -14,7 +14,6 @@ CreateAuthenticationProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_CreateCluster.go.snap b/service/redshift/snapshot/api_op_CreateCluster.go.snap index 1ee274e1f6c..03ac0c0d2e6 100644 --- a/service/redshift/snapshot/api_op_CreateCluster.go.snap +++ b/service/redshift/snapshot/api_op_CreateCluster.go.snap @@ -14,7 +14,6 @@ CreateCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_CreateClusterParameterGroup.go.snap b/service/redshift/snapshot/api_op_CreateClusterParameterGroup.go.snap index da667a240b6..61a33292249 100644 --- a/service/redshift/snapshot/api_op_CreateClusterParameterGroup.go.snap +++ b/service/redshift/snapshot/api_op_CreateClusterParameterGroup.go.snap @@ -14,7 +14,6 @@ CreateClusterParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_CreateClusterSecurityGroup.go.snap b/service/redshift/snapshot/api_op_CreateClusterSecurityGroup.go.snap index 703d5f85ac5..80b3b5707a4 100644 --- a/service/redshift/snapshot/api_op_CreateClusterSecurityGroup.go.snap +++ b/service/redshift/snapshot/api_op_CreateClusterSecurityGroup.go.snap @@ -14,7 +14,6 @@ CreateClusterSecurityGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_CreateClusterSnapshot.go.snap b/service/redshift/snapshot/api_op_CreateClusterSnapshot.go.snap index e8b0057023a..5d117d53957 100644 --- a/service/redshift/snapshot/api_op_CreateClusterSnapshot.go.snap +++ b/service/redshift/snapshot/api_op_CreateClusterSnapshot.go.snap @@ -14,7 +14,6 @@ CreateClusterSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_CreateClusterSubnetGroup.go.snap b/service/redshift/snapshot/api_op_CreateClusterSubnetGroup.go.snap index a9f2f47764d..7c8aeb8a66b 100644 --- a/service/redshift/snapshot/api_op_CreateClusterSubnetGroup.go.snap +++ b/service/redshift/snapshot/api_op_CreateClusterSubnetGroup.go.snap @@ -14,7 +14,6 @@ CreateClusterSubnetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_CreateCustomDomainAssociation.go.snap b/service/redshift/snapshot/api_op_CreateCustomDomainAssociation.go.snap index c319b20f5a0..41eac4023ed 100644 --- a/service/redshift/snapshot/api_op_CreateCustomDomainAssociation.go.snap +++ b/service/redshift/snapshot/api_op_CreateCustomDomainAssociation.go.snap @@ -14,7 +14,6 @@ CreateCustomDomainAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_CreateEndpointAccess.go.snap b/service/redshift/snapshot/api_op_CreateEndpointAccess.go.snap index 7dc58eaeb1e..ac3f4695eb6 100644 --- a/service/redshift/snapshot/api_op_CreateEndpointAccess.go.snap +++ b/service/redshift/snapshot/api_op_CreateEndpointAccess.go.snap @@ -14,7 +14,6 @@ CreateEndpointAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_CreateEventSubscription.go.snap b/service/redshift/snapshot/api_op_CreateEventSubscription.go.snap index 68d152a81b9..abaf183d2d8 100644 --- a/service/redshift/snapshot/api_op_CreateEventSubscription.go.snap +++ b/service/redshift/snapshot/api_op_CreateEventSubscription.go.snap @@ -14,7 +14,6 @@ CreateEventSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_CreateHsmClientCertificate.go.snap b/service/redshift/snapshot/api_op_CreateHsmClientCertificate.go.snap index 74c3a344195..2407d3f1708 100644 --- a/service/redshift/snapshot/api_op_CreateHsmClientCertificate.go.snap +++ b/service/redshift/snapshot/api_op_CreateHsmClientCertificate.go.snap @@ -14,7 +14,6 @@ CreateHsmClientCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_CreateHsmConfiguration.go.snap b/service/redshift/snapshot/api_op_CreateHsmConfiguration.go.snap index 85013774020..50606da8a5a 100644 --- a/service/redshift/snapshot/api_op_CreateHsmConfiguration.go.snap +++ b/service/redshift/snapshot/api_op_CreateHsmConfiguration.go.snap @@ -14,7 +14,6 @@ CreateHsmConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_CreateIntegration.go.snap b/service/redshift/snapshot/api_op_CreateIntegration.go.snap index c23fbf5af89..d22fcfb6a4e 100644 --- a/service/redshift/snapshot/api_op_CreateIntegration.go.snap +++ b/service/redshift/snapshot/api_op_CreateIntegration.go.snap @@ -14,7 +14,6 @@ CreateIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_CreateRedshiftIdcApplication.go.snap b/service/redshift/snapshot/api_op_CreateRedshiftIdcApplication.go.snap index 62de3e8d4ae..6a8fac8355f 100644 --- a/service/redshift/snapshot/api_op_CreateRedshiftIdcApplication.go.snap +++ b/service/redshift/snapshot/api_op_CreateRedshiftIdcApplication.go.snap @@ -14,7 +14,6 @@ CreateRedshiftIdcApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_CreateScheduledAction.go.snap b/service/redshift/snapshot/api_op_CreateScheduledAction.go.snap index 29d09ea3dfb..172022d1b2e 100644 --- a/service/redshift/snapshot/api_op_CreateScheduledAction.go.snap +++ b/service/redshift/snapshot/api_op_CreateScheduledAction.go.snap @@ -14,7 +14,6 @@ CreateScheduledAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_CreateSnapshotCopyGrant.go.snap b/service/redshift/snapshot/api_op_CreateSnapshotCopyGrant.go.snap index ea0ac2af3ed..a7b11e0491d 100644 --- a/service/redshift/snapshot/api_op_CreateSnapshotCopyGrant.go.snap +++ b/service/redshift/snapshot/api_op_CreateSnapshotCopyGrant.go.snap @@ -14,7 +14,6 @@ CreateSnapshotCopyGrant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_CreateSnapshotSchedule.go.snap b/service/redshift/snapshot/api_op_CreateSnapshotSchedule.go.snap index 94c5e79cad2..af99becf463 100644 --- a/service/redshift/snapshot/api_op_CreateSnapshotSchedule.go.snap +++ b/service/redshift/snapshot/api_op_CreateSnapshotSchedule.go.snap @@ -13,7 +13,6 @@ CreateSnapshotSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_CreateTags.go.snap b/service/redshift/snapshot/api_op_CreateTags.go.snap index fe83545a271..2507df3be57 100644 --- a/service/redshift/snapshot/api_op_CreateTags.go.snap +++ b/service/redshift/snapshot/api_op_CreateTags.go.snap @@ -14,7 +14,6 @@ CreateTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_CreateUsageLimit.go.snap b/service/redshift/snapshot/api_op_CreateUsageLimit.go.snap index 01e451b9dab..c399aed3fd2 100644 --- a/service/redshift/snapshot/api_op_CreateUsageLimit.go.snap +++ b/service/redshift/snapshot/api_op_CreateUsageLimit.go.snap @@ -14,7 +14,6 @@ CreateUsageLimit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DeauthorizeDataShare.go.snap b/service/redshift/snapshot/api_op_DeauthorizeDataShare.go.snap index 0f5ebd68f7c..033b3c8a319 100644 --- a/service/redshift/snapshot/api_op_DeauthorizeDataShare.go.snap +++ b/service/redshift/snapshot/api_op_DeauthorizeDataShare.go.snap @@ -14,7 +14,6 @@ DeauthorizeDataShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DeleteAuthenticationProfile.go.snap b/service/redshift/snapshot/api_op_DeleteAuthenticationProfile.go.snap index e07b2f01c97..a2193de30d8 100644 --- a/service/redshift/snapshot/api_op_DeleteAuthenticationProfile.go.snap +++ b/service/redshift/snapshot/api_op_DeleteAuthenticationProfile.go.snap @@ -14,7 +14,6 @@ DeleteAuthenticationProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DeleteCluster.go.snap b/service/redshift/snapshot/api_op_DeleteCluster.go.snap index 8eeb23b33c5..9df5248d4d6 100644 --- a/service/redshift/snapshot/api_op_DeleteCluster.go.snap +++ b/service/redshift/snapshot/api_op_DeleteCluster.go.snap @@ -14,7 +14,6 @@ DeleteCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DeleteClusterParameterGroup.go.snap b/service/redshift/snapshot/api_op_DeleteClusterParameterGroup.go.snap index 51711acdc34..486bd17e8d2 100644 --- a/service/redshift/snapshot/api_op_DeleteClusterParameterGroup.go.snap +++ b/service/redshift/snapshot/api_op_DeleteClusterParameterGroup.go.snap @@ -14,7 +14,6 @@ DeleteClusterParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DeleteClusterSecurityGroup.go.snap b/service/redshift/snapshot/api_op_DeleteClusterSecurityGroup.go.snap index 7e091351287..bc3ca9b359f 100644 --- a/service/redshift/snapshot/api_op_DeleteClusterSecurityGroup.go.snap +++ b/service/redshift/snapshot/api_op_DeleteClusterSecurityGroup.go.snap @@ -14,7 +14,6 @@ DeleteClusterSecurityGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DeleteClusterSnapshot.go.snap b/service/redshift/snapshot/api_op_DeleteClusterSnapshot.go.snap index c6328211748..a3c511eca78 100644 --- a/service/redshift/snapshot/api_op_DeleteClusterSnapshot.go.snap +++ b/service/redshift/snapshot/api_op_DeleteClusterSnapshot.go.snap @@ -14,7 +14,6 @@ DeleteClusterSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DeleteClusterSubnetGroup.go.snap b/service/redshift/snapshot/api_op_DeleteClusterSubnetGroup.go.snap index 7214627969c..5f370344cbc 100644 --- a/service/redshift/snapshot/api_op_DeleteClusterSubnetGroup.go.snap +++ b/service/redshift/snapshot/api_op_DeleteClusterSubnetGroup.go.snap @@ -14,7 +14,6 @@ DeleteClusterSubnetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DeleteCustomDomainAssociation.go.snap b/service/redshift/snapshot/api_op_DeleteCustomDomainAssociation.go.snap index 1a44c7e5545..8c692701d79 100644 --- a/service/redshift/snapshot/api_op_DeleteCustomDomainAssociation.go.snap +++ b/service/redshift/snapshot/api_op_DeleteCustomDomainAssociation.go.snap @@ -14,7 +14,6 @@ DeleteCustomDomainAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DeleteEndpointAccess.go.snap b/service/redshift/snapshot/api_op_DeleteEndpointAccess.go.snap index 8c479f1c725..5d2cb4aa981 100644 --- a/service/redshift/snapshot/api_op_DeleteEndpointAccess.go.snap +++ b/service/redshift/snapshot/api_op_DeleteEndpointAccess.go.snap @@ -14,7 +14,6 @@ DeleteEndpointAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DeleteEventSubscription.go.snap b/service/redshift/snapshot/api_op_DeleteEventSubscription.go.snap index 02f527bc9d5..1bfd53e9563 100644 --- a/service/redshift/snapshot/api_op_DeleteEventSubscription.go.snap +++ b/service/redshift/snapshot/api_op_DeleteEventSubscription.go.snap @@ -14,7 +14,6 @@ DeleteEventSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DeleteHsmClientCertificate.go.snap b/service/redshift/snapshot/api_op_DeleteHsmClientCertificate.go.snap index bde7d9fb711..e2eca4ffe9e 100644 --- a/service/redshift/snapshot/api_op_DeleteHsmClientCertificate.go.snap +++ b/service/redshift/snapshot/api_op_DeleteHsmClientCertificate.go.snap @@ -14,7 +14,6 @@ DeleteHsmClientCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DeleteHsmConfiguration.go.snap b/service/redshift/snapshot/api_op_DeleteHsmConfiguration.go.snap index 653d05f6ead..c1be319c810 100644 --- a/service/redshift/snapshot/api_op_DeleteHsmConfiguration.go.snap +++ b/service/redshift/snapshot/api_op_DeleteHsmConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteHsmConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DeleteIntegration.go.snap b/service/redshift/snapshot/api_op_DeleteIntegration.go.snap index b138e678938..cc8fc148389 100644 --- a/service/redshift/snapshot/api_op_DeleteIntegration.go.snap +++ b/service/redshift/snapshot/api_op_DeleteIntegration.go.snap @@ -14,7 +14,6 @@ DeleteIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DeletePartner.go.snap b/service/redshift/snapshot/api_op_DeletePartner.go.snap index 4d3a02d6703..61c4610259b 100644 --- a/service/redshift/snapshot/api_op_DeletePartner.go.snap +++ b/service/redshift/snapshot/api_op_DeletePartner.go.snap @@ -14,7 +14,6 @@ DeletePartner Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DeleteRedshiftIdcApplication.go.snap b/service/redshift/snapshot/api_op_DeleteRedshiftIdcApplication.go.snap index 83e2f803383..6764decb532 100644 --- a/service/redshift/snapshot/api_op_DeleteRedshiftIdcApplication.go.snap +++ b/service/redshift/snapshot/api_op_DeleteRedshiftIdcApplication.go.snap @@ -14,7 +14,6 @@ DeleteRedshiftIdcApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DeleteResourcePolicy.go.snap b/service/redshift/snapshot/api_op_DeleteResourcePolicy.go.snap index 21dbc8dfcde..9948d797360 100644 --- a/service/redshift/snapshot/api_op_DeleteResourcePolicy.go.snap +++ b/service/redshift/snapshot/api_op_DeleteResourcePolicy.go.snap @@ -14,7 +14,6 @@ DeleteResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DeleteScheduledAction.go.snap b/service/redshift/snapshot/api_op_DeleteScheduledAction.go.snap index a0420da12e4..4bd5e808d1e 100644 --- a/service/redshift/snapshot/api_op_DeleteScheduledAction.go.snap +++ b/service/redshift/snapshot/api_op_DeleteScheduledAction.go.snap @@ -14,7 +14,6 @@ DeleteScheduledAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DeleteSnapshotCopyGrant.go.snap b/service/redshift/snapshot/api_op_DeleteSnapshotCopyGrant.go.snap index 8c26feba323..1e4ba48e869 100644 --- a/service/redshift/snapshot/api_op_DeleteSnapshotCopyGrant.go.snap +++ b/service/redshift/snapshot/api_op_DeleteSnapshotCopyGrant.go.snap @@ -14,7 +14,6 @@ DeleteSnapshotCopyGrant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DeleteSnapshotSchedule.go.snap b/service/redshift/snapshot/api_op_DeleteSnapshotSchedule.go.snap index 189d729757b..e4fab10f05a 100644 --- a/service/redshift/snapshot/api_op_DeleteSnapshotSchedule.go.snap +++ b/service/redshift/snapshot/api_op_DeleteSnapshotSchedule.go.snap @@ -14,7 +14,6 @@ DeleteSnapshotSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DeleteTags.go.snap b/service/redshift/snapshot/api_op_DeleteTags.go.snap index 7821a01e140..0eeb01dca01 100644 --- a/service/redshift/snapshot/api_op_DeleteTags.go.snap +++ b/service/redshift/snapshot/api_op_DeleteTags.go.snap @@ -14,7 +14,6 @@ DeleteTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DeleteUsageLimit.go.snap b/service/redshift/snapshot/api_op_DeleteUsageLimit.go.snap index 8737711f61d..6056644efff 100644 --- a/service/redshift/snapshot/api_op_DeleteUsageLimit.go.snap +++ b/service/redshift/snapshot/api_op_DeleteUsageLimit.go.snap @@ -14,7 +14,6 @@ DeleteUsageLimit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DeregisterNamespace.go.snap b/service/redshift/snapshot/api_op_DeregisterNamespace.go.snap index a0d3fba73dc..8856b96051d 100644 --- a/service/redshift/snapshot/api_op_DeregisterNamespace.go.snap +++ b/service/redshift/snapshot/api_op_DeregisterNamespace.go.snap @@ -14,7 +14,6 @@ DeregisterNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeAccountAttributes.go.snap b/service/redshift/snapshot/api_op_DescribeAccountAttributes.go.snap index 8289af53fde..f099fff933a 100644 --- a/service/redshift/snapshot/api_op_DescribeAccountAttributes.go.snap +++ b/service/redshift/snapshot/api_op_DescribeAccountAttributes.go.snap @@ -13,7 +13,6 @@ DescribeAccountAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeAuthenticationProfiles.go.snap b/service/redshift/snapshot/api_op_DescribeAuthenticationProfiles.go.snap index fe35c753464..62c019bc0d6 100644 --- a/service/redshift/snapshot/api_op_DescribeAuthenticationProfiles.go.snap +++ b/service/redshift/snapshot/api_op_DescribeAuthenticationProfiles.go.snap @@ -13,7 +13,6 @@ DescribeAuthenticationProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeClusterDbRevisions.go.snap b/service/redshift/snapshot/api_op_DescribeClusterDbRevisions.go.snap index 1a8c5509539..15dc8f96600 100644 --- a/service/redshift/snapshot/api_op_DescribeClusterDbRevisions.go.snap +++ b/service/redshift/snapshot/api_op_DescribeClusterDbRevisions.go.snap @@ -13,7 +13,6 @@ DescribeClusterDbRevisions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeClusterParameterGroups.go.snap b/service/redshift/snapshot/api_op_DescribeClusterParameterGroups.go.snap index 90f2005a8b8..28d2c4f49db 100644 --- a/service/redshift/snapshot/api_op_DescribeClusterParameterGroups.go.snap +++ b/service/redshift/snapshot/api_op_DescribeClusterParameterGroups.go.snap @@ -13,7 +13,6 @@ DescribeClusterParameterGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeClusterParameters.go.snap b/service/redshift/snapshot/api_op_DescribeClusterParameters.go.snap index fda761fd212..f02ac7d14d6 100644 --- a/service/redshift/snapshot/api_op_DescribeClusterParameters.go.snap +++ b/service/redshift/snapshot/api_op_DescribeClusterParameters.go.snap @@ -14,7 +14,6 @@ DescribeClusterParameters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeClusterSecurityGroups.go.snap b/service/redshift/snapshot/api_op_DescribeClusterSecurityGroups.go.snap index 62694a29010..c25b5ea0926 100644 --- a/service/redshift/snapshot/api_op_DescribeClusterSecurityGroups.go.snap +++ b/service/redshift/snapshot/api_op_DescribeClusterSecurityGroups.go.snap @@ -13,7 +13,6 @@ DescribeClusterSecurityGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeClusterSnapshots.go.snap b/service/redshift/snapshot/api_op_DescribeClusterSnapshots.go.snap index 93063f005f5..22167c4a8af 100644 --- a/service/redshift/snapshot/api_op_DescribeClusterSnapshots.go.snap +++ b/service/redshift/snapshot/api_op_DescribeClusterSnapshots.go.snap @@ -14,7 +14,6 @@ DescribeClusterSnapshots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeClusterSubnetGroups.go.snap b/service/redshift/snapshot/api_op_DescribeClusterSubnetGroups.go.snap index f78d333371e..85dbad281fc 100644 --- a/service/redshift/snapshot/api_op_DescribeClusterSubnetGroups.go.snap +++ b/service/redshift/snapshot/api_op_DescribeClusterSubnetGroups.go.snap @@ -13,7 +13,6 @@ DescribeClusterSubnetGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeClusterTracks.go.snap b/service/redshift/snapshot/api_op_DescribeClusterTracks.go.snap index 036971e7e9e..7f850114d22 100644 --- a/service/redshift/snapshot/api_op_DescribeClusterTracks.go.snap +++ b/service/redshift/snapshot/api_op_DescribeClusterTracks.go.snap @@ -13,7 +13,6 @@ DescribeClusterTracks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeClusterVersions.go.snap b/service/redshift/snapshot/api_op_DescribeClusterVersions.go.snap index 53a4106a716..39d29ea11be 100644 --- a/service/redshift/snapshot/api_op_DescribeClusterVersions.go.snap +++ b/service/redshift/snapshot/api_op_DescribeClusterVersions.go.snap @@ -13,7 +13,6 @@ DescribeClusterVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeClusters.go.snap b/service/redshift/snapshot/api_op_DescribeClusters.go.snap index f52d125d54e..bfa7d3b3625 100644 --- a/service/redshift/snapshot/api_op_DescribeClusters.go.snap +++ b/service/redshift/snapshot/api_op_DescribeClusters.go.snap @@ -13,7 +13,6 @@ DescribeClusters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeCustomDomainAssociations.go.snap b/service/redshift/snapshot/api_op_DescribeCustomDomainAssociations.go.snap index 6452ab09a98..b27464fce9f 100644 --- a/service/redshift/snapshot/api_op_DescribeCustomDomainAssociations.go.snap +++ b/service/redshift/snapshot/api_op_DescribeCustomDomainAssociations.go.snap @@ -13,7 +13,6 @@ DescribeCustomDomainAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeDataShares.go.snap b/service/redshift/snapshot/api_op_DescribeDataShares.go.snap index d51a2b795d6..71701fc63b6 100644 --- a/service/redshift/snapshot/api_op_DescribeDataShares.go.snap +++ b/service/redshift/snapshot/api_op_DescribeDataShares.go.snap @@ -13,7 +13,6 @@ DescribeDataShares Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeDataSharesForConsumer.go.snap b/service/redshift/snapshot/api_op_DescribeDataSharesForConsumer.go.snap index 1c4d6bef7da..8ebd57899eb 100644 --- a/service/redshift/snapshot/api_op_DescribeDataSharesForConsumer.go.snap +++ b/service/redshift/snapshot/api_op_DescribeDataSharesForConsumer.go.snap @@ -13,7 +13,6 @@ DescribeDataSharesForConsumer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeDataSharesForProducer.go.snap b/service/redshift/snapshot/api_op_DescribeDataSharesForProducer.go.snap index f50c2382a64..923686a41d5 100644 --- a/service/redshift/snapshot/api_op_DescribeDataSharesForProducer.go.snap +++ b/service/redshift/snapshot/api_op_DescribeDataSharesForProducer.go.snap @@ -13,7 +13,6 @@ DescribeDataSharesForProducer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeDefaultClusterParameters.go.snap b/service/redshift/snapshot/api_op_DescribeDefaultClusterParameters.go.snap index dba2e3721fb..99061a8c699 100644 --- a/service/redshift/snapshot/api_op_DescribeDefaultClusterParameters.go.snap +++ b/service/redshift/snapshot/api_op_DescribeDefaultClusterParameters.go.snap @@ -14,7 +14,6 @@ DescribeDefaultClusterParameters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeEndpointAccess.go.snap b/service/redshift/snapshot/api_op_DescribeEndpointAccess.go.snap index dce919fdfd6..1d3631637eb 100644 --- a/service/redshift/snapshot/api_op_DescribeEndpointAccess.go.snap +++ b/service/redshift/snapshot/api_op_DescribeEndpointAccess.go.snap @@ -13,7 +13,6 @@ DescribeEndpointAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeEndpointAuthorization.go.snap b/service/redshift/snapshot/api_op_DescribeEndpointAuthorization.go.snap index c404ab99949..287be7ba9d5 100644 --- a/service/redshift/snapshot/api_op_DescribeEndpointAuthorization.go.snap +++ b/service/redshift/snapshot/api_op_DescribeEndpointAuthorization.go.snap @@ -13,7 +13,6 @@ DescribeEndpointAuthorization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeEventCategories.go.snap b/service/redshift/snapshot/api_op_DescribeEventCategories.go.snap index eac73f525f5..71ed3606d5b 100644 --- a/service/redshift/snapshot/api_op_DescribeEventCategories.go.snap +++ b/service/redshift/snapshot/api_op_DescribeEventCategories.go.snap @@ -13,7 +13,6 @@ DescribeEventCategories Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeEventSubscriptions.go.snap b/service/redshift/snapshot/api_op_DescribeEventSubscriptions.go.snap index f8521ac2066..b4131f9ab54 100644 --- a/service/redshift/snapshot/api_op_DescribeEventSubscriptions.go.snap +++ b/service/redshift/snapshot/api_op_DescribeEventSubscriptions.go.snap @@ -13,7 +13,6 @@ DescribeEventSubscriptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeEvents.go.snap b/service/redshift/snapshot/api_op_DescribeEvents.go.snap index c63aa6daa0b..36f0ef6bea9 100644 --- a/service/redshift/snapshot/api_op_DescribeEvents.go.snap +++ b/service/redshift/snapshot/api_op_DescribeEvents.go.snap @@ -13,7 +13,6 @@ DescribeEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeHsmClientCertificates.go.snap b/service/redshift/snapshot/api_op_DescribeHsmClientCertificates.go.snap index 821f4bbc87b..f6ed864ec0c 100644 --- a/service/redshift/snapshot/api_op_DescribeHsmClientCertificates.go.snap +++ b/service/redshift/snapshot/api_op_DescribeHsmClientCertificates.go.snap @@ -13,7 +13,6 @@ DescribeHsmClientCertificates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeHsmConfigurations.go.snap b/service/redshift/snapshot/api_op_DescribeHsmConfigurations.go.snap index 6b6a2a0d146..b1f48f4a030 100644 --- a/service/redshift/snapshot/api_op_DescribeHsmConfigurations.go.snap +++ b/service/redshift/snapshot/api_op_DescribeHsmConfigurations.go.snap @@ -13,7 +13,6 @@ DescribeHsmConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeInboundIntegrations.go.snap b/service/redshift/snapshot/api_op_DescribeInboundIntegrations.go.snap index 08b65567d89..a799ae03425 100644 --- a/service/redshift/snapshot/api_op_DescribeInboundIntegrations.go.snap +++ b/service/redshift/snapshot/api_op_DescribeInboundIntegrations.go.snap @@ -13,7 +13,6 @@ DescribeInboundIntegrations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeIntegrations.go.snap b/service/redshift/snapshot/api_op_DescribeIntegrations.go.snap index 031bf8fc39b..5c669ce94f9 100644 --- a/service/redshift/snapshot/api_op_DescribeIntegrations.go.snap +++ b/service/redshift/snapshot/api_op_DescribeIntegrations.go.snap @@ -14,7 +14,6 @@ DescribeIntegrations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeLoggingStatus.go.snap b/service/redshift/snapshot/api_op_DescribeLoggingStatus.go.snap index c78fc77a1f8..becca156ad7 100644 --- a/service/redshift/snapshot/api_op_DescribeLoggingStatus.go.snap +++ b/service/redshift/snapshot/api_op_DescribeLoggingStatus.go.snap @@ -14,7 +14,6 @@ DescribeLoggingStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeNodeConfigurationOptions.go.snap b/service/redshift/snapshot/api_op_DescribeNodeConfigurationOptions.go.snap index b5ca5712ff2..becfcf13103 100644 --- a/service/redshift/snapshot/api_op_DescribeNodeConfigurationOptions.go.snap +++ b/service/redshift/snapshot/api_op_DescribeNodeConfigurationOptions.go.snap @@ -14,7 +14,6 @@ DescribeNodeConfigurationOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeOrderableClusterOptions.go.snap b/service/redshift/snapshot/api_op_DescribeOrderableClusterOptions.go.snap index 6c3fe3b55bc..d3fe8c823ff 100644 --- a/service/redshift/snapshot/api_op_DescribeOrderableClusterOptions.go.snap +++ b/service/redshift/snapshot/api_op_DescribeOrderableClusterOptions.go.snap @@ -13,7 +13,6 @@ DescribeOrderableClusterOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribePartners.go.snap b/service/redshift/snapshot/api_op_DescribePartners.go.snap index ca120e5ae8b..402026f2aba 100644 --- a/service/redshift/snapshot/api_op_DescribePartners.go.snap +++ b/service/redshift/snapshot/api_op_DescribePartners.go.snap @@ -14,7 +14,6 @@ DescribePartners Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeRedshiftIdcApplications.go.snap b/service/redshift/snapshot/api_op_DescribeRedshiftIdcApplications.go.snap index bf31f7c4697..9020d556581 100644 --- a/service/redshift/snapshot/api_op_DescribeRedshiftIdcApplications.go.snap +++ b/service/redshift/snapshot/api_op_DescribeRedshiftIdcApplications.go.snap @@ -13,7 +13,6 @@ DescribeRedshiftIdcApplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeReservedNodeExchangeStatus.go.snap b/service/redshift/snapshot/api_op_DescribeReservedNodeExchangeStatus.go.snap index 2e2970f6508..8c83888ebd8 100644 --- a/service/redshift/snapshot/api_op_DescribeReservedNodeExchangeStatus.go.snap +++ b/service/redshift/snapshot/api_op_DescribeReservedNodeExchangeStatus.go.snap @@ -13,7 +13,6 @@ DescribeReservedNodeExchangeStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeReservedNodeOfferings.go.snap b/service/redshift/snapshot/api_op_DescribeReservedNodeOfferings.go.snap index a37d77b3039..defc681c487 100644 --- a/service/redshift/snapshot/api_op_DescribeReservedNodeOfferings.go.snap +++ b/service/redshift/snapshot/api_op_DescribeReservedNodeOfferings.go.snap @@ -13,7 +13,6 @@ DescribeReservedNodeOfferings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeReservedNodes.go.snap b/service/redshift/snapshot/api_op_DescribeReservedNodes.go.snap index 947fd9bc559..0232083e6c6 100644 --- a/service/redshift/snapshot/api_op_DescribeReservedNodes.go.snap +++ b/service/redshift/snapshot/api_op_DescribeReservedNodes.go.snap @@ -13,7 +13,6 @@ DescribeReservedNodes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeResize.go.snap b/service/redshift/snapshot/api_op_DescribeResize.go.snap index c9e990689d5..713e4cd1bb1 100644 --- a/service/redshift/snapshot/api_op_DescribeResize.go.snap +++ b/service/redshift/snapshot/api_op_DescribeResize.go.snap @@ -14,7 +14,6 @@ DescribeResize Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeScheduledActions.go.snap b/service/redshift/snapshot/api_op_DescribeScheduledActions.go.snap index 352f8230512..8c7bc76c544 100644 --- a/service/redshift/snapshot/api_op_DescribeScheduledActions.go.snap +++ b/service/redshift/snapshot/api_op_DescribeScheduledActions.go.snap @@ -14,7 +14,6 @@ DescribeScheduledActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeSnapshotCopyGrants.go.snap b/service/redshift/snapshot/api_op_DescribeSnapshotCopyGrants.go.snap index fe5b8ce3cfb..1b64738e611 100644 --- a/service/redshift/snapshot/api_op_DescribeSnapshotCopyGrants.go.snap +++ b/service/redshift/snapshot/api_op_DescribeSnapshotCopyGrants.go.snap @@ -13,7 +13,6 @@ DescribeSnapshotCopyGrants Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeSnapshotSchedules.go.snap b/service/redshift/snapshot/api_op_DescribeSnapshotSchedules.go.snap index e6c58323dca..8472cfd3ffb 100644 --- a/service/redshift/snapshot/api_op_DescribeSnapshotSchedules.go.snap +++ b/service/redshift/snapshot/api_op_DescribeSnapshotSchedules.go.snap @@ -13,7 +13,6 @@ DescribeSnapshotSchedules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeStorage.go.snap b/service/redshift/snapshot/api_op_DescribeStorage.go.snap index 00a4791dca5..ccba415f886 100644 --- a/service/redshift/snapshot/api_op_DescribeStorage.go.snap +++ b/service/redshift/snapshot/api_op_DescribeStorage.go.snap @@ -13,7 +13,6 @@ DescribeStorage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeTableRestoreStatus.go.snap b/service/redshift/snapshot/api_op_DescribeTableRestoreStatus.go.snap index 7d5c17f665d..94e9ed2f14c 100644 --- a/service/redshift/snapshot/api_op_DescribeTableRestoreStatus.go.snap +++ b/service/redshift/snapshot/api_op_DescribeTableRestoreStatus.go.snap @@ -13,7 +13,6 @@ DescribeTableRestoreStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeTags.go.snap b/service/redshift/snapshot/api_op_DescribeTags.go.snap index 1f7ddc78181..c53b71dd605 100644 --- a/service/redshift/snapshot/api_op_DescribeTags.go.snap +++ b/service/redshift/snapshot/api_op_DescribeTags.go.snap @@ -13,7 +13,6 @@ DescribeTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DescribeUsageLimits.go.snap b/service/redshift/snapshot/api_op_DescribeUsageLimits.go.snap index 9fc2fca8e08..e0a7fc7b8ae 100644 --- a/service/redshift/snapshot/api_op_DescribeUsageLimits.go.snap +++ b/service/redshift/snapshot/api_op_DescribeUsageLimits.go.snap @@ -13,7 +13,6 @@ DescribeUsageLimits Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DisableLogging.go.snap b/service/redshift/snapshot/api_op_DisableLogging.go.snap index e5a2eb27fe4..fbb4405f3c3 100644 --- a/service/redshift/snapshot/api_op_DisableLogging.go.snap +++ b/service/redshift/snapshot/api_op_DisableLogging.go.snap @@ -14,7 +14,6 @@ DisableLogging Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DisableSnapshotCopy.go.snap b/service/redshift/snapshot/api_op_DisableSnapshotCopy.go.snap index 56dc7405c98..883b3da915a 100644 --- a/service/redshift/snapshot/api_op_DisableSnapshotCopy.go.snap +++ b/service/redshift/snapshot/api_op_DisableSnapshotCopy.go.snap @@ -14,7 +14,6 @@ DisableSnapshotCopy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_DisassociateDataShareConsumer.go.snap b/service/redshift/snapshot/api_op_DisassociateDataShareConsumer.go.snap index 53a8c40a1ec..75dbce6470e 100644 --- a/service/redshift/snapshot/api_op_DisassociateDataShareConsumer.go.snap +++ b/service/redshift/snapshot/api_op_DisassociateDataShareConsumer.go.snap @@ -14,7 +14,6 @@ DisassociateDataShareConsumer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_EnableLogging.go.snap b/service/redshift/snapshot/api_op_EnableLogging.go.snap index c4572993531..fe860072454 100644 --- a/service/redshift/snapshot/api_op_EnableLogging.go.snap +++ b/service/redshift/snapshot/api_op_EnableLogging.go.snap @@ -14,7 +14,6 @@ EnableLogging Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_EnableSnapshotCopy.go.snap b/service/redshift/snapshot/api_op_EnableSnapshotCopy.go.snap index b57aa3980af..76bc8a29712 100644 --- a/service/redshift/snapshot/api_op_EnableSnapshotCopy.go.snap +++ b/service/redshift/snapshot/api_op_EnableSnapshotCopy.go.snap @@ -14,7 +14,6 @@ EnableSnapshotCopy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_FailoverPrimaryCompute.go.snap b/service/redshift/snapshot/api_op_FailoverPrimaryCompute.go.snap index fa456e00813..b88bc9920d3 100644 --- a/service/redshift/snapshot/api_op_FailoverPrimaryCompute.go.snap +++ b/service/redshift/snapshot/api_op_FailoverPrimaryCompute.go.snap @@ -14,7 +14,6 @@ FailoverPrimaryCompute Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_GetClusterCredentials.go.snap b/service/redshift/snapshot/api_op_GetClusterCredentials.go.snap index a3b3ed07a70..de686f770e7 100644 --- a/service/redshift/snapshot/api_op_GetClusterCredentials.go.snap +++ b/service/redshift/snapshot/api_op_GetClusterCredentials.go.snap @@ -14,7 +14,6 @@ GetClusterCredentials Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_GetClusterCredentialsWithIAM.go.snap b/service/redshift/snapshot/api_op_GetClusterCredentialsWithIAM.go.snap index 9257c318f63..75a825b6d4f 100644 --- a/service/redshift/snapshot/api_op_GetClusterCredentialsWithIAM.go.snap +++ b/service/redshift/snapshot/api_op_GetClusterCredentialsWithIAM.go.snap @@ -13,7 +13,6 @@ GetClusterCredentialsWithIAM Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_GetReservedNodeExchangeConfigurationOptions.go.snap b/service/redshift/snapshot/api_op_GetReservedNodeExchangeConfigurationOptions.go.snap index dfcd05bf23a..c4303e66366 100644 --- a/service/redshift/snapshot/api_op_GetReservedNodeExchangeConfigurationOptions.go.snap +++ b/service/redshift/snapshot/api_op_GetReservedNodeExchangeConfigurationOptions.go.snap @@ -14,7 +14,6 @@ GetReservedNodeExchangeConfigurationOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_GetReservedNodeExchangeOfferings.go.snap b/service/redshift/snapshot/api_op_GetReservedNodeExchangeOfferings.go.snap index 57b0400ace0..8d161cb039a 100644 --- a/service/redshift/snapshot/api_op_GetReservedNodeExchangeOfferings.go.snap +++ b/service/redshift/snapshot/api_op_GetReservedNodeExchangeOfferings.go.snap @@ -14,7 +14,6 @@ GetReservedNodeExchangeOfferings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_GetResourcePolicy.go.snap b/service/redshift/snapshot/api_op_GetResourcePolicy.go.snap index e3408c09804..4b3e7d017fa 100644 --- a/service/redshift/snapshot/api_op_GetResourcePolicy.go.snap +++ b/service/redshift/snapshot/api_op_GetResourcePolicy.go.snap @@ -14,7 +14,6 @@ GetResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_ListRecommendations.go.snap b/service/redshift/snapshot/api_op_ListRecommendations.go.snap index 799e878ceab..4d55ea7adbf 100644 --- a/service/redshift/snapshot/api_op_ListRecommendations.go.snap +++ b/service/redshift/snapshot/api_op_ListRecommendations.go.snap @@ -13,7 +13,6 @@ ListRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_ModifyAquaConfiguration.go.snap b/service/redshift/snapshot/api_op_ModifyAquaConfiguration.go.snap index 50ce273a633..f7ffab9cbb0 100644 --- a/service/redshift/snapshot/api_op_ModifyAquaConfiguration.go.snap +++ b/service/redshift/snapshot/api_op_ModifyAquaConfiguration.go.snap @@ -14,7 +14,6 @@ ModifyAquaConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_ModifyAuthenticationProfile.go.snap b/service/redshift/snapshot/api_op_ModifyAuthenticationProfile.go.snap index 825f80d0aaf..7e7d2bd68fe 100644 --- a/service/redshift/snapshot/api_op_ModifyAuthenticationProfile.go.snap +++ b/service/redshift/snapshot/api_op_ModifyAuthenticationProfile.go.snap @@ -14,7 +14,6 @@ ModifyAuthenticationProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_ModifyCluster.go.snap b/service/redshift/snapshot/api_op_ModifyCluster.go.snap index 76970ec6bd0..f67333e3f96 100644 --- a/service/redshift/snapshot/api_op_ModifyCluster.go.snap +++ b/service/redshift/snapshot/api_op_ModifyCluster.go.snap @@ -14,7 +14,6 @@ ModifyCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_ModifyClusterDbRevision.go.snap b/service/redshift/snapshot/api_op_ModifyClusterDbRevision.go.snap index c518eca94be..8e970a6d7e5 100644 --- a/service/redshift/snapshot/api_op_ModifyClusterDbRevision.go.snap +++ b/service/redshift/snapshot/api_op_ModifyClusterDbRevision.go.snap @@ -14,7 +14,6 @@ ModifyClusterDbRevision Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_ModifyClusterIamRoles.go.snap b/service/redshift/snapshot/api_op_ModifyClusterIamRoles.go.snap index c08e1d1ff8a..12950fa76df 100644 --- a/service/redshift/snapshot/api_op_ModifyClusterIamRoles.go.snap +++ b/service/redshift/snapshot/api_op_ModifyClusterIamRoles.go.snap @@ -14,7 +14,6 @@ ModifyClusterIamRoles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_ModifyClusterMaintenance.go.snap b/service/redshift/snapshot/api_op_ModifyClusterMaintenance.go.snap index 4dfae180b21..e222d27870f 100644 --- a/service/redshift/snapshot/api_op_ModifyClusterMaintenance.go.snap +++ b/service/redshift/snapshot/api_op_ModifyClusterMaintenance.go.snap @@ -14,7 +14,6 @@ ModifyClusterMaintenance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_ModifyClusterParameterGroup.go.snap b/service/redshift/snapshot/api_op_ModifyClusterParameterGroup.go.snap index be03f5cfad9..c06b0de35b9 100644 --- a/service/redshift/snapshot/api_op_ModifyClusterParameterGroup.go.snap +++ b/service/redshift/snapshot/api_op_ModifyClusterParameterGroup.go.snap @@ -14,7 +14,6 @@ ModifyClusterParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_ModifyClusterSnapshot.go.snap b/service/redshift/snapshot/api_op_ModifyClusterSnapshot.go.snap index 3e4178b72a9..273cfb55737 100644 --- a/service/redshift/snapshot/api_op_ModifyClusterSnapshot.go.snap +++ b/service/redshift/snapshot/api_op_ModifyClusterSnapshot.go.snap @@ -14,7 +14,6 @@ ModifyClusterSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_ModifyClusterSnapshotSchedule.go.snap b/service/redshift/snapshot/api_op_ModifyClusterSnapshotSchedule.go.snap index 8ffa6cfad24..0ad128442b7 100644 --- a/service/redshift/snapshot/api_op_ModifyClusterSnapshotSchedule.go.snap +++ b/service/redshift/snapshot/api_op_ModifyClusterSnapshotSchedule.go.snap @@ -14,7 +14,6 @@ ModifyClusterSnapshotSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_ModifyClusterSubnetGroup.go.snap b/service/redshift/snapshot/api_op_ModifyClusterSubnetGroup.go.snap index 943b7203693..5f7ccd0eded 100644 --- a/service/redshift/snapshot/api_op_ModifyClusterSubnetGroup.go.snap +++ b/service/redshift/snapshot/api_op_ModifyClusterSubnetGroup.go.snap @@ -14,7 +14,6 @@ ModifyClusterSubnetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_ModifyCustomDomainAssociation.go.snap b/service/redshift/snapshot/api_op_ModifyCustomDomainAssociation.go.snap index 905302b139d..9017ffc32c8 100644 --- a/service/redshift/snapshot/api_op_ModifyCustomDomainAssociation.go.snap +++ b/service/redshift/snapshot/api_op_ModifyCustomDomainAssociation.go.snap @@ -14,7 +14,6 @@ ModifyCustomDomainAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_ModifyEndpointAccess.go.snap b/service/redshift/snapshot/api_op_ModifyEndpointAccess.go.snap index 7d820228ecd..a33be51aa1d 100644 --- a/service/redshift/snapshot/api_op_ModifyEndpointAccess.go.snap +++ b/service/redshift/snapshot/api_op_ModifyEndpointAccess.go.snap @@ -14,7 +14,6 @@ ModifyEndpointAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_ModifyEventSubscription.go.snap b/service/redshift/snapshot/api_op_ModifyEventSubscription.go.snap index 0facf4e0e8f..805942e17a2 100644 --- a/service/redshift/snapshot/api_op_ModifyEventSubscription.go.snap +++ b/service/redshift/snapshot/api_op_ModifyEventSubscription.go.snap @@ -14,7 +14,6 @@ ModifyEventSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_ModifyIntegration.go.snap b/service/redshift/snapshot/api_op_ModifyIntegration.go.snap index d884fc0266e..654cbf0d1df 100644 --- a/service/redshift/snapshot/api_op_ModifyIntegration.go.snap +++ b/service/redshift/snapshot/api_op_ModifyIntegration.go.snap @@ -14,7 +14,6 @@ ModifyIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_ModifyRedshiftIdcApplication.go.snap b/service/redshift/snapshot/api_op_ModifyRedshiftIdcApplication.go.snap index 751444f9429..24ed07c5f96 100644 --- a/service/redshift/snapshot/api_op_ModifyRedshiftIdcApplication.go.snap +++ b/service/redshift/snapshot/api_op_ModifyRedshiftIdcApplication.go.snap @@ -14,7 +14,6 @@ ModifyRedshiftIdcApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_ModifyScheduledAction.go.snap b/service/redshift/snapshot/api_op_ModifyScheduledAction.go.snap index 6f02e08484f..53dc2b0677c 100644 --- a/service/redshift/snapshot/api_op_ModifyScheduledAction.go.snap +++ b/service/redshift/snapshot/api_op_ModifyScheduledAction.go.snap @@ -14,7 +14,6 @@ ModifyScheduledAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_ModifySnapshotCopyRetentionPeriod.go.snap b/service/redshift/snapshot/api_op_ModifySnapshotCopyRetentionPeriod.go.snap index 0274afa3562..d3ec1c111a5 100644 --- a/service/redshift/snapshot/api_op_ModifySnapshotCopyRetentionPeriod.go.snap +++ b/service/redshift/snapshot/api_op_ModifySnapshotCopyRetentionPeriod.go.snap @@ -14,7 +14,6 @@ ModifySnapshotCopyRetentionPeriod Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_ModifySnapshotSchedule.go.snap b/service/redshift/snapshot/api_op_ModifySnapshotSchedule.go.snap index a28a21fc156..4ba8e43e106 100644 --- a/service/redshift/snapshot/api_op_ModifySnapshotSchedule.go.snap +++ b/service/redshift/snapshot/api_op_ModifySnapshotSchedule.go.snap @@ -14,7 +14,6 @@ ModifySnapshotSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_ModifyUsageLimit.go.snap b/service/redshift/snapshot/api_op_ModifyUsageLimit.go.snap index da6de4c5b83..3588b6ebe7b 100644 --- a/service/redshift/snapshot/api_op_ModifyUsageLimit.go.snap +++ b/service/redshift/snapshot/api_op_ModifyUsageLimit.go.snap @@ -14,7 +14,6 @@ ModifyUsageLimit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_PauseCluster.go.snap b/service/redshift/snapshot/api_op_PauseCluster.go.snap index b3ed2d5e45e..d6c57d967f7 100644 --- a/service/redshift/snapshot/api_op_PauseCluster.go.snap +++ b/service/redshift/snapshot/api_op_PauseCluster.go.snap @@ -14,7 +14,6 @@ PauseCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_PurchaseReservedNodeOffering.go.snap b/service/redshift/snapshot/api_op_PurchaseReservedNodeOffering.go.snap index d05d3fdd0a2..7f1dc67af90 100644 --- a/service/redshift/snapshot/api_op_PurchaseReservedNodeOffering.go.snap +++ b/service/redshift/snapshot/api_op_PurchaseReservedNodeOffering.go.snap @@ -14,7 +14,6 @@ PurchaseReservedNodeOffering Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_PutResourcePolicy.go.snap b/service/redshift/snapshot/api_op_PutResourcePolicy.go.snap index 30530b1514f..47bad3fad0e 100644 --- a/service/redshift/snapshot/api_op_PutResourcePolicy.go.snap +++ b/service/redshift/snapshot/api_op_PutResourcePolicy.go.snap @@ -14,7 +14,6 @@ PutResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_RebootCluster.go.snap b/service/redshift/snapshot/api_op_RebootCluster.go.snap index 3216fe08210..be86688f0da 100644 --- a/service/redshift/snapshot/api_op_RebootCluster.go.snap +++ b/service/redshift/snapshot/api_op_RebootCluster.go.snap @@ -14,7 +14,6 @@ RebootCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_RegisterNamespace.go.snap b/service/redshift/snapshot/api_op_RegisterNamespace.go.snap index 00e12377655..eb79206d4f2 100644 --- a/service/redshift/snapshot/api_op_RegisterNamespace.go.snap +++ b/service/redshift/snapshot/api_op_RegisterNamespace.go.snap @@ -14,7 +14,6 @@ RegisterNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_RejectDataShare.go.snap b/service/redshift/snapshot/api_op_RejectDataShare.go.snap index c380cc1f549..c01ad7fd0b4 100644 --- a/service/redshift/snapshot/api_op_RejectDataShare.go.snap +++ b/service/redshift/snapshot/api_op_RejectDataShare.go.snap @@ -14,7 +14,6 @@ RejectDataShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_ResetClusterParameterGroup.go.snap b/service/redshift/snapshot/api_op_ResetClusterParameterGroup.go.snap index 33a01b0c9a1..e3687af3f4c 100644 --- a/service/redshift/snapshot/api_op_ResetClusterParameterGroup.go.snap +++ b/service/redshift/snapshot/api_op_ResetClusterParameterGroup.go.snap @@ -14,7 +14,6 @@ ResetClusterParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_ResizeCluster.go.snap b/service/redshift/snapshot/api_op_ResizeCluster.go.snap index 85e599c1782..9a4b6df0e4b 100644 --- a/service/redshift/snapshot/api_op_ResizeCluster.go.snap +++ b/service/redshift/snapshot/api_op_ResizeCluster.go.snap @@ -14,7 +14,6 @@ ResizeCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_RestoreFromClusterSnapshot.go.snap b/service/redshift/snapshot/api_op_RestoreFromClusterSnapshot.go.snap index 3d97a944b24..f3ca1560605 100644 --- a/service/redshift/snapshot/api_op_RestoreFromClusterSnapshot.go.snap +++ b/service/redshift/snapshot/api_op_RestoreFromClusterSnapshot.go.snap @@ -14,7 +14,6 @@ RestoreFromClusterSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_RestoreTableFromClusterSnapshot.go.snap b/service/redshift/snapshot/api_op_RestoreTableFromClusterSnapshot.go.snap index ba1016ce68e..49afa17031a 100644 --- a/service/redshift/snapshot/api_op_RestoreTableFromClusterSnapshot.go.snap +++ b/service/redshift/snapshot/api_op_RestoreTableFromClusterSnapshot.go.snap @@ -14,7 +14,6 @@ RestoreTableFromClusterSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_ResumeCluster.go.snap b/service/redshift/snapshot/api_op_ResumeCluster.go.snap index 701f9395482..68576211b3b 100644 --- a/service/redshift/snapshot/api_op_ResumeCluster.go.snap +++ b/service/redshift/snapshot/api_op_ResumeCluster.go.snap @@ -14,7 +14,6 @@ ResumeCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_RevokeClusterSecurityGroupIngress.go.snap b/service/redshift/snapshot/api_op_RevokeClusterSecurityGroupIngress.go.snap index 562f2f1769d..5e0c7dbbbdd 100644 --- a/service/redshift/snapshot/api_op_RevokeClusterSecurityGroupIngress.go.snap +++ b/service/redshift/snapshot/api_op_RevokeClusterSecurityGroupIngress.go.snap @@ -14,7 +14,6 @@ RevokeClusterSecurityGroupIngress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_RevokeEndpointAccess.go.snap b/service/redshift/snapshot/api_op_RevokeEndpointAccess.go.snap index 1cbcd3f46ae..55cc129c7fb 100644 --- a/service/redshift/snapshot/api_op_RevokeEndpointAccess.go.snap +++ b/service/redshift/snapshot/api_op_RevokeEndpointAccess.go.snap @@ -13,7 +13,6 @@ RevokeEndpointAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_RevokeSnapshotAccess.go.snap b/service/redshift/snapshot/api_op_RevokeSnapshotAccess.go.snap index 89c7e4681b8..d1b9584e2f4 100644 --- a/service/redshift/snapshot/api_op_RevokeSnapshotAccess.go.snap +++ b/service/redshift/snapshot/api_op_RevokeSnapshotAccess.go.snap @@ -14,7 +14,6 @@ RevokeSnapshotAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_RotateEncryptionKey.go.snap b/service/redshift/snapshot/api_op_RotateEncryptionKey.go.snap index 0e0e29f7931..01610b7b07c 100644 --- a/service/redshift/snapshot/api_op_RotateEncryptionKey.go.snap +++ b/service/redshift/snapshot/api_op_RotateEncryptionKey.go.snap @@ -14,7 +14,6 @@ RotateEncryptionKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshift/snapshot/api_op_UpdatePartnerStatus.go.snap b/service/redshift/snapshot/api_op_UpdatePartnerStatus.go.snap index 5fb210ef0c6..1c918e7b60d 100644 --- a/service/redshift/snapshot/api_op_UpdatePartnerStatus.go.snap +++ b/service/redshift/snapshot/api_op_UpdatePartnerStatus.go.snap @@ -14,7 +14,6 @@ UpdatePartnerStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftdata/api_client.go b/service/redshiftdata/api_client.go index 42d20b8a5e5..12244a76f67 100644 --- a/service/redshiftdata/api_client.go +++ b/service/redshiftdata/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/redshiftdata/api_op_BatchExecuteStatement.go b/service/redshiftdata/api_op_BatchExecuteStatement.go index 3008406bcad..63dc34729fc 100644 --- a/service/redshiftdata/api_op_BatchExecuteStatement.go +++ b/service/redshiftdata/api_op_BatchExecuteStatement.go @@ -225,9 +225,6 @@ func (c *Client) addOperationBatchExecuteStatementMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opBatchExecuteStatementMiddleware(stack, options); err != nil { return err } diff --git a/service/redshiftdata/api_op_CancelStatement.go b/service/redshiftdata/api_op_CancelStatement.go index e919a2342f4..adbf9ecdc57 100644 --- a/service/redshiftdata/api_op_CancelStatement.go +++ b/service/redshiftdata/api_op_CancelStatement.go @@ -118,9 +118,6 @@ func (c *Client) addOperationCancelStatementMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelStatementValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftdata/api_op_DescribeStatement.go b/service/redshiftdata/api_op_DescribeStatement.go index dbb23ea0394..714f81678a5 100644 --- a/service/redshiftdata/api_op_DescribeStatement.go +++ b/service/redshiftdata/api_op_DescribeStatement.go @@ -214,9 +214,6 @@ func (c *Client) addOperationDescribeStatementMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeStatementValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftdata/api_op_DescribeTable.go b/service/redshiftdata/api_op_DescribeTable.go index a466bd2f661..be91c2deba5 100644 --- a/service/redshiftdata/api_op_DescribeTable.go +++ b/service/redshiftdata/api_op_DescribeTable.go @@ -201,9 +201,6 @@ func (c *Client) addOperationDescribeTableMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftdata/api_op_ExecuteStatement.go b/service/redshiftdata/api_op_ExecuteStatement.go index 084bcaf1a75..4357ad87531 100644 --- a/service/redshiftdata/api_op_ExecuteStatement.go +++ b/service/redshiftdata/api_op_ExecuteStatement.go @@ -223,9 +223,6 @@ func (c *Client) addOperationExecuteStatementMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opExecuteStatementMiddleware(stack, options); err != nil { return err } diff --git a/service/redshiftdata/api_op_GetStatementResult.go b/service/redshiftdata/api_op_GetStatementResult.go index 52acca464b6..afbdd72d15a 100644 --- a/service/redshiftdata/api_op_GetStatementResult.go +++ b/service/redshiftdata/api_op_GetStatementResult.go @@ -149,9 +149,6 @@ func (c *Client) addOperationGetStatementResultMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetStatementResultValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftdata/api_op_GetStatementResultV2.go b/service/redshiftdata/api_op_GetStatementResultV2.go index 0f6a30d1c8c..d4f5f841f04 100644 --- a/service/redshiftdata/api_op_GetStatementResultV2.go +++ b/service/redshiftdata/api_op_GetStatementResultV2.go @@ -152,9 +152,6 @@ func (c *Client) addOperationGetStatementResultV2Middlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetStatementResultV2ValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftdata/api_op_ListDatabases.go b/service/redshiftdata/api_op_ListDatabases.go index 63250bf69a0..4a881916a12 100644 --- a/service/redshiftdata/api_op_ListDatabases.go +++ b/service/redshiftdata/api_op_ListDatabases.go @@ -182,9 +182,6 @@ func (c *Client) addOperationListDatabasesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDatabasesValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftdata/api_op_ListSchemas.go b/service/redshiftdata/api_op_ListSchemas.go index b96cf9dcf96..3df9e70c734 100644 --- a/service/redshiftdata/api_op_ListSchemas.go +++ b/service/redshiftdata/api_op_ListSchemas.go @@ -192,9 +192,6 @@ func (c *Client) addOperationListSchemasMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSchemasValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftdata/api_op_ListStatements.go b/service/redshiftdata/api_op_ListStatements.go index 9a00d92cc8a..667fe78cfc4 100644 --- a/service/redshiftdata/api_op_ListStatements.go +++ b/service/redshiftdata/api_op_ListStatements.go @@ -166,9 +166,6 @@ func (c *Client) addOperationListStatementsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStatements(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshiftdata/api_op_ListTables.go b/service/redshiftdata/api_op_ListTables.go index 30d399cff25..3b391c51b5f 100644 --- a/service/redshiftdata/api_op_ListTables.go +++ b/service/redshiftdata/api_op_ListTables.go @@ -205,9 +205,6 @@ func (c *Client) addOperationListTablesMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTablesValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftdata/snapshot/api_op_BatchExecuteStatement.go.snap b/service/redshiftdata/snapshot/api_op_BatchExecuteStatement.go.snap index 163bb03a116..2b79ff58f38 100644 --- a/service/redshiftdata/snapshot/api_op_BatchExecuteStatement.go.snap +++ b/service/redshiftdata/snapshot/api_op_BatchExecuteStatement.go.snap @@ -15,7 +15,6 @@ BatchExecuteStatement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftdata/snapshot/api_op_CancelStatement.go.snap b/service/redshiftdata/snapshot/api_op_CancelStatement.go.snap index 85dda5d8ffb..05dd77b9a6c 100644 --- a/service/redshiftdata/snapshot/api_op_CancelStatement.go.snap +++ b/service/redshiftdata/snapshot/api_op_CancelStatement.go.snap @@ -14,7 +14,6 @@ CancelStatement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftdata/snapshot/api_op_DescribeStatement.go.snap b/service/redshiftdata/snapshot/api_op_DescribeStatement.go.snap index 8d4bcac786d..24be98f4e99 100644 --- a/service/redshiftdata/snapshot/api_op_DescribeStatement.go.snap +++ b/service/redshiftdata/snapshot/api_op_DescribeStatement.go.snap @@ -14,7 +14,6 @@ DescribeStatement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftdata/snapshot/api_op_DescribeTable.go.snap b/service/redshiftdata/snapshot/api_op_DescribeTable.go.snap index 0eb94fb7216..b5f756b2953 100644 --- a/service/redshiftdata/snapshot/api_op_DescribeTable.go.snap +++ b/service/redshiftdata/snapshot/api_op_DescribeTable.go.snap @@ -14,7 +14,6 @@ DescribeTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftdata/snapshot/api_op_ExecuteStatement.go.snap b/service/redshiftdata/snapshot/api_op_ExecuteStatement.go.snap index c31d50d6a89..dd3d466eb90 100644 --- a/service/redshiftdata/snapshot/api_op_ExecuteStatement.go.snap +++ b/service/redshiftdata/snapshot/api_op_ExecuteStatement.go.snap @@ -15,7 +15,6 @@ ExecuteStatement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftdata/snapshot/api_op_GetStatementResult.go.snap b/service/redshiftdata/snapshot/api_op_GetStatementResult.go.snap index c02bcf80bd2..e07137f7f1a 100644 --- a/service/redshiftdata/snapshot/api_op_GetStatementResult.go.snap +++ b/service/redshiftdata/snapshot/api_op_GetStatementResult.go.snap @@ -14,7 +14,6 @@ GetStatementResult Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftdata/snapshot/api_op_GetStatementResultV2.go.snap b/service/redshiftdata/snapshot/api_op_GetStatementResultV2.go.snap index 6db2745b812..61a201c0687 100644 --- a/service/redshiftdata/snapshot/api_op_GetStatementResultV2.go.snap +++ b/service/redshiftdata/snapshot/api_op_GetStatementResultV2.go.snap @@ -14,7 +14,6 @@ GetStatementResultV2 Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftdata/snapshot/api_op_ListDatabases.go.snap b/service/redshiftdata/snapshot/api_op_ListDatabases.go.snap index 91fd1102574..e174b0efd4d 100644 --- a/service/redshiftdata/snapshot/api_op_ListDatabases.go.snap +++ b/service/redshiftdata/snapshot/api_op_ListDatabases.go.snap @@ -14,7 +14,6 @@ ListDatabases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftdata/snapshot/api_op_ListSchemas.go.snap b/service/redshiftdata/snapshot/api_op_ListSchemas.go.snap index f744910a7e6..88bfba5ff3f 100644 --- a/service/redshiftdata/snapshot/api_op_ListSchemas.go.snap +++ b/service/redshiftdata/snapshot/api_op_ListSchemas.go.snap @@ -14,7 +14,6 @@ ListSchemas Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftdata/snapshot/api_op_ListStatements.go.snap b/service/redshiftdata/snapshot/api_op_ListStatements.go.snap index f5eead0849a..3e11f6d1be2 100644 --- a/service/redshiftdata/snapshot/api_op_ListStatements.go.snap +++ b/service/redshiftdata/snapshot/api_op_ListStatements.go.snap @@ -13,7 +13,6 @@ ListStatements Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftdata/snapshot/api_op_ListTables.go.snap b/service/redshiftdata/snapshot/api_op_ListTables.go.snap index 700533870a9..9575d9a9ad7 100644 --- a/service/redshiftdata/snapshot/api_op_ListTables.go.snap +++ b/service/redshiftdata/snapshot/api_op_ListTables.go.snap @@ -14,7 +14,6 @@ ListTables Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/api_client.go b/service/redshiftserverless/api_client.go index cf8028278a0..d39f53d8bcd 100644 --- a/service/redshiftserverless/api_client.go +++ b/service/redshiftserverless/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/redshiftserverless/api_op_ConvertRecoveryPointToSnapshot.go b/service/redshiftserverless/api_op_ConvertRecoveryPointToSnapshot.go index 98c4aca83fd..2c8276ef1a3 100644 --- a/service/redshiftserverless/api_op_ConvertRecoveryPointToSnapshot.go +++ b/service/redshiftserverless/api_op_ConvertRecoveryPointToSnapshot.go @@ -128,9 +128,6 @@ func (c *Client) addOperationConvertRecoveryPointToSnapshotMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpConvertRecoveryPointToSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_CreateCustomDomainAssociation.go b/service/redshiftserverless/api_op_CreateCustomDomainAssociation.go index e387c86f181..19e5218a182 100644 --- a/service/redshiftserverless/api_op_CreateCustomDomainAssociation.go +++ b/service/redshiftserverless/api_op_CreateCustomDomainAssociation.go @@ -131,9 +131,6 @@ func (c *Client) addOperationCreateCustomDomainAssociationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCustomDomainAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_CreateEndpointAccess.go b/service/redshiftserverless/api_op_CreateEndpointAccess.go index 295c2d346bb..11debfa86ac 100644 --- a/service/redshiftserverless/api_op_CreateEndpointAccess.go +++ b/service/redshiftserverless/api_op_CreateEndpointAccess.go @@ -133,9 +133,6 @@ func (c *Client) addOperationCreateEndpointAccessMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEndpointAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_CreateNamespace.go b/service/redshiftserverless/api_op_CreateNamespace.go index f7822d4a139..87c0f6f030a 100644 --- a/service/redshiftserverless/api_op_CreateNamespace.go +++ b/service/redshiftserverless/api_op_CreateNamespace.go @@ -157,9 +157,6 @@ func (c *Client) addOperationCreateNamespaceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateNamespaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_CreateScheduledAction.go b/service/redshiftserverless/api_op_CreateScheduledAction.go index 3960896628c..b2bb7178dd1 100644 --- a/service/redshiftserverless/api_op_CreateScheduledAction.go +++ b/service/redshiftserverless/api_op_CreateScheduledAction.go @@ -176,9 +176,6 @@ func (c *Client) addOperationCreateScheduledActionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateScheduledActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_CreateSnapshot.go b/service/redshiftserverless/api_op_CreateSnapshot.go index ce2d6705dda..e6689366b26 100644 --- a/service/redshiftserverless/api_op_CreateSnapshot.go +++ b/service/redshiftserverless/api_op_CreateSnapshot.go @@ -128,9 +128,6 @@ func (c *Client) addOperationCreateSnapshotMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_CreateSnapshotCopyConfiguration.go b/service/redshiftserverless/api_op_CreateSnapshotCopyConfiguration.go index f5948caeb9d..e148b4e919d 100644 --- a/service/redshiftserverless/api_op_CreateSnapshotCopyConfiguration.go +++ b/service/redshiftserverless/api_op_CreateSnapshotCopyConfiguration.go @@ -128,9 +128,6 @@ func (c *Client) addOperationCreateSnapshotCopyConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSnapshotCopyConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_CreateUsageLimit.go b/service/redshiftserverless/api_op_CreateUsageLimit.go index 20704604c6a..0ef0a1cc676 100644 --- a/service/redshiftserverless/api_op_CreateUsageLimit.go +++ b/service/redshiftserverless/api_op_CreateUsageLimit.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateUsageLimitMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateUsageLimitValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_CreateWorkgroup.go b/service/redshiftserverless/api_op_CreateWorkgroup.go index e15b4001a3c..497fbe3f22b 100644 --- a/service/redshiftserverless/api_op_CreateWorkgroup.go +++ b/service/redshiftserverless/api_op_CreateWorkgroup.go @@ -182,9 +182,6 @@ func (c *Client) addOperationCreateWorkgroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateWorkgroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_DeleteCustomDomainAssociation.go b/service/redshiftserverless/api_op_DeleteCustomDomainAssociation.go index d3c9120fb2f..1574a1666af 100644 --- a/service/redshiftserverless/api_op_DeleteCustomDomainAssociation.go +++ b/service/redshiftserverless/api_op_DeleteCustomDomainAssociation.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteCustomDomainAssociationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCustomDomainAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_DeleteEndpointAccess.go b/service/redshiftserverless/api_op_DeleteEndpointAccess.go index 13b1a639d80..d89eb67b5ee 100644 --- a/service/redshiftserverless/api_op_DeleteEndpointAccess.go +++ b/service/redshiftserverless/api_op_DeleteEndpointAccess.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteEndpointAccessMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEndpointAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_DeleteNamespace.go b/service/redshiftserverless/api_op_DeleteNamespace.go index 3800c6792a3..e96bed2a773 100644 --- a/service/redshiftserverless/api_op_DeleteNamespace.go +++ b/service/redshiftserverless/api_op_DeleteNamespace.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteNamespaceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteNamespaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_DeleteResourcePolicy.go b/service/redshiftserverless/api_op_DeleteResourcePolicy.go index 7fc6d452b73..40d367fc9bf 100644 --- a/service/redshiftserverless/api_op_DeleteResourcePolicy.go +++ b/service/redshiftserverless/api_op_DeleteResourcePolicy.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_DeleteScheduledAction.go b/service/redshiftserverless/api_op_DeleteScheduledAction.go index eaca8848d0a..d20fd540584 100644 --- a/service/redshiftserverless/api_op_DeleteScheduledAction.go +++ b/service/redshiftserverless/api_op_DeleteScheduledAction.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteScheduledActionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteScheduledActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_DeleteSnapshot.go b/service/redshiftserverless/api_op_DeleteSnapshot.go index 76e2dd495cf..6d8fae86849 100644 --- a/service/redshiftserverless/api_op_DeleteSnapshot.go +++ b/service/redshiftserverless/api_op_DeleteSnapshot.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteSnapshotMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_DeleteSnapshotCopyConfiguration.go b/service/redshiftserverless/api_op_DeleteSnapshotCopyConfiguration.go index 829829ef949..ce6f0667158 100644 --- a/service/redshiftserverless/api_op_DeleteSnapshotCopyConfiguration.go +++ b/service/redshiftserverless/api_op_DeleteSnapshotCopyConfiguration.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteSnapshotCopyConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSnapshotCopyConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_DeleteUsageLimit.go b/service/redshiftserverless/api_op_DeleteUsageLimit.go index 79c3f89708a..22d3fabda7c 100644 --- a/service/redshiftserverless/api_op_DeleteUsageLimit.go +++ b/service/redshiftserverless/api_op_DeleteUsageLimit.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteUsageLimitMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUsageLimitValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_DeleteWorkgroup.go b/service/redshiftserverless/api_op_DeleteWorkgroup.go index 429ff33ccc0..d94fbe20609 100644 --- a/service/redshiftserverless/api_op_DeleteWorkgroup.go +++ b/service/redshiftserverless/api_op_DeleteWorkgroup.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteWorkgroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWorkgroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_GetCredentials.go b/service/redshiftserverless/api_op_GetCredentials.go index 2898686024b..c41865cc1cf 100644 --- a/service/redshiftserverless/api_op_GetCredentials.go +++ b/service/redshiftserverless/api_op_GetCredentials.go @@ -162,9 +162,6 @@ func (c *Client) addOperationGetCredentialsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCredentials(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshiftserverless/api_op_GetCustomDomainAssociation.go b/service/redshiftserverless/api_op_GetCustomDomainAssociation.go index 5c8b5b82999..95ab3b36263 100644 --- a/service/redshiftserverless/api_op_GetCustomDomainAssociation.go +++ b/service/redshiftserverless/api_op_GetCustomDomainAssociation.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetCustomDomainAssociationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCustomDomainAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_GetEndpointAccess.go b/service/redshiftserverless/api_op_GetEndpointAccess.go index 5285667c6a7..9cc163efc0d 100644 --- a/service/redshiftserverless/api_op_GetEndpointAccess.go +++ b/service/redshiftserverless/api_op_GetEndpointAccess.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetEndpointAccessMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEndpointAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_GetNamespace.go b/service/redshiftserverless/api_op_GetNamespace.go index 544cd238af3..2a90613d8d4 100644 --- a/service/redshiftserverless/api_op_GetNamespace.go +++ b/service/redshiftserverless/api_op_GetNamespace.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetNamespaceMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetNamespaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_GetRecoveryPoint.go b/service/redshiftserverless/api_op_GetRecoveryPoint.go index ed88ffdc758..a14feed8dd2 100644 --- a/service/redshiftserverless/api_op_GetRecoveryPoint.go +++ b/service/redshiftserverless/api_op_GetRecoveryPoint.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetRecoveryPointMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRecoveryPointValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_GetResourcePolicy.go b/service/redshiftserverless/api_op_GetResourcePolicy.go index 89e27ef956e..2408798135a 100644 --- a/service/redshiftserverless/api_op_GetResourcePolicy.go +++ b/service/redshiftserverless/api_op_GetResourcePolicy.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_GetScheduledAction.go b/service/redshiftserverless/api_op_GetScheduledAction.go index f7ec0d17bfe..abfb108d3f3 100644 --- a/service/redshiftserverless/api_op_GetScheduledAction.go +++ b/service/redshiftserverless/api_op_GetScheduledAction.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetScheduledActionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetScheduledActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_GetSnapshot.go b/service/redshiftserverless/api_op_GetSnapshot.go index 60117f32eeb..f90de26c83c 100644 --- a/service/redshiftserverless/api_op_GetSnapshot.go +++ b/service/redshiftserverless/api_op_GetSnapshot.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetSnapshotMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSnapshot(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshiftserverless/api_op_GetTableRestoreStatus.go b/service/redshiftserverless/api_op_GetTableRestoreStatus.go index c1daacb0499..67579c008ed 100644 --- a/service/redshiftserverless/api_op_GetTableRestoreStatus.go +++ b/service/redshiftserverless/api_op_GetTableRestoreStatus.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetTableRestoreStatusMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTableRestoreStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_GetUsageLimit.go b/service/redshiftserverless/api_op_GetUsageLimit.go index 68ebbc9858d..595b074859d 100644 --- a/service/redshiftserverless/api_op_GetUsageLimit.go +++ b/service/redshiftserverless/api_op_GetUsageLimit.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetUsageLimitMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUsageLimitValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_GetWorkgroup.go b/service/redshiftserverless/api_op_GetWorkgroup.go index 16c1ed6b1df..68b21fa127f 100644 --- a/service/redshiftserverless/api_op_GetWorkgroup.go +++ b/service/redshiftserverless/api_op_GetWorkgroup.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetWorkgroupMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWorkgroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_ListCustomDomainAssociations.go b/service/redshiftserverless/api_op_ListCustomDomainAssociations.go index 498d89b8bc1..f19a9326f00 100644 --- a/service/redshiftserverless/api_op_ListCustomDomainAssociations.go +++ b/service/redshiftserverless/api_op_ListCustomDomainAssociations.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListCustomDomainAssociationsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCustomDomainAssociations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshiftserverless/api_op_ListEndpointAccess.go b/service/redshiftserverless/api_op_ListEndpointAccess.go index dbf2f785812..90a255eb4f6 100644 --- a/service/redshiftserverless/api_op_ListEndpointAccess.go +++ b/service/redshiftserverless/api_op_ListEndpointAccess.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListEndpointAccessMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEndpointAccess(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshiftserverless/api_op_ListManagedWorkgroups.go b/service/redshiftserverless/api_op_ListManagedWorkgroups.go index d795497161f..39e6ebebee0 100644 --- a/service/redshiftserverless/api_op_ListManagedWorkgroups.go +++ b/service/redshiftserverless/api_op_ListManagedWorkgroups.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListManagedWorkgroupsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListManagedWorkgroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshiftserverless/api_op_ListNamespaces.go b/service/redshiftserverless/api_op_ListNamespaces.go index c494f16d41b..9910eb373c0 100644 --- a/service/redshiftserverless/api_op_ListNamespaces.go +++ b/service/redshiftserverless/api_op_ListNamespaces.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListNamespacesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNamespaces(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshiftserverless/api_op_ListRecoveryPoints.go b/service/redshiftserverless/api_op_ListRecoveryPoints.go index 7fbfd82b4af..8376d3f5de9 100644 --- a/service/redshiftserverless/api_op_ListRecoveryPoints.go +++ b/service/redshiftserverless/api_op_ListRecoveryPoints.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListRecoveryPointsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRecoveryPoints(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshiftserverless/api_op_ListScheduledActions.go b/service/redshiftserverless/api_op_ListScheduledActions.go index 3d2e0705a22..984d2eb507e 100644 --- a/service/redshiftserverless/api_op_ListScheduledActions.go +++ b/service/redshiftserverless/api_op_ListScheduledActions.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListScheduledActionsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListScheduledActions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshiftserverless/api_op_ListSnapshotCopyConfigurations.go b/service/redshiftserverless/api_op_ListSnapshotCopyConfigurations.go index ebbf623fb9e..b11dbedd190 100644 --- a/service/redshiftserverless/api_op_ListSnapshotCopyConfigurations.go +++ b/service/redshiftserverless/api_op_ListSnapshotCopyConfigurations.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListSnapshotCopyConfigurationsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSnapshotCopyConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshiftserverless/api_op_ListSnapshots.go b/service/redshiftserverless/api_op_ListSnapshots.go index 21c345520e2..819c6162779 100644 --- a/service/redshiftserverless/api_op_ListSnapshots.go +++ b/service/redshiftserverless/api_op_ListSnapshots.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListSnapshotsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSnapshots(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshiftserverless/api_op_ListTableRestoreStatus.go b/service/redshiftserverless/api_op_ListTableRestoreStatus.go index 6632b3fce6f..33660f0db2b 100644 --- a/service/redshiftserverless/api_op_ListTableRestoreStatus.go +++ b/service/redshiftserverless/api_op_ListTableRestoreStatus.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListTableRestoreStatusMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTableRestoreStatus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshiftserverless/api_op_ListTagsForResource.go b/service/redshiftserverless/api_op_ListTagsForResource.go index ecfeefde353..09bd8db4a60 100644 --- a/service/redshiftserverless/api_op_ListTagsForResource.go +++ b/service/redshiftserverless/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_ListUsageLimits.go b/service/redshiftserverless/api_op_ListUsageLimits.go index 376f41c98b4..5de2dbbe58a 100644 --- a/service/redshiftserverless/api_op_ListUsageLimits.go +++ b/service/redshiftserverless/api_op_ListUsageLimits.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListUsageLimitsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUsageLimits(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshiftserverless/api_op_ListWorkgroups.go b/service/redshiftserverless/api_op_ListWorkgroups.go index 747001815a2..34a9b9bd415 100644 --- a/service/redshiftserverless/api_op_ListWorkgroups.go +++ b/service/redshiftserverless/api_op_ListWorkgroups.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListWorkgroupsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkgroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/redshiftserverless/api_op_PutResourcePolicy.go b/service/redshiftserverless/api_op_PutResourcePolicy.go index cb41618ff8d..7758fccddff 100644 --- a/service/redshiftserverless/api_op_PutResourcePolicy.go +++ b/service/redshiftserverless/api_op_PutResourcePolicy.go @@ -125,9 +125,6 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_RestoreFromRecoveryPoint.go b/service/redshiftserverless/api_op_RestoreFromRecoveryPoint.go index a7424ff4f48..f9eca3819c7 100644 --- a/service/redshiftserverless/api_op_RestoreFromRecoveryPoint.go +++ b/service/redshiftserverless/api_op_RestoreFromRecoveryPoint.go @@ -125,9 +125,6 @@ func (c *Client) addOperationRestoreFromRecoveryPointMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreFromRecoveryPointValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_RestoreFromSnapshot.go b/service/redshiftserverless/api_op_RestoreFromSnapshot.go index 338603d28eb..dfb7ad533bf 100644 --- a/service/redshiftserverless/api_op_RestoreFromSnapshot.go +++ b/service/redshiftserverless/api_op_RestoreFromSnapshot.go @@ -148,9 +148,6 @@ func (c *Client) addOperationRestoreFromSnapshotMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreFromSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_RestoreTableFromRecoveryPoint.go b/service/redshiftserverless/api_op_RestoreTableFromRecoveryPoint.go index 3b1785389b6..bd1748dcbb6 100644 --- a/service/redshiftserverless/api_op_RestoreTableFromRecoveryPoint.go +++ b/service/redshiftserverless/api_op_RestoreTableFromRecoveryPoint.go @@ -153,9 +153,6 @@ func (c *Client) addOperationRestoreTableFromRecoveryPointMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreTableFromRecoveryPointValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_RestoreTableFromSnapshot.go b/service/redshiftserverless/api_op_RestoreTableFromSnapshot.go index 0ed72dd76c8..f9c4357a458 100644 --- a/service/redshiftserverless/api_op_RestoreTableFromSnapshot.go +++ b/service/redshiftserverless/api_op_RestoreTableFromSnapshot.go @@ -154,9 +154,6 @@ func (c *Client) addOperationRestoreTableFromSnapshotMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreTableFromSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_TagResource.go b/service/redshiftserverless/api_op_TagResource.go index 2ab79b46c07..6094e7ccde6 100644 --- a/service/redshiftserverless/api_op_TagResource.go +++ b/service/redshiftserverless/api_op_TagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_UntagResource.go b/service/redshiftserverless/api_op_UntagResource.go index 906853dd0a5..3f4a4a540d9 100644 --- a/service/redshiftserverless/api_op_UntagResource.go +++ b/service/redshiftserverless/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_UpdateCustomDomainAssociation.go b/service/redshiftserverless/api_op_UpdateCustomDomainAssociation.go index 834d3939e08..c05f54908c5 100644 --- a/service/redshiftserverless/api_op_UpdateCustomDomainAssociation.go +++ b/service/redshiftserverless/api_op_UpdateCustomDomainAssociation.go @@ -133,9 +133,6 @@ func (c *Client) addOperationUpdateCustomDomainAssociationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCustomDomainAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_UpdateEndpointAccess.go b/service/redshiftserverless/api_op_UpdateEndpointAccess.go index b13e61d1588..8673332a82d 100644 --- a/service/redshiftserverless/api_op_UpdateEndpointAccess.go +++ b/service/redshiftserverless/api_op_UpdateEndpointAccess.go @@ -116,9 +116,6 @@ func (c *Client) addOperationUpdateEndpointAccessMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEndpointAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_UpdateNamespace.go b/service/redshiftserverless/api_op_UpdateNamespace.go index 1406398f548..dd7474440d0 100644 --- a/service/redshiftserverless/api_op_UpdateNamespace.go +++ b/service/redshiftserverless/api_op_UpdateNamespace.go @@ -155,9 +155,6 @@ func (c *Client) addOperationUpdateNamespaceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateNamespaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_UpdateScheduledAction.go b/service/redshiftserverless/api_op_UpdateScheduledAction.go index 08ca81f9456..0f7439a40d1 100644 --- a/service/redshiftserverless/api_op_UpdateScheduledAction.go +++ b/service/redshiftserverless/api_op_UpdateScheduledAction.go @@ -157,9 +157,6 @@ func (c *Client) addOperationUpdateScheduledActionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateScheduledActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_UpdateSnapshot.go b/service/redshiftserverless/api_op_UpdateSnapshot.go index 9fc824154f6..26b799920ce 100644 --- a/service/redshiftserverless/api_op_UpdateSnapshot.go +++ b/service/redshiftserverless/api_op_UpdateSnapshot.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUpdateSnapshotMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_UpdateSnapshotCopyConfiguration.go b/service/redshiftserverless/api_op_UpdateSnapshotCopyConfiguration.go index 2cd737b51b8..d09d50fd0c7 100644 --- a/service/redshiftserverless/api_op_UpdateSnapshotCopyConfiguration.go +++ b/service/redshiftserverless/api_op_UpdateSnapshotCopyConfiguration.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateSnapshotCopyConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSnapshotCopyConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_UpdateUsageLimit.go b/service/redshiftserverless/api_op_UpdateUsageLimit.go index fd2fd8f44f7..e861367df0b 100644 --- a/service/redshiftserverless/api_op_UpdateUsageLimit.go +++ b/service/redshiftserverless/api_op_UpdateUsageLimit.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateUsageLimitMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateUsageLimitValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/api_op_UpdateWorkgroup.go b/service/redshiftserverless/api_op_UpdateWorkgroup.go index b1797a02728..f82b9bb3759 100644 --- a/service/redshiftserverless/api_op_UpdateWorkgroup.go +++ b/service/redshiftserverless/api_op_UpdateWorkgroup.go @@ -178,9 +178,6 @@ func (c *Client) addOperationUpdateWorkgroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateWorkgroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/redshiftserverless/snapshot/api_op_ConvertRecoveryPointToSnapshot.go.snap b/service/redshiftserverless/snapshot/api_op_ConvertRecoveryPointToSnapshot.go.snap index 6eb94b2894f..845a70111fc 100644 --- a/service/redshiftserverless/snapshot/api_op_ConvertRecoveryPointToSnapshot.go.snap +++ b/service/redshiftserverless/snapshot/api_op_ConvertRecoveryPointToSnapshot.go.snap @@ -14,7 +14,6 @@ ConvertRecoveryPointToSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_CreateCustomDomainAssociation.go.snap b/service/redshiftserverless/snapshot/api_op_CreateCustomDomainAssociation.go.snap index c319b20f5a0..41eac4023ed 100644 --- a/service/redshiftserverless/snapshot/api_op_CreateCustomDomainAssociation.go.snap +++ b/service/redshiftserverless/snapshot/api_op_CreateCustomDomainAssociation.go.snap @@ -14,7 +14,6 @@ CreateCustomDomainAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_CreateEndpointAccess.go.snap b/service/redshiftserverless/snapshot/api_op_CreateEndpointAccess.go.snap index 7dc58eaeb1e..ac3f4695eb6 100644 --- a/service/redshiftserverless/snapshot/api_op_CreateEndpointAccess.go.snap +++ b/service/redshiftserverless/snapshot/api_op_CreateEndpointAccess.go.snap @@ -14,7 +14,6 @@ CreateEndpointAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_CreateNamespace.go.snap b/service/redshiftserverless/snapshot/api_op_CreateNamespace.go.snap index 36e21aff687..be14144a32f 100644 --- a/service/redshiftserverless/snapshot/api_op_CreateNamespace.go.snap +++ b/service/redshiftserverless/snapshot/api_op_CreateNamespace.go.snap @@ -14,7 +14,6 @@ CreateNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_CreateScheduledAction.go.snap b/service/redshiftserverless/snapshot/api_op_CreateScheduledAction.go.snap index 29d09ea3dfb..172022d1b2e 100644 --- a/service/redshiftserverless/snapshot/api_op_CreateScheduledAction.go.snap +++ b/service/redshiftserverless/snapshot/api_op_CreateScheduledAction.go.snap @@ -14,7 +14,6 @@ CreateScheduledAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_CreateSnapshot.go.snap b/service/redshiftserverless/snapshot/api_op_CreateSnapshot.go.snap index c5c9178ac0b..1a0713f514c 100644 --- a/service/redshiftserverless/snapshot/api_op_CreateSnapshot.go.snap +++ b/service/redshiftserverless/snapshot/api_op_CreateSnapshot.go.snap @@ -14,7 +14,6 @@ CreateSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_CreateSnapshotCopyConfiguration.go.snap b/service/redshiftserverless/snapshot/api_op_CreateSnapshotCopyConfiguration.go.snap index 8221deede11..659c9add197 100644 --- a/service/redshiftserverless/snapshot/api_op_CreateSnapshotCopyConfiguration.go.snap +++ b/service/redshiftserverless/snapshot/api_op_CreateSnapshotCopyConfiguration.go.snap @@ -14,7 +14,6 @@ CreateSnapshotCopyConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_CreateUsageLimit.go.snap b/service/redshiftserverless/snapshot/api_op_CreateUsageLimit.go.snap index 01e451b9dab..c399aed3fd2 100644 --- a/service/redshiftserverless/snapshot/api_op_CreateUsageLimit.go.snap +++ b/service/redshiftserverless/snapshot/api_op_CreateUsageLimit.go.snap @@ -14,7 +14,6 @@ CreateUsageLimit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_CreateWorkgroup.go.snap b/service/redshiftserverless/snapshot/api_op_CreateWorkgroup.go.snap index a516cd33cb1..712a8365a72 100644 --- a/service/redshiftserverless/snapshot/api_op_CreateWorkgroup.go.snap +++ b/service/redshiftserverless/snapshot/api_op_CreateWorkgroup.go.snap @@ -14,7 +14,6 @@ CreateWorkgroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_DeleteCustomDomainAssociation.go.snap b/service/redshiftserverless/snapshot/api_op_DeleteCustomDomainAssociation.go.snap index 1a44c7e5545..8c692701d79 100644 --- a/service/redshiftserverless/snapshot/api_op_DeleteCustomDomainAssociation.go.snap +++ b/service/redshiftserverless/snapshot/api_op_DeleteCustomDomainAssociation.go.snap @@ -14,7 +14,6 @@ DeleteCustomDomainAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_DeleteEndpointAccess.go.snap b/service/redshiftserverless/snapshot/api_op_DeleteEndpointAccess.go.snap index 8c479f1c725..5d2cb4aa981 100644 --- a/service/redshiftserverless/snapshot/api_op_DeleteEndpointAccess.go.snap +++ b/service/redshiftserverless/snapshot/api_op_DeleteEndpointAccess.go.snap @@ -14,7 +14,6 @@ DeleteEndpointAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_DeleteNamespace.go.snap b/service/redshiftserverless/snapshot/api_op_DeleteNamespace.go.snap index fc3c23b4082..2b81737a0c2 100644 --- a/service/redshiftserverless/snapshot/api_op_DeleteNamespace.go.snap +++ b/service/redshiftserverless/snapshot/api_op_DeleteNamespace.go.snap @@ -14,7 +14,6 @@ DeleteNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_DeleteResourcePolicy.go.snap b/service/redshiftserverless/snapshot/api_op_DeleteResourcePolicy.go.snap index 21dbc8dfcde..9948d797360 100644 --- a/service/redshiftserverless/snapshot/api_op_DeleteResourcePolicy.go.snap +++ b/service/redshiftserverless/snapshot/api_op_DeleteResourcePolicy.go.snap @@ -14,7 +14,6 @@ DeleteResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_DeleteScheduledAction.go.snap b/service/redshiftserverless/snapshot/api_op_DeleteScheduledAction.go.snap index a0420da12e4..4bd5e808d1e 100644 --- a/service/redshiftserverless/snapshot/api_op_DeleteScheduledAction.go.snap +++ b/service/redshiftserverless/snapshot/api_op_DeleteScheduledAction.go.snap @@ -14,7 +14,6 @@ DeleteScheduledAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_DeleteSnapshot.go.snap b/service/redshiftserverless/snapshot/api_op_DeleteSnapshot.go.snap index f4046d31f87..054fe5bb9b5 100644 --- a/service/redshiftserverless/snapshot/api_op_DeleteSnapshot.go.snap +++ b/service/redshiftserverless/snapshot/api_op_DeleteSnapshot.go.snap @@ -14,7 +14,6 @@ DeleteSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_DeleteSnapshotCopyConfiguration.go.snap b/service/redshiftserverless/snapshot/api_op_DeleteSnapshotCopyConfiguration.go.snap index 71393473439..7aba339d602 100644 --- a/service/redshiftserverless/snapshot/api_op_DeleteSnapshotCopyConfiguration.go.snap +++ b/service/redshiftserverless/snapshot/api_op_DeleteSnapshotCopyConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteSnapshotCopyConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_DeleteUsageLimit.go.snap b/service/redshiftserverless/snapshot/api_op_DeleteUsageLimit.go.snap index 8737711f61d..6056644efff 100644 --- a/service/redshiftserverless/snapshot/api_op_DeleteUsageLimit.go.snap +++ b/service/redshiftserverless/snapshot/api_op_DeleteUsageLimit.go.snap @@ -14,7 +14,6 @@ DeleteUsageLimit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_DeleteWorkgroup.go.snap b/service/redshiftserverless/snapshot/api_op_DeleteWorkgroup.go.snap index e17c70770b8..dd863a57515 100644 --- a/service/redshiftserverless/snapshot/api_op_DeleteWorkgroup.go.snap +++ b/service/redshiftserverless/snapshot/api_op_DeleteWorkgroup.go.snap @@ -14,7 +14,6 @@ DeleteWorkgroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_GetCredentials.go.snap b/service/redshiftserverless/snapshot/api_op_GetCredentials.go.snap index 1a1ffb9dba2..932c1b2d69e 100644 --- a/service/redshiftserverless/snapshot/api_op_GetCredentials.go.snap +++ b/service/redshiftserverless/snapshot/api_op_GetCredentials.go.snap @@ -13,7 +13,6 @@ GetCredentials Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_GetCustomDomainAssociation.go.snap b/service/redshiftserverless/snapshot/api_op_GetCustomDomainAssociation.go.snap index 1674fac9400..8a2cdcb6889 100644 --- a/service/redshiftserverless/snapshot/api_op_GetCustomDomainAssociation.go.snap +++ b/service/redshiftserverless/snapshot/api_op_GetCustomDomainAssociation.go.snap @@ -14,7 +14,6 @@ GetCustomDomainAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_GetEndpointAccess.go.snap b/service/redshiftserverless/snapshot/api_op_GetEndpointAccess.go.snap index 75046564d1b..13c2b7caa02 100644 --- a/service/redshiftserverless/snapshot/api_op_GetEndpointAccess.go.snap +++ b/service/redshiftserverless/snapshot/api_op_GetEndpointAccess.go.snap @@ -14,7 +14,6 @@ GetEndpointAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_GetNamespace.go.snap b/service/redshiftserverless/snapshot/api_op_GetNamespace.go.snap index 67d3502b29e..694c5c5dc96 100644 --- a/service/redshiftserverless/snapshot/api_op_GetNamespace.go.snap +++ b/service/redshiftserverless/snapshot/api_op_GetNamespace.go.snap @@ -14,7 +14,6 @@ GetNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_GetRecoveryPoint.go.snap b/service/redshiftserverless/snapshot/api_op_GetRecoveryPoint.go.snap index a0d7ee26c07..c389b733bcc 100644 --- a/service/redshiftserverless/snapshot/api_op_GetRecoveryPoint.go.snap +++ b/service/redshiftserverless/snapshot/api_op_GetRecoveryPoint.go.snap @@ -14,7 +14,6 @@ GetRecoveryPoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_GetResourcePolicy.go.snap b/service/redshiftserverless/snapshot/api_op_GetResourcePolicy.go.snap index e3408c09804..4b3e7d017fa 100644 --- a/service/redshiftserverless/snapshot/api_op_GetResourcePolicy.go.snap +++ b/service/redshiftserverless/snapshot/api_op_GetResourcePolicy.go.snap @@ -14,7 +14,6 @@ GetResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_GetScheduledAction.go.snap b/service/redshiftserverless/snapshot/api_op_GetScheduledAction.go.snap index 95f5966ccf0..0fdf7ebbf89 100644 --- a/service/redshiftserverless/snapshot/api_op_GetScheduledAction.go.snap +++ b/service/redshiftserverless/snapshot/api_op_GetScheduledAction.go.snap @@ -14,7 +14,6 @@ GetScheduledAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_GetSnapshot.go.snap b/service/redshiftserverless/snapshot/api_op_GetSnapshot.go.snap index 3caa00cd155..526d6dd193c 100644 --- a/service/redshiftserverless/snapshot/api_op_GetSnapshot.go.snap +++ b/service/redshiftserverless/snapshot/api_op_GetSnapshot.go.snap @@ -13,7 +13,6 @@ GetSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_GetTableRestoreStatus.go.snap b/service/redshiftserverless/snapshot/api_op_GetTableRestoreStatus.go.snap index aea38562828..9852eb46cf3 100644 --- a/service/redshiftserverless/snapshot/api_op_GetTableRestoreStatus.go.snap +++ b/service/redshiftserverless/snapshot/api_op_GetTableRestoreStatus.go.snap @@ -14,7 +14,6 @@ GetTableRestoreStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_GetUsageLimit.go.snap b/service/redshiftserverless/snapshot/api_op_GetUsageLimit.go.snap index cdf023fc74a..45a01e07a29 100644 --- a/service/redshiftserverless/snapshot/api_op_GetUsageLimit.go.snap +++ b/service/redshiftserverless/snapshot/api_op_GetUsageLimit.go.snap @@ -14,7 +14,6 @@ GetUsageLimit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_GetWorkgroup.go.snap b/service/redshiftserverless/snapshot/api_op_GetWorkgroup.go.snap index c7c364ea52e..d2e0d7de3ca 100644 --- a/service/redshiftserverless/snapshot/api_op_GetWorkgroup.go.snap +++ b/service/redshiftserverless/snapshot/api_op_GetWorkgroup.go.snap @@ -14,7 +14,6 @@ GetWorkgroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_ListCustomDomainAssociations.go.snap b/service/redshiftserverless/snapshot/api_op_ListCustomDomainAssociations.go.snap index 55669bd49ae..e7dcd790005 100644 --- a/service/redshiftserverless/snapshot/api_op_ListCustomDomainAssociations.go.snap +++ b/service/redshiftserverless/snapshot/api_op_ListCustomDomainAssociations.go.snap @@ -13,7 +13,6 @@ ListCustomDomainAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_ListEndpointAccess.go.snap b/service/redshiftserverless/snapshot/api_op_ListEndpointAccess.go.snap index fbb7c430d27..236cdb600f3 100644 --- a/service/redshiftserverless/snapshot/api_op_ListEndpointAccess.go.snap +++ b/service/redshiftserverless/snapshot/api_op_ListEndpointAccess.go.snap @@ -13,7 +13,6 @@ ListEndpointAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_ListManagedWorkgroups.go.snap b/service/redshiftserverless/snapshot/api_op_ListManagedWorkgroups.go.snap index 3a370ab4ff8..0c49c193177 100644 --- a/service/redshiftserverless/snapshot/api_op_ListManagedWorkgroups.go.snap +++ b/service/redshiftserverless/snapshot/api_op_ListManagedWorkgroups.go.snap @@ -13,7 +13,6 @@ ListManagedWorkgroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_ListNamespaces.go.snap b/service/redshiftserverless/snapshot/api_op_ListNamespaces.go.snap index c9a34840db5..55fa457cb9a 100644 --- a/service/redshiftserverless/snapshot/api_op_ListNamespaces.go.snap +++ b/service/redshiftserverless/snapshot/api_op_ListNamespaces.go.snap @@ -13,7 +13,6 @@ ListNamespaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_ListRecoveryPoints.go.snap b/service/redshiftserverless/snapshot/api_op_ListRecoveryPoints.go.snap index f284df20f56..460fcbbca61 100644 --- a/service/redshiftserverless/snapshot/api_op_ListRecoveryPoints.go.snap +++ b/service/redshiftserverless/snapshot/api_op_ListRecoveryPoints.go.snap @@ -13,7 +13,6 @@ ListRecoveryPoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_ListScheduledActions.go.snap b/service/redshiftserverless/snapshot/api_op_ListScheduledActions.go.snap index 306d31d6920..158a48f963a 100644 --- a/service/redshiftserverless/snapshot/api_op_ListScheduledActions.go.snap +++ b/service/redshiftserverless/snapshot/api_op_ListScheduledActions.go.snap @@ -13,7 +13,6 @@ ListScheduledActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_ListSnapshotCopyConfigurations.go.snap b/service/redshiftserverless/snapshot/api_op_ListSnapshotCopyConfigurations.go.snap index b33674f5d20..b987bd4cf52 100644 --- a/service/redshiftserverless/snapshot/api_op_ListSnapshotCopyConfigurations.go.snap +++ b/service/redshiftserverless/snapshot/api_op_ListSnapshotCopyConfigurations.go.snap @@ -13,7 +13,6 @@ ListSnapshotCopyConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_ListSnapshots.go.snap b/service/redshiftserverless/snapshot/api_op_ListSnapshots.go.snap index f69196e85f7..a7dd9830a64 100644 --- a/service/redshiftserverless/snapshot/api_op_ListSnapshots.go.snap +++ b/service/redshiftserverless/snapshot/api_op_ListSnapshots.go.snap @@ -13,7 +13,6 @@ ListSnapshots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_ListTableRestoreStatus.go.snap b/service/redshiftserverless/snapshot/api_op_ListTableRestoreStatus.go.snap index 7b76a8373c3..a334f33e334 100644 --- a/service/redshiftserverless/snapshot/api_op_ListTableRestoreStatus.go.snap +++ b/service/redshiftserverless/snapshot/api_op_ListTableRestoreStatus.go.snap @@ -13,7 +13,6 @@ ListTableRestoreStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_ListTagsForResource.go.snap b/service/redshiftserverless/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/redshiftserverless/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/redshiftserverless/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_ListUsageLimits.go.snap b/service/redshiftserverless/snapshot/api_op_ListUsageLimits.go.snap index b2c81e755ed..7e24a89c73e 100644 --- a/service/redshiftserverless/snapshot/api_op_ListUsageLimits.go.snap +++ b/service/redshiftserverless/snapshot/api_op_ListUsageLimits.go.snap @@ -13,7 +13,6 @@ ListUsageLimits Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_ListWorkgroups.go.snap b/service/redshiftserverless/snapshot/api_op_ListWorkgroups.go.snap index 570ebc72610..5d3cdc85b84 100644 --- a/service/redshiftserverless/snapshot/api_op_ListWorkgroups.go.snap +++ b/service/redshiftserverless/snapshot/api_op_ListWorkgroups.go.snap @@ -13,7 +13,6 @@ ListWorkgroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_PutResourcePolicy.go.snap b/service/redshiftserverless/snapshot/api_op_PutResourcePolicy.go.snap index 30530b1514f..47bad3fad0e 100644 --- a/service/redshiftserverless/snapshot/api_op_PutResourcePolicy.go.snap +++ b/service/redshiftserverless/snapshot/api_op_PutResourcePolicy.go.snap @@ -14,7 +14,6 @@ PutResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_RestoreFromRecoveryPoint.go.snap b/service/redshiftserverless/snapshot/api_op_RestoreFromRecoveryPoint.go.snap index ef90eeaceb4..6159d764e04 100644 --- a/service/redshiftserverless/snapshot/api_op_RestoreFromRecoveryPoint.go.snap +++ b/service/redshiftserverless/snapshot/api_op_RestoreFromRecoveryPoint.go.snap @@ -14,7 +14,6 @@ RestoreFromRecoveryPoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_RestoreFromSnapshot.go.snap b/service/redshiftserverless/snapshot/api_op_RestoreFromSnapshot.go.snap index 4bf3710743b..fc0b1b53750 100644 --- a/service/redshiftserverless/snapshot/api_op_RestoreFromSnapshot.go.snap +++ b/service/redshiftserverless/snapshot/api_op_RestoreFromSnapshot.go.snap @@ -14,7 +14,6 @@ RestoreFromSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_RestoreTableFromRecoveryPoint.go.snap b/service/redshiftserverless/snapshot/api_op_RestoreTableFromRecoveryPoint.go.snap index 190341fddef..00b6b1ac5b4 100644 --- a/service/redshiftserverless/snapshot/api_op_RestoreTableFromRecoveryPoint.go.snap +++ b/service/redshiftserverless/snapshot/api_op_RestoreTableFromRecoveryPoint.go.snap @@ -14,7 +14,6 @@ RestoreTableFromRecoveryPoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_RestoreTableFromSnapshot.go.snap b/service/redshiftserverless/snapshot/api_op_RestoreTableFromSnapshot.go.snap index 45f6a2d2084..67d7b6f6767 100644 --- a/service/redshiftserverless/snapshot/api_op_RestoreTableFromSnapshot.go.snap +++ b/service/redshiftserverless/snapshot/api_op_RestoreTableFromSnapshot.go.snap @@ -14,7 +14,6 @@ RestoreTableFromSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_TagResource.go.snap b/service/redshiftserverless/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/redshiftserverless/snapshot/api_op_TagResource.go.snap +++ b/service/redshiftserverless/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_UntagResource.go.snap b/service/redshiftserverless/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/redshiftserverless/snapshot/api_op_UntagResource.go.snap +++ b/service/redshiftserverless/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_UpdateCustomDomainAssociation.go.snap b/service/redshiftserverless/snapshot/api_op_UpdateCustomDomainAssociation.go.snap index efe9dba4df5..6b7b2a83531 100644 --- a/service/redshiftserverless/snapshot/api_op_UpdateCustomDomainAssociation.go.snap +++ b/service/redshiftserverless/snapshot/api_op_UpdateCustomDomainAssociation.go.snap @@ -14,7 +14,6 @@ UpdateCustomDomainAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_UpdateEndpointAccess.go.snap b/service/redshiftserverless/snapshot/api_op_UpdateEndpointAccess.go.snap index 8be97cc9361..ead1e02ea98 100644 --- a/service/redshiftserverless/snapshot/api_op_UpdateEndpointAccess.go.snap +++ b/service/redshiftserverless/snapshot/api_op_UpdateEndpointAccess.go.snap @@ -14,7 +14,6 @@ UpdateEndpointAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_UpdateNamespace.go.snap b/service/redshiftserverless/snapshot/api_op_UpdateNamespace.go.snap index e3b3f278e13..e26f39cafc9 100644 --- a/service/redshiftserverless/snapshot/api_op_UpdateNamespace.go.snap +++ b/service/redshiftserverless/snapshot/api_op_UpdateNamespace.go.snap @@ -14,7 +14,6 @@ UpdateNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_UpdateScheduledAction.go.snap b/service/redshiftserverless/snapshot/api_op_UpdateScheduledAction.go.snap index d6a0891ba67..afb72b6dc49 100644 --- a/service/redshiftserverless/snapshot/api_op_UpdateScheduledAction.go.snap +++ b/service/redshiftserverless/snapshot/api_op_UpdateScheduledAction.go.snap @@ -14,7 +14,6 @@ UpdateScheduledAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_UpdateSnapshot.go.snap b/service/redshiftserverless/snapshot/api_op_UpdateSnapshot.go.snap index 1caf1729ec4..313ed5bbe5d 100644 --- a/service/redshiftserverless/snapshot/api_op_UpdateSnapshot.go.snap +++ b/service/redshiftserverless/snapshot/api_op_UpdateSnapshot.go.snap @@ -14,7 +14,6 @@ UpdateSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_UpdateSnapshotCopyConfiguration.go.snap b/service/redshiftserverless/snapshot/api_op_UpdateSnapshotCopyConfiguration.go.snap index cad7b02e85c..366cb2bf12f 100644 --- a/service/redshiftserverless/snapshot/api_op_UpdateSnapshotCopyConfiguration.go.snap +++ b/service/redshiftserverless/snapshot/api_op_UpdateSnapshotCopyConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateSnapshotCopyConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_UpdateUsageLimit.go.snap b/service/redshiftserverless/snapshot/api_op_UpdateUsageLimit.go.snap index 18c6a8a57e4..2222bbf1099 100644 --- a/service/redshiftserverless/snapshot/api_op_UpdateUsageLimit.go.snap +++ b/service/redshiftserverless/snapshot/api_op_UpdateUsageLimit.go.snap @@ -14,7 +14,6 @@ UpdateUsageLimit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/redshiftserverless/snapshot/api_op_UpdateWorkgroup.go.snap b/service/redshiftserverless/snapshot/api_op_UpdateWorkgroup.go.snap index cc62b00dfad..66b40ff578c 100644 --- a/service/redshiftserverless/snapshot/api_op_UpdateWorkgroup.go.snap +++ b/service/redshiftserverless/snapshot/api_op_UpdateWorkgroup.go.snap @@ -14,7 +14,6 @@ UpdateWorkgroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/api_client.go b/service/rekognition/api_client.go index ad1e154456d..d9090d36c28 100644 --- a/service/rekognition/api_client.go +++ b/service/rekognition/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/rekognition/api_op_AssociateFaces.go b/service/rekognition/api_op_AssociateFaces.go index 13f296031da..e88a4f47f3a 100644 --- a/service/rekognition/api_op_AssociateFaces.go +++ b/service/rekognition/api_op_AssociateFaces.go @@ -170,9 +170,6 @@ func (c *Client) addOperationAssociateFacesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opAssociateFacesMiddleware(stack, options); err != nil { return err } diff --git a/service/rekognition/api_op_CompareFaces.go b/service/rekognition/api_op_CompareFaces.go index 9c565d9db87..e4b63eb2328 100644 --- a/service/rekognition/api_op_CompareFaces.go +++ b/service/rekognition/api_op_CompareFaces.go @@ -241,9 +241,6 @@ func (c *Client) addOperationCompareFacesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCompareFacesValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_CopyProjectVersion.go b/service/rekognition/api_op_CopyProjectVersion.go index 6f826a7abd4..c11056db0dd 100644 --- a/service/rekognition/api_op_CopyProjectVersion.go +++ b/service/rekognition/api_op_CopyProjectVersion.go @@ -187,9 +187,6 @@ func (c *Client) addOperationCopyProjectVersionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCopyProjectVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_CreateCollection.go b/service/rekognition/api_op_CreateCollection.go index cb5e96e68f6..c6bdc75438b 100644 --- a/service/rekognition/api_op_CreateCollection.go +++ b/service/rekognition/api_op_CreateCollection.go @@ -137,9 +137,6 @@ func (c *Client) addOperationCreateCollectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCollectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_CreateDataset.go b/service/rekognition/api_op_CreateDataset.go index 4cfffca13a6..b5e5f40a8ca 100644 --- a/service/rekognition/api_op_CreateDataset.go +++ b/service/rekognition/api_op_CreateDataset.go @@ -154,9 +154,6 @@ func (c *Client) addOperationCreateDatasetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_CreateFaceLivenessSession.go b/service/rekognition/api_op_CreateFaceLivenessSession.go index 9c2e54f324b..b20ea34c6d5 100644 --- a/service/rekognition/api_op_CreateFaceLivenessSession.go +++ b/service/rekognition/api_op_CreateFaceLivenessSession.go @@ -138,9 +138,6 @@ func (c *Client) addOperationCreateFaceLivenessSessionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFaceLivenessSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_CreateProject.go b/service/rekognition/api_op_CreateProject.go index 012cbc1d115..58f8b9b6e48 100644 --- a/service/rekognition/api_op_CreateProject.go +++ b/service/rekognition/api_op_CreateProject.go @@ -131,9 +131,6 @@ func (c *Client) addOperationCreateProjectMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_CreateProjectVersion.go b/service/rekognition/api_op_CreateProjectVersion.go index e91f5f8408a..e35d24be571 100644 --- a/service/rekognition/api_op_CreateProjectVersion.go +++ b/service/rekognition/api_op_CreateProjectVersion.go @@ -199,9 +199,6 @@ func (c *Client) addOperationCreateProjectVersionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateProjectVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_CreateStreamProcessor.go b/service/rekognition/api_op_CreateStreamProcessor.go index ea3575fc4c0..275fb161980 100644 --- a/service/rekognition/api_op_CreateStreamProcessor.go +++ b/service/rekognition/api_op_CreateStreamProcessor.go @@ -219,9 +219,6 @@ func (c *Client) addOperationCreateStreamProcessorMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateStreamProcessorValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_CreateUser.go b/service/rekognition/api_op_CreateUser.go index cc8b37132e1..c33d3dd279f 100644 --- a/service/rekognition/api_op_CreateUser.go +++ b/service/rekognition/api_op_CreateUser.go @@ -127,9 +127,6 @@ func (c *Client) addOperationCreateUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateUserMiddleware(stack, options); err != nil { return err } diff --git a/service/rekognition/api_op_DeleteCollection.go b/service/rekognition/api_op_DeleteCollection.go index 165276a853d..56622c2be8e 100644 --- a/service/rekognition/api_op_DeleteCollection.go +++ b/service/rekognition/api_op_DeleteCollection.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteCollectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCollectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DeleteDataset.go b/service/rekognition/api_op_DeleteDataset.go index 39413445125..9381bfe24d3 100644 --- a/service/rekognition/api_op_DeleteDataset.go +++ b/service/rekognition/api_op_DeleteDataset.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteDatasetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DeleteFaces.go b/service/rekognition/api_op_DeleteFaces.go index 8c53f494a32..f0c3cb020b0 100644 --- a/service/rekognition/api_op_DeleteFaces.go +++ b/service/rekognition/api_op_DeleteFaces.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteFacesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFacesValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DeleteProject.go b/service/rekognition/api_op_DeleteProject.go index c264fb1587f..378fa6c80ff 100644 --- a/service/rekognition/api_op_DeleteProject.go +++ b/service/rekognition/api_op_DeleteProject.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteProjectMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DeleteProjectPolicy.go b/service/rekognition/api_op_DeleteProjectPolicy.go index 801d26677c0..b1b3dbab2a9 100644 --- a/service/rekognition/api_op_DeleteProjectPolicy.go +++ b/service/rekognition/api_op_DeleteProjectPolicy.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteProjectPolicyMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProjectPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DeleteProjectVersion.go b/service/rekognition/api_op_DeleteProjectVersion.go index 570ff9dd4a7..bdec04b27ee 100644 --- a/service/rekognition/api_op_DeleteProjectVersion.go +++ b/service/rekognition/api_op_DeleteProjectVersion.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteProjectVersionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProjectVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DeleteStreamProcessor.go b/service/rekognition/api_op_DeleteStreamProcessor.go index f76b52f7564..3bfb98e2a86 100644 --- a/service/rekognition/api_op_DeleteStreamProcessor.go +++ b/service/rekognition/api_op_DeleteStreamProcessor.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteStreamProcessorMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteStreamProcessorValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DeleteUser.go b/service/rekognition/api_op_DeleteUser.go index fccaf135449..c11b1dbe4b2 100644 --- a/service/rekognition/api_op_DeleteUser.go +++ b/service/rekognition/api_op_DeleteUser.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteUserMiddleware(stack, options); err != nil { return err } diff --git a/service/rekognition/api_op_DescribeCollection.go b/service/rekognition/api_op_DescribeCollection.go index 40c6f9f50a8..e5680d2f1a6 100644 --- a/service/rekognition/api_op_DescribeCollection.go +++ b/service/rekognition/api_op_DescribeCollection.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDescribeCollectionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCollectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DescribeDataset.go b/service/rekognition/api_op_DescribeDataset.go index daa911731cf..5cbd3dcad2c 100644 --- a/service/rekognition/api_op_DescribeDataset.go +++ b/service/rekognition/api_op_DescribeDataset.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeDatasetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DescribeProjectVersions.go b/service/rekognition/api_op_DescribeProjectVersions.go index e9b9bf91cd0..f889f6242a8 100644 --- a/service/rekognition/api_op_DescribeProjectVersions.go +++ b/service/rekognition/api_op_DescribeProjectVersions.go @@ -147,9 +147,6 @@ func (c *Client) addOperationDescribeProjectVersionsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeProjectVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DescribeProjects.go b/service/rekognition/api_op_DescribeProjects.go index b23390ab25e..2e6bf994004 100644 --- a/service/rekognition/api_op_DescribeProjects.go +++ b/service/rekognition/api_op_DescribeProjects.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDescribeProjectsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProjects(options.Region), middleware.Before); err != nil { return err } diff --git a/service/rekognition/api_op_DescribeStreamProcessor.go b/service/rekognition/api_op_DescribeStreamProcessor.go index 3d9c342762d..415c3e81701 100644 --- a/service/rekognition/api_op_DescribeStreamProcessor.go +++ b/service/rekognition/api_op_DescribeStreamProcessor.go @@ -175,9 +175,6 @@ func (c *Client) addOperationDescribeStreamProcessorMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeStreamProcessorValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DetectCustomLabels.go b/service/rekognition/api_op_DetectCustomLabels.go index 25a98134209..9f367437b44 100644 --- a/service/rekognition/api_op_DetectCustomLabels.go +++ b/service/rekognition/api_op_DetectCustomLabels.go @@ -202,9 +202,6 @@ func (c *Client) addOperationDetectCustomLabelsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetectCustomLabelsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DetectFaces.go b/service/rekognition/api_op_DetectFaces.go index cbc7fdfba00..b72fd9e82e6 100644 --- a/service/rekognition/api_op_DetectFaces.go +++ b/service/rekognition/api_op_DetectFaces.go @@ -169,9 +169,6 @@ func (c *Client) addOperationDetectFacesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetectFacesValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DetectLabels.go b/service/rekognition/api_op_DetectLabels.go index 6d12b72e436..e4d22c83797 100644 --- a/service/rekognition/api_op_DetectLabels.go +++ b/service/rekognition/api_op_DetectLabels.go @@ -279,9 +279,6 @@ func (c *Client) addOperationDetectLabelsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetectLabelsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DetectModerationLabels.go b/service/rekognition/api_op_DetectModerationLabels.go index f520e02a015..fed69cd1a42 100644 --- a/service/rekognition/api_op_DetectModerationLabels.go +++ b/service/rekognition/api_op_DetectModerationLabels.go @@ -168,9 +168,6 @@ func (c *Client) addOperationDetectModerationLabelsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetectModerationLabelsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DetectProtectiveEquipment.go b/service/rekognition/api_op_DetectProtectiveEquipment.go index 73eeab3cdf7..728766aaaf4 100644 --- a/service/rekognition/api_op_DetectProtectiveEquipment.go +++ b/service/rekognition/api_op_DetectProtectiveEquipment.go @@ -161,9 +161,6 @@ func (c *Client) addOperationDetectProtectiveEquipmentMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetectProtectiveEquipmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DetectText.go b/service/rekognition/api_op_DetectText.go index 9e8d67ea66c..0d45d71af3f 100644 --- a/service/rekognition/api_op_DetectText.go +++ b/service/rekognition/api_op_DetectText.go @@ -155,9 +155,6 @@ func (c *Client) addOperationDetectTextMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetectTextValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_DisassociateFaces.go b/service/rekognition/api_op_DisassociateFaces.go index 089a17faa41..950eb8e7a64 100644 --- a/service/rekognition/api_op_DisassociateFaces.go +++ b/service/rekognition/api_op_DisassociateFaces.go @@ -146,9 +146,6 @@ func (c *Client) addOperationDisassociateFacesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDisassociateFacesMiddleware(stack, options); err != nil { return err } diff --git a/service/rekognition/api_op_DistributeDatasetEntries.go b/service/rekognition/api_op_DistributeDatasetEntries.go index a5137d446c7..4c47cd948e2 100644 --- a/service/rekognition/api_op_DistributeDatasetEntries.go +++ b/service/rekognition/api_op_DistributeDatasetEntries.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDistributeDatasetEntriesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDistributeDatasetEntriesValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_GetCelebrityInfo.go b/service/rekognition/api_op_GetCelebrityInfo.go index 6bdf4c7632f..d864163128e 100644 --- a/service/rekognition/api_op_GetCelebrityInfo.go +++ b/service/rekognition/api_op_GetCelebrityInfo.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetCelebrityInfoMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCelebrityInfoValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_GetCelebrityRecognition.go b/service/rekognition/api_op_GetCelebrityRecognition.go index 464ee9af3f4..f2e313e60ea 100644 --- a/service/rekognition/api_op_GetCelebrityRecognition.go +++ b/service/rekognition/api_op_GetCelebrityRecognition.go @@ -204,9 +204,6 @@ func (c *Client) addOperationGetCelebrityRecognitionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCelebrityRecognitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_GetContentModeration.go b/service/rekognition/api_op_GetContentModeration.go index 6ef8017ba7d..f2d0d376538 100644 --- a/service/rekognition/api_op_GetContentModeration.go +++ b/service/rekognition/api_op_GetContentModeration.go @@ -210,9 +210,6 @@ func (c *Client) addOperationGetContentModerationMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetContentModerationValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_GetFaceDetection.go b/service/rekognition/api_op_GetFaceDetection.go index 64e26faa13b..bf0fe01fe3d 100644 --- a/service/rekognition/api_op_GetFaceDetection.go +++ b/service/rekognition/api_op_GetFaceDetection.go @@ -176,9 +176,6 @@ func (c *Client) addOperationGetFaceDetectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFaceDetectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_GetFaceLivenessSessionResults.go b/service/rekognition/api_op_GetFaceLivenessSessionResults.go index 4c4929f38f7..625e9b17812 100644 --- a/service/rekognition/api_op_GetFaceLivenessSessionResults.go +++ b/service/rekognition/api_op_GetFaceLivenessSessionResults.go @@ -149,9 +149,6 @@ func (c *Client) addOperationGetFaceLivenessSessionResultsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFaceLivenessSessionResultsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_GetFaceSearch.go b/service/rekognition/api_op_GetFaceSearch.go index 194ea0a7319..3674a101256 100644 --- a/service/rekognition/api_op_GetFaceSearch.go +++ b/service/rekognition/api_op_GetFaceSearch.go @@ -192,9 +192,6 @@ func (c *Client) addOperationGetFaceSearchMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFaceSearchValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_GetLabelDetection.go b/service/rekognition/api_op_GetLabelDetection.go index 7341b1b28f2..98789d04e32 100644 --- a/service/rekognition/api_op_GetLabelDetection.go +++ b/service/rekognition/api_op_GetLabelDetection.go @@ -243,9 +243,6 @@ func (c *Client) addOperationGetLabelDetectionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLabelDetectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_GetMediaAnalysisJob.go b/service/rekognition/api_op_GetMediaAnalysisJob.go index 98a98aaba3d..27c1e666ad0 100644 --- a/service/rekognition/api_op_GetMediaAnalysisJob.go +++ b/service/rekognition/api_op_GetMediaAnalysisJob.go @@ -161,9 +161,6 @@ func (c *Client) addOperationGetMediaAnalysisJobMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMediaAnalysisJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_GetPersonTracking.go b/service/rekognition/api_op_GetPersonTracking.go index 8616076353f..01b9a37b671 100644 --- a/service/rekognition/api_op_GetPersonTracking.go +++ b/service/rekognition/api_op_GetPersonTracking.go @@ -192,9 +192,6 @@ func (c *Client) addOperationGetPersonTrackingMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPersonTrackingValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_GetSegmentDetection.go b/service/rekognition/api_op_GetSegmentDetection.go index 358f32a9479..915c0765dc6 100644 --- a/service/rekognition/api_op_GetSegmentDetection.go +++ b/service/rekognition/api_op_GetSegmentDetection.go @@ -199,9 +199,6 @@ func (c *Client) addOperationGetSegmentDetectionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSegmentDetectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_GetTextDetection.go b/service/rekognition/api_op_GetTextDetection.go index 9d77342dd61..2ff923d69d4 100644 --- a/service/rekognition/api_op_GetTextDetection.go +++ b/service/rekognition/api_op_GetTextDetection.go @@ -181,9 +181,6 @@ func (c *Client) addOperationGetTextDetectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTextDetectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_IndexFaces.go b/service/rekognition/api_op_IndexFaces.go index d0520771b91..145aac60287 100644 --- a/service/rekognition/api_op_IndexFaces.go +++ b/service/rekognition/api_op_IndexFaces.go @@ -298,9 +298,6 @@ func (c *Client) addOperationIndexFacesMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpIndexFacesValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_ListCollections.go b/service/rekognition/api_op_ListCollections.go index 33f5997d0e1..bae6ecaba24 100644 --- a/service/rekognition/api_op_ListCollections.go +++ b/service/rekognition/api_op_ListCollections.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListCollectionsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCollections(options.Region), middleware.Before); err != nil { return err } diff --git a/service/rekognition/api_op_ListDatasetEntries.go b/service/rekognition/api_op_ListDatasetEntries.go index 577e4b27348..877ddcc6a96 100644 --- a/service/rekognition/api_op_ListDatasetEntries.go +++ b/service/rekognition/api_op_ListDatasetEntries.go @@ -165,9 +165,6 @@ func (c *Client) addOperationListDatasetEntriesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDatasetEntriesValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_ListDatasetLabels.go b/service/rekognition/api_op_ListDatasetLabels.go index 6b0ad5ee680..592d0683479 100644 --- a/service/rekognition/api_op_ListDatasetLabels.go +++ b/service/rekognition/api_op_ListDatasetLabels.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListDatasetLabelsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDatasetLabelsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_ListFaces.go b/service/rekognition/api_op_ListFaces.go index 0dfef69c5cb..a4a153a8df9 100644 --- a/service/rekognition/api_op_ListFaces.go +++ b/service/rekognition/api_op_ListFaces.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListFacesMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFacesValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_ListMediaAnalysisJobs.go b/service/rekognition/api_op_ListMediaAnalysisJobs.go index 75d62f75b82..7ff3e809e54 100644 --- a/service/rekognition/api_op_ListMediaAnalysisJobs.go +++ b/service/rekognition/api_op_ListMediaAnalysisJobs.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListMediaAnalysisJobsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMediaAnalysisJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/rekognition/api_op_ListProjectPolicies.go b/service/rekognition/api_op_ListProjectPolicies.go index 0f8bdf87fd3..3fad50cb192 100644 --- a/service/rekognition/api_op_ListProjectPolicies.go +++ b/service/rekognition/api_op_ListProjectPolicies.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListProjectPoliciesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListProjectPoliciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_ListStreamProcessors.go b/service/rekognition/api_op_ListStreamProcessors.go index a411fe123f0..91255e9232f 100644 --- a/service/rekognition/api_op_ListStreamProcessors.go +++ b/service/rekognition/api_op_ListStreamProcessors.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListStreamProcessorsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStreamProcessors(options.Region), middleware.Before); err != nil { return err } diff --git a/service/rekognition/api_op_ListTagsForResource.go b/service/rekognition/api_op_ListTagsForResource.go index e8a540b04c3..d71a8b27d43 100644 --- a/service/rekognition/api_op_ListTagsForResource.go +++ b/service/rekognition/api_op_ListTagsForResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_ListUsers.go b/service/rekognition/api_op_ListUsers.go index 32114f42c9f..b520dbe7f86 100644 --- a/service/rekognition/api_op_ListUsers.go +++ b/service/rekognition/api_op_ListUsers.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListUsersMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListUsersValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_PutProjectPolicy.go b/service/rekognition/api_op_PutProjectPolicy.go index ac15d2a7abe..1d0b1fb86b2 100644 --- a/service/rekognition/api_op_PutProjectPolicy.go +++ b/service/rekognition/api_op_PutProjectPolicy.go @@ -155,9 +155,6 @@ func (c *Client) addOperationPutProjectPolicyMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutProjectPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_RecognizeCelebrities.go b/service/rekognition/api_op_RecognizeCelebrities.go index d48c03e018f..342032e872b 100644 --- a/service/rekognition/api_op_RecognizeCelebrities.go +++ b/service/rekognition/api_op_RecognizeCelebrities.go @@ -173,9 +173,6 @@ func (c *Client) addOperationRecognizeCelebritiesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRecognizeCelebritiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_SearchFaces.go b/service/rekognition/api_op_SearchFaces.go index d9043e3fb1d..4cb67e373fd 100644 --- a/service/rekognition/api_op_SearchFaces.go +++ b/service/rekognition/api_op_SearchFaces.go @@ -152,9 +152,6 @@ func (c *Client) addOperationSearchFacesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchFacesValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_SearchFacesByImage.go b/service/rekognition/api_op_SearchFacesByImage.go index 338ea969779..fe734d0a2e3 100644 --- a/service/rekognition/api_op_SearchFacesByImage.go +++ b/service/rekognition/api_op_SearchFacesByImage.go @@ -199,9 +199,6 @@ func (c *Client) addOperationSearchFacesByImageMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchFacesByImageValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_SearchUsers.go b/service/rekognition/api_op_SearchUsers.go index 27b4fb8a591..261afe9bb2f 100644 --- a/service/rekognition/api_op_SearchUsers.go +++ b/service/rekognition/api_op_SearchUsers.go @@ -143,9 +143,6 @@ func (c *Client) addOperationSearchUsersMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchUsersValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_SearchUsersByImage.go b/service/rekognition/api_op_SearchUsersByImage.go index 25814c080a4..eafd80e8e96 100644 --- a/service/rekognition/api_op_SearchUsersByImage.go +++ b/service/rekognition/api_op_SearchUsersByImage.go @@ -180,9 +180,6 @@ func (c *Client) addOperationSearchUsersByImageMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchUsersByImageValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_StartCelebrityRecognition.go b/service/rekognition/api_op_StartCelebrityRecognition.go index e5b90742a84..45016b68f4d 100644 --- a/service/rekognition/api_op_StartCelebrityRecognition.go +++ b/service/rekognition/api_op_StartCelebrityRecognition.go @@ -146,9 +146,6 @@ func (c *Client) addOperationStartCelebrityRecognitionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartCelebrityRecognitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_StartContentModeration.go b/service/rekognition/api_op_StartContentModeration.go index 5116960e833..d134ad17a74 100644 --- a/service/rekognition/api_op_StartContentModeration.go +++ b/service/rekognition/api_op_StartContentModeration.go @@ -159,9 +159,6 @@ func (c *Client) addOperationStartContentModerationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartContentModerationValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_StartFaceDetection.go b/service/rekognition/api_op_StartFaceDetection.go index 61eca4d8e3c..9659a79315d 100644 --- a/service/rekognition/api_op_StartFaceDetection.go +++ b/service/rekognition/api_op_StartFaceDetection.go @@ -153,9 +153,6 @@ func (c *Client) addOperationStartFaceDetectionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartFaceDetectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_StartFaceSearch.go b/service/rekognition/api_op_StartFaceSearch.go index c7e5595484e..5076044d62b 100644 --- a/service/rekognition/api_op_StartFaceSearch.go +++ b/service/rekognition/api_op_StartFaceSearch.go @@ -154,9 +154,6 @@ func (c *Client) addOperationStartFaceSearchMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartFaceSearchValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_StartLabelDetection.go b/service/rekognition/api_op_StartLabelDetection.go index 4270158b527..eecaa71ff34 100644 --- a/service/rekognition/api_op_StartLabelDetection.go +++ b/service/rekognition/api_op_StartLabelDetection.go @@ -181,9 +181,6 @@ func (c *Client) addOperationStartLabelDetectionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartLabelDetectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_StartMediaAnalysisJob.go b/service/rekognition/api_op_StartMediaAnalysisJob.go index 1da89fbe970..25c16365e07 100644 --- a/service/rekognition/api_op_StartMediaAnalysisJob.go +++ b/service/rekognition/api_op_StartMediaAnalysisJob.go @@ -140,9 +140,6 @@ func (c *Client) addOperationStartMediaAnalysisJobMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartMediaAnalysisJobMiddleware(stack, options); err != nil { return err } diff --git a/service/rekognition/api_op_StartPersonTracking.go b/service/rekognition/api_op_StartPersonTracking.go index 7f63ad31122..a5f6f2e1a5f 100644 --- a/service/rekognition/api_op_StartPersonTracking.go +++ b/service/rekognition/api_op_StartPersonTracking.go @@ -143,9 +143,6 @@ func (c *Client) addOperationStartPersonTrackingMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartPersonTrackingValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_StartProjectVersion.go b/service/rekognition/api_op_StartProjectVersion.go index 52731d9d30c..f15ccbefcf8 100644 --- a/service/rekognition/api_op_StartProjectVersion.go +++ b/service/rekognition/api_op_StartProjectVersion.go @@ -138,9 +138,6 @@ func (c *Client) addOperationStartProjectVersionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartProjectVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_StartSegmentDetection.go b/service/rekognition/api_op_StartSegmentDetection.go index 3b4558d9985..b9556c8b962 100644 --- a/service/rekognition/api_op_StartSegmentDetection.go +++ b/service/rekognition/api_op_StartSegmentDetection.go @@ -162,9 +162,6 @@ func (c *Client) addOperationStartSegmentDetectionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartSegmentDetectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_StartStreamProcessor.go b/service/rekognition/api_op_StartStreamProcessor.go index ab23c12754e..11143bd3e27 100644 --- a/service/rekognition/api_op_StartStreamProcessor.go +++ b/service/rekognition/api_op_StartStreamProcessor.go @@ -136,9 +136,6 @@ func (c *Client) addOperationStartStreamProcessorMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartStreamProcessorValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_StartTextDetection.go b/service/rekognition/api_op_StartTextDetection.go index 4956fce71ba..5e95030648b 100644 --- a/service/rekognition/api_op_StartTextDetection.go +++ b/service/rekognition/api_op_StartTextDetection.go @@ -151,9 +151,6 @@ func (c *Client) addOperationStartTextDetectionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartTextDetectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_StopProjectVersion.go b/service/rekognition/api_op_StopProjectVersion.go index 10cb1f8b99e..49b39a760c2 100644 --- a/service/rekognition/api_op_StopProjectVersion.go +++ b/service/rekognition/api_op_StopProjectVersion.go @@ -121,9 +121,6 @@ func (c *Client) addOperationStopProjectVersionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopProjectVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_StopStreamProcessor.go b/service/rekognition/api_op_StopStreamProcessor.go index 8b15df65192..b8cf6a051c7 100644 --- a/service/rekognition/api_op_StopStreamProcessor.go +++ b/service/rekognition/api_op_StopStreamProcessor.go @@ -107,9 +107,6 @@ func (c *Client) addOperationStopStreamProcessorMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopStreamProcessorValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_TagResource.go b/service/rekognition/api_op_TagResource.go index d31b66b69f6..11d9333c48a 100644 --- a/service/rekognition/api_op_TagResource.go +++ b/service/rekognition/api_op_TagResource.go @@ -120,9 +120,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_UntagResource.go b/service/rekognition/api_op_UntagResource.go index 5362cfe250f..fc1e9b156c7 100644 --- a/service/rekognition/api_op_UntagResource.go +++ b/service/rekognition/api_op_UntagResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_UpdateDatasetEntries.go b/service/rekognition/api_op_UpdateDatasetEntries.go index 4814947bb9c..3483188d2d9 100644 --- a/service/rekognition/api_op_UpdateDatasetEntries.go +++ b/service/rekognition/api_op_UpdateDatasetEntries.go @@ -141,9 +141,6 @@ func (c *Client) addOperationUpdateDatasetEntriesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDatasetEntriesValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/api_op_UpdateStreamProcessor.go b/service/rekognition/api_op_UpdateStreamProcessor.go index 26c82690f15..a003f2e96ba 100644 --- a/service/rekognition/api_op_UpdateStreamProcessor.go +++ b/service/rekognition/api_op_UpdateStreamProcessor.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateStreamProcessorMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateStreamProcessorValidationMiddleware(stack); err != nil { return err } diff --git a/service/rekognition/snapshot/api_op_AssociateFaces.go.snap b/service/rekognition/snapshot/api_op_AssociateFaces.go.snap index 40f6f1d85df..c73173a3f1e 100644 --- a/service/rekognition/snapshot/api_op_AssociateFaces.go.snap +++ b/service/rekognition/snapshot/api_op_AssociateFaces.go.snap @@ -15,7 +15,6 @@ AssociateFaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_CompareFaces.go.snap b/service/rekognition/snapshot/api_op_CompareFaces.go.snap index 71fa51d4241..ef3cda94d7f 100644 --- a/service/rekognition/snapshot/api_op_CompareFaces.go.snap +++ b/service/rekognition/snapshot/api_op_CompareFaces.go.snap @@ -14,7 +14,6 @@ CompareFaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_CopyProjectVersion.go.snap b/service/rekognition/snapshot/api_op_CopyProjectVersion.go.snap index da5514bc8e2..3d94066c137 100644 --- a/service/rekognition/snapshot/api_op_CopyProjectVersion.go.snap +++ b/service/rekognition/snapshot/api_op_CopyProjectVersion.go.snap @@ -14,7 +14,6 @@ CopyProjectVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_CreateCollection.go.snap b/service/rekognition/snapshot/api_op_CreateCollection.go.snap index 8c991d2aace..b3b1db0ef13 100644 --- a/service/rekognition/snapshot/api_op_CreateCollection.go.snap +++ b/service/rekognition/snapshot/api_op_CreateCollection.go.snap @@ -14,7 +14,6 @@ CreateCollection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_CreateDataset.go.snap b/service/rekognition/snapshot/api_op_CreateDataset.go.snap index c90f0220921..cb35148be56 100644 --- a/service/rekognition/snapshot/api_op_CreateDataset.go.snap +++ b/service/rekognition/snapshot/api_op_CreateDataset.go.snap @@ -14,7 +14,6 @@ CreateDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_CreateFaceLivenessSession.go.snap b/service/rekognition/snapshot/api_op_CreateFaceLivenessSession.go.snap index 359c7e96523..231f6ec49d8 100644 --- a/service/rekognition/snapshot/api_op_CreateFaceLivenessSession.go.snap +++ b/service/rekognition/snapshot/api_op_CreateFaceLivenessSession.go.snap @@ -14,7 +14,6 @@ CreateFaceLivenessSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_CreateProject.go.snap b/service/rekognition/snapshot/api_op_CreateProject.go.snap index 5011a8d8cc3..7ae2b811d6c 100644 --- a/service/rekognition/snapshot/api_op_CreateProject.go.snap +++ b/service/rekognition/snapshot/api_op_CreateProject.go.snap @@ -14,7 +14,6 @@ CreateProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_CreateProjectVersion.go.snap b/service/rekognition/snapshot/api_op_CreateProjectVersion.go.snap index db0a84c5620..69e461202e4 100644 --- a/service/rekognition/snapshot/api_op_CreateProjectVersion.go.snap +++ b/service/rekognition/snapshot/api_op_CreateProjectVersion.go.snap @@ -14,7 +14,6 @@ CreateProjectVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_CreateStreamProcessor.go.snap b/service/rekognition/snapshot/api_op_CreateStreamProcessor.go.snap index b67ff543b4c..6801fc21ce2 100644 --- a/service/rekognition/snapshot/api_op_CreateStreamProcessor.go.snap +++ b/service/rekognition/snapshot/api_op_CreateStreamProcessor.go.snap @@ -14,7 +14,6 @@ CreateStreamProcessor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_CreateUser.go.snap b/service/rekognition/snapshot/api_op_CreateUser.go.snap index 0558eb17555..235683caf2c 100644 --- a/service/rekognition/snapshot/api_op_CreateUser.go.snap +++ b/service/rekognition/snapshot/api_op_CreateUser.go.snap @@ -15,7 +15,6 @@ CreateUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_DeleteCollection.go.snap b/service/rekognition/snapshot/api_op_DeleteCollection.go.snap index 33ae4d57646..03727a7e836 100644 --- a/service/rekognition/snapshot/api_op_DeleteCollection.go.snap +++ b/service/rekognition/snapshot/api_op_DeleteCollection.go.snap @@ -14,7 +14,6 @@ DeleteCollection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_DeleteDataset.go.snap b/service/rekognition/snapshot/api_op_DeleteDataset.go.snap index fd65991f000..352313df04c 100644 --- a/service/rekognition/snapshot/api_op_DeleteDataset.go.snap +++ b/service/rekognition/snapshot/api_op_DeleteDataset.go.snap @@ -14,7 +14,6 @@ DeleteDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_DeleteFaces.go.snap b/service/rekognition/snapshot/api_op_DeleteFaces.go.snap index 2de341da440..6ea5e825729 100644 --- a/service/rekognition/snapshot/api_op_DeleteFaces.go.snap +++ b/service/rekognition/snapshot/api_op_DeleteFaces.go.snap @@ -14,7 +14,6 @@ DeleteFaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_DeleteProject.go.snap b/service/rekognition/snapshot/api_op_DeleteProject.go.snap index 382ba97b69d..175218d872d 100644 --- a/service/rekognition/snapshot/api_op_DeleteProject.go.snap +++ b/service/rekognition/snapshot/api_op_DeleteProject.go.snap @@ -14,7 +14,6 @@ DeleteProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_DeleteProjectPolicy.go.snap b/service/rekognition/snapshot/api_op_DeleteProjectPolicy.go.snap index 173ca166171..9a92a4c42c0 100644 --- a/service/rekognition/snapshot/api_op_DeleteProjectPolicy.go.snap +++ b/service/rekognition/snapshot/api_op_DeleteProjectPolicy.go.snap @@ -14,7 +14,6 @@ DeleteProjectPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_DeleteProjectVersion.go.snap b/service/rekognition/snapshot/api_op_DeleteProjectVersion.go.snap index 2d07532f022..9ea6081c08c 100644 --- a/service/rekognition/snapshot/api_op_DeleteProjectVersion.go.snap +++ b/service/rekognition/snapshot/api_op_DeleteProjectVersion.go.snap @@ -14,7 +14,6 @@ DeleteProjectVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_DeleteStreamProcessor.go.snap b/service/rekognition/snapshot/api_op_DeleteStreamProcessor.go.snap index 338e86a42e6..11dd911cbaf 100644 --- a/service/rekognition/snapshot/api_op_DeleteStreamProcessor.go.snap +++ b/service/rekognition/snapshot/api_op_DeleteStreamProcessor.go.snap @@ -14,7 +14,6 @@ DeleteStreamProcessor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_DeleteUser.go.snap b/service/rekognition/snapshot/api_op_DeleteUser.go.snap index 075f647e3d8..df5dc0378ab 100644 --- a/service/rekognition/snapshot/api_op_DeleteUser.go.snap +++ b/service/rekognition/snapshot/api_op_DeleteUser.go.snap @@ -15,7 +15,6 @@ DeleteUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_DescribeCollection.go.snap b/service/rekognition/snapshot/api_op_DescribeCollection.go.snap index 6e3a80d5854..b743a10c1c7 100644 --- a/service/rekognition/snapshot/api_op_DescribeCollection.go.snap +++ b/service/rekognition/snapshot/api_op_DescribeCollection.go.snap @@ -14,7 +14,6 @@ DescribeCollection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_DescribeDataset.go.snap b/service/rekognition/snapshot/api_op_DescribeDataset.go.snap index d62bad12867..091c433d575 100644 --- a/service/rekognition/snapshot/api_op_DescribeDataset.go.snap +++ b/service/rekognition/snapshot/api_op_DescribeDataset.go.snap @@ -14,7 +14,6 @@ DescribeDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_DescribeProjectVersions.go.snap b/service/rekognition/snapshot/api_op_DescribeProjectVersions.go.snap index 50febabca95..f78dcb62aca 100644 --- a/service/rekognition/snapshot/api_op_DescribeProjectVersions.go.snap +++ b/service/rekognition/snapshot/api_op_DescribeProjectVersions.go.snap @@ -14,7 +14,6 @@ DescribeProjectVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_DescribeProjects.go.snap b/service/rekognition/snapshot/api_op_DescribeProjects.go.snap index a5fbc53c868..b96552316e5 100644 --- a/service/rekognition/snapshot/api_op_DescribeProjects.go.snap +++ b/service/rekognition/snapshot/api_op_DescribeProjects.go.snap @@ -13,7 +13,6 @@ DescribeProjects Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_DescribeStreamProcessor.go.snap b/service/rekognition/snapshot/api_op_DescribeStreamProcessor.go.snap index 6540893733b..e18857cce0e 100644 --- a/service/rekognition/snapshot/api_op_DescribeStreamProcessor.go.snap +++ b/service/rekognition/snapshot/api_op_DescribeStreamProcessor.go.snap @@ -14,7 +14,6 @@ DescribeStreamProcessor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_DetectCustomLabels.go.snap b/service/rekognition/snapshot/api_op_DetectCustomLabels.go.snap index 381e16c1606..d120bd2b5f5 100644 --- a/service/rekognition/snapshot/api_op_DetectCustomLabels.go.snap +++ b/service/rekognition/snapshot/api_op_DetectCustomLabels.go.snap @@ -14,7 +14,6 @@ DetectCustomLabels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_DetectFaces.go.snap b/service/rekognition/snapshot/api_op_DetectFaces.go.snap index 403e5aedd82..cfa02be34ba 100644 --- a/service/rekognition/snapshot/api_op_DetectFaces.go.snap +++ b/service/rekognition/snapshot/api_op_DetectFaces.go.snap @@ -14,7 +14,6 @@ DetectFaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_DetectLabels.go.snap b/service/rekognition/snapshot/api_op_DetectLabels.go.snap index 92e59f7b1ef..21c2e20f77b 100644 --- a/service/rekognition/snapshot/api_op_DetectLabels.go.snap +++ b/service/rekognition/snapshot/api_op_DetectLabels.go.snap @@ -14,7 +14,6 @@ DetectLabels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_DetectModerationLabels.go.snap b/service/rekognition/snapshot/api_op_DetectModerationLabels.go.snap index 1b0d639025c..33dbc6de3b7 100644 --- a/service/rekognition/snapshot/api_op_DetectModerationLabels.go.snap +++ b/service/rekognition/snapshot/api_op_DetectModerationLabels.go.snap @@ -14,7 +14,6 @@ DetectModerationLabels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_DetectProtectiveEquipment.go.snap b/service/rekognition/snapshot/api_op_DetectProtectiveEquipment.go.snap index 86808112f0e..bd743b3b3e3 100644 --- a/service/rekognition/snapshot/api_op_DetectProtectiveEquipment.go.snap +++ b/service/rekognition/snapshot/api_op_DetectProtectiveEquipment.go.snap @@ -14,7 +14,6 @@ DetectProtectiveEquipment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_DetectText.go.snap b/service/rekognition/snapshot/api_op_DetectText.go.snap index 55cf3b58f81..890d9438966 100644 --- a/service/rekognition/snapshot/api_op_DetectText.go.snap +++ b/service/rekognition/snapshot/api_op_DetectText.go.snap @@ -14,7 +14,6 @@ DetectText Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_DisassociateFaces.go.snap b/service/rekognition/snapshot/api_op_DisassociateFaces.go.snap index 18d8fdc8409..f805f99f90d 100644 --- a/service/rekognition/snapshot/api_op_DisassociateFaces.go.snap +++ b/service/rekognition/snapshot/api_op_DisassociateFaces.go.snap @@ -15,7 +15,6 @@ DisassociateFaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_DistributeDatasetEntries.go.snap b/service/rekognition/snapshot/api_op_DistributeDatasetEntries.go.snap index d8d622e45ba..c02c76f9847 100644 --- a/service/rekognition/snapshot/api_op_DistributeDatasetEntries.go.snap +++ b/service/rekognition/snapshot/api_op_DistributeDatasetEntries.go.snap @@ -14,7 +14,6 @@ DistributeDatasetEntries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_GetCelebrityInfo.go.snap b/service/rekognition/snapshot/api_op_GetCelebrityInfo.go.snap index 6f09e313c23..daac56fe773 100644 --- a/service/rekognition/snapshot/api_op_GetCelebrityInfo.go.snap +++ b/service/rekognition/snapshot/api_op_GetCelebrityInfo.go.snap @@ -14,7 +14,6 @@ GetCelebrityInfo Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_GetCelebrityRecognition.go.snap b/service/rekognition/snapshot/api_op_GetCelebrityRecognition.go.snap index 1825bec59ba..3b07ed09f6b 100644 --- a/service/rekognition/snapshot/api_op_GetCelebrityRecognition.go.snap +++ b/service/rekognition/snapshot/api_op_GetCelebrityRecognition.go.snap @@ -14,7 +14,6 @@ GetCelebrityRecognition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_GetContentModeration.go.snap b/service/rekognition/snapshot/api_op_GetContentModeration.go.snap index f1fe51b343e..561fd8ba6c7 100644 --- a/service/rekognition/snapshot/api_op_GetContentModeration.go.snap +++ b/service/rekognition/snapshot/api_op_GetContentModeration.go.snap @@ -14,7 +14,6 @@ GetContentModeration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_GetFaceDetection.go.snap b/service/rekognition/snapshot/api_op_GetFaceDetection.go.snap index 46be330fd1d..ded3f96c5ac 100644 --- a/service/rekognition/snapshot/api_op_GetFaceDetection.go.snap +++ b/service/rekognition/snapshot/api_op_GetFaceDetection.go.snap @@ -14,7 +14,6 @@ GetFaceDetection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_GetFaceLivenessSessionResults.go.snap b/service/rekognition/snapshot/api_op_GetFaceLivenessSessionResults.go.snap index 9cf38690fee..1b837e823a0 100644 --- a/service/rekognition/snapshot/api_op_GetFaceLivenessSessionResults.go.snap +++ b/service/rekognition/snapshot/api_op_GetFaceLivenessSessionResults.go.snap @@ -14,7 +14,6 @@ GetFaceLivenessSessionResults Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_GetFaceSearch.go.snap b/service/rekognition/snapshot/api_op_GetFaceSearch.go.snap index c6592177b07..45180378c96 100644 --- a/service/rekognition/snapshot/api_op_GetFaceSearch.go.snap +++ b/service/rekognition/snapshot/api_op_GetFaceSearch.go.snap @@ -14,7 +14,6 @@ GetFaceSearch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_GetLabelDetection.go.snap b/service/rekognition/snapshot/api_op_GetLabelDetection.go.snap index 5e8ecd63bcf..61f2a0a9707 100644 --- a/service/rekognition/snapshot/api_op_GetLabelDetection.go.snap +++ b/service/rekognition/snapshot/api_op_GetLabelDetection.go.snap @@ -14,7 +14,6 @@ GetLabelDetection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_GetMediaAnalysisJob.go.snap b/service/rekognition/snapshot/api_op_GetMediaAnalysisJob.go.snap index fbb04a7ffc3..8ecf964a354 100644 --- a/service/rekognition/snapshot/api_op_GetMediaAnalysisJob.go.snap +++ b/service/rekognition/snapshot/api_op_GetMediaAnalysisJob.go.snap @@ -14,7 +14,6 @@ GetMediaAnalysisJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_GetPersonTracking.go.snap b/service/rekognition/snapshot/api_op_GetPersonTracking.go.snap index 939f6f8eb64..48cd9b37f55 100644 --- a/service/rekognition/snapshot/api_op_GetPersonTracking.go.snap +++ b/service/rekognition/snapshot/api_op_GetPersonTracking.go.snap @@ -14,7 +14,6 @@ GetPersonTracking Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_GetSegmentDetection.go.snap b/service/rekognition/snapshot/api_op_GetSegmentDetection.go.snap index 393129af238..aa882224ee2 100644 --- a/service/rekognition/snapshot/api_op_GetSegmentDetection.go.snap +++ b/service/rekognition/snapshot/api_op_GetSegmentDetection.go.snap @@ -14,7 +14,6 @@ GetSegmentDetection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_GetTextDetection.go.snap b/service/rekognition/snapshot/api_op_GetTextDetection.go.snap index 5dba5d9bd17..0860490b4e6 100644 --- a/service/rekognition/snapshot/api_op_GetTextDetection.go.snap +++ b/service/rekognition/snapshot/api_op_GetTextDetection.go.snap @@ -14,7 +14,6 @@ GetTextDetection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_IndexFaces.go.snap b/service/rekognition/snapshot/api_op_IndexFaces.go.snap index 3bef4ebd508..48c1f66a0c0 100644 --- a/service/rekognition/snapshot/api_op_IndexFaces.go.snap +++ b/service/rekognition/snapshot/api_op_IndexFaces.go.snap @@ -14,7 +14,6 @@ IndexFaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_ListCollections.go.snap b/service/rekognition/snapshot/api_op_ListCollections.go.snap index ce23b9b0cf6..c94e1e80ee3 100644 --- a/service/rekognition/snapshot/api_op_ListCollections.go.snap +++ b/service/rekognition/snapshot/api_op_ListCollections.go.snap @@ -13,7 +13,6 @@ ListCollections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_ListDatasetEntries.go.snap b/service/rekognition/snapshot/api_op_ListDatasetEntries.go.snap index dfb37e0813d..9572a8a0fc8 100644 --- a/service/rekognition/snapshot/api_op_ListDatasetEntries.go.snap +++ b/service/rekognition/snapshot/api_op_ListDatasetEntries.go.snap @@ -14,7 +14,6 @@ ListDatasetEntries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_ListDatasetLabels.go.snap b/service/rekognition/snapshot/api_op_ListDatasetLabels.go.snap index b31600141ea..69c54d12518 100644 --- a/service/rekognition/snapshot/api_op_ListDatasetLabels.go.snap +++ b/service/rekognition/snapshot/api_op_ListDatasetLabels.go.snap @@ -14,7 +14,6 @@ ListDatasetLabels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_ListFaces.go.snap b/service/rekognition/snapshot/api_op_ListFaces.go.snap index 2228ef06eff..4807b8d536b 100644 --- a/service/rekognition/snapshot/api_op_ListFaces.go.snap +++ b/service/rekognition/snapshot/api_op_ListFaces.go.snap @@ -14,7 +14,6 @@ ListFaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_ListMediaAnalysisJobs.go.snap b/service/rekognition/snapshot/api_op_ListMediaAnalysisJobs.go.snap index c930b8722d1..c20592a9716 100644 --- a/service/rekognition/snapshot/api_op_ListMediaAnalysisJobs.go.snap +++ b/service/rekognition/snapshot/api_op_ListMediaAnalysisJobs.go.snap @@ -13,7 +13,6 @@ ListMediaAnalysisJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_ListProjectPolicies.go.snap b/service/rekognition/snapshot/api_op_ListProjectPolicies.go.snap index e4cacbaaa00..112faeb6fe1 100644 --- a/service/rekognition/snapshot/api_op_ListProjectPolicies.go.snap +++ b/service/rekognition/snapshot/api_op_ListProjectPolicies.go.snap @@ -14,7 +14,6 @@ ListProjectPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_ListStreamProcessors.go.snap b/service/rekognition/snapshot/api_op_ListStreamProcessors.go.snap index 49c8f3942c0..e3137c2fd3f 100644 --- a/service/rekognition/snapshot/api_op_ListStreamProcessors.go.snap +++ b/service/rekognition/snapshot/api_op_ListStreamProcessors.go.snap @@ -13,7 +13,6 @@ ListStreamProcessors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_ListTagsForResource.go.snap b/service/rekognition/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/rekognition/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/rekognition/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_ListUsers.go.snap b/service/rekognition/snapshot/api_op_ListUsers.go.snap index e806475e845..214b3b04368 100644 --- a/service/rekognition/snapshot/api_op_ListUsers.go.snap +++ b/service/rekognition/snapshot/api_op_ListUsers.go.snap @@ -14,7 +14,6 @@ ListUsers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_PutProjectPolicy.go.snap b/service/rekognition/snapshot/api_op_PutProjectPolicy.go.snap index 0e10595dcb1..201d42f0d35 100644 --- a/service/rekognition/snapshot/api_op_PutProjectPolicy.go.snap +++ b/service/rekognition/snapshot/api_op_PutProjectPolicy.go.snap @@ -14,7 +14,6 @@ PutProjectPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_RecognizeCelebrities.go.snap b/service/rekognition/snapshot/api_op_RecognizeCelebrities.go.snap index 9ce4e24246f..4b67bedb5cc 100644 --- a/service/rekognition/snapshot/api_op_RecognizeCelebrities.go.snap +++ b/service/rekognition/snapshot/api_op_RecognizeCelebrities.go.snap @@ -14,7 +14,6 @@ RecognizeCelebrities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_SearchFaces.go.snap b/service/rekognition/snapshot/api_op_SearchFaces.go.snap index 62651af02bd..eacd2c73729 100644 --- a/service/rekognition/snapshot/api_op_SearchFaces.go.snap +++ b/service/rekognition/snapshot/api_op_SearchFaces.go.snap @@ -14,7 +14,6 @@ SearchFaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_SearchFacesByImage.go.snap b/service/rekognition/snapshot/api_op_SearchFacesByImage.go.snap index 44a820e5f6a..09145c1017c 100644 --- a/service/rekognition/snapshot/api_op_SearchFacesByImage.go.snap +++ b/service/rekognition/snapshot/api_op_SearchFacesByImage.go.snap @@ -14,7 +14,6 @@ SearchFacesByImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_SearchUsers.go.snap b/service/rekognition/snapshot/api_op_SearchUsers.go.snap index 69d7d812318..8a897a6be7c 100644 --- a/service/rekognition/snapshot/api_op_SearchUsers.go.snap +++ b/service/rekognition/snapshot/api_op_SearchUsers.go.snap @@ -14,7 +14,6 @@ SearchUsers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_SearchUsersByImage.go.snap b/service/rekognition/snapshot/api_op_SearchUsersByImage.go.snap index 03030b83a49..c181627cf02 100644 --- a/service/rekognition/snapshot/api_op_SearchUsersByImage.go.snap +++ b/service/rekognition/snapshot/api_op_SearchUsersByImage.go.snap @@ -14,7 +14,6 @@ SearchUsersByImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_StartCelebrityRecognition.go.snap b/service/rekognition/snapshot/api_op_StartCelebrityRecognition.go.snap index d0b6dc5d763..b24069da32f 100644 --- a/service/rekognition/snapshot/api_op_StartCelebrityRecognition.go.snap +++ b/service/rekognition/snapshot/api_op_StartCelebrityRecognition.go.snap @@ -14,7 +14,6 @@ StartCelebrityRecognition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_StartContentModeration.go.snap b/service/rekognition/snapshot/api_op_StartContentModeration.go.snap index ef9932b4f0c..135b87173c9 100644 --- a/service/rekognition/snapshot/api_op_StartContentModeration.go.snap +++ b/service/rekognition/snapshot/api_op_StartContentModeration.go.snap @@ -14,7 +14,6 @@ StartContentModeration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_StartFaceDetection.go.snap b/service/rekognition/snapshot/api_op_StartFaceDetection.go.snap index 58448d38439..4be1307d8f0 100644 --- a/service/rekognition/snapshot/api_op_StartFaceDetection.go.snap +++ b/service/rekognition/snapshot/api_op_StartFaceDetection.go.snap @@ -14,7 +14,6 @@ StartFaceDetection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_StartFaceSearch.go.snap b/service/rekognition/snapshot/api_op_StartFaceSearch.go.snap index 963f761ad54..e2060d0a1e1 100644 --- a/service/rekognition/snapshot/api_op_StartFaceSearch.go.snap +++ b/service/rekognition/snapshot/api_op_StartFaceSearch.go.snap @@ -14,7 +14,6 @@ StartFaceSearch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_StartLabelDetection.go.snap b/service/rekognition/snapshot/api_op_StartLabelDetection.go.snap index 8bc8570def6..90b78fd6cbc 100644 --- a/service/rekognition/snapshot/api_op_StartLabelDetection.go.snap +++ b/service/rekognition/snapshot/api_op_StartLabelDetection.go.snap @@ -14,7 +14,6 @@ StartLabelDetection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_StartMediaAnalysisJob.go.snap b/service/rekognition/snapshot/api_op_StartMediaAnalysisJob.go.snap index 384ca7be496..1a2471a24ab 100644 --- a/service/rekognition/snapshot/api_op_StartMediaAnalysisJob.go.snap +++ b/service/rekognition/snapshot/api_op_StartMediaAnalysisJob.go.snap @@ -15,7 +15,6 @@ StartMediaAnalysisJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_StartPersonTracking.go.snap b/service/rekognition/snapshot/api_op_StartPersonTracking.go.snap index dbac03e2749..898a545926c 100644 --- a/service/rekognition/snapshot/api_op_StartPersonTracking.go.snap +++ b/service/rekognition/snapshot/api_op_StartPersonTracking.go.snap @@ -14,7 +14,6 @@ StartPersonTracking Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_StartProjectVersion.go.snap b/service/rekognition/snapshot/api_op_StartProjectVersion.go.snap index 95164e5e872..c081956001c 100644 --- a/service/rekognition/snapshot/api_op_StartProjectVersion.go.snap +++ b/service/rekognition/snapshot/api_op_StartProjectVersion.go.snap @@ -14,7 +14,6 @@ StartProjectVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_StartSegmentDetection.go.snap b/service/rekognition/snapshot/api_op_StartSegmentDetection.go.snap index 80615379630..1be3d94c43d 100644 --- a/service/rekognition/snapshot/api_op_StartSegmentDetection.go.snap +++ b/service/rekognition/snapshot/api_op_StartSegmentDetection.go.snap @@ -14,7 +14,6 @@ StartSegmentDetection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_StartStreamProcessor.go.snap b/service/rekognition/snapshot/api_op_StartStreamProcessor.go.snap index 6cc149f05c4..44551a41905 100644 --- a/service/rekognition/snapshot/api_op_StartStreamProcessor.go.snap +++ b/service/rekognition/snapshot/api_op_StartStreamProcessor.go.snap @@ -14,7 +14,6 @@ StartStreamProcessor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_StartTextDetection.go.snap b/service/rekognition/snapshot/api_op_StartTextDetection.go.snap index b29845b20b0..e152b6a517c 100644 --- a/service/rekognition/snapshot/api_op_StartTextDetection.go.snap +++ b/service/rekognition/snapshot/api_op_StartTextDetection.go.snap @@ -14,7 +14,6 @@ StartTextDetection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_StopProjectVersion.go.snap b/service/rekognition/snapshot/api_op_StopProjectVersion.go.snap index 250591f3077..f91bf272fd2 100644 --- a/service/rekognition/snapshot/api_op_StopProjectVersion.go.snap +++ b/service/rekognition/snapshot/api_op_StopProjectVersion.go.snap @@ -14,7 +14,6 @@ StopProjectVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_StopStreamProcessor.go.snap b/service/rekognition/snapshot/api_op_StopStreamProcessor.go.snap index 88a2dc739b5..4d40b2b278c 100644 --- a/service/rekognition/snapshot/api_op_StopStreamProcessor.go.snap +++ b/service/rekognition/snapshot/api_op_StopStreamProcessor.go.snap @@ -14,7 +14,6 @@ StopStreamProcessor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_TagResource.go.snap b/service/rekognition/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/rekognition/snapshot/api_op_TagResource.go.snap +++ b/service/rekognition/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_UntagResource.go.snap b/service/rekognition/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/rekognition/snapshot/api_op_UntagResource.go.snap +++ b/service/rekognition/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_UpdateDatasetEntries.go.snap b/service/rekognition/snapshot/api_op_UpdateDatasetEntries.go.snap index 0f9449efeb0..9a57ef3a78c 100644 --- a/service/rekognition/snapshot/api_op_UpdateDatasetEntries.go.snap +++ b/service/rekognition/snapshot/api_op_UpdateDatasetEntries.go.snap @@ -14,7 +14,6 @@ UpdateDatasetEntries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rekognition/snapshot/api_op_UpdateStreamProcessor.go.snap b/service/rekognition/snapshot/api_op_UpdateStreamProcessor.go.snap index b0e007baf5b..c62cbc4bbe3 100644 --- a/service/rekognition/snapshot/api_op_UpdateStreamProcessor.go.snap +++ b/service/rekognition/snapshot/api_op_UpdateStreamProcessor.go.snap @@ -14,7 +14,6 @@ UpdateStreamProcessor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/repostspace/api_client.go b/service/repostspace/api_client.go index 5d260350e70..07080f7acac 100644 --- a/service/repostspace/api_client.go +++ b/service/repostspace/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/repostspace/api_op_BatchAddRole.go b/service/repostspace/api_op_BatchAddRole.go index 962d12d39f3..63ee02bfdd2 100644 --- a/service/repostspace/api_op_BatchAddRole.go +++ b/service/repostspace/api_op_BatchAddRole.go @@ -129,9 +129,6 @@ func (c *Client) addOperationBatchAddRoleMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchAddRoleValidationMiddleware(stack); err != nil { return err } diff --git a/service/repostspace/api_op_BatchRemoveRole.go b/service/repostspace/api_op_BatchRemoveRole.go index 88758dab2a8..d5ffb61af71 100644 --- a/service/repostspace/api_op_BatchRemoveRole.go +++ b/service/repostspace/api_op_BatchRemoveRole.go @@ -129,9 +129,6 @@ func (c *Client) addOperationBatchRemoveRoleMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchRemoveRoleValidationMiddleware(stack); err != nil { return err } diff --git a/service/repostspace/api_op_CreateSpace.go b/service/repostspace/api_op_CreateSpace.go index 1c3945cac4d..94dc358ac91 100644 --- a/service/repostspace/api_op_CreateSpace.go +++ b/service/repostspace/api_op_CreateSpace.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCreateSpaceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSpaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/repostspace/api_op_DeleteSpace.go b/service/repostspace/api_op_DeleteSpace.go index aa28cfa71b7..74061e08347 100644 --- a/service/repostspace/api_op_DeleteSpace.go +++ b/service/repostspace/api_op_DeleteSpace.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteSpaceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSpaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/repostspace/api_op_DeregisterAdmin.go b/service/repostspace/api_op_DeregisterAdmin.go index e83f5e3be81..eec9e6570a9 100644 --- a/service/repostspace/api_op_DeregisterAdmin.go +++ b/service/repostspace/api_op_DeregisterAdmin.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeregisterAdminMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterAdminValidationMiddleware(stack); err != nil { return err } diff --git a/service/repostspace/api_op_GetSpace.go b/service/repostspace/api_op_GetSpace.go index ed74ccc806f..c54bb1774c2 100644 --- a/service/repostspace/api_op_GetSpace.go +++ b/service/repostspace/api_op_GetSpace.go @@ -205,9 +205,6 @@ func (c *Client) addOperationGetSpaceMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSpaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/repostspace/api_op_ListSpaces.go b/service/repostspace/api_op_ListSpaces.go index 69791def333..a6035aa219d 100644 --- a/service/repostspace/api_op_ListSpaces.go +++ b/service/repostspace/api_op_ListSpaces.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListSpacesMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSpaces(options.Region), middleware.Before); err != nil { return err } diff --git a/service/repostspace/api_op_ListTagsForResource.go b/service/repostspace/api_op_ListTagsForResource.go index bfef024ce92..bf9dd92bbc2 100644 --- a/service/repostspace/api_op_ListTagsForResource.go +++ b/service/repostspace/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/repostspace/api_op_RegisterAdmin.go b/service/repostspace/api_op_RegisterAdmin.go index d8849b1399d..33a04ba2c2e 100644 --- a/service/repostspace/api_op_RegisterAdmin.go +++ b/service/repostspace/api_op_RegisterAdmin.go @@ -112,9 +112,6 @@ func (c *Client) addOperationRegisterAdminMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterAdminValidationMiddleware(stack); err != nil { return err } diff --git a/service/repostspace/api_op_SendInvites.go b/service/repostspace/api_op_SendInvites.go index 52f2584fefb..98b6c21c6f0 100644 --- a/service/repostspace/api_op_SendInvites.go +++ b/service/repostspace/api_op_SendInvites.go @@ -122,9 +122,6 @@ func (c *Client) addOperationSendInvitesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendInvitesValidationMiddleware(stack); err != nil { return err } diff --git a/service/repostspace/api_op_TagResource.go b/service/repostspace/api_op_TagResource.go index a8c8f858066..8dd46974ee1 100644 --- a/service/repostspace/api_op_TagResource.go +++ b/service/repostspace/api_op_TagResource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/repostspace/api_op_UntagResource.go b/service/repostspace/api_op_UntagResource.go index ef280449e9d..7f7352ba210 100644 --- a/service/repostspace/api_op_UntagResource.go +++ b/service/repostspace/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/repostspace/api_op_UpdateSpace.go b/service/repostspace/api_op_UpdateSpace.go index 0436bc88b7a..9d122aa10c7 100644 --- a/service/repostspace/api_op_UpdateSpace.go +++ b/service/repostspace/api_op_UpdateSpace.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateSpaceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSpaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/repostspace/snapshot/api_op_BatchAddRole.go.snap b/service/repostspace/snapshot/api_op_BatchAddRole.go.snap index 4e9ef513442..bf449b9107c 100644 --- a/service/repostspace/snapshot/api_op_BatchAddRole.go.snap +++ b/service/repostspace/snapshot/api_op_BatchAddRole.go.snap @@ -14,7 +14,6 @@ BatchAddRole Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/repostspace/snapshot/api_op_BatchRemoveRole.go.snap b/service/repostspace/snapshot/api_op_BatchRemoveRole.go.snap index 60d26a61914..e186244111d 100644 --- a/service/repostspace/snapshot/api_op_BatchRemoveRole.go.snap +++ b/service/repostspace/snapshot/api_op_BatchRemoveRole.go.snap @@ -14,7 +14,6 @@ BatchRemoveRole Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/repostspace/snapshot/api_op_CreateSpace.go.snap b/service/repostspace/snapshot/api_op_CreateSpace.go.snap index c5e8b96f2de..7ba2f887e7a 100644 --- a/service/repostspace/snapshot/api_op_CreateSpace.go.snap +++ b/service/repostspace/snapshot/api_op_CreateSpace.go.snap @@ -14,7 +14,6 @@ CreateSpace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/repostspace/snapshot/api_op_DeleteSpace.go.snap b/service/repostspace/snapshot/api_op_DeleteSpace.go.snap index 74e4306d2a4..e4fcb9816a9 100644 --- a/service/repostspace/snapshot/api_op_DeleteSpace.go.snap +++ b/service/repostspace/snapshot/api_op_DeleteSpace.go.snap @@ -14,7 +14,6 @@ DeleteSpace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/repostspace/snapshot/api_op_DeregisterAdmin.go.snap b/service/repostspace/snapshot/api_op_DeregisterAdmin.go.snap index 919e10e5fbe..ff8428f8f26 100644 --- a/service/repostspace/snapshot/api_op_DeregisterAdmin.go.snap +++ b/service/repostspace/snapshot/api_op_DeregisterAdmin.go.snap @@ -14,7 +14,6 @@ DeregisterAdmin Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/repostspace/snapshot/api_op_GetSpace.go.snap b/service/repostspace/snapshot/api_op_GetSpace.go.snap index ad835f6ee64..46db2fec7b6 100644 --- a/service/repostspace/snapshot/api_op_GetSpace.go.snap +++ b/service/repostspace/snapshot/api_op_GetSpace.go.snap @@ -14,7 +14,6 @@ GetSpace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/repostspace/snapshot/api_op_ListSpaces.go.snap b/service/repostspace/snapshot/api_op_ListSpaces.go.snap index e6ee49dd5fd..ae5116db5fe 100644 --- a/service/repostspace/snapshot/api_op_ListSpaces.go.snap +++ b/service/repostspace/snapshot/api_op_ListSpaces.go.snap @@ -13,7 +13,6 @@ ListSpaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/repostspace/snapshot/api_op_ListTagsForResource.go.snap b/service/repostspace/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/repostspace/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/repostspace/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/repostspace/snapshot/api_op_RegisterAdmin.go.snap b/service/repostspace/snapshot/api_op_RegisterAdmin.go.snap index f65d451bcf6..cf4b144bd75 100644 --- a/service/repostspace/snapshot/api_op_RegisterAdmin.go.snap +++ b/service/repostspace/snapshot/api_op_RegisterAdmin.go.snap @@ -14,7 +14,6 @@ RegisterAdmin Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/repostspace/snapshot/api_op_SendInvites.go.snap b/service/repostspace/snapshot/api_op_SendInvites.go.snap index e57b482785b..c7debbc926f 100644 --- a/service/repostspace/snapshot/api_op_SendInvites.go.snap +++ b/service/repostspace/snapshot/api_op_SendInvites.go.snap @@ -14,7 +14,6 @@ SendInvites Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/repostspace/snapshot/api_op_TagResource.go.snap b/service/repostspace/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/repostspace/snapshot/api_op_TagResource.go.snap +++ b/service/repostspace/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/repostspace/snapshot/api_op_UntagResource.go.snap b/service/repostspace/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/repostspace/snapshot/api_op_UntagResource.go.snap +++ b/service/repostspace/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/repostspace/snapshot/api_op_UpdateSpace.go.snap b/service/repostspace/snapshot/api_op_UpdateSpace.go.snap index a5111b756a7..d6d8fa3c92f 100644 --- a/service/repostspace/snapshot/api_op_UpdateSpace.go.snap +++ b/service/repostspace/snapshot/api_op_UpdateSpace.go.snap @@ -14,7 +14,6 @@ UpdateSpace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/api_client.go b/service/resiliencehub/api_client.go index a6d28edbeb4..56b4abe48f6 100644 --- a/service/resiliencehub/api_client.go +++ b/service/resiliencehub/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/resiliencehub/api_op_AcceptResourceGroupingRecommendations.go b/service/resiliencehub/api_op_AcceptResourceGroupingRecommendations.go index a7665ab91c4..ef2e540581b 100644 --- a/service/resiliencehub/api_op_AcceptResourceGroupingRecommendations.go +++ b/service/resiliencehub/api_op_AcceptResourceGroupingRecommendations.go @@ -137,9 +137,6 @@ func (c *Client) addOperationAcceptResourceGroupingRecommendationsMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptResourceGroupingRecommendationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_AddDraftAppVersionResourceMappings.go b/service/resiliencehub/api_op_AddDraftAppVersionResourceMappings.go index 94c6660c8ac..25e41d8bc35 100644 --- a/service/resiliencehub/api_op_AddDraftAppVersionResourceMappings.go +++ b/service/resiliencehub/api_op_AddDraftAppVersionResourceMappings.go @@ -151,9 +151,6 @@ func (c *Client) addOperationAddDraftAppVersionResourceMappingsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddDraftAppVersionResourceMappingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_BatchUpdateRecommendationStatus.go b/service/resiliencehub/api_op_BatchUpdateRecommendationStatus.go index f7fd8a0c2a4..95e11365fdd 100644 --- a/service/resiliencehub/api_op_BatchUpdateRecommendationStatus.go +++ b/service/resiliencehub/api_op_BatchUpdateRecommendationStatus.go @@ -141,9 +141,6 @@ func (c *Client) addOperationBatchUpdateRecommendationStatusMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchUpdateRecommendationStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_CreateApp.go b/service/resiliencehub/api_op_CreateApp.go index c28874b8d31..e277b89c3c8 100644 --- a/service/resiliencehub/api_op_CreateApp.go +++ b/service/resiliencehub/api_op_CreateApp.go @@ -170,9 +170,6 @@ func (c *Client) addOperationCreateAppMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAppMiddleware(stack, options); err != nil { return err } diff --git a/service/resiliencehub/api_op_CreateAppVersionAppComponent.go b/service/resiliencehub/api_op_CreateAppVersionAppComponent.go index f289289bcae..d71865a9e86 100644 --- a/service/resiliencehub/api_op_CreateAppVersionAppComponent.go +++ b/service/resiliencehub/api_op_CreateAppVersionAppComponent.go @@ -161,9 +161,6 @@ func (c *Client) addOperationCreateAppVersionAppComponentMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAppVersionAppComponentMiddleware(stack, options); err != nil { return err } diff --git a/service/resiliencehub/api_op_CreateAppVersionResource.go b/service/resiliencehub/api_op_CreateAppVersionResource.go index 84805743d5f..2ab0fda77fb 100644 --- a/service/resiliencehub/api_op_CreateAppVersionResource.go +++ b/service/resiliencehub/api_op_CreateAppVersionResource.go @@ -183,9 +183,6 @@ func (c *Client) addOperationCreateAppVersionResourceMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAppVersionResourceMiddleware(stack, options); err != nil { return err } diff --git a/service/resiliencehub/api_op_CreateRecommendationTemplate.go b/service/resiliencehub/api_op_CreateRecommendationTemplate.go index 75d19b081fe..0f743fa1759 100644 --- a/service/resiliencehub/api_op_CreateRecommendationTemplate.go +++ b/service/resiliencehub/api_op_CreateRecommendationTemplate.go @@ -154,9 +154,6 @@ func (c *Client) addOperationCreateRecommendationTemplateMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateRecommendationTemplateMiddleware(stack, options); err != nil { return err } diff --git a/service/resiliencehub/api_op_CreateResiliencyPolicy.go b/service/resiliencehub/api_op_CreateResiliencyPolicy.go index 0f8943bf8cb..b39fe666f56 100644 --- a/service/resiliencehub/api_op_CreateResiliencyPolicy.go +++ b/service/resiliencehub/api_op_CreateResiliencyPolicy.go @@ -150,9 +150,6 @@ func (c *Client) addOperationCreateResiliencyPolicyMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateResiliencyPolicyMiddleware(stack, options); err != nil { return err } diff --git a/service/resiliencehub/api_op_DeleteApp.go b/service/resiliencehub/api_op_DeleteApp.go index 17215775160..0c983061033 100644 --- a/service/resiliencehub/api_op_DeleteApp.go +++ b/service/resiliencehub/api_op_DeleteApp.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDeleteAppMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteAppMiddleware(stack, options); err != nil { return err } diff --git a/service/resiliencehub/api_op_DeleteAppAssessment.go b/service/resiliencehub/api_op_DeleteAppAssessment.go index ebb7a37e5b1..547652e40c8 100644 --- a/service/resiliencehub/api_op_DeleteAppAssessment.go +++ b/service/resiliencehub/api_op_DeleteAppAssessment.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDeleteAppAssessmentMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteAppAssessmentMiddleware(stack, options); err != nil { return err } diff --git a/service/resiliencehub/api_op_DeleteAppInputSource.go b/service/resiliencehub/api_op_DeleteAppInputSource.go index a1fa3e02957..495401283c2 100644 --- a/service/resiliencehub/api_op_DeleteAppInputSource.go +++ b/service/resiliencehub/api_op_DeleteAppInputSource.go @@ -146,9 +146,6 @@ func (c *Client) addOperationDeleteAppInputSourceMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteAppInputSourceMiddleware(stack, options); err != nil { return err } diff --git a/service/resiliencehub/api_op_DeleteAppVersionAppComponent.go b/service/resiliencehub/api_op_DeleteAppVersionAppComponent.go index 1be9d66f2ef..6bb5edb6449 100644 --- a/service/resiliencehub/api_op_DeleteAppVersionAppComponent.go +++ b/service/resiliencehub/api_op_DeleteAppVersionAppComponent.go @@ -149,9 +149,6 @@ func (c *Client) addOperationDeleteAppVersionAppComponentMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteAppVersionAppComponentMiddleware(stack, options); err != nil { return err } diff --git a/service/resiliencehub/api_op_DeleteAppVersionResource.go b/service/resiliencehub/api_op_DeleteAppVersionResource.go index 6cfbe996a23..7ee12755e8b 100644 --- a/service/resiliencehub/api_op_DeleteAppVersionResource.go +++ b/service/resiliencehub/api_op_DeleteAppVersionResource.go @@ -163,9 +163,6 @@ func (c *Client) addOperationDeleteAppVersionResourceMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteAppVersionResourceMiddleware(stack, options); err != nil { return err } diff --git a/service/resiliencehub/api_op_DeleteRecommendationTemplate.go b/service/resiliencehub/api_op_DeleteRecommendationTemplate.go index cd84c7e2118..c612806d0ea 100644 --- a/service/resiliencehub/api_op_DeleteRecommendationTemplate.go +++ b/service/resiliencehub/api_op_DeleteRecommendationTemplate.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDeleteRecommendationTemplateMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteRecommendationTemplateMiddleware(stack, options); err != nil { return err } diff --git a/service/resiliencehub/api_op_DeleteResiliencyPolicy.go b/service/resiliencehub/api_op_DeleteResiliencyPolicy.go index 9ae9c686d57..2c420d0956e 100644 --- a/service/resiliencehub/api_op_DeleteResiliencyPolicy.go +++ b/service/resiliencehub/api_op_DeleteResiliencyPolicy.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteResiliencyPolicyMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteResiliencyPolicyMiddleware(stack, options); err != nil { return err } diff --git a/service/resiliencehub/api_op_DescribeApp.go b/service/resiliencehub/api_op_DescribeApp.go index 5f3419a1963..0468802efb1 100644 --- a/service/resiliencehub/api_op_DescribeApp.go +++ b/service/resiliencehub/api_op_DescribeApp.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDescribeAppMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAppValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_DescribeAppAssessment.go b/service/resiliencehub/api_op_DescribeAppAssessment.go index f5587171810..0a643ce7c66 100644 --- a/service/resiliencehub/api_op_DescribeAppAssessment.go +++ b/service/resiliencehub/api_op_DescribeAppAssessment.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDescribeAppAssessmentMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAppAssessmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_DescribeAppVersion.go b/service/resiliencehub/api_op_DescribeAppVersion.go index b2b51b47d87..189c0f7fdf4 100644 --- a/service/resiliencehub/api_op_DescribeAppVersion.go +++ b/service/resiliencehub/api_op_DescribeAppVersion.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDescribeAppVersionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAppVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_DescribeAppVersionAppComponent.go b/service/resiliencehub/api_op_DescribeAppVersionAppComponent.go index 4608ab688a4..c67b482f71f 100644 --- a/service/resiliencehub/api_op_DescribeAppVersionAppComponent.go +++ b/service/resiliencehub/api_op_DescribeAppVersionAppComponent.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDescribeAppVersionAppComponentMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAppVersionAppComponentValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_DescribeAppVersionResource.go b/service/resiliencehub/api_op_DescribeAppVersionResource.go index 8cddb7e2b3d..4bcab1bc59b 100644 --- a/service/resiliencehub/api_op_DescribeAppVersionResource.go +++ b/service/resiliencehub/api_op_DescribeAppVersionResource.go @@ -163,9 +163,6 @@ func (c *Client) addOperationDescribeAppVersionResourceMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAppVersionResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_DescribeAppVersionResourcesResolutionStatus.go b/service/resiliencehub/api_op_DescribeAppVersionResourcesResolutionStatus.go index 64b852e8888..974bbb790a4 100644 --- a/service/resiliencehub/api_op_DescribeAppVersionResourcesResolutionStatus.go +++ b/service/resiliencehub/api_op_DescribeAppVersionResourcesResolutionStatus.go @@ -152,9 +152,6 @@ func (c *Client) addOperationDescribeAppVersionResourcesResolutionStatusMiddlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAppVersionResourcesResolutionStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_DescribeAppVersionTemplate.go b/service/resiliencehub/api_op_DescribeAppVersionTemplate.go index b9fa33738bf..50456728e32 100644 --- a/service/resiliencehub/api_op_DescribeAppVersionTemplate.go +++ b/service/resiliencehub/api_op_DescribeAppVersionTemplate.go @@ -341,9 +341,6 @@ func (c *Client) addOperationDescribeAppVersionTemplateMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAppVersionTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_DescribeDraftAppVersionResourcesImportStatus.go b/service/resiliencehub/api_op_DescribeDraftAppVersionResourcesImportStatus.go index f6f35d78731..636bdf2ecbc 100644 --- a/service/resiliencehub/api_op_DescribeDraftAppVersionResourcesImportStatus.go +++ b/service/resiliencehub/api_op_DescribeDraftAppVersionResourcesImportStatus.go @@ -151,9 +151,6 @@ func (c *Client) addOperationDescribeDraftAppVersionResourcesImportStatusMiddlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDraftAppVersionResourcesImportStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_DescribeMetricsExport.go b/service/resiliencehub/api_op_DescribeMetricsExport.go index 712d21ae6f7..f29ed32861a 100644 --- a/service/resiliencehub/api_op_DescribeMetricsExport.go +++ b/service/resiliencehub/api_op_DescribeMetricsExport.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribeMetricsExportMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeMetricsExportValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_DescribeResiliencyPolicy.go b/service/resiliencehub/api_op_DescribeResiliencyPolicy.go index 5999f00ed0d..990db385e55 100644 --- a/service/resiliencehub/api_op_DescribeResiliencyPolicy.go +++ b/service/resiliencehub/api_op_DescribeResiliencyPolicy.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeResiliencyPolicyMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeResiliencyPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_DescribeResourceGroupingRecommendationTask.go b/service/resiliencehub/api_op_DescribeResourceGroupingRecommendationTask.go index 25d7a883bb7..35c555c2920 100644 --- a/service/resiliencehub/api_op_DescribeResourceGroupingRecommendationTask.go +++ b/service/resiliencehub/api_op_DescribeResourceGroupingRecommendationTask.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeResourceGroupingRecommendationTaskMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeResourceGroupingRecommendationTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ImportResourcesToDraftAppVersion.go b/service/resiliencehub/api_op_ImportResourcesToDraftAppVersion.go index d7cbc5e6af1..fa4ccededd5 100644 --- a/service/resiliencehub/api_op_ImportResourcesToDraftAppVersion.go +++ b/service/resiliencehub/api_op_ImportResourcesToDraftAppVersion.go @@ -162,9 +162,6 @@ func (c *Client) addOperationImportResourcesToDraftAppVersionMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportResourcesToDraftAppVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListAlarmRecommendations.go b/service/resiliencehub/api_op_ListAlarmRecommendations.go index 5a3e05921f9..e5131c4461b 100644 --- a/service/resiliencehub/api_op_ListAlarmRecommendations.go +++ b/service/resiliencehub/api_op_ListAlarmRecommendations.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListAlarmRecommendationsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAlarmRecommendationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListAppAssessmentComplianceDrifts.go b/service/resiliencehub/api_op_ListAppAssessmentComplianceDrifts.go index a2338a379fb..6abf082e372 100644 --- a/service/resiliencehub/api_op_ListAppAssessmentComplianceDrifts.go +++ b/service/resiliencehub/api_op_ListAppAssessmentComplianceDrifts.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListAppAssessmentComplianceDriftsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAppAssessmentComplianceDriftsValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListAppAssessmentResourceDrifts.go b/service/resiliencehub/api_op_ListAppAssessmentResourceDrifts.go index 268d92c328f..18dfbd1d9cf 100644 --- a/service/resiliencehub/api_op_ListAppAssessmentResourceDrifts.go +++ b/service/resiliencehub/api_op_ListAppAssessmentResourceDrifts.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListAppAssessmentResourceDriftsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAppAssessmentResourceDriftsValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListAppAssessments.go b/service/resiliencehub/api_op_ListAppAssessments.go index 4d6a0302a90..df5c87c6be6 100644 --- a/service/resiliencehub/api_op_ListAppAssessments.go +++ b/service/resiliencehub/api_op_ListAppAssessments.go @@ -148,9 +148,6 @@ func (c *Client) addOperationListAppAssessmentsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAppAssessments(options.Region), middleware.Before); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListAppComponentCompliances.go b/service/resiliencehub/api_op_ListAppComponentCompliances.go index 230b0b76abb..b4739a4fdda 100644 --- a/service/resiliencehub/api_op_ListAppComponentCompliances.go +++ b/service/resiliencehub/api_op_ListAppComponentCompliances.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListAppComponentCompliancesMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAppComponentCompliancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListAppComponentRecommendations.go b/service/resiliencehub/api_op_ListAppComponentRecommendations.go index e583a6ec063..8f373b3bc2c 100644 --- a/service/resiliencehub/api_op_ListAppComponentRecommendations.go +++ b/service/resiliencehub/api_op_ListAppComponentRecommendations.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListAppComponentRecommendationsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAppComponentRecommendationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListAppInputSources.go b/service/resiliencehub/api_op_ListAppInputSources.go index 2831b9ae5c3..9dfbcf623d7 100644 --- a/service/resiliencehub/api_op_ListAppInputSources.go +++ b/service/resiliencehub/api_op_ListAppInputSources.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListAppInputSourcesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAppInputSourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListAppVersionAppComponents.go b/service/resiliencehub/api_op_ListAppVersionAppComponents.go index 39e8f34ffe5..541b2ef8bd5 100644 --- a/service/resiliencehub/api_op_ListAppVersionAppComponents.go +++ b/service/resiliencehub/api_op_ListAppVersionAppComponents.go @@ -147,9 +147,6 @@ func (c *Client) addOperationListAppVersionAppComponentsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAppVersionAppComponentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListAppVersionResourceMappings.go b/service/resiliencehub/api_op_ListAppVersionResourceMappings.go index e74fa6aa8f7..706baefee5f 100644 --- a/service/resiliencehub/api_op_ListAppVersionResourceMappings.go +++ b/service/resiliencehub/api_op_ListAppVersionResourceMappings.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListAppVersionResourceMappingsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAppVersionResourceMappingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListAppVersionResources.go b/service/resiliencehub/api_op_ListAppVersionResources.go index 7f78e4bb847..e98455c6f13 100644 --- a/service/resiliencehub/api_op_ListAppVersionResources.go +++ b/service/resiliencehub/api_op_ListAppVersionResources.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListAppVersionResourcesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAppVersionResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListAppVersions.go b/service/resiliencehub/api_op_ListAppVersions.go index ccb271066a8..ac1d601c76a 100644 --- a/service/resiliencehub/api_op_ListAppVersions.go +++ b/service/resiliencehub/api_op_ListAppVersions.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListAppVersionsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAppVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListApps.go b/service/resiliencehub/api_op_ListApps.go index ed7a8afc319..ddab7191b28 100644 --- a/service/resiliencehub/api_op_ListApps.go +++ b/service/resiliencehub/api_op_ListApps.go @@ -160,9 +160,6 @@ func (c *Client) addOperationListAppsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApps(options.Region), middleware.Before); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListMetrics.go b/service/resiliencehub/api_op_ListMetrics.go index c605cf8573d..cbeb9213cad 100644 --- a/service/resiliencehub/api_op_ListMetrics.go +++ b/service/resiliencehub/api_op_ListMetrics.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListMetricsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMetricsValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListRecommendationTemplates.go b/service/resiliencehub/api_op_ListRecommendationTemplates.go index cfecc3c1d33..af29fd0b3f2 100644 --- a/service/resiliencehub/api_op_ListRecommendationTemplates.go +++ b/service/resiliencehub/api_op_ListRecommendationTemplates.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListRecommendationTemplatesMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRecommendationTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListResiliencyPolicies.go b/service/resiliencehub/api_op_ListResiliencyPolicies.go index 16cd83d3e7f..f8abfbae160 100644 --- a/service/resiliencehub/api_op_ListResiliencyPolicies.go +++ b/service/resiliencehub/api_op_ListResiliencyPolicies.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListResiliencyPoliciesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResiliencyPolicies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListResourceGroupingRecommendations.go b/service/resiliencehub/api_op_ListResourceGroupingRecommendations.go index 096ca2b7e53..346b0ac5c25 100644 --- a/service/resiliencehub/api_op_ListResourceGroupingRecommendations.go +++ b/service/resiliencehub/api_op_ListResourceGroupingRecommendations.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListResourceGroupingRecommendationsMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourceGroupingRecommendations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListSopRecommendations.go b/service/resiliencehub/api_op_ListSopRecommendations.go index e6473857795..d49fea72bd5 100644 --- a/service/resiliencehub/api_op_ListSopRecommendations.go +++ b/service/resiliencehub/api_op_ListSopRecommendations.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListSopRecommendationsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSopRecommendationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListSuggestedResiliencyPolicies.go b/service/resiliencehub/api_op_ListSuggestedResiliencyPolicies.go index ac416be930d..d8d8e1883a9 100644 --- a/service/resiliencehub/api_op_ListSuggestedResiliencyPolicies.go +++ b/service/resiliencehub/api_op_ListSuggestedResiliencyPolicies.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListSuggestedResiliencyPoliciesMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSuggestedResiliencyPolicies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListTagsForResource.go b/service/resiliencehub/api_op_ListTagsForResource.go index 6350da5e4c7..729c8d7168d 100644 --- a/service/resiliencehub/api_op_ListTagsForResource.go +++ b/service/resiliencehub/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListTestRecommendations.go b/service/resiliencehub/api_op_ListTestRecommendations.go index dcdc1a976e4..ad5e673d79c 100644 --- a/service/resiliencehub/api_op_ListTestRecommendations.go +++ b/service/resiliencehub/api_op_ListTestRecommendations.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListTestRecommendationsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTestRecommendationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ListUnsupportedAppVersionResources.go b/service/resiliencehub/api_op_ListUnsupportedAppVersionResources.go index 93b8b256754..8fee8707979 100644 --- a/service/resiliencehub/api_op_ListUnsupportedAppVersionResources.go +++ b/service/resiliencehub/api_op_ListUnsupportedAppVersionResources.go @@ -145,9 +145,6 @@ func (c *Client) addOperationListUnsupportedAppVersionResourcesMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListUnsupportedAppVersionResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_PublishAppVersion.go b/service/resiliencehub/api_op_PublishAppVersion.go index ba45a035a64..239f144c790 100644 --- a/service/resiliencehub/api_op_PublishAppVersion.go +++ b/service/resiliencehub/api_op_PublishAppVersion.go @@ -135,9 +135,6 @@ func (c *Client) addOperationPublishAppVersionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPublishAppVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_PutDraftAppVersionTemplate.go b/service/resiliencehub/api_op_PutDraftAppVersionTemplate.go index 6d4d0089390..ba24cafd20a 100644 --- a/service/resiliencehub/api_op_PutDraftAppVersionTemplate.go +++ b/service/resiliencehub/api_op_PutDraftAppVersionTemplate.go @@ -333,9 +333,6 @@ func (c *Client) addOperationPutDraftAppVersionTemplateMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutDraftAppVersionTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_RejectResourceGroupingRecommendations.go b/service/resiliencehub/api_op_RejectResourceGroupingRecommendations.go index d58a211551b..2b85deb21b1 100644 --- a/service/resiliencehub/api_op_RejectResourceGroupingRecommendations.go +++ b/service/resiliencehub/api_op_RejectResourceGroupingRecommendations.go @@ -136,9 +136,6 @@ func (c *Client) addOperationRejectResourceGroupingRecommendationsMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRejectResourceGroupingRecommendationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_RemoveDraftAppVersionResourceMappings.go b/service/resiliencehub/api_op_RemoveDraftAppVersionResourceMappings.go index f919c895b59..a3751d0ca6e 100644 --- a/service/resiliencehub/api_op_RemoveDraftAppVersionResourceMappings.go +++ b/service/resiliencehub/api_op_RemoveDraftAppVersionResourceMappings.go @@ -148,9 +148,6 @@ func (c *Client) addOperationRemoveDraftAppVersionResourceMappingsMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveDraftAppVersionResourceMappingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_ResolveAppVersionResources.go b/service/resiliencehub/api_op_ResolveAppVersionResources.go index 062b5cdfee1..d68554275ff 100644 --- a/service/resiliencehub/api_op_ResolveAppVersionResources.go +++ b/service/resiliencehub/api_op_ResolveAppVersionResources.go @@ -144,9 +144,6 @@ func (c *Client) addOperationResolveAppVersionResourcesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResolveAppVersionResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_StartAppAssessment.go b/service/resiliencehub/api_op_StartAppAssessment.go index d6c99e41ebb..cfdaf818d95 100644 --- a/service/resiliencehub/api_op_StartAppAssessment.go +++ b/service/resiliencehub/api_op_StartAppAssessment.go @@ -138,9 +138,6 @@ func (c *Client) addOperationStartAppAssessmentMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartAppAssessmentMiddleware(stack, options); err != nil { return err } diff --git a/service/resiliencehub/api_op_StartMetricsExport.go b/service/resiliencehub/api_op_StartMetricsExport.go index dba3caf8f2f..6d4307c178a 100644 --- a/service/resiliencehub/api_op_StartMetricsExport.go +++ b/service/resiliencehub/api_op_StartMetricsExport.go @@ -123,9 +123,6 @@ func (c *Client) addOperationStartMetricsExportMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartMetricsExportMiddleware(stack, options); err != nil { return err } diff --git a/service/resiliencehub/api_op_StartResourceGroupingRecommendationTask.go b/service/resiliencehub/api_op_StartResourceGroupingRecommendationTask.go index ae54b50b706..035fef205ed 100644 --- a/service/resiliencehub/api_op_StartResourceGroupingRecommendationTask.go +++ b/service/resiliencehub/api_op_StartResourceGroupingRecommendationTask.go @@ -137,9 +137,6 @@ func (c *Client) addOperationStartResourceGroupingRecommendationTaskMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartResourceGroupingRecommendationTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_TagResource.go b/service/resiliencehub/api_op_TagResource.go index c681667a8ab..dfb9ea224a9 100644 --- a/service/resiliencehub/api_op_TagResource.go +++ b/service/resiliencehub/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_UntagResource.go b/service/resiliencehub/api_op_UntagResource.go index 1d46dd60207..e1a1c671a3e 100644 --- a/service/resiliencehub/api_op_UntagResource.go +++ b/service/resiliencehub/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_UpdateApp.go b/service/resiliencehub/api_op_UpdateApp.go index 6e9af0e628d..12f7bf1780e 100644 --- a/service/resiliencehub/api_op_UpdateApp.go +++ b/service/resiliencehub/api_op_UpdateApp.go @@ -146,9 +146,6 @@ func (c *Client) addOperationUpdateAppMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAppValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_UpdateAppVersion.go b/service/resiliencehub/api_op_UpdateAppVersion.go index 99c859a7455..cc397b67d58 100644 --- a/service/resiliencehub/api_op_UpdateAppVersion.go +++ b/service/resiliencehub/api_op_UpdateAppVersion.go @@ -155,9 +155,6 @@ func (c *Client) addOperationUpdateAppVersionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAppVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_UpdateAppVersionAppComponent.go b/service/resiliencehub/api_op_UpdateAppVersionAppComponent.go index c8768f2449f..8bf3fe21512 100644 --- a/service/resiliencehub/api_op_UpdateAppVersionAppComponent.go +++ b/service/resiliencehub/api_op_UpdateAppVersionAppComponent.go @@ -154,9 +154,6 @@ func (c *Client) addOperationUpdateAppVersionAppComponentMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAppVersionAppComponentValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_UpdateAppVersionResource.go b/service/resiliencehub/api_op_UpdateAppVersionResource.go index be76d56353e..fa11482b48d 100644 --- a/service/resiliencehub/api_op_UpdateAppVersionResource.go +++ b/service/resiliencehub/api_op_UpdateAppVersionResource.go @@ -173,9 +173,6 @@ func (c *Client) addOperationUpdateAppVersionResourceMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAppVersionResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/api_op_UpdateResiliencyPolicy.go b/service/resiliencehub/api_op_UpdateResiliencyPolicy.go index e883405a6c6..b9161ad50ad 100644 --- a/service/resiliencehub/api_op_UpdateResiliencyPolicy.go +++ b/service/resiliencehub/api_op_UpdateResiliencyPolicy.go @@ -145,9 +145,6 @@ func (c *Client) addOperationUpdateResiliencyPolicyMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateResiliencyPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/resiliencehub/snapshot/api_op_AcceptResourceGroupingRecommendations.go.snap b/service/resiliencehub/snapshot/api_op_AcceptResourceGroupingRecommendations.go.snap index 320d565651a..4aea46dc377 100644 --- a/service/resiliencehub/snapshot/api_op_AcceptResourceGroupingRecommendations.go.snap +++ b/service/resiliencehub/snapshot/api_op_AcceptResourceGroupingRecommendations.go.snap @@ -14,7 +14,6 @@ AcceptResourceGroupingRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_AddDraftAppVersionResourceMappings.go.snap b/service/resiliencehub/snapshot/api_op_AddDraftAppVersionResourceMappings.go.snap index 4978f9f65b0..822797848d2 100644 --- a/service/resiliencehub/snapshot/api_op_AddDraftAppVersionResourceMappings.go.snap +++ b/service/resiliencehub/snapshot/api_op_AddDraftAppVersionResourceMappings.go.snap @@ -14,7 +14,6 @@ AddDraftAppVersionResourceMappings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_BatchUpdateRecommendationStatus.go.snap b/service/resiliencehub/snapshot/api_op_BatchUpdateRecommendationStatus.go.snap index bdc883fa5d3..223e3c26b3c 100644 --- a/service/resiliencehub/snapshot/api_op_BatchUpdateRecommendationStatus.go.snap +++ b/service/resiliencehub/snapshot/api_op_BatchUpdateRecommendationStatus.go.snap @@ -14,7 +14,6 @@ BatchUpdateRecommendationStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_CreateApp.go.snap b/service/resiliencehub/snapshot/api_op_CreateApp.go.snap index 8bd0d39afe0..4960ebb72df 100644 --- a/service/resiliencehub/snapshot/api_op_CreateApp.go.snap +++ b/service/resiliencehub/snapshot/api_op_CreateApp.go.snap @@ -15,7 +15,6 @@ CreateApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_CreateAppVersionAppComponent.go.snap b/service/resiliencehub/snapshot/api_op_CreateAppVersionAppComponent.go.snap index 79c185439f1..fed5751d3df 100644 --- a/service/resiliencehub/snapshot/api_op_CreateAppVersionAppComponent.go.snap +++ b/service/resiliencehub/snapshot/api_op_CreateAppVersionAppComponent.go.snap @@ -15,7 +15,6 @@ CreateAppVersionAppComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_CreateAppVersionResource.go.snap b/service/resiliencehub/snapshot/api_op_CreateAppVersionResource.go.snap index a0801676d24..6ab75056806 100644 --- a/service/resiliencehub/snapshot/api_op_CreateAppVersionResource.go.snap +++ b/service/resiliencehub/snapshot/api_op_CreateAppVersionResource.go.snap @@ -15,7 +15,6 @@ CreateAppVersionResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_CreateRecommendationTemplate.go.snap b/service/resiliencehub/snapshot/api_op_CreateRecommendationTemplate.go.snap index 0f1e4cb5183..8047cdb3df4 100644 --- a/service/resiliencehub/snapshot/api_op_CreateRecommendationTemplate.go.snap +++ b/service/resiliencehub/snapshot/api_op_CreateRecommendationTemplate.go.snap @@ -15,7 +15,6 @@ CreateRecommendationTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_CreateResiliencyPolicy.go.snap b/service/resiliencehub/snapshot/api_op_CreateResiliencyPolicy.go.snap index 7336b987d94..a0212143b32 100644 --- a/service/resiliencehub/snapshot/api_op_CreateResiliencyPolicy.go.snap +++ b/service/resiliencehub/snapshot/api_op_CreateResiliencyPolicy.go.snap @@ -15,7 +15,6 @@ CreateResiliencyPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_DeleteApp.go.snap b/service/resiliencehub/snapshot/api_op_DeleteApp.go.snap index 3a64451ffdb..9e520ad0938 100644 --- a/service/resiliencehub/snapshot/api_op_DeleteApp.go.snap +++ b/service/resiliencehub/snapshot/api_op_DeleteApp.go.snap @@ -15,7 +15,6 @@ DeleteApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_DeleteAppAssessment.go.snap b/service/resiliencehub/snapshot/api_op_DeleteAppAssessment.go.snap index e1c444ed366..58a8d8c4caa 100644 --- a/service/resiliencehub/snapshot/api_op_DeleteAppAssessment.go.snap +++ b/service/resiliencehub/snapshot/api_op_DeleteAppAssessment.go.snap @@ -15,7 +15,6 @@ DeleteAppAssessment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_DeleteAppInputSource.go.snap b/service/resiliencehub/snapshot/api_op_DeleteAppInputSource.go.snap index 8e7fa7f179e..649ea7fe41f 100644 --- a/service/resiliencehub/snapshot/api_op_DeleteAppInputSource.go.snap +++ b/service/resiliencehub/snapshot/api_op_DeleteAppInputSource.go.snap @@ -15,7 +15,6 @@ DeleteAppInputSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_DeleteAppVersionAppComponent.go.snap b/service/resiliencehub/snapshot/api_op_DeleteAppVersionAppComponent.go.snap index 1be533b2176..b387126ee62 100644 --- a/service/resiliencehub/snapshot/api_op_DeleteAppVersionAppComponent.go.snap +++ b/service/resiliencehub/snapshot/api_op_DeleteAppVersionAppComponent.go.snap @@ -15,7 +15,6 @@ DeleteAppVersionAppComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_DeleteAppVersionResource.go.snap b/service/resiliencehub/snapshot/api_op_DeleteAppVersionResource.go.snap index b8ea217ca9b..c9bb4783f85 100644 --- a/service/resiliencehub/snapshot/api_op_DeleteAppVersionResource.go.snap +++ b/service/resiliencehub/snapshot/api_op_DeleteAppVersionResource.go.snap @@ -15,7 +15,6 @@ DeleteAppVersionResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_DeleteRecommendationTemplate.go.snap b/service/resiliencehub/snapshot/api_op_DeleteRecommendationTemplate.go.snap index 0fd400ef582..7a1046ca34d 100644 --- a/service/resiliencehub/snapshot/api_op_DeleteRecommendationTemplate.go.snap +++ b/service/resiliencehub/snapshot/api_op_DeleteRecommendationTemplate.go.snap @@ -15,7 +15,6 @@ DeleteRecommendationTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_DeleteResiliencyPolicy.go.snap b/service/resiliencehub/snapshot/api_op_DeleteResiliencyPolicy.go.snap index c569771ee6f..ff7dc307e97 100644 --- a/service/resiliencehub/snapshot/api_op_DeleteResiliencyPolicy.go.snap +++ b/service/resiliencehub/snapshot/api_op_DeleteResiliencyPolicy.go.snap @@ -15,7 +15,6 @@ DeleteResiliencyPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_DescribeApp.go.snap b/service/resiliencehub/snapshot/api_op_DescribeApp.go.snap index 3078032ff95..2fdc7c73c95 100644 --- a/service/resiliencehub/snapshot/api_op_DescribeApp.go.snap +++ b/service/resiliencehub/snapshot/api_op_DescribeApp.go.snap @@ -14,7 +14,6 @@ DescribeApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_DescribeAppAssessment.go.snap b/service/resiliencehub/snapshot/api_op_DescribeAppAssessment.go.snap index fa6ad352f9b..f48c592f54d 100644 --- a/service/resiliencehub/snapshot/api_op_DescribeAppAssessment.go.snap +++ b/service/resiliencehub/snapshot/api_op_DescribeAppAssessment.go.snap @@ -14,7 +14,6 @@ DescribeAppAssessment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_DescribeAppVersion.go.snap b/service/resiliencehub/snapshot/api_op_DescribeAppVersion.go.snap index 5bac72dffc7..3826224aeb6 100644 --- a/service/resiliencehub/snapshot/api_op_DescribeAppVersion.go.snap +++ b/service/resiliencehub/snapshot/api_op_DescribeAppVersion.go.snap @@ -14,7 +14,6 @@ DescribeAppVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_DescribeAppVersionAppComponent.go.snap b/service/resiliencehub/snapshot/api_op_DescribeAppVersionAppComponent.go.snap index b8b6f4a6c18..2924f5593b4 100644 --- a/service/resiliencehub/snapshot/api_op_DescribeAppVersionAppComponent.go.snap +++ b/service/resiliencehub/snapshot/api_op_DescribeAppVersionAppComponent.go.snap @@ -14,7 +14,6 @@ DescribeAppVersionAppComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_DescribeAppVersionResource.go.snap b/service/resiliencehub/snapshot/api_op_DescribeAppVersionResource.go.snap index 8443431039b..92d67aa9f07 100644 --- a/service/resiliencehub/snapshot/api_op_DescribeAppVersionResource.go.snap +++ b/service/resiliencehub/snapshot/api_op_DescribeAppVersionResource.go.snap @@ -14,7 +14,6 @@ DescribeAppVersionResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_DescribeAppVersionResourcesResolutionStatus.go.snap b/service/resiliencehub/snapshot/api_op_DescribeAppVersionResourcesResolutionStatus.go.snap index ef1df24e6ec..0c78f34fa5e 100644 --- a/service/resiliencehub/snapshot/api_op_DescribeAppVersionResourcesResolutionStatus.go.snap +++ b/service/resiliencehub/snapshot/api_op_DescribeAppVersionResourcesResolutionStatus.go.snap @@ -14,7 +14,6 @@ DescribeAppVersionResourcesResolutionStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_DescribeAppVersionTemplate.go.snap b/service/resiliencehub/snapshot/api_op_DescribeAppVersionTemplate.go.snap index 87a82528261..470e4cdd662 100644 --- a/service/resiliencehub/snapshot/api_op_DescribeAppVersionTemplate.go.snap +++ b/service/resiliencehub/snapshot/api_op_DescribeAppVersionTemplate.go.snap @@ -14,7 +14,6 @@ DescribeAppVersionTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_DescribeDraftAppVersionResourcesImportStatus.go.snap b/service/resiliencehub/snapshot/api_op_DescribeDraftAppVersionResourcesImportStatus.go.snap index 8cb8ef8a54b..6898d0c5d27 100644 --- a/service/resiliencehub/snapshot/api_op_DescribeDraftAppVersionResourcesImportStatus.go.snap +++ b/service/resiliencehub/snapshot/api_op_DescribeDraftAppVersionResourcesImportStatus.go.snap @@ -14,7 +14,6 @@ DescribeDraftAppVersionResourcesImportStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_DescribeMetricsExport.go.snap b/service/resiliencehub/snapshot/api_op_DescribeMetricsExport.go.snap index d5c1a00f873..9a8e477446c 100644 --- a/service/resiliencehub/snapshot/api_op_DescribeMetricsExport.go.snap +++ b/service/resiliencehub/snapshot/api_op_DescribeMetricsExport.go.snap @@ -14,7 +14,6 @@ DescribeMetricsExport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_DescribeResiliencyPolicy.go.snap b/service/resiliencehub/snapshot/api_op_DescribeResiliencyPolicy.go.snap index a6688f125a0..305102b95da 100644 --- a/service/resiliencehub/snapshot/api_op_DescribeResiliencyPolicy.go.snap +++ b/service/resiliencehub/snapshot/api_op_DescribeResiliencyPolicy.go.snap @@ -14,7 +14,6 @@ DescribeResiliencyPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_DescribeResourceGroupingRecommendationTask.go.snap b/service/resiliencehub/snapshot/api_op_DescribeResourceGroupingRecommendationTask.go.snap index 71932b0e59a..05dd570a3e9 100644 --- a/service/resiliencehub/snapshot/api_op_DescribeResourceGroupingRecommendationTask.go.snap +++ b/service/resiliencehub/snapshot/api_op_DescribeResourceGroupingRecommendationTask.go.snap @@ -14,7 +14,6 @@ DescribeResourceGroupingRecommendationTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_ImportResourcesToDraftAppVersion.go.snap b/service/resiliencehub/snapshot/api_op_ImportResourcesToDraftAppVersion.go.snap index df775f8a099..ef0eb8b1212 100644 --- a/service/resiliencehub/snapshot/api_op_ImportResourcesToDraftAppVersion.go.snap +++ b/service/resiliencehub/snapshot/api_op_ImportResourcesToDraftAppVersion.go.snap @@ -14,7 +14,6 @@ ImportResourcesToDraftAppVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_ListAlarmRecommendations.go.snap b/service/resiliencehub/snapshot/api_op_ListAlarmRecommendations.go.snap index 458cca047e4..0d5e8e7fa55 100644 --- a/service/resiliencehub/snapshot/api_op_ListAlarmRecommendations.go.snap +++ b/service/resiliencehub/snapshot/api_op_ListAlarmRecommendations.go.snap @@ -14,7 +14,6 @@ ListAlarmRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_ListAppAssessmentComplianceDrifts.go.snap b/service/resiliencehub/snapshot/api_op_ListAppAssessmentComplianceDrifts.go.snap index 2ce105de07b..d089963722c 100644 --- a/service/resiliencehub/snapshot/api_op_ListAppAssessmentComplianceDrifts.go.snap +++ b/service/resiliencehub/snapshot/api_op_ListAppAssessmentComplianceDrifts.go.snap @@ -14,7 +14,6 @@ ListAppAssessmentComplianceDrifts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_ListAppAssessmentResourceDrifts.go.snap b/service/resiliencehub/snapshot/api_op_ListAppAssessmentResourceDrifts.go.snap index 3524f126774..1fab552b80c 100644 --- a/service/resiliencehub/snapshot/api_op_ListAppAssessmentResourceDrifts.go.snap +++ b/service/resiliencehub/snapshot/api_op_ListAppAssessmentResourceDrifts.go.snap @@ -14,7 +14,6 @@ ListAppAssessmentResourceDrifts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_ListAppAssessments.go.snap b/service/resiliencehub/snapshot/api_op_ListAppAssessments.go.snap index a550fcede58..7c249a25766 100644 --- a/service/resiliencehub/snapshot/api_op_ListAppAssessments.go.snap +++ b/service/resiliencehub/snapshot/api_op_ListAppAssessments.go.snap @@ -13,7 +13,6 @@ ListAppAssessments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_ListAppComponentCompliances.go.snap b/service/resiliencehub/snapshot/api_op_ListAppComponentCompliances.go.snap index 8a52f77376a..5d7d6b100ff 100644 --- a/service/resiliencehub/snapshot/api_op_ListAppComponentCompliances.go.snap +++ b/service/resiliencehub/snapshot/api_op_ListAppComponentCompliances.go.snap @@ -14,7 +14,6 @@ ListAppComponentCompliances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_ListAppComponentRecommendations.go.snap b/service/resiliencehub/snapshot/api_op_ListAppComponentRecommendations.go.snap index fd6c373aa6f..56809ff1ff8 100644 --- a/service/resiliencehub/snapshot/api_op_ListAppComponentRecommendations.go.snap +++ b/service/resiliencehub/snapshot/api_op_ListAppComponentRecommendations.go.snap @@ -14,7 +14,6 @@ ListAppComponentRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_ListAppInputSources.go.snap b/service/resiliencehub/snapshot/api_op_ListAppInputSources.go.snap index 77d74409977..f3f6c805ef5 100644 --- a/service/resiliencehub/snapshot/api_op_ListAppInputSources.go.snap +++ b/service/resiliencehub/snapshot/api_op_ListAppInputSources.go.snap @@ -14,7 +14,6 @@ ListAppInputSources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_ListAppVersionAppComponents.go.snap b/service/resiliencehub/snapshot/api_op_ListAppVersionAppComponents.go.snap index 6d12b132230..9a47335f06b 100644 --- a/service/resiliencehub/snapshot/api_op_ListAppVersionAppComponents.go.snap +++ b/service/resiliencehub/snapshot/api_op_ListAppVersionAppComponents.go.snap @@ -14,7 +14,6 @@ ListAppVersionAppComponents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_ListAppVersionResourceMappings.go.snap b/service/resiliencehub/snapshot/api_op_ListAppVersionResourceMappings.go.snap index 257a4ee5191..6a11d7562d2 100644 --- a/service/resiliencehub/snapshot/api_op_ListAppVersionResourceMappings.go.snap +++ b/service/resiliencehub/snapshot/api_op_ListAppVersionResourceMappings.go.snap @@ -14,7 +14,6 @@ ListAppVersionResourceMappings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_ListAppVersionResources.go.snap b/service/resiliencehub/snapshot/api_op_ListAppVersionResources.go.snap index 30cc837f802..fdf4f746564 100644 --- a/service/resiliencehub/snapshot/api_op_ListAppVersionResources.go.snap +++ b/service/resiliencehub/snapshot/api_op_ListAppVersionResources.go.snap @@ -14,7 +14,6 @@ ListAppVersionResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_ListAppVersions.go.snap b/service/resiliencehub/snapshot/api_op_ListAppVersions.go.snap index 9b7a67b74f5..cb2038997c0 100644 --- a/service/resiliencehub/snapshot/api_op_ListAppVersions.go.snap +++ b/service/resiliencehub/snapshot/api_op_ListAppVersions.go.snap @@ -14,7 +14,6 @@ ListAppVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_ListApps.go.snap b/service/resiliencehub/snapshot/api_op_ListApps.go.snap index 80402f2bba1..07a43ca47ec 100644 --- a/service/resiliencehub/snapshot/api_op_ListApps.go.snap +++ b/service/resiliencehub/snapshot/api_op_ListApps.go.snap @@ -13,7 +13,6 @@ ListApps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_ListMetrics.go.snap b/service/resiliencehub/snapshot/api_op_ListMetrics.go.snap index 182e83cc82e..33a47dba895 100644 --- a/service/resiliencehub/snapshot/api_op_ListMetrics.go.snap +++ b/service/resiliencehub/snapshot/api_op_ListMetrics.go.snap @@ -14,7 +14,6 @@ ListMetrics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_ListRecommendationTemplates.go.snap b/service/resiliencehub/snapshot/api_op_ListRecommendationTemplates.go.snap index a444fd5d921..4cbb9b9442d 100644 --- a/service/resiliencehub/snapshot/api_op_ListRecommendationTemplates.go.snap +++ b/service/resiliencehub/snapshot/api_op_ListRecommendationTemplates.go.snap @@ -13,7 +13,6 @@ ListRecommendationTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_ListResiliencyPolicies.go.snap b/service/resiliencehub/snapshot/api_op_ListResiliencyPolicies.go.snap index f823f9102bc..41f56b1aec4 100644 --- a/service/resiliencehub/snapshot/api_op_ListResiliencyPolicies.go.snap +++ b/service/resiliencehub/snapshot/api_op_ListResiliencyPolicies.go.snap @@ -13,7 +13,6 @@ ListResiliencyPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_ListResourceGroupingRecommendations.go.snap b/service/resiliencehub/snapshot/api_op_ListResourceGroupingRecommendations.go.snap index 7686461bf15..e5656266ef3 100644 --- a/service/resiliencehub/snapshot/api_op_ListResourceGroupingRecommendations.go.snap +++ b/service/resiliencehub/snapshot/api_op_ListResourceGroupingRecommendations.go.snap @@ -13,7 +13,6 @@ ListResourceGroupingRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_ListSopRecommendations.go.snap b/service/resiliencehub/snapshot/api_op_ListSopRecommendations.go.snap index 0d1444023f5..824d6dc1e57 100644 --- a/service/resiliencehub/snapshot/api_op_ListSopRecommendations.go.snap +++ b/service/resiliencehub/snapshot/api_op_ListSopRecommendations.go.snap @@ -14,7 +14,6 @@ ListSopRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_ListSuggestedResiliencyPolicies.go.snap b/service/resiliencehub/snapshot/api_op_ListSuggestedResiliencyPolicies.go.snap index 6948f9aac50..f4dc2962119 100644 --- a/service/resiliencehub/snapshot/api_op_ListSuggestedResiliencyPolicies.go.snap +++ b/service/resiliencehub/snapshot/api_op_ListSuggestedResiliencyPolicies.go.snap @@ -13,7 +13,6 @@ ListSuggestedResiliencyPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_ListTagsForResource.go.snap b/service/resiliencehub/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/resiliencehub/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/resiliencehub/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_ListTestRecommendations.go.snap b/service/resiliencehub/snapshot/api_op_ListTestRecommendations.go.snap index 6be358587e7..3f4236b107d 100644 --- a/service/resiliencehub/snapshot/api_op_ListTestRecommendations.go.snap +++ b/service/resiliencehub/snapshot/api_op_ListTestRecommendations.go.snap @@ -14,7 +14,6 @@ ListTestRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_ListUnsupportedAppVersionResources.go.snap b/service/resiliencehub/snapshot/api_op_ListUnsupportedAppVersionResources.go.snap index 65eea89a775..7d064e604e2 100644 --- a/service/resiliencehub/snapshot/api_op_ListUnsupportedAppVersionResources.go.snap +++ b/service/resiliencehub/snapshot/api_op_ListUnsupportedAppVersionResources.go.snap @@ -14,7 +14,6 @@ ListUnsupportedAppVersionResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_PublishAppVersion.go.snap b/service/resiliencehub/snapshot/api_op_PublishAppVersion.go.snap index 9b0c72e6c44..043a509abcf 100644 --- a/service/resiliencehub/snapshot/api_op_PublishAppVersion.go.snap +++ b/service/resiliencehub/snapshot/api_op_PublishAppVersion.go.snap @@ -14,7 +14,6 @@ PublishAppVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_PutDraftAppVersionTemplate.go.snap b/service/resiliencehub/snapshot/api_op_PutDraftAppVersionTemplate.go.snap index 770471a811b..f166b3c3c32 100644 --- a/service/resiliencehub/snapshot/api_op_PutDraftAppVersionTemplate.go.snap +++ b/service/resiliencehub/snapshot/api_op_PutDraftAppVersionTemplate.go.snap @@ -14,7 +14,6 @@ PutDraftAppVersionTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_RejectResourceGroupingRecommendations.go.snap b/service/resiliencehub/snapshot/api_op_RejectResourceGroupingRecommendations.go.snap index a8904aef2de..9ee4e92f755 100644 --- a/service/resiliencehub/snapshot/api_op_RejectResourceGroupingRecommendations.go.snap +++ b/service/resiliencehub/snapshot/api_op_RejectResourceGroupingRecommendations.go.snap @@ -14,7 +14,6 @@ RejectResourceGroupingRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_RemoveDraftAppVersionResourceMappings.go.snap b/service/resiliencehub/snapshot/api_op_RemoveDraftAppVersionResourceMappings.go.snap index ad6f4528621..f824c6921e2 100644 --- a/service/resiliencehub/snapshot/api_op_RemoveDraftAppVersionResourceMappings.go.snap +++ b/service/resiliencehub/snapshot/api_op_RemoveDraftAppVersionResourceMappings.go.snap @@ -14,7 +14,6 @@ RemoveDraftAppVersionResourceMappings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_ResolveAppVersionResources.go.snap b/service/resiliencehub/snapshot/api_op_ResolveAppVersionResources.go.snap index 9d6079dff0c..bf55a32528d 100644 --- a/service/resiliencehub/snapshot/api_op_ResolveAppVersionResources.go.snap +++ b/service/resiliencehub/snapshot/api_op_ResolveAppVersionResources.go.snap @@ -14,7 +14,6 @@ ResolveAppVersionResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_StartAppAssessment.go.snap b/service/resiliencehub/snapshot/api_op_StartAppAssessment.go.snap index 9ff67711a88..f0afb08c791 100644 --- a/service/resiliencehub/snapshot/api_op_StartAppAssessment.go.snap +++ b/service/resiliencehub/snapshot/api_op_StartAppAssessment.go.snap @@ -15,7 +15,6 @@ StartAppAssessment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_StartMetricsExport.go.snap b/service/resiliencehub/snapshot/api_op_StartMetricsExport.go.snap index 96bdef2a421..4c4a8be3bda 100644 --- a/service/resiliencehub/snapshot/api_op_StartMetricsExport.go.snap +++ b/service/resiliencehub/snapshot/api_op_StartMetricsExport.go.snap @@ -14,7 +14,6 @@ StartMetricsExport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_StartResourceGroupingRecommendationTask.go.snap b/service/resiliencehub/snapshot/api_op_StartResourceGroupingRecommendationTask.go.snap index eb440e04b31..b7719b5d6af 100644 --- a/service/resiliencehub/snapshot/api_op_StartResourceGroupingRecommendationTask.go.snap +++ b/service/resiliencehub/snapshot/api_op_StartResourceGroupingRecommendationTask.go.snap @@ -14,7 +14,6 @@ StartResourceGroupingRecommendationTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_TagResource.go.snap b/service/resiliencehub/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/resiliencehub/snapshot/api_op_TagResource.go.snap +++ b/service/resiliencehub/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_UntagResource.go.snap b/service/resiliencehub/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/resiliencehub/snapshot/api_op_UntagResource.go.snap +++ b/service/resiliencehub/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_UpdateApp.go.snap b/service/resiliencehub/snapshot/api_op_UpdateApp.go.snap index 075bf64a87d..2baf300a08e 100644 --- a/service/resiliencehub/snapshot/api_op_UpdateApp.go.snap +++ b/service/resiliencehub/snapshot/api_op_UpdateApp.go.snap @@ -14,7 +14,6 @@ UpdateApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_UpdateAppVersion.go.snap b/service/resiliencehub/snapshot/api_op_UpdateAppVersion.go.snap index 6e4dbea3290..e1bde6dcd7c 100644 --- a/service/resiliencehub/snapshot/api_op_UpdateAppVersion.go.snap +++ b/service/resiliencehub/snapshot/api_op_UpdateAppVersion.go.snap @@ -14,7 +14,6 @@ UpdateAppVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_UpdateAppVersionAppComponent.go.snap b/service/resiliencehub/snapshot/api_op_UpdateAppVersionAppComponent.go.snap index 377a19b55ad..12587ff0358 100644 --- a/service/resiliencehub/snapshot/api_op_UpdateAppVersionAppComponent.go.snap +++ b/service/resiliencehub/snapshot/api_op_UpdateAppVersionAppComponent.go.snap @@ -14,7 +14,6 @@ UpdateAppVersionAppComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_UpdateAppVersionResource.go.snap b/service/resiliencehub/snapshot/api_op_UpdateAppVersionResource.go.snap index 3cd13196edd..0eebfda7c6f 100644 --- a/service/resiliencehub/snapshot/api_op_UpdateAppVersionResource.go.snap +++ b/service/resiliencehub/snapshot/api_op_UpdateAppVersionResource.go.snap @@ -14,7 +14,6 @@ UpdateAppVersionResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resiliencehub/snapshot/api_op_UpdateResiliencyPolicy.go.snap b/service/resiliencehub/snapshot/api_op_UpdateResiliencyPolicy.go.snap index c1da175c4aa..d4b0b391e15 100644 --- a/service/resiliencehub/snapshot/api_op_UpdateResiliencyPolicy.go.snap +++ b/service/resiliencehub/snapshot/api_op_UpdateResiliencyPolicy.go.snap @@ -14,7 +14,6 @@ UpdateResiliencyPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourceexplorer2/api_client.go b/service/resourceexplorer2/api_client.go index 826ea899632..a1bef224ab4 100644 --- a/service/resourceexplorer2/api_client.go +++ b/service/resourceexplorer2/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/resourceexplorer2/api_op_AssociateDefaultView.go b/service/resourceexplorer2/api_op_AssociateDefaultView.go index f75b2d6d870..cad74fede58 100644 --- a/service/resourceexplorer2/api_op_AssociateDefaultView.go +++ b/service/resourceexplorer2/api_op_AssociateDefaultView.go @@ -127,9 +127,6 @@ func (c *Client) addOperationAssociateDefaultViewMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateDefaultViewValidationMiddleware(stack); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_BatchGetView.go b/service/resourceexplorer2/api_op_BatchGetView.go index d3172eb9691..cdda83d19fd 100644 --- a/service/resourceexplorer2/api_op_BatchGetView.go +++ b/service/resourceexplorer2/api_op_BatchGetView.go @@ -116,9 +116,6 @@ func (c *Client) addOperationBatchGetViewMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetView(options.Region), middleware.Before); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_CreateIndex.go b/service/resourceexplorer2/api_op_CreateIndex.go index 793c1605027..37180de8f70 100644 --- a/service/resourceexplorer2/api_op_CreateIndex.go +++ b/service/resourceexplorer2/api_op_CreateIndex.go @@ -182,9 +182,6 @@ func (c *Client) addOperationCreateIndexMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateIndexMiddleware(stack, options); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_CreateView.go b/service/resourceexplorer2/api_op_CreateView.go index c6d7475592f..f45f75bd57e 100644 --- a/service/resourceexplorer2/api_op_CreateView.go +++ b/service/resourceexplorer2/api_op_CreateView.go @@ -166,9 +166,6 @@ func (c *Client) addOperationCreateViewMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateViewMiddleware(stack, options); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_DeleteIndex.go b/service/resourceexplorer2/api_op_DeleteIndex.go index a7b36b5b63b..d1fba248b4e 100644 --- a/service/resourceexplorer2/api_op_DeleteIndex.go +++ b/service/resourceexplorer2/api_op_DeleteIndex.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDeleteIndexMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIndexValidationMiddleware(stack); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_DeleteView.go b/service/resourceexplorer2/api_op_DeleteView.go index 6f85f562320..056e5dfa2d0 100644 --- a/service/resourceexplorer2/api_op_DeleteView.go +++ b/service/resourceexplorer2/api_op_DeleteView.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteViewMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteViewValidationMiddleware(stack); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_DisassociateDefaultView.go b/service/resourceexplorer2/api_op_DisassociateDefaultView.go index e98b54e0c32..7080040093c 100644 --- a/service/resourceexplorer2/api_op_DisassociateDefaultView.go +++ b/service/resourceexplorer2/api_op_DisassociateDefaultView.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDisassociateDefaultViewMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateDefaultView(options.Region), middleware.Before); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_GetAccountLevelServiceConfiguration.go b/service/resourceexplorer2/api_op_GetAccountLevelServiceConfiguration.go index de7818600cd..e305c58a1b8 100644 --- a/service/resourceexplorer2/api_op_GetAccountLevelServiceConfiguration.go +++ b/service/resourceexplorer2/api_op_GetAccountLevelServiceConfiguration.go @@ -109,9 +109,6 @@ func (c *Client) addOperationGetAccountLevelServiceConfigurationMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountLevelServiceConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_GetDefaultView.go b/service/resourceexplorer2/api_op_GetDefaultView.go index 7434ea0cd70..db8f6d2d242 100644 --- a/service/resourceexplorer2/api_op_GetDefaultView.go +++ b/service/resourceexplorer2/api_op_GetDefaultView.go @@ -110,9 +110,6 @@ func (c *Client) addOperationGetDefaultViewMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDefaultView(options.Region), middleware.Before); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_GetIndex.go b/service/resourceexplorer2/api_op_GetIndex.go index acbe59fe221..277171146e5 100644 --- a/service/resourceexplorer2/api_op_GetIndex.go +++ b/service/resourceexplorer2/api_op_GetIndex.go @@ -142,9 +142,6 @@ func (c *Client) addOperationGetIndexMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIndex(options.Region), middleware.Before); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_GetManagedView.go b/service/resourceexplorer2/api_op_GetManagedView.go index 925351c142c..a81fabe04a5 100644 --- a/service/resourceexplorer2/api_op_GetManagedView.go +++ b/service/resourceexplorer2/api_op_GetManagedView.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetManagedViewMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetManagedViewValidationMiddleware(stack); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_GetView.go b/service/resourceexplorer2/api_op_GetView.go index 341deea7955..dd3a7f20cca 100644 --- a/service/resourceexplorer2/api_op_GetView.go +++ b/service/resourceexplorer2/api_op_GetView.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetViewMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetViewValidationMiddleware(stack); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_ListIndexes.go b/service/resourceexplorer2/api_op_ListIndexes.go index d97d79dd6d9..2a8a237d092 100644 --- a/service/resourceexplorer2/api_op_ListIndexes.go +++ b/service/resourceexplorer2/api_op_ListIndexes.go @@ -145,9 +145,6 @@ func (c *Client) addOperationListIndexesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIndexes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_ListIndexesForMembers.go b/service/resourceexplorer2/api_op_ListIndexesForMembers.go index 56163e1d04d..8f7070b8e30 100644 --- a/service/resourceexplorer2/api_op_ListIndexesForMembers.go +++ b/service/resourceexplorer2/api_op_ListIndexesForMembers.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListIndexesForMembersMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIndexesForMembersValidationMiddleware(stack); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_ListManagedViews.go b/service/resourceexplorer2/api_op_ListManagedViews.go index 0698e57ad8d..301e0c7dfeb 100644 --- a/service/resourceexplorer2/api_op_ListManagedViews.go +++ b/service/resourceexplorer2/api_op_ListManagedViews.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListManagedViewsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListManagedViews(options.Region), middleware.Before); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_ListResources.go b/service/resourceexplorer2/api_op_ListResources.go index 51a4eb4d88c..d30af34a705 100644 --- a/service/resourceexplorer2/api_op_ListResources.go +++ b/service/resourceexplorer2/api_op_ListResources.go @@ -152,9 +152,6 @@ func (c *Client) addOperationListResourcesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_ListSupportedResourceTypes.go b/service/resourceexplorer2/api_op_ListSupportedResourceTypes.go index aad7efaf504..07ee7a36d03 100644 --- a/service/resourceexplorer2/api_op_ListSupportedResourceTypes.go +++ b/service/resourceexplorer2/api_op_ListSupportedResourceTypes.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListSupportedResourceTypesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSupportedResourceTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_ListTagsForResource.go b/service/resourceexplorer2/api_op_ListTagsForResource.go index aca35e874a9..2573504bc1d 100644 --- a/service/resourceexplorer2/api_op_ListTagsForResource.go +++ b/service/resourceexplorer2/api_op_ListTagsForResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_ListViews.go b/service/resourceexplorer2/api_op_ListViews.go index 6a5a8efb80a..7e486a93e43 100644 --- a/service/resourceexplorer2/api_op_ListViews.go +++ b/service/resourceexplorer2/api_op_ListViews.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListViewsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListViews(options.Region), middleware.Before); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_Search.go b/service/resourceexplorer2/api_op_Search.go index ee6a434d76b..9006ab53166 100644 --- a/service/resourceexplorer2/api_op_Search.go +++ b/service/resourceexplorer2/api_op_Search.go @@ -182,9 +182,6 @@ func (c *Client) addOperationSearchMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchValidationMiddleware(stack); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_TagResource.go b/service/resourceexplorer2/api_op_TagResource.go index 8837df3ad8f..bd13d6d19b7 100644 --- a/service/resourceexplorer2/api_op_TagResource.go +++ b/service/resourceexplorer2/api_op_TagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_UntagResource.go b/service/resourceexplorer2/api_op_UntagResource.go index 7ad893228bf..58eb53bf03a 100644 --- a/service/resourceexplorer2/api_op_UntagResource.go +++ b/service/resourceexplorer2/api_op_UntagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_UpdateIndexType.go b/service/resourceexplorer2/api_op_UpdateIndexType.go index d5cc892c627..32928063be2 100644 --- a/service/resourceexplorer2/api_op_UpdateIndexType.go +++ b/service/resourceexplorer2/api_op_UpdateIndexType.go @@ -191,9 +191,6 @@ func (c *Client) addOperationUpdateIndexTypeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateIndexTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/resourceexplorer2/api_op_UpdateView.go b/service/resourceexplorer2/api_op_UpdateView.go index c7b9dbeb70b..05689bd236a 100644 --- a/service/resourceexplorer2/api_op_UpdateView.go +++ b/service/resourceexplorer2/api_op_UpdateView.go @@ -140,9 +140,6 @@ func (c *Client) addOperationUpdateViewMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateViewValidationMiddleware(stack); err != nil { return err } diff --git a/service/resourceexplorer2/snapshot/api_op_AssociateDefaultView.go.snap b/service/resourceexplorer2/snapshot/api_op_AssociateDefaultView.go.snap index dbcb6b4876e..c22628b777d 100644 --- a/service/resourceexplorer2/snapshot/api_op_AssociateDefaultView.go.snap +++ b/service/resourceexplorer2/snapshot/api_op_AssociateDefaultView.go.snap @@ -14,7 +14,6 @@ AssociateDefaultView Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourceexplorer2/snapshot/api_op_BatchGetView.go.snap b/service/resourceexplorer2/snapshot/api_op_BatchGetView.go.snap index 24aae74593c..918c63a46e5 100644 --- a/service/resourceexplorer2/snapshot/api_op_BatchGetView.go.snap +++ b/service/resourceexplorer2/snapshot/api_op_BatchGetView.go.snap @@ -13,7 +13,6 @@ BatchGetView Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourceexplorer2/snapshot/api_op_CreateIndex.go.snap b/service/resourceexplorer2/snapshot/api_op_CreateIndex.go.snap index bdd5501e270..547255eaaa6 100644 --- a/service/resourceexplorer2/snapshot/api_op_CreateIndex.go.snap +++ b/service/resourceexplorer2/snapshot/api_op_CreateIndex.go.snap @@ -14,7 +14,6 @@ CreateIndex Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourceexplorer2/snapshot/api_op_CreateView.go.snap b/service/resourceexplorer2/snapshot/api_op_CreateView.go.snap index 0b0eec98733..6a1f841b2e7 100644 --- a/service/resourceexplorer2/snapshot/api_op_CreateView.go.snap +++ b/service/resourceexplorer2/snapshot/api_op_CreateView.go.snap @@ -15,7 +15,6 @@ CreateView Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourceexplorer2/snapshot/api_op_DeleteIndex.go.snap b/service/resourceexplorer2/snapshot/api_op_DeleteIndex.go.snap index 3c6c0587bdc..33b14cc57cf 100644 --- a/service/resourceexplorer2/snapshot/api_op_DeleteIndex.go.snap +++ b/service/resourceexplorer2/snapshot/api_op_DeleteIndex.go.snap @@ -14,7 +14,6 @@ DeleteIndex Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourceexplorer2/snapshot/api_op_DeleteView.go.snap b/service/resourceexplorer2/snapshot/api_op_DeleteView.go.snap index f9a43bb48b7..d781df74f39 100644 --- a/service/resourceexplorer2/snapshot/api_op_DeleteView.go.snap +++ b/service/resourceexplorer2/snapshot/api_op_DeleteView.go.snap @@ -14,7 +14,6 @@ DeleteView Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourceexplorer2/snapshot/api_op_DisassociateDefaultView.go.snap b/service/resourceexplorer2/snapshot/api_op_DisassociateDefaultView.go.snap index 0bfd98f9b35..00aeb1eb518 100644 --- a/service/resourceexplorer2/snapshot/api_op_DisassociateDefaultView.go.snap +++ b/service/resourceexplorer2/snapshot/api_op_DisassociateDefaultView.go.snap @@ -13,7 +13,6 @@ DisassociateDefaultView Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourceexplorer2/snapshot/api_op_GetAccountLevelServiceConfiguration.go.snap b/service/resourceexplorer2/snapshot/api_op_GetAccountLevelServiceConfiguration.go.snap index fc587d28271..d0f31b40706 100644 --- a/service/resourceexplorer2/snapshot/api_op_GetAccountLevelServiceConfiguration.go.snap +++ b/service/resourceexplorer2/snapshot/api_op_GetAccountLevelServiceConfiguration.go.snap @@ -13,7 +13,6 @@ GetAccountLevelServiceConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourceexplorer2/snapshot/api_op_GetDefaultView.go.snap b/service/resourceexplorer2/snapshot/api_op_GetDefaultView.go.snap index ce3d6455ecf..50f6e9a1cf1 100644 --- a/service/resourceexplorer2/snapshot/api_op_GetDefaultView.go.snap +++ b/service/resourceexplorer2/snapshot/api_op_GetDefaultView.go.snap @@ -13,7 +13,6 @@ GetDefaultView Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourceexplorer2/snapshot/api_op_GetIndex.go.snap b/service/resourceexplorer2/snapshot/api_op_GetIndex.go.snap index 111e7b8db5c..f6994e13a1d 100644 --- a/service/resourceexplorer2/snapshot/api_op_GetIndex.go.snap +++ b/service/resourceexplorer2/snapshot/api_op_GetIndex.go.snap @@ -13,7 +13,6 @@ GetIndex Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourceexplorer2/snapshot/api_op_GetManagedView.go.snap b/service/resourceexplorer2/snapshot/api_op_GetManagedView.go.snap index 4b2fcf3a943..a405b946c43 100644 --- a/service/resourceexplorer2/snapshot/api_op_GetManagedView.go.snap +++ b/service/resourceexplorer2/snapshot/api_op_GetManagedView.go.snap @@ -14,7 +14,6 @@ GetManagedView Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourceexplorer2/snapshot/api_op_GetView.go.snap b/service/resourceexplorer2/snapshot/api_op_GetView.go.snap index 9ef30ed69d0..e9d8b027c7d 100644 --- a/service/resourceexplorer2/snapshot/api_op_GetView.go.snap +++ b/service/resourceexplorer2/snapshot/api_op_GetView.go.snap @@ -14,7 +14,6 @@ GetView Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourceexplorer2/snapshot/api_op_ListIndexes.go.snap b/service/resourceexplorer2/snapshot/api_op_ListIndexes.go.snap index 68ae6a96225..c69482b9b52 100644 --- a/service/resourceexplorer2/snapshot/api_op_ListIndexes.go.snap +++ b/service/resourceexplorer2/snapshot/api_op_ListIndexes.go.snap @@ -13,7 +13,6 @@ ListIndexes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourceexplorer2/snapshot/api_op_ListIndexesForMembers.go.snap b/service/resourceexplorer2/snapshot/api_op_ListIndexesForMembers.go.snap index 7466b02d9c2..c1b5365d197 100644 --- a/service/resourceexplorer2/snapshot/api_op_ListIndexesForMembers.go.snap +++ b/service/resourceexplorer2/snapshot/api_op_ListIndexesForMembers.go.snap @@ -14,7 +14,6 @@ ListIndexesForMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourceexplorer2/snapshot/api_op_ListManagedViews.go.snap b/service/resourceexplorer2/snapshot/api_op_ListManagedViews.go.snap index 85a3c63910d..bb060857207 100644 --- a/service/resourceexplorer2/snapshot/api_op_ListManagedViews.go.snap +++ b/service/resourceexplorer2/snapshot/api_op_ListManagedViews.go.snap @@ -13,7 +13,6 @@ ListManagedViews Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourceexplorer2/snapshot/api_op_ListResources.go.snap b/service/resourceexplorer2/snapshot/api_op_ListResources.go.snap index ef5c53317cd..4dfe792a25a 100644 --- a/service/resourceexplorer2/snapshot/api_op_ListResources.go.snap +++ b/service/resourceexplorer2/snapshot/api_op_ListResources.go.snap @@ -14,7 +14,6 @@ ListResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourceexplorer2/snapshot/api_op_ListSupportedResourceTypes.go.snap b/service/resourceexplorer2/snapshot/api_op_ListSupportedResourceTypes.go.snap index 066fe194803..91e15ff725f 100644 --- a/service/resourceexplorer2/snapshot/api_op_ListSupportedResourceTypes.go.snap +++ b/service/resourceexplorer2/snapshot/api_op_ListSupportedResourceTypes.go.snap @@ -13,7 +13,6 @@ ListSupportedResourceTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourceexplorer2/snapshot/api_op_ListTagsForResource.go.snap b/service/resourceexplorer2/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/resourceexplorer2/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/resourceexplorer2/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourceexplorer2/snapshot/api_op_ListViews.go.snap b/service/resourceexplorer2/snapshot/api_op_ListViews.go.snap index b2cb4135456..bb44890d180 100644 --- a/service/resourceexplorer2/snapshot/api_op_ListViews.go.snap +++ b/service/resourceexplorer2/snapshot/api_op_ListViews.go.snap @@ -13,7 +13,6 @@ ListViews Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourceexplorer2/snapshot/api_op_Search.go.snap b/service/resourceexplorer2/snapshot/api_op_Search.go.snap index 96b2a05a873..30f266bd59c 100644 --- a/service/resourceexplorer2/snapshot/api_op_Search.go.snap +++ b/service/resourceexplorer2/snapshot/api_op_Search.go.snap @@ -14,7 +14,6 @@ Search Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourceexplorer2/snapshot/api_op_TagResource.go.snap b/service/resourceexplorer2/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/resourceexplorer2/snapshot/api_op_TagResource.go.snap +++ b/service/resourceexplorer2/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourceexplorer2/snapshot/api_op_UntagResource.go.snap b/service/resourceexplorer2/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/resourceexplorer2/snapshot/api_op_UntagResource.go.snap +++ b/service/resourceexplorer2/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourceexplorer2/snapshot/api_op_UpdateIndexType.go.snap b/service/resourceexplorer2/snapshot/api_op_UpdateIndexType.go.snap index e103b193e3c..16e2b070a2f 100644 --- a/service/resourceexplorer2/snapshot/api_op_UpdateIndexType.go.snap +++ b/service/resourceexplorer2/snapshot/api_op_UpdateIndexType.go.snap @@ -14,7 +14,6 @@ UpdateIndexType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourceexplorer2/snapshot/api_op_UpdateView.go.snap b/service/resourceexplorer2/snapshot/api_op_UpdateView.go.snap index 77ba32374eb..3266fd947ab 100644 --- a/service/resourceexplorer2/snapshot/api_op_UpdateView.go.snap +++ b/service/resourceexplorer2/snapshot/api_op_UpdateView.go.snap @@ -14,7 +14,6 @@ UpdateView Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourcegroups/api_client.go b/service/resourcegroups/api_client.go index 1c2436f2415..4f4de2b00d0 100644 --- a/service/resourcegroups/api_client.go +++ b/service/resourcegroups/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/resourcegroups/api_op_CancelTagSyncTask.go b/service/resourcegroups/api_op_CancelTagSyncTask.go index e8660bc9798..5a5b92679aa 100644 --- a/service/resourcegroups/api_op_CancelTagSyncTask.go +++ b/service/resourcegroups/api_op_CancelTagSyncTask.go @@ -115,9 +115,6 @@ func (c *Client) addOperationCancelTagSyncTaskMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelTagSyncTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroups/api_op_CreateGroup.go b/service/resourcegroups/api_op_CreateGroup.go index 9fe8da0a4f3..2e41acafca6 100644 --- a/service/resourcegroups/api_op_CreateGroup.go +++ b/service/resourcegroups/api_op_CreateGroup.go @@ -183,9 +183,6 @@ func (c *Client) addOperationCreateGroupMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroups/api_op_DeleteGroup.go b/service/resourcegroups/api_op_DeleteGroup.go index 04705369fad..ea77fdaf4a6 100644 --- a/service/resourcegroups/api_op_DeleteGroup.go +++ b/service/resourcegroups/api_op_DeleteGroup.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteGroupMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGroup(options.Region), middleware.Before); err != nil { return err } diff --git a/service/resourcegroups/api_op_GetAccountSettings.go b/service/resourcegroups/api_op_GetAccountSettings.go index cda53fe9bcf..0f7211961e2 100644 --- a/service/resourcegroups/api_op_GetAccountSettings.go +++ b/service/resourcegroups/api_op_GetAccountSettings.go @@ -106,9 +106,6 @@ func (c *Client) addOperationGetAccountSettingsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/resourcegroups/api_op_GetGroup.go b/service/resourcegroups/api_op_GetGroup.go index 5d2af268fb9..82c798db34c 100644 --- a/service/resourcegroups/api_op_GetGroup.go +++ b/service/resourcegroups/api_op_GetGroup.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetGroupMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGroup(options.Region), middleware.Before); err != nil { return err } diff --git a/service/resourcegroups/api_op_GetGroupConfiguration.go b/service/resourcegroups/api_op_GetGroupConfiguration.go index 54a9f084aae..ebd061535d7 100644 --- a/service/resourcegroups/api_op_GetGroupConfiguration.go +++ b/service/resourcegroups/api_op_GetGroupConfiguration.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetGroupConfigurationMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGroupConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/resourcegroups/api_op_GetGroupQuery.go b/service/resourcegroups/api_op_GetGroupQuery.go index 612818501b9..5efae398796 100644 --- a/service/resourcegroups/api_op_GetGroupQuery.go +++ b/service/resourcegroups/api_op_GetGroupQuery.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetGroupQueryMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGroupQuery(options.Region), middleware.Before); err != nil { return err } diff --git a/service/resourcegroups/api_op_GetTagSyncTask.go b/service/resourcegroups/api_op_GetTagSyncTask.go index 418e7c0f951..b9908ccf26a 100644 --- a/service/resourcegroups/api_op_GetTagSyncTask.go +++ b/service/resourcegroups/api_op_GetTagSyncTask.go @@ -158,9 +158,6 @@ func (c *Client) addOperationGetTagSyncTaskMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTagSyncTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroups/api_op_GetTags.go b/service/resourcegroups/api_op_GetTags.go index 70d8307435a..ccb99a719a6 100644 --- a/service/resourcegroups/api_op_GetTags.go +++ b/service/resourcegroups/api_op_GetTags.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetTagsMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroups/api_op_GroupResources.go b/service/resourcegroups/api_op_GroupResources.go index 82e105a3a20..4171873c3b8 100644 --- a/service/resourcegroups/api_op_GroupResources.go +++ b/service/resourcegroups/api_op_GroupResources.go @@ -148,9 +148,6 @@ func (c *Client) addOperationGroupResourcesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGroupResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroups/api_op_ListGroupResources.go b/service/resourcegroups/api_op_ListGroupResources.go index 9446ef7d424..cef85c1653f 100644 --- a/service/resourcegroups/api_op_ListGroupResources.go +++ b/service/resourcegroups/api_op_ListGroupResources.go @@ -189,9 +189,6 @@ func (c *Client) addOperationListGroupResourcesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListGroupResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroups/api_op_ListGroupingStatuses.go b/service/resourcegroups/api_op_ListGroupingStatuses.go index e8197064215..df44bb24c88 100644 --- a/service/resourcegroups/api_op_ListGroupingStatuses.go +++ b/service/resourcegroups/api_op_ListGroupingStatuses.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListGroupingStatusesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListGroupingStatusesValidationMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroups/api_op_ListGroups.go b/service/resourcegroups/api_op_ListGroups.go index d15cb5e08ed..7a1bbca2db1 100644 --- a/service/resourcegroups/api_op_ListGroups.go +++ b/service/resourcegroups/api_op_ListGroups.go @@ -170,9 +170,6 @@ func (c *Client) addOperationListGroupsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroups/api_op_ListTagSyncTasks.go b/service/resourcegroups/api_op_ListTagSyncTasks.go index 876ebab2a42..581e685396d 100644 --- a/service/resourcegroups/api_op_ListTagSyncTasks.go +++ b/service/resourcegroups/api_op_ListTagSyncTasks.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListTagSyncTasksMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagSyncTasks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/resourcegroups/api_op_PutGroupConfiguration.go b/service/resourcegroups/api_op_PutGroupConfiguration.go index 87c5f409c49..3ad90f9fe85 100644 --- a/service/resourcegroups/api_op_PutGroupConfiguration.go +++ b/service/resourcegroups/api_op_PutGroupConfiguration.go @@ -128,9 +128,6 @@ func (c *Client) addOperationPutGroupConfigurationMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutGroupConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroups/api_op_SearchResources.go b/service/resourcegroups/api_op_SearchResources.go index dfc704c351c..019a9fd5e25 100644 --- a/service/resourcegroups/api_op_SearchResources.go +++ b/service/resourcegroups/api_op_SearchResources.go @@ -162,9 +162,6 @@ func (c *Client) addOperationSearchResourcesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroups/api_op_StartTagSyncTask.go b/service/resourcegroups/api_op_StartTagSyncTask.go index 5ff31a0a7e6..d3e7ea974f6 100644 --- a/service/resourcegroups/api_op_StartTagSyncTask.go +++ b/service/resourcegroups/api_op_StartTagSyncTask.go @@ -160,9 +160,6 @@ func (c *Client) addOperationStartTagSyncTaskMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartTagSyncTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroups/api_op_Tag.go b/service/resourcegroups/api_op_Tag.go index 1738339c248..7c4032170e6 100644 --- a/service/resourcegroups/api_op_Tag.go +++ b/service/resourcegroups/api_op_Tag.go @@ -133,9 +133,6 @@ func (c *Client) addOperationTagMiddlewares(stack *middleware.Stack, options Opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagValidationMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroups/api_op_UngroupResources.go b/service/resourcegroups/api_op_UngroupResources.go index feae4ec76a4..6552a2a5be4 100644 --- a/service/resourcegroups/api_op_UngroupResources.go +++ b/service/resourcegroups/api_op_UngroupResources.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUngroupResourcesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUngroupResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroups/api_op_Untag.go b/service/resourcegroups/api_op_Untag.go index a36f8ac4400..70ec66388ef 100644 --- a/service/resourcegroups/api_op_Untag.go +++ b/service/resourcegroups/api_op_Untag.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUntagMiddlewares(stack *middleware.Stack, options O if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagValidationMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroups/api_op_UpdateAccountSettings.go b/service/resourcegroups/api_op_UpdateAccountSettings.go index 8e2d10275cf..38c01f07cc2 100644 --- a/service/resourcegroups/api_op_UpdateAccountSettings.go +++ b/service/resourcegroups/api_op_UpdateAccountSettings.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateAccountSettingsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAccountSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/resourcegroups/api_op_UpdateGroup.go b/service/resourcegroups/api_op_UpdateGroup.go index 456238aed70..30df8595b91 100644 --- a/service/resourcegroups/api_op_UpdateGroup.go +++ b/service/resourcegroups/api_op_UpdateGroup.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateGroupMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGroup(options.Region), middleware.Before); err != nil { return err } diff --git a/service/resourcegroups/api_op_UpdateGroupQuery.go b/service/resourcegroups/api_op_UpdateGroupQuery.go index 18745aef5f7..83328ff6458 100644 --- a/service/resourcegroups/api_op_UpdateGroupQuery.go +++ b/service/resourcegroups/api_op_UpdateGroupQuery.go @@ -133,9 +133,6 @@ func (c *Client) addOperationUpdateGroupQueryMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateGroupQueryValidationMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroups/snapshot/api_op_CancelTagSyncTask.go.snap b/service/resourcegroups/snapshot/api_op_CancelTagSyncTask.go.snap index 494b1aa479d..984c073c49f 100644 --- a/service/resourcegroups/snapshot/api_op_CancelTagSyncTask.go.snap +++ b/service/resourcegroups/snapshot/api_op_CancelTagSyncTask.go.snap @@ -14,7 +14,6 @@ CancelTagSyncTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourcegroups/snapshot/api_op_CreateGroup.go.snap b/service/resourcegroups/snapshot/api_op_CreateGroup.go.snap index f017be256c7..f4adf31ac79 100644 --- a/service/resourcegroups/snapshot/api_op_CreateGroup.go.snap +++ b/service/resourcegroups/snapshot/api_op_CreateGroup.go.snap @@ -14,7 +14,6 @@ CreateGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourcegroups/snapshot/api_op_DeleteGroup.go.snap b/service/resourcegroups/snapshot/api_op_DeleteGroup.go.snap index 02b47854b40..1c737472d8a 100644 --- a/service/resourcegroups/snapshot/api_op_DeleteGroup.go.snap +++ b/service/resourcegroups/snapshot/api_op_DeleteGroup.go.snap @@ -13,7 +13,6 @@ DeleteGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourcegroups/snapshot/api_op_GetAccountSettings.go.snap b/service/resourcegroups/snapshot/api_op_GetAccountSettings.go.snap index 95499ead228..57ca9f6cbf4 100644 --- a/service/resourcegroups/snapshot/api_op_GetAccountSettings.go.snap +++ b/service/resourcegroups/snapshot/api_op_GetAccountSettings.go.snap @@ -13,7 +13,6 @@ GetAccountSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourcegroups/snapshot/api_op_GetGroup.go.snap b/service/resourcegroups/snapshot/api_op_GetGroup.go.snap index 84162774454..e4341ec4b02 100644 --- a/service/resourcegroups/snapshot/api_op_GetGroup.go.snap +++ b/service/resourcegroups/snapshot/api_op_GetGroup.go.snap @@ -13,7 +13,6 @@ GetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourcegroups/snapshot/api_op_GetGroupConfiguration.go.snap b/service/resourcegroups/snapshot/api_op_GetGroupConfiguration.go.snap index d86eb418079..7eeb2bbb085 100644 --- a/service/resourcegroups/snapshot/api_op_GetGroupConfiguration.go.snap +++ b/service/resourcegroups/snapshot/api_op_GetGroupConfiguration.go.snap @@ -13,7 +13,6 @@ GetGroupConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourcegroups/snapshot/api_op_GetGroupQuery.go.snap b/service/resourcegroups/snapshot/api_op_GetGroupQuery.go.snap index 9946ffa145a..2c9d9829b63 100644 --- a/service/resourcegroups/snapshot/api_op_GetGroupQuery.go.snap +++ b/service/resourcegroups/snapshot/api_op_GetGroupQuery.go.snap @@ -13,7 +13,6 @@ GetGroupQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourcegroups/snapshot/api_op_GetTagSyncTask.go.snap b/service/resourcegroups/snapshot/api_op_GetTagSyncTask.go.snap index 09a2968158d..890dcf3c172 100644 --- a/service/resourcegroups/snapshot/api_op_GetTagSyncTask.go.snap +++ b/service/resourcegroups/snapshot/api_op_GetTagSyncTask.go.snap @@ -14,7 +14,6 @@ GetTagSyncTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourcegroups/snapshot/api_op_GetTags.go.snap b/service/resourcegroups/snapshot/api_op_GetTags.go.snap index ac57500ef60..0ad3eb6ac2f 100644 --- a/service/resourcegroups/snapshot/api_op_GetTags.go.snap +++ b/service/resourcegroups/snapshot/api_op_GetTags.go.snap @@ -14,7 +14,6 @@ GetTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourcegroups/snapshot/api_op_GroupResources.go.snap b/service/resourcegroups/snapshot/api_op_GroupResources.go.snap index 72309ab5d4e..23eefe0914b 100644 --- a/service/resourcegroups/snapshot/api_op_GroupResources.go.snap +++ b/service/resourcegroups/snapshot/api_op_GroupResources.go.snap @@ -14,7 +14,6 @@ GroupResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourcegroups/snapshot/api_op_ListGroupResources.go.snap b/service/resourcegroups/snapshot/api_op_ListGroupResources.go.snap index 3cec4e84002..d90e1983cf8 100644 --- a/service/resourcegroups/snapshot/api_op_ListGroupResources.go.snap +++ b/service/resourcegroups/snapshot/api_op_ListGroupResources.go.snap @@ -14,7 +14,6 @@ ListGroupResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourcegroups/snapshot/api_op_ListGroupingStatuses.go.snap b/service/resourcegroups/snapshot/api_op_ListGroupingStatuses.go.snap index 453d5230c3b..eb737e78b38 100644 --- a/service/resourcegroups/snapshot/api_op_ListGroupingStatuses.go.snap +++ b/service/resourcegroups/snapshot/api_op_ListGroupingStatuses.go.snap @@ -14,7 +14,6 @@ ListGroupingStatuses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourcegroups/snapshot/api_op_ListGroups.go.snap b/service/resourcegroups/snapshot/api_op_ListGroups.go.snap index 96d00de9d60..2cce91ebfeb 100644 --- a/service/resourcegroups/snapshot/api_op_ListGroups.go.snap +++ b/service/resourcegroups/snapshot/api_op_ListGroups.go.snap @@ -14,7 +14,6 @@ ListGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourcegroups/snapshot/api_op_ListTagSyncTasks.go.snap b/service/resourcegroups/snapshot/api_op_ListTagSyncTasks.go.snap index ffc2b2f4310..0040e473632 100644 --- a/service/resourcegroups/snapshot/api_op_ListTagSyncTasks.go.snap +++ b/service/resourcegroups/snapshot/api_op_ListTagSyncTasks.go.snap @@ -13,7 +13,6 @@ ListTagSyncTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourcegroups/snapshot/api_op_PutGroupConfiguration.go.snap b/service/resourcegroups/snapshot/api_op_PutGroupConfiguration.go.snap index c741c7df912..55a6219c409 100644 --- a/service/resourcegroups/snapshot/api_op_PutGroupConfiguration.go.snap +++ b/service/resourcegroups/snapshot/api_op_PutGroupConfiguration.go.snap @@ -14,7 +14,6 @@ PutGroupConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourcegroups/snapshot/api_op_SearchResources.go.snap b/service/resourcegroups/snapshot/api_op_SearchResources.go.snap index 813101cdf0c..148d438d425 100644 --- a/service/resourcegroups/snapshot/api_op_SearchResources.go.snap +++ b/service/resourcegroups/snapshot/api_op_SearchResources.go.snap @@ -14,7 +14,6 @@ SearchResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourcegroups/snapshot/api_op_StartTagSyncTask.go.snap b/service/resourcegroups/snapshot/api_op_StartTagSyncTask.go.snap index 480f4eabfd0..70f24fb8eea 100644 --- a/service/resourcegroups/snapshot/api_op_StartTagSyncTask.go.snap +++ b/service/resourcegroups/snapshot/api_op_StartTagSyncTask.go.snap @@ -14,7 +14,6 @@ StartTagSyncTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourcegroups/snapshot/api_op_Tag.go.snap b/service/resourcegroups/snapshot/api_op_Tag.go.snap index a8a0cd2b441..6f02a36404c 100644 --- a/service/resourcegroups/snapshot/api_op_Tag.go.snap +++ b/service/resourcegroups/snapshot/api_op_Tag.go.snap @@ -14,7 +14,6 @@ Tag Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourcegroups/snapshot/api_op_UngroupResources.go.snap b/service/resourcegroups/snapshot/api_op_UngroupResources.go.snap index 80f711f8eeb..cebcaceb598 100644 --- a/service/resourcegroups/snapshot/api_op_UngroupResources.go.snap +++ b/service/resourcegroups/snapshot/api_op_UngroupResources.go.snap @@ -14,7 +14,6 @@ UngroupResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourcegroups/snapshot/api_op_Untag.go.snap b/service/resourcegroups/snapshot/api_op_Untag.go.snap index 9bbf673634f..9be9149d9a0 100644 --- a/service/resourcegroups/snapshot/api_op_Untag.go.snap +++ b/service/resourcegroups/snapshot/api_op_Untag.go.snap @@ -14,7 +14,6 @@ Untag Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourcegroups/snapshot/api_op_UpdateAccountSettings.go.snap b/service/resourcegroups/snapshot/api_op_UpdateAccountSettings.go.snap index 2d48f636076..443e69d651e 100644 --- a/service/resourcegroups/snapshot/api_op_UpdateAccountSettings.go.snap +++ b/service/resourcegroups/snapshot/api_op_UpdateAccountSettings.go.snap @@ -13,7 +13,6 @@ UpdateAccountSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourcegroups/snapshot/api_op_UpdateGroup.go.snap b/service/resourcegroups/snapshot/api_op_UpdateGroup.go.snap index ca3bcbda98a..4177c4a323f 100644 --- a/service/resourcegroups/snapshot/api_op_UpdateGroup.go.snap +++ b/service/resourcegroups/snapshot/api_op_UpdateGroup.go.snap @@ -13,7 +13,6 @@ UpdateGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourcegroups/snapshot/api_op_UpdateGroupQuery.go.snap b/service/resourcegroups/snapshot/api_op_UpdateGroupQuery.go.snap index fa2065713c7..ad8f22d0536 100644 --- a/service/resourcegroups/snapshot/api_op_UpdateGroupQuery.go.snap +++ b/service/resourcegroups/snapshot/api_op_UpdateGroupQuery.go.snap @@ -14,7 +14,6 @@ UpdateGroupQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourcegroupstaggingapi/api_client.go b/service/resourcegroupstaggingapi/api_client.go index 9b24aaf8498..e0650c3dfcc 100644 --- a/service/resourcegroupstaggingapi/api_client.go +++ b/service/resourcegroupstaggingapi/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/resourcegroupstaggingapi/api_op_DescribeReportCreation.go b/service/resourcegroupstaggingapi/api_op_DescribeReportCreation.go index 6ace0b00d6d..9f480af163f 100644 --- a/service/resourcegroupstaggingapi/api_op_DescribeReportCreation.go +++ b/service/resourcegroupstaggingapi/api_op_DescribeReportCreation.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeReportCreationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReportCreation(options.Region), middleware.Before); err != nil { return err } diff --git a/service/resourcegroupstaggingapi/api_op_GetComplianceSummary.go b/service/resourcegroupstaggingapi/api_op_GetComplianceSummary.go index 45c208a93f8..b3c755de422 100644 --- a/service/resourcegroupstaggingapi/api_op_GetComplianceSummary.go +++ b/service/resourcegroupstaggingapi/api_op_GetComplianceSummary.go @@ -184,9 +184,6 @@ func (c *Client) addOperationGetComplianceSummaryMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetComplianceSummary(options.Region), middleware.Before); err != nil { return err } diff --git a/service/resourcegroupstaggingapi/api_op_GetResources.go b/service/resourcegroupstaggingapi/api_op_GetResources.go index 27ac81636e5..59364bc19d2 100644 --- a/service/resourcegroupstaggingapi/api_op_GetResources.go +++ b/service/resourcegroupstaggingapi/api_op_GetResources.go @@ -246,9 +246,6 @@ func (c *Client) addOperationGetResourcesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResources(options.Region), middleware.Before); err != nil { return err } diff --git a/service/resourcegroupstaggingapi/api_op_GetTagKeys.go b/service/resourcegroupstaggingapi/api_op_GetTagKeys.go index 3e7e26444b4..68120d2f563 100644 --- a/service/resourcegroupstaggingapi/api_op_GetTagKeys.go +++ b/service/resourcegroupstaggingapi/api_op_GetTagKeys.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetTagKeysMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTagKeys(options.Region), middleware.Before); err != nil { return err } diff --git a/service/resourcegroupstaggingapi/api_op_GetTagValues.go b/service/resourcegroupstaggingapi/api_op_GetTagValues.go index 465a849beb7..02c75a5d6d0 100644 --- a/service/resourcegroupstaggingapi/api_op_GetTagValues.go +++ b/service/resourcegroupstaggingapi/api_op_GetTagValues.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetTagValuesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTagValuesValidationMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroupstaggingapi/api_op_StartReportCreation.go b/service/resourcegroupstaggingapi/api_op_StartReportCreation.go index 6ef90df1558..cf4980d20c1 100644 --- a/service/resourcegroupstaggingapi/api_op_StartReportCreation.go +++ b/service/resourcegroupstaggingapi/api_op_StartReportCreation.go @@ -122,9 +122,6 @@ func (c *Client) addOperationStartReportCreationMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartReportCreationValidationMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroupstaggingapi/api_op_TagResources.go b/service/resourcegroupstaggingapi/api_op_TagResources.go index c6116d343ed..0207c7ee084 100644 --- a/service/resourcegroupstaggingapi/api_op_TagResources.go +++ b/service/resourcegroupstaggingapi/api_op_TagResources.go @@ -161,9 +161,6 @@ func (c *Client) addOperationTagResourcesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroupstaggingapi/api_op_UntagResources.go b/service/resourcegroupstaggingapi/api_op_UntagResources.go index 662163941b3..0cfdab42134 100644 --- a/service/resourcegroupstaggingapi/api_op_UntagResources.go +++ b/service/resourcegroupstaggingapi/api_op_UntagResources.go @@ -149,9 +149,6 @@ func (c *Client) addOperationUntagResourcesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/resourcegroupstaggingapi/snapshot/api_op_DescribeReportCreation.go.snap b/service/resourcegroupstaggingapi/snapshot/api_op_DescribeReportCreation.go.snap index c6792a9d793..80ca16a3ef5 100644 --- a/service/resourcegroupstaggingapi/snapshot/api_op_DescribeReportCreation.go.snap +++ b/service/resourcegroupstaggingapi/snapshot/api_op_DescribeReportCreation.go.snap @@ -13,7 +13,6 @@ DescribeReportCreation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourcegroupstaggingapi/snapshot/api_op_GetComplianceSummary.go.snap b/service/resourcegroupstaggingapi/snapshot/api_op_GetComplianceSummary.go.snap index ae009bb5c9a..94ee933d266 100644 --- a/service/resourcegroupstaggingapi/snapshot/api_op_GetComplianceSummary.go.snap +++ b/service/resourcegroupstaggingapi/snapshot/api_op_GetComplianceSummary.go.snap @@ -13,7 +13,6 @@ GetComplianceSummary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourcegroupstaggingapi/snapshot/api_op_GetResources.go.snap b/service/resourcegroupstaggingapi/snapshot/api_op_GetResources.go.snap index 32bd9abf4cd..f5f04706e47 100644 --- a/service/resourcegroupstaggingapi/snapshot/api_op_GetResources.go.snap +++ b/service/resourcegroupstaggingapi/snapshot/api_op_GetResources.go.snap @@ -13,7 +13,6 @@ GetResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourcegroupstaggingapi/snapshot/api_op_GetTagKeys.go.snap b/service/resourcegroupstaggingapi/snapshot/api_op_GetTagKeys.go.snap index ca736ad25ab..9c0358f2c55 100644 --- a/service/resourcegroupstaggingapi/snapshot/api_op_GetTagKeys.go.snap +++ b/service/resourcegroupstaggingapi/snapshot/api_op_GetTagKeys.go.snap @@ -13,7 +13,6 @@ GetTagKeys Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourcegroupstaggingapi/snapshot/api_op_GetTagValues.go.snap b/service/resourcegroupstaggingapi/snapshot/api_op_GetTagValues.go.snap index 4761124da71..e1e78cafe9d 100644 --- a/service/resourcegroupstaggingapi/snapshot/api_op_GetTagValues.go.snap +++ b/service/resourcegroupstaggingapi/snapshot/api_op_GetTagValues.go.snap @@ -14,7 +14,6 @@ GetTagValues Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourcegroupstaggingapi/snapshot/api_op_StartReportCreation.go.snap b/service/resourcegroupstaggingapi/snapshot/api_op_StartReportCreation.go.snap index 19c36e4721d..a901f0583fb 100644 --- a/service/resourcegroupstaggingapi/snapshot/api_op_StartReportCreation.go.snap +++ b/service/resourcegroupstaggingapi/snapshot/api_op_StartReportCreation.go.snap @@ -14,7 +14,6 @@ StartReportCreation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourcegroupstaggingapi/snapshot/api_op_TagResources.go.snap b/service/resourcegroupstaggingapi/snapshot/api_op_TagResources.go.snap index 74aa78dd5af..a56bbed1ade 100644 --- a/service/resourcegroupstaggingapi/snapshot/api_op_TagResources.go.snap +++ b/service/resourcegroupstaggingapi/snapshot/api_op_TagResources.go.snap @@ -14,7 +14,6 @@ TagResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/resourcegroupstaggingapi/snapshot/api_op_UntagResources.go.snap b/service/resourcegroupstaggingapi/snapshot/api_op_UntagResources.go.snap index f242285b705..b783bc35f83 100644 --- a/service/resourcegroupstaggingapi/snapshot/api_op_UntagResources.go.snap +++ b/service/resourcegroupstaggingapi/snapshot/api_op_UntagResources.go.snap @@ -14,7 +14,6 @@ UntagResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/api_client.go b/service/robomaker/api_client.go index 2b81fd27aae..2ddf0355ac8 100644 --- a/service/robomaker/api_client.go +++ b/service/robomaker/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/robomaker/api_op_BatchDeleteWorlds.go b/service/robomaker/api_op_BatchDeleteWorlds.go index 94b44f6c3f0..c56c74a6a01 100644 --- a/service/robomaker/api_op_BatchDeleteWorlds.go +++ b/service/robomaker/api_op_BatchDeleteWorlds.go @@ -120,9 +120,6 @@ func (c *Client) addOperationBatchDeleteWorldsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDeleteWorldsValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_BatchDescribeSimulationJob.go b/service/robomaker/api_op_BatchDescribeSimulationJob.go index 21866800865..37fb5999214 100644 --- a/service/robomaker/api_op_BatchDescribeSimulationJob.go +++ b/service/robomaker/api_op_BatchDescribeSimulationJob.go @@ -123,9 +123,6 @@ func (c *Client) addOperationBatchDescribeSimulationJobMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDescribeSimulationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_CancelDeploymentJob.go b/service/robomaker/api_op_CancelDeploymentJob.go index 28c04810098..477f028a27a 100644 --- a/service/robomaker/api_op_CancelDeploymentJob.go +++ b/service/robomaker/api_op_CancelDeploymentJob.go @@ -116,9 +116,6 @@ func (c *Client) addOperationCancelDeploymentJobMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelDeploymentJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_CancelSimulationJob.go b/service/robomaker/api_op_CancelSimulationJob.go index 87ca4856357..e304f4d7f49 100644 --- a/service/robomaker/api_op_CancelSimulationJob.go +++ b/service/robomaker/api_op_CancelSimulationJob.go @@ -115,9 +115,6 @@ func (c *Client) addOperationCancelSimulationJobMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelSimulationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_CancelSimulationJobBatch.go b/service/robomaker/api_op_CancelSimulationJobBatch.go index 0f28b132cb8..4734d5deba2 100644 --- a/service/robomaker/api_op_CancelSimulationJobBatch.go +++ b/service/robomaker/api_op_CancelSimulationJobBatch.go @@ -116,9 +116,6 @@ func (c *Client) addOperationCancelSimulationJobBatchMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelSimulationJobBatchValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_CancelWorldExportJob.go b/service/robomaker/api_op_CancelWorldExportJob.go index 59d6307b559..e21702281b0 100644 --- a/service/robomaker/api_op_CancelWorldExportJob.go +++ b/service/robomaker/api_op_CancelWorldExportJob.go @@ -115,9 +115,6 @@ func (c *Client) addOperationCancelWorldExportJobMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelWorldExportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_CancelWorldGenerationJob.go b/service/robomaker/api_op_CancelWorldGenerationJob.go index 8c903430a70..6eadc4931bc 100644 --- a/service/robomaker/api_op_CancelWorldGenerationJob.go +++ b/service/robomaker/api_op_CancelWorldGenerationJob.go @@ -115,9 +115,6 @@ func (c *Client) addOperationCancelWorldGenerationJobMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelWorldGenerationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_CreateDeploymentJob.go b/service/robomaker/api_op_CreateDeploymentJob.go index efa5e2eefe5..beade4280e7 100644 --- a/service/robomaker/api_op_CreateDeploymentJob.go +++ b/service/robomaker/api_op_CreateDeploymentJob.go @@ -216,9 +216,6 @@ func (c *Client) addOperationCreateDeploymentJobMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDeploymentJobMiddleware(stack, options); err != nil { return err } diff --git a/service/robomaker/api_op_CreateFleet.go b/service/robomaker/api_op_CreateFleet.go index 3d2db939aac..8dacb89fe56 100644 --- a/service/robomaker/api_op_CreateFleet.go +++ b/service/robomaker/api_op_CreateFleet.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreateFleetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_CreateRobot.go b/service/robomaker/api_op_CreateRobot.go index 13465bb2827..7ff238fdf58 100644 --- a/service/robomaker/api_op_CreateRobot.go +++ b/service/robomaker/api_op_CreateRobot.go @@ -158,9 +158,6 @@ func (c *Client) addOperationCreateRobotMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRobotValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_CreateRobotApplication.go b/service/robomaker/api_op_CreateRobotApplication.go index 26590acd99f..19653129b21 100644 --- a/service/robomaker/api_op_CreateRobotApplication.go +++ b/service/robomaker/api_op_CreateRobotApplication.go @@ -163,9 +163,6 @@ func (c *Client) addOperationCreateRobotApplicationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRobotApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_CreateRobotApplicationVersion.go b/service/robomaker/api_op_CreateRobotApplicationVersion.go index 9975cd85d71..a2a21a6d447 100644 --- a/service/robomaker/api_op_CreateRobotApplicationVersion.go +++ b/service/robomaker/api_op_CreateRobotApplicationVersion.go @@ -156,9 +156,6 @@ func (c *Client) addOperationCreateRobotApplicationVersionMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRobotApplicationVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_CreateSimulationApplication.go b/service/robomaker/api_op_CreateSimulationApplication.go index cb05757ff15..c63a781c9d8 100644 --- a/service/robomaker/api_op_CreateSimulationApplication.go +++ b/service/robomaker/api_op_CreateSimulationApplication.go @@ -177,9 +177,6 @@ func (c *Client) addOperationCreateSimulationApplicationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSimulationApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_CreateSimulationApplicationVersion.go b/service/robomaker/api_op_CreateSimulationApplicationVersion.go index 42a3a79ce3b..0101df3ee53 100644 --- a/service/robomaker/api_op_CreateSimulationApplicationVersion.go +++ b/service/robomaker/api_op_CreateSimulationApplicationVersion.go @@ -162,9 +162,6 @@ func (c *Client) addOperationCreateSimulationApplicationVersionMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSimulationApplicationVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_CreateSimulationJob.go b/service/robomaker/api_op_CreateSimulationJob.go index 8bda71f0836..71c86bfafad 100644 --- a/service/robomaker/api_op_CreateSimulationJob.go +++ b/service/robomaker/api_op_CreateSimulationJob.go @@ -265,9 +265,6 @@ func (c *Client) addOperationCreateSimulationJobMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateSimulationJobMiddleware(stack, options); err != nil { return err } diff --git a/service/robomaker/api_op_CreateWorldExportJob.go b/service/robomaker/api_op_CreateWorldExportJob.go index 0f16990a366..4b609e89bf5 100644 --- a/service/robomaker/api_op_CreateWorldExportJob.go +++ b/service/robomaker/api_op_CreateWorldExportJob.go @@ -195,9 +195,6 @@ func (c *Client) addOperationCreateWorldExportJobMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateWorldExportJobMiddleware(stack, options); err != nil { return err } diff --git a/service/robomaker/api_op_CreateWorldGenerationJob.go b/service/robomaker/api_op_CreateWorldGenerationJob.go index 8c5a367ed57..4fa3fde0e33 100644 --- a/service/robomaker/api_op_CreateWorldGenerationJob.go +++ b/service/robomaker/api_op_CreateWorldGenerationJob.go @@ -192,9 +192,6 @@ func (c *Client) addOperationCreateWorldGenerationJobMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateWorldGenerationJobMiddleware(stack, options); err != nil { return err } diff --git a/service/robomaker/api_op_CreateWorldTemplate.go b/service/robomaker/api_op_CreateWorldTemplate.go index 1a1bf07f406..09606381340 100644 --- a/service/robomaker/api_op_CreateWorldTemplate.go +++ b/service/robomaker/api_op_CreateWorldTemplate.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCreateWorldTemplateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateWorldTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DeleteFleet.go b/service/robomaker/api_op_DeleteFleet.go index c0d54731531..b129e220cc5 100644 --- a/service/robomaker/api_op_DeleteFleet.go +++ b/service/robomaker/api_op_DeleteFleet.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteFleetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DeleteRobot.go b/service/robomaker/api_op_DeleteRobot.go index dc0ec018411..95211f38a85 100644 --- a/service/robomaker/api_op_DeleteRobot.go +++ b/service/robomaker/api_op_DeleteRobot.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteRobotMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRobotValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DeleteRobotApplication.go b/service/robomaker/api_op_DeleteRobotApplication.go index 7a631c31425..337b49ed00b 100644 --- a/service/robomaker/api_op_DeleteRobotApplication.go +++ b/service/robomaker/api_op_DeleteRobotApplication.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteRobotApplicationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRobotApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DeleteSimulationApplication.go b/service/robomaker/api_op_DeleteSimulationApplication.go index 0b74e8edf71..8fabdb32446 100644 --- a/service/robomaker/api_op_DeleteSimulationApplication.go +++ b/service/robomaker/api_op_DeleteSimulationApplication.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteSimulationApplicationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSimulationApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DeleteWorldTemplate.go b/service/robomaker/api_op_DeleteWorldTemplate.go index 3d71420b9cf..e53bfafd727 100644 --- a/service/robomaker/api_op_DeleteWorldTemplate.go +++ b/service/robomaker/api_op_DeleteWorldTemplate.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteWorldTemplateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWorldTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DeregisterRobot.go b/service/robomaker/api_op_DeregisterRobot.go index ef394ec812d..b96f0b37d51 100644 --- a/service/robomaker/api_op_DeregisterRobot.go +++ b/service/robomaker/api_op_DeregisterRobot.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDeregisterRobotMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterRobotValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DescribeDeploymentJob.go b/service/robomaker/api_op_DescribeDeploymentJob.go index 90d2085dee3..43996e491c4 100644 --- a/service/robomaker/api_op_DescribeDeploymentJob.go +++ b/service/robomaker/api_op_DescribeDeploymentJob.go @@ -156,9 +156,6 @@ func (c *Client) addOperationDescribeDeploymentJobMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDeploymentJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DescribeFleet.go b/service/robomaker/api_op_DescribeFleet.go index e3f8142636c..d07a9f7fcfe 100644 --- a/service/robomaker/api_op_DescribeFleet.go +++ b/service/robomaker/api_op_DescribeFleet.go @@ -150,9 +150,6 @@ func (c *Client) addOperationDescribeFleetMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DescribeRobot.go b/service/robomaker/api_op_DescribeRobot.go index 072009ca3b9..fdb9541488c 100644 --- a/service/robomaker/api_op_DescribeRobot.go +++ b/service/robomaker/api_op_DescribeRobot.go @@ -156,9 +156,6 @@ func (c *Client) addOperationDescribeRobotMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRobotValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DescribeRobotApplication.go b/service/robomaker/api_op_DescribeRobotApplication.go index 6175016700f..2b1061ad060 100644 --- a/service/robomaker/api_op_DescribeRobotApplication.go +++ b/service/robomaker/api_op_DescribeRobotApplication.go @@ -154,9 +154,6 @@ func (c *Client) addOperationDescribeRobotApplicationMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRobotApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DescribeSimulationApplication.go b/service/robomaker/api_op_DescribeSimulationApplication.go index 80ab34d90fc..07803dd8410 100644 --- a/service/robomaker/api_op_DescribeSimulationApplication.go +++ b/service/robomaker/api_op_DescribeSimulationApplication.go @@ -160,9 +160,6 @@ func (c *Client) addOperationDescribeSimulationApplicationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSimulationApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DescribeSimulationJob.go b/service/robomaker/api_op_DescribeSimulationJob.go index a905de15bd4..f21203d098f 100644 --- a/service/robomaker/api_op_DescribeSimulationJob.go +++ b/service/robomaker/api_op_DescribeSimulationJob.go @@ -223,9 +223,6 @@ func (c *Client) addOperationDescribeSimulationJobMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSimulationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DescribeSimulationJobBatch.go b/service/robomaker/api_op_DescribeSimulationJobBatch.go index 0a3ffef2ec3..943eb773bd2 100644 --- a/service/robomaker/api_op_DescribeSimulationJobBatch.go +++ b/service/robomaker/api_op_DescribeSimulationJobBatch.go @@ -189,9 +189,6 @@ func (c *Client) addOperationDescribeSimulationJobBatchMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSimulationJobBatchValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DescribeWorld.go b/service/robomaker/api_op_DescribeWorld.go index af3594d820e..dccbdf656b6 100644 --- a/service/robomaker/api_op_DescribeWorld.go +++ b/service/robomaker/api_op_DescribeWorld.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribeWorldMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeWorldValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DescribeWorldExportJob.go b/service/robomaker/api_op_DescribeWorldExportJob.go index 5767991a867..a39d1f32262 100644 --- a/service/robomaker/api_op_DescribeWorldExportJob.go +++ b/service/robomaker/api_op_DescribeWorldExportJob.go @@ -176,9 +176,6 @@ func (c *Client) addOperationDescribeWorldExportJobMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeWorldExportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DescribeWorldGenerationJob.go b/service/robomaker/api_op_DescribeWorldGenerationJob.go index 54aca771742..840f275ec0e 100644 --- a/service/robomaker/api_op_DescribeWorldGenerationJob.go +++ b/service/robomaker/api_op_DescribeWorldGenerationJob.go @@ -180,9 +180,6 @@ func (c *Client) addOperationDescribeWorldGenerationJobMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeWorldGenerationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_DescribeWorldTemplate.go b/service/robomaker/api_op_DescribeWorldTemplate.go index ab8a09b5365..e2c783c99c3 100644 --- a/service/robomaker/api_op_DescribeWorldTemplate.go +++ b/service/robomaker/api_op_DescribeWorldTemplate.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeWorldTemplateMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeWorldTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_GetWorldTemplateBody.go b/service/robomaker/api_op_GetWorldTemplateBody.go index f7d39bb8658..76812abfcf0 100644 --- a/service/robomaker/api_op_GetWorldTemplateBody.go +++ b/service/robomaker/api_op_GetWorldTemplateBody.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetWorldTemplateBodyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetWorldTemplateBody(options.Region), middleware.Before); err != nil { return err } diff --git a/service/robomaker/api_op_ListDeploymentJobs.go b/service/robomaker/api_op_ListDeploymentJobs.go index 17bf0cb5485..748880e9021 100644 --- a/service/robomaker/api_op_ListDeploymentJobs.go +++ b/service/robomaker/api_op_ListDeploymentJobs.go @@ -154,9 +154,6 @@ func (c *Client) addOperationListDeploymentJobsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeploymentJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/robomaker/api_op_ListFleets.go b/service/robomaker/api_op_ListFleets.go index dc95cdc4a57..5bb8fb40fb6 100644 --- a/service/robomaker/api_op_ListFleets.go +++ b/service/robomaker/api_op_ListFleets.go @@ -155,9 +155,6 @@ func (c *Client) addOperationListFleetsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFleets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/robomaker/api_op_ListRobotApplications.go b/service/robomaker/api_op_ListRobotApplications.go index 98550c0b366..5f8489081e2 100644 --- a/service/robomaker/api_op_ListRobotApplications.go +++ b/service/robomaker/api_op_ListRobotApplications.go @@ -147,9 +147,6 @@ func (c *Client) addOperationListRobotApplicationsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRobotApplications(options.Region), middleware.Before); err != nil { return err } diff --git a/service/robomaker/api_op_ListRobots.go b/service/robomaker/api_op_ListRobots.go index 81abf5d2f61..2320dc7b5d3 100644 --- a/service/robomaker/api_op_ListRobots.go +++ b/service/robomaker/api_op_ListRobots.go @@ -154,9 +154,6 @@ func (c *Client) addOperationListRobotsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRobots(options.Region), middleware.Before); err != nil { return err } diff --git a/service/robomaker/api_op_ListSimulationApplications.go b/service/robomaker/api_op_ListSimulationApplications.go index 5327b4c88dd..5b0819ae9ea 100644 --- a/service/robomaker/api_op_ListSimulationApplications.go +++ b/service/robomaker/api_op_ListSimulationApplications.go @@ -149,9 +149,6 @@ func (c *Client) addOperationListSimulationApplicationsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSimulationApplications(options.Region), middleware.Before); err != nil { return err } diff --git a/service/robomaker/api_op_ListSimulationJobBatches.go b/service/robomaker/api_op_ListSimulationJobBatches.go index dd924eca83d..b9ae1b10e7b 100644 --- a/service/robomaker/api_op_ListSimulationJobBatches.go +++ b/service/robomaker/api_op_ListSimulationJobBatches.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListSimulationJobBatchesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSimulationJobBatches(options.Region), middleware.Before); err != nil { return err } diff --git a/service/robomaker/api_op_ListSimulationJobs.go b/service/robomaker/api_op_ListSimulationJobs.go index 8667c0d655b..a68e5927553 100644 --- a/service/robomaker/api_op_ListSimulationJobs.go +++ b/service/robomaker/api_op_ListSimulationJobs.go @@ -149,9 +149,6 @@ func (c *Client) addOperationListSimulationJobsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSimulationJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/robomaker/api_op_ListTagsForResource.go b/service/robomaker/api_op_ListTagsForResource.go index ace6513551a..4f448c90817 100644 --- a/service/robomaker/api_op_ListTagsForResource.go +++ b/service/robomaker/api_op_ListTagsForResource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_ListWorldExportJobs.go b/service/robomaker/api_op_ListWorldExportJobs.go index d349dbadfdf..a41a44ef835 100644 --- a/service/robomaker/api_op_ListWorldExportJobs.go +++ b/service/robomaker/api_op_ListWorldExportJobs.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListWorldExportJobsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorldExportJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/robomaker/api_op_ListWorldGenerationJobs.go b/service/robomaker/api_op_ListWorldGenerationJobs.go index b44ca428090..75aa21f9aa1 100644 --- a/service/robomaker/api_op_ListWorldGenerationJobs.go +++ b/service/robomaker/api_op_ListWorldGenerationJobs.go @@ -145,9 +145,6 @@ func (c *Client) addOperationListWorldGenerationJobsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorldGenerationJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/robomaker/api_op_ListWorldTemplates.go b/service/robomaker/api_op_ListWorldTemplates.go index b8c9f48667f..8ed27e3cbc3 100644 --- a/service/robomaker/api_op_ListWorldTemplates.go +++ b/service/robomaker/api_op_ListWorldTemplates.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListWorldTemplatesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorldTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/robomaker/api_op_ListWorlds.go b/service/robomaker/api_op_ListWorlds.go index 47d58694a6b..cd47d9f2d49 100644 --- a/service/robomaker/api_op_ListWorlds.go +++ b/service/robomaker/api_op_ListWorlds.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListWorldsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorlds(options.Region), middleware.Before); err != nil { return err } diff --git a/service/robomaker/api_op_RegisterRobot.go b/service/robomaker/api_op_RegisterRobot.go index 4609449acf6..269b64b795f 100644 --- a/service/robomaker/api_op_RegisterRobot.go +++ b/service/robomaker/api_op_RegisterRobot.go @@ -135,9 +135,6 @@ func (c *Client) addOperationRegisterRobotMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterRobotValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_RestartSimulationJob.go b/service/robomaker/api_op_RestartSimulationJob.go index 30c83c5327d..23a7efa019a 100644 --- a/service/robomaker/api_op_RestartSimulationJob.go +++ b/service/robomaker/api_op_RestartSimulationJob.go @@ -115,9 +115,6 @@ func (c *Client) addOperationRestartSimulationJobMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestartSimulationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_StartSimulationJobBatch.go b/service/robomaker/api_op_StartSimulationJobBatch.go index a4617771346..d250e223250 100644 --- a/service/robomaker/api_op_StartSimulationJobBatch.go +++ b/service/robomaker/api_op_StartSimulationJobBatch.go @@ -197,9 +197,6 @@ func (c *Client) addOperationStartSimulationJobBatchMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartSimulationJobBatchMiddleware(stack, options); err != nil { return err } diff --git a/service/robomaker/api_op_SyncDeploymentJob.go b/service/robomaker/api_op_SyncDeploymentJob.go index b78c5961904..257300461be 100644 --- a/service/robomaker/api_op_SyncDeploymentJob.go +++ b/service/robomaker/api_op_SyncDeploymentJob.go @@ -191,9 +191,6 @@ func (c *Client) addOperationSyncDeploymentJobMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opSyncDeploymentJobMiddleware(stack, options); err != nil { return err } diff --git a/service/robomaker/api_op_TagResource.go b/service/robomaker/api_op_TagResource.go index c774abccac0..efb56c8ee93 100644 --- a/service/robomaker/api_op_TagResource.go +++ b/service/robomaker/api_op_TagResource.go @@ -127,9 +127,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_UntagResource.go b/service/robomaker/api_op_UntagResource.go index 0bb2324f6ec..c173bdb95ef 100644 --- a/service/robomaker/api_op_UntagResource.go +++ b/service/robomaker/api_op_UntagResource.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_UpdateRobotApplication.go b/service/robomaker/api_op_UpdateRobotApplication.go index 6513c548a97..da9b540d74a 100644 --- a/service/robomaker/api_op_UpdateRobotApplication.go +++ b/service/robomaker/api_op_UpdateRobotApplication.go @@ -157,9 +157,6 @@ func (c *Client) addOperationUpdateRobotApplicationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRobotApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_UpdateSimulationApplication.go b/service/robomaker/api_op_UpdateSimulationApplication.go index c163c5e2b95..25946510baf 100644 --- a/service/robomaker/api_op_UpdateSimulationApplication.go +++ b/service/robomaker/api_op_UpdateSimulationApplication.go @@ -172,9 +172,6 @@ func (c *Client) addOperationUpdateSimulationApplicationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSimulationApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/api_op_UpdateWorldTemplate.go b/service/robomaker/api_op_UpdateWorldTemplate.go index f6c1981c0bf..915d498d00d 100644 --- a/service/robomaker/api_op_UpdateWorldTemplate.go +++ b/service/robomaker/api_op_UpdateWorldTemplate.go @@ -140,9 +140,6 @@ func (c *Client) addOperationUpdateWorldTemplateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateWorldTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/robomaker/snapshot/api_op_BatchDeleteWorlds.go.snap b/service/robomaker/snapshot/api_op_BatchDeleteWorlds.go.snap index cde5139539c..ecb60d1c0e7 100644 --- a/service/robomaker/snapshot/api_op_BatchDeleteWorlds.go.snap +++ b/service/robomaker/snapshot/api_op_BatchDeleteWorlds.go.snap @@ -14,7 +14,6 @@ BatchDeleteWorlds Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_BatchDescribeSimulationJob.go.snap b/service/robomaker/snapshot/api_op_BatchDescribeSimulationJob.go.snap index 94891be8e51..877bb675e74 100644 --- a/service/robomaker/snapshot/api_op_BatchDescribeSimulationJob.go.snap +++ b/service/robomaker/snapshot/api_op_BatchDescribeSimulationJob.go.snap @@ -14,7 +14,6 @@ BatchDescribeSimulationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_CancelDeploymentJob.go.snap b/service/robomaker/snapshot/api_op_CancelDeploymentJob.go.snap index 31d31ad6e86..529d2482ea7 100644 --- a/service/robomaker/snapshot/api_op_CancelDeploymentJob.go.snap +++ b/service/robomaker/snapshot/api_op_CancelDeploymentJob.go.snap @@ -14,7 +14,6 @@ CancelDeploymentJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_CancelSimulationJob.go.snap b/service/robomaker/snapshot/api_op_CancelSimulationJob.go.snap index d93754ba709..14e825b14f4 100644 --- a/service/robomaker/snapshot/api_op_CancelSimulationJob.go.snap +++ b/service/robomaker/snapshot/api_op_CancelSimulationJob.go.snap @@ -14,7 +14,6 @@ CancelSimulationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_CancelSimulationJobBatch.go.snap b/service/robomaker/snapshot/api_op_CancelSimulationJobBatch.go.snap index 1015d8e0566..ca2494f9a53 100644 --- a/service/robomaker/snapshot/api_op_CancelSimulationJobBatch.go.snap +++ b/service/robomaker/snapshot/api_op_CancelSimulationJobBatch.go.snap @@ -14,7 +14,6 @@ CancelSimulationJobBatch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_CancelWorldExportJob.go.snap b/service/robomaker/snapshot/api_op_CancelWorldExportJob.go.snap index 22f01e5e2e1..0acb238f9f0 100644 --- a/service/robomaker/snapshot/api_op_CancelWorldExportJob.go.snap +++ b/service/robomaker/snapshot/api_op_CancelWorldExportJob.go.snap @@ -14,7 +14,6 @@ CancelWorldExportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_CancelWorldGenerationJob.go.snap b/service/robomaker/snapshot/api_op_CancelWorldGenerationJob.go.snap index 066f61e9749..4ddd3d5819d 100644 --- a/service/robomaker/snapshot/api_op_CancelWorldGenerationJob.go.snap +++ b/service/robomaker/snapshot/api_op_CancelWorldGenerationJob.go.snap @@ -14,7 +14,6 @@ CancelWorldGenerationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_CreateDeploymentJob.go.snap b/service/robomaker/snapshot/api_op_CreateDeploymentJob.go.snap index 559fec64489..a5980450cab 100644 --- a/service/robomaker/snapshot/api_op_CreateDeploymentJob.go.snap +++ b/service/robomaker/snapshot/api_op_CreateDeploymentJob.go.snap @@ -15,7 +15,6 @@ CreateDeploymentJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_CreateFleet.go.snap b/service/robomaker/snapshot/api_op_CreateFleet.go.snap index e305f1ff665..de432044562 100644 --- a/service/robomaker/snapshot/api_op_CreateFleet.go.snap +++ b/service/robomaker/snapshot/api_op_CreateFleet.go.snap @@ -14,7 +14,6 @@ CreateFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_CreateRobot.go.snap b/service/robomaker/snapshot/api_op_CreateRobot.go.snap index 5204a3beeaa..a26f1044546 100644 --- a/service/robomaker/snapshot/api_op_CreateRobot.go.snap +++ b/service/robomaker/snapshot/api_op_CreateRobot.go.snap @@ -14,7 +14,6 @@ CreateRobot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_CreateRobotApplication.go.snap b/service/robomaker/snapshot/api_op_CreateRobotApplication.go.snap index cd46484bcb0..0548ed09520 100644 --- a/service/robomaker/snapshot/api_op_CreateRobotApplication.go.snap +++ b/service/robomaker/snapshot/api_op_CreateRobotApplication.go.snap @@ -14,7 +14,6 @@ CreateRobotApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_CreateRobotApplicationVersion.go.snap b/service/robomaker/snapshot/api_op_CreateRobotApplicationVersion.go.snap index 55cff64d51c..cf3fff23cf5 100644 --- a/service/robomaker/snapshot/api_op_CreateRobotApplicationVersion.go.snap +++ b/service/robomaker/snapshot/api_op_CreateRobotApplicationVersion.go.snap @@ -14,7 +14,6 @@ CreateRobotApplicationVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_CreateSimulationApplication.go.snap b/service/robomaker/snapshot/api_op_CreateSimulationApplication.go.snap index 61b48841745..01e515effd4 100644 --- a/service/robomaker/snapshot/api_op_CreateSimulationApplication.go.snap +++ b/service/robomaker/snapshot/api_op_CreateSimulationApplication.go.snap @@ -14,7 +14,6 @@ CreateSimulationApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_CreateSimulationApplicationVersion.go.snap b/service/robomaker/snapshot/api_op_CreateSimulationApplicationVersion.go.snap index a8a585c4bb6..ec806d428b2 100644 --- a/service/robomaker/snapshot/api_op_CreateSimulationApplicationVersion.go.snap +++ b/service/robomaker/snapshot/api_op_CreateSimulationApplicationVersion.go.snap @@ -14,7 +14,6 @@ CreateSimulationApplicationVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_CreateSimulationJob.go.snap b/service/robomaker/snapshot/api_op_CreateSimulationJob.go.snap index ede94c82d57..11357608ded 100644 --- a/service/robomaker/snapshot/api_op_CreateSimulationJob.go.snap +++ b/service/robomaker/snapshot/api_op_CreateSimulationJob.go.snap @@ -15,7 +15,6 @@ CreateSimulationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_CreateWorldExportJob.go.snap b/service/robomaker/snapshot/api_op_CreateWorldExportJob.go.snap index 665aebd6d53..cf0ca48c10f 100644 --- a/service/robomaker/snapshot/api_op_CreateWorldExportJob.go.snap +++ b/service/robomaker/snapshot/api_op_CreateWorldExportJob.go.snap @@ -15,7 +15,6 @@ CreateWorldExportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_CreateWorldGenerationJob.go.snap b/service/robomaker/snapshot/api_op_CreateWorldGenerationJob.go.snap index aa6ef223043..9edff0dd5b7 100644 --- a/service/robomaker/snapshot/api_op_CreateWorldGenerationJob.go.snap +++ b/service/robomaker/snapshot/api_op_CreateWorldGenerationJob.go.snap @@ -15,7 +15,6 @@ CreateWorldGenerationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_CreateWorldTemplate.go.snap b/service/robomaker/snapshot/api_op_CreateWorldTemplate.go.snap index 620cd96c755..05da3d8da63 100644 --- a/service/robomaker/snapshot/api_op_CreateWorldTemplate.go.snap +++ b/service/robomaker/snapshot/api_op_CreateWorldTemplate.go.snap @@ -14,7 +14,6 @@ CreateWorldTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_DeleteFleet.go.snap b/service/robomaker/snapshot/api_op_DeleteFleet.go.snap index 33858ccc341..d726bd6cf54 100644 --- a/service/robomaker/snapshot/api_op_DeleteFleet.go.snap +++ b/service/robomaker/snapshot/api_op_DeleteFleet.go.snap @@ -14,7 +14,6 @@ DeleteFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_DeleteRobot.go.snap b/service/robomaker/snapshot/api_op_DeleteRobot.go.snap index ac7cee33ce4..429f964becf 100644 --- a/service/robomaker/snapshot/api_op_DeleteRobot.go.snap +++ b/service/robomaker/snapshot/api_op_DeleteRobot.go.snap @@ -14,7 +14,6 @@ DeleteRobot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_DeleteRobotApplication.go.snap b/service/robomaker/snapshot/api_op_DeleteRobotApplication.go.snap index 66e5e05e317..eb1a7225073 100644 --- a/service/robomaker/snapshot/api_op_DeleteRobotApplication.go.snap +++ b/service/robomaker/snapshot/api_op_DeleteRobotApplication.go.snap @@ -14,7 +14,6 @@ DeleteRobotApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_DeleteSimulationApplication.go.snap b/service/robomaker/snapshot/api_op_DeleteSimulationApplication.go.snap index e9b70504302..f1c4fcf9903 100644 --- a/service/robomaker/snapshot/api_op_DeleteSimulationApplication.go.snap +++ b/service/robomaker/snapshot/api_op_DeleteSimulationApplication.go.snap @@ -14,7 +14,6 @@ DeleteSimulationApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_DeleteWorldTemplate.go.snap b/service/robomaker/snapshot/api_op_DeleteWorldTemplate.go.snap index 29298373402..64e9fee551c 100644 --- a/service/robomaker/snapshot/api_op_DeleteWorldTemplate.go.snap +++ b/service/robomaker/snapshot/api_op_DeleteWorldTemplate.go.snap @@ -14,7 +14,6 @@ DeleteWorldTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_DeregisterRobot.go.snap b/service/robomaker/snapshot/api_op_DeregisterRobot.go.snap index 6a148ba4bf7..c7139c72da4 100644 --- a/service/robomaker/snapshot/api_op_DeregisterRobot.go.snap +++ b/service/robomaker/snapshot/api_op_DeregisterRobot.go.snap @@ -14,7 +14,6 @@ DeregisterRobot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_DescribeDeploymentJob.go.snap b/service/robomaker/snapshot/api_op_DescribeDeploymentJob.go.snap index 3f8ae73928c..b7c856885d4 100644 --- a/service/robomaker/snapshot/api_op_DescribeDeploymentJob.go.snap +++ b/service/robomaker/snapshot/api_op_DescribeDeploymentJob.go.snap @@ -14,7 +14,6 @@ DescribeDeploymentJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_DescribeFleet.go.snap b/service/robomaker/snapshot/api_op_DescribeFleet.go.snap index b83087eae7c..9da4b9c5223 100644 --- a/service/robomaker/snapshot/api_op_DescribeFleet.go.snap +++ b/service/robomaker/snapshot/api_op_DescribeFleet.go.snap @@ -14,7 +14,6 @@ DescribeFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_DescribeRobot.go.snap b/service/robomaker/snapshot/api_op_DescribeRobot.go.snap index 41a6af22903..8e870711bf0 100644 --- a/service/robomaker/snapshot/api_op_DescribeRobot.go.snap +++ b/service/robomaker/snapshot/api_op_DescribeRobot.go.snap @@ -14,7 +14,6 @@ DescribeRobot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_DescribeRobotApplication.go.snap b/service/robomaker/snapshot/api_op_DescribeRobotApplication.go.snap index 04e830f2e8a..ab3e546d4ec 100644 --- a/service/robomaker/snapshot/api_op_DescribeRobotApplication.go.snap +++ b/service/robomaker/snapshot/api_op_DescribeRobotApplication.go.snap @@ -14,7 +14,6 @@ DescribeRobotApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_DescribeSimulationApplication.go.snap b/service/robomaker/snapshot/api_op_DescribeSimulationApplication.go.snap index 3298d2125a0..f3b5d880bec 100644 --- a/service/robomaker/snapshot/api_op_DescribeSimulationApplication.go.snap +++ b/service/robomaker/snapshot/api_op_DescribeSimulationApplication.go.snap @@ -14,7 +14,6 @@ DescribeSimulationApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_DescribeSimulationJob.go.snap b/service/robomaker/snapshot/api_op_DescribeSimulationJob.go.snap index 32d53e7986b..4ac45db2518 100644 --- a/service/robomaker/snapshot/api_op_DescribeSimulationJob.go.snap +++ b/service/robomaker/snapshot/api_op_DescribeSimulationJob.go.snap @@ -14,7 +14,6 @@ DescribeSimulationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_DescribeSimulationJobBatch.go.snap b/service/robomaker/snapshot/api_op_DescribeSimulationJobBatch.go.snap index 9e2394775fc..9dcfe9544d9 100644 --- a/service/robomaker/snapshot/api_op_DescribeSimulationJobBatch.go.snap +++ b/service/robomaker/snapshot/api_op_DescribeSimulationJobBatch.go.snap @@ -14,7 +14,6 @@ DescribeSimulationJobBatch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_DescribeWorld.go.snap b/service/robomaker/snapshot/api_op_DescribeWorld.go.snap index fb584f86c7e..0a48e344aae 100644 --- a/service/robomaker/snapshot/api_op_DescribeWorld.go.snap +++ b/service/robomaker/snapshot/api_op_DescribeWorld.go.snap @@ -14,7 +14,6 @@ DescribeWorld Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_DescribeWorldExportJob.go.snap b/service/robomaker/snapshot/api_op_DescribeWorldExportJob.go.snap index a527620da53..c8a50476807 100644 --- a/service/robomaker/snapshot/api_op_DescribeWorldExportJob.go.snap +++ b/service/robomaker/snapshot/api_op_DescribeWorldExportJob.go.snap @@ -14,7 +14,6 @@ DescribeWorldExportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_DescribeWorldGenerationJob.go.snap b/service/robomaker/snapshot/api_op_DescribeWorldGenerationJob.go.snap index 02532897f2a..4e07bac6800 100644 --- a/service/robomaker/snapshot/api_op_DescribeWorldGenerationJob.go.snap +++ b/service/robomaker/snapshot/api_op_DescribeWorldGenerationJob.go.snap @@ -14,7 +14,6 @@ DescribeWorldGenerationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_DescribeWorldTemplate.go.snap b/service/robomaker/snapshot/api_op_DescribeWorldTemplate.go.snap index 140cf2a30aa..ed59dfccf1b 100644 --- a/service/robomaker/snapshot/api_op_DescribeWorldTemplate.go.snap +++ b/service/robomaker/snapshot/api_op_DescribeWorldTemplate.go.snap @@ -14,7 +14,6 @@ DescribeWorldTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_GetWorldTemplateBody.go.snap b/service/robomaker/snapshot/api_op_GetWorldTemplateBody.go.snap index ba08f21b05c..b57071e5b52 100644 --- a/service/robomaker/snapshot/api_op_GetWorldTemplateBody.go.snap +++ b/service/robomaker/snapshot/api_op_GetWorldTemplateBody.go.snap @@ -13,7 +13,6 @@ GetWorldTemplateBody Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_ListDeploymentJobs.go.snap b/service/robomaker/snapshot/api_op_ListDeploymentJobs.go.snap index ac892e05d50..65517223a62 100644 --- a/service/robomaker/snapshot/api_op_ListDeploymentJobs.go.snap +++ b/service/robomaker/snapshot/api_op_ListDeploymentJobs.go.snap @@ -13,7 +13,6 @@ ListDeploymentJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_ListFleets.go.snap b/service/robomaker/snapshot/api_op_ListFleets.go.snap index 8ddb712ca86..1932a10d210 100644 --- a/service/robomaker/snapshot/api_op_ListFleets.go.snap +++ b/service/robomaker/snapshot/api_op_ListFleets.go.snap @@ -13,7 +13,6 @@ ListFleets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_ListRobotApplications.go.snap b/service/robomaker/snapshot/api_op_ListRobotApplications.go.snap index 99ec0340e90..6e145fc8c86 100644 --- a/service/robomaker/snapshot/api_op_ListRobotApplications.go.snap +++ b/service/robomaker/snapshot/api_op_ListRobotApplications.go.snap @@ -13,7 +13,6 @@ ListRobotApplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_ListRobots.go.snap b/service/robomaker/snapshot/api_op_ListRobots.go.snap index b7c84574584..bce48cd1d14 100644 --- a/service/robomaker/snapshot/api_op_ListRobots.go.snap +++ b/service/robomaker/snapshot/api_op_ListRobots.go.snap @@ -13,7 +13,6 @@ ListRobots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_ListSimulationApplications.go.snap b/service/robomaker/snapshot/api_op_ListSimulationApplications.go.snap index 04ebaccbfeb..5c87ab5d6a1 100644 --- a/service/robomaker/snapshot/api_op_ListSimulationApplications.go.snap +++ b/service/robomaker/snapshot/api_op_ListSimulationApplications.go.snap @@ -13,7 +13,6 @@ ListSimulationApplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_ListSimulationJobBatches.go.snap b/service/robomaker/snapshot/api_op_ListSimulationJobBatches.go.snap index 8e1b108f561..0289b0d4e7a 100644 --- a/service/robomaker/snapshot/api_op_ListSimulationJobBatches.go.snap +++ b/service/robomaker/snapshot/api_op_ListSimulationJobBatches.go.snap @@ -13,7 +13,6 @@ ListSimulationJobBatches Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_ListSimulationJobs.go.snap b/service/robomaker/snapshot/api_op_ListSimulationJobs.go.snap index b98e61b74b4..ef8346e71fe 100644 --- a/service/robomaker/snapshot/api_op_ListSimulationJobs.go.snap +++ b/service/robomaker/snapshot/api_op_ListSimulationJobs.go.snap @@ -13,7 +13,6 @@ ListSimulationJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_ListTagsForResource.go.snap b/service/robomaker/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/robomaker/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/robomaker/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_ListWorldExportJobs.go.snap b/service/robomaker/snapshot/api_op_ListWorldExportJobs.go.snap index 79aaedda7d2..9e901cc35a1 100644 --- a/service/robomaker/snapshot/api_op_ListWorldExportJobs.go.snap +++ b/service/robomaker/snapshot/api_op_ListWorldExportJobs.go.snap @@ -13,7 +13,6 @@ ListWorldExportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_ListWorldGenerationJobs.go.snap b/service/robomaker/snapshot/api_op_ListWorldGenerationJobs.go.snap index c8112d5ba33..2fafea96e86 100644 --- a/service/robomaker/snapshot/api_op_ListWorldGenerationJobs.go.snap +++ b/service/robomaker/snapshot/api_op_ListWorldGenerationJobs.go.snap @@ -13,7 +13,6 @@ ListWorldGenerationJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_ListWorldTemplates.go.snap b/service/robomaker/snapshot/api_op_ListWorldTemplates.go.snap index 3cb7368e101..2a8222fcb29 100644 --- a/service/robomaker/snapshot/api_op_ListWorldTemplates.go.snap +++ b/service/robomaker/snapshot/api_op_ListWorldTemplates.go.snap @@ -13,7 +13,6 @@ ListWorldTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_ListWorlds.go.snap b/service/robomaker/snapshot/api_op_ListWorlds.go.snap index 55a96fe30c0..6013662d2f3 100644 --- a/service/robomaker/snapshot/api_op_ListWorlds.go.snap +++ b/service/robomaker/snapshot/api_op_ListWorlds.go.snap @@ -13,7 +13,6 @@ ListWorlds Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_RegisterRobot.go.snap b/service/robomaker/snapshot/api_op_RegisterRobot.go.snap index 24fda383b95..e4cec28dbad 100644 --- a/service/robomaker/snapshot/api_op_RegisterRobot.go.snap +++ b/service/robomaker/snapshot/api_op_RegisterRobot.go.snap @@ -14,7 +14,6 @@ RegisterRobot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_RestartSimulationJob.go.snap b/service/robomaker/snapshot/api_op_RestartSimulationJob.go.snap index 6f9efb94c82..7713b4714a0 100644 --- a/service/robomaker/snapshot/api_op_RestartSimulationJob.go.snap +++ b/service/robomaker/snapshot/api_op_RestartSimulationJob.go.snap @@ -14,7 +14,6 @@ RestartSimulationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_StartSimulationJobBatch.go.snap b/service/robomaker/snapshot/api_op_StartSimulationJobBatch.go.snap index ca08843ab13..d899471c1a4 100644 --- a/service/robomaker/snapshot/api_op_StartSimulationJobBatch.go.snap +++ b/service/robomaker/snapshot/api_op_StartSimulationJobBatch.go.snap @@ -15,7 +15,6 @@ StartSimulationJobBatch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_SyncDeploymentJob.go.snap b/service/robomaker/snapshot/api_op_SyncDeploymentJob.go.snap index 1dcff8bc5e3..0c405672223 100644 --- a/service/robomaker/snapshot/api_op_SyncDeploymentJob.go.snap +++ b/service/robomaker/snapshot/api_op_SyncDeploymentJob.go.snap @@ -15,7 +15,6 @@ SyncDeploymentJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_TagResource.go.snap b/service/robomaker/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/robomaker/snapshot/api_op_TagResource.go.snap +++ b/service/robomaker/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_UntagResource.go.snap b/service/robomaker/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/robomaker/snapshot/api_op_UntagResource.go.snap +++ b/service/robomaker/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_UpdateRobotApplication.go.snap b/service/robomaker/snapshot/api_op_UpdateRobotApplication.go.snap index a27c5c62dd9..07259a731de 100644 --- a/service/robomaker/snapshot/api_op_UpdateRobotApplication.go.snap +++ b/service/robomaker/snapshot/api_op_UpdateRobotApplication.go.snap @@ -14,7 +14,6 @@ UpdateRobotApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_UpdateSimulationApplication.go.snap b/service/robomaker/snapshot/api_op_UpdateSimulationApplication.go.snap index 3c5748b0ec8..a7496994543 100644 --- a/service/robomaker/snapshot/api_op_UpdateSimulationApplication.go.snap +++ b/service/robomaker/snapshot/api_op_UpdateSimulationApplication.go.snap @@ -14,7 +14,6 @@ UpdateSimulationApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/robomaker/snapshot/api_op_UpdateWorldTemplate.go.snap b/service/robomaker/snapshot/api_op_UpdateWorldTemplate.go.snap index e02e3250bbf..b1da671dc49 100644 --- a/service/robomaker/snapshot/api_op_UpdateWorldTemplate.go.snap +++ b/service/robomaker/snapshot/api_op_UpdateWorldTemplate.go.snap @@ -14,7 +14,6 @@ UpdateWorldTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rolesanywhere/api_client.go b/service/rolesanywhere/api_client.go index f6eb06e6a72..729c5faebfe 100644 --- a/service/rolesanywhere/api_client.go +++ b/service/rolesanywhere/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/rolesanywhere/api_op_CreateProfile.go b/service/rolesanywhere/api_op_CreateProfile.go index 435488096f3..62798220b93 100644 --- a/service/rolesanywhere/api_op_CreateProfile.go +++ b/service/rolesanywhere/api_op_CreateProfile.go @@ -149,9 +149,6 @@ func (c *Client) addOperationCreateProfileMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_CreateTrustAnchor.go b/service/rolesanywhere/api_op_CreateTrustAnchor.go index 28f90ac84e0..0c0359651be 100644 --- a/service/rolesanywhere/api_op_CreateTrustAnchor.go +++ b/service/rolesanywhere/api_op_CreateTrustAnchor.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateTrustAnchorMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTrustAnchorValidationMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_DeleteAttributeMapping.go b/service/rolesanywhere/api_op_DeleteAttributeMapping.go index c0e6963b30a..e28b7b37152 100644 --- a/service/rolesanywhere/api_op_DeleteAttributeMapping.go +++ b/service/rolesanywhere/api_op_DeleteAttributeMapping.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteAttributeMappingMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAttributeMappingValidationMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_DeleteCrl.go b/service/rolesanywhere/api_op_DeleteCrl.go index 35fccd85b00..94f66b95061 100644 --- a/service/rolesanywhere/api_op_DeleteCrl.go +++ b/service/rolesanywhere/api_op_DeleteCrl.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteCrlMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCrlValidationMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_DeleteProfile.go b/service/rolesanywhere/api_op_DeleteProfile.go index 8e9bc3c8dcb..baf90233687 100644 --- a/service/rolesanywhere/api_op_DeleteProfile.go +++ b/service/rolesanywhere/api_op_DeleteProfile.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteProfileMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_DeleteTrustAnchor.go b/service/rolesanywhere/api_op_DeleteTrustAnchor.go index 04dc8cba9a1..50bd8b0ca93 100644 --- a/service/rolesanywhere/api_op_DeleteTrustAnchor.go +++ b/service/rolesanywhere/api_op_DeleteTrustAnchor.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteTrustAnchorMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTrustAnchorValidationMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_DisableCrl.go b/service/rolesanywhere/api_op_DisableCrl.go index 78f91f7c910..ddeba548a06 100644 --- a/service/rolesanywhere/api_op_DisableCrl.go +++ b/service/rolesanywhere/api_op_DisableCrl.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDisableCrlMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableCrlValidationMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_DisableProfile.go b/service/rolesanywhere/api_op_DisableProfile.go index c3e60908c80..4a1fd58ccac 100644 --- a/service/rolesanywhere/api_op_DisableProfile.go +++ b/service/rolesanywhere/api_op_DisableProfile.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDisableProfileMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_DisableTrustAnchor.go b/service/rolesanywhere/api_op_DisableTrustAnchor.go index 066d84e347e..388f27fdbad 100644 --- a/service/rolesanywhere/api_op_DisableTrustAnchor.go +++ b/service/rolesanywhere/api_op_DisableTrustAnchor.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDisableTrustAnchorMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableTrustAnchorValidationMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_EnableCrl.go b/service/rolesanywhere/api_op_EnableCrl.go index 4195a8abf54..8c9ccbb1496 100644 --- a/service/rolesanywhere/api_op_EnableCrl.go +++ b/service/rolesanywhere/api_op_EnableCrl.go @@ -118,9 +118,6 @@ func (c *Client) addOperationEnableCrlMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableCrlValidationMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_EnableProfile.go b/service/rolesanywhere/api_op_EnableProfile.go index 2b5be12a058..26e7541f622 100644 --- a/service/rolesanywhere/api_op_EnableProfile.go +++ b/service/rolesanywhere/api_op_EnableProfile.go @@ -114,9 +114,6 @@ func (c *Client) addOperationEnableProfileMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_EnableTrustAnchor.go b/service/rolesanywhere/api_op_EnableTrustAnchor.go index a247aa1211d..9aca9897bea 100644 --- a/service/rolesanywhere/api_op_EnableTrustAnchor.go +++ b/service/rolesanywhere/api_op_EnableTrustAnchor.go @@ -117,9 +117,6 @@ func (c *Client) addOperationEnableTrustAnchorMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableTrustAnchorValidationMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_GetCrl.go b/service/rolesanywhere/api_op_GetCrl.go index b90a64d36dd..a0ce057d798 100644 --- a/service/rolesanywhere/api_op_GetCrl.go +++ b/service/rolesanywhere/api_op_GetCrl.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetCrlMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCrlValidationMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_GetProfile.go b/service/rolesanywhere/api_op_GetProfile.go index 8d1b7461f90..31159df7063 100644 --- a/service/rolesanywhere/api_op_GetProfile.go +++ b/service/rolesanywhere/api_op_GetProfile.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetProfileMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_GetSubject.go b/service/rolesanywhere/api_op_GetSubject.go index e466a226071..7fed42c7b16 100644 --- a/service/rolesanywhere/api_op_GetSubject.go +++ b/service/rolesanywhere/api_op_GetSubject.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetSubjectMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSubjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_GetTrustAnchor.go b/service/rolesanywhere/api_op_GetTrustAnchor.go index 671558e9499..e1c0ce336e9 100644 --- a/service/rolesanywhere/api_op_GetTrustAnchor.go +++ b/service/rolesanywhere/api_op_GetTrustAnchor.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetTrustAnchorMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTrustAnchorValidationMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_ImportCrl.go b/service/rolesanywhere/api_op_ImportCrl.go index 36ca1697665..a61556282b6 100644 --- a/service/rolesanywhere/api_op_ImportCrl.go +++ b/service/rolesanywhere/api_op_ImportCrl.go @@ -137,9 +137,6 @@ func (c *Client) addOperationImportCrlMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportCrlValidationMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_ListCrls.go b/service/rolesanywhere/api_op_ListCrls.go index 82bb6ccf45e..dec379cb7ea 100644 --- a/service/rolesanywhere/api_op_ListCrls.go +++ b/service/rolesanywhere/api_op_ListCrls.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListCrlsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCrls(options.Region), middleware.Before); err != nil { return err } diff --git a/service/rolesanywhere/api_op_ListProfiles.go b/service/rolesanywhere/api_op_ListProfiles.go index fee08526e54..cae6c1e5f95 100644 --- a/service/rolesanywhere/api_op_ListProfiles.go +++ b/service/rolesanywhere/api_op_ListProfiles.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListProfilesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProfiles(options.Region), middleware.Before); err != nil { return err } diff --git a/service/rolesanywhere/api_op_ListSubjects.go b/service/rolesanywhere/api_op_ListSubjects.go index 3256b95fff2..642bc8b6a84 100644 --- a/service/rolesanywhere/api_op_ListSubjects.go +++ b/service/rolesanywhere/api_op_ListSubjects.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListSubjectsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSubjects(options.Region), middleware.Before); err != nil { return err } diff --git a/service/rolesanywhere/api_op_ListTagsForResource.go b/service/rolesanywhere/api_op_ListTagsForResource.go index 01899debb02..6102955d847 100644 --- a/service/rolesanywhere/api_op_ListTagsForResource.go +++ b/service/rolesanywhere/api_op_ListTagsForResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_ListTrustAnchors.go b/service/rolesanywhere/api_op_ListTrustAnchors.go index a23a3d94c87..4323a3562c6 100644 --- a/service/rolesanywhere/api_op_ListTrustAnchors.go +++ b/service/rolesanywhere/api_op_ListTrustAnchors.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListTrustAnchorsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTrustAnchors(options.Region), middleware.Before); err != nil { return err } diff --git a/service/rolesanywhere/api_op_PutAttributeMapping.go b/service/rolesanywhere/api_op_PutAttributeMapping.go index 0cc5a133600..5841f745256 100644 --- a/service/rolesanywhere/api_op_PutAttributeMapping.go +++ b/service/rolesanywhere/api_op_PutAttributeMapping.go @@ -126,9 +126,6 @@ func (c *Client) addOperationPutAttributeMappingMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutAttributeMappingValidationMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_PutNotificationSettings.go b/service/rolesanywhere/api_op_PutNotificationSettings.go index 895f7837f55..14660a48a1f 100644 --- a/service/rolesanywhere/api_op_PutNotificationSettings.go +++ b/service/rolesanywhere/api_op_PutNotificationSettings.go @@ -124,9 +124,6 @@ func (c *Client) addOperationPutNotificationSettingsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutNotificationSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_ResetNotificationSettings.go b/service/rolesanywhere/api_op_ResetNotificationSettings.go index 64e0b958a41..3a347101436 100644 --- a/service/rolesanywhere/api_op_ResetNotificationSettings.go +++ b/service/rolesanywhere/api_op_ResetNotificationSettings.go @@ -122,9 +122,6 @@ func (c *Client) addOperationResetNotificationSettingsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResetNotificationSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_TagResource.go b/service/rolesanywhere/api_op_TagResource.go index 8b01bf9a321..fa2e3e17dcb 100644 --- a/service/rolesanywhere/api_op_TagResource.go +++ b/service/rolesanywhere/api_op_TagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_UntagResource.go b/service/rolesanywhere/api_op_UntagResource.go index 53e9e84fe97..85f20e1b078 100644 --- a/service/rolesanywhere/api_op_UntagResource.go +++ b/service/rolesanywhere/api_op_UntagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_UpdateCrl.go b/service/rolesanywhere/api_op_UpdateCrl.go index 3c821a32a1e..f3633d1610e 100644 --- a/service/rolesanywhere/api_op_UpdateCrl.go +++ b/service/rolesanywhere/api_op_UpdateCrl.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateCrlMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCrlValidationMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_UpdateProfile.go b/service/rolesanywhere/api_op_UpdateProfile.go index a1f5e8fdd7f..3453d169bd2 100644 --- a/service/rolesanywhere/api_op_UpdateProfile.go +++ b/service/rolesanywhere/api_op_UpdateProfile.go @@ -141,9 +141,6 @@ func (c *Client) addOperationUpdateProfileMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/api_op_UpdateTrustAnchor.go b/service/rolesanywhere/api_op_UpdateTrustAnchor.go index 2f8a3dcf034..491943afaaa 100644 --- a/service/rolesanywhere/api_op_UpdateTrustAnchor.go +++ b/service/rolesanywhere/api_op_UpdateTrustAnchor.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateTrustAnchorMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTrustAnchorValidationMiddleware(stack); err != nil { return err } diff --git a/service/rolesanywhere/snapshot/api_op_CreateProfile.go.snap b/service/rolesanywhere/snapshot/api_op_CreateProfile.go.snap index 52f8dc07701..203875e8c2c 100644 --- a/service/rolesanywhere/snapshot/api_op_CreateProfile.go.snap +++ b/service/rolesanywhere/snapshot/api_op_CreateProfile.go.snap @@ -14,7 +14,6 @@ CreateProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rolesanywhere/snapshot/api_op_CreateTrustAnchor.go.snap b/service/rolesanywhere/snapshot/api_op_CreateTrustAnchor.go.snap index c3ecdebd68e..b0082cbbab9 100644 --- a/service/rolesanywhere/snapshot/api_op_CreateTrustAnchor.go.snap +++ b/service/rolesanywhere/snapshot/api_op_CreateTrustAnchor.go.snap @@ -14,7 +14,6 @@ CreateTrustAnchor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rolesanywhere/snapshot/api_op_DeleteAttributeMapping.go.snap b/service/rolesanywhere/snapshot/api_op_DeleteAttributeMapping.go.snap index 8e095453631..bea26569817 100644 --- a/service/rolesanywhere/snapshot/api_op_DeleteAttributeMapping.go.snap +++ b/service/rolesanywhere/snapshot/api_op_DeleteAttributeMapping.go.snap @@ -14,7 +14,6 @@ DeleteAttributeMapping Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rolesanywhere/snapshot/api_op_DeleteCrl.go.snap b/service/rolesanywhere/snapshot/api_op_DeleteCrl.go.snap index 58e87e52850..581bd9bbb3f 100644 --- a/service/rolesanywhere/snapshot/api_op_DeleteCrl.go.snap +++ b/service/rolesanywhere/snapshot/api_op_DeleteCrl.go.snap @@ -14,7 +14,6 @@ DeleteCrl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rolesanywhere/snapshot/api_op_DeleteProfile.go.snap b/service/rolesanywhere/snapshot/api_op_DeleteProfile.go.snap index 799e701b0b8..05282b5914c 100644 --- a/service/rolesanywhere/snapshot/api_op_DeleteProfile.go.snap +++ b/service/rolesanywhere/snapshot/api_op_DeleteProfile.go.snap @@ -14,7 +14,6 @@ DeleteProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rolesanywhere/snapshot/api_op_DeleteTrustAnchor.go.snap b/service/rolesanywhere/snapshot/api_op_DeleteTrustAnchor.go.snap index 28751f7184c..01bedcce2e3 100644 --- a/service/rolesanywhere/snapshot/api_op_DeleteTrustAnchor.go.snap +++ b/service/rolesanywhere/snapshot/api_op_DeleteTrustAnchor.go.snap @@ -14,7 +14,6 @@ DeleteTrustAnchor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rolesanywhere/snapshot/api_op_DisableCrl.go.snap b/service/rolesanywhere/snapshot/api_op_DisableCrl.go.snap index de6ecbc50a9..ab2c01b87ca 100644 --- a/service/rolesanywhere/snapshot/api_op_DisableCrl.go.snap +++ b/service/rolesanywhere/snapshot/api_op_DisableCrl.go.snap @@ -14,7 +14,6 @@ DisableCrl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rolesanywhere/snapshot/api_op_DisableProfile.go.snap b/service/rolesanywhere/snapshot/api_op_DisableProfile.go.snap index b4afb1c25ee..adf030fea09 100644 --- a/service/rolesanywhere/snapshot/api_op_DisableProfile.go.snap +++ b/service/rolesanywhere/snapshot/api_op_DisableProfile.go.snap @@ -14,7 +14,6 @@ DisableProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rolesanywhere/snapshot/api_op_DisableTrustAnchor.go.snap b/service/rolesanywhere/snapshot/api_op_DisableTrustAnchor.go.snap index e2e0be83c9b..2e0664a32cd 100644 --- a/service/rolesanywhere/snapshot/api_op_DisableTrustAnchor.go.snap +++ b/service/rolesanywhere/snapshot/api_op_DisableTrustAnchor.go.snap @@ -14,7 +14,6 @@ DisableTrustAnchor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rolesanywhere/snapshot/api_op_EnableCrl.go.snap b/service/rolesanywhere/snapshot/api_op_EnableCrl.go.snap index 0764c769b14..f00f1cc87f7 100644 --- a/service/rolesanywhere/snapshot/api_op_EnableCrl.go.snap +++ b/service/rolesanywhere/snapshot/api_op_EnableCrl.go.snap @@ -14,7 +14,6 @@ EnableCrl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rolesanywhere/snapshot/api_op_EnableProfile.go.snap b/service/rolesanywhere/snapshot/api_op_EnableProfile.go.snap index 9a40cc3f53a..3af66cf14ea 100644 --- a/service/rolesanywhere/snapshot/api_op_EnableProfile.go.snap +++ b/service/rolesanywhere/snapshot/api_op_EnableProfile.go.snap @@ -14,7 +14,6 @@ EnableProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rolesanywhere/snapshot/api_op_EnableTrustAnchor.go.snap b/service/rolesanywhere/snapshot/api_op_EnableTrustAnchor.go.snap index b54b6cbe934..269335f4aff 100644 --- a/service/rolesanywhere/snapshot/api_op_EnableTrustAnchor.go.snap +++ b/service/rolesanywhere/snapshot/api_op_EnableTrustAnchor.go.snap @@ -14,7 +14,6 @@ EnableTrustAnchor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rolesanywhere/snapshot/api_op_GetCrl.go.snap b/service/rolesanywhere/snapshot/api_op_GetCrl.go.snap index d39ba251086..2ad73da53cb 100644 --- a/service/rolesanywhere/snapshot/api_op_GetCrl.go.snap +++ b/service/rolesanywhere/snapshot/api_op_GetCrl.go.snap @@ -14,7 +14,6 @@ GetCrl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rolesanywhere/snapshot/api_op_GetProfile.go.snap b/service/rolesanywhere/snapshot/api_op_GetProfile.go.snap index b0b71d50a56..67bf1a1e445 100644 --- a/service/rolesanywhere/snapshot/api_op_GetProfile.go.snap +++ b/service/rolesanywhere/snapshot/api_op_GetProfile.go.snap @@ -14,7 +14,6 @@ GetProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rolesanywhere/snapshot/api_op_GetSubject.go.snap b/service/rolesanywhere/snapshot/api_op_GetSubject.go.snap index 8fa492aa0e7..16ddc0096d4 100644 --- a/service/rolesanywhere/snapshot/api_op_GetSubject.go.snap +++ b/service/rolesanywhere/snapshot/api_op_GetSubject.go.snap @@ -14,7 +14,6 @@ GetSubject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rolesanywhere/snapshot/api_op_GetTrustAnchor.go.snap b/service/rolesanywhere/snapshot/api_op_GetTrustAnchor.go.snap index ce3398dfabb..6f53961ed71 100644 --- a/service/rolesanywhere/snapshot/api_op_GetTrustAnchor.go.snap +++ b/service/rolesanywhere/snapshot/api_op_GetTrustAnchor.go.snap @@ -14,7 +14,6 @@ GetTrustAnchor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rolesanywhere/snapshot/api_op_ImportCrl.go.snap b/service/rolesanywhere/snapshot/api_op_ImportCrl.go.snap index 2d7d90c78b2..9a01149bab6 100644 --- a/service/rolesanywhere/snapshot/api_op_ImportCrl.go.snap +++ b/service/rolesanywhere/snapshot/api_op_ImportCrl.go.snap @@ -14,7 +14,6 @@ ImportCrl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rolesanywhere/snapshot/api_op_ListCrls.go.snap b/service/rolesanywhere/snapshot/api_op_ListCrls.go.snap index f9e03094726..88858ca0b73 100644 --- a/service/rolesanywhere/snapshot/api_op_ListCrls.go.snap +++ b/service/rolesanywhere/snapshot/api_op_ListCrls.go.snap @@ -13,7 +13,6 @@ ListCrls Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rolesanywhere/snapshot/api_op_ListProfiles.go.snap b/service/rolesanywhere/snapshot/api_op_ListProfiles.go.snap index 630e6c9bc09..5606d9bd3a7 100644 --- a/service/rolesanywhere/snapshot/api_op_ListProfiles.go.snap +++ b/service/rolesanywhere/snapshot/api_op_ListProfiles.go.snap @@ -13,7 +13,6 @@ ListProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rolesanywhere/snapshot/api_op_ListSubjects.go.snap b/service/rolesanywhere/snapshot/api_op_ListSubjects.go.snap index 77348f39722..82b445a6305 100644 --- a/service/rolesanywhere/snapshot/api_op_ListSubjects.go.snap +++ b/service/rolesanywhere/snapshot/api_op_ListSubjects.go.snap @@ -13,7 +13,6 @@ ListSubjects Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rolesanywhere/snapshot/api_op_ListTagsForResource.go.snap b/service/rolesanywhere/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/rolesanywhere/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/rolesanywhere/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rolesanywhere/snapshot/api_op_ListTrustAnchors.go.snap b/service/rolesanywhere/snapshot/api_op_ListTrustAnchors.go.snap index 0586b6dd93e..8c284723943 100644 --- a/service/rolesanywhere/snapshot/api_op_ListTrustAnchors.go.snap +++ b/service/rolesanywhere/snapshot/api_op_ListTrustAnchors.go.snap @@ -13,7 +13,6 @@ ListTrustAnchors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rolesanywhere/snapshot/api_op_PutAttributeMapping.go.snap b/service/rolesanywhere/snapshot/api_op_PutAttributeMapping.go.snap index 7e5d3978ffa..31c8c81b298 100644 --- a/service/rolesanywhere/snapshot/api_op_PutAttributeMapping.go.snap +++ b/service/rolesanywhere/snapshot/api_op_PutAttributeMapping.go.snap @@ -14,7 +14,6 @@ PutAttributeMapping Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rolesanywhere/snapshot/api_op_PutNotificationSettings.go.snap b/service/rolesanywhere/snapshot/api_op_PutNotificationSettings.go.snap index 2855f9ecbf6..bd4c22e817d 100644 --- a/service/rolesanywhere/snapshot/api_op_PutNotificationSettings.go.snap +++ b/service/rolesanywhere/snapshot/api_op_PutNotificationSettings.go.snap @@ -14,7 +14,6 @@ PutNotificationSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rolesanywhere/snapshot/api_op_ResetNotificationSettings.go.snap b/service/rolesanywhere/snapshot/api_op_ResetNotificationSettings.go.snap index 9140c07eca8..b41b00fd9e8 100644 --- a/service/rolesanywhere/snapshot/api_op_ResetNotificationSettings.go.snap +++ b/service/rolesanywhere/snapshot/api_op_ResetNotificationSettings.go.snap @@ -14,7 +14,6 @@ ResetNotificationSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rolesanywhere/snapshot/api_op_TagResource.go.snap b/service/rolesanywhere/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/rolesanywhere/snapshot/api_op_TagResource.go.snap +++ b/service/rolesanywhere/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rolesanywhere/snapshot/api_op_UntagResource.go.snap b/service/rolesanywhere/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/rolesanywhere/snapshot/api_op_UntagResource.go.snap +++ b/service/rolesanywhere/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rolesanywhere/snapshot/api_op_UpdateCrl.go.snap b/service/rolesanywhere/snapshot/api_op_UpdateCrl.go.snap index a0e1cdd4c76..480214d7a4a 100644 --- a/service/rolesanywhere/snapshot/api_op_UpdateCrl.go.snap +++ b/service/rolesanywhere/snapshot/api_op_UpdateCrl.go.snap @@ -14,7 +14,6 @@ UpdateCrl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rolesanywhere/snapshot/api_op_UpdateProfile.go.snap b/service/rolesanywhere/snapshot/api_op_UpdateProfile.go.snap index f4e607b39cf..d65b51d1ab2 100644 --- a/service/rolesanywhere/snapshot/api_op_UpdateProfile.go.snap +++ b/service/rolesanywhere/snapshot/api_op_UpdateProfile.go.snap @@ -14,7 +14,6 @@ UpdateProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rolesanywhere/snapshot/api_op_UpdateTrustAnchor.go.snap b/service/rolesanywhere/snapshot/api_op_UpdateTrustAnchor.go.snap index afbda4bcbf4..a4f4217beb0 100644 --- a/service/rolesanywhere/snapshot/api_op_UpdateTrustAnchor.go.snap +++ b/service/rolesanywhere/snapshot/api_op_UpdateTrustAnchor.go.snap @@ -14,7 +14,6 @@ UpdateTrustAnchor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/api_client.go b/service/route53/api_client.go index 67d8d8d9dc0..647622a7d70 100644 --- a/service/route53/api_client.go +++ b/service/route53/api_client.go @@ -763,37 +763,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/route53/api_op_ActivateKeySigningKey.go b/service/route53/api_op_ActivateKeySigningKey.go index 58336b44afe..f882305c0d2 100644 --- a/service/route53/api_op_ActivateKeySigningKey.go +++ b/service/route53/api_op_ActivateKeySigningKey.go @@ -123,9 +123,6 @@ func (c *Client) addOperationActivateKeySigningKeyMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpActivateKeySigningKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_AssociateVPCWithHostedZone.go b/service/route53/api_op_AssociateVPCWithHostedZone.go index c9a13d1460c..924cd72728b 100644 --- a/service/route53/api_op_AssociateVPCWithHostedZone.go +++ b/service/route53/api_op_AssociateVPCWithHostedZone.go @@ -156,9 +156,6 @@ func (c *Client) addOperationAssociateVPCWithHostedZoneMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateVPCWithHostedZoneValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ChangeCidrCollection.go b/service/route53/api_op_ChangeCidrCollection.go index b4fe0e67316..5cb4cd32534 100644 --- a/service/route53/api_op_ChangeCidrCollection.go +++ b/service/route53/api_op_ChangeCidrCollection.go @@ -155,9 +155,6 @@ func (c *Client) addOperationChangeCidrCollectionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpChangeCidrCollectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ChangeResourceRecordSets.go b/service/route53/api_op_ChangeResourceRecordSets.go index 929a3712a9e..8fb310831ad 100644 --- a/service/route53/api_op_ChangeResourceRecordSets.go +++ b/service/route53/api_op_ChangeResourceRecordSets.go @@ -210,9 +210,6 @@ func (c *Client) addOperationChangeResourceRecordSetsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpChangeResourceRecordSetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ChangeTagsForResource.go b/service/route53/api_op_ChangeTagsForResource.go index cfb3c0f1b28..1d422974aa4 100644 --- a/service/route53/api_op_ChangeTagsForResource.go +++ b/service/route53/api_op_ChangeTagsForResource.go @@ -136,9 +136,6 @@ func (c *Client) addOperationChangeTagsForResourceMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpChangeTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_CreateCidrCollection.go b/service/route53/api_op_CreateCidrCollection.go index 3a7519bf050..cf8f5b2ca50 100644 --- a/service/route53/api_op_CreateCidrCollection.go +++ b/service/route53/api_op_CreateCidrCollection.go @@ -123,9 +123,6 @@ func (c *Client) addOperationCreateCidrCollectionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCidrCollectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_CreateHealthCheck.go b/service/route53/api_op_CreateHealthCheck.go index ce487081867..e4dc8058cc9 100644 --- a/service/route53/api_op_CreateHealthCheck.go +++ b/service/route53/api_op_CreateHealthCheck.go @@ -182,9 +182,6 @@ func (c *Client) addOperationCreateHealthCheckMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateHealthCheckValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_CreateHostedZone.go b/service/route53/api_op_CreateHostedZone.go index 082d9c51a37..77626381a3b 100644 --- a/service/route53/api_op_CreateHostedZone.go +++ b/service/route53/api_op_CreateHostedZone.go @@ -245,9 +245,6 @@ func (c *Client) addOperationCreateHostedZoneMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateHostedZoneValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_CreateKeySigningKey.go b/service/route53/api_op_CreateKeySigningKey.go index 9bd10010453..de39a3bc4d9 100644 --- a/service/route53/api_op_CreateKeySigningKey.go +++ b/service/route53/api_op_CreateKeySigningKey.go @@ -177,9 +177,6 @@ func (c *Client) addOperationCreateKeySigningKeyMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateKeySigningKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_CreateQueryLoggingConfig.go b/service/route53/api_op_CreateQueryLoggingConfig.go index c9a1e62cd7b..bce958b3799 100644 --- a/service/route53/api_op_CreateQueryLoggingConfig.go +++ b/service/route53/api_op_CreateQueryLoggingConfig.go @@ -252,9 +252,6 @@ func (c *Client) addOperationCreateQueryLoggingConfigMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateQueryLoggingConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_CreateReusableDelegationSet.go b/service/route53/api_op_CreateReusableDelegationSet.go index 28b9155f475..e4c18cb9900 100644 --- a/service/route53/api_op_CreateReusableDelegationSet.go +++ b/service/route53/api_op_CreateReusableDelegationSet.go @@ -173,9 +173,6 @@ func (c *Client) addOperationCreateReusableDelegationSetMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateReusableDelegationSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_CreateTrafficPolicy.go b/service/route53/api_op_CreateTrafficPolicy.go index 562b13a44dd..4aa5661e0c7 100644 --- a/service/route53/api_op_CreateTrafficPolicy.go +++ b/service/route53/api_op_CreateTrafficPolicy.go @@ -136,9 +136,6 @@ func (c *Client) addOperationCreateTrafficPolicyMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTrafficPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_CreateTrafficPolicyInstance.go b/service/route53/api_op_CreateTrafficPolicyInstance.go index 3b992e8afbf..51d2b5a6d6d 100644 --- a/service/route53/api_op_CreateTrafficPolicyInstance.go +++ b/service/route53/api_op_CreateTrafficPolicyInstance.go @@ -160,9 +160,6 @@ func (c *Client) addOperationCreateTrafficPolicyInstanceMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTrafficPolicyInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_CreateTrafficPolicyVersion.go b/service/route53/api_op_CreateTrafficPolicyVersion.go index bc4ed49fff1..03341000125 100644 --- a/service/route53/api_op_CreateTrafficPolicyVersion.go +++ b/service/route53/api_op_CreateTrafficPolicyVersion.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCreateTrafficPolicyVersionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTrafficPolicyVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_CreateVPCAssociationAuthorization.go b/service/route53/api_op_CreateVPCAssociationAuthorization.go index 0718b29984a..14146181078 100644 --- a/service/route53/api_op_CreateVPCAssociationAuthorization.go +++ b/service/route53/api_op_CreateVPCAssociationAuthorization.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreateVPCAssociationAuthorizationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVPCAssociationAuthorizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_DeactivateKeySigningKey.go b/service/route53/api_op_DeactivateKeySigningKey.go index 9cf60eaddc6..302c69b3eed 100644 --- a/service/route53/api_op_DeactivateKeySigningKey.go +++ b/service/route53/api_op_DeactivateKeySigningKey.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeactivateKeySigningKeyMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeactivateKeySigningKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_DeleteCidrCollection.go b/service/route53/api_op_DeleteCidrCollection.go index a1627f1f692..d109c45aa02 100644 --- a/service/route53/api_op_DeleteCidrCollection.go +++ b/service/route53/api_op_DeleteCidrCollection.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteCidrCollectionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCidrCollectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_DeleteHealthCheck.go b/service/route53/api_op_DeleteHealthCheck.go index 0312425e770..2db99e1b223 100644 --- a/service/route53/api_op_DeleteHealthCheck.go +++ b/service/route53/api_op_DeleteHealthCheck.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteHealthCheckMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteHealthCheckValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_DeleteHostedZone.go b/service/route53/api_op_DeleteHostedZone.go index 9e9ad860efe..4cd6a4bb5ac 100644 --- a/service/route53/api_op_DeleteHostedZone.go +++ b/service/route53/api_op_DeleteHostedZone.go @@ -162,9 +162,6 @@ func (c *Client) addOperationDeleteHostedZoneMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteHostedZoneValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_DeleteKeySigningKey.go b/service/route53/api_op_DeleteKeySigningKey.go index b74b59baf8c..b6ca56ece82 100644 --- a/service/route53/api_op_DeleteKeySigningKey.go +++ b/service/route53/api_op_DeleteKeySigningKey.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDeleteKeySigningKeyMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteKeySigningKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_DeleteQueryLoggingConfig.go b/service/route53/api_op_DeleteQueryLoggingConfig.go index 1ae3c0523d7..bf25b8ae384 100644 --- a/service/route53/api_op_DeleteQueryLoggingConfig.go +++ b/service/route53/api_op_DeleteQueryLoggingConfig.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteQueryLoggingConfigMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteQueryLoggingConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_DeleteReusableDelegationSet.go b/service/route53/api_op_DeleteReusableDelegationSet.go index 2042cbde3b2..34b2b70a56e 100644 --- a/service/route53/api_op_DeleteReusableDelegationSet.go +++ b/service/route53/api_op_DeleteReusableDelegationSet.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteReusableDelegationSetMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteReusableDelegationSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_DeleteTrafficPolicy.go b/service/route53/api_op_DeleteTrafficPolicy.go index fffcebc7589..bc6f8a6a1cd 100644 --- a/service/route53/api_op_DeleteTrafficPolicy.go +++ b/service/route53/api_op_DeleteTrafficPolicy.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteTrafficPolicyMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTrafficPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_DeleteTrafficPolicyInstance.go b/service/route53/api_op_DeleteTrafficPolicyInstance.go index 28aa613515e..e4f43ba2db2 100644 --- a/service/route53/api_op_DeleteTrafficPolicyInstance.go +++ b/service/route53/api_op_DeleteTrafficPolicyInstance.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteTrafficPolicyInstanceMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTrafficPolicyInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_DeleteVPCAssociationAuthorization.go b/service/route53/api_op_DeleteVPCAssociationAuthorization.go index a1592d61edc..14bbba698f5 100644 --- a/service/route53/api_op_DeleteVPCAssociationAuthorization.go +++ b/service/route53/api_op_DeleteVPCAssociationAuthorization.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDeleteVPCAssociationAuthorizationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVPCAssociationAuthorizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_DisableHostedZoneDNSSEC.go b/service/route53/api_op_DisableHostedZoneDNSSEC.go index fd5224ac21f..516ec062f53 100644 --- a/service/route53/api_op_DisableHostedZoneDNSSEC.go +++ b/service/route53/api_op_DisableHostedZoneDNSSEC.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDisableHostedZoneDNSSECMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableHostedZoneDNSSECValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_DisassociateVPCFromHostedZone.go b/service/route53/api_op_DisassociateVPCFromHostedZone.go index bb4ad4ca7ff..72693810c4e 100644 --- a/service/route53/api_op_DisassociateVPCFromHostedZone.go +++ b/service/route53/api_op_DisassociateVPCFromHostedZone.go @@ -164,9 +164,6 @@ func (c *Client) addOperationDisassociateVPCFromHostedZoneMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateVPCFromHostedZoneValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_EnableHostedZoneDNSSEC.go b/service/route53/api_op_EnableHostedZoneDNSSEC.go index 392b0fa1c7d..cf4848e4745 100644 --- a/service/route53/api_op_EnableHostedZoneDNSSEC.go +++ b/service/route53/api_op_EnableHostedZoneDNSSEC.go @@ -115,9 +115,6 @@ func (c *Client) addOperationEnableHostedZoneDNSSECMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableHostedZoneDNSSECValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_GetAccountLimit.go b/service/route53/api_op_GetAccountLimit.go index d88a953fcc6..eb354becf36 100644 --- a/service/route53/api_op_GetAccountLimit.go +++ b/service/route53/api_op_GetAccountLimit.go @@ -157,9 +157,6 @@ func (c *Client) addOperationGetAccountLimitMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAccountLimitValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_GetChange.go b/service/route53/api_op_GetChange.go index b58ab023505..f484336ac5d 100644 --- a/service/route53/api_op_GetChange.go +++ b/service/route53/api_op_GetChange.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGetChangeMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetChangeValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_GetCheckerIpRanges.go b/service/route53/api_op_GetCheckerIpRanges.go index 715e3d58af8..abff6565bc5 100644 --- a/service/route53/api_op_GetCheckerIpRanges.go +++ b/service/route53/api_op_GetCheckerIpRanges.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetCheckerIpRangesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCheckerIpRanges(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53/api_op_GetDNSSEC.go b/service/route53/api_op_GetDNSSEC.go index df3866f0b81..9d328164b6b 100644 --- a/service/route53/api_op_GetDNSSEC.go +++ b/service/route53/api_op_GetDNSSEC.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetDNSSECMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDNSSECValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_GetGeoLocation.go b/service/route53/api_op_GetGeoLocation.go index ed62b1c0b3a..abfb68dc96a 100644 --- a/service/route53/api_op_GetGeoLocation.go +++ b/service/route53/api_op_GetGeoLocation.go @@ -168,9 +168,6 @@ func (c *Client) addOperationGetGeoLocationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGeoLocation(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53/api_op_GetHealthCheck.go b/service/route53/api_op_GetHealthCheck.go index 0d9ed73268a..f7ef5bfa4fb 100644 --- a/service/route53/api_op_GetHealthCheck.go +++ b/service/route53/api_op_GetHealthCheck.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetHealthCheckMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetHealthCheckValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_GetHealthCheckCount.go b/service/route53/api_op_GetHealthCheckCount.go index a5b89315ede..1f308821591 100644 --- a/service/route53/api_op_GetHealthCheckCount.go +++ b/service/route53/api_op_GetHealthCheckCount.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetHealthCheckCountMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetHealthCheckCount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53/api_op_GetHealthCheckLastFailureReason.go b/service/route53/api_op_GetHealthCheckLastFailureReason.go index 2d7816d27bb..d5054e29dd0 100644 --- a/service/route53/api_op_GetHealthCheckLastFailureReason.go +++ b/service/route53/api_op_GetHealthCheckLastFailureReason.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetHealthCheckLastFailureReasonMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetHealthCheckLastFailureReasonValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_GetHealthCheckStatus.go b/service/route53/api_op_GetHealthCheckStatus.go index c4db15a9d5b..2b58cb21799 100644 --- a/service/route53/api_op_GetHealthCheckStatus.go +++ b/service/route53/api_op_GetHealthCheckStatus.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetHealthCheckStatusMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetHealthCheckStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_GetHostedZone.go b/service/route53/api_op_GetHostedZone.go index dab7194fd05..40422e1bcbc 100644 --- a/service/route53/api_op_GetHostedZone.go +++ b/service/route53/api_op_GetHostedZone.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetHostedZoneMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetHostedZoneValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_GetHostedZoneCount.go b/service/route53/api_op_GetHostedZoneCount.go index d92408f0402..f2b1d9ab1be 100644 --- a/service/route53/api_op_GetHostedZoneCount.go +++ b/service/route53/api_op_GetHostedZoneCount.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetHostedZoneCountMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetHostedZoneCount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53/api_op_GetHostedZoneLimit.go b/service/route53/api_op_GetHostedZoneLimit.go index 0edb1590bb2..d184f1c949c 100644 --- a/service/route53/api_op_GetHostedZoneLimit.go +++ b/service/route53/api_op_GetHostedZoneLimit.go @@ -145,9 +145,6 @@ func (c *Client) addOperationGetHostedZoneLimitMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetHostedZoneLimitValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_GetQueryLoggingConfig.go b/service/route53/api_op_GetQueryLoggingConfig.go index 585a4b67860..5c750583cb2 100644 --- a/service/route53/api_op_GetQueryLoggingConfig.go +++ b/service/route53/api_op_GetQueryLoggingConfig.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetQueryLoggingConfigMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetQueryLoggingConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_GetReusableDelegationSet.go b/service/route53/api_op_GetReusableDelegationSet.go index d8052e8272b..4912bff7f06 100644 --- a/service/route53/api_op_GetReusableDelegationSet.go +++ b/service/route53/api_op_GetReusableDelegationSet.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetReusableDelegationSetMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetReusableDelegationSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_GetReusableDelegationSetLimit.go b/service/route53/api_op_GetReusableDelegationSetLimit.go index 7b211ae1879..76fbedbfc71 100644 --- a/service/route53/api_op_GetReusableDelegationSetLimit.go +++ b/service/route53/api_op_GetReusableDelegationSetLimit.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGetReusableDelegationSetLimitMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetReusableDelegationSetLimitValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_GetTrafficPolicy.go b/service/route53/api_op_GetTrafficPolicy.go index 360b6109e3b..dd27d219d7c 100644 --- a/service/route53/api_op_GetTrafficPolicy.go +++ b/service/route53/api_op_GetTrafficPolicy.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetTrafficPolicyMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTrafficPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_GetTrafficPolicyInstance.go b/service/route53/api_op_GetTrafficPolicyInstance.go index 81c8bef4f48..be8b4d84679 100644 --- a/service/route53/api_op_GetTrafficPolicyInstance.go +++ b/service/route53/api_op_GetTrafficPolicyInstance.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetTrafficPolicyInstanceMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTrafficPolicyInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_GetTrafficPolicyInstanceCount.go b/service/route53/api_op_GetTrafficPolicyInstanceCount.go index 4031c106324..e3b02bd34c8 100644 --- a/service/route53/api_op_GetTrafficPolicyInstanceCount.go +++ b/service/route53/api_op_GetTrafficPolicyInstanceCount.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetTrafficPolicyInstanceCountMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTrafficPolicyInstanceCount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53/api_op_ListCidrBlocks.go b/service/route53/api_op_ListCidrBlocks.go index 6ed9426b8d9..4a345f068d9 100644 --- a/service/route53/api_op_ListCidrBlocks.go +++ b/service/route53/api_op_ListCidrBlocks.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListCidrBlocksMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCidrBlocksValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ListCidrCollections.go b/service/route53/api_op_ListCidrCollections.go index a5b1c1c31a8..96c65a1460a 100644 --- a/service/route53/api_op_ListCidrCollections.go +++ b/service/route53/api_op_ListCidrCollections.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListCidrCollectionsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCidrCollections(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53/api_op_ListCidrLocations.go b/service/route53/api_op_ListCidrLocations.go index 2dd14530502..ff03daa7a13 100644 --- a/service/route53/api_op_ListCidrLocations.go +++ b/service/route53/api_op_ListCidrLocations.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListCidrLocationsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCidrLocationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ListGeoLocations.go b/service/route53/api_op_ListGeoLocations.go index d90bb2dab24..fc762e025a6 100644 --- a/service/route53/api_op_ListGeoLocations.go +++ b/service/route53/api_op_ListGeoLocations.go @@ -187,9 +187,6 @@ func (c *Client) addOperationListGeoLocationsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGeoLocations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53/api_op_ListHealthChecks.go b/service/route53/api_op_ListHealthChecks.go index e3660a55f34..f8a020b1f0e 100644 --- a/service/route53/api_op_ListHealthChecks.go +++ b/service/route53/api_op_ListHealthChecks.go @@ -156,9 +156,6 @@ func (c *Client) addOperationListHealthChecksMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHealthChecks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53/api_op_ListHostedZones.go b/service/route53/api_op_ListHostedZones.go index 08dfbc407d0..8e23147741e 100644 --- a/service/route53/api_op_ListHostedZones.go +++ b/service/route53/api_op_ListHostedZones.go @@ -170,9 +170,6 @@ func (c *Client) addOperationListHostedZonesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHostedZones(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53/api_op_ListHostedZonesByName.go b/service/route53/api_op_ListHostedZonesByName.go index 8d21d9b3de4..8e657e98a97 100644 --- a/service/route53/api_op_ListHostedZonesByName.go +++ b/service/route53/api_op_ListHostedZonesByName.go @@ -227,9 +227,6 @@ func (c *Client) addOperationListHostedZonesByNameMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHostedZonesByName(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53/api_op_ListHostedZonesByVPC.go b/service/route53/api_op_ListHostedZonesByVPC.go index dbb64a3267b..c9c128ef787 100644 --- a/service/route53/api_op_ListHostedZonesByVPC.go +++ b/service/route53/api_op_ListHostedZonesByVPC.go @@ -187,9 +187,6 @@ func (c *Client) addOperationListHostedZonesByVPCMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListHostedZonesByVPCValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ListQueryLoggingConfigs.go b/service/route53/api_op_ListQueryLoggingConfigs.go index 3975c022abb..3414de06d14 100644 --- a/service/route53/api_op_ListQueryLoggingConfigs.go +++ b/service/route53/api_op_ListQueryLoggingConfigs.go @@ -162,9 +162,6 @@ func (c *Client) addOperationListQueryLoggingConfigsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListQueryLoggingConfigs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53/api_op_ListResourceRecordSets.go b/service/route53/api_op_ListResourceRecordSets.go index d76470669ec..e88da22c39d 100644 --- a/service/route53/api_op_ListResourceRecordSets.go +++ b/service/route53/api_op_ListResourceRecordSets.go @@ -255,9 +255,6 @@ func (c *Client) addOperationListResourceRecordSetsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListResourceRecordSetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ListReusableDelegationSets.go b/service/route53/api_op_ListReusableDelegationSets.go index 04cad95c8e8..ccb49e91d07 100644 --- a/service/route53/api_op_ListReusableDelegationSets.go +++ b/service/route53/api_op_ListReusableDelegationSets.go @@ -157,9 +157,6 @@ func (c *Client) addOperationListReusableDelegationSetsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReusableDelegationSets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53/api_op_ListTagsForResource.go b/service/route53/api_op_ListTagsForResource.go index bd140a064ed..11183cc0721 100644 --- a/service/route53/api_op_ListTagsForResource.go +++ b/service/route53/api_op_ListTagsForResource.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ListTagsForResources.go b/service/route53/api_op_ListTagsForResources.go index 235ca7dbf4a..8ddd20d158f 100644 --- a/service/route53/api_op_ListTagsForResources.go +++ b/service/route53/api_op_ListTagsForResources.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListTagsForResourcesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ListTrafficPolicies.go b/service/route53/api_op_ListTrafficPolicies.go index f0abfaf2db8..dcf77508bbb 100644 --- a/service/route53/api_op_ListTrafficPolicies.go +++ b/service/route53/api_op_ListTrafficPolicies.go @@ -158,9 +158,6 @@ func (c *Client) addOperationListTrafficPoliciesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTrafficPolicies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53/api_op_ListTrafficPolicyInstances.go b/service/route53/api_op_ListTrafficPolicyInstances.go index ed274ad12c2..67260646206 100644 --- a/service/route53/api_op_ListTrafficPolicyInstances.go +++ b/service/route53/api_op_ListTrafficPolicyInstances.go @@ -195,9 +195,6 @@ func (c *Client) addOperationListTrafficPolicyInstancesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTrafficPolicyInstances(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53/api_op_ListTrafficPolicyInstancesByHostedZone.go b/service/route53/api_op_ListTrafficPolicyInstancesByHostedZone.go index 0dfbf18ef5d..42049ae69ed 100644 --- a/service/route53/api_op_ListTrafficPolicyInstancesByHostedZone.go +++ b/service/route53/api_op_ListTrafficPolicyInstancesByHostedZone.go @@ -184,9 +184,6 @@ func (c *Client) addOperationListTrafficPolicyInstancesByHostedZoneMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTrafficPolicyInstancesByHostedZoneValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ListTrafficPolicyInstancesByPolicy.go b/service/route53/api_op_ListTrafficPolicyInstancesByPolicy.go index d262faa582c..421c8858863 100644 --- a/service/route53/api_op_ListTrafficPolicyInstancesByPolicy.go +++ b/service/route53/api_op_ListTrafficPolicyInstancesByPolicy.go @@ -212,9 +212,6 @@ func (c *Client) addOperationListTrafficPolicyInstancesByPolicyMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTrafficPolicyInstancesByPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ListTrafficPolicyVersions.go b/service/route53/api_op_ListTrafficPolicyVersions.go index 0af1816a981..f7924e7fd82 100644 --- a/service/route53/api_op_ListTrafficPolicyVersions.go +++ b/service/route53/api_op_ListTrafficPolicyVersions.go @@ -162,9 +162,6 @@ func (c *Client) addOperationListTrafficPolicyVersionsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTrafficPolicyVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_ListVPCAssociationAuthorizations.go b/service/route53/api_op_ListVPCAssociationAuthorizations.go index 8ef8b7b91de..f70c9805db1 100644 --- a/service/route53/api_op_ListVPCAssociationAuthorizations.go +++ b/service/route53/api_op_ListVPCAssociationAuthorizations.go @@ -147,9 +147,6 @@ func (c *Client) addOperationListVPCAssociationAuthorizationsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListVPCAssociationAuthorizationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_TestDNSAnswer.go b/service/route53/api_op_TestDNSAnswer.go index c251657b9de..c128176ed9e 100644 --- a/service/route53/api_op_TestDNSAnswer.go +++ b/service/route53/api_op_TestDNSAnswer.go @@ -196,9 +196,6 @@ func (c *Client) addOperationTestDNSAnswerMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTestDNSAnswerValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_UpdateHealthCheck.go b/service/route53/api_op_UpdateHealthCheck.go index 3309a057d9e..9d2d72c15af 100644 --- a/service/route53/api_op_UpdateHealthCheck.go +++ b/service/route53/api_op_UpdateHealthCheck.go @@ -400,9 +400,6 @@ func (c *Client) addOperationUpdateHealthCheckMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateHealthCheckValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_UpdateHostedZoneComment.go b/service/route53/api_op_UpdateHostedZoneComment.go index 856d0fc5d00..d0c40eb2914 100644 --- a/service/route53/api_op_UpdateHostedZoneComment.go +++ b/service/route53/api_op_UpdateHostedZoneComment.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateHostedZoneCommentMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateHostedZoneCommentValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_UpdateTrafficPolicyComment.go b/service/route53/api_op_UpdateTrafficPolicyComment.go index f832461607b..52f67a8f61e 100644 --- a/service/route53/api_op_UpdateTrafficPolicyComment.go +++ b/service/route53/api_op_UpdateTrafficPolicyComment.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateTrafficPolicyCommentMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTrafficPolicyCommentValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/api_op_UpdateTrafficPolicyInstance.go b/service/route53/api_op_UpdateTrafficPolicyInstance.go index a966db1cf23..abd79c36042 100644 --- a/service/route53/api_op_UpdateTrafficPolicyInstance.go +++ b/service/route53/api_op_UpdateTrafficPolicyInstance.go @@ -159,9 +159,6 @@ func (c *Client) addOperationUpdateTrafficPolicyInstanceMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTrafficPolicyInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53/snapshot/api_op_ActivateKeySigningKey.go.snap b/service/route53/snapshot/api_op_ActivateKeySigningKey.go.snap index 19a586379db..b408d10ffa9 100644 --- a/service/route53/snapshot/api_op_ActivateKeySigningKey.go.snap +++ b/service/route53/snapshot/api_op_ActivateKeySigningKey.go.snap @@ -15,7 +15,6 @@ ActivateKeySigningKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_AssociateVPCWithHostedZone.go.snap b/service/route53/snapshot/api_op_AssociateVPCWithHostedZone.go.snap index a288e917b0b..63defcbdf27 100644 --- a/service/route53/snapshot/api_op_AssociateVPCWithHostedZone.go.snap +++ b/service/route53/snapshot/api_op_AssociateVPCWithHostedZone.go.snap @@ -15,7 +15,6 @@ AssociateVPCWithHostedZone Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_ChangeCidrCollection.go.snap b/service/route53/snapshot/api_op_ChangeCidrCollection.go.snap index 06483512ff1..c7ac497687e 100644 --- a/service/route53/snapshot/api_op_ChangeCidrCollection.go.snap +++ b/service/route53/snapshot/api_op_ChangeCidrCollection.go.snap @@ -14,7 +14,6 @@ ChangeCidrCollection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_ChangeResourceRecordSets.go.snap b/service/route53/snapshot/api_op_ChangeResourceRecordSets.go.snap index 62ccab9d22b..1d90ad24d95 100644 --- a/service/route53/snapshot/api_op_ChangeResourceRecordSets.go.snap +++ b/service/route53/snapshot/api_op_ChangeResourceRecordSets.go.snap @@ -15,7 +15,6 @@ ChangeResourceRecordSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_ChangeTagsForResource.go.snap b/service/route53/snapshot/api_op_ChangeTagsForResource.go.snap index a7099ba4904..4dbf22bb02e 100644 --- a/service/route53/snapshot/api_op_ChangeTagsForResource.go.snap +++ b/service/route53/snapshot/api_op_ChangeTagsForResource.go.snap @@ -14,7 +14,6 @@ ChangeTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_CreateCidrCollection.go.snap b/service/route53/snapshot/api_op_CreateCidrCollection.go.snap index b04b7dcaa51..ced002d4ca3 100644 --- a/service/route53/snapshot/api_op_CreateCidrCollection.go.snap +++ b/service/route53/snapshot/api_op_CreateCidrCollection.go.snap @@ -14,7 +14,6 @@ CreateCidrCollection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_CreateHealthCheck.go.snap b/service/route53/snapshot/api_op_CreateHealthCheck.go.snap index 9308ccc0362..b08d380d0d3 100644 --- a/service/route53/snapshot/api_op_CreateHealthCheck.go.snap +++ b/service/route53/snapshot/api_op_CreateHealthCheck.go.snap @@ -14,7 +14,6 @@ CreateHealthCheck Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_CreateHostedZone.go.snap b/service/route53/snapshot/api_op_CreateHostedZone.go.snap index 8302412ab06..504f69a67b6 100644 --- a/service/route53/snapshot/api_op_CreateHostedZone.go.snap +++ b/service/route53/snapshot/api_op_CreateHostedZone.go.snap @@ -15,7 +15,6 @@ CreateHostedZone Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_CreateKeySigningKey.go.snap b/service/route53/snapshot/api_op_CreateKeySigningKey.go.snap index b0857d2d8a4..f507d8019f5 100644 --- a/service/route53/snapshot/api_op_CreateKeySigningKey.go.snap +++ b/service/route53/snapshot/api_op_CreateKeySigningKey.go.snap @@ -15,7 +15,6 @@ CreateKeySigningKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_CreateQueryLoggingConfig.go.snap b/service/route53/snapshot/api_op_CreateQueryLoggingConfig.go.snap index 218ced68bd2..be653cc9042 100644 --- a/service/route53/snapshot/api_op_CreateQueryLoggingConfig.go.snap +++ b/service/route53/snapshot/api_op_CreateQueryLoggingConfig.go.snap @@ -15,7 +15,6 @@ CreateQueryLoggingConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_CreateReusableDelegationSet.go.snap b/service/route53/snapshot/api_op_CreateReusableDelegationSet.go.snap index a976bccd7c2..ecdd50a4c14 100644 --- a/service/route53/snapshot/api_op_CreateReusableDelegationSet.go.snap +++ b/service/route53/snapshot/api_op_CreateReusableDelegationSet.go.snap @@ -15,7 +15,6 @@ CreateReusableDelegationSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_CreateTrafficPolicy.go.snap b/service/route53/snapshot/api_op_CreateTrafficPolicy.go.snap index 5770473cebb..05cfedec93c 100644 --- a/service/route53/snapshot/api_op_CreateTrafficPolicy.go.snap +++ b/service/route53/snapshot/api_op_CreateTrafficPolicy.go.snap @@ -14,7 +14,6 @@ CreateTrafficPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_CreateTrafficPolicyInstance.go.snap b/service/route53/snapshot/api_op_CreateTrafficPolicyInstance.go.snap index ef046b960c9..52e9ed5d31b 100644 --- a/service/route53/snapshot/api_op_CreateTrafficPolicyInstance.go.snap +++ b/service/route53/snapshot/api_op_CreateTrafficPolicyInstance.go.snap @@ -15,7 +15,6 @@ CreateTrafficPolicyInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_CreateTrafficPolicyVersion.go.snap b/service/route53/snapshot/api_op_CreateTrafficPolicyVersion.go.snap index 3b262c0173f..48a2b3b7132 100644 --- a/service/route53/snapshot/api_op_CreateTrafficPolicyVersion.go.snap +++ b/service/route53/snapshot/api_op_CreateTrafficPolicyVersion.go.snap @@ -14,7 +14,6 @@ CreateTrafficPolicyVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_CreateVPCAssociationAuthorization.go.snap b/service/route53/snapshot/api_op_CreateVPCAssociationAuthorization.go.snap index ae0ea7c02c6..6edc3305143 100644 --- a/service/route53/snapshot/api_op_CreateVPCAssociationAuthorization.go.snap +++ b/service/route53/snapshot/api_op_CreateVPCAssociationAuthorization.go.snap @@ -15,7 +15,6 @@ CreateVPCAssociationAuthorization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_DeactivateKeySigningKey.go.snap b/service/route53/snapshot/api_op_DeactivateKeySigningKey.go.snap index fdd0f266427..7ba24b6ed46 100644 --- a/service/route53/snapshot/api_op_DeactivateKeySigningKey.go.snap +++ b/service/route53/snapshot/api_op_DeactivateKeySigningKey.go.snap @@ -15,7 +15,6 @@ DeactivateKeySigningKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_DeleteCidrCollection.go.snap b/service/route53/snapshot/api_op_DeleteCidrCollection.go.snap index 03b3c2e7a9c..c73677018fe 100644 --- a/service/route53/snapshot/api_op_DeleteCidrCollection.go.snap +++ b/service/route53/snapshot/api_op_DeleteCidrCollection.go.snap @@ -14,7 +14,6 @@ DeleteCidrCollection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_DeleteHealthCheck.go.snap b/service/route53/snapshot/api_op_DeleteHealthCheck.go.snap index 4727b609ed0..19c8c802f96 100644 --- a/service/route53/snapshot/api_op_DeleteHealthCheck.go.snap +++ b/service/route53/snapshot/api_op_DeleteHealthCheck.go.snap @@ -14,7 +14,6 @@ DeleteHealthCheck Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_DeleteHostedZone.go.snap b/service/route53/snapshot/api_op_DeleteHostedZone.go.snap index 8d10e6d777b..4b91281bfc6 100644 --- a/service/route53/snapshot/api_op_DeleteHostedZone.go.snap +++ b/service/route53/snapshot/api_op_DeleteHostedZone.go.snap @@ -15,7 +15,6 @@ DeleteHostedZone Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_DeleteKeySigningKey.go.snap b/service/route53/snapshot/api_op_DeleteKeySigningKey.go.snap index 6be3fee2dc5..b49b6a2a3c4 100644 --- a/service/route53/snapshot/api_op_DeleteKeySigningKey.go.snap +++ b/service/route53/snapshot/api_op_DeleteKeySigningKey.go.snap @@ -15,7 +15,6 @@ DeleteKeySigningKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_DeleteQueryLoggingConfig.go.snap b/service/route53/snapshot/api_op_DeleteQueryLoggingConfig.go.snap index cc3ed302ab0..21227e91e5f 100644 --- a/service/route53/snapshot/api_op_DeleteQueryLoggingConfig.go.snap +++ b/service/route53/snapshot/api_op_DeleteQueryLoggingConfig.go.snap @@ -14,7 +14,6 @@ DeleteQueryLoggingConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_DeleteReusableDelegationSet.go.snap b/service/route53/snapshot/api_op_DeleteReusableDelegationSet.go.snap index 72632390038..89188e33d66 100644 --- a/service/route53/snapshot/api_op_DeleteReusableDelegationSet.go.snap +++ b/service/route53/snapshot/api_op_DeleteReusableDelegationSet.go.snap @@ -15,7 +15,6 @@ DeleteReusableDelegationSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_DeleteTrafficPolicy.go.snap b/service/route53/snapshot/api_op_DeleteTrafficPolicy.go.snap index 6817fbc4d96..07db0ec4602 100644 --- a/service/route53/snapshot/api_op_DeleteTrafficPolicy.go.snap +++ b/service/route53/snapshot/api_op_DeleteTrafficPolicy.go.snap @@ -14,7 +14,6 @@ DeleteTrafficPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_DeleteTrafficPolicyInstance.go.snap b/service/route53/snapshot/api_op_DeleteTrafficPolicyInstance.go.snap index dfc3f2c8f42..8f1045a0e0c 100644 --- a/service/route53/snapshot/api_op_DeleteTrafficPolicyInstance.go.snap +++ b/service/route53/snapshot/api_op_DeleteTrafficPolicyInstance.go.snap @@ -14,7 +14,6 @@ DeleteTrafficPolicyInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_DeleteVPCAssociationAuthorization.go.snap b/service/route53/snapshot/api_op_DeleteVPCAssociationAuthorization.go.snap index f5a73a25e9d..316deecff42 100644 --- a/service/route53/snapshot/api_op_DeleteVPCAssociationAuthorization.go.snap +++ b/service/route53/snapshot/api_op_DeleteVPCAssociationAuthorization.go.snap @@ -15,7 +15,6 @@ DeleteVPCAssociationAuthorization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_DisableHostedZoneDNSSEC.go.snap b/service/route53/snapshot/api_op_DisableHostedZoneDNSSEC.go.snap index 578728da086..1fd41749b25 100644 --- a/service/route53/snapshot/api_op_DisableHostedZoneDNSSEC.go.snap +++ b/service/route53/snapshot/api_op_DisableHostedZoneDNSSEC.go.snap @@ -15,7 +15,6 @@ DisableHostedZoneDNSSEC Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_DisassociateVPCFromHostedZone.go.snap b/service/route53/snapshot/api_op_DisassociateVPCFromHostedZone.go.snap index 247827a3a4f..0e2ce7c0039 100644 --- a/service/route53/snapshot/api_op_DisassociateVPCFromHostedZone.go.snap +++ b/service/route53/snapshot/api_op_DisassociateVPCFromHostedZone.go.snap @@ -15,7 +15,6 @@ DisassociateVPCFromHostedZone Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_EnableHostedZoneDNSSEC.go.snap b/service/route53/snapshot/api_op_EnableHostedZoneDNSSEC.go.snap index 94e4cd8bc5c..106aa570e9e 100644 --- a/service/route53/snapshot/api_op_EnableHostedZoneDNSSEC.go.snap +++ b/service/route53/snapshot/api_op_EnableHostedZoneDNSSEC.go.snap @@ -15,7 +15,6 @@ EnableHostedZoneDNSSEC Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_GetAccountLimit.go.snap b/service/route53/snapshot/api_op_GetAccountLimit.go.snap index 3cd70cc636e..677fda082a0 100644 --- a/service/route53/snapshot/api_op_GetAccountLimit.go.snap +++ b/service/route53/snapshot/api_op_GetAccountLimit.go.snap @@ -14,7 +14,6 @@ GetAccountLimit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_GetChange.go.snap b/service/route53/snapshot/api_op_GetChange.go.snap index c91bd628eaa..020e03d96c7 100644 --- a/service/route53/snapshot/api_op_GetChange.go.snap +++ b/service/route53/snapshot/api_op_GetChange.go.snap @@ -15,7 +15,6 @@ GetChange Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_GetCheckerIpRanges.go.snap b/service/route53/snapshot/api_op_GetCheckerIpRanges.go.snap index 915e0f2a5d7..24f60a528db 100644 --- a/service/route53/snapshot/api_op_GetCheckerIpRanges.go.snap +++ b/service/route53/snapshot/api_op_GetCheckerIpRanges.go.snap @@ -13,7 +13,6 @@ GetCheckerIpRanges Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_GetDNSSEC.go.snap b/service/route53/snapshot/api_op_GetDNSSEC.go.snap index a441e472037..f3b4e42cae0 100644 --- a/service/route53/snapshot/api_op_GetDNSSEC.go.snap +++ b/service/route53/snapshot/api_op_GetDNSSEC.go.snap @@ -15,7 +15,6 @@ GetDNSSEC Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_GetGeoLocation.go.snap b/service/route53/snapshot/api_op_GetGeoLocation.go.snap index 42efea903a4..6ff3da50cf3 100644 --- a/service/route53/snapshot/api_op_GetGeoLocation.go.snap +++ b/service/route53/snapshot/api_op_GetGeoLocation.go.snap @@ -13,7 +13,6 @@ GetGeoLocation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_GetHealthCheck.go.snap b/service/route53/snapshot/api_op_GetHealthCheck.go.snap index fe706a7f9ba..dbb4e921e88 100644 --- a/service/route53/snapshot/api_op_GetHealthCheck.go.snap +++ b/service/route53/snapshot/api_op_GetHealthCheck.go.snap @@ -14,7 +14,6 @@ GetHealthCheck Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_GetHealthCheckCount.go.snap b/service/route53/snapshot/api_op_GetHealthCheckCount.go.snap index 21703aa9b68..a0decc98ca2 100644 --- a/service/route53/snapshot/api_op_GetHealthCheckCount.go.snap +++ b/service/route53/snapshot/api_op_GetHealthCheckCount.go.snap @@ -13,7 +13,6 @@ GetHealthCheckCount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_GetHealthCheckLastFailureReason.go.snap b/service/route53/snapshot/api_op_GetHealthCheckLastFailureReason.go.snap index c1fec834c83..b9ff1094880 100644 --- a/service/route53/snapshot/api_op_GetHealthCheckLastFailureReason.go.snap +++ b/service/route53/snapshot/api_op_GetHealthCheckLastFailureReason.go.snap @@ -14,7 +14,6 @@ GetHealthCheckLastFailureReason Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_GetHealthCheckStatus.go.snap b/service/route53/snapshot/api_op_GetHealthCheckStatus.go.snap index 3d56806df0c..898191e19bd 100644 --- a/service/route53/snapshot/api_op_GetHealthCheckStatus.go.snap +++ b/service/route53/snapshot/api_op_GetHealthCheckStatus.go.snap @@ -14,7 +14,6 @@ GetHealthCheckStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_GetHostedZone.go.snap b/service/route53/snapshot/api_op_GetHostedZone.go.snap index 51d8d250ec7..de2209c0464 100644 --- a/service/route53/snapshot/api_op_GetHostedZone.go.snap +++ b/service/route53/snapshot/api_op_GetHostedZone.go.snap @@ -15,7 +15,6 @@ GetHostedZone Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_GetHostedZoneCount.go.snap b/service/route53/snapshot/api_op_GetHostedZoneCount.go.snap index e38ae185d8b..dc1c7d6d6f3 100644 --- a/service/route53/snapshot/api_op_GetHostedZoneCount.go.snap +++ b/service/route53/snapshot/api_op_GetHostedZoneCount.go.snap @@ -13,7 +13,6 @@ GetHostedZoneCount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_GetHostedZoneLimit.go.snap b/service/route53/snapshot/api_op_GetHostedZoneLimit.go.snap index 75be5f06b8d..41d91cb7a33 100644 --- a/service/route53/snapshot/api_op_GetHostedZoneLimit.go.snap +++ b/service/route53/snapshot/api_op_GetHostedZoneLimit.go.snap @@ -15,7 +15,6 @@ GetHostedZoneLimit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_GetQueryLoggingConfig.go.snap b/service/route53/snapshot/api_op_GetQueryLoggingConfig.go.snap index f54e92f9720..0bcffb4119f 100644 --- a/service/route53/snapshot/api_op_GetQueryLoggingConfig.go.snap +++ b/service/route53/snapshot/api_op_GetQueryLoggingConfig.go.snap @@ -14,7 +14,6 @@ GetQueryLoggingConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_GetReusableDelegationSet.go.snap b/service/route53/snapshot/api_op_GetReusableDelegationSet.go.snap index 77ab85a8557..02c367fbc35 100644 --- a/service/route53/snapshot/api_op_GetReusableDelegationSet.go.snap +++ b/service/route53/snapshot/api_op_GetReusableDelegationSet.go.snap @@ -15,7 +15,6 @@ GetReusableDelegationSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_GetReusableDelegationSetLimit.go.snap b/service/route53/snapshot/api_op_GetReusableDelegationSetLimit.go.snap index 42d75efe7a9..0886d4b7072 100644 --- a/service/route53/snapshot/api_op_GetReusableDelegationSetLimit.go.snap +++ b/service/route53/snapshot/api_op_GetReusableDelegationSetLimit.go.snap @@ -15,7 +15,6 @@ GetReusableDelegationSetLimit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_GetTrafficPolicy.go.snap b/service/route53/snapshot/api_op_GetTrafficPolicy.go.snap index 87ee15bac11..ae7a3ee732b 100644 --- a/service/route53/snapshot/api_op_GetTrafficPolicy.go.snap +++ b/service/route53/snapshot/api_op_GetTrafficPolicy.go.snap @@ -14,7 +14,6 @@ GetTrafficPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_GetTrafficPolicyInstance.go.snap b/service/route53/snapshot/api_op_GetTrafficPolicyInstance.go.snap index ab3da228f5d..73129ac6e32 100644 --- a/service/route53/snapshot/api_op_GetTrafficPolicyInstance.go.snap +++ b/service/route53/snapshot/api_op_GetTrafficPolicyInstance.go.snap @@ -14,7 +14,6 @@ GetTrafficPolicyInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_GetTrafficPolicyInstanceCount.go.snap b/service/route53/snapshot/api_op_GetTrafficPolicyInstanceCount.go.snap index 8f3e8438f52..1e22a81d641 100644 --- a/service/route53/snapshot/api_op_GetTrafficPolicyInstanceCount.go.snap +++ b/service/route53/snapshot/api_op_GetTrafficPolicyInstanceCount.go.snap @@ -13,7 +13,6 @@ GetTrafficPolicyInstanceCount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_ListCidrBlocks.go.snap b/service/route53/snapshot/api_op_ListCidrBlocks.go.snap index cf902a5b5be..67813010c2d 100644 --- a/service/route53/snapshot/api_op_ListCidrBlocks.go.snap +++ b/service/route53/snapshot/api_op_ListCidrBlocks.go.snap @@ -14,7 +14,6 @@ ListCidrBlocks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_ListCidrCollections.go.snap b/service/route53/snapshot/api_op_ListCidrCollections.go.snap index 8c91ea223d5..df768bebf91 100644 --- a/service/route53/snapshot/api_op_ListCidrCollections.go.snap +++ b/service/route53/snapshot/api_op_ListCidrCollections.go.snap @@ -13,7 +13,6 @@ ListCidrCollections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_ListCidrLocations.go.snap b/service/route53/snapshot/api_op_ListCidrLocations.go.snap index 55cf901278c..d91c4183544 100644 --- a/service/route53/snapshot/api_op_ListCidrLocations.go.snap +++ b/service/route53/snapshot/api_op_ListCidrLocations.go.snap @@ -14,7 +14,6 @@ ListCidrLocations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_ListGeoLocations.go.snap b/service/route53/snapshot/api_op_ListGeoLocations.go.snap index 554dc4b75cb..0ebef02487b 100644 --- a/service/route53/snapshot/api_op_ListGeoLocations.go.snap +++ b/service/route53/snapshot/api_op_ListGeoLocations.go.snap @@ -13,7 +13,6 @@ ListGeoLocations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_ListHealthChecks.go.snap b/service/route53/snapshot/api_op_ListHealthChecks.go.snap index e4085ed0514..6c037aa6321 100644 --- a/service/route53/snapshot/api_op_ListHealthChecks.go.snap +++ b/service/route53/snapshot/api_op_ListHealthChecks.go.snap @@ -13,7 +13,6 @@ ListHealthChecks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_ListHostedZones.go.snap b/service/route53/snapshot/api_op_ListHostedZones.go.snap index 3f54529d651..04553c888b6 100644 --- a/service/route53/snapshot/api_op_ListHostedZones.go.snap +++ b/service/route53/snapshot/api_op_ListHostedZones.go.snap @@ -14,7 +14,6 @@ ListHostedZones Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_ListHostedZonesByName.go.snap b/service/route53/snapshot/api_op_ListHostedZonesByName.go.snap index e616f618cb6..254de715677 100644 --- a/service/route53/snapshot/api_op_ListHostedZonesByName.go.snap +++ b/service/route53/snapshot/api_op_ListHostedZonesByName.go.snap @@ -14,7 +14,6 @@ ListHostedZonesByName Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_ListHostedZonesByVPC.go.snap b/service/route53/snapshot/api_op_ListHostedZonesByVPC.go.snap index 2926a74fa4d..250eea15e85 100644 --- a/service/route53/snapshot/api_op_ListHostedZonesByVPC.go.snap +++ b/service/route53/snapshot/api_op_ListHostedZonesByVPC.go.snap @@ -14,7 +14,6 @@ ListHostedZonesByVPC Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_ListQueryLoggingConfigs.go.snap b/service/route53/snapshot/api_op_ListQueryLoggingConfigs.go.snap index 6d045976104..0a02a53eed4 100644 --- a/service/route53/snapshot/api_op_ListQueryLoggingConfigs.go.snap +++ b/service/route53/snapshot/api_op_ListQueryLoggingConfigs.go.snap @@ -14,7 +14,6 @@ ListQueryLoggingConfigs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_ListResourceRecordSets.go.snap b/service/route53/snapshot/api_op_ListResourceRecordSets.go.snap index 339d38db2b4..9dc33081d1d 100644 --- a/service/route53/snapshot/api_op_ListResourceRecordSets.go.snap +++ b/service/route53/snapshot/api_op_ListResourceRecordSets.go.snap @@ -15,7 +15,6 @@ ListResourceRecordSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_ListReusableDelegationSets.go.snap b/service/route53/snapshot/api_op_ListReusableDelegationSets.go.snap index 57fd2ca008e..209258c3a79 100644 --- a/service/route53/snapshot/api_op_ListReusableDelegationSets.go.snap +++ b/service/route53/snapshot/api_op_ListReusableDelegationSets.go.snap @@ -13,7 +13,6 @@ ListReusableDelegationSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_ListTagsForResource.go.snap b/service/route53/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/route53/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/route53/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_ListTagsForResources.go.snap b/service/route53/snapshot/api_op_ListTagsForResources.go.snap index ce0e9252040..bf369c6b548 100644 --- a/service/route53/snapshot/api_op_ListTagsForResources.go.snap +++ b/service/route53/snapshot/api_op_ListTagsForResources.go.snap @@ -14,7 +14,6 @@ ListTagsForResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_ListTrafficPolicies.go.snap b/service/route53/snapshot/api_op_ListTrafficPolicies.go.snap index ef4252caf67..c4d9672261a 100644 --- a/service/route53/snapshot/api_op_ListTrafficPolicies.go.snap +++ b/service/route53/snapshot/api_op_ListTrafficPolicies.go.snap @@ -13,7 +13,6 @@ ListTrafficPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_ListTrafficPolicyInstances.go.snap b/service/route53/snapshot/api_op_ListTrafficPolicyInstances.go.snap index 5d753d9932e..599f41fbc08 100644 --- a/service/route53/snapshot/api_op_ListTrafficPolicyInstances.go.snap +++ b/service/route53/snapshot/api_op_ListTrafficPolicyInstances.go.snap @@ -14,7 +14,6 @@ ListTrafficPolicyInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_ListTrafficPolicyInstancesByHostedZone.go.snap b/service/route53/snapshot/api_op_ListTrafficPolicyInstancesByHostedZone.go.snap index 7bdba755677..1e3847aca99 100644 --- a/service/route53/snapshot/api_op_ListTrafficPolicyInstancesByHostedZone.go.snap +++ b/service/route53/snapshot/api_op_ListTrafficPolicyInstancesByHostedZone.go.snap @@ -15,7 +15,6 @@ ListTrafficPolicyInstancesByHostedZone Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_ListTrafficPolicyInstancesByPolicy.go.snap b/service/route53/snapshot/api_op_ListTrafficPolicyInstancesByPolicy.go.snap index 4483f137e7c..01c12f85cfb 100644 --- a/service/route53/snapshot/api_op_ListTrafficPolicyInstancesByPolicy.go.snap +++ b/service/route53/snapshot/api_op_ListTrafficPolicyInstancesByPolicy.go.snap @@ -15,7 +15,6 @@ ListTrafficPolicyInstancesByPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_ListTrafficPolicyVersions.go.snap b/service/route53/snapshot/api_op_ListTrafficPolicyVersions.go.snap index 4b556c7db01..69213d4278d 100644 --- a/service/route53/snapshot/api_op_ListTrafficPolicyVersions.go.snap +++ b/service/route53/snapshot/api_op_ListTrafficPolicyVersions.go.snap @@ -14,7 +14,6 @@ ListTrafficPolicyVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_ListVPCAssociationAuthorizations.go.snap b/service/route53/snapshot/api_op_ListVPCAssociationAuthorizations.go.snap index db6dffe82d9..b51174abfc1 100644 --- a/service/route53/snapshot/api_op_ListVPCAssociationAuthorizations.go.snap +++ b/service/route53/snapshot/api_op_ListVPCAssociationAuthorizations.go.snap @@ -15,7 +15,6 @@ ListVPCAssociationAuthorizations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_TestDNSAnswer.go.snap b/service/route53/snapshot/api_op_TestDNSAnswer.go.snap index 0b72c35eac3..1133fe79648 100644 --- a/service/route53/snapshot/api_op_TestDNSAnswer.go.snap +++ b/service/route53/snapshot/api_op_TestDNSAnswer.go.snap @@ -15,7 +15,6 @@ TestDNSAnswer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_UpdateHealthCheck.go.snap b/service/route53/snapshot/api_op_UpdateHealthCheck.go.snap index 34070c1653e..195e40cfadc 100644 --- a/service/route53/snapshot/api_op_UpdateHealthCheck.go.snap +++ b/service/route53/snapshot/api_op_UpdateHealthCheck.go.snap @@ -14,7 +14,6 @@ UpdateHealthCheck Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_UpdateHostedZoneComment.go.snap b/service/route53/snapshot/api_op_UpdateHostedZoneComment.go.snap index 73431d8c178..0b4b6ef05bb 100644 --- a/service/route53/snapshot/api_op_UpdateHostedZoneComment.go.snap +++ b/service/route53/snapshot/api_op_UpdateHostedZoneComment.go.snap @@ -15,7 +15,6 @@ UpdateHostedZoneComment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_UpdateTrafficPolicyComment.go.snap b/service/route53/snapshot/api_op_UpdateTrafficPolicyComment.go.snap index ee93c0b05ae..7290607d860 100644 --- a/service/route53/snapshot/api_op_UpdateTrafficPolicyComment.go.snap +++ b/service/route53/snapshot/api_op_UpdateTrafficPolicyComment.go.snap @@ -14,7 +14,6 @@ UpdateTrafficPolicyComment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53/snapshot/api_op_UpdateTrafficPolicyInstance.go.snap b/service/route53/snapshot/api_op_UpdateTrafficPolicyInstance.go.snap index 727122b495d..3bede3b4b38 100644 --- a/service/route53/snapshot/api_op_UpdateTrafficPolicyInstance.go.snap +++ b/service/route53/snapshot/api_op_UpdateTrafficPolicyInstance.go.snap @@ -14,7 +14,6 @@ UpdateTrafficPolicyInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/api_client.go b/service/route53domains/api_client.go index 31240a81922..81e29b34e3a 100644 --- a/service/route53domains/api_client.go +++ b/service/route53domains/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/route53domains/api_op_AcceptDomainTransferFromAnotherAwsAccount.go b/service/route53domains/api_op_AcceptDomainTransferFromAnotherAwsAccount.go index 587750f0533..d146f847317 100644 --- a/service/route53domains/api_op_AcceptDomainTransferFromAnotherAwsAccount.go +++ b/service/route53domains/api_op_AcceptDomainTransferFromAnotherAwsAccount.go @@ -143,9 +143,6 @@ func (c *Client) addOperationAcceptDomainTransferFromAnotherAwsAccountMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptDomainTransferFromAnotherAwsAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_AssociateDelegationSignerToDomain.go b/service/route53domains/api_op_AssociateDelegationSignerToDomain.go index 028eaad3a47..a2dad083833 100644 --- a/service/route53domains/api_op_AssociateDelegationSignerToDomain.go +++ b/service/route53domains/api_op_AssociateDelegationSignerToDomain.go @@ -130,9 +130,6 @@ func (c *Client) addOperationAssociateDelegationSignerToDomainMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateDelegationSignerToDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_CancelDomainTransferToAnotherAwsAccount.go b/service/route53domains/api_op_CancelDomainTransferToAnotherAwsAccount.go index 9b57669892b..e8823975c78 100644 --- a/service/route53domains/api_op_CancelDomainTransferToAnotherAwsAccount.go +++ b/service/route53domains/api_op_CancelDomainTransferToAnotherAwsAccount.go @@ -133,9 +133,6 @@ func (c *Client) addOperationCancelDomainTransferToAnotherAwsAccountMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelDomainTransferToAnotherAwsAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_CheckDomainAvailability.go b/service/route53domains/api_op_CheckDomainAvailability.go index 9356a9a4a84..00141981138 100644 --- a/service/route53domains/api_op_CheckDomainAvailability.go +++ b/service/route53domains/api_op_CheckDomainAvailability.go @@ -167,9 +167,6 @@ func (c *Client) addOperationCheckDomainAvailabilityMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCheckDomainAvailabilityValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_CheckDomainTransferability.go b/service/route53domains/api_op_CheckDomainTransferability.go index b85798fd099..9b7de9fcd7e 100644 --- a/service/route53domains/api_op_CheckDomainTransferability.go +++ b/service/route53domains/api_op_CheckDomainTransferability.go @@ -137,9 +137,6 @@ func (c *Client) addOperationCheckDomainTransferabilityMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCheckDomainTransferabilityValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_DeleteDomain.go b/service/route53domains/api_op_DeleteDomain.go index 9a1b8b3f109..fe1fba54599 100644 --- a/service/route53domains/api_op_DeleteDomain.go +++ b/service/route53domains/api_op_DeleteDomain.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDeleteDomainMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_DeleteTagsForDomain.go b/service/route53domains/api_op_DeleteTagsForDomain.go index 47c3bf7511b..a4c80521de2 100644 --- a/service/route53domains/api_op_DeleteTagsForDomain.go +++ b/service/route53domains/api_op_DeleteTagsForDomain.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteTagsForDomainMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTagsForDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_DisableDomainAutoRenew.go b/service/route53domains/api_op_DisableDomainAutoRenew.go index f04a623320b..746820740a9 100644 --- a/service/route53domains/api_op_DisableDomainAutoRenew.go +++ b/service/route53domains/api_op_DisableDomainAutoRenew.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDisableDomainAutoRenewMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableDomainAutoRenewValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_DisableDomainTransferLock.go b/service/route53domains/api_op_DisableDomainTransferLock.go index 2fb45004506..35ec21715b1 100644 --- a/service/route53domains/api_op_DisableDomainTransferLock.go +++ b/service/route53domains/api_op_DisableDomainTransferLock.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDisableDomainTransferLockMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableDomainTransferLockValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_DisassociateDelegationSignerFromDomain.go b/service/route53domains/api_op_DisassociateDelegationSignerFromDomain.go index cf4e41f7ac7..24eb9592299 100644 --- a/service/route53domains/api_op_DisassociateDelegationSignerFromDomain.go +++ b/service/route53domains/api_op_DisassociateDelegationSignerFromDomain.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDisassociateDelegationSignerFromDomainMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateDelegationSignerFromDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_EnableDomainAutoRenew.go b/service/route53domains/api_op_EnableDomainAutoRenew.go index 5291ca275fb..3a4c016b241 100644 --- a/service/route53domains/api_op_EnableDomainAutoRenew.go +++ b/service/route53domains/api_op_EnableDomainAutoRenew.go @@ -116,9 +116,6 @@ func (c *Client) addOperationEnableDomainAutoRenewMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableDomainAutoRenewValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_EnableDomainTransferLock.go b/service/route53domains/api_op_EnableDomainTransferLock.go index 2d2e4d33f1b..2398e33fe73 100644 --- a/service/route53domains/api_op_EnableDomainTransferLock.go +++ b/service/route53domains/api_op_EnableDomainTransferLock.go @@ -118,9 +118,6 @@ func (c *Client) addOperationEnableDomainTransferLockMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableDomainTransferLockValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_GetContactReachabilityStatus.go b/service/route53domains/api_op_GetContactReachabilityStatus.go index 77180ca54fb..c0d35daeb4c 100644 --- a/service/route53domains/api_op_GetContactReachabilityStatus.go +++ b/service/route53domains/api_op_GetContactReachabilityStatus.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetContactReachabilityStatusMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetContactReachabilityStatus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53domains/api_op_GetDomainDetail.go b/service/route53domains/api_op_GetDomainDetail.go index 2ad8c9dfe48..de96c3df6ac 100644 --- a/service/route53domains/api_op_GetDomainDetail.go +++ b/service/route53domains/api_op_GetDomainDetail.go @@ -219,9 +219,6 @@ func (c *Client) addOperationGetDomainDetailMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDomainDetailValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_GetDomainSuggestions.go b/service/route53domains/api_op_GetDomainSuggestions.go index 63211cf92da..12dea417953 100644 --- a/service/route53domains/api_op_GetDomainSuggestions.go +++ b/service/route53domains/api_op_GetDomainSuggestions.go @@ -146,9 +146,6 @@ func (c *Client) addOperationGetDomainSuggestionsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDomainSuggestionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_GetOperationDetail.go b/service/route53domains/api_op_GetOperationDetail.go index 4422f950168..09e5bb6bc6b 100644 --- a/service/route53domains/api_op_GetOperationDetail.go +++ b/service/route53domains/api_op_GetOperationDetail.go @@ -157,9 +157,6 @@ func (c *Client) addOperationGetOperationDetailMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetOperationDetailValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_ListDomains.go b/service/route53domains/api_op_ListDomains.go index 86506e8a538..8e5b3485747 100644 --- a/service/route53domains/api_op_ListDomains.go +++ b/service/route53domains/api_op_ListDomains.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListDomainsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDomainsValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_ListOperations.go b/service/route53domains/api_op_ListOperations.go index b3774ae547b..0ac170df42e 100644 --- a/service/route53domains/api_op_ListOperations.go +++ b/service/route53domains/api_op_ListOperations.go @@ -149,9 +149,6 @@ func (c *Client) addOperationListOperationsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOperations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53domains/api_op_ListPrices.go b/service/route53domains/api_op_ListPrices.go index 442c05073b6..6de5fc9fe0a 100644 --- a/service/route53domains/api_op_ListPrices.go +++ b/service/route53domains/api_op_ListPrices.go @@ -146,9 +146,6 @@ func (c *Client) addOperationListPricesMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPrices(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53domains/api_op_ListTagsForDomain.go b/service/route53domains/api_op_ListTagsForDomain.go index cb16435f1e3..3437d107dc2 100644 --- a/service/route53domains/api_op_ListTagsForDomain.go +++ b/service/route53domains/api_op_ListTagsForDomain.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListTagsForDomainMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_PushDomain.go b/service/route53domains/api_op_PushDomain.go index 72d452e95d6..733cf728a8b 100644 --- a/service/route53domains/api_op_PushDomain.go +++ b/service/route53domains/api_op_PushDomain.go @@ -117,9 +117,6 @@ func (c *Client) addOperationPushDomainMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPushDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_RegisterDomain.go b/service/route53domains/api_op_RegisterDomain.go index b7b7e42f524..560bb8db785 100644 --- a/service/route53domains/api_op_RegisterDomain.go +++ b/service/route53domains/api_op_RegisterDomain.go @@ -259,9 +259,6 @@ func (c *Client) addOperationRegisterDomainMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_RejectDomainTransferFromAnotherAwsAccount.go b/service/route53domains/api_op_RejectDomainTransferFromAnotherAwsAccount.go index 0853306f0c2..5c2b3be4651 100644 --- a/service/route53domains/api_op_RejectDomainTransferFromAnotherAwsAccount.go +++ b/service/route53domains/api_op_RejectDomainTransferFromAnotherAwsAccount.go @@ -131,9 +131,6 @@ func (c *Client) addOperationRejectDomainTransferFromAnotherAwsAccountMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRejectDomainTransferFromAnotherAwsAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_RenewDomain.go b/service/route53domains/api_op_RenewDomain.go index df691434e66..9f2c8606e39 100644 --- a/service/route53domains/api_op_RenewDomain.go +++ b/service/route53domains/api_op_RenewDomain.go @@ -139,9 +139,6 @@ func (c *Client) addOperationRenewDomainMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRenewDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_ResendContactReachabilityEmail.go b/service/route53domains/api_op_ResendContactReachabilityEmail.go index d7fd74bafe7..7f216c00a17 100644 --- a/service/route53domains/api_op_ResendContactReachabilityEmail.go +++ b/service/route53domains/api_op_ResendContactReachabilityEmail.go @@ -122,9 +122,6 @@ func (c *Client) addOperationResendContactReachabilityEmailMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResendContactReachabilityEmail(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53domains/api_op_ResendOperationAuthorization.go b/service/route53domains/api_op_ResendOperationAuthorization.go index cc8147282aa..f9832f9be72 100644 --- a/service/route53domains/api_op_ResendOperationAuthorization.go +++ b/service/route53domains/api_op_ResendOperationAuthorization.go @@ -107,9 +107,6 @@ func (c *Client) addOperationResendOperationAuthorizationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResendOperationAuthorizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_RetrieveDomainAuthCode.go b/service/route53domains/api_op_RetrieveDomainAuthCode.go index b1ce032f505..50732d48ac6 100644 --- a/service/route53domains/api_op_RetrieveDomainAuthCode.go +++ b/service/route53domains/api_op_RetrieveDomainAuthCode.go @@ -115,9 +115,6 @@ func (c *Client) addOperationRetrieveDomainAuthCodeMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRetrieveDomainAuthCodeValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_TransferDomain.go b/service/route53domains/api_op_TransferDomain.go index c77aaea0df3..cdff865350b 100644 --- a/service/route53domains/api_op_TransferDomain.go +++ b/service/route53domains/api_op_TransferDomain.go @@ -254,9 +254,6 @@ func (c *Client) addOperationTransferDomainMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTransferDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_TransferDomainToAnotherAwsAccount.go b/service/route53domains/api_op_TransferDomainToAnotherAwsAccount.go index cfe397d229f..d0b37405a68 100644 --- a/service/route53domains/api_op_TransferDomainToAnotherAwsAccount.go +++ b/service/route53domains/api_op_TransferDomainToAnotherAwsAccount.go @@ -158,9 +158,6 @@ func (c *Client) addOperationTransferDomainToAnotherAwsAccountMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTransferDomainToAnotherAwsAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_UpdateDomainContact.go b/service/route53domains/api_op_UpdateDomainContact.go index f6b872f6266..3fac11e1713 100644 --- a/service/route53domains/api_op_UpdateDomainContact.go +++ b/service/route53domains/api_op_UpdateDomainContact.go @@ -139,9 +139,6 @@ func (c *Client) addOperationUpdateDomainContactMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDomainContactValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_UpdateDomainContactPrivacy.go b/service/route53domains/api_op_UpdateDomainContactPrivacy.go index 0a8450034ea..5bd05fb5cca 100644 --- a/service/route53domains/api_op_UpdateDomainContactPrivacy.go +++ b/service/route53domains/api_op_UpdateDomainContactPrivacy.go @@ -175,9 +175,6 @@ func (c *Client) addOperationUpdateDomainContactPrivacyMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDomainContactPrivacyValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_UpdateDomainNameservers.go b/service/route53domains/api_op_UpdateDomainNameservers.go index a48817e9e8b..6cea75d3a78 100644 --- a/service/route53domains/api_op_UpdateDomainNameservers.go +++ b/service/route53domains/api_op_UpdateDomainNameservers.go @@ -140,9 +140,6 @@ func (c *Client) addOperationUpdateDomainNameserversMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDomainNameserversValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_UpdateTagsForDomain.go b/service/route53domains/api_op_UpdateTagsForDomain.go index 12121e28737..508584e433d 100644 --- a/service/route53domains/api_op_UpdateTagsForDomain.go +++ b/service/route53domains/api_op_UpdateTagsForDomain.go @@ -116,9 +116,6 @@ func (c *Client) addOperationUpdateTagsForDomainMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTagsForDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53domains/api_op_ViewBilling.go b/service/route53domains/api_op_ViewBilling.go index 5ed4aedd8cf..025da7c9102 100644 --- a/service/route53domains/api_op_ViewBilling.go +++ b/service/route53domains/api_op_ViewBilling.go @@ -143,9 +143,6 @@ func (c *Client) addOperationViewBillingMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opViewBilling(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53domains/snapshot/api_op_AcceptDomainTransferFromAnotherAwsAccount.go.snap b/service/route53domains/snapshot/api_op_AcceptDomainTransferFromAnotherAwsAccount.go.snap index 409fbab327e..aac5a67adae 100644 --- a/service/route53domains/snapshot/api_op_AcceptDomainTransferFromAnotherAwsAccount.go.snap +++ b/service/route53domains/snapshot/api_op_AcceptDomainTransferFromAnotherAwsAccount.go.snap @@ -14,7 +14,6 @@ AcceptDomainTransferFromAnotherAwsAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/snapshot/api_op_AssociateDelegationSignerToDomain.go.snap b/service/route53domains/snapshot/api_op_AssociateDelegationSignerToDomain.go.snap index 93d0f885afb..a9ca056d8b1 100644 --- a/service/route53domains/snapshot/api_op_AssociateDelegationSignerToDomain.go.snap +++ b/service/route53domains/snapshot/api_op_AssociateDelegationSignerToDomain.go.snap @@ -14,7 +14,6 @@ AssociateDelegationSignerToDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/snapshot/api_op_CancelDomainTransferToAnotherAwsAccount.go.snap b/service/route53domains/snapshot/api_op_CancelDomainTransferToAnotherAwsAccount.go.snap index a22c8c909f0..a89acc137c0 100644 --- a/service/route53domains/snapshot/api_op_CancelDomainTransferToAnotherAwsAccount.go.snap +++ b/service/route53domains/snapshot/api_op_CancelDomainTransferToAnotherAwsAccount.go.snap @@ -14,7 +14,6 @@ CancelDomainTransferToAnotherAwsAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/snapshot/api_op_CheckDomainAvailability.go.snap b/service/route53domains/snapshot/api_op_CheckDomainAvailability.go.snap index 530c7c9f2af..e4d820bf34c 100644 --- a/service/route53domains/snapshot/api_op_CheckDomainAvailability.go.snap +++ b/service/route53domains/snapshot/api_op_CheckDomainAvailability.go.snap @@ -14,7 +14,6 @@ CheckDomainAvailability Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/snapshot/api_op_CheckDomainTransferability.go.snap b/service/route53domains/snapshot/api_op_CheckDomainTransferability.go.snap index 45f4afd4e68..59ab70e1be5 100644 --- a/service/route53domains/snapshot/api_op_CheckDomainTransferability.go.snap +++ b/service/route53domains/snapshot/api_op_CheckDomainTransferability.go.snap @@ -14,7 +14,6 @@ CheckDomainTransferability Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/snapshot/api_op_DeleteDomain.go.snap b/service/route53domains/snapshot/api_op_DeleteDomain.go.snap index 24c9a1b0eb3..9a8c40f82ef 100644 --- a/service/route53domains/snapshot/api_op_DeleteDomain.go.snap +++ b/service/route53domains/snapshot/api_op_DeleteDomain.go.snap @@ -14,7 +14,6 @@ DeleteDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/snapshot/api_op_DeleteTagsForDomain.go.snap b/service/route53domains/snapshot/api_op_DeleteTagsForDomain.go.snap index af0b5be2bac..00cc35fcd3c 100644 --- a/service/route53domains/snapshot/api_op_DeleteTagsForDomain.go.snap +++ b/service/route53domains/snapshot/api_op_DeleteTagsForDomain.go.snap @@ -14,7 +14,6 @@ DeleteTagsForDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/snapshot/api_op_DisableDomainAutoRenew.go.snap b/service/route53domains/snapshot/api_op_DisableDomainAutoRenew.go.snap index 71145a27746..f84c7bbe4ae 100644 --- a/service/route53domains/snapshot/api_op_DisableDomainAutoRenew.go.snap +++ b/service/route53domains/snapshot/api_op_DisableDomainAutoRenew.go.snap @@ -14,7 +14,6 @@ DisableDomainAutoRenew Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/snapshot/api_op_DisableDomainTransferLock.go.snap b/service/route53domains/snapshot/api_op_DisableDomainTransferLock.go.snap index 970ebd3e82e..f8303c23ccd 100644 --- a/service/route53domains/snapshot/api_op_DisableDomainTransferLock.go.snap +++ b/service/route53domains/snapshot/api_op_DisableDomainTransferLock.go.snap @@ -14,7 +14,6 @@ DisableDomainTransferLock Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/snapshot/api_op_DisassociateDelegationSignerFromDomain.go.snap b/service/route53domains/snapshot/api_op_DisassociateDelegationSignerFromDomain.go.snap index a1e8336b003..2d7300b6230 100644 --- a/service/route53domains/snapshot/api_op_DisassociateDelegationSignerFromDomain.go.snap +++ b/service/route53domains/snapshot/api_op_DisassociateDelegationSignerFromDomain.go.snap @@ -14,7 +14,6 @@ DisassociateDelegationSignerFromDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/snapshot/api_op_EnableDomainAutoRenew.go.snap b/service/route53domains/snapshot/api_op_EnableDomainAutoRenew.go.snap index 7017d920c59..e60bd41418f 100644 --- a/service/route53domains/snapshot/api_op_EnableDomainAutoRenew.go.snap +++ b/service/route53domains/snapshot/api_op_EnableDomainAutoRenew.go.snap @@ -14,7 +14,6 @@ EnableDomainAutoRenew Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/snapshot/api_op_EnableDomainTransferLock.go.snap b/service/route53domains/snapshot/api_op_EnableDomainTransferLock.go.snap index 6c913d0dd85..8db1e9f0590 100644 --- a/service/route53domains/snapshot/api_op_EnableDomainTransferLock.go.snap +++ b/service/route53domains/snapshot/api_op_EnableDomainTransferLock.go.snap @@ -14,7 +14,6 @@ EnableDomainTransferLock Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/snapshot/api_op_GetContactReachabilityStatus.go.snap b/service/route53domains/snapshot/api_op_GetContactReachabilityStatus.go.snap index 6f442d64227..163c4e55dba 100644 --- a/service/route53domains/snapshot/api_op_GetContactReachabilityStatus.go.snap +++ b/service/route53domains/snapshot/api_op_GetContactReachabilityStatus.go.snap @@ -13,7 +13,6 @@ GetContactReachabilityStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/snapshot/api_op_GetDomainDetail.go.snap b/service/route53domains/snapshot/api_op_GetDomainDetail.go.snap index 4642e954f14..35afa37995c 100644 --- a/service/route53domains/snapshot/api_op_GetDomainDetail.go.snap +++ b/service/route53domains/snapshot/api_op_GetDomainDetail.go.snap @@ -14,7 +14,6 @@ GetDomainDetail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/snapshot/api_op_GetDomainSuggestions.go.snap b/service/route53domains/snapshot/api_op_GetDomainSuggestions.go.snap index a365d84bf11..718bd7c98af 100644 --- a/service/route53domains/snapshot/api_op_GetDomainSuggestions.go.snap +++ b/service/route53domains/snapshot/api_op_GetDomainSuggestions.go.snap @@ -14,7 +14,6 @@ GetDomainSuggestions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/snapshot/api_op_GetOperationDetail.go.snap b/service/route53domains/snapshot/api_op_GetOperationDetail.go.snap index 7de20f339c9..80ba900af4e 100644 --- a/service/route53domains/snapshot/api_op_GetOperationDetail.go.snap +++ b/service/route53domains/snapshot/api_op_GetOperationDetail.go.snap @@ -14,7 +14,6 @@ GetOperationDetail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/snapshot/api_op_ListDomains.go.snap b/service/route53domains/snapshot/api_op_ListDomains.go.snap index 46320b11a1f..dbf69049d9d 100644 --- a/service/route53domains/snapshot/api_op_ListDomains.go.snap +++ b/service/route53domains/snapshot/api_op_ListDomains.go.snap @@ -14,7 +14,6 @@ ListDomains Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/snapshot/api_op_ListOperations.go.snap b/service/route53domains/snapshot/api_op_ListOperations.go.snap index 24866ea3c89..74df5a17da8 100644 --- a/service/route53domains/snapshot/api_op_ListOperations.go.snap +++ b/service/route53domains/snapshot/api_op_ListOperations.go.snap @@ -13,7 +13,6 @@ ListOperations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/snapshot/api_op_ListPrices.go.snap b/service/route53domains/snapshot/api_op_ListPrices.go.snap index 2ba7ddad4f8..3542cfcbc39 100644 --- a/service/route53domains/snapshot/api_op_ListPrices.go.snap +++ b/service/route53domains/snapshot/api_op_ListPrices.go.snap @@ -13,7 +13,6 @@ ListPrices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/snapshot/api_op_ListTagsForDomain.go.snap b/service/route53domains/snapshot/api_op_ListTagsForDomain.go.snap index c341619f777..45aa2f25d2a 100644 --- a/service/route53domains/snapshot/api_op_ListTagsForDomain.go.snap +++ b/service/route53domains/snapshot/api_op_ListTagsForDomain.go.snap @@ -14,7 +14,6 @@ ListTagsForDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/snapshot/api_op_PushDomain.go.snap b/service/route53domains/snapshot/api_op_PushDomain.go.snap index 4e32aa6bdfa..599c896169e 100644 --- a/service/route53domains/snapshot/api_op_PushDomain.go.snap +++ b/service/route53domains/snapshot/api_op_PushDomain.go.snap @@ -14,7 +14,6 @@ PushDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/snapshot/api_op_RegisterDomain.go.snap b/service/route53domains/snapshot/api_op_RegisterDomain.go.snap index 05ac93fa05a..7eca46ad635 100644 --- a/service/route53domains/snapshot/api_op_RegisterDomain.go.snap +++ b/service/route53domains/snapshot/api_op_RegisterDomain.go.snap @@ -14,7 +14,6 @@ RegisterDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/snapshot/api_op_RejectDomainTransferFromAnotherAwsAccount.go.snap b/service/route53domains/snapshot/api_op_RejectDomainTransferFromAnotherAwsAccount.go.snap index a1916c8bfd5..afb4c2d8728 100644 --- a/service/route53domains/snapshot/api_op_RejectDomainTransferFromAnotherAwsAccount.go.snap +++ b/service/route53domains/snapshot/api_op_RejectDomainTransferFromAnotherAwsAccount.go.snap @@ -14,7 +14,6 @@ RejectDomainTransferFromAnotherAwsAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/snapshot/api_op_RenewDomain.go.snap b/service/route53domains/snapshot/api_op_RenewDomain.go.snap index 4a66eff7bba..f702f40b71e 100644 --- a/service/route53domains/snapshot/api_op_RenewDomain.go.snap +++ b/service/route53domains/snapshot/api_op_RenewDomain.go.snap @@ -14,7 +14,6 @@ RenewDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/snapshot/api_op_ResendContactReachabilityEmail.go.snap b/service/route53domains/snapshot/api_op_ResendContactReachabilityEmail.go.snap index f058f530df0..6ce911ac920 100644 --- a/service/route53domains/snapshot/api_op_ResendContactReachabilityEmail.go.snap +++ b/service/route53domains/snapshot/api_op_ResendContactReachabilityEmail.go.snap @@ -13,7 +13,6 @@ ResendContactReachabilityEmail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/snapshot/api_op_ResendOperationAuthorization.go.snap b/service/route53domains/snapshot/api_op_ResendOperationAuthorization.go.snap index 63cbfc9ec16..1d3472b5b18 100644 --- a/service/route53domains/snapshot/api_op_ResendOperationAuthorization.go.snap +++ b/service/route53domains/snapshot/api_op_ResendOperationAuthorization.go.snap @@ -14,7 +14,6 @@ ResendOperationAuthorization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/snapshot/api_op_RetrieveDomainAuthCode.go.snap b/service/route53domains/snapshot/api_op_RetrieveDomainAuthCode.go.snap index 0cb26752f7d..3da778e24cc 100644 --- a/service/route53domains/snapshot/api_op_RetrieveDomainAuthCode.go.snap +++ b/service/route53domains/snapshot/api_op_RetrieveDomainAuthCode.go.snap @@ -14,7 +14,6 @@ RetrieveDomainAuthCode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/snapshot/api_op_TransferDomain.go.snap b/service/route53domains/snapshot/api_op_TransferDomain.go.snap index 824da95c5ec..8a54772a5db 100644 --- a/service/route53domains/snapshot/api_op_TransferDomain.go.snap +++ b/service/route53domains/snapshot/api_op_TransferDomain.go.snap @@ -14,7 +14,6 @@ TransferDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/snapshot/api_op_TransferDomainToAnotherAwsAccount.go.snap b/service/route53domains/snapshot/api_op_TransferDomainToAnotherAwsAccount.go.snap index 2f8746f4b8a..542281e654b 100644 --- a/service/route53domains/snapshot/api_op_TransferDomainToAnotherAwsAccount.go.snap +++ b/service/route53domains/snapshot/api_op_TransferDomainToAnotherAwsAccount.go.snap @@ -14,7 +14,6 @@ TransferDomainToAnotherAwsAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/snapshot/api_op_UpdateDomainContact.go.snap b/service/route53domains/snapshot/api_op_UpdateDomainContact.go.snap index ea00e16d33b..86b6623bebc 100644 --- a/service/route53domains/snapshot/api_op_UpdateDomainContact.go.snap +++ b/service/route53domains/snapshot/api_op_UpdateDomainContact.go.snap @@ -14,7 +14,6 @@ UpdateDomainContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/snapshot/api_op_UpdateDomainContactPrivacy.go.snap b/service/route53domains/snapshot/api_op_UpdateDomainContactPrivacy.go.snap index 01ba5487cf8..f6151869fc6 100644 --- a/service/route53domains/snapshot/api_op_UpdateDomainContactPrivacy.go.snap +++ b/service/route53domains/snapshot/api_op_UpdateDomainContactPrivacy.go.snap @@ -14,7 +14,6 @@ UpdateDomainContactPrivacy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/snapshot/api_op_UpdateDomainNameservers.go.snap b/service/route53domains/snapshot/api_op_UpdateDomainNameservers.go.snap index 4c24cc93a11..c6dfe659bf7 100644 --- a/service/route53domains/snapshot/api_op_UpdateDomainNameservers.go.snap +++ b/service/route53domains/snapshot/api_op_UpdateDomainNameservers.go.snap @@ -14,7 +14,6 @@ UpdateDomainNameservers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/snapshot/api_op_UpdateTagsForDomain.go.snap b/service/route53domains/snapshot/api_op_UpdateTagsForDomain.go.snap index a648734300f..5b5704cf769 100644 --- a/service/route53domains/snapshot/api_op_UpdateTagsForDomain.go.snap +++ b/service/route53domains/snapshot/api_op_UpdateTagsForDomain.go.snap @@ -14,7 +14,6 @@ UpdateTagsForDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53domains/snapshot/api_op_ViewBilling.go.snap b/service/route53domains/snapshot/api_op_ViewBilling.go.snap index 99b639aad3a..c13a6100c36 100644 --- a/service/route53domains/snapshot/api_op_ViewBilling.go.snap +++ b/service/route53domains/snapshot/api_op_ViewBilling.go.snap @@ -13,7 +13,6 @@ ViewBilling Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53profiles/api_client.go b/service/route53profiles/api_client.go index ee3dcc37a9a..5920c4060c5 100644 --- a/service/route53profiles/api_client.go +++ b/service/route53profiles/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/route53profiles/api_op_AssociateProfile.go b/service/route53profiles/api_op_AssociateProfile.go index 5e6339705a3..6a89ea323b1 100644 --- a/service/route53profiles/api_op_AssociateProfile.go +++ b/service/route53profiles/api_op_AssociateProfile.go @@ -132,9 +132,6 @@ func (c *Client) addOperationAssociateProfileMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53profiles/api_op_AssociateResourceToProfile.go b/service/route53profiles/api_op_AssociateResourceToProfile.go index 1daf85ab15a..c52b644a641 100644 --- a/service/route53profiles/api_op_AssociateResourceToProfile.go +++ b/service/route53profiles/api_op_AssociateResourceToProfile.go @@ -129,9 +129,6 @@ func (c *Client) addOperationAssociateResourceToProfileMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateResourceToProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53profiles/api_op_CreateProfile.go b/service/route53profiles/api_op_CreateProfile.go index 3c03b1b88f7..1b979d82b00 100644 --- a/service/route53profiles/api_op_CreateProfile.go +++ b/service/route53profiles/api_op_CreateProfile.go @@ -125,9 +125,6 @@ func (c *Client) addOperationCreateProfileMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateProfileMiddleware(stack, options); err != nil { return err } diff --git a/service/route53profiles/api_op_DeleteProfile.go b/service/route53profiles/api_op_DeleteProfile.go index 0f86f628e9f..f120d065425 100644 --- a/service/route53profiles/api_op_DeleteProfile.go +++ b/service/route53profiles/api_op_DeleteProfile.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteProfileMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53profiles/api_op_DisassociateProfile.go b/service/route53profiles/api_op_DisassociateProfile.go index 4429f42cc14..d0cfd812b98 100644 --- a/service/route53profiles/api_op_DisassociateProfile.go +++ b/service/route53profiles/api_op_DisassociateProfile.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDisassociateProfileMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53profiles/api_op_DisassociateResourceFromProfile.go b/service/route53profiles/api_op_DisassociateResourceFromProfile.go index 8bf7621b33f..21f988d788d 100644 --- a/service/route53profiles/api_op_DisassociateResourceFromProfile.go +++ b/service/route53profiles/api_op_DisassociateResourceFromProfile.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDisassociateResourceFromProfileMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateResourceFromProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53profiles/api_op_GetProfile.go b/service/route53profiles/api_op_GetProfile.go index bdda911b336..21e2075a034 100644 --- a/service/route53profiles/api_op_GetProfile.go +++ b/service/route53profiles/api_op_GetProfile.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetProfileMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53profiles/api_op_GetProfileAssociation.go b/service/route53profiles/api_op_GetProfileAssociation.go index 8fddab4b02e..bf4cac0415f 100644 --- a/service/route53profiles/api_op_GetProfileAssociation.go +++ b/service/route53profiles/api_op_GetProfileAssociation.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetProfileAssociationMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetProfileAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53profiles/api_op_GetProfileResourceAssociation.go b/service/route53profiles/api_op_GetProfileResourceAssociation.go index 5e431fcb3bf..5a1dfcd9c8e 100644 --- a/service/route53profiles/api_op_GetProfileResourceAssociation.go +++ b/service/route53profiles/api_op_GetProfileResourceAssociation.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetProfileResourceAssociationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetProfileResourceAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53profiles/api_op_ListProfileAssociations.go b/service/route53profiles/api_op_ListProfileAssociations.go index 7ad7b766005..74540156d00 100644 --- a/service/route53profiles/api_op_ListProfileAssociations.go +++ b/service/route53profiles/api_op_ListProfileAssociations.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListProfileAssociationsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProfileAssociations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53profiles/api_op_ListProfileResourceAssociations.go b/service/route53profiles/api_op_ListProfileResourceAssociations.go index a8581b369e8..15cfb6a7f2f 100644 --- a/service/route53profiles/api_op_ListProfileResourceAssociations.go +++ b/service/route53profiles/api_op_ListProfileResourceAssociations.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListProfileResourceAssociationsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListProfileResourceAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53profiles/api_op_ListProfiles.go b/service/route53profiles/api_op_ListProfiles.go index 2951935a271..21dd1a3f4f9 100644 --- a/service/route53profiles/api_op_ListProfiles.go +++ b/service/route53profiles/api_op_ListProfiles.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListProfilesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProfiles(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53profiles/api_op_ListTagsForResource.go b/service/route53profiles/api_op_ListTagsForResource.go index 7fb8e340993..5c0fbd7fe12 100644 --- a/service/route53profiles/api_op_ListTagsForResource.go +++ b/service/route53profiles/api_op_ListTagsForResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53profiles/api_op_TagResource.go b/service/route53profiles/api_op_TagResource.go index 79723d13357..39767114ed1 100644 --- a/service/route53profiles/api_op_TagResource.go +++ b/service/route53profiles/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53profiles/api_op_UntagResource.go b/service/route53profiles/api_op_UntagResource.go index 8c7d7e4b4fc..a92473d26a9 100644 --- a/service/route53profiles/api_op_UntagResource.go +++ b/service/route53profiles/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53profiles/api_op_UpdateProfileResourceAssociation.go b/service/route53profiles/api_op_UpdateProfileResourceAssociation.go index 43f3a0906d7..d4295934332 100644 --- a/service/route53profiles/api_op_UpdateProfileResourceAssociation.go +++ b/service/route53profiles/api_op_UpdateProfileResourceAssociation.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateProfileResourceAssociationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateProfileResourceAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53profiles/snapshot/api_op_AssociateProfile.go.snap b/service/route53profiles/snapshot/api_op_AssociateProfile.go.snap index eb518284828..64b47b6ca65 100644 --- a/service/route53profiles/snapshot/api_op_AssociateProfile.go.snap +++ b/service/route53profiles/snapshot/api_op_AssociateProfile.go.snap @@ -14,7 +14,6 @@ AssociateProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53profiles/snapshot/api_op_AssociateResourceToProfile.go.snap b/service/route53profiles/snapshot/api_op_AssociateResourceToProfile.go.snap index 00c05980060..81e378acebf 100644 --- a/service/route53profiles/snapshot/api_op_AssociateResourceToProfile.go.snap +++ b/service/route53profiles/snapshot/api_op_AssociateResourceToProfile.go.snap @@ -14,7 +14,6 @@ AssociateResourceToProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53profiles/snapshot/api_op_CreateProfile.go.snap b/service/route53profiles/snapshot/api_op_CreateProfile.go.snap index 57f49308510..3a41a2aba3d 100644 --- a/service/route53profiles/snapshot/api_op_CreateProfile.go.snap +++ b/service/route53profiles/snapshot/api_op_CreateProfile.go.snap @@ -15,7 +15,6 @@ CreateProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53profiles/snapshot/api_op_DeleteProfile.go.snap b/service/route53profiles/snapshot/api_op_DeleteProfile.go.snap index 799e701b0b8..05282b5914c 100644 --- a/service/route53profiles/snapshot/api_op_DeleteProfile.go.snap +++ b/service/route53profiles/snapshot/api_op_DeleteProfile.go.snap @@ -14,7 +14,6 @@ DeleteProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53profiles/snapshot/api_op_DisassociateProfile.go.snap b/service/route53profiles/snapshot/api_op_DisassociateProfile.go.snap index b7d64e351a1..bd18f9a11d8 100644 --- a/service/route53profiles/snapshot/api_op_DisassociateProfile.go.snap +++ b/service/route53profiles/snapshot/api_op_DisassociateProfile.go.snap @@ -14,7 +14,6 @@ DisassociateProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53profiles/snapshot/api_op_DisassociateResourceFromProfile.go.snap b/service/route53profiles/snapshot/api_op_DisassociateResourceFromProfile.go.snap index d86af815a72..972f6c472a6 100644 --- a/service/route53profiles/snapshot/api_op_DisassociateResourceFromProfile.go.snap +++ b/service/route53profiles/snapshot/api_op_DisassociateResourceFromProfile.go.snap @@ -14,7 +14,6 @@ DisassociateResourceFromProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53profiles/snapshot/api_op_GetProfile.go.snap b/service/route53profiles/snapshot/api_op_GetProfile.go.snap index b0b71d50a56..67bf1a1e445 100644 --- a/service/route53profiles/snapshot/api_op_GetProfile.go.snap +++ b/service/route53profiles/snapshot/api_op_GetProfile.go.snap @@ -14,7 +14,6 @@ GetProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53profiles/snapshot/api_op_GetProfileAssociation.go.snap b/service/route53profiles/snapshot/api_op_GetProfileAssociation.go.snap index 92d42ee2da3..9e396ac8b38 100644 --- a/service/route53profiles/snapshot/api_op_GetProfileAssociation.go.snap +++ b/service/route53profiles/snapshot/api_op_GetProfileAssociation.go.snap @@ -14,7 +14,6 @@ GetProfileAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53profiles/snapshot/api_op_GetProfileResourceAssociation.go.snap b/service/route53profiles/snapshot/api_op_GetProfileResourceAssociation.go.snap index 7a53f299101..cd7292d875f 100644 --- a/service/route53profiles/snapshot/api_op_GetProfileResourceAssociation.go.snap +++ b/service/route53profiles/snapshot/api_op_GetProfileResourceAssociation.go.snap @@ -14,7 +14,6 @@ GetProfileResourceAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53profiles/snapshot/api_op_ListProfileAssociations.go.snap b/service/route53profiles/snapshot/api_op_ListProfileAssociations.go.snap index 9b55d7e46bc..ace9a830ace 100644 --- a/service/route53profiles/snapshot/api_op_ListProfileAssociations.go.snap +++ b/service/route53profiles/snapshot/api_op_ListProfileAssociations.go.snap @@ -13,7 +13,6 @@ ListProfileAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53profiles/snapshot/api_op_ListProfileResourceAssociations.go.snap b/service/route53profiles/snapshot/api_op_ListProfileResourceAssociations.go.snap index 1c18827fe4b..e5c5eff7edd 100644 --- a/service/route53profiles/snapshot/api_op_ListProfileResourceAssociations.go.snap +++ b/service/route53profiles/snapshot/api_op_ListProfileResourceAssociations.go.snap @@ -14,7 +14,6 @@ ListProfileResourceAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53profiles/snapshot/api_op_ListProfiles.go.snap b/service/route53profiles/snapshot/api_op_ListProfiles.go.snap index 630e6c9bc09..5606d9bd3a7 100644 --- a/service/route53profiles/snapshot/api_op_ListProfiles.go.snap +++ b/service/route53profiles/snapshot/api_op_ListProfiles.go.snap @@ -13,7 +13,6 @@ ListProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53profiles/snapshot/api_op_ListTagsForResource.go.snap b/service/route53profiles/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/route53profiles/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/route53profiles/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53profiles/snapshot/api_op_TagResource.go.snap b/service/route53profiles/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/route53profiles/snapshot/api_op_TagResource.go.snap +++ b/service/route53profiles/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53profiles/snapshot/api_op_UntagResource.go.snap b/service/route53profiles/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/route53profiles/snapshot/api_op_UntagResource.go.snap +++ b/service/route53profiles/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53profiles/snapshot/api_op_UpdateProfileResourceAssociation.go.snap b/service/route53profiles/snapshot/api_op_UpdateProfileResourceAssociation.go.snap index 63b26795f8e..b5b1bd2b4c5 100644 --- a/service/route53profiles/snapshot/api_op_UpdateProfileResourceAssociation.go.snap +++ b/service/route53profiles/snapshot/api_op_UpdateProfileResourceAssociation.go.snap @@ -14,7 +14,6 @@ UpdateProfileResourceAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoverycluster/api_client.go b/service/route53recoverycluster/api_client.go index e7f0eb05eda..ddea2eee38c 100644 --- a/service/route53recoverycluster/api_client.go +++ b/service/route53recoverycluster/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/route53recoverycluster/api_op_GetRoutingControlState.go b/service/route53recoverycluster/api_op_GetRoutingControlState.go index c24e89aecb5..9a1d4d4fdec 100644 --- a/service/route53recoverycluster/api_op_GetRoutingControlState.go +++ b/service/route53recoverycluster/api_op_GetRoutingControlState.go @@ -151,9 +151,6 @@ func (c *Client) addOperationGetRoutingControlStateMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRoutingControlStateValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycluster/api_op_ListRoutingControls.go b/service/route53recoverycluster/api_op_ListRoutingControls.go index a0937790f36..42eea1d7254 100644 --- a/service/route53recoverycluster/api_op_ListRoutingControls.go +++ b/service/route53recoverycluster/api_op_ListRoutingControls.go @@ -153,9 +153,6 @@ func (c *Client) addOperationListRoutingControlsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRoutingControls(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53recoverycluster/api_op_UpdateRoutingControlState.go b/service/route53recoverycluster/api_op_UpdateRoutingControlState.go index dd0674fe330..7fb53543542 100644 --- a/service/route53recoverycluster/api_op_UpdateRoutingControlState.go +++ b/service/route53recoverycluster/api_op_UpdateRoutingControlState.go @@ -157,9 +157,6 @@ func (c *Client) addOperationUpdateRoutingControlStateMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRoutingControlStateValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycluster/api_op_UpdateRoutingControlStates.go b/service/route53recoverycluster/api_op_UpdateRoutingControlStates.go index fe04fbcd2ab..0ee50441784 100644 --- a/service/route53recoverycluster/api_op_UpdateRoutingControlStates.go +++ b/service/route53recoverycluster/api_op_UpdateRoutingControlStates.go @@ -150,9 +150,6 @@ func (c *Client) addOperationUpdateRoutingControlStatesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRoutingControlStatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycluster/snapshot/api_op_GetRoutingControlState.go.snap b/service/route53recoverycluster/snapshot/api_op_GetRoutingControlState.go.snap index a4ccf604871..df2537391ef 100644 --- a/service/route53recoverycluster/snapshot/api_op_GetRoutingControlState.go.snap +++ b/service/route53recoverycluster/snapshot/api_op_GetRoutingControlState.go.snap @@ -14,7 +14,6 @@ GetRoutingControlState Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoverycluster/snapshot/api_op_ListRoutingControls.go.snap b/service/route53recoverycluster/snapshot/api_op_ListRoutingControls.go.snap index 6b79942558f..c5b8f627b2d 100644 --- a/service/route53recoverycluster/snapshot/api_op_ListRoutingControls.go.snap +++ b/service/route53recoverycluster/snapshot/api_op_ListRoutingControls.go.snap @@ -13,7 +13,6 @@ ListRoutingControls Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoverycluster/snapshot/api_op_UpdateRoutingControlState.go.snap b/service/route53recoverycluster/snapshot/api_op_UpdateRoutingControlState.go.snap index 660c2d50a21..fbe26dfab84 100644 --- a/service/route53recoverycluster/snapshot/api_op_UpdateRoutingControlState.go.snap +++ b/service/route53recoverycluster/snapshot/api_op_UpdateRoutingControlState.go.snap @@ -14,7 +14,6 @@ UpdateRoutingControlState Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoverycluster/snapshot/api_op_UpdateRoutingControlStates.go.snap b/service/route53recoverycluster/snapshot/api_op_UpdateRoutingControlStates.go.snap index 0713f1a9fd1..0a57ec671ae 100644 --- a/service/route53recoverycluster/snapshot/api_op_UpdateRoutingControlStates.go.snap +++ b/service/route53recoverycluster/snapshot/api_op_UpdateRoutingControlStates.go.snap @@ -14,7 +14,6 @@ UpdateRoutingControlStates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoverycontrolconfig/api_client.go b/service/route53recoverycontrolconfig/api_client.go index 5b7436edd9f..8862f0d8575 100644 --- a/service/route53recoverycontrolconfig/api_client.go +++ b/service/route53recoverycontrolconfig/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/route53recoverycontrolconfig/api_op_CreateCluster.go b/service/route53recoverycontrolconfig/api_op_CreateCluster.go index 823ae33cc9e..8587be83e8b 100644 --- a/service/route53recoverycontrolconfig/api_op_CreateCluster.go +++ b/service/route53recoverycontrolconfig/api_op_CreateCluster.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCreateClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateClusterMiddleware(stack, options); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_CreateControlPanel.go b/service/route53recoverycontrolconfig/api_op_CreateControlPanel.go index 0126e8909fc..460c87e5bf2 100644 --- a/service/route53recoverycontrolconfig/api_op_CreateControlPanel.go +++ b/service/route53recoverycontrolconfig/api_op_CreateControlPanel.go @@ -129,9 +129,6 @@ func (c *Client) addOperationCreateControlPanelMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateControlPanelMiddleware(stack, options); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_CreateRoutingControl.go b/service/route53recoverycontrolconfig/api_op_CreateRoutingControl.go index bcea57d8aa3..7cbdb3ad248 100644 --- a/service/route53recoverycontrolconfig/api_op_CreateRoutingControl.go +++ b/service/route53recoverycontrolconfig/api_op_CreateRoutingControl.go @@ -133,9 +133,6 @@ func (c *Client) addOperationCreateRoutingControlMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateRoutingControlMiddleware(stack, options); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_CreateSafetyRule.go b/service/route53recoverycontrolconfig/api_op_CreateSafetyRule.go index 40e58893088..1c54c255fa0 100644 --- a/service/route53recoverycontrolconfig/api_op_CreateSafetyRule.go +++ b/service/route53recoverycontrolconfig/api_op_CreateSafetyRule.go @@ -144,9 +144,6 @@ func (c *Client) addOperationCreateSafetyRuleMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateSafetyRuleMiddleware(stack, options); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_DeleteCluster.go b/service/route53recoverycontrolconfig/api_op_DeleteCluster.go index 103848a5a86..de9e5717ac1 100644 --- a/service/route53recoverycontrolconfig/api_op_DeleteCluster.go +++ b/service/route53recoverycontrolconfig/api_op_DeleteCluster.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_DeleteControlPanel.go b/service/route53recoverycontrolconfig/api_op_DeleteControlPanel.go index a8a7491fcc1..b172aebc8f3 100644 --- a/service/route53recoverycontrolconfig/api_op_DeleteControlPanel.go +++ b/service/route53recoverycontrolconfig/api_op_DeleteControlPanel.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteControlPanelMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteControlPanelValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_DeleteRoutingControl.go b/service/route53recoverycontrolconfig/api_op_DeleteRoutingControl.go index afd8adafdeb..36094e0cbfa 100644 --- a/service/route53recoverycontrolconfig/api_op_DeleteRoutingControl.go +++ b/service/route53recoverycontrolconfig/api_op_DeleteRoutingControl.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteRoutingControlMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRoutingControlValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_DeleteSafetyRule.go b/service/route53recoverycontrolconfig/api_op_DeleteSafetyRule.go index 059564dad61..5864f0520ee 100644 --- a/service/route53recoverycontrolconfig/api_op_DeleteSafetyRule.go +++ b/service/route53recoverycontrolconfig/api_op_DeleteSafetyRule.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteSafetyRuleMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSafetyRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_DescribeCluster.go b/service/route53recoverycontrolconfig/api_op_DescribeCluster.go index 2367012aa2b..2c3caf9590a 100644 --- a/service/route53recoverycontrolconfig/api_op_DescribeCluster.go +++ b/service/route53recoverycontrolconfig/api_op_DescribeCluster.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDescribeClusterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_DescribeControlPanel.go b/service/route53recoverycontrolconfig/api_op_DescribeControlPanel.go index 36094dd7754..22b760e486e 100644 --- a/service/route53recoverycontrolconfig/api_op_DescribeControlPanel.go +++ b/service/route53recoverycontrolconfig/api_op_DescribeControlPanel.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDescribeControlPanelMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeControlPanelValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_DescribeRoutingControl.go b/service/route53recoverycontrolconfig/api_op_DescribeRoutingControl.go index 80a19469f51..9bc713d2635 100644 --- a/service/route53recoverycontrolconfig/api_op_DescribeRoutingControl.go +++ b/service/route53recoverycontrolconfig/api_op_DescribeRoutingControl.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeRoutingControlMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRoutingControlValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_DescribeSafetyRule.go b/service/route53recoverycontrolconfig/api_op_DescribeSafetyRule.go index 9b6e7302bc1..a0578679f5b 100644 --- a/service/route53recoverycontrolconfig/api_op_DescribeSafetyRule.go +++ b/service/route53recoverycontrolconfig/api_op_DescribeSafetyRule.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDescribeSafetyRuleMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSafetyRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_GetResourcePolicy.go b/service/route53recoverycontrolconfig/api_op_GetResourcePolicy.go index ad7f3ab8a96..0308ce24fc0 100644 --- a/service/route53recoverycontrolconfig/api_op_GetResourcePolicy.go +++ b/service/route53recoverycontrolconfig/api_op_GetResourcePolicy.go @@ -111,9 +111,6 @@ func (c *Client) addOperationGetResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_ListAssociatedRoute53HealthChecks.go b/service/route53recoverycontrolconfig/api_op_ListAssociatedRoute53HealthChecks.go index a1dee330ec8..d3984eba905 100644 --- a/service/route53recoverycontrolconfig/api_op_ListAssociatedRoute53HealthChecks.go +++ b/service/route53recoverycontrolconfig/api_op_ListAssociatedRoute53HealthChecks.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListAssociatedRoute53HealthChecksMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAssociatedRoute53HealthChecksValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_ListClusters.go b/service/route53recoverycontrolconfig/api_op_ListClusters.go index 21f0650dc1c..aaa0c6ead16 100644 --- a/service/route53recoverycontrolconfig/api_op_ListClusters.go +++ b/service/route53recoverycontrolconfig/api_op_ListClusters.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListClustersMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListClusters(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_ListControlPanels.go b/service/route53recoverycontrolconfig/api_op_ListControlPanels.go index d0fea9fed08..ac1d5f5e9f9 100644 --- a/service/route53recoverycontrolconfig/api_op_ListControlPanels.go +++ b/service/route53recoverycontrolconfig/api_op_ListControlPanels.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListControlPanelsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListControlPanels(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_ListRoutingControls.go b/service/route53recoverycontrolconfig/api_op_ListRoutingControls.go index 82cebdf517f..8135d44612f 100644 --- a/service/route53recoverycontrolconfig/api_op_ListRoutingControls.go +++ b/service/route53recoverycontrolconfig/api_op_ListRoutingControls.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListRoutingControlsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRoutingControlsValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_ListSafetyRules.go b/service/route53recoverycontrolconfig/api_op_ListSafetyRules.go index 53ba07d6c6d..a7c131ada4f 100644 --- a/service/route53recoverycontrolconfig/api_op_ListSafetyRules.go +++ b/service/route53recoverycontrolconfig/api_op_ListSafetyRules.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListSafetyRulesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSafetyRulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_ListTagsForResource.go b/service/route53recoverycontrolconfig/api_op_ListTagsForResource.go index d5e92d797bc..8c65e095bf0 100644 --- a/service/route53recoverycontrolconfig/api_op_ListTagsForResource.go +++ b/service/route53recoverycontrolconfig/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_TagResource.go b/service/route53recoverycontrolconfig/api_op_TagResource.go index 7b4ee708a54..1c1f27db6db 100644 --- a/service/route53recoverycontrolconfig/api_op_TagResource.go +++ b/service/route53recoverycontrolconfig/api_op_TagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_UntagResource.go b/service/route53recoverycontrolconfig/api_op_UntagResource.go index 468f4a02897..8a940704e2b 100644 --- a/service/route53recoverycontrolconfig/api_op_UntagResource.go +++ b/service/route53recoverycontrolconfig/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_UpdateControlPanel.go b/service/route53recoverycontrolconfig/api_op_UpdateControlPanel.go index a2968761515..7927e7557c4 100644 --- a/service/route53recoverycontrolconfig/api_op_UpdateControlPanel.go +++ b/service/route53recoverycontrolconfig/api_op_UpdateControlPanel.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateControlPanelMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateControlPanelValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_UpdateRoutingControl.go b/service/route53recoverycontrolconfig/api_op_UpdateRoutingControl.go index d9a832c660e..6475a5ff1fd 100644 --- a/service/route53recoverycontrolconfig/api_op_UpdateRoutingControl.go +++ b/service/route53recoverycontrolconfig/api_op_UpdateRoutingControl.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdateRoutingControlMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRoutingControlValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/api_op_UpdateSafetyRule.go b/service/route53recoverycontrolconfig/api_op_UpdateSafetyRule.go index c8714fe68a5..841baad640a 100644 --- a/service/route53recoverycontrolconfig/api_op_UpdateSafetyRule.go +++ b/service/route53recoverycontrolconfig/api_op_UpdateSafetyRule.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdateSafetyRuleMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSafetyRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoverycontrolconfig/snapshot/api_op_CreateCluster.go.snap b/service/route53recoverycontrolconfig/snapshot/api_op_CreateCluster.go.snap index cc20b56b767..404c2be2c9c 100644 --- a/service/route53recoverycontrolconfig/snapshot/api_op_CreateCluster.go.snap +++ b/service/route53recoverycontrolconfig/snapshot/api_op_CreateCluster.go.snap @@ -15,7 +15,6 @@ CreateCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoverycontrolconfig/snapshot/api_op_CreateControlPanel.go.snap b/service/route53recoverycontrolconfig/snapshot/api_op_CreateControlPanel.go.snap index 2892d2d06c3..c26be42cc81 100644 --- a/service/route53recoverycontrolconfig/snapshot/api_op_CreateControlPanel.go.snap +++ b/service/route53recoverycontrolconfig/snapshot/api_op_CreateControlPanel.go.snap @@ -15,7 +15,6 @@ CreateControlPanel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoverycontrolconfig/snapshot/api_op_CreateRoutingControl.go.snap b/service/route53recoverycontrolconfig/snapshot/api_op_CreateRoutingControl.go.snap index b711fd8f003..0bead58303c 100644 --- a/service/route53recoverycontrolconfig/snapshot/api_op_CreateRoutingControl.go.snap +++ b/service/route53recoverycontrolconfig/snapshot/api_op_CreateRoutingControl.go.snap @@ -15,7 +15,6 @@ CreateRoutingControl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoverycontrolconfig/snapshot/api_op_CreateSafetyRule.go.snap b/service/route53recoverycontrolconfig/snapshot/api_op_CreateSafetyRule.go.snap index f95e4d27e1e..b7e82162b15 100644 --- a/service/route53recoverycontrolconfig/snapshot/api_op_CreateSafetyRule.go.snap +++ b/service/route53recoverycontrolconfig/snapshot/api_op_CreateSafetyRule.go.snap @@ -15,7 +15,6 @@ CreateSafetyRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoverycontrolconfig/snapshot/api_op_DeleteCluster.go.snap b/service/route53recoverycontrolconfig/snapshot/api_op_DeleteCluster.go.snap index 8eeb23b33c5..9df5248d4d6 100644 --- a/service/route53recoverycontrolconfig/snapshot/api_op_DeleteCluster.go.snap +++ b/service/route53recoverycontrolconfig/snapshot/api_op_DeleteCluster.go.snap @@ -14,7 +14,6 @@ DeleteCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoverycontrolconfig/snapshot/api_op_DeleteControlPanel.go.snap b/service/route53recoverycontrolconfig/snapshot/api_op_DeleteControlPanel.go.snap index 31e7b973bfb..03f371a4832 100644 --- a/service/route53recoverycontrolconfig/snapshot/api_op_DeleteControlPanel.go.snap +++ b/service/route53recoverycontrolconfig/snapshot/api_op_DeleteControlPanel.go.snap @@ -14,7 +14,6 @@ DeleteControlPanel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoverycontrolconfig/snapshot/api_op_DeleteRoutingControl.go.snap b/service/route53recoverycontrolconfig/snapshot/api_op_DeleteRoutingControl.go.snap index c6999cd29d8..eaa68b1e87d 100644 --- a/service/route53recoverycontrolconfig/snapshot/api_op_DeleteRoutingControl.go.snap +++ b/service/route53recoverycontrolconfig/snapshot/api_op_DeleteRoutingControl.go.snap @@ -14,7 +14,6 @@ DeleteRoutingControl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoverycontrolconfig/snapshot/api_op_DeleteSafetyRule.go.snap b/service/route53recoverycontrolconfig/snapshot/api_op_DeleteSafetyRule.go.snap index f7b76ed1718..52ea6682d53 100644 --- a/service/route53recoverycontrolconfig/snapshot/api_op_DeleteSafetyRule.go.snap +++ b/service/route53recoverycontrolconfig/snapshot/api_op_DeleteSafetyRule.go.snap @@ -14,7 +14,6 @@ DeleteSafetyRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoverycontrolconfig/snapshot/api_op_DescribeCluster.go.snap b/service/route53recoverycontrolconfig/snapshot/api_op_DescribeCluster.go.snap index fe48df769b6..aba0b08d3d5 100644 --- a/service/route53recoverycontrolconfig/snapshot/api_op_DescribeCluster.go.snap +++ b/service/route53recoverycontrolconfig/snapshot/api_op_DescribeCluster.go.snap @@ -14,7 +14,6 @@ DescribeCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoverycontrolconfig/snapshot/api_op_DescribeControlPanel.go.snap b/service/route53recoverycontrolconfig/snapshot/api_op_DescribeControlPanel.go.snap index 99a95f0f5d1..46a919ae14c 100644 --- a/service/route53recoverycontrolconfig/snapshot/api_op_DescribeControlPanel.go.snap +++ b/service/route53recoverycontrolconfig/snapshot/api_op_DescribeControlPanel.go.snap @@ -14,7 +14,6 @@ DescribeControlPanel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoverycontrolconfig/snapshot/api_op_DescribeRoutingControl.go.snap b/service/route53recoverycontrolconfig/snapshot/api_op_DescribeRoutingControl.go.snap index 9b39af2b884..e14b7e8c042 100644 --- a/service/route53recoverycontrolconfig/snapshot/api_op_DescribeRoutingControl.go.snap +++ b/service/route53recoverycontrolconfig/snapshot/api_op_DescribeRoutingControl.go.snap @@ -14,7 +14,6 @@ DescribeRoutingControl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoverycontrolconfig/snapshot/api_op_DescribeSafetyRule.go.snap b/service/route53recoverycontrolconfig/snapshot/api_op_DescribeSafetyRule.go.snap index bf48262d115..90463646742 100644 --- a/service/route53recoverycontrolconfig/snapshot/api_op_DescribeSafetyRule.go.snap +++ b/service/route53recoverycontrolconfig/snapshot/api_op_DescribeSafetyRule.go.snap @@ -14,7 +14,6 @@ DescribeSafetyRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoverycontrolconfig/snapshot/api_op_GetResourcePolicy.go.snap b/service/route53recoverycontrolconfig/snapshot/api_op_GetResourcePolicy.go.snap index e3408c09804..4b3e7d017fa 100644 --- a/service/route53recoverycontrolconfig/snapshot/api_op_GetResourcePolicy.go.snap +++ b/service/route53recoverycontrolconfig/snapshot/api_op_GetResourcePolicy.go.snap @@ -14,7 +14,6 @@ GetResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoverycontrolconfig/snapshot/api_op_ListAssociatedRoute53HealthChecks.go.snap b/service/route53recoverycontrolconfig/snapshot/api_op_ListAssociatedRoute53HealthChecks.go.snap index 9245da525f0..bacaa65f334 100644 --- a/service/route53recoverycontrolconfig/snapshot/api_op_ListAssociatedRoute53HealthChecks.go.snap +++ b/service/route53recoverycontrolconfig/snapshot/api_op_ListAssociatedRoute53HealthChecks.go.snap @@ -14,7 +14,6 @@ ListAssociatedRoute53HealthChecks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoverycontrolconfig/snapshot/api_op_ListClusters.go.snap b/service/route53recoverycontrolconfig/snapshot/api_op_ListClusters.go.snap index 48cbced5e1f..949fd968ca2 100644 --- a/service/route53recoverycontrolconfig/snapshot/api_op_ListClusters.go.snap +++ b/service/route53recoverycontrolconfig/snapshot/api_op_ListClusters.go.snap @@ -13,7 +13,6 @@ ListClusters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoverycontrolconfig/snapshot/api_op_ListControlPanels.go.snap b/service/route53recoverycontrolconfig/snapshot/api_op_ListControlPanels.go.snap index d1cdceff47c..5e961eb7d99 100644 --- a/service/route53recoverycontrolconfig/snapshot/api_op_ListControlPanels.go.snap +++ b/service/route53recoverycontrolconfig/snapshot/api_op_ListControlPanels.go.snap @@ -13,7 +13,6 @@ ListControlPanels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoverycontrolconfig/snapshot/api_op_ListRoutingControls.go.snap b/service/route53recoverycontrolconfig/snapshot/api_op_ListRoutingControls.go.snap index c94e516c4c0..3dcc8e2a189 100644 --- a/service/route53recoverycontrolconfig/snapshot/api_op_ListRoutingControls.go.snap +++ b/service/route53recoverycontrolconfig/snapshot/api_op_ListRoutingControls.go.snap @@ -14,7 +14,6 @@ ListRoutingControls Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoverycontrolconfig/snapshot/api_op_ListSafetyRules.go.snap b/service/route53recoverycontrolconfig/snapshot/api_op_ListSafetyRules.go.snap index 9baf03371bd..ea729f94ac2 100644 --- a/service/route53recoverycontrolconfig/snapshot/api_op_ListSafetyRules.go.snap +++ b/service/route53recoverycontrolconfig/snapshot/api_op_ListSafetyRules.go.snap @@ -14,7 +14,6 @@ ListSafetyRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoverycontrolconfig/snapshot/api_op_ListTagsForResource.go.snap b/service/route53recoverycontrolconfig/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/route53recoverycontrolconfig/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/route53recoverycontrolconfig/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoverycontrolconfig/snapshot/api_op_TagResource.go.snap b/service/route53recoverycontrolconfig/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/route53recoverycontrolconfig/snapshot/api_op_TagResource.go.snap +++ b/service/route53recoverycontrolconfig/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoverycontrolconfig/snapshot/api_op_UntagResource.go.snap b/service/route53recoverycontrolconfig/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/route53recoverycontrolconfig/snapshot/api_op_UntagResource.go.snap +++ b/service/route53recoverycontrolconfig/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoverycontrolconfig/snapshot/api_op_UpdateControlPanel.go.snap b/service/route53recoverycontrolconfig/snapshot/api_op_UpdateControlPanel.go.snap index b9d53c97ded..f984dea40a8 100644 --- a/service/route53recoverycontrolconfig/snapshot/api_op_UpdateControlPanel.go.snap +++ b/service/route53recoverycontrolconfig/snapshot/api_op_UpdateControlPanel.go.snap @@ -14,7 +14,6 @@ UpdateControlPanel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoverycontrolconfig/snapshot/api_op_UpdateRoutingControl.go.snap b/service/route53recoverycontrolconfig/snapshot/api_op_UpdateRoutingControl.go.snap index 2b3dbc5408a..66c08649dd2 100644 --- a/service/route53recoverycontrolconfig/snapshot/api_op_UpdateRoutingControl.go.snap +++ b/service/route53recoverycontrolconfig/snapshot/api_op_UpdateRoutingControl.go.snap @@ -14,7 +14,6 @@ UpdateRoutingControl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoverycontrolconfig/snapshot/api_op_UpdateSafetyRule.go.snap b/service/route53recoverycontrolconfig/snapshot/api_op_UpdateSafetyRule.go.snap index 25e62474aaf..cfa46198c84 100644 --- a/service/route53recoverycontrolconfig/snapshot/api_op_UpdateSafetyRule.go.snap +++ b/service/route53recoverycontrolconfig/snapshot/api_op_UpdateSafetyRule.go.snap @@ -14,7 +14,6 @@ UpdateSafetyRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoveryreadiness/api_client.go b/service/route53recoveryreadiness/api_client.go index 0f202bdf4fc..39958889b15 100644 --- a/service/route53recoveryreadiness/api_client.go +++ b/service/route53recoveryreadiness/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/route53recoveryreadiness/api_op_CreateCell.go b/service/route53recoveryreadiness/api_op_CreateCell.go index a5ffdc353dc..bb3f2068463 100644 --- a/service/route53recoveryreadiness/api_op_CreateCell.go +++ b/service/route53recoveryreadiness/api_op_CreateCell.go @@ -133,9 +133,6 @@ func (c *Client) addOperationCreateCellMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCellValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_CreateCrossAccountAuthorization.go b/service/route53recoveryreadiness/api_op_CreateCrossAccountAuthorization.go index 1a135024848..b3dec87774e 100644 --- a/service/route53recoveryreadiness/api_op_CreateCrossAccountAuthorization.go +++ b/service/route53recoveryreadiness/api_op_CreateCrossAccountAuthorization.go @@ -113,9 +113,6 @@ func (c *Client) addOperationCreateCrossAccountAuthorizationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCrossAccountAuthorizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_CreateReadinessCheck.go b/service/route53recoveryreadiness/api_op_CreateReadinessCheck.go index 2eb23556db9..372cae116f7 100644 --- a/service/route53recoveryreadiness/api_op_CreateReadinessCheck.go +++ b/service/route53recoveryreadiness/api_op_CreateReadinessCheck.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateReadinessCheckMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateReadinessCheckValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_CreateRecoveryGroup.go b/service/route53recoveryreadiness/api_op_CreateRecoveryGroup.go index e7182e98ec4..a92d1ec7f7d 100644 --- a/service/route53recoveryreadiness/api_op_CreateRecoveryGroup.go +++ b/service/route53recoveryreadiness/api_op_CreateRecoveryGroup.go @@ -127,9 +127,6 @@ func (c *Client) addOperationCreateRecoveryGroupMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRecoveryGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_CreateResourceSet.go b/service/route53recoveryreadiness/api_op_CreateResourceSet.go index bf72f31f490..008e2c24e2e 100644 --- a/service/route53recoveryreadiness/api_op_CreateResourceSet.go +++ b/service/route53recoveryreadiness/api_op_CreateResourceSet.go @@ -161,9 +161,6 @@ func (c *Client) addOperationCreateResourceSetMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateResourceSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_DeleteCell.go b/service/route53recoveryreadiness/api_op_DeleteCell.go index c34a86680d3..d1b05211eba 100644 --- a/service/route53recoveryreadiness/api_op_DeleteCell.go +++ b/service/route53recoveryreadiness/api_op_DeleteCell.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteCellMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCellValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_DeleteCrossAccountAuthorization.go b/service/route53recoveryreadiness/api_op_DeleteCrossAccountAuthorization.go index 15aeeaea0d7..3511f2fd1b0 100644 --- a/service/route53recoveryreadiness/api_op_DeleteCrossAccountAuthorization.go +++ b/service/route53recoveryreadiness/api_op_DeleteCrossAccountAuthorization.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteCrossAccountAuthorizationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCrossAccountAuthorizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_DeleteReadinessCheck.go b/service/route53recoveryreadiness/api_op_DeleteReadinessCheck.go index 88543ec7b15..d5e5b932978 100644 --- a/service/route53recoveryreadiness/api_op_DeleteReadinessCheck.go +++ b/service/route53recoveryreadiness/api_op_DeleteReadinessCheck.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteReadinessCheckMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteReadinessCheckValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_DeleteRecoveryGroup.go b/service/route53recoveryreadiness/api_op_DeleteRecoveryGroup.go index 1be262e2977..d1ef942de60 100644 --- a/service/route53recoveryreadiness/api_op_DeleteRecoveryGroup.go +++ b/service/route53recoveryreadiness/api_op_DeleteRecoveryGroup.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteRecoveryGroupMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRecoveryGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_DeleteResourceSet.go b/service/route53recoveryreadiness/api_op_DeleteResourceSet.go index 49cfeea2ce8..0f9b8ab5608 100644 --- a/service/route53recoveryreadiness/api_op_DeleteResourceSet.go +++ b/service/route53recoveryreadiness/api_op_DeleteResourceSet.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteResourceSetMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourceSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_GetArchitectureRecommendations.go b/service/route53recoveryreadiness/api_op_GetArchitectureRecommendations.go index 059f60abb74..f537bce1755 100644 --- a/service/route53recoveryreadiness/api_op_GetArchitectureRecommendations.go +++ b/service/route53recoveryreadiness/api_op_GetArchitectureRecommendations.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetArchitectureRecommendationsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetArchitectureRecommendationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_GetCell.go b/service/route53recoveryreadiness/api_op_GetCell.go index 08d3dfc327f..49c816b484a 100644 --- a/service/route53recoveryreadiness/api_op_GetCell.go +++ b/service/route53recoveryreadiness/api_op_GetCell.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetCellMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCellValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_GetCellReadinessSummary.go b/service/route53recoveryreadiness/api_op_GetCellReadinessSummary.go index 0c768970d0e..c825203b84c 100644 --- a/service/route53recoveryreadiness/api_op_GetCellReadinessSummary.go +++ b/service/route53recoveryreadiness/api_op_GetCellReadinessSummary.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetCellReadinessSummaryMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCellReadinessSummaryValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_GetReadinessCheck.go b/service/route53recoveryreadiness/api_op_GetReadinessCheck.go index aa31cc97703..eda58df37d8 100644 --- a/service/route53recoveryreadiness/api_op_GetReadinessCheck.go +++ b/service/route53recoveryreadiness/api_op_GetReadinessCheck.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetReadinessCheckMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetReadinessCheckValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_GetReadinessCheckResourceStatus.go b/service/route53recoveryreadiness/api_op_GetReadinessCheckResourceStatus.go index c81265edaf6..139315d86de 100644 --- a/service/route53recoveryreadiness/api_op_GetReadinessCheckResourceStatus.go +++ b/service/route53recoveryreadiness/api_op_GetReadinessCheckResourceStatus.go @@ -134,9 +134,6 @@ func (c *Client) addOperationGetReadinessCheckResourceStatusMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetReadinessCheckResourceStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_GetReadinessCheckStatus.go b/service/route53recoveryreadiness/api_op_GetReadinessCheckStatus.go index b4c18c1be6b..b4dfaecad65 100644 --- a/service/route53recoveryreadiness/api_op_GetReadinessCheckStatus.go +++ b/service/route53recoveryreadiness/api_op_GetReadinessCheckStatus.go @@ -130,9 +130,6 @@ func (c *Client) addOperationGetReadinessCheckStatusMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetReadinessCheckStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_GetRecoveryGroup.go b/service/route53recoveryreadiness/api_op_GetRecoveryGroup.go index 789e3de4dd0..b38fd7aacfe 100644 --- a/service/route53recoveryreadiness/api_op_GetRecoveryGroup.go +++ b/service/route53recoveryreadiness/api_op_GetRecoveryGroup.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetRecoveryGroupMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRecoveryGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_GetRecoveryGroupReadinessSummary.go b/service/route53recoveryreadiness/api_op_GetRecoveryGroupReadinessSummary.go index 1be3228eadb..e3051618a4b 100644 --- a/service/route53recoveryreadiness/api_op_GetRecoveryGroupReadinessSummary.go +++ b/service/route53recoveryreadiness/api_op_GetRecoveryGroupReadinessSummary.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetRecoveryGroupReadinessSummaryMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRecoveryGroupReadinessSummaryValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_GetResourceSet.go b/service/route53recoveryreadiness/api_op_GetResourceSet.go index d930d3120f5..cba897c34c1 100644 --- a/service/route53recoveryreadiness/api_op_GetResourceSet.go +++ b/service/route53recoveryreadiness/api_op_GetResourceSet.go @@ -136,9 +136,6 @@ func (c *Client) addOperationGetResourceSetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourceSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_ListCells.go b/service/route53recoveryreadiness/api_op_ListCells.go index 533c68bf48f..7f1c305ee92 100644 --- a/service/route53recoveryreadiness/api_op_ListCells.go +++ b/service/route53recoveryreadiness/api_op_ListCells.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListCellsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCells(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_ListCrossAccountAuthorizations.go b/service/route53recoveryreadiness/api_op_ListCrossAccountAuthorizations.go index 0ecdd4fb6c8..6ea0d76d7bc 100644 --- a/service/route53recoveryreadiness/api_op_ListCrossAccountAuthorizations.go +++ b/service/route53recoveryreadiness/api_op_ListCrossAccountAuthorizations.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListCrossAccountAuthorizationsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCrossAccountAuthorizations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_ListReadinessChecks.go b/service/route53recoveryreadiness/api_op_ListReadinessChecks.go index b4eac2b448e..76279fc5815 100644 --- a/service/route53recoveryreadiness/api_op_ListReadinessChecks.go +++ b/service/route53recoveryreadiness/api_op_ListReadinessChecks.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListReadinessChecksMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReadinessChecks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_ListRecoveryGroups.go b/service/route53recoveryreadiness/api_op_ListRecoveryGroups.go index 764ef32e9d2..fab3c953e3b 100644 --- a/service/route53recoveryreadiness/api_op_ListRecoveryGroups.go +++ b/service/route53recoveryreadiness/api_op_ListRecoveryGroups.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListRecoveryGroupsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRecoveryGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_ListResourceSets.go b/service/route53recoveryreadiness/api_op_ListResourceSets.go index bdc6939573e..388b8810bf9 100644 --- a/service/route53recoveryreadiness/api_op_ListResourceSets.go +++ b/service/route53recoveryreadiness/api_op_ListResourceSets.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListResourceSetsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourceSets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_ListRules.go b/service/route53recoveryreadiness/api_op_ListRules.go index ea9524e41b2..804fbfd14a4 100644 --- a/service/route53recoveryreadiness/api_op_ListRules.go +++ b/service/route53recoveryreadiness/api_op_ListRules.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListRulesMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRules(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_ListTagsForResources.go b/service/route53recoveryreadiness/api_op_ListTagsForResources.go index 193f3f17bb3..b0997f4f5a2 100644 --- a/service/route53recoveryreadiness/api_op_ListTagsForResources.go +++ b/service/route53recoveryreadiness/api_op_ListTagsForResources.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourcesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_TagResource.go b/service/route53recoveryreadiness/api_op_TagResource.go index ac844f5370c..663e7bc3c31 100644 --- a/service/route53recoveryreadiness/api_op_TagResource.go +++ b/service/route53recoveryreadiness/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_UntagResource.go b/service/route53recoveryreadiness/api_op_UntagResource.go index 5340355d143..4765916f43c 100644 --- a/service/route53recoveryreadiness/api_op_UntagResource.go +++ b/service/route53recoveryreadiness/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_UpdateCell.go b/service/route53recoveryreadiness/api_op_UpdateCell.go index bc059063899..8bf29f66d2b 100644 --- a/service/route53recoveryreadiness/api_op_UpdateCell.go +++ b/service/route53recoveryreadiness/api_op_UpdateCell.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdateCellMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCellValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_UpdateReadinessCheck.go b/service/route53recoveryreadiness/api_op_UpdateReadinessCheck.go index bb08feb8eb8..7518a688c6d 100644 --- a/service/route53recoveryreadiness/api_op_UpdateReadinessCheck.go +++ b/service/route53recoveryreadiness/api_op_UpdateReadinessCheck.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateReadinessCheckMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateReadinessCheckValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_UpdateRecoveryGroup.go b/service/route53recoveryreadiness/api_op_UpdateRecoveryGroup.go index f031a2b0c31..93f6de09507 100644 --- a/service/route53recoveryreadiness/api_op_UpdateRecoveryGroup.go +++ b/service/route53recoveryreadiness/api_op_UpdateRecoveryGroup.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateRecoveryGroupMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRecoveryGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/api_op_UpdateResourceSet.go b/service/route53recoveryreadiness/api_op_UpdateResourceSet.go index a2538e61fa9..2073c192f65 100644 --- a/service/route53recoveryreadiness/api_op_UpdateResourceSet.go +++ b/service/route53recoveryreadiness/api_op_UpdateResourceSet.go @@ -157,9 +157,6 @@ func (c *Client) addOperationUpdateResourceSetMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateResourceSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53recoveryreadiness/snapshot/api_op_CreateCell.go.snap b/service/route53recoveryreadiness/snapshot/api_op_CreateCell.go.snap index 6646fdc0ccd..323dc3c6c52 100644 --- a/service/route53recoveryreadiness/snapshot/api_op_CreateCell.go.snap +++ b/service/route53recoveryreadiness/snapshot/api_op_CreateCell.go.snap @@ -14,7 +14,6 @@ CreateCell Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoveryreadiness/snapshot/api_op_CreateCrossAccountAuthorization.go.snap b/service/route53recoveryreadiness/snapshot/api_op_CreateCrossAccountAuthorization.go.snap index 9ec659a2027..3ede2c1da27 100644 --- a/service/route53recoveryreadiness/snapshot/api_op_CreateCrossAccountAuthorization.go.snap +++ b/service/route53recoveryreadiness/snapshot/api_op_CreateCrossAccountAuthorization.go.snap @@ -14,7 +14,6 @@ CreateCrossAccountAuthorization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoveryreadiness/snapshot/api_op_CreateReadinessCheck.go.snap b/service/route53recoveryreadiness/snapshot/api_op_CreateReadinessCheck.go.snap index 5778143f3e1..69eb1572fb9 100644 --- a/service/route53recoveryreadiness/snapshot/api_op_CreateReadinessCheck.go.snap +++ b/service/route53recoveryreadiness/snapshot/api_op_CreateReadinessCheck.go.snap @@ -14,7 +14,6 @@ CreateReadinessCheck Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoveryreadiness/snapshot/api_op_CreateRecoveryGroup.go.snap b/service/route53recoveryreadiness/snapshot/api_op_CreateRecoveryGroup.go.snap index 9f3268c9903..5202167f02e 100644 --- a/service/route53recoveryreadiness/snapshot/api_op_CreateRecoveryGroup.go.snap +++ b/service/route53recoveryreadiness/snapshot/api_op_CreateRecoveryGroup.go.snap @@ -14,7 +14,6 @@ CreateRecoveryGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoveryreadiness/snapshot/api_op_CreateResourceSet.go.snap b/service/route53recoveryreadiness/snapshot/api_op_CreateResourceSet.go.snap index 42d6df572cd..fc9881f8657 100644 --- a/service/route53recoveryreadiness/snapshot/api_op_CreateResourceSet.go.snap +++ b/service/route53recoveryreadiness/snapshot/api_op_CreateResourceSet.go.snap @@ -14,7 +14,6 @@ CreateResourceSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoveryreadiness/snapshot/api_op_DeleteCell.go.snap b/service/route53recoveryreadiness/snapshot/api_op_DeleteCell.go.snap index 988fcd92908..43e2d0177e1 100644 --- a/service/route53recoveryreadiness/snapshot/api_op_DeleteCell.go.snap +++ b/service/route53recoveryreadiness/snapshot/api_op_DeleteCell.go.snap @@ -14,7 +14,6 @@ DeleteCell Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoveryreadiness/snapshot/api_op_DeleteCrossAccountAuthorization.go.snap b/service/route53recoveryreadiness/snapshot/api_op_DeleteCrossAccountAuthorization.go.snap index 8926f9e8f7a..2a29ee6ab84 100644 --- a/service/route53recoveryreadiness/snapshot/api_op_DeleteCrossAccountAuthorization.go.snap +++ b/service/route53recoveryreadiness/snapshot/api_op_DeleteCrossAccountAuthorization.go.snap @@ -14,7 +14,6 @@ DeleteCrossAccountAuthorization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoveryreadiness/snapshot/api_op_DeleteReadinessCheck.go.snap b/service/route53recoveryreadiness/snapshot/api_op_DeleteReadinessCheck.go.snap index d49e8716f25..1b4ded6f29c 100644 --- a/service/route53recoveryreadiness/snapshot/api_op_DeleteReadinessCheck.go.snap +++ b/service/route53recoveryreadiness/snapshot/api_op_DeleteReadinessCheck.go.snap @@ -14,7 +14,6 @@ DeleteReadinessCheck Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoveryreadiness/snapshot/api_op_DeleteRecoveryGroup.go.snap b/service/route53recoveryreadiness/snapshot/api_op_DeleteRecoveryGroup.go.snap index 12827c4b9c8..f1af89e89a9 100644 --- a/service/route53recoveryreadiness/snapshot/api_op_DeleteRecoveryGroup.go.snap +++ b/service/route53recoveryreadiness/snapshot/api_op_DeleteRecoveryGroup.go.snap @@ -14,7 +14,6 @@ DeleteRecoveryGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoveryreadiness/snapshot/api_op_DeleteResourceSet.go.snap b/service/route53recoveryreadiness/snapshot/api_op_DeleteResourceSet.go.snap index 157a6e5eb59..913c7b1cfe7 100644 --- a/service/route53recoveryreadiness/snapshot/api_op_DeleteResourceSet.go.snap +++ b/service/route53recoveryreadiness/snapshot/api_op_DeleteResourceSet.go.snap @@ -14,7 +14,6 @@ DeleteResourceSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoveryreadiness/snapshot/api_op_GetArchitectureRecommendations.go.snap b/service/route53recoveryreadiness/snapshot/api_op_GetArchitectureRecommendations.go.snap index d17cecee236..58481a2f233 100644 --- a/service/route53recoveryreadiness/snapshot/api_op_GetArchitectureRecommendations.go.snap +++ b/service/route53recoveryreadiness/snapshot/api_op_GetArchitectureRecommendations.go.snap @@ -14,7 +14,6 @@ GetArchitectureRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoveryreadiness/snapshot/api_op_GetCell.go.snap b/service/route53recoveryreadiness/snapshot/api_op_GetCell.go.snap index 7e75a9849cf..8910b2abfe3 100644 --- a/service/route53recoveryreadiness/snapshot/api_op_GetCell.go.snap +++ b/service/route53recoveryreadiness/snapshot/api_op_GetCell.go.snap @@ -14,7 +14,6 @@ GetCell Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoveryreadiness/snapshot/api_op_GetCellReadinessSummary.go.snap b/service/route53recoveryreadiness/snapshot/api_op_GetCellReadinessSummary.go.snap index 71c08a5ef6b..c5cd322bf81 100644 --- a/service/route53recoveryreadiness/snapshot/api_op_GetCellReadinessSummary.go.snap +++ b/service/route53recoveryreadiness/snapshot/api_op_GetCellReadinessSummary.go.snap @@ -14,7 +14,6 @@ GetCellReadinessSummary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoveryreadiness/snapshot/api_op_GetReadinessCheck.go.snap b/service/route53recoveryreadiness/snapshot/api_op_GetReadinessCheck.go.snap index 38db92ea2fb..8f4af0d5cd5 100644 --- a/service/route53recoveryreadiness/snapshot/api_op_GetReadinessCheck.go.snap +++ b/service/route53recoveryreadiness/snapshot/api_op_GetReadinessCheck.go.snap @@ -14,7 +14,6 @@ GetReadinessCheck Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoveryreadiness/snapshot/api_op_GetReadinessCheckResourceStatus.go.snap b/service/route53recoveryreadiness/snapshot/api_op_GetReadinessCheckResourceStatus.go.snap index 4d3ea674768..5821c0d5992 100644 --- a/service/route53recoveryreadiness/snapshot/api_op_GetReadinessCheckResourceStatus.go.snap +++ b/service/route53recoveryreadiness/snapshot/api_op_GetReadinessCheckResourceStatus.go.snap @@ -14,7 +14,6 @@ GetReadinessCheckResourceStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoveryreadiness/snapshot/api_op_GetReadinessCheckStatus.go.snap b/service/route53recoveryreadiness/snapshot/api_op_GetReadinessCheckStatus.go.snap index 2b8fcf0e811..5cf6acb00ec 100644 --- a/service/route53recoveryreadiness/snapshot/api_op_GetReadinessCheckStatus.go.snap +++ b/service/route53recoveryreadiness/snapshot/api_op_GetReadinessCheckStatus.go.snap @@ -14,7 +14,6 @@ GetReadinessCheckStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoveryreadiness/snapshot/api_op_GetRecoveryGroup.go.snap b/service/route53recoveryreadiness/snapshot/api_op_GetRecoveryGroup.go.snap index 5a4c0e95c90..1c4d54e6a39 100644 --- a/service/route53recoveryreadiness/snapshot/api_op_GetRecoveryGroup.go.snap +++ b/service/route53recoveryreadiness/snapshot/api_op_GetRecoveryGroup.go.snap @@ -14,7 +14,6 @@ GetRecoveryGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoveryreadiness/snapshot/api_op_GetRecoveryGroupReadinessSummary.go.snap b/service/route53recoveryreadiness/snapshot/api_op_GetRecoveryGroupReadinessSummary.go.snap index bddd6549d3b..4d230474104 100644 --- a/service/route53recoveryreadiness/snapshot/api_op_GetRecoveryGroupReadinessSummary.go.snap +++ b/service/route53recoveryreadiness/snapshot/api_op_GetRecoveryGroupReadinessSummary.go.snap @@ -14,7 +14,6 @@ GetRecoveryGroupReadinessSummary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoveryreadiness/snapshot/api_op_GetResourceSet.go.snap b/service/route53recoveryreadiness/snapshot/api_op_GetResourceSet.go.snap index e810e7cd249..99c024fd076 100644 --- a/service/route53recoveryreadiness/snapshot/api_op_GetResourceSet.go.snap +++ b/service/route53recoveryreadiness/snapshot/api_op_GetResourceSet.go.snap @@ -14,7 +14,6 @@ GetResourceSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoveryreadiness/snapshot/api_op_ListCells.go.snap b/service/route53recoveryreadiness/snapshot/api_op_ListCells.go.snap index 8b0461b69e0..5e940a247b8 100644 --- a/service/route53recoveryreadiness/snapshot/api_op_ListCells.go.snap +++ b/service/route53recoveryreadiness/snapshot/api_op_ListCells.go.snap @@ -13,7 +13,6 @@ ListCells Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoveryreadiness/snapshot/api_op_ListCrossAccountAuthorizations.go.snap b/service/route53recoveryreadiness/snapshot/api_op_ListCrossAccountAuthorizations.go.snap index 67200632bd8..f456539b8df 100644 --- a/service/route53recoveryreadiness/snapshot/api_op_ListCrossAccountAuthorizations.go.snap +++ b/service/route53recoveryreadiness/snapshot/api_op_ListCrossAccountAuthorizations.go.snap @@ -13,7 +13,6 @@ ListCrossAccountAuthorizations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoveryreadiness/snapshot/api_op_ListReadinessChecks.go.snap b/service/route53recoveryreadiness/snapshot/api_op_ListReadinessChecks.go.snap index 1d38ed267a4..d0cb2b637e4 100644 --- a/service/route53recoveryreadiness/snapshot/api_op_ListReadinessChecks.go.snap +++ b/service/route53recoveryreadiness/snapshot/api_op_ListReadinessChecks.go.snap @@ -13,7 +13,6 @@ ListReadinessChecks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoveryreadiness/snapshot/api_op_ListRecoveryGroups.go.snap b/service/route53recoveryreadiness/snapshot/api_op_ListRecoveryGroups.go.snap index 3e66dc8ec89..a0127751df2 100644 --- a/service/route53recoveryreadiness/snapshot/api_op_ListRecoveryGroups.go.snap +++ b/service/route53recoveryreadiness/snapshot/api_op_ListRecoveryGroups.go.snap @@ -13,7 +13,6 @@ ListRecoveryGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoveryreadiness/snapshot/api_op_ListResourceSets.go.snap b/service/route53recoveryreadiness/snapshot/api_op_ListResourceSets.go.snap index 5ea6b95ae21..999a8b4e725 100644 --- a/service/route53recoveryreadiness/snapshot/api_op_ListResourceSets.go.snap +++ b/service/route53recoveryreadiness/snapshot/api_op_ListResourceSets.go.snap @@ -13,7 +13,6 @@ ListResourceSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoveryreadiness/snapshot/api_op_ListRules.go.snap b/service/route53recoveryreadiness/snapshot/api_op_ListRules.go.snap index e978e5342cf..b45cb373aa6 100644 --- a/service/route53recoveryreadiness/snapshot/api_op_ListRules.go.snap +++ b/service/route53recoveryreadiness/snapshot/api_op_ListRules.go.snap @@ -13,7 +13,6 @@ ListRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoveryreadiness/snapshot/api_op_ListTagsForResources.go.snap b/service/route53recoveryreadiness/snapshot/api_op_ListTagsForResources.go.snap index ce0e9252040..bf369c6b548 100644 --- a/service/route53recoveryreadiness/snapshot/api_op_ListTagsForResources.go.snap +++ b/service/route53recoveryreadiness/snapshot/api_op_ListTagsForResources.go.snap @@ -14,7 +14,6 @@ ListTagsForResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoveryreadiness/snapshot/api_op_TagResource.go.snap b/service/route53recoveryreadiness/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/route53recoveryreadiness/snapshot/api_op_TagResource.go.snap +++ b/service/route53recoveryreadiness/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoveryreadiness/snapshot/api_op_UntagResource.go.snap b/service/route53recoveryreadiness/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/route53recoveryreadiness/snapshot/api_op_UntagResource.go.snap +++ b/service/route53recoveryreadiness/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoveryreadiness/snapshot/api_op_UpdateCell.go.snap b/service/route53recoveryreadiness/snapshot/api_op_UpdateCell.go.snap index 4f3cf58c3c6..b0323f28782 100644 --- a/service/route53recoveryreadiness/snapshot/api_op_UpdateCell.go.snap +++ b/service/route53recoveryreadiness/snapshot/api_op_UpdateCell.go.snap @@ -14,7 +14,6 @@ UpdateCell Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoveryreadiness/snapshot/api_op_UpdateReadinessCheck.go.snap b/service/route53recoveryreadiness/snapshot/api_op_UpdateReadinessCheck.go.snap index dce0318ca99..03ff580fb64 100644 --- a/service/route53recoveryreadiness/snapshot/api_op_UpdateReadinessCheck.go.snap +++ b/service/route53recoveryreadiness/snapshot/api_op_UpdateReadinessCheck.go.snap @@ -14,7 +14,6 @@ UpdateReadinessCheck Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoveryreadiness/snapshot/api_op_UpdateRecoveryGroup.go.snap b/service/route53recoveryreadiness/snapshot/api_op_UpdateRecoveryGroup.go.snap index bad85e1b489..20553e66c0d 100644 --- a/service/route53recoveryreadiness/snapshot/api_op_UpdateRecoveryGroup.go.snap +++ b/service/route53recoveryreadiness/snapshot/api_op_UpdateRecoveryGroup.go.snap @@ -14,7 +14,6 @@ UpdateRecoveryGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53recoveryreadiness/snapshot/api_op_UpdateResourceSet.go.snap b/service/route53recoveryreadiness/snapshot/api_op_UpdateResourceSet.go.snap index 829ad3f4cdf..35eef34cee3 100644 --- a/service/route53recoveryreadiness/snapshot/api_op_UpdateResourceSet.go.snap +++ b/service/route53recoveryreadiness/snapshot/api_op_UpdateResourceSet.go.snap @@ -14,7 +14,6 @@ UpdateResourceSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/api_client.go b/service/route53resolver/api_client.go index 7b63c84a88d..98225301192 100644 --- a/service/route53resolver/api_client.go +++ b/service/route53resolver/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/route53resolver/api_op_AssociateFirewallRuleGroup.go b/service/route53resolver/api_op_AssociateFirewallRuleGroup.go index 4e59fe8da78..834ab822ae1 100644 --- a/service/route53resolver/api_op_AssociateFirewallRuleGroup.go +++ b/service/route53resolver/api_op_AssociateFirewallRuleGroup.go @@ -154,9 +154,6 @@ func (c *Client) addOperationAssociateFirewallRuleGroupMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opAssociateFirewallRuleGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/route53resolver/api_op_AssociateResolverEndpointIpAddress.go b/service/route53resolver/api_op_AssociateResolverEndpointIpAddress.go index e1584462cf4..bd88a0d5c8c 100644 --- a/service/route53resolver/api_op_AssociateResolverEndpointIpAddress.go +++ b/service/route53resolver/api_op_AssociateResolverEndpointIpAddress.go @@ -125,9 +125,6 @@ func (c *Client) addOperationAssociateResolverEndpointIpAddressMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateResolverEndpointIpAddressValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_AssociateResolverQueryLogConfig.go b/service/route53resolver/api_op_AssociateResolverQueryLogConfig.go index d8304fde925..268a89e23e6 100644 --- a/service/route53resolver/api_op_AssociateResolverQueryLogConfig.go +++ b/service/route53resolver/api_op_AssociateResolverQueryLogConfig.go @@ -132,9 +132,6 @@ func (c *Client) addOperationAssociateResolverQueryLogConfigMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateResolverQueryLogConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_AssociateResolverRule.go b/service/route53resolver/api_op_AssociateResolverRule.go index 3c11fa59742..71d919568f6 100644 --- a/service/route53resolver/api_op_AssociateResolverRule.go +++ b/service/route53resolver/api_op_AssociateResolverRule.go @@ -131,9 +131,6 @@ func (c *Client) addOperationAssociateResolverRuleMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateResolverRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_CreateFirewallDomainList.go b/service/route53resolver/api_op_CreateFirewallDomainList.go index fa53eba6be7..fdd60f7af18 100644 --- a/service/route53resolver/api_op_CreateFirewallDomainList.go +++ b/service/route53resolver/api_op_CreateFirewallDomainList.go @@ -125,9 +125,6 @@ func (c *Client) addOperationCreateFirewallDomainListMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateFirewallDomainListMiddleware(stack, options); err != nil { return err } diff --git a/service/route53resolver/api_op_CreateFirewallRule.go b/service/route53resolver/api_op_CreateFirewallRule.go index 439bda79020..b8805931471 100644 --- a/service/route53resolver/api_op_CreateFirewallRule.go +++ b/service/route53resolver/api_op_CreateFirewallRule.go @@ -255,9 +255,6 @@ func (c *Client) addOperationCreateFirewallRuleMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateFirewallRuleMiddleware(stack, options); err != nil { return err } diff --git a/service/route53resolver/api_op_CreateFirewallRuleGroup.go b/service/route53resolver/api_op_CreateFirewallRuleGroup.go index c613bba1330..c1f9c27f528 100644 --- a/service/route53resolver/api_op_CreateFirewallRuleGroup.go +++ b/service/route53resolver/api_op_CreateFirewallRuleGroup.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCreateFirewallRuleGroupMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateFirewallRuleGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/route53resolver/api_op_CreateOutpostResolver.go b/service/route53resolver/api_op_CreateOutpostResolver.go index 768e7cf124c..e336672df47 100644 --- a/service/route53resolver/api_op_CreateOutpostResolver.go +++ b/service/route53resolver/api_op_CreateOutpostResolver.go @@ -141,9 +141,6 @@ func (c *Client) addOperationCreateOutpostResolverMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateOutpostResolverValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_CreateResolverEndpoint.go b/service/route53resolver/api_op_CreateResolverEndpoint.go index 7638d311f29..ba76d469e74 100644 --- a/service/route53resolver/api_op_CreateResolverEndpoint.go +++ b/service/route53resolver/api_op_CreateResolverEndpoint.go @@ -209,9 +209,6 @@ func (c *Client) addOperationCreateResolverEndpointMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateResolverEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_CreateResolverQueryLogConfig.go b/service/route53resolver/api_op_CreateResolverQueryLogConfig.go index a2455203251..1f078dcbcd8 100644 --- a/service/route53resolver/api_op_CreateResolverQueryLogConfig.go +++ b/service/route53resolver/api_op_CreateResolverQueryLogConfig.go @@ -161,9 +161,6 @@ func (c *Client) addOperationCreateResolverQueryLogConfigMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateResolverQueryLogConfigMiddleware(stack, options); err != nil { return err } diff --git a/service/route53resolver/api_op_CreateResolverRule.go b/service/route53resolver/api_op_CreateResolverRule.go index edbf87ecfaa..6299e079dc2 100644 --- a/service/route53resolver/api_op_CreateResolverRule.go +++ b/service/route53resolver/api_op_CreateResolverRule.go @@ -159,9 +159,6 @@ func (c *Client) addOperationCreateResolverRuleMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateResolverRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_DeleteFirewallDomainList.go b/service/route53resolver/api_op_DeleteFirewallDomainList.go index 564476fab2b..d2f51b1e2c1 100644 --- a/service/route53resolver/api_op_DeleteFirewallDomainList.go +++ b/service/route53resolver/api_op_DeleteFirewallDomainList.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteFirewallDomainListMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFirewallDomainListValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_DeleteFirewallRule.go b/service/route53resolver/api_op_DeleteFirewallRule.go index 2d075b7aa21..32ea9cd7603 100644 --- a/service/route53resolver/api_op_DeleteFirewallRule.go +++ b/service/route53resolver/api_op_DeleteFirewallRule.go @@ -155,9 +155,6 @@ func (c *Client) addOperationDeleteFirewallRuleMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFirewallRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_DeleteFirewallRuleGroup.go b/service/route53resolver/api_op_DeleteFirewallRuleGroup.go index 5a34d4ec425..c012da5c765 100644 --- a/service/route53resolver/api_op_DeleteFirewallRuleGroup.go +++ b/service/route53resolver/api_op_DeleteFirewallRuleGroup.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteFirewallRuleGroupMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFirewallRuleGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_DeleteOutpostResolver.go b/service/route53resolver/api_op_DeleteOutpostResolver.go index 64eae13b93d..4f424e5c2d7 100644 --- a/service/route53resolver/api_op_DeleteOutpostResolver.go +++ b/service/route53resolver/api_op_DeleteOutpostResolver.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteOutpostResolverMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteOutpostResolverValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_DeleteResolverEndpoint.go b/service/route53resolver/api_op_DeleteResolverEndpoint.go index 3ff924a52a1..768f4872e35 100644 --- a/service/route53resolver/api_op_DeleteResolverEndpoint.go +++ b/service/route53resolver/api_op_DeleteResolverEndpoint.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteResolverEndpointMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResolverEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_DeleteResolverQueryLogConfig.go b/service/route53resolver/api_op_DeleteResolverQueryLogConfig.go index 69310c55f17..878eaf9d3fb 100644 --- a/service/route53resolver/api_op_DeleteResolverQueryLogConfig.go +++ b/service/route53resolver/api_op_DeleteResolverQueryLogConfig.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDeleteResolverQueryLogConfigMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResolverQueryLogConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_DeleteResolverRule.go b/service/route53resolver/api_op_DeleteResolverRule.go index c113e7ce996..f4785358406 100644 --- a/service/route53resolver/api_op_DeleteResolverRule.go +++ b/service/route53resolver/api_op_DeleteResolverRule.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteResolverRuleMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResolverRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_DisassociateFirewallRuleGroup.go b/service/route53resolver/api_op_DisassociateFirewallRuleGroup.go index 70f6c1e7c84..b8967909585 100644 --- a/service/route53resolver/api_op_DisassociateFirewallRuleGroup.go +++ b/service/route53resolver/api_op_DisassociateFirewallRuleGroup.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDisassociateFirewallRuleGroupMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateFirewallRuleGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_DisassociateResolverEndpointIpAddress.go b/service/route53resolver/api_op_DisassociateResolverEndpointIpAddress.go index 3a8dd52e315..ce74f0c32ef 100644 --- a/service/route53resolver/api_op_DisassociateResolverEndpointIpAddress.go +++ b/service/route53resolver/api_op_DisassociateResolverEndpointIpAddress.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDisassociateResolverEndpointIpAddressMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateResolverEndpointIpAddressValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_DisassociateResolverQueryLogConfig.go b/service/route53resolver/api_op_DisassociateResolverQueryLogConfig.go index e02f8cb041e..6bb3bd6b1a2 100644 --- a/service/route53resolver/api_op_DisassociateResolverQueryLogConfig.go +++ b/service/route53resolver/api_op_DisassociateResolverQueryLogConfig.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDisassociateResolverQueryLogConfigMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateResolverQueryLogConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_DisassociateResolverRule.go b/service/route53resolver/api_op_DisassociateResolverRule.go index c1f10a5f6f9..696a59da461 100644 --- a/service/route53resolver/api_op_DisassociateResolverRule.go +++ b/service/route53resolver/api_op_DisassociateResolverRule.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDisassociateResolverRuleMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateResolverRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_GetFirewallConfig.go b/service/route53resolver/api_op_GetFirewallConfig.go index 6ac06ab36dd..cad75a756e5 100644 --- a/service/route53resolver/api_op_GetFirewallConfig.go +++ b/service/route53resolver/api_op_GetFirewallConfig.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetFirewallConfigMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFirewallConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_GetFirewallDomainList.go b/service/route53resolver/api_op_GetFirewallDomainList.go index c4e0061c5fd..42c595fd5d5 100644 --- a/service/route53resolver/api_op_GetFirewallDomainList.go +++ b/service/route53resolver/api_op_GetFirewallDomainList.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetFirewallDomainListMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFirewallDomainListValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_GetFirewallRuleGroup.go b/service/route53resolver/api_op_GetFirewallRuleGroup.go index 66f4fc5229e..a9369d26aa8 100644 --- a/service/route53resolver/api_op_GetFirewallRuleGroup.go +++ b/service/route53resolver/api_op_GetFirewallRuleGroup.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetFirewallRuleGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFirewallRuleGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_GetFirewallRuleGroupAssociation.go b/service/route53resolver/api_op_GetFirewallRuleGroupAssociation.go index 4d888220106..f8438133d54 100644 --- a/service/route53resolver/api_op_GetFirewallRuleGroupAssociation.go +++ b/service/route53resolver/api_op_GetFirewallRuleGroupAssociation.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetFirewallRuleGroupAssociationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFirewallRuleGroupAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_GetFirewallRuleGroupPolicy.go b/service/route53resolver/api_op_GetFirewallRuleGroupPolicy.go index 05ed31a3604..c04a94a6f31 100644 --- a/service/route53resolver/api_op_GetFirewallRuleGroupPolicy.go +++ b/service/route53resolver/api_op_GetFirewallRuleGroupPolicy.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetFirewallRuleGroupPolicyMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFirewallRuleGroupPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_GetOutpostResolver.go b/service/route53resolver/api_op_GetOutpostResolver.go index d29f37da28a..8a864caabab 100644 --- a/service/route53resolver/api_op_GetOutpostResolver.go +++ b/service/route53resolver/api_op_GetOutpostResolver.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetOutpostResolverMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetOutpostResolverValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_GetResolverConfig.go b/service/route53resolver/api_op_GetResolverConfig.go index 7afeca5aae6..db6eb7b6ab5 100644 --- a/service/route53resolver/api_op_GetResolverConfig.go +++ b/service/route53resolver/api_op_GetResolverConfig.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetResolverConfigMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResolverConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_GetResolverDnssecConfig.go b/service/route53resolver/api_op_GetResolverDnssecConfig.go index 152c1dd42da..e88d68f2335 100644 --- a/service/route53resolver/api_op_GetResolverDnssecConfig.go +++ b/service/route53resolver/api_op_GetResolverDnssecConfig.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetResolverDnssecConfigMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResolverDnssecConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_GetResolverEndpoint.go b/service/route53resolver/api_op_GetResolverEndpoint.go index d4bf037e5c5..94305b4b41b 100644 --- a/service/route53resolver/api_op_GetResolverEndpoint.go +++ b/service/route53resolver/api_op_GetResolverEndpoint.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetResolverEndpointMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResolverEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_GetResolverQueryLogConfig.go b/service/route53resolver/api_op_GetResolverQueryLogConfig.go index 9a66159577b..5c1bec26b05 100644 --- a/service/route53resolver/api_op_GetResolverQueryLogConfig.go +++ b/service/route53resolver/api_op_GetResolverQueryLogConfig.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetResolverQueryLogConfigMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResolverQueryLogConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_GetResolverQueryLogConfigAssociation.go b/service/route53resolver/api_op_GetResolverQueryLogConfigAssociation.go index 3ee55db3d8e..a46e2ca654c 100644 --- a/service/route53resolver/api_op_GetResolverQueryLogConfigAssociation.go +++ b/service/route53resolver/api_op_GetResolverQueryLogConfigAssociation.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetResolverQueryLogConfigAssociationMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResolverQueryLogConfigAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_GetResolverQueryLogConfigPolicy.go b/service/route53resolver/api_op_GetResolverQueryLogConfigPolicy.go index 1b680c7136f..f9e2749af46 100644 --- a/service/route53resolver/api_op_GetResolverQueryLogConfigPolicy.go +++ b/service/route53resolver/api_op_GetResolverQueryLogConfigPolicy.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetResolverQueryLogConfigPolicyMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResolverQueryLogConfigPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_GetResolverRule.go b/service/route53resolver/api_op_GetResolverRule.go index 3b816fcdc50..e3d870cd175 100644 --- a/service/route53resolver/api_op_GetResolverRule.go +++ b/service/route53resolver/api_op_GetResolverRule.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetResolverRuleMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResolverRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_GetResolverRuleAssociation.go b/service/route53resolver/api_op_GetResolverRuleAssociation.go index 51ff357b170..4a2b3cab839 100644 --- a/service/route53resolver/api_op_GetResolverRuleAssociation.go +++ b/service/route53resolver/api_op_GetResolverRuleAssociation.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetResolverRuleAssociationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResolverRuleAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_GetResolverRulePolicy.go b/service/route53resolver/api_op_GetResolverRulePolicy.go index b8e3f116dc2..6656522e972 100644 --- a/service/route53resolver/api_op_GetResolverRulePolicy.go +++ b/service/route53resolver/api_op_GetResolverRulePolicy.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetResolverRulePolicyMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResolverRulePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_ImportFirewallDomains.go b/service/route53resolver/api_op_ImportFirewallDomains.go index c676a9c0ab4..1f59b61432d 100644 --- a/service/route53resolver/api_op_ImportFirewallDomains.go +++ b/service/route53resolver/api_op_ImportFirewallDomains.go @@ -149,9 +149,6 @@ func (c *Client) addOperationImportFirewallDomainsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportFirewallDomainsValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_ListFirewallConfigs.go b/service/route53resolver/api_op_ListFirewallConfigs.go index e112a6caae8..b0e208c47e1 100644 --- a/service/route53resolver/api_op_ListFirewallConfigs.go +++ b/service/route53resolver/api_op_ListFirewallConfigs.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListFirewallConfigsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFirewallConfigs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53resolver/api_op_ListFirewallDomainLists.go b/service/route53resolver/api_op_ListFirewallDomainLists.go index 3a1490592b8..f12d1803aa1 100644 --- a/service/route53resolver/api_op_ListFirewallDomainLists.go +++ b/service/route53resolver/api_op_ListFirewallDomainLists.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListFirewallDomainListsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFirewallDomainLists(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53resolver/api_op_ListFirewallDomains.go b/service/route53resolver/api_op_ListFirewallDomains.go index 7130a16ac24..572211e22bc 100644 --- a/service/route53resolver/api_op_ListFirewallDomains.go +++ b/service/route53resolver/api_op_ListFirewallDomains.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListFirewallDomainsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFirewallDomainsValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_ListFirewallRuleGroupAssociations.go b/service/route53resolver/api_op_ListFirewallRuleGroupAssociations.go index 40a95d2dd4f..3b01857a504 100644 --- a/service/route53resolver/api_op_ListFirewallRuleGroupAssociations.go +++ b/service/route53resolver/api_op_ListFirewallRuleGroupAssociations.go @@ -155,9 +155,6 @@ func (c *Client) addOperationListFirewallRuleGroupAssociationsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFirewallRuleGroupAssociations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53resolver/api_op_ListFirewallRuleGroups.go b/service/route53resolver/api_op_ListFirewallRuleGroups.go index acf70a2fea5..4869b8c5510 100644 --- a/service/route53resolver/api_op_ListFirewallRuleGroups.go +++ b/service/route53resolver/api_op_ListFirewallRuleGroups.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListFirewallRuleGroupsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFirewallRuleGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53resolver/api_op_ListFirewallRules.go b/service/route53resolver/api_op_ListFirewallRules.go index a5755cf75df..7a009b0c41d 100644 --- a/service/route53resolver/api_op_ListFirewallRules.go +++ b/service/route53resolver/api_op_ListFirewallRules.go @@ -166,9 +166,6 @@ func (c *Client) addOperationListFirewallRulesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFirewallRulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_ListOutpostResolvers.go b/service/route53resolver/api_op_ListOutpostResolvers.go index 1a5cdfb62a2..aa52c0a128a 100644 --- a/service/route53resolver/api_op_ListOutpostResolvers.go +++ b/service/route53resolver/api_op_ListOutpostResolvers.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListOutpostResolversMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOutpostResolvers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53resolver/api_op_ListResolverConfigs.go b/service/route53resolver/api_op_ListResolverConfigs.go index f58851c9bfb..1fd55f238c6 100644 --- a/service/route53resolver/api_op_ListResolverConfigs.go +++ b/service/route53resolver/api_op_ListResolverConfigs.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListResolverConfigsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResolverConfigs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53resolver/api_op_ListResolverDnssecConfigs.go b/service/route53resolver/api_op_ListResolverDnssecConfigs.go index a2bc856db55..de57bf4ebd2 100644 --- a/service/route53resolver/api_op_ListResolverDnssecConfigs.go +++ b/service/route53resolver/api_op_ListResolverDnssecConfigs.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListResolverDnssecConfigsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResolverDnssecConfigs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53resolver/api_op_ListResolverEndpointIpAddresses.go b/service/route53resolver/api_op_ListResolverEndpointIpAddresses.go index af2d1a7357d..33c09cac395 100644 --- a/service/route53resolver/api_op_ListResolverEndpointIpAddresses.go +++ b/service/route53resolver/api_op_ListResolverEndpointIpAddresses.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListResolverEndpointIpAddressesMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListResolverEndpointIpAddressesValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_ListResolverEndpoints.go b/service/route53resolver/api_op_ListResolverEndpoints.go index d96966e9dfb..f9b5e425a5b 100644 --- a/service/route53resolver/api_op_ListResolverEndpoints.go +++ b/service/route53resolver/api_op_ListResolverEndpoints.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListResolverEndpointsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResolverEndpoints(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53resolver/api_op_ListResolverQueryLogConfigAssociations.go b/service/route53resolver/api_op_ListResolverQueryLogConfigAssociations.go index 9d2ff6c8102..56a11837e0f 100644 --- a/service/route53resolver/api_op_ListResolverQueryLogConfigAssociations.go +++ b/service/route53resolver/api_op_ListResolverQueryLogConfigAssociations.go @@ -205,9 +205,6 @@ func (c *Client) addOperationListResolverQueryLogConfigAssociationsMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResolverQueryLogConfigAssociations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53resolver/api_op_ListResolverQueryLogConfigs.go b/service/route53resolver/api_op_ListResolverQueryLogConfigs.go index 0c300e92b7e..faf0ad021cc 100644 --- a/service/route53resolver/api_op_ListResolverQueryLogConfigs.go +++ b/service/route53resolver/api_op_ListResolverQueryLogConfigs.go @@ -208,9 +208,6 @@ func (c *Client) addOperationListResolverQueryLogConfigsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResolverQueryLogConfigs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53resolver/api_op_ListResolverRuleAssociations.go b/service/route53resolver/api_op_ListResolverRuleAssociations.go index 2b8449a24f9..2d6fe3f7c76 100644 --- a/service/route53resolver/api_op_ListResolverRuleAssociations.go +++ b/service/route53resolver/api_op_ListResolverRuleAssociations.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListResolverRuleAssociationsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResolverRuleAssociations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53resolver/api_op_ListResolverRules.go b/service/route53resolver/api_op_ListResolverRules.go index 97148a3d860..5b20f502a3c 100644 --- a/service/route53resolver/api_op_ListResolverRules.go +++ b/service/route53resolver/api_op_ListResolverRules.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListResolverRulesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResolverRules(options.Region), middleware.Before); err != nil { return err } diff --git a/service/route53resolver/api_op_ListTagsForResource.go b/service/route53resolver/api_op_ListTagsForResource.go index 22a17e41f00..d56b96244e5 100644 --- a/service/route53resolver/api_op_ListTagsForResource.go +++ b/service/route53resolver/api_op_ListTagsForResource.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_PutFirewallRuleGroupPolicy.go b/service/route53resolver/api_op_PutFirewallRuleGroupPolicy.go index 407554335cb..2dbec4d721c 100644 --- a/service/route53resolver/api_op_PutFirewallRuleGroupPolicy.go +++ b/service/route53resolver/api_op_PutFirewallRuleGroupPolicy.go @@ -119,9 +119,6 @@ func (c *Client) addOperationPutFirewallRuleGroupPolicyMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutFirewallRuleGroupPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_PutResolverQueryLogConfigPolicy.go b/service/route53resolver/api_op_PutResolverQueryLogConfigPolicy.go index 1552e642dda..e9b493b5c74 100644 --- a/service/route53resolver/api_op_PutResolverQueryLogConfigPolicy.go +++ b/service/route53resolver/api_op_PutResolverQueryLogConfigPolicy.go @@ -133,9 +133,6 @@ func (c *Client) addOperationPutResolverQueryLogConfigPolicyMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutResolverQueryLogConfigPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_PutResolverRulePolicy.go b/service/route53resolver/api_op_PutResolverRulePolicy.go index 1cd541b6bb9..666df98b8c0 100644 --- a/service/route53resolver/api_op_PutResolverRulePolicy.go +++ b/service/route53resolver/api_op_PutResolverRulePolicy.go @@ -137,9 +137,6 @@ func (c *Client) addOperationPutResolverRulePolicyMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutResolverRulePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_TagResource.go b/service/route53resolver/api_op_TagResource.go index 5bff7cdd44e..f642e576e5c 100644 --- a/service/route53resolver/api_op_TagResource.go +++ b/service/route53resolver/api_op_TagResource.go @@ -133,9 +133,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_UntagResource.go b/service/route53resolver/api_op_UntagResource.go index c9ffdf12f6e..2fb33709172 100644 --- a/service/route53resolver/api_op_UntagResource.go +++ b/service/route53resolver/api_op_UntagResource.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_UpdateFirewallConfig.go b/service/route53resolver/api_op_UpdateFirewallConfig.go index 94161d420f0..021eeaef379 100644 --- a/service/route53resolver/api_op_UpdateFirewallConfig.go +++ b/service/route53resolver/api_op_UpdateFirewallConfig.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateFirewallConfigMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFirewallConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_UpdateFirewallDomains.go b/service/route53resolver/api_op_UpdateFirewallDomains.go index 3468c6a3b58..063a56ce03e 100644 --- a/service/route53resolver/api_op_UpdateFirewallDomains.go +++ b/service/route53resolver/api_op_UpdateFirewallDomains.go @@ -151,9 +151,6 @@ func (c *Client) addOperationUpdateFirewallDomainsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFirewallDomainsValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_UpdateFirewallRule.go b/service/route53resolver/api_op_UpdateFirewallRule.go index 5235c09eb92..f4d1c025f05 100644 --- a/service/route53resolver/api_op_UpdateFirewallRule.go +++ b/service/route53resolver/api_op_UpdateFirewallRule.go @@ -245,9 +245,6 @@ func (c *Client) addOperationUpdateFirewallRuleMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFirewallRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_UpdateFirewallRuleGroupAssociation.go b/service/route53resolver/api_op_UpdateFirewallRuleGroupAssociation.go index f259638ddfc..52db289384d 100644 --- a/service/route53resolver/api_op_UpdateFirewallRuleGroupAssociation.go +++ b/service/route53resolver/api_op_UpdateFirewallRuleGroupAssociation.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateFirewallRuleGroupAssociationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFirewallRuleGroupAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_UpdateOutpostResolver.go b/service/route53resolver/api_op_UpdateOutpostResolver.go index cafe624d6d8..5ecf02835fe 100644 --- a/service/route53resolver/api_op_UpdateOutpostResolver.go +++ b/service/route53resolver/api_op_UpdateOutpostResolver.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateOutpostResolverMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateOutpostResolverValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_UpdateResolverConfig.go b/service/route53resolver/api_op_UpdateResolverConfig.go index 3aa6707246f..27ee9e9e60a 100644 --- a/service/route53resolver/api_op_UpdateResolverConfig.go +++ b/service/route53resolver/api_op_UpdateResolverConfig.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdateResolverConfigMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateResolverConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_UpdateResolverDnssecConfig.go b/service/route53resolver/api_op_UpdateResolverDnssecConfig.go index 7ba4b600ed4..8145e987c36 100644 --- a/service/route53resolver/api_op_UpdateResolverDnssecConfig.go +++ b/service/route53resolver/api_op_UpdateResolverDnssecConfig.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateResolverDnssecConfigMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateResolverDnssecConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_UpdateResolverEndpoint.go b/service/route53resolver/api_op_UpdateResolverEndpoint.go index d954da1c49c..9cc0817c2fd 100644 --- a/service/route53resolver/api_op_UpdateResolverEndpoint.go +++ b/service/route53resolver/api_op_UpdateResolverEndpoint.go @@ -163,9 +163,6 @@ func (c *Client) addOperationUpdateResolverEndpointMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateResolverEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/api_op_UpdateResolverRule.go b/service/route53resolver/api_op_UpdateResolverRule.go index a24d54e2b0b..059632f4273 100644 --- a/service/route53resolver/api_op_UpdateResolverRule.go +++ b/service/route53resolver/api_op_UpdateResolverRule.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateResolverRuleMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateResolverRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/route53resolver/snapshot/api_op_AssociateFirewallRuleGroup.go.snap b/service/route53resolver/snapshot/api_op_AssociateFirewallRuleGroup.go.snap index 49bcbd7c590..1915f9beb34 100644 --- a/service/route53resolver/snapshot/api_op_AssociateFirewallRuleGroup.go.snap +++ b/service/route53resolver/snapshot/api_op_AssociateFirewallRuleGroup.go.snap @@ -15,7 +15,6 @@ AssociateFirewallRuleGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_AssociateResolverEndpointIpAddress.go.snap b/service/route53resolver/snapshot/api_op_AssociateResolverEndpointIpAddress.go.snap index 5d456813d5f..a83025f855f 100644 --- a/service/route53resolver/snapshot/api_op_AssociateResolverEndpointIpAddress.go.snap +++ b/service/route53resolver/snapshot/api_op_AssociateResolverEndpointIpAddress.go.snap @@ -14,7 +14,6 @@ AssociateResolverEndpointIpAddress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_AssociateResolverQueryLogConfig.go.snap b/service/route53resolver/snapshot/api_op_AssociateResolverQueryLogConfig.go.snap index ed414a30797..f03e53b85da 100644 --- a/service/route53resolver/snapshot/api_op_AssociateResolverQueryLogConfig.go.snap +++ b/service/route53resolver/snapshot/api_op_AssociateResolverQueryLogConfig.go.snap @@ -14,7 +14,6 @@ AssociateResolverQueryLogConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_AssociateResolverRule.go.snap b/service/route53resolver/snapshot/api_op_AssociateResolverRule.go.snap index 1bb598a4faf..1b4c10dbf60 100644 --- a/service/route53resolver/snapshot/api_op_AssociateResolverRule.go.snap +++ b/service/route53resolver/snapshot/api_op_AssociateResolverRule.go.snap @@ -14,7 +14,6 @@ AssociateResolverRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_CreateFirewallDomainList.go.snap b/service/route53resolver/snapshot/api_op_CreateFirewallDomainList.go.snap index 4f0039945b6..58f3674d612 100644 --- a/service/route53resolver/snapshot/api_op_CreateFirewallDomainList.go.snap +++ b/service/route53resolver/snapshot/api_op_CreateFirewallDomainList.go.snap @@ -15,7 +15,6 @@ CreateFirewallDomainList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_CreateFirewallRule.go.snap b/service/route53resolver/snapshot/api_op_CreateFirewallRule.go.snap index 3fa1f51903a..41fa8761708 100644 --- a/service/route53resolver/snapshot/api_op_CreateFirewallRule.go.snap +++ b/service/route53resolver/snapshot/api_op_CreateFirewallRule.go.snap @@ -15,7 +15,6 @@ CreateFirewallRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_CreateFirewallRuleGroup.go.snap b/service/route53resolver/snapshot/api_op_CreateFirewallRuleGroup.go.snap index 1e90ad24bb4..1e2779fa5d3 100644 --- a/service/route53resolver/snapshot/api_op_CreateFirewallRuleGroup.go.snap +++ b/service/route53resolver/snapshot/api_op_CreateFirewallRuleGroup.go.snap @@ -15,7 +15,6 @@ CreateFirewallRuleGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_CreateOutpostResolver.go.snap b/service/route53resolver/snapshot/api_op_CreateOutpostResolver.go.snap index 023dd39799a..75c2ad49df2 100644 --- a/service/route53resolver/snapshot/api_op_CreateOutpostResolver.go.snap +++ b/service/route53resolver/snapshot/api_op_CreateOutpostResolver.go.snap @@ -14,7 +14,6 @@ CreateOutpostResolver Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_CreateResolverEndpoint.go.snap b/service/route53resolver/snapshot/api_op_CreateResolverEndpoint.go.snap index a3dc40b43b5..6c9921d8c7c 100644 --- a/service/route53resolver/snapshot/api_op_CreateResolverEndpoint.go.snap +++ b/service/route53resolver/snapshot/api_op_CreateResolverEndpoint.go.snap @@ -14,7 +14,6 @@ CreateResolverEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_CreateResolverQueryLogConfig.go.snap b/service/route53resolver/snapshot/api_op_CreateResolverQueryLogConfig.go.snap index 5d079b2a760..c58f63e0868 100644 --- a/service/route53resolver/snapshot/api_op_CreateResolverQueryLogConfig.go.snap +++ b/service/route53resolver/snapshot/api_op_CreateResolverQueryLogConfig.go.snap @@ -15,7 +15,6 @@ CreateResolverQueryLogConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_CreateResolverRule.go.snap b/service/route53resolver/snapshot/api_op_CreateResolverRule.go.snap index ebdf20f32a2..4680b738ead 100644 --- a/service/route53resolver/snapshot/api_op_CreateResolverRule.go.snap +++ b/service/route53resolver/snapshot/api_op_CreateResolverRule.go.snap @@ -14,7 +14,6 @@ CreateResolverRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_DeleteFirewallDomainList.go.snap b/service/route53resolver/snapshot/api_op_DeleteFirewallDomainList.go.snap index c60046e80af..6fbfa2e96fc 100644 --- a/service/route53resolver/snapshot/api_op_DeleteFirewallDomainList.go.snap +++ b/service/route53resolver/snapshot/api_op_DeleteFirewallDomainList.go.snap @@ -14,7 +14,6 @@ DeleteFirewallDomainList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_DeleteFirewallRule.go.snap b/service/route53resolver/snapshot/api_op_DeleteFirewallRule.go.snap index 5902b3f15f2..895dca12cf5 100644 --- a/service/route53resolver/snapshot/api_op_DeleteFirewallRule.go.snap +++ b/service/route53resolver/snapshot/api_op_DeleteFirewallRule.go.snap @@ -14,7 +14,6 @@ DeleteFirewallRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_DeleteFirewallRuleGroup.go.snap b/service/route53resolver/snapshot/api_op_DeleteFirewallRuleGroup.go.snap index cc4f96671a3..ab3d23b2f6a 100644 --- a/service/route53resolver/snapshot/api_op_DeleteFirewallRuleGroup.go.snap +++ b/service/route53resolver/snapshot/api_op_DeleteFirewallRuleGroup.go.snap @@ -14,7 +14,6 @@ DeleteFirewallRuleGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_DeleteOutpostResolver.go.snap b/service/route53resolver/snapshot/api_op_DeleteOutpostResolver.go.snap index abad368898d..29c2ea4b0ba 100644 --- a/service/route53resolver/snapshot/api_op_DeleteOutpostResolver.go.snap +++ b/service/route53resolver/snapshot/api_op_DeleteOutpostResolver.go.snap @@ -14,7 +14,6 @@ DeleteOutpostResolver Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_DeleteResolverEndpoint.go.snap b/service/route53resolver/snapshot/api_op_DeleteResolverEndpoint.go.snap index 88d011b42e5..61df2b976aa 100644 --- a/service/route53resolver/snapshot/api_op_DeleteResolverEndpoint.go.snap +++ b/service/route53resolver/snapshot/api_op_DeleteResolverEndpoint.go.snap @@ -14,7 +14,6 @@ DeleteResolverEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_DeleteResolverQueryLogConfig.go.snap b/service/route53resolver/snapshot/api_op_DeleteResolverQueryLogConfig.go.snap index 4288f977fde..811d07d577a 100644 --- a/service/route53resolver/snapshot/api_op_DeleteResolverQueryLogConfig.go.snap +++ b/service/route53resolver/snapshot/api_op_DeleteResolverQueryLogConfig.go.snap @@ -14,7 +14,6 @@ DeleteResolverQueryLogConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_DeleteResolverRule.go.snap b/service/route53resolver/snapshot/api_op_DeleteResolverRule.go.snap index d916057c2a5..3480518a6d9 100644 --- a/service/route53resolver/snapshot/api_op_DeleteResolverRule.go.snap +++ b/service/route53resolver/snapshot/api_op_DeleteResolverRule.go.snap @@ -14,7 +14,6 @@ DeleteResolverRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_DisassociateFirewallRuleGroup.go.snap b/service/route53resolver/snapshot/api_op_DisassociateFirewallRuleGroup.go.snap index 9b8125b6ac0..6891ee1aca4 100644 --- a/service/route53resolver/snapshot/api_op_DisassociateFirewallRuleGroup.go.snap +++ b/service/route53resolver/snapshot/api_op_DisassociateFirewallRuleGroup.go.snap @@ -14,7 +14,6 @@ DisassociateFirewallRuleGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_DisassociateResolverEndpointIpAddress.go.snap b/service/route53resolver/snapshot/api_op_DisassociateResolverEndpointIpAddress.go.snap index e1b7150993b..492c9d60eb4 100644 --- a/service/route53resolver/snapshot/api_op_DisassociateResolverEndpointIpAddress.go.snap +++ b/service/route53resolver/snapshot/api_op_DisassociateResolverEndpointIpAddress.go.snap @@ -14,7 +14,6 @@ DisassociateResolverEndpointIpAddress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_DisassociateResolverQueryLogConfig.go.snap b/service/route53resolver/snapshot/api_op_DisassociateResolverQueryLogConfig.go.snap index f0d41767536..e02d4077753 100644 --- a/service/route53resolver/snapshot/api_op_DisassociateResolverQueryLogConfig.go.snap +++ b/service/route53resolver/snapshot/api_op_DisassociateResolverQueryLogConfig.go.snap @@ -14,7 +14,6 @@ DisassociateResolverQueryLogConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_DisassociateResolverRule.go.snap b/service/route53resolver/snapshot/api_op_DisassociateResolverRule.go.snap index 09d29970d99..bfc79a798d2 100644 --- a/service/route53resolver/snapshot/api_op_DisassociateResolverRule.go.snap +++ b/service/route53resolver/snapshot/api_op_DisassociateResolverRule.go.snap @@ -14,7 +14,6 @@ DisassociateResolverRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_GetFirewallConfig.go.snap b/service/route53resolver/snapshot/api_op_GetFirewallConfig.go.snap index 8d5435ace9e..3e78e85f215 100644 --- a/service/route53resolver/snapshot/api_op_GetFirewallConfig.go.snap +++ b/service/route53resolver/snapshot/api_op_GetFirewallConfig.go.snap @@ -14,7 +14,6 @@ GetFirewallConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_GetFirewallDomainList.go.snap b/service/route53resolver/snapshot/api_op_GetFirewallDomainList.go.snap index 4827259bce9..fc39f0c7719 100644 --- a/service/route53resolver/snapshot/api_op_GetFirewallDomainList.go.snap +++ b/service/route53resolver/snapshot/api_op_GetFirewallDomainList.go.snap @@ -14,7 +14,6 @@ GetFirewallDomainList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_GetFirewallRuleGroup.go.snap b/service/route53resolver/snapshot/api_op_GetFirewallRuleGroup.go.snap index e7ad030f18e..bfdb4ef4a94 100644 --- a/service/route53resolver/snapshot/api_op_GetFirewallRuleGroup.go.snap +++ b/service/route53resolver/snapshot/api_op_GetFirewallRuleGroup.go.snap @@ -14,7 +14,6 @@ GetFirewallRuleGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_GetFirewallRuleGroupAssociation.go.snap b/service/route53resolver/snapshot/api_op_GetFirewallRuleGroupAssociation.go.snap index 1d08aa1f841..244fc70accc 100644 --- a/service/route53resolver/snapshot/api_op_GetFirewallRuleGroupAssociation.go.snap +++ b/service/route53resolver/snapshot/api_op_GetFirewallRuleGroupAssociation.go.snap @@ -14,7 +14,6 @@ GetFirewallRuleGroupAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_GetFirewallRuleGroupPolicy.go.snap b/service/route53resolver/snapshot/api_op_GetFirewallRuleGroupPolicy.go.snap index 8485fcfb433..eb138430994 100644 --- a/service/route53resolver/snapshot/api_op_GetFirewallRuleGroupPolicy.go.snap +++ b/service/route53resolver/snapshot/api_op_GetFirewallRuleGroupPolicy.go.snap @@ -14,7 +14,6 @@ GetFirewallRuleGroupPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_GetOutpostResolver.go.snap b/service/route53resolver/snapshot/api_op_GetOutpostResolver.go.snap index 6514db3f8fa..2ad40e5fcd5 100644 --- a/service/route53resolver/snapshot/api_op_GetOutpostResolver.go.snap +++ b/service/route53resolver/snapshot/api_op_GetOutpostResolver.go.snap @@ -14,7 +14,6 @@ GetOutpostResolver Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_GetResolverConfig.go.snap b/service/route53resolver/snapshot/api_op_GetResolverConfig.go.snap index 1cf08301ab6..059d44e1b65 100644 --- a/service/route53resolver/snapshot/api_op_GetResolverConfig.go.snap +++ b/service/route53resolver/snapshot/api_op_GetResolverConfig.go.snap @@ -14,7 +14,6 @@ GetResolverConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_GetResolverDnssecConfig.go.snap b/service/route53resolver/snapshot/api_op_GetResolverDnssecConfig.go.snap index 3ace6c26061..e28215d946a 100644 --- a/service/route53resolver/snapshot/api_op_GetResolverDnssecConfig.go.snap +++ b/service/route53resolver/snapshot/api_op_GetResolverDnssecConfig.go.snap @@ -14,7 +14,6 @@ GetResolverDnssecConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_GetResolverEndpoint.go.snap b/service/route53resolver/snapshot/api_op_GetResolverEndpoint.go.snap index 66db1f108c5..a1692529eaa 100644 --- a/service/route53resolver/snapshot/api_op_GetResolverEndpoint.go.snap +++ b/service/route53resolver/snapshot/api_op_GetResolverEndpoint.go.snap @@ -14,7 +14,6 @@ GetResolverEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_GetResolverQueryLogConfig.go.snap b/service/route53resolver/snapshot/api_op_GetResolverQueryLogConfig.go.snap index a6ccc96349d..6f378acbc6e 100644 --- a/service/route53resolver/snapshot/api_op_GetResolverQueryLogConfig.go.snap +++ b/service/route53resolver/snapshot/api_op_GetResolverQueryLogConfig.go.snap @@ -14,7 +14,6 @@ GetResolverQueryLogConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_GetResolverQueryLogConfigAssociation.go.snap b/service/route53resolver/snapshot/api_op_GetResolverQueryLogConfigAssociation.go.snap index 8c4fdf24226..deb6bba6b56 100644 --- a/service/route53resolver/snapshot/api_op_GetResolverQueryLogConfigAssociation.go.snap +++ b/service/route53resolver/snapshot/api_op_GetResolverQueryLogConfigAssociation.go.snap @@ -14,7 +14,6 @@ GetResolverQueryLogConfigAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_GetResolverQueryLogConfigPolicy.go.snap b/service/route53resolver/snapshot/api_op_GetResolverQueryLogConfigPolicy.go.snap index 7b19f77cee3..836302418c5 100644 --- a/service/route53resolver/snapshot/api_op_GetResolverQueryLogConfigPolicy.go.snap +++ b/service/route53resolver/snapshot/api_op_GetResolverQueryLogConfigPolicy.go.snap @@ -14,7 +14,6 @@ GetResolverQueryLogConfigPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_GetResolverRule.go.snap b/service/route53resolver/snapshot/api_op_GetResolverRule.go.snap index e2affea9045..b4b45a2ab87 100644 --- a/service/route53resolver/snapshot/api_op_GetResolverRule.go.snap +++ b/service/route53resolver/snapshot/api_op_GetResolverRule.go.snap @@ -14,7 +14,6 @@ GetResolverRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_GetResolverRuleAssociation.go.snap b/service/route53resolver/snapshot/api_op_GetResolverRuleAssociation.go.snap index 0e7c7493bf5..90b53d15a06 100644 --- a/service/route53resolver/snapshot/api_op_GetResolverRuleAssociation.go.snap +++ b/service/route53resolver/snapshot/api_op_GetResolverRuleAssociation.go.snap @@ -14,7 +14,6 @@ GetResolverRuleAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_GetResolverRulePolicy.go.snap b/service/route53resolver/snapshot/api_op_GetResolverRulePolicy.go.snap index 187cc992d73..e92d9068691 100644 --- a/service/route53resolver/snapshot/api_op_GetResolverRulePolicy.go.snap +++ b/service/route53resolver/snapshot/api_op_GetResolverRulePolicy.go.snap @@ -14,7 +14,6 @@ GetResolverRulePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_ImportFirewallDomains.go.snap b/service/route53resolver/snapshot/api_op_ImportFirewallDomains.go.snap index 4648aa63af6..858dc2adb16 100644 --- a/service/route53resolver/snapshot/api_op_ImportFirewallDomains.go.snap +++ b/service/route53resolver/snapshot/api_op_ImportFirewallDomains.go.snap @@ -14,7 +14,6 @@ ImportFirewallDomains Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_ListFirewallConfigs.go.snap b/service/route53resolver/snapshot/api_op_ListFirewallConfigs.go.snap index fa9273bbd68..dbe7705facc 100644 --- a/service/route53resolver/snapshot/api_op_ListFirewallConfigs.go.snap +++ b/service/route53resolver/snapshot/api_op_ListFirewallConfigs.go.snap @@ -13,7 +13,6 @@ ListFirewallConfigs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_ListFirewallDomainLists.go.snap b/service/route53resolver/snapshot/api_op_ListFirewallDomainLists.go.snap index 4f87232cf38..b122f3ede0d 100644 --- a/service/route53resolver/snapshot/api_op_ListFirewallDomainLists.go.snap +++ b/service/route53resolver/snapshot/api_op_ListFirewallDomainLists.go.snap @@ -13,7 +13,6 @@ ListFirewallDomainLists Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_ListFirewallDomains.go.snap b/service/route53resolver/snapshot/api_op_ListFirewallDomains.go.snap index d4405cd1b5c..68945fa9d3a 100644 --- a/service/route53resolver/snapshot/api_op_ListFirewallDomains.go.snap +++ b/service/route53resolver/snapshot/api_op_ListFirewallDomains.go.snap @@ -14,7 +14,6 @@ ListFirewallDomains Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_ListFirewallRuleGroupAssociations.go.snap b/service/route53resolver/snapshot/api_op_ListFirewallRuleGroupAssociations.go.snap index 49de80b9950..cf7e2ba8313 100644 --- a/service/route53resolver/snapshot/api_op_ListFirewallRuleGroupAssociations.go.snap +++ b/service/route53resolver/snapshot/api_op_ListFirewallRuleGroupAssociations.go.snap @@ -13,7 +13,6 @@ ListFirewallRuleGroupAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_ListFirewallRuleGroups.go.snap b/service/route53resolver/snapshot/api_op_ListFirewallRuleGroups.go.snap index e35ffa972bf..ea4cd23a526 100644 --- a/service/route53resolver/snapshot/api_op_ListFirewallRuleGroups.go.snap +++ b/service/route53resolver/snapshot/api_op_ListFirewallRuleGroups.go.snap @@ -13,7 +13,6 @@ ListFirewallRuleGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_ListFirewallRules.go.snap b/service/route53resolver/snapshot/api_op_ListFirewallRules.go.snap index a1d3e8dfd95..c8e06c77fe5 100644 --- a/service/route53resolver/snapshot/api_op_ListFirewallRules.go.snap +++ b/service/route53resolver/snapshot/api_op_ListFirewallRules.go.snap @@ -14,7 +14,6 @@ ListFirewallRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_ListOutpostResolvers.go.snap b/service/route53resolver/snapshot/api_op_ListOutpostResolvers.go.snap index 88c62e76ac9..fe38b220bd8 100644 --- a/service/route53resolver/snapshot/api_op_ListOutpostResolvers.go.snap +++ b/service/route53resolver/snapshot/api_op_ListOutpostResolvers.go.snap @@ -13,7 +13,6 @@ ListOutpostResolvers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_ListResolverConfigs.go.snap b/service/route53resolver/snapshot/api_op_ListResolverConfigs.go.snap index 50494a76ac8..a13111c6136 100644 --- a/service/route53resolver/snapshot/api_op_ListResolverConfigs.go.snap +++ b/service/route53resolver/snapshot/api_op_ListResolverConfigs.go.snap @@ -13,7 +13,6 @@ ListResolverConfigs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_ListResolverDnssecConfigs.go.snap b/service/route53resolver/snapshot/api_op_ListResolverDnssecConfigs.go.snap index 210a3e60f6d..d8029caa4ac 100644 --- a/service/route53resolver/snapshot/api_op_ListResolverDnssecConfigs.go.snap +++ b/service/route53resolver/snapshot/api_op_ListResolverDnssecConfigs.go.snap @@ -13,7 +13,6 @@ ListResolverDnssecConfigs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_ListResolverEndpointIpAddresses.go.snap b/service/route53resolver/snapshot/api_op_ListResolverEndpointIpAddresses.go.snap index 049486ab0fa..4629828295a 100644 --- a/service/route53resolver/snapshot/api_op_ListResolverEndpointIpAddresses.go.snap +++ b/service/route53resolver/snapshot/api_op_ListResolverEndpointIpAddresses.go.snap @@ -14,7 +14,6 @@ ListResolverEndpointIpAddresses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_ListResolverEndpoints.go.snap b/service/route53resolver/snapshot/api_op_ListResolverEndpoints.go.snap index 5d79debfc42..730f740d749 100644 --- a/service/route53resolver/snapshot/api_op_ListResolverEndpoints.go.snap +++ b/service/route53resolver/snapshot/api_op_ListResolverEndpoints.go.snap @@ -13,7 +13,6 @@ ListResolverEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_ListResolverQueryLogConfigAssociations.go.snap b/service/route53resolver/snapshot/api_op_ListResolverQueryLogConfigAssociations.go.snap index 88cadedc691..0a9e9fa135e 100644 --- a/service/route53resolver/snapshot/api_op_ListResolverQueryLogConfigAssociations.go.snap +++ b/service/route53resolver/snapshot/api_op_ListResolverQueryLogConfigAssociations.go.snap @@ -13,7 +13,6 @@ ListResolverQueryLogConfigAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_ListResolverQueryLogConfigs.go.snap b/service/route53resolver/snapshot/api_op_ListResolverQueryLogConfigs.go.snap index 4f38264fbd4..0cfd2cd32f8 100644 --- a/service/route53resolver/snapshot/api_op_ListResolverQueryLogConfigs.go.snap +++ b/service/route53resolver/snapshot/api_op_ListResolverQueryLogConfigs.go.snap @@ -13,7 +13,6 @@ ListResolverQueryLogConfigs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_ListResolverRuleAssociations.go.snap b/service/route53resolver/snapshot/api_op_ListResolverRuleAssociations.go.snap index cb6291d82ac..294584cb24a 100644 --- a/service/route53resolver/snapshot/api_op_ListResolverRuleAssociations.go.snap +++ b/service/route53resolver/snapshot/api_op_ListResolverRuleAssociations.go.snap @@ -13,7 +13,6 @@ ListResolverRuleAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_ListResolverRules.go.snap b/service/route53resolver/snapshot/api_op_ListResolverRules.go.snap index 752066fe204..c5d3bac3635 100644 --- a/service/route53resolver/snapshot/api_op_ListResolverRules.go.snap +++ b/service/route53resolver/snapshot/api_op_ListResolverRules.go.snap @@ -13,7 +13,6 @@ ListResolverRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_ListTagsForResource.go.snap b/service/route53resolver/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/route53resolver/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/route53resolver/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_PutFirewallRuleGroupPolicy.go.snap b/service/route53resolver/snapshot/api_op_PutFirewallRuleGroupPolicy.go.snap index 91c98b58713..d553074eccf 100644 --- a/service/route53resolver/snapshot/api_op_PutFirewallRuleGroupPolicy.go.snap +++ b/service/route53resolver/snapshot/api_op_PutFirewallRuleGroupPolicy.go.snap @@ -14,7 +14,6 @@ PutFirewallRuleGroupPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_PutResolverQueryLogConfigPolicy.go.snap b/service/route53resolver/snapshot/api_op_PutResolverQueryLogConfigPolicy.go.snap index b90602072f1..9d9cf765041 100644 --- a/service/route53resolver/snapshot/api_op_PutResolverQueryLogConfigPolicy.go.snap +++ b/service/route53resolver/snapshot/api_op_PutResolverQueryLogConfigPolicy.go.snap @@ -14,7 +14,6 @@ PutResolverQueryLogConfigPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_PutResolverRulePolicy.go.snap b/service/route53resolver/snapshot/api_op_PutResolverRulePolicy.go.snap index d74533278d1..4d5fa1ae823 100644 --- a/service/route53resolver/snapshot/api_op_PutResolverRulePolicy.go.snap +++ b/service/route53resolver/snapshot/api_op_PutResolverRulePolicy.go.snap @@ -14,7 +14,6 @@ PutResolverRulePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_TagResource.go.snap b/service/route53resolver/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/route53resolver/snapshot/api_op_TagResource.go.snap +++ b/service/route53resolver/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_UntagResource.go.snap b/service/route53resolver/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/route53resolver/snapshot/api_op_UntagResource.go.snap +++ b/service/route53resolver/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_UpdateFirewallConfig.go.snap b/service/route53resolver/snapshot/api_op_UpdateFirewallConfig.go.snap index 4f65d2c6749..6a3f8e1b2f6 100644 --- a/service/route53resolver/snapshot/api_op_UpdateFirewallConfig.go.snap +++ b/service/route53resolver/snapshot/api_op_UpdateFirewallConfig.go.snap @@ -14,7 +14,6 @@ UpdateFirewallConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_UpdateFirewallDomains.go.snap b/service/route53resolver/snapshot/api_op_UpdateFirewallDomains.go.snap index 6209ab58c0b..96b715e8ba7 100644 --- a/service/route53resolver/snapshot/api_op_UpdateFirewallDomains.go.snap +++ b/service/route53resolver/snapshot/api_op_UpdateFirewallDomains.go.snap @@ -14,7 +14,6 @@ UpdateFirewallDomains Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_UpdateFirewallRule.go.snap b/service/route53resolver/snapshot/api_op_UpdateFirewallRule.go.snap index 77d6890a784..a2db220ff5c 100644 --- a/service/route53resolver/snapshot/api_op_UpdateFirewallRule.go.snap +++ b/service/route53resolver/snapshot/api_op_UpdateFirewallRule.go.snap @@ -14,7 +14,6 @@ UpdateFirewallRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_UpdateFirewallRuleGroupAssociation.go.snap b/service/route53resolver/snapshot/api_op_UpdateFirewallRuleGroupAssociation.go.snap index 3cb331477a4..2ba2370d7d9 100644 --- a/service/route53resolver/snapshot/api_op_UpdateFirewallRuleGroupAssociation.go.snap +++ b/service/route53resolver/snapshot/api_op_UpdateFirewallRuleGroupAssociation.go.snap @@ -14,7 +14,6 @@ UpdateFirewallRuleGroupAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_UpdateOutpostResolver.go.snap b/service/route53resolver/snapshot/api_op_UpdateOutpostResolver.go.snap index b38b2a80c83..8c9a187dd5b 100644 --- a/service/route53resolver/snapshot/api_op_UpdateOutpostResolver.go.snap +++ b/service/route53resolver/snapshot/api_op_UpdateOutpostResolver.go.snap @@ -14,7 +14,6 @@ UpdateOutpostResolver Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_UpdateResolverConfig.go.snap b/service/route53resolver/snapshot/api_op_UpdateResolverConfig.go.snap index 6530eacaa6a..abfffa6c671 100644 --- a/service/route53resolver/snapshot/api_op_UpdateResolverConfig.go.snap +++ b/service/route53resolver/snapshot/api_op_UpdateResolverConfig.go.snap @@ -14,7 +14,6 @@ UpdateResolverConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_UpdateResolverDnssecConfig.go.snap b/service/route53resolver/snapshot/api_op_UpdateResolverDnssecConfig.go.snap index 1579145bc68..9ca585a4548 100644 --- a/service/route53resolver/snapshot/api_op_UpdateResolverDnssecConfig.go.snap +++ b/service/route53resolver/snapshot/api_op_UpdateResolverDnssecConfig.go.snap @@ -14,7 +14,6 @@ UpdateResolverDnssecConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_UpdateResolverEndpoint.go.snap b/service/route53resolver/snapshot/api_op_UpdateResolverEndpoint.go.snap index 929ecaa39fb..13964640955 100644 --- a/service/route53resolver/snapshot/api_op_UpdateResolverEndpoint.go.snap +++ b/service/route53resolver/snapshot/api_op_UpdateResolverEndpoint.go.snap @@ -14,7 +14,6 @@ UpdateResolverEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/route53resolver/snapshot/api_op_UpdateResolverRule.go.snap b/service/route53resolver/snapshot/api_op_UpdateResolverRule.go.snap index 4d91605794e..c5f6e2c348b 100644 --- a/service/route53resolver/snapshot/api_op_UpdateResolverRule.go.snap +++ b/service/route53resolver/snapshot/api_op_UpdateResolverRule.go.snap @@ -14,7 +14,6 @@ UpdateResolverRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rum/api_client.go b/service/rum/api_client.go index 4975a58d0d7..7e7989496a4 100644 --- a/service/rum/api_client.go +++ b/service/rum/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/rum/api_op_BatchCreateRumMetricDefinitions.go b/service/rum/api_op_BatchCreateRumMetricDefinitions.go index 8acda05e1fd..4bdd5881e50 100644 --- a/service/rum/api_op_BatchCreateRumMetricDefinitions.go +++ b/service/rum/api_op_BatchCreateRumMetricDefinitions.go @@ -188,9 +188,6 @@ func (c *Client) addOperationBatchCreateRumMetricDefinitionsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchCreateRumMetricDefinitionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rum/api_op_BatchDeleteRumMetricDefinitions.go b/service/rum/api_op_BatchDeleteRumMetricDefinitions.go index e39c625ebe0..f190ce6ac39 100644 --- a/service/rum/api_op_BatchDeleteRumMetricDefinitions.go +++ b/service/rum/api_op_BatchDeleteRumMetricDefinitions.go @@ -145,9 +145,6 @@ func (c *Client) addOperationBatchDeleteRumMetricDefinitionsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDeleteRumMetricDefinitionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rum/api_op_BatchGetRumMetricDefinitions.go b/service/rum/api_op_BatchGetRumMetricDefinitions.go index ebc39cb6925..b8f63a764bb 100644 --- a/service/rum/api_op_BatchGetRumMetricDefinitions.go +++ b/service/rum/api_op_BatchGetRumMetricDefinitions.go @@ -142,9 +142,6 @@ func (c *Client) addOperationBatchGetRumMetricDefinitionsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetRumMetricDefinitionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rum/api_op_CreateAppMonitor.go b/service/rum/api_op_CreateAppMonitor.go index 4f993fa1593..a67e2e70087 100644 --- a/service/rum/api_op_CreateAppMonitor.go +++ b/service/rum/api_op_CreateAppMonitor.go @@ -176,9 +176,6 @@ func (c *Client) addOperationCreateAppMonitorMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAppMonitorValidationMiddleware(stack); err != nil { return err } diff --git a/service/rum/api_op_DeleteAppMonitor.go b/service/rum/api_op_DeleteAppMonitor.go index 448468aa8a2..e52b1bd0839 100644 --- a/service/rum/api_op_DeleteAppMonitor.go +++ b/service/rum/api_op_DeleteAppMonitor.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteAppMonitorMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAppMonitorValidationMiddleware(stack); err != nil { return err } diff --git a/service/rum/api_op_DeleteRumMetricsDestination.go b/service/rum/api_op_DeleteRumMetricsDestination.go index f5366ae6a26..3e074023a9f 100644 --- a/service/rum/api_op_DeleteRumMetricsDestination.go +++ b/service/rum/api_op_DeleteRumMetricsDestination.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteRumMetricsDestinationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRumMetricsDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/rum/api_op_GetAppMonitor.go b/service/rum/api_op_GetAppMonitor.go index 4b19cce08ee..f6021fba5b5 100644 --- a/service/rum/api_op_GetAppMonitor.go +++ b/service/rum/api_op_GetAppMonitor.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetAppMonitorMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAppMonitorValidationMiddleware(stack); err != nil { return err } diff --git a/service/rum/api_op_GetAppMonitorData.go b/service/rum/api_op_GetAppMonitorData.go index 26ad0424793..8103af34796 100644 --- a/service/rum/api_op_GetAppMonitorData.go +++ b/service/rum/api_op_GetAppMonitorData.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetAppMonitorDataMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAppMonitorDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/rum/api_op_ListAppMonitors.go b/service/rum/api_op_ListAppMonitors.go index 522bef6bbbe..da02c0a4b14 100644 --- a/service/rum/api_op_ListAppMonitors.go +++ b/service/rum/api_op_ListAppMonitors.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListAppMonitorsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAppMonitors(options.Region), middleware.Before); err != nil { return err } diff --git a/service/rum/api_op_ListRumMetricsDestinations.go b/service/rum/api_op_ListRumMetricsDestinations.go index d078e263b91..302bb31714e 100644 --- a/service/rum/api_op_ListRumMetricsDestinations.go +++ b/service/rum/api_op_ListRumMetricsDestinations.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListRumMetricsDestinationsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRumMetricsDestinationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/rum/api_op_ListTagsForResource.go b/service/rum/api_op_ListTagsForResource.go index 707d6548ecd..2a36048cc67 100644 --- a/service/rum/api_op_ListTagsForResource.go +++ b/service/rum/api_op_ListTagsForResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/rum/api_op_PutRumEvents.go b/service/rum/api_op_PutRumEvents.go index 9afe12ccf0d..c57c20880f4 100644 --- a/service/rum/api_op_PutRumEvents.go +++ b/service/rum/api_op_PutRumEvents.go @@ -134,9 +134,6 @@ func (c *Client) addOperationPutRumEventsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opPutRumEventsMiddleware(stack); err != nil { return err } diff --git a/service/rum/api_op_PutRumMetricsDestination.go b/service/rum/api_op_PutRumMetricsDestination.go index d8454c33f20..25949edb9c5 100644 --- a/service/rum/api_op_PutRumMetricsDestination.go +++ b/service/rum/api_op_PutRumMetricsDestination.go @@ -141,9 +141,6 @@ func (c *Client) addOperationPutRumMetricsDestinationMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutRumMetricsDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/rum/api_op_TagResource.go b/service/rum/api_op_TagResource.go index 9d400a10e58..d872ec352d4 100644 --- a/service/rum/api_op_TagResource.go +++ b/service/rum/api_op_TagResource.go @@ -132,9 +132,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/rum/api_op_UntagResource.go b/service/rum/api_op_UntagResource.go index 0727ff93ddf..93b4c36744e 100644 --- a/service/rum/api_op_UntagResource.go +++ b/service/rum/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/rum/api_op_UpdateAppMonitor.go b/service/rum/api_op_UpdateAppMonitor.go index 4fc3d35b5dc..5b469a6dd12 100644 --- a/service/rum/api_op_UpdateAppMonitor.go +++ b/service/rum/api_op_UpdateAppMonitor.go @@ -152,9 +152,6 @@ func (c *Client) addOperationUpdateAppMonitorMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAppMonitorValidationMiddleware(stack); err != nil { return err } diff --git a/service/rum/api_op_UpdateRumMetricDefinition.go b/service/rum/api_op_UpdateRumMetricDefinition.go index 35a50846f07..b6360b12e9e 100644 --- a/service/rum/api_op_UpdateRumMetricDefinition.go +++ b/service/rum/api_op_UpdateRumMetricDefinition.go @@ -140,9 +140,6 @@ func (c *Client) addOperationUpdateRumMetricDefinitionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRumMetricDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/rum/snapshot/api_op_BatchCreateRumMetricDefinitions.go.snap b/service/rum/snapshot/api_op_BatchCreateRumMetricDefinitions.go.snap index 6129208f113..5c4a86c1179 100644 --- a/service/rum/snapshot/api_op_BatchCreateRumMetricDefinitions.go.snap +++ b/service/rum/snapshot/api_op_BatchCreateRumMetricDefinitions.go.snap @@ -14,7 +14,6 @@ BatchCreateRumMetricDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rum/snapshot/api_op_BatchDeleteRumMetricDefinitions.go.snap b/service/rum/snapshot/api_op_BatchDeleteRumMetricDefinitions.go.snap index 07c08cc4a19..4c4ccd5ee85 100644 --- a/service/rum/snapshot/api_op_BatchDeleteRumMetricDefinitions.go.snap +++ b/service/rum/snapshot/api_op_BatchDeleteRumMetricDefinitions.go.snap @@ -14,7 +14,6 @@ BatchDeleteRumMetricDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rum/snapshot/api_op_BatchGetRumMetricDefinitions.go.snap b/service/rum/snapshot/api_op_BatchGetRumMetricDefinitions.go.snap index f410528c9d0..e380c2406be 100644 --- a/service/rum/snapshot/api_op_BatchGetRumMetricDefinitions.go.snap +++ b/service/rum/snapshot/api_op_BatchGetRumMetricDefinitions.go.snap @@ -14,7 +14,6 @@ BatchGetRumMetricDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rum/snapshot/api_op_CreateAppMonitor.go.snap b/service/rum/snapshot/api_op_CreateAppMonitor.go.snap index 4556b86dba7..09eb8f86022 100644 --- a/service/rum/snapshot/api_op_CreateAppMonitor.go.snap +++ b/service/rum/snapshot/api_op_CreateAppMonitor.go.snap @@ -14,7 +14,6 @@ CreateAppMonitor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rum/snapshot/api_op_DeleteAppMonitor.go.snap b/service/rum/snapshot/api_op_DeleteAppMonitor.go.snap index 22dcdea23bf..9dec848c18e 100644 --- a/service/rum/snapshot/api_op_DeleteAppMonitor.go.snap +++ b/service/rum/snapshot/api_op_DeleteAppMonitor.go.snap @@ -14,7 +14,6 @@ DeleteAppMonitor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rum/snapshot/api_op_DeleteRumMetricsDestination.go.snap b/service/rum/snapshot/api_op_DeleteRumMetricsDestination.go.snap index 685ed914f8e..a7945d4f1ae 100644 --- a/service/rum/snapshot/api_op_DeleteRumMetricsDestination.go.snap +++ b/service/rum/snapshot/api_op_DeleteRumMetricsDestination.go.snap @@ -14,7 +14,6 @@ DeleteRumMetricsDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rum/snapshot/api_op_GetAppMonitor.go.snap b/service/rum/snapshot/api_op_GetAppMonitor.go.snap index 0cea3606d49..329bf6abbd6 100644 --- a/service/rum/snapshot/api_op_GetAppMonitor.go.snap +++ b/service/rum/snapshot/api_op_GetAppMonitor.go.snap @@ -14,7 +14,6 @@ GetAppMonitor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rum/snapshot/api_op_GetAppMonitorData.go.snap b/service/rum/snapshot/api_op_GetAppMonitorData.go.snap index a9aaa0c1c8c..db9c73ce40f 100644 --- a/service/rum/snapshot/api_op_GetAppMonitorData.go.snap +++ b/service/rum/snapshot/api_op_GetAppMonitorData.go.snap @@ -14,7 +14,6 @@ GetAppMonitorData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rum/snapshot/api_op_ListAppMonitors.go.snap b/service/rum/snapshot/api_op_ListAppMonitors.go.snap index f42075327b8..07085644a70 100644 --- a/service/rum/snapshot/api_op_ListAppMonitors.go.snap +++ b/service/rum/snapshot/api_op_ListAppMonitors.go.snap @@ -13,7 +13,6 @@ ListAppMonitors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rum/snapshot/api_op_ListRumMetricsDestinations.go.snap b/service/rum/snapshot/api_op_ListRumMetricsDestinations.go.snap index 5f3fb6523d0..85bc287c342 100644 --- a/service/rum/snapshot/api_op_ListRumMetricsDestinations.go.snap +++ b/service/rum/snapshot/api_op_ListRumMetricsDestinations.go.snap @@ -14,7 +14,6 @@ ListRumMetricsDestinations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rum/snapshot/api_op_ListTagsForResource.go.snap b/service/rum/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/rum/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/rum/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rum/snapshot/api_op_PutRumEvents.go.snap b/service/rum/snapshot/api_op_PutRumEvents.go.snap index 0bf3e641858..b71e9e8a6c3 100644 --- a/service/rum/snapshot/api_op_PutRumEvents.go.snap +++ b/service/rum/snapshot/api_op_PutRumEvents.go.snap @@ -14,7 +14,6 @@ PutRumEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rum/snapshot/api_op_PutRumMetricsDestination.go.snap b/service/rum/snapshot/api_op_PutRumMetricsDestination.go.snap index f7eba10ee30..ec6c8c6e0a2 100644 --- a/service/rum/snapshot/api_op_PutRumMetricsDestination.go.snap +++ b/service/rum/snapshot/api_op_PutRumMetricsDestination.go.snap @@ -14,7 +14,6 @@ PutRumMetricsDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rum/snapshot/api_op_TagResource.go.snap b/service/rum/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/rum/snapshot/api_op_TagResource.go.snap +++ b/service/rum/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rum/snapshot/api_op_UntagResource.go.snap b/service/rum/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/rum/snapshot/api_op_UntagResource.go.snap +++ b/service/rum/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rum/snapshot/api_op_UpdateAppMonitor.go.snap b/service/rum/snapshot/api_op_UpdateAppMonitor.go.snap index 29d27c805d3..8db0cfa5bab 100644 --- a/service/rum/snapshot/api_op_UpdateAppMonitor.go.snap +++ b/service/rum/snapshot/api_op_UpdateAppMonitor.go.snap @@ -14,7 +14,6 @@ UpdateAppMonitor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/rum/snapshot/api_op_UpdateRumMetricDefinition.go.snap b/service/rum/snapshot/api_op_UpdateRumMetricDefinition.go.snap index aaa959e690e..faec6b00da6 100644 --- a/service/rum/snapshot/api_op_UpdateRumMetricDefinition.go.snap +++ b/service/rum/snapshot/api_op_UpdateRumMetricDefinition.go.snap @@ -14,7 +14,6 @@ UpdateRumMetricDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/api_client.go b/service/s3/api_client.go index 40035a43da8..562e49357fc 100644 --- a/service/s3/api_client.go +++ b/service/s3/api_client.go @@ -871,37 +871,6 @@ func addResponseChecksumMetricsTracking(stack *middleware.Stack, options Options }, "UserAgent", middleware.Before) } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/s3/api_op_AbortMultipartUpload.go b/service/s3/api_op_AbortMultipartUpload.go index 3caa7dd7bd7..6048816a63c 100644 --- a/service/s3/api_op_AbortMultipartUpload.go +++ b/service/s3/api_op_AbortMultipartUpload.go @@ -266,9 +266,6 @@ func (c *Client) addOperationAbortMultipartUploadMiddlewares(stack *middleware.S if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAbortMultipartUploadValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_CompleteMultipartUpload.go b/service/s3/api_op_CompleteMultipartUpload.go index ef4198eedf1..9e31a2a7c87 100644 --- a/service/s3/api_op_CompleteMultipartUpload.go +++ b/service/s3/api_op_CompleteMultipartUpload.go @@ -547,9 +547,6 @@ func (c *Client) addOperationCompleteMultipartUploadMiddlewares(stack *middlewar if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCompleteMultipartUploadValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_CopyObject.go b/service/s3/api_op_CopyObject.go index 2d7d12c3e78..74c6b8d4993 100644 --- a/service/s3/api_op_CopyObject.go +++ b/service/s3/api_op_CopyObject.go @@ -963,9 +963,6 @@ func (c *Client) addOperationCopyObjectMiddlewares(stack *middleware.Stack, opti if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCopyObjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_CreateBucket.go b/service/s3/api_op_CreateBucket.go index 5dfadb4f736..1fad8dc8fe6 100644 --- a/service/s3/api_op_CreateBucket.go +++ b/service/s3/api_op_CreateBucket.go @@ -324,9 +324,6 @@ func (c *Client) addOperationCreateBucketMiddlewares(stack *middleware.Stack, op if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBucketValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_CreateBucketMetadataTableConfiguration.go b/service/s3/api_op_CreateBucketMetadataTableConfiguration.go index fbac4458fb8..20237417d5b 100644 --- a/service/s3/api_op_CreateBucketMetadataTableConfiguration.go +++ b/service/s3/api_op_CreateBucketMetadataTableConfiguration.go @@ -173,9 +173,6 @@ func (c *Client) addOperationCreateBucketMetadataTableConfigurationMiddlewares(s if err = addRequestChecksumMetricsTracking(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateBucketMetadataTableConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_CreateMultipartUpload.go b/service/s3/api_op_CreateMultipartUpload.go index 8b272620a0a..9d4b010f5a4 100644 --- a/service/s3/api_op_CreateMultipartUpload.go +++ b/service/s3/api_op_CreateMultipartUpload.go @@ -903,9 +903,6 @@ func (c *Client) addOperationCreateMultipartUploadMiddlewares(stack *middleware. if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateMultipartUploadValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_CreateSession.go b/service/s3/api_op_CreateSession.go index 21db131942b..4d432ece099 100644 --- a/service/s3/api_op_CreateSession.go +++ b/service/s3/api_op_CreateSession.go @@ -342,9 +342,6 @@ func (c *Client) addOperationCreateSessionMiddlewares(stack *middleware.Stack, o if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_DeleteBucket.go b/service/s3/api_op_DeleteBucket.go index 9e1edf91aeb..0be79c909ce 100644 --- a/service/s3/api_op_DeleteBucket.go +++ b/service/s3/api_op_DeleteBucket.go @@ -182,9 +182,6 @@ func (c *Client) addOperationDeleteBucketMiddlewares(stack *middleware.Stack, op if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBucketValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_DeleteBucketAnalyticsConfiguration.go b/service/s3/api_op_DeleteBucketAnalyticsConfiguration.go index a3a1873fa0b..ebeba22954a 100644 --- a/service/s3/api_op_DeleteBucketAnalyticsConfiguration.go +++ b/service/s3/api_op_DeleteBucketAnalyticsConfiguration.go @@ -157,9 +157,6 @@ func (c *Client) addOperationDeleteBucketAnalyticsConfigurationMiddlewares(stack if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBucketAnalyticsConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_DeleteBucketCors.go b/service/s3/api_op_DeleteBucketCors.go index ebae81c34d7..e101447514a 100644 --- a/service/s3/api_op_DeleteBucketCors.go +++ b/service/s3/api_op_DeleteBucketCors.go @@ -145,9 +145,6 @@ func (c *Client) addOperationDeleteBucketCorsMiddlewares(stack *middleware.Stack if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBucketCorsValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_DeleteBucketEncryption.go b/service/s3/api_op_DeleteBucketEncryption.go index bf654025bc4..c1a1b810dc9 100644 --- a/service/s3/api_op_DeleteBucketEncryption.go +++ b/service/s3/api_op_DeleteBucketEncryption.go @@ -182,9 +182,6 @@ func (c *Client) addOperationDeleteBucketEncryptionMiddlewares(stack *middleware if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBucketEncryptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_DeleteBucketIntelligentTieringConfiguration.go b/service/s3/api_op_DeleteBucketIntelligentTieringConfiguration.go index a62386c3ea0..3fd1f17cd02 100644 --- a/service/s3/api_op_DeleteBucketIntelligentTieringConfiguration.go +++ b/service/s3/api_op_DeleteBucketIntelligentTieringConfiguration.go @@ -159,9 +159,6 @@ func (c *Client) addOperationDeleteBucketIntelligentTieringConfigurationMiddlewa if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBucketIntelligentTieringConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_DeleteBucketInventoryConfiguration.go b/service/s3/api_op_DeleteBucketInventoryConfiguration.go index d24e3f754fd..68fbe69dfd7 100644 --- a/service/s3/api_op_DeleteBucketInventoryConfiguration.go +++ b/service/s3/api_op_DeleteBucketInventoryConfiguration.go @@ -157,9 +157,6 @@ func (c *Client) addOperationDeleteBucketInventoryConfigurationMiddlewares(stack if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBucketInventoryConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_DeleteBucketLifecycle.go b/service/s3/api_op_DeleteBucketLifecycle.go index 489be24c428..17430eedc64 100644 --- a/service/s3/api_op_DeleteBucketLifecycle.go +++ b/service/s3/api_op_DeleteBucketLifecycle.go @@ -184,9 +184,6 @@ func (c *Client) addOperationDeleteBucketLifecycleMiddlewares(stack *middleware. if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBucketLifecycleValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_DeleteBucketMetadataTableConfiguration.go b/service/s3/api_op_DeleteBucketMetadataTableConfiguration.go index 880d74d94b1..ff44efe085e 100644 --- a/service/s3/api_op_DeleteBucketMetadataTableConfiguration.go +++ b/service/s3/api_op_DeleteBucketMetadataTableConfiguration.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDeleteBucketMetadataTableConfigurationMiddlewares(s if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBucketMetadataTableConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_DeleteBucketMetricsConfiguration.go b/service/s3/api_op_DeleteBucketMetricsConfiguration.go index ed96b025328..86ab957322e 100644 --- a/service/s3/api_op_DeleteBucketMetricsConfiguration.go +++ b/service/s3/api_op_DeleteBucketMetricsConfiguration.go @@ -161,9 +161,6 @@ func (c *Client) addOperationDeleteBucketMetricsConfigurationMiddlewares(stack * if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBucketMetricsConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_DeleteBucketOwnershipControls.go b/service/s3/api_op_DeleteBucketOwnershipControls.go index 4775a25161b..da46b921e8f 100644 --- a/service/s3/api_op_DeleteBucketOwnershipControls.go +++ b/service/s3/api_op_DeleteBucketOwnershipControls.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDeleteBucketOwnershipControlsMiddlewares(stack *mid if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBucketOwnershipControlsValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_DeleteBucketPolicy.go b/service/s3/api_op_DeleteBucketPolicy.go index 048abe79e85..21d4275fd55 100644 --- a/service/s3/api_op_DeleteBucketPolicy.go +++ b/service/s3/api_op_DeleteBucketPolicy.go @@ -194,9 +194,6 @@ func (c *Client) addOperationDeleteBucketPolicyMiddlewares(stack *middleware.Sta if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBucketPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_DeleteBucketReplication.go b/service/s3/api_op_DeleteBucketReplication.go index f5c434b8d2b..d2c8b032885 100644 --- a/service/s3/api_op_DeleteBucketReplication.go +++ b/service/s3/api_op_DeleteBucketReplication.go @@ -152,9 +152,6 @@ func (c *Client) addOperationDeleteBucketReplicationMiddlewares(stack *middlewar if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBucketReplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_DeleteBucketTagging.go b/service/s3/api_op_DeleteBucketTagging.go index ab73775a1f3..22f0656eda0 100644 --- a/service/s3/api_op_DeleteBucketTagging.go +++ b/service/s3/api_op_DeleteBucketTagging.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDeleteBucketTaggingMiddlewares(stack *middleware.St if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBucketTaggingValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_DeleteBucketWebsite.go b/service/s3/api_op_DeleteBucketWebsite.go index 6ea3b745dad..46aded0bb19 100644 --- a/service/s3/api_op_DeleteBucketWebsite.go +++ b/service/s3/api_op_DeleteBucketWebsite.go @@ -151,9 +151,6 @@ func (c *Client) addOperationDeleteBucketWebsiteMiddlewares(stack *middleware.St if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBucketWebsiteValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_DeleteObject.go b/service/s3/api_op_DeleteObject.go index f57c88ea596..2ebb29a56f4 100644 --- a/service/s3/api_op_DeleteObject.go +++ b/service/s3/api_op_DeleteObject.go @@ -344,9 +344,6 @@ func (c *Client) addOperationDeleteObjectMiddlewares(stack *middleware.Stack, op if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteObjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_DeleteObjectTagging.go b/service/s3/api_op_DeleteObjectTagging.go index 2e69b431779..da55e92a002 100644 --- a/service/s3/api_op_DeleteObjectTagging.go +++ b/service/s3/api_op_DeleteObjectTagging.go @@ -177,9 +177,6 @@ func (c *Client) addOperationDeleteObjectTaggingMiddlewares(stack *middleware.St if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteObjectTaggingValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_DeleteObjects.go b/service/s3/api_op_DeleteObjects.go index a73f2b6d37a..396c3594883 100644 --- a/service/s3/api_op_DeleteObjects.go +++ b/service/s3/api_op_DeleteObjects.go @@ -350,9 +350,6 @@ func (c *Client) addOperationDeleteObjectsMiddlewares(stack *middleware.Stack, o if err = addRequestChecksumMetricsTracking(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteObjectsValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_DeletePublicAccessBlock.go b/service/s3/api_op_DeletePublicAccessBlock.go index 87e72df27ab..7205bb88dd0 100644 --- a/service/s3/api_op_DeletePublicAccessBlock.go +++ b/service/s3/api_op_DeletePublicAccessBlock.go @@ -148,9 +148,6 @@ func (c *Client) addOperationDeletePublicAccessBlockMiddlewares(stack *middlewar if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePublicAccessBlockValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_GetBucketAccelerateConfiguration.go b/service/s3/api_op_GetBucketAccelerateConfiguration.go index 0ed2a867014..8d33fa67d96 100644 --- a/service/s3/api_op_GetBucketAccelerateConfiguration.go +++ b/service/s3/api_op_GetBucketAccelerateConfiguration.go @@ -179,9 +179,6 @@ func (c *Client) addOperationGetBucketAccelerateConfigurationMiddlewares(stack * if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBucketAccelerateConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_GetBucketAcl.go b/service/s3/api_op_GetBucketAcl.go index fed95ac0197..8ae6505d075 100644 --- a/service/s3/api_op_GetBucketAcl.go +++ b/service/s3/api_op_GetBucketAcl.go @@ -174,9 +174,6 @@ func (c *Client) addOperationGetBucketAclMiddlewares(stack *middleware.Stack, op if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBucketAclValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_GetBucketAnalyticsConfiguration.go b/service/s3/api_op_GetBucketAnalyticsConfiguration.go index b0423c85ed6..a0e8ac7c02c 100644 --- a/service/s3/api_op_GetBucketAnalyticsConfiguration.go +++ b/service/s3/api_op_GetBucketAnalyticsConfiguration.go @@ -163,9 +163,6 @@ func (c *Client) addOperationGetBucketAnalyticsConfigurationMiddlewares(stack *m if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBucketAnalyticsConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_GetBucketCors.go b/service/s3/api_op_GetBucketCors.go index ef6a970da4d..ee1d6b91189 100644 --- a/service/s3/api_op_GetBucketCors.go +++ b/service/s3/api_op_GetBucketCors.go @@ -173,9 +173,6 @@ func (c *Client) addOperationGetBucketCorsMiddlewares(stack *middleware.Stack, o if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBucketCorsValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_GetBucketEncryption.go b/service/s3/api_op_GetBucketEncryption.go index 82b7211a18d..a7dda520a86 100644 --- a/service/s3/api_op_GetBucketEncryption.go +++ b/service/s3/api_op_GetBucketEncryption.go @@ -188,9 +188,6 @@ func (c *Client) addOperationGetBucketEncryptionMiddlewares(stack *middleware.St if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBucketEncryptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_GetBucketIntelligentTieringConfiguration.go b/service/s3/api_op_GetBucketIntelligentTieringConfiguration.go index 5a500f0a66f..ccf065ee9fd 100644 --- a/service/s3/api_op_GetBucketIntelligentTieringConfiguration.go +++ b/service/s3/api_op_GetBucketIntelligentTieringConfiguration.go @@ -164,9 +164,6 @@ func (c *Client) addOperationGetBucketIntelligentTieringConfigurationMiddlewares if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBucketIntelligentTieringConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_GetBucketInventoryConfiguration.go b/service/s3/api_op_GetBucketInventoryConfiguration.go index 163c86ae73d..8d61953c252 100644 --- a/service/s3/api_op_GetBucketInventoryConfiguration.go +++ b/service/s3/api_op_GetBucketInventoryConfiguration.go @@ -162,9 +162,6 @@ func (c *Client) addOperationGetBucketInventoryConfigurationMiddlewares(stack *m if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBucketInventoryConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_GetBucketLifecycleConfiguration.go b/service/s3/api_op_GetBucketLifecycleConfiguration.go index 5803ff5b5bc..69e806c1cb9 100644 --- a/service/s3/api_op_GetBucketLifecycleConfiguration.go +++ b/service/s3/api_op_GetBucketLifecycleConfiguration.go @@ -228,9 +228,6 @@ func (c *Client) addOperationGetBucketLifecycleConfigurationMiddlewares(stack *m if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBucketLifecycleConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_GetBucketLocation.go b/service/s3/api_op_GetBucketLocation.go index 3d1397b7f73..c5ebee33d14 100644 --- a/service/s3/api_op_GetBucketLocation.go +++ b/service/s3/api_op_GetBucketLocation.go @@ -185,9 +185,6 @@ func (c *Client) addOperationGetBucketLocationMiddlewares(stack *middleware.Stac if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBucketLocationValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_GetBucketLogging.go b/service/s3/api_op_GetBucketLogging.go index c1f315fabdb..b774266d32a 100644 --- a/service/s3/api_op_GetBucketLogging.go +++ b/service/s3/api_op_GetBucketLogging.go @@ -148,9 +148,6 @@ func (c *Client) addOperationGetBucketLoggingMiddlewares(stack *middleware.Stack if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBucketLoggingValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_GetBucketMetadataTableConfiguration.go b/service/s3/api_op_GetBucketMetadataTableConfiguration.go index 5d5e9685fcf..e3b17f1aeea 100644 --- a/service/s3/api_op_GetBucketMetadataTableConfiguration.go +++ b/service/s3/api_op_GetBucketMetadataTableConfiguration.go @@ -149,9 +149,6 @@ func (c *Client) addOperationGetBucketMetadataTableConfigurationMiddlewares(stac if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBucketMetadataTableConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_GetBucketMetricsConfiguration.go b/service/s3/api_op_GetBucketMetricsConfiguration.go index 4fdf2ef4289..a83b72620fa 100644 --- a/service/s3/api_op_GetBucketMetricsConfiguration.go +++ b/service/s3/api_op_GetBucketMetricsConfiguration.go @@ -165,9 +165,6 @@ func (c *Client) addOperationGetBucketMetricsConfigurationMiddlewares(stack *mid if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBucketMetricsConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_GetBucketNotificationConfiguration.go b/service/s3/api_op_GetBucketNotificationConfiguration.go index 1fb7d1643cf..8f744ba3087 100644 --- a/service/s3/api_op_GetBucketNotificationConfiguration.go +++ b/service/s3/api_op_GetBucketNotificationConfiguration.go @@ -188,9 +188,6 @@ func (c *Client) addOperationGetBucketNotificationConfigurationMiddlewares(stack if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBucketNotificationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_GetBucketOwnershipControls.go b/service/s3/api_op_GetBucketOwnershipControls.go index cdc07a5809a..ac69a473433 100644 --- a/service/s3/api_op_GetBucketOwnershipControls.go +++ b/service/s3/api_op_GetBucketOwnershipControls.go @@ -148,9 +148,6 @@ func (c *Client) addOperationGetBucketOwnershipControlsMiddlewares(stack *middle if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBucketOwnershipControlsValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_GetBucketPolicy.go b/service/s3/api_op_GetBucketPolicy.go index 26bd4a775ac..3fcd426c832 100644 --- a/service/s3/api_op_GetBucketPolicy.go +++ b/service/s3/api_op_GetBucketPolicy.go @@ -215,9 +215,6 @@ func (c *Client) addOperationGetBucketPolicyMiddlewares(stack *middleware.Stack, if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBucketPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_GetBucketPolicyStatus.go b/service/s3/api_op_GetBucketPolicyStatus.go index db63caf6f15..a5cac1be1c5 100644 --- a/service/s3/api_op_GetBucketPolicyStatus.go +++ b/service/s3/api_op_GetBucketPolicyStatus.go @@ -156,9 +156,6 @@ func (c *Client) addOperationGetBucketPolicyStatusMiddlewares(stack *middleware. if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBucketPolicyStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_GetBucketReplication.go b/service/s3/api_op_GetBucketReplication.go index ebc0d35cf96..fac6ec2d98c 100644 --- a/service/s3/api_op_GetBucketReplication.go +++ b/service/s3/api_op_GetBucketReplication.go @@ -163,9 +163,6 @@ func (c *Client) addOperationGetBucketReplicationMiddlewares(stack *middleware.S if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBucketReplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_GetBucketRequestPayment.go b/service/s3/api_op_GetBucketRequestPayment.go index 34563cb0dc3..3398dfc5ff2 100644 --- a/service/s3/api_op_GetBucketRequestPayment.go +++ b/service/s3/api_op_GetBucketRequestPayment.go @@ -142,9 +142,6 @@ func (c *Client) addOperationGetBucketRequestPaymentMiddlewares(stack *middlewar if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBucketRequestPaymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_GetBucketTagging.go b/service/s3/api_op_GetBucketTagging.go index a1d8d99c419..6ff16896e01 100644 --- a/service/s3/api_op_GetBucketTagging.go +++ b/service/s3/api_op_GetBucketTagging.go @@ -155,9 +155,6 @@ func (c *Client) addOperationGetBucketTaggingMiddlewares(stack *middleware.Stack if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBucketTaggingValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_GetBucketVersioning.go b/service/s3/api_op_GetBucketVersioning.go index 6e69fd4670e..919cf688c5e 100644 --- a/service/s3/api_op_GetBucketVersioning.go +++ b/service/s3/api_op_GetBucketVersioning.go @@ -157,9 +157,6 @@ func (c *Client) addOperationGetBucketVersioningMiddlewares(stack *middleware.St if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBucketVersioningValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_GetBucketWebsite.go b/service/s3/api_op_GetBucketWebsite.go index ce0847c8c0d..3758b87895f 100644 --- a/service/s3/api_op_GetBucketWebsite.go +++ b/service/s3/api_op_GetBucketWebsite.go @@ -161,9 +161,6 @@ func (c *Client) addOperationGetBucketWebsiteMiddlewares(stack *middleware.Stack if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBucketWebsiteValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_GetObject.go b/service/s3/api_op_GetObject.go index 6fdc8ec9a9c..6b03a21adb9 100644 --- a/service/s3/api_op_GetObject.go +++ b/service/s3/api_op_GetObject.go @@ -730,9 +730,6 @@ func (c *Client) addOperationGetObjectMiddlewares(stack *middleware.Stack, optio if err = addResponseChecksumMetricsTracking(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetObjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_GetObjectAcl.go b/service/s3/api_op_GetObjectAcl.go index 03db6fb831c..fde39a96962 100644 --- a/service/s3/api_op_GetObjectAcl.go +++ b/service/s3/api_op_GetObjectAcl.go @@ -206,9 +206,6 @@ func (c *Client) addOperationGetObjectAclMiddlewares(stack *middleware.Stack, op if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetObjectAclValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_GetObjectAttributes.go b/service/s3/api_op_GetObjectAttributes.go index 03c7a392976..edd95d8ff17 100644 --- a/service/s3/api_op_GetObjectAttributes.go +++ b/service/s3/api_op_GetObjectAttributes.go @@ -415,9 +415,6 @@ func (c *Client) addOperationGetObjectAttributesMiddlewares(stack *middleware.St if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetObjectAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_GetObjectLegalHold.go b/service/s3/api_op_GetObjectLegalHold.go index 459702e8dd3..f341d2adb77 100644 --- a/service/s3/api_op_GetObjectLegalHold.go +++ b/service/s3/api_op_GetObjectLegalHold.go @@ -174,9 +174,6 @@ func (c *Client) addOperationGetObjectLegalHoldMiddlewares(stack *middleware.Sta if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetObjectLegalHoldValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_GetObjectLockConfiguration.go b/service/s3/api_op_GetObjectLockConfiguration.go index f49a4458c26..7b34287c81c 100644 --- a/service/s3/api_op_GetObjectLockConfiguration.go +++ b/service/s3/api_op_GetObjectLockConfiguration.go @@ -153,9 +153,6 @@ func (c *Client) addOperationGetObjectLockConfigurationMiddlewares(stack *middle if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetObjectLockConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_GetObjectRetention.go b/service/s3/api_op_GetObjectRetention.go index bd2d0aaa1f7..7a72820ec20 100644 --- a/service/s3/api_op_GetObjectRetention.go +++ b/service/s3/api_op_GetObjectRetention.go @@ -174,9 +174,6 @@ func (c *Client) addOperationGetObjectRetentionMiddlewares(stack *middleware.Sta if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetObjectRetentionValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_GetObjectTagging.go b/service/s3/api_op_GetObjectTagging.go index 204a1579318..6b208aa74f7 100644 --- a/service/s3/api_op_GetObjectTagging.go +++ b/service/s3/api_op_GetObjectTagging.go @@ -203,9 +203,6 @@ func (c *Client) addOperationGetObjectTaggingMiddlewares(stack *middleware.Stack if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetObjectTaggingValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_GetObjectTorrent.go b/service/s3/api_op_GetObjectTorrent.go index 5959ce7345a..dc314d663ca 100644 --- a/service/s3/api_op_GetObjectTorrent.go +++ b/service/s3/api_op_GetObjectTorrent.go @@ -169,9 +169,6 @@ func (c *Client) addOperationGetObjectTorrentMiddlewares(stack *middleware.Stack if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetObjectTorrentValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_GetPublicAccessBlock.go b/service/s3/api_op_GetPublicAccessBlock.go index 97005c10800..bd760d74c05 100644 --- a/service/s3/api_op_GetPublicAccessBlock.go +++ b/service/s3/api_op_GetPublicAccessBlock.go @@ -165,9 +165,6 @@ func (c *Client) addOperationGetPublicAccessBlockMiddlewares(stack *middleware.S if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPublicAccessBlockValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_HeadBucket.go b/service/s3/api_op_HeadBucket.go index 21470dc11af..3cb742fb8a6 100644 --- a/service/s3/api_op_HeadBucket.go +++ b/service/s3/api_op_HeadBucket.go @@ -247,9 +247,6 @@ func (c *Client) addOperationHeadBucketMiddlewares(stack *middleware.Stack, opti if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpHeadBucketValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_HeadObject.go b/service/s3/api_op_HeadObject.go index ce7a68477f9..520f7425b47 100644 --- a/service/s3/api_op_HeadObject.go +++ b/service/s3/api_op_HeadObject.go @@ -726,9 +726,6 @@ func (c *Client) addOperationHeadObjectMiddlewares(stack *middleware.Stack, opti if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpHeadObjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_ListBucketAnalyticsConfigurations.go b/service/s3/api_op_ListBucketAnalyticsConfigurations.go index 2580b44aa5a..dd35f119c6b 100644 --- a/service/s3/api_op_ListBucketAnalyticsConfigurations.go +++ b/service/s3/api_op_ListBucketAnalyticsConfigurations.go @@ -183,9 +183,6 @@ func (c *Client) addOperationListBucketAnalyticsConfigurationsMiddlewares(stack if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBucketAnalyticsConfigurationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_ListBucketIntelligentTieringConfigurations.go b/service/s3/api_op_ListBucketIntelligentTieringConfigurations.go index 2a77b680480..3f6d19a34a4 100644 --- a/service/s3/api_op_ListBucketIntelligentTieringConfigurations.go +++ b/service/s3/api_op_ListBucketIntelligentTieringConfigurations.go @@ -177,9 +177,6 @@ func (c *Client) addOperationListBucketIntelligentTieringConfigurationsMiddlewar if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBucketIntelligentTieringConfigurationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_ListBucketInventoryConfigurations.go b/service/s3/api_op_ListBucketInventoryConfigurations.go index 0bd202161ec..5a675d2a9a9 100644 --- a/service/s3/api_op_ListBucketInventoryConfigurations.go +++ b/service/s3/api_op_ListBucketInventoryConfigurations.go @@ -185,9 +185,6 @@ func (c *Client) addOperationListBucketInventoryConfigurationsMiddlewares(stack if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBucketInventoryConfigurationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_ListBucketMetricsConfigurations.go b/service/s3/api_op_ListBucketMetricsConfigurations.go index 7f99075af4e..e6484f4b01c 100644 --- a/service/s3/api_op_ListBucketMetricsConfigurations.go +++ b/service/s3/api_op_ListBucketMetricsConfigurations.go @@ -187,9 +187,6 @@ func (c *Client) addOperationListBucketMetricsConfigurationsMiddlewares(stack *m if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBucketMetricsConfigurationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_ListBuckets.go b/service/s3/api_op_ListBuckets.go index aec9715d68e..d87540829a4 100644 --- a/service/s3/api_op_ListBuckets.go +++ b/service/s3/api_op_ListBuckets.go @@ -182,9 +182,6 @@ func (c *Client) addOperationListBucketsMiddlewares(stack *middleware.Stack, opt if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBuckets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/s3/api_op_ListDirectoryBuckets.go b/service/s3/api_op_ListDirectoryBuckets.go index d8d85e9d67d..eef0b610088 100644 --- a/service/s3/api_op_ListDirectoryBuckets.go +++ b/service/s3/api_op_ListDirectoryBuckets.go @@ -162,9 +162,6 @@ func (c *Client) addOperationListDirectoryBucketsMiddlewares(stack *middleware.S if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDirectoryBuckets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/s3/api_op_ListMultipartUploads.go b/service/s3/api_op_ListMultipartUploads.go index 7d5dd343e3a..da248f67f24 100644 --- a/service/s3/api_op_ListMultipartUploads.go +++ b/service/s3/api_op_ListMultipartUploads.go @@ -417,9 +417,6 @@ func (c *Client) addOperationListMultipartUploadsMiddlewares(stack *middleware.S if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMultipartUploadsValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_ListObjectVersions.go b/service/s3/api_op_ListObjectVersions.go index 6cfc9862810..046dbd1feb4 100644 --- a/service/s3/api_op_ListObjectVersions.go +++ b/service/s3/api_op_ListObjectVersions.go @@ -283,9 +283,6 @@ func (c *Client) addOperationListObjectVersionsMiddlewares(stack *middleware.Sta if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListObjectVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_ListObjects.go b/service/s3/api_op_ListObjects.go index f56445886d2..db46d832928 100644 --- a/service/s3/api_op_ListObjects.go +++ b/service/s3/api_op_ListObjects.go @@ -306,9 +306,6 @@ func (c *Client) addOperationListObjectsMiddlewares(stack *middleware.Stack, opt if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListObjectsValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_ListObjectsV2.go b/service/s3/api_op_ListObjectsV2.go index f10ae67d53a..653afb38036 100644 --- a/service/s3/api_op_ListObjectsV2.go +++ b/service/s3/api_op_ListObjectsV2.go @@ -401,9 +401,6 @@ func (c *Client) addOperationListObjectsV2Middlewares(stack *middleware.Stack, o if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListObjectsV2ValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_ListParts.go b/service/s3/api_op_ListParts.go index d30650e4276..eb2a967e1c8 100644 --- a/service/s3/api_op_ListParts.go +++ b/service/s3/api_op_ListParts.go @@ -382,9 +382,6 @@ func (c *Client) addOperationListPartsMiddlewares(stack *middleware.Stack, optio if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPartsValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_PutBucketAccelerateConfiguration.go b/service/s3/api_op_PutBucketAccelerateConfiguration.go index 51de19c80c3..b1114fbf605 100644 --- a/service/s3/api_op_PutBucketAccelerateConfiguration.go +++ b/service/s3/api_op_PutBucketAccelerateConfiguration.go @@ -188,9 +188,6 @@ func (c *Client) addOperationPutBucketAccelerateConfigurationMiddlewares(stack * if err = addRequestChecksumMetricsTracking(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutBucketAccelerateConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_PutBucketAcl.go b/service/s3/api_op_PutBucketAcl.go index a7d37a86b0d..926425c4f60 100644 --- a/service/s3/api_op_PutBucketAcl.go +++ b/service/s3/api_op_PutBucketAcl.go @@ -332,9 +332,6 @@ func (c *Client) addOperationPutBucketAclMiddlewares(stack *middleware.Stack, op if err = addRequestChecksumMetricsTracking(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutBucketAclValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_PutBucketAnalyticsConfiguration.go b/service/s3/api_op_PutBucketAnalyticsConfiguration.go index 8e13fbcdae7..ff457d603f5 100644 --- a/service/s3/api_op_PutBucketAnalyticsConfiguration.go +++ b/service/s3/api_op_PutBucketAnalyticsConfiguration.go @@ -198,9 +198,6 @@ func (c *Client) addOperationPutBucketAnalyticsConfigurationMiddlewares(stack *m if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutBucketAnalyticsConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_PutBucketCors.go b/service/s3/api_op_PutBucketCors.go index 653a1598a94..3753abf0331 100644 --- a/service/s3/api_op_PutBucketCors.go +++ b/service/s3/api_op_PutBucketCors.go @@ -210,9 +210,6 @@ func (c *Client) addOperationPutBucketCorsMiddlewares(stack *middleware.Stack, o if err = addRequestChecksumMetricsTracking(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutBucketCorsValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_PutBucketEncryption.go b/service/s3/api_op_PutBucketEncryption.go index 87d25702cd5..67f5152950a 100644 --- a/service/s3/api_op_PutBucketEncryption.go +++ b/service/s3/api_op_PutBucketEncryption.go @@ -287,9 +287,6 @@ func (c *Client) addOperationPutBucketEncryptionMiddlewares(stack *middleware.St if err = addRequestChecksumMetricsTracking(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutBucketEncryptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_PutBucketIntelligentTieringConfiguration.go b/service/s3/api_op_PutBucketIntelligentTieringConfiguration.go index c032b4039c8..6a11a0946b2 100644 --- a/service/s3/api_op_PutBucketIntelligentTieringConfiguration.go +++ b/service/s3/api_op_PutBucketIntelligentTieringConfiguration.go @@ -185,9 +185,6 @@ func (c *Client) addOperationPutBucketIntelligentTieringConfigurationMiddlewares if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutBucketIntelligentTieringConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_PutBucketInventoryConfiguration.go b/service/s3/api_op_PutBucketInventoryConfiguration.go index 773ba76e554..d4ea335a48d 100644 --- a/service/s3/api_op_PutBucketInventoryConfiguration.go +++ b/service/s3/api_op_PutBucketInventoryConfiguration.go @@ -207,9 +207,6 @@ func (c *Client) addOperationPutBucketInventoryConfigurationMiddlewares(stack *m if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutBucketInventoryConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_PutBucketLifecycleConfiguration.go b/service/s3/api_op_PutBucketLifecycleConfiguration.go index 567b807733b..35712afe0a8 100644 --- a/service/s3/api_op_PutBucketLifecycleConfiguration.go +++ b/service/s3/api_op_PutBucketLifecycleConfiguration.go @@ -296,9 +296,6 @@ func (c *Client) addOperationPutBucketLifecycleConfigurationMiddlewares(stack *m if err = addRequestChecksumMetricsTracking(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutBucketLifecycleConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_PutBucketLogging.go b/service/s3/api_op_PutBucketLogging.go index 53342aca48c..c5e2ac7ab7d 100644 --- a/service/s3/api_op_PutBucketLogging.go +++ b/service/s3/api_op_PutBucketLogging.go @@ -217,9 +217,6 @@ func (c *Client) addOperationPutBucketLoggingMiddlewares(stack *middleware.Stack if err = addRequestChecksumMetricsTracking(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutBucketLoggingValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_PutBucketMetricsConfiguration.go b/service/s3/api_op_PutBucketMetricsConfiguration.go index e386b1e9af2..0cd04f456b4 100644 --- a/service/s3/api_op_PutBucketMetricsConfiguration.go +++ b/service/s3/api_op_PutBucketMetricsConfiguration.go @@ -176,9 +176,6 @@ func (c *Client) addOperationPutBucketMetricsConfigurationMiddlewares(stack *mid if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutBucketMetricsConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_PutBucketNotificationConfiguration.go b/service/s3/api_op_PutBucketNotificationConfiguration.go index 9100fb19766..cbc39609f9f 100644 --- a/service/s3/api_op_PutBucketNotificationConfiguration.go +++ b/service/s3/api_op_PutBucketNotificationConfiguration.go @@ -190,9 +190,6 @@ func (c *Client) addOperationPutBucketNotificationConfigurationMiddlewares(stack if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutBucketNotificationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_PutBucketOwnershipControls.go b/service/s3/api_op_PutBucketOwnershipControls.go index 96f27ccd0d3..dadf5d35c20 100644 --- a/service/s3/api_op_PutBucketOwnershipControls.go +++ b/service/s3/api_op_PutBucketOwnershipControls.go @@ -159,9 +159,6 @@ func (c *Client) addOperationPutBucketOwnershipControlsMiddlewares(stack *middle if err = addRequestChecksumMetricsTracking(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutBucketOwnershipControlsValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_PutBucketPolicy.go b/service/s3/api_op_PutBucketPolicy.go index 1764f4928d7..daaa06246a3 100644 --- a/service/s3/api_op_PutBucketPolicy.go +++ b/service/s3/api_op_PutBucketPolicy.go @@ -260,9 +260,6 @@ func (c *Client) addOperationPutBucketPolicyMiddlewares(stack *middleware.Stack, if err = addRequestChecksumMetricsTracking(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutBucketPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_PutBucketReplication.go b/service/s3/api_op_PutBucketReplication.go index 1b11ef39911..4e6dd240dac 100644 --- a/service/s3/api_op_PutBucketReplication.go +++ b/service/s3/api_op_PutBucketReplication.go @@ -228,9 +228,6 @@ func (c *Client) addOperationPutBucketReplicationMiddlewares(stack *middleware.S if err = addRequestChecksumMetricsTracking(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutBucketReplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_PutBucketRequestPayment.go b/service/s3/api_op_PutBucketRequestPayment.go index a6d19c60992..f9394eafbbc 100644 --- a/service/s3/api_op_PutBucketRequestPayment.go +++ b/service/s3/api_op_PutBucketRequestPayment.go @@ -175,9 +175,6 @@ func (c *Client) addOperationPutBucketRequestPaymentMiddlewares(stack *middlewar if err = addRequestChecksumMetricsTracking(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutBucketRequestPaymentValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_PutBucketTagging.go b/service/s3/api_op_PutBucketTagging.go index db5e62dfd88..fd3bddc97b3 100644 --- a/service/s3/api_op_PutBucketTagging.go +++ b/service/s3/api_op_PutBucketTagging.go @@ -207,9 +207,6 @@ func (c *Client) addOperationPutBucketTaggingMiddlewares(stack *middleware.Stack if err = addRequestChecksumMetricsTracking(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutBucketTaggingValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_PutBucketVersioning.go b/service/s3/api_op_PutBucketVersioning.go index aa30d5fad14..d807bf1b642 100644 --- a/service/s3/api_op_PutBucketVersioning.go +++ b/service/s3/api_op_PutBucketVersioning.go @@ -211,9 +211,6 @@ func (c *Client) addOperationPutBucketVersioningMiddlewares(stack *middleware.St if err = addRequestChecksumMetricsTracking(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutBucketVersioningValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_PutBucketWebsite.go b/service/s3/api_op_PutBucketWebsite.go index 169b24bccad..75af310ad38 100644 --- a/service/s3/api_op_PutBucketWebsite.go +++ b/service/s3/api_op_PutBucketWebsite.go @@ -230,9 +230,6 @@ func (c *Client) addOperationPutBucketWebsiteMiddlewares(stack *middleware.Stack if err = addRequestChecksumMetricsTracking(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutBucketWebsiteValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_PutObject.go b/service/s3/api_op_PutObject.go index cc0fb9e5f16..907c2fb229d 100644 --- a/service/s3/api_op_PutObject.go +++ b/service/s3/api_op_PutObject.go @@ -879,9 +879,6 @@ func (c *Client) addOperationPutObjectMiddlewares(stack *middleware.Stack, optio if err = addRequestChecksumMetricsTracking(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutObjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_PutObjectAcl.go b/service/s3/api_op_PutObjectAcl.go index 898d6ce7f17..cb1631f70bd 100644 --- a/service/s3/api_op_PutObjectAcl.go +++ b/service/s3/api_op_PutObjectAcl.go @@ -383,9 +383,6 @@ func (c *Client) addOperationPutObjectAclMiddlewares(stack *middleware.Stack, op if err = addRequestChecksumMetricsTracking(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutObjectAclValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_PutObjectLegalHold.go b/service/s3/api_op_PutObjectLegalHold.go index a72024876eb..4e04474e294 100644 --- a/service/s3/api_op_PutObjectLegalHold.go +++ b/service/s3/api_op_PutObjectLegalHold.go @@ -199,9 +199,6 @@ func (c *Client) addOperationPutObjectLegalHoldMiddlewares(stack *middleware.Sta if err = addRequestChecksumMetricsTracking(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutObjectLegalHoldValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_PutObjectLockConfiguration.go b/service/s3/api_op_PutObjectLockConfiguration.go index e1d6a188891..3209220c521 100644 --- a/service/s3/api_op_PutObjectLockConfiguration.go +++ b/service/s3/api_op_PutObjectLockConfiguration.go @@ -190,9 +190,6 @@ func (c *Client) addOperationPutObjectLockConfigurationMiddlewares(stack *middle if err = addRequestChecksumMetricsTracking(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutObjectLockConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_PutObjectRetention.go b/service/s3/api_op_PutObjectRetention.go index 3c7cde265f1..1971fd206d1 100644 --- a/service/s3/api_op_PutObjectRetention.go +++ b/service/s3/api_op_PutObjectRetention.go @@ -206,9 +206,6 @@ func (c *Client) addOperationPutObjectRetentionMiddlewares(stack *middleware.Sta if err = addRequestChecksumMetricsTracking(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutObjectRetentionValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_PutObjectTagging.go b/service/s3/api_op_PutObjectTagging.go index 6de5386c135..642a6050b1d 100644 --- a/service/s3/api_op_PutObjectTagging.go +++ b/service/s3/api_op_PutObjectTagging.go @@ -241,9 +241,6 @@ func (c *Client) addOperationPutObjectTaggingMiddlewares(stack *middleware.Stack if err = addRequestChecksumMetricsTracking(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutObjectTaggingValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_PutPublicAccessBlock.go b/service/s3/api_op_PutPublicAccessBlock.go index 114bcc14989..7be6f639458 100644 --- a/service/s3/api_op_PutPublicAccessBlock.go +++ b/service/s3/api_op_PutPublicAccessBlock.go @@ -193,9 +193,6 @@ func (c *Client) addOperationPutPublicAccessBlockMiddlewares(stack *middleware.S if err = addRequestChecksumMetricsTracking(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutPublicAccessBlockValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_RestoreObject.go b/service/s3/api_op_RestoreObject.go index 69a7f4ffb89..48525cfbae3 100644 --- a/service/s3/api_op_RestoreObject.go +++ b/service/s3/api_op_RestoreObject.go @@ -343,9 +343,6 @@ func (c *Client) addOperationRestoreObjectMiddlewares(stack *middleware.Stack, o if err = addRequestChecksumMetricsTracking(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreObjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_SelectObjectContent.go b/service/s3/api_op_SelectObjectContent.go index 2dfa63c6e0f..b22b0dd0e42 100644 --- a/service/s3/api_op_SelectObjectContent.go +++ b/service/s3/api_op_SelectObjectContent.go @@ -295,9 +295,6 @@ func (c *Client) addOperationSelectObjectContentMiddlewares(stack *middleware.St if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSelectObjectContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_UploadPart.go b/service/s3/api_op_UploadPart.go index 624a67b646a..65a5b65272b 100644 --- a/service/s3/api_op_UploadPart.go +++ b/service/s3/api_op_UploadPart.go @@ -530,9 +530,6 @@ func (c *Client) addOperationUploadPartMiddlewares(stack *middleware.Stack, opti if err = addRequestChecksumMetricsTracking(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUploadPartValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_UploadPartCopy.go b/service/s3/api_op_UploadPartCopy.go index b5be77dffd0..351b211f62f 100644 --- a/service/s3/api_op_UploadPartCopy.go +++ b/service/s3/api_op_UploadPartCopy.go @@ -565,9 +565,6 @@ func (c *Client) addOperationUploadPartCopyMiddlewares(stack *middleware.Stack, if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUploadPartCopyValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3/api_op_WriteGetObjectResponse.go b/service/s3/api_op_WriteGetObjectResponse.go index 9a9bbcede67..37106974416 100644 --- a/service/s3/api_op_WriteGetObjectResponse.go +++ b/service/s3/api_op_WriteGetObjectResponse.go @@ -419,9 +419,6 @@ func (c *Client) addOperationWriteGetObjectResponseMiddlewares(stack *middleware if err = addIsExpressUserAgent(stack); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opWriteGetObjectResponseMiddleware(stack); err != nil { return err } diff --git a/service/s3/snapshot/api_op_AbortMultipartUpload.go.snap b/service/s3/snapshot/api_op_AbortMultipartUpload.go.snap index ec7705b3288..858751883b4 100644 --- a/service/s3/snapshot/api_op_AbortMultipartUpload.go.snap +++ b/service/s3/snapshot/api_op_AbortMultipartUpload.go.snap @@ -22,7 +22,6 @@ AbortMultipartUpload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_CompleteMultipartUpload.go.snap b/service/s3/snapshot/api_op_CompleteMultipartUpload.go.snap index e97d13d31bd..f446474a74a 100644 --- a/service/s3/snapshot/api_op_CompleteMultipartUpload.go.snap +++ b/service/s3/snapshot/api_op_CompleteMultipartUpload.go.snap @@ -22,7 +22,6 @@ CompleteMultipartUpload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_CopyObject.go.snap b/service/s3/snapshot/api_op_CopyObject.go.snap index f555ab29e78..3aa4822d619 100644 --- a/service/s3/snapshot/api_op_CopyObject.go.snap +++ b/service/s3/snapshot/api_op_CopyObject.go.snap @@ -22,7 +22,6 @@ CopyObject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_CreateBucket.go.snap b/service/s3/snapshot/api_op_CreateBucket.go.snap index 388f380ab7e..25f3530666c 100644 --- a/service/s3/snapshot/api_op_CreateBucket.go.snap +++ b/service/s3/snapshot/api_op_CreateBucket.go.snap @@ -22,7 +22,6 @@ CreateBucket Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_CreateBucketMetadataTableConfiguration.go.snap b/service/s3/snapshot/api_op_CreateBucketMetadataTableConfiguration.go.snap index 117b2bf3377..77245d05acb 100644 --- a/service/s3/snapshot/api_op_CreateBucketMetadataTableConfiguration.go.snap +++ b/service/s3/snapshot/api_op_CreateBucketMetadataTableConfiguration.go.snap @@ -24,7 +24,6 @@ CreateBucketMetadataTableConfiguration ClientRequestID ComputeContentLength AWSChecksum:RequestMetricsTracking - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_CreateMultipartUpload.go.snap b/service/s3/snapshot/api_op_CreateMultipartUpload.go.snap index 3f62b122d33..b670f90a37b 100644 --- a/service/s3/snapshot/api_op_CreateMultipartUpload.go.snap +++ b/service/s3/snapshot/api_op_CreateMultipartUpload.go.snap @@ -23,7 +23,6 @@ CreateMultipartUpload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_CreateSession.go.snap b/service/s3/snapshot/api_op_CreateSession.go.snap index 8af3b2318c1..94a18089b2d 100644 --- a/service/s3/snapshot/api_op_CreateSession.go.snap +++ b/service/s3/snapshot/api_op_CreateSession.go.snap @@ -22,7 +22,6 @@ CreateSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_DeleteBucket.go.snap b/service/s3/snapshot/api_op_DeleteBucket.go.snap index 163f8c89b1b..2421b302b69 100644 --- a/service/s3/snapshot/api_op_DeleteBucket.go.snap +++ b/service/s3/snapshot/api_op_DeleteBucket.go.snap @@ -22,7 +22,6 @@ DeleteBucket Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_DeleteBucketAnalyticsConfiguration.go.snap b/service/s3/snapshot/api_op_DeleteBucketAnalyticsConfiguration.go.snap index d725a37c7c9..0b571a8fa9c 100644 --- a/service/s3/snapshot/api_op_DeleteBucketAnalyticsConfiguration.go.snap +++ b/service/s3/snapshot/api_op_DeleteBucketAnalyticsConfiguration.go.snap @@ -22,7 +22,6 @@ DeleteBucketAnalyticsConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_DeleteBucketCors.go.snap b/service/s3/snapshot/api_op_DeleteBucketCors.go.snap index 6d6efff1793..9bf70bca2e7 100644 --- a/service/s3/snapshot/api_op_DeleteBucketCors.go.snap +++ b/service/s3/snapshot/api_op_DeleteBucketCors.go.snap @@ -22,7 +22,6 @@ DeleteBucketCors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_DeleteBucketEncryption.go.snap b/service/s3/snapshot/api_op_DeleteBucketEncryption.go.snap index 5f10a4d6619..59394e8c918 100644 --- a/service/s3/snapshot/api_op_DeleteBucketEncryption.go.snap +++ b/service/s3/snapshot/api_op_DeleteBucketEncryption.go.snap @@ -22,7 +22,6 @@ DeleteBucketEncryption Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_DeleteBucketIntelligentTieringConfiguration.go.snap b/service/s3/snapshot/api_op_DeleteBucketIntelligentTieringConfiguration.go.snap index ea2207ebd22..620e8706f07 100644 --- a/service/s3/snapshot/api_op_DeleteBucketIntelligentTieringConfiguration.go.snap +++ b/service/s3/snapshot/api_op_DeleteBucketIntelligentTieringConfiguration.go.snap @@ -22,7 +22,6 @@ DeleteBucketIntelligentTieringConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_DeleteBucketInventoryConfiguration.go.snap b/service/s3/snapshot/api_op_DeleteBucketInventoryConfiguration.go.snap index 74a00e89c37..e6783b58395 100644 --- a/service/s3/snapshot/api_op_DeleteBucketInventoryConfiguration.go.snap +++ b/service/s3/snapshot/api_op_DeleteBucketInventoryConfiguration.go.snap @@ -22,7 +22,6 @@ DeleteBucketInventoryConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_DeleteBucketLifecycle.go.snap b/service/s3/snapshot/api_op_DeleteBucketLifecycle.go.snap index 4fdf6d4aca5..0ded27b1966 100644 --- a/service/s3/snapshot/api_op_DeleteBucketLifecycle.go.snap +++ b/service/s3/snapshot/api_op_DeleteBucketLifecycle.go.snap @@ -22,7 +22,6 @@ DeleteBucketLifecycle Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_DeleteBucketMetadataTableConfiguration.go.snap b/service/s3/snapshot/api_op_DeleteBucketMetadataTableConfiguration.go.snap index 521927c00c8..dd490318948 100644 --- a/service/s3/snapshot/api_op_DeleteBucketMetadataTableConfiguration.go.snap +++ b/service/s3/snapshot/api_op_DeleteBucketMetadataTableConfiguration.go.snap @@ -22,7 +22,6 @@ DeleteBucketMetadataTableConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_DeleteBucketMetricsConfiguration.go.snap b/service/s3/snapshot/api_op_DeleteBucketMetricsConfiguration.go.snap index aca906718ad..179a7a8cd55 100644 --- a/service/s3/snapshot/api_op_DeleteBucketMetricsConfiguration.go.snap +++ b/service/s3/snapshot/api_op_DeleteBucketMetricsConfiguration.go.snap @@ -22,7 +22,6 @@ DeleteBucketMetricsConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_DeleteBucketOwnershipControls.go.snap b/service/s3/snapshot/api_op_DeleteBucketOwnershipControls.go.snap index bba2b5226c4..4068a7c9eb1 100644 --- a/service/s3/snapshot/api_op_DeleteBucketOwnershipControls.go.snap +++ b/service/s3/snapshot/api_op_DeleteBucketOwnershipControls.go.snap @@ -22,7 +22,6 @@ DeleteBucketOwnershipControls Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_DeleteBucketPolicy.go.snap b/service/s3/snapshot/api_op_DeleteBucketPolicy.go.snap index b4c09368147..e32d82aa896 100644 --- a/service/s3/snapshot/api_op_DeleteBucketPolicy.go.snap +++ b/service/s3/snapshot/api_op_DeleteBucketPolicy.go.snap @@ -22,7 +22,6 @@ DeleteBucketPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_DeleteBucketReplication.go.snap b/service/s3/snapshot/api_op_DeleteBucketReplication.go.snap index 618826e6d73..cedf7fc8a1a 100644 --- a/service/s3/snapshot/api_op_DeleteBucketReplication.go.snap +++ b/service/s3/snapshot/api_op_DeleteBucketReplication.go.snap @@ -22,7 +22,6 @@ DeleteBucketReplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_DeleteBucketTagging.go.snap b/service/s3/snapshot/api_op_DeleteBucketTagging.go.snap index c8c539ecf8e..28249be2063 100644 --- a/service/s3/snapshot/api_op_DeleteBucketTagging.go.snap +++ b/service/s3/snapshot/api_op_DeleteBucketTagging.go.snap @@ -22,7 +22,6 @@ DeleteBucketTagging Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_DeleteBucketWebsite.go.snap b/service/s3/snapshot/api_op_DeleteBucketWebsite.go.snap index 83ecbc56861..fad29536a48 100644 --- a/service/s3/snapshot/api_op_DeleteBucketWebsite.go.snap +++ b/service/s3/snapshot/api_op_DeleteBucketWebsite.go.snap @@ -22,7 +22,6 @@ DeleteBucketWebsite Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_DeleteObject.go.snap b/service/s3/snapshot/api_op_DeleteObject.go.snap index 95c43ffb512..183d3299e3e 100644 --- a/service/s3/snapshot/api_op_DeleteObject.go.snap +++ b/service/s3/snapshot/api_op_DeleteObject.go.snap @@ -22,7 +22,6 @@ DeleteObject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_DeleteObjectTagging.go.snap b/service/s3/snapshot/api_op_DeleteObjectTagging.go.snap index 54a776a9f41..2037b5a99b6 100644 --- a/service/s3/snapshot/api_op_DeleteObjectTagging.go.snap +++ b/service/s3/snapshot/api_op_DeleteObjectTagging.go.snap @@ -22,7 +22,6 @@ DeleteObjectTagging Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_DeleteObjects.go.snap b/service/s3/snapshot/api_op_DeleteObjects.go.snap index 558dbd16a54..602de62c002 100644 --- a/service/s3/snapshot/api_op_DeleteObjects.go.snap +++ b/service/s3/snapshot/api_op_DeleteObjects.go.snap @@ -24,7 +24,6 @@ DeleteObjects ClientRequestID ComputeContentLength AWSChecksum:RequestMetricsTracking - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_DeletePublicAccessBlock.go.snap b/service/s3/snapshot/api_op_DeletePublicAccessBlock.go.snap index 98642076f6a..6b454193388 100644 --- a/service/s3/snapshot/api_op_DeletePublicAccessBlock.go.snap +++ b/service/s3/snapshot/api_op_DeletePublicAccessBlock.go.snap @@ -22,7 +22,6 @@ DeletePublicAccessBlock Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_GetBucketAccelerateConfiguration.go.snap b/service/s3/snapshot/api_op_GetBucketAccelerateConfiguration.go.snap index 10a3992253b..5956389cd33 100644 --- a/service/s3/snapshot/api_op_GetBucketAccelerateConfiguration.go.snap +++ b/service/s3/snapshot/api_op_GetBucketAccelerateConfiguration.go.snap @@ -22,7 +22,6 @@ GetBucketAccelerateConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_GetBucketAcl.go.snap b/service/s3/snapshot/api_op_GetBucketAcl.go.snap index 1baa708903a..0860b010c9e 100644 --- a/service/s3/snapshot/api_op_GetBucketAcl.go.snap +++ b/service/s3/snapshot/api_op_GetBucketAcl.go.snap @@ -22,7 +22,6 @@ GetBucketAcl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_GetBucketAnalyticsConfiguration.go.snap b/service/s3/snapshot/api_op_GetBucketAnalyticsConfiguration.go.snap index de2230eed68..f7d17118c99 100644 --- a/service/s3/snapshot/api_op_GetBucketAnalyticsConfiguration.go.snap +++ b/service/s3/snapshot/api_op_GetBucketAnalyticsConfiguration.go.snap @@ -22,7 +22,6 @@ GetBucketAnalyticsConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_GetBucketCors.go.snap b/service/s3/snapshot/api_op_GetBucketCors.go.snap index ac882dca7e2..2b61dabf999 100644 --- a/service/s3/snapshot/api_op_GetBucketCors.go.snap +++ b/service/s3/snapshot/api_op_GetBucketCors.go.snap @@ -22,7 +22,6 @@ GetBucketCors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_GetBucketEncryption.go.snap b/service/s3/snapshot/api_op_GetBucketEncryption.go.snap index 6aaf90903f5..da0db813f5f 100644 --- a/service/s3/snapshot/api_op_GetBucketEncryption.go.snap +++ b/service/s3/snapshot/api_op_GetBucketEncryption.go.snap @@ -22,7 +22,6 @@ GetBucketEncryption Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_GetBucketIntelligentTieringConfiguration.go.snap b/service/s3/snapshot/api_op_GetBucketIntelligentTieringConfiguration.go.snap index 4dafc79b8ba..02ced6aace8 100644 --- a/service/s3/snapshot/api_op_GetBucketIntelligentTieringConfiguration.go.snap +++ b/service/s3/snapshot/api_op_GetBucketIntelligentTieringConfiguration.go.snap @@ -22,7 +22,6 @@ GetBucketIntelligentTieringConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_GetBucketInventoryConfiguration.go.snap b/service/s3/snapshot/api_op_GetBucketInventoryConfiguration.go.snap index 4b5abb6e903..a0e5924753e 100644 --- a/service/s3/snapshot/api_op_GetBucketInventoryConfiguration.go.snap +++ b/service/s3/snapshot/api_op_GetBucketInventoryConfiguration.go.snap @@ -22,7 +22,6 @@ GetBucketInventoryConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_GetBucketLifecycleConfiguration.go.snap b/service/s3/snapshot/api_op_GetBucketLifecycleConfiguration.go.snap index 6fe201eab6e..db3925cca9d 100644 --- a/service/s3/snapshot/api_op_GetBucketLifecycleConfiguration.go.snap +++ b/service/s3/snapshot/api_op_GetBucketLifecycleConfiguration.go.snap @@ -22,7 +22,6 @@ GetBucketLifecycleConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_GetBucketLocation.go.snap b/service/s3/snapshot/api_op_GetBucketLocation.go.snap index 9d4c65717e6..7bca8246e12 100644 --- a/service/s3/snapshot/api_op_GetBucketLocation.go.snap +++ b/service/s3/snapshot/api_op_GetBucketLocation.go.snap @@ -22,7 +22,6 @@ GetBucketLocation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_GetBucketLogging.go.snap b/service/s3/snapshot/api_op_GetBucketLogging.go.snap index 9865c18128a..e92e4845edf 100644 --- a/service/s3/snapshot/api_op_GetBucketLogging.go.snap +++ b/service/s3/snapshot/api_op_GetBucketLogging.go.snap @@ -22,7 +22,6 @@ GetBucketLogging Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_GetBucketMetadataTableConfiguration.go.snap b/service/s3/snapshot/api_op_GetBucketMetadataTableConfiguration.go.snap index c568ed61a09..6ea0c6c4840 100644 --- a/service/s3/snapshot/api_op_GetBucketMetadataTableConfiguration.go.snap +++ b/service/s3/snapshot/api_op_GetBucketMetadataTableConfiguration.go.snap @@ -22,7 +22,6 @@ GetBucketMetadataTableConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_GetBucketMetricsConfiguration.go.snap b/service/s3/snapshot/api_op_GetBucketMetricsConfiguration.go.snap index 8faddb78ef7..07797ce8829 100644 --- a/service/s3/snapshot/api_op_GetBucketMetricsConfiguration.go.snap +++ b/service/s3/snapshot/api_op_GetBucketMetricsConfiguration.go.snap @@ -22,7 +22,6 @@ GetBucketMetricsConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_GetBucketNotificationConfiguration.go.snap b/service/s3/snapshot/api_op_GetBucketNotificationConfiguration.go.snap index 5dc21ae9045..87e18a747f7 100644 --- a/service/s3/snapshot/api_op_GetBucketNotificationConfiguration.go.snap +++ b/service/s3/snapshot/api_op_GetBucketNotificationConfiguration.go.snap @@ -22,7 +22,6 @@ GetBucketNotificationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_GetBucketOwnershipControls.go.snap b/service/s3/snapshot/api_op_GetBucketOwnershipControls.go.snap index b124ebd42f9..cec8cde25f6 100644 --- a/service/s3/snapshot/api_op_GetBucketOwnershipControls.go.snap +++ b/service/s3/snapshot/api_op_GetBucketOwnershipControls.go.snap @@ -22,7 +22,6 @@ GetBucketOwnershipControls Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_GetBucketPolicy.go.snap b/service/s3/snapshot/api_op_GetBucketPolicy.go.snap index a0185d0dc3f..75b1c335225 100644 --- a/service/s3/snapshot/api_op_GetBucketPolicy.go.snap +++ b/service/s3/snapshot/api_op_GetBucketPolicy.go.snap @@ -22,7 +22,6 @@ GetBucketPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_GetBucketPolicyStatus.go.snap b/service/s3/snapshot/api_op_GetBucketPolicyStatus.go.snap index 9fceedfc3c0..7dd9a0519f9 100644 --- a/service/s3/snapshot/api_op_GetBucketPolicyStatus.go.snap +++ b/service/s3/snapshot/api_op_GetBucketPolicyStatus.go.snap @@ -22,7 +22,6 @@ GetBucketPolicyStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_GetBucketReplication.go.snap b/service/s3/snapshot/api_op_GetBucketReplication.go.snap index 4874cf69b78..5764df9845c 100644 --- a/service/s3/snapshot/api_op_GetBucketReplication.go.snap +++ b/service/s3/snapshot/api_op_GetBucketReplication.go.snap @@ -22,7 +22,6 @@ GetBucketReplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_GetBucketRequestPayment.go.snap b/service/s3/snapshot/api_op_GetBucketRequestPayment.go.snap index 6186430afac..4cdfc0b9b91 100644 --- a/service/s3/snapshot/api_op_GetBucketRequestPayment.go.snap +++ b/service/s3/snapshot/api_op_GetBucketRequestPayment.go.snap @@ -22,7 +22,6 @@ GetBucketRequestPayment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_GetBucketTagging.go.snap b/service/s3/snapshot/api_op_GetBucketTagging.go.snap index dbb14f2ad1c..86f8c180fc9 100644 --- a/service/s3/snapshot/api_op_GetBucketTagging.go.snap +++ b/service/s3/snapshot/api_op_GetBucketTagging.go.snap @@ -22,7 +22,6 @@ GetBucketTagging Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_GetBucketVersioning.go.snap b/service/s3/snapshot/api_op_GetBucketVersioning.go.snap index 3730216e3a5..54d21349d18 100644 --- a/service/s3/snapshot/api_op_GetBucketVersioning.go.snap +++ b/service/s3/snapshot/api_op_GetBucketVersioning.go.snap @@ -22,7 +22,6 @@ GetBucketVersioning Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_GetBucketWebsite.go.snap b/service/s3/snapshot/api_op_GetBucketWebsite.go.snap index 0a15a201f5f..8467b1d13ff 100644 --- a/service/s3/snapshot/api_op_GetBucketWebsite.go.snap +++ b/service/s3/snapshot/api_op_GetBucketWebsite.go.snap @@ -22,7 +22,6 @@ GetBucketWebsite Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_GetObject.go.snap b/service/s3/snapshot/api_op_GetObject.go.snap index 2dfcf949d1d..987232be492 100644 --- a/service/s3/snapshot/api_op_GetObject.go.snap +++ b/service/s3/snapshot/api_op_GetObject.go.snap @@ -24,7 +24,6 @@ GetObject ClientRequestID ComputeContentLength AWSChecksum:ResponseMetricsTracking - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_GetObjectAcl.go.snap b/service/s3/snapshot/api_op_GetObjectAcl.go.snap index f5c722987bb..f773f4d98ff 100644 --- a/service/s3/snapshot/api_op_GetObjectAcl.go.snap +++ b/service/s3/snapshot/api_op_GetObjectAcl.go.snap @@ -22,7 +22,6 @@ GetObjectAcl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_GetObjectAttributes.go.snap b/service/s3/snapshot/api_op_GetObjectAttributes.go.snap index 4d86d9fffe2..fd11f87c44d 100644 --- a/service/s3/snapshot/api_op_GetObjectAttributes.go.snap +++ b/service/s3/snapshot/api_op_GetObjectAttributes.go.snap @@ -22,7 +22,6 @@ GetObjectAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_GetObjectLegalHold.go.snap b/service/s3/snapshot/api_op_GetObjectLegalHold.go.snap index bd50054eb1a..75a6a0b1004 100644 --- a/service/s3/snapshot/api_op_GetObjectLegalHold.go.snap +++ b/service/s3/snapshot/api_op_GetObjectLegalHold.go.snap @@ -22,7 +22,6 @@ GetObjectLegalHold Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_GetObjectLockConfiguration.go.snap b/service/s3/snapshot/api_op_GetObjectLockConfiguration.go.snap index a9f32895c19..6670b2fe972 100644 --- a/service/s3/snapshot/api_op_GetObjectLockConfiguration.go.snap +++ b/service/s3/snapshot/api_op_GetObjectLockConfiguration.go.snap @@ -22,7 +22,6 @@ GetObjectLockConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_GetObjectRetention.go.snap b/service/s3/snapshot/api_op_GetObjectRetention.go.snap index 8a7a2fa57c7..be7de36609b 100644 --- a/service/s3/snapshot/api_op_GetObjectRetention.go.snap +++ b/service/s3/snapshot/api_op_GetObjectRetention.go.snap @@ -22,7 +22,6 @@ GetObjectRetention Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_GetObjectTagging.go.snap b/service/s3/snapshot/api_op_GetObjectTagging.go.snap index 8cec4de959d..a6ec257fce1 100644 --- a/service/s3/snapshot/api_op_GetObjectTagging.go.snap +++ b/service/s3/snapshot/api_op_GetObjectTagging.go.snap @@ -22,7 +22,6 @@ GetObjectTagging Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_GetObjectTorrent.go.snap b/service/s3/snapshot/api_op_GetObjectTorrent.go.snap index 8999a825f1f..88993d4d6b7 100644 --- a/service/s3/snapshot/api_op_GetObjectTorrent.go.snap +++ b/service/s3/snapshot/api_op_GetObjectTorrent.go.snap @@ -22,7 +22,6 @@ GetObjectTorrent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_GetPublicAccessBlock.go.snap b/service/s3/snapshot/api_op_GetPublicAccessBlock.go.snap index da5a3b33c28..01ed58488b0 100644 --- a/service/s3/snapshot/api_op_GetPublicAccessBlock.go.snap +++ b/service/s3/snapshot/api_op_GetPublicAccessBlock.go.snap @@ -22,7 +22,6 @@ GetPublicAccessBlock Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_HeadBucket.go.snap b/service/s3/snapshot/api_op_HeadBucket.go.snap index 626980cee6a..ff4a8d4775e 100644 --- a/service/s3/snapshot/api_op_HeadBucket.go.snap +++ b/service/s3/snapshot/api_op_HeadBucket.go.snap @@ -22,7 +22,6 @@ HeadBucket Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_HeadObject.go.snap b/service/s3/snapshot/api_op_HeadObject.go.snap index 72712cb2bde..da9f7493b8f 100644 --- a/service/s3/snapshot/api_op_HeadObject.go.snap +++ b/service/s3/snapshot/api_op_HeadObject.go.snap @@ -22,7 +22,6 @@ HeadObject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_ListBucketAnalyticsConfigurations.go.snap b/service/s3/snapshot/api_op_ListBucketAnalyticsConfigurations.go.snap index 9098874e9ae..4facfe260aa 100644 --- a/service/s3/snapshot/api_op_ListBucketAnalyticsConfigurations.go.snap +++ b/service/s3/snapshot/api_op_ListBucketAnalyticsConfigurations.go.snap @@ -22,7 +22,6 @@ ListBucketAnalyticsConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_ListBucketIntelligentTieringConfigurations.go.snap b/service/s3/snapshot/api_op_ListBucketIntelligentTieringConfigurations.go.snap index d6ec33dc2e4..eb688bf771f 100644 --- a/service/s3/snapshot/api_op_ListBucketIntelligentTieringConfigurations.go.snap +++ b/service/s3/snapshot/api_op_ListBucketIntelligentTieringConfigurations.go.snap @@ -22,7 +22,6 @@ ListBucketIntelligentTieringConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_ListBucketInventoryConfigurations.go.snap b/service/s3/snapshot/api_op_ListBucketInventoryConfigurations.go.snap index 34771dc17ca..8ef1bcf00a4 100644 --- a/service/s3/snapshot/api_op_ListBucketInventoryConfigurations.go.snap +++ b/service/s3/snapshot/api_op_ListBucketInventoryConfigurations.go.snap @@ -22,7 +22,6 @@ ListBucketInventoryConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_ListBucketMetricsConfigurations.go.snap b/service/s3/snapshot/api_op_ListBucketMetricsConfigurations.go.snap index 54e1941395a..7e0d2f49eab 100644 --- a/service/s3/snapshot/api_op_ListBucketMetricsConfigurations.go.snap +++ b/service/s3/snapshot/api_op_ListBucketMetricsConfigurations.go.snap @@ -22,7 +22,6 @@ ListBucketMetricsConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_ListBuckets.go.snap b/service/s3/snapshot/api_op_ListBuckets.go.snap index f2884ee43d1..d04baf1b0bc 100644 --- a/service/s3/snapshot/api_op_ListBuckets.go.snap +++ b/service/s3/snapshot/api_op_ListBuckets.go.snap @@ -21,7 +21,6 @@ ListBuckets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_ListDirectoryBuckets.go.snap b/service/s3/snapshot/api_op_ListDirectoryBuckets.go.snap index 34f717661f4..6b4a95056f2 100644 --- a/service/s3/snapshot/api_op_ListDirectoryBuckets.go.snap +++ b/service/s3/snapshot/api_op_ListDirectoryBuckets.go.snap @@ -21,7 +21,6 @@ ListDirectoryBuckets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_ListMultipartUploads.go.snap b/service/s3/snapshot/api_op_ListMultipartUploads.go.snap index 8308271df2c..62ab28e294a 100644 --- a/service/s3/snapshot/api_op_ListMultipartUploads.go.snap +++ b/service/s3/snapshot/api_op_ListMultipartUploads.go.snap @@ -22,7 +22,6 @@ ListMultipartUploads Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_ListObjectVersions.go.snap b/service/s3/snapshot/api_op_ListObjectVersions.go.snap index e6146deb899..361b9d2e47d 100644 --- a/service/s3/snapshot/api_op_ListObjectVersions.go.snap +++ b/service/s3/snapshot/api_op_ListObjectVersions.go.snap @@ -22,7 +22,6 @@ ListObjectVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_ListObjects.go.snap b/service/s3/snapshot/api_op_ListObjects.go.snap index 2bd81248904..5b59ef7c2e4 100644 --- a/service/s3/snapshot/api_op_ListObjects.go.snap +++ b/service/s3/snapshot/api_op_ListObjects.go.snap @@ -22,7 +22,6 @@ ListObjects Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_ListObjectsV2.go.snap b/service/s3/snapshot/api_op_ListObjectsV2.go.snap index e8a8c00cd36..25ae60be308 100644 --- a/service/s3/snapshot/api_op_ListObjectsV2.go.snap +++ b/service/s3/snapshot/api_op_ListObjectsV2.go.snap @@ -22,7 +22,6 @@ ListObjectsV2 Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_ListParts.go.snap b/service/s3/snapshot/api_op_ListParts.go.snap index 896dfa59365..37a660758a8 100644 --- a/service/s3/snapshot/api_op_ListParts.go.snap +++ b/service/s3/snapshot/api_op_ListParts.go.snap @@ -22,7 +22,6 @@ ListParts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_PutBucketAccelerateConfiguration.go.snap b/service/s3/snapshot/api_op_PutBucketAccelerateConfiguration.go.snap index 0c348743e81..743b185fb89 100644 --- a/service/s3/snapshot/api_op_PutBucketAccelerateConfiguration.go.snap +++ b/service/s3/snapshot/api_op_PutBucketAccelerateConfiguration.go.snap @@ -24,7 +24,6 @@ PutBucketAccelerateConfiguration ClientRequestID ComputeContentLength AWSChecksum:RequestMetricsTracking - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_PutBucketAcl.go.snap b/service/s3/snapshot/api_op_PutBucketAcl.go.snap index 1c8b052ad48..28df96dfc4c 100644 --- a/service/s3/snapshot/api_op_PutBucketAcl.go.snap +++ b/service/s3/snapshot/api_op_PutBucketAcl.go.snap @@ -24,7 +24,6 @@ PutBucketAcl ClientRequestID ComputeContentLength AWSChecksum:RequestMetricsTracking - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_PutBucketAnalyticsConfiguration.go.snap b/service/s3/snapshot/api_op_PutBucketAnalyticsConfiguration.go.snap index e970eebf5f0..81b611edd23 100644 --- a/service/s3/snapshot/api_op_PutBucketAnalyticsConfiguration.go.snap +++ b/service/s3/snapshot/api_op_PutBucketAnalyticsConfiguration.go.snap @@ -22,7 +22,6 @@ PutBucketAnalyticsConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_PutBucketCors.go.snap b/service/s3/snapshot/api_op_PutBucketCors.go.snap index 74d95c8e243..2b8a82d2944 100644 --- a/service/s3/snapshot/api_op_PutBucketCors.go.snap +++ b/service/s3/snapshot/api_op_PutBucketCors.go.snap @@ -24,7 +24,6 @@ PutBucketCors ClientRequestID ComputeContentLength AWSChecksum:RequestMetricsTracking - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_PutBucketEncryption.go.snap b/service/s3/snapshot/api_op_PutBucketEncryption.go.snap index e4f567c8681..a2458655db4 100644 --- a/service/s3/snapshot/api_op_PutBucketEncryption.go.snap +++ b/service/s3/snapshot/api_op_PutBucketEncryption.go.snap @@ -24,7 +24,6 @@ PutBucketEncryption ClientRequestID ComputeContentLength AWSChecksum:RequestMetricsTracking - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_PutBucketIntelligentTieringConfiguration.go.snap b/service/s3/snapshot/api_op_PutBucketIntelligentTieringConfiguration.go.snap index 765fdec55a3..962090bbf4e 100644 --- a/service/s3/snapshot/api_op_PutBucketIntelligentTieringConfiguration.go.snap +++ b/service/s3/snapshot/api_op_PutBucketIntelligentTieringConfiguration.go.snap @@ -22,7 +22,6 @@ PutBucketIntelligentTieringConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_PutBucketInventoryConfiguration.go.snap b/service/s3/snapshot/api_op_PutBucketInventoryConfiguration.go.snap index 51d4b330193..4b972f2b6fb 100644 --- a/service/s3/snapshot/api_op_PutBucketInventoryConfiguration.go.snap +++ b/service/s3/snapshot/api_op_PutBucketInventoryConfiguration.go.snap @@ -22,7 +22,6 @@ PutBucketInventoryConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_PutBucketLifecycleConfiguration.go.snap b/service/s3/snapshot/api_op_PutBucketLifecycleConfiguration.go.snap index c1f9e945223..b9a09c95c57 100644 --- a/service/s3/snapshot/api_op_PutBucketLifecycleConfiguration.go.snap +++ b/service/s3/snapshot/api_op_PutBucketLifecycleConfiguration.go.snap @@ -24,7 +24,6 @@ PutBucketLifecycleConfiguration ClientRequestID ComputeContentLength AWSChecksum:RequestMetricsTracking - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_PutBucketLogging.go.snap b/service/s3/snapshot/api_op_PutBucketLogging.go.snap index f593eeefb44..59dfb9c5bdf 100644 --- a/service/s3/snapshot/api_op_PutBucketLogging.go.snap +++ b/service/s3/snapshot/api_op_PutBucketLogging.go.snap @@ -24,7 +24,6 @@ PutBucketLogging ClientRequestID ComputeContentLength AWSChecksum:RequestMetricsTracking - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_PutBucketMetricsConfiguration.go.snap b/service/s3/snapshot/api_op_PutBucketMetricsConfiguration.go.snap index 9a7655aa321..05bc885b8a9 100644 --- a/service/s3/snapshot/api_op_PutBucketMetricsConfiguration.go.snap +++ b/service/s3/snapshot/api_op_PutBucketMetricsConfiguration.go.snap @@ -22,7 +22,6 @@ PutBucketMetricsConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_PutBucketNotificationConfiguration.go.snap b/service/s3/snapshot/api_op_PutBucketNotificationConfiguration.go.snap index 72d6fb66f19..66b0d3b1eb0 100644 --- a/service/s3/snapshot/api_op_PutBucketNotificationConfiguration.go.snap +++ b/service/s3/snapshot/api_op_PutBucketNotificationConfiguration.go.snap @@ -22,7 +22,6 @@ PutBucketNotificationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_PutBucketOwnershipControls.go.snap b/service/s3/snapshot/api_op_PutBucketOwnershipControls.go.snap index c9c6dd5ebb4..868cd6930e4 100644 --- a/service/s3/snapshot/api_op_PutBucketOwnershipControls.go.snap +++ b/service/s3/snapshot/api_op_PutBucketOwnershipControls.go.snap @@ -24,7 +24,6 @@ PutBucketOwnershipControls ClientRequestID ComputeContentLength AWSChecksum:RequestMetricsTracking - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_PutBucketPolicy.go.snap b/service/s3/snapshot/api_op_PutBucketPolicy.go.snap index cbb36378328..379dc75a29a 100644 --- a/service/s3/snapshot/api_op_PutBucketPolicy.go.snap +++ b/service/s3/snapshot/api_op_PutBucketPolicy.go.snap @@ -24,7 +24,6 @@ PutBucketPolicy ClientRequestID ComputeContentLength AWSChecksum:RequestMetricsTracking - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_PutBucketReplication.go.snap b/service/s3/snapshot/api_op_PutBucketReplication.go.snap index 45917a45b9b..d771f013b3d 100644 --- a/service/s3/snapshot/api_op_PutBucketReplication.go.snap +++ b/service/s3/snapshot/api_op_PutBucketReplication.go.snap @@ -24,7 +24,6 @@ PutBucketReplication ClientRequestID ComputeContentLength AWSChecksum:RequestMetricsTracking - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_PutBucketRequestPayment.go.snap b/service/s3/snapshot/api_op_PutBucketRequestPayment.go.snap index 12557785dc3..4a8b1b28fdd 100644 --- a/service/s3/snapshot/api_op_PutBucketRequestPayment.go.snap +++ b/service/s3/snapshot/api_op_PutBucketRequestPayment.go.snap @@ -24,7 +24,6 @@ PutBucketRequestPayment ClientRequestID ComputeContentLength AWSChecksum:RequestMetricsTracking - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_PutBucketTagging.go.snap b/service/s3/snapshot/api_op_PutBucketTagging.go.snap index b7d514016a8..b42ebd0442c 100644 --- a/service/s3/snapshot/api_op_PutBucketTagging.go.snap +++ b/service/s3/snapshot/api_op_PutBucketTagging.go.snap @@ -24,7 +24,6 @@ PutBucketTagging ClientRequestID ComputeContentLength AWSChecksum:RequestMetricsTracking - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_PutBucketVersioning.go.snap b/service/s3/snapshot/api_op_PutBucketVersioning.go.snap index 1ccf7006557..15c6a064e2c 100644 --- a/service/s3/snapshot/api_op_PutBucketVersioning.go.snap +++ b/service/s3/snapshot/api_op_PutBucketVersioning.go.snap @@ -24,7 +24,6 @@ PutBucketVersioning ClientRequestID ComputeContentLength AWSChecksum:RequestMetricsTracking - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_PutBucketWebsite.go.snap b/service/s3/snapshot/api_op_PutBucketWebsite.go.snap index 7d3cd1d41ef..78d4d67a3ef 100644 --- a/service/s3/snapshot/api_op_PutBucketWebsite.go.snap +++ b/service/s3/snapshot/api_op_PutBucketWebsite.go.snap @@ -24,7 +24,6 @@ PutBucketWebsite ClientRequestID ComputeContentLength AWSChecksum:RequestMetricsTracking - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_PutObject.go.snap b/service/s3/snapshot/api_op_PutObject.go.snap index fa68d24ecf5..6d191294079 100644 --- a/service/s3/snapshot/api_op_PutObject.go.snap +++ b/service/s3/snapshot/api_op_PutObject.go.snap @@ -24,7 +24,6 @@ PutObject ClientRequestID ComputeContentLength AWSChecksum:RequestMetricsTracking - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware S3100Continue diff --git a/service/s3/snapshot/api_op_PutObjectAcl.go.snap b/service/s3/snapshot/api_op_PutObjectAcl.go.snap index 5e6d393cf06..0e4236f13de 100644 --- a/service/s3/snapshot/api_op_PutObjectAcl.go.snap +++ b/service/s3/snapshot/api_op_PutObjectAcl.go.snap @@ -24,7 +24,6 @@ PutObjectAcl ClientRequestID ComputeContentLength AWSChecksum:RequestMetricsTracking - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_PutObjectLegalHold.go.snap b/service/s3/snapshot/api_op_PutObjectLegalHold.go.snap index 5b265def3be..f9f94a5129c 100644 --- a/service/s3/snapshot/api_op_PutObjectLegalHold.go.snap +++ b/service/s3/snapshot/api_op_PutObjectLegalHold.go.snap @@ -24,7 +24,6 @@ PutObjectLegalHold ClientRequestID ComputeContentLength AWSChecksum:RequestMetricsTracking - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_PutObjectLockConfiguration.go.snap b/service/s3/snapshot/api_op_PutObjectLockConfiguration.go.snap index 4d458bf4913..231915ce73f 100644 --- a/service/s3/snapshot/api_op_PutObjectLockConfiguration.go.snap +++ b/service/s3/snapshot/api_op_PutObjectLockConfiguration.go.snap @@ -24,7 +24,6 @@ PutObjectLockConfiguration ClientRequestID ComputeContentLength AWSChecksum:RequestMetricsTracking - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_PutObjectRetention.go.snap b/service/s3/snapshot/api_op_PutObjectRetention.go.snap index a13187c2ef3..c7a446c9365 100644 --- a/service/s3/snapshot/api_op_PutObjectRetention.go.snap +++ b/service/s3/snapshot/api_op_PutObjectRetention.go.snap @@ -24,7 +24,6 @@ PutObjectRetention ClientRequestID ComputeContentLength AWSChecksum:RequestMetricsTracking - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_PutObjectTagging.go.snap b/service/s3/snapshot/api_op_PutObjectTagging.go.snap index bedff0f5792..05a2edaba26 100644 --- a/service/s3/snapshot/api_op_PutObjectTagging.go.snap +++ b/service/s3/snapshot/api_op_PutObjectTagging.go.snap @@ -24,7 +24,6 @@ PutObjectTagging ClientRequestID ComputeContentLength AWSChecksum:RequestMetricsTracking - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_PutPublicAccessBlock.go.snap b/service/s3/snapshot/api_op_PutPublicAccessBlock.go.snap index 44ddc47ba57..63ba4a4e047 100644 --- a/service/s3/snapshot/api_op_PutPublicAccessBlock.go.snap +++ b/service/s3/snapshot/api_op_PutPublicAccessBlock.go.snap @@ -24,7 +24,6 @@ PutPublicAccessBlock ClientRequestID ComputeContentLength AWSChecksum:RequestMetricsTracking - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_RestoreObject.go.snap b/service/s3/snapshot/api_op_RestoreObject.go.snap index 5a07cf0fc47..85e441a5ac3 100644 --- a/service/s3/snapshot/api_op_RestoreObject.go.snap +++ b/service/s3/snapshot/api_op_RestoreObject.go.snap @@ -24,7 +24,6 @@ RestoreObject ClientRequestID ComputeContentLength AWSChecksum:RequestMetricsTracking - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_SelectObjectContent.go.snap b/service/s3/snapshot/api_op_SelectObjectContent.go.snap index 22b508c0450..81648576236 100644 --- a/service/s3/snapshot/api_op_SelectObjectContent.go.snap +++ b/service/s3/snapshot/api_op_SelectObjectContent.go.snap @@ -22,7 +22,6 @@ SelectObjectContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_UploadPart.go.snap b/service/s3/snapshot/api_op_UploadPart.go.snap index b920a747d91..1618ddec0e9 100644 --- a/service/s3/snapshot/api_op_UploadPart.go.snap +++ b/service/s3/snapshot/api_op_UploadPart.go.snap @@ -24,7 +24,6 @@ UploadPart ClientRequestID ComputeContentLength AWSChecksum:RequestMetricsTracking - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware S3100Continue diff --git a/service/s3/snapshot/api_op_UploadPartCopy.go.snap b/service/s3/snapshot/api_op_UploadPartCopy.go.snap index d203f716c26..78fabe1a05c 100644 --- a/service/s3/snapshot/api_op_UploadPartCopy.go.snap +++ b/service/s3/snapshot/api_op_UploadPartCopy.go.snap @@ -22,7 +22,6 @@ UploadPartCopy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3/snapshot/api_op_WriteGetObjectResponse.go.snap b/service/s3/snapshot/api_op_WriteGetObjectResponse.go.snap index 4f4e47c97c8..75011c4d6fa 100644 --- a/service/s3/snapshot/api_op_WriteGetObjectResponse.go.snap +++ b/service/s3/snapshot/api_op_WriteGetObjectResponse.go.snap @@ -22,7 +22,6 @@ WriteGetObjectResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/api_client.go b/service/s3control/api_client.go index c00d1b161ba..7e5b4a81a40 100644 --- a/service/s3control/api_client.go +++ b/service/s3control/api_client.go @@ -790,37 +790,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/s3control/api_op_AssociateAccessGrantsIdentityCenter.go b/service/s3control/api_op_AssociateAccessGrantsIdentityCenter.go index 0c5b9e082f9..1ec44d4a684 100644 --- a/service/s3control/api_op_AssociateAccessGrantsIdentityCenter.go +++ b/service/s3control/api_op_AssociateAccessGrantsIdentityCenter.go @@ -144,9 +144,6 @@ func (c *Client) addOperationAssociateAccessGrantsIdentityCenterMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_CreateAccessGrant.go b/service/s3control/api_op_CreateAccessGrant.go index d14ad529f47..bf4cba69f46 100644 --- a/service/s3control/api_op_CreateAccessGrant.go +++ b/service/s3control/api_op_CreateAccessGrant.go @@ -244,9 +244,6 @@ func (c *Client) addOperationCreateAccessGrantMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_CreateAccessGrantsInstance.go b/service/s3control/api_op_CreateAccessGrantsInstance.go index d2f62ea1e10..67d947afb68 100644 --- a/service/s3control/api_op_CreateAccessGrantsInstance.go +++ b/service/s3control/api_op_CreateAccessGrantsInstance.go @@ -192,9 +192,6 @@ func (c *Client) addOperationCreateAccessGrantsInstanceMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_CreateAccessGrantsLocation.go b/service/s3control/api_op_CreateAccessGrantsLocation.go index e2de595ada9..2c5e090c7d3 100644 --- a/service/s3control/api_op_CreateAccessGrantsLocation.go +++ b/service/s3control/api_op_CreateAccessGrantsLocation.go @@ -191,9 +191,6 @@ func (c *Client) addOperationCreateAccessGrantsLocationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_CreateAccessPoint.go b/service/s3control/api_op_CreateAccessPoint.go index 61ecec492a3..740641793e4 100644 --- a/service/s3control/api_op_CreateAccessPoint.go +++ b/service/s3control/api_op_CreateAccessPoint.go @@ -202,9 +202,6 @@ func (c *Client) addOperationCreateAccessPointMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateAccessPointMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_CreateAccessPointForObjectLambda.go b/service/s3control/api_op_CreateAccessPointForObjectLambda.go index bec98282d37..02ede80e10f 100644 --- a/service/s3control/api_op_CreateAccessPointForObjectLambda.go +++ b/service/s3control/api_op_CreateAccessPointForObjectLambda.go @@ -156,9 +156,6 @@ func (c *Client) addOperationCreateAccessPointForObjectLambdaMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateAccessPointForObjectLambdaMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_CreateBucket.go b/service/s3control/api_op_CreateBucket.go index 15c948f9501..e87eee33ffb 100644 --- a/service/s3control/api_op_CreateBucket.go +++ b/service/s3control/api_op_CreateBucket.go @@ -228,9 +228,6 @@ func (c *Client) addOperationCreateBucketMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_CreateJob.go b/service/s3control/api_op_CreateJob.go index 492acde3435..b3c48a7a5ec 100644 --- a/service/s3control/api_op_CreateJob.go +++ b/service/s3control/api_op_CreateJob.go @@ -205,9 +205,6 @@ func (c *Client) addOperationCreateJobMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateJobMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_CreateMultiRegionAccessPoint.go b/service/s3control/api_op_CreateMultiRegionAccessPoint.go index 62b98f1c498..6d46849b8dd 100644 --- a/service/s3control/api_op_CreateMultiRegionAccessPoint.go +++ b/service/s3control/api_op_CreateMultiRegionAccessPoint.go @@ -172,9 +172,6 @@ func (c *Client) addOperationCreateMultiRegionAccessPointMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_CreateStorageLensGroup.go b/service/s3control/api_op_CreateStorageLensGroup.go index 58e68b895e6..5ab25d72fbf 100644 --- a/service/s3control/api_op_CreateStorageLensGroup.go +++ b/service/s3control/api_op_CreateStorageLensGroup.go @@ -150,9 +150,6 @@ func (c *Client) addOperationCreateStorageLensGroupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateStorageLensGroupMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_DeleteAccessGrant.go b/service/s3control/api_op_DeleteAccessGrant.go index db01e42d502..f0f27fe9151 100644 --- a/service/s3control/api_op_DeleteAccessGrant.go +++ b/service/s3control/api_op_DeleteAccessGrant.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDeleteAccessGrantMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_DeleteAccessGrantsInstance.go b/service/s3control/api_op_DeleteAccessGrantsInstance.go index c0be9315a08..bfc861e7953 100644 --- a/service/s3control/api_op_DeleteAccessGrantsInstance.go +++ b/service/s3control/api_op_DeleteAccessGrantsInstance.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDeleteAccessGrantsInstanceMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_DeleteAccessGrantsInstanceResourcePolicy.go b/service/s3control/api_op_DeleteAccessGrantsInstanceResourcePolicy.go index aacfb04ee08..5a80d922f53 100644 --- a/service/s3control/api_op_DeleteAccessGrantsInstanceResourcePolicy.go +++ b/service/s3control/api_op_DeleteAccessGrantsInstanceResourcePolicy.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDeleteAccessGrantsInstanceResourcePolicyMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_DeleteAccessGrantsLocation.go b/service/s3control/api_op_DeleteAccessGrantsLocation.go index 3fb341dc20f..26778bfd94e 100644 --- a/service/s3control/api_op_DeleteAccessGrantsLocation.go +++ b/service/s3control/api_op_DeleteAccessGrantsLocation.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDeleteAccessGrantsLocationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_DeleteAccessPoint.go b/service/s3control/api_op_DeleteAccessPoint.go index 3a0767f703e..a6cf6ca52e9 100644 --- a/service/s3control/api_op_DeleteAccessPoint.go +++ b/service/s3control/api_op_DeleteAccessPoint.go @@ -161,9 +161,6 @@ func (c *Client) addOperationDeleteAccessPointMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteAccessPointMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_DeleteAccessPointForObjectLambda.go b/service/s3control/api_op_DeleteAccessPointForObjectLambda.go index d3cc5ea09c5..96f322422c7 100644 --- a/service/s3control/api_op_DeleteAccessPointForObjectLambda.go +++ b/service/s3control/api_op_DeleteAccessPointForObjectLambda.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDeleteAccessPointForObjectLambdaMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteAccessPointForObjectLambdaMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_DeleteAccessPointPolicy.go b/service/s3control/api_op_DeleteAccessPointPolicy.go index f75730ed1f3..2172cd2ab31 100644 --- a/service/s3control/api_op_DeleteAccessPointPolicy.go +++ b/service/s3control/api_op_DeleteAccessPointPolicy.go @@ -157,9 +157,6 @@ func (c *Client) addOperationDeleteAccessPointPolicyMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteAccessPointPolicyMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_DeleteAccessPointPolicyForObjectLambda.go b/service/s3control/api_op_DeleteAccessPointPolicyForObjectLambda.go index c12558decbd..10a46b5a244 100644 --- a/service/s3control/api_op_DeleteAccessPointPolicyForObjectLambda.go +++ b/service/s3control/api_op_DeleteAccessPointPolicyForObjectLambda.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDeleteAccessPointPolicyForObjectLambdaMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteAccessPointPolicyForObjectLambdaMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_DeleteBucket.go b/service/s3control/api_op_DeleteBucket.go index 2c2b0b2e8cd..cac126b2b58 100644 --- a/service/s3control/api_op_DeleteBucket.go +++ b/service/s3control/api_op_DeleteBucket.go @@ -165,9 +165,6 @@ func (c *Client) addOperationDeleteBucketMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteBucketMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_DeleteBucketLifecycleConfiguration.go b/service/s3control/api_op_DeleteBucketLifecycleConfiguration.go index fd34029c61b..ad58af886a2 100644 --- a/service/s3control/api_op_DeleteBucketLifecycleConfiguration.go +++ b/service/s3control/api_op_DeleteBucketLifecycleConfiguration.go @@ -174,9 +174,6 @@ func (c *Client) addOperationDeleteBucketLifecycleConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteBucketLifecycleConfigurationMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_DeleteBucketPolicy.go b/service/s3control/api_op_DeleteBucketPolicy.go index 1f48520448e..68ff8adba97 100644 --- a/service/s3control/api_op_DeleteBucketPolicy.go +++ b/service/s3control/api_op_DeleteBucketPolicy.go @@ -177,9 +177,6 @@ func (c *Client) addOperationDeleteBucketPolicyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteBucketPolicyMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_DeleteBucketReplication.go b/service/s3control/api_op_DeleteBucketReplication.go index 0cce7898d84..f021394215e 100644 --- a/service/s3control/api_op_DeleteBucketReplication.go +++ b/service/s3control/api_op_DeleteBucketReplication.go @@ -179,9 +179,6 @@ func (c *Client) addOperationDeleteBucketReplicationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteBucketReplicationMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_DeleteBucketTagging.go b/service/s3control/api_op_DeleteBucketTagging.go index 93227cee7de..2bcd35db19d 100644 --- a/service/s3control/api_op_DeleteBucketTagging.go +++ b/service/s3control/api_op_DeleteBucketTagging.go @@ -165,9 +165,6 @@ func (c *Client) addOperationDeleteBucketTaggingMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteBucketTaggingMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_DeleteJobTagging.go b/service/s3control/api_op_DeleteJobTagging.go index 03a3ae380b4..ce693597f9e 100644 --- a/service/s3control/api_op_DeleteJobTagging.go +++ b/service/s3control/api_op_DeleteJobTagging.go @@ -143,9 +143,6 @@ func (c *Client) addOperationDeleteJobTaggingMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteJobTaggingMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_DeleteMultiRegionAccessPoint.go b/service/s3control/api_op_DeleteMultiRegionAccessPoint.go index 8e7ad7fcbc9..f225c420cbf 100644 --- a/service/s3control/api_op_DeleteMultiRegionAccessPoint.go +++ b/service/s3control/api_op_DeleteMultiRegionAccessPoint.go @@ -170,9 +170,6 @@ func (c *Client) addOperationDeleteMultiRegionAccessPointMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_DeletePublicAccessBlock.go b/service/s3control/api_op_DeletePublicAccessBlock.go index 525a7be8367..2a157a96013 100644 --- a/service/s3control/api_op_DeletePublicAccessBlock.go +++ b/service/s3control/api_op_DeletePublicAccessBlock.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDeletePublicAccessBlockMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeletePublicAccessBlockMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_DeleteStorageLensConfiguration.go b/service/s3control/api_op_DeleteStorageLensConfiguration.go index d8fca49a443..57643f77362 100644 --- a/service/s3control/api_op_DeleteStorageLensConfiguration.go +++ b/service/s3control/api_op_DeleteStorageLensConfiguration.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDeleteStorageLensConfigurationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteStorageLensConfigurationMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_DeleteStorageLensConfigurationTagging.go b/service/s3control/api_op_DeleteStorageLensConfigurationTagging.go index b4d23a90950..59625f39d05 100644 --- a/service/s3control/api_op_DeleteStorageLensConfigurationTagging.go +++ b/service/s3control/api_op_DeleteStorageLensConfigurationTagging.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDeleteStorageLensConfigurationTaggingMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteStorageLensConfigurationTaggingMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_DeleteStorageLensGroup.go b/service/s3control/api_op_DeleteStorageLensGroup.go index 4a24b0716a4..24cbb118b89 100644 --- a/service/s3control/api_op_DeleteStorageLensGroup.go +++ b/service/s3control/api_op_DeleteStorageLensGroup.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDeleteStorageLensGroupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteStorageLensGroupMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_DescribeJob.go b/service/s3control/api_op_DescribeJob.go index 19cd8401042..9ce7fdc98c4 100644 --- a/service/s3control/api_op_DescribeJob.go +++ b/service/s3control/api_op_DescribeJob.go @@ -152,9 +152,6 @@ func (c *Client) addOperationDescribeJobMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDescribeJobMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_DescribeMultiRegionAccessPointOperation.go b/service/s3control/api_op_DescribeMultiRegionAccessPointOperation.go index 1bb076b7c2a..08dcac2cc1f 100644 --- a/service/s3control/api_op_DescribeMultiRegionAccessPointOperation.go +++ b/service/s3control/api_op_DescribeMultiRegionAccessPointOperation.go @@ -155,9 +155,6 @@ func (c *Client) addOperationDescribeMultiRegionAccessPointOperationMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_DissociateAccessGrantsIdentityCenter.go b/service/s3control/api_op_DissociateAccessGrantsIdentityCenter.go index 9a9dc27a648..084b8759969 100644 --- a/service/s3control/api_op_DissociateAccessGrantsIdentityCenter.go +++ b/service/s3control/api_op_DissociateAccessGrantsIdentityCenter.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDissociateAccessGrantsIdentityCenterMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_GetAccessGrant.go b/service/s3control/api_op_GetAccessGrant.go index 1fe8787f576..b047359fb99 100644 --- a/service/s3control/api_op_GetAccessGrant.go +++ b/service/s3control/api_op_GetAccessGrant.go @@ -180,9 +180,6 @@ func (c *Client) addOperationGetAccessGrantMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_GetAccessGrantsInstance.go b/service/s3control/api_op_GetAccessGrantsInstance.go index e132c5ed69b..0428594d947 100644 --- a/service/s3control/api_op_GetAccessGrantsInstance.go +++ b/service/s3control/api_op_GetAccessGrantsInstance.go @@ -165,9 +165,6 @@ func (c *Client) addOperationGetAccessGrantsInstanceMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_GetAccessGrantsInstanceForPrefix.go b/service/s3control/api_op_GetAccessGrantsInstanceForPrefix.go index 888b0e2fbca..c1e670c62e0 100644 --- a/service/s3control/api_op_GetAccessGrantsInstanceForPrefix.go +++ b/service/s3control/api_op_GetAccessGrantsInstanceForPrefix.go @@ -141,9 +141,6 @@ func (c *Client) addOperationGetAccessGrantsInstanceForPrefixMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_GetAccessGrantsInstanceResourcePolicy.go b/service/s3control/api_op_GetAccessGrantsInstanceResourcePolicy.go index 98f2e65caac..051085d041e 100644 --- a/service/s3control/api_op_GetAccessGrantsInstanceResourcePolicy.go +++ b/service/s3control/api_op_GetAccessGrantsInstanceResourcePolicy.go @@ -136,9 +136,6 @@ func (c *Client) addOperationGetAccessGrantsInstanceResourcePolicyMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_GetAccessGrantsLocation.go b/service/s3control/api_op_GetAccessGrantsLocation.go index 3dd284d7898..ba6da4a781c 100644 --- a/service/s3control/api_op_GetAccessGrantsLocation.go +++ b/service/s3control/api_op_GetAccessGrantsLocation.go @@ -159,9 +159,6 @@ func (c *Client) addOperationGetAccessGrantsLocationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_GetAccessPoint.go b/service/s3control/api_op_GetAccessPoint.go index bb6b234f0a7..e0e322a9d88 100644 --- a/service/s3control/api_op_GetAccessPoint.go +++ b/service/s3control/api_op_GetAccessPoint.go @@ -213,9 +213,6 @@ func (c *Client) addOperationGetAccessPointMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetAccessPointMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_GetAccessPointConfigurationForObjectLambda.go b/service/s3control/api_op_GetAccessPointConfigurationForObjectLambda.go index c6c3a8df289..54773f926df 100644 --- a/service/s3control/api_op_GetAccessPointConfigurationForObjectLambda.go +++ b/service/s3control/api_op_GetAccessPointConfigurationForObjectLambda.go @@ -141,9 +141,6 @@ func (c *Client) addOperationGetAccessPointConfigurationForObjectLambdaMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetAccessPointConfigurationForObjectLambdaMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_GetAccessPointForObjectLambda.go b/service/s3control/api_op_GetAccessPointForObjectLambda.go index bf405fe8b2d..09295a1402e 100644 --- a/service/s3control/api_op_GetAccessPointForObjectLambda.go +++ b/service/s3control/api_op_GetAccessPointForObjectLambda.go @@ -157,9 +157,6 @@ func (c *Client) addOperationGetAccessPointForObjectLambdaMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetAccessPointForObjectLambdaMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_GetAccessPointPolicy.go b/service/s3control/api_op_GetAccessPointPolicy.go index 5fbe7b28ad1..c45208f3be2 100644 --- a/service/s3control/api_op_GetAccessPointPolicy.go +++ b/service/s3control/api_op_GetAccessPointPolicy.go @@ -153,9 +153,6 @@ func (c *Client) addOperationGetAccessPointPolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetAccessPointPolicyMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_GetAccessPointPolicyForObjectLambda.go b/service/s3control/api_op_GetAccessPointPolicyForObjectLambda.go index dc047daf586..74851950da9 100644 --- a/service/s3control/api_op_GetAccessPointPolicyForObjectLambda.go +++ b/service/s3control/api_op_GetAccessPointPolicyForObjectLambda.go @@ -142,9 +142,6 @@ func (c *Client) addOperationGetAccessPointPolicyForObjectLambdaMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetAccessPointPolicyForObjectLambdaMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_GetAccessPointPolicyStatus.go b/service/s3control/api_op_GetAccessPointPolicyStatus.go index 9baa60a662f..b2197c3e6dd 100644 --- a/service/s3control/api_op_GetAccessPointPolicyStatus.go +++ b/service/s3control/api_op_GetAccessPointPolicyStatus.go @@ -138,9 +138,6 @@ func (c *Client) addOperationGetAccessPointPolicyStatusMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetAccessPointPolicyStatusMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_GetAccessPointPolicyStatusForObjectLambda.go b/service/s3control/api_op_GetAccessPointPolicyStatusForObjectLambda.go index 3179b6c15a2..bd0a357efe7 100644 --- a/service/s3control/api_op_GetAccessPointPolicyStatusForObjectLambda.go +++ b/service/s3control/api_op_GetAccessPointPolicyStatusForObjectLambda.go @@ -139,9 +139,6 @@ func (c *Client) addOperationGetAccessPointPolicyStatusForObjectLambdaMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetAccessPointPolicyStatusForObjectLambdaMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_GetBucket.go b/service/s3control/api_op_GetBucket.go index 7fa509047da..0a5c380b27f 100644 --- a/service/s3control/api_op_GetBucket.go +++ b/service/s3control/api_op_GetBucket.go @@ -182,9 +182,6 @@ func (c *Client) addOperationGetBucketMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetBucketMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_GetBucketLifecycleConfiguration.go b/service/s3control/api_op_GetBucketLifecycleConfiguration.go index 0b5946730f5..96813034dd1 100644 --- a/service/s3control/api_op_GetBucketLifecycleConfiguration.go +++ b/service/s3control/api_op_GetBucketLifecycleConfiguration.go @@ -185,9 +185,6 @@ func (c *Client) addOperationGetBucketLifecycleConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetBucketLifecycleConfigurationMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_GetBucketPolicy.go b/service/s3control/api_op_GetBucketPolicy.go index 7ff5398788b..d8724bcc1ba 100644 --- a/service/s3control/api_op_GetBucketPolicy.go +++ b/service/s3control/api_op_GetBucketPolicy.go @@ -186,9 +186,6 @@ func (c *Client) addOperationGetBucketPolicyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetBucketPolicyMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_GetBucketReplication.go b/service/s3control/api_op_GetBucketReplication.go index 04bd3a73a0f..7b9e637458b 100644 --- a/service/s3control/api_op_GetBucketReplication.go +++ b/service/s3control/api_op_GetBucketReplication.go @@ -194,9 +194,6 @@ func (c *Client) addOperationGetBucketReplicationMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetBucketReplicationMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_GetBucketTagging.go b/service/s3control/api_op_GetBucketTagging.go index da6e7ae9958..96328e301c6 100644 --- a/service/s3control/api_op_GetBucketTagging.go +++ b/service/s3control/api_op_GetBucketTagging.go @@ -178,9 +178,6 @@ func (c *Client) addOperationGetBucketTaggingMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetBucketTaggingMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_GetBucketVersioning.go b/service/s3control/api_op_GetBucketVersioning.go index 27bc07d8c1c..cc106517c13 100644 --- a/service/s3control/api_op_GetBucketVersioning.go +++ b/service/s3control/api_op_GetBucketVersioning.go @@ -172,9 +172,6 @@ func (c *Client) addOperationGetBucketVersioningMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetBucketVersioningMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_GetDataAccess.go b/service/s3control/api_op_GetDataAccess.go index ce9860f649e..d52dd5eb9d4 100644 --- a/service/s3control/api_op_GetDataAccess.go +++ b/service/s3control/api_op_GetDataAccess.go @@ -184,9 +184,6 @@ func (c *Client) addOperationGetDataAccessMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_GetJobTagging.go b/service/s3control/api_op_GetJobTagging.go index 2609bf64ed7..90b31d7b083 100644 --- a/service/s3control/api_op_GetJobTagging.go +++ b/service/s3control/api_op_GetJobTagging.go @@ -148,9 +148,6 @@ func (c *Client) addOperationGetJobTaggingMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetJobTaggingMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_GetMultiRegionAccessPoint.go b/service/s3control/api_op_GetMultiRegionAccessPoint.go index 08f42ec8aa6..e6b9a124d10 100644 --- a/service/s3control/api_op_GetMultiRegionAccessPoint.go +++ b/service/s3control/api_op_GetMultiRegionAccessPoint.go @@ -160,9 +160,6 @@ func (c *Client) addOperationGetMultiRegionAccessPointMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_GetMultiRegionAccessPointPolicy.go b/service/s3control/api_op_GetMultiRegionAccessPointPolicy.go index f9cd0738124..33efe9983f0 100644 --- a/service/s3control/api_op_GetMultiRegionAccessPointPolicy.go +++ b/service/s3control/api_op_GetMultiRegionAccessPointPolicy.go @@ -153,9 +153,6 @@ func (c *Client) addOperationGetMultiRegionAccessPointPolicyMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_GetMultiRegionAccessPointPolicyStatus.go b/service/s3control/api_op_GetMultiRegionAccessPointPolicyStatus.go index 90943a52ffe..f333f79a4a1 100644 --- a/service/s3control/api_op_GetMultiRegionAccessPointPolicyStatus.go +++ b/service/s3control/api_op_GetMultiRegionAccessPointPolicyStatus.go @@ -158,9 +158,6 @@ func (c *Client) addOperationGetMultiRegionAccessPointPolicyStatusMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_GetMultiRegionAccessPointRoutes.go b/service/s3control/api_op_GetMultiRegionAccessPointRoutes.go index 10f06907389..9f55fe5f518 100644 --- a/service/s3control/api_op_GetMultiRegionAccessPointRoutes.go +++ b/service/s3control/api_op_GetMultiRegionAccessPointRoutes.go @@ -153,9 +153,6 @@ func (c *Client) addOperationGetMultiRegionAccessPointRoutesMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_GetPublicAccessBlock.go b/service/s3control/api_op_GetPublicAccessBlock.go index 4007d1a8b4c..262dc5a51c9 100644 --- a/service/s3control/api_op_GetPublicAccessBlock.go +++ b/service/s3control/api_op_GetPublicAccessBlock.go @@ -141,9 +141,6 @@ func (c *Client) addOperationGetPublicAccessBlockMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetPublicAccessBlockMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_GetStorageLensConfiguration.go b/service/s3control/api_op_GetStorageLensConfiguration.go index 07468808705..22a7cba82c7 100644 --- a/service/s3control/api_op_GetStorageLensConfiguration.go +++ b/service/s3control/api_op_GetStorageLensConfiguration.go @@ -143,9 +143,6 @@ func (c *Client) addOperationGetStorageLensConfigurationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetStorageLensConfigurationMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_GetStorageLensConfigurationTagging.go b/service/s3control/api_op_GetStorageLensConfigurationTagging.go index 75a366572fd..12031f0082e 100644 --- a/service/s3control/api_op_GetStorageLensConfigurationTagging.go +++ b/service/s3control/api_op_GetStorageLensConfigurationTagging.go @@ -141,9 +141,6 @@ func (c *Client) addOperationGetStorageLensConfigurationTaggingMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetStorageLensConfigurationTaggingMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_GetStorageLensGroup.go b/service/s3control/api_op_GetStorageLensGroup.go index 51f02fd2b09..b628d991f45 100644 --- a/service/s3control/api_op_GetStorageLensGroup.go +++ b/service/s3control/api_op_GetStorageLensGroup.go @@ -143,9 +143,6 @@ func (c *Client) addOperationGetStorageLensGroupMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetStorageLensGroupMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_ListAccessGrants.go b/service/s3control/api_op_ListAccessGrants.go index 8bd5bb55353..4e454ad445f 100644 --- a/service/s3control/api_op_ListAccessGrants.go +++ b/service/s3control/api_op_ListAccessGrants.go @@ -186,9 +186,6 @@ func (c *Client) addOperationListAccessGrantsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_ListAccessGrantsInstances.go b/service/s3control/api_op_ListAccessGrantsInstances.go index 5d357795a41..aef83e35bbc 100644 --- a/service/s3control/api_op_ListAccessGrantsInstances.go +++ b/service/s3control/api_op_ListAccessGrantsInstances.go @@ -146,9 +146,6 @@ func (c *Client) addOperationListAccessGrantsInstancesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_ListAccessGrantsLocations.go b/service/s3control/api_op_ListAccessGrantsLocations.go index 75d6c74231a..a619e8b5957 100644 --- a/service/s3control/api_op_ListAccessGrantsLocations.go +++ b/service/s3control/api_op_ListAccessGrantsLocations.go @@ -152,9 +152,6 @@ func (c *Client) addOperationListAccessGrantsLocationsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_ListAccessPoints.go b/service/s3control/api_op_ListAccessPoints.go index 89a79555360..c77e661db91 100644 --- a/service/s3control/api_op_ListAccessPoints.go +++ b/service/s3control/api_op_ListAccessPoints.go @@ -186,9 +186,6 @@ func (c *Client) addOperationListAccessPointsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListAccessPointsMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_ListAccessPointsForObjectLambda.go b/service/s3control/api_op_ListAccessPointsForObjectLambda.go index b403bfa9266..78f794a2206 100644 --- a/service/s3control/api_op_ListAccessPointsForObjectLambda.go +++ b/service/s3control/api_op_ListAccessPointsForObjectLambda.go @@ -161,9 +161,6 @@ func (c *Client) addOperationListAccessPointsForObjectLambdaMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListAccessPointsForObjectLambdaMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_ListCallerAccessGrants.go b/service/s3control/api_op_ListCallerAccessGrants.go index 90acbf70572..51bfa695140 100644 --- a/service/s3control/api_op_ListCallerAccessGrants.go +++ b/service/s3control/api_op_ListCallerAccessGrants.go @@ -169,9 +169,6 @@ func (c *Client) addOperationListCallerAccessGrantsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_ListJobs.go b/service/s3control/api_op_ListJobs.go index b1fe965b405..d1610f08a27 100644 --- a/service/s3control/api_op_ListJobs.go +++ b/service/s3control/api_op_ListJobs.go @@ -167,9 +167,6 @@ func (c *Client) addOperationListJobsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListJobsMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_ListMultiRegionAccessPoints.go b/service/s3control/api_op_ListMultiRegionAccessPoints.go index 337fd598f77..5c4e6d1c4c5 100644 --- a/service/s3control/api_op_ListMultiRegionAccessPoints.go +++ b/service/s3control/api_op_ListMultiRegionAccessPoints.go @@ -164,9 +164,6 @@ func (c *Client) addOperationListMultiRegionAccessPointsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_ListRegionalBuckets.go b/service/s3control/api_op_ListRegionalBuckets.go index e3ea6057127..0d1e0ccf644 100644 --- a/service/s3control/api_op_ListRegionalBuckets.go +++ b/service/s3control/api_op_ListRegionalBuckets.go @@ -154,9 +154,6 @@ func (c *Client) addOperationListRegionalBucketsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListRegionalBucketsMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_ListStorageLensConfigurations.go b/service/s3control/api_op_ListStorageLensConfigurations.go index 0e7c71a679c..138fa75153a 100644 --- a/service/s3control/api_op_ListStorageLensConfigurations.go +++ b/service/s3control/api_op_ListStorageLensConfigurations.go @@ -144,9 +144,6 @@ func (c *Client) addOperationListStorageLensConfigurationsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListStorageLensConfigurationsMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_ListStorageLensGroups.go b/service/s3control/api_op_ListStorageLensGroups.go index b8a1b5c7b41..1c319e57a53 100644 --- a/service/s3control/api_op_ListStorageLensGroups.go +++ b/service/s3control/api_op_ListStorageLensGroups.go @@ -144,9 +144,6 @@ func (c *Client) addOperationListStorageLensGroupsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListStorageLensGroupsMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_ListTagsForResource.go b/service/s3control/api_op_ListTagsForResource.go index 46cabfc5d11..0af1f76c073 100644 --- a/service/s3control/api_op_ListTagsForResource.go +++ b/service/s3control/api_op_ListTagsForResource.go @@ -152,9 +152,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListTagsForResourceMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_PutAccessGrantsInstanceResourcePolicy.go b/service/s3control/api_op_PutAccessGrantsInstanceResourcePolicy.go index 95f6ffcf751..ab56cb5c324 100644 --- a/service/s3control/api_op_PutAccessGrantsInstanceResourcePolicy.go +++ b/service/s3control/api_op_PutAccessGrantsInstanceResourcePolicy.go @@ -144,9 +144,6 @@ func (c *Client) addOperationPutAccessGrantsInstanceResourcePolicyMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_PutAccessPointConfigurationForObjectLambda.go b/service/s3control/api_op_PutAccessPointConfigurationForObjectLambda.go index d47765952c1..dc0f823a065 100644 --- a/service/s3control/api_op_PutAccessPointConfigurationForObjectLambda.go +++ b/service/s3control/api_op_PutAccessPointConfigurationForObjectLambda.go @@ -141,9 +141,6 @@ func (c *Client) addOperationPutAccessPointConfigurationForObjectLambdaMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opPutAccessPointConfigurationForObjectLambdaMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_PutAccessPointPolicy.go b/service/s3control/api_op_PutAccessPointPolicy.go index 2285bee9452..9cd738ca17b 100644 --- a/service/s3control/api_op_PutAccessPointPolicy.go +++ b/service/s3control/api_op_PutAccessPointPolicy.go @@ -169,9 +169,6 @@ func (c *Client) addOperationPutAccessPointPolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opPutAccessPointPolicyMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_PutAccessPointPolicyForObjectLambda.go b/service/s3control/api_op_PutAccessPointPolicyForObjectLambda.go index 082ddb4b322..b41f8314fd0 100644 --- a/service/s3control/api_op_PutAccessPointPolicyForObjectLambda.go +++ b/service/s3control/api_op_PutAccessPointPolicyForObjectLambda.go @@ -145,9 +145,6 @@ func (c *Client) addOperationPutAccessPointPolicyForObjectLambdaMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opPutAccessPointPolicyForObjectLambdaMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_PutBucketLifecycleConfiguration.go b/service/s3control/api_op_PutBucketLifecycleConfiguration.go index 4a68232b516..06ffab39fed 100644 --- a/service/s3control/api_op_PutBucketLifecycleConfiguration.go +++ b/service/s3control/api_op_PutBucketLifecycleConfiguration.go @@ -156,9 +156,6 @@ func (c *Client) addOperationPutBucketLifecycleConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_PutBucketPolicy.go b/service/s3control/api_op_PutBucketPolicy.go index bed5ae11f29..5dd29c60b98 100644 --- a/service/s3control/api_op_PutBucketPolicy.go +++ b/service/s3control/api_op_PutBucketPolicy.go @@ -189,9 +189,6 @@ func (c *Client) addOperationPutBucketPolicyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_PutBucketReplication.go b/service/s3control/api_op_PutBucketReplication.go index 1acf28b14eb..50930877701 100644 --- a/service/s3control/api_op_PutBucketReplication.go +++ b/service/s3control/api_op_PutBucketReplication.go @@ -227,9 +227,6 @@ func (c *Client) addOperationPutBucketReplicationMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_PutBucketTagging.go b/service/s3control/api_op_PutBucketTagging.go index 556e77a4373..9e7e13861fe 100644 --- a/service/s3control/api_op_PutBucketTagging.go +++ b/service/s3control/api_op_PutBucketTagging.go @@ -210,9 +210,6 @@ func (c *Client) addOperationPutBucketTaggingMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_PutBucketVersioning.go b/service/s3control/api_op_PutBucketVersioning.go index 3c95328400f..2c14614b190 100644 --- a/service/s3control/api_op_PutBucketVersioning.go +++ b/service/s3control/api_op_PutBucketVersioning.go @@ -188,9 +188,6 @@ func (c *Client) addOperationPutBucketVersioningMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_PutJobTagging.go b/service/s3control/api_op_PutJobTagging.go index e463ea19ffe..9044ace0023 100644 --- a/service/s3control/api_op_PutJobTagging.go +++ b/service/s3control/api_op_PutJobTagging.go @@ -180,9 +180,6 @@ func (c *Client) addOperationPutJobTaggingMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opPutJobTaggingMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_PutMultiRegionAccessPointPolicy.go b/service/s3control/api_op_PutMultiRegionAccessPointPolicy.go index b6515da0eba..d385821b3c6 100644 --- a/service/s3control/api_op_PutMultiRegionAccessPointPolicy.go +++ b/service/s3control/api_op_PutMultiRegionAccessPointPolicy.go @@ -161,9 +161,6 @@ func (c *Client) addOperationPutMultiRegionAccessPointPolicyMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_PutPublicAccessBlock.go b/service/s3control/api_op_PutPublicAccessBlock.go index edbcca4cdd5..832d6cc02d7 100644 --- a/service/s3control/api_op_PutPublicAccessBlock.go +++ b/service/s3control/api_op_PutPublicAccessBlock.go @@ -143,9 +143,6 @@ func (c *Client) addOperationPutPublicAccessBlockMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opPutPublicAccessBlockMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_PutStorageLensConfiguration.go b/service/s3control/api_op_PutStorageLensConfiguration.go index 940af5c7169..53c24653f37 100644 --- a/service/s3control/api_op_PutStorageLensConfiguration.go +++ b/service/s3control/api_op_PutStorageLensConfiguration.go @@ -149,9 +149,6 @@ func (c *Client) addOperationPutStorageLensConfigurationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opPutStorageLensConfigurationMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_PutStorageLensConfigurationTagging.go b/service/s3control/api_op_PutStorageLensConfigurationTagging.go index fe492acc9bd..a6711390cf4 100644 --- a/service/s3control/api_op_PutStorageLensConfigurationTagging.go +++ b/service/s3control/api_op_PutStorageLensConfigurationTagging.go @@ -144,9 +144,6 @@ func (c *Client) addOperationPutStorageLensConfigurationTaggingMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opPutStorageLensConfigurationTaggingMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_SubmitMultiRegionAccessPointRoutes.go b/service/s3control/api_op_SubmitMultiRegionAccessPointRoutes.go index b1b0b5b4e41..8e449488595 100644 --- a/service/s3control/api_op_SubmitMultiRegionAccessPointRoutes.go +++ b/service/s3control/api_op_SubmitMultiRegionAccessPointRoutes.go @@ -163,9 +163,6 @@ func (c *Client) addOperationSubmitMultiRegionAccessPointRoutesMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_TagResource.go b/service/s3control/api_op_TagResource.go index ac6b7ef476b..1dac0e33cba 100644 --- a/service/s3control/api_op_TagResource.go +++ b/service/s3control/api_op_TagResource.go @@ -155,9 +155,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opTagResourceMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_UntagResource.go b/service/s3control/api_op_UntagResource.go index f28b9a4fc65..0f61a99d814 100644 --- a/service/s3control/api_op_UntagResource.go +++ b/service/s3control/api_op_UntagResource.go @@ -153,9 +153,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUntagResourceMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_UpdateAccessGrantsLocation.go b/service/s3control/api_op_UpdateAccessGrantsLocation.go index 1334a6d431a..e3ac75a70b9 100644 --- a/service/s3control/api_op_UpdateAccessGrantsLocation.go +++ b/service/s3control/api_op_UpdateAccessGrantsLocation.go @@ -174,9 +174,6 @@ func (c *Client) addOperationUpdateAccessGrantsLocationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = smithyhttp.AddContentChecksumMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_UpdateJobPriority.go b/service/s3control/api_op_UpdateJobPriority.go index 18e9ecd4ac3..f550e3767e7 100644 --- a/service/s3control/api_op_UpdateJobPriority.go +++ b/service/s3control/api_op_UpdateJobPriority.go @@ -162,9 +162,6 @@ func (c *Client) addOperationUpdateJobPriorityMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateJobPriorityMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_UpdateJobStatus.go b/service/s3control/api_op_UpdateJobStatus.go index a1d9c3f0edf..3df5167c0eb 100644 --- a/service/s3control/api_op_UpdateJobStatus.go +++ b/service/s3control/api_op_UpdateJobStatus.go @@ -167,9 +167,6 @@ func (c *Client) addOperationUpdateJobStatusMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateJobStatusMiddleware(stack); err != nil { return err } diff --git a/service/s3control/api_op_UpdateStorageLensGroup.go b/service/s3control/api_op_UpdateStorageLensGroup.go index 4fc8d50f75f..7c3c3dbc6cd 100644 --- a/service/s3control/api_op_UpdateStorageLensGroup.go +++ b/service/s3control/api_op_UpdateStorageLensGroup.go @@ -141,9 +141,6 @@ func (c *Client) addOperationUpdateStorageLensGroupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateStorageLensGroupMiddleware(stack); err != nil { return err } diff --git a/service/s3control/snapshot/api_op_AssociateAccessGrantsIdentityCenter.go.snap b/service/s3control/snapshot/api_op_AssociateAccessGrantsIdentityCenter.go.snap index 67a1ba9096d..979ea1f8d71 100644 --- a/service/s3control/snapshot/api_op_AssociateAccessGrantsIdentityCenter.go.snap +++ b/service/s3control/snapshot/api_op_AssociateAccessGrantsIdentityCenter.go.snap @@ -21,7 +21,6 @@ AssociateAccessGrantsIdentityCenter ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_CreateAccessGrant.go.snap b/service/s3control/snapshot/api_op_CreateAccessGrant.go.snap index f449346eee2..58e98fc13d9 100644 --- a/service/s3control/snapshot/api_op_CreateAccessGrant.go.snap +++ b/service/s3control/snapshot/api_op_CreateAccessGrant.go.snap @@ -21,7 +21,6 @@ CreateAccessGrant ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_CreateAccessGrantsInstance.go.snap b/service/s3control/snapshot/api_op_CreateAccessGrantsInstance.go.snap index 6fc18665148..794f0e02874 100644 --- a/service/s3control/snapshot/api_op_CreateAccessGrantsInstance.go.snap +++ b/service/s3control/snapshot/api_op_CreateAccessGrantsInstance.go.snap @@ -21,7 +21,6 @@ CreateAccessGrantsInstance ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_CreateAccessGrantsLocation.go.snap b/service/s3control/snapshot/api_op_CreateAccessGrantsLocation.go.snap index 4056192dc1f..7fbf10b6df5 100644 --- a/service/s3control/snapshot/api_op_CreateAccessGrantsLocation.go.snap +++ b/service/s3control/snapshot/api_op_CreateAccessGrantsLocation.go.snap @@ -21,7 +21,6 @@ CreateAccessGrantsLocation ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_CreateAccessPoint.go.snap b/service/s3control/snapshot/api_op_CreateAccessPoint.go.snap index a6dc91dde5a..96203159bd5 100644 --- a/service/s3control/snapshot/api_op_CreateAccessPoint.go.snap +++ b/service/s3control/snapshot/api_op_CreateAccessPoint.go.snap @@ -20,7 +20,6 @@ CreateAccessPoint stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_CreateAccessPointForObjectLambda.go.snap b/service/s3control/snapshot/api_op_CreateAccessPointForObjectLambda.go.snap index af8504fbfa9..c4f76b3db36 100644 --- a/service/s3control/snapshot/api_op_CreateAccessPointForObjectLambda.go.snap +++ b/service/s3control/snapshot/api_op_CreateAccessPointForObjectLambda.go.snap @@ -20,7 +20,6 @@ CreateAccessPointForObjectLambda stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_CreateBucket.go.snap b/service/s3control/snapshot/api_op_CreateBucket.go.snap index 56199d14087..a0d09973bf9 100644 --- a/service/s3control/snapshot/api_op_CreateBucket.go.snap +++ b/service/s3control/snapshot/api_op_CreateBucket.go.snap @@ -21,7 +21,6 @@ CreateBucket ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_CreateJob.go.snap b/service/s3control/snapshot/api_op_CreateJob.go.snap index 274a6390481..835b8ad9646 100644 --- a/service/s3control/snapshot/api_op_CreateJob.go.snap +++ b/service/s3control/snapshot/api_op_CreateJob.go.snap @@ -21,7 +21,6 @@ CreateJob stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_CreateMultiRegionAccessPoint.go.snap b/service/s3control/snapshot/api_op_CreateMultiRegionAccessPoint.go.snap index 38d01fb42f6..ee73ad87949 100644 --- a/service/s3control/snapshot/api_op_CreateMultiRegionAccessPoint.go.snap +++ b/service/s3control/snapshot/api_op_CreateMultiRegionAccessPoint.go.snap @@ -22,7 +22,6 @@ CreateMultiRegionAccessPoint ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_CreateStorageLensGroup.go.snap b/service/s3control/snapshot/api_op_CreateStorageLensGroup.go.snap index ce1aa3dbc84..0ae814ce30f 100644 --- a/service/s3control/snapshot/api_op_CreateStorageLensGroup.go.snap +++ b/service/s3control/snapshot/api_op_CreateStorageLensGroup.go.snap @@ -20,7 +20,6 @@ CreateStorageLensGroup stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_DeleteAccessGrant.go.snap b/service/s3control/snapshot/api_op_DeleteAccessGrant.go.snap index 4dd186499a7..d0870f435c9 100644 --- a/service/s3control/snapshot/api_op_DeleteAccessGrant.go.snap +++ b/service/s3control/snapshot/api_op_DeleteAccessGrant.go.snap @@ -21,7 +21,6 @@ DeleteAccessGrant ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_DeleteAccessGrantsInstance.go.snap b/service/s3control/snapshot/api_op_DeleteAccessGrantsInstance.go.snap index 01494986200..c3edce2df4b 100644 --- a/service/s3control/snapshot/api_op_DeleteAccessGrantsInstance.go.snap +++ b/service/s3control/snapshot/api_op_DeleteAccessGrantsInstance.go.snap @@ -21,7 +21,6 @@ DeleteAccessGrantsInstance ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_DeleteAccessGrantsInstanceResourcePolicy.go.snap b/service/s3control/snapshot/api_op_DeleteAccessGrantsInstanceResourcePolicy.go.snap index 63483d1c2bf..00448d8daab 100644 --- a/service/s3control/snapshot/api_op_DeleteAccessGrantsInstanceResourcePolicy.go.snap +++ b/service/s3control/snapshot/api_op_DeleteAccessGrantsInstanceResourcePolicy.go.snap @@ -21,7 +21,6 @@ DeleteAccessGrantsInstanceResourcePolicy ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_DeleteAccessGrantsLocation.go.snap b/service/s3control/snapshot/api_op_DeleteAccessGrantsLocation.go.snap index a0cf43b857f..c0e5c143913 100644 --- a/service/s3control/snapshot/api_op_DeleteAccessGrantsLocation.go.snap +++ b/service/s3control/snapshot/api_op_DeleteAccessGrantsLocation.go.snap @@ -21,7 +21,6 @@ DeleteAccessGrantsLocation ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_DeleteAccessPoint.go.snap b/service/s3control/snapshot/api_op_DeleteAccessPoint.go.snap index 7622598bb26..7eca109764b 100644 --- a/service/s3control/snapshot/api_op_DeleteAccessPoint.go.snap +++ b/service/s3control/snapshot/api_op_DeleteAccessPoint.go.snap @@ -20,7 +20,6 @@ DeleteAccessPoint stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_DeleteAccessPointForObjectLambda.go.snap b/service/s3control/snapshot/api_op_DeleteAccessPointForObjectLambda.go.snap index f3bc863e66c..a75ee58dd6b 100644 --- a/service/s3control/snapshot/api_op_DeleteAccessPointForObjectLambda.go.snap +++ b/service/s3control/snapshot/api_op_DeleteAccessPointForObjectLambda.go.snap @@ -20,7 +20,6 @@ DeleteAccessPointForObjectLambda stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_DeleteAccessPointPolicy.go.snap b/service/s3control/snapshot/api_op_DeleteAccessPointPolicy.go.snap index 6c0c7b0d9dc..07189d724ea 100644 --- a/service/s3control/snapshot/api_op_DeleteAccessPointPolicy.go.snap +++ b/service/s3control/snapshot/api_op_DeleteAccessPointPolicy.go.snap @@ -20,7 +20,6 @@ DeleteAccessPointPolicy stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_DeleteAccessPointPolicyForObjectLambda.go.snap b/service/s3control/snapshot/api_op_DeleteAccessPointPolicyForObjectLambda.go.snap index 96f7161a249..fb39e7f7549 100644 --- a/service/s3control/snapshot/api_op_DeleteAccessPointPolicyForObjectLambda.go.snap +++ b/service/s3control/snapshot/api_op_DeleteAccessPointPolicyForObjectLambda.go.snap @@ -20,7 +20,6 @@ DeleteAccessPointPolicyForObjectLambda stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_DeleteBucket.go.snap b/service/s3control/snapshot/api_op_DeleteBucket.go.snap index 6fbf13f4f0b..62a70b8d9eb 100644 --- a/service/s3control/snapshot/api_op_DeleteBucket.go.snap +++ b/service/s3control/snapshot/api_op_DeleteBucket.go.snap @@ -20,7 +20,6 @@ DeleteBucket stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_DeleteBucketLifecycleConfiguration.go.snap b/service/s3control/snapshot/api_op_DeleteBucketLifecycleConfiguration.go.snap index 3464b261f5d..1461e318ec8 100644 --- a/service/s3control/snapshot/api_op_DeleteBucketLifecycleConfiguration.go.snap +++ b/service/s3control/snapshot/api_op_DeleteBucketLifecycleConfiguration.go.snap @@ -20,7 +20,6 @@ DeleteBucketLifecycleConfiguration stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_DeleteBucketPolicy.go.snap b/service/s3control/snapshot/api_op_DeleteBucketPolicy.go.snap index 9ab1623843b..2879fd6fb76 100644 --- a/service/s3control/snapshot/api_op_DeleteBucketPolicy.go.snap +++ b/service/s3control/snapshot/api_op_DeleteBucketPolicy.go.snap @@ -20,7 +20,6 @@ DeleteBucketPolicy stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_DeleteBucketReplication.go.snap b/service/s3control/snapshot/api_op_DeleteBucketReplication.go.snap index 99ea26a5383..782ca2f2e73 100644 --- a/service/s3control/snapshot/api_op_DeleteBucketReplication.go.snap +++ b/service/s3control/snapshot/api_op_DeleteBucketReplication.go.snap @@ -20,7 +20,6 @@ DeleteBucketReplication stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_DeleteBucketTagging.go.snap b/service/s3control/snapshot/api_op_DeleteBucketTagging.go.snap index dff1ed9c835..54bfa994c78 100644 --- a/service/s3control/snapshot/api_op_DeleteBucketTagging.go.snap +++ b/service/s3control/snapshot/api_op_DeleteBucketTagging.go.snap @@ -20,7 +20,6 @@ DeleteBucketTagging stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_DeleteJobTagging.go.snap b/service/s3control/snapshot/api_op_DeleteJobTagging.go.snap index 2f909fe4480..56706a131ba 100644 --- a/service/s3control/snapshot/api_op_DeleteJobTagging.go.snap +++ b/service/s3control/snapshot/api_op_DeleteJobTagging.go.snap @@ -20,7 +20,6 @@ DeleteJobTagging stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_DeleteMultiRegionAccessPoint.go.snap b/service/s3control/snapshot/api_op_DeleteMultiRegionAccessPoint.go.snap index a00a87a0a89..96ac7741163 100644 --- a/service/s3control/snapshot/api_op_DeleteMultiRegionAccessPoint.go.snap +++ b/service/s3control/snapshot/api_op_DeleteMultiRegionAccessPoint.go.snap @@ -22,7 +22,6 @@ DeleteMultiRegionAccessPoint ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_DeletePublicAccessBlock.go.snap b/service/s3control/snapshot/api_op_DeletePublicAccessBlock.go.snap index 2911994d8c2..740e53cc90e 100644 --- a/service/s3control/snapshot/api_op_DeletePublicAccessBlock.go.snap +++ b/service/s3control/snapshot/api_op_DeletePublicAccessBlock.go.snap @@ -20,7 +20,6 @@ DeletePublicAccessBlock stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_DeleteStorageLensConfiguration.go.snap b/service/s3control/snapshot/api_op_DeleteStorageLensConfiguration.go.snap index 4fd9ba43cce..7ad74837348 100644 --- a/service/s3control/snapshot/api_op_DeleteStorageLensConfiguration.go.snap +++ b/service/s3control/snapshot/api_op_DeleteStorageLensConfiguration.go.snap @@ -20,7 +20,6 @@ DeleteStorageLensConfiguration stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_DeleteStorageLensConfigurationTagging.go.snap b/service/s3control/snapshot/api_op_DeleteStorageLensConfigurationTagging.go.snap index cb8491abead..783298f1d0b 100644 --- a/service/s3control/snapshot/api_op_DeleteStorageLensConfigurationTagging.go.snap +++ b/service/s3control/snapshot/api_op_DeleteStorageLensConfigurationTagging.go.snap @@ -20,7 +20,6 @@ DeleteStorageLensConfigurationTagging stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_DeleteStorageLensGroup.go.snap b/service/s3control/snapshot/api_op_DeleteStorageLensGroup.go.snap index 0c26bfe9f6d..a7bd6905b97 100644 --- a/service/s3control/snapshot/api_op_DeleteStorageLensGroup.go.snap +++ b/service/s3control/snapshot/api_op_DeleteStorageLensGroup.go.snap @@ -20,7 +20,6 @@ DeleteStorageLensGroup stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_DescribeJob.go.snap b/service/s3control/snapshot/api_op_DescribeJob.go.snap index 3df4ecc995e..a6692122d74 100644 --- a/service/s3control/snapshot/api_op_DescribeJob.go.snap +++ b/service/s3control/snapshot/api_op_DescribeJob.go.snap @@ -20,7 +20,6 @@ DescribeJob stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_DescribeMultiRegionAccessPointOperation.go.snap b/service/s3control/snapshot/api_op_DescribeMultiRegionAccessPointOperation.go.snap index 303e3983763..ad6a82f20a4 100644 --- a/service/s3control/snapshot/api_op_DescribeMultiRegionAccessPointOperation.go.snap +++ b/service/s3control/snapshot/api_op_DescribeMultiRegionAccessPointOperation.go.snap @@ -21,7 +21,6 @@ DescribeMultiRegionAccessPointOperation ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_DissociateAccessGrantsIdentityCenter.go.snap b/service/s3control/snapshot/api_op_DissociateAccessGrantsIdentityCenter.go.snap index d019c0093f9..73fe9e908df 100644 --- a/service/s3control/snapshot/api_op_DissociateAccessGrantsIdentityCenter.go.snap +++ b/service/s3control/snapshot/api_op_DissociateAccessGrantsIdentityCenter.go.snap @@ -21,7 +21,6 @@ DissociateAccessGrantsIdentityCenter ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_GetAccessGrant.go.snap b/service/s3control/snapshot/api_op_GetAccessGrant.go.snap index 4ffe5c07e70..229e855364f 100644 --- a/service/s3control/snapshot/api_op_GetAccessGrant.go.snap +++ b/service/s3control/snapshot/api_op_GetAccessGrant.go.snap @@ -21,7 +21,6 @@ GetAccessGrant ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_GetAccessGrantsInstance.go.snap b/service/s3control/snapshot/api_op_GetAccessGrantsInstance.go.snap index cb64ffd7de7..12c4c7b9949 100644 --- a/service/s3control/snapshot/api_op_GetAccessGrantsInstance.go.snap +++ b/service/s3control/snapshot/api_op_GetAccessGrantsInstance.go.snap @@ -21,7 +21,6 @@ GetAccessGrantsInstance ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_GetAccessGrantsInstanceForPrefix.go.snap b/service/s3control/snapshot/api_op_GetAccessGrantsInstanceForPrefix.go.snap index 400aa0645b0..2331d5753a3 100644 --- a/service/s3control/snapshot/api_op_GetAccessGrantsInstanceForPrefix.go.snap +++ b/service/s3control/snapshot/api_op_GetAccessGrantsInstanceForPrefix.go.snap @@ -21,7 +21,6 @@ GetAccessGrantsInstanceForPrefix ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_GetAccessGrantsInstanceResourcePolicy.go.snap b/service/s3control/snapshot/api_op_GetAccessGrantsInstanceResourcePolicy.go.snap index 594e6c83f9c..ae21d737de0 100644 --- a/service/s3control/snapshot/api_op_GetAccessGrantsInstanceResourcePolicy.go.snap +++ b/service/s3control/snapshot/api_op_GetAccessGrantsInstanceResourcePolicy.go.snap @@ -21,7 +21,6 @@ GetAccessGrantsInstanceResourcePolicy ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_GetAccessGrantsLocation.go.snap b/service/s3control/snapshot/api_op_GetAccessGrantsLocation.go.snap index b2b26aa513c..b6f1ecb3756 100644 --- a/service/s3control/snapshot/api_op_GetAccessGrantsLocation.go.snap +++ b/service/s3control/snapshot/api_op_GetAccessGrantsLocation.go.snap @@ -21,7 +21,6 @@ GetAccessGrantsLocation ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_GetAccessPoint.go.snap b/service/s3control/snapshot/api_op_GetAccessPoint.go.snap index 3b28f87e357..7fe73e88145 100644 --- a/service/s3control/snapshot/api_op_GetAccessPoint.go.snap +++ b/service/s3control/snapshot/api_op_GetAccessPoint.go.snap @@ -20,7 +20,6 @@ GetAccessPoint stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_GetAccessPointConfigurationForObjectLambda.go.snap b/service/s3control/snapshot/api_op_GetAccessPointConfigurationForObjectLambda.go.snap index 92d76ac2a6d..e17740ea38d 100644 --- a/service/s3control/snapshot/api_op_GetAccessPointConfigurationForObjectLambda.go.snap +++ b/service/s3control/snapshot/api_op_GetAccessPointConfigurationForObjectLambda.go.snap @@ -20,7 +20,6 @@ GetAccessPointConfigurationForObjectLambda stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_GetAccessPointForObjectLambda.go.snap b/service/s3control/snapshot/api_op_GetAccessPointForObjectLambda.go.snap index e0cc8f5e726..481816f35a0 100644 --- a/service/s3control/snapshot/api_op_GetAccessPointForObjectLambda.go.snap +++ b/service/s3control/snapshot/api_op_GetAccessPointForObjectLambda.go.snap @@ -20,7 +20,6 @@ GetAccessPointForObjectLambda stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_GetAccessPointPolicy.go.snap b/service/s3control/snapshot/api_op_GetAccessPointPolicy.go.snap index 53a57336f07..a686fc67591 100644 --- a/service/s3control/snapshot/api_op_GetAccessPointPolicy.go.snap +++ b/service/s3control/snapshot/api_op_GetAccessPointPolicy.go.snap @@ -20,7 +20,6 @@ GetAccessPointPolicy stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_GetAccessPointPolicyForObjectLambda.go.snap b/service/s3control/snapshot/api_op_GetAccessPointPolicyForObjectLambda.go.snap index 1fd683d35a6..14756c48920 100644 --- a/service/s3control/snapshot/api_op_GetAccessPointPolicyForObjectLambda.go.snap +++ b/service/s3control/snapshot/api_op_GetAccessPointPolicyForObjectLambda.go.snap @@ -20,7 +20,6 @@ GetAccessPointPolicyForObjectLambda stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_GetAccessPointPolicyStatus.go.snap b/service/s3control/snapshot/api_op_GetAccessPointPolicyStatus.go.snap index 073ffe7c737..5b3003c0f40 100644 --- a/service/s3control/snapshot/api_op_GetAccessPointPolicyStatus.go.snap +++ b/service/s3control/snapshot/api_op_GetAccessPointPolicyStatus.go.snap @@ -20,7 +20,6 @@ GetAccessPointPolicyStatus stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_GetAccessPointPolicyStatusForObjectLambda.go.snap b/service/s3control/snapshot/api_op_GetAccessPointPolicyStatusForObjectLambda.go.snap index 8ebcb97eda3..05d43d2e495 100644 --- a/service/s3control/snapshot/api_op_GetAccessPointPolicyStatusForObjectLambda.go.snap +++ b/service/s3control/snapshot/api_op_GetAccessPointPolicyStatusForObjectLambda.go.snap @@ -20,7 +20,6 @@ GetAccessPointPolicyStatusForObjectLambda stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_GetBucket.go.snap b/service/s3control/snapshot/api_op_GetBucket.go.snap index 7a4bc4bc74e..c2736ad76dc 100644 --- a/service/s3control/snapshot/api_op_GetBucket.go.snap +++ b/service/s3control/snapshot/api_op_GetBucket.go.snap @@ -20,7 +20,6 @@ GetBucket stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_GetBucketLifecycleConfiguration.go.snap b/service/s3control/snapshot/api_op_GetBucketLifecycleConfiguration.go.snap index db73e32984c..9ef0019da6d 100644 --- a/service/s3control/snapshot/api_op_GetBucketLifecycleConfiguration.go.snap +++ b/service/s3control/snapshot/api_op_GetBucketLifecycleConfiguration.go.snap @@ -20,7 +20,6 @@ GetBucketLifecycleConfiguration stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_GetBucketPolicy.go.snap b/service/s3control/snapshot/api_op_GetBucketPolicy.go.snap index 87f5eae18f1..b2136b893a3 100644 --- a/service/s3control/snapshot/api_op_GetBucketPolicy.go.snap +++ b/service/s3control/snapshot/api_op_GetBucketPolicy.go.snap @@ -20,7 +20,6 @@ GetBucketPolicy stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_GetBucketReplication.go.snap b/service/s3control/snapshot/api_op_GetBucketReplication.go.snap index 116cb4850c6..67c404ff356 100644 --- a/service/s3control/snapshot/api_op_GetBucketReplication.go.snap +++ b/service/s3control/snapshot/api_op_GetBucketReplication.go.snap @@ -20,7 +20,6 @@ GetBucketReplication stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_GetBucketTagging.go.snap b/service/s3control/snapshot/api_op_GetBucketTagging.go.snap index 27282b31a26..f9fd21ca7fc 100644 --- a/service/s3control/snapshot/api_op_GetBucketTagging.go.snap +++ b/service/s3control/snapshot/api_op_GetBucketTagging.go.snap @@ -20,7 +20,6 @@ GetBucketTagging stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_GetBucketVersioning.go.snap b/service/s3control/snapshot/api_op_GetBucketVersioning.go.snap index 2f35579ed85..ded12a54965 100644 --- a/service/s3control/snapshot/api_op_GetBucketVersioning.go.snap +++ b/service/s3control/snapshot/api_op_GetBucketVersioning.go.snap @@ -20,7 +20,6 @@ GetBucketVersioning stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_GetDataAccess.go.snap b/service/s3control/snapshot/api_op_GetDataAccess.go.snap index 9523ca54121..22d7fa042ce 100644 --- a/service/s3control/snapshot/api_op_GetDataAccess.go.snap +++ b/service/s3control/snapshot/api_op_GetDataAccess.go.snap @@ -21,7 +21,6 @@ GetDataAccess ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_GetJobTagging.go.snap b/service/s3control/snapshot/api_op_GetJobTagging.go.snap index e0b70ae033c..3ee2bd7fc04 100644 --- a/service/s3control/snapshot/api_op_GetJobTagging.go.snap +++ b/service/s3control/snapshot/api_op_GetJobTagging.go.snap @@ -20,7 +20,6 @@ GetJobTagging stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_GetMultiRegionAccessPoint.go.snap b/service/s3control/snapshot/api_op_GetMultiRegionAccessPoint.go.snap index 75afa8a7c99..0fc691fe03e 100644 --- a/service/s3control/snapshot/api_op_GetMultiRegionAccessPoint.go.snap +++ b/service/s3control/snapshot/api_op_GetMultiRegionAccessPoint.go.snap @@ -21,7 +21,6 @@ GetMultiRegionAccessPoint ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_GetMultiRegionAccessPointPolicy.go.snap b/service/s3control/snapshot/api_op_GetMultiRegionAccessPointPolicy.go.snap index cb078bc80b0..7f8c713c757 100644 --- a/service/s3control/snapshot/api_op_GetMultiRegionAccessPointPolicy.go.snap +++ b/service/s3control/snapshot/api_op_GetMultiRegionAccessPointPolicy.go.snap @@ -21,7 +21,6 @@ GetMultiRegionAccessPointPolicy ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_GetMultiRegionAccessPointPolicyStatus.go.snap b/service/s3control/snapshot/api_op_GetMultiRegionAccessPointPolicyStatus.go.snap index 2318a4f36b7..802020f0c6f 100644 --- a/service/s3control/snapshot/api_op_GetMultiRegionAccessPointPolicyStatus.go.snap +++ b/service/s3control/snapshot/api_op_GetMultiRegionAccessPointPolicyStatus.go.snap @@ -21,7 +21,6 @@ GetMultiRegionAccessPointPolicyStatus ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_GetMultiRegionAccessPointRoutes.go.snap b/service/s3control/snapshot/api_op_GetMultiRegionAccessPointRoutes.go.snap index fcb709a88d8..73e0b21d59e 100644 --- a/service/s3control/snapshot/api_op_GetMultiRegionAccessPointRoutes.go.snap +++ b/service/s3control/snapshot/api_op_GetMultiRegionAccessPointRoutes.go.snap @@ -21,7 +21,6 @@ GetMultiRegionAccessPointRoutes ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_GetPublicAccessBlock.go.snap b/service/s3control/snapshot/api_op_GetPublicAccessBlock.go.snap index 7342e5ed555..cf94d1ffcc8 100644 --- a/service/s3control/snapshot/api_op_GetPublicAccessBlock.go.snap +++ b/service/s3control/snapshot/api_op_GetPublicAccessBlock.go.snap @@ -20,7 +20,6 @@ GetPublicAccessBlock stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_GetStorageLensConfiguration.go.snap b/service/s3control/snapshot/api_op_GetStorageLensConfiguration.go.snap index 082c3609ea2..36b439150e6 100644 --- a/service/s3control/snapshot/api_op_GetStorageLensConfiguration.go.snap +++ b/service/s3control/snapshot/api_op_GetStorageLensConfiguration.go.snap @@ -20,7 +20,6 @@ GetStorageLensConfiguration stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_GetStorageLensConfigurationTagging.go.snap b/service/s3control/snapshot/api_op_GetStorageLensConfigurationTagging.go.snap index 15b9f0e91b3..4ecf97d88b3 100644 --- a/service/s3control/snapshot/api_op_GetStorageLensConfigurationTagging.go.snap +++ b/service/s3control/snapshot/api_op_GetStorageLensConfigurationTagging.go.snap @@ -20,7 +20,6 @@ GetStorageLensConfigurationTagging stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_GetStorageLensGroup.go.snap b/service/s3control/snapshot/api_op_GetStorageLensGroup.go.snap index 261c261b11d..3bb50da0c04 100644 --- a/service/s3control/snapshot/api_op_GetStorageLensGroup.go.snap +++ b/service/s3control/snapshot/api_op_GetStorageLensGroup.go.snap @@ -20,7 +20,6 @@ GetStorageLensGroup stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_ListAccessGrants.go.snap b/service/s3control/snapshot/api_op_ListAccessGrants.go.snap index 3a69438cbef..7037bbac713 100644 --- a/service/s3control/snapshot/api_op_ListAccessGrants.go.snap +++ b/service/s3control/snapshot/api_op_ListAccessGrants.go.snap @@ -21,7 +21,6 @@ ListAccessGrants ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_ListAccessGrantsInstances.go.snap b/service/s3control/snapshot/api_op_ListAccessGrantsInstances.go.snap index 896b37dba8f..a46110a941a 100644 --- a/service/s3control/snapshot/api_op_ListAccessGrantsInstances.go.snap +++ b/service/s3control/snapshot/api_op_ListAccessGrantsInstances.go.snap @@ -21,7 +21,6 @@ ListAccessGrantsInstances ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_ListAccessGrantsLocations.go.snap b/service/s3control/snapshot/api_op_ListAccessGrantsLocations.go.snap index f9d5977b04d..07e513967c5 100644 --- a/service/s3control/snapshot/api_op_ListAccessGrantsLocations.go.snap +++ b/service/s3control/snapshot/api_op_ListAccessGrantsLocations.go.snap @@ -21,7 +21,6 @@ ListAccessGrantsLocations ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_ListAccessPoints.go.snap b/service/s3control/snapshot/api_op_ListAccessPoints.go.snap index eb94717f995..5bd120fd37b 100644 --- a/service/s3control/snapshot/api_op_ListAccessPoints.go.snap +++ b/service/s3control/snapshot/api_op_ListAccessPoints.go.snap @@ -20,7 +20,6 @@ ListAccessPoints stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_ListAccessPointsForObjectLambda.go.snap b/service/s3control/snapshot/api_op_ListAccessPointsForObjectLambda.go.snap index 48abf59d9fb..d1cdbe06a0b 100644 --- a/service/s3control/snapshot/api_op_ListAccessPointsForObjectLambda.go.snap +++ b/service/s3control/snapshot/api_op_ListAccessPointsForObjectLambda.go.snap @@ -20,7 +20,6 @@ ListAccessPointsForObjectLambda stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_ListCallerAccessGrants.go.snap b/service/s3control/snapshot/api_op_ListCallerAccessGrants.go.snap index b84116f174d..cc1c1bf7df3 100644 --- a/service/s3control/snapshot/api_op_ListCallerAccessGrants.go.snap +++ b/service/s3control/snapshot/api_op_ListCallerAccessGrants.go.snap @@ -21,7 +21,6 @@ ListCallerAccessGrants ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_ListJobs.go.snap b/service/s3control/snapshot/api_op_ListJobs.go.snap index cb56b53c732..824e6b17a7f 100644 --- a/service/s3control/snapshot/api_op_ListJobs.go.snap +++ b/service/s3control/snapshot/api_op_ListJobs.go.snap @@ -20,7 +20,6 @@ ListJobs stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_ListMultiRegionAccessPoints.go.snap b/service/s3control/snapshot/api_op_ListMultiRegionAccessPoints.go.snap index ddb11d842c9..9e2d292d12f 100644 --- a/service/s3control/snapshot/api_op_ListMultiRegionAccessPoints.go.snap +++ b/service/s3control/snapshot/api_op_ListMultiRegionAccessPoints.go.snap @@ -21,7 +21,6 @@ ListMultiRegionAccessPoints ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_ListRegionalBuckets.go.snap b/service/s3control/snapshot/api_op_ListRegionalBuckets.go.snap index d2ae0497200..32d02c57f62 100644 --- a/service/s3control/snapshot/api_op_ListRegionalBuckets.go.snap +++ b/service/s3control/snapshot/api_op_ListRegionalBuckets.go.snap @@ -20,7 +20,6 @@ ListRegionalBuckets stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_ListStorageLensConfigurations.go.snap b/service/s3control/snapshot/api_op_ListStorageLensConfigurations.go.snap index cddf8fb6999..7595f20d7ec 100644 --- a/service/s3control/snapshot/api_op_ListStorageLensConfigurations.go.snap +++ b/service/s3control/snapshot/api_op_ListStorageLensConfigurations.go.snap @@ -20,7 +20,6 @@ ListStorageLensConfigurations stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_ListStorageLensGroups.go.snap b/service/s3control/snapshot/api_op_ListStorageLensGroups.go.snap index 17902052fe1..ce7d255c015 100644 --- a/service/s3control/snapshot/api_op_ListStorageLensGroups.go.snap +++ b/service/s3control/snapshot/api_op_ListStorageLensGroups.go.snap @@ -20,7 +20,6 @@ ListStorageLensGroups stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_ListTagsForResource.go.snap b/service/s3control/snapshot/api_op_ListTagsForResource.go.snap index eae52ab35f5..de4dcac8a53 100644 --- a/service/s3control/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/s3control/snapshot/api_op_ListTagsForResource.go.snap @@ -20,7 +20,6 @@ ListTagsForResource stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_PutAccessGrantsInstanceResourcePolicy.go.snap b/service/s3control/snapshot/api_op_PutAccessGrantsInstanceResourcePolicy.go.snap index 463975d6367..fcc9260bbbb 100644 --- a/service/s3control/snapshot/api_op_PutAccessGrantsInstanceResourcePolicy.go.snap +++ b/service/s3control/snapshot/api_op_PutAccessGrantsInstanceResourcePolicy.go.snap @@ -21,7 +21,6 @@ PutAccessGrantsInstanceResourcePolicy ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_PutAccessPointConfigurationForObjectLambda.go.snap b/service/s3control/snapshot/api_op_PutAccessPointConfigurationForObjectLambda.go.snap index 02bce9f3e31..3efbd66628c 100644 --- a/service/s3control/snapshot/api_op_PutAccessPointConfigurationForObjectLambda.go.snap +++ b/service/s3control/snapshot/api_op_PutAccessPointConfigurationForObjectLambda.go.snap @@ -20,7 +20,6 @@ PutAccessPointConfigurationForObjectLambda stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_PutAccessPointPolicy.go.snap b/service/s3control/snapshot/api_op_PutAccessPointPolicy.go.snap index 74d888b8b0d..0c9a544ffab 100644 --- a/service/s3control/snapshot/api_op_PutAccessPointPolicy.go.snap +++ b/service/s3control/snapshot/api_op_PutAccessPointPolicy.go.snap @@ -20,7 +20,6 @@ PutAccessPointPolicy stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_PutAccessPointPolicyForObjectLambda.go.snap b/service/s3control/snapshot/api_op_PutAccessPointPolicyForObjectLambda.go.snap index a9c2eff9c61..022a166cee5 100644 --- a/service/s3control/snapshot/api_op_PutAccessPointPolicyForObjectLambda.go.snap +++ b/service/s3control/snapshot/api_op_PutAccessPointPolicyForObjectLambda.go.snap @@ -20,7 +20,6 @@ PutAccessPointPolicyForObjectLambda stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_PutBucketLifecycleConfiguration.go.snap b/service/s3control/snapshot/api_op_PutBucketLifecycleConfiguration.go.snap index 8b119886244..02b023c34cd 100644 --- a/service/s3control/snapshot/api_op_PutBucketLifecycleConfiguration.go.snap +++ b/service/s3control/snapshot/api_op_PutBucketLifecycleConfiguration.go.snap @@ -21,7 +21,6 @@ PutBucketLifecycleConfiguration ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_PutBucketPolicy.go.snap b/service/s3control/snapshot/api_op_PutBucketPolicy.go.snap index 02cb08c7177..03f8f9b012c 100644 --- a/service/s3control/snapshot/api_op_PutBucketPolicy.go.snap +++ b/service/s3control/snapshot/api_op_PutBucketPolicy.go.snap @@ -21,7 +21,6 @@ PutBucketPolicy ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_PutBucketReplication.go.snap b/service/s3control/snapshot/api_op_PutBucketReplication.go.snap index 225b00c431d..e312e0fee16 100644 --- a/service/s3control/snapshot/api_op_PutBucketReplication.go.snap +++ b/service/s3control/snapshot/api_op_PutBucketReplication.go.snap @@ -21,7 +21,6 @@ PutBucketReplication ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_PutBucketTagging.go.snap b/service/s3control/snapshot/api_op_PutBucketTagging.go.snap index 14d50609c83..920f0e25cfd 100644 --- a/service/s3control/snapshot/api_op_PutBucketTagging.go.snap +++ b/service/s3control/snapshot/api_op_PutBucketTagging.go.snap @@ -21,7 +21,6 @@ PutBucketTagging ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_PutBucketVersioning.go.snap b/service/s3control/snapshot/api_op_PutBucketVersioning.go.snap index d207656eee6..1712dcf57ec 100644 --- a/service/s3control/snapshot/api_op_PutBucketVersioning.go.snap +++ b/service/s3control/snapshot/api_op_PutBucketVersioning.go.snap @@ -21,7 +21,6 @@ PutBucketVersioning ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_PutJobTagging.go.snap b/service/s3control/snapshot/api_op_PutJobTagging.go.snap index 8581ab717bd..987c359bf91 100644 --- a/service/s3control/snapshot/api_op_PutJobTagging.go.snap +++ b/service/s3control/snapshot/api_op_PutJobTagging.go.snap @@ -20,7 +20,6 @@ PutJobTagging stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_PutMultiRegionAccessPointPolicy.go.snap b/service/s3control/snapshot/api_op_PutMultiRegionAccessPointPolicy.go.snap index efd3eb1d77c..38235dd51b1 100644 --- a/service/s3control/snapshot/api_op_PutMultiRegionAccessPointPolicy.go.snap +++ b/service/s3control/snapshot/api_op_PutMultiRegionAccessPointPolicy.go.snap @@ -22,7 +22,6 @@ PutMultiRegionAccessPointPolicy ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_PutPublicAccessBlock.go.snap b/service/s3control/snapshot/api_op_PutPublicAccessBlock.go.snap index 6324a50b992..5631f00d353 100644 --- a/service/s3control/snapshot/api_op_PutPublicAccessBlock.go.snap +++ b/service/s3control/snapshot/api_op_PutPublicAccessBlock.go.snap @@ -20,7 +20,6 @@ PutPublicAccessBlock stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_PutStorageLensConfiguration.go.snap b/service/s3control/snapshot/api_op_PutStorageLensConfiguration.go.snap index 4cd2a262f65..c6e665a6f19 100644 --- a/service/s3control/snapshot/api_op_PutStorageLensConfiguration.go.snap +++ b/service/s3control/snapshot/api_op_PutStorageLensConfiguration.go.snap @@ -20,7 +20,6 @@ PutStorageLensConfiguration stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_PutStorageLensConfigurationTagging.go.snap b/service/s3control/snapshot/api_op_PutStorageLensConfigurationTagging.go.snap index 7ade206d107..df6275412c2 100644 --- a/service/s3control/snapshot/api_op_PutStorageLensConfigurationTagging.go.snap +++ b/service/s3control/snapshot/api_op_PutStorageLensConfigurationTagging.go.snap @@ -20,7 +20,6 @@ PutStorageLensConfigurationTagging stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_SubmitMultiRegionAccessPointRoutes.go.snap b/service/s3control/snapshot/api_op_SubmitMultiRegionAccessPointRoutes.go.snap index e7ced18f557..261342778d2 100644 --- a/service/s3control/snapshot/api_op_SubmitMultiRegionAccessPointRoutes.go.snap +++ b/service/s3control/snapshot/api_op_SubmitMultiRegionAccessPointRoutes.go.snap @@ -21,7 +21,6 @@ SubmitMultiRegionAccessPointRoutes ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_TagResource.go.snap b/service/s3control/snapshot/api_op_TagResource.go.snap index 5d1757d61b7..40b536e9ed1 100644 --- a/service/s3control/snapshot/api_op_TagResource.go.snap +++ b/service/s3control/snapshot/api_op_TagResource.go.snap @@ -20,7 +20,6 @@ TagResource stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_UntagResource.go.snap b/service/s3control/snapshot/api_op_UntagResource.go.snap index 8d91bd0d90d..ccb452faf7a 100644 --- a/service/s3control/snapshot/api_op_UntagResource.go.snap +++ b/service/s3control/snapshot/api_op_UntagResource.go.snap @@ -20,7 +20,6 @@ UntagResource stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_UpdateAccessGrantsLocation.go.snap b/service/s3control/snapshot/api_op_UpdateAccessGrantsLocation.go.snap index 4ec9739f99f..401bba468ba 100644 --- a/service/s3control/snapshot/api_op_UpdateAccessGrantsLocation.go.snap +++ b/service/s3control/snapshot/api_op_UpdateAccessGrantsLocation.go.snap @@ -21,7 +21,6 @@ UpdateAccessGrantsLocation ContentChecksum ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_UpdateJobPriority.go.snap b/service/s3control/snapshot/api_op_UpdateJobPriority.go.snap index 4d6cfdf699a..17ed4a4abf5 100644 --- a/service/s3control/snapshot/api_op_UpdateJobPriority.go.snap +++ b/service/s3control/snapshot/api_op_UpdateJobPriority.go.snap @@ -20,7 +20,6 @@ UpdateJobPriority stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_UpdateJobStatus.go.snap b/service/s3control/snapshot/api_op_UpdateJobStatus.go.snap index a5514f753e5..377472d1dbf 100644 --- a/service/s3control/snapshot/api_op_UpdateJobStatus.go.snap +++ b/service/s3control/snapshot/api_op_UpdateJobStatus.go.snap @@ -20,7 +20,6 @@ UpdateJobStatus stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3control/snapshot/api_op_UpdateStorageLensGroup.go.snap b/service/s3control/snapshot/api_op_UpdateStorageLensGroup.go.snap index 220bada8d7e..97dca103717 100644 --- a/service/s3control/snapshot/api_op_UpdateStorageLensGroup.go.snap +++ b/service/s3control/snapshot/api_op_UpdateStorageLensGroup.go.snap @@ -20,7 +20,6 @@ UpdateStorageLensGroup stashOperationInput ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3outposts/api_client.go b/service/s3outposts/api_client.go index e950e74a3dc..2777d555323 100644 --- a/service/s3outposts/api_client.go +++ b/service/s3outposts/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/s3outposts/api_op_CreateEndpoint.go b/service/s3outposts/api_op_CreateEndpoint.go index 178df3c96f4..5041fd565d0 100644 --- a/service/s3outposts/api_op_CreateEndpoint.go +++ b/service/s3outposts/api_op_CreateEndpoint.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCreateEndpointMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3outposts/api_op_DeleteEndpoint.go b/service/s3outposts/api_op_DeleteEndpoint.go index f26f411f48a..49400dcbada 100644 --- a/service/s3outposts/api_op_DeleteEndpoint.go +++ b/service/s3outposts/api_op_DeleteEndpoint.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteEndpointMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3outposts/api_op_ListEndpoints.go b/service/s3outposts/api_op_ListEndpoints.go index caf27bcd8db..057a40f7c4f 100644 --- a/service/s3outposts/api_op_ListEndpoints.go +++ b/service/s3outposts/api_op_ListEndpoints.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListEndpointsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEndpoints(options.Region), middleware.Before); err != nil { return err } diff --git a/service/s3outposts/api_op_ListOutpostsWithS3.go b/service/s3outposts/api_op_ListOutpostsWithS3.go index 8404782ba95..e92d48c0a09 100644 --- a/service/s3outposts/api_op_ListOutpostsWithS3.go +++ b/service/s3outposts/api_op_ListOutpostsWithS3.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListOutpostsWithS3Middlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOutpostsWithS3(options.Region), middleware.Before); err != nil { return err } diff --git a/service/s3outposts/api_op_ListSharedEndpoints.go b/service/s3outposts/api_op_ListSharedEndpoints.go index 18cba6c1c52..e81722d05ca 100644 --- a/service/s3outposts/api_op_ListSharedEndpoints.go +++ b/service/s3outposts/api_op_ListSharedEndpoints.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListSharedEndpointsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSharedEndpointsValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3outposts/snapshot/api_op_CreateEndpoint.go.snap b/service/s3outposts/snapshot/api_op_CreateEndpoint.go.snap index 129d39a9428..a5f0c702323 100644 --- a/service/s3outposts/snapshot/api_op_CreateEndpoint.go.snap +++ b/service/s3outposts/snapshot/api_op_CreateEndpoint.go.snap @@ -14,7 +14,6 @@ CreateEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3outposts/snapshot/api_op_DeleteEndpoint.go.snap b/service/s3outposts/snapshot/api_op_DeleteEndpoint.go.snap index 0f46907f489..c4648fb3e07 100644 --- a/service/s3outposts/snapshot/api_op_DeleteEndpoint.go.snap +++ b/service/s3outposts/snapshot/api_op_DeleteEndpoint.go.snap @@ -14,7 +14,6 @@ DeleteEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3outposts/snapshot/api_op_ListEndpoints.go.snap b/service/s3outposts/snapshot/api_op_ListEndpoints.go.snap index fddafef9d64..69f14ef29c5 100644 --- a/service/s3outposts/snapshot/api_op_ListEndpoints.go.snap +++ b/service/s3outposts/snapshot/api_op_ListEndpoints.go.snap @@ -13,7 +13,6 @@ ListEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3outposts/snapshot/api_op_ListOutpostsWithS3.go.snap b/service/s3outposts/snapshot/api_op_ListOutpostsWithS3.go.snap index 89987eaf629..dd69fd71fa9 100644 --- a/service/s3outposts/snapshot/api_op_ListOutpostsWithS3.go.snap +++ b/service/s3outposts/snapshot/api_op_ListOutpostsWithS3.go.snap @@ -13,7 +13,6 @@ ListOutpostsWithS3 Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3outposts/snapshot/api_op_ListSharedEndpoints.go.snap b/service/s3outposts/snapshot/api_op_ListSharedEndpoints.go.snap index 745affcb080..caa8b9b9dd1 100644 --- a/service/s3outposts/snapshot/api_op_ListSharedEndpoints.go.snap +++ b/service/s3outposts/snapshot/api_op_ListSharedEndpoints.go.snap @@ -14,7 +14,6 @@ ListSharedEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3tables/api_client.go b/service/s3tables/api_client.go index 89dbe4da70e..ac8e3bc283c 100644 --- a/service/s3tables/api_client.go +++ b/service/s3tables/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/s3tables/api_op_CreateNamespace.go b/service/s3tables/api_op_CreateNamespace.go index 0fd9939fa01..2bee63de9e4 100644 --- a/service/s3tables/api_op_CreateNamespace.go +++ b/service/s3tables/api_op_CreateNamespace.go @@ -130,9 +130,6 @@ func (c *Client) addOperationCreateNamespaceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateNamespaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3tables/api_op_CreateTable.go b/service/s3tables/api_op_CreateTable.go index b332822214d..233b07a3b2b 100644 --- a/service/s3tables/api_op_CreateTable.go +++ b/service/s3tables/api_op_CreateTable.go @@ -146,9 +146,6 @@ func (c *Client) addOperationCreateTableMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3tables/api_op_CreateTableBucket.go b/service/s3tables/api_op_CreateTableBucket.go index e91fe86b30d..d90601e8a99 100644 --- a/service/s3tables/api_op_CreateTableBucket.go +++ b/service/s3tables/api_op_CreateTableBucket.go @@ -119,9 +119,6 @@ func (c *Client) addOperationCreateTableBucketMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTableBucketValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3tables/api_op_DeleteNamespace.go b/service/s3tables/api_op_DeleteNamespace.go index cd0134c19ba..84ddf91ca3f 100644 --- a/service/s3tables/api_op_DeleteNamespace.go +++ b/service/s3tables/api_op_DeleteNamespace.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteNamespaceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteNamespaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3tables/api_op_DeleteTable.go b/service/s3tables/api_op_DeleteTable.go index 115d9235f05..1e2faafb766 100644 --- a/service/s3tables/api_op_DeleteTable.go +++ b/service/s3tables/api_op_DeleteTable.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDeleteTableMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3tables/api_op_DeleteTableBucket.go b/service/s3tables/api_op_DeleteTableBucket.go index 3b8e203ee04..6641eb3884b 100644 --- a/service/s3tables/api_op_DeleteTableBucket.go +++ b/service/s3tables/api_op_DeleteTableBucket.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteTableBucketMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTableBucketValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3tables/api_op_DeleteTableBucketPolicy.go b/service/s3tables/api_op_DeleteTableBucketPolicy.go index 473375a0d72..67365d7f4f7 100644 --- a/service/s3tables/api_op_DeleteTableBucketPolicy.go +++ b/service/s3tables/api_op_DeleteTableBucketPolicy.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteTableBucketPolicyMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTableBucketPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3tables/api_op_DeleteTablePolicy.go b/service/s3tables/api_op_DeleteTablePolicy.go index a1339275481..b7c8e8a0f7b 100644 --- a/service/s3tables/api_op_DeleteTablePolicy.go +++ b/service/s3tables/api_op_DeleteTablePolicy.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteTablePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTablePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3tables/api_op_GetNamespace.go b/service/s3tables/api_op_GetNamespace.go index b856c85a4ec..17b872558f2 100644 --- a/service/s3tables/api_op_GetNamespace.go +++ b/service/s3tables/api_op_GetNamespace.go @@ -140,9 +140,6 @@ func (c *Client) addOperationGetNamespaceMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetNamespaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3tables/api_op_GetTable.go b/service/s3tables/api_op_GetTable.go index ef2e6130fd1..9ca8a6f0b17 100644 --- a/service/s3tables/api_op_GetTable.go +++ b/service/s3tables/api_op_GetTable.go @@ -192,9 +192,6 @@ func (c *Client) addOperationGetTableMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3tables/api_op_GetTableBucket.go b/service/s3tables/api_op_GetTableBucket.go index a6dea41fe2f..f3a12f21bb1 100644 --- a/service/s3tables/api_op_GetTableBucket.go +++ b/service/s3tables/api_op_GetTableBucket.go @@ -135,9 +135,6 @@ func (c *Client) addOperationGetTableBucketMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTableBucketValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3tables/api_op_GetTableBucketMaintenanceConfiguration.go b/service/s3tables/api_op_GetTableBucketMaintenanceConfiguration.go index e0ab73cf7e4..ab80e2f933a 100644 --- a/service/s3tables/api_op_GetTableBucketMaintenanceConfiguration.go +++ b/service/s3tables/api_op_GetTableBucketMaintenanceConfiguration.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetTableBucketMaintenanceConfigurationMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTableBucketMaintenanceConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3tables/api_op_GetTableBucketPolicy.go b/service/s3tables/api_op_GetTableBucketPolicy.go index 5b77c5b5bbc..3eca4cefd12 100644 --- a/service/s3tables/api_op_GetTableBucketPolicy.go +++ b/service/s3tables/api_op_GetTableBucketPolicy.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetTableBucketPolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTableBucketPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3tables/api_op_GetTableMaintenanceConfiguration.go b/service/s3tables/api_op_GetTableMaintenanceConfiguration.go index b0ec2e15f72..f64523f83e0 100644 --- a/service/s3tables/api_op_GetTableMaintenanceConfiguration.go +++ b/service/s3tables/api_op_GetTableMaintenanceConfiguration.go @@ -135,9 +135,6 @@ func (c *Client) addOperationGetTableMaintenanceConfigurationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTableMaintenanceConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3tables/api_op_GetTableMaintenanceJobStatus.go b/service/s3tables/api_op_GetTableMaintenanceJobStatus.go index 582851e86a7..19ca2a3722b 100644 --- a/service/s3tables/api_op_GetTableMaintenanceJobStatus.go +++ b/service/s3tables/api_op_GetTableMaintenanceJobStatus.go @@ -135,9 +135,6 @@ func (c *Client) addOperationGetTableMaintenanceJobStatusMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTableMaintenanceJobStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3tables/api_op_GetTableMetadataLocation.go b/service/s3tables/api_op_GetTableMetadataLocation.go index eb4efce936b..fcdee64ef01 100644 --- a/service/s3tables/api_op_GetTableMetadataLocation.go +++ b/service/s3tables/api_op_GetTableMetadataLocation.go @@ -134,9 +134,6 @@ func (c *Client) addOperationGetTableMetadataLocationMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTableMetadataLocationValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3tables/api_op_GetTablePolicy.go b/service/s3tables/api_op_GetTablePolicy.go index 136028d6c04..b50019907d2 100644 --- a/service/s3tables/api_op_GetTablePolicy.go +++ b/service/s3tables/api_op_GetTablePolicy.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGetTablePolicyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTablePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3tables/api_op_ListNamespaces.go b/service/s3tables/api_op_ListNamespaces.go index bac30e347db..18b689595a3 100644 --- a/service/s3tables/api_op_ListNamespaces.go +++ b/service/s3tables/api_op_ListNamespaces.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListNamespacesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListNamespacesValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3tables/api_op_ListTableBuckets.go b/service/s3tables/api_op_ListTableBuckets.go index 48117cc8512..60938f918a1 100644 --- a/service/s3tables/api_op_ListTableBuckets.go +++ b/service/s3tables/api_op_ListTableBuckets.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListTableBucketsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTableBuckets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/s3tables/api_op_ListTables.go b/service/s3tables/api_op_ListTables.go index 199973b826a..7b3d621b596 100644 --- a/service/s3tables/api_op_ListTables.go +++ b/service/s3tables/api_op_ListTables.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListTablesMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTablesValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3tables/api_op_PutTableBucketMaintenanceConfiguration.go b/service/s3tables/api_op_PutTableBucketMaintenanceConfiguration.go index 85274355c7c..690557ca6c9 100644 --- a/service/s3tables/api_op_PutTableBucketMaintenanceConfiguration.go +++ b/service/s3tables/api_op_PutTableBucketMaintenanceConfiguration.go @@ -126,9 +126,6 @@ func (c *Client) addOperationPutTableBucketMaintenanceConfigurationMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutTableBucketMaintenanceConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3tables/api_op_PutTableBucketPolicy.go b/service/s3tables/api_op_PutTableBucketPolicy.go index 41357f2c85d..391b4547e21 100644 --- a/service/s3tables/api_op_PutTableBucketPolicy.go +++ b/service/s3tables/api_op_PutTableBucketPolicy.go @@ -119,9 +119,6 @@ func (c *Client) addOperationPutTableBucketPolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutTableBucketPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3tables/api_op_PutTableMaintenanceConfiguration.go b/service/s3tables/api_op_PutTableMaintenanceConfiguration.go index 1ffa254060e..6892230e8f9 100644 --- a/service/s3tables/api_op_PutTableMaintenanceConfiguration.go +++ b/service/s3tables/api_op_PutTableMaintenanceConfiguration.go @@ -136,9 +136,6 @@ func (c *Client) addOperationPutTableMaintenanceConfigurationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutTableMaintenanceConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3tables/api_op_PutTablePolicy.go b/service/s3tables/api_op_PutTablePolicy.go index aa841bd671d..f4d2551fb2e 100644 --- a/service/s3tables/api_op_PutTablePolicy.go +++ b/service/s3tables/api_op_PutTablePolicy.go @@ -129,9 +129,6 @@ func (c *Client) addOperationPutTablePolicyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutTablePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3tables/api_op_RenameTable.go b/service/s3tables/api_op_RenameTable.go index bbbc36c2833..ccff6f54515 100644 --- a/service/s3tables/api_op_RenameTable.go +++ b/service/s3tables/api_op_RenameTable.go @@ -132,9 +132,6 @@ func (c *Client) addOperationRenameTableMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRenameTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3tables/api_op_UpdateTableMetadataLocation.go b/service/s3tables/api_op_UpdateTableMetadataLocation.go index 4fdf404064e..304781173d6 100644 --- a/service/s3tables/api_op_UpdateTableMetadataLocation.go +++ b/service/s3tables/api_op_UpdateTableMetadataLocation.go @@ -159,9 +159,6 @@ func (c *Client) addOperationUpdateTableMetadataLocationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTableMetadataLocationValidationMiddleware(stack); err != nil { return err } diff --git a/service/s3tables/snapshot/api_op_CreateNamespace.go.snap b/service/s3tables/snapshot/api_op_CreateNamespace.go.snap index 36e21aff687..be14144a32f 100644 --- a/service/s3tables/snapshot/api_op_CreateNamespace.go.snap +++ b/service/s3tables/snapshot/api_op_CreateNamespace.go.snap @@ -14,7 +14,6 @@ CreateNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3tables/snapshot/api_op_CreateTable.go.snap b/service/s3tables/snapshot/api_op_CreateTable.go.snap index 745172d72b8..9c4e81458fc 100644 --- a/service/s3tables/snapshot/api_op_CreateTable.go.snap +++ b/service/s3tables/snapshot/api_op_CreateTable.go.snap @@ -14,7 +14,6 @@ CreateTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3tables/snapshot/api_op_CreateTableBucket.go.snap b/service/s3tables/snapshot/api_op_CreateTableBucket.go.snap index 1c543dd9bbd..4eb1463d504 100644 --- a/service/s3tables/snapshot/api_op_CreateTableBucket.go.snap +++ b/service/s3tables/snapshot/api_op_CreateTableBucket.go.snap @@ -14,7 +14,6 @@ CreateTableBucket Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3tables/snapshot/api_op_DeleteNamespace.go.snap b/service/s3tables/snapshot/api_op_DeleteNamespace.go.snap index fc3c23b4082..2b81737a0c2 100644 --- a/service/s3tables/snapshot/api_op_DeleteNamespace.go.snap +++ b/service/s3tables/snapshot/api_op_DeleteNamespace.go.snap @@ -14,7 +14,6 @@ DeleteNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3tables/snapshot/api_op_DeleteTable.go.snap b/service/s3tables/snapshot/api_op_DeleteTable.go.snap index 470594fe04f..33786026b1d 100644 --- a/service/s3tables/snapshot/api_op_DeleteTable.go.snap +++ b/service/s3tables/snapshot/api_op_DeleteTable.go.snap @@ -14,7 +14,6 @@ DeleteTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3tables/snapshot/api_op_DeleteTableBucket.go.snap b/service/s3tables/snapshot/api_op_DeleteTableBucket.go.snap index b38072552c2..1c82cf26b8f 100644 --- a/service/s3tables/snapshot/api_op_DeleteTableBucket.go.snap +++ b/service/s3tables/snapshot/api_op_DeleteTableBucket.go.snap @@ -14,7 +14,6 @@ DeleteTableBucket Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3tables/snapshot/api_op_DeleteTableBucketPolicy.go.snap b/service/s3tables/snapshot/api_op_DeleteTableBucketPolicy.go.snap index 4fe49ca8ded..caf5798a39d 100644 --- a/service/s3tables/snapshot/api_op_DeleteTableBucketPolicy.go.snap +++ b/service/s3tables/snapshot/api_op_DeleteTableBucketPolicy.go.snap @@ -14,7 +14,6 @@ DeleteTableBucketPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3tables/snapshot/api_op_DeleteTablePolicy.go.snap b/service/s3tables/snapshot/api_op_DeleteTablePolicy.go.snap index 61fb8fdf878..4d936957983 100644 --- a/service/s3tables/snapshot/api_op_DeleteTablePolicy.go.snap +++ b/service/s3tables/snapshot/api_op_DeleteTablePolicy.go.snap @@ -14,7 +14,6 @@ DeleteTablePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3tables/snapshot/api_op_GetNamespace.go.snap b/service/s3tables/snapshot/api_op_GetNamespace.go.snap index 67d3502b29e..694c5c5dc96 100644 --- a/service/s3tables/snapshot/api_op_GetNamespace.go.snap +++ b/service/s3tables/snapshot/api_op_GetNamespace.go.snap @@ -14,7 +14,6 @@ GetNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3tables/snapshot/api_op_GetTable.go.snap b/service/s3tables/snapshot/api_op_GetTable.go.snap index 5566367ab4e..af9c480381f 100644 --- a/service/s3tables/snapshot/api_op_GetTable.go.snap +++ b/service/s3tables/snapshot/api_op_GetTable.go.snap @@ -14,7 +14,6 @@ GetTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3tables/snapshot/api_op_GetTableBucket.go.snap b/service/s3tables/snapshot/api_op_GetTableBucket.go.snap index 9b870bfe7fe..b7102d4f20f 100644 --- a/service/s3tables/snapshot/api_op_GetTableBucket.go.snap +++ b/service/s3tables/snapshot/api_op_GetTableBucket.go.snap @@ -14,7 +14,6 @@ GetTableBucket Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3tables/snapshot/api_op_GetTableBucketMaintenanceConfiguration.go.snap b/service/s3tables/snapshot/api_op_GetTableBucketMaintenanceConfiguration.go.snap index b6cbb21a8b5..abff2eedbe5 100644 --- a/service/s3tables/snapshot/api_op_GetTableBucketMaintenanceConfiguration.go.snap +++ b/service/s3tables/snapshot/api_op_GetTableBucketMaintenanceConfiguration.go.snap @@ -14,7 +14,6 @@ GetTableBucketMaintenanceConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3tables/snapshot/api_op_GetTableBucketPolicy.go.snap b/service/s3tables/snapshot/api_op_GetTableBucketPolicy.go.snap index 25e524f1152..b3eb8a609ff 100644 --- a/service/s3tables/snapshot/api_op_GetTableBucketPolicy.go.snap +++ b/service/s3tables/snapshot/api_op_GetTableBucketPolicy.go.snap @@ -14,7 +14,6 @@ GetTableBucketPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3tables/snapshot/api_op_GetTableMaintenanceConfiguration.go.snap b/service/s3tables/snapshot/api_op_GetTableMaintenanceConfiguration.go.snap index 67541dfec9e..b1d462cf0d9 100644 --- a/service/s3tables/snapshot/api_op_GetTableMaintenanceConfiguration.go.snap +++ b/service/s3tables/snapshot/api_op_GetTableMaintenanceConfiguration.go.snap @@ -14,7 +14,6 @@ GetTableMaintenanceConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3tables/snapshot/api_op_GetTableMaintenanceJobStatus.go.snap b/service/s3tables/snapshot/api_op_GetTableMaintenanceJobStatus.go.snap index cc7f330e94e..4620788b752 100644 --- a/service/s3tables/snapshot/api_op_GetTableMaintenanceJobStatus.go.snap +++ b/service/s3tables/snapshot/api_op_GetTableMaintenanceJobStatus.go.snap @@ -14,7 +14,6 @@ GetTableMaintenanceJobStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3tables/snapshot/api_op_GetTableMetadataLocation.go.snap b/service/s3tables/snapshot/api_op_GetTableMetadataLocation.go.snap index 63c15ad4d3c..cf496f4eb69 100644 --- a/service/s3tables/snapshot/api_op_GetTableMetadataLocation.go.snap +++ b/service/s3tables/snapshot/api_op_GetTableMetadataLocation.go.snap @@ -14,7 +14,6 @@ GetTableMetadataLocation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3tables/snapshot/api_op_GetTablePolicy.go.snap b/service/s3tables/snapshot/api_op_GetTablePolicy.go.snap index 5911ccb1239..55305506d8e 100644 --- a/service/s3tables/snapshot/api_op_GetTablePolicy.go.snap +++ b/service/s3tables/snapshot/api_op_GetTablePolicy.go.snap @@ -14,7 +14,6 @@ GetTablePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3tables/snapshot/api_op_ListNamespaces.go.snap b/service/s3tables/snapshot/api_op_ListNamespaces.go.snap index 83483964796..73a113a8bd8 100644 --- a/service/s3tables/snapshot/api_op_ListNamespaces.go.snap +++ b/service/s3tables/snapshot/api_op_ListNamespaces.go.snap @@ -14,7 +14,6 @@ ListNamespaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3tables/snapshot/api_op_ListTableBuckets.go.snap b/service/s3tables/snapshot/api_op_ListTableBuckets.go.snap index f3d5cf762ac..d08159d23a0 100644 --- a/service/s3tables/snapshot/api_op_ListTableBuckets.go.snap +++ b/service/s3tables/snapshot/api_op_ListTableBuckets.go.snap @@ -13,7 +13,6 @@ ListTableBuckets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3tables/snapshot/api_op_ListTables.go.snap b/service/s3tables/snapshot/api_op_ListTables.go.snap index 700533870a9..9575d9a9ad7 100644 --- a/service/s3tables/snapshot/api_op_ListTables.go.snap +++ b/service/s3tables/snapshot/api_op_ListTables.go.snap @@ -14,7 +14,6 @@ ListTables Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3tables/snapshot/api_op_PutTableBucketMaintenanceConfiguration.go.snap b/service/s3tables/snapshot/api_op_PutTableBucketMaintenanceConfiguration.go.snap index 7572acfa679..f7fbadbe128 100644 --- a/service/s3tables/snapshot/api_op_PutTableBucketMaintenanceConfiguration.go.snap +++ b/service/s3tables/snapshot/api_op_PutTableBucketMaintenanceConfiguration.go.snap @@ -14,7 +14,6 @@ PutTableBucketMaintenanceConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3tables/snapshot/api_op_PutTableBucketPolicy.go.snap b/service/s3tables/snapshot/api_op_PutTableBucketPolicy.go.snap index 5acdfbbe534..44d662f82a2 100644 --- a/service/s3tables/snapshot/api_op_PutTableBucketPolicy.go.snap +++ b/service/s3tables/snapshot/api_op_PutTableBucketPolicy.go.snap @@ -14,7 +14,6 @@ PutTableBucketPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3tables/snapshot/api_op_PutTableMaintenanceConfiguration.go.snap b/service/s3tables/snapshot/api_op_PutTableMaintenanceConfiguration.go.snap index 38f11e74c34..007fb4a139f 100644 --- a/service/s3tables/snapshot/api_op_PutTableMaintenanceConfiguration.go.snap +++ b/service/s3tables/snapshot/api_op_PutTableMaintenanceConfiguration.go.snap @@ -14,7 +14,6 @@ PutTableMaintenanceConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3tables/snapshot/api_op_PutTablePolicy.go.snap b/service/s3tables/snapshot/api_op_PutTablePolicy.go.snap index ae70abf5c4f..a10ed4f6929 100644 --- a/service/s3tables/snapshot/api_op_PutTablePolicy.go.snap +++ b/service/s3tables/snapshot/api_op_PutTablePolicy.go.snap @@ -14,7 +14,6 @@ PutTablePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3tables/snapshot/api_op_RenameTable.go.snap b/service/s3tables/snapshot/api_op_RenameTable.go.snap index 8953c69a011..c3412df4b71 100644 --- a/service/s3tables/snapshot/api_op_RenameTable.go.snap +++ b/service/s3tables/snapshot/api_op_RenameTable.go.snap @@ -14,7 +14,6 @@ RenameTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/s3tables/snapshot/api_op_UpdateTableMetadataLocation.go.snap b/service/s3tables/snapshot/api_op_UpdateTableMetadataLocation.go.snap index ca8e0452a78..6fab3461f24 100644 --- a/service/s3tables/snapshot/api_op_UpdateTableMetadataLocation.go.snap +++ b/service/s3tables/snapshot/api_op_UpdateTableMetadataLocation.go.snap @@ -14,7 +14,6 @@ UpdateTableMetadataLocation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/api_client.go b/service/sagemaker/api_client.go index d37d65bfd1f..6d36e225698 100644 --- a/service/sagemaker/api_client.go +++ b/service/sagemaker/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/sagemaker/api_op_AddAssociation.go b/service/sagemaker/api_op_AddAssociation.go index 98456207be0..6b587068fe6 100644 --- a/service/sagemaker/api_op_AddAssociation.go +++ b/service/sagemaker/api_op_AddAssociation.go @@ -143,9 +143,6 @@ func (c *Client) addOperationAddAssociationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_AddTags.go b/service/sagemaker/api_op_AddTags.go index ec46e97c4d0..2cb289408bf 100644 --- a/service/sagemaker/api_op_AddTags.go +++ b/service/sagemaker/api_op_AddTags.go @@ -148,9 +148,6 @@ func (c *Client) addOperationAddTagsMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_AssociateTrialComponent.go b/service/sagemaker/api_op_AssociateTrialComponent.go index 88f7a526459..d61a67eaae8 100644 --- a/service/sagemaker/api_op_AssociateTrialComponent.go +++ b/service/sagemaker/api_op_AssociateTrialComponent.go @@ -123,9 +123,6 @@ func (c *Client) addOperationAssociateTrialComponentMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateTrialComponentValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_BatchDeleteClusterNodes.go b/service/sagemaker/api_op_BatchDeleteClusterNodes.go index 5d4b62d8c95..dfb85e65cca 100644 --- a/service/sagemaker/api_op_BatchDeleteClusterNodes.go +++ b/service/sagemaker/api_op_BatchDeleteClusterNodes.go @@ -138,9 +138,6 @@ func (c *Client) addOperationBatchDeleteClusterNodesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDeleteClusterNodesValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_BatchDescribeModelPackage.go b/service/sagemaker/api_op_BatchDescribeModelPackage.go index d0aa76c7172..7619fa644ca 100644 --- a/service/sagemaker/api_op_BatchDescribeModelPackage.go +++ b/service/sagemaker/api_op_BatchDescribeModelPackage.go @@ -116,9 +116,6 @@ func (c *Client) addOperationBatchDescribeModelPackageMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDescribeModelPackageValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateAction.go b/service/sagemaker/api_op_CreateAction.go index f80b8fd1ede..4612cd99c5d 100644 --- a/service/sagemaker/api_op_CreateAction.go +++ b/service/sagemaker/api_op_CreateAction.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCreateActionMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateAlgorithm.go b/service/sagemaker/api_op_CreateAlgorithm.go index e6ca4eee772..60ca50598e7 100644 --- a/service/sagemaker/api_op_CreateAlgorithm.go +++ b/service/sagemaker/api_op_CreateAlgorithm.go @@ -170,9 +170,6 @@ func (c *Client) addOperationCreateAlgorithmMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAlgorithmValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateApp.go b/service/sagemaker/api_op_CreateApp.go index fc732687d03..9fc131609d8 100644 --- a/service/sagemaker/api_op_CreateApp.go +++ b/service/sagemaker/api_op_CreateApp.go @@ -146,9 +146,6 @@ func (c *Client) addOperationCreateAppMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAppValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateAppImageConfig.go b/service/sagemaker/api_op_CreateAppImageConfig.go index 8c8a2cf3ae8..5c8050130ef 100644 --- a/service/sagemaker/api_op_CreateAppImageConfig.go +++ b/service/sagemaker/api_op_CreateAppImageConfig.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateAppImageConfigMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAppImageConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateArtifact.go b/service/sagemaker/api_op_CreateArtifact.go index 828b31f262a..cbebede565c 100644 --- a/service/sagemaker/api_op_CreateArtifact.go +++ b/service/sagemaker/api_op_CreateArtifact.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCreateArtifactMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateArtifactValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateAutoMLJob.go b/service/sagemaker/api_op_CreateAutoMLJob.go index d0488d38f53..56e7eee5e9c 100644 --- a/service/sagemaker/api_op_CreateAutoMLJob.go +++ b/service/sagemaker/api_op_CreateAutoMLJob.go @@ -202,9 +202,6 @@ func (c *Client) addOperationCreateAutoMLJobMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAutoMLJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateAutoMLJobV2.go b/service/sagemaker/api_op_CreateAutoMLJobV2.go index 52404d03a0c..003fe18a773 100644 --- a/service/sagemaker/api_op_CreateAutoMLJobV2.go +++ b/service/sagemaker/api_op_CreateAutoMLJobV2.go @@ -244,9 +244,6 @@ func (c *Client) addOperationCreateAutoMLJobV2Middlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAutoMLJobV2ValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateCluster.go b/service/sagemaker/api_op_CreateCluster.go index c487bae8e28..b9af2d78559 100644 --- a/service/sagemaker/api_op_CreateCluster.go +++ b/service/sagemaker/api_op_CreateCluster.go @@ -173,9 +173,6 @@ func (c *Client) addOperationCreateClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateClusterSchedulerConfig.go b/service/sagemaker/api_op_CreateClusterSchedulerConfig.go index c437a5abb3d..1fe561915db 100644 --- a/service/sagemaker/api_op_CreateClusterSchedulerConfig.go +++ b/service/sagemaker/api_op_CreateClusterSchedulerConfig.go @@ -137,9 +137,6 @@ func (c *Client) addOperationCreateClusterSchedulerConfigMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateClusterSchedulerConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateCodeRepository.go b/service/sagemaker/api_op_CreateCodeRepository.go index c935e750d10..2b6c4780164 100644 --- a/service/sagemaker/api_op_CreateCodeRepository.go +++ b/service/sagemaker/api_op_CreateCodeRepository.go @@ -137,9 +137,6 @@ func (c *Client) addOperationCreateCodeRepositoryMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCodeRepositoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateCompilationJob.go b/service/sagemaker/api_op_CreateCompilationJob.go index 3dc4c3dccf4..fa81a9553c4 100644 --- a/service/sagemaker/api_op_CreateCompilationJob.go +++ b/service/sagemaker/api_op_CreateCompilationJob.go @@ -210,9 +210,6 @@ func (c *Client) addOperationCreateCompilationJobMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCompilationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateComputeQuota.go b/service/sagemaker/api_op_CreateComputeQuota.go index b460a0cbacf..8c26179becc 100644 --- a/service/sagemaker/api_op_CreateComputeQuota.go +++ b/service/sagemaker/api_op_CreateComputeQuota.go @@ -149,9 +149,6 @@ func (c *Client) addOperationCreateComputeQuotaMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateComputeQuotaValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateContext.go b/service/sagemaker/api_op_CreateContext.go index 66ae56d9c8c..f89600f0cea 100644 --- a/service/sagemaker/api_op_CreateContext.go +++ b/service/sagemaker/api_op_CreateContext.go @@ -136,9 +136,6 @@ func (c *Client) addOperationCreateContextMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateContextValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateDataQualityJobDefinition.go b/service/sagemaker/api_op_CreateDataQualityJobDefinition.go index 43e09fb7616..f6b2129185d 100644 --- a/service/sagemaker/api_op_CreateDataQualityJobDefinition.go +++ b/service/sagemaker/api_op_CreateDataQualityJobDefinition.go @@ -159,9 +159,6 @@ func (c *Client) addOperationCreateDataQualityJobDefinitionMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDataQualityJobDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateDeviceFleet.go b/service/sagemaker/api_op_CreateDeviceFleet.go index 6f8e1cca180..a59271eea14 100644 --- a/service/sagemaker/api_op_CreateDeviceFleet.go +++ b/service/sagemaker/api_op_CreateDeviceFleet.go @@ -131,9 +131,6 @@ func (c *Client) addOperationCreateDeviceFleetMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDeviceFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateDomain.go b/service/sagemaker/api_op_CreateDomain.go index d75f6197153..7b9b05a53a0 100644 --- a/service/sagemaker/api_op_CreateDomain.go +++ b/service/sagemaker/api_op_CreateDomain.go @@ -229,9 +229,6 @@ func (c *Client) addOperationCreateDomainMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateEdgeDeploymentPlan.go b/service/sagemaker/api_op_CreateEdgeDeploymentPlan.go index acec07919af..ab2e9192be5 100644 --- a/service/sagemaker/api_op_CreateEdgeDeploymentPlan.go +++ b/service/sagemaker/api_op_CreateEdgeDeploymentPlan.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateEdgeDeploymentPlanMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEdgeDeploymentPlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateEdgeDeploymentStage.go b/service/sagemaker/api_op_CreateEdgeDeploymentStage.go index 6f19c51fb28..632a82a0104 100644 --- a/service/sagemaker/api_op_CreateEdgeDeploymentStage.go +++ b/service/sagemaker/api_op_CreateEdgeDeploymentStage.go @@ -113,9 +113,6 @@ func (c *Client) addOperationCreateEdgeDeploymentStageMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEdgeDeploymentStageValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateEdgePackagingJob.go b/service/sagemaker/api_op_CreateEdgePackagingJob.go index f2d0ca24503..bab13e07843 100644 --- a/service/sagemaker/api_op_CreateEdgePackagingJob.go +++ b/service/sagemaker/api_op_CreateEdgePackagingJob.go @@ -145,9 +145,6 @@ func (c *Client) addOperationCreateEdgePackagingJobMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEdgePackagingJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateEndpoint.go b/service/sagemaker/api_op_CreateEndpoint.go index b9b753beaaa..2e503fb9e89 100644 --- a/service/sagemaker/api_op_CreateEndpoint.go +++ b/service/sagemaker/api_op_CreateEndpoint.go @@ -206,9 +206,6 @@ func (c *Client) addOperationCreateEndpointMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateEndpointConfig.go b/service/sagemaker/api_op_CreateEndpointConfig.go index e57646d51f1..73cdb59bf0d 100644 --- a/service/sagemaker/api_op_CreateEndpointConfig.go +++ b/service/sagemaker/api_op_CreateEndpointConfig.go @@ -237,9 +237,6 @@ func (c *Client) addOperationCreateEndpointConfigMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEndpointConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateExperiment.go b/service/sagemaker/api_op_CreateExperiment.go index 14cc2ac826b..e57f29730d1 100644 --- a/service/sagemaker/api_op_CreateExperiment.go +++ b/service/sagemaker/api_op_CreateExperiment.go @@ -159,9 +159,6 @@ func (c *Client) addOperationCreateExperimentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateExperimentValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateFeatureGroup.go b/service/sagemaker/api_op_CreateFeatureGroup.go index ecad4c416b4..201eb2b1ba3 100644 --- a/service/sagemaker/api_op_CreateFeatureGroup.go +++ b/service/sagemaker/api_op_CreateFeatureGroup.go @@ -244,9 +244,6 @@ func (c *Client) addOperationCreateFeatureGroupMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFeatureGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateFlowDefinition.go b/service/sagemaker/api_op_CreateFlowDefinition.go index 100cf500873..aa1b4e01554 100644 --- a/service/sagemaker/api_op_CreateFlowDefinition.go +++ b/service/sagemaker/api_op_CreateFlowDefinition.go @@ -144,9 +144,6 @@ func (c *Client) addOperationCreateFlowDefinitionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFlowDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateHub.go b/service/sagemaker/api_op_CreateHub.go index d965ececd8f..d36416003b5 100644 --- a/service/sagemaker/api_op_CreateHub.go +++ b/service/sagemaker/api_op_CreateHub.go @@ -131,9 +131,6 @@ func (c *Client) addOperationCreateHubMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateHubValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateHubContentReference.go b/service/sagemaker/api_op_CreateHubContentReference.go index 7703d7d579e..e5b4c5db7c4 100644 --- a/service/sagemaker/api_op_CreateHubContentReference.go +++ b/service/sagemaker/api_op_CreateHubContentReference.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCreateHubContentReferenceMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateHubContentReferenceValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateHumanTaskUi.go b/service/sagemaker/api_op_CreateHumanTaskUi.go index 0615a36e50f..3ddccec980b 100644 --- a/service/sagemaker/api_op_CreateHumanTaskUi.go +++ b/service/sagemaker/api_op_CreateHumanTaskUi.go @@ -127,9 +127,6 @@ func (c *Client) addOperationCreateHumanTaskUiMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateHumanTaskUiValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateHyperParameterTuningJob.go b/service/sagemaker/api_op_CreateHyperParameterTuningJob.go index 0042833acb5..9de3df4c8e7 100644 --- a/service/sagemaker/api_op_CreateHyperParameterTuningJob.go +++ b/service/sagemaker/api_op_CreateHyperParameterTuningJob.go @@ -219,9 +219,6 @@ func (c *Client) addOperationCreateHyperParameterTuningJobMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateHyperParameterTuningJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateImage.go b/service/sagemaker/api_op_CreateImage.go index 8d80074800f..e54710bb9d6 100644 --- a/service/sagemaker/api_op_CreateImage.go +++ b/service/sagemaker/api_op_CreateImage.go @@ -131,9 +131,6 @@ func (c *Client) addOperationCreateImageMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateImageValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateImageVersion.go b/service/sagemaker/api_op_CreateImageVersion.go index ff995971de7..cf8c4b34e5d 100644 --- a/service/sagemaker/api_op_CreateImageVersion.go +++ b/service/sagemaker/api_op_CreateImageVersion.go @@ -175,9 +175,6 @@ func (c *Client) addOperationCreateImageVersionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateImageVersionMiddleware(stack, options); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateInferenceComponent.go b/service/sagemaker/api_op_CreateInferenceComponent.go index 179fef441ab..68794836d02 100644 --- a/service/sagemaker/api_op_CreateInferenceComponent.go +++ b/service/sagemaker/api_op_CreateInferenceComponent.go @@ -146,9 +146,6 @@ func (c *Client) addOperationCreateInferenceComponentMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateInferenceComponentValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateInferenceExperiment.go b/service/sagemaker/api_op_CreateInferenceExperiment.go index b926c5fc2b7..3e60da961a8 100644 --- a/service/sagemaker/api_op_CreateInferenceExperiment.go +++ b/service/sagemaker/api_op_CreateInferenceExperiment.go @@ -231,9 +231,6 @@ func (c *Client) addOperationCreateInferenceExperimentMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateInferenceExperimentValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateInferenceRecommendationsJob.go b/service/sagemaker/api_op_CreateInferenceRecommendationsJob.go index 5dd221f0ff6..d4923522d9e 100644 --- a/service/sagemaker/api_op_CreateInferenceRecommendationsJob.go +++ b/service/sagemaker/api_op_CreateInferenceRecommendationsJob.go @@ -158,9 +158,6 @@ func (c *Client) addOperationCreateInferenceRecommendationsJobMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateInferenceRecommendationsJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateLabelingJob.go b/service/sagemaker/api_op_CreateLabelingJob.go index 3ba1feea7f1..39e5f7562d1 100644 --- a/service/sagemaker/api_op_CreateLabelingJob.go +++ b/service/sagemaker/api_op_CreateLabelingJob.go @@ -308,9 +308,6 @@ func (c *Client) addOperationCreateLabelingJobMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLabelingJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateMlflowTrackingServer.go b/service/sagemaker/api_op_CreateMlflowTrackingServer.go index 83d109e10ef..6042f2b3f3a 100644 --- a/service/sagemaker/api_op_CreateMlflowTrackingServer.go +++ b/service/sagemaker/api_op_CreateMlflowTrackingServer.go @@ -164,9 +164,6 @@ func (c *Client) addOperationCreateMlflowTrackingServerMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateMlflowTrackingServerValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateModel.go b/service/sagemaker/api_op_CreateModel.go index 4315617e84d..5ee15e1d715 100644 --- a/service/sagemaker/api_op_CreateModel.go +++ b/service/sagemaker/api_op_CreateModel.go @@ -180,9 +180,6 @@ func (c *Client) addOperationCreateModelMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateModelBiasJobDefinition.go b/service/sagemaker/api_op_CreateModelBiasJobDefinition.go index 92aee1a00bf..2daa7c6ae02 100644 --- a/service/sagemaker/api_op_CreateModelBiasJobDefinition.go +++ b/service/sagemaker/api_op_CreateModelBiasJobDefinition.go @@ -156,9 +156,6 @@ func (c *Client) addOperationCreateModelBiasJobDefinitionMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateModelBiasJobDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateModelCard.go b/service/sagemaker/api_op_CreateModelCard.go index 02925e229a3..bb41ceb2575 100644 --- a/service/sagemaker/api_op_CreateModelCard.go +++ b/service/sagemaker/api_op_CreateModelCard.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCreateModelCardMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateModelCardValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateModelCardExportJob.go b/service/sagemaker/api_op_CreateModelCardExportJob.go index 4f3c1c55e4e..a297824117b 100644 --- a/service/sagemaker/api_op_CreateModelCardExportJob.go +++ b/service/sagemaker/api_op_CreateModelCardExportJob.go @@ -129,9 +129,6 @@ func (c *Client) addOperationCreateModelCardExportJobMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateModelCardExportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateModelExplainabilityJobDefinition.go b/service/sagemaker/api_op_CreateModelExplainabilityJobDefinition.go index 96ed8433ace..5f07073fc2c 100644 --- a/service/sagemaker/api_op_CreateModelExplainabilityJobDefinition.go +++ b/service/sagemaker/api_op_CreateModelExplainabilityJobDefinition.go @@ -157,9 +157,6 @@ func (c *Client) addOperationCreateModelExplainabilityJobDefinitionMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateModelExplainabilityJobDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateModelPackage.go b/service/sagemaker/api_op_CreateModelPackage.go index f986a190b5b..f7f71b027db 100644 --- a/service/sagemaker/api_op_CreateModelPackage.go +++ b/service/sagemaker/api_op_CreateModelPackage.go @@ -261,9 +261,6 @@ func (c *Client) addOperationCreateModelPackageMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateModelPackageMiddleware(stack, options); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateModelPackageGroup.go b/service/sagemaker/api_op_CreateModelPackageGroup.go index 7bd3d15d70f..113050040c2 100644 --- a/service/sagemaker/api_op_CreateModelPackageGroup.go +++ b/service/sagemaker/api_op_CreateModelPackageGroup.go @@ -123,9 +123,6 @@ func (c *Client) addOperationCreateModelPackageGroupMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateModelPackageGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateModelQualityJobDefinition.go b/service/sagemaker/api_op_CreateModelQualityJobDefinition.go index 5a46c7327cb..31aa787204e 100644 --- a/service/sagemaker/api_op_CreateModelQualityJobDefinition.go +++ b/service/sagemaker/api_op_CreateModelQualityJobDefinition.go @@ -158,9 +158,6 @@ func (c *Client) addOperationCreateModelQualityJobDefinitionMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateModelQualityJobDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateMonitoringSchedule.go b/service/sagemaker/api_op_CreateMonitoringSchedule.go index 71d2aa4e891..0c3c05178da 100644 --- a/service/sagemaker/api_op_CreateMonitoringSchedule.go +++ b/service/sagemaker/api_op_CreateMonitoringSchedule.go @@ -128,9 +128,6 @@ func (c *Client) addOperationCreateMonitoringScheduleMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateMonitoringScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateNotebookInstance.go b/service/sagemaker/api_op_CreateNotebookInstance.go index 098c1b92e39..81782675931 100644 --- a/service/sagemaker/api_op_CreateNotebookInstance.go +++ b/service/sagemaker/api_op_CreateNotebookInstance.go @@ -257,9 +257,6 @@ func (c *Client) addOperationCreateNotebookInstanceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateNotebookInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateNotebookInstanceLifecycleConfig.go b/service/sagemaker/api_op_CreateNotebookInstanceLifecycleConfig.go index 5af9f24a49c..f198a7ee267 100644 --- a/service/sagemaker/api_op_CreateNotebookInstanceLifecycleConfig.go +++ b/service/sagemaker/api_op_CreateNotebookInstanceLifecycleConfig.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreateNotebookInstanceLifecycleConfigMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateNotebookInstanceLifecycleConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateOptimizationJob.go b/service/sagemaker/api_op_CreateOptimizationJob.go index 7ae563c0b53..dd3a973fb53 100644 --- a/service/sagemaker/api_op_CreateOptimizationJob.go +++ b/service/sagemaker/api_op_CreateOptimizationJob.go @@ -200,9 +200,6 @@ func (c *Client) addOperationCreateOptimizationJobMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateOptimizationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreatePartnerApp.go b/service/sagemaker/api_op_CreatePartnerApp.go index 2cd411f52d6..96f469579c5 100644 --- a/service/sagemaker/api_op_CreatePartnerApp.go +++ b/service/sagemaker/api_op_CreatePartnerApp.go @@ -152,9 +152,6 @@ func (c *Client) addOperationCreatePartnerAppMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreatePartnerAppMiddleware(stack, options); err != nil { return err } diff --git a/service/sagemaker/api_op_CreatePartnerAppPresignedUrl.go b/service/sagemaker/api_op_CreatePartnerAppPresignedUrl.go index 58dca5c7063..690e5166779 100644 --- a/service/sagemaker/api_op_CreatePartnerAppPresignedUrl.go +++ b/service/sagemaker/api_op_CreatePartnerAppPresignedUrl.go @@ -118,9 +118,6 @@ func (c *Client) addOperationCreatePartnerAppPresignedUrlMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePartnerAppPresignedUrlValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreatePipeline.go b/service/sagemaker/api_op_CreatePipeline.go index 48c9d14d16a..923756b2d66 100644 --- a/service/sagemaker/api_op_CreatePipeline.go +++ b/service/sagemaker/api_op_CreatePipeline.go @@ -146,9 +146,6 @@ func (c *Client) addOperationCreatePipelineMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreatePipelineMiddleware(stack, options); err != nil { return err } diff --git a/service/sagemaker/api_op_CreatePresignedDomainUrl.go b/service/sagemaker/api_op_CreatePresignedDomainUrl.go index d34f1b9b9a9..4282fb2f3ce 100644 --- a/service/sagemaker/api_op_CreatePresignedDomainUrl.go +++ b/service/sagemaker/api_op_CreatePresignedDomainUrl.go @@ -171,9 +171,6 @@ func (c *Client) addOperationCreatePresignedDomainUrlMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePresignedDomainUrlValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreatePresignedMlflowTrackingServerUrl.go b/service/sagemaker/api_op_CreatePresignedMlflowTrackingServerUrl.go index b20607a10c0..768b79acb81 100644 --- a/service/sagemaker/api_op_CreatePresignedMlflowTrackingServerUrl.go +++ b/service/sagemaker/api_op_CreatePresignedMlflowTrackingServerUrl.go @@ -121,9 +121,6 @@ func (c *Client) addOperationCreatePresignedMlflowTrackingServerUrlMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePresignedMlflowTrackingServerUrlValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreatePresignedNotebookInstanceUrl.go b/service/sagemaker/api_op_CreatePresignedNotebookInstanceUrl.go index 6e1c94a82b3..6968481ad6c 100644 --- a/service/sagemaker/api_op_CreatePresignedNotebookInstanceUrl.go +++ b/service/sagemaker/api_op_CreatePresignedNotebookInstanceUrl.go @@ -136,9 +136,6 @@ func (c *Client) addOperationCreatePresignedNotebookInstanceUrlMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePresignedNotebookInstanceUrlValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateProcessingJob.go b/service/sagemaker/api_op_CreateProcessingJob.go index dbdad247113..25ce85067fd 100644 --- a/service/sagemaker/api_op_CreateProcessingJob.go +++ b/service/sagemaker/api_op_CreateProcessingJob.go @@ -172,9 +172,6 @@ func (c *Client) addOperationCreateProcessingJobMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateProcessingJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateProject.go b/service/sagemaker/api_op_CreateProject.go index 0f4e7a20aba..6a03766779b 100644 --- a/service/sagemaker/api_op_CreateProject.go +++ b/service/sagemaker/api_op_CreateProject.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreateProjectMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateSpace.go b/service/sagemaker/api_op_CreateSpace.go index 86caff17507..d7c2de397e8 100644 --- a/service/sagemaker/api_op_CreateSpace.go +++ b/service/sagemaker/api_op_CreateSpace.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCreateSpaceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSpaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateStudioLifecycleConfig.go b/service/sagemaker/api_op_CreateStudioLifecycleConfig.go index ff3d92f0fa2..9b659f4f432 100644 --- a/service/sagemaker/api_op_CreateStudioLifecycleConfig.go +++ b/service/sagemaker/api_op_CreateStudioLifecycleConfig.go @@ -128,9 +128,6 @@ func (c *Client) addOperationCreateStudioLifecycleConfigMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateStudioLifecycleConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateTrainingJob.go b/service/sagemaker/api_op_CreateTrainingJob.go index 994cccaa7a6..31e625005f2 100644 --- a/service/sagemaker/api_op_CreateTrainingJob.go +++ b/service/sagemaker/api_op_CreateTrainingJob.go @@ -372,9 +372,6 @@ func (c *Client) addOperationCreateTrainingJobMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTrainingJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateTrainingPlan.go b/service/sagemaker/api_op_CreateTrainingPlan.go index c3dd72b7486..c92bf870883 100644 --- a/service/sagemaker/api_op_CreateTrainingPlan.go +++ b/service/sagemaker/api_op_CreateTrainingPlan.go @@ -167,9 +167,6 @@ func (c *Client) addOperationCreateTrainingPlanMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTrainingPlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateTransformJob.go b/service/sagemaker/api_op_CreateTransformJob.go index 61b2340ecd2..dcc95af7d3e 100644 --- a/service/sagemaker/api_op_CreateTransformJob.go +++ b/service/sagemaker/api_op_CreateTransformJob.go @@ -248,9 +248,6 @@ func (c *Client) addOperationCreateTransformJobMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTransformJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateTrial.go b/service/sagemaker/api_op_CreateTrial.go index f5b54824736..76bbcafec2d 100644 --- a/service/sagemaker/api_op_CreateTrial.go +++ b/service/sagemaker/api_op_CreateTrial.go @@ -148,9 +148,6 @@ func (c *Client) addOperationCreateTrialMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTrialValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateTrialComponent.go b/service/sagemaker/api_op_CreateTrialComponent.go index f018f89c1d1..140b6d63faa 100644 --- a/service/sagemaker/api_op_CreateTrialComponent.go +++ b/service/sagemaker/api_op_CreateTrialComponent.go @@ -168,9 +168,6 @@ func (c *Client) addOperationCreateTrialComponentMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTrialComponentValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateUserProfile.go b/service/sagemaker/api_op_CreateUserProfile.go index 0f83199a0a0..c90a1501af6 100644 --- a/service/sagemaker/api_op_CreateUserProfile.go +++ b/service/sagemaker/api_op_CreateUserProfile.go @@ -145,9 +145,6 @@ func (c *Client) addOperationCreateUserProfileMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateUserProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateWorkforce.go b/service/sagemaker/api_op_CreateWorkforce.go index ed9f56fd82b..04bc5c0590a 100644 --- a/service/sagemaker/api_op_CreateWorkforce.go +++ b/service/sagemaker/api_op_CreateWorkforce.go @@ -164,9 +164,6 @@ func (c *Client) addOperationCreateWorkforceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateWorkforceValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_CreateWorkteam.go b/service/sagemaker/api_op_CreateWorkteam.go index 9faa9d63831..b8518bb2750 100644 --- a/service/sagemaker/api_op_CreateWorkteam.go +++ b/service/sagemaker/api_op_CreateWorkteam.go @@ -166,9 +166,6 @@ func (c *Client) addOperationCreateWorkteamMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateWorkteamValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteAction.go b/service/sagemaker/api_op_DeleteAction.go index 2cf45880219..f6beab9a2f4 100644 --- a/service/sagemaker/api_op_DeleteAction.go +++ b/service/sagemaker/api_op_DeleteAction.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteActionMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteAlgorithm.go b/service/sagemaker/api_op_DeleteAlgorithm.go index 02a999947ec..38bb1c14b55 100644 --- a/service/sagemaker/api_op_DeleteAlgorithm.go +++ b/service/sagemaker/api_op_DeleteAlgorithm.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteAlgorithmMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAlgorithmValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteApp.go b/service/sagemaker/api_op_DeleteApp.go index 09f8a631376..1fae51ad618 100644 --- a/service/sagemaker/api_op_DeleteApp.go +++ b/service/sagemaker/api_op_DeleteApp.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDeleteAppMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAppValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteAppImageConfig.go b/service/sagemaker/api_op_DeleteAppImageConfig.go index 849727cd7cc..1337098269c 100644 --- a/service/sagemaker/api_op_DeleteAppImageConfig.go +++ b/service/sagemaker/api_op_DeleteAppImageConfig.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteAppImageConfigMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAppImageConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteArtifact.go b/service/sagemaker/api_op_DeleteArtifact.go index e37acc80c5d..711f9a94036 100644 --- a/service/sagemaker/api_op_DeleteArtifact.go +++ b/service/sagemaker/api_op_DeleteArtifact.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteArtifactMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteArtifactValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteAssociation.go b/service/sagemaker/api_op_DeleteAssociation.go index de825a9462d..7e37698b371 100644 --- a/service/sagemaker/api_op_DeleteAssociation.go +++ b/service/sagemaker/api_op_DeleteAssociation.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteAssociationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteCluster.go b/service/sagemaker/api_op_DeleteCluster.go index 15441c4f838..6fd3a05351c 100644 --- a/service/sagemaker/api_op_DeleteCluster.go +++ b/service/sagemaker/api_op_DeleteCluster.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteClusterSchedulerConfig.go b/service/sagemaker/api_op_DeleteClusterSchedulerConfig.go index 4e335badaa1..4cc46b466c7 100644 --- a/service/sagemaker/api_op_DeleteClusterSchedulerConfig.go +++ b/service/sagemaker/api_op_DeleteClusterSchedulerConfig.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteClusterSchedulerConfigMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteClusterSchedulerConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteCodeRepository.go b/service/sagemaker/api_op_DeleteCodeRepository.go index d9c7b773666..6f482d848a7 100644 --- a/service/sagemaker/api_op_DeleteCodeRepository.go +++ b/service/sagemaker/api_op_DeleteCodeRepository.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteCodeRepositoryMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCodeRepositoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteCompilationJob.go b/service/sagemaker/api_op_DeleteCompilationJob.go index 0687ac76856..b448fa2f18b 100644 --- a/service/sagemaker/api_op_DeleteCompilationJob.go +++ b/service/sagemaker/api_op_DeleteCompilationJob.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteCompilationJobMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCompilationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteComputeQuota.go b/service/sagemaker/api_op_DeleteComputeQuota.go index bd1728308e3..7ae888e054f 100644 --- a/service/sagemaker/api_op_DeleteComputeQuota.go +++ b/service/sagemaker/api_op_DeleteComputeQuota.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteComputeQuotaMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteComputeQuotaValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteContext.go b/service/sagemaker/api_op_DeleteContext.go index 845f2c2b41f..e607d9a2575 100644 --- a/service/sagemaker/api_op_DeleteContext.go +++ b/service/sagemaker/api_op_DeleteContext.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteContextMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteContextValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteDataQualityJobDefinition.go b/service/sagemaker/api_op_DeleteDataQualityJobDefinition.go index 536d1ce7735..69a12464e38 100644 --- a/service/sagemaker/api_op_DeleteDataQualityJobDefinition.go +++ b/service/sagemaker/api_op_DeleteDataQualityJobDefinition.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteDataQualityJobDefinitionMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDataQualityJobDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteDeviceFleet.go b/service/sagemaker/api_op_DeleteDeviceFleet.go index 7e46e1b4ec1..dc62d26e731 100644 --- a/service/sagemaker/api_op_DeleteDeviceFleet.go +++ b/service/sagemaker/api_op_DeleteDeviceFleet.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteDeviceFleetMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDeviceFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteDomain.go b/service/sagemaker/api_op_DeleteDomain.go index 45950a3a2a0..417acc0c4d4 100644 --- a/service/sagemaker/api_op_DeleteDomain.go +++ b/service/sagemaker/api_op_DeleteDomain.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteDomainMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteEdgeDeploymentPlan.go b/service/sagemaker/api_op_DeleteEdgeDeploymentPlan.go index 65c0dedd34b..5ebe358b18f 100644 --- a/service/sagemaker/api_op_DeleteEdgeDeploymentPlan.go +++ b/service/sagemaker/api_op_DeleteEdgeDeploymentPlan.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteEdgeDeploymentPlanMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEdgeDeploymentPlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteEdgeDeploymentStage.go b/service/sagemaker/api_op_DeleteEdgeDeploymentStage.go index c63c15c4099..ea11c4a65dd 100644 --- a/service/sagemaker/api_op_DeleteEdgeDeploymentStage.go +++ b/service/sagemaker/api_op_DeleteEdgeDeploymentStage.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteEdgeDeploymentStageMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEdgeDeploymentStageValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteEndpoint.go b/service/sagemaker/api_op_DeleteEndpoint.go index 0702f1a8e42..eb4b4b18362 100644 --- a/service/sagemaker/api_op_DeleteEndpoint.go +++ b/service/sagemaker/api_op_DeleteEndpoint.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteEndpointMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteEndpointConfig.go b/service/sagemaker/api_op_DeleteEndpointConfig.go index 923eeab5bce..4eb51395603 100644 --- a/service/sagemaker/api_op_DeleteEndpointConfig.go +++ b/service/sagemaker/api_op_DeleteEndpointConfig.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteEndpointConfigMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEndpointConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteExperiment.go b/service/sagemaker/api_op_DeleteExperiment.go index 9d755c3b69b..293e90ae74c 100644 --- a/service/sagemaker/api_op_DeleteExperiment.go +++ b/service/sagemaker/api_op_DeleteExperiment.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteExperimentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteExperimentValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteFeatureGroup.go b/service/sagemaker/api_op_DeleteFeatureGroup.go index 0b682306228..82981954d88 100644 --- a/service/sagemaker/api_op_DeleteFeatureGroup.go +++ b/service/sagemaker/api_op_DeleteFeatureGroup.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteFeatureGroupMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFeatureGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteFlowDefinition.go b/service/sagemaker/api_op_DeleteFlowDefinition.go index b32b3f44222..3ec7c3c1ece 100644 --- a/service/sagemaker/api_op_DeleteFlowDefinition.go +++ b/service/sagemaker/api_op_DeleteFlowDefinition.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteFlowDefinitionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFlowDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteHub.go b/service/sagemaker/api_op_DeleteHub.go index c1940734f80..ec25d044f41 100644 --- a/service/sagemaker/api_op_DeleteHub.go +++ b/service/sagemaker/api_op_DeleteHub.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteHubMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteHubValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteHubContent.go b/service/sagemaker/api_op_DeleteHubContent.go index 7348053d5e9..d1be113fa92 100644 --- a/service/sagemaker/api_op_DeleteHubContent.go +++ b/service/sagemaker/api_op_DeleteHubContent.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteHubContentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteHubContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteHubContentReference.go b/service/sagemaker/api_op_DeleteHubContentReference.go index c52e53bb75d..d0af2b7f359 100644 --- a/service/sagemaker/api_op_DeleteHubContentReference.go +++ b/service/sagemaker/api_op_DeleteHubContentReference.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteHubContentReferenceMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteHubContentReferenceValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteHumanTaskUi.go b/service/sagemaker/api_op_DeleteHumanTaskUi.go index 23492347ea3..1cf1dbacaf0 100644 --- a/service/sagemaker/api_op_DeleteHumanTaskUi.go +++ b/service/sagemaker/api_op_DeleteHumanTaskUi.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteHumanTaskUiMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteHumanTaskUiValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteHyperParameterTuningJob.go b/service/sagemaker/api_op_DeleteHyperParameterTuningJob.go index e39486b1e4b..bbaac685dff 100644 --- a/service/sagemaker/api_op_DeleteHyperParameterTuningJob.go +++ b/service/sagemaker/api_op_DeleteHyperParameterTuningJob.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteHyperParameterTuningJobMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteHyperParameterTuningJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteImage.go b/service/sagemaker/api_op_DeleteImage.go index 85f809dd588..b432cc4e5b1 100644 --- a/service/sagemaker/api_op_DeleteImage.go +++ b/service/sagemaker/api_op_DeleteImage.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteImageMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteImageValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteImageVersion.go b/service/sagemaker/api_op_DeleteImageVersion.go index aa42d4ba204..977f1966174 100644 --- a/service/sagemaker/api_op_DeleteImageVersion.go +++ b/service/sagemaker/api_op_DeleteImageVersion.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteImageVersionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteImageVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteInferenceComponent.go b/service/sagemaker/api_op_DeleteInferenceComponent.go index f85f60e7134..f0eee83e4a8 100644 --- a/service/sagemaker/api_op_DeleteInferenceComponent.go +++ b/service/sagemaker/api_op_DeleteInferenceComponent.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteInferenceComponentMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInferenceComponentValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteInferenceExperiment.go b/service/sagemaker/api_op_DeleteInferenceExperiment.go index e069c471bcf..3696842e780 100644 --- a/service/sagemaker/api_op_DeleteInferenceExperiment.go +++ b/service/sagemaker/api_op_DeleteInferenceExperiment.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteInferenceExperimentMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInferenceExperimentValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteMlflowTrackingServer.go b/service/sagemaker/api_op_DeleteMlflowTrackingServer.go index 0acbb06cb0e..53e30512d32 100644 --- a/service/sagemaker/api_op_DeleteMlflowTrackingServer.go +++ b/service/sagemaker/api_op_DeleteMlflowTrackingServer.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteMlflowTrackingServerMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMlflowTrackingServerValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteModel.go b/service/sagemaker/api_op_DeleteModel.go index 268885bb4fd..6218fcd8559 100644 --- a/service/sagemaker/api_op_DeleteModel.go +++ b/service/sagemaker/api_op_DeleteModel.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteModelMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteModelBiasJobDefinition.go b/service/sagemaker/api_op_DeleteModelBiasJobDefinition.go index e5de514ab70..3857bb879c7 100644 --- a/service/sagemaker/api_op_DeleteModelBiasJobDefinition.go +++ b/service/sagemaker/api_op_DeleteModelBiasJobDefinition.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteModelBiasJobDefinitionMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteModelBiasJobDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteModelCard.go b/service/sagemaker/api_op_DeleteModelCard.go index 0c7177516b0..f665c71fe58 100644 --- a/service/sagemaker/api_op_DeleteModelCard.go +++ b/service/sagemaker/api_op_DeleteModelCard.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteModelCardMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteModelCardValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteModelExplainabilityJobDefinition.go b/service/sagemaker/api_op_DeleteModelExplainabilityJobDefinition.go index 5d07f73dadf..60aec581148 100644 --- a/service/sagemaker/api_op_DeleteModelExplainabilityJobDefinition.go +++ b/service/sagemaker/api_op_DeleteModelExplainabilityJobDefinition.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteModelExplainabilityJobDefinitionMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteModelExplainabilityJobDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteModelPackage.go b/service/sagemaker/api_op_DeleteModelPackage.go index 259febe9f7c..0c2722ac598 100644 --- a/service/sagemaker/api_op_DeleteModelPackage.go +++ b/service/sagemaker/api_op_DeleteModelPackage.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteModelPackageMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteModelPackageValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteModelPackageGroup.go b/service/sagemaker/api_op_DeleteModelPackageGroup.go index 442b5dc85ea..bac07dbc670 100644 --- a/service/sagemaker/api_op_DeleteModelPackageGroup.go +++ b/service/sagemaker/api_op_DeleteModelPackageGroup.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteModelPackageGroupMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteModelPackageGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteModelPackageGroupPolicy.go b/service/sagemaker/api_op_DeleteModelPackageGroupPolicy.go index 6cced9a6a13..21d15d9f66a 100644 --- a/service/sagemaker/api_op_DeleteModelPackageGroupPolicy.go +++ b/service/sagemaker/api_op_DeleteModelPackageGroupPolicy.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteModelPackageGroupPolicyMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteModelPackageGroupPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteModelQualityJobDefinition.go b/service/sagemaker/api_op_DeleteModelQualityJobDefinition.go index 0d3569c13c6..98c45ecbc60 100644 --- a/service/sagemaker/api_op_DeleteModelQualityJobDefinition.go +++ b/service/sagemaker/api_op_DeleteModelQualityJobDefinition.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteModelQualityJobDefinitionMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteModelQualityJobDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteMonitoringSchedule.go b/service/sagemaker/api_op_DeleteMonitoringSchedule.go index 5c73df3b9d1..60a6ddebc63 100644 --- a/service/sagemaker/api_op_DeleteMonitoringSchedule.go +++ b/service/sagemaker/api_op_DeleteMonitoringSchedule.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteMonitoringScheduleMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMonitoringScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteNotebookInstance.go b/service/sagemaker/api_op_DeleteNotebookInstance.go index 7d0722b36ad..7838e968494 100644 --- a/service/sagemaker/api_op_DeleteNotebookInstance.go +++ b/service/sagemaker/api_op_DeleteNotebookInstance.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteNotebookInstanceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteNotebookInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteNotebookInstanceLifecycleConfig.go b/service/sagemaker/api_op_DeleteNotebookInstanceLifecycleConfig.go index 079d04ce3e5..e104034f66b 100644 --- a/service/sagemaker/api_op_DeleteNotebookInstanceLifecycleConfig.go +++ b/service/sagemaker/api_op_DeleteNotebookInstanceLifecycleConfig.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteNotebookInstanceLifecycleConfigMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteNotebookInstanceLifecycleConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteOptimizationJob.go b/service/sagemaker/api_op_DeleteOptimizationJob.go index d1c2ae1ed6e..e1c438d2767 100644 --- a/service/sagemaker/api_op_DeleteOptimizationJob.go +++ b/service/sagemaker/api_op_DeleteOptimizationJob.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteOptimizationJobMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteOptimizationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeletePartnerApp.go b/service/sagemaker/api_op_DeletePartnerApp.go index 69ebb47385b..da981f103f8 100644 --- a/service/sagemaker/api_op_DeletePartnerApp.go +++ b/service/sagemaker/api_op_DeletePartnerApp.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeletePartnerAppMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeletePartnerAppMiddleware(stack, options); err != nil { return err } diff --git a/service/sagemaker/api_op_DeletePipeline.go b/service/sagemaker/api_op_DeletePipeline.go index 434d3aef916..71d3d3597cf 100644 --- a/service/sagemaker/api_op_DeletePipeline.go +++ b/service/sagemaker/api_op_DeletePipeline.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeletePipelineMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeletePipelineMiddleware(stack, options); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteProject.go b/service/sagemaker/api_op_DeleteProject.go index 256bfbe0907..fe2267e3311 100644 --- a/service/sagemaker/api_op_DeleteProject.go +++ b/service/sagemaker/api_op_DeleteProject.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteProjectMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteSpace.go b/service/sagemaker/api_op_DeleteSpace.go index 196f036e425..627ec19b325 100644 --- a/service/sagemaker/api_op_DeleteSpace.go +++ b/service/sagemaker/api_op_DeleteSpace.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteSpaceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSpaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteStudioLifecycleConfig.go b/service/sagemaker/api_op_DeleteStudioLifecycleConfig.go index 52fe163b821..8eaf011bbf9 100644 --- a/service/sagemaker/api_op_DeleteStudioLifecycleConfig.go +++ b/service/sagemaker/api_op_DeleteStudioLifecycleConfig.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteStudioLifecycleConfigMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteStudioLifecycleConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteTags.go b/service/sagemaker/api_op_DeleteTags.go index 266240bd964..54a1094ef9d 100644 --- a/service/sagemaker/api_op_DeleteTags.go +++ b/service/sagemaker/api_op_DeleteTags.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteTagsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteTrial.go b/service/sagemaker/api_op_DeleteTrial.go index 8eeaf8441dc..1de5b6ea4e3 100644 --- a/service/sagemaker/api_op_DeleteTrial.go +++ b/service/sagemaker/api_op_DeleteTrial.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteTrialMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTrialValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteTrialComponent.go b/service/sagemaker/api_op_DeleteTrialComponent.go index 001e39df837..6f89059f388 100644 --- a/service/sagemaker/api_op_DeleteTrialComponent.go +++ b/service/sagemaker/api_op_DeleteTrialComponent.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteTrialComponentMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTrialComponentValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteUserProfile.go b/service/sagemaker/api_op_DeleteUserProfile.go index 7ac8e3d4fe4..55096fbf7fb 100644 --- a/service/sagemaker/api_op_DeleteUserProfile.go +++ b/service/sagemaker/api_op_DeleteUserProfile.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteUserProfileMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUserProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteWorkforce.go b/service/sagemaker/api_op_DeleteWorkforce.go index 3c750769c44..db34a0a6444 100644 --- a/service/sagemaker/api_op_DeleteWorkforce.go +++ b/service/sagemaker/api_op_DeleteWorkforce.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteWorkforceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWorkforceValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeleteWorkteam.go b/service/sagemaker/api_op_DeleteWorkteam.go index b4a8292c6ba..7c8b5a77363 100644 --- a/service/sagemaker/api_op_DeleteWorkteam.go +++ b/service/sagemaker/api_op_DeleteWorkteam.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteWorkteamMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWorkteamValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DeregisterDevices.go b/service/sagemaker/api_op_DeregisterDevices.go index 74bb425e5b8..af534551a61 100644 --- a/service/sagemaker/api_op_DeregisterDevices.go +++ b/service/sagemaker/api_op_DeregisterDevices.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeregisterDevicesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterDevicesValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeAction.go b/service/sagemaker/api_op_DescribeAction.go index 16f6c542bab..97e5a0fae21 100644 --- a/service/sagemaker/api_op_DescribeAction.go +++ b/service/sagemaker/api_op_DescribeAction.go @@ -151,9 +151,6 @@ func (c *Client) addOperationDescribeActionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeAlgorithm.go b/service/sagemaker/api_op_DescribeAlgorithm.go index dc6cdc92496..2dee2f2cd6a 100644 --- a/service/sagemaker/api_op_DescribeAlgorithm.go +++ b/service/sagemaker/api_op_DescribeAlgorithm.go @@ -157,9 +157,6 @@ func (c *Client) addOperationDescribeAlgorithmMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAlgorithmValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeApp.go b/service/sagemaker/api_op_DescribeApp.go index 1098a7484e9..a58fa408be1 100644 --- a/service/sagemaker/api_op_DescribeApp.go +++ b/service/sagemaker/api_op_DescribeApp.go @@ -176,9 +176,6 @@ func (c *Client) addOperationDescribeAppMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAppValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeAppImageConfig.go b/service/sagemaker/api_op_DescribeAppImageConfig.go index 61799799671..52894942fd3 100644 --- a/service/sagemaker/api_op_DescribeAppImageConfig.go +++ b/service/sagemaker/api_op_DescribeAppImageConfig.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeAppImageConfigMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAppImageConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeArtifact.go b/service/sagemaker/api_op_DescribeArtifact.go index 483a18534d5..3cb59c60a3b 100644 --- a/service/sagemaker/api_op_DescribeArtifact.go +++ b/service/sagemaker/api_op_DescribeArtifact.go @@ -145,9 +145,6 @@ func (c *Client) addOperationDescribeArtifactMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeArtifactValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeAutoMLJob.go b/service/sagemaker/api_op_DescribeAutoMLJob.go index 48b99683b8a..10906168cb1 100644 --- a/service/sagemaker/api_op_DescribeAutoMLJob.go +++ b/service/sagemaker/api_op_DescribeAutoMLJob.go @@ -203,9 +203,6 @@ func (c *Client) addOperationDescribeAutoMLJobMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAutoMLJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeAutoMLJobV2.go b/service/sagemaker/api_op_DescribeAutoMLJobV2.go index 0a11a9586cd..904bf18c09a 100644 --- a/service/sagemaker/api_op_DescribeAutoMLJobV2.go +++ b/service/sagemaker/api_op_DescribeAutoMLJobV2.go @@ -207,9 +207,6 @@ func (c *Client) addOperationDescribeAutoMLJobV2Middlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAutoMLJobV2ValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeCluster.go b/service/sagemaker/api_op_DescribeCluster.go index 72a31945d69..2686e0e6165 100644 --- a/service/sagemaker/api_op_DescribeCluster.go +++ b/service/sagemaker/api_op_DescribeCluster.go @@ -148,9 +148,6 @@ func (c *Client) addOperationDescribeClusterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeClusterNode.go b/service/sagemaker/api_op_DescribeClusterNode.go index 6e56b281d97..cda36fb9966 100644 --- a/service/sagemaker/api_op_DescribeClusterNode.go +++ b/service/sagemaker/api_op_DescribeClusterNode.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeClusterNodeMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeClusterNodeValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeClusterSchedulerConfig.go b/service/sagemaker/api_op_DescribeClusterSchedulerConfig.go index 172684bc8ce..0bec327910b 100644 --- a/service/sagemaker/api_op_DescribeClusterSchedulerConfig.go +++ b/service/sagemaker/api_op_DescribeClusterSchedulerConfig.go @@ -170,9 +170,6 @@ func (c *Client) addOperationDescribeClusterSchedulerConfigMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeClusterSchedulerConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeCodeRepository.go b/service/sagemaker/api_op_DescribeCodeRepository.go index b9da46f93e6..1b9adafcf32 100644 --- a/service/sagemaker/api_op_DescribeCodeRepository.go +++ b/service/sagemaker/api_op_DescribeCodeRepository.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribeCodeRepositoryMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCodeRepositoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeCompilationJob.go b/service/sagemaker/api_op_DescribeCompilationJob.go index d1f933aec15..59031b1e871 100644 --- a/service/sagemaker/api_op_DescribeCompilationJob.go +++ b/service/sagemaker/api_op_DescribeCompilationJob.go @@ -215,9 +215,6 @@ func (c *Client) addOperationDescribeCompilationJobMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCompilationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeComputeQuota.go b/service/sagemaker/api_op_DescribeComputeQuota.go index b87e393b881..adcde5a6b5c 100644 --- a/service/sagemaker/api_op_DescribeComputeQuota.go +++ b/service/sagemaker/api_op_DescribeComputeQuota.go @@ -178,9 +178,6 @@ func (c *Client) addOperationDescribeComputeQuotaMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeComputeQuotaValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeContext.go b/service/sagemaker/api_op_DescribeContext.go index 90d35c34d76..65c347e9c7c 100644 --- a/service/sagemaker/api_op_DescribeContext.go +++ b/service/sagemaker/api_op_DescribeContext.go @@ -145,9 +145,6 @@ func (c *Client) addOperationDescribeContextMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeContextValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeDataQualityJobDefinition.go b/service/sagemaker/api_op_DescribeDataQualityJobDefinition.go index abf467d8d6a..d80998621a6 100644 --- a/service/sagemaker/api_op_DescribeDataQualityJobDefinition.go +++ b/service/sagemaker/api_op_DescribeDataQualityJobDefinition.go @@ -161,9 +161,6 @@ func (c *Client) addOperationDescribeDataQualityJobDefinitionMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDataQualityJobDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeDevice.go b/service/sagemaker/api_op_DescribeDevice.go index 299c9145757..ae33c9ef2f7 100644 --- a/service/sagemaker/api_op_DescribeDevice.go +++ b/service/sagemaker/api_op_DescribeDevice.go @@ -159,9 +159,6 @@ func (c *Client) addOperationDescribeDeviceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeDeviceFleet.go b/service/sagemaker/api_op_DescribeDeviceFleet.go index d7d312db702..15d588fa6d3 100644 --- a/service/sagemaker/api_op_DescribeDeviceFleet.go +++ b/service/sagemaker/api_op_DescribeDeviceFleet.go @@ -146,9 +146,6 @@ func (c *Client) addOperationDescribeDeviceFleetMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDeviceFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeDomain.go b/service/sagemaker/api_op_DescribeDomain.go index cbe61e300bd..4932ef658e5 100644 --- a/service/sagemaker/api_op_DescribeDomain.go +++ b/service/sagemaker/api_op_DescribeDomain.go @@ -195,9 +195,6 @@ func (c *Client) addOperationDescribeDomainMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeEdgeDeploymentPlan.go b/service/sagemaker/api_op_DescribeEdgeDeploymentPlan.go index 17c567c4057..da8e778e004 100644 --- a/service/sagemaker/api_op_DescribeEdgeDeploymentPlan.go +++ b/service/sagemaker/api_op_DescribeEdgeDeploymentPlan.go @@ -160,9 +160,6 @@ func (c *Client) addOperationDescribeEdgeDeploymentPlanMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEdgeDeploymentPlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeEdgePackagingJob.go b/service/sagemaker/api_op_DescribeEdgePackagingJob.go index 582855c4d18..5d11d599e84 100644 --- a/service/sagemaker/api_op_DescribeEdgePackagingJob.go +++ b/service/sagemaker/api_op_DescribeEdgePackagingJob.go @@ -164,9 +164,6 @@ func (c *Client) addOperationDescribeEdgePackagingJobMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEdgePackagingJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeEndpoint.go b/service/sagemaker/api_op_DescribeEndpoint.go index 8c00ba5e887..db0c34a99eb 100644 --- a/service/sagemaker/api_op_DescribeEndpoint.go +++ b/service/sagemaker/api_op_DescribeEndpoint.go @@ -214,9 +214,6 @@ func (c *Client) addOperationDescribeEndpointMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeEndpointConfig.go b/service/sagemaker/api_op_DescribeEndpointConfig.go index 7db76342882..2b7ebf67be0 100644 --- a/service/sagemaker/api_op_DescribeEndpointConfig.go +++ b/service/sagemaker/api_op_DescribeEndpointConfig.go @@ -169,9 +169,6 @@ func (c *Client) addOperationDescribeEndpointConfigMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEndpointConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeExperiment.go b/service/sagemaker/api_op_DescribeExperiment.go index 17e0d16743a..8e39baa3128 100644 --- a/service/sagemaker/api_op_DescribeExperiment.go +++ b/service/sagemaker/api_op_DescribeExperiment.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDescribeExperimentMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeExperimentValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeFeatureGroup.go b/service/sagemaker/api_op_DescribeFeatureGroup.go index 3248703e3ed..34ad69cdf26 100644 --- a/service/sagemaker/api_op_DescribeFeatureGroup.go +++ b/service/sagemaker/api_op_DescribeFeatureGroup.go @@ -222,9 +222,6 @@ func (c *Client) addOperationDescribeFeatureGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFeatureGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeFeatureMetadata.go b/service/sagemaker/api_op_DescribeFeatureMetadata.go index 40d4cb32f1b..e5bec4d58a8 100644 --- a/service/sagemaker/api_op_DescribeFeatureMetadata.go +++ b/service/sagemaker/api_op_DescribeFeatureMetadata.go @@ -154,9 +154,6 @@ func (c *Client) addOperationDescribeFeatureMetadataMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFeatureMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeFlowDefinition.go b/service/sagemaker/api_op_DescribeFlowDefinition.go index b488e782dc5..9e120c4b9c5 100644 --- a/service/sagemaker/api_op_DescribeFlowDefinition.go +++ b/service/sagemaker/api_op_DescribeFlowDefinition.go @@ -155,9 +155,6 @@ func (c *Client) addOperationDescribeFlowDefinitionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFlowDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeHub.go b/service/sagemaker/api_op_DescribeHub.go index 6b6a193b780..f08fdbc2f95 100644 --- a/service/sagemaker/api_op_DescribeHub.go +++ b/service/sagemaker/api_op_DescribeHub.go @@ -150,9 +150,6 @@ func (c *Client) addOperationDescribeHubMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeHubValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeHubContent.go b/service/sagemaker/api_op_DescribeHubContent.go index 5eb03e7b71c..a4a46a93c99 100644 --- a/service/sagemaker/api_op_DescribeHubContent.go +++ b/service/sagemaker/api_op_DescribeHubContent.go @@ -203,9 +203,6 @@ func (c *Client) addOperationDescribeHubContentMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeHubContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeHumanTaskUi.go b/service/sagemaker/api_op_DescribeHumanTaskUi.go index e58d3f57991..8f212ca7dc7 100644 --- a/service/sagemaker/api_op_DescribeHumanTaskUi.go +++ b/service/sagemaker/api_op_DescribeHumanTaskUi.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDescribeHumanTaskUiMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeHumanTaskUiValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeHyperParameterTuningJob.go b/service/sagemaker/api_op_DescribeHyperParameterTuningJob.go index 038db5bacfa..ef21ece0495 100644 --- a/service/sagemaker/api_op_DescribeHyperParameterTuningJob.go +++ b/service/sagemaker/api_op_DescribeHyperParameterTuningJob.go @@ -207,9 +207,6 @@ func (c *Client) addOperationDescribeHyperParameterTuningJobMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeHyperParameterTuningJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeImage.go b/service/sagemaker/api_op_DescribeImage.go index c76dc0f055f..1716aa60508 100644 --- a/service/sagemaker/api_op_DescribeImage.go +++ b/service/sagemaker/api_op_DescribeImage.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDescribeImageMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeImageValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeImageVersion.go b/service/sagemaker/api_op_DescribeImageVersion.go index b9ce32906ba..64078a324c7 100644 --- a/service/sagemaker/api_op_DescribeImageVersion.go +++ b/service/sagemaker/api_op_DescribeImageVersion.go @@ -191,9 +191,6 @@ func (c *Client) addOperationDescribeImageVersionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeImageVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeInferenceComponent.go b/service/sagemaker/api_op_DescribeInferenceComponent.go index 80d92232dc5..c4bf28f739f 100644 --- a/service/sagemaker/api_op_DescribeInferenceComponent.go +++ b/service/sagemaker/api_op_DescribeInferenceComponent.go @@ -157,9 +157,6 @@ func (c *Client) addOperationDescribeInferenceComponentMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeInferenceComponentValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeInferenceExperiment.go b/service/sagemaker/api_op_DescribeInferenceExperiment.go index 2afb30c029d..e2932889439 100644 --- a/service/sagemaker/api_op_DescribeInferenceExperiment.go +++ b/service/sagemaker/api_op_DescribeInferenceExperiment.go @@ -209,9 +209,6 @@ func (c *Client) addOperationDescribeInferenceExperimentMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeInferenceExperimentValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeInferenceRecommendationsJob.go b/service/sagemaker/api_op_DescribeInferenceRecommendationsJob.go index eb30cb669b6..2a7be914c2f 100644 --- a/service/sagemaker/api_op_DescribeInferenceRecommendationsJob.go +++ b/service/sagemaker/api_op_DescribeInferenceRecommendationsJob.go @@ -175,9 +175,6 @@ func (c *Client) addOperationDescribeInferenceRecommendationsJobMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeInferenceRecommendationsJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeLabelingJob.go b/service/sagemaker/api_op_DescribeLabelingJob.go index da192c1718d..1e0d14dcfd1 100644 --- a/service/sagemaker/api_op_DescribeLabelingJob.go +++ b/service/sagemaker/api_op_DescribeLabelingJob.go @@ -235,9 +235,6 @@ func (c *Client) addOperationDescribeLabelingJobMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeLabelingJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeLineageGroup.go b/service/sagemaker/api_op_DescribeLineageGroup.go index bea98837c04..c06997b646c 100644 --- a/service/sagemaker/api_op_DescribeLineageGroup.go +++ b/service/sagemaker/api_op_DescribeLineageGroup.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDescribeLineageGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeLineageGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeMlflowTrackingServer.go b/service/sagemaker/api_op_DescribeMlflowTrackingServer.go index a75668cb113..e9bc11e7f76 100644 --- a/service/sagemaker/api_op_DescribeMlflowTrackingServer.go +++ b/service/sagemaker/api_op_DescribeMlflowTrackingServer.go @@ -162,9 +162,6 @@ func (c *Client) addOperationDescribeMlflowTrackingServerMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeMlflowTrackingServerValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeModel.go b/service/sagemaker/api_op_DescribeModel.go index 2eb5998112e..e2e452d35b4 100644 --- a/service/sagemaker/api_op_DescribeModel.go +++ b/service/sagemaker/api_op_DescribeModel.go @@ -152,9 +152,6 @@ func (c *Client) addOperationDescribeModelMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeModelBiasJobDefinition.go b/service/sagemaker/api_op_DescribeModelBiasJobDefinition.go index c2a3e154915..66ec5ad2f4a 100644 --- a/service/sagemaker/api_op_DescribeModelBiasJobDefinition.go +++ b/service/sagemaker/api_op_DescribeModelBiasJobDefinition.go @@ -163,9 +163,6 @@ func (c *Client) addOperationDescribeModelBiasJobDefinitionMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeModelBiasJobDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeModelCard.go b/service/sagemaker/api_op_DescribeModelCard.go index 75ad4854093..dc0b92cc715 100644 --- a/service/sagemaker/api_op_DescribeModelCard.go +++ b/service/sagemaker/api_op_DescribeModelCard.go @@ -187,9 +187,6 @@ func (c *Client) addOperationDescribeModelCardMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeModelCardValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeModelCardExportJob.go b/service/sagemaker/api_op_DescribeModelCardExportJob.go index e0ebcfcf96e..d71aecc4761 100644 --- a/service/sagemaker/api_op_DescribeModelCardExportJob.go +++ b/service/sagemaker/api_op_DescribeModelCardExportJob.go @@ -165,9 +165,6 @@ func (c *Client) addOperationDescribeModelCardExportJobMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeModelCardExportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeModelExplainabilityJobDefinition.go b/service/sagemaker/api_op_DescribeModelExplainabilityJobDefinition.go index 15f279d2672..adce275b3d9 100644 --- a/service/sagemaker/api_op_DescribeModelExplainabilityJobDefinition.go +++ b/service/sagemaker/api_op_DescribeModelExplainabilityJobDefinition.go @@ -164,9 +164,6 @@ func (c *Client) addOperationDescribeModelExplainabilityJobDefinitionMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeModelExplainabilityJobDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeModelPackage.go b/service/sagemaker/api_op_DescribeModelPackage.go index cfa24f06b74..93cda691f93 100644 --- a/service/sagemaker/api_op_DescribeModelPackage.go +++ b/service/sagemaker/api_op_DescribeModelPackage.go @@ -248,9 +248,6 @@ func (c *Client) addOperationDescribeModelPackageMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeModelPackageValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeModelPackageGroup.go b/service/sagemaker/api_op_DescribeModelPackageGroup.go index c1d4972dd08..666b1cf124e 100644 --- a/service/sagemaker/api_op_DescribeModelPackageGroup.go +++ b/service/sagemaker/api_op_DescribeModelPackageGroup.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDescribeModelPackageGroupMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeModelPackageGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeModelQualityJobDefinition.go b/service/sagemaker/api_op_DescribeModelQualityJobDefinition.go index 6f995fccaa9..65410fd2f31 100644 --- a/service/sagemaker/api_op_DescribeModelQualityJobDefinition.go +++ b/service/sagemaker/api_op_DescribeModelQualityJobDefinition.go @@ -162,9 +162,6 @@ func (c *Client) addOperationDescribeModelQualityJobDefinitionMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeModelQualityJobDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeMonitoringSchedule.go b/service/sagemaker/api_op_DescribeMonitoringSchedule.go index b4df8633529..f70ef55a1cf 100644 --- a/service/sagemaker/api_op_DescribeMonitoringSchedule.go +++ b/service/sagemaker/api_op_DescribeMonitoringSchedule.go @@ -163,9 +163,6 @@ func (c *Client) addOperationDescribeMonitoringScheduleMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeMonitoringScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeNotebookInstance.go b/service/sagemaker/api_op_DescribeNotebookInstance.go index 4e6706cdc12..843f2e09ae7 100644 --- a/service/sagemaker/api_op_DescribeNotebookInstance.go +++ b/service/sagemaker/api_op_DescribeNotebookInstance.go @@ -218,9 +218,6 @@ func (c *Client) addOperationDescribeNotebookInstanceMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeNotebookInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeNotebookInstanceLifecycleConfig.go b/service/sagemaker/api_op_DescribeNotebookInstanceLifecycleConfig.go index b8b6caa7ef9..3a00533376c 100644 --- a/service/sagemaker/api_op_DescribeNotebookInstanceLifecycleConfig.go +++ b/service/sagemaker/api_op_DescribeNotebookInstanceLifecycleConfig.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeNotebookInstanceLifecycleConfigMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeNotebookInstanceLifecycleConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeOptimizationJob.go b/service/sagemaker/api_op_DescribeOptimizationJob.go index b53143ef49d..63d05e4b158 100644 --- a/service/sagemaker/api_op_DescribeOptimizationJob.go +++ b/service/sagemaker/api_op_DescribeOptimizationJob.go @@ -201,9 +201,6 @@ func (c *Client) addOperationDescribeOptimizationJobMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeOptimizationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribePartnerApp.go b/service/sagemaker/api_op_DescribePartnerApp.go index 9b7ee447d08..216deb2fa36 100644 --- a/service/sagemaker/api_op_DescribePartnerApp.go +++ b/service/sagemaker/api_op_DescribePartnerApp.go @@ -158,9 +158,6 @@ func (c *Client) addOperationDescribePartnerAppMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePartnerAppValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribePipeline.go b/service/sagemaker/api_op_DescribePipeline.go index 6796d203f1b..c3e86a52275 100644 --- a/service/sagemaker/api_op_DescribePipeline.go +++ b/service/sagemaker/api_op_DescribePipeline.go @@ -151,9 +151,6 @@ func (c *Client) addOperationDescribePipelineMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribePipelineDefinitionForExecution.go b/service/sagemaker/api_op_DescribePipelineDefinitionForExecution.go index c1213d0cac7..cfb2d01d3f2 100644 --- a/service/sagemaker/api_op_DescribePipelineDefinitionForExecution.go +++ b/service/sagemaker/api_op_DescribePipelineDefinitionForExecution.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDescribePipelineDefinitionForExecutionMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePipelineDefinitionForExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribePipelineExecution.go b/service/sagemaker/api_op_DescribePipelineExecution.go index 26662753fc0..e8678b3aea3 100644 --- a/service/sagemaker/api_op_DescribePipelineExecution.go +++ b/service/sagemaker/api_op_DescribePipelineExecution.go @@ -151,9 +151,6 @@ func (c *Client) addOperationDescribePipelineExecutionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePipelineExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeProcessingJob.go b/service/sagemaker/api_op_DescribeProcessingJob.go index 41b70bfc989..0f4de310715 100644 --- a/service/sagemaker/api_op_DescribeProcessingJob.go +++ b/service/sagemaker/api_op_DescribeProcessingJob.go @@ -197,9 +197,6 @@ func (c *Client) addOperationDescribeProcessingJobMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeProcessingJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeProject.go b/service/sagemaker/api_op_DescribeProject.go index f8c3133b04e..e10f92dcbb2 100644 --- a/service/sagemaker/api_op_DescribeProject.go +++ b/service/sagemaker/api_op_DescribeProject.go @@ -159,9 +159,6 @@ func (c *Client) addOperationDescribeProjectMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeSpace.go b/service/sagemaker/api_op_DescribeSpace.go index 556e07fb1ab..64b44d3919c 100644 --- a/service/sagemaker/api_op_DescribeSpace.go +++ b/service/sagemaker/api_op_DescribeSpace.go @@ -167,9 +167,6 @@ func (c *Client) addOperationDescribeSpaceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSpaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeStudioLifecycleConfig.go b/service/sagemaker/api_op_DescribeStudioLifecycleConfig.go index 97412db541b..c164953a7b3 100644 --- a/service/sagemaker/api_op_DescribeStudioLifecycleConfig.go +++ b/service/sagemaker/api_op_DescribeStudioLifecycleConfig.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeStudioLifecycleConfigMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeStudioLifecycleConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeSubscribedWorkteam.go b/service/sagemaker/api_op_DescribeSubscribedWorkteam.go index 6e5047986a7..59f574a4034 100644 --- a/service/sagemaker/api_op_DescribeSubscribedWorkteam.go +++ b/service/sagemaker/api_op_DescribeSubscribedWorkteam.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDescribeSubscribedWorkteamMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSubscribedWorkteamValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeTrainingJob.go b/service/sagemaker/api_op_DescribeTrainingJob.go index e7109b6b051..f5a68015f38 100644 --- a/service/sagemaker/api_op_DescribeTrainingJob.go +++ b/service/sagemaker/api_op_DescribeTrainingJob.go @@ -408,9 +408,6 @@ func (c *Client) addOperationDescribeTrainingJobMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTrainingJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeTrainingPlan.go b/service/sagemaker/api_op_DescribeTrainingPlan.go index edfdcea31bc..68726ba05b3 100644 --- a/service/sagemaker/api_op_DescribeTrainingPlan.go +++ b/service/sagemaker/api_op_DescribeTrainingPlan.go @@ -177,9 +177,6 @@ func (c *Client) addOperationDescribeTrainingPlanMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTrainingPlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeTransformJob.go b/service/sagemaker/api_op_DescribeTransformJob.go index 09970943568..39e0f6003cd 100644 --- a/service/sagemaker/api_op_DescribeTransformJob.go +++ b/service/sagemaker/api_op_DescribeTransformJob.go @@ -230,9 +230,6 @@ func (c *Client) addOperationDescribeTransformJobMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTransformJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeTrial.go b/service/sagemaker/api_op_DescribeTrial.go index 63d99092e58..5ff1735d30d 100644 --- a/service/sagemaker/api_op_DescribeTrial.go +++ b/service/sagemaker/api_op_DescribeTrial.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeTrialMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTrialValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeTrialComponent.go b/service/sagemaker/api_op_DescribeTrialComponent.go index b21539db6ec..03315c1e64d 100644 --- a/service/sagemaker/api_op_DescribeTrialComponent.go +++ b/service/sagemaker/api_op_DescribeTrialComponent.go @@ -172,9 +172,6 @@ func (c *Client) addOperationDescribeTrialComponentMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTrialComponentValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeUserProfile.go b/service/sagemaker/api_op_DescribeUserProfile.go index ed6a4ae0336..0b1f2350f27 100644 --- a/service/sagemaker/api_op_DescribeUserProfile.go +++ b/service/sagemaker/api_op_DescribeUserProfile.go @@ -148,9 +148,6 @@ func (c *Client) addOperationDescribeUserProfileMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeUserProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeWorkforce.go b/service/sagemaker/api_op_DescribeWorkforce.go index b065fd5906f..74db306de48 100644 --- a/service/sagemaker/api_op_DescribeWorkforce.go +++ b/service/sagemaker/api_op_DescribeWorkforce.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDescribeWorkforceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeWorkforceValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DescribeWorkteam.go b/service/sagemaker/api_op_DescribeWorkteam.go index b3b455a5452..25e5f9a3fb3 100644 --- a/service/sagemaker/api_op_DescribeWorkteam.go +++ b/service/sagemaker/api_op_DescribeWorkteam.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDescribeWorkteamMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeWorkteamValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_DisableSagemakerServicecatalogPortfolio.go b/service/sagemaker/api_op_DisableSagemakerServicecatalogPortfolio.go index a4b3c04067c..2323332d5fc 100644 --- a/service/sagemaker/api_op_DisableSagemakerServicecatalogPortfolio.go +++ b/service/sagemaker/api_op_DisableSagemakerServicecatalogPortfolio.go @@ -102,9 +102,6 @@ func (c *Client) addOperationDisableSagemakerServicecatalogPortfolioMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableSagemakerServicecatalogPortfolio(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_DisassociateTrialComponent.go b/service/sagemaker/api_op_DisassociateTrialComponent.go index 378865cf0db..1adc2bce2a4 100644 --- a/service/sagemaker/api_op_DisassociateTrialComponent.go +++ b/service/sagemaker/api_op_DisassociateTrialComponent.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDisassociateTrialComponentMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateTrialComponentValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_EnableSagemakerServicecatalogPortfolio.go b/service/sagemaker/api_op_EnableSagemakerServicecatalogPortfolio.go index 4c779d577ec..82b2bf9fee9 100644 --- a/service/sagemaker/api_op_EnableSagemakerServicecatalogPortfolio.go +++ b/service/sagemaker/api_op_EnableSagemakerServicecatalogPortfolio.go @@ -102,9 +102,6 @@ func (c *Client) addOperationEnableSagemakerServicecatalogPortfolioMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableSagemakerServicecatalogPortfolio(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_GetDeviceFleetReport.go b/service/sagemaker/api_op_GetDeviceFleetReport.go index 7abc091639e..b5bf7dae790 100644 --- a/service/sagemaker/api_op_GetDeviceFleetReport.go +++ b/service/sagemaker/api_op_GetDeviceFleetReport.go @@ -138,9 +138,6 @@ func (c *Client) addOperationGetDeviceFleetReportMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeviceFleetReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_GetLineageGroupPolicy.go b/service/sagemaker/api_op_GetLineageGroupPolicy.go index eab99c57dd9..c1b0819e674 100644 --- a/service/sagemaker/api_op_GetLineageGroupPolicy.go +++ b/service/sagemaker/api_op_GetLineageGroupPolicy.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetLineageGroupPolicyMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLineageGroupPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_GetModelPackageGroupPolicy.go b/service/sagemaker/api_op_GetModelPackageGroupPolicy.go index 9ba88477296..e5e3275a278 100644 --- a/service/sagemaker/api_op_GetModelPackageGroupPolicy.go +++ b/service/sagemaker/api_op_GetModelPackageGroupPolicy.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetModelPackageGroupPolicyMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetModelPackageGroupPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_GetSagemakerServicecatalogPortfolioStatus.go b/service/sagemaker/api_op_GetSagemakerServicecatalogPortfolioStatus.go index 45dfe66ac13..9e1e7bfd636 100644 --- a/service/sagemaker/api_op_GetSagemakerServicecatalogPortfolioStatus.go +++ b/service/sagemaker/api_op_GetSagemakerServicecatalogPortfolioStatus.go @@ -107,9 +107,6 @@ func (c *Client) addOperationGetSagemakerServicecatalogPortfolioStatusMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSagemakerServicecatalogPortfolioStatus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_GetScalingConfigurationRecommendation.go b/service/sagemaker/api_op_GetScalingConfigurationRecommendation.go index fd08cb89464..4dc7593e885 100644 --- a/service/sagemaker/api_op_GetScalingConfigurationRecommendation.go +++ b/service/sagemaker/api_op_GetScalingConfigurationRecommendation.go @@ -158,9 +158,6 @@ func (c *Client) addOperationGetScalingConfigurationRecommendationMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetScalingConfigurationRecommendationValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_GetSearchSuggestions.go b/service/sagemaker/api_op_GetSearchSuggestions.go index 2703a79641f..c94a2337af6 100644 --- a/service/sagemaker/api_op_GetSearchSuggestions.go +++ b/service/sagemaker/api_op_GetSearchSuggestions.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetSearchSuggestionsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSearchSuggestionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ImportHubContent.go b/service/sagemaker/api_op_ImportHubContent.go index 9157c2cfe0b..88d39facf83 100644 --- a/service/sagemaker/api_op_ImportHubContent.go +++ b/service/sagemaker/api_op_ImportHubContent.go @@ -159,9 +159,6 @@ func (c *Client) addOperationImportHubContentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportHubContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListActions.go b/service/sagemaker/api_op_ListActions.go index 6e96cf4af2f..5634836584b 100644 --- a/service/sagemaker/api_op_ListActions.go +++ b/service/sagemaker/api_op_ListActions.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListActionsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListActions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListAlgorithms.go b/service/sagemaker/api_op_ListAlgorithms.go index 26e471757e4..c652943bff9 100644 --- a/service/sagemaker/api_op_ListAlgorithms.go +++ b/service/sagemaker/api_op_ListAlgorithms.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListAlgorithmsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAlgorithms(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListAliases.go b/service/sagemaker/api_op_ListAliases.go index dc933fe0f82..cc24e1395a6 100644 --- a/service/sagemaker/api_op_ListAliases.go +++ b/service/sagemaker/api_op_ListAliases.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListAliasesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAliasesValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListAppImageConfigs.go b/service/sagemaker/api_op_ListAppImageConfigs.go index 0a7683cc903..ee59e8b7d5e 100644 --- a/service/sagemaker/api_op_ListAppImageConfigs.go +++ b/service/sagemaker/api_op_ListAppImageConfigs.go @@ -150,9 +150,6 @@ func (c *Client) addOperationListAppImageConfigsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAppImageConfigs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListApps.go b/service/sagemaker/api_op_ListApps.go index 1d4b5edb975..8432d1a97ab 100644 --- a/service/sagemaker/api_op_ListApps.go +++ b/service/sagemaker/api_op_ListApps.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListAppsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApps(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListArtifacts.go b/service/sagemaker/api_op_ListArtifacts.go index d0ff80bdd7b..f7ded76c935 100644 --- a/service/sagemaker/api_op_ListArtifacts.go +++ b/service/sagemaker/api_op_ListArtifacts.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListArtifactsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListArtifacts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListAssociations.go b/service/sagemaker/api_op_ListAssociations.go index 3d76f26fcdf..963a666cfd2 100644 --- a/service/sagemaker/api_op_ListAssociations.go +++ b/service/sagemaker/api_op_ListAssociations.go @@ -147,9 +147,6 @@ func (c *Client) addOperationListAssociationsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssociations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListAutoMLJobs.go b/service/sagemaker/api_op_ListAutoMLJobs.go index 12cdbc74ad5..d68e340022d 100644 --- a/service/sagemaker/api_op_ListAutoMLJobs.go +++ b/service/sagemaker/api_op_ListAutoMLJobs.go @@ -145,9 +145,6 @@ func (c *Client) addOperationListAutoMLJobsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAutoMLJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListCandidatesForAutoMLJob.go b/service/sagemaker/api_op_ListCandidatesForAutoMLJob.go index b83be84fafe..557c20831e3 100644 --- a/service/sagemaker/api_op_ListCandidatesForAutoMLJob.go +++ b/service/sagemaker/api_op_ListCandidatesForAutoMLJob.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListCandidatesForAutoMLJobMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCandidatesForAutoMLJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListClusterNodes.go b/service/sagemaker/api_op_ListClusterNodes.go index a65ac111d70..b30cbb125dc 100644 --- a/service/sagemaker/api_op_ListClusterNodes.go +++ b/service/sagemaker/api_op_ListClusterNodes.go @@ -169,9 +169,6 @@ func (c *Client) addOperationListClusterNodesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListClusterNodesValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListClusterSchedulerConfigs.go b/service/sagemaker/api_op_ListClusterSchedulerConfigs.go index a7a07f942a5..308da2bae5a 100644 --- a/service/sagemaker/api_op_ListClusterSchedulerConfigs.go +++ b/service/sagemaker/api_op_ListClusterSchedulerConfigs.go @@ -148,9 +148,6 @@ func (c *Client) addOperationListClusterSchedulerConfigsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListClusterSchedulerConfigs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListClusters.go b/service/sagemaker/api_op_ListClusters.go index f1fe7a89d8b..4b4f22cf4f2 100644 --- a/service/sagemaker/api_op_ListClusters.go +++ b/service/sagemaker/api_op_ListClusters.go @@ -171,9 +171,6 @@ func (c *Client) addOperationListClustersMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListClusters(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListCodeRepositories.go b/service/sagemaker/api_op_ListCodeRepositories.go index 5bd8d54d418..7d315f170a1 100644 --- a/service/sagemaker/api_op_ListCodeRepositories.go +++ b/service/sagemaker/api_op_ListCodeRepositories.go @@ -162,9 +162,6 @@ func (c *Client) addOperationListCodeRepositoriesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCodeRepositories(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListCompilationJobs.go b/service/sagemaker/api_op_ListCompilationJobs.go index 14c72d0ce1f..b8d93c29c83 100644 --- a/service/sagemaker/api_op_ListCompilationJobs.go +++ b/service/sagemaker/api_op_ListCompilationJobs.go @@ -161,9 +161,6 @@ func (c *Client) addOperationListCompilationJobsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCompilationJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListComputeQuotas.go b/service/sagemaker/api_op_ListComputeQuotas.go index ad92ae818d5..82b1f9a1a1e 100644 --- a/service/sagemaker/api_op_ListComputeQuotas.go +++ b/service/sagemaker/api_op_ListComputeQuotas.go @@ -148,9 +148,6 @@ func (c *Client) addOperationListComputeQuotasMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListComputeQuotas(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListContexts.go b/service/sagemaker/api_op_ListContexts.go index c63e6d4900e..e8d35fb8329 100644 --- a/service/sagemaker/api_op_ListContexts.go +++ b/service/sagemaker/api_op_ListContexts.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListContextsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListContexts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListDataQualityJobDefinitions.go b/service/sagemaker/api_op_ListDataQualityJobDefinitions.go index 0891c940e36..a217a9529e7 100644 --- a/service/sagemaker/api_op_ListDataQualityJobDefinitions.go +++ b/service/sagemaker/api_op_ListDataQualityJobDefinitions.go @@ -148,9 +148,6 @@ func (c *Client) addOperationListDataQualityJobDefinitionsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataQualityJobDefinitions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListDeviceFleets.go b/service/sagemaker/api_op_ListDeviceFleets.go index c9d69ccae92..52cfd73e860 100644 --- a/service/sagemaker/api_op_ListDeviceFleets.go +++ b/service/sagemaker/api_op_ListDeviceFleets.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListDeviceFleetsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeviceFleets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListDevices.go b/service/sagemaker/api_op_ListDevices.go index 07581884e84..b7f43075d32 100644 --- a/service/sagemaker/api_op_ListDevices.go +++ b/service/sagemaker/api_op_ListDevices.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListDevicesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDevices(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListDomains.go b/service/sagemaker/api_op_ListDomains.go index ad6d0ee95a4..bd48d1a0a40 100644 --- a/service/sagemaker/api_op_ListDomains.go +++ b/service/sagemaker/api_op_ListDomains.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListDomainsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDomains(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListEdgeDeploymentPlans.go b/service/sagemaker/api_op_ListEdgeDeploymentPlans.go index 9c5844807c4..cf0e453729d 100644 --- a/service/sagemaker/api_op_ListEdgeDeploymentPlans.go +++ b/service/sagemaker/api_op_ListEdgeDeploymentPlans.go @@ -145,9 +145,6 @@ func (c *Client) addOperationListEdgeDeploymentPlansMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEdgeDeploymentPlans(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListEdgePackagingJobs.go b/service/sagemaker/api_op_ListEdgePackagingJobs.go index dd2b2281f57..ca99fbca870 100644 --- a/service/sagemaker/api_op_ListEdgePackagingJobs.go +++ b/service/sagemaker/api_op_ListEdgePackagingJobs.go @@ -147,9 +147,6 @@ func (c *Client) addOperationListEdgePackagingJobsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEdgePackagingJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListEndpointConfigs.go b/service/sagemaker/api_op_ListEndpointConfigs.go index f0025f737fe..42f4f835293 100644 --- a/service/sagemaker/api_op_ListEndpointConfigs.go +++ b/service/sagemaker/api_op_ListEndpointConfigs.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListEndpointConfigsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEndpointConfigs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListEndpoints.go b/service/sagemaker/api_op_ListEndpoints.go index b48db6ba434..c4f1fd457d3 100644 --- a/service/sagemaker/api_op_ListEndpoints.go +++ b/service/sagemaker/api_op_ListEndpoints.go @@ -152,9 +152,6 @@ func (c *Client) addOperationListEndpointsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEndpoints(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListExperiments.go b/service/sagemaker/api_op_ListExperiments.go index f86f06f31a0..cca5204b0cd 100644 --- a/service/sagemaker/api_op_ListExperiments.go +++ b/service/sagemaker/api_op_ListExperiments.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListExperimentsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExperiments(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListFeatureGroups.go b/service/sagemaker/api_op_ListFeatureGroups.go index 2e2ca0918c2..19d180c6997 100644 --- a/service/sagemaker/api_op_ListFeatureGroups.go +++ b/service/sagemaker/api_op_ListFeatureGroups.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListFeatureGroupsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFeatureGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListFlowDefinitions.go b/service/sagemaker/api_op_ListFlowDefinitions.go index 3dde78dcaba..cad483124e1 100644 --- a/service/sagemaker/api_op_ListFlowDefinitions.go +++ b/service/sagemaker/api_op_ListFlowDefinitions.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListFlowDefinitionsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFlowDefinitions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListHubContentVersions.go b/service/sagemaker/api_op_ListHubContentVersions.go index 2708afedb2d..e6cb5ad893e 100644 --- a/service/sagemaker/api_op_ListHubContentVersions.go +++ b/service/sagemaker/api_op_ListHubContentVersions.go @@ -155,9 +155,6 @@ func (c *Client) addOperationListHubContentVersionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListHubContentVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListHubContents.go b/service/sagemaker/api_op_ListHubContents.go index 6640b56e928..491e285549f 100644 --- a/service/sagemaker/api_op_ListHubContents.go +++ b/service/sagemaker/api_op_ListHubContents.go @@ -150,9 +150,6 @@ func (c *Client) addOperationListHubContentsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListHubContentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListHubs.go b/service/sagemaker/api_op_ListHubs.go index 64c05237cbe..752e28061ef 100644 --- a/service/sagemaker/api_op_ListHubs.go +++ b/service/sagemaker/api_op_ListHubs.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListHubsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHubs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListHumanTaskUis.go b/service/sagemaker/api_op_ListHumanTaskUis.go index f01fce2c5f7..19ec4c72e59 100644 --- a/service/sagemaker/api_op_ListHumanTaskUis.go +++ b/service/sagemaker/api_op_ListHumanTaskUis.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListHumanTaskUisMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHumanTaskUis(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListHyperParameterTuningJobs.go b/service/sagemaker/api_op_ListHyperParameterTuningJobs.go index 4ac6388a547..8658c547da7 100644 --- a/service/sagemaker/api_op_ListHyperParameterTuningJobs.go +++ b/service/sagemaker/api_op_ListHyperParameterTuningJobs.go @@ -158,9 +158,6 @@ func (c *Client) addOperationListHyperParameterTuningJobsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListHyperParameterTuningJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListImageVersions.go b/service/sagemaker/api_op_ListImageVersions.go index edeac30c113..213b5d4c010 100644 --- a/service/sagemaker/api_op_ListImageVersions.go +++ b/service/sagemaker/api_op_ListImageVersions.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListImageVersionsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListImageVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListImages.go b/service/sagemaker/api_op_ListImages.go index f61cacf351e..38d09f1fb35 100644 --- a/service/sagemaker/api_op_ListImages.go +++ b/service/sagemaker/api_op_ListImages.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListImagesMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImages(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListInferenceComponents.go b/service/sagemaker/api_op_ListInferenceComponents.go index 52dc988e15b..b27d71ee315 100644 --- a/service/sagemaker/api_op_ListInferenceComponents.go +++ b/service/sagemaker/api_op_ListInferenceComponents.go @@ -165,9 +165,6 @@ func (c *Client) addOperationListInferenceComponentsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInferenceComponents(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListInferenceExperiments.go b/service/sagemaker/api_op_ListInferenceExperiments.go index e8bb2744bdb..f9ca6f15d57 100644 --- a/service/sagemaker/api_op_ListInferenceExperiments.go +++ b/service/sagemaker/api_op_ListInferenceExperiments.go @@ -151,9 +151,6 @@ func (c *Client) addOperationListInferenceExperimentsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInferenceExperiments(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListInferenceRecommendationsJobSteps.go b/service/sagemaker/api_op_ListInferenceRecommendationsJobSteps.go index b84e1aaf9ab..270bb5bcb20 100644 --- a/service/sagemaker/api_op_ListInferenceRecommendationsJobSteps.go +++ b/service/sagemaker/api_op_ListInferenceRecommendationsJobSteps.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListInferenceRecommendationsJobStepsMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListInferenceRecommendationsJobStepsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListInferenceRecommendationsJobs.go b/service/sagemaker/api_op_ListInferenceRecommendationsJobs.go index 29a839a4536..2597e44ed8e 100644 --- a/service/sagemaker/api_op_ListInferenceRecommendationsJobs.go +++ b/service/sagemaker/api_op_ListInferenceRecommendationsJobs.go @@ -156,9 +156,6 @@ func (c *Client) addOperationListInferenceRecommendationsJobsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInferenceRecommendationsJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListLabelingJobs.go b/service/sagemaker/api_op_ListLabelingJobs.go index 889f5d34a5e..ba30b0e419c 100644 --- a/service/sagemaker/api_op_ListLabelingJobs.go +++ b/service/sagemaker/api_op_ListLabelingJobs.go @@ -149,9 +149,6 @@ func (c *Client) addOperationListLabelingJobsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLabelingJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListLabelingJobsForWorkteam.go b/service/sagemaker/api_op_ListLabelingJobsForWorkteam.go index 84b8acb28f8..10e578de6ba 100644 --- a/service/sagemaker/api_op_ListLabelingJobsForWorkteam.go +++ b/service/sagemaker/api_op_ListLabelingJobsForWorkteam.go @@ -146,9 +146,6 @@ func (c *Client) addOperationListLabelingJobsForWorkteamMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListLabelingJobsForWorkteamValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListLineageGroups.go b/service/sagemaker/api_op_ListLineageGroups.go index 4735f4f6ca3..4f598c0cb55 100644 --- a/service/sagemaker/api_op_ListLineageGroups.go +++ b/service/sagemaker/api_op_ListLineageGroups.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListLineageGroupsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLineageGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListMlflowTrackingServers.go b/service/sagemaker/api_op_ListMlflowTrackingServers.go index 14b92d04e73..2c716916847 100644 --- a/service/sagemaker/api_op_ListMlflowTrackingServers.go +++ b/service/sagemaker/api_op_ListMlflowTrackingServers.go @@ -149,9 +149,6 @@ func (c *Client) addOperationListMlflowTrackingServersMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMlflowTrackingServers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListModelBiasJobDefinitions.go b/service/sagemaker/api_op_ListModelBiasJobDefinitions.go index a6b49887e3f..ab33f00e6d3 100644 --- a/service/sagemaker/api_op_ListModelBiasJobDefinitions.go +++ b/service/sagemaker/api_op_ListModelBiasJobDefinitions.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListModelBiasJobDefinitionsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListModelBiasJobDefinitions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListModelCardExportJobs.go b/service/sagemaker/api_op_ListModelCardExportJobs.go index 1da6d4e2804..03279a49c7c 100644 --- a/service/sagemaker/api_op_ListModelCardExportJobs.go +++ b/service/sagemaker/api_op_ListModelCardExportJobs.go @@ -149,9 +149,6 @@ func (c *Client) addOperationListModelCardExportJobsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListModelCardExportJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListModelCardVersions.go b/service/sagemaker/api_op_ListModelCardVersions.go index 4e64b67fe49..34ddb7c266c 100644 --- a/service/sagemaker/api_op_ListModelCardVersions.go +++ b/service/sagemaker/api_op_ListModelCardVersions.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListModelCardVersionsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListModelCardVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListModelCards.go b/service/sagemaker/api_op_ListModelCards.go index 30bddca64e3..587ef831e43 100644 --- a/service/sagemaker/api_op_ListModelCards.go +++ b/service/sagemaker/api_op_ListModelCards.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListModelCardsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListModelCards(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListModelExplainabilityJobDefinitions.go b/service/sagemaker/api_op_ListModelExplainabilityJobDefinitions.go index 434070d9313..03d320690d1 100644 --- a/service/sagemaker/api_op_ListModelExplainabilityJobDefinitions.go +++ b/service/sagemaker/api_op_ListModelExplainabilityJobDefinitions.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListModelExplainabilityJobDefinitionsMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListModelExplainabilityJobDefinitions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListModelMetadata.go b/service/sagemaker/api_op_ListModelMetadata.go index a8f993f88df..9b8daf56410 100644 --- a/service/sagemaker/api_op_ListModelMetadata.go +++ b/service/sagemaker/api_op_ListModelMetadata.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListModelMetadataMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListModelMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListModelPackageGroups.go b/service/sagemaker/api_op_ListModelPackageGroups.go index 43f75e5dd0e..6157b3545c9 100644 --- a/service/sagemaker/api_op_ListModelPackageGroups.go +++ b/service/sagemaker/api_op_ListModelPackageGroups.go @@ -145,9 +145,6 @@ func (c *Client) addOperationListModelPackageGroupsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListModelPackageGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListModelPackages.go b/service/sagemaker/api_op_ListModelPackages.go index a8e390cbdb9..eefdeca63a4 100644 --- a/service/sagemaker/api_op_ListModelPackages.go +++ b/service/sagemaker/api_op_ListModelPackages.go @@ -159,9 +159,6 @@ func (c *Client) addOperationListModelPackagesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListModelPackages(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListModelQualityJobDefinitions.go b/service/sagemaker/api_op_ListModelQualityJobDefinitions.go index 7925bdd2627..a2b7dc2d766 100644 --- a/service/sagemaker/api_op_ListModelQualityJobDefinitions.go +++ b/service/sagemaker/api_op_ListModelQualityJobDefinitions.go @@ -147,9 +147,6 @@ func (c *Client) addOperationListModelQualityJobDefinitionsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListModelQualityJobDefinitions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListModels.go b/service/sagemaker/api_op_ListModels.go index 58e32899a91..0fe08bc67c8 100644 --- a/service/sagemaker/api_op_ListModels.go +++ b/service/sagemaker/api_op_ListModels.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListModelsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListModels(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListMonitoringAlertHistory.go b/service/sagemaker/api_op_ListMonitoringAlertHistory.go index 901f39a848e..ace93bb4424 100644 --- a/service/sagemaker/api_op_ListMonitoringAlertHistory.go +++ b/service/sagemaker/api_op_ListMonitoringAlertHistory.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListMonitoringAlertHistoryMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMonitoringAlertHistory(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListMonitoringAlerts.go b/service/sagemaker/api_op_ListMonitoringAlerts.go index 5549a4eb336..9f15216280c 100644 --- a/service/sagemaker/api_op_ListMonitoringAlerts.go +++ b/service/sagemaker/api_op_ListMonitoringAlerts.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListMonitoringAlertsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMonitoringAlertsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListMonitoringExecutions.go b/service/sagemaker/api_op_ListMonitoringExecutions.go index 0b4f43f0862..2f1e14e00fc 100644 --- a/service/sagemaker/api_op_ListMonitoringExecutions.go +++ b/service/sagemaker/api_op_ListMonitoringExecutions.go @@ -164,9 +164,6 @@ func (c *Client) addOperationListMonitoringExecutionsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMonitoringExecutions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListMonitoringSchedules.go b/service/sagemaker/api_op_ListMonitoringSchedules.go index 598d6334619..ad4ec26de87 100644 --- a/service/sagemaker/api_op_ListMonitoringSchedules.go +++ b/service/sagemaker/api_op_ListMonitoringSchedules.go @@ -160,9 +160,6 @@ func (c *Client) addOperationListMonitoringSchedulesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMonitoringSchedules(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListNotebookInstanceLifecycleConfigs.go b/service/sagemaker/api_op_ListNotebookInstanceLifecycleConfigs.go index 9bd8a64cc9a..1d0b7bfffc8 100644 --- a/service/sagemaker/api_op_ListNotebookInstanceLifecycleConfigs.go +++ b/service/sagemaker/api_op_ListNotebookInstanceLifecycleConfigs.go @@ -149,9 +149,6 @@ func (c *Client) addOperationListNotebookInstanceLifecycleConfigsMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNotebookInstanceLifecycleConfigs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListNotebookInstances.go b/service/sagemaker/api_op_ListNotebookInstances.go index cbcf4fcb69f..7ab802cfeb6 100644 --- a/service/sagemaker/api_op_ListNotebookInstances.go +++ b/service/sagemaker/api_op_ListNotebookInstances.go @@ -170,9 +170,6 @@ func (c *Client) addOperationListNotebookInstancesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNotebookInstances(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListOptimizationJobs.go b/service/sagemaker/api_op_ListOptimizationJobs.go index 97cb344c31c..a66b58c1976 100644 --- a/service/sagemaker/api_op_ListOptimizationJobs.go +++ b/service/sagemaker/api_op_ListOptimizationJobs.go @@ -158,9 +158,6 @@ func (c *Client) addOperationListOptimizationJobsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOptimizationJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListPartnerApps.go b/service/sagemaker/api_op_ListPartnerApps.go index 12844ecb8e7..a67bb163c2b 100644 --- a/service/sagemaker/api_op_ListPartnerApps.go +++ b/service/sagemaker/api_op_ListPartnerApps.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListPartnerAppsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPartnerApps(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListPipelineExecutionSteps.go b/service/sagemaker/api_op_ListPipelineExecutionSteps.go index 9216c9348e9..cff5f53285f 100644 --- a/service/sagemaker/api_op_ListPipelineExecutionSteps.go +++ b/service/sagemaker/api_op_ListPipelineExecutionSteps.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListPipelineExecutionStepsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPipelineExecutionSteps(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListPipelineExecutions.go b/service/sagemaker/api_op_ListPipelineExecutions.go index 1c188e4441e..2a65ae0ae74 100644 --- a/service/sagemaker/api_op_ListPipelineExecutions.go +++ b/service/sagemaker/api_op_ListPipelineExecutions.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListPipelineExecutionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPipelineExecutionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListPipelineParametersForExecution.go b/service/sagemaker/api_op_ListPipelineParametersForExecution.go index 9cb158e0ee1..0fdef8e75cf 100644 --- a/service/sagemaker/api_op_ListPipelineParametersForExecution.go +++ b/service/sagemaker/api_op_ListPipelineParametersForExecution.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListPipelineParametersForExecutionMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPipelineParametersForExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListPipelines.go b/service/sagemaker/api_op_ListPipelines.go index e1ae11bc81e..015ad617e7c 100644 --- a/service/sagemaker/api_op_ListPipelines.go +++ b/service/sagemaker/api_op_ListPipelines.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListPipelinesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPipelines(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListProcessingJobs.go b/service/sagemaker/api_op_ListProcessingJobs.go index f53a337f390..368b51a6477 100644 --- a/service/sagemaker/api_op_ListProcessingJobs.go +++ b/service/sagemaker/api_op_ListProcessingJobs.go @@ -147,9 +147,6 @@ func (c *Client) addOperationListProcessingJobsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProcessingJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListProjects.go b/service/sagemaker/api_op_ListProjects.go index 38f30017514..5fc24a41b91 100644 --- a/service/sagemaker/api_op_ListProjects.go +++ b/service/sagemaker/api_op_ListProjects.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListProjectsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProjects(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListResourceCatalogs.go b/service/sagemaker/api_op_ListResourceCatalogs.go index 7472f0e06e2..022e57e952e 100644 --- a/service/sagemaker/api_op_ListResourceCatalogs.go +++ b/service/sagemaker/api_op_ListResourceCatalogs.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListResourceCatalogsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourceCatalogs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListSpaces.go b/service/sagemaker/api_op_ListSpaces.go index c45d0c1cea1..f5df62ddca3 100644 --- a/service/sagemaker/api_op_ListSpaces.go +++ b/service/sagemaker/api_op_ListSpaces.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListSpacesMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSpaces(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListStageDevices.go b/service/sagemaker/api_op_ListStageDevices.go index 7803e4836f3..9c4b4bfd784 100644 --- a/service/sagemaker/api_op_ListStageDevices.go +++ b/service/sagemaker/api_op_ListStageDevices.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListStageDevicesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListStageDevicesValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListStudioLifecycleConfigs.go b/service/sagemaker/api_op_ListStudioLifecycleConfigs.go index 961ed70d805..995da796226 100644 --- a/service/sagemaker/api_op_ListStudioLifecycleConfigs.go +++ b/service/sagemaker/api_op_ListStudioLifecycleConfigs.go @@ -154,9 +154,6 @@ func (c *Client) addOperationListStudioLifecycleConfigsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStudioLifecycleConfigs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListSubscribedWorkteams.go b/service/sagemaker/api_op_ListSubscribedWorkteams.go index ced6ed58d55..536a1e1207e 100644 --- a/service/sagemaker/api_op_ListSubscribedWorkteams.go +++ b/service/sagemaker/api_op_ListSubscribedWorkteams.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListSubscribedWorkteamsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSubscribedWorkteams(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListTags.go b/service/sagemaker/api_op_ListTags.go index bb599e42383..15c655f38f2 100644 --- a/service/sagemaker/api_op_ListTags.go +++ b/service/sagemaker/api_op_ListTags.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListTagsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListTrainingJobs.go b/service/sagemaker/api_op_ListTrainingJobs.go index f6a5be017c8..c2266707faf 100644 --- a/service/sagemaker/api_op_ListTrainingJobs.go +++ b/service/sagemaker/api_op_ListTrainingJobs.go @@ -178,9 +178,6 @@ func (c *Client) addOperationListTrainingJobsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTrainingJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListTrainingJobsForHyperParameterTuningJob.go b/service/sagemaker/api_op_ListTrainingJobsForHyperParameterTuningJob.go index 4056e2996fb..124b80f0cfc 100644 --- a/service/sagemaker/api_op_ListTrainingJobsForHyperParameterTuningJob.go +++ b/service/sagemaker/api_op_ListTrainingJobsForHyperParameterTuningJob.go @@ -145,9 +145,6 @@ func (c *Client) addOperationListTrainingJobsForHyperParameterTuningJobMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTrainingJobsForHyperParameterTuningJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListTrainingPlans.go b/service/sagemaker/api_op_ListTrainingPlans.go index 4f38b27e75c..316d5770aa7 100644 --- a/service/sagemaker/api_op_ListTrainingPlans.go +++ b/service/sagemaker/api_op_ListTrainingPlans.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListTrainingPlansMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTrainingPlansValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_ListTransformJobs.go b/service/sagemaker/api_op_ListTransformJobs.go index 5cd4c65958b..b2c2e7cd5a4 100644 --- a/service/sagemaker/api_op_ListTransformJobs.go +++ b/service/sagemaker/api_op_ListTransformJobs.go @@ -148,9 +148,6 @@ func (c *Client) addOperationListTransformJobsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTransformJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListTrialComponents.go b/service/sagemaker/api_op_ListTrialComponents.go index 25c7b9b0582..731777a816e 100644 --- a/service/sagemaker/api_op_ListTrialComponents.go +++ b/service/sagemaker/api_op_ListTrialComponents.go @@ -154,9 +154,6 @@ func (c *Client) addOperationListTrialComponentsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTrialComponents(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListTrials.go b/service/sagemaker/api_op_ListTrials.go index 450192d26c4..5e2d27e6f8b 100644 --- a/service/sagemaker/api_op_ListTrials.go +++ b/service/sagemaker/api_op_ListTrials.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListTrialsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTrials(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListUserProfiles.go b/service/sagemaker/api_op_ListUserProfiles.go index b6b0dc0599a..f66c1726e7f 100644 --- a/service/sagemaker/api_op_ListUserProfiles.go +++ b/service/sagemaker/api_op_ListUserProfiles.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListUserProfilesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUserProfiles(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListWorkforces.go b/service/sagemaker/api_op_ListWorkforces.go index 901f8d5e3c9..e934beb2e2b 100644 --- a/service/sagemaker/api_op_ListWorkforces.go +++ b/service/sagemaker/api_op_ListWorkforces.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListWorkforcesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkforces(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_ListWorkteams.go b/service/sagemaker/api_op_ListWorkteams.go index 2ca49dd9976..865e8e4eed3 100644 --- a/service/sagemaker/api_op_ListWorkteams.go +++ b/service/sagemaker/api_op_ListWorkteams.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListWorkteamsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkteams(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_PutModelPackageGroupPolicy.go b/service/sagemaker/api_op_PutModelPackageGroupPolicy.go index be6e2a1c3e3..43ded8a43af 100644 --- a/service/sagemaker/api_op_PutModelPackageGroupPolicy.go +++ b/service/sagemaker/api_op_PutModelPackageGroupPolicy.go @@ -122,9 +122,6 @@ func (c *Client) addOperationPutModelPackageGroupPolicyMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutModelPackageGroupPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_QueryLineage.go b/service/sagemaker/api_op_QueryLineage.go index c76ee9e9a03..b2aa4a6bc37 100644 --- a/service/sagemaker/api_op_QueryLineage.go +++ b/service/sagemaker/api_op_QueryLineage.go @@ -160,9 +160,6 @@ func (c *Client) addOperationQueryLineageMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opQueryLineage(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemaker/api_op_RegisterDevices.go b/service/sagemaker/api_op_RegisterDevices.go index a48e6c37f01..a8afc801d1a 100644 --- a/service/sagemaker/api_op_RegisterDevices.go +++ b/service/sagemaker/api_op_RegisterDevices.go @@ -116,9 +116,6 @@ func (c *Client) addOperationRegisterDevicesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterDevicesValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_RenderUiTemplate.go b/service/sagemaker/api_op_RenderUiTemplate.go index 424b5e60595..4d17a7f9f4e 100644 --- a/service/sagemaker/api_op_RenderUiTemplate.go +++ b/service/sagemaker/api_op_RenderUiTemplate.go @@ -137,9 +137,6 @@ func (c *Client) addOperationRenderUiTemplateMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRenderUiTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_RetryPipelineExecution.go b/service/sagemaker/api_op_RetryPipelineExecution.go index 58544b9509c..844ec0bf069 100644 --- a/service/sagemaker/api_op_RetryPipelineExecution.go +++ b/service/sagemaker/api_op_RetryPipelineExecution.go @@ -122,9 +122,6 @@ func (c *Client) addOperationRetryPipelineExecutionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opRetryPipelineExecutionMiddleware(stack, options); err != nil { return err } diff --git a/service/sagemaker/api_op_Search.go b/service/sagemaker/api_op_Search.go index cca230f3637..4d0763f3784 100644 --- a/service/sagemaker/api_op_Search.go +++ b/service/sagemaker/api_op_Search.go @@ -163,9 +163,6 @@ func (c *Client) addOperationSearchMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_SearchTrainingPlanOfferings.go b/service/sagemaker/api_op_SearchTrainingPlanOfferings.go index b3400dbe116..bce5fe33df2 100644 --- a/service/sagemaker/api_op_SearchTrainingPlanOfferings.go +++ b/service/sagemaker/api_op_SearchTrainingPlanOfferings.go @@ -165,9 +165,6 @@ func (c *Client) addOperationSearchTrainingPlanOfferingsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchTrainingPlanOfferingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_SendPipelineExecutionStepFailure.go b/service/sagemaker/api_op_SendPipelineExecutionStepFailure.go index fd8b2a8b5e1..ad291f7a1fe 100644 --- a/service/sagemaker/api_op_SendPipelineExecutionStepFailure.go +++ b/service/sagemaker/api_op_SendPipelineExecutionStepFailure.go @@ -121,9 +121,6 @@ func (c *Client) addOperationSendPipelineExecutionStepFailureMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opSendPipelineExecutionStepFailureMiddleware(stack, options); err != nil { return err } diff --git a/service/sagemaker/api_op_SendPipelineExecutionStepSuccess.go b/service/sagemaker/api_op_SendPipelineExecutionStepSuccess.go index 72cda10ebfd..afd0d71ec98 100644 --- a/service/sagemaker/api_op_SendPipelineExecutionStepSuccess.go +++ b/service/sagemaker/api_op_SendPipelineExecutionStepSuccess.go @@ -122,9 +122,6 @@ func (c *Client) addOperationSendPipelineExecutionStepSuccessMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opSendPipelineExecutionStepSuccessMiddleware(stack, options); err != nil { return err } diff --git a/service/sagemaker/api_op_StartEdgeDeploymentStage.go b/service/sagemaker/api_op_StartEdgeDeploymentStage.go index 70ca550c628..2b4b907edb9 100644 --- a/service/sagemaker/api_op_StartEdgeDeploymentStage.go +++ b/service/sagemaker/api_op_StartEdgeDeploymentStage.go @@ -112,9 +112,6 @@ func (c *Client) addOperationStartEdgeDeploymentStageMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartEdgeDeploymentStageValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StartInferenceExperiment.go b/service/sagemaker/api_op_StartInferenceExperiment.go index ff0067d8f01..238d7c9d0f0 100644 --- a/service/sagemaker/api_op_StartInferenceExperiment.go +++ b/service/sagemaker/api_op_StartInferenceExperiment.go @@ -113,9 +113,6 @@ func (c *Client) addOperationStartInferenceExperimentMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartInferenceExperimentValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StartMlflowTrackingServer.go b/service/sagemaker/api_op_StartMlflowTrackingServer.go index e5bc8591702..64e8f5d9fb3 100644 --- a/service/sagemaker/api_op_StartMlflowTrackingServer.go +++ b/service/sagemaker/api_op_StartMlflowTrackingServer.go @@ -111,9 +111,6 @@ func (c *Client) addOperationStartMlflowTrackingServerMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartMlflowTrackingServerValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StartMonitoringSchedule.go b/service/sagemaker/api_op_StartMonitoringSchedule.go index e7293ebc667..8ccf2e448bb 100644 --- a/service/sagemaker/api_op_StartMonitoringSchedule.go +++ b/service/sagemaker/api_op_StartMonitoringSchedule.go @@ -110,9 +110,6 @@ func (c *Client) addOperationStartMonitoringScheduleMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartMonitoringScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StartNotebookInstance.go b/service/sagemaker/api_op_StartNotebookInstance.go index 75105863e6e..61bb0312492 100644 --- a/service/sagemaker/api_op_StartNotebookInstance.go +++ b/service/sagemaker/api_op_StartNotebookInstance.go @@ -111,9 +111,6 @@ func (c *Client) addOperationStartNotebookInstanceMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartNotebookInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StartPipelineExecution.go b/service/sagemaker/api_op_StartPipelineExecution.go index 39b8a437d0f..92c748f0cf4 100644 --- a/service/sagemaker/api_op_StartPipelineExecution.go +++ b/service/sagemaker/api_op_StartPipelineExecution.go @@ -134,9 +134,6 @@ func (c *Client) addOperationStartPipelineExecutionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartPipelineExecutionMiddleware(stack, options); err != nil { return err } diff --git a/service/sagemaker/api_op_StopAutoMLJob.go b/service/sagemaker/api_op_StopAutoMLJob.go index 6bf3b54a5fc..6a8fe06a628 100644 --- a/service/sagemaker/api_op_StopAutoMLJob.go +++ b/service/sagemaker/api_op_StopAutoMLJob.go @@ -107,9 +107,6 @@ func (c *Client) addOperationStopAutoMLJobMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopAutoMLJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StopCompilationJob.go b/service/sagemaker/api_op_StopCompilationJob.go index 9dafdea98fb..f28b18694a5 100644 --- a/service/sagemaker/api_op_StopCompilationJob.go +++ b/service/sagemaker/api_op_StopCompilationJob.go @@ -115,9 +115,6 @@ func (c *Client) addOperationStopCompilationJobMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopCompilationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StopEdgeDeploymentStage.go b/service/sagemaker/api_op_StopEdgeDeploymentStage.go index 94dfc3a9126..d91c943f7f5 100644 --- a/service/sagemaker/api_op_StopEdgeDeploymentStage.go +++ b/service/sagemaker/api_op_StopEdgeDeploymentStage.go @@ -112,9 +112,6 @@ func (c *Client) addOperationStopEdgeDeploymentStageMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopEdgeDeploymentStageValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StopEdgePackagingJob.go b/service/sagemaker/api_op_StopEdgePackagingJob.go index 37451cdd771..68a4c19ef9c 100644 --- a/service/sagemaker/api_op_StopEdgePackagingJob.go +++ b/service/sagemaker/api_op_StopEdgePackagingJob.go @@ -107,9 +107,6 @@ func (c *Client) addOperationStopEdgePackagingJobMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopEdgePackagingJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StopHyperParameterTuningJob.go b/service/sagemaker/api_op_StopHyperParameterTuningJob.go index abac3964576..d048640ed06 100644 --- a/service/sagemaker/api_op_StopHyperParameterTuningJob.go +++ b/service/sagemaker/api_op_StopHyperParameterTuningJob.go @@ -113,9 +113,6 @@ func (c *Client) addOperationStopHyperParameterTuningJobMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopHyperParameterTuningJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StopInferenceExperiment.go b/service/sagemaker/api_op_StopInferenceExperiment.go index fa959c289ed..77c53d407e4 100644 --- a/service/sagemaker/api_op_StopInferenceExperiment.go +++ b/service/sagemaker/api_op_StopInferenceExperiment.go @@ -143,9 +143,6 @@ func (c *Client) addOperationStopInferenceExperimentMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopInferenceExperimentValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StopInferenceRecommendationsJob.go b/service/sagemaker/api_op_StopInferenceRecommendationsJob.go index b9b3f722855..a9d9aefecff 100644 --- a/service/sagemaker/api_op_StopInferenceRecommendationsJob.go +++ b/service/sagemaker/api_op_StopInferenceRecommendationsJob.go @@ -107,9 +107,6 @@ func (c *Client) addOperationStopInferenceRecommendationsJobMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopInferenceRecommendationsJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StopLabelingJob.go b/service/sagemaker/api_op_StopLabelingJob.go index 3c9a8670d98..01242c9b84d 100644 --- a/service/sagemaker/api_op_StopLabelingJob.go +++ b/service/sagemaker/api_op_StopLabelingJob.go @@ -109,9 +109,6 @@ func (c *Client) addOperationStopLabelingJobMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopLabelingJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StopMlflowTrackingServer.go b/service/sagemaker/api_op_StopMlflowTrackingServer.go index 91b7830d587..c9afb9ac7b2 100644 --- a/service/sagemaker/api_op_StopMlflowTrackingServer.go +++ b/service/sagemaker/api_op_StopMlflowTrackingServer.go @@ -111,9 +111,6 @@ func (c *Client) addOperationStopMlflowTrackingServerMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopMlflowTrackingServerValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StopMonitoringSchedule.go b/service/sagemaker/api_op_StopMonitoringSchedule.go index 0f1a8c20191..287724ff17d 100644 --- a/service/sagemaker/api_op_StopMonitoringSchedule.go +++ b/service/sagemaker/api_op_StopMonitoringSchedule.go @@ -107,9 +107,6 @@ func (c *Client) addOperationStopMonitoringScheduleMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopMonitoringScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StopNotebookInstance.go b/service/sagemaker/api_op_StopNotebookInstance.go index 0151bbb9fad..b37ae746634 100644 --- a/service/sagemaker/api_op_StopNotebookInstance.go +++ b/service/sagemaker/api_op_StopNotebookInstance.go @@ -115,9 +115,6 @@ func (c *Client) addOperationStopNotebookInstanceMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopNotebookInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StopOptimizationJob.go b/service/sagemaker/api_op_StopOptimizationJob.go index ee5aaf6c973..bdd50689a39 100644 --- a/service/sagemaker/api_op_StopOptimizationJob.go +++ b/service/sagemaker/api_op_StopOptimizationJob.go @@ -107,9 +107,6 @@ func (c *Client) addOperationStopOptimizationJobMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopOptimizationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StopPipelineExecution.go b/service/sagemaker/api_op_StopPipelineExecution.go index 4797a601441..160a2e711f4 100644 --- a/service/sagemaker/api_op_StopPipelineExecution.go +++ b/service/sagemaker/api_op_StopPipelineExecution.go @@ -142,9 +142,6 @@ func (c *Client) addOperationStopPipelineExecutionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStopPipelineExecutionMiddleware(stack, options); err != nil { return err } diff --git a/service/sagemaker/api_op_StopProcessingJob.go b/service/sagemaker/api_op_StopProcessingJob.go index 72d4f2cbbda..b91e07921c1 100644 --- a/service/sagemaker/api_op_StopProcessingJob.go +++ b/service/sagemaker/api_op_StopProcessingJob.go @@ -107,9 +107,6 @@ func (c *Client) addOperationStopProcessingJobMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopProcessingJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StopTrainingJob.go b/service/sagemaker/api_op_StopTrainingJob.go index 31216641e12..81ba350c759 100644 --- a/service/sagemaker/api_op_StopTrainingJob.go +++ b/service/sagemaker/api_op_StopTrainingJob.go @@ -113,9 +113,6 @@ func (c *Client) addOperationStopTrainingJobMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopTrainingJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_StopTransformJob.go b/service/sagemaker/api_op_StopTransformJob.go index 7e6b397f8b0..7fb42be27d3 100644 --- a/service/sagemaker/api_op_StopTransformJob.go +++ b/service/sagemaker/api_op_StopTransformJob.go @@ -112,9 +112,6 @@ func (c *Client) addOperationStopTransformJobMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopTransformJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateAction.go b/service/sagemaker/api_op_UpdateAction.go index fd8a9a6cc67..f7ed65fb442 100644 --- a/service/sagemaker/api_op_UpdateAction.go +++ b/service/sagemaker/api_op_UpdateAction.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateActionMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateAppImageConfig.go b/service/sagemaker/api_op_UpdateAppImageConfig.go index 6fee46847a4..ba3e7ab5ccb 100644 --- a/service/sagemaker/api_op_UpdateAppImageConfig.go +++ b/service/sagemaker/api_op_UpdateAppImageConfig.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateAppImageConfigMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAppImageConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateArtifact.go b/service/sagemaker/api_op_UpdateArtifact.go index bd7ad0639ef..593e4ffae9d 100644 --- a/service/sagemaker/api_op_UpdateArtifact.go +++ b/service/sagemaker/api_op_UpdateArtifact.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdateArtifactMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateArtifactValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateCluster.go b/service/sagemaker/api_op_UpdateCluster.go index 7330a3e1025..e264fa17b17 100644 --- a/service/sagemaker/api_op_UpdateCluster.go +++ b/service/sagemaker/api_op_UpdateCluster.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateClusterSchedulerConfig.go b/service/sagemaker/api_op_UpdateClusterSchedulerConfig.go index d7dec97d3aa..00a00e42798 100644 --- a/service/sagemaker/api_op_UpdateClusterSchedulerConfig.go +++ b/service/sagemaker/api_op_UpdateClusterSchedulerConfig.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateClusterSchedulerConfigMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateClusterSchedulerConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateClusterSoftware.go b/service/sagemaker/api_op_UpdateClusterSoftware.go index f5128afb6b5..4d53ba91352 100644 --- a/service/sagemaker/api_op_UpdateClusterSoftware.go +++ b/service/sagemaker/api_op_UpdateClusterSoftware.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateClusterSoftwareMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateClusterSoftwareValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateCodeRepository.go b/service/sagemaker/api_op_UpdateCodeRepository.go index 6a03a395b26..a3e6f4387d5 100644 --- a/service/sagemaker/api_op_UpdateCodeRepository.go +++ b/service/sagemaker/api_op_UpdateCodeRepository.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateCodeRepositoryMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCodeRepositoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateComputeQuota.go b/service/sagemaker/api_op_UpdateComputeQuota.go index 9114b57d3f5..b1e0813d9ad 100644 --- a/service/sagemaker/api_op_UpdateComputeQuota.go +++ b/service/sagemaker/api_op_UpdateComputeQuota.go @@ -140,9 +140,6 @@ func (c *Client) addOperationUpdateComputeQuotaMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateComputeQuotaValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateContext.go b/service/sagemaker/api_op_UpdateContext.go index 3d4b55e2967..74254dd2348 100644 --- a/service/sagemaker/api_op_UpdateContext.go +++ b/service/sagemaker/api_op_UpdateContext.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdateContextMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateContextValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateDeviceFleet.go b/service/sagemaker/api_op_UpdateDeviceFleet.go index b396e67ff9c..00a422cb450 100644 --- a/service/sagemaker/api_op_UpdateDeviceFleet.go +++ b/service/sagemaker/api_op_UpdateDeviceFleet.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateDeviceFleetMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDeviceFleetValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateDevices.go b/service/sagemaker/api_op_UpdateDevices.go index 36e2d94e9df..615987bec40 100644 --- a/service/sagemaker/api_op_UpdateDevices.go +++ b/service/sagemaker/api_op_UpdateDevices.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUpdateDevicesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDevicesValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateDomain.go b/service/sagemaker/api_op_UpdateDomain.go index 81c809d2b17..32afa8ff213 100644 --- a/service/sagemaker/api_op_UpdateDomain.go +++ b/service/sagemaker/api_op_UpdateDomain.go @@ -153,9 +153,6 @@ func (c *Client) addOperationUpdateDomainMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateEndpoint.go b/service/sagemaker/api_op_UpdateEndpoint.go index f4e46895b42..0254cb9329f 100644 --- a/service/sagemaker/api_op_UpdateEndpoint.go +++ b/service/sagemaker/api_op_UpdateEndpoint.go @@ -164,9 +164,6 @@ func (c *Client) addOperationUpdateEndpointMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateEndpointWeightsAndCapacities.go b/service/sagemaker/api_op_UpdateEndpointWeightsAndCapacities.go index a232156f003..c2115a76102 100644 --- a/service/sagemaker/api_op_UpdateEndpointWeightsAndCapacities.go +++ b/service/sagemaker/api_op_UpdateEndpointWeightsAndCapacities.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateEndpointWeightsAndCapacitiesMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEndpointWeightsAndCapacitiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateExperiment.go b/service/sagemaker/api_op_UpdateExperiment.go index 3839aa29385..f6c15b85ace 100644 --- a/service/sagemaker/api_op_UpdateExperiment.go +++ b/service/sagemaker/api_op_UpdateExperiment.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateExperimentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateExperimentValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateFeatureGroup.go b/service/sagemaker/api_op_UpdateFeatureGroup.go index 9c333620fe2..2d78b4bb306 100644 --- a/service/sagemaker/api_op_UpdateFeatureGroup.go +++ b/service/sagemaker/api_op_UpdateFeatureGroup.go @@ -143,9 +143,6 @@ func (c *Client) addOperationUpdateFeatureGroupMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFeatureGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateFeatureMetadata.go b/service/sagemaker/api_op_UpdateFeatureMetadata.go index 68d4b26af69..133d4d42b12 100644 --- a/service/sagemaker/api_op_UpdateFeatureMetadata.go +++ b/service/sagemaker/api_op_UpdateFeatureMetadata.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateFeatureMetadataMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFeatureMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateHub.go b/service/sagemaker/api_op_UpdateHub.go index f410533a4be..c2f828b2ff7 100644 --- a/service/sagemaker/api_op_UpdateHub.go +++ b/service/sagemaker/api_op_UpdateHub.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateHubMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateHubValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateImage.go b/service/sagemaker/api_op_UpdateImage.go index af75bab7739..c04116c9ca3 100644 --- a/service/sagemaker/api_op_UpdateImage.go +++ b/service/sagemaker/api_op_UpdateImage.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUpdateImageMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateImageValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateImageVersion.go b/service/sagemaker/api_op_UpdateImageVersion.go index 9c7219d13f7..38bbffcd8df 100644 --- a/service/sagemaker/api_op_UpdateImageVersion.go +++ b/service/sagemaker/api_op_UpdateImageVersion.go @@ -168,9 +168,6 @@ func (c *Client) addOperationUpdateImageVersionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateImageVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateInferenceComponent.go b/service/sagemaker/api_op_UpdateInferenceComponent.go index e8d0892cdfe..dd259d540df 100644 --- a/service/sagemaker/api_op_UpdateInferenceComponent.go +++ b/service/sagemaker/api_op_UpdateInferenceComponent.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateInferenceComponentMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateInferenceComponentValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateInferenceComponentRuntimeConfig.go b/service/sagemaker/api_op_UpdateInferenceComponentRuntimeConfig.go index 4d4d0fb96f7..9c235b7f892 100644 --- a/service/sagemaker/api_op_UpdateInferenceComponentRuntimeConfig.go +++ b/service/sagemaker/api_op_UpdateInferenceComponentRuntimeConfig.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateInferenceComponentRuntimeConfigMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateInferenceComponentRuntimeConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateInferenceExperiment.go b/service/sagemaker/api_op_UpdateInferenceExperiment.go index 822887caa5b..9b8b3ac3c7c 100644 --- a/service/sagemaker/api_op_UpdateInferenceExperiment.go +++ b/service/sagemaker/api_op_UpdateInferenceExperiment.go @@ -143,9 +143,6 @@ func (c *Client) addOperationUpdateInferenceExperimentMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateInferenceExperimentValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateMlflowTrackingServer.go b/service/sagemaker/api_op_UpdateMlflowTrackingServer.go index f5e1bde2ba0..3d2f7f1f295 100644 --- a/service/sagemaker/api_op_UpdateMlflowTrackingServer.go +++ b/service/sagemaker/api_op_UpdateMlflowTrackingServer.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateMlflowTrackingServerMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMlflowTrackingServerValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateModelCard.go b/service/sagemaker/api_op_UpdateModelCard.go index 2db1e888659..8a24ba1790c 100644 --- a/service/sagemaker/api_op_UpdateModelCard.go +++ b/service/sagemaker/api_op_UpdateModelCard.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateModelCardMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateModelCardValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateModelPackage.go b/service/sagemaker/api_op_UpdateModelPackage.go index 0798c838a71..37ac9568f6d 100644 --- a/service/sagemaker/api_op_UpdateModelPackage.go +++ b/service/sagemaker/api_op_UpdateModelPackage.go @@ -168,9 +168,6 @@ func (c *Client) addOperationUpdateModelPackageMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateModelPackageValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateMonitoringAlert.go b/service/sagemaker/api_op_UpdateMonitoringAlert.go index 05f6defac3a..49bdb9401ea 100644 --- a/service/sagemaker/api_op_UpdateMonitoringAlert.go +++ b/service/sagemaker/api_op_UpdateMonitoringAlert.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdateMonitoringAlertMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMonitoringAlertValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateMonitoringSchedule.go b/service/sagemaker/api_op_UpdateMonitoringSchedule.go index 0ea5c9d174e..33b3cdb2fc6 100644 --- a/service/sagemaker/api_op_UpdateMonitoringSchedule.go +++ b/service/sagemaker/api_op_UpdateMonitoringSchedule.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateMonitoringScheduleMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMonitoringScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateNotebookInstance.go b/service/sagemaker/api_op_UpdateNotebookInstance.go index 766d22010e4..82b2aa20a01 100644 --- a/service/sagemaker/api_op_UpdateNotebookInstance.go +++ b/service/sagemaker/api_op_UpdateNotebookInstance.go @@ -198,9 +198,6 @@ func (c *Client) addOperationUpdateNotebookInstanceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateNotebookInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateNotebookInstanceLifecycleConfig.go b/service/sagemaker/api_op_UpdateNotebookInstanceLifecycleConfig.go index 6199fb9dfa5..795ddf7b7dc 100644 --- a/service/sagemaker/api_op_UpdateNotebookInstanceLifecycleConfig.go +++ b/service/sagemaker/api_op_UpdateNotebookInstanceLifecycleConfig.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateNotebookInstanceLifecycleConfigMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateNotebookInstanceLifecycleConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdatePartnerApp.go b/service/sagemaker/api_op_UpdatePartnerApp.go index 9ddd4953d3c..1a7ed76a2aa 100644 --- a/service/sagemaker/api_op_UpdatePartnerApp.go +++ b/service/sagemaker/api_op_UpdatePartnerApp.go @@ -134,9 +134,6 @@ func (c *Client) addOperationUpdatePartnerAppMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdatePartnerAppMiddleware(stack, options); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdatePipeline.go b/service/sagemaker/api_op_UpdatePipeline.go index 9649469c79f..9746ae982e0 100644 --- a/service/sagemaker/api_op_UpdatePipeline.go +++ b/service/sagemaker/api_op_UpdatePipeline.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdatePipelineMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePipelineValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdatePipelineExecution.go b/service/sagemaker/api_op_UpdatePipelineExecution.go index 979c2dc82a3..56d20cea7de 100644 --- a/service/sagemaker/api_op_UpdatePipelineExecution.go +++ b/service/sagemaker/api_op_UpdatePipelineExecution.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdatePipelineExecutionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePipelineExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateProject.go b/service/sagemaker/api_op_UpdateProject.go index eec3c99945f..dbd3358a1d0 100644 --- a/service/sagemaker/api_op_UpdateProject.go +++ b/service/sagemaker/api_op_UpdateProject.go @@ -140,9 +140,6 @@ func (c *Client) addOperationUpdateProjectMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateProjectValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateSpace.go b/service/sagemaker/api_op_UpdateSpace.go index 8f1c32acdf6..a44dd773eb2 100644 --- a/service/sagemaker/api_op_UpdateSpace.go +++ b/service/sagemaker/api_op_UpdateSpace.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateSpaceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSpaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateTrainingJob.go b/service/sagemaker/api_op_UpdateTrainingJob.go index 93a477fde27..7ef93812213 100644 --- a/service/sagemaker/api_op_UpdateTrainingJob.go +++ b/service/sagemaker/api_op_UpdateTrainingJob.go @@ -134,9 +134,6 @@ func (c *Client) addOperationUpdateTrainingJobMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTrainingJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateTrial.go b/service/sagemaker/api_op_UpdateTrial.go index 4b92c7a4edb..af784cb9362 100644 --- a/service/sagemaker/api_op_UpdateTrial.go +++ b/service/sagemaker/api_op_UpdateTrial.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUpdateTrialMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTrialValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateTrialComponent.go b/service/sagemaker/api_op_UpdateTrialComponent.go index 672fce512c9..0b1ee9efed2 100644 --- a/service/sagemaker/api_op_UpdateTrialComponent.go +++ b/service/sagemaker/api_op_UpdateTrialComponent.go @@ -150,9 +150,6 @@ func (c *Client) addOperationUpdateTrialComponentMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTrialComponentValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateUserProfile.go b/service/sagemaker/api_op_UpdateUserProfile.go index bad1349e46c..fa3d504d94a 100644 --- a/service/sagemaker/api_op_UpdateUserProfile.go +++ b/service/sagemaker/api_op_UpdateUserProfile.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdateUserProfileMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateUserProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateWorkforce.go b/service/sagemaker/api_op_UpdateWorkforce.go index 6e90e50fdfe..d1ac14fa67d 100644 --- a/service/sagemaker/api_op_UpdateWorkforce.go +++ b/service/sagemaker/api_op_UpdateWorkforce.go @@ -170,9 +170,6 @@ func (c *Client) addOperationUpdateWorkforceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateWorkforceValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/api_op_UpdateWorkteam.go b/service/sagemaker/api_op_UpdateWorkteam.go index d200edbc963..5fcd11d1e7e 100644 --- a/service/sagemaker/api_op_UpdateWorkteam.go +++ b/service/sagemaker/api_op_UpdateWorkteam.go @@ -150,9 +150,6 @@ func (c *Client) addOperationUpdateWorkteamMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateWorkteamValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemaker/snapshot/api_op_AddAssociation.go.snap b/service/sagemaker/snapshot/api_op_AddAssociation.go.snap index 2e9abd02128..43ccdab6d2f 100644 --- a/service/sagemaker/snapshot/api_op_AddAssociation.go.snap +++ b/service/sagemaker/snapshot/api_op_AddAssociation.go.snap @@ -14,7 +14,6 @@ AddAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_AddTags.go.snap b/service/sagemaker/snapshot/api_op_AddTags.go.snap index 0d887673903..96fb5e7b63d 100644 --- a/service/sagemaker/snapshot/api_op_AddTags.go.snap +++ b/service/sagemaker/snapshot/api_op_AddTags.go.snap @@ -14,7 +14,6 @@ AddTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_AssociateTrialComponent.go.snap b/service/sagemaker/snapshot/api_op_AssociateTrialComponent.go.snap index 07727521570..450e681f73a 100644 --- a/service/sagemaker/snapshot/api_op_AssociateTrialComponent.go.snap +++ b/service/sagemaker/snapshot/api_op_AssociateTrialComponent.go.snap @@ -14,7 +14,6 @@ AssociateTrialComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_BatchDeleteClusterNodes.go.snap b/service/sagemaker/snapshot/api_op_BatchDeleteClusterNodes.go.snap index 44d45c19af6..79d72f9da61 100644 --- a/service/sagemaker/snapshot/api_op_BatchDeleteClusterNodes.go.snap +++ b/service/sagemaker/snapshot/api_op_BatchDeleteClusterNodes.go.snap @@ -14,7 +14,6 @@ BatchDeleteClusterNodes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_BatchDescribeModelPackage.go.snap b/service/sagemaker/snapshot/api_op_BatchDescribeModelPackage.go.snap index 56ef6b7de86..9971b4d136f 100644 --- a/service/sagemaker/snapshot/api_op_BatchDescribeModelPackage.go.snap +++ b/service/sagemaker/snapshot/api_op_BatchDescribeModelPackage.go.snap @@ -14,7 +14,6 @@ BatchDescribeModelPackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateAction.go.snap b/service/sagemaker/snapshot/api_op_CreateAction.go.snap index 93959efc157..27767663113 100644 --- a/service/sagemaker/snapshot/api_op_CreateAction.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateAction.go.snap @@ -14,7 +14,6 @@ CreateAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateAlgorithm.go.snap b/service/sagemaker/snapshot/api_op_CreateAlgorithm.go.snap index 28637d38124..39082e100ca 100644 --- a/service/sagemaker/snapshot/api_op_CreateAlgorithm.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateAlgorithm.go.snap @@ -14,7 +14,6 @@ CreateAlgorithm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateApp.go.snap b/service/sagemaker/snapshot/api_op_CreateApp.go.snap index b4303227129..d73b17a92f7 100644 --- a/service/sagemaker/snapshot/api_op_CreateApp.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateApp.go.snap @@ -14,7 +14,6 @@ CreateApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateAppImageConfig.go.snap b/service/sagemaker/snapshot/api_op_CreateAppImageConfig.go.snap index 9c714099a73..4d21b1a46ab 100644 --- a/service/sagemaker/snapshot/api_op_CreateAppImageConfig.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateAppImageConfig.go.snap @@ -14,7 +14,6 @@ CreateAppImageConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateArtifact.go.snap b/service/sagemaker/snapshot/api_op_CreateArtifact.go.snap index bcfda2add6d..2a021cc1eb5 100644 --- a/service/sagemaker/snapshot/api_op_CreateArtifact.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateArtifact.go.snap @@ -14,7 +14,6 @@ CreateArtifact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateAutoMLJob.go.snap b/service/sagemaker/snapshot/api_op_CreateAutoMLJob.go.snap index 1975fdedb2e..eb4430cfb23 100644 --- a/service/sagemaker/snapshot/api_op_CreateAutoMLJob.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateAutoMLJob.go.snap @@ -14,7 +14,6 @@ CreateAutoMLJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateAutoMLJobV2.go.snap b/service/sagemaker/snapshot/api_op_CreateAutoMLJobV2.go.snap index 42bf08ae21b..a36f55a0128 100644 --- a/service/sagemaker/snapshot/api_op_CreateAutoMLJobV2.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateAutoMLJobV2.go.snap @@ -14,7 +14,6 @@ CreateAutoMLJobV2 Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateCluster.go.snap b/service/sagemaker/snapshot/api_op_CreateCluster.go.snap index 1ee274e1f6c..03ac0c0d2e6 100644 --- a/service/sagemaker/snapshot/api_op_CreateCluster.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateCluster.go.snap @@ -14,7 +14,6 @@ CreateCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateClusterSchedulerConfig.go.snap b/service/sagemaker/snapshot/api_op_CreateClusterSchedulerConfig.go.snap index ff12477782a..f997e08d924 100644 --- a/service/sagemaker/snapshot/api_op_CreateClusterSchedulerConfig.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateClusterSchedulerConfig.go.snap @@ -14,7 +14,6 @@ CreateClusterSchedulerConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateCodeRepository.go.snap b/service/sagemaker/snapshot/api_op_CreateCodeRepository.go.snap index 1faadbe604f..bc3632c66d3 100644 --- a/service/sagemaker/snapshot/api_op_CreateCodeRepository.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateCodeRepository.go.snap @@ -14,7 +14,6 @@ CreateCodeRepository Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateCompilationJob.go.snap b/service/sagemaker/snapshot/api_op_CreateCompilationJob.go.snap index 5ad62cb8c4d..1696d53b947 100644 --- a/service/sagemaker/snapshot/api_op_CreateCompilationJob.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateCompilationJob.go.snap @@ -14,7 +14,6 @@ CreateCompilationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateComputeQuota.go.snap b/service/sagemaker/snapshot/api_op_CreateComputeQuota.go.snap index 084518e862c..e70b5fab401 100644 --- a/service/sagemaker/snapshot/api_op_CreateComputeQuota.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateComputeQuota.go.snap @@ -14,7 +14,6 @@ CreateComputeQuota Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateContext.go.snap b/service/sagemaker/snapshot/api_op_CreateContext.go.snap index 1ed0748af1c..156e6f0d8db 100644 --- a/service/sagemaker/snapshot/api_op_CreateContext.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateContext.go.snap @@ -14,7 +14,6 @@ CreateContext Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateDataQualityJobDefinition.go.snap b/service/sagemaker/snapshot/api_op_CreateDataQualityJobDefinition.go.snap index 7776e57e3af..dcdafb7cc8d 100644 --- a/service/sagemaker/snapshot/api_op_CreateDataQualityJobDefinition.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateDataQualityJobDefinition.go.snap @@ -14,7 +14,6 @@ CreateDataQualityJobDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateDeviceFleet.go.snap b/service/sagemaker/snapshot/api_op_CreateDeviceFleet.go.snap index 6079152a5fd..0b1f181f48c 100644 --- a/service/sagemaker/snapshot/api_op_CreateDeviceFleet.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateDeviceFleet.go.snap @@ -14,7 +14,6 @@ CreateDeviceFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateDomain.go.snap b/service/sagemaker/snapshot/api_op_CreateDomain.go.snap index 16feb8a4d42..91a84f443d8 100644 --- a/service/sagemaker/snapshot/api_op_CreateDomain.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateDomain.go.snap @@ -14,7 +14,6 @@ CreateDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateEdgeDeploymentPlan.go.snap b/service/sagemaker/snapshot/api_op_CreateEdgeDeploymentPlan.go.snap index 74fd4793b62..6466102f076 100644 --- a/service/sagemaker/snapshot/api_op_CreateEdgeDeploymentPlan.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateEdgeDeploymentPlan.go.snap @@ -14,7 +14,6 @@ CreateEdgeDeploymentPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateEdgeDeploymentStage.go.snap b/service/sagemaker/snapshot/api_op_CreateEdgeDeploymentStage.go.snap index cdd315bba2a..431926f20ab 100644 --- a/service/sagemaker/snapshot/api_op_CreateEdgeDeploymentStage.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateEdgeDeploymentStage.go.snap @@ -14,7 +14,6 @@ CreateEdgeDeploymentStage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateEdgePackagingJob.go.snap b/service/sagemaker/snapshot/api_op_CreateEdgePackagingJob.go.snap index dc813156394..59243f84d48 100644 --- a/service/sagemaker/snapshot/api_op_CreateEdgePackagingJob.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateEdgePackagingJob.go.snap @@ -14,7 +14,6 @@ CreateEdgePackagingJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateEndpoint.go.snap b/service/sagemaker/snapshot/api_op_CreateEndpoint.go.snap index 129d39a9428..a5f0c702323 100644 --- a/service/sagemaker/snapshot/api_op_CreateEndpoint.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateEndpoint.go.snap @@ -14,7 +14,6 @@ CreateEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateEndpointConfig.go.snap b/service/sagemaker/snapshot/api_op_CreateEndpointConfig.go.snap index 122810dfe3e..a683cd48aa8 100644 --- a/service/sagemaker/snapshot/api_op_CreateEndpointConfig.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateEndpointConfig.go.snap @@ -14,7 +14,6 @@ CreateEndpointConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateExperiment.go.snap b/service/sagemaker/snapshot/api_op_CreateExperiment.go.snap index 2de5ee783b7..4d43849c848 100644 --- a/service/sagemaker/snapshot/api_op_CreateExperiment.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateExperiment.go.snap @@ -14,7 +14,6 @@ CreateExperiment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateFeatureGroup.go.snap b/service/sagemaker/snapshot/api_op_CreateFeatureGroup.go.snap index 048659dd72f..9e93e430768 100644 --- a/service/sagemaker/snapshot/api_op_CreateFeatureGroup.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateFeatureGroup.go.snap @@ -14,7 +14,6 @@ CreateFeatureGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateFlowDefinition.go.snap b/service/sagemaker/snapshot/api_op_CreateFlowDefinition.go.snap index 1785ca9e3e2..9b0d0fc6bb2 100644 --- a/service/sagemaker/snapshot/api_op_CreateFlowDefinition.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateFlowDefinition.go.snap @@ -14,7 +14,6 @@ CreateFlowDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateHub.go.snap b/service/sagemaker/snapshot/api_op_CreateHub.go.snap index 027583e59ee..a9e5524d05b 100644 --- a/service/sagemaker/snapshot/api_op_CreateHub.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateHub.go.snap @@ -14,7 +14,6 @@ CreateHub Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateHubContentReference.go.snap b/service/sagemaker/snapshot/api_op_CreateHubContentReference.go.snap index 02d8aaea5d6..be0fb151113 100644 --- a/service/sagemaker/snapshot/api_op_CreateHubContentReference.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateHubContentReference.go.snap @@ -14,7 +14,6 @@ CreateHubContentReference Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateHumanTaskUi.go.snap b/service/sagemaker/snapshot/api_op_CreateHumanTaskUi.go.snap index a7c4ac97589..5c55da8e1ee 100644 --- a/service/sagemaker/snapshot/api_op_CreateHumanTaskUi.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateHumanTaskUi.go.snap @@ -14,7 +14,6 @@ CreateHumanTaskUi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateHyperParameterTuningJob.go.snap b/service/sagemaker/snapshot/api_op_CreateHyperParameterTuningJob.go.snap index 74f3e2a75ab..5f8935471b0 100644 --- a/service/sagemaker/snapshot/api_op_CreateHyperParameterTuningJob.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateHyperParameterTuningJob.go.snap @@ -14,7 +14,6 @@ CreateHyperParameterTuningJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateImage.go.snap b/service/sagemaker/snapshot/api_op_CreateImage.go.snap index a5f5fbc8682..422b3b12487 100644 --- a/service/sagemaker/snapshot/api_op_CreateImage.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateImage.go.snap @@ -14,7 +14,6 @@ CreateImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateImageVersion.go.snap b/service/sagemaker/snapshot/api_op_CreateImageVersion.go.snap index adab635e3be..09d7fad0c00 100644 --- a/service/sagemaker/snapshot/api_op_CreateImageVersion.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateImageVersion.go.snap @@ -15,7 +15,6 @@ CreateImageVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateInferenceComponent.go.snap b/service/sagemaker/snapshot/api_op_CreateInferenceComponent.go.snap index 5316fdb71f2..27a96b28447 100644 --- a/service/sagemaker/snapshot/api_op_CreateInferenceComponent.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateInferenceComponent.go.snap @@ -14,7 +14,6 @@ CreateInferenceComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateInferenceExperiment.go.snap b/service/sagemaker/snapshot/api_op_CreateInferenceExperiment.go.snap index 11e9cfd4ef6..bacffb8321d 100644 --- a/service/sagemaker/snapshot/api_op_CreateInferenceExperiment.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateInferenceExperiment.go.snap @@ -14,7 +14,6 @@ CreateInferenceExperiment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateInferenceRecommendationsJob.go.snap b/service/sagemaker/snapshot/api_op_CreateInferenceRecommendationsJob.go.snap index 66b73183cd2..15158c230ae 100644 --- a/service/sagemaker/snapshot/api_op_CreateInferenceRecommendationsJob.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateInferenceRecommendationsJob.go.snap @@ -14,7 +14,6 @@ CreateInferenceRecommendationsJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateLabelingJob.go.snap b/service/sagemaker/snapshot/api_op_CreateLabelingJob.go.snap index 774b3c6d498..b97ba468078 100644 --- a/service/sagemaker/snapshot/api_op_CreateLabelingJob.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateLabelingJob.go.snap @@ -14,7 +14,6 @@ CreateLabelingJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateMlflowTrackingServer.go.snap b/service/sagemaker/snapshot/api_op_CreateMlflowTrackingServer.go.snap index f6900d79b6a..62ecc455c68 100644 --- a/service/sagemaker/snapshot/api_op_CreateMlflowTrackingServer.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateMlflowTrackingServer.go.snap @@ -14,7 +14,6 @@ CreateMlflowTrackingServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateModel.go.snap b/service/sagemaker/snapshot/api_op_CreateModel.go.snap index 362f06e40d9..977cbdf5ef8 100644 --- a/service/sagemaker/snapshot/api_op_CreateModel.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateModel.go.snap @@ -14,7 +14,6 @@ CreateModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateModelBiasJobDefinition.go.snap b/service/sagemaker/snapshot/api_op_CreateModelBiasJobDefinition.go.snap index a53d170d75a..42d27b89c95 100644 --- a/service/sagemaker/snapshot/api_op_CreateModelBiasJobDefinition.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateModelBiasJobDefinition.go.snap @@ -14,7 +14,6 @@ CreateModelBiasJobDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateModelCard.go.snap b/service/sagemaker/snapshot/api_op_CreateModelCard.go.snap index 55ad1a28eaa..597280ebc4f 100644 --- a/service/sagemaker/snapshot/api_op_CreateModelCard.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateModelCard.go.snap @@ -14,7 +14,6 @@ CreateModelCard Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateModelCardExportJob.go.snap b/service/sagemaker/snapshot/api_op_CreateModelCardExportJob.go.snap index b80e670baf2..124227ea232 100644 --- a/service/sagemaker/snapshot/api_op_CreateModelCardExportJob.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateModelCardExportJob.go.snap @@ -14,7 +14,6 @@ CreateModelCardExportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateModelExplainabilityJobDefinition.go.snap b/service/sagemaker/snapshot/api_op_CreateModelExplainabilityJobDefinition.go.snap index fee499f6988..2962e78e813 100644 --- a/service/sagemaker/snapshot/api_op_CreateModelExplainabilityJobDefinition.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateModelExplainabilityJobDefinition.go.snap @@ -14,7 +14,6 @@ CreateModelExplainabilityJobDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateModelPackage.go.snap b/service/sagemaker/snapshot/api_op_CreateModelPackage.go.snap index 384ce45d824..82071f26e3e 100644 --- a/service/sagemaker/snapshot/api_op_CreateModelPackage.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateModelPackage.go.snap @@ -15,7 +15,6 @@ CreateModelPackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateModelPackageGroup.go.snap b/service/sagemaker/snapshot/api_op_CreateModelPackageGroup.go.snap index eb539232fa5..364ae221083 100644 --- a/service/sagemaker/snapshot/api_op_CreateModelPackageGroup.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateModelPackageGroup.go.snap @@ -14,7 +14,6 @@ CreateModelPackageGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateModelQualityJobDefinition.go.snap b/service/sagemaker/snapshot/api_op_CreateModelQualityJobDefinition.go.snap index 68bf80c02f2..736c1ce0909 100644 --- a/service/sagemaker/snapshot/api_op_CreateModelQualityJobDefinition.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateModelQualityJobDefinition.go.snap @@ -14,7 +14,6 @@ CreateModelQualityJobDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateMonitoringSchedule.go.snap b/service/sagemaker/snapshot/api_op_CreateMonitoringSchedule.go.snap index 27feb3b790d..f556f3b5ddc 100644 --- a/service/sagemaker/snapshot/api_op_CreateMonitoringSchedule.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateMonitoringSchedule.go.snap @@ -14,7 +14,6 @@ CreateMonitoringSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateNotebookInstance.go.snap b/service/sagemaker/snapshot/api_op_CreateNotebookInstance.go.snap index 8f45c6000bd..1dac71f4a9d 100644 --- a/service/sagemaker/snapshot/api_op_CreateNotebookInstance.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateNotebookInstance.go.snap @@ -14,7 +14,6 @@ CreateNotebookInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateNotebookInstanceLifecycleConfig.go.snap b/service/sagemaker/snapshot/api_op_CreateNotebookInstanceLifecycleConfig.go.snap index 56ddc2adac1..e2ecfe8a2ab 100644 --- a/service/sagemaker/snapshot/api_op_CreateNotebookInstanceLifecycleConfig.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateNotebookInstanceLifecycleConfig.go.snap @@ -14,7 +14,6 @@ CreateNotebookInstanceLifecycleConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateOptimizationJob.go.snap b/service/sagemaker/snapshot/api_op_CreateOptimizationJob.go.snap index 3e7005190a2..21e173624eb 100644 --- a/service/sagemaker/snapshot/api_op_CreateOptimizationJob.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateOptimizationJob.go.snap @@ -14,7 +14,6 @@ CreateOptimizationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreatePartnerApp.go.snap b/service/sagemaker/snapshot/api_op_CreatePartnerApp.go.snap index 018162e9187..0d8c309c6b7 100644 --- a/service/sagemaker/snapshot/api_op_CreatePartnerApp.go.snap +++ b/service/sagemaker/snapshot/api_op_CreatePartnerApp.go.snap @@ -15,7 +15,6 @@ CreatePartnerApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreatePartnerAppPresignedUrl.go.snap b/service/sagemaker/snapshot/api_op_CreatePartnerAppPresignedUrl.go.snap index 3d9251b6cb1..d87fc834cc2 100644 --- a/service/sagemaker/snapshot/api_op_CreatePartnerAppPresignedUrl.go.snap +++ b/service/sagemaker/snapshot/api_op_CreatePartnerAppPresignedUrl.go.snap @@ -14,7 +14,6 @@ CreatePartnerAppPresignedUrl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreatePipeline.go.snap b/service/sagemaker/snapshot/api_op_CreatePipeline.go.snap index 903b50f6845..fdaebed6567 100644 --- a/service/sagemaker/snapshot/api_op_CreatePipeline.go.snap +++ b/service/sagemaker/snapshot/api_op_CreatePipeline.go.snap @@ -15,7 +15,6 @@ CreatePipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreatePresignedDomainUrl.go.snap b/service/sagemaker/snapshot/api_op_CreatePresignedDomainUrl.go.snap index de4d6b94951..2fd1199c985 100644 --- a/service/sagemaker/snapshot/api_op_CreatePresignedDomainUrl.go.snap +++ b/service/sagemaker/snapshot/api_op_CreatePresignedDomainUrl.go.snap @@ -14,7 +14,6 @@ CreatePresignedDomainUrl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreatePresignedMlflowTrackingServerUrl.go.snap b/service/sagemaker/snapshot/api_op_CreatePresignedMlflowTrackingServerUrl.go.snap index 2a5e5d55d85..ecbfa3e4b50 100644 --- a/service/sagemaker/snapshot/api_op_CreatePresignedMlflowTrackingServerUrl.go.snap +++ b/service/sagemaker/snapshot/api_op_CreatePresignedMlflowTrackingServerUrl.go.snap @@ -14,7 +14,6 @@ CreatePresignedMlflowTrackingServerUrl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreatePresignedNotebookInstanceUrl.go.snap b/service/sagemaker/snapshot/api_op_CreatePresignedNotebookInstanceUrl.go.snap index 567a834a320..2ab3d126479 100644 --- a/service/sagemaker/snapshot/api_op_CreatePresignedNotebookInstanceUrl.go.snap +++ b/service/sagemaker/snapshot/api_op_CreatePresignedNotebookInstanceUrl.go.snap @@ -14,7 +14,6 @@ CreatePresignedNotebookInstanceUrl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateProcessingJob.go.snap b/service/sagemaker/snapshot/api_op_CreateProcessingJob.go.snap index 12bc19125bb..193244f1cd3 100644 --- a/service/sagemaker/snapshot/api_op_CreateProcessingJob.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateProcessingJob.go.snap @@ -14,7 +14,6 @@ CreateProcessingJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateProject.go.snap b/service/sagemaker/snapshot/api_op_CreateProject.go.snap index 5011a8d8cc3..7ae2b811d6c 100644 --- a/service/sagemaker/snapshot/api_op_CreateProject.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateProject.go.snap @@ -14,7 +14,6 @@ CreateProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateSpace.go.snap b/service/sagemaker/snapshot/api_op_CreateSpace.go.snap index c5e8b96f2de..7ba2f887e7a 100644 --- a/service/sagemaker/snapshot/api_op_CreateSpace.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateSpace.go.snap @@ -14,7 +14,6 @@ CreateSpace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateStudioLifecycleConfig.go.snap b/service/sagemaker/snapshot/api_op_CreateStudioLifecycleConfig.go.snap index e12468083a8..f2397ef9bf9 100644 --- a/service/sagemaker/snapshot/api_op_CreateStudioLifecycleConfig.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateStudioLifecycleConfig.go.snap @@ -14,7 +14,6 @@ CreateStudioLifecycleConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateTrainingJob.go.snap b/service/sagemaker/snapshot/api_op_CreateTrainingJob.go.snap index 75d19391270..c9d7b808321 100644 --- a/service/sagemaker/snapshot/api_op_CreateTrainingJob.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateTrainingJob.go.snap @@ -14,7 +14,6 @@ CreateTrainingJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateTrainingPlan.go.snap b/service/sagemaker/snapshot/api_op_CreateTrainingPlan.go.snap index 74bb702009a..ee38a75e24e 100644 --- a/service/sagemaker/snapshot/api_op_CreateTrainingPlan.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateTrainingPlan.go.snap @@ -14,7 +14,6 @@ CreateTrainingPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateTransformJob.go.snap b/service/sagemaker/snapshot/api_op_CreateTransformJob.go.snap index 6357e6dc6cc..f3e9f5b7623 100644 --- a/service/sagemaker/snapshot/api_op_CreateTransformJob.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateTransformJob.go.snap @@ -14,7 +14,6 @@ CreateTransformJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateTrial.go.snap b/service/sagemaker/snapshot/api_op_CreateTrial.go.snap index 8c2e6ef6f45..15c9ea19ff1 100644 --- a/service/sagemaker/snapshot/api_op_CreateTrial.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateTrial.go.snap @@ -14,7 +14,6 @@ CreateTrial Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateTrialComponent.go.snap b/service/sagemaker/snapshot/api_op_CreateTrialComponent.go.snap index e0883bbab70..b78082b97bb 100644 --- a/service/sagemaker/snapshot/api_op_CreateTrialComponent.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateTrialComponent.go.snap @@ -14,7 +14,6 @@ CreateTrialComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateUserProfile.go.snap b/service/sagemaker/snapshot/api_op_CreateUserProfile.go.snap index e373ae84853..a9c912b5800 100644 --- a/service/sagemaker/snapshot/api_op_CreateUserProfile.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateUserProfile.go.snap @@ -14,7 +14,6 @@ CreateUserProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateWorkforce.go.snap b/service/sagemaker/snapshot/api_op_CreateWorkforce.go.snap index 1d1f306d0b5..22b60676dde 100644 --- a/service/sagemaker/snapshot/api_op_CreateWorkforce.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateWorkforce.go.snap @@ -14,7 +14,6 @@ CreateWorkforce Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_CreateWorkteam.go.snap b/service/sagemaker/snapshot/api_op_CreateWorkteam.go.snap index a145c01a005..1e832b03ffa 100644 --- a/service/sagemaker/snapshot/api_op_CreateWorkteam.go.snap +++ b/service/sagemaker/snapshot/api_op_CreateWorkteam.go.snap @@ -14,7 +14,6 @@ CreateWorkteam Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteAction.go.snap b/service/sagemaker/snapshot/api_op_DeleteAction.go.snap index 996a75b016d..c11caf3fcf2 100644 --- a/service/sagemaker/snapshot/api_op_DeleteAction.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteAction.go.snap @@ -14,7 +14,6 @@ DeleteAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteAlgorithm.go.snap b/service/sagemaker/snapshot/api_op_DeleteAlgorithm.go.snap index 4389137d18f..0ffffbefb1a 100644 --- a/service/sagemaker/snapshot/api_op_DeleteAlgorithm.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteAlgorithm.go.snap @@ -14,7 +14,6 @@ DeleteAlgorithm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteApp.go.snap b/service/sagemaker/snapshot/api_op_DeleteApp.go.snap index 5e024f33011..d8467fecd56 100644 --- a/service/sagemaker/snapshot/api_op_DeleteApp.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteApp.go.snap @@ -14,7 +14,6 @@ DeleteApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteAppImageConfig.go.snap b/service/sagemaker/snapshot/api_op_DeleteAppImageConfig.go.snap index a970fe5f157..c0103b0c6a1 100644 --- a/service/sagemaker/snapshot/api_op_DeleteAppImageConfig.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteAppImageConfig.go.snap @@ -14,7 +14,6 @@ DeleteAppImageConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteArtifact.go.snap b/service/sagemaker/snapshot/api_op_DeleteArtifact.go.snap index 3cd0578c019..d1f8d12a9f9 100644 --- a/service/sagemaker/snapshot/api_op_DeleteArtifact.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteArtifact.go.snap @@ -14,7 +14,6 @@ DeleteArtifact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteAssociation.go.snap b/service/sagemaker/snapshot/api_op_DeleteAssociation.go.snap index 579c7f928f6..7d22fab4573 100644 --- a/service/sagemaker/snapshot/api_op_DeleteAssociation.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteAssociation.go.snap @@ -14,7 +14,6 @@ DeleteAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteCluster.go.snap b/service/sagemaker/snapshot/api_op_DeleteCluster.go.snap index 8eeb23b33c5..9df5248d4d6 100644 --- a/service/sagemaker/snapshot/api_op_DeleteCluster.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteCluster.go.snap @@ -14,7 +14,6 @@ DeleteCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteClusterSchedulerConfig.go.snap b/service/sagemaker/snapshot/api_op_DeleteClusterSchedulerConfig.go.snap index 3f791779170..caf6b163097 100644 --- a/service/sagemaker/snapshot/api_op_DeleteClusterSchedulerConfig.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteClusterSchedulerConfig.go.snap @@ -14,7 +14,6 @@ DeleteClusterSchedulerConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteCodeRepository.go.snap b/service/sagemaker/snapshot/api_op_DeleteCodeRepository.go.snap index 8c6054b2914..b93fe82caa6 100644 --- a/service/sagemaker/snapshot/api_op_DeleteCodeRepository.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteCodeRepository.go.snap @@ -14,7 +14,6 @@ DeleteCodeRepository Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteCompilationJob.go.snap b/service/sagemaker/snapshot/api_op_DeleteCompilationJob.go.snap index 0139c77e5ba..7d3e9d0a3ec 100644 --- a/service/sagemaker/snapshot/api_op_DeleteCompilationJob.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteCompilationJob.go.snap @@ -14,7 +14,6 @@ DeleteCompilationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteComputeQuota.go.snap b/service/sagemaker/snapshot/api_op_DeleteComputeQuota.go.snap index 74f59f40b95..bb9c6c78446 100644 --- a/service/sagemaker/snapshot/api_op_DeleteComputeQuota.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteComputeQuota.go.snap @@ -14,7 +14,6 @@ DeleteComputeQuota Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteContext.go.snap b/service/sagemaker/snapshot/api_op_DeleteContext.go.snap index fd83191061e..1da5b296aa3 100644 --- a/service/sagemaker/snapshot/api_op_DeleteContext.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteContext.go.snap @@ -14,7 +14,6 @@ DeleteContext Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteDataQualityJobDefinition.go.snap b/service/sagemaker/snapshot/api_op_DeleteDataQualityJobDefinition.go.snap index 3a4d146c0d8..d923ba1a6ae 100644 --- a/service/sagemaker/snapshot/api_op_DeleteDataQualityJobDefinition.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteDataQualityJobDefinition.go.snap @@ -14,7 +14,6 @@ DeleteDataQualityJobDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteDeviceFleet.go.snap b/service/sagemaker/snapshot/api_op_DeleteDeviceFleet.go.snap index d83737cacaf..7830c69b392 100644 --- a/service/sagemaker/snapshot/api_op_DeleteDeviceFleet.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteDeviceFleet.go.snap @@ -14,7 +14,6 @@ DeleteDeviceFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteDomain.go.snap b/service/sagemaker/snapshot/api_op_DeleteDomain.go.snap index 24c9a1b0eb3..9a8c40f82ef 100644 --- a/service/sagemaker/snapshot/api_op_DeleteDomain.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteDomain.go.snap @@ -14,7 +14,6 @@ DeleteDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteEdgeDeploymentPlan.go.snap b/service/sagemaker/snapshot/api_op_DeleteEdgeDeploymentPlan.go.snap index c4ca99b1293..a42490affa8 100644 --- a/service/sagemaker/snapshot/api_op_DeleteEdgeDeploymentPlan.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteEdgeDeploymentPlan.go.snap @@ -14,7 +14,6 @@ DeleteEdgeDeploymentPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteEdgeDeploymentStage.go.snap b/service/sagemaker/snapshot/api_op_DeleteEdgeDeploymentStage.go.snap index d24e4679f29..63729c903ec 100644 --- a/service/sagemaker/snapshot/api_op_DeleteEdgeDeploymentStage.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteEdgeDeploymentStage.go.snap @@ -14,7 +14,6 @@ DeleteEdgeDeploymentStage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteEndpoint.go.snap b/service/sagemaker/snapshot/api_op_DeleteEndpoint.go.snap index 0f46907f489..c4648fb3e07 100644 --- a/service/sagemaker/snapshot/api_op_DeleteEndpoint.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteEndpoint.go.snap @@ -14,7 +14,6 @@ DeleteEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteEndpointConfig.go.snap b/service/sagemaker/snapshot/api_op_DeleteEndpointConfig.go.snap index 69d329b224e..64995c6102d 100644 --- a/service/sagemaker/snapshot/api_op_DeleteEndpointConfig.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteEndpointConfig.go.snap @@ -14,7 +14,6 @@ DeleteEndpointConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteExperiment.go.snap b/service/sagemaker/snapshot/api_op_DeleteExperiment.go.snap index 54a7bec410f..1fe8f2edd13 100644 --- a/service/sagemaker/snapshot/api_op_DeleteExperiment.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteExperiment.go.snap @@ -14,7 +14,6 @@ DeleteExperiment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteFeatureGroup.go.snap b/service/sagemaker/snapshot/api_op_DeleteFeatureGroup.go.snap index ff989c7ca5d..0bf138ae4cb 100644 --- a/service/sagemaker/snapshot/api_op_DeleteFeatureGroup.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteFeatureGroup.go.snap @@ -14,7 +14,6 @@ DeleteFeatureGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteFlowDefinition.go.snap b/service/sagemaker/snapshot/api_op_DeleteFlowDefinition.go.snap index 6cc91cb87b4..d8b35edf91d 100644 --- a/service/sagemaker/snapshot/api_op_DeleteFlowDefinition.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteFlowDefinition.go.snap @@ -14,7 +14,6 @@ DeleteFlowDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteHub.go.snap b/service/sagemaker/snapshot/api_op_DeleteHub.go.snap index 6c21eb00f55..1b777d0cd3e 100644 --- a/service/sagemaker/snapshot/api_op_DeleteHub.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteHub.go.snap @@ -14,7 +14,6 @@ DeleteHub Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteHubContent.go.snap b/service/sagemaker/snapshot/api_op_DeleteHubContent.go.snap index ff8385f9544..159e13f435d 100644 --- a/service/sagemaker/snapshot/api_op_DeleteHubContent.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteHubContent.go.snap @@ -14,7 +14,6 @@ DeleteHubContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteHubContentReference.go.snap b/service/sagemaker/snapshot/api_op_DeleteHubContentReference.go.snap index a5ededd30bf..b5883c7405d 100644 --- a/service/sagemaker/snapshot/api_op_DeleteHubContentReference.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteHubContentReference.go.snap @@ -14,7 +14,6 @@ DeleteHubContentReference Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteHumanTaskUi.go.snap b/service/sagemaker/snapshot/api_op_DeleteHumanTaskUi.go.snap index a58d5042909..bb07c85708e 100644 --- a/service/sagemaker/snapshot/api_op_DeleteHumanTaskUi.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteHumanTaskUi.go.snap @@ -14,7 +14,6 @@ DeleteHumanTaskUi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteHyperParameterTuningJob.go.snap b/service/sagemaker/snapshot/api_op_DeleteHyperParameterTuningJob.go.snap index 845db9645a9..db81a58fe78 100644 --- a/service/sagemaker/snapshot/api_op_DeleteHyperParameterTuningJob.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteHyperParameterTuningJob.go.snap @@ -14,7 +14,6 @@ DeleteHyperParameterTuningJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteImage.go.snap b/service/sagemaker/snapshot/api_op_DeleteImage.go.snap index 12d011fb117..1eed2629cd0 100644 --- a/service/sagemaker/snapshot/api_op_DeleteImage.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteImage.go.snap @@ -14,7 +14,6 @@ DeleteImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteImageVersion.go.snap b/service/sagemaker/snapshot/api_op_DeleteImageVersion.go.snap index 76de92f2328..a3cdb4b9351 100644 --- a/service/sagemaker/snapshot/api_op_DeleteImageVersion.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteImageVersion.go.snap @@ -14,7 +14,6 @@ DeleteImageVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteInferenceComponent.go.snap b/service/sagemaker/snapshot/api_op_DeleteInferenceComponent.go.snap index dc02d8c4010..ce2fc472f63 100644 --- a/service/sagemaker/snapshot/api_op_DeleteInferenceComponent.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteInferenceComponent.go.snap @@ -14,7 +14,6 @@ DeleteInferenceComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteInferenceExperiment.go.snap b/service/sagemaker/snapshot/api_op_DeleteInferenceExperiment.go.snap index 53b843a9784..aad438600d7 100644 --- a/service/sagemaker/snapshot/api_op_DeleteInferenceExperiment.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteInferenceExperiment.go.snap @@ -14,7 +14,6 @@ DeleteInferenceExperiment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteMlflowTrackingServer.go.snap b/service/sagemaker/snapshot/api_op_DeleteMlflowTrackingServer.go.snap index 5e971e30be3..afd2e692cd5 100644 --- a/service/sagemaker/snapshot/api_op_DeleteMlflowTrackingServer.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteMlflowTrackingServer.go.snap @@ -14,7 +14,6 @@ DeleteMlflowTrackingServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteModel.go.snap b/service/sagemaker/snapshot/api_op_DeleteModel.go.snap index e7d81439c82..4e87eb729a8 100644 --- a/service/sagemaker/snapshot/api_op_DeleteModel.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteModel.go.snap @@ -14,7 +14,6 @@ DeleteModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteModelBiasJobDefinition.go.snap b/service/sagemaker/snapshot/api_op_DeleteModelBiasJobDefinition.go.snap index 4d1214ca3b7..114d552c98e 100644 --- a/service/sagemaker/snapshot/api_op_DeleteModelBiasJobDefinition.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteModelBiasJobDefinition.go.snap @@ -14,7 +14,6 @@ DeleteModelBiasJobDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteModelCard.go.snap b/service/sagemaker/snapshot/api_op_DeleteModelCard.go.snap index ece9e0cab38..91808a92d4d 100644 --- a/service/sagemaker/snapshot/api_op_DeleteModelCard.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteModelCard.go.snap @@ -14,7 +14,6 @@ DeleteModelCard Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteModelExplainabilityJobDefinition.go.snap b/service/sagemaker/snapshot/api_op_DeleteModelExplainabilityJobDefinition.go.snap index 13e5e1d1e00..90cd66ac197 100644 --- a/service/sagemaker/snapshot/api_op_DeleteModelExplainabilityJobDefinition.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteModelExplainabilityJobDefinition.go.snap @@ -14,7 +14,6 @@ DeleteModelExplainabilityJobDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteModelPackage.go.snap b/service/sagemaker/snapshot/api_op_DeleteModelPackage.go.snap index f158830bc96..ac81decdcb6 100644 --- a/service/sagemaker/snapshot/api_op_DeleteModelPackage.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteModelPackage.go.snap @@ -14,7 +14,6 @@ DeleteModelPackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteModelPackageGroup.go.snap b/service/sagemaker/snapshot/api_op_DeleteModelPackageGroup.go.snap index 957b125952b..406f96c3f1b 100644 --- a/service/sagemaker/snapshot/api_op_DeleteModelPackageGroup.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteModelPackageGroup.go.snap @@ -14,7 +14,6 @@ DeleteModelPackageGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteModelPackageGroupPolicy.go.snap b/service/sagemaker/snapshot/api_op_DeleteModelPackageGroupPolicy.go.snap index 3ca8fc912e1..0ad6fdf8eae 100644 --- a/service/sagemaker/snapshot/api_op_DeleteModelPackageGroupPolicy.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteModelPackageGroupPolicy.go.snap @@ -14,7 +14,6 @@ DeleteModelPackageGroupPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteModelQualityJobDefinition.go.snap b/service/sagemaker/snapshot/api_op_DeleteModelQualityJobDefinition.go.snap index d51df4bcb5f..e6ac49b48bc 100644 --- a/service/sagemaker/snapshot/api_op_DeleteModelQualityJobDefinition.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteModelQualityJobDefinition.go.snap @@ -14,7 +14,6 @@ DeleteModelQualityJobDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteMonitoringSchedule.go.snap b/service/sagemaker/snapshot/api_op_DeleteMonitoringSchedule.go.snap index 95429cc0a7d..7f0e9f0197b 100644 --- a/service/sagemaker/snapshot/api_op_DeleteMonitoringSchedule.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteMonitoringSchedule.go.snap @@ -14,7 +14,6 @@ DeleteMonitoringSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteNotebookInstance.go.snap b/service/sagemaker/snapshot/api_op_DeleteNotebookInstance.go.snap index 1c32008e4fc..eef09a89731 100644 --- a/service/sagemaker/snapshot/api_op_DeleteNotebookInstance.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteNotebookInstance.go.snap @@ -14,7 +14,6 @@ DeleteNotebookInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteNotebookInstanceLifecycleConfig.go.snap b/service/sagemaker/snapshot/api_op_DeleteNotebookInstanceLifecycleConfig.go.snap index 9481f3a4d2b..18327433c79 100644 --- a/service/sagemaker/snapshot/api_op_DeleteNotebookInstanceLifecycleConfig.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteNotebookInstanceLifecycleConfig.go.snap @@ -14,7 +14,6 @@ DeleteNotebookInstanceLifecycleConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteOptimizationJob.go.snap b/service/sagemaker/snapshot/api_op_DeleteOptimizationJob.go.snap index 95f961864bb..f05a5e1d05c 100644 --- a/service/sagemaker/snapshot/api_op_DeleteOptimizationJob.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteOptimizationJob.go.snap @@ -14,7 +14,6 @@ DeleteOptimizationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeletePartnerApp.go.snap b/service/sagemaker/snapshot/api_op_DeletePartnerApp.go.snap index 8385a64069f..e8b626b7314 100644 --- a/service/sagemaker/snapshot/api_op_DeletePartnerApp.go.snap +++ b/service/sagemaker/snapshot/api_op_DeletePartnerApp.go.snap @@ -15,7 +15,6 @@ DeletePartnerApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeletePipeline.go.snap b/service/sagemaker/snapshot/api_op_DeletePipeline.go.snap index 358da6f2f95..5a5f9c50c40 100644 --- a/service/sagemaker/snapshot/api_op_DeletePipeline.go.snap +++ b/service/sagemaker/snapshot/api_op_DeletePipeline.go.snap @@ -15,7 +15,6 @@ DeletePipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteProject.go.snap b/service/sagemaker/snapshot/api_op_DeleteProject.go.snap index 382ba97b69d..175218d872d 100644 --- a/service/sagemaker/snapshot/api_op_DeleteProject.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteProject.go.snap @@ -14,7 +14,6 @@ DeleteProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteSpace.go.snap b/service/sagemaker/snapshot/api_op_DeleteSpace.go.snap index 74e4306d2a4..e4fcb9816a9 100644 --- a/service/sagemaker/snapshot/api_op_DeleteSpace.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteSpace.go.snap @@ -14,7 +14,6 @@ DeleteSpace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteStudioLifecycleConfig.go.snap b/service/sagemaker/snapshot/api_op_DeleteStudioLifecycleConfig.go.snap index 102659e0b9c..f5fd103e149 100644 --- a/service/sagemaker/snapshot/api_op_DeleteStudioLifecycleConfig.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteStudioLifecycleConfig.go.snap @@ -14,7 +14,6 @@ DeleteStudioLifecycleConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteTags.go.snap b/service/sagemaker/snapshot/api_op_DeleteTags.go.snap index 7821a01e140..0eeb01dca01 100644 --- a/service/sagemaker/snapshot/api_op_DeleteTags.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteTags.go.snap @@ -14,7 +14,6 @@ DeleteTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteTrial.go.snap b/service/sagemaker/snapshot/api_op_DeleteTrial.go.snap index d856368a82f..0c22f86711d 100644 --- a/service/sagemaker/snapshot/api_op_DeleteTrial.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteTrial.go.snap @@ -14,7 +14,6 @@ DeleteTrial Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteTrialComponent.go.snap b/service/sagemaker/snapshot/api_op_DeleteTrialComponent.go.snap index a5b09626ca4..51107ba1f19 100644 --- a/service/sagemaker/snapshot/api_op_DeleteTrialComponent.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteTrialComponent.go.snap @@ -14,7 +14,6 @@ DeleteTrialComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteUserProfile.go.snap b/service/sagemaker/snapshot/api_op_DeleteUserProfile.go.snap index 335c703211d..99b2dd2687b 100644 --- a/service/sagemaker/snapshot/api_op_DeleteUserProfile.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteUserProfile.go.snap @@ -14,7 +14,6 @@ DeleteUserProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteWorkforce.go.snap b/service/sagemaker/snapshot/api_op_DeleteWorkforce.go.snap index e1777804c7d..cd97559167a 100644 --- a/service/sagemaker/snapshot/api_op_DeleteWorkforce.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteWorkforce.go.snap @@ -14,7 +14,6 @@ DeleteWorkforce Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeleteWorkteam.go.snap b/service/sagemaker/snapshot/api_op_DeleteWorkteam.go.snap index bbab66b86a2..ca8c18c5b05 100644 --- a/service/sagemaker/snapshot/api_op_DeleteWorkteam.go.snap +++ b/service/sagemaker/snapshot/api_op_DeleteWorkteam.go.snap @@ -14,7 +14,6 @@ DeleteWorkteam Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DeregisterDevices.go.snap b/service/sagemaker/snapshot/api_op_DeregisterDevices.go.snap index e80e0ff993c..c06dac4d7e5 100644 --- a/service/sagemaker/snapshot/api_op_DeregisterDevices.go.snap +++ b/service/sagemaker/snapshot/api_op_DeregisterDevices.go.snap @@ -14,7 +14,6 @@ DeregisterDevices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeAction.go.snap b/service/sagemaker/snapshot/api_op_DescribeAction.go.snap index de37cbde63b..5b833288f99 100644 --- a/service/sagemaker/snapshot/api_op_DescribeAction.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeAction.go.snap @@ -14,7 +14,6 @@ DescribeAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeAlgorithm.go.snap b/service/sagemaker/snapshot/api_op_DescribeAlgorithm.go.snap index 7b8d58fdf8c..0b0380aba27 100644 --- a/service/sagemaker/snapshot/api_op_DescribeAlgorithm.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeAlgorithm.go.snap @@ -14,7 +14,6 @@ DescribeAlgorithm Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeApp.go.snap b/service/sagemaker/snapshot/api_op_DescribeApp.go.snap index 3078032ff95..2fdc7c73c95 100644 --- a/service/sagemaker/snapshot/api_op_DescribeApp.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeApp.go.snap @@ -14,7 +14,6 @@ DescribeApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeAppImageConfig.go.snap b/service/sagemaker/snapshot/api_op_DescribeAppImageConfig.go.snap index 33ca38d1c9d..2a0d248c4a1 100644 --- a/service/sagemaker/snapshot/api_op_DescribeAppImageConfig.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeAppImageConfig.go.snap @@ -14,7 +14,6 @@ DescribeAppImageConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeArtifact.go.snap b/service/sagemaker/snapshot/api_op_DescribeArtifact.go.snap index 3a73aa573e5..8ef2ffb5d77 100644 --- a/service/sagemaker/snapshot/api_op_DescribeArtifact.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeArtifact.go.snap @@ -14,7 +14,6 @@ DescribeArtifact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeAutoMLJob.go.snap b/service/sagemaker/snapshot/api_op_DescribeAutoMLJob.go.snap index 3424db008ae..707c9440ea3 100644 --- a/service/sagemaker/snapshot/api_op_DescribeAutoMLJob.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeAutoMLJob.go.snap @@ -14,7 +14,6 @@ DescribeAutoMLJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeAutoMLJobV2.go.snap b/service/sagemaker/snapshot/api_op_DescribeAutoMLJobV2.go.snap index 8bc6a71fc06..6835388a8d1 100644 --- a/service/sagemaker/snapshot/api_op_DescribeAutoMLJobV2.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeAutoMLJobV2.go.snap @@ -14,7 +14,6 @@ DescribeAutoMLJobV2 Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeCluster.go.snap b/service/sagemaker/snapshot/api_op_DescribeCluster.go.snap index fe48df769b6..aba0b08d3d5 100644 --- a/service/sagemaker/snapshot/api_op_DescribeCluster.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeCluster.go.snap @@ -14,7 +14,6 @@ DescribeCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeClusterNode.go.snap b/service/sagemaker/snapshot/api_op_DescribeClusterNode.go.snap index ad3793f4ac8..cb9079ff8e9 100644 --- a/service/sagemaker/snapshot/api_op_DescribeClusterNode.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeClusterNode.go.snap @@ -14,7 +14,6 @@ DescribeClusterNode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeClusterSchedulerConfig.go.snap b/service/sagemaker/snapshot/api_op_DescribeClusterSchedulerConfig.go.snap index f9f1c6e8601..95dfe220b0f 100644 --- a/service/sagemaker/snapshot/api_op_DescribeClusterSchedulerConfig.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeClusterSchedulerConfig.go.snap @@ -14,7 +14,6 @@ DescribeClusterSchedulerConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeCodeRepository.go.snap b/service/sagemaker/snapshot/api_op_DescribeCodeRepository.go.snap index 79ad60e90a7..a5135f42d5f 100644 --- a/service/sagemaker/snapshot/api_op_DescribeCodeRepository.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeCodeRepository.go.snap @@ -14,7 +14,6 @@ DescribeCodeRepository Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeCompilationJob.go.snap b/service/sagemaker/snapshot/api_op_DescribeCompilationJob.go.snap index 69ed32f647c..b26bd4b3a47 100644 --- a/service/sagemaker/snapshot/api_op_DescribeCompilationJob.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeCompilationJob.go.snap @@ -14,7 +14,6 @@ DescribeCompilationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeComputeQuota.go.snap b/service/sagemaker/snapshot/api_op_DescribeComputeQuota.go.snap index a3c3f0b8d80..9fae3d93056 100644 --- a/service/sagemaker/snapshot/api_op_DescribeComputeQuota.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeComputeQuota.go.snap @@ -14,7 +14,6 @@ DescribeComputeQuota Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeContext.go.snap b/service/sagemaker/snapshot/api_op_DescribeContext.go.snap index 7cd0483c7fc..bd8752640a2 100644 --- a/service/sagemaker/snapshot/api_op_DescribeContext.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeContext.go.snap @@ -14,7 +14,6 @@ DescribeContext Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeDataQualityJobDefinition.go.snap b/service/sagemaker/snapshot/api_op_DescribeDataQualityJobDefinition.go.snap index 3864e19328a..033575f91c8 100644 --- a/service/sagemaker/snapshot/api_op_DescribeDataQualityJobDefinition.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeDataQualityJobDefinition.go.snap @@ -14,7 +14,6 @@ DescribeDataQualityJobDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeDevice.go.snap b/service/sagemaker/snapshot/api_op_DescribeDevice.go.snap index 06526f7b2de..84ca571d68f 100644 --- a/service/sagemaker/snapshot/api_op_DescribeDevice.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeDevice.go.snap @@ -14,7 +14,6 @@ DescribeDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeDeviceFleet.go.snap b/service/sagemaker/snapshot/api_op_DescribeDeviceFleet.go.snap index 7876d00eb0c..9530409614c 100644 --- a/service/sagemaker/snapshot/api_op_DescribeDeviceFleet.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeDeviceFleet.go.snap @@ -14,7 +14,6 @@ DescribeDeviceFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeDomain.go.snap b/service/sagemaker/snapshot/api_op_DescribeDomain.go.snap index 5f596bc704b..25b39221775 100644 --- a/service/sagemaker/snapshot/api_op_DescribeDomain.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeDomain.go.snap @@ -14,7 +14,6 @@ DescribeDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeEdgeDeploymentPlan.go.snap b/service/sagemaker/snapshot/api_op_DescribeEdgeDeploymentPlan.go.snap index 250a5bf4b2d..cf924bf5904 100644 --- a/service/sagemaker/snapshot/api_op_DescribeEdgeDeploymentPlan.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeEdgeDeploymentPlan.go.snap @@ -14,7 +14,6 @@ DescribeEdgeDeploymentPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeEdgePackagingJob.go.snap b/service/sagemaker/snapshot/api_op_DescribeEdgePackagingJob.go.snap index d107ce9bef2..7c3dc2fcd3c 100644 --- a/service/sagemaker/snapshot/api_op_DescribeEdgePackagingJob.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeEdgePackagingJob.go.snap @@ -14,7 +14,6 @@ DescribeEdgePackagingJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeEndpoint.go.snap b/service/sagemaker/snapshot/api_op_DescribeEndpoint.go.snap index c1dd3edaf5a..80f0c04fa94 100644 --- a/service/sagemaker/snapshot/api_op_DescribeEndpoint.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeEndpoint.go.snap @@ -14,7 +14,6 @@ DescribeEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeEndpointConfig.go.snap b/service/sagemaker/snapshot/api_op_DescribeEndpointConfig.go.snap index f3c175df415..2f35280ef4f 100644 --- a/service/sagemaker/snapshot/api_op_DescribeEndpointConfig.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeEndpointConfig.go.snap @@ -14,7 +14,6 @@ DescribeEndpointConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeExperiment.go.snap b/service/sagemaker/snapshot/api_op_DescribeExperiment.go.snap index a610e013eca..c73db340073 100644 --- a/service/sagemaker/snapshot/api_op_DescribeExperiment.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeExperiment.go.snap @@ -14,7 +14,6 @@ DescribeExperiment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeFeatureGroup.go.snap b/service/sagemaker/snapshot/api_op_DescribeFeatureGroup.go.snap index 3a96197017d..929a8f55e0b 100644 --- a/service/sagemaker/snapshot/api_op_DescribeFeatureGroup.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeFeatureGroup.go.snap @@ -14,7 +14,6 @@ DescribeFeatureGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeFeatureMetadata.go.snap b/service/sagemaker/snapshot/api_op_DescribeFeatureMetadata.go.snap index e4b0aa290d3..4ab67a774ae 100644 --- a/service/sagemaker/snapshot/api_op_DescribeFeatureMetadata.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeFeatureMetadata.go.snap @@ -14,7 +14,6 @@ DescribeFeatureMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeFlowDefinition.go.snap b/service/sagemaker/snapshot/api_op_DescribeFlowDefinition.go.snap index 3c920ddb6ab..3a4d64f9e72 100644 --- a/service/sagemaker/snapshot/api_op_DescribeFlowDefinition.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeFlowDefinition.go.snap @@ -14,7 +14,6 @@ DescribeFlowDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeHub.go.snap b/service/sagemaker/snapshot/api_op_DescribeHub.go.snap index dba502160c4..22e75976ca9 100644 --- a/service/sagemaker/snapshot/api_op_DescribeHub.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeHub.go.snap @@ -14,7 +14,6 @@ DescribeHub Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeHubContent.go.snap b/service/sagemaker/snapshot/api_op_DescribeHubContent.go.snap index 0c49970a2da..96f6ad89c2d 100644 --- a/service/sagemaker/snapshot/api_op_DescribeHubContent.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeHubContent.go.snap @@ -14,7 +14,6 @@ DescribeHubContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeHumanTaskUi.go.snap b/service/sagemaker/snapshot/api_op_DescribeHumanTaskUi.go.snap index 67997ccdea6..753adbe02bc 100644 --- a/service/sagemaker/snapshot/api_op_DescribeHumanTaskUi.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeHumanTaskUi.go.snap @@ -14,7 +14,6 @@ DescribeHumanTaskUi Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeHyperParameterTuningJob.go.snap b/service/sagemaker/snapshot/api_op_DescribeHyperParameterTuningJob.go.snap index 557eafe1fbc..9d1710d9737 100644 --- a/service/sagemaker/snapshot/api_op_DescribeHyperParameterTuningJob.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeHyperParameterTuningJob.go.snap @@ -14,7 +14,6 @@ DescribeHyperParameterTuningJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeImage.go.snap b/service/sagemaker/snapshot/api_op_DescribeImage.go.snap index a8e5714beca..ebe98f2522c 100644 --- a/service/sagemaker/snapshot/api_op_DescribeImage.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeImage.go.snap @@ -14,7 +14,6 @@ DescribeImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeImageVersion.go.snap b/service/sagemaker/snapshot/api_op_DescribeImageVersion.go.snap index 0541494521c..093ceb033a3 100644 --- a/service/sagemaker/snapshot/api_op_DescribeImageVersion.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeImageVersion.go.snap @@ -14,7 +14,6 @@ DescribeImageVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeInferenceComponent.go.snap b/service/sagemaker/snapshot/api_op_DescribeInferenceComponent.go.snap index fa5e9fdc443..38e486182af 100644 --- a/service/sagemaker/snapshot/api_op_DescribeInferenceComponent.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeInferenceComponent.go.snap @@ -14,7 +14,6 @@ DescribeInferenceComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeInferenceExperiment.go.snap b/service/sagemaker/snapshot/api_op_DescribeInferenceExperiment.go.snap index 9e9ec7ffaf6..3ae63aad2f6 100644 --- a/service/sagemaker/snapshot/api_op_DescribeInferenceExperiment.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeInferenceExperiment.go.snap @@ -14,7 +14,6 @@ DescribeInferenceExperiment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeInferenceRecommendationsJob.go.snap b/service/sagemaker/snapshot/api_op_DescribeInferenceRecommendationsJob.go.snap index 2e07949e95d..40dea6aeb58 100644 --- a/service/sagemaker/snapshot/api_op_DescribeInferenceRecommendationsJob.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeInferenceRecommendationsJob.go.snap @@ -14,7 +14,6 @@ DescribeInferenceRecommendationsJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeLabelingJob.go.snap b/service/sagemaker/snapshot/api_op_DescribeLabelingJob.go.snap index 958af8d3a68..0dcadbf77d8 100644 --- a/service/sagemaker/snapshot/api_op_DescribeLabelingJob.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeLabelingJob.go.snap @@ -14,7 +14,6 @@ DescribeLabelingJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeLineageGroup.go.snap b/service/sagemaker/snapshot/api_op_DescribeLineageGroup.go.snap index 8b831205fdd..70498c2c970 100644 --- a/service/sagemaker/snapshot/api_op_DescribeLineageGroup.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeLineageGroup.go.snap @@ -14,7 +14,6 @@ DescribeLineageGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeMlflowTrackingServer.go.snap b/service/sagemaker/snapshot/api_op_DescribeMlflowTrackingServer.go.snap index 6161e9c9a01..a950365ca8c 100644 --- a/service/sagemaker/snapshot/api_op_DescribeMlflowTrackingServer.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeMlflowTrackingServer.go.snap @@ -14,7 +14,6 @@ DescribeMlflowTrackingServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeModel.go.snap b/service/sagemaker/snapshot/api_op_DescribeModel.go.snap index eaf9d1d8a0e..ec46b585773 100644 --- a/service/sagemaker/snapshot/api_op_DescribeModel.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeModel.go.snap @@ -14,7 +14,6 @@ DescribeModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeModelBiasJobDefinition.go.snap b/service/sagemaker/snapshot/api_op_DescribeModelBiasJobDefinition.go.snap index 9d5d7b34756..e482e2ac2db 100644 --- a/service/sagemaker/snapshot/api_op_DescribeModelBiasJobDefinition.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeModelBiasJobDefinition.go.snap @@ -14,7 +14,6 @@ DescribeModelBiasJobDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeModelCard.go.snap b/service/sagemaker/snapshot/api_op_DescribeModelCard.go.snap index b571e910c9d..253eabc094b 100644 --- a/service/sagemaker/snapshot/api_op_DescribeModelCard.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeModelCard.go.snap @@ -14,7 +14,6 @@ DescribeModelCard Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeModelCardExportJob.go.snap b/service/sagemaker/snapshot/api_op_DescribeModelCardExportJob.go.snap index 3137b8d9103..0bafeff3bed 100644 --- a/service/sagemaker/snapshot/api_op_DescribeModelCardExportJob.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeModelCardExportJob.go.snap @@ -14,7 +14,6 @@ DescribeModelCardExportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeModelExplainabilityJobDefinition.go.snap b/service/sagemaker/snapshot/api_op_DescribeModelExplainabilityJobDefinition.go.snap index c241532fed9..ae184629515 100644 --- a/service/sagemaker/snapshot/api_op_DescribeModelExplainabilityJobDefinition.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeModelExplainabilityJobDefinition.go.snap @@ -14,7 +14,6 @@ DescribeModelExplainabilityJobDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeModelPackage.go.snap b/service/sagemaker/snapshot/api_op_DescribeModelPackage.go.snap index b66e4cff81b..57f85b4ff90 100644 --- a/service/sagemaker/snapshot/api_op_DescribeModelPackage.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeModelPackage.go.snap @@ -14,7 +14,6 @@ DescribeModelPackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeModelPackageGroup.go.snap b/service/sagemaker/snapshot/api_op_DescribeModelPackageGroup.go.snap index 4a6312359f5..17907482080 100644 --- a/service/sagemaker/snapshot/api_op_DescribeModelPackageGroup.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeModelPackageGroup.go.snap @@ -14,7 +14,6 @@ DescribeModelPackageGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeModelQualityJobDefinition.go.snap b/service/sagemaker/snapshot/api_op_DescribeModelQualityJobDefinition.go.snap index 7d228edfc4f..14b436bc28a 100644 --- a/service/sagemaker/snapshot/api_op_DescribeModelQualityJobDefinition.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeModelQualityJobDefinition.go.snap @@ -14,7 +14,6 @@ DescribeModelQualityJobDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeMonitoringSchedule.go.snap b/service/sagemaker/snapshot/api_op_DescribeMonitoringSchedule.go.snap index e4683ead9d7..944ea53d75f 100644 --- a/service/sagemaker/snapshot/api_op_DescribeMonitoringSchedule.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeMonitoringSchedule.go.snap @@ -14,7 +14,6 @@ DescribeMonitoringSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeNotebookInstance.go.snap b/service/sagemaker/snapshot/api_op_DescribeNotebookInstance.go.snap index d217598ea7f..db50330c1f1 100644 --- a/service/sagemaker/snapshot/api_op_DescribeNotebookInstance.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeNotebookInstance.go.snap @@ -14,7 +14,6 @@ DescribeNotebookInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeNotebookInstanceLifecycleConfig.go.snap b/service/sagemaker/snapshot/api_op_DescribeNotebookInstanceLifecycleConfig.go.snap index fa4a82cd8c6..0bb436d351a 100644 --- a/service/sagemaker/snapshot/api_op_DescribeNotebookInstanceLifecycleConfig.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeNotebookInstanceLifecycleConfig.go.snap @@ -14,7 +14,6 @@ DescribeNotebookInstanceLifecycleConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeOptimizationJob.go.snap b/service/sagemaker/snapshot/api_op_DescribeOptimizationJob.go.snap index 2e28af24b3d..d00a741c1d0 100644 --- a/service/sagemaker/snapshot/api_op_DescribeOptimizationJob.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeOptimizationJob.go.snap @@ -14,7 +14,6 @@ DescribeOptimizationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribePartnerApp.go.snap b/service/sagemaker/snapshot/api_op_DescribePartnerApp.go.snap index b8e3d63cb49..cadbe53ed26 100644 --- a/service/sagemaker/snapshot/api_op_DescribePartnerApp.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribePartnerApp.go.snap @@ -14,7 +14,6 @@ DescribePartnerApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribePipeline.go.snap b/service/sagemaker/snapshot/api_op_DescribePipeline.go.snap index ea177844414..4f744389007 100644 --- a/service/sagemaker/snapshot/api_op_DescribePipeline.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribePipeline.go.snap @@ -14,7 +14,6 @@ DescribePipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribePipelineDefinitionForExecution.go.snap b/service/sagemaker/snapshot/api_op_DescribePipelineDefinitionForExecution.go.snap index 44889fd43d7..302179ffe49 100644 --- a/service/sagemaker/snapshot/api_op_DescribePipelineDefinitionForExecution.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribePipelineDefinitionForExecution.go.snap @@ -14,7 +14,6 @@ DescribePipelineDefinitionForExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribePipelineExecution.go.snap b/service/sagemaker/snapshot/api_op_DescribePipelineExecution.go.snap index ab7c8b12160..da261f7572f 100644 --- a/service/sagemaker/snapshot/api_op_DescribePipelineExecution.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribePipelineExecution.go.snap @@ -14,7 +14,6 @@ DescribePipelineExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeProcessingJob.go.snap b/service/sagemaker/snapshot/api_op_DescribeProcessingJob.go.snap index 963cda119ae..7eb98e40967 100644 --- a/service/sagemaker/snapshot/api_op_DescribeProcessingJob.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeProcessingJob.go.snap @@ -14,7 +14,6 @@ DescribeProcessingJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeProject.go.snap b/service/sagemaker/snapshot/api_op_DescribeProject.go.snap index 041f11ba895..0900739a1bf 100644 --- a/service/sagemaker/snapshot/api_op_DescribeProject.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeProject.go.snap @@ -14,7 +14,6 @@ DescribeProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeSpace.go.snap b/service/sagemaker/snapshot/api_op_DescribeSpace.go.snap index 696d282d9aa..ce44a2b91bd 100644 --- a/service/sagemaker/snapshot/api_op_DescribeSpace.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeSpace.go.snap @@ -14,7 +14,6 @@ DescribeSpace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeStudioLifecycleConfig.go.snap b/service/sagemaker/snapshot/api_op_DescribeStudioLifecycleConfig.go.snap index 5b7164eb2b6..2b2cf189678 100644 --- a/service/sagemaker/snapshot/api_op_DescribeStudioLifecycleConfig.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeStudioLifecycleConfig.go.snap @@ -14,7 +14,6 @@ DescribeStudioLifecycleConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeSubscribedWorkteam.go.snap b/service/sagemaker/snapshot/api_op_DescribeSubscribedWorkteam.go.snap index 7e7028f6b0c..856cd27aeb4 100644 --- a/service/sagemaker/snapshot/api_op_DescribeSubscribedWorkteam.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeSubscribedWorkteam.go.snap @@ -14,7 +14,6 @@ DescribeSubscribedWorkteam Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeTrainingJob.go.snap b/service/sagemaker/snapshot/api_op_DescribeTrainingJob.go.snap index 4583bb78d27..f3e64f055f3 100644 --- a/service/sagemaker/snapshot/api_op_DescribeTrainingJob.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeTrainingJob.go.snap @@ -14,7 +14,6 @@ DescribeTrainingJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeTrainingPlan.go.snap b/service/sagemaker/snapshot/api_op_DescribeTrainingPlan.go.snap index 65ef67473cc..e585a825994 100644 --- a/service/sagemaker/snapshot/api_op_DescribeTrainingPlan.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeTrainingPlan.go.snap @@ -14,7 +14,6 @@ DescribeTrainingPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeTransformJob.go.snap b/service/sagemaker/snapshot/api_op_DescribeTransformJob.go.snap index 065663c545a..9c1250270ad 100644 --- a/service/sagemaker/snapshot/api_op_DescribeTransformJob.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeTransformJob.go.snap @@ -14,7 +14,6 @@ DescribeTransformJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeTrial.go.snap b/service/sagemaker/snapshot/api_op_DescribeTrial.go.snap index ce8de9468e6..b7db24fc670 100644 --- a/service/sagemaker/snapshot/api_op_DescribeTrial.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeTrial.go.snap @@ -14,7 +14,6 @@ DescribeTrial Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeTrialComponent.go.snap b/service/sagemaker/snapshot/api_op_DescribeTrialComponent.go.snap index 41435fd7a12..b33c6081435 100644 --- a/service/sagemaker/snapshot/api_op_DescribeTrialComponent.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeTrialComponent.go.snap @@ -14,7 +14,6 @@ DescribeTrialComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeUserProfile.go.snap b/service/sagemaker/snapshot/api_op_DescribeUserProfile.go.snap index 03feca25949..e984c1b2f81 100644 --- a/service/sagemaker/snapshot/api_op_DescribeUserProfile.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeUserProfile.go.snap @@ -14,7 +14,6 @@ DescribeUserProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeWorkforce.go.snap b/service/sagemaker/snapshot/api_op_DescribeWorkforce.go.snap index 38e671ec0e0..f84674c922d 100644 --- a/service/sagemaker/snapshot/api_op_DescribeWorkforce.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeWorkforce.go.snap @@ -14,7 +14,6 @@ DescribeWorkforce Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DescribeWorkteam.go.snap b/service/sagemaker/snapshot/api_op_DescribeWorkteam.go.snap index a5eedeec8b1..bf8d9f62abf 100644 --- a/service/sagemaker/snapshot/api_op_DescribeWorkteam.go.snap +++ b/service/sagemaker/snapshot/api_op_DescribeWorkteam.go.snap @@ -14,7 +14,6 @@ DescribeWorkteam Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DisableSagemakerServicecatalogPortfolio.go.snap b/service/sagemaker/snapshot/api_op_DisableSagemakerServicecatalogPortfolio.go.snap index 2f3f8ff261c..f0fd0a894f7 100644 --- a/service/sagemaker/snapshot/api_op_DisableSagemakerServicecatalogPortfolio.go.snap +++ b/service/sagemaker/snapshot/api_op_DisableSagemakerServicecatalogPortfolio.go.snap @@ -13,7 +13,6 @@ DisableSagemakerServicecatalogPortfolio Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_DisassociateTrialComponent.go.snap b/service/sagemaker/snapshot/api_op_DisassociateTrialComponent.go.snap index 41387b3a1a4..03ff287f077 100644 --- a/service/sagemaker/snapshot/api_op_DisassociateTrialComponent.go.snap +++ b/service/sagemaker/snapshot/api_op_DisassociateTrialComponent.go.snap @@ -14,7 +14,6 @@ DisassociateTrialComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_EnableSagemakerServicecatalogPortfolio.go.snap b/service/sagemaker/snapshot/api_op_EnableSagemakerServicecatalogPortfolio.go.snap index dc383c81b96..865e11bcd0c 100644 --- a/service/sagemaker/snapshot/api_op_EnableSagemakerServicecatalogPortfolio.go.snap +++ b/service/sagemaker/snapshot/api_op_EnableSagemakerServicecatalogPortfolio.go.snap @@ -13,7 +13,6 @@ EnableSagemakerServicecatalogPortfolio Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_GetDeviceFleetReport.go.snap b/service/sagemaker/snapshot/api_op_GetDeviceFleetReport.go.snap index b7cc36a0964..aace9175913 100644 --- a/service/sagemaker/snapshot/api_op_GetDeviceFleetReport.go.snap +++ b/service/sagemaker/snapshot/api_op_GetDeviceFleetReport.go.snap @@ -14,7 +14,6 @@ GetDeviceFleetReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_GetLineageGroupPolicy.go.snap b/service/sagemaker/snapshot/api_op_GetLineageGroupPolicy.go.snap index 7895e35434d..49211dd1fcc 100644 --- a/service/sagemaker/snapshot/api_op_GetLineageGroupPolicy.go.snap +++ b/service/sagemaker/snapshot/api_op_GetLineageGroupPolicy.go.snap @@ -14,7 +14,6 @@ GetLineageGroupPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_GetModelPackageGroupPolicy.go.snap b/service/sagemaker/snapshot/api_op_GetModelPackageGroupPolicy.go.snap index 4ed2f49a7f5..bb238aaa9d9 100644 --- a/service/sagemaker/snapshot/api_op_GetModelPackageGroupPolicy.go.snap +++ b/service/sagemaker/snapshot/api_op_GetModelPackageGroupPolicy.go.snap @@ -14,7 +14,6 @@ GetModelPackageGroupPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_GetSagemakerServicecatalogPortfolioStatus.go.snap b/service/sagemaker/snapshot/api_op_GetSagemakerServicecatalogPortfolioStatus.go.snap index 58b0230cbb7..1eef1651a17 100644 --- a/service/sagemaker/snapshot/api_op_GetSagemakerServicecatalogPortfolioStatus.go.snap +++ b/service/sagemaker/snapshot/api_op_GetSagemakerServicecatalogPortfolioStatus.go.snap @@ -13,7 +13,6 @@ GetSagemakerServicecatalogPortfolioStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_GetScalingConfigurationRecommendation.go.snap b/service/sagemaker/snapshot/api_op_GetScalingConfigurationRecommendation.go.snap index a0c1ddfaf27..86009f0a044 100644 --- a/service/sagemaker/snapshot/api_op_GetScalingConfigurationRecommendation.go.snap +++ b/service/sagemaker/snapshot/api_op_GetScalingConfigurationRecommendation.go.snap @@ -14,7 +14,6 @@ GetScalingConfigurationRecommendation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_GetSearchSuggestions.go.snap b/service/sagemaker/snapshot/api_op_GetSearchSuggestions.go.snap index bf86926b790..c70cf3f8100 100644 --- a/service/sagemaker/snapshot/api_op_GetSearchSuggestions.go.snap +++ b/service/sagemaker/snapshot/api_op_GetSearchSuggestions.go.snap @@ -14,7 +14,6 @@ GetSearchSuggestions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ImportHubContent.go.snap b/service/sagemaker/snapshot/api_op_ImportHubContent.go.snap index ed629c831dc..63259e66177 100644 --- a/service/sagemaker/snapshot/api_op_ImportHubContent.go.snap +++ b/service/sagemaker/snapshot/api_op_ImportHubContent.go.snap @@ -14,7 +14,6 @@ ImportHubContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListActions.go.snap b/service/sagemaker/snapshot/api_op_ListActions.go.snap index b00cb643b80..e3055a0910a 100644 --- a/service/sagemaker/snapshot/api_op_ListActions.go.snap +++ b/service/sagemaker/snapshot/api_op_ListActions.go.snap @@ -13,7 +13,6 @@ ListActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListAlgorithms.go.snap b/service/sagemaker/snapshot/api_op_ListAlgorithms.go.snap index 17e30510907..40dfc531aa6 100644 --- a/service/sagemaker/snapshot/api_op_ListAlgorithms.go.snap +++ b/service/sagemaker/snapshot/api_op_ListAlgorithms.go.snap @@ -13,7 +13,6 @@ ListAlgorithms Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListAliases.go.snap b/service/sagemaker/snapshot/api_op_ListAliases.go.snap index 5b16fdeb32a..890f5119b06 100644 --- a/service/sagemaker/snapshot/api_op_ListAliases.go.snap +++ b/service/sagemaker/snapshot/api_op_ListAliases.go.snap @@ -14,7 +14,6 @@ ListAliases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListAppImageConfigs.go.snap b/service/sagemaker/snapshot/api_op_ListAppImageConfigs.go.snap index 341fe61bd3a..be2c5c0a2bd 100644 --- a/service/sagemaker/snapshot/api_op_ListAppImageConfigs.go.snap +++ b/service/sagemaker/snapshot/api_op_ListAppImageConfigs.go.snap @@ -13,7 +13,6 @@ ListAppImageConfigs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListApps.go.snap b/service/sagemaker/snapshot/api_op_ListApps.go.snap index 80402f2bba1..07a43ca47ec 100644 --- a/service/sagemaker/snapshot/api_op_ListApps.go.snap +++ b/service/sagemaker/snapshot/api_op_ListApps.go.snap @@ -13,7 +13,6 @@ ListApps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListArtifacts.go.snap b/service/sagemaker/snapshot/api_op_ListArtifacts.go.snap index 91cc8368004..0dc84aa9927 100644 --- a/service/sagemaker/snapshot/api_op_ListArtifacts.go.snap +++ b/service/sagemaker/snapshot/api_op_ListArtifacts.go.snap @@ -13,7 +13,6 @@ ListArtifacts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListAssociations.go.snap b/service/sagemaker/snapshot/api_op_ListAssociations.go.snap index 4a296003f20..7fff37a4768 100644 --- a/service/sagemaker/snapshot/api_op_ListAssociations.go.snap +++ b/service/sagemaker/snapshot/api_op_ListAssociations.go.snap @@ -13,7 +13,6 @@ ListAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListAutoMLJobs.go.snap b/service/sagemaker/snapshot/api_op_ListAutoMLJobs.go.snap index 2012bd2ec70..0d41480a7ae 100644 --- a/service/sagemaker/snapshot/api_op_ListAutoMLJobs.go.snap +++ b/service/sagemaker/snapshot/api_op_ListAutoMLJobs.go.snap @@ -13,7 +13,6 @@ ListAutoMLJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListCandidatesForAutoMLJob.go.snap b/service/sagemaker/snapshot/api_op_ListCandidatesForAutoMLJob.go.snap index e49cb77b14e..7754dea5bd0 100644 --- a/service/sagemaker/snapshot/api_op_ListCandidatesForAutoMLJob.go.snap +++ b/service/sagemaker/snapshot/api_op_ListCandidatesForAutoMLJob.go.snap @@ -14,7 +14,6 @@ ListCandidatesForAutoMLJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListClusterNodes.go.snap b/service/sagemaker/snapshot/api_op_ListClusterNodes.go.snap index 6424a4de109..100cd4f7f8f 100644 --- a/service/sagemaker/snapshot/api_op_ListClusterNodes.go.snap +++ b/service/sagemaker/snapshot/api_op_ListClusterNodes.go.snap @@ -14,7 +14,6 @@ ListClusterNodes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListClusterSchedulerConfigs.go.snap b/service/sagemaker/snapshot/api_op_ListClusterSchedulerConfigs.go.snap index e1c94db38e8..8ae17dd6872 100644 --- a/service/sagemaker/snapshot/api_op_ListClusterSchedulerConfigs.go.snap +++ b/service/sagemaker/snapshot/api_op_ListClusterSchedulerConfigs.go.snap @@ -13,7 +13,6 @@ ListClusterSchedulerConfigs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListClusters.go.snap b/service/sagemaker/snapshot/api_op_ListClusters.go.snap index 48cbced5e1f..949fd968ca2 100644 --- a/service/sagemaker/snapshot/api_op_ListClusters.go.snap +++ b/service/sagemaker/snapshot/api_op_ListClusters.go.snap @@ -13,7 +13,6 @@ ListClusters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListCodeRepositories.go.snap b/service/sagemaker/snapshot/api_op_ListCodeRepositories.go.snap index 41d2ac53221..82a978b6b65 100644 --- a/service/sagemaker/snapshot/api_op_ListCodeRepositories.go.snap +++ b/service/sagemaker/snapshot/api_op_ListCodeRepositories.go.snap @@ -13,7 +13,6 @@ ListCodeRepositories Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListCompilationJobs.go.snap b/service/sagemaker/snapshot/api_op_ListCompilationJobs.go.snap index de85561d2b2..1d571bd111d 100644 --- a/service/sagemaker/snapshot/api_op_ListCompilationJobs.go.snap +++ b/service/sagemaker/snapshot/api_op_ListCompilationJobs.go.snap @@ -13,7 +13,6 @@ ListCompilationJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListComputeQuotas.go.snap b/service/sagemaker/snapshot/api_op_ListComputeQuotas.go.snap index b0303222a4e..0d2726de020 100644 --- a/service/sagemaker/snapshot/api_op_ListComputeQuotas.go.snap +++ b/service/sagemaker/snapshot/api_op_ListComputeQuotas.go.snap @@ -13,7 +13,6 @@ ListComputeQuotas Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListContexts.go.snap b/service/sagemaker/snapshot/api_op_ListContexts.go.snap index cfd51acef73..c30684f5e13 100644 --- a/service/sagemaker/snapshot/api_op_ListContexts.go.snap +++ b/service/sagemaker/snapshot/api_op_ListContexts.go.snap @@ -13,7 +13,6 @@ ListContexts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListDataQualityJobDefinitions.go.snap b/service/sagemaker/snapshot/api_op_ListDataQualityJobDefinitions.go.snap index b306da4c1b7..477124bb407 100644 --- a/service/sagemaker/snapshot/api_op_ListDataQualityJobDefinitions.go.snap +++ b/service/sagemaker/snapshot/api_op_ListDataQualityJobDefinitions.go.snap @@ -13,7 +13,6 @@ ListDataQualityJobDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListDeviceFleets.go.snap b/service/sagemaker/snapshot/api_op_ListDeviceFleets.go.snap index 4f31445b770..6cf6b2859bf 100644 --- a/service/sagemaker/snapshot/api_op_ListDeviceFleets.go.snap +++ b/service/sagemaker/snapshot/api_op_ListDeviceFleets.go.snap @@ -13,7 +13,6 @@ ListDeviceFleets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListDevices.go.snap b/service/sagemaker/snapshot/api_op_ListDevices.go.snap index 590c4ca6130..2dca98d8d7a 100644 --- a/service/sagemaker/snapshot/api_op_ListDevices.go.snap +++ b/service/sagemaker/snapshot/api_op_ListDevices.go.snap @@ -13,7 +13,6 @@ ListDevices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListDomains.go.snap b/service/sagemaker/snapshot/api_op_ListDomains.go.snap index 2bbde619ff2..8bf23a39993 100644 --- a/service/sagemaker/snapshot/api_op_ListDomains.go.snap +++ b/service/sagemaker/snapshot/api_op_ListDomains.go.snap @@ -13,7 +13,6 @@ ListDomains Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListEdgeDeploymentPlans.go.snap b/service/sagemaker/snapshot/api_op_ListEdgeDeploymentPlans.go.snap index 82f3dab0974..a286abfda21 100644 --- a/service/sagemaker/snapshot/api_op_ListEdgeDeploymentPlans.go.snap +++ b/service/sagemaker/snapshot/api_op_ListEdgeDeploymentPlans.go.snap @@ -13,7 +13,6 @@ ListEdgeDeploymentPlans Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListEdgePackagingJobs.go.snap b/service/sagemaker/snapshot/api_op_ListEdgePackagingJobs.go.snap index 5a5b8c61676..4422076f03f 100644 --- a/service/sagemaker/snapshot/api_op_ListEdgePackagingJobs.go.snap +++ b/service/sagemaker/snapshot/api_op_ListEdgePackagingJobs.go.snap @@ -13,7 +13,6 @@ ListEdgePackagingJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListEndpointConfigs.go.snap b/service/sagemaker/snapshot/api_op_ListEndpointConfigs.go.snap index f38933b8594..3df5324f6d9 100644 --- a/service/sagemaker/snapshot/api_op_ListEndpointConfigs.go.snap +++ b/service/sagemaker/snapshot/api_op_ListEndpointConfigs.go.snap @@ -13,7 +13,6 @@ ListEndpointConfigs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListEndpoints.go.snap b/service/sagemaker/snapshot/api_op_ListEndpoints.go.snap index fddafef9d64..69f14ef29c5 100644 --- a/service/sagemaker/snapshot/api_op_ListEndpoints.go.snap +++ b/service/sagemaker/snapshot/api_op_ListEndpoints.go.snap @@ -13,7 +13,6 @@ ListEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListExperiments.go.snap b/service/sagemaker/snapshot/api_op_ListExperiments.go.snap index cf5354f07da..c09062e3643 100644 --- a/service/sagemaker/snapshot/api_op_ListExperiments.go.snap +++ b/service/sagemaker/snapshot/api_op_ListExperiments.go.snap @@ -13,7 +13,6 @@ ListExperiments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListFeatureGroups.go.snap b/service/sagemaker/snapshot/api_op_ListFeatureGroups.go.snap index d091985a9bc..1050e368885 100644 --- a/service/sagemaker/snapshot/api_op_ListFeatureGroups.go.snap +++ b/service/sagemaker/snapshot/api_op_ListFeatureGroups.go.snap @@ -13,7 +13,6 @@ ListFeatureGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListFlowDefinitions.go.snap b/service/sagemaker/snapshot/api_op_ListFlowDefinitions.go.snap index 33f69a1573a..1d5ecb051d5 100644 --- a/service/sagemaker/snapshot/api_op_ListFlowDefinitions.go.snap +++ b/service/sagemaker/snapshot/api_op_ListFlowDefinitions.go.snap @@ -13,7 +13,6 @@ ListFlowDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListHubContentVersions.go.snap b/service/sagemaker/snapshot/api_op_ListHubContentVersions.go.snap index 2b22f27d0d0..f31473762ed 100644 --- a/service/sagemaker/snapshot/api_op_ListHubContentVersions.go.snap +++ b/service/sagemaker/snapshot/api_op_ListHubContentVersions.go.snap @@ -14,7 +14,6 @@ ListHubContentVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListHubContents.go.snap b/service/sagemaker/snapshot/api_op_ListHubContents.go.snap index c1608c60b22..51d505b931a 100644 --- a/service/sagemaker/snapshot/api_op_ListHubContents.go.snap +++ b/service/sagemaker/snapshot/api_op_ListHubContents.go.snap @@ -14,7 +14,6 @@ ListHubContents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListHubs.go.snap b/service/sagemaker/snapshot/api_op_ListHubs.go.snap index bfeadf16735..8fbebc029b9 100644 --- a/service/sagemaker/snapshot/api_op_ListHubs.go.snap +++ b/service/sagemaker/snapshot/api_op_ListHubs.go.snap @@ -13,7 +13,6 @@ ListHubs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListHumanTaskUis.go.snap b/service/sagemaker/snapshot/api_op_ListHumanTaskUis.go.snap index f1d4e70a538..a8c9fbe1ef1 100644 --- a/service/sagemaker/snapshot/api_op_ListHumanTaskUis.go.snap +++ b/service/sagemaker/snapshot/api_op_ListHumanTaskUis.go.snap @@ -13,7 +13,6 @@ ListHumanTaskUis Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListHyperParameterTuningJobs.go.snap b/service/sagemaker/snapshot/api_op_ListHyperParameterTuningJobs.go.snap index 55dbab7c981..018bc43b8e1 100644 --- a/service/sagemaker/snapshot/api_op_ListHyperParameterTuningJobs.go.snap +++ b/service/sagemaker/snapshot/api_op_ListHyperParameterTuningJobs.go.snap @@ -13,7 +13,6 @@ ListHyperParameterTuningJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListImageVersions.go.snap b/service/sagemaker/snapshot/api_op_ListImageVersions.go.snap index b32c249432f..8aaa2e170c6 100644 --- a/service/sagemaker/snapshot/api_op_ListImageVersions.go.snap +++ b/service/sagemaker/snapshot/api_op_ListImageVersions.go.snap @@ -14,7 +14,6 @@ ListImageVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListImages.go.snap b/service/sagemaker/snapshot/api_op_ListImages.go.snap index c7c5258ccda..5a1014b1333 100644 --- a/service/sagemaker/snapshot/api_op_ListImages.go.snap +++ b/service/sagemaker/snapshot/api_op_ListImages.go.snap @@ -13,7 +13,6 @@ ListImages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListInferenceComponents.go.snap b/service/sagemaker/snapshot/api_op_ListInferenceComponents.go.snap index 041a3ab94b8..f9cd80de42c 100644 --- a/service/sagemaker/snapshot/api_op_ListInferenceComponents.go.snap +++ b/service/sagemaker/snapshot/api_op_ListInferenceComponents.go.snap @@ -13,7 +13,6 @@ ListInferenceComponents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListInferenceExperiments.go.snap b/service/sagemaker/snapshot/api_op_ListInferenceExperiments.go.snap index c9b5cfc0cfc..8e5b057a067 100644 --- a/service/sagemaker/snapshot/api_op_ListInferenceExperiments.go.snap +++ b/service/sagemaker/snapshot/api_op_ListInferenceExperiments.go.snap @@ -13,7 +13,6 @@ ListInferenceExperiments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListInferenceRecommendationsJobSteps.go.snap b/service/sagemaker/snapshot/api_op_ListInferenceRecommendationsJobSteps.go.snap index ea6055090d7..c82bf8b1887 100644 --- a/service/sagemaker/snapshot/api_op_ListInferenceRecommendationsJobSteps.go.snap +++ b/service/sagemaker/snapshot/api_op_ListInferenceRecommendationsJobSteps.go.snap @@ -14,7 +14,6 @@ ListInferenceRecommendationsJobSteps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListInferenceRecommendationsJobs.go.snap b/service/sagemaker/snapshot/api_op_ListInferenceRecommendationsJobs.go.snap index 09a86fdf4cc..8521ca89a1d 100644 --- a/service/sagemaker/snapshot/api_op_ListInferenceRecommendationsJobs.go.snap +++ b/service/sagemaker/snapshot/api_op_ListInferenceRecommendationsJobs.go.snap @@ -13,7 +13,6 @@ ListInferenceRecommendationsJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListLabelingJobs.go.snap b/service/sagemaker/snapshot/api_op_ListLabelingJobs.go.snap index e92c60d7ebe..d37cab9429f 100644 --- a/service/sagemaker/snapshot/api_op_ListLabelingJobs.go.snap +++ b/service/sagemaker/snapshot/api_op_ListLabelingJobs.go.snap @@ -13,7 +13,6 @@ ListLabelingJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListLabelingJobsForWorkteam.go.snap b/service/sagemaker/snapshot/api_op_ListLabelingJobsForWorkteam.go.snap index a05401e763b..9e1dbd03a54 100644 --- a/service/sagemaker/snapshot/api_op_ListLabelingJobsForWorkteam.go.snap +++ b/service/sagemaker/snapshot/api_op_ListLabelingJobsForWorkteam.go.snap @@ -14,7 +14,6 @@ ListLabelingJobsForWorkteam Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListLineageGroups.go.snap b/service/sagemaker/snapshot/api_op_ListLineageGroups.go.snap index 28b1c61a3e0..f8b33ad5d05 100644 --- a/service/sagemaker/snapshot/api_op_ListLineageGroups.go.snap +++ b/service/sagemaker/snapshot/api_op_ListLineageGroups.go.snap @@ -13,7 +13,6 @@ ListLineageGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListMlflowTrackingServers.go.snap b/service/sagemaker/snapshot/api_op_ListMlflowTrackingServers.go.snap index e141e3def6b..4301aa43b65 100644 --- a/service/sagemaker/snapshot/api_op_ListMlflowTrackingServers.go.snap +++ b/service/sagemaker/snapshot/api_op_ListMlflowTrackingServers.go.snap @@ -13,7 +13,6 @@ ListMlflowTrackingServers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListModelBiasJobDefinitions.go.snap b/service/sagemaker/snapshot/api_op_ListModelBiasJobDefinitions.go.snap index fc601b10ebe..4b86b580ebc 100644 --- a/service/sagemaker/snapshot/api_op_ListModelBiasJobDefinitions.go.snap +++ b/service/sagemaker/snapshot/api_op_ListModelBiasJobDefinitions.go.snap @@ -13,7 +13,6 @@ ListModelBiasJobDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListModelCardExportJobs.go.snap b/service/sagemaker/snapshot/api_op_ListModelCardExportJobs.go.snap index 90e655c124a..34b50174cc2 100644 --- a/service/sagemaker/snapshot/api_op_ListModelCardExportJobs.go.snap +++ b/service/sagemaker/snapshot/api_op_ListModelCardExportJobs.go.snap @@ -14,7 +14,6 @@ ListModelCardExportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListModelCardVersions.go.snap b/service/sagemaker/snapshot/api_op_ListModelCardVersions.go.snap index 7a4333095a3..b8feec54914 100644 --- a/service/sagemaker/snapshot/api_op_ListModelCardVersions.go.snap +++ b/service/sagemaker/snapshot/api_op_ListModelCardVersions.go.snap @@ -14,7 +14,6 @@ ListModelCardVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListModelCards.go.snap b/service/sagemaker/snapshot/api_op_ListModelCards.go.snap index 07d8d5765c6..af79bf7d5d8 100644 --- a/service/sagemaker/snapshot/api_op_ListModelCards.go.snap +++ b/service/sagemaker/snapshot/api_op_ListModelCards.go.snap @@ -13,7 +13,6 @@ ListModelCards Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListModelExplainabilityJobDefinitions.go.snap b/service/sagemaker/snapshot/api_op_ListModelExplainabilityJobDefinitions.go.snap index 004a9197dab..a3d7a4b61b4 100644 --- a/service/sagemaker/snapshot/api_op_ListModelExplainabilityJobDefinitions.go.snap +++ b/service/sagemaker/snapshot/api_op_ListModelExplainabilityJobDefinitions.go.snap @@ -13,7 +13,6 @@ ListModelExplainabilityJobDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListModelMetadata.go.snap b/service/sagemaker/snapshot/api_op_ListModelMetadata.go.snap index b96b1f44445..42518c04ad3 100644 --- a/service/sagemaker/snapshot/api_op_ListModelMetadata.go.snap +++ b/service/sagemaker/snapshot/api_op_ListModelMetadata.go.snap @@ -14,7 +14,6 @@ ListModelMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListModelPackageGroups.go.snap b/service/sagemaker/snapshot/api_op_ListModelPackageGroups.go.snap index e21ce52212d..14bd5398c7b 100644 --- a/service/sagemaker/snapshot/api_op_ListModelPackageGroups.go.snap +++ b/service/sagemaker/snapshot/api_op_ListModelPackageGroups.go.snap @@ -13,7 +13,6 @@ ListModelPackageGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListModelPackages.go.snap b/service/sagemaker/snapshot/api_op_ListModelPackages.go.snap index a520a64a116..67b98321ec0 100644 --- a/service/sagemaker/snapshot/api_op_ListModelPackages.go.snap +++ b/service/sagemaker/snapshot/api_op_ListModelPackages.go.snap @@ -13,7 +13,6 @@ ListModelPackages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListModelQualityJobDefinitions.go.snap b/service/sagemaker/snapshot/api_op_ListModelQualityJobDefinitions.go.snap index b741655ae7b..177cf50cb4d 100644 --- a/service/sagemaker/snapshot/api_op_ListModelQualityJobDefinitions.go.snap +++ b/service/sagemaker/snapshot/api_op_ListModelQualityJobDefinitions.go.snap @@ -13,7 +13,6 @@ ListModelQualityJobDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListModels.go.snap b/service/sagemaker/snapshot/api_op_ListModels.go.snap index 6f5868478e1..b02f60518f9 100644 --- a/service/sagemaker/snapshot/api_op_ListModels.go.snap +++ b/service/sagemaker/snapshot/api_op_ListModels.go.snap @@ -13,7 +13,6 @@ ListModels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListMonitoringAlertHistory.go.snap b/service/sagemaker/snapshot/api_op_ListMonitoringAlertHistory.go.snap index 2f396bf82ad..24850a70566 100644 --- a/service/sagemaker/snapshot/api_op_ListMonitoringAlertHistory.go.snap +++ b/service/sagemaker/snapshot/api_op_ListMonitoringAlertHistory.go.snap @@ -13,7 +13,6 @@ ListMonitoringAlertHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListMonitoringAlerts.go.snap b/service/sagemaker/snapshot/api_op_ListMonitoringAlerts.go.snap index 8c167b6cd0d..0f5e86777a3 100644 --- a/service/sagemaker/snapshot/api_op_ListMonitoringAlerts.go.snap +++ b/service/sagemaker/snapshot/api_op_ListMonitoringAlerts.go.snap @@ -14,7 +14,6 @@ ListMonitoringAlerts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListMonitoringExecutions.go.snap b/service/sagemaker/snapshot/api_op_ListMonitoringExecutions.go.snap index f6bae46241d..95e9efc06bb 100644 --- a/service/sagemaker/snapshot/api_op_ListMonitoringExecutions.go.snap +++ b/service/sagemaker/snapshot/api_op_ListMonitoringExecutions.go.snap @@ -13,7 +13,6 @@ ListMonitoringExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListMonitoringSchedules.go.snap b/service/sagemaker/snapshot/api_op_ListMonitoringSchedules.go.snap index 5e36f4ad84c..a99924f9875 100644 --- a/service/sagemaker/snapshot/api_op_ListMonitoringSchedules.go.snap +++ b/service/sagemaker/snapshot/api_op_ListMonitoringSchedules.go.snap @@ -13,7 +13,6 @@ ListMonitoringSchedules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListNotebookInstanceLifecycleConfigs.go.snap b/service/sagemaker/snapshot/api_op_ListNotebookInstanceLifecycleConfigs.go.snap index c3598bbad4c..7b9d36a491c 100644 --- a/service/sagemaker/snapshot/api_op_ListNotebookInstanceLifecycleConfigs.go.snap +++ b/service/sagemaker/snapshot/api_op_ListNotebookInstanceLifecycleConfigs.go.snap @@ -13,7 +13,6 @@ ListNotebookInstanceLifecycleConfigs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListNotebookInstances.go.snap b/service/sagemaker/snapshot/api_op_ListNotebookInstances.go.snap index d749a3e49ed..8f33014c20f 100644 --- a/service/sagemaker/snapshot/api_op_ListNotebookInstances.go.snap +++ b/service/sagemaker/snapshot/api_op_ListNotebookInstances.go.snap @@ -13,7 +13,6 @@ ListNotebookInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListOptimizationJobs.go.snap b/service/sagemaker/snapshot/api_op_ListOptimizationJobs.go.snap index 20e86c49ad1..059aa3b2c58 100644 --- a/service/sagemaker/snapshot/api_op_ListOptimizationJobs.go.snap +++ b/service/sagemaker/snapshot/api_op_ListOptimizationJobs.go.snap @@ -13,7 +13,6 @@ ListOptimizationJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListPartnerApps.go.snap b/service/sagemaker/snapshot/api_op_ListPartnerApps.go.snap index 00e880a19ea..5271b03dd4c 100644 --- a/service/sagemaker/snapshot/api_op_ListPartnerApps.go.snap +++ b/service/sagemaker/snapshot/api_op_ListPartnerApps.go.snap @@ -13,7 +13,6 @@ ListPartnerApps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListPipelineExecutionSteps.go.snap b/service/sagemaker/snapshot/api_op_ListPipelineExecutionSteps.go.snap index 77ceea1d450..adddf483249 100644 --- a/service/sagemaker/snapshot/api_op_ListPipelineExecutionSteps.go.snap +++ b/service/sagemaker/snapshot/api_op_ListPipelineExecutionSteps.go.snap @@ -13,7 +13,6 @@ ListPipelineExecutionSteps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListPipelineExecutions.go.snap b/service/sagemaker/snapshot/api_op_ListPipelineExecutions.go.snap index 7d1980bc43c..ba052e8334a 100644 --- a/service/sagemaker/snapshot/api_op_ListPipelineExecutions.go.snap +++ b/service/sagemaker/snapshot/api_op_ListPipelineExecutions.go.snap @@ -14,7 +14,6 @@ ListPipelineExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListPipelineParametersForExecution.go.snap b/service/sagemaker/snapshot/api_op_ListPipelineParametersForExecution.go.snap index 36ae7a9952a..e9bd2d5cc96 100644 --- a/service/sagemaker/snapshot/api_op_ListPipelineParametersForExecution.go.snap +++ b/service/sagemaker/snapshot/api_op_ListPipelineParametersForExecution.go.snap @@ -14,7 +14,6 @@ ListPipelineParametersForExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListPipelines.go.snap b/service/sagemaker/snapshot/api_op_ListPipelines.go.snap index 38a5a0d14ce..96b189f77c0 100644 --- a/service/sagemaker/snapshot/api_op_ListPipelines.go.snap +++ b/service/sagemaker/snapshot/api_op_ListPipelines.go.snap @@ -13,7 +13,6 @@ ListPipelines Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListProcessingJobs.go.snap b/service/sagemaker/snapshot/api_op_ListProcessingJobs.go.snap index 05b336217ae..9b5efd7d0d0 100644 --- a/service/sagemaker/snapshot/api_op_ListProcessingJobs.go.snap +++ b/service/sagemaker/snapshot/api_op_ListProcessingJobs.go.snap @@ -13,7 +13,6 @@ ListProcessingJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListProjects.go.snap b/service/sagemaker/snapshot/api_op_ListProjects.go.snap index adb78614633..e63a9b58f58 100644 --- a/service/sagemaker/snapshot/api_op_ListProjects.go.snap +++ b/service/sagemaker/snapshot/api_op_ListProjects.go.snap @@ -13,7 +13,6 @@ ListProjects Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListResourceCatalogs.go.snap b/service/sagemaker/snapshot/api_op_ListResourceCatalogs.go.snap index 0bf305acc47..cc32145fcba 100644 --- a/service/sagemaker/snapshot/api_op_ListResourceCatalogs.go.snap +++ b/service/sagemaker/snapshot/api_op_ListResourceCatalogs.go.snap @@ -13,7 +13,6 @@ ListResourceCatalogs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListSpaces.go.snap b/service/sagemaker/snapshot/api_op_ListSpaces.go.snap index e6ee49dd5fd..ae5116db5fe 100644 --- a/service/sagemaker/snapshot/api_op_ListSpaces.go.snap +++ b/service/sagemaker/snapshot/api_op_ListSpaces.go.snap @@ -13,7 +13,6 @@ ListSpaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListStageDevices.go.snap b/service/sagemaker/snapshot/api_op_ListStageDevices.go.snap index 9ae6b69b684..69197c63865 100644 --- a/service/sagemaker/snapshot/api_op_ListStageDevices.go.snap +++ b/service/sagemaker/snapshot/api_op_ListStageDevices.go.snap @@ -14,7 +14,6 @@ ListStageDevices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListStudioLifecycleConfigs.go.snap b/service/sagemaker/snapshot/api_op_ListStudioLifecycleConfigs.go.snap index c77f334aa88..bdfbbaf429f 100644 --- a/service/sagemaker/snapshot/api_op_ListStudioLifecycleConfigs.go.snap +++ b/service/sagemaker/snapshot/api_op_ListStudioLifecycleConfigs.go.snap @@ -13,7 +13,6 @@ ListStudioLifecycleConfigs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListSubscribedWorkteams.go.snap b/service/sagemaker/snapshot/api_op_ListSubscribedWorkteams.go.snap index bad74cf57e9..a8225686581 100644 --- a/service/sagemaker/snapshot/api_op_ListSubscribedWorkteams.go.snap +++ b/service/sagemaker/snapshot/api_op_ListSubscribedWorkteams.go.snap @@ -13,7 +13,6 @@ ListSubscribedWorkteams Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListTags.go.snap b/service/sagemaker/snapshot/api_op_ListTags.go.snap index 1b1e99185a9..438bd1b7aec 100644 --- a/service/sagemaker/snapshot/api_op_ListTags.go.snap +++ b/service/sagemaker/snapshot/api_op_ListTags.go.snap @@ -14,7 +14,6 @@ ListTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListTrainingJobs.go.snap b/service/sagemaker/snapshot/api_op_ListTrainingJobs.go.snap index 9fc7c1f3a81..45159796c8b 100644 --- a/service/sagemaker/snapshot/api_op_ListTrainingJobs.go.snap +++ b/service/sagemaker/snapshot/api_op_ListTrainingJobs.go.snap @@ -13,7 +13,6 @@ ListTrainingJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListTrainingJobsForHyperParameterTuningJob.go.snap b/service/sagemaker/snapshot/api_op_ListTrainingJobsForHyperParameterTuningJob.go.snap index b08a6244c2c..7b2a157205b 100644 --- a/service/sagemaker/snapshot/api_op_ListTrainingJobsForHyperParameterTuningJob.go.snap +++ b/service/sagemaker/snapshot/api_op_ListTrainingJobsForHyperParameterTuningJob.go.snap @@ -14,7 +14,6 @@ ListTrainingJobsForHyperParameterTuningJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListTrainingPlans.go.snap b/service/sagemaker/snapshot/api_op_ListTrainingPlans.go.snap index b506a3d5f4f..071d5d1c71f 100644 --- a/service/sagemaker/snapshot/api_op_ListTrainingPlans.go.snap +++ b/service/sagemaker/snapshot/api_op_ListTrainingPlans.go.snap @@ -14,7 +14,6 @@ ListTrainingPlans Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListTransformJobs.go.snap b/service/sagemaker/snapshot/api_op_ListTransformJobs.go.snap index 1d5b8bc2134..3db0bef3da2 100644 --- a/service/sagemaker/snapshot/api_op_ListTransformJobs.go.snap +++ b/service/sagemaker/snapshot/api_op_ListTransformJobs.go.snap @@ -13,7 +13,6 @@ ListTransformJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListTrialComponents.go.snap b/service/sagemaker/snapshot/api_op_ListTrialComponents.go.snap index 7174d273265..53c95fd8026 100644 --- a/service/sagemaker/snapshot/api_op_ListTrialComponents.go.snap +++ b/service/sagemaker/snapshot/api_op_ListTrialComponents.go.snap @@ -13,7 +13,6 @@ ListTrialComponents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListTrials.go.snap b/service/sagemaker/snapshot/api_op_ListTrials.go.snap index b351145a254..b4b8b8e8afd 100644 --- a/service/sagemaker/snapshot/api_op_ListTrials.go.snap +++ b/service/sagemaker/snapshot/api_op_ListTrials.go.snap @@ -13,7 +13,6 @@ ListTrials Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListUserProfiles.go.snap b/service/sagemaker/snapshot/api_op_ListUserProfiles.go.snap index c1fa0f645f5..508f6f4f91b 100644 --- a/service/sagemaker/snapshot/api_op_ListUserProfiles.go.snap +++ b/service/sagemaker/snapshot/api_op_ListUserProfiles.go.snap @@ -13,7 +13,6 @@ ListUserProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListWorkforces.go.snap b/service/sagemaker/snapshot/api_op_ListWorkforces.go.snap index c308782abf8..bf455f05c26 100644 --- a/service/sagemaker/snapshot/api_op_ListWorkforces.go.snap +++ b/service/sagemaker/snapshot/api_op_ListWorkforces.go.snap @@ -13,7 +13,6 @@ ListWorkforces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_ListWorkteams.go.snap b/service/sagemaker/snapshot/api_op_ListWorkteams.go.snap index 8583a1d58e7..dbb967870bc 100644 --- a/service/sagemaker/snapshot/api_op_ListWorkteams.go.snap +++ b/service/sagemaker/snapshot/api_op_ListWorkteams.go.snap @@ -13,7 +13,6 @@ ListWorkteams Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_PutModelPackageGroupPolicy.go.snap b/service/sagemaker/snapshot/api_op_PutModelPackageGroupPolicy.go.snap index 632b4e778c6..04ee5057093 100644 --- a/service/sagemaker/snapshot/api_op_PutModelPackageGroupPolicy.go.snap +++ b/service/sagemaker/snapshot/api_op_PutModelPackageGroupPolicy.go.snap @@ -14,7 +14,6 @@ PutModelPackageGroupPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_QueryLineage.go.snap b/service/sagemaker/snapshot/api_op_QueryLineage.go.snap index fde8c785d0d..8f409cb7426 100644 --- a/service/sagemaker/snapshot/api_op_QueryLineage.go.snap +++ b/service/sagemaker/snapshot/api_op_QueryLineage.go.snap @@ -13,7 +13,6 @@ QueryLineage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_RegisterDevices.go.snap b/service/sagemaker/snapshot/api_op_RegisterDevices.go.snap index 4680239d3a7..4cc145a01ed 100644 --- a/service/sagemaker/snapshot/api_op_RegisterDevices.go.snap +++ b/service/sagemaker/snapshot/api_op_RegisterDevices.go.snap @@ -14,7 +14,6 @@ RegisterDevices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_RenderUiTemplate.go.snap b/service/sagemaker/snapshot/api_op_RenderUiTemplate.go.snap index 1488a352381..5455a4387ef 100644 --- a/service/sagemaker/snapshot/api_op_RenderUiTemplate.go.snap +++ b/service/sagemaker/snapshot/api_op_RenderUiTemplate.go.snap @@ -14,7 +14,6 @@ RenderUiTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_RetryPipelineExecution.go.snap b/service/sagemaker/snapshot/api_op_RetryPipelineExecution.go.snap index 1ca3a433f23..d9b8cef6940 100644 --- a/service/sagemaker/snapshot/api_op_RetryPipelineExecution.go.snap +++ b/service/sagemaker/snapshot/api_op_RetryPipelineExecution.go.snap @@ -15,7 +15,6 @@ RetryPipelineExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_Search.go.snap b/service/sagemaker/snapshot/api_op_Search.go.snap index 96b2a05a873..30f266bd59c 100644 --- a/service/sagemaker/snapshot/api_op_Search.go.snap +++ b/service/sagemaker/snapshot/api_op_Search.go.snap @@ -14,7 +14,6 @@ Search Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_SearchTrainingPlanOfferings.go.snap b/service/sagemaker/snapshot/api_op_SearchTrainingPlanOfferings.go.snap index b144b596895..9f35b061ecb 100644 --- a/service/sagemaker/snapshot/api_op_SearchTrainingPlanOfferings.go.snap +++ b/service/sagemaker/snapshot/api_op_SearchTrainingPlanOfferings.go.snap @@ -14,7 +14,6 @@ SearchTrainingPlanOfferings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_SendPipelineExecutionStepFailure.go.snap b/service/sagemaker/snapshot/api_op_SendPipelineExecutionStepFailure.go.snap index 799c7f9df68..5abdab94580 100644 --- a/service/sagemaker/snapshot/api_op_SendPipelineExecutionStepFailure.go.snap +++ b/service/sagemaker/snapshot/api_op_SendPipelineExecutionStepFailure.go.snap @@ -15,7 +15,6 @@ SendPipelineExecutionStepFailure Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_SendPipelineExecutionStepSuccess.go.snap b/service/sagemaker/snapshot/api_op_SendPipelineExecutionStepSuccess.go.snap index 93abd8947ef..5000dbecd88 100644 --- a/service/sagemaker/snapshot/api_op_SendPipelineExecutionStepSuccess.go.snap +++ b/service/sagemaker/snapshot/api_op_SendPipelineExecutionStepSuccess.go.snap @@ -15,7 +15,6 @@ SendPipelineExecutionStepSuccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_StartEdgeDeploymentStage.go.snap b/service/sagemaker/snapshot/api_op_StartEdgeDeploymentStage.go.snap index 261c79de0f2..5cdb5b758c1 100644 --- a/service/sagemaker/snapshot/api_op_StartEdgeDeploymentStage.go.snap +++ b/service/sagemaker/snapshot/api_op_StartEdgeDeploymentStage.go.snap @@ -14,7 +14,6 @@ StartEdgeDeploymentStage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_StartInferenceExperiment.go.snap b/service/sagemaker/snapshot/api_op_StartInferenceExperiment.go.snap index 1e56a74a4a9..4ead4524d47 100644 --- a/service/sagemaker/snapshot/api_op_StartInferenceExperiment.go.snap +++ b/service/sagemaker/snapshot/api_op_StartInferenceExperiment.go.snap @@ -14,7 +14,6 @@ StartInferenceExperiment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_StartMlflowTrackingServer.go.snap b/service/sagemaker/snapshot/api_op_StartMlflowTrackingServer.go.snap index 6fd95a22865..ff7496d5be1 100644 --- a/service/sagemaker/snapshot/api_op_StartMlflowTrackingServer.go.snap +++ b/service/sagemaker/snapshot/api_op_StartMlflowTrackingServer.go.snap @@ -14,7 +14,6 @@ StartMlflowTrackingServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_StartMonitoringSchedule.go.snap b/service/sagemaker/snapshot/api_op_StartMonitoringSchedule.go.snap index a2b6d769ecc..2c00c3cf344 100644 --- a/service/sagemaker/snapshot/api_op_StartMonitoringSchedule.go.snap +++ b/service/sagemaker/snapshot/api_op_StartMonitoringSchedule.go.snap @@ -14,7 +14,6 @@ StartMonitoringSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_StartNotebookInstance.go.snap b/service/sagemaker/snapshot/api_op_StartNotebookInstance.go.snap index b6c5992920d..bd3c9ad0074 100644 --- a/service/sagemaker/snapshot/api_op_StartNotebookInstance.go.snap +++ b/service/sagemaker/snapshot/api_op_StartNotebookInstance.go.snap @@ -14,7 +14,6 @@ StartNotebookInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_StartPipelineExecution.go.snap b/service/sagemaker/snapshot/api_op_StartPipelineExecution.go.snap index 25028520785..aa151df85bf 100644 --- a/service/sagemaker/snapshot/api_op_StartPipelineExecution.go.snap +++ b/service/sagemaker/snapshot/api_op_StartPipelineExecution.go.snap @@ -15,7 +15,6 @@ StartPipelineExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_StopAutoMLJob.go.snap b/service/sagemaker/snapshot/api_op_StopAutoMLJob.go.snap index 1a76bb9a060..442a1fab9b7 100644 --- a/service/sagemaker/snapshot/api_op_StopAutoMLJob.go.snap +++ b/service/sagemaker/snapshot/api_op_StopAutoMLJob.go.snap @@ -14,7 +14,6 @@ StopAutoMLJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_StopCompilationJob.go.snap b/service/sagemaker/snapshot/api_op_StopCompilationJob.go.snap index 6b1e8292f8d..721f33ad9c5 100644 --- a/service/sagemaker/snapshot/api_op_StopCompilationJob.go.snap +++ b/service/sagemaker/snapshot/api_op_StopCompilationJob.go.snap @@ -14,7 +14,6 @@ StopCompilationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_StopEdgeDeploymentStage.go.snap b/service/sagemaker/snapshot/api_op_StopEdgeDeploymentStage.go.snap index b98170bbe72..dd7fdff9da3 100644 --- a/service/sagemaker/snapshot/api_op_StopEdgeDeploymentStage.go.snap +++ b/service/sagemaker/snapshot/api_op_StopEdgeDeploymentStage.go.snap @@ -14,7 +14,6 @@ StopEdgeDeploymentStage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_StopEdgePackagingJob.go.snap b/service/sagemaker/snapshot/api_op_StopEdgePackagingJob.go.snap index 39c468e8601..7d07d01cc86 100644 --- a/service/sagemaker/snapshot/api_op_StopEdgePackagingJob.go.snap +++ b/service/sagemaker/snapshot/api_op_StopEdgePackagingJob.go.snap @@ -14,7 +14,6 @@ StopEdgePackagingJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_StopHyperParameterTuningJob.go.snap b/service/sagemaker/snapshot/api_op_StopHyperParameterTuningJob.go.snap index 27a6e375f5f..d6307553f07 100644 --- a/service/sagemaker/snapshot/api_op_StopHyperParameterTuningJob.go.snap +++ b/service/sagemaker/snapshot/api_op_StopHyperParameterTuningJob.go.snap @@ -14,7 +14,6 @@ StopHyperParameterTuningJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_StopInferenceExperiment.go.snap b/service/sagemaker/snapshot/api_op_StopInferenceExperiment.go.snap index 72517c79ae1..5433b13df7a 100644 --- a/service/sagemaker/snapshot/api_op_StopInferenceExperiment.go.snap +++ b/service/sagemaker/snapshot/api_op_StopInferenceExperiment.go.snap @@ -14,7 +14,6 @@ StopInferenceExperiment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_StopInferenceRecommendationsJob.go.snap b/service/sagemaker/snapshot/api_op_StopInferenceRecommendationsJob.go.snap index a94c108b6d5..731aa010e5f 100644 --- a/service/sagemaker/snapshot/api_op_StopInferenceRecommendationsJob.go.snap +++ b/service/sagemaker/snapshot/api_op_StopInferenceRecommendationsJob.go.snap @@ -14,7 +14,6 @@ StopInferenceRecommendationsJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_StopLabelingJob.go.snap b/service/sagemaker/snapshot/api_op_StopLabelingJob.go.snap index 4289d492be0..2f1d3d6b075 100644 --- a/service/sagemaker/snapshot/api_op_StopLabelingJob.go.snap +++ b/service/sagemaker/snapshot/api_op_StopLabelingJob.go.snap @@ -14,7 +14,6 @@ StopLabelingJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_StopMlflowTrackingServer.go.snap b/service/sagemaker/snapshot/api_op_StopMlflowTrackingServer.go.snap index b64f95d1d18..b6458ecb465 100644 --- a/service/sagemaker/snapshot/api_op_StopMlflowTrackingServer.go.snap +++ b/service/sagemaker/snapshot/api_op_StopMlflowTrackingServer.go.snap @@ -14,7 +14,6 @@ StopMlflowTrackingServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_StopMonitoringSchedule.go.snap b/service/sagemaker/snapshot/api_op_StopMonitoringSchedule.go.snap index 3dd752d4545..963c4180304 100644 --- a/service/sagemaker/snapshot/api_op_StopMonitoringSchedule.go.snap +++ b/service/sagemaker/snapshot/api_op_StopMonitoringSchedule.go.snap @@ -14,7 +14,6 @@ StopMonitoringSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_StopNotebookInstance.go.snap b/service/sagemaker/snapshot/api_op_StopNotebookInstance.go.snap index f9198358c12..7b317953848 100644 --- a/service/sagemaker/snapshot/api_op_StopNotebookInstance.go.snap +++ b/service/sagemaker/snapshot/api_op_StopNotebookInstance.go.snap @@ -14,7 +14,6 @@ StopNotebookInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_StopOptimizationJob.go.snap b/service/sagemaker/snapshot/api_op_StopOptimizationJob.go.snap index 0746365a7c6..95d10477823 100644 --- a/service/sagemaker/snapshot/api_op_StopOptimizationJob.go.snap +++ b/service/sagemaker/snapshot/api_op_StopOptimizationJob.go.snap @@ -14,7 +14,6 @@ StopOptimizationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_StopPipelineExecution.go.snap b/service/sagemaker/snapshot/api_op_StopPipelineExecution.go.snap index ad7096f8f82..8062dba9e92 100644 --- a/service/sagemaker/snapshot/api_op_StopPipelineExecution.go.snap +++ b/service/sagemaker/snapshot/api_op_StopPipelineExecution.go.snap @@ -15,7 +15,6 @@ StopPipelineExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_StopProcessingJob.go.snap b/service/sagemaker/snapshot/api_op_StopProcessingJob.go.snap index cbb97a90751..5cbbd3955c0 100644 --- a/service/sagemaker/snapshot/api_op_StopProcessingJob.go.snap +++ b/service/sagemaker/snapshot/api_op_StopProcessingJob.go.snap @@ -14,7 +14,6 @@ StopProcessingJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_StopTrainingJob.go.snap b/service/sagemaker/snapshot/api_op_StopTrainingJob.go.snap index eda93aa1843..848b69f1f86 100644 --- a/service/sagemaker/snapshot/api_op_StopTrainingJob.go.snap +++ b/service/sagemaker/snapshot/api_op_StopTrainingJob.go.snap @@ -14,7 +14,6 @@ StopTrainingJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_StopTransformJob.go.snap b/service/sagemaker/snapshot/api_op_StopTransformJob.go.snap index 8c669322218..aea02586537 100644 --- a/service/sagemaker/snapshot/api_op_StopTransformJob.go.snap +++ b/service/sagemaker/snapshot/api_op_StopTransformJob.go.snap @@ -14,7 +14,6 @@ StopTransformJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateAction.go.snap b/service/sagemaker/snapshot/api_op_UpdateAction.go.snap index d54b228a8c1..5d4703387fe 100644 --- a/service/sagemaker/snapshot/api_op_UpdateAction.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateAction.go.snap @@ -14,7 +14,6 @@ UpdateAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateAppImageConfig.go.snap b/service/sagemaker/snapshot/api_op_UpdateAppImageConfig.go.snap index 7fbddb9fd30..a129ec14f78 100644 --- a/service/sagemaker/snapshot/api_op_UpdateAppImageConfig.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateAppImageConfig.go.snap @@ -14,7 +14,6 @@ UpdateAppImageConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateArtifact.go.snap b/service/sagemaker/snapshot/api_op_UpdateArtifact.go.snap index 167c1a096c5..ff556a332f4 100644 --- a/service/sagemaker/snapshot/api_op_UpdateArtifact.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateArtifact.go.snap @@ -14,7 +14,6 @@ UpdateArtifact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateCluster.go.snap b/service/sagemaker/snapshot/api_op_UpdateCluster.go.snap index 9ff96b83973..babe61a8cd3 100644 --- a/service/sagemaker/snapshot/api_op_UpdateCluster.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateCluster.go.snap @@ -14,7 +14,6 @@ UpdateCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateClusterSchedulerConfig.go.snap b/service/sagemaker/snapshot/api_op_UpdateClusterSchedulerConfig.go.snap index d075c95f330..9c635e9ab1e 100644 --- a/service/sagemaker/snapshot/api_op_UpdateClusterSchedulerConfig.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateClusterSchedulerConfig.go.snap @@ -14,7 +14,6 @@ UpdateClusterSchedulerConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateClusterSoftware.go.snap b/service/sagemaker/snapshot/api_op_UpdateClusterSoftware.go.snap index 37b6046333f..250f3bc329b 100644 --- a/service/sagemaker/snapshot/api_op_UpdateClusterSoftware.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateClusterSoftware.go.snap @@ -14,7 +14,6 @@ UpdateClusterSoftware Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateCodeRepository.go.snap b/service/sagemaker/snapshot/api_op_UpdateCodeRepository.go.snap index 3434b178145..351cd64af0a 100644 --- a/service/sagemaker/snapshot/api_op_UpdateCodeRepository.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateCodeRepository.go.snap @@ -14,7 +14,6 @@ UpdateCodeRepository Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateComputeQuota.go.snap b/service/sagemaker/snapshot/api_op_UpdateComputeQuota.go.snap index f3043d17896..0dfa3c5034d 100644 --- a/service/sagemaker/snapshot/api_op_UpdateComputeQuota.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateComputeQuota.go.snap @@ -14,7 +14,6 @@ UpdateComputeQuota Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateContext.go.snap b/service/sagemaker/snapshot/api_op_UpdateContext.go.snap index 8a83986c272..6c7a75b6bee 100644 --- a/service/sagemaker/snapshot/api_op_UpdateContext.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateContext.go.snap @@ -14,7 +14,6 @@ UpdateContext Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateDeviceFleet.go.snap b/service/sagemaker/snapshot/api_op_UpdateDeviceFleet.go.snap index 682cd10ed61..c65b4da6e6e 100644 --- a/service/sagemaker/snapshot/api_op_UpdateDeviceFleet.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateDeviceFleet.go.snap @@ -14,7 +14,6 @@ UpdateDeviceFleet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateDevices.go.snap b/service/sagemaker/snapshot/api_op_UpdateDevices.go.snap index 1f1bf1f7cbc..72c35581124 100644 --- a/service/sagemaker/snapshot/api_op_UpdateDevices.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateDevices.go.snap @@ -14,7 +14,6 @@ UpdateDevices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateDomain.go.snap b/service/sagemaker/snapshot/api_op_UpdateDomain.go.snap index 0361d64fb81..756a648921a 100644 --- a/service/sagemaker/snapshot/api_op_UpdateDomain.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateDomain.go.snap @@ -14,7 +14,6 @@ UpdateDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateEndpoint.go.snap b/service/sagemaker/snapshot/api_op_UpdateEndpoint.go.snap index 63486efef57..9f5c5924842 100644 --- a/service/sagemaker/snapshot/api_op_UpdateEndpoint.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateEndpoint.go.snap @@ -14,7 +14,6 @@ UpdateEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateEndpointWeightsAndCapacities.go.snap b/service/sagemaker/snapshot/api_op_UpdateEndpointWeightsAndCapacities.go.snap index 8116c9c8043..079e6258fde 100644 --- a/service/sagemaker/snapshot/api_op_UpdateEndpointWeightsAndCapacities.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateEndpointWeightsAndCapacities.go.snap @@ -14,7 +14,6 @@ UpdateEndpointWeightsAndCapacities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateExperiment.go.snap b/service/sagemaker/snapshot/api_op_UpdateExperiment.go.snap index fda1ceecc87..0160986d8f8 100644 --- a/service/sagemaker/snapshot/api_op_UpdateExperiment.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateExperiment.go.snap @@ -14,7 +14,6 @@ UpdateExperiment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateFeatureGroup.go.snap b/service/sagemaker/snapshot/api_op_UpdateFeatureGroup.go.snap index 76291d91b56..fa4f2aa7dbb 100644 --- a/service/sagemaker/snapshot/api_op_UpdateFeatureGroup.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateFeatureGroup.go.snap @@ -14,7 +14,6 @@ UpdateFeatureGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateFeatureMetadata.go.snap b/service/sagemaker/snapshot/api_op_UpdateFeatureMetadata.go.snap index d5b69469810..b134fcf2455 100644 --- a/service/sagemaker/snapshot/api_op_UpdateFeatureMetadata.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateFeatureMetadata.go.snap @@ -14,7 +14,6 @@ UpdateFeatureMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateHub.go.snap b/service/sagemaker/snapshot/api_op_UpdateHub.go.snap index 487b34398b5..c12efb2409b 100644 --- a/service/sagemaker/snapshot/api_op_UpdateHub.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateHub.go.snap @@ -14,7 +14,6 @@ UpdateHub Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateImage.go.snap b/service/sagemaker/snapshot/api_op_UpdateImage.go.snap index fba17452853..3203cdab710 100644 --- a/service/sagemaker/snapshot/api_op_UpdateImage.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateImage.go.snap @@ -14,7 +14,6 @@ UpdateImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateImageVersion.go.snap b/service/sagemaker/snapshot/api_op_UpdateImageVersion.go.snap index 073ec0d24c3..ae44e2eaa2d 100644 --- a/service/sagemaker/snapshot/api_op_UpdateImageVersion.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateImageVersion.go.snap @@ -14,7 +14,6 @@ UpdateImageVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateInferenceComponent.go.snap b/service/sagemaker/snapshot/api_op_UpdateInferenceComponent.go.snap index e406dd18bce..f069a84be0d 100644 --- a/service/sagemaker/snapshot/api_op_UpdateInferenceComponent.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateInferenceComponent.go.snap @@ -14,7 +14,6 @@ UpdateInferenceComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateInferenceComponentRuntimeConfig.go.snap b/service/sagemaker/snapshot/api_op_UpdateInferenceComponentRuntimeConfig.go.snap index 253b01e15c8..572e9c3d26a 100644 --- a/service/sagemaker/snapshot/api_op_UpdateInferenceComponentRuntimeConfig.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateInferenceComponentRuntimeConfig.go.snap @@ -14,7 +14,6 @@ UpdateInferenceComponentRuntimeConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateInferenceExperiment.go.snap b/service/sagemaker/snapshot/api_op_UpdateInferenceExperiment.go.snap index a19351f71d0..6c9e4b5c812 100644 --- a/service/sagemaker/snapshot/api_op_UpdateInferenceExperiment.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateInferenceExperiment.go.snap @@ -14,7 +14,6 @@ UpdateInferenceExperiment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateMlflowTrackingServer.go.snap b/service/sagemaker/snapshot/api_op_UpdateMlflowTrackingServer.go.snap index 609aeb006f0..ef569325d4b 100644 --- a/service/sagemaker/snapshot/api_op_UpdateMlflowTrackingServer.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateMlflowTrackingServer.go.snap @@ -14,7 +14,6 @@ UpdateMlflowTrackingServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateModelCard.go.snap b/service/sagemaker/snapshot/api_op_UpdateModelCard.go.snap index f05b40d9a32..0a1e48d1dce 100644 --- a/service/sagemaker/snapshot/api_op_UpdateModelCard.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateModelCard.go.snap @@ -14,7 +14,6 @@ UpdateModelCard Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateModelPackage.go.snap b/service/sagemaker/snapshot/api_op_UpdateModelPackage.go.snap index 74578a551c2..3c80afd1521 100644 --- a/service/sagemaker/snapshot/api_op_UpdateModelPackage.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateModelPackage.go.snap @@ -14,7 +14,6 @@ UpdateModelPackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateMonitoringAlert.go.snap b/service/sagemaker/snapshot/api_op_UpdateMonitoringAlert.go.snap index 9bec2e9d4a5..919c60a690d 100644 --- a/service/sagemaker/snapshot/api_op_UpdateMonitoringAlert.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateMonitoringAlert.go.snap @@ -14,7 +14,6 @@ UpdateMonitoringAlert Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateMonitoringSchedule.go.snap b/service/sagemaker/snapshot/api_op_UpdateMonitoringSchedule.go.snap index 5a2ed0de6db..d3129b0ae8a 100644 --- a/service/sagemaker/snapshot/api_op_UpdateMonitoringSchedule.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateMonitoringSchedule.go.snap @@ -14,7 +14,6 @@ UpdateMonitoringSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateNotebookInstance.go.snap b/service/sagemaker/snapshot/api_op_UpdateNotebookInstance.go.snap index c2790042b35..92619c239ab 100644 --- a/service/sagemaker/snapshot/api_op_UpdateNotebookInstance.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateNotebookInstance.go.snap @@ -14,7 +14,6 @@ UpdateNotebookInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateNotebookInstanceLifecycleConfig.go.snap b/service/sagemaker/snapshot/api_op_UpdateNotebookInstanceLifecycleConfig.go.snap index a3f86cc77a6..2d8448707d5 100644 --- a/service/sagemaker/snapshot/api_op_UpdateNotebookInstanceLifecycleConfig.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateNotebookInstanceLifecycleConfig.go.snap @@ -14,7 +14,6 @@ UpdateNotebookInstanceLifecycleConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdatePartnerApp.go.snap b/service/sagemaker/snapshot/api_op_UpdatePartnerApp.go.snap index ba7a7105d80..660da7d2bd2 100644 --- a/service/sagemaker/snapshot/api_op_UpdatePartnerApp.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdatePartnerApp.go.snap @@ -15,7 +15,6 @@ UpdatePartnerApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdatePipeline.go.snap b/service/sagemaker/snapshot/api_op_UpdatePipeline.go.snap index acddf30c7a9..3f2dc40d069 100644 --- a/service/sagemaker/snapshot/api_op_UpdatePipeline.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdatePipeline.go.snap @@ -14,7 +14,6 @@ UpdatePipeline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdatePipelineExecution.go.snap b/service/sagemaker/snapshot/api_op_UpdatePipelineExecution.go.snap index 20388fb7589..24d3a837f27 100644 --- a/service/sagemaker/snapshot/api_op_UpdatePipelineExecution.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdatePipelineExecution.go.snap @@ -14,7 +14,6 @@ UpdatePipelineExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateProject.go.snap b/service/sagemaker/snapshot/api_op_UpdateProject.go.snap index 5c3e188e688..58c24534d10 100644 --- a/service/sagemaker/snapshot/api_op_UpdateProject.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateProject.go.snap @@ -14,7 +14,6 @@ UpdateProject Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateSpace.go.snap b/service/sagemaker/snapshot/api_op_UpdateSpace.go.snap index a5111b756a7..d6d8fa3c92f 100644 --- a/service/sagemaker/snapshot/api_op_UpdateSpace.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateSpace.go.snap @@ -14,7 +14,6 @@ UpdateSpace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateTrainingJob.go.snap b/service/sagemaker/snapshot/api_op_UpdateTrainingJob.go.snap index 43fe29e9630..ed25b05c395 100644 --- a/service/sagemaker/snapshot/api_op_UpdateTrainingJob.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateTrainingJob.go.snap @@ -14,7 +14,6 @@ UpdateTrainingJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateTrial.go.snap b/service/sagemaker/snapshot/api_op_UpdateTrial.go.snap index 91326d62c5c..4c98344cf51 100644 --- a/service/sagemaker/snapshot/api_op_UpdateTrial.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateTrial.go.snap @@ -14,7 +14,6 @@ UpdateTrial Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateTrialComponent.go.snap b/service/sagemaker/snapshot/api_op_UpdateTrialComponent.go.snap index 95fb9b0f67a..e4eb79b5435 100644 --- a/service/sagemaker/snapshot/api_op_UpdateTrialComponent.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateTrialComponent.go.snap @@ -14,7 +14,6 @@ UpdateTrialComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateUserProfile.go.snap b/service/sagemaker/snapshot/api_op_UpdateUserProfile.go.snap index 0887974adeb..edca8ac8013 100644 --- a/service/sagemaker/snapshot/api_op_UpdateUserProfile.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateUserProfile.go.snap @@ -14,7 +14,6 @@ UpdateUserProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateWorkforce.go.snap b/service/sagemaker/snapshot/api_op_UpdateWorkforce.go.snap index 9e79ce5a155..2a110739396 100644 --- a/service/sagemaker/snapshot/api_op_UpdateWorkforce.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateWorkforce.go.snap @@ -14,7 +14,6 @@ UpdateWorkforce Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemaker/snapshot/api_op_UpdateWorkteam.go.snap b/service/sagemaker/snapshot/api_op_UpdateWorkteam.go.snap index ef0299b1887..1ca8ef2f520 100644 --- a/service/sagemaker/snapshot/api_op_UpdateWorkteam.go.snap +++ b/service/sagemaker/snapshot/api_op_UpdateWorkteam.go.snap @@ -14,7 +14,6 @@ UpdateWorkteam Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakera2iruntime/api_client.go b/service/sagemakera2iruntime/api_client.go index a3807492b3c..e87bf754733 100644 --- a/service/sagemakera2iruntime/api_client.go +++ b/service/sagemakera2iruntime/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/sagemakera2iruntime/api_op_DeleteHumanLoop.go b/service/sagemakera2iruntime/api_op_DeleteHumanLoop.go index d5a7c2c7b3a..b1358be17a0 100644 --- a/service/sagemakera2iruntime/api_op_DeleteHumanLoop.go +++ b/service/sagemakera2iruntime/api_op_DeleteHumanLoop.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteHumanLoopMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteHumanLoopValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemakera2iruntime/api_op_DescribeHumanLoop.go b/service/sagemakera2iruntime/api_op_DescribeHumanLoop.go index 1089b40526a..d32ee189372 100644 --- a/service/sagemakera2iruntime/api_op_DescribeHumanLoop.go +++ b/service/sagemakera2iruntime/api_op_DescribeHumanLoop.go @@ -150,9 +150,6 @@ func (c *Client) addOperationDescribeHumanLoopMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeHumanLoopValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemakera2iruntime/api_op_ListHumanLoops.go b/service/sagemakera2iruntime/api_op_ListHumanLoops.go index 5e1f2130175..45ee37f9dda 100644 --- a/service/sagemakera2iruntime/api_op_ListHumanLoops.go +++ b/service/sagemakera2iruntime/api_op_ListHumanLoops.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListHumanLoopsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListHumanLoopsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemakera2iruntime/api_op_StartHumanLoop.go b/service/sagemakera2iruntime/api_op_StartHumanLoop.go index 40ffe71bea3..4840a18bc68 100644 --- a/service/sagemakera2iruntime/api_op_StartHumanLoop.go +++ b/service/sagemakera2iruntime/api_op_StartHumanLoop.go @@ -127,9 +127,6 @@ func (c *Client) addOperationStartHumanLoopMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartHumanLoopValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemakera2iruntime/api_op_StopHumanLoop.go b/service/sagemakera2iruntime/api_op_StopHumanLoop.go index 19e2395935c..59b5e3786b1 100644 --- a/service/sagemakera2iruntime/api_op_StopHumanLoop.go +++ b/service/sagemakera2iruntime/api_op_StopHumanLoop.go @@ -107,9 +107,6 @@ func (c *Client) addOperationStopHumanLoopMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopHumanLoopValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemakera2iruntime/snapshot/api_op_DeleteHumanLoop.go.snap b/service/sagemakera2iruntime/snapshot/api_op_DeleteHumanLoop.go.snap index ac33909a4b8..fec5e0aa5d0 100644 --- a/service/sagemakera2iruntime/snapshot/api_op_DeleteHumanLoop.go.snap +++ b/service/sagemakera2iruntime/snapshot/api_op_DeleteHumanLoop.go.snap @@ -14,7 +14,6 @@ DeleteHumanLoop Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakera2iruntime/snapshot/api_op_DescribeHumanLoop.go.snap b/service/sagemakera2iruntime/snapshot/api_op_DescribeHumanLoop.go.snap index c016bb51a46..aaa4256a7b5 100644 --- a/service/sagemakera2iruntime/snapshot/api_op_DescribeHumanLoop.go.snap +++ b/service/sagemakera2iruntime/snapshot/api_op_DescribeHumanLoop.go.snap @@ -14,7 +14,6 @@ DescribeHumanLoop Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakera2iruntime/snapshot/api_op_ListHumanLoops.go.snap b/service/sagemakera2iruntime/snapshot/api_op_ListHumanLoops.go.snap index 9f5dbf7b9eb..90d0afcaa9b 100644 --- a/service/sagemakera2iruntime/snapshot/api_op_ListHumanLoops.go.snap +++ b/service/sagemakera2iruntime/snapshot/api_op_ListHumanLoops.go.snap @@ -14,7 +14,6 @@ ListHumanLoops Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakera2iruntime/snapshot/api_op_StartHumanLoop.go.snap b/service/sagemakera2iruntime/snapshot/api_op_StartHumanLoop.go.snap index f36ac9c2093..86796336260 100644 --- a/service/sagemakera2iruntime/snapshot/api_op_StartHumanLoop.go.snap +++ b/service/sagemakera2iruntime/snapshot/api_op_StartHumanLoop.go.snap @@ -14,7 +14,6 @@ StartHumanLoop Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakera2iruntime/snapshot/api_op_StopHumanLoop.go.snap b/service/sagemakera2iruntime/snapshot/api_op_StopHumanLoop.go.snap index 5822898e82a..062a457fa4e 100644 --- a/service/sagemakera2iruntime/snapshot/api_op_StopHumanLoop.go.snap +++ b/service/sagemakera2iruntime/snapshot/api_op_StopHumanLoop.go.snap @@ -14,7 +14,6 @@ StopHumanLoop Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakeredge/api_client.go b/service/sagemakeredge/api_client.go index e1909ceb0a8..c1bc42af28a 100644 --- a/service/sagemakeredge/api_client.go +++ b/service/sagemakeredge/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/sagemakeredge/api_op_GetDeployments.go b/service/sagemakeredge/api_op_GetDeployments.go index 9003b68afb4..665bcd3311f 100644 --- a/service/sagemakeredge/api_op_GetDeployments.go +++ b/service/sagemakeredge/api_op_GetDeployments.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetDeploymentsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeploymentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemakeredge/api_op_GetDeviceRegistration.go b/service/sagemakeredge/api_op_GetDeviceRegistration.go index ab270a9e445..0397613c82c 100644 --- a/service/sagemakeredge/api_op_GetDeviceRegistration.go +++ b/service/sagemakeredge/api_op_GetDeviceRegistration.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetDeviceRegistrationMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeviceRegistrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemakeredge/api_op_SendHeartbeat.go b/service/sagemakeredge/api_op_SendHeartbeat.go index 2f7e0a08414..02e0481a867 100644 --- a/service/sagemakeredge/api_op_SendHeartbeat.go +++ b/service/sagemakeredge/api_op_SendHeartbeat.go @@ -128,9 +128,6 @@ func (c *Client) addOperationSendHeartbeatMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendHeartbeatValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemakeredge/snapshot/api_op_GetDeployments.go.snap b/service/sagemakeredge/snapshot/api_op_GetDeployments.go.snap index 265980ca0b8..9f332445fa0 100644 --- a/service/sagemakeredge/snapshot/api_op_GetDeployments.go.snap +++ b/service/sagemakeredge/snapshot/api_op_GetDeployments.go.snap @@ -14,7 +14,6 @@ GetDeployments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakeredge/snapshot/api_op_GetDeviceRegistration.go.snap b/service/sagemakeredge/snapshot/api_op_GetDeviceRegistration.go.snap index a5493a353ae..9b6384c72cc 100644 --- a/service/sagemakeredge/snapshot/api_op_GetDeviceRegistration.go.snap +++ b/service/sagemakeredge/snapshot/api_op_GetDeviceRegistration.go.snap @@ -14,7 +14,6 @@ GetDeviceRegistration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakeredge/snapshot/api_op_SendHeartbeat.go.snap b/service/sagemakeredge/snapshot/api_op_SendHeartbeat.go.snap index da643ae02d3..92f58cc19a7 100644 --- a/service/sagemakeredge/snapshot/api_op_SendHeartbeat.go.snap +++ b/service/sagemakeredge/snapshot/api_op_SendHeartbeat.go.snap @@ -14,7 +14,6 @@ SendHeartbeat Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakerfeaturestoreruntime/api_client.go b/service/sagemakerfeaturestoreruntime/api_client.go index 6efc331c3e0..67b242d7d2d 100644 --- a/service/sagemakerfeaturestoreruntime/api_client.go +++ b/service/sagemakerfeaturestoreruntime/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/sagemakerfeaturestoreruntime/api_op_BatchGetRecord.go b/service/sagemakerfeaturestoreruntime/api_op_BatchGetRecord.go index 06c8af6e5a7..e877f1ad20f 100644 --- a/service/sagemakerfeaturestoreruntime/api_op_BatchGetRecord.go +++ b/service/sagemakerfeaturestoreruntime/api_op_BatchGetRecord.go @@ -132,9 +132,6 @@ func (c *Client) addOperationBatchGetRecordMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetRecordValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemakerfeaturestoreruntime/api_op_DeleteRecord.go b/service/sagemakerfeaturestoreruntime/api_op_DeleteRecord.go index f14bdd6fe3b..6f30f38387b 100644 --- a/service/sagemakerfeaturestoreruntime/api_op_DeleteRecord.go +++ b/service/sagemakerfeaturestoreruntime/api_op_DeleteRecord.go @@ -158,9 +158,6 @@ func (c *Client) addOperationDeleteRecordMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRecordValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemakerfeaturestoreruntime/api_op_GetRecord.go b/service/sagemakerfeaturestoreruntime/api_op_GetRecord.go index 476cb1fa507..750f361d50b 100644 --- a/service/sagemakerfeaturestoreruntime/api_op_GetRecord.go +++ b/service/sagemakerfeaturestoreruntime/api_op_GetRecord.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetRecordMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRecordValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemakerfeaturestoreruntime/api_op_PutRecord.go b/service/sagemakerfeaturestoreruntime/api_op_PutRecord.go index 24d4ddb7ca3..670b25d9f3f 100644 --- a/service/sagemakerfeaturestoreruntime/api_op_PutRecord.go +++ b/service/sagemakerfeaturestoreruntime/api_op_PutRecord.go @@ -147,9 +147,6 @@ func (c *Client) addOperationPutRecordMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutRecordValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemakerfeaturestoreruntime/snapshot/api_op_BatchGetRecord.go.snap b/service/sagemakerfeaturestoreruntime/snapshot/api_op_BatchGetRecord.go.snap index ee7e503047e..81344ffc4c2 100644 --- a/service/sagemakerfeaturestoreruntime/snapshot/api_op_BatchGetRecord.go.snap +++ b/service/sagemakerfeaturestoreruntime/snapshot/api_op_BatchGetRecord.go.snap @@ -14,7 +14,6 @@ BatchGetRecord Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakerfeaturestoreruntime/snapshot/api_op_DeleteRecord.go.snap b/service/sagemakerfeaturestoreruntime/snapshot/api_op_DeleteRecord.go.snap index 402649a3d5a..102b109b6b7 100644 --- a/service/sagemakerfeaturestoreruntime/snapshot/api_op_DeleteRecord.go.snap +++ b/service/sagemakerfeaturestoreruntime/snapshot/api_op_DeleteRecord.go.snap @@ -14,7 +14,6 @@ DeleteRecord Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakerfeaturestoreruntime/snapshot/api_op_GetRecord.go.snap b/service/sagemakerfeaturestoreruntime/snapshot/api_op_GetRecord.go.snap index cc5d3b0ad0a..f718e93baf5 100644 --- a/service/sagemakerfeaturestoreruntime/snapshot/api_op_GetRecord.go.snap +++ b/service/sagemakerfeaturestoreruntime/snapshot/api_op_GetRecord.go.snap @@ -14,7 +14,6 @@ GetRecord Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakerfeaturestoreruntime/snapshot/api_op_PutRecord.go.snap b/service/sagemakerfeaturestoreruntime/snapshot/api_op_PutRecord.go.snap index b6fcd7250fe..19b644c5e4a 100644 --- a/service/sagemakerfeaturestoreruntime/snapshot/api_op_PutRecord.go.snap +++ b/service/sagemakerfeaturestoreruntime/snapshot/api_op_PutRecord.go.snap @@ -14,7 +14,6 @@ PutRecord Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakergeospatial/api_client.go b/service/sagemakergeospatial/api_client.go index b62b939158e..9b51ba0f4dc 100644 --- a/service/sagemakergeospatial/api_client.go +++ b/service/sagemakergeospatial/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/sagemakergeospatial/api_op_DeleteEarthObservationJob.go b/service/sagemakergeospatial/api_op_DeleteEarthObservationJob.go index 5576e58edfb..d0b7997a55b 100644 --- a/service/sagemakergeospatial/api_op_DeleteEarthObservationJob.go +++ b/service/sagemakergeospatial/api_op_DeleteEarthObservationJob.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteEarthObservationJobMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEarthObservationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_DeleteVectorEnrichmentJob.go b/service/sagemakergeospatial/api_op_DeleteVectorEnrichmentJob.go index adb909cc14f..b070fb6ceac 100644 --- a/service/sagemakergeospatial/api_op_DeleteVectorEnrichmentJob.go +++ b/service/sagemakergeospatial/api_op_DeleteVectorEnrichmentJob.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteVectorEnrichmentJobMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVectorEnrichmentJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_ExportEarthObservationJob.go b/service/sagemakergeospatial/api_op_ExportEarthObservationJob.go index b1979312726..527522ad520 100644 --- a/service/sagemakergeospatial/api_op_ExportEarthObservationJob.go +++ b/service/sagemakergeospatial/api_op_ExportEarthObservationJob.go @@ -157,9 +157,6 @@ func (c *Client) addOperationExportEarthObservationJobMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opExportEarthObservationJobMiddleware(stack, options); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_ExportVectorEnrichmentJob.go b/service/sagemakergeospatial/api_op_ExportVectorEnrichmentJob.go index a82172c03e3..43739d3ff08 100644 --- a/service/sagemakergeospatial/api_op_ExportVectorEnrichmentJob.go +++ b/service/sagemakergeospatial/api_op_ExportVectorEnrichmentJob.go @@ -151,9 +151,6 @@ func (c *Client) addOperationExportVectorEnrichmentJobMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opExportVectorEnrichmentJobMiddleware(stack, options); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_GetEarthObservationJob.go b/service/sagemakergeospatial/api_op_GetEarthObservationJob.go index df20fe59db0..4fcff33e1dd 100644 --- a/service/sagemakergeospatial/api_op_GetEarthObservationJob.go +++ b/service/sagemakergeospatial/api_op_GetEarthObservationJob.go @@ -166,9 +166,6 @@ func (c *Client) addOperationGetEarthObservationJobMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEarthObservationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_GetRasterDataCollection.go b/service/sagemakergeospatial/api_op_GetRasterDataCollection.go index 85464f65bb1..98924af238d 100644 --- a/service/sagemakergeospatial/api_op_GetRasterDataCollection.go +++ b/service/sagemakergeospatial/api_op_GetRasterDataCollection.go @@ -147,9 +147,6 @@ func (c *Client) addOperationGetRasterDataCollectionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRasterDataCollectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_GetTile.go b/service/sagemakergeospatial/api_op_GetTile.go index 1832649ce19..ae9f2f7a6c8 100644 --- a/service/sagemakergeospatial/api_op_GetTile.go +++ b/service/sagemakergeospatial/api_op_GetTile.go @@ -156,9 +156,6 @@ func (c *Client) addOperationGetTileMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTileValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_GetVectorEnrichmentJob.go b/service/sagemakergeospatial/api_op_GetVectorEnrichmentJob.go index 8f578f5587c..bf143f07acd 100644 --- a/service/sagemakergeospatial/api_op_GetVectorEnrichmentJob.go +++ b/service/sagemakergeospatial/api_op_GetVectorEnrichmentJob.go @@ -171,9 +171,6 @@ func (c *Client) addOperationGetVectorEnrichmentJobMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVectorEnrichmentJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_ListEarthObservationJobs.go b/service/sagemakergeospatial/api_op_ListEarthObservationJobs.go index 30ede9ede91..00b766bdb71 100644 --- a/service/sagemakergeospatial/api_op_ListEarthObservationJobs.go +++ b/service/sagemakergeospatial/api_op_ListEarthObservationJobs.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListEarthObservationJobsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEarthObservationJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_ListRasterDataCollections.go b/service/sagemakergeospatial/api_op_ListRasterDataCollections.go index b1dc29cc523..66962b70268 100644 --- a/service/sagemakergeospatial/api_op_ListRasterDataCollections.go +++ b/service/sagemakergeospatial/api_op_ListRasterDataCollections.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListRasterDataCollectionsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRasterDataCollections(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_ListTagsForResource.go b/service/sagemakergeospatial/api_op_ListTagsForResource.go index 87009273e65..b381cc6fc3e 100644 --- a/service/sagemakergeospatial/api_op_ListTagsForResource.go +++ b/service/sagemakergeospatial/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_ListVectorEnrichmentJobs.go b/service/sagemakergeospatial/api_op_ListVectorEnrichmentJobs.go index bdf88dd3d69..c12b3c22abb 100644 --- a/service/sagemakergeospatial/api_op_ListVectorEnrichmentJobs.go +++ b/service/sagemakergeospatial/api_op_ListVectorEnrichmentJobs.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListVectorEnrichmentJobsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVectorEnrichmentJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_SearchRasterDataCollection.go b/service/sagemakergeospatial/api_op_SearchRasterDataCollection.go index e76cb2e7f85..0d65699c598 100644 --- a/service/sagemakergeospatial/api_op_SearchRasterDataCollection.go +++ b/service/sagemakergeospatial/api_op_SearchRasterDataCollection.go @@ -136,9 +136,6 @@ func (c *Client) addOperationSearchRasterDataCollectionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchRasterDataCollectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_StartEarthObservationJob.go b/service/sagemakergeospatial/api_op_StartEarthObservationJob.go index e093aee3dd2..717e3202ee8 100644 --- a/service/sagemakergeospatial/api_op_StartEarthObservationJob.go +++ b/service/sagemakergeospatial/api_op_StartEarthObservationJob.go @@ -178,9 +178,6 @@ func (c *Client) addOperationStartEarthObservationJobMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartEarthObservationJobMiddleware(stack, options); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_StartVectorEnrichmentJob.go b/service/sagemakergeospatial/api_op_StartVectorEnrichmentJob.go index 75fbb5f1aea..015e9b40db1 100644 --- a/service/sagemakergeospatial/api_op_StartVectorEnrichmentJob.go +++ b/service/sagemakergeospatial/api_op_StartVectorEnrichmentJob.go @@ -186,9 +186,6 @@ func (c *Client) addOperationStartVectorEnrichmentJobMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartVectorEnrichmentJobMiddleware(stack, options); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_StopEarthObservationJob.go b/service/sagemakergeospatial/api_op_StopEarthObservationJob.go index 0b246d357a0..a214218e3c9 100644 --- a/service/sagemakergeospatial/api_op_StopEarthObservationJob.go +++ b/service/sagemakergeospatial/api_op_StopEarthObservationJob.go @@ -107,9 +107,6 @@ func (c *Client) addOperationStopEarthObservationJobMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopEarthObservationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_StopVectorEnrichmentJob.go b/service/sagemakergeospatial/api_op_StopVectorEnrichmentJob.go index eecce55c4a5..b1d8ee6418e 100644 --- a/service/sagemakergeospatial/api_op_StopVectorEnrichmentJob.go +++ b/service/sagemakergeospatial/api_op_StopVectorEnrichmentJob.go @@ -107,9 +107,6 @@ func (c *Client) addOperationStopVectorEnrichmentJobMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopVectorEnrichmentJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_TagResource.go b/service/sagemakergeospatial/api_op_TagResource.go index 719f411dffa..5735e9f9dc8 100644 --- a/service/sagemakergeospatial/api_op_TagResource.go +++ b/service/sagemakergeospatial/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemakergeospatial/api_op_UntagResource.go b/service/sagemakergeospatial/api_op_UntagResource.go index 7c255268c35..292852e35fc 100644 --- a/service/sagemakergeospatial/api_op_UntagResource.go +++ b/service/sagemakergeospatial/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemakergeospatial/snapshot/api_op_DeleteEarthObservationJob.go.snap b/service/sagemakergeospatial/snapshot/api_op_DeleteEarthObservationJob.go.snap index fc30a145570..a466f0eae10 100644 --- a/service/sagemakergeospatial/snapshot/api_op_DeleteEarthObservationJob.go.snap +++ b/service/sagemakergeospatial/snapshot/api_op_DeleteEarthObservationJob.go.snap @@ -14,7 +14,6 @@ DeleteEarthObservationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakergeospatial/snapshot/api_op_DeleteVectorEnrichmentJob.go.snap b/service/sagemakergeospatial/snapshot/api_op_DeleteVectorEnrichmentJob.go.snap index 815265d8281..e4c174b0ca2 100644 --- a/service/sagemakergeospatial/snapshot/api_op_DeleteVectorEnrichmentJob.go.snap +++ b/service/sagemakergeospatial/snapshot/api_op_DeleteVectorEnrichmentJob.go.snap @@ -14,7 +14,6 @@ DeleteVectorEnrichmentJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakergeospatial/snapshot/api_op_ExportEarthObservationJob.go.snap b/service/sagemakergeospatial/snapshot/api_op_ExportEarthObservationJob.go.snap index 0c4084f446f..7950df682dc 100644 --- a/service/sagemakergeospatial/snapshot/api_op_ExportEarthObservationJob.go.snap +++ b/service/sagemakergeospatial/snapshot/api_op_ExportEarthObservationJob.go.snap @@ -15,7 +15,6 @@ ExportEarthObservationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakergeospatial/snapshot/api_op_ExportVectorEnrichmentJob.go.snap b/service/sagemakergeospatial/snapshot/api_op_ExportVectorEnrichmentJob.go.snap index 921e18d3d19..5862c2bf522 100644 --- a/service/sagemakergeospatial/snapshot/api_op_ExportVectorEnrichmentJob.go.snap +++ b/service/sagemakergeospatial/snapshot/api_op_ExportVectorEnrichmentJob.go.snap @@ -15,7 +15,6 @@ ExportVectorEnrichmentJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakergeospatial/snapshot/api_op_GetEarthObservationJob.go.snap b/service/sagemakergeospatial/snapshot/api_op_GetEarthObservationJob.go.snap index 0d7262d87d3..22d7b27b744 100644 --- a/service/sagemakergeospatial/snapshot/api_op_GetEarthObservationJob.go.snap +++ b/service/sagemakergeospatial/snapshot/api_op_GetEarthObservationJob.go.snap @@ -14,7 +14,6 @@ GetEarthObservationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakergeospatial/snapshot/api_op_GetRasterDataCollection.go.snap b/service/sagemakergeospatial/snapshot/api_op_GetRasterDataCollection.go.snap index 4e4b515feee..ae8ddefaac3 100644 --- a/service/sagemakergeospatial/snapshot/api_op_GetRasterDataCollection.go.snap +++ b/service/sagemakergeospatial/snapshot/api_op_GetRasterDataCollection.go.snap @@ -14,7 +14,6 @@ GetRasterDataCollection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakergeospatial/snapshot/api_op_GetTile.go.snap b/service/sagemakergeospatial/snapshot/api_op_GetTile.go.snap index 2f3d24602dc..cc91b5b8216 100644 --- a/service/sagemakergeospatial/snapshot/api_op_GetTile.go.snap +++ b/service/sagemakergeospatial/snapshot/api_op_GetTile.go.snap @@ -14,7 +14,6 @@ GetTile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakergeospatial/snapshot/api_op_GetVectorEnrichmentJob.go.snap b/service/sagemakergeospatial/snapshot/api_op_GetVectorEnrichmentJob.go.snap index c02085821ff..75ac51edd91 100644 --- a/service/sagemakergeospatial/snapshot/api_op_GetVectorEnrichmentJob.go.snap +++ b/service/sagemakergeospatial/snapshot/api_op_GetVectorEnrichmentJob.go.snap @@ -14,7 +14,6 @@ GetVectorEnrichmentJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakergeospatial/snapshot/api_op_ListEarthObservationJobs.go.snap b/service/sagemakergeospatial/snapshot/api_op_ListEarthObservationJobs.go.snap index ab504776280..3e7e7efb661 100644 --- a/service/sagemakergeospatial/snapshot/api_op_ListEarthObservationJobs.go.snap +++ b/service/sagemakergeospatial/snapshot/api_op_ListEarthObservationJobs.go.snap @@ -13,7 +13,6 @@ ListEarthObservationJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakergeospatial/snapshot/api_op_ListRasterDataCollections.go.snap b/service/sagemakergeospatial/snapshot/api_op_ListRasterDataCollections.go.snap index 2ec6535973e..ee1d646d43a 100644 --- a/service/sagemakergeospatial/snapshot/api_op_ListRasterDataCollections.go.snap +++ b/service/sagemakergeospatial/snapshot/api_op_ListRasterDataCollections.go.snap @@ -13,7 +13,6 @@ ListRasterDataCollections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakergeospatial/snapshot/api_op_ListTagsForResource.go.snap b/service/sagemakergeospatial/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/sagemakergeospatial/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/sagemakergeospatial/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakergeospatial/snapshot/api_op_ListVectorEnrichmentJobs.go.snap b/service/sagemakergeospatial/snapshot/api_op_ListVectorEnrichmentJobs.go.snap index b84a9116392..4e2d267d6c6 100644 --- a/service/sagemakergeospatial/snapshot/api_op_ListVectorEnrichmentJobs.go.snap +++ b/service/sagemakergeospatial/snapshot/api_op_ListVectorEnrichmentJobs.go.snap @@ -13,7 +13,6 @@ ListVectorEnrichmentJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakergeospatial/snapshot/api_op_SearchRasterDataCollection.go.snap b/service/sagemakergeospatial/snapshot/api_op_SearchRasterDataCollection.go.snap index 29cae4424a5..3da12c79154 100644 --- a/service/sagemakergeospatial/snapshot/api_op_SearchRasterDataCollection.go.snap +++ b/service/sagemakergeospatial/snapshot/api_op_SearchRasterDataCollection.go.snap @@ -14,7 +14,6 @@ SearchRasterDataCollection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakergeospatial/snapshot/api_op_StartEarthObservationJob.go.snap b/service/sagemakergeospatial/snapshot/api_op_StartEarthObservationJob.go.snap index 592c869e6dd..e5804b397e5 100644 --- a/service/sagemakergeospatial/snapshot/api_op_StartEarthObservationJob.go.snap +++ b/service/sagemakergeospatial/snapshot/api_op_StartEarthObservationJob.go.snap @@ -15,7 +15,6 @@ StartEarthObservationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakergeospatial/snapshot/api_op_StartVectorEnrichmentJob.go.snap b/service/sagemakergeospatial/snapshot/api_op_StartVectorEnrichmentJob.go.snap index e05237ac1e6..5782e6a57aa 100644 --- a/service/sagemakergeospatial/snapshot/api_op_StartVectorEnrichmentJob.go.snap +++ b/service/sagemakergeospatial/snapshot/api_op_StartVectorEnrichmentJob.go.snap @@ -15,7 +15,6 @@ StartVectorEnrichmentJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakergeospatial/snapshot/api_op_StopEarthObservationJob.go.snap b/service/sagemakergeospatial/snapshot/api_op_StopEarthObservationJob.go.snap index 119a50f50ed..0cec03b49e5 100644 --- a/service/sagemakergeospatial/snapshot/api_op_StopEarthObservationJob.go.snap +++ b/service/sagemakergeospatial/snapshot/api_op_StopEarthObservationJob.go.snap @@ -14,7 +14,6 @@ StopEarthObservationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakergeospatial/snapshot/api_op_StopVectorEnrichmentJob.go.snap b/service/sagemakergeospatial/snapshot/api_op_StopVectorEnrichmentJob.go.snap index 6fa99aee9a3..84095ec1e40 100644 --- a/service/sagemakergeospatial/snapshot/api_op_StopVectorEnrichmentJob.go.snap +++ b/service/sagemakergeospatial/snapshot/api_op_StopVectorEnrichmentJob.go.snap @@ -14,7 +14,6 @@ StopVectorEnrichmentJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakergeospatial/snapshot/api_op_TagResource.go.snap b/service/sagemakergeospatial/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/sagemakergeospatial/snapshot/api_op_TagResource.go.snap +++ b/service/sagemakergeospatial/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakergeospatial/snapshot/api_op_UntagResource.go.snap b/service/sagemakergeospatial/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/sagemakergeospatial/snapshot/api_op_UntagResource.go.snap +++ b/service/sagemakergeospatial/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakermetrics/api_client.go b/service/sagemakermetrics/api_client.go index 199a3824dec..88896b03cf9 100644 --- a/service/sagemakermetrics/api_client.go +++ b/service/sagemakermetrics/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/sagemakermetrics/api_op_BatchGetMetrics.go b/service/sagemakermetrics/api_op_BatchGetMetrics.go index 7963a5229a6..be2a0a1a86f 100644 --- a/service/sagemakermetrics/api_op_BatchGetMetrics.go +++ b/service/sagemakermetrics/api_op_BatchGetMetrics.go @@ -112,9 +112,6 @@ func (c *Client) addOperationBatchGetMetricsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetMetricsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemakermetrics/api_op_BatchPutMetrics.go b/service/sagemakermetrics/api_op_BatchPutMetrics.go index 7dcd9afb7e1..ea2952a14a9 100644 --- a/service/sagemakermetrics/api_op_BatchPutMetrics.go +++ b/service/sagemakermetrics/api_op_BatchPutMetrics.go @@ -119,9 +119,6 @@ func (c *Client) addOperationBatchPutMetricsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchPutMetricsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemakermetrics/snapshot/api_op_BatchGetMetrics.go.snap b/service/sagemakermetrics/snapshot/api_op_BatchGetMetrics.go.snap index 94f38e20c19..eff6498225e 100644 --- a/service/sagemakermetrics/snapshot/api_op_BatchGetMetrics.go.snap +++ b/service/sagemakermetrics/snapshot/api_op_BatchGetMetrics.go.snap @@ -14,7 +14,6 @@ BatchGetMetrics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakermetrics/snapshot/api_op_BatchPutMetrics.go.snap b/service/sagemakermetrics/snapshot/api_op_BatchPutMetrics.go.snap index 14e9631fd44..56a4f0a0015 100644 --- a/service/sagemakermetrics/snapshot/api_op_BatchPutMetrics.go.snap +++ b/service/sagemakermetrics/snapshot/api_op_BatchPutMetrics.go.snap @@ -14,7 +14,6 @@ BatchPutMetrics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakerruntime/api_client.go b/service/sagemakerruntime/api_client.go index 40cb27679f1..e076348e8ed 100644 --- a/service/sagemakerruntime/api_client.go +++ b/service/sagemakerruntime/api_client.go @@ -764,37 +764,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/sagemakerruntime/api_op_InvokeEndpoint.go b/service/sagemakerruntime/api_op_InvokeEndpoint.go index a1dc1516f67..d5c967df7f5 100644 --- a/service/sagemakerruntime/api_op_InvokeEndpoint.go +++ b/service/sagemakerruntime/api_op_InvokeEndpoint.go @@ -270,9 +270,6 @@ func (c *Client) addOperationInvokeEndpointMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpInvokeEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemakerruntime/api_op_InvokeEndpointAsync.go b/service/sagemakerruntime/api_op_InvokeEndpointAsync.go index 5005a9be106..fdecb350110 100644 --- a/service/sagemakerruntime/api_op_InvokeEndpointAsync.go +++ b/service/sagemakerruntime/api_op_InvokeEndpointAsync.go @@ -182,9 +182,6 @@ func (c *Client) addOperationInvokeEndpointAsyncMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpInvokeEndpointAsyncValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemakerruntime/api_op_InvokeEndpointWithResponseStream.go b/service/sagemakerruntime/api_op_InvokeEndpointWithResponseStream.go index 6de930546ca..cd30582c688 100644 --- a/service/sagemakerruntime/api_op_InvokeEndpointWithResponseStream.go +++ b/service/sagemakerruntime/api_op_InvokeEndpointWithResponseStream.go @@ -239,9 +239,6 @@ func (c *Client) addOperationInvokeEndpointWithResponseStreamMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpInvokeEndpointWithResponseStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/sagemakerruntime/snapshot/api_op_InvokeEndpoint.go.snap b/service/sagemakerruntime/snapshot/api_op_InvokeEndpoint.go.snap index d120052624a..a351c5209e4 100644 --- a/service/sagemakerruntime/snapshot/api_op_InvokeEndpoint.go.snap +++ b/service/sagemakerruntime/snapshot/api_op_InvokeEndpoint.go.snap @@ -14,7 +14,6 @@ InvokeEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakerruntime/snapshot/api_op_InvokeEndpointAsync.go.snap b/service/sagemakerruntime/snapshot/api_op_InvokeEndpointAsync.go.snap index 45fcaab929f..d574151db8a 100644 --- a/service/sagemakerruntime/snapshot/api_op_InvokeEndpointAsync.go.snap +++ b/service/sagemakerruntime/snapshot/api_op_InvokeEndpointAsync.go.snap @@ -14,7 +14,6 @@ InvokeEndpointAsync Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sagemakerruntime/snapshot/api_op_InvokeEndpointWithResponseStream.go.snap b/service/sagemakerruntime/snapshot/api_op_InvokeEndpointWithResponseStream.go.snap index 673cbcb4e6c..2f4000faa8a 100644 --- a/service/sagemakerruntime/snapshot/api_op_InvokeEndpointWithResponseStream.go.snap +++ b/service/sagemakerruntime/snapshot/api_op_InvokeEndpointWithResponseStream.go.snap @@ -14,7 +14,6 @@ InvokeEndpointWithResponseStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/savingsplans/api_client.go b/service/savingsplans/api_client.go index fc8191e9279..f3f18eab00e 100644 --- a/service/savingsplans/api_client.go +++ b/service/savingsplans/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/savingsplans/api_op_CreateSavingsPlan.go b/service/savingsplans/api_op_CreateSavingsPlan.go index ecc6a671a96..7d2528b074b 100644 --- a/service/savingsplans/api_op_CreateSavingsPlan.go +++ b/service/savingsplans/api_op_CreateSavingsPlan.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCreateSavingsPlanMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateSavingsPlanMiddleware(stack, options); err != nil { return err } diff --git a/service/savingsplans/api_op_DeleteQueuedSavingsPlan.go b/service/savingsplans/api_op_DeleteQueuedSavingsPlan.go index 32cbdde1546..366af27ada4 100644 --- a/service/savingsplans/api_op_DeleteQueuedSavingsPlan.go +++ b/service/savingsplans/api_op_DeleteQueuedSavingsPlan.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteQueuedSavingsPlanMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteQueuedSavingsPlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/savingsplans/api_op_DescribeSavingsPlanRates.go b/service/savingsplans/api_op_DescribeSavingsPlanRates.go index e4c11c96eeb..c4aeef10799 100644 --- a/service/savingsplans/api_op_DescribeSavingsPlanRates.go +++ b/service/savingsplans/api_op_DescribeSavingsPlanRates.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeSavingsPlanRatesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSavingsPlanRatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/savingsplans/api_op_DescribeSavingsPlans.go b/service/savingsplans/api_op_DescribeSavingsPlans.go index 8ae27b8df28..94821fc7472 100644 --- a/service/savingsplans/api_op_DescribeSavingsPlans.go +++ b/service/savingsplans/api_op_DescribeSavingsPlans.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeSavingsPlansMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSavingsPlans(options.Region), middleware.Before); err != nil { return err } diff --git a/service/savingsplans/api_op_DescribeSavingsPlansOfferingRates.go b/service/savingsplans/api_op_DescribeSavingsPlansOfferingRates.go index 5b56b9fea94..9c6915ff9e7 100644 --- a/service/savingsplans/api_op_DescribeSavingsPlansOfferingRates.go +++ b/service/savingsplans/api_op_DescribeSavingsPlansOfferingRates.go @@ -143,9 +143,6 @@ func (c *Client) addOperationDescribeSavingsPlansOfferingRatesMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSavingsPlansOfferingRates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/savingsplans/api_op_DescribeSavingsPlansOfferings.go b/service/savingsplans/api_op_DescribeSavingsPlansOfferings.go index 25ade614e49..ec7f48eeec4 100644 --- a/service/savingsplans/api_op_DescribeSavingsPlansOfferings.go +++ b/service/savingsplans/api_op_DescribeSavingsPlansOfferings.go @@ -152,9 +152,6 @@ func (c *Client) addOperationDescribeSavingsPlansOfferingsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSavingsPlansOfferings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/savingsplans/api_op_ListTagsForResource.go b/service/savingsplans/api_op_ListTagsForResource.go index 125fde396d0..394a085ebf2 100644 --- a/service/savingsplans/api_op_ListTagsForResource.go +++ b/service/savingsplans/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/savingsplans/api_op_ReturnSavingsPlan.go b/service/savingsplans/api_op_ReturnSavingsPlan.go index eb1f34e542b..be6218c30aa 100644 --- a/service/savingsplans/api_op_ReturnSavingsPlan.go +++ b/service/savingsplans/api_op_ReturnSavingsPlan.go @@ -115,9 +115,6 @@ func (c *Client) addOperationReturnSavingsPlanMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opReturnSavingsPlanMiddleware(stack, options); err != nil { return err } diff --git a/service/savingsplans/api_op_TagResource.go b/service/savingsplans/api_op_TagResource.go index 48895c7c8e4..2128f443057 100644 --- a/service/savingsplans/api_op_TagResource.go +++ b/service/savingsplans/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/savingsplans/api_op_UntagResource.go b/service/savingsplans/api_op_UntagResource.go index d8df1e9a024..dce9c1ebfe0 100644 --- a/service/savingsplans/api_op_UntagResource.go +++ b/service/savingsplans/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/savingsplans/snapshot/api_op_CreateSavingsPlan.go.snap b/service/savingsplans/snapshot/api_op_CreateSavingsPlan.go.snap index 06623a1ba34..170aa6f08c2 100644 --- a/service/savingsplans/snapshot/api_op_CreateSavingsPlan.go.snap +++ b/service/savingsplans/snapshot/api_op_CreateSavingsPlan.go.snap @@ -15,7 +15,6 @@ CreateSavingsPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/savingsplans/snapshot/api_op_DeleteQueuedSavingsPlan.go.snap b/service/savingsplans/snapshot/api_op_DeleteQueuedSavingsPlan.go.snap index 010006ceb74..1fd0c9e773d 100644 --- a/service/savingsplans/snapshot/api_op_DeleteQueuedSavingsPlan.go.snap +++ b/service/savingsplans/snapshot/api_op_DeleteQueuedSavingsPlan.go.snap @@ -14,7 +14,6 @@ DeleteQueuedSavingsPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/savingsplans/snapshot/api_op_DescribeSavingsPlanRates.go.snap b/service/savingsplans/snapshot/api_op_DescribeSavingsPlanRates.go.snap index 3aa2a5913aa..2d0e3da6e37 100644 --- a/service/savingsplans/snapshot/api_op_DescribeSavingsPlanRates.go.snap +++ b/service/savingsplans/snapshot/api_op_DescribeSavingsPlanRates.go.snap @@ -14,7 +14,6 @@ DescribeSavingsPlanRates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/savingsplans/snapshot/api_op_DescribeSavingsPlans.go.snap b/service/savingsplans/snapshot/api_op_DescribeSavingsPlans.go.snap index c20967e549f..60e3e03d07d 100644 --- a/service/savingsplans/snapshot/api_op_DescribeSavingsPlans.go.snap +++ b/service/savingsplans/snapshot/api_op_DescribeSavingsPlans.go.snap @@ -13,7 +13,6 @@ DescribeSavingsPlans Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/savingsplans/snapshot/api_op_DescribeSavingsPlansOfferingRates.go.snap b/service/savingsplans/snapshot/api_op_DescribeSavingsPlansOfferingRates.go.snap index 9adbfc9cc3d..3238fd72979 100644 --- a/service/savingsplans/snapshot/api_op_DescribeSavingsPlansOfferingRates.go.snap +++ b/service/savingsplans/snapshot/api_op_DescribeSavingsPlansOfferingRates.go.snap @@ -13,7 +13,6 @@ DescribeSavingsPlansOfferingRates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/savingsplans/snapshot/api_op_DescribeSavingsPlansOfferings.go.snap b/service/savingsplans/snapshot/api_op_DescribeSavingsPlansOfferings.go.snap index e6777affb10..62a6e4db233 100644 --- a/service/savingsplans/snapshot/api_op_DescribeSavingsPlansOfferings.go.snap +++ b/service/savingsplans/snapshot/api_op_DescribeSavingsPlansOfferings.go.snap @@ -13,7 +13,6 @@ DescribeSavingsPlansOfferings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/savingsplans/snapshot/api_op_ListTagsForResource.go.snap b/service/savingsplans/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/savingsplans/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/savingsplans/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/savingsplans/snapshot/api_op_ReturnSavingsPlan.go.snap b/service/savingsplans/snapshot/api_op_ReturnSavingsPlan.go.snap index ac4ac806b59..a3f74321d73 100644 --- a/service/savingsplans/snapshot/api_op_ReturnSavingsPlan.go.snap +++ b/service/savingsplans/snapshot/api_op_ReturnSavingsPlan.go.snap @@ -15,7 +15,6 @@ ReturnSavingsPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/savingsplans/snapshot/api_op_TagResource.go.snap b/service/savingsplans/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/savingsplans/snapshot/api_op_TagResource.go.snap +++ b/service/savingsplans/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/savingsplans/snapshot/api_op_UntagResource.go.snap b/service/savingsplans/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/savingsplans/snapshot/api_op_UntagResource.go.snap +++ b/service/savingsplans/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/scheduler/api_client.go b/service/scheduler/api_client.go index 6283569548c..14e94b2d421 100644 --- a/service/scheduler/api_client.go +++ b/service/scheduler/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/scheduler/api_op_CreateSchedule.go b/service/scheduler/api_op_CreateSchedule.go index 23345742686..ba6fa3accca 100644 --- a/service/scheduler/api_op_CreateSchedule.go +++ b/service/scheduler/api_op_CreateSchedule.go @@ -195,9 +195,6 @@ func (c *Client) addOperationCreateScheduleMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateScheduleMiddleware(stack, options); err != nil { return err } diff --git a/service/scheduler/api_op_CreateScheduleGroup.go b/service/scheduler/api_op_CreateScheduleGroup.go index 878de6eb485..562d7a29ee7 100644 --- a/service/scheduler/api_op_CreateScheduleGroup.go +++ b/service/scheduler/api_op_CreateScheduleGroup.go @@ -122,9 +122,6 @@ func (c *Client) addOperationCreateScheduleGroupMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateScheduleGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/scheduler/api_op_DeleteSchedule.go b/service/scheduler/api_op_DeleteSchedule.go index dc35223e34b..480285b2fba 100644 --- a/service/scheduler/api_op_DeleteSchedule.go +++ b/service/scheduler/api_op_DeleteSchedule.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteScheduleMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteScheduleMiddleware(stack, options); err != nil { return err } diff --git a/service/scheduler/api_op_DeleteScheduleGroup.go b/service/scheduler/api_op_DeleteScheduleGroup.go index 3a084c7c21d..bcbe09a661f 100644 --- a/service/scheduler/api_op_DeleteScheduleGroup.go +++ b/service/scheduler/api_op_DeleteScheduleGroup.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteScheduleGroupMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteScheduleGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/scheduler/api_op_GetSchedule.go b/service/scheduler/api_op_GetSchedule.go index 9b243acc9b6..3fad67a2171 100644 --- a/service/scheduler/api_op_GetSchedule.go +++ b/service/scheduler/api_op_GetSchedule.go @@ -195,9 +195,6 @@ func (c *Client) addOperationGetScheduleMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/scheduler/api_op_GetScheduleGroup.go b/service/scheduler/api_op_GetScheduleGroup.go index 75a99438cd2..2a5962123ea 100644 --- a/service/scheduler/api_op_GetScheduleGroup.go +++ b/service/scheduler/api_op_GetScheduleGroup.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetScheduleGroupMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetScheduleGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/scheduler/api_op_ListScheduleGroups.go b/service/scheduler/api_op_ListScheduleGroups.go index 1059cadd2a2..1faea3ffb8c 100644 --- a/service/scheduler/api_op_ListScheduleGroups.go +++ b/service/scheduler/api_op_ListScheduleGroups.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListScheduleGroupsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListScheduleGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/scheduler/api_op_ListSchedules.go b/service/scheduler/api_op_ListSchedules.go index b8e8011841e..43771f75967 100644 --- a/service/scheduler/api_op_ListSchedules.go +++ b/service/scheduler/api_op_ListSchedules.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListSchedulesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSchedules(options.Region), middleware.Before); err != nil { return err } diff --git a/service/scheduler/api_op_ListTagsForResource.go b/service/scheduler/api_op_ListTagsForResource.go index 2fe5f554ae5..9a9f0432ce4 100644 --- a/service/scheduler/api_op_ListTagsForResource.go +++ b/service/scheduler/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/scheduler/api_op_TagResource.go b/service/scheduler/api_op_TagResource.go index 49a439e3517..01c30265d48 100644 --- a/service/scheduler/api_op_TagResource.go +++ b/service/scheduler/api_op_TagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/scheduler/api_op_UntagResource.go b/service/scheduler/api_op_UntagResource.go index 01913eb6319..015fb7ce658 100644 --- a/service/scheduler/api_op_UntagResource.go +++ b/service/scheduler/api_op_UntagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/scheduler/api_op_UpdateSchedule.go b/service/scheduler/api_op_UpdateSchedule.go index ea869267b34..61a0871fb7a 100644 --- a/service/scheduler/api_op_UpdateSchedule.go +++ b/service/scheduler/api_op_UpdateSchedule.go @@ -207,9 +207,6 @@ func (c *Client) addOperationUpdateScheduleMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateScheduleMiddleware(stack, options); err != nil { return err } diff --git a/service/scheduler/snapshot/api_op_CreateSchedule.go.snap b/service/scheduler/snapshot/api_op_CreateSchedule.go.snap index bd1a99d2248..c190fd04161 100644 --- a/service/scheduler/snapshot/api_op_CreateSchedule.go.snap +++ b/service/scheduler/snapshot/api_op_CreateSchedule.go.snap @@ -15,7 +15,6 @@ CreateSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/scheduler/snapshot/api_op_CreateScheduleGroup.go.snap b/service/scheduler/snapshot/api_op_CreateScheduleGroup.go.snap index 19d4d2fe38c..ceb62b00a71 100644 --- a/service/scheduler/snapshot/api_op_CreateScheduleGroup.go.snap +++ b/service/scheduler/snapshot/api_op_CreateScheduleGroup.go.snap @@ -15,7 +15,6 @@ CreateScheduleGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/scheduler/snapshot/api_op_DeleteSchedule.go.snap b/service/scheduler/snapshot/api_op_DeleteSchedule.go.snap index 69ee54be3c0..a3fe32bc6cf 100644 --- a/service/scheduler/snapshot/api_op_DeleteSchedule.go.snap +++ b/service/scheduler/snapshot/api_op_DeleteSchedule.go.snap @@ -15,7 +15,6 @@ DeleteSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/scheduler/snapshot/api_op_DeleteScheduleGroup.go.snap b/service/scheduler/snapshot/api_op_DeleteScheduleGroup.go.snap index 24bf8bac11b..7644a64f409 100644 --- a/service/scheduler/snapshot/api_op_DeleteScheduleGroup.go.snap +++ b/service/scheduler/snapshot/api_op_DeleteScheduleGroup.go.snap @@ -15,7 +15,6 @@ DeleteScheduleGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/scheduler/snapshot/api_op_GetSchedule.go.snap b/service/scheduler/snapshot/api_op_GetSchedule.go.snap index c9b9c7ca903..c31fec135a8 100644 --- a/service/scheduler/snapshot/api_op_GetSchedule.go.snap +++ b/service/scheduler/snapshot/api_op_GetSchedule.go.snap @@ -14,7 +14,6 @@ GetSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/scheduler/snapshot/api_op_GetScheduleGroup.go.snap b/service/scheduler/snapshot/api_op_GetScheduleGroup.go.snap index cb110ef7415..ae44939580b 100644 --- a/service/scheduler/snapshot/api_op_GetScheduleGroup.go.snap +++ b/service/scheduler/snapshot/api_op_GetScheduleGroup.go.snap @@ -14,7 +14,6 @@ GetScheduleGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/scheduler/snapshot/api_op_ListScheduleGroups.go.snap b/service/scheduler/snapshot/api_op_ListScheduleGroups.go.snap index 2623b4d330b..8a495ffb26b 100644 --- a/service/scheduler/snapshot/api_op_ListScheduleGroups.go.snap +++ b/service/scheduler/snapshot/api_op_ListScheduleGroups.go.snap @@ -13,7 +13,6 @@ ListScheduleGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/scheduler/snapshot/api_op_ListSchedules.go.snap b/service/scheduler/snapshot/api_op_ListSchedules.go.snap index b225c3eef41..48ec84594e9 100644 --- a/service/scheduler/snapshot/api_op_ListSchedules.go.snap +++ b/service/scheduler/snapshot/api_op_ListSchedules.go.snap @@ -13,7 +13,6 @@ ListSchedules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/scheduler/snapshot/api_op_ListTagsForResource.go.snap b/service/scheduler/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/scheduler/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/scheduler/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/scheduler/snapshot/api_op_TagResource.go.snap b/service/scheduler/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/scheduler/snapshot/api_op_TagResource.go.snap +++ b/service/scheduler/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/scheduler/snapshot/api_op_UntagResource.go.snap b/service/scheduler/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/scheduler/snapshot/api_op_UntagResource.go.snap +++ b/service/scheduler/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/scheduler/snapshot/api_op_UpdateSchedule.go.snap b/service/scheduler/snapshot/api_op_UpdateSchedule.go.snap index 8817de99459..6c5d9c58957 100644 --- a/service/scheduler/snapshot/api_op_UpdateSchedule.go.snap +++ b/service/scheduler/snapshot/api_op_UpdateSchedule.go.snap @@ -15,7 +15,6 @@ UpdateSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/schemas/api_client.go b/service/schemas/api_client.go index 6254428ba34..8a6b8cb5fec 100644 --- a/service/schemas/api_client.go +++ b/service/schemas/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/schemas/api_op_CreateDiscoverer.go b/service/schemas/api_op_CreateDiscoverer.go index c3d61c78258..87963f176f3 100644 --- a/service/schemas/api_op_CreateDiscoverer.go +++ b/service/schemas/api_op_CreateDiscoverer.go @@ -141,9 +141,6 @@ func (c *Client) addOperationCreateDiscovererMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDiscovererValidationMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_CreateRegistry.go b/service/schemas/api_op_CreateRegistry.go index b9ef4461368..e63b0c8bcc3 100644 --- a/service/schemas/api_op_CreateRegistry.go +++ b/service/schemas/api_op_CreateRegistry.go @@ -126,9 +126,6 @@ func (c *Client) addOperationCreateRegistryMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRegistryValidationMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_CreateSchema.go b/service/schemas/api_op_CreateSchema.go index 9a3b60fc770..9f0186b56c5 100644 --- a/service/schemas/api_op_CreateSchema.go +++ b/service/schemas/api_op_CreateSchema.go @@ -157,9 +157,6 @@ func (c *Client) addOperationCreateSchemaMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSchemaValidationMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_DeleteDiscoverer.go b/service/schemas/api_op_DeleteDiscoverer.go index 27ee0e9cce8..1ff810f9873 100644 --- a/service/schemas/api_op_DeleteDiscoverer.go +++ b/service/schemas/api_op_DeleteDiscoverer.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteDiscovererMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDiscovererValidationMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_DeleteRegistry.go b/service/schemas/api_op_DeleteRegistry.go index 7f7b0a45726..8fe82704cf5 100644 --- a/service/schemas/api_op_DeleteRegistry.go +++ b/service/schemas/api_op_DeleteRegistry.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteRegistryMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRegistryValidationMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_DeleteResourcePolicy.go b/service/schemas/api_op_DeleteResourcePolicy.go index 75aca1210c0..f0aa66cb81a 100644 --- a/service/schemas/api_op_DeleteResourcePolicy.go +++ b/service/schemas/api_op_DeleteResourcePolicy.go @@ -105,9 +105,6 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteResourcePolicy(options.Region), middleware.Before); err != nil { return err } diff --git a/service/schemas/api_op_DeleteSchema.go b/service/schemas/api_op_DeleteSchema.go index 398baa0f276..aec6d27f2ae 100644 --- a/service/schemas/api_op_DeleteSchema.go +++ b/service/schemas/api_op_DeleteSchema.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteSchemaMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSchemaValidationMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_DeleteSchemaVersion.go b/service/schemas/api_op_DeleteSchemaVersion.go index 2bd1199b13b..0d5c2cb9909 100644 --- a/service/schemas/api_op_DeleteSchemaVersion.go +++ b/service/schemas/api_op_DeleteSchemaVersion.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteSchemaVersionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSchemaVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_DescribeCodeBinding.go b/service/schemas/api_op_DescribeCodeBinding.go index e2b2a76ca35..e5610756023 100644 --- a/service/schemas/api_op_DescribeCodeBinding.go +++ b/service/schemas/api_op_DescribeCodeBinding.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDescribeCodeBindingMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCodeBindingValidationMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_DescribeDiscoverer.go b/service/schemas/api_op_DescribeDiscoverer.go index 7e615716f54..a4b4492e8d2 100644 --- a/service/schemas/api_op_DescribeDiscoverer.go +++ b/service/schemas/api_op_DescribeDiscoverer.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeDiscovererMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDiscovererValidationMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_DescribeRegistry.go b/service/schemas/api_op_DescribeRegistry.go index 6891a1b8c54..a5a2ff15d5a 100644 --- a/service/schemas/api_op_DescribeRegistry.go +++ b/service/schemas/api_op_DescribeRegistry.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDescribeRegistryMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRegistryValidationMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_DescribeSchema.go b/service/schemas/api_op_DescribeSchema.go index 2d8cecc89bc..c886252e2d7 100644 --- a/service/schemas/api_op_DescribeSchema.go +++ b/service/schemas/api_op_DescribeSchema.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDescribeSchemaMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSchemaValidationMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_ExportSchema.go b/service/schemas/api_op_ExportSchema.go index df63f612fa9..ffe7fe73ba4 100644 --- a/service/schemas/api_op_ExportSchema.go +++ b/service/schemas/api_op_ExportSchema.go @@ -127,9 +127,6 @@ func (c *Client) addOperationExportSchemaMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExportSchemaValidationMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_GetCodeBindingSource.go b/service/schemas/api_op_GetCodeBindingSource.go index 29b01787c9d..34d12967b39 100644 --- a/service/schemas/api_op_GetCodeBindingSource.go +++ b/service/schemas/api_op_GetCodeBindingSource.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetCodeBindingSourceMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCodeBindingSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_GetDiscoveredSchema.go b/service/schemas/api_op_GetDiscoveredSchema.go index 68ae883ba66..a1764db919b 100644 --- a/service/schemas/api_op_GetDiscoveredSchema.go +++ b/service/schemas/api_op_GetDiscoveredSchema.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetDiscoveredSchemaMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDiscoveredSchemaValidationMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_GetResourcePolicy.go b/service/schemas/api_op_GetResourcePolicy.go index 6c341ecd2f4..63227d2fb94 100644 --- a/service/schemas/api_op_GetResourcePolicy.go +++ b/service/schemas/api_op_GetResourcePolicy.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResourcePolicy(options.Region), middleware.Before); err != nil { return err } diff --git a/service/schemas/api_op_ListDiscoverers.go b/service/schemas/api_op_ListDiscoverers.go index c3cd919e46e..f5423eaf28a 100644 --- a/service/schemas/api_op_ListDiscoverers.go +++ b/service/schemas/api_op_ListDiscoverers.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListDiscoverersMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDiscoverers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/schemas/api_op_ListRegistries.go b/service/schemas/api_op_ListRegistries.go index 25f88fc2030..d8d2cd1bd83 100644 --- a/service/schemas/api_op_ListRegistries.go +++ b/service/schemas/api_op_ListRegistries.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListRegistriesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRegistries(options.Region), middleware.Before); err != nil { return err } diff --git a/service/schemas/api_op_ListSchemaVersions.go b/service/schemas/api_op_ListSchemaVersions.go index 76110f13515..95646d5c88a 100644 --- a/service/schemas/api_op_ListSchemaVersions.go +++ b/service/schemas/api_op_ListSchemaVersions.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListSchemaVersionsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSchemaVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_ListSchemas.go b/service/schemas/api_op_ListSchemas.go index bacae1f0b1e..bd8cf56764d 100644 --- a/service/schemas/api_op_ListSchemas.go +++ b/service/schemas/api_op_ListSchemas.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListSchemasMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSchemasValidationMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_ListTagsForResource.go b/service/schemas/api_op_ListTagsForResource.go index 2e59b6e9d42..102a8d1fdec 100644 --- a/service/schemas/api_op_ListTagsForResource.go +++ b/service/schemas/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_PutCodeBinding.go b/service/schemas/api_op_PutCodeBinding.go index 00f90c63ecb..c8ec5c1d269 100644 --- a/service/schemas/api_op_PutCodeBinding.go +++ b/service/schemas/api_op_PutCodeBinding.go @@ -135,9 +135,6 @@ func (c *Client) addOperationPutCodeBindingMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutCodeBindingValidationMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_PutResourcePolicy.go b/service/schemas/api_op_PutResourcePolicy.go index 7b06f5de6be..3c50422c3eb 100644 --- a/service/schemas/api_op_PutResourcePolicy.go +++ b/service/schemas/api_op_PutResourcePolicy.go @@ -125,9 +125,6 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_SearchSchemas.go b/service/schemas/api_op_SearchSchemas.go index 31f08642deb..a0e60b02564 100644 --- a/service/schemas/api_op_SearchSchemas.go +++ b/service/schemas/api_op_SearchSchemas.go @@ -130,9 +130,6 @@ func (c *Client) addOperationSearchSchemasMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchSchemasValidationMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_StartDiscoverer.go b/service/schemas/api_op_StartDiscoverer.go index 995ac81da8e..0f1f0114640 100644 --- a/service/schemas/api_op_StartDiscoverer.go +++ b/service/schemas/api_op_StartDiscoverer.go @@ -115,9 +115,6 @@ func (c *Client) addOperationStartDiscovererMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartDiscovererValidationMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_StopDiscoverer.go b/service/schemas/api_op_StopDiscoverer.go index 0244eb81ab8..350105f38b6 100644 --- a/service/schemas/api_op_StopDiscoverer.go +++ b/service/schemas/api_op_StopDiscoverer.go @@ -115,9 +115,6 @@ func (c *Client) addOperationStopDiscovererMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopDiscovererValidationMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_TagResource.go b/service/schemas/api_op_TagResource.go index ba9b074e2ae..ee426a6a483 100644 --- a/service/schemas/api_op_TagResource.go +++ b/service/schemas/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_UntagResource.go b/service/schemas/api_op_UntagResource.go index cc7b7cfcf00..93e5d5c1e63 100644 --- a/service/schemas/api_op_UntagResource.go +++ b/service/schemas/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_UpdateDiscoverer.go b/service/schemas/api_op_UpdateDiscoverer.go index b8e552e448d..654bb787a0f 100644 --- a/service/schemas/api_op_UpdateDiscoverer.go +++ b/service/schemas/api_op_UpdateDiscoverer.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateDiscovererMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDiscovererValidationMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_UpdateRegistry.go b/service/schemas/api_op_UpdateRegistry.go index b4c51fc87e7..efb8265a34f 100644 --- a/service/schemas/api_op_UpdateRegistry.go +++ b/service/schemas/api_op_UpdateRegistry.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateRegistryMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRegistryValidationMiddleware(stack); err != nil { return err } diff --git a/service/schemas/api_op_UpdateSchema.go b/service/schemas/api_op_UpdateSchema.go index 65626307e33..a0a97251f29 100644 --- a/service/schemas/api_op_UpdateSchema.go +++ b/service/schemas/api_op_UpdateSchema.go @@ -153,9 +153,6 @@ func (c *Client) addOperationUpdateSchemaMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateSchemaMiddleware(stack, options); err != nil { return err } diff --git a/service/schemas/snapshot/api_op_CreateDiscoverer.go.snap b/service/schemas/snapshot/api_op_CreateDiscoverer.go.snap index f4a71472ed5..ae3ffa05e16 100644 --- a/service/schemas/snapshot/api_op_CreateDiscoverer.go.snap +++ b/service/schemas/snapshot/api_op_CreateDiscoverer.go.snap @@ -14,7 +14,6 @@ CreateDiscoverer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/schemas/snapshot/api_op_CreateRegistry.go.snap b/service/schemas/snapshot/api_op_CreateRegistry.go.snap index 4c9b90d438a..0dbd93f988a 100644 --- a/service/schemas/snapshot/api_op_CreateRegistry.go.snap +++ b/service/schemas/snapshot/api_op_CreateRegistry.go.snap @@ -14,7 +14,6 @@ CreateRegistry Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/schemas/snapshot/api_op_CreateSchema.go.snap b/service/schemas/snapshot/api_op_CreateSchema.go.snap index 1d4156efd14..5922a5ee3e9 100644 --- a/service/schemas/snapshot/api_op_CreateSchema.go.snap +++ b/service/schemas/snapshot/api_op_CreateSchema.go.snap @@ -14,7 +14,6 @@ CreateSchema Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/schemas/snapshot/api_op_DeleteDiscoverer.go.snap b/service/schemas/snapshot/api_op_DeleteDiscoverer.go.snap index f8a067b4f4b..942fdd6c7c0 100644 --- a/service/schemas/snapshot/api_op_DeleteDiscoverer.go.snap +++ b/service/schemas/snapshot/api_op_DeleteDiscoverer.go.snap @@ -14,7 +14,6 @@ DeleteDiscoverer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/schemas/snapshot/api_op_DeleteRegistry.go.snap b/service/schemas/snapshot/api_op_DeleteRegistry.go.snap index 902d0a3601e..e28cef24a32 100644 --- a/service/schemas/snapshot/api_op_DeleteRegistry.go.snap +++ b/service/schemas/snapshot/api_op_DeleteRegistry.go.snap @@ -14,7 +14,6 @@ DeleteRegistry Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/schemas/snapshot/api_op_DeleteResourcePolicy.go.snap b/service/schemas/snapshot/api_op_DeleteResourcePolicy.go.snap index 71f4a3802ad..88f47f54773 100644 --- a/service/schemas/snapshot/api_op_DeleteResourcePolicy.go.snap +++ b/service/schemas/snapshot/api_op_DeleteResourcePolicy.go.snap @@ -13,7 +13,6 @@ DeleteResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/schemas/snapshot/api_op_DeleteSchema.go.snap b/service/schemas/snapshot/api_op_DeleteSchema.go.snap index 753ed53e6a6..043389aaa5f 100644 --- a/service/schemas/snapshot/api_op_DeleteSchema.go.snap +++ b/service/schemas/snapshot/api_op_DeleteSchema.go.snap @@ -14,7 +14,6 @@ DeleteSchema Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/schemas/snapshot/api_op_DeleteSchemaVersion.go.snap b/service/schemas/snapshot/api_op_DeleteSchemaVersion.go.snap index bbc8e1f749d..5f4539c9520 100644 --- a/service/schemas/snapshot/api_op_DeleteSchemaVersion.go.snap +++ b/service/schemas/snapshot/api_op_DeleteSchemaVersion.go.snap @@ -14,7 +14,6 @@ DeleteSchemaVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/schemas/snapshot/api_op_DescribeCodeBinding.go.snap b/service/schemas/snapshot/api_op_DescribeCodeBinding.go.snap index 72e140df495..54abc275935 100644 --- a/service/schemas/snapshot/api_op_DescribeCodeBinding.go.snap +++ b/service/schemas/snapshot/api_op_DescribeCodeBinding.go.snap @@ -14,7 +14,6 @@ DescribeCodeBinding Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/schemas/snapshot/api_op_DescribeDiscoverer.go.snap b/service/schemas/snapshot/api_op_DescribeDiscoverer.go.snap index e492296846b..878e65bffa7 100644 --- a/service/schemas/snapshot/api_op_DescribeDiscoverer.go.snap +++ b/service/schemas/snapshot/api_op_DescribeDiscoverer.go.snap @@ -14,7 +14,6 @@ DescribeDiscoverer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/schemas/snapshot/api_op_DescribeRegistry.go.snap b/service/schemas/snapshot/api_op_DescribeRegistry.go.snap index 055ab1d7ef8..3de64619877 100644 --- a/service/schemas/snapshot/api_op_DescribeRegistry.go.snap +++ b/service/schemas/snapshot/api_op_DescribeRegistry.go.snap @@ -14,7 +14,6 @@ DescribeRegistry Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/schemas/snapshot/api_op_DescribeSchema.go.snap b/service/schemas/snapshot/api_op_DescribeSchema.go.snap index ba3609dd7ce..c10b501ec3a 100644 --- a/service/schemas/snapshot/api_op_DescribeSchema.go.snap +++ b/service/schemas/snapshot/api_op_DescribeSchema.go.snap @@ -14,7 +14,6 @@ DescribeSchema Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/schemas/snapshot/api_op_ExportSchema.go.snap b/service/schemas/snapshot/api_op_ExportSchema.go.snap index 351d05f3a10..787daadb6cb 100644 --- a/service/schemas/snapshot/api_op_ExportSchema.go.snap +++ b/service/schemas/snapshot/api_op_ExportSchema.go.snap @@ -14,7 +14,6 @@ ExportSchema Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/schemas/snapshot/api_op_GetCodeBindingSource.go.snap b/service/schemas/snapshot/api_op_GetCodeBindingSource.go.snap index a0970f7295c..0ca4c8d23b0 100644 --- a/service/schemas/snapshot/api_op_GetCodeBindingSource.go.snap +++ b/service/schemas/snapshot/api_op_GetCodeBindingSource.go.snap @@ -14,7 +14,6 @@ GetCodeBindingSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/schemas/snapshot/api_op_GetDiscoveredSchema.go.snap b/service/schemas/snapshot/api_op_GetDiscoveredSchema.go.snap index 0d605e282c4..69a0089f405 100644 --- a/service/schemas/snapshot/api_op_GetDiscoveredSchema.go.snap +++ b/service/schemas/snapshot/api_op_GetDiscoveredSchema.go.snap @@ -14,7 +14,6 @@ GetDiscoveredSchema Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/schemas/snapshot/api_op_GetResourcePolicy.go.snap b/service/schemas/snapshot/api_op_GetResourcePolicy.go.snap index a9a7e4734cf..81881043eef 100644 --- a/service/schemas/snapshot/api_op_GetResourcePolicy.go.snap +++ b/service/schemas/snapshot/api_op_GetResourcePolicy.go.snap @@ -13,7 +13,6 @@ GetResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/schemas/snapshot/api_op_ListDiscoverers.go.snap b/service/schemas/snapshot/api_op_ListDiscoverers.go.snap index 526acdabd92..1e787bc9f5a 100644 --- a/service/schemas/snapshot/api_op_ListDiscoverers.go.snap +++ b/service/schemas/snapshot/api_op_ListDiscoverers.go.snap @@ -13,7 +13,6 @@ ListDiscoverers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/schemas/snapshot/api_op_ListRegistries.go.snap b/service/schemas/snapshot/api_op_ListRegistries.go.snap index 68c0f8b099b..d7b70e6303d 100644 --- a/service/schemas/snapshot/api_op_ListRegistries.go.snap +++ b/service/schemas/snapshot/api_op_ListRegistries.go.snap @@ -13,7 +13,6 @@ ListRegistries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/schemas/snapshot/api_op_ListSchemaVersions.go.snap b/service/schemas/snapshot/api_op_ListSchemaVersions.go.snap index ab095ed497f..542697cdd35 100644 --- a/service/schemas/snapshot/api_op_ListSchemaVersions.go.snap +++ b/service/schemas/snapshot/api_op_ListSchemaVersions.go.snap @@ -14,7 +14,6 @@ ListSchemaVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/schemas/snapshot/api_op_ListSchemas.go.snap b/service/schemas/snapshot/api_op_ListSchemas.go.snap index f744910a7e6..88bfba5ff3f 100644 --- a/service/schemas/snapshot/api_op_ListSchemas.go.snap +++ b/service/schemas/snapshot/api_op_ListSchemas.go.snap @@ -14,7 +14,6 @@ ListSchemas Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/schemas/snapshot/api_op_ListTagsForResource.go.snap b/service/schemas/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/schemas/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/schemas/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/schemas/snapshot/api_op_PutCodeBinding.go.snap b/service/schemas/snapshot/api_op_PutCodeBinding.go.snap index 687a874a2a2..dadc322121c 100644 --- a/service/schemas/snapshot/api_op_PutCodeBinding.go.snap +++ b/service/schemas/snapshot/api_op_PutCodeBinding.go.snap @@ -14,7 +14,6 @@ PutCodeBinding Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/schemas/snapshot/api_op_PutResourcePolicy.go.snap b/service/schemas/snapshot/api_op_PutResourcePolicy.go.snap index 30530b1514f..47bad3fad0e 100644 --- a/service/schemas/snapshot/api_op_PutResourcePolicy.go.snap +++ b/service/schemas/snapshot/api_op_PutResourcePolicy.go.snap @@ -14,7 +14,6 @@ PutResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/schemas/snapshot/api_op_SearchSchemas.go.snap b/service/schemas/snapshot/api_op_SearchSchemas.go.snap index 21aae2c28db..facceeb04dc 100644 --- a/service/schemas/snapshot/api_op_SearchSchemas.go.snap +++ b/service/schemas/snapshot/api_op_SearchSchemas.go.snap @@ -14,7 +14,6 @@ SearchSchemas Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/schemas/snapshot/api_op_StartDiscoverer.go.snap b/service/schemas/snapshot/api_op_StartDiscoverer.go.snap index f13609b4330..c8ff03e4b3e 100644 --- a/service/schemas/snapshot/api_op_StartDiscoverer.go.snap +++ b/service/schemas/snapshot/api_op_StartDiscoverer.go.snap @@ -14,7 +14,6 @@ StartDiscoverer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/schemas/snapshot/api_op_StopDiscoverer.go.snap b/service/schemas/snapshot/api_op_StopDiscoverer.go.snap index b99ec10d685..2a08a44ff01 100644 --- a/service/schemas/snapshot/api_op_StopDiscoverer.go.snap +++ b/service/schemas/snapshot/api_op_StopDiscoverer.go.snap @@ -14,7 +14,6 @@ StopDiscoverer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/schemas/snapshot/api_op_TagResource.go.snap b/service/schemas/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/schemas/snapshot/api_op_TagResource.go.snap +++ b/service/schemas/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/schemas/snapshot/api_op_UntagResource.go.snap b/service/schemas/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/schemas/snapshot/api_op_UntagResource.go.snap +++ b/service/schemas/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/schemas/snapshot/api_op_UpdateDiscoverer.go.snap b/service/schemas/snapshot/api_op_UpdateDiscoverer.go.snap index 3375822a5f7..dc759e10e82 100644 --- a/service/schemas/snapshot/api_op_UpdateDiscoverer.go.snap +++ b/service/schemas/snapshot/api_op_UpdateDiscoverer.go.snap @@ -14,7 +14,6 @@ UpdateDiscoverer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/schemas/snapshot/api_op_UpdateRegistry.go.snap b/service/schemas/snapshot/api_op_UpdateRegistry.go.snap index 42b076419d2..43fa388e130 100644 --- a/service/schemas/snapshot/api_op_UpdateRegistry.go.snap +++ b/service/schemas/snapshot/api_op_UpdateRegistry.go.snap @@ -14,7 +14,6 @@ UpdateRegistry Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/schemas/snapshot/api_op_UpdateSchema.go.snap b/service/schemas/snapshot/api_op_UpdateSchema.go.snap index 4bb451ee179..e9d0c85dcfc 100644 --- a/service/schemas/snapshot/api_op_UpdateSchema.go.snap +++ b/service/schemas/snapshot/api_op_UpdateSchema.go.snap @@ -15,7 +15,6 @@ UpdateSchema Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/secretsmanager/api_client.go b/service/secretsmanager/api_client.go index 94dd7cf0c66..76557471dd7 100644 --- a/service/secretsmanager/api_client.go +++ b/service/secretsmanager/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/secretsmanager/api_op_BatchGetSecretValue.go b/service/secretsmanager/api_op_BatchGetSecretValue.go index e54bab3445d..19c7fa66403 100644 --- a/service/secretsmanager/api_op_BatchGetSecretValue.go +++ b/service/secretsmanager/api_op_BatchGetSecretValue.go @@ -159,9 +159,6 @@ func (c *Client) addOperationBatchGetSecretValueMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetSecretValue(options.Region), middleware.Before); err != nil { return err } diff --git a/service/secretsmanager/api_op_CancelRotateSecret.go b/service/secretsmanager/api_op_CancelRotateSecret.go index 12b149e95a9..2cadc17e718 100644 --- a/service/secretsmanager/api_op_CancelRotateSecret.go +++ b/service/secretsmanager/api_op_CancelRotateSecret.go @@ -149,9 +149,6 @@ func (c *Client) addOperationCancelRotateSecretMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelRotateSecretValidationMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_CreateSecret.go b/service/secretsmanager/api_op_CreateSecret.go index 36e0a4a7d5d..93f0747b293 100644 --- a/service/secretsmanager/api_op_CreateSecret.go +++ b/service/secretsmanager/api_op_CreateSecret.go @@ -310,9 +310,6 @@ func (c *Client) addOperationCreateSecretMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateSecretMiddleware(stack, options); err != nil { return err } diff --git a/service/secretsmanager/api_op_DeleteResourcePolicy.go b/service/secretsmanager/api_op_DeleteResourcePolicy.go index dc925e54631..fde8b44304e 100644 --- a/service/secretsmanager/api_op_DeleteResourcePolicy.go +++ b/service/secretsmanager/api_op_DeleteResourcePolicy.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_DeleteSecret.go b/service/secretsmanager/api_op_DeleteSecret.go index b6b13e87baa..b955c802e7a 100644 --- a/service/secretsmanager/api_op_DeleteSecret.go +++ b/service/secretsmanager/api_op_DeleteSecret.go @@ -188,9 +188,6 @@ func (c *Client) addOperationDeleteSecretMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSecretValidationMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_DescribeSecret.go b/service/secretsmanager/api_op_DescribeSecret.go index b0ccb19aca1..4ca136e0776 100644 --- a/service/secretsmanager/api_op_DescribeSecret.go +++ b/service/secretsmanager/api_op_DescribeSecret.go @@ -243,9 +243,6 @@ func (c *Client) addOperationDescribeSecretMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSecretValidationMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_GetRandomPassword.go b/service/secretsmanager/api_op_GetRandomPassword.go index d2cda17d545..e7dd5dde332 100644 --- a/service/secretsmanager/api_op_GetRandomPassword.go +++ b/service/secretsmanager/api_op_GetRandomPassword.go @@ -151,9 +151,6 @@ func (c *Client) addOperationGetRandomPasswordMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRandomPassword(options.Region), middleware.Before); err != nil { return err } diff --git a/service/secretsmanager/api_op_GetResourcePolicy.go b/service/secretsmanager/api_op_GetResourcePolicy.go index cdd8584b02c..2dede1a3f0e 100644 --- a/service/secretsmanager/api_op_GetResourcePolicy.go +++ b/service/secretsmanager/api_op_GetResourcePolicy.go @@ -140,9 +140,6 @@ func (c *Client) addOperationGetResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_GetSecretValue.go b/service/secretsmanager/api_op_GetSecretValue.go index 0f775a2aab4..f54eccb46db 100644 --- a/service/secretsmanager/api_op_GetSecretValue.go +++ b/service/secretsmanager/api_op_GetSecretValue.go @@ -201,9 +201,6 @@ func (c *Client) addOperationGetSecretValueMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSecretValueValidationMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_ListSecretVersionIds.go b/service/secretsmanager/api_op_ListSecretVersionIds.go index b1f1ad45e88..35659d16573 100644 --- a/service/secretsmanager/api_op_ListSecretVersionIds.go +++ b/service/secretsmanager/api_op_ListSecretVersionIds.go @@ -162,9 +162,6 @@ func (c *Client) addOperationListSecretVersionIdsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSecretVersionIdsValidationMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_ListSecrets.go b/service/secretsmanager/api_op_ListSecrets.go index 8029542b995..edd1de51763 100644 --- a/service/secretsmanager/api_op_ListSecrets.go +++ b/service/secretsmanager/api_op_ListSecrets.go @@ -159,9 +159,6 @@ func (c *Client) addOperationListSecretsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSecrets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/secretsmanager/api_op_PutResourcePolicy.go b/service/secretsmanager/api_op_PutResourcePolicy.go index cd69f1a57a1..c8f125d7fb5 100644 --- a/service/secretsmanager/api_op_PutResourcePolicy.go +++ b/service/secretsmanager/api_op_PutResourcePolicy.go @@ -164,9 +164,6 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_PutSecretValue.go b/service/secretsmanager/api_op_PutSecretValue.go index 5526bfb05ee..c60e67fbf67 100644 --- a/service/secretsmanager/api_op_PutSecretValue.go +++ b/service/secretsmanager/api_op_PutSecretValue.go @@ -255,9 +255,6 @@ func (c *Client) addOperationPutSecretValueMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opPutSecretValueMiddleware(stack, options); err != nil { return err } diff --git a/service/secretsmanager/api_op_RemoveRegionsFromReplication.go b/service/secretsmanager/api_op_RemoveRegionsFromReplication.go index def503be8cb..5189ed41c54 100644 --- a/service/secretsmanager/api_op_RemoveRegionsFromReplication.go +++ b/service/secretsmanager/api_op_RemoveRegionsFromReplication.go @@ -132,9 +132,6 @@ func (c *Client) addOperationRemoveRegionsFromReplicationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveRegionsFromReplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_ReplicateSecretToRegions.go b/service/secretsmanager/api_op_ReplicateSecretToRegions.go index a0fb6e8052a..bf30fc3a6f4 100644 --- a/service/secretsmanager/api_op_ReplicateSecretToRegions.go +++ b/service/secretsmanager/api_op_ReplicateSecretToRegions.go @@ -139,9 +139,6 @@ func (c *Client) addOperationReplicateSecretToRegionsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpReplicateSecretToRegionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_RestoreSecret.go b/service/secretsmanager/api_op_RestoreSecret.go index 8cc72cc6319..0e69ffb5038 100644 --- a/service/secretsmanager/api_op_RestoreSecret.go +++ b/service/secretsmanager/api_op_RestoreSecret.go @@ -131,9 +131,6 @@ func (c *Client) addOperationRestoreSecretMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreSecretValidationMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_RotateSecret.go b/service/secretsmanager/api_op_RotateSecret.go index 416225ccdd1..93dc98f9794 100644 --- a/service/secretsmanager/api_op_RotateSecret.go +++ b/service/secretsmanager/api_op_RotateSecret.go @@ -197,9 +197,6 @@ func (c *Client) addOperationRotateSecretMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opRotateSecretMiddleware(stack, options); err != nil { return err } diff --git a/service/secretsmanager/api_op_StopReplicationToReplica.go b/service/secretsmanager/api_op_StopReplicationToReplica.go index c2f2ed8199a..1cae750821f 100644 --- a/service/secretsmanager/api_op_StopReplicationToReplica.go +++ b/service/secretsmanager/api_op_StopReplicationToReplica.go @@ -127,9 +127,6 @@ func (c *Client) addOperationStopReplicationToReplicaMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopReplicationToReplicaValidationMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_TagResource.go b/service/secretsmanager/api_op_TagResource.go index aa4bfb56d08..a7b3052d7a9 100644 --- a/service/secretsmanager/api_op_TagResource.go +++ b/service/secretsmanager/api_op_TagResource.go @@ -148,9 +148,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_UntagResource.go b/service/secretsmanager/api_op_UntagResource.go index e17e9176d28..f0ecd8dd595 100644 --- a/service/secretsmanager/api_op_UntagResource.go +++ b/service/secretsmanager/api_op_UntagResource.go @@ -145,9 +145,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_UpdateSecret.go b/service/secretsmanager/api_op_UpdateSecret.go index 8225e2b4788..5d4063ae74c 100644 --- a/service/secretsmanager/api_op_UpdateSecret.go +++ b/service/secretsmanager/api_op_UpdateSecret.go @@ -243,9 +243,6 @@ func (c *Client) addOperationUpdateSecretMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateSecretMiddleware(stack, options); err != nil { return err } diff --git a/service/secretsmanager/api_op_UpdateSecretVersionStage.go b/service/secretsmanager/api_op_UpdateSecretVersionStage.go index a5af1a33300..8319bdc9485 100644 --- a/service/secretsmanager/api_op_UpdateSecretVersionStage.go +++ b/service/secretsmanager/api_op_UpdateSecretVersionStage.go @@ -169,9 +169,6 @@ func (c *Client) addOperationUpdateSecretVersionStageMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSecretVersionStageValidationMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/api_op_ValidateResourcePolicy.go b/service/secretsmanager/api_op_ValidateResourcePolicy.go index d5e3ffc8566..3be859858bc 100644 --- a/service/secretsmanager/api_op_ValidateResourcePolicy.go +++ b/service/secretsmanager/api_op_ValidateResourcePolicy.go @@ -146,9 +146,6 @@ func (c *Client) addOperationValidateResourcePolicyMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpValidateResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/secretsmanager/snapshot/api_op_BatchGetSecretValue.go.snap b/service/secretsmanager/snapshot/api_op_BatchGetSecretValue.go.snap index 20921a5aa19..4c59125a580 100644 --- a/service/secretsmanager/snapshot/api_op_BatchGetSecretValue.go.snap +++ b/service/secretsmanager/snapshot/api_op_BatchGetSecretValue.go.snap @@ -13,7 +13,6 @@ BatchGetSecretValue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/secretsmanager/snapshot/api_op_CancelRotateSecret.go.snap b/service/secretsmanager/snapshot/api_op_CancelRotateSecret.go.snap index 1034d347a82..1e342930a25 100644 --- a/service/secretsmanager/snapshot/api_op_CancelRotateSecret.go.snap +++ b/service/secretsmanager/snapshot/api_op_CancelRotateSecret.go.snap @@ -14,7 +14,6 @@ CancelRotateSecret Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/secretsmanager/snapshot/api_op_CreateSecret.go.snap b/service/secretsmanager/snapshot/api_op_CreateSecret.go.snap index c12eb26a7b9..aea73e098b0 100644 --- a/service/secretsmanager/snapshot/api_op_CreateSecret.go.snap +++ b/service/secretsmanager/snapshot/api_op_CreateSecret.go.snap @@ -15,7 +15,6 @@ CreateSecret Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/secretsmanager/snapshot/api_op_DeleteResourcePolicy.go.snap b/service/secretsmanager/snapshot/api_op_DeleteResourcePolicy.go.snap index 21dbc8dfcde..9948d797360 100644 --- a/service/secretsmanager/snapshot/api_op_DeleteResourcePolicy.go.snap +++ b/service/secretsmanager/snapshot/api_op_DeleteResourcePolicy.go.snap @@ -14,7 +14,6 @@ DeleteResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/secretsmanager/snapshot/api_op_DeleteSecret.go.snap b/service/secretsmanager/snapshot/api_op_DeleteSecret.go.snap index ddca3a9333a..0f2973fb03f 100644 --- a/service/secretsmanager/snapshot/api_op_DeleteSecret.go.snap +++ b/service/secretsmanager/snapshot/api_op_DeleteSecret.go.snap @@ -14,7 +14,6 @@ DeleteSecret Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/secretsmanager/snapshot/api_op_DescribeSecret.go.snap b/service/secretsmanager/snapshot/api_op_DescribeSecret.go.snap index 6141531a008..6c1a918e4cb 100644 --- a/service/secretsmanager/snapshot/api_op_DescribeSecret.go.snap +++ b/service/secretsmanager/snapshot/api_op_DescribeSecret.go.snap @@ -14,7 +14,6 @@ DescribeSecret Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/secretsmanager/snapshot/api_op_GetRandomPassword.go.snap b/service/secretsmanager/snapshot/api_op_GetRandomPassword.go.snap index 6c56af19d05..54a998b576c 100644 --- a/service/secretsmanager/snapshot/api_op_GetRandomPassword.go.snap +++ b/service/secretsmanager/snapshot/api_op_GetRandomPassword.go.snap @@ -13,7 +13,6 @@ GetRandomPassword Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/secretsmanager/snapshot/api_op_GetResourcePolicy.go.snap b/service/secretsmanager/snapshot/api_op_GetResourcePolicy.go.snap index e3408c09804..4b3e7d017fa 100644 --- a/service/secretsmanager/snapshot/api_op_GetResourcePolicy.go.snap +++ b/service/secretsmanager/snapshot/api_op_GetResourcePolicy.go.snap @@ -14,7 +14,6 @@ GetResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/secretsmanager/snapshot/api_op_GetSecretValue.go.snap b/service/secretsmanager/snapshot/api_op_GetSecretValue.go.snap index 19fe8a13cf8..bdfa90294d7 100644 --- a/service/secretsmanager/snapshot/api_op_GetSecretValue.go.snap +++ b/service/secretsmanager/snapshot/api_op_GetSecretValue.go.snap @@ -14,7 +14,6 @@ GetSecretValue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/secretsmanager/snapshot/api_op_ListSecretVersionIds.go.snap b/service/secretsmanager/snapshot/api_op_ListSecretVersionIds.go.snap index 6d7f563e9dd..b171fa0afc6 100644 --- a/service/secretsmanager/snapshot/api_op_ListSecretVersionIds.go.snap +++ b/service/secretsmanager/snapshot/api_op_ListSecretVersionIds.go.snap @@ -14,7 +14,6 @@ ListSecretVersionIds Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/secretsmanager/snapshot/api_op_ListSecrets.go.snap b/service/secretsmanager/snapshot/api_op_ListSecrets.go.snap index 7c0d9cd5dfd..a5eb384d622 100644 --- a/service/secretsmanager/snapshot/api_op_ListSecrets.go.snap +++ b/service/secretsmanager/snapshot/api_op_ListSecrets.go.snap @@ -13,7 +13,6 @@ ListSecrets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/secretsmanager/snapshot/api_op_PutResourcePolicy.go.snap b/service/secretsmanager/snapshot/api_op_PutResourcePolicy.go.snap index 30530b1514f..47bad3fad0e 100644 --- a/service/secretsmanager/snapshot/api_op_PutResourcePolicy.go.snap +++ b/service/secretsmanager/snapshot/api_op_PutResourcePolicy.go.snap @@ -14,7 +14,6 @@ PutResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/secretsmanager/snapshot/api_op_PutSecretValue.go.snap b/service/secretsmanager/snapshot/api_op_PutSecretValue.go.snap index adce5e11f4d..c4866aacff7 100644 --- a/service/secretsmanager/snapshot/api_op_PutSecretValue.go.snap +++ b/service/secretsmanager/snapshot/api_op_PutSecretValue.go.snap @@ -15,7 +15,6 @@ PutSecretValue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/secretsmanager/snapshot/api_op_RemoveRegionsFromReplication.go.snap b/service/secretsmanager/snapshot/api_op_RemoveRegionsFromReplication.go.snap index 0f03e165527..13f37dd3635 100644 --- a/service/secretsmanager/snapshot/api_op_RemoveRegionsFromReplication.go.snap +++ b/service/secretsmanager/snapshot/api_op_RemoveRegionsFromReplication.go.snap @@ -14,7 +14,6 @@ RemoveRegionsFromReplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/secretsmanager/snapshot/api_op_ReplicateSecretToRegions.go.snap b/service/secretsmanager/snapshot/api_op_ReplicateSecretToRegions.go.snap index 88459ef6738..7917ccb63e0 100644 --- a/service/secretsmanager/snapshot/api_op_ReplicateSecretToRegions.go.snap +++ b/service/secretsmanager/snapshot/api_op_ReplicateSecretToRegions.go.snap @@ -14,7 +14,6 @@ ReplicateSecretToRegions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/secretsmanager/snapshot/api_op_RestoreSecret.go.snap b/service/secretsmanager/snapshot/api_op_RestoreSecret.go.snap index 51f664d5320..43f150fd87e 100644 --- a/service/secretsmanager/snapshot/api_op_RestoreSecret.go.snap +++ b/service/secretsmanager/snapshot/api_op_RestoreSecret.go.snap @@ -14,7 +14,6 @@ RestoreSecret Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/secretsmanager/snapshot/api_op_RotateSecret.go.snap b/service/secretsmanager/snapshot/api_op_RotateSecret.go.snap index d018fc5888b..dca03043573 100644 --- a/service/secretsmanager/snapshot/api_op_RotateSecret.go.snap +++ b/service/secretsmanager/snapshot/api_op_RotateSecret.go.snap @@ -15,7 +15,6 @@ RotateSecret Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/secretsmanager/snapshot/api_op_StopReplicationToReplica.go.snap b/service/secretsmanager/snapshot/api_op_StopReplicationToReplica.go.snap index 40c8a66db74..d765372e612 100644 --- a/service/secretsmanager/snapshot/api_op_StopReplicationToReplica.go.snap +++ b/service/secretsmanager/snapshot/api_op_StopReplicationToReplica.go.snap @@ -14,7 +14,6 @@ StopReplicationToReplica Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/secretsmanager/snapshot/api_op_TagResource.go.snap b/service/secretsmanager/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/secretsmanager/snapshot/api_op_TagResource.go.snap +++ b/service/secretsmanager/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/secretsmanager/snapshot/api_op_UntagResource.go.snap b/service/secretsmanager/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/secretsmanager/snapshot/api_op_UntagResource.go.snap +++ b/service/secretsmanager/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/secretsmanager/snapshot/api_op_UpdateSecret.go.snap b/service/secretsmanager/snapshot/api_op_UpdateSecret.go.snap index 5738f4d3597..015ff8f9359 100644 --- a/service/secretsmanager/snapshot/api_op_UpdateSecret.go.snap +++ b/service/secretsmanager/snapshot/api_op_UpdateSecret.go.snap @@ -15,7 +15,6 @@ UpdateSecret Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/secretsmanager/snapshot/api_op_UpdateSecretVersionStage.go.snap b/service/secretsmanager/snapshot/api_op_UpdateSecretVersionStage.go.snap index af0b264815b..3717c9c6b5b 100644 --- a/service/secretsmanager/snapshot/api_op_UpdateSecretVersionStage.go.snap +++ b/service/secretsmanager/snapshot/api_op_UpdateSecretVersionStage.go.snap @@ -14,7 +14,6 @@ UpdateSecretVersionStage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/secretsmanager/snapshot/api_op_ValidateResourcePolicy.go.snap b/service/secretsmanager/snapshot/api_op_ValidateResourcePolicy.go.snap index 1d3dbb2ab32..56bfaaa9c71 100644 --- a/service/secretsmanager/snapshot/api_op_ValidateResourcePolicy.go.snap +++ b/service/secretsmanager/snapshot/api_op_ValidateResourcePolicy.go.snap @@ -14,7 +14,6 @@ ValidateResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/api_client.go b/service/securityhub/api_client.go index 3b2db0728c6..ad533a312b4 100644 --- a/service/securityhub/api_client.go +++ b/service/securityhub/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/securityhub/api_op_AcceptAdministratorInvitation.go b/service/securityhub/api_op_AcceptAdministratorInvitation.go index 5dd22334282..38ec13969e1 100644 --- a/service/securityhub/api_op_AcceptAdministratorInvitation.go +++ b/service/securityhub/api_op_AcceptAdministratorInvitation.go @@ -126,9 +126,6 @@ func (c *Client) addOperationAcceptAdministratorInvitationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptAdministratorInvitationValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_AcceptInvitation.go b/service/securityhub/api_op_AcceptInvitation.go index 6e541a91179..0c99a558f10 100644 --- a/service/securityhub/api_op_AcceptInvitation.go +++ b/service/securityhub/api_op_AcceptInvitation.go @@ -133,9 +133,6 @@ func (c *Client) addOperationAcceptInvitationMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptInvitationValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_BatchDeleteAutomationRules.go b/service/securityhub/api_op_BatchDeleteAutomationRules.go index 707f5c15d46..f6887e26c03 100644 --- a/service/securityhub/api_op_BatchDeleteAutomationRules.go +++ b/service/securityhub/api_op_BatchDeleteAutomationRules.go @@ -116,9 +116,6 @@ func (c *Client) addOperationBatchDeleteAutomationRulesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDeleteAutomationRulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_BatchDisableStandards.go b/service/securityhub/api_op_BatchDisableStandards.go index 4ab4f5c5926..0cae5cba26d 100644 --- a/service/securityhub/api_op_BatchDisableStandards.go +++ b/service/securityhub/api_op_BatchDisableStandards.go @@ -116,9 +116,6 @@ func (c *Client) addOperationBatchDisableStandardsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDisableStandardsValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_BatchEnableStandards.go b/service/securityhub/api_op_BatchEnableStandards.go index 830d59751ae..6f3434cc6d7 100644 --- a/service/securityhub/api_op_BatchEnableStandards.go +++ b/service/securityhub/api_op_BatchEnableStandards.go @@ -117,9 +117,6 @@ func (c *Client) addOperationBatchEnableStandardsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchEnableStandardsValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_BatchGetAutomationRules.go b/service/securityhub/api_op_BatchGetAutomationRules.go index 95f81b06254..215408891d0 100644 --- a/service/securityhub/api_op_BatchGetAutomationRules.go +++ b/service/securityhub/api_op_BatchGetAutomationRules.go @@ -118,9 +118,6 @@ func (c *Client) addOperationBatchGetAutomationRulesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetAutomationRulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_BatchGetConfigurationPolicyAssociations.go b/service/securityhub/api_op_BatchGetConfigurationPolicyAssociations.go index 584c30afdd8..37045ef0ca3 100644 --- a/service/securityhub/api_op_BatchGetConfigurationPolicyAssociations.go +++ b/service/securityhub/api_op_BatchGetConfigurationPolicyAssociations.go @@ -123,9 +123,6 @@ func (c *Client) addOperationBatchGetConfigurationPolicyAssociationsMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetConfigurationPolicyAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_BatchGetSecurityControls.go b/service/securityhub/api_op_BatchGetSecurityControls.go index dc017b5771f..c97010ac757 100644 --- a/service/securityhub/api_op_BatchGetSecurityControls.go +++ b/service/securityhub/api_op_BatchGetSecurityControls.go @@ -124,9 +124,6 @@ func (c *Client) addOperationBatchGetSecurityControlsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetSecurityControlsValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_BatchGetStandardsControlAssociations.go b/service/securityhub/api_op_BatchGetStandardsControlAssociations.go index 1e470175b4a..d9b89e4495c 100644 --- a/service/securityhub/api_op_BatchGetStandardsControlAssociations.go +++ b/service/securityhub/api_op_BatchGetStandardsControlAssociations.go @@ -126,9 +126,6 @@ func (c *Client) addOperationBatchGetStandardsControlAssociationsMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetStandardsControlAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_BatchImportFindings.go b/service/securityhub/api_op_BatchImportFindings.go index f407a8ab8c5..c0cb9155534 100644 --- a/service/securityhub/api_op_BatchImportFindings.go +++ b/service/securityhub/api_op_BatchImportFindings.go @@ -173,9 +173,6 @@ func (c *Client) addOperationBatchImportFindingsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchImportFindingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_BatchUpdateAutomationRules.go b/service/securityhub/api_op_BatchUpdateAutomationRules.go index 270cea53aea..03e1807fc88 100644 --- a/service/securityhub/api_op_BatchUpdateAutomationRules.go +++ b/service/securityhub/api_op_BatchUpdateAutomationRules.go @@ -119,9 +119,6 @@ func (c *Client) addOperationBatchUpdateAutomationRulesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchUpdateAutomationRulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_BatchUpdateFindings.go b/service/securityhub/api_op_BatchUpdateFindings.go index a1ea161675b..6c446f4e181 100644 --- a/service/securityhub/api_op_BatchUpdateFindings.go +++ b/service/securityhub/api_op_BatchUpdateFindings.go @@ -220,9 +220,6 @@ func (c *Client) addOperationBatchUpdateFindingsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchUpdateFindingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_BatchUpdateStandardsControlAssociations.go b/service/securityhub/api_op_BatchUpdateStandardsControlAssociations.go index 9a3b97c7105..df542ebec32 100644 --- a/service/securityhub/api_op_BatchUpdateStandardsControlAssociations.go +++ b/service/securityhub/api_op_BatchUpdateStandardsControlAssociations.go @@ -116,9 +116,6 @@ func (c *Client) addOperationBatchUpdateStandardsControlAssociationsMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchUpdateStandardsControlAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_CreateActionTarget.go b/service/securityhub/api_op_CreateActionTarget.go index 7d0d9d5d78d..e01297d06d9 100644 --- a/service/securityhub/api_op_CreateActionTarget.go +++ b/service/securityhub/api_op_CreateActionTarget.go @@ -127,9 +127,6 @@ func (c *Client) addOperationCreateActionTargetMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateActionTargetValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_CreateAutomationRule.go b/service/securityhub/api_op_CreateAutomationRule.go index 014c2f0c707..961939853a4 100644 --- a/service/securityhub/api_op_CreateAutomationRule.go +++ b/service/securityhub/api_op_CreateAutomationRule.go @@ -157,9 +157,6 @@ func (c *Client) addOperationCreateAutomationRuleMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAutomationRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_CreateConfigurationPolicy.go b/service/securityhub/api_op_CreateConfigurationPolicy.go index 13a76bf2e03..8db0771a329 100644 --- a/service/securityhub/api_op_CreateConfigurationPolicy.go +++ b/service/securityhub/api_op_CreateConfigurationPolicy.go @@ -165,9 +165,6 @@ func (c *Client) addOperationCreateConfigurationPolicyMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConfigurationPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_CreateFindingAggregator.go b/service/securityhub/api_op_CreateFindingAggregator.go index 4b7c3668e5e..d3c5afd9ada 100644 --- a/service/securityhub/api_op_CreateFindingAggregator.go +++ b/service/securityhub/api_op_CreateFindingAggregator.go @@ -167,9 +167,6 @@ func (c *Client) addOperationCreateFindingAggregatorMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFindingAggregatorValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_CreateInsight.go b/service/securityhub/api_op_CreateInsight.go index de0ed9edeb3..a6e08cd07b2 100644 --- a/service/securityhub/api_op_CreateInsight.go +++ b/service/securityhub/api_op_CreateInsight.go @@ -131,9 +131,6 @@ func (c *Client) addOperationCreateInsightMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateInsightValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_CreateMembers.go b/service/securityhub/api_op_CreateMembers.go index 0393237da81..08ff709cf06 100644 --- a/service/securityhub/api_op_CreateMembers.go +++ b/service/securityhub/api_op_CreateMembers.go @@ -155,9 +155,6 @@ func (c *Client) addOperationCreateMembersMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateMembersValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_DeclineInvitations.go b/service/securityhub/api_op_DeclineInvitations.go index 3de0b8a78cc..50d59f0cea9 100644 --- a/service/securityhub/api_op_DeclineInvitations.go +++ b/service/securityhub/api_op_DeclineInvitations.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeclineInvitationsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeclineInvitationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_DeleteActionTarget.go b/service/securityhub/api_op_DeleteActionTarget.go index 0ea9098d696..b4a95cb628d 100644 --- a/service/securityhub/api_op_DeleteActionTarget.go +++ b/service/securityhub/api_op_DeleteActionTarget.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteActionTargetMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteActionTargetValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_DeleteConfigurationPolicy.go b/service/securityhub/api_op_DeleteConfigurationPolicy.go index 7ed27016fa0..280e2e7f3e7 100644 --- a/service/securityhub/api_op_DeleteConfigurationPolicy.go +++ b/service/securityhub/api_op_DeleteConfigurationPolicy.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteConfigurationPolicyMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConfigurationPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_DeleteFindingAggregator.go b/service/securityhub/api_op_DeleteFindingAggregator.go index 236a48107c6..1cae68ff58c 100644 --- a/service/securityhub/api_op_DeleteFindingAggregator.go +++ b/service/securityhub/api_op_DeleteFindingAggregator.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteFindingAggregatorMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFindingAggregatorValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_DeleteInsight.go b/service/securityhub/api_op_DeleteInsight.go index e9745b50e13..c0ffea63317 100644 --- a/service/securityhub/api_op_DeleteInsight.go +++ b/service/securityhub/api_op_DeleteInsight.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteInsightMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInsightValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_DeleteInvitations.go b/service/securityhub/api_op_DeleteInvitations.go index cb8249588ef..fbbe1507c5a 100644 --- a/service/securityhub/api_op_DeleteInvitations.go +++ b/service/securityhub/api_op_DeleteInvitations.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDeleteInvitationsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInvitationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_DeleteMembers.go b/service/securityhub/api_op_DeleteMembers.go index 6b45f4047d5..088e472a60e 100644 --- a/service/securityhub/api_op_DeleteMembers.go +++ b/service/securityhub/api_op_DeleteMembers.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteMembersMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMembersValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_DescribeActionTargets.go b/service/securityhub/api_op_DescribeActionTargets.go index 80c3ddfa69c..8ee69f50bd1 100644 --- a/service/securityhub/api_op_DescribeActionTargets.go +++ b/service/securityhub/api_op_DescribeActionTargets.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeActionTargetsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeActionTargets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securityhub/api_op_DescribeHub.go b/service/securityhub/api_op_DescribeHub.go index 9c1f9b39b10..93f33b0065d 100644 --- a/service/securityhub/api_op_DescribeHub.go +++ b/service/securityhub/api_op_DescribeHub.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDescribeHubMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeHub(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securityhub/api_op_DescribeOrganizationConfiguration.go b/service/securityhub/api_op_DescribeOrganizationConfiguration.go index 3dad43f1d7a..069c47cab21 100644 --- a/service/securityhub/api_op_DescribeOrganizationConfiguration.go +++ b/service/securityhub/api_op_DescribeOrganizationConfiguration.go @@ -143,9 +143,6 @@ func (c *Client) addOperationDescribeOrganizationConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeOrganizationConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securityhub/api_op_DescribeProducts.go b/service/securityhub/api_op_DescribeProducts.go index 6947af36795..47ac5b4e74b 100644 --- a/service/securityhub/api_op_DescribeProducts.go +++ b/service/securityhub/api_op_DescribeProducts.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeProductsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProducts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securityhub/api_op_DescribeStandards.go b/service/securityhub/api_op_DescribeStandards.go index b8d9f18a7c5..5438fbf4bcc 100644 --- a/service/securityhub/api_op_DescribeStandards.go +++ b/service/securityhub/api_op_DescribeStandards.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeStandardsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeStandards(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securityhub/api_op_DescribeStandardsControls.go b/service/securityhub/api_op_DescribeStandardsControls.go index 9ad2526e892..b90d48e05f2 100644 --- a/service/securityhub/api_op_DescribeStandardsControls.go +++ b/service/securityhub/api_op_DescribeStandardsControls.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeStandardsControlsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeStandardsControlsValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_DisableImportFindingsForProduct.go b/service/securityhub/api_op_DisableImportFindingsForProduct.go index 67a205f3dea..f63a913595a 100644 --- a/service/securityhub/api_op_DisableImportFindingsForProduct.go +++ b/service/securityhub/api_op_DisableImportFindingsForProduct.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDisableImportFindingsForProductMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableImportFindingsForProductValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_DisableOrganizationAdminAccount.go b/service/securityhub/api_op_DisableOrganizationAdminAccount.go index e7a53a9cf50..53b74356ef8 100644 --- a/service/securityhub/api_op_DisableOrganizationAdminAccount.go +++ b/service/securityhub/api_op_DisableOrganizationAdminAccount.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDisableOrganizationAdminAccountMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableOrganizationAdminAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_DisableSecurityHub.go b/service/securityhub/api_op_DisableSecurityHub.go index 68a6f0a7ecd..8e52d012dcb 100644 --- a/service/securityhub/api_op_DisableSecurityHub.go +++ b/service/securityhub/api_op_DisableSecurityHub.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDisableSecurityHubMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableSecurityHub(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securityhub/api_op_DisassociateFromAdministratorAccount.go b/service/securityhub/api_op_DisassociateFromAdministratorAccount.go index 9288b7a25be..c197441403c 100644 --- a/service/securityhub/api_op_DisassociateFromAdministratorAccount.go +++ b/service/securityhub/api_op_DisassociateFromAdministratorAccount.go @@ -106,9 +106,6 @@ func (c *Client) addOperationDisassociateFromAdministratorAccountMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateFromAdministratorAccount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securityhub/api_op_DisassociateFromMasterAccount.go b/service/securityhub/api_op_DisassociateFromMasterAccount.go index 601f6ee1fd1..ff062239393 100644 --- a/service/securityhub/api_op_DisassociateFromMasterAccount.go +++ b/service/securityhub/api_op_DisassociateFromMasterAccount.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDisassociateFromMasterAccountMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateFromMasterAccount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securityhub/api_op_DisassociateMembers.go b/service/securityhub/api_op_DisassociateMembers.go index d73945cd8d8..64745654c3e 100644 --- a/service/securityhub/api_op_DisassociateMembers.go +++ b/service/securityhub/api_op_DisassociateMembers.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDisassociateMembersMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateMembersValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_EnableImportFindingsForProduct.go b/service/securityhub/api_op_EnableImportFindingsForProduct.go index 01eb3c96818..d07d0431ea4 100644 --- a/service/securityhub/api_op_EnableImportFindingsForProduct.go +++ b/service/securityhub/api_op_EnableImportFindingsForProduct.go @@ -115,9 +115,6 @@ func (c *Client) addOperationEnableImportFindingsForProductMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableImportFindingsForProductValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_EnableOrganizationAdminAccount.go b/service/securityhub/api_op_EnableOrganizationAdminAccount.go index a28ef7c06bd..539f9f95a13 100644 --- a/service/securityhub/api_op_EnableOrganizationAdminAccount.go +++ b/service/securityhub/api_op_EnableOrganizationAdminAccount.go @@ -109,9 +109,6 @@ func (c *Client) addOperationEnableOrganizationAdminAccountMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableOrganizationAdminAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_EnableSecurityHub.go b/service/securityhub/api_op_EnableSecurityHub.go index f19a345b122..61e356e0082 100644 --- a/service/securityhub/api_op_EnableSecurityHub.go +++ b/service/securityhub/api_op_EnableSecurityHub.go @@ -153,9 +153,6 @@ func (c *Client) addOperationEnableSecurityHubMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableSecurityHub(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securityhub/api_op_GetAdministratorAccount.go b/service/securityhub/api_op_GetAdministratorAccount.go index 126e2ee8f0f..8915c194901 100644 --- a/service/securityhub/api_op_GetAdministratorAccount.go +++ b/service/securityhub/api_op_GetAdministratorAccount.go @@ -110,9 +110,6 @@ func (c *Client) addOperationGetAdministratorAccountMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAdministratorAccount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securityhub/api_op_GetConfigurationPolicy.go b/service/securityhub/api_op_GetConfigurationPolicy.go index 9a87872d276..d9415c0ee00 100644 --- a/service/securityhub/api_op_GetConfigurationPolicy.go +++ b/service/securityhub/api_op_GetConfigurationPolicy.go @@ -143,9 +143,6 @@ func (c *Client) addOperationGetConfigurationPolicyMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConfigurationPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_GetConfigurationPolicyAssociation.go b/service/securityhub/api_op_GetConfigurationPolicyAssociation.go index d50e7c09013..b60b55fc597 100644 --- a/service/securityhub/api_op_GetConfigurationPolicyAssociation.go +++ b/service/securityhub/api_op_GetConfigurationPolicyAssociation.go @@ -143,9 +143,6 @@ func (c *Client) addOperationGetConfigurationPolicyAssociationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConfigurationPolicyAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_GetEnabledStandards.go b/service/securityhub/api_op_GetEnabledStandards.go index a9728faac6d..44ac6870139 100644 --- a/service/securityhub/api_op_GetEnabledStandards.go +++ b/service/securityhub/api_op_GetEnabledStandards.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetEnabledStandardsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEnabledStandards(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securityhub/api_op_GetFindingAggregator.go b/service/securityhub/api_op_GetFindingAggregator.go index a78e63ea6cd..c5bf60fe6ae 100644 --- a/service/securityhub/api_op_GetFindingAggregator.go +++ b/service/securityhub/api_op_GetFindingAggregator.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetFindingAggregatorMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFindingAggregatorValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_GetFindingHistory.go b/service/securityhub/api_op_GetFindingHistory.go index cf2c91aef40..81bfe9b194e 100644 --- a/service/securityhub/api_op_GetFindingHistory.go +++ b/service/securityhub/api_op_GetFindingHistory.go @@ -173,9 +173,6 @@ func (c *Client) addOperationGetFindingHistoryMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFindingHistoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_GetFindings.go b/service/securityhub/api_op_GetFindings.go index 1d5c88e9a10..a9fbbb2e574 100644 --- a/service/securityhub/api_op_GetFindings.go +++ b/service/securityhub/api_op_GetFindings.go @@ -139,9 +139,6 @@ func (c *Client) addOperationGetFindingsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetFindings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securityhub/api_op_GetInsightResults.go b/service/securityhub/api_op_GetInsightResults.go index a7f0e9d1e88..8d606d2a113 100644 --- a/service/securityhub/api_op_GetInsightResults.go +++ b/service/securityhub/api_op_GetInsightResults.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetInsightResultsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInsightResultsValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_GetInsights.go b/service/securityhub/api_op_GetInsights.go index 410d6bca849..bad5083b9e1 100644 --- a/service/securityhub/api_op_GetInsights.go +++ b/service/securityhub/api_op_GetInsights.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetInsightsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInsights(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securityhub/api_op_GetInvitationsCount.go b/service/securityhub/api_op_GetInvitationsCount.go index 0863e9240e1..cfe39b1ffef 100644 --- a/service/securityhub/api_op_GetInvitationsCount.go +++ b/service/securityhub/api_op_GetInvitationsCount.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetInvitationsCountMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInvitationsCount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securityhub/api_op_GetMasterAccount.go b/service/securityhub/api_op_GetMasterAccount.go index bf97a0e688b..0730433cb56 100644 --- a/service/securityhub/api_op_GetMasterAccount.go +++ b/service/securityhub/api_op_GetMasterAccount.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetMasterAccountMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMasterAccount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securityhub/api_op_GetMembers.go b/service/securityhub/api_op_GetMembers.go index 3e100bd7627..6e19b7cda11 100644 --- a/service/securityhub/api_op_GetMembers.go +++ b/service/securityhub/api_op_GetMembers.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetMembersMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMembersValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_GetSecurityControlDefinition.go b/service/securityhub/api_op_GetSecurityControlDefinition.go index fcc5d7e8bd6..dca16ec667b 100644 --- a/service/securityhub/api_op_GetSecurityControlDefinition.go +++ b/service/securityhub/api_op_GetSecurityControlDefinition.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetSecurityControlDefinitionMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSecurityControlDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_InviteMembers.go b/service/securityhub/api_op_InviteMembers.go index 7d455f57194..264c699b06f 100644 --- a/service/securityhub/api_op_InviteMembers.go +++ b/service/securityhub/api_op_InviteMembers.go @@ -130,9 +130,6 @@ func (c *Client) addOperationInviteMembersMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpInviteMembersValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_ListAutomationRules.go b/service/securityhub/api_op_ListAutomationRules.go index 50ddb95ea87..fcf2f10e6ab 100644 --- a/service/securityhub/api_op_ListAutomationRules.go +++ b/service/securityhub/api_op_ListAutomationRules.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListAutomationRulesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAutomationRules(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securityhub/api_op_ListConfigurationPolicies.go b/service/securityhub/api_op_ListConfigurationPolicies.go index e2656a15d0a..1fd01f316bd 100644 --- a/service/securityhub/api_op_ListConfigurationPolicies.go +++ b/service/securityhub/api_op_ListConfigurationPolicies.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListConfigurationPoliciesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConfigurationPolicies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securityhub/api_op_ListConfigurationPolicyAssociations.go b/service/securityhub/api_op_ListConfigurationPolicyAssociations.go index ca0b7928cd6..a17cdd5c198 100644 --- a/service/securityhub/api_op_ListConfigurationPolicyAssociations.go +++ b/service/securityhub/api_op_ListConfigurationPolicyAssociations.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListConfigurationPolicyAssociationsMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConfigurationPolicyAssociations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securityhub/api_op_ListEnabledProductsForImport.go b/service/securityhub/api_op_ListEnabledProductsForImport.go index 72e899112bc..72b1d986a41 100644 --- a/service/securityhub/api_op_ListEnabledProductsForImport.go +++ b/service/securityhub/api_op_ListEnabledProductsForImport.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListEnabledProductsForImportMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEnabledProductsForImport(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securityhub/api_op_ListFindingAggregators.go b/service/securityhub/api_op_ListFindingAggregators.go index 6691bad9c3f..1cd1b35b9bc 100644 --- a/service/securityhub/api_op_ListFindingAggregators.go +++ b/service/securityhub/api_op_ListFindingAggregators.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListFindingAggregatorsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFindingAggregators(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securityhub/api_op_ListInvitations.go b/service/securityhub/api_op_ListInvitations.go index 4088dda9e24..f0464419c5d 100644 --- a/service/securityhub/api_op_ListInvitations.go +++ b/service/securityhub/api_op_ListInvitations.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListInvitationsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInvitations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securityhub/api_op_ListMembers.go b/service/securityhub/api_op_ListMembers.go index 3ae79154862..d2c1d42f987 100644 --- a/service/securityhub/api_op_ListMembers.go +++ b/service/securityhub/api_op_ListMembers.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListMembersMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMembers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securityhub/api_op_ListOrganizationAdminAccounts.go b/service/securityhub/api_op_ListOrganizationAdminAccounts.go index ad0a6aee1c0..65cd086eca7 100644 --- a/service/securityhub/api_op_ListOrganizationAdminAccounts.go +++ b/service/securityhub/api_op_ListOrganizationAdminAccounts.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListOrganizationAdminAccountsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOrganizationAdminAccounts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securityhub/api_op_ListSecurityControlDefinitions.go b/service/securityhub/api_op_ListSecurityControlDefinitions.go index 35e34d42eff..104d6f42f45 100644 --- a/service/securityhub/api_op_ListSecurityControlDefinitions.go +++ b/service/securityhub/api_op_ListSecurityControlDefinitions.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListSecurityControlDefinitionsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSecurityControlDefinitions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securityhub/api_op_ListStandardsControlAssociations.go b/service/securityhub/api_op_ListStandardsControlAssociations.go index 1466e134c78..9a4f66753a7 100644 --- a/service/securityhub/api_op_ListStandardsControlAssociations.go +++ b/service/securityhub/api_op_ListStandardsControlAssociations.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListStandardsControlAssociationsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListStandardsControlAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_ListTagsForResource.go b/service/securityhub/api_op_ListTagsForResource.go index f269815d00a..a33e92fa9b0 100644 --- a/service/securityhub/api_op_ListTagsForResource.go +++ b/service/securityhub/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_StartConfigurationPolicyAssociation.go b/service/securityhub/api_op_StartConfigurationPolicyAssociation.go index 4469ffe971e..cfa2f546d6e 100644 --- a/service/securityhub/api_op_StartConfigurationPolicyAssociation.go +++ b/service/securityhub/api_op_StartConfigurationPolicyAssociation.go @@ -149,9 +149,6 @@ func (c *Client) addOperationStartConfigurationPolicyAssociationMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartConfigurationPolicyAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_StartConfigurationPolicyDisassociation.go b/service/securityhub/api_op_StartConfigurationPolicyDisassociation.go index f51c3932005..9ba7d999bad 100644 --- a/service/securityhub/api_op_StartConfigurationPolicyDisassociation.go +++ b/service/securityhub/api_op_StartConfigurationPolicyDisassociation.go @@ -121,9 +121,6 @@ func (c *Client) addOperationStartConfigurationPolicyDisassociationMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartConfigurationPolicyDisassociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_TagResource.go b/service/securityhub/api_op_TagResource.go index 1479ede7756..a154feef499 100644 --- a/service/securityhub/api_op_TagResource.go +++ b/service/securityhub/api_op_TagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_UntagResource.go b/service/securityhub/api_op_UntagResource.go index cb4fe978786..6609ebf1a90 100644 --- a/service/securityhub/api_op_UntagResource.go +++ b/service/securityhub/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_UpdateActionTarget.go b/service/securityhub/api_op_UpdateActionTarget.go index 1d2cf06e494..b09cb428140 100644 --- a/service/securityhub/api_op_UpdateActionTarget.go +++ b/service/securityhub/api_op_UpdateActionTarget.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUpdateActionTargetMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateActionTargetValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_UpdateConfigurationPolicy.go b/service/securityhub/api_op_UpdateConfigurationPolicy.go index ff94f55bb8c..2ea154647c6 100644 --- a/service/securityhub/api_op_UpdateConfigurationPolicy.go +++ b/service/securityhub/api_op_UpdateConfigurationPolicy.go @@ -167,9 +167,6 @@ func (c *Client) addOperationUpdateConfigurationPolicyMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConfigurationPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_UpdateFindingAggregator.go b/service/securityhub/api_op_UpdateFindingAggregator.go index 8fca597915e..32e5b2d09b6 100644 --- a/service/securityhub/api_op_UpdateFindingAggregator.go +++ b/service/securityhub/api_op_UpdateFindingAggregator.go @@ -170,9 +170,6 @@ func (c *Client) addOperationUpdateFindingAggregatorMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFindingAggregatorValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_UpdateFindings.go b/service/securityhub/api_op_UpdateFindings.go index 33780e8249e..d12c2d22852 100644 --- a/service/securityhub/api_op_UpdateFindings.go +++ b/service/securityhub/api_op_UpdateFindings.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateFindingsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFindingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_UpdateInsight.go b/service/securityhub/api_op_UpdateInsight.go index 25330961534..1ed94d93396 100644 --- a/service/securityhub/api_op_UpdateInsight.go +++ b/service/securityhub/api_op_UpdateInsight.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUpdateInsightMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateInsightValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_UpdateOrganizationConfiguration.go b/service/securityhub/api_op_UpdateOrganizationConfiguration.go index bd80d3b73bc..b672239ac54 100644 --- a/service/securityhub/api_op_UpdateOrganizationConfiguration.go +++ b/service/securityhub/api_op_UpdateOrganizationConfiguration.go @@ -142,9 +142,6 @@ func (c *Client) addOperationUpdateOrganizationConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateOrganizationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_UpdateSecurityControl.go b/service/securityhub/api_op_UpdateSecurityControl.go index 58d4029249f..644da6465c6 100644 --- a/service/securityhub/api_op_UpdateSecurityControl.go +++ b/service/securityhub/api_op_UpdateSecurityControl.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateSecurityControlMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSecurityControlValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/api_op_UpdateSecurityHubConfiguration.go b/service/securityhub/api_op_UpdateSecurityHubConfiguration.go index c1c9582b477..367bf4b6961 100644 --- a/service/securityhub/api_op_UpdateSecurityHubConfiguration.go +++ b/service/securityhub/api_op_UpdateSecurityHubConfiguration.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateSecurityHubConfigurationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSecurityHubConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securityhub/api_op_UpdateStandardsControl.go b/service/securityhub/api_op_UpdateStandardsControl.go index 266e77016e4..85b66429f8f 100644 --- a/service/securityhub/api_op_UpdateStandardsControl.go +++ b/service/securityhub/api_op_UpdateStandardsControl.go @@ -116,9 +116,6 @@ func (c *Client) addOperationUpdateStandardsControlMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateStandardsControlValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityhub/snapshot/api_op_AcceptAdministratorInvitation.go.snap b/service/securityhub/snapshot/api_op_AcceptAdministratorInvitation.go.snap index 948cba9700a..5f5685c343c 100644 --- a/service/securityhub/snapshot/api_op_AcceptAdministratorInvitation.go.snap +++ b/service/securityhub/snapshot/api_op_AcceptAdministratorInvitation.go.snap @@ -14,7 +14,6 @@ AcceptAdministratorInvitation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_AcceptInvitation.go.snap b/service/securityhub/snapshot/api_op_AcceptInvitation.go.snap index f7246312e86..25a4265ede2 100644 --- a/service/securityhub/snapshot/api_op_AcceptInvitation.go.snap +++ b/service/securityhub/snapshot/api_op_AcceptInvitation.go.snap @@ -14,7 +14,6 @@ AcceptInvitation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_BatchDeleteAutomationRules.go.snap b/service/securityhub/snapshot/api_op_BatchDeleteAutomationRules.go.snap index 072541ebce1..c981e416939 100644 --- a/service/securityhub/snapshot/api_op_BatchDeleteAutomationRules.go.snap +++ b/service/securityhub/snapshot/api_op_BatchDeleteAutomationRules.go.snap @@ -14,7 +14,6 @@ BatchDeleteAutomationRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_BatchDisableStandards.go.snap b/service/securityhub/snapshot/api_op_BatchDisableStandards.go.snap index ab4784d5d44..3b89596e9a6 100644 --- a/service/securityhub/snapshot/api_op_BatchDisableStandards.go.snap +++ b/service/securityhub/snapshot/api_op_BatchDisableStandards.go.snap @@ -14,7 +14,6 @@ BatchDisableStandards Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_BatchEnableStandards.go.snap b/service/securityhub/snapshot/api_op_BatchEnableStandards.go.snap index d4ded6aeda8..d0763f92680 100644 --- a/service/securityhub/snapshot/api_op_BatchEnableStandards.go.snap +++ b/service/securityhub/snapshot/api_op_BatchEnableStandards.go.snap @@ -14,7 +14,6 @@ BatchEnableStandards Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_BatchGetAutomationRules.go.snap b/service/securityhub/snapshot/api_op_BatchGetAutomationRules.go.snap index 469ff55e135..311e8bae48c 100644 --- a/service/securityhub/snapshot/api_op_BatchGetAutomationRules.go.snap +++ b/service/securityhub/snapshot/api_op_BatchGetAutomationRules.go.snap @@ -14,7 +14,6 @@ BatchGetAutomationRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_BatchGetConfigurationPolicyAssociations.go.snap b/service/securityhub/snapshot/api_op_BatchGetConfigurationPolicyAssociations.go.snap index 229de5d1a99..4515c3e0194 100644 --- a/service/securityhub/snapshot/api_op_BatchGetConfigurationPolicyAssociations.go.snap +++ b/service/securityhub/snapshot/api_op_BatchGetConfigurationPolicyAssociations.go.snap @@ -14,7 +14,6 @@ BatchGetConfigurationPolicyAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_BatchGetSecurityControls.go.snap b/service/securityhub/snapshot/api_op_BatchGetSecurityControls.go.snap index fc6dc26e3e9..136ce2458e1 100644 --- a/service/securityhub/snapshot/api_op_BatchGetSecurityControls.go.snap +++ b/service/securityhub/snapshot/api_op_BatchGetSecurityControls.go.snap @@ -14,7 +14,6 @@ BatchGetSecurityControls Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_BatchGetStandardsControlAssociations.go.snap b/service/securityhub/snapshot/api_op_BatchGetStandardsControlAssociations.go.snap index 30cc3ea53e4..b8744f9aa26 100644 --- a/service/securityhub/snapshot/api_op_BatchGetStandardsControlAssociations.go.snap +++ b/service/securityhub/snapshot/api_op_BatchGetStandardsControlAssociations.go.snap @@ -14,7 +14,6 @@ BatchGetStandardsControlAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_BatchImportFindings.go.snap b/service/securityhub/snapshot/api_op_BatchImportFindings.go.snap index 391ab67373a..aa722bc3c5f 100644 --- a/service/securityhub/snapshot/api_op_BatchImportFindings.go.snap +++ b/service/securityhub/snapshot/api_op_BatchImportFindings.go.snap @@ -14,7 +14,6 @@ BatchImportFindings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_BatchUpdateAutomationRules.go.snap b/service/securityhub/snapshot/api_op_BatchUpdateAutomationRules.go.snap index 764292b65cb..5bbddfb38ce 100644 --- a/service/securityhub/snapshot/api_op_BatchUpdateAutomationRules.go.snap +++ b/service/securityhub/snapshot/api_op_BatchUpdateAutomationRules.go.snap @@ -14,7 +14,6 @@ BatchUpdateAutomationRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_BatchUpdateFindings.go.snap b/service/securityhub/snapshot/api_op_BatchUpdateFindings.go.snap index fd1d61fe2c9..695d5906a10 100644 --- a/service/securityhub/snapshot/api_op_BatchUpdateFindings.go.snap +++ b/service/securityhub/snapshot/api_op_BatchUpdateFindings.go.snap @@ -14,7 +14,6 @@ BatchUpdateFindings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_BatchUpdateStandardsControlAssociations.go.snap b/service/securityhub/snapshot/api_op_BatchUpdateStandardsControlAssociations.go.snap index 83625e20dce..9bb49a6d4ed 100644 --- a/service/securityhub/snapshot/api_op_BatchUpdateStandardsControlAssociations.go.snap +++ b/service/securityhub/snapshot/api_op_BatchUpdateStandardsControlAssociations.go.snap @@ -14,7 +14,6 @@ BatchUpdateStandardsControlAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_CreateActionTarget.go.snap b/service/securityhub/snapshot/api_op_CreateActionTarget.go.snap index ade68fa28ea..834bdf08b5e 100644 --- a/service/securityhub/snapshot/api_op_CreateActionTarget.go.snap +++ b/service/securityhub/snapshot/api_op_CreateActionTarget.go.snap @@ -14,7 +14,6 @@ CreateActionTarget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_CreateAutomationRule.go.snap b/service/securityhub/snapshot/api_op_CreateAutomationRule.go.snap index 67665645297..9b02c03d044 100644 --- a/service/securityhub/snapshot/api_op_CreateAutomationRule.go.snap +++ b/service/securityhub/snapshot/api_op_CreateAutomationRule.go.snap @@ -14,7 +14,6 @@ CreateAutomationRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_CreateConfigurationPolicy.go.snap b/service/securityhub/snapshot/api_op_CreateConfigurationPolicy.go.snap index 9631c68ce04..369d4eb6d9c 100644 --- a/service/securityhub/snapshot/api_op_CreateConfigurationPolicy.go.snap +++ b/service/securityhub/snapshot/api_op_CreateConfigurationPolicy.go.snap @@ -14,7 +14,6 @@ CreateConfigurationPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_CreateFindingAggregator.go.snap b/service/securityhub/snapshot/api_op_CreateFindingAggregator.go.snap index 504ea74af13..714e03df3be 100644 --- a/service/securityhub/snapshot/api_op_CreateFindingAggregator.go.snap +++ b/service/securityhub/snapshot/api_op_CreateFindingAggregator.go.snap @@ -14,7 +14,6 @@ CreateFindingAggregator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_CreateInsight.go.snap b/service/securityhub/snapshot/api_op_CreateInsight.go.snap index f8fc18242d7..a1c01f2fb32 100644 --- a/service/securityhub/snapshot/api_op_CreateInsight.go.snap +++ b/service/securityhub/snapshot/api_op_CreateInsight.go.snap @@ -14,7 +14,6 @@ CreateInsight Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_CreateMembers.go.snap b/service/securityhub/snapshot/api_op_CreateMembers.go.snap index cf5be88c920..7176c06930e 100644 --- a/service/securityhub/snapshot/api_op_CreateMembers.go.snap +++ b/service/securityhub/snapshot/api_op_CreateMembers.go.snap @@ -14,7 +14,6 @@ CreateMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_DeclineInvitations.go.snap b/service/securityhub/snapshot/api_op_DeclineInvitations.go.snap index 07593ea2fc1..b83912e6a92 100644 --- a/service/securityhub/snapshot/api_op_DeclineInvitations.go.snap +++ b/service/securityhub/snapshot/api_op_DeclineInvitations.go.snap @@ -14,7 +14,6 @@ DeclineInvitations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_DeleteActionTarget.go.snap b/service/securityhub/snapshot/api_op_DeleteActionTarget.go.snap index 04ef77f27e0..2cc87f7b150 100644 --- a/service/securityhub/snapshot/api_op_DeleteActionTarget.go.snap +++ b/service/securityhub/snapshot/api_op_DeleteActionTarget.go.snap @@ -14,7 +14,6 @@ DeleteActionTarget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_DeleteConfigurationPolicy.go.snap b/service/securityhub/snapshot/api_op_DeleteConfigurationPolicy.go.snap index ec826475c14..2ba6660e283 100644 --- a/service/securityhub/snapshot/api_op_DeleteConfigurationPolicy.go.snap +++ b/service/securityhub/snapshot/api_op_DeleteConfigurationPolicy.go.snap @@ -14,7 +14,6 @@ DeleteConfigurationPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_DeleteFindingAggregator.go.snap b/service/securityhub/snapshot/api_op_DeleteFindingAggregator.go.snap index 3df38356f1a..5db39bc72a1 100644 --- a/service/securityhub/snapshot/api_op_DeleteFindingAggregator.go.snap +++ b/service/securityhub/snapshot/api_op_DeleteFindingAggregator.go.snap @@ -14,7 +14,6 @@ DeleteFindingAggregator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_DeleteInsight.go.snap b/service/securityhub/snapshot/api_op_DeleteInsight.go.snap index 073b85f3e00..74cb8e6a47a 100644 --- a/service/securityhub/snapshot/api_op_DeleteInsight.go.snap +++ b/service/securityhub/snapshot/api_op_DeleteInsight.go.snap @@ -14,7 +14,6 @@ DeleteInsight Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_DeleteInvitations.go.snap b/service/securityhub/snapshot/api_op_DeleteInvitations.go.snap index 750642c2dc4..d9267029e3d 100644 --- a/service/securityhub/snapshot/api_op_DeleteInvitations.go.snap +++ b/service/securityhub/snapshot/api_op_DeleteInvitations.go.snap @@ -14,7 +14,6 @@ DeleteInvitations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_DeleteMembers.go.snap b/service/securityhub/snapshot/api_op_DeleteMembers.go.snap index 58bf7d46545..52a30e0c4f5 100644 --- a/service/securityhub/snapshot/api_op_DeleteMembers.go.snap +++ b/service/securityhub/snapshot/api_op_DeleteMembers.go.snap @@ -14,7 +14,6 @@ DeleteMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_DescribeActionTargets.go.snap b/service/securityhub/snapshot/api_op_DescribeActionTargets.go.snap index d6ab6c8bc3f..36eb163c4f3 100644 --- a/service/securityhub/snapshot/api_op_DescribeActionTargets.go.snap +++ b/service/securityhub/snapshot/api_op_DescribeActionTargets.go.snap @@ -13,7 +13,6 @@ DescribeActionTargets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_DescribeHub.go.snap b/service/securityhub/snapshot/api_op_DescribeHub.go.snap index 29d2635f1ed..a689b846c3f 100644 --- a/service/securityhub/snapshot/api_op_DescribeHub.go.snap +++ b/service/securityhub/snapshot/api_op_DescribeHub.go.snap @@ -13,7 +13,6 @@ DescribeHub Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_DescribeOrganizationConfiguration.go.snap b/service/securityhub/snapshot/api_op_DescribeOrganizationConfiguration.go.snap index 58b69dba323..5c663808606 100644 --- a/service/securityhub/snapshot/api_op_DescribeOrganizationConfiguration.go.snap +++ b/service/securityhub/snapshot/api_op_DescribeOrganizationConfiguration.go.snap @@ -13,7 +13,6 @@ DescribeOrganizationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_DescribeProducts.go.snap b/service/securityhub/snapshot/api_op_DescribeProducts.go.snap index 014244bfdd0..e8ebe9a5411 100644 --- a/service/securityhub/snapshot/api_op_DescribeProducts.go.snap +++ b/service/securityhub/snapshot/api_op_DescribeProducts.go.snap @@ -13,7 +13,6 @@ DescribeProducts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_DescribeStandards.go.snap b/service/securityhub/snapshot/api_op_DescribeStandards.go.snap index 257ebc07a18..74781da71c1 100644 --- a/service/securityhub/snapshot/api_op_DescribeStandards.go.snap +++ b/service/securityhub/snapshot/api_op_DescribeStandards.go.snap @@ -13,7 +13,6 @@ DescribeStandards Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_DescribeStandardsControls.go.snap b/service/securityhub/snapshot/api_op_DescribeStandardsControls.go.snap index b98573dc9dc..934d2512ed8 100644 --- a/service/securityhub/snapshot/api_op_DescribeStandardsControls.go.snap +++ b/service/securityhub/snapshot/api_op_DescribeStandardsControls.go.snap @@ -14,7 +14,6 @@ DescribeStandardsControls Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_DisableImportFindingsForProduct.go.snap b/service/securityhub/snapshot/api_op_DisableImportFindingsForProduct.go.snap index 18ad01b4b49..0d68d008977 100644 --- a/service/securityhub/snapshot/api_op_DisableImportFindingsForProduct.go.snap +++ b/service/securityhub/snapshot/api_op_DisableImportFindingsForProduct.go.snap @@ -14,7 +14,6 @@ DisableImportFindingsForProduct Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_DisableOrganizationAdminAccount.go.snap b/service/securityhub/snapshot/api_op_DisableOrganizationAdminAccount.go.snap index 353e1e5ae02..129fbb99dbe 100644 --- a/service/securityhub/snapshot/api_op_DisableOrganizationAdminAccount.go.snap +++ b/service/securityhub/snapshot/api_op_DisableOrganizationAdminAccount.go.snap @@ -14,7 +14,6 @@ DisableOrganizationAdminAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_DisableSecurityHub.go.snap b/service/securityhub/snapshot/api_op_DisableSecurityHub.go.snap index cfd737dcb03..322ae318dd3 100644 --- a/service/securityhub/snapshot/api_op_DisableSecurityHub.go.snap +++ b/service/securityhub/snapshot/api_op_DisableSecurityHub.go.snap @@ -13,7 +13,6 @@ DisableSecurityHub Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_DisassociateFromAdministratorAccount.go.snap b/service/securityhub/snapshot/api_op_DisassociateFromAdministratorAccount.go.snap index 0ccab51fb88..0eab61af58e 100644 --- a/service/securityhub/snapshot/api_op_DisassociateFromAdministratorAccount.go.snap +++ b/service/securityhub/snapshot/api_op_DisassociateFromAdministratorAccount.go.snap @@ -13,7 +13,6 @@ DisassociateFromAdministratorAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_DisassociateFromMasterAccount.go.snap b/service/securityhub/snapshot/api_op_DisassociateFromMasterAccount.go.snap index 5a69d20772f..b887c84c9dc 100644 --- a/service/securityhub/snapshot/api_op_DisassociateFromMasterAccount.go.snap +++ b/service/securityhub/snapshot/api_op_DisassociateFromMasterAccount.go.snap @@ -13,7 +13,6 @@ DisassociateFromMasterAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_DisassociateMembers.go.snap b/service/securityhub/snapshot/api_op_DisassociateMembers.go.snap index 8d3c332edc1..e6bc12448e1 100644 --- a/service/securityhub/snapshot/api_op_DisassociateMembers.go.snap +++ b/service/securityhub/snapshot/api_op_DisassociateMembers.go.snap @@ -14,7 +14,6 @@ DisassociateMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_EnableImportFindingsForProduct.go.snap b/service/securityhub/snapshot/api_op_EnableImportFindingsForProduct.go.snap index 3a7d7f2a2cf..1345bf9f584 100644 --- a/service/securityhub/snapshot/api_op_EnableImportFindingsForProduct.go.snap +++ b/service/securityhub/snapshot/api_op_EnableImportFindingsForProduct.go.snap @@ -14,7 +14,6 @@ EnableImportFindingsForProduct Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_EnableOrganizationAdminAccount.go.snap b/service/securityhub/snapshot/api_op_EnableOrganizationAdminAccount.go.snap index 9cca0ae54d0..a3c6a3971ef 100644 --- a/service/securityhub/snapshot/api_op_EnableOrganizationAdminAccount.go.snap +++ b/service/securityhub/snapshot/api_op_EnableOrganizationAdminAccount.go.snap @@ -14,7 +14,6 @@ EnableOrganizationAdminAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_EnableSecurityHub.go.snap b/service/securityhub/snapshot/api_op_EnableSecurityHub.go.snap index 38daee89690..8048c85d69b 100644 --- a/service/securityhub/snapshot/api_op_EnableSecurityHub.go.snap +++ b/service/securityhub/snapshot/api_op_EnableSecurityHub.go.snap @@ -13,7 +13,6 @@ EnableSecurityHub Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_GetAdministratorAccount.go.snap b/service/securityhub/snapshot/api_op_GetAdministratorAccount.go.snap index da77680466e..d1f34160c21 100644 --- a/service/securityhub/snapshot/api_op_GetAdministratorAccount.go.snap +++ b/service/securityhub/snapshot/api_op_GetAdministratorAccount.go.snap @@ -13,7 +13,6 @@ GetAdministratorAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_GetConfigurationPolicy.go.snap b/service/securityhub/snapshot/api_op_GetConfigurationPolicy.go.snap index bbdba1f6982..8b20e2e9720 100644 --- a/service/securityhub/snapshot/api_op_GetConfigurationPolicy.go.snap +++ b/service/securityhub/snapshot/api_op_GetConfigurationPolicy.go.snap @@ -14,7 +14,6 @@ GetConfigurationPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_GetConfigurationPolicyAssociation.go.snap b/service/securityhub/snapshot/api_op_GetConfigurationPolicyAssociation.go.snap index 45a7e60bd14..f2667999346 100644 --- a/service/securityhub/snapshot/api_op_GetConfigurationPolicyAssociation.go.snap +++ b/service/securityhub/snapshot/api_op_GetConfigurationPolicyAssociation.go.snap @@ -14,7 +14,6 @@ GetConfigurationPolicyAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_GetEnabledStandards.go.snap b/service/securityhub/snapshot/api_op_GetEnabledStandards.go.snap index cd723e175d9..b7db57df27e 100644 --- a/service/securityhub/snapshot/api_op_GetEnabledStandards.go.snap +++ b/service/securityhub/snapshot/api_op_GetEnabledStandards.go.snap @@ -13,7 +13,6 @@ GetEnabledStandards Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_GetFindingAggregator.go.snap b/service/securityhub/snapshot/api_op_GetFindingAggregator.go.snap index 25c43ca43ee..e02352ba9d4 100644 --- a/service/securityhub/snapshot/api_op_GetFindingAggregator.go.snap +++ b/service/securityhub/snapshot/api_op_GetFindingAggregator.go.snap @@ -14,7 +14,6 @@ GetFindingAggregator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_GetFindingHistory.go.snap b/service/securityhub/snapshot/api_op_GetFindingHistory.go.snap index 759f43fc5fd..bbaeeee727a 100644 --- a/service/securityhub/snapshot/api_op_GetFindingHistory.go.snap +++ b/service/securityhub/snapshot/api_op_GetFindingHistory.go.snap @@ -14,7 +14,6 @@ GetFindingHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_GetFindings.go.snap b/service/securityhub/snapshot/api_op_GetFindings.go.snap index 4d530a66057..3c16526fb33 100644 --- a/service/securityhub/snapshot/api_op_GetFindings.go.snap +++ b/service/securityhub/snapshot/api_op_GetFindings.go.snap @@ -13,7 +13,6 @@ GetFindings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_GetInsightResults.go.snap b/service/securityhub/snapshot/api_op_GetInsightResults.go.snap index 59169893d47..48928e1d8f0 100644 --- a/service/securityhub/snapshot/api_op_GetInsightResults.go.snap +++ b/service/securityhub/snapshot/api_op_GetInsightResults.go.snap @@ -14,7 +14,6 @@ GetInsightResults Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_GetInsights.go.snap b/service/securityhub/snapshot/api_op_GetInsights.go.snap index 7745d46f0f2..551e5ec8130 100644 --- a/service/securityhub/snapshot/api_op_GetInsights.go.snap +++ b/service/securityhub/snapshot/api_op_GetInsights.go.snap @@ -13,7 +13,6 @@ GetInsights Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_GetInvitationsCount.go.snap b/service/securityhub/snapshot/api_op_GetInvitationsCount.go.snap index 12fd8e140e6..e383bf978ab 100644 --- a/service/securityhub/snapshot/api_op_GetInvitationsCount.go.snap +++ b/service/securityhub/snapshot/api_op_GetInvitationsCount.go.snap @@ -13,7 +13,6 @@ GetInvitationsCount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_GetMasterAccount.go.snap b/service/securityhub/snapshot/api_op_GetMasterAccount.go.snap index 63570286c70..cb433df5655 100644 --- a/service/securityhub/snapshot/api_op_GetMasterAccount.go.snap +++ b/service/securityhub/snapshot/api_op_GetMasterAccount.go.snap @@ -13,7 +13,6 @@ GetMasterAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_GetMembers.go.snap b/service/securityhub/snapshot/api_op_GetMembers.go.snap index 3de3029fad3..f374be7a278 100644 --- a/service/securityhub/snapshot/api_op_GetMembers.go.snap +++ b/service/securityhub/snapshot/api_op_GetMembers.go.snap @@ -14,7 +14,6 @@ GetMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_GetSecurityControlDefinition.go.snap b/service/securityhub/snapshot/api_op_GetSecurityControlDefinition.go.snap index 15ebd7000de..53ccd18edaf 100644 --- a/service/securityhub/snapshot/api_op_GetSecurityControlDefinition.go.snap +++ b/service/securityhub/snapshot/api_op_GetSecurityControlDefinition.go.snap @@ -14,7 +14,6 @@ GetSecurityControlDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_InviteMembers.go.snap b/service/securityhub/snapshot/api_op_InviteMembers.go.snap index a64e7c9e763..1f3995f4144 100644 --- a/service/securityhub/snapshot/api_op_InviteMembers.go.snap +++ b/service/securityhub/snapshot/api_op_InviteMembers.go.snap @@ -14,7 +14,6 @@ InviteMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_ListAutomationRules.go.snap b/service/securityhub/snapshot/api_op_ListAutomationRules.go.snap index 62f91cd0997..e82d6519e99 100644 --- a/service/securityhub/snapshot/api_op_ListAutomationRules.go.snap +++ b/service/securityhub/snapshot/api_op_ListAutomationRules.go.snap @@ -13,7 +13,6 @@ ListAutomationRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_ListConfigurationPolicies.go.snap b/service/securityhub/snapshot/api_op_ListConfigurationPolicies.go.snap index 57e81fce0c5..522bc0d5d41 100644 --- a/service/securityhub/snapshot/api_op_ListConfigurationPolicies.go.snap +++ b/service/securityhub/snapshot/api_op_ListConfigurationPolicies.go.snap @@ -13,7 +13,6 @@ ListConfigurationPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_ListConfigurationPolicyAssociations.go.snap b/service/securityhub/snapshot/api_op_ListConfigurationPolicyAssociations.go.snap index a8a282f2ff2..57ec0a4da43 100644 --- a/service/securityhub/snapshot/api_op_ListConfigurationPolicyAssociations.go.snap +++ b/service/securityhub/snapshot/api_op_ListConfigurationPolicyAssociations.go.snap @@ -13,7 +13,6 @@ ListConfigurationPolicyAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_ListEnabledProductsForImport.go.snap b/service/securityhub/snapshot/api_op_ListEnabledProductsForImport.go.snap index 3cb4ddaab05..813b9178cdf 100644 --- a/service/securityhub/snapshot/api_op_ListEnabledProductsForImport.go.snap +++ b/service/securityhub/snapshot/api_op_ListEnabledProductsForImport.go.snap @@ -13,7 +13,6 @@ ListEnabledProductsForImport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_ListFindingAggregators.go.snap b/service/securityhub/snapshot/api_op_ListFindingAggregators.go.snap index 9a031002a5d..e3aa3839f30 100644 --- a/service/securityhub/snapshot/api_op_ListFindingAggregators.go.snap +++ b/service/securityhub/snapshot/api_op_ListFindingAggregators.go.snap @@ -13,7 +13,6 @@ ListFindingAggregators Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_ListInvitations.go.snap b/service/securityhub/snapshot/api_op_ListInvitations.go.snap index 623ba90611b..d8658667fbe 100644 --- a/service/securityhub/snapshot/api_op_ListInvitations.go.snap +++ b/service/securityhub/snapshot/api_op_ListInvitations.go.snap @@ -13,7 +13,6 @@ ListInvitations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_ListMembers.go.snap b/service/securityhub/snapshot/api_op_ListMembers.go.snap index 88729f44181..a3672c71aeb 100644 --- a/service/securityhub/snapshot/api_op_ListMembers.go.snap +++ b/service/securityhub/snapshot/api_op_ListMembers.go.snap @@ -13,7 +13,6 @@ ListMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_ListOrganizationAdminAccounts.go.snap b/service/securityhub/snapshot/api_op_ListOrganizationAdminAccounts.go.snap index f67edb1d953..8ebdb78565d 100644 --- a/service/securityhub/snapshot/api_op_ListOrganizationAdminAccounts.go.snap +++ b/service/securityhub/snapshot/api_op_ListOrganizationAdminAccounts.go.snap @@ -13,7 +13,6 @@ ListOrganizationAdminAccounts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_ListSecurityControlDefinitions.go.snap b/service/securityhub/snapshot/api_op_ListSecurityControlDefinitions.go.snap index 745efaa6e02..1b35ca4813d 100644 --- a/service/securityhub/snapshot/api_op_ListSecurityControlDefinitions.go.snap +++ b/service/securityhub/snapshot/api_op_ListSecurityControlDefinitions.go.snap @@ -13,7 +13,6 @@ ListSecurityControlDefinitions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_ListStandardsControlAssociations.go.snap b/service/securityhub/snapshot/api_op_ListStandardsControlAssociations.go.snap index d0636ba860c..3454b64dafa 100644 --- a/service/securityhub/snapshot/api_op_ListStandardsControlAssociations.go.snap +++ b/service/securityhub/snapshot/api_op_ListStandardsControlAssociations.go.snap @@ -14,7 +14,6 @@ ListStandardsControlAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_ListTagsForResource.go.snap b/service/securityhub/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/securityhub/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/securityhub/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_StartConfigurationPolicyAssociation.go.snap b/service/securityhub/snapshot/api_op_StartConfigurationPolicyAssociation.go.snap index 2ec6338607f..c5d0820afb8 100644 --- a/service/securityhub/snapshot/api_op_StartConfigurationPolicyAssociation.go.snap +++ b/service/securityhub/snapshot/api_op_StartConfigurationPolicyAssociation.go.snap @@ -14,7 +14,6 @@ StartConfigurationPolicyAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_StartConfigurationPolicyDisassociation.go.snap b/service/securityhub/snapshot/api_op_StartConfigurationPolicyDisassociation.go.snap index 9384aedd7bf..4c78708a041 100644 --- a/service/securityhub/snapshot/api_op_StartConfigurationPolicyDisassociation.go.snap +++ b/service/securityhub/snapshot/api_op_StartConfigurationPolicyDisassociation.go.snap @@ -14,7 +14,6 @@ StartConfigurationPolicyDisassociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_TagResource.go.snap b/service/securityhub/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/securityhub/snapshot/api_op_TagResource.go.snap +++ b/service/securityhub/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_UntagResource.go.snap b/service/securityhub/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/securityhub/snapshot/api_op_UntagResource.go.snap +++ b/service/securityhub/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_UpdateActionTarget.go.snap b/service/securityhub/snapshot/api_op_UpdateActionTarget.go.snap index 65d96bb1c77..313bbf24b34 100644 --- a/service/securityhub/snapshot/api_op_UpdateActionTarget.go.snap +++ b/service/securityhub/snapshot/api_op_UpdateActionTarget.go.snap @@ -14,7 +14,6 @@ UpdateActionTarget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_UpdateConfigurationPolicy.go.snap b/service/securityhub/snapshot/api_op_UpdateConfigurationPolicy.go.snap index 5f178d6ae8c..7fa77586e57 100644 --- a/service/securityhub/snapshot/api_op_UpdateConfigurationPolicy.go.snap +++ b/service/securityhub/snapshot/api_op_UpdateConfigurationPolicy.go.snap @@ -14,7 +14,6 @@ UpdateConfigurationPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_UpdateFindingAggregator.go.snap b/service/securityhub/snapshot/api_op_UpdateFindingAggregator.go.snap index 2ba90fb87ac..fa6f055602d 100644 --- a/service/securityhub/snapshot/api_op_UpdateFindingAggregator.go.snap +++ b/service/securityhub/snapshot/api_op_UpdateFindingAggregator.go.snap @@ -14,7 +14,6 @@ UpdateFindingAggregator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_UpdateFindings.go.snap b/service/securityhub/snapshot/api_op_UpdateFindings.go.snap index 6d56515c795..64a0b72b401 100644 --- a/service/securityhub/snapshot/api_op_UpdateFindings.go.snap +++ b/service/securityhub/snapshot/api_op_UpdateFindings.go.snap @@ -14,7 +14,6 @@ UpdateFindings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_UpdateInsight.go.snap b/service/securityhub/snapshot/api_op_UpdateInsight.go.snap index 422a6d33e0c..a2920edefa7 100644 --- a/service/securityhub/snapshot/api_op_UpdateInsight.go.snap +++ b/service/securityhub/snapshot/api_op_UpdateInsight.go.snap @@ -14,7 +14,6 @@ UpdateInsight Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_UpdateOrganizationConfiguration.go.snap b/service/securityhub/snapshot/api_op_UpdateOrganizationConfiguration.go.snap index 897c01e0cf2..21d5324cdbc 100644 --- a/service/securityhub/snapshot/api_op_UpdateOrganizationConfiguration.go.snap +++ b/service/securityhub/snapshot/api_op_UpdateOrganizationConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateOrganizationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_UpdateSecurityControl.go.snap b/service/securityhub/snapshot/api_op_UpdateSecurityControl.go.snap index ac19eb3115a..cd377766091 100644 --- a/service/securityhub/snapshot/api_op_UpdateSecurityControl.go.snap +++ b/service/securityhub/snapshot/api_op_UpdateSecurityControl.go.snap @@ -14,7 +14,6 @@ UpdateSecurityControl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_UpdateSecurityHubConfiguration.go.snap b/service/securityhub/snapshot/api_op_UpdateSecurityHubConfiguration.go.snap index dd4a3868685..b108e174098 100644 --- a/service/securityhub/snapshot/api_op_UpdateSecurityHubConfiguration.go.snap +++ b/service/securityhub/snapshot/api_op_UpdateSecurityHubConfiguration.go.snap @@ -13,7 +13,6 @@ UpdateSecurityHubConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityhub/snapshot/api_op_UpdateStandardsControl.go.snap b/service/securityhub/snapshot/api_op_UpdateStandardsControl.go.snap index 20535b2194b..9b8156c39e5 100644 --- a/service/securityhub/snapshot/api_op_UpdateStandardsControl.go.snap +++ b/service/securityhub/snapshot/api_op_UpdateStandardsControl.go.snap @@ -14,7 +14,6 @@ UpdateStandardsControl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityir/api_client.go b/service/securityir/api_client.go index 17a6fe66ee0..87ee164a91f 100644 --- a/service/securityir/api_client.go +++ b/service/securityir/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/securityir/api_op_BatchGetMemberAccountDetails.go b/service/securityir/api_op_BatchGetMemberAccountDetails.go index 63bd0403f4a..aa00f623551 100644 --- a/service/securityir/api_op_BatchGetMemberAccountDetails.go +++ b/service/securityir/api_op_BatchGetMemberAccountDetails.go @@ -124,9 +124,6 @@ func (c *Client) addOperationBatchGetMemberAccountDetailsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetMemberAccountDetailsValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityir/api_op_CancelMembership.go b/service/securityir/api_op_CancelMembership.go index 0c74e05cde9..c4017aaa79e 100644 --- a/service/securityir/api_op_CancelMembership.go +++ b/service/securityir/api_op_CancelMembership.go @@ -115,9 +115,6 @@ func (c *Client) addOperationCancelMembershipMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelMembershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityir/api_op_CloseCase.go b/service/securityir/api_op_CloseCase.go index 6d8b9623761..9e3d70b2da4 100644 --- a/service/securityir/api_op_CloseCase.go +++ b/service/securityir/api_op_CloseCase.go @@ -119,9 +119,6 @@ func (c *Client) addOperationCloseCaseMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCloseCaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityir/api_op_CreateCase.go b/service/securityir/api_op_CreateCase.go index baeabb0ded2..9200376c247 100644 --- a/service/securityir/api_op_CreateCase.go +++ b/service/securityir/api_op_CreateCase.go @@ -173,9 +173,6 @@ func (c *Client) addOperationCreateCaseMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateCaseMiddleware(stack, options); err != nil { return err } diff --git a/service/securityir/api_op_CreateCaseComment.go b/service/securityir/api_op_CreateCaseComment.go index 41912369bd8..5f0f1ea1919 100644 --- a/service/securityir/api_op_CreateCaseComment.go +++ b/service/securityir/api_op_CreateCaseComment.go @@ -123,9 +123,6 @@ func (c *Client) addOperationCreateCaseCommentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateCaseCommentMiddleware(stack, options); err != nil { return err } diff --git a/service/securityir/api_op_CreateMembership.go b/service/securityir/api_op_CreateMembership.go index 9215d99ac7d..a5e15577659 100644 --- a/service/securityir/api_op_CreateMembership.go +++ b/service/securityir/api_op_CreateMembership.go @@ -131,9 +131,6 @@ func (c *Client) addOperationCreateMembershipMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateMembershipMiddleware(stack, options); err != nil { return err } diff --git a/service/securityir/api_op_GetCase.go b/service/securityir/api_op_GetCase.go index e319b4cf34f..193a2602756 100644 --- a/service/securityir/api_op_GetCase.go +++ b/service/securityir/api_op_GetCase.go @@ -176,9 +176,6 @@ func (c *Client) addOperationGetCaseMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityir/api_op_GetCaseAttachmentDownloadUrl.go b/service/securityir/api_op_GetCaseAttachmentDownloadUrl.go index 1ad503a7cfc..5b4268fc9d0 100644 --- a/service/securityir/api_op_GetCaseAttachmentDownloadUrl.go +++ b/service/securityir/api_op_GetCaseAttachmentDownloadUrl.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetCaseAttachmentDownloadUrlMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCaseAttachmentDownloadUrlValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityir/api_op_GetCaseAttachmentUploadUrl.go b/service/securityir/api_op_GetCaseAttachmentUploadUrl.go index 961240c2cd1..68870ab4161 100644 --- a/service/securityir/api_op_GetCaseAttachmentUploadUrl.go +++ b/service/securityir/api_op_GetCaseAttachmentUploadUrl.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGetCaseAttachmentUploadUrlMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opGetCaseAttachmentUploadUrlMiddleware(stack, options); err != nil { return err } diff --git a/service/securityir/api_op_GetMembership.go b/service/securityir/api_op_GetMembership.go index 4766d2c2ed7..40ac6f57d52 100644 --- a/service/securityir/api_op_GetMembership.go +++ b/service/securityir/api_op_GetMembership.go @@ -156,9 +156,6 @@ func (c *Client) addOperationGetMembershipMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMembershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityir/api_op_ListCaseEdits.go b/service/securityir/api_op_ListCaseEdits.go index 318f6e29cfe..3ce700e2eff 100644 --- a/service/securityir/api_op_ListCaseEdits.go +++ b/service/securityir/api_op_ListCaseEdits.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListCaseEditsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCaseEditsValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityir/api_op_ListCases.go b/service/securityir/api_op_ListCases.go index 67ea9091856..f46bc3cb7a5 100644 --- a/service/securityir/api_op_ListCases.go +++ b/service/securityir/api_op_ListCases.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListCasesMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCases(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securityir/api_op_ListComments.go b/service/securityir/api_op_ListComments.go index 89b4e113638..309bbb29e14 100644 --- a/service/securityir/api_op_ListComments.go +++ b/service/securityir/api_op_ListComments.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListCommentsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCommentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityir/api_op_ListMemberships.go b/service/securityir/api_op_ListMemberships.go index c51cd1b6a48..7b91be0f593 100644 --- a/service/securityir/api_op_ListMemberships.go +++ b/service/securityir/api_op_ListMemberships.go @@ -117,9 +117,6 @@ func (c *Client) addOperationListMembershipsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMemberships(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securityir/api_op_ListTagsForResource.go b/service/securityir/api_op_ListTagsForResource.go index 2b696bee77c..4d4774961c2 100644 --- a/service/securityir/api_op_ListTagsForResource.go +++ b/service/securityir/api_op_ListTagsForResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityir/api_op_TagResource.go b/service/securityir/api_op_TagResource.go index 33f7d22eb33..044b17c2a71 100644 --- a/service/securityir/api_op_TagResource.go +++ b/service/securityir/api_op_TagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityir/api_op_UntagResource.go b/service/securityir/api_op_UntagResource.go index 0936e331662..c8484fc74cb 100644 --- a/service/securityir/api_op_UntagResource.go +++ b/service/securityir/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityir/api_op_UpdateCase.go b/service/securityir/api_op_UpdateCase.go index c0427b76641..83656553d1b 100644 --- a/service/securityir/api_op_UpdateCase.go +++ b/service/securityir/api_op_UpdateCase.go @@ -161,9 +161,6 @@ func (c *Client) addOperationUpdateCaseMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityir/api_op_UpdateCaseComment.go b/service/securityir/api_op_UpdateCaseComment.go index ed207975c5d..562c456bc33 100644 --- a/service/securityir/api_op_UpdateCaseComment.go +++ b/service/securityir/api_op_UpdateCaseComment.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateCaseCommentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCaseCommentValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityir/api_op_UpdateCaseStatus.go b/service/securityir/api_op_UpdateCaseStatus.go index bb369622f00..d1f0bbd9209 100644 --- a/service/securityir/api_op_UpdateCaseStatus.go +++ b/service/securityir/api_op_UpdateCaseStatus.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateCaseStatusMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCaseStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityir/api_op_UpdateMembership.go b/service/securityir/api_op_UpdateMembership.go index 473fd3df8e1..d4870a57e78 100644 --- a/service/securityir/api_op_UpdateMembership.go +++ b/service/securityir/api_op_UpdateMembership.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateMembershipMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMembershipValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityir/api_op_UpdateResolverType.go b/service/securityir/api_op_UpdateResolverType.go index 4f11cbdd104..56d1316e69a 100644 --- a/service/securityir/api_op_UpdateResolverType.go +++ b/service/securityir/api_op_UpdateResolverType.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateResolverTypeMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateResolverTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/securityir/snapshot/api_op_BatchGetMemberAccountDetails.go.snap b/service/securityir/snapshot/api_op_BatchGetMemberAccountDetails.go.snap index abaeb2c65d7..6991eda68ef 100644 --- a/service/securityir/snapshot/api_op_BatchGetMemberAccountDetails.go.snap +++ b/service/securityir/snapshot/api_op_BatchGetMemberAccountDetails.go.snap @@ -14,7 +14,6 @@ BatchGetMemberAccountDetails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityir/snapshot/api_op_CancelMembership.go.snap b/service/securityir/snapshot/api_op_CancelMembership.go.snap index ea284654f9b..6719726cc20 100644 --- a/service/securityir/snapshot/api_op_CancelMembership.go.snap +++ b/service/securityir/snapshot/api_op_CancelMembership.go.snap @@ -14,7 +14,6 @@ CancelMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityir/snapshot/api_op_CloseCase.go.snap b/service/securityir/snapshot/api_op_CloseCase.go.snap index d29af5a5d81..9bdba7ad619 100644 --- a/service/securityir/snapshot/api_op_CloseCase.go.snap +++ b/service/securityir/snapshot/api_op_CloseCase.go.snap @@ -14,7 +14,6 @@ CloseCase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityir/snapshot/api_op_CreateCase.go.snap b/service/securityir/snapshot/api_op_CreateCase.go.snap index 1a7f850bca4..5da4a85b846 100644 --- a/service/securityir/snapshot/api_op_CreateCase.go.snap +++ b/service/securityir/snapshot/api_op_CreateCase.go.snap @@ -15,7 +15,6 @@ CreateCase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityir/snapshot/api_op_CreateCaseComment.go.snap b/service/securityir/snapshot/api_op_CreateCaseComment.go.snap index 52911993be7..d89449c37a0 100644 --- a/service/securityir/snapshot/api_op_CreateCaseComment.go.snap +++ b/service/securityir/snapshot/api_op_CreateCaseComment.go.snap @@ -15,7 +15,6 @@ CreateCaseComment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityir/snapshot/api_op_CreateMembership.go.snap b/service/securityir/snapshot/api_op_CreateMembership.go.snap index f875ad733be..0dae6842c39 100644 --- a/service/securityir/snapshot/api_op_CreateMembership.go.snap +++ b/service/securityir/snapshot/api_op_CreateMembership.go.snap @@ -15,7 +15,6 @@ CreateMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityir/snapshot/api_op_GetCase.go.snap b/service/securityir/snapshot/api_op_GetCase.go.snap index a89b3cb49e3..67d37ad5735 100644 --- a/service/securityir/snapshot/api_op_GetCase.go.snap +++ b/service/securityir/snapshot/api_op_GetCase.go.snap @@ -14,7 +14,6 @@ GetCase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityir/snapshot/api_op_GetCaseAttachmentDownloadUrl.go.snap b/service/securityir/snapshot/api_op_GetCaseAttachmentDownloadUrl.go.snap index 08fddfa6e64..abfd0588f8f 100644 --- a/service/securityir/snapshot/api_op_GetCaseAttachmentDownloadUrl.go.snap +++ b/service/securityir/snapshot/api_op_GetCaseAttachmentDownloadUrl.go.snap @@ -14,7 +14,6 @@ GetCaseAttachmentDownloadUrl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityir/snapshot/api_op_GetCaseAttachmentUploadUrl.go.snap b/service/securityir/snapshot/api_op_GetCaseAttachmentUploadUrl.go.snap index 2c8d5fd0fee..80aa61c01fb 100644 --- a/service/securityir/snapshot/api_op_GetCaseAttachmentUploadUrl.go.snap +++ b/service/securityir/snapshot/api_op_GetCaseAttachmentUploadUrl.go.snap @@ -15,7 +15,6 @@ GetCaseAttachmentUploadUrl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityir/snapshot/api_op_GetMembership.go.snap b/service/securityir/snapshot/api_op_GetMembership.go.snap index dd253dcb7f1..d2037712295 100644 --- a/service/securityir/snapshot/api_op_GetMembership.go.snap +++ b/service/securityir/snapshot/api_op_GetMembership.go.snap @@ -14,7 +14,6 @@ GetMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityir/snapshot/api_op_ListCaseEdits.go.snap b/service/securityir/snapshot/api_op_ListCaseEdits.go.snap index c5a5c607b3a..44492a150e3 100644 --- a/service/securityir/snapshot/api_op_ListCaseEdits.go.snap +++ b/service/securityir/snapshot/api_op_ListCaseEdits.go.snap @@ -14,7 +14,6 @@ ListCaseEdits Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityir/snapshot/api_op_ListCases.go.snap b/service/securityir/snapshot/api_op_ListCases.go.snap index 0dd7dae7be3..7ca89088b52 100644 --- a/service/securityir/snapshot/api_op_ListCases.go.snap +++ b/service/securityir/snapshot/api_op_ListCases.go.snap @@ -13,7 +13,6 @@ ListCases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityir/snapshot/api_op_ListComments.go.snap b/service/securityir/snapshot/api_op_ListComments.go.snap index 29b40fda5d4..e7df095b99f 100644 --- a/service/securityir/snapshot/api_op_ListComments.go.snap +++ b/service/securityir/snapshot/api_op_ListComments.go.snap @@ -14,7 +14,6 @@ ListComments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityir/snapshot/api_op_ListMemberships.go.snap b/service/securityir/snapshot/api_op_ListMemberships.go.snap index 55469b8a8f4..dbbf472a51d 100644 --- a/service/securityir/snapshot/api_op_ListMemberships.go.snap +++ b/service/securityir/snapshot/api_op_ListMemberships.go.snap @@ -13,7 +13,6 @@ ListMemberships Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityir/snapshot/api_op_ListTagsForResource.go.snap b/service/securityir/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/securityir/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/securityir/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityir/snapshot/api_op_TagResource.go.snap b/service/securityir/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/securityir/snapshot/api_op_TagResource.go.snap +++ b/service/securityir/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityir/snapshot/api_op_UntagResource.go.snap b/service/securityir/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/securityir/snapshot/api_op_UntagResource.go.snap +++ b/service/securityir/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityir/snapshot/api_op_UpdateCase.go.snap b/service/securityir/snapshot/api_op_UpdateCase.go.snap index 06164ee70cb..8df700aa3d7 100644 --- a/service/securityir/snapshot/api_op_UpdateCase.go.snap +++ b/service/securityir/snapshot/api_op_UpdateCase.go.snap @@ -14,7 +14,6 @@ UpdateCase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityir/snapshot/api_op_UpdateCaseComment.go.snap b/service/securityir/snapshot/api_op_UpdateCaseComment.go.snap index 52d118e1f79..b0cc7fd91ac 100644 --- a/service/securityir/snapshot/api_op_UpdateCaseComment.go.snap +++ b/service/securityir/snapshot/api_op_UpdateCaseComment.go.snap @@ -14,7 +14,6 @@ UpdateCaseComment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityir/snapshot/api_op_UpdateCaseStatus.go.snap b/service/securityir/snapshot/api_op_UpdateCaseStatus.go.snap index 11f25f90928..aa933313254 100644 --- a/service/securityir/snapshot/api_op_UpdateCaseStatus.go.snap +++ b/service/securityir/snapshot/api_op_UpdateCaseStatus.go.snap @@ -14,7 +14,6 @@ UpdateCaseStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityir/snapshot/api_op_UpdateMembership.go.snap b/service/securityir/snapshot/api_op_UpdateMembership.go.snap index fe1c57838ed..7ef78367d40 100644 --- a/service/securityir/snapshot/api_op_UpdateMembership.go.snap +++ b/service/securityir/snapshot/api_op_UpdateMembership.go.snap @@ -14,7 +14,6 @@ UpdateMembership Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securityir/snapshot/api_op_UpdateResolverType.go.snap b/service/securityir/snapshot/api_op_UpdateResolverType.go.snap index 854c42394d5..b5caa899d71 100644 --- a/service/securityir/snapshot/api_op_UpdateResolverType.go.snap +++ b/service/securityir/snapshot/api_op_UpdateResolverType.go.snap @@ -14,7 +14,6 @@ UpdateResolverType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securitylake/api_client.go b/service/securitylake/api_client.go index 5b334fd9c91..b8aa2c3ae71 100644 --- a/service/securitylake/api_client.go +++ b/service/securitylake/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/securitylake/api_op_CreateAwsLogSource.go b/service/securitylake/api_op_CreateAwsLogSource.go index dcdf7431f21..1e1bd04ea16 100644 --- a/service/securitylake/api_op_CreateAwsLogSource.go +++ b/service/securitylake/api_op_CreateAwsLogSource.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCreateAwsLogSourceMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAwsLogSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_CreateCustomLogSource.go b/service/securitylake/api_op_CreateCustomLogSource.go index a0fd77ef22d..eb5e89c8fc9 100644 --- a/service/securitylake/api_op_CreateCustomLogSource.go +++ b/service/securitylake/api_op_CreateCustomLogSource.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreateCustomLogSourceMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCustomLogSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_CreateDataLake.go b/service/securitylake/api_op_CreateDataLake.go index 2edb2866f29..5c4d68a8eaa 100644 --- a/service/securitylake/api_op_CreateDataLake.go +++ b/service/securitylake/api_op_CreateDataLake.go @@ -142,9 +142,6 @@ func (c *Client) addOperationCreateDataLakeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDataLakeValidationMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_CreateDataLakeExceptionSubscription.go b/service/securitylake/api_op_CreateDataLakeExceptionSubscription.go index a4306c1ebf8..7805f730c55 100644 --- a/service/securitylake/api_op_CreateDataLakeExceptionSubscription.go +++ b/service/securitylake/api_op_CreateDataLakeExceptionSubscription.go @@ -119,9 +119,6 @@ func (c *Client) addOperationCreateDataLakeExceptionSubscriptionMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDataLakeExceptionSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_CreateDataLakeOrganizationConfiguration.go b/service/securitylake/api_op_CreateDataLakeOrganizationConfiguration.go index 4299ac87eb0..ccdc5bd7dd7 100644 --- a/service/securitylake/api_op_CreateDataLakeOrganizationConfiguration.go +++ b/service/securitylake/api_op_CreateDataLakeOrganizationConfiguration.go @@ -116,9 +116,6 @@ func (c *Client) addOperationCreateDataLakeOrganizationConfigurationMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDataLakeOrganizationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_CreateSubscriber.go b/service/securitylake/api_op_CreateSubscriber.go index 2dc09c63e45..063b7d00de1 100644 --- a/service/securitylake/api_op_CreateSubscriber.go +++ b/service/securitylake/api_op_CreateSubscriber.go @@ -138,9 +138,6 @@ func (c *Client) addOperationCreateSubscriberMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSubscriberValidationMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_CreateSubscriberNotification.go b/service/securitylake/api_op_CreateSubscriberNotification.go index 5ff8f614674..43b78f7fa5e 100644 --- a/service/securitylake/api_op_CreateSubscriberNotification.go +++ b/service/securitylake/api_op_CreateSubscriberNotification.go @@ -120,9 +120,6 @@ func (c *Client) addOperationCreateSubscriberNotificationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSubscriberNotificationValidationMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_DeleteAwsLogSource.go b/service/securitylake/api_op_DeleteAwsLogSource.go index 31133aa6056..986442e8119 100644 --- a/service/securitylake/api_op_DeleteAwsLogSource.go +++ b/service/securitylake/api_op_DeleteAwsLogSource.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteAwsLogSourceMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAwsLogSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_DeleteCustomLogSource.go b/service/securitylake/api_op_DeleteCustomLogSource.go index 757a71b3343..288fecb0f08 100644 --- a/service/securitylake/api_op_DeleteCustomLogSource.go +++ b/service/securitylake/api_op_DeleteCustomLogSource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteCustomLogSourceMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCustomLogSourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_DeleteDataLake.go b/service/securitylake/api_op_DeleteDataLake.go index 89be158f5b1..ebc82f5d422 100644 --- a/service/securitylake/api_op_DeleteDataLake.go +++ b/service/securitylake/api_op_DeleteDataLake.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteDataLakeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDataLakeValidationMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_DeleteDataLakeExceptionSubscription.go b/service/securitylake/api_op_DeleteDataLakeExceptionSubscription.go index 604a64a198f..06ef43330ff 100644 --- a/service/securitylake/api_op_DeleteDataLakeExceptionSubscription.go +++ b/service/securitylake/api_op_DeleteDataLakeExceptionSubscription.go @@ -102,9 +102,6 @@ func (c *Client) addOperationDeleteDataLakeExceptionSubscriptionMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDataLakeExceptionSubscription(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securitylake/api_op_DeleteDataLakeOrganizationConfiguration.go b/service/securitylake/api_op_DeleteDataLakeOrganizationConfiguration.go index 0ed1883da65..92243b77c65 100644 --- a/service/securitylake/api_op_DeleteDataLakeOrganizationConfiguration.go +++ b/service/securitylake/api_op_DeleteDataLakeOrganizationConfiguration.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteDataLakeOrganizationConfigurationMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDataLakeOrganizationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_DeleteSubscriber.go b/service/securitylake/api_op_DeleteSubscriber.go index d24ffabaf37..2f6fbbdedba 100644 --- a/service/securitylake/api_op_DeleteSubscriber.go +++ b/service/securitylake/api_op_DeleteSubscriber.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteSubscriberMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSubscriberValidationMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_DeleteSubscriberNotification.go b/service/securitylake/api_op_DeleteSubscriberNotification.go index e1743a89862..00c5a4d9844 100644 --- a/service/securitylake/api_op_DeleteSubscriberNotification.go +++ b/service/securitylake/api_op_DeleteSubscriberNotification.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteSubscriberNotificationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSubscriberNotificationValidationMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_DeregisterDataLakeDelegatedAdministrator.go b/service/securitylake/api_op_DeregisterDataLakeDelegatedAdministrator.go index 4161560414d..983606566d9 100644 --- a/service/securitylake/api_op_DeregisterDataLakeDelegatedAdministrator.go +++ b/service/securitylake/api_op_DeregisterDataLakeDelegatedAdministrator.go @@ -104,9 +104,6 @@ func (c *Client) addOperationDeregisterDataLakeDelegatedAdministratorMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeregisterDataLakeDelegatedAdministrator(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securitylake/api_op_GetDataLakeExceptionSubscription.go b/service/securitylake/api_op_GetDataLakeExceptionSubscription.go index 7e29059a2a3..d187da63e5d 100644 --- a/service/securitylake/api_op_GetDataLakeExceptionSubscription.go +++ b/service/securitylake/api_op_GetDataLakeExceptionSubscription.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetDataLakeExceptionSubscriptionMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDataLakeExceptionSubscription(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securitylake/api_op_GetDataLakeOrganizationConfiguration.go b/service/securitylake/api_op_GetDataLakeOrganizationConfiguration.go index 1d58ab42046..8ceb788454b 100644 --- a/service/securitylake/api_op_GetDataLakeOrganizationConfiguration.go +++ b/service/securitylake/api_op_GetDataLakeOrganizationConfiguration.go @@ -108,9 +108,6 @@ func (c *Client) addOperationGetDataLakeOrganizationConfigurationMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDataLakeOrganizationConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securitylake/api_op_GetDataLakeSources.go b/service/securitylake/api_op_GetDataLakeSources.go index d3917018fb7..2ffa1f2d653 100644 --- a/service/securitylake/api_op_GetDataLakeSources.go +++ b/service/securitylake/api_op_GetDataLakeSources.go @@ -140,9 +140,6 @@ func (c *Client) addOperationGetDataLakeSourcesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDataLakeSources(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securitylake/api_op_GetSubscriber.go b/service/securitylake/api_op_GetSubscriber.go index f861593ddb7..5f09a58ea4f 100644 --- a/service/securitylake/api_op_GetSubscriber.go +++ b/service/securitylake/api_op_GetSubscriber.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetSubscriberMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSubscriberValidationMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_ListDataLakeExceptions.go b/service/securitylake/api_op_ListDataLakeExceptions.go index b7bfb202efc..11243bfde8e 100644 --- a/service/securitylake/api_op_ListDataLakeExceptions.go +++ b/service/securitylake/api_op_ListDataLakeExceptions.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListDataLakeExceptionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataLakeExceptions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securitylake/api_op_ListDataLakes.go b/service/securitylake/api_op_ListDataLakes.go index be0fb65a997..ea41f1b0307 100644 --- a/service/securitylake/api_op_ListDataLakes.go +++ b/service/securitylake/api_op_ListDataLakes.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListDataLakesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataLakes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securitylake/api_op_ListLogSources.go b/service/securitylake/api_op_ListLogSources.go index 7ddb4130ecf..f910ae78195 100644 --- a/service/securitylake/api_op_ListLogSources.go +++ b/service/securitylake/api_op_ListLogSources.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListLogSourcesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLogSources(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securitylake/api_op_ListSubscribers.go b/service/securitylake/api_op_ListSubscribers.go index ea2be4d5ae9..77c0717ab19 100644 --- a/service/securitylake/api_op_ListSubscribers.go +++ b/service/securitylake/api_op_ListSubscribers.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListSubscribersMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSubscribers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/securitylake/api_op_ListTagsForResource.go b/service/securitylake/api_op_ListTagsForResource.go index 5127ecf56cb..afa8b5b68b8 100644 --- a/service/securitylake/api_op_ListTagsForResource.go +++ b/service/securitylake/api_op_ListTagsForResource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_RegisterDataLakeDelegatedAdministrator.go b/service/securitylake/api_op_RegisterDataLakeDelegatedAdministrator.go index ae75800edf4..d9a019b7f19 100644 --- a/service/securitylake/api_op_RegisterDataLakeDelegatedAdministrator.go +++ b/service/securitylake/api_op_RegisterDataLakeDelegatedAdministrator.go @@ -110,9 +110,6 @@ func (c *Client) addOperationRegisterDataLakeDelegatedAdministratorMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterDataLakeDelegatedAdministratorValidationMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_TagResource.go b/service/securitylake/api_op_TagResource.go index 19b93de0365..e06748277df 100644 --- a/service/securitylake/api_op_TagResource.go +++ b/service/securitylake/api_op_TagResource.go @@ -126,9 +126,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_UntagResource.go b/service/securitylake/api_op_UntagResource.go index 88356880098..31f6734fbc6 100644 --- a/service/securitylake/api_op_UntagResource.go +++ b/service/securitylake/api_op_UntagResource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_UpdateDataLake.go b/service/securitylake/api_op_UpdateDataLake.go index 461aef2f195..ffc5ee6de49 100644 --- a/service/securitylake/api_op_UpdateDataLake.go +++ b/service/securitylake/api_op_UpdateDataLake.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateDataLakeMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDataLakeValidationMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_UpdateDataLakeExceptionSubscription.go b/service/securitylake/api_op_UpdateDataLakeExceptionSubscription.go index 75a96e13541..7b7b87be842 100644 --- a/service/securitylake/api_op_UpdateDataLakeExceptionSubscription.go +++ b/service/securitylake/api_op_UpdateDataLakeExceptionSubscription.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUpdateDataLakeExceptionSubscriptionMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDataLakeExceptionSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_UpdateSubscriber.go b/service/securitylake/api_op_UpdateSubscriber.go index cd67151c64b..ede1823115f 100644 --- a/service/securitylake/api_op_UpdateSubscriber.go +++ b/service/securitylake/api_op_UpdateSubscriber.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUpdateSubscriberMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSubscriberValidationMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/api_op_UpdateSubscriberNotification.go b/service/securitylake/api_op_UpdateSubscriberNotification.go index 9c334f3eef5..6982cbf2d09 100644 --- a/service/securitylake/api_op_UpdateSubscriberNotification.go +++ b/service/securitylake/api_op_UpdateSubscriberNotification.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateSubscriberNotificationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSubscriberNotificationValidationMiddleware(stack); err != nil { return err } diff --git a/service/securitylake/snapshot/api_op_CreateAwsLogSource.go.snap b/service/securitylake/snapshot/api_op_CreateAwsLogSource.go.snap index 8958a614789..ceec31f8d79 100644 --- a/service/securitylake/snapshot/api_op_CreateAwsLogSource.go.snap +++ b/service/securitylake/snapshot/api_op_CreateAwsLogSource.go.snap @@ -14,7 +14,6 @@ CreateAwsLogSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securitylake/snapshot/api_op_CreateCustomLogSource.go.snap b/service/securitylake/snapshot/api_op_CreateCustomLogSource.go.snap index c2d0222fec1..907507e10ef 100644 --- a/service/securitylake/snapshot/api_op_CreateCustomLogSource.go.snap +++ b/service/securitylake/snapshot/api_op_CreateCustomLogSource.go.snap @@ -14,7 +14,6 @@ CreateCustomLogSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securitylake/snapshot/api_op_CreateDataLake.go.snap b/service/securitylake/snapshot/api_op_CreateDataLake.go.snap index 48d6d2b6e6f..5fa7600bfa3 100644 --- a/service/securitylake/snapshot/api_op_CreateDataLake.go.snap +++ b/service/securitylake/snapshot/api_op_CreateDataLake.go.snap @@ -14,7 +14,6 @@ CreateDataLake Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securitylake/snapshot/api_op_CreateDataLakeExceptionSubscription.go.snap b/service/securitylake/snapshot/api_op_CreateDataLakeExceptionSubscription.go.snap index 01de82eb639..7066760b058 100644 --- a/service/securitylake/snapshot/api_op_CreateDataLakeExceptionSubscription.go.snap +++ b/service/securitylake/snapshot/api_op_CreateDataLakeExceptionSubscription.go.snap @@ -14,7 +14,6 @@ CreateDataLakeExceptionSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securitylake/snapshot/api_op_CreateDataLakeOrganizationConfiguration.go.snap b/service/securitylake/snapshot/api_op_CreateDataLakeOrganizationConfiguration.go.snap index 5b4dd785969..0cffa1a0e38 100644 --- a/service/securitylake/snapshot/api_op_CreateDataLakeOrganizationConfiguration.go.snap +++ b/service/securitylake/snapshot/api_op_CreateDataLakeOrganizationConfiguration.go.snap @@ -14,7 +14,6 @@ CreateDataLakeOrganizationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securitylake/snapshot/api_op_CreateSubscriber.go.snap b/service/securitylake/snapshot/api_op_CreateSubscriber.go.snap index c464af2c651..bec71766ef2 100644 --- a/service/securitylake/snapshot/api_op_CreateSubscriber.go.snap +++ b/service/securitylake/snapshot/api_op_CreateSubscriber.go.snap @@ -14,7 +14,6 @@ CreateSubscriber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securitylake/snapshot/api_op_CreateSubscriberNotification.go.snap b/service/securitylake/snapshot/api_op_CreateSubscriberNotification.go.snap index d3ec10aa1ad..3e61ace30d3 100644 --- a/service/securitylake/snapshot/api_op_CreateSubscriberNotification.go.snap +++ b/service/securitylake/snapshot/api_op_CreateSubscriberNotification.go.snap @@ -14,7 +14,6 @@ CreateSubscriberNotification Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securitylake/snapshot/api_op_DeleteAwsLogSource.go.snap b/service/securitylake/snapshot/api_op_DeleteAwsLogSource.go.snap index b948d6b5927..0c3d3c6a476 100644 --- a/service/securitylake/snapshot/api_op_DeleteAwsLogSource.go.snap +++ b/service/securitylake/snapshot/api_op_DeleteAwsLogSource.go.snap @@ -14,7 +14,6 @@ DeleteAwsLogSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securitylake/snapshot/api_op_DeleteCustomLogSource.go.snap b/service/securitylake/snapshot/api_op_DeleteCustomLogSource.go.snap index cafffd5a786..58b2d348ba8 100644 --- a/service/securitylake/snapshot/api_op_DeleteCustomLogSource.go.snap +++ b/service/securitylake/snapshot/api_op_DeleteCustomLogSource.go.snap @@ -14,7 +14,6 @@ DeleteCustomLogSource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securitylake/snapshot/api_op_DeleteDataLake.go.snap b/service/securitylake/snapshot/api_op_DeleteDataLake.go.snap index f061ab07f0b..76aa64e30aa 100644 --- a/service/securitylake/snapshot/api_op_DeleteDataLake.go.snap +++ b/service/securitylake/snapshot/api_op_DeleteDataLake.go.snap @@ -14,7 +14,6 @@ DeleteDataLake Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securitylake/snapshot/api_op_DeleteDataLakeExceptionSubscription.go.snap b/service/securitylake/snapshot/api_op_DeleteDataLakeExceptionSubscription.go.snap index 5f1f6e0f1d8..378ba9d73d8 100644 --- a/service/securitylake/snapshot/api_op_DeleteDataLakeExceptionSubscription.go.snap +++ b/service/securitylake/snapshot/api_op_DeleteDataLakeExceptionSubscription.go.snap @@ -13,7 +13,6 @@ DeleteDataLakeExceptionSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securitylake/snapshot/api_op_DeleteDataLakeOrganizationConfiguration.go.snap b/service/securitylake/snapshot/api_op_DeleteDataLakeOrganizationConfiguration.go.snap index 0d124c213eb..428965dcf76 100644 --- a/service/securitylake/snapshot/api_op_DeleteDataLakeOrganizationConfiguration.go.snap +++ b/service/securitylake/snapshot/api_op_DeleteDataLakeOrganizationConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteDataLakeOrganizationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securitylake/snapshot/api_op_DeleteSubscriber.go.snap b/service/securitylake/snapshot/api_op_DeleteSubscriber.go.snap index a52adb4f490..b89437fca44 100644 --- a/service/securitylake/snapshot/api_op_DeleteSubscriber.go.snap +++ b/service/securitylake/snapshot/api_op_DeleteSubscriber.go.snap @@ -14,7 +14,6 @@ DeleteSubscriber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securitylake/snapshot/api_op_DeleteSubscriberNotification.go.snap b/service/securitylake/snapshot/api_op_DeleteSubscriberNotification.go.snap index bc6a519b2a9..627614ae677 100644 --- a/service/securitylake/snapshot/api_op_DeleteSubscriberNotification.go.snap +++ b/service/securitylake/snapshot/api_op_DeleteSubscriberNotification.go.snap @@ -14,7 +14,6 @@ DeleteSubscriberNotification Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securitylake/snapshot/api_op_DeregisterDataLakeDelegatedAdministrator.go.snap b/service/securitylake/snapshot/api_op_DeregisterDataLakeDelegatedAdministrator.go.snap index c4247d0dcb0..b979c6d2fa9 100644 --- a/service/securitylake/snapshot/api_op_DeregisterDataLakeDelegatedAdministrator.go.snap +++ b/service/securitylake/snapshot/api_op_DeregisterDataLakeDelegatedAdministrator.go.snap @@ -13,7 +13,6 @@ DeregisterDataLakeDelegatedAdministrator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securitylake/snapshot/api_op_GetDataLakeExceptionSubscription.go.snap b/service/securitylake/snapshot/api_op_GetDataLakeExceptionSubscription.go.snap index da31a3e57d5..6899a1c7ef4 100644 --- a/service/securitylake/snapshot/api_op_GetDataLakeExceptionSubscription.go.snap +++ b/service/securitylake/snapshot/api_op_GetDataLakeExceptionSubscription.go.snap @@ -13,7 +13,6 @@ GetDataLakeExceptionSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securitylake/snapshot/api_op_GetDataLakeOrganizationConfiguration.go.snap b/service/securitylake/snapshot/api_op_GetDataLakeOrganizationConfiguration.go.snap index 98b9748c5a3..0d7672db753 100644 --- a/service/securitylake/snapshot/api_op_GetDataLakeOrganizationConfiguration.go.snap +++ b/service/securitylake/snapshot/api_op_GetDataLakeOrganizationConfiguration.go.snap @@ -13,7 +13,6 @@ GetDataLakeOrganizationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securitylake/snapshot/api_op_GetDataLakeSources.go.snap b/service/securitylake/snapshot/api_op_GetDataLakeSources.go.snap index b8ae24ca1db..b0ef86db596 100644 --- a/service/securitylake/snapshot/api_op_GetDataLakeSources.go.snap +++ b/service/securitylake/snapshot/api_op_GetDataLakeSources.go.snap @@ -13,7 +13,6 @@ GetDataLakeSources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securitylake/snapshot/api_op_GetSubscriber.go.snap b/service/securitylake/snapshot/api_op_GetSubscriber.go.snap index aa8b190c40b..e06ba6c5ed0 100644 --- a/service/securitylake/snapshot/api_op_GetSubscriber.go.snap +++ b/service/securitylake/snapshot/api_op_GetSubscriber.go.snap @@ -14,7 +14,6 @@ GetSubscriber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securitylake/snapshot/api_op_ListDataLakeExceptions.go.snap b/service/securitylake/snapshot/api_op_ListDataLakeExceptions.go.snap index 32b259b754a..d15237d6633 100644 --- a/service/securitylake/snapshot/api_op_ListDataLakeExceptions.go.snap +++ b/service/securitylake/snapshot/api_op_ListDataLakeExceptions.go.snap @@ -13,7 +13,6 @@ ListDataLakeExceptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securitylake/snapshot/api_op_ListDataLakes.go.snap b/service/securitylake/snapshot/api_op_ListDataLakes.go.snap index 1f12e1f7eaa..6388a0a9826 100644 --- a/service/securitylake/snapshot/api_op_ListDataLakes.go.snap +++ b/service/securitylake/snapshot/api_op_ListDataLakes.go.snap @@ -13,7 +13,6 @@ ListDataLakes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securitylake/snapshot/api_op_ListLogSources.go.snap b/service/securitylake/snapshot/api_op_ListLogSources.go.snap index 74955783651..a449fa0dae0 100644 --- a/service/securitylake/snapshot/api_op_ListLogSources.go.snap +++ b/service/securitylake/snapshot/api_op_ListLogSources.go.snap @@ -13,7 +13,6 @@ ListLogSources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securitylake/snapshot/api_op_ListSubscribers.go.snap b/service/securitylake/snapshot/api_op_ListSubscribers.go.snap index a1ae7d64fe8..4004e63e0f1 100644 --- a/service/securitylake/snapshot/api_op_ListSubscribers.go.snap +++ b/service/securitylake/snapshot/api_op_ListSubscribers.go.snap @@ -13,7 +13,6 @@ ListSubscribers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securitylake/snapshot/api_op_ListTagsForResource.go.snap b/service/securitylake/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/securitylake/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/securitylake/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securitylake/snapshot/api_op_RegisterDataLakeDelegatedAdministrator.go.snap b/service/securitylake/snapshot/api_op_RegisterDataLakeDelegatedAdministrator.go.snap index 49112d2f043..e4c3694fa12 100644 --- a/service/securitylake/snapshot/api_op_RegisterDataLakeDelegatedAdministrator.go.snap +++ b/service/securitylake/snapshot/api_op_RegisterDataLakeDelegatedAdministrator.go.snap @@ -14,7 +14,6 @@ RegisterDataLakeDelegatedAdministrator Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securitylake/snapshot/api_op_TagResource.go.snap b/service/securitylake/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/securitylake/snapshot/api_op_TagResource.go.snap +++ b/service/securitylake/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securitylake/snapshot/api_op_UntagResource.go.snap b/service/securitylake/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/securitylake/snapshot/api_op_UntagResource.go.snap +++ b/service/securitylake/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securitylake/snapshot/api_op_UpdateDataLake.go.snap b/service/securitylake/snapshot/api_op_UpdateDataLake.go.snap index 5269ad0829e..1614a1187f3 100644 --- a/service/securitylake/snapshot/api_op_UpdateDataLake.go.snap +++ b/service/securitylake/snapshot/api_op_UpdateDataLake.go.snap @@ -14,7 +14,6 @@ UpdateDataLake Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securitylake/snapshot/api_op_UpdateDataLakeExceptionSubscription.go.snap b/service/securitylake/snapshot/api_op_UpdateDataLakeExceptionSubscription.go.snap index 187cabb9b99..7b4d4dfebcc 100644 --- a/service/securitylake/snapshot/api_op_UpdateDataLakeExceptionSubscription.go.snap +++ b/service/securitylake/snapshot/api_op_UpdateDataLakeExceptionSubscription.go.snap @@ -14,7 +14,6 @@ UpdateDataLakeExceptionSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securitylake/snapshot/api_op_UpdateSubscriber.go.snap b/service/securitylake/snapshot/api_op_UpdateSubscriber.go.snap index 44a7b63f38d..a9f3d9ecfc8 100644 --- a/service/securitylake/snapshot/api_op_UpdateSubscriber.go.snap +++ b/service/securitylake/snapshot/api_op_UpdateSubscriber.go.snap @@ -14,7 +14,6 @@ UpdateSubscriber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/securitylake/snapshot/api_op_UpdateSubscriberNotification.go.snap b/service/securitylake/snapshot/api_op_UpdateSubscriberNotification.go.snap index 5ef11fb5955..29223a6289e 100644 --- a/service/securitylake/snapshot/api_op_UpdateSubscriberNotification.go.snap +++ b/service/securitylake/snapshot/api_op_UpdateSubscriberNotification.go.snap @@ -14,7 +14,6 @@ UpdateSubscriberNotification Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/serverlessapplicationrepository/api_client.go b/service/serverlessapplicationrepository/api_client.go index e72aed08af4..b3854143b0b 100644 --- a/service/serverlessapplicationrepository/api_client.go +++ b/service/serverlessapplicationrepository/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/serverlessapplicationrepository/api_op_CreateApplication.go b/service/serverlessapplicationrepository/api_op_CreateApplication.go index 4d6f29d81ec..73162342d47 100644 --- a/service/serverlessapplicationrepository/api_op_CreateApplication.go +++ b/service/serverlessapplicationrepository/api_op_CreateApplication.go @@ -279,9 +279,6 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/serverlessapplicationrepository/api_op_CreateApplicationVersion.go b/service/serverlessapplicationrepository/api_op_CreateApplicationVersion.go index 1579643ac6b..65d7f8d83a1 100644 --- a/service/serverlessapplicationrepository/api_op_CreateApplicationVersion.go +++ b/service/serverlessapplicationrepository/api_op_CreateApplicationVersion.go @@ -201,9 +201,6 @@ func (c *Client) addOperationCreateApplicationVersionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateApplicationVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/serverlessapplicationrepository/api_op_CreateCloudFormationChangeSet.go b/service/serverlessapplicationrepository/api_op_CreateCloudFormationChangeSet.go index e0007af6554..07a139af966 100644 --- a/service/serverlessapplicationrepository/api_op_CreateCloudFormationChangeSet.go +++ b/service/serverlessapplicationrepository/api_op_CreateCloudFormationChangeSet.go @@ -233,9 +233,6 @@ func (c *Client) addOperationCreateCloudFormationChangeSetMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCloudFormationChangeSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/serverlessapplicationrepository/api_op_CreateCloudFormationTemplate.go b/service/serverlessapplicationrepository/api_op_CreateCloudFormationTemplate.go index 374e66ea0c7..c1afcd3a63f 100644 --- a/service/serverlessapplicationrepository/api_op_CreateCloudFormationTemplate.go +++ b/service/serverlessapplicationrepository/api_op_CreateCloudFormationTemplate.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCreateCloudFormationTemplateMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCloudFormationTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/serverlessapplicationrepository/api_op_DeleteApplication.go b/service/serverlessapplicationrepository/api_op_DeleteApplication.go index f88bd3ee566..abb02b82a2c 100644 --- a/service/serverlessapplicationrepository/api_op_DeleteApplication.go +++ b/service/serverlessapplicationrepository/api_op_DeleteApplication.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/serverlessapplicationrepository/api_op_GetApplication.go b/service/serverlessapplicationrepository/api_op_GetApplication.go index 70277f4d853..e5b29ebe6b5 100644 --- a/service/serverlessapplicationrepository/api_op_GetApplication.go +++ b/service/serverlessapplicationrepository/api_op_GetApplication.go @@ -176,9 +176,6 @@ func (c *Client) addOperationGetApplicationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/serverlessapplicationrepository/api_op_GetApplicationPolicy.go b/service/serverlessapplicationrepository/api_op_GetApplicationPolicy.go index d2c8dd1745a..65e6b36bab7 100644 --- a/service/serverlessapplicationrepository/api_op_GetApplicationPolicy.go +++ b/service/serverlessapplicationrepository/api_op_GetApplicationPolicy.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetApplicationPolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApplicationPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/serverlessapplicationrepository/api_op_GetCloudFormationTemplate.go b/service/serverlessapplicationrepository/api_op_GetCloudFormationTemplate.go index d9fc7aa22f1..831427c7146 100644 --- a/service/serverlessapplicationrepository/api_op_GetCloudFormationTemplate.go +++ b/service/serverlessapplicationrepository/api_op_GetCloudFormationTemplate.go @@ -148,9 +148,6 @@ func (c *Client) addOperationGetCloudFormationTemplateMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCloudFormationTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/serverlessapplicationrepository/api_op_ListApplicationDependencies.go b/service/serverlessapplicationrepository/api_op_ListApplicationDependencies.go index 856517f7e71..0ef5645773b 100644 --- a/service/serverlessapplicationrepository/api_op_ListApplicationDependencies.go +++ b/service/serverlessapplicationrepository/api_op_ListApplicationDependencies.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListApplicationDependenciesMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListApplicationDependenciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/serverlessapplicationrepository/api_op_ListApplicationVersions.go b/service/serverlessapplicationrepository/api_op_ListApplicationVersions.go index bb6e2e03385..8bd73822dbf 100644 --- a/service/serverlessapplicationrepository/api_op_ListApplicationVersions.go +++ b/service/serverlessapplicationrepository/api_op_ListApplicationVersions.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListApplicationVersionsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListApplicationVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/serverlessapplicationrepository/api_op_ListApplications.go b/service/serverlessapplicationrepository/api_op_ListApplications.go index 5f8dba84e52..f31f04cb956 100644 --- a/service/serverlessapplicationrepository/api_op_ListApplications.go +++ b/service/serverlessapplicationrepository/api_op_ListApplications.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListApplicationsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplications(options.Region), middleware.Before); err != nil { return err } diff --git a/service/serverlessapplicationrepository/api_op_PutApplicationPolicy.go b/service/serverlessapplicationrepository/api_op_PutApplicationPolicy.go index ac68ecbe8b8..47bb8d7ab54 100644 --- a/service/serverlessapplicationrepository/api_op_PutApplicationPolicy.go +++ b/service/serverlessapplicationrepository/api_op_PutApplicationPolicy.go @@ -120,9 +120,6 @@ func (c *Client) addOperationPutApplicationPolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutApplicationPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/serverlessapplicationrepository/api_op_UnshareApplication.go b/service/serverlessapplicationrepository/api_op_UnshareApplication.go index 29aabad2f18..bc3d06df8bd 100644 --- a/service/serverlessapplicationrepository/api_op_UnshareApplication.go +++ b/service/serverlessapplicationrepository/api_op_UnshareApplication.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUnshareApplicationMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUnshareApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/serverlessapplicationrepository/api_op_UpdateApplication.go b/service/serverlessapplicationrepository/api_op_UpdateApplication.go index 1db34c05266..3ee25743477 100644 --- a/service/serverlessapplicationrepository/api_op_UpdateApplication.go +++ b/service/serverlessapplicationrepository/api_op_UpdateApplication.go @@ -208,9 +208,6 @@ func (c *Client) addOperationUpdateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/serverlessapplicationrepository/snapshot/api_op_CreateApplication.go.snap b/service/serverlessapplicationrepository/snapshot/api_op_CreateApplication.go.snap index 503ca240c75..7174d11f956 100644 --- a/service/serverlessapplicationrepository/snapshot/api_op_CreateApplication.go.snap +++ b/service/serverlessapplicationrepository/snapshot/api_op_CreateApplication.go.snap @@ -14,7 +14,6 @@ CreateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/serverlessapplicationrepository/snapshot/api_op_CreateApplicationVersion.go.snap b/service/serverlessapplicationrepository/snapshot/api_op_CreateApplicationVersion.go.snap index 1bb4f791891..55a4a438d0f 100644 --- a/service/serverlessapplicationrepository/snapshot/api_op_CreateApplicationVersion.go.snap +++ b/service/serverlessapplicationrepository/snapshot/api_op_CreateApplicationVersion.go.snap @@ -14,7 +14,6 @@ CreateApplicationVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/serverlessapplicationrepository/snapshot/api_op_CreateCloudFormationChangeSet.go.snap b/service/serverlessapplicationrepository/snapshot/api_op_CreateCloudFormationChangeSet.go.snap index 974a886d4f3..eae808e2f80 100644 --- a/service/serverlessapplicationrepository/snapshot/api_op_CreateCloudFormationChangeSet.go.snap +++ b/service/serverlessapplicationrepository/snapshot/api_op_CreateCloudFormationChangeSet.go.snap @@ -14,7 +14,6 @@ CreateCloudFormationChangeSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/serverlessapplicationrepository/snapshot/api_op_CreateCloudFormationTemplate.go.snap b/service/serverlessapplicationrepository/snapshot/api_op_CreateCloudFormationTemplate.go.snap index 459530818f6..8248f69c84b 100644 --- a/service/serverlessapplicationrepository/snapshot/api_op_CreateCloudFormationTemplate.go.snap +++ b/service/serverlessapplicationrepository/snapshot/api_op_CreateCloudFormationTemplate.go.snap @@ -14,7 +14,6 @@ CreateCloudFormationTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/serverlessapplicationrepository/snapshot/api_op_DeleteApplication.go.snap b/service/serverlessapplicationrepository/snapshot/api_op_DeleteApplication.go.snap index 80790355ed5..ffda37a527f 100644 --- a/service/serverlessapplicationrepository/snapshot/api_op_DeleteApplication.go.snap +++ b/service/serverlessapplicationrepository/snapshot/api_op_DeleteApplication.go.snap @@ -14,7 +14,6 @@ DeleteApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/serverlessapplicationrepository/snapshot/api_op_GetApplication.go.snap b/service/serverlessapplicationrepository/snapshot/api_op_GetApplication.go.snap index 3307f56eb00..ffc8b0228f7 100644 --- a/service/serverlessapplicationrepository/snapshot/api_op_GetApplication.go.snap +++ b/service/serverlessapplicationrepository/snapshot/api_op_GetApplication.go.snap @@ -14,7 +14,6 @@ GetApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/serverlessapplicationrepository/snapshot/api_op_GetApplicationPolicy.go.snap b/service/serverlessapplicationrepository/snapshot/api_op_GetApplicationPolicy.go.snap index 0b1df715952..ab1a0658cfe 100644 --- a/service/serverlessapplicationrepository/snapshot/api_op_GetApplicationPolicy.go.snap +++ b/service/serverlessapplicationrepository/snapshot/api_op_GetApplicationPolicy.go.snap @@ -14,7 +14,6 @@ GetApplicationPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/serverlessapplicationrepository/snapshot/api_op_GetCloudFormationTemplate.go.snap b/service/serverlessapplicationrepository/snapshot/api_op_GetCloudFormationTemplate.go.snap index 707050f4d17..55ac54d9780 100644 --- a/service/serverlessapplicationrepository/snapshot/api_op_GetCloudFormationTemplate.go.snap +++ b/service/serverlessapplicationrepository/snapshot/api_op_GetCloudFormationTemplate.go.snap @@ -14,7 +14,6 @@ GetCloudFormationTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/serverlessapplicationrepository/snapshot/api_op_ListApplicationDependencies.go.snap b/service/serverlessapplicationrepository/snapshot/api_op_ListApplicationDependencies.go.snap index 46e3384bc38..3a2fa6ea955 100644 --- a/service/serverlessapplicationrepository/snapshot/api_op_ListApplicationDependencies.go.snap +++ b/service/serverlessapplicationrepository/snapshot/api_op_ListApplicationDependencies.go.snap @@ -14,7 +14,6 @@ ListApplicationDependencies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/serverlessapplicationrepository/snapshot/api_op_ListApplicationVersions.go.snap b/service/serverlessapplicationrepository/snapshot/api_op_ListApplicationVersions.go.snap index 84ef074f555..4c84b5d18d0 100644 --- a/service/serverlessapplicationrepository/snapshot/api_op_ListApplicationVersions.go.snap +++ b/service/serverlessapplicationrepository/snapshot/api_op_ListApplicationVersions.go.snap @@ -14,7 +14,6 @@ ListApplicationVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/serverlessapplicationrepository/snapshot/api_op_ListApplications.go.snap b/service/serverlessapplicationrepository/snapshot/api_op_ListApplications.go.snap index e18746bd34f..6029195b8e8 100644 --- a/service/serverlessapplicationrepository/snapshot/api_op_ListApplications.go.snap +++ b/service/serverlessapplicationrepository/snapshot/api_op_ListApplications.go.snap @@ -13,7 +13,6 @@ ListApplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/serverlessapplicationrepository/snapshot/api_op_PutApplicationPolicy.go.snap b/service/serverlessapplicationrepository/snapshot/api_op_PutApplicationPolicy.go.snap index 8c75f0975a8..84336eaef2f 100644 --- a/service/serverlessapplicationrepository/snapshot/api_op_PutApplicationPolicy.go.snap +++ b/service/serverlessapplicationrepository/snapshot/api_op_PutApplicationPolicy.go.snap @@ -14,7 +14,6 @@ PutApplicationPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/serverlessapplicationrepository/snapshot/api_op_UnshareApplication.go.snap b/service/serverlessapplicationrepository/snapshot/api_op_UnshareApplication.go.snap index c52c02a6c82..31d858939a1 100644 --- a/service/serverlessapplicationrepository/snapshot/api_op_UnshareApplication.go.snap +++ b/service/serverlessapplicationrepository/snapshot/api_op_UnshareApplication.go.snap @@ -14,7 +14,6 @@ UnshareApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/serverlessapplicationrepository/snapshot/api_op_UpdateApplication.go.snap b/service/serverlessapplicationrepository/snapshot/api_op_UpdateApplication.go.snap index 5ec4c02edff..d4e2fa4991a 100644 --- a/service/serverlessapplicationrepository/snapshot/api_op_UpdateApplication.go.snap +++ b/service/serverlessapplicationrepository/snapshot/api_op_UpdateApplication.go.snap @@ -14,7 +14,6 @@ UpdateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/api_client.go b/service/servicecatalog/api_client.go index 65b4b6a4961..9d36f22d1db 100644 --- a/service/servicecatalog/api_client.go +++ b/service/servicecatalog/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/servicecatalog/api_op_AcceptPortfolioShare.go b/service/servicecatalog/api_op_AcceptPortfolioShare.go index 858e24e3a59..781e1001f85 100644 --- a/service/servicecatalog/api_op_AcceptPortfolioShare.go +++ b/service/servicecatalog/api_op_AcceptPortfolioShare.go @@ -129,9 +129,6 @@ func (c *Client) addOperationAcceptPortfolioShareMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptPortfolioShareValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_AssociateBudgetWithResource.go b/service/servicecatalog/api_op_AssociateBudgetWithResource.go index 4fd7b79cc90..66da1c788db 100644 --- a/service/servicecatalog/api_op_AssociateBudgetWithResource.go +++ b/service/servicecatalog/api_op_AssociateBudgetWithResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationAssociateBudgetWithResourceMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateBudgetWithResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_AssociatePrincipalWithPortfolio.go b/service/servicecatalog/api_op_AssociatePrincipalWithPortfolio.go index 18708067957..077e7c76361 100644 --- a/service/servicecatalog/api_op_AssociatePrincipalWithPortfolio.go +++ b/service/servicecatalog/api_op_AssociatePrincipalWithPortfolio.go @@ -193,9 +193,6 @@ func (c *Client) addOperationAssociatePrincipalWithPortfolioMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociatePrincipalWithPortfolioValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_AssociateProductWithPortfolio.go b/service/servicecatalog/api_op_AssociateProductWithPortfolio.go index 9e52d8ecf36..e43d82eb8fe 100644 --- a/service/servicecatalog/api_op_AssociateProductWithPortfolio.go +++ b/service/servicecatalog/api_op_AssociateProductWithPortfolio.go @@ -124,9 +124,6 @@ func (c *Client) addOperationAssociateProductWithPortfolioMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateProductWithPortfolioValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_AssociateServiceActionWithProvisioningArtifact.go b/service/servicecatalog/api_op_AssociateServiceActionWithProvisioningArtifact.go index daf5b65cff0..4f65aedac8b 100644 --- a/service/servicecatalog/api_op_AssociateServiceActionWithProvisioningArtifact.go +++ b/service/servicecatalog/api_op_AssociateServiceActionWithProvisioningArtifact.go @@ -129,9 +129,6 @@ func (c *Client) addOperationAssociateServiceActionWithProvisioningArtifactMiddl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opAssociateServiceActionWithProvisioningArtifactMiddleware(stack, options); err != nil { return err } diff --git a/service/servicecatalog/api_op_AssociateTagOptionWithResource.go b/service/servicecatalog/api_op_AssociateTagOptionWithResource.go index bc71390a38c..d2ca713e574 100644 --- a/service/servicecatalog/api_op_AssociateTagOptionWithResource.go +++ b/service/servicecatalog/api_op_AssociateTagOptionWithResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationAssociateTagOptionWithResourceMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateTagOptionWithResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_BatchAssociateServiceActionWithProvisioningArtifact.go b/service/servicecatalog/api_op_BatchAssociateServiceActionWithProvisioningArtifact.go index ee23c2fe72e..cc7d03cc83b 100644 --- a/service/servicecatalog/api_op_BatchAssociateServiceActionWithProvisioningArtifact.go +++ b/service/servicecatalog/api_op_BatchAssociateServiceActionWithProvisioningArtifact.go @@ -121,9 +121,6 @@ func (c *Client) addOperationBatchAssociateServiceActionWithProvisioningArtifact if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchAssociateServiceActionWithProvisioningArtifactValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_BatchDisassociateServiceActionFromProvisioningArtifact.go b/service/servicecatalog/api_op_BatchDisassociateServiceActionFromProvisioningArtifact.go index 92f081e673c..10e0a81fa62 100644 --- a/service/servicecatalog/api_op_BatchDisassociateServiceActionFromProvisioningArtifact.go +++ b/service/servicecatalog/api_op_BatchDisassociateServiceActionFromProvisioningArtifact.go @@ -122,9 +122,6 @@ func (c *Client) addOperationBatchDisassociateServiceActionFromProvisioningArtif if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDisassociateServiceActionFromProvisioningArtifactValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_CopyProduct.go b/service/servicecatalog/api_op_CopyProduct.go index 8e5cb441a2f..269826ba7d0 100644 --- a/service/servicecatalog/api_op_CopyProduct.go +++ b/service/servicecatalog/api_op_CopyProduct.go @@ -148,9 +148,6 @@ func (c *Client) addOperationCopyProductMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCopyProductMiddleware(stack, options); err != nil { return err } diff --git a/service/servicecatalog/api_op_CreateConstraint.go b/service/servicecatalog/api_op_CreateConstraint.go index cdec1aa25a0..e2747afa5ba 100644 --- a/service/servicecatalog/api_op_CreateConstraint.go +++ b/service/servicecatalog/api_op_CreateConstraint.go @@ -214,9 +214,6 @@ func (c *Client) addOperationCreateConstraintMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateConstraintMiddleware(stack, options); err != nil { return err } diff --git a/service/servicecatalog/api_op_CreatePortfolio.go b/service/servicecatalog/api_op_CreatePortfolio.go index 94a417fc085..a103791ef1c 100644 --- a/service/servicecatalog/api_op_CreatePortfolio.go +++ b/service/servicecatalog/api_op_CreatePortfolio.go @@ -142,9 +142,6 @@ func (c *Client) addOperationCreatePortfolioMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreatePortfolioMiddleware(stack, options); err != nil { return err } diff --git a/service/servicecatalog/api_op_CreatePortfolioShare.go b/service/servicecatalog/api_op_CreatePortfolioShare.go index 78259835406..7aa3010ec07 100644 --- a/service/servicecatalog/api_op_CreatePortfolioShare.go +++ b/service/servicecatalog/api_op_CreatePortfolioShare.go @@ -175,9 +175,6 @@ func (c *Client) addOperationCreatePortfolioShareMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePortfolioShareValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_CreateProduct.go b/service/servicecatalog/api_op_CreateProduct.go index 65bae191ff5..9d2539073a0 100644 --- a/service/servicecatalog/api_op_CreateProduct.go +++ b/service/servicecatalog/api_op_CreateProduct.go @@ -182,9 +182,6 @@ func (c *Client) addOperationCreateProductMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateProductMiddleware(stack, options); err != nil { return err } diff --git a/service/servicecatalog/api_op_CreateProvisionedProductPlan.go b/service/servicecatalog/api_op_CreateProvisionedProductPlan.go index bfba23f9f3f..61a8eaab0b0 100644 --- a/service/servicecatalog/api_op_CreateProvisionedProductPlan.go +++ b/service/servicecatalog/api_op_CreateProvisionedProductPlan.go @@ -190,9 +190,6 @@ func (c *Client) addOperationCreateProvisionedProductPlanMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateProvisionedProductPlanMiddleware(stack, options); err != nil { return err } diff --git a/service/servicecatalog/api_op_CreateProvisioningArtifact.go b/service/servicecatalog/api_op_CreateProvisioningArtifact.go index 52137fd1737..81ca7b7eeb2 100644 --- a/service/servicecatalog/api_op_CreateProvisioningArtifact.go +++ b/service/servicecatalog/api_op_CreateProvisioningArtifact.go @@ -160,9 +160,6 @@ func (c *Client) addOperationCreateProvisioningArtifactMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateProvisioningArtifactMiddleware(stack, options); err != nil { return err } diff --git a/service/servicecatalog/api_op_CreateServiceAction.go b/service/servicecatalog/api_op_CreateServiceAction.go index 0c879e35a95..52c9c8fb948 100644 --- a/service/servicecatalog/api_op_CreateServiceAction.go +++ b/service/servicecatalog/api_op_CreateServiceAction.go @@ -160,9 +160,6 @@ func (c *Client) addOperationCreateServiceActionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateServiceActionMiddleware(stack, options); err != nil { return err } diff --git a/service/servicecatalog/api_op_CreateTagOption.go b/service/servicecatalog/api_op_CreateTagOption.go index f74ac64c8bb..910aab74bab 100644 --- a/service/servicecatalog/api_op_CreateTagOption.go +++ b/service/servicecatalog/api_op_CreateTagOption.go @@ -117,9 +117,6 @@ func (c *Client) addOperationCreateTagOptionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTagOptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DeleteConstraint.go b/service/servicecatalog/api_op_DeleteConstraint.go index 13254a9870e..db8b7f8745d 100644 --- a/service/servicecatalog/api_op_DeleteConstraint.go +++ b/service/servicecatalog/api_op_DeleteConstraint.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteConstraintMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConstraintValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DeletePortfolio.go b/service/servicecatalog/api_op_DeletePortfolio.go index 65a8aac3037..202f004d41c 100644 --- a/service/servicecatalog/api_op_DeletePortfolio.go +++ b/service/servicecatalog/api_op_DeletePortfolio.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeletePortfolioMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePortfolioValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DeletePortfolioShare.go b/service/servicecatalog/api_op_DeletePortfolioShare.go index d3ff66855e8..f6bdcc2c019 100644 --- a/service/servicecatalog/api_op_DeletePortfolioShare.go +++ b/service/servicecatalog/api_op_DeletePortfolioShare.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDeletePortfolioShareMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePortfolioShareValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DeleteProduct.go b/service/servicecatalog/api_op_DeleteProduct.go index 51e0af195df..c841b305a56 100644 --- a/service/servicecatalog/api_op_DeleteProduct.go +++ b/service/servicecatalog/api_op_DeleteProduct.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteProductMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProductValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DeleteProvisionedProductPlan.go b/service/servicecatalog/api_op_DeleteProvisionedProductPlan.go index f950c3fbf4b..8957d7d689f 100644 --- a/service/servicecatalog/api_op_DeleteProvisionedProductPlan.go +++ b/service/servicecatalog/api_op_DeleteProvisionedProductPlan.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteProvisionedProductPlanMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProvisionedProductPlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DeleteProvisioningArtifact.go b/service/servicecatalog/api_op_DeleteProvisioningArtifact.go index 2d57db119b9..f691fbb1734 100644 --- a/service/servicecatalog/api_op_DeleteProvisioningArtifact.go +++ b/service/servicecatalog/api_op_DeleteProvisioningArtifact.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteProvisioningArtifactMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProvisioningArtifactValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DeleteServiceAction.go b/service/servicecatalog/api_op_DeleteServiceAction.go index d49c66e534b..998fe433586 100644 --- a/service/servicecatalog/api_op_DeleteServiceAction.go +++ b/service/servicecatalog/api_op_DeleteServiceAction.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteServiceActionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteServiceActionMiddleware(stack, options); err != nil { return err } diff --git a/service/servicecatalog/api_op_DeleteTagOption.go b/service/servicecatalog/api_op_DeleteTagOption.go index 856b46e559a..def2124dc31 100644 --- a/service/servicecatalog/api_op_DeleteTagOption.go +++ b/service/servicecatalog/api_op_DeleteTagOption.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteTagOptionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTagOptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DescribeConstraint.go b/service/servicecatalog/api_op_DescribeConstraint.go index bd504bfae62..c8106a1ec52 100644 --- a/service/servicecatalog/api_op_DescribeConstraint.go +++ b/service/servicecatalog/api_op_DescribeConstraint.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribeConstraintMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeConstraintValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DescribeCopyProductStatus.go b/service/servicecatalog/api_op_DescribeCopyProductStatus.go index 728377dae47..19ab3b031da 100644 --- a/service/servicecatalog/api_op_DescribeCopyProductStatus.go +++ b/service/servicecatalog/api_op_DescribeCopyProductStatus.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribeCopyProductStatusMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCopyProductStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DescribePortfolio.go b/service/servicecatalog/api_op_DescribePortfolio.go index 1cde33a1d23..faa7dd2cb24 100644 --- a/service/servicecatalog/api_op_DescribePortfolio.go +++ b/service/servicecatalog/api_op_DescribePortfolio.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribePortfolioMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePortfolioValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DescribePortfolioShareStatus.go b/service/servicecatalog/api_op_DescribePortfolioShareStatus.go index 63824da98ed..1bb7e9eb101 100644 --- a/service/servicecatalog/api_op_DescribePortfolioShareStatus.go +++ b/service/servicecatalog/api_op_DescribePortfolioShareStatus.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribePortfolioShareStatusMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePortfolioShareStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DescribePortfolioShares.go b/service/servicecatalog/api_op_DescribePortfolioShares.go index 73dc7f469b7..102e7e92da2 100644 --- a/service/servicecatalog/api_op_DescribePortfolioShares.go +++ b/service/servicecatalog/api_op_DescribePortfolioShares.go @@ -146,9 +146,6 @@ func (c *Client) addOperationDescribePortfolioSharesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePortfolioSharesValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DescribeProduct.go b/service/servicecatalog/api_op_DescribeProduct.go index c2308a339e0..57322b4942e 100644 --- a/service/servicecatalog/api_op_DescribeProduct.go +++ b/service/servicecatalog/api_op_DescribeProduct.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeProductMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProduct(options.Region), middleware.Before); err != nil { return err } diff --git a/service/servicecatalog/api_op_DescribeProductAsAdmin.go b/service/servicecatalog/api_op_DescribeProductAsAdmin.go index 1a34036f576..12c065aa335 100644 --- a/service/servicecatalog/api_op_DescribeProductAsAdmin.go +++ b/service/servicecatalog/api_op_DescribeProductAsAdmin.go @@ -143,9 +143,6 @@ func (c *Client) addOperationDescribeProductAsAdminMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProductAsAdmin(options.Region), middleware.Before); err != nil { return err } diff --git a/service/servicecatalog/api_op_DescribeProductView.go b/service/servicecatalog/api_op_DescribeProductView.go index 2641afdbee8..2496dc7fe19 100644 --- a/service/servicecatalog/api_op_DescribeProductView.go +++ b/service/servicecatalog/api_op_DescribeProductView.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeProductViewMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeProductViewValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DescribeProvisionedProduct.go b/service/servicecatalog/api_op_DescribeProvisionedProduct.go index 068dd4581df..3ef9a799e5e 100644 --- a/service/servicecatalog/api_op_DescribeProvisionedProduct.go +++ b/service/servicecatalog/api_op_DescribeProvisionedProduct.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDescribeProvisionedProductMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProvisionedProduct(options.Region), middleware.Before); err != nil { return err } diff --git a/service/servicecatalog/api_op_DescribeProvisionedProductPlan.go b/service/servicecatalog/api_op_DescribeProvisionedProductPlan.go index 234748283c1..f1d9d9f7819 100644 --- a/service/servicecatalog/api_op_DescribeProvisionedProductPlan.go +++ b/service/servicecatalog/api_op_DescribeProvisionedProductPlan.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeProvisionedProductPlanMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeProvisionedProductPlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DescribeProvisioningArtifact.go b/service/servicecatalog/api_op_DescribeProvisioningArtifact.go index 47acd309377..9a867c26928 100644 --- a/service/servicecatalog/api_op_DescribeProvisioningArtifact.go +++ b/service/servicecatalog/api_op_DescribeProvisioningArtifact.go @@ -143,9 +143,6 @@ func (c *Client) addOperationDescribeProvisioningArtifactMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProvisioningArtifact(options.Region), middleware.Before); err != nil { return err } diff --git a/service/servicecatalog/api_op_DescribeProvisioningParameters.go b/service/servicecatalog/api_op_DescribeProvisioningParameters.go index 10035b68bb2..dcb2264db42 100644 --- a/service/servicecatalog/api_op_DescribeProvisioningParameters.go +++ b/service/servicecatalog/api_op_DescribeProvisioningParameters.go @@ -169,9 +169,6 @@ func (c *Client) addOperationDescribeProvisioningParametersMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProvisioningParameters(options.Region), middleware.Before); err != nil { return err } diff --git a/service/servicecatalog/api_op_DescribeRecord.go b/service/servicecatalog/api_op_DescribeRecord.go index a3109c8a870..b2fbda44e2f 100644 --- a/service/servicecatalog/api_op_DescribeRecord.go +++ b/service/servicecatalog/api_op_DescribeRecord.go @@ -143,9 +143,6 @@ func (c *Client) addOperationDescribeRecordMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRecordValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DescribeServiceAction.go b/service/servicecatalog/api_op_DescribeServiceAction.go index 52752ac51ad..bc51812bc1e 100644 --- a/service/servicecatalog/api_op_DescribeServiceAction.go +++ b/service/servicecatalog/api_op_DescribeServiceAction.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeServiceActionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeServiceActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DescribeServiceActionExecutionParameters.go b/service/servicecatalog/api_op_DescribeServiceActionExecutionParameters.go index 6e14c44c070..e608b0ea437 100644 --- a/service/servicecatalog/api_op_DescribeServiceActionExecutionParameters.go +++ b/service/servicecatalog/api_op_DescribeServiceActionExecutionParameters.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribeServiceActionExecutionParametersMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeServiceActionExecutionParametersValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DescribeTagOption.go b/service/servicecatalog/api_op_DescribeTagOption.go index f2fcf1a03f9..8e257e9fbed 100644 --- a/service/servicecatalog/api_op_DescribeTagOption.go +++ b/service/servicecatalog/api_op_DescribeTagOption.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDescribeTagOptionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTagOptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DisableAWSOrganizationsAccess.go b/service/servicecatalog/api_op_DisableAWSOrganizationsAccess.go index 37bee206828..3450c57abd2 100644 --- a/service/servicecatalog/api_op_DisableAWSOrganizationsAccess.go +++ b/service/servicecatalog/api_op_DisableAWSOrganizationsAccess.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDisableAWSOrganizationsAccessMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableAWSOrganizationsAccess(options.Region), middleware.Before); err != nil { return err } diff --git a/service/servicecatalog/api_op_DisassociateBudgetFromResource.go b/service/servicecatalog/api_op_DisassociateBudgetFromResource.go index 8963b56ed2f..d1dd2ca3b40 100644 --- a/service/servicecatalog/api_op_DisassociateBudgetFromResource.go +++ b/service/servicecatalog/api_op_DisassociateBudgetFromResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDisassociateBudgetFromResourceMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateBudgetFromResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DisassociatePrincipalFromPortfolio.go b/service/servicecatalog/api_op_DisassociatePrincipalFromPortfolio.go index a1b5e4ff158..80a5156382e 100644 --- a/service/servicecatalog/api_op_DisassociatePrincipalFromPortfolio.go +++ b/service/servicecatalog/api_op_DisassociatePrincipalFromPortfolio.go @@ -148,9 +148,6 @@ func (c *Client) addOperationDisassociatePrincipalFromPortfolioMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociatePrincipalFromPortfolioValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DisassociateProductFromPortfolio.go b/service/servicecatalog/api_op_DisassociateProductFromPortfolio.go index 4e400b306e8..179ef0da7ad 100644 --- a/service/servicecatalog/api_op_DisassociateProductFromPortfolio.go +++ b/service/servicecatalog/api_op_DisassociateProductFromPortfolio.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDisassociateProductFromPortfolioMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateProductFromPortfolioValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_DisassociateServiceActionFromProvisioningArtifact.go b/service/servicecatalog/api_op_DisassociateServiceActionFromProvisioningArtifact.go index 72c3314a6c2..4e29340bd8c 100644 --- a/service/servicecatalog/api_op_DisassociateServiceActionFromProvisioningArtifact.go +++ b/service/servicecatalog/api_op_DisassociateServiceActionFromProvisioningArtifact.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDisassociateServiceActionFromProvisioningArtifactMi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDisassociateServiceActionFromProvisioningArtifactMiddleware(stack, options); err != nil { return err } diff --git a/service/servicecatalog/api_op_DisassociateTagOptionFromResource.go b/service/servicecatalog/api_op_DisassociateTagOptionFromResource.go index 1d65c6614b8..fac19d6e466 100644 --- a/service/servicecatalog/api_op_DisassociateTagOptionFromResource.go +++ b/service/servicecatalog/api_op_DisassociateTagOptionFromResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDisassociateTagOptionFromResourceMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateTagOptionFromResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_EnableAWSOrganizationsAccess.go b/service/servicecatalog/api_op_EnableAWSOrganizationsAccess.go index db071984ab3..480accfaa51 100644 --- a/service/servicecatalog/api_op_EnableAWSOrganizationsAccess.go +++ b/service/servicecatalog/api_op_EnableAWSOrganizationsAccess.go @@ -121,9 +121,6 @@ func (c *Client) addOperationEnableAWSOrganizationsAccessMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableAWSOrganizationsAccess(options.Region), middleware.Before); err != nil { return err } diff --git a/service/servicecatalog/api_op_ExecuteProvisionedProductPlan.go b/service/servicecatalog/api_op_ExecuteProvisionedProductPlan.go index c03860a4465..e3a0af8c658 100644 --- a/service/servicecatalog/api_op_ExecuteProvisionedProductPlan.go +++ b/service/servicecatalog/api_op_ExecuteProvisionedProductPlan.go @@ -127,9 +127,6 @@ func (c *Client) addOperationExecuteProvisionedProductPlanMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opExecuteProvisionedProductPlanMiddleware(stack, options); err != nil { return err } diff --git a/service/servicecatalog/api_op_ExecuteProvisionedProductServiceAction.go b/service/servicecatalog/api_op_ExecuteProvisionedProductServiceAction.go index 4936c34a5e6..2ef9c5a5edf 100644 --- a/service/servicecatalog/api_op_ExecuteProvisionedProductServiceAction.go +++ b/service/servicecatalog/api_op_ExecuteProvisionedProductServiceAction.go @@ -137,9 +137,6 @@ func (c *Client) addOperationExecuteProvisionedProductServiceActionMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opExecuteProvisionedProductServiceActionMiddleware(stack, options); err != nil { return err } diff --git a/service/servicecatalog/api_op_GetAWSOrganizationsAccessStatus.go b/service/servicecatalog/api_op_GetAWSOrganizationsAccessStatus.go index 09947289cac..7bd474fdac5 100644 --- a/service/servicecatalog/api_op_GetAWSOrganizationsAccessStatus.go +++ b/service/servicecatalog/api_op_GetAWSOrganizationsAccessStatus.go @@ -108,9 +108,6 @@ func (c *Client) addOperationGetAWSOrganizationsAccessStatusMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAWSOrganizationsAccessStatus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/servicecatalog/api_op_GetProvisionedProductOutputs.go b/service/servicecatalog/api_op_GetProvisionedProductOutputs.go index 71940a4aad7..e835fd04a9e 100644 --- a/service/servicecatalog/api_op_GetProvisionedProductOutputs.go +++ b/service/servicecatalog/api_op_GetProvisionedProductOutputs.go @@ -139,9 +139,6 @@ func (c *Client) addOperationGetProvisionedProductOutputsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetProvisionedProductOutputs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/servicecatalog/api_op_ImportAsProvisionedProduct.go b/service/servicecatalog/api_op_ImportAsProvisionedProduct.go index 3533e254dd3..55fa5d50cef 100644 --- a/service/servicecatalog/api_op_ImportAsProvisionedProduct.go +++ b/service/servicecatalog/api_op_ImportAsProvisionedProduct.go @@ -171,9 +171,6 @@ func (c *Client) addOperationImportAsProvisionedProductMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opImportAsProvisionedProductMiddleware(stack, options); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListAcceptedPortfolioShares.go b/service/servicecatalog/api_op_ListAcceptedPortfolioShares.go index 53575fa55cf..d37b69a0f12 100644 --- a/service/servicecatalog/api_op_ListAcceptedPortfolioShares.go +++ b/service/servicecatalog/api_op_ListAcceptedPortfolioShares.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListAcceptedPortfolioSharesMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAcceptedPortfolioShares(options.Region), middleware.Before); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListBudgetsForResource.go b/service/servicecatalog/api_op_ListBudgetsForResource.go index 9feaad9008c..19e5cecaf68 100644 --- a/service/servicecatalog/api_op_ListBudgetsForResource.go +++ b/service/servicecatalog/api_op_ListBudgetsForResource.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListBudgetsForResourceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListBudgetsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListConstraintsForPortfolio.go b/service/servicecatalog/api_op_ListConstraintsForPortfolio.go index 93cbe28b42f..3b8b3a567fd 100644 --- a/service/servicecatalog/api_op_ListConstraintsForPortfolio.go +++ b/service/servicecatalog/api_op_ListConstraintsForPortfolio.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListConstraintsForPortfolioMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListConstraintsForPortfolioValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListLaunchPaths.go b/service/servicecatalog/api_op_ListLaunchPaths.go index 248a68aaeb9..e7edf219a62 100644 --- a/service/servicecatalog/api_op_ListLaunchPaths.go +++ b/service/servicecatalog/api_op_ListLaunchPaths.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListLaunchPathsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListLaunchPathsValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListOrganizationPortfolioAccess.go b/service/servicecatalog/api_op_ListOrganizationPortfolioAccess.go index 529f4c06564..2fc9e1c730c 100644 --- a/service/servicecatalog/api_op_ListOrganizationPortfolioAccess.go +++ b/service/servicecatalog/api_op_ListOrganizationPortfolioAccess.go @@ -147,9 +147,6 @@ func (c *Client) addOperationListOrganizationPortfolioAccessMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListOrganizationPortfolioAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListPortfolioAccess.go b/service/servicecatalog/api_op_ListPortfolioAccess.go index 32e6f831573..298ef9bdd70 100644 --- a/service/servicecatalog/api_op_ListPortfolioAccess.go +++ b/service/servicecatalog/api_op_ListPortfolioAccess.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListPortfolioAccessMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPortfolioAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListPortfolios.go b/service/servicecatalog/api_op_ListPortfolios.go index 9ad5636d696..6cdd4596f86 100644 --- a/service/servicecatalog/api_op_ListPortfolios.go +++ b/service/servicecatalog/api_op_ListPortfolios.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListPortfoliosMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPortfolios(options.Region), middleware.Before); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListPortfoliosForProduct.go b/service/servicecatalog/api_op_ListPortfoliosForProduct.go index 8a4fe2cf2eb..e8e1d876909 100644 --- a/service/servicecatalog/api_op_ListPortfoliosForProduct.go +++ b/service/servicecatalog/api_op_ListPortfoliosForProduct.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListPortfoliosForProductMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPortfoliosForProductValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListPrincipalsForPortfolio.go b/service/servicecatalog/api_op_ListPrincipalsForPortfolio.go index ab7c47608c0..c44f90b7f45 100644 --- a/service/servicecatalog/api_op_ListPrincipalsForPortfolio.go +++ b/service/servicecatalog/api_op_ListPrincipalsForPortfolio.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListPrincipalsForPortfolioMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPrincipalsForPortfolioValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListProvisionedProductPlans.go b/service/servicecatalog/api_op_ListProvisionedProductPlans.go index 3441f68dbb7..1d3b38942a4 100644 --- a/service/servicecatalog/api_op_ListProvisionedProductPlans.go +++ b/service/servicecatalog/api_op_ListProvisionedProductPlans.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListProvisionedProductPlansMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProvisionedProductPlans(options.Region), middleware.Before); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListProvisioningArtifacts.go b/service/servicecatalog/api_op_ListProvisioningArtifacts.go index 8091bc1d979..a5106504bfe 100644 --- a/service/servicecatalog/api_op_ListProvisioningArtifacts.go +++ b/service/servicecatalog/api_op_ListProvisioningArtifacts.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListProvisioningArtifactsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListProvisioningArtifactsValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListProvisioningArtifactsForServiceAction.go b/service/servicecatalog/api_op_ListProvisioningArtifactsForServiceAction.go index 7fe89784e51..36c719d8024 100644 --- a/service/servicecatalog/api_op_ListProvisioningArtifactsForServiceAction.go +++ b/service/servicecatalog/api_op_ListProvisioningArtifactsForServiceAction.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListProvisioningArtifactsForServiceActionMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListProvisioningArtifactsForServiceActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListRecordHistory.go b/service/servicecatalog/api_op_ListRecordHistory.go index 6f944adb4fd..85855123a98 100644 --- a/service/servicecatalog/api_op_ListRecordHistory.go +++ b/service/servicecatalog/api_op_ListRecordHistory.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListRecordHistoryMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRecordHistory(options.Region), middleware.Before); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListResourcesForTagOption.go b/service/servicecatalog/api_op_ListResourcesForTagOption.go index 080f2a6411d..1982200f435 100644 --- a/service/servicecatalog/api_op_ListResourcesForTagOption.go +++ b/service/servicecatalog/api_op_ListResourcesForTagOption.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListResourcesForTagOptionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListResourcesForTagOptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListServiceActions.go b/service/servicecatalog/api_op_ListServiceActions.go index 9d287db8259..638feeefee4 100644 --- a/service/servicecatalog/api_op_ListServiceActions.go +++ b/service/servicecatalog/api_op_ListServiceActions.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListServiceActionsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServiceActions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListServiceActionsForProvisioningArtifact.go b/service/servicecatalog/api_op_ListServiceActionsForProvisioningArtifact.go index 76a7400faab..808c2d5895d 100644 --- a/service/servicecatalog/api_op_ListServiceActionsForProvisioningArtifact.go +++ b/service/servicecatalog/api_op_ListServiceActionsForProvisioningArtifact.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListServiceActionsForProvisioningArtifactMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListServiceActionsForProvisioningArtifactValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListStackInstancesForProvisionedProduct.go b/service/servicecatalog/api_op_ListStackInstancesForProvisionedProduct.go index 8cc345db404..c0f21c6d059 100644 --- a/service/servicecatalog/api_op_ListStackInstancesForProvisionedProduct.go +++ b/service/servicecatalog/api_op_ListStackInstancesForProvisionedProduct.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListStackInstancesForProvisionedProductMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListStackInstancesForProvisionedProductValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ListTagOptions.go b/service/servicecatalog/api_op_ListTagOptions.go index 8b02ee49ddc..006ddebbe75 100644 --- a/service/servicecatalog/api_op_ListTagOptions.go +++ b/service/servicecatalog/api_op_ListTagOptions.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListTagOptionsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagOptions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/servicecatalog/api_op_NotifyProvisionProductEngineWorkflowResult.go b/service/servicecatalog/api_op_NotifyProvisionProductEngineWorkflowResult.go index 54543451a19..b6e485066d0 100644 --- a/service/servicecatalog/api_op_NotifyProvisionProductEngineWorkflowResult.go +++ b/service/servicecatalog/api_op_NotifyProvisionProductEngineWorkflowResult.go @@ -134,9 +134,6 @@ func (c *Client) addOperationNotifyProvisionProductEngineWorkflowResultMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opNotifyProvisionProductEngineWorkflowResultMiddleware(stack, options); err != nil { return err } diff --git a/service/servicecatalog/api_op_NotifyTerminateProvisionedProductEngineWorkflowResult.go b/service/servicecatalog/api_op_NotifyTerminateProvisionedProductEngineWorkflowResult.go index ced3b424bce..362cec5a89d 100644 --- a/service/servicecatalog/api_op_NotifyTerminateProvisionedProductEngineWorkflowResult.go +++ b/service/servicecatalog/api_op_NotifyTerminateProvisionedProductEngineWorkflowResult.go @@ -127,9 +127,6 @@ func (c *Client) addOperationNotifyTerminateProvisionedProductEngineWorkflowResu if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opNotifyTerminateProvisionedProductEngineWorkflowResultMiddleware(stack, options); err != nil { return err } diff --git a/service/servicecatalog/api_op_NotifyUpdateProvisionedProductEngineWorkflowResult.go b/service/servicecatalog/api_op_NotifyUpdateProvisionedProductEngineWorkflowResult.go index 8b029851c27..15a0453a2c3 100644 --- a/service/servicecatalog/api_op_NotifyUpdateProvisionedProductEngineWorkflowResult.go +++ b/service/servicecatalog/api_op_NotifyUpdateProvisionedProductEngineWorkflowResult.go @@ -130,9 +130,6 @@ func (c *Client) addOperationNotifyUpdateProvisionedProductEngineWorkflowResultM if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opNotifyUpdateProvisionedProductEngineWorkflowResultMiddleware(stack, options); err != nil { return err } diff --git a/service/servicecatalog/api_op_ProvisionProduct.go b/service/servicecatalog/api_op_ProvisionProduct.go index 187ca7e8d39..eb9db060a9d 100644 --- a/service/servicecatalog/api_op_ProvisionProduct.go +++ b/service/servicecatalog/api_op_ProvisionProduct.go @@ -179,9 +179,6 @@ func (c *Client) addOperationProvisionProductMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opProvisionProductMiddleware(stack, options); err != nil { return err } diff --git a/service/servicecatalog/api_op_RejectPortfolioShare.go b/service/servicecatalog/api_op_RejectPortfolioShare.go index b8d46aa69ec..957c277152a 100644 --- a/service/servicecatalog/api_op_RejectPortfolioShare.go +++ b/service/servicecatalog/api_op_RejectPortfolioShare.go @@ -129,9 +129,6 @@ func (c *Client) addOperationRejectPortfolioShareMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRejectPortfolioShareValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_ScanProvisionedProducts.go b/service/servicecatalog/api_op_ScanProvisionedProducts.go index 0ec5be8c06d..89a60e19a0b 100644 --- a/service/servicecatalog/api_op_ScanProvisionedProducts.go +++ b/service/servicecatalog/api_op_ScanProvisionedProducts.go @@ -130,9 +130,6 @@ func (c *Client) addOperationScanProvisionedProductsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opScanProvisionedProducts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/servicecatalog/api_op_SearchProducts.go b/service/servicecatalog/api_op_SearchProducts.go index 0584059e0d0..1ae98871307 100644 --- a/service/servicecatalog/api_op_SearchProducts.go +++ b/service/servicecatalog/api_op_SearchProducts.go @@ -138,9 +138,6 @@ func (c *Client) addOperationSearchProductsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchProducts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/servicecatalog/api_op_SearchProductsAsAdmin.go b/service/servicecatalog/api_op_SearchProductsAsAdmin.go index d7ccfc12bc0..a6b23e05492 100644 --- a/service/servicecatalog/api_op_SearchProductsAsAdmin.go +++ b/service/servicecatalog/api_op_SearchProductsAsAdmin.go @@ -141,9 +141,6 @@ func (c *Client) addOperationSearchProductsAsAdminMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchProductsAsAdmin(options.Region), middleware.Before); err != nil { return err } diff --git a/service/servicecatalog/api_op_SearchProvisionedProducts.go b/service/servicecatalog/api_op_SearchProvisionedProducts.go index 0ec0da8b268..850e47a4048 100644 --- a/service/servicecatalog/api_op_SearchProvisionedProducts.go +++ b/service/servicecatalog/api_op_SearchProvisionedProducts.go @@ -150,9 +150,6 @@ func (c *Client) addOperationSearchProvisionedProductsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchProvisionedProducts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/servicecatalog/api_op_TerminateProvisionedProduct.go b/service/servicecatalog/api_op_TerminateProvisionedProduct.go index 8ef1c74f0e8..c21fb30ebab 100644 --- a/service/servicecatalog/api_op_TerminateProvisionedProduct.go +++ b/service/servicecatalog/api_op_TerminateProvisionedProduct.go @@ -145,9 +145,6 @@ func (c *Client) addOperationTerminateProvisionedProductMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opTerminateProvisionedProductMiddleware(stack, options); err != nil { return err } diff --git a/service/servicecatalog/api_op_UpdateConstraint.go b/service/servicecatalog/api_op_UpdateConstraint.go index f10944b8964..b01aa58269e 100644 --- a/service/servicecatalog/api_op_UpdateConstraint.go +++ b/service/servicecatalog/api_op_UpdateConstraint.go @@ -183,9 +183,6 @@ func (c *Client) addOperationUpdateConstraintMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConstraintValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_UpdatePortfolio.go b/service/servicecatalog/api_op_UpdatePortfolio.go index 615c4fd6520..3f833fd3325 100644 --- a/service/servicecatalog/api_op_UpdatePortfolio.go +++ b/service/servicecatalog/api_op_UpdatePortfolio.go @@ -139,9 +139,6 @@ func (c *Client) addOperationUpdatePortfolioMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePortfolioValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_UpdatePortfolioShare.go b/service/servicecatalog/api_op_UpdatePortfolioShare.go index 45919d3e86f..e0e51dd3d98 100644 --- a/service/servicecatalog/api_op_UpdatePortfolioShare.go +++ b/service/servicecatalog/api_op_UpdatePortfolioShare.go @@ -167,9 +167,6 @@ func (c *Client) addOperationUpdatePortfolioShareMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePortfolioShareValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_UpdateProduct.go b/service/servicecatalog/api_op_UpdateProduct.go index bf1f516fbae..d16310915c8 100644 --- a/service/servicecatalog/api_op_UpdateProduct.go +++ b/service/servicecatalog/api_op_UpdateProduct.go @@ -159,9 +159,6 @@ func (c *Client) addOperationUpdateProductMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateProductValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_UpdateProvisionedProduct.go b/service/servicecatalog/api_op_UpdateProvisionedProduct.go index d37288cd91a..652d57aef12 100644 --- a/service/servicecatalog/api_op_UpdateProvisionedProduct.go +++ b/service/servicecatalog/api_op_UpdateProvisionedProduct.go @@ -166,9 +166,6 @@ func (c *Client) addOperationUpdateProvisionedProductMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateProvisionedProductMiddleware(stack, options); err != nil { return err } diff --git a/service/servicecatalog/api_op_UpdateProvisionedProductProperties.go b/service/servicecatalog/api_op_UpdateProvisionedProductProperties.go index 810b7989e0d..29089233191 100644 --- a/service/servicecatalog/api_op_UpdateProvisionedProductProperties.go +++ b/service/servicecatalog/api_op_UpdateProvisionedProductProperties.go @@ -165,9 +165,6 @@ func (c *Client) addOperationUpdateProvisionedProductPropertiesMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateProvisionedProductPropertiesMiddleware(stack, options); err != nil { return err } diff --git a/service/servicecatalog/api_op_UpdateProvisioningArtifact.go b/service/servicecatalog/api_op_UpdateProvisioningArtifact.go index b2fa6e9e46d..2f853c4ff32 100644 --- a/service/servicecatalog/api_op_UpdateProvisioningArtifact.go +++ b/service/servicecatalog/api_op_UpdateProvisioningArtifact.go @@ -157,9 +157,6 @@ func (c *Client) addOperationUpdateProvisioningArtifactMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateProvisioningArtifactValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_UpdateServiceAction.go b/service/servicecatalog/api_op_UpdateServiceAction.go index e6007341c16..deddd4b0b9d 100644 --- a/service/servicecatalog/api_op_UpdateServiceAction.go +++ b/service/servicecatalog/api_op_UpdateServiceAction.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateServiceActionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateServiceActionValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/api_op_UpdateTagOption.go b/service/servicecatalog/api_op_UpdateTagOption.go index 07e3913b173..dd9e6193a61 100644 --- a/service/servicecatalog/api_op_UpdateTagOption.go +++ b/service/servicecatalog/api_op_UpdateTagOption.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateTagOptionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTagOptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalog/snapshot/api_op_AcceptPortfolioShare.go.snap b/service/servicecatalog/snapshot/api_op_AcceptPortfolioShare.go.snap index 942754d9638..f70fc6e7205 100644 --- a/service/servicecatalog/snapshot/api_op_AcceptPortfolioShare.go.snap +++ b/service/servicecatalog/snapshot/api_op_AcceptPortfolioShare.go.snap @@ -14,7 +14,6 @@ AcceptPortfolioShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_AssociateBudgetWithResource.go.snap b/service/servicecatalog/snapshot/api_op_AssociateBudgetWithResource.go.snap index 234217b36da..accc9d6dc42 100644 --- a/service/servicecatalog/snapshot/api_op_AssociateBudgetWithResource.go.snap +++ b/service/servicecatalog/snapshot/api_op_AssociateBudgetWithResource.go.snap @@ -14,7 +14,6 @@ AssociateBudgetWithResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_AssociatePrincipalWithPortfolio.go.snap b/service/servicecatalog/snapshot/api_op_AssociatePrincipalWithPortfolio.go.snap index 1fe0ffdc7cb..8dcdb9643dc 100644 --- a/service/servicecatalog/snapshot/api_op_AssociatePrincipalWithPortfolio.go.snap +++ b/service/servicecatalog/snapshot/api_op_AssociatePrincipalWithPortfolio.go.snap @@ -14,7 +14,6 @@ AssociatePrincipalWithPortfolio Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_AssociateProductWithPortfolio.go.snap b/service/servicecatalog/snapshot/api_op_AssociateProductWithPortfolio.go.snap index 2c5baba42de..36897e650ba 100644 --- a/service/servicecatalog/snapshot/api_op_AssociateProductWithPortfolio.go.snap +++ b/service/servicecatalog/snapshot/api_op_AssociateProductWithPortfolio.go.snap @@ -14,7 +14,6 @@ AssociateProductWithPortfolio Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_AssociateServiceActionWithProvisioningArtifact.go.snap b/service/servicecatalog/snapshot/api_op_AssociateServiceActionWithProvisioningArtifact.go.snap index 1a157bf7638..2e25ac835e7 100644 --- a/service/servicecatalog/snapshot/api_op_AssociateServiceActionWithProvisioningArtifact.go.snap +++ b/service/servicecatalog/snapshot/api_op_AssociateServiceActionWithProvisioningArtifact.go.snap @@ -15,7 +15,6 @@ AssociateServiceActionWithProvisioningArtifact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_AssociateTagOptionWithResource.go.snap b/service/servicecatalog/snapshot/api_op_AssociateTagOptionWithResource.go.snap index 5b9e7865576..02a7562b3a4 100644 --- a/service/servicecatalog/snapshot/api_op_AssociateTagOptionWithResource.go.snap +++ b/service/servicecatalog/snapshot/api_op_AssociateTagOptionWithResource.go.snap @@ -14,7 +14,6 @@ AssociateTagOptionWithResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_BatchAssociateServiceActionWithProvisioningArtifact.go.snap b/service/servicecatalog/snapshot/api_op_BatchAssociateServiceActionWithProvisioningArtifact.go.snap index 115ca3d7a96..7fd7d5f0e33 100644 --- a/service/servicecatalog/snapshot/api_op_BatchAssociateServiceActionWithProvisioningArtifact.go.snap +++ b/service/servicecatalog/snapshot/api_op_BatchAssociateServiceActionWithProvisioningArtifact.go.snap @@ -14,7 +14,6 @@ BatchAssociateServiceActionWithProvisioningArtifact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_BatchDisassociateServiceActionFromProvisioningArtifact.go.snap b/service/servicecatalog/snapshot/api_op_BatchDisassociateServiceActionFromProvisioningArtifact.go.snap index 920fd55a848..c689dc3e466 100644 --- a/service/servicecatalog/snapshot/api_op_BatchDisassociateServiceActionFromProvisioningArtifact.go.snap +++ b/service/servicecatalog/snapshot/api_op_BatchDisassociateServiceActionFromProvisioningArtifact.go.snap @@ -14,7 +14,6 @@ BatchDisassociateServiceActionFromProvisioningArtifact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_CopyProduct.go.snap b/service/servicecatalog/snapshot/api_op_CopyProduct.go.snap index cd998c4e3e9..250e2d771ab 100644 --- a/service/servicecatalog/snapshot/api_op_CopyProduct.go.snap +++ b/service/servicecatalog/snapshot/api_op_CopyProduct.go.snap @@ -15,7 +15,6 @@ CopyProduct Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_CreateConstraint.go.snap b/service/servicecatalog/snapshot/api_op_CreateConstraint.go.snap index 3084da81f1e..060e1ebe69e 100644 --- a/service/servicecatalog/snapshot/api_op_CreateConstraint.go.snap +++ b/service/servicecatalog/snapshot/api_op_CreateConstraint.go.snap @@ -15,7 +15,6 @@ CreateConstraint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_CreatePortfolio.go.snap b/service/servicecatalog/snapshot/api_op_CreatePortfolio.go.snap index dd80be3702f..dce331c4e3b 100644 --- a/service/servicecatalog/snapshot/api_op_CreatePortfolio.go.snap +++ b/service/servicecatalog/snapshot/api_op_CreatePortfolio.go.snap @@ -15,7 +15,6 @@ CreatePortfolio Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_CreatePortfolioShare.go.snap b/service/servicecatalog/snapshot/api_op_CreatePortfolioShare.go.snap index e6e354f7adf..cdacfe3d06c 100644 --- a/service/servicecatalog/snapshot/api_op_CreatePortfolioShare.go.snap +++ b/service/servicecatalog/snapshot/api_op_CreatePortfolioShare.go.snap @@ -14,7 +14,6 @@ CreatePortfolioShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_CreateProduct.go.snap b/service/servicecatalog/snapshot/api_op_CreateProduct.go.snap index a82d32b75b5..c24ec77c369 100644 --- a/service/servicecatalog/snapshot/api_op_CreateProduct.go.snap +++ b/service/servicecatalog/snapshot/api_op_CreateProduct.go.snap @@ -15,7 +15,6 @@ CreateProduct Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_CreateProvisionedProductPlan.go.snap b/service/servicecatalog/snapshot/api_op_CreateProvisionedProductPlan.go.snap index e355bbcd417..68cd003f908 100644 --- a/service/servicecatalog/snapshot/api_op_CreateProvisionedProductPlan.go.snap +++ b/service/servicecatalog/snapshot/api_op_CreateProvisionedProductPlan.go.snap @@ -15,7 +15,6 @@ CreateProvisionedProductPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_CreateProvisioningArtifact.go.snap b/service/servicecatalog/snapshot/api_op_CreateProvisioningArtifact.go.snap index aa524c04c64..d32308319cc 100644 --- a/service/servicecatalog/snapshot/api_op_CreateProvisioningArtifact.go.snap +++ b/service/servicecatalog/snapshot/api_op_CreateProvisioningArtifact.go.snap @@ -15,7 +15,6 @@ CreateProvisioningArtifact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_CreateServiceAction.go.snap b/service/servicecatalog/snapshot/api_op_CreateServiceAction.go.snap index 241f404bc60..af2aa5d363e 100644 --- a/service/servicecatalog/snapshot/api_op_CreateServiceAction.go.snap +++ b/service/servicecatalog/snapshot/api_op_CreateServiceAction.go.snap @@ -15,7 +15,6 @@ CreateServiceAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_CreateTagOption.go.snap b/service/servicecatalog/snapshot/api_op_CreateTagOption.go.snap index e535ad77349..0caf8e5e4fa 100644 --- a/service/servicecatalog/snapshot/api_op_CreateTagOption.go.snap +++ b/service/servicecatalog/snapshot/api_op_CreateTagOption.go.snap @@ -14,7 +14,6 @@ CreateTagOption Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_DeleteConstraint.go.snap b/service/servicecatalog/snapshot/api_op_DeleteConstraint.go.snap index 5b8ad0f6335..0837d8336cd 100644 --- a/service/servicecatalog/snapshot/api_op_DeleteConstraint.go.snap +++ b/service/servicecatalog/snapshot/api_op_DeleteConstraint.go.snap @@ -14,7 +14,6 @@ DeleteConstraint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_DeletePortfolio.go.snap b/service/servicecatalog/snapshot/api_op_DeletePortfolio.go.snap index 480560cbe13..6f665235e35 100644 --- a/service/servicecatalog/snapshot/api_op_DeletePortfolio.go.snap +++ b/service/servicecatalog/snapshot/api_op_DeletePortfolio.go.snap @@ -14,7 +14,6 @@ DeletePortfolio Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_DeletePortfolioShare.go.snap b/service/servicecatalog/snapshot/api_op_DeletePortfolioShare.go.snap index 7bf97b326d6..4af4f7b0ea7 100644 --- a/service/servicecatalog/snapshot/api_op_DeletePortfolioShare.go.snap +++ b/service/servicecatalog/snapshot/api_op_DeletePortfolioShare.go.snap @@ -14,7 +14,6 @@ DeletePortfolioShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_DeleteProduct.go.snap b/service/servicecatalog/snapshot/api_op_DeleteProduct.go.snap index dd6fd463af7..f9d41fdfb5b 100644 --- a/service/servicecatalog/snapshot/api_op_DeleteProduct.go.snap +++ b/service/servicecatalog/snapshot/api_op_DeleteProduct.go.snap @@ -14,7 +14,6 @@ DeleteProduct Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_DeleteProvisionedProductPlan.go.snap b/service/servicecatalog/snapshot/api_op_DeleteProvisionedProductPlan.go.snap index aff192d0bbb..eb8cdebf8a6 100644 --- a/service/servicecatalog/snapshot/api_op_DeleteProvisionedProductPlan.go.snap +++ b/service/servicecatalog/snapshot/api_op_DeleteProvisionedProductPlan.go.snap @@ -14,7 +14,6 @@ DeleteProvisionedProductPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_DeleteProvisioningArtifact.go.snap b/service/servicecatalog/snapshot/api_op_DeleteProvisioningArtifact.go.snap index efca5ff0bf1..26abcd04f11 100644 --- a/service/servicecatalog/snapshot/api_op_DeleteProvisioningArtifact.go.snap +++ b/service/servicecatalog/snapshot/api_op_DeleteProvisioningArtifact.go.snap @@ -14,7 +14,6 @@ DeleteProvisioningArtifact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_DeleteServiceAction.go.snap b/service/servicecatalog/snapshot/api_op_DeleteServiceAction.go.snap index 3ae96ddb0fb..aa0087c6c5b 100644 --- a/service/servicecatalog/snapshot/api_op_DeleteServiceAction.go.snap +++ b/service/servicecatalog/snapshot/api_op_DeleteServiceAction.go.snap @@ -15,7 +15,6 @@ DeleteServiceAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_DeleteTagOption.go.snap b/service/servicecatalog/snapshot/api_op_DeleteTagOption.go.snap index b7c263aca02..b47b3b8c044 100644 --- a/service/servicecatalog/snapshot/api_op_DeleteTagOption.go.snap +++ b/service/servicecatalog/snapshot/api_op_DeleteTagOption.go.snap @@ -14,7 +14,6 @@ DeleteTagOption Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_DescribeConstraint.go.snap b/service/servicecatalog/snapshot/api_op_DescribeConstraint.go.snap index 5b068e500f3..a12218ebde2 100644 --- a/service/servicecatalog/snapshot/api_op_DescribeConstraint.go.snap +++ b/service/servicecatalog/snapshot/api_op_DescribeConstraint.go.snap @@ -14,7 +14,6 @@ DescribeConstraint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_DescribeCopyProductStatus.go.snap b/service/servicecatalog/snapshot/api_op_DescribeCopyProductStatus.go.snap index 33873d35b47..8b148dad282 100644 --- a/service/servicecatalog/snapshot/api_op_DescribeCopyProductStatus.go.snap +++ b/service/servicecatalog/snapshot/api_op_DescribeCopyProductStatus.go.snap @@ -14,7 +14,6 @@ DescribeCopyProductStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_DescribePortfolio.go.snap b/service/servicecatalog/snapshot/api_op_DescribePortfolio.go.snap index e6b749ad6c2..c0c3a52c3fa 100644 --- a/service/servicecatalog/snapshot/api_op_DescribePortfolio.go.snap +++ b/service/servicecatalog/snapshot/api_op_DescribePortfolio.go.snap @@ -14,7 +14,6 @@ DescribePortfolio Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_DescribePortfolioShareStatus.go.snap b/service/servicecatalog/snapshot/api_op_DescribePortfolioShareStatus.go.snap index 41bc625b112..a41af8d6b26 100644 --- a/service/servicecatalog/snapshot/api_op_DescribePortfolioShareStatus.go.snap +++ b/service/servicecatalog/snapshot/api_op_DescribePortfolioShareStatus.go.snap @@ -14,7 +14,6 @@ DescribePortfolioShareStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_DescribePortfolioShares.go.snap b/service/servicecatalog/snapshot/api_op_DescribePortfolioShares.go.snap index 5d06a462555..488792fe71b 100644 --- a/service/servicecatalog/snapshot/api_op_DescribePortfolioShares.go.snap +++ b/service/servicecatalog/snapshot/api_op_DescribePortfolioShares.go.snap @@ -14,7 +14,6 @@ DescribePortfolioShares Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_DescribeProduct.go.snap b/service/servicecatalog/snapshot/api_op_DescribeProduct.go.snap index 77714a01172..37f48437989 100644 --- a/service/servicecatalog/snapshot/api_op_DescribeProduct.go.snap +++ b/service/servicecatalog/snapshot/api_op_DescribeProduct.go.snap @@ -13,7 +13,6 @@ DescribeProduct Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_DescribeProductAsAdmin.go.snap b/service/servicecatalog/snapshot/api_op_DescribeProductAsAdmin.go.snap index 9c229232b62..88a19b1f6c0 100644 --- a/service/servicecatalog/snapshot/api_op_DescribeProductAsAdmin.go.snap +++ b/service/servicecatalog/snapshot/api_op_DescribeProductAsAdmin.go.snap @@ -13,7 +13,6 @@ DescribeProductAsAdmin Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_DescribeProductView.go.snap b/service/servicecatalog/snapshot/api_op_DescribeProductView.go.snap index 0ef63b7c23a..f6a8a8dace4 100644 --- a/service/servicecatalog/snapshot/api_op_DescribeProductView.go.snap +++ b/service/servicecatalog/snapshot/api_op_DescribeProductView.go.snap @@ -14,7 +14,6 @@ DescribeProductView Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_DescribeProvisionedProduct.go.snap b/service/servicecatalog/snapshot/api_op_DescribeProvisionedProduct.go.snap index 3828f3865a1..c8bc5f59497 100644 --- a/service/servicecatalog/snapshot/api_op_DescribeProvisionedProduct.go.snap +++ b/service/servicecatalog/snapshot/api_op_DescribeProvisionedProduct.go.snap @@ -13,7 +13,6 @@ DescribeProvisionedProduct Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_DescribeProvisionedProductPlan.go.snap b/service/servicecatalog/snapshot/api_op_DescribeProvisionedProductPlan.go.snap index a7a44b0c134..07dce7e456a 100644 --- a/service/servicecatalog/snapshot/api_op_DescribeProvisionedProductPlan.go.snap +++ b/service/servicecatalog/snapshot/api_op_DescribeProvisionedProductPlan.go.snap @@ -14,7 +14,6 @@ DescribeProvisionedProductPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_DescribeProvisioningArtifact.go.snap b/service/servicecatalog/snapshot/api_op_DescribeProvisioningArtifact.go.snap index 9cdd59e8d02..b16265c5953 100644 --- a/service/servicecatalog/snapshot/api_op_DescribeProvisioningArtifact.go.snap +++ b/service/servicecatalog/snapshot/api_op_DescribeProvisioningArtifact.go.snap @@ -13,7 +13,6 @@ DescribeProvisioningArtifact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_DescribeProvisioningParameters.go.snap b/service/servicecatalog/snapshot/api_op_DescribeProvisioningParameters.go.snap index da9a9c213a6..9e4f8b9ab60 100644 --- a/service/servicecatalog/snapshot/api_op_DescribeProvisioningParameters.go.snap +++ b/service/servicecatalog/snapshot/api_op_DescribeProvisioningParameters.go.snap @@ -13,7 +13,6 @@ DescribeProvisioningParameters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_DescribeRecord.go.snap b/service/servicecatalog/snapshot/api_op_DescribeRecord.go.snap index e3400557a46..aa83e146e38 100644 --- a/service/servicecatalog/snapshot/api_op_DescribeRecord.go.snap +++ b/service/servicecatalog/snapshot/api_op_DescribeRecord.go.snap @@ -14,7 +14,6 @@ DescribeRecord Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_DescribeServiceAction.go.snap b/service/servicecatalog/snapshot/api_op_DescribeServiceAction.go.snap index 396c2b3dfe5..a4db9c4e025 100644 --- a/service/servicecatalog/snapshot/api_op_DescribeServiceAction.go.snap +++ b/service/servicecatalog/snapshot/api_op_DescribeServiceAction.go.snap @@ -14,7 +14,6 @@ DescribeServiceAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_DescribeServiceActionExecutionParameters.go.snap b/service/servicecatalog/snapshot/api_op_DescribeServiceActionExecutionParameters.go.snap index 3c340de78b2..90afa6c6736 100644 --- a/service/servicecatalog/snapshot/api_op_DescribeServiceActionExecutionParameters.go.snap +++ b/service/servicecatalog/snapshot/api_op_DescribeServiceActionExecutionParameters.go.snap @@ -14,7 +14,6 @@ DescribeServiceActionExecutionParameters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_DescribeTagOption.go.snap b/service/servicecatalog/snapshot/api_op_DescribeTagOption.go.snap index 2cbbbca38db..bd071a3f9d1 100644 --- a/service/servicecatalog/snapshot/api_op_DescribeTagOption.go.snap +++ b/service/servicecatalog/snapshot/api_op_DescribeTagOption.go.snap @@ -14,7 +14,6 @@ DescribeTagOption Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_DisableAWSOrganizationsAccess.go.snap b/service/servicecatalog/snapshot/api_op_DisableAWSOrganizationsAccess.go.snap index c26337a30c0..8d261ccf1e2 100644 --- a/service/servicecatalog/snapshot/api_op_DisableAWSOrganizationsAccess.go.snap +++ b/service/servicecatalog/snapshot/api_op_DisableAWSOrganizationsAccess.go.snap @@ -13,7 +13,6 @@ DisableAWSOrganizationsAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_DisassociateBudgetFromResource.go.snap b/service/servicecatalog/snapshot/api_op_DisassociateBudgetFromResource.go.snap index 1010340ba40..781aa696292 100644 --- a/service/servicecatalog/snapshot/api_op_DisassociateBudgetFromResource.go.snap +++ b/service/servicecatalog/snapshot/api_op_DisassociateBudgetFromResource.go.snap @@ -14,7 +14,6 @@ DisassociateBudgetFromResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_DisassociatePrincipalFromPortfolio.go.snap b/service/servicecatalog/snapshot/api_op_DisassociatePrincipalFromPortfolio.go.snap index 63e24d721c3..12a4d30c249 100644 --- a/service/servicecatalog/snapshot/api_op_DisassociatePrincipalFromPortfolio.go.snap +++ b/service/servicecatalog/snapshot/api_op_DisassociatePrincipalFromPortfolio.go.snap @@ -14,7 +14,6 @@ DisassociatePrincipalFromPortfolio Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_DisassociateProductFromPortfolio.go.snap b/service/servicecatalog/snapshot/api_op_DisassociateProductFromPortfolio.go.snap index 1897096fb06..68ba86b4ff8 100644 --- a/service/servicecatalog/snapshot/api_op_DisassociateProductFromPortfolio.go.snap +++ b/service/servicecatalog/snapshot/api_op_DisassociateProductFromPortfolio.go.snap @@ -14,7 +14,6 @@ DisassociateProductFromPortfolio Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_DisassociateServiceActionFromProvisioningArtifact.go.snap b/service/servicecatalog/snapshot/api_op_DisassociateServiceActionFromProvisioningArtifact.go.snap index 7d9d92fbfce..eaba6ddcb28 100644 --- a/service/servicecatalog/snapshot/api_op_DisassociateServiceActionFromProvisioningArtifact.go.snap +++ b/service/servicecatalog/snapshot/api_op_DisassociateServiceActionFromProvisioningArtifact.go.snap @@ -15,7 +15,6 @@ DisassociateServiceActionFromProvisioningArtifact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_DisassociateTagOptionFromResource.go.snap b/service/servicecatalog/snapshot/api_op_DisassociateTagOptionFromResource.go.snap index a99cb06a96c..22e9b4d13e9 100644 --- a/service/servicecatalog/snapshot/api_op_DisassociateTagOptionFromResource.go.snap +++ b/service/servicecatalog/snapshot/api_op_DisassociateTagOptionFromResource.go.snap @@ -14,7 +14,6 @@ DisassociateTagOptionFromResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_EnableAWSOrganizationsAccess.go.snap b/service/servicecatalog/snapshot/api_op_EnableAWSOrganizationsAccess.go.snap index 8b1b5e97ba9..51fe45fdd3d 100644 --- a/service/servicecatalog/snapshot/api_op_EnableAWSOrganizationsAccess.go.snap +++ b/service/servicecatalog/snapshot/api_op_EnableAWSOrganizationsAccess.go.snap @@ -13,7 +13,6 @@ EnableAWSOrganizationsAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_ExecuteProvisionedProductPlan.go.snap b/service/servicecatalog/snapshot/api_op_ExecuteProvisionedProductPlan.go.snap index a3da9f26d65..2a6026bd0e6 100644 --- a/service/servicecatalog/snapshot/api_op_ExecuteProvisionedProductPlan.go.snap +++ b/service/servicecatalog/snapshot/api_op_ExecuteProvisionedProductPlan.go.snap @@ -15,7 +15,6 @@ ExecuteProvisionedProductPlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_ExecuteProvisionedProductServiceAction.go.snap b/service/servicecatalog/snapshot/api_op_ExecuteProvisionedProductServiceAction.go.snap index 956a49f9754..f4aca9445ed 100644 --- a/service/servicecatalog/snapshot/api_op_ExecuteProvisionedProductServiceAction.go.snap +++ b/service/servicecatalog/snapshot/api_op_ExecuteProvisionedProductServiceAction.go.snap @@ -15,7 +15,6 @@ ExecuteProvisionedProductServiceAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_GetAWSOrganizationsAccessStatus.go.snap b/service/servicecatalog/snapshot/api_op_GetAWSOrganizationsAccessStatus.go.snap index 0c6d141874a..ea2c007b38c 100644 --- a/service/servicecatalog/snapshot/api_op_GetAWSOrganizationsAccessStatus.go.snap +++ b/service/servicecatalog/snapshot/api_op_GetAWSOrganizationsAccessStatus.go.snap @@ -13,7 +13,6 @@ GetAWSOrganizationsAccessStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_GetProvisionedProductOutputs.go.snap b/service/servicecatalog/snapshot/api_op_GetProvisionedProductOutputs.go.snap index 52418c8b676..55876d10a99 100644 --- a/service/servicecatalog/snapshot/api_op_GetProvisionedProductOutputs.go.snap +++ b/service/servicecatalog/snapshot/api_op_GetProvisionedProductOutputs.go.snap @@ -13,7 +13,6 @@ GetProvisionedProductOutputs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_ImportAsProvisionedProduct.go.snap b/service/servicecatalog/snapshot/api_op_ImportAsProvisionedProduct.go.snap index 86bba140b92..7cb0bce49c6 100644 --- a/service/servicecatalog/snapshot/api_op_ImportAsProvisionedProduct.go.snap +++ b/service/servicecatalog/snapshot/api_op_ImportAsProvisionedProduct.go.snap @@ -15,7 +15,6 @@ ImportAsProvisionedProduct Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_ListAcceptedPortfolioShares.go.snap b/service/servicecatalog/snapshot/api_op_ListAcceptedPortfolioShares.go.snap index a468a9968c2..f2ecee78afa 100644 --- a/service/servicecatalog/snapshot/api_op_ListAcceptedPortfolioShares.go.snap +++ b/service/servicecatalog/snapshot/api_op_ListAcceptedPortfolioShares.go.snap @@ -13,7 +13,6 @@ ListAcceptedPortfolioShares Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_ListBudgetsForResource.go.snap b/service/servicecatalog/snapshot/api_op_ListBudgetsForResource.go.snap index fe94c55f0e9..23f5b08a84b 100644 --- a/service/servicecatalog/snapshot/api_op_ListBudgetsForResource.go.snap +++ b/service/servicecatalog/snapshot/api_op_ListBudgetsForResource.go.snap @@ -14,7 +14,6 @@ ListBudgetsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_ListConstraintsForPortfolio.go.snap b/service/servicecatalog/snapshot/api_op_ListConstraintsForPortfolio.go.snap index b15be68b79a..0cd7a951195 100644 --- a/service/servicecatalog/snapshot/api_op_ListConstraintsForPortfolio.go.snap +++ b/service/servicecatalog/snapshot/api_op_ListConstraintsForPortfolio.go.snap @@ -14,7 +14,6 @@ ListConstraintsForPortfolio Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_ListLaunchPaths.go.snap b/service/servicecatalog/snapshot/api_op_ListLaunchPaths.go.snap index 67f8b37a330..fc214cf703b 100644 --- a/service/servicecatalog/snapshot/api_op_ListLaunchPaths.go.snap +++ b/service/servicecatalog/snapshot/api_op_ListLaunchPaths.go.snap @@ -14,7 +14,6 @@ ListLaunchPaths Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_ListOrganizationPortfolioAccess.go.snap b/service/servicecatalog/snapshot/api_op_ListOrganizationPortfolioAccess.go.snap index f1fa030e6bc..38a4172498d 100644 --- a/service/servicecatalog/snapshot/api_op_ListOrganizationPortfolioAccess.go.snap +++ b/service/servicecatalog/snapshot/api_op_ListOrganizationPortfolioAccess.go.snap @@ -14,7 +14,6 @@ ListOrganizationPortfolioAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_ListPortfolioAccess.go.snap b/service/servicecatalog/snapshot/api_op_ListPortfolioAccess.go.snap index 9e4278fdb62..ca4f3597b2e 100644 --- a/service/servicecatalog/snapshot/api_op_ListPortfolioAccess.go.snap +++ b/service/servicecatalog/snapshot/api_op_ListPortfolioAccess.go.snap @@ -14,7 +14,6 @@ ListPortfolioAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_ListPortfolios.go.snap b/service/servicecatalog/snapshot/api_op_ListPortfolios.go.snap index e927fb390ea..537153120fe 100644 --- a/service/servicecatalog/snapshot/api_op_ListPortfolios.go.snap +++ b/service/servicecatalog/snapshot/api_op_ListPortfolios.go.snap @@ -13,7 +13,6 @@ ListPortfolios Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_ListPortfoliosForProduct.go.snap b/service/servicecatalog/snapshot/api_op_ListPortfoliosForProduct.go.snap index 94c3bee979e..5979a893e90 100644 --- a/service/servicecatalog/snapshot/api_op_ListPortfoliosForProduct.go.snap +++ b/service/servicecatalog/snapshot/api_op_ListPortfoliosForProduct.go.snap @@ -14,7 +14,6 @@ ListPortfoliosForProduct Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_ListPrincipalsForPortfolio.go.snap b/service/servicecatalog/snapshot/api_op_ListPrincipalsForPortfolio.go.snap index 4c633ea1fe9..33e247dcd64 100644 --- a/service/servicecatalog/snapshot/api_op_ListPrincipalsForPortfolio.go.snap +++ b/service/servicecatalog/snapshot/api_op_ListPrincipalsForPortfolio.go.snap @@ -14,7 +14,6 @@ ListPrincipalsForPortfolio Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_ListProvisionedProductPlans.go.snap b/service/servicecatalog/snapshot/api_op_ListProvisionedProductPlans.go.snap index da23fc6b869..391ac3bca59 100644 --- a/service/servicecatalog/snapshot/api_op_ListProvisionedProductPlans.go.snap +++ b/service/servicecatalog/snapshot/api_op_ListProvisionedProductPlans.go.snap @@ -13,7 +13,6 @@ ListProvisionedProductPlans Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_ListProvisioningArtifacts.go.snap b/service/servicecatalog/snapshot/api_op_ListProvisioningArtifacts.go.snap index eeb7dcdcdc0..d4ae049da7b 100644 --- a/service/servicecatalog/snapshot/api_op_ListProvisioningArtifacts.go.snap +++ b/service/servicecatalog/snapshot/api_op_ListProvisioningArtifacts.go.snap @@ -14,7 +14,6 @@ ListProvisioningArtifacts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_ListProvisioningArtifactsForServiceAction.go.snap b/service/servicecatalog/snapshot/api_op_ListProvisioningArtifactsForServiceAction.go.snap index cc339432b02..2def577d881 100644 --- a/service/servicecatalog/snapshot/api_op_ListProvisioningArtifactsForServiceAction.go.snap +++ b/service/servicecatalog/snapshot/api_op_ListProvisioningArtifactsForServiceAction.go.snap @@ -14,7 +14,6 @@ ListProvisioningArtifactsForServiceAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_ListRecordHistory.go.snap b/service/servicecatalog/snapshot/api_op_ListRecordHistory.go.snap index bde8ebe2b0d..14d4a2a67b6 100644 --- a/service/servicecatalog/snapshot/api_op_ListRecordHistory.go.snap +++ b/service/servicecatalog/snapshot/api_op_ListRecordHistory.go.snap @@ -13,7 +13,6 @@ ListRecordHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_ListResourcesForTagOption.go.snap b/service/servicecatalog/snapshot/api_op_ListResourcesForTagOption.go.snap index 2a9bf6d5994..473361d1f3c 100644 --- a/service/servicecatalog/snapshot/api_op_ListResourcesForTagOption.go.snap +++ b/service/servicecatalog/snapshot/api_op_ListResourcesForTagOption.go.snap @@ -14,7 +14,6 @@ ListResourcesForTagOption Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_ListServiceActions.go.snap b/service/servicecatalog/snapshot/api_op_ListServiceActions.go.snap index ce1be84ffd3..2c2ee812ab6 100644 --- a/service/servicecatalog/snapshot/api_op_ListServiceActions.go.snap +++ b/service/servicecatalog/snapshot/api_op_ListServiceActions.go.snap @@ -13,7 +13,6 @@ ListServiceActions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_ListServiceActionsForProvisioningArtifact.go.snap b/service/servicecatalog/snapshot/api_op_ListServiceActionsForProvisioningArtifact.go.snap index ba42a8d4306..802970782de 100644 --- a/service/servicecatalog/snapshot/api_op_ListServiceActionsForProvisioningArtifact.go.snap +++ b/service/servicecatalog/snapshot/api_op_ListServiceActionsForProvisioningArtifact.go.snap @@ -14,7 +14,6 @@ ListServiceActionsForProvisioningArtifact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_ListStackInstancesForProvisionedProduct.go.snap b/service/servicecatalog/snapshot/api_op_ListStackInstancesForProvisionedProduct.go.snap index c251443e57f..a64455dc9be 100644 --- a/service/servicecatalog/snapshot/api_op_ListStackInstancesForProvisionedProduct.go.snap +++ b/service/servicecatalog/snapshot/api_op_ListStackInstancesForProvisionedProduct.go.snap @@ -14,7 +14,6 @@ ListStackInstancesForProvisionedProduct Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_ListTagOptions.go.snap b/service/servicecatalog/snapshot/api_op_ListTagOptions.go.snap index 179ed8af8f0..cd9517073c6 100644 --- a/service/servicecatalog/snapshot/api_op_ListTagOptions.go.snap +++ b/service/servicecatalog/snapshot/api_op_ListTagOptions.go.snap @@ -13,7 +13,6 @@ ListTagOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_NotifyProvisionProductEngineWorkflowResult.go.snap b/service/servicecatalog/snapshot/api_op_NotifyProvisionProductEngineWorkflowResult.go.snap index 33fdc526025..5fa34895526 100644 --- a/service/servicecatalog/snapshot/api_op_NotifyProvisionProductEngineWorkflowResult.go.snap +++ b/service/servicecatalog/snapshot/api_op_NotifyProvisionProductEngineWorkflowResult.go.snap @@ -15,7 +15,6 @@ NotifyProvisionProductEngineWorkflowResult Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_NotifyTerminateProvisionedProductEngineWorkflowResult.go.snap b/service/servicecatalog/snapshot/api_op_NotifyTerminateProvisionedProductEngineWorkflowResult.go.snap index a3f10be207e..24e86db050f 100644 --- a/service/servicecatalog/snapshot/api_op_NotifyTerminateProvisionedProductEngineWorkflowResult.go.snap +++ b/service/servicecatalog/snapshot/api_op_NotifyTerminateProvisionedProductEngineWorkflowResult.go.snap @@ -15,7 +15,6 @@ NotifyTerminateProvisionedProductEngineWorkflowResult Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_NotifyUpdateProvisionedProductEngineWorkflowResult.go.snap b/service/servicecatalog/snapshot/api_op_NotifyUpdateProvisionedProductEngineWorkflowResult.go.snap index 9a5450a2f19..257959e5e95 100644 --- a/service/servicecatalog/snapshot/api_op_NotifyUpdateProvisionedProductEngineWorkflowResult.go.snap +++ b/service/servicecatalog/snapshot/api_op_NotifyUpdateProvisionedProductEngineWorkflowResult.go.snap @@ -15,7 +15,6 @@ NotifyUpdateProvisionedProductEngineWorkflowResult Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_ProvisionProduct.go.snap b/service/servicecatalog/snapshot/api_op_ProvisionProduct.go.snap index 46f9ee7b5e3..d018b6a2545 100644 --- a/service/servicecatalog/snapshot/api_op_ProvisionProduct.go.snap +++ b/service/servicecatalog/snapshot/api_op_ProvisionProduct.go.snap @@ -15,7 +15,6 @@ ProvisionProduct Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_RejectPortfolioShare.go.snap b/service/servicecatalog/snapshot/api_op_RejectPortfolioShare.go.snap index 22cafb1c068..2ab5e2a8c67 100644 --- a/service/servicecatalog/snapshot/api_op_RejectPortfolioShare.go.snap +++ b/service/servicecatalog/snapshot/api_op_RejectPortfolioShare.go.snap @@ -14,7 +14,6 @@ RejectPortfolioShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_ScanProvisionedProducts.go.snap b/service/servicecatalog/snapshot/api_op_ScanProvisionedProducts.go.snap index da47019fa2d..a4da4adc0bb 100644 --- a/service/servicecatalog/snapshot/api_op_ScanProvisionedProducts.go.snap +++ b/service/servicecatalog/snapshot/api_op_ScanProvisionedProducts.go.snap @@ -13,7 +13,6 @@ ScanProvisionedProducts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_SearchProducts.go.snap b/service/servicecatalog/snapshot/api_op_SearchProducts.go.snap index 8ea015dc43d..bffe11d7c1e 100644 --- a/service/servicecatalog/snapshot/api_op_SearchProducts.go.snap +++ b/service/servicecatalog/snapshot/api_op_SearchProducts.go.snap @@ -13,7 +13,6 @@ SearchProducts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_SearchProductsAsAdmin.go.snap b/service/servicecatalog/snapshot/api_op_SearchProductsAsAdmin.go.snap index 64dbba3408f..5946bf1ebb3 100644 --- a/service/servicecatalog/snapshot/api_op_SearchProductsAsAdmin.go.snap +++ b/service/servicecatalog/snapshot/api_op_SearchProductsAsAdmin.go.snap @@ -13,7 +13,6 @@ SearchProductsAsAdmin Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_SearchProvisionedProducts.go.snap b/service/servicecatalog/snapshot/api_op_SearchProvisionedProducts.go.snap index 92e10910040..6f29be51611 100644 --- a/service/servicecatalog/snapshot/api_op_SearchProvisionedProducts.go.snap +++ b/service/servicecatalog/snapshot/api_op_SearchProvisionedProducts.go.snap @@ -13,7 +13,6 @@ SearchProvisionedProducts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_TerminateProvisionedProduct.go.snap b/service/servicecatalog/snapshot/api_op_TerminateProvisionedProduct.go.snap index 0448aa5cf08..c576dde73ed 100644 --- a/service/servicecatalog/snapshot/api_op_TerminateProvisionedProduct.go.snap +++ b/service/servicecatalog/snapshot/api_op_TerminateProvisionedProduct.go.snap @@ -15,7 +15,6 @@ TerminateProvisionedProduct Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_UpdateConstraint.go.snap b/service/servicecatalog/snapshot/api_op_UpdateConstraint.go.snap index d643a936ab8..748b9f3f74d 100644 --- a/service/servicecatalog/snapshot/api_op_UpdateConstraint.go.snap +++ b/service/servicecatalog/snapshot/api_op_UpdateConstraint.go.snap @@ -14,7 +14,6 @@ UpdateConstraint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_UpdatePortfolio.go.snap b/service/servicecatalog/snapshot/api_op_UpdatePortfolio.go.snap index a183d3c2739..83233a393b7 100644 --- a/service/servicecatalog/snapshot/api_op_UpdatePortfolio.go.snap +++ b/service/servicecatalog/snapshot/api_op_UpdatePortfolio.go.snap @@ -14,7 +14,6 @@ UpdatePortfolio Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_UpdatePortfolioShare.go.snap b/service/servicecatalog/snapshot/api_op_UpdatePortfolioShare.go.snap index 0084e41c573..b8b8db68b11 100644 --- a/service/servicecatalog/snapshot/api_op_UpdatePortfolioShare.go.snap +++ b/service/servicecatalog/snapshot/api_op_UpdatePortfolioShare.go.snap @@ -14,7 +14,6 @@ UpdatePortfolioShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_UpdateProduct.go.snap b/service/servicecatalog/snapshot/api_op_UpdateProduct.go.snap index 7d560129cb1..c9e4f89bd4c 100644 --- a/service/servicecatalog/snapshot/api_op_UpdateProduct.go.snap +++ b/service/servicecatalog/snapshot/api_op_UpdateProduct.go.snap @@ -14,7 +14,6 @@ UpdateProduct Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_UpdateProvisionedProduct.go.snap b/service/servicecatalog/snapshot/api_op_UpdateProvisionedProduct.go.snap index f024d21c069..6b522e21f15 100644 --- a/service/servicecatalog/snapshot/api_op_UpdateProvisionedProduct.go.snap +++ b/service/servicecatalog/snapshot/api_op_UpdateProvisionedProduct.go.snap @@ -15,7 +15,6 @@ UpdateProvisionedProduct Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_UpdateProvisionedProductProperties.go.snap b/service/servicecatalog/snapshot/api_op_UpdateProvisionedProductProperties.go.snap index ab56cf4c06e..e1720134b6a 100644 --- a/service/servicecatalog/snapshot/api_op_UpdateProvisionedProductProperties.go.snap +++ b/service/servicecatalog/snapshot/api_op_UpdateProvisionedProductProperties.go.snap @@ -15,7 +15,6 @@ UpdateProvisionedProductProperties Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_UpdateProvisioningArtifact.go.snap b/service/servicecatalog/snapshot/api_op_UpdateProvisioningArtifact.go.snap index 018e5fdf8bc..dc5b5302ef7 100644 --- a/service/servicecatalog/snapshot/api_op_UpdateProvisioningArtifact.go.snap +++ b/service/servicecatalog/snapshot/api_op_UpdateProvisioningArtifact.go.snap @@ -14,7 +14,6 @@ UpdateProvisioningArtifact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_UpdateServiceAction.go.snap b/service/servicecatalog/snapshot/api_op_UpdateServiceAction.go.snap index f9add47de6a..9320da847e3 100644 --- a/service/servicecatalog/snapshot/api_op_UpdateServiceAction.go.snap +++ b/service/servicecatalog/snapshot/api_op_UpdateServiceAction.go.snap @@ -14,7 +14,6 @@ UpdateServiceAction Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalog/snapshot/api_op_UpdateTagOption.go.snap b/service/servicecatalog/snapshot/api_op_UpdateTagOption.go.snap index 4fa1bac2ba4..a731c0bb620 100644 --- a/service/servicecatalog/snapshot/api_op_UpdateTagOption.go.snap +++ b/service/servicecatalog/snapshot/api_op_UpdateTagOption.go.snap @@ -14,7 +14,6 @@ UpdateTagOption Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalogappregistry/api_client.go b/service/servicecatalogappregistry/api_client.go index 684b5192d92..5fb994d3e85 100644 --- a/service/servicecatalogappregistry/api_client.go +++ b/service/servicecatalogappregistry/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/servicecatalogappregistry/api_op_AssociateAttributeGroup.go b/service/servicecatalogappregistry/api_op_AssociateAttributeGroup.go index cc2b1a24523..5b8a8cd6e57 100644 --- a/service/servicecatalogappregistry/api_op_AssociateAttributeGroup.go +++ b/service/servicecatalogappregistry/api_op_AssociateAttributeGroup.go @@ -125,9 +125,6 @@ func (c *Client) addOperationAssociateAttributeGroupMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateAttributeGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_AssociateResource.go b/service/servicecatalogappregistry/api_op_AssociateResource.go index 3f5ab3423f9..b21e8d0c5bc 100644 --- a/service/servicecatalogappregistry/api_op_AssociateResource.go +++ b/service/servicecatalogappregistry/api_op_AssociateResource.go @@ -160,9 +160,6 @@ func (c *Client) addOperationAssociateResourceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_CreateApplication.go b/service/servicecatalogappregistry/api_op_CreateApplication.go index 5f9e65a4b5d..d093897c8d1 100644 --- a/service/servicecatalogappregistry/api_op_CreateApplication.go +++ b/service/servicecatalogappregistry/api_op_CreateApplication.go @@ -129,9 +129,6 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateApplicationMiddleware(stack, options); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_CreateAttributeGroup.go b/service/servicecatalogappregistry/api_op_CreateAttributeGroup.go index b1c3505309f..069d8442fc7 100644 --- a/service/servicecatalogappregistry/api_op_CreateAttributeGroup.go +++ b/service/servicecatalogappregistry/api_op_CreateAttributeGroup.go @@ -136,9 +136,6 @@ func (c *Client) addOperationCreateAttributeGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAttributeGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_DeleteApplication.go b/service/servicecatalogappregistry/api_op_DeleteApplication.go index f6b770257b3..36dac777811 100644 --- a/service/servicecatalogappregistry/api_op_DeleteApplication.go +++ b/service/servicecatalogappregistry/api_op_DeleteApplication.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_DeleteAttributeGroup.go b/service/servicecatalogappregistry/api_op_DeleteAttributeGroup.go index 0b5e1f7b63b..0f6a902e76d 100644 --- a/service/servicecatalogappregistry/api_op_DeleteAttributeGroup.go +++ b/service/servicecatalogappregistry/api_op_DeleteAttributeGroup.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteAttributeGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAttributeGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_DisassociateAttributeGroup.go b/service/servicecatalogappregistry/api_op_DisassociateAttributeGroup.go index 989a3923e6b..f3bbb1c9236 100644 --- a/service/servicecatalogappregistry/api_op_DisassociateAttributeGroup.go +++ b/service/servicecatalogappregistry/api_op_DisassociateAttributeGroup.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDisassociateAttributeGroupMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateAttributeGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_DisassociateResource.go b/service/servicecatalogappregistry/api_op_DisassociateResource.go index f6880669537..b31a3034dfd 100644 --- a/service/servicecatalogappregistry/api_op_DisassociateResource.go +++ b/service/servicecatalogappregistry/api_op_DisassociateResource.go @@ -154,9 +154,6 @@ func (c *Client) addOperationDisassociateResourceMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_GetApplication.go b/service/servicecatalogappregistry/api_op_GetApplication.go index 3e55f8f6dff..33181251661 100644 --- a/service/servicecatalogappregistry/api_op_GetApplication.go +++ b/service/servicecatalogappregistry/api_op_GetApplication.go @@ -149,9 +149,6 @@ func (c *Client) addOperationGetApplicationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_GetAssociatedResource.go b/service/servicecatalogappregistry/api_op_GetAssociatedResource.go index b5c38e937b8..7dfb19025bc 100644 --- a/service/servicecatalogappregistry/api_op_GetAssociatedResource.go +++ b/service/servicecatalogappregistry/api_op_GetAssociatedResource.go @@ -140,9 +140,6 @@ func (c *Client) addOperationGetAssociatedResourceMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAssociatedResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_GetAttributeGroup.go b/service/servicecatalogappregistry/api_op_GetAttributeGroup.go index 44efc21fd69..470f342bafd 100644 --- a/service/servicecatalogappregistry/api_op_GetAttributeGroup.go +++ b/service/servicecatalogappregistry/api_op_GetAttributeGroup.go @@ -143,9 +143,6 @@ func (c *Client) addOperationGetAttributeGroupMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAttributeGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_GetConfiguration.go b/service/servicecatalogappregistry/api_op_GetConfiguration.go index d947bfbe8f2..c370652c1d2 100644 --- a/service/servicecatalogappregistry/api_op_GetConfiguration.go +++ b/service/servicecatalogappregistry/api_op_GetConfiguration.go @@ -106,9 +106,6 @@ func (c *Client) addOperationGetConfigurationMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_ListApplications.go b/service/servicecatalogappregistry/api_op_ListApplications.go index 7b8798ecc7d..2e62eb1ce78 100644 --- a/service/servicecatalogappregistry/api_op_ListApplications.go +++ b/service/servicecatalogappregistry/api_op_ListApplications.go @@ -117,9 +117,6 @@ func (c *Client) addOperationListApplicationsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplications(options.Region), middleware.Before); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_ListAssociatedAttributeGroups.go b/service/servicecatalogappregistry/api_op_ListAssociatedAttributeGroups.go index 95ae7b709b8..4a6a568bae6 100644 --- a/service/servicecatalogappregistry/api_op_ListAssociatedAttributeGroups.go +++ b/service/servicecatalogappregistry/api_op_ListAssociatedAttributeGroups.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListAssociatedAttributeGroupsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAssociatedAttributeGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_ListAssociatedResources.go b/service/servicecatalogappregistry/api_op_ListAssociatedResources.go index 788813374ac..2d1d7087fe7 100644 --- a/service/servicecatalogappregistry/api_op_ListAssociatedResources.go +++ b/service/servicecatalogappregistry/api_op_ListAssociatedResources.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListAssociatedResourcesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAssociatedResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_ListAttributeGroups.go b/service/servicecatalogappregistry/api_op_ListAttributeGroups.go index 0968e0737cc..4a55d1706b9 100644 --- a/service/servicecatalogappregistry/api_op_ListAttributeGroups.go +++ b/service/servicecatalogappregistry/api_op_ListAttributeGroups.go @@ -117,9 +117,6 @@ func (c *Client) addOperationListAttributeGroupsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAttributeGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_ListAttributeGroupsForApplication.go b/service/servicecatalogappregistry/api_op_ListAttributeGroupsForApplication.go index 36dc05b7e0c..540f11db64e 100644 --- a/service/servicecatalogappregistry/api_op_ListAttributeGroupsForApplication.go +++ b/service/servicecatalogappregistry/api_op_ListAttributeGroupsForApplication.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListAttributeGroupsForApplicationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAttributeGroupsForApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_ListTagsForResource.go b/service/servicecatalogappregistry/api_op_ListTagsForResource.go index f4981480d22..9b6f7f335d5 100644 --- a/service/servicecatalogappregistry/api_op_ListTagsForResource.go +++ b/service/servicecatalogappregistry/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_PutConfiguration.go b/service/servicecatalogappregistry/api_op_PutConfiguration.go index 7b68cccea8a..648a84bf5d4 100644 --- a/service/servicecatalogappregistry/api_op_PutConfiguration.go +++ b/service/servicecatalogappregistry/api_op_PutConfiguration.go @@ -108,9 +108,6 @@ func (c *Client) addOperationPutConfigurationMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_SyncResource.go b/service/servicecatalogappregistry/api_op_SyncResource.go index a8ab2a05139..fc2e1530375 100644 --- a/service/servicecatalogappregistry/api_op_SyncResource.go +++ b/service/servicecatalogappregistry/api_op_SyncResource.go @@ -131,9 +131,6 @@ func (c *Client) addOperationSyncResourceMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSyncResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_TagResource.go b/service/servicecatalogappregistry/api_op_TagResource.go index 5db3034c777..b986c1e1ce3 100644 --- a/service/servicecatalogappregistry/api_op_TagResource.go +++ b/service/servicecatalogappregistry/api_op_TagResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_UntagResource.go b/service/servicecatalogappregistry/api_op_UntagResource.go index 59a5efd0b24..4efbd0048c3 100644 --- a/service/servicecatalogappregistry/api_op_UntagResource.go +++ b/service/servicecatalogappregistry/api_op_UntagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_UpdateApplication.go b/service/servicecatalogappregistry/api_op_UpdateApplication.go index a5ef1f8976f..854788ee765 100644 --- a/service/servicecatalogappregistry/api_op_UpdateApplication.go +++ b/service/servicecatalogappregistry/api_op_UpdateApplication.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/api_op_UpdateAttributeGroup.go b/service/servicecatalogappregistry/api_op_UpdateAttributeGroup.go index 64868ed1cad..b86351daeb1 100644 --- a/service/servicecatalogappregistry/api_op_UpdateAttributeGroup.go +++ b/service/servicecatalogappregistry/api_op_UpdateAttributeGroup.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateAttributeGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAttributeGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicecatalogappregistry/snapshot/api_op_AssociateAttributeGroup.go.snap b/service/servicecatalogappregistry/snapshot/api_op_AssociateAttributeGroup.go.snap index 99bba5a4150..1485a5a294c 100644 --- a/service/servicecatalogappregistry/snapshot/api_op_AssociateAttributeGroup.go.snap +++ b/service/servicecatalogappregistry/snapshot/api_op_AssociateAttributeGroup.go.snap @@ -14,7 +14,6 @@ AssociateAttributeGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalogappregistry/snapshot/api_op_AssociateResource.go.snap b/service/servicecatalogappregistry/snapshot/api_op_AssociateResource.go.snap index 348ede84e0b..a38c6e89b64 100644 --- a/service/servicecatalogappregistry/snapshot/api_op_AssociateResource.go.snap +++ b/service/servicecatalogappregistry/snapshot/api_op_AssociateResource.go.snap @@ -14,7 +14,6 @@ AssociateResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalogappregistry/snapshot/api_op_CreateApplication.go.snap b/service/servicecatalogappregistry/snapshot/api_op_CreateApplication.go.snap index 55ae9fa9488..cb4df90a3ee 100644 --- a/service/servicecatalogappregistry/snapshot/api_op_CreateApplication.go.snap +++ b/service/servicecatalogappregistry/snapshot/api_op_CreateApplication.go.snap @@ -15,7 +15,6 @@ CreateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalogappregistry/snapshot/api_op_CreateAttributeGroup.go.snap b/service/servicecatalogappregistry/snapshot/api_op_CreateAttributeGroup.go.snap index 5b27bc83cd1..8137c05f564 100644 --- a/service/servicecatalogappregistry/snapshot/api_op_CreateAttributeGroup.go.snap +++ b/service/servicecatalogappregistry/snapshot/api_op_CreateAttributeGroup.go.snap @@ -15,7 +15,6 @@ CreateAttributeGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalogappregistry/snapshot/api_op_DeleteApplication.go.snap b/service/servicecatalogappregistry/snapshot/api_op_DeleteApplication.go.snap index 80790355ed5..ffda37a527f 100644 --- a/service/servicecatalogappregistry/snapshot/api_op_DeleteApplication.go.snap +++ b/service/servicecatalogappregistry/snapshot/api_op_DeleteApplication.go.snap @@ -14,7 +14,6 @@ DeleteApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalogappregistry/snapshot/api_op_DeleteAttributeGroup.go.snap b/service/servicecatalogappregistry/snapshot/api_op_DeleteAttributeGroup.go.snap index 6551571b218..2ea270d53b9 100644 --- a/service/servicecatalogappregistry/snapshot/api_op_DeleteAttributeGroup.go.snap +++ b/service/servicecatalogappregistry/snapshot/api_op_DeleteAttributeGroup.go.snap @@ -14,7 +14,6 @@ DeleteAttributeGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalogappregistry/snapshot/api_op_DisassociateAttributeGroup.go.snap b/service/servicecatalogappregistry/snapshot/api_op_DisassociateAttributeGroup.go.snap index 325d6391d73..0a666db3b7c 100644 --- a/service/servicecatalogappregistry/snapshot/api_op_DisassociateAttributeGroup.go.snap +++ b/service/servicecatalogappregistry/snapshot/api_op_DisassociateAttributeGroup.go.snap @@ -14,7 +14,6 @@ DisassociateAttributeGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalogappregistry/snapshot/api_op_DisassociateResource.go.snap b/service/servicecatalogappregistry/snapshot/api_op_DisassociateResource.go.snap index 21a3d92616c..fbc7dbf9968 100644 --- a/service/servicecatalogappregistry/snapshot/api_op_DisassociateResource.go.snap +++ b/service/servicecatalogappregistry/snapshot/api_op_DisassociateResource.go.snap @@ -14,7 +14,6 @@ DisassociateResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalogappregistry/snapshot/api_op_GetApplication.go.snap b/service/servicecatalogappregistry/snapshot/api_op_GetApplication.go.snap index 3307f56eb00..ffc8b0228f7 100644 --- a/service/servicecatalogappregistry/snapshot/api_op_GetApplication.go.snap +++ b/service/servicecatalogappregistry/snapshot/api_op_GetApplication.go.snap @@ -14,7 +14,6 @@ GetApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalogappregistry/snapshot/api_op_GetAssociatedResource.go.snap b/service/servicecatalogappregistry/snapshot/api_op_GetAssociatedResource.go.snap index b940b2522c1..5271af38283 100644 --- a/service/servicecatalogappregistry/snapshot/api_op_GetAssociatedResource.go.snap +++ b/service/servicecatalogappregistry/snapshot/api_op_GetAssociatedResource.go.snap @@ -14,7 +14,6 @@ GetAssociatedResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalogappregistry/snapshot/api_op_GetAttributeGroup.go.snap b/service/servicecatalogappregistry/snapshot/api_op_GetAttributeGroup.go.snap index 144e2f2ac38..34b6c490d33 100644 --- a/service/servicecatalogappregistry/snapshot/api_op_GetAttributeGroup.go.snap +++ b/service/servicecatalogappregistry/snapshot/api_op_GetAttributeGroup.go.snap @@ -14,7 +14,6 @@ GetAttributeGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalogappregistry/snapshot/api_op_GetConfiguration.go.snap b/service/servicecatalogappregistry/snapshot/api_op_GetConfiguration.go.snap index d9c966ce3a3..7c7ea57f437 100644 --- a/service/servicecatalogappregistry/snapshot/api_op_GetConfiguration.go.snap +++ b/service/servicecatalogappregistry/snapshot/api_op_GetConfiguration.go.snap @@ -13,7 +13,6 @@ GetConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalogappregistry/snapshot/api_op_ListApplications.go.snap b/service/servicecatalogappregistry/snapshot/api_op_ListApplications.go.snap index e18746bd34f..6029195b8e8 100644 --- a/service/servicecatalogappregistry/snapshot/api_op_ListApplications.go.snap +++ b/service/servicecatalogappregistry/snapshot/api_op_ListApplications.go.snap @@ -13,7 +13,6 @@ ListApplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalogappregistry/snapshot/api_op_ListAssociatedAttributeGroups.go.snap b/service/servicecatalogappregistry/snapshot/api_op_ListAssociatedAttributeGroups.go.snap index 36fa0f8bdd6..f2339bb8bb4 100644 --- a/service/servicecatalogappregistry/snapshot/api_op_ListAssociatedAttributeGroups.go.snap +++ b/service/servicecatalogappregistry/snapshot/api_op_ListAssociatedAttributeGroups.go.snap @@ -14,7 +14,6 @@ ListAssociatedAttributeGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalogappregistry/snapshot/api_op_ListAssociatedResources.go.snap b/service/servicecatalogappregistry/snapshot/api_op_ListAssociatedResources.go.snap index 7b819fa841b..d242b04bbd6 100644 --- a/service/servicecatalogappregistry/snapshot/api_op_ListAssociatedResources.go.snap +++ b/service/servicecatalogappregistry/snapshot/api_op_ListAssociatedResources.go.snap @@ -14,7 +14,6 @@ ListAssociatedResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalogappregistry/snapshot/api_op_ListAttributeGroups.go.snap b/service/servicecatalogappregistry/snapshot/api_op_ListAttributeGroups.go.snap index 36c8c725cc2..c79bc24b3a8 100644 --- a/service/servicecatalogappregistry/snapshot/api_op_ListAttributeGroups.go.snap +++ b/service/servicecatalogappregistry/snapshot/api_op_ListAttributeGroups.go.snap @@ -13,7 +13,6 @@ ListAttributeGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalogappregistry/snapshot/api_op_ListAttributeGroupsForApplication.go.snap b/service/servicecatalogappregistry/snapshot/api_op_ListAttributeGroupsForApplication.go.snap index 3f79544f836..7bf86743a7e 100644 --- a/service/servicecatalogappregistry/snapshot/api_op_ListAttributeGroupsForApplication.go.snap +++ b/service/servicecatalogappregistry/snapshot/api_op_ListAttributeGroupsForApplication.go.snap @@ -14,7 +14,6 @@ ListAttributeGroupsForApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalogappregistry/snapshot/api_op_ListTagsForResource.go.snap b/service/servicecatalogappregistry/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/servicecatalogappregistry/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/servicecatalogappregistry/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalogappregistry/snapshot/api_op_PutConfiguration.go.snap b/service/servicecatalogappregistry/snapshot/api_op_PutConfiguration.go.snap index ac8f817e494..b24c35c0aff 100644 --- a/service/servicecatalogappregistry/snapshot/api_op_PutConfiguration.go.snap +++ b/service/servicecatalogappregistry/snapshot/api_op_PutConfiguration.go.snap @@ -14,7 +14,6 @@ PutConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalogappregistry/snapshot/api_op_SyncResource.go.snap b/service/servicecatalogappregistry/snapshot/api_op_SyncResource.go.snap index 915da012438..d0efcf33969 100644 --- a/service/servicecatalogappregistry/snapshot/api_op_SyncResource.go.snap +++ b/service/servicecatalogappregistry/snapshot/api_op_SyncResource.go.snap @@ -14,7 +14,6 @@ SyncResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalogappregistry/snapshot/api_op_TagResource.go.snap b/service/servicecatalogappregistry/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/servicecatalogappregistry/snapshot/api_op_TagResource.go.snap +++ b/service/servicecatalogappregistry/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalogappregistry/snapshot/api_op_UntagResource.go.snap b/service/servicecatalogappregistry/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/servicecatalogappregistry/snapshot/api_op_UntagResource.go.snap +++ b/service/servicecatalogappregistry/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalogappregistry/snapshot/api_op_UpdateApplication.go.snap b/service/servicecatalogappregistry/snapshot/api_op_UpdateApplication.go.snap index 5ec4c02edff..d4e2fa4991a 100644 --- a/service/servicecatalogappregistry/snapshot/api_op_UpdateApplication.go.snap +++ b/service/servicecatalogappregistry/snapshot/api_op_UpdateApplication.go.snap @@ -14,7 +14,6 @@ UpdateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicecatalogappregistry/snapshot/api_op_UpdateAttributeGroup.go.snap b/service/servicecatalogappregistry/snapshot/api_op_UpdateAttributeGroup.go.snap index 3f32c6cc3d7..c02f5860a1b 100644 --- a/service/servicecatalogappregistry/snapshot/api_op_UpdateAttributeGroup.go.snap +++ b/service/servicecatalogappregistry/snapshot/api_op_UpdateAttributeGroup.go.snap @@ -14,7 +14,6 @@ UpdateAttributeGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicediscovery/api_client.go b/service/servicediscovery/api_client.go index e7480e34cea..548754c5f76 100644 --- a/service/servicediscovery/api_client.go +++ b/service/servicediscovery/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/servicediscovery/api_op_CreateHttpNamespace.go b/service/servicediscovery/api_op_CreateHttpNamespace.go index 7107213f340..c78b89586de 100644 --- a/service/servicediscovery/api_op_CreateHttpNamespace.go +++ b/service/servicediscovery/api_op_CreateHttpNamespace.go @@ -136,9 +136,6 @@ func (c *Client) addOperationCreateHttpNamespaceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateHttpNamespaceMiddleware(stack, options); err != nil { return err } diff --git a/service/servicediscovery/api_op_CreatePrivateDnsNamespace.go b/service/servicediscovery/api_op_CreatePrivateDnsNamespace.go index 41e6ee401f7..79d7a6f16ef 100644 --- a/service/servicediscovery/api_op_CreatePrivateDnsNamespace.go +++ b/service/servicediscovery/api_op_CreatePrivateDnsNamespace.go @@ -148,9 +148,6 @@ func (c *Client) addOperationCreatePrivateDnsNamespaceMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreatePrivateDnsNamespaceMiddleware(stack, options); err != nil { return err } diff --git a/service/servicediscovery/api_op_CreatePublicDnsNamespace.go b/service/servicediscovery/api_op_CreatePublicDnsNamespace.go index 2af978b824b..a9fdac4ab0c 100644 --- a/service/servicediscovery/api_op_CreatePublicDnsNamespace.go +++ b/service/servicediscovery/api_op_CreatePublicDnsNamespace.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCreatePublicDnsNamespaceMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreatePublicDnsNamespaceMiddleware(stack, options); err != nil { return err } diff --git a/service/servicediscovery/api_op_CreateService.go b/service/servicediscovery/api_op_CreateService.go index bc48ddc1db9..a3e28c455a3 100644 --- a/service/servicediscovery/api_op_CreateService.go +++ b/service/servicediscovery/api_op_CreateService.go @@ -212,9 +212,6 @@ func (c *Client) addOperationCreateServiceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateServiceMiddleware(stack, options); err != nil { return err } diff --git a/service/servicediscovery/api_op_DeleteNamespace.go b/service/servicediscovery/api_op_DeleteNamespace.go index a4f0cbe8ca2..574e42e5e3e 100644 --- a/service/servicediscovery/api_op_DeleteNamespace.go +++ b/service/servicediscovery/api_op_DeleteNamespace.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteNamespaceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteNamespaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_DeleteService.go b/service/servicediscovery/api_op_DeleteService.go index 0a5240c5b96..30d2c1f4c8e 100644 --- a/service/servicediscovery/api_op_DeleteService.go +++ b/service/servicediscovery/api_op_DeleteService.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteServiceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteServiceValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_DeleteServiceAttributes.go b/service/servicediscovery/api_op_DeleteServiceAttributes.go index e7068252db1..fef057b8b41 100644 --- a/service/servicediscovery/api_op_DeleteServiceAttributes.go +++ b/service/servicediscovery/api_op_DeleteServiceAttributes.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteServiceAttributesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteServiceAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_DeregisterInstance.go b/service/servicediscovery/api_op_DeregisterInstance.go index c1834aaf80e..fe6fe76dcaa 100644 --- a/service/servicediscovery/api_op_DeregisterInstance.go +++ b/service/servicediscovery/api_op_DeregisterInstance.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeregisterInstanceMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_DiscoverInstances.go b/service/servicediscovery/api_op_DiscoverInstances.go index 46ae0745104..c91d0835601 100644 --- a/service/servicediscovery/api_op_DiscoverInstances.go +++ b/service/servicediscovery/api_op_DiscoverInstances.go @@ -162,9 +162,6 @@ func (c *Client) addOperationDiscoverInstancesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDiscoverInstancesMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_DiscoverInstancesRevision.go b/service/servicediscovery/api_op_DiscoverInstancesRevision.go index 3fca057b0f7..46048b410fe 100644 --- a/service/servicediscovery/api_op_DiscoverInstancesRevision.go +++ b/service/servicediscovery/api_op_DiscoverInstancesRevision.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDiscoverInstancesRevisionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDiscoverInstancesRevisionMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_GetInstance.go b/service/servicediscovery/api_op_GetInstance.go index 0a841cc60e9..0da38689cef 100644 --- a/service/servicediscovery/api_op_GetInstance.go +++ b/service/servicediscovery/api_op_GetInstance.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetInstanceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_GetInstancesHealthStatus.go b/service/servicediscovery/api_op_GetInstancesHealthStatus.go index 62a1ca8c634..351ddcaa6e5 100644 --- a/service/servicediscovery/api_op_GetInstancesHealthStatus.go +++ b/service/servicediscovery/api_op_GetInstancesHealthStatus.go @@ -146,9 +146,6 @@ func (c *Client) addOperationGetInstancesHealthStatusMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInstancesHealthStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_GetNamespace.go b/service/servicediscovery/api_op_GetNamespace.go index 1bae02eedb9..e5258fe79ad 100644 --- a/service/servicediscovery/api_op_GetNamespace.go +++ b/service/servicediscovery/api_op_GetNamespace.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetNamespaceMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetNamespaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_GetOperation.go b/service/servicediscovery/api_op_GetOperation.go index 1a5c9a06fbe..e35b7c1d3e1 100644 --- a/service/servicediscovery/api_op_GetOperation.go +++ b/service/servicediscovery/api_op_GetOperation.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetOperationMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetOperationValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_GetService.go b/service/servicediscovery/api_op_GetService.go index d73790aac2f..48a507aa0ca 100644 --- a/service/servicediscovery/api_op_GetService.go +++ b/service/servicediscovery/api_op_GetService.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetServiceMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetServiceValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_GetServiceAttributes.go b/service/servicediscovery/api_op_GetServiceAttributes.go index 2f226f9d10a..dc3f092829a 100644 --- a/service/servicediscovery/api_op_GetServiceAttributes.go +++ b/service/servicediscovery/api_op_GetServiceAttributes.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetServiceAttributesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetServiceAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_ListInstances.go b/service/servicediscovery/api_op_ListInstances.go index 249efd05e07..957c61637c2 100644 --- a/service/servicediscovery/api_op_ListInstances.go +++ b/service/servicediscovery/api_op_ListInstances.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListInstancesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListInstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_ListNamespaces.go b/service/servicediscovery/api_op_ListNamespaces.go index b4b1b8d9bc4..e242e13963b 100644 --- a/service/servicediscovery/api_op_ListNamespaces.go +++ b/service/servicediscovery/api_op_ListNamespaces.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListNamespacesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListNamespacesValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_ListOperations.go b/service/servicediscovery/api_op_ListOperations.go index b6677606243..ba755e22ff1 100644 --- a/service/servicediscovery/api_op_ListOperations.go +++ b/service/servicediscovery/api_op_ListOperations.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListOperationsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListOperationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_ListServices.go b/service/servicediscovery/api_op_ListServices.go index 64ed35320a3..e4ff972cc0d 100644 --- a/service/servicediscovery/api_op_ListServices.go +++ b/service/servicediscovery/api_op_ListServices.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListServicesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListServicesValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_ListTagsForResource.go b/service/servicediscovery/api_op_ListTagsForResource.go index 5d045a2ea8a..ef50ebd46ad 100644 --- a/service/servicediscovery/api_op_ListTagsForResource.go +++ b/service/servicediscovery/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_RegisterInstance.go b/service/servicediscovery/api_op_RegisterInstance.go index 6654b976656..b9615000db9 100644 --- a/service/servicediscovery/api_op_RegisterInstance.go +++ b/service/servicediscovery/api_op_RegisterInstance.go @@ -277,9 +277,6 @@ func (c *Client) addOperationRegisterInstanceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opRegisterInstanceMiddleware(stack, options); err != nil { return err } diff --git a/service/servicediscovery/api_op_TagResource.go b/service/servicediscovery/api_op_TagResource.go index b778c1c9d60..650a3f685fa 100644 --- a/service/servicediscovery/api_op_TagResource.go +++ b/service/servicediscovery/api_op_TagResource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_UntagResource.go b/service/servicediscovery/api_op_UntagResource.go index 03128bc1943..cb13a7b7e9b 100644 --- a/service/servicediscovery/api_op_UntagResource.go +++ b/service/servicediscovery/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_UpdateHttpNamespace.go b/service/servicediscovery/api_op_UpdateHttpNamespace.go index 4b3dd1810cb..510cdde413e 100644 --- a/service/servicediscovery/api_op_UpdateHttpNamespace.go +++ b/service/servicediscovery/api_op_UpdateHttpNamespace.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateHttpNamespaceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateHttpNamespaceMiddleware(stack, options); err != nil { return err } diff --git a/service/servicediscovery/api_op_UpdateInstanceCustomHealthStatus.go b/service/servicediscovery/api_op_UpdateInstanceCustomHealthStatus.go index 045f387787d..ebe6e5bb3ec 100644 --- a/service/servicediscovery/api_op_UpdateInstanceCustomHealthStatus.go +++ b/service/servicediscovery/api_op_UpdateInstanceCustomHealthStatus.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUpdateInstanceCustomHealthStatusMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateInstanceCustomHealthStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_UpdatePrivateDnsNamespace.go b/service/servicediscovery/api_op_UpdatePrivateDnsNamespace.go index 3d3d18f2a30..aa8746568c9 100644 --- a/service/servicediscovery/api_op_UpdatePrivateDnsNamespace.go +++ b/service/servicediscovery/api_op_UpdatePrivateDnsNamespace.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdatePrivateDnsNamespaceMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdatePrivateDnsNamespaceMiddleware(stack, options); err != nil { return err } diff --git a/service/servicediscovery/api_op_UpdatePublicDnsNamespace.go b/service/servicediscovery/api_op_UpdatePublicDnsNamespace.go index 5147af252f7..2c5a0ba9290 100644 --- a/service/servicediscovery/api_op_UpdatePublicDnsNamespace.go +++ b/service/servicediscovery/api_op_UpdatePublicDnsNamespace.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdatePublicDnsNamespaceMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdatePublicDnsNamespaceMiddleware(stack, options); err != nil { return err } diff --git a/service/servicediscovery/api_op_UpdateService.go b/service/servicediscovery/api_op_UpdateService.go index 9be14a5d179..c439cfe59c4 100644 --- a/service/servicediscovery/api_op_UpdateService.go +++ b/service/servicediscovery/api_op_UpdateService.go @@ -139,9 +139,6 @@ func (c *Client) addOperationUpdateServiceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateServiceValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/api_op_UpdateServiceAttributes.go b/service/servicediscovery/api_op_UpdateServiceAttributes.go index a928cfdd850..20603c622ab 100644 --- a/service/servicediscovery/api_op_UpdateServiceAttributes.go +++ b/service/servicediscovery/api_op_UpdateServiceAttributes.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUpdateServiceAttributesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateServiceAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicediscovery/snapshot/api_op_CreateHttpNamespace.go.snap b/service/servicediscovery/snapshot/api_op_CreateHttpNamespace.go.snap index dc8a204e256..c48d23ff57e 100644 --- a/service/servicediscovery/snapshot/api_op_CreateHttpNamespace.go.snap +++ b/service/servicediscovery/snapshot/api_op_CreateHttpNamespace.go.snap @@ -15,7 +15,6 @@ CreateHttpNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicediscovery/snapshot/api_op_CreatePrivateDnsNamespace.go.snap b/service/servicediscovery/snapshot/api_op_CreatePrivateDnsNamespace.go.snap index 1b0cbf8d584..564cae711f4 100644 --- a/service/servicediscovery/snapshot/api_op_CreatePrivateDnsNamespace.go.snap +++ b/service/servicediscovery/snapshot/api_op_CreatePrivateDnsNamespace.go.snap @@ -15,7 +15,6 @@ CreatePrivateDnsNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicediscovery/snapshot/api_op_CreatePublicDnsNamespace.go.snap b/service/servicediscovery/snapshot/api_op_CreatePublicDnsNamespace.go.snap index 9e7c329f8f5..9c927234928 100644 --- a/service/servicediscovery/snapshot/api_op_CreatePublicDnsNamespace.go.snap +++ b/service/servicediscovery/snapshot/api_op_CreatePublicDnsNamespace.go.snap @@ -15,7 +15,6 @@ CreatePublicDnsNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicediscovery/snapshot/api_op_CreateService.go.snap b/service/servicediscovery/snapshot/api_op_CreateService.go.snap index bdc32ad5952..e3246937990 100644 --- a/service/servicediscovery/snapshot/api_op_CreateService.go.snap +++ b/service/servicediscovery/snapshot/api_op_CreateService.go.snap @@ -15,7 +15,6 @@ CreateService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicediscovery/snapshot/api_op_DeleteNamespace.go.snap b/service/servicediscovery/snapshot/api_op_DeleteNamespace.go.snap index fc3c23b4082..2b81737a0c2 100644 --- a/service/servicediscovery/snapshot/api_op_DeleteNamespace.go.snap +++ b/service/servicediscovery/snapshot/api_op_DeleteNamespace.go.snap @@ -14,7 +14,6 @@ DeleteNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicediscovery/snapshot/api_op_DeleteService.go.snap b/service/servicediscovery/snapshot/api_op_DeleteService.go.snap index 0ca8d33ca7c..b57f6142373 100644 --- a/service/servicediscovery/snapshot/api_op_DeleteService.go.snap +++ b/service/servicediscovery/snapshot/api_op_DeleteService.go.snap @@ -14,7 +14,6 @@ DeleteService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicediscovery/snapshot/api_op_DeleteServiceAttributes.go.snap b/service/servicediscovery/snapshot/api_op_DeleteServiceAttributes.go.snap index 6fd26446cb9..ee08fec9e2a 100644 --- a/service/servicediscovery/snapshot/api_op_DeleteServiceAttributes.go.snap +++ b/service/servicediscovery/snapshot/api_op_DeleteServiceAttributes.go.snap @@ -14,7 +14,6 @@ DeleteServiceAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicediscovery/snapshot/api_op_DeregisterInstance.go.snap b/service/servicediscovery/snapshot/api_op_DeregisterInstance.go.snap index 3106f2002f9..bd57f1afd65 100644 --- a/service/servicediscovery/snapshot/api_op_DeregisterInstance.go.snap +++ b/service/servicediscovery/snapshot/api_op_DeregisterInstance.go.snap @@ -14,7 +14,6 @@ DeregisterInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicediscovery/snapshot/api_op_DiscoverInstances.go.snap b/service/servicediscovery/snapshot/api_op_DiscoverInstances.go.snap index 27e65574c99..3dab535d348 100644 --- a/service/servicediscovery/snapshot/api_op_DiscoverInstances.go.snap +++ b/service/servicediscovery/snapshot/api_op_DiscoverInstances.go.snap @@ -14,7 +14,6 @@ DiscoverInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicediscovery/snapshot/api_op_DiscoverInstancesRevision.go.snap b/service/servicediscovery/snapshot/api_op_DiscoverInstancesRevision.go.snap index e04da3bc0f4..f460a86ece8 100644 --- a/service/servicediscovery/snapshot/api_op_DiscoverInstancesRevision.go.snap +++ b/service/servicediscovery/snapshot/api_op_DiscoverInstancesRevision.go.snap @@ -14,7 +14,6 @@ DiscoverInstancesRevision Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicediscovery/snapshot/api_op_GetInstance.go.snap b/service/servicediscovery/snapshot/api_op_GetInstance.go.snap index 729762d50d4..077b1594cb9 100644 --- a/service/servicediscovery/snapshot/api_op_GetInstance.go.snap +++ b/service/servicediscovery/snapshot/api_op_GetInstance.go.snap @@ -14,7 +14,6 @@ GetInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicediscovery/snapshot/api_op_GetInstancesHealthStatus.go.snap b/service/servicediscovery/snapshot/api_op_GetInstancesHealthStatus.go.snap index cd9009db9e3..92df31ccbec 100644 --- a/service/servicediscovery/snapshot/api_op_GetInstancesHealthStatus.go.snap +++ b/service/servicediscovery/snapshot/api_op_GetInstancesHealthStatus.go.snap @@ -14,7 +14,6 @@ GetInstancesHealthStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicediscovery/snapshot/api_op_GetNamespace.go.snap b/service/servicediscovery/snapshot/api_op_GetNamespace.go.snap index 67d3502b29e..694c5c5dc96 100644 --- a/service/servicediscovery/snapshot/api_op_GetNamespace.go.snap +++ b/service/servicediscovery/snapshot/api_op_GetNamespace.go.snap @@ -14,7 +14,6 @@ GetNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicediscovery/snapshot/api_op_GetOperation.go.snap b/service/servicediscovery/snapshot/api_op_GetOperation.go.snap index d69823b5d58..b0c626576d1 100644 --- a/service/servicediscovery/snapshot/api_op_GetOperation.go.snap +++ b/service/servicediscovery/snapshot/api_op_GetOperation.go.snap @@ -14,7 +14,6 @@ GetOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicediscovery/snapshot/api_op_GetService.go.snap b/service/servicediscovery/snapshot/api_op_GetService.go.snap index c5e405f61cb..aad7d0d939e 100644 --- a/service/servicediscovery/snapshot/api_op_GetService.go.snap +++ b/service/servicediscovery/snapshot/api_op_GetService.go.snap @@ -14,7 +14,6 @@ GetService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicediscovery/snapshot/api_op_GetServiceAttributes.go.snap b/service/servicediscovery/snapshot/api_op_GetServiceAttributes.go.snap index fc732b6afd0..92480c7007f 100644 --- a/service/servicediscovery/snapshot/api_op_GetServiceAttributes.go.snap +++ b/service/servicediscovery/snapshot/api_op_GetServiceAttributes.go.snap @@ -14,7 +14,6 @@ GetServiceAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicediscovery/snapshot/api_op_ListInstances.go.snap b/service/servicediscovery/snapshot/api_op_ListInstances.go.snap index 0c6d83319b4..5224b3d2238 100644 --- a/service/servicediscovery/snapshot/api_op_ListInstances.go.snap +++ b/service/servicediscovery/snapshot/api_op_ListInstances.go.snap @@ -14,7 +14,6 @@ ListInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicediscovery/snapshot/api_op_ListNamespaces.go.snap b/service/servicediscovery/snapshot/api_op_ListNamespaces.go.snap index 83483964796..73a113a8bd8 100644 --- a/service/servicediscovery/snapshot/api_op_ListNamespaces.go.snap +++ b/service/servicediscovery/snapshot/api_op_ListNamespaces.go.snap @@ -14,7 +14,6 @@ ListNamespaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicediscovery/snapshot/api_op_ListOperations.go.snap b/service/servicediscovery/snapshot/api_op_ListOperations.go.snap index c18016b563d..8c5c7bc2f08 100644 --- a/service/servicediscovery/snapshot/api_op_ListOperations.go.snap +++ b/service/servicediscovery/snapshot/api_op_ListOperations.go.snap @@ -14,7 +14,6 @@ ListOperations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicediscovery/snapshot/api_op_ListServices.go.snap b/service/servicediscovery/snapshot/api_op_ListServices.go.snap index 726eac6f5a5..724b7cfbbd5 100644 --- a/service/servicediscovery/snapshot/api_op_ListServices.go.snap +++ b/service/servicediscovery/snapshot/api_op_ListServices.go.snap @@ -14,7 +14,6 @@ ListServices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicediscovery/snapshot/api_op_ListTagsForResource.go.snap b/service/servicediscovery/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/servicediscovery/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/servicediscovery/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicediscovery/snapshot/api_op_RegisterInstance.go.snap b/service/servicediscovery/snapshot/api_op_RegisterInstance.go.snap index c63d123f909..234e1110bd6 100644 --- a/service/servicediscovery/snapshot/api_op_RegisterInstance.go.snap +++ b/service/servicediscovery/snapshot/api_op_RegisterInstance.go.snap @@ -15,7 +15,6 @@ RegisterInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicediscovery/snapshot/api_op_TagResource.go.snap b/service/servicediscovery/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/servicediscovery/snapshot/api_op_TagResource.go.snap +++ b/service/servicediscovery/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicediscovery/snapshot/api_op_UntagResource.go.snap b/service/servicediscovery/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/servicediscovery/snapshot/api_op_UntagResource.go.snap +++ b/service/servicediscovery/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicediscovery/snapshot/api_op_UpdateHttpNamespace.go.snap b/service/servicediscovery/snapshot/api_op_UpdateHttpNamespace.go.snap index 49265bd54c0..7fa737ff3c4 100644 --- a/service/servicediscovery/snapshot/api_op_UpdateHttpNamespace.go.snap +++ b/service/servicediscovery/snapshot/api_op_UpdateHttpNamespace.go.snap @@ -15,7 +15,6 @@ UpdateHttpNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicediscovery/snapshot/api_op_UpdateInstanceCustomHealthStatus.go.snap b/service/servicediscovery/snapshot/api_op_UpdateInstanceCustomHealthStatus.go.snap index 6c66e519113..a9f435a93d9 100644 --- a/service/servicediscovery/snapshot/api_op_UpdateInstanceCustomHealthStatus.go.snap +++ b/service/servicediscovery/snapshot/api_op_UpdateInstanceCustomHealthStatus.go.snap @@ -14,7 +14,6 @@ UpdateInstanceCustomHealthStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicediscovery/snapshot/api_op_UpdatePrivateDnsNamespace.go.snap b/service/servicediscovery/snapshot/api_op_UpdatePrivateDnsNamespace.go.snap index 77b6db0d795..5d980ad48f8 100644 --- a/service/servicediscovery/snapshot/api_op_UpdatePrivateDnsNamespace.go.snap +++ b/service/servicediscovery/snapshot/api_op_UpdatePrivateDnsNamespace.go.snap @@ -15,7 +15,6 @@ UpdatePrivateDnsNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicediscovery/snapshot/api_op_UpdatePublicDnsNamespace.go.snap b/service/servicediscovery/snapshot/api_op_UpdatePublicDnsNamespace.go.snap index 57995d6d5fb..760cad51100 100644 --- a/service/servicediscovery/snapshot/api_op_UpdatePublicDnsNamespace.go.snap +++ b/service/servicediscovery/snapshot/api_op_UpdatePublicDnsNamespace.go.snap @@ -15,7 +15,6 @@ UpdatePublicDnsNamespace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicediscovery/snapshot/api_op_UpdateService.go.snap b/service/servicediscovery/snapshot/api_op_UpdateService.go.snap index 813a9e72802..bf0abbe4b1a 100644 --- a/service/servicediscovery/snapshot/api_op_UpdateService.go.snap +++ b/service/servicediscovery/snapshot/api_op_UpdateService.go.snap @@ -14,7 +14,6 @@ UpdateService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicediscovery/snapshot/api_op_UpdateServiceAttributes.go.snap b/service/servicediscovery/snapshot/api_op_UpdateServiceAttributes.go.snap index b3ab66d64d5..da64796ed57 100644 --- a/service/servicediscovery/snapshot/api_op_UpdateServiceAttributes.go.snap +++ b/service/servicediscovery/snapshot/api_op_UpdateServiceAttributes.go.snap @@ -14,7 +14,6 @@ UpdateServiceAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicequotas/api_client.go b/service/servicequotas/api_client.go index 6390cc2d321..759cdb74adb 100644 --- a/service/servicequotas/api_client.go +++ b/service/servicequotas/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/servicequotas/api_op_AssociateServiceQuotaTemplate.go b/service/servicequotas/api_op_AssociateServiceQuotaTemplate.go index 5105476edf9..e1420194afb 100644 --- a/service/servicequotas/api_op_AssociateServiceQuotaTemplate.go +++ b/service/servicequotas/api_op_AssociateServiceQuotaTemplate.go @@ -104,9 +104,6 @@ func (c *Client) addOperationAssociateServiceQuotaTemplateMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateServiceQuotaTemplate(options.Region), middleware.Before); err != nil { return err } diff --git a/service/servicequotas/api_op_DeleteServiceQuotaIncreaseRequestFromTemplate.go b/service/servicequotas/api_op_DeleteServiceQuotaIncreaseRequestFromTemplate.go index eff95fc7853..78588835822 100644 --- a/service/servicequotas/api_op_DeleteServiceQuotaIncreaseRequestFromTemplate.go +++ b/service/servicequotas/api_op_DeleteServiceQuotaIncreaseRequestFromTemplate.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteServiceQuotaIncreaseRequestFromTemplateMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteServiceQuotaIncreaseRequestFromTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicequotas/api_op_DisassociateServiceQuotaTemplate.go b/service/servicequotas/api_op_DisassociateServiceQuotaTemplate.go index d0b33d9a333..25a9bda9e51 100644 --- a/service/servicequotas/api_op_DisassociateServiceQuotaTemplate.go +++ b/service/servicequotas/api_op_DisassociateServiceQuotaTemplate.go @@ -104,9 +104,6 @@ func (c *Client) addOperationDisassociateServiceQuotaTemplateMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateServiceQuotaTemplate(options.Region), middleware.Before); err != nil { return err } diff --git a/service/servicequotas/api_op_GetAWSDefaultServiceQuota.go b/service/servicequotas/api_op_GetAWSDefaultServiceQuota.go index 121830d5249..773e0e74fec 100644 --- a/service/servicequotas/api_op_GetAWSDefaultServiceQuota.go +++ b/service/servicequotas/api_op_GetAWSDefaultServiceQuota.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetAWSDefaultServiceQuotaMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAWSDefaultServiceQuotaValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicequotas/api_op_GetAssociationForServiceQuotaTemplate.go b/service/servicequotas/api_op_GetAssociationForServiceQuotaTemplate.go index 52fda5271ef..6975e739828 100644 --- a/service/servicequotas/api_op_GetAssociationForServiceQuotaTemplate.go +++ b/service/servicequotas/api_op_GetAssociationForServiceQuotaTemplate.go @@ -108,9 +108,6 @@ func (c *Client) addOperationGetAssociationForServiceQuotaTemplateMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAssociationForServiceQuotaTemplate(options.Region), middleware.Before); err != nil { return err } diff --git a/service/servicequotas/api_op_GetRequestedServiceQuotaChange.go b/service/servicequotas/api_op_GetRequestedServiceQuotaChange.go index 8e3fd48cc5d..923f6f2b1ea 100644 --- a/service/servicequotas/api_op_GetRequestedServiceQuotaChange.go +++ b/service/servicequotas/api_op_GetRequestedServiceQuotaChange.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetRequestedServiceQuotaChangeMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRequestedServiceQuotaChangeValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicequotas/api_op_GetServiceQuota.go b/service/servicequotas/api_op_GetServiceQuota.go index aa656fc7d86..412e90b2324 100644 --- a/service/servicequotas/api_op_GetServiceQuota.go +++ b/service/servicequotas/api_op_GetServiceQuota.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetServiceQuotaMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetServiceQuotaValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicequotas/api_op_GetServiceQuotaIncreaseRequestFromTemplate.go b/service/servicequotas/api_op_GetServiceQuotaIncreaseRequestFromTemplate.go index a3d5b833395..e7cd8cfbab1 100644 --- a/service/servicequotas/api_op_GetServiceQuotaIncreaseRequestFromTemplate.go +++ b/service/servicequotas/api_op_GetServiceQuotaIncreaseRequestFromTemplate.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetServiceQuotaIncreaseRequestFromTemplateMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetServiceQuotaIncreaseRequestFromTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicequotas/api_op_ListAWSDefaultServiceQuotas.go b/service/servicequotas/api_op_ListAWSDefaultServiceQuotas.go index 8d101ff07b2..a9b1376ffd0 100644 --- a/service/servicequotas/api_op_ListAWSDefaultServiceQuotas.go +++ b/service/servicequotas/api_op_ListAWSDefaultServiceQuotas.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListAWSDefaultServiceQuotasMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAWSDefaultServiceQuotasValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicequotas/api_op_ListRequestedServiceQuotaChangeHistory.go b/service/servicequotas/api_op_ListRequestedServiceQuotaChangeHistory.go index 1d360c0956e..d49a03853f2 100644 --- a/service/servicequotas/api_op_ListRequestedServiceQuotaChangeHistory.go +++ b/service/servicequotas/api_op_ListRequestedServiceQuotaChangeHistory.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListRequestedServiceQuotaChangeHistoryMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRequestedServiceQuotaChangeHistory(options.Region), middleware.Before); err != nil { return err } diff --git a/service/servicequotas/api_op_ListRequestedServiceQuotaChangeHistoryByQuota.go b/service/servicequotas/api_op_ListRequestedServiceQuotaChangeHistoryByQuota.go index 5f32095d173..dd039f5d021 100644 --- a/service/servicequotas/api_op_ListRequestedServiceQuotaChangeHistoryByQuota.go +++ b/service/servicequotas/api_op_ListRequestedServiceQuotaChangeHistoryByQuota.go @@ -152,9 +152,6 @@ func (c *Client) addOperationListRequestedServiceQuotaChangeHistoryByQuotaMiddle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRequestedServiceQuotaChangeHistoryByQuotaValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicequotas/api_op_ListServiceQuotaIncreaseRequestsInTemplate.go b/service/servicequotas/api_op_ListServiceQuotaIncreaseRequestsInTemplate.go index 0456986fb3b..fad9507d8fa 100644 --- a/service/servicequotas/api_op_ListServiceQuotaIncreaseRequestsInTemplate.go +++ b/service/servicequotas/api_op_ListServiceQuotaIncreaseRequestsInTemplate.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListServiceQuotaIncreaseRequestsInTemplateMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServiceQuotaIncreaseRequestsInTemplate(options.Region), middleware.Before); err != nil { return err } diff --git a/service/servicequotas/api_op_ListServiceQuotas.go b/service/servicequotas/api_op_ListServiceQuotas.go index 903ad083db3..0ffaccfcebb 100644 --- a/service/servicequotas/api_op_ListServiceQuotas.go +++ b/service/servicequotas/api_op_ListServiceQuotas.go @@ -147,9 +147,6 @@ func (c *Client) addOperationListServiceQuotasMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListServiceQuotasValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicequotas/api_op_ListServices.go b/service/servicequotas/api_op_ListServices.go index d95f46f4476..aeb502b6028 100644 --- a/service/servicequotas/api_op_ListServices.go +++ b/service/servicequotas/api_op_ListServices.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListServicesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServices(options.Region), middleware.Before); err != nil { return err } diff --git a/service/servicequotas/api_op_ListTagsForResource.go b/service/servicequotas/api_op_ListTagsForResource.go index 4020c862085..6ac90b664f2 100644 --- a/service/servicequotas/api_op_ListTagsForResource.go +++ b/service/servicequotas/api_op_ListTagsForResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicequotas/api_op_PutServiceQuotaIncreaseRequestIntoTemplate.go b/service/servicequotas/api_op_PutServiceQuotaIncreaseRequestIntoTemplate.go index 20f48b4a074..52af6a1f272 100644 --- a/service/servicequotas/api_op_PutServiceQuotaIncreaseRequestIntoTemplate.go +++ b/service/servicequotas/api_op_PutServiceQuotaIncreaseRequestIntoTemplate.go @@ -130,9 +130,6 @@ func (c *Client) addOperationPutServiceQuotaIncreaseRequestIntoTemplateMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutServiceQuotaIncreaseRequestIntoTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicequotas/api_op_RequestServiceQuotaIncrease.go b/service/servicequotas/api_op_RequestServiceQuotaIncrease.go index 1583c90314d..e9c85a97636 100644 --- a/service/servicequotas/api_op_RequestServiceQuotaIncrease.go +++ b/service/servicequotas/api_op_RequestServiceQuotaIncrease.go @@ -130,9 +130,6 @@ func (c *Client) addOperationRequestServiceQuotaIncreaseMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRequestServiceQuotaIncreaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicequotas/api_op_TagResource.go b/service/servicequotas/api_op_TagResource.go index bc289a046d4..71ef2742946 100644 --- a/service/servicequotas/api_op_TagResource.go +++ b/service/servicequotas/api_op_TagResource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicequotas/api_op_UntagResource.go b/service/servicequotas/api_op_UntagResource.go index e41ee13c2aa..c047c11ce53 100644 --- a/service/servicequotas/api_op_UntagResource.go +++ b/service/servicequotas/api_op_UntagResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/servicequotas/snapshot/api_op_AssociateServiceQuotaTemplate.go.snap b/service/servicequotas/snapshot/api_op_AssociateServiceQuotaTemplate.go.snap index eb7ffeb0cf1..31eb3e394dc 100644 --- a/service/servicequotas/snapshot/api_op_AssociateServiceQuotaTemplate.go.snap +++ b/service/servicequotas/snapshot/api_op_AssociateServiceQuotaTemplate.go.snap @@ -13,7 +13,6 @@ AssociateServiceQuotaTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicequotas/snapshot/api_op_DeleteServiceQuotaIncreaseRequestFromTemplate.go.snap b/service/servicequotas/snapshot/api_op_DeleteServiceQuotaIncreaseRequestFromTemplate.go.snap index 2399ebb85be..5d4dbf56c55 100644 --- a/service/servicequotas/snapshot/api_op_DeleteServiceQuotaIncreaseRequestFromTemplate.go.snap +++ b/service/servicequotas/snapshot/api_op_DeleteServiceQuotaIncreaseRequestFromTemplate.go.snap @@ -14,7 +14,6 @@ DeleteServiceQuotaIncreaseRequestFromTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicequotas/snapshot/api_op_DisassociateServiceQuotaTemplate.go.snap b/service/servicequotas/snapshot/api_op_DisassociateServiceQuotaTemplate.go.snap index 3c1465c3dda..4ec6105715c 100644 --- a/service/servicequotas/snapshot/api_op_DisassociateServiceQuotaTemplate.go.snap +++ b/service/servicequotas/snapshot/api_op_DisassociateServiceQuotaTemplate.go.snap @@ -13,7 +13,6 @@ DisassociateServiceQuotaTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicequotas/snapshot/api_op_GetAWSDefaultServiceQuota.go.snap b/service/servicequotas/snapshot/api_op_GetAWSDefaultServiceQuota.go.snap index 6635ef0ba1a..b2052842d94 100644 --- a/service/servicequotas/snapshot/api_op_GetAWSDefaultServiceQuota.go.snap +++ b/service/servicequotas/snapshot/api_op_GetAWSDefaultServiceQuota.go.snap @@ -14,7 +14,6 @@ GetAWSDefaultServiceQuota Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicequotas/snapshot/api_op_GetAssociationForServiceQuotaTemplate.go.snap b/service/servicequotas/snapshot/api_op_GetAssociationForServiceQuotaTemplate.go.snap index 3a9031be85d..1e34882a455 100644 --- a/service/servicequotas/snapshot/api_op_GetAssociationForServiceQuotaTemplate.go.snap +++ b/service/servicequotas/snapshot/api_op_GetAssociationForServiceQuotaTemplate.go.snap @@ -13,7 +13,6 @@ GetAssociationForServiceQuotaTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicequotas/snapshot/api_op_GetRequestedServiceQuotaChange.go.snap b/service/servicequotas/snapshot/api_op_GetRequestedServiceQuotaChange.go.snap index e1a32780d86..e906325f0c2 100644 --- a/service/servicequotas/snapshot/api_op_GetRequestedServiceQuotaChange.go.snap +++ b/service/servicequotas/snapshot/api_op_GetRequestedServiceQuotaChange.go.snap @@ -14,7 +14,6 @@ GetRequestedServiceQuotaChange Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicequotas/snapshot/api_op_GetServiceQuota.go.snap b/service/servicequotas/snapshot/api_op_GetServiceQuota.go.snap index 2ba408837d0..f8b7bb9347d 100644 --- a/service/servicequotas/snapshot/api_op_GetServiceQuota.go.snap +++ b/service/servicequotas/snapshot/api_op_GetServiceQuota.go.snap @@ -14,7 +14,6 @@ GetServiceQuota Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicequotas/snapshot/api_op_GetServiceQuotaIncreaseRequestFromTemplate.go.snap b/service/servicequotas/snapshot/api_op_GetServiceQuotaIncreaseRequestFromTemplate.go.snap index 77198b7587f..fd8195c05d1 100644 --- a/service/servicequotas/snapshot/api_op_GetServiceQuotaIncreaseRequestFromTemplate.go.snap +++ b/service/servicequotas/snapshot/api_op_GetServiceQuotaIncreaseRequestFromTemplate.go.snap @@ -14,7 +14,6 @@ GetServiceQuotaIncreaseRequestFromTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicequotas/snapshot/api_op_ListAWSDefaultServiceQuotas.go.snap b/service/servicequotas/snapshot/api_op_ListAWSDefaultServiceQuotas.go.snap index 1c8e6029dfb..3d5ab578fd1 100644 --- a/service/servicequotas/snapshot/api_op_ListAWSDefaultServiceQuotas.go.snap +++ b/service/servicequotas/snapshot/api_op_ListAWSDefaultServiceQuotas.go.snap @@ -14,7 +14,6 @@ ListAWSDefaultServiceQuotas Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicequotas/snapshot/api_op_ListRequestedServiceQuotaChangeHistory.go.snap b/service/servicequotas/snapshot/api_op_ListRequestedServiceQuotaChangeHistory.go.snap index 668e69df181..44dc9d15518 100644 --- a/service/servicequotas/snapshot/api_op_ListRequestedServiceQuotaChangeHistory.go.snap +++ b/service/servicequotas/snapshot/api_op_ListRequestedServiceQuotaChangeHistory.go.snap @@ -13,7 +13,6 @@ ListRequestedServiceQuotaChangeHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicequotas/snapshot/api_op_ListRequestedServiceQuotaChangeHistoryByQuota.go.snap b/service/servicequotas/snapshot/api_op_ListRequestedServiceQuotaChangeHistoryByQuota.go.snap index 9d1bb1a9420..6dd720b691e 100644 --- a/service/servicequotas/snapshot/api_op_ListRequestedServiceQuotaChangeHistoryByQuota.go.snap +++ b/service/servicequotas/snapshot/api_op_ListRequestedServiceQuotaChangeHistoryByQuota.go.snap @@ -14,7 +14,6 @@ ListRequestedServiceQuotaChangeHistoryByQuota Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicequotas/snapshot/api_op_ListServiceQuotaIncreaseRequestsInTemplate.go.snap b/service/servicequotas/snapshot/api_op_ListServiceQuotaIncreaseRequestsInTemplate.go.snap index dbbf190891f..178c2c4b1ee 100644 --- a/service/servicequotas/snapshot/api_op_ListServiceQuotaIncreaseRequestsInTemplate.go.snap +++ b/service/servicequotas/snapshot/api_op_ListServiceQuotaIncreaseRequestsInTemplate.go.snap @@ -13,7 +13,6 @@ ListServiceQuotaIncreaseRequestsInTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicequotas/snapshot/api_op_ListServiceQuotas.go.snap b/service/servicequotas/snapshot/api_op_ListServiceQuotas.go.snap index 84200fa3e7f..d357bb8ba8b 100644 --- a/service/servicequotas/snapshot/api_op_ListServiceQuotas.go.snap +++ b/service/servicequotas/snapshot/api_op_ListServiceQuotas.go.snap @@ -14,7 +14,6 @@ ListServiceQuotas Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicequotas/snapshot/api_op_ListServices.go.snap b/service/servicequotas/snapshot/api_op_ListServices.go.snap index 6f09c01d3f4..3cc1a93f1f2 100644 --- a/service/servicequotas/snapshot/api_op_ListServices.go.snap +++ b/service/servicequotas/snapshot/api_op_ListServices.go.snap @@ -13,7 +13,6 @@ ListServices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicequotas/snapshot/api_op_ListTagsForResource.go.snap b/service/servicequotas/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/servicequotas/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/servicequotas/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicequotas/snapshot/api_op_PutServiceQuotaIncreaseRequestIntoTemplate.go.snap b/service/servicequotas/snapshot/api_op_PutServiceQuotaIncreaseRequestIntoTemplate.go.snap index a749fca422e..35123502299 100644 --- a/service/servicequotas/snapshot/api_op_PutServiceQuotaIncreaseRequestIntoTemplate.go.snap +++ b/service/servicequotas/snapshot/api_op_PutServiceQuotaIncreaseRequestIntoTemplate.go.snap @@ -14,7 +14,6 @@ PutServiceQuotaIncreaseRequestIntoTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicequotas/snapshot/api_op_RequestServiceQuotaIncrease.go.snap b/service/servicequotas/snapshot/api_op_RequestServiceQuotaIncrease.go.snap index 89e8d120a2f..da1fe2f97f9 100644 --- a/service/servicequotas/snapshot/api_op_RequestServiceQuotaIncrease.go.snap +++ b/service/servicequotas/snapshot/api_op_RequestServiceQuotaIncrease.go.snap @@ -14,7 +14,6 @@ RequestServiceQuotaIncrease Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicequotas/snapshot/api_op_TagResource.go.snap b/service/servicequotas/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/servicequotas/snapshot/api_op_TagResource.go.snap +++ b/service/servicequotas/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/servicequotas/snapshot/api_op_UntagResource.go.snap b/service/servicequotas/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/servicequotas/snapshot/api_op_UntagResource.go.snap +++ b/service/servicequotas/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/api_client.go b/service/ses/api_client.go index 7138809cc66..ec0a85a17be 100644 --- a/service/ses/api_client.go +++ b/service/ses/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/ses/api_op_CloneReceiptRuleSet.go b/service/ses/api_op_CloneReceiptRuleSet.go index 5bce8cd1808..36c50abfb2c 100644 --- a/service/ses/api_op_CloneReceiptRuleSet.go +++ b/service/ses/api_op_CloneReceiptRuleSet.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCloneReceiptRuleSetMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCloneReceiptRuleSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_CreateConfigurationSet.go b/service/ses/api_op_CreateConfigurationSet.go index 5b68248929a..9ad73bace23 100644 --- a/service/ses/api_op_CreateConfigurationSet.go +++ b/service/ses/api_op_CreateConfigurationSet.go @@ -121,9 +121,6 @@ func (c *Client) addOperationCreateConfigurationSetMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConfigurationSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_CreateConfigurationSetEventDestination.go b/service/ses/api_op_CreateConfigurationSetEventDestination.go index 680407888e4..63acaa9f52f 100644 --- a/service/ses/api_op_CreateConfigurationSetEventDestination.go +++ b/service/ses/api_op_CreateConfigurationSetEventDestination.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateConfigurationSetEventDestinationMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConfigurationSetEventDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_CreateConfigurationSetTrackingOptions.go b/service/ses/api_op_CreateConfigurationSetTrackingOptions.go index fe11effeeec..59942ba32a1 100644 --- a/service/ses/api_op_CreateConfigurationSetTrackingOptions.go +++ b/service/ses/api_op_CreateConfigurationSetTrackingOptions.go @@ -130,9 +130,6 @@ func (c *Client) addOperationCreateConfigurationSetTrackingOptionsMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConfigurationSetTrackingOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_CreateCustomVerificationEmailTemplate.go b/service/ses/api_op_CreateCustomVerificationEmailTemplate.go index 336e495994f..0f3e5ac8a70 100644 --- a/service/ses/api_op_CreateCustomVerificationEmailTemplate.go +++ b/service/ses/api_op_CreateCustomVerificationEmailTemplate.go @@ -146,9 +146,6 @@ func (c *Client) addOperationCreateCustomVerificationEmailTemplateMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCustomVerificationEmailTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_CreateReceiptFilter.go b/service/ses/api_op_CreateReceiptFilter.go index ad793aed9da..0f0a1a8378c 100644 --- a/service/ses/api_op_CreateReceiptFilter.go +++ b/service/ses/api_op_CreateReceiptFilter.go @@ -120,9 +120,6 @@ func (c *Client) addOperationCreateReceiptFilterMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateReceiptFilterValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_CreateReceiptRule.go b/service/ses/api_op_CreateReceiptRule.go index 92b1f6858c4..0143fdaa805 100644 --- a/service/ses/api_op_CreateReceiptRule.go +++ b/service/ses/api_op_CreateReceiptRule.go @@ -129,9 +129,6 @@ func (c *Client) addOperationCreateReceiptRuleMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateReceiptRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_CreateReceiptRuleSet.go b/service/ses/api_op_CreateReceiptRuleSet.go index 4326a665bf0..ea9ae9bd735 100644 --- a/service/ses/api_op_CreateReceiptRuleSet.go +++ b/service/ses/api_op_CreateReceiptRuleSet.go @@ -126,9 +126,6 @@ func (c *Client) addOperationCreateReceiptRuleSetMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateReceiptRuleSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_CreateTemplate.go b/service/ses/api_op_CreateTemplate.go index 0b8d8ef653f..27be3e384c3 100644 --- a/service/ses/api_op_CreateTemplate.go +++ b/service/ses/api_op_CreateTemplate.go @@ -119,9 +119,6 @@ func (c *Client) addOperationCreateTemplateMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_DeleteConfigurationSet.go b/service/ses/api_op_DeleteConfigurationSet.go index 375181b2290..80d4a3a6514 100644 --- a/service/ses/api_op_DeleteConfigurationSet.go +++ b/service/ses/api_op_DeleteConfigurationSet.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteConfigurationSetMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConfigurationSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_DeleteConfigurationSetEventDestination.go b/service/ses/api_op_DeleteConfigurationSetEventDestination.go index f17dc268dc1..956304bbbb6 100644 --- a/service/ses/api_op_DeleteConfigurationSetEventDestination.go +++ b/service/ses/api_op_DeleteConfigurationSetEventDestination.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDeleteConfigurationSetEventDestinationMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConfigurationSetEventDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_DeleteConfigurationSetTrackingOptions.go b/service/ses/api_op_DeleteConfigurationSetTrackingOptions.go index f1a48b00db1..7b85e1642c5 100644 --- a/service/ses/api_op_DeleteConfigurationSetTrackingOptions.go +++ b/service/ses/api_op_DeleteConfigurationSetTrackingOptions.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteConfigurationSetTrackingOptionsMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConfigurationSetTrackingOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_DeleteCustomVerificationEmailTemplate.go b/service/ses/api_op_DeleteCustomVerificationEmailTemplate.go index 0d40be35a38..dccc2391cb4 100644 --- a/service/ses/api_op_DeleteCustomVerificationEmailTemplate.go +++ b/service/ses/api_op_DeleteCustomVerificationEmailTemplate.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteCustomVerificationEmailTemplateMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCustomVerificationEmailTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_DeleteIdentity.go b/service/ses/api_op_DeleteIdentity.go index 75fb6106599..451a5aaa94d 100644 --- a/service/ses/api_op_DeleteIdentity.go +++ b/service/ses/api_op_DeleteIdentity.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteIdentityMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIdentityValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_DeleteIdentityPolicy.go b/service/ses/api_op_DeleteIdentityPolicy.go index 6bbc3e2a24f..fa5f79d321c 100644 --- a/service/ses/api_op_DeleteIdentityPolicy.go +++ b/service/ses/api_op_DeleteIdentityPolicy.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDeleteIdentityPolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIdentityPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_DeleteReceiptFilter.go b/service/ses/api_op_DeleteReceiptFilter.go index 0411d608bfa..387cf36dba6 100644 --- a/service/ses/api_op_DeleteReceiptFilter.go +++ b/service/ses/api_op_DeleteReceiptFilter.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteReceiptFilterMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteReceiptFilterValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_DeleteReceiptRule.go b/service/ses/api_op_DeleteReceiptRule.go index bd20bc857f8..a694ef21e8d 100644 --- a/service/ses/api_op_DeleteReceiptRule.go +++ b/service/ses/api_op_DeleteReceiptRule.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteReceiptRuleMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteReceiptRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_DeleteReceiptRuleSet.go b/service/ses/api_op_DeleteReceiptRuleSet.go index bd7681bbde3..5487d74619b 100644 --- a/service/ses/api_op_DeleteReceiptRuleSet.go +++ b/service/ses/api_op_DeleteReceiptRuleSet.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteReceiptRuleSetMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteReceiptRuleSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_DeleteTemplate.go b/service/ses/api_op_DeleteTemplate.go index 5686609d536..be59cc3f62c 100644 --- a/service/ses/api_op_DeleteTemplate.go +++ b/service/ses/api_op_DeleteTemplate.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteTemplateMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_DeleteVerifiedEmailAddress.go b/service/ses/api_op_DeleteVerifiedEmailAddress.go index 306899bf6f0..70ff3942a84 100644 --- a/service/ses/api_op_DeleteVerifiedEmailAddress.go +++ b/service/ses/api_op_DeleteVerifiedEmailAddress.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteVerifiedEmailAddressMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVerifiedEmailAddressValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_DescribeActiveReceiptRuleSet.go b/service/ses/api_op_DescribeActiveReceiptRuleSet.go index 84445945cdf..954d761d3e9 100644 --- a/service/ses/api_op_DescribeActiveReceiptRuleSet.go +++ b/service/ses/api_op_DescribeActiveReceiptRuleSet.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeActiveReceiptRuleSetMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeActiveReceiptRuleSet(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ses/api_op_DescribeConfigurationSet.go b/service/ses/api_op_DescribeConfigurationSet.go index bd341d32bed..5e967c2b42e 100644 --- a/service/ses/api_op_DescribeConfigurationSet.go +++ b/service/ses/api_op_DescribeConfigurationSet.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDescribeConfigurationSetMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeConfigurationSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_DescribeReceiptRule.go b/service/ses/api_op_DescribeReceiptRule.go index 51546b86ec2..c4166894cf9 100644 --- a/service/ses/api_op_DescribeReceiptRule.go +++ b/service/ses/api_op_DescribeReceiptRule.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeReceiptRuleMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeReceiptRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_DescribeReceiptRuleSet.go b/service/ses/api_op_DescribeReceiptRuleSet.go index d57d25b6b4e..4ffa520803c 100644 --- a/service/ses/api_op_DescribeReceiptRuleSet.go +++ b/service/ses/api_op_DescribeReceiptRuleSet.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDescribeReceiptRuleSetMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeReceiptRuleSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_GetAccountSendingEnabled.go b/service/ses/api_op_GetAccountSendingEnabled.go index a038274c18c..9c3720bddc6 100644 --- a/service/ses/api_op_GetAccountSendingEnabled.go +++ b/service/ses/api_op_GetAccountSendingEnabled.go @@ -111,9 +111,6 @@ func (c *Client) addOperationGetAccountSendingEnabledMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountSendingEnabled(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ses/api_op_GetCustomVerificationEmailTemplate.go b/service/ses/api_op_GetCustomVerificationEmailTemplate.go index 4e1334641a0..789ea5cc0dc 100644 --- a/service/ses/api_op_GetCustomVerificationEmailTemplate.go +++ b/service/ses/api_op_GetCustomVerificationEmailTemplate.go @@ -138,9 +138,6 @@ func (c *Client) addOperationGetCustomVerificationEmailTemplateMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCustomVerificationEmailTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_GetIdentityDkimAttributes.go b/service/ses/api_op_GetIdentityDkimAttributes.go index 8a63e162e5d..841f79d4af6 100644 --- a/service/ses/api_op_GetIdentityDkimAttributes.go +++ b/service/ses/api_op_GetIdentityDkimAttributes.go @@ -147,9 +147,6 @@ func (c *Client) addOperationGetIdentityDkimAttributesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIdentityDkimAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_GetIdentityMailFromDomainAttributes.go b/service/ses/api_op_GetIdentityMailFromDomainAttributes.go index 5ae04fbe679..7fdbf07ff87 100644 --- a/service/ses/api_op_GetIdentityMailFromDomainAttributes.go +++ b/service/ses/api_op_GetIdentityMailFromDomainAttributes.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetIdentityMailFromDomainAttributesMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIdentityMailFromDomainAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_GetIdentityNotificationAttributes.go b/service/ses/api_op_GetIdentityNotificationAttributes.go index 6762a3f7c2c..eee8535b5b8 100644 --- a/service/ses/api_op_GetIdentityNotificationAttributes.go +++ b/service/ses/api_op_GetIdentityNotificationAttributes.go @@ -130,9 +130,6 @@ func (c *Client) addOperationGetIdentityNotificationAttributesMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIdentityNotificationAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_GetIdentityPolicies.go b/service/ses/api_op_GetIdentityPolicies.go index 793a83c4375..1ea6b7eaef2 100644 --- a/service/ses/api_op_GetIdentityPolicies.go +++ b/service/ses/api_op_GetIdentityPolicies.go @@ -144,9 +144,6 @@ func (c *Client) addOperationGetIdentityPoliciesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIdentityPoliciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_GetIdentityVerificationAttributes.go b/service/ses/api_op_GetIdentityVerificationAttributes.go index 85570b85284..d98537fc577 100644 --- a/service/ses/api_op_GetIdentityVerificationAttributes.go +++ b/service/ses/api_op_GetIdentityVerificationAttributes.go @@ -144,9 +144,6 @@ func (c *Client) addOperationGetIdentityVerificationAttributesMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIdentityVerificationAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_GetSendQuota.go b/service/ses/api_op_GetSendQuota.go index d2a840e0c9e..2ee1c276f57 100644 --- a/service/ses/api_op_GetSendQuota.go +++ b/service/ses/api_op_GetSendQuota.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetSendQuotaMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSendQuota(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ses/api_op_GetSendStatistics.go b/service/ses/api_op_GetSendStatistics.go index 5bf27bc0731..9832641fd53 100644 --- a/service/ses/api_op_GetSendStatistics.go +++ b/service/ses/api_op_GetSendStatistics.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetSendStatisticsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSendStatistics(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ses/api_op_GetTemplate.go b/service/ses/api_op_GetTemplate.go index cd535679f92..9e35ea215d9 100644 --- a/service/ses/api_op_GetTemplate.go +++ b/service/ses/api_op_GetTemplate.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetTemplateMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_ListConfigurationSets.go b/service/ses/api_op_ListConfigurationSets.go index 944e0306fe9..e35c8a45276 100644 --- a/service/ses/api_op_ListConfigurationSets.go +++ b/service/ses/api_op_ListConfigurationSets.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListConfigurationSetsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConfigurationSets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ses/api_op_ListCustomVerificationEmailTemplates.go b/service/ses/api_op_ListCustomVerificationEmailTemplates.go index 5e7e65296e7..925b421bec9 100644 --- a/service/ses/api_op_ListCustomVerificationEmailTemplates.go +++ b/service/ses/api_op_ListCustomVerificationEmailTemplates.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListCustomVerificationEmailTemplatesMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCustomVerificationEmailTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ses/api_op_ListIdentities.go b/service/ses/api_op_ListIdentities.go index b007ab9a957..99d60951a6d 100644 --- a/service/ses/api_op_ListIdentities.go +++ b/service/ses/api_op_ListIdentities.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListIdentitiesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIdentities(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ses/api_op_ListIdentityPolicies.go b/service/ses/api_op_ListIdentityPolicies.go index 5660113b87c..b8e03285ff2 100644 --- a/service/ses/api_op_ListIdentityPolicies.go +++ b/service/ses/api_op_ListIdentityPolicies.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListIdentityPoliciesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIdentityPoliciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_ListReceiptFilters.go b/service/ses/api_op_ListReceiptFilters.go index d2d0343c104..b3155cc910d 100644 --- a/service/ses/api_op_ListReceiptFilters.go +++ b/service/ses/api_op_ListReceiptFilters.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListReceiptFiltersMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReceiptFilters(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ses/api_op_ListReceiptRuleSets.go b/service/ses/api_op_ListReceiptRuleSets.go index 74130457681..5b03b1d1080 100644 --- a/service/ses/api_op_ListReceiptRuleSets.go +++ b/service/ses/api_op_ListReceiptRuleSets.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListReceiptRuleSetsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReceiptRuleSets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ses/api_op_ListTemplates.go b/service/ses/api_op_ListTemplates.go index 21d79b48882..c34d6aabf50 100644 --- a/service/ses/api_op_ListTemplates.go +++ b/service/ses/api_op_ListTemplates.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListTemplatesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ses/api_op_ListVerifiedEmailAddresses.go b/service/ses/api_op_ListVerifiedEmailAddresses.go index afe7bfa0383..e4a8f2d9428 100644 --- a/service/ses/api_op_ListVerifiedEmailAddresses.go +++ b/service/ses/api_op_ListVerifiedEmailAddresses.go @@ -108,9 +108,6 @@ func (c *Client) addOperationListVerifiedEmailAddressesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVerifiedEmailAddresses(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ses/api_op_PutConfigurationSetDeliveryOptions.go b/service/ses/api_op_PutConfigurationSetDeliveryOptions.go index 624148ef65f..17c5755a379 100644 --- a/service/ses/api_op_PutConfigurationSetDeliveryOptions.go +++ b/service/ses/api_op_PutConfigurationSetDeliveryOptions.go @@ -115,9 +115,6 @@ func (c *Client) addOperationPutConfigurationSetDeliveryOptionsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutConfigurationSetDeliveryOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_PutIdentityPolicy.go b/service/ses/api_op_PutIdentityPolicy.go index 8d76efd8e7f..1095324cac6 100644 --- a/service/ses/api_op_PutIdentityPolicy.go +++ b/service/ses/api_op_PutIdentityPolicy.go @@ -147,9 +147,6 @@ func (c *Client) addOperationPutIdentityPolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutIdentityPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_ReorderReceiptRuleSet.go b/service/ses/api_op_ReorderReceiptRuleSet.go index bbb21e79b38..3ba048fe517 100644 --- a/service/ses/api_op_ReorderReceiptRuleSet.go +++ b/service/ses/api_op_ReorderReceiptRuleSet.go @@ -127,9 +127,6 @@ func (c *Client) addOperationReorderReceiptRuleSetMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpReorderReceiptRuleSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_SendBounce.go b/service/ses/api_op_SendBounce.go index 1f7327efce3..798b1fdb5c1 100644 --- a/service/ses/api_op_SendBounce.go +++ b/service/ses/api_op_SendBounce.go @@ -155,9 +155,6 @@ func (c *Client) addOperationSendBounceMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendBounceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_SendBulkTemplatedEmail.go b/service/ses/api_op_SendBulkTemplatedEmail.go index 7d484e7672e..2f92a1ad705 100644 --- a/service/ses/api_op_SendBulkTemplatedEmail.go +++ b/service/ses/api_op_SendBulkTemplatedEmail.go @@ -250,9 +250,6 @@ func (c *Client) addOperationSendBulkTemplatedEmailMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendBulkTemplatedEmailValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_SendCustomVerificationEmail.go b/service/ses/api_op_SendCustomVerificationEmail.go index 195e1094df9..a07585fff16 100644 --- a/service/ses/api_op_SendCustomVerificationEmail.go +++ b/service/ses/api_op_SendCustomVerificationEmail.go @@ -135,9 +135,6 @@ func (c *Client) addOperationSendCustomVerificationEmailMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendCustomVerificationEmailValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_SendEmail.go b/service/ses/api_op_SendEmail.go index 256a19ab00f..2d076921330 100644 --- a/service/ses/api_op_SendEmail.go +++ b/service/ses/api_op_SendEmail.go @@ -232,9 +232,6 @@ func (c *Client) addOperationSendEmailMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendEmailValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_SendRawEmail.go b/service/ses/api_op_SendRawEmail.go index 4279fbd898d..46a2f08cbf8 100644 --- a/service/ses/api_op_SendRawEmail.go +++ b/service/ses/api_op_SendRawEmail.go @@ -316,9 +316,6 @@ func (c *Client) addOperationSendRawEmailMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendRawEmailValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_SendTemplatedEmail.go b/service/ses/api_op_SendTemplatedEmail.go index 70cda045d10..c051d75994f 100644 --- a/service/ses/api_op_SendTemplatedEmail.go +++ b/service/ses/api_op_SendTemplatedEmail.go @@ -251,9 +251,6 @@ func (c *Client) addOperationSendTemplatedEmailMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendTemplatedEmailValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_SetActiveReceiptRuleSet.go b/service/ses/api_op_SetActiveReceiptRuleSet.go index 0cdcfb8cc21..59490120481 100644 --- a/service/ses/api_op_SetActiveReceiptRuleSet.go +++ b/service/ses/api_op_SetActiveReceiptRuleSet.go @@ -121,9 +121,6 @@ func (c *Client) addOperationSetActiveReceiptRuleSetMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSetActiveReceiptRuleSet(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ses/api_op_SetIdentityDkimEnabled.go b/service/ses/api_op_SetIdentityDkimEnabled.go index d4f90ce10f4..889297152af 100644 --- a/service/ses/api_op_SetIdentityDkimEnabled.go +++ b/service/ses/api_op_SetIdentityDkimEnabled.go @@ -136,9 +136,6 @@ func (c *Client) addOperationSetIdentityDkimEnabledMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetIdentityDkimEnabledValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_SetIdentityFeedbackForwardingEnabled.go b/service/ses/api_op_SetIdentityFeedbackForwardingEnabled.go index 40687699bf5..5c3ffab8aff 100644 --- a/service/ses/api_op_SetIdentityFeedbackForwardingEnabled.go +++ b/service/ses/api_op_SetIdentityFeedbackForwardingEnabled.go @@ -136,9 +136,6 @@ func (c *Client) addOperationSetIdentityFeedbackForwardingEnabledMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetIdentityFeedbackForwardingEnabledValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_SetIdentityHeadersInNotificationsEnabled.go b/service/ses/api_op_SetIdentityHeadersInNotificationsEnabled.go index b3df756ec05..dab869cbe3d 100644 --- a/service/ses/api_op_SetIdentityHeadersInNotificationsEnabled.go +++ b/service/ses/api_op_SetIdentityHeadersInNotificationsEnabled.go @@ -139,9 +139,6 @@ func (c *Client) addOperationSetIdentityHeadersInNotificationsEnabledMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetIdentityHeadersInNotificationsEnabledValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_SetIdentityMailFromDomain.go b/service/ses/api_op_SetIdentityMailFromDomain.go index 8fc69928c73..452606ad23d 100644 --- a/service/ses/api_op_SetIdentityMailFromDomain.go +++ b/service/ses/api_op_SetIdentityMailFromDomain.go @@ -143,9 +143,6 @@ func (c *Client) addOperationSetIdentityMailFromDomainMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetIdentityMailFromDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_SetIdentityNotificationTopic.go b/service/ses/api_op_SetIdentityNotificationTopic.go index 9ceb9899bf3..00b6983e9a5 100644 --- a/service/ses/api_op_SetIdentityNotificationTopic.go +++ b/service/ses/api_op_SetIdentityNotificationTopic.go @@ -142,9 +142,6 @@ func (c *Client) addOperationSetIdentityNotificationTopicMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetIdentityNotificationTopicValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_SetReceiptRulePosition.go b/service/ses/api_op_SetReceiptRulePosition.go index 55511dff93f..395842fc057 100644 --- a/service/ses/api_op_SetReceiptRulePosition.go +++ b/service/ses/api_op_SetReceiptRulePosition.go @@ -127,9 +127,6 @@ func (c *Client) addOperationSetReceiptRulePositionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetReceiptRulePositionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_TestRenderTemplate.go b/service/ses/api_op_TestRenderTemplate.go index 63c64fe3c63..b2fc7efd7a4 100644 --- a/service/ses/api_op_TestRenderTemplate.go +++ b/service/ses/api_op_TestRenderTemplate.go @@ -122,9 +122,6 @@ func (c *Client) addOperationTestRenderTemplateMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTestRenderTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_UpdateAccountSendingEnabled.go b/service/ses/api_op_UpdateAccountSendingEnabled.go index 10136c4cd99..de9526551b2 100644 --- a/service/ses/api_op_UpdateAccountSendingEnabled.go +++ b/service/ses/api_op_UpdateAccountSendingEnabled.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUpdateAccountSendingEnabledMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAccountSendingEnabled(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ses/api_op_UpdateConfigurationSetEventDestination.go b/service/ses/api_op_UpdateConfigurationSetEventDestination.go index 8fbde53c04a..b3fe33dc070 100644 --- a/service/ses/api_op_UpdateConfigurationSetEventDestination.go +++ b/service/ses/api_op_UpdateConfigurationSetEventDestination.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateConfigurationSetEventDestinationMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConfigurationSetEventDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_UpdateConfigurationSetReputationMetricsEnabled.go b/service/ses/api_op_UpdateConfigurationSetReputationMetricsEnabled.go index 52bcedcbff5..0b3ab7483be 100644 --- a/service/ses/api_op_UpdateConfigurationSetReputationMetricsEnabled.go +++ b/service/ses/api_op_UpdateConfigurationSetReputationMetricsEnabled.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateConfigurationSetReputationMetricsEnabledMiddl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConfigurationSetReputationMetricsEnabledValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_UpdateConfigurationSetSendingEnabled.go b/service/ses/api_op_UpdateConfigurationSetSendingEnabled.go index 4171e4a0c01..961780653fd 100644 --- a/service/ses/api_op_UpdateConfigurationSetSendingEnabled.go +++ b/service/ses/api_op_UpdateConfigurationSetSendingEnabled.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateConfigurationSetSendingEnabledMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConfigurationSetSendingEnabledValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_UpdateConfigurationSetTrackingOptions.go b/service/ses/api_op_UpdateConfigurationSetTrackingOptions.go index 23746fd6f25..400fb736ac6 100644 --- a/service/ses/api_op_UpdateConfigurationSetTrackingOptions.go +++ b/service/ses/api_op_UpdateConfigurationSetTrackingOptions.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateConfigurationSetTrackingOptionsMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConfigurationSetTrackingOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_UpdateCustomVerificationEmailTemplate.go b/service/ses/api_op_UpdateCustomVerificationEmailTemplate.go index 7a85c362777..45f6aef7e8a 100644 --- a/service/ses/api_op_UpdateCustomVerificationEmailTemplate.go +++ b/service/ses/api_op_UpdateCustomVerificationEmailTemplate.go @@ -136,9 +136,6 @@ func (c *Client) addOperationUpdateCustomVerificationEmailTemplateMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCustomVerificationEmailTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_UpdateReceiptRule.go b/service/ses/api_op_UpdateReceiptRule.go index e97397e408d..18bb467f37e 100644 --- a/service/ses/api_op_UpdateReceiptRule.go +++ b/service/ses/api_op_UpdateReceiptRule.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateReceiptRuleMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateReceiptRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_UpdateTemplate.go b/service/ses/api_op_UpdateTemplate.go index 5f0227b770b..6d188d6595b 100644 --- a/service/ses/api_op_UpdateTemplate.go +++ b/service/ses/api_op_UpdateTemplate.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUpdateTemplateMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_VerifyDomainDkim.go b/service/ses/api_op_VerifyDomainDkim.go index f912008bfb9..603fa4b0744 100644 --- a/service/ses/api_op_VerifyDomainDkim.go +++ b/service/ses/api_op_VerifyDomainDkim.go @@ -161,9 +161,6 @@ func (c *Client) addOperationVerifyDomainDkimMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpVerifyDomainDkimValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_VerifyDomainIdentity.go b/service/ses/api_op_VerifyDomainIdentity.go index fd4b8821fc8..c39e7086b1e 100644 --- a/service/ses/api_op_VerifyDomainIdentity.go +++ b/service/ses/api_op_VerifyDomainIdentity.go @@ -135,9 +135,6 @@ func (c *Client) addOperationVerifyDomainIdentityMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpVerifyDomainIdentityValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_VerifyEmailAddress.go b/service/ses/api_op_VerifyEmailAddress.go index aec492a0f46..550f7dc69e8 100644 --- a/service/ses/api_op_VerifyEmailAddress.go +++ b/service/ses/api_op_VerifyEmailAddress.go @@ -111,9 +111,6 @@ func (c *Client) addOperationVerifyEmailAddressMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpVerifyEmailAddressValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/api_op_VerifyEmailIdentity.go b/service/ses/api_op_VerifyEmailIdentity.go index cb2b444c3d8..a288c1992d7 100644 --- a/service/ses/api_op_VerifyEmailIdentity.go +++ b/service/ses/api_op_VerifyEmailIdentity.go @@ -116,9 +116,6 @@ func (c *Client) addOperationVerifyEmailIdentityMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpVerifyEmailIdentityValidationMiddleware(stack); err != nil { return err } diff --git a/service/ses/snapshot/api_op_CloneReceiptRuleSet.go.snap b/service/ses/snapshot/api_op_CloneReceiptRuleSet.go.snap index 973b0653571..90b2c90648d 100644 --- a/service/ses/snapshot/api_op_CloneReceiptRuleSet.go.snap +++ b/service/ses/snapshot/api_op_CloneReceiptRuleSet.go.snap @@ -14,7 +14,6 @@ CloneReceiptRuleSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_CreateConfigurationSet.go.snap b/service/ses/snapshot/api_op_CreateConfigurationSet.go.snap index 23327154112..f88f5165b23 100644 --- a/service/ses/snapshot/api_op_CreateConfigurationSet.go.snap +++ b/service/ses/snapshot/api_op_CreateConfigurationSet.go.snap @@ -14,7 +14,6 @@ CreateConfigurationSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_CreateConfigurationSetEventDestination.go.snap b/service/ses/snapshot/api_op_CreateConfigurationSetEventDestination.go.snap index e273ff4bc46..21d4c7d2443 100644 --- a/service/ses/snapshot/api_op_CreateConfigurationSetEventDestination.go.snap +++ b/service/ses/snapshot/api_op_CreateConfigurationSetEventDestination.go.snap @@ -14,7 +14,6 @@ CreateConfigurationSetEventDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_CreateConfigurationSetTrackingOptions.go.snap b/service/ses/snapshot/api_op_CreateConfigurationSetTrackingOptions.go.snap index 5d9eba7ddb1..ad7b04bb53e 100644 --- a/service/ses/snapshot/api_op_CreateConfigurationSetTrackingOptions.go.snap +++ b/service/ses/snapshot/api_op_CreateConfigurationSetTrackingOptions.go.snap @@ -14,7 +14,6 @@ CreateConfigurationSetTrackingOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_CreateCustomVerificationEmailTemplate.go.snap b/service/ses/snapshot/api_op_CreateCustomVerificationEmailTemplate.go.snap index 4e776bcffae..e2c20bf2435 100644 --- a/service/ses/snapshot/api_op_CreateCustomVerificationEmailTemplate.go.snap +++ b/service/ses/snapshot/api_op_CreateCustomVerificationEmailTemplate.go.snap @@ -14,7 +14,6 @@ CreateCustomVerificationEmailTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_CreateReceiptFilter.go.snap b/service/ses/snapshot/api_op_CreateReceiptFilter.go.snap index b7ed53207f6..7b24ef5da62 100644 --- a/service/ses/snapshot/api_op_CreateReceiptFilter.go.snap +++ b/service/ses/snapshot/api_op_CreateReceiptFilter.go.snap @@ -14,7 +14,6 @@ CreateReceiptFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_CreateReceiptRule.go.snap b/service/ses/snapshot/api_op_CreateReceiptRule.go.snap index 98a225eb4e9..e5e1e82bb38 100644 --- a/service/ses/snapshot/api_op_CreateReceiptRule.go.snap +++ b/service/ses/snapshot/api_op_CreateReceiptRule.go.snap @@ -14,7 +14,6 @@ CreateReceiptRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_CreateReceiptRuleSet.go.snap b/service/ses/snapshot/api_op_CreateReceiptRuleSet.go.snap index 0bd4b62014f..2f4a42cc540 100644 --- a/service/ses/snapshot/api_op_CreateReceiptRuleSet.go.snap +++ b/service/ses/snapshot/api_op_CreateReceiptRuleSet.go.snap @@ -14,7 +14,6 @@ CreateReceiptRuleSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_CreateTemplate.go.snap b/service/ses/snapshot/api_op_CreateTemplate.go.snap index b4031071673..2c0edcbe8f5 100644 --- a/service/ses/snapshot/api_op_CreateTemplate.go.snap +++ b/service/ses/snapshot/api_op_CreateTemplate.go.snap @@ -14,7 +14,6 @@ CreateTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_DeleteConfigurationSet.go.snap b/service/ses/snapshot/api_op_DeleteConfigurationSet.go.snap index c8de5b62739..c7f4d120ec5 100644 --- a/service/ses/snapshot/api_op_DeleteConfigurationSet.go.snap +++ b/service/ses/snapshot/api_op_DeleteConfigurationSet.go.snap @@ -14,7 +14,6 @@ DeleteConfigurationSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_DeleteConfigurationSetEventDestination.go.snap b/service/ses/snapshot/api_op_DeleteConfigurationSetEventDestination.go.snap index 6e85ce81822..ea61d59c58e 100644 --- a/service/ses/snapshot/api_op_DeleteConfigurationSetEventDestination.go.snap +++ b/service/ses/snapshot/api_op_DeleteConfigurationSetEventDestination.go.snap @@ -14,7 +14,6 @@ DeleteConfigurationSetEventDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_DeleteConfigurationSetTrackingOptions.go.snap b/service/ses/snapshot/api_op_DeleteConfigurationSetTrackingOptions.go.snap index 856b600918e..61aa7351314 100644 --- a/service/ses/snapshot/api_op_DeleteConfigurationSetTrackingOptions.go.snap +++ b/service/ses/snapshot/api_op_DeleteConfigurationSetTrackingOptions.go.snap @@ -14,7 +14,6 @@ DeleteConfigurationSetTrackingOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_DeleteCustomVerificationEmailTemplate.go.snap b/service/ses/snapshot/api_op_DeleteCustomVerificationEmailTemplate.go.snap index 447b220e9bc..3d70e37e039 100644 --- a/service/ses/snapshot/api_op_DeleteCustomVerificationEmailTemplate.go.snap +++ b/service/ses/snapshot/api_op_DeleteCustomVerificationEmailTemplate.go.snap @@ -14,7 +14,6 @@ DeleteCustomVerificationEmailTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_DeleteIdentity.go.snap b/service/ses/snapshot/api_op_DeleteIdentity.go.snap index 16de5656038..922de362b93 100644 --- a/service/ses/snapshot/api_op_DeleteIdentity.go.snap +++ b/service/ses/snapshot/api_op_DeleteIdentity.go.snap @@ -14,7 +14,6 @@ DeleteIdentity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_DeleteIdentityPolicy.go.snap b/service/ses/snapshot/api_op_DeleteIdentityPolicy.go.snap index 6cd94b2d170..f33dea06c95 100644 --- a/service/ses/snapshot/api_op_DeleteIdentityPolicy.go.snap +++ b/service/ses/snapshot/api_op_DeleteIdentityPolicy.go.snap @@ -14,7 +14,6 @@ DeleteIdentityPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_DeleteReceiptFilter.go.snap b/service/ses/snapshot/api_op_DeleteReceiptFilter.go.snap index 0c0f3488d65..0f0ce7d4de5 100644 --- a/service/ses/snapshot/api_op_DeleteReceiptFilter.go.snap +++ b/service/ses/snapshot/api_op_DeleteReceiptFilter.go.snap @@ -14,7 +14,6 @@ DeleteReceiptFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_DeleteReceiptRule.go.snap b/service/ses/snapshot/api_op_DeleteReceiptRule.go.snap index 45f2faccee4..2c989cf906f 100644 --- a/service/ses/snapshot/api_op_DeleteReceiptRule.go.snap +++ b/service/ses/snapshot/api_op_DeleteReceiptRule.go.snap @@ -14,7 +14,6 @@ DeleteReceiptRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_DeleteReceiptRuleSet.go.snap b/service/ses/snapshot/api_op_DeleteReceiptRuleSet.go.snap index 296c043ad09..d4b20efe62a 100644 --- a/service/ses/snapshot/api_op_DeleteReceiptRuleSet.go.snap +++ b/service/ses/snapshot/api_op_DeleteReceiptRuleSet.go.snap @@ -14,7 +14,6 @@ DeleteReceiptRuleSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_DeleteTemplate.go.snap b/service/ses/snapshot/api_op_DeleteTemplate.go.snap index 41c557a15e0..c8aa686044f 100644 --- a/service/ses/snapshot/api_op_DeleteTemplate.go.snap +++ b/service/ses/snapshot/api_op_DeleteTemplate.go.snap @@ -14,7 +14,6 @@ DeleteTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_DeleteVerifiedEmailAddress.go.snap b/service/ses/snapshot/api_op_DeleteVerifiedEmailAddress.go.snap index bff02e6e9ca..1b12a8277a7 100644 --- a/service/ses/snapshot/api_op_DeleteVerifiedEmailAddress.go.snap +++ b/service/ses/snapshot/api_op_DeleteVerifiedEmailAddress.go.snap @@ -14,7 +14,6 @@ DeleteVerifiedEmailAddress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_DescribeActiveReceiptRuleSet.go.snap b/service/ses/snapshot/api_op_DescribeActiveReceiptRuleSet.go.snap index 37dad3b2382..3fd1cd1e5b9 100644 --- a/service/ses/snapshot/api_op_DescribeActiveReceiptRuleSet.go.snap +++ b/service/ses/snapshot/api_op_DescribeActiveReceiptRuleSet.go.snap @@ -13,7 +13,6 @@ DescribeActiveReceiptRuleSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_DescribeConfigurationSet.go.snap b/service/ses/snapshot/api_op_DescribeConfigurationSet.go.snap index 41ac42ee136..8f9231f8af2 100644 --- a/service/ses/snapshot/api_op_DescribeConfigurationSet.go.snap +++ b/service/ses/snapshot/api_op_DescribeConfigurationSet.go.snap @@ -14,7 +14,6 @@ DescribeConfigurationSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_DescribeReceiptRule.go.snap b/service/ses/snapshot/api_op_DescribeReceiptRule.go.snap index f3f9226c3d7..e550bf57a90 100644 --- a/service/ses/snapshot/api_op_DescribeReceiptRule.go.snap +++ b/service/ses/snapshot/api_op_DescribeReceiptRule.go.snap @@ -14,7 +14,6 @@ DescribeReceiptRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_DescribeReceiptRuleSet.go.snap b/service/ses/snapshot/api_op_DescribeReceiptRuleSet.go.snap index 17682ae4541..c2f745f19be 100644 --- a/service/ses/snapshot/api_op_DescribeReceiptRuleSet.go.snap +++ b/service/ses/snapshot/api_op_DescribeReceiptRuleSet.go.snap @@ -14,7 +14,6 @@ DescribeReceiptRuleSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_GetAccountSendingEnabled.go.snap b/service/ses/snapshot/api_op_GetAccountSendingEnabled.go.snap index b2275e1b0e8..b8b7fb61b41 100644 --- a/service/ses/snapshot/api_op_GetAccountSendingEnabled.go.snap +++ b/service/ses/snapshot/api_op_GetAccountSendingEnabled.go.snap @@ -13,7 +13,6 @@ GetAccountSendingEnabled Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_GetCustomVerificationEmailTemplate.go.snap b/service/ses/snapshot/api_op_GetCustomVerificationEmailTemplate.go.snap index c635a8647f1..6c093774b45 100644 --- a/service/ses/snapshot/api_op_GetCustomVerificationEmailTemplate.go.snap +++ b/service/ses/snapshot/api_op_GetCustomVerificationEmailTemplate.go.snap @@ -14,7 +14,6 @@ GetCustomVerificationEmailTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_GetIdentityDkimAttributes.go.snap b/service/ses/snapshot/api_op_GetIdentityDkimAttributes.go.snap index e7af0291676..8128bbfcd2a 100644 --- a/service/ses/snapshot/api_op_GetIdentityDkimAttributes.go.snap +++ b/service/ses/snapshot/api_op_GetIdentityDkimAttributes.go.snap @@ -14,7 +14,6 @@ GetIdentityDkimAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_GetIdentityMailFromDomainAttributes.go.snap b/service/ses/snapshot/api_op_GetIdentityMailFromDomainAttributes.go.snap index 4aea7026cde..b852949d6a6 100644 --- a/service/ses/snapshot/api_op_GetIdentityMailFromDomainAttributes.go.snap +++ b/service/ses/snapshot/api_op_GetIdentityMailFromDomainAttributes.go.snap @@ -14,7 +14,6 @@ GetIdentityMailFromDomainAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_GetIdentityNotificationAttributes.go.snap b/service/ses/snapshot/api_op_GetIdentityNotificationAttributes.go.snap index 1ecaefe13f8..928167e2169 100644 --- a/service/ses/snapshot/api_op_GetIdentityNotificationAttributes.go.snap +++ b/service/ses/snapshot/api_op_GetIdentityNotificationAttributes.go.snap @@ -14,7 +14,6 @@ GetIdentityNotificationAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_GetIdentityPolicies.go.snap b/service/ses/snapshot/api_op_GetIdentityPolicies.go.snap index eca36ed805a..32b687681b2 100644 --- a/service/ses/snapshot/api_op_GetIdentityPolicies.go.snap +++ b/service/ses/snapshot/api_op_GetIdentityPolicies.go.snap @@ -14,7 +14,6 @@ GetIdentityPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_GetIdentityVerificationAttributes.go.snap b/service/ses/snapshot/api_op_GetIdentityVerificationAttributes.go.snap index df3e3f1ee8a..25a1d2eba4a 100644 --- a/service/ses/snapshot/api_op_GetIdentityVerificationAttributes.go.snap +++ b/service/ses/snapshot/api_op_GetIdentityVerificationAttributes.go.snap @@ -14,7 +14,6 @@ GetIdentityVerificationAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_GetSendQuota.go.snap b/service/ses/snapshot/api_op_GetSendQuota.go.snap index 4c4f8b14c55..32010d5cda5 100644 --- a/service/ses/snapshot/api_op_GetSendQuota.go.snap +++ b/service/ses/snapshot/api_op_GetSendQuota.go.snap @@ -13,7 +13,6 @@ GetSendQuota Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_GetSendStatistics.go.snap b/service/ses/snapshot/api_op_GetSendStatistics.go.snap index 71dbf57496a..e287ca88c97 100644 --- a/service/ses/snapshot/api_op_GetSendStatistics.go.snap +++ b/service/ses/snapshot/api_op_GetSendStatistics.go.snap @@ -13,7 +13,6 @@ GetSendStatistics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_GetTemplate.go.snap b/service/ses/snapshot/api_op_GetTemplate.go.snap index cb56263a74d..ec7b98a0f54 100644 --- a/service/ses/snapshot/api_op_GetTemplate.go.snap +++ b/service/ses/snapshot/api_op_GetTemplate.go.snap @@ -14,7 +14,6 @@ GetTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_ListConfigurationSets.go.snap b/service/ses/snapshot/api_op_ListConfigurationSets.go.snap index 16d06b8c86e..dec8b656364 100644 --- a/service/ses/snapshot/api_op_ListConfigurationSets.go.snap +++ b/service/ses/snapshot/api_op_ListConfigurationSets.go.snap @@ -13,7 +13,6 @@ ListConfigurationSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_ListCustomVerificationEmailTemplates.go.snap b/service/ses/snapshot/api_op_ListCustomVerificationEmailTemplates.go.snap index 88814674233..cbc7ccc3aef 100644 --- a/service/ses/snapshot/api_op_ListCustomVerificationEmailTemplates.go.snap +++ b/service/ses/snapshot/api_op_ListCustomVerificationEmailTemplates.go.snap @@ -13,7 +13,6 @@ ListCustomVerificationEmailTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_ListIdentities.go.snap b/service/ses/snapshot/api_op_ListIdentities.go.snap index 2837a85dec9..78e199ccf99 100644 --- a/service/ses/snapshot/api_op_ListIdentities.go.snap +++ b/service/ses/snapshot/api_op_ListIdentities.go.snap @@ -13,7 +13,6 @@ ListIdentities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_ListIdentityPolicies.go.snap b/service/ses/snapshot/api_op_ListIdentityPolicies.go.snap index 01885c95fc1..08c0414b351 100644 --- a/service/ses/snapshot/api_op_ListIdentityPolicies.go.snap +++ b/service/ses/snapshot/api_op_ListIdentityPolicies.go.snap @@ -14,7 +14,6 @@ ListIdentityPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_ListReceiptFilters.go.snap b/service/ses/snapshot/api_op_ListReceiptFilters.go.snap index c41d721c749..d691e1b6cd0 100644 --- a/service/ses/snapshot/api_op_ListReceiptFilters.go.snap +++ b/service/ses/snapshot/api_op_ListReceiptFilters.go.snap @@ -13,7 +13,6 @@ ListReceiptFilters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_ListReceiptRuleSets.go.snap b/service/ses/snapshot/api_op_ListReceiptRuleSets.go.snap index 1c0a656cc8f..165c7ab366b 100644 --- a/service/ses/snapshot/api_op_ListReceiptRuleSets.go.snap +++ b/service/ses/snapshot/api_op_ListReceiptRuleSets.go.snap @@ -13,7 +13,6 @@ ListReceiptRuleSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_ListTemplates.go.snap b/service/ses/snapshot/api_op_ListTemplates.go.snap index 3702fc869e8..fa1a1fc2a6e 100644 --- a/service/ses/snapshot/api_op_ListTemplates.go.snap +++ b/service/ses/snapshot/api_op_ListTemplates.go.snap @@ -13,7 +13,6 @@ ListTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_ListVerifiedEmailAddresses.go.snap b/service/ses/snapshot/api_op_ListVerifiedEmailAddresses.go.snap index 94c1a00d291..db65db1c9d7 100644 --- a/service/ses/snapshot/api_op_ListVerifiedEmailAddresses.go.snap +++ b/service/ses/snapshot/api_op_ListVerifiedEmailAddresses.go.snap @@ -13,7 +13,6 @@ ListVerifiedEmailAddresses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_PutConfigurationSetDeliveryOptions.go.snap b/service/ses/snapshot/api_op_PutConfigurationSetDeliveryOptions.go.snap index c5a437012be..dff482d47ac 100644 --- a/service/ses/snapshot/api_op_PutConfigurationSetDeliveryOptions.go.snap +++ b/service/ses/snapshot/api_op_PutConfigurationSetDeliveryOptions.go.snap @@ -14,7 +14,6 @@ PutConfigurationSetDeliveryOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_PutIdentityPolicy.go.snap b/service/ses/snapshot/api_op_PutIdentityPolicy.go.snap index 6a5b2fb28ee..eef26a623b7 100644 --- a/service/ses/snapshot/api_op_PutIdentityPolicy.go.snap +++ b/service/ses/snapshot/api_op_PutIdentityPolicy.go.snap @@ -14,7 +14,6 @@ PutIdentityPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_ReorderReceiptRuleSet.go.snap b/service/ses/snapshot/api_op_ReorderReceiptRuleSet.go.snap index 464f5d13851..ea8bb8b75a6 100644 --- a/service/ses/snapshot/api_op_ReorderReceiptRuleSet.go.snap +++ b/service/ses/snapshot/api_op_ReorderReceiptRuleSet.go.snap @@ -14,7 +14,6 @@ ReorderReceiptRuleSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_SendBounce.go.snap b/service/ses/snapshot/api_op_SendBounce.go.snap index d33c8770a18..84fe95adb10 100644 --- a/service/ses/snapshot/api_op_SendBounce.go.snap +++ b/service/ses/snapshot/api_op_SendBounce.go.snap @@ -14,7 +14,6 @@ SendBounce Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_SendBulkTemplatedEmail.go.snap b/service/ses/snapshot/api_op_SendBulkTemplatedEmail.go.snap index 6c5e9fd0025..3e26f84d059 100644 --- a/service/ses/snapshot/api_op_SendBulkTemplatedEmail.go.snap +++ b/service/ses/snapshot/api_op_SendBulkTemplatedEmail.go.snap @@ -14,7 +14,6 @@ SendBulkTemplatedEmail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_SendCustomVerificationEmail.go.snap b/service/ses/snapshot/api_op_SendCustomVerificationEmail.go.snap index 1d0ca7cbd80..404cc891f53 100644 --- a/service/ses/snapshot/api_op_SendCustomVerificationEmail.go.snap +++ b/service/ses/snapshot/api_op_SendCustomVerificationEmail.go.snap @@ -14,7 +14,6 @@ SendCustomVerificationEmail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_SendEmail.go.snap b/service/ses/snapshot/api_op_SendEmail.go.snap index f1eb7b412e0..749c9b4478e 100644 --- a/service/ses/snapshot/api_op_SendEmail.go.snap +++ b/service/ses/snapshot/api_op_SendEmail.go.snap @@ -14,7 +14,6 @@ SendEmail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_SendRawEmail.go.snap b/service/ses/snapshot/api_op_SendRawEmail.go.snap index 253ffaf964d..1cc62f43a34 100644 --- a/service/ses/snapshot/api_op_SendRawEmail.go.snap +++ b/service/ses/snapshot/api_op_SendRawEmail.go.snap @@ -14,7 +14,6 @@ SendRawEmail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_SendTemplatedEmail.go.snap b/service/ses/snapshot/api_op_SendTemplatedEmail.go.snap index 77aed12713f..925493e6c3d 100644 --- a/service/ses/snapshot/api_op_SendTemplatedEmail.go.snap +++ b/service/ses/snapshot/api_op_SendTemplatedEmail.go.snap @@ -14,7 +14,6 @@ SendTemplatedEmail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_SetActiveReceiptRuleSet.go.snap b/service/ses/snapshot/api_op_SetActiveReceiptRuleSet.go.snap index c55f1a613fa..26fd4607743 100644 --- a/service/ses/snapshot/api_op_SetActiveReceiptRuleSet.go.snap +++ b/service/ses/snapshot/api_op_SetActiveReceiptRuleSet.go.snap @@ -13,7 +13,6 @@ SetActiveReceiptRuleSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_SetIdentityDkimEnabled.go.snap b/service/ses/snapshot/api_op_SetIdentityDkimEnabled.go.snap index 968e5c8d4da..07368624359 100644 --- a/service/ses/snapshot/api_op_SetIdentityDkimEnabled.go.snap +++ b/service/ses/snapshot/api_op_SetIdentityDkimEnabled.go.snap @@ -14,7 +14,6 @@ SetIdentityDkimEnabled Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_SetIdentityFeedbackForwardingEnabled.go.snap b/service/ses/snapshot/api_op_SetIdentityFeedbackForwardingEnabled.go.snap index dd143389cbb..d185710bd6a 100644 --- a/service/ses/snapshot/api_op_SetIdentityFeedbackForwardingEnabled.go.snap +++ b/service/ses/snapshot/api_op_SetIdentityFeedbackForwardingEnabled.go.snap @@ -14,7 +14,6 @@ SetIdentityFeedbackForwardingEnabled Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_SetIdentityHeadersInNotificationsEnabled.go.snap b/service/ses/snapshot/api_op_SetIdentityHeadersInNotificationsEnabled.go.snap index e279cb90208..0cd4136017a 100644 --- a/service/ses/snapshot/api_op_SetIdentityHeadersInNotificationsEnabled.go.snap +++ b/service/ses/snapshot/api_op_SetIdentityHeadersInNotificationsEnabled.go.snap @@ -14,7 +14,6 @@ SetIdentityHeadersInNotificationsEnabled Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_SetIdentityMailFromDomain.go.snap b/service/ses/snapshot/api_op_SetIdentityMailFromDomain.go.snap index 7cab0c40684..f775c604f08 100644 --- a/service/ses/snapshot/api_op_SetIdentityMailFromDomain.go.snap +++ b/service/ses/snapshot/api_op_SetIdentityMailFromDomain.go.snap @@ -14,7 +14,6 @@ SetIdentityMailFromDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_SetIdentityNotificationTopic.go.snap b/service/ses/snapshot/api_op_SetIdentityNotificationTopic.go.snap index c8697186d82..c603bd00b48 100644 --- a/service/ses/snapshot/api_op_SetIdentityNotificationTopic.go.snap +++ b/service/ses/snapshot/api_op_SetIdentityNotificationTopic.go.snap @@ -14,7 +14,6 @@ SetIdentityNotificationTopic Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_SetReceiptRulePosition.go.snap b/service/ses/snapshot/api_op_SetReceiptRulePosition.go.snap index 7045e116483..71c7e162f63 100644 --- a/service/ses/snapshot/api_op_SetReceiptRulePosition.go.snap +++ b/service/ses/snapshot/api_op_SetReceiptRulePosition.go.snap @@ -14,7 +14,6 @@ SetReceiptRulePosition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_TestRenderTemplate.go.snap b/service/ses/snapshot/api_op_TestRenderTemplate.go.snap index 73a6811377c..85f1882ae65 100644 --- a/service/ses/snapshot/api_op_TestRenderTemplate.go.snap +++ b/service/ses/snapshot/api_op_TestRenderTemplate.go.snap @@ -14,7 +14,6 @@ TestRenderTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_UpdateAccountSendingEnabled.go.snap b/service/ses/snapshot/api_op_UpdateAccountSendingEnabled.go.snap index 37e725fe85c..65e34695f1a 100644 --- a/service/ses/snapshot/api_op_UpdateAccountSendingEnabled.go.snap +++ b/service/ses/snapshot/api_op_UpdateAccountSendingEnabled.go.snap @@ -13,7 +13,6 @@ UpdateAccountSendingEnabled Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_UpdateConfigurationSetEventDestination.go.snap b/service/ses/snapshot/api_op_UpdateConfigurationSetEventDestination.go.snap index 624d602cec8..ac613959f80 100644 --- a/service/ses/snapshot/api_op_UpdateConfigurationSetEventDestination.go.snap +++ b/service/ses/snapshot/api_op_UpdateConfigurationSetEventDestination.go.snap @@ -14,7 +14,6 @@ UpdateConfigurationSetEventDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_UpdateConfigurationSetReputationMetricsEnabled.go.snap b/service/ses/snapshot/api_op_UpdateConfigurationSetReputationMetricsEnabled.go.snap index 6d633b43874..c36ab9b5b5f 100644 --- a/service/ses/snapshot/api_op_UpdateConfigurationSetReputationMetricsEnabled.go.snap +++ b/service/ses/snapshot/api_op_UpdateConfigurationSetReputationMetricsEnabled.go.snap @@ -14,7 +14,6 @@ UpdateConfigurationSetReputationMetricsEnabled Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_UpdateConfigurationSetSendingEnabled.go.snap b/service/ses/snapshot/api_op_UpdateConfigurationSetSendingEnabled.go.snap index 7c88319b5a6..4eddda3b672 100644 --- a/service/ses/snapshot/api_op_UpdateConfigurationSetSendingEnabled.go.snap +++ b/service/ses/snapshot/api_op_UpdateConfigurationSetSendingEnabled.go.snap @@ -14,7 +14,6 @@ UpdateConfigurationSetSendingEnabled Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_UpdateConfigurationSetTrackingOptions.go.snap b/service/ses/snapshot/api_op_UpdateConfigurationSetTrackingOptions.go.snap index 024c7ed1cd8..13c3c87d36b 100644 --- a/service/ses/snapshot/api_op_UpdateConfigurationSetTrackingOptions.go.snap +++ b/service/ses/snapshot/api_op_UpdateConfigurationSetTrackingOptions.go.snap @@ -14,7 +14,6 @@ UpdateConfigurationSetTrackingOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_UpdateCustomVerificationEmailTemplate.go.snap b/service/ses/snapshot/api_op_UpdateCustomVerificationEmailTemplate.go.snap index 692227261fe..45ae9cb77f0 100644 --- a/service/ses/snapshot/api_op_UpdateCustomVerificationEmailTemplate.go.snap +++ b/service/ses/snapshot/api_op_UpdateCustomVerificationEmailTemplate.go.snap @@ -14,7 +14,6 @@ UpdateCustomVerificationEmailTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_UpdateReceiptRule.go.snap b/service/ses/snapshot/api_op_UpdateReceiptRule.go.snap index 42e579c787d..a47cd443bfd 100644 --- a/service/ses/snapshot/api_op_UpdateReceiptRule.go.snap +++ b/service/ses/snapshot/api_op_UpdateReceiptRule.go.snap @@ -14,7 +14,6 @@ UpdateReceiptRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_UpdateTemplate.go.snap b/service/ses/snapshot/api_op_UpdateTemplate.go.snap index f6cbedf6f89..abb91d0f8d6 100644 --- a/service/ses/snapshot/api_op_UpdateTemplate.go.snap +++ b/service/ses/snapshot/api_op_UpdateTemplate.go.snap @@ -14,7 +14,6 @@ UpdateTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_VerifyDomainDkim.go.snap b/service/ses/snapshot/api_op_VerifyDomainDkim.go.snap index b30dc92b844..76f2dddbb84 100644 --- a/service/ses/snapshot/api_op_VerifyDomainDkim.go.snap +++ b/service/ses/snapshot/api_op_VerifyDomainDkim.go.snap @@ -14,7 +14,6 @@ VerifyDomainDkim Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_VerifyDomainIdentity.go.snap b/service/ses/snapshot/api_op_VerifyDomainIdentity.go.snap index a7f7e5c5a31..a604472571c 100644 --- a/service/ses/snapshot/api_op_VerifyDomainIdentity.go.snap +++ b/service/ses/snapshot/api_op_VerifyDomainIdentity.go.snap @@ -14,7 +14,6 @@ VerifyDomainIdentity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_VerifyEmailAddress.go.snap b/service/ses/snapshot/api_op_VerifyEmailAddress.go.snap index 4b349bd177f..a86bd3a4541 100644 --- a/service/ses/snapshot/api_op_VerifyEmailAddress.go.snap +++ b/service/ses/snapshot/api_op_VerifyEmailAddress.go.snap @@ -14,7 +14,6 @@ VerifyEmailAddress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ses/snapshot/api_op_VerifyEmailIdentity.go.snap b/service/ses/snapshot/api_op_VerifyEmailIdentity.go.snap index 476f31f12ce..8419879c911 100644 --- a/service/ses/snapshot/api_op_VerifyEmailIdentity.go.snap +++ b/service/ses/snapshot/api_op_VerifyEmailIdentity.go.snap @@ -14,7 +14,6 @@ VerifyEmailIdentity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/api_client.go b/service/sesv2/api_client.go index 99b4bb0fc97..a67440d59a6 100644 --- a/service/sesv2/api_client.go +++ b/service/sesv2/api_client.go @@ -792,37 +792,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/sesv2/api_op_BatchGetMetricData.go b/service/sesv2/api_op_BatchGetMetricData.go index d3e842f83aa..354951e40b8 100644 --- a/service/sesv2/api_op_BatchGetMetricData.go +++ b/service/sesv2/api_op_BatchGetMetricData.go @@ -121,9 +121,6 @@ func (c *Client) addOperationBatchGetMetricDataMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetMetricDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_CancelExportJob.go b/service/sesv2/api_op_CancelExportJob.go index 09dfe45048d..385845e6dc5 100644 --- a/service/sesv2/api_op_CancelExportJob.go +++ b/service/sesv2/api_op_CancelExportJob.go @@ -110,9 +110,6 @@ func (c *Client) addOperationCancelExportJobMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelExportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_CreateConfigurationSet.go b/service/sesv2/api_op_CreateConfigurationSet.go index ec006a2fb27..594a578a0d1 100644 --- a/service/sesv2/api_op_CreateConfigurationSet.go +++ b/service/sesv2/api_op_CreateConfigurationSet.go @@ -148,9 +148,6 @@ func (c *Client) addOperationCreateConfigurationSetMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConfigurationSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_CreateConfigurationSetEventDestination.go b/service/sesv2/api_op_CreateConfigurationSetEventDestination.go index b3f8110b276..c1f4f27287a 100644 --- a/service/sesv2/api_op_CreateConfigurationSetEventDestination.go +++ b/service/sesv2/api_op_CreateConfigurationSetEventDestination.go @@ -127,9 +127,6 @@ func (c *Client) addOperationCreateConfigurationSetEventDestinationMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConfigurationSetEventDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_CreateContact.go b/service/sesv2/api_op_CreateContact.go index 1253febece4..4ad3a4860c1 100644 --- a/service/sesv2/api_op_CreateContact.go +++ b/service/sesv2/api_op_CreateContact.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCreateContactMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateContactValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_CreateContactList.go b/service/sesv2/api_op_CreateContactList.go index 89bafcc8bae..5966e28652a 100644 --- a/service/sesv2/api_op_CreateContactList.go +++ b/service/sesv2/api_op_CreateContactList.go @@ -118,9 +118,6 @@ func (c *Client) addOperationCreateContactListMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateContactListValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_CreateCustomVerificationEmailTemplate.go b/service/sesv2/api_op_CreateCustomVerificationEmailTemplate.go index 92d00ec068b..9af27d63757 100644 --- a/service/sesv2/api_op_CreateCustomVerificationEmailTemplate.go +++ b/service/sesv2/api_op_CreateCustomVerificationEmailTemplate.go @@ -148,9 +148,6 @@ func (c *Client) addOperationCreateCustomVerificationEmailTemplateMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCustomVerificationEmailTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_CreateDedicatedIpPool.go b/service/sesv2/api_op_CreateDedicatedIpPool.go index aadb407fee8..e66e112a8fe 100644 --- a/service/sesv2/api_op_CreateDedicatedIpPool.go +++ b/service/sesv2/api_op_CreateDedicatedIpPool.go @@ -122,9 +122,6 @@ func (c *Client) addOperationCreateDedicatedIpPoolMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDedicatedIpPoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_CreateDeliverabilityTestReport.go b/service/sesv2/api_op_CreateDeliverabilityTestReport.go index af8aac5ddfd..b52b65ce9c5 100644 --- a/service/sesv2/api_op_CreateDeliverabilityTestReport.go +++ b/service/sesv2/api_op_CreateDeliverabilityTestReport.go @@ -153,9 +153,6 @@ func (c *Client) addOperationCreateDeliverabilityTestReportMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDeliverabilityTestReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_CreateEmailIdentity.go b/service/sesv2/api_op_CreateEmailIdentity.go index a9fabde0bd2..86bb65d20bc 100644 --- a/service/sesv2/api_op_CreateEmailIdentity.go +++ b/service/sesv2/api_op_CreateEmailIdentity.go @@ -180,9 +180,6 @@ func (c *Client) addOperationCreateEmailIdentityMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEmailIdentityValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_CreateEmailIdentityPolicy.go b/service/sesv2/api_op_CreateEmailIdentityPolicy.go index a01a32be8a3..1311fa59723 100644 --- a/service/sesv2/api_op_CreateEmailIdentityPolicy.go +++ b/service/sesv2/api_op_CreateEmailIdentityPolicy.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCreateEmailIdentityPolicyMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEmailIdentityPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_CreateEmailTemplate.go b/service/sesv2/api_op_CreateEmailTemplate.go index e350327237d..1f89a00e5aa 100644 --- a/service/sesv2/api_op_CreateEmailTemplate.go +++ b/service/sesv2/api_op_CreateEmailTemplate.go @@ -126,9 +126,6 @@ func (c *Client) addOperationCreateEmailTemplateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateEmailTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_CreateExportJob.go b/service/sesv2/api_op_CreateExportJob.go index 1205d26b532..d1bd5e1444a 100644 --- a/service/sesv2/api_op_CreateExportJob.go +++ b/service/sesv2/api_op_CreateExportJob.go @@ -123,9 +123,6 @@ func (c *Client) addOperationCreateExportJobMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateExportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_CreateImportJob.go b/service/sesv2/api_op_CreateImportJob.go index bfba1a102fb..a4bcaa8f717 100644 --- a/service/sesv2/api_op_CreateImportJob.go +++ b/service/sesv2/api_op_CreateImportJob.go @@ -121,9 +121,6 @@ func (c *Client) addOperationCreateImportJobMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateImportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_CreateMultiRegionEndpoint.go b/service/sesv2/api_op_CreateMultiRegionEndpoint.go index fb995e29e28..448ee324db2 100644 --- a/service/sesv2/api_op_CreateMultiRegionEndpoint.go +++ b/service/sesv2/api_op_CreateMultiRegionEndpoint.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCreateMultiRegionEndpointMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateMultiRegionEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_DeleteConfigurationSet.go b/service/sesv2/api_op_DeleteConfigurationSet.go index 0465350a9f1..cb594292457 100644 --- a/service/sesv2/api_op_DeleteConfigurationSet.go +++ b/service/sesv2/api_op_DeleteConfigurationSet.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteConfigurationSetMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConfigurationSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_DeleteConfigurationSetEventDestination.go b/service/sesv2/api_op_DeleteConfigurationSetEventDestination.go index 5a6ba443a34..b3b1a0a977b 100644 --- a/service/sesv2/api_op_DeleteConfigurationSetEventDestination.go +++ b/service/sesv2/api_op_DeleteConfigurationSetEventDestination.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteConfigurationSetEventDestinationMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConfigurationSetEventDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_DeleteContact.go b/service/sesv2/api_op_DeleteContact.go index 8b1e14d47ce..a846874052a 100644 --- a/service/sesv2/api_op_DeleteContact.go +++ b/service/sesv2/api_op_DeleteContact.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteContactMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteContactValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_DeleteContactList.go b/service/sesv2/api_op_DeleteContactList.go index da83d4cca8e..603f541eef6 100644 --- a/service/sesv2/api_op_DeleteContactList.go +++ b/service/sesv2/api_op_DeleteContactList.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteContactListMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteContactListValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_DeleteCustomVerificationEmailTemplate.go b/service/sesv2/api_op_DeleteCustomVerificationEmailTemplate.go index f2edf5698ca..23a5ebceb6e 100644 --- a/service/sesv2/api_op_DeleteCustomVerificationEmailTemplate.go +++ b/service/sesv2/api_op_DeleteCustomVerificationEmailTemplate.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteCustomVerificationEmailTemplateMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCustomVerificationEmailTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_DeleteDedicatedIpPool.go b/service/sesv2/api_op_DeleteDedicatedIpPool.go index d9a8230e9cb..3fe7a89bde3 100644 --- a/service/sesv2/api_op_DeleteDedicatedIpPool.go +++ b/service/sesv2/api_op_DeleteDedicatedIpPool.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteDedicatedIpPoolMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDedicatedIpPoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_DeleteEmailIdentity.go b/service/sesv2/api_op_DeleteEmailIdentity.go index 991104e80a2..a166562b504 100644 --- a/service/sesv2/api_op_DeleteEmailIdentity.go +++ b/service/sesv2/api_op_DeleteEmailIdentity.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteEmailIdentityMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEmailIdentityValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_DeleteEmailIdentityPolicy.go b/service/sesv2/api_op_DeleteEmailIdentityPolicy.go index a6faf20da73..b629e1bdfd2 100644 --- a/service/sesv2/api_op_DeleteEmailIdentityPolicy.go +++ b/service/sesv2/api_op_DeleteEmailIdentityPolicy.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDeleteEmailIdentityPolicyMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEmailIdentityPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_DeleteEmailTemplate.go b/service/sesv2/api_op_DeleteEmailTemplate.go index 1e22bf3ac0b..d353170f8c9 100644 --- a/service/sesv2/api_op_DeleteEmailTemplate.go +++ b/service/sesv2/api_op_DeleteEmailTemplate.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteEmailTemplateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEmailTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_DeleteMultiRegionEndpoint.go b/service/sesv2/api_op_DeleteMultiRegionEndpoint.go index a167dce45a6..d02bd803edd 100644 --- a/service/sesv2/api_op_DeleteMultiRegionEndpoint.go +++ b/service/sesv2/api_op_DeleteMultiRegionEndpoint.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDeleteMultiRegionEndpointMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMultiRegionEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_DeleteSuppressedDestination.go b/service/sesv2/api_op_DeleteSuppressedDestination.go index a752530329b..725b29dd104 100644 --- a/service/sesv2/api_op_DeleteSuppressedDestination.go +++ b/service/sesv2/api_op_DeleteSuppressedDestination.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteSuppressedDestinationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSuppressedDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetAccount.go b/service/sesv2/api_op_GetAccount.go index 301a808bfdb..c71b4e3a636 100644 --- a/service/sesv2/api_op_GetAccount.go +++ b/service/sesv2/api_op_GetAccount.go @@ -158,9 +158,6 @@ func (c *Client) addOperationGetAccountMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sesv2/api_op_GetBlacklistReports.go b/service/sesv2/api_op_GetBlacklistReports.go index e4ae69e3f5e..6bbf3ba18b0 100644 --- a/service/sesv2/api_op_GetBlacklistReports.go +++ b/service/sesv2/api_op_GetBlacklistReports.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetBlacklistReportsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBlacklistReportsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetConfigurationSet.go b/service/sesv2/api_op_GetConfigurationSet.go index c49f828ddf1..823b0613a8b 100644 --- a/service/sesv2/api_op_GetConfigurationSet.go +++ b/service/sesv2/api_op_GetConfigurationSet.go @@ -154,9 +154,6 @@ func (c *Client) addOperationGetConfigurationSetMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConfigurationSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetConfigurationSetEventDestinations.go b/service/sesv2/api_op_GetConfigurationSetEventDestinations.go index acdd1e72981..fb128a51649 100644 --- a/service/sesv2/api_op_GetConfigurationSetEventDestinations.go +++ b/service/sesv2/api_op_GetConfigurationSetEventDestinations.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetConfigurationSetEventDestinationsMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConfigurationSetEventDestinationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetContact.go b/service/sesv2/api_op_GetContact.go index 66d1b7a457e..fc1919624cd 100644 --- a/service/sesv2/api_op_GetContact.go +++ b/service/sesv2/api_op_GetContact.go @@ -140,9 +140,6 @@ func (c *Client) addOperationGetContactMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetContactValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetContactList.go b/service/sesv2/api_op_GetContactList.go index a8f1debaa68..518c7bc498c 100644 --- a/service/sesv2/api_op_GetContactList.go +++ b/service/sesv2/api_op_GetContactList.go @@ -130,9 +130,6 @@ func (c *Client) addOperationGetContactListMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetContactListValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetCustomVerificationEmailTemplate.go b/service/sesv2/api_op_GetCustomVerificationEmailTemplate.go index f963e404b79..0a55f52893e 100644 --- a/service/sesv2/api_op_GetCustomVerificationEmailTemplate.go +++ b/service/sesv2/api_op_GetCustomVerificationEmailTemplate.go @@ -138,9 +138,6 @@ func (c *Client) addOperationGetCustomVerificationEmailTemplateMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCustomVerificationEmailTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetDedicatedIp.go b/service/sesv2/api_op_GetDedicatedIp.go index 8bd66d98ba1..7a058db721d 100644 --- a/service/sesv2/api_op_GetDedicatedIp.go +++ b/service/sesv2/api_op_GetDedicatedIp.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetDedicatedIpMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDedicatedIpValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetDedicatedIpPool.go b/service/sesv2/api_op_GetDedicatedIpPool.go index 8b790c2a1aa..487550a3096 100644 --- a/service/sesv2/api_op_GetDedicatedIpPool.go +++ b/service/sesv2/api_op_GetDedicatedIpPool.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetDedicatedIpPoolMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDedicatedIpPoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetDedicatedIps.go b/service/sesv2/api_op_GetDedicatedIps.go index db10e2e1c1c..16ddcd4e9a4 100644 --- a/service/sesv2/api_op_GetDedicatedIps.go +++ b/service/sesv2/api_op_GetDedicatedIps.go @@ -130,9 +130,6 @@ func (c *Client) addOperationGetDedicatedIpsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDedicatedIps(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sesv2/api_op_GetDeliverabilityDashboardOptions.go b/service/sesv2/api_op_GetDeliverabilityDashboardOptions.go index cf68861029d..09ecb366ffe 100644 --- a/service/sesv2/api_op_GetDeliverabilityDashboardOptions.go +++ b/service/sesv2/api_op_GetDeliverabilityDashboardOptions.go @@ -154,9 +154,6 @@ func (c *Client) addOperationGetDeliverabilityDashboardOptionsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDeliverabilityDashboardOptions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sesv2/api_op_GetDeliverabilityTestReport.go b/service/sesv2/api_op_GetDeliverabilityTestReport.go index c40be967388..1235cd78cea 100644 --- a/service/sesv2/api_op_GetDeliverabilityTestReport.go +++ b/service/sesv2/api_op_GetDeliverabilityTestReport.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGetDeliverabilityTestReportMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeliverabilityTestReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetDomainDeliverabilityCampaign.go b/service/sesv2/api_op_GetDomainDeliverabilityCampaign.go index 3fc9c8dbd46..effbae971ae 100644 --- a/service/sesv2/api_op_GetDomainDeliverabilityCampaign.go +++ b/service/sesv2/api_op_GetDomainDeliverabilityCampaign.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetDomainDeliverabilityCampaignMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDomainDeliverabilityCampaignValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetDomainStatisticsReport.go b/service/sesv2/api_op_GetDomainStatisticsReport.go index 1dbeff871f9..6f9d0b68192 100644 --- a/service/sesv2/api_op_GetDomainStatisticsReport.go +++ b/service/sesv2/api_op_GetDomainStatisticsReport.go @@ -141,9 +141,6 @@ func (c *Client) addOperationGetDomainStatisticsReportMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDomainStatisticsReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetEmailIdentity.go b/service/sesv2/api_op_GetEmailIdentity.go index c3dac5d6cf7..446366dc17f 100644 --- a/service/sesv2/api_op_GetEmailIdentity.go +++ b/service/sesv2/api_op_GetEmailIdentity.go @@ -173,9 +173,6 @@ func (c *Client) addOperationGetEmailIdentityMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEmailIdentityValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetEmailIdentityPolicies.go b/service/sesv2/api_op_GetEmailIdentityPolicies.go index 83622bf9868..83abcc19076 100644 --- a/service/sesv2/api_op_GetEmailIdentityPolicies.go +++ b/service/sesv2/api_op_GetEmailIdentityPolicies.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetEmailIdentityPoliciesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEmailIdentityPoliciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetEmailTemplate.go b/service/sesv2/api_op_GetEmailTemplate.go index bc0f2510cd7..1bb492c4bc7 100644 --- a/service/sesv2/api_op_GetEmailTemplate.go +++ b/service/sesv2/api_op_GetEmailTemplate.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetEmailTemplateMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEmailTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetExportJob.go b/service/sesv2/api_op_GetExportJob.go index 0256540753d..c2989fe8a81 100644 --- a/service/sesv2/api_op_GetExportJob.go +++ b/service/sesv2/api_op_GetExportJob.go @@ -141,9 +141,6 @@ func (c *Client) addOperationGetExportJobMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetExportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetImportJob.go b/service/sesv2/api_op_GetImportJob.go index 01d21323392..fd7642fa1c5 100644 --- a/service/sesv2/api_op_GetImportJob.go +++ b/service/sesv2/api_op_GetImportJob.go @@ -142,9 +142,6 @@ func (c *Client) addOperationGetImportJobMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetImportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetMessageInsights.go b/service/sesv2/api_op_GetMessageInsights.go index 000a0fbba53..57febbf0a97 100644 --- a/service/sesv2/api_op_GetMessageInsights.go +++ b/service/sesv2/api_op_GetMessageInsights.go @@ -134,9 +134,6 @@ func (c *Client) addOperationGetMessageInsightsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMessageInsightsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetMultiRegionEndpoint.go b/service/sesv2/api_op_GetMultiRegionEndpoint.go index 1ce4fdc549d..bfd4ec76168 100644 --- a/service/sesv2/api_op_GetMultiRegionEndpoint.go +++ b/service/sesv2/api_op_GetMultiRegionEndpoint.go @@ -143,9 +143,6 @@ func (c *Client) addOperationGetMultiRegionEndpointMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMultiRegionEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_GetSuppressedDestination.go b/service/sesv2/api_op_GetSuppressedDestination.go index 6c2ff1c7c86..57730a84a79 100644 --- a/service/sesv2/api_op_GetSuppressedDestination.go +++ b/service/sesv2/api_op_GetSuppressedDestination.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetSuppressedDestinationMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSuppressedDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_ListConfigurationSets.go b/service/sesv2/api_op_ListConfigurationSets.go index cae6d9f45dd..57d518cabd5 100644 --- a/service/sesv2/api_op_ListConfigurationSets.go +++ b/service/sesv2/api_op_ListConfigurationSets.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListConfigurationSetsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConfigurationSets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sesv2/api_op_ListContactLists.go b/service/sesv2/api_op_ListContactLists.go index 26fe881469f..e0995e27c67 100644 --- a/service/sesv2/api_op_ListContactLists.go +++ b/service/sesv2/api_op_ListContactLists.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListContactListsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListContactLists(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sesv2/api_op_ListContacts.go b/service/sesv2/api_op_ListContacts.go index ed305aaa84d..a8afd1ef6e2 100644 --- a/service/sesv2/api_op_ListContacts.go +++ b/service/sesv2/api_op_ListContacts.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListContactsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListContactsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_ListCustomVerificationEmailTemplates.go b/service/sesv2/api_op_ListCustomVerificationEmailTemplates.go index 38945b9ef21..f5df2dab341 100644 --- a/service/sesv2/api_op_ListCustomVerificationEmailTemplates.go +++ b/service/sesv2/api_op_ListCustomVerificationEmailTemplates.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListCustomVerificationEmailTemplatesMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCustomVerificationEmailTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sesv2/api_op_ListDedicatedIpPools.go b/service/sesv2/api_op_ListDedicatedIpPools.go index 535cf9192f3..08b51168123 100644 --- a/service/sesv2/api_op_ListDedicatedIpPools.go +++ b/service/sesv2/api_op_ListDedicatedIpPools.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListDedicatedIpPoolsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDedicatedIpPools(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sesv2/api_op_ListDeliverabilityTestReports.go b/service/sesv2/api_op_ListDeliverabilityTestReports.go index 38347ac10e3..f52f6942d18 100644 --- a/service/sesv2/api_op_ListDeliverabilityTestReports.go +++ b/service/sesv2/api_op_ListDeliverabilityTestReports.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListDeliverabilityTestReportsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDeliverabilityTestReports(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sesv2/api_op_ListDomainDeliverabilityCampaigns.go b/service/sesv2/api_op_ListDomainDeliverabilityCampaigns.go index 3930e4ed682..187554744e7 100644 --- a/service/sesv2/api_op_ListDomainDeliverabilityCampaigns.go +++ b/service/sesv2/api_op_ListDomainDeliverabilityCampaigns.go @@ -152,9 +152,6 @@ func (c *Client) addOperationListDomainDeliverabilityCampaignsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDomainDeliverabilityCampaignsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_ListEmailIdentities.go b/service/sesv2/api_op_ListEmailIdentities.go index 28aee4eca4a..5d15a6a4ba4 100644 --- a/service/sesv2/api_op_ListEmailIdentities.go +++ b/service/sesv2/api_op_ListEmailIdentities.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListEmailIdentitiesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEmailIdentities(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sesv2/api_op_ListEmailTemplates.go b/service/sesv2/api_op_ListEmailTemplates.go index c64a88212aa..40865930212 100644 --- a/service/sesv2/api_op_ListEmailTemplates.go +++ b/service/sesv2/api_op_ListEmailTemplates.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListEmailTemplatesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEmailTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sesv2/api_op_ListExportJobs.go b/service/sesv2/api_op_ListExportJobs.go index d1e58c1440c..299ac471af9 100644 --- a/service/sesv2/api_op_ListExportJobs.go +++ b/service/sesv2/api_op_ListExportJobs.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListExportJobsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExportJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sesv2/api_op_ListImportJobs.go b/service/sesv2/api_op_ListImportJobs.go index f3067710f0b..2acaaf25cca 100644 --- a/service/sesv2/api_op_ListImportJobs.go +++ b/service/sesv2/api_op_ListImportJobs.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListImportJobsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListImportJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sesv2/api_op_ListMultiRegionEndpoints.go b/service/sesv2/api_op_ListMultiRegionEndpoints.go index ec3f6410fb9..ef097bee949 100644 --- a/service/sesv2/api_op_ListMultiRegionEndpoints.go +++ b/service/sesv2/api_op_ListMultiRegionEndpoints.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListMultiRegionEndpointsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMultiRegionEndpoints(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sesv2/api_op_ListRecommendations.go b/service/sesv2/api_op_ListRecommendations.go index a70dba5572a..c57e9c3cfa3 100644 --- a/service/sesv2/api_op_ListRecommendations.go +++ b/service/sesv2/api_op_ListRecommendations.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListRecommendationsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRecommendations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sesv2/api_op_ListSuppressedDestinations.go b/service/sesv2/api_op_ListSuppressedDestinations.go index 0a786d111a0..994f7a6784e 100644 --- a/service/sesv2/api_op_ListSuppressedDestinations.go +++ b/service/sesv2/api_op_ListSuppressedDestinations.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListSuppressedDestinationsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSuppressedDestinations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sesv2/api_op_ListTagsForResource.go b/service/sesv2/api_op_ListTagsForResource.go index 8a01aa34384..04a6743126a 100644 --- a/service/sesv2/api_op_ListTagsForResource.go +++ b/service/sesv2/api_op_ListTagsForResource.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutAccountDedicatedIpWarmupAttributes.go b/service/sesv2/api_op_PutAccountDedicatedIpWarmupAttributes.go index eff82b63f3e..22d8b1cdd7e 100644 --- a/service/sesv2/api_op_PutAccountDedicatedIpWarmupAttributes.go +++ b/service/sesv2/api_op_PutAccountDedicatedIpWarmupAttributes.go @@ -111,9 +111,6 @@ func (c *Client) addOperationPutAccountDedicatedIpWarmupAttributesMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAccountDedicatedIpWarmupAttributes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sesv2/api_op_PutAccountDetails.go b/service/sesv2/api_op_PutAccountDetails.go index 8c52f2941e9..9d4d1a7f9af 100644 --- a/service/sesv2/api_op_PutAccountDetails.go +++ b/service/sesv2/api_op_PutAccountDetails.go @@ -141,9 +141,6 @@ func (c *Client) addOperationPutAccountDetailsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutAccountDetailsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutAccountSendingAttributes.go b/service/sesv2/api_op_PutAccountSendingAttributes.go index e57f7c8bd5e..b14d0f845c4 100644 --- a/service/sesv2/api_op_PutAccountSendingAttributes.go +++ b/service/sesv2/api_op_PutAccountSendingAttributes.go @@ -112,9 +112,6 @@ func (c *Client) addOperationPutAccountSendingAttributesMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAccountSendingAttributes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sesv2/api_op_PutAccountSuppressionAttributes.go b/service/sesv2/api_op_PutAccountSuppressionAttributes.go index 20d600bffba..cd0ab0e3482 100644 --- a/service/sesv2/api_op_PutAccountSuppressionAttributes.go +++ b/service/sesv2/api_op_PutAccountSuppressionAttributes.go @@ -117,9 +117,6 @@ func (c *Client) addOperationPutAccountSuppressionAttributesMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAccountSuppressionAttributes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sesv2/api_op_PutAccountVdmAttributes.go b/service/sesv2/api_op_PutAccountVdmAttributes.go index c4cc5c3210f..432a62c9373 100644 --- a/service/sesv2/api_op_PutAccountVdmAttributes.go +++ b/service/sesv2/api_op_PutAccountVdmAttributes.go @@ -111,9 +111,6 @@ func (c *Client) addOperationPutAccountVdmAttributesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutAccountVdmAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutConfigurationSetDeliveryOptions.go b/service/sesv2/api_op_PutConfigurationSetDeliveryOptions.go index 6451593764d..cb6dcef2fb9 100644 --- a/service/sesv2/api_op_PutConfigurationSetDeliveryOptions.go +++ b/service/sesv2/api_op_PutConfigurationSetDeliveryOptions.go @@ -128,9 +128,6 @@ func (c *Client) addOperationPutConfigurationSetDeliveryOptionsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutConfigurationSetDeliveryOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutConfigurationSetReputationOptions.go b/service/sesv2/api_op_PutConfigurationSetReputationOptions.go index 68895d67686..9cbd764a61b 100644 --- a/service/sesv2/api_op_PutConfigurationSetReputationOptions.go +++ b/service/sesv2/api_op_PutConfigurationSetReputationOptions.go @@ -116,9 +116,6 @@ func (c *Client) addOperationPutConfigurationSetReputationOptionsMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutConfigurationSetReputationOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutConfigurationSetSendingOptions.go b/service/sesv2/api_op_PutConfigurationSetSendingOptions.go index 4dfa13392ec..02b8bd3b332 100644 --- a/service/sesv2/api_op_PutConfigurationSetSendingOptions.go +++ b/service/sesv2/api_op_PutConfigurationSetSendingOptions.go @@ -116,9 +116,6 @@ func (c *Client) addOperationPutConfigurationSetSendingOptionsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutConfigurationSetSendingOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutConfigurationSetSuppressionOptions.go b/service/sesv2/api_op_PutConfigurationSetSuppressionOptions.go index 4eb32fe1d2a..200af364114 100644 --- a/service/sesv2/api_op_PutConfigurationSetSuppressionOptions.go +++ b/service/sesv2/api_op_PutConfigurationSetSuppressionOptions.go @@ -124,9 +124,6 @@ func (c *Client) addOperationPutConfigurationSetSuppressionOptionsMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutConfigurationSetSuppressionOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutConfigurationSetTrackingOptions.go b/service/sesv2/api_op_PutConfigurationSetTrackingOptions.go index 94c463e467f..33c3cac4ba4 100644 --- a/service/sesv2/api_op_PutConfigurationSetTrackingOptions.go +++ b/service/sesv2/api_op_PutConfigurationSetTrackingOptions.go @@ -123,9 +123,6 @@ func (c *Client) addOperationPutConfigurationSetTrackingOptionsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutConfigurationSetTrackingOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutConfigurationSetVdmOptions.go b/service/sesv2/api_op_PutConfigurationSetVdmOptions.go index b5fcea73a60..8b100ad08ed 100644 --- a/service/sesv2/api_op_PutConfigurationSetVdmOptions.go +++ b/service/sesv2/api_op_PutConfigurationSetVdmOptions.go @@ -116,9 +116,6 @@ func (c *Client) addOperationPutConfigurationSetVdmOptionsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutConfigurationSetVdmOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutDedicatedIpInPool.go b/service/sesv2/api_op_PutDedicatedIpInPool.go index 528e2bd4e53..ea4bbbf9e70 100644 --- a/service/sesv2/api_op_PutDedicatedIpInPool.go +++ b/service/sesv2/api_op_PutDedicatedIpInPool.go @@ -124,9 +124,6 @@ func (c *Client) addOperationPutDedicatedIpInPoolMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutDedicatedIpInPoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutDedicatedIpPoolScalingAttributes.go b/service/sesv2/api_op_PutDedicatedIpPoolScalingAttributes.go index 457c3396123..653c7ca1e76 100644 --- a/service/sesv2/api_op_PutDedicatedIpPoolScalingAttributes.go +++ b/service/sesv2/api_op_PutDedicatedIpPoolScalingAttributes.go @@ -120,9 +120,6 @@ func (c *Client) addOperationPutDedicatedIpPoolScalingAttributesMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutDedicatedIpPoolScalingAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutDedicatedIpWarmupAttributes.go b/service/sesv2/api_op_PutDedicatedIpWarmupAttributes.go index 6d0182011bd..5bdde9954fa 100644 --- a/service/sesv2/api_op_PutDedicatedIpWarmupAttributes.go +++ b/service/sesv2/api_op_PutDedicatedIpWarmupAttributes.go @@ -116,9 +116,6 @@ func (c *Client) addOperationPutDedicatedIpWarmupAttributesMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutDedicatedIpWarmupAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutDeliverabilityDashboardOption.go b/service/sesv2/api_op_PutDeliverabilityDashboardOption.go index 1a17b74ff60..8ef65b15c11 100644 --- a/service/sesv2/api_op_PutDeliverabilityDashboardOption.go +++ b/service/sesv2/api_op_PutDeliverabilityDashboardOption.go @@ -135,9 +135,6 @@ func (c *Client) addOperationPutDeliverabilityDashboardOptionMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutDeliverabilityDashboardOptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutEmailIdentityConfigurationSetAttributes.go b/service/sesv2/api_op_PutEmailIdentityConfigurationSetAttributes.go index a2c313248fc..32a9414672e 100644 --- a/service/sesv2/api_op_PutEmailIdentityConfigurationSetAttributes.go +++ b/service/sesv2/api_op_PutEmailIdentityConfigurationSetAttributes.go @@ -113,9 +113,6 @@ func (c *Client) addOperationPutEmailIdentityConfigurationSetAttributesMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutEmailIdentityConfigurationSetAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutEmailIdentityDkimAttributes.go b/service/sesv2/api_op_PutEmailIdentityDkimAttributes.go index f9252c2a450..c92411607c3 100644 --- a/service/sesv2/api_op_PutEmailIdentityDkimAttributes.go +++ b/service/sesv2/api_op_PutEmailIdentityDkimAttributes.go @@ -118,9 +118,6 @@ func (c *Client) addOperationPutEmailIdentityDkimAttributesMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutEmailIdentityDkimAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutEmailIdentityDkimSigningAttributes.go b/service/sesv2/api_op_PutEmailIdentityDkimSigningAttributes.go index ff8d8736d2a..0ea893f0dbc 100644 --- a/service/sesv2/api_op_PutEmailIdentityDkimSigningAttributes.go +++ b/service/sesv2/api_op_PutEmailIdentityDkimSigningAttributes.go @@ -193,9 +193,6 @@ func (c *Client) addOperationPutEmailIdentityDkimSigningAttributesMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutEmailIdentityDkimSigningAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutEmailIdentityFeedbackAttributes.go b/service/sesv2/api_op_PutEmailIdentityFeedbackAttributes.go index e63a8a53516..53afdd19521 100644 --- a/service/sesv2/api_op_PutEmailIdentityFeedbackAttributes.go +++ b/service/sesv2/api_op_PutEmailIdentityFeedbackAttributes.go @@ -134,9 +134,6 @@ func (c *Client) addOperationPutEmailIdentityFeedbackAttributesMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutEmailIdentityFeedbackAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutEmailIdentityMailFromAttributes.go b/service/sesv2/api_op_PutEmailIdentityMailFromAttributes.go index ab853c237ab..1f1f3c5396f 100644 --- a/service/sesv2/api_op_PutEmailIdentityMailFromAttributes.go +++ b/service/sesv2/api_op_PutEmailIdentityMailFromAttributes.go @@ -133,9 +133,6 @@ func (c *Client) addOperationPutEmailIdentityMailFromAttributesMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutEmailIdentityMailFromAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_PutSuppressedDestination.go b/service/sesv2/api_op_PutSuppressedDestination.go index bcc4a20d7c7..f4ee76612af 100644 --- a/service/sesv2/api_op_PutSuppressedDestination.go +++ b/service/sesv2/api_op_PutSuppressedDestination.go @@ -117,9 +117,6 @@ func (c *Client) addOperationPutSuppressedDestinationMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutSuppressedDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_SendBulkEmail.go b/service/sesv2/api_op_SendBulkEmail.go index 3e9e91428a5..0fdd6cedfd8 100644 --- a/service/sesv2/api_op_SendBulkEmail.go +++ b/service/sesv2/api_op_SendBulkEmail.go @@ -187,9 +187,6 @@ func (c *Client) addOperationSendBulkEmailMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendBulkEmailValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_SendCustomVerificationEmail.go b/service/sesv2/api_op_SendCustomVerificationEmail.go index 87da9df0953..25272c9de6e 100644 --- a/service/sesv2/api_op_SendCustomVerificationEmail.go +++ b/service/sesv2/api_op_SendCustomVerificationEmail.go @@ -135,9 +135,6 @@ func (c *Client) addOperationSendCustomVerificationEmailMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendCustomVerificationEmailValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_SendEmail.go b/service/sesv2/api_op_SendEmail.go index c90340854e7..6718865e107 100644 --- a/service/sesv2/api_op_SendEmail.go +++ b/service/sesv2/api_op_SendEmail.go @@ -210,9 +210,6 @@ func (c *Client) addOperationSendEmailMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendEmailValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_TagResource.go b/service/sesv2/api_op_TagResource.go index 57e9bac7c1f..1e41cc9392e 100644 --- a/service/sesv2/api_op_TagResource.go +++ b/service/sesv2/api_op_TagResource.go @@ -124,9 +124,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_TestRenderEmailTemplate.go b/service/sesv2/api_op_TestRenderEmailTemplate.go index a9888004099..8d043053d5e 100644 --- a/service/sesv2/api_op_TestRenderEmailTemplate.go +++ b/service/sesv2/api_op_TestRenderEmailTemplate.go @@ -127,9 +127,6 @@ func (c *Client) addOperationTestRenderEmailTemplateMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTestRenderEmailTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_UntagResource.go b/service/sesv2/api_op_UntagResource.go index 7bbbd274e8e..05a94dfc679 100644 --- a/service/sesv2/api_op_UntagResource.go +++ b/service/sesv2/api_op_UntagResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_UpdateConfigurationSetEventDestination.go b/service/sesv2/api_op_UpdateConfigurationSetEventDestination.go index 233dfc000dc..60d9ee1a003 100644 --- a/service/sesv2/api_op_UpdateConfigurationSetEventDestination.go +++ b/service/sesv2/api_op_UpdateConfigurationSetEventDestination.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateConfigurationSetEventDestinationMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConfigurationSetEventDestinationValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_UpdateContact.go b/service/sesv2/api_op_UpdateContact.go index 0cf95a44e89..6a6353ef4df 100644 --- a/service/sesv2/api_op_UpdateContact.go +++ b/service/sesv2/api_op_UpdateContact.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateContactMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateContactValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_UpdateContactList.go b/service/sesv2/api_op_UpdateContactList.go index 107ad360b8e..9f46b6e6454 100644 --- a/service/sesv2/api_op_UpdateContactList.go +++ b/service/sesv2/api_op_UpdateContactList.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUpdateContactListMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateContactListValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_UpdateCustomVerificationEmailTemplate.go b/service/sesv2/api_op_UpdateCustomVerificationEmailTemplate.go index bb84b3149b5..a531d0484fe 100644 --- a/service/sesv2/api_op_UpdateCustomVerificationEmailTemplate.go +++ b/service/sesv2/api_op_UpdateCustomVerificationEmailTemplate.go @@ -148,9 +148,6 @@ func (c *Client) addOperationUpdateCustomVerificationEmailTemplateMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCustomVerificationEmailTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_UpdateEmailIdentityPolicy.go b/service/sesv2/api_op_UpdateEmailIdentityPolicy.go index 1e40f3ec3cd..35f4a713d91 100644 --- a/service/sesv2/api_op_UpdateEmailIdentityPolicy.go +++ b/service/sesv2/api_op_UpdateEmailIdentityPolicy.go @@ -144,9 +144,6 @@ func (c *Client) addOperationUpdateEmailIdentityPolicyMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEmailIdentityPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/api_op_UpdateEmailTemplate.go b/service/sesv2/api_op_UpdateEmailTemplate.go index 1269a63e8b6..c5af78989fb 100644 --- a/service/sesv2/api_op_UpdateEmailTemplate.go +++ b/service/sesv2/api_op_UpdateEmailTemplate.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateEmailTemplateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEmailTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/sesv2/snapshot/api_op_BatchGetMetricData.go.snap b/service/sesv2/snapshot/api_op_BatchGetMetricData.go.snap index fe90d56cfcb..86496db1036 100644 --- a/service/sesv2/snapshot/api_op_BatchGetMetricData.go.snap +++ b/service/sesv2/snapshot/api_op_BatchGetMetricData.go.snap @@ -14,7 +14,6 @@ BatchGetMetricData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_CancelExportJob.go.snap b/service/sesv2/snapshot/api_op_CancelExportJob.go.snap index 74684de19f6..63cfcbc41ee 100644 --- a/service/sesv2/snapshot/api_op_CancelExportJob.go.snap +++ b/service/sesv2/snapshot/api_op_CancelExportJob.go.snap @@ -14,7 +14,6 @@ CancelExportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_CreateConfigurationSet.go.snap b/service/sesv2/snapshot/api_op_CreateConfigurationSet.go.snap index 23327154112..f88f5165b23 100644 --- a/service/sesv2/snapshot/api_op_CreateConfigurationSet.go.snap +++ b/service/sesv2/snapshot/api_op_CreateConfigurationSet.go.snap @@ -14,7 +14,6 @@ CreateConfigurationSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_CreateConfigurationSetEventDestination.go.snap b/service/sesv2/snapshot/api_op_CreateConfigurationSetEventDestination.go.snap index e273ff4bc46..21d4c7d2443 100644 --- a/service/sesv2/snapshot/api_op_CreateConfigurationSetEventDestination.go.snap +++ b/service/sesv2/snapshot/api_op_CreateConfigurationSetEventDestination.go.snap @@ -14,7 +14,6 @@ CreateConfigurationSetEventDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_CreateContact.go.snap b/service/sesv2/snapshot/api_op_CreateContact.go.snap index 8214cc20fce..a6a94fd4c08 100644 --- a/service/sesv2/snapshot/api_op_CreateContact.go.snap +++ b/service/sesv2/snapshot/api_op_CreateContact.go.snap @@ -14,7 +14,6 @@ CreateContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_CreateContactList.go.snap b/service/sesv2/snapshot/api_op_CreateContactList.go.snap index 19cb1a942db..a60926a3486 100644 --- a/service/sesv2/snapshot/api_op_CreateContactList.go.snap +++ b/service/sesv2/snapshot/api_op_CreateContactList.go.snap @@ -14,7 +14,6 @@ CreateContactList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_CreateCustomVerificationEmailTemplate.go.snap b/service/sesv2/snapshot/api_op_CreateCustomVerificationEmailTemplate.go.snap index 4e776bcffae..e2c20bf2435 100644 --- a/service/sesv2/snapshot/api_op_CreateCustomVerificationEmailTemplate.go.snap +++ b/service/sesv2/snapshot/api_op_CreateCustomVerificationEmailTemplate.go.snap @@ -14,7 +14,6 @@ CreateCustomVerificationEmailTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_CreateDedicatedIpPool.go.snap b/service/sesv2/snapshot/api_op_CreateDedicatedIpPool.go.snap index 604dafafb0b..2aebc2acec0 100644 --- a/service/sesv2/snapshot/api_op_CreateDedicatedIpPool.go.snap +++ b/service/sesv2/snapshot/api_op_CreateDedicatedIpPool.go.snap @@ -14,7 +14,6 @@ CreateDedicatedIpPool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_CreateDeliverabilityTestReport.go.snap b/service/sesv2/snapshot/api_op_CreateDeliverabilityTestReport.go.snap index 12a5bdf4ff8..f8003bfe50a 100644 --- a/service/sesv2/snapshot/api_op_CreateDeliverabilityTestReport.go.snap +++ b/service/sesv2/snapshot/api_op_CreateDeliverabilityTestReport.go.snap @@ -14,7 +14,6 @@ CreateDeliverabilityTestReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_CreateEmailIdentity.go.snap b/service/sesv2/snapshot/api_op_CreateEmailIdentity.go.snap index fa8623dbf48..e1b7f686ce1 100644 --- a/service/sesv2/snapshot/api_op_CreateEmailIdentity.go.snap +++ b/service/sesv2/snapshot/api_op_CreateEmailIdentity.go.snap @@ -14,7 +14,6 @@ CreateEmailIdentity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_CreateEmailIdentityPolicy.go.snap b/service/sesv2/snapshot/api_op_CreateEmailIdentityPolicy.go.snap index a7a1f0e9ca9..29b13343f7e 100644 --- a/service/sesv2/snapshot/api_op_CreateEmailIdentityPolicy.go.snap +++ b/service/sesv2/snapshot/api_op_CreateEmailIdentityPolicy.go.snap @@ -14,7 +14,6 @@ CreateEmailIdentityPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_CreateEmailTemplate.go.snap b/service/sesv2/snapshot/api_op_CreateEmailTemplate.go.snap index 4e57ed95919..ef3ae9d561e 100644 --- a/service/sesv2/snapshot/api_op_CreateEmailTemplate.go.snap +++ b/service/sesv2/snapshot/api_op_CreateEmailTemplate.go.snap @@ -14,7 +14,6 @@ CreateEmailTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_CreateExportJob.go.snap b/service/sesv2/snapshot/api_op_CreateExportJob.go.snap index f7d0d0acf34..d5a8d27ab5e 100644 --- a/service/sesv2/snapshot/api_op_CreateExportJob.go.snap +++ b/service/sesv2/snapshot/api_op_CreateExportJob.go.snap @@ -14,7 +14,6 @@ CreateExportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_CreateImportJob.go.snap b/service/sesv2/snapshot/api_op_CreateImportJob.go.snap index 75b83202019..4316cd59197 100644 --- a/service/sesv2/snapshot/api_op_CreateImportJob.go.snap +++ b/service/sesv2/snapshot/api_op_CreateImportJob.go.snap @@ -14,7 +14,6 @@ CreateImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_CreateMultiRegionEndpoint.go.snap b/service/sesv2/snapshot/api_op_CreateMultiRegionEndpoint.go.snap index 4fcaa8a9702..0da4815a226 100644 --- a/service/sesv2/snapshot/api_op_CreateMultiRegionEndpoint.go.snap +++ b/service/sesv2/snapshot/api_op_CreateMultiRegionEndpoint.go.snap @@ -14,7 +14,6 @@ CreateMultiRegionEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_DeleteConfigurationSet.go.snap b/service/sesv2/snapshot/api_op_DeleteConfigurationSet.go.snap index c8de5b62739..c7f4d120ec5 100644 --- a/service/sesv2/snapshot/api_op_DeleteConfigurationSet.go.snap +++ b/service/sesv2/snapshot/api_op_DeleteConfigurationSet.go.snap @@ -14,7 +14,6 @@ DeleteConfigurationSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_DeleteConfigurationSetEventDestination.go.snap b/service/sesv2/snapshot/api_op_DeleteConfigurationSetEventDestination.go.snap index 6e85ce81822..ea61d59c58e 100644 --- a/service/sesv2/snapshot/api_op_DeleteConfigurationSetEventDestination.go.snap +++ b/service/sesv2/snapshot/api_op_DeleteConfigurationSetEventDestination.go.snap @@ -14,7 +14,6 @@ DeleteConfigurationSetEventDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_DeleteContact.go.snap b/service/sesv2/snapshot/api_op_DeleteContact.go.snap index 383cd5eb3ce..52c6beccad5 100644 --- a/service/sesv2/snapshot/api_op_DeleteContact.go.snap +++ b/service/sesv2/snapshot/api_op_DeleteContact.go.snap @@ -14,7 +14,6 @@ DeleteContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_DeleteContactList.go.snap b/service/sesv2/snapshot/api_op_DeleteContactList.go.snap index 25e42fc947a..e90da443ccf 100644 --- a/service/sesv2/snapshot/api_op_DeleteContactList.go.snap +++ b/service/sesv2/snapshot/api_op_DeleteContactList.go.snap @@ -14,7 +14,6 @@ DeleteContactList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_DeleteCustomVerificationEmailTemplate.go.snap b/service/sesv2/snapshot/api_op_DeleteCustomVerificationEmailTemplate.go.snap index 447b220e9bc..3d70e37e039 100644 --- a/service/sesv2/snapshot/api_op_DeleteCustomVerificationEmailTemplate.go.snap +++ b/service/sesv2/snapshot/api_op_DeleteCustomVerificationEmailTemplate.go.snap @@ -14,7 +14,6 @@ DeleteCustomVerificationEmailTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_DeleteDedicatedIpPool.go.snap b/service/sesv2/snapshot/api_op_DeleteDedicatedIpPool.go.snap index 5df93667d79..c2b58d7a68c 100644 --- a/service/sesv2/snapshot/api_op_DeleteDedicatedIpPool.go.snap +++ b/service/sesv2/snapshot/api_op_DeleteDedicatedIpPool.go.snap @@ -14,7 +14,6 @@ DeleteDedicatedIpPool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_DeleteEmailIdentity.go.snap b/service/sesv2/snapshot/api_op_DeleteEmailIdentity.go.snap index c608cd9b961..2860acb4f4a 100644 --- a/service/sesv2/snapshot/api_op_DeleteEmailIdentity.go.snap +++ b/service/sesv2/snapshot/api_op_DeleteEmailIdentity.go.snap @@ -14,7 +14,6 @@ DeleteEmailIdentity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_DeleteEmailIdentityPolicy.go.snap b/service/sesv2/snapshot/api_op_DeleteEmailIdentityPolicy.go.snap index 65283c62723..9a0c994e33b 100644 --- a/service/sesv2/snapshot/api_op_DeleteEmailIdentityPolicy.go.snap +++ b/service/sesv2/snapshot/api_op_DeleteEmailIdentityPolicy.go.snap @@ -14,7 +14,6 @@ DeleteEmailIdentityPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_DeleteEmailTemplate.go.snap b/service/sesv2/snapshot/api_op_DeleteEmailTemplate.go.snap index c3de188b7ef..359b4c8186a 100644 --- a/service/sesv2/snapshot/api_op_DeleteEmailTemplate.go.snap +++ b/service/sesv2/snapshot/api_op_DeleteEmailTemplate.go.snap @@ -14,7 +14,6 @@ DeleteEmailTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_DeleteMultiRegionEndpoint.go.snap b/service/sesv2/snapshot/api_op_DeleteMultiRegionEndpoint.go.snap index 2d828c5f7ec..3a8e890ebd5 100644 --- a/service/sesv2/snapshot/api_op_DeleteMultiRegionEndpoint.go.snap +++ b/service/sesv2/snapshot/api_op_DeleteMultiRegionEndpoint.go.snap @@ -14,7 +14,6 @@ DeleteMultiRegionEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_DeleteSuppressedDestination.go.snap b/service/sesv2/snapshot/api_op_DeleteSuppressedDestination.go.snap index 300990c7fcc..19f28d2965f 100644 --- a/service/sesv2/snapshot/api_op_DeleteSuppressedDestination.go.snap +++ b/service/sesv2/snapshot/api_op_DeleteSuppressedDestination.go.snap @@ -14,7 +14,6 @@ DeleteSuppressedDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_GetAccount.go.snap b/service/sesv2/snapshot/api_op_GetAccount.go.snap index 6a937d1e473..2512db68f05 100644 --- a/service/sesv2/snapshot/api_op_GetAccount.go.snap +++ b/service/sesv2/snapshot/api_op_GetAccount.go.snap @@ -13,7 +13,6 @@ GetAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_GetBlacklistReports.go.snap b/service/sesv2/snapshot/api_op_GetBlacklistReports.go.snap index df7a1f32979..8d8754fb242 100644 --- a/service/sesv2/snapshot/api_op_GetBlacklistReports.go.snap +++ b/service/sesv2/snapshot/api_op_GetBlacklistReports.go.snap @@ -14,7 +14,6 @@ GetBlacklistReports Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_GetConfigurationSet.go.snap b/service/sesv2/snapshot/api_op_GetConfigurationSet.go.snap index e3b186e07f3..80abf558f23 100644 --- a/service/sesv2/snapshot/api_op_GetConfigurationSet.go.snap +++ b/service/sesv2/snapshot/api_op_GetConfigurationSet.go.snap @@ -14,7 +14,6 @@ GetConfigurationSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_GetConfigurationSetEventDestinations.go.snap b/service/sesv2/snapshot/api_op_GetConfigurationSetEventDestinations.go.snap index bd31e742518..9fdc460a149 100644 --- a/service/sesv2/snapshot/api_op_GetConfigurationSetEventDestinations.go.snap +++ b/service/sesv2/snapshot/api_op_GetConfigurationSetEventDestinations.go.snap @@ -14,7 +14,6 @@ GetConfigurationSetEventDestinations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_GetContact.go.snap b/service/sesv2/snapshot/api_op_GetContact.go.snap index f7f935e9bbb..e5ef8417ae0 100644 --- a/service/sesv2/snapshot/api_op_GetContact.go.snap +++ b/service/sesv2/snapshot/api_op_GetContact.go.snap @@ -14,7 +14,6 @@ GetContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_GetContactList.go.snap b/service/sesv2/snapshot/api_op_GetContactList.go.snap index 6d495ed4291..cd778eeddc9 100644 --- a/service/sesv2/snapshot/api_op_GetContactList.go.snap +++ b/service/sesv2/snapshot/api_op_GetContactList.go.snap @@ -14,7 +14,6 @@ GetContactList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_GetCustomVerificationEmailTemplate.go.snap b/service/sesv2/snapshot/api_op_GetCustomVerificationEmailTemplate.go.snap index c635a8647f1..6c093774b45 100644 --- a/service/sesv2/snapshot/api_op_GetCustomVerificationEmailTemplate.go.snap +++ b/service/sesv2/snapshot/api_op_GetCustomVerificationEmailTemplate.go.snap @@ -14,7 +14,6 @@ GetCustomVerificationEmailTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_GetDedicatedIp.go.snap b/service/sesv2/snapshot/api_op_GetDedicatedIp.go.snap index 989633dfc56..e6c4fa211c5 100644 --- a/service/sesv2/snapshot/api_op_GetDedicatedIp.go.snap +++ b/service/sesv2/snapshot/api_op_GetDedicatedIp.go.snap @@ -14,7 +14,6 @@ GetDedicatedIp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_GetDedicatedIpPool.go.snap b/service/sesv2/snapshot/api_op_GetDedicatedIpPool.go.snap index 945de99dd20..90aaa618df0 100644 --- a/service/sesv2/snapshot/api_op_GetDedicatedIpPool.go.snap +++ b/service/sesv2/snapshot/api_op_GetDedicatedIpPool.go.snap @@ -14,7 +14,6 @@ GetDedicatedIpPool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_GetDedicatedIps.go.snap b/service/sesv2/snapshot/api_op_GetDedicatedIps.go.snap index 840c1628ac9..b3ffce9e8d5 100644 --- a/service/sesv2/snapshot/api_op_GetDedicatedIps.go.snap +++ b/service/sesv2/snapshot/api_op_GetDedicatedIps.go.snap @@ -13,7 +13,6 @@ GetDedicatedIps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_GetDeliverabilityDashboardOptions.go.snap b/service/sesv2/snapshot/api_op_GetDeliverabilityDashboardOptions.go.snap index fdf300970e7..750cb0171d8 100644 --- a/service/sesv2/snapshot/api_op_GetDeliverabilityDashboardOptions.go.snap +++ b/service/sesv2/snapshot/api_op_GetDeliverabilityDashboardOptions.go.snap @@ -13,7 +13,6 @@ GetDeliverabilityDashboardOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_GetDeliverabilityTestReport.go.snap b/service/sesv2/snapshot/api_op_GetDeliverabilityTestReport.go.snap index 3104fb5abd7..f011bb412be 100644 --- a/service/sesv2/snapshot/api_op_GetDeliverabilityTestReport.go.snap +++ b/service/sesv2/snapshot/api_op_GetDeliverabilityTestReport.go.snap @@ -14,7 +14,6 @@ GetDeliverabilityTestReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_GetDomainDeliverabilityCampaign.go.snap b/service/sesv2/snapshot/api_op_GetDomainDeliverabilityCampaign.go.snap index f76b8012929..75c564fc468 100644 --- a/service/sesv2/snapshot/api_op_GetDomainDeliverabilityCampaign.go.snap +++ b/service/sesv2/snapshot/api_op_GetDomainDeliverabilityCampaign.go.snap @@ -14,7 +14,6 @@ GetDomainDeliverabilityCampaign Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_GetDomainStatisticsReport.go.snap b/service/sesv2/snapshot/api_op_GetDomainStatisticsReport.go.snap index 1d56c939cf2..8dcbfcc36b0 100644 --- a/service/sesv2/snapshot/api_op_GetDomainStatisticsReport.go.snap +++ b/service/sesv2/snapshot/api_op_GetDomainStatisticsReport.go.snap @@ -14,7 +14,6 @@ GetDomainStatisticsReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_GetEmailIdentity.go.snap b/service/sesv2/snapshot/api_op_GetEmailIdentity.go.snap index bf8bffb6f2d..650bec13ea3 100644 --- a/service/sesv2/snapshot/api_op_GetEmailIdentity.go.snap +++ b/service/sesv2/snapshot/api_op_GetEmailIdentity.go.snap @@ -14,7 +14,6 @@ GetEmailIdentity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_GetEmailIdentityPolicies.go.snap b/service/sesv2/snapshot/api_op_GetEmailIdentityPolicies.go.snap index 6a26c1e9e19..8860b71d6c4 100644 --- a/service/sesv2/snapshot/api_op_GetEmailIdentityPolicies.go.snap +++ b/service/sesv2/snapshot/api_op_GetEmailIdentityPolicies.go.snap @@ -14,7 +14,6 @@ GetEmailIdentityPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_GetEmailTemplate.go.snap b/service/sesv2/snapshot/api_op_GetEmailTemplate.go.snap index b1244b40492..8f05709838e 100644 --- a/service/sesv2/snapshot/api_op_GetEmailTemplate.go.snap +++ b/service/sesv2/snapshot/api_op_GetEmailTemplate.go.snap @@ -14,7 +14,6 @@ GetEmailTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_GetExportJob.go.snap b/service/sesv2/snapshot/api_op_GetExportJob.go.snap index eaa0eba79ea..46fe8ce1587 100644 --- a/service/sesv2/snapshot/api_op_GetExportJob.go.snap +++ b/service/sesv2/snapshot/api_op_GetExportJob.go.snap @@ -14,7 +14,6 @@ GetExportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_GetImportJob.go.snap b/service/sesv2/snapshot/api_op_GetImportJob.go.snap index b0cf47477db..bb388923d10 100644 --- a/service/sesv2/snapshot/api_op_GetImportJob.go.snap +++ b/service/sesv2/snapshot/api_op_GetImportJob.go.snap @@ -14,7 +14,6 @@ GetImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_GetMessageInsights.go.snap b/service/sesv2/snapshot/api_op_GetMessageInsights.go.snap index 79f8de11e9e..9b2ce2bda75 100644 --- a/service/sesv2/snapshot/api_op_GetMessageInsights.go.snap +++ b/service/sesv2/snapshot/api_op_GetMessageInsights.go.snap @@ -14,7 +14,6 @@ GetMessageInsights Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_GetMultiRegionEndpoint.go.snap b/service/sesv2/snapshot/api_op_GetMultiRegionEndpoint.go.snap index 22b31e75263..c4d124c569b 100644 --- a/service/sesv2/snapshot/api_op_GetMultiRegionEndpoint.go.snap +++ b/service/sesv2/snapshot/api_op_GetMultiRegionEndpoint.go.snap @@ -14,7 +14,6 @@ GetMultiRegionEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_GetSuppressedDestination.go.snap b/service/sesv2/snapshot/api_op_GetSuppressedDestination.go.snap index 73fcff5545c..66aa15360a9 100644 --- a/service/sesv2/snapshot/api_op_GetSuppressedDestination.go.snap +++ b/service/sesv2/snapshot/api_op_GetSuppressedDestination.go.snap @@ -14,7 +14,6 @@ GetSuppressedDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_ListConfigurationSets.go.snap b/service/sesv2/snapshot/api_op_ListConfigurationSets.go.snap index 16d06b8c86e..dec8b656364 100644 --- a/service/sesv2/snapshot/api_op_ListConfigurationSets.go.snap +++ b/service/sesv2/snapshot/api_op_ListConfigurationSets.go.snap @@ -13,7 +13,6 @@ ListConfigurationSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_ListContactLists.go.snap b/service/sesv2/snapshot/api_op_ListContactLists.go.snap index 00f274f8ae2..4ec2cc46380 100644 --- a/service/sesv2/snapshot/api_op_ListContactLists.go.snap +++ b/service/sesv2/snapshot/api_op_ListContactLists.go.snap @@ -13,7 +13,6 @@ ListContactLists Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_ListContacts.go.snap b/service/sesv2/snapshot/api_op_ListContacts.go.snap index 329bcc30021..f82ff00b4f6 100644 --- a/service/sesv2/snapshot/api_op_ListContacts.go.snap +++ b/service/sesv2/snapshot/api_op_ListContacts.go.snap @@ -14,7 +14,6 @@ ListContacts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_ListCustomVerificationEmailTemplates.go.snap b/service/sesv2/snapshot/api_op_ListCustomVerificationEmailTemplates.go.snap index 88814674233..cbc7ccc3aef 100644 --- a/service/sesv2/snapshot/api_op_ListCustomVerificationEmailTemplates.go.snap +++ b/service/sesv2/snapshot/api_op_ListCustomVerificationEmailTemplates.go.snap @@ -13,7 +13,6 @@ ListCustomVerificationEmailTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_ListDedicatedIpPools.go.snap b/service/sesv2/snapshot/api_op_ListDedicatedIpPools.go.snap index 6e5184495ba..3974d053394 100644 --- a/service/sesv2/snapshot/api_op_ListDedicatedIpPools.go.snap +++ b/service/sesv2/snapshot/api_op_ListDedicatedIpPools.go.snap @@ -13,7 +13,6 @@ ListDedicatedIpPools Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_ListDeliverabilityTestReports.go.snap b/service/sesv2/snapshot/api_op_ListDeliverabilityTestReports.go.snap index 72e7c475d11..e133b89ac3f 100644 --- a/service/sesv2/snapshot/api_op_ListDeliverabilityTestReports.go.snap +++ b/service/sesv2/snapshot/api_op_ListDeliverabilityTestReports.go.snap @@ -13,7 +13,6 @@ ListDeliverabilityTestReports Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_ListDomainDeliverabilityCampaigns.go.snap b/service/sesv2/snapshot/api_op_ListDomainDeliverabilityCampaigns.go.snap index 4874e1d811c..256fae18c52 100644 --- a/service/sesv2/snapshot/api_op_ListDomainDeliverabilityCampaigns.go.snap +++ b/service/sesv2/snapshot/api_op_ListDomainDeliverabilityCampaigns.go.snap @@ -14,7 +14,6 @@ ListDomainDeliverabilityCampaigns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_ListEmailIdentities.go.snap b/service/sesv2/snapshot/api_op_ListEmailIdentities.go.snap index a193b03c093..7dcc28b1af1 100644 --- a/service/sesv2/snapshot/api_op_ListEmailIdentities.go.snap +++ b/service/sesv2/snapshot/api_op_ListEmailIdentities.go.snap @@ -13,7 +13,6 @@ ListEmailIdentities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_ListEmailTemplates.go.snap b/service/sesv2/snapshot/api_op_ListEmailTemplates.go.snap index 0bcb76e3dba..ef1b84962e4 100644 --- a/service/sesv2/snapshot/api_op_ListEmailTemplates.go.snap +++ b/service/sesv2/snapshot/api_op_ListEmailTemplates.go.snap @@ -13,7 +13,6 @@ ListEmailTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_ListExportJobs.go.snap b/service/sesv2/snapshot/api_op_ListExportJobs.go.snap index 09c34e749b9..c711618165d 100644 --- a/service/sesv2/snapshot/api_op_ListExportJobs.go.snap +++ b/service/sesv2/snapshot/api_op_ListExportJobs.go.snap @@ -13,7 +13,6 @@ ListExportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_ListImportJobs.go.snap b/service/sesv2/snapshot/api_op_ListImportJobs.go.snap index 8d0673e784a..87b10e6f42c 100644 --- a/service/sesv2/snapshot/api_op_ListImportJobs.go.snap +++ b/service/sesv2/snapshot/api_op_ListImportJobs.go.snap @@ -13,7 +13,6 @@ ListImportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_ListMultiRegionEndpoints.go.snap b/service/sesv2/snapshot/api_op_ListMultiRegionEndpoints.go.snap index 443a8e326b2..f59d60b7aad 100644 --- a/service/sesv2/snapshot/api_op_ListMultiRegionEndpoints.go.snap +++ b/service/sesv2/snapshot/api_op_ListMultiRegionEndpoints.go.snap @@ -13,7 +13,6 @@ ListMultiRegionEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_ListRecommendations.go.snap b/service/sesv2/snapshot/api_op_ListRecommendations.go.snap index 799e878ceab..4d55ea7adbf 100644 --- a/service/sesv2/snapshot/api_op_ListRecommendations.go.snap +++ b/service/sesv2/snapshot/api_op_ListRecommendations.go.snap @@ -13,7 +13,6 @@ ListRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_ListSuppressedDestinations.go.snap b/service/sesv2/snapshot/api_op_ListSuppressedDestinations.go.snap index fc9a491573c..dc72eb44c38 100644 --- a/service/sesv2/snapshot/api_op_ListSuppressedDestinations.go.snap +++ b/service/sesv2/snapshot/api_op_ListSuppressedDestinations.go.snap @@ -13,7 +13,6 @@ ListSuppressedDestinations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_ListTagsForResource.go.snap b/service/sesv2/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/sesv2/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/sesv2/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_PutAccountDedicatedIpWarmupAttributes.go.snap b/service/sesv2/snapshot/api_op_PutAccountDedicatedIpWarmupAttributes.go.snap index e67d1c253c7..e8f4287bdfb 100644 --- a/service/sesv2/snapshot/api_op_PutAccountDedicatedIpWarmupAttributes.go.snap +++ b/service/sesv2/snapshot/api_op_PutAccountDedicatedIpWarmupAttributes.go.snap @@ -13,7 +13,6 @@ PutAccountDedicatedIpWarmupAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_PutAccountDetails.go.snap b/service/sesv2/snapshot/api_op_PutAccountDetails.go.snap index 71e93f27b67..4f67fefa733 100644 --- a/service/sesv2/snapshot/api_op_PutAccountDetails.go.snap +++ b/service/sesv2/snapshot/api_op_PutAccountDetails.go.snap @@ -14,7 +14,6 @@ PutAccountDetails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_PutAccountSendingAttributes.go.snap b/service/sesv2/snapshot/api_op_PutAccountSendingAttributes.go.snap index ba49ee81a95..4bedef71508 100644 --- a/service/sesv2/snapshot/api_op_PutAccountSendingAttributes.go.snap +++ b/service/sesv2/snapshot/api_op_PutAccountSendingAttributes.go.snap @@ -13,7 +13,6 @@ PutAccountSendingAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_PutAccountSuppressionAttributes.go.snap b/service/sesv2/snapshot/api_op_PutAccountSuppressionAttributes.go.snap index 41f869452fe..6a28405d0f0 100644 --- a/service/sesv2/snapshot/api_op_PutAccountSuppressionAttributes.go.snap +++ b/service/sesv2/snapshot/api_op_PutAccountSuppressionAttributes.go.snap @@ -13,7 +13,6 @@ PutAccountSuppressionAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_PutAccountVdmAttributes.go.snap b/service/sesv2/snapshot/api_op_PutAccountVdmAttributes.go.snap index b55ac567367..e136a164e11 100644 --- a/service/sesv2/snapshot/api_op_PutAccountVdmAttributes.go.snap +++ b/service/sesv2/snapshot/api_op_PutAccountVdmAttributes.go.snap @@ -14,7 +14,6 @@ PutAccountVdmAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_PutConfigurationSetDeliveryOptions.go.snap b/service/sesv2/snapshot/api_op_PutConfigurationSetDeliveryOptions.go.snap index c5a437012be..dff482d47ac 100644 --- a/service/sesv2/snapshot/api_op_PutConfigurationSetDeliveryOptions.go.snap +++ b/service/sesv2/snapshot/api_op_PutConfigurationSetDeliveryOptions.go.snap @@ -14,7 +14,6 @@ PutConfigurationSetDeliveryOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_PutConfigurationSetReputationOptions.go.snap b/service/sesv2/snapshot/api_op_PutConfigurationSetReputationOptions.go.snap index 663bdbae21f..4c81fd4407d 100644 --- a/service/sesv2/snapshot/api_op_PutConfigurationSetReputationOptions.go.snap +++ b/service/sesv2/snapshot/api_op_PutConfigurationSetReputationOptions.go.snap @@ -14,7 +14,6 @@ PutConfigurationSetReputationOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_PutConfigurationSetSendingOptions.go.snap b/service/sesv2/snapshot/api_op_PutConfigurationSetSendingOptions.go.snap index 5495dc8fb46..7f4f28db86e 100644 --- a/service/sesv2/snapshot/api_op_PutConfigurationSetSendingOptions.go.snap +++ b/service/sesv2/snapshot/api_op_PutConfigurationSetSendingOptions.go.snap @@ -14,7 +14,6 @@ PutConfigurationSetSendingOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_PutConfigurationSetSuppressionOptions.go.snap b/service/sesv2/snapshot/api_op_PutConfigurationSetSuppressionOptions.go.snap index de743f7eda4..6afcf224ccc 100644 --- a/service/sesv2/snapshot/api_op_PutConfigurationSetSuppressionOptions.go.snap +++ b/service/sesv2/snapshot/api_op_PutConfigurationSetSuppressionOptions.go.snap @@ -14,7 +14,6 @@ PutConfigurationSetSuppressionOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_PutConfigurationSetTrackingOptions.go.snap b/service/sesv2/snapshot/api_op_PutConfigurationSetTrackingOptions.go.snap index f966d5acf84..4e5f218bdc2 100644 --- a/service/sesv2/snapshot/api_op_PutConfigurationSetTrackingOptions.go.snap +++ b/service/sesv2/snapshot/api_op_PutConfigurationSetTrackingOptions.go.snap @@ -14,7 +14,6 @@ PutConfigurationSetTrackingOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_PutConfigurationSetVdmOptions.go.snap b/service/sesv2/snapshot/api_op_PutConfigurationSetVdmOptions.go.snap index 79d583e9026..a5938f17d6e 100644 --- a/service/sesv2/snapshot/api_op_PutConfigurationSetVdmOptions.go.snap +++ b/service/sesv2/snapshot/api_op_PutConfigurationSetVdmOptions.go.snap @@ -14,7 +14,6 @@ PutConfigurationSetVdmOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_PutDedicatedIpInPool.go.snap b/service/sesv2/snapshot/api_op_PutDedicatedIpInPool.go.snap index a1ce94d8955..deea601e061 100644 --- a/service/sesv2/snapshot/api_op_PutDedicatedIpInPool.go.snap +++ b/service/sesv2/snapshot/api_op_PutDedicatedIpInPool.go.snap @@ -14,7 +14,6 @@ PutDedicatedIpInPool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_PutDedicatedIpPoolScalingAttributes.go.snap b/service/sesv2/snapshot/api_op_PutDedicatedIpPoolScalingAttributes.go.snap index 0f5777fba81..7b12256b688 100644 --- a/service/sesv2/snapshot/api_op_PutDedicatedIpPoolScalingAttributes.go.snap +++ b/service/sesv2/snapshot/api_op_PutDedicatedIpPoolScalingAttributes.go.snap @@ -14,7 +14,6 @@ PutDedicatedIpPoolScalingAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_PutDedicatedIpWarmupAttributes.go.snap b/service/sesv2/snapshot/api_op_PutDedicatedIpWarmupAttributes.go.snap index 32b369c9c69..70cb2534ef8 100644 --- a/service/sesv2/snapshot/api_op_PutDedicatedIpWarmupAttributes.go.snap +++ b/service/sesv2/snapshot/api_op_PutDedicatedIpWarmupAttributes.go.snap @@ -14,7 +14,6 @@ PutDedicatedIpWarmupAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_PutDeliverabilityDashboardOption.go.snap b/service/sesv2/snapshot/api_op_PutDeliverabilityDashboardOption.go.snap index a131315b440..a95fbf1c270 100644 --- a/service/sesv2/snapshot/api_op_PutDeliverabilityDashboardOption.go.snap +++ b/service/sesv2/snapshot/api_op_PutDeliverabilityDashboardOption.go.snap @@ -14,7 +14,6 @@ PutDeliverabilityDashboardOption Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_PutEmailIdentityConfigurationSetAttributes.go.snap b/service/sesv2/snapshot/api_op_PutEmailIdentityConfigurationSetAttributes.go.snap index 2821e3f2084..e0bf97a359b 100644 --- a/service/sesv2/snapshot/api_op_PutEmailIdentityConfigurationSetAttributes.go.snap +++ b/service/sesv2/snapshot/api_op_PutEmailIdentityConfigurationSetAttributes.go.snap @@ -14,7 +14,6 @@ PutEmailIdentityConfigurationSetAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_PutEmailIdentityDkimAttributes.go.snap b/service/sesv2/snapshot/api_op_PutEmailIdentityDkimAttributes.go.snap index d866c79e3c8..a696f6ab797 100644 --- a/service/sesv2/snapshot/api_op_PutEmailIdentityDkimAttributes.go.snap +++ b/service/sesv2/snapshot/api_op_PutEmailIdentityDkimAttributes.go.snap @@ -14,7 +14,6 @@ PutEmailIdentityDkimAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_PutEmailIdentityDkimSigningAttributes.go.snap b/service/sesv2/snapshot/api_op_PutEmailIdentityDkimSigningAttributes.go.snap index 27be4b4a340..785d37ba5ec 100644 --- a/service/sesv2/snapshot/api_op_PutEmailIdentityDkimSigningAttributes.go.snap +++ b/service/sesv2/snapshot/api_op_PutEmailIdentityDkimSigningAttributes.go.snap @@ -14,7 +14,6 @@ PutEmailIdentityDkimSigningAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_PutEmailIdentityFeedbackAttributes.go.snap b/service/sesv2/snapshot/api_op_PutEmailIdentityFeedbackAttributes.go.snap index 1261087d0f5..62f9033644e 100644 --- a/service/sesv2/snapshot/api_op_PutEmailIdentityFeedbackAttributes.go.snap +++ b/service/sesv2/snapshot/api_op_PutEmailIdentityFeedbackAttributes.go.snap @@ -14,7 +14,6 @@ PutEmailIdentityFeedbackAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_PutEmailIdentityMailFromAttributes.go.snap b/service/sesv2/snapshot/api_op_PutEmailIdentityMailFromAttributes.go.snap index d580f9b38a2..445378f08cc 100644 --- a/service/sesv2/snapshot/api_op_PutEmailIdentityMailFromAttributes.go.snap +++ b/service/sesv2/snapshot/api_op_PutEmailIdentityMailFromAttributes.go.snap @@ -14,7 +14,6 @@ PutEmailIdentityMailFromAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_PutSuppressedDestination.go.snap b/service/sesv2/snapshot/api_op_PutSuppressedDestination.go.snap index 91c92eaea07..dc78b3e4e6b 100644 --- a/service/sesv2/snapshot/api_op_PutSuppressedDestination.go.snap +++ b/service/sesv2/snapshot/api_op_PutSuppressedDestination.go.snap @@ -14,7 +14,6 @@ PutSuppressedDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_SendBulkEmail.go.snap b/service/sesv2/snapshot/api_op_SendBulkEmail.go.snap index 828a94cb42b..a0e89a3c121 100644 --- a/service/sesv2/snapshot/api_op_SendBulkEmail.go.snap +++ b/service/sesv2/snapshot/api_op_SendBulkEmail.go.snap @@ -14,7 +14,6 @@ SendBulkEmail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_SendCustomVerificationEmail.go.snap b/service/sesv2/snapshot/api_op_SendCustomVerificationEmail.go.snap index 1d0ca7cbd80..404cc891f53 100644 --- a/service/sesv2/snapshot/api_op_SendCustomVerificationEmail.go.snap +++ b/service/sesv2/snapshot/api_op_SendCustomVerificationEmail.go.snap @@ -14,7 +14,6 @@ SendCustomVerificationEmail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_SendEmail.go.snap b/service/sesv2/snapshot/api_op_SendEmail.go.snap index f1eb7b412e0..749c9b4478e 100644 --- a/service/sesv2/snapshot/api_op_SendEmail.go.snap +++ b/service/sesv2/snapshot/api_op_SendEmail.go.snap @@ -14,7 +14,6 @@ SendEmail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_TagResource.go.snap b/service/sesv2/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/sesv2/snapshot/api_op_TagResource.go.snap +++ b/service/sesv2/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_TestRenderEmailTemplate.go.snap b/service/sesv2/snapshot/api_op_TestRenderEmailTemplate.go.snap index 06f66fe1ff5..167a3e4b1d2 100644 --- a/service/sesv2/snapshot/api_op_TestRenderEmailTemplate.go.snap +++ b/service/sesv2/snapshot/api_op_TestRenderEmailTemplate.go.snap @@ -14,7 +14,6 @@ TestRenderEmailTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_UntagResource.go.snap b/service/sesv2/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/sesv2/snapshot/api_op_UntagResource.go.snap +++ b/service/sesv2/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_UpdateConfigurationSetEventDestination.go.snap b/service/sesv2/snapshot/api_op_UpdateConfigurationSetEventDestination.go.snap index 624d602cec8..ac613959f80 100644 --- a/service/sesv2/snapshot/api_op_UpdateConfigurationSetEventDestination.go.snap +++ b/service/sesv2/snapshot/api_op_UpdateConfigurationSetEventDestination.go.snap @@ -14,7 +14,6 @@ UpdateConfigurationSetEventDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_UpdateContact.go.snap b/service/sesv2/snapshot/api_op_UpdateContact.go.snap index b868a28e8ea..084a8071e0f 100644 --- a/service/sesv2/snapshot/api_op_UpdateContact.go.snap +++ b/service/sesv2/snapshot/api_op_UpdateContact.go.snap @@ -14,7 +14,6 @@ UpdateContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_UpdateContactList.go.snap b/service/sesv2/snapshot/api_op_UpdateContactList.go.snap index 90e76487341..643f1b67967 100644 --- a/service/sesv2/snapshot/api_op_UpdateContactList.go.snap +++ b/service/sesv2/snapshot/api_op_UpdateContactList.go.snap @@ -14,7 +14,6 @@ UpdateContactList Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_UpdateCustomVerificationEmailTemplate.go.snap b/service/sesv2/snapshot/api_op_UpdateCustomVerificationEmailTemplate.go.snap index 692227261fe..45ae9cb77f0 100644 --- a/service/sesv2/snapshot/api_op_UpdateCustomVerificationEmailTemplate.go.snap +++ b/service/sesv2/snapshot/api_op_UpdateCustomVerificationEmailTemplate.go.snap @@ -14,7 +14,6 @@ UpdateCustomVerificationEmailTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_UpdateEmailIdentityPolicy.go.snap b/service/sesv2/snapshot/api_op_UpdateEmailIdentityPolicy.go.snap index 706c340a5db..df477951d3e 100644 --- a/service/sesv2/snapshot/api_op_UpdateEmailIdentityPolicy.go.snap +++ b/service/sesv2/snapshot/api_op_UpdateEmailIdentityPolicy.go.snap @@ -14,7 +14,6 @@ UpdateEmailIdentityPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sesv2/snapshot/api_op_UpdateEmailTemplate.go.snap b/service/sesv2/snapshot/api_op_UpdateEmailTemplate.go.snap index 5a689567a5a..9170b529f65 100644 --- a/service/sesv2/snapshot/api_op_UpdateEmailTemplate.go.snap +++ b/service/sesv2/snapshot/api_op_UpdateEmailTemplate.go.snap @@ -14,7 +14,6 @@ UpdateEmailTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/api_client.go b/service/sfn/api_client.go index ea91048f528..43b0537bd8f 100644 --- a/service/sfn/api_client.go +++ b/service/sfn/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/sfn/api_op_CreateActivity.go b/service/sfn/api_op_CreateActivity.go index bf527e9c4c5..34c5c95ab7f 100644 --- a/service/sfn/api_op_CreateActivity.go +++ b/service/sfn/api_op_CreateActivity.go @@ -169,9 +169,6 @@ func (c *Client) addOperationCreateActivityMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateActivityValidationMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_CreateStateMachine.go b/service/sfn/api_op_CreateStateMachine.go index 5f6cebead61..780fcaec45e 100644 --- a/service/sfn/api_op_CreateStateMachine.go +++ b/service/sfn/api_op_CreateStateMachine.go @@ -220,9 +220,6 @@ func (c *Client) addOperationCreateStateMachineMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateStateMachineValidationMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_CreateStateMachineAlias.go b/service/sfn/api_op_CreateStateMachineAlias.go index f0fae53e39c..6ae9b4ac2ba 100644 --- a/service/sfn/api_op_CreateStateMachineAlias.go +++ b/service/sfn/api_op_CreateStateMachineAlias.go @@ -169,9 +169,6 @@ func (c *Client) addOperationCreateStateMachineAliasMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateStateMachineAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_DeleteActivity.go b/service/sfn/api_op_DeleteActivity.go index 5973de284bf..fc3cdc7e7ae 100644 --- a/service/sfn/api_op_DeleteActivity.go +++ b/service/sfn/api_op_DeleteActivity.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteActivityMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteActivityValidationMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_DeleteStateMachine.go b/service/sfn/api_op_DeleteStateMachine.go index 4f8ae8844ab..1da9cd176f8 100644 --- a/service/sfn/api_op_DeleteStateMachine.go +++ b/service/sfn/api_op_DeleteStateMachine.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDeleteStateMachineMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteStateMachineValidationMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_DeleteStateMachineAlias.go b/service/sfn/api_op_DeleteStateMachineAlias.go index f067f9468ef..2c8045ddcdc 100644 --- a/service/sfn/api_op_DeleteStateMachineAlias.go +++ b/service/sfn/api_op_DeleteStateMachineAlias.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteStateMachineAliasMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteStateMachineAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_DeleteStateMachineVersion.go b/service/sfn/api_op_DeleteStateMachineVersion.go index 35da35dd8e3..c51d873435c 100644 --- a/service/sfn/api_op_DeleteStateMachineVersion.go +++ b/service/sfn/api_op_DeleteStateMachineVersion.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteStateMachineVersionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteStateMachineVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_DescribeActivity.go b/service/sfn/api_op_DescribeActivity.go index 66dd17ab8fb..75f12252862 100644 --- a/service/sfn/api_op_DescribeActivity.go +++ b/service/sfn/api_op_DescribeActivity.go @@ -146,9 +146,6 @@ func (c *Client) addOperationDescribeActivityMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeActivityValidationMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_DescribeExecution.go b/service/sfn/api_op_DescribeExecution.go index 12c034146c4..5f5324ec9ba 100644 --- a/service/sfn/api_op_DescribeExecution.go +++ b/service/sfn/api_op_DescribeExecution.go @@ -279,9 +279,6 @@ func (c *Client) addOperationDescribeExecutionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_DescribeMapRun.go b/service/sfn/api_op_DescribeMapRun.go index 49740448b13..2e16ce464d5 100644 --- a/service/sfn/api_op_DescribeMapRun.go +++ b/service/sfn/api_op_DescribeMapRun.go @@ -179,9 +179,6 @@ func (c *Client) addOperationDescribeMapRunMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeMapRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_DescribeStateMachine.go b/service/sfn/api_op_DescribeStateMachine.go index 9f555b3774c..2a325a6e6b8 100644 --- a/service/sfn/api_op_DescribeStateMachine.go +++ b/service/sfn/api_op_DescribeStateMachine.go @@ -249,9 +249,6 @@ func (c *Client) addOperationDescribeStateMachineMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeStateMachineValidationMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_DescribeStateMachineAlias.go b/service/sfn/api_op_DescribeStateMachineAlias.go index 8d810c9f09b..8cec14a4de4 100644 --- a/service/sfn/api_op_DescribeStateMachineAlias.go +++ b/service/sfn/api_op_DescribeStateMachineAlias.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDescribeStateMachineAliasMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeStateMachineAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_DescribeStateMachineForExecution.go b/service/sfn/api_op_DescribeStateMachineForExecution.go index a54437d505e..0afde574e98 100644 --- a/service/sfn/api_op_DescribeStateMachineForExecution.go +++ b/service/sfn/api_op_DescribeStateMachineForExecution.go @@ -186,9 +186,6 @@ func (c *Client) addOperationDescribeStateMachineForExecutionMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeStateMachineForExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_GetActivityTask.go b/service/sfn/api_op_GetActivityTask.go index 96442502e14..d7df00d31c6 100644 --- a/service/sfn/api_op_GetActivityTask.go +++ b/service/sfn/api_op_GetActivityTask.go @@ -138,9 +138,6 @@ func (c *Client) addOperationGetActivityTaskMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetActivityTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_GetExecutionHistory.go b/service/sfn/api_op_GetExecutionHistory.go index 49a816ce203..ca6d4e87bbe 100644 --- a/service/sfn/api_op_GetExecutionHistory.go +++ b/service/sfn/api_op_GetExecutionHistory.go @@ -153,9 +153,6 @@ func (c *Client) addOperationGetExecutionHistoryMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetExecutionHistoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_ListActivities.go b/service/sfn/api_op_ListActivities.go index ced07e830d6..82fa663bbee 100644 --- a/service/sfn/api_op_ListActivities.go +++ b/service/sfn/api_op_ListActivities.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListActivitiesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListActivities(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sfn/api_op_ListExecutions.go b/service/sfn/api_op_ListExecutions.go index 8eecf5b6dce..1988973020c 100644 --- a/service/sfn/api_op_ListExecutions.go +++ b/service/sfn/api_op_ListExecutions.go @@ -192,9 +192,6 @@ func (c *Client) addOperationListExecutionsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListExecutions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sfn/api_op_ListMapRuns.go b/service/sfn/api_op_ListMapRuns.go index b1a29a01844..e64a1826942 100644 --- a/service/sfn/api_op_ListMapRuns.go +++ b/service/sfn/api_op_ListMapRuns.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListMapRunsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMapRunsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_ListStateMachineAliases.go b/service/sfn/api_op_ListStateMachineAliases.go index a505e7be3be..0c04857944d 100644 --- a/service/sfn/api_op_ListStateMachineAliases.go +++ b/service/sfn/api_op_ListStateMachineAliases.go @@ -163,9 +163,6 @@ func (c *Client) addOperationListStateMachineAliasesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListStateMachineAliasesValidationMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_ListStateMachineVersions.go b/service/sfn/api_op_ListStateMachineVersions.go index f92581ae58d..ed9410fed0c 100644 --- a/service/sfn/api_op_ListStateMachineVersions.go +++ b/service/sfn/api_op_ListStateMachineVersions.go @@ -152,9 +152,6 @@ func (c *Client) addOperationListStateMachineVersionsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListStateMachineVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_ListStateMachines.go b/service/sfn/api_op_ListStateMachines.go index d9eb399675e..112c63e58a4 100644 --- a/service/sfn/api_op_ListStateMachines.go +++ b/service/sfn/api_op_ListStateMachines.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListStateMachinesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListStateMachines(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sfn/api_op_ListTagsForResource.go b/service/sfn/api_op_ListTagsForResource.go index 74583815994..609a98a24f5 100644 --- a/service/sfn/api_op_ListTagsForResource.go +++ b/service/sfn/api_op_ListTagsForResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_PublishStateMachineVersion.go b/service/sfn/api_op_PublishStateMachineVersion.go index 446fbcd2707..7552b24cbdd 100644 --- a/service/sfn/api_op_PublishStateMachineVersion.go +++ b/service/sfn/api_op_PublishStateMachineVersion.go @@ -156,9 +156,6 @@ func (c *Client) addOperationPublishStateMachineVersionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPublishStateMachineVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_RedriveExecution.go b/service/sfn/api_op_RedriveExecution.go index fa2a1890c53..c517f845808 100644 --- a/service/sfn/api_op_RedriveExecution.go +++ b/service/sfn/api_op_RedriveExecution.go @@ -169,9 +169,6 @@ func (c *Client) addOperationRedriveExecutionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opRedriveExecutionMiddleware(stack, options); err != nil { return err } diff --git a/service/sfn/api_op_SendTaskFailure.go b/service/sfn/api_op_SendTaskFailure.go index 614daf62031..ad606b8315d 100644 --- a/service/sfn/api_op_SendTaskFailure.go +++ b/service/sfn/api_op_SendTaskFailure.go @@ -129,9 +129,6 @@ func (c *Client) addOperationSendTaskFailureMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendTaskFailureValidationMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_SendTaskHeartbeat.go b/service/sfn/api_op_SendTaskHeartbeat.go index 6239c8f18be..bf5b2648649 100644 --- a/service/sfn/api_op_SendTaskHeartbeat.go +++ b/service/sfn/api_op_SendTaskHeartbeat.go @@ -126,9 +126,6 @@ func (c *Client) addOperationSendTaskHeartbeatMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendTaskHeartbeatValidationMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_SendTaskSuccess.go b/service/sfn/api_op_SendTaskSuccess.go index 432f20104cc..786fd891379 100644 --- a/service/sfn/api_op_SendTaskSuccess.go +++ b/service/sfn/api_op_SendTaskSuccess.go @@ -122,9 +122,6 @@ func (c *Client) addOperationSendTaskSuccessMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendTaskSuccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_StartExecution.go b/service/sfn/api_op_StartExecution.go index 46f43f44f2d..2180e1a3577 100644 --- a/service/sfn/api_op_StartExecution.go +++ b/service/sfn/api_op_StartExecution.go @@ -233,9 +233,6 @@ func (c *Client) addOperationStartExecutionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_StartSyncExecution.go b/service/sfn/api_op_StartSyncExecution.go index 03be4cfe00f..29d2e15db02 100644 --- a/service/sfn/api_op_StartSyncExecution.go +++ b/service/sfn/api_op_StartSyncExecution.go @@ -200,9 +200,6 @@ func (c *Client) addOperationStartSyncExecutionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opStartSyncExecutionMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_StopExecution.go b/service/sfn/api_op_StopExecution.go index aba5804e3d2..8e22a31728b 100644 --- a/service/sfn/api_op_StopExecution.go +++ b/service/sfn/api_op_StopExecution.go @@ -129,9 +129,6 @@ func (c *Client) addOperationStopExecutionMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_TagResource.go b/service/sfn/api_op_TagResource.go index 40896e06d46..3a29bc819ac 100644 --- a/service/sfn/api_op_TagResource.go +++ b/service/sfn/api_op_TagResource.go @@ -125,9 +125,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_TestState.go b/service/sfn/api_op_TestState.go index b61bb40aeb8..5981a3ae4b7 100644 --- a/service/sfn/api_op_TestState.go +++ b/service/sfn/api_op_TestState.go @@ -228,9 +228,6 @@ func (c *Client) addOperationTestStateMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opTestStateMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_UntagResource.go b/service/sfn/api_op_UntagResource.go index dbda316f344..eae531c26a2 100644 --- a/service/sfn/api_op_UntagResource.go +++ b/service/sfn/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_UpdateMapRun.go b/service/sfn/api_op_UpdateMapRun.go index fb2f5180b35..81e310fa940 100644 --- a/service/sfn/api_op_UpdateMapRun.go +++ b/service/sfn/api_op_UpdateMapRun.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateMapRunMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMapRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_UpdateStateMachine.go b/service/sfn/api_op_UpdateStateMachine.go index 0332d6f004a..82ce6f7ca17 100644 --- a/service/sfn/api_op_UpdateStateMachine.go +++ b/service/sfn/api_op_UpdateStateMachine.go @@ -200,9 +200,6 @@ func (c *Client) addOperationUpdateStateMachineMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateStateMachineValidationMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_UpdateStateMachineAlias.go b/service/sfn/api_op_UpdateStateMachineAlias.go index d93d4944419..bcbcc1c9719 100644 --- a/service/sfn/api_op_UpdateStateMachineAlias.go +++ b/service/sfn/api_op_UpdateStateMachineAlias.go @@ -149,9 +149,6 @@ func (c *Client) addOperationUpdateStateMachineAliasMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateStateMachineAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/sfn/api_op_ValidateStateMachineDefinition.go b/service/sfn/api_op_ValidateStateMachineDefinition.go index c9c5f4ef407..8b97a905193 100644 --- a/service/sfn/api_op_ValidateStateMachineDefinition.go +++ b/service/sfn/api_op_ValidateStateMachineDefinition.go @@ -178,9 +178,6 @@ func (c *Client) addOperationValidateStateMachineDefinitionMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpValidateStateMachineDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sfn/snapshot/api_op_CreateActivity.go.snap b/service/sfn/snapshot/api_op_CreateActivity.go.snap index 64db1be147a..018a5d2c02a 100644 --- a/service/sfn/snapshot/api_op_CreateActivity.go.snap +++ b/service/sfn/snapshot/api_op_CreateActivity.go.snap @@ -14,7 +14,6 @@ CreateActivity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_CreateStateMachine.go.snap b/service/sfn/snapshot/api_op_CreateStateMachine.go.snap index 00e56bfbe62..7b5bcf37025 100644 --- a/service/sfn/snapshot/api_op_CreateStateMachine.go.snap +++ b/service/sfn/snapshot/api_op_CreateStateMachine.go.snap @@ -14,7 +14,6 @@ CreateStateMachine Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_CreateStateMachineAlias.go.snap b/service/sfn/snapshot/api_op_CreateStateMachineAlias.go.snap index 6cc9376dea8..8497353f2b6 100644 --- a/service/sfn/snapshot/api_op_CreateStateMachineAlias.go.snap +++ b/service/sfn/snapshot/api_op_CreateStateMachineAlias.go.snap @@ -14,7 +14,6 @@ CreateStateMachineAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_DeleteActivity.go.snap b/service/sfn/snapshot/api_op_DeleteActivity.go.snap index 40e4bf52abc..2fbbe52d188 100644 --- a/service/sfn/snapshot/api_op_DeleteActivity.go.snap +++ b/service/sfn/snapshot/api_op_DeleteActivity.go.snap @@ -14,7 +14,6 @@ DeleteActivity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_DeleteStateMachine.go.snap b/service/sfn/snapshot/api_op_DeleteStateMachine.go.snap index a8884bee3de..4409ad9778d 100644 --- a/service/sfn/snapshot/api_op_DeleteStateMachine.go.snap +++ b/service/sfn/snapshot/api_op_DeleteStateMachine.go.snap @@ -14,7 +14,6 @@ DeleteStateMachine Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_DeleteStateMachineAlias.go.snap b/service/sfn/snapshot/api_op_DeleteStateMachineAlias.go.snap index d5e496263f6..7d4a456c788 100644 --- a/service/sfn/snapshot/api_op_DeleteStateMachineAlias.go.snap +++ b/service/sfn/snapshot/api_op_DeleteStateMachineAlias.go.snap @@ -14,7 +14,6 @@ DeleteStateMachineAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_DeleteStateMachineVersion.go.snap b/service/sfn/snapshot/api_op_DeleteStateMachineVersion.go.snap index fd83c257583..e32dcbf2130 100644 --- a/service/sfn/snapshot/api_op_DeleteStateMachineVersion.go.snap +++ b/service/sfn/snapshot/api_op_DeleteStateMachineVersion.go.snap @@ -14,7 +14,6 @@ DeleteStateMachineVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_DescribeActivity.go.snap b/service/sfn/snapshot/api_op_DescribeActivity.go.snap index 63c01589558..1504e567886 100644 --- a/service/sfn/snapshot/api_op_DescribeActivity.go.snap +++ b/service/sfn/snapshot/api_op_DescribeActivity.go.snap @@ -14,7 +14,6 @@ DescribeActivity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_DescribeExecution.go.snap b/service/sfn/snapshot/api_op_DescribeExecution.go.snap index 51e9091dbc6..72aecabf629 100644 --- a/service/sfn/snapshot/api_op_DescribeExecution.go.snap +++ b/service/sfn/snapshot/api_op_DescribeExecution.go.snap @@ -14,7 +14,6 @@ DescribeExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_DescribeMapRun.go.snap b/service/sfn/snapshot/api_op_DescribeMapRun.go.snap index b26ed1b5a07..ee79264ec28 100644 --- a/service/sfn/snapshot/api_op_DescribeMapRun.go.snap +++ b/service/sfn/snapshot/api_op_DescribeMapRun.go.snap @@ -14,7 +14,6 @@ DescribeMapRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_DescribeStateMachine.go.snap b/service/sfn/snapshot/api_op_DescribeStateMachine.go.snap index aea0a633146..200358f2f03 100644 --- a/service/sfn/snapshot/api_op_DescribeStateMachine.go.snap +++ b/service/sfn/snapshot/api_op_DescribeStateMachine.go.snap @@ -14,7 +14,6 @@ DescribeStateMachine Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_DescribeStateMachineAlias.go.snap b/service/sfn/snapshot/api_op_DescribeStateMachineAlias.go.snap index efedb1e91ab..49e2a4d70cc 100644 --- a/service/sfn/snapshot/api_op_DescribeStateMachineAlias.go.snap +++ b/service/sfn/snapshot/api_op_DescribeStateMachineAlias.go.snap @@ -14,7 +14,6 @@ DescribeStateMachineAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_DescribeStateMachineForExecution.go.snap b/service/sfn/snapshot/api_op_DescribeStateMachineForExecution.go.snap index f485d6053b0..61970e4c26a 100644 --- a/service/sfn/snapshot/api_op_DescribeStateMachineForExecution.go.snap +++ b/service/sfn/snapshot/api_op_DescribeStateMachineForExecution.go.snap @@ -14,7 +14,6 @@ DescribeStateMachineForExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_GetActivityTask.go.snap b/service/sfn/snapshot/api_op_GetActivityTask.go.snap index f4ad78a806f..8cb8d6b03c7 100644 --- a/service/sfn/snapshot/api_op_GetActivityTask.go.snap +++ b/service/sfn/snapshot/api_op_GetActivityTask.go.snap @@ -14,7 +14,6 @@ GetActivityTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_GetExecutionHistory.go.snap b/service/sfn/snapshot/api_op_GetExecutionHistory.go.snap index 1734e079ec8..1224d0e0e23 100644 --- a/service/sfn/snapshot/api_op_GetExecutionHistory.go.snap +++ b/service/sfn/snapshot/api_op_GetExecutionHistory.go.snap @@ -14,7 +14,6 @@ GetExecutionHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_ListActivities.go.snap b/service/sfn/snapshot/api_op_ListActivities.go.snap index 49dfb30369b..d26302fd907 100644 --- a/service/sfn/snapshot/api_op_ListActivities.go.snap +++ b/service/sfn/snapshot/api_op_ListActivities.go.snap @@ -13,7 +13,6 @@ ListActivities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_ListExecutions.go.snap b/service/sfn/snapshot/api_op_ListExecutions.go.snap index ed0690e7451..d221e8cf9da 100644 --- a/service/sfn/snapshot/api_op_ListExecutions.go.snap +++ b/service/sfn/snapshot/api_op_ListExecutions.go.snap @@ -13,7 +13,6 @@ ListExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_ListMapRuns.go.snap b/service/sfn/snapshot/api_op_ListMapRuns.go.snap index 7f200c09592..3eae7bf8912 100644 --- a/service/sfn/snapshot/api_op_ListMapRuns.go.snap +++ b/service/sfn/snapshot/api_op_ListMapRuns.go.snap @@ -14,7 +14,6 @@ ListMapRuns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_ListStateMachineAliases.go.snap b/service/sfn/snapshot/api_op_ListStateMachineAliases.go.snap index 1dfacd8637a..db8f3bb4b85 100644 --- a/service/sfn/snapshot/api_op_ListStateMachineAliases.go.snap +++ b/service/sfn/snapshot/api_op_ListStateMachineAliases.go.snap @@ -14,7 +14,6 @@ ListStateMachineAliases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_ListStateMachineVersions.go.snap b/service/sfn/snapshot/api_op_ListStateMachineVersions.go.snap index 04399151b82..28e135ce835 100644 --- a/service/sfn/snapshot/api_op_ListStateMachineVersions.go.snap +++ b/service/sfn/snapshot/api_op_ListStateMachineVersions.go.snap @@ -14,7 +14,6 @@ ListStateMachineVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_ListStateMachines.go.snap b/service/sfn/snapshot/api_op_ListStateMachines.go.snap index b6f7fd8f9bc..da0e1f21364 100644 --- a/service/sfn/snapshot/api_op_ListStateMachines.go.snap +++ b/service/sfn/snapshot/api_op_ListStateMachines.go.snap @@ -13,7 +13,6 @@ ListStateMachines Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_ListTagsForResource.go.snap b/service/sfn/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/sfn/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/sfn/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_PublishStateMachineVersion.go.snap b/service/sfn/snapshot/api_op_PublishStateMachineVersion.go.snap index 6552b55e6fc..d98033d25ad 100644 --- a/service/sfn/snapshot/api_op_PublishStateMachineVersion.go.snap +++ b/service/sfn/snapshot/api_op_PublishStateMachineVersion.go.snap @@ -14,7 +14,6 @@ PublishStateMachineVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_RedriveExecution.go.snap b/service/sfn/snapshot/api_op_RedriveExecution.go.snap index bfebf8bca0f..fecdfca1813 100644 --- a/service/sfn/snapshot/api_op_RedriveExecution.go.snap +++ b/service/sfn/snapshot/api_op_RedriveExecution.go.snap @@ -15,7 +15,6 @@ RedriveExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_SendTaskFailure.go.snap b/service/sfn/snapshot/api_op_SendTaskFailure.go.snap index 87cdb5364be..64b1f6eb2e7 100644 --- a/service/sfn/snapshot/api_op_SendTaskFailure.go.snap +++ b/service/sfn/snapshot/api_op_SendTaskFailure.go.snap @@ -14,7 +14,6 @@ SendTaskFailure Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_SendTaskHeartbeat.go.snap b/service/sfn/snapshot/api_op_SendTaskHeartbeat.go.snap index 4c7e2d8b1a2..250dfc61cc8 100644 --- a/service/sfn/snapshot/api_op_SendTaskHeartbeat.go.snap +++ b/service/sfn/snapshot/api_op_SendTaskHeartbeat.go.snap @@ -14,7 +14,6 @@ SendTaskHeartbeat Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_SendTaskSuccess.go.snap b/service/sfn/snapshot/api_op_SendTaskSuccess.go.snap index 97437e79e88..7c3500f7dea 100644 --- a/service/sfn/snapshot/api_op_SendTaskSuccess.go.snap +++ b/service/sfn/snapshot/api_op_SendTaskSuccess.go.snap @@ -14,7 +14,6 @@ SendTaskSuccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_StartExecution.go.snap b/service/sfn/snapshot/api_op_StartExecution.go.snap index 7f4ac13920c..de990dd20a9 100644 --- a/service/sfn/snapshot/api_op_StartExecution.go.snap +++ b/service/sfn/snapshot/api_op_StartExecution.go.snap @@ -14,7 +14,6 @@ StartExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_StartSyncExecution.go.snap b/service/sfn/snapshot/api_op_StartSyncExecution.go.snap index bc2c693250d..eb17a1f9f99 100644 --- a/service/sfn/snapshot/api_op_StartSyncExecution.go.snap +++ b/service/sfn/snapshot/api_op_StartSyncExecution.go.snap @@ -14,7 +14,6 @@ StartSyncExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_StopExecution.go.snap b/service/sfn/snapshot/api_op_StopExecution.go.snap index 79bd771511f..dec2f1e4d00 100644 --- a/service/sfn/snapshot/api_op_StopExecution.go.snap +++ b/service/sfn/snapshot/api_op_StopExecution.go.snap @@ -14,7 +14,6 @@ StopExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_TagResource.go.snap b/service/sfn/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/sfn/snapshot/api_op_TagResource.go.snap +++ b/service/sfn/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_TestState.go.snap b/service/sfn/snapshot/api_op_TestState.go.snap index 9369400e547..cff9aec3bfb 100644 --- a/service/sfn/snapshot/api_op_TestState.go.snap +++ b/service/sfn/snapshot/api_op_TestState.go.snap @@ -14,7 +14,6 @@ TestState Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_UntagResource.go.snap b/service/sfn/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/sfn/snapshot/api_op_UntagResource.go.snap +++ b/service/sfn/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_UpdateMapRun.go.snap b/service/sfn/snapshot/api_op_UpdateMapRun.go.snap index 9b43c45ad31..6f2b6159d35 100644 --- a/service/sfn/snapshot/api_op_UpdateMapRun.go.snap +++ b/service/sfn/snapshot/api_op_UpdateMapRun.go.snap @@ -14,7 +14,6 @@ UpdateMapRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_UpdateStateMachine.go.snap b/service/sfn/snapshot/api_op_UpdateStateMachine.go.snap index a7ad366cb6f..4b5ad0996e8 100644 --- a/service/sfn/snapshot/api_op_UpdateStateMachine.go.snap +++ b/service/sfn/snapshot/api_op_UpdateStateMachine.go.snap @@ -14,7 +14,6 @@ UpdateStateMachine Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_UpdateStateMachineAlias.go.snap b/service/sfn/snapshot/api_op_UpdateStateMachineAlias.go.snap index 6894a5d4fd0..6955efe12fd 100644 --- a/service/sfn/snapshot/api_op_UpdateStateMachineAlias.go.snap +++ b/service/sfn/snapshot/api_op_UpdateStateMachineAlias.go.snap @@ -14,7 +14,6 @@ UpdateStateMachineAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sfn/snapshot/api_op_ValidateStateMachineDefinition.go.snap b/service/sfn/snapshot/api_op_ValidateStateMachineDefinition.go.snap index 2e8e63d6c4a..14069ad8e77 100644 --- a/service/sfn/snapshot/api_op_ValidateStateMachineDefinition.go.snap +++ b/service/sfn/snapshot/api_op_ValidateStateMachineDefinition.go.snap @@ -14,7 +14,6 @@ ValidateStateMachineDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/api_client.go b/service/shield/api_client.go index 27559944dc2..b2c17e1551c 100644 --- a/service/shield/api_client.go +++ b/service/shield/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/shield/api_op_AssociateDRTLogBucket.go b/service/shield/api_op_AssociateDRTLogBucket.go index bfb66b21b2b..d60edf1116f 100644 --- a/service/shield/api_op_AssociateDRTLogBucket.go +++ b/service/shield/api_op_AssociateDRTLogBucket.go @@ -116,9 +116,6 @@ func (c *Client) addOperationAssociateDRTLogBucketMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateDRTLogBucketValidationMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_AssociateDRTRole.go b/service/shield/api_op_AssociateDRTRole.go index a94a2f0260d..0e4ccefc2cf 100644 --- a/service/shield/api_op_AssociateDRTRole.go +++ b/service/shield/api_op_AssociateDRTRole.go @@ -145,9 +145,6 @@ func (c *Client) addOperationAssociateDRTRoleMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateDRTRoleValidationMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_AssociateHealthCheck.go b/service/shield/api_op_AssociateHealthCheck.go index 6c05f57f6eb..b429e6f250f 100644 --- a/service/shield/api_op_AssociateHealthCheck.go +++ b/service/shield/api_op_AssociateHealthCheck.go @@ -122,9 +122,6 @@ func (c *Client) addOperationAssociateHealthCheckMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateHealthCheckValidationMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_AssociateProactiveEngagementDetails.go b/service/shield/api_op_AssociateProactiveEngagementDetails.go index f85a8ac24a8..ca4b9e56bd3 100644 --- a/service/shield/api_op_AssociateProactiveEngagementDetails.go +++ b/service/shield/api_op_AssociateProactiveEngagementDetails.go @@ -132,9 +132,6 @@ func (c *Client) addOperationAssociateProactiveEngagementDetailsMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateProactiveEngagementDetailsValidationMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_CreateProtection.go b/service/shield/api_op_CreateProtection.go index 7c1e0844c65..1506219b56f 100644 --- a/service/shield/api_op_CreateProtection.go +++ b/service/shield/api_op_CreateProtection.go @@ -152,9 +152,6 @@ func (c *Client) addOperationCreateProtectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateProtectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_CreateProtectionGroup.go b/service/shield/api_op_CreateProtectionGroup.go index 4c95de41cf6..0e2f503e44a 100644 --- a/service/shield/api_op_CreateProtectionGroup.go +++ b/service/shield/api_op_CreateProtectionGroup.go @@ -154,9 +154,6 @@ func (c *Client) addOperationCreateProtectionGroupMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateProtectionGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_CreateSubscription.go b/service/shield/api_op_CreateSubscription.go index 55fe4212aa7..1e01afff04b 100644 --- a/service/shield/api_op_CreateSubscription.go +++ b/service/shield/api_op_CreateSubscription.go @@ -109,9 +109,6 @@ func (c *Client) addOperationCreateSubscriptionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSubscription(options.Region), middleware.Before); err != nil { return err } diff --git a/service/shield/api_op_DeleteProtection.go b/service/shield/api_op_DeleteProtection.go index 8b8eb7bf712..38febd9bd17 100644 --- a/service/shield/api_op_DeleteProtection.go +++ b/service/shield/api_op_DeleteProtection.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteProtectionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProtectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_DeleteProtectionGroup.go b/service/shield/api_op_DeleteProtectionGroup.go index 21f1ee3b106..9d7f7e3b295 100644 --- a/service/shield/api_op_DeleteProtectionGroup.go +++ b/service/shield/api_op_DeleteProtectionGroup.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteProtectionGroupMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProtectionGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_DeleteSubscription.go b/service/shield/api_op_DeleteSubscription.go index 04b740ef20d..92a7c70b26e 100644 --- a/service/shield/api_op_DeleteSubscription.go +++ b/service/shield/api_op_DeleteSubscription.go @@ -105,9 +105,6 @@ func (c *Client) addOperationDeleteSubscriptionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSubscription(options.Region), middleware.Before); err != nil { return err } diff --git a/service/shield/api_op_DescribeAttack.go b/service/shield/api_op_DescribeAttack.go index 420eab4636d..0c847ecc0f4 100644 --- a/service/shield/api_op_DescribeAttack.go +++ b/service/shield/api_op_DescribeAttack.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDescribeAttackMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAttackValidationMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_DescribeAttackStatistics.go b/service/shield/api_op_DescribeAttackStatistics.go index 2f43f415993..e07ccc1e403 100644 --- a/service/shield/api_op_DescribeAttackStatistics.go +++ b/service/shield/api_op_DescribeAttackStatistics.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeAttackStatisticsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAttackStatistics(options.Region), middleware.Before); err != nil { return err } diff --git a/service/shield/api_op_DescribeDRTAccess.go b/service/shield/api_op_DescribeDRTAccess.go index fdd07b84ea5..cd2b92b42fb 100644 --- a/service/shield/api_op_DescribeDRTAccess.go +++ b/service/shield/api_op_DescribeDRTAccess.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDescribeDRTAccessMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeDRTAccess(options.Region), middleware.Before); err != nil { return err } diff --git a/service/shield/api_op_DescribeEmergencyContactSettings.go b/service/shield/api_op_DescribeEmergencyContactSettings.go index 6fe2ebb814b..1485602cb39 100644 --- a/service/shield/api_op_DescribeEmergencyContactSettings.go +++ b/service/shield/api_op_DescribeEmergencyContactSettings.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDescribeEmergencyContactSettingsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEmergencyContactSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/shield/api_op_DescribeProtection.go b/service/shield/api_op_DescribeProtection.go index f270dbf66e9..0ec1ad0a0da 100644 --- a/service/shield/api_op_DescribeProtection.go +++ b/service/shield/api_op_DescribeProtection.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDescribeProtectionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProtection(options.Region), middleware.Before); err != nil { return err } diff --git a/service/shield/api_op_DescribeProtectionGroup.go b/service/shield/api_op_DescribeProtectionGroup.go index 854544028fd..64727596d6c 100644 --- a/service/shield/api_op_DescribeProtectionGroup.go +++ b/service/shield/api_op_DescribeProtectionGroup.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDescribeProtectionGroupMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeProtectionGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_DescribeSubscription.go b/service/shield/api_op_DescribeSubscription.go index d346a4beaa4..960b5104cd3 100644 --- a/service/shield/api_op_DescribeSubscription.go +++ b/service/shield/api_op_DescribeSubscription.go @@ -106,9 +106,6 @@ func (c *Client) addOperationDescribeSubscriptionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSubscription(options.Region), middleware.Before); err != nil { return err } diff --git a/service/shield/api_op_DisableApplicationLayerAutomaticResponse.go b/service/shield/api_op_DisableApplicationLayerAutomaticResponse.go index 0881b7f85da..8740c681f11 100644 --- a/service/shield/api_op_DisableApplicationLayerAutomaticResponse.go +++ b/service/shield/api_op_DisableApplicationLayerAutomaticResponse.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDisableApplicationLayerAutomaticResponseMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableApplicationLayerAutomaticResponseValidationMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_DisableProactiveEngagement.go b/service/shield/api_op_DisableProactiveEngagement.go index e7cf8b737d1..ac05013b25d 100644 --- a/service/shield/api_op_DisableProactiveEngagement.go +++ b/service/shield/api_op_DisableProactiveEngagement.go @@ -102,9 +102,6 @@ func (c *Client) addOperationDisableProactiveEngagementMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisableProactiveEngagement(options.Region), middleware.Before); err != nil { return err } diff --git a/service/shield/api_op_DisassociateDRTLogBucket.go b/service/shield/api_op_DisassociateDRTLogBucket.go index 8be45a4b69b..f814a4a5eaa 100644 --- a/service/shield/api_op_DisassociateDRTLogBucket.go +++ b/service/shield/api_op_DisassociateDRTLogBucket.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDisassociateDRTLogBucketMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateDRTLogBucketValidationMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_DisassociateDRTRole.go b/service/shield/api_op_DisassociateDRTRole.go index e9550988bd3..e519107d20a 100644 --- a/service/shield/api_op_DisassociateDRTRole.go +++ b/service/shield/api_op_DisassociateDRTRole.go @@ -102,9 +102,6 @@ func (c *Client) addOperationDisassociateDRTRoleMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateDRTRole(options.Region), middleware.Before); err != nil { return err } diff --git a/service/shield/api_op_DisassociateHealthCheck.go b/service/shield/api_op_DisassociateHealthCheck.go index 58e5e94081b..f18071f856e 100644 --- a/service/shield/api_op_DisassociateHealthCheck.go +++ b/service/shield/api_op_DisassociateHealthCheck.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDisassociateHealthCheckMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateHealthCheckValidationMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_EnableApplicationLayerAutomaticResponse.go b/service/shield/api_op_EnableApplicationLayerAutomaticResponse.go index a3eb93db810..d36abeadc75 100644 --- a/service/shield/api_op_EnableApplicationLayerAutomaticResponse.go +++ b/service/shield/api_op_EnableApplicationLayerAutomaticResponse.go @@ -143,9 +143,6 @@ func (c *Client) addOperationEnableApplicationLayerAutomaticResponseMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEnableApplicationLayerAutomaticResponseValidationMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_EnableProactiveEngagement.go b/service/shield/api_op_EnableProactiveEngagement.go index 739efd3827e..7057c32103d 100644 --- a/service/shield/api_op_EnableProactiveEngagement.go +++ b/service/shield/api_op_EnableProactiveEngagement.go @@ -103,9 +103,6 @@ func (c *Client) addOperationEnableProactiveEngagementMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opEnableProactiveEngagement(options.Region), middleware.Before); err != nil { return err } diff --git a/service/shield/api_op_GetSubscriptionState.go b/service/shield/api_op_GetSubscriptionState.go index 2956960b155..485dfc68783 100644 --- a/service/shield/api_op_GetSubscriptionState.go +++ b/service/shield/api_op_GetSubscriptionState.go @@ -108,9 +108,6 @@ func (c *Client) addOperationGetSubscriptionStateMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSubscriptionState(options.Region), middleware.Before); err != nil { return err } diff --git a/service/shield/api_op_ListAttacks.go b/service/shield/api_op_ListAttacks.go index 337446ace27..a014c847a05 100644 --- a/service/shield/api_op_ListAttacks.go +++ b/service/shield/api_op_ListAttacks.go @@ -167,9 +167,6 @@ func (c *Client) addOperationListAttacksMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAttacks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/shield/api_op_ListProtectionGroups.go b/service/shield/api_op_ListProtectionGroups.go index 0433c58e0fe..3dbfaa0464a 100644 --- a/service/shield/api_op_ListProtectionGroups.go +++ b/service/shield/api_op_ListProtectionGroups.go @@ -160,9 +160,6 @@ func (c *Client) addOperationListProtectionGroupsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProtectionGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/shield/api_op_ListProtections.go b/service/shield/api_op_ListProtections.go index cae324905f3..5e3d7e18eb7 100644 --- a/service/shield/api_op_ListProtections.go +++ b/service/shield/api_op_ListProtections.go @@ -158,9 +158,6 @@ func (c *Client) addOperationListProtectionsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProtections(options.Region), middleware.Before); err != nil { return err } diff --git a/service/shield/api_op_ListResourcesInProtectionGroup.go b/service/shield/api_op_ListResourcesInProtectionGroup.go index 64b83925579..1508f5c7a54 100644 --- a/service/shield/api_op_ListResourcesInProtectionGroup.go +++ b/service/shield/api_op_ListResourcesInProtectionGroup.go @@ -157,9 +157,6 @@ func (c *Client) addOperationListResourcesInProtectionGroupMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListResourcesInProtectionGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_ListTagsForResource.go b/service/shield/api_op_ListTagsForResource.go index bc3e903add6..82b6d650525 100644 --- a/service/shield/api_op_ListTagsForResource.go +++ b/service/shield/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_TagResource.go b/service/shield/api_op_TagResource.go index 979639d3639..60b05a037ee 100644 --- a/service/shield/api_op_TagResource.go +++ b/service/shield/api_op_TagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_UntagResource.go b/service/shield/api_op_UntagResource.go index d542b1aa3b2..5b01ef66874 100644 --- a/service/shield/api_op_UntagResource.go +++ b/service/shield/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_UpdateApplicationLayerAutomaticResponse.go b/service/shield/api_op_UpdateApplicationLayerAutomaticResponse.go index 3feb5e6d72f..5e89c13f676 100644 --- a/service/shield/api_op_UpdateApplicationLayerAutomaticResponse.go +++ b/service/shield/api_op_UpdateApplicationLayerAutomaticResponse.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateApplicationLayerAutomaticResponseMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApplicationLayerAutomaticResponseValidationMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_UpdateEmergencyContactSettings.go b/service/shield/api_op_UpdateEmergencyContactSettings.go index 1d20bc840fb..d087df1fe86 100644 --- a/service/shield/api_op_UpdateEmergencyContactSettings.go +++ b/service/shield/api_op_UpdateEmergencyContactSettings.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUpdateEmergencyContactSettingsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateEmergencyContactSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_UpdateProtectionGroup.go b/service/shield/api_op_UpdateProtectionGroup.go index 917122be240..e029853d72d 100644 --- a/service/shield/api_op_UpdateProtectionGroup.go +++ b/service/shield/api_op_UpdateProtectionGroup.go @@ -150,9 +150,6 @@ func (c *Client) addOperationUpdateProtectionGroupMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateProtectionGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/shield/api_op_UpdateSubscription.go b/service/shield/api_op_UpdateSubscription.go index 6aef078a809..86a04a7074a 100644 --- a/service/shield/api_op_UpdateSubscription.go +++ b/service/shield/api_op_UpdateSubscription.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUpdateSubscriptionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateSubscription(options.Region), middleware.Before); err != nil { return err } diff --git a/service/shield/snapshot/api_op_AssociateDRTLogBucket.go.snap b/service/shield/snapshot/api_op_AssociateDRTLogBucket.go.snap index bf3b7fe3dfd..e0fae68d4d6 100644 --- a/service/shield/snapshot/api_op_AssociateDRTLogBucket.go.snap +++ b/service/shield/snapshot/api_op_AssociateDRTLogBucket.go.snap @@ -14,7 +14,6 @@ AssociateDRTLogBucket Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_AssociateDRTRole.go.snap b/service/shield/snapshot/api_op_AssociateDRTRole.go.snap index 59873c5f08c..a377ed71a65 100644 --- a/service/shield/snapshot/api_op_AssociateDRTRole.go.snap +++ b/service/shield/snapshot/api_op_AssociateDRTRole.go.snap @@ -14,7 +14,6 @@ AssociateDRTRole Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_AssociateHealthCheck.go.snap b/service/shield/snapshot/api_op_AssociateHealthCheck.go.snap index 4792b2e8e9a..d85a9c20cdf 100644 --- a/service/shield/snapshot/api_op_AssociateHealthCheck.go.snap +++ b/service/shield/snapshot/api_op_AssociateHealthCheck.go.snap @@ -14,7 +14,6 @@ AssociateHealthCheck Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_AssociateProactiveEngagementDetails.go.snap b/service/shield/snapshot/api_op_AssociateProactiveEngagementDetails.go.snap index 86ceedaf77c..3e16039cec5 100644 --- a/service/shield/snapshot/api_op_AssociateProactiveEngagementDetails.go.snap +++ b/service/shield/snapshot/api_op_AssociateProactiveEngagementDetails.go.snap @@ -14,7 +14,6 @@ AssociateProactiveEngagementDetails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_CreateProtection.go.snap b/service/shield/snapshot/api_op_CreateProtection.go.snap index 85f6a82c0c1..7891aaaa680 100644 --- a/service/shield/snapshot/api_op_CreateProtection.go.snap +++ b/service/shield/snapshot/api_op_CreateProtection.go.snap @@ -14,7 +14,6 @@ CreateProtection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_CreateProtectionGroup.go.snap b/service/shield/snapshot/api_op_CreateProtectionGroup.go.snap index 41dff064a1b..245829e49f3 100644 --- a/service/shield/snapshot/api_op_CreateProtectionGroup.go.snap +++ b/service/shield/snapshot/api_op_CreateProtectionGroup.go.snap @@ -14,7 +14,6 @@ CreateProtectionGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_CreateSubscription.go.snap b/service/shield/snapshot/api_op_CreateSubscription.go.snap index 765563c8174..20f7bb76cd3 100644 --- a/service/shield/snapshot/api_op_CreateSubscription.go.snap +++ b/service/shield/snapshot/api_op_CreateSubscription.go.snap @@ -13,7 +13,6 @@ CreateSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_DeleteProtection.go.snap b/service/shield/snapshot/api_op_DeleteProtection.go.snap index d481345b4bb..5883da20e10 100644 --- a/service/shield/snapshot/api_op_DeleteProtection.go.snap +++ b/service/shield/snapshot/api_op_DeleteProtection.go.snap @@ -14,7 +14,6 @@ DeleteProtection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_DeleteProtectionGroup.go.snap b/service/shield/snapshot/api_op_DeleteProtectionGroup.go.snap index 5cfef46b852..9079d6e7ccf 100644 --- a/service/shield/snapshot/api_op_DeleteProtectionGroup.go.snap +++ b/service/shield/snapshot/api_op_DeleteProtectionGroup.go.snap @@ -14,7 +14,6 @@ DeleteProtectionGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_DeleteSubscription.go.snap b/service/shield/snapshot/api_op_DeleteSubscription.go.snap index 81dd60cdda3..7ed4590693c 100644 --- a/service/shield/snapshot/api_op_DeleteSubscription.go.snap +++ b/service/shield/snapshot/api_op_DeleteSubscription.go.snap @@ -13,7 +13,6 @@ DeleteSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_DescribeAttack.go.snap b/service/shield/snapshot/api_op_DescribeAttack.go.snap index 99aa385f48f..fb848f07696 100644 --- a/service/shield/snapshot/api_op_DescribeAttack.go.snap +++ b/service/shield/snapshot/api_op_DescribeAttack.go.snap @@ -14,7 +14,6 @@ DescribeAttack Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_DescribeAttackStatistics.go.snap b/service/shield/snapshot/api_op_DescribeAttackStatistics.go.snap index 3075040558b..0d5ddfedb64 100644 --- a/service/shield/snapshot/api_op_DescribeAttackStatistics.go.snap +++ b/service/shield/snapshot/api_op_DescribeAttackStatistics.go.snap @@ -13,7 +13,6 @@ DescribeAttackStatistics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_DescribeDRTAccess.go.snap b/service/shield/snapshot/api_op_DescribeDRTAccess.go.snap index 9e307283052..349698c4f55 100644 --- a/service/shield/snapshot/api_op_DescribeDRTAccess.go.snap +++ b/service/shield/snapshot/api_op_DescribeDRTAccess.go.snap @@ -13,7 +13,6 @@ DescribeDRTAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_DescribeEmergencyContactSettings.go.snap b/service/shield/snapshot/api_op_DescribeEmergencyContactSettings.go.snap index 612b2a8e4e1..fce99081175 100644 --- a/service/shield/snapshot/api_op_DescribeEmergencyContactSettings.go.snap +++ b/service/shield/snapshot/api_op_DescribeEmergencyContactSettings.go.snap @@ -13,7 +13,6 @@ DescribeEmergencyContactSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_DescribeProtection.go.snap b/service/shield/snapshot/api_op_DescribeProtection.go.snap index 0eabd12fe75..d9cd8cb09a3 100644 --- a/service/shield/snapshot/api_op_DescribeProtection.go.snap +++ b/service/shield/snapshot/api_op_DescribeProtection.go.snap @@ -13,7 +13,6 @@ DescribeProtection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_DescribeProtectionGroup.go.snap b/service/shield/snapshot/api_op_DescribeProtectionGroup.go.snap index f24b28dda84..fb2ab4e0718 100644 --- a/service/shield/snapshot/api_op_DescribeProtectionGroup.go.snap +++ b/service/shield/snapshot/api_op_DescribeProtectionGroup.go.snap @@ -14,7 +14,6 @@ DescribeProtectionGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_DescribeSubscription.go.snap b/service/shield/snapshot/api_op_DescribeSubscription.go.snap index 7b507d2f168..7aaf68e269b 100644 --- a/service/shield/snapshot/api_op_DescribeSubscription.go.snap +++ b/service/shield/snapshot/api_op_DescribeSubscription.go.snap @@ -13,7 +13,6 @@ DescribeSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_DisableApplicationLayerAutomaticResponse.go.snap b/service/shield/snapshot/api_op_DisableApplicationLayerAutomaticResponse.go.snap index 35c1718c3c5..149a534f986 100644 --- a/service/shield/snapshot/api_op_DisableApplicationLayerAutomaticResponse.go.snap +++ b/service/shield/snapshot/api_op_DisableApplicationLayerAutomaticResponse.go.snap @@ -14,7 +14,6 @@ DisableApplicationLayerAutomaticResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_DisableProactiveEngagement.go.snap b/service/shield/snapshot/api_op_DisableProactiveEngagement.go.snap index 27101323942..e4175b7dde6 100644 --- a/service/shield/snapshot/api_op_DisableProactiveEngagement.go.snap +++ b/service/shield/snapshot/api_op_DisableProactiveEngagement.go.snap @@ -13,7 +13,6 @@ DisableProactiveEngagement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_DisassociateDRTLogBucket.go.snap b/service/shield/snapshot/api_op_DisassociateDRTLogBucket.go.snap index 488afc2fc07..cbc75f6cad3 100644 --- a/service/shield/snapshot/api_op_DisassociateDRTLogBucket.go.snap +++ b/service/shield/snapshot/api_op_DisassociateDRTLogBucket.go.snap @@ -14,7 +14,6 @@ DisassociateDRTLogBucket Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_DisassociateDRTRole.go.snap b/service/shield/snapshot/api_op_DisassociateDRTRole.go.snap index c56e5a8de9a..42934551229 100644 --- a/service/shield/snapshot/api_op_DisassociateDRTRole.go.snap +++ b/service/shield/snapshot/api_op_DisassociateDRTRole.go.snap @@ -13,7 +13,6 @@ DisassociateDRTRole Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_DisassociateHealthCheck.go.snap b/service/shield/snapshot/api_op_DisassociateHealthCheck.go.snap index 67f62e7e8e2..44fa2128b36 100644 --- a/service/shield/snapshot/api_op_DisassociateHealthCheck.go.snap +++ b/service/shield/snapshot/api_op_DisassociateHealthCheck.go.snap @@ -14,7 +14,6 @@ DisassociateHealthCheck Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_EnableApplicationLayerAutomaticResponse.go.snap b/service/shield/snapshot/api_op_EnableApplicationLayerAutomaticResponse.go.snap index b10a51a1de7..2367e899afa 100644 --- a/service/shield/snapshot/api_op_EnableApplicationLayerAutomaticResponse.go.snap +++ b/service/shield/snapshot/api_op_EnableApplicationLayerAutomaticResponse.go.snap @@ -14,7 +14,6 @@ EnableApplicationLayerAutomaticResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_EnableProactiveEngagement.go.snap b/service/shield/snapshot/api_op_EnableProactiveEngagement.go.snap index e19e1dfc1a2..cfff02abe2e 100644 --- a/service/shield/snapshot/api_op_EnableProactiveEngagement.go.snap +++ b/service/shield/snapshot/api_op_EnableProactiveEngagement.go.snap @@ -13,7 +13,6 @@ EnableProactiveEngagement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_GetSubscriptionState.go.snap b/service/shield/snapshot/api_op_GetSubscriptionState.go.snap index 8da64ebeebe..c81d2e3f762 100644 --- a/service/shield/snapshot/api_op_GetSubscriptionState.go.snap +++ b/service/shield/snapshot/api_op_GetSubscriptionState.go.snap @@ -13,7 +13,6 @@ GetSubscriptionState Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_ListAttacks.go.snap b/service/shield/snapshot/api_op_ListAttacks.go.snap index f92f5782127..2ac183fa2de 100644 --- a/service/shield/snapshot/api_op_ListAttacks.go.snap +++ b/service/shield/snapshot/api_op_ListAttacks.go.snap @@ -13,7 +13,6 @@ ListAttacks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_ListProtectionGroups.go.snap b/service/shield/snapshot/api_op_ListProtectionGroups.go.snap index 102a13504eb..900330743bd 100644 --- a/service/shield/snapshot/api_op_ListProtectionGroups.go.snap +++ b/service/shield/snapshot/api_op_ListProtectionGroups.go.snap @@ -13,7 +13,6 @@ ListProtectionGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_ListProtections.go.snap b/service/shield/snapshot/api_op_ListProtections.go.snap index 2479920582e..a09be69fb5a 100644 --- a/service/shield/snapshot/api_op_ListProtections.go.snap +++ b/service/shield/snapshot/api_op_ListProtections.go.snap @@ -13,7 +13,6 @@ ListProtections Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_ListResourcesInProtectionGroup.go.snap b/service/shield/snapshot/api_op_ListResourcesInProtectionGroup.go.snap index 087951baf2e..9d810017551 100644 --- a/service/shield/snapshot/api_op_ListResourcesInProtectionGroup.go.snap +++ b/service/shield/snapshot/api_op_ListResourcesInProtectionGroup.go.snap @@ -14,7 +14,6 @@ ListResourcesInProtectionGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_ListTagsForResource.go.snap b/service/shield/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/shield/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/shield/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_TagResource.go.snap b/service/shield/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/shield/snapshot/api_op_TagResource.go.snap +++ b/service/shield/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_UntagResource.go.snap b/service/shield/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/shield/snapshot/api_op_UntagResource.go.snap +++ b/service/shield/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_UpdateApplicationLayerAutomaticResponse.go.snap b/service/shield/snapshot/api_op_UpdateApplicationLayerAutomaticResponse.go.snap index f6c34482145..c63f6a74893 100644 --- a/service/shield/snapshot/api_op_UpdateApplicationLayerAutomaticResponse.go.snap +++ b/service/shield/snapshot/api_op_UpdateApplicationLayerAutomaticResponse.go.snap @@ -14,7 +14,6 @@ UpdateApplicationLayerAutomaticResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_UpdateEmergencyContactSettings.go.snap b/service/shield/snapshot/api_op_UpdateEmergencyContactSettings.go.snap index a39575ffbae..38f9ecb8f39 100644 --- a/service/shield/snapshot/api_op_UpdateEmergencyContactSettings.go.snap +++ b/service/shield/snapshot/api_op_UpdateEmergencyContactSettings.go.snap @@ -14,7 +14,6 @@ UpdateEmergencyContactSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_UpdateProtectionGroup.go.snap b/service/shield/snapshot/api_op_UpdateProtectionGroup.go.snap index 0320205e93d..6d58866119f 100644 --- a/service/shield/snapshot/api_op_UpdateProtectionGroup.go.snap +++ b/service/shield/snapshot/api_op_UpdateProtectionGroup.go.snap @@ -14,7 +14,6 @@ UpdateProtectionGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/shield/snapshot/api_op_UpdateSubscription.go.snap b/service/shield/snapshot/api_op_UpdateSubscription.go.snap index 37634194ab6..327385b8bc7 100644 --- a/service/shield/snapshot/api_op_UpdateSubscription.go.snap +++ b/service/shield/snapshot/api_op_UpdateSubscription.go.snap @@ -13,7 +13,6 @@ UpdateSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/signer/api_client.go b/service/signer/api_client.go index a844b899f12..b4dd611c11c 100644 --- a/service/signer/api_client.go +++ b/service/signer/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/signer/api_op_AddProfilePermission.go b/service/signer/api_op_AddProfilePermission.go index b8108639e4d..ccbd1651dc9 100644 --- a/service/signer/api_op_AddProfilePermission.go +++ b/service/signer/api_op_AddProfilePermission.go @@ -150,9 +150,6 @@ func (c *Client) addOperationAddProfilePermissionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddProfilePermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/signer/api_op_CancelSigningProfile.go b/service/signer/api_op_CancelSigningProfile.go index 6b378f15a0d..a1e106aaa43 100644 --- a/service/signer/api_op_CancelSigningProfile.go +++ b/service/signer/api_op_CancelSigningProfile.go @@ -109,9 +109,6 @@ func (c *Client) addOperationCancelSigningProfileMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelSigningProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/signer/api_op_DescribeSigningJob.go b/service/signer/api_op_DescribeSigningJob.go index 45526738dbc..e7425296e1c 100644 --- a/service/signer/api_op_DescribeSigningJob.go +++ b/service/signer/api_op_DescribeSigningJob.go @@ -175,9 +175,6 @@ func (c *Client) addOperationDescribeSigningJobMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSigningJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/signer/api_op_GetRevocationStatus.go b/service/signer/api_op_GetRevocationStatus.go index b5f1d545dd1..9e6e76ca443 100644 --- a/service/signer/api_op_GetRevocationStatus.go +++ b/service/signer/api_op_GetRevocationStatus.go @@ -153,9 +153,6 @@ func (c *Client) addOperationGetRevocationStatusMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetRevocationStatusMiddleware(stack); err != nil { return err } diff --git a/service/signer/api_op_GetSigningPlatform.go b/service/signer/api_op_GetSigningPlatform.go index 7d40c715746..198f208292b 100644 --- a/service/signer/api_op_GetSigningPlatform.go +++ b/service/signer/api_op_GetSigningPlatform.go @@ -138,9 +138,6 @@ func (c *Client) addOperationGetSigningPlatformMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSigningPlatformValidationMiddleware(stack); err != nil { return err } diff --git a/service/signer/api_op_GetSigningProfile.go b/service/signer/api_op_GetSigningProfile.go index 7a42162d98b..2ef68fcc61b 100644 --- a/service/signer/api_op_GetSigningProfile.go +++ b/service/signer/api_op_GetSigningProfile.go @@ -157,9 +157,6 @@ func (c *Client) addOperationGetSigningProfileMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSigningProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/signer/api_op_ListProfilePermissions.go b/service/signer/api_op_ListProfilePermissions.go index c3515424b93..4f085ead28d 100644 --- a/service/signer/api_op_ListProfilePermissions.go +++ b/service/signer/api_op_ListProfilePermissions.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListProfilePermissionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListProfilePermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/signer/api_op_ListSigningJobs.go b/service/signer/api_op_ListSigningJobs.go index 72f4d6c7c0a..3e3076f43e9 100644 --- a/service/signer/api_op_ListSigningJobs.go +++ b/service/signer/api_op_ListSigningJobs.go @@ -153,9 +153,6 @@ func (c *Client) addOperationListSigningJobsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSigningJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/signer/api_op_ListSigningPlatforms.go b/service/signer/api_op_ListSigningPlatforms.go index 9073ec967c3..89f9c5b213e 100644 --- a/service/signer/api_op_ListSigningPlatforms.go +++ b/service/signer/api_op_ListSigningPlatforms.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListSigningPlatformsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSigningPlatforms(options.Region), middleware.Before); err != nil { return err } diff --git a/service/signer/api_op_ListSigningProfiles.go b/service/signer/api_op_ListSigningProfiles.go index f707fb56dc4..4a430741022 100644 --- a/service/signer/api_op_ListSigningProfiles.go +++ b/service/signer/api_op_ListSigningProfiles.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListSigningProfilesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSigningProfiles(options.Region), middleware.Before); err != nil { return err } diff --git a/service/signer/api_op_ListTagsForResource.go b/service/signer/api_op_ListTagsForResource.go index ce2558da841..9ebf0edc494 100644 --- a/service/signer/api_op_ListTagsForResource.go +++ b/service/signer/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/signer/api_op_PutSigningProfile.go b/service/signer/api_op_PutSigningProfile.go index 8e8b32926dd..c7dd395f5a6 100644 --- a/service/signer/api_op_PutSigningProfile.go +++ b/service/signer/api_op_PutSigningProfile.go @@ -144,9 +144,6 @@ func (c *Client) addOperationPutSigningProfileMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutSigningProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/signer/api_op_RemoveProfilePermission.go b/service/signer/api_op_RemoveProfilePermission.go index c8402e2d3ee..ec2d4afb712 100644 --- a/service/signer/api_op_RemoveProfilePermission.go +++ b/service/signer/api_op_RemoveProfilePermission.go @@ -121,9 +121,6 @@ func (c *Client) addOperationRemoveProfilePermissionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveProfilePermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/signer/api_op_RevokeSignature.go b/service/signer/api_op_RevokeSignature.go index 952c6fa6b93..08853c4188b 100644 --- a/service/signer/api_op_RevokeSignature.go +++ b/service/signer/api_op_RevokeSignature.go @@ -116,9 +116,6 @@ func (c *Client) addOperationRevokeSignatureMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRevokeSignatureValidationMiddleware(stack); err != nil { return err } diff --git a/service/signer/api_op_RevokeSigningProfile.go b/service/signer/api_op_RevokeSigningProfile.go index 0c7dde0e40c..a37382b74d6 100644 --- a/service/signer/api_op_RevokeSigningProfile.go +++ b/service/signer/api_op_RevokeSigningProfile.go @@ -127,9 +127,6 @@ func (c *Client) addOperationRevokeSigningProfileMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRevokeSigningProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/signer/api_op_SignPayload.go b/service/signer/api_op_SignPayload.go index 04d688a3a7e..b00bda0e4c4 100644 --- a/service/signer/api_op_SignPayload.go +++ b/service/signer/api_op_SignPayload.go @@ -134,9 +134,6 @@ func (c *Client) addOperationSignPayloadMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSignPayloadValidationMiddleware(stack); err != nil { return err } diff --git a/service/signer/api_op_StartSigningJob.go b/service/signer/api_op_StartSigningJob.go index 21e77d4931a..2b0eb0b8570 100644 --- a/service/signer/api_op_StartSigningJob.go +++ b/service/signer/api_op_StartSigningJob.go @@ -162,9 +162,6 @@ func (c *Client) addOperationStartSigningJobMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartSigningJobMiddleware(stack, options); err != nil { return err } diff --git a/service/signer/api_op_TagResource.go b/service/signer/api_op_TagResource.go index 9b2e6c311b0..dcec856aa01 100644 --- a/service/signer/api_op_TagResource.go +++ b/service/signer/api_op_TagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/signer/api_op_UntagResource.go b/service/signer/api_op_UntagResource.go index 81110af7726..fa325566cdc 100644 --- a/service/signer/api_op_UntagResource.go +++ b/service/signer/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/signer/snapshot/api_op_AddProfilePermission.go.snap b/service/signer/snapshot/api_op_AddProfilePermission.go.snap index e667f5b4404..be7fc9c352c 100644 --- a/service/signer/snapshot/api_op_AddProfilePermission.go.snap +++ b/service/signer/snapshot/api_op_AddProfilePermission.go.snap @@ -14,7 +14,6 @@ AddProfilePermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/signer/snapshot/api_op_CancelSigningProfile.go.snap b/service/signer/snapshot/api_op_CancelSigningProfile.go.snap index f9e2af910b6..7c2434391c9 100644 --- a/service/signer/snapshot/api_op_CancelSigningProfile.go.snap +++ b/service/signer/snapshot/api_op_CancelSigningProfile.go.snap @@ -14,7 +14,6 @@ CancelSigningProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/signer/snapshot/api_op_DescribeSigningJob.go.snap b/service/signer/snapshot/api_op_DescribeSigningJob.go.snap index 206ba0e99cd..a17f6df1511 100644 --- a/service/signer/snapshot/api_op_DescribeSigningJob.go.snap +++ b/service/signer/snapshot/api_op_DescribeSigningJob.go.snap @@ -14,7 +14,6 @@ DescribeSigningJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/signer/snapshot/api_op_GetRevocationStatus.go.snap b/service/signer/snapshot/api_op_GetRevocationStatus.go.snap index f4435ef9a8c..19d8f520a7b 100644 --- a/service/signer/snapshot/api_op_GetRevocationStatus.go.snap +++ b/service/signer/snapshot/api_op_GetRevocationStatus.go.snap @@ -14,7 +14,6 @@ GetRevocationStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/signer/snapshot/api_op_GetSigningPlatform.go.snap b/service/signer/snapshot/api_op_GetSigningPlatform.go.snap index 15f3ed3e73c..b9831847bba 100644 --- a/service/signer/snapshot/api_op_GetSigningPlatform.go.snap +++ b/service/signer/snapshot/api_op_GetSigningPlatform.go.snap @@ -14,7 +14,6 @@ GetSigningPlatform Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/signer/snapshot/api_op_GetSigningProfile.go.snap b/service/signer/snapshot/api_op_GetSigningProfile.go.snap index e88aa67875e..1419a2e9c5c 100644 --- a/service/signer/snapshot/api_op_GetSigningProfile.go.snap +++ b/service/signer/snapshot/api_op_GetSigningProfile.go.snap @@ -14,7 +14,6 @@ GetSigningProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/signer/snapshot/api_op_ListProfilePermissions.go.snap b/service/signer/snapshot/api_op_ListProfilePermissions.go.snap index 602c5eb79e0..c0e7f824589 100644 --- a/service/signer/snapshot/api_op_ListProfilePermissions.go.snap +++ b/service/signer/snapshot/api_op_ListProfilePermissions.go.snap @@ -14,7 +14,6 @@ ListProfilePermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/signer/snapshot/api_op_ListSigningJobs.go.snap b/service/signer/snapshot/api_op_ListSigningJobs.go.snap index 0789791fd12..4ae21d88bd4 100644 --- a/service/signer/snapshot/api_op_ListSigningJobs.go.snap +++ b/service/signer/snapshot/api_op_ListSigningJobs.go.snap @@ -13,7 +13,6 @@ ListSigningJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/signer/snapshot/api_op_ListSigningPlatforms.go.snap b/service/signer/snapshot/api_op_ListSigningPlatforms.go.snap index 928cb90da9e..5c1011bc5a2 100644 --- a/service/signer/snapshot/api_op_ListSigningPlatforms.go.snap +++ b/service/signer/snapshot/api_op_ListSigningPlatforms.go.snap @@ -13,7 +13,6 @@ ListSigningPlatforms Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/signer/snapshot/api_op_ListSigningProfiles.go.snap b/service/signer/snapshot/api_op_ListSigningProfiles.go.snap index 77cf0ba87a8..7e749429abe 100644 --- a/service/signer/snapshot/api_op_ListSigningProfiles.go.snap +++ b/service/signer/snapshot/api_op_ListSigningProfiles.go.snap @@ -13,7 +13,6 @@ ListSigningProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/signer/snapshot/api_op_ListTagsForResource.go.snap b/service/signer/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/signer/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/signer/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/signer/snapshot/api_op_PutSigningProfile.go.snap b/service/signer/snapshot/api_op_PutSigningProfile.go.snap index a5072b14484..ea3be19db7a 100644 --- a/service/signer/snapshot/api_op_PutSigningProfile.go.snap +++ b/service/signer/snapshot/api_op_PutSigningProfile.go.snap @@ -14,7 +14,6 @@ PutSigningProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/signer/snapshot/api_op_RemoveProfilePermission.go.snap b/service/signer/snapshot/api_op_RemoveProfilePermission.go.snap index a6266764649..2fd08453b56 100644 --- a/service/signer/snapshot/api_op_RemoveProfilePermission.go.snap +++ b/service/signer/snapshot/api_op_RemoveProfilePermission.go.snap @@ -14,7 +14,6 @@ RemoveProfilePermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/signer/snapshot/api_op_RevokeSignature.go.snap b/service/signer/snapshot/api_op_RevokeSignature.go.snap index 3b07e01c244..6df5e794135 100644 --- a/service/signer/snapshot/api_op_RevokeSignature.go.snap +++ b/service/signer/snapshot/api_op_RevokeSignature.go.snap @@ -14,7 +14,6 @@ RevokeSignature Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/signer/snapshot/api_op_RevokeSigningProfile.go.snap b/service/signer/snapshot/api_op_RevokeSigningProfile.go.snap index 71e3c36c6bf..e482339b821 100644 --- a/service/signer/snapshot/api_op_RevokeSigningProfile.go.snap +++ b/service/signer/snapshot/api_op_RevokeSigningProfile.go.snap @@ -14,7 +14,6 @@ RevokeSigningProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/signer/snapshot/api_op_SignPayload.go.snap b/service/signer/snapshot/api_op_SignPayload.go.snap index f19f82090b5..8ee7937636f 100644 --- a/service/signer/snapshot/api_op_SignPayload.go.snap +++ b/service/signer/snapshot/api_op_SignPayload.go.snap @@ -14,7 +14,6 @@ SignPayload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/signer/snapshot/api_op_StartSigningJob.go.snap b/service/signer/snapshot/api_op_StartSigningJob.go.snap index a456ffb7d1f..071723dddef 100644 --- a/service/signer/snapshot/api_op_StartSigningJob.go.snap +++ b/service/signer/snapshot/api_op_StartSigningJob.go.snap @@ -15,7 +15,6 @@ StartSigningJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/signer/snapshot/api_op_TagResource.go.snap b/service/signer/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/signer/snapshot/api_op_TagResource.go.snap +++ b/service/signer/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/signer/snapshot/api_op_UntagResource.go.snap b/service/signer/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/signer/snapshot/api_op_UntagResource.go.snap +++ b/service/signer/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/simspaceweaver/api_client.go b/service/simspaceweaver/api_client.go index 8f8310c8107..ff042c14859 100644 --- a/service/simspaceweaver/api_client.go +++ b/service/simspaceweaver/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/simspaceweaver/api_op_CreateSnapshot.go b/service/simspaceweaver/api_op_CreateSnapshot.go index 50adf2b543c..10d21b6859a 100644 --- a/service/simspaceweaver/api_op_CreateSnapshot.go +++ b/service/simspaceweaver/api_op_CreateSnapshot.go @@ -145,9 +145,6 @@ func (c *Client) addOperationCreateSnapshotMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/simspaceweaver/api_op_DeleteApp.go b/service/simspaceweaver/api_op_DeleteApp.go index 2bfc331bc95..5d6fd52ff0a 100644 --- a/service/simspaceweaver/api_op_DeleteApp.go +++ b/service/simspaceweaver/api_op_DeleteApp.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteAppMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAppValidationMiddleware(stack); err != nil { return err } diff --git a/service/simspaceweaver/api_op_DeleteSimulation.go b/service/simspaceweaver/api_op_DeleteSimulation.go index 1cf0d4d596e..6ab29f110db 100644 --- a/service/simspaceweaver/api_op_DeleteSimulation.go +++ b/service/simspaceweaver/api_op_DeleteSimulation.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteSimulationMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSimulationValidationMiddleware(stack); err != nil { return err } diff --git a/service/simspaceweaver/api_op_DescribeApp.go b/service/simspaceweaver/api_op_DescribeApp.go index 77976f0d46e..0f71751fcdc 100644 --- a/service/simspaceweaver/api_op_DescribeApp.go +++ b/service/simspaceweaver/api_op_DescribeApp.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDescribeAppMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAppValidationMiddleware(stack); err != nil { return err } diff --git a/service/simspaceweaver/api_op_DescribeSimulation.go b/service/simspaceweaver/api_op_DescribeSimulation.go index fa0cc900b51..0ae1436bd71 100644 --- a/service/simspaceweaver/api_op_DescribeSimulation.go +++ b/service/simspaceweaver/api_op_DescribeSimulation.go @@ -181,9 +181,6 @@ func (c *Client) addOperationDescribeSimulationMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSimulationValidationMiddleware(stack); err != nil { return err } diff --git a/service/simspaceweaver/api_op_ListApps.go b/service/simspaceweaver/api_op_ListApps.go index 67e8f96ee84..16deda8df2c 100644 --- a/service/simspaceweaver/api_op_ListApps.go +++ b/service/simspaceweaver/api_op_ListApps.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListAppsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAppsValidationMiddleware(stack); err != nil { return err } diff --git a/service/simspaceweaver/api_op_ListSimulations.go b/service/simspaceweaver/api_op_ListSimulations.go index a05aaf3a3ca..aca2dcc3c90 100644 --- a/service/simspaceweaver/api_op_ListSimulations.go +++ b/service/simspaceweaver/api_op_ListSimulations.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListSimulationsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSimulations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/simspaceweaver/api_op_ListTagsForResource.go b/service/simspaceweaver/api_op_ListTagsForResource.go index aab77e4265f..6515880bf64 100644 --- a/service/simspaceweaver/api_op_ListTagsForResource.go +++ b/service/simspaceweaver/api_op_ListTagsForResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/simspaceweaver/api_op_StartApp.go b/service/simspaceweaver/api_op_StartApp.go index 4d7b49fcdc4..ca51ba12de1 100644 --- a/service/simspaceweaver/api_op_StartApp.go +++ b/service/simspaceweaver/api_op_StartApp.go @@ -139,9 +139,6 @@ func (c *Client) addOperationStartAppMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartAppMiddleware(stack, options); err != nil { return err } diff --git a/service/simspaceweaver/api_op_StartClock.go b/service/simspaceweaver/api_op_StartClock.go index 85ba5e40f4e..c6f57df549c 100644 --- a/service/simspaceweaver/api_op_StartClock.go +++ b/service/simspaceweaver/api_op_StartClock.go @@ -107,9 +107,6 @@ func (c *Client) addOperationStartClockMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartClockValidationMiddleware(stack); err != nil { return err } diff --git a/service/simspaceweaver/api_op_StartSimulation.go b/service/simspaceweaver/api_op_StartSimulation.go index a83c530aca2..7b053a94692 100644 --- a/service/simspaceweaver/api_op_StartSimulation.go +++ b/service/simspaceweaver/api_op_StartSimulation.go @@ -184,9 +184,6 @@ func (c *Client) addOperationStartSimulationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartSimulationMiddleware(stack, options); err != nil { return err } diff --git a/service/simspaceweaver/api_op_StopApp.go b/service/simspaceweaver/api_op_StopApp.go index bdc3317cc26..474004c90c8 100644 --- a/service/simspaceweaver/api_op_StopApp.go +++ b/service/simspaceweaver/api_op_StopApp.go @@ -118,9 +118,6 @@ func (c *Client) addOperationStopAppMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopAppValidationMiddleware(stack); err != nil { return err } diff --git a/service/simspaceweaver/api_op_StopClock.go b/service/simspaceweaver/api_op_StopClock.go index 86d33cb022d..3a2de38fd8f 100644 --- a/service/simspaceweaver/api_op_StopClock.go +++ b/service/simspaceweaver/api_op_StopClock.go @@ -107,9 +107,6 @@ func (c *Client) addOperationStopClockMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopClockValidationMiddleware(stack); err != nil { return err } diff --git a/service/simspaceweaver/api_op_StopSimulation.go b/service/simspaceweaver/api_op_StopSimulation.go index a5a7b3b5f6b..01fa96506e9 100644 --- a/service/simspaceweaver/api_op_StopSimulation.go +++ b/service/simspaceweaver/api_op_StopSimulation.go @@ -110,9 +110,6 @@ func (c *Client) addOperationStopSimulationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopSimulationValidationMiddleware(stack); err != nil { return err } diff --git a/service/simspaceweaver/api_op_TagResource.go b/service/simspaceweaver/api_op_TagResource.go index fd1be5509f7..69acd643a71 100644 --- a/service/simspaceweaver/api_op_TagResource.go +++ b/service/simspaceweaver/api_op_TagResource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/simspaceweaver/api_op_UntagResource.go b/service/simspaceweaver/api_op_UntagResource.go index d5b662f85db..c30de5c5f04 100644 --- a/service/simspaceweaver/api_op_UntagResource.go +++ b/service/simspaceweaver/api_op_UntagResource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/simspaceweaver/snapshot/api_op_CreateSnapshot.go.snap b/service/simspaceweaver/snapshot/api_op_CreateSnapshot.go.snap index c5c9178ac0b..1a0713f514c 100644 --- a/service/simspaceweaver/snapshot/api_op_CreateSnapshot.go.snap +++ b/service/simspaceweaver/snapshot/api_op_CreateSnapshot.go.snap @@ -14,7 +14,6 @@ CreateSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/simspaceweaver/snapshot/api_op_DeleteApp.go.snap b/service/simspaceweaver/snapshot/api_op_DeleteApp.go.snap index 5e024f33011..d8467fecd56 100644 --- a/service/simspaceweaver/snapshot/api_op_DeleteApp.go.snap +++ b/service/simspaceweaver/snapshot/api_op_DeleteApp.go.snap @@ -14,7 +14,6 @@ DeleteApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/simspaceweaver/snapshot/api_op_DeleteSimulation.go.snap b/service/simspaceweaver/snapshot/api_op_DeleteSimulation.go.snap index e34031b61b2..cbe54e227ef 100644 --- a/service/simspaceweaver/snapshot/api_op_DeleteSimulation.go.snap +++ b/service/simspaceweaver/snapshot/api_op_DeleteSimulation.go.snap @@ -14,7 +14,6 @@ DeleteSimulation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/simspaceweaver/snapshot/api_op_DescribeApp.go.snap b/service/simspaceweaver/snapshot/api_op_DescribeApp.go.snap index 3078032ff95..2fdc7c73c95 100644 --- a/service/simspaceweaver/snapshot/api_op_DescribeApp.go.snap +++ b/service/simspaceweaver/snapshot/api_op_DescribeApp.go.snap @@ -14,7 +14,6 @@ DescribeApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/simspaceweaver/snapshot/api_op_DescribeSimulation.go.snap b/service/simspaceweaver/snapshot/api_op_DescribeSimulation.go.snap index 1961cc2bdcb..36b95e608b6 100644 --- a/service/simspaceweaver/snapshot/api_op_DescribeSimulation.go.snap +++ b/service/simspaceweaver/snapshot/api_op_DescribeSimulation.go.snap @@ -14,7 +14,6 @@ DescribeSimulation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/simspaceweaver/snapshot/api_op_ListApps.go.snap b/service/simspaceweaver/snapshot/api_op_ListApps.go.snap index 0323e3e31da..ecb3e321bb5 100644 --- a/service/simspaceweaver/snapshot/api_op_ListApps.go.snap +++ b/service/simspaceweaver/snapshot/api_op_ListApps.go.snap @@ -14,7 +14,6 @@ ListApps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/simspaceweaver/snapshot/api_op_ListSimulations.go.snap b/service/simspaceweaver/snapshot/api_op_ListSimulations.go.snap index 1c22cdb6fd4..3d248cfc261 100644 --- a/service/simspaceweaver/snapshot/api_op_ListSimulations.go.snap +++ b/service/simspaceweaver/snapshot/api_op_ListSimulations.go.snap @@ -13,7 +13,6 @@ ListSimulations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/simspaceweaver/snapshot/api_op_ListTagsForResource.go.snap b/service/simspaceweaver/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/simspaceweaver/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/simspaceweaver/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/simspaceweaver/snapshot/api_op_StartApp.go.snap b/service/simspaceweaver/snapshot/api_op_StartApp.go.snap index 3389974c77f..0cc825e0b52 100644 --- a/service/simspaceweaver/snapshot/api_op_StartApp.go.snap +++ b/service/simspaceweaver/snapshot/api_op_StartApp.go.snap @@ -15,7 +15,6 @@ StartApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/simspaceweaver/snapshot/api_op_StartClock.go.snap b/service/simspaceweaver/snapshot/api_op_StartClock.go.snap index 1b598630a16..d76addb92aa 100644 --- a/service/simspaceweaver/snapshot/api_op_StartClock.go.snap +++ b/service/simspaceweaver/snapshot/api_op_StartClock.go.snap @@ -14,7 +14,6 @@ StartClock Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/simspaceweaver/snapshot/api_op_StartSimulation.go.snap b/service/simspaceweaver/snapshot/api_op_StartSimulation.go.snap index d08394da460..2aa9ea2866f 100644 --- a/service/simspaceweaver/snapshot/api_op_StartSimulation.go.snap +++ b/service/simspaceweaver/snapshot/api_op_StartSimulation.go.snap @@ -15,7 +15,6 @@ StartSimulation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/simspaceweaver/snapshot/api_op_StopApp.go.snap b/service/simspaceweaver/snapshot/api_op_StopApp.go.snap index acdb471e47a..f5de21b5bf6 100644 --- a/service/simspaceweaver/snapshot/api_op_StopApp.go.snap +++ b/service/simspaceweaver/snapshot/api_op_StopApp.go.snap @@ -14,7 +14,6 @@ StopApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/simspaceweaver/snapshot/api_op_StopClock.go.snap b/service/simspaceweaver/snapshot/api_op_StopClock.go.snap index 4a955144562..47b6535abc2 100644 --- a/service/simspaceweaver/snapshot/api_op_StopClock.go.snap +++ b/service/simspaceweaver/snapshot/api_op_StopClock.go.snap @@ -14,7 +14,6 @@ StopClock Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/simspaceweaver/snapshot/api_op_StopSimulation.go.snap b/service/simspaceweaver/snapshot/api_op_StopSimulation.go.snap index cfbf9310e52..1d9ab91a739 100644 --- a/service/simspaceweaver/snapshot/api_op_StopSimulation.go.snap +++ b/service/simspaceweaver/snapshot/api_op_StopSimulation.go.snap @@ -14,7 +14,6 @@ StopSimulation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/simspaceweaver/snapshot/api_op_TagResource.go.snap b/service/simspaceweaver/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/simspaceweaver/snapshot/api_op_TagResource.go.snap +++ b/service/simspaceweaver/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/simspaceweaver/snapshot/api_op_UntagResource.go.snap b/service/simspaceweaver/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/simspaceweaver/snapshot/api_op_UntagResource.go.snap +++ b/service/simspaceweaver/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/api_client.go b/service/sms/api_client.go index 41290408861..f25251ef4f7 100644 --- a/service/sms/api_client.go +++ b/service/sms/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/sms/api_op_CreateApp.go b/service/sms/api_op_CreateApp.go index 6c54c05f74d..99b7d18e8a9 100644 --- a/service/sms/api_op_CreateApp.go +++ b/service/sms/api_op_CreateApp.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCreateAppMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateApp(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sms/api_op_CreateReplicationJob.go b/service/sms/api_op_CreateReplicationJob.go index 9cf9ab21fb0..f9bc2861074 100644 --- a/service/sms/api_op_CreateReplicationJob.go +++ b/service/sms/api_op_CreateReplicationJob.go @@ -157,9 +157,6 @@ func (c *Client) addOperationCreateReplicationJobMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateReplicationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_DeleteApp.go b/service/sms/api_op_DeleteApp.go index 038e22c50a7..e48b86c1d22 100644 --- a/service/sms/api_op_DeleteApp.go +++ b/service/sms/api_op_DeleteApp.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteAppMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteApp(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sms/api_op_DeleteAppLaunchConfiguration.go b/service/sms/api_op_DeleteAppLaunchConfiguration.go index d7a59826968..f1683527d4f 100644 --- a/service/sms/api_op_DeleteAppLaunchConfiguration.go +++ b/service/sms/api_op_DeleteAppLaunchConfiguration.go @@ -105,9 +105,6 @@ func (c *Client) addOperationDeleteAppLaunchConfigurationMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAppLaunchConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sms/api_op_DeleteAppReplicationConfiguration.go b/service/sms/api_op_DeleteAppReplicationConfiguration.go index 36fecd666e5..99e14c7c8a4 100644 --- a/service/sms/api_op_DeleteAppReplicationConfiguration.go +++ b/service/sms/api_op_DeleteAppReplicationConfiguration.go @@ -105,9 +105,6 @@ func (c *Client) addOperationDeleteAppReplicationConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAppReplicationConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sms/api_op_DeleteAppValidationConfiguration.go b/service/sms/api_op_DeleteAppValidationConfiguration.go index a5dff4e9af8..b5f7dbbdb4d 100644 --- a/service/sms/api_op_DeleteAppValidationConfiguration.go +++ b/service/sms/api_op_DeleteAppValidationConfiguration.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteAppValidationConfigurationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAppValidationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_DeleteReplicationJob.go b/service/sms/api_op_DeleteReplicationJob.go index 633a3761e5d..ab379d1ef1f 100644 --- a/service/sms/api_op_DeleteReplicationJob.go +++ b/service/sms/api_op_DeleteReplicationJob.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteReplicationJobMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteReplicationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_DeleteServerCatalog.go b/service/sms/api_op_DeleteServerCatalog.go index ceb6f349d0c..e412f86b2b8 100644 --- a/service/sms/api_op_DeleteServerCatalog.go +++ b/service/sms/api_op_DeleteServerCatalog.go @@ -101,9 +101,6 @@ func (c *Client) addOperationDeleteServerCatalogMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteServerCatalog(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sms/api_op_DisassociateConnector.go b/service/sms/api_op_DisassociateConnector.go index 065d8f8ad93..048f361c90c 100644 --- a/service/sms/api_op_DisassociateConnector.go +++ b/service/sms/api_op_DisassociateConnector.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDisassociateConnectorMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateConnectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_GenerateChangeSet.go b/service/sms/api_op_GenerateChangeSet.go index e6a4fb59bc1..a42953db981 100644 --- a/service/sms/api_op_GenerateChangeSet.go +++ b/service/sms/api_op_GenerateChangeSet.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGenerateChangeSetMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGenerateChangeSet(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sms/api_op_GenerateTemplate.go b/service/sms/api_op_GenerateTemplate.go index a2a844b8f6e..050d7904ece 100644 --- a/service/sms/api_op_GenerateTemplate.go +++ b/service/sms/api_op_GenerateTemplate.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGenerateTemplateMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGenerateTemplate(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sms/api_op_GetApp.go b/service/sms/api_op_GetApp.go index d5ddc665f3e..4e9d471f78c 100644 --- a/service/sms/api_op_GetApp.go +++ b/service/sms/api_op_GetApp.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetAppMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApp(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sms/api_op_GetAppLaunchConfiguration.go b/service/sms/api_op_GetAppLaunchConfiguration.go index 22b1bc3cffd..7887cb33a3e 100644 --- a/service/sms/api_op_GetAppLaunchConfiguration.go +++ b/service/sms/api_op_GetAppLaunchConfiguration.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetAppLaunchConfigurationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAppLaunchConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sms/api_op_GetAppReplicationConfiguration.go b/service/sms/api_op_GetAppReplicationConfiguration.go index c8dec22b40a..9c3be660c2e 100644 --- a/service/sms/api_op_GetAppReplicationConfiguration.go +++ b/service/sms/api_op_GetAppReplicationConfiguration.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetAppReplicationConfigurationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAppReplicationConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sms/api_op_GetAppValidationConfiguration.go b/service/sms/api_op_GetAppValidationConfiguration.go index 27d85bdd893..470e8dfbc28 100644 --- a/service/sms/api_op_GetAppValidationConfiguration.go +++ b/service/sms/api_op_GetAppValidationConfiguration.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetAppValidationConfigurationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAppValidationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_GetAppValidationOutput.go b/service/sms/api_op_GetAppValidationOutput.go index a3b53179c9b..f437bc47885 100644 --- a/service/sms/api_op_GetAppValidationOutput.go +++ b/service/sms/api_op_GetAppValidationOutput.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetAppValidationOutputMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAppValidationOutputValidationMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_GetConnectors.go b/service/sms/api_op_GetConnectors.go index 9ecaeadd03e..b55b6fa22ba 100644 --- a/service/sms/api_op_GetConnectors.go +++ b/service/sms/api_op_GetConnectors.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetConnectorsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConnectors(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sms/api_op_GetReplicationJobs.go b/service/sms/api_op_GetReplicationJobs.go index 664bbee87c1..93357209f3c 100644 --- a/service/sms/api_op_GetReplicationJobs.go +++ b/service/sms/api_op_GetReplicationJobs.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetReplicationJobsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetReplicationJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sms/api_op_GetReplicationRuns.go b/service/sms/api_op_GetReplicationRuns.go index b704bab7d8b..1623637c01d 100644 --- a/service/sms/api_op_GetReplicationRuns.go +++ b/service/sms/api_op_GetReplicationRuns.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetReplicationRunsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetReplicationRunsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_GetServers.go b/service/sms/api_op_GetServers.go index 1b787369166..3699d424179 100644 --- a/service/sms/api_op_GetServers.go +++ b/service/sms/api_op_GetServers.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetServersMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sms/api_op_ImportAppCatalog.go b/service/sms/api_op_ImportAppCatalog.go index fd2f86fb4a2..d2f497a08c9 100644 --- a/service/sms/api_op_ImportAppCatalog.go +++ b/service/sms/api_op_ImportAppCatalog.go @@ -109,9 +109,6 @@ func (c *Client) addOperationImportAppCatalogMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportAppCatalog(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sms/api_op_ImportServerCatalog.go b/service/sms/api_op_ImportServerCatalog.go index 430575e5f77..38269ad45ad 100644 --- a/service/sms/api_op_ImportServerCatalog.go +++ b/service/sms/api_op_ImportServerCatalog.go @@ -105,9 +105,6 @@ func (c *Client) addOperationImportServerCatalogMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opImportServerCatalog(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sms/api_op_LaunchApp.go b/service/sms/api_op_LaunchApp.go index 773da87eca1..9cc1462ab49 100644 --- a/service/sms/api_op_LaunchApp.go +++ b/service/sms/api_op_LaunchApp.go @@ -105,9 +105,6 @@ func (c *Client) addOperationLaunchAppMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opLaunchApp(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sms/api_op_ListApps.go b/service/sms/api_op_ListApps.go index db63f04126c..41107de238d 100644 --- a/service/sms/api_op_ListApps.go +++ b/service/sms/api_op_ListApps.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListAppsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApps(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sms/api_op_NotifyAppValidationOutput.go b/service/sms/api_op_NotifyAppValidationOutput.go index 9be559fd140..b2282a48106 100644 --- a/service/sms/api_op_NotifyAppValidationOutput.go +++ b/service/sms/api_op_NotifyAppValidationOutput.go @@ -112,9 +112,6 @@ func (c *Client) addOperationNotifyAppValidationOutputMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpNotifyAppValidationOutputValidationMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_PutAppLaunchConfiguration.go b/service/sms/api_op_PutAppLaunchConfiguration.go index 9a6343728ff..9534d5b0d01 100644 --- a/service/sms/api_op_PutAppLaunchConfiguration.go +++ b/service/sms/api_op_PutAppLaunchConfiguration.go @@ -118,9 +118,6 @@ func (c *Client) addOperationPutAppLaunchConfigurationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAppLaunchConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sms/api_op_PutAppReplicationConfiguration.go b/service/sms/api_op_PutAppReplicationConfiguration.go index b5e460f7ec0..a5009cfb85b 100644 --- a/service/sms/api_op_PutAppReplicationConfiguration.go +++ b/service/sms/api_op_PutAppReplicationConfiguration.go @@ -110,9 +110,6 @@ func (c *Client) addOperationPutAppReplicationConfigurationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutAppReplicationConfiguration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sms/api_op_PutAppValidationConfiguration.go b/service/sms/api_op_PutAppValidationConfiguration.go index 610b8fd38be..f4f22a6db83 100644 --- a/service/sms/api_op_PutAppValidationConfiguration.go +++ b/service/sms/api_op_PutAppValidationConfiguration.go @@ -114,9 +114,6 @@ func (c *Client) addOperationPutAppValidationConfigurationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutAppValidationConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_StartAppReplication.go b/service/sms/api_op_StartAppReplication.go index 45cf2fc5aff..5975a16e14a 100644 --- a/service/sms/api_op_StartAppReplication.go +++ b/service/sms/api_op_StartAppReplication.go @@ -106,9 +106,6 @@ func (c *Client) addOperationStartAppReplicationMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartAppReplication(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sms/api_op_StartOnDemandAppReplication.go b/service/sms/api_op_StartOnDemandAppReplication.go index db7204d10de..2274cccfccd 100644 --- a/service/sms/api_op_StartOnDemandAppReplication.go +++ b/service/sms/api_op_StartOnDemandAppReplication.go @@ -110,9 +110,6 @@ func (c *Client) addOperationStartOnDemandAppReplicationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartOnDemandAppReplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_StartOnDemandReplicationRun.go b/service/sms/api_op_StartOnDemandReplicationRun.go index e6094a5d451..cb2d0685a1d 100644 --- a/service/sms/api_op_StartOnDemandReplicationRun.go +++ b/service/sms/api_op_StartOnDemandReplicationRun.go @@ -119,9 +119,6 @@ func (c *Client) addOperationStartOnDemandReplicationRunMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartOnDemandReplicationRunValidationMiddleware(stack); err != nil { return err } diff --git a/service/sms/api_op_StopAppReplication.go b/service/sms/api_op_StopAppReplication.go index 2499708a702..e3e3189566f 100644 --- a/service/sms/api_op_StopAppReplication.go +++ b/service/sms/api_op_StopAppReplication.go @@ -106,9 +106,6 @@ func (c *Client) addOperationStopAppReplicationMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStopAppReplication(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sms/api_op_TerminateApp.go b/service/sms/api_op_TerminateApp.go index 67440652207..6b04f7444b2 100644 --- a/service/sms/api_op_TerminateApp.go +++ b/service/sms/api_op_TerminateApp.go @@ -105,9 +105,6 @@ func (c *Client) addOperationTerminateAppMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTerminateApp(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sms/api_op_UpdateApp.go b/service/sms/api_op_UpdateApp.go index 9b63d7c17b3..af2b7275124 100644 --- a/service/sms/api_op_UpdateApp.go +++ b/service/sms/api_op_UpdateApp.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdateAppMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateApp(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sms/api_op_UpdateReplicationJob.go b/service/sms/api_op_UpdateReplicationJob.go index a1be227419c..25b55a4de3a 100644 --- a/service/sms/api_op_UpdateReplicationJob.go +++ b/service/sms/api_op_UpdateReplicationJob.go @@ -147,9 +147,6 @@ func (c *Client) addOperationUpdateReplicationJobMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateReplicationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/sms/snapshot/api_op_CreateApp.go.snap b/service/sms/snapshot/api_op_CreateApp.go.snap index 33ca809928c..2b5250d2051 100644 --- a/service/sms/snapshot/api_op_CreateApp.go.snap +++ b/service/sms/snapshot/api_op_CreateApp.go.snap @@ -13,7 +13,6 @@ CreateApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_CreateReplicationJob.go.snap b/service/sms/snapshot/api_op_CreateReplicationJob.go.snap index 5cc80e6eaeb..3f84e7b4eef 100644 --- a/service/sms/snapshot/api_op_CreateReplicationJob.go.snap +++ b/service/sms/snapshot/api_op_CreateReplicationJob.go.snap @@ -14,7 +14,6 @@ CreateReplicationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_DeleteApp.go.snap b/service/sms/snapshot/api_op_DeleteApp.go.snap index 82236263e7d..a219e647441 100644 --- a/service/sms/snapshot/api_op_DeleteApp.go.snap +++ b/service/sms/snapshot/api_op_DeleteApp.go.snap @@ -13,7 +13,6 @@ DeleteApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_DeleteAppLaunchConfiguration.go.snap b/service/sms/snapshot/api_op_DeleteAppLaunchConfiguration.go.snap index bac54f5c8a6..9da7246d11d 100644 --- a/service/sms/snapshot/api_op_DeleteAppLaunchConfiguration.go.snap +++ b/service/sms/snapshot/api_op_DeleteAppLaunchConfiguration.go.snap @@ -13,7 +13,6 @@ DeleteAppLaunchConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_DeleteAppReplicationConfiguration.go.snap b/service/sms/snapshot/api_op_DeleteAppReplicationConfiguration.go.snap index dc15b532bc0..b223cd59f95 100644 --- a/service/sms/snapshot/api_op_DeleteAppReplicationConfiguration.go.snap +++ b/service/sms/snapshot/api_op_DeleteAppReplicationConfiguration.go.snap @@ -13,7 +13,6 @@ DeleteAppReplicationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_DeleteAppValidationConfiguration.go.snap b/service/sms/snapshot/api_op_DeleteAppValidationConfiguration.go.snap index 090b40af34b..f44e4ea9f1b 100644 --- a/service/sms/snapshot/api_op_DeleteAppValidationConfiguration.go.snap +++ b/service/sms/snapshot/api_op_DeleteAppValidationConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteAppValidationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_DeleteReplicationJob.go.snap b/service/sms/snapshot/api_op_DeleteReplicationJob.go.snap index 9a9ae1a044e..1592f5e5661 100644 --- a/service/sms/snapshot/api_op_DeleteReplicationJob.go.snap +++ b/service/sms/snapshot/api_op_DeleteReplicationJob.go.snap @@ -14,7 +14,6 @@ DeleteReplicationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_DeleteServerCatalog.go.snap b/service/sms/snapshot/api_op_DeleteServerCatalog.go.snap index 6cae70b06a2..33237c9dbf2 100644 --- a/service/sms/snapshot/api_op_DeleteServerCatalog.go.snap +++ b/service/sms/snapshot/api_op_DeleteServerCatalog.go.snap @@ -13,7 +13,6 @@ DeleteServerCatalog Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_DisassociateConnector.go.snap b/service/sms/snapshot/api_op_DisassociateConnector.go.snap index 7b5b2e1535e..fa6f5dee142 100644 --- a/service/sms/snapshot/api_op_DisassociateConnector.go.snap +++ b/service/sms/snapshot/api_op_DisassociateConnector.go.snap @@ -14,7 +14,6 @@ DisassociateConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_GenerateChangeSet.go.snap b/service/sms/snapshot/api_op_GenerateChangeSet.go.snap index 922883d9047..a1cefe0f2ae 100644 --- a/service/sms/snapshot/api_op_GenerateChangeSet.go.snap +++ b/service/sms/snapshot/api_op_GenerateChangeSet.go.snap @@ -13,7 +13,6 @@ GenerateChangeSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_GenerateTemplate.go.snap b/service/sms/snapshot/api_op_GenerateTemplate.go.snap index 252c6f79a20..cfcda9822d4 100644 --- a/service/sms/snapshot/api_op_GenerateTemplate.go.snap +++ b/service/sms/snapshot/api_op_GenerateTemplate.go.snap @@ -13,7 +13,6 @@ GenerateTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_GetApp.go.snap b/service/sms/snapshot/api_op_GetApp.go.snap index 5faaf58880e..97f0100ba72 100644 --- a/service/sms/snapshot/api_op_GetApp.go.snap +++ b/service/sms/snapshot/api_op_GetApp.go.snap @@ -13,7 +13,6 @@ GetApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_GetAppLaunchConfiguration.go.snap b/service/sms/snapshot/api_op_GetAppLaunchConfiguration.go.snap index c665dee3d99..fe7362571c6 100644 --- a/service/sms/snapshot/api_op_GetAppLaunchConfiguration.go.snap +++ b/service/sms/snapshot/api_op_GetAppLaunchConfiguration.go.snap @@ -13,7 +13,6 @@ GetAppLaunchConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_GetAppReplicationConfiguration.go.snap b/service/sms/snapshot/api_op_GetAppReplicationConfiguration.go.snap index 7e9e390dfbc..71bd8adac24 100644 --- a/service/sms/snapshot/api_op_GetAppReplicationConfiguration.go.snap +++ b/service/sms/snapshot/api_op_GetAppReplicationConfiguration.go.snap @@ -13,7 +13,6 @@ GetAppReplicationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_GetAppValidationConfiguration.go.snap b/service/sms/snapshot/api_op_GetAppValidationConfiguration.go.snap index fb241f1435a..30a72c90813 100644 --- a/service/sms/snapshot/api_op_GetAppValidationConfiguration.go.snap +++ b/service/sms/snapshot/api_op_GetAppValidationConfiguration.go.snap @@ -14,7 +14,6 @@ GetAppValidationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_GetAppValidationOutput.go.snap b/service/sms/snapshot/api_op_GetAppValidationOutput.go.snap index 972f72fe6a7..e08e21c3f5a 100644 --- a/service/sms/snapshot/api_op_GetAppValidationOutput.go.snap +++ b/service/sms/snapshot/api_op_GetAppValidationOutput.go.snap @@ -14,7 +14,6 @@ GetAppValidationOutput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_GetConnectors.go.snap b/service/sms/snapshot/api_op_GetConnectors.go.snap index 0d562c7e429..b10f8c8be6c 100644 --- a/service/sms/snapshot/api_op_GetConnectors.go.snap +++ b/service/sms/snapshot/api_op_GetConnectors.go.snap @@ -13,7 +13,6 @@ GetConnectors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_GetReplicationJobs.go.snap b/service/sms/snapshot/api_op_GetReplicationJobs.go.snap index 9c5a5e19287..dc6f6954c79 100644 --- a/service/sms/snapshot/api_op_GetReplicationJobs.go.snap +++ b/service/sms/snapshot/api_op_GetReplicationJobs.go.snap @@ -13,7 +13,6 @@ GetReplicationJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_GetReplicationRuns.go.snap b/service/sms/snapshot/api_op_GetReplicationRuns.go.snap index 9189d1a7a3a..e62f768a5f3 100644 --- a/service/sms/snapshot/api_op_GetReplicationRuns.go.snap +++ b/service/sms/snapshot/api_op_GetReplicationRuns.go.snap @@ -14,7 +14,6 @@ GetReplicationRuns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_GetServers.go.snap b/service/sms/snapshot/api_op_GetServers.go.snap index 1232e398457..2d78fd979d6 100644 --- a/service/sms/snapshot/api_op_GetServers.go.snap +++ b/service/sms/snapshot/api_op_GetServers.go.snap @@ -13,7 +13,6 @@ GetServers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_ImportAppCatalog.go.snap b/service/sms/snapshot/api_op_ImportAppCatalog.go.snap index 3b9f71114c2..2c85fbe6952 100644 --- a/service/sms/snapshot/api_op_ImportAppCatalog.go.snap +++ b/service/sms/snapshot/api_op_ImportAppCatalog.go.snap @@ -13,7 +13,6 @@ ImportAppCatalog Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_ImportServerCatalog.go.snap b/service/sms/snapshot/api_op_ImportServerCatalog.go.snap index 364ebbe2647..4f227b884e6 100644 --- a/service/sms/snapshot/api_op_ImportServerCatalog.go.snap +++ b/service/sms/snapshot/api_op_ImportServerCatalog.go.snap @@ -13,7 +13,6 @@ ImportServerCatalog Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_LaunchApp.go.snap b/service/sms/snapshot/api_op_LaunchApp.go.snap index 082a31b1996..eb2302ea053 100644 --- a/service/sms/snapshot/api_op_LaunchApp.go.snap +++ b/service/sms/snapshot/api_op_LaunchApp.go.snap @@ -13,7 +13,6 @@ LaunchApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_ListApps.go.snap b/service/sms/snapshot/api_op_ListApps.go.snap index 80402f2bba1..07a43ca47ec 100644 --- a/service/sms/snapshot/api_op_ListApps.go.snap +++ b/service/sms/snapshot/api_op_ListApps.go.snap @@ -13,7 +13,6 @@ ListApps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_NotifyAppValidationOutput.go.snap b/service/sms/snapshot/api_op_NotifyAppValidationOutput.go.snap index 07a9c5a0697..26dc9ed6f62 100644 --- a/service/sms/snapshot/api_op_NotifyAppValidationOutput.go.snap +++ b/service/sms/snapshot/api_op_NotifyAppValidationOutput.go.snap @@ -14,7 +14,6 @@ NotifyAppValidationOutput Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_PutAppLaunchConfiguration.go.snap b/service/sms/snapshot/api_op_PutAppLaunchConfiguration.go.snap index cc8942656c0..004f4a8f870 100644 --- a/service/sms/snapshot/api_op_PutAppLaunchConfiguration.go.snap +++ b/service/sms/snapshot/api_op_PutAppLaunchConfiguration.go.snap @@ -13,7 +13,6 @@ PutAppLaunchConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_PutAppReplicationConfiguration.go.snap b/service/sms/snapshot/api_op_PutAppReplicationConfiguration.go.snap index 99232062193..bdab0079f9e 100644 --- a/service/sms/snapshot/api_op_PutAppReplicationConfiguration.go.snap +++ b/service/sms/snapshot/api_op_PutAppReplicationConfiguration.go.snap @@ -13,7 +13,6 @@ PutAppReplicationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_PutAppValidationConfiguration.go.snap b/service/sms/snapshot/api_op_PutAppValidationConfiguration.go.snap index 2644a7a26f7..0426f6110b1 100644 --- a/service/sms/snapshot/api_op_PutAppValidationConfiguration.go.snap +++ b/service/sms/snapshot/api_op_PutAppValidationConfiguration.go.snap @@ -14,7 +14,6 @@ PutAppValidationConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_StartAppReplication.go.snap b/service/sms/snapshot/api_op_StartAppReplication.go.snap index 0b234263c75..2ed75e3ebb5 100644 --- a/service/sms/snapshot/api_op_StartAppReplication.go.snap +++ b/service/sms/snapshot/api_op_StartAppReplication.go.snap @@ -13,7 +13,6 @@ StartAppReplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_StartOnDemandAppReplication.go.snap b/service/sms/snapshot/api_op_StartOnDemandAppReplication.go.snap index 44e15c1155f..e99e61928e8 100644 --- a/service/sms/snapshot/api_op_StartOnDemandAppReplication.go.snap +++ b/service/sms/snapshot/api_op_StartOnDemandAppReplication.go.snap @@ -14,7 +14,6 @@ StartOnDemandAppReplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_StartOnDemandReplicationRun.go.snap b/service/sms/snapshot/api_op_StartOnDemandReplicationRun.go.snap index cea8a9ddd57..5c6d78c9f83 100644 --- a/service/sms/snapshot/api_op_StartOnDemandReplicationRun.go.snap +++ b/service/sms/snapshot/api_op_StartOnDemandReplicationRun.go.snap @@ -14,7 +14,6 @@ StartOnDemandReplicationRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_StopAppReplication.go.snap b/service/sms/snapshot/api_op_StopAppReplication.go.snap index 055e9622f0e..73bf6c7fd91 100644 --- a/service/sms/snapshot/api_op_StopAppReplication.go.snap +++ b/service/sms/snapshot/api_op_StopAppReplication.go.snap @@ -13,7 +13,6 @@ StopAppReplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_TerminateApp.go.snap b/service/sms/snapshot/api_op_TerminateApp.go.snap index 1494528eb93..ba7147f0d11 100644 --- a/service/sms/snapshot/api_op_TerminateApp.go.snap +++ b/service/sms/snapshot/api_op_TerminateApp.go.snap @@ -13,7 +13,6 @@ TerminateApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_UpdateApp.go.snap b/service/sms/snapshot/api_op_UpdateApp.go.snap index ac6c9f806a6..e34e8c53a00 100644 --- a/service/sms/snapshot/api_op_UpdateApp.go.snap +++ b/service/sms/snapshot/api_op_UpdateApp.go.snap @@ -13,7 +13,6 @@ UpdateApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sms/snapshot/api_op_UpdateReplicationJob.go.snap b/service/sms/snapshot/api_op_UpdateReplicationJob.go.snap index e87d1700ef7..fdd848aec17 100644 --- a/service/sms/snapshot/api_op_UpdateReplicationJob.go.snap +++ b/service/sms/snapshot/api_op_UpdateReplicationJob.go.snap @@ -14,7 +14,6 @@ UpdateReplicationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowball/api_client.go b/service/snowball/api_client.go index d023d54bc96..1595984b4e8 100644 --- a/service/snowball/api_client.go +++ b/service/snowball/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/snowball/api_op_CancelCluster.go b/service/snowball/api_op_CancelCluster.go index 2ece7870e4c..032374479fc 100644 --- a/service/snowball/api_op_CancelCluster.go +++ b/service/snowball/api_op_CancelCluster.go @@ -110,9 +110,6 @@ func (c *Client) addOperationCancelClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_CancelJob.go b/service/snowball/api_op_CancelJob.go index bac53e818ff..9f8d4149294 100644 --- a/service/snowball/api_op_CancelJob.go +++ b/service/snowball/api_op_CancelJob.go @@ -110,9 +110,6 @@ func (c *Client) addOperationCancelJobMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_CreateAddress.go b/service/snowball/api_op_CreateAddress.go index 37e9d7596ce..08423214ebe 100644 --- a/service/snowball/api_op_CreateAddress.go +++ b/service/snowball/api_op_CreateAddress.go @@ -119,9 +119,6 @@ func (c *Client) addOperationCreateAddressMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAddressValidationMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_CreateCluster.go b/service/snowball/api_op_CreateCluster.go index 484d63cc8ef..60355f167d8 100644 --- a/service/snowball/api_op_CreateCluster.go +++ b/service/snowball/api_op_CreateCluster.go @@ -245,9 +245,6 @@ func (c *Client) addOperationCreateClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_CreateJob.go b/service/snowball/api_op_CreateJob.go index 05df8940ed9..f1a6b76b2c1 100644 --- a/service/snowball/api_op_CreateJob.go +++ b/service/snowball/api_op_CreateJob.go @@ -323,9 +323,6 @@ func (c *Client) addOperationCreateJobMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_CreateLongTermPricing.go b/service/snowball/api_op_CreateLongTermPricing.go index 1c8bbb85f46..f7643ddaf8b 100644 --- a/service/snowball/api_op_CreateLongTermPricing.go +++ b/service/snowball/api_op_CreateLongTermPricing.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCreateLongTermPricingMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLongTermPricingValidationMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_CreateReturnShippingLabel.go b/service/snowball/api_op_CreateReturnShippingLabel.go index fc2eab05135..cd58a780221 100644 --- a/service/snowball/api_op_CreateReturnShippingLabel.go +++ b/service/snowball/api_op_CreateReturnShippingLabel.go @@ -121,9 +121,6 @@ func (c *Client) addOperationCreateReturnShippingLabelMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateReturnShippingLabelValidationMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_DescribeAddress.go b/service/snowball/api_op_DescribeAddress.go index 10fbbc9c767..0b4fe3b0238 100644 --- a/service/snowball/api_op_DescribeAddress.go +++ b/service/snowball/api_op_DescribeAddress.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribeAddressMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAddressValidationMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_DescribeAddresses.go b/service/snowball/api_op_DescribeAddresses.go index f229913b532..153934ced31 100644 --- a/service/snowball/api_op_DescribeAddresses.go +++ b/service/snowball/api_op_DescribeAddresses.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeAddressesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAddresses(options.Region), middleware.Before); err != nil { return err } diff --git a/service/snowball/api_op_DescribeCluster.go b/service/snowball/api_op_DescribeCluster.go index f68a4f817ab..8bc9130f39a 100644 --- a/service/snowball/api_op_DescribeCluster.go +++ b/service/snowball/api_op_DescribeCluster.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribeClusterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_DescribeJob.go b/service/snowball/api_op_DescribeJob.go index e59aa36990a..8e7f2c9fce6 100644 --- a/service/snowball/api_op_DescribeJob.go +++ b/service/snowball/api_op_DescribeJob.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeJobMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_DescribeReturnShippingLabel.go b/service/snowball/api_op_DescribeReturnShippingLabel.go index cc806db03cf..b0df468f726 100644 --- a/service/snowball/api_op_DescribeReturnShippingLabel.go +++ b/service/snowball/api_op_DescribeReturnShippingLabel.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeReturnShippingLabelMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeReturnShippingLabelValidationMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_GetJobManifest.go b/service/snowball/api_op_GetJobManifest.go index 4ff8669640d..93078405d79 100644 --- a/service/snowball/api_op_GetJobManifest.go +++ b/service/snowball/api_op_GetJobManifest.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetJobManifestMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetJobManifestValidationMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_GetJobUnlockCode.go b/service/snowball/api_op_GetJobUnlockCode.go index 10907c1c613..aaa5822f4d8 100644 --- a/service/snowball/api_op_GetJobUnlockCode.go +++ b/service/snowball/api_op_GetJobUnlockCode.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetJobUnlockCodeMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetJobUnlockCodeValidationMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_GetSnowballUsage.go b/service/snowball/api_op_GetSnowballUsage.go index 67efa134f99..05ec3b49261 100644 --- a/service/snowball/api_op_GetSnowballUsage.go +++ b/service/snowball/api_op_GetSnowballUsage.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetSnowballUsageMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSnowballUsage(options.Region), middleware.Before); err != nil { return err } diff --git a/service/snowball/api_op_GetSoftwareUpdates.go b/service/snowball/api_op_GetSoftwareUpdates.go index 71b69788db1..2bc0fca934b 100644 --- a/service/snowball/api_op_GetSoftwareUpdates.go +++ b/service/snowball/api_op_GetSoftwareUpdates.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetSoftwareUpdatesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSoftwareUpdatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_ListClusterJobs.go b/service/snowball/api_op_ListClusterJobs.go index f55f546e3ea..82ed7490a1d 100644 --- a/service/snowball/api_op_ListClusterJobs.go +++ b/service/snowball/api_op_ListClusterJobs.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListClusterJobsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListClusterJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_ListClusters.go b/service/snowball/api_op_ListClusters.go index 8c603c21227..d964b06f506 100644 --- a/service/snowball/api_op_ListClusters.go +++ b/service/snowball/api_op_ListClusters.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListClustersMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListClusters(options.Region), middleware.Before); err != nil { return err } diff --git a/service/snowball/api_op_ListCompatibleImages.go b/service/snowball/api_op_ListCompatibleImages.go index 2c2a7e8653d..8439f825c83 100644 --- a/service/snowball/api_op_ListCompatibleImages.go +++ b/service/snowball/api_op_ListCompatibleImages.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListCompatibleImagesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCompatibleImages(options.Region), middleware.Before); err != nil { return err } diff --git a/service/snowball/api_op_ListJobs.go b/service/snowball/api_op_ListJobs.go index 33e2578604a..dd0a6e61a6f 100644 --- a/service/snowball/api_op_ListJobs.go +++ b/service/snowball/api_op_ListJobs.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListJobsMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/snowball/api_op_ListLongTermPricing.go b/service/snowball/api_op_ListLongTermPricing.go index 02d1a68bfbe..441e022de71 100644 --- a/service/snowball/api_op_ListLongTermPricing.go +++ b/service/snowball/api_op_ListLongTermPricing.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListLongTermPricingMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLongTermPricing(options.Region), middleware.Before); err != nil { return err } diff --git a/service/snowball/api_op_ListPickupLocations.go b/service/snowball/api_op_ListPickupLocations.go index 87acec28d8e..f04f384e0fc 100644 --- a/service/snowball/api_op_ListPickupLocations.go +++ b/service/snowball/api_op_ListPickupLocations.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListPickupLocationsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPickupLocations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/snowball/api_op_ListServiceVersions.go b/service/snowball/api_op_ListServiceVersions.go index d0896ea5f1c..04b93f9f774 100644 --- a/service/snowball/api_op_ListServiceVersions.go +++ b/service/snowball/api_op_ListServiceVersions.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListServiceVersionsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListServiceVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_UpdateCluster.go b/service/snowball/api_op_UpdateCluster.go index 75524a14b68..197746f7884 100644 --- a/service/snowball/api_op_UpdateCluster.go +++ b/service/snowball/api_op_UpdateCluster.go @@ -143,9 +143,6 @@ func (c *Client) addOperationUpdateClusterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_UpdateJob.go b/service/snowball/api_op_UpdateJob.go index 470fd589238..c9a3ae5add6 100644 --- a/service/snowball/api_op_UpdateJob.go +++ b/service/snowball/api_op_UpdateJob.go @@ -156,9 +156,6 @@ func (c *Client) addOperationUpdateJobMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_UpdateJobShipmentState.go b/service/snowball/api_op_UpdateJobShipmentState.go index f52975f5f8f..7bb9b05fd55 100644 --- a/service/snowball/api_op_UpdateJobShipmentState.go +++ b/service/snowball/api_op_UpdateJobShipmentState.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateJobShipmentStateMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateJobShipmentStateValidationMiddleware(stack); err != nil { return err } diff --git a/service/snowball/api_op_UpdateLongTermPricing.go b/service/snowball/api_op_UpdateLongTermPricing.go index 8945b28f021..e551f1f092f 100644 --- a/service/snowball/api_op_UpdateLongTermPricing.go +++ b/service/snowball/api_op_UpdateLongTermPricing.go @@ -116,9 +116,6 @@ func (c *Client) addOperationUpdateLongTermPricingMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLongTermPricingValidationMiddleware(stack); err != nil { return err } diff --git a/service/snowball/snapshot/api_op_CancelCluster.go.snap b/service/snowball/snapshot/api_op_CancelCluster.go.snap index 6ada311cece..4baa68c7810 100644 --- a/service/snowball/snapshot/api_op_CancelCluster.go.snap +++ b/service/snowball/snapshot/api_op_CancelCluster.go.snap @@ -14,7 +14,6 @@ CancelCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowball/snapshot/api_op_CancelJob.go.snap b/service/snowball/snapshot/api_op_CancelJob.go.snap index 51903387e8d..b36a88b69e0 100644 --- a/service/snowball/snapshot/api_op_CancelJob.go.snap +++ b/service/snowball/snapshot/api_op_CancelJob.go.snap @@ -14,7 +14,6 @@ CancelJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowball/snapshot/api_op_CreateAddress.go.snap b/service/snowball/snapshot/api_op_CreateAddress.go.snap index 836d9875caa..e2b916c6dc4 100644 --- a/service/snowball/snapshot/api_op_CreateAddress.go.snap +++ b/service/snowball/snapshot/api_op_CreateAddress.go.snap @@ -14,7 +14,6 @@ CreateAddress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowball/snapshot/api_op_CreateCluster.go.snap b/service/snowball/snapshot/api_op_CreateCluster.go.snap index 1ee274e1f6c..03ac0c0d2e6 100644 --- a/service/snowball/snapshot/api_op_CreateCluster.go.snap +++ b/service/snowball/snapshot/api_op_CreateCluster.go.snap @@ -14,7 +14,6 @@ CreateCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowball/snapshot/api_op_CreateJob.go.snap b/service/snowball/snapshot/api_op_CreateJob.go.snap index 997d5a01bae..27ac2aec4ac 100644 --- a/service/snowball/snapshot/api_op_CreateJob.go.snap +++ b/service/snowball/snapshot/api_op_CreateJob.go.snap @@ -14,7 +14,6 @@ CreateJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowball/snapshot/api_op_CreateLongTermPricing.go.snap b/service/snowball/snapshot/api_op_CreateLongTermPricing.go.snap index e0b085b724e..b809f840dc4 100644 --- a/service/snowball/snapshot/api_op_CreateLongTermPricing.go.snap +++ b/service/snowball/snapshot/api_op_CreateLongTermPricing.go.snap @@ -14,7 +14,6 @@ CreateLongTermPricing Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowball/snapshot/api_op_CreateReturnShippingLabel.go.snap b/service/snowball/snapshot/api_op_CreateReturnShippingLabel.go.snap index f4009829dda..9f05894115c 100644 --- a/service/snowball/snapshot/api_op_CreateReturnShippingLabel.go.snap +++ b/service/snowball/snapshot/api_op_CreateReturnShippingLabel.go.snap @@ -14,7 +14,6 @@ CreateReturnShippingLabel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowball/snapshot/api_op_DescribeAddress.go.snap b/service/snowball/snapshot/api_op_DescribeAddress.go.snap index 50f4cc56798..52f782cae1d 100644 --- a/service/snowball/snapshot/api_op_DescribeAddress.go.snap +++ b/service/snowball/snapshot/api_op_DescribeAddress.go.snap @@ -14,7 +14,6 @@ DescribeAddress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowball/snapshot/api_op_DescribeAddresses.go.snap b/service/snowball/snapshot/api_op_DescribeAddresses.go.snap index 90a628b57d9..895dd57c354 100644 --- a/service/snowball/snapshot/api_op_DescribeAddresses.go.snap +++ b/service/snowball/snapshot/api_op_DescribeAddresses.go.snap @@ -13,7 +13,6 @@ DescribeAddresses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowball/snapshot/api_op_DescribeCluster.go.snap b/service/snowball/snapshot/api_op_DescribeCluster.go.snap index fe48df769b6..aba0b08d3d5 100644 --- a/service/snowball/snapshot/api_op_DescribeCluster.go.snap +++ b/service/snowball/snapshot/api_op_DescribeCluster.go.snap @@ -14,7 +14,6 @@ DescribeCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowball/snapshot/api_op_DescribeJob.go.snap b/service/snowball/snapshot/api_op_DescribeJob.go.snap index f65d63debea..c32bb3ceb01 100644 --- a/service/snowball/snapshot/api_op_DescribeJob.go.snap +++ b/service/snowball/snapshot/api_op_DescribeJob.go.snap @@ -14,7 +14,6 @@ DescribeJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowball/snapshot/api_op_DescribeReturnShippingLabel.go.snap b/service/snowball/snapshot/api_op_DescribeReturnShippingLabel.go.snap index 15f5a6a3b3c..14f466bd842 100644 --- a/service/snowball/snapshot/api_op_DescribeReturnShippingLabel.go.snap +++ b/service/snowball/snapshot/api_op_DescribeReturnShippingLabel.go.snap @@ -14,7 +14,6 @@ DescribeReturnShippingLabel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowball/snapshot/api_op_GetJobManifest.go.snap b/service/snowball/snapshot/api_op_GetJobManifest.go.snap index 097fe76033d..dd51d62c10b 100644 --- a/service/snowball/snapshot/api_op_GetJobManifest.go.snap +++ b/service/snowball/snapshot/api_op_GetJobManifest.go.snap @@ -14,7 +14,6 @@ GetJobManifest Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowball/snapshot/api_op_GetJobUnlockCode.go.snap b/service/snowball/snapshot/api_op_GetJobUnlockCode.go.snap index ed74c9f148f..9d55cd3bfd2 100644 --- a/service/snowball/snapshot/api_op_GetJobUnlockCode.go.snap +++ b/service/snowball/snapshot/api_op_GetJobUnlockCode.go.snap @@ -14,7 +14,6 @@ GetJobUnlockCode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowball/snapshot/api_op_GetSnowballUsage.go.snap b/service/snowball/snapshot/api_op_GetSnowballUsage.go.snap index 1c81c382f7c..5d6f3d24dff 100644 --- a/service/snowball/snapshot/api_op_GetSnowballUsage.go.snap +++ b/service/snowball/snapshot/api_op_GetSnowballUsage.go.snap @@ -13,7 +13,6 @@ GetSnowballUsage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowball/snapshot/api_op_GetSoftwareUpdates.go.snap b/service/snowball/snapshot/api_op_GetSoftwareUpdates.go.snap index 860708e2442..e2a6057605f 100644 --- a/service/snowball/snapshot/api_op_GetSoftwareUpdates.go.snap +++ b/service/snowball/snapshot/api_op_GetSoftwareUpdates.go.snap @@ -14,7 +14,6 @@ GetSoftwareUpdates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowball/snapshot/api_op_ListClusterJobs.go.snap b/service/snowball/snapshot/api_op_ListClusterJobs.go.snap index 102c5a264b4..5f43a1071f7 100644 --- a/service/snowball/snapshot/api_op_ListClusterJobs.go.snap +++ b/service/snowball/snapshot/api_op_ListClusterJobs.go.snap @@ -14,7 +14,6 @@ ListClusterJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowball/snapshot/api_op_ListClusters.go.snap b/service/snowball/snapshot/api_op_ListClusters.go.snap index 48cbced5e1f..949fd968ca2 100644 --- a/service/snowball/snapshot/api_op_ListClusters.go.snap +++ b/service/snowball/snapshot/api_op_ListClusters.go.snap @@ -13,7 +13,6 @@ ListClusters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowball/snapshot/api_op_ListCompatibleImages.go.snap b/service/snowball/snapshot/api_op_ListCompatibleImages.go.snap index 8e4a7951b6a..3d452fde083 100644 --- a/service/snowball/snapshot/api_op_ListCompatibleImages.go.snap +++ b/service/snowball/snapshot/api_op_ListCompatibleImages.go.snap @@ -13,7 +13,6 @@ ListCompatibleImages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowball/snapshot/api_op_ListJobs.go.snap b/service/snowball/snapshot/api_op_ListJobs.go.snap index a2366e394ac..3ec2f2c0720 100644 --- a/service/snowball/snapshot/api_op_ListJobs.go.snap +++ b/service/snowball/snapshot/api_op_ListJobs.go.snap @@ -13,7 +13,6 @@ ListJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowball/snapshot/api_op_ListLongTermPricing.go.snap b/service/snowball/snapshot/api_op_ListLongTermPricing.go.snap index 8e525e3117f..88f9f698ea1 100644 --- a/service/snowball/snapshot/api_op_ListLongTermPricing.go.snap +++ b/service/snowball/snapshot/api_op_ListLongTermPricing.go.snap @@ -13,7 +13,6 @@ ListLongTermPricing Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowball/snapshot/api_op_ListPickupLocations.go.snap b/service/snowball/snapshot/api_op_ListPickupLocations.go.snap index bc0ee17dae7..3a6e24c0ddf 100644 --- a/service/snowball/snapshot/api_op_ListPickupLocations.go.snap +++ b/service/snowball/snapshot/api_op_ListPickupLocations.go.snap @@ -13,7 +13,6 @@ ListPickupLocations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowball/snapshot/api_op_ListServiceVersions.go.snap b/service/snowball/snapshot/api_op_ListServiceVersions.go.snap index 079360f0593..720c006ee28 100644 --- a/service/snowball/snapshot/api_op_ListServiceVersions.go.snap +++ b/service/snowball/snapshot/api_op_ListServiceVersions.go.snap @@ -14,7 +14,6 @@ ListServiceVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowball/snapshot/api_op_UpdateCluster.go.snap b/service/snowball/snapshot/api_op_UpdateCluster.go.snap index 9ff96b83973..babe61a8cd3 100644 --- a/service/snowball/snapshot/api_op_UpdateCluster.go.snap +++ b/service/snowball/snapshot/api_op_UpdateCluster.go.snap @@ -14,7 +14,6 @@ UpdateCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowball/snapshot/api_op_UpdateJob.go.snap b/service/snowball/snapshot/api_op_UpdateJob.go.snap index 15f1062c2b4..6e59316cc3e 100644 --- a/service/snowball/snapshot/api_op_UpdateJob.go.snap +++ b/service/snowball/snapshot/api_op_UpdateJob.go.snap @@ -14,7 +14,6 @@ UpdateJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowball/snapshot/api_op_UpdateJobShipmentState.go.snap b/service/snowball/snapshot/api_op_UpdateJobShipmentState.go.snap index 892a0244dd1..7050203734b 100644 --- a/service/snowball/snapshot/api_op_UpdateJobShipmentState.go.snap +++ b/service/snowball/snapshot/api_op_UpdateJobShipmentState.go.snap @@ -14,7 +14,6 @@ UpdateJobShipmentState Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowball/snapshot/api_op_UpdateLongTermPricing.go.snap b/service/snowball/snapshot/api_op_UpdateLongTermPricing.go.snap index 89d2e97664b..93bdabe01d7 100644 --- a/service/snowball/snapshot/api_op_UpdateLongTermPricing.go.snap +++ b/service/snowball/snapshot/api_op_UpdateLongTermPricing.go.snap @@ -14,7 +14,6 @@ UpdateLongTermPricing Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowdevicemanagement/api_client.go b/service/snowdevicemanagement/api_client.go index dc4f512a6ee..14c537cf14e 100644 --- a/service/snowdevicemanagement/api_client.go +++ b/service/snowdevicemanagement/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/snowdevicemanagement/api_op_CancelTask.go b/service/snowdevicemanagement/api_op_CancelTask.go index 00793820feb..f4f9f688953 100644 --- a/service/snowdevicemanagement/api_op_CancelTask.go +++ b/service/snowdevicemanagement/api_op_CancelTask.go @@ -116,9 +116,6 @@ func (c *Client) addOperationCancelTaskMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/snowdevicemanagement/api_op_CreateTask.go b/service/snowdevicemanagement/api_op_CreateTask.go index c5efaea18a6..fdac90bdabc 100644 --- a/service/snowdevicemanagement/api_op_CreateTask.go +++ b/service/snowdevicemanagement/api_op_CreateTask.go @@ -130,9 +130,6 @@ func (c *Client) addOperationCreateTaskMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateTaskMiddleware(stack, options); err != nil { return err } diff --git a/service/snowdevicemanagement/api_op_DescribeDevice.go b/service/snowdevicemanagement/api_op_DescribeDevice.go index ab72977811b..4e9ec6bd43f 100644 --- a/service/snowdevicemanagement/api_op_DescribeDevice.go +++ b/service/snowdevicemanagement/api_op_DescribeDevice.go @@ -147,9 +147,6 @@ func (c *Client) addOperationDescribeDeviceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDeviceValidationMiddleware(stack); err != nil { return err } diff --git a/service/snowdevicemanagement/api_op_DescribeDeviceEc2Instances.go b/service/snowdevicemanagement/api_op_DescribeDeviceEc2Instances.go index 0d80756d3a8..9ec168911ee 100644 --- a/service/snowdevicemanagement/api_op_DescribeDeviceEc2Instances.go +++ b/service/snowdevicemanagement/api_op_DescribeDeviceEc2Instances.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeDeviceEc2InstancesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDeviceEc2InstancesValidationMiddleware(stack); err != nil { return err } diff --git a/service/snowdevicemanagement/api_op_DescribeExecution.go b/service/snowdevicemanagement/api_op_DescribeExecution.go index 0b05f0a57c5..e4df7ebdcbe 100644 --- a/service/snowdevicemanagement/api_op_DescribeExecution.go +++ b/service/snowdevicemanagement/api_op_DescribeExecution.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeExecutionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/snowdevicemanagement/api_op_DescribeTask.go b/service/snowdevicemanagement/api_op_DescribeTask.go index 44771cb2d86..ebac30ee0c5 100644 --- a/service/snowdevicemanagement/api_op_DescribeTask.go +++ b/service/snowdevicemanagement/api_op_DescribeTask.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDescribeTaskMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/snowdevicemanagement/api_op_ListDeviceResources.go b/service/snowdevicemanagement/api_op_ListDeviceResources.go index 27f8d0b464e..5668c061069 100644 --- a/service/snowdevicemanagement/api_op_ListDeviceResources.go +++ b/service/snowdevicemanagement/api_op_ListDeviceResources.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListDeviceResourcesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDeviceResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/snowdevicemanagement/api_op_ListDevices.go b/service/snowdevicemanagement/api_op_ListDevices.go index 79b7b63d9c6..1f92d233ce0 100644 --- a/service/snowdevicemanagement/api_op_ListDevices.go +++ b/service/snowdevicemanagement/api_op_ListDevices.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListDevicesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDevices(options.Region), middleware.Before); err != nil { return err } diff --git a/service/snowdevicemanagement/api_op_ListExecutions.go b/service/snowdevicemanagement/api_op_ListExecutions.go index fe2c92c8279..b22fef9cc70 100644 --- a/service/snowdevicemanagement/api_op_ListExecutions.go +++ b/service/snowdevicemanagement/api_op_ListExecutions.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListExecutionsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListExecutionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/snowdevicemanagement/api_op_ListTagsForResource.go b/service/snowdevicemanagement/api_op_ListTagsForResource.go index 8f718d911d3..4e74f4c871f 100644 --- a/service/snowdevicemanagement/api_op_ListTagsForResource.go +++ b/service/snowdevicemanagement/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/snowdevicemanagement/api_op_ListTasks.go b/service/snowdevicemanagement/api_op_ListTasks.go index 8d0f265e263..d428b071507 100644 --- a/service/snowdevicemanagement/api_op_ListTasks.go +++ b/service/snowdevicemanagement/api_op_ListTasks.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListTasksMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTasks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/snowdevicemanagement/api_op_TagResource.go b/service/snowdevicemanagement/api_op_TagResource.go index d86772fd986..021e35b50f1 100644 --- a/service/snowdevicemanagement/api_op_TagResource.go +++ b/service/snowdevicemanagement/api_op_TagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/snowdevicemanagement/api_op_UntagResource.go b/service/snowdevicemanagement/api_op_UntagResource.go index e5cb342e47f..22695d0cc9e 100644 --- a/service/snowdevicemanagement/api_op_UntagResource.go +++ b/service/snowdevicemanagement/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/snowdevicemanagement/snapshot/api_op_CancelTask.go.snap b/service/snowdevicemanagement/snapshot/api_op_CancelTask.go.snap index 89bbf2a1de1..d3c87339a01 100644 --- a/service/snowdevicemanagement/snapshot/api_op_CancelTask.go.snap +++ b/service/snowdevicemanagement/snapshot/api_op_CancelTask.go.snap @@ -14,7 +14,6 @@ CancelTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowdevicemanagement/snapshot/api_op_CreateTask.go.snap b/service/snowdevicemanagement/snapshot/api_op_CreateTask.go.snap index 8eefe60803f..130afcca5b1 100644 --- a/service/snowdevicemanagement/snapshot/api_op_CreateTask.go.snap +++ b/service/snowdevicemanagement/snapshot/api_op_CreateTask.go.snap @@ -15,7 +15,6 @@ CreateTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowdevicemanagement/snapshot/api_op_DescribeDevice.go.snap b/service/snowdevicemanagement/snapshot/api_op_DescribeDevice.go.snap index 06526f7b2de..84ca571d68f 100644 --- a/service/snowdevicemanagement/snapshot/api_op_DescribeDevice.go.snap +++ b/service/snowdevicemanagement/snapshot/api_op_DescribeDevice.go.snap @@ -14,7 +14,6 @@ DescribeDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowdevicemanagement/snapshot/api_op_DescribeDeviceEc2Instances.go.snap b/service/snowdevicemanagement/snapshot/api_op_DescribeDeviceEc2Instances.go.snap index f522a5dbc4b..0d0ae789420 100644 --- a/service/snowdevicemanagement/snapshot/api_op_DescribeDeviceEc2Instances.go.snap +++ b/service/snowdevicemanagement/snapshot/api_op_DescribeDeviceEc2Instances.go.snap @@ -14,7 +14,6 @@ DescribeDeviceEc2Instances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowdevicemanagement/snapshot/api_op_DescribeExecution.go.snap b/service/snowdevicemanagement/snapshot/api_op_DescribeExecution.go.snap index 51e9091dbc6..72aecabf629 100644 --- a/service/snowdevicemanagement/snapshot/api_op_DescribeExecution.go.snap +++ b/service/snowdevicemanagement/snapshot/api_op_DescribeExecution.go.snap @@ -14,7 +14,6 @@ DescribeExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowdevicemanagement/snapshot/api_op_DescribeTask.go.snap b/service/snowdevicemanagement/snapshot/api_op_DescribeTask.go.snap index ee4b7e410c9..0123f40cc82 100644 --- a/service/snowdevicemanagement/snapshot/api_op_DescribeTask.go.snap +++ b/service/snowdevicemanagement/snapshot/api_op_DescribeTask.go.snap @@ -14,7 +14,6 @@ DescribeTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowdevicemanagement/snapshot/api_op_ListDeviceResources.go.snap b/service/snowdevicemanagement/snapshot/api_op_ListDeviceResources.go.snap index c822bd142f5..a1cda6b10e5 100644 --- a/service/snowdevicemanagement/snapshot/api_op_ListDeviceResources.go.snap +++ b/service/snowdevicemanagement/snapshot/api_op_ListDeviceResources.go.snap @@ -14,7 +14,6 @@ ListDeviceResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowdevicemanagement/snapshot/api_op_ListDevices.go.snap b/service/snowdevicemanagement/snapshot/api_op_ListDevices.go.snap index 590c4ca6130..2dca98d8d7a 100644 --- a/service/snowdevicemanagement/snapshot/api_op_ListDevices.go.snap +++ b/service/snowdevicemanagement/snapshot/api_op_ListDevices.go.snap @@ -13,7 +13,6 @@ ListDevices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowdevicemanagement/snapshot/api_op_ListExecutions.go.snap b/service/snowdevicemanagement/snapshot/api_op_ListExecutions.go.snap index cea1e63c399..bf1c6a17e97 100644 --- a/service/snowdevicemanagement/snapshot/api_op_ListExecutions.go.snap +++ b/service/snowdevicemanagement/snapshot/api_op_ListExecutions.go.snap @@ -14,7 +14,6 @@ ListExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowdevicemanagement/snapshot/api_op_ListTagsForResource.go.snap b/service/snowdevicemanagement/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/snowdevicemanagement/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/snowdevicemanagement/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowdevicemanagement/snapshot/api_op_ListTasks.go.snap b/service/snowdevicemanagement/snapshot/api_op_ListTasks.go.snap index ba0c48472f0..0665babbc32 100644 --- a/service/snowdevicemanagement/snapshot/api_op_ListTasks.go.snap +++ b/service/snowdevicemanagement/snapshot/api_op_ListTasks.go.snap @@ -13,7 +13,6 @@ ListTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowdevicemanagement/snapshot/api_op_TagResource.go.snap b/service/snowdevicemanagement/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/snowdevicemanagement/snapshot/api_op_TagResource.go.snap +++ b/service/snowdevicemanagement/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/snowdevicemanagement/snapshot/api_op_UntagResource.go.snap b/service/snowdevicemanagement/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/snowdevicemanagement/snapshot/api_op_UntagResource.go.snap +++ b/service/snowdevicemanagement/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/api_client.go b/service/sns/api_client.go index 49bdefc90f5..e676a882b9f 100644 --- a/service/sns/api_client.go +++ b/service/sns/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/sns/api_op_AddPermission.go b/service/sns/api_op_AddPermission.go index 264e9f211ef..ac50e9a97b9 100644 --- a/service/sns/api_op_AddPermission.go +++ b/service/sns/api_op_AddPermission.go @@ -131,9 +131,6 @@ func (c *Client) addOperationAddPermissionMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddPermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_CheckIfPhoneNumberIsOptedOut.go b/service/sns/api_op_CheckIfPhoneNumberIsOptedOut.go index 2fe97b73d62..85170fde979 100644 --- a/service/sns/api_op_CheckIfPhoneNumberIsOptedOut.go +++ b/service/sns/api_op_CheckIfPhoneNumberIsOptedOut.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCheckIfPhoneNumberIsOptedOutMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCheckIfPhoneNumberIsOptedOutValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_ConfirmSubscription.go b/service/sns/api_op_ConfirmSubscription.go index b12e43a0e1f..0530c76740a 100644 --- a/service/sns/api_op_ConfirmSubscription.go +++ b/service/sns/api_op_ConfirmSubscription.go @@ -128,9 +128,6 @@ func (c *Client) addOperationConfirmSubscriptionMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpConfirmSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_CreatePlatformApplication.go b/service/sns/api_op_CreatePlatformApplication.go index a1d6eb5de6f..ef596f9669b 100644 --- a/service/sns/api_op_CreatePlatformApplication.go +++ b/service/sns/api_op_CreatePlatformApplication.go @@ -166,9 +166,6 @@ func (c *Client) addOperationCreatePlatformApplicationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePlatformApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_CreatePlatformEndpoint.go b/service/sns/api_op_CreatePlatformEndpoint.go index ecdcb7326da..d81d5acbd41 100644 --- a/service/sns/api_op_CreatePlatformEndpoint.go +++ b/service/sns/api_op_CreatePlatformEndpoint.go @@ -146,9 +146,6 @@ func (c *Client) addOperationCreatePlatformEndpointMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePlatformEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_CreateSMSSandboxPhoneNumber.go b/service/sns/api_op_CreateSMSSandboxPhoneNumber.go index 0d42c679bff..d496468dd67 100644 --- a/service/sns/api_op_CreateSMSSandboxPhoneNumber.go +++ b/service/sns/api_op_CreateSMSSandboxPhoneNumber.go @@ -125,9 +125,6 @@ func (c *Client) addOperationCreateSMSSandboxPhoneNumberMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSMSSandboxPhoneNumberValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_CreateTopic.go b/service/sns/api_op_CreateTopic.go index 3fdfa68f28b..e03c6b04f7c 100644 --- a/service/sns/api_op_CreateTopic.go +++ b/service/sns/api_op_CreateTopic.go @@ -213,9 +213,6 @@ func (c *Client) addOperationCreateTopicMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTopicValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_DeleteEndpoint.go b/service/sns/api_op_DeleteEndpoint.go index f023c73d543..41e0808681f 100644 --- a/service/sns/api_op_DeleteEndpoint.go +++ b/service/sns/api_op_DeleteEndpoint.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteEndpointMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEndpointValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_DeletePlatformApplication.go b/service/sns/api_op_DeletePlatformApplication.go index a6f4556099a..fdd5b794ae9 100644 --- a/service/sns/api_op_DeletePlatformApplication.go +++ b/service/sns/api_op_DeletePlatformApplication.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeletePlatformApplicationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePlatformApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_DeleteSMSSandboxPhoneNumber.go b/service/sns/api_op_DeleteSMSSandboxPhoneNumber.go index 20441662a97..4f46707db29 100644 --- a/service/sns/api_op_DeleteSMSSandboxPhoneNumber.go +++ b/service/sns/api_op_DeleteSMSSandboxPhoneNumber.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteSMSSandboxPhoneNumberMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSMSSandboxPhoneNumberValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_DeleteTopic.go b/service/sns/api_op_DeleteTopic.go index 530f9589d5f..fbe577c80d5 100644 --- a/service/sns/api_op_DeleteTopic.go +++ b/service/sns/api_op_DeleteTopic.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteTopicMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTopicValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_GetDataProtectionPolicy.go b/service/sns/api_op_GetDataProtectionPolicy.go index dc2915c542f..fec0ccab74a 100644 --- a/service/sns/api_op_GetDataProtectionPolicy.go +++ b/service/sns/api_op_GetDataProtectionPolicy.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetDataProtectionPolicyMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataProtectionPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_GetEndpointAttributes.go b/service/sns/api_op_GetEndpointAttributes.go index e06bc3d07cf..09a811298dd 100644 --- a/service/sns/api_op_GetEndpointAttributes.go +++ b/service/sns/api_op_GetEndpointAttributes.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetEndpointAttributesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetEndpointAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_GetPlatformApplicationAttributes.go b/service/sns/api_op_GetPlatformApplicationAttributes.go index 7e1907c62a1..856bb513f40 100644 --- a/service/sns/api_op_GetPlatformApplicationAttributes.go +++ b/service/sns/api_op_GetPlatformApplicationAttributes.go @@ -146,9 +146,6 @@ func (c *Client) addOperationGetPlatformApplicationAttributesMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPlatformApplicationAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_GetSMSAttributes.go b/service/sns/api_op_GetSMSAttributes.go index f03bd1780ca..e76f191142e 100644 --- a/service/sns/api_op_GetSMSAttributes.go +++ b/service/sns/api_op_GetSMSAttributes.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetSMSAttributesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSMSAttributes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sns/api_op_GetSMSSandboxAccountStatus.go b/service/sns/api_op_GetSMSSandboxAccountStatus.go index eb1b5d5d06f..9bbfa989b22 100644 --- a/service/sns/api_op_GetSMSSandboxAccountStatus.go +++ b/service/sns/api_op_GetSMSSandboxAccountStatus.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetSMSSandboxAccountStatusMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSMSSandboxAccountStatus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sns/api_op_GetSubscriptionAttributes.go b/service/sns/api_op_GetSubscriptionAttributes.go index c31ee2c2c5d..0c8646a9e1f 100644 --- a/service/sns/api_op_GetSubscriptionAttributes.go +++ b/service/sns/api_op_GetSubscriptionAttributes.go @@ -172,9 +172,6 @@ func (c *Client) addOperationGetSubscriptionAttributesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSubscriptionAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_GetTopicAttributes.go b/service/sns/api_op_GetTopicAttributes.go index 914b55503c2..1b3497dab2a 100644 --- a/service/sns/api_op_GetTopicAttributes.go +++ b/service/sns/api_op_GetTopicAttributes.go @@ -192,9 +192,6 @@ func (c *Client) addOperationGetTopicAttributesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTopicAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_ListEndpointsByPlatformApplication.go b/service/sns/api_op_ListEndpointsByPlatformApplication.go index 0f1241e2111..d9f364263c9 100644 --- a/service/sns/api_op_ListEndpointsByPlatformApplication.go +++ b/service/sns/api_op_ListEndpointsByPlatformApplication.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListEndpointsByPlatformApplicationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListEndpointsByPlatformApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_ListOriginationNumbers.go b/service/sns/api_op_ListOriginationNumbers.go index 4d53961f84f..197e529bc10 100644 --- a/service/sns/api_op_ListOriginationNumbers.go +++ b/service/sns/api_op_ListOriginationNumbers.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListOriginationNumbersMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOriginationNumbers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sns/api_op_ListPhoneNumbersOptedOut.go b/service/sns/api_op_ListPhoneNumbersOptedOut.go index 1622afbc5f9..20fcfd37123 100644 --- a/service/sns/api_op_ListPhoneNumbersOptedOut.go +++ b/service/sns/api_op_ListPhoneNumbersOptedOut.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListPhoneNumbersOptedOutMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPhoneNumbersOptedOut(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sns/api_op_ListPlatformApplications.go b/service/sns/api_op_ListPlatformApplications.go index 9b967afea8e..127c6409aee 100644 --- a/service/sns/api_op_ListPlatformApplications.go +++ b/service/sns/api_op_ListPlatformApplications.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListPlatformApplicationsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPlatformApplications(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sns/api_op_ListSMSSandboxPhoneNumbers.go b/service/sns/api_op_ListSMSSandboxPhoneNumbers.go index 5144e2fd50a..747dc3f273d 100644 --- a/service/sns/api_op_ListSMSSandboxPhoneNumbers.go +++ b/service/sns/api_op_ListSMSSandboxPhoneNumbers.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListSMSSandboxPhoneNumbersMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSMSSandboxPhoneNumbers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sns/api_op_ListSubscriptions.go b/service/sns/api_op_ListSubscriptions.go index c2d87020152..7964d1977f5 100644 --- a/service/sns/api_op_ListSubscriptions.go +++ b/service/sns/api_op_ListSubscriptions.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListSubscriptionsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSubscriptions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sns/api_op_ListSubscriptionsByTopic.go b/service/sns/api_op_ListSubscriptionsByTopic.go index 51b07052ae1..1e1a8ea2ec7 100644 --- a/service/sns/api_op_ListSubscriptionsByTopic.go +++ b/service/sns/api_op_ListSubscriptionsByTopic.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListSubscriptionsByTopicMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSubscriptionsByTopicValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_ListTagsForResource.go b/service/sns/api_op_ListTagsForResource.go index 2720ea126b4..2bce2499ddf 100644 --- a/service/sns/api_op_ListTagsForResource.go +++ b/service/sns/api_op_ListTagsForResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_ListTopics.go b/service/sns/api_op_ListTopics.go index b1f5089ef41..de8928f0581 100644 --- a/service/sns/api_op_ListTopics.go +++ b/service/sns/api_op_ListTopics.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListTopicsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTopics(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sns/api_op_OptInPhoneNumber.go b/service/sns/api_op_OptInPhoneNumber.go index 00f53095db6..e8e3d4c2c3c 100644 --- a/service/sns/api_op_OptInPhoneNumber.go +++ b/service/sns/api_op_OptInPhoneNumber.go @@ -112,9 +112,6 @@ func (c *Client) addOperationOptInPhoneNumberMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpOptInPhoneNumberValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_Publish.go b/service/sns/api_op_Publish.go index 49344c778c7..4077578d735 100644 --- a/service/sns/api_op_Publish.go +++ b/service/sns/api_op_Publish.go @@ -286,9 +286,6 @@ func (c *Client) addOperationPublishMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPublishValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_PublishBatch.go b/service/sns/api_op_PublishBatch.go index bbf47d44cc5..e7a86669b51 100644 --- a/service/sns/api_op_PublishBatch.go +++ b/service/sns/api_op_PublishBatch.go @@ -147,9 +147,6 @@ func (c *Client) addOperationPublishBatchMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPublishBatchValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_PutDataProtectionPolicy.go b/service/sns/api_op_PutDataProtectionPolicy.go index 82233b10ddc..81e75f66da3 100644 --- a/service/sns/api_op_PutDataProtectionPolicy.go +++ b/service/sns/api_op_PutDataProtectionPolicy.go @@ -122,9 +122,6 @@ func (c *Client) addOperationPutDataProtectionPolicyMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutDataProtectionPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_RemovePermission.go b/service/sns/api_op_RemovePermission.go index f8f8cfc3ac2..51461554a59 100644 --- a/service/sns/api_op_RemovePermission.go +++ b/service/sns/api_op_RemovePermission.go @@ -117,9 +117,6 @@ func (c *Client) addOperationRemovePermissionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemovePermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_SetEndpointAttributes.go b/service/sns/api_op_SetEndpointAttributes.go index a13967cc1a9..54bfd176d8e 100644 --- a/service/sns/api_op_SetEndpointAttributes.go +++ b/service/sns/api_op_SetEndpointAttributes.go @@ -129,9 +129,6 @@ func (c *Client) addOperationSetEndpointAttributesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetEndpointAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_SetPlatformApplicationAttributes.go b/service/sns/api_op_SetPlatformApplicationAttributes.go index e6677446549..241afcc48a1 100644 --- a/service/sns/api_op_SetPlatformApplicationAttributes.go +++ b/service/sns/api_op_SetPlatformApplicationAttributes.go @@ -182,9 +182,6 @@ func (c *Client) addOperationSetPlatformApplicationAttributesMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetPlatformApplicationAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_SetSMSAttributes.go b/service/sns/api_op_SetSMSAttributes.go index e6387d56058..2e3513019d5 100644 --- a/service/sns/api_op_SetSMSAttributes.go +++ b/service/sns/api_op_SetSMSAttributes.go @@ -193,9 +193,6 @@ func (c *Client) addOperationSetSMSAttributesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetSMSAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_SetSubscriptionAttributes.go b/service/sns/api_op_SetSubscriptionAttributes.go index 4726494b7fc..8d22c6e16c9 100644 --- a/service/sns/api_op_SetSubscriptionAttributes.go +++ b/service/sns/api_op_SetSubscriptionAttributes.go @@ -161,9 +161,6 @@ func (c *Client) addOperationSetSubscriptionAttributesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetSubscriptionAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_SetTopicAttributes.go b/service/sns/api_op_SetTopicAttributes.go index b11a084e701..49379a1a997 100644 --- a/service/sns/api_op_SetTopicAttributes.go +++ b/service/sns/api_op_SetTopicAttributes.go @@ -267,9 +267,6 @@ func (c *Client) addOperationSetTopicAttributesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetTopicAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_Subscribe.go b/service/sns/api_op_Subscribe.go index 61729bef8d0..b9d679c56d3 100644 --- a/service/sns/api_op_Subscribe.go +++ b/service/sns/api_op_Subscribe.go @@ -255,9 +255,6 @@ func (c *Client) addOperationSubscribeMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSubscribeValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_TagResource.go b/service/sns/api_op_TagResource.go index 137113f3875..b05cf27e13c 100644 --- a/service/sns/api_op_TagResource.go +++ b/service/sns/api_op_TagResource.go @@ -134,9 +134,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_Unsubscribe.go b/service/sns/api_op_Unsubscribe.go index cf7e98c1dac..5ec0c167784 100644 --- a/service/sns/api_op_Unsubscribe.go +++ b/service/sns/api_op_Unsubscribe.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUnsubscribeMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUnsubscribeValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_UntagResource.go b/service/sns/api_op_UntagResource.go index e4edb711a0b..0c18f0545db 100644 --- a/service/sns/api_op_UntagResource.go +++ b/service/sns/api_op_UntagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/api_op_VerifySMSSandboxPhoneNumber.go b/service/sns/api_op_VerifySMSSandboxPhoneNumber.go index 009cf80b53d..28eb5217ada 100644 --- a/service/sns/api_op_VerifySMSSandboxPhoneNumber.go +++ b/service/sns/api_op_VerifySMSSandboxPhoneNumber.go @@ -126,9 +126,6 @@ func (c *Client) addOperationVerifySMSSandboxPhoneNumberMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpVerifySMSSandboxPhoneNumberValidationMiddleware(stack); err != nil { return err } diff --git a/service/sns/snapshot/api_op_AddPermission.go.snap b/service/sns/snapshot/api_op_AddPermission.go.snap index ea376215034..c1d7dd738da 100644 --- a/service/sns/snapshot/api_op_AddPermission.go.snap +++ b/service/sns/snapshot/api_op_AddPermission.go.snap @@ -14,7 +14,6 @@ AddPermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_CheckIfPhoneNumberIsOptedOut.go.snap b/service/sns/snapshot/api_op_CheckIfPhoneNumberIsOptedOut.go.snap index a65c661da88..c1cf828a1a5 100644 --- a/service/sns/snapshot/api_op_CheckIfPhoneNumberIsOptedOut.go.snap +++ b/service/sns/snapshot/api_op_CheckIfPhoneNumberIsOptedOut.go.snap @@ -14,7 +14,6 @@ CheckIfPhoneNumberIsOptedOut Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_ConfirmSubscription.go.snap b/service/sns/snapshot/api_op_ConfirmSubscription.go.snap index a52b2f69289..b61e62b97c7 100644 --- a/service/sns/snapshot/api_op_ConfirmSubscription.go.snap +++ b/service/sns/snapshot/api_op_ConfirmSubscription.go.snap @@ -14,7 +14,6 @@ ConfirmSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_CreatePlatformApplication.go.snap b/service/sns/snapshot/api_op_CreatePlatformApplication.go.snap index 19c46f39e61..d9307f3132f 100644 --- a/service/sns/snapshot/api_op_CreatePlatformApplication.go.snap +++ b/service/sns/snapshot/api_op_CreatePlatformApplication.go.snap @@ -14,7 +14,6 @@ CreatePlatformApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_CreatePlatformEndpoint.go.snap b/service/sns/snapshot/api_op_CreatePlatformEndpoint.go.snap index 408c044edb2..a2e24e4b218 100644 --- a/service/sns/snapshot/api_op_CreatePlatformEndpoint.go.snap +++ b/service/sns/snapshot/api_op_CreatePlatformEndpoint.go.snap @@ -14,7 +14,6 @@ CreatePlatformEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_CreateSMSSandboxPhoneNumber.go.snap b/service/sns/snapshot/api_op_CreateSMSSandboxPhoneNumber.go.snap index 18c6cc3cb3a..79b2120a721 100644 --- a/service/sns/snapshot/api_op_CreateSMSSandboxPhoneNumber.go.snap +++ b/service/sns/snapshot/api_op_CreateSMSSandboxPhoneNumber.go.snap @@ -14,7 +14,6 @@ CreateSMSSandboxPhoneNumber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_CreateTopic.go.snap b/service/sns/snapshot/api_op_CreateTopic.go.snap index 189d36b73b4..efe0f527128 100644 --- a/service/sns/snapshot/api_op_CreateTopic.go.snap +++ b/service/sns/snapshot/api_op_CreateTopic.go.snap @@ -14,7 +14,6 @@ CreateTopic Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_DeleteEndpoint.go.snap b/service/sns/snapshot/api_op_DeleteEndpoint.go.snap index 0f46907f489..c4648fb3e07 100644 --- a/service/sns/snapshot/api_op_DeleteEndpoint.go.snap +++ b/service/sns/snapshot/api_op_DeleteEndpoint.go.snap @@ -14,7 +14,6 @@ DeleteEndpoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_DeletePlatformApplication.go.snap b/service/sns/snapshot/api_op_DeletePlatformApplication.go.snap index 7c3180a938e..ebd19fce6e5 100644 --- a/service/sns/snapshot/api_op_DeletePlatformApplication.go.snap +++ b/service/sns/snapshot/api_op_DeletePlatformApplication.go.snap @@ -14,7 +14,6 @@ DeletePlatformApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_DeleteSMSSandboxPhoneNumber.go.snap b/service/sns/snapshot/api_op_DeleteSMSSandboxPhoneNumber.go.snap index 581af347ddc..ff88eea342e 100644 --- a/service/sns/snapshot/api_op_DeleteSMSSandboxPhoneNumber.go.snap +++ b/service/sns/snapshot/api_op_DeleteSMSSandboxPhoneNumber.go.snap @@ -14,7 +14,6 @@ DeleteSMSSandboxPhoneNumber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_DeleteTopic.go.snap b/service/sns/snapshot/api_op_DeleteTopic.go.snap index 76c7adc477f..37cf7be6177 100644 --- a/service/sns/snapshot/api_op_DeleteTopic.go.snap +++ b/service/sns/snapshot/api_op_DeleteTopic.go.snap @@ -14,7 +14,6 @@ DeleteTopic Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_GetDataProtectionPolicy.go.snap b/service/sns/snapshot/api_op_GetDataProtectionPolicy.go.snap index 7e10b148653..453e0a0b2a5 100644 --- a/service/sns/snapshot/api_op_GetDataProtectionPolicy.go.snap +++ b/service/sns/snapshot/api_op_GetDataProtectionPolicy.go.snap @@ -14,7 +14,6 @@ GetDataProtectionPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_GetEndpointAttributes.go.snap b/service/sns/snapshot/api_op_GetEndpointAttributes.go.snap index 94990cdf99a..fee2bab5cff 100644 --- a/service/sns/snapshot/api_op_GetEndpointAttributes.go.snap +++ b/service/sns/snapshot/api_op_GetEndpointAttributes.go.snap @@ -14,7 +14,6 @@ GetEndpointAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_GetPlatformApplicationAttributes.go.snap b/service/sns/snapshot/api_op_GetPlatformApplicationAttributes.go.snap index 43278cb795e..80f9fc8d6e3 100644 --- a/service/sns/snapshot/api_op_GetPlatformApplicationAttributes.go.snap +++ b/service/sns/snapshot/api_op_GetPlatformApplicationAttributes.go.snap @@ -14,7 +14,6 @@ GetPlatformApplicationAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_GetSMSAttributes.go.snap b/service/sns/snapshot/api_op_GetSMSAttributes.go.snap index 927eb9627e2..27d5dbefd2b 100644 --- a/service/sns/snapshot/api_op_GetSMSAttributes.go.snap +++ b/service/sns/snapshot/api_op_GetSMSAttributes.go.snap @@ -13,7 +13,6 @@ GetSMSAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_GetSMSSandboxAccountStatus.go.snap b/service/sns/snapshot/api_op_GetSMSSandboxAccountStatus.go.snap index 95400cb244b..d6970b9d458 100644 --- a/service/sns/snapshot/api_op_GetSMSSandboxAccountStatus.go.snap +++ b/service/sns/snapshot/api_op_GetSMSSandboxAccountStatus.go.snap @@ -13,7 +13,6 @@ GetSMSSandboxAccountStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_GetSubscriptionAttributes.go.snap b/service/sns/snapshot/api_op_GetSubscriptionAttributes.go.snap index 57f52327bf7..2eab5a40995 100644 --- a/service/sns/snapshot/api_op_GetSubscriptionAttributes.go.snap +++ b/service/sns/snapshot/api_op_GetSubscriptionAttributes.go.snap @@ -14,7 +14,6 @@ GetSubscriptionAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_GetTopicAttributes.go.snap b/service/sns/snapshot/api_op_GetTopicAttributes.go.snap index 4bda120a37a..c611080fb11 100644 --- a/service/sns/snapshot/api_op_GetTopicAttributes.go.snap +++ b/service/sns/snapshot/api_op_GetTopicAttributes.go.snap @@ -14,7 +14,6 @@ GetTopicAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_ListEndpointsByPlatformApplication.go.snap b/service/sns/snapshot/api_op_ListEndpointsByPlatformApplication.go.snap index db50e333a98..e535331ca52 100644 --- a/service/sns/snapshot/api_op_ListEndpointsByPlatformApplication.go.snap +++ b/service/sns/snapshot/api_op_ListEndpointsByPlatformApplication.go.snap @@ -14,7 +14,6 @@ ListEndpointsByPlatformApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_ListOriginationNumbers.go.snap b/service/sns/snapshot/api_op_ListOriginationNumbers.go.snap index 5f3f5eb9da4..fe93fd92e7f 100644 --- a/service/sns/snapshot/api_op_ListOriginationNumbers.go.snap +++ b/service/sns/snapshot/api_op_ListOriginationNumbers.go.snap @@ -13,7 +13,6 @@ ListOriginationNumbers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_ListPhoneNumbersOptedOut.go.snap b/service/sns/snapshot/api_op_ListPhoneNumbersOptedOut.go.snap index 2d41d984b77..729ca62be30 100644 --- a/service/sns/snapshot/api_op_ListPhoneNumbersOptedOut.go.snap +++ b/service/sns/snapshot/api_op_ListPhoneNumbersOptedOut.go.snap @@ -13,7 +13,6 @@ ListPhoneNumbersOptedOut Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_ListPlatformApplications.go.snap b/service/sns/snapshot/api_op_ListPlatformApplications.go.snap index 833283fb158..c567266a6af 100644 --- a/service/sns/snapshot/api_op_ListPlatformApplications.go.snap +++ b/service/sns/snapshot/api_op_ListPlatformApplications.go.snap @@ -13,7 +13,6 @@ ListPlatformApplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_ListSMSSandboxPhoneNumbers.go.snap b/service/sns/snapshot/api_op_ListSMSSandboxPhoneNumbers.go.snap index 1393603605a..9e57ef68b23 100644 --- a/service/sns/snapshot/api_op_ListSMSSandboxPhoneNumbers.go.snap +++ b/service/sns/snapshot/api_op_ListSMSSandboxPhoneNumbers.go.snap @@ -13,7 +13,6 @@ ListSMSSandboxPhoneNumbers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_ListSubscriptions.go.snap b/service/sns/snapshot/api_op_ListSubscriptions.go.snap index 7e6b86035fd..ea63b14bb9a 100644 --- a/service/sns/snapshot/api_op_ListSubscriptions.go.snap +++ b/service/sns/snapshot/api_op_ListSubscriptions.go.snap @@ -13,7 +13,6 @@ ListSubscriptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_ListSubscriptionsByTopic.go.snap b/service/sns/snapshot/api_op_ListSubscriptionsByTopic.go.snap index fffa81b42ba..b6528908e49 100644 --- a/service/sns/snapshot/api_op_ListSubscriptionsByTopic.go.snap +++ b/service/sns/snapshot/api_op_ListSubscriptionsByTopic.go.snap @@ -14,7 +14,6 @@ ListSubscriptionsByTopic Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_ListTagsForResource.go.snap b/service/sns/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/sns/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/sns/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_ListTopics.go.snap b/service/sns/snapshot/api_op_ListTopics.go.snap index 4fe80926671..d0327e8b38e 100644 --- a/service/sns/snapshot/api_op_ListTopics.go.snap +++ b/service/sns/snapshot/api_op_ListTopics.go.snap @@ -13,7 +13,6 @@ ListTopics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_OptInPhoneNumber.go.snap b/service/sns/snapshot/api_op_OptInPhoneNumber.go.snap index 0aaeca673ed..76b71b387c3 100644 --- a/service/sns/snapshot/api_op_OptInPhoneNumber.go.snap +++ b/service/sns/snapshot/api_op_OptInPhoneNumber.go.snap @@ -14,7 +14,6 @@ OptInPhoneNumber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_Publish.go.snap b/service/sns/snapshot/api_op_Publish.go.snap index 5c56b6d73e7..ef2a2f04a59 100644 --- a/service/sns/snapshot/api_op_Publish.go.snap +++ b/service/sns/snapshot/api_op_Publish.go.snap @@ -14,7 +14,6 @@ Publish Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_PublishBatch.go.snap b/service/sns/snapshot/api_op_PublishBatch.go.snap index 3407809c316..7d7df3eae2f 100644 --- a/service/sns/snapshot/api_op_PublishBatch.go.snap +++ b/service/sns/snapshot/api_op_PublishBatch.go.snap @@ -14,7 +14,6 @@ PublishBatch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_PutDataProtectionPolicy.go.snap b/service/sns/snapshot/api_op_PutDataProtectionPolicy.go.snap index 5b4948e35fd..65af3fece14 100644 --- a/service/sns/snapshot/api_op_PutDataProtectionPolicy.go.snap +++ b/service/sns/snapshot/api_op_PutDataProtectionPolicy.go.snap @@ -14,7 +14,6 @@ PutDataProtectionPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_RemovePermission.go.snap b/service/sns/snapshot/api_op_RemovePermission.go.snap index 65d7c5c329f..d2d8964fdb1 100644 --- a/service/sns/snapshot/api_op_RemovePermission.go.snap +++ b/service/sns/snapshot/api_op_RemovePermission.go.snap @@ -14,7 +14,6 @@ RemovePermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_SetEndpointAttributes.go.snap b/service/sns/snapshot/api_op_SetEndpointAttributes.go.snap index 9c75279e6ec..0899e1abb13 100644 --- a/service/sns/snapshot/api_op_SetEndpointAttributes.go.snap +++ b/service/sns/snapshot/api_op_SetEndpointAttributes.go.snap @@ -14,7 +14,6 @@ SetEndpointAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_SetPlatformApplicationAttributes.go.snap b/service/sns/snapshot/api_op_SetPlatformApplicationAttributes.go.snap index cd52d247162..fad6c56a95d 100644 --- a/service/sns/snapshot/api_op_SetPlatformApplicationAttributes.go.snap +++ b/service/sns/snapshot/api_op_SetPlatformApplicationAttributes.go.snap @@ -14,7 +14,6 @@ SetPlatformApplicationAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_SetSMSAttributes.go.snap b/service/sns/snapshot/api_op_SetSMSAttributes.go.snap index 13d66111891..51579537ff8 100644 --- a/service/sns/snapshot/api_op_SetSMSAttributes.go.snap +++ b/service/sns/snapshot/api_op_SetSMSAttributes.go.snap @@ -14,7 +14,6 @@ SetSMSAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_SetSubscriptionAttributes.go.snap b/service/sns/snapshot/api_op_SetSubscriptionAttributes.go.snap index 7beef45e835..5a0c75185f6 100644 --- a/service/sns/snapshot/api_op_SetSubscriptionAttributes.go.snap +++ b/service/sns/snapshot/api_op_SetSubscriptionAttributes.go.snap @@ -14,7 +14,6 @@ SetSubscriptionAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_SetTopicAttributes.go.snap b/service/sns/snapshot/api_op_SetTopicAttributes.go.snap index f5a060a700a..fa20b65f6a8 100644 --- a/service/sns/snapshot/api_op_SetTopicAttributes.go.snap +++ b/service/sns/snapshot/api_op_SetTopicAttributes.go.snap @@ -14,7 +14,6 @@ SetTopicAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_Subscribe.go.snap b/service/sns/snapshot/api_op_Subscribe.go.snap index 2c3eca135e9..e1cd0b93e66 100644 --- a/service/sns/snapshot/api_op_Subscribe.go.snap +++ b/service/sns/snapshot/api_op_Subscribe.go.snap @@ -14,7 +14,6 @@ Subscribe Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_TagResource.go.snap b/service/sns/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/sns/snapshot/api_op_TagResource.go.snap +++ b/service/sns/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_Unsubscribe.go.snap b/service/sns/snapshot/api_op_Unsubscribe.go.snap index bb92672f5ef..7d5bb790759 100644 --- a/service/sns/snapshot/api_op_Unsubscribe.go.snap +++ b/service/sns/snapshot/api_op_Unsubscribe.go.snap @@ -14,7 +14,6 @@ Unsubscribe Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_UntagResource.go.snap b/service/sns/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/sns/snapshot/api_op_UntagResource.go.snap +++ b/service/sns/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sns/snapshot/api_op_VerifySMSSandboxPhoneNumber.go.snap b/service/sns/snapshot/api_op_VerifySMSSandboxPhoneNumber.go.snap index 6f70995dffb..1324f07d9a1 100644 --- a/service/sns/snapshot/api_op_VerifySMSSandboxPhoneNumber.go.snap +++ b/service/sns/snapshot/api_op_VerifySMSSandboxPhoneNumber.go.snap @@ -14,7 +14,6 @@ VerifySMSSandboxPhoneNumber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/socialmessaging/api_client.go b/service/socialmessaging/api_client.go index 392bdb6f2c8..93571b8464c 100644 --- a/service/socialmessaging/api_client.go +++ b/service/socialmessaging/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/socialmessaging/api_op_AssociateWhatsAppBusinessAccount.go b/service/socialmessaging/api_op_AssociateWhatsAppBusinessAccount.go index 07b6915235f..ae44d68df05 100644 --- a/service/socialmessaging/api_op_AssociateWhatsAppBusinessAccount.go +++ b/service/socialmessaging/api_op_AssociateWhatsAppBusinessAccount.go @@ -118,9 +118,6 @@ func (c *Client) addOperationAssociateWhatsAppBusinessAccountMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateWhatsAppBusinessAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/socialmessaging/api_op_DeleteWhatsAppMessageMedia.go b/service/socialmessaging/api_op_DeleteWhatsAppMessageMedia.go index beb3dc6e71a..91970ebfb8b 100644 --- a/service/socialmessaging/api_op_DeleteWhatsAppMessageMedia.go +++ b/service/socialmessaging/api_op_DeleteWhatsAppMessageMedia.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDeleteWhatsAppMessageMediaMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWhatsAppMessageMediaValidationMiddleware(stack); err != nil { return err } diff --git a/service/socialmessaging/api_op_DisassociateWhatsAppBusinessAccount.go b/service/socialmessaging/api_op_DisassociateWhatsAppBusinessAccount.go index 3b6300547fb..d2f932910f7 100644 --- a/service/socialmessaging/api_op_DisassociateWhatsAppBusinessAccount.go +++ b/service/socialmessaging/api_op_DisassociateWhatsAppBusinessAccount.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDisassociateWhatsAppBusinessAccountMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateWhatsAppBusinessAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/socialmessaging/api_op_GetLinkedWhatsAppBusinessAccount.go b/service/socialmessaging/api_op_GetLinkedWhatsAppBusinessAccount.go index 58cc6e9532c..9df5b9e07d4 100644 --- a/service/socialmessaging/api_op_GetLinkedWhatsAppBusinessAccount.go +++ b/service/socialmessaging/api_op_GetLinkedWhatsAppBusinessAccount.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetLinkedWhatsAppBusinessAccountMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLinkedWhatsAppBusinessAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/socialmessaging/api_op_GetLinkedWhatsAppBusinessAccountPhoneNumber.go b/service/socialmessaging/api_op_GetLinkedWhatsAppBusinessAccountPhoneNumber.go index 05846ce4b1a..b6c7be320e0 100644 --- a/service/socialmessaging/api_op_GetLinkedWhatsAppBusinessAccountPhoneNumber.go +++ b/service/socialmessaging/api_op_GetLinkedWhatsAppBusinessAccountPhoneNumber.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetLinkedWhatsAppBusinessAccountPhoneNumberMiddlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLinkedWhatsAppBusinessAccountPhoneNumberValidationMiddleware(stack); err != nil { return err } diff --git a/service/socialmessaging/api_op_GetWhatsAppMessageMedia.go b/service/socialmessaging/api_op_GetWhatsAppMessageMedia.go index a50a000a984..f7a14b125b4 100644 --- a/service/socialmessaging/api_op_GetWhatsAppMessageMedia.go +++ b/service/socialmessaging/api_op_GetWhatsAppMessageMedia.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGetWhatsAppMessageMediaMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWhatsAppMessageMediaValidationMiddleware(stack); err != nil { return err } diff --git a/service/socialmessaging/api_op_ListLinkedWhatsAppBusinessAccounts.go b/service/socialmessaging/api_op_ListLinkedWhatsAppBusinessAccounts.go index 86907321c89..404eb939184 100644 --- a/service/socialmessaging/api_op_ListLinkedWhatsAppBusinessAccounts.go +++ b/service/socialmessaging/api_op_ListLinkedWhatsAppBusinessAccounts.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListLinkedWhatsAppBusinessAccountsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLinkedWhatsAppBusinessAccounts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/socialmessaging/api_op_ListTagsForResource.go b/service/socialmessaging/api_op_ListTagsForResource.go index b273f584fe9..35cd9c3c3f9 100644 --- a/service/socialmessaging/api_op_ListTagsForResource.go +++ b/service/socialmessaging/api_op_ListTagsForResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/socialmessaging/api_op_PostWhatsAppMessageMedia.go b/service/socialmessaging/api_op_PostWhatsAppMessageMedia.go index 43f056c220f..1b9d923f053 100644 --- a/service/socialmessaging/api_op_PostWhatsAppMessageMedia.go +++ b/service/socialmessaging/api_op_PostWhatsAppMessageMedia.go @@ -128,9 +128,6 @@ func (c *Client) addOperationPostWhatsAppMessageMediaMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPostWhatsAppMessageMediaValidationMiddleware(stack); err != nil { return err } diff --git a/service/socialmessaging/api_op_PutWhatsAppBusinessAccountEventDestinations.go b/service/socialmessaging/api_op_PutWhatsAppBusinessAccountEventDestinations.go index a71f4470abb..14506bbabb6 100644 --- a/service/socialmessaging/api_op_PutWhatsAppBusinessAccountEventDestinations.go +++ b/service/socialmessaging/api_op_PutWhatsAppBusinessAccountEventDestinations.go @@ -119,9 +119,6 @@ func (c *Client) addOperationPutWhatsAppBusinessAccountEventDestinationsMiddlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutWhatsAppBusinessAccountEventDestinationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/socialmessaging/api_op_SendWhatsAppMessage.go b/service/socialmessaging/api_op_SendWhatsAppMessage.go index 280083b9048..a25ab2b252b 100644 --- a/service/socialmessaging/api_op_SendWhatsAppMessage.go +++ b/service/socialmessaging/api_op_SendWhatsAppMessage.go @@ -139,9 +139,6 @@ func (c *Client) addOperationSendWhatsAppMessageMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendWhatsAppMessageValidationMiddleware(stack); err != nil { return err } diff --git a/service/socialmessaging/api_op_TagResource.go b/service/socialmessaging/api_op_TagResource.go index 3237654a090..50ca8d94e6b 100644 --- a/service/socialmessaging/api_op_TagResource.go +++ b/service/socialmessaging/api_op_TagResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/socialmessaging/api_op_UntagResource.go b/service/socialmessaging/api_op_UntagResource.go index cca8e500a7a..fd73d6e27a1 100644 --- a/service/socialmessaging/api_op_UntagResource.go +++ b/service/socialmessaging/api_op_UntagResource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/socialmessaging/snapshot/api_op_AssociateWhatsAppBusinessAccount.go.snap b/service/socialmessaging/snapshot/api_op_AssociateWhatsAppBusinessAccount.go.snap index 205f4fd615d..4eec24dc2c2 100644 --- a/service/socialmessaging/snapshot/api_op_AssociateWhatsAppBusinessAccount.go.snap +++ b/service/socialmessaging/snapshot/api_op_AssociateWhatsAppBusinessAccount.go.snap @@ -14,7 +14,6 @@ AssociateWhatsAppBusinessAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/socialmessaging/snapshot/api_op_DeleteWhatsAppMessageMedia.go.snap b/service/socialmessaging/snapshot/api_op_DeleteWhatsAppMessageMedia.go.snap index 266f1bc97b3..c285f737784 100644 --- a/service/socialmessaging/snapshot/api_op_DeleteWhatsAppMessageMedia.go.snap +++ b/service/socialmessaging/snapshot/api_op_DeleteWhatsAppMessageMedia.go.snap @@ -14,7 +14,6 @@ DeleteWhatsAppMessageMedia Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/socialmessaging/snapshot/api_op_DisassociateWhatsAppBusinessAccount.go.snap b/service/socialmessaging/snapshot/api_op_DisassociateWhatsAppBusinessAccount.go.snap index 75ae831c6f9..ae0a7c73fd6 100644 --- a/service/socialmessaging/snapshot/api_op_DisassociateWhatsAppBusinessAccount.go.snap +++ b/service/socialmessaging/snapshot/api_op_DisassociateWhatsAppBusinessAccount.go.snap @@ -14,7 +14,6 @@ DisassociateWhatsAppBusinessAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/socialmessaging/snapshot/api_op_GetLinkedWhatsAppBusinessAccount.go.snap b/service/socialmessaging/snapshot/api_op_GetLinkedWhatsAppBusinessAccount.go.snap index ba74b3337c2..b98a60c54ba 100644 --- a/service/socialmessaging/snapshot/api_op_GetLinkedWhatsAppBusinessAccount.go.snap +++ b/service/socialmessaging/snapshot/api_op_GetLinkedWhatsAppBusinessAccount.go.snap @@ -14,7 +14,6 @@ GetLinkedWhatsAppBusinessAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/socialmessaging/snapshot/api_op_GetLinkedWhatsAppBusinessAccountPhoneNumber.go.snap b/service/socialmessaging/snapshot/api_op_GetLinkedWhatsAppBusinessAccountPhoneNumber.go.snap index 071948fcd6e..4e7238dc055 100644 --- a/service/socialmessaging/snapshot/api_op_GetLinkedWhatsAppBusinessAccountPhoneNumber.go.snap +++ b/service/socialmessaging/snapshot/api_op_GetLinkedWhatsAppBusinessAccountPhoneNumber.go.snap @@ -14,7 +14,6 @@ GetLinkedWhatsAppBusinessAccountPhoneNumber Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/socialmessaging/snapshot/api_op_GetWhatsAppMessageMedia.go.snap b/service/socialmessaging/snapshot/api_op_GetWhatsAppMessageMedia.go.snap index 12372d3c332..91673ef4d81 100644 --- a/service/socialmessaging/snapshot/api_op_GetWhatsAppMessageMedia.go.snap +++ b/service/socialmessaging/snapshot/api_op_GetWhatsAppMessageMedia.go.snap @@ -14,7 +14,6 @@ GetWhatsAppMessageMedia Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/socialmessaging/snapshot/api_op_ListLinkedWhatsAppBusinessAccounts.go.snap b/service/socialmessaging/snapshot/api_op_ListLinkedWhatsAppBusinessAccounts.go.snap index a6501ea18ae..a140df84fd8 100644 --- a/service/socialmessaging/snapshot/api_op_ListLinkedWhatsAppBusinessAccounts.go.snap +++ b/service/socialmessaging/snapshot/api_op_ListLinkedWhatsAppBusinessAccounts.go.snap @@ -13,7 +13,6 @@ ListLinkedWhatsAppBusinessAccounts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/socialmessaging/snapshot/api_op_ListTagsForResource.go.snap b/service/socialmessaging/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/socialmessaging/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/socialmessaging/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/socialmessaging/snapshot/api_op_PostWhatsAppMessageMedia.go.snap b/service/socialmessaging/snapshot/api_op_PostWhatsAppMessageMedia.go.snap index b87b0261c15..f6fd81ee67f 100644 --- a/service/socialmessaging/snapshot/api_op_PostWhatsAppMessageMedia.go.snap +++ b/service/socialmessaging/snapshot/api_op_PostWhatsAppMessageMedia.go.snap @@ -14,7 +14,6 @@ PostWhatsAppMessageMedia Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/socialmessaging/snapshot/api_op_PutWhatsAppBusinessAccountEventDestinations.go.snap b/service/socialmessaging/snapshot/api_op_PutWhatsAppBusinessAccountEventDestinations.go.snap index cf3a2564d54..5d9d32d36f6 100644 --- a/service/socialmessaging/snapshot/api_op_PutWhatsAppBusinessAccountEventDestinations.go.snap +++ b/service/socialmessaging/snapshot/api_op_PutWhatsAppBusinessAccountEventDestinations.go.snap @@ -14,7 +14,6 @@ PutWhatsAppBusinessAccountEventDestinations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/socialmessaging/snapshot/api_op_SendWhatsAppMessage.go.snap b/service/socialmessaging/snapshot/api_op_SendWhatsAppMessage.go.snap index 1822ffcce50..3e13ee61fa3 100644 --- a/service/socialmessaging/snapshot/api_op_SendWhatsAppMessage.go.snap +++ b/service/socialmessaging/snapshot/api_op_SendWhatsAppMessage.go.snap @@ -14,7 +14,6 @@ SendWhatsAppMessage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/socialmessaging/snapshot/api_op_TagResource.go.snap b/service/socialmessaging/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/socialmessaging/snapshot/api_op_TagResource.go.snap +++ b/service/socialmessaging/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/socialmessaging/snapshot/api_op_UntagResource.go.snap b/service/socialmessaging/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/socialmessaging/snapshot/api_op_UntagResource.go.snap +++ b/service/socialmessaging/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sqs/api_client.go b/service/sqs/api_client.go index 3ed1719b0a3..0e0ff519005 100644 --- a/service/sqs/api_client.go +++ b/service/sqs/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/sqs/api_op_AddPermission.go b/service/sqs/api_op_AddPermission.go index f1f29a39248..aa538e1d043 100644 --- a/service/sqs/api_op_AddPermission.go +++ b/service/sqs/api_op_AddPermission.go @@ -167,9 +167,6 @@ func (c *Client) addOperationAddPermissionMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddPermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_CancelMessageMoveTask.go b/service/sqs/api_op_CancelMessageMoveTask.go index 7eeb438a79f..7063f31be20 100644 --- a/service/sqs/api_op_CancelMessageMoveTask.go +++ b/service/sqs/api_op_CancelMessageMoveTask.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCancelMessageMoveTaskMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelMessageMoveTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_ChangeMessageVisibility.go b/service/sqs/api_op_ChangeMessageVisibility.go index eb3fbce9091..cdd0bf25b3b 100644 --- a/service/sqs/api_op_ChangeMessageVisibility.go +++ b/service/sqs/api_op_ChangeMessageVisibility.go @@ -176,9 +176,6 @@ func (c *Client) addOperationChangeMessageVisibilityMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpChangeMessageVisibilityValidationMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_ChangeMessageVisibilityBatch.go b/service/sqs/api_op_ChangeMessageVisibilityBatch.go index a5c02ecbe5c..df8b93cc831 100644 --- a/service/sqs/api_op_ChangeMessageVisibilityBatch.go +++ b/service/sqs/api_op_ChangeMessageVisibilityBatch.go @@ -136,9 +136,6 @@ func (c *Client) addOperationChangeMessageVisibilityBatchMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpChangeMessageVisibilityBatchValidationMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_CreateQueue.go b/service/sqs/api_op_CreateQueue.go index a6f9b66230c..47e5cd20926 100644 --- a/service/sqs/api_op_CreateQueue.go +++ b/service/sqs/api_op_CreateQueue.go @@ -366,9 +366,6 @@ func (c *Client) addOperationCreateQueueMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateQueueValidationMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_DeleteMessage.go b/service/sqs/api_op_DeleteMessage.go index 16017534df0..aa71f99263c 100644 --- a/service/sqs/api_op_DeleteMessage.go +++ b/service/sqs/api_op_DeleteMessage.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDeleteMessageMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMessageValidationMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_DeleteMessageBatch.go b/service/sqs/api_op_DeleteMessageBatch.go index 17422015352..957a661dd77 100644 --- a/service/sqs/api_op_DeleteMessageBatch.go +++ b/service/sqs/api_op_DeleteMessageBatch.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDeleteMessageBatchMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMessageBatchValidationMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_DeleteQueue.go b/service/sqs/api_op_DeleteQueue.go index 58c554184d9..bb6c68c193c 100644 --- a/service/sqs/api_op_DeleteQueue.go +++ b/service/sqs/api_op_DeleteQueue.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDeleteQueueMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteQueueValidationMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_GetQueueAttributes.go b/service/sqs/api_op_GetQueueAttributes.go index 0595e999187..8e0894a6177 100644 --- a/service/sqs/api_op_GetQueueAttributes.go +++ b/service/sqs/api_op_GetQueueAttributes.go @@ -284,9 +284,6 @@ func (c *Client) addOperationGetQueueAttributesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetQueueAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_GetQueueUrl.go b/service/sqs/api_op_GetQueueUrl.go index 429e24ac3d1..dd01ce10dc9 100644 --- a/service/sqs/api_op_GetQueueUrl.go +++ b/service/sqs/api_op_GetQueueUrl.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetQueueUrlMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetQueueUrlValidationMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_ListDeadLetterSourceQueues.go b/service/sqs/api_op_ListDeadLetterSourceQueues.go index 2a0f903995d..a66822f6211 100644 --- a/service/sqs/api_op_ListDeadLetterSourceQueues.go +++ b/service/sqs/api_op_ListDeadLetterSourceQueues.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListDeadLetterSourceQueuesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDeadLetterSourceQueuesValidationMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_ListMessageMoveTasks.go b/service/sqs/api_op_ListMessageMoveTasks.go index 7a62e7feac5..b1b2eb387b6 100644 --- a/service/sqs/api_op_ListMessageMoveTasks.go +++ b/service/sqs/api_op_ListMessageMoveTasks.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListMessageMoveTasksMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMessageMoveTasksValidationMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_ListQueueTags.go b/service/sqs/api_op_ListQueueTags.go index 8b75a99a7c0..b591fbd19f3 100644 --- a/service/sqs/api_op_ListQueueTags.go +++ b/service/sqs/api_op_ListQueueTags.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListQueueTagsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListQueueTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_ListQueues.go b/service/sqs/api_op_ListQueues.go index ccfabefac2b..81bb9396f03 100644 --- a/service/sqs/api_op_ListQueues.go +++ b/service/sqs/api_op_ListQueues.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListQueuesMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListQueues(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sqs/api_op_PurgeQueue.go b/service/sqs/api_op_PurgeQueue.go index 11dcf1a5020..7e40b788bc9 100644 --- a/service/sqs/api_op_PurgeQueue.go +++ b/service/sqs/api_op_PurgeQueue.go @@ -122,9 +122,6 @@ func (c *Client) addOperationPurgeQueueMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPurgeQueueValidationMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_ReceiveMessage.go b/service/sqs/api_op_ReceiveMessage.go index 0549ecaf5d9..ca27a55c21d 100644 --- a/service/sqs/api_op_ReceiveMessage.go +++ b/service/sqs/api_op_ReceiveMessage.go @@ -375,9 +375,6 @@ func (c *Client) addOperationReceiveMessageMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpReceiveMessageValidationMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_RemovePermission.go b/service/sqs/api_op_RemovePermission.go index bb5c883b700..f5b2458649b 100644 --- a/service/sqs/api_op_RemovePermission.go +++ b/service/sqs/api_op_RemovePermission.go @@ -127,9 +127,6 @@ func (c *Client) addOperationRemovePermissionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemovePermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_SendMessage.go b/service/sqs/api_op_SendMessage.go index 4b2bb2856b9..e0402559974 100644 --- a/service/sqs/api_op_SendMessage.go +++ b/service/sqs/api_op_SendMessage.go @@ -288,9 +288,6 @@ func (c *Client) addOperationSendMessageMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendMessageValidationMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_SendMessageBatch.go b/service/sqs/api_op_SendMessageBatch.go index a748eda0dc7..55c87270f09 100644 --- a/service/sqs/api_op_SendMessageBatch.go +++ b/service/sqs/api_op_SendMessageBatch.go @@ -158,9 +158,6 @@ func (c *Client) addOperationSendMessageBatchMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendMessageBatchValidationMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_SetQueueAttributes.go b/service/sqs/api_op_SetQueueAttributes.go index 7e44caeb75c..a409d75cffc 100644 --- a/service/sqs/api_op_SetQueueAttributes.go +++ b/service/sqs/api_op_SetQueueAttributes.go @@ -292,9 +292,6 @@ func (c *Client) addOperationSetQueueAttributesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetQueueAttributesValidationMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_StartMessageMoveTask.go b/service/sqs/api_op_StartMessageMoveTask.go index d39bdc8d7d4..a0944ca2a20 100644 --- a/service/sqs/api_op_StartMessageMoveTask.go +++ b/service/sqs/api_op_StartMessageMoveTask.go @@ -145,9 +145,6 @@ func (c *Client) addOperationStartMessageMoveTaskMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartMessageMoveTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_TagQueue.go b/service/sqs/api_op_TagQueue.go index 772dee4fca3..40e0e957c4d 100644 --- a/service/sqs/api_op_TagQueue.go +++ b/service/sqs/api_op_TagQueue.go @@ -134,9 +134,6 @@ func (c *Client) addOperationTagQueueMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagQueueValidationMiddleware(stack); err != nil { return err } diff --git a/service/sqs/api_op_UntagQueue.go b/service/sqs/api_op_UntagQueue.go index 8f0d2b4d819..a4fdb29568f 100644 --- a/service/sqs/api_op_UntagQueue.go +++ b/service/sqs/api_op_UntagQueue.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUntagQueueMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagQueueValidationMiddleware(stack); err != nil { return err } diff --git a/service/sqs/snapshot/api_op_AddPermission.go.snap b/service/sqs/snapshot/api_op_AddPermission.go.snap index ea376215034..c1d7dd738da 100644 --- a/service/sqs/snapshot/api_op_AddPermission.go.snap +++ b/service/sqs/snapshot/api_op_AddPermission.go.snap @@ -14,7 +14,6 @@ AddPermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sqs/snapshot/api_op_CancelMessageMoveTask.go.snap b/service/sqs/snapshot/api_op_CancelMessageMoveTask.go.snap index 81434322197..846a2b52745 100644 --- a/service/sqs/snapshot/api_op_CancelMessageMoveTask.go.snap +++ b/service/sqs/snapshot/api_op_CancelMessageMoveTask.go.snap @@ -14,7 +14,6 @@ CancelMessageMoveTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sqs/snapshot/api_op_ChangeMessageVisibility.go.snap b/service/sqs/snapshot/api_op_ChangeMessageVisibility.go.snap index 89061722559..e8a145ed030 100644 --- a/service/sqs/snapshot/api_op_ChangeMessageVisibility.go.snap +++ b/service/sqs/snapshot/api_op_ChangeMessageVisibility.go.snap @@ -14,7 +14,6 @@ ChangeMessageVisibility Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sqs/snapshot/api_op_ChangeMessageVisibilityBatch.go.snap b/service/sqs/snapshot/api_op_ChangeMessageVisibilityBatch.go.snap index cfddacef053..df1d9600a24 100644 --- a/service/sqs/snapshot/api_op_ChangeMessageVisibilityBatch.go.snap +++ b/service/sqs/snapshot/api_op_ChangeMessageVisibilityBatch.go.snap @@ -14,7 +14,6 @@ ChangeMessageVisibilityBatch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sqs/snapshot/api_op_CreateQueue.go.snap b/service/sqs/snapshot/api_op_CreateQueue.go.snap index 5ce6a8cd107..f940150966e 100644 --- a/service/sqs/snapshot/api_op_CreateQueue.go.snap +++ b/service/sqs/snapshot/api_op_CreateQueue.go.snap @@ -14,7 +14,6 @@ CreateQueue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sqs/snapshot/api_op_DeleteMessage.go.snap b/service/sqs/snapshot/api_op_DeleteMessage.go.snap index ce0dd548059..eeb4800ac83 100644 --- a/service/sqs/snapshot/api_op_DeleteMessage.go.snap +++ b/service/sqs/snapshot/api_op_DeleteMessage.go.snap @@ -14,7 +14,6 @@ DeleteMessage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sqs/snapshot/api_op_DeleteMessageBatch.go.snap b/service/sqs/snapshot/api_op_DeleteMessageBatch.go.snap index 0b6d1f4bece..e9a93b70992 100644 --- a/service/sqs/snapshot/api_op_DeleteMessageBatch.go.snap +++ b/service/sqs/snapshot/api_op_DeleteMessageBatch.go.snap @@ -14,7 +14,6 @@ DeleteMessageBatch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sqs/snapshot/api_op_DeleteQueue.go.snap b/service/sqs/snapshot/api_op_DeleteQueue.go.snap index 094ae28fc98..a5ab05d61ef 100644 --- a/service/sqs/snapshot/api_op_DeleteQueue.go.snap +++ b/service/sqs/snapshot/api_op_DeleteQueue.go.snap @@ -14,7 +14,6 @@ DeleteQueue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sqs/snapshot/api_op_GetQueueAttributes.go.snap b/service/sqs/snapshot/api_op_GetQueueAttributes.go.snap index 8c6a38a0b62..6445270dad6 100644 --- a/service/sqs/snapshot/api_op_GetQueueAttributes.go.snap +++ b/service/sqs/snapshot/api_op_GetQueueAttributes.go.snap @@ -14,7 +14,6 @@ GetQueueAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sqs/snapshot/api_op_GetQueueUrl.go.snap b/service/sqs/snapshot/api_op_GetQueueUrl.go.snap index c800dd37086..9f10a0b4e44 100644 --- a/service/sqs/snapshot/api_op_GetQueueUrl.go.snap +++ b/service/sqs/snapshot/api_op_GetQueueUrl.go.snap @@ -14,7 +14,6 @@ GetQueueUrl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sqs/snapshot/api_op_ListDeadLetterSourceQueues.go.snap b/service/sqs/snapshot/api_op_ListDeadLetterSourceQueues.go.snap index f5c8479c6d0..1d7089a8dfa 100644 --- a/service/sqs/snapshot/api_op_ListDeadLetterSourceQueues.go.snap +++ b/service/sqs/snapshot/api_op_ListDeadLetterSourceQueues.go.snap @@ -14,7 +14,6 @@ ListDeadLetterSourceQueues Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sqs/snapshot/api_op_ListMessageMoveTasks.go.snap b/service/sqs/snapshot/api_op_ListMessageMoveTasks.go.snap index a7fc1001723..64c198e9243 100644 --- a/service/sqs/snapshot/api_op_ListMessageMoveTasks.go.snap +++ b/service/sqs/snapshot/api_op_ListMessageMoveTasks.go.snap @@ -14,7 +14,6 @@ ListMessageMoveTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sqs/snapshot/api_op_ListQueueTags.go.snap b/service/sqs/snapshot/api_op_ListQueueTags.go.snap index f3d92081bce..808513c29c1 100644 --- a/service/sqs/snapshot/api_op_ListQueueTags.go.snap +++ b/service/sqs/snapshot/api_op_ListQueueTags.go.snap @@ -14,7 +14,6 @@ ListQueueTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sqs/snapshot/api_op_ListQueues.go.snap b/service/sqs/snapshot/api_op_ListQueues.go.snap index a9a1f0582f9..7b2dfb4a3da 100644 --- a/service/sqs/snapshot/api_op_ListQueues.go.snap +++ b/service/sqs/snapshot/api_op_ListQueues.go.snap @@ -13,7 +13,6 @@ ListQueues Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sqs/snapshot/api_op_PurgeQueue.go.snap b/service/sqs/snapshot/api_op_PurgeQueue.go.snap index 1bdbf088931..fe116a56c34 100644 --- a/service/sqs/snapshot/api_op_PurgeQueue.go.snap +++ b/service/sqs/snapshot/api_op_PurgeQueue.go.snap @@ -14,7 +14,6 @@ PurgeQueue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sqs/snapshot/api_op_ReceiveMessage.go.snap b/service/sqs/snapshot/api_op_ReceiveMessage.go.snap index c86fecf6655..87d0ac8b4af 100644 --- a/service/sqs/snapshot/api_op_ReceiveMessage.go.snap +++ b/service/sqs/snapshot/api_op_ReceiveMessage.go.snap @@ -15,7 +15,6 @@ ReceiveMessage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sqs/snapshot/api_op_RemovePermission.go.snap b/service/sqs/snapshot/api_op_RemovePermission.go.snap index 65d7c5c329f..d2d8964fdb1 100644 --- a/service/sqs/snapshot/api_op_RemovePermission.go.snap +++ b/service/sqs/snapshot/api_op_RemovePermission.go.snap @@ -14,7 +14,6 @@ RemovePermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sqs/snapshot/api_op_SendMessage.go.snap b/service/sqs/snapshot/api_op_SendMessage.go.snap index b309a6cc2df..d3301fc2021 100644 --- a/service/sqs/snapshot/api_op_SendMessage.go.snap +++ b/service/sqs/snapshot/api_op_SendMessage.go.snap @@ -15,7 +15,6 @@ SendMessage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sqs/snapshot/api_op_SendMessageBatch.go.snap b/service/sqs/snapshot/api_op_SendMessageBatch.go.snap index 870dd777de3..87d6f16f490 100644 --- a/service/sqs/snapshot/api_op_SendMessageBatch.go.snap +++ b/service/sqs/snapshot/api_op_SendMessageBatch.go.snap @@ -15,7 +15,6 @@ SendMessageBatch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sqs/snapshot/api_op_SetQueueAttributes.go.snap b/service/sqs/snapshot/api_op_SetQueueAttributes.go.snap index 346e3b05a97..fb7a1c63aff 100644 --- a/service/sqs/snapshot/api_op_SetQueueAttributes.go.snap +++ b/service/sqs/snapshot/api_op_SetQueueAttributes.go.snap @@ -14,7 +14,6 @@ SetQueueAttributes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sqs/snapshot/api_op_StartMessageMoveTask.go.snap b/service/sqs/snapshot/api_op_StartMessageMoveTask.go.snap index ca6944d3ee6..ea9c20d7470 100644 --- a/service/sqs/snapshot/api_op_StartMessageMoveTask.go.snap +++ b/service/sqs/snapshot/api_op_StartMessageMoveTask.go.snap @@ -14,7 +14,6 @@ StartMessageMoveTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sqs/snapshot/api_op_TagQueue.go.snap b/service/sqs/snapshot/api_op_TagQueue.go.snap index 06058b2c787..fc65dc9d6c1 100644 --- a/service/sqs/snapshot/api_op_TagQueue.go.snap +++ b/service/sqs/snapshot/api_op_TagQueue.go.snap @@ -14,7 +14,6 @@ TagQueue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sqs/snapshot/api_op_UntagQueue.go.snap b/service/sqs/snapshot/api_op_UntagQueue.go.snap index c3c1c0aedcc..7e5f147ff6e 100644 --- a/service/sqs/snapshot/api_op_UntagQueue.go.snap +++ b/service/sqs/snapshot/api_op_UntagQueue.go.snap @@ -14,7 +14,6 @@ UntagQueue Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/api_client.go b/service/ssm/api_client.go index f2da2f2247e..bcc00f9a6fb 100644 --- a/service/ssm/api_client.go +++ b/service/ssm/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/ssm/api_op_AddTagsToResource.go b/service/ssm/api_op_AddTagsToResource.go index d53427c0256..1f0ee208d29 100644 --- a/service/ssm/api_op_AddTagsToResource.go +++ b/service/ssm/api_op_AddTagsToResource.go @@ -181,9 +181,6 @@ func (c *Client) addOperationAddTagsToResourceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddTagsToResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_AssociateOpsItemRelatedItem.go b/service/ssm/api_op_AssociateOpsItemRelatedItem.go index fe361b13d92..5ef786de730 100644 --- a/service/ssm/api_op_AssociateOpsItemRelatedItem.go +++ b/service/ssm/api_op_AssociateOpsItemRelatedItem.go @@ -136,9 +136,6 @@ func (c *Client) addOperationAssociateOpsItemRelatedItemMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateOpsItemRelatedItemValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_CancelCommand.go b/service/ssm/api_op_CancelCommand.go index f78eb19dfbf..c1fa3f10c3f 100644 --- a/service/ssm/api_op_CancelCommand.go +++ b/service/ssm/api_op_CancelCommand.go @@ -116,9 +116,6 @@ func (c *Client) addOperationCancelCommandMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelCommandValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_CancelMaintenanceWindowExecution.go b/service/ssm/api_op_CancelMaintenanceWindowExecution.go index 63396427098..6d8277a467f 100644 --- a/service/ssm/api_op_CancelMaintenanceWindowExecution.go +++ b/service/ssm/api_op_CancelMaintenanceWindowExecution.go @@ -113,9 +113,6 @@ func (c *Client) addOperationCancelMaintenanceWindowExecutionMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelMaintenanceWindowExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_CreateActivation.go b/service/ssm/api_op_CreateActivation.go index 86c115b87d8..e0cee74e153 100644 --- a/service/ssm/api_op_CreateActivation.go +++ b/service/ssm/api_op_CreateActivation.go @@ -189,9 +189,6 @@ func (c *Client) addOperationCreateActivationMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateActivationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_CreateAssociation.go b/service/ssm/api_op_CreateAssociation.go index f5ac948e54f..4fa91f9f434 100644 --- a/service/ssm/api_op_CreateAssociation.go +++ b/service/ssm/api_op_CreateAssociation.go @@ -299,9 +299,6 @@ func (c *Client) addOperationCreateAssociationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_CreateAssociationBatch.go b/service/ssm/api_op_CreateAssociationBatch.go index 3c357494d79..f3fa657fa8b 100644 --- a/service/ssm/api_op_CreateAssociationBatch.go +++ b/service/ssm/api_op_CreateAssociationBatch.go @@ -123,9 +123,6 @@ func (c *Client) addOperationCreateAssociationBatchMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAssociationBatchValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_CreateDocument.go b/service/ssm/api_op_CreateDocument.go index 66f4c98a1de..c7ec58bb661 100644 --- a/service/ssm/api_op_CreateDocument.go +++ b/service/ssm/api_op_CreateDocument.go @@ -210,9 +210,6 @@ func (c *Client) addOperationCreateDocumentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDocumentValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_CreateMaintenanceWindow.go b/service/ssm/api_op_CreateMaintenanceWindow.go index 05f14bcd2ef..112ac244208 100644 --- a/service/ssm/api_op_CreateMaintenanceWindow.go +++ b/service/ssm/api_op_CreateMaintenanceWindow.go @@ -201,9 +201,6 @@ func (c *Client) addOperationCreateMaintenanceWindowMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateMaintenanceWindowMiddleware(stack, options); err != nil { return err } diff --git a/service/ssm/api_op_CreateOpsItem.go b/service/ssm/api_op_CreateOpsItem.go index 4e49058a001..1688d254c13 100644 --- a/service/ssm/api_op_CreateOpsItem.go +++ b/service/ssm/api_op_CreateOpsItem.go @@ -239,9 +239,6 @@ func (c *Client) addOperationCreateOpsItemMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateOpsItemValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_CreateOpsMetadata.go b/service/ssm/api_op_CreateOpsMetadata.go index 42993558524..491531b6974 100644 --- a/service/ssm/api_op_CreateOpsMetadata.go +++ b/service/ssm/api_op_CreateOpsMetadata.go @@ -130,9 +130,6 @@ func (c *Client) addOperationCreateOpsMetadataMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateOpsMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_CreatePatchBaseline.go b/service/ssm/api_op_CreatePatchBaseline.go index 548c8ea0cd0..30e80df34c3 100644 --- a/service/ssm/api_op_CreatePatchBaseline.go +++ b/service/ssm/api_op_CreatePatchBaseline.go @@ -201,9 +201,6 @@ func (c *Client) addOperationCreatePatchBaselineMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreatePatchBaselineMiddleware(stack, options); err != nil { return err } diff --git a/service/ssm/api_op_CreateResourceDataSync.go b/service/ssm/api_op_CreateResourceDataSync.go index d87de3ea186..984b480762d 100644 --- a/service/ssm/api_op_CreateResourceDataSync.go +++ b/service/ssm/api_op_CreateResourceDataSync.go @@ -152,9 +152,6 @@ func (c *Client) addOperationCreateResourceDataSyncMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateResourceDataSyncValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DeleteActivation.go b/service/ssm/api_op_DeleteActivation.go index 75b8686d3d1..d8456d8e161 100644 --- a/service/ssm/api_op_DeleteActivation.go +++ b/service/ssm/api_op_DeleteActivation.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteActivationMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteActivationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DeleteAssociation.go b/service/ssm/api_op_DeleteAssociation.go index 4fd7ecf38d2..b7040856fc9 100644 --- a/service/ssm/api_op_DeleteAssociation.go +++ b/service/ssm/api_op_DeleteAssociation.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDeleteAssociationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAssociation(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ssm/api_op_DeleteDocument.go b/service/ssm/api_op_DeleteDocument.go index e1c1968dc9d..2352e4144c3 100644 --- a/service/ssm/api_op_DeleteDocument.go +++ b/service/ssm/api_op_DeleteDocument.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDeleteDocumentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDocumentValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DeleteInventory.go b/service/ssm/api_op_DeleteInventory.go index b86594b22ee..894b2f377c8 100644 --- a/service/ssm/api_op_DeleteInventory.go +++ b/service/ssm/api_op_DeleteInventory.go @@ -150,9 +150,6 @@ func (c *Client) addOperationDeleteInventoryMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteInventoryMiddleware(stack, options); err != nil { return err } diff --git a/service/ssm/api_op_DeleteMaintenanceWindow.go b/service/ssm/api_op_DeleteMaintenanceWindow.go index 1921fba99c6..3a75ab96658 100644 --- a/service/ssm/api_op_DeleteMaintenanceWindow.go +++ b/service/ssm/api_op_DeleteMaintenanceWindow.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteMaintenanceWindowMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMaintenanceWindowValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DeleteOpsItem.go b/service/ssm/api_op_DeleteOpsItem.go index 84ea1601801..b5432602289 100644 --- a/service/ssm/api_op_DeleteOpsItem.go +++ b/service/ssm/api_op_DeleteOpsItem.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDeleteOpsItemMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteOpsItemValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DeleteOpsMetadata.go b/service/ssm/api_op_DeleteOpsMetadata.go index e8f48b342b4..aa3839808bf 100644 --- a/service/ssm/api_op_DeleteOpsMetadata.go +++ b/service/ssm/api_op_DeleteOpsMetadata.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteOpsMetadataMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteOpsMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DeleteParameter.go b/service/ssm/api_op_DeleteParameter.go index c46709f55db..f7bdfed7bf3 100644 --- a/service/ssm/api_op_DeleteParameter.go +++ b/service/ssm/api_op_DeleteParameter.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteParameterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteParameterValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DeleteParameters.go b/service/ssm/api_op_DeleteParameters.go index 4f20ba3fe08..78029e10792 100644 --- a/service/ssm/api_op_DeleteParameters.go +++ b/service/ssm/api_op_DeleteParameters.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteParametersMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteParametersValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DeletePatchBaseline.go b/service/ssm/api_op_DeletePatchBaseline.go index d9692afc32e..e83d4233046 100644 --- a/service/ssm/api_op_DeletePatchBaseline.go +++ b/service/ssm/api_op_DeletePatchBaseline.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeletePatchBaselineMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePatchBaselineValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DeleteResourceDataSync.go b/service/ssm/api_op_DeleteResourceDataSync.go index 6a3c5f17011..9cfcb8025cf 100644 --- a/service/ssm/api_op_DeleteResourceDataSync.go +++ b/service/ssm/api_op_DeleteResourceDataSync.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteResourceDataSyncMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourceDataSyncValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DeleteResourcePolicy.go b/service/ssm/api_op_DeleteResourcePolicy.go index 6322495d7e2..1cbf9a4a39f 100644 --- a/service/ssm/api_op_DeleteResourcePolicy.go +++ b/service/ssm/api_op_DeleteResourcePolicy.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DeregisterManagedInstance.go b/service/ssm/api_op_DeregisterManagedInstance.go index 1bc134c3598..887c6f8b559 100644 --- a/service/ssm/api_op_DeregisterManagedInstance.go +++ b/service/ssm/api_op_DeregisterManagedInstance.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeregisterManagedInstanceMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterManagedInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DeregisterPatchBaselineForPatchGroup.go b/service/ssm/api_op_DeregisterPatchBaselineForPatchGroup.go index d38081d1020..344f84814aa 100644 --- a/service/ssm/api_op_DeregisterPatchBaselineForPatchGroup.go +++ b/service/ssm/api_op_DeregisterPatchBaselineForPatchGroup.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeregisterPatchBaselineForPatchGroupMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterPatchBaselineForPatchGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DeregisterTargetFromMaintenanceWindow.go b/service/ssm/api_op_DeregisterTargetFromMaintenanceWindow.go index 18135c209f9..9a0871a4eb1 100644 --- a/service/ssm/api_op_DeregisterTargetFromMaintenanceWindow.go +++ b/service/ssm/api_op_DeregisterTargetFromMaintenanceWindow.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeregisterTargetFromMaintenanceWindowMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterTargetFromMaintenanceWindowValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DeregisterTaskFromMaintenanceWindow.go b/service/ssm/api_op_DeregisterTaskFromMaintenanceWindow.go index ce246b08559..ecb2e27a3fe 100644 --- a/service/ssm/api_op_DeregisterTaskFromMaintenanceWindow.go +++ b/service/ssm/api_op_DeregisterTaskFromMaintenanceWindow.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeregisterTaskFromMaintenanceWindowMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterTaskFromMaintenanceWindowValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeActivations.go b/service/ssm/api_op_DescribeActivations.go index aaf59e6c8cd..bfb22b1849d 100644 --- a/service/ssm/api_op_DescribeActivations.go +++ b/service/ssm/api_op_DescribeActivations.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeActivationsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeActivations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ssm/api_op_DescribeAssociation.go b/service/ssm/api_op_DescribeAssociation.go index 5f2d4b4b673..bba1d325c17 100644 --- a/service/ssm/api_op_DescribeAssociation.go +++ b/service/ssm/api_op_DescribeAssociation.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeAssociationMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAssociation(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ssm/api_op_DescribeAssociationExecutionTargets.go b/service/ssm/api_op_DescribeAssociationExecutionTargets.go index 65f620e3dcc..d3b2ac11d07 100644 --- a/service/ssm/api_op_DescribeAssociationExecutionTargets.go +++ b/service/ssm/api_op_DescribeAssociationExecutionTargets.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDescribeAssociationExecutionTargetsMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAssociationExecutionTargetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeAssociationExecutions.go b/service/ssm/api_op_DescribeAssociationExecutions.go index 90a169638c1..61db22e9de3 100644 --- a/service/ssm/api_op_DescribeAssociationExecutions.go +++ b/service/ssm/api_op_DescribeAssociationExecutions.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeAssociationExecutionsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAssociationExecutionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeAutomationExecutions.go b/service/ssm/api_op_DescribeAutomationExecutions.go index ca0c13e4d03..b4e642df4ad 100644 --- a/service/ssm/api_op_DescribeAutomationExecutions.go +++ b/service/ssm/api_op_DescribeAutomationExecutions.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeAutomationExecutionsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAutomationExecutionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeAutomationStepExecutions.go b/service/ssm/api_op_DescribeAutomationStepExecutions.go index 617f5792763..627b8fc3c7d 100644 --- a/service/ssm/api_op_DescribeAutomationStepExecutions.go +++ b/service/ssm/api_op_DescribeAutomationStepExecutions.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeAutomationStepExecutionsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAutomationStepExecutionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeAvailablePatches.go b/service/ssm/api_op_DescribeAvailablePatches.go index a4ff88cc446..99c67b05cf1 100644 --- a/service/ssm/api_op_DescribeAvailablePatches.go +++ b/service/ssm/api_op_DescribeAvailablePatches.go @@ -211,9 +211,6 @@ func (c *Client) addOperationDescribeAvailablePatchesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAvailablePatches(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ssm/api_op_DescribeDocument.go b/service/ssm/api_op_DescribeDocument.go index 5b81b8ce41a..3e5ac0e5275 100644 --- a/service/ssm/api_op_DescribeDocument.go +++ b/service/ssm/api_op_DescribeDocument.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeDocumentMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDocumentValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeDocumentPermission.go b/service/ssm/api_op_DescribeDocumentPermission.go index b65d242e5a6..2bd6927f565 100644 --- a/service/ssm/api_op_DescribeDocumentPermission.go +++ b/service/ssm/api_op_DescribeDocumentPermission.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDescribeDocumentPermissionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDocumentPermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeEffectiveInstanceAssociations.go b/service/ssm/api_op_DescribeEffectiveInstanceAssociations.go index 6abfe095610..935f3618bc3 100644 --- a/service/ssm/api_op_DescribeEffectiveInstanceAssociations.go +++ b/service/ssm/api_op_DescribeEffectiveInstanceAssociations.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeEffectiveInstanceAssociationsMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEffectiveInstanceAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeEffectivePatchesForPatchBaseline.go b/service/ssm/api_op_DescribeEffectivePatchesForPatchBaseline.go index 13afa12f287..8216e63fc33 100644 --- a/service/ssm/api_op_DescribeEffectivePatchesForPatchBaseline.go +++ b/service/ssm/api_op_DescribeEffectivePatchesForPatchBaseline.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeEffectivePatchesForPatchBaselineMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEffectivePatchesForPatchBaselineValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeInstanceAssociationsStatus.go b/service/ssm/api_op_DescribeInstanceAssociationsStatus.go index bcb7a70d63d..b650324122a 100644 --- a/service/ssm/api_op_DescribeInstanceAssociationsStatus.go +++ b/service/ssm/api_op_DescribeInstanceAssociationsStatus.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeInstanceAssociationsStatusMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeInstanceAssociationsStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeInstanceInformation.go b/service/ssm/api_op_DescribeInstanceInformation.go index 294f8d5a56b..dccb0cdfde6 100644 --- a/service/ssm/api_op_DescribeInstanceInformation.go +++ b/service/ssm/api_op_DescribeInstanceInformation.go @@ -146,9 +146,6 @@ func (c *Client) addOperationDescribeInstanceInformationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeInstanceInformationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeInstancePatchStates.go b/service/ssm/api_op_DescribeInstancePatchStates.go index 42ef8882b1f..002a4135ace 100644 --- a/service/ssm/api_op_DescribeInstancePatchStates.go +++ b/service/ssm/api_op_DescribeInstancePatchStates.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeInstancePatchStatesMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeInstancePatchStatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeInstancePatchStatesForPatchGroup.go b/service/ssm/api_op_DescribeInstancePatchStatesForPatchGroup.go index 2786c8e1720..f778f765391 100644 --- a/service/ssm/api_op_DescribeInstancePatchStatesForPatchGroup.go +++ b/service/ssm/api_op_DescribeInstancePatchStatesForPatchGroup.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeInstancePatchStatesForPatchGroupMiddlewares if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeInstancePatchStatesForPatchGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeInstancePatches.go b/service/ssm/api_op_DescribeInstancePatches.go index 08a090e301f..d59192cd3ce 100644 --- a/service/ssm/api_op_DescribeInstancePatches.go +++ b/service/ssm/api_op_DescribeInstancePatches.go @@ -164,9 +164,6 @@ func (c *Client) addOperationDescribeInstancePatchesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeInstancePatchesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeInstanceProperties.go b/service/ssm/api_op_DescribeInstanceProperties.go index 069cdb1b489..56eb5988b81 100644 --- a/service/ssm/api_op_DescribeInstanceProperties.go +++ b/service/ssm/api_op_DescribeInstanceProperties.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeInstancePropertiesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeInstancePropertiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeInventoryDeletions.go b/service/ssm/api_op_DescribeInventoryDeletions.go index 221f6da5430..b452e12bf65 100644 --- a/service/ssm/api_op_DescribeInventoryDeletions.go +++ b/service/ssm/api_op_DescribeInventoryDeletions.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeInventoryDeletionsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeInventoryDeletions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ssm/api_op_DescribeMaintenanceWindowExecutionTaskInvocations.go b/service/ssm/api_op_DescribeMaintenanceWindowExecutionTaskInvocations.go index aacb7643ae5..0f4b5f18cbc 100644 --- a/service/ssm/api_op_DescribeMaintenanceWindowExecutionTaskInvocations.go +++ b/service/ssm/api_op_DescribeMaintenanceWindowExecutionTaskInvocations.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribeMaintenanceWindowExecutionTaskInvocationsMi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeMaintenanceWindowExecutionTaskInvocationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeMaintenanceWindowExecutionTasks.go b/service/ssm/api_op_DescribeMaintenanceWindowExecutionTasks.go index 83e1c50257e..e297a5e9eda 100644 --- a/service/ssm/api_op_DescribeMaintenanceWindowExecutionTasks.go +++ b/service/ssm/api_op_DescribeMaintenanceWindowExecutionTasks.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeMaintenanceWindowExecutionTasksMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeMaintenanceWindowExecutionTasksValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeMaintenanceWindowExecutions.go b/service/ssm/api_op_DescribeMaintenanceWindowExecutions.go index 75adeaff3b6..2f8ae374b1a 100644 --- a/service/ssm/api_op_DescribeMaintenanceWindowExecutions.go +++ b/service/ssm/api_op_DescribeMaintenanceWindowExecutions.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribeMaintenanceWindowExecutionsMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeMaintenanceWindowExecutionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeMaintenanceWindowSchedule.go b/service/ssm/api_op_DescribeMaintenanceWindowSchedule.go index b1060d80ac5..bb77a9fe8a0 100644 --- a/service/ssm/api_op_DescribeMaintenanceWindowSchedule.go +++ b/service/ssm/api_op_DescribeMaintenanceWindowSchedule.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDescribeMaintenanceWindowScheduleMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMaintenanceWindowSchedule(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ssm/api_op_DescribeMaintenanceWindowTargets.go b/service/ssm/api_op_DescribeMaintenanceWindowTargets.go index 22d8e7de6b6..2eaf5d85955 100644 --- a/service/ssm/api_op_DescribeMaintenanceWindowTargets.go +++ b/service/ssm/api_op_DescribeMaintenanceWindowTargets.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeMaintenanceWindowTargetsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeMaintenanceWindowTargetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeMaintenanceWindowTasks.go b/service/ssm/api_op_DescribeMaintenanceWindowTasks.go index 8ac6add96dd..4c2fe953632 100644 --- a/service/ssm/api_op_DescribeMaintenanceWindowTasks.go +++ b/service/ssm/api_op_DescribeMaintenanceWindowTasks.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeMaintenanceWindowTasksMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeMaintenanceWindowTasksValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeMaintenanceWindows.go b/service/ssm/api_op_DescribeMaintenanceWindows.go index 006a5c7b145..6ad9dc9c1dd 100644 --- a/service/ssm/api_op_DescribeMaintenanceWindows.go +++ b/service/ssm/api_op_DescribeMaintenanceWindows.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeMaintenanceWindowsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMaintenanceWindows(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ssm/api_op_DescribeMaintenanceWindowsForTarget.go b/service/ssm/api_op_DescribeMaintenanceWindowsForTarget.go index fc39b778bc9..185721e4d0d 100644 --- a/service/ssm/api_op_DescribeMaintenanceWindowsForTarget.go +++ b/service/ssm/api_op_DescribeMaintenanceWindowsForTarget.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeMaintenanceWindowsForTargetMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeMaintenanceWindowsForTargetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeOpsItems.go b/service/ssm/api_op_DescribeOpsItems.go index 74c5bd649b5..6d31e091200 100644 --- a/service/ssm/api_op_DescribeOpsItems.go +++ b/service/ssm/api_op_DescribeOpsItems.go @@ -195,9 +195,6 @@ func (c *Client) addOperationDescribeOpsItemsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeOpsItemsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeParameters.go b/service/ssm/api_op_DescribeParameters.go index be88e333729..8dc70929d55 100644 --- a/service/ssm/api_op_DescribeParameters.go +++ b/service/ssm/api_op_DescribeParameters.go @@ -155,9 +155,6 @@ func (c *Client) addOperationDescribeParametersMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeParametersValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribePatchBaselines.go b/service/ssm/api_op_DescribePatchBaselines.go index c7a6bbbed2a..9349b8cbccc 100644 --- a/service/ssm/api_op_DescribePatchBaselines.go +++ b/service/ssm/api_op_DescribePatchBaselines.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDescribePatchBaselinesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePatchBaselines(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ssm/api_op_DescribePatchGroupState.go b/service/ssm/api_op_DescribePatchGroupState.go index 9f6016bd08d..6740acfd2e5 100644 --- a/service/ssm/api_op_DescribePatchGroupState.go +++ b/service/ssm/api_op_DescribePatchGroupState.go @@ -165,9 +165,6 @@ func (c *Client) addOperationDescribePatchGroupStateMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePatchGroupStateValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribePatchGroups.go b/service/ssm/api_op_DescribePatchGroups.go index 22e2733b394..4ac4b69da72 100644 --- a/service/ssm/api_op_DescribePatchGroups.go +++ b/service/ssm/api_op_DescribePatchGroups.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribePatchGroupsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePatchGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ssm/api_op_DescribePatchProperties.go b/service/ssm/api_op_DescribePatchProperties.go index 9034d321321..b3ff5d2cdf1 100644 --- a/service/ssm/api_op_DescribePatchProperties.go +++ b/service/ssm/api_op_DescribePatchProperties.go @@ -163,9 +163,6 @@ func (c *Client) addOperationDescribePatchPropertiesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePatchPropertiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DescribeSessions.go b/service/ssm/api_op_DescribeSessions.go index 4df28f4deb3..cfad5f42b71 100644 --- a/service/ssm/api_op_DescribeSessions.go +++ b/service/ssm/api_op_DescribeSessions.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDescribeSessionsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSessionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_DisassociateOpsItemRelatedItem.go b/service/ssm/api_op_DisassociateOpsItemRelatedItem.go index 3026c6bdb8f..721540f117a 100644 --- a/service/ssm/api_op_DisassociateOpsItemRelatedItem.go +++ b/service/ssm/api_op_DisassociateOpsItemRelatedItem.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDisassociateOpsItemRelatedItemMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateOpsItemRelatedItemValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetAutomationExecution.go b/service/ssm/api_op_GetAutomationExecution.go index 8aea224114c..54e23280437 100644 --- a/service/ssm/api_op_GetAutomationExecution.go +++ b/service/ssm/api_op_GetAutomationExecution.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetAutomationExecutionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAutomationExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetCalendarState.go b/service/ssm/api_op_GetCalendarState.go index b4c4259967b..f4d8eb9ebbd 100644 --- a/service/ssm/api_op_GetCalendarState.go +++ b/service/ssm/api_op_GetCalendarState.go @@ -150,9 +150,6 @@ func (c *Client) addOperationGetCalendarStateMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCalendarStateValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetCommandInvocation.go b/service/ssm/api_op_GetCommandInvocation.go index 982444e30e9..a6c781be412 100644 --- a/service/ssm/api_op_GetCommandInvocation.go +++ b/service/ssm/api_op_GetCommandInvocation.go @@ -266,9 +266,6 @@ func (c *Client) addOperationGetCommandInvocationMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCommandInvocationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetConnectionStatus.go b/service/ssm/api_op_GetConnectionStatus.go index eb4c35cb564..63f33b0929c 100644 --- a/service/ssm/api_op_GetConnectionStatus.go +++ b/service/ssm/api_op_GetConnectionStatus.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetConnectionStatusMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConnectionStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetDefaultPatchBaseline.go b/service/ssm/api_op_GetDefaultPatchBaseline.go index a9e97ad6cae..5aaf401fe10 100644 --- a/service/ssm/api_op_GetDefaultPatchBaseline.go +++ b/service/ssm/api_op_GetDefaultPatchBaseline.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetDefaultPatchBaselineMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDefaultPatchBaseline(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ssm/api_op_GetDeployablePatchSnapshotForInstance.go b/service/ssm/api_op_GetDeployablePatchSnapshotForInstance.go index 7111369db9b..54bb71cb5ca 100644 --- a/service/ssm/api_op_GetDeployablePatchSnapshotForInstance.go +++ b/service/ssm/api_op_GetDeployablePatchSnapshotForInstance.go @@ -142,9 +142,6 @@ func (c *Client) addOperationGetDeployablePatchSnapshotForInstanceMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDeployablePatchSnapshotForInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetDocument.go b/service/ssm/api_op_GetDocument.go index 496aa744755..66560efdf21 100644 --- a/service/ssm/api_op_GetDocument.go +++ b/service/ssm/api_op_GetDocument.go @@ -179,9 +179,6 @@ func (c *Client) addOperationGetDocumentMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDocumentValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetExecutionPreview.go b/service/ssm/api_op_GetExecutionPreview.go index beb76656c49..f1cdcf624e6 100644 --- a/service/ssm/api_op_GetExecutionPreview.go +++ b/service/ssm/api_op_GetExecutionPreview.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetExecutionPreviewMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetExecutionPreviewValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetInventory.go b/service/ssm/api_op_GetInventory.go index b0638086ece..bf351010ec8 100644 --- a/service/ssm/api_op_GetInventory.go +++ b/service/ssm/api_op_GetInventory.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetInventoryMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInventoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetInventorySchema.go b/service/ssm/api_op_GetInventorySchema.go index 8ecdb22493e..4ce7b2a3a0a 100644 --- a/service/ssm/api_op_GetInventorySchema.go +++ b/service/ssm/api_op_GetInventorySchema.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetInventorySchemaMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetInventorySchema(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ssm/api_op_GetMaintenanceWindow.go b/service/ssm/api_op_GetMaintenanceWindow.go index 320ea5657fe..c5119e7fd0e 100644 --- a/service/ssm/api_op_GetMaintenanceWindow.go +++ b/service/ssm/api_op_GetMaintenanceWindow.go @@ -167,9 +167,6 @@ func (c *Client) addOperationGetMaintenanceWindowMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMaintenanceWindowValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetMaintenanceWindowExecution.go b/service/ssm/api_op_GetMaintenanceWindowExecution.go index 4ba6b2e3781..3a38404a968 100644 --- a/service/ssm/api_op_GetMaintenanceWindowExecution.go +++ b/service/ssm/api_op_GetMaintenanceWindowExecution.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetMaintenanceWindowExecutionMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMaintenanceWindowExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetMaintenanceWindowExecutionTask.go b/service/ssm/api_op_GetMaintenanceWindowExecutionTask.go index 349ec4046c9..944a45614ab 100644 --- a/service/ssm/api_op_GetMaintenanceWindowExecutionTask.go +++ b/service/ssm/api_op_GetMaintenanceWindowExecutionTask.go @@ -176,9 +176,6 @@ func (c *Client) addOperationGetMaintenanceWindowExecutionTaskMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMaintenanceWindowExecutionTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetMaintenanceWindowExecutionTaskInvocation.go b/service/ssm/api_op_GetMaintenanceWindowExecutionTaskInvocation.go index 08a4a732073..daf268f9ae0 100644 --- a/service/ssm/api_op_GetMaintenanceWindowExecutionTaskInvocation.go +++ b/service/ssm/api_op_GetMaintenanceWindowExecutionTaskInvocation.go @@ -160,9 +160,6 @@ func (c *Client) addOperationGetMaintenanceWindowExecutionTaskInvocationMiddlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMaintenanceWindowExecutionTaskInvocationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetMaintenanceWindowTask.go b/service/ssm/api_op_GetMaintenanceWindowTask.go index af5b9f77994..65a3eba474f 100644 --- a/service/ssm/api_op_GetMaintenanceWindowTask.go +++ b/service/ssm/api_op_GetMaintenanceWindowTask.go @@ -213,9 +213,6 @@ func (c *Client) addOperationGetMaintenanceWindowTaskMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMaintenanceWindowTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetOpsItem.go b/service/ssm/api_op_GetOpsItem.go index 316dbb34dd6..212a72ae336 100644 --- a/service/ssm/api_op_GetOpsItem.go +++ b/service/ssm/api_op_GetOpsItem.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetOpsItemMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetOpsItemValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetOpsMetadata.go b/service/ssm/api_op_GetOpsMetadata.go index f6dde6abd75..66c9fdf1c12 100644 --- a/service/ssm/api_op_GetOpsMetadata.go +++ b/service/ssm/api_op_GetOpsMetadata.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetOpsMetadataMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetOpsMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetOpsSummary.go b/service/ssm/api_op_GetOpsSummary.go index df5976f92c1..a8531acefb5 100644 --- a/service/ssm/api_op_GetOpsSummary.go +++ b/service/ssm/api_op_GetOpsSummary.go @@ -135,9 +135,6 @@ func (c *Client) addOperationGetOpsSummaryMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetOpsSummaryValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetParameter.go b/service/ssm/api_op_GetParameter.go index d224b6ee74e..c46b3489f42 100644 --- a/service/ssm/api_op_GetParameter.go +++ b/service/ssm/api_op_GetParameter.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetParameterMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetParameterValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetParameterHistory.go b/service/ssm/api_op_GetParameterHistory.go index 04c4450eee7..842336d78ee 100644 --- a/service/ssm/api_op_GetParameterHistory.go +++ b/service/ssm/api_op_GetParameterHistory.go @@ -135,9 +135,6 @@ func (c *Client) addOperationGetParameterHistoryMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetParameterHistoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetParameters.go b/service/ssm/api_op_GetParameters.go index c4b52b76b53..ba6af1a5096 100644 --- a/service/ssm/api_op_GetParameters.go +++ b/service/ssm/api_op_GetParameters.go @@ -136,9 +136,6 @@ func (c *Client) addOperationGetParametersMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetParametersValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetParametersByPath.go b/service/ssm/api_op_GetParametersByPath.go index 79d29cf5f09..74c77d55d33 100644 --- a/service/ssm/api_op_GetParametersByPath.go +++ b/service/ssm/api_op_GetParametersByPath.go @@ -157,9 +157,6 @@ func (c *Client) addOperationGetParametersByPathMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetParametersByPathValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetPatchBaseline.go b/service/ssm/api_op_GetPatchBaseline.go index 6dca5b05ca5..0d8b304d8a2 100644 --- a/service/ssm/api_op_GetPatchBaseline.go +++ b/service/ssm/api_op_GetPatchBaseline.go @@ -168,9 +168,6 @@ func (c *Client) addOperationGetPatchBaselineMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPatchBaselineValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetPatchBaselineForPatchGroup.go b/service/ssm/api_op_GetPatchBaselineForPatchGroup.go index c079f997ded..1c3150bb0e4 100644 --- a/service/ssm/api_op_GetPatchBaselineForPatchGroup.go +++ b/service/ssm/api_op_GetPatchBaselineForPatchGroup.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetPatchBaselineForPatchGroupMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPatchBaselineForPatchGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetResourcePolicies.go b/service/ssm/api_op_GetResourcePolicies.go index 552a972ea14..05729d1cf02 100644 --- a/service/ssm/api_op_GetResourcePolicies.go +++ b/service/ssm/api_op_GetResourcePolicies.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetResourcePoliciesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourcePoliciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_GetServiceSetting.go b/service/ssm/api_op_GetServiceSetting.go index c2ab9e393da..508ef374568 100644 --- a/service/ssm/api_op_GetServiceSetting.go +++ b/service/ssm/api_op_GetServiceSetting.go @@ -150,9 +150,6 @@ func (c *Client) addOperationGetServiceSettingMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetServiceSettingValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_LabelParameterVersion.go b/service/ssm/api_op_LabelParameterVersion.go index 4dfa808b090..d52c242c28e 100644 --- a/service/ssm/api_op_LabelParameterVersion.go +++ b/service/ssm/api_op_LabelParameterVersion.go @@ -159,9 +159,6 @@ func (c *Client) addOperationLabelParameterVersionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpLabelParameterVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ListAssociationVersions.go b/service/ssm/api_op_ListAssociationVersions.go index b3df5e89624..8e3345a4336 100644 --- a/service/ssm/api_op_ListAssociationVersions.go +++ b/service/ssm/api_op_ListAssociationVersions.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListAssociationVersionsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAssociationVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ListAssociations.go b/service/ssm/api_op_ListAssociations.go index 7ddfce409d3..f8b9919f673 100644 --- a/service/ssm/api_op_ListAssociations.go +++ b/service/ssm/api_op_ListAssociations.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListAssociationsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ListCommandInvocations.go b/service/ssm/api_op_ListCommandInvocations.go index f845824ab02..bca54e6d5bf 100644 --- a/service/ssm/api_op_ListCommandInvocations.go +++ b/service/ssm/api_op_ListCommandInvocations.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListCommandInvocationsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCommandInvocationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ListCommands.go b/service/ssm/api_op_ListCommands.go index fcf7fdea693..b70024a9f33 100644 --- a/service/ssm/api_op_ListCommands.go +++ b/service/ssm/api_op_ListCommands.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListCommandsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCommandsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ListComplianceItems.go b/service/ssm/api_op_ListComplianceItems.go index 73605d36b95..45fa251585a 100644 --- a/service/ssm/api_op_ListComplianceItems.go +++ b/service/ssm/api_op_ListComplianceItems.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListComplianceItemsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListComplianceItems(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ssm/api_op_ListComplianceSummaries.go b/service/ssm/api_op_ListComplianceSummaries.go index d595b0feb32..1641dde0d32 100644 --- a/service/ssm/api_op_ListComplianceSummaries.go +++ b/service/ssm/api_op_ListComplianceSummaries.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListComplianceSummariesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListComplianceSummaries(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ssm/api_op_ListDocumentMetadataHistory.go b/service/ssm/api_op_ListDocumentMetadataHistory.go index 9175089fbc2..2ce37a3bf92 100644 --- a/service/ssm/api_op_ListDocumentMetadataHistory.go +++ b/service/ssm/api_op_ListDocumentMetadataHistory.go @@ -144,9 +144,6 @@ func (c *Client) addOperationListDocumentMetadataHistoryMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDocumentMetadataHistoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ListDocumentVersions.go b/service/ssm/api_op_ListDocumentVersions.go index f8609d1586d..118bb7c5ab6 100644 --- a/service/ssm/api_op_ListDocumentVersions.go +++ b/service/ssm/api_op_ListDocumentVersions.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListDocumentVersionsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDocumentVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ListDocuments.go b/service/ssm/api_op_ListDocuments.go index 4ea38a41c2d..eef1181368c 100644 --- a/service/ssm/api_op_ListDocuments.go +++ b/service/ssm/api_op_ListDocuments.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListDocumentsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDocumentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ListInventoryEntries.go b/service/ssm/api_op_ListInventoryEntries.go index 0412242e30e..c767af47d10 100644 --- a/service/ssm/api_op_ListInventoryEntries.go +++ b/service/ssm/api_op_ListInventoryEntries.go @@ -144,9 +144,6 @@ func (c *Client) addOperationListInventoryEntriesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListInventoryEntriesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ListNodes.go b/service/ssm/api_op_ListNodes.go index 7f76ad81e6d..c281a7ce7ff 100644 --- a/service/ssm/api_op_ListNodes.go +++ b/service/ssm/api_op_ListNodes.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListNodesMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListNodesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ListNodesSummary.go b/service/ssm/api_op_ListNodesSummary.go index 6ed339b7e2d..594b7480158 100644 --- a/service/ssm/api_op_ListNodesSummary.go +++ b/service/ssm/api_op_ListNodesSummary.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListNodesSummaryMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListNodesSummaryValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ListOpsItemEvents.go b/service/ssm/api_op_ListOpsItemEvents.go index 152cb2ec646..6724558f91a 100644 --- a/service/ssm/api_op_ListOpsItemEvents.go +++ b/service/ssm/api_op_ListOpsItemEvents.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListOpsItemEventsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListOpsItemEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ListOpsItemRelatedItems.go b/service/ssm/api_op_ListOpsItemRelatedItems.go index 7583c1d80eb..994b53a5981 100644 --- a/service/ssm/api_op_ListOpsItemRelatedItems.go +++ b/service/ssm/api_op_ListOpsItemRelatedItems.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListOpsItemRelatedItemsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListOpsItemRelatedItemsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ListOpsMetadata.go b/service/ssm/api_op_ListOpsMetadata.go index 6d53b7d783f..6cbd29ec165 100644 --- a/service/ssm/api_op_ListOpsMetadata.go +++ b/service/ssm/api_op_ListOpsMetadata.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListOpsMetadataMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListOpsMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ListResourceComplianceSummaries.go b/service/ssm/api_op_ListResourceComplianceSummaries.go index d0bcf81cb9b..1aecf620cda 100644 --- a/service/ssm/api_op_ListResourceComplianceSummaries.go +++ b/service/ssm/api_op_ListResourceComplianceSummaries.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListResourceComplianceSummariesMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourceComplianceSummaries(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ssm/api_op_ListResourceDataSync.go b/service/ssm/api_op_ListResourceDataSync.go index 3a3272a4a9c..85a3a967f05 100644 --- a/service/ssm/api_op_ListResourceDataSync.go +++ b/service/ssm/api_op_ListResourceDataSync.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListResourceDataSyncMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourceDataSync(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ssm/api_op_ListTagsForResource.go b/service/ssm/api_op_ListTagsForResource.go index 774c56ff68a..e1eeb2f8a21 100644 --- a/service/ssm/api_op_ListTagsForResource.go +++ b/service/ssm/api_op_ListTagsForResource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ModifyDocumentPermission.go b/service/ssm/api_op_ModifyDocumentPermission.go index 5553e5f896a..8bcf8324e09 100644 --- a/service/ssm/api_op_ModifyDocumentPermission.go +++ b/service/ssm/api_op_ModifyDocumentPermission.go @@ -130,9 +130,6 @@ func (c *Client) addOperationModifyDocumentPermissionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyDocumentPermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_PutComplianceItems.go b/service/ssm/api_op_PutComplianceItems.go index 018eaaf93d5..0ca0d570f18 100644 --- a/service/ssm/api_op_PutComplianceItems.go +++ b/service/ssm/api_op_PutComplianceItems.go @@ -192,9 +192,6 @@ func (c *Client) addOperationPutComplianceItemsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutComplianceItemsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_PutInventory.go b/service/ssm/api_op_PutInventory.go index 3ceb4f1463f..f70bc99f6fa 100644 --- a/service/ssm/api_op_PutInventory.go +++ b/service/ssm/api_op_PutInventory.go @@ -119,9 +119,6 @@ func (c *Client) addOperationPutInventoryMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutInventoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_PutParameter.go b/service/ssm/api_op_PutParameter.go index bf0e231e579..cb790412047 100644 --- a/service/ssm/api_op_PutParameter.go +++ b/service/ssm/api_op_PutParameter.go @@ -346,9 +346,6 @@ func (c *Client) addOperationPutParameterMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutParameterValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_PutResourcePolicy.go b/service/ssm/api_op_PutResourcePolicy.go index 8777a1d995d..f2884540cea 100644 --- a/service/ssm/api_op_PutResourcePolicy.go +++ b/service/ssm/api_op_PutResourcePolicy.go @@ -168,9 +168,6 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_RegisterDefaultPatchBaseline.go b/service/ssm/api_op_RegisterDefaultPatchBaseline.go index ad46172606e..2ceeefdb814 100644 --- a/service/ssm/api_op_RegisterDefaultPatchBaseline.go +++ b/service/ssm/api_op_RegisterDefaultPatchBaseline.go @@ -117,9 +117,6 @@ func (c *Client) addOperationRegisterDefaultPatchBaselineMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterDefaultPatchBaselineValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_RegisterPatchBaselineForPatchGroup.go b/service/ssm/api_op_RegisterPatchBaselineForPatchGroup.go index fcb29aad2ff..ab7a19a9a24 100644 --- a/service/ssm/api_op_RegisterPatchBaselineForPatchGroup.go +++ b/service/ssm/api_op_RegisterPatchBaselineForPatchGroup.go @@ -119,9 +119,6 @@ func (c *Client) addOperationRegisterPatchBaselineForPatchGroupMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterPatchBaselineForPatchGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_RegisterTargetWithMaintenanceWindow.go b/service/ssm/api_op_RegisterTargetWithMaintenanceWindow.go index f2fcc6d1dcd..42ac2ac4c38 100644 --- a/service/ssm/api_op_RegisterTargetWithMaintenanceWindow.go +++ b/service/ssm/api_op_RegisterTargetWithMaintenanceWindow.go @@ -174,9 +174,6 @@ func (c *Client) addOperationRegisterTargetWithMaintenanceWindowMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opRegisterTargetWithMaintenanceWindowMiddleware(stack, options); err != nil { return err } diff --git a/service/ssm/api_op_RegisterTaskWithMaintenanceWindow.go b/service/ssm/api_op_RegisterTaskWithMaintenanceWindow.go index 75edb255c0a..9b072923c37 100644 --- a/service/ssm/api_op_RegisterTaskWithMaintenanceWindow.go +++ b/service/ssm/api_op_RegisterTaskWithMaintenanceWindow.go @@ -241,9 +241,6 @@ func (c *Client) addOperationRegisterTaskWithMaintenanceWindowMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opRegisterTaskWithMaintenanceWindowMiddleware(stack, options); err != nil { return err } diff --git a/service/ssm/api_op_RemoveTagsFromResource.go b/service/ssm/api_op_RemoveTagsFromResource.go index 758cc2d3c78..3b2e71e37ed 100644 --- a/service/ssm/api_op_RemoveTagsFromResource.go +++ b/service/ssm/api_op_RemoveTagsFromResource.go @@ -143,9 +143,6 @@ func (c *Client) addOperationRemoveTagsFromResourceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveTagsFromResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ResetServiceSetting.go b/service/ssm/api_op_ResetServiceSetting.go index 81605e4ad92..1fb93549a49 100644 --- a/service/ssm/api_op_ResetServiceSetting.go +++ b/service/ssm/api_op_ResetServiceSetting.go @@ -151,9 +151,6 @@ func (c *Client) addOperationResetServiceSettingMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResetServiceSettingValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_ResumeSession.go b/service/ssm/api_op_ResumeSession.go index 1f3f5a1f83e..a771e94118d 100644 --- a/service/ssm/api_op_ResumeSession.go +++ b/service/ssm/api_op_ResumeSession.go @@ -136,9 +136,6 @@ func (c *Client) addOperationResumeSessionMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResumeSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_SendAutomationSignal.go b/service/ssm/api_op_SendAutomationSignal.go index 11ac9045389..797d3deaa51 100644 --- a/service/ssm/api_op_SendAutomationSignal.go +++ b/service/ssm/api_op_SendAutomationSignal.go @@ -134,9 +134,6 @@ func (c *Client) addOperationSendAutomationSignalMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendAutomationSignalValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_SendCommand.go b/service/ssm/api_op_SendCommand.go index bc41029baf2..2b870b88eee 100644 --- a/service/ssm/api_op_SendCommand.go +++ b/service/ssm/api_op_SendCommand.go @@ -238,9 +238,6 @@ func (c *Client) addOperationSendCommandMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendCommandValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_StartAssociationsOnce.go b/service/ssm/api_op_StartAssociationsOnce.go index 9f2db04d9d9..0dbe2dd0881 100644 --- a/service/ssm/api_op_StartAssociationsOnce.go +++ b/service/ssm/api_op_StartAssociationsOnce.go @@ -108,9 +108,6 @@ func (c *Client) addOperationStartAssociationsOnceMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartAssociationsOnceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_StartAutomationExecution.go b/service/ssm/api_op_StartAutomationExecution.go index 722238ef07b..113f0908633 100644 --- a/service/ssm/api_op_StartAutomationExecution.go +++ b/service/ssm/api_op_StartAutomationExecution.go @@ -207,9 +207,6 @@ func (c *Client) addOperationStartAutomationExecutionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartAutomationExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_StartChangeRequestExecution.go b/service/ssm/api_op_StartChangeRequestExecution.go index 6ba6fb6ae4f..2f631a43bde 100644 --- a/service/ssm/api_op_StartChangeRequestExecution.go +++ b/service/ssm/api_op_StartChangeRequestExecution.go @@ -187,9 +187,6 @@ func (c *Client) addOperationStartChangeRequestExecutionMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartChangeRequestExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_StartExecutionPreview.go b/service/ssm/api_op_StartExecutionPreview.go index aaedf9d0ad8..7f91ee74d78 100644 --- a/service/ssm/api_op_StartExecutionPreview.go +++ b/service/ssm/api_op_StartExecutionPreview.go @@ -120,9 +120,6 @@ func (c *Client) addOperationStartExecutionPreviewMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartExecutionPreviewValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_StartSession.go b/service/ssm/api_op_StartSession.go index 1be3c968c36..eed0c276d53 100644 --- a/service/ssm/api_op_StartSession.go +++ b/service/ssm/api_op_StartSession.go @@ -167,9 +167,6 @@ func (c *Client) addOperationStartSessionMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_StopAutomationExecution.go b/service/ssm/api_op_StopAutomationExecution.go index 8e3fa3c7b18..cd6098fce42 100644 --- a/service/ssm/api_op_StopAutomationExecution.go +++ b/service/ssm/api_op_StopAutomationExecution.go @@ -112,9 +112,6 @@ func (c *Client) addOperationStopAutomationExecutionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopAutomationExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_TerminateSession.go b/service/ssm/api_op_TerminateSession.go index 0f965969745..8ad81efeb3f 100644 --- a/service/ssm/api_op_TerminateSession.go +++ b/service/ssm/api_op_TerminateSession.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTerminateSessionMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTerminateSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_UnlabelParameterVersion.go b/service/ssm/api_op_UnlabelParameterVersion.go index b5fa192941f..251661ed70a 100644 --- a/service/ssm/api_op_UnlabelParameterVersion.go +++ b/service/ssm/api_op_UnlabelParameterVersion.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUnlabelParameterVersionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUnlabelParameterVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_UpdateAssociation.go b/service/ssm/api_op_UpdateAssociation.go index b8dd506d07e..19f40756691 100644 --- a/service/ssm/api_op_UpdateAssociation.go +++ b/service/ssm/api_op_UpdateAssociation.go @@ -304,9 +304,6 @@ func (c *Client) addOperationUpdateAssociationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_UpdateAssociationStatus.go b/service/ssm/api_op_UpdateAssociationStatus.go index 37596b61fde..51a4f46e07c 100644 --- a/service/ssm/api_op_UpdateAssociationStatus.go +++ b/service/ssm/api_op_UpdateAssociationStatus.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateAssociationStatusMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAssociationStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_UpdateDocument.go b/service/ssm/api_op_UpdateDocument.go index 93cca7a8561..4d8e32b2798 100644 --- a/service/ssm/api_op_UpdateDocument.go +++ b/service/ssm/api_op_UpdateDocument.go @@ -147,9 +147,6 @@ func (c *Client) addOperationUpdateDocumentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDocumentValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_UpdateDocumentDefaultVersion.go b/service/ssm/api_op_UpdateDocumentDefaultVersion.go index 529db7adc8e..1844006e92c 100644 --- a/service/ssm/api_op_UpdateDocumentDefaultVersion.go +++ b/service/ssm/api_op_UpdateDocumentDefaultVersion.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateDocumentDefaultVersionMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDocumentDefaultVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_UpdateDocumentMetadata.go b/service/ssm/api_op_UpdateDocumentMetadata.go index c7abf3e6645..5871080e54c 100644 --- a/service/ssm/api_op_UpdateDocumentMetadata.go +++ b/service/ssm/api_op_UpdateDocumentMetadata.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUpdateDocumentMetadataMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDocumentMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_UpdateMaintenanceWindow.go b/service/ssm/api_op_UpdateMaintenanceWindow.go index bed54264e52..80ae8e57be8 100644 --- a/service/ssm/api_op_UpdateMaintenanceWindow.go +++ b/service/ssm/api_op_UpdateMaintenanceWindow.go @@ -223,9 +223,6 @@ func (c *Client) addOperationUpdateMaintenanceWindowMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMaintenanceWindowValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_UpdateMaintenanceWindowTarget.go b/service/ssm/api_op_UpdateMaintenanceWindowTarget.go index 3f589297f26..c9f13515773 100644 --- a/service/ssm/api_op_UpdateMaintenanceWindowTarget.go +++ b/service/ssm/api_op_UpdateMaintenanceWindowTarget.go @@ -165,9 +165,6 @@ func (c *Client) addOperationUpdateMaintenanceWindowTargetMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMaintenanceWindowTargetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_UpdateMaintenanceWindowTask.go b/service/ssm/api_op_UpdateMaintenanceWindowTask.go index f1beec85902..85dff67e534 100644 --- a/service/ssm/api_op_UpdateMaintenanceWindowTask.go +++ b/service/ssm/api_op_UpdateMaintenanceWindowTask.go @@ -352,9 +352,6 @@ func (c *Client) addOperationUpdateMaintenanceWindowTaskMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMaintenanceWindowTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_UpdateManagedInstanceRole.go b/service/ssm/api_op_UpdateManagedInstanceRole.go index 096cbd0acfb..cf39cd187a5 100644 --- a/service/ssm/api_op_UpdateManagedInstanceRole.go +++ b/service/ssm/api_op_UpdateManagedInstanceRole.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateManagedInstanceRoleMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateManagedInstanceRoleValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_UpdateOpsItem.go b/service/ssm/api_op_UpdateOpsItem.go index 0efce9ee848..6d8c490400d 100644 --- a/service/ssm/api_op_UpdateOpsItem.go +++ b/service/ssm/api_op_UpdateOpsItem.go @@ -201,9 +201,6 @@ func (c *Client) addOperationUpdateOpsItemMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateOpsItemValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_UpdateOpsMetadata.go b/service/ssm/api_op_UpdateOpsMetadata.go index 3223a226b9b..d42ead98c47 100644 --- a/service/ssm/api_op_UpdateOpsMetadata.go +++ b/service/ssm/api_op_UpdateOpsMetadata.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateOpsMetadataMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateOpsMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_UpdatePatchBaseline.go b/service/ssm/api_op_UpdatePatchBaseline.go index 63719af38da..c8009d931f8 100644 --- a/service/ssm/api_op_UpdatePatchBaseline.go +++ b/service/ssm/api_op_UpdatePatchBaseline.go @@ -234,9 +234,6 @@ func (c *Client) addOperationUpdatePatchBaselineMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePatchBaselineValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_UpdateResourceDataSync.go b/service/ssm/api_op_UpdateResourceDataSync.go index b9d3434d304..0ace9afd665 100644 --- a/service/ssm/api_op_UpdateResourceDataSync.go +++ b/service/ssm/api_op_UpdateResourceDataSync.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateResourceDataSyncMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateResourceDataSyncValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/api_op_UpdateServiceSetting.go b/service/ssm/api_op_UpdateServiceSetting.go index 0960ca267a8..4f32ae0f6da 100644 --- a/service/ssm/api_op_UpdateServiceSetting.go +++ b/service/ssm/api_op_UpdateServiceSetting.go @@ -179,9 +179,6 @@ func (c *Client) addOperationUpdateServiceSettingMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateServiceSettingValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssm/snapshot/api_op_AddTagsToResource.go.snap b/service/ssm/snapshot/api_op_AddTagsToResource.go.snap index adf3a58c167..23e3b3e3966 100644 --- a/service/ssm/snapshot/api_op_AddTagsToResource.go.snap +++ b/service/ssm/snapshot/api_op_AddTagsToResource.go.snap @@ -14,7 +14,6 @@ AddTagsToResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_AssociateOpsItemRelatedItem.go.snap b/service/ssm/snapshot/api_op_AssociateOpsItemRelatedItem.go.snap index 6df7476237c..e704c5871fe 100644 --- a/service/ssm/snapshot/api_op_AssociateOpsItemRelatedItem.go.snap +++ b/service/ssm/snapshot/api_op_AssociateOpsItemRelatedItem.go.snap @@ -14,7 +14,6 @@ AssociateOpsItemRelatedItem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_CancelCommand.go.snap b/service/ssm/snapshot/api_op_CancelCommand.go.snap index 95529ac9cd3..3418b156c52 100644 --- a/service/ssm/snapshot/api_op_CancelCommand.go.snap +++ b/service/ssm/snapshot/api_op_CancelCommand.go.snap @@ -14,7 +14,6 @@ CancelCommand Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_CancelMaintenanceWindowExecution.go.snap b/service/ssm/snapshot/api_op_CancelMaintenanceWindowExecution.go.snap index e8c0e701ce9..635daaba7a9 100644 --- a/service/ssm/snapshot/api_op_CancelMaintenanceWindowExecution.go.snap +++ b/service/ssm/snapshot/api_op_CancelMaintenanceWindowExecution.go.snap @@ -14,7 +14,6 @@ CancelMaintenanceWindowExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_CreateActivation.go.snap b/service/ssm/snapshot/api_op_CreateActivation.go.snap index dd145de7ec6..dfce0adc18f 100644 --- a/service/ssm/snapshot/api_op_CreateActivation.go.snap +++ b/service/ssm/snapshot/api_op_CreateActivation.go.snap @@ -14,7 +14,6 @@ CreateActivation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_CreateAssociation.go.snap b/service/ssm/snapshot/api_op_CreateAssociation.go.snap index d1e364d1feb..e1281200fed 100644 --- a/service/ssm/snapshot/api_op_CreateAssociation.go.snap +++ b/service/ssm/snapshot/api_op_CreateAssociation.go.snap @@ -14,7 +14,6 @@ CreateAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_CreateAssociationBatch.go.snap b/service/ssm/snapshot/api_op_CreateAssociationBatch.go.snap index 5d08e85d1c6..5b40edaa03b 100644 --- a/service/ssm/snapshot/api_op_CreateAssociationBatch.go.snap +++ b/service/ssm/snapshot/api_op_CreateAssociationBatch.go.snap @@ -14,7 +14,6 @@ CreateAssociationBatch Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_CreateDocument.go.snap b/service/ssm/snapshot/api_op_CreateDocument.go.snap index d5efa7922a5..000477a423c 100644 --- a/service/ssm/snapshot/api_op_CreateDocument.go.snap +++ b/service/ssm/snapshot/api_op_CreateDocument.go.snap @@ -14,7 +14,6 @@ CreateDocument Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_CreateMaintenanceWindow.go.snap b/service/ssm/snapshot/api_op_CreateMaintenanceWindow.go.snap index 3d1f5751122..b876eb15453 100644 --- a/service/ssm/snapshot/api_op_CreateMaintenanceWindow.go.snap +++ b/service/ssm/snapshot/api_op_CreateMaintenanceWindow.go.snap @@ -15,7 +15,6 @@ CreateMaintenanceWindow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_CreateOpsItem.go.snap b/service/ssm/snapshot/api_op_CreateOpsItem.go.snap index a04a722ae75..09dcc5dc9e9 100644 --- a/service/ssm/snapshot/api_op_CreateOpsItem.go.snap +++ b/service/ssm/snapshot/api_op_CreateOpsItem.go.snap @@ -14,7 +14,6 @@ CreateOpsItem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_CreateOpsMetadata.go.snap b/service/ssm/snapshot/api_op_CreateOpsMetadata.go.snap index 5c937c1a4d6..b708d0ef5ff 100644 --- a/service/ssm/snapshot/api_op_CreateOpsMetadata.go.snap +++ b/service/ssm/snapshot/api_op_CreateOpsMetadata.go.snap @@ -14,7 +14,6 @@ CreateOpsMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_CreatePatchBaseline.go.snap b/service/ssm/snapshot/api_op_CreatePatchBaseline.go.snap index 011fef68316..2c0c4894514 100644 --- a/service/ssm/snapshot/api_op_CreatePatchBaseline.go.snap +++ b/service/ssm/snapshot/api_op_CreatePatchBaseline.go.snap @@ -15,7 +15,6 @@ CreatePatchBaseline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_CreateResourceDataSync.go.snap b/service/ssm/snapshot/api_op_CreateResourceDataSync.go.snap index 61fcafe54e7..f197428d01b 100644 --- a/service/ssm/snapshot/api_op_CreateResourceDataSync.go.snap +++ b/service/ssm/snapshot/api_op_CreateResourceDataSync.go.snap @@ -14,7 +14,6 @@ CreateResourceDataSync Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DeleteActivation.go.snap b/service/ssm/snapshot/api_op_DeleteActivation.go.snap index a6d228bbd42..d9e4476f4af 100644 --- a/service/ssm/snapshot/api_op_DeleteActivation.go.snap +++ b/service/ssm/snapshot/api_op_DeleteActivation.go.snap @@ -14,7 +14,6 @@ DeleteActivation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DeleteAssociation.go.snap b/service/ssm/snapshot/api_op_DeleteAssociation.go.snap index 6cd7e94523f..332bd589fec 100644 --- a/service/ssm/snapshot/api_op_DeleteAssociation.go.snap +++ b/service/ssm/snapshot/api_op_DeleteAssociation.go.snap @@ -13,7 +13,6 @@ DeleteAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DeleteDocument.go.snap b/service/ssm/snapshot/api_op_DeleteDocument.go.snap index caeb78b1332..93193fc6a27 100644 --- a/service/ssm/snapshot/api_op_DeleteDocument.go.snap +++ b/service/ssm/snapshot/api_op_DeleteDocument.go.snap @@ -14,7 +14,6 @@ DeleteDocument Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DeleteInventory.go.snap b/service/ssm/snapshot/api_op_DeleteInventory.go.snap index 434d0321290..dfef9d87fbd 100644 --- a/service/ssm/snapshot/api_op_DeleteInventory.go.snap +++ b/service/ssm/snapshot/api_op_DeleteInventory.go.snap @@ -15,7 +15,6 @@ DeleteInventory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DeleteMaintenanceWindow.go.snap b/service/ssm/snapshot/api_op_DeleteMaintenanceWindow.go.snap index 19553ab3df1..568c7a14dab 100644 --- a/service/ssm/snapshot/api_op_DeleteMaintenanceWindow.go.snap +++ b/service/ssm/snapshot/api_op_DeleteMaintenanceWindow.go.snap @@ -14,7 +14,6 @@ DeleteMaintenanceWindow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DeleteOpsItem.go.snap b/service/ssm/snapshot/api_op_DeleteOpsItem.go.snap index 34ce09513d1..50f516fb3fc 100644 --- a/service/ssm/snapshot/api_op_DeleteOpsItem.go.snap +++ b/service/ssm/snapshot/api_op_DeleteOpsItem.go.snap @@ -14,7 +14,6 @@ DeleteOpsItem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DeleteOpsMetadata.go.snap b/service/ssm/snapshot/api_op_DeleteOpsMetadata.go.snap index c4f185c4951..19e6fec90ef 100644 --- a/service/ssm/snapshot/api_op_DeleteOpsMetadata.go.snap +++ b/service/ssm/snapshot/api_op_DeleteOpsMetadata.go.snap @@ -14,7 +14,6 @@ DeleteOpsMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DeleteParameter.go.snap b/service/ssm/snapshot/api_op_DeleteParameter.go.snap index 73de35b464e..e0662fb7a3f 100644 --- a/service/ssm/snapshot/api_op_DeleteParameter.go.snap +++ b/service/ssm/snapshot/api_op_DeleteParameter.go.snap @@ -14,7 +14,6 @@ DeleteParameter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DeleteParameters.go.snap b/service/ssm/snapshot/api_op_DeleteParameters.go.snap index 9ddeddf205d..2b92d869898 100644 --- a/service/ssm/snapshot/api_op_DeleteParameters.go.snap +++ b/service/ssm/snapshot/api_op_DeleteParameters.go.snap @@ -14,7 +14,6 @@ DeleteParameters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DeletePatchBaseline.go.snap b/service/ssm/snapshot/api_op_DeletePatchBaseline.go.snap index 82a66d64484..2e7e0e9bb22 100644 --- a/service/ssm/snapshot/api_op_DeletePatchBaseline.go.snap +++ b/service/ssm/snapshot/api_op_DeletePatchBaseline.go.snap @@ -14,7 +14,6 @@ DeletePatchBaseline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DeleteResourceDataSync.go.snap b/service/ssm/snapshot/api_op_DeleteResourceDataSync.go.snap index 93ec9c7a0af..1ffa950304d 100644 --- a/service/ssm/snapshot/api_op_DeleteResourceDataSync.go.snap +++ b/service/ssm/snapshot/api_op_DeleteResourceDataSync.go.snap @@ -14,7 +14,6 @@ DeleteResourceDataSync Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DeleteResourcePolicy.go.snap b/service/ssm/snapshot/api_op_DeleteResourcePolicy.go.snap index 21dbc8dfcde..9948d797360 100644 --- a/service/ssm/snapshot/api_op_DeleteResourcePolicy.go.snap +++ b/service/ssm/snapshot/api_op_DeleteResourcePolicy.go.snap @@ -14,7 +14,6 @@ DeleteResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DeregisterManagedInstance.go.snap b/service/ssm/snapshot/api_op_DeregisterManagedInstance.go.snap index 24eef8a2dfc..78a6b436ef5 100644 --- a/service/ssm/snapshot/api_op_DeregisterManagedInstance.go.snap +++ b/service/ssm/snapshot/api_op_DeregisterManagedInstance.go.snap @@ -14,7 +14,6 @@ DeregisterManagedInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DeregisterPatchBaselineForPatchGroup.go.snap b/service/ssm/snapshot/api_op_DeregisterPatchBaselineForPatchGroup.go.snap index 4b8b03e4b47..5fb3e173a79 100644 --- a/service/ssm/snapshot/api_op_DeregisterPatchBaselineForPatchGroup.go.snap +++ b/service/ssm/snapshot/api_op_DeregisterPatchBaselineForPatchGroup.go.snap @@ -14,7 +14,6 @@ DeregisterPatchBaselineForPatchGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DeregisterTargetFromMaintenanceWindow.go.snap b/service/ssm/snapshot/api_op_DeregisterTargetFromMaintenanceWindow.go.snap index b421260b3f0..7a01d4f234c 100644 --- a/service/ssm/snapshot/api_op_DeregisterTargetFromMaintenanceWindow.go.snap +++ b/service/ssm/snapshot/api_op_DeregisterTargetFromMaintenanceWindow.go.snap @@ -14,7 +14,6 @@ DeregisterTargetFromMaintenanceWindow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DeregisterTaskFromMaintenanceWindow.go.snap b/service/ssm/snapshot/api_op_DeregisterTaskFromMaintenanceWindow.go.snap index 898b47889a4..66886028381 100644 --- a/service/ssm/snapshot/api_op_DeregisterTaskFromMaintenanceWindow.go.snap +++ b/service/ssm/snapshot/api_op_DeregisterTaskFromMaintenanceWindow.go.snap @@ -14,7 +14,6 @@ DeregisterTaskFromMaintenanceWindow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DescribeActivations.go.snap b/service/ssm/snapshot/api_op_DescribeActivations.go.snap index af2ec897af7..2a02d20e154 100644 --- a/service/ssm/snapshot/api_op_DescribeActivations.go.snap +++ b/service/ssm/snapshot/api_op_DescribeActivations.go.snap @@ -13,7 +13,6 @@ DescribeActivations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DescribeAssociation.go.snap b/service/ssm/snapshot/api_op_DescribeAssociation.go.snap index cf2f33b206a..fd15aec9245 100644 --- a/service/ssm/snapshot/api_op_DescribeAssociation.go.snap +++ b/service/ssm/snapshot/api_op_DescribeAssociation.go.snap @@ -13,7 +13,6 @@ DescribeAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DescribeAssociationExecutionTargets.go.snap b/service/ssm/snapshot/api_op_DescribeAssociationExecutionTargets.go.snap index c92282c670e..f3291483cf8 100644 --- a/service/ssm/snapshot/api_op_DescribeAssociationExecutionTargets.go.snap +++ b/service/ssm/snapshot/api_op_DescribeAssociationExecutionTargets.go.snap @@ -14,7 +14,6 @@ DescribeAssociationExecutionTargets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DescribeAssociationExecutions.go.snap b/service/ssm/snapshot/api_op_DescribeAssociationExecutions.go.snap index 4462d6a52ad..392e0852fbb 100644 --- a/service/ssm/snapshot/api_op_DescribeAssociationExecutions.go.snap +++ b/service/ssm/snapshot/api_op_DescribeAssociationExecutions.go.snap @@ -14,7 +14,6 @@ DescribeAssociationExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DescribeAutomationExecutions.go.snap b/service/ssm/snapshot/api_op_DescribeAutomationExecutions.go.snap index ff3337173c7..9f0512b62ad 100644 --- a/service/ssm/snapshot/api_op_DescribeAutomationExecutions.go.snap +++ b/service/ssm/snapshot/api_op_DescribeAutomationExecutions.go.snap @@ -14,7 +14,6 @@ DescribeAutomationExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DescribeAutomationStepExecutions.go.snap b/service/ssm/snapshot/api_op_DescribeAutomationStepExecutions.go.snap index 00c1dd4832f..b7a37ca7358 100644 --- a/service/ssm/snapshot/api_op_DescribeAutomationStepExecutions.go.snap +++ b/service/ssm/snapshot/api_op_DescribeAutomationStepExecutions.go.snap @@ -14,7 +14,6 @@ DescribeAutomationStepExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DescribeAvailablePatches.go.snap b/service/ssm/snapshot/api_op_DescribeAvailablePatches.go.snap index a6aa5838360..71b08bf5580 100644 --- a/service/ssm/snapshot/api_op_DescribeAvailablePatches.go.snap +++ b/service/ssm/snapshot/api_op_DescribeAvailablePatches.go.snap @@ -13,7 +13,6 @@ DescribeAvailablePatches Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DescribeDocument.go.snap b/service/ssm/snapshot/api_op_DescribeDocument.go.snap index 9dd9994544f..4ce7a3eaa39 100644 --- a/service/ssm/snapshot/api_op_DescribeDocument.go.snap +++ b/service/ssm/snapshot/api_op_DescribeDocument.go.snap @@ -14,7 +14,6 @@ DescribeDocument Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DescribeDocumentPermission.go.snap b/service/ssm/snapshot/api_op_DescribeDocumentPermission.go.snap index 584f592117e..1d17d2a8558 100644 --- a/service/ssm/snapshot/api_op_DescribeDocumentPermission.go.snap +++ b/service/ssm/snapshot/api_op_DescribeDocumentPermission.go.snap @@ -14,7 +14,6 @@ DescribeDocumentPermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DescribeEffectiveInstanceAssociations.go.snap b/service/ssm/snapshot/api_op_DescribeEffectiveInstanceAssociations.go.snap index 699283088e5..fa806021a20 100644 --- a/service/ssm/snapshot/api_op_DescribeEffectiveInstanceAssociations.go.snap +++ b/service/ssm/snapshot/api_op_DescribeEffectiveInstanceAssociations.go.snap @@ -14,7 +14,6 @@ DescribeEffectiveInstanceAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DescribeEffectivePatchesForPatchBaseline.go.snap b/service/ssm/snapshot/api_op_DescribeEffectivePatchesForPatchBaseline.go.snap index 6a48c99b27e..f0294f20643 100644 --- a/service/ssm/snapshot/api_op_DescribeEffectivePatchesForPatchBaseline.go.snap +++ b/service/ssm/snapshot/api_op_DescribeEffectivePatchesForPatchBaseline.go.snap @@ -14,7 +14,6 @@ DescribeEffectivePatchesForPatchBaseline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DescribeInstanceAssociationsStatus.go.snap b/service/ssm/snapshot/api_op_DescribeInstanceAssociationsStatus.go.snap index b44423b8a3a..d33b795e002 100644 --- a/service/ssm/snapshot/api_op_DescribeInstanceAssociationsStatus.go.snap +++ b/service/ssm/snapshot/api_op_DescribeInstanceAssociationsStatus.go.snap @@ -14,7 +14,6 @@ DescribeInstanceAssociationsStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DescribeInstanceInformation.go.snap b/service/ssm/snapshot/api_op_DescribeInstanceInformation.go.snap index 9a3af0069dc..d82f3346aa0 100644 --- a/service/ssm/snapshot/api_op_DescribeInstanceInformation.go.snap +++ b/service/ssm/snapshot/api_op_DescribeInstanceInformation.go.snap @@ -14,7 +14,6 @@ DescribeInstanceInformation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DescribeInstancePatchStates.go.snap b/service/ssm/snapshot/api_op_DescribeInstancePatchStates.go.snap index 8e6a6d183bb..6d349368008 100644 --- a/service/ssm/snapshot/api_op_DescribeInstancePatchStates.go.snap +++ b/service/ssm/snapshot/api_op_DescribeInstancePatchStates.go.snap @@ -14,7 +14,6 @@ DescribeInstancePatchStates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DescribeInstancePatchStatesForPatchGroup.go.snap b/service/ssm/snapshot/api_op_DescribeInstancePatchStatesForPatchGroup.go.snap index ef66d4f5317..c495d99f03e 100644 --- a/service/ssm/snapshot/api_op_DescribeInstancePatchStatesForPatchGroup.go.snap +++ b/service/ssm/snapshot/api_op_DescribeInstancePatchStatesForPatchGroup.go.snap @@ -14,7 +14,6 @@ DescribeInstancePatchStatesForPatchGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DescribeInstancePatches.go.snap b/service/ssm/snapshot/api_op_DescribeInstancePatches.go.snap index 4dc8235f31c..acbe23bfeb9 100644 --- a/service/ssm/snapshot/api_op_DescribeInstancePatches.go.snap +++ b/service/ssm/snapshot/api_op_DescribeInstancePatches.go.snap @@ -14,7 +14,6 @@ DescribeInstancePatches Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DescribeInstanceProperties.go.snap b/service/ssm/snapshot/api_op_DescribeInstanceProperties.go.snap index a8f88688e2a..d7bbc08f2dd 100644 --- a/service/ssm/snapshot/api_op_DescribeInstanceProperties.go.snap +++ b/service/ssm/snapshot/api_op_DescribeInstanceProperties.go.snap @@ -14,7 +14,6 @@ DescribeInstanceProperties Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DescribeInventoryDeletions.go.snap b/service/ssm/snapshot/api_op_DescribeInventoryDeletions.go.snap index a9807341054..60d56ebf967 100644 --- a/service/ssm/snapshot/api_op_DescribeInventoryDeletions.go.snap +++ b/service/ssm/snapshot/api_op_DescribeInventoryDeletions.go.snap @@ -13,7 +13,6 @@ DescribeInventoryDeletions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DescribeMaintenanceWindowExecutionTaskInvocations.go.snap b/service/ssm/snapshot/api_op_DescribeMaintenanceWindowExecutionTaskInvocations.go.snap index 3e92cc9165c..6ae2370b149 100644 --- a/service/ssm/snapshot/api_op_DescribeMaintenanceWindowExecutionTaskInvocations.go.snap +++ b/service/ssm/snapshot/api_op_DescribeMaintenanceWindowExecutionTaskInvocations.go.snap @@ -14,7 +14,6 @@ DescribeMaintenanceWindowExecutionTaskInvocations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DescribeMaintenanceWindowExecutionTasks.go.snap b/service/ssm/snapshot/api_op_DescribeMaintenanceWindowExecutionTasks.go.snap index 6fc4c10b78b..e745a312eb2 100644 --- a/service/ssm/snapshot/api_op_DescribeMaintenanceWindowExecutionTasks.go.snap +++ b/service/ssm/snapshot/api_op_DescribeMaintenanceWindowExecutionTasks.go.snap @@ -14,7 +14,6 @@ DescribeMaintenanceWindowExecutionTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DescribeMaintenanceWindowExecutions.go.snap b/service/ssm/snapshot/api_op_DescribeMaintenanceWindowExecutions.go.snap index 5b26d0cdf11..fee8ef5469f 100644 --- a/service/ssm/snapshot/api_op_DescribeMaintenanceWindowExecutions.go.snap +++ b/service/ssm/snapshot/api_op_DescribeMaintenanceWindowExecutions.go.snap @@ -14,7 +14,6 @@ DescribeMaintenanceWindowExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DescribeMaintenanceWindowSchedule.go.snap b/service/ssm/snapshot/api_op_DescribeMaintenanceWindowSchedule.go.snap index abbbcca838f..7f5e621caf1 100644 --- a/service/ssm/snapshot/api_op_DescribeMaintenanceWindowSchedule.go.snap +++ b/service/ssm/snapshot/api_op_DescribeMaintenanceWindowSchedule.go.snap @@ -13,7 +13,6 @@ DescribeMaintenanceWindowSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DescribeMaintenanceWindowTargets.go.snap b/service/ssm/snapshot/api_op_DescribeMaintenanceWindowTargets.go.snap index fe5026b9584..2722ea7c817 100644 --- a/service/ssm/snapshot/api_op_DescribeMaintenanceWindowTargets.go.snap +++ b/service/ssm/snapshot/api_op_DescribeMaintenanceWindowTargets.go.snap @@ -14,7 +14,6 @@ DescribeMaintenanceWindowTargets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DescribeMaintenanceWindowTasks.go.snap b/service/ssm/snapshot/api_op_DescribeMaintenanceWindowTasks.go.snap index 3fc7403b324..b533c23254d 100644 --- a/service/ssm/snapshot/api_op_DescribeMaintenanceWindowTasks.go.snap +++ b/service/ssm/snapshot/api_op_DescribeMaintenanceWindowTasks.go.snap @@ -14,7 +14,6 @@ DescribeMaintenanceWindowTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DescribeMaintenanceWindows.go.snap b/service/ssm/snapshot/api_op_DescribeMaintenanceWindows.go.snap index dbb53b751ba..13c7c16da1a 100644 --- a/service/ssm/snapshot/api_op_DescribeMaintenanceWindows.go.snap +++ b/service/ssm/snapshot/api_op_DescribeMaintenanceWindows.go.snap @@ -13,7 +13,6 @@ DescribeMaintenanceWindows Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DescribeMaintenanceWindowsForTarget.go.snap b/service/ssm/snapshot/api_op_DescribeMaintenanceWindowsForTarget.go.snap index f97bd3cfdcf..b5cf800ada1 100644 --- a/service/ssm/snapshot/api_op_DescribeMaintenanceWindowsForTarget.go.snap +++ b/service/ssm/snapshot/api_op_DescribeMaintenanceWindowsForTarget.go.snap @@ -14,7 +14,6 @@ DescribeMaintenanceWindowsForTarget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DescribeOpsItems.go.snap b/service/ssm/snapshot/api_op_DescribeOpsItems.go.snap index 0e2ca78cfc8..9733bb43006 100644 --- a/service/ssm/snapshot/api_op_DescribeOpsItems.go.snap +++ b/service/ssm/snapshot/api_op_DescribeOpsItems.go.snap @@ -14,7 +14,6 @@ DescribeOpsItems Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DescribeParameters.go.snap b/service/ssm/snapshot/api_op_DescribeParameters.go.snap index 5f40622e8ea..bbe314ad47a 100644 --- a/service/ssm/snapshot/api_op_DescribeParameters.go.snap +++ b/service/ssm/snapshot/api_op_DescribeParameters.go.snap @@ -14,7 +14,6 @@ DescribeParameters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DescribePatchBaselines.go.snap b/service/ssm/snapshot/api_op_DescribePatchBaselines.go.snap index d90984a7484..0267e0c1c0c 100644 --- a/service/ssm/snapshot/api_op_DescribePatchBaselines.go.snap +++ b/service/ssm/snapshot/api_op_DescribePatchBaselines.go.snap @@ -13,7 +13,6 @@ DescribePatchBaselines Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DescribePatchGroupState.go.snap b/service/ssm/snapshot/api_op_DescribePatchGroupState.go.snap index db3b2b46b90..8d9ccd570df 100644 --- a/service/ssm/snapshot/api_op_DescribePatchGroupState.go.snap +++ b/service/ssm/snapshot/api_op_DescribePatchGroupState.go.snap @@ -14,7 +14,6 @@ DescribePatchGroupState Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DescribePatchGroups.go.snap b/service/ssm/snapshot/api_op_DescribePatchGroups.go.snap index 751153a4089..506ac479e9d 100644 --- a/service/ssm/snapshot/api_op_DescribePatchGroups.go.snap +++ b/service/ssm/snapshot/api_op_DescribePatchGroups.go.snap @@ -13,7 +13,6 @@ DescribePatchGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DescribePatchProperties.go.snap b/service/ssm/snapshot/api_op_DescribePatchProperties.go.snap index 554f25729f6..eba69417fac 100644 --- a/service/ssm/snapshot/api_op_DescribePatchProperties.go.snap +++ b/service/ssm/snapshot/api_op_DescribePatchProperties.go.snap @@ -14,7 +14,6 @@ DescribePatchProperties Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DescribeSessions.go.snap b/service/ssm/snapshot/api_op_DescribeSessions.go.snap index 95d9323d293..dc9ce6083bd 100644 --- a/service/ssm/snapshot/api_op_DescribeSessions.go.snap +++ b/service/ssm/snapshot/api_op_DescribeSessions.go.snap @@ -14,7 +14,6 @@ DescribeSessions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_DisassociateOpsItemRelatedItem.go.snap b/service/ssm/snapshot/api_op_DisassociateOpsItemRelatedItem.go.snap index f0060cabdba..9cbe679e04f 100644 --- a/service/ssm/snapshot/api_op_DisassociateOpsItemRelatedItem.go.snap +++ b/service/ssm/snapshot/api_op_DisassociateOpsItemRelatedItem.go.snap @@ -14,7 +14,6 @@ DisassociateOpsItemRelatedItem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_GetAutomationExecution.go.snap b/service/ssm/snapshot/api_op_GetAutomationExecution.go.snap index 0076cd6f951..e8214b8a4a8 100644 --- a/service/ssm/snapshot/api_op_GetAutomationExecution.go.snap +++ b/service/ssm/snapshot/api_op_GetAutomationExecution.go.snap @@ -14,7 +14,6 @@ GetAutomationExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_GetCalendarState.go.snap b/service/ssm/snapshot/api_op_GetCalendarState.go.snap index 6be23f04cdf..4f268b15630 100644 --- a/service/ssm/snapshot/api_op_GetCalendarState.go.snap +++ b/service/ssm/snapshot/api_op_GetCalendarState.go.snap @@ -14,7 +14,6 @@ GetCalendarState Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_GetCommandInvocation.go.snap b/service/ssm/snapshot/api_op_GetCommandInvocation.go.snap index a99d59dd175..4c2be980dae 100644 --- a/service/ssm/snapshot/api_op_GetCommandInvocation.go.snap +++ b/service/ssm/snapshot/api_op_GetCommandInvocation.go.snap @@ -14,7 +14,6 @@ GetCommandInvocation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_GetConnectionStatus.go.snap b/service/ssm/snapshot/api_op_GetConnectionStatus.go.snap index e536ef3d471..1c4f79f5326 100644 --- a/service/ssm/snapshot/api_op_GetConnectionStatus.go.snap +++ b/service/ssm/snapshot/api_op_GetConnectionStatus.go.snap @@ -14,7 +14,6 @@ GetConnectionStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_GetDefaultPatchBaseline.go.snap b/service/ssm/snapshot/api_op_GetDefaultPatchBaseline.go.snap index 9755eacde9e..d5ff54fd57d 100644 --- a/service/ssm/snapshot/api_op_GetDefaultPatchBaseline.go.snap +++ b/service/ssm/snapshot/api_op_GetDefaultPatchBaseline.go.snap @@ -13,7 +13,6 @@ GetDefaultPatchBaseline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_GetDeployablePatchSnapshotForInstance.go.snap b/service/ssm/snapshot/api_op_GetDeployablePatchSnapshotForInstance.go.snap index a1e451da2e1..07e32b8a26e 100644 --- a/service/ssm/snapshot/api_op_GetDeployablePatchSnapshotForInstance.go.snap +++ b/service/ssm/snapshot/api_op_GetDeployablePatchSnapshotForInstance.go.snap @@ -14,7 +14,6 @@ GetDeployablePatchSnapshotForInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_GetDocument.go.snap b/service/ssm/snapshot/api_op_GetDocument.go.snap index f12683aee2b..24141864c6f 100644 --- a/service/ssm/snapshot/api_op_GetDocument.go.snap +++ b/service/ssm/snapshot/api_op_GetDocument.go.snap @@ -14,7 +14,6 @@ GetDocument Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_GetExecutionPreview.go.snap b/service/ssm/snapshot/api_op_GetExecutionPreview.go.snap index 17e79a6c8ea..ced46a053bf 100644 --- a/service/ssm/snapshot/api_op_GetExecutionPreview.go.snap +++ b/service/ssm/snapshot/api_op_GetExecutionPreview.go.snap @@ -14,7 +14,6 @@ GetExecutionPreview Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_GetInventory.go.snap b/service/ssm/snapshot/api_op_GetInventory.go.snap index 7ee88fcf450..381ed8eabf2 100644 --- a/service/ssm/snapshot/api_op_GetInventory.go.snap +++ b/service/ssm/snapshot/api_op_GetInventory.go.snap @@ -14,7 +14,6 @@ GetInventory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_GetInventorySchema.go.snap b/service/ssm/snapshot/api_op_GetInventorySchema.go.snap index 6273f2f2afa..ac256557519 100644 --- a/service/ssm/snapshot/api_op_GetInventorySchema.go.snap +++ b/service/ssm/snapshot/api_op_GetInventorySchema.go.snap @@ -13,7 +13,6 @@ GetInventorySchema Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_GetMaintenanceWindow.go.snap b/service/ssm/snapshot/api_op_GetMaintenanceWindow.go.snap index a1da4a1e8ab..be0e1c35703 100644 --- a/service/ssm/snapshot/api_op_GetMaintenanceWindow.go.snap +++ b/service/ssm/snapshot/api_op_GetMaintenanceWindow.go.snap @@ -14,7 +14,6 @@ GetMaintenanceWindow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_GetMaintenanceWindowExecution.go.snap b/service/ssm/snapshot/api_op_GetMaintenanceWindowExecution.go.snap index 43c6926afee..2c8c6c5404a 100644 --- a/service/ssm/snapshot/api_op_GetMaintenanceWindowExecution.go.snap +++ b/service/ssm/snapshot/api_op_GetMaintenanceWindowExecution.go.snap @@ -14,7 +14,6 @@ GetMaintenanceWindowExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_GetMaintenanceWindowExecutionTask.go.snap b/service/ssm/snapshot/api_op_GetMaintenanceWindowExecutionTask.go.snap index 62c23131da4..c84e5d680cb 100644 --- a/service/ssm/snapshot/api_op_GetMaintenanceWindowExecutionTask.go.snap +++ b/service/ssm/snapshot/api_op_GetMaintenanceWindowExecutionTask.go.snap @@ -14,7 +14,6 @@ GetMaintenanceWindowExecutionTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_GetMaintenanceWindowExecutionTaskInvocation.go.snap b/service/ssm/snapshot/api_op_GetMaintenanceWindowExecutionTaskInvocation.go.snap index 9082a67ede1..e5bbcc9229c 100644 --- a/service/ssm/snapshot/api_op_GetMaintenanceWindowExecutionTaskInvocation.go.snap +++ b/service/ssm/snapshot/api_op_GetMaintenanceWindowExecutionTaskInvocation.go.snap @@ -14,7 +14,6 @@ GetMaintenanceWindowExecutionTaskInvocation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_GetMaintenanceWindowTask.go.snap b/service/ssm/snapshot/api_op_GetMaintenanceWindowTask.go.snap index 21e588d10a5..59d5aaf2a36 100644 --- a/service/ssm/snapshot/api_op_GetMaintenanceWindowTask.go.snap +++ b/service/ssm/snapshot/api_op_GetMaintenanceWindowTask.go.snap @@ -14,7 +14,6 @@ GetMaintenanceWindowTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_GetOpsItem.go.snap b/service/ssm/snapshot/api_op_GetOpsItem.go.snap index dbe28d58539..b7dcb2cfa93 100644 --- a/service/ssm/snapshot/api_op_GetOpsItem.go.snap +++ b/service/ssm/snapshot/api_op_GetOpsItem.go.snap @@ -14,7 +14,6 @@ GetOpsItem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_GetOpsMetadata.go.snap b/service/ssm/snapshot/api_op_GetOpsMetadata.go.snap index 3a1f6187013..060b13f2f29 100644 --- a/service/ssm/snapshot/api_op_GetOpsMetadata.go.snap +++ b/service/ssm/snapshot/api_op_GetOpsMetadata.go.snap @@ -14,7 +14,6 @@ GetOpsMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_GetOpsSummary.go.snap b/service/ssm/snapshot/api_op_GetOpsSummary.go.snap index 58fc425087d..0236e637a1c 100644 --- a/service/ssm/snapshot/api_op_GetOpsSummary.go.snap +++ b/service/ssm/snapshot/api_op_GetOpsSummary.go.snap @@ -14,7 +14,6 @@ GetOpsSummary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_GetParameter.go.snap b/service/ssm/snapshot/api_op_GetParameter.go.snap index e38a5479694..16bb8a30e02 100644 --- a/service/ssm/snapshot/api_op_GetParameter.go.snap +++ b/service/ssm/snapshot/api_op_GetParameter.go.snap @@ -14,7 +14,6 @@ GetParameter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_GetParameterHistory.go.snap b/service/ssm/snapshot/api_op_GetParameterHistory.go.snap index 0102babe9ce..87e0dba3b66 100644 --- a/service/ssm/snapshot/api_op_GetParameterHistory.go.snap +++ b/service/ssm/snapshot/api_op_GetParameterHistory.go.snap @@ -14,7 +14,6 @@ GetParameterHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_GetParameters.go.snap b/service/ssm/snapshot/api_op_GetParameters.go.snap index 9b230f68102..c5c6dd6d9ca 100644 --- a/service/ssm/snapshot/api_op_GetParameters.go.snap +++ b/service/ssm/snapshot/api_op_GetParameters.go.snap @@ -14,7 +14,6 @@ GetParameters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_GetParametersByPath.go.snap b/service/ssm/snapshot/api_op_GetParametersByPath.go.snap index a4af97d8c3e..dff26bf7c82 100644 --- a/service/ssm/snapshot/api_op_GetParametersByPath.go.snap +++ b/service/ssm/snapshot/api_op_GetParametersByPath.go.snap @@ -14,7 +14,6 @@ GetParametersByPath Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_GetPatchBaseline.go.snap b/service/ssm/snapshot/api_op_GetPatchBaseline.go.snap index a79e90647a0..4ff0abb6df7 100644 --- a/service/ssm/snapshot/api_op_GetPatchBaseline.go.snap +++ b/service/ssm/snapshot/api_op_GetPatchBaseline.go.snap @@ -14,7 +14,6 @@ GetPatchBaseline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_GetPatchBaselineForPatchGroup.go.snap b/service/ssm/snapshot/api_op_GetPatchBaselineForPatchGroup.go.snap index 9c65bcb3b80..791941e02be 100644 --- a/service/ssm/snapshot/api_op_GetPatchBaselineForPatchGroup.go.snap +++ b/service/ssm/snapshot/api_op_GetPatchBaselineForPatchGroup.go.snap @@ -14,7 +14,6 @@ GetPatchBaselineForPatchGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_GetResourcePolicies.go.snap b/service/ssm/snapshot/api_op_GetResourcePolicies.go.snap index 57a5f5567a0..e35c789807c 100644 --- a/service/ssm/snapshot/api_op_GetResourcePolicies.go.snap +++ b/service/ssm/snapshot/api_op_GetResourcePolicies.go.snap @@ -14,7 +14,6 @@ GetResourcePolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_GetServiceSetting.go.snap b/service/ssm/snapshot/api_op_GetServiceSetting.go.snap index 6fea6bb1816..4f946e56ae8 100644 --- a/service/ssm/snapshot/api_op_GetServiceSetting.go.snap +++ b/service/ssm/snapshot/api_op_GetServiceSetting.go.snap @@ -14,7 +14,6 @@ GetServiceSetting Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_LabelParameterVersion.go.snap b/service/ssm/snapshot/api_op_LabelParameterVersion.go.snap index f78fcce2df8..0e72e780439 100644 --- a/service/ssm/snapshot/api_op_LabelParameterVersion.go.snap +++ b/service/ssm/snapshot/api_op_LabelParameterVersion.go.snap @@ -14,7 +14,6 @@ LabelParameterVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_ListAssociationVersions.go.snap b/service/ssm/snapshot/api_op_ListAssociationVersions.go.snap index 975ac6d7fab..645cb6be369 100644 --- a/service/ssm/snapshot/api_op_ListAssociationVersions.go.snap +++ b/service/ssm/snapshot/api_op_ListAssociationVersions.go.snap @@ -14,7 +14,6 @@ ListAssociationVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_ListAssociations.go.snap b/service/ssm/snapshot/api_op_ListAssociations.go.snap index b5276949bc1..a0073117f51 100644 --- a/service/ssm/snapshot/api_op_ListAssociations.go.snap +++ b/service/ssm/snapshot/api_op_ListAssociations.go.snap @@ -14,7 +14,6 @@ ListAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_ListCommandInvocations.go.snap b/service/ssm/snapshot/api_op_ListCommandInvocations.go.snap index d3facba0628..c946a48484c 100644 --- a/service/ssm/snapshot/api_op_ListCommandInvocations.go.snap +++ b/service/ssm/snapshot/api_op_ListCommandInvocations.go.snap @@ -14,7 +14,6 @@ ListCommandInvocations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_ListCommands.go.snap b/service/ssm/snapshot/api_op_ListCommands.go.snap index eac45e091ea..b1c90eefa81 100644 --- a/service/ssm/snapshot/api_op_ListCommands.go.snap +++ b/service/ssm/snapshot/api_op_ListCommands.go.snap @@ -14,7 +14,6 @@ ListCommands Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_ListComplianceItems.go.snap b/service/ssm/snapshot/api_op_ListComplianceItems.go.snap index 8e5f7f24aa1..b2d4285ee59 100644 --- a/service/ssm/snapshot/api_op_ListComplianceItems.go.snap +++ b/service/ssm/snapshot/api_op_ListComplianceItems.go.snap @@ -13,7 +13,6 @@ ListComplianceItems Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_ListComplianceSummaries.go.snap b/service/ssm/snapshot/api_op_ListComplianceSummaries.go.snap index 9116a7b6072..c62eea237be 100644 --- a/service/ssm/snapshot/api_op_ListComplianceSummaries.go.snap +++ b/service/ssm/snapshot/api_op_ListComplianceSummaries.go.snap @@ -13,7 +13,6 @@ ListComplianceSummaries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_ListDocumentMetadataHistory.go.snap b/service/ssm/snapshot/api_op_ListDocumentMetadataHistory.go.snap index 844870a631a..682ceb812ca 100644 --- a/service/ssm/snapshot/api_op_ListDocumentMetadataHistory.go.snap +++ b/service/ssm/snapshot/api_op_ListDocumentMetadataHistory.go.snap @@ -14,7 +14,6 @@ ListDocumentMetadataHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_ListDocumentVersions.go.snap b/service/ssm/snapshot/api_op_ListDocumentVersions.go.snap index 6c8d4a65e55..4fdcea7b648 100644 --- a/service/ssm/snapshot/api_op_ListDocumentVersions.go.snap +++ b/service/ssm/snapshot/api_op_ListDocumentVersions.go.snap @@ -14,7 +14,6 @@ ListDocumentVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_ListDocuments.go.snap b/service/ssm/snapshot/api_op_ListDocuments.go.snap index 719bf5d4aaa..3a69fe976e0 100644 --- a/service/ssm/snapshot/api_op_ListDocuments.go.snap +++ b/service/ssm/snapshot/api_op_ListDocuments.go.snap @@ -14,7 +14,6 @@ ListDocuments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_ListInventoryEntries.go.snap b/service/ssm/snapshot/api_op_ListInventoryEntries.go.snap index 8dec89bf9b6..12ca0d09378 100644 --- a/service/ssm/snapshot/api_op_ListInventoryEntries.go.snap +++ b/service/ssm/snapshot/api_op_ListInventoryEntries.go.snap @@ -14,7 +14,6 @@ ListInventoryEntries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_ListNodes.go.snap b/service/ssm/snapshot/api_op_ListNodes.go.snap index 8aa2b28b799..1bc437f1d37 100644 --- a/service/ssm/snapshot/api_op_ListNodes.go.snap +++ b/service/ssm/snapshot/api_op_ListNodes.go.snap @@ -14,7 +14,6 @@ ListNodes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_ListNodesSummary.go.snap b/service/ssm/snapshot/api_op_ListNodesSummary.go.snap index cab064fb1c2..27cebd4cd37 100644 --- a/service/ssm/snapshot/api_op_ListNodesSummary.go.snap +++ b/service/ssm/snapshot/api_op_ListNodesSummary.go.snap @@ -14,7 +14,6 @@ ListNodesSummary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_ListOpsItemEvents.go.snap b/service/ssm/snapshot/api_op_ListOpsItemEvents.go.snap index f289e82bcf3..0e586299114 100644 --- a/service/ssm/snapshot/api_op_ListOpsItemEvents.go.snap +++ b/service/ssm/snapshot/api_op_ListOpsItemEvents.go.snap @@ -14,7 +14,6 @@ ListOpsItemEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_ListOpsItemRelatedItems.go.snap b/service/ssm/snapshot/api_op_ListOpsItemRelatedItems.go.snap index 7326312d362..0f57629506a 100644 --- a/service/ssm/snapshot/api_op_ListOpsItemRelatedItems.go.snap +++ b/service/ssm/snapshot/api_op_ListOpsItemRelatedItems.go.snap @@ -14,7 +14,6 @@ ListOpsItemRelatedItems Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_ListOpsMetadata.go.snap b/service/ssm/snapshot/api_op_ListOpsMetadata.go.snap index cc9e137c1c2..cfdef5582e1 100644 --- a/service/ssm/snapshot/api_op_ListOpsMetadata.go.snap +++ b/service/ssm/snapshot/api_op_ListOpsMetadata.go.snap @@ -14,7 +14,6 @@ ListOpsMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_ListResourceComplianceSummaries.go.snap b/service/ssm/snapshot/api_op_ListResourceComplianceSummaries.go.snap index 1b8186f501c..e5660c756c7 100644 --- a/service/ssm/snapshot/api_op_ListResourceComplianceSummaries.go.snap +++ b/service/ssm/snapshot/api_op_ListResourceComplianceSummaries.go.snap @@ -13,7 +13,6 @@ ListResourceComplianceSummaries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_ListResourceDataSync.go.snap b/service/ssm/snapshot/api_op_ListResourceDataSync.go.snap index b4d94899c47..67f3c02495a 100644 --- a/service/ssm/snapshot/api_op_ListResourceDataSync.go.snap +++ b/service/ssm/snapshot/api_op_ListResourceDataSync.go.snap @@ -13,7 +13,6 @@ ListResourceDataSync Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_ListTagsForResource.go.snap b/service/ssm/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/ssm/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/ssm/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_ModifyDocumentPermission.go.snap b/service/ssm/snapshot/api_op_ModifyDocumentPermission.go.snap index 4e249a55312..39a9edf0d14 100644 --- a/service/ssm/snapshot/api_op_ModifyDocumentPermission.go.snap +++ b/service/ssm/snapshot/api_op_ModifyDocumentPermission.go.snap @@ -14,7 +14,6 @@ ModifyDocumentPermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_PutComplianceItems.go.snap b/service/ssm/snapshot/api_op_PutComplianceItems.go.snap index d7da49685ef..2c8b4578c1b 100644 --- a/service/ssm/snapshot/api_op_PutComplianceItems.go.snap +++ b/service/ssm/snapshot/api_op_PutComplianceItems.go.snap @@ -14,7 +14,6 @@ PutComplianceItems Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_PutInventory.go.snap b/service/ssm/snapshot/api_op_PutInventory.go.snap index 9f57c7b559c..5f53b3ca0ae 100644 --- a/service/ssm/snapshot/api_op_PutInventory.go.snap +++ b/service/ssm/snapshot/api_op_PutInventory.go.snap @@ -14,7 +14,6 @@ PutInventory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_PutParameter.go.snap b/service/ssm/snapshot/api_op_PutParameter.go.snap index 388bcb3e44b..f9643407be7 100644 --- a/service/ssm/snapshot/api_op_PutParameter.go.snap +++ b/service/ssm/snapshot/api_op_PutParameter.go.snap @@ -14,7 +14,6 @@ PutParameter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_PutResourcePolicy.go.snap b/service/ssm/snapshot/api_op_PutResourcePolicy.go.snap index 30530b1514f..47bad3fad0e 100644 --- a/service/ssm/snapshot/api_op_PutResourcePolicy.go.snap +++ b/service/ssm/snapshot/api_op_PutResourcePolicy.go.snap @@ -14,7 +14,6 @@ PutResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_RegisterDefaultPatchBaseline.go.snap b/service/ssm/snapshot/api_op_RegisterDefaultPatchBaseline.go.snap index cd47f95b02d..0cadb60404e 100644 --- a/service/ssm/snapshot/api_op_RegisterDefaultPatchBaseline.go.snap +++ b/service/ssm/snapshot/api_op_RegisterDefaultPatchBaseline.go.snap @@ -14,7 +14,6 @@ RegisterDefaultPatchBaseline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_RegisterPatchBaselineForPatchGroup.go.snap b/service/ssm/snapshot/api_op_RegisterPatchBaselineForPatchGroup.go.snap index e80dcc78217..78e31562118 100644 --- a/service/ssm/snapshot/api_op_RegisterPatchBaselineForPatchGroup.go.snap +++ b/service/ssm/snapshot/api_op_RegisterPatchBaselineForPatchGroup.go.snap @@ -14,7 +14,6 @@ RegisterPatchBaselineForPatchGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_RegisterTargetWithMaintenanceWindow.go.snap b/service/ssm/snapshot/api_op_RegisterTargetWithMaintenanceWindow.go.snap index 0ee9f26089d..add314df8fe 100644 --- a/service/ssm/snapshot/api_op_RegisterTargetWithMaintenanceWindow.go.snap +++ b/service/ssm/snapshot/api_op_RegisterTargetWithMaintenanceWindow.go.snap @@ -15,7 +15,6 @@ RegisterTargetWithMaintenanceWindow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_RegisterTaskWithMaintenanceWindow.go.snap b/service/ssm/snapshot/api_op_RegisterTaskWithMaintenanceWindow.go.snap index a0b67aac2a7..9e278033a91 100644 --- a/service/ssm/snapshot/api_op_RegisterTaskWithMaintenanceWindow.go.snap +++ b/service/ssm/snapshot/api_op_RegisterTaskWithMaintenanceWindow.go.snap @@ -15,7 +15,6 @@ RegisterTaskWithMaintenanceWindow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_RemoveTagsFromResource.go.snap b/service/ssm/snapshot/api_op_RemoveTagsFromResource.go.snap index e43df9156ac..48a29e492e9 100644 --- a/service/ssm/snapshot/api_op_RemoveTagsFromResource.go.snap +++ b/service/ssm/snapshot/api_op_RemoveTagsFromResource.go.snap @@ -14,7 +14,6 @@ RemoveTagsFromResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_ResetServiceSetting.go.snap b/service/ssm/snapshot/api_op_ResetServiceSetting.go.snap index b21a5bb2d55..d80bdf44c5d 100644 --- a/service/ssm/snapshot/api_op_ResetServiceSetting.go.snap +++ b/service/ssm/snapshot/api_op_ResetServiceSetting.go.snap @@ -14,7 +14,6 @@ ResetServiceSetting Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_ResumeSession.go.snap b/service/ssm/snapshot/api_op_ResumeSession.go.snap index f119cd6128c..d1ed46eccdc 100644 --- a/service/ssm/snapshot/api_op_ResumeSession.go.snap +++ b/service/ssm/snapshot/api_op_ResumeSession.go.snap @@ -14,7 +14,6 @@ ResumeSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_SendAutomationSignal.go.snap b/service/ssm/snapshot/api_op_SendAutomationSignal.go.snap index acd88061d1c..3da4110c675 100644 --- a/service/ssm/snapshot/api_op_SendAutomationSignal.go.snap +++ b/service/ssm/snapshot/api_op_SendAutomationSignal.go.snap @@ -14,7 +14,6 @@ SendAutomationSignal Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_SendCommand.go.snap b/service/ssm/snapshot/api_op_SendCommand.go.snap index 820c2dfad6e..0e291948303 100644 --- a/service/ssm/snapshot/api_op_SendCommand.go.snap +++ b/service/ssm/snapshot/api_op_SendCommand.go.snap @@ -14,7 +14,6 @@ SendCommand Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_StartAssociationsOnce.go.snap b/service/ssm/snapshot/api_op_StartAssociationsOnce.go.snap index dd1fc36db33..2eac4ca558a 100644 --- a/service/ssm/snapshot/api_op_StartAssociationsOnce.go.snap +++ b/service/ssm/snapshot/api_op_StartAssociationsOnce.go.snap @@ -14,7 +14,6 @@ StartAssociationsOnce Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_StartAutomationExecution.go.snap b/service/ssm/snapshot/api_op_StartAutomationExecution.go.snap index 11374060d1a..d3c4c820b92 100644 --- a/service/ssm/snapshot/api_op_StartAutomationExecution.go.snap +++ b/service/ssm/snapshot/api_op_StartAutomationExecution.go.snap @@ -14,7 +14,6 @@ StartAutomationExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_StartChangeRequestExecution.go.snap b/service/ssm/snapshot/api_op_StartChangeRequestExecution.go.snap index e060079e50e..d7e773f260d 100644 --- a/service/ssm/snapshot/api_op_StartChangeRequestExecution.go.snap +++ b/service/ssm/snapshot/api_op_StartChangeRequestExecution.go.snap @@ -14,7 +14,6 @@ StartChangeRequestExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_StartExecutionPreview.go.snap b/service/ssm/snapshot/api_op_StartExecutionPreview.go.snap index beebf274e57..46fcb946a75 100644 --- a/service/ssm/snapshot/api_op_StartExecutionPreview.go.snap +++ b/service/ssm/snapshot/api_op_StartExecutionPreview.go.snap @@ -14,7 +14,6 @@ StartExecutionPreview Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_StartSession.go.snap b/service/ssm/snapshot/api_op_StartSession.go.snap index 115e486b605..8b3b71d2ba7 100644 --- a/service/ssm/snapshot/api_op_StartSession.go.snap +++ b/service/ssm/snapshot/api_op_StartSession.go.snap @@ -14,7 +14,6 @@ StartSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_StopAutomationExecution.go.snap b/service/ssm/snapshot/api_op_StopAutomationExecution.go.snap index 71a7105f59b..f837c994b0d 100644 --- a/service/ssm/snapshot/api_op_StopAutomationExecution.go.snap +++ b/service/ssm/snapshot/api_op_StopAutomationExecution.go.snap @@ -14,7 +14,6 @@ StopAutomationExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_TerminateSession.go.snap b/service/ssm/snapshot/api_op_TerminateSession.go.snap index 75c23a8243e..0aefa271d32 100644 --- a/service/ssm/snapshot/api_op_TerminateSession.go.snap +++ b/service/ssm/snapshot/api_op_TerminateSession.go.snap @@ -14,7 +14,6 @@ TerminateSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_UnlabelParameterVersion.go.snap b/service/ssm/snapshot/api_op_UnlabelParameterVersion.go.snap index b3b36e4e2d9..59b34db85ff 100644 --- a/service/ssm/snapshot/api_op_UnlabelParameterVersion.go.snap +++ b/service/ssm/snapshot/api_op_UnlabelParameterVersion.go.snap @@ -14,7 +14,6 @@ UnlabelParameterVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_UpdateAssociation.go.snap b/service/ssm/snapshot/api_op_UpdateAssociation.go.snap index 1175c83910a..ebd4fe75732 100644 --- a/service/ssm/snapshot/api_op_UpdateAssociation.go.snap +++ b/service/ssm/snapshot/api_op_UpdateAssociation.go.snap @@ -14,7 +14,6 @@ UpdateAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_UpdateAssociationStatus.go.snap b/service/ssm/snapshot/api_op_UpdateAssociationStatus.go.snap index f2d59e52f10..a7af84178cf 100644 --- a/service/ssm/snapshot/api_op_UpdateAssociationStatus.go.snap +++ b/service/ssm/snapshot/api_op_UpdateAssociationStatus.go.snap @@ -14,7 +14,6 @@ UpdateAssociationStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_UpdateDocument.go.snap b/service/ssm/snapshot/api_op_UpdateDocument.go.snap index 55ab859f5a5..6be9fda479f 100644 --- a/service/ssm/snapshot/api_op_UpdateDocument.go.snap +++ b/service/ssm/snapshot/api_op_UpdateDocument.go.snap @@ -14,7 +14,6 @@ UpdateDocument Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_UpdateDocumentDefaultVersion.go.snap b/service/ssm/snapshot/api_op_UpdateDocumentDefaultVersion.go.snap index 39775c228fe..bc12178845d 100644 --- a/service/ssm/snapshot/api_op_UpdateDocumentDefaultVersion.go.snap +++ b/service/ssm/snapshot/api_op_UpdateDocumentDefaultVersion.go.snap @@ -14,7 +14,6 @@ UpdateDocumentDefaultVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_UpdateDocumentMetadata.go.snap b/service/ssm/snapshot/api_op_UpdateDocumentMetadata.go.snap index 12aecae530c..6ca087df3b1 100644 --- a/service/ssm/snapshot/api_op_UpdateDocumentMetadata.go.snap +++ b/service/ssm/snapshot/api_op_UpdateDocumentMetadata.go.snap @@ -14,7 +14,6 @@ UpdateDocumentMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_UpdateMaintenanceWindow.go.snap b/service/ssm/snapshot/api_op_UpdateMaintenanceWindow.go.snap index aee12c3c10e..29325d570e8 100644 --- a/service/ssm/snapshot/api_op_UpdateMaintenanceWindow.go.snap +++ b/service/ssm/snapshot/api_op_UpdateMaintenanceWindow.go.snap @@ -14,7 +14,6 @@ UpdateMaintenanceWindow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_UpdateMaintenanceWindowTarget.go.snap b/service/ssm/snapshot/api_op_UpdateMaintenanceWindowTarget.go.snap index 2c8af5bbff2..962f5324b9f 100644 --- a/service/ssm/snapshot/api_op_UpdateMaintenanceWindowTarget.go.snap +++ b/service/ssm/snapshot/api_op_UpdateMaintenanceWindowTarget.go.snap @@ -14,7 +14,6 @@ UpdateMaintenanceWindowTarget Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_UpdateMaintenanceWindowTask.go.snap b/service/ssm/snapshot/api_op_UpdateMaintenanceWindowTask.go.snap index ca02cd55da9..7f61f1b931b 100644 --- a/service/ssm/snapshot/api_op_UpdateMaintenanceWindowTask.go.snap +++ b/service/ssm/snapshot/api_op_UpdateMaintenanceWindowTask.go.snap @@ -14,7 +14,6 @@ UpdateMaintenanceWindowTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_UpdateManagedInstanceRole.go.snap b/service/ssm/snapshot/api_op_UpdateManagedInstanceRole.go.snap index dc5f91daa29..29767f49308 100644 --- a/service/ssm/snapshot/api_op_UpdateManagedInstanceRole.go.snap +++ b/service/ssm/snapshot/api_op_UpdateManagedInstanceRole.go.snap @@ -14,7 +14,6 @@ UpdateManagedInstanceRole Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_UpdateOpsItem.go.snap b/service/ssm/snapshot/api_op_UpdateOpsItem.go.snap index cf3cd29fdf7..80858e11667 100644 --- a/service/ssm/snapshot/api_op_UpdateOpsItem.go.snap +++ b/service/ssm/snapshot/api_op_UpdateOpsItem.go.snap @@ -14,7 +14,6 @@ UpdateOpsItem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_UpdateOpsMetadata.go.snap b/service/ssm/snapshot/api_op_UpdateOpsMetadata.go.snap index 6528d934abc..e47d7abbd30 100644 --- a/service/ssm/snapshot/api_op_UpdateOpsMetadata.go.snap +++ b/service/ssm/snapshot/api_op_UpdateOpsMetadata.go.snap @@ -14,7 +14,6 @@ UpdateOpsMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_UpdatePatchBaseline.go.snap b/service/ssm/snapshot/api_op_UpdatePatchBaseline.go.snap index b97a953da61..7aba58531a9 100644 --- a/service/ssm/snapshot/api_op_UpdatePatchBaseline.go.snap +++ b/service/ssm/snapshot/api_op_UpdatePatchBaseline.go.snap @@ -14,7 +14,6 @@ UpdatePatchBaseline Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_UpdateResourceDataSync.go.snap b/service/ssm/snapshot/api_op_UpdateResourceDataSync.go.snap index 346efae4518..f0b3374e9d7 100644 --- a/service/ssm/snapshot/api_op_UpdateResourceDataSync.go.snap +++ b/service/ssm/snapshot/api_op_UpdateResourceDataSync.go.snap @@ -14,7 +14,6 @@ UpdateResourceDataSync Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssm/snapshot/api_op_UpdateServiceSetting.go.snap b/service/ssm/snapshot/api_op_UpdateServiceSetting.go.snap index 071ac723b1e..89f07569110 100644 --- a/service/ssm/snapshot/api_op_UpdateServiceSetting.go.snap +++ b/service/ssm/snapshot/api_op_UpdateServiceSetting.go.snap @@ -14,7 +14,6 @@ UpdateServiceSetting Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/api_client.go b/service/ssmcontacts/api_client.go index 8b87d7ebcd6..77f71b0f74d 100644 --- a/service/ssmcontacts/api_client.go +++ b/service/ssmcontacts/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/ssmcontacts/api_op_AcceptPage.go b/service/ssmcontacts/api_op_AcceptPage.go index 69452492abe..8dba1a6d1ef 100644 --- a/service/ssmcontacts/api_op_AcceptPage.go +++ b/service/ssmcontacts/api_op_AcceptPage.go @@ -135,9 +135,6 @@ func (c *Client) addOperationAcceptPageMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptPageValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_ActivateContactChannel.go b/service/ssmcontacts/api_op_ActivateContactChannel.go index eeaf5121d8f..4ef3eec7560 100644 --- a/service/ssmcontacts/api_op_ActivateContactChannel.go +++ b/service/ssmcontacts/api_op_ActivateContactChannel.go @@ -113,9 +113,6 @@ func (c *Client) addOperationActivateContactChannelMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpActivateContactChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_CreateContact.go b/service/ssmcontacts/api_op_CreateContact.go index 2fea09fcef9..ee49095cd05 100644 --- a/service/ssmcontacts/api_op_CreateContact.go +++ b/service/ssmcontacts/api_op_CreateContact.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreateContactMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateContactMiddleware(stack, options); err != nil { return err } diff --git a/service/ssmcontacts/api_op_CreateContactChannel.go b/service/ssmcontacts/api_op_CreateContactChannel.go index 1abea90fc13..bf7382873db 100644 --- a/service/ssmcontacts/api_op_CreateContactChannel.go +++ b/service/ssmcontacts/api_op_CreateContactChannel.go @@ -154,9 +154,6 @@ func (c *Client) addOperationCreateContactChannelMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateContactChannelMiddleware(stack, options); err != nil { return err } diff --git a/service/ssmcontacts/api_op_CreateRotation.go b/service/ssmcontacts/api_op_CreateRotation.go index ec2ddc82df7..747af4fa9ef 100644 --- a/service/ssmcontacts/api_op_CreateRotation.go +++ b/service/ssmcontacts/api_op_CreateRotation.go @@ -155,9 +155,6 @@ func (c *Client) addOperationCreateRotationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRotationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_CreateRotationOverride.go b/service/ssmcontacts/api_op_CreateRotationOverride.go index dbde73e312d..572ee0bdac1 100644 --- a/service/ssmcontacts/api_op_CreateRotationOverride.go +++ b/service/ssmcontacts/api_op_CreateRotationOverride.go @@ -137,9 +137,6 @@ func (c *Client) addOperationCreateRotationOverrideMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRotationOverrideValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_DeactivateContactChannel.go b/service/ssmcontacts/api_op_DeactivateContactChannel.go index f8e0131c4a9..79b3ff03da8 100644 --- a/service/ssmcontacts/api_op_DeactivateContactChannel.go +++ b/service/ssmcontacts/api_op_DeactivateContactChannel.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeactivateContactChannelMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeactivateContactChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_DeleteContact.go b/service/ssmcontacts/api_op_DeleteContact.go index 47b629605de..ba55a153165 100644 --- a/service/ssmcontacts/api_op_DeleteContact.go +++ b/service/ssmcontacts/api_op_DeleteContact.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteContactMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteContactValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_DeleteContactChannel.go b/service/ssmcontacts/api_op_DeleteContactChannel.go index 374b6c4e569..b8ad900ab39 100644 --- a/service/ssmcontacts/api_op_DeleteContactChannel.go +++ b/service/ssmcontacts/api_op_DeleteContactChannel.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteContactChannelMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteContactChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_DeleteRotation.go b/service/ssmcontacts/api_op_DeleteRotation.go index e416d4cdac6..26560538bb9 100644 --- a/service/ssmcontacts/api_op_DeleteRotation.go +++ b/service/ssmcontacts/api_op_DeleteRotation.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteRotationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRotationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_DeleteRotationOverride.go b/service/ssmcontacts/api_op_DeleteRotationOverride.go index e874a6bcea6..23a9afe8060 100644 --- a/service/ssmcontacts/api_op_DeleteRotationOverride.go +++ b/service/ssmcontacts/api_op_DeleteRotationOverride.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteRotationOverrideMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRotationOverrideValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_DescribeEngagement.go b/service/ssmcontacts/api_op_DescribeEngagement.go index 19800992df6..282ba3a69f7 100644 --- a/service/ssmcontacts/api_op_DescribeEngagement.go +++ b/service/ssmcontacts/api_op_DescribeEngagement.go @@ -155,9 +155,6 @@ func (c *Client) addOperationDescribeEngagementMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEngagementValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_DescribePage.go b/service/ssmcontacts/api_op_DescribePage.go index 8a387a75ff8..e03a4918c36 100644 --- a/service/ssmcontacts/api_op_DescribePage.go +++ b/service/ssmcontacts/api_op_DescribePage.go @@ -161,9 +161,6 @@ func (c *Client) addOperationDescribePageMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePageValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_GetContact.go b/service/ssmcontacts/api_op_GetContact.go index 20e056cac43..f3307281aa5 100644 --- a/service/ssmcontacts/api_op_GetContact.go +++ b/service/ssmcontacts/api_op_GetContact.go @@ -134,9 +134,6 @@ func (c *Client) addOperationGetContactMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetContactValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_GetContactChannel.go b/service/ssmcontacts/api_op_GetContactChannel.go index 115298f6167..09fe3f2b642 100644 --- a/service/ssmcontacts/api_op_GetContactChannel.go +++ b/service/ssmcontacts/api_op_GetContactChannel.go @@ -139,9 +139,6 @@ func (c *Client) addOperationGetContactChannelMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetContactChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_GetContactPolicy.go b/service/ssmcontacts/api_op_GetContactPolicy.go index 11e427c0f3f..a30b2ca8ec4 100644 --- a/service/ssmcontacts/api_op_GetContactPolicy.go +++ b/service/ssmcontacts/api_op_GetContactPolicy.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetContactPolicyMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetContactPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_GetRotation.go b/service/ssmcontacts/api_op_GetRotation.go index 1af7526a038..53e9877aaba 100644 --- a/service/ssmcontacts/api_op_GetRotation.go +++ b/service/ssmcontacts/api_op_GetRotation.go @@ -144,9 +144,6 @@ func (c *Client) addOperationGetRotationMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRotationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_GetRotationOverride.go b/service/ssmcontacts/api_op_GetRotationOverride.go index 31508a2b52b..274b22428e6 100644 --- a/service/ssmcontacts/api_op_GetRotationOverride.go +++ b/service/ssmcontacts/api_op_GetRotationOverride.go @@ -135,9 +135,6 @@ func (c *Client) addOperationGetRotationOverrideMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRotationOverrideValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_ListContactChannels.go b/service/ssmcontacts/api_op_ListContactChannels.go index ef7c88f1cbc..f65e75d12b6 100644 --- a/service/ssmcontacts/api_op_ListContactChannels.go +++ b/service/ssmcontacts/api_op_ListContactChannels.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListContactChannelsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListContactChannelsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_ListContacts.go b/service/ssmcontacts/api_op_ListContacts.go index 7c4e3f87eb9..6e0c6d1d975 100644 --- a/service/ssmcontacts/api_op_ListContacts.go +++ b/service/ssmcontacts/api_op_ListContacts.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListContactsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListContacts(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ssmcontacts/api_op_ListEngagements.go b/service/ssmcontacts/api_op_ListEngagements.go index 9c67c1dbd17..973c2f362d4 100644 --- a/service/ssmcontacts/api_op_ListEngagements.go +++ b/service/ssmcontacts/api_op_ListEngagements.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListEngagementsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEngagements(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ssmcontacts/api_op_ListPageReceipts.go b/service/ssmcontacts/api_op_ListPageReceipts.go index a648200dfe7..e9665a91c4e 100644 --- a/service/ssmcontacts/api_op_ListPageReceipts.go +++ b/service/ssmcontacts/api_op_ListPageReceipts.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListPageReceiptsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPageReceiptsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_ListPageResolutions.go b/service/ssmcontacts/api_op_ListPageResolutions.go index acb00ccb33a..395b0f84185 100644 --- a/service/ssmcontacts/api_op_ListPageResolutions.go +++ b/service/ssmcontacts/api_op_ListPageResolutions.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListPageResolutionsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPageResolutionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_ListPagesByContact.go b/service/ssmcontacts/api_op_ListPagesByContact.go index 5bcd078fc4a..6916a9d02b3 100644 --- a/service/ssmcontacts/api_op_ListPagesByContact.go +++ b/service/ssmcontacts/api_op_ListPagesByContact.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListPagesByContactMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPagesByContactValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_ListPagesByEngagement.go b/service/ssmcontacts/api_op_ListPagesByEngagement.go index 33010491d56..bed7fef81e5 100644 --- a/service/ssmcontacts/api_op_ListPagesByEngagement.go +++ b/service/ssmcontacts/api_op_ListPagesByEngagement.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListPagesByEngagementMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPagesByEngagementValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_ListPreviewRotationShifts.go b/service/ssmcontacts/api_op_ListPreviewRotationShifts.go index 9aa54d1b5a7..ddd2fa652c5 100644 --- a/service/ssmcontacts/api_op_ListPreviewRotationShifts.go +++ b/service/ssmcontacts/api_op_ListPreviewRotationShifts.go @@ -156,9 +156,6 @@ func (c *Client) addOperationListPreviewRotationShiftsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPreviewRotationShiftsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_ListRotationOverrides.go b/service/ssmcontacts/api_op_ListRotationOverrides.go index f5b492de31a..d3479fe5555 100644 --- a/service/ssmcontacts/api_op_ListRotationOverrides.go +++ b/service/ssmcontacts/api_op_ListRotationOverrides.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListRotationOverridesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRotationOverridesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_ListRotationShifts.go b/service/ssmcontacts/api_op_ListRotationShifts.go index c0e6a030adc..66f8342535b 100644 --- a/service/ssmcontacts/api_op_ListRotationShifts.go +++ b/service/ssmcontacts/api_op_ListRotationShifts.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListRotationShiftsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRotationShiftsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_ListRotations.go b/service/ssmcontacts/api_op_ListRotations.go index 2ad355c1d9c..54723cad3e4 100644 --- a/service/ssmcontacts/api_op_ListRotations.go +++ b/service/ssmcontacts/api_op_ListRotations.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListRotationsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRotations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ssmcontacts/api_op_ListTagsForResource.go b/service/ssmcontacts/api_op_ListTagsForResource.go index 0ad356f5d4e..f1d6e4b9e7d 100644 --- a/service/ssmcontacts/api_op_ListTagsForResource.go +++ b/service/ssmcontacts/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_PutContactPolicy.go b/service/ssmcontacts/api_op_PutContactPolicy.go index ceef4273aaa..bd99255c2b6 100644 --- a/service/ssmcontacts/api_op_PutContactPolicy.go +++ b/service/ssmcontacts/api_op_PutContactPolicy.go @@ -116,9 +116,6 @@ func (c *Client) addOperationPutContactPolicyMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutContactPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_SendActivationCode.go b/service/ssmcontacts/api_op_SendActivationCode.go index 0aa7da2f442..624dce47a5a 100644 --- a/service/ssmcontacts/api_op_SendActivationCode.go +++ b/service/ssmcontacts/api_op_SendActivationCode.go @@ -110,9 +110,6 @@ func (c *Client) addOperationSendActivationCodeMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendActivationCodeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_StartEngagement.go b/service/ssmcontacts/api_op_StartEngagement.go index cc3eab6b290..7b22dd6f118 100644 --- a/service/ssmcontacts/api_op_StartEngagement.go +++ b/service/ssmcontacts/api_op_StartEngagement.go @@ -146,9 +146,6 @@ func (c *Client) addOperationStartEngagementMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartEngagementMiddleware(stack, options); err != nil { return err } diff --git a/service/ssmcontacts/api_op_StopEngagement.go b/service/ssmcontacts/api_op_StopEngagement.go index ba7e1f866ba..2a8460aaeef 100644 --- a/service/ssmcontacts/api_op_StopEngagement.go +++ b/service/ssmcontacts/api_op_StopEngagement.go @@ -111,9 +111,6 @@ func (c *Client) addOperationStopEngagementMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopEngagementValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_TagResource.go b/service/ssmcontacts/api_op_TagResource.go index 0fd16f425f0..dea283e3a3d 100644 --- a/service/ssmcontacts/api_op_TagResource.go +++ b/service/ssmcontacts/api_op_TagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_UntagResource.go b/service/ssmcontacts/api_op_UntagResource.go index 39f01b7bd5b..720497f1c50 100644 --- a/service/ssmcontacts/api_op_UntagResource.go +++ b/service/ssmcontacts/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_UpdateContact.go b/service/ssmcontacts/api_op_UpdateContact.go index 7b1736f9479..06c253e29e6 100644 --- a/service/ssmcontacts/api_op_UpdateContact.go +++ b/service/ssmcontacts/api_op_UpdateContact.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUpdateContactMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateContactValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_UpdateContactChannel.go b/service/ssmcontacts/api_op_UpdateContactChannel.go index 6527abceb8c..f7421203981 100644 --- a/service/ssmcontacts/api_op_UpdateContactChannel.go +++ b/service/ssmcontacts/api_op_UpdateContactChannel.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUpdateContactChannelMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateContactChannelValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/api_op_UpdateRotation.go b/service/ssmcontacts/api_op_UpdateRotation.go index 8d1f98b3637..ad7d9379f34 100644 --- a/service/ssmcontacts/api_op_UpdateRotation.go +++ b/service/ssmcontacts/api_op_UpdateRotation.go @@ -136,9 +136,6 @@ func (c *Client) addOperationUpdateRotationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRotationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmcontacts/snapshot/api_op_AcceptPage.go.snap b/service/ssmcontacts/snapshot/api_op_AcceptPage.go.snap index 86018d522c4..dc6f590dd48 100644 --- a/service/ssmcontacts/snapshot/api_op_AcceptPage.go.snap +++ b/service/ssmcontacts/snapshot/api_op_AcceptPage.go.snap @@ -14,7 +14,6 @@ AcceptPage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_ActivateContactChannel.go.snap b/service/ssmcontacts/snapshot/api_op_ActivateContactChannel.go.snap index e2863545b3c..3053a2bef23 100644 --- a/service/ssmcontacts/snapshot/api_op_ActivateContactChannel.go.snap +++ b/service/ssmcontacts/snapshot/api_op_ActivateContactChannel.go.snap @@ -14,7 +14,6 @@ ActivateContactChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_CreateContact.go.snap b/service/ssmcontacts/snapshot/api_op_CreateContact.go.snap index 10328643766..64b1753dca0 100644 --- a/service/ssmcontacts/snapshot/api_op_CreateContact.go.snap +++ b/service/ssmcontacts/snapshot/api_op_CreateContact.go.snap @@ -15,7 +15,6 @@ CreateContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_CreateContactChannel.go.snap b/service/ssmcontacts/snapshot/api_op_CreateContactChannel.go.snap index fff658ce7e1..8e1dd4d5795 100644 --- a/service/ssmcontacts/snapshot/api_op_CreateContactChannel.go.snap +++ b/service/ssmcontacts/snapshot/api_op_CreateContactChannel.go.snap @@ -15,7 +15,6 @@ CreateContactChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_CreateRotation.go.snap b/service/ssmcontacts/snapshot/api_op_CreateRotation.go.snap index 39b8b83fcc5..d2c6e19cacb 100644 --- a/service/ssmcontacts/snapshot/api_op_CreateRotation.go.snap +++ b/service/ssmcontacts/snapshot/api_op_CreateRotation.go.snap @@ -14,7 +14,6 @@ CreateRotation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_CreateRotationOverride.go.snap b/service/ssmcontacts/snapshot/api_op_CreateRotationOverride.go.snap index 1505797e18e..d3f13bae310 100644 --- a/service/ssmcontacts/snapshot/api_op_CreateRotationOverride.go.snap +++ b/service/ssmcontacts/snapshot/api_op_CreateRotationOverride.go.snap @@ -14,7 +14,6 @@ CreateRotationOverride Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_DeactivateContactChannel.go.snap b/service/ssmcontacts/snapshot/api_op_DeactivateContactChannel.go.snap index b59fd4d5670..ba55eb75950 100644 --- a/service/ssmcontacts/snapshot/api_op_DeactivateContactChannel.go.snap +++ b/service/ssmcontacts/snapshot/api_op_DeactivateContactChannel.go.snap @@ -14,7 +14,6 @@ DeactivateContactChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_DeleteContact.go.snap b/service/ssmcontacts/snapshot/api_op_DeleteContact.go.snap index 383cd5eb3ce..52c6beccad5 100644 --- a/service/ssmcontacts/snapshot/api_op_DeleteContact.go.snap +++ b/service/ssmcontacts/snapshot/api_op_DeleteContact.go.snap @@ -14,7 +14,6 @@ DeleteContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_DeleteContactChannel.go.snap b/service/ssmcontacts/snapshot/api_op_DeleteContactChannel.go.snap index b5d1c78ad16..10f6d440e44 100644 --- a/service/ssmcontacts/snapshot/api_op_DeleteContactChannel.go.snap +++ b/service/ssmcontacts/snapshot/api_op_DeleteContactChannel.go.snap @@ -14,7 +14,6 @@ DeleteContactChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_DeleteRotation.go.snap b/service/ssmcontacts/snapshot/api_op_DeleteRotation.go.snap index 3cfd5da0df5..f18380c40ef 100644 --- a/service/ssmcontacts/snapshot/api_op_DeleteRotation.go.snap +++ b/service/ssmcontacts/snapshot/api_op_DeleteRotation.go.snap @@ -14,7 +14,6 @@ DeleteRotation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_DeleteRotationOverride.go.snap b/service/ssmcontacts/snapshot/api_op_DeleteRotationOverride.go.snap index c5d8040ff56..0480d817415 100644 --- a/service/ssmcontacts/snapshot/api_op_DeleteRotationOverride.go.snap +++ b/service/ssmcontacts/snapshot/api_op_DeleteRotationOverride.go.snap @@ -14,7 +14,6 @@ DeleteRotationOverride Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_DescribeEngagement.go.snap b/service/ssmcontacts/snapshot/api_op_DescribeEngagement.go.snap index 7e5d302bc59..cb5c15e00f3 100644 --- a/service/ssmcontacts/snapshot/api_op_DescribeEngagement.go.snap +++ b/service/ssmcontacts/snapshot/api_op_DescribeEngagement.go.snap @@ -14,7 +14,6 @@ DescribeEngagement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_DescribePage.go.snap b/service/ssmcontacts/snapshot/api_op_DescribePage.go.snap index 87cf70296aa..13aba6d502d 100644 --- a/service/ssmcontacts/snapshot/api_op_DescribePage.go.snap +++ b/service/ssmcontacts/snapshot/api_op_DescribePage.go.snap @@ -14,7 +14,6 @@ DescribePage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_GetContact.go.snap b/service/ssmcontacts/snapshot/api_op_GetContact.go.snap index f7f935e9bbb..e5ef8417ae0 100644 --- a/service/ssmcontacts/snapshot/api_op_GetContact.go.snap +++ b/service/ssmcontacts/snapshot/api_op_GetContact.go.snap @@ -14,7 +14,6 @@ GetContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_GetContactChannel.go.snap b/service/ssmcontacts/snapshot/api_op_GetContactChannel.go.snap index 3702a0305fc..245e0d6f57a 100644 --- a/service/ssmcontacts/snapshot/api_op_GetContactChannel.go.snap +++ b/service/ssmcontacts/snapshot/api_op_GetContactChannel.go.snap @@ -14,7 +14,6 @@ GetContactChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_GetContactPolicy.go.snap b/service/ssmcontacts/snapshot/api_op_GetContactPolicy.go.snap index 8974581eadd..a97b1d3269e 100644 --- a/service/ssmcontacts/snapshot/api_op_GetContactPolicy.go.snap +++ b/service/ssmcontacts/snapshot/api_op_GetContactPolicy.go.snap @@ -14,7 +14,6 @@ GetContactPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_GetRotation.go.snap b/service/ssmcontacts/snapshot/api_op_GetRotation.go.snap index 4a41f9c24b8..959252a2316 100644 --- a/service/ssmcontacts/snapshot/api_op_GetRotation.go.snap +++ b/service/ssmcontacts/snapshot/api_op_GetRotation.go.snap @@ -14,7 +14,6 @@ GetRotation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_GetRotationOverride.go.snap b/service/ssmcontacts/snapshot/api_op_GetRotationOverride.go.snap index e17a494e7f0..4e5eee2d665 100644 --- a/service/ssmcontacts/snapshot/api_op_GetRotationOverride.go.snap +++ b/service/ssmcontacts/snapshot/api_op_GetRotationOverride.go.snap @@ -14,7 +14,6 @@ GetRotationOverride Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_ListContactChannels.go.snap b/service/ssmcontacts/snapshot/api_op_ListContactChannels.go.snap index 3fc13b82c7d..d48dc294c8b 100644 --- a/service/ssmcontacts/snapshot/api_op_ListContactChannels.go.snap +++ b/service/ssmcontacts/snapshot/api_op_ListContactChannels.go.snap @@ -14,7 +14,6 @@ ListContactChannels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_ListContacts.go.snap b/service/ssmcontacts/snapshot/api_op_ListContacts.go.snap index 9550f7d369f..cda2599e39b 100644 --- a/service/ssmcontacts/snapshot/api_op_ListContacts.go.snap +++ b/service/ssmcontacts/snapshot/api_op_ListContacts.go.snap @@ -13,7 +13,6 @@ ListContacts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_ListEngagements.go.snap b/service/ssmcontacts/snapshot/api_op_ListEngagements.go.snap index d0c10adf1d0..9b4343b7b8b 100644 --- a/service/ssmcontacts/snapshot/api_op_ListEngagements.go.snap +++ b/service/ssmcontacts/snapshot/api_op_ListEngagements.go.snap @@ -13,7 +13,6 @@ ListEngagements Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_ListPageReceipts.go.snap b/service/ssmcontacts/snapshot/api_op_ListPageReceipts.go.snap index c616323cef8..d2a0533a72f 100644 --- a/service/ssmcontacts/snapshot/api_op_ListPageReceipts.go.snap +++ b/service/ssmcontacts/snapshot/api_op_ListPageReceipts.go.snap @@ -14,7 +14,6 @@ ListPageReceipts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_ListPageResolutions.go.snap b/service/ssmcontacts/snapshot/api_op_ListPageResolutions.go.snap index 20c3e7d09ae..8187d3ad9c3 100644 --- a/service/ssmcontacts/snapshot/api_op_ListPageResolutions.go.snap +++ b/service/ssmcontacts/snapshot/api_op_ListPageResolutions.go.snap @@ -14,7 +14,6 @@ ListPageResolutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_ListPagesByContact.go.snap b/service/ssmcontacts/snapshot/api_op_ListPagesByContact.go.snap index a976d959e77..8f1418d4efb 100644 --- a/service/ssmcontacts/snapshot/api_op_ListPagesByContact.go.snap +++ b/service/ssmcontacts/snapshot/api_op_ListPagesByContact.go.snap @@ -14,7 +14,6 @@ ListPagesByContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_ListPagesByEngagement.go.snap b/service/ssmcontacts/snapshot/api_op_ListPagesByEngagement.go.snap index 30d93de50c2..457f774a86a 100644 --- a/service/ssmcontacts/snapshot/api_op_ListPagesByEngagement.go.snap +++ b/service/ssmcontacts/snapshot/api_op_ListPagesByEngagement.go.snap @@ -14,7 +14,6 @@ ListPagesByEngagement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_ListPreviewRotationShifts.go.snap b/service/ssmcontacts/snapshot/api_op_ListPreviewRotationShifts.go.snap index 9433e659e8c..daad7c0ecd0 100644 --- a/service/ssmcontacts/snapshot/api_op_ListPreviewRotationShifts.go.snap +++ b/service/ssmcontacts/snapshot/api_op_ListPreviewRotationShifts.go.snap @@ -14,7 +14,6 @@ ListPreviewRotationShifts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_ListRotationOverrides.go.snap b/service/ssmcontacts/snapshot/api_op_ListRotationOverrides.go.snap index 9ebaef7d6f6..ac4dabbe2b7 100644 --- a/service/ssmcontacts/snapshot/api_op_ListRotationOverrides.go.snap +++ b/service/ssmcontacts/snapshot/api_op_ListRotationOverrides.go.snap @@ -14,7 +14,6 @@ ListRotationOverrides Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_ListRotationShifts.go.snap b/service/ssmcontacts/snapshot/api_op_ListRotationShifts.go.snap index 426207edbf1..d60404698c9 100644 --- a/service/ssmcontacts/snapshot/api_op_ListRotationShifts.go.snap +++ b/service/ssmcontacts/snapshot/api_op_ListRotationShifts.go.snap @@ -14,7 +14,6 @@ ListRotationShifts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_ListRotations.go.snap b/service/ssmcontacts/snapshot/api_op_ListRotations.go.snap index 138f544799a..503f391f68a 100644 --- a/service/ssmcontacts/snapshot/api_op_ListRotations.go.snap +++ b/service/ssmcontacts/snapshot/api_op_ListRotations.go.snap @@ -13,7 +13,6 @@ ListRotations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_ListTagsForResource.go.snap b/service/ssmcontacts/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/ssmcontacts/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/ssmcontacts/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_PutContactPolicy.go.snap b/service/ssmcontacts/snapshot/api_op_PutContactPolicy.go.snap index 40cd6078a0e..b78ef991f1d 100644 --- a/service/ssmcontacts/snapshot/api_op_PutContactPolicy.go.snap +++ b/service/ssmcontacts/snapshot/api_op_PutContactPolicy.go.snap @@ -14,7 +14,6 @@ PutContactPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_SendActivationCode.go.snap b/service/ssmcontacts/snapshot/api_op_SendActivationCode.go.snap index e036d95f503..9099ef6ba89 100644 --- a/service/ssmcontacts/snapshot/api_op_SendActivationCode.go.snap +++ b/service/ssmcontacts/snapshot/api_op_SendActivationCode.go.snap @@ -14,7 +14,6 @@ SendActivationCode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_StartEngagement.go.snap b/service/ssmcontacts/snapshot/api_op_StartEngagement.go.snap index 167daa2f840..5ab7c3283cd 100644 --- a/service/ssmcontacts/snapshot/api_op_StartEngagement.go.snap +++ b/service/ssmcontacts/snapshot/api_op_StartEngagement.go.snap @@ -15,7 +15,6 @@ StartEngagement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_StopEngagement.go.snap b/service/ssmcontacts/snapshot/api_op_StopEngagement.go.snap index 662a77716d1..618b48a0b3c 100644 --- a/service/ssmcontacts/snapshot/api_op_StopEngagement.go.snap +++ b/service/ssmcontacts/snapshot/api_op_StopEngagement.go.snap @@ -14,7 +14,6 @@ StopEngagement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_TagResource.go.snap b/service/ssmcontacts/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/ssmcontacts/snapshot/api_op_TagResource.go.snap +++ b/service/ssmcontacts/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_UntagResource.go.snap b/service/ssmcontacts/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/ssmcontacts/snapshot/api_op_UntagResource.go.snap +++ b/service/ssmcontacts/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_UpdateContact.go.snap b/service/ssmcontacts/snapshot/api_op_UpdateContact.go.snap index b868a28e8ea..084a8071e0f 100644 --- a/service/ssmcontacts/snapshot/api_op_UpdateContact.go.snap +++ b/service/ssmcontacts/snapshot/api_op_UpdateContact.go.snap @@ -14,7 +14,6 @@ UpdateContact Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_UpdateContactChannel.go.snap b/service/ssmcontacts/snapshot/api_op_UpdateContactChannel.go.snap index d481d2dbd42..9443500d8d3 100644 --- a/service/ssmcontacts/snapshot/api_op_UpdateContactChannel.go.snap +++ b/service/ssmcontacts/snapshot/api_op_UpdateContactChannel.go.snap @@ -14,7 +14,6 @@ UpdateContactChannel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmcontacts/snapshot/api_op_UpdateRotation.go.snap b/service/ssmcontacts/snapshot/api_op_UpdateRotation.go.snap index a2a24896be6..0e6ded4f890 100644 --- a/service/ssmcontacts/snapshot/api_op_UpdateRotation.go.snap +++ b/service/ssmcontacts/snapshot/api_op_UpdateRotation.go.snap @@ -14,7 +14,6 @@ UpdateRotation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmincidents/api_client.go b/service/ssmincidents/api_client.go index caeea35aec9..db1423fcdd9 100644 --- a/service/ssmincidents/api_client.go +++ b/service/ssmincidents/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/ssmincidents/api_op_BatchGetIncidentFindings.go b/service/ssmincidents/api_op_BatchGetIncidentFindings.go index 4fe1cc0dfd1..926b4286b18 100644 --- a/service/ssmincidents/api_op_BatchGetIncidentFindings.go +++ b/service/ssmincidents/api_op_BatchGetIncidentFindings.go @@ -129,9 +129,6 @@ func (c *Client) addOperationBatchGetIncidentFindingsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetIncidentFindingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_CreateReplicationSet.go b/service/ssmincidents/api_op_CreateReplicationSet.go index cece861c8e6..a03630e8ab8 100644 --- a/service/ssmincidents/api_op_CreateReplicationSet.go +++ b/service/ssmincidents/api_op_CreateReplicationSet.go @@ -123,9 +123,6 @@ func (c *Client) addOperationCreateReplicationSetMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateReplicationSetMiddleware(stack, options); err != nil { return err } diff --git a/service/ssmincidents/api_op_CreateResponsePlan.go b/service/ssmincidents/api_op_CreateResponsePlan.go index fe8708e97cf..a36c95f0b48 100644 --- a/service/ssmincidents/api_op_CreateResponsePlan.go +++ b/service/ssmincidents/api_op_CreateResponsePlan.go @@ -144,9 +144,6 @@ func (c *Client) addOperationCreateResponsePlanMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateResponsePlanMiddleware(stack, options); err != nil { return err } diff --git a/service/ssmincidents/api_op_CreateTimelineEvent.go b/service/ssmincidents/api_op_CreateTimelineEvent.go index 9ed989b72ef..b013c451377 100644 --- a/service/ssmincidents/api_op_CreateTimelineEvent.go +++ b/service/ssmincidents/api_op_CreateTimelineEvent.go @@ -155,9 +155,6 @@ func (c *Client) addOperationCreateTimelineEventMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateTimelineEventMiddleware(stack, options); err != nil { return err } diff --git a/service/ssmincidents/api_op_DeleteIncidentRecord.go b/service/ssmincidents/api_op_DeleteIncidentRecord.go index e7114ec9b4e..280514c5a79 100644 --- a/service/ssmincidents/api_op_DeleteIncidentRecord.go +++ b/service/ssmincidents/api_op_DeleteIncidentRecord.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteIncidentRecordMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIncidentRecordValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_DeleteReplicationSet.go b/service/ssmincidents/api_op_DeleteReplicationSet.go index d4c9caf7b5b..ce491e64e1c 100644 --- a/service/ssmincidents/api_op_DeleteReplicationSet.go +++ b/service/ssmincidents/api_op_DeleteReplicationSet.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteReplicationSetMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteReplicationSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_DeleteResourcePolicy.go b/service/ssmincidents/api_op_DeleteResourcePolicy.go index a80f85b60d1..3dfd3b3e2bd 100644 --- a/service/ssmincidents/api_op_DeleteResourcePolicy.go +++ b/service/ssmincidents/api_op_DeleteResourcePolicy.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_DeleteResponsePlan.go b/service/ssmincidents/api_op_DeleteResponsePlan.go index 910016ebca9..64930c51880 100644 --- a/service/ssmincidents/api_op_DeleteResponsePlan.go +++ b/service/ssmincidents/api_op_DeleteResponsePlan.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteResponsePlanMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResponsePlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_DeleteTimelineEvent.go b/service/ssmincidents/api_op_DeleteTimelineEvent.go index 60052893b2a..f1d5be4c758 100644 --- a/service/ssmincidents/api_op_DeleteTimelineEvent.go +++ b/service/ssmincidents/api_op_DeleteTimelineEvent.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteTimelineEventMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTimelineEventValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_GetIncidentRecord.go b/service/ssmincidents/api_op_GetIncidentRecord.go index 677dc1f082f..1bdb087e277 100644 --- a/service/ssmincidents/api_op_GetIncidentRecord.go +++ b/service/ssmincidents/api_op_GetIncidentRecord.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetIncidentRecordMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIncidentRecordValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_GetReplicationSet.go b/service/ssmincidents/api_op_GetReplicationSet.go index 773ba7e647a..ad5c95f3567 100644 --- a/service/ssmincidents/api_op_GetReplicationSet.go +++ b/service/ssmincidents/api_op_GetReplicationSet.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetReplicationSetMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetReplicationSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_GetResourcePolicies.go b/service/ssmincidents/api_op_GetResourcePolicies.go index 8f834ad44bd..2ef409d1ee8 100644 --- a/service/ssmincidents/api_op_GetResourcePolicies.go +++ b/service/ssmincidents/api_op_GetResourcePolicies.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetResourcePoliciesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourcePoliciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_GetResponsePlan.go b/service/ssmincidents/api_op_GetResponsePlan.go index 65f22f6f820..7b13785a270 100644 --- a/service/ssmincidents/api_op_GetResponsePlan.go +++ b/service/ssmincidents/api_op_GetResponsePlan.go @@ -141,9 +141,6 @@ func (c *Client) addOperationGetResponsePlanMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResponsePlanValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_GetTimelineEvent.go b/service/ssmincidents/api_op_GetTimelineEvent.go index 6daac4f65aa..770fd25cb14 100644 --- a/service/ssmincidents/api_op_GetTimelineEvent.go +++ b/service/ssmincidents/api_op_GetTimelineEvent.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetTimelineEventMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTimelineEventValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_ListIncidentFindings.go b/service/ssmincidents/api_op_ListIncidentFindings.go index 8f842a68c26..ec76954e2ef 100644 --- a/service/ssmincidents/api_op_ListIncidentFindings.go +++ b/service/ssmincidents/api_op_ListIncidentFindings.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListIncidentFindingsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIncidentFindingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_ListIncidentRecords.go b/service/ssmincidents/api_op_ListIncidentRecords.go index e8be10880a8..c7824470abc 100644 --- a/service/ssmincidents/api_op_ListIncidentRecords.go +++ b/service/ssmincidents/api_op_ListIncidentRecords.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListIncidentRecordsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIncidentRecordsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_ListRelatedItems.go b/service/ssmincidents/api_op_ListRelatedItems.go index edc8987d3de..56cce35fc7d 100644 --- a/service/ssmincidents/api_op_ListRelatedItems.go +++ b/service/ssmincidents/api_op_ListRelatedItems.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListRelatedItemsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRelatedItemsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_ListReplicationSets.go b/service/ssmincidents/api_op_ListReplicationSets.go index 1ea8e8635f1..b0000b06b37 100644 --- a/service/ssmincidents/api_op_ListReplicationSets.go +++ b/service/ssmincidents/api_op_ListReplicationSets.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListReplicationSetsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReplicationSets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ssmincidents/api_op_ListResponsePlans.go b/service/ssmincidents/api_op_ListResponsePlans.go index 7997d45e31f..7fe91347ecf 100644 --- a/service/ssmincidents/api_op_ListResponsePlans.go +++ b/service/ssmincidents/api_op_ListResponsePlans.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListResponsePlansMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResponsePlans(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ssmincidents/api_op_ListTagsForResource.go b/service/ssmincidents/api_op_ListTagsForResource.go index 1aa9cc53a9c..25a493abe6f 100644 --- a/service/ssmincidents/api_op_ListTagsForResource.go +++ b/service/ssmincidents/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_ListTimelineEvents.go b/service/ssmincidents/api_op_ListTimelineEvents.go index f1a1475c35d..e414f3668ab 100644 --- a/service/ssmincidents/api_op_ListTimelineEvents.go +++ b/service/ssmincidents/api_op_ListTimelineEvents.go @@ -151,9 +151,6 @@ func (c *Client) addOperationListTimelineEventsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTimelineEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_PutResourcePolicy.go b/service/ssmincidents/api_op_PutResourcePolicy.go index 42099ad6dd8..1a5ef75f577 100644 --- a/service/ssmincidents/api_op_PutResourcePolicy.go +++ b/service/ssmincidents/api_op_PutResourcePolicy.go @@ -123,9 +123,6 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_StartIncident.go b/service/ssmincidents/api_op_StartIncident.go index 3108d3d9626..c47acf2820a 100644 --- a/service/ssmincidents/api_op_StartIncident.go +++ b/service/ssmincidents/api_op_StartIncident.go @@ -148,9 +148,6 @@ func (c *Client) addOperationStartIncidentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartIncidentMiddleware(stack, options); err != nil { return err } diff --git a/service/ssmincidents/api_op_TagResource.go b/service/ssmincidents/api_op_TagResource.go index 885e65317c4..923e2486de8 100644 --- a/service/ssmincidents/api_op_TagResource.go +++ b/service/ssmincidents/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_UntagResource.go b/service/ssmincidents/api_op_UntagResource.go index ab82dcbed8d..5b48b92f495 100644 --- a/service/ssmincidents/api_op_UntagResource.go +++ b/service/ssmincidents/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmincidents/api_op_UpdateDeletionProtection.go b/service/ssmincidents/api_op_UpdateDeletionProtection.go index 41d13be4751..acbb5f35788 100644 --- a/service/ssmincidents/api_op_UpdateDeletionProtection.go +++ b/service/ssmincidents/api_op_UpdateDeletionProtection.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUpdateDeletionProtectionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateDeletionProtectionMiddleware(stack, options); err != nil { return err } diff --git a/service/ssmincidents/api_op_UpdateIncidentRecord.go b/service/ssmincidents/api_op_UpdateIncidentRecord.go index 934c92383b2..ef2b4b5f308 100644 --- a/service/ssmincidents/api_op_UpdateIncidentRecord.go +++ b/service/ssmincidents/api_op_UpdateIncidentRecord.go @@ -152,9 +152,6 @@ func (c *Client) addOperationUpdateIncidentRecordMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateIncidentRecordMiddleware(stack, options); err != nil { return err } diff --git a/service/ssmincidents/api_op_UpdateRelatedItems.go b/service/ssmincidents/api_op_UpdateRelatedItems.go index ed961d1d65b..3c116b65562 100644 --- a/service/ssmincidents/api_op_UpdateRelatedItems.go +++ b/service/ssmincidents/api_op_UpdateRelatedItems.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateRelatedItemsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateRelatedItemsMiddleware(stack, options); err != nil { return err } diff --git a/service/ssmincidents/api_op_UpdateReplicationSet.go b/service/ssmincidents/api_op_UpdateReplicationSet.go index 1fea9aa96b6..7ebd872c176 100644 --- a/service/ssmincidents/api_op_UpdateReplicationSet.go +++ b/service/ssmincidents/api_op_UpdateReplicationSet.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUpdateReplicationSetMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateReplicationSetMiddleware(stack, options); err != nil { return err } diff --git a/service/ssmincidents/api_op_UpdateResponsePlan.go b/service/ssmincidents/api_op_UpdateResponsePlan.go index 4415972a323..a45c33d70f6 100644 --- a/service/ssmincidents/api_op_UpdateResponsePlan.go +++ b/service/ssmincidents/api_op_UpdateResponsePlan.go @@ -167,9 +167,6 @@ func (c *Client) addOperationUpdateResponsePlanMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateResponsePlanMiddleware(stack, options); err != nil { return err } diff --git a/service/ssmincidents/api_op_UpdateTimelineEvent.go b/service/ssmincidents/api_op_UpdateTimelineEvent.go index 52e0613a5ff..4bbfc4ad062 100644 --- a/service/ssmincidents/api_op_UpdateTimelineEvent.go +++ b/service/ssmincidents/api_op_UpdateTimelineEvent.go @@ -140,9 +140,6 @@ func (c *Client) addOperationUpdateTimelineEventMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateTimelineEventMiddleware(stack, options); err != nil { return err } diff --git a/service/ssmincidents/snapshot/api_op_BatchGetIncidentFindings.go.snap b/service/ssmincidents/snapshot/api_op_BatchGetIncidentFindings.go.snap index 68993a835f3..d058705b19d 100644 --- a/service/ssmincidents/snapshot/api_op_BatchGetIncidentFindings.go.snap +++ b/service/ssmincidents/snapshot/api_op_BatchGetIncidentFindings.go.snap @@ -14,7 +14,6 @@ BatchGetIncidentFindings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmincidents/snapshot/api_op_CreateReplicationSet.go.snap b/service/ssmincidents/snapshot/api_op_CreateReplicationSet.go.snap index cd08307ef72..7d76cb426c7 100644 --- a/service/ssmincidents/snapshot/api_op_CreateReplicationSet.go.snap +++ b/service/ssmincidents/snapshot/api_op_CreateReplicationSet.go.snap @@ -15,7 +15,6 @@ CreateReplicationSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmincidents/snapshot/api_op_CreateResponsePlan.go.snap b/service/ssmincidents/snapshot/api_op_CreateResponsePlan.go.snap index 5535a0d58e0..c73ce0cd3dc 100644 --- a/service/ssmincidents/snapshot/api_op_CreateResponsePlan.go.snap +++ b/service/ssmincidents/snapshot/api_op_CreateResponsePlan.go.snap @@ -15,7 +15,6 @@ CreateResponsePlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmincidents/snapshot/api_op_CreateTimelineEvent.go.snap b/service/ssmincidents/snapshot/api_op_CreateTimelineEvent.go.snap index 65ec7dfd244..d699fa8e1a9 100644 --- a/service/ssmincidents/snapshot/api_op_CreateTimelineEvent.go.snap +++ b/service/ssmincidents/snapshot/api_op_CreateTimelineEvent.go.snap @@ -15,7 +15,6 @@ CreateTimelineEvent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmincidents/snapshot/api_op_DeleteIncidentRecord.go.snap b/service/ssmincidents/snapshot/api_op_DeleteIncidentRecord.go.snap index 32afd043b09..cfc7f06b0c9 100644 --- a/service/ssmincidents/snapshot/api_op_DeleteIncidentRecord.go.snap +++ b/service/ssmincidents/snapshot/api_op_DeleteIncidentRecord.go.snap @@ -14,7 +14,6 @@ DeleteIncidentRecord Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmincidents/snapshot/api_op_DeleteReplicationSet.go.snap b/service/ssmincidents/snapshot/api_op_DeleteReplicationSet.go.snap index 39377863e33..9d01b289ddf 100644 --- a/service/ssmincidents/snapshot/api_op_DeleteReplicationSet.go.snap +++ b/service/ssmincidents/snapshot/api_op_DeleteReplicationSet.go.snap @@ -14,7 +14,6 @@ DeleteReplicationSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmincidents/snapshot/api_op_DeleteResourcePolicy.go.snap b/service/ssmincidents/snapshot/api_op_DeleteResourcePolicy.go.snap index 21dbc8dfcde..9948d797360 100644 --- a/service/ssmincidents/snapshot/api_op_DeleteResourcePolicy.go.snap +++ b/service/ssmincidents/snapshot/api_op_DeleteResourcePolicy.go.snap @@ -14,7 +14,6 @@ DeleteResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmincidents/snapshot/api_op_DeleteResponsePlan.go.snap b/service/ssmincidents/snapshot/api_op_DeleteResponsePlan.go.snap index 1ee4187fe49..04c20a3ca62 100644 --- a/service/ssmincidents/snapshot/api_op_DeleteResponsePlan.go.snap +++ b/service/ssmincidents/snapshot/api_op_DeleteResponsePlan.go.snap @@ -14,7 +14,6 @@ DeleteResponsePlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmincidents/snapshot/api_op_DeleteTimelineEvent.go.snap b/service/ssmincidents/snapshot/api_op_DeleteTimelineEvent.go.snap index 7fca2eea269..940bfaa48e5 100644 --- a/service/ssmincidents/snapshot/api_op_DeleteTimelineEvent.go.snap +++ b/service/ssmincidents/snapshot/api_op_DeleteTimelineEvent.go.snap @@ -14,7 +14,6 @@ DeleteTimelineEvent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmincidents/snapshot/api_op_GetIncidentRecord.go.snap b/service/ssmincidents/snapshot/api_op_GetIncidentRecord.go.snap index 63b0ebf6238..6716267db00 100644 --- a/service/ssmincidents/snapshot/api_op_GetIncidentRecord.go.snap +++ b/service/ssmincidents/snapshot/api_op_GetIncidentRecord.go.snap @@ -14,7 +14,6 @@ GetIncidentRecord Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmincidents/snapshot/api_op_GetReplicationSet.go.snap b/service/ssmincidents/snapshot/api_op_GetReplicationSet.go.snap index dca52cb6697..ff077916481 100644 --- a/service/ssmincidents/snapshot/api_op_GetReplicationSet.go.snap +++ b/service/ssmincidents/snapshot/api_op_GetReplicationSet.go.snap @@ -14,7 +14,6 @@ GetReplicationSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmincidents/snapshot/api_op_GetResourcePolicies.go.snap b/service/ssmincidents/snapshot/api_op_GetResourcePolicies.go.snap index 57a5f5567a0..e35c789807c 100644 --- a/service/ssmincidents/snapshot/api_op_GetResourcePolicies.go.snap +++ b/service/ssmincidents/snapshot/api_op_GetResourcePolicies.go.snap @@ -14,7 +14,6 @@ GetResourcePolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmincidents/snapshot/api_op_GetResponsePlan.go.snap b/service/ssmincidents/snapshot/api_op_GetResponsePlan.go.snap index f040091b4a3..7b739f6db3d 100644 --- a/service/ssmincidents/snapshot/api_op_GetResponsePlan.go.snap +++ b/service/ssmincidents/snapshot/api_op_GetResponsePlan.go.snap @@ -14,7 +14,6 @@ GetResponsePlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmincidents/snapshot/api_op_GetTimelineEvent.go.snap b/service/ssmincidents/snapshot/api_op_GetTimelineEvent.go.snap index 44d33466f81..e849d9c1f04 100644 --- a/service/ssmincidents/snapshot/api_op_GetTimelineEvent.go.snap +++ b/service/ssmincidents/snapshot/api_op_GetTimelineEvent.go.snap @@ -14,7 +14,6 @@ GetTimelineEvent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmincidents/snapshot/api_op_ListIncidentFindings.go.snap b/service/ssmincidents/snapshot/api_op_ListIncidentFindings.go.snap index fd207794c93..3472ba5611c 100644 --- a/service/ssmincidents/snapshot/api_op_ListIncidentFindings.go.snap +++ b/service/ssmincidents/snapshot/api_op_ListIncidentFindings.go.snap @@ -14,7 +14,6 @@ ListIncidentFindings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmincidents/snapshot/api_op_ListIncidentRecords.go.snap b/service/ssmincidents/snapshot/api_op_ListIncidentRecords.go.snap index 8e3c4cbd53a..b562636363f 100644 --- a/service/ssmincidents/snapshot/api_op_ListIncidentRecords.go.snap +++ b/service/ssmincidents/snapshot/api_op_ListIncidentRecords.go.snap @@ -14,7 +14,6 @@ ListIncidentRecords Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmincidents/snapshot/api_op_ListRelatedItems.go.snap b/service/ssmincidents/snapshot/api_op_ListRelatedItems.go.snap index eaa06c55320..12095a55b8a 100644 --- a/service/ssmincidents/snapshot/api_op_ListRelatedItems.go.snap +++ b/service/ssmincidents/snapshot/api_op_ListRelatedItems.go.snap @@ -14,7 +14,6 @@ ListRelatedItems Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmincidents/snapshot/api_op_ListReplicationSets.go.snap b/service/ssmincidents/snapshot/api_op_ListReplicationSets.go.snap index b55b0f8bce0..ca068d123d0 100644 --- a/service/ssmincidents/snapshot/api_op_ListReplicationSets.go.snap +++ b/service/ssmincidents/snapshot/api_op_ListReplicationSets.go.snap @@ -13,7 +13,6 @@ ListReplicationSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmincidents/snapshot/api_op_ListResponsePlans.go.snap b/service/ssmincidents/snapshot/api_op_ListResponsePlans.go.snap index 9f5866a2381..fd9d0a6c149 100644 --- a/service/ssmincidents/snapshot/api_op_ListResponsePlans.go.snap +++ b/service/ssmincidents/snapshot/api_op_ListResponsePlans.go.snap @@ -13,7 +13,6 @@ ListResponsePlans Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmincidents/snapshot/api_op_ListTagsForResource.go.snap b/service/ssmincidents/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/ssmincidents/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/ssmincidents/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmincidents/snapshot/api_op_ListTimelineEvents.go.snap b/service/ssmincidents/snapshot/api_op_ListTimelineEvents.go.snap index 48031aeaa10..6f5b2da3bc5 100644 --- a/service/ssmincidents/snapshot/api_op_ListTimelineEvents.go.snap +++ b/service/ssmincidents/snapshot/api_op_ListTimelineEvents.go.snap @@ -14,7 +14,6 @@ ListTimelineEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmincidents/snapshot/api_op_PutResourcePolicy.go.snap b/service/ssmincidents/snapshot/api_op_PutResourcePolicy.go.snap index 30530b1514f..47bad3fad0e 100644 --- a/service/ssmincidents/snapshot/api_op_PutResourcePolicy.go.snap +++ b/service/ssmincidents/snapshot/api_op_PutResourcePolicy.go.snap @@ -14,7 +14,6 @@ PutResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmincidents/snapshot/api_op_StartIncident.go.snap b/service/ssmincidents/snapshot/api_op_StartIncident.go.snap index 1332c3e84a5..5e7c16df3e6 100644 --- a/service/ssmincidents/snapshot/api_op_StartIncident.go.snap +++ b/service/ssmincidents/snapshot/api_op_StartIncident.go.snap @@ -15,7 +15,6 @@ StartIncident Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmincidents/snapshot/api_op_TagResource.go.snap b/service/ssmincidents/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/ssmincidents/snapshot/api_op_TagResource.go.snap +++ b/service/ssmincidents/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmincidents/snapshot/api_op_UntagResource.go.snap b/service/ssmincidents/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/ssmincidents/snapshot/api_op_UntagResource.go.snap +++ b/service/ssmincidents/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmincidents/snapshot/api_op_UpdateDeletionProtection.go.snap b/service/ssmincidents/snapshot/api_op_UpdateDeletionProtection.go.snap index c9445f6cefe..42f98679527 100644 --- a/service/ssmincidents/snapshot/api_op_UpdateDeletionProtection.go.snap +++ b/service/ssmincidents/snapshot/api_op_UpdateDeletionProtection.go.snap @@ -15,7 +15,6 @@ UpdateDeletionProtection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmincidents/snapshot/api_op_UpdateIncidentRecord.go.snap b/service/ssmincidents/snapshot/api_op_UpdateIncidentRecord.go.snap index 675dd154fe2..b37cb3ea828 100644 --- a/service/ssmincidents/snapshot/api_op_UpdateIncidentRecord.go.snap +++ b/service/ssmincidents/snapshot/api_op_UpdateIncidentRecord.go.snap @@ -15,7 +15,6 @@ UpdateIncidentRecord Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmincidents/snapshot/api_op_UpdateRelatedItems.go.snap b/service/ssmincidents/snapshot/api_op_UpdateRelatedItems.go.snap index ff7157fdd6d..de5f2287fd4 100644 --- a/service/ssmincidents/snapshot/api_op_UpdateRelatedItems.go.snap +++ b/service/ssmincidents/snapshot/api_op_UpdateRelatedItems.go.snap @@ -15,7 +15,6 @@ UpdateRelatedItems Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmincidents/snapshot/api_op_UpdateReplicationSet.go.snap b/service/ssmincidents/snapshot/api_op_UpdateReplicationSet.go.snap index a7cd47789e2..fde9989cb91 100644 --- a/service/ssmincidents/snapshot/api_op_UpdateReplicationSet.go.snap +++ b/service/ssmincidents/snapshot/api_op_UpdateReplicationSet.go.snap @@ -15,7 +15,6 @@ UpdateReplicationSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmincidents/snapshot/api_op_UpdateResponsePlan.go.snap b/service/ssmincidents/snapshot/api_op_UpdateResponsePlan.go.snap index 351e8891de7..685d823f530 100644 --- a/service/ssmincidents/snapshot/api_op_UpdateResponsePlan.go.snap +++ b/service/ssmincidents/snapshot/api_op_UpdateResponsePlan.go.snap @@ -15,7 +15,6 @@ UpdateResponsePlan Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmincidents/snapshot/api_op_UpdateTimelineEvent.go.snap b/service/ssmincidents/snapshot/api_op_UpdateTimelineEvent.go.snap index 49f36697961..7e97da337d2 100644 --- a/service/ssmincidents/snapshot/api_op_UpdateTimelineEvent.go.snap +++ b/service/ssmincidents/snapshot/api_op_UpdateTimelineEvent.go.snap @@ -15,7 +15,6 @@ UpdateTimelineEvent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmquicksetup/api_client.go b/service/ssmquicksetup/api_client.go index facbdb9c0ff..9692e5cd89c 100644 --- a/service/ssmquicksetup/api_client.go +++ b/service/ssmquicksetup/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/ssmquicksetup/api_op_CreateConfigurationManager.go b/service/ssmquicksetup/api_op_CreateConfigurationManager.go index 44b0e6d0458..aeb4a417301 100644 --- a/service/ssmquicksetup/api_op_CreateConfigurationManager.go +++ b/service/ssmquicksetup/api_op_CreateConfigurationManager.go @@ -126,9 +126,6 @@ func (c *Client) addOperationCreateConfigurationManagerMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConfigurationManagerValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmquicksetup/api_op_DeleteConfigurationManager.go b/service/ssmquicksetup/api_op_DeleteConfigurationManager.go index be8c8e879bb..21f1a2136e5 100644 --- a/service/ssmquicksetup/api_op_DeleteConfigurationManager.go +++ b/service/ssmquicksetup/api_op_DeleteConfigurationManager.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteConfigurationManagerMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConfigurationManagerValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmquicksetup/api_op_GetConfiguration.go b/service/ssmquicksetup/api_op_GetConfiguration.go index f18b8c455d9..c485dc908ca 100644 --- a/service/ssmquicksetup/api_op_GetConfiguration.go +++ b/service/ssmquicksetup/api_op_GetConfiguration.go @@ -144,9 +144,6 @@ func (c *Client) addOperationGetConfigurationMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmquicksetup/api_op_GetConfigurationManager.go b/service/ssmquicksetup/api_op_GetConfigurationManager.go index ae385ad0237..024565b0a2a 100644 --- a/service/ssmquicksetup/api_op_GetConfigurationManager.go +++ b/service/ssmquicksetup/api_op_GetConfigurationManager.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGetConfigurationManagerMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConfigurationManagerValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmquicksetup/api_op_GetServiceSettings.go b/service/ssmquicksetup/api_op_GetServiceSettings.go index d3592e66338..278acacfd88 100644 --- a/service/ssmquicksetup/api_op_GetServiceSettings.go +++ b/service/ssmquicksetup/api_op_GetServiceSettings.go @@ -108,9 +108,6 @@ func (c *Client) addOperationGetServiceSettingsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServiceSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ssmquicksetup/api_op_ListConfigurationManagers.go b/service/ssmquicksetup/api_op_ListConfigurationManagers.go index a4ddc1fd11a..97e7fc1cb7a 100644 --- a/service/ssmquicksetup/api_op_ListConfigurationManagers.go +++ b/service/ssmquicksetup/api_op_ListConfigurationManagers.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListConfigurationManagersMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListConfigurationManagersValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmquicksetup/api_op_ListConfigurations.go b/service/ssmquicksetup/api_op_ListConfigurations.go index b1f65559d20..e2e44fe00b6 100644 --- a/service/ssmquicksetup/api_op_ListConfigurations.go +++ b/service/ssmquicksetup/api_op_ListConfigurations.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListConfigurationsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListConfigurationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmquicksetup/api_op_ListQuickSetupTypes.go b/service/ssmquicksetup/api_op_ListQuickSetupTypes.go index dfec262b892..95043e02661 100644 --- a/service/ssmquicksetup/api_op_ListQuickSetupTypes.go +++ b/service/ssmquicksetup/api_op_ListQuickSetupTypes.go @@ -106,9 +106,6 @@ func (c *Client) addOperationListQuickSetupTypesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListQuickSetupTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ssmquicksetup/api_op_ListTagsForResource.go b/service/ssmquicksetup/api_op_ListTagsForResource.go index 8730571ca55..5634684483e 100644 --- a/service/ssmquicksetup/api_op_ListTagsForResource.go +++ b/service/ssmquicksetup/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmquicksetup/api_op_TagResource.go b/service/ssmquicksetup/api_op_TagResource.go index 9bc83e4e34a..c057ea493ad 100644 --- a/service/ssmquicksetup/api_op_TagResource.go +++ b/service/ssmquicksetup/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmquicksetup/api_op_UntagResource.go b/service/ssmquicksetup/api_op_UntagResource.go index 58ae2470209..2a2937059cd 100644 --- a/service/ssmquicksetup/api_op_UntagResource.go +++ b/service/ssmquicksetup/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmquicksetup/api_op_UpdateConfigurationDefinition.go b/service/ssmquicksetup/api_op_UpdateConfigurationDefinition.go index 073e7419b61..60c7e101c9b 100644 --- a/service/ssmquicksetup/api_op_UpdateConfigurationDefinition.go +++ b/service/ssmquicksetup/api_op_UpdateConfigurationDefinition.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateConfigurationDefinitionMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConfigurationDefinitionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmquicksetup/api_op_UpdateConfigurationManager.go b/service/ssmquicksetup/api_op_UpdateConfigurationManager.go index df1ad6a1a0b..c722d9e53aa 100644 --- a/service/ssmquicksetup/api_op_UpdateConfigurationManager.go +++ b/service/ssmquicksetup/api_op_UpdateConfigurationManager.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUpdateConfigurationManagerMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConfigurationManagerValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmquicksetup/api_op_UpdateServiceSettings.go b/service/ssmquicksetup/api_op_UpdateServiceSettings.go index fb420658a82..bfe3252f0d3 100644 --- a/service/ssmquicksetup/api_op_UpdateServiceSettings.go +++ b/service/ssmquicksetup/api_op_UpdateServiceSettings.go @@ -105,9 +105,6 @@ func (c *Client) addOperationUpdateServiceSettingsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateServiceSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ssmquicksetup/snapshot/api_op_CreateConfigurationManager.go.snap b/service/ssmquicksetup/snapshot/api_op_CreateConfigurationManager.go.snap index 6d0d5e75baf..d2e9ea2aec0 100644 --- a/service/ssmquicksetup/snapshot/api_op_CreateConfigurationManager.go.snap +++ b/service/ssmquicksetup/snapshot/api_op_CreateConfigurationManager.go.snap @@ -14,7 +14,6 @@ CreateConfigurationManager Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmquicksetup/snapshot/api_op_DeleteConfigurationManager.go.snap b/service/ssmquicksetup/snapshot/api_op_DeleteConfigurationManager.go.snap index 6cab0f3e73f..a0623b5466a 100644 --- a/service/ssmquicksetup/snapshot/api_op_DeleteConfigurationManager.go.snap +++ b/service/ssmquicksetup/snapshot/api_op_DeleteConfigurationManager.go.snap @@ -14,7 +14,6 @@ DeleteConfigurationManager Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmquicksetup/snapshot/api_op_GetConfiguration.go.snap b/service/ssmquicksetup/snapshot/api_op_GetConfiguration.go.snap index 98c4453509a..0b146124fb1 100644 --- a/service/ssmquicksetup/snapshot/api_op_GetConfiguration.go.snap +++ b/service/ssmquicksetup/snapshot/api_op_GetConfiguration.go.snap @@ -14,7 +14,6 @@ GetConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmquicksetup/snapshot/api_op_GetConfigurationManager.go.snap b/service/ssmquicksetup/snapshot/api_op_GetConfigurationManager.go.snap index 458a210f513..6495120fb7b 100644 --- a/service/ssmquicksetup/snapshot/api_op_GetConfigurationManager.go.snap +++ b/service/ssmquicksetup/snapshot/api_op_GetConfigurationManager.go.snap @@ -14,7 +14,6 @@ GetConfigurationManager Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmquicksetup/snapshot/api_op_GetServiceSettings.go.snap b/service/ssmquicksetup/snapshot/api_op_GetServiceSettings.go.snap index f2ceeb2cbaa..62f3d0c3ccf 100644 --- a/service/ssmquicksetup/snapshot/api_op_GetServiceSettings.go.snap +++ b/service/ssmquicksetup/snapshot/api_op_GetServiceSettings.go.snap @@ -13,7 +13,6 @@ GetServiceSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmquicksetup/snapshot/api_op_ListConfigurationManagers.go.snap b/service/ssmquicksetup/snapshot/api_op_ListConfigurationManagers.go.snap index 51e3bbac27d..d23ae50e47b 100644 --- a/service/ssmquicksetup/snapshot/api_op_ListConfigurationManagers.go.snap +++ b/service/ssmquicksetup/snapshot/api_op_ListConfigurationManagers.go.snap @@ -14,7 +14,6 @@ ListConfigurationManagers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmquicksetup/snapshot/api_op_ListConfigurations.go.snap b/service/ssmquicksetup/snapshot/api_op_ListConfigurations.go.snap index e9fd59097da..e58c3d1f5c8 100644 --- a/service/ssmquicksetup/snapshot/api_op_ListConfigurations.go.snap +++ b/service/ssmquicksetup/snapshot/api_op_ListConfigurations.go.snap @@ -14,7 +14,6 @@ ListConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmquicksetup/snapshot/api_op_ListQuickSetupTypes.go.snap b/service/ssmquicksetup/snapshot/api_op_ListQuickSetupTypes.go.snap index cc583da3607..10708c03397 100644 --- a/service/ssmquicksetup/snapshot/api_op_ListQuickSetupTypes.go.snap +++ b/service/ssmquicksetup/snapshot/api_op_ListQuickSetupTypes.go.snap @@ -13,7 +13,6 @@ ListQuickSetupTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmquicksetup/snapshot/api_op_ListTagsForResource.go.snap b/service/ssmquicksetup/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/ssmquicksetup/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/ssmquicksetup/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmquicksetup/snapshot/api_op_TagResource.go.snap b/service/ssmquicksetup/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/ssmquicksetup/snapshot/api_op_TagResource.go.snap +++ b/service/ssmquicksetup/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmquicksetup/snapshot/api_op_UntagResource.go.snap b/service/ssmquicksetup/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/ssmquicksetup/snapshot/api_op_UntagResource.go.snap +++ b/service/ssmquicksetup/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmquicksetup/snapshot/api_op_UpdateConfigurationDefinition.go.snap b/service/ssmquicksetup/snapshot/api_op_UpdateConfigurationDefinition.go.snap index 59af65791a8..80649697f94 100644 --- a/service/ssmquicksetup/snapshot/api_op_UpdateConfigurationDefinition.go.snap +++ b/service/ssmquicksetup/snapshot/api_op_UpdateConfigurationDefinition.go.snap @@ -14,7 +14,6 @@ UpdateConfigurationDefinition Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmquicksetup/snapshot/api_op_UpdateConfigurationManager.go.snap b/service/ssmquicksetup/snapshot/api_op_UpdateConfigurationManager.go.snap index 833f26a3128..4ca86b324d2 100644 --- a/service/ssmquicksetup/snapshot/api_op_UpdateConfigurationManager.go.snap +++ b/service/ssmquicksetup/snapshot/api_op_UpdateConfigurationManager.go.snap @@ -14,7 +14,6 @@ UpdateConfigurationManager Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmquicksetup/snapshot/api_op_UpdateServiceSettings.go.snap b/service/ssmquicksetup/snapshot/api_op_UpdateServiceSettings.go.snap index 07d9a5abda9..9b4f86bad88 100644 --- a/service/ssmquicksetup/snapshot/api_op_UpdateServiceSettings.go.snap +++ b/service/ssmquicksetup/snapshot/api_op_UpdateServiceSettings.go.snap @@ -13,7 +13,6 @@ UpdateServiceSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmsap/api_client.go b/service/ssmsap/api_client.go index 35a0509277d..cf1227387be 100644 --- a/service/ssmsap/api_client.go +++ b/service/ssmsap/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/ssmsap/api_op_DeleteResourcePermission.go b/service/ssmsap/api_op_DeleteResourcePermission.go index 744335a3029..3bd2cfce0b9 100644 --- a/service/ssmsap/api_op_DeleteResourcePermission.go +++ b/service/ssmsap/api_op_DeleteResourcePermission.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteResourcePermissionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourcePermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/api_op_DeregisterApplication.go b/service/ssmsap/api_op_DeregisterApplication.go index 20dd24c1613..bfe4e26281f 100644 --- a/service/ssmsap/api_op_DeregisterApplication.go +++ b/service/ssmsap/api_op_DeregisterApplication.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeregisterApplicationMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/api_op_GetApplication.go b/service/ssmsap/api_op_GetApplication.go index 039644ca700..663a796b0d7 100644 --- a/service/ssmsap/api_op_GetApplication.go +++ b/service/ssmsap/api_op_GetApplication.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetApplicationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetApplication(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ssmsap/api_op_GetComponent.go b/service/ssmsap/api_op_GetComponent.go index 8fd5155755a..05a07d51a9f 100644 --- a/service/ssmsap/api_op_GetComponent.go +++ b/service/ssmsap/api_op_GetComponent.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetComponentMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetComponentValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/api_op_GetDatabase.go b/service/ssmsap/api_op_GetDatabase.go index df32649b78f..c22b2314c06 100644 --- a/service/ssmsap/api_op_GetDatabase.go +++ b/service/ssmsap/api_op_GetDatabase.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetDatabaseMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDatabase(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ssmsap/api_op_GetOperation.go b/service/ssmsap/api_op_GetOperation.go index 8b014552a0f..d488a4287e5 100644 --- a/service/ssmsap/api_op_GetOperation.go +++ b/service/ssmsap/api_op_GetOperation.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetOperationMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetOperationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/api_op_GetResourcePermission.go b/service/ssmsap/api_op_GetResourcePermission.go index 8c6986a8e1c..d08a6086835 100644 --- a/service/ssmsap/api_op_GetResourcePermission.go +++ b/service/ssmsap/api_op_GetResourcePermission.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetResourcePermissionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourcePermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/api_op_ListApplications.go b/service/ssmsap/api_op_ListApplications.go index a7622a381a4..2f0c4bf7b43 100644 --- a/service/ssmsap/api_op_ListApplications.go +++ b/service/ssmsap/api_op_ListApplications.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListApplicationsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListApplicationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/api_op_ListComponents.go b/service/ssmsap/api_op_ListComponents.go index 6dcbb8740ae..31598b5ce70 100644 --- a/service/ssmsap/api_op_ListComponents.go +++ b/service/ssmsap/api_op_ListComponents.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListComponentsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListComponents(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ssmsap/api_op_ListDatabases.go b/service/ssmsap/api_op_ListDatabases.go index da0ce0e52b5..85225e85b8b 100644 --- a/service/ssmsap/api_op_ListDatabases.go +++ b/service/ssmsap/api_op_ListDatabases.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListDatabasesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatabases(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ssmsap/api_op_ListOperationEvents.go b/service/ssmsap/api_op_ListOperationEvents.go index 6ec8227f4ed..172dd0dc926 100644 --- a/service/ssmsap/api_op_ListOperationEvents.go +++ b/service/ssmsap/api_op_ListOperationEvents.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListOperationEventsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListOperationEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/api_op_ListOperations.go b/service/ssmsap/api_op_ListOperations.go index 63693f54616..ac43683107c 100644 --- a/service/ssmsap/api_op_ListOperations.go +++ b/service/ssmsap/api_op_ListOperations.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListOperationsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListOperationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/api_op_ListTagsForResource.go b/service/ssmsap/api_op_ListTagsForResource.go index b6ba400b31a..367c82b3d84 100644 --- a/service/ssmsap/api_op_ListTagsForResource.go +++ b/service/ssmsap/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/api_op_PutResourcePermission.go b/service/ssmsap/api_op_PutResourcePermission.go index 2ff68a01520..e49bbcb43e7 100644 --- a/service/ssmsap/api_op_PutResourcePermission.go +++ b/service/ssmsap/api_op_PutResourcePermission.go @@ -122,9 +122,6 @@ func (c *Client) addOperationPutResourcePermissionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutResourcePermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/api_op_RegisterApplication.go b/service/ssmsap/api_op_RegisterApplication.go index e1a82be6391..ab939039622 100644 --- a/service/ssmsap/api_op_RegisterApplication.go +++ b/service/ssmsap/api_op_RegisterApplication.go @@ -156,9 +156,6 @@ func (c *Client) addOperationRegisterApplicationMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/api_op_StartApplication.go b/service/ssmsap/api_op_StartApplication.go index 1bccd5ddb81..7059a132dfb 100644 --- a/service/ssmsap/api_op_StartApplication.go +++ b/service/ssmsap/api_op_StartApplication.go @@ -113,9 +113,6 @@ func (c *Client) addOperationStartApplicationMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/api_op_StartApplicationRefresh.go b/service/ssmsap/api_op_StartApplicationRefresh.go index de7852063d6..26e9abbf0f3 100644 --- a/service/ssmsap/api_op_StartApplicationRefresh.go +++ b/service/ssmsap/api_op_StartApplicationRefresh.go @@ -111,9 +111,6 @@ func (c *Client) addOperationStartApplicationRefreshMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartApplicationRefreshValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/api_op_StopApplication.go b/service/ssmsap/api_op_StopApplication.go index bcadae3bb7c..a673319c2b5 100644 --- a/service/ssmsap/api_op_StopApplication.go +++ b/service/ssmsap/api_op_StopApplication.go @@ -125,9 +125,6 @@ func (c *Client) addOperationStopApplicationMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/api_op_TagResource.go b/service/ssmsap/api_op_TagResource.go index 8f4df04202a..1f8a8d7122d 100644 --- a/service/ssmsap/api_op_TagResource.go +++ b/service/ssmsap/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/api_op_UntagResource.go b/service/ssmsap/api_op_UntagResource.go index de8ac263d84..a4953b3ae64 100644 --- a/service/ssmsap/api_op_UntagResource.go +++ b/service/ssmsap/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/api_op_UpdateApplicationSettings.go b/service/ssmsap/api_op_UpdateApplicationSettings.go index 36094ded455..2de8e66e42b 100644 --- a/service/ssmsap/api_op_UpdateApplicationSettings.go +++ b/service/ssmsap/api_op_UpdateApplicationSettings.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUpdateApplicationSettingsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApplicationSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssmsap/snapshot/api_op_DeleteResourcePermission.go.snap b/service/ssmsap/snapshot/api_op_DeleteResourcePermission.go.snap index bc492199026..bc180687f4d 100644 --- a/service/ssmsap/snapshot/api_op_DeleteResourcePermission.go.snap +++ b/service/ssmsap/snapshot/api_op_DeleteResourcePermission.go.snap @@ -14,7 +14,6 @@ DeleteResourcePermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmsap/snapshot/api_op_DeregisterApplication.go.snap b/service/ssmsap/snapshot/api_op_DeregisterApplication.go.snap index ebe41b199fc..dd5f7c17fe6 100644 --- a/service/ssmsap/snapshot/api_op_DeregisterApplication.go.snap +++ b/service/ssmsap/snapshot/api_op_DeregisterApplication.go.snap @@ -14,7 +14,6 @@ DeregisterApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmsap/snapshot/api_op_GetApplication.go.snap b/service/ssmsap/snapshot/api_op_GetApplication.go.snap index d4894e7bb52..7decc5fd603 100644 --- a/service/ssmsap/snapshot/api_op_GetApplication.go.snap +++ b/service/ssmsap/snapshot/api_op_GetApplication.go.snap @@ -13,7 +13,6 @@ GetApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmsap/snapshot/api_op_GetComponent.go.snap b/service/ssmsap/snapshot/api_op_GetComponent.go.snap index 5768daf3ae8..680830a7f4d 100644 --- a/service/ssmsap/snapshot/api_op_GetComponent.go.snap +++ b/service/ssmsap/snapshot/api_op_GetComponent.go.snap @@ -14,7 +14,6 @@ GetComponent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmsap/snapshot/api_op_GetDatabase.go.snap b/service/ssmsap/snapshot/api_op_GetDatabase.go.snap index 306ef4e0160..7ce474cca67 100644 --- a/service/ssmsap/snapshot/api_op_GetDatabase.go.snap +++ b/service/ssmsap/snapshot/api_op_GetDatabase.go.snap @@ -13,7 +13,6 @@ GetDatabase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmsap/snapshot/api_op_GetOperation.go.snap b/service/ssmsap/snapshot/api_op_GetOperation.go.snap index d69823b5d58..b0c626576d1 100644 --- a/service/ssmsap/snapshot/api_op_GetOperation.go.snap +++ b/service/ssmsap/snapshot/api_op_GetOperation.go.snap @@ -14,7 +14,6 @@ GetOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmsap/snapshot/api_op_GetResourcePermission.go.snap b/service/ssmsap/snapshot/api_op_GetResourcePermission.go.snap index 6b9961f20d1..1dd7ed9fd3f 100644 --- a/service/ssmsap/snapshot/api_op_GetResourcePermission.go.snap +++ b/service/ssmsap/snapshot/api_op_GetResourcePermission.go.snap @@ -14,7 +14,6 @@ GetResourcePermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmsap/snapshot/api_op_ListApplications.go.snap b/service/ssmsap/snapshot/api_op_ListApplications.go.snap index 7f3561f3d5c..be3dfcbf241 100644 --- a/service/ssmsap/snapshot/api_op_ListApplications.go.snap +++ b/service/ssmsap/snapshot/api_op_ListApplications.go.snap @@ -14,7 +14,6 @@ ListApplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmsap/snapshot/api_op_ListComponents.go.snap b/service/ssmsap/snapshot/api_op_ListComponents.go.snap index 53b6f454dde..2e97dba2ec7 100644 --- a/service/ssmsap/snapshot/api_op_ListComponents.go.snap +++ b/service/ssmsap/snapshot/api_op_ListComponents.go.snap @@ -13,7 +13,6 @@ ListComponents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmsap/snapshot/api_op_ListDatabases.go.snap b/service/ssmsap/snapshot/api_op_ListDatabases.go.snap index 70b37369a79..d574fa5eb91 100644 --- a/service/ssmsap/snapshot/api_op_ListDatabases.go.snap +++ b/service/ssmsap/snapshot/api_op_ListDatabases.go.snap @@ -13,7 +13,6 @@ ListDatabases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmsap/snapshot/api_op_ListOperationEvents.go.snap b/service/ssmsap/snapshot/api_op_ListOperationEvents.go.snap index 8ebed0c2134..e40adf97fd4 100644 --- a/service/ssmsap/snapshot/api_op_ListOperationEvents.go.snap +++ b/service/ssmsap/snapshot/api_op_ListOperationEvents.go.snap @@ -14,7 +14,6 @@ ListOperationEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmsap/snapshot/api_op_ListOperations.go.snap b/service/ssmsap/snapshot/api_op_ListOperations.go.snap index c18016b563d..8c5c7bc2f08 100644 --- a/service/ssmsap/snapshot/api_op_ListOperations.go.snap +++ b/service/ssmsap/snapshot/api_op_ListOperations.go.snap @@ -14,7 +14,6 @@ ListOperations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmsap/snapshot/api_op_ListTagsForResource.go.snap b/service/ssmsap/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/ssmsap/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/ssmsap/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmsap/snapshot/api_op_PutResourcePermission.go.snap b/service/ssmsap/snapshot/api_op_PutResourcePermission.go.snap index c0e9ddfee4c..da2d9ddd696 100644 --- a/service/ssmsap/snapshot/api_op_PutResourcePermission.go.snap +++ b/service/ssmsap/snapshot/api_op_PutResourcePermission.go.snap @@ -14,7 +14,6 @@ PutResourcePermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmsap/snapshot/api_op_RegisterApplication.go.snap b/service/ssmsap/snapshot/api_op_RegisterApplication.go.snap index 1b41216ba93..ca39dc8d5a8 100644 --- a/service/ssmsap/snapshot/api_op_RegisterApplication.go.snap +++ b/service/ssmsap/snapshot/api_op_RegisterApplication.go.snap @@ -14,7 +14,6 @@ RegisterApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmsap/snapshot/api_op_StartApplication.go.snap b/service/ssmsap/snapshot/api_op_StartApplication.go.snap index 087fe7e240e..0c8b124a191 100644 --- a/service/ssmsap/snapshot/api_op_StartApplication.go.snap +++ b/service/ssmsap/snapshot/api_op_StartApplication.go.snap @@ -14,7 +14,6 @@ StartApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmsap/snapshot/api_op_StartApplicationRefresh.go.snap b/service/ssmsap/snapshot/api_op_StartApplicationRefresh.go.snap index 8d357de68da..954d2ca9445 100644 --- a/service/ssmsap/snapshot/api_op_StartApplicationRefresh.go.snap +++ b/service/ssmsap/snapshot/api_op_StartApplicationRefresh.go.snap @@ -14,7 +14,6 @@ StartApplicationRefresh Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmsap/snapshot/api_op_StopApplication.go.snap b/service/ssmsap/snapshot/api_op_StopApplication.go.snap index 07b94172772..5c9540921f9 100644 --- a/service/ssmsap/snapshot/api_op_StopApplication.go.snap +++ b/service/ssmsap/snapshot/api_op_StopApplication.go.snap @@ -14,7 +14,6 @@ StopApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmsap/snapshot/api_op_TagResource.go.snap b/service/ssmsap/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/ssmsap/snapshot/api_op_TagResource.go.snap +++ b/service/ssmsap/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmsap/snapshot/api_op_UntagResource.go.snap b/service/ssmsap/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/ssmsap/snapshot/api_op_UntagResource.go.snap +++ b/service/ssmsap/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssmsap/snapshot/api_op_UpdateApplicationSettings.go.snap b/service/ssmsap/snapshot/api_op_UpdateApplicationSettings.go.snap index bb3774cd7e4..14ed778aac7 100644 --- a/service/ssmsap/snapshot/api_op_UpdateApplicationSettings.go.snap +++ b/service/ssmsap/snapshot/api_op_UpdateApplicationSettings.go.snap @@ -14,7 +14,6 @@ UpdateApplicationSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sso/api_client.go b/service/sso/api_client.go index 9f10e65ad71..0b244f142c5 100644 --- a/service/sso/api_client.go +++ b/service/sso/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/sso/api_op_GetRoleCredentials.go b/service/sso/api_op_GetRoleCredentials.go index b8031eeea3b..a6560202376 100644 --- a/service/sso/api_op_GetRoleCredentials.go +++ b/service/sso/api_op_GetRoleCredentials.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetRoleCredentialsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRoleCredentialsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sso/api_op_ListAccountRoles.go b/service/sso/api_op_ListAccountRoles.go index 4294e4d3c90..315526ef1a0 100644 --- a/service/sso/api_op_ListAccountRoles.go +++ b/service/sso/api_op_ListAccountRoles.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListAccountRolesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAccountRolesValidationMiddleware(stack); err != nil { return err } diff --git a/service/sso/api_op_ListAccounts.go b/service/sso/api_op_ListAccounts.go index 1db72a995e8..d867b78a6f2 100644 --- a/service/sso/api_op_ListAccounts.go +++ b/service/sso/api_op_ListAccounts.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListAccountsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAccountsValidationMiddleware(stack); err != nil { return err } diff --git a/service/sso/api_op_Logout.go b/service/sso/api_op_Logout.go index 2ca66ca5090..434b430852e 100644 --- a/service/sso/api_op_Logout.go +++ b/service/sso/api_op_Logout.go @@ -122,9 +122,6 @@ func (c *Client) addOperationLogoutMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpLogoutValidationMiddleware(stack); err != nil { return err } diff --git a/service/sso/snapshot/api_op_GetRoleCredentials.go.snap b/service/sso/snapshot/api_op_GetRoleCredentials.go.snap index 6cfd270f900..15af1738d16 100644 --- a/service/sso/snapshot/api_op_GetRoleCredentials.go.snap +++ b/service/sso/snapshot/api_op_GetRoleCredentials.go.snap @@ -14,7 +14,6 @@ GetRoleCredentials Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sso/snapshot/api_op_ListAccountRoles.go.snap b/service/sso/snapshot/api_op_ListAccountRoles.go.snap index a7e9ca425b5..75f0d164f4c 100644 --- a/service/sso/snapshot/api_op_ListAccountRoles.go.snap +++ b/service/sso/snapshot/api_op_ListAccountRoles.go.snap @@ -14,7 +14,6 @@ ListAccountRoles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sso/snapshot/api_op_ListAccounts.go.snap b/service/sso/snapshot/api_op_ListAccounts.go.snap index 18b8ed6cf4e..f0eb8595830 100644 --- a/service/sso/snapshot/api_op_ListAccounts.go.snap +++ b/service/sso/snapshot/api_op_ListAccounts.go.snap @@ -14,7 +14,6 @@ ListAccounts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sso/snapshot/api_op_Logout.go.snap b/service/sso/snapshot/api_op_Logout.go.snap index 4f71ddebdd6..a72c951994d 100644 --- a/service/sso/snapshot/api_op_Logout.go.snap +++ b/service/sso/snapshot/api_op_Logout.go.snap @@ -14,7 +14,6 @@ Logout Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/api_client.go b/service/ssoadmin/api_client.go index 05a2c07ed55..a1e19cce757 100644 --- a/service/ssoadmin/api_client.go +++ b/service/ssoadmin/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/ssoadmin/api_op_AttachCustomerManagedPolicyReferenceToPermissionSet.go b/service/ssoadmin/api_op_AttachCustomerManagedPolicyReferenceToPermissionSet.go index 5e3b9b0749d..3b48e3417d3 100644 --- a/service/ssoadmin/api_op_AttachCustomerManagedPolicyReferenceToPermissionSet.go +++ b/service/ssoadmin/api_op_AttachCustomerManagedPolicyReferenceToPermissionSet.go @@ -121,9 +121,6 @@ func (c *Client) addOperationAttachCustomerManagedPolicyReferenceToPermissionSet if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAttachCustomerManagedPolicyReferenceToPermissionSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_AttachManagedPolicyToPermissionSet.go b/service/ssoadmin/api_op_AttachManagedPolicyToPermissionSet.go index a9f32c26a4d..32e20c2b5b3 100644 --- a/service/ssoadmin/api_op_AttachManagedPolicyToPermissionSet.go +++ b/service/ssoadmin/api_op_AttachManagedPolicyToPermissionSet.go @@ -123,9 +123,6 @@ func (c *Client) addOperationAttachManagedPolicyToPermissionSetMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAttachManagedPolicyToPermissionSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_CreateAccountAssignment.go b/service/ssoadmin/api_op_CreateAccountAssignment.go index cd4c72d7292..c6201ee2028 100644 --- a/service/ssoadmin/api_op_CreateAccountAssignment.go +++ b/service/ssoadmin/api_op_CreateAccountAssignment.go @@ -157,9 +157,6 @@ func (c *Client) addOperationCreateAccountAssignmentMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAccountAssignmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_CreateApplication.go b/service/ssoadmin/api_op_CreateApplication.go index acfdb5a98bc..ad2d5285c79 100644 --- a/service/ssoadmin/api_op_CreateApplication.go +++ b/service/ssoadmin/api_op_CreateApplication.go @@ -153,9 +153,6 @@ func (c *Client) addOperationCreateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateApplicationMiddleware(stack, options); err != nil { return err } diff --git a/service/ssoadmin/api_op_CreateApplicationAssignment.go b/service/ssoadmin/api_op_CreateApplicationAssignment.go index 0f28d5fe439..201a3078301 100644 --- a/service/ssoadmin/api_op_CreateApplicationAssignment.go +++ b/service/ssoadmin/api_op_CreateApplicationAssignment.go @@ -120,9 +120,6 @@ func (c *Client) addOperationCreateApplicationAssignmentMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateApplicationAssignmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_CreateInstance.go b/service/ssoadmin/api_op_CreateInstance.go index d32337b036a..758a65c4bf8 100644 --- a/service/ssoadmin/api_op_CreateInstance.go +++ b/service/ssoadmin/api_op_CreateInstance.go @@ -141,9 +141,6 @@ func (c *Client) addOperationCreateInstanceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateInstanceMiddleware(stack, options); err != nil { return err } diff --git a/service/ssoadmin/api_op_CreateInstanceAccessControlAttributeConfiguration.go b/service/ssoadmin/api_op_CreateInstanceAccessControlAttributeConfiguration.go index 1080e9b3e02..cb37ed640b4 100644 --- a/service/ssoadmin/api_op_CreateInstanceAccessControlAttributeConfiguration.go +++ b/service/ssoadmin/api_op_CreateInstanceAccessControlAttributeConfiguration.go @@ -127,9 +127,6 @@ func (c *Client) addOperationCreateInstanceAccessControlAttributeConfigurationMi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateInstanceAccessControlAttributeConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_CreatePermissionSet.go b/service/ssoadmin/api_op_CreatePermissionSet.go index 1df30bcecee..25ee5359d77 100644 --- a/service/ssoadmin/api_op_CreatePermissionSet.go +++ b/service/ssoadmin/api_op_CreatePermissionSet.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreatePermissionSetMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreatePermissionSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_CreateTrustedTokenIssuer.go b/service/ssoadmin/api_op_CreateTrustedTokenIssuer.go index 885b4b4ef4b..5dd8d1f882c 100644 --- a/service/ssoadmin/api_op_CreateTrustedTokenIssuer.go +++ b/service/ssoadmin/api_op_CreateTrustedTokenIssuer.go @@ -155,9 +155,6 @@ func (c *Client) addOperationCreateTrustedTokenIssuerMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateTrustedTokenIssuerMiddleware(stack, options); err != nil { return err } diff --git a/service/ssoadmin/api_op_DeleteAccountAssignment.go b/service/ssoadmin/api_op_DeleteAccountAssignment.go index e9f8b846888..af003abac4e 100644 --- a/service/ssoadmin/api_op_DeleteAccountAssignment.go +++ b/service/ssoadmin/api_op_DeleteAccountAssignment.go @@ -146,9 +146,6 @@ func (c *Client) addOperationDeleteAccountAssignmentMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAccountAssignmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DeleteApplication.go b/service/ssoadmin/api_op_DeleteApplication.go index d77ddf8bf26..43f7f782768 100644 --- a/service/ssoadmin/api_op_DeleteApplication.go +++ b/service/ssoadmin/api_op_DeleteApplication.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DeleteApplicationAccessScope.go b/service/ssoadmin/api_op_DeleteApplicationAccessScope.go index 5bf54b98024..cce51db1c21 100644 --- a/service/ssoadmin/api_op_DeleteApplicationAccessScope.go +++ b/service/ssoadmin/api_op_DeleteApplicationAccessScope.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteApplicationAccessScopeMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationAccessScopeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DeleteApplicationAssignment.go b/service/ssoadmin/api_op_DeleteApplicationAssignment.go index 6e7810f6ed5..66bdad9eb4e 100644 --- a/service/ssoadmin/api_op_DeleteApplicationAssignment.go +++ b/service/ssoadmin/api_op_DeleteApplicationAssignment.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteApplicationAssignmentMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationAssignmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DeleteApplicationAuthenticationMethod.go b/service/ssoadmin/api_op_DeleteApplicationAuthenticationMethod.go index 716d5451c11..a7ba867ad78 100644 --- a/service/ssoadmin/api_op_DeleteApplicationAuthenticationMethod.go +++ b/service/ssoadmin/api_op_DeleteApplicationAuthenticationMethod.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteApplicationAuthenticationMethodMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationAuthenticationMethodValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DeleteApplicationGrant.go b/service/ssoadmin/api_op_DeleteApplicationGrant.go index 385d832965e..abdca39accc 100644 --- a/service/ssoadmin/api_op_DeleteApplicationGrant.go +++ b/service/ssoadmin/api_op_DeleteApplicationGrant.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteApplicationGrantMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteApplicationGrantValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DeleteInlinePolicyFromPermissionSet.go b/service/ssoadmin/api_op_DeleteInlinePolicyFromPermissionSet.go index d4b5bf59207..293f6f9c827 100644 --- a/service/ssoadmin/api_op_DeleteInlinePolicyFromPermissionSet.go +++ b/service/ssoadmin/api_op_DeleteInlinePolicyFromPermissionSet.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteInlinePolicyFromPermissionSetMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInlinePolicyFromPermissionSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DeleteInstance.go b/service/ssoadmin/api_op_DeleteInstance.go index 86befc8cef1..304de736202 100644 --- a/service/ssoadmin/api_op_DeleteInstance.go +++ b/service/ssoadmin/api_op_DeleteInstance.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteInstanceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DeleteInstanceAccessControlAttributeConfiguration.go b/service/ssoadmin/api_op_DeleteInstanceAccessControlAttributeConfiguration.go index 69af9692ff5..ba755bd5083 100644 --- a/service/ssoadmin/api_op_DeleteInstanceAccessControlAttributeConfiguration.go +++ b/service/ssoadmin/api_op_DeleteInstanceAccessControlAttributeConfiguration.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteInstanceAccessControlAttributeConfigurationMi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInstanceAccessControlAttributeConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DeletePermissionSet.go b/service/ssoadmin/api_op_DeletePermissionSet.go index 34b27a1bb65..67dd0e0592b 100644 --- a/service/ssoadmin/api_op_DeletePermissionSet.go +++ b/service/ssoadmin/api_op_DeletePermissionSet.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeletePermissionSetMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePermissionSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DeletePermissionsBoundaryFromPermissionSet.go b/service/ssoadmin/api_op_DeletePermissionsBoundaryFromPermissionSet.go index 24c6ebd05c3..6da588cadb4 100644 --- a/service/ssoadmin/api_op_DeletePermissionsBoundaryFromPermissionSet.go +++ b/service/ssoadmin/api_op_DeletePermissionsBoundaryFromPermissionSet.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeletePermissionsBoundaryFromPermissionSetMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePermissionsBoundaryFromPermissionSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DeleteTrustedTokenIssuer.go b/service/ssoadmin/api_op_DeleteTrustedTokenIssuer.go index cd17a735a1e..39f4076e48e 100644 --- a/service/ssoadmin/api_op_DeleteTrustedTokenIssuer.go +++ b/service/ssoadmin/api_op_DeleteTrustedTokenIssuer.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteTrustedTokenIssuerMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTrustedTokenIssuerValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DescribeAccountAssignmentCreationStatus.go b/service/ssoadmin/api_op_DescribeAccountAssignmentCreationStatus.go index 92525a9eb01..7d21759fabd 100644 --- a/service/ssoadmin/api_op_DescribeAccountAssignmentCreationStatus.go +++ b/service/ssoadmin/api_op_DescribeAccountAssignmentCreationStatus.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeAccountAssignmentCreationStatusMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAccountAssignmentCreationStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DescribeAccountAssignmentDeletionStatus.go b/service/ssoadmin/api_op_DescribeAccountAssignmentDeletionStatus.go index 5ba7aa0aeb3..574ab4cc40f 100644 --- a/service/ssoadmin/api_op_DescribeAccountAssignmentDeletionStatus.go +++ b/service/ssoadmin/api_op_DescribeAccountAssignmentDeletionStatus.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeAccountAssignmentDeletionStatusMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAccountAssignmentDeletionStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DescribeApplication.go b/service/ssoadmin/api_op_DescribeApplication.go index e0bbbea7b8d..95e16dfa1fa 100644 --- a/service/ssoadmin/api_op_DescribeApplication.go +++ b/service/ssoadmin/api_op_DescribeApplication.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDescribeApplicationMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DescribeApplicationAssignment.go b/service/ssoadmin/api_op_DescribeApplicationAssignment.go index 30cec496214..fc7a0ef5852 100644 --- a/service/ssoadmin/api_op_DescribeApplicationAssignment.go +++ b/service/ssoadmin/api_op_DescribeApplicationAssignment.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDescribeApplicationAssignmentMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeApplicationAssignmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DescribeApplicationProvider.go b/service/ssoadmin/api_op_DescribeApplicationProvider.go index 45c3aab0c16..467ef33de86 100644 --- a/service/ssoadmin/api_op_DescribeApplicationProvider.go +++ b/service/ssoadmin/api_op_DescribeApplicationProvider.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribeApplicationProviderMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeApplicationProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DescribeInstance.go b/service/ssoadmin/api_op_DescribeInstance.go index 7108efef18a..b5cbf928547 100644 --- a/service/ssoadmin/api_op_DescribeInstance.go +++ b/service/ssoadmin/api_op_DescribeInstance.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDescribeInstanceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DescribeInstanceAccessControlAttributeConfiguration.go b/service/ssoadmin/api_op_DescribeInstanceAccessControlAttributeConfiguration.go index 4a8e72b11cf..5bc108d8abd 100644 --- a/service/ssoadmin/api_op_DescribeInstanceAccessControlAttributeConfiguration.go +++ b/service/ssoadmin/api_op_DescribeInstanceAccessControlAttributeConfiguration.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeInstanceAccessControlAttributeConfiguration if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeInstanceAccessControlAttributeConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DescribePermissionSet.go b/service/ssoadmin/api_op_DescribePermissionSet.go index 7765f1fd854..5ae78cc34a1 100644 --- a/service/ssoadmin/api_op_DescribePermissionSet.go +++ b/service/ssoadmin/api_op_DescribePermissionSet.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribePermissionSetMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePermissionSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DescribePermissionSetProvisioningStatus.go b/service/ssoadmin/api_op_DescribePermissionSetProvisioningStatus.go index 778ee8617d4..b78f8a14ad6 100644 --- a/service/ssoadmin/api_op_DescribePermissionSetProvisioningStatus.go +++ b/service/ssoadmin/api_op_DescribePermissionSetProvisioningStatus.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDescribePermissionSetProvisioningStatusMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribePermissionSetProvisioningStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DescribeTrustedTokenIssuer.go b/service/ssoadmin/api_op_DescribeTrustedTokenIssuer.go index 9b16032670f..4f58d611017 100644 --- a/service/ssoadmin/api_op_DescribeTrustedTokenIssuer.go +++ b/service/ssoadmin/api_op_DescribeTrustedTokenIssuer.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribeTrustedTokenIssuerMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTrustedTokenIssuerValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DetachCustomerManagedPolicyReferenceFromPermissionSet.go b/service/ssoadmin/api_op_DetachCustomerManagedPolicyReferenceFromPermissionSet.go index 9d8e701bcf0..61e3b103165 100644 --- a/service/ssoadmin/api_op_DetachCustomerManagedPolicyReferenceFromPermissionSet.go +++ b/service/ssoadmin/api_op_DetachCustomerManagedPolicyReferenceFromPermissionSet.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDetachCustomerManagedPolicyReferenceFromPermissionS if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetachCustomerManagedPolicyReferenceFromPermissionSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_DetachManagedPolicyFromPermissionSet.go b/service/ssoadmin/api_op_DetachManagedPolicyFromPermissionSet.go index c62af3e6e63..91872618f2d 100644 --- a/service/ssoadmin/api_op_DetachManagedPolicyFromPermissionSet.go +++ b/service/ssoadmin/api_op_DetachManagedPolicyFromPermissionSet.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDetachManagedPolicyFromPermissionSetMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetachManagedPolicyFromPermissionSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_GetApplicationAccessScope.go b/service/ssoadmin/api_op_GetApplicationAccessScope.go index 166c7f35c8b..8d7db739c3b 100644 --- a/service/ssoadmin/api_op_GetApplicationAccessScope.go +++ b/service/ssoadmin/api_op_GetApplicationAccessScope.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetApplicationAccessScopeMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApplicationAccessScopeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_GetApplicationAssignmentConfiguration.go b/service/ssoadmin/api_op_GetApplicationAssignmentConfiguration.go index dcfe9941561..ba177151ee3 100644 --- a/service/ssoadmin/api_op_GetApplicationAssignmentConfiguration.go +++ b/service/ssoadmin/api_op_GetApplicationAssignmentConfiguration.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetApplicationAssignmentConfigurationMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApplicationAssignmentConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_GetApplicationAuthenticationMethod.go b/service/ssoadmin/api_op_GetApplicationAuthenticationMethod.go index ef289798880..20c5fc39f7d 100644 --- a/service/ssoadmin/api_op_GetApplicationAuthenticationMethod.go +++ b/service/ssoadmin/api_op_GetApplicationAuthenticationMethod.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetApplicationAuthenticationMethodMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApplicationAuthenticationMethodValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_GetApplicationGrant.go b/service/ssoadmin/api_op_GetApplicationGrant.go index bd93f9e784a..c23f85dc9e1 100644 --- a/service/ssoadmin/api_op_GetApplicationGrant.go +++ b/service/ssoadmin/api_op_GetApplicationGrant.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetApplicationGrantMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetApplicationGrantValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_GetInlinePolicyForPermissionSet.go b/service/ssoadmin/api_op_GetInlinePolicyForPermissionSet.go index d45fedb3104..3ff8342fa41 100644 --- a/service/ssoadmin/api_op_GetInlinePolicyForPermissionSet.go +++ b/service/ssoadmin/api_op_GetInlinePolicyForPermissionSet.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetInlinePolicyForPermissionSetMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInlinePolicyForPermissionSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_GetPermissionsBoundaryForPermissionSet.go b/service/ssoadmin/api_op_GetPermissionsBoundaryForPermissionSet.go index d68ee7ffcd9..8d0e647f53c 100644 --- a/service/ssoadmin/api_op_GetPermissionsBoundaryForPermissionSet.go +++ b/service/ssoadmin/api_op_GetPermissionsBoundaryForPermissionSet.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetPermissionsBoundaryForPermissionSetMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPermissionsBoundaryForPermissionSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_ListAccountAssignmentCreationStatus.go b/service/ssoadmin/api_op_ListAccountAssignmentCreationStatus.go index ef7cb553abf..41df8a163d9 100644 --- a/service/ssoadmin/api_op_ListAccountAssignmentCreationStatus.go +++ b/service/ssoadmin/api_op_ListAccountAssignmentCreationStatus.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListAccountAssignmentCreationStatusMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAccountAssignmentCreationStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_ListAccountAssignmentDeletionStatus.go b/service/ssoadmin/api_op_ListAccountAssignmentDeletionStatus.go index efe45456a5f..42e4aa6f2a2 100644 --- a/service/ssoadmin/api_op_ListAccountAssignmentDeletionStatus.go +++ b/service/ssoadmin/api_op_ListAccountAssignmentDeletionStatus.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListAccountAssignmentDeletionStatusMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAccountAssignmentDeletionStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_ListAccountAssignments.go b/service/ssoadmin/api_op_ListAccountAssignments.go index 74d5363d95f..d7dfb43ccf0 100644 --- a/service/ssoadmin/api_op_ListAccountAssignments.go +++ b/service/ssoadmin/api_op_ListAccountAssignments.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListAccountAssignmentsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAccountAssignmentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_ListAccountAssignmentsForPrincipal.go b/service/ssoadmin/api_op_ListAccountAssignmentsForPrincipal.go index 3497cd2fd28..d787b5eefd2 100644 --- a/service/ssoadmin/api_op_ListAccountAssignmentsForPrincipal.go +++ b/service/ssoadmin/api_op_ListAccountAssignmentsForPrincipal.go @@ -151,9 +151,6 @@ func (c *Client) addOperationListAccountAssignmentsForPrincipalMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAccountAssignmentsForPrincipalValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_ListAccountsForProvisionedPermissionSet.go b/service/ssoadmin/api_op_ListAccountsForProvisionedPermissionSet.go index 8ddb922ecd9..a7d09080089 100644 --- a/service/ssoadmin/api_op_ListAccountsForProvisionedPermissionSet.go +++ b/service/ssoadmin/api_op_ListAccountsForProvisionedPermissionSet.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListAccountsForProvisionedPermissionSetMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAccountsForProvisionedPermissionSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_ListApplicationAccessScopes.go b/service/ssoadmin/api_op_ListApplicationAccessScopes.go index f08b98583aa..2dc70c80458 100644 --- a/service/ssoadmin/api_op_ListApplicationAccessScopes.go +++ b/service/ssoadmin/api_op_ListApplicationAccessScopes.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListApplicationAccessScopesMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListApplicationAccessScopesValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_ListApplicationAssignments.go b/service/ssoadmin/api_op_ListApplicationAssignments.go index 9eccd14d9ec..f1c8b7e1c95 100644 --- a/service/ssoadmin/api_op_ListApplicationAssignments.go +++ b/service/ssoadmin/api_op_ListApplicationAssignments.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListApplicationAssignmentsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListApplicationAssignmentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_ListApplicationAssignmentsForPrincipal.go b/service/ssoadmin/api_op_ListApplicationAssignmentsForPrincipal.go index dea1ad4957e..acc3755dc6c 100644 --- a/service/ssoadmin/api_op_ListApplicationAssignmentsForPrincipal.go +++ b/service/ssoadmin/api_op_ListApplicationAssignmentsForPrincipal.go @@ -151,9 +151,6 @@ func (c *Client) addOperationListApplicationAssignmentsForPrincipalMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListApplicationAssignmentsForPrincipalValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_ListApplicationAuthenticationMethods.go b/service/ssoadmin/api_op_ListApplicationAuthenticationMethods.go index d208471db6b..eaa3dcef572 100644 --- a/service/ssoadmin/api_op_ListApplicationAuthenticationMethods.go +++ b/service/ssoadmin/api_op_ListApplicationAuthenticationMethods.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListApplicationAuthenticationMethodsMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListApplicationAuthenticationMethodsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_ListApplicationGrants.go b/service/ssoadmin/api_op_ListApplicationGrants.go index bb084191449..7ebfc2ea715 100644 --- a/service/ssoadmin/api_op_ListApplicationGrants.go +++ b/service/ssoadmin/api_op_ListApplicationGrants.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListApplicationGrantsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListApplicationGrantsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_ListApplicationProviders.go b/service/ssoadmin/api_op_ListApplicationProviders.go index ae98ad7792e..7cf671997c3 100644 --- a/service/ssoadmin/api_op_ListApplicationProviders.go +++ b/service/ssoadmin/api_op_ListApplicationProviders.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListApplicationProvidersMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListApplicationProviders(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ssoadmin/api_op_ListApplications.go b/service/ssoadmin/api_op_ListApplications.go index 17c61dab356..43df759d7f6 100644 --- a/service/ssoadmin/api_op_ListApplications.go +++ b/service/ssoadmin/api_op_ListApplications.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListApplicationsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListApplicationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_ListCustomerManagedPolicyReferencesInPermissionSet.go b/service/ssoadmin/api_op_ListCustomerManagedPolicyReferencesInPermissionSet.go index a56873933b2..425b46c9848 100644 --- a/service/ssoadmin/api_op_ListCustomerManagedPolicyReferencesInPermissionSet.go +++ b/service/ssoadmin/api_op_ListCustomerManagedPolicyReferencesInPermissionSet.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListCustomerManagedPolicyReferencesInPermissionSetM if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCustomerManagedPolicyReferencesInPermissionSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_ListInstances.go b/service/ssoadmin/api_op_ListInstances.go index a798e48fd8c..3b9d99b9917 100644 --- a/service/ssoadmin/api_op_ListInstances.go +++ b/service/ssoadmin/api_op_ListInstances.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListInstancesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInstances(options.Region), middleware.Before); err != nil { return err } diff --git a/service/ssoadmin/api_op_ListManagedPoliciesInPermissionSet.go b/service/ssoadmin/api_op_ListManagedPoliciesInPermissionSet.go index 1720c195ba5..400964e30e9 100644 --- a/service/ssoadmin/api_op_ListManagedPoliciesInPermissionSet.go +++ b/service/ssoadmin/api_op_ListManagedPoliciesInPermissionSet.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListManagedPoliciesInPermissionSetMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListManagedPoliciesInPermissionSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_ListPermissionSetProvisioningStatus.go b/service/ssoadmin/api_op_ListPermissionSetProvisioningStatus.go index 1c51e29b5a9..cbd6c02a5b2 100644 --- a/service/ssoadmin/api_op_ListPermissionSetProvisioningStatus.go +++ b/service/ssoadmin/api_op_ListPermissionSetProvisioningStatus.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListPermissionSetProvisioningStatusMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPermissionSetProvisioningStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_ListPermissionSets.go b/service/ssoadmin/api_op_ListPermissionSets.go index 37e2418e29a..3e61d681050 100644 --- a/service/ssoadmin/api_op_ListPermissionSets.go +++ b/service/ssoadmin/api_op_ListPermissionSets.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListPermissionSetsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPermissionSetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_ListPermissionSetsProvisionedToAccount.go b/service/ssoadmin/api_op_ListPermissionSetsProvisionedToAccount.go index 9bc85077280..67522a7819c 100644 --- a/service/ssoadmin/api_op_ListPermissionSetsProvisionedToAccount.go +++ b/service/ssoadmin/api_op_ListPermissionSetsProvisionedToAccount.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListPermissionSetsProvisionedToAccountMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPermissionSetsProvisionedToAccountValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_ListTagsForResource.go b/service/ssoadmin/api_op_ListTagsForResource.go index 2aa747e1a07..c65c6502e89 100644 --- a/service/ssoadmin/api_op_ListTagsForResource.go +++ b/service/ssoadmin/api_op_ListTagsForResource.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_ListTrustedTokenIssuers.go b/service/ssoadmin/api_op_ListTrustedTokenIssuers.go index fa93c6fe2c6..0db9712d8ed 100644 --- a/service/ssoadmin/api_op_ListTrustedTokenIssuers.go +++ b/service/ssoadmin/api_op_ListTrustedTokenIssuers.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListTrustedTokenIssuersMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTrustedTokenIssuersValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_ProvisionPermissionSet.go b/service/ssoadmin/api_op_ProvisionPermissionSet.go index 4df370a4dd3..8f3bc5787d9 100644 --- a/service/ssoadmin/api_op_ProvisionPermissionSet.go +++ b/service/ssoadmin/api_op_ProvisionPermissionSet.go @@ -129,9 +129,6 @@ func (c *Client) addOperationProvisionPermissionSetMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpProvisionPermissionSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_PutApplicationAccessScope.go b/service/ssoadmin/api_op_PutApplicationAccessScope.go index c7cab540feb..20d40401ec2 100644 --- a/service/ssoadmin/api_op_PutApplicationAccessScope.go +++ b/service/ssoadmin/api_op_PutApplicationAccessScope.go @@ -119,9 +119,6 @@ func (c *Client) addOperationPutApplicationAccessScopeMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutApplicationAccessScopeValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_PutApplicationAssignmentConfiguration.go b/service/ssoadmin/api_op_PutApplicationAssignmentConfiguration.go index a54b36cd06d..9e71614035b 100644 --- a/service/ssoadmin/api_op_PutApplicationAssignmentConfiguration.go +++ b/service/ssoadmin/api_op_PutApplicationAssignmentConfiguration.go @@ -124,9 +124,6 @@ func (c *Client) addOperationPutApplicationAssignmentConfigurationMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutApplicationAssignmentConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_PutApplicationAuthenticationMethod.go b/service/ssoadmin/api_op_PutApplicationAuthenticationMethod.go index 2fcab8c22e0..2158edf016f 100644 --- a/service/ssoadmin/api_op_PutApplicationAuthenticationMethod.go +++ b/service/ssoadmin/api_op_PutApplicationAuthenticationMethod.go @@ -121,9 +121,6 @@ func (c *Client) addOperationPutApplicationAuthenticationMethodMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutApplicationAuthenticationMethodValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_PutApplicationGrant.go b/service/ssoadmin/api_op_PutApplicationGrant.go index 397ace2cbbe..9a34aae00db 100644 --- a/service/ssoadmin/api_op_PutApplicationGrant.go +++ b/service/ssoadmin/api_op_PutApplicationGrant.go @@ -118,9 +118,6 @@ func (c *Client) addOperationPutApplicationGrantMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutApplicationGrantValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_PutInlinePolicyToPermissionSet.go b/service/ssoadmin/api_op_PutInlinePolicyToPermissionSet.go index a631ec62826..8b864b0c5d5 100644 --- a/service/ssoadmin/api_op_PutInlinePolicyToPermissionSet.go +++ b/service/ssoadmin/api_op_PutInlinePolicyToPermissionSet.go @@ -123,9 +123,6 @@ func (c *Client) addOperationPutInlinePolicyToPermissionSetMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutInlinePolicyToPermissionSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_PutPermissionsBoundaryToPermissionSet.go b/service/ssoadmin/api_op_PutPermissionsBoundaryToPermissionSet.go index 5b934d0fcba..37559fa16fb 100644 --- a/service/ssoadmin/api_op_PutPermissionsBoundaryToPermissionSet.go +++ b/service/ssoadmin/api_op_PutPermissionsBoundaryToPermissionSet.go @@ -120,9 +120,6 @@ func (c *Client) addOperationPutPermissionsBoundaryToPermissionSetMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutPermissionsBoundaryToPermissionSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_TagResource.go b/service/ssoadmin/api_op_TagResource.go index 5e1ac7bd500..9ec4d4cd058 100644 --- a/service/ssoadmin/api_op_TagResource.go +++ b/service/ssoadmin/api_op_TagResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_UntagResource.go b/service/ssoadmin/api_op_UntagResource.go index ed91c9a208b..be29be788fe 100644 --- a/service/ssoadmin/api_op_UntagResource.go +++ b/service/ssoadmin/api_op_UntagResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_UpdateApplication.go b/service/ssoadmin/api_op_UpdateApplication.go index 75c29a6ab37..afb9889cf78 100644 --- a/service/ssoadmin/api_op_UpdateApplication.go +++ b/service/ssoadmin/api_op_UpdateApplication.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateApplicationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_UpdateInstance.go b/service/ssoadmin/api_op_UpdateInstance.go index 00a346420b8..693e1fbe563 100644 --- a/service/ssoadmin/api_op_UpdateInstance.go +++ b/service/ssoadmin/api_op_UpdateInstance.go @@ -115,9 +115,6 @@ func (c *Client) addOperationUpdateInstanceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_UpdateInstanceAccessControlAttributeConfiguration.go b/service/ssoadmin/api_op_UpdateInstanceAccessControlAttributeConfiguration.go index d202c95517a..06759c0b993 100644 --- a/service/ssoadmin/api_op_UpdateInstanceAccessControlAttributeConfiguration.go +++ b/service/ssoadmin/api_op_UpdateInstanceAccessControlAttributeConfiguration.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateInstanceAccessControlAttributeConfigurationMi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateInstanceAccessControlAttributeConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_UpdatePermissionSet.go b/service/ssoadmin/api_op_UpdatePermissionSet.go index 84b30400bd0..f06b2db4cf6 100644 --- a/service/ssoadmin/api_op_UpdatePermissionSet.go +++ b/service/ssoadmin/api_op_UpdatePermissionSet.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdatePermissionSetMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePermissionSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/api_op_UpdateTrustedTokenIssuer.go b/service/ssoadmin/api_op_UpdateTrustedTokenIssuer.go index 7979bc60fe8..7d8a01faeea 100644 --- a/service/ssoadmin/api_op_UpdateTrustedTokenIssuer.go +++ b/service/ssoadmin/api_op_UpdateTrustedTokenIssuer.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateTrustedTokenIssuerMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTrustedTokenIssuerValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssoadmin/snapshot/api_op_AttachCustomerManagedPolicyReferenceToPermissionSet.go.snap b/service/ssoadmin/snapshot/api_op_AttachCustomerManagedPolicyReferenceToPermissionSet.go.snap index ffc3d7d7029..05a88fe3836 100644 --- a/service/ssoadmin/snapshot/api_op_AttachCustomerManagedPolicyReferenceToPermissionSet.go.snap +++ b/service/ssoadmin/snapshot/api_op_AttachCustomerManagedPolicyReferenceToPermissionSet.go.snap @@ -14,7 +14,6 @@ AttachCustomerManagedPolicyReferenceToPermissionSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_AttachManagedPolicyToPermissionSet.go.snap b/service/ssoadmin/snapshot/api_op_AttachManagedPolicyToPermissionSet.go.snap index c84dae4f7b8..dc3395af746 100644 --- a/service/ssoadmin/snapshot/api_op_AttachManagedPolicyToPermissionSet.go.snap +++ b/service/ssoadmin/snapshot/api_op_AttachManagedPolicyToPermissionSet.go.snap @@ -14,7 +14,6 @@ AttachManagedPolicyToPermissionSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_CreateAccountAssignment.go.snap b/service/ssoadmin/snapshot/api_op_CreateAccountAssignment.go.snap index b88581881fe..f50fbcd54a1 100644 --- a/service/ssoadmin/snapshot/api_op_CreateAccountAssignment.go.snap +++ b/service/ssoadmin/snapshot/api_op_CreateAccountAssignment.go.snap @@ -14,7 +14,6 @@ CreateAccountAssignment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_CreateApplication.go.snap b/service/ssoadmin/snapshot/api_op_CreateApplication.go.snap index 55ae9fa9488..cb4df90a3ee 100644 --- a/service/ssoadmin/snapshot/api_op_CreateApplication.go.snap +++ b/service/ssoadmin/snapshot/api_op_CreateApplication.go.snap @@ -15,7 +15,6 @@ CreateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_CreateApplicationAssignment.go.snap b/service/ssoadmin/snapshot/api_op_CreateApplicationAssignment.go.snap index 51e8bf848df..7e08f5a35fb 100644 --- a/service/ssoadmin/snapshot/api_op_CreateApplicationAssignment.go.snap +++ b/service/ssoadmin/snapshot/api_op_CreateApplicationAssignment.go.snap @@ -14,7 +14,6 @@ CreateApplicationAssignment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_CreateInstance.go.snap b/service/ssoadmin/snapshot/api_op_CreateInstance.go.snap index 0676a9380af..22fcf223337 100644 --- a/service/ssoadmin/snapshot/api_op_CreateInstance.go.snap +++ b/service/ssoadmin/snapshot/api_op_CreateInstance.go.snap @@ -15,7 +15,6 @@ CreateInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_CreateInstanceAccessControlAttributeConfiguration.go.snap b/service/ssoadmin/snapshot/api_op_CreateInstanceAccessControlAttributeConfiguration.go.snap index 2bac8cf4dd2..2c03fb19ec6 100644 --- a/service/ssoadmin/snapshot/api_op_CreateInstanceAccessControlAttributeConfiguration.go.snap +++ b/service/ssoadmin/snapshot/api_op_CreateInstanceAccessControlAttributeConfiguration.go.snap @@ -14,7 +14,6 @@ CreateInstanceAccessControlAttributeConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_CreatePermissionSet.go.snap b/service/ssoadmin/snapshot/api_op_CreatePermissionSet.go.snap index fc2cd3bc021..82e80cdf992 100644 --- a/service/ssoadmin/snapshot/api_op_CreatePermissionSet.go.snap +++ b/service/ssoadmin/snapshot/api_op_CreatePermissionSet.go.snap @@ -14,7 +14,6 @@ CreatePermissionSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_CreateTrustedTokenIssuer.go.snap b/service/ssoadmin/snapshot/api_op_CreateTrustedTokenIssuer.go.snap index 529e44e7361..ad23af4ffaa 100644 --- a/service/ssoadmin/snapshot/api_op_CreateTrustedTokenIssuer.go.snap +++ b/service/ssoadmin/snapshot/api_op_CreateTrustedTokenIssuer.go.snap @@ -15,7 +15,6 @@ CreateTrustedTokenIssuer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_DeleteAccountAssignment.go.snap b/service/ssoadmin/snapshot/api_op_DeleteAccountAssignment.go.snap index c951de63385..05901550db8 100644 --- a/service/ssoadmin/snapshot/api_op_DeleteAccountAssignment.go.snap +++ b/service/ssoadmin/snapshot/api_op_DeleteAccountAssignment.go.snap @@ -14,7 +14,6 @@ DeleteAccountAssignment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_DeleteApplication.go.snap b/service/ssoadmin/snapshot/api_op_DeleteApplication.go.snap index 80790355ed5..ffda37a527f 100644 --- a/service/ssoadmin/snapshot/api_op_DeleteApplication.go.snap +++ b/service/ssoadmin/snapshot/api_op_DeleteApplication.go.snap @@ -14,7 +14,6 @@ DeleteApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_DeleteApplicationAccessScope.go.snap b/service/ssoadmin/snapshot/api_op_DeleteApplicationAccessScope.go.snap index 3e2378338ec..f9b1cbfbc9e 100644 --- a/service/ssoadmin/snapshot/api_op_DeleteApplicationAccessScope.go.snap +++ b/service/ssoadmin/snapshot/api_op_DeleteApplicationAccessScope.go.snap @@ -14,7 +14,6 @@ DeleteApplicationAccessScope Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_DeleteApplicationAssignment.go.snap b/service/ssoadmin/snapshot/api_op_DeleteApplicationAssignment.go.snap index 44741d3636f..a541d51a338 100644 --- a/service/ssoadmin/snapshot/api_op_DeleteApplicationAssignment.go.snap +++ b/service/ssoadmin/snapshot/api_op_DeleteApplicationAssignment.go.snap @@ -14,7 +14,6 @@ DeleteApplicationAssignment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_DeleteApplicationAuthenticationMethod.go.snap b/service/ssoadmin/snapshot/api_op_DeleteApplicationAuthenticationMethod.go.snap index 1ccbfc53be7..88d0ce616c5 100644 --- a/service/ssoadmin/snapshot/api_op_DeleteApplicationAuthenticationMethod.go.snap +++ b/service/ssoadmin/snapshot/api_op_DeleteApplicationAuthenticationMethod.go.snap @@ -14,7 +14,6 @@ DeleteApplicationAuthenticationMethod Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_DeleteApplicationGrant.go.snap b/service/ssoadmin/snapshot/api_op_DeleteApplicationGrant.go.snap index d9ccf060eeb..eb455d1443e 100644 --- a/service/ssoadmin/snapshot/api_op_DeleteApplicationGrant.go.snap +++ b/service/ssoadmin/snapshot/api_op_DeleteApplicationGrant.go.snap @@ -14,7 +14,6 @@ DeleteApplicationGrant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_DeleteInlinePolicyFromPermissionSet.go.snap b/service/ssoadmin/snapshot/api_op_DeleteInlinePolicyFromPermissionSet.go.snap index 71e6223e0ab..41ec4184fae 100644 --- a/service/ssoadmin/snapshot/api_op_DeleteInlinePolicyFromPermissionSet.go.snap +++ b/service/ssoadmin/snapshot/api_op_DeleteInlinePolicyFromPermissionSet.go.snap @@ -14,7 +14,6 @@ DeleteInlinePolicyFromPermissionSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_DeleteInstance.go.snap b/service/ssoadmin/snapshot/api_op_DeleteInstance.go.snap index 824b539eb6b..c62b128cf8d 100644 --- a/service/ssoadmin/snapshot/api_op_DeleteInstance.go.snap +++ b/service/ssoadmin/snapshot/api_op_DeleteInstance.go.snap @@ -14,7 +14,6 @@ DeleteInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_DeleteInstanceAccessControlAttributeConfiguration.go.snap b/service/ssoadmin/snapshot/api_op_DeleteInstanceAccessControlAttributeConfiguration.go.snap index 0a74b8d6fee..868c60a38a9 100644 --- a/service/ssoadmin/snapshot/api_op_DeleteInstanceAccessControlAttributeConfiguration.go.snap +++ b/service/ssoadmin/snapshot/api_op_DeleteInstanceAccessControlAttributeConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteInstanceAccessControlAttributeConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_DeletePermissionSet.go.snap b/service/ssoadmin/snapshot/api_op_DeletePermissionSet.go.snap index ea3e9f4badd..1fb87895fe3 100644 --- a/service/ssoadmin/snapshot/api_op_DeletePermissionSet.go.snap +++ b/service/ssoadmin/snapshot/api_op_DeletePermissionSet.go.snap @@ -14,7 +14,6 @@ DeletePermissionSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_DeletePermissionsBoundaryFromPermissionSet.go.snap b/service/ssoadmin/snapshot/api_op_DeletePermissionsBoundaryFromPermissionSet.go.snap index 343675c0f62..c17618dad7e 100644 --- a/service/ssoadmin/snapshot/api_op_DeletePermissionsBoundaryFromPermissionSet.go.snap +++ b/service/ssoadmin/snapshot/api_op_DeletePermissionsBoundaryFromPermissionSet.go.snap @@ -14,7 +14,6 @@ DeletePermissionsBoundaryFromPermissionSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_DeleteTrustedTokenIssuer.go.snap b/service/ssoadmin/snapshot/api_op_DeleteTrustedTokenIssuer.go.snap index 3f4deddd899..90a6147e678 100644 --- a/service/ssoadmin/snapshot/api_op_DeleteTrustedTokenIssuer.go.snap +++ b/service/ssoadmin/snapshot/api_op_DeleteTrustedTokenIssuer.go.snap @@ -14,7 +14,6 @@ DeleteTrustedTokenIssuer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_DescribeAccountAssignmentCreationStatus.go.snap b/service/ssoadmin/snapshot/api_op_DescribeAccountAssignmentCreationStatus.go.snap index 2abaf6dece0..b1ec1559286 100644 --- a/service/ssoadmin/snapshot/api_op_DescribeAccountAssignmentCreationStatus.go.snap +++ b/service/ssoadmin/snapshot/api_op_DescribeAccountAssignmentCreationStatus.go.snap @@ -14,7 +14,6 @@ DescribeAccountAssignmentCreationStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_DescribeAccountAssignmentDeletionStatus.go.snap b/service/ssoadmin/snapshot/api_op_DescribeAccountAssignmentDeletionStatus.go.snap index bff7845be8b..1097413b091 100644 --- a/service/ssoadmin/snapshot/api_op_DescribeAccountAssignmentDeletionStatus.go.snap +++ b/service/ssoadmin/snapshot/api_op_DescribeAccountAssignmentDeletionStatus.go.snap @@ -14,7 +14,6 @@ DescribeAccountAssignmentDeletionStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_DescribeApplication.go.snap b/service/ssoadmin/snapshot/api_op_DescribeApplication.go.snap index 9e58fc0215e..c6fbc3e201d 100644 --- a/service/ssoadmin/snapshot/api_op_DescribeApplication.go.snap +++ b/service/ssoadmin/snapshot/api_op_DescribeApplication.go.snap @@ -14,7 +14,6 @@ DescribeApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_DescribeApplicationAssignment.go.snap b/service/ssoadmin/snapshot/api_op_DescribeApplicationAssignment.go.snap index 5bd5e347272..3de8b7d7fba 100644 --- a/service/ssoadmin/snapshot/api_op_DescribeApplicationAssignment.go.snap +++ b/service/ssoadmin/snapshot/api_op_DescribeApplicationAssignment.go.snap @@ -14,7 +14,6 @@ DescribeApplicationAssignment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_DescribeApplicationProvider.go.snap b/service/ssoadmin/snapshot/api_op_DescribeApplicationProvider.go.snap index 1527c9b389b..8cfc95e9772 100644 --- a/service/ssoadmin/snapshot/api_op_DescribeApplicationProvider.go.snap +++ b/service/ssoadmin/snapshot/api_op_DescribeApplicationProvider.go.snap @@ -14,7 +14,6 @@ DescribeApplicationProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_DescribeInstance.go.snap b/service/ssoadmin/snapshot/api_op_DescribeInstance.go.snap index 3e9929ad782..ebf8e509db7 100644 --- a/service/ssoadmin/snapshot/api_op_DescribeInstance.go.snap +++ b/service/ssoadmin/snapshot/api_op_DescribeInstance.go.snap @@ -14,7 +14,6 @@ DescribeInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_DescribeInstanceAccessControlAttributeConfiguration.go.snap b/service/ssoadmin/snapshot/api_op_DescribeInstanceAccessControlAttributeConfiguration.go.snap index a0c7c333909..ec582290549 100644 --- a/service/ssoadmin/snapshot/api_op_DescribeInstanceAccessControlAttributeConfiguration.go.snap +++ b/service/ssoadmin/snapshot/api_op_DescribeInstanceAccessControlAttributeConfiguration.go.snap @@ -14,7 +14,6 @@ DescribeInstanceAccessControlAttributeConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_DescribePermissionSet.go.snap b/service/ssoadmin/snapshot/api_op_DescribePermissionSet.go.snap index 0ea76aa0990..415eb6a5261 100644 --- a/service/ssoadmin/snapshot/api_op_DescribePermissionSet.go.snap +++ b/service/ssoadmin/snapshot/api_op_DescribePermissionSet.go.snap @@ -14,7 +14,6 @@ DescribePermissionSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_DescribePermissionSetProvisioningStatus.go.snap b/service/ssoadmin/snapshot/api_op_DescribePermissionSetProvisioningStatus.go.snap index 2fc3c8c90fe..6f2a564701d 100644 --- a/service/ssoadmin/snapshot/api_op_DescribePermissionSetProvisioningStatus.go.snap +++ b/service/ssoadmin/snapshot/api_op_DescribePermissionSetProvisioningStatus.go.snap @@ -14,7 +14,6 @@ DescribePermissionSetProvisioningStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_DescribeTrustedTokenIssuer.go.snap b/service/ssoadmin/snapshot/api_op_DescribeTrustedTokenIssuer.go.snap index 18e02ffa41e..a74d02d7f99 100644 --- a/service/ssoadmin/snapshot/api_op_DescribeTrustedTokenIssuer.go.snap +++ b/service/ssoadmin/snapshot/api_op_DescribeTrustedTokenIssuer.go.snap @@ -14,7 +14,6 @@ DescribeTrustedTokenIssuer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_DetachCustomerManagedPolicyReferenceFromPermissionSet.go.snap b/service/ssoadmin/snapshot/api_op_DetachCustomerManagedPolicyReferenceFromPermissionSet.go.snap index 8bd61b70f05..3a50927f357 100644 --- a/service/ssoadmin/snapshot/api_op_DetachCustomerManagedPolicyReferenceFromPermissionSet.go.snap +++ b/service/ssoadmin/snapshot/api_op_DetachCustomerManagedPolicyReferenceFromPermissionSet.go.snap @@ -14,7 +14,6 @@ DetachCustomerManagedPolicyReferenceFromPermissionSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_DetachManagedPolicyFromPermissionSet.go.snap b/service/ssoadmin/snapshot/api_op_DetachManagedPolicyFromPermissionSet.go.snap index f87bf2a01f2..d70cfe402e2 100644 --- a/service/ssoadmin/snapshot/api_op_DetachManagedPolicyFromPermissionSet.go.snap +++ b/service/ssoadmin/snapshot/api_op_DetachManagedPolicyFromPermissionSet.go.snap @@ -14,7 +14,6 @@ DetachManagedPolicyFromPermissionSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_GetApplicationAccessScope.go.snap b/service/ssoadmin/snapshot/api_op_GetApplicationAccessScope.go.snap index 8759795f00e..b5df11f1c0a 100644 --- a/service/ssoadmin/snapshot/api_op_GetApplicationAccessScope.go.snap +++ b/service/ssoadmin/snapshot/api_op_GetApplicationAccessScope.go.snap @@ -14,7 +14,6 @@ GetApplicationAccessScope Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_GetApplicationAssignmentConfiguration.go.snap b/service/ssoadmin/snapshot/api_op_GetApplicationAssignmentConfiguration.go.snap index 79e0a65bcba..8ebca4c2144 100644 --- a/service/ssoadmin/snapshot/api_op_GetApplicationAssignmentConfiguration.go.snap +++ b/service/ssoadmin/snapshot/api_op_GetApplicationAssignmentConfiguration.go.snap @@ -14,7 +14,6 @@ GetApplicationAssignmentConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_GetApplicationAuthenticationMethod.go.snap b/service/ssoadmin/snapshot/api_op_GetApplicationAuthenticationMethod.go.snap index 217467b2251..f2b784e2f79 100644 --- a/service/ssoadmin/snapshot/api_op_GetApplicationAuthenticationMethod.go.snap +++ b/service/ssoadmin/snapshot/api_op_GetApplicationAuthenticationMethod.go.snap @@ -14,7 +14,6 @@ GetApplicationAuthenticationMethod Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_GetApplicationGrant.go.snap b/service/ssoadmin/snapshot/api_op_GetApplicationGrant.go.snap index 94926d54b22..08c5b726a35 100644 --- a/service/ssoadmin/snapshot/api_op_GetApplicationGrant.go.snap +++ b/service/ssoadmin/snapshot/api_op_GetApplicationGrant.go.snap @@ -14,7 +14,6 @@ GetApplicationGrant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_GetInlinePolicyForPermissionSet.go.snap b/service/ssoadmin/snapshot/api_op_GetInlinePolicyForPermissionSet.go.snap index 7650f39d2ca..9bd56d4f1f4 100644 --- a/service/ssoadmin/snapshot/api_op_GetInlinePolicyForPermissionSet.go.snap +++ b/service/ssoadmin/snapshot/api_op_GetInlinePolicyForPermissionSet.go.snap @@ -14,7 +14,6 @@ GetInlinePolicyForPermissionSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_GetPermissionsBoundaryForPermissionSet.go.snap b/service/ssoadmin/snapshot/api_op_GetPermissionsBoundaryForPermissionSet.go.snap index 87bdeca6938..0ac4473053c 100644 --- a/service/ssoadmin/snapshot/api_op_GetPermissionsBoundaryForPermissionSet.go.snap +++ b/service/ssoadmin/snapshot/api_op_GetPermissionsBoundaryForPermissionSet.go.snap @@ -14,7 +14,6 @@ GetPermissionsBoundaryForPermissionSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_ListAccountAssignmentCreationStatus.go.snap b/service/ssoadmin/snapshot/api_op_ListAccountAssignmentCreationStatus.go.snap index 67f4d9e1ef3..961e76ed207 100644 --- a/service/ssoadmin/snapshot/api_op_ListAccountAssignmentCreationStatus.go.snap +++ b/service/ssoadmin/snapshot/api_op_ListAccountAssignmentCreationStatus.go.snap @@ -14,7 +14,6 @@ ListAccountAssignmentCreationStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_ListAccountAssignmentDeletionStatus.go.snap b/service/ssoadmin/snapshot/api_op_ListAccountAssignmentDeletionStatus.go.snap index 1bcebe987df..9b914b24ae6 100644 --- a/service/ssoadmin/snapshot/api_op_ListAccountAssignmentDeletionStatus.go.snap +++ b/service/ssoadmin/snapshot/api_op_ListAccountAssignmentDeletionStatus.go.snap @@ -14,7 +14,6 @@ ListAccountAssignmentDeletionStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_ListAccountAssignments.go.snap b/service/ssoadmin/snapshot/api_op_ListAccountAssignments.go.snap index 0d2365b3d9c..49093faabc5 100644 --- a/service/ssoadmin/snapshot/api_op_ListAccountAssignments.go.snap +++ b/service/ssoadmin/snapshot/api_op_ListAccountAssignments.go.snap @@ -14,7 +14,6 @@ ListAccountAssignments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_ListAccountAssignmentsForPrincipal.go.snap b/service/ssoadmin/snapshot/api_op_ListAccountAssignmentsForPrincipal.go.snap index 93fd6c3dae9..8078443b9c5 100644 --- a/service/ssoadmin/snapshot/api_op_ListAccountAssignmentsForPrincipal.go.snap +++ b/service/ssoadmin/snapshot/api_op_ListAccountAssignmentsForPrincipal.go.snap @@ -14,7 +14,6 @@ ListAccountAssignmentsForPrincipal Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_ListAccountsForProvisionedPermissionSet.go.snap b/service/ssoadmin/snapshot/api_op_ListAccountsForProvisionedPermissionSet.go.snap index b23d7e1f02f..72270732e0e 100644 --- a/service/ssoadmin/snapshot/api_op_ListAccountsForProvisionedPermissionSet.go.snap +++ b/service/ssoadmin/snapshot/api_op_ListAccountsForProvisionedPermissionSet.go.snap @@ -14,7 +14,6 @@ ListAccountsForProvisionedPermissionSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_ListApplicationAccessScopes.go.snap b/service/ssoadmin/snapshot/api_op_ListApplicationAccessScopes.go.snap index 8d96d9e0c8b..2f3eb6ba428 100644 --- a/service/ssoadmin/snapshot/api_op_ListApplicationAccessScopes.go.snap +++ b/service/ssoadmin/snapshot/api_op_ListApplicationAccessScopes.go.snap @@ -14,7 +14,6 @@ ListApplicationAccessScopes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_ListApplicationAssignments.go.snap b/service/ssoadmin/snapshot/api_op_ListApplicationAssignments.go.snap index b504064b842..f061f1ee615 100644 --- a/service/ssoadmin/snapshot/api_op_ListApplicationAssignments.go.snap +++ b/service/ssoadmin/snapshot/api_op_ListApplicationAssignments.go.snap @@ -14,7 +14,6 @@ ListApplicationAssignments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_ListApplicationAssignmentsForPrincipal.go.snap b/service/ssoadmin/snapshot/api_op_ListApplicationAssignmentsForPrincipal.go.snap index b193b3a92ec..bdb4f3a1a06 100644 --- a/service/ssoadmin/snapshot/api_op_ListApplicationAssignmentsForPrincipal.go.snap +++ b/service/ssoadmin/snapshot/api_op_ListApplicationAssignmentsForPrincipal.go.snap @@ -14,7 +14,6 @@ ListApplicationAssignmentsForPrincipal Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_ListApplicationAuthenticationMethods.go.snap b/service/ssoadmin/snapshot/api_op_ListApplicationAuthenticationMethods.go.snap index 1b3d9ba9649..ffac1ffbe71 100644 --- a/service/ssoadmin/snapshot/api_op_ListApplicationAuthenticationMethods.go.snap +++ b/service/ssoadmin/snapshot/api_op_ListApplicationAuthenticationMethods.go.snap @@ -14,7 +14,6 @@ ListApplicationAuthenticationMethods Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_ListApplicationGrants.go.snap b/service/ssoadmin/snapshot/api_op_ListApplicationGrants.go.snap index f9e642edf59..425f25c617c 100644 --- a/service/ssoadmin/snapshot/api_op_ListApplicationGrants.go.snap +++ b/service/ssoadmin/snapshot/api_op_ListApplicationGrants.go.snap @@ -14,7 +14,6 @@ ListApplicationGrants Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_ListApplicationProviders.go.snap b/service/ssoadmin/snapshot/api_op_ListApplicationProviders.go.snap index 8b06d706080..d12018a11b0 100644 --- a/service/ssoadmin/snapshot/api_op_ListApplicationProviders.go.snap +++ b/service/ssoadmin/snapshot/api_op_ListApplicationProviders.go.snap @@ -13,7 +13,6 @@ ListApplicationProviders Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_ListApplications.go.snap b/service/ssoadmin/snapshot/api_op_ListApplications.go.snap index 7f3561f3d5c..be3dfcbf241 100644 --- a/service/ssoadmin/snapshot/api_op_ListApplications.go.snap +++ b/service/ssoadmin/snapshot/api_op_ListApplications.go.snap @@ -14,7 +14,6 @@ ListApplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_ListCustomerManagedPolicyReferencesInPermissionSet.go.snap b/service/ssoadmin/snapshot/api_op_ListCustomerManagedPolicyReferencesInPermissionSet.go.snap index e769c32644c..75fd7671f8b 100644 --- a/service/ssoadmin/snapshot/api_op_ListCustomerManagedPolicyReferencesInPermissionSet.go.snap +++ b/service/ssoadmin/snapshot/api_op_ListCustomerManagedPolicyReferencesInPermissionSet.go.snap @@ -14,7 +14,6 @@ ListCustomerManagedPolicyReferencesInPermissionSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_ListInstances.go.snap b/service/ssoadmin/snapshot/api_op_ListInstances.go.snap index 139cc49a2f4..92646b4f428 100644 --- a/service/ssoadmin/snapshot/api_op_ListInstances.go.snap +++ b/service/ssoadmin/snapshot/api_op_ListInstances.go.snap @@ -13,7 +13,6 @@ ListInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_ListManagedPoliciesInPermissionSet.go.snap b/service/ssoadmin/snapshot/api_op_ListManagedPoliciesInPermissionSet.go.snap index 3de5e27cec7..7dabc9bbcea 100644 --- a/service/ssoadmin/snapshot/api_op_ListManagedPoliciesInPermissionSet.go.snap +++ b/service/ssoadmin/snapshot/api_op_ListManagedPoliciesInPermissionSet.go.snap @@ -14,7 +14,6 @@ ListManagedPoliciesInPermissionSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_ListPermissionSetProvisioningStatus.go.snap b/service/ssoadmin/snapshot/api_op_ListPermissionSetProvisioningStatus.go.snap index 9e79e1d05c7..0dc17ea9351 100644 --- a/service/ssoadmin/snapshot/api_op_ListPermissionSetProvisioningStatus.go.snap +++ b/service/ssoadmin/snapshot/api_op_ListPermissionSetProvisioningStatus.go.snap @@ -14,7 +14,6 @@ ListPermissionSetProvisioningStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_ListPermissionSets.go.snap b/service/ssoadmin/snapshot/api_op_ListPermissionSets.go.snap index 08c60468417..8ce7053a33f 100644 --- a/service/ssoadmin/snapshot/api_op_ListPermissionSets.go.snap +++ b/service/ssoadmin/snapshot/api_op_ListPermissionSets.go.snap @@ -14,7 +14,6 @@ ListPermissionSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_ListPermissionSetsProvisionedToAccount.go.snap b/service/ssoadmin/snapshot/api_op_ListPermissionSetsProvisionedToAccount.go.snap index fa55bd60cc7..500d7b1342a 100644 --- a/service/ssoadmin/snapshot/api_op_ListPermissionSetsProvisionedToAccount.go.snap +++ b/service/ssoadmin/snapshot/api_op_ListPermissionSetsProvisionedToAccount.go.snap @@ -14,7 +14,6 @@ ListPermissionSetsProvisionedToAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_ListTagsForResource.go.snap b/service/ssoadmin/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/ssoadmin/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/ssoadmin/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_ListTrustedTokenIssuers.go.snap b/service/ssoadmin/snapshot/api_op_ListTrustedTokenIssuers.go.snap index 396ce5c28cf..b44bd56ca61 100644 --- a/service/ssoadmin/snapshot/api_op_ListTrustedTokenIssuers.go.snap +++ b/service/ssoadmin/snapshot/api_op_ListTrustedTokenIssuers.go.snap @@ -14,7 +14,6 @@ ListTrustedTokenIssuers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_ProvisionPermissionSet.go.snap b/service/ssoadmin/snapshot/api_op_ProvisionPermissionSet.go.snap index cc8d567005e..d207d44b5a0 100644 --- a/service/ssoadmin/snapshot/api_op_ProvisionPermissionSet.go.snap +++ b/service/ssoadmin/snapshot/api_op_ProvisionPermissionSet.go.snap @@ -14,7 +14,6 @@ ProvisionPermissionSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_PutApplicationAccessScope.go.snap b/service/ssoadmin/snapshot/api_op_PutApplicationAccessScope.go.snap index cd10c7ad124..99ea2a0c896 100644 --- a/service/ssoadmin/snapshot/api_op_PutApplicationAccessScope.go.snap +++ b/service/ssoadmin/snapshot/api_op_PutApplicationAccessScope.go.snap @@ -14,7 +14,6 @@ PutApplicationAccessScope Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_PutApplicationAssignmentConfiguration.go.snap b/service/ssoadmin/snapshot/api_op_PutApplicationAssignmentConfiguration.go.snap index fe74c60ab4d..2f22075fc62 100644 --- a/service/ssoadmin/snapshot/api_op_PutApplicationAssignmentConfiguration.go.snap +++ b/service/ssoadmin/snapshot/api_op_PutApplicationAssignmentConfiguration.go.snap @@ -14,7 +14,6 @@ PutApplicationAssignmentConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_PutApplicationAuthenticationMethod.go.snap b/service/ssoadmin/snapshot/api_op_PutApplicationAuthenticationMethod.go.snap index 705417e909b..5c32bb0b2a9 100644 --- a/service/ssoadmin/snapshot/api_op_PutApplicationAuthenticationMethod.go.snap +++ b/service/ssoadmin/snapshot/api_op_PutApplicationAuthenticationMethod.go.snap @@ -14,7 +14,6 @@ PutApplicationAuthenticationMethod Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_PutApplicationGrant.go.snap b/service/ssoadmin/snapshot/api_op_PutApplicationGrant.go.snap index 3d92f5342e6..f568d6484fc 100644 --- a/service/ssoadmin/snapshot/api_op_PutApplicationGrant.go.snap +++ b/service/ssoadmin/snapshot/api_op_PutApplicationGrant.go.snap @@ -14,7 +14,6 @@ PutApplicationGrant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_PutInlinePolicyToPermissionSet.go.snap b/service/ssoadmin/snapshot/api_op_PutInlinePolicyToPermissionSet.go.snap index 11de8febe0f..b8f1409d834 100644 --- a/service/ssoadmin/snapshot/api_op_PutInlinePolicyToPermissionSet.go.snap +++ b/service/ssoadmin/snapshot/api_op_PutInlinePolicyToPermissionSet.go.snap @@ -14,7 +14,6 @@ PutInlinePolicyToPermissionSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_PutPermissionsBoundaryToPermissionSet.go.snap b/service/ssoadmin/snapshot/api_op_PutPermissionsBoundaryToPermissionSet.go.snap index 9f5e0f5f357..bbca42756d5 100644 --- a/service/ssoadmin/snapshot/api_op_PutPermissionsBoundaryToPermissionSet.go.snap +++ b/service/ssoadmin/snapshot/api_op_PutPermissionsBoundaryToPermissionSet.go.snap @@ -14,7 +14,6 @@ PutPermissionsBoundaryToPermissionSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_TagResource.go.snap b/service/ssoadmin/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/ssoadmin/snapshot/api_op_TagResource.go.snap +++ b/service/ssoadmin/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_UntagResource.go.snap b/service/ssoadmin/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/ssoadmin/snapshot/api_op_UntagResource.go.snap +++ b/service/ssoadmin/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_UpdateApplication.go.snap b/service/ssoadmin/snapshot/api_op_UpdateApplication.go.snap index 5ec4c02edff..d4e2fa4991a 100644 --- a/service/ssoadmin/snapshot/api_op_UpdateApplication.go.snap +++ b/service/ssoadmin/snapshot/api_op_UpdateApplication.go.snap @@ -14,7 +14,6 @@ UpdateApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_UpdateInstance.go.snap b/service/ssoadmin/snapshot/api_op_UpdateInstance.go.snap index b383487fe65..ec44284e49a 100644 --- a/service/ssoadmin/snapshot/api_op_UpdateInstance.go.snap +++ b/service/ssoadmin/snapshot/api_op_UpdateInstance.go.snap @@ -14,7 +14,6 @@ UpdateInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_UpdateInstanceAccessControlAttributeConfiguration.go.snap b/service/ssoadmin/snapshot/api_op_UpdateInstanceAccessControlAttributeConfiguration.go.snap index 2859d6b6770..427dfe87ce7 100644 --- a/service/ssoadmin/snapshot/api_op_UpdateInstanceAccessControlAttributeConfiguration.go.snap +++ b/service/ssoadmin/snapshot/api_op_UpdateInstanceAccessControlAttributeConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateInstanceAccessControlAttributeConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_UpdatePermissionSet.go.snap b/service/ssoadmin/snapshot/api_op_UpdatePermissionSet.go.snap index c8a3cd65ff5..3187cb9d217 100644 --- a/service/ssoadmin/snapshot/api_op_UpdatePermissionSet.go.snap +++ b/service/ssoadmin/snapshot/api_op_UpdatePermissionSet.go.snap @@ -14,7 +14,6 @@ UpdatePermissionSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssoadmin/snapshot/api_op_UpdateTrustedTokenIssuer.go.snap b/service/ssoadmin/snapshot/api_op_UpdateTrustedTokenIssuer.go.snap index c36b990176e..3fe2c2bbcf9 100644 --- a/service/ssoadmin/snapshot/api_op_UpdateTrustedTokenIssuer.go.snap +++ b/service/ssoadmin/snapshot/api_op_UpdateTrustedTokenIssuer.go.snap @@ -14,7 +14,6 @@ UpdateTrustedTokenIssuer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssooidc/api_client.go b/service/ssooidc/api_client.go index 57440b1fa83..9b7f4acc841 100644 --- a/service/ssooidc/api_client.go +++ b/service/ssooidc/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/ssooidc/api_op_CreateToken.go b/service/ssooidc/api_op_CreateToken.go index 493878338ef..2ab35244793 100644 --- a/service/ssooidc/api_op_CreateToken.go +++ b/service/ssooidc/api_op_CreateToken.go @@ -194,9 +194,6 @@ func (c *Client) addOperationCreateTokenMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTokenValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssooidc/api_op_CreateTokenWithIAM.go b/service/ssooidc/api_op_CreateTokenWithIAM.go index 2a3ce35b3ce..e5253ce884f 100644 --- a/service/ssooidc/api_op_CreateTokenWithIAM.go +++ b/service/ssooidc/api_op_CreateTokenWithIAM.go @@ -226,9 +226,6 @@ func (c *Client) addOperationCreateTokenWithIAMMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTokenWithIAMValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssooidc/api_op_RegisterClient.go b/service/ssooidc/api_op_RegisterClient.go index 1e2d3828f59..2022270db2b 100644 --- a/service/ssooidc/api_op_RegisterClient.go +++ b/service/ssooidc/api_op_RegisterClient.go @@ -164,9 +164,6 @@ func (c *Client) addOperationRegisterClientMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterClientValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssooidc/api_op_StartDeviceAuthorization.go b/service/ssooidc/api_op_StartDeviceAuthorization.go index de0108f1f05..203ca5e67b8 100644 --- a/service/ssooidc/api_op_StartDeviceAuthorization.go +++ b/service/ssooidc/api_op_StartDeviceAuthorization.go @@ -146,9 +146,6 @@ func (c *Client) addOperationStartDeviceAuthorizationMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartDeviceAuthorizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/ssooidc/snapshot/api_op_CreateToken.go.snap b/service/ssooidc/snapshot/api_op_CreateToken.go.snap index 77178d2bcad..812abad7e0a 100644 --- a/service/ssooidc/snapshot/api_op_CreateToken.go.snap +++ b/service/ssooidc/snapshot/api_op_CreateToken.go.snap @@ -14,7 +14,6 @@ CreateToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssooidc/snapshot/api_op_CreateTokenWithIAM.go.snap b/service/ssooidc/snapshot/api_op_CreateTokenWithIAM.go.snap index dbdd6b38a6f..3412cb6ab89 100644 --- a/service/ssooidc/snapshot/api_op_CreateTokenWithIAM.go.snap +++ b/service/ssooidc/snapshot/api_op_CreateTokenWithIAM.go.snap @@ -14,7 +14,6 @@ CreateTokenWithIAM Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssooidc/snapshot/api_op_RegisterClient.go.snap b/service/ssooidc/snapshot/api_op_RegisterClient.go.snap index 714961770cf..e8445fc1260 100644 --- a/service/ssooidc/snapshot/api_op_RegisterClient.go.snap +++ b/service/ssooidc/snapshot/api_op_RegisterClient.go.snap @@ -14,7 +14,6 @@ RegisterClient Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/ssooidc/snapshot/api_op_StartDeviceAuthorization.go.snap b/service/ssooidc/snapshot/api_op_StartDeviceAuthorization.go.snap index 60682b6f0ed..bc36b86c03a 100644 --- a/service/ssooidc/snapshot/api_op_StartDeviceAuthorization.go.snap +++ b/service/ssooidc/snapshot/api_op_StartDeviceAuthorization.go.snap @@ -14,7 +14,6 @@ StartDeviceAuthorization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/api_client.go b/service/storagegateway/api_client.go index 3953636cdc5..190440b2bf3 100644 --- a/service/storagegateway/api_client.go +++ b/service/storagegateway/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/storagegateway/api_op_ActivateGateway.go b/service/storagegateway/api_op_ActivateGateway.go index 03976c8a4c8..30862a8c3b9 100644 --- a/service/storagegateway/api_op_ActivateGateway.go +++ b/service/storagegateway/api_op_ActivateGateway.go @@ -216,9 +216,6 @@ func (c *Client) addOperationActivateGatewayMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpActivateGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_AddCache.go b/service/storagegateway/api_op_AddCache.go index 18c9e456781..ef5ec8bf5d7 100644 --- a/service/storagegateway/api_op_AddCache.go +++ b/service/storagegateway/api_op_AddCache.go @@ -127,9 +127,6 @@ func (c *Client) addOperationAddCacheMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddCacheValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_AddTagsToResource.go b/service/storagegateway/api_op_AddTagsToResource.go index ab762f3bcd6..013df999049 100644 --- a/service/storagegateway/api_op_AddTagsToResource.go +++ b/service/storagegateway/api_op_AddTagsToResource.go @@ -142,9 +142,6 @@ func (c *Client) addOperationAddTagsToResourceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddTagsToResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_AddUploadBuffer.go b/service/storagegateway/api_op_AddUploadBuffer.go index b7b61af400d..4b47e0e72e1 100644 --- a/service/storagegateway/api_op_AddUploadBuffer.go +++ b/service/storagegateway/api_op_AddUploadBuffer.go @@ -126,9 +126,6 @@ func (c *Client) addOperationAddUploadBufferMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddUploadBufferValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_AddWorkingStorage.go b/service/storagegateway/api_op_AddWorkingStorage.go index e6c1c7dcfc0..9ce789016f5 100644 --- a/service/storagegateway/api_op_AddWorkingStorage.go +++ b/service/storagegateway/api_op_AddWorkingStorage.go @@ -134,9 +134,6 @@ func (c *Client) addOperationAddWorkingStorageMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddWorkingStorageValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_AssignTapePool.go b/service/storagegateway/api_op_AssignTapePool.go index 74f0920be53..807be4b076d 100644 --- a/service/storagegateway/api_op_AssignTapePool.go +++ b/service/storagegateway/api_op_AssignTapePool.go @@ -136,9 +136,6 @@ func (c *Client) addOperationAssignTapePoolMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssignTapePoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_AssociateFileSystem.go b/service/storagegateway/api_op_AssociateFileSystem.go index d93efe4ed34..113dfb75685 100644 --- a/service/storagegateway/api_op_AssociateFileSystem.go +++ b/service/storagegateway/api_op_AssociateFileSystem.go @@ -157,9 +157,6 @@ func (c *Client) addOperationAssociateFileSystemMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateFileSystemValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_AttachVolume.go b/service/storagegateway/api_op_AttachVolume.go index 258b2418f64..705e271352c 100644 --- a/service/storagegateway/api_op_AttachVolume.go +++ b/service/storagegateway/api_op_AttachVolume.go @@ -151,9 +151,6 @@ func (c *Client) addOperationAttachVolumeMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAttachVolumeValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_CancelArchival.go b/service/storagegateway/api_op_CancelArchival.go index 55ec78400c2..0e914389bc9 100644 --- a/service/storagegateway/api_op_CancelArchival.go +++ b/service/storagegateway/api_op_CancelArchival.go @@ -123,9 +123,6 @@ func (c *Client) addOperationCancelArchivalMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelArchivalValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_CancelCacheReport.go b/service/storagegateway/api_op_CancelCacheReport.go index 09c5f70a874..ffbbfe24960 100644 --- a/service/storagegateway/api_op_CancelCacheReport.go +++ b/service/storagegateway/api_op_CancelCacheReport.go @@ -115,9 +115,6 @@ func (c *Client) addOperationCancelCacheReportMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelCacheReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_CancelRetrieval.go b/service/storagegateway/api_op_CancelRetrieval.go index dcfb90ae34a..80d4c1e8d93 100644 --- a/service/storagegateway/api_op_CancelRetrieval.go +++ b/service/storagegateway/api_op_CancelRetrieval.go @@ -123,9 +123,6 @@ func (c *Client) addOperationCancelRetrievalMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelRetrievalValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_CreateCachediSCSIVolume.go b/service/storagegateway/api_op_CreateCachediSCSIVolume.go index 327cdf844ae..b316dae5b86 100644 --- a/service/storagegateway/api_op_CreateCachediSCSIVolume.go +++ b/service/storagegateway/api_op_CreateCachediSCSIVolume.go @@ -199,9 +199,6 @@ func (c *Client) addOperationCreateCachediSCSIVolumeMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCachediSCSIVolumeValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_CreateNFSFileShare.go b/service/storagegateway/api_op_CreateNFSFileShare.go index 29ecfcfa81b..bf48304c355 100644 --- a/service/storagegateway/api_op_CreateNFSFileShare.go +++ b/service/storagegateway/api_op_CreateNFSFileShare.go @@ -322,9 +322,6 @@ func (c *Client) addOperationCreateNFSFileShareMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateNFSFileShareValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_CreateSMBFileShare.go b/service/storagegateway/api_op_CreateSMBFileShare.go index c14bb231fe0..e52382124fd 100644 --- a/service/storagegateway/api_op_CreateSMBFileShare.go +++ b/service/storagegateway/api_op_CreateSMBFileShare.go @@ -358,9 +358,6 @@ func (c *Client) addOperationCreateSMBFileShareMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSMBFileShareValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_CreateSnapshot.go b/service/storagegateway/api_op_CreateSnapshot.go index 07854a1cde1..4a95227a1ef 100644 --- a/service/storagegateway/api_op_CreateSnapshot.go +++ b/service/storagegateway/api_op_CreateSnapshot.go @@ -166,9 +166,6 @@ func (c *Client) addOperationCreateSnapshotMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSnapshotValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_CreateSnapshotFromVolumeRecoveryPoint.go b/service/storagegateway/api_op_CreateSnapshotFromVolumeRecoveryPoint.go index 78b54add780..cf296b9b441 100644 --- a/service/storagegateway/api_op_CreateSnapshotFromVolumeRecoveryPoint.go +++ b/service/storagegateway/api_op_CreateSnapshotFromVolumeRecoveryPoint.go @@ -155,9 +155,6 @@ func (c *Client) addOperationCreateSnapshotFromVolumeRecoveryPointMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSnapshotFromVolumeRecoveryPointValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_CreateStorediSCSIVolume.go b/service/storagegateway/api_op_CreateStorediSCSIVolume.go index c593fbbb8f5..9a1639891c5 100644 --- a/service/storagegateway/api_op_CreateStorediSCSIVolume.go +++ b/service/storagegateway/api_op_CreateStorediSCSIVolume.go @@ -209,9 +209,6 @@ func (c *Client) addOperationCreateStorediSCSIVolumeMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateStorediSCSIVolumeValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_CreateTapePool.go b/service/storagegateway/api_op_CreateTapePool.go index abe354e0a5f..ba08401e74e 100644 --- a/service/storagegateway/api_op_CreateTapePool.go +++ b/service/storagegateway/api_op_CreateTapePool.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCreateTapePoolMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTapePoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_CreateTapeWithBarcode.go b/service/storagegateway/api_op_CreateTapeWithBarcode.go index 42b09df597e..a7050d545de 100644 --- a/service/storagegateway/api_op_CreateTapeWithBarcode.go +++ b/service/storagegateway/api_op_CreateTapeWithBarcode.go @@ -169,9 +169,6 @@ func (c *Client) addOperationCreateTapeWithBarcodeMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTapeWithBarcodeValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_CreateTapes.go b/service/storagegateway/api_op_CreateTapes.go index bdde0952712..a0c59803705 100644 --- a/service/storagegateway/api_op_CreateTapes.go +++ b/service/storagegateway/api_op_CreateTapes.go @@ -181,9 +181,6 @@ func (c *Client) addOperationCreateTapesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTapesValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DeleteAutomaticTapeCreationPolicy.go b/service/storagegateway/api_op_DeleteAutomaticTapeCreationPolicy.go index d70bab6f71c..cae41b2a33c 100644 --- a/service/storagegateway/api_op_DeleteAutomaticTapeCreationPolicy.go +++ b/service/storagegateway/api_op_DeleteAutomaticTapeCreationPolicy.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteAutomaticTapeCreationPolicyMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAutomaticTapeCreationPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DeleteBandwidthRateLimit.go b/service/storagegateway/api_op_DeleteBandwidthRateLimit.go index 42121e4627c..0e2558949b4 100644 --- a/service/storagegateway/api_op_DeleteBandwidthRateLimit.go +++ b/service/storagegateway/api_op_DeleteBandwidthRateLimit.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDeleteBandwidthRateLimitMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBandwidthRateLimitValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DeleteCacheReport.go b/service/storagegateway/api_op_DeleteCacheReport.go index 0c7ba9e26be..e0382c7e02b 100644 --- a/service/storagegateway/api_op_DeleteCacheReport.go +++ b/service/storagegateway/api_op_DeleteCacheReport.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteCacheReportMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCacheReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DeleteChapCredentials.go b/service/storagegateway/api_op_DeleteChapCredentials.go index b8eb4c68f8a..a1bc16f72bd 100644 --- a/service/storagegateway/api_op_DeleteChapCredentials.go +++ b/service/storagegateway/api_op_DeleteChapCredentials.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteChapCredentialsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteChapCredentialsValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DeleteFileShare.go b/service/storagegateway/api_op_DeleteFileShare.go index b0630c6718f..314f3c72949 100644 --- a/service/storagegateway/api_op_DeleteFileShare.go +++ b/service/storagegateway/api_op_DeleteFileShare.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteFileShareMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFileShareValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DeleteGateway.go b/service/storagegateway/api_op_DeleteGateway.go index e39419ad327..58722c969cb 100644 --- a/service/storagegateway/api_op_DeleteGateway.go +++ b/service/storagegateway/api_op_DeleteGateway.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDeleteGatewayMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DeleteSnapshotSchedule.go b/service/storagegateway/api_op_DeleteSnapshotSchedule.go index ac4d690a022..f9aa5582808 100644 --- a/service/storagegateway/api_op_DeleteSnapshotSchedule.go +++ b/service/storagegateway/api_op_DeleteSnapshotSchedule.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDeleteSnapshotScheduleMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSnapshotScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DeleteTape.go b/service/storagegateway/api_op_DeleteTape.go index 522625e419d..06f309e376f 100644 --- a/service/storagegateway/api_op_DeleteTape.go +++ b/service/storagegateway/api_op_DeleteTape.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDeleteTapeMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTapeValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DeleteTapeArchive.go b/service/storagegateway/api_op_DeleteTapeArchive.go index c7eb71bd6f0..05347f4488f 100644 --- a/service/storagegateway/api_op_DeleteTapeArchive.go +++ b/service/storagegateway/api_op_DeleteTapeArchive.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteTapeArchiveMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTapeArchiveValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DeleteTapePool.go b/service/storagegateway/api_op_DeleteTapePool.go index ea9bb8a0f59..df46840527b 100644 --- a/service/storagegateway/api_op_DeleteTapePool.go +++ b/service/storagegateway/api_op_DeleteTapePool.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteTapePoolMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTapePoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DeleteVolume.go b/service/storagegateway/api_op_DeleteVolume.go index c773ff855f2..02121cb0103 100644 --- a/service/storagegateway/api_op_DeleteVolume.go +++ b/service/storagegateway/api_op_DeleteVolume.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDeleteVolumeMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVolumeValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeAvailabilityMonitorTest.go b/service/storagegateway/api_op_DescribeAvailabilityMonitorTest.go index 83eec39c012..38689bd1d66 100644 --- a/service/storagegateway/api_op_DescribeAvailabilityMonitorTest.go +++ b/service/storagegateway/api_op_DescribeAvailabilityMonitorTest.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribeAvailabilityMonitorTestMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAvailabilityMonitorTestValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeBandwidthRateLimit.go b/service/storagegateway/api_op_DescribeBandwidthRateLimit.go index 95f50a981d9..4533d555005 100644 --- a/service/storagegateway/api_op_DescribeBandwidthRateLimit.go +++ b/service/storagegateway/api_op_DescribeBandwidthRateLimit.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeBandwidthRateLimitMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBandwidthRateLimitValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeBandwidthRateLimitSchedule.go b/service/storagegateway/api_op_DescribeBandwidthRateLimitSchedule.go index c20f748afb5..edeae64a4f5 100644 --- a/service/storagegateway/api_op_DescribeBandwidthRateLimitSchedule.go +++ b/service/storagegateway/api_op_DescribeBandwidthRateLimitSchedule.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDescribeBandwidthRateLimitScheduleMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBandwidthRateLimitScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeCache.go b/service/storagegateway/api_op_DescribeCache.go index 7e8686ff02e..576d66e1bfd 100644 --- a/service/storagegateway/api_op_DescribeCache.go +++ b/service/storagegateway/api_op_DescribeCache.go @@ -143,9 +143,6 @@ func (c *Client) addOperationDescribeCacheMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCacheValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeCacheReport.go b/service/storagegateway/api_op_DescribeCacheReport.go index a1e2cbf23b4..022d00dd833 100644 --- a/service/storagegateway/api_op_DescribeCacheReport.go +++ b/service/storagegateway/api_op_DescribeCacheReport.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribeCacheReportMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCacheReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeCachediSCSIVolumes.go b/service/storagegateway/api_op_DescribeCachediSCSIVolumes.go index 14b42cae050..5f4594a614d 100644 --- a/service/storagegateway/api_op_DescribeCachediSCSIVolumes.go +++ b/service/storagegateway/api_op_DescribeCachediSCSIVolumes.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDescribeCachediSCSIVolumesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCachediSCSIVolumesValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeChapCredentials.go b/service/storagegateway/api_op_DescribeChapCredentials.go index a32cc7e30d5..df31ac5a3c8 100644 --- a/service/storagegateway/api_op_DescribeChapCredentials.go +++ b/service/storagegateway/api_op_DescribeChapCredentials.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDescribeChapCredentialsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeChapCredentialsValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeFileSystemAssociations.go b/service/storagegateway/api_op_DescribeFileSystemAssociations.go index f5cdf2394ca..0ac75534efd 100644 --- a/service/storagegateway/api_op_DescribeFileSystemAssociations.go +++ b/service/storagegateway/api_op_DescribeFileSystemAssociations.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDescribeFileSystemAssociationsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFileSystemAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeGatewayInformation.go b/service/storagegateway/api_op_DescribeGatewayInformation.go index 6648d1610d9..dc6fc641064 100644 --- a/service/storagegateway/api_op_DescribeGatewayInformation.go +++ b/service/storagegateway/api_op_DescribeGatewayInformation.go @@ -209,9 +209,6 @@ func (c *Client) addOperationDescribeGatewayInformationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeGatewayInformationValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeMaintenanceStartTime.go b/service/storagegateway/api_op_DescribeMaintenanceStartTime.go index 4f638f5d0cd..d0ec5fc7806 100644 --- a/service/storagegateway/api_op_DescribeMaintenanceStartTime.go +++ b/service/storagegateway/api_op_DescribeMaintenanceStartTime.go @@ -166,9 +166,6 @@ func (c *Client) addOperationDescribeMaintenanceStartTimeMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeMaintenanceStartTimeValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeNFSFileShares.go b/service/storagegateway/api_op_DescribeNFSFileShares.go index 4a43f43808a..37412a9f946 100644 --- a/service/storagegateway/api_op_DescribeNFSFileShares.go +++ b/service/storagegateway/api_op_DescribeNFSFileShares.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDescribeNFSFileSharesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeNFSFileSharesValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeSMBFileShares.go b/service/storagegateway/api_op_DescribeSMBFileShares.go index 5fbd6459d6e..f3e8f7121c9 100644 --- a/service/storagegateway/api_op_DescribeSMBFileShares.go +++ b/service/storagegateway/api_op_DescribeSMBFileShares.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDescribeSMBFileSharesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSMBFileSharesValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeSMBSettings.go b/service/storagegateway/api_op_DescribeSMBSettings.go index a431e6de5a6..9f67494323b 100644 --- a/service/storagegateway/api_op_DescribeSMBSettings.go +++ b/service/storagegateway/api_op_DescribeSMBSettings.go @@ -183,9 +183,6 @@ func (c *Client) addOperationDescribeSMBSettingsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSMBSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeSnapshotSchedule.go b/service/storagegateway/api_op_DescribeSnapshotSchedule.go index f0fb40a992e..a7439b1cdeb 100644 --- a/service/storagegateway/api_op_DescribeSnapshotSchedule.go +++ b/service/storagegateway/api_op_DescribeSnapshotSchedule.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDescribeSnapshotScheduleMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSnapshotScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeStorediSCSIVolumes.go b/service/storagegateway/api_op_DescribeStorediSCSIVolumes.go index 470aca7a069..7c3dcefb058 100644 --- a/service/storagegateway/api_op_DescribeStorediSCSIVolumes.go +++ b/service/storagegateway/api_op_DescribeStorediSCSIVolumes.go @@ -162,9 +162,6 @@ func (c *Client) addOperationDescribeStorediSCSIVolumesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeStorediSCSIVolumesValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeTapeArchives.go b/service/storagegateway/api_op_DescribeTapeArchives.go index 890311afbd0..009633a62d1 100644 --- a/service/storagegateway/api_op_DescribeTapeArchives.go +++ b/service/storagegateway/api_op_DescribeTapeArchives.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDescribeTapeArchivesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTapeArchives(options.Region), middleware.Before); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeTapeRecoveryPoints.go b/service/storagegateway/api_op_DescribeTapeRecoveryPoints.go index 86458a1d964..3f660f237ff 100644 --- a/service/storagegateway/api_op_DescribeTapeRecoveryPoints.go +++ b/service/storagegateway/api_op_DescribeTapeRecoveryPoints.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeTapeRecoveryPointsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTapeRecoveryPointsValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeTapes.go b/service/storagegateway/api_op_DescribeTapes.go index ad863d5a390..c6ac092cdbd 100644 --- a/service/storagegateway/api_op_DescribeTapes.go +++ b/service/storagegateway/api_op_DescribeTapes.go @@ -149,9 +149,6 @@ func (c *Client) addOperationDescribeTapesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTapesValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeUploadBuffer.go b/service/storagegateway/api_op_DescribeUploadBuffer.go index e8111f8a7bd..dbcdb130273 100644 --- a/service/storagegateway/api_op_DescribeUploadBuffer.go +++ b/service/storagegateway/api_op_DescribeUploadBuffer.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeUploadBufferMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeUploadBufferValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeVTLDevices.go b/service/storagegateway/api_op_DescribeVTLDevices.go index 566c8c70dd2..5483f1b4b8f 100644 --- a/service/storagegateway/api_op_DescribeVTLDevices.go +++ b/service/storagegateway/api_op_DescribeVTLDevices.go @@ -145,9 +145,6 @@ func (c *Client) addOperationDescribeVTLDevicesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeVTLDevicesValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DescribeWorkingStorage.go b/service/storagegateway/api_op_DescribeWorkingStorage.go index 9bf59ce2a10..714981a948a 100644 --- a/service/storagegateway/api_op_DescribeWorkingStorage.go +++ b/service/storagegateway/api_op_DescribeWorkingStorage.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDescribeWorkingStorageMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeWorkingStorageValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DetachVolume.go b/service/storagegateway/api_op_DetachVolume.go index e73b2551709..8a12e058c79 100644 --- a/service/storagegateway/api_op_DetachVolume.go +++ b/service/storagegateway/api_op_DetachVolume.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDetachVolumeMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetachVolumeValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DisableGateway.go b/service/storagegateway/api_op_DisableGateway.go index fc0dd23e6a6..fb2ca405ac1 100644 --- a/service/storagegateway/api_op_DisableGateway.go +++ b/service/storagegateway/api_op_DisableGateway.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDisableGatewayMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisableGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_DisassociateFileSystem.go b/service/storagegateway/api_op_DisassociateFileSystem.go index c1a129939c1..0143c3d2e65 100644 --- a/service/storagegateway/api_op_DisassociateFileSystem.go +++ b/service/storagegateway/api_op_DisassociateFileSystem.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDisassociateFileSystemMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateFileSystemValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_JoinDomain.go b/service/storagegateway/api_op_JoinDomain.go index ca34eadb924..4aa7c8bff5a 100644 --- a/service/storagegateway/api_op_JoinDomain.go +++ b/service/storagegateway/api_op_JoinDomain.go @@ -183,9 +183,6 @@ func (c *Client) addOperationJoinDomainMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpJoinDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_ListAutomaticTapeCreationPolicies.go b/service/storagegateway/api_op_ListAutomaticTapeCreationPolicies.go index 2dde474a4f0..0609b480eb2 100644 --- a/service/storagegateway/api_op_ListAutomaticTapeCreationPolicies.go +++ b/service/storagegateway/api_op_ListAutomaticTapeCreationPolicies.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListAutomaticTapeCreationPoliciesMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAutomaticTapeCreationPolicies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/storagegateway/api_op_ListCacheReports.go b/service/storagegateway/api_op_ListCacheReports.go index ae21e45a546..be483431163 100644 --- a/service/storagegateway/api_op_ListCacheReports.go +++ b/service/storagegateway/api_op_ListCacheReports.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListCacheReportsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCacheReports(options.Region), middleware.Before); err != nil { return err } diff --git a/service/storagegateway/api_op_ListFileShares.go b/service/storagegateway/api_op_ListFileShares.go index 2a7493bbe8e..74f501dd9c6 100644 --- a/service/storagegateway/api_op_ListFileShares.go +++ b/service/storagegateway/api_op_ListFileShares.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListFileSharesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFileShares(options.Region), middleware.Before); err != nil { return err } diff --git a/service/storagegateway/api_op_ListFileSystemAssociations.go b/service/storagegateway/api_op_ListFileSystemAssociations.go index 4dea0bb185f..ffcf31292fc 100644 --- a/service/storagegateway/api_op_ListFileSystemAssociations.go +++ b/service/storagegateway/api_op_ListFileSystemAssociations.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListFileSystemAssociationsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFileSystemAssociations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/storagegateway/api_op_ListGateways.go b/service/storagegateway/api_op_ListGateways.go index 25b7a092f4d..3665ddb5e88 100644 --- a/service/storagegateway/api_op_ListGateways.go +++ b/service/storagegateway/api_op_ListGateways.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListGatewaysMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGateways(options.Region), middleware.Before); err != nil { return err } diff --git a/service/storagegateway/api_op_ListLocalDisks.go b/service/storagegateway/api_op_ListLocalDisks.go index 23127233233..2818e716e98 100644 --- a/service/storagegateway/api_op_ListLocalDisks.go +++ b/service/storagegateway/api_op_ListLocalDisks.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListLocalDisksMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListLocalDisksValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_ListTagsForResource.go b/service/storagegateway/api_op_ListTagsForResource.go index 3ee7463aba5..c9339a04676 100644 --- a/service/storagegateway/api_op_ListTagsForResource.go +++ b/service/storagegateway/api_op_ListTagsForResource.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_ListTapePools.go b/service/storagegateway/api_op_ListTapePools.go index b09dca21cf1..7680dd76e39 100644 --- a/service/storagegateway/api_op_ListTapePools.go +++ b/service/storagegateway/api_op_ListTapePools.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListTapePoolsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTapePools(options.Region), middleware.Before); err != nil { return err } diff --git a/service/storagegateway/api_op_ListTapes.go b/service/storagegateway/api_op_ListTapes.go index e26200cdd06..905cfdfcb1e 100644 --- a/service/storagegateway/api_op_ListTapes.go +++ b/service/storagegateway/api_op_ListTapes.go @@ -147,9 +147,6 @@ func (c *Client) addOperationListTapesMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTapes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/storagegateway/api_op_ListVolumeInitiators.go b/service/storagegateway/api_op_ListVolumeInitiators.go index d2187b91a96..c59f4af9bb7 100644 --- a/service/storagegateway/api_op_ListVolumeInitiators.go +++ b/service/storagegateway/api_op_ListVolumeInitiators.go @@ -117,9 +117,6 @@ func (c *Client) addOperationListVolumeInitiatorsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListVolumeInitiatorsValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_ListVolumeRecoveryPoints.go b/service/storagegateway/api_op_ListVolumeRecoveryPoints.go index 511e7a3c602..dcc6c17650f 100644 --- a/service/storagegateway/api_op_ListVolumeRecoveryPoints.go +++ b/service/storagegateway/api_op_ListVolumeRecoveryPoints.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListVolumeRecoveryPointsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListVolumeRecoveryPointsValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_ListVolumes.go b/service/storagegateway/api_op_ListVolumes.go index c023bd81748..3b2df6d3324 100644 --- a/service/storagegateway/api_op_ListVolumes.go +++ b/service/storagegateway/api_op_ListVolumes.go @@ -150,9 +150,6 @@ func (c *Client) addOperationListVolumesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVolumes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/storagegateway/api_op_NotifyWhenUploaded.go b/service/storagegateway/api_op_NotifyWhenUploaded.go index 367c8bf4ea3..995de35af33 100644 --- a/service/storagegateway/api_op_NotifyWhenUploaded.go +++ b/service/storagegateway/api_op_NotifyWhenUploaded.go @@ -128,9 +128,6 @@ func (c *Client) addOperationNotifyWhenUploadedMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpNotifyWhenUploadedValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_RefreshCache.go b/service/storagegateway/api_op_RefreshCache.go index 1d9d8d8a771..50b5af15aa8 100644 --- a/service/storagegateway/api_op_RefreshCache.go +++ b/service/storagegateway/api_op_RefreshCache.go @@ -171,9 +171,6 @@ func (c *Client) addOperationRefreshCacheMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRefreshCacheValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_RemoveTagsFromResource.go b/service/storagegateway/api_op_RemoveTagsFromResource.go index d82ebe58229..3808021d455 100644 --- a/service/storagegateway/api_op_RemoveTagsFromResource.go +++ b/service/storagegateway/api_op_RemoveTagsFromResource.go @@ -120,9 +120,6 @@ func (c *Client) addOperationRemoveTagsFromResourceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveTagsFromResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_ResetCache.go b/service/storagegateway/api_op_ResetCache.go index 54b09ec3152..282fea80651 100644 --- a/service/storagegateway/api_op_ResetCache.go +++ b/service/storagegateway/api_op_ResetCache.go @@ -124,9 +124,6 @@ func (c *Client) addOperationResetCacheMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResetCacheValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_RetrieveTapeArchive.go b/service/storagegateway/api_op_RetrieveTapeArchive.go index c6f6fbae0cc..97d678a7c33 100644 --- a/service/storagegateway/api_op_RetrieveTapeArchive.go +++ b/service/storagegateway/api_op_RetrieveTapeArchive.go @@ -133,9 +133,6 @@ func (c *Client) addOperationRetrieveTapeArchiveMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRetrieveTapeArchiveValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_RetrieveTapeRecoveryPoint.go b/service/storagegateway/api_op_RetrieveTapeRecoveryPoint.go index da6c7282e71..4a2772c3754 100644 --- a/service/storagegateway/api_op_RetrieveTapeRecoveryPoint.go +++ b/service/storagegateway/api_op_RetrieveTapeRecoveryPoint.go @@ -130,9 +130,6 @@ func (c *Client) addOperationRetrieveTapeRecoveryPointMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRetrieveTapeRecoveryPointValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_SetLocalConsolePassword.go b/service/storagegateway/api_op_SetLocalConsolePassword.go index 9b8c44f0720..386b5662cc8 100644 --- a/service/storagegateway/api_op_SetLocalConsolePassword.go +++ b/service/storagegateway/api_op_SetLocalConsolePassword.go @@ -122,9 +122,6 @@ func (c *Client) addOperationSetLocalConsolePasswordMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetLocalConsolePasswordValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_SetSMBGuestPassword.go b/service/storagegateway/api_op_SetSMBGuestPassword.go index 37798eb12d8..3e19193251c 100644 --- a/service/storagegateway/api_op_SetSMBGuestPassword.go +++ b/service/storagegateway/api_op_SetSMBGuestPassword.go @@ -121,9 +121,6 @@ func (c *Client) addOperationSetSMBGuestPasswordMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSetSMBGuestPasswordValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_ShutdownGateway.go b/service/storagegateway/api_op_ShutdownGateway.go index 23bb65127b1..d4d94852746 100644 --- a/service/storagegateway/api_op_ShutdownGateway.go +++ b/service/storagegateway/api_op_ShutdownGateway.go @@ -138,9 +138,6 @@ func (c *Client) addOperationShutdownGatewayMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpShutdownGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_StartAvailabilityMonitorTest.go b/service/storagegateway/api_op_StartAvailabilityMonitorTest.go index fc37c220468..9618b2c5891 100644 --- a/service/storagegateway/api_op_StartAvailabilityMonitorTest.go +++ b/service/storagegateway/api_op_StartAvailabilityMonitorTest.go @@ -119,9 +119,6 @@ func (c *Client) addOperationStartAvailabilityMonitorTestMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartAvailabilityMonitorTestValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_StartCacheReport.go b/service/storagegateway/api_op_StartCacheReport.go index 70ddec739b4..4d34f631214 100644 --- a/service/storagegateway/api_op_StartCacheReport.go +++ b/service/storagegateway/api_op_StartCacheReport.go @@ -187,9 +187,6 @@ func (c *Client) addOperationStartCacheReportMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartCacheReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_StartGateway.go b/service/storagegateway/api_op_StartGateway.go index 12228f7bb72..09a6987d689 100644 --- a/service/storagegateway/api_op_StartGateway.go +++ b/service/storagegateway/api_op_StartGateway.go @@ -127,9 +127,6 @@ func (c *Client) addOperationStartGatewayMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_UpdateAutomaticTapeCreationPolicy.go b/service/storagegateway/api_op_UpdateAutomaticTapeCreationPolicy.go index b7c96ba4e46..90b63d0494f 100644 --- a/service/storagegateway/api_op_UpdateAutomaticTapeCreationPolicy.go +++ b/service/storagegateway/api_op_UpdateAutomaticTapeCreationPolicy.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateAutomaticTapeCreationPolicyMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAutomaticTapeCreationPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_UpdateBandwidthRateLimit.go b/service/storagegateway/api_op_UpdateBandwidthRateLimit.go index 7eb53e48221..57efcd60614 100644 --- a/service/storagegateway/api_op_UpdateBandwidthRateLimit.go +++ b/service/storagegateway/api_op_UpdateBandwidthRateLimit.go @@ -137,9 +137,6 @@ func (c *Client) addOperationUpdateBandwidthRateLimitMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBandwidthRateLimitValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_UpdateBandwidthRateLimitSchedule.go b/service/storagegateway/api_op_UpdateBandwidthRateLimitSchedule.go index 3554d7da872..65d14b4c7b1 100644 --- a/service/storagegateway/api_op_UpdateBandwidthRateLimitSchedule.go +++ b/service/storagegateway/api_op_UpdateBandwidthRateLimitSchedule.go @@ -126,9 +126,6 @@ func (c *Client) addOperationUpdateBandwidthRateLimitScheduleMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateBandwidthRateLimitScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_UpdateChapCredentials.go b/service/storagegateway/api_op_UpdateChapCredentials.go index d5e30325d01..1553fdb04cc 100644 --- a/service/storagegateway/api_op_UpdateChapCredentials.go +++ b/service/storagegateway/api_op_UpdateChapCredentials.go @@ -154,9 +154,6 @@ func (c *Client) addOperationUpdateChapCredentialsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateChapCredentialsValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_UpdateFileSystemAssociation.go b/service/storagegateway/api_op_UpdateFileSystemAssociation.go index 019ac5263c4..b11b62cb475 100644 --- a/service/storagegateway/api_op_UpdateFileSystemAssociation.go +++ b/service/storagegateway/api_op_UpdateFileSystemAssociation.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateFileSystemAssociationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFileSystemAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_UpdateGatewayInformation.go b/service/storagegateway/api_op_UpdateGatewayInformation.go index 4c9dd84afe4..434db8c70ad 100644 --- a/service/storagegateway/api_op_UpdateGatewayInformation.go +++ b/service/storagegateway/api_op_UpdateGatewayInformation.go @@ -146,9 +146,6 @@ func (c *Client) addOperationUpdateGatewayInformationMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateGatewayInformationValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_UpdateGatewaySoftwareNow.go b/service/storagegateway/api_op_UpdateGatewaySoftwareNow.go index 6d4ec8bcc4c..bd28bca12a1 100644 --- a/service/storagegateway/api_op_UpdateGatewaySoftwareNow.go +++ b/service/storagegateway/api_op_UpdateGatewaySoftwareNow.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateGatewaySoftwareNowMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateGatewaySoftwareNowValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_UpdateMaintenanceStartTime.go b/service/storagegateway/api_op_UpdateMaintenanceStartTime.go index 11048194375..253004d9950 100644 --- a/service/storagegateway/api_op_UpdateMaintenanceStartTime.go +++ b/service/storagegateway/api_op_UpdateMaintenanceStartTime.go @@ -172,9 +172,6 @@ func (c *Client) addOperationUpdateMaintenanceStartTimeMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMaintenanceStartTimeValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_UpdateNFSFileShare.go b/service/storagegateway/api_op_UpdateNFSFileShare.go index 74f66053453..7056d14f4e2 100644 --- a/service/storagegateway/api_op_UpdateNFSFileShare.go +++ b/service/storagegateway/api_op_UpdateNFSFileShare.go @@ -259,9 +259,6 @@ func (c *Client) addOperationUpdateNFSFileShareMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateNFSFileShareValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_UpdateSMBFileShare.go b/service/storagegateway/api_op_UpdateSMBFileShare.go index 89d55351515..176eb4322fc 100644 --- a/service/storagegateway/api_op_UpdateSMBFileShare.go +++ b/service/storagegateway/api_op_UpdateSMBFileShare.go @@ -286,9 +286,6 @@ func (c *Client) addOperationUpdateSMBFileShareMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSMBFileShareValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_UpdateSMBFileShareVisibility.go b/service/storagegateway/api_op_UpdateSMBFileShareVisibility.go index d3af52aa513..5009458ff30 100644 --- a/service/storagegateway/api_op_UpdateSMBFileShareVisibility.go +++ b/service/storagegateway/api_op_UpdateSMBFileShareVisibility.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateSMBFileShareVisibilityMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSMBFileShareVisibilityValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_UpdateSMBLocalGroups.go b/service/storagegateway/api_op_UpdateSMBLocalGroups.go index 3c241e60d12..fd631aa15f6 100644 --- a/service/storagegateway/api_op_UpdateSMBLocalGroups.go +++ b/service/storagegateway/api_op_UpdateSMBLocalGroups.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateSMBLocalGroupsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSMBLocalGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_UpdateSMBSecurityStrategy.go b/service/storagegateway/api_op_UpdateSMBSecurityStrategy.go index 5783d3ced9a..be1082b2abd 100644 --- a/service/storagegateway/api_op_UpdateSMBSecurityStrategy.go +++ b/service/storagegateway/api_op_UpdateSMBSecurityStrategy.go @@ -147,9 +147,6 @@ func (c *Client) addOperationUpdateSMBSecurityStrategyMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSMBSecurityStrategyValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_UpdateSnapshotSchedule.go b/service/storagegateway/api_op_UpdateSnapshotSchedule.go index 7f7b550e626..d333fb3a8ae 100644 --- a/service/storagegateway/api_op_UpdateSnapshotSchedule.go +++ b/service/storagegateway/api_op_UpdateSnapshotSchedule.go @@ -158,9 +158,6 @@ func (c *Client) addOperationUpdateSnapshotScheduleMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSnapshotScheduleValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/api_op_UpdateVTLDeviceType.go b/service/storagegateway/api_op_UpdateVTLDeviceType.go index 7dce24cc770..7df49428981 100644 --- a/service/storagegateway/api_op_UpdateVTLDeviceType.go +++ b/service/storagegateway/api_op_UpdateVTLDeviceType.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateVTLDeviceTypeMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateVTLDeviceTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/storagegateway/snapshot/api_op_ActivateGateway.go.snap b/service/storagegateway/snapshot/api_op_ActivateGateway.go.snap index 48701176bc1..b9c736ecfa5 100644 --- a/service/storagegateway/snapshot/api_op_ActivateGateway.go.snap +++ b/service/storagegateway/snapshot/api_op_ActivateGateway.go.snap @@ -14,7 +14,6 @@ ActivateGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_AddCache.go.snap b/service/storagegateway/snapshot/api_op_AddCache.go.snap index 557cfc49a24..b75aebfd0aa 100644 --- a/service/storagegateway/snapshot/api_op_AddCache.go.snap +++ b/service/storagegateway/snapshot/api_op_AddCache.go.snap @@ -14,7 +14,6 @@ AddCache Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_AddTagsToResource.go.snap b/service/storagegateway/snapshot/api_op_AddTagsToResource.go.snap index adf3a58c167..23e3b3e3966 100644 --- a/service/storagegateway/snapshot/api_op_AddTagsToResource.go.snap +++ b/service/storagegateway/snapshot/api_op_AddTagsToResource.go.snap @@ -14,7 +14,6 @@ AddTagsToResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_AddUploadBuffer.go.snap b/service/storagegateway/snapshot/api_op_AddUploadBuffer.go.snap index 7b2a944b546..50e341124cb 100644 --- a/service/storagegateway/snapshot/api_op_AddUploadBuffer.go.snap +++ b/service/storagegateway/snapshot/api_op_AddUploadBuffer.go.snap @@ -14,7 +14,6 @@ AddUploadBuffer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_AddWorkingStorage.go.snap b/service/storagegateway/snapshot/api_op_AddWorkingStorage.go.snap index e57091117cb..d6e7f206288 100644 --- a/service/storagegateway/snapshot/api_op_AddWorkingStorage.go.snap +++ b/service/storagegateway/snapshot/api_op_AddWorkingStorage.go.snap @@ -14,7 +14,6 @@ AddWorkingStorage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_AssignTapePool.go.snap b/service/storagegateway/snapshot/api_op_AssignTapePool.go.snap index e1dd06024d4..2bc471fc404 100644 --- a/service/storagegateway/snapshot/api_op_AssignTapePool.go.snap +++ b/service/storagegateway/snapshot/api_op_AssignTapePool.go.snap @@ -14,7 +14,6 @@ AssignTapePool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_AssociateFileSystem.go.snap b/service/storagegateway/snapshot/api_op_AssociateFileSystem.go.snap index 86363e36f39..12e6b2115a9 100644 --- a/service/storagegateway/snapshot/api_op_AssociateFileSystem.go.snap +++ b/service/storagegateway/snapshot/api_op_AssociateFileSystem.go.snap @@ -14,7 +14,6 @@ AssociateFileSystem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_AttachVolume.go.snap b/service/storagegateway/snapshot/api_op_AttachVolume.go.snap index ebfff696a1e..b3b92db6284 100644 --- a/service/storagegateway/snapshot/api_op_AttachVolume.go.snap +++ b/service/storagegateway/snapshot/api_op_AttachVolume.go.snap @@ -14,7 +14,6 @@ AttachVolume Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_CancelArchival.go.snap b/service/storagegateway/snapshot/api_op_CancelArchival.go.snap index f916c50680b..02695ecc69c 100644 --- a/service/storagegateway/snapshot/api_op_CancelArchival.go.snap +++ b/service/storagegateway/snapshot/api_op_CancelArchival.go.snap @@ -14,7 +14,6 @@ CancelArchival Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_CancelCacheReport.go.snap b/service/storagegateway/snapshot/api_op_CancelCacheReport.go.snap index 7d984298f79..0405134de0a 100644 --- a/service/storagegateway/snapshot/api_op_CancelCacheReport.go.snap +++ b/service/storagegateway/snapshot/api_op_CancelCacheReport.go.snap @@ -14,7 +14,6 @@ CancelCacheReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_CancelRetrieval.go.snap b/service/storagegateway/snapshot/api_op_CancelRetrieval.go.snap index 864844ac52b..45af26b208a 100644 --- a/service/storagegateway/snapshot/api_op_CancelRetrieval.go.snap +++ b/service/storagegateway/snapshot/api_op_CancelRetrieval.go.snap @@ -14,7 +14,6 @@ CancelRetrieval Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_CreateCachediSCSIVolume.go.snap b/service/storagegateway/snapshot/api_op_CreateCachediSCSIVolume.go.snap index 93d7cbf0203..aced7f46756 100644 --- a/service/storagegateway/snapshot/api_op_CreateCachediSCSIVolume.go.snap +++ b/service/storagegateway/snapshot/api_op_CreateCachediSCSIVolume.go.snap @@ -14,7 +14,6 @@ CreateCachediSCSIVolume Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_CreateNFSFileShare.go.snap b/service/storagegateway/snapshot/api_op_CreateNFSFileShare.go.snap index 5cfd54a43c9..3e9c7afc5f9 100644 --- a/service/storagegateway/snapshot/api_op_CreateNFSFileShare.go.snap +++ b/service/storagegateway/snapshot/api_op_CreateNFSFileShare.go.snap @@ -14,7 +14,6 @@ CreateNFSFileShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_CreateSMBFileShare.go.snap b/service/storagegateway/snapshot/api_op_CreateSMBFileShare.go.snap index 1276527f357..4b3195445f2 100644 --- a/service/storagegateway/snapshot/api_op_CreateSMBFileShare.go.snap +++ b/service/storagegateway/snapshot/api_op_CreateSMBFileShare.go.snap @@ -14,7 +14,6 @@ CreateSMBFileShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_CreateSnapshot.go.snap b/service/storagegateway/snapshot/api_op_CreateSnapshot.go.snap index c5c9178ac0b..1a0713f514c 100644 --- a/service/storagegateway/snapshot/api_op_CreateSnapshot.go.snap +++ b/service/storagegateway/snapshot/api_op_CreateSnapshot.go.snap @@ -14,7 +14,6 @@ CreateSnapshot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_CreateSnapshotFromVolumeRecoveryPoint.go.snap b/service/storagegateway/snapshot/api_op_CreateSnapshotFromVolumeRecoveryPoint.go.snap index 22ca062d842..730a36b2f9d 100644 --- a/service/storagegateway/snapshot/api_op_CreateSnapshotFromVolumeRecoveryPoint.go.snap +++ b/service/storagegateway/snapshot/api_op_CreateSnapshotFromVolumeRecoveryPoint.go.snap @@ -14,7 +14,6 @@ CreateSnapshotFromVolumeRecoveryPoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_CreateStorediSCSIVolume.go.snap b/service/storagegateway/snapshot/api_op_CreateStorediSCSIVolume.go.snap index 2206861bd29..82f5d4e6c9d 100644 --- a/service/storagegateway/snapshot/api_op_CreateStorediSCSIVolume.go.snap +++ b/service/storagegateway/snapshot/api_op_CreateStorediSCSIVolume.go.snap @@ -14,7 +14,6 @@ CreateStorediSCSIVolume Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_CreateTapePool.go.snap b/service/storagegateway/snapshot/api_op_CreateTapePool.go.snap index 44426111ccf..8cf87439bca 100644 --- a/service/storagegateway/snapshot/api_op_CreateTapePool.go.snap +++ b/service/storagegateway/snapshot/api_op_CreateTapePool.go.snap @@ -14,7 +14,6 @@ CreateTapePool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_CreateTapeWithBarcode.go.snap b/service/storagegateway/snapshot/api_op_CreateTapeWithBarcode.go.snap index 4d76a156eeb..640519510d7 100644 --- a/service/storagegateway/snapshot/api_op_CreateTapeWithBarcode.go.snap +++ b/service/storagegateway/snapshot/api_op_CreateTapeWithBarcode.go.snap @@ -14,7 +14,6 @@ CreateTapeWithBarcode Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_CreateTapes.go.snap b/service/storagegateway/snapshot/api_op_CreateTapes.go.snap index 7cfc27aa713..bf28d05ea5a 100644 --- a/service/storagegateway/snapshot/api_op_CreateTapes.go.snap +++ b/service/storagegateway/snapshot/api_op_CreateTapes.go.snap @@ -14,7 +14,6 @@ CreateTapes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DeleteAutomaticTapeCreationPolicy.go.snap b/service/storagegateway/snapshot/api_op_DeleteAutomaticTapeCreationPolicy.go.snap index 4050c2a055b..d816edf05fb 100644 --- a/service/storagegateway/snapshot/api_op_DeleteAutomaticTapeCreationPolicy.go.snap +++ b/service/storagegateway/snapshot/api_op_DeleteAutomaticTapeCreationPolicy.go.snap @@ -14,7 +14,6 @@ DeleteAutomaticTapeCreationPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DeleteBandwidthRateLimit.go.snap b/service/storagegateway/snapshot/api_op_DeleteBandwidthRateLimit.go.snap index 1367691e5ab..fd0444978a5 100644 --- a/service/storagegateway/snapshot/api_op_DeleteBandwidthRateLimit.go.snap +++ b/service/storagegateway/snapshot/api_op_DeleteBandwidthRateLimit.go.snap @@ -14,7 +14,6 @@ DeleteBandwidthRateLimit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DeleteCacheReport.go.snap b/service/storagegateway/snapshot/api_op_DeleteCacheReport.go.snap index 18503375bd9..17fb1f5abfa 100644 --- a/service/storagegateway/snapshot/api_op_DeleteCacheReport.go.snap +++ b/service/storagegateway/snapshot/api_op_DeleteCacheReport.go.snap @@ -14,7 +14,6 @@ DeleteCacheReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DeleteChapCredentials.go.snap b/service/storagegateway/snapshot/api_op_DeleteChapCredentials.go.snap index 34ab003bf97..37e5f60c904 100644 --- a/service/storagegateway/snapshot/api_op_DeleteChapCredentials.go.snap +++ b/service/storagegateway/snapshot/api_op_DeleteChapCredentials.go.snap @@ -14,7 +14,6 @@ DeleteChapCredentials Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DeleteFileShare.go.snap b/service/storagegateway/snapshot/api_op_DeleteFileShare.go.snap index 7aba9b982e4..d301498ce61 100644 --- a/service/storagegateway/snapshot/api_op_DeleteFileShare.go.snap +++ b/service/storagegateway/snapshot/api_op_DeleteFileShare.go.snap @@ -14,7 +14,6 @@ DeleteFileShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DeleteGateway.go.snap b/service/storagegateway/snapshot/api_op_DeleteGateway.go.snap index 7d7ab9437f3..70571611919 100644 --- a/service/storagegateway/snapshot/api_op_DeleteGateway.go.snap +++ b/service/storagegateway/snapshot/api_op_DeleteGateway.go.snap @@ -14,7 +14,6 @@ DeleteGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DeleteSnapshotSchedule.go.snap b/service/storagegateway/snapshot/api_op_DeleteSnapshotSchedule.go.snap index 189d729757b..e4fab10f05a 100644 --- a/service/storagegateway/snapshot/api_op_DeleteSnapshotSchedule.go.snap +++ b/service/storagegateway/snapshot/api_op_DeleteSnapshotSchedule.go.snap @@ -14,7 +14,6 @@ DeleteSnapshotSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DeleteTape.go.snap b/service/storagegateway/snapshot/api_op_DeleteTape.go.snap index f6a5f26f169..040a4debbd9 100644 --- a/service/storagegateway/snapshot/api_op_DeleteTape.go.snap +++ b/service/storagegateway/snapshot/api_op_DeleteTape.go.snap @@ -14,7 +14,6 @@ DeleteTape Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DeleteTapeArchive.go.snap b/service/storagegateway/snapshot/api_op_DeleteTapeArchive.go.snap index 1331d3be20c..a722d765ae8 100644 --- a/service/storagegateway/snapshot/api_op_DeleteTapeArchive.go.snap +++ b/service/storagegateway/snapshot/api_op_DeleteTapeArchive.go.snap @@ -14,7 +14,6 @@ DeleteTapeArchive Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DeleteTapePool.go.snap b/service/storagegateway/snapshot/api_op_DeleteTapePool.go.snap index b6402d06efa..fd02abcab4e 100644 --- a/service/storagegateway/snapshot/api_op_DeleteTapePool.go.snap +++ b/service/storagegateway/snapshot/api_op_DeleteTapePool.go.snap @@ -14,7 +14,6 @@ DeleteTapePool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DeleteVolume.go.snap b/service/storagegateway/snapshot/api_op_DeleteVolume.go.snap index 1089f8f359f..c1464f4a549 100644 --- a/service/storagegateway/snapshot/api_op_DeleteVolume.go.snap +++ b/service/storagegateway/snapshot/api_op_DeleteVolume.go.snap @@ -14,7 +14,6 @@ DeleteVolume Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DescribeAvailabilityMonitorTest.go.snap b/service/storagegateway/snapshot/api_op_DescribeAvailabilityMonitorTest.go.snap index 1f77290e47b..c18605c080d 100644 --- a/service/storagegateway/snapshot/api_op_DescribeAvailabilityMonitorTest.go.snap +++ b/service/storagegateway/snapshot/api_op_DescribeAvailabilityMonitorTest.go.snap @@ -14,7 +14,6 @@ DescribeAvailabilityMonitorTest Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DescribeBandwidthRateLimit.go.snap b/service/storagegateway/snapshot/api_op_DescribeBandwidthRateLimit.go.snap index 3981e65a052..c083e129e0c 100644 --- a/service/storagegateway/snapshot/api_op_DescribeBandwidthRateLimit.go.snap +++ b/service/storagegateway/snapshot/api_op_DescribeBandwidthRateLimit.go.snap @@ -14,7 +14,6 @@ DescribeBandwidthRateLimit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DescribeBandwidthRateLimitSchedule.go.snap b/service/storagegateway/snapshot/api_op_DescribeBandwidthRateLimitSchedule.go.snap index 96919fed3fc..de5f567d5bd 100644 --- a/service/storagegateway/snapshot/api_op_DescribeBandwidthRateLimitSchedule.go.snap +++ b/service/storagegateway/snapshot/api_op_DescribeBandwidthRateLimitSchedule.go.snap @@ -14,7 +14,6 @@ DescribeBandwidthRateLimitSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DescribeCache.go.snap b/service/storagegateway/snapshot/api_op_DescribeCache.go.snap index bcac24d0469..46c09fadf1e 100644 --- a/service/storagegateway/snapshot/api_op_DescribeCache.go.snap +++ b/service/storagegateway/snapshot/api_op_DescribeCache.go.snap @@ -14,7 +14,6 @@ DescribeCache Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DescribeCacheReport.go.snap b/service/storagegateway/snapshot/api_op_DescribeCacheReport.go.snap index 933b3f8756f..e06db8e91e6 100644 --- a/service/storagegateway/snapshot/api_op_DescribeCacheReport.go.snap +++ b/service/storagegateway/snapshot/api_op_DescribeCacheReport.go.snap @@ -14,7 +14,6 @@ DescribeCacheReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DescribeCachediSCSIVolumes.go.snap b/service/storagegateway/snapshot/api_op_DescribeCachediSCSIVolumes.go.snap index 48be2f5c210..2e77e21414a 100644 --- a/service/storagegateway/snapshot/api_op_DescribeCachediSCSIVolumes.go.snap +++ b/service/storagegateway/snapshot/api_op_DescribeCachediSCSIVolumes.go.snap @@ -14,7 +14,6 @@ DescribeCachediSCSIVolumes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DescribeChapCredentials.go.snap b/service/storagegateway/snapshot/api_op_DescribeChapCredentials.go.snap index dc5d820c559..43b90efb304 100644 --- a/service/storagegateway/snapshot/api_op_DescribeChapCredentials.go.snap +++ b/service/storagegateway/snapshot/api_op_DescribeChapCredentials.go.snap @@ -14,7 +14,6 @@ DescribeChapCredentials Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DescribeFileSystemAssociations.go.snap b/service/storagegateway/snapshot/api_op_DescribeFileSystemAssociations.go.snap index 05aca76f1fd..e5df091160f 100644 --- a/service/storagegateway/snapshot/api_op_DescribeFileSystemAssociations.go.snap +++ b/service/storagegateway/snapshot/api_op_DescribeFileSystemAssociations.go.snap @@ -14,7 +14,6 @@ DescribeFileSystemAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DescribeGatewayInformation.go.snap b/service/storagegateway/snapshot/api_op_DescribeGatewayInformation.go.snap index ebb98274e7b..a13c641a793 100644 --- a/service/storagegateway/snapshot/api_op_DescribeGatewayInformation.go.snap +++ b/service/storagegateway/snapshot/api_op_DescribeGatewayInformation.go.snap @@ -14,7 +14,6 @@ DescribeGatewayInformation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DescribeMaintenanceStartTime.go.snap b/service/storagegateway/snapshot/api_op_DescribeMaintenanceStartTime.go.snap index b9cd78a1a8e..3170c795fa3 100644 --- a/service/storagegateway/snapshot/api_op_DescribeMaintenanceStartTime.go.snap +++ b/service/storagegateway/snapshot/api_op_DescribeMaintenanceStartTime.go.snap @@ -14,7 +14,6 @@ DescribeMaintenanceStartTime Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DescribeNFSFileShares.go.snap b/service/storagegateway/snapshot/api_op_DescribeNFSFileShares.go.snap index 043abdd1304..d662ebdc1a2 100644 --- a/service/storagegateway/snapshot/api_op_DescribeNFSFileShares.go.snap +++ b/service/storagegateway/snapshot/api_op_DescribeNFSFileShares.go.snap @@ -14,7 +14,6 @@ DescribeNFSFileShares Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DescribeSMBFileShares.go.snap b/service/storagegateway/snapshot/api_op_DescribeSMBFileShares.go.snap index 7f0fd223bb4..655fdcc659d 100644 --- a/service/storagegateway/snapshot/api_op_DescribeSMBFileShares.go.snap +++ b/service/storagegateway/snapshot/api_op_DescribeSMBFileShares.go.snap @@ -14,7 +14,6 @@ DescribeSMBFileShares Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DescribeSMBSettings.go.snap b/service/storagegateway/snapshot/api_op_DescribeSMBSettings.go.snap index 6061e837357..5930086156d 100644 --- a/service/storagegateway/snapshot/api_op_DescribeSMBSettings.go.snap +++ b/service/storagegateway/snapshot/api_op_DescribeSMBSettings.go.snap @@ -14,7 +14,6 @@ DescribeSMBSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DescribeSnapshotSchedule.go.snap b/service/storagegateway/snapshot/api_op_DescribeSnapshotSchedule.go.snap index b6b3e2cf722..617a8a693cb 100644 --- a/service/storagegateway/snapshot/api_op_DescribeSnapshotSchedule.go.snap +++ b/service/storagegateway/snapshot/api_op_DescribeSnapshotSchedule.go.snap @@ -14,7 +14,6 @@ DescribeSnapshotSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DescribeStorediSCSIVolumes.go.snap b/service/storagegateway/snapshot/api_op_DescribeStorediSCSIVolumes.go.snap index 556f56d1d3a..6fa4e522906 100644 --- a/service/storagegateway/snapshot/api_op_DescribeStorediSCSIVolumes.go.snap +++ b/service/storagegateway/snapshot/api_op_DescribeStorediSCSIVolumes.go.snap @@ -14,7 +14,6 @@ DescribeStorediSCSIVolumes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DescribeTapeArchives.go.snap b/service/storagegateway/snapshot/api_op_DescribeTapeArchives.go.snap index 86ff1a0e50d..3a7b4682d4c 100644 --- a/service/storagegateway/snapshot/api_op_DescribeTapeArchives.go.snap +++ b/service/storagegateway/snapshot/api_op_DescribeTapeArchives.go.snap @@ -13,7 +13,6 @@ DescribeTapeArchives Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DescribeTapeRecoveryPoints.go.snap b/service/storagegateway/snapshot/api_op_DescribeTapeRecoveryPoints.go.snap index 5f2ded3e67c..ad663f49c37 100644 --- a/service/storagegateway/snapshot/api_op_DescribeTapeRecoveryPoints.go.snap +++ b/service/storagegateway/snapshot/api_op_DescribeTapeRecoveryPoints.go.snap @@ -14,7 +14,6 @@ DescribeTapeRecoveryPoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DescribeTapes.go.snap b/service/storagegateway/snapshot/api_op_DescribeTapes.go.snap index ad6a7b0c8b5..0491706ada1 100644 --- a/service/storagegateway/snapshot/api_op_DescribeTapes.go.snap +++ b/service/storagegateway/snapshot/api_op_DescribeTapes.go.snap @@ -14,7 +14,6 @@ DescribeTapes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DescribeUploadBuffer.go.snap b/service/storagegateway/snapshot/api_op_DescribeUploadBuffer.go.snap index 091def82472..58fe9110f28 100644 --- a/service/storagegateway/snapshot/api_op_DescribeUploadBuffer.go.snap +++ b/service/storagegateway/snapshot/api_op_DescribeUploadBuffer.go.snap @@ -14,7 +14,6 @@ DescribeUploadBuffer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DescribeVTLDevices.go.snap b/service/storagegateway/snapshot/api_op_DescribeVTLDevices.go.snap index 82fa087feda..2d99a6e6ac8 100644 --- a/service/storagegateway/snapshot/api_op_DescribeVTLDevices.go.snap +++ b/service/storagegateway/snapshot/api_op_DescribeVTLDevices.go.snap @@ -14,7 +14,6 @@ DescribeVTLDevices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DescribeWorkingStorage.go.snap b/service/storagegateway/snapshot/api_op_DescribeWorkingStorage.go.snap index f5716d1f67d..9519957e564 100644 --- a/service/storagegateway/snapshot/api_op_DescribeWorkingStorage.go.snap +++ b/service/storagegateway/snapshot/api_op_DescribeWorkingStorage.go.snap @@ -14,7 +14,6 @@ DescribeWorkingStorage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DetachVolume.go.snap b/service/storagegateway/snapshot/api_op_DetachVolume.go.snap index 35659536fe2..f9e546614d1 100644 --- a/service/storagegateway/snapshot/api_op_DetachVolume.go.snap +++ b/service/storagegateway/snapshot/api_op_DetachVolume.go.snap @@ -14,7 +14,6 @@ DetachVolume Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DisableGateway.go.snap b/service/storagegateway/snapshot/api_op_DisableGateway.go.snap index fe2dd0d315f..c055dbde099 100644 --- a/service/storagegateway/snapshot/api_op_DisableGateway.go.snap +++ b/service/storagegateway/snapshot/api_op_DisableGateway.go.snap @@ -14,7 +14,6 @@ DisableGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_DisassociateFileSystem.go.snap b/service/storagegateway/snapshot/api_op_DisassociateFileSystem.go.snap index 3c92aafe768..f51186aba11 100644 --- a/service/storagegateway/snapshot/api_op_DisassociateFileSystem.go.snap +++ b/service/storagegateway/snapshot/api_op_DisassociateFileSystem.go.snap @@ -14,7 +14,6 @@ DisassociateFileSystem Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_JoinDomain.go.snap b/service/storagegateway/snapshot/api_op_JoinDomain.go.snap index 0eeb57b55fd..84e3d4a463d 100644 --- a/service/storagegateway/snapshot/api_op_JoinDomain.go.snap +++ b/service/storagegateway/snapshot/api_op_JoinDomain.go.snap @@ -14,7 +14,6 @@ JoinDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_ListAutomaticTapeCreationPolicies.go.snap b/service/storagegateway/snapshot/api_op_ListAutomaticTapeCreationPolicies.go.snap index 5a49cd4e6a9..887cb4f1aa5 100644 --- a/service/storagegateway/snapshot/api_op_ListAutomaticTapeCreationPolicies.go.snap +++ b/service/storagegateway/snapshot/api_op_ListAutomaticTapeCreationPolicies.go.snap @@ -13,7 +13,6 @@ ListAutomaticTapeCreationPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_ListCacheReports.go.snap b/service/storagegateway/snapshot/api_op_ListCacheReports.go.snap index 363f7b67b68..7922863b1d2 100644 --- a/service/storagegateway/snapshot/api_op_ListCacheReports.go.snap +++ b/service/storagegateway/snapshot/api_op_ListCacheReports.go.snap @@ -13,7 +13,6 @@ ListCacheReports Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_ListFileShares.go.snap b/service/storagegateway/snapshot/api_op_ListFileShares.go.snap index 2d265ed2e16..534366da1f4 100644 --- a/service/storagegateway/snapshot/api_op_ListFileShares.go.snap +++ b/service/storagegateway/snapshot/api_op_ListFileShares.go.snap @@ -13,7 +13,6 @@ ListFileShares Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_ListFileSystemAssociations.go.snap b/service/storagegateway/snapshot/api_op_ListFileSystemAssociations.go.snap index 6de0519c43b..0f723b95483 100644 --- a/service/storagegateway/snapshot/api_op_ListFileSystemAssociations.go.snap +++ b/service/storagegateway/snapshot/api_op_ListFileSystemAssociations.go.snap @@ -13,7 +13,6 @@ ListFileSystemAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_ListGateways.go.snap b/service/storagegateway/snapshot/api_op_ListGateways.go.snap index 7a4f682e3d5..a9c429c3a6b 100644 --- a/service/storagegateway/snapshot/api_op_ListGateways.go.snap +++ b/service/storagegateway/snapshot/api_op_ListGateways.go.snap @@ -13,7 +13,6 @@ ListGateways Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_ListLocalDisks.go.snap b/service/storagegateway/snapshot/api_op_ListLocalDisks.go.snap index ddf773ce1e2..43c88f29d6f 100644 --- a/service/storagegateway/snapshot/api_op_ListLocalDisks.go.snap +++ b/service/storagegateway/snapshot/api_op_ListLocalDisks.go.snap @@ -14,7 +14,6 @@ ListLocalDisks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_ListTagsForResource.go.snap b/service/storagegateway/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/storagegateway/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/storagegateway/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_ListTapePools.go.snap b/service/storagegateway/snapshot/api_op_ListTapePools.go.snap index 9f2c43d246d..e4ce0c737e5 100644 --- a/service/storagegateway/snapshot/api_op_ListTapePools.go.snap +++ b/service/storagegateway/snapshot/api_op_ListTapePools.go.snap @@ -13,7 +13,6 @@ ListTapePools Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_ListTapes.go.snap b/service/storagegateway/snapshot/api_op_ListTapes.go.snap index b5e9be5de6d..26b804cd359 100644 --- a/service/storagegateway/snapshot/api_op_ListTapes.go.snap +++ b/service/storagegateway/snapshot/api_op_ListTapes.go.snap @@ -13,7 +13,6 @@ ListTapes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_ListVolumeInitiators.go.snap b/service/storagegateway/snapshot/api_op_ListVolumeInitiators.go.snap index 2046de2f497..3603ade19c8 100644 --- a/service/storagegateway/snapshot/api_op_ListVolumeInitiators.go.snap +++ b/service/storagegateway/snapshot/api_op_ListVolumeInitiators.go.snap @@ -14,7 +14,6 @@ ListVolumeInitiators Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_ListVolumeRecoveryPoints.go.snap b/service/storagegateway/snapshot/api_op_ListVolumeRecoveryPoints.go.snap index 903d13e5577..1a82b9928e5 100644 --- a/service/storagegateway/snapshot/api_op_ListVolumeRecoveryPoints.go.snap +++ b/service/storagegateway/snapshot/api_op_ListVolumeRecoveryPoints.go.snap @@ -14,7 +14,6 @@ ListVolumeRecoveryPoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_ListVolumes.go.snap b/service/storagegateway/snapshot/api_op_ListVolumes.go.snap index 300f0b2bdcf..9a275978f10 100644 --- a/service/storagegateway/snapshot/api_op_ListVolumes.go.snap +++ b/service/storagegateway/snapshot/api_op_ListVolumes.go.snap @@ -13,7 +13,6 @@ ListVolumes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_NotifyWhenUploaded.go.snap b/service/storagegateway/snapshot/api_op_NotifyWhenUploaded.go.snap index b4ba55d2f28..476567e258b 100644 --- a/service/storagegateway/snapshot/api_op_NotifyWhenUploaded.go.snap +++ b/service/storagegateway/snapshot/api_op_NotifyWhenUploaded.go.snap @@ -14,7 +14,6 @@ NotifyWhenUploaded Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_RefreshCache.go.snap b/service/storagegateway/snapshot/api_op_RefreshCache.go.snap index c09029ff9f2..cfb8a1bc09f 100644 --- a/service/storagegateway/snapshot/api_op_RefreshCache.go.snap +++ b/service/storagegateway/snapshot/api_op_RefreshCache.go.snap @@ -14,7 +14,6 @@ RefreshCache Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_RemoveTagsFromResource.go.snap b/service/storagegateway/snapshot/api_op_RemoveTagsFromResource.go.snap index e43df9156ac..48a29e492e9 100644 --- a/service/storagegateway/snapshot/api_op_RemoveTagsFromResource.go.snap +++ b/service/storagegateway/snapshot/api_op_RemoveTagsFromResource.go.snap @@ -14,7 +14,6 @@ RemoveTagsFromResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_ResetCache.go.snap b/service/storagegateway/snapshot/api_op_ResetCache.go.snap index b2a1f150758..c039deb936d 100644 --- a/service/storagegateway/snapshot/api_op_ResetCache.go.snap +++ b/service/storagegateway/snapshot/api_op_ResetCache.go.snap @@ -14,7 +14,6 @@ ResetCache Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_RetrieveTapeArchive.go.snap b/service/storagegateway/snapshot/api_op_RetrieveTapeArchive.go.snap index e207189c69a..205d43e8f89 100644 --- a/service/storagegateway/snapshot/api_op_RetrieveTapeArchive.go.snap +++ b/service/storagegateway/snapshot/api_op_RetrieveTapeArchive.go.snap @@ -14,7 +14,6 @@ RetrieveTapeArchive Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_RetrieveTapeRecoveryPoint.go.snap b/service/storagegateway/snapshot/api_op_RetrieveTapeRecoveryPoint.go.snap index 54422d1aae9..2c27cc29085 100644 --- a/service/storagegateway/snapshot/api_op_RetrieveTapeRecoveryPoint.go.snap +++ b/service/storagegateway/snapshot/api_op_RetrieveTapeRecoveryPoint.go.snap @@ -14,7 +14,6 @@ RetrieveTapeRecoveryPoint Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_SetLocalConsolePassword.go.snap b/service/storagegateway/snapshot/api_op_SetLocalConsolePassword.go.snap index 58d718bc1e6..c2bc67ad61c 100644 --- a/service/storagegateway/snapshot/api_op_SetLocalConsolePassword.go.snap +++ b/service/storagegateway/snapshot/api_op_SetLocalConsolePassword.go.snap @@ -14,7 +14,6 @@ SetLocalConsolePassword Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_SetSMBGuestPassword.go.snap b/service/storagegateway/snapshot/api_op_SetSMBGuestPassword.go.snap index 0200deb08d7..72ea86ad096 100644 --- a/service/storagegateway/snapshot/api_op_SetSMBGuestPassword.go.snap +++ b/service/storagegateway/snapshot/api_op_SetSMBGuestPassword.go.snap @@ -14,7 +14,6 @@ SetSMBGuestPassword Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_ShutdownGateway.go.snap b/service/storagegateway/snapshot/api_op_ShutdownGateway.go.snap index 08aaa8e0fc5..925c0596462 100644 --- a/service/storagegateway/snapshot/api_op_ShutdownGateway.go.snap +++ b/service/storagegateway/snapshot/api_op_ShutdownGateway.go.snap @@ -14,7 +14,6 @@ ShutdownGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_StartAvailabilityMonitorTest.go.snap b/service/storagegateway/snapshot/api_op_StartAvailabilityMonitorTest.go.snap index f5a3a969c81..5058cdd5685 100644 --- a/service/storagegateway/snapshot/api_op_StartAvailabilityMonitorTest.go.snap +++ b/service/storagegateway/snapshot/api_op_StartAvailabilityMonitorTest.go.snap @@ -14,7 +14,6 @@ StartAvailabilityMonitorTest Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_StartCacheReport.go.snap b/service/storagegateway/snapshot/api_op_StartCacheReport.go.snap index 933b1594d1c..13ddc6d9c8b 100644 --- a/service/storagegateway/snapshot/api_op_StartCacheReport.go.snap +++ b/service/storagegateway/snapshot/api_op_StartCacheReport.go.snap @@ -14,7 +14,6 @@ StartCacheReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_StartGateway.go.snap b/service/storagegateway/snapshot/api_op_StartGateway.go.snap index b5709959610..e6df4f24fdb 100644 --- a/service/storagegateway/snapshot/api_op_StartGateway.go.snap +++ b/service/storagegateway/snapshot/api_op_StartGateway.go.snap @@ -14,7 +14,6 @@ StartGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_UpdateAutomaticTapeCreationPolicy.go.snap b/service/storagegateway/snapshot/api_op_UpdateAutomaticTapeCreationPolicy.go.snap index e30659f140a..735f3de60d2 100644 --- a/service/storagegateway/snapshot/api_op_UpdateAutomaticTapeCreationPolicy.go.snap +++ b/service/storagegateway/snapshot/api_op_UpdateAutomaticTapeCreationPolicy.go.snap @@ -14,7 +14,6 @@ UpdateAutomaticTapeCreationPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_UpdateBandwidthRateLimit.go.snap b/service/storagegateway/snapshot/api_op_UpdateBandwidthRateLimit.go.snap index b8ac4060e4b..b815419aae8 100644 --- a/service/storagegateway/snapshot/api_op_UpdateBandwidthRateLimit.go.snap +++ b/service/storagegateway/snapshot/api_op_UpdateBandwidthRateLimit.go.snap @@ -14,7 +14,6 @@ UpdateBandwidthRateLimit Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_UpdateBandwidthRateLimitSchedule.go.snap b/service/storagegateway/snapshot/api_op_UpdateBandwidthRateLimitSchedule.go.snap index c17fe50527a..d3add4ee337 100644 --- a/service/storagegateway/snapshot/api_op_UpdateBandwidthRateLimitSchedule.go.snap +++ b/service/storagegateway/snapshot/api_op_UpdateBandwidthRateLimitSchedule.go.snap @@ -14,7 +14,6 @@ UpdateBandwidthRateLimitSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_UpdateChapCredentials.go.snap b/service/storagegateway/snapshot/api_op_UpdateChapCredentials.go.snap index 515df2993a3..002488a1ef3 100644 --- a/service/storagegateway/snapshot/api_op_UpdateChapCredentials.go.snap +++ b/service/storagegateway/snapshot/api_op_UpdateChapCredentials.go.snap @@ -14,7 +14,6 @@ UpdateChapCredentials Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_UpdateFileSystemAssociation.go.snap b/service/storagegateway/snapshot/api_op_UpdateFileSystemAssociation.go.snap index c29728c85d6..86d2b2f0f0b 100644 --- a/service/storagegateway/snapshot/api_op_UpdateFileSystemAssociation.go.snap +++ b/service/storagegateway/snapshot/api_op_UpdateFileSystemAssociation.go.snap @@ -14,7 +14,6 @@ UpdateFileSystemAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_UpdateGatewayInformation.go.snap b/service/storagegateway/snapshot/api_op_UpdateGatewayInformation.go.snap index 6193ce51713..36bdd29b561 100644 --- a/service/storagegateway/snapshot/api_op_UpdateGatewayInformation.go.snap +++ b/service/storagegateway/snapshot/api_op_UpdateGatewayInformation.go.snap @@ -14,7 +14,6 @@ UpdateGatewayInformation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_UpdateGatewaySoftwareNow.go.snap b/service/storagegateway/snapshot/api_op_UpdateGatewaySoftwareNow.go.snap index 219c36387dc..397295ad6b7 100644 --- a/service/storagegateway/snapshot/api_op_UpdateGatewaySoftwareNow.go.snap +++ b/service/storagegateway/snapshot/api_op_UpdateGatewaySoftwareNow.go.snap @@ -14,7 +14,6 @@ UpdateGatewaySoftwareNow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_UpdateMaintenanceStartTime.go.snap b/service/storagegateway/snapshot/api_op_UpdateMaintenanceStartTime.go.snap index 05dd29a20f5..1b8962d05a6 100644 --- a/service/storagegateway/snapshot/api_op_UpdateMaintenanceStartTime.go.snap +++ b/service/storagegateway/snapshot/api_op_UpdateMaintenanceStartTime.go.snap @@ -14,7 +14,6 @@ UpdateMaintenanceStartTime Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_UpdateNFSFileShare.go.snap b/service/storagegateway/snapshot/api_op_UpdateNFSFileShare.go.snap index 8fe536b5161..1c3fbe983a0 100644 --- a/service/storagegateway/snapshot/api_op_UpdateNFSFileShare.go.snap +++ b/service/storagegateway/snapshot/api_op_UpdateNFSFileShare.go.snap @@ -14,7 +14,6 @@ UpdateNFSFileShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_UpdateSMBFileShare.go.snap b/service/storagegateway/snapshot/api_op_UpdateSMBFileShare.go.snap index c71845a00a7..c0105266b5b 100644 --- a/service/storagegateway/snapshot/api_op_UpdateSMBFileShare.go.snap +++ b/service/storagegateway/snapshot/api_op_UpdateSMBFileShare.go.snap @@ -14,7 +14,6 @@ UpdateSMBFileShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_UpdateSMBFileShareVisibility.go.snap b/service/storagegateway/snapshot/api_op_UpdateSMBFileShareVisibility.go.snap index 9abc61fc154..1e396fb1efb 100644 --- a/service/storagegateway/snapshot/api_op_UpdateSMBFileShareVisibility.go.snap +++ b/service/storagegateway/snapshot/api_op_UpdateSMBFileShareVisibility.go.snap @@ -14,7 +14,6 @@ UpdateSMBFileShareVisibility Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_UpdateSMBLocalGroups.go.snap b/service/storagegateway/snapshot/api_op_UpdateSMBLocalGroups.go.snap index baf1aa1de81..7a136422600 100644 --- a/service/storagegateway/snapshot/api_op_UpdateSMBLocalGroups.go.snap +++ b/service/storagegateway/snapshot/api_op_UpdateSMBLocalGroups.go.snap @@ -14,7 +14,6 @@ UpdateSMBLocalGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_UpdateSMBSecurityStrategy.go.snap b/service/storagegateway/snapshot/api_op_UpdateSMBSecurityStrategy.go.snap index 13f8a6e712b..b7000e8e7a8 100644 --- a/service/storagegateway/snapshot/api_op_UpdateSMBSecurityStrategy.go.snap +++ b/service/storagegateway/snapshot/api_op_UpdateSMBSecurityStrategy.go.snap @@ -14,7 +14,6 @@ UpdateSMBSecurityStrategy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_UpdateSnapshotSchedule.go.snap b/service/storagegateway/snapshot/api_op_UpdateSnapshotSchedule.go.snap index 7afa4933f7b..6757df917df 100644 --- a/service/storagegateway/snapshot/api_op_UpdateSnapshotSchedule.go.snap +++ b/service/storagegateway/snapshot/api_op_UpdateSnapshotSchedule.go.snap @@ -14,7 +14,6 @@ UpdateSnapshotSchedule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/storagegateway/snapshot/api_op_UpdateVTLDeviceType.go.snap b/service/storagegateway/snapshot/api_op_UpdateVTLDeviceType.go.snap index 81f0396b3ad..2f7ffc8e5e4 100644 --- a/service/storagegateway/snapshot/api_op_UpdateVTLDeviceType.go.snap +++ b/service/storagegateway/snapshot/api_op_UpdateVTLDeviceType.go.snap @@ -14,7 +14,6 @@ UpdateVTLDeviceType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sts/api_client.go b/service/sts/api_client.go index fca363d2f99..25787325f2f 100644 --- a/service/sts/api_client.go +++ b/service/sts/api_client.go @@ -765,37 +765,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/sts/api_op_AssumeRole.go b/service/sts/api_op_AssumeRole.go index 524e36eb616..d056327746d 100644 --- a/service/sts/api_op_AssumeRole.go +++ b/service/sts/api_op_AssumeRole.go @@ -478,9 +478,6 @@ func (c *Client) addOperationAssumeRoleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssumeRoleValidationMiddleware(stack); err != nil { return err } diff --git a/service/sts/api_op_AssumeRoleWithSAML.go b/service/sts/api_op_AssumeRoleWithSAML.go index 400f809e30c..d0e117ac928 100644 --- a/service/sts/api_op_AssumeRoleWithSAML.go +++ b/service/sts/api_op_AssumeRoleWithSAML.go @@ -410,9 +410,6 @@ func (c *Client) addOperationAssumeRoleWithSAMLMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssumeRoleWithSAMLValidationMiddleware(stack); err != nil { return err } diff --git a/service/sts/api_op_AssumeRoleWithWebIdentity.go b/service/sts/api_op_AssumeRoleWithWebIdentity.go index e5708cbd1d8..0ae4bc173e7 100644 --- a/service/sts/api_op_AssumeRoleWithWebIdentity.go +++ b/service/sts/api_op_AssumeRoleWithWebIdentity.go @@ -430,9 +430,6 @@ func (c *Client) addOperationAssumeRoleWithWebIdentityMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssumeRoleWithWebIdentityValidationMiddleware(stack); err != nil { return err } diff --git a/service/sts/api_op_AssumeRoot.go b/service/sts/api_op_AssumeRoot.go index a0f7a467130..cd976e573a6 100644 --- a/service/sts/api_op_AssumeRoot.go +++ b/service/sts/api_op_AssumeRoot.go @@ -175,9 +175,6 @@ func (c *Client) addOperationAssumeRootMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssumeRootValidationMiddleware(stack); err != nil { return err } diff --git a/service/sts/api_op_DecodeAuthorizationMessage.go b/service/sts/api_op_DecodeAuthorizationMessage.go index 9e7cb17d36a..a56840e1b0d 100644 --- a/service/sts/api_op_DecodeAuthorizationMessage.go +++ b/service/sts/api_op_DecodeAuthorizationMessage.go @@ -147,9 +147,6 @@ func (c *Client) addOperationDecodeAuthorizationMessageMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDecodeAuthorizationMessageValidationMiddleware(stack); err != nil { return err } diff --git a/service/sts/api_op_GetAccessKeyInfo.go b/service/sts/api_op_GetAccessKeyInfo.go index 28c05f13bf7..c80b0550b04 100644 --- a/service/sts/api_op_GetAccessKeyInfo.go +++ b/service/sts/api_op_GetAccessKeyInfo.go @@ -138,9 +138,6 @@ func (c *Client) addOperationGetAccessKeyInfoMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAccessKeyInfoValidationMiddleware(stack); err != nil { return err } diff --git a/service/sts/api_op_GetCallerIdentity.go b/service/sts/api_op_GetCallerIdentity.go index de137b7dc40..49304bdaf7e 100644 --- a/service/sts/api_op_GetCallerIdentity.go +++ b/service/sts/api_op_GetCallerIdentity.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGetCallerIdentityMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetCallerIdentity(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sts/api_op_GetFederationToken.go b/service/sts/api_op_GetFederationToken.go index 67c041b30ec..e2ecc792acd 100644 --- a/service/sts/api_op_GetFederationToken.go +++ b/service/sts/api_op_GetFederationToken.go @@ -351,9 +351,6 @@ func (c *Client) addOperationGetFederationTokenMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFederationTokenValidationMiddleware(stack); err != nil { return err } diff --git a/service/sts/api_op_GetSessionToken.go b/service/sts/api_op_GetSessionToken.go index 903d151ce2c..fdc451117b5 100644 --- a/service/sts/api_op_GetSessionToken.go +++ b/service/sts/api_op_GetSessionToken.go @@ -200,9 +200,6 @@ func (c *Client) addOperationGetSessionTokenMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSessionToken(options.Region), middleware.Before); err != nil { return err } diff --git a/service/sts/snapshot/api_op_AssumeRole.go.snap b/service/sts/snapshot/api_op_AssumeRole.go.snap index f5e8bdf7c17..14ec46302cb 100644 --- a/service/sts/snapshot/api_op_AssumeRole.go.snap +++ b/service/sts/snapshot/api_op_AssumeRole.go.snap @@ -14,7 +14,6 @@ AssumeRole Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sts/snapshot/api_op_AssumeRoleWithSAML.go.snap b/service/sts/snapshot/api_op_AssumeRoleWithSAML.go.snap index e9fcb28382a..a8ff54b2488 100644 --- a/service/sts/snapshot/api_op_AssumeRoleWithSAML.go.snap +++ b/service/sts/snapshot/api_op_AssumeRoleWithSAML.go.snap @@ -14,7 +14,6 @@ AssumeRoleWithSAML Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sts/snapshot/api_op_AssumeRoleWithWebIdentity.go.snap b/service/sts/snapshot/api_op_AssumeRoleWithWebIdentity.go.snap index b39d3f362f7..168ed82fed9 100644 --- a/service/sts/snapshot/api_op_AssumeRoleWithWebIdentity.go.snap +++ b/service/sts/snapshot/api_op_AssumeRoleWithWebIdentity.go.snap @@ -14,7 +14,6 @@ AssumeRoleWithWebIdentity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sts/snapshot/api_op_AssumeRoot.go.snap b/service/sts/snapshot/api_op_AssumeRoot.go.snap index 83cf32a28fb..980aab3887a 100644 --- a/service/sts/snapshot/api_op_AssumeRoot.go.snap +++ b/service/sts/snapshot/api_op_AssumeRoot.go.snap @@ -14,7 +14,6 @@ AssumeRoot Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sts/snapshot/api_op_DecodeAuthorizationMessage.go.snap b/service/sts/snapshot/api_op_DecodeAuthorizationMessage.go.snap index ebd6ed2d3ba..dd4b5afd5d7 100644 --- a/service/sts/snapshot/api_op_DecodeAuthorizationMessage.go.snap +++ b/service/sts/snapshot/api_op_DecodeAuthorizationMessage.go.snap @@ -14,7 +14,6 @@ DecodeAuthorizationMessage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sts/snapshot/api_op_GetAccessKeyInfo.go.snap b/service/sts/snapshot/api_op_GetAccessKeyInfo.go.snap index f4a9952b2ca..f6334c4b651 100644 --- a/service/sts/snapshot/api_op_GetAccessKeyInfo.go.snap +++ b/service/sts/snapshot/api_op_GetAccessKeyInfo.go.snap @@ -14,7 +14,6 @@ GetAccessKeyInfo Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sts/snapshot/api_op_GetCallerIdentity.go.snap b/service/sts/snapshot/api_op_GetCallerIdentity.go.snap index f160c612ba3..dc4e17867d4 100644 --- a/service/sts/snapshot/api_op_GetCallerIdentity.go.snap +++ b/service/sts/snapshot/api_op_GetCallerIdentity.go.snap @@ -13,7 +13,6 @@ GetCallerIdentity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sts/snapshot/api_op_GetFederationToken.go.snap b/service/sts/snapshot/api_op_GetFederationToken.go.snap index c3c3d8724a9..093430552bb 100644 --- a/service/sts/snapshot/api_op_GetFederationToken.go.snap +++ b/service/sts/snapshot/api_op_GetFederationToken.go.snap @@ -14,7 +14,6 @@ GetFederationToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/sts/snapshot/api_op_GetSessionToken.go.snap b/service/sts/snapshot/api_op_GetSessionToken.go.snap index d179155a46d..fb1fa0cae65 100644 --- a/service/sts/snapshot/api_op_GetSessionToken.go.snap +++ b/service/sts/snapshot/api_op_GetSessionToken.go.snap @@ -13,7 +13,6 @@ GetSessionToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/supplychain/api_client.go b/service/supplychain/api_client.go index f5e7227d431..7be3fb373fb 100644 --- a/service/supplychain/api_client.go +++ b/service/supplychain/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/supplychain/api_op_CreateBillOfMaterialsImportJob.go b/service/supplychain/api_op_CreateBillOfMaterialsImportJob.go index 8e65ce09938..65431fb251c 100644 --- a/service/supplychain/api_op_CreateBillOfMaterialsImportJob.go +++ b/service/supplychain/api_op_CreateBillOfMaterialsImportJob.go @@ -137,9 +137,6 @@ func (c *Client) addOperationCreateBillOfMaterialsImportJobMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateBillOfMaterialsImportJobMiddleware(stack, options); err != nil { return err } diff --git a/service/supplychain/api_op_CreateDataIntegrationFlow.go b/service/supplychain/api_op_CreateDataIntegrationFlow.go index 3aa34f56144..866335a1b18 100644 --- a/service/supplychain/api_op_CreateDataIntegrationFlow.go +++ b/service/supplychain/api_op_CreateDataIntegrationFlow.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCreateDataIntegrationFlowMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDataIntegrationFlowValidationMiddleware(stack); err != nil { return err } diff --git a/service/supplychain/api_op_CreateDataLakeDataset.go b/service/supplychain/api_op_CreateDataLakeDataset.go index 2c2b0ae699c..7821b88457f 100644 --- a/service/supplychain/api_op_CreateDataLakeDataset.go +++ b/service/supplychain/api_op_CreateDataLakeDataset.go @@ -148,9 +148,6 @@ func (c *Client) addOperationCreateDataLakeDatasetMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDataLakeDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/supplychain/api_op_CreateInstance.go b/service/supplychain/api_op_CreateInstance.go index 35f71dce565..4c94e850552 100644 --- a/service/supplychain/api_op_CreateInstance.go +++ b/service/supplychain/api_op_CreateInstance.go @@ -145,9 +145,6 @@ func (c *Client) addOperationCreateInstanceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateInstanceMiddleware(stack, options); err != nil { return err } diff --git a/service/supplychain/api_op_DeleteDataIntegrationFlow.go b/service/supplychain/api_op_DeleteDataIntegrationFlow.go index 81a7c39c6ee..2fba34d55c4 100644 --- a/service/supplychain/api_op_DeleteDataIntegrationFlow.go +++ b/service/supplychain/api_op_DeleteDataIntegrationFlow.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDeleteDataIntegrationFlowMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDataIntegrationFlowValidationMiddleware(stack); err != nil { return err } diff --git a/service/supplychain/api_op_DeleteDataLakeDataset.go b/service/supplychain/api_op_DeleteDataLakeDataset.go index 5779f24d14c..6042d56fadd 100644 --- a/service/supplychain/api_op_DeleteDataLakeDataset.go +++ b/service/supplychain/api_op_DeleteDataLakeDataset.go @@ -147,9 +147,6 @@ func (c *Client) addOperationDeleteDataLakeDatasetMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDataLakeDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/supplychain/api_op_DeleteInstance.go b/service/supplychain/api_op_DeleteInstance.go index d3e095e8d9b..b334d95e2e0 100644 --- a/service/supplychain/api_op_DeleteInstance.go +++ b/service/supplychain/api_op_DeleteInstance.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteInstanceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/supplychain/api_op_GetBillOfMaterialsImportJob.go b/service/supplychain/api_op_GetBillOfMaterialsImportJob.go index 5b178f8c9df..00a5126ddbd 100644 --- a/service/supplychain/api_op_GetBillOfMaterialsImportJob.go +++ b/service/supplychain/api_op_GetBillOfMaterialsImportJob.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetBillOfMaterialsImportJobMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBillOfMaterialsImportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/supplychain/api_op_GetDataIntegrationFlow.go b/service/supplychain/api_op_GetDataIntegrationFlow.go index 5a76c4539ac..95193092c74 100644 --- a/service/supplychain/api_op_GetDataIntegrationFlow.go +++ b/service/supplychain/api_op_GetDataIntegrationFlow.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetDataIntegrationFlowMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataIntegrationFlowValidationMiddleware(stack); err != nil { return err } diff --git a/service/supplychain/api_op_GetDataLakeDataset.go b/service/supplychain/api_op_GetDataLakeDataset.go index 4174945b372..7bbbc1caa5c 100644 --- a/service/supplychain/api_op_GetDataLakeDataset.go +++ b/service/supplychain/api_op_GetDataLakeDataset.go @@ -139,9 +139,6 @@ func (c *Client) addOperationGetDataLakeDatasetMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataLakeDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/supplychain/api_op_GetInstance.go b/service/supplychain/api_op_GetInstance.go index 5613cb98e49..4cd3d2edce7 100644 --- a/service/supplychain/api_op_GetInstance.go +++ b/service/supplychain/api_op_GetInstance.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetInstanceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/supplychain/api_op_ListDataIntegrationFlows.go b/service/supplychain/api_op_ListDataIntegrationFlows.go index 0dc6a40919a..95f0fe870eb 100644 --- a/service/supplychain/api_op_ListDataIntegrationFlows.go +++ b/service/supplychain/api_op_ListDataIntegrationFlows.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListDataIntegrationFlowsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDataIntegrationFlowsValidationMiddleware(stack); err != nil { return err } diff --git a/service/supplychain/api_op_ListDataLakeDatasets.go b/service/supplychain/api_op_ListDataLakeDatasets.go index 9a140677998..a6330c3fbb5 100644 --- a/service/supplychain/api_op_ListDataLakeDatasets.go +++ b/service/supplychain/api_op_ListDataLakeDatasets.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListDataLakeDatasetsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDataLakeDatasetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/supplychain/api_op_ListInstances.go b/service/supplychain/api_op_ListInstances.go index bc9f52f5c28..2bef55fee4e 100644 --- a/service/supplychain/api_op_ListInstances.go +++ b/service/supplychain/api_op_ListInstances.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListInstancesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListInstances(options.Region), middleware.Before); err != nil { return err } diff --git a/service/supplychain/api_op_ListTagsForResource.go b/service/supplychain/api_op_ListTagsForResource.go index 82d59625ac8..13c357d6ae4 100644 --- a/service/supplychain/api_op_ListTagsForResource.go +++ b/service/supplychain/api_op_ListTagsForResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/supplychain/api_op_SendDataIntegrationEvent.go b/service/supplychain/api_op_SendDataIntegrationEvent.go index 5b962de5686..3a736f21642 100644 --- a/service/supplychain/api_op_SendDataIntegrationEvent.go +++ b/service/supplychain/api_op_SendDataIntegrationEvent.go @@ -146,9 +146,6 @@ func (c *Client) addOperationSendDataIntegrationEventMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opSendDataIntegrationEventMiddleware(stack, options); err != nil { return err } diff --git a/service/supplychain/api_op_TagResource.go b/service/supplychain/api_op_TagResource.go index b37f091f7c9..ecf890a732e 100644 --- a/service/supplychain/api_op_TagResource.go +++ b/service/supplychain/api_op_TagResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/supplychain/api_op_UntagResource.go b/service/supplychain/api_op_UntagResource.go index f46f45b814d..55edbd94d77 100644 --- a/service/supplychain/api_op_UntagResource.go +++ b/service/supplychain/api_op_UntagResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/supplychain/api_op_UpdateDataIntegrationFlow.go b/service/supplychain/api_op_UpdateDataIntegrationFlow.go index 8b902dab67f..32f9830f803 100644 --- a/service/supplychain/api_op_UpdateDataIntegrationFlow.go +++ b/service/supplychain/api_op_UpdateDataIntegrationFlow.go @@ -133,9 +133,6 @@ func (c *Client) addOperationUpdateDataIntegrationFlowMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDataIntegrationFlowValidationMiddleware(stack); err != nil { return err } diff --git a/service/supplychain/api_op_UpdateDataLakeDataset.go b/service/supplychain/api_op_UpdateDataLakeDataset.go index 41d0f12af0a..55ba40dcd1f 100644 --- a/service/supplychain/api_op_UpdateDataLakeDataset.go +++ b/service/supplychain/api_op_UpdateDataLakeDataset.go @@ -141,9 +141,6 @@ func (c *Client) addOperationUpdateDataLakeDatasetMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDataLakeDatasetValidationMiddleware(stack); err != nil { return err } diff --git a/service/supplychain/api_op_UpdateInstance.go b/service/supplychain/api_op_UpdateInstance.go index 053e211fb8a..3e707f4c0d2 100644 --- a/service/supplychain/api_op_UpdateInstance.go +++ b/service/supplychain/api_op_UpdateInstance.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateInstanceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/supplychain/snapshot/api_op_CreateBillOfMaterialsImportJob.go.snap b/service/supplychain/snapshot/api_op_CreateBillOfMaterialsImportJob.go.snap index bb9ea6d086e..a2a7869047f 100644 --- a/service/supplychain/snapshot/api_op_CreateBillOfMaterialsImportJob.go.snap +++ b/service/supplychain/snapshot/api_op_CreateBillOfMaterialsImportJob.go.snap @@ -15,7 +15,6 @@ CreateBillOfMaterialsImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/supplychain/snapshot/api_op_CreateDataIntegrationFlow.go.snap b/service/supplychain/snapshot/api_op_CreateDataIntegrationFlow.go.snap index 751d9e3774f..0f7c8d5a564 100644 --- a/service/supplychain/snapshot/api_op_CreateDataIntegrationFlow.go.snap +++ b/service/supplychain/snapshot/api_op_CreateDataIntegrationFlow.go.snap @@ -14,7 +14,6 @@ CreateDataIntegrationFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/supplychain/snapshot/api_op_CreateDataLakeDataset.go.snap b/service/supplychain/snapshot/api_op_CreateDataLakeDataset.go.snap index 7b04c1827e0..4100cbc03f4 100644 --- a/service/supplychain/snapshot/api_op_CreateDataLakeDataset.go.snap +++ b/service/supplychain/snapshot/api_op_CreateDataLakeDataset.go.snap @@ -14,7 +14,6 @@ CreateDataLakeDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/supplychain/snapshot/api_op_CreateInstance.go.snap b/service/supplychain/snapshot/api_op_CreateInstance.go.snap index 6b39374f0d2..ba882e94980 100644 --- a/service/supplychain/snapshot/api_op_CreateInstance.go.snap +++ b/service/supplychain/snapshot/api_op_CreateInstance.go.snap @@ -14,7 +14,6 @@ CreateInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/supplychain/snapshot/api_op_DeleteDataIntegrationFlow.go.snap b/service/supplychain/snapshot/api_op_DeleteDataIntegrationFlow.go.snap index 07df68259e0..6d3a0f657a5 100644 --- a/service/supplychain/snapshot/api_op_DeleteDataIntegrationFlow.go.snap +++ b/service/supplychain/snapshot/api_op_DeleteDataIntegrationFlow.go.snap @@ -14,7 +14,6 @@ DeleteDataIntegrationFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/supplychain/snapshot/api_op_DeleteDataLakeDataset.go.snap b/service/supplychain/snapshot/api_op_DeleteDataLakeDataset.go.snap index 8886e564295..f63b0d66579 100644 --- a/service/supplychain/snapshot/api_op_DeleteDataLakeDataset.go.snap +++ b/service/supplychain/snapshot/api_op_DeleteDataLakeDataset.go.snap @@ -14,7 +14,6 @@ DeleteDataLakeDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/supplychain/snapshot/api_op_DeleteInstance.go.snap b/service/supplychain/snapshot/api_op_DeleteInstance.go.snap index 824b539eb6b..c62b128cf8d 100644 --- a/service/supplychain/snapshot/api_op_DeleteInstance.go.snap +++ b/service/supplychain/snapshot/api_op_DeleteInstance.go.snap @@ -14,7 +14,6 @@ DeleteInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/supplychain/snapshot/api_op_GetBillOfMaterialsImportJob.go.snap b/service/supplychain/snapshot/api_op_GetBillOfMaterialsImportJob.go.snap index a8aa09a210f..f66c1dd2999 100644 --- a/service/supplychain/snapshot/api_op_GetBillOfMaterialsImportJob.go.snap +++ b/service/supplychain/snapshot/api_op_GetBillOfMaterialsImportJob.go.snap @@ -14,7 +14,6 @@ GetBillOfMaterialsImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/supplychain/snapshot/api_op_GetDataIntegrationFlow.go.snap b/service/supplychain/snapshot/api_op_GetDataIntegrationFlow.go.snap index 7806ae02cca..a3c9835c5ea 100644 --- a/service/supplychain/snapshot/api_op_GetDataIntegrationFlow.go.snap +++ b/service/supplychain/snapshot/api_op_GetDataIntegrationFlow.go.snap @@ -14,7 +14,6 @@ GetDataIntegrationFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/supplychain/snapshot/api_op_GetDataLakeDataset.go.snap b/service/supplychain/snapshot/api_op_GetDataLakeDataset.go.snap index d95e0582df4..c1b3fd53710 100644 --- a/service/supplychain/snapshot/api_op_GetDataLakeDataset.go.snap +++ b/service/supplychain/snapshot/api_op_GetDataLakeDataset.go.snap @@ -14,7 +14,6 @@ GetDataLakeDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/supplychain/snapshot/api_op_GetInstance.go.snap b/service/supplychain/snapshot/api_op_GetInstance.go.snap index 729762d50d4..077b1594cb9 100644 --- a/service/supplychain/snapshot/api_op_GetInstance.go.snap +++ b/service/supplychain/snapshot/api_op_GetInstance.go.snap @@ -14,7 +14,6 @@ GetInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/supplychain/snapshot/api_op_ListDataIntegrationFlows.go.snap b/service/supplychain/snapshot/api_op_ListDataIntegrationFlows.go.snap index bfea0564975..69b7f942dca 100644 --- a/service/supplychain/snapshot/api_op_ListDataIntegrationFlows.go.snap +++ b/service/supplychain/snapshot/api_op_ListDataIntegrationFlows.go.snap @@ -14,7 +14,6 @@ ListDataIntegrationFlows Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/supplychain/snapshot/api_op_ListDataLakeDatasets.go.snap b/service/supplychain/snapshot/api_op_ListDataLakeDatasets.go.snap index 3a68f8a3cd4..7a3454e8516 100644 --- a/service/supplychain/snapshot/api_op_ListDataLakeDatasets.go.snap +++ b/service/supplychain/snapshot/api_op_ListDataLakeDatasets.go.snap @@ -14,7 +14,6 @@ ListDataLakeDatasets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/supplychain/snapshot/api_op_ListInstances.go.snap b/service/supplychain/snapshot/api_op_ListInstances.go.snap index 139cc49a2f4..92646b4f428 100644 --- a/service/supplychain/snapshot/api_op_ListInstances.go.snap +++ b/service/supplychain/snapshot/api_op_ListInstances.go.snap @@ -13,7 +13,6 @@ ListInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/supplychain/snapshot/api_op_ListTagsForResource.go.snap b/service/supplychain/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/supplychain/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/supplychain/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/supplychain/snapshot/api_op_SendDataIntegrationEvent.go.snap b/service/supplychain/snapshot/api_op_SendDataIntegrationEvent.go.snap index e9c14b81cae..b1633fb1e58 100644 --- a/service/supplychain/snapshot/api_op_SendDataIntegrationEvent.go.snap +++ b/service/supplychain/snapshot/api_op_SendDataIntegrationEvent.go.snap @@ -15,7 +15,6 @@ SendDataIntegrationEvent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/supplychain/snapshot/api_op_TagResource.go.snap b/service/supplychain/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/supplychain/snapshot/api_op_TagResource.go.snap +++ b/service/supplychain/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/supplychain/snapshot/api_op_UntagResource.go.snap b/service/supplychain/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/supplychain/snapshot/api_op_UntagResource.go.snap +++ b/service/supplychain/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/supplychain/snapshot/api_op_UpdateDataIntegrationFlow.go.snap b/service/supplychain/snapshot/api_op_UpdateDataIntegrationFlow.go.snap index 4c7eceb0ca4..6b7db7c1a09 100644 --- a/service/supplychain/snapshot/api_op_UpdateDataIntegrationFlow.go.snap +++ b/service/supplychain/snapshot/api_op_UpdateDataIntegrationFlow.go.snap @@ -14,7 +14,6 @@ UpdateDataIntegrationFlow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/supplychain/snapshot/api_op_UpdateDataLakeDataset.go.snap b/service/supplychain/snapshot/api_op_UpdateDataLakeDataset.go.snap index 7c0162c5d5a..bfd17de812d 100644 --- a/service/supplychain/snapshot/api_op_UpdateDataLakeDataset.go.snap +++ b/service/supplychain/snapshot/api_op_UpdateDataLakeDataset.go.snap @@ -14,7 +14,6 @@ UpdateDataLakeDataset Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/supplychain/snapshot/api_op_UpdateInstance.go.snap b/service/supplychain/snapshot/api_op_UpdateInstance.go.snap index b383487fe65..ec44284e49a 100644 --- a/service/supplychain/snapshot/api_op_UpdateInstance.go.snap +++ b/service/supplychain/snapshot/api_op_UpdateInstance.go.snap @@ -14,7 +14,6 @@ UpdateInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/support/api_client.go b/service/support/api_client.go index c34d741beba..e11f6653486 100644 --- a/service/support/api_client.go +++ b/service/support/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/support/api_op_AddAttachmentsToSet.go b/service/support/api_op_AddAttachmentsToSet.go index b3e12514950..46b7f817e40 100644 --- a/service/support/api_op_AddAttachmentsToSet.go +++ b/service/support/api_op_AddAttachmentsToSet.go @@ -145,9 +145,6 @@ func (c *Client) addOperationAddAttachmentsToSetMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddAttachmentsToSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/support/api_op_AddCommunicationToCase.go b/service/support/api_op_AddCommunicationToCase.go index a1225e56980..a4c9ad71ff5 100644 --- a/service/support/api_op_AddCommunicationToCase.go +++ b/service/support/api_op_AddCommunicationToCase.go @@ -138,9 +138,6 @@ func (c *Client) addOperationAddCommunicationToCaseMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddCommunicationToCaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/support/api_op_CreateCase.go b/service/support/api_op_CreateCase.go index 5306046d0c8..3ef157cdc35 100644 --- a/service/support/api_op_CreateCase.go +++ b/service/support/api_op_CreateCase.go @@ -197,9 +197,6 @@ func (c *Client) addOperationCreateCaseMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/support/api_op_DescribeAttachment.go b/service/support/api_op_DescribeAttachment.go index 460349b247e..cc170e9a02a 100644 --- a/service/support/api_op_DescribeAttachment.go +++ b/service/support/api_op_DescribeAttachment.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeAttachmentMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAttachmentValidationMiddleware(stack); err != nil { return err } diff --git a/service/support/api_op_DescribeCases.go b/service/support/api_op_DescribeCases.go index 1da71c95ef3..f5ed6c874c0 100644 --- a/service/support/api_op_DescribeCases.go +++ b/service/support/api_op_DescribeCases.go @@ -174,9 +174,6 @@ func (c *Client) addOperationDescribeCasesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCases(options.Region), middleware.Before); err != nil { return err } diff --git a/service/support/api_op_DescribeCommunications.go b/service/support/api_op_DescribeCommunications.go index e9fe7bfdc16..b06853aa00f 100644 --- a/service/support/api_op_DescribeCommunications.go +++ b/service/support/api_op_DescribeCommunications.go @@ -151,9 +151,6 @@ func (c *Client) addOperationDescribeCommunicationsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCommunicationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/support/api_op_DescribeCreateCaseOptions.go b/service/support/api_op_DescribeCreateCaseOptions.go index 0e5a59879c1..13abcb829fe 100644 --- a/service/support/api_op_DescribeCreateCaseOptions.go +++ b/service/support/api_op_DescribeCreateCaseOptions.go @@ -156,9 +156,6 @@ func (c *Client) addOperationDescribeCreateCaseOptionsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCreateCaseOptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/support/api_op_DescribeServices.go b/service/support/api_op_DescribeServices.go index 6bc912033fc..396ff102947 100644 --- a/service/support/api_op_DescribeServices.go +++ b/service/support/api_op_DescribeServices.go @@ -138,9 +138,6 @@ func (c *Client) addOperationDescribeServicesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeServices(options.Region), middleware.Before); err != nil { return err } diff --git a/service/support/api_op_DescribeSeverityLevels.go b/service/support/api_op_DescribeSeverityLevels.go index 2cf52872a43..71966076d0f 100644 --- a/service/support/api_op_DescribeSeverityLevels.go +++ b/service/support/api_op_DescribeSeverityLevels.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeSeverityLevelsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSeverityLevels(options.Region), middleware.Before); err != nil { return err } diff --git a/service/support/api_op_DescribeSupportedLanguages.go b/service/support/api_op_DescribeSupportedLanguages.go index f99e1edb505..0f16790c9d8 100644 --- a/service/support/api_op_DescribeSupportedLanguages.go +++ b/service/support/api_op_DescribeSupportedLanguages.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDescribeSupportedLanguagesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSupportedLanguagesValidationMiddleware(stack); err != nil { return err } diff --git a/service/support/api_op_DescribeTrustedAdvisorCheckRefreshStatuses.go b/service/support/api_op_DescribeTrustedAdvisorCheckRefreshStatuses.go index bb483108d61..bd3eff127d2 100644 --- a/service/support/api_op_DescribeTrustedAdvisorCheckRefreshStatuses.go +++ b/service/support/api_op_DescribeTrustedAdvisorCheckRefreshStatuses.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDescribeTrustedAdvisorCheckRefreshStatusesMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTrustedAdvisorCheckRefreshStatusesValidationMiddleware(stack); err != nil { return err } diff --git a/service/support/api_op_DescribeTrustedAdvisorCheckResult.go b/service/support/api_op_DescribeTrustedAdvisorCheckResult.go index 0af9968134d..dd0d1c84a90 100644 --- a/service/support/api_op_DescribeTrustedAdvisorCheckResult.go +++ b/service/support/api_op_DescribeTrustedAdvisorCheckResult.go @@ -176,9 +176,6 @@ func (c *Client) addOperationDescribeTrustedAdvisorCheckResultMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTrustedAdvisorCheckResultValidationMiddleware(stack); err != nil { return err } diff --git a/service/support/api_op_DescribeTrustedAdvisorCheckSummaries.go b/service/support/api_op_DescribeTrustedAdvisorCheckSummaries.go index cbb10834da7..62d99f96f4d 100644 --- a/service/support/api_op_DescribeTrustedAdvisorCheckSummaries.go +++ b/service/support/api_op_DescribeTrustedAdvisorCheckSummaries.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeTrustedAdvisorCheckSummariesMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTrustedAdvisorCheckSummariesValidationMiddleware(stack); err != nil { return err } diff --git a/service/support/api_op_DescribeTrustedAdvisorChecks.go b/service/support/api_op_DescribeTrustedAdvisorChecks.go index 3534479b5c0..2e62c362180 100644 --- a/service/support/api_op_DescribeTrustedAdvisorChecks.go +++ b/service/support/api_op_DescribeTrustedAdvisorChecks.go @@ -164,9 +164,6 @@ func (c *Client) addOperationDescribeTrustedAdvisorChecksMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTrustedAdvisorChecksValidationMiddleware(stack); err != nil { return err } diff --git a/service/support/api_op_RefreshTrustedAdvisorCheck.go b/service/support/api_op_RefreshTrustedAdvisorCheck.go index 1cbea9c74fa..face8566a42 100644 --- a/service/support/api_op_RefreshTrustedAdvisorCheck.go +++ b/service/support/api_op_RefreshTrustedAdvisorCheck.go @@ -142,9 +142,6 @@ func (c *Client) addOperationRefreshTrustedAdvisorCheckMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRefreshTrustedAdvisorCheckValidationMiddleware(stack); err != nil { return err } diff --git a/service/support/api_op_ResolveCase.go b/service/support/api_op_ResolveCase.go index ea279974c26..46e37479100 100644 --- a/service/support/api_op_ResolveCase.go +++ b/service/support/api_op_ResolveCase.go @@ -126,9 +126,6 @@ func (c *Client) addOperationResolveCaseMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opResolveCase(options.Region), middleware.Before); err != nil { return err } diff --git a/service/support/snapshot/api_op_AddAttachmentsToSet.go.snap b/service/support/snapshot/api_op_AddAttachmentsToSet.go.snap index 2eb3f5050cb..08520815043 100644 --- a/service/support/snapshot/api_op_AddAttachmentsToSet.go.snap +++ b/service/support/snapshot/api_op_AddAttachmentsToSet.go.snap @@ -14,7 +14,6 @@ AddAttachmentsToSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/support/snapshot/api_op_AddCommunicationToCase.go.snap b/service/support/snapshot/api_op_AddCommunicationToCase.go.snap index f57a3f10f70..05e79adc6cf 100644 --- a/service/support/snapshot/api_op_AddCommunicationToCase.go.snap +++ b/service/support/snapshot/api_op_AddCommunicationToCase.go.snap @@ -14,7 +14,6 @@ AddCommunicationToCase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/support/snapshot/api_op_CreateCase.go.snap b/service/support/snapshot/api_op_CreateCase.go.snap index 862edf1d74f..9d23c7093c5 100644 --- a/service/support/snapshot/api_op_CreateCase.go.snap +++ b/service/support/snapshot/api_op_CreateCase.go.snap @@ -14,7 +14,6 @@ CreateCase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/support/snapshot/api_op_DescribeAttachment.go.snap b/service/support/snapshot/api_op_DescribeAttachment.go.snap index e09c32afeea..2d37cde3585 100644 --- a/service/support/snapshot/api_op_DescribeAttachment.go.snap +++ b/service/support/snapshot/api_op_DescribeAttachment.go.snap @@ -14,7 +14,6 @@ DescribeAttachment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/support/snapshot/api_op_DescribeCases.go.snap b/service/support/snapshot/api_op_DescribeCases.go.snap index 64cd5f56f8a..5f5b953f9e0 100644 --- a/service/support/snapshot/api_op_DescribeCases.go.snap +++ b/service/support/snapshot/api_op_DescribeCases.go.snap @@ -13,7 +13,6 @@ DescribeCases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/support/snapshot/api_op_DescribeCommunications.go.snap b/service/support/snapshot/api_op_DescribeCommunications.go.snap index f7b33586d01..d20006682f5 100644 --- a/service/support/snapshot/api_op_DescribeCommunications.go.snap +++ b/service/support/snapshot/api_op_DescribeCommunications.go.snap @@ -14,7 +14,6 @@ DescribeCommunications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/support/snapshot/api_op_DescribeCreateCaseOptions.go.snap b/service/support/snapshot/api_op_DescribeCreateCaseOptions.go.snap index e540779ea12..61f93d3a6bd 100644 --- a/service/support/snapshot/api_op_DescribeCreateCaseOptions.go.snap +++ b/service/support/snapshot/api_op_DescribeCreateCaseOptions.go.snap @@ -14,7 +14,6 @@ DescribeCreateCaseOptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/support/snapshot/api_op_DescribeServices.go.snap b/service/support/snapshot/api_op_DescribeServices.go.snap index c7f0f24baab..79416e93ea8 100644 --- a/service/support/snapshot/api_op_DescribeServices.go.snap +++ b/service/support/snapshot/api_op_DescribeServices.go.snap @@ -13,7 +13,6 @@ DescribeServices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/support/snapshot/api_op_DescribeSeverityLevels.go.snap b/service/support/snapshot/api_op_DescribeSeverityLevels.go.snap index 6684e752ebd..4965afd4617 100644 --- a/service/support/snapshot/api_op_DescribeSeverityLevels.go.snap +++ b/service/support/snapshot/api_op_DescribeSeverityLevels.go.snap @@ -13,7 +13,6 @@ DescribeSeverityLevels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/support/snapshot/api_op_DescribeSupportedLanguages.go.snap b/service/support/snapshot/api_op_DescribeSupportedLanguages.go.snap index a1ccca4af82..ad7f96d7caa 100644 --- a/service/support/snapshot/api_op_DescribeSupportedLanguages.go.snap +++ b/service/support/snapshot/api_op_DescribeSupportedLanguages.go.snap @@ -14,7 +14,6 @@ DescribeSupportedLanguages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/support/snapshot/api_op_DescribeTrustedAdvisorCheckRefreshStatuses.go.snap b/service/support/snapshot/api_op_DescribeTrustedAdvisorCheckRefreshStatuses.go.snap index 35d5513d90e..8f690d9828f 100644 --- a/service/support/snapshot/api_op_DescribeTrustedAdvisorCheckRefreshStatuses.go.snap +++ b/service/support/snapshot/api_op_DescribeTrustedAdvisorCheckRefreshStatuses.go.snap @@ -14,7 +14,6 @@ DescribeTrustedAdvisorCheckRefreshStatuses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/support/snapshot/api_op_DescribeTrustedAdvisorCheckResult.go.snap b/service/support/snapshot/api_op_DescribeTrustedAdvisorCheckResult.go.snap index 6585610f71a..392c8adfd31 100644 --- a/service/support/snapshot/api_op_DescribeTrustedAdvisorCheckResult.go.snap +++ b/service/support/snapshot/api_op_DescribeTrustedAdvisorCheckResult.go.snap @@ -14,7 +14,6 @@ DescribeTrustedAdvisorCheckResult Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/support/snapshot/api_op_DescribeTrustedAdvisorCheckSummaries.go.snap b/service/support/snapshot/api_op_DescribeTrustedAdvisorCheckSummaries.go.snap index 572e16433c8..a289e3f4f1c 100644 --- a/service/support/snapshot/api_op_DescribeTrustedAdvisorCheckSummaries.go.snap +++ b/service/support/snapshot/api_op_DescribeTrustedAdvisorCheckSummaries.go.snap @@ -14,7 +14,6 @@ DescribeTrustedAdvisorCheckSummaries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/support/snapshot/api_op_DescribeTrustedAdvisorChecks.go.snap b/service/support/snapshot/api_op_DescribeTrustedAdvisorChecks.go.snap index 42fc2a61a9c..eb81b6498dd 100644 --- a/service/support/snapshot/api_op_DescribeTrustedAdvisorChecks.go.snap +++ b/service/support/snapshot/api_op_DescribeTrustedAdvisorChecks.go.snap @@ -14,7 +14,6 @@ DescribeTrustedAdvisorChecks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/support/snapshot/api_op_RefreshTrustedAdvisorCheck.go.snap b/service/support/snapshot/api_op_RefreshTrustedAdvisorCheck.go.snap index b6f989098f2..713f4af8fa3 100644 --- a/service/support/snapshot/api_op_RefreshTrustedAdvisorCheck.go.snap +++ b/service/support/snapshot/api_op_RefreshTrustedAdvisorCheck.go.snap @@ -14,7 +14,6 @@ RefreshTrustedAdvisorCheck Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/support/snapshot/api_op_ResolveCase.go.snap b/service/support/snapshot/api_op_ResolveCase.go.snap index bf11b27a3b6..00e8215ad86 100644 --- a/service/support/snapshot/api_op_ResolveCase.go.snap +++ b/service/support/snapshot/api_op_ResolveCase.go.snap @@ -13,7 +13,6 @@ ResolveCase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/supportapp/api_client.go b/service/supportapp/api_client.go index a1a64554d78..1de01616305 100644 --- a/service/supportapp/api_client.go +++ b/service/supportapp/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/supportapp/api_op_CreateSlackChannelConfiguration.go b/service/supportapp/api_op_CreateSlackChannelConfiguration.go index d8bf8fe9690..610f440f703 100644 --- a/service/supportapp/api_op_CreateSlackChannelConfiguration.go +++ b/service/supportapp/api_op_CreateSlackChannelConfiguration.go @@ -175,9 +175,6 @@ func (c *Client) addOperationCreateSlackChannelConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSlackChannelConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/supportapp/api_op_DeleteAccountAlias.go b/service/supportapp/api_op_DeleteAccountAlias.go index 1451de57a88..83499df21e5 100644 --- a/service/supportapp/api_op_DeleteAccountAlias.go +++ b/service/supportapp/api_op_DeleteAccountAlias.go @@ -104,9 +104,6 @@ func (c *Client) addOperationDeleteAccountAliasMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAccountAlias(options.Region), middleware.Before); err != nil { return err } diff --git a/service/supportapp/api_op_DeleteSlackChannelConfiguration.go b/service/supportapp/api_op_DeleteSlackChannelConfiguration.go index 14b0ce154a8..8b4074ff17d 100644 --- a/service/supportapp/api_op_DeleteSlackChannelConfiguration.go +++ b/service/supportapp/api_op_DeleteSlackChannelConfiguration.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteSlackChannelConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSlackChannelConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/supportapp/api_op_DeleteSlackWorkspaceConfiguration.go b/service/supportapp/api_op_DeleteSlackWorkspaceConfiguration.go index c80ce7d2cdf..1e0e646feb9 100644 --- a/service/supportapp/api_op_DeleteSlackWorkspaceConfiguration.go +++ b/service/supportapp/api_op_DeleteSlackWorkspaceConfiguration.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteSlackWorkspaceConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSlackWorkspaceConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/supportapp/api_op_GetAccountAlias.go b/service/supportapp/api_op_GetAccountAlias.go index da7b8cb40ea..95dc93f4f96 100644 --- a/service/supportapp/api_op_GetAccountAlias.go +++ b/service/supportapp/api_op_GetAccountAlias.go @@ -108,9 +108,6 @@ func (c *Client) addOperationGetAccountAliasMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountAlias(options.Region), middleware.Before); err != nil { return err } diff --git a/service/supportapp/api_op_ListSlackChannelConfigurations.go b/service/supportapp/api_op_ListSlackChannelConfigurations.go index 8ac2b1b8a4e..cfa98683b5c 100644 --- a/service/supportapp/api_op_ListSlackChannelConfigurations.go +++ b/service/supportapp/api_op_ListSlackChannelConfigurations.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListSlackChannelConfigurationsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSlackChannelConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/supportapp/api_op_ListSlackWorkspaceConfigurations.go b/service/supportapp/api_op_ListSlackWorkspaceConfigurations.go index 785d8698435..c1e70f65b2b 100644 --- a/service/supportapp/api_op_ListSlackWorkspaceConfigurations.go +++ b/service/supportapp/api_op_ListSlackWorkspaceConfigurations.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListSlackWorkspaceConfigurationsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSlackWorkspaceConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/supportapp/api_op_PutAccountAlias.go b/service/supportapp/api_op_PutAccountAlias.go index dcc931da4f0..b4e56961901 100644 --- a/service/supportapp/api_op_PutAccountAlias.go +++ b/service/supportapp/api_op_PutAccountAlias.go @@ -110,9 +110,6 @@ func (c *Client) addOperationPutAccountAliasMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutAccountAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/supportapp/api_op_RegisterSlackWorkspaceForOrganization.go b/service/supportapp/api_op_RegisterSlackWorkspaceForOrganization.go index 688f1cbaa16..96f6dd7532c 100644 --- a/service/supportapp/api_op_RegisterSlackWorkspaceForOrganization.go +++ b/service/supportapp/api_op_RegisterSlackWorkspaceForOrganization.go @@ -152,9 +152,6 @@ func (c *Client) addOperationRegisterSlackWorkspaceForOrganizationMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterSlackWorkspaceForOrganizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/supportapp/api_op_UpdateSlackChannelConfiguration.go b/service/supportapp/api_op_UpdateSlackChannelConfiguration.go index 97aa5a2c86b..37688f8209c 100644 --- a/service/supportapp/api_op_UpdateSlackChannelConfiguration.go +++ b/service/supportapp/api_op_UpdateSlackChannelConfiguration.go @@ -189,9 +189,6 @@ func (c *Client) addOperationUpdateSlackChannelConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSlackChannelConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/supportapp/snapshot/api_op_CreateSlackChannelConfiguration.go.snap b/service/supportapp/snapshot/api_op_CreateSlackChannelConfiguration.go.snap index 879e2540b31..453c78b0323 100644 --- a/service/supportapp/snapshot/api_op_CreateSlackChannelConfiguration.go.snap +++ b/service/supportapp/snapshot/api_op_CreateSlackChannelConfiguration.go.snap @@ -14,7 +14,6 @@ CreateSlackChannelConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/supportapp/snapshot/api_op_DeleteAccountAlias.go.snap b/service/supportapp/snapshot/api_op_DeleteAccountAlias.go.snap index a5c437a6167..3dcaca5ec4d 100644 --- a/service/supportapp/snapshot/api_op_DeleteAccountAlias.go.snap +++ b/service/supportapp/snapshot/api_op_DeleteAccountAlias.go.snap @@ -13,7 +13,6 @@ DeleteAccountAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/supportapp/snapshot/api_op_DeleteSlackChannelConfiguration.go.snap b/service/supportapp/snapshot/api_op_DeleteSlackChannelConfiguration.go.snap index 3ce4ddaef47..7cc74d161c9 100644 --- a/service/supportapp/snapshot/api_op_DeleteSlackChannelConfiguration.go.snap +++ b/service/supportapp/snapshot/api_op_DeleteSlackChannelConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteSlackChannelConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/supportapp/snapshot/api_op_DeleteSlackWorkspaceConfiguration.go.snap b/service/supportapp/snapshot/api_op_DeleteSlackWorkspaceConfiguration.go.snap index 37722a516d5..e0fe28464cd 100644 --- a/service/supportapp/snapshot/api_op_DeleteSlackWorkspaceConfiguration.go.snap +++ b/service/supportapp/snapshot/api_op_DeleteSlackWorkspaceConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteSlackWorkspaceConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/supportapp/snapshot/api_op_GetAccountAlias.go.snap b/service/supportapp/snapshot/api_op_GetAccountAlias.go.snap index 3ebd865c28e..af9a1aa7148 100644 --- a/service/supportapp/snapshot/api_op_GetAccountAlias.go.snap +++ b/service/supportapp/snapshot/api_op_GetAccountAlias.go.snap @@ -13,7 +13,6 @@ GetAccountAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/supportapp/snapshot/api_op_ListSlackChannelConfigurations.go.snap b/service/supportapp/snapshot/api_op_ListSlackChannelConfigurations.go.snap index a80ddc159e7..d19c9a97e68 100644 --- a/service/supportapp/snapshot/api_op_ListSlackChannelConfigurations.go.snap +++ b/service/supportapp/snapshot/api_op_ListSlackChannelConfigurations.go.snap @@ -13,7 +13,6 @@ ListSlackChannelConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/supportapp/snapshot/api_op_ListSlackWorkspaceConfigurations.go.snap b/service/supportapp/snapshot/api_op_ListSlackWorkspaceConfigurations.go.snap index b71f7985c7f..415cd5ca2bc 100644 --- a/service/supportapp/snapshot/api_op_ListSlackWorkspaceConfigurations.go.snap +++ b/service/supportapp/snapshot/api_op_ListSlackWorkspaceConfigurations.go.snap @@ -13,7 +13,6 @@ ListSlackWorkspaceConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/supportapp/snapshot/api_op_PutAccountAlias.go.snap b/service/supportapp/snapshot/api_op_PutAccountAlias.go.snap index 1db40384852..2911a82c3c1 100644 --- a/service/supportapp/snapshot/api_op_PutAccountAlias.go.snap +++ b/service/supportapp/snapshot/api_op_PutAccountAlias.go.snap @@ -14,7 +14,6 @@ PutAccountAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/supportapp/snapshot/api_op_RegisterSlackWorkspaceForOrganization.go.snap b/service/supportapp/snapshot/api_op_RegisterSlackWorkspaceForOrganization.go.snap index d97d8617264..976f1d865ac 100644 --- a/service/supportapp/snapshot/api_op_RegisterSlackWorkspaceForOrganization.go.snap +++ b/service/supportapp/snapshot/api_op_RegisterSlackWorkspaceForOrganization.go.snap @@ -14,7 +14,6 @@ RegisterSlackWorkspaceForOrganization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/supportapp/snapshot/api_op_UpdateSlackChannelConfiguration.go.snap b/service/supportapp/snapshot/api_op_UpdateSlackChannelConfiguration.go.snap index 654a34ec3f5..4aa6c10ca31 100644 --- a/service/supportapp/snapshot/api_op_UpdateSlackChannelConfiguration.go.snap +++ b/service/supportapp/snapshot/api_op_UpdateSlackChannelConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateSlackChannelConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/api_client.go b/service/swf/api_client.go index 446166f2a49..0b0931443ce 100644 --- a/service/swf/api_client.go +++ b/service/swf/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/swf/api_op_CountClosedWorkflowExecutions.go b/service/swf/api_op_CountClosedWorkflowExecutions.go index c5a1b7d3809..0f272ca16db 100644 --- a/service/swf/api_op_CountClosedWorkflowExecutions.go +++ b/service/swf/api_op_CountClosedWorkflowExecutions.go @@ -191,9 +191,6 @@ func (c *Client) addOperationCountClosedWorkflowExecutionsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCountClosedWorkflowExecutionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_CountOpenWorkflowExecutions.go b/service/swf/api_op_CountOpenWorkflowExecutions.go index bf8f4185fc4..e6f4c2e0110 100644 --- a/service/swf/api_op_CountOpenWorkflowExecutions.go +++ b/service/swf/api_op_CountOpenWorkflowExecutions.go @@ -175,9 +175,6 @@ func (c *Client) addOperationCountOpenWorkflowExecutionsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCountOpenWorkflowExecutionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_CountPendingActivityTasks.go b/service/swf/api_op_CountPendingActivityTasks.go index 2dd0ebbf273..cdfab309392 100644 --- a/service/swf/api_op_CountPendingActivityTasks.go +++ b/service/swf/api_op_CountPendingActivityTasks.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCountPendingActivityTasksMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCountPendingActivityTasksValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_CountPendingDecisionTasks.go b/service/swf/api_op_CountPendingDecisionTasks.go index b60c8d3d5c5..c393d9380c0 100644 --- a/service/swf/api_op_CountPendingDecisionTasks.go +++ b/service/swf/api_op_CountPendingDecisionTasks.go @@ -147,9 +147,6 @@ func (c *Client) addOperationCountPendingDecisionTasksMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCountPendingDecisionTasksValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_DeleteActivityType.go b/service/swf/api_op_DeleteActivityType.go index 8efa3fa6e43..e6b5a7f2537 100644 --- a/service/swf/api_op_DeleteActivityType.go +++ b/service/swf/api_op_DeleteActivityType.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDeleteActivityTypeMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteActivityTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_DeleteWorkflowType.go b/service/swf/api_op_DeleteWorkflowType.go index 05eb7e67dbb..5ec0ba346aa 100644 --- a/service/swf/api_op_DeleteWorkflowType.go +++ b/service/swf/api_op_DeleteWorkflowType.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDeleteWorkflowTypeMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWorkflowTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_DeprecateActivityType.go b/service/swf/api_op_DeprecateActivityType.go index 55c80535295..bfd68a5ff79 100644 --- a/service/swf/api_op_DeprecateActivityType.go +++ b/service/swf/api_op_DeprecateActivityType.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDeprecateActivityTypeMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeprecateActivityTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_DeprecateDomain.go b/service/swf/api_op_DeprecateDomain.go index ea0526a28ae..94cab02a477 100644 --- a/service/swf/api_op_DeprecateDomain.go +++ b/service/swf/api_op_DeprecateDomain.go @@ -133,9 +133,6 @@ func (c *Client) addOperationDeprecateDomainMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeprecateDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_DeprecateWorkflowType.go b/service/swf/api_op_DeprecateWorkflowType.go index 9553b525372..240df60ba1c 100644 --- a/service/swf/api_op_DeprecateWorkflowType.go +++ b/service/swf/api_op_DeprecateWorkflowType.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDeprecateWorkflowTypeMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeprecateWorkflowTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_DescribeActivityType.go b/service/swf/api_op_DescribeActivityType.go index bca0c105056..03305440fd6 100644 --- a/service/swf/api_op_DescribeActivityType.go +++ b/service/swf/api_op_DescribeActivityType.go @@ -163,9 +163,6 @@ func (c *Client) addOperationDescribeActivityTypeMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeActivityTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_DescribeDomain.go b/service/swf/api_op_DescribeDomain.go index 6c83eff0094..1a400e3813f 100644 --- a/service/swf/api_op_DescribeDomain.go +++ b/service/swf/api_op_DescribeDomain.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDescribeDomainMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_DescribeWorkflowExecution.go b/service/swf/api_op_DescribeWorkflowExecution.go index 5d199b30b47..853fbea6c39 100644 --- a/service/swf/api_op_DescribeWorkflowExecution.go +++ b/service/swf/api_op_DescribeWorkflowExecution.go @@ -166,9 +166,6 @@ func (c *Client) addOperationDescribeWorkflowExecutionMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeWorkflowExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_DescribeWorkflowType.go b/service/swf/api_op_DescribeWorkflowType.go index 795c793fa52..321ad8829e3 100644 --- a/service/swf/api_op_DescribeWorkflowType.go +++ b/service/swf/api_op_DescribeWorkflowType.go @@ -162,9 +162,6 @@ func (c *Client) addOperationDescribeWorkflowTypeMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeWorkflowTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_GetWorkflowExecutionHistory.go b/service/swf/api_op_GetWorkflowExecutionHistory.go index 05bb8781772..3c8aa47eabb 100644 --- a/service/swf/api_op_GetWorkflowExecutionHistory.go +++ b/service/swf/api_op_GetWorkflowExecutionHistory.go @@ -173,9 +173,6 @@ func (c *Client) addOperationGetWorkflowExecutionHistoryMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWorkflowExecutionHistoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_ListActivityTypes.go b/service/swf/api_op_ListActivityTypes.go index 075b0bd6ac3..1bd0c3c49d8 100644 --- a/service/swf/api_op_ListActivityTypes.go +++ b/service/swf/api_op_ListActivityTypes.go @@ -173,9 +173,6 @@ func (c *Client) addOperationListActivityTypesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListActivityTypesValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_ListClosedWorkflowExecutions.go b/service/swf/api_op_ListClosedWorkflowExecutions.go index a3d68b62826..d655794cee4 100644 --- a/service/swf/api_op_ListClosedWorkflowExecutions.go +++ b/service/swf/api_op_ListClosedWorkflowExecutions.go @@ -220,9 +220,6 @@ func (c *Client) addOperationListClosedWorkflowExecutionsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListClosedWorkflowExecutionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_ListDomains.go b/service/swf/api_op_ListDomains.go index b320c215055..42c046b418d 100644 --- a/service/swf/api_op_ListDomains.go +++ b/service/swf/api_op_ListDomains.go @@ -167,9 +167,6 @@ func (c *Client) addOperationListDomainsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDomainsValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_ListOpenWorkflowExecutions.go b/service/swf/api_op_ListOpenWorkflowExecutions.go index 7244033a466..3035b7a6124 100644 --- a/service/swf/api_op_ListOpenWorkflowExecutions.go +++ b/service/swf/api_op_ListOpenWorkflowExecutions.go @@ -199,9 +199,6 @@ func (c *Client) addOperationListOpenWorkflowExecutionsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListOpenWorkflowExecutionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_ListTagsForResource.go b/service/swf/api_op_ListTagsForResource.go index 7d8980939fb..8aa8b606234 100644 --- a/service/swf/api_op_ListTagsForResource.go +++ b/service/swf/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_ListWorkflowTypes.go b/service/swf/api_op_ListWorkflowTypes.go index 4f7d0d299aa..a1f70d21829 100644 --- a/service/swf/api_op_ListWorkflowTypes.go +++ b/service/swf/api_op_ListWorkflowTypes.go @@ -171,9 +171,6 @@ func (c *Client) addOperationListWorkflowTypesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListWorkflowTypesValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_PollForActivityTask.go b/service/swf/api_op_PollForActivityTask.go index 0aa4385bf05..5c4bab1bac0 100644 --- a/service/swf/api_op_PollForActivityTask.go +++ b/service/swf/api_op_PollForActivityTask.go @@ -185,9 +185,6 @@ func (c *Client) addOperationPollForActivityTaskMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPollForActivityTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_PollForDecisionTask.go b/service/swf/api_op_PollForDecisionTask.go index e57db499457..e2dd63ac75a 100644 --- a/service/swf/api_op_PollForDecisionTask.go +++ b/service/swf/api_op_PollForDecisionTask.go @@ -239,9 +239,6 @@ func (c *Client) addOperationPollForDecisionTaskMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPollForDecisionTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_RecordActivityTaskHeartbeat.go b/service/swf/api_op_RecordActivityTaskHeartbeat.go index 7553d59c2c8..b7fe398b535 100644 --- a/service/swf/api_op_RecordActivityTaskHeartbeat.go +++ b/service/swf/api_op_RecordActivityTaskHeartbeat.go @@ -165,9 +165,6 @@ func (c *Client) addOperationRecordActivityTaskHeartbeatMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRecordActivityTaskHeartbeatValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_RegisterActivityType.go b/service/swf/api_op_RegisterActivityType.go index 760cedf9f1b..c142c6f6b8e 100644 --- a/service/swf/api_op_RegisterActivityType.go +++ b/service/swf/api_op_RegisterActivityType.go @@ -217,9 +217,6 @@ func (c *Client) addOperationRegisterActivityTypeMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterActivityTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_RegisterDomain.go b/service/swf/api_op_RegisterDomain.go index c74a3bc7088..c66f7f725bf 100644 --- a/service/swf/api_op_RegisterDomain.go +++ b/service/swf/api_op_RegisterDomain.go @@ -158,9 +158,6 @@ func (c *Client) addOperationRegisterDomainMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_RegisterWorkflowType.go b/service/swf/api_op_RegisterWorkflowType.go index 11a1e16142e..7130efcd61e 100644 --- a/service/swf/api_op_RegisterWorkflowType.go +++ b/service/swf/api_op_RegisterWorkflowType.go @@ -231,9 +231,6 @@ func (c *Client) addOperationRegisterWorkflowTypeMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterWorkflowTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_RequestCancelWorkflowExecution.go b/service/swf/api_op_RequestCancelWorkflowExecution.go index 0745bd4353e..518e6085ce2 100644 --- a/service/swf/api_op_RequestCancelWorkflowExecution.go +++ b/service/swf/api_op_RequestCancelWorkflowExecution.go @@ -145,9 +145,6 @@ func (c *Client) addOperationRequestCancelWorkflowExecutionMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRequestCancelWorkflowExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_RespondActivityTaskCanceled.go b/service/swf/api_op_RespondActivityTaskCanceled.go index e98300e64bc..593ae023143 100644 --- a/service/swf/api_op_RespondActivityTaskCanceled.go +++ b/service/swf/api_op_RespondActivityTaskCanceled.go @@ -147,9 +147,6 @@ func (c *Client) addOperationRespondActivityTaskCanceledMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRespondActivityTaskCanceledValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_RespondActivityTaskCompleted.go b/service/swf/api_op_RespondActivityTaskCompleted.go index 29b610ee0cf..7397a3f432b 100644 --- a/service/swf/api_op_RespondActivityTaskCompleted.go +++ b/service/swf/api_op_RespondActivityTaskCompleted.go @@ -146,9 +146,6 @@ func (c *Client) addOperationRespondActivityTaskCompletedMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRespondActivityTaskCompletedValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_RespondActivityTaskFailed.go b/service/swf/api_op_RespondActivityTaskFailed.go index 1763c446a93..6aeb6a1c08b 100644 --- a/service/swf/api_op_RespondActivityTaskFailed.go +++ b/service/swf/api_op_RespondActivityTaskFailed.go @@ -144,9 +144,6 @@ func (c *Client) addOperationRespondActivityTaskFailedMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRespondActivityTaskFailedValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_RespondDecisionTaskCompleted.go b/service/swf/api_op_RespondDecisionTaskCompleted.go index df474b48abd..2be79f998a2 100644 --- a/service/swf/api_op_RespondDecisionTaskCompleted.go +++ b/service/swf/api_op_RespondDecisionTaskCompleted.go @@ -155,9 +155,6 @@ func (c *Client) addOperationRespondDecisionTaskCompletedMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRespondDecisionTaskCompletedValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_SignalWorkflowExecution.go b/service/swf/api_op_SignalWorkflowExecution.go index cfc50d7cdc2..405c26e5b42 100644 --- a/service/swf/api_op_SignalWorkflowExecution.go +++ b/service/swf/api_op_SignalWorkflowExecution.go @@ -153,9 +153,6 @@ func (c *Client) addOperationSignalWorkflowExecutionMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSignalWorkflowExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_StartWorkflowExecution.go b/service/swf/api_op_StartWorkflowExecution.go index 22e439a177a..efca27c82b0 100644 --- a/service/swf/api_op_StartWorkflowExecution.go +++ b/service/swf/api_op_StartWorkflowExecution.go @@ -273,9 +273,6 @@ func (c *Client) addOperationStartWorkflowExecutionMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartWorkflowExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_TagResource.go b/service/swf/api_op_TagResource.go index 26c2f111b17..beaacf9e10f 100644 --- a/service/swf/api_op_TagResource.go +++ b/service/swf/api_op_TagResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_TerminateWorkflowExecution.go b/service/swf/api_op_TerminateWorkflowExecution.go index c0d5eef6b56..c0138cef748 100644 --- a/service/swf/api_op_TerminateWorkflowExecution.go +++ b/service/swf/api_op_TerminateWorkflowExecution.go @@ -177,9 +177,6 @@ func (c *Client) addOperationTerminateWorkflowExecutionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTerminateWorkflowExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_UndeprecateActivityType.go b/service/swf/api_op_UndeprecateActivityType.go index 885887f35b7..2158b9bc065 100644 --- a/service/swf/api_op_UndeprecateActivityType.go +++ b/service/swf/api_op_UndeprecateActivityType.go @@ -142,9 +142,6 @@ func (c *Client) addOperationUndeprecateActivityTypeMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUndeprecateActivityTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_UndeprecateDomain.go b/service/swf/api_op_UndeprecateDomain.go index 5a815d4ceb7..b2bd8d371df 100644 --- a/service/swf/api_op_UndeprecateDomain.go +++ b/service/swf/api_op_UndeprecateDomain.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUndeprecateDomainMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUndeprecateDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_UndeprecateWorkflowType.go b/service/swf/api_op_UndeprecateWorkflowType.go index 71f5ea79739..9288fc485ba 100644 --- a/service/swf/api_op_UndeprecateWorkflowType.go +++ b/service/swf/api_op_UndeprecateWorkflowType.go @@ -142,9 +142,6 @@ func (c *Client) addOperationUndeprecateWorkflowTypeMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUndeprecateWorkflowTypeValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/api_op_UntagResource.go b/service/swf/api_op_UntagResource.go index a731f34c22a..0124aecc6b4 100644 --- a/service/swf/api_op_UntagResource.go +++ b/service/swf/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/swf/snapshot/api_op_CountClosedWorkflowExecutions.go.snap b/service/swf/snapshot/api_op_CountClosedWorkflowExecutions.go.snap index ec93f266d72..a9edcad9e25 100644 --- a/service/swf/snapshot/api_op_CountClosedWorkflowExecutions.go.snap +++ b/service/swf/snapshot/api_op_CountClosedWorkflowExecutions.go.snap @@ -14,7 +14,6 @@ CountClosedWorkflowExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_CountOpenWorkflowExecutions.go.snap b/service/swf/snapshot/api_op_CountOpenWorkflowExecutions.go.snap index 5339cb5bd5f..5b7f17d2262 100644 --- a/service/swf/snapshot/api_op_CountOpenWorkflowExecutions.go.snap +++ b/service/swf/snapshot/api_op_CountOpenWorkflowExecutions.go.snap @@ -14,7 +14,6 @@ CountOpenWorkflowExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_CountPendingActivityTasks.go.snap b/service/swf/snapshot/api_op_CountPendingActivityTasks.go.snap index dc270555c3b..b58b27e9a71 100644 --- a/service/swf/snapshot/api_op_CountPendingActivityTasks.go.snap +++ b/service/swf/snapshot/api_op_CountPendingActivityTasks.go.snap @@ -14,7 +14,6 @@ CountPendingActivityTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_CountPendingDecisionTasks.go.snap b/service/swf/snapshot/api_op_CountPendingDecisionTasks.go.snap index 1d89e431c1f..74c68278830 100644 --- a/service/swf/snapshot/api_op_CountPendingDecisionTasks.go.snap +++ b/service/swf/snapshot/api_op_CountPendingDecisionTasks.go.snap @@ -14,7 +14,6 @@ CountPendingDecisionTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_DeleteActivityType.go.snap b/service/swf/snapshot/api_op_DeleteActivityType.go.snap index 0b02587e5a8..39c91bf532a 100644 --- a/service/swf/snapshot/api_op_DeleteActivityType.go.snap +++ b/service/swf/snapshot/api_op_DeleteActivityType.go.snap @@ -14,7 +14,6 @@ DeleteActivityType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_DeleteWorkflowType.go.snap b/service/swf/snapshot/api_op_DeleteWorkflowType.go.snap index f2c55130db9..77a794dcb11 100644 --- a/service/swf/snapshot/api_op_DeleteWorkflowType.go.snap +++ b/service/swf/snapshot/api_op_DeleteWorkflowType.go.snap @@ -14,7 +14,6 @@ DeleteWorkflowType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_DeprecateActivityType.go.snap b/service/swf/snapshot/api_op_DeprecateActivityType.go.snap index 7a90c4c8d75..4fd4cd6f0e7 100644 --- a/service/swf/snapshot/api_op_DeprecateActivityType.go.snap +++ b/service/swf/snapshot/api_op_DeprecateActivityType.go.snap @@ -14,7 +14,6 @@ DeprecateActivityType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_DeprecateDomain.go.snap b/service/swf/snapshot/api_op_DeprecateDomain.go.snap index bf65751d196..9724cbc0fc0 100644 --- a/service/swf/snapshot/api_op_DeprecateDomain.go.snap +++ b/service/swf/snapshot/api_op_DeprecateDomain.go.snap @@ -14,7 +14,6 @@ DeprecateDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_DeprecateWorkflowType.go.snap b/service/swf/snapshot/api_op_DeprecateWorkflowType.go.snap index bcf1dc3913a..2a7919174b1 100644 --- a/service/swf/snapshot/api_op_DeprecateWorkflowType.go.snap +++ b/service/swf/snapshot/api_op_DeprecateWorkflowType.go.snap @@ -14,7 +14,6 @@ DeprecateWorkflowType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_DescribeActivityType.go.snap b/service/swf/snapshot/api_op_DescribeActivityType.go.snap index bfa4096f683..ab2e2ba4ae0 100644 --- a/service/swf/snapshot/api_op_DescribeActivityType.go.snap +++ b/service/swf/snapshot/api_op_DescribeActivityType.go.snap @@ -14,7 +14,6 @@ DescribeActivityType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_DescribeDomain.go.snap b/service/swf/snapshot/api_op_DescribeDomain.go.snap index 5f596bc704b..25b39221775 100644 --- a/service/swf/snapshot/api_op_DescribeDomain.go.snap +++ b/service/swf/snapshot/api_op_DescribeDomain.go.snap @@ -14,7 +14,6 @@ DescribeDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_DescribeWorkflowExecution.go.snap b/service/swf/snapshot/api_op_DescribeWorkflowExecution.go.snap index 60528b4f699..6c85ec619bf 100644 --- a/service/swf/snapshot/api_op_DescribeWorkflowExecution.go.snap +++ b/service/swf/snapshot/api_op_DescribeWorkflowExecution.go.snap @@ -14,7 +14,6 @@ DescribeWorkflowExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_DescribeWorkflowType.go.snap b/service/swf/snapshot/api_op_DescribeWorkflowType.go.snap index cf6f95cb9c1..caf145ffe71 100644 --- a/service/swf/snapshot/api_op_DescribeWorkflowType.go.snap +++ b/service/swf/snapshot/api_op_DescribeWorkflowType.go.snap @@ -14,7 +14,6 @@ DescribeWorkflowType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_GetWorkflowExecutionHistory.go.snap b/service/swf/snapshot/api_op_GetWorkflowExecutionHistory.go.snap index 171927036a0..ae45bd155fb 100644 --- a/service/swf/snapshot/api_op_GetWorkflowExecutionHistory.go.snap +++ b/service/swf/snapshot/api_op_GetWorkflowExecutionHistory.go.snap @@ -14,7 +14,6 @@ GetWorkflowExecutionHistory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_ListActivityTypes.go.snap b/service/swf/snapshot/api_op_ListActivityTypes.go.snap index 2b741be1a69..ead9064525e 100644 --- a/service/swf/snapshot/api_op_ListActivityTypes.go.snap +++ b/service/swf/snapshot/api_op_ListActivityTypes.go.snap @@ -14,7 +14,6 @@ ListActivityTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_ListClosedWorkflowExecutions.go.snap b/service/swf/snapshot/api_op_ListClosedWorkflowExecutions.go.snap index 9efd263cd36..08b9c5829c3 100644 --- a/service/swf/snapshot/api_op_ListClosedWorkflowExecutions.go.snap +++ b/service/swf/snapshot/api_op_ListClosedWorkflowExecutions.go.snap @@ -14,7 +14,6 @@ ListClosedWorkflowExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_ListDomains.go.snap b/service/swf/snapshot/api_op_ListDomains.go.snap index 46320b11a1f..dbf69049d9d 100644 --- a/service/swf/snapshot/api_op_ListDomains.go.snap +++ b/service/swf/snapshot/api_op_ListDomains.go.snap @@ -14,7 +14,6 @@ ListDomains Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_ListOpenWorkflowExecutions.go.snap b/service/swf/snapshot/api_op_ListOpenWorkflowExecutions.go.snap index a4109944226..9b4513d7e6a 100644 --- a/service/swf/snapshot/api_op_ListOpenWorkflowExecutions.go.snap +++ b/service/swf/snapshot/api_op_ListOpenWorkflowExecutions.go.snap @@ -14,7 +14,6 @@ ListOpenWorkflowExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_ListTagsForResource.go.snap b/service/swf/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/swf/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/swf/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_ListWorkflowTypes.go.snap b/service/swf/snapshot/api_op_ListWorkflowTypes.go.snap index 289f3e6a369..7fcf7a6a3e7 100644 --- a/service/swf/snapshot/api_op_ListWorkflowTypes.go.snap +++ b/service/swf/snapshot/api_op_ListWorkflowTypes.go.snap @@ -14,7 +14,6 @@ ListWorkflowTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_PollForActivityTask.go.snap b/service/swf/snapshot/api_op_PollForActivityTask.go.snap index 42cb8c09dac..835562d2336 100644 --- a/service/swf/snapshot/api_op_PollForActivityTask.go.snap +++ b/service/swf/snapshot/api_op_PollForActivityTask.go.snap @@ -14,7 +14,6 @@ PollForActivityTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_PollForDecisionTask.go.snap b/service/swf/snapshot/api_op_PollForDecisionTask.go.snap index 3c4c0270c5a..96dc93f4e97 100644 --- a/service/swf/snapshot/api_op_PollForDecisionTask.go.snap +++ b/service/swf/snapshot/api_op_PollForDecisionTask.go.snap @@ -14,7 +14,6 @@ PollForDecisionTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_RecordActivityTaskHeartbeat.go.snap b/service/swf/snapshot/api_op_RecordActivityTaskHeartbeat.go.snap index 126924b647d..f558d82726e 100644 --- a/service/swf/snapshot/api_op_RecordActivityTaskHeartbeat.go.snap +++ b/service/swf/snapshot/api_op_RecordActivityTaskHeartbeat.go.snap @@ -14,7 +14,6 @@ RecordActivityTaskHeartbeat Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_RegisterActivityType.go.snap b/service/swf/snapshot/api_op_RegisterActivityType.go.snap index afe785eb478..858c694f4bb 100644 --- a/service/swf/snapshot/api_op_RegisterActivityType.go.snap +++ b/service/swf/snapshot/api_op_RegisterActivityType.go.snap @@ -14,7 +14,6 @@ RegisterActivityType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_RegisterDomain.go.snap b/service/swf/snapshot/api_op_RegisterDomain.go.snap index 05ac93fa05a..7eca46ad635 100644 --- a/service/swf/snapshot/api_op_RegisterDomain.go.snap +++ b/service/swf/snapshot/api_op_RegisterDomain.go.snap @@ -14,7 +14,6 @@ RegisterDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_RegisterWorkflowType.go.snap b/service/swf/snapshot/api_op_RegisterWorkflowType.go.snap index 2b227a2a2db..a544bc20e58 100644 --- a/service/swf/snapshot/api_op_RegisterWorkflowType.go.snap +++ b/service/swf/snapshot/api_op_RegisterWorkflowType.go.snap @@ -14,7 +14,6 @@ RegisterWorkflowType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_RequestCancelWorkflowExecution.go.snap b/service/swf/snapshot/api_op_RequestCancelWorkflowExecution.go.snap index 45b0d322fa0..951ca0ec604 100644 --- a/service/swf/snapshot/api_op_RequestCancelWorkflowExecution.go.snap +++ b/service/swf/snapshot/api_op_RequestCancelWorkflowExecution.go.snap @@ -14,7 +14,6 @@ RequestCancelWorkflowExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_RespondActivityTaskCanceled.go.snap b/service/swf/snapshot/api_op_RespondActivityTaskCanceled.go.snap index 071d5232776..afa2908b05e 100644 --- a/service/swf/snapshot/api_op_RespondActivityTaskCanceled.go.snap +++ b/service/swf/snapshot/api_op_RespondActivityTaskCanceled.go.snap @@ -14,7 +14,6 @@ RespondActivityTaskCanceled Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_RespondActivityTaskCompleted.go.snap b/service/swf/snapshot/api_op_RespondActivityTaskCompleted.go.snap index 187e65c2e44..b143d170609 100644 --- a/service/swf/snapshot/api_op_RespondActivityTaskCompleted.go.snap +++ b/service/swf/snapshot/api_op_RespondActivityTaskCompleted.go.snap @@ -14,7 +14,6 @@ RespondActivityTaskCompleted Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_RespondActivityTaskFailed.go.snap b/service/swf/snapshot/api_op_RespondActivityTaskFailed.go.snap index 08d2a2fa1ec..e551da28651 100644 --- a/service/swf/snapshot/api_op_RespondActivityTaskFailed.go.snap +++ b/service/swf/snapshot/api_op_RespondActivityTaskFailed.go.snap @@ -14,7 +14,6 @@ RespondActivityTaskFailed Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_RespondDecisionTaskCompleted.go.snap b/service/swf/snapshot/api_op_RespondDecisionTaskCompleted.go.snap index f129362f873..62d30be70bc 100644 --- a/service/swf/snapshot/api_op_RespondDecisionTaskCompleted.go.snap +++ b/service/swf/snapshot/api_op_RespondDecisionTaskCompleted.go.snap @@ -14,7 +14,6 @@ RespondDecisionTaskCompleted Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_SignalWorkflowExecution.go.snap b/service/swf/snapshot/api_op_SignalWorkflowExecution.go.snap index 7715e656cd2..2aa52798505 100644 --- a/service/swf/snapshot/api_op_SignalWorkflowExecution.go.snap +++ b/service/swf/snapshot/api_op_SignalWorkflowExecution.go.snap @@ -14,7 +14,6 @@ SignalWorkflowExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_StartWorkflowExecution.go.snap b/service/swf/snapshot/api_op_StartWorkflowExecution.go.snap index d3be30bce49..b8b6fa79c01 100644 --- a/service/swf/snapshot/api_op_StartWorkflowExecution.go.snap +++ b/service/swf/snapshot/api_op_StartWorkflowExecution.go.snap @@ -14,7 +14,6 @@ StartWorkflowExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_TagResource.go.snap b/service/swf/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/swf/snapshot/api_op_TagResource.go.snap +++ b/service/swf/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_TerminateWorkflowExecution.go.snap b/service/swf/snapshot/api_op_TerminateWorkflowExecution.go.snap index 1992ec5ef28..6350c990d90 100644 --- a/service/swf/snapshot/api_op_TerminateWorkflowExecution.go.snap +++ b/service/swf/snapshot/api_op_TerminateWorkflowExecution.go.snap @@ -14,7 +14,6 @@ TerminateWorkflowExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_UndeprecateActivityType.go.snap b/service/swf/snapshot/api_op_UndeprecateActivityType.go.snap index e6696832b9a..d659a4fc7af 100644 --- a/service/swf/snapshot/api_op_UndeprecateActivityType.go.snap +++ b/service/swf/snapshot/api_op_UndeprecateActivityType.go.snap @@ -14,7 +14,6 @@ UndeprecateActivityType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_UndeprecateDomain.go.snap b/service/swf/snapshot/api_op_UndeprecateDomain.go.snap index 46d443319b8..004e3c857dc 100644 --- a/service/swf/snapshot/api_op_UndeprecateDomain.go.snap +++ b/service/swf/snapshot/api_op_UndeprecateDomain.go.snap @@ -14,7 +14,6 @@ UndeprecateDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_UndeprecateWorkflowType.go.snap b/service/swf/snapshot/api_op_UndeprecateWorkflowType.go.snap index eff625f9a90..69d1cc77e26 100644 --- a/service/swf/snapshot/api_op_UndeprecateWorkflowType.go.snap +++ b/service/swf/snapshot/api_op_UndeprecateWorkflowType.go.snap @@ -14,7 +14,6 @@ UndeprecateWorkflowType Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/swf/snapshot/api_op_UntagResource.go.snap b/service/swf/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/swf/snapshot/api_op_UntagResource.go.snap +++ b/service/swf/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/synthetics/api_client.go b/service/synthetics/api_client.go index c37629994d5..864477fb543 100644 --- a/service/synthetics/api_client.go +++ b/service/synthetics/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/synthetics/api_op_AssociateResource.go b/service/synthetics/api_op_AssociateResource.go index ec3477dc834..937809d5fc5 100644 --- a/service/synthetics/api_op_AssociateResource.go +++ b/service/synthetics/api_op_AssociateResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationAssociateResourceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_CreateCanary.go b/service/synthetics/api_op_CreateCanary.go index 128e5d1c51c..456bb0f054f 100644 --- a/service/synthetics/api_op_CreateCanary.go +++ b/service/synthetics/api_op_CreateCanary.go @@ -247,9 +247,6 @@ func (c *Client) addOperationCreateCanaryMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCanaryValidationMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_CreateGroup.go b/service/synthetics/api_op_CreateGroup.go index a6f6fb79605..2ab99c42b51 100644 --- a/service/synthetics/api_op_CreateGroup.go +++ b/service/synthetics/api_op_CreateGroup.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreateGroupMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_DeleteCanary.go b/service/synthetics/api_op_DeleteCanary.go index be15649493e..442fd2760ba 100644 --- a/service/synthetics/api_op_DeleteCanary.go +++ b/service/synthetics/api_op_DeleteCanary.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDeleteCanaryMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCanaryValidationMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_DeleteGroup.go b/service/synthetics/api_op_DeleteGroup.go index 74cb89af052..e0f3d889b5e 100644 --- a/service/synthetics/api_op_DeleteGroup.go +++ b/service/synthetics/api_op_DeleteGroup.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteGroupMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_DescribeCanaries.go b/service/synthetics/api_op_DescribeCanaries.go index c03e75613dc..e825749c325 100644 --- a/service/synthetics/api_op_DescribeCanaries.go +++ b/service/synthetics/api_op_DescribeCanaries.go @@ -150,9 +150,6 @@ func (c *Client) addOperationDescribeCanariesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCanaries(options.Region), middleware.Before); err != nil { return err } diff --git a/service/synthetics/api_op_DescribeCanariesLastRun.go b/service/synthetics/api_op_DescribeCanariesLastRun.go index 2abcb5b0809..3a733aa217b 100644 --- a/service/synthetics/api_op_DescribeCanariesLastRun.go +++ b/service/synthetics/api_op_DescribeCanariesLastRun.go @@ -150,9 +150,6 @@ func (c *Client) addOperationDescribeCanariesLastRunMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCanariesLastRun(options.Region), middleware.Before); err != nil { return err } diff --git a/service/synthetics/api_op_DescribeRuntimeVersions.go b/service/synthetics/api_op_DescribeRuntimeVersions.go index 14f704ce80f..fda992f9641 100644 --- a/service/synthetics/api_op_DescribeRuntimeVersions.go +++ b/service/synthetics/api_op_DescribeRuntimeVersions.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeRuntimeVersionsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRuntimeVersions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/synthetics/api_op_DisassociateResource.go b/service/synthetics/api_op_DisassociateResource.go index 9e8b6b7cf61..30432619ef7 100644 --- a/service/synthetics/api_op_DisassociateResource.go +++ b/service/synthetics/api_op_DisassociateResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDisassociateResourceMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_GetCanary.go b/service/synthetics/api_op_GetCanary.go index b23b7889c48..8a22f9486d9 100644 --- a/service/synthetics/api_op_GetCanary.go +++ b/service/synthetics/api_op_GetCanary.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetCanaryMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCanaryValidationMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_GetCanaryRuns.go b/service/synthetics/api_op_GetCanaryRuns.go index 45d28952188..f98e449af16 100644 --- a/service/synthetics/api_op_GetCanaryRuns.go +++ b/service/synthetics/api_op_GetCanaryRuns.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetCanaryRunsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCanaryRunsValidationMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_GetGroup.go b/service/synthetics/api_op_GetGroup.go index 8d43c2bade4..ede2275b1f7 100644 --- a/service/synthetics/api_op_GetGroup.go +++ b/service/synthetics/api_op_GetGroup.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetGroupMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_ListAssociatedGroups.go b/service/synthetics/api_op_ListAssociatedGroups.go index 29b8be8fb8f..659b94a9547 100644 --- a/service/synthetics/api_op_ListAssociatedGroups.go +++ b/service/synthetics/api_op_ListAssociatedGroups.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListAssociatedGroupsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAssociatedGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_ListGroupResources.go b/service/synthetics/api_op_ListGroupResources.go index 0cbe4331e7c..185f3f88868 100644 --- a/service/synthetics/api_op_ListGroupResources.go +++ b/service/synthetics/api_op_ListGroupResources.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListGroupResourcesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListGroupResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_ListGroups.go b/service/synthetics/api_op_ListGroups.go index e7448e74c21..320c4540699 100644 --- a/service/synthetics/api_op_ListGroups.go +++ b/service/synthetics/api_op_ListGroups.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListGroupsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/synthetics/api_op_ListTagsForResource.go b/service/synthetics/api_op_ListTagsForResource.go index 1d6e88c4771..180dda65ac7 100644 --- a/service/synthetics/api_op_ListTagsForResource.go +++ b/service/synthetics/api_op_ListTagsForResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_StartCanary.go b/service/synthetics/api_op_StartCanary.go index dd8a899e75c..6cc4bebb941 100644 --- a/service/synthetics/api_op_StartCanary.go +++ b/service/synthetics/api_op_StartCanary.go @@ -113,9 +113,6 @@ func (c *Client) addOperationStartCanaryMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartCanaryValidationMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_StopCanary.go b/service/synthetics/api_op_StopCanary.go index b5f11e0e109..5627a7f54e6 100644 --- a/service/synthetics/api_op_StopCanary.go +++ b/service/synthetics/api_op_StopCanary.go @@ -115,9 +115,6 @@ func (c *Client) addOperationStopCanaryMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopCanaryValidationMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_TagResource.go b/service/synthetics/api_op_TagResource.go index 05ea74b38a4..a2dc5a504a4 100644 --- a/service/synthetics/api_op_TagResource.go +++ b/service/synthetics/api_op_TagResource.go @@ -133,9 +133,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_UntagResource.go b/service/synthetics/api_op_UntagResource.go index 725fdd7782b..cb8da063ebc 100644 --- a/service/synthetics/api_op_UntagResource.go +++ b/service/synthetics/api_op_UntagResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/api_op_UpdateCanary.go b/service/synthetics/api_op_UpdateCanary.go index 41650077a85..8273a3ce1c9 100644 --- a/service/synthetics/api_op_UpdateCanary.go +++ b/service/synthetics/api_op_UpdateCanary.go @@ -203,9 +203,6 @@ func (c *Client) addOperationUpdateCanaryMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCanaryValidationMiddleware(stack); err != nil { return err } diff --git a/service/synthetics/snapshot/api_op_AssociateResource.go.snap b/service/synthetics/snapshot/api_op_AssociateResource.go.snap index 348ede84e0b..a38c6e89b64 100644 --- a/service/synthetics/snapshot/api_op_AssociateResource.go.snap +++ b/service/synthetics/snapshot/api_op_AssociateResource.go.snap @@ -14,7 +14,6 @@ AssociateResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/synthetics/snapshot/api_op_CreateCanary.go.snap b/service/synthetics/snapshot/api_op_CreateCanary.go.snap index eb922d85dc9..a0019d50a08 100644 --- a/service/synthetics/snapshot/api_op_CreateCanary.go.snap +++ b/service/synthetics/snapshot/api_op_CreateCanary.go.snap @@ -14,7 +14,6 @@ CreateCanary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/synthetics/snapshot/api_op_CreateGroup.go.snap b/service/synthetics/snapshot/api_op_CreateGroup.go.snap index f017be256c7..f4adf31ac79 100644 --- a/service/synthetics/snapshot/api_op_CreateGroup.go.snap +++ b/service/synthetics/snapshot/api_op_CreateGroup.go.snap @@ -14,7 +14,6 @@ CreateGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/synthetics/snapshot/api_op_DeleteCanary.go.snap b/service/synthetics/snapshot/api_op_DeleteCanary.go.snap index 99fc899e0d5..917934219a6 100644 --- a/service/synthetics/snapshot/api_op_DeleteCanary.go.snap +++ b/service/synthetics/snapshot/api_op_DeleteCanary.go.snap @@ -14,7 +14,6 @@ DeleteCanary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/synthetics/snapshot/api_op_DeleteGroup.go.snap b/service/synthetics/snapshot/api_op_DeleteGroup.go.snap index fa762a3a297..9a74537ddc0 100644 --- a/service/synthetics/snapshot/api_op_DeleteGroup.go.snap +++ b/service/synthetics/snapshot/api_op_DeleteGroup.go.snap @@ -14,7 +14,6 @@ DeleteGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/synthetics/snapshot/api_op_DescribeCanaries.go.snap b/service/synthetics/snapshot/api_op_DescribeCanaries.go.snap index 4738b52a507..c6d1fc308ce 100644 --- a/service/synthetics/snapshot/api_op_DescribeCanaries.go.snap +++ b/service/synthetics/snapshot/api_op_DescribeCanaries.go.snap @@ -13,7 +13,6 @@ DescribeCanaries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/synthetics/snapshot/api_op_DescribeCanariesLastRun.go.snap b/service/synthetics/snapshot/api_op_DescribeCanariesLastRun.go.snap index 3dd97d3d0aa..2905b9ad6de 100644 --- a/service/synthetics/snapshot/api_op_DescribeCanariesLastRun.go.snap +++ b/service/synthetics/snapshot/api_op_DescribeCanariesLastRun.go.snap @@ -13,7 +13,6 @@ DescribeCanariesLastRun Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/synthetics/snapshot/api_op_DescribeRuntimeVersions.go.snap b/service/synthetics/snapshot/api_op_DescribeRuntimeVersions.go.snap index cadadd765e9..080abcf6ee5 100644 --- a/service/synthetics/snapshot/api_op_DescribeRuntimeVersions.go.snap +++ b/service/synthetics/snapshot/api_op_DescribeRuntimeVersions.go.snap @@ -13,7 +13,6 @@ DescribeRuntimeVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/synthetics/snapshot/api_op_DisassociateResource.go.snap b/service/synthetics/snapshot/api_op_DisassociateResource.go.snap index 21a3d92616c..fbc7dbf9968 100644 --- a/service/synthetics/snapshot/api_op_DisassociateResource.go.snap +++ b/service/synthetics/snapshot/api_op_DisassociateResource.go.snap @@ -14,7 +14,6 @@ DisassociateResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/synthetics/snapshot/api_op_GetCanary.go.snap b/service/synthetics/snapshot/api_op_GetCanary.go.snap index 3d08b7c90c2..1485bf1b91e 100644 --- a/service/synthetics/snapshot/api_op_GetCanary.go.snap +++ b/service/synthetics/snapshot/api_op_GetCanary.go.snap @@ -14,7 +14,6 @@ GetCanary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/synthetics/snapshot/api_op_GetCanaryRuns.go.snap b/service/synthetics/snapshot/api_op_GetCanaryRuns.go.snap index 82e898ce735..19ce94af3b3 100644 --- a/service/synthetics/snapshot/api_op_GetCanaryRuns.go.snap +++ b/service/synthetics/snapshot/api_op_GetCanaryRuns.go.snap @@ -14,7 +14,6 @@ GetCanaryRuns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/synthetics/snapshot/api_op_GetGroup.go.snap b/service/synthetics/snapshot/api_op_GetGroup.go.snap index 25747cefc39..078a0814033 100644 --- a/service/synthetics/snapshot/api_op_GetGroup.go.snap +++ b/service/synthetics/snapshot/api_op_GetGroup.go.snap @@ -14,7 +14,6 @@ GetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/synthetics/snapshot/api_op_ListAssociatedGroups.go.snap b/service/synthetics/snapshot/api_op_ListAssociatedGroups.go.snap index a6c32352837..1002d487a70 100644 --- a/service/synthetics/snapshot/api_op_ListAssociatedGroups.go.snap +++ b/service/synthetics/snapshot/api_op_ListAssociatedGroups.go.snap @@ -14,7 +14,6 @@ ListAssociatedGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/synthetics/snapshot/api_op_ListGroupResources.go.snap b/service/synthetics/snapshot/api_op_ListGroupResources.go.snap index 3cec4e84002..d90e1983cf8 100644 --- a/service/synthetics/snapshot/api_op_ListGroupResources.go.snap +++ b/service/synthetics/snapshot/api_op_ListGroupResources.go.snap @@ -14,7 +14,6 @@ ListGroupResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/synthetics/snapshot/api_op_ListGroups.go.snap b/service/synthetics/snapshot/api_op_ListGroups.go.snap index c2a7a20f677..de1d3e2658f 100644 --- a/service/synthetics/snapshot/api_op_ListGroups.go.snap +++ b/service/synthetics/snapshot/api_op_ListGroups.go.snap @@ -13,7 +13,6 @@ ListGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/synthetics/snapshot/api_op_ListTagsForResource.go.snap b/service/synthetics/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/synthetics/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/synthetics/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/synthetics/snapshot/api_op_StartCanary.go.snap b/service/synthetics/snapshot/api_op_StartCanary.go.snap index 80f272670b4..2d1f747d9ec 100644 --- a/service/synthetics/snapshot/api_op_StartCanary.go.snap +++ b/service/synthetics/snapshot/api_op_StartCanary.go.snap @@ -14,7 +14,6 @@ StartCanary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/synthetics/snapshot/api_op_StopCanary.go.snap b/service/synthetics/snapshot/api_op_StopCanary.go.snap index f1fcb0bb938..cdfc2ad1bb7 100644 --- a/service/synthetics/snapshot/api_op_StopCanary.go.snap +++ b/service/synthetics/snapshot/api_op_StopCanary.go.snap @@ -14,7 +14,6 @@ StopCanary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/synthetics/snapshot/api_op_TagResource.go.snap b/service/synthetics/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/synthetics/snapshot/api_op_TagResource.go.snap +++ b/service/synthetics/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/synthetics/snapshot/api_op_UntagResource.go.snap b/service/synthetics/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/synthetics/snapshot/api_op_UntagResource.go.snap +++ b/service/synthetics/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/synthetics/snapshot/api_op_UpdateCanary.go.snap b/service/synthetics/snapshot/api_op_UpdateCanary.go.snap index f502131e2d1..a65b735a58c 100644 --- a/service/synthetics/snapshot/api_op_UpdateCanary.go.snap +++ b/service/synthetics/snapshot/api_op_UpdateCanary.go.snap @@ -14,7 +14,6 @@ UpdateCanary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/taxsettings/api_client.go b/service/taxsettings/api_client.go index 2e898497d2b..7b3975c27ee 100644 --- a/service/taxsettings/api_client.go +++ b/service/taxsettings/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/taxsettings/api_op_BatchDeleteTaxRegistration.go b/service/taxsettings/api_op_BatchDeleteTaxRegistration.go index 5f0bebb18e6..3c3f866a8ae 100644 --- a/service/taxsettings/api_op_BatchDeleteTaxRegistration.go +++ b/service/taxsettings/api_op_BatchDeleteTaxRegistration.go @@ -121,9 +121,6 @@ func (c *Client) addOperationBatchDeleteTaxRegistrationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchDeleteTaxRegistrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/taxsettings/api_op_BatchGetTaxExemptions.go b/service/taxsettings/api_op_BatchGetTaxExemptions.go index 3bb0e55f946..24e14903680 100644 --- a/service/taxsettings/api_op_BatchGetTaxExemptions.go +++ b/service/taxsettings/api_op_BatchGetTaxExemptions.go @@ -115,9 +115,6 @@ func (c *Client) addOperationBatchGetTaxExemptionsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetTaxExemptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/taxsettings/api_op_BatchPutTaxRegistration.go b/service/taxsettings/api_op_BatchPutTaxRegistration.go index 8ff71d08d0a..b4923573df9 100644 --- a/service/taxsettings/api_op_BatchPutTaxRegistration.go +++ b/service/taxsettings/api_op_BatchPutTaxRegistration.go @@ -259,9 +259,6 @@ func (c *Client) addOperationBatchPutTaxRegistrationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchPutTaxRegistrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/taxsettings/api_op_DeleteSupplementalTaxRegistration.go b/service/taxsettings/api_op_DeleteSupplementalTaxRegistration.go index b0c3e3fc225..8e3ad3e0107 100644 --- a/service/taxsettings/api_op_DeleteSupplementalTaxRegistration.go +++ b/service/taxsettings/api_op_DeleteSupplementalTaxRegistration.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteSupplementalTaxRegistrationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSupplementalTaxRegistrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/taxsettings/api_op_DeleteTaxRegistration.go b/service/taxsettings/api_op_DeleteTaxRegistration.go index 49993f8df8d..ee7d43c9174 100644 --- a/service/taxsettings/api_op_DeleteTaxRegistration.go +++ b/service/taxsettings/api_op_DeleteTaxRegistration.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteTaxRegistrationMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTaxRegistration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/taxsettings/api_op_GetTaxExemptionTypes.go b/service/taxsettings/api_op_GetTaxExemptionTypes.go index fec6e05e3f4..bb2d71a32a1 100644 --- a/service/taxsettings/api_op_GetTaxExemptionTypes.go +++ b/service/taxsettings/api_op_GetTaxExemptionTypes.go @@ -106,9 +106,6 @@ func (c *Client) addOperationGetTaxExemptionTypesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTaxExemptionTypes(options.Region), middleware.Before); err != nil { return err } diff --git a/service/taxsettings/api_op_GetTaxInheritance.go b/service/taxsettings/api_op_GetTaxInheritance.go index 03dd789d7ed..ff6afce58dc 100644 --- a/service/taxsettings/api_op_GetTaxInheritance.go +++ b/service/taxsettings/api_op_GetTaxInheritance.go @@ -106,9 +106,6 @@ func (c *Client) addOperationGetTaxInheritanceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTaxInheritance(options.Region), middleware.Before); err != nil { return err } diff --git a/service/taxsettings/api_op_GetTaxRegistration.go b/service/taxsettings/api_op_GetTaxRegistration.go index a6864bdd2a5..78d16147568 100644 --- a/service/taxsettings/api_op_GetTaxRegistration.go +++ b/service/taxsettings/api_op_GetTaxRegistration.go @@ -110,9 +110,6 @@ func (c *Client) addOperationGetTaxRegistrationMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTaxRegistration(options.Region), middleware.Before); err != nil { return err } diff --git a/service/taxsettings/api_op_GetTaxRegistrationDocument.go b/service/taxsettings/api_op_GetTaxRegistrationDocument.go index 0152e169744..47692207be0 100644 --- a/service/taxsettings/api_op_GetTaxRegistrationDocument.go +++ b/service/taxsettings/api_op_GetTaxRegistrationDocument.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetTaxRegistrationDocumentMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTaxRegistrationDocumentValidationMiddleware(stack); err != nil { return err } diff --git a/service/taxsettings/api_op_ListSupplementalTaxRegistrations.go b/service/taxsettings/api_op_ListSupplementalTaxRegistrations.go index 2850cb1749e..5de48c27b04 100644 --- a/service/taxsettings/api_op_ListSupplementalTaxRegistrations.go +++ b/service/taxsettings/api_op_ListSupplementalTaxRegistrations.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListSupplementalTaxRegistrationsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSupplementalTaxRegistrations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/taxsettings/api_op_ListTaxExemptions.go b/service/taxsettings/api_op_ListTaxExemptions.go index 9779440d16e..4307deb653b 100644 --- a/service/taxsettings/api_op_ListTaxExemptions.go +++ b/service/taxsettings/api_op_ListTaxExemptions.go @@ -117,9 +117,6 @@ func (c *Client) addOperationListTaxExemptionsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTaxExemptions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/taxsettings/api_op_ListTaxRegistrations.go b/service/taxsettings/api_op_ListTaxRegistrations.go index 1232030a05c..300adc14c51 100644 --- a/service/taxsettings/api_op_ListTaxRegistrations.go +++ b/service/taxsettings/api_op_ListTaxRegistrations.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListTaxRegistrationsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTaxRegistrations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/taxsettings/api_op_PutSupplementalTaxRegistration.go b/service/taxsettings/api_op_PutSupplementalTaxRegistration.go index 03482f20a9a..2193ff8f8df 100644 --- a/service/taxsettings/api_op_PutSupplementalTaxRegistration.go +++ b/service/taxsettings/api_op_PutSupplementalTaxRegistration.go @@ -122,9 +122,6 @@ func (c *Client) addOperationPutSupplementalTaxRegistrationMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutSupplementalTaxRegistrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/taxsettings/api_op_PutTaxExemption.go b/service/taxsettings/api_op_PutTaxExemption.go index 7f04b010d10..2c72e724c3d 100644 --- a/service/taxsettings/api_op_PutTaxExemption.go +++ b/service/taxsettings/api_op_PutTaxExemption.go @@ -128,9 +128,6 @@ func (c *Client) addOperationPutTaxExemptionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutTaxExemptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/taxsettings/api_op_PutTaxInheritance.go b/service/taxsettings/api_op_PutTaxInheritance.go index a83167d97f1..c9bd76677f7 100644 --- a/service/taxsettings/api_op_PutTaxInheritance.go +++ b/service/taxsettings/api_op_PutTaxInheritance.go @@ -106,9 +106,6 @@ func (c *Client) addOperationPutTaxInheritanceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutTaxInheritance(options.Region), middleware.Before); err != nil { return err } diff --git a/service/taxsettings/api_op_PutTaxRegistration.go b/service/taxsettings/api_op_PutTaxRegistration.go index 1a6f8e0aae2..89c76181fa3 100644 --- a/service/taxsettings/api_op_PutTaxRegistration.go +++ b/service/taxsettings/api_op_PutTaxRegistration.go @@ -249,9 +249,6 @@ func (c *Client) addOperationPutTaxRegistrationMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutTaxRegistrationValidationMiddleware(stack); err != nil { return err } diff --git a/service/taxsettings/snapshot/api_op_BatchDeleteTaxRegistration.go.snap b/service/taxsettings/snapshot/api_op_BatchDeleteTaxRegistration.go.snap index 3b19e120e89..7ef22d03e62 100644 --- a/service/taxsettings/snapshot/api_op_BatchDeleteTaxRegistration.go.snap +++ b/service/taxsettings/snapshot/api_op_BatchDeleteTaxRegistration.go.snap @@ -14,7 +14,6 @@ BatchDeleteTaxRegistration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/taxsettings/snapshot/api_op_BatchGetTaxExemptions.go.snap b/service/taxsettings/snapshot/api_op_BatchGetTaxExemptions.go.snap index 4fb71b46945..671775c5542 100644 --- a/service/taxsettings/snapshot/api_op_BatchGetTaxExemptions.go.snap +++ b/service/taxsettings/snapshot/api_op_BatchGetTaxExemptions.go.snap @@ -14,7 +14,6 @@ BatchGetTaxExemptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/taxsettings/snapshot/api_op_BatchPutTaxRegistration.go.snap b/service/taxsettings/snapshot/api_op_BatchPutTaxRegistration.go.snap index 83725b7e9b3..b8f1db3c94c 100644 --- a/service/taxsettings/snapshot/api_op_BatchPutTaxRegistration.go.snap +++ b/service/taxsettings/snapshot/api_op_BatchPutTaxRegistration.go.snap @@ -14,7 +14,6 @@ BatchPutTaxRegistration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/taxsettings/snapshot/api_op_DeleteSupplementalTaxRegistration.go.snap b/service/taxsettings/snapshot/api_op_DeleteSupplementalTaxRegistration.go.snap index e5bc18a1161..201750f0221 100644 --- a/service/taxsettings/snapshot/api_op_DeleteSupplementalTaxRegistration.go.snap +++ b/service/taxsettings/snapshot/api_op_DeleteSupplementalTaxRegistration.go.snap @@ -14,7 +14,6 @@ DeleteSupplementalTaxRegistration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/taxsettings/snapshot/api_op_DeleteTaxRegistration.go.snap b/service/taxsettings/snapshot/api_op_DeleteTaxRegistration.go.snap index 27e2505e721..68c4966a7cc 100644 --- a/service/taxsettings/snapshot/api_op_DeleteTaxRegistration.go.snap +++ b/service/taxsettings/snapshot/api_op_DeleteTaxRegistration.go.snap @@ -13,7 +13,6 @@ DeleteTaxRegistration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/taxsettings/snapshot/api_op_GetTaxExemptionTypes.go.snap b/service/taxsettings/snapshot/api_op_GetTaxExemptionTypes.go.snap index f8c1722176b..356c30514f6 100644 --- a/service/taxsettings/snapshot/api_op_GetTaxExemptionTypes.go.snap +++ b/service/taxsettings/snapshot/api_op_GetTaxExemptionTypes.go.snap @@ -13,7 +13,6 @@ GetTaxExemptionTypes Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/taxsettings/snapshot/api_op_GetTaxInheritance.go.snap b/service/taxsettings/snapshot/api_op_GetTaxInheritance.go.snap index dc1b0cf7a6d..980e0fed151 100644 --- a/service/taxsettings/snapshot/api_op_GetTaxInheritance.go.snap +++ b/service/taxsettings/snapshot/api_op_GetTaxInheritance.go.snap @@ -13,7 +13,6 @@ GetTaxInheritance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/taxsettings/snapshot/api_op_GetTaxRegistration.go.snap b/service/taxsettings/snapshot/api_op_GetTaxRegistration.go.snap index e2048e190c1..9902419e95e 100644 --- a/service/taxsettings/snapshot/api_op_GetTaxRegistration.go.snap +++ b/service/taxsettings/snapshot/api_op_GetTaxRegistration.go.snap @@ -13,7 +13,6 @@ GetTaxRegistration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/taxsettings/snapshot/api_op_GetTaxRegistrationDocument.go.snap b/service/taxsettings/snapshot/api_op_GetTaxRegistrationDocument.go.snap index 6bb2e454bd7..5fca543b29c 100644 --- a/service/taxsettings/snapshot/api_op_GetTaxRegistrationDocument.go.snap +++ b/service/taxsettings/snapshot/api_op_GetTaxRegistrationDocument.go.snap @@ -14,7 +14,6 @@ GetTaxRegistrationDocument Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/taxsettings/snapshot/api_op_ListSupplementalTaxRegistrations.go.snap b/service/taxsettings/snapshot/api_op_ListSupplementalTaxRegistrations.go.snap index 9591fff4719..6d1670a441f 100644 --- a/service/taxsettings/snapshot/api_op_ListSupplementalTaxRegistrations.go.snap +++ b/service/taxsettings/snapshot/api_op_ListSupplementalTaxRegistrations.go.snap @@ -13,7 +13,6 @@ ListSupplementalTaxRegistrations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/taxsettings/snapshot/api_op_ListTaxExemptions.go.snap b/service/taxsettings/snapshot/api_op_ListTaxExemptions.go.snap index 520e450ac26..fca9b288a4f 100644 --- a/service/taxsettings/snapshot/api_op_ListTaxExemptions.go.snap +++ b/service/taxsettings/snapshot/api_op_ListTaxExemptions.go.snap @@ -13,7 +13,6 @@ ListTaxExemptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/taxsettings/snapshot/api_op_ListTaxRegistrations.go.snap b/service/taxsettings/snapshot/api_op_ListTaxRegistrations.go.snap index 60bc87c30bf..3ce68331734 100644 --- a/service/taxsettings/snapshot/api_op_ListTaxRegistrations.go.snap +++ b/service/taxsettings/snapshot/api_op_ListTaxRegistrations.go.snap @@ -13,7 +13,6 @@ ListTaxRegistrations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/taxsettings/snapshot/api_op_PutSupplementalTaxRegistration.go.snap b/service/taxsettings/snapshot/api_op_PutSupplementalTaxRegistration.go.snap index 3dfcf37a459..a8327abbb4d 100644 --- a/service/taxsettings/snapshot/api_op_PutSupplementalTaxRegistration.go.snap +++ b/service/taxsettings/snapshot/api_op_PutSupplementalTaxRegistration.go.snap @@ -14,7 +14,6 @@ PutSupplementalTaxRegistration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/taxsettings/snapshot/api_op_PutTaxExemption.go.snap b/service/taxsettings/snapshot/api_op_PutTaxExemption.go.snap index 207bdd59c99..31b819f4d00 100644 --- a/service/taxsettings/snapshot/api_op_PutTaxExemption.go.snap +++ b/service/taxsettings/snapshot/api_op_PutTaxExemption.go.snap @@ -14,7 +14,6 @@ PutTaxExemption Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/taxsettings/snapshot/api_op_PutTaxInheritance.go.snap b/service/taxsettings/snapshot/api_op_PutTaxInheritance.go.snap index fa24e13d3ec..a0ef1dc7b5f 100644 --- a/service/taxsettings/snapshot/api_op_PutTaxInheritance.go.snap +++ b/service/taxsettings/snapshot/api_op_PutTaxInheritance.go.snap @@ -13,7 +13,6 @@ PutTaxInheritance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/taxsettings/snapshot/api_op_PutTaxRegistration.go.snap b/service/taxsettings/snapshot/api_op_PutTaxRegistration.go.snap index fb9785611c1..1ca3e7bcd78 100644 --- a/service/taxsettings/snapshot/api_op_PutTaxRegistration.go.snap +++ b/service/taxsettings/snapshot/api_op_PutTaxRegistration.go.snap @@ -14,7 +14,6 @@ PutTaxRegistration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/textract/api_client.go b/service/textract/api_client.go index 4f27811b9e4..fd6a6fa43eb 100644 --- a/service/textract/api_client.go +++ b/service/textract/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/textract/api_op_AnalyzeDocument.go b/service/textract/api_op_AnalyzeDocument.go index 21889418788..d16829a19f7 100644 --- a/service/textract/api_op_AnalyzeDocument.go +++ b/service/textract/api_op_AnalyzeDocument.go @@ -189,9 +189,6 @@ func (c *Client) addOperationAnalyzeDocumentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAnalyzeDocumentValidationMiddleware(stack); err != nil { return err } diff --git a/service/textract/api_op_AnalyzeExpense.go b/service/textract/api_op_AnalyzeExpense.go index 6db6f7e3bc1..25e2949ab28 100644 --- a/service/textract/api_op_AnalyzeExpense.go +++ b/service/textract/api_op_AnalyzeExpense.go @@ -144,9 +144,6 @@ func (c *Client) addOperationAnalyzeExpenseMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAnalyzeExpenseValidationMiddleware(stack); err != nil { return err } diff --git a/service/textract/api_op_AnalyzeID.go b/service/textract/api_op_AnalyzeID.go index c79776e72cc..fb9925b1a44 100644 --- a/service/textract/api_op_AnalyzeID.go +++ b/service/textract/api_op_AnalyzeID.go @@ -122,9 +122,6 @@ func (c *Client) addOperationAnalyzeIDMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAnalyzeIDValidationMiddleware(stack); err != nil { return err } diff --git a/service/textract/api_op_CreateAdapter.go b/service/textract/api_op_CreateAdapter.go index e9b79b71be1..85df52002bf 100644 --- a/service/textract/api_op_CreateAdapter.go +++ b/service/textract/api_op_CreateAdapter.go @@ -137,9 +137,6 @@ func (c *Client) addOperationCreateAdapterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAdapterMiddleware(stack, options); err != nil { return err } diff --git a/service/textract/api_op_CreateAdapterVersion.go b/service/textract/api_op_CreateAdapterVersion.go index d67b40173e7..a7a6e48b8f7 100644 --- a/service/textract/api_op_CreateAdapterVersion.go +++ b/service/textract/api_op_CreateAdapterVersion.go @@ -165,9 +165,6 @@ func (c *Client) addOperationCreateAdapterVersionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAdapterVersionMiddleware(stack, options); err != nil { return err } diff --git a/service/textract/api_op_DeleteAdapter.go b/service/textract/api_op_DeleteAdapter.go index 6a36fdb2865..027991d4f9a 100644 --- a/service/textract/api_op_DeleteAdapter.go +++ b/service/textract/api_op_DeleteAdapter.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteAdapterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAdapterValidationMiddleware(stack); err != nil { return err } diff --git a/service/textract/api_op_DeleteAdapterVersion.go b/service/textract/api_op_DeleteAdapterVersion.go index f97bb5e91d9..bacd583f230 100644 --- a/service/textract/api_op_DeleteAdapterVersion.go +++ b/service/textract/api_op_DeleteAdapterVersion.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteAdapterVersionMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAdapterVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/textract/api_op_DetectDocumentText.go b/service/textract/api_op_DetectDocumentText.go index 63c78c63de7..25616f3b666 100644 --- a/service/textract/api_op_DetectDocumentText.go +++ b/service/textract/api_op_DetectDocumentText.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDetectDocumentTextMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDetectDocumentTextValidationMiddleware(stack); err != nil { return err } diff --git a/service/textract/api_op_GetAdapter.go b/service/textract/api_op_GetAdapter.go index 37ddfc141fa..21140ca6a33 100644 --- a/service/textract/api_op_GetAdapter.go +++ b/service/textract/api_op_GetAdapter.go @@ -134,9 +134,6 @@ func (c *Client) addOperationGetAdapterMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAdapterValidationMiddleware(stack); err != nil { return err } diff --git a/service/textract/api_op_GetAdapterVersion.go b/service/textract/api_op_GetAdapterVersion.go index 9e009a6261f..9351e4b871b 100644 --- a/service/textract/api_op_GetAdapterVersion.go +++ b/service/textract/api_op_GetAdapterVersion.go @@ -176,9 +176,6 @@ func (c *Client) addOperationGetAdapterVersionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAdapterVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/textract/api_op_GetDocumentAnalysis.go b/service/textract/api_op_GetDocumentAnalysis.go index aa2d7008e9d..d0258a2cb4f 100644 --- a/service/textract/api_op_GetDocumentAnalysis.go +++ b/service/textract/api_op_GetDocumentAnalysis.go @@ -199,9 +199,6 @@ func (c *Client) addOperationGetDocumentAnalysisMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDocumentAnalysisValidationMiddleware(stack); err != nil { return err } diff --git a/service/textract/api_op_GetDocumentTextDetection.go b/service/textract/api_op_GetDocumentTextDetection.go index 7a5d3922923..470b10412d6 100644 --- a/service/textract/api_op_GetDocumentTextDetection.go +++ b/service/textract/api_op_GetDocumentTextDetection.go @@ -176,9 +176,6 @@ func (c *Client) addOperationGetDocumentTextDetectionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDocumentTextDetectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/textract/api_op_GetExpenseAnalysis.go b/service/textract/api_op_GetExpenseAnalysis.go index 6d74eb523e7..47e49679a5a 100644 --- a/service/textract/api_op_GetExpenseAnalysis.go +++ b/service/textract/api_op_GetExpenseAnalysis.go @@ -169,9 +169,6 @@ func (c *Client) addOperationGetExpenseAnalysisMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetExpenseAnalysisValidationMiddleware(stack); err != nil { return err } diff --git a/service/textract/api_op_GetLendingAnalysis.go b/service/textract/api_op_GetLendingAnalysis.go index 7244918718b..8c2dac7600f 100644 --- a/service/textract/api_op_GetLendingAnalysis.go +++ b/service/textract/api_op_GetLendingAnalysis.go @@ -157,9 +157,6 @@ func (c *Client) addOperationGetLendingAnalysisMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLendingAnalysisValidationMiddleware(stack); err != nil { return err } diff --git a/service/textract/api_op_GetLendingAnalysisSummary.go b/service/textract/api_op_GetLendingAnalysisSummary.go index 669f9e98008..55baab6a359 100644 --- a/service/textract/api_op_GetLendingAnalysisSummary.go +++ b/service/textract/api_op_GetLendingAnalysisSummary.go @@ -144,9 +144,6 @@ func (c *Client) addOperationGetLendingAnalysisSummaryMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLendingAnalysisSummaryValidationMiddleware(stack); err != nil { return err } diff --git a/service/textract/api_op_ListAdapterVersions.go b/service/textract/api_op_ListAdapterVersions.go index 47da0c8443f..f9d90e0c2b5 100644 --- a/service/textract/api_op_ListAdapterVersions.go +++ b/service/textract/api_op_ListAdapterVersions.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListAdapterVersionsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAdapterVersions(options.Region), middleware.Before); err != nil { return err } diff --git a/service/textract/api_op_ListAdapters.go b/service/textract/api_op_ListAdapters.go index 103715540be..58fa7fa52dd 100644 --- a/service/textract/api_op_ListAdapters.go +++ b/service/textract/api_op_ListAdapters.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListAdaptersMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAdapters(options.Region), middleware.Before); err != nil { return err } diff --git a/service/textract/api_op_ListTagsForResource.go b/service/textract/api_op_ListTagsForResource.go index db76f397d86..1e6a535bd9d 100644 --- a/service/textract/api_op_ListTagsForResource.go +++ b/service/textract/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/textract/api_op_StartDocumentAnalysis.go b/service/textract/api_op_StartDocumentAnalysis.go index 11363ac3361..3b3815fd60d 100644 --- a/service/textract/api_op_StartDocumentAnalysis.go +++ b/service/textract/api_op_StartDocumentAnalysis.go @@ -176,9 +176,6 @@ func (c *Client) addOperationStartDocumentAnalysisMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartDocumentAnalysisValidationMiddleware(stack); err != nil { return err } diff --git a/service/textract/api_op_StartDocumentTextDetection.go b/service/textract/api_op_StartDocumentTextDetection.go index bf1d4b2793d..4b7031011e4 100644 --- a/service/textract/api_op_StartDocumentTextDetection.go +++ b/service/textract/api_op_StartDocumentTextDetection.go @@ -160,9 +160,6 @@ func (c *Client) addOperationStartDocumentTextDetectionMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartDocumentTextDetectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/textract/api_op_StartExpenseAnalysis.go b/service/textract/api_op_StartExpenseAnalysis.go index d4b6a78aa89..e1e2391884c 100644 --- a/service/textract/api_op_StartExpenseAnalysis.go +++ b/service/textract/api_op_StartExpenseAnalysis.go @@ -161,9 +161,6 @@ func (c *Client) addOperationStartExpenseAnalysisMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartExpenseAnalysisValidationMiddleware(stack); err != nil { return err } diff --git a/service/textract/api_op_StartLendingAnalysis.go b/service/textract/api_op_StartLendingAnalysis.go index 633da4035a6..e4610971f82 100644 --- a/service/textract/api_op_StartLendingAnalysis.go +++ b/service/textract/api_op_StartLendingAnalysis.go @@ -193,9 +193,6 @@ func (c *Client) addOperationStartLendingAnalysisMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartLendingAnalysisValidationMiddleware(stack); err != nil { return err } diff --git a/service/textract/api_op_TagResource.go b/service/textract/api_op_TagResource.go index 4cc35e94170..d76bc08ed9c 100644 --- a/service/textract/api_op_TagResource.go +++ b/service/textract/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/textract/api_op_UntagResource.go b/service/textract/api_op_UntagResource.go index 8626efbf043..d313e0f3e9c 100644 --- a/service/textract/api_op_UntagResource.go +++ b/service/textract/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/textract/api_op_UpdateAdapter.go b/service/textract/api_op_UpdateAdapter.go index 3224671fbaf..1770c0ac9bc 100644 --- a/service/textract/api_op_UpdateAdapter.go +++ b/service/textract/api_op_UpdateAdapter.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateAdapterMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAdapterValidationMiddleware(stack); err != nil { return err } diff --git a/service/textract/snapshot/api_op_AnalyzeDocument.go.snap b/service/textract/snapshot/api_op_AnalyzeDocument.go.snap index 2ceb968802d..d6e89641c6b 100644 --- a/service/textract/snapshot/api_op_AnalyzeDocument.go.snap +++ b/service/textract/snapshot/api_op_AnalyzeDocument.go.snap @@ -14,7 +14,6 @@ AnalyzeDocument Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/textract/snapshot/api_op_AnalyzeExpense.go.snap b/service/textract/snapshot/api_op_AnalyzeExpense.go.snap index 0ddb1f45e0f..bcec71bf355 100644 --- a/service/textract/snapshot/api_op_AnalyzeExpense.go.snap +++ b/service/textract/snapshot/api_op_AnalyzeExpense.go.snap @@ -14,7 +14,6 @@ AnalyzeExpense Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/textract/snapshot/api_op_AnalyzeID.go.snap b/service/textract/snapshot/api_op_AnalyzeID.go.snap index e44fca1c08b..9f2dcecb446 100644 --- a/service/textract/snapshot/api_op_AnalyzeID.go.snap +++ b/service/textract/snapshot/api_op_AnalyzeID.go.snap @@ -14,7 +14,6 @@ AnalyzeID Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/textract/snapshot/api_op_CreateAdapter.go.snap b/service/textract/snapshot/api_op_CreateAdapter.go.snap index 45c244ade23..fc1871d1875 100644 --- a/service/textract/snapshot/api_op_CreateAdapter.go.snap +++ b/service/textract/snapshot/api_op_CreateAdapter.go.snap @@ -15,7 +15,6 @@ CreateAdapter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/textract/snapshot/api_op_CreateAdapterVersion.go.snap b/service/textract/snapshot/api_op_CreateAdapterVersion.go.snap index af5815213ed..f4288382107 100644 --- a/service/textract/snapshot/api_op_CreateAdapterVersion.go.snap +++ b/service/textract/snapshot/api_op_CreateAdapterVersion.go.snap @@ -15,7 +15,6 @@ CreateAdapterVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/textract/snapshot/api_op_DeleteAdapter.go.snap b/service/textract/snapshot/api_op_DeleteAdapter.go.snap index 18a4055f294..bf8046a304a 100644 --- a/service/textract/snapshot/api_op_DeleteAdapter.go.snap +++ b/service/textract/snapshot/api_op_DeleteAdapter.go.snap @@ -14,7 +14,6 @@ DeleteAdapter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/textract/snapshot/api_op_DeleteAdapterVersion.go.snap b/service/textract/snapshot/api_op_DeleteAdapterVersion.go.snap index 4a16823cb8b..82f11bfdfc6 100644 --- a/service/textract/snapshot/api_op_DeleteAdapterVersion.go.snap +++ b/service/textract/snapshot/api_op_DeleteAdapterVersion.go.snap @@ -14,7 +14,6 @@ DeleteAdapterVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/textract/snapshot/api_op_DetectDocumentText.go.snap b/service/textract/snapshot/api_op_DetectDocumentText.go.snap index 0d9898e3c7c..929b76159f1 100644 --- a/service/textract/snapshot/api_op_DetectDocumentText.go.snap +++ b/service/textract/snapshot/api_op_DetectDocumentText.go.snap @@ -14,7 +14,6 @@ DetectDocumentText Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/textract/snapshot/api_op_GetAdapter.go.snap b/service/textract/snapshot/api_op_GetAdapter.go.snap index 6a54f409e2e..847b3c48d7a 100644 --- a/service/textract/snapshot/api_op_GetAdapter.go.snap +++ b/service/textract/snapshot/api_op_GetAdapter.go.snap @@ -14,7 +14,6 @@ GetAdapter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/textract/snapshot/api_op_GetAdapterVersion.go.snap b/service/textract/snapshot/api_op_GetAdapterVersion.go.snap index 0b816078852..4c9e0e9321c 100644 --- a/service/textract/snapshot/api_op_GetAdapterVersion.go.snap +++ b/service/textract/snapshot/api_op_GetAdapterVersion.go.snap @@ -14,7 +14,6 @@ GetAdapterVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/textract/snapshot/api_op_GetDocumentAnalysis.go.snap b/service/textract/snapshot/api_op_GetDocumentAnalysis.go.snap index 92ad82c74af..25bdbaae7d5 100644 --- a/service/textract/snapshot/api_op_GetDocumentAnalysis.go.snap +++ b/service/textract/snapshot/api_op_GetDocumentAnalysis.go.snap @@ -14,7 +14,6 @@ GetDocumentAnalysis Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/textract/snapshot/api_op_GetDocumentTextDetection.go.snap b/service/textract/snapshot/api_op_GetDocumentTextDetection.go.snap index 6fe4e178e94..f53e4cd73c9 100644 --- a/service/textract/snapshot/api_op_GetDocumentTextDetection.go.snap +++ b/service/textract/snapshot/api_op_GetDocumentTextDetection.go.snap @@ -14,7 +14,6 @@ GetDocumentTextDetection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/textract/snapshot/api_op_GetExpenseAnalysis.go.snap b/service/textract/snapshot/api_op_GetExpenseAnalysis.go.snap index c253cd8933c..481b2d166c7 100644 --- a/service/textract/snapshot/api_op_GetExpenseAnalysis.go.snap +++ b/service/textract/snapshot/api_op_GetExpenseAnalysis.go.snap @@ -14,7 +14,6 @@ GetExpenseAnalysis Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/textract/snapshot/api_op_GetLendingAnalysis.go.snap b/service/textract/snapshot/api_op_GetLendingAnalysis.go.snap index 3fcd6c2ce86..c557c168081 100644 --- a/service/textract/snapshot/api_op_GetLendingAnalysis.go.snap +++ b/service/textract/snapshot/api_op_GetLendingAnalysis.go.snap @@ -14,7 +14,6 @@ GetLendingAnalysis Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/textract/snapshot/api_op_GetLendingAnalysisSummary.go.snap b/service/textract/snapshot/api_op_GetLendingAnalysisSummary.go.snap index ffbfd8552e0..ce9e0de0d46 100644 --- a/service/textract/snapshot/api_op_GetLendingAnalysisSummary.go.snap +++ b/service/textract/snapshot/api_op_GetLendingAnalysisSummary.go.snap @@ -14,7 +14,6 @@ GetLendingAnalysisSummary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/textract/snapshot/api_op_ListAdapterVersions.go.snap b/service/textract/snapshot/api_op_ListAdapterVersions.go.snap index c0ccf734ea9..9e9b45a4b75 100644 --- a/service/textract/snapshot/api_op_ListAdapterVersions.go.snap +++ b/service/textract/snapshot/api_op_ListAdapterVersions.go.snap @@ -13,7 +13,6 @@ ListAdapterVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/textract/snapshot/api_op_ListAdapters.go.snap b/service/textract/snapshot/api_op_ListAdapters.go.snap index 9be6fb6d500..b310f687a0b 100644 --- a/service/textract/snapshot/api_op_ListAdapters.go.snap +++ b/service/textract/snapshot/api_op_ListAdapters.go.snap @@ -13,7 +13,6 @@ ListAdapters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/textract/snapshot/api_op_ListTagsForResource.go.snap b/service/textract/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/textract/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/textract/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/textract/snapshot/api_op_StartDocumentAnalysis.go.snap b/service/textract/snapshot/api_op_StartDocumentAnalysis.go.snap index 59066ccaaee..4614d2fe22c 100644 --- a/service/textract/snapshot/api_op_StartDocumentAnalysis.go.snap +++ b/service/textract/snapshot/api_op_StartDocumentAnalysis.go.snap @@ -14,7 +14,6 @@ StartDocumentAnalysis Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/textract/snapshot/api_op_StartDocumentTextDetection.go.snap b/service/textract/snapshot/api_op_StartDocumentTextDetection.go.snap index ef75da924b5..4c0a72ebc8f 100644 --- a/service/textract/snapshot/api_op_StartDocumentTextDetection.go.snap +++ b/service/textract/snapshot/api_op_StartDocumentTextDetection.go.snap @@ -14,7 +14,6 @@ StartDocumentTextDetection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/textract/snapshot/api_op_StartExpenseAnalysis.go.snap b/service/textract/snapshot/api_op_StartExpenseAnalysis.go.snap index 9122f5e95b3..0267df71fe6 100644 --- a/service/textract/snapshot/api_op_StartExpenseAnalysis.go.snap +++ b/service/textract/snapshot/api_op_StartExpenseAnalysis.go.snap @@ -14,7 +14,6 @@ StartExpenseAnalysis Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/textract/snapshot/api_op_StartLendingAnalysis.go.snap b/service/textract/snapshot/api_op_StartLendingAnalysis.go.snap index 199dfec782c..8bc251a6269 100644 --- a/service/textract/snapshot/api_op_StartLendingAnalysis.go.snap +++ b/service/textract/snapshot/api_op_StartLendingAnalysis.go.snap @@ -14,7 +14,6 @@ StartLendingAnalysis Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/textract/snapshot/api_op_TagResource.go.snap b/service/textract/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/textract/snapshot/api_op_TagResource.go.snap +++ b/service/textract/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/textract/snapshot/api_op_UntagResource.go.snap b/service/textract/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/textract/snapshot/api_op_UntagResource.go.snap +++ b/service/textract/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/textract/snapshot/api_op_UpdateAdapter.go.snap b/service/textract/snapshot/api_op_UpdateAdapter.go.snap index c3f2eebb032..b0fa3c7d498 100644 --- a/service/textract/snapshot/api_op_UpdateAdapter.go.snap +++ b/service/textract/snapshot/api_op_UpdateAdapter.go.snap @@ -14,7 +14,6 @@ UpdateAdapter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreaminfluxdb/api_client.go b/service/timestreaminfluxdb/api_client.go index f786963a783..df3578e6d3e 100644 --- a/service/timestreaminfluxdb/api_client.go +++ b/service/timestreaminfluxdb/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/timestreaminfluxdb/api_op_CreateDbCluster.go b/service/timestreaminfluxdb/api_op_CreateDbCluster.go index c0d1fdb2e7c..a044a219ceb 100644 --- a/service/timestreaminfluxdb/api_op_CreateDbCluster.go +++ b/service/timestreaminfluxdb/api_op_CreateDbCluster.go @@ -218,9 +218,6 @@ func (c *Client) addOperationCreateDbClusterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDbClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreaminfluxdb/api_op_CreateDbInstance.go b/service/timestreaminfluxdb/api_op_CreateDbInstance.go index 0c9b42830f9..ffc9fbc93ec 100644 --- a/service/timestreaminfluxdb/api_op_CreateDbInstance.go +++ b/service/timestreaminfluxdb/api_op_CreateDbInstance.go @@ -284,9 +284,6 @@ func (c *Client) addOperationCreateDbInstanceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDbInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreaminfluxdb/api_op_CreateDbParameterGroup.go b/service/timestreaminfluxdb/api_op_CreateDbParameterGroup.go index 4fac91b25c8..4ee9764154f 100644 --- a/service/timestreaminfluxdb/api_op_CreateDbParameterGroup.go +++ b/service/timestreaminfluxdb/api_op_CreateDbParameterGroup.go @@ -142,9 +142,6 @@ func (c *Client) addOperationCreateDbParameterGroupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDbParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreaminfluxdb/api_op_DeleteDbCluster.go b/service/timestreaminfluxdb/api_op_DeleteDbCluster.go index 8d27ab2de5c..f9451d796ce 100644 --- a/service/timestreaminfluxdb/api_op_DeleteDbCluster.go +++ b/service/timestreaminfluxdb/api_op_DeleteDbCluster.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteDbClusterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDbClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreaminfluxdb/api_op_DeleteDbInstance.go b/service/timestreaminfluxdb/api_op_DeleteDbInstance.go index 96499bc1ad2..31f0b7e8d3b 100644 --- a/service/timestreaminfluxdb/api_op_DeleteDbInstance.go +++ b/service/timestreaminfluxdb/api_op_DeleteDbInstance.go @@ -188,9 +188,6 @@ func (c *Client) addOperationDeleteDbInstanceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDbInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreaminfluxdb/api_op_GetDbCluster.go b/service/timestreaminfluxdb/api_op_GetDbCluster.go index b406b4853eb..5691838dc86 100644 --- a/service/timestreaminfluxdb/api_op_GetDbCluster.go +++ b/service/timestreaminfluxdb/api_op_GetDbCluster.go @@ -180,9 +180,6 @@ func (c *Client) addOperationGetDbClusterMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDbClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreaminfluxdb/api_op_GetDbInstance.go b/service/timestreaminfluxdb/api_op_GetDbInstance.go index 75adfa6b2e2..07bbbe29aec 100644 --- a/service/timestreaminfluxdb/api_op_GetDbInstance.go +++ b/service/timestreaminfluxdb/api_op_GetDbInstance.go @@ -188,9 +188,6 @@ func (c *Client) addOperationGetDbInstanceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDbInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreaminfluxdb/api_op_GetDbParameterGroup.go b/service/timestreaminfluxdb/api_op_GetDbParameterGroup.go index 8fb1d3e11c5..7b16cec506c 100644 --- a/service/timestreaminfluxdb/api_op_GetDbParameterGroup.go +++ b/service/timestreaminfluxdb/api_op_GetDbParameterGroup.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetDbParameterGroupMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDbParameterGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreaminfluxdb/api_op_ListDbClusters.go b/service/timestreaminfluxdb/api_op_ListDbClusters.go index 190f569fccf..6255af0e1bf 100644 --- a/service/timestreaminfluxdb/api_op_ListDbClusters.go +++ b/service/timestreaminfluxdb/api_op_ListDbClusters.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListDbClustersMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDbClusters(options.Region), middleware.Before); err != nil { return err } diff --git a/service/timestreaminfluxdb/api_op_ListDbInstances.go b/service/timestreaminfluxdb/api_op_ListDbInstances.go index dd98ab6513c..3d12020c3b3 100644 --- a/service/timestreaminfluxdb/api_op_ListDbInstances.go +++ b/service/timestreaminfluxdb/api_op_ListDbInstances.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListDbInstancesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDbInstances(options.Region), middleware.Before); err != nil { return err } diff --git a/service/timestreaminfluxdb/api_op_ListDbInstancesForCluster.go b/service/timestreaminfluxdb/api_op_ListDbInstancesForCluster.go index a49b99b901f..ab0f09ec91b 100644 --- a/service/timestreaminfluxdb/api_op_ListDbInstancesForCluster.go +++ b/service/timestreaminfluxdb/api_op_ListDbInstancesForCluster.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListDbInstancesForClusterMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListDbInstancesForClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreaminfluxdb/api_op_ListDbParameterGroups.go b/service/timestreaminfluxdb/api_op_ListDbParameterGroups.go index 77ccd0d1330..ef54e1892b8 100644 --- a/service/timestreaminfluxdb/api_op_ListDbParameterGroups.go +++ b/service/timestreaminfluxdb/api_op_ListDbParameterGroups.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListDbParameterGroupsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDbParameterGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/timestreaminfluxdb/api_op_ListTagsForResource.go b/service/timestreaminfluxdb/api_op_ListTagsForResource.go index 676a67e4937..bfce690808c 100644 --- a/service/timestreaminfluxdb/api_op_ListTagsForResource.go +++ b/service/timestreaminfluxdb/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreaminfluxdb/api_op_TagResource.go b/service/timestreaminfluxdb/api_op_TagResource.go index daa07db2c3d..586fbaad7ef 100644 --- a/service/timestreaminfluxdb/api_op_TagResource.go +++ b/service/timestreaminfluxdb/api_op_TagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreaminfluxdb/api_op_UntagResource.go b/service/timestreaminfluxdb/api_op_UntagResource.go index d024563c543..d3a88d0ecb1 100644 --- a/service/timestreaminfluxdb/api_op_UntagResource.go +++ b/service/timestreaminfluxdb/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreaminfluxdb/api_op_UpdateDbCluster.go b/service/timestreaminfluxdb/api_op_UpdateDbCluster.go index af78d149f08..1da09f1e63e 100644 --- a/service/timestreaminfluxdb/api_op_UpdateDbCluster.go +++ b/service/timestreaminfluxdb/api_op_UpdateDbCluster.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateDbClusterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDbClusterValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreaminfluxdb/api_op_UpdateDbInstance.go b/service/timestreaminfluxdb/api_op_UpdateDbInstance.go index aa0ef5e7664..3febae22a96 100644 --- a/service/timestreaminfluxdb/api_op_UpdateDbInstance.go +++ b/service/timestreaminfluxdb/api_op_UpdateDbInstance.go @@ -221,9 +221,6 @@ func (c *Client) addOperationUpdateDbInstanceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDbInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreaminfluxdb/snapshot/api_op_CreateDbCluster.go.snap b/service/timestreaminfluxdb/snapshot/api_op_CreateDbCluster.go.snap index 34adbe7a6be..5c4ecdcb84d 100644 --- a/service/timestreaminfluxdb/snapshot/api_op_CreateDbCluster.go.snap +++ b/service/timestreaminfluxdb/snapshot/api_op_CreateDbCluster.go.snap @@ -14,7 +14,6 @@ CreateDbCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreaminfluxdb/snapshot/api_op_CreateDbInstance.go.snap b/service/timestreaminfluxdb/snapshot/api_op_CreateDbInstance.go.snap index 54dde1b5c5c..6e1bcf26f9b 100644 --- a/service/timestreaminfluxdb/snapshot/api_op_CreateDbInstance.go.snap +++ b/service/timestreaminfluxdb/snapshot/api_op_CreateDbInstance.go.snap @@ -14,7 +14,6 @@ CreateDbInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreaminfluxdb/snapshot/api_op_CreateDbParameterGroup.go.snap b/service/timestreaminfluxdb/snapshot/api_op_CreateDbParameterGroup.go.snap index 83553003b09..a5de9e085fd 100644 --- a/service/timestreaminfluxdb/snapshot/api_op_CreateDbParameterGroup.go.snap +++ b/service/timestreaminfluxdb/snapshot/api_op_CreateDbParameterGroup.go.snap @@ -14,7 +14,6 @@ CreateDbParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreaminfluxdb/snapshot/api_op_DeleteDbCluster.go.snap b/service/timestreaminfluxdb/snapshot/api_op_DeleteDbCluster.go.snap index 31beea461a7..4b83ee442d2 100644 --- a/service/timestreaminfluxdb/snapshot/api_op_DeleteDbCluster.go.snap +++ b/service/timestreaminfluxdb/snapshot/api_op_DeleteDbCluster.go.snap @@ -14,7 +14,6 @@ DeleteDbCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreaminfluxdb/snapshot/api_op_DeleteDbInstance.go.snap b/service/timestreaminfluxdb/snapshot/api_op_DeleteDbInstance.go.snap index 2648b1a9be0..57383bc207c 100644 --- a/service/timestreaminfluxdb/snapshot/api_op_DeleteDbInstance.go.snap +++ b/service/timestreaminfluxdb/snapshot/api_op_DeleteDbInstance.go.snap @@ -14,7 +14,6 @@ DeleteDbInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreaminfluxdb/snapshot/api_op_GetDbCluster.go.snap b/service/timestreaminfluxdb/snapshot/api_op_GetDbCluster.go.snap index 7cb5c75dbad..875fc3223be 100644 --- a/service/timestreaminfluxdb/snapshot/api_op_GetDbCluster.go.snap +++ b/service/timestreaminfluxdb/snapshot/api_op_GetDbCluster.go.snap @@ -14,7 +14,6 @@ GetDbCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreaminfluxdb/snapshot/api_op_GetDbInstance.go.snap b/service/timestreaminfluxdb/snapshot/api_op_GetDbInstance.go.snap index 5e61304c8f4..fc5acd38dc7 100644 --- a/service/timestreaminfluxdb/snapshot/api_op_GetDbInstance.go.snap +++ b/service/timestreaminfluxdb/snapshot/api_op_GetDbInstance.go.snap @@ -14,7 +14,6 @@ GetDbInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreaminfluxdb/snapshot/api_op_GetDbParameterGroup.go.snap b/service/timestreaminfluxdb/snapshot/api_op_GetDbParameterGroup.go.snap index d8d2be7156f..623496f0037 100644 --- a/service/timestreaminfluxdb/snapshot/api_op_GetDbParameterGroup.go.snap +++ b/service/timestreaminfluxdb/snapshot/api_op_GetDbParameterGroup.go.snap @@ -14,7 +14,6 @@ GetDbParameterGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreaminfluxdb/snapshot/api_op_ListDbClusters.go.snap b/service/timestreaminfluxdb/snapshot/api_op_ListDbClusters.go.snap index 286bdc4fb6c..48a6bb3bc8d 100644 --- a/service/timestreaminfluxdb/snapshot/api_op_ListDbClusters.go.snap +++ b/service/timestreaminfluxdb/snapshot/api_op_ListDbClusters.go.snap @@ -13,7 +13,6 @@ ListDbClusters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreaminfluxdb/snapshot/api_op_ListDbInstances.go.snap b/service/timestreaminfluxdb/snapshot/api_op_ListDbInstances.go.snap index ee246d1677c..e559315a1e8 100644 --- a/service/timestreaminfluxdb/snapshot/api_op_ListDbInstances.go.snap +++ b/service/timestreaminfluxdb/snapshot/api_op_ListDbInstances.go.snap @@ -13,7 +13,6 @@ ListDbInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreaminfluxdb/snapshot/api_op_ListDbInstancesForCluster.go.snap b/service/timestreaminfluxdb/snapshot/api_op_ListDbInstancesForCluster.go.snap index 017278109f8..66065cbd817 100644 --- a/service/timestreaminfluxdb/snapshot/api_op_ListDbInstancesForCluster.go.snap +++ b/service/timestreaminfluxdb/snapshot/api_op_ListDbInstancesForCluster.go.snap @@ -14,7 +14,6 @@ ListDbInstancesForCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreaminfluxdb/snapshot/api_op_ListDbParameterGroups.go.snap b/service/timestreaminfluxdb/snapshot/api_op_ListDbParameterGroups.go.snap index cf5e652e91b..ebc32c363d7 100644 --- a/service/timestreaminfluxdb/snapshot/api_op_ListDbParameterGroups.go.snap +++ b/service/timestreaminfluxdb/snapshot/api_op_ListDbParameterGroups.go.snap @@ -13,7 +13,6 @@ ListDbParameterGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreaminfluxdb/snapshot/api_op_ListTagsForResource.go.snap b/service/timestreaminfluxdb/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/timestreaminfluxdb/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/timestreaminfluxdb/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreaminfluxdb/snapshot/api_op_TagResource.go.snap b/service/timestreaminfluxdb/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/timestreaminfluxdb/snapshot/api_op_TagResource.go.snap +++ b/service/timestreaminfluxdb/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreaminfluxdb/snapshot/api_op_UntagResource.go.snap b/service/timestreaminfluxdb/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/timestreaminfluxdb/snapshot/api_op_UntagResource.go.snap +++ b/service/timestreaminfluxdb/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreaminfluxdb/snapshot/api_op_UpdateDbCluster.go.snap b/service/timestreaminfluxdb/snapshot/api_op_UpdateDbCluster.go.snap index 4d040d7eaad..06a62b14f51 100644 --- a/service/timestreaminfluxdb/snapshot/api_op_UpdateDbCluster.go.snap +++ b/service/timestreaminfluxdb/snapshot/api_op_UpdateDbCluster.go.snap @@ -14,7 +14,6 @@ UpdateDbCluster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreaminfluxdb/snapshot/api_op_UpdateDbInstance.go.snap b/service/timestreaminfluxdb/snapshot/api_op_UpdateDbInstance.go.snap index b23c0d45e2f..e982a9f909b 100644 --- a/service/timestreaminfluxdb/snapshot/api_op_UpdateDbInstance.go.snap +++ b/service/timestreaminfluxdb/snapshot/api_op_UpdateDbInstance.go.snap @@ -14,7 +14,6 @@ UpdateDbInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamquery/api_client.go b/service/timestreamquery/api_client.go index 83e65663483..3feba944105 100644 --- a/service/timestreamquery/api_client.go +++ b/service/timestreamquery/api_client.go @@ -880,37 +880,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/timestreamquery/api_op_CancelQuery.go b/service/timestreamquery/api_op_CancelQuery.go index b9ec53e0415..be5b3c5d61f 100644 --- a/service/timestreamquery/api_op_CancelQuery.go +++ b/service/timestreamquery/api_op_CancelQuery.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCancelQueryMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelQueryValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreamquery/api_op_CreateScheduledQuery.go b/service/timestreamquery/api_op_CreateScheduledQuery.go index a44db90431a..351b12da787 100644 --- a/service/timestreamquery/api_op_CreateScheduledQuery.go +++ b/service/timestreamquery/api_op_CreateScheduledQuery.go @@ -189,9 +189,6 @@ func (c *Client) addOperationCreateScheduledQueryMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateScheduledQueryMiddleware(stack, options); err != nil { return err } diff --git a/service/timestreamquery/api_op_DeleteScheduledQuery.go b/service/timestreamquery/api_op_DeleteScheduledQuery.go index 7153583b004..c5be7323a95 100644 --- a/service/timestreamquery/api_op_DeleteScheduledQuery.go +++ b/service/timestreamquery/api_op_DeleteScheduledQuery.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteScheduledQueryMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteScheduledQueryValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreamquery/api_op_DescribeAccountSettings.go b/service/timestreamquery/api_op_DescribeAccountSettings.go index 4876ced2507..2a09c91b7a3 100644 --- a/service/timestreamquery/api_op_DescribeAccountSettings.go +++ b/service/timestreamquery/api_op_DescribeAccountSettings.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeAccountSettingsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/timestreamquery/api_op_DescribeEndpoints.go b/service/timestreamquery/api_op_DescribeEndpoints.go index b64c70fa2e8..12037c3acd3 100644 --- a/service/timestreamquery/api_op_DescribeEndpoints.go +++ b/service/timestreamquery/api_op_DescribeEndpoints.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeEndpointsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEndpoints(options.Region), middleware.Before); err != nil { return err } diff --git a/service/timestreamquery/api_op_DescribeScheduledQuery.go b/service/timestreamquery/api_op_DescribeScheduledQuery.go index 3739d79f1fc..e0b0b6e1870 100644 --- a/service/timestreamquery/api_op_DescribeScheduledQuery.go +++ b/service/timestreamquery/api_op_DescribeScheduledQuery.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDescribeScheduledQueryMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeScheduledQueryValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreamquery/api_op_ExecuteScheduledQuery.go b/service/timestreamquery/api_op_ExecuteScheduledQuery.go index e476ecf9e5f..6311de4f9d0 100644 --- a/service/timestreamquery/api_op_ExecuteScheduledQuery.go +++ b/service/timestreamquery/api_op_ExecuteScheduledQuery.go @@ -135,9 +135,6 @@ func (c *Client) addOperationExecuteScheduledQueryMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opExecuteScheduledQueryMiddleware(stack, options); err != nil { return err } diff --git a/service/timestreamquery/api_op_ListScheduledQueries.go b/service/timestreamquery/api_op_ListScheduledQueries.go index 4c25e6c0c65..9000059aa9c 100644 --- a/service/timestreamquery/api_op_ListScheduledQueries.go +++ b/service/timestreamquery/api_op_ListScheduledQueries.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListScheduledQueriesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListScheduledQueries(options.Region), middleware.Before); err != nil { return err } diff --git a/service/timestreamquery/api_op_ListTagsForResource.go b/service/timestreamquery/api_op_ListTagsForResource.go index 2baf32c3bd7..a7afc45d3ed 100644 --- a/service/timestreamquery/api_op_ListTagsForResource.go +++ b/service/timestreamquery/api_op_ListTagsForResource.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreamquery/api_op_PrepareQuery.go b/service/timestreamquery/api_op_PrepareQuery.go index 13c92123efd..8b5350d5d76 100644 --- a/service/timestreamquery/api_op_PrepareQuery.go +++ b/service/timestreamquery/api_op_PrepareQuery.go @@ -137,9 +137,6 @@ func (c *Client) addOperationPrepareQueryMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPrepareQueryValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreamquery/api_op_Query.go b/service/timestreamquery/api_op_Query.go index 02c20e8f0fa..22bc7cb9c0b 100644 --- a/service/timestreamquery/api_op_Query.go +++ b/service/timestreamquery/api_op_Query.go @@ -250,9 +250,6 @@ func (c *Client) addOperationQueryMiddlewares(stack *middleware.Stack, options O if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opQueryMiddleware(stack, options); err != nil { return err } diff --git a/service/timestreamquery/api_op_TagResource.go b/service/timestreamquery/api_op_TagResource.go index d34bccf9807..5f1727cce8a 100644 --- a/service/timestreamquery/api_op_TagResource.go +++ b/service/timestreamquery/api_op_TagResource.go @@ -120,9 +120,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreamquery/api_op_UntagResource.go b/service/timestreamquery/api_op_UntagResource.go index 3b7bb9b5733..5e3dd1c06fd 100644 --- a/service/timestreamquery/api_op_UntagResource.go +++ b/service/timestreamquery/api_op_UntagResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreamquery/api_op_UpdateAccountSettings.go b/service/timestreamquery/api_op_UpdateAccountSettings.go index fffe947d28e..da8e7fa1cc7 100644 --- a/service/timestreamquery/api_op_UpdateAccountSettings.go +++ b/service/timestreamquery/api_op_UpdateAccountSettings.go @@ -155,9 +155,6 @@ func (c *Client) addOperationUpdateAccountSettingsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAccountSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreamquery/api_op_UpdateScheduledQuery.go b/service/timestreamquery/api_op_UpdateScheduledQuery.go index 7468a0d2b81..d5645f2b5f3 100644 --- a/service/timestreamquery/api_op_UpdateScheduledQuery.go +++ b/service/timestreamquery/api_op_UpdateScheduledQuery.go @@ -117,9 +117,6 @@ func (c *Client) addOperationUpdateScheduledQueryMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateScheduledQueryValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreamquery/snapshot/api_op_CancelQuery.go.snap b/service/timestreamquery/snapshot/api_op_CancelQuery.go.snap index fcc5ca06c58..f4a5b0545d7 100644 --- a/service/timestreamquery/snapshot/api_op_CancelQuery.go.snap +++ b/service/timestreamquery/snapshot/api_op_CancelQuery.go.snap @@ -14,7 +14,6 @@ CancelQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamquery/snapshot/api_op_CreateScheduledQuery.go.snap b/service/timestreamquery/snapshot/api_op_CreateScheduledQuery.go.snap index b7816e5b2d1..abb59004370 100644 --- a/service/timestreamquery/snapshot/api_op_CreateScheduledQuery.go.snap +++ b/service/timestreamquery/snapshot/api_op_CreateScheduledQuery.go.snap @@ -15,7 +15,6 @@ CreateScheduledQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamquery/snapshot/api_op_DeleteScheduledQuery.go.snap b/service/timestreamquery/snapshot/api_op_DeleteScheduledQuery.go.snap index 4f33e9e4572..4f44e666262 100644 --- a/service/timestreamquery/snapshot/api_op_DeleteScheduledQuery.go.snap +++ b/service/timestreamquery/snapshot/api_op_DeleteScheduledQuery.go.snap @@ -14,7 +14,6 @@ DeleteScheduledQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamquery/snapshot/api_op_DescribeAccountSettings.go.snap b/service/timestreamquery/snapshot/api_op_DescribeAccountSettings.go.snap index 5732efde251..65539afbc08 100644 --- a/service/timestreamquery/snapshot/api_op_DescribeAccountSettings.go.snap +++ b/service/timestreamquery/snapshot/api_op_DescribeAccountSettings.go.snap @@ -13,7 +13,6 @@ DescribeAccountSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamquery/snapshot/api_op_DescribeEndpoints.go.snap b/service/timestreamquery/snapshot/api_op_DescribeEndpoints.go.snap index 40f5280d37a..26aa4f34736 100644 --- a/service/timestreamquery/snapshot/api_op_DescribeEndpoints.go.snap +++ b/service/timestreamquery/snapshot/api_op_DescribeEndpoints.go.snap @@ -13,7 +13,6 @@ DescribeEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamquery/snapshot/api_op_DescribeScheduledQuery.go.snap b/service/timestreamquery/snapshot/api_op_DescribeScheduledQuery.go.snap index cb6e136db5d..1079564e42a 100644 --- a/service/timestreamquery/snapshot/api_op_DescribeScheduledQuery.go.snap +++ b/service/timestreamquery/snapshot/api_op_DescribeScheduledQuery.go.snap @@ -14,7 +14,6 @@ DescribeScheduledQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamquery/snapshot/api_op_ExecuteScheduledQuery.go.snap b/service/timestreamquery/snapshot/api_op_ExecuteScheduledQuery.go.snap index e404dcbbf3f..f7cd2909454 100644 --- a/service/timestreamquery/snapshot/api_op_ExecuteScheduledQuery.go.snap +++ b/service/timestreamquery/snapshot/api_op_ExecuteScheduledQuery.go.snap @@ -15,7 +15,6 @@ ExecuteScheduledQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamquery/snapshot/api_op_ListScheduledQueries.go.snap b/service/timestreamquery/snapshot/api_op_ListScheduledQueries.go.snap index e6f43e0a096..46bdea35ead 100644 --- a/service/timestreamquery/snapshot/api_op_ListScheduledQueries.go.snap +++ b/service/timestreamquery/snapshot/api_op_ListScheduledQueries.go.snap @@ -13,7 +13,6 @@ ListScheduledQueries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamquery/snapshot/api_op_ListTagsForResource.go.snap b/service/timestreamquery/snapshot/api_op_ListTagsForResource.go.snap index 98882ff7c9a..446cfe3a830 100644 --- a/service/timestreamquery/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/timestreamquery/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamquery/snapshot/api_op_PrepareQuery.go.snap b/service/timestreamquery/snapshot/api_op_PrepareQuery.go.snap index f1c09563701..a86ecf4e4eb 100644 --- a/service/timestreamquery/snapshot/api_op_PrepareQuery.go.snap +++ b/service/timestreamquery/snapshot/api_op_PrepareQuery.go.snap @@ -14,7 +14,6 @@ PrepareQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamquery/snapshot/api_op_Query.go.snap b/service/timestreamquery/snapshot/api_op_Query.go.snap index 1ba3743aee3..51a927e6fe4 100644 --- a/service/timestreamquery/snapshot/api_op_Query.go.snap +++ b/service/timestreamquery/snapshot/api_op_Query.go.snap @@ -15,7 +15,6 @@ Query Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamquery/snapshot/api_op_TagResource.go.snap b/service/timestreamquery/snapshot/api_op_TagResource.go.snap index 7776f54c306..7aadf176497 100644 --- a/service/timestreamquery/snapshot/api_op_TagResource.go.snap +++ b/service/timestreamquery/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamquery/snapshot/api_op_UntagResource.go.snap b/service/timestreamquery/snapshot/api_op_UntagResource.go.snap index 3509558f57b..5b0e946cbe7 100644 --- a/service/timestreamquery/snapshot/api_op_UntagResource.go.snap +++ b/service/timestreamquery/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamquery/snapshot/api_op_UpdateAccountSettings.go.snap b/service/timestreamquery/snapshot/api_op_UpdateAccountSettings.go.snap index 62740d370d9..b7a9514b434 100644 --- a/service/timestreamquery/snapshot/api_op_UpdateAccountSettings.go.snap +++ b/service/timestreamquery/snapshot/api_op_UpdateAccountSettings.go.snap @@ -14,7 +14,6 @@ UpdateAccountSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamquery/snapshot/api_op_UpdateScheduledQuery.go.snap b/service/timestreamquery/snapshot/api_op_UpdateScheduledQuery.go.snap index ee9a6c41c9c..4ec0226d36c 100644 --- a/service/timestreamquery/snapshot/api_op_UpdateScheduledQuery.go.snap +++ b/service/timestreamquery/snapshot/api_op_UpdateScheduledQuery.go.snap @@ -14,7 +14,6 @@ UpdateScheduledQuery Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamwrite/api_client.go b/service/timestreamwrite/api_client.go index 96a0343efa1..6682b95ebf2 100644 --- a/service/timestreamwrite/api_client.go +++ b/service/timestreamwrite/api_client.go @@ -880,37 +880,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/timestreamwrite/api_op_CreateBatchLoadTask.go b/service/timestreamwrite/api_op_CreateBatchLoadTask.go index ae414e568b6..24833b1e8f8 100644 --- a/service/timestreamwrite/api_op_CreateBatchLoadTask.go +++ b/service/timestreamwrite/api_op_CreateBatchLoadTask.go @@ -152,9 +152,6 @@ func (c *Client) addOperationCreateBatchLoadTaskMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateBatchLoadTaskMiddleware(stack, options); err != nil { return err } diff --git a/service/timestreamwrite/api_op_CreateDatabase.go b/service/timestreamwrite/api_op_CreateDatabase.go index c388570dcd8..5e9d883ba84 100644 --- a/service/timestreamwrite/api_op_CreateDatabase.go +++ b/service/timestreamwrite/api_op_CreateDatabase.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateDatabaseMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateDatabaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreamwrite/api_op_CreateTable.go b/service/timestreamwrite/api_op_CreateTable.go index 71c9bfa15f5..ec5479624f8 100644 --- a/service/timestreamwrite/api_op_CreateTable.go +++ b/service/timestreamwrite/api_op_CreateTable.go @@ -142,9 +142,6 @@ func (c *Client) addOperationCreateTableMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreamwrite/api_op_DeleteDatabase.go b/service/timestreamwrite/api_op_DeleteDatabase.go index fc3301b53bc..39bd4431643 100644 --- a/service/timestreamwrite/api_op_DeleteDatabase.go +++ b/service/timestreamwrite/api_op_DeleteDatabase.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteDatabaseMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDatabaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreamwrite/api_op_DeleteTable.go b/service/timestreamwrite/api_op_DeleteTable.go index 7f8c98de7de..818d1692ef5 100644 --- a/service/timestreamwrite/api_op_DeleteTable.go +++ b/service/timestreamwrite/api_op_DeleteTable.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDeleteTableMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreamwrite/api_op_DescribeBatchLoadTask.go b/service/timestreamwrite/api_op_DescribeBatchLoadTask.go index 6e45b1740c0..a06268e0dad 100644 --- a/service/timestreamwrite/api_op_DescribeBatchLoadTask.go +++ b/service/timestreamwrite/api_op_DescribeBatchLoadTask.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDescribeBatchLoadTaskMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBatchLoadTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreamwrite/api_op_DescribeDatabase.go b/service/timestreamwrite/api_op_DescribeDatabase.go index 3da17f37718..15f117faf65 100644 --- a/service/timestreamwrite/api_op_DescribeDatabase.go +++ b/service/timestreamwrite/api_op_DescribeDatabase.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeDatabaseMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDatabaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreamwrite/api_op_DescribeEndpoints.go b/service/timestreamwrite/api_op_DescribeEndpoints.go index 161dbd5a5ed..eaf8b831f9b 100644 --- a/service/timestreamwrite/api_op_DescribeEndpoints.go +++ b/service/timestreamwrite/api_op_DescribeEndpoints.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeEndpointsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeEndpoints(options.Region), middleware.Before); err != nil { return err } diff --git a/service/timestreamwrite/api_op_DescribeTable.go b/service/timestreamwrite/api_op_DescribeTable.go index 6f9e9b52cd2..6210e98b0bd 100644 --- a/service/timestreamwrite/api_op_DescribeTable.go +++ b/service/timestreamwrite/api_op_DescribeTable.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeTableMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreamwrite/api_op_ListBatchLoadTasks.go b/service/timestreamwrite/api_op_ListBatchLoadTasks.go index 54f6fac21ad..934114bc5f8 100644 --- a/service/timestreamwrite/api_op_ListBatchLoadTasks.go +++ b/service/timestreamwrite/api_op_ListBatchLoadTasks.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListBatchLoadTasksMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBatchLoadTasks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/timestreamwrite/api_op_ListDatabases.go b/service/timestreamwrite/api_op_ListDatabases.go index 84dc273690a..ec93654eeb1 100644 --- a/service/timestreamwrite/api_op_ListDatabases.go +++ b/service/timestreamwrite/api_op_ListDatabases.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListDatabasesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDatabases(options.Region), middleware.Before); err != nil { return err } diff --git a/service/timestreamwrite/api_op_ListTables.go b/service/timestreamwrite/api_op_ListTables.go index 5c02e985487..11a3fcd140a 100644 --- a/service/timestreamwrite/api_op_ListTables.go +++ b/service/timestreamwrite/api_op_ListTables.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListTablesMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTables(options.Region), middleware.Before); err != nil { return err } diff --git a/service/timestreamwrite/api_op_ListTagsForResource.go b/service/timestreamwrite/api_op_ListTagsForResource.go index 1be1dc1d5e1..f75255c5c82 100644 --- a/service/timestreamwrite/api_op_ListTagsForResource.go +++ b/service/timestreamwrite/api_op_ListTagsForResource.go @@ -117,9 +117,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreamwrite/api_op_ResumeBatchLoadTask.go b/service/timestreamwrite/api_op_ResumeBatchLoadTask.go index 463311edebe..d40ce273760 100644 --- a/service/timestreamwrite/api_op_ResumeBatchLoadTask.go +++ b/service/timestreamwrite/api_op_ResumeBatchLoadTask.go @@ -110,9 +110,6 @@ func (c *Client) addOperationResumeBatchLoadTaskMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResumeBatchLoadTaskValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreamwrite/api_op_TagResource.go b/service/timestreamwrite/api_op_TagResource.go index 7456432b96b..ef7026da969 100644 --- a/service/timestreamwrite/api_op_TagResource.go +++ b/service/timestreamwrite/api_op_TagResource.go @@ -121,9 +121,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreamwrite/api_op_UntagResource.go b/service/timestreamwrite/api_op_UntagResource.go index f121005b17f..3462b880544 100644 --- a/service/timestreamwrite/api_op_UntagResource.go +++ b/service/timestreamwrite/api_op_UntagResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreamwrite/api_op_UpdateDatabase.go b/service/timestreamwrite/api_op_UpdateDatabase.go index 11ddc70530f..7d3b98fa6a2 100644 --- a/service/timestreamwrite/api_op_UpdateDatabase.go +++ b/service/timestreamwrite/api_op_UpdateDatabase.go @@ -144,9 +144,6 @@ func (c *Client) addOperationUpdateDatabaseMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDatabaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreamwrite/api_op_UpdateTable.go b/service/timestreamwrite/api_op_UpdateTable.go index 94117f8bef8..81621fcdff6 100644 --- a/service/timestreamwrite/api_op_UpdateTable.go +++ b/service/timestreamwrite/api_op_UpdateTable.go @@ -140,9 +140,6 @@ func (c *Client) addOperationUpdateTableMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTableValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreamwrite/api_op_WriteRecords.go b/service/timestreamwrite/api_op_WriteRecords.go index 0455d8d9c30..37c03e42c2c 100644 --- a/service/timestreamwrite/api_op_WriteRecords.go +++ b/service/timestreamwrite/api_op_WriteRecords.go @@ -177,9 +177,6 @@ func (c *Client) addOperationWriteRecordsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpWriteRecordsValidationMiddleware(stack); err != nil { return err } diff --git a/service/timestreamwrite/snapshot/api_op_CreateBatchLoadTask.go.snap b/service/timestreamwrite/snapshot/api_op_CreateBatchLoadTask.go.snap index aeabbbf9c55..c2d673e5506 100644 --- a/service/timestreamwrite/snapshot/api_op_CreateBatchLoadTask.go.snap +++ b/service/timestreamwrite/snapshot/api_op_CreateBatchLoadTask.go.snap @@ -15,7 +15,6 @@ CreateBatchLoadTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamwrite/snapshot/api_op_CreateDatabase.go.snap b/service/timestreamwrite/snapshot/api_op_CreateDatabase.go.snap index eaa00b1136a..a7cf1eb36ce 100644 --- a/service/timestreamwrite/snapshot/api_op_CreateDatabase.go.snap +++ b/service/timestreamwrite/snapshot/api_op_CreateDatabase.go.snap @@ -14,7 +14,6 @@ CreateDatabase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamwrite/snapshot/api_op_CreateTable.go.snap b/service/timestreamwrite/snapshot/api_op_CreateTable.go.snap index ad6ebcef6a8..203a480a8ba 100644 --- a/service/timestreamwrite/snapshot/api_op_CreateTable.go.snap +++ b/service/timestreamwrite/snapshot/api_op_CreateTable.go.snap @@ -14,7 +14,6 @@ CreateTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamwrite/snapshot/api_op_DeleteDatabase.go.snap b/service/timestreamwrite/snapshot/api_op_DeleteDatabase.go.snap index c21692f46b2..32f733fca59 100644 --- a/service/timestreamwrite/snapshot/api_op_DeleteDatabase.go.snap +++ b/service/timestreamwrite/snapshot/api_op_DeleteDatabase.go.snap @@ -14,7 +14,6 @@ DeleteDatabase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamwrite/snapshot/api_op_DeleteTable.go.snap b/service/timestreamwrite/snapshot/api_op_DeleteTable.go.snap index 8a0569f3597..34c0ed4984b 100644 --- a/service/timestreamwrite/snapshot/api_op_DeleteTable.go.snap +++ b/service/timestreamwrite/snapshot/api_op_DeleteTable.go.snap @@ -14,7 +14,6 @@ DeleteTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamwrite/snapshot/api_op_DescribeBatchLoadTask.go.snap b/service/timestreamwrite/snapshot/api_op_DescribeBatchLoadTask.go.snap index ffcbabe347f..e62acecea9b 100644 --- a/service/timestreamwrite/snapshot/api_op_DescribeBatchLoadTask.go.snap +++ b/service/timestreamwrite/snapshot/api_op_DescribeBatchLoadTask.go.snap @@ -14,7 +14,6 @@ DescribeBatchLoadTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamwrite/snapshot/api_op_DescribeDatabase.go.snap b/service/timestreamwrite/snapshot/api_op_DescribeDatabase.go.snap index e37faec89ca..cef99805ed1 100644 --- a/service/timestreamwrite/snapshot/api_op_DescribeDatabase.go.snap +++ b/service/timestreamwrite/snapshot/api_op_DescribeDatabase.go.snap @@ -14,7 +14,6 @@ DescribeDatabase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamwrite/snapshot/api_op_DescribeEndpoints.go.snap b/service/timestreamwrite/snapshot/api_op_DescribeEndpoints.go.snap index 40f5280d37a..26aa4f34736 100644 --- a/service/timestreamwrite/snapshot/api_op_DescribeEndpoints.go.snap +++ b/service/timestreamwrite/snapshot/api_op_DescribeEndpoints.go.snap @@ -13,7 +13,6 @@ DescribeEndpoints Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamwrite/snapshot/api_op_DescribeTable.go.snap b/service/timestreamwrite/snapshot/api_op_DescribeTable.go.snap index ff6154e59aa..de800187602 100644 --- a/service/timestreamwrite/snapshot/api_op_DescribeTable.go.snap +++ b/service/timestreamwrite/snapshot/api_op_DescribeTable.go.snap @@ -14,7 +14,6 @@ DescribeTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamwrite/snapshot/api_op_ListBatchLoadTasks.go.snap b/service/timestreamwrite/snapshot/api_op_ListBatchLoadTasks.go.snap index a6231843547..512578c58a5 100644 --- a/service/timestreamwrite/snapshot/api_op_ListBatchLoadTasks.go.snap +++ b/service/timestreamwrite/snapshot/api_op_ListBatchLoadTasks.go.snap @@ -13,7 +13,6 @@ ListBatchLoadTasks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamwrite/snapshot/api_op_ListDatabases.go.snap b/service/timestreamwrite/snapshot/api_op_ListDatabases.go.snap index 5688f2ceaf8..ecbc32acf55 100644 --- a/service/timestreamwrite/snapshot/api_op_ListDatabases.go.snap +++ b/service/timestreamwrite/snapshot/api_op_ListDatabases.go.snap @@ -13,7 +13,6 @@ ListDatabases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamwrite/snapshot/api_op_ListTables.go.snap b/service/timestreamwrite/snapshot/api_op_ListTables.go.snap index 6bff40d004b..f4b5b66ec19 100644 --- a/service/timestreamwrite/snapshot/api_op_ListTables.go.snap +++ b/service/timestreamwrite/snapshot/api_op_ListTables.go.snap @@ -13,7 +13,6 @@ ListTables Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamwrite/snapshot/api_op_ListTagsForResource.go.snap b/service/timestreamwrite/snapshot/api_op_ListTagsForResource.go.snap index 98882ff7c9a..446cfe3a830 100644 --- a/service/timestreamwrite/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/timestreamwrite/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamwrite/snapshot/api_op_ResumeBatchLoadTask.go.snap b/service/timestreamwrite/snapshot/api_op_ResumeBatchLoadTask.go.snap index 5bdda33da08..dc43932e1c7 100644 --- a/service/timestreamwrite/snapshot/api_op_ResumeBatchLoadTask.go.snap +++ b/service/timestreamwrite/snapshot/api_op_ResumeBatchLoadTask.go.snap @@ -14,7 +14,6 @@ ResumeBatchLoadTask Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamwrite/snapshot/api_op_TagResource.go.snap b/service/timestreamwrite/snapshot/api_op_TagResource.go.snap index 7776f54c306..7aadf176497 100644 --- a/service/timestreamwrite/snapshot/api_op_TagResource.go.snap +++ b/service/timestreamwrite/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamwrite/snapshot/api_op_UntagResource.go.snap b/service/timestreamwrite/snapshot/api_op_UntagResource.go.snap index 3509558f57b..5b0e946cbe7 100644 --- a/service/timestreamwrite/snapshot/api_op_UntagResource.go.snap +++ b/service/timestreamwrite/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamwrite/snapshot/api_op_UpdateDatabase.go.snap b/service/timestreamwrite/snapshot/api_op_UpdateDatabase.go.snap index 8eb4aaf7439..1a42083a7d7 100644 --- a/service/timestreamwrite/snapshot/api_op_UpdateDatabase.go.snap +++ b/service/timestreamwrite/snapshot/api_op_UpdateDatabase.go.snap @@ -14,7 +14,6 @@ UpdateDatabase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamwrite/snapshot/api_op_UpdateTable.go.snap b/service/timestreamwrite/snapshot/api_op_UpdateTable.go.snap index ddd49830ed2..4c944f354d2 100644 --- a/service/timestreamwrite/snapshot/api_op_UpdateTable.go.snap +++ b/service/timestreamwrite/snapshot/api_op_UpdateTable.go.snap @@ -14,7 +14,6 @@ UpdateTable Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/timestreamwrite/snapshot/api_op_WriteRecords.go.snap b/service/timestreamwrite/snapshot/api_op_WriteRecords.go.snap index c54b9aeed58..33b6c45ba59 100644 --- a/service/timestreamwrite/snapshot/api_op_WriteRecords.go.snap +++ b/service/timestreamwrite/snapshot/api_op_WriteRecords.go.snap @@ -14,7 +14,6 @@ WriteRecords Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/tnb/api_client.go b/service/tnb/api_client.go index db3c5804dc3..ace413035dc 100644 --- a/service/tnb/api_client.go +++ b/service/tnb/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/tnb/api_op_CancelSolNetworkOperation.go b/service/tnb/api_op_CancelSolNetworkOperation.go index 5dd673b52d8..86ce32900b7 100644 --- a/service/tnb/api_op_CancelSolNetworkOperation.go +++ b/service/tnb/api_op_CancelSolNetworkOperation.go @@ -110,9 +110,6 @@ func (c *Client) addOperationCancelSolNetworkOperationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelSolNetworkOperationValidationMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_CreateSolFunctionPackage.go b/service/tnb/api_op_CreateSolFunctionPackage.go index a37f73873f1..a8772cdc733 100644 --- a/service/tnb/api_op_CreateSolFunctionPackage.go +++ b/service/tnb/api_op_CreateSolFunctionPackage.go @@ -153,9 +153,6 @@ func (c *Client) addOperationCreateSolFunctionPackageMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSolFunctionPackage(options.Region), middleware.Before); err != nil { return err } diff --git a/service/tnb/api_op_CreateSolNetworkInstance.go b/service/tnb/api_op_CreateSolNetworkInstance.go index 5e2b3f2c876..f6f14f8138f 100644 --- a/service/tnb/api_op_CreateSolNetworkInstance.go +++ b/service/tnb/api_op_CreateSolNetworkInstance.go @@ -158,9 +158,6 @@ func (c *Client) addOperationCreateSolNetworkInstanceMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSolNetworkInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_CreateSolNetworkPackage.go b/service/tnb/api_op_CreateSolNetworkPackage.go index d6bdf241185..967ac729ea2 100644 --- a/service/tnb/api_op_CreateSolNetworkPackage.go +++ b/service/tnb/api_op_CreateSolNetworkPackage.go @@ -156,9 +156,6 @@ func (c *Client) addOperationCreateSolNetworkPackageMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateSolNetworkPackage(options.Region), middleware.Before); err != nil { return err } diff --git a/service/tnb/api_op_DeleteSolFunctionPackage.go b/service/tnb/api_op_DeleteSolFunctionPackage.go index ddbecea2354..4c71f1dc5f8 100644 --- a/service/tnb/api_op_DeleteSolFunctionPackage.go +++ b/service/tnb/api_op_DeleteSolFunctionPackage.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteSolFunctionPackageMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSolFunctionPackageValidationMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_DeleteSolNetworkInstance.go b/service/tnb/api_op_DeleteSolNetworkInstance.go index df0a5f5b162..072f1aa1b73 100644 --- a/service/tnb/api_op_DeleteSolNetworkInstance.go +++ b/service/tnb/api_op_DeleteSolNetworkInstance.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteSolNetworkInstanceMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSolNetworkInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_DeleteSolNetworkPackage.go b/service/tnb/api_op_DeleteSolNetworkPackage.go index 409429dbc5f..6e7de3e7e82 100644 --- a/service/tnb/api_op_DeleteSolNetworkPackage.go +++ b/service/tnb/api_op_DeleteSolNetworkPackage.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteSolNetworkPackageMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSolNetworkPackageValidationMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_GetSolFunctionInstance.go b/service/tnb/api_op_GetSolFunctionInstance.go index 09f0bcf54b0..178aa06b69a 100644 --- a/service/tnb/api_op_GetSolFunctionInstance.go +++ b/service/tnb/api_op_GetSolFunctionInstance.go @@ -169,9 +169,6 @@ func (c *Client) addOperationGetSolFunctionInstanceMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSolFunctionInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_GetSolFunctionPackage.go b/service/tnb/api_op_GetSolFunctionPackage.go index 722f8bddad0..bcc21e1aeec 100644 --- a/service/tnb/api_op_GetSolFunctionPackage.go +++ b/service/tnb/api_op_GetSolFunctionPackage.go @@ -165,9 +165,6 @@ func (c *Client) addOperationGetSolFunctionPackageMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSolFunctionPackageValidationMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_GetSolFunctionPackageContent.go b/service/tnb/api_op_GetSolFunctionPackageContent.go index d19e9ec048e..249d49b5919 100644 --- a/service/tnb/api_op_GetSolFunctionPackageContent.go +++ b/service/tnb/api_op_GetSolFunctionPackageContent.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetSolFunctionPackageContentMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSolFunctionPackageContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_GetSolFunctionPackageDescriptor.go b/service/tnb/api_op_GetSolFunctionPackageDescriptor.go index 534678c2e03..527edf9c4a9 100644 --- a/service/tnb/api_op_GetSolFunctionPackageDescriptor.go +++ b/service/tnb/api_op_GetSolFunctionPackageDescriptor.go @@ -130,9 +130,6 @@ func (c *Client) addOperationGetSolFunctionPackageDescriptorMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSolFunctionPackageDescriptorValidationMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_GetSolNetworkInstance.go b/service/tnb/api_op_GetSolNetworkInstance.go index 397ec976dbf..547e91a85fa 100644 --- a/service/tnb/api_op_GetSolNetworkInstance.go +++ b/service/tnb/api_op_GetSolNetworkInstance.go @@ -165,9 +165,6 @@ func (c *Client) addOperationGetSolNetworkInstanceMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSolNetworkInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_GetSolNetworkOperation.go b/service/tnb/api_op_GetSolNetworkOperation.go index 160114ed192..c439b87a2f9 100644 --- a/service/tnb/api_op_GetSolNetworkOperation.go +++ b/service/tnb/api_op_GetSolNetworkOperation.go @@ -148,9 +148,6 @@ func (c *Client) addOperationGetSolNetworkOperationMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSolNetworkOperationValidationMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_GetSolNetworkPackage.go b/service/tnb/api_op_GetSolNetworkPackage.go index 8a871359440..7012ecb960e 100644 --- a/service/tnb/api_op_GetSolNetworkPackage.go +++ b/service/tnb/api_op_GetSolNetworkPackage.go @@ -173,9 +173,6 @@ func (c *Client) addOperationGetSolNetworkPackageMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSolNetworkPackageValidationMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_GetSolNetworkPackageContent.go b/service/tnb/api_op_GetSolNetworkPackageContent.go index 4af79a9921b..5e6b1fc5b97 100644 --- a/service/tnb/api_op_GetSolNetworkPackageContent.go +++ b/service/tnb/api_op_GetSolNetworkPackageContent.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetSolNetworkPackageContentMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSolNetworkPackageContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_GetSolNetworkPackageDescriptor.go b/service/tnb/api_op_GetSolNetworkPackageDescriptor.go index c5a6c9b09b6..21e11d3d117 100644 --- a/service/tnb/api_op_GetSolNetworkPackageDescriptor.go +++ b/service/tnb/api_op_GetSolNetworkPackageDescriptor.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetSolNetworkPackageDescriptorMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSolNetworkPackageDescriptorValidationMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_InstantiateSolNetworkInstance.go b/service/tnb/api_op_InstantiateSolNetworkInstance.go index d43c2d16be7..c4ee6e87338 100644 --- a/service/tnb/api_op_InstantiateSolNetworkInstance.go +++ b/service/tnb/api_op_InstantiateSolNetworkInstance.go @@ -146,9 +146,6 @@ func (c *Client) addOperationInstantiateSolNetworkInstanceMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpInstantiateSolNetworkInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_ListSolFunctionInstances.go b/service/tnb/api_op_ListSolFunctionInstances.go index cadecc7eec5..39888d2d704 100644 --- a/service/tnb/api_op_ListSolFunctionInstances.go +++ b/service/tnb/api_op_ListSolFunctionInstances.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListSolFunctionInstancesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSolFunctionInstances(options.Region), middleware.Before); err != nil { return err } diff --git a/service/tnb/api_op_ListSolFunctionPackages.go b/service/tnb/api_op_ListSolFunctionPackages.go index 30b1a2bac30..203ec18a865 100644 --- a/service/tnb/api_op_ListSolFunctionPackages.go +++ b/service/tnb/api_op_ListSolFunctionPackages.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListSolFunctionPackagesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSolFunctionPackages(options.Region), middleware.Before); err != nil { return err } diff --git a/service/tnb/api_op_ListSolNetworkInstances.go b/service/tnb/api_op_ListSolNetworkInstances.go index f7b89d53a69..90944e0fc23 100644 --- a/service/tnb/api_op_ListSolNetworkInstances.go +++ b/service/tnb/api_op_ListSolNetworkInstances.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListSolNetworkInstancesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSolNetworkInstances(options.Region), middleware.Before); err != nil { return err } diff --git a/service/tnb/api_op_ListSolNetworkOperations.go b/service/tnb/api_op_ListSolNetworkOperations.go index b06d6329663..a06784fb39b 100644 --- a/service/tnb/api_op_ListSolNetworkOperations.go +++ b/service/tnb/api_op_ListSolNetworkOperations.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListSolNetworkOperationsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSolNetworkOperations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/tnb/api_op_ListSolNetworkPackages.go b/service/tnb/api_op_ListSolNetworkPackages.go index b0953e98602..1fd2f3e491f 100644 --- a/service/tnb/api_op_ListSolNetworkPackages.go +++ b/service/tnb/api_op_ListSolNetworkPackages.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListSolNetworkPackagesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSolNetworkPackages(options.Region), middleware.Before); err != nil { return err } diff --git a/service/tnb/api_op_ListTagsForResource.go b/service/tnb/api_op_ListTagsForResource.go index 9edd3e75031..b4e6d7c4a10 100644 --- a/service/tnb/api_op_ListTagsForResource.go +++ b/service/tnb/api_op_ListTagsForResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_PutSolFunctionPackageContent.go b/service/tnb/api_op_PutSolFunctionPackageContent.go index 226c4773741..178bd261069 100644 --- a/service/tnb/api_op_PutSolFunctionPackageContent.go +++ b/service/tnb/api_op_PutSolFunctionPackageContent.go @@ -152,9 +152,6 @@ func (c *Client) addOperationPutSolFunctionPackageContentMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutSolFunctionPackageContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_PutSolNetworkPackageContent.go b/service/tnb/api_op_PutSolNetworkPackageContent.go index 22659a6378c..e0817f91325 100644 --- a/service/tnb/api_op_PutSolNetworkPackageContent.go +++ b/service/tnb/api_op_PutSolNetworkPackageContent.go @@ -156,9 +156,6 @@ func (c *Client) addOperationPutSolNetworkPackageContentMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutSolNetworkPackageContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_TagResource.go b/service/tnb/api_op_TagResource.go index 1cb9a33287e..aff60d0b859 100644 --- a/service/tnb/api_op_TagResource.go +++ b/service/tnb/api_op_TagResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_TerminateSolNetworkInstance.go b/service/tnb/api_op_TerminateSolNetworkInstance.go index 6927cb48f64..445448ce2cf 100644 --- a/service/tnb/api_op_TerminateSolNetworkInstance.go +++ b/service/tnb/api_op_TerminateSolNetworkInstance.go @@ -131,9 +131,6 @@ func (c *Client) addOperationTerminateSolNetworkInstanceMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTerminateSolNetworkInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_UntagResource.go b/service/tnb/api_op_UntagResource.go index c9332c99ae9..5a73e5f5acc 100644 --- a/service/tnb/api_op_UntagResource.go +++ b/service/tnb/api_op_UntagResource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_UpdateSolFunctionPackage.go b/service/tnb/api_op_UpdateSolFunctionPackage.go index 1ae67c4dc83..e63d19e68ae 100644 --- a/service/tnb/api_op_UpdateSolFunctionPackage.go +++ b/service/tnb/api_op_UpdateSolFunctionPackage.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateSolFunctionPackageMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSolFunctionPackageValidationMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_UpdateSolNetworkInstance.go b/service/tnb/api_op_UpdateSolNetworkInstance.go index fc98cdb11c0..5c6ffad1b30 100644 --- a/service/tnb/api_op_UpdateSolNetworkInstance.go +++ b/service/tnb/api_op_UpdateSolNetworkInstance.go @@ -156,9 +156,6 @@ func (c *Client) addOperationUpdateSolNetworkInstanceMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSolNetworkInstanceValidationMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_UpdateSolNetworkPackage.go b/service/tnb/api_op_UpdateSolNetworkPackage.go index 625cf636cc2..116876993c9 100644 --- a/service/tnb/api_op_UpdateSolNetworkPackage.go +++ b/service/tnb/api_op_UpdateSolNetworkPackage.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateSolNetworkPackageMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSolNetworkPackageValidationMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_ValidateSolFunctionPackageContent.go b/service/tnb/api_op_ValidateSolFunctionPackageContent.go index 1db6a9f5fff..4d03b0d7d10 100644 --- a/service/tnb/api_op_ValidateSolFunctionPackageContent.go +++ b/service/tnb/api_op_ValidateSolFunctionPackageContent.go @@ -155,9 +155,6 @@ func (c *Client) addOperationValidateSolFunctionPackageContentMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpValidateSolFunctionPackageContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/tnb/api_op_ValidateSolNetworkPackageContent.go b/service/tnb/api_op_ValidateSolNetworkPackageContent.go index 92540963b10..1afc97e7d1a 100644 --- a/service/tnb/api_op_ValidateSolNetworkPackageContent.go +++ b/service/tnb/api_op_ValidateSolNetworkPackageContent.go @@ -159,9 +159,6 @@ func (c *Client) addOperationValidateSolNetworkPackageContentMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpValidateSolNetworkPackageContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/tnb/snapshot/api_op_CancelSolNetworkOperation.go.snap b/service/tnb/snapshot/api_op_CancelSolNetworkOperation.go.snap index 441a87ea0e9..909c243cd23 100644 --- a/service/tnb/snapshot/api_op_CancelSolNetworkOperation.go.snap +++ b/service/tnb/snapshot/api_op_CancelSolNetworkOperation.go.snap @@ -14,7 +14,6 @@ CancelSolNetworkOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/tnb/snapshot/api_op_CreateSolFunctionPackage.go.snap b/service/tnb/snapshot/api_op_CreateSolFunctionPackage.go.snap index 7436ecddab0..a035faf1c86 100644 --- a/service/tnb/snapshot/api_op_CreateSolFunctionPackage.go.snap +++ b/service/tnb/snapshot/api_op_CreateSolFunctionPackage.go.snap @@ -13,7 +13,6 @@ CreateSolFunctionPackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/tnb/snapshot/api_op_CreateSolNetworkInstance.go.snap b/service/tnb/snapshot/api_op_CreateSolNetworkInstance.go.snap index 7e78f0c9b20..ba9b1561abf 100644 --- a/service/tnb/snapshot/api_op_CreateSolNetworkInstance.go.snap +++ b/service/tnb/snapshot/api_op_CreateSolNetworkInstance.go.snap @@ -14,7 +14,6 @@ CreateSolNetworkInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/tnb/snapshot/api_op_CreateSolNetworkPackage.go.snap b/service/tnb/snapshot/api_op_CreateSolNetworkPackage.go.snap index 0a2f7b2db7e..5b073971889 100644 --- a/service/tnb/snapshot/api_op_CreateSolNetworkPackage.go.snap +++ b/service/tnb/snapshot/api_op_CreateSolNetworkPackage.go.snap @@ -13,7 +13,6 @@ CreateSolNetworkPackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/tnb/snapshot/api_op_DeleteSolFunctionPackage.go.snap b/service/tnb/snapshot/api_op_DeleteSolFunctionPackage.go.snap index a09b17733d6..51f003751d6 100644 --- a/service/tnb/snapshot/api_op_DeleteSolFunctionPackage.go.snap +++ b/service/tnb/snapshot/api_op_DeleteSolFunctionPackage.go.snap @@ -14,7 +14,6 @@ DeleteSolFunctionPackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/tnb/snapshot/api_op_DeleteSolNetworkInstance.go.snap b/service/tnb/snapshot/api_op_DeleteSolNetworkInstance.go.snap index fa4a64f9a3a..0d326fb57e1 100644 --- a/service/tnb/snapshot/api_op_DeleteSolNetworkInstance.go.snap +++ b/service/tnb/snapshot/api_op_DeleteSolNetworkInstance.go.snap @@ -14,7 +14,6 @@ DeleteSolNetworkInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/tnb/snapshot/api_op_DeleteSolNetworkPackage.go.snap b/service/tnb/snapshot/api_op_DeleteSolNetworkPackage.go.snap index 4bd94a7d60a..f638cc441eb 100644 --- a/service/tnb/snapshot/api_op_DeleteSolNetworkPackage.go.snap +++ b/service/tnb/snapshot/api_op_DeleteSolNetworkPackage.go.snap @@ -14,7 +14,6 @@ DeleteSolNetworkPackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/tnb/snapshot/api_op_GetSolFunctionInstance.go.snap b/service/tnb/snapshot/api_op_GetSolFunctionInstance.go.snap index 5ed61dfda99..71b0025a36e 100644 --- a/service/tnb/snapshot/api_op_GetSolFunctionInstance.go.snap +++ b/service/tnb/snapshot/api_op_GetSolFunctionInstance.go.snap @@ -14,7 +14,6 @@ GetSolFunctionInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/tnb/snapshot/api_op_GetSolFunctionPackage.go.snap b/service/tnb/snapshot/api_op_GetSolFunctionPackage.go.snap index 9b4e79f2f60..a9cc14ee2e6 100644 --- a/service/tnb/snapshot/api_op_GetSolFunctionPackage.go.snap +++ b/service/tnb/snapshot/api_op_GetSolFunctionPackage.go.snap @@ -14,7 +14,6 @@ GetSolFunctionPackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/tnb/snapshot/api_op_GetSolFunctionPackageContent.go.snap b/service/tnb/snapshot/api_op_GetSolFunctionPackageContent.go.snap index a9a56696f8e..1f7797c79bf 100644 --- a/service/tnb/snapshot/api_op_GetSolFunctionPackageContent.go.snap +++ b/service/tnb/snapshot/api_op_GetSolFunctionPackageContent.go.snap @@ -14,7 +14,6 @@ GetSolFunctionPackageContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/tnb/snapshot/api_op_GetSolFunctionPackageDescriptor.go.snap b/service/tnb/snapshot/api_op_GetSolFunctionPackageDescriptor.go.snap index 0384ae4e9de..6fb60bfa294 100644 --- a/service/tnb/snapshot/api_op_GetSolFunctionPackageDescriptor.go.snap +++ b/service/tnb/snapshot/api_op_GetSolFunctionPackageDescriptor.go.snap @@ -14,7 +14,6 @@ GetSolFunctionPackageDescriptor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/tnb/snapshot/api_op_GetSolNetworkInstance.go.snap b/service/tnb/snapshot/api_op_GetSolNetworkInstance.go.snap index 2c36b537836..9f129ba6edb 100644 --- a/service/tnb/snapshot/api_op_GetSolNetworkInstance.go.snap +++ b/service/tnb/snapshot/api_op_GetSolNetworkInstance.go.snap @@ -14,7 +14,6 @@ GetSolNetworkInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/tnb/snapshot/api_op_GetSolNetworkOperation.go.snap b/service/tnb/snapshot/api_op_GetSolNetworkOperation.go.snap index b7dd37a65d2..45e896dd693 100644 --- a/service/tnb/snapshot/api_op_GetSolNetworkOperation.go.snap +++ b/service/tnb/snapshot/api_op_GetSolNetworkOperation.go.snap @@ -14,7 +14,6 @@ GetSolNetworkOperation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/tnb/snapshot/api_op_GetSolNetworkPackage.go.snap b/service/tnb/snapshot/api_op_GetSolNetworkPackage.go.snap index 6401258b146..6c79b27cfa8 100644 --- a/service/tnb/snapshot/api_op_GetSolNetworkPackage.go.snap +++ b/service/tnb/snapshot/api_op_GetSolNetworkPackage.go.snap @@ -14,7 +14,6 @@ GetSolNetworkPackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/tnb/snapshot/api_op_GetSolNetworkPackageContent.go.snap b/service/tnb/snapshot/api_op_GetSolNetworkPackageContent.go.snap index 04c3cbebb64..4ed1f4cb18a 100644 --- a/service/tnb/snapshot/api_op_GetSolNetworkPackageContent.go.snap +++ b/service/tnb/snapshot/api_op_GetSolNetworkPackageContent.go.snap @@ -14,7 +14,6 @@ GetSolNetworkPackageContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/tnb/snapshot/api_op_GetSolNetworkPackageDescriptor.go.snap b/service/tnb/snapshot/api_op_GetSolNetworkPackageDescriptor.go.snap index 33a07f08dfe..89e6d0f803c 100644 --- a/service/tnb/snapshot/api_op_GetSolNetworkPackageDescriptor.go.snap +++ b/service/tnb/snapshot/api_op_GetSolNetworkPackageDescriptor.go.snap @@ -14,7 +14,6 @@ GetSolNetworkPackageDescriptor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/tnb/snapshot/api_op_InstantiateSolNetworkInstance.go.snap b/service/tnb/snapshot/api_op_InstantiateSolNetworkInstance.go.snap index 8fb4bdddfa8..74313751ad5 100644 --- a/service/tnb/snapshot/api_op_InstantiateSolNetworkInstance.go.snap +++ b/service/tnb/snapshot/api_op_InstantiateSolNetworkInstance.go.snap @@ -14,7 +14,6 @@ InstantiateSolNetworkInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/tnb/snapshot/api_op_ListSolFunctionInstances.go.snap b/service/tnb/snapshot/api_op_ListSolFunctionInstances.go.snap index ba66d939c97..649efd1ff89 100644 --- a/service/tnb/snapshot/api_op_ListSolFunctionInstances.go.snap +++ b/service/tnb/snapshot/api_op_ListSolFunctionInstances.go.snap @@ -13,7 +13,6 @@ ListSolFunctionInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/tnb/snapshot/api_op_ListSolFunctionPackages.go.snap b/service/tnb/snapshot/api_op_ListSolFunctionPackages.go.snap index 15105932e34..c4f42a39512 100644 --- a/service/tnb/snapshot/api_op_ListSolFunctionPackages.go.snap +++ b/service/tnb/snapshot/api_op_ListSolFunctionPackages.go.snap @@ -13,7 +13,6 @@ ListSolFunctionPackages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/tnb/snapshot/api_op_ListSolNetworkInstances.go.snap b/service/tnb/snapshot/api_op_ListSolNetworkInstances.go.snap index 2cefb2e4732..85b782e2a66 100644 --- a/service/tnb/snapshot/api_op_ListSolNetworkInstances.go.snap +++ b/service/tnb/snapshot/api_op_ListSolNetworkInstances.go.snap @@ -13,7 +13,6 @@ ListSolNetworkInstances Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/tnb/snapshot/api_op_ListSolNetworkOperations.go.snap b/service/tnb/snapshot/api_op_ListSolNetworkOperations.go.snap index 00492cae7cb..7fb789d1813 100644 --- a/service/tnb/snapshot/api_op_ListSolNetworkOperations.go.snap +++ b/service/tnb/snapshot/api_op_ListSolNetworkOperations.go.snap @@ -13,7 +13,6 @@ ListSolNetworkOperations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/tnb/snapshot/api_op_ListSolNetworkPackages.go.snap b/service/tnb/snapshot/api_op_ListSolNetworkPackages.go.snap index ef75a7de4d0..1aba4685151 100644 --- a/service/tnb/snapshot/api_op_ListSolNetworkPackages.go.snap +++ b/service/tnb/snapshot/api_op_ListSolNetworkPackages.go.snap @@ -13,7 +13,6 @@ ListSolNetworkPackages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/tnb/snapshot/api_op_ListTagsForResource.go.snap b/service/tnb/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/tnb/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/tnb/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/tnb/snapshot/api_op_PutSolFunctionPackageContent.go.snap b/service/tnb/snapshot/api_op_PutSolFunctionPackageContent.go.snap index 4a2a66ce195..7048f2e2efd 100644 --- a/service/tnb/snapshot/api_op_PutSolFunctionPackageContent.go.snap +++ b/service/tnb/snapshot/api_op_PutSolFunctionPackageContent.go.snap @@ -14,7 +14,6 @@ PutSolFunctionPackageContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/tnb/snapshot/api_op_PutSolNetworkPackageContent.go.snap b/service/tnb/snapshot/api_op_PutSolNetworkPackageContent.go.snap index 31b6f34f784..764d9601d81 100644 --- a/service/tnb/snapshot/api_op_PutSolNetworkPackageContent.go.snap +++ b/service/tnb/snapshot/api_op_PutSolNetworkPackageContent.go.snap @@ -14,7 +14,6 @@ PutSolNetworkPackageContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/tnb/snapshot/api_op_TagResource.go.snap b/service/tnb/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/tnb/snapshot/api_op_TagResource.go.snap +++ b/service/tnb/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/tnb/snapshot/api_op_TerminateSolNetworkInstance.go.snap b/service/tnb/snapshot/api_op_TerminateSolNetworkInstance.go.snap index 19c558a47e9..d90f2c10c18 100644 --- a/service/tnb/snapshot/api_op_TerminateSolNetworkInstance.go.snap +++ b/service/tnb/snapshot/api_op_TerminateSolNetworkInstance.go.snap @@ -14,7 +14,6 @@ TerminateSolNetworkInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/tnb/snapshot/api_op_UntagResource.go.snap b/service/tnb/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/tnb/snapshot/api_op_UntagResource.go.snap +++ b/service/tnb/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/tnb/snapshot/api_op_UpdateSolFunctionPackage.go.snap b/service/tnb/snapshot/api_op_UpdateSolFunctionPackage.go.snap index fe218cce6c7..33e7d81b027 100644 --- a/service/tnb/snapshot/api_op_UpdateSolFunctionPackage.go.snap +++ b/service/tnb/snapshot/api_op_UpdateSolFunctionPackage.go.snap @@ -14,7 +14,6 @@ UpdateSolFunctionPackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/tnb/snapshot/api_op_UpdateSolNetworkInstance.go.snap b/service/tnb/snapshot/api_op_UpdateSolNetworkInstance.go.snap index d4363b66970..c0e7a2406df 100644 --- a/service/tnb/snapshot/api_op_UpdateSolNetworkInstance.go.snap +++ b/service/tnb/snapshot/api_op_UpdateSolNetworkInstance.go.snap @@ -14,7 +14,6 @@ UpdateSolNetworkInstance Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/tnb/snapshot/api_op_UpdateSolNetworkPackage.go.snap b/service/tnb/snapshot/api_op_UpdateSolNetworkPackage.go.snap index dd5009e8d34..a86ab047ab6 100644 --- a/service/tnb/snapshot/api_op_UpdateSolNetworkPackage.go.snap +++ b/service/tnb/snapshot/api_op_UpdateSolNetworkPackage.go.snap @@ -14,7 +14,6 @@ UpdateSolNetworkPackage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/tnb/snapshot/api_op_ValidateSolFunctionPackageContent.go.snap b/service/tnb/snapshot/api_op_ValidateSolFunctionPackageContent.go.snap index 04aca0f9f32..83169134af9 100644 --- a/service/tnb/snapshot/api_op_ValidateSolFunctionPackageContent.go.snap +++ b/service/tnb/snapshot/api_op_ValidateSolFunctionPackageContent.go.snap @@ -14,7 +14,6 @@ ValidateSolFunctionPackageContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/tnb/snapshot/api_op_ValidateSolNetworkPackageContent.go.snap b/service/tnb/snapshot/api_op_ValidateSolNetworkPackageContent.go.snap index 33002311fd5..3567df6fc98 100644 --- a/service/tnb/snapshot/api_op_ValidateSolNetworkPackageContent.go.snap +++ b/service/tnb/snapshot/api_op_ValidateSolNetworkPackageContent.go.snap @@ -14,7 +14,6 @@ ValidateSolNetworkPackageContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/api_client.go b/service/transcribe/api_client.go index 7fa2e333713..3396ca3f41a 100644 --- a/service/transcribe/api_client.go +++ b/service/transcribe/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/transcribe/api_op_CreateCallAnalyticsCategory.go b/service/transcribe/api_op_CreateCallAnalyticsCategory.go index 32b14b5d1bb..ab6c09f82a7 100644 --- a/service/transcribe/api_op_CreateCallAnalyticsCategory.go +++ b/service/transcribe/api_op_CreateCallAnalyticsCategory.go @@ -170,9 +170,6 @@ func (c *Client) addOperationCreateCallAnalyticsCategoryMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCallAnalyticsCategoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_CreateLanguageModel.go b/service/transcribe/api_op_CreateLanguageModel.go index d358539c312..f4192f4c8ef 100644 --- a/service/transcribe/api_op_CreateLanguageModel.go +++ b/service/transcribe/api_op_CreateLanguageModel.go @@ -197,9 +197,6 @@ func (c *Client) addOperationCreateLanguageModelMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLanguageModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_CreateMedicalVocabulary.go b/service/transcribe/api_op_CreateMedicalVocabulary.go index 1364a449d00..f5cd66295de 100644 --- a/service/transcribe/api_op_CreateMedicalVocabulary.go +++ b/service/transcribe/api_op_CreateMedicalVocabulary.go @@ -177,9 +177,6 @@ func (c *Client) addOperationCreateMedicalVocabularyMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateMedicalVocabularyValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_CreateVocabulary.go b/service/transcribe/api_op_CreateVocabulary.go index 20d07a01ae9..e8f8c32a858 100644 --- a/service/transcribe/api_op_CreateVocabulary.go +++ b/service/transcribe/api_op_CreateVocabulary.go @@ -215,9 +215,6 @@ func (c *Client) addOperationCreateVocabularyMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVocabularyValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_CreateVocabularyFilter.go b/service/transcribe/api_op_CreateVocabularyFilter.go index 0345e8f3a28..44831db2d26 100644 --- a/service/transcribe/api_op_CreateVocabularyFilter.go +++ b/service/transcribe/api_op_CreateVocabularyFilter.go @@ -205,9 +205,6 @@ func (c *Client) addOperationCreateVocabularyFilterMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateVocabularyFilterValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_DeleteCallAnalyticsCategory.go b/service/transcribe/api_op_DeleteCallAnalyticsCategory.go index ab72448e7cc..0f13e5d54c6 100644 --- a/service/transcribe/api_op_DeleteCallAnalyticsCategory.go +++ b/service/transcribe/api_op_DeleteCallAnalyticsCategory.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteCallAnalyticsCategoryMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCallAnalyticsCategoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_DeleteCallAnalyticsJob.go b/service/transcribe/api_op_DeleteCallAnalyticsJob.go index 66ffec4517d..a9b6b233448 100644 --- a/service/transcribe/api_op_DeleteCallAnalyticsJob.go +++ b/service/transcribe/api_op_DeleteCallAnalyticsJob.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteCallAnalyticsJobMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCallAnalyticsJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_DeleteLanguageModel.go b/service/transcribe/api_op_DeleteLanguageModel.go index d1c4e8ae69e..f1f8bc027e4 100644 --- a/service/transcribe/api_op_DeleteLanguageModel.go +++ b/service/transcribe/api_op_DeleteLanguageModel.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteLanguageModelMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLanguageModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_DeleteMedicalScribeJob.go b/service/transcribe/api_op_DeleteMedicalScribeJob.go index 5683299162f..eb2df571b7b 100644 --- a/service/transcribe/api_op_DeleteMedicalScribeJob.go +++ b/service/transcribe/api_op_DeleteMedicalScribeJob.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteMedicalScribeJobMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMedicalScribeJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_DeleteMedicalTranscriptionJob.go b/service/transcribe/api_op_DeleteMedicalTranscriptionJob.go index 7470baa586e..d29ebb41e54 100644 --- a/service/transcribe/api_op_DeleteMedicalTranscriptionJob.go +++ b/service/transcribe/api_op_DeleteMedicalTranscriptionJob.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteMedicalTranscriptionJobMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMedicalTranscriptionJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_DeleteMedicalVocabulary.go b/service/transcribe/api_op_DeleteMedicalVocabulary.go index 2297863e6ba..27842ff1d40 100644 --- a/service/transcribe/api_op_DeleteMedicalVocabulary.go +++ b/service/transcribe/api_op_DeleteMedicalVocabulary.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteMedicalVocabularyMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMedicalVocabularyValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_DeleteTranscriptionJob.go b/service/transcribe/api_op_DeleteTranscriptionJob.go index fcdc3a7ce01..4d6383c15c9 100644 --- a/service/transcribe/api_op_DeleteTranscriptionJob.go +++ b/service/transcribe/api_op_DeleteTranscriptionJob.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteTranscriptionJobMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTranscriptionJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_DeleteVocabulary.go b/service/transcribe/api_op_DeleteVocabulary.go index a9a81b2a605..7657e37c3b4 100644 --- a/service/transcribe/api_op_DeleteVocabulary.go +++ b/service/transcribe/api_op_DeleteVocabulary.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteVocabularyMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVocabularyValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_DeleteVocabularyFilter.go b/service/transcribe/api_op_DeleteVocabularyFilter.go index 154f344408d..2c20ba2130a 100644 --- a/service/transcribe/api_op_DeleteVocabularyFilter.go +++ b/service/transcribe/api_op_DeleteVocabularyFilter.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteVocabularyFilterMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteVocabularyFilterValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_DescribeLanguageModel.go b/service/transcribe/api_op_DescribeLanguageModel.go index 77330b67f39..9a7db17d9ca 100644 --- a/service/transcribe/api_op_DescribeLanguageModel.go +++ b/service/transcribe/api_op_DescribeLanguageModel.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeLanguageModelMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeLanguageModelValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_GetCallAnalyticsCategory.go b/service/transcribe/api_op_GetCallAnalyticsCategory.go index 3945ba08e52..53d2e3a4b8e 100644 --- a/service/transcribe/api_op_GetCallAnalyticsCategory.go +++ b/service/transcribe/api_op_GetCallAnalyticsCategory.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetCallAnalyticsCategoryMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCallAnalyticsCategoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_GetCallAnalyticsJob.go b/service/transcribe/api_op_GetCallAnalyticsJob.go index 99e5b5d10ef..d01dc5c8141 100644 --- a/service/transcribe/api_op_GetCallAnalyticsJob.go +++ b/service/transcribe/api_op_GetCallAnalyticsJob.go @@ -128,9 +128,6 @@ func (c *Client) addOperationGetCallAnalyticsJobMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCallAnalyticsJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_GetMedicalScribeJob.go b/service/transcribe/api_op_GetMedicalScribeJob.go index 72c61705050..e13865beed9 100644 --- a/service/transcribe/api_op_GetMedicalScribeJob.go +++ b/service/transcribe/api_op_GetMedicalScribeJob.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetMedicalScribeJobMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMedicalScribeJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_GetMedicalTranscriptionJob.go b/service/transcribe/api_op_GetMedicalTranscriptionJob.go index e1ecc520d6c..f6091dc740e 100644 --- a/service/transcribe/api_op_GetMedicalTranscriptionJob.go +++ b/service/transcribe/api_op_GetMedicalTranscriptionJob.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetMedicalTranscriptionJobMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMedicalTranscriptionJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_GetMedicalVocabulary.go b/service/transcribe/api_op_GetMedicalVocabulary.go index ee4b9b52b56..562d259b661 100644 --- a/service/transcribe/api_op_GetMedicalVocabulary.go +++ b/service/transcribe/api_op_GetMedicalVocabulary.go @@ -145,9 +145,6 @@ func (c *Client) addOperationGetMedicalVocabularyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMedicalVocabularyValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_GetTranscriptionJob.go b/service/transcribe/api_op_GetTranscriptionJob.go index 8b835427aec..28d57e3a2e2 100644 --- a/service/transcribe/api_op_GetTranscriptionJob.go +++ b/service/transcribe/api_op_GetTranscriptionJob.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetTranscriptionJobMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTranscriptionJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_GetVocabulary.go b/service/transcribe/api_op_GetVocabulary.go index 229c5636e6f..50339df4816 100644 --- a/service/transcribe/api_op_GetVocabulary.go +++ b/service/transcribe/api_op_GetVocabulary.go @@ -144,9 +144,6 @@ func (c *Client) addOperationGetVocabularyMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVocabularyValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_GetVocabularyFilter.go b/service/transcribe/api_op_GetVocabularyFilter.go index be3ed14178f..ab92ec34f1a 100644 --- a/service/transcribe/api_op_GetVocabularyFilter.go +++ b/service/transcribe/api_op_GetVocabularyFilter.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGetVocabularyFilterMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetVocabularyFilterValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_ListCallAnalyticsCategories.go b/service/transcribe/api_op_ListCallAnalyticsCategories.go index 043801d14dc..6927ead32ad 100644 --- a/service/transcribe/api_op_ListCallAnalyticsCategories.go +++ b/service/transcribe/api_op_ListCallAnalyticsCategories.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListCallAnalyticsCategoriesMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCallAnalyticsCategories(options.Region), middleware.Before); err != nil { return err } diff --git a/service/transcribe/api_op_ListCallAnalyticsJobs.go b/service/transcribe/api_op_ListCallAnalyticsJobs.go index 0fe2fb44ce2..a4c2234ba8f 100644 --- a/service/transcribe/api_op_ListCallAnalyticsJobs.go +++ b/service/transcribe/api_op_ListCallAnalyticsJobs.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListCallAnalyticsJobsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCallAnalyticsJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/transcribe/api_op_ListLanguageModels.go b/service/transcribe/api_op_ListLanguageModels.go index 15fcddbd647..4dec8dca8e6 100644 --- a/service/transcribe/api_op_ListLanguageModels.go +++ b/service/transcribe/api_op_ListLanguageModels.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListLanguageModelsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLanguageModels(options.Region), middleware.Before); err != nil { return err } diff --git a/service/transcribe/api_op_ListMedicalScribeJobs.go b/service/transcribe/api_op_ListMedicalScribeJobs.go index 142de57c056..4fe4f556a58 100644 --- a/service/transcribe/api_op_ListMedicalScribeJobs.go +++ b/service/transcribe/api_op_ListMedicalScribeJobs.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListMedicalScribeJobsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMedicalScribeJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/transcribe/api_op_ListMedicalTranscriptionJobs.go b/service/transcribe/api_op_ListMedicalTranscriptionJobs.go index 79e2871a9d9..b3d7c00ebab 100644 --- a/service/transcribe/api_op_ListMedicalTranscriptionJobs.go +++ b/service/transcribe/api_op_ListMedicalTranscriptionJobs.go @@ -145,9 +145,6 @@ func (c *Client) addOperationListMedicalTranscriptionJobsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMedicalTranscriptionJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/transcribe/api_op_ListMedicalVocabularies.go b/service/transcribe/api_op_ListMedicalVocabularies.go index 516e7a1064e..a17b35e5214 100644 --- a/service/transcribe/api_op_ListMedicalVocabularies.go +++ b/service/transcribe/api_op_ListMedicalVocabularies.go @@ -147,9 +147,6 @@ func (c *Client) addOperationListMedicalVocabulariesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMedicalVocabularies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/transcribe/api_op_ListTagsForResource.go b/service/transcribe/api_op_ListTagsForResource.go index 98c48d76277..ebb41b89826 100644 --- a/service/transcribe/api_op_ListTagsForResource.go +++ b/service/transcribe/api_op_ListTagsForResource.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_ListTranscriptionJobs.go b/service/transcribe/api_op_ListTranscriptionJobs.go index 0a4dee18504..faf838b058f 100644 --- a/service/transcribe/api_op_ListTranscriptionJobs.go +++ b/service/transcribe/api_op_ListTranscriptionJobs.go @@ -143,9 +143,6 @@ func (c *Client) addOperationListTranscriptionJobsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTranscriptionJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/transcribe/api_op_ListVocabularies.go b/service/transcribe/api_op_ListVocabularies.go index 606df4e8aba..600d01da865 100644 --- a/service/transcribe/api_op_ListVocabularies.go +++ b/service/transcribe/api_op_ListVocabularies.go @@ -144,9 +144,6 @@ func (c *Client) addOperationListVocabulariesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVocabularies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/transcribe/api_op_ListVocabularyFilters.go b/service/transcribe/api_op_ListVocabularyFilters.go index 9b5f7f1e1ed..d7cd8053bc3 100644 --- a/service/transcribe/api_op_ListVocabularyFilters.go +++ b/service/transcribe/api_op_ListVocabularyFilters.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListVocabularyFiltersMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVocabularyFilters(options.Region), middleware.Before); err != nil { return err } diff --git a/service/transcribe/api_op_StartCallAnalyticsJob.go b/service/transcribe/api_op_StartCallAnalyticsJob.go index 10cc71c3b6e..b056a5fcc12 100644 --- a/service/transcribe/api_op_StartCallAnalyticsJob.go +++ b/service/transcribe/api_op_StartCallAnalyticsJob.go @@ -258,9 +258,6 @@ func (c *Client) addOperationStartCallAnalyticsJobMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartCallAnalyticsJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_StartMedicalScribeJob.go b/service/transcribe/api_op_StartMedicalScribeJob.go index 112b38efb7a..7e204db2a62 100644 --- a/service/transcribe/api_op_StartMedicalScribeJob.go +++ b/service/transcribe/api_op_StartMedicalScribeJob.go @@ -262,9 +262,6 @@ func (c *Client) addOperationStartMedicalScribeJobMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartMedicalScribeJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_StartMedicalTranscriptionJob.go b/service/transcribe/api_op_StartMedicalTranscriptionJob.go index da3b103eea3..c3df8a2d9db 100644 --- a/service/transcribe/api_op_StartMedicalTranscriptionJob.go +++ b/service/transcribe/api_op_StartMedicalTranscriptionJob.go @@ -315,9 +315,6 @@ func (c *Client) addOperationStartMedicalTranscriptionJobMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartMedicalTranscriptionJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_StartTranscriptionJob.go b/service/transcribe/api_op_StartTranscriptionJob.go index 6781dcc2d34..448012f4b72 100644 --- a/service/transcribe/api_op_StartTranscriptionJob.go +++ b/service/transcribe/api_op_StartTranscriptionJob.go @@ -427,9 +427,6 @@ func (c *Client) addOperationStartTranscriptionJobMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartTranscriptionJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_TagResource.go b/service/transcribe/api_op_TagResource.go index e4aa7f82862..b14165e7099 100644 --- a/service/transcribe/api_op_TagResource.go +++ b/service/transcribe/api_op_TagResource.go @@ -132,9 +132,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_UntagResource.go b/service/transcribe/api_op_UntagResource.go index 3c7870e0542..235b9e12c75 100644 --- a/service/transcribe/api_op_UntagResource.go +++ b/service/transcribe/api_op_UntagResource.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_UpdateCallAnalyticsCategory.go b/service/transcribe/api_op_UpdateCallAnalyticsCategory.go index bc6f7973dde..eda54a34901 100644 --- a/service/transcribe/api_op_UpdateCallAnalyticsCategory.go +++ b/service/transcribe/api_op_UpdateCallAnalyticsCategory.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdateCallAnalyticsCategoryMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCallAnalyticsCategoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_UpdateMedicalVocabulary.go b/service/transcribe/api_op_UpdateMedicalVocabulary.go index 127ba96d3d6..edda9a1a327 100644 --- a/service/transcribe/api_op_UpdateMedicalVocabulary.go +++ b/service/transcribe/api_op_UpdateMedicalVocabulary.go @@ -146,9 +146,6 @@ func (c *Client) addOperationUpdateMedicalVocabularyMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMedicalVocabularyValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_UpdateVocabulary.go b/service/transcribe/api_op_UpdateVocabulary.go index 8564c926364..9d6732792e5 100644 --- a/service/transcribe/api_op_UpdateVocabulary.go +++ b/service/transcribe/api_op_UpdateVocabulary.go @@ -186,9 +186,6 @@ func (c *Client) addOperationUpdateVocabularyMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateVocabularyValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/api_op_UpdateVocabularyFilter.go b/service/transcribe/api_op_UpdateVocabularyFilter.go index 676e2b181e4..ed5c7e5d3b3 100644 --- a/service/transcribe/api_op_UpdateVocabularyFilter.go +++ b/service/transcribe/api_op_UpdateVocabularyFilter.go @@ -165,9 +165,6 @@ func (c *Client) addOperationUpdateVocabularyFilterMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateVocabularyFilterValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribe/snapshot/api_op_CreateCallAnalyticsCategory.go.snap b/service/transcribe/snapshot/api_op_CreateCallAnalyticsCategory.go.snap index 0a0684df89a..430d0437810 100644 --- a/service/transcribe/snapshot/api_op_CreateCallAnalyticsCategory.go.snap +++ b/service/transcribe/snapshot/api_op_CreateCallAnalyticsCategory.go.snap @@ -14,7 +14,6 @@ CreateCallAnalyticsCategory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_CreateLanguageModel.go.snap b/service/transcribe/snapshot/api_op_CreateLanguageModel.go.snap index dec74f4c031..ac412559303 100644 --- a/service/transcribe/snapshot/api_op_CreateLanguageModel.go.snap +++ b/service/transcribe/snapshot/api_op_CreateLanguageModel.go.snap @@ -14,7 +14,6 @@ CreateLanguageModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_CreateMedicalVocabulary.go.snap b/service/transcribe/snapshot/api_op_CreateMedicalVocabulary.go.snap index 443f40f798d..f69ea317ac3 100644 --- a/service/transcribe/snapshot/api_op_CreateMedicalVocabulary.go.snap +++ b/service/transcribe/snapshot/api_op_CreateMedicalVocabulary.go.snap @@ -14,7 +14,6 @@ CreateMedicalVocabulary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_CreateVocabulary.go.snap b/service/transcribe/snapshot/api_op_CreateVocabulary.go.snap index d82de419637..c6c79a66120 100644 --- a/service/transcribe/snapshot/api_op_CreateVocabulary.go.snap +++ b/service/transcribe/snapshot/api_op_CreateVocabulary.go.snap @@ -14,7 +14,6 @@ CreateVocabulary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_CreateVocabularyFilter.go.snap b/service/transcribe/snapshot/api_op_CreateVocabularyFilter.go.snap index f5c3d66cbd6..1c11aecb641 100644 --- a/service/transcribe/snapshot/api_op_CreateVocabularyFilter.go.snap +++ b/service/transcribe/snapshot/api_op_CreateVocabularyFilter.go.snap @@ -14,7 +14,6 @@ CreateVocabularyFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_DeleteCallAnalyticsCategory.go.snap b/service/transcribe/snapshot/api_op_DeleteCallAnalyticsCategory.go.snap index ff59882792c..148fb0d7f9c 100644 --- a/service/transcribe/snapshot/api_op_DeleteCallAnalyticsCategory.go.snap +++ b/service/transcribe/snapshot/api_op_DeleteCallAnalyticsCategory.go.snap @@ -14,7 +14,6 @@ DeleteCallAnalyticsCategory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_DeleteCallAnalyticsJob.go.snap b/service/transcribe/snapshot/api_op_DeleteCallAnalyticsJob.go.snap index 79449edfde2..991a9c86261 100644 --- a/service/transcribe/snapshot/api_op_DeleteCallAnalyticsJob.go.snap +++ b/service/transcribe/snapshot/api_op_DeleteCallAnalyticsJob.go.snap @@ -14,7 +14,6 @@ DeleteCallAnalyticsJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_DeleteLanguageModel.go.snap b/service/transcribe/snapshot/api_op_DeleteLanguageModel.go.snap index 0eb71c290b6..910e53f74f1 100644 --- a/service/transcribe/snapshot/api_op_DeleteLanguageModel.go.snap +++ b/service/transcribe/snapshot/api_op_DeleteLanguageModel.go.snap @@ -14,7 +14,6 @@ DeleteLanguageModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_DeleteMedicalScribeJob.go.snap b/service/transcribe/snapshot/api_op_DeleteMedicalScribeJob.go.snap index 1500a2a3b66..1382bd3e046 100644 --- a/service/transcribe/snapshot/api_op_DeleteMedicalScribeJob.go.snap +++ b/service/transcribe/snapshot/api_op_DeleteMedicalScribeJob.go.snap @@ -14,7 +14,6 @@ DeleteMedicalScribeJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_DeleteMedicalTranscriptionJob.go.snap b/service/transcribe/snapshot/api_op_DeleteMedicalTranscriptionJob.go.snap index 3e619b53ad0..71b9e1c9228 100644 --- a/service/transcribe/snapshot/api_op_DeleteMedicalTranscriptionJob.go.snap +++ b/service/transcribe/snapshot/api_op_DeleteMedicalTranscriptionJob.go.snap @@ -14,7 +14,6 @@ DeleteMedicalTranscriptionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_DeleteMedicalVocabulary.go.snap b/service/transcribe/snapshot/api_op_DeleteMedicalVocabulary.go.snap index a88b22cd0bb..e5b63e5a3fc 100644 --- a/service/transcribe/snapshot/api_op_DeleteMedicalVocabulary.go.snap +++ b/service/transcribe/snapshot/api_op_DeleteMedicalVocabulary.go.snap @@ -14,7 +14,6 @@ DeleteMedicalVocabulary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_DeleteTranscriptionJob.go.snap b/service/transcribe/snapshot/api_op_DeleteTranscriptionJob.go.snap index bc946d3acfb..301809b276c 100644 --- a/service/transcribe/snapshot/api_op_DeleteTranscriptionJob.go.snap +++ b/service/transcribe/snapshot/api_op_DeleteTranscriptionJob.go.snap @@ -14,7 +14,6 @@ DeleteTranscriptionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_DeleteVocabulary.go.snap b/service/transcribe/snapshot/api_op_DeleteVocabulary.go.snap index 662028b4f96..511070b559d 100644 --- a/service/transcribe/snapshot/api_op_DeleteVocabulary.go.snap +++ b/service/transcribe/snapshot/api_op_DeleteVocabulary.go.snap @@ -14,7 +14,6 @@ DeleteVocabulary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_DeleteVocabularyFilter.go.snap b/service/transcribe/snapshot/api_op_DeleteVocabularyFilter.go.snap index 78a01487390..75b941c8cec 100644 --- a/service/transcribe/snapshot/api_op_DeleteVocabularyFilter.go.snap +++ b/service/transcribe/snapshot/api_op_DeleteVocabularyFilter.go.snap @@ -14,7 +14,6 @@ DeleteVocabularyFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_DescribeLanguageModel.go.snap b/service/transcribe/snapshot/api_op_DescribeLanguageModel.go.snap index 9290b0c1c0b..d7f1e6f2d24 100644 --- a/service/transcribe/snapshot/api_op_DescribeLanguageModel.go.snap +++ b/service/transcribe/snapshot/api_op_DescribeLanguageModel.go.snap @@ -14,7 +14,6 @@ DescribeLanguageModel Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_GetCallAnalyticsCategory.go.snap b/service/transcribe/snapshot/api_op_GetCallAnalyticsCategory.go.snap index b5cdffa44a5..f7c6437604c 100644 --- a/service/transcribe/snapshot/api_op_GetCallAnalyticsCategory.go.snap +++ b/service/transcribe/snapshot/api_op_GetCallAnalyticsCategory.go.snap @@ -14,7 +14,6 @@ GetCallAnalyticsCategory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_GetCallAnalyticsJob.go.snap b/service/transcribe/snapshot/api_op_GetCallAnalyticsJob.go.snap index fcde3ac15ee..c921955c408 100644 --- a/service/transcribe/snapshot/api_op_GetCallAnalyticsJob.go.snap +++ b/service/transcribe/snapshot/api_op_GetCallAnalyticsJob.go.snap @@ -14,7 +14,6 @@ GetCallAnalyticsJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_GetMedicalScribeJob.go.snap b/service/transcribe/snapshot/api_op_GetMedicalScribeJob.go.snap index 1f466945722..822fbf970a6 100644 --- a/service/transcribe/snapshot/api_op_GetMedicalScribeJob.go.snap +++ b/service/transcribe/snapshot/api_op_GetMedicalScribeJob.go.snap @@ -14,7 +14,6 @@ GetMedicalScribeJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_GetMedicalTranscriptionJob.go.snap b/service/transcribe/snapshot/api_op_GetMedicalTranscriptionJob.go.snap index e217b81a03d..9959eaa7b12 100644 --- a/service/transcribe/snapshot/api_op_GetMedicalTranscriptionJob.go.snap +++ b/service/transcribe/snapshot/api_op_GetMedicalTranscriptionJob.go.snap @@ -14,7 +14,6 @@ GetMedicalTranscriptionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_GetMedicalVocabulary.go.snap b/service/transcribe/snapshot/api_op_GetMedicalVocabulary.go.snap index 14fb67d2420..03c7d129007 100644 --- a/service/transcribe/snapshot/api_op_GetMedicalVocabulary.go.snap +++ b/service/transcribe/snapshot/api_op_GetMedicalVocabulary.go.snap @@ -14,7 +14,6 @@ GetMedicalVocabulary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_GetTranscriptionJob.go.snap b/service/transcribe/snapshot/api_op_GetTranscriptionJob.go.snap index 811e5da2925..f325661c0a4 100644 --- a/service/transcribe/snapshot/api_op_GetTranscriptionJob.go.snap +++ b/service/transcribe/snapshot/api_op_GetTranscriptionJob.go.snap @@ -14,7 +14,6 @@ GetTranscriptionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_GetVocabulary.go.snap b/service/transcribe/snapshot/api_op_GetVocabulary.go.snap index 2f0519eb4d0..0da721b6864 100644 --- a/service/transcribe/snapshot/api_op_GetVocabulary.go.snap +++ b/service/transcribe/snapshot/api_op_GetVocabulary.go.snap @@ -14,7 +14,6 @@ GetVocabulary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_GetVocabularyFilter.go.snap b/service/transcribe/snapshot/api_op_GetVocabularyFilter.go.snap index 7780f2e489c..9d4e8967126 100644 --- a/service/transcribe/snapshot/api_op_GetVocabularyFilter.go.snap +++ b/service/transcribe/snapshot/api_op_GetVocabularyFilter.go.snap @@ -14,7 +14,6 @@ GetVocabularyFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_ListCallAnalyticsCategories.go.snap b/service/transcribe/snapshot/api_op_ListCallAnalyticsCategories.go.snap index 7290c4ad9f5..83449e8db72 100644 --- a/service/transcribe/snapshot/api_op_ListCallAnalyticsCategories.go.snap +++ b/service/transcribe/snapshot/api_op_ListCallAnalyticsCategories.go.snap @@ -13,7 +13,6 @@ ListCallAnalyticsCategories Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_ListCallAnalyticsJobs.go.snap b/service/transcribe/snapshot/api_op_ListCallAnalyticsJobs.go.snap index afde98e51e1..b8f294945af 100644 --- a/service/transcribe/snapshot/api_op_ListCallAnalyticsJobs.go.snap +++ b/service/transcribe/snapshot/api_op_ListCallAnalyticsJobs.go.snap @@ -13,7 +13,6 @@ ListCallAnalyticsJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_ListLanguageModels.go.snap b/service/transcribe/snapshot/api_op_ListLanguageModels.go.snap index 44e1c379ce5..43ef7da6914 100644 --- a/service/transcribe/snapshot/api_op_ListLanguageModels.go.snap +++ b/service/transcribe/snapshot/api_op_ListLanguageModels.go.snap @@ -13,7 +13,6 @@ ListLanguageModels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_ListMedicalScribeJobs.go.snap b/service/transcribe/snapshot/api_op_ListMedicalScribeJobs.go.snap index 1ce66ab26fd..4a27e0fdee1 100644 --- a/service/transcribe/snapshot/api_op_ListMedicalScribeJobs.go.snap +++ b/service/transcribe/snapshot/api_op_ListMedicalScribeJobs.go.snap @@ -13,7 +13,6 @@ ListMedicalScribeJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_ListMedicalTranscriptionJobs.go.snap b/service/transcribe/snapshot/api_op_ListMedicalTranscriptionJobs.go.snap index 9fe38f0b641..6640ab63ef5 100644 --- a/service/transcribe/snapshot/api_op_ListMedicalTranscriptionJobs.go.snap +++ b/service/transcribe/snapshot/api_op_ListMedicalTranscriptionJobs.go.snap @@ -13,7 +13,6 @@ ListMedicalTranscriptionJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_ListMedicalVocabularies.go.snap b/service/transcribe/snapshot/api_op_ListMedicalVocabularies.go.snap index 841beff353c..9917339e7e4 100644 --- a/service/transcribe/snapshot/api_op_ListMedicalVocabularies.go.snap +++ b/service/transcribe/snapshot/api_op_ListMedicalVocabularies.go.snap @@ -13,7 +13,6 @@ ListMedicalVocabularies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_ListTagsForResource.go.snap b/service/transcribe/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/transcribe/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/transcribe/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_ListTranscriptionJobs.go.snap b/service/transcribe/snapshot/api_op_ListTranscriptionJobs.go.snap index f7d39f96bb4..5d83d3ea7bf 100644 --- a/service/transcribe/snapshot/api_op_ListTranscriptionJobs.go.snap +++ b/service/transcribe/snapshot/api_op_ListTranscriptionJobs.go.snap @@ -13,7 +13,6 @@ ListTranscriptionJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_ListVocabularies.go.snap b/service/transcribe/snapshot/api_op_ListVocabularies.go.snap index 0035d5978cd..6ce05122e34 100644 --- a/service/transcribe/snapshot/api_op_ListVocabularies.go.snap +++ b/service/transcribe/snapshot/api_op_ListVocabularies.go.snap @@ -13,7 +13,6 @@ ListVocabularies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_ListVocabularyFilters.go.snap b/service/transcribe/snapshot/api_op_ListVocabularyFilters.go.snap index 92f26cece41..5dc241ea0fe 100644 --- a/service/transcribe/snapshot/api_op_ListVocabularyFilters.go.snap +++ b/service/transcribe/snapshot/api_op_ListVocabularyFilters.go.snap @@ -13,7 +13,6 @@ ListVocabularyFilters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_StartCallAnalyticsJob.go.snap b/service/transcribe/snapshot/api_op_StartCallAnalyticsJob.go.snap index e17431f12dd..e14b994a3b1 100644 --- a/service/transcribe/snapshot/api_op_StartCallAnalyticsJob.go.snap +++ b/service/transcribe/snapshot/api_op_StartCallAnalyticsJob.go.snap @@ -14,7 +14,6 @@ StartCallAnalyticsJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_StartMedicalScribeJob.go.snap b/service/transcribe/snapshot/api_op_StartMedicalScribeJob.go.snap index daca907ba6e..771b0680a2e 100644 --- a/service/transcribe/snapshot/api_op_StartMedicalScribeJob.go.snap +++ b/service/transcribe/snapshot/api_op_StartMedicalScribeJob.go.snap @@ -14,7 +14,6 @@ StartMedicalScribeJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_StartMedicalTranscriptionJob.go.snap b/service/transcribe/snapshot/api_op_StartMedicalTranscriptionJob.go.snap index 66e90dc6b73..62d63ae6997 100644 --- a/service/transcribe/snapshot/api_op_StartMedicalTranscriptionJob.go.snap +++ b/service/transcribe/snapshot/api_op_StartMedicalTranscriptionJob.go.snap @@ -14,7 +14,6 @@ StartMedicalTranscriptionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_StartTranscriptionJob.go.snap b/service/transcribe/snapshot/api_op_StartTranscriptionJob.go.snap index 7fb0b3c8e4f..6baf0e458e4 100644 --- a/service/transcribe/snapshot/api_op_StartTranscriptionJob.go.snap +++ b/service/transcribe/snapshot/api_op_StartTranscriptionJob.go.snap @@ -14,7 +14,6 @@ StartTranscriptionJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_TagResource.go.snap b/service/transcribe/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/transcribe/snapshot/api_op_TagResource.go.snap +++ b/service/transcribe/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_UntagResource.go.snap b/service/transcribe/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/transcribe/snapshot/api_op_UntagResource.go.snap +++ b/service/transcribe/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_UpdateCallAnalyticsCategory.go.snap b/service/transcribe/snapshot/api_op_UpdateCallAnalyticsCategory.go.snap index 15edc2f6506..144308e16c6 100644 --- a/service/transcribe/snapshot/api_op_UpdateCallAnalyticsCategory.go.snap +++ b/service/transcribe/snapshot/api_op_UpdateCallAnalyticsCategory.go.snap @@ -14,7 +14,6 @@ UpdateCallAnalyticsCategory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_UpdateMedicalVocabulary.go.snap b/service/transcribe/snapshot/api_op_UpdateMedicalVocabulary.go.snap index 86b83a17ab2..a6d30dbecde 100644 --- a/service/transcribe/snapshot/api_op_UpdateMedicalVocabulary.go.snap +++ b/service/transcribe/snapshot/api_op_UpdateMedicalVocabulary.go.snap @@ -14,7 +14,6 @@ UpdateMedicalVocabulary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_UpdateVocabulary.go.snap b/service/transcribe/snapshot/api_op_UpdateVocabulary.go.snap index 89851d75818..4d80fe0c2cb 100644 --- a/service/transcribe/snapshot/api_op_UpdateVocabulary.go.snap +++ b/service/transcribe/snapshot/api_op_UpdateVocabulary.go.snap @@ -14,7 +14,6 @@ UpdateVocabulary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribe/snapshot/api_op_UpdateVocabularyFilter.go.snap b/service/transcribe/snapshot/api_op_UpdateVocabularyFilter.go.snap index db902a5e80c..b3f3b5a21b6 100644 --- a/service/transcribe/snapshot/api_op_UpdateVocabularyFilter.go.snap +++ b/service/transcribe/snapshot/api_op_UpdateVocabularyFilter.go.snap @@ -14,7 +14,6 @@ UpdateVocabularyFilter Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribestreaming/api_client.go b/service/transcribestreaming/api_client.go index bb9fa7b7245..cf47a474ecb 100644 --- a/service/transcribestreaming/api_client.go +++ b/service/transcribestreaming/api_client.go @@ -764,37 +764,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/transcribestreaming/api_op_GetMedicalScribeStream.go b/service/transcribestreaming/api_op_GetMedicalScribeStream.go index 71f466382dc..e68ba610ae6 100644 --- a/service/transcribestreaming/api_op_GetMedicalScribeStream.go +++ b/service/transcribestreaming/api_op_GetMedicalScribeStream.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetMedicalScribeStreamMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMedicalScribeStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribestreaming/api_op_StartCallAnalyticsStreamTranscription.go b/service/transcribestreaming/api_op_StartCallAnalyticsStreamTranscription.go index a61405dc368..830c8337fcf 100644 --- a/service/transcribestreaming/api_op_StartCallAnalyticsStreamTranscription.go +++ b/service/transcribestreaming/api_op_StartCallAnalyticsStreamTranscription.go @@ -332,9 +332,6 @@ func (c *Client) addOperationStartCallAnalyticsStreamTranscriptionMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartCallAnalyticsStreamTranscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribestreaming/api_op_StartMedicalScribeStream.go b/service/transcribestreaming/api_op_StartMedicalScribeStream.go index c347c80eef2..17f30ef60b6 100644 --- a/service/transcribestreaming/api_op_StartMedicalScribeStream.go +++ b/service/transcribestreaming/api_op_StartMedicalScribeStream.go @@ -208,9 +208,6 @@ func (c *Client) addOperationStartMedicalScribeStreamMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartMedicalScribeStreamValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribestreaming/api_op_StartMedicalStreamTranscription.go b/service/transcribestreaming/api_op_StartMedicalStreamTranscription.go index 32cdceb0e2c..4b1cf43bb81 100644 --- a/service/transcribestreaming/api_op_StartMedicalStreamTranscription.go +++ b/service/transcribestreaming/api_op_StartMedicalStreamTranscription.go @@ -264,9 +264,6 @@ func (c *Client) addOperationStartMedicalStreamTranscriptionMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartMedicalStreamTranscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribestreaming/api_op_StartStreamTranscription.go b/service/transcribestreaming/api_op_StartStreamTranscription.go index 5a95941a272..8841b2cb172 100644 --- a/service/transcribestreaming/api_op_StartStreamTranscription.go +++ b/service/transcribestreaming/api_op_StartStreamTranscription.go @@ -495,9 +495,6 @@ func (c *Client) addOperationStartStreamTranscriptionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartStreamTranscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/transcribestreaming/snapshot/api_op_GetMedicalScribeStream.go.snap b/service/transcribestreaming/snapshot/api_op_GetMedicalScribeStream.go.snap index 678b4f6946a..2be371b688a 100644 --- a/service/transcribestreaming/snapshot/api_op_GetMedicalScribeStream.go.snap +++ b/service/transcribestreaming/snapshot/api_op_GetMedicalScribeStream.go.snap @@ -14,7 +14,6 @@ GetMedicalScribeStream Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribestreaming/snapshot/api_op_StartCallAnalyticsStreamTranscription.go.snap b/service/transcribestreaming/snapshot/api_op_StartCallAnalyticsStreamTranscription.go.snap index b07ac6c4412..c5e0f2a7cb7 100644 --- a/service/transcribestreaming/snapshot/api_op_StartCallAnalyticsStreamTranscription.go.snap +++ b/service/transcribestreaming/snapshot/api_op_StartCallAnalyticsStreamTranscription.go.snap @@ -13,7 +13,6 @@ StartCallAnalyticsStreamTranscription OperationSerializer Build stack step ClientRequestID - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribestreaming/snapshot/api_op_StartMedicalScribeStream.go.snap b/service/transcribestreaming/snapshot/api_op_StartMedicalScribeStream.go.snap index abac381cd22..24fa0668a71 100644 --- a/service/transcribestreaming/snapshot/api_op_StartMedicalScribeStream.go.snap +++ b/service/transcribestreaming/snapshot/api_op_StartMedicalScribeStream.go.snap @@ -13,7 +13,6 @@ StartMedicalScribeStream OperationSerializer Build stack step ClientRequestID - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribestreaming/snapshot/api_op_StartMedicalStreamTranscription.go.snap b/service/transcribestreaming/snapshot/api_op_StartMedicalStreamTranscription.go.snap index 98c956497e5..f4795d628c2 100644 --- a/service/transcribestreaming/snapshot/api_op_StartMedicalStreamTranscription.go.snap +++ b/service/transcribestreaming/snapshot/api_op_StartMedicalStreamTranscription.go.snap @@ -13,7 +13,6 @@ StartMedicalStreamTranscription OperationSerializer Build stack step ClientRequestID - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transcribestreaming/snapshot/api_op_StartStreamTranscription.go.snap b/service/transcribestreaming/snapshot/api_op_StartStreamTranscription.go.snap index ae792f59d65..b518c5203d8 100644 --- a/service/transcribestreaming/snapshot/api_op_StartStreamTranscription.go.snap +++ b/service/transcribestreaming/snapshot/api_op_StartStreamTranscription.go.snap @@ -13,7 +13,6 @@ StartStreamTranscription OperationSerializer Build stack step ClientRequestID - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/api_client.go b/service/transfer/api_client.go index b294c82d80d..36ec5d00440 100644 --- a/service/transfer/api_client.go +++ b/service/transfer/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/transfer/api_op_CreateAccess.go b/service/transfer/api_op_CreateAccess.go index 16c6bb8aeef..a76b75f39bf 100644 --- a/service/transfer/api_op_CreateAccess.go +++ b/service/transfer/api_op_CreateAccess.go @@ -227,9 +227,6 @@ func (c *Client) addOperationCreateAccessMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_CreateAgreement.go b/service/transfer/api_op_CreateAgreement.go index 2b43def6273..27a4b6d6e3d 100644 --- a/service/transfer/api_op_CreateAgreement.go +++ b/service/transfer/api_op_CreateAgreement.go @@ -221,9 +221,6 @@ func (c *Client) addOperationCreateAgreementMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAgreementValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_CreateConnector.go b/service/transfer/api_op_CreateConnector.go index 5396917f6ad..94b65dd5015 100644 --- a/service/transfer/api_op_CreateConnector.go +++ b/service/transfer/api_op_CreateConnector.go @@ -175,9 +175,6 @@ func (c *Client) addOperationCreateConnectorMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConnectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_CreateProfile.go b/service/transfer/api_op_CreateProfile.go index 816fad3ee92..0b9985f6d1e 100644 --- a/service/transfer/api_op_CreateProfile.go +++ b/service/transfer/api_op_CreateProfile.go @@ -137,9 +137,6 @@ func (c *Client) addOperationCreateProfileMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_CreateServer.go b/service/transfer/api_op_CreateServer.go index 398f128d186..e30900a88f4 100644 --- a/service/transfer/api_op_CreateServer.go +++ b/service/transfer/api_op_CreateServer.go @@ -354,9 +354,6 @@ func (c *Client) addOperationCreateServerMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateServerValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_CreateUser.go b/service/transfer/api_op_CreateUser.go index 24468195522..abed96399cc 100644 --- a/service/transfer/api_op_CreateUser.go +++ b/service/transfer/api_op_CreateUser.go @@ -239,9 +239,6 @@ func (c *Client) addOperationCreateUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_CreateWebApp.go b/service/transfer/api_op_CreateWebApp.go index d503358860c..31cd6ee4da7 100644 --- a/service/transfer/api_op_CreateWebApp.go +++ b/service/transfer/api_op_CreateWebApp.go @@ -128,9 +128,6 @@ func (c *Client) addOperationCreateWebAppMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateWebAppValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_CreateWorkflow.go b/service/transfer/api_op_CreateWorkflow.go index 141f07567d8..bce9212d878 100644 --- a/service/transfer/api_op_CreateWorkflow.go +++ b/service/transfer/api_op_CreateWorkflow.go @@ -150,9 +150,6 @@ func (c *Client) addOperationCreateWorkflowMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateWorkflowValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DeleteAccess.go b/service/transfer/api_op_DeleteAccess.go index 4f7b831564f..c064c193a6f 100644 --- a/service/transfer/api_op_DeleteAccess.go +++ b/service/transfer/api_op_DeleteAccess.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteAccessMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DeleteAgreement.go b/service/transfer/api_op_DeleteAgreement.go index e4ac411cf90..5225292b3fd 100644 --- a/service/transfer/api_op_DeleteAgreement.go +++ b/service/transfer/api_op_DeleteAgreement.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteAgreementMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAgreementValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DeleteCertificate.go b/service/transfer/api_op_DeleteCertificate.go index 650293dfc18..c904f6af4f4 100644 --- a/service/transfer/api_op_DeleteCertificate.go +++ b/service/transfer/api_op_DeleteCertificate.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteCertificateMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DeleteConnector.go b/service/transfer/api_op_DeleteConnector.go index 32e795c6686..33e91f3a79b 100644 --- a/service/transfer/api_op_DeleteConnector.go +++ b/service/transfer/api_op_DeleteConnector.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteConnectorMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConnectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DeleteHostKey.go b/service/transfer/api_op_DeleteHostKey.go index cd8f5a999d9..36cae70c813 100644 --- a/service/transfer/api_op_DeleteHostKey.go +++ b/service/transfer/api_op_DeleteHostKey.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteHostKeyMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteHostKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DeleteProfile.go b/service/transfer/api_op_DeleteProfile.go index 20502b9a191..263fde58b73 100644 --- a/service/transfer/api_op_DeleteProfile.go +++ b/service/transfer/api_op_DeleteProfile.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteProfileMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DeleteServer.go b/service/transfer/api_op_DeleteServer.go index 4e9d2e51c2e..0ed9d4a305a 100644 --- a/service/transfer/api_op_DeleteServer.go +++ b/service/transfer/api_op_DeleteServer.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteServerMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteServerValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DeleteSshPublicKey.go b/service/transfer/api_op_DeleteSshPublicKey.go index c986700f662..0ea4d508510 100644 --- a/service/transfer/api_op_DeleteSshPublicKey.go +++ b/service/transfer/api_op_DeleteSshPublicKey.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteSshPublicKeyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSshPublicKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DeleteUser.go b/service/transfer/api_op_DeleteUser.go index f385c59ff3c..a87bfeaf80d 100644 --- a/service/transfer/api_op_DeleteUser.go +++ b/service/transfer/api_op_DeleteUser.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DeleteWebApp.go b/service/transfer/api_op_DeleteWebApp.go index 4e383c4aff4..bcca59411a9 100644 --- a/service/transfer/api_op_DeleteWebApp.go +++ b/service/transfer/api_op_DeleteWebApp.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteWebAppMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWebAppValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DeleteWebAppCustomization.go b/service/transfer/api_op_DeleteWebAppCustomization.go index dd774f71d95..7306550f33e 100644 --- a/service/transfer/api_op_DeleteWebAppCustomization.go +++ b/service/transfer/api_op_DeleteWebAppCustomization.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteWebAppCustomizationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWebAppCustomizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DeleteWorkflow.go b/service/transfer/api_op_DeleteWorkflow.go index 07518ae5f68..fb07fbd113e 100644 --- a/service/transfer/api_op_DeleteWorkflow.go +++ b/service/transfer/api_op_DeleteWorkflow.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteWorkflowMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWorkflowValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DescribeAccess.go b/service/transfer/api_op_DescribeAccess.go index fc9c5cee7ea..92f0e9e8fe9 100644 --- a/service/transfer/api_op_DescribeAccess.go +++ b/service/transfer/api_op_DescribeAccess.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDescribeAccessMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DescribeAgreement.go b/service/transfer/api_op_DescribeAgreement.go index ab1d19b732f..ce26ae0ee03 100644 --- a/service/transfer/api_op_DescribeAgreement.go +++ b/service/transfer/api_op_DescribeAgreement.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeAgreementMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAgreementValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DescribeCertificate.go b/service/transfer/api_op_DescribeCertificate.go index 027dc8456cd..163fc1d41d8 100644 --- a/service/transfer/api_op_DescribeCertificate.go +++ b/service/transfer/api_op_DescribeCertificate.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDescribeCertificateMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DescribeConnector.go b/service/transfer/api_op_DescribeConnector.go index 2f59d1c92c9..13c6ed1d9dd 100644 --- a/service/transfer/api_op_DescribeConnector.go +++ b/service/transfer/api_op_DescribeConnector.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribeConnectorMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeConnectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DescribeExecution.go b/service/transfer/api_op_DescribeExecution.go index 8ea8cc7fa8a..29edad7b722 100644 --- a/service/transfer/api_op_DescribeExecution.go +++ b/service/transfer/api_op_DescribeExecution.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeExecutionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeExecutionValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DescribeHostKey.go b/service/transfer/api_op_DescribeHostKey.go index 25f1908985c..8cac881322f 100644 --- a/service/transfer/api_op_DescribeHostKey.go +++ b/service/transfer/api_op_DescribeHostKey.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDescribeHostKeyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeHostKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DescribeProfile.go b/service/transfer/api_op_DescribeProfile.go index 1a2bf793e2f..1cb936774df 100644 --- a/service/transfer/api_op_DescribeProfile.go +++ b/service/transfer/api_op_DescribeProfile.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribeProfileMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DescribeSecurityPolicy.go b/service/transfer/api_op_DescribeSecurityPolicy.go index 36ab94cf5aa..9ff9616cec3 100644 --- a/service/transfer/api_op_DescribeSecurityPolicy.go +++ b/service/transfer/api_op_DescribeSecurityPolicy.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeSecurityPolicyMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSecurityPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DescribeServer.go b/service/transfer/api_op_DescribeServer.go index 60088b29a11..33fe3c5a34b 100644 --- a/service/transfer/api_op_DescribeServer.go +++ b/service/transfer/api_op_DescribeServer.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeServerMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeServerValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DescribeUser.go b/service/transfer/api_op_DescribeUser.go index 012954674d5..aa04a93a7e4 100644 --- a/service/transfer/api_op_DescribeUser.go +++ b/service/transfer/api_op_DescribeUser.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeUserMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DescribeWebApp.go b/service/transfer/api_op_DescribeWebApp.go index 81757ea0c35..b2a6099e957 100644 --- a/service/transfer/api_op_DescribeWebApp.go +++ b/service/transfer/api_op_DescribeWebApp.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribeWebAppMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeWebAppValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DescribeWebAppCustomization.go b/service/transfer/api_op_DescribeWebAppCustomization.go index 78e22d5d02c..749c1118b46 100644 --- a/service/transfer/api_op_DescribeWebAppCustomization.go +++ b/service/transfer/api_op_DescribeWebAppCustomization.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribeWebAppCustomizationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeWebAppCustomizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_DescribeWorkflow.go b/service/transfer/api_op_DescribeWorkflow.go index 427478dee08..67034da4acd 100644 --- a/service/transfer/api_op_DescribeWorkflow.go +++ b/service/transfer/api_op_DescribeWorkflow.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribeWorkflowMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeWorkflowValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_ImportCertificate.go b/service/transfer/api_op_ImportCertificate.go index e2a719d6c04..5d416201777 100644 --- a/service/transfer/api_op_ImportCertificate.go +++ b/service/transfer/api_op_ImportCertificate.go @@ -157,9 +157,6 @@ func (c *Client) addOperationImportCertificateMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_ImportHostKey.go b/service/transfer/api_op_ImportHostKey.go index 40367de4bf8..815f203a39c 100644 --- a/service/transfer/api_op_ImportHostKey.go +++ b/service/transfer/api_op_ImportHostKey.go @@ -132,9 +132,6 @@ func (c *Client) addOperationImportHostKeyMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportHostKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_ImportSshPublicKey.go b/service/transfer/api_op_ImportSshPublicKey.go index e70e608d106..af7a280babf 100644 --- a/service/transfer/api_op_ImportSshPublicKey.go +++ b/service/transfer/api_op_ImportSshPublicKey.go @@ -143,9 +143,6 @@ func (c *Client) addOperationImportSshPublicKeyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportSshPublicKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_ListAccesses.go b/service/transfer/api_op_ListAccesses.go index 7bfbc38736f..f19f51e7c33 100644 --- a/service/transfer/api_op_ListAccesses.go +++ b/service/transfer/api_op_ListAccesses.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListAccessesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAccessesValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_ListAgreements.go b/service/transfer/api_op_ListAgreements.go index 608bdde78e0..f04de0dee7d 100644 --- a/service/transfer/api_op_ListAgreements.go +++ b/service/transfer/api_op_ListAgreements.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListAgreementsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAgreementsValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_ListCertificates.go b/service/transfer/api_op_ListCertificates.go index 759716e1a25..9c118bb6b40 100644 --- a/service/transfer/api_op_ListCertificates.go +++ b/service/transfer/api_op_ListCertificates.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListCertificatesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListCertificates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/transfer/api_op_ListConnectors.go b/service/transfer/api_op_ListConnectors.go index 2d99fd6c6d0..e1bf25c3312 100644 --- a/service/transfer/api_op_ListConnectors.go +++ b/service/transfer/api_op_ListConnectors.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListConnectorsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConnectors(options.Region), middleware.Before); err != nil { return err } diff --git a/service/transfer/api_op_ListExecutions.go b/service/transfer/api_op_ListExecutions.go index c9ad999df17..70af8e64d2d 100644 --- a/service/transfer/api_op_ListExecutions.go +++ b/service/transfer/api_op_ListExecutions.go @@ -152,9 +152,6 @@ func (c *Client) addOperationListExecutionsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListExecutionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_ListFileTransferResults.go b/service/transfer/api_op_ListFileTransferResults.go index 68b42df0543..2c7dfd3c6b8 100644 --- a/service/transfer/api_op_ListFileTransferResults.go +++ b/service/transfer/api_op_ListFileTransferResults.go @@ -155,9 +155,6 @@ func (c *Client) addOperationListFileTransferResultsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFileTransferResultsValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_ListHostKeys.go b/service/transfer/api_op_ListHostKeys.go index 78ab78c33fa..4cb54a77ee1 100644 --- a/service/transfer/api_op_ListHostKeys.go +++ b/service/transfer/api_op_ListHostKeys.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListHostKeysMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListHostKeysValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_ListProfiles.go b/service/transfer/api_op_ListProfiles.go index c5eea7ec50e..e09d2f9552f 100644 --- a/service/transfer/api_op_ListProfiles.go +++ b/service/transfer/api_op_ListProfiles.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListProfilesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProfiles(options.Region), middleware.Before); err != nil { return err } diff --git a/service/transfer/api_op_ListSecurityPolicies.go b/service/transfer/api_op_ListSecurityPolicies.go index 747516c0eac..fc9f686ad5d 100644 --- a/service/transfer/api_op_ListSecurityPolicies.go +++ b/service/transfer/api_op_ListSecurityPolicies.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListSecurityPoliciesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSecurityPolicies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/transfer/api_op_ListServers.go b/service/transfer/api_op_ListServers.go index 5319921438b..aff6cc1b83b 100644 --- a/service/transfer/api_op_ListServers.go +++ b/service/transfer/api_op_ListServers.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListServersMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/transfer/api_op_ListTagsForResource.go b/service/transfer/api_op_ListTagsForResource.go index 80fdcee7e97..ab1920d0a8d 100644 --- a/service/transfer/api_op_ListTagsForResource.go +++ b/service/transfer/api_op_ListTagsForResource.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_ListUsers.go b/service/transfer/api_op_ListUsers.go index bc0b6a72d05..da9e7cc6e27 100644 --- a/service/transfer/api_op_ListUsers.go +++ b/service/transfer/api_op_ListUsers.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListUsersMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListUsersValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_ListWebApps.go b/service/transfer/api_op_ListWebApps.go index 4688b3adaef..d3b602a0b08 100644 --- a/service/transfer/api_op_ListWebApps.go +++ b/service/transfer/api_op_ListWebApps.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListWebAppsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWebApps(options.Region), middleware.Before); err != nil { return err } diff --git a/service/transfer/api_op_ListWorkflows.go b/service/transfer/api_op_ListWorkflows.go index 2f4cd905f2f..c2579017443 100644 --- a/service/transfer/api_op_ListWorkflows.go +++ b/service/transfer/api_op_ListWorkflows.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListWorkflowsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkflows(options.Region), middleware.Before); err != nil { return err } diff --git a/service/transfer/api_op_SendWorkflowStepState.go b/service/transfer/api_op_SendWorkflowStepState.go index f175e8c2568..f1434e52262 100644 --- a/service/transfer/api_op_SendWorkflowStepState.go +++ b/service/transfer/api_op_SendWorkflowStepState.go @@ -128,9 +128,6 @@ func (c *Client) addOperationSendWorkflowStepStateMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSendWorkflowStepStateValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_StartDirectoryListing.go b/service/transfer/api_op_StartDirectoryListing.go index c2d0dfb8ce7..c2e1d3f468d 100644 --- a/service/transfer/api_op_StartDirectoryListing.go +++ b/service/transfer/api_op_StartDirectoryListing.go @@ -166,9 +166,6 @@ func (c *Client) addOperationStartDirectoryListingMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartDirectoryListingValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_StartFileTransfer.go b/service/transfer/api_op_StartFileTransfer.go index 0425b2c4f2d..19b323d598c 100644 --- a/service/transfer/api_op_StartFileTransfer.go +++ b/service/transfer/api_op_StartFileTransfer.go @@ -152,9 +152,6 @@ func (c *Client) addOperationStartFileTransferMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartFileTransferValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_StartServer.go b/service/transfer/api_op_StartServer.go index 618220e8c30..ec564ed9219 100644 --- a/service/transfer/api_op_StartServer.go +++ b/service/transfer/api_op_StartServer.go @@ -115,9 +115,6 @@ func (c *Client) addOperationStartServerMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartServerValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_StopServer.go b/service/transfer/api_op_StopServer.go index 234f8266810..fe637717746 100644 --- a/service/transfer/api_op_StopServer.go +++ b/service/transfer/api_op_StopServer.go @@ -119,9 +119,6 @@ func (c *Client) addOperationStopServerMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopServerValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_TagResource.go b/service/transfer/api_op_TagResource.go index 0658576152a..28aeef87793 100644 --- a/service/transfer/api_op_TagResource.go +++ b/service/transfer/api_op_TagResource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_TestConnection.go b/service/transfer/api_op_TestConnection.go index 0fc439af41e..ed3cd96135b 100644 --- a/service/transfer/api_op_TestConnection.go +++ b/service/transfer/api_op_TestConnection.go @@ -132,9 +132,6 @@ func (c *Client) addOperationTestConnectionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTestConnectionValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_TestIdentityProvider.go b/service/transfer/api_op_TestIdentityProvider.go index 051bfc83d96..d093feda552 100644 --- a/service/transfer/api_op_TestIdentityProvider.go +++ b/service/transfer/api_op_TestIdentityProvider.go @@ -194,9 +194,6 @@ func (c *Client) addOperationTestIdentityProviderMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTestIdentityProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_UntagResource.go b/service/transfer/api_op_UntagResource.go index 2a5eea9a933..710e75a7695 100644 --- a/service/transfer/api_op_UntagResource.go +++ b/service/transfer/api_op_UntagResource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_UpdateAccess.go b/service/transfer/api_op_UpdateAccess.go index ff6bfc621e9..310192f944b 100644 --- a/service/transfer/api_op_UpdateAccess.go +++ b/service/transfer/api_op_UpdateAccess.go @@ -223,9 +223,6 @@ func (c *Client) addOperationUpdateAccessMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAccessValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_UpdateAgreement.go b/service/transfer/api_op_UpdateAgreement.go index d21b017b0ae..acd4a774e25 100644 --- a/service/transfer/api_op_UpdateAgreement.go +++ b/service/transfer/api_op_UpdateAgreement.go @@ -221,9 +221,6 @@ func (c *Client) addOperationUpdateAgreementMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAgreementValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_UpdateCertificate.go b/service/transfer/api_op_UpdateCertificate.go index e50bc6a4720..07127740303 100644 --- a/service/transfer/api_op_UpdateCertificate.go +++ b/service/transfer/api_op_UpdateCertificate.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateCertificateMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_UpdateConnector.go b/service/transfer/api_op_UpdateConnector.go index f52b795ec95..14df68d4bb0 100644 --- a/service/transfer/api_op_UpdateConnector.go +++ b/service/transfer/api_op_UpdateConnector.go @@ -164,9 +164,6 @@ func (c *Client) addOperationUpdateConnectorMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConnectorValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_UpdateHostKey.go b/service/transfer/api_op_UpdateHostKey.go index eef88e272cf..181e2097878 100644 --- a/service/transfer/api_op_UpdateHostKey.go +++ b/service/transfer/api_op_UpdateHostKey.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUpdateHostKeyMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateHostKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_UpdateProfile.go b/service/transfer/api_op_UpdateProfile.go index b78b0090387..5daafaa8c71 100644 --- a/service/transfer/api_op_UpdateProfile.go +++ b/service/transfer/api_op_UpdateProfile.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateProfileMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_UpdateServer.go b/service/transfer/api_op_UpdateServer.go index be397d8cffd..2cca8fc098c 100644 --- a/service/transfer/api_op_UpdateServer.go +++ b/service/transfer/api_op_UpdateServer.go @@ -335,9 +335,6 @@ func (c *Client) addOperationUpdateServerMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateServerValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_UpdateUser.go b/service/transfer/api_op_UpdateUser.go index 6b5a49fe397..d407f2bec72 100644 --- a/service/transfer/api_op_UpdateUser.go +++ b/service/transfer/api_op_UpdateUser.go @@ -232,9 +232,6 @@ func (c *Client) addOperationUpdateUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_UpdateWebApp.go b/service/transfer/api_op_UpdateWebApp.go index c601f71210c..714f59e0db6 100644 --- a/service/transfer/api_op_UpdateWebApp.go +++ b/service/transfer/api_op_UpdateWebApp.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateWebAppMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateWebAppValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/api_op_UpdateWebAppCustomization.go b/service/transfer/api_op_UpdateWebAppCustomization.go index 00af22e2855..b0409c83e75 100644 --- a/service/transfer/api_op_UpdateWebAppCustomization.go +++ b/service/transfer/api_op_UpdateWebAppCustomization.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateWebAppCustomizationMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateWebAppCustomizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/transfer/snapshot/api_op_CreateAccess.go.snap b/service/transfer/snapshot/api_op_CreateAccess.go.snap index 755fde02058..5a2a740af82 100644 --- a/service/transfer/snapshot/api_op_CreateAccess.go.snap +++ b/service/transfer/snapshot/api_op_CreateAccess.go.snap @@ -14,7 +14,6 @@ CreateAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_CreateAgreement.go.snap b/service/transfer/snapshot/api_op_CreateAgreement.go.snap index b6ca6d71607..33c6e6c81e2 100644 --- a/service/transfer/snapshot/api_op_CreateAgreement.go.snap +++ b/service/transfer/snapshot/api_op_CreateAgreement.go.snap @@ -14,7 +14,6 @@ CreateAgreement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_CreateConnector.go.snap b/service/transfer/snapshot/api_op_CreateConnector.go.snap index 08389295e76..d71f8a54a3f 100644 --- a/service/transfer/snapshot/api_op_CreateConnector.go.snap +++ b/service/transfer/snapshot/api_op_CreateConnector.go.snap @@ -14,7 +14,6 @@ CreateConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_CreateProfile.go.snap b/service/transfer/snapshot/api_op_CreateProfile.go.snap index 52f8dc07701..203875e8c2c 100644 --- a/service/transfer/snapshot/api_op_CreateProfile.go.snap +++ b/service/transfer/snapshot/api_op_CreateProfile.go.snap @@ -14,7 +14,6 @@ CreateProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_CreateServer.go.snap b/service/transfer/snapshot/api_op_CreateServer.go.snap index 9105a2aed74..87e44d0bba8 100644 --- a/service/transfer/snapshot/api_op_CreateServer.go.snap +++ b/service/transfer/snapshot/api_op_CreateServer.go.snap @@ -14,7 +14,6 @@ CreateServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_CreateUser.go.snap b/service/transfer/snapshot/api_op_CreateUser.go.snap index bfcfbd2c853..d278c15935b 100644 --- a/service/transfer/snapshot/api_op_CreateUser.go.snap +++ b/service/transfer/snapshot/api_op_CreateUser.go.snap @@ -14,7 +14,6 @@ CreateUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_CreateWebApp.go.snap b/service/transfer/snapshot/api_op_CreateWebApp.go.snap index 10f51ceabde..c4f9da92ab1 100644 --- a/service/transfer/snapshot/api_op_CreateWebApp.go.snap +++ b/service/transfer/snapshot/api_op_CreateWebApp.go.snap @@ -14,7 +14,6 @@ CreateWebApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_CreateWorkflow.go.snap b/service/transfer/snapshot/api_op_CreateWorkflow.go.snap index 23dcd4d6283..f1ae25c1fe1 100644 --- a/service/transfer/snapshot/api_op_CreateWorkflow.go.snap +++ b/service/transfer/snapshot/api_op_CreateWorkflow.go.snap @@ -14,7 +14,6 @@ CreateWorkflow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_DeleteAccess.go.snap b/service/transfer/snapshot/api_op_DeleteAccess.go.snap index b61a2e6746c..7dbeb48a5bd 100644 --- a/service/transfer/snapshot/api_op_DeleteAccess.go.snap +++ b/service/transfer/snapshot/api_op_DeleteAccess.go.snap @@ -14,7 +14,6 @@ DeleteAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_DeleteAgreement.go.snap b/service/transfer/snapshot/api_op_DeleteAgreement.go.snap index 6986cb75bec..4ad2090a646 100644 --- a/service/transfer/snapshot/api_op_DeleteAgreement.go.snap +++ b/service/transfer/snapshot/api_op_DeleteAgreement.go.snap @@ -14,7 +14,6 @@ DeleteAgreement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_DeleteCertificate.go.snap b/service/transfer/snapshot/api_op_DeleteCertificate.go.snap index 03832808c49..142de0aec69 100644 --- a/service/transfer/snapshot/api_op_DeleteCertificate.go.snap +++ b/service/transfer/snapshot/api_op_DeleteCertificate.go.snap @@ -14,7 +14,6 @@ DeleteCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_DeleteConnector.go.snap b/service/transfer/snapshot/api_op_DeleteConnector.go.snap index 08ade4bd1ad..f50e7136af2 100644 --- a/service/transfer/snapshot/api_op_DeleteConnector.go.snap +++ b/service/transfer/snapshot/api_op_DeleteConnector.go.snap @@ -14,7 +14,6 @@ DeleteConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_DeleteHostKey.go.snap b/service/transfer/snapshot/api_op_DeleteHostKey.go.snap index bae937cdab6..0a455a99120 100644 --- a/service/transfer/snapshot/api_op_DeleteHostKey.go.snap +++ b/service/transfer/snapshot/api_op_DeleteHostKey.go.snap @@ -14,7 +14,6 @@ DeleteHostKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_DeleteProfile.go.snap b/service/transfer/snapshot/api_op_DeleteProfile.go.snap index 799e701b0b8..05282b5914c 100644 --- a/service/transfer/snapshot/api_op_DeleteProfile.go.snap +++ b/service/transfer/snapshot/api_op_DeleteProfile.go.snap @@ -14,7 +14,6 @@ DeleteProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_DeleteServer.go.snap b/service/transfer/snapshot/api_op_DeleteServer.go.snap index d108c91190a..b32ce0e8dbf 100644 --- a/service/transfer/snapshot/api_op_DeleteServer.go.snap +++ b/service/transfer/snapshot/api_op_DeleteServer.go.snap @@ -14,7 +14,6 @@ DeleteServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_DeleteSshPublicKey.go.snap b/service/transfer/snapshot/api_op_DeleteSshPublicKey.go.snap index 14cf7f2233a..0c4025dd6d9 100644 --- a/service/transfer/snapshot/api_op_DeleteSshPublicKey.go.snap +++ b/service/transfer/snapshot/api_op_DeleteSshPublicKey.go.snap @@ -14,7 +14,6 @@ DeleteSshPublicKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_DeleteUser.go.snap b/service/transfer/snapshot/api_op_DeleteUser.go.snap index 43834da9879..eda6e5fae30 100644 --- a/service/transfer/snapshot/api_op_DeleteUser.go.snap +++ b/service/transfer/snapshot/api_op_DeleteUser.go.snap @@ -14,7 +14,6 @@ DeleteUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_DeleteWebApp.go.snap b/service/transfer/snapshot/api_op_DeleteWebApp.go.snap index 0afb6fc0dd5..48264b4785b 100644 --- a/service/transfer/snapshot/api_op_DeleteWebApp.go.snap +++ b/service/transfer/snapshot/api_op_DeleteWebApp.go.snap @@ -14,7 +14,6 @@ DeleteWebApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_DeleteWebAppCustomization.go.snap b/service/transfer/snapshot/api_op_DeleteWebAppCustomization.go.snap index 0b3e82909b8..ed5e4598689 100644 --- a/service/transfer/snapshot/api_op_DeleteWebAppCustomization.go.snap +++ b/service/transfer/snapshot/api_op_DeleteWebAppCustomization.go.snap @@ -14,7 +14,6 @@ DeleteWebAppCustomization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_DeleteWorkflow.go.snap b/service/transfer/snapshot/api_op_DeleteWorkflow.go.snap index f774183f26a..a86f5754e15 100644 --- a/service/transfer/snapshot/api_op_DeleteWorkflow.go.snap +++ b/service/transfer/snapshot/api_op_DeleteWorkflow.go.snap @@ -14,7 +14,6 @@ DeleteWorkflow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_DescribeAccess.go.snap b/service/transfer/snapshot/api_op_DescribeAccess.go.snap index 58094a9f7e4..fe54f33d17d 100644 --- a/service/transfer/snapshot/api_op_DescribeAccess.go.snap +++ b/service/transfer/snapshot/api_op_DescribeAccess.go.snap @@ -14,7 +14,6 @@ DescribeAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_DescribeAgreement.go.snap b/service/transfer/snapshot/api_op_DescribeAgreement.go.snap index d7a50c3d6a5..31e04c5b0f4 100644 --- a/service/transfer/snapshot/api_op_DescribeAgreement.go.snap +++ b/service/transfer/snapshot/api_op_DescribeAgreement.go.snap @@ -14,7 +14,6 @@ DescribeAgreement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_DescribeCertificate.go.snap b/service/transfer/snapshot/api_op_DescribeCertificate.go.snap index 207f80a3273..eef39259d04 100644 --- a/service/transfer/snapshot/api_op_DescribeCertificate.go.snap +++ b/service/transfer/snapshot/api_op_DescribeCertificate.go.snap @@ -14,7 +14,6 @@ DescribeCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_DescribeConnector.go.snap b/service/transfer/snapshot/api_op_DescribeConnector.go.snap index 261224f6337..e88421ae9f4 100644 --- a/service/transfer/snapshot/api_op_DescribeConnector.go.snap +++ b/service/transfer/snapshot/api_op_DescribeConnector.go.snap @@ -14,7 +14,6 @@ DescribeConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_DescribeExecution.go.snap b/service/transfer/snapshot/api_op_DescribeExecution.go.snap index 51e9091dbc6..72aecabf629 100644 --- a/service/transfer/snapshot/api_op_DescribeExecution.go.snap +++ b/service/transfer/snapshot/api_op_DescribeExecution.go.snap @@ -14,7 +14,6 @@ DescribeExecution Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_DescribeHostKey.go.snap b/service/transfer/snapshot/api_op_DescribeHostKey.go.snap index 7b51d645d1e..aa53f8e467e 100644 --- a/service/transfer/snapshot/api_op_DescribeHostKey.go.snap +++ b/service/transfer/snapshot/api_op_DescribeHostKey.go.snap @@ -14,7 +14,6 @@ DescribeHostKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_DescribeProfile.go.snap b/service/transfer/snapshot/api_op_DescribeProfile.go.snap index 2cab976e1bc..dd3ac7f303b 100644 --- a/service/transfer/snapshot/api_op_DescribeProfile.go.snap +++ b/service/transfer/snapshot/api_op_DescribeProfile.go.snap @@ -14,7 +14,6 @@ DescribeProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_DescribeSecurityPolicy.go.snap b/service/transfer/snapshot/api_op_DescribeSecurityPolicy.go.snap index 57b25ef1ab1..e0a3d04aada 100644 --- a/service/transfer/snapshot/api_op_DescribeSecurityPolicy.go.snap +++ b/service/transfer/snapshot/api_op_DescribeSecurityPolicy.go.snap @@ -14,7 +14,6 @@ DescribeSecurityPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_DescribeServer.go.snap b/service/transfer/snapshot/api_op_DescribeServer.go.snap index 832865b72e3..ac706431809 100644 --- a/service/transfer/snapshot/api_op_DescribeServer.go.snap +++ b/service/transfer/snapshot/api_op_DescribeServer.go.snap @@ -14,7 +14,6 @@ DescribeServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_DescribeUser.go.snap b/service/transfer/snapshot/api_op_DescribeUser.go.snap index 630a2859093..a7ee6cfa46d 100644 --- a/service/transfer/snapshot/api_op_DescribeUser.go.snap +++ b/service/transfer/snapshot/api_op_DescribeUser.go.snap @@ -14,7 +14,6 @@ DescribeUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_DescribeWebApp.go.snap b/service/transfer/snapshot/api_op_DescribeWebApp.go.snap index d5415bee6e1..2a9a94c72b2 100644 --- a/service/transfer/snapshot/api_op_DescribeWebApp.go.snap +++ b/service/transfer/snapshot/api_op_DescribeWebApp.go.snap @@ -14,7 +14,6 @@ DescribeWebApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_DescribeWebAppCustomization.go.snap b/service/transfer/snapshot/api_op_DescribeWebAppCustomization.go.snap index b0df926bd3f..dc298dd72e5 100644 --- a/service/transfer/snapshot/api_op_DescribeWebAppCustomization.go.snap +++ b/service/transfer/snapshot/api_op_DescribeWebAppCustomization.go.snap @@ -14,7 +14,6 @@ DescribeWebAppCustomization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_DescribeWorkflow.go.snap b/service/transfer/snapshot/api_op_DescribeWorkflow.go.snap index 498453cbe4e..218f8e5433f 100644 --- a/service/transfer/snapshot/api_op_DescribeWorkflow.go.snap +++ b/service/transfer/snapshot/api_op_DescribeWorkflow.go.snap @@ -14,7 +14,6 @@ DescribeWorkflow Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_ImportCertificate.go.snap b/service/transfer/snapshot/api_op_ImportCertificate.go.snap index 976afb13c38..82e8127262e 100644 --- a/service/transfer/snapshot/api_op_ImportCertificate.go.snap +++ b/service/transfer/snapshot/api_op_ImportCertificate.go.snap @@ -14,7 +14,6 @@ ImportCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_ImportHostKey.go.snap b/service/transfer/snapshot/api_op_ImportHostKey.go.snap index e1c74d2daac..6001a55f45c 100644 --- a/service/transfer/snapshot/api_op_ImportHostKey.go.snap +++ b/service/transfer/snapshot/api_op_ImportHostKey.go.snap @@ -14,7 +14,6 @@ ImportHostKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_ImportSshPublicKey.go.snap b/service/transfer/snapshot/api_op_ImportSshPublicKey.go.snap index 94716413539..30c324e6b1b 100644 --- a/service/transfer/snapshot/api_op_ImportSshPublicKey.go.snap +++ b/service/transfer/snapshot/api_op_ImportSshPublicKey.go.snap @@ -14,7 +14,6 @@ ImportSshPublicKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_ListAccesses.go.snap b/service/transfer/snapshot/api_op_ListAccesses.go.snap index b76f4bf9677..f5d908b69d5 100644 --- a/service/transfer/snapshot/api_op_ListAccesses.go.snap +++ b/service/transfer/snapshot/api_op_ListAccesses.go.snap @@ -14,7 +14,6 @@ ListAccesses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_ListAgreements.go.snap b/service/transfer/snapshot/api_op_ListAgreements.go.snap index ddffe74ff0a..211c80b9acf 100644 --- a/service/transfer/snapshot/api_op_ListAgreements.go.snap +++ b/service/transfer/snapshot/api_op_ListAgreements.go.snap @@ -14,7 +14,6 @@ ListAgreements Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_ListCertificates.go.snap b/service/transfer/snapshot/api_op_ListCertificates.go.snap index 96af69583e5..924cb4f54f0 100644 --- a/service/transfer/snapshot/api_op_ListCertificates.go.snap +++ b/service/transfer/snapshot/api_op_ListCertificates.go.snap @@ -13,7 +13,6 @@ ListCertificates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_ListConnectors.go.snap b/service/transfer/snapshot/api_op_ListConnectors.go.snap index 43a1f535ec6..713efc01581 100644 --- a/service/transfer/snapshot/api_op_ListConnectors.go.snap +++ b/service/transfer/snapshot/api_op_ListConnectors.go.snap @@ -13,7 +13,6 @@ ListConnectors Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_ListExecutions.go.snap b/service/transfer/snapshot/api_op_ListExecutions.go.snap index cea1e63c399..bf1c6a17e97 100644 --- a/service/transfer/snapshot/api_op_ListExecutions.go.snap +++ b/service/transfer/snapshot/api_op_ListExecutions.go.snap @@ -14,7 +14,6 @@ ListExecutions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_ListFileTransferResults.go.snap b/service/transfer/snapshot/api_op_ListFileTransferResults.go.snap index 782f653f1dc..ec2a50e2153 100644 --- a/service/transfer/snapshot/api_op_ListFileTransferResults.go.snap +++ b/service/transfer/snapshot/api_op_ListFileTransferResults.go.snap @@ -14,7 +14,6 @@ ListFileTransferResults Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_ListHostKeys.go.snap b/service/transfer/snapshot/api_op_ListHostKeys.go.snap index b174f34d07c..ee24089470e 100644 --- a/service/transfer/snapshot/api_op_ListHostKeys.go.snap +++ b/service/transfer/snapshot/api_op_ListHostKeys.go.snap @@ -14,7 +14,6 @@ ListHostKeys Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_ListProfiles.go.snap b/service/transfer/snapshot/api_op_ListProfiles.go.snap index 630e6c9bc09..5606d9bd3a7 100644 --- a/service/transfer/snapshot/api_op_ListProfiles.go.snap +++ b/service/transfer/snapshot/api_op_ListProfiles.go.snap @@ -13,7 +13,6 @@ ListProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_ListSecurityPolicies.go.snap b/service/transfer/snapshot/api_op_ListSecurityPolicies.go.snap index bb9b20d5737..7379994a9c4 100644 --- a/service/transfer/snapshot/api_op_ListSecurityPolicies.go.snap +++ b/service/transfer/snapshot/api_op_ListSecurityPolicies.go.snap @@ -13,7 +13,6 @@ ListSecurityPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_ListServers.go.snap b/service/transfer/snapshot/api_op_ListServers.go.snap index 0f96b82d8c4..0b60971e28d 100644 --- a/service/transfer/snapshot/api_op_ListServers.go.snap +++ b/service/transfer/snapshot/api_op_ListServers.go.snap @@ -13,7 +13,6 @@ ListServers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_ListTagsForResource.go.snap b/service/transfer/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/transfer/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/transfer/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_ListUsers.go.snap b/service/transfer/snapshot/api_op_ListUsers.go.snap index e806475e845..214b3b04368 100644 --- a/service/transfer/snapshot/api_op_ListUsers.go.snap +++ b/service/transfer/snapshot/api_op_ListUsers.go.snap @@ -14,7 +14,6 @@ ListUsers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_ListWebApps.go.snap b/service/transfer/snapshot/api_op_ListWebApps.go.snap index 975f81e181d..bfb89ef7a36 100644 --- a/service/transfer/snapshot/api_op_ListWebApps.go.snap +++ b/service/transfer/snapshot/api_op_ListWebApps.go.snap @@ -13,7 +13,6 @@ ListWebApps Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_ListWorkflows.go.snap b/service/transfer/snapshot/api_op_ListWorkflows.go.snap index eda65b9859b..a58c50557a2 100644 --- a/service/transfer/snapshot/api_op_ListWorkflows.go.snap +++ b/service/transfer/snapshot/api_op_ListWorkflows.go.snap @@ -13,7 +13,6 @@ ListWorkflows Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_SendWorkflowStepState.go.snap b/service/transfer/snapshot/api_op_SendWorkflowStepState.go.snap index 48e8949777b..39740c20d41 100644 --- a/service/transfer/snapshot/api_op_SendWorkflowStepState.go.snap +++ b/service/transfer/snapshot/api_op_SendWorkflowStepState.go.snap @@ -14,7 +14,6 @@ SendWorkflowStepState Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_StartDirectoryListing.go.snap b/service/transfer/snapshot/api_op_StartDirectoryListing.go.snap index b74f2d23eb5..045c60c0200 100644 --- a/service/transfer/snapshot/api_op_StartDirectoryListing.go.snap +++ b/service/transfer/snapshot/api_op_StartDirectoryListing.go.snap @@ -14,7 +14,6 @@ StartDirectoryListing Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_StartFileTransfer.go.snap b/service/transfer/snapshot/api_op_StartFileTransfer.go.snap index e603a85e19d..0df9d465283 100644 --- a/service/transfer/snapshot/api_op_StartFileTransfer.go.snap +++ b/service/transfer/snapshot/api_op_StartFileTransfer.go.snap @@ -14,7 +14,6 @@ StartFileTransfer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_StartServer.go.snap b/service/transfer/snapshot/api_op_StartServer.go.snap index 9adc83e1b3f..8f16db1dfde 100644 --- a/service/transfer/snapshot/api_op_StartServer.go.snap +++ b/service/transfer/snapshot/api_op_StartServer.go.snap @@ -14,7 +14,6 @@ StartServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_StopServer.go.snap b/service/transfer/snapshot/api_op_StopServer.go.snap index 71eac62eb11..6ecfa16235f 100644 --- a/service/transfer/snapshot/api_op_StopServer.go.snap +++ b/service/transfer/snapshot/api_op_StopServer.go.snap @@ -14,7 +14,6 @@ StopServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_TagResource.go.snap b/service/transfer/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/transfer/snapshot/api_op_TagResource.go.snap +++ b/service/transfer/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_TestConnection.go.snap b/service/transfer/snapshot/api_op_TestConnection.go.snap index d657fac7815..cbec81935bd 100644 --- a/service/transfer/snapshot/api_op_TestConnection.go.snap +++ b/service/transfer/snapshot/api_op_TestConnection.go.snap @@ -14,7 +14,6 @@ TestConnection Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_TestIdentityProvider.go.snap b/service/transfer/snapshot/api_op_TestIdentityProvider.go.snap index 587af04f92e..7fc8127448c 100644 --- a/service/transfer/snapshot/api_op_TestIdentityProvider.go.snap +++ b/service/transfer/snapshot/api_op_TestIdentityProvider.go.snap @@ -14,7 +14,6 @@ TestIdentityProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_UntagResource.go.snap b/service/transfer/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/transfer/snapshot/api_op_UntagResource.go.snap +++ b/service/transfer/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_UpdateAccess.go.snap b/service/transfer/snapshot/api_op_UpdateAccess.go.snap index 798b5278db8..1d7dc2a9c1b 100644 --- a/service/transfer/snapshot/api_op_UpdateAccess.go.snap +++ b/service/transfer/snapshot/api_op_UpdateAccess.go.snap @@ -14,7 +14,6 @@ UpdateAccess Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_UpdateAgreement.go.snap b/service/transfer/snapshot/api_op_UpdateAgreement.go.snap index 2b4be05f9da..6780e8a8c69 100644 --- a/service/transfer/snapshot/api_op_UpdateAgreement.go.snap +++ b/service/transfer/snapshot/api_op_UpdateAgreement.go.snap @@ -14,7 +14,6 @@ UpdateAgreement Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_UpdateCertificate.go.snap b/service/transfer/snapshot/api_op_UpdateCertificate.go.snap index 1f71724daba..f99e32e97d4 100644 --- a/service/transfer/snapshot/api_op_UpdateCertificate.go.snap +++ b/service/transfer/snapshot/api_op_UpdateCertificate.go.snap @@ -14,7 +14,6 @@ UpdateCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_UpdateConnector.go.snap b/service/transfer/snapshot/api_op_UpdateConnector.go.snap index dba2fe7aae0..8cf4d5503eb 100644 --- a/service/transfer/snapshot/api_op_UpdateConnector.go.snap +++ b/service/transfer/snapshot/api_op_UpdateConnector.go.snap @@ -14,7 +14,6 @@ UpdateConnector Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_UpdateHostKey.go.snap b/service/transfer/snapshot/api_op_UpdateHostKey.go.snap index 5dc7aff60b1..8e4128f722d 100644 --- a/service/transfer/snapshot/api_op_UpdateHostKey.go.snap +++ b/service/transfer/snapshot/api_op_UpdateHostKey.go.snap @@ -14,7 +14,6 @@ UpdateHostKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_UpdateProfile.go.snap b/service/transfer/snapshot/api_op_UpdateProfile.go.snap index f4e607b39cf..d65b51d1ab2 100644 --- a/service/transfer/snapshot/api_op_UpdateProfile.go.snap +++ b/service/transfer/snapshot/api_op_UpdateProfile.go.snap @@ -14,7 +14,6 @@ UpdateProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_UpdateServer.go.snap b/service/transfer/snapshot/api_op_UpdateServer.go.snap index feeb177bfe0..cc0266d21dc 100644 --- a/service/transfer/snapshot/api_op_UpdateServer.go.snap +++ b/service/transfer/snapshot/api_op_UpdateServer.go.snap @@ -14,7 +14,6 @@ UpdateServer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_UpdateUser.go.snap b/service/transfer/snapshot/api_op_UpdateUser.go.snap index 52e6424cb0f..bee553c064e 100644 --- a/service/transfer/snapshot/api_op_UpdateUser.go.snap +++ b/service/transfer/snapshot/api_op_UpdateUser.go.snap @@ -14,7 +14,6 @@ UpdateUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_UpdateWebApp.go.snap b/service/transfer/snapshot/api_op_UpdateWebApp.go.snap index 7cd11118253..d6620f3f18b 100644 --- a/service/transfer/snapshot/api_op_UpdateWebApp.go.snap +++ b/service/transfer/snapshot/api_op_UpdateWebApp.go.snap @@ -14,7 +14,6 @@ UpdateWebApp Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/transfer/snapshot/api_op_UpdateWebAppCustomization.go.snap b/service/transfer/snapshot/api_op_UpdateWebAppCustomization.go.snap index 5014f2ce246..10be6cefb38 100644 --- a/service/transfer/snapshot/api_op_UpdateWebAppCustomization.go.snap +++ b/service/transfer/snapshot/api_op_UpdateWebAppCustomization.go.snap @@ -14,7 +14,6 @@ UpdateWebAppCustomization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/translate/api_client.go b/service/translate/api_client.go index 8dff97a533c..08aa08c8c09 100644 --- a/service/translate/api_client.go +++ b/service/translate/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/translate/api_op_CreateParallelData.go b/service/translate/api_op_CreateParallelData.go index de0c93b623b..d349f0fd013 100644 --- a/service/translate/api_op_CreateParallelData.go +++ b/service/translate/api_op_CreateParallelData.go @@ -144,9 +144,6 @@ func (c *Client) addOperationCreateParallelDataMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateParallelDataMiddleware(stack, options); err != nil { return err } diff --git a/service/translate/api_op_DeleteParallelData.go b/service/translate/api_op_DeleteParallelData.go index 3777b6a9c8f..8a101132f0f 100644 --- a/service/translate/api_op_DeleteParallelData.go +++ b/service/translate/api_op_DeleteParallelData.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteParallelDataMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteParallelDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/translate/api_op_DeleteTerminology.go b/service/translate/api_op_DeleteTerminology.go index a0d022c1ac6..b848b958d1f 100644 --- a/service/translate/api_op_DeleteTerminology.go +++ b/service/translate/api_op_DeleteTerminology.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteTerminologyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTerminologyValidationMiddleware(stack); err != nil { return err } diff --git a/service/translate/api_op_DescribeTextTranslationJob.go b/service/translate/api_op_DescribeTextTranslationJob.go index c63fcc0bc43..caf609d6887 100644 --- a/service/translate/api_op_DescribeTextTranslationJob.go +++ b/service/translate/api_op_DescribeTextTranslationJob.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDescribeTextTranslationJobMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTextTranslationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/translate/api_op_GetParallelData.go b/service/translate/api_op_GetParallelData.go index b9493e0c5ce..e19dc9d80ef 100644 --- a/service/translate/api_op_GetParallelData.go +++ b/service/translate/api_op_GetParallelData.go @@ -140,9 +140,6 @@ func (c *Client) addOperationGetParallelDataMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetParallelDataValidationMiddleware(stack); err != nil { return err } diff --git a/service/translate/api_op_GetTerminology.go b/service/translate/api_op_GetTerminology.go index a438856c22e..72ff50f0efa 100644 --- a/service/translate/api_op_GetTerminology.go +++ b/service/translate/api_op_GetTerminology.go @@ -144,9 +144,6 @@ func (c *Client) addOperationGetTerminologyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTerminologyValidationMiddleware(stack); err != nil { return err } diff --git a/service/translate/api_op_ImportTerminology.go b/service/translate/api_op_ImportTerminology.go index 070c6deedf3..47bcacdce5e 100644 --- a/service/translate/api_op_ImportTerminology.go +++ b/service/translate/api_op_ImportTerminology.go @@ -151,9 +151,6 @@ func (c *Client) addOperationImportTerminologyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportTerminologyValidationMiddleware(stack); err != nil { return err } diff --git a/service/translate/api_op_ListLanguages.go b/service/translate/api_op_ListLanguages.go index 3551752e292..ee3731b47af 100644 --- a/service/translate/api_op_ListLanguages.go +++ b/service/translate/api_op_ListLanguages.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListLanguagesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLanguages(options.Region), middleware.Before); err != nil { return err } diff --git a/service/translate/api_op_ListParallelData.go b/service/translate/api_op_ListParallelData.go index 3a074b4958c..2a081a284ec 100644 --- a/service/translate/api_op_ListParallelData.go +++ b/service/translate/api_op_ListParallelData.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListParallelDataMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListParallelData(options.Region), middleware.Before); err != nil { return err } diff --git a/service/translate/api_op_ListTagsForResource.go b/service/translate/api_op_ListTagsForResource.go index 6f937419df8..4af48005aa5 100644 --- a/service/translate/api_op_ListTagsForResource.go +++ b/service/translate/api_op_ListTagsForResource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/translate/api_op_ListTerminologies.go b/service/translate/api_op_ListTerminologies.go index ece50722ee4..b8cd6d82fb4 100644 --- a/service/translate/api_op_ListTerminologies.go +++ b/service/translate/api_op_ListTerminologies.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListTerminologiesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTerminologies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/translate/api_op_ListTextTranslationJobs.go b/service/translate/api_op_ListTextTranslationJobs.go index fa1fbaef92d..dc748feb6a4 100644 --- a/service/translate/api_op_ListTextTranslationJobs.go +++ b/service/translate/api_op_ListTextTranslationJobs.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListTextTranslationJobsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTextTranslationJobs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/translate/api_op_StartTextTranslationJob.go b/service/translate/api_op_StartTextTranslationJob.go index 015a5cffdc1..d71847bd3f4 100644 --- a/service/translate/api_op_StartTextTranslationJob.go +++ b/service/translate/api_op_StartTextTranslationJob.go @@ -235,9 +235,6 @@ func (c *Client) addOperationStartTextTranslationJobMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartTextTranslationJobMiddleware(stack, options); err != nil { return err } diff --git a/service/translate/api_op_StopTextTranslationJob.go b/service/translate/api_op_StopTextTranslationJob.go index d5327967a17..84ab47ae4bb 100644 --- a/service/translate/api_op_StopTextTranslationJob.go +++ b/service/translate/api_op_StopTextTranslationJob.go @@ -124,9 +124,6 @@ func (c *Client) addOperationStopTextTranslationJobMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopTextTranslationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/translate/api_op_TagResource.go b/service/translate/api_op_TagResource.go index fa6057512bc..758fe44026c 100644 --- a/service/translate/api_op_TagResource.go +++ b/service/translate/api_op_TagResource.go @@ -119,9 +119,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/translate/api_op_TranslateDocument.go b/service/translate/api_op_TranslateDocument.go index 2925bca6efd..be72ca2d2f7 100644 --- a/service/translate/api_op_TranslateDocument.go +++ b/service/translate/api_op_TranslateDocument.go @@ -200,9 +200,6 @@ func (c *Client) addOperationTranslateDocumentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTranslateDocumentValidationMiddleware(stack); err != nil { return err } diff --git a/service/translate/api_op_TranslateText.go b/service/translate/api_op_TranslateText.go index 233ea7e2f86..18c400fb1ea 100644 --- a/service/translate/api_op_TranslateText.go +++ b/service/translate/api_op_TranslateText.go @@ -182,9 +182,6 @@ func (c *Client) addOperationTranslateTextMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTranslateTextValidationMiddleware(stack); err != nil { return err } diff --git a/service/translate/api_op_UntagResource.go b/service/translate/api_op_UntagResource.go index 7e5326e36f8..a91ce75d324 100644 --- a/service/translate/api_op_UntagResource.go +++ b/service/translate/api_op_UntagResource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/translate/api_op_UpdateParallelData.go b/service/translate/api_op_UpdateParallelData.go index d08fb4196c0..7a7b5a70ed7 100644 --- a/service/translate/api_op_UpdateParallelData.go +++ b/service/translate/api_op_UpdateParallelData.go @@ -139,9 +139,6 @@ func (c *Client) addOperationUpdateParallelDataMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateParallelDataMiddleware(stack, options); err != nil { return err } diff --git a/service/translate/snapshot/api_op_CreateParallelData.go.snap b/service/translate/snapshot/api_op_CreateParallelData.go.snap index ecb935c0ff3..e229afb971e 100644 --- a/service/translate/snapshot/api_op_CreateParallelData.go.snap +++ b/service/translate/snapshot/api_op_CreateParallelData.go.snap @@ -15,7 +15,6 @@ CreateParallelData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/translate/snapshot/api_op_DeleteParallelData.go.snap b/service/translate/snapshot/api_op_DeleteParallelData.go.snap index ed951f285af..f4e434c9445 100644 --- a/service/translate/snapshot/api_op_DeleteParallelData.go.snap +++ b/service/translate/snapshot/api_op_DeleteParallelData.go.snap @@ -14,7 +14,6 @@ DeleteParallelData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/translate/snapshot/api_op_DeleteTerminology.go.snap b/service/translate/snapshot/api_op_DeleteTerminology.go.snap index 9ae264e4006..79876bdd192 100644 --- a/service/translate/snapshot/api_op_DeleteTerminology.go.snap +++ b/service/translate/snapshot/api_op_DeleteTerminology.go.snap @@ -14,7 +14,6 @@ DeleteTerminology Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/translate/snapshot/api_op_DescribeTextTranslationJob.go.snap b/service/translate/snapshot/api_op_DescribeTextTranslationJob.go.snap index 6ac3656ceb3..89e1cd15909 100644 --- a/service/translate/snapshot/api_op_DescribeTextTranslationJob.go.snap +++ b/service/translate/snapshot/api_op_DescribeTextTranslationJob.go.snap @@ -14,7 +14,6 @@ DescribeTextTranslationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/translate/snapshot/api_op_GetParallelData.go.snap b/service/translate/snapshot/api_op_GetParallelData.go.snap index 5e22279dfa1..22804285c28 100644 --- a/service/translate/snapshot/api_op_GetParallelData.go.snap +++ b/service/translate/snapshot/api_op_GetParallelData.go.snap @@ -14,7 +14,6 @@ GetParallelData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/translate/snapshot/api_op_GetTerminology.go.snap b/service/translate/snapshot/api_op_GetTerminology.go.snap index f68e4cb87d3..ec660d0a2b0 100644 --- a/service/translate/snapshot/api_op_GetTerminology.go.snap +++ b/service/translate/snapshot/api_op_GetTerminology.go.snap @@ -14,7 +14,6 @@ GetTerminology Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/translate/snapshot/api_op_ImportTerminology.go.snap b/service/translate/snapshot/api_op_ImportTerminology.go.snap index 325e5381604..39334c40401 100644 --- a/service/translate/snapshot/api_op_ImportTerminology.go.snap +++ b/service/translate/snapshot/api_op_ImportTerminology.go.snap @@ -14,7 +14,6 @@ ImportTerminology Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/translate/snapshot/api_op_ListLanguages.go.snap b/service/translate/snapshot/api_op_ListLanguages.go.snap index 714bf7af9c3..94583d7a38c 100644 --- a/service/translate/snapshot/api_op_ListLanguages.go.snap +++ b/service/translate/snapshot/api_op_ListLanguages.go.snap @@ -13,7 +13,6 @@ ListLanguages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/translate/snapshot/api_op_ListParallelData.go.snap b/service/translate/snapshot/api_op_ListParallelData.go.snap index 2d7db3c7a06..ce8bebd68ae 100644 --- a/service/translate/snapshot/api_op_ListParallelData.go.snap +++ b/service/translate/snapshot/api_op_ListParallelData.go.snap @@ -13,7 +13,6 @@ ListParallelData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/translate/snapshot/api_op_ListTagsForResource.go.snap b/service/translate/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/translate/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/translate/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/translate/snapshot/api_op_ListTerminologies.go.snap b/service/translate/snapshot/api_op_ListTerminologies.go.snap index c23f782eace..4069fe146f7 100644 --- a/service/translate/snapshot/api_op_ListTerminologies.go.snap +++ b/service/translate/snapshot/api_op_ListTerminologies.go.snap @@ -13,7 +13,6 @@ ListTerminologies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/translate/snapshot/api_op_ListTextTranslationJobs.go.snap b/service/translate/snapshot/api_op_ListTextTranslationJobs.go.snap index 63c4edd93b9..4a5a9cc0c6c 100644 --- a/service/translate/snapshot/api_op_ListTextTranslationJobs.go.snap +++ b/service/translate/snapshot/api_op_ListTextTranslationJobs.go.snap @@ -13,7 +13,6 @@ ListTextTranslationJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/translate/snapshot/api_op_StartTextTranslationJob.go.snap b/service/translate/snapshot/api_op_StartTextTranslationJob.go.snap index ac38bd1c683..05339fca990 100644 --- a/service/translate/snapshot/api_op_StartTextTranslationJob.go.snap +++ b/service/translate/snapshot/api_op_StartTextTranslationJob.go.snap @@ -15,7 +15,6 @@ StartTextTranslationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/translate/snapshot/api_op_StopTextTranslationJob.go.snap b/service/translate/snapshot/api_op_StopTextTranslationJob.go.snap index 7057531ee7a..ca74bd8a086 100644 --- a/service/translate/snapshot/api_op_StopTextTranslationJob.go.snap +++ b/service/translate/snapshot/api_op_StopTextTranslationJob.go.snap @@ -14,7 +14,6 @@ StopTextTranslationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/translate/snapshot/api_op_TagResource.go.snap b/service/translate/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/translate/snapshot/api_op_TagResource.go.snap +++ b/service/translate/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/translate/snapshot/api_op_TranslateDocument.go.snap b/service/translate/snapshot/api_op_TranslateDocument.go.snap index 6e82a21ef9e..f2bf63681c1 100644 --- a/service/translate/snapshot/api_op_TranslateDocument.go.snap +++ b/service/translate/snapshot/api_op_TranslateDocument.go.snap @@ -14,7 +14,6 @@ TranslateDocument Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/translate/snapshot/api_op_TranslateText.go.snap b/service/translate/snapshot/api_op_TranslateText.go.snap index 306ac3a7e8a..fba8fabba36 100644 --- a/service/translate/snapshot/api_op_TranslateText.go.snap +++ b/service/translate/snapshot/api_op_TranslateText.go.snap @@ -14,7 +14,6 @@ TranslateText Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/translate/snapshot/api_op_UntagResource.go.snap b/service/translate/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/translate/snapshot/api_op_UntagResource.go.snap +++ b/service/translate/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/translate/snapshot/api_op_UpdateParallelData.go.snap b/service/translate/snapshot/api_op_UpdateParallelData.go.snap index 287d0526e2f..fc2fc707043 100644 --- a/service/translate/snapshot/api_op_UpdateParallelData.go.snap +++ b/service/translate/snapshot/api_op_UpdateParallelData.go.snap @@ -15,7 +15,6 @@ UpdateParallelData Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/trustedadvisor/api_client.go b/service/trustedadvisor/api_client.go index 95729a850be..710b8d563d9 100644 --- a/service/trustedadvisor/api_client.go +++ b/service/trustedadvisor/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/trustedadvisor/api_op_BatchUpdateRecommendationResourceExclusion.go b/service/trustedadvisor/api_op_BatchUpdateRecommendationResourceExclusion.go index 57bcdf0311b..3b5d3ca84b7 100644 --- a/service/trustedadvisor/api_op_BatchUpdateRecommendationResourceExclusion.go +++ b/service/trustedadvisor/api_op_BatchUpdateRecommendationResourceExclusion.go @@ -115,9 +115,6 @@ func (c *Client) addOperationBatchUpdateRecommendationResourceExclusionMiddlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchUpdateRecommendationResourceExclusionValidationMiddleware(stack); err != nil { return err } diff --git a/service/trustedadvisor/api_op_GetOrganizationRecommendation.go b/service/trustedadvisor/api_op_GetOrganizationRecommendation.go index 2ff4dca5738..c2b74ad28a1 100644 --- a/service/trustedadvisor/api_op_GetOrganizationRecommendation.go +++ b/service/trustedadvisor/api_op_GetOrganizationRecommendation.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetOrganizationRecommendationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetOrganizationRecommendationValidationMiddleware(stack); err != nil { return err } diff --git a/service/trustedadvisor/api_op_GetRecommendation.go b/service/trustedadvisor/api_op_GetRecommendation.go index 61ea6b5dcd2..aaa306cec3c 100644 --- a/service/trustedadvisor/api_op_GetRecommendation.go +++ b/service/trustedadvisor/api_op_GetRecommendation.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetRecommendationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRecommendationValidationMiddleware(stack); err != nil { return err } diff --git a/service/trustedadvisor/api_op_ListChecks.go b/service/trustedadvisor/api_op_ListChecks.go index da8f864d952..6fd906962cc 100644 --- a/service/trustedadvisor/api_op_ListChecks.go +++ b/service/trustedadvisor/api_op_ListChecks.go @@ -132,9 +132,6 @@ func (c *Client) addOperationListChecksMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListChecks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/trustedadvisor/api_op_ListOrganizationRecommendationAccounts.go b/service/trustedadvisor/api_op_ListOrganizationRecommendationAccounts.go index c395c907152..3905898d0ec 100644 --- a/service/trustedadvisor/api_op_ListOrganizationRecommendationAccounts.go +++ b/service/trustedadvisor/api_op_ListOrganizationRecommendationAccounts.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListOrganizationRecommendationAccountsMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListOrganizationRecommendationAccountsValidationMiddleware(stack); err != nil { return err } diff --git a/service/trustedadvisor/api_op_ListOrganizationRecommendationResources.go b/service/trustedadvisor/api_op_ListOrganizationRecommendationResources.go index 7567f6d2c44..516ec864975 100644 --- a/service/trustedadvisor/api_op_ListOrganizationRecommendationResources.go +++ b/service/trustedadvisor/api_op_ListOrganizationRecommendationResources.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListOrganizationRecommendationResourcesMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListOrganizationRecommendationResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/trustedadvisor/api_op_ListOrganizationRecommendations.go b/service/trustedadvisor/api_op_ListOrganizationRecommendations.go index 8171144a2a4..86135fc4c89 100644 --- a/service/trustedadvisor/api_op_ListOrganizationRecommendations.go +++ b/service/trustedadvisor/api_op_ListOrganizationRecommendations.go @@ -146,9 +146,6 @@ func (c *Client) addOperationListOrganizationRecommendationsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOrganizationRecommendations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/trustedadvisor/api_op_ListRecommendationResources.go b/service/trustedadvisor/api_op_ListRecommendationResources.go index 5a1b829aaac..fc26102c339 100644 --- a/service/trustedadvisor/api_op_ListRecommendationResources.go +++ b/service/trustedadvisor/api_op_ListRecommendationResources.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListRecommendationResourcesMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRecommendationResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/trustedadvisor/api_op_ListRecommendations.go b/service/trustedadvisor/api_op_ListRecommendations.go index b15538fdb56..b3966402892 100644 --- a/service/trustedadvisor/api_op_ListRecommendations.go +++ b/service/trustedadvisor/api_op_ListRecommendations.go @@ -145,9 +145,6 @@ func (c *Client) addOperationListRecommendationsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRecommendations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/trustedadvisor/api_op_UpdateOrganizationRecommendationLifecycle.go b/service/trustedadvisor/api_op_UpdateOrganizationRecommendationLifecycle.go index a3a91a06ce5..d8cde88e96e 100644 --- a/service/trustedadvisor/api_op_UpdateOrganizationRecommendationLifecycle.go +++ b/service/trustedadvisor/api_op_UpdateOrganizationRecommendationLifecycle.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdateOrganizationRecommendationLifecycleMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateOrganizationRecommendationLifecycleValidationMiddleware(stack); err != nil { return err } diff --git a/service/trustedadvisor/api_op_UpdateRecommendationLifecycle.go b/service/trustedadvisor/api_op_UpdateRecommendationLifecycle.go index b75569c44cc..6c151ace09d 100644 --- a/service/trustedadvisor/api_op_UpdateRecommendationLifecycle.go +++ b/service/trustedadvisor/api_op_UpdateRecommendationLifecycle.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUpdateRecommendationLifecycleMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRecommendationLifecycleValidationMiddleware(stack); err != nil { return err } diff --git a/service/trustedadvisor/snapshot/api_op_BatchUpdateRecommendationResourceExclusion.go.snap b/service/trustedadvisor/snapshot/api_op_BatchUpdateRecommendationResourceExclusion.go.snap index 0b276c94a91..3b6be0943a5 100644 --- a/service/trustedadvisor/snapshot/api_op_BatchUpdateRecommendationResourceExclusion.go.snap +++ b/service/trustedadvisor/snapshot/api_op_BatchUpdateRecommendationResourceExclusion.go.snap @@ -14,7 +14,6 @@ BatchUpdateRecommendationResourceExclusion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/trustedadvisor/snapshot/api_op_GetOrganizationRecommendation.go.snap b/service/trustedadvisor/snapshot/api_op_GetOrganizationRecommendation.go.snap index c48289674fc..b65358fec4e 100644 --- a/service/trustedadvisor/snapshot/api_op_GetOrganizationRecommendation.go.snap +++ b/service/trustedadvisor/snapshot/api_op_GetOrganizationRecommendation.go.snap @@ -14,7 +14,6 @@ GetOrganizationRecommendation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/trustedadvisor/snapshot/api_op_GetRecommendation.go.snap b/service/trustedadvisor/snapshot/api_op_GetRecommendation.go.snap index fbbfa2afd5f..46b0239c7cc 100644 --- a/service/trustedadvisor/snapshot/api_op_GetRecommendation.go.snap +++ b/service/trustedadvisor/snapshot/api_op_GetRecommendation.go.snap @@ -14,7 +14,6 @@ GetRecommendation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/trustedadvisor/snapshot/api_op_ListChecks.go.snap b/service/trustedadvisor/snapshot/api_op_ListChecks.go.snap index 1ec75a32492..6ff8eba9a58 100644 --- a/service/trustedadvisor/snapshot/api_op_ListChecks.go.snap +++ b/service/trustedadvisor/snapshot/api_op_ListChecks.go.snap @@ -13,7 +13,6 @@ ListChecks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/trustedadvisor/snapshot/api_op_ListOrganizationRecommendationAccounts.go.snap b/service/trustedadvisor/snapshot/api_op_ListOrganizationRecommendationAccounts.go.snap index 079b226d394..aa8f0ae94ac 100644 --- a/service/trustedadvisor/snapshot/api_op_ListOrganizationRecommendationAccounts.go.snap +++ b/service/trustedadvisor/snapshot/api_op_ListOrganizationRecommendationAccounts.go.snap @@ -14,7 +14,6 @@ ListOrganizationRecommendationAccounts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/trustedadvisor/snapshot/api_op_ListOrganizationRecommendationResources.go.snap b/service/trustedadvisor/snapshot/api_op_ListOrganizationRecommendationResources.go.snap index f53b0674775..3e260c5dcb5 100644 --- a/service/trustedadvisor/snapshot/api_op_ListOrganizationRecommendationResources.go.snap +++ b/service/trustedadvisor/snapshot/api_op_ListOrganizationRecommendationResources.go.snap @@ -14,7 +14,6 @@ ListOrganizationRecommendationResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/trustedadvisor/snapshot/api_op_ListOrganizationRecommendations.go.snap b/service/trustedadvisor/snapshot/api_op_ListOrganizationRecommendations.go.snap index bd6d2ea22a7..c8cec6d7b13 100644 --- a/service/trustedadvisor/snapshot/api_op_ListOrganizationRecommendations.go.snap +++ b/service/trustedadvisor/snapshot/api_op_ListOrganizationRecommendations.go.snap @@ -13,7 +13,6 @@ ListOrganizationRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/trustedadvisor/snapshot/api_op_ListRecommendationResources.go.snap b/service/trustedadvisor/snapshot/api_op_ListRecommendationResources.go.snap index 89f9e297a78..f588e7d6669 100644 --- a/service/trustedadvisor/snapshot/api_op_ListRecommendationResources.go.snap +++ b/service/trustedadvisor/snapshot/api_op_ListRecommendationResources.go.snap @@ -14,7 +14,6 @@ ListRecommendationResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/trustedadvisor/snapshot/api_op_ListRecommendations.go.snap b/service/trustedadvisor/snapshot/api_op_ListRecommendations.go.snap index 799e878ceab..4d55ea7adbf 100644 --- a/service/trustedadvisor/snapshot/api_op_ListRecommendations.go.snap +++ b/service/trustedadvisor/snapshot/api_op_ListRecommendations.go.snap @@ -13,7 +13,6 @@ ListRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/trustedadvisor/snapshot/api_op_UpdateOrganizationRecommendationLifecycle.go.snap b/service/trustedadvisor/snapshot/api_op_UpdateOrganizationRecommendationLifecycle.go.snap index dd2b951a644..1baa8fc4c53 100644 --- a/service/trustedadvisor/snapshot/api_op_UpdateOrganizationRecommendationLifecycle.go.snap +++ b/service/trustedadvisor/snapshot/api_op_UpdateOrganizationRecommendationLifecycle.go.snap @@ -14,7 +14,6 @@ UpdateOrganizationRecommendationLifecycle Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/trustedadvisor/snapshot/api_op_UpdateRecommendationLifecycle.go.snap b/service/trustedadvisor/snapshot/api_op_UpdateRecommendationLifecycle.go.snap index 428b0e83472..6a4095ac1bd 100644 --- a/service/trustedadvisor/snapshot/api_op_UpdateRecommendationLifecycle.go.snap +++ b/service/trustedadvisor/snapshot/api_op_UpdateRecommendationLifecycle.go.snap @@ -14,7 +14,6 @@ UpdateRecommendationLifecycle Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/verifiedpermissions/api_client.go b/service/verifiedpermissions/api_client.go index 508700ff051..9153276d3ca 100644 --- a/service/verifiedpermissions/api_client.go +++ b/service/verifiedpermissions/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/verifiedpermissions/api_op_BatchGetPolicy.go b/service/verifiedpermissions/api_op_BatchGetPolicy.go index a8f4bd5ff42..60c22080a30 100644 --- a/service/verifiedpermissions/api_op_BatchGetPolicy.go +++ b/service/verifiedpermissions/api_op_BatchGetPolicy.go @@ -125,9 +125,6 @@ func (c *Client) addOperationBatchGetPolicyMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/verifiedpermissions/api_op_BatchIsAuthorized.go b/service/verifiedpermissions/api_op_BatchIsAuthorized.go index f54225bdf66..7e159f2451b 100644 --- a/service/verifiedpermissions/api_op_BatchIsAuthorized.go +++ b/service/verifiedpermissions/api_op_BatchIsAuthorized.go @@ -147,9 +147,6 @@ func (c *Client) addOperationBatchIsAuthorizedMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchIsAuthorizedValidationMiddleware(stack); err != nil { return err } diff --git a/service/verifiedpermissions/api_op_BatchIsAuthorizedWithToken.go b/service/verifiedpermissions/api_op_BatchIsAuthorizedWithToken.go index e9fddee51bb..e47b188848d 100644 --- a/service/verifiedpermissions/api_op_BatchIsAuthorizedWithToken.go +++ b/service/verifiedpermissions/api_op_BatchIsAuthorizedWithToken.go @@ -174,9 +174,6 @@ func (c *Client) addOperationBatchIsAuthorizedWithTokenMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchIsAuthorizedWithTokenValidationMiddleware(stack); err != nil { return err } diff --git a/service/verifiedpermissions/api_op_CreateIdentitySource.go b/service/verifiedpermissions/api_op_CreateIdentitySource.go index 9788e5d92b0..a0d4bdf6abc 100644 --- a/service/verifiedpermissions/api_op_CreateIdentitySource.go +++ b/service/verifiedpermissions/api_op_CreateIdentitySource.go @@ -193,9 +193,6 @@ func (c *Client) addOperationCreateIdentitySourceMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateIdentitySourceMiddleware(stack, options); err != nil { return err } diff --git a/service/verifiedpermissions/api_op_CreatePolicy.go b/service/verifiedpermissions/api_op_CreatePolicy.go index a05e3a7544a..9d8b6227800 100644 --- a/service/verifiedpermissions/api_op_CreatePolicy.go +++ b/service/verifiedpermissions/api_op_CreatePolicy.go @@ -198,9 +198,6 @@ func (c *Client) addOperationCreatePolicyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreatePolicyMiddleware(stack, options); err != nil { return err } diff --git a/service/verifiedpermissions/api_op_CreatePolicyStore.go b/service/verifiedpermissions/api_op_CreatePolicyStore.go index 91c17a458ce..a1577a58653 100644 --- a/service/verifiedpermissions/api_op_CreatePolicyStore.go +++ b/service/verifiedpermissions/api_op_CreatePolicyStore.go @@ -173,9 +173,6 @@ func (c *Client) addOperationCreatePolicyStoreMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreatePolicyStoreMiddleware(stack, options); err != nil { return err } diff --git a/service/verifiedpermissions/api_op_CreatePolicyTemplate.go b/service/verifiedpermissions/api_op_CreatePolicyTemplate.go index da50a4bef2d..f911ae71255 100644 --- a/service/verifiedpermissions/api_op_CreatePolicyTemplate.go +++ b/service/verifiedpermissions/api_op_CreatePolicyTemplate.go @@ -169,9 +169,6 @@ func (c *Client) addOperationCreatePolicyTemplateMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreatePolicyTemplateMiddleware(stack, options); err != nil { return err } diff --git a/service/verifiedpermissions/api_op_DeleteIdentitySource.go b/service/verifiedpermissions/api_op_DeleteIdentitySource.go index 848168d5e4d..53e9d1e11f5 100644 --- a/service/verifiedpermissions/api_op_DeleteIdentitySource.go +++ b/service/verifiedpermissions/api_op_DeleteIdentitySource.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteIdentitySourceMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIdentitySourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/verifiedpermissions/api_op_DeletePolicy.go b/service/verifiedpermissions/api_op_DeletePolicy.go index 3f7832520e4..9ec6c165ea0 100644 --- a/service/verifiedpermissions/api_op_DeletePolicy.go +++ b/service/verifiedpermissions/api_op_DeletePolicy.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeletePolicyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/verifiedpermissions/api_op_DeletePolicyStore.go b/service/verifiedpermissions/api_op_DeletePolicyStore.go index 27739f58d14..89820aee035 100644 --- a/service/verifiedpermissions/api_op_DeletePolicyStore.go +++ b/service/verifiedpermissions/api_op_DeletePolicyStore.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeletePolicyStoreMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePolicyStoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/verifiedpermissions/api_op_DeletePolicyTemplate.go b/service/verifiedpermissions/api_op_DeletePolicyTemplate.go index 99201afe3b9..a9ce99f8cb4 100644 --- a/service/verifiedpermissions/api_op_DeletePolicyTemplate.go +++ b/service/verifiedpermissions/api_op_DeletePolicyTemplate.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeletePolicyTemplateMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePolicyTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/verifiedpermissions/api_op_GetIdentitySource.go b/service/verifiedpermissions/api_op_GetIdentitySource.go index f40c13988cb..247f9731d78 100644 --- a/service/verifiedpermissions/api_op_GetIdentitySource.go +++ b/service/verifiedpermissions/api_op_GetIdentitySource.go @@ -151,9 +151,6 @@ func (c *Client) addOperationGetIdentitySourceMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIdentitySourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/verifiedpermissions/api_op_GetPolicy.go b/service/verifiedpermissions/api_op_GetPolicy.go index ef15b98a57e..61a7e76be89 100644 --- a/service/verifiedpermissions/api_op_GetPolicy.go +++ b/service/verifiedpermissions/api_op_GetPolicy.go @@ -164,9 +164,6 @@ func (c *Client) addOperationGetPolicyMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/verifiedpermissions/api_op_GetPolicyStore.go b/service/verifiedpermissions/api_op_GetPolicyStore.go index 6b42ef9e8b0..7bf3274b331 100644 --- a/service/verifiedpermissions/api_op_GetPolicyStore.go +++ b/service/verifiedpermissions/api_op_GetPolicyStore.go @@ -139,9 +139,6 @@ func (c *Client) addOperationGetPolicyStoreMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPolicyStoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/verifiedpermissions/api_op_GetPolicyTemplate.go b/service/verifiedpermissions/api_op_GetPolicyTemplate.go index 5f64e8b3286..62179051df4 100644 --- a/service/verifiedpermissions/api_op_GetPolicyTemplate.go +++ b/service/verifiedpermissions/api_op_GetPolicyTemplate.go @@ -145,9 +145,6 @@ func (c *Client) addOperationGetPolicyTemplateMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPolicyTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/verifiedpermissions/api_op_GetSchema.go b/service/verifiedpermissions/api_op_GetSchema.go index 83f796f28a1..9df9cbef2ea 100644 --- a/service/verifiedpermissions/api_op_GetSchema.go +++ b/service/verifiedpermissions/api_op_GetSchema.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetSchemaMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSchemaValidationMiddleware(stack); err != nil { return err } diff --git a/service/verifiedpermissions/api_op_IsAuthorized.go b/service/verifiedpermissions/api_op_IsAuthorized.go index 36f2c62228f..a69c90f04bc 100644 --- a/service/verifiedpermissions/api_op_IsAuthorized.go +++ b/service/verifiedpermissions/api_op_IsAuthorized.go @@ -159,9 +159,6 @@ func (c *Client) addOperationIsAuthorizedMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpIsAuthorizedValidationMiddleware(stack); err != nil { return err } diff --git a/service/verifiedpermissions/api_op_IsAuthorizedWithToken.go b/service/verifiedpermissions/api_op_IsAuthorizedWithToken.go index d3e71d9dd67..29b0f105726 100644 --- a/service/verifiedpermissions/api_op_IsAuthorizedWithToken.go +++ b/service/verifiedpermissions/api_op_IsAuthorizedWithToken.go @@ -194,9 +194,6 @@ func (c *Client) addOperationIsAuthorizedWithTokenMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpIsAuthorizedWithTokenValidationMiddleware(stack); err != nil { return err } diff --git a/service/verifiedpermissions/api_op_ListIdentitySources.go b/service/verifiedpermissions/api_op_ListIdentitySources.go index af501b4b97a..f8f702acdef 100644 --- a/service/verifiedpermissions/api_op_ListIdentitySources.go +++ b/service/verifiedpermissions/api_op_ListIdentitySources.go @@ -146,9 +146,6 @@ func (c *Client) addOperationListIdentitySourcesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIdentitySourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/verifiedpermissions/api_op_ListPolicies.go b/service/verifiedpermissions/api_op_ListPolicies.go index 769a0f37eb4..851ddb99d2a 100644 --- a/service/verifiedpermissions/api_op_ListPolicies.go +++ b/service/verifiedpermissions/api_op_ListPolicies.go @@ -144,9 +144,6 @@ func (c *Client) addOperationListPoliciesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPoliciesValidationMiddleware(stack); err != nil { return err } diff --git a/service/verifiedpermissions/api_op_ListPolicyStores.go b/service/verifiedpermissions/api_op_ListPolicyStores.go index d0b7c1d2061..f9f15539cb3 100644 --- a/service/verifiedpermissions/api_op_ListPolicyStores.go +++ b/service/verifiedpermissions/api_op_ListPolicyStores.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListPolicyStoresMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPolicyStores(options.Region), middleware.Before); err != nil { return err } diff --git a/service/verifiedpermissions/api_op_ListPolicyTemplates.go b/service/verifiedpermissions/api_op_ListPolicyTemplates.go index 88867ecdf45..f1f8e4ed838 100644 --- a/service/verifiedpermissions/api_op_ListPolicyTemplates.go +++ b/service/verifiedpermissions/api_op_ListPolicyTemplates.go @@ -141,9 +141,6 @@ func (c *Client) addOperationListPolicyTemplatesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPolicyTemplatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/verifiedpermissions/api_op_PutSchema.go b/service/verifiedpermissions/api_op_PutSchema.go index 676dbadc4a1..eee8b37d0b4 100644 --- a/service/verifiedpermissions/api_op_PutSchema.go +++ b/service/verifiedpermissions/api_op_PutSchema.go @@ -147,9 +147,6 @@ func (c *Client) addOperationPutSchemaMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutSchemaValidationMiddleware(stack); err != nil { return err } diff --git a/service/verifiedpermissions/api_op_UpdateIdentitySource.go b/service/verifiedpermissions/api_op_UpdateIdentitySource.go index a2ad5f15dc5..73f37390e0d 100644 --- a/service/verifiedpermissions/api_op_UpdateIdentitySource.go +++ b/service/verifiedpermissions/api_op_UpdateIdentitySource.go @@ -154,9 +154,6 @@ func (c *Client) addOperationUpdateIdentitySourceMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateIdentitySourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/verifiedpermissions/api_op_UpdatePolicy.go b/service/verifiedpermissions/api_op_UpdatePolicy.go index effd70b1dcf..29fc90cc744 100644 --- a/service/verifiedpermissions/api_op_UpdatePolicy.go +++ b/service/verifiedpermissions/api_op_UpdatePolicy.go @@ -218,9 +218,6 @@ func (c *Client) addOperationUpdatePolicyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/verifiedpermissions/api_op_UpdatePolicyStore.go b/service/verifiedpermissions/api_op_UpdatePolicyStore.go index aa11e5e6dfb..13e93efbad1 100644 --- a/service/verifiedpermissions/api_op_UpdatePolicyStore.go +++ b/service/verifiedpermissions/api_op_UpdatePolicyStore.go @@ -148,9 +148,6 @@ func (c *Client) addOperationUpdatePolicyStoreMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePolicyStoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/verifiedpermissions/api_op_UpdatePolicyTemplate.go b/service/verifiedpermissions/api_op_UpdatePolicyTemplate.go index 909b72d533e..7df4d38ee5b 100644 --- a/service/verifiedpermissions/api_op_UpdatePolicyTemplate.go +++ b/service/verifiedpermissions/api_op_UpdatePolicyTemplate.go @@ -170,9 +170,6 @@ func (c *Client) addOperationUpdatePolicyTemplateMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePolicyTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/verifiedpermissions/snapshot/api_op_BatchGetPolicy.go.snap b/service/verifiedpermissions/snapshot/api_op_BatchGetPolicy.go.snap index 68bf48860a6..f907316d27a 100644 --- a/service/verifiedpermissions/snapshot/api_op_BatchGetPolicy.go.snap +++ b/service/verifiedpermissions/snapshot/api_op_BatchGetPolicy.go.snap @@ -14,7 +14,6 @@ BatchGetPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/verifiedpermissions/snapshot/api_op_BatchIsAuthorized.go.snap b/service/verifiedpermissions/snapshot/api_op_BatchIsAuthorized.go.snap index a746b9de14b..b1bad6cd044 100644 --- a/service/verifiedpermissions/snapshot/api_op_BatchIsAuthorized.go.snap +++ b/service/verifiedpermissions/snapshot/api_op_BatchIsAuthorized.go.snap @@ -14,7 +14,6 @@ BatchIsAuthorized Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/verifiedpermissions/snapshot/api_op_BatchIsAuthorizedWithToken.go.snap b/service/verifiedpermissions/snapshot/api_op_BatchIsAuthorizedWithToken.go.snap index 0fd0da19b5a..18acc7978b0 100644 --- a/service/verifiedpermissions/snapshot/api_op_BatchIsAuthorizedWithToken.go.snap +++ b/service/verifiedpermissions/snapshot/api_op_BatchIsAuthorizedWithToken.go.snap @@ -14,7 +14,6 @@ BatchIsAuthorizedWithToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/verifiedpermissions/snapshot/api_op_CreateIdentitySource.go.snap b/service/verifiedpermissions/snapshot/api_op_CreateIdentitySource.go.snap index b2ea863f640..31bfc90241d 100644 --- a/service/verifiedpermissions/snapshot/api_op_CreateIdentitySource.go.snap +++ b/service/verifiedpermissions/snapshot/api_op_CreateIdentitySource.go.snap @@ -15,7 +15,6 @@ CreateIdentitySource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/verifiedpermissions/snapshot/api_op_CreatePolicy.go.snap b/service/verifiedpermissions/snapshot/api_op_CreatePolicy.go.snap index 5e8fb18f4d9..88fc0660229 100644 --- a/service/verifiedpermissions/snapshot/api_op_CreatePolicy.go.snap +++ b/service/verifiedpermissions/snapshot/api_op_CreatePolicy.go.snap @@ -15,7 +15,6 @@ CreatePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/verifiedpermissions/snapshot/api_op_CreatePolicyStore.go.snap b/service/verifiedpermissions/snapshot/api_op_CreatePolicyStore.go.snap index 21914a29639..933ea21f7ab 100644 --- a/service/verifiedpermissions/snapshot/api_op_CreatePolicyStore.go.snap +++ b/service/verifiedpermissions/snapshot/api_op_CreatePolicyStore.go.snap @@ -15,7 +15,6 @@ CreatePolicyStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/verifiedpermissions/snapshot/api_op_CreatePolicyTemplate.go.snap b/service/verifiedpermissions/snapshot/api_op_CreatePolicyTemplate.go.snap index 79003bd9e51..727af881777 100644 --- a/service/verifiedpermissions/snapshot/api_op_CreatePolicyTemplate.go.snap +++ b/service/verifiedpermissions/snapshot/api_op_CreatePolicyTemplate.go.snap @@ -15,7 +15,6 @@ CreatePolicyTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/verifiedpermissions/snapshot/api_op_DeleteIdentitySource.go.snap b/service/verifiedpermissions/snapshot/api_op_DeleteIdentitySource.go.snap index 220fbe2ebf7..ddca418eb5c 100644 --- a/service/verifiedpermissions/snapshot/api_op_DeleteIdentitySource.go.snap +++ b/service/verifiedpermissions/snapshot/api_op_DeleteIdentitySource.go.snap @@ -14,7 +14,6 @@ DeleteIdentitySource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/verifiedpermissions/snapshot/api_op_DeletePolicy.go.snap b/service/verifiedpermissions/snapshot/api_op_DeletePolicy.go.snap index 82f0492a4e2..cf5ab0d043a 100644 --- a/service/verifiedpermissions/snapshot/api_op_DeletePolicy.go.snap +++ b/service/verifiedpermissions/snapshot/api_op_DeletePolicy.go.snap @@ -14,7 +14,6 @@ DeletePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/verifiedpermissions/snapshot/api_op_DeletePolicyStore.go.snap b/service/verifiedpermissions/snapshot/api_op_DeletePolicyStore.go.snap index c13cf084af8..ebb7bbfe79c 100644 --- a/service/verifiedpermissions/snapshot/api_op_DeletePolicyStore.go.snap +++ b/service/verifiedpermissions/snapshot/api_op_DeletePolicyStore.go.snap @@ -14,7 +14,6 @@ DeletePolicyStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/verifiedpermissions/snapshot/api_op_DeletePolicyTemplate.go.snap b/service/verifiedpermissions/snapshot/api_op_DeletePolicyTemplate.go.snap index 34987387d0e..6d10eb754a5 100644 --- a/service/verifiedpermissions/snapshot/api_op_DeletePolicyTemplate.go.snap +++ b/service/verifiedpermissions/snapshot/api_op_DeletePolicyTemplate.go.snap @@ -14,7 +14,6 @@ DeletePolicyTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/verifiedpermissions/snapshot/api_op_GetIdentitySource.go.snap b/service/verifiedpermissions/snapshot/api_op_GetIdentitySource.go.snap index acb733271f3..81209ce896e 100644 --- a/service/verifiedpermissions/snapshot/api_op_GetIdentitySource.go.snap +++ b/service/verifiedpermissions/snapshot/api_op_GetIdentitySource.go.snap @@ -14,7 +14,6 @@ GetIdentitySource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/verifiedpermissions/snapshot/api_op_GetPolicy.go.snap b/service/verifiedpermissions/snapshot/api_op_GetPolicy.go.snap index dc1a8d53693..1a5ac50a868 100644 --- a/service/verifiedpermissions/snapshot/api_op_GetPolicy.go.snap +++ b/service/verifiedpermissions/snapshot/api_op_GetPolicy.go.snap @@ -14,7 +14,6 @@ GetPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/verifiedpermissions/snapshot/api_op_GetPolicyStore.go.snap b/service/verifiedpermissions/snapshot/api_op_GetPolicyStore.go.snap index 5a6b3526bd1..24f9cc30fa4 100644 --- a/service/verifiedpermissions/snapshot/api_op_GetPolicyStore.go.snap +++ b/service/verifiedpermissions/snapshot/api_op_GetPolicyStore.go.snap @@ -14,7 +14,6 @@ GetPolicyStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/verifiedpermissions/snapshot/api_op_GetPolicyTemplate.go.snap b/service/verifiedpermissions/snapshot/api_op_GetPolicyTemplate.go.snap index c054dd13d81..77b5e43cd45 100644 --- a/service/verifiedpermissions/snapshot/api_op_GetPolicyTemplate.go.snap +++ b/service/verifiedpermissions/snapshot/api_op_GetPolicyTemplate.go.snap @@ -14,7 +14,6 @@ GetPolicyTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/verifiedpermissions/snapshot/api_op_GetSchema.go.snap b/service/verifiedpermissions/snapshot/api_op_GetSchema.go.snap index 93f07aaad6a..6bdbb8410f2 100644 --- a/service/verifiedpermissions/snapshot/api_op_GetSchema.go.snap +++ b/service/verifiedpermissions/snapshot/api_op_GetSchema.go.snap @@ -14,7 +14,6 @@ GetSchema Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/verifiedpermissions/snapshot/api_op_IsAuthorized.go.snap b/service/verifiedpermissions/snapshot/api_op_IsAuthorized.go.snap index f62f08a3506..1e8dd8502fb 100644 --- a/service/verifiedpermissions/snapshot/api_op_IsAuthorized.go.snap +++ b/service/verifiedpermissions/snapshot/api_op_IsAuthorized.go.snap @@ -14,7 +14,6 @@ IsAuthorized Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/verifiedpermissions/snapshot/api_op_IsAuthorizedWithToken.go.snap b/service/verifiedpermissions/snapshot/api_op_IsAuthorizedWithToken.go.snap index e53212887b0..b6415ff34ac 100644 --- a/service/verifiedpermissions/snapshot/api_op_IsAuthorizedWithToken.go.snap +++ b/service/verifiedpermissions/snapshot/api_op_IsAuthorizedWithToken.go.snap @@ -14,7 +14,6 @@ IsAuthorizedWithToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/verifiedpermissions/snapshot/api_op_ListIdentitySources.go.snap b/service/verifiedpermissions/snapshot/api_op_ListIdentitySources.go.snap index 2cfa98a9de4..b273a471018 100644 --- a/service/verifiedpermissions/snapshot/api_op_ListIdentitySources.go.snap +++ b/service/verifiedpermissions/snapshot/api_op_ListIdentitySources.go.snap @@ -14,7 +14,6 @@ ListIdentitySources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/verifiedpermissions/snapshot/api_op_ListPolicies.go.snap b/service/verifiedpermissions/snapshot/api_op_ListPolicies.go.snap index c3cc19d8303..05f5380e121 100644 --- a/service/verifiedpermissions/snapshot/api_op_ListPolicies.go.snap +++ b/service/verifiedpermissions/snapshot/api_op_ListPolicies.go.snap @@ -14,7 +14,6 @@ ListPolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/verifiedpermissions/snapshot/api_op_ListPolicyStores.go.snap b/service/verifiedpermissions/snapshot/api_op_ListPolicyStores.go.snap index b1f5fc6b0df..0495a8cd519 100644 --- a/service/verifiedpermissions/snapshot/api_op_ListPolicyStores.go.snap +++ b/service/verifiedpermissions/snapshot/api_op_ListPolicyStores.go.snap @@ -13,7 +13,6 @@ ListPolicyStores Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/verifiedpermissions/snapshot/api_op_ListPolicyTemplates.go.snap b/service/verifiedpermissions/snapshot/api_op_ListPolicyTemplates.go.snap index ae9d7c0901f..1338de2d226 100644 --- a/service/verifiedpermissions/snapshot/api_op_ListPolicyTemplates.go.snap +++ b/service/verifiedpermissions/snapshot/api_op_ListPolicyTemplates.go.snap @@ -14,7 +14,6 @@ ListPolicyTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/verifiedpermissions/snapshot/api_op_PutSchema.go.snap b/service/verifiedpermissions/snapshot/api_op_PutSchema.go.snap index 5d5048f09b4..6d86ece2344 100644 --- a/service/verifiedpermissions/snapshot/api_op_PutSchema.go.snap +++ b/service/verifiedpermissions/snapshot/api_op_PutSchema.go.snap @@ -14,7 +14,6 @@ PutSchema Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/verifiedpermissions/snapshot/api_op_UpdateIdentitySource.go.snap b/service/verifiedpermissions/snapshot/api_op_UpdateIdentitySource.go.snap index bc38ace4afe..1f895fb0c9c 100644 --- a/service/verifiedpermissions/snapshot/api_op_UpdateIdentitySource.go.snap +++ b/service/verifiedpermissions/snapshot/api_op_UpdateIdentitySource.go.snap @@ -14,7 +14,6 @@ UpdateIdentitySource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/verifiedpermissions/snapshot/api_op_UpdatePolicy.go.snap b/service/verifiedpermissions/snapshot/api_op_UpdatePolicy.go.snap index a2a4f919e60..e9d88679499 100644 --- a/service/verifiedpermissions/snapshot/api_op_UpdatePolicy.go.snap +++ b/service/verifiedpermissions/snapshot/api_op_UpdatePolicy.go.snap @@ -14,7 +14,6 @@ UpdatePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/verifiedpermissions/snapshot/api_op_UpdatePolicyStore.go.snap b/service/verifiedpermissions/snapshot/api_op_UpdatePolicyStore.go.snap index c0058dd79f7..915c93847f4 100644 --- a/service/verifiedpermissions/snapshot/api_op_UpdatePolicyStore.go.snap +++ b/service/verifiedpermissions/snapshot/api_op_UpdatePolicyStore.go.snap @@ -14,7 +14,6 @@ UpdatePolicyStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/verifiedpermissions/snapshot/api_op_UpdatePolicyTemplate.go.snap b/service/verifiedpermissions/snapshot/api_op_UpdatePolicyTemplate.go.snap index 45c47b0c933..74b4e3e1932 100644 --- a/service/verifiedpermissions/snapshot/api_op_UpdatePolicyTemplate.go.snap +++ b/service/verifiedpermissions/snapshot/api_op_UpdatePolicyTemplate.go.snap @@ -14,7 +14,6 @@ UpdatePolicyTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/voiceid/api_client.go b/service/voiceid/api_client.go index b0d2c53d9bf..f70821ff58e 100644 --- a/service/voiceid/api_client.go +++ b/service/voiceid/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/voiceid/api_op_AssociateFraudster.go b/service/voiceid/api_op_AssociateFraudster.go index 22ab22c27ba..41aa668f3b7 100644 --- a/service/voiceid/api_op_AssociateFraudster.go +++ b/service/voiceid/api_op_AssociateFraudster.go @@ -122,9 +122,6 @@ func (c *Client) addOperationAssociateFraudsterMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateFraudsterValidationMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_CreateDomain.go b/service/voiceid/api_op_CreateDomain.go index 3566527e10a..f60bb4d2f8f 100644 --- a/service/voiceid/api_op_CreateDomain.go +++ b/service/voiceid/api_op_CreateDomain.go @@ -136,9 +136,6 @@ func (c *Client) addOperationCreateDomainMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDomainMiddleware(stack, options); err != nil { return err } diff --git a/service/voiceid/api_op_CreateWatchlist.go b/service/voiceid/api_op_CreateWatchlist.go index 383055df97a..385c008262d 100644 --- a/service/voiceid/api_op_CreateWatchlist.go +++ b/service/voiceid/api_op_CreateWatchlist.go @@ -127,9 +127,6 @@ func (c *Client) addOperationCreateWatchlistMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateWatchlistMiddleware(stack, options); err != nil { return err } diff --git a/service/voiceid/api_op_DeleteDomain.go b/service/voiceid/api_op_DeleteDomain.go index b418bed29fb..17fb4962dd9 100644 --- a/service/voiceid/api_op_DeleteDomain.go +++ b/service/voiceid/api_op_DeleteDomain.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteDomainMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_DeleteFraudster.go b/service/voiceid/api_op_DeleteFraudster.go index 8d9cfd7d919..3e87f145cbd 100644 --- a/service/voiceid/api_op_DeleteFraudster.go +++ b/service/voiceid/api_op_DeleteFraudster.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteFraudsterMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFraudsterValidationMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_DeleteSpeaker.go b/service/voiceid/api_op_DeleteSpeaker.go index 5213aa8c869..b1444004d9e 100644 --- a/service/voiceid/api_op_DeleteSpeaker.go +++ b/service/voiceid/api_op_DeleteSpeaker.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteSpeakerMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSpeakerValidationMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_DeleteWatchlist.go b/service/voiceid/api_op_DeleteWatchlist.go index e49b5cc0dc9..d752a8bca9f 100644 --- a/service/voiceid/api_op_DeleteWatchlist.go +++ b/service/voiceid/api_op_DeleteWatchlist.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteWatchlistMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWatchlistValidationMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_DescribeDomain.go b/service/voiceid/api_op_DescribeDomain.go index b7c25dde341..73ad9d47181 100644 --- a/service/voiceid/api_op_DescribeDomain.go +++ b/service/voiceid/api_op_DescribeDomain.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDescribeDomainMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_DescribeFraudster.go b/service/voiceid/api_op_DescribeFraudster.go index ca1e42653ae..3fb1f45e5e5 100644 --- a/service/voiceid/api_op_DescribeFraudster.go +++ b/service/voiceid/api_op_DescribeFraudster.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDescribeFraudsterMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFraudsterValidationMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_DescribeFraudsterRegistrationJob.go b/service/voiceid/api_op_DescribeFraudsterRegistrationJob.go index 24fcd790518..ae9c752bc13 100644 --- a/service/voiceid/api_op_DescribeFraudsterRegistrationJob.go +++ b/service/voiceid/api_op_DescribeFraudsterRegistrationJob.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDescribeFraudsterRegistrationJobMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFraudsterRegistrationJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_DescribeSpeaker.go b/service/voiceid/api_op_DescribeSpeaker.go index a71f2a391f6..55522681b8d 100644 --- a/service/voiceid/api_op_DescribeSpeaker.go +++ b/service/voiceid/api_op_DescribeSpeaker.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDescribeSpeakerMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSpeakerValidationMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_DescribeSpeakerEnrollmentJob.go b/service/voiceid/api_op_DescribeSpeakerEnrollmentJob.go index 1c81c9758bd..2da01fafd32 100644 --- a/service/voiceid/api_op_DescribeSpeakerEnrollmentJob.go +++ b/service/voiceid/api_op_DescribeSpeakerEnrollmentJob.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDescribeSpeakerEnrollmentJobMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeSpeakerEnrollmentJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_DescribeWatchlist.go b/service/voiceid/api_op_DescribeWatchlist.go index 3ffe20d8cf1..84f31d5ad96 100644 --- a/service/voiceid/api_op_DescribeWatchlist.go +++ b/service/voiceid/api_op_DescribeWatchlist.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDescribeWatchlistMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeWatchlistValidationMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_DisassociateFraudster.go b/service/voiceid/api_op_DisassociateFraudster.go index 4895f656f52..1ef762be0da 100644 --- a/service/voiceid/api_op_DisassociateFraudster.go +++ b/service/voiceid/api_op_DisassociateFraudster.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDisassociateFraudsterMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateFraudsterValidationMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_EvaluateSession.go b/service/voiceid/api_op_EvaluateSession.go index ff193a6c2dc..a5713b93ea1 100644 --- a/service/voiceid/api_op_EvaluateSession.go +++ b/service/voiceid/api_op_EvaluateSession.go @@ -143,9 +143,6 @@ func (c *Client) addOperationEvaluateSessionMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpEvaluateSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_ListDomains.go b/service/voiceid/api_op_ListDomains.go index 599af63578b..7dd4d9d8119 100644 --- a/service/voiceid/api_op_ListDomains.go +++ b/service/voiceid/api_op_ListDomains.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListDomainsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDomains(options.Region), middleware.Before); err != nil { return err } diff --git a/service/voiceid/api_op_ListFraudsterRegistrationJobs.go b/service/voiceid/api_op_ListFraudsterRegistrationJobs.go index 81f65aea562..b19918a496b 100644 --- a/service/voiceid/api_op_ListFraudsterRegistrationJobs.go +++ b/service/voiceid/api_op_ListFraudsterRegistrationJobs.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListFraudsterRegistrationJobsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFraudsterRegistrationJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_ListFraudsters.go b/service/voiceid/api_op_ListFraudsters.go index 511ab5a68bb..01670757892 100644 --- a/service/voiceid/api_op_ListFraudsters.go +++ b/service/voiceid/api_op_ListFraudsters.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListFraudstersMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListFraudstersValidationMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_ListSpeakerEnrollmentJobs.go b/service/voiceid/api_op_ListSpeakerEnrollmentJobs.go index 5cd1d50e894..d732e10051d 100644 --- a/service/voiceid/api_op_ListSpeakerEnrollmentJobs.go +++ b/service/voiceid/api_op_ListSpeakerEnrollmentJobs.go @@ -134,9 +134,6 @@ func (c *Client) addOperationListSpeakerEnrollmentJobsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSpeakerEnrollmentJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_ListSpeakers.go b/service/voiceid/api_op_ListSpeakers.go index 69fd9ae5201..0ace3fa0912 100644 --- a/service/voiceid/api_op_ListSpeakers.go +++ b/service/voiceid/api_op_ListSpeakers.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListSpeakersMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSpeakersValidationMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_ListTagsForResource.go b/service/voiceid/api_op_ListTagsForResource.go index d3d51f861cc..92a3764c630 100644 --- a/service/voiceid/api_op_ListTagsForResource.go +++ b/service/voiceid/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_ListWatchlists.go b/service/voiceid/api_op_ListWatchlists.go index f38f58e2720..bf2b0149cba 100644 --- a/service/voiceid/api_op_ListWatchlists.go +++ b/service/voiceid/api_op_ListWatchlists.go @@ -130,9 +130,6 @@ func (c *Client) addOperationListWatchlistsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListWatchlistsValidationMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_OptOutSpeaker.go b/service/voiceid/api_op_OptOutSpeaker.go index 237df4cb5f3..6d6e0618e5d 100644 --- a/service/voiceid/api_op_OptOutSpeaker.go +++ b/service/voiceid/api_op_OptOutSpeaker.go @@ -122,9 +122,6 @@ func (c *Client) addOperationOptOutSpeakerMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpOptOutSpeakerValidationMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_StartFraudsterRegistrationJob.go b/service/voiceid/api_op_StartFraudsterRegistrationJob.go index d64465cc5f1..a2ce706c3df 100644 --- a/service/voiceid/api_op_StartFraudsterRegistrationJob.go +++ b/service/voiceid/api_op_StartFraudsterRegistrationJob.go @@ -149,9 +149,6 @@ func (c *Client) addOperationStartFraudsterRegistrationJobMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartFraudsterRegistrationJobMiddleware(stack, options); err != nil { return err } diff --git a/service/voiceid/api_op_StartSpeakerEnrollmentJob.go b/service/voiceid/api_op_StartSpeakerEnrollmentJob.go index bc876094bc5..b251a6da18e 100644 --- a/service/voiceid/api_op_StartSpeakerEnrollmentJob.go +++ b/service/voiceid/api_op_StartSpeakerEnrollmentJob.go @@ -149,9 +149,6 @@ func (c *Client) addOperationStartSpeakerEnrollmentJobMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartSpeakerEnrollmentJobMiddleware(stack, options); err != nil { return err } diff --git a/service/voiceid/api_op_TagResource.go b/service/voiceid/api_op_TagResource.go index 9d9592a008e..74e78a9172b 100644 --- a/service/voiceid/api_op_TagResource.go +++ b/service/voiceid/api_op_TagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_UntagResource.go b/service/voiceid/api_op_UntagResource.go index a7b1380507e..7346c6777d5 100644 --- a/service/voiceid/api_op_UntagResource.go +++ b/service/voiceid/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_UpdateDomain.go b/service/voiceid/api_op_UpdateDomain.go index ceb6b62a2f2..5a22d2c61cb 100644 --- a/service/voiceid/api_op_UpdateDomain.go +++ b/service/voiceid/api_op_UpdateDomain.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdateDomainMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/api_op_UpdateWatchlist.go b/service/voiceid/api_op_UpdateWatchlist.go index 4cf5406c795..03f7daed90d 100644 --- a/service/voiceid/api_op_UpdateWatchlist.go +++ b/service/voiceid/api_op_UpdateWatchlist.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateWatchlistMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateWatchlistValidationMiddleware(stack); err != nil { return err } diff --git a/service/voiceid/snapshot/api_op_AssociateFraudster.go.snap b/service/voiceid/snapshot/api_op_AssociateFraudster.go.snap index 7135f86d3d8..015a0225c8d 100644 --- a/service/voiceid/snapshot/api_op_AssociateFraudster.go.snap +++ b/service/voiceid/snapshot/api_op_AssociateFraudster.go.snap @@ -14,7 +14,6 @@ AssociateFraudster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/voiceid/snapshot/api_op_CreateDomain.go.snap b/service/voiceid/snapshot/api_op_CreateDomain.go.snap index b0291614ec3..af687da752e 100644 --- a/service/voiceid/snapshot/api_op_CreateDomain.go.snap +++ b/service/voiceid/snapshot/api_op_CreateDomain.go.snap @@ -15,7 +15,6 @@ CreateDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/voiceid/snapshot/api_op_CreateWatchlist.go.snap b/service/voiceid/snapshot/api_op_CreateWatchlist.go.snap index 3f9b4482d7e..3f51da46298 100644 --- a/service/voiceid/snapshot/api_op_CreateWatchlist.go.snap +++ b/service/voiceid/snapshot/api_op_CreateWatchlist.go.snap @@ -15,7 +15,6 @@ CreateWatchlist Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/voiceid/snapshot/api_op_DeleteDomain.go.snap b/service/voiceid/snapshot/api_op_DeleteDomain.go.snap index 24c9a1b0eb3..9a8c40f82ef 100644 --- a/service/voiceid/snapshot/api_op_DeleteDomain.go.snap +++ b/service/voiceid/snapshot/api_op_DeleteDomain.go.snap @@ -14,7 +14,6 @@ DeleteDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/voiceid/snapshot/api_op_DeleteFraudster.go.snap b/service/voiceid/snapshot/api_op_DeleteFraudster.go.snap index 989601557d8..2b20b56aa6b 100644 --- a/service/voiceid/snapshot/api_op_DeleteFraudster.go.snap +++ b/service/voiceid/snapshot/api_op_DeleteFraudster.go.snap @@ -14,7 +14,6 @@ DeleteFraudster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/voiceid/snapshot/api_op_DeleteSpeaker.go.snap b/service/voiceid/snapshot/api_op_DeleteSpeaker.go.snap index 0fd75a9eeb0..3cfff6eeb81 100644 --- a/service/voiceid/snapshot/api_op_DeleteSpeaker.go.snap +++ b/service/voiceid/snapshot/api_op_DeleteSpeaker.go.snap @@ -14,7 +14,6 @@ DeleteSpeaker Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/voiceid/snapshot/api_op_DeleteWatchlist.go.snap b/service/voiceid/snapshot/api_op_DeleteWatchlist.go.snap index bfc00325769..e3741b6fcb6 100644 --- a/service/voiceid/snapshot/api_op_DeleteWatchlist.go.snap +++ b/service/voiceid/snapshot/api_op_DeleteWatchlist.go.snap @@ -14,7 +14,6 @@ DeleteWatchlist Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/voiceid/snapshot/api_op_DescribeDomain.go.snap b/service/voiceid/snapshot/api_op_DescribeDomain.go.snap index 5f596bc704b..25b39221775 100644 --- a/service/voiceid/snapshot/api_op_DescribeDomain.go.snap +++ b/service/voiceid/snapshot/api_op_DescribeDomain.go.snap @@ -14,7 +14,6 @@ DescribeDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/voiceid/snapshot/api_op_DescribeFraudster.go.snap b/service/voiceid/snapshot/api_op_DescribeFraudster.go.snap index cefdf29d3de..3936208e7b4 100644 --- a/service/voiceid/snapshot/api_op_DescribeFraudster.go.snap +++ b/service/voiceid/snapshot/api_op_DescribeFraudster.go.snap @@ -14,7 +14,6 @@ DescribeFraudster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/voiceid/snapshot/api_op_DescribeFraudsterRegistrationJob.go.snap b/service/voiceid/snapshot/api_op_DescribeFraudsterRegistrationJob.go.snap index 9dd1ce3db86..1f71460f30e 100644 --- a/service/voiceid/snapshot/api_op_DescribeFraudsterRegistrationJob.go.snap +++ b/service/voiceid/snapshot/api_op_DescribeFraudsterRegistrationJob.go.snap @@ -14,7 +14,6 @@ DescribeFraudsterRegistrationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/voiceid/snapshot/api_op_DescribeSpeaker.go.snap b/service/voiceid/snapshot/api_op_DescribeSpeaker.go.snap index f5c40abd4c9..61e3c1e5512 100644 --- a/service/voiceid/snapshot/api_op_DescribeSpeaker.go.snap +++ b/service/voiceid/snapshot/api_op_DescribeSpeaker.go.snap @@ -14,7 +14,6 @@ DescribeSpeaker Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/voiceid/snapshot/api_op_DescribeSpeakerEnrollmentJob.go.snap b/service/voiceid/snapshot/api_op_DescribeSpeakerEnrollmentJob.go.snap index 1f79afaa177..77552db7a77 100644 --- a/service/voiceid/snapshot/api_op_DescribeSpeakerEnrollmentJob.go.snap +++ b/service/voiceid/snapshot/api_op_DescribeSpeakerEnrollmentJob.go.snap @@ -14,7 +14,6 @@ DescribeSpeakerEnrollmentJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/voiceid/snapshot/api_op_DescribeWatchlist.go.snap b/service/voiceid/snapshot/api_op_DescribeWatchlist.go.snap index bb6a6e3c4ab..e9fc61ce157 100644 --- a/service/voiceid/snapshot/api_op_DescribeWatchlist.go.snap +++ b/service/voiceid/snapshot/api_op_DescribeWatchlist.go.snap @@ -14,7 +14,6 @@ DescribeWatchlist Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/voiceid/snapshot/api_op_DisassociateFraudster.go.snap b/service/voiceid/snapshot/api_op_DisassociateFraudster.go.snap index 81a431d3c2a..bf1408ba54e 100644 --- a/service/voiceid/snapshot/api_op_DisassociateFraudster.go.snap +++ b/service/voiceid/snapshot/api_op_DisassociateFraudster.go.snap @@ -14,7 +14,6 @@ DisassociateFraudster Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/voiceid/snapshot/api_op_EvaluateSession.go.snap b/service/voiceid/snapshot/api_op_EvaluateSession.go.snap index 77a4b5bfc32..b53466a93e5 100644 --- a/service/voiceid/snapshot/api_op_EvaluateSession.go.snap +++ b/service/voiceid/snapshot/api_op_EvaluateSession.go.snap @@ -14,7 +14,6 @@ EvaluateSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/voiceid/snapshot/api_op_ListDomains.go.snap b/service/voiceid/snapshot/api_op_ListDomains.go.snap index 2bbde619ff2..8bf23a39993 100644 --- a/service/voiceid/snapshot/api_op_ListDomains.go.snap +++ b/service/voiceid/snapshot/api_op_ListDomains.go.snap @@ -13,7 +13,6 @@ ListDomains Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/voiceid/snapshot/api_op_ListFraudsterRegistrationJobs.go.snap b/service/voiceid/snapshot/api_op_ListFraudsterRegistrationJobs.go.snap index f20a4c76797..6473136742c 100644 --- a/service/voiceid/snapshot/api_op_ListFraudsterRegistrationJobs.go.snap +++ b/service/voiceid/snapshot/api_op_ListFraudsterRegistrationJobs.go.snap @@ -14,7 +14,6 @@ ListFraudsterRegistrationJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/voiceid/snapshot/api_op_ListFraudsters.go.snap b/service/voiceid/snapshot/api_op_ListFraudsters.go.snap index 9abf0218501..bf7eb12887f 100644 --- a/service/voiceid/snapshot/api_op_ListFraudsters.go.snap +++ b/service/voiceid/snapshot/api_op_ListFraudsters.go.snap @@ -14,7 +14,6 @@ ListFraudsters Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/voiceid/snapshot/api_op_ListSpeakerEnrollmentJobs.go.snap b/service/voiceid/snapshot/api_op_ListSpeakerEnrollmentJobs.go.snap index ef242d4f2c4..2c4e7587fbc 100644 --- a/service/voiceid/snapshot/api_op_ListSpeakerEnrollmentJobs.go.snap +++ b/service/voiceid/snapshot/api_op_ListSpeakerEnrollmentJobs.go.snap @@ -14,7 +14,6 @@ ListSpeakerEnrollmentJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/voiceid/snapshot/api_op_ListSpeakers.go.snap b/service/voiceid/snapshot/api_op_ListSpeakers.go.snap index 8407977c2b1..489b1c6cf5a 100644 --- a/service/voiceid/snapshot/api_op_ListSpeakers.go.snap +++ b/service/voiceid/snapshot/api_op_ListSpeakers.go.snap @@ -14,7 +14,6 @@ ListSpeakers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/voiceid/snapshot/api_op_ListTagsForResource.go.snap b/service/voiceid/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/voiceid/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/voiceid/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/voiceid/snapshot/api_op_ListWatchlists.go.snap b/service/voiceid/snapshot/api_op_ListWatchlists.go.snap index c3241cffafe..bd42df87f11 100644 --- a/service/voiceid/snapshot/api_op_ListWatchlists.go.snap +++ b/service/voiceid/snapshot/api_op_ListWatchlists.go.snap @@ -14,7 +14,6 @@ ListWatchlists Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/voiceid/snapshot/api_op_OptOutSpeaker.go.snap b/service/voiceid/snapshot/api_op_OptOutSpeaker.go.snap index 3a1025ddc0d..7c56ffb471f 100644 --- a/service/voiceid/snapshot/api_op_OptOutSpeaker.go.snap +++ b/service/voiceid/snapshot/api_op_OptOutSpeaker.go.snap @@ -14,7 +14,6 @@ OptOutSpeaker Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/voiceid/snapshot/api_op_StartFraudsterRegistrationJob.go.snap b/service/voiceid/snapshot/api_op_StartFraudsterRegistrationJob.go.snap index 3b7ca316b54..a9e755cd324 100644 --- a/service/voiceid/snapshot/api_op_StartFraudsterRegistrationJob.go.snap +++ b/service/voiceid/snapshot/api_op_StartFraudsterRegistrationJob.go.snap @@ -15,7 +15,6 @@ StartFraudsterRegistrationJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/voiceid/snapshot/api_op_StartSpeakerEnrollmentJob.go.snap b/service/voiceid/snapshot/api_op_StartSpeakerEnrollmentJob.go.snap index cfd8f745027..4c4165a713e 100644 --- a/service/voiceid/snapshot/api_op_StartSpeakerEnrollmentJob.go.snap +++ b/service/voiceid/snapshot/api_op_StartSpeakerEnrollmentJob.go.snap @@ -15,7 +15,6 @@ StartSpeakerEnrollmentJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/voiceid/snapshot/api_op_TagResource.go.snap b/service/voiceid/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/voiceid/snapshot/api_op_TagResource.go.snap +++ b/service/voiceid/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/voiceid/snapshot/api_op_UntagResource.go.snap b/service/voiceid/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/voiceid/snapshot/api_op_UntagResource.go.snap +++ b/service/voiceid/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/voiceid/snapshot/api_op_UpdateDomain.go.snap b/service/voiceid/snapshot/api_op_UpdateDomain.go.snap index 0361d64fb81..756a648921a 100644 --- a/service/voiceid/snapshot/api_op_UpdateDomain.go.snap +++ b/service/voiceid/snapshot/api_op_UpdateDomain.go.snap @@ -14,7 +14,6 @@ UpdateDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/voiceid/snapshot/api_op_UpdateWatchlist.go.snap b/service/voiceid/snapshot/api_op_UpdateWatchlist.go.snap index e9a169634cf..813b4026843 100644 --- a/service/voiceid/snapshot/api_op_UpdateWatchlist.go.snap +++ b/service/voiceid/snapshot/api_op_UpdateWatchlist.go.snap @@ -14,7 +14,6 @@ UpdateWatchlist Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/api_client.go b/service/vpclattice/api_client.go index 27bed021e23..b8ed89829cd 100644 --- a/service/vpclattice/api_client.go +++ b/service/vpclattice/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/vpclattice/api_op_BatchUpdateRule.go b/service/vpclattice/api_op_BatchUpdateRule.go index 093b7234c5b..c6a4df9af41 100644 --- a/service/vpclattice/api_op_BatchUpdateRule.go +++ b/service/vpclattice/api_op_BatchUpdateRule.go @@ -133,9 +133,6 @@ func (c *Client) addOperationBatchUpdateRuleMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchUpdateRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_CreateAccessLogSubscription.go b/service/vpclattice/api_op_CreateAccessLogSubscription.go index e7d2ee756ad..6abc9568797 100644 --- a/service/vpclattice/api_op_CreateAccessLogSubscription.go +++ b/service/vpclattice/api_op_CreateAccessLogSubscription.go @@ -163,9 +163,6 @@ func (c *Client) addOperationCreateAccessLogSubscriptionMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAccessLogSubscriptionMiddleware(stack, options); err != nil { return err } diff --git a/service/vpclattice/api_op_CreateListener.go b/service/vpclattice/api_op_CreateListener.go index 0718c5fea29..407d2a5c196 100644 --- a/service/vpclattice/api_op_CreateListener.go +++ b/service/vpclattice/api_op_CreateListener.go @@ -169,9 +169,6 @@ func (c *Client) addOperationCreateListenerMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateListenerMiddleware(stack, options); err != nil { return err } diff --git a/service/vpclattice/api_op_CreateResourceConfiguration.go b/service/vpclattice/api_op_CreateResourceConfiguration.go index 270bbd25120..a945f31d2e6 100644 --- a/service/vpclattice/api_op_CreateResourceConfiguration.go +++ b/service/vpclattice/api_op_CreateResourceConfiguration.go @@ -203,9 +203,6 @@ func (c *Client) addOperationCreateResourceConfigurationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateResourceConfigurationMiddleware(stack, options); err != nil { return err } diff --git a/service/vpclattice/api_op_CreateResourceGateway.go b/service/vpclattice/api_op_CreateResourceGateway.go index cf0faf7c9cb..9401c1b39c5 100644 --- a/service/vpclattice/api_op_CreateResourceGateway.go +++ b/service/vpclattice/api_op_CreateResourceGateway.go @@ -159,9 +159,6 @@ func (c *Client) addOperationCreateResourceGatewayMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateResourceGatewayMiddleware(stack, options); err != nil { return err } diff --git a/service/vpclattice/api_op_CreateRule.go b/service/vpclattice/api_op_CreateRule.go index 4b1e7776e5e..36b0cdec693 100644 --- a/service/vpclattice/api_op_CreateRule.go +++ b/service/vpclattice/api_op_CreateRule.go @@ -172,9 +172,6 @@ func (c *Client) addOperationCreateRuleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateRuleMiddleware(stack, options); err != nil { return err } diff --git a/service/vpclattice/api_op_CreateService.go b/service/vpclattice/api_op_CreateService.go index 880851a6c56..a025c605f21 100644 --- a/service/vpclattice/api_op_CreateService.go +++ b/service/vpclattice/api_op_CreateService.go @@ -165,9 +165,6 @@ func (c *Client) addOperationCreateServiceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateServiceMiddleware(stack, options); err != nil { return err } diff --git a/service/vpclattice/api_op_CreateServiceNetwork.go b/service/vpclattice/api_op_CreateServiceNetwork.go index 818f4933894..3f1d4742cf2 100644 --- a/service/vpclattice/api_op_CreateServiceNetwork.go +++ b/service/vpclattice/api_op_CreateServiceNetwork.go @@ -152,9 +152,6 @@ func (c *Client) addOperationCreateServiceNetworkMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateServiceNetworkMiddleware(stack, options); err != nil { return err } diff --git a/service/vpclattice/api_op_CreateServiceNetworkResourceAssociation.go b/service/vpclattice/api_op_CreateServiceNetworkResourceAssociation.go index a3ca9f9edfc..d008fa328d4 100644 --- a/service/vpclattice/api_op_CreateServiceNetworkResourceAssociation.go +++ b/service/vpclattice/api_op_CreateServiceNetworkResourceAssociation.go @@ -137,9 +137,6 @@ func (c *Client) addOperationCreateServiceNetworkResourceAssociationMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateServiceNetworkResourceAssociationMiddleware(stack, options); err != nil { return err } diff --git a/service/vpclattice/api_op_CreateServiceNetworkServiceAssociation.go b/service/vpclattice/api_op_CreateServiceNetworkServiceAssociation.go index b3c82502607..ea643fda4ac 100644 --- a/service/vpclattice/api_op_CreateServiceNetworkServiceAssociation.go +++ b/service/vpclattice/api_op_CreateServiceNetworkServiceAssociation.go @@ -156,9 +156,6 @@ func (c *Client) addOperationCreateServiceNetworkServiceAssociationMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateServiceNetworkServiceAssociationMiddleware(stack, options); err != nil { return err } diff --git a/service/vpclattice/api_op_CreateServiceNetworkVpcAssociation.go b/service/vpclattice/api_op_CreateServiceNetworkVpcAssociation.go index 0a0c6fa562e..79c2dc4a7bd 100644 --- a/service/vpclattice/api_op_CreateServiceNetworkVpcAssociation.go +++ b/service/vpclattice/api_op_CreateServiceNetworkVpcAssociation.go @@ -163,9 +163,6 @@ func (c *Client) addOperationCreateServiceNetworkVpcAssociationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateServiceNetworkVpcAssociationMiddleware(stack, options); err != nil { return err } diff --git a/service/vpclattice/api_op_CreateTargetGroup.go b/service/vpclattice/api_op_CreateTargetGroup.go index 256d41c0693..315ff5967ad 100644 --- a/service/vpclattice/api_op_CreateTargetGroup.go +++ b/service/vpclattice/api_op_CreateTargetGroup.go @@ -154,9 +154,6 @@ func (c *Client) addOperationCreateTargetGroupMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateTargetGroupMiddleware(stack, options); err != nil { return err } diff --git a/service/vpclattice/api_op_DeleteAccessLogSubscription.go b/service/vpclattice/api_op_DeleteAccessLogSubscription.go index 93b15110ac0..aef546902f6 100644 --- a/service/vpclattice/api_op_DeleteAccessLogSubscription.go +++ b/service/vpclattice/api_op_DeleteAccessLogSubscription.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteAccessLogSubscriptionMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAccessLogSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_DeleteAuthPolicy.go b/service/vpclattice/api_op_DeleteAuthPolicy.go index d6d73523ab7..57a69b31455 100644 --- a/service/vpclattice/api_op_DeleteAuthPolicy.go +++ b/service/vpclattice/api_op_DeleteAuthPolicy.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteAuthPolicyMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAuthPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_DeleteListener.go b/service/vpclattice/api_op_DeleteListener.go index db4a6248b79..6f60735b167 100644 --- a/service/vpclattice/api_op_DeleteListener.go +++ b/service/vpclattice/api_op_DeleteListener.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteListenerMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteListenerValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_DeleteResourceConfiguration.go b/service/vpclattice/api_op_DeleteResourceConfiguration.go index 4d67094215c..9ed78a89f1e 100644 --- a/service/vpclattice/api_op_DeleteResourceConfiguration.go +++ b/service/vpclattice/api_op_DeleteResourceConfiguration.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteResourceConfigurationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourceConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_DeleteResourceEndpointAssociation.go b/service/vpclattice/api_op_DeleteResourceEndpointAssociation.go index a982eb2ba86..cb0ddd0f31f 100644 --- a/service/vpclattice/api_op_DeleteResourceEndpointAssociation.go +++ b/service/vpclattice/api_op_DeleteResourceEndpointAssociation.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDeleteResourceEndpointAssociationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourceEndpointAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_DeleteResourceGateway.go b/service/vpclattice/api_op_DeleteResourceGateway.go index c1bcb5a8eca..c03322c0cff 100644 --- a/service/vpclattice/api_op_DeleteResourceGateway.go +++ b/service/vpclattice/api_op_DeleteResourceGateway.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteResourceGatewayMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourceGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_DeleteResourcePolicy.go b/service/vpclattice/api_op_DeleteResourcePolicy.go index 1a5c221c865..c827719fe29 100644 --- a/service/vpclattice/api_op_DeleteResourcePolicy.go +++ b/service/vpclattice/api_op_DeleteResourcePolicy.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_DeleteRule.go b/service/vpclattice/api_op_DeleteRule.go index 2749410eebc..6ba57392694 100644 --- a/service/vpclattice/api_op_DeleteRule.go +++ b/service/vpclattice/api_op_DeleteRule.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeleteRuleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_DeleteService.go b/service/vpclattice/api_op_DeleteService.go index 75cc14a5cc3..70208b8ce2e 100644 --- a/service/vpclattice/api_op_DeleteService.go +++ b/service/vpclattice/api_op_DeleteService.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDeleteServiceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteServiceValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_DeleteServiceNetwork.go b/service/vpclattice/api_op_DeleteServiceNetwork.go index 9cdeaeb06da..63057a007af 100644 --- a/service/vpclattice/api_op_DeleteServiceNetwork.go +++ b/service/vpclattice/api_op_DeleteServiceNetwork.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteServiceNetworkMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteServiceNetworkValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_DeleteServiceNetworkResourceAssociation.go b/service/vpclattice/api_op_DeleteServiceNetworkResourceAssociation.go index a3e4a61ae1f..7978cbd5a4e 100644 --- a/service/vpclattice/api_op_DeleteServiceNetworkResourceAssociation.go +++ b/service/vpclattice/api_op_DeleteServiceNetworkResourceAssociation.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteServiceNetworkResourceAssociationMiddlewares( if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteServiceNetworkResourceAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_DeleteServiceNetworkServiceAssociation.go b/service/vpclattice/api_op_DeleteServiceNetworkServiceAssociation.go index 5b9d2549670..480630610e4 100644 --- a/service/vpclattice/api_op_DeleteServiceNetworkServiceAssociation.go +++ b/service/vpclattice/api_op_DeleteServiceNetworkServiceAssociation.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteServiceNetworkServiceAssociationMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteServiceNetworkServiceAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_DeleteServiceNetworkVpcAssociation.go b/service/vpclattice/api_op_DeleteServiceNetworkVpcAssociation.go index 4dfb9c31597..c2a29fc5d06 100644 --- a/service/vpclattice/api_op_DeleteServiceNetworkVpcAssociation.go +++ b/service/vpclattice/api_op_DeleteServiceNetworkVpcAssociation.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteServiceNetworkVpcAssociationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteServiceNetworkVpcAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_DeleteTargetGroup.go b/service/vpclattice/api_op_DeleteTargetGroup.go index e268d8adf40..705509ab5fa 100644 --- a/service/vpclattice/api_op_DeleteTargetGroup.go +++ b/service/vpclattice/api_op_DeleteTargetGroup.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteTargetGroupMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTargetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_DeregisterTargets.go b/service/vpclattice/api_op_DeregisterTargets.go index fa98e59517e..1af51959120 100644 --- a/service/vpclattice/api_op_DeregisterTargets.go +++ b/service/vpclattice/api_op_DeregisterTargets.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeregisterTargetsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterTargetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_GetAccessLogSubscription.go b/service/vpclattice/api_op_GetAccessLogSubscription.go index 2cfd826eff7..6c85eb2c0b4 100644 --- a/service/vpclattice/api_op_GetAccessLogSubscription.go +++ b/service/vpclattice/api_op_GetAccessLogSubscription.go @@ -150,9 +150,6 @@ func (c *Client) addOperationGetAccessLogSubscriptionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAccessLogSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_GetAuthPolicy.go b/service/vpclattice/api_op_GetAuthPolicy.go index 9a8881ca8b2..41dd45ec9ac 100644 --- a/service/vpclattice/api_op_GetAuthPolicy.go +++ b/service/vpclattice/api_op_GetAuthPolicy.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGetAuthPolicyMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAuthPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_GetListener.go b/service/vpclattice/api_op_GetListener.go index 6ea9291bb9e..529e3ad56c8 100644 --- a/service/vpclattice/api_op_GetListener.go +++ b/service/vpclattice/api_op_GetListener.go @@ -145,9 +145,6 @@ func (c *Client) addOperationGetListenerMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetListenerValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_GetResourceConfiguration.go b/service/vpclattice/api_op_GetResourceConfiguration.go index 685eaf158c3..c97608391fb 100644 --- a/service/vpclattice/api_op_GetResourceConfiguration.go +++ b/service/vpclattice/api_op_GetResourceConfiguration.go @@ -173,9 +173,6 @@ func (c *Client) addOperationGetResourceConfigurationMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourceConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_GetResourceGateway.go b/service/vpclattice/api_op_GetResourceGateway.go index 158184056f3..1c5adf3bb76 100644 --- a/service/vpclattice/api_op_GetResourceGateway.go +++ b/service/vpclattice/api_op_GetResourceGateway.go @@ -141,9 +141,6 @@ func (c *Client) addOperationGetResourceGatewayMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourceGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_GetResourcePolicy.go b/service/vpclattice/api_op_GetResourcePolicy.go index e26253396e8..b2981be9aa9 100644 --- a/service/vpclattice/api_op_GetResourcePolicy.go +++ b/service/vpclattice/api_op_GetResourcePolicy.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_GetRule.go b/service/vpclattice/api_op_GetRule.go index 77d938d7232..c82f6865928 100644 --- a/service/vpclattice/api_op_GetRule.go +++ b/service/vpclattice/api_op_GetRule.go @@ -151,9 +151,6 @@ func (c *Client) addOperationGetRuleMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_GetService.go b/service/vpclattice/api_op_GetService.go index 0e21113492e..37038f007fe 100644 --- a/service/vpclattice/api_op_GetService.go +++ b/service/vpclattice/api_op_GetService.go @@ -146,9 +146,6 @@ func (c *Client) addOperationGetServiceMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetServiceValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_GetServiceNetwork.go b/service/vpclattice/api_op_GetServiceNetwork.go index dea9d5bd5cc..7db79f59654 100644 --- a/service/vpclattice/api_op_GetServiceNetwork.go +++ b/service/vpclattice/api_op_GetServiceNetwork.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGetServiceNetworkMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetServiceNetworkValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_GetServiceNetworkResourceAssociation.go b/service/vpclattice/api_op_GetServiceNetworkResourceAssociation.go index 81042f2a777..1df0c4b0050 100644 --- a/service/vpclattice/api_op_GetServiceNetworkResourceAssociation.go +++ b/service/vpclattice/api_op_GetServiceNetworkResourceAssociation.go @@ -168,9 +168,6 @@ func (c *Client) addOperationGetServiceNetworkResourceAssociationMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetServiceNetworkResourceAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_GetServiceNetworkServiceAssociation.go b/service/vpclattice/api_op_GetServiceNetworkServiceAssociation.go index d76619ccccc..589ec51743c 100644 --- a/service/vpclattice/api_op_GetServiceNetworkServiceAssociation.go +++ b/service/vpclattice/api_op_GetServiceNetworkServiceAssociation.go @@ -156,9 +156,6 @@ func (c *Client) addOperationGetServiceNetworkServiceAssociationMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetServiceNetworkServiceAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_GetServiceNetworkVpcAssociation.go b/service/vpclattice/api_op_GetServiceNetworkVpcAssociation.go index f0de468ac07..0bebc8f56b2 100644 --- a/service/vpclattice/api_op_GetServiceNetworkVpcAssociation.go +++ b/service/vpclattice/api_op_GetServiceNetworkVpcAssociation.go @@ -150,9 +150,6 @@ func (c *Client) addOperationGetServiceNetworkVpcAssociationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetServiceNetworkVpcAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_GetTargetGroup.go b/service/vpclattice/api_op_GetTargetGroup.go index 21866b0a868..3aa6ed880a6 100644 --- a/service/vpclattice/api_op_GetTargetGroup.go +++ b/service/vpclattice/api_op_GetTargetGroup.go @@ -143,9 +143,6 @@ func (c *Client) addOperationGetTargetGroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTargetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_ListAccessLogSubscriptions.go b/service/vpclattice/api_op_ListAccessLogSubscriptions.go index 99022aac954..646311d8dae 100644 --- a/service/vpclattice/api_op_ListAccessLogSubscriptions.go +++ b/service/vpclattice/api_op_ListAccessLogSubscriptions.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListAccessLogSubscriptionsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAccessLogSubscriptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_ListListeners.go b/service/vpclattice/api_op_ListListeners.go index 195539e8998..ba93cc470f6 100644 --- a/service/vpclattice/api_op_ListListeners.go +++ b/service/vpclattice/api_op_ListListeners.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListListenersMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListListenersValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_ListResourceConfigurations.go b/service/vpclattice/api_op_ListResourceConfigurations.go index 00e7325e435..89219400749 100644 --- a/service/vpclattice/api_op_ListResourceConfigurations.go +++ b/service/vpclattice/api_op_ListResourceConfigurations.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListResourceConfigurationsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourceConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/vpclattice/api_op_ListResourceEndpointAssociations.go b/service/vpclattice/api_op_ListResourceEndpointAssociations.go index 95e5f17e663..3a24c825467 100644 --- a/service/vpclattice/api_op_ListResourceEndpointAssociations.go +++ b/service/vpclattice/api_op_ListResourceEndpointAssociations.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListResourceEndpointAssociationsMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListResourceEndpointAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_ListResourceGateways.go b/service/vpclattice/api_op_ListResourceGateways.go index 3b2ffb72d95..06ef0220316 100644 --- a/service/vpclattice/api_op_ListResourceGateways.go +++ b/service/vpclattice/api_op_ListResourceGateways.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListResourceGatewaysMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourceGateways(options.Region), middleware.Before); err != nil { return err } diff --git a/service/vpclattice/api_op_ListRules.go b/service/vpclattice/api_op_ListRules.go index e70b8db0d6b..d50626169e2 100644 --- a/service/vpclattice/api_op_ListRules.go +++ b/service/vpclattice/api_op_ListRules.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListRulesMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_ListServiceNetworkResourceAssociations.go b/service/vpclattice/api_op_ListServiceNetworkResourceAssociations.go index 7912d3e8f53..295b3f820fa 100644 --- a/service/vpclattice/api_op_ListServiceNetworkResourceAssociations.go +++ b/service/vpclattice/api_op_ListServiceNetworkResourceAssociations.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListServiceNetworkResourceAssociationsMiddlewares(s if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServiceNetworkResourceAssociations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/vpclattice/api_op_ListServiceNetworkServiceAssociations.go b/service/vpclattice/api_op_ListServiceNetworkServiceAssociations.go index ee856259b87..f20ecf6212e 100644 --- a/service/vpclattice/api_op_ListServiceNetworkServiceAssociations.go +++ b/service/vpclattice/api_op_ListServiceNetworkServiceAssociations.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListServiceNetworkServiceAssociationsMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServiceNetworkServiceAssociations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/vpclattice/api_op_ListServiceNetworkVpcAssociations.go b/service/vpclattice/api_op_ListServiceNetworkVpcAssociations.go index a941245d574..ea8bb237f91 100644 --- a/service/vpclattice/api_op_ListServiceNetworkVpcAssociations.go +++ b/service/vpclattice/api_op_ListServiceNetworkVpcAssociations.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListServiceNetworkVpcAssociationsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServiceNetworkVpcAssociations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/vpclattice/api_op_ListServiceNetworkVpcEndpointAssociations.go b/service/vpclattice/api_op_ListServiceNetworkVpcEndpointAssociations.go index b5d3ff4c171..ef11942e6a1 100644 --- a/service/vpclattice/api_op_ListServiceNetworkVpcEndpointAssociations.go +++ b/service/vpclattice/api_op_ListServiceNetworkVpcEndpointAssociations.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListServiceNetworkVpcEndpointAssociationsMiddleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListServiceNetworkVpcEndpointAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_ListServiceNetworks.go b/service/vpclattice/api_op_ListServiceNetworks.go index 9d07e62db44..d12a4d4a356 100644 --- a/service/vpclattice/api_op_ListServiceNetworks.go +++ b/service/vpclattice/api_op_ListServiceNetworks.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListServiceNetworksMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServiceNetworks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/vpclattice/api_op_ListServices.go b/service/vpclattice/api_op_ListServices.go index d14089aeb2e..8dd1ab15425 100644 --- a/service/vpclattice/api_op_ListServices.go +++ b/service/vpclattice/api_op_ListServices.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListServicesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServices(options.Region), middleware.Before); err != nil { return err } diff --git a/service/vpclattice/api_op_ListTagsForResource.go b/service/vpclattice/api_op_ListTagsForResource.go index bf0941f1a2b..94eef49164a 100644 --- a/service/vpclattice/api_op_ListTagsForResource.go +++ b/service/vpclattice/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_ListTargetGroups.go b/service/vpclattice/api_op_ListTargetGroups.go index a15daffef53..6fb7df990a9 100644 --- a/service/vpclattice/api_op_ListTargetGroups.go +++ b/service/vpclattice/api_op_ListTargetGroups.go @@ -124,9 +124,6 @@ func (c *Client) addOperationListTargetGroupsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTargetGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/vpclattice/api_op_ListTargets.go b/service/vpclattice/api_op_ListTargets.go index d80d8d7590c..0368212afe2 100644 --- a/service/vpclattice/api_op_ListTargets.go +++ b/service/vpclattice/api_op_ListTargets.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListTargetsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTargetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_PutAuthPolicy.go b/service/vpclattice/api_op_PutAuthPolicy.go index 3cadc3bc602..7e861314d9c 100644 --- a/service/vpclattice/api_op_PutAuthPolicy.go +++ b/service/vpclattice/api_op_PutAuthPolicy.go @@ -134,9 +134,6 @@ func (c *Client) addOperationPutAuthPolicyMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutAuthPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_PutResourcePolicy.go b/service/vpclattice/api_op_PutResourcePolicy.go index 931ae22b2fb..098d382d963 100644 --- a/service/vpclattice/api_op_PutResourcePolicy.go +++ b/service/vpclattice/api_op_PutResourcePolicy.go @@ -116,9 +116,6 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_RegisterTargets.go b/service/vpclattice/api_op_RegisterTargets.go index 3f1e415bedb..070a6e7173d 100644 --- a/service/vpclattice/api_op_RegisterTargets.go +++ b/service/vpclattice/api_op_RegisterTargets.go @@ -121,9 +121,6 @@ func (c *Client) addOperationRegisterTargetsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterTargetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_TagResource.go b/service/vpclattice/api_op_TagResource.go index 7fd20615e34..3f2191979f5 100644 --- a/service/vpclattice/api_op_TagResource.go +++ b/service/vpclattice/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_UntagResource.go b/service/vpclattice/api_op_UntagResource.go index a1a94229097..026c7b9c656 100644 --- a/service/vpclattice/api_op_UntagResource.go +++ b/service/vpclattice/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_UpdateAccessLogSubscription.go b/service/vpclattice/api_op_UpdateAccessLogSubscription.go index f7b92cb47b1..4965b35a9cc 100644 --- a/service/vpclattice/api_op_UpdateAccessLogSubscription.go +++ b/service/vpclattice/api_op_UpdateAccessLogSubscription.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateAccessLogSubscriptionMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAccessLogSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_UpdateListener.go b/service/vpclattice/api_op_UpdateListener.go index 4f07fe469e9..a45bac7d348 100644 --- a/service/vpclattice/api_op_UpdateListener.go +++ b/service/vpclattice/api_op_UpdateListener.go @@ -143,9 +143,6 @@ func (c *Client) addOperationUpdateListenerMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateListenerValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_UpdateResourceConfiguration.go b/service/vpclattice/api_op_UpdateResourceConfiguration.go index b908f84ee63..4a9439a09a9 100644 --- a/service/vpclattice/api_op_UpdateResourceConfiguration.go +++ b/service/vpclattice/api_op_UpdateResourceConfiguration.go @@ -163,9 +163,6 @@ func (c *Client) addOperationUpdateResourceConfigurationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateResourceConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_UpdateResourceGateway.go b/service/vpclattice/api_op_UpdateResourceGateway.go index 9ebb0ee7a2c..954998614b6 100644 --- a/service/vpclattice/api_op_UpdateResourceGateway.go +++ b/service/vpclattice/api_op_UpdateResourceGateway.go @@ -136,9 +136,6 @@ func (c *Client) addOperationUpdateResourceGatewayMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateResourceGatewayValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_UpdateRule.go b/service/vpclattice/api_op_UpdateRule.go index 0de4da07708..a0a42251cb6 100644 --- a/service/vpclattice/api_op_UpdateRule.go +++ b/service/vpclattice/api_op_UpdateRule.go @@ -150,9 +150,6 @@ func (c *Client) addOperationUpdateRuleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_UpdateService.go b/service/vpclattice/api_op_UpdateService.go index b8be5ba361f..50368e3051d 100644 --- a/service/vpclattice/api_op_UpdateService.go +++ b/service/vpclattice/api_op_UpdateService.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateServiceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateServiceValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_UpdateServiceNetwork.go b/service/vpclattice/api_op_UpdateServiceNetwork.go index 6fa808b7b1a..8442a8e550e 100644 --- a/service/vpclattice/api_op_UpdateServiceNetwork.go +++ b/service/vpclattice/api_op_UpdateServiceNetwork.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateServiceNetworkMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateServiceNetworkValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_UpdateServiceNetworkVpcAssociation.go b/service/vpclattice/api_op_UpdateServiceNetworkVpcAssociation.go index 29f06d6e033..08d19dfc3ec 100644 --- a/service/vpclattice/api_op_UpdateServiceNetworkVpcAssociation.go +++ b/service/vpclattice/api_op_UpdateServiceNetworkVpcAssociation.go @@ -135,9 +135,6 @@ func (c *Client) addOperationUpdateServiceNetworkVpcAssociationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateServiceNetworkVpcAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/api_op_UpdateTargetGroup.go b/service/vpclattice/api_op_UpdateTargetGroup.go index e1626f7d6fa..02573d3d880 100644 --- a/service/vpclattice/api_op_UpdateTargetGroup.go +++ b/service/vpclattice/api_op_UpdateTargetGroup.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdateTargetGroupMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateTargetGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/vpclattice/snapshot/api_op_BatchUpdateRule.go.snap b/service/vpclattice/snapshot/api_op_BatchUpdateRule.go.snap index ce467475482..cd0ff83bd4d 100644 --- a/service/vpclattice/snapshot/api_op_BatchUpdateRule.go.snap +++ b/service/vpclattice/snapshot/api_op_BatchUpdateRule.go.snap @@ -14,7 +14,6 @@ BatchUpdateRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_CreateAccessLogSubscription.go.snap b/service/vpclattice/snapshot/api_op_CreateAccessLogSubscription.go.snap index 1768aeb4143..ac1ce1d08c3 100644 --- a/service/vpclattice/snapshot/api_op_CreateAccessLogSubscription.go.snap +++ b/service/vpclattice/snapshot/api_op_CreateAccessLogSubscription.go.snap @@ -15,7 +15,6 @@ CreateAccessLogSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_CreateListener.go.snap b/service/vpclattice/snapshot/api_op_CreateListener.go.snap index 2cbcb335c91..ad37c989aa1 100644 --- a/service/vpclattice/snapshot/api_op_CreateListener.go.snap +++ b/service/vpclattice/snapshot/api_op_CreateListener.go.snap @@ -15,7 +15,6 @@ CreateListener Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_CreateResourceConfiguration.go.snap b/service/vpclattice/snapshot/api_op_CreateResourceConfiguration.go.snap index aa609a50f52..c7f0d33254f 100644 --- a/service/vpclattice/snapshot/api_op_CreateResourceConfiguration.go.snap +++ b/service/vpclattice/snapshot/api_op_CreateResourceConfiguration.go.snap @@ -15,7 +15,6 @@ CreateResourceConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_CreateResourceGateway.go.snap b/service/vpclattice/snapshot/api_op_CreateResourceGateway.go.snap index 1f22ff58d7a..bf880236e30 100644 --- a/service/vpclattice/snapshot/api_op_CreateResourceGateway.go.snap +++ b/service/vpclattice/snapshot/api_op_CreateResourceGateway.go.snap @@ -15,7 +15,6 @@ CreateResourceGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_CreateRule.go.snap b/service/vpclattice/snapshot/api_op_CreateRule.go.snap index 341ab226009..9278956f564 100644 --- a/service/vpclattice/snapshot/api_op_CreateRule.go.snap +++ b/service/vpclattice/snapshot/api_op_CreateRule.go.snap @@ -15,7 +15,6 @@ CreateRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_CreateService.go.snap b/service/vpclattice/snapshot/api_op_CreateService.go.snap index bdc32ad5952..e3246937990 100644 --- a/service/vpclattice/snapshot/api_op_CreateService.go.snap +++ b/service/vpclattice/snapshot/api_op_CreateService.go.snap @@ -15,7 +15,6 @@ CreateService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_CreateServiceNetwork.go.snap b/service/vpclattice/snapshot/api_op_CreateServiceNetwork.go.snap index b8de78ab851..8506d8c0fc7 100644 --- a/service/vpclattice/snapshot/api_op_CreateServiceNetwork.go.snap +++ b/service/vpclattice/snapshot/api_op_CreateServiceNetwork.go.snap @@ -15,7 +15,6 @@ CreateServiceNetwork Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_CreateServiceNetworkResourceAssociation.go.snap b/service/vpclattice/snapshot/api_op_CreateServiceNetworkResourceAssociation.go.snap index 208c3077565..5cd0ecf6a58 100644 --- a/service/vpclattice/snapshot/api_op_CreateServiceNetworkResourceAssociation.go.snap +++ b/service/vpclattice/snapshot/api_op_CreateServiceNetworkResourceAssociation.go.snap @@ -15,7 +15,6 @@ CreateServiceNetworkResourceAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_CreateServiceNetworkServiceAssociation.go.snap b/service/vpclattice/snapshot/api_op_CreateServiceNetworkServiceAssociation.go.snap index b5af1702ad6..bcd054230f7 100644 --- a/service/vpclattice/snapshot/api_op_CreateServiceNetworkServiceAssociation.go.snap +++ b/service/vpclattice/snapshot/api_op_CreateServiceNetworkServiceAssociation.go.snap @@ -15,7 +15,6 @@ CreateServiceNetworkServiceAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_CreateServiceNetworkVpcAssociation.go.snap b/service/vpclattice/snapshot/api_op_CreateServiceNetworkVpcAssociation.go.snap index d62fcb88bc7..cd7e5d322c8 100644 --- a/service/vpclattice/snapshot/api_op_CreateServiceNetworkVpcAssociation.go.snap +++ b/service/vpclattice/snapshot/api_op_CreateServiceNetworkVpcAssociation.go.snap @@ -15,7 +15,6 @@ CreateServiceNetworkVpcAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_CreateTargetGroup.go.snap b/service/vpclattice/snapshot/api_op_CreateTargetGroup.go.snap index d00a62696e7..20852926765 100644 --- a/service/vpclattice/snapshot/api_op_CreateTargetGroup.go.snap +++ b/service/vpclattice/snapshot/api_op_CreateTargetGroup.go.snap @@ -15,7 +15,6 @@ CreateTargetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_DeleteAccessLogSubscription.go.snap b/service/vpclattice/snapshot/api_op_DeleteAccessLogSubscription.go.snap index 994434fcd63..7d0ddec2e72 100644 --- a/service/vpclattice/snapshot/api_op_DeleteAccessLogSubscription.go.snap +++ b/service/vpclattice/snapshot/api_op_DeleteAccessLogSubscription.go.snap @@ -14,7 +14,6 @@ DeleteAccessLogSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_DeleteAuthPolicy.go.snap b/service/vpclattice/snapshot/api_op_DeleteAuthPolicy.go.snap index e1689a9aee2..7f443d8c463 100644 --- a/service/vpclattice/snapshot/api_op_DeleteAuthPolicy.go.snap +++ b/service/vpclattice/snapshot/api_op_DeleteAuthPolicy.go.snap @@ -14,7 +14,6 @@ DeleteAuthPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_DeleteListener.go.snap b/service/vpclattice/snapshot/api_op_DeleteListener.go.snap index b1da8bc0db1..ba89bd4bc88 100644 --- a/service/vpclattice/snapshot/api_op_DeleteListener.go.snap +++ b/service/vpclattice/snapshot/api_op_DeleteListener.go.snap @@ -14,7 +14,6 @@ DeleteListener Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_DeleteResourceConfiguration.go.snap b/service/vpclattice/snapshot/api_op_DeleteResourceConfiguration.go.snap index a71980296a3..72cb7674d52 100644 --- a/service/vpclattice/snapshot/api_op_DeleteResourceConfiguration.go.snap +++ b/service/vpclattice/snapshot/api_op_DeleteResourceConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteResourceConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_DeleteResourceEndpointAssociation.go.snap b/service/vpclattice/snapshot/api_op_DeleteResourceEndpointAssociation.go.snap index e6719ed0b81..ce187d9a752 100644 --- a/service/vpclattice/snapshot/api_op_DeleteResourceEndpointAssociation.go.snap +++ b/service/vpclattice/snapshot/api_op_DeleteResourceEndpointAssociation.go.snap @@ -14,7 +14,6 @@ DeleteResourceEndpointAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_DeleteResourceGateway.go.snap b/service/vpclattice/snapshot/api_op_DeleteResourceGateway.go.snap index b9e7e0dc921..8f5bcefc784 100644 --- a/service/vpclattice/snapshot/api_op_DeleteResourceGateway.go.snap +++ b/service/vpclattice/snapshot/api_op_DeleteResourceGateway.go.snap @@ -14,7 +14,6 @@ DeleteResourceGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_DeleteResourcePolicy.go.snap b/service/vpclattice/snapshot/api_op_DeleteResourcePolicy.go.snap index 21dbc8dfcde..9948d797360 100644 --- a/service/vpclattice/snapshot/api_op_DeleteResourcePolicy.go.snap +++ b/service/vpclattice/snapshot/api_op_DeleteResourcePolicy.go.snap @@ -14,7 +14,6 @@ DeleteResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_DeleteRule.go.snap b/service/vpclattice/snapshot/api_op_DeleteRule.go.snap index dd841287b59..a6bc8103292 100644 --- a/service/vpclattice/snapshot/api_op_DeleteRule.go.snap +++ b/service/vpclattice/snapshot/api_op_DeleteRule.go.snap @@ -14,7 +14,6 @@ DeleteRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_DeleteService.go.snap b/service/vpclattice/snapshot/api_op_DeleteService.go.snap index 0ca8d33ca7c..b57f6142373 100644 --- a/service/vpclattice/snapshot/api_op_DeleteService.go.snap +++ b/service/vpclattice/snapshot/api_op_DeleteService.go.snap @@ -14,7 +14,6 @@ DeleteService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_DeleteServiceNetwork.go.snap b/service/vpclattice/snapshot/api_op_DeleteServiceNetwork.go.snap index dfca84c8ca8..c4b7931017d 100644 --- a/service/vpclattice/snapshot/api_op_DeleteServiceNetwork.go.snap +++ b/service/vpclattice/snapshot/api_op_DeleteServiceNetwork.go.snap @@ -14,7 +14,6 @@ DeleteServiceNetwork Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_DeleteServiceNetworkResourceAssociation.go.snap b/service/vpclattice/snapshot/api_op_DeleteServiceNetworkResourceAssociation.go.snap index e719fe64135..5fb05532654 100644 --- a/service/vpclattice/snapshot/api_op_DeleteServiceNetworkResourceAssociation.go.snap +++ b/service/vpclattice/snapshot/api_op_DeleteServiceNetworkResourceAssociation.go.snap @@ -14,7 +14,6 @@ DeleteServiceNetworkResourceAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_DeleteServiceNetworkServiceAssociation.go.snap b/service/vpclattice/snapshot/api_op_DeleteServiceNetworkServiceAssociation.go.snap index 05bcfd97d2b..6bc65fe6b14 100644 --- a/service/vpclattice/snapshot/api_op_DeleteServiceNetworkServiceAssociation.go.snap +++ b/service/vpclattice/snapshot/api_op_DeleteServiceNetworkServiceAssociation.go.snap @@ -14,7 +14,6 @@ DeleteServiceNetworkServiceAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_DeleteServiceNetworkVpcAssociation.go.snap b/service/vpclattice/snapshot/api_op_DeleteServiceNetworkVpcAssociation.go.snap index f5754e212d0..bb70b9fe600 100644 --- a/service/vpclattice/snapshot/api_op_DeleteServiceNetworkVpcAssociation.go.snap +++ b/service/vpclattice/snapshot/api_op_DeleteServiceNetworkVpcAssociation.go.snap @@ -14,7 +14,6 @@ DeleteServiceNetworkVpcAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_DeleteTargetGroup.go.snap b/service/vpclattice/snapshot/api_op_DeleteTargetGroup.go.snap index 5f296322b29..1cbac9bdd61 100644 --- a/service/vpclattice/snapshot/api_op_DeleteTargetGroup.go.snap +++ b/service/vpclattice/snapshot/api_op_DeleteTargetGroup.go.snap @@ -14,7 +14,6 @@ DeleteTargetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_DeregisterTargets.go.snap b/service/vpclattice/snapshot/api_op_DeregisterTargets.go.snap index 98982c5e427..8d1fbbdd30d 100644 --- a/service/vpclattice/snapshot/api_op_DeregisterTargets.go.snap +++ b/service/vpclattice/snapshot/api_op_DeregisterTargets.go.snap @@ -14,7 +14,6 @@ DeregisterTargets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_GetAccessLogSubscription.go.snap b/service/vpclattice/snapshot/api_op_GetAccessLogSubscription.go.snap index 23ec54bbbcb..2b2722cd7ad 100644 --- a/service/vpclattice/snapshot/api_op_GetAccessLogSubscription.go.snap +++ b/service/vpclattice/snapshot/api_op_GetAccessLogSubscription.go.snap @@ -14,7 +14,6 @@ GetAccessLogSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_GetAuthPolicy.go.snap b/service/vpclattice/snapshot/api_op_GetAuthPolicy.go.snap index f507c6dc46b..73e71f85891 100644 --- a/service/vpclattice/snapshot/api_op_GetAuthPolicy.go.snap +++ b/service/vpclattice/snapshot/api_op_GetAuthPolicy.go.snap @@ -14,7 +14,6 @@ GetAuthPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_GetListener.go.snap b/service/vpclattice/snapshot/api_op_GetListener.go.snap index 9c5e1e58e4b..dcc60989680 100644 --- a/service/vpclattice/snapshot/api_op_GetListener.go.snap +++ b/service/vpclattice/snapshot/api_op_GetListener.go.snap @@ -14,7 +14,6 @@ GetListener Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_GetResourceConfiguration.go.snap b/service/vpclattice/snapshot/api_op_GetResourceConfiguration.go.snap index f275d76fa36..b7cb320434d 100644 --- a/service/vpclattice/snapshot/api_op_GetResourceConfiguration.go.snap +++ b/service/vpclattice/snapshot/api_op_GetResourceConfiguration.go.snap @@ -14,7 +14,6 @@ GetResourceConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_GetResourceGateway.go.snap b/service/vpclattice/snapshot/api_op_GetResourceGateway.go.snap index 4392dadd6f4..d6ce8b62855 100644 --- a/service/vpclattice/snapshot/api_op_GetResourceGateway.go.snap +++ b/service/vpclattice/snapshot/api_op_GetResourceGateway.go.snap @@ -14,7 +14,6 @@ GetResourceGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_GetResourcePolicy.go.snap b/service/vpclattice/snapshot/api_op_GetResourcePolicy.go.snap index e3408c09804..4b3e7d017fa 100644 --- a/service/vpclattice/snapshot/api_op_GetResourcePolicy.go.snap +++ b/service/vpclattice/snapshot/api_op_GetResourcePolicy.go.snap @@ -14,7 +14,6 @@ GetResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_GetRule.go.snap b/service/vpclattice/snapshot/api_op_GetRule.go.snap index 6752a7a08cc..6baf28ba349 100644 --- a/service/vpclattice/snapshot/api_op_GetRule.go.snap +++ b/service/vpclattice/snapshot/api_op_GetRule.go.snap @@ -14,7 +14,6 @@ GetRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_GetService.go.snap b/service/vpclattice/snapshot/api_op_GetService.go.snap index c5e405f61cb..aad7d0d939e 100644 --- a/service/vpclattice/snapshot/api_op_GetService.go.snap +++ b/service/vpclattice/snapshot/api_op_GetService.go.snap @@ -14,7 +14,6 @@ GetService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_GetServiceNetwork.go.snap b/service/vpclattice/snapshot/api_op_GetServiceNetwork.go.snap index 2a6140638a5..0d732c8aad1 100644 --- a/service/vpclattice/snapshot/api_op_GetServiceNetwork.go.snap +++ b/service/vpclattice/snapshot/api_op_GetServiceNetwork.go.snap @@ -14,7 +14,6 @@ GetServiceNetwork Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_GetServiceNetworkResourceAssociation.go.snap b/service/vpclattice/snapshot/api_op_GetServiceNetworkResourceAssociation.go.snap index abe2e9de662..49d7b43e3a1 100644 --- a/service/vpclattice/snapshot/api_op_GetServiceNetworkResourceAssociation.go.snap +++ b/service/vpclattice/snapshot/api_op_GetServiceNetworkResourceAssociation.go.snap @@ -14,7 +14,6 @@ GetServiceNetworkResourceAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_GetServiceNetworkServiceAssociation.go.snap b/service/vpclattice/snapshot/api_op_GetServiceNetworkServiceAssociation.go.snap index 1077b68fc74..6e12af1e139 100644 --- a/service/vpclattice/snapshot/api_op_GetServiceNetworkServiceAssociation.go.snap +++ b/service/vpclattice/snapshot/api_op_GetServiceNetworkServiceAssociation.go.snap @@ -14,7 +14,6 @@ GetServiceNetworkServiceAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_GetServiceNetworkVpcAssociation.go.snap b/service/vpclattice/snapshot/api_op_GetServiceNetworkVpcAssociation.go.snap index b65de356e98..6f10d6d8d28 100644 --- a/service/vpclattice/snapshot/api_op_GetServiceNetworkVpcAssociation.go.snap +++ b/service/vpclattice/snapshot/api_op_GetServiceNetworkVpcAssociation.go.snap @@ -14,7 +14,6 @@ GetServiceNetworkVpcAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_GetTargetGroup.go.snap b/service/vpclattice/snapshot/api_op_GetTargetGroup.go.snap index 3d61c717fe6..b345b841a33 100644 --- a/service/vpclattice/snapshot/api_op_GetTargetGroup.go.snap +++ b/service/vpclattice/snapshot/api_op_GetTargetGroup.go.snap @@ -14,7 +14,6 @@ GetTargetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_ListAccessLogSubscriptions.go.snap b/service/vpclattice/snapshot/api_op_ListAccessLogSubscriptions.go.snap index be8dc644eba..944739a8d6d 100644 --- a/service/vpclattice/snapshot/api_op_ListAccessLogSubscriptions.go.snap +++ b/service/vpclattice/snapshot/api_op_ListAccessLogSubscriptions.go.snap @@ -14,7 +14,6 @@ ListAccessLogSubscriptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_ListListeners.go.snap b/service/vpclattice/snapshot/api_op_ListListeners.go.snap index 354869a188a..2db9b2e373d 100644 --- a/service/vpclattice/snapshot/api_op_ListListeners.go.snap +++ b/service/vpclattice/snapshot/api_op_ListListeners.go.snap @@ -14,7 +14,6 @@ ListListeners Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_ListResourceConfigurations.go.snap b/service/vpclattice/snapshot/api_op_ListResourceConfigurations.go.snap index 7ea422d19e1..7bc61ad6b49 100644 --- a/service/vpclattice/snapshot/api_op_ListResourceConfigurations.go.snap +++ b/service/vpclattice/snapshot/api_op_ListResourceConfigurations.go.snap @@ -13,7 +13,6 @@ ListResourceConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_ListResourceEndpointAssociations.go.snap b/service/vpclattice/snapshot/api_op_ListResourceEndpointAssociations.go.snap index 58e49185f2f..9b231c03e97 100644 --- a/service/vpclattice/snapshot/api_op_ListResourceEndpointAssociations.go.snap +++ b/service/vpclattice/snapshot/api_op_ListResourceEndpointAssociations.go.snap @@ -14,7 +14,6 @@ ListResourceEndpointAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_ListResourceGateways.go.snap b/service/vpclattice/snapshot/api_op_ListResourceGateways.go.snap index db46dda7b12..0ae7b57ba56 100644 --- a/service/vpclattice/snapshot/api_op_ListResourceGateways.go.snap +++ b/service/vpclattice/snapshot/api_op_ListResourceGateways.go.snap @@ -13,7 +13,6 @@ ListResourceGateways Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_ListRules.go.snap b/service/vpclattice/snapshot/api_op_ListRules.go.snap index fbd62b15a4f..0e39687c8a2 100644 --- a/service/vpclattice/snapshot/api_op_ListRules.go.snap +++ b/service/vpclattice/snapshot/api_op_ListRules.go.snap @@ -14,7 +14,6 @@ ListRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_ListServiceNetworkResourceAssociations.go.snap b/service/vpclattice/snapshot/api_op_ListServiceNetworkResourceAssociations.go.snap index 9903dd57641..87a1e7b2907 100644 --- a/service/vpclattice/snapshot/api_op_ListServiceNetworkResourceAssociations.go.snap +++ b/service/vpclattice/snapshot/api_op_ListServiceNetworkResourceAssociations.go.snap @@ -13,7 +13,6 @@ ListServiceNetworkResourceAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_ListServiceNetworkServiceAssociations.go.snap b/service/vpclattice/snapshot/api_op_ListServiceNetworkServiceAssociations.go.snap index a0c3543abf7..bfb6fa951dc 100644 --- a/service/vpclattice/snapshot/api_op_ListServiceNetworkServiceAssociations.go.snap +++ b/service/vpclattice/snapshot/api_op_ListServiceNetworkServiceAssociations.go.snap @@ -13,7 +13,6 @@ ListServiceNetworkServiceAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_ListServiceNetworkVpcAssociations.go.snap b/service/vpclattice/snapshot/api_op_ListServiceNetworkVpcAssociations.go.snap index 9ed8b3275b6..275fb21d01c 100644 --- a/service/vpclattice/snapshot/api_op_ListServiceNetworkVpcAssociations.go.snap +++ b/service/vpclattice/snapshot/api_op_ListServiceNetworkVpcAssociations.go.snap @@ -13,7 +13,6 @@ ListServiceNetworkVpcAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_ListServiceNetworkVpcEndpointAssociations.go.snap b/service/vpclattice/snapshot/api_op_ListServiceNetworkVpcEndpointAssociations.go.snap index 3fecf56ef87..432b5aeff26 100644 --- a/service/vpclattice/snapshot/api_op_ListServiceNetworkVpcEndpointAssociations.go.snap +++ b/service/vpclattice/snapshot/api_op_ListServiceNetworkVpcEndpointAssociations.go.snap @@ -14,7 +14,6 @@ ListServiceNetworkVpcEndpointAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_ListServiceNetworks.go.snap b/service/vpclattice/snapshot/api_op_ListServiceNetworks.go.snap index 9245e57f332..bc2cfa1811b 100644 --- a/service/vpclattice/snapshot/api_op_ListServiceNetworks.go.snap +++ b/service/vpclattice/snapshot/api_op_ListServiceNetworks.go.snap @@ -13,7 +13,6 @@ ListServiceNetworks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_ListServices.go.snap b/service/vpclattice/snapshot/api_op_ListServices.go.snap index 6f09c01d3f4..3cc1a93f1f2 100644 --- a/service/vpclattice/snapshot/api_op_ListServices.go.snap +++ b/service/vpclattice/snapshot/api_op_ListServices.go.snap @@ -13,7 +13,6 @@ ListServices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_ListTagsForResource.go.snap b/service/vpclattice/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/vpclattice/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/vpclattice/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_ListTargetGroups.go.snap b/service/vpclattice/snapshot/api_op_ListTargetGroups.go.snap index e9880ebb205..3a7e5ce0603 100644 --- a/service/vpclattice/snapshot/api_op_ListTargetGroups.go.snap +++ b/service/vpclattice/snapshot/api_op_ListTargetGroups.go.snap @@ -13,7 +13,6 @@ ListTargetGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_ListTargets.go.snap b/service/vpclattice/snapshot/api_op_ListTargets.go.snap index 6da37c8d2db..0db5488e518 100644 --- a/service/vpclattice/snapshot/api_op_ListTargets.go.snap +++ b/service/vpclattice/snapshot/api_op_ListTargets.go.snap @@ -14,7 +14,6 @@ ListTargets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_PutAuthPolicy.go.snap b/service/vpclattice/snapshot/api_op_PutAuthPolicy.go.snap index 497b5181ceb..f537f82c5e6 100644 --- a/service/vpclattice/snapshot/api_op_PutAuthPolicy.go.snap +++ b/service/vpclattice/snapshot/api_op_PutAuthPolicy.go.snap @@ -14,7 +14,6 @@ PutAuthPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_PutResourcePolicy.go.snap b/service/vpclattice/snapshot/api_op_PutResourcePolicy.go.snap index 30530b1514f..47bad3fad0e 100644 --- a/service/vpclattice/snapshot/api_op_PutResourcePolicy.go.snap +++ b/service/vpclattice/snapshot/api_op_PutResourcePolicy.go.snap @@ -14,7 +14,6 @@ PutResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_RegisterTargets.go.snap b/service/vpclattice/snapshot/api_op_RegisterTargets.go.snap index 4083e3dd856..6437515f8c4 100644 --- a/service/vpclattice/snapshot/api_op_RegisterTargets.go.snap +++ b/service/vpclattice/snapshot/api_op_RegisterTargets.go.snap @@ -14,7 +14,6 @@ RegisterTargets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_TagResource.go.snap b/service/vpclattice/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/vpclattice/snapshot/api_op_TagResource.go.snap +++ b/service/vpclattice/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_UntagResource.go.snap b/service/vpclattice/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/vpclattice/snapshot/api_op_UntagResource.go.snap +++ b/service/vpclattice/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_UpdateAccessLogSubscription.go.snap b/service/vpclattice/snapshot/api_op_UpdateAccessLogSubscription.go.snap index 1781858ad35..b838a38098c 100644 --- a/service/vpclattice/snapshot/api_op_UpdateAccessLogSubscription.go.snap +++ b/service/vpclattice/snapshot/api_op_UpdateAccessLogSubscription.go.snap @@ -14,7 +14,6 @@ UpdateAccessLogSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_UpdateListener.go.snap b/service/vpclattice/snapshot/api_op_UpdateListener.go.snap index 9be2d8f092c..a25ea5365dc 100644 --- a/service/vpclattice/snapshot/api_op_UpdateListener.go.snap +++ b/service/vpclattice/snapshot/api_op_UpdateListener.go.snap @@ -14,7 +14,6 @@ UpdateListener Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_UpdateResourceConfiguration.go.snap b/service/vpclattice/snapshot/api_op_UpdateResourceConfiguration.go.snap index 453acc9e3f4..2ba119a2c04 100644 --- a/service/vpclattice/snapshot/api_op_UpdateResourceConfiguration.go.snap +++ b/service/vpclattice/snapshot/api_op_UpdateResourceConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateResourceConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_UpdateResourceGateway.go.snap b/service/vpclattice/snapshot/api_op_UpdateResourceGateway.go.snap index 6d90b33e268..78079317f5f 100644 --- a/service/vpclattice/snapshot/api_op_UpdateResourceGateway.go.snap +++ b/service/vpclattice/snapshot/api_op_UpdateResourceGateway.go.snap @@ -14,7 +14,6 @@ UpdateResourceGateway Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_UpdateRule.go.snap b/service/vpclattice/snapshot/api_op_UpdateRule.go.snap index 4eccda0001c..fb285fb40de 100644 --- a/service/vpclattice/snapshot/api_op_UpdateRule.go.snap +++ b/service/vpclattice/snapshot/api_op_UpdateRule.go.snap @@ -14,7 +14,6 @@ UpdateRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_UpdateService.go.snap b/service/vpclattice/snapshot/api_op_UpdateService.go.snap index 813a9e72802..bf0abbe4b1a 100644 --- a/service/vpclattice/snapshot/api_op_UpdateService.go.snap +++ b/service/vpclattice/snapshot/api_op_UpdateService.go.snap @@ -14,7 +14,6 @@ UpdateService Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_UpdateServiceNetwork.go.snap b/service/vpclattice/snapshot/api_op_UpdateServiceNetwork.go.snap index 3bd25167f15..36d293f6221 100644 --- a/service/vpclattice/snapshot/api_op_UpdateServiceNetwork.go.snap +++ b/service/vpclattice/snapshot/api_op_UpdateServiceNetwork.go.snap @@ -14,7 +14,6 @@ UpdateServiceNetwork Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_UpdateServiceNetworkVpcAssociation.go.snap b/service/vpclattice/snapshot/api_op_UpdateServiceNetworkVpcAssociation.go.snap index 358ef673d21..f2cb99560a4 100644 --- a/service/vpclattice/snapshot/api_op_UpdateServiceNetworkVpcAssociation.go.snap +++ b/service/vpclattice/snapshot/api_op_UpdateServiceNetworkVpcAssociation.go.snap @@ -14,7 +14,6 @@ UpdateServiceNetworkVpcAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/vpclattice/snapshot/api_op_UpdateTargetGroup.go.snap b/service/vpclattice/snapshot/api_op_UpdateTargetGroup.go.snap index 82feeb55144..15867be6a72 100644 --- a/service/vpclattice/snapshot/api_op_UpdateTargetGroup.go.snap +++ b/service/vpclattice/snapshot/api_op_UpdateTargetGroup.go.snap @@ -14,7 +14,6 @@ UpdateTargetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/api_client.go b/service/waf/api_client.go index 67804a6e469..104852276c0 100644 --- a/service/waf/api_client.go +++ b/service/waf/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/waf/api_op_CreateByteMatchSet.go b/service/waf/api_op_CreateByteMatchSet.go index a7ce377ce5f..a521eb8ac92 100644 --- a/service/waf/api_op_CreateByteMatchSet.go +++ b/service/waf/api_op_CreateByteMatchSet.go @@ -154,9 +154,6 @@ func (c *Client) addOperationCreateByteMatchSetMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateByteMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_CreateGeoMatchSet.go b/service/waf/api_op_CreateGeoMatchSet.go index 0ed9d82ba07..d22bc8ecdb6 100644 --- a/service/waf/api_op_CreateGeoMatchSet.go +++ b/service/waf/api_op_CreateGeoMatchSet.go @@ -154,9 +154,6 @@ func (c *Client) addOperationCreateGeoMatchSetMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGeoMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_CreateIPSet.go b/service/waf/api_op_CreateIPSet.go index 13b9682e9ed..f62d5c86169 100644 --- a/service/waf/api_op_CreateIPSet.go +++ b/service/waf/api_op_CreateIPSet.go @@ -153,9 +153,6 @@ func (c *Client) addOperationCreateIPSetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateIPSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_CreateRateBasedRule.go b/service/waf/api_op_CreateRateBasedRule.go index d78906cbddd..0c879fdcba7 100644 --- a/service/waf/api_op_CreateRateBasedRule.go +++ b/service/waf/api_op_CreateRateBasedRule.go @@ -222,9 +222,6 @@ func (c *Client) addOperationCreateRateBasedRuleMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRateBasedRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_CreateRegexMatchSet.go b/service/waf/api_op_CreateRegexMatchSet.go index b4b7596489d..d08a9068aeb 100644 --- a/service/waf/api_op_CreateRegexMatchSet.go +++ b/service/waf/api_op_CreateRegexMatchSet.go @@ -155,9 +155,6 @@ func (c *Client) addOperationCreateRegexMatchSetMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRegexMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_CreateRegexPatternSet.go b/service/waf/api_op_CreateRegexPatternSet.go index 3c73c40df47..e282c07d99a 100644 --- a/service/waf/api_op_CreateRegexPatternSet.go +++ b/service/waf/api_op_CreateRegexPatternSet.go @@ -150,9 +150,6 @@ func (c *Client) addOperationCreateRegexPatternSetMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRegexPatternSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_CreateRule.go b/service/waf/api_op_CreateRule.go index 2a21f9272d5..d8e1003114f 100644 --- a/service/waf/api_op_CreateRule.go +++ b/service/waf/api_op_CreateRule.go @@ -179,9 +179,6 @@ func (c *Client) addOperationCreateRuleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_CreateRuleGroup.go b/service/waf/api_op_CreateRuleGroup.go index b803cd6d2f5..8e7ec2c559f 100644 --- a/service/waf/api_op_CreateRuleGroup.go +++ b/service/waf/api_op_CreateRuleGroup.go @@ -158,9 +158,6 @@ func (c *Client) addOperationCreateRuleGroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRuleGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_CreateSizeConstraintSet.go b/service/waf/api_op_CreateSizeConstraintSet.go index bbdbf4a60da..f2633721c73 100644 --- a/service/waf/api_op_CreateSizeConstraintSet.go +++ b/service/waf/api_op_CreateSizeConstraintSet.go @@ -154,9 +154,6 @@ func (c *Client) addOperationCreateSizeConstraintSetMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSizeConstraintSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_CreateSqlInjectionMatchSet.go b/service/waf/api_op_CreateSqlInjectionMatchSet.go index ad8f6e0f40e..95964cc39c8 100644 --- a/service/waf/api_op_CreateSqlInjectionMatchSet.go +++ b/service/waf/api_op_CreateSqlInjectionMatchSet.go @@ -153,9 +153,6 @@ func (c *Client) addOperationCreateSqlInjectionMatchSetMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSqlInjectionMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_CreateWebACL.go b/service/waf/api_op_CreateWebACL.go index 34fae7ce423..335beb9e4e2 100644 --- a/service/waf/api_op_CreateWebACL.go +++ b/service/waf/api_op_CreateWebACL.go @@ -179,9 +179,6 @@ func (c *Client) addOperationCreateWebACLMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateWebACLValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_CreateWebACLMigrationStack.go b/service/waf/api_op_CreateWebACLMigrationStack.go index a33196a3130..4c8018e2c88 100644 --- a/service/waf/api_op_CreateWebACLMigrationStack.go +++ b/service/waf/api_op_CreateWebACLMigrationStack.go @@ -148,9 +148,6 @@ func (c *Client) addOperationCreateWebACLMigrationStackMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateWebACLMigrationStackValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_CreateXssMatchSet.go b/service/waf/api_op_CreateXssMatchSet.go index bdee8b5f0be..7d4816821ab 100644 --- a/service/waf/api_op_CreateXssMatchSet.go +++ b/service/waf/api_op_CreateXssMatchSet.go @@ -153,9 +153,6 @@ func (c *Client) addOperationCreateXssMatchSetMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateXssMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_DeleteByteMatchSet.go b/service/waf/api_op_DeleteByteMatchSet.go index d9c346f2685..9a506da9138 100644 --- a/service/waf/api_op_DeleteByteMatchSet.go +++ b/service/waf/api_op_DeleteByteMatchSet.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDeleteByteMatchSetMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteByteMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_DeleteGeoMatchSet.go b/service/waf/api_op_DeleteGeoMatchSet.go index ae7b6ef9015..d1e325bbf4d 100644 --- a/service/waf/api_op_DeleteGeoMatchSet.go +++ b/service/waf/api_op_DeleteGeoMatchSet.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDeleteGeoMatchSetMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGeoMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_DeleteIPSet.go b/service/waf/api_op_DeleteIPSet.go index 7a7faa30eb8..5ab3cccbe59 100644 --- a/service/waf/api_op_DeleteIPSet.go +++ b/service/waf/api_op_DeleteIPSet.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDeleteIPSetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIPSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_DeleteLoggingConfiguration.go b/service/waf/api_op_DeleteLoggingConfiguration.go index 9ddd5a6df16..a93b7d6e6f1 100644 --- a/service/waf/api_op_DeleteLoggingConfiguration.go +++ b/service/waf/api_op_DeleteLoggingConfiguration.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteLoggingConfigurationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLoggingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_DeletePermissionPolicy.go b/service/waf/api_op_DeletePermissionPolicy.go index 29f461cf754..8b956a80a58 100644 --- a/service/waf/api_op_DeletePermissionPolicy.go +++ b/service/waf/api_op_DeletePermissionPolicy.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeletePermissionPolicyMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePermissionPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_DeleteRateBasedRule.go b/service/waf/api_op_DeleteRateBasedRule.go index 6ba70522bca..ba2caab343e 100644 --- a/service/waf/api_op_DeleteRateBasedRule.go +++ b/service/waf/api_op_DeleteRateBasedRule.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDeleteRateBasedRuleMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRateBasedRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_DeleteRegexMatchSet.go b/service/waf/api_op_DeleteRegexMatchSet.go index f4de3c9fc1a..3a52beda66d 100644 --- a/service/waf/api_op_DeleteRegexMatchSet.go +++ b/service/waf/api_op_DeleteRegexMatchSet.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDeleteRegexMatchSetMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRegexMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_DeleteRegexPatternSet.go b/service/waf/api_op_DeleteRegexPatternSet.go index c90cd22022a..0a6b6c95f08 100644 --- a/service/waf/api_op_DeleteRegexPatternSet.go +++ b/service/waf/api_op_DeleteRegexPatternSet.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDeleteRegexPatternSetMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRegexPatternSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_DeleteRule.go b/service/waf/api_op_DeleteRule.go index 6748c868f05..97a344a7bb9 100644 --- a/service/waf/api_op_DeleteRule.go +++ b/service/waf/api_op_DeleteRule.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDeleteRuleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_DeleteRuleGroup.go b/service/waf/api_op_DeleteRuleGroup.go index 66fcda50886..6b468f77848 100644 --- a/service/waf/api_op_DeleteRuleGroup.go +++ b/service/waf/api_op_DeleteRuleGroup.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDeleteRuleGroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRuleGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_DeleteSizeConstraintSet.go b/service/waf/api_op_DeleteSizeConstraintSet.go index 0c231fdfa02..113fe37e8ee 100644 --- a/service/waf/api_op_DeleteSizeConstraintSet.go +++ b/service/waf/api_op_DeleteSizeConstraintSet.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDeleteSizeConstraintSetMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSizeConstraintSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_DeleteSqlInjectionMatchSet.go b/service/waf/api_op_DeleteSqlInjectionMatchSet.go index 94171fd147b..0ef8724642c 100644 --- a/service/waf/api_op_DeleteSqlInjectionMatchSet.go +++ b/service/waf/api_op_DeleteSqlInjectionMatchSet.go @@ -145,9 +145,6 @@ func (c *Client) addOperationDeleteSqlInjectionMatchSetMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSqlInjectionMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_DeleteWebACL.go b/service/waf/api_op_DeleteWebACL.go index 261e8319bd4..56bb53d0a0d 100644 --- a/service/waf/api_op_DeleteWebACL.go +++ b/service/waf/api_op_DeleteWebACL.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDeleteWebACLMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWebACLValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_DeleteXssMatchSet.go b/service/waf/api_op_DeleteXssMatchSet.go index 0fe2362f39f..a80086e3e14 100644 --- a/service/waf/api_op_DeleteXssMatchSet.go +++ b/service/waf/api_op_DeleteXssMatchSet.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDeleteXssMatchSetMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteXssMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetByteMatchSet.go b/service/waf/api_op_GetByteMatchSet.go index b5cb5d49ba3..89eec9644b5 100644 --- a/service/waf/api_op_GetByteMatchSet.go +++ b/service/waf/api_op_GetByteMatchSet.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetByteMatchSetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetByteMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetChangeToken.go b/service/waf/api_op_GetChangeToken.go index ba51b8cca14..f35f4952bdf 100644 --- a/service/waf/api_op_GetChangeToken.go +++ b/service/waf/api_op_GetChangeToken.go @@ -130,9 +130,6 @@ func (c *Client) addOperationGetChangeTokenMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetChangeToken(options.Region), middleware.Before); err != nil { return err } diff --git a/service/waf/api_op_GetChangeTokenStatus.go b/service/waf/api_op_GetChangeTokenStatus.go index ee3ed1611bb..80b6d54757a 100644 --- a/service/waf/api_op_GetChangeTokenStatus.go +++ b/service/waf/api_op_GetChangeTokenStatus.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetChangeTokenStatusMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetChangeTokenStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetGeoMatchSet.go b/service/waf/api_op_GetGeoMatchSet.go index 66dfb0b87bf..b63de6eeaaa 100644 --- a/service/waf/api_op_GetGeoMatchSet.go +++ b/service/waf/api_op_GetGeoMatchSet.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetGeoMatchSetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetGeoMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetIPSet.go b/service/waf/api_op_GetIPSet.go index 4797382676e..7e41609d804 100644 --- a/service/waf/api_op_GetIPSet.go +++ b/service/waf/api_op_GetIPSet.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGetIPSetMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIPSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetLoggingConfiguration.go b/service/waf/api_op_GetLoggingConfiguration.go index e66ed31c495..46a9267d307 100644 --- a/service/waf/api_op_GetLoggingConfiguration.go +++ b/service/waf/api_op_GetLoggingConfiguration.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetLoggingConfigurationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLoggingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetPermissionPolicy.go b/service/waf/api_op_GetPermissionPolicy.go index 53f1e4bedf6..5ae6e21267b 100644 --- a/service/waf/api_op_GetPermissionPolicy.go +++ b/service/waf/api_op_GetPermissionPolicy.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetPermissionPolicyMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPermissionPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetRateBasedRule.go b/service/waf/api_op_GetRateBasedRule.go index a6986cbf024..b888051d5ba 100644 --- a/service/waf/api_op_GetRateBasedRule.go +++ b/service/waf/api_op_GetRateBasedRule.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetRateBasedRuleMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRateBasedRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetRateBasedRuleManagedKeys.go b/service/waf/api_op_GetRateBasedRuleManagedKeys.go index 1f570fdafea..d8cd9af371d 100644 --- a/service/waf/api_op_GetRateBasedRuleManagedKeys.go +++ b/service/waf/api_op_GetRateBasedRuleManagedKeys.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetRateBasedRuleManagedKeysMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRateBasedRuleManagedKeysValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetRegexMatchSet.go b/service/waf/api_op_GetRegexMatchSet.go index 71af10391f6..32a7296fd09 100644 --- a/service/waf/api_op_GetRegexMatchSet.go +++ b/service/waf/api_op_GetRegexMatchSet.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetRegexMatchSetMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRegexMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetRegexPatternSet.go b/service/waf/api_op_GetRegexPatternSet.go index 1d9721574cc..869dd8ff932 100644 --- a/service/waf/api_op_GetRegexPatternSet.go +++ b/service/waf/api_op_GetRegexPatternSet.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetRegexPatternSetMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRegexPatternSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetRule.go b/service/waf/api_op_GetRule.go index 5a6ffb759cf..b3ece7507f7 100644 --- a/service/waf/api_op_GetRule.go +++ b/service/waf/api_op_GetRule.go @@ -130,9 +130,6 @@ func (c *Client) addOperationGetRuleMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetRuleGroup.go b/service/waf/api_op_GetRuleGroup.go index a61f6608ba0..72d466fef4e 100644 --- a/service/waf/api_op_GetRuleGroup.go +++ b/service/waf/api_op_GetRuleGroup.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetRuleGroupMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRuleGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetSampledRequests.go b/service/waf/api_op_GetSampledRequests.go index 63e0c6abba3..1743098eb92 100644 --- a/service/waf/api_op_GetSampledRequests.go +++ b/service/waf/api_op_GetSampledRequests.go @@ -174,9 +174,6 @@ func (c *Client) addOperationGetSampledRequestsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSampledRequestsValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetSizeConstraintSet.go b/service/waf/api_op_GetSizeConstraintSet.go index b5d5a9d17dc..9ceaa3749a5 100644 --- a/service/waf/api_op_GetSizeConstraintSet.go +++ b/service/waf/api_op_GetSizeConstraintSet.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetSizeConstraintSetMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSizeConstraintSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetSqlInjectionMatchSet.go b/service/waf/api_op_GetSqlInjectionMatchSet.go index cc1bcc2dd0a..24462b97dc1 100644 --- a/service/waf/api_op_GetSqlInjectionMatchSet.go +++ b/service/waf/api_op_GetSqlInjectionMatchSet.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGetSqlInjectionMatchSetMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSqlInjectionMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetWebACL.go b/service/waf/api_op_GetWebACL.go index 6b7a06541f1..b356b943b51 100644 --- a/service/waf/api_op_GetWebACL.go +++ b/service/waf/api_op_GetWebACL.go @@ -134,9 +134,6 @@ func (c *Client) addOperationGetWebACLMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWebACLValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_GetXssMatchSet.go b/service/waf/api_op_GetXssMatchSet.go index 90c41dd35ac..3164683240e 100644 --- a/service/waf/api_op_GetXssMatchSet.go +++ b/service/waf/api_op_GetXssMatchSet.go @@ -135,9 +135,6 @@ func (c *Client) addOperationGetXssMatchSetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetXssMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_ListActivatedRulesInRuleGroup.go b/service/waf/api_op_ListActivatedRulesInRuleGroup.go index 8b5bd50ba7f..25ae2c63507 100644 --- a/service/waf/api_op_ListActivatedRulesInRuleGroup.go +++ b/service/waf/api_op_ListActivatedRulesInRuleGroup.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListActivatedRulesInRuleGroupMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListActivatedRulesInRuleGroup(options.Region), middleware.Before); err != nil { return err } diff --git a/service/waf/api_op_ListByteMatchSets.go b/service/waf/api_op_ListByteMatchSets.go index abba45e5b44..891fdb1efa7 100644 --- a/service/waf/api_op_ListByteMatchSets.go +++ b/service/waf/api_op_ListByteMatchSets.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListByteMatchSetsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListByteMatchSets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/waf/api_op_ListGeoMatchSets.go b/service/waf/api_op_ListGeoMatchSets.go index 7310cb1337f..6dab5d2af73 100644 --- a/service/waf/api_op_ListGeoMatchSets.go +++ b/service/waf/api_op_ListGeoMatchSets.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListGeoMatchSetsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGeoMatchSets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/waf/api_op_ListIPSets.go b/service/waf/api_op_ListIPSets.go index 2f941c8f448..125bcc66b51 100644 --- a/service/waf/api_op_ListIPSets.go +++ b/service/waf/api_op_ListIPSets.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListIPSetsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIPSets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/waf/api_op_ListLoggingConfigurations.go b/service/waf/api_op_ListLoggingConfigurations.go index 716d5cb86c1..1481c399c8f 100644 --- a/service/waf/api_op_ListLoggingConfigurations.go +++ b/service/waf/api_op_ListLoggingConfigurations.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListLoggingConfigurationsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLoggingConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/waf/api_op_ListRateBasedRules.go b/service/waf/api_op_ListRateBasedRules.go index 44b837e66cf..787f8c7144b 100644 --- a/service/waf/api_op_ListRateBasedRules.go +++ b/service/waf/api_op_ListRateBasedRules.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListRateBasedRulesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRateBasedRules(options.Region), middleware.Before); err != nil { return err } diff --git a/service/waf/api_op_ListRegexMatchSets.go b/service/waf/api_op_ListRegexMatchSets.go index b3c1a284b16..f08648f607b 100644 --- a/service/waf/api_op_ListRegexMatchSets.go +++ b/service/waf/api_op_ListRegexMatchSets.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListRegexMatchSetsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRegexMatchSets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/waf/api_op_ListRegexPatternSets.go b/service/waf/api_op_ListRegexPatternSets.go index 5d26dc949cd..08078f6b083 100644 --- a/service/waf/api_op_ListRegexPatternSets.go +++ b/service/waf/api_op_ListRegexPatternSets.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListRegexPatternSetsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRegexPatternSets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/waf/api_op_ListRuleGroups.go b/service/waf/api_op_ListRuleGroups.go index b2deb998095..86265c250dc 100644 --- a/service/waf/api_op_ListRuleGroups.go +++ b/service/waf/api_op_ListRuleGroups.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListRuleGroupsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRuleGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/waf/api_op_ListRules.go b/service/waf/api_op_ListRules.go index 319981fd3af..236a558656b 100644 --- a/service/waf/api_op_ListRules.go +++ b/service/waf/api_op_ListRules.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListRulesMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRules(options.Region), middleware.Before); err != nil { return err } diff --git a/service/waf/api_op_ListSizeConstraintSets.go b/service/waf/api_op_ListSizeConstraintSets.go index a64ec76532b..7fa4ae5a2e2 100644 --- a/service/waf/api_op_ListSizeConstraintSets.go +++ b/service/waf/api_op_ListSizeConstraintSets.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListSizeConstraintSetsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSizeConstraintSets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/waf/api_op_ListSqlInjectionMatchSets.go b/service/waf/api_op_ListSqlInjectionMatchSets.go index d30292108f6..32980863ad1 100644 --- a/service/waf/api_op_ListSqlInjectionMatchSets.go +++ b/service/waf/api_op_ListSqlInjectionMatchSets.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListSqlInjectionMatchSetsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSqlInjectionMatchSets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/waf/api_op_ListSubscribedRuleGroups.go b/service/waf/api_op_ListSubscribedRuleGroups.go index f1f547e89cb..13b344cd132 100644 --- a/service/waf/api_op_ListSubscribedRuleGroups.go +++ b/service/waf/api_op_ListSubscribedRuleGroups.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListSubscribedRuleGroupsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSubscribedRuleGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/waf/api_op_ListTagsForResource.go b/service/waf/api_op_ListTagsForResource.go index 8e1b4f4a7a5..f0e82d86ee0 100644 --- a/service/waf/api_op_ListTagsForResource.go +++ b/service/waf/api_op_ListTagsForResource.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_ListWebACLs.go b/service/waf/api_op_ListWebACLs.go index 0eda893fd3d..34baad8b1f8 100644 --- a/service/waf/api_op_ListWebACLs.go +++ b/service/waf/api_op_ListWebACLs.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListWebACLsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWebACLs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/waf/api_op_ListXssMatchSets.go b/service/waf/api_op_ListXssMatchSets.go index 18478bc197d..4982dba9b74 100644 --- a/service/waf/api_op_ListXssMatchSets.go +++ b/service/waf/api_op_ListXssMatchSets.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListXssMatchSetsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListXssMatchSets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/waf/api_op_PutLoggingConfiguration.go b/service/waf/api_op_PutLoggingConfiguration.go index 5be985a2f3f..944eb4a39cd 100644 --- a/service/waf/api_op_PutLoggingConfiguration.go +++ b/service/waf/api_op_PutLoggingConfiguration.go @@ -148,9 +148,6 @@ func (c *Client) addOperationPutLoggingConfigurationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutLoggingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_PutPermissionPolicy.go b/service/waf/api_op_PutPermissionPolicy.go index b6e36c139fc..6fdfcdf5b6d 100644 --- a/service/waf/api_op_PutPermissionPolicy.go +++ b/service/waf/api_op_PutPermissionPolicy.go @@ -150,9 +150,6 @@ func (c *Client) addOperationPutPermissionPolicyMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutPermissionPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_TagResource.go b/service/waf/api_op_TagResource.go index 4f09121c4d8..832421ed57b 100644 --- a/service/waf/api_op_TagResource.go +++ b/service/waf/api_op_TagResource.go @@ -132,9 +132,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_UntagResource.go b/service/waf/api_op_UntagResource.go index 895ab7ded4b..75b27720ef3 100644 --- a/service/waf/api_op_UntagResource.go +++ b/service/waf/api_op_UntagResource.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_UpdateByteMatchSet.go b/service/waf/api_op_UpdateByteMatchSet.go index f11aa83aafa..74414e5c101 100644 --- a/service/waf/api_op_UpdateByteMatchSet.go +++ b/service/waf/api_op_UpdateByteMatchSet.go @@ -182,9 +182,6 @@ func (c *Client) addOperationUpdateByteMatchSetMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateByteMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_UpdateGeoMatchSet.go b/service/waf/api_op_UpdateGeoMatchSet.go index 7069c433032..def8973a641 100644 --- a/service/waf/api_op_UpdateGeoMatchSet.go +++ b/service/waf/api_op_UpdateGeoMatchSet.go @@ -172,9 +172,6 @@ func (c *Client) addOperationUpdateGeoMatchSetMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateGeoMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_UpdateIPSet.go b/service/waf/api_op_UpdateIPSet.go index 83638173150..9f060a44a7f 100644 --- a/service/waf/api_op_UpdateIPSet.go +++ b/service/waf/api_op_UpdateIPSet.go @@ -193,9 +193,6 @@ func (c *Client) addOperationUpdateIPSetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateIPSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_UpdateRateBasedRule.go b/service/waf/api_op_UpdateRateBasedRule.go index bef1f6cb7d6..c04a9cdd174 100644 --- a/service/waf/api_op_UpdateRateBasedRule.go +++ b/service/waf/api_op_UpdateRateBasedRule.go @@ -178,9 +178,6 @@ func (c *Client) addOperationUpdateRateBasedRuleMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRateBasedRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_UpdateRegexMatchSet.go b/service/waf/api_op_UpdateRegexMatchSet.go index e211bab5b5b..2b5cdf0b603 100644 --- a/service/waf/api_op_UpdateRegexMatchSet.go +++ b/service/waf/api_op_UpdateRegexMatchSet.go @@ -169,9 +169,6 @@ func (c *Client) addOperationUpdateRegexMatchSetMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRegexMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_UpdateRegexPatternSet.go b/service/waf/api_op_UpdateRegexPatternSet.go index e537ca88f14..4ebe87961af 100644 --- a/service/waf/api_op_UpdateRegexPatternSet.go +++ b/service/waf/api_op_UpdateRegexPatternSet.go @@ -166,9 +166,6 @@ func (c *Client) addOperationUpdateRegexPatternSetMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRegexPatternSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_UpdateRule.go b/service/waf/api_op_UpdateRule.go index bc1e3752178..eb1ed7e0e37 100644 --- a/service/waf/api_op_UpdateRule.go +++ b/service/waf/api_op_UpdateRule.go @@ -176,9 +176,6 @@ func (c *Client) addOperationUpdateRuleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_UpdateRuleGroup.go b/service/waf/api_op_UpdateRuleGroup.go index 327263df3ab..003ca855dc5 100644 --- a/service/waf/api_op_UpdateRuleGroup.go +++ b/service/waf/api_op_UpdateRuleGroup.go @@ -165,9 +165,6 @@ func (c *Client) addOperationUpdateRuleGroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRuleGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_UpdateSizeConstraintSet.go b/service/waf/api_op_UpdateSizeConstraintSet.go index 790cab5d609..16707bb4fbb 100644 --- a/service/waf/api_op_UpdateSizeConstraintSet.go +++ b/service/waf/api_op_UpdateSizeConstraintSet.go @@ -185,9 +185,6 @@ func (c *Client) addOperationUpdateSizeConstraintSetMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSizeConstraintSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_UpdateSqlInjectionMatchSet.go b/service/waf/api_op_UpdateSqlInjectionMatchSet.go index b60a0419382..4a5d0b748d7 100644 --- a/service/waf/api_op_UpdateSqlInjectionMatchSet.go +++ b/service/waf/api_op_UpdateSqlInjectionMatchSet.go @@ -180,9 +180,6 @@ func (c *Client) addOperationUpdateSqlInjectionMatchSetMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSqlInjectionMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_UpdateWebACL.go b/service/waf/api_op_UpdateWebACL.go index 772dfa1b6f7..9370b01a6a0 100644 --- a/service/waf/api_op_UpdateWebACL.go +++ b/service/waf/api_op_UpdateWebACL.go @@ -207,9 +207,6 @@ func (c *Client) addOperationUpdateWebACLMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateWebACLValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/api_op_UpdateXssMatchSet.go b/service/waf/api_op_UpdateXssMatchSet.go index 9973bd3fe07..fdd2d5b0aec 100644 --- a/service/waf/api_op_UpdateXssMatchSet.go +++ b/service/waf/api_op_UpdateXssMatchSet.go @@ -180,9 +180,6 @@ func (c *Client) addOperationUpdateXssMatchSetMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateXssMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/waf/snapshot/api_op_CreateByteMatchSet.go.snap b/service/waf/snapshot/api_op_CreateByteMatchSet.go.snap index de01ea7cb27..30ac5b3e3b4 100644 --- a/service/waf/snapshot/api_op_CreateByteMatchSet.go.snap +++ b/service/waf/snapshot/api_op_CreateByteMatchSet.go.snap @@ -14,7 +14,6 @@ CreateByteMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_CreateGeoMatchSet.go.snap b/service/waf/snapshot/api_op_CreateGeoMatchSet.go.snap index 804b63d077f..094b03d6073 100644 --- a/service/waf/snapshot/api_op_CreateGeoMatchSet.go.snap +++ b/service/waf/snapshot/api_op_CreateGeoMatchSet.go.snap @@ -14,7 +14,6 @@ CreateGeoMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_CreateIPSet.go.snap b/service/waf/snapshot/api_op_CreateIPSet.go.snap index f98a273b10c..24d7fa93ca8 100644 --- a/service/waf/snapshot/api_op_CreateIPSet.go.snap +++ b/service/waf/snapshot/api_op_CreateIPSet.go.snap @@ -14,7 +14,6 @@ CreateIPSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_CreateRateBasedRule.go.snap b/service/waf/snapshot/api_op_CreateRateBasedRule.go.snap index 877b817e799..9f8f05126a9 100644 --- a/service/waf/snapshot/api_op_CreateRateBasedRule.go.snap +++ b/service/waf/snapshot/api_op_CreateRateBasedRule.go.snap @@ -14,7 +14,6 @@ CreateRateBasedRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_CreateRegexMatchSet.go.snap b/service/waf/snapshot/api_op_CreateRegexMatchSet.go.snap index 47c2c8f55a7..5b9e973ea9b 100644 --- a/service/waf/snapshot/api_op_CreateRegexMatchSet.go.snap +++ b/service/waf/snapshot/api_op_CreateRegexMatchSet.go.snap @@ -14,7 +14,6 @@ CreateRegexMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_CreateRegexPatternSet.go.snap b/service/waf/snapshot/api_op_CreateRegexPatternSet.go.snap index 6648b99baba..44543c4e57d 100644 --- a/service/waf/snapshot/api_op_CreateRegexPatternSet.go.snap +++ b/service/waf/snapshot/api_op_CreateRegexPatternSet.go.snap @@ -14,7 +14,6 @@ CreateRegexPatternSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_CreateRule.go.snap b/service/waf/snapshot/api_op_CreateRule.go.snap index ccb56fcbaaa..0f845aa30f2 100644 --- a/service/waf/snapshot/api_op_CreateRule.go.snap +++ b/service/waf/snapshot/api_op_CreateRule.go.snap @@ -14,7 +14,6 @@ CreateRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_CreateRuleGroup.go.snap b/service/waf/snapshot/api_op_CreateRuleGroup.go.snap index 108ec0e0bc3..8bcaa33c0da 100644 --- a/service/waf/snapshot/api_op_CreateRuleGroup.go.snap +++ b/service/waf/snapshot/api_op_CreateRuleGroup.go.snap @@ -14,7 +14,6 @@ CreateRuleGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_CreateSizeConstraintSet.go.snap b/service/waf/snapshot/api_op_CreateSizeConstraintSet.go.snap index 3c125f155a9..8fde0b67909 100644 --- a/service/waf/snapshot/api_op_CreateSizeConstraintSet.go.snap +++ b/service/waf/snapshot/api_op_CreateSizeConstraintSet.go.snap @@ -14,7 +14,6 @@ CreateSizeConstraintSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_CreateSqlInjectionMatchSet.go.snap b/service/waf/snapshot/api_op_CreateSqlInjectionMatchSet.go.snap index d8ba085bd31..efabdbdbf07 100644 --- a/service/waf/snapshot/api_op_CreateSqlInjectionMatchSet.go.snap +++ b/service/waf/snapshot/api_op_CreateSqlInjectionMatchSet.go.snap @@ -14,7 +14,6 @@ CreateSqlInjectionMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_CreateWebACL.go.snap b/service/waf/snapshot/api_op_CreateWebACL.go.snap index 13c82c885b6..99553d00f00 100644 --- a/service/waf/snapshot/api_op_CreateWebACL.go.snap +++ b/service/waf/snapshot/api_op_CreateWebACL.go.snap @@ -14,7 +14,6 @@ CreateWebACL Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_CreateWebACLMigrationStack.go.snap b/service/waf/snapshot/api_op_CreateWebACLMigrationStack.go.snap index beb6d7430c7..5771d35a31d 100644 --- a/service/waf/snapshot/api_op_CreateWebACLMigrationStack.go.snap +++ b/service/waf/snapshot/api_op_CreateWebACLMigrationStack.go.snap @@ -14,7 +14,6 @@ CreateWebACLMigrationStack Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_CreateXssMatchSet.go.snap b/service/waf/snapshot/api_op_CreateXssMatchSet.go.snap index 6498a375f89..ad2c6550350 100644 --- a/service/waf/snapshot/api_op_CreateXssMatchSet.go.snap +++ b/service/waf/snapshot/api_op_CreateXssMatchSet.go.snap @@ -14,7 +14,6 @@ CreateXssMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_DeleteByteMatchSet.go.snap b/service/waf/snapshot/api_op_DeleteByteMatchSet.go.snap index a7ad4f23d69..9b01fe1d4bf 100644 --- a/service/waf/snapshot/api_op_DeleteByteMatchSet.go.snap +++ b/service/waf/snapshot/api_op_DeleteByteMatchSet.go.snap @@ -14,7 +14,6 @@ DeleteByteMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_DeleteGeoMatchSet.go.snap b/service/waf/snapshot/api_op_DeleteGeoMatchSet.go.snap index b84b9b37e2f..c8d4b32a9a4 100644 --- a/service/waf/snapshot/api_op_DeleteGeoMatchSet.go.snap +++ b/service/waf/snapshot/api_op_DeleteGeoMatchSet.go.snap @@ -14,7 +14,6 @@ DeleteGeoMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_DeleteIPSet.go.snap b/service/waf/snapshot/api_op_DeleteIPSet.go.snap index 894b0413d99..f87125d5108 100644 --- a/service/waf/snapshot/api_op_DeleteIPSet.go.snap +++ b/service/waf/snapshot/api_op_DeleteIPSet.go.snap @@ -14,7 +14,6 @@ DeleteIPSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_DeleteLoggingConfiguration.go.snap b/service/waf/snapshot/api_op_DeleteLoggingConfiguration.go.snap index 2bd9fd0a6ec..ffacd84d1b6 100644 --- a/service/waf/snapshot/api_op_DeleteLoggingConfiguration.go.snap +++ b/service/waf/snapshot/api_op_DeleteLoggingConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteLoggingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_DeletePermissionPolicy.go.snap b/service/waf/snapshot/api_op_DeletePermissionPolicy.go.snap index 81f5b2fce03..da5694bcea6 100644 --- a/service/waf/snapshot/api_op_DeletePermissionPolicy.go.snap +++ b/service/waf/snapshot/api_op_DeletePermissionPolicy.go.snap @@ -14,7 +14,6 @@ DeletePermissionPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_DeleteRateBasedRule.go.snap b/service/waf/snapshot/api_op_DeleteRateBasedRule.go.snap index cbb9b286756..9bdc06a9014 100644 --- a/service/waf/snapshot/api_op_DeleteRateBasedRule.go.snap +++ b/service/waf/snapshot/api_op_DeleteRateBasedRule.go.snap @@ -14,7 +14,6 @@ DeleteRateBasedRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_DeleteRegexMatchSet.go.snap b/service/waf/snapshot/api_op_DeleteRegexMatchSet.go.snap index 4a930f5b762..1586fbeda14 100644 --- a/service/waf/snapshot/api_op_DeleteRegexMatchSet.go.snap +++ b/service/waf/snapshot/api_op_DeleteRegexMatchSet.go.snap @@ -14,7 +14,6 @@ DeleteRegexMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_DeleteRegexPatternSet.go.snap b/service/waf/snapshot/api_op_DeleteRegexPatternSet.go.snap index 0427a6b0572..60ad2c403d1 100644 --- a/service/waf/snapshot/api_op_DeleteRegexPatternSet.go.snap +++ b/service/waf/snapshot/api_op_DeleteRegexPatternSet.go.snap @@ -14,7 +14,6 @@ DeleteRegexPatternSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_DeleteRule.go.snap b/service/waf/snapshot/api_op_DeleteRule.go.snap index dd841287b59..a6bc8103292 100644 --- a/service/waf/snapshot/api_op_DeleteRule.go.snap +++ b/service/waf/snapshot/api_op_DeleteRule.go.snap @@ -14,7 +14,6 @@ DeleteRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_DeleteRuleGroup.go.snap b/service/waf/snapshot/api_op_DeleteRuleGroup.go.snap index 01b6c9b3359..cd8064516a5 100644 --- a/service/waf/snapshot/api_op_DeleteRuleGroup.go.snap +++ b/service/waf/snapshot/api_op_DeleteRuleGroup.go.snap @@ -14,7 +14,6 @@ DeleteRuleGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_DeleteSizeConstraintSet.go.snap b/service/waf/snapshot/api_op_DeleteSizeConstraintSet.go.snap index d20b0ceedd1..ca08a92284e 100644 --- a/service/waf/snapshot/api_op_DeleteSizeConstraintSet.go.snap +++ b/service/waf/snapshot/api_op_DeleteSizeConstraintSet.go.snap @@ -14,7 +14,6 @@ DeleteSizeConstraintSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_DeleteSqlInjectionMatchSet.go.snap b/service/waf/snapshot/api_op_DeleteSqlInjectionMatchSet.go.snap index 0f97d6122cd..5c7c0c83439 100644 --- a/service/waf/snapshot/api_op_DeleteSqlInjectionMatchSet.go.snap +++ b/service/waf/snapshot/api_op_DeleteSqlInjectionMatchSet.go.snap @@ -14,7 +14,6 @@ DeleteSqlInjectionMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_DeleteWebACL.go.snap b/service/waf/snapshot/api_op_DeleteWebACL.go.snap index e93e5e29dce..2adf9a514e1 100644 --- a/service/waf/snapshot/api_op_DeleteWebACL.go.snap +++ b/service/waf/snapshot/api_op_DeleteWebACL.go.snap @@ -14,7 +14,6 @@ DeleteWebACL Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_DeleteXssMatchSet.go.snap b/service/waf/snapshot/api_op_DeleteXssMatchSet.go.snap index 31fdcd0c82e..64e4eb8e50c 100644 --- a/service/waf/snapshot/api_op_DeleteXssMatchSet.go.snap +++ b/service/waf/snapshot/api_op_DeleteXssMatchSet.go.snap @@ -14,7 +14,6 @@ DeleteXssMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_GetByteMatchSet.go.snap b/service/waf/snapshot/api_op_GetByteMatchSet.go.snap index a63abe5624b..dae52a60687 100644 --- a/service/waf/snapshot/api_op_GetByteMatchSet.go.snap +++ b/service/waf/snapshot/api_op_GetByteMatchSet.go.snap @@ -14,7 +14,6 @@ GetByteMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_GetChangeToken.go.snap b/service/waf/snapshot/api_op_GetChangeToken.go.snap index 69f8edcabcc..e4c8bf5feeb 100644 --- a/service/waf/snapshot/api_op_GetChangeToken.go.snap +++ b/service/waf/snapshot/api_op_GetChangeToken.go.snap @@ -13,7 +13,6 @@ GetChangeToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_GetChangeTokenStatus.go.snap b/service/waf/snapshot/api_op_GetChangeTokenStatus.go.snap index 79b7f8c8180..5024e925188 100644 --- a/service/waf/snapshot/api_op_GetChangeTokenStatus.go.snap +++ b/service/waf/snapshot/api_op_GetChangeTokenStatus.go.snap @@ -14,7 +14,6 @@ GetChangeTokenStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_GetGeoMatchSet.go.snap b/service/waf/snapshot/api_op_GetGeoMatchSet.go.snap index c959336bdb8..0fdda1b814d 100644 --- a/service/waf/snapshot/api_op_GetGeoMatchSet.go.snap +++ b/service/waf/snapshot/api_op_GetGeoMatchSet.go.snap @@ -14,7 +14,6 @@ GetGeoMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_GetIPSet.go.snap b/service/waf/snapshot/api_op_GetIPSet.go.snap index 7d7db55e04b..61abc94916f 100644 --- a/service/waf/snapshot/api_op_GetIPSet.go.snap +++ b/service/waf/snapshot/api_op_GetIPSet.go.snap @@ -14,7 +14,6 @@ GetIPSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_GetLoggingConfiguration.go.snap b/service/waf/snapshot/api_op_GetLoggingConfiguration.go.snap index 608e41b7d36..52dd838fbc5 100644 --- a/service/waf/snapshot/api_op_GetLoggingConfiguration.go.snap +++ b/service/waf/snapshot/api_op_GetLoggingConfiguration.go.snap @@ -14,7 +14,6 @@ GetLoggingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_GetPermissionPolicy.go.snap b/service/waf/snapshot/api_op_GetPermissionPolicy.go.snap index a6327c13116..94352f95152 100644 --- a/service/waf/snapshot/api_op_GetPermissionPolicy.go.snap +++ b/service/waf/snapshot/api_op_GetPermissionPolicy.go.snap @@ -14,7 +14,6 @@ GetPermissionPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_GetRateBasedRule.go.snap b/service/waf/snapshot/api_op_GetRateBasedRule.go.snap index 4615398298d..02aaae23af1 100644 --- a/service/waf/snapshot/api_op_GetRateBasedRule.go.snap +++ b/service/waf/snapshot/api_op_GetRateBasedRule.go.snap @@ -14,7 +14,6 @@ GetRateBasedRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_GetRateBasedRuleManagedKeys.go.snap b/service/waf/snapshot/api_op_GetRateBasedRuleManagedKeys.go.snap index 29ccc8f48f4..4fca9d41d04 100644 --- a/service/waf/snapshot/api_op_GetRateBasedRuleManagedKeys.go.snap +++ b/service/waf/snapshot/api_op_GetRateBasedRuleManagedKeys.go.snap @@ -14,7 +14,6 @@ GetRateBasedRuleManagedKeys Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_GetRegexMatchSet.go.snap b/service/waf/snapshot/api_op_GetRegexMatchSet.go.snap index 416702eb646..740bcae1f4a 100644 --- a/service/waf/snapshot/api_op_GetRegexMatchSet.go.snap +++ b/service/waf/snapshot/api_op_GetRegexMatchSet.go.snap @@ -14,7 +14,6 @@ GetRegexMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_GetRegexPatternSet.go.snap b/service/waf/snapshot/api_op_GetRegexPatternSet.go.snap index b268242ea1a..024ba467246 100644 --- a/service/waf/snapshot/api_op_GetRegexPatternSet.go.snap +++ b/service/waf/snapshot/api_op_GetRegexPatternSet.go.snap @@ -14,7 +14,6 @@ GetRegexPatternSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_GetRule.go.snap b/service/waf/snapshot/api_op_GetRule.go.snap index 6752a7a08cc..6baf28ba349 100644 --- a/service/waf/snapshot/api_op_GetRule.go.snap +++ b/service/waf/snapshot/api_op_GetRule.go.snap @@ -14,7 +14,6 @@ GetRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_GetRuleGroup.go.snap b/service/waf/snapshot/api_op_GetRuleGroup.go.snap index 5be96f67599..a8012a0b95b 100644 --- a/service/waf/snapshot/api_op_GetRuleGroup.go.snap +++ b/service/waf/snapshot/api_op_GetRuleGroup.go.snap @@ -14,7 +14,6 @@ GetRuleGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_GetSampledRequests.go.snap b/service/waf/snapshot/api_op_GetSampledRequests.go.snap index 4dc9e3a00bc..613bb541e09 100644 --- a/service/waf/snapshot/api_op_GetSampledRequests.go.snap +++ b/service/waf/snapshot/api_op_GetSampledRequests.go.snap @@ -14,7 +14,6 @@ GetSampledRequests Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_GetSizeConstraintSet.go.snap b/service/waf/snapshot/api_op_GetSizeConstraintSet.go.snap index 854e86c96c8..751b74d4c9a 100644 --- a/service/waf/snapshot/api_op_GetSizeConstraintSet.go.snap +++ b/service/waf/snapshot/api_op_GetSizeConstraintSet.go.snap @@ -14,7 +14,6 @@ GetSizeConstraintSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_GetSqlInjectionMatchSet.go.snap b/service/waf/snapshot/api_op_GetSqlInjectionMatchSet.go.snap index 7a20bcdd391..31b60b7d545 100644 --- a/service/waf/snapshot/api_op_GetSqlInjectionMatchSet.go.snap +++ b/service/waf/snapshot/api_op_GetSqlInjectionMatchSet.go.snap @@ -14,7 +14,6 @@ GetSqlInjectionMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_GetWebACL.go.snap b/service/waf/snapshot/api_op_GetWebACL.go.snap index 389160e4238..8c306b3610b 100644 --- a/service/waf/snapshot/api_op_GetWebACL.go.snap +++ b/service/waf/snapshot/api_op_GetWebACL.go.snap @@ -14,7 +14,6 @@ GetWebACL Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_GetXssMatchSet.go.snap b/service/waf/snapshot/api_op_GetXssMatchSet.go.snap index 678cec82882..1a3f657c347 100644 --- a/service/waf/snapshot/api_op_GetXssMatchSet.go.snap +++ b/service/waf/snapshot/api_op_GetXssMatchSet.go.snap @@ -14,7 +14,6 @@ GetXssMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_ListActivatedRulesInRuleGroup.go.snap b/service/waf/snapshot/api_op_ListActivatedRulesInRuleGroup.go.snap index c682fe9527a..95dfaf4ccfd 100644 --- a/service/waf/snapshot/api_op_ListActivatedRulesInRuleGroup.go.snap +++ b/service/waf/snapshot/api_op_ListActivatedRulesInRuleGroup.go.snap @@ -13,7 +13,6 @@ ListActivatedRulesInRuleGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_ListByteMatchSets.go.snap b/service/waf/snapshot/api_op_ListByteMatchSets.go.snap index c9edf548539..8249c8af53e 100644 --- a/service/waf/snapshot/api_op_ListByteMatchSets.go.snap +++ b/service/waf/snapshot/api_op_ListByteMatchSets.go.snap @@ -13,7 +13,6 @@ ListByteMatchSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_ListGeoMatchSets.go.snap b/service/waf/snapshot/api_op_ListGeoMatchSets.go.snap index cc353d6f4c0..af1d0e0243c 100644 --- a/service/waf/snapshot/api_op_ListGeoMatchSets.go.snap +++ b/service/waf/snapshot/api_op_ListGeoMatchSets.go.snap @@ -13,7 +13,6 @@ ListGeoMatchSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_ListIPSets.go.snap b/service/waf/snapshot/api_op_ListIPSets.go.snap index d1e2df286c7..a36781a465b 100644 --- a/service/waf/snapshot/api_op_ListIPSets.go.snap +++ b/service/waf/snapshot/api_op_ListIPSets.go.snap @@ -13,7 +13,6 @@ ListIPSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_ListLoggingConfigurations.go.snap b/service/waf/snapshot/api_op_ListLoggingConfigurations.go.snap index 3f94788a012..70f394f1130 100644 --- a/service/waf/snapshot/api_op_ListLoggingConfigurations.go.snap +++ b/service/waf/snapshot/api_op_ListLoggingConfigurations.go.snap @@ -13,7 +13,6 @@ ListLoggingConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_ListRateBasedRules.go.snap b/service/waf/snapshot/api_op_ListRateBasedRules.go.snap index 9ca468ab719..ac61b9de4ad 100644 --- a/service/waf/snapshot/api_op_ListRateBasedRules.go.snap +++ b/service/waf/snapshot/api_op_ListRateBasedRules.go.snap @@ -13,7 +13,6 @@ ListRateBasedRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_ListRegexMatchSets.go.snap b/service/waf/snapshot/api_op_ListRegexMatchSets.go.snap index 16e725e949e..49080a15342 100644 --- a/service/waf/snapshot/api_op_ListRegexMatchSets.go.snap +++ b/service/waf/snapshot/api_op_ListRegexMatchSets.go.snap @@ -13,7 +13,6 @@ ListRegexMatchSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_ListRegexPatternSets.go.snap b/service/waf/snapshot/api_op_ListRegexPatternSets.go.snap index 2bef10ed572..b27834bb10c 100644 --- a/service/waf/snapshot/api_op_ListRegexPatternSets.go.snap +++ b/service/waf/snapshot/api_op_ListRegexPatternSets.go.snap @@ -13,7 +13,6 @@ ListRegexPatternSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_ListRuleGroups.go.snap b/service/waf/snapshot/api_op_ListRuleGroups.go.snap index 0d7977c95b5..ccb082203e7 100644 --- a/service/waf/snapshot/api_op_ListRuleGroups.go.snap +++ b/service/waf/snapshot/api_op_ListRuleGroups.go.snap @@ -13,7 +13,6 @@ ListRuleGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_ListRules.go.snap b/service/waf/snapshot/api_op_ListRules.go.snap index e978e5342cf..b45cb373aa6 100644 --- a/service/waf/snapshot/api_op_ListRules.go.snap +++ b/service/waf/snapshot/api_op_ListRules.go.snap @@ -13,7 +13,6 @@ ListRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_ListSizeConstraintSets.go.snap b/service/waf/snapshot/api_op_ListSizeConstraintSets.go.snap index a625bd47a7f..072ce5cd117 100644 --- a/service/waf/snapshot/api_op_ListSizeConstraintSets.go.snap +++ b/service/waf/snapshot/api_op_ListSizeConstraintSets.go.snap @@ -13,7 +13,6 @@ ListSizeConstraintSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_ListSqlInjectionMatchSets.go.snap b/service/waf/snapshot/api_op_ListSqlInjectionMatchSets.go.snap index ef5828cabbb..6c50492c2df 100644 --- a/service/waf/snapshot/api_op_ListSqlInjectionMatchSets.go.snap +++ b/service/waf/snapshot/api_op_ListSqlInjectionMatchSets.go.snap @@ -13,7 +13,6 @@ ListSqlInjectionMatchSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_ListSubscribedRuleGroups.go.snap b/service/waf/snapshot/api_op_ListSubscribedRuleGroups.go.snap index c263a6d46ed..f565a8a6c96 100644 --- a/service/waf/snapshot/api_op_ListSubscribedRuleGroups.go.snap +++ b/service/waf/snapshot/api_op_ListSubscribedRuleGroups.go.snap @@ -13,7 +13,6 @@ ListSubscribedRuleGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_ListTagsForResource.go.snap b/service/waf/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/waf/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/waf/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_ListWebACLs.go.snap b/service/waf/snapshot/api_op_ListWebACLs.go.snap index fa8b2678c8c..9aa8f16c048 100644 --- a/service/waf/snapshot/api_op_ListWebACLs.go.snap +++ b/service/waf/snapshot/api_op_ListWebACLs.go.snap @@ -13,7 +13,6 @@ ListWebACLs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_ListXssMatchSets.go.snap b/service/waf/snapshot/api_op_ListXssMatchSets.go.snap index 8979036546a..73da227e42a 100644 --- a/service/waf/snapshot/api_op_ListXssMatchSets.go.snap +++ b/service/waf/snapshot/api_op_ListXssMatchSets.go.snap @@ -13,7 +13,6 @@ ListXssMatchSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_PutLoggingConfiguration.go.snap b/service/waf/snapshot/api_op_PutLoggingConfiguration.go.snap index 61163a30c2b..9901f574864 100644 --- a/service/waf/snapshot/api_op_PutLoggingConfiguration.go.snap +++ b/service/waf/snapshot/api_op_PutLoggingConfiguration.go.snap @@ -14,7 +14,6 @@ PutLoggingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_PutPermissionPolicy.go.snap b/service/waf/snapshot/api_op_PutPermissionPolicy.go.snap index a86f017ad59..a00d87a4a0a 100644 --- a/service/waf/snapshot/api_op_PutPermissionPolicy.go.snap +++ b/service/waf/snapshot/api_op_PutPermissionPolicy.go.snap @@ -14,7 +14,6 @@ PutPermissionPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_TagResource.go.snap b/service/waf/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/waf/snapshot/api_op_TagResource.go.snap +++ b/service/waf/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_UntagResource.go.snap b/service/waf/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/waf/snapshot/api_op_UntagResource.go.snap +++ b/service/waf/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_UpdateByteMatchSet.go.snap b/service/waf/snapshot/api_op_UpdateByteMatchSet.go.snap index ccc89152e97..8314b6545f2 100644 --- a/service/waf/snapshot/api_op_UpdateByteMatchSet.go.snap +++ b/service/waf/snapshot/api_op_UpdateByteMatchSet.go.snap @@ -14,7 +14,6 @@ UpdateByteMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_UpdateGeoMatchSet.go.snap b/service/waf/snapshot/api_op_UpdateGeoMatchSet.go.snap index 61f6f48f649..a2a3817b330 100644 --- a/service/waf/snapshot/api_op_UpdateGeoMatchSet.go.snap +++ b/service/waf/snapshot/api_op_UpdateGeoMatchSet.go.snap @@ -14,7 +14,6 @@ UpdateGeoMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_UpdateIPSet.go.snap b/service/waf/snapshot/api_op_UpdateIPSet.go.snap index 618ea2450c2..7a992b562ef 100644 --- a/service/waf/snapshot/api_op_UpdateIPSet.go.snap +++ b/service/waf/snapshot/api_op_UpdateIPSet.go.snap @@ -14,7 +14,6 @@ UpdateIPSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_UpdateRateBasedRule.go.snap b/service/waf/snapshot/api_op_UpdateRateBasedRule.go.snap index b20c386024d..11ab1d8270b 100644 --- a/service/waf/snapshot/api_op_UpdateRateBasedRule.go.snap +++ b/service/waf/snapshot/api_op_UpdateRateBasedRule.go.snap @@ -14,7 +14,6 @@ UpdateRateBasedRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_UpdateRegexMatchSet.go.snap b/service/waf/snapshot/api_op_UpdateRegexMatchSet.go.snap index 90028978bd1..864bf80d27e 100644 --- a/service/waf/snapshot/api_op_UpdateRegexMatchSet.go.snap +++ b/service/waf/snapshot/api_op_UpdateRegexMatchSet.go.snap @@ -14,7 +14,6 @@ UpdateRegexMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_UpdateRegexPatternSet.go.snap b/service/waf/snapshot/api_op_UpdateRegexPatternSet.go.snap index 229bf629726..46383793ce4 100644 --- a/service/waf/snapshot/api_op_UpdateRegexPatternSet.go.snap +++ b/service/waf/snapshot/api_op_UpdateRegexPatternSet.go.snap @@ -14,7 +14,6 @@ UpdateRegexPatternSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_UpdateRule.go.snap b/service/waf/snapshot/api_op_UpdateRule.go.snap index 4eccda0001c..fb285fb40de 100644 --- a/service/waf/snapshot/api_op_UpdateRule.go.snap +++ b/service/waf/snapshot/api_op_UpdateRule.go.snap @@ -14,7 +14,6 @@ UpdateRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_UpdateRuleGroup.go.snap b/service/waf/snapshot/api_op_UpdateRuleGroup.go.snap index 37b5c4f2ee6..d91ff56f190 100644 --- a/service/waf/snapshot/api_op_UpdateRuleGroup.go.snap +++ b/service/waf/snapshot/api_op_UpdateRuleGroup.go.snap @@ -14,7 +14,6 @@ UpdateRuleGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_UpdateSizeConstraintSet.go.snap b/service/waf/snapshot/api_op_UpdateSizeConstraintSet.go.snap index 0b96c91f6fe..0aecbf56df5 100644 --- a/service/waf/snapshot/api_op_UpdateSizeConstraintSet.go.snap +++ b/service/waf/snapshot/api_op_UpdateSizeConstraintSet.go.snap @@ -14,7 +14,6 @@ UpdateSizeConstraintSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_UpdateSqlInjectionMatchSet.go.snap b/service/waf/snapshot/api_op_UpdateSqlInjectionMatchSet.go.snap index bde97c99e9f..1c625e247fc 100644 --- a/service/waf/snapshot/api_op_UpdateSqlInjectionMatchSet.go.snap +++ b/service/waf/snapshot/api_op_UpdateSqlInjectionMatchSet.go.snap @@ -14,7 +14,6 @@ UpdateSqlInjectionMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_UpdateWebACL.go.snap b/service/waf/snapshot/api_op_UpdateWebACL.go.snap index 11c3033d7aa..d73c62a61a5 100644 --- a/service/waf/snapshot/api_op_UpdateWebACL.go.snap +++ b/service/waf/snapshot/api_op_UpdateWebACL.go.snap @@ -14,7 +14,6 @@ UpdateWebACL Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/waf/snapshot/api_op_UpdateXssMatchSet.go.snap b/service/waf/snapshot/api_op_UpdateXssMatchSet.go.snap index 006920bcd43..ef2b83fcfea 100644 --- a/service/waf/snapshot/api_op_UpdateXssMatchSet.go.snap +++ b/service/waf/snapshot/api_op_UpdateXssMatchSet.go.snap @@ -14,7 +14,6 @@ UpdateXssMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/api_client.go b/service/wafregional/api_client.go index 01c8ac116d4..507cf9e0968 100644 --- a/service/wafregional/api_client.go +++ b/service/wafregional/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/wafregional/api_op_AssociateWebACL.go b/service/wafregional/api_op_AssociateWebACL.go index 989b8f1b755..47fedeeaf55 100644 --- a/service/wafregional/api_op_AssociateWebACL.go +++ b/service/wafregional/api_op_AssociateWebACL.go @@ -132,9 +132,6 @@ func (c *Client) addOperationAssociateWebACLMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateWebACLValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_CreateByteMatchSet.go b/service/wafregional/api_op_CreateByteMatchSet.go index c72aed62c31..eba75deb99b 100644 --- a/service/wafregional/api_op_CreateByteMatchSet.go +++ b/service/wafregional/api_op_CreateByteMatchSet.go @@ -154,9 +154,6 @@ func (c *Client) addOperationCreateByteMatchSetMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateByteMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_CreateGeoMatchSet.go b/service/wafregional/api_op_CreateGeoMatchSet.go index 3452308cb4f..985b7a5ebd6 100644 --- a/service/wafregional/api_op_CreateGeoMatchSet.go +++ b/service/wafregional/api_op_CreateGeoMatchSet.go @@ -154,9 +154,6 @@ func (c *Client) addOperationCreateGeoMatchSetMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGeoMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_CreateIPSet.go b/service/wafregional/api_op_CreateIPSet.go index af894290e03..af30e42e6dd 100644 --- a/service/wafregional/api_op_CreateIPSet.go +++ b/service/wafregional/api_op_CreateIPSet.go @@ -153,9 +153,6 @@ func (c *Client) addOperationCreateIPSetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateIPSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_CreateRateBasedRule.go b/service/wafregional/api_op_CreateRateBasedRule.go index 953794508d9..bfc63705ad0 100644 --- a/service/wafregional/api_op_CreateRateBasedRule.go +++ b/service/wafregional/api_op_CreateRateBasedRule.go @@ -222,9 +222,6 @@ func (c *Client) addOperationCreateRateBasedRuleMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRateBasedRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_CreateRegexMatchSet.go b/service/wafregional/api_op_CreateRegexMatchSet.go index e5d9c443ab5..4414cc90e47 100644 --- a/service/wafregional/api_op_CreateRegexMatchSet.go +++ b/service/wafregional/api_op_CreateRegexMatchSet.go @@ -155,9 +155,6 @@ func (c *Client) addOperationCreateRegexMatchSetMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRegexMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_CreateRegexPatternSet.go b/service/wafregional/api_op_CreateRegexPatternSet.go index 5ab724ce822..580f707be26 100644 --- a/service/wafregional/api_op_CreateRegexPatternSet.go +++ b/service/wafregional/api_op_CreateRegexPatternSet.go @@ -150,9 +150,6 @@ func (c *Client) addOperationCreateRegexPatternSetMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRegexPatternSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_CreateRule.go b/service/wafregional/api_op_CreateRule.go index 7bdb0705d26..6ef838f3046 100644 --- a/service/wafregional/api_op_CreateRule.go +++ b/service/wafregional/api_op_CreateRule.go @@ -179,9 +179,6 @@ func (c *Client) addOperationCreateRuleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_CreateRuleGroup.go b/service/wafregional/api_op_CreateRuleGroup.go index bc74b0b0935..8428eb7a0bc 100644 --- a/service/wafregional/api_op_CreateRuleGroup.go +++ b/service/wafregional/api_op_CreateRuleGroup.go @@ -158,9 +158,6 @@ func (c *Client) addOperationCreateRuleGroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRuleGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_CreateSizeConstraintSet.go b/service/wafregional/api_op_CreateSizeConstraintSet.go index 0110d912b3e..e8eb868d6d8 100644 --- a/service/wafregional/api_op_CreateSizeConstraintSet.go +++ b/service/wafregional/api_op_CreateSizeConstraintSet.go @@ -154,9 +154,6 @@ func (c *Client) addOperationCreateSizeConstraintSetMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSizeConstraintSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_CreateSqlInjectionMatchSet.go b/service/wafregional/api_op_CreateSqlInjectionMatchSet.go index a97c9ce0335..6358546b3c5 100644 --- a/service/wafregional/api_op_CreateSqlInjectionMatchSet.go +++ b/service/wafregional/api_op_CreateSqlInjectionMatchSet.go @@ -153,9 +153,6 @@ func (c *Client) addOperationCreateSqlInjectionMatchSetMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSqlInjectionMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_CreateWebACL.go b/service/wafregional/api_op_CreateWebACL.go index eac17b4be3e..2cd52c9df3f 100644 --- a/service/wafregional/api_op_CreateWebACL.go +++ b/service/wafregional/api_op_CreateWebACL.go @@ -179,9 +179,6 @@ func (c *Client) addOperationCreateWebACLMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateWebACLValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_CreateWebACLMigrationStack.go b/service/wafregional/api_op_CreateWebACLMigrationStack.go index 4905639610c..b36e711bc2f 100644 --- a/service/wafregional/api_op_CreateWebACLMigrationStack.go +++ b/service/wafregional/api_op_CreateWebACLMigrationStack.go @@ -148,9 +148,6 @@ func (c *Client) addOperationCreateWebACLMigrationStackMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateWebACLMigrationStackValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_CreateXssMatchSet.go b/service/wafregional/api_op_CreateXssMatchSet.go index 8bd1ef5fbc2..f4102ae4d6f 100644 --- a/service/wafregional/api_op_CreateXssMatchSet.go +++ b/service/wafregional/api_op_CreateXssMatchSet.go @@ -153,9 +153,6 @@ func (c *Client) addOperationCreateXssMatchSetMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateXssMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_DeleteByteMatchSet.go b/service/wafregional/api_op_DeleteByteMatchSet.go index df388b06ae8..8ee1faf3331 100644 --- a/service/wafregional/api_op_DeleteByteMatchSet.go +++ b/service/wafregional/api_op_DeleteByteMatchSet.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDeleteByteMatchSetMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteByteMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_DeleteGeoMatchSet.go b/service/wafregional/api_op_DeleteGeoMatchSet.go index 0aea0653881..f6adf2c4678 100644 --- a/service/wafregional/api_op_DeleteGeoMatchSet.go +++ b/service/wafregional/api_op_DeleteGeoMatchSet.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDeleteGeoMatchSetMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGeoMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_DeleteIPSet.go b/service/wafregional/api_op_DeleteIPSet.go index a4a7eb9c00a..d38bd24ae37 100644 --- a/service/wafregional/api_op_DeleteIPSet.go +++ b/service/wafregional/api_op_DeleteIPSet.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDeleteIPSetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIPSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_DeleteLoggingConfiguration.go b/service/wafregional/api_op_DeleteLoggingConfiguration.go index 2034073139c..635b50c4f95 100644 --- a/service/wafregional/api_op_DeleteLoggingConfiguration.go +++ b/service/wafregional/api_op_DeleteLoggingConfiguration.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteLoggingConfigurationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLoggingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_DeletePermissionPolicy.go b/service/wafregional/api_op_DeletePermissionPolicy.go index 0321468be59..b1231e429d8 100644 --- a/service/wafregional/api_op_DeletePermissionPolicy.go +++ b/service/wafregional/api_op_DeletePermissionPolicy.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeletePermissionPolicyMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePermissionPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_DeleteRateBasedRule.go b/service/wafregional/api_op_DeleteRateBasedRule.go index 4480dc06a4a..ec511d8549c 100644 --- a/service/wafregional/api_op_DeleteRateBasedRule.go +++ b/service/wafregional/api_op_DeleteRateBasedRule.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDeleteRateBasedRuleMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRateBasedRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_DeleteRegexMatchSet.go b/service/wafregional/api_op_DeleteRegexMatchSet.go index 6da51fa3120..f4acd7d5ebc 100644 --- a/service/wafregional/api_op_DeleteRegexMatchSet.go +++ b/service/wafregional/api_op_DeleteRegexMatchSet.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDeleteRegexMatchSetMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRegexMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_DeleteRegexPatternSet.go b/service/wafregional/api_op_DeleteRegexPatternSet.go index 1d9265811f3..98423f33c7a 100644 --- a/service/wafregional/api_op_DeleteRegexPatternSet.go +++ b/service/wafregional/api_op_DeleteRegexPatternSet.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDeleteRegexPatternSetMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRegexPatternSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_DeleteRule.go b/service/wafregional/api_op_DeleteRule.go index 196d645dd1b..6dac29f86d9 100644 --- a/service/wafregional/api_op_DeleteRule.go +++ b/service/wafregional/api_op_DeleteRule.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDeleteRuleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_DeleteRuleGroup.go b/service/wafregional/api_op_DeleteRuleGroup.go index 1ed1f36583a..ad3f73b98aa 100644 --- a/service/wafregional/api_op_DeleteRuleGroup.go +++ b/service/wafregional/api_op_DeleteRuleGroup.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDeleteRuleGroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRuleGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_DeleteSizeConstraintSet.go b/service/wafregional/api_op_DeleteSizeConstraintSet.go index 80c3ce4fed0..62c2eadcd72 100644 --- a/service/wafregional/api_op_DeleteSizeConstraintSet.go +++ b/service/wafregional/api_op_DeleteSizeConstraintSet.go @@ -142,9 +142,6 @@ func (c *Client) addOperationDeleteSizeConstraintSetMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSizeConstraintSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_DeleteSqlInjectionMatchSet.go b/service/wafregional/api_op_DeleteSqlInjectionMatchSet.go index be68a0a9e32..7d90f6f979d 100644 --- a/service/wafregional/api_op_DeleteSqlInjectionMatchSet.go +++ b/service/wafregional/api_op_DeleteSqlInjectionMatchSet.go @@ -145,9 +145,6 @@ func (c *Client) addOperationDeleteSqlInjectionMatchSetMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteSqlInjectionMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_DeleteWebACL.go b/service/wafregional/api_op_DeleteWebACL.go index 9889e50afe7..aec05382f99 100644 --- a/service/wafregional/api_op_DeleteWebACL.go +++ b/service/wafregional/api_op_DeleteWebACL.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDeleteWebACLMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWebACLValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_DeleteXssMatchSet.go b/service/wafregional/api_op_DeleteXssMatchSet.go index 4f6861ab779..c379e01016f 100644 --- a/service/wafregional/api_op_DeleteXssMatchSet.go +++ b/service/wafregional/api_op_DeleteXssMatchSet.go @@ -144,9 +144,6 @@ func (c *Client) addOperationDeleteXssMatchSetMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteXssMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_DisassociateWebACL.go b/service/wafregional/api_op_DisassociateWebACL.go index cf6df4169e8..8ff614059e0 100644 --- a/service/wafregional/api_op_DisassociateWebACL.go +++ b/service/wafregional/api_op_DisassociateWebACL.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDisassociateWebACLMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateWebACLValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetByteMatchSet.go b/service/wafregional/api_op_GetByteMatchSet.go index 8dc65599850..0ecce94e0bf 100644 --- a/service/wafregional/api_op_GetByteMatchSet.go +++ b/service/wafregional/api_op_GetByteMatchSet.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetByteMatchSetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetByteMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetChangeToken.go b/service/wafregional/api_op_GetChangeToken.go index 265e33e086e..1139d2444b5 100644 --- a/service/wafregional/api_op_GetChangeToken.go +++ b/service/wafregional/api_op_GetChangeToken.go @@ -130,9 +130,6 @@ func (c *Client) addOperationGetChangeTokenMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetChangeToken(options.Region), middleware.Before); err != nil { return err } diff --git a/service/wafregional/api_op_GetChangeTokenStatus.go b/service/wafregional/api_op_GetChangeTokenStatus.go index 4fcb3109db0..0716b689e8a 100644 --- a/service/wafregional/api_op_GetChangeTokenStatus.go +++ b/service/wafregional/api_op_GetChangeTokenStatus.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetChangeTokenStatusMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetChangeTokenStatusValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetGeoMatchSet.go b/service/wafregional/api_op_GetGeoMatchSet.go index b6a07f0b7f6..db290ceb27c 100644 --- a/service/wafregional/api_op_GetGeoMatchSet.go +++ b/service/wafregional/api_op_GetGeoMatchSet.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetGeoMatchSetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetGeoMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetIPSet.go b/service/wafregional/api_op_GetIPSet.go index d384965b1c5..ef5fed473fe 100644 --- a/service/wafregional/api_op_GetIPSet.go +++ b/service/wafregional/api_op_GetIPSet.go @@ -129,9 +129,6 @@ func (c *Client) addOperationGetIPSetMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIPSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetLoggingConfiguration.go b/service/wafregional/api_op_GetLoggingConfiguration.go index 328c99e83cb..7415a666f84 100644 --- a/service/wafregional/api_op_GetLoggingConfiguration.go +++ b/service/wafregional/api_op_GetLoggingConfiguration.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetLoggingConfigurationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLoggingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetPermissionPolicy.go b/service/wafregional/api_op_GetPermissionPolicy.go index 44ba4c9e7ce..16791bced4f 100644 --- a/service/wafregional/api_op_GetPermissionPolicy.go +++ b/service/wafregional/api_op_GetPermissionPolicy.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetPermissionPolicyMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPermissionPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetRateBasedRule.go b/service/wafregional/api_op_GetRateBasedRule.go index 14ffdc5a1fd..037dc903105 100644 --- a/service/wafregional/api_op_GetRateBasedRule.go +++ b/service/wafregional/api_op_GetRateBasedRule.go @@ -123,9 +123,6 @@ func (c *Client) addOperationGetRateBasedRuleMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRateBasedRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetRateBasedRuleManagedKeys.go b/service/wafregional/api_op_GetRateBasedRuleManagedKeys.go index 46c2433e54d..7fe6eff8d5f 100644 --- a/service/wafregional/api_op_GetRateBasedRuleManagedKeys.go +++ b/service/wafregional/api_op_GetRateBasedRuleManagedKeys.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetRateBasedRuleManagedKeysMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRateBasedRuleManagedKeysValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetRegexMatchSet.go b/service/wafregional/api_op_GetRegexMatchSet.go index 90e04de6cb6..e1ba39dc864 100644 --- a/service/wafregional/api_op_GetRegexMatchSet.go +++ b/service/wafregional/api_op_GetRegexMatchSet.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGetRegexMatchSetMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRegexMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetRegexPatternSet.go b/service/wafregional/api_op_GetRegexPatternSet.go index 286e66ac803..5024f73925e 100644 --- a/service/wafregional/api_op_GetRegexPatternSet.go +++ b/service/wafregional/api_op_GetRegexPatternSet.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetRegexPatternSetMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRegexPatternSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetRule.go b/service/wafregional/api_op_GetRule.go index e0c7195581c..002aab4ff2c 100644 --- a/service/wafregional/api_op_GetRule.go +++ b/service/wafregional/api_op_GetRule.go @@ -130,9 +130,6 @@ func (c *Client) addOperationGetRuleMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetRuleGroup.go b/service/wafregional/api_op_GetRuleGroup.go index ecd1d2f38e6..c2bfb0b03f4 100644 --- a/service/wafregional/api_op_GetRuleGroup.go +++ b/service/wafregional/api_op_GetRuleGroup.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetRuleGroupMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRuleGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetSampledRequests.go b/service/wafregional/api_op_GetSampledRequests.go index adbf2d17bab..1bf445c322a 100644 --- a/service/wafregional/api_op_GetSampledRequests.go +++ b/service/wafregional/api_op_GetSampledRequests.go @@ -174,9 +174,6 @@ func (c *Client) addOperationGetSampledRequestsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSampledRequestsValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetSizeConstraintSet.go b/service/wafregional/api_op_GetSizeConstraintSet.go index 1d1fd069656..2865aa7ffc0 100644 --- a/service/wafregional/api_op_GetSizeConstraintSet.go +++ b/service/wafregional/api_op_GetSizeConstraintSet.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetSizeConstraintSetMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSizeConstraintSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetSqlInjectionMatchSet.go b/service/wafregional/api_op_GetSqlInjectionMatchSet.go index 4d83c4f2f56..98712bcbfae 100644 --- a/service/wafregional/api_op_GetSqlInjectionMatchSet.go +++ b/service/wafregional/api_op_GetSqlInjectionMatchSet.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGetSqlInjectionMatchSetMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSqlInjectionMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetWebACL.go b/service/wafregional/api_op_GetWebACL.go index 44148737ac1..bf850e190f6 100644 --- a/service/wafregional/api_op_GetWebACL.go +++ b/service/wafregional/api_op_GetWebACL.go @@ -134,9 +134,6 @@ func (c *Client) addOperationGetWebACLMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWebACLValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetWebACLForResource.go b/service/wafregional/api_op_GetWebACLForResource.go index 6eeb90583cf..4dc797b4777 100644 --- a/service/wafregional/api_op_GetWebACLForResource.go +++ b/service/wafregional/api_op_GetWebACLForResource.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetWebACLForResourceMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWebACLForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_GetXssMatchSet.go b/service/wafregional/api_op_GetXssMatchSet.go index 65cdfee1312..b4690e28465 100644 --- a/service/wafregional/api_op_GetXssMatchSet.go +++ b/service/wafregional/api_op_GetXssMatchSet.go @@ -135,9 +135,6 @@ func (c *Client) addOperationGetXssMatchSetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetXssMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_ListActivatedRulesInRuleGroup.go b/service/wafregional/api_op_ListActivatedRulesInRuleGroup.go index d3210616d59..a0d0c137fae 100644 --- a/service/wafregional/api_op_ListActivatedRulesInRuleGroup.go +++ b/service/wafregional/api_op_ListActivatedRulesInRuleGroup.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListActivatedRulesInRuleGroupMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListActivatedRulesInRuleGroup(options.Region), middleware.Before); err != nil { return err } diff --git a/service/wafregional/api_op_ListByteMatchSets.go b/service/wafregional/api_op_ListByteMatchSets.go index ed5c1e4003b..7c077eb02fb 100644 --- a/service/wafregional/api_op_ListByteMatchSets.go +++ b/service/wafregional/api_op_ListByteMatchSets.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListByteMatchSetsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListByteMatchSets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/wafregional/api_op_ListGeoMatchSets.go b/service/wafregional/api_op_ListGeoMatchSets.go index 05e95eaec01..3e336205bca 100644 --- a/service/wafregional/api_op_ListGeoMatchSets.go +++ b/service/wafregional/api_op_ListGeoMatchSets.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListGeoMatchSetsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGeoMatchSets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/wafregional/api_op_ListIPSets.go b/service/wafregional/api_op_ListIPSets.go index ac84e8b64f5..56a99b24826 100644 --- a/service/wafregional/api_op_ListIPSets.go +++ b/service/wafregional/api_op_ListIPSets.go @@ -133,9 +133,6 @@ func (c *Client) addOperationListIPSetsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIPSets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/wafregional/api_op_ListLoggingConfigurations.go b/service/wafregional/api_op_ListLoggingConfigurations.go index 94362004b9e..8feaeca02d1 100644 --- a/service/wafregional/api_op_ListLoggingConfigurations.go +++ b/service/wafregional/api_op_ListLoggingConfigurations.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListLoggingConfigurationsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLoggingConfigurations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/wafregional/api_op_ListRateBasedRules.go b/service/wafregional/api_op_ListRateBasedRules.go index fd6d4a9b1e9..c1a5743c1ef 100644 --- a/service/wafregional/api_op_ListRateBasedRules.go +++ b/service/wafregional/api_op_ListRateBasedRules.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListRateBasedRulesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRateBasedRules(options.Region), middleware.Before); err != nil { return err } diff --git a/service/wafregional/api_op_ListRegexMatchSets.go b/service/wafregional/api_op_ListRegexMatchSets.go index d9796cc7cc8..d9c2b45391f 100644 --- a/service/wafregional/api_op_ListRegexMatchSets.go +++ b/service/wafregional/api_op_ListRegexMatchSets.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListRegexMatchSetsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRegexMatchSets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/wafregional/api_op_ListRegexPatternSets.go b/service/wafregional/api_op_ListRegexPatternSets.go index 8c0577e1d59..e2e23233f76 100644 --- a/service/wafregional/api_op_ListRegexPatternSets.go +++ b/service/wafregional/api_op_ListRegexPatternSets.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListRegexPatternSetsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRegexPatternSets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/wafregional/api_op_ListResourcesForWebACL.go b/service/wafregional/api_op_ListResourcesForWebACL.go index fb05f85a378..13ee50dd9a4 100644 --- a/service/wafregional/api_op_ListResourcesForWebACL.go +++ b/service/wafregional/api_op_ListResourcesForWebACL.go @@ -129,9 +129,6 @@ func (c *Client) addOperationListResourcesForWebACLMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListResourcesForWebACLValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_ListRuleGroups.go b/service/wafregional/api_op_ListRuleGroups.go index 13c15a10d41..12eb39ad11c 100644 --- a/service/wafregional/api_op_ListRuleGroups.go +++ b/service/wafregional/api_op_ListRuleGroups.go @@ -136,9 +136,6 @@ func (c *Client) addOperationListRuleGroupsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRuleGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/wafregional/api_op_ListRules.go b/service/wafregional/api_op_ListRules.go index 19c5bfa658c..55560a54413 100644 --- a/service/wafregional/api_op_ListRules.go +++ b/service/wafregional/api_op_ListRules.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListRulesMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRules(options.Region), middleware.Before); err != nil { return err } diff --git a/service/wafregional/api_op_ListSizeConstraintSets.go b/service/wafregional/api_op_ListSizeConstraintSets.go index ae795d61a7a..3b8319bfa04 100644 --- a/service/wafregional/api_op_ListSizeConstraintSets.go +++ b/service/wafregional/api_op_ListSizeConstraintSets.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListSizeConstraintSetsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSizeConstraintSets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/wafregional/api_op_ListSqlInjectionMatchSets.go b/service/wafregional/api_op_ListSqlInjectionMatchSets.go index 7485bbef0c1..701daba63dc 100644 --- a/service/wafregional/api_op_ListSqlInjectionMatchSets.go +++ b/service/wafregional/api_op_ListSqlInjectionMatchSets.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListSqlInjectionMatchSetsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSqlInjectionMatchSets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/wafregional/api_op_ListSubscribedRuleGroups.go b/service/wafregional/api_op_ListSubscribedRuleGroups.go index 5d9e83b448e..22a1681310c 100644 --- a/service/wafregional/api_op_ListSubscribedRuleGroups.go +++ b/service/wafregional/api_op_ListSubscribedRuleGroups.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListSubscribedRuleGroupsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSubscribedRuleGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/wafregional/api_op_ListTagsForResource.go b/service/wafregional/api_op_ListTagsForResource.go index d8d9dbab21f..b78490076bc 100644 --- a/service/wafregional/api_op_ListTagsForResource.go +++ b/service/wafregional/api_op_ListTagsForResource.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_ListWebACLs.go b/service/wafregional/api_op_ListWebACLs.go index 2458c1c4e50..8b9255e8c1d 100644 --- a/service/wafregional/api_op_ListWebACLs.go +++ b/service/wafregional/api_op_ListWebACLs.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListWebACLsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWebACLs(options.Region), middleware.Before); err != nil { return err } diff --git a/service/wafregional/api_op_ListXssMatchSets.go b/service/wafregional/api_op_ListXssMatchSets.go index 9decbd76bfc..26d610fd5d2 100644 --- a/service/wafregional/api_op_ListXssMatchSets.go +++ b/service/wafregional/api_op_ListXssMatchSets.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListXssMatchSetsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListXssMatchSets(options.Region), middleware.Before); err != nil { return err } diff --git a/service/wafregional/api_op_PutLoggingConfiguration.go b/service/wafregional/api_op_PutLoggingConfiguration.go index 6b64ffb4ff8..8afe841adc5 100644 --- a/service/wafregional/api_op_PutLoggingConfiguration.go +++ b/service/wafregional/api_op_PutLoggingConfiguration.go @@ -148,9 +148,6 @@ func (c *Client) addOperationPutLoggingConfigurationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutLoggingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_PutPermissionPolicy.go b/service/wafregional/api_op_PutPermissionPolicy.go index a2d4f742f28..a4c7ae7b1be 100644 --- a/service/wafregional/api_op_PutPermissionPolicy.go +++ b/service/wafregional/api_op_PutPermissionPolicy.go @@ -150,9 +150,6 @@ func (c *Client) addOperationPutPermissionPolicyMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutPermissionPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_TagResource.go b/service/wafregional/api_op_TagResource.go index 9c9eaf6f4e3..066d584c026 100644 --- a/service/wafregional/api_op_TagResource.go +++ b/service/wafregional/api_op_TagResource.go @@ -132,9 +132,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_UntagResource.go b/service/wafregional/api_op_UntagResource.go index 78f20913752..5c2b4faa15f 100644 --- a/service/wafregional/api_op_UntagResource.go +++ b/service/wafregional/api_op_UntagResource.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_UpdateByteMatchSet.go b/service/wafregional/api_op_UpdateByteMatchSet.go index 9573196097b..d67288f9443 100644 --- a/service/wafregional/api_op_UpdateByteMatchSet.go +++ b/service/wafregional/api_op_UpdateByteMatchSet.go @@ -182,9 +182,6 @@ func (c *Client) addOperationUpdateByteMatchSetMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateByteMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_UpdateGeoMatchSet.go b/service/wafregional/api_op_UpdateGeoMatchSet.go index 912f269a090..8471ea2607e 100644 --- a/service/wafregional/api_op_UpdateGeoMatchSet.go +++ b/service/wafregional/api_op_UpdateGeoMatchSet.go @@ -172,9 +172,6 @@ func (c *Client) addOperationUpdateGeoMatchSetMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateGeoMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_UpdateIPSet.go b/service/wafregional/api_op_UpdateIPSet.go index 74fcbdd481c..89788e6e97c 100644 --- a/service/wafregional/api_op_UpdateIPSet.go +++ b/service/wafregional/api_op_UpdateIPSet.go @@ -193,9 +193,6 @@ func (c *Client) addOperationUpdateIPSetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateIPSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_UpdateRateBasedRule.go b/service/wafregional/api_op_UpdateRateBasedRule.go index c5ee9dac187..e64446a5529 100644 --- a/service/wafregional/api_op_UpdateRateBasedRule.go +++ b/service/wafregional/api_op_UpdateRateBasedRule.go @@ -178,9 +178,6 @@ func (c *Client) addOperationUpdateRateBasedRuleMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRateBasedRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_UpdateRegexMatchSet.go b/service/wafregional/api_op_UpdateRegexMatchSet.go index 6bd6b183dea..278c754e5b6 100644 --- a/service/wafregional/api_op_UpdateRegexMatchSet.go +++ b/service/wafregional/api_op_UpdateRegexMatchSet.go @@ -169,9 +169,6 @@ func (c *Client) addOperationUpdateRegexMatchSetMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRegexMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_UpdateRegexPatternSet.go b/service/wafregional/api_op_UpdateRegexPatternSet.go index 4ddfdb4d746..3a715fdc943 100644 --- a/service/wafregional/api_op_UpdateRegexPatternSet.go +++ b/service/wafregional/api_op_UpdateRegexPatternSet.go @@ -166,9 +166,6 @@ func (c *Client) addOperationUpdateRegexPatternSetMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRegexPatternSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_UpdateRule.go b/service/wafregional/api_op_UpdateRule.go index ff1e8baef75..776de4b1d97 100644 --- a/service/wafregional/api_op_UpdateRule.go +++ b/service/wafregional/api_op_UpdateRule.go @@ -176,9 +176,6 @@ func (c *Client) addOperationUpdateRuleMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_UpdateRuleGroup.go b/service/wafregional/api_op_UpdateRuleGroup.go index d084de5cb7f..41aae3a85ae 100644 --- a/service/wafregional/api_op_UpdateRuleGroup.go +++ b/service/wafregional/api_op_UpdateRuleGroup.go @@ -165,9 +165,6 @@ func (c *Client) addOperationUpdateRuleGroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRuleGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_UpdateSizeConstraintSet.go b/service/wafregional/api_op_UpdateSizeConstraintSet.go index 2d5c1a290ec..8a4a2e4af65 100644 --- a/service/wafregional/api_op_UpdateSizeConstraintSet.go +++ b/service/wafregional/api_op_UpdateSizeConstraintSet.go @@ -185,9 +185,6 @@ func (c *Client) addOperationUpdateSizeConstraintSetMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSizeConstraintSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_UpdateSqlInjectionMatchSet.go b/service/wafregional/api_op_UpdateSqlInjectionMatchSet.go index ceba713df79..1486cd24c19 100644 --- a/service/wafregional/api_op_UpdateSqlInjectionMatchSet.go +++ b/service/wafregional/api_op_UpdateSqlInjectionMatchSet.go @@ -180,9 +180,6 @@ func (c *Client) addOperationUpdateSqlInjectionMatchSetMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSqlInjectionMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_UpdateWebACL.go b/service/wafregional/api_op_UpdateWebACL.go index a72896e2640..66de95f76d6 100644 --- a/service/wafregional/api_op_UpdateWebACL.go +++ b/service/wafregional/api_op_UpdateWebACL.go @@ -207,9 +207,6 @@ func (c *Client) addOperationUpdateWebACLMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateWebACLValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/api_op_UpdateXssMatchSet.go b/service/wafregional/api_op_UpdateXssMatchSet.go index 9f50162a420..c30f4dc49e9 100644 --- a/service/wafregional/api_op_UpdateXssMatchSet.go +++ b/service/wafregional/api_op_UpdateXssMatchSet.go @@ -180,9 +180,6 @@ func (c *Client) addOperationUpdateXssMatchSetMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateXssMatchSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafregional/snapshot/api_op_AssociateWebACL.go.snap b/service/wafregional/snapshot/api_op_AssociateWebACL.go.snap index c86c208b179..25693b11b6b 100644 --- a/service/wafregional/snapshot/api_op_AssociateWebACL.go.snap +++ b/service/wafregional/snapshot/api_op_AssociateWebACL.go.snap @@ -14,7 +14,6 @@ AssociateWebACL Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_CreateByteMatchSet.go.snap b/service/wafregional/snapshot/api_op_CreateByteMatchSet.go.snap index de01ea7cb27..30ac5b3e3b4 100644 --- a/service/wafregional/snapshot/api_op_CreateByteMatchSet.go.snap +++ b/service/wafregional/snapshot/api_op_CreateByteMatchSet.go.snap @@ -14,7 +14,6 @@ CreateByteMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_CreateGeoMatchSet.go.snap b/service/wafregional/snapshot/api_op_CreateGeoMatchSet.go.snap index 804b63d077f..094b03d6073 100644 --- a/service/wafregional/snapshot/api_op_CreateGeoMatchSet.go.snap +++ b/service/wafregional/snapshot/api_op_CreateGeoMatchSet.go.snap @@ -14,7 +14,6 @@ CreateGeoMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_CreateIPSet.go.snap b/service/wafregional/snapshot/api_op_CreateIPSet.go.snap index f98a273b10c..24d7fa93ca8 100644 --- a/service/wafregional/snapshot/api_op_CreateIPSet.go.snap +++ b/service/wafregional/snapshot/api_op_CreateIPSet.go.snap @@ -14,7 +14,6 @@ CreateIPSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_CreateRateBasedRule.go.snap b/service/wafregional/snapshot/api_op_CreateRateBasedRule.go.snap index 877b817e799..9f8f05126a9 100644 --- a/service/wafregional/snapshot/api_op_CreateRateBasedRule.go.snap +++ b/service/wafregional/snapshot/api_op_CreateRateBasedRule.go.snap @@ -14,7 +14,6 @@ CreateRateBasedRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_CreateRegexMatchSet.go.snap b/service/wafregional/snapshot/api_op_CreateRegexMatchSet.go.snap index 47c2c8f55a7..5b9e973ea9b 100644 --- a/service/wafregional/snapshot/api_op_CreateRegexMatchSet.go.snap +++ b/service/wafregional/snapshot/api_op_CreateRegexMatchSet.go.snap @@ -14,7 +14,6 @@ CreateRegexMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_CreateRegexPatternSet.go.snap b/service/wafregional/snapshot/api_op_CreateRegexPatternSet.go.snap index 6648b99baba..44543c4e57d 100644 --- a/service/wafregional/snapshot/api_op_CreateRegexPatternSet.go.snap +++ b/service/wafregional/snapshot/api_op_CreateRegexPatternSet.go.snap @@ -14,7 +14,6 @@ CreateRegexPatternSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_CreateRule.go.snap b/service/wafregional/snapshot/api_op_CreateRule.go.snap index ccb56fcbaaa..0f845aa30f2 100644 --- a/service/wafregional/snapshot/api_op_CreateRule.go.snap +++ b/service/wafregional/snapshot/api_op_CreateRule.go.snap @@ -14,7 +14,6 @@ CreateRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_CreateRuleGroup.go.snap b/service/wafregional/snapshot/api_op_CreateRuleGroup.go.snap index 108ec0e0bc3..8bcaa33c0da 100644 --- a/service/wafregional/snapshot/api_op_CreateRuleGroup.go.snap +++ b/service/wafregional/snapshot/api_op_CreateRuleGroup.go.snap @@ -14,7 +14,6 @@ CreateRuleGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_CreateSizeConstraintSet.go.snap b/service/wafregional/snapshot/api_op_CreateSizeConstraintSet.go.snap index 3c125f155a9..8fde0b67909 100644 --- a/service/wafregional/snapshot/api_op_CreateSizeConstraintSet.go.snap +++ b/service/wafregional/snapshot/api_op_CreateSizeConstraintSet.go.snap @@ -14,7 +14,6 @@ CreateSizeConstraintSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_CreateSqlInjectionMatchSet.go.snap b/service/wafregional/snapshot/api_op_CreateSqlInjectionMatchSet.go.snap index d8ba085bd31..efabdbdbf07 100644 --- a/service/wafregional/snapshot/api_op_CreateSqlInjectionMatchSet.go.snap +++ b/service/wafregional/snapshot/api_op_CreateSqlInjectionMatchSet.go.snap @@ -14,7 +14,6 @@ CreateSqlInjectionMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_CreateWebACL.go.snap b/service/wafregional/snapshot/api_op_CreateWebACL.go.snap index 13c82c885b6..99553d00f00 100644 --- a/service/wafregional/snapshot/api_op_CreateWebACL.go.snap +++ b/service/wafregional/snapshot/api_op_CreateWebACL.go.snap @@ -14,7 +14,6 @@ CreateWebACL Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_CreateWebACLMigrationStack.go.snap b/service/wafregional/snapshot/api_op_CreateWebACLMigrationStack.go.snap index beb6d7430c7..5771d35a31d 100644 --- a/service/wafregional/snapshot/api_op_CreateWebACLMigrationStack.go.snap +++ b/service/wafregional/snapshot/api_op_CreateWebACLMigrationStack.go.snap @@ -14,7 +14,6 @@ CreateWebACLMigrationStack Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_CreateXssMatchSet.go.snap b/service/wafregional/snapshot/api_op_CreateXssMatchSet.go.snap index 6498a375f89..ad2c6550350 100644 --- a/service/wafregional/snapshot/api_op_CreateXssMatchSet.go.snap +++ b/service/wafregional/snapshot/api_op_CreateXssMatchSet.go.snap @@ -14,7 +14,6 @@ CreateXssMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_DeleteByteMatchSet.go.snap b/service/wafregional/snapshot/api_op_DeleteByteMatchSet.go.snap index a7ad4f23d69..9b01fe1d4bf 100644 --- a/service/wafregional/snapshot/api_op_DeleteByteMatchSet.go.snap +++ b/service/wafregional/snapshot/api_op_DeleteByteMatchSet.go.snap @@ -14,7 +14,6 @@ DeleteByteMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_DeleteGeoMatchSet.go.snap b/service/wafregional/snapshot/api_op_DeleteGeoMatchSet.go.snap index b84b9b37e2f..c8d4b32a9a4 100644 --- a/service/wafregional/snapshot/api_op_DeleteGeoMatchSet.go.snap +++ b/service/wafregional/snapshot/api_op_DeleteGeoMatchSet.go.snap @@ -14,7 +14,6 @@ DeleteGeoMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_DeleteIPSet.go.snap b/service/wafregional/snapshot/api_op_DeleteIPSet.go.snap index 894b0413d99..f87125d5108 100644 --- a/service/wafregional/snapshot/api_op_DeleteIPSet.go.snap +++ b/service/wafregional/snapshot/api_op_DeleteIPSet.go.snap @@ -14,7 +14,6 @@ DeleteIPSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_DeleteLoggingConfiguration.go.snap b/service/wafregional/snapshot/api_op_DeleteLoggingConfiguration.go.snap index 2bd9fd0a6ec..ffacd84d1b6 100644 --- a/service/wafregional/snapshot/api_op_DeleteLoggingConfiguration.go.snap +++ b/service/wafregional/snapshot/api_op_DeleteLoggingConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteLoggingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_DeletePermissionPolicy.go.snap b/service/wafregional/snapshot/api_op_DeletePermissionPolicy.go.snap index 81f5b2fce03..da5694bcea6 100644 --- a/service/wafregional/snapshot/api_op_DeletePermissionPolicy.go.snap +++ b/service/wafregional/snapshot/api_op_DeletePermissionPolicy.go.snap @@ -14,7 +14,6 @@ DeletePermissionPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_DeleteRateBasedRule.go.snap b/service/wafregional/snapshot/api_op_DeleteRateBasedRule.go.snap index cbb9b286756..9bdc06a9014 100644 --- a/service/wafregional/snapshot/api_op_DeleteRateBasedRule.go.snap +++ b/service/wafregional/snapshot/api_op_DeleteRateBasedRule.go.snap @@ -14,7 +14,6 @@ DeleteRateBasedRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_DeleteRegexMatchSet.go.snap b/service/wafregional/snapshot/api_op_DeleteRegexMatchSet.go.snap index 4a930f5b762..1586fbeda14 100644 --- a/service/wafregional/snapshot/api_op_DeleteRegexMatchSet.go.snap +++ b/service/wafregional/snapshot/api_op_DeleteRegexMatchSet.go.snap @@ -14,7 +14,6 @@ DeleteRegexMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_DeleteRegexPatternSet.go.snap b/service/wafregional/snapshot/api_op_DeleteRegexPatternSet.go.snap index 0427a6b0572..60ad2c403d1 100644 --- a/service/wafregional/snapshot/api_op_DeleteRegexPatternSet.go.snap +++ b/service/wafregional/snapshot/api_op_DeleteRegexPatternSet.go.snap @@ -14,7 +14,6 @@ DeleteRegexPatternSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_DeleteRule.go.snap b/service/wafregional/snapshot/api_op_DeleteRule.go.snap index dd841287b59..a6bc8103292 100644 --- a/service/wafregional/snapshot/api_op_DeleteRule.go.snap +++ b/service/wafregional/snapshot/api_op_DeleteRule.go.snap @@ -14,7 +14,6 @@ DeleteRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_DeleteRuleGroup.go.snap b/service/wafregional/snapshot/api_op_DeleteRuleGroup.go.snap index 01b6c9b3359..cd8064516a5 100644 --- a/service/wafregional/snapshot/api_op_DeleteRuleGroup.go.snap +++ b/service/wafregional/snapshot/api_op_DeleteRuleGroup.go.snap @@ -14,7 +14,6 @@ DeleteRuleGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_DeleteSizeConstraintSet.go.snap b/service/wafregional/snapshot/api_op_DeleteSizeConstraintSet.go.snap index d20b0ceedd1..ca08a92284e 100644 --- a/service/wafregional/snapshot/api_op_DeleteSizeConstraintSet.go.snap +++ b/service/wafregional/snapshot/api_op_DeleteSizeConstraintSet.go.snap @@ -14,7 +14,6 @@ DeleteSizeConstraintSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_DeleteSqlInjectionMatchSet.go.snap b/service/wafregional/snapshot/api_op_DeleteSqlInjectionMatchSet.go.snap index 0f97d6122cd..5c7c0c83439 100644 --- a/service/wafregional/snapshot/api_op_DeleteSqlInjectionMatchSet.go.snap +++ b/service/wafregional/snapshot/api_op_DeleteSqlInjectionMatchSet.go.snap @@ -14,7 +14,6 @@ DeleteSqlInjectionMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_DeleteWebACL.go.snap b/service/wafregional/snapshot/api_op_DeleteWebACL.go.snap index e93e5e29dce..2adf9a514e1 100644 --- a/service/wafregional/snapshot/api_op_DeleteWebACL.go.snap +++ b/service/wafregional/snapshot/api_op_DeleteWebACL.go.snap @@ -14,7 +14,6 @@ DeleteWebACL Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_DeleteXssMatchSet.go.snap b/service/wafregional/snapshot/api_op_DeleteXssMatchSet.go.snap index 31fdcd0c82e..64e4eb8e50c 100644 --- a/service/wafregional/snapshot/api_op_DeleteXssMatchSet.go.snap +++ b/service/wafregional/snapshot/api_op_DeleteXssMatchSet.go.snap @@ -14,7 +14,6 @@ DeleteXssMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_DisassociateWebACL.go.snap b/service/wafregional/snapshot/api_op_DisassociateWebACL.go.snap index cc081162a4d..cc0085aa486 100644 --- a/service/wafregional/snapshot/api_op_DisassociateWebACL.go.snap +++ b/service/wafregional/snapshot/api_op_DisassociateWebACL.go.snap @@ -14,7 +14,6 @@ DisassociateWebACL Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_GetByteMatchSet.go.snap b/service/wafregional/snapshot/api_op_GetByteMatchSet.go.snap index a63abe5624b..dae52a60687 100644 --- a/service/wafregional/snapshot/api_op_GetByteMatchSet.go.snap +++ b/service/wafregional/snapshot/api_op_GetByteMatchSet.go.snap @@ -14,7 +14,6 @@ GetByteMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_GetChangeToken.go.snap b/service/wafregional/snapshot/api_op_GetChangeToken.go.snap index 69f8edcabcc..e4c8bf5feeb 100644 --- a/service/wafregional/snapshot/api_op_GetChangeToken.go.snap +++ b/service/wafregional/snapshot/api_op_GetChangeToken.go.snap @@ -13,7 +13,6 @@ GetChangeToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_GetChangeTokenStatus.go.snap b/service/wafregional/snapshot/api_op_GetChangeTokenStatus.go.snap index 79b7f8c8180..5024e925188 100644 --- a/service/wafregional/snapshot/api_op_GetChangeTokenStatus.go.snap +++ b/service/wafregional/snapshot/api_op_GetChangeTokenStatus.go.snap @@ -14,7 +14,6 @@ GetChangeTokenStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_GetGeoMatchSet.go.snap b/service/wafregional/snapshot/api_op_GetGeoMatchSet.go.snap index c959336bdb8..0fdda1b814d 100644 --- a/service/wafregional/snapshot/api_op_GetGeoMatchSet.go.snap +++ b/service/wafregional/snapshot/api_op_GetGeoMatchSet.go.snap @@ -14,7 +14,6 @@ GetGeoMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_GetIPSet.go.snap b/service/wafregional/snapshot/api_op_GetIPSet.go.snap index 7d7db55e04b..61abc94916f 100644 --- a/service/wafregional/snapshot/api_op_GetIPSet.go.snap +++ b/service/wafregional/snapshot/api_op_GetIPSet.go.snap @@ -14,7 +14,6 @@ GetIPSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_GetLoggingConfiguration.go.snap b/service/wafregional/snapshot/api_op_GetLoggingConfiguration.go.snap index 608e41b7d36..52dd838fbc5 100644 --- a/service/wafregional/snapshot/api_op_GetLoggingConfiguration.go.snap +++ b/service/wafregional/snapshot/api_op_GetLoggingConfiguration.go.snap @@ -14,7 +14,6 @@ GetLoggingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_GetPermissionPolicy.go.snap b/service/wafregional/snapshot/api_op_GetPermissionPolicy.go.snap index a6327c13116..94352f95152 100644 --- a/service/wafregional/snapshot/api_op_GetPermissionPolicy.go.snap +++ b/service/wafregional/snapshot/api_op_GetPermissionPolicy.go.snap @@ -14,7 +14,6 @@ GetPermissionPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_GetRateBasedRule.go.snap b/service/wafregional/snapshot/api_op_GetRateBasedRule.go.snap index 4615398298d..02aaae23af1 100644 --- a/service/wafregional/snapshot/api_op_GetRateBasedRule.go.snap +++ b/service/wafregional/snapshot/api_op_GetRateBasedRule.go.snap @@ -14,7 +14,6 @@ GetRateBasedRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_GetRateBasedRuleManagedKeys.go.snap b/service/wafregional/snapshot/api_op_GetRateBasedRuleManagedKeys.go.snap index 29ccc8f48f4..4fca9d41d04 100644 --- a/service/wafregional/snapshot/api_op_GetRateBasedRuleManagedKeys.go.snap +++ b/service/wafregional/snapshot/api_op_GetRateBasedRuleManagedKeys.go.snap @@ -14,7 +14,6 @@ GetRateBasedRuleManagedKeys Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_GetRegexMatchSet.go.snap b/service/wafregional/snapshot/api_op_GetRegexMatchSet.go.snap index 416702eb646..740bcae1f4a 100644 --- a/service/wafregional/snapshot/api_op_GetRegexMatchSet.go.snap +++ b/service/wafregional/snapshot/api_op_GetRegexMatchSet.go.snap @@ -14,7 +14,6 @@ GetRegexMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_GetRegexPatternSet.go.snap b/service/wafregional/snapshot/api_op_GetRegexPatternSet.go.snap index b268242ea1a..024ba467246 100644 --- a/service/wafregional/snapshot/api_op_GetRegexPatternSet.go.snap +++ b/service/wafregional/snapshot/api_op_GetRegexPatternSet.go.snap @@ -14,7 +14,6 @@ GetRegexPatternSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_GetRule.go.snap b/service/wafregional/snapshot/api_op_GetRule.go.snap index 6752a7a08cc..6baf28ba349 100644 --- a/service/wafregional/snapshot/api_op_GetRule.go.snap +++ b/service/wafregional/snapshot/api_op_GetRule.go.snap @@ -14,7 +14,6 @@ GetRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_GetRuleGroup.go.snap b/service/wafregional/snapshot/api_op_GetRuleGroup.go.snap index 5be96f67599..a8012a0b95b 100644 --- a/service/wafregional/snapshot/api_op_GetRuleGroup.go.snap +++ b/service/wafregional/snapshot/api_op_GetRuleGroup.go.snap @@ -14,7 +14,6 @@ GetRuleGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_GetSampledRequests.go.snap b/service/wafregional/snapshot/api_op_GetSampledRequests.go.snap index 4dc9e3a00bc..613bb541e09 100644 --- a/service/wafregional/snapshot/api_op_GetSampledRequests.go.snap +++ b/service/wafregional/snapshot/api_op_GetSampledRequests.go.snap @@ -14,7 +14,6 @@ GetSampledRequests Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_GetSizeConstraintSet.go.snap b/service/wafregional/snapshot/api_op_GetSizeConstraintSet.go.snap index 854e86c96c8..751b74d4c9a 100644 --- a/service/wafregional/snapshot/api_op_GetSizeConstraintSet.go.snap +++ b/service/wafregional/snapshot/api_op_GetSizeConstraintSet.go.snap @@ -14,7 +14,6 @@ GetSizeConstraintSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_GetSqlInjectionMatchSet.go.snap b/service/wafregional/snapshot/api_op_GetSqlInjectionMatchSet.go.snap index 7a20bcdd391..31b60b7d545 100644 --- a/service/wafregional/snapshot/api_op_GetSqlInjectionMatchSet.go.snap +++ b/service/wafregional/snapshot/api_op_GetSqlInjectionMatchSet.go.snap @@ -14,7 +14,6 @@ GetSqlInjectionMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_GetWebACL.go.snap b/service/wafregional/snapshot/api_op_GetWebACL.go.snap index 389160e4238..8c306b3610b 100644 --- a/service/wafregional/snapshot/api_op_GetWebACL.go.snap +++ b/service/wafregional/snapshot/api_op_GetWebACL.go.snap @@ -14,7 +14,6 @@ GetWebACL Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_GetWebACLForResource.go.snap b/service/wafregional/snapshot/api_op_GetWebACLForResource.go.snap index a075c7b5f01..646d7abf522 100644 --- a/service/wafregional/snapshot/api_op_GetWebACLForResource.go.snap +++ b/service/wafregional/snapshot/api_op_GetWebACLForResource.go.snap @@ -14,7 +14,6 @@ GetWebACLForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_GetXssMatchSet.go.snap b/service/wafregional/snapshot/api_op_GetXssMatchSet.go.snap index 678cec82882..1a3f657c347 100644 --- a/service/wafregional/snapshot/api_op_GetXssMatchSet.go.snap +++ b/service/wafregional/snapshot/api_op_GetXssMatchSet.go.snap @@ -14,7 +14,6 @@ GetXssMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_ListActivatedRulesInRuleGroup.go.snap b/service/wafregional/snapshot/api_op_ListActivatedRulesInRuleGroup.go.snap index c682fe9527a..95dfaf4ccfd 100644 --- a/service/wafregional/snapshot/api_op_ListActivatedRulesInRuleGroup.go.snap +++ b/service/wafregional/snapshot/api_op_ListActivatedRulesInRuleGroup.go.snap @@ -13,7 +13,6 @@ ListActivatedRulesInRuleGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_ListByteMatchSets.go.snap b/service/wafregional/snapshot/api_op_ListByteMatchSets.go.snap index c9edf548539..8249c8af53e 100644 --- a/service/wafregional/snapshot/api_op_ListByteMatchSets.go.snap +++ b/service/wafregional/snapshot/api_op_ListByteMatchSets.go.snap @@ -13,7 +13,6 @@ ListByteMatchSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_ListGeoMatchSets.go.snap b/service/wafregional/snapshot/api_op_ListGeoMatchSets.go.snap index cc353d6f4c0..af1d0e0243c 100644 --- a/service/wafregional/snapshot/api_op_ListGeoMatchSets.go.snap +++ b/service/wafregional/snapshot/api_op_ListGeoMatchSets.go.snap @@ -13,7 +13,6 @@ ListGeoMatchSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_ListIPSets.go.snap b/service/wafregional/snapshot/api_op_ListIPSets.go.snap index d1e2df286c7..a36781a465b 100644 --- a/service/wafregional/snapshot/api_op_ListIPSets.go.snap +++ b/service/wafregional/snapshot/api_op_ListIPSets.go.snap @@ -13,7 +13,6 @@ ListIPSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_ListLoggingConfigurations.go.snap b/service/wafregional/snapshot/api_op_ListLoggingConfigurations.go.snap index 3f94788a012..70f394f1130 100644 --- a/service/wafregional/snapshot/api_op_ListLoggingConfigurations.go.snap +++ b/service/wafregional/snapshot/api_op_ListLoggingConfigurations.go.snap @@ -13,7 +13,6 @@ ListLoggingConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_ListRateBasedRules.go.snap b/service/wafregional/snapshot/api_op_ListRateBasedRules.go.snap index 9ca468ab719..ac61b9de4ad 100644 --- a/service/wafregional/snapshot/api_op_ListRateBasedRules.go.snap +++ b/service/wafregional/snapshot/api_op_ListRateBasedRules.go.snap @@ -13,7 +13,6 @@ ListRateBasedRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_ListRegexMatchSets.go.snap b/service/wafregional/snapshot/api_op_ListRegexMatchSets.go.snap index 16e725e949e..49080a15342 100644 --- a/service/wafregional/snapshot/api_op_ListRegexMatchSets.go.snap +++ b/service/wafregional/snapshot/api_op_ListRegexMatchSets.go.snap @@ -13,7 +13,6 @@ ListRegexMatchSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_ListRegexPatternSets.go.snap b/service/wafregional/snapshot/api_op_ListRegexPatternSets.go.snap index 2bef10ed572..b27834bb10c 100644 --- a/service/wafregional/snapshot/api_op_ListRegexPatternSets.go.snap +++ b/service/wafregional/snapshot/api_op_ListRegexPatternSets.go.snap @@ -13,7 +13,6 @@ ListRegexPatternSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_ListResourcesForWebACL.go.snap b/service/wafregional/snapshot/api_op_ListResourcesForWebACL.go.snap index e6b27ac48c7..32623724926 100644 --- a/service/wafregional/snapshot/api_op_ListResourcesForWebACL.go.snap +++ b/service/wafregional/snapshot/api_op_ListResourcesForWebACL.go.snap @@ -14,7 +14,6 @@ ListResourcesForWebACL Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_ListRuleGroups.go.snap b/service/wafregional/snapshot/api_op_ListRuleGroups.go.snap index 0d7977c95b5..ccb082203e7 100644 --- a/service/wafregional/snapshot/api_op_ListRuleGroups.go.snap +++ b/service/wafregional/snapshot/api_op_ListRuleGroups.go.snap @@ -13,7 +13,6 @@ ListRuleGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_ListRules.go.snap b/service/wafregional/snapshot/api_op_ListRules.go.snap index e978e5342cf..b45cb373aa6 100644 --- a/service/wafregional/snapshot/api_op_ListRules.go.snap +++ b/service/wafregional/snapshot/api_op_ListRules.go.snap @@ -13,7 +13,6 @@ ListRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_ListSizeConstraintSets.go.snap b/service/wafregional/snapshot/api_op_ListSizeConstraintSets.go.snap index a625bd47a7f..072ce5cd117 100644 --- a/service/wafregional/snapshot/api_op_ListSizeConstraintSets.go.snap +++ b/service/wafregional/snapshot/api_op_ListSizeConstraintSets.go.snap @@ -13,7 +13,6 @@ ListSizeConstraintSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_ListSqlInjectionMatchSets.go.snap b/service/wafregional/snapshot/api_op_ListSqlInjectionMatchSets.go.snap index ef5828cabbb..6c50492c2df 100644 --- a/service/wafregional/snapshot/api_op_ListSqlInjectionMatchSets.go.snap +++ b/service/wafregional/snapshot/api_op_ListSqlInjectionMatchSets.go.snap @@ -13,7 +13,6 @@ ListSqlInjectionMatchSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_ListSubscribedRuleGroups.go.snap b/service/wafregional/snapshot/api_op_ListSubscribedRuleGroups.go.snap index c263a6d46ed..f565a8a6c96 100644 --- a/service/wafregional/snapshot/api_op_ListSubscribedRuleGroups.go.snap +++ b/service/wafregional/snapshot/api_op_ListSubscribedRuleGroups.go.snap @@ -13,7 +13,6 @@ ListSubscribedRuleGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_ListTagsForResource.go.snap b/service/wafregional/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/wafregional/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/wafregional/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_ListWebACLs.go.snap b/service/wafregional/snapshot/api_op_ListWebACLs.go.snap index fa8b2678c8c..9aa8f16c048 100644 --- a/service/wafregional/snapshot/api_op_ListWebACLs.go.snap +++ b/service/wafregional/snapshot/api_op_ListWebACLs.go.snap @@ -13,7 +13,6 @@ ListWebACLs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_ListXssMatchSets.go.snap b/service/wafregional/snapshot/api_op_ListXssMatchSets.go.snap index 8979036546a..73da227e42a 100644 --- a/service/wafregional/snapshot/api_op_ListXssMatchSets.go.snap +++ b/service/wafregional/snapshot/api_op_ListXssMatchSets.go.snap @@ -13,7 +13,6 @@ ListXssMatchSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_PutLoggingConfiguration.go.snap b/service/wafregional/snapshot/api_op_PutLoggingConfiguration.go.snap index 61163a30c2b..9901f574864 100644 --- a/service/wafregional/snapshot/api_op_PutLoggingConfiguration.go.snap +++ b/service/wafregional/snapshot/api_op_PutLoggingConfiguration.go.snap @@ -14,7 +14,6 @@ PutLoggingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_PutPermissionPolicy.go.snap b/service/wafregional/snapshot/api_op_PutPermissionPolicy.go.snap index a86f017ad59..a00d87a4a0a 100644 --- a/service/wafregional/snapshot/api_op_PutPermissionPolicy.go.snap +++ b/service/wafregional/snapshot/api_op_PutPermissionPolicy.go.snap @@ -14,7 +14,6 @@ PutPermissionPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_TagResource.go.snap b/service/wafregional/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/wafregional/snapshot/api_op_TagResource.go.snap +++ b/service/wafregional/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_UntagResource.go.snap b/service/wafregional/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/wafregional/snapshot/api_op_UntagResource.go.snap +++ b/service/wafregional/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_UpdateByteMatchSet.go.snap b/service/wafregional/snapshot/api_op_UpdateByteMatchSet.go.snap index ccc89152e97..8314b6545f2 100644 --- a/service/wafregional/snapshot/api_op_UpdateByteMatchSet.go.snap +++ b/service/wafregional/snapshot/api_op_UpdateByteMatchSet.go.snap @@ -14,7 +14,6 @@ UpdateByteMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_UpdateGeoMatchSet.go.snap b/service/wafregional/snapshot/api_op_UpdateGeoMatchSet.go.snap index 61f6f48f649..a2a3817b330 100644 --- a/service/wafregional/snapshot/api_op_UpdateGeoMatchSet.go.snap +++ b/service/wafregional/snapshot/api_op_UpdateGeoMatchSet.go.snap @@ -14,7 +14,6 @@ UpdateGeoMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_UpdateIPSet.go.snap b/service/wafregional/snapshot/api_op_UpdateIPSet.go.snap index 618ea2450c2..7a992b562ef 100644 --- a/service/wafregional/snapshot/api_op_UpdateIPSet.go.snap +++ b/service/wafregional/snapshot/api_op_UpdateIPSet.go.snap @@ -14,7 +14,6 @@ UpdateIPSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_UpdateRateBasedRule.go.snap b/service/wafregional/snapshot/api_op_UpdateRateBasedRule.go.snap index b20c386024d..11ab1d8270b 100644 --- a/service/wafregional/snapshot/api_op_UpdateRateBasedRule.go.snap +++ b/service/wafregional/snapshot/api_op_UpdateRateBasedRule.go.snap @@ -14,7 +14,6 @@ UpdateRateBasedRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_UpdateRegexMatchSet.go.snap b/service/wafregional/snapshot/api_op_UpdateRegexMatchSet.go.snap index 90028978bd1..864bf80d27e 100644 --- a/service/wafregional/snapshot/api_op_UpdateRegexMatchSet.go.snap +++ b/service/wafregional/snapshot/api_op_UpdateRegexMatchSet.go.snap @@ -14,7 +14,6 @@ UpdateRegexMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_UpdateRegexPatternSet.go.snap b/service/wafregional/snapshot/api_op_UpdateRegexPatternSet.go.snap index 229bf629726..46383793ce4 100644 --- a/service/wafregional/snapshot/api_op_UpdateRegexPatternSet.go.snap +++ b/service/wafregional/snapshot/api_op_UpdateRegexPatternSet.go.snap @@ -14,7 +14,6 @@ UpdateRegexPatternSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_UpdateRule.go.snap b/service/wafregional/snapshot/api_op_UpdateRule.go.snap index 4eccda0001c..fb285fb40de 100644 --- a/service/wafregional/snapshot/api_op_UpdateRule.go.snap +++ b/service/wafregional/snapshot/api_op_UpdateRule.go.snap @@ -14,7 +14,6 @@ UpdateRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_UpdateRuleGroup.go.snap b/service/wafregional/snapshot/api_op_UpdateRuleGroup.go.snap index 37b5c4f2ee6..d91ff56f190 100644 --- a/service/wafregional/snapshot/api_op_UpdateRuleGroup.go.snap +++ b/service/wafregional/snapshot/api_op_UpdateRuleGroup.go.snap @@ -14,7 +14,6 @@ UpdateRuleGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_UpdateSizeConstraintSet.go.snap b/service/wafregional/snapshot/api_op_UpdateSizeConstraintSet.go.snap index 0b96c91f6fe..0aecbf56df5 100644 --- a/service/wafregional/snapshot/api_op_UpdateSizeConstraintSet.go.snap +++ b/service/wafregional/snapshot/api_op_UpdateSizeConstraintSet.go.snap @@ -14,7 +14,6 @@ UpdateSizeConstraintSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_UpdateSqlInjectionMatchSet.go.snap b/service/wafregional/snapshot/api_op_UpdateSqlInjectionMatchSet.go.snap index bde97c99e9f..1c625e247fc 100644 --- a/service/wafregional/snapshot/api_op_UpdateSqlInjectionMatchSet.go.snap +++ b/service/wafregional/snapshot/api_op_UpdateSqlInjectionMatchSet.go.snap @@ -14,7 +14,6 @@ UpdateSqlInjectionMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_UpdateWebACL.go.snap b/service/wafregional/snapshot/api_op_UpdateWebACL.go.snap index 11c3033d7aa..d73c62a61a5 100644 --- a/service/wafregional/snapshot/api_op_UpdateWebACL.go.snap +++ b/service/wafregional/snapshot/api_op_UpdateWebACL.go.snap @@ -14,7 +14,6 @@ UpdateWebACL Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafregional/snapshot/api_op_UpdateXssMatchSet.go.snap b/service/wafregional/snapshot/api_op_UpdateXssMatchSet.go.snap index 006920bcd43..ef2b83fcfea 100644 --- a/service/wafregional/snapshot/api_op_UpdateXssMatchSet.go.snap +++ b/service/wafregional/snapshot/api_op_UpdateXssMatchSet.go.snap @@ -14,7 +14,6 @@ UpdateXssMatchSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/api_client.go b/service/wafv2/api_client.go index 3807af7e4fc..0be80d8fedf 100644 --- a/service/wafv2/api_client.go +++ b/service/wafv2/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/wafv2/api_op_AssociateWebACL.go b/service/wafv2/api_op_AssociateWebACL.go index c66a26f61b7..9cd86143dde 100644 --- a/service/wafv2/api_op_AssociateWebACL.go +++ b/service/wafv2/api_op_AssociateWebACL.go @@ -167,9 +167,6 @@ func (c *Client) addOperationAssociateWebACLMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateWebACLValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_CheckCapacity.go b/service/wafv2/api_op_CheckCapacity.go index 9830ddafa6f..1b8e295e52b 100644 --- a/service/wafv2/api_op_CheckCapacity.go +++ b/service/wafv2/api_op_CheckCapacity.go @@ -138,9 +138,6 @@ func (c *Client) addOperationCheckCapacityMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCheckCapacityValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_CreateAPIKey.go b/service/wafv2/api_op_CreateAPIKey.go index 62789b05d6f..95c12b5f9b7 100644 --- a/service/wafv2/api_op_CreateAPIKey.go +++ b/service/wafv2/api_op_CreateAPIKey.go @@ -142,9 +142,6 @@ func (c *Client) addOperationCreateAPIKeyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAPIKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_CreateIPSet.go b/service/wafv2/api_op_CreateIPSet.go index e155da7f9d0..8ccbdfe5374 100644 --- a/service/wafv2/api_op_CreateIPSet.go +++ b/service/wafv2/api_op_CreateIPSet.go @@ -183,9 +183,6 @@ func (c *Client) addOperationCreateIPSetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateIPSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_CreateRegexPatternSet.go b/service/wafv2/api_op_CreateRegexPatternSet.go index fb141103915..101c79d9691 100644 --- a/service/wafv2/api_op_CreateRegexPatternSet.go +++ b/service/wafv2/api_op_CreateRegexPatternSet.go @@ -141,9 +141,6 @@ func (c *Client) addOperationCreateRegexPatternSetMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRegexPatternSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_CreateRuleGroup.go b/service/wafv2/api_op_CreateRuleGroup.go index 7a1818810f0..2e0ce65e212 100644 --- a/service/wafv2/api_op_CreateRuleGroup.go +++ b/service/wafv2/api_op_CreateRuleGroup.go @@ -186,9 +186,6 @@ func (c *Client) addOperationCreateRuleGroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateRuleGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_CreateWebACL.go b/service/wafv2/api_op_CreateWebACL.go index f47f18f14e6..e60fac18d97 100644 --- a/service/wafv2/api_op_CreateWebACL.go +++ b/service/wafv2/api_op_CreateWebACL.go @@ -228,9 +228,6 @@ func (c *Client) addOperationCreateWebACLMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateWebACLValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_DeleteAPIKey.go b/service/wafv2/api_op_DeleteAPIKey.go index 011c2b02214..3448cd1e90d 100644 --- a/service/wafv2/api_op_DeleteAPIKey.go +++ b/service/wafv2/api_op_DeleteAPIKey.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDeleteAPIKeyMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAPIKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_DeleteFirewallManagerRuleGroups.go b/service/wafv2/api_op_DeleteFirewallManagerRuleGroups.go index 6bdd2057bb3..11a5aee9e6c 100644 --- a/service/wafv2/api_op_DeleteFirewallManagerRuleGroups.go +++ b/service/wafv2/api_op_DeleteFirewallManagerRuleGroups.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDeleteFirewallManagerRuleGroupsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFirewallManagerRuleGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_DeleteIPSet.go b/service/wafv2/api_op_DeleteIPSet.go index 4682468098b..11fd4826902 100644 --- a/service/wafv2/api_op_DeleteIPSet.go +++ b/service/wafv2/api_op_DeleteIPSet.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDeleteIPSetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIPSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_DeleteLoggingConfiguration.go b/service/wafv2/api_op_DeleteLoggingConfiguration.go index 4c6202f9443..3c04cb2f418 100644 --- a/service/wafv2/api_op_DeleteLoggingConfiguration.go +++ b/service/wafv2/api_op_DeleteLoggingConfiguration.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteLoggingConfigurationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLoggingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_DeletePermissionPolicy.go b/service/wafv2/api_op_DeletePermissionPolicy.go index 740e0ad90d2..107ed41e3f2 100644 --- a/service/wafv2/api_op_DeletePermissionPolicy.go +++ b/service/wafv2/api_op_DeletePermissionPolicy.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeletePermissionPolicyMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePermissionPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_DeleteRegexPatternSet.go b/service/wafv2/api_op_DeleteRegexPatternSet.go index 29e3f639d4a..d5b66cfa125 100644 --- a/service/wafv2/api_op_DeleteRegexPatternSet.go +++ b/service/wafv2/api_op_DeleteRegexPatternSet.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDeleteRegexPatternSetMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRegexPatternSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_DeleteRuleGroup.go b/service/wafv2/api_op_DeleteRuleGroup.go index e0389a966c9..8b64d38a473 100644 --- a/service/wafv2/api_op_DeleteRuleGroup.go +++ b/service/wafv2/api_op_DeleteRuleGroup.go @@ -140,9 +140,6 @@ func (c *Client) addOperationDeleteRuleGroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRuleGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_DeleteWebACL.go b/service/wafv2/api_op_DeleteWebACL.go index a6ecd83f676..2a8f8b03981 100644 --- a/service/wafv2/api_op_DeleteWebACL.go +++ b/service/wafv2/api_op_DeleteWebACL.go @@ -164,9 +164,6 @@ func (c *Client) addOperationDeleteWebACLMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWebACLValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_DescribeAllManagedProducts.go b/service/wafv2/api_op_DescribeAllManagedProducts.go index 714783fea65..f43c41d176a 100644 --- a/service/wafv2/api_op_DescribeAllManagedProducts.go +++ b/service/wafv2/api_op_DescribeAllManagedProducts.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeAllManagedProductsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeAllManagedProductsValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_DescribeManagedProductsByVendor.go b/service/wafv2/api_op_DescribeManagedProductsByVendor.go index f572195e738..e3ee0427243 100644 --- a/service/wafv2/api_op_DescribeManagedProductsByVendor.go +++ b/service/wafv2/api_op_DescribeManagedProductsByVendor.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeManagedProductsByVendorMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeManagedProductsByVendorValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_DescribeManagedRuleGroup.go b/service/wafv2/api_op_DescribeManagedRuleGroup.go index 210699a5a43..8a95a9af843 100644 --- a/service/wafv2/api_op_DescribeManagedRuleGroup.go +++ b/service/wafv2/api_op_DescribeManagedRuleGroup.go @@ -189,9 +189,6 @@ func (c *Client) addOperationDescribeManagedRuleGroupMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeManagedRuleGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_DisassociateWebACL.go b/service/wafv2/api_op_DisassociateWebACL.go index 30da779830d..7177c87e2d9 100644 --- a/service/wafv2/api_op_DisassociateWebACL.go +++ b/service/wafv2/api_op_DisassociateWebACL.go @@ -141,9 +141,6 @@ func (c *Client) addOperationDisassociateWebACLMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateWebACLValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_GenerateMobileSdkReleaseUrl.go b/service/wafv2/api_op_GenerateMobileSdkReleaseUrl.go index a0ad1b85d0d..b207494462b 100644 --- a/service/wafv2/api_op_GenerateMobileSdkReleaseUrl.go +++ b/service/wafv2/api_op_GenerateMobileSdkReleaseUrl.go @@ -124,9 +124,6 @@ func (c *Client) addOperationGenerateMobileSdkReleaseUrlMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGenerateMobileSdkReleaseUrlValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_GetDecryptedAPIKey.go b/service/wafv2/api_op_GetDecryptedAPIKey.go index 1410d4a3f66..403ac4e65d9 100644 --- a/service/wafv2/api_op_GetDecryptedAPIKey.go +++ b/service/wafv2/api_op_GetDecryptedAPIKey.go @@ -138,9 +138,6 @@ func (c *Client) addOperationGetDecryptedAPIKeyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDecryptedAPIKeyValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_GetIPSet.go b/service/wafv2/api_op_GetIPSet.go index 66d53a9150f..b88610f63e1 100644 --- a/service/wafv2/api_op_GetIPSet.go +++ b/service/wafv2/api_op_GetIPSet.go @@ -142,9 +142,6 @@ func (c *Client) addOperationGetIPSetMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIPSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_GetLoggingConfiguration.go b/service/wafv2/api_op_GetLoggingConfiguration.go index 525d7466441..0875ab6e26c 100644 --- a/service/wafv2/api_op_GetLoggingConfiguration.go +++ b/service/wafv2/api_op_GetLoggingConfiguration.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetLoggingConfigurationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLoggingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_GetManagedRuleSet.go b/service/wafv2/api_op_GetManagedRuleSet.go index 0a2a4acf4bc..b26b64168c3 100644 --- a/service/wafv2/api_op_GetManagedRuleSet.go +++ b/service/wafv2/api_op_GetManagedRuleSet.go @@ -154,9 +154,6 @@ func (c *Client) addOperationGetManagedRuleSetMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetManagedRuleSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_GetMobileSdkRelease.go b/service/wafv2/api_op_GetMobileSdkRelease.go index c54f5bf3d5d..cf7710fea62 100644 --- a/service/wafv2/api_op_GetMobileSdkRelease.go +++ b/service/wafv2/api_op_GetMobileSdkRelease.go @@ -125,9 +125,6 @@ func (c *Client) addOperationGetMobileSdkReleaseMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMobileSdkReleaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_GetPermissionPolicy.go b/service/wafv2/api_op_GetPermissionPolicy.go index f6eb506bad1..d8cd472cec3 100644 --- a/service/wafv2/api_op_GetPermissionPolicy.go +++ b/service/wafv2/api_op_GetPermissionPolicy.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetPermissionPolicyMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPermissionPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_GetRateBasedStatementManagedKeys.go b/service/wafv2/api_op_GetRateBasedStatementManagedKeys.go index 9caa05dc408..cc3e3a2daef 100644 --- a/service/wafv2/api_op_GetRateBasedStatementManagedKeys.go +++ b/service/wafv2/api_op_GetRateBasedStatementManagedKeys.go @@ -166,9 +166,6 @@ func (c *Client) addOperationGetRateBasedStatementManagedKeysMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRateBasedStatementManagedKeysValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_GetRegexPatternSet.go b/service/wafv2/api_op_GetRegexPatternSet.go index 6589633d243..28ea4a10122 100644 --- a/service/wafv2/api_op_GetRegexPatternSet.go +++ b/service/wafv2/api_op_GetRegexPatternSet.go @@ -141,9 +141,6 @@ func (c *Client) addOperationGetRegexPatternSetMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRegexPatternSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_GetRuleGroup.go b/service/wafv2/api_op_GetRuleGroup.go index 8886bd77ecc..8f9403f994f 100644 --- a/service/wafv2/api_op_GetRuleGroup.go +++ b/service/wafv2/api_op_GetRuleGroup.go @@ -139,9 +139,6 @@ func (c *Client) addOperationGetRuleGroupMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRuleGroup(options.Region), middleware.Before); err != nil { return err } diff --git a/service/wafv2/api_op_GetSampledRequests.go b/service/wafv2/api_op_GetSampledRequests.go index 331f86f1fe7..f91d04213e1 100644 --- a/service/wafv2/api_op_GetSampledRequests.go +++ b/service/wafv2/api_op_GetSampledRequests.go @@ -175,9 +175,6 @@ func (c *Client) addOperationGetSampledRequestsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSampledRequestsValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_GetWebACL.go b/service/wafv2/api_op_GetWebACL.go index 03f88be28dc..7c159bfd89e 100644 --- a/service/wafv2/api_op_GetWebACL.go +++ b/service/wafv2/api_op_GetWebACL.go @@ -154,9 +154,6 @@ func (c *Client) addOperationGetWebACLMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWebACLValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_GetWebACLForResource.go b/service/wafv2/api_op_GetWebACLForResource.go index 7a1ffa63b8f..016dbceb6d2 100644 --- a/service/wafv2/api_op_GetWebACLForResource.go +++ b/service/wafv2/api_op_GetWebACLForResource.go @@ -151,9 +151,6 @@ func (c *Client) addOperationGetWebACLForResourceMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWebACLForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_ListAPIKeys.go b/service/wafv2/api_op_ListAPIKeys.go index a8e7034a1bc..5efca523a7d 100644 --- a/service/wafv2/api_op_ListAPIKeys.go +++ b/service/wafv2/api_op_ListAPIKeys.go @@ -150,9 +150,6 @@ func (c *Client) addOperationListAPIKeysMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAPIKeysValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_ListAvailableManagedRuleGroupVersions.go b/service/wafv2/api_op_ListAvailableManagedRuleGroupVersions.go index 108ada2719c..45e1c5ff315 100644 --- a/service/wafv2/api_op_ListAvailableManagedRuleGroupVersions.go +++ b/service/wafv2/api_op_ListAvailableManagedRuleGroupVersions.go @@ -154,9 +154,6 @@ func (c *Client) addOperationListAvailableManagedRuleGroupVersionsMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAvailableManagedRuleGroupVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_ListAvailableManagedRuleGroups.go b/service/wafv2/api_op_ListAvailableManagedRuleGroups.go index 988398c1762..1f477c1ccc4 100644 --- a/service/wafv2/api_op_ListAvailableManagedRuleGroups.go +++ b/service/wafv2/api_op_ListAvailableManagedRuleGroups.go @@ -142,9 +142,6 @@ func (c *Client) addOperationListAvailableManagedRuleGroupsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAvailableManagedRuleGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_ListIPSets.go b/service/wafv2/api_op_ListIPSets.go index 2196f63e751..8f5adccc729 100644 --- a/service/wafv2/api_op_ListIPSets.go +++ b/service/wafv2/api_op_ListIPSets.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListIPSetsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIPSetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_ListLoggingConfigurations.go b/service/wafv2/api_op_ListLoggingConfigurations.go index 840256b5fef..2a42e82f539 100644 --- a/service/wafv2/api_op_ListLoggingConfigurations.go +++ b/service/wafv2/api_op_ListLoggingConfigurations.go @@ -152,9 +152,6 @@ func (c *Client) addOperationListLoggingConfigurationsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListLoggingConfigurationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_ListManagedRuleSets.go b/service/wafv2/api_op_ListManagedRuleSets.go index 9d1f44f58c1..c4fb7f347ad 100644 --- a/service/wafv2/api_op_ListManagedRuleSets.go +++ b/service/wafv2/api_op_ListManagedRuleSets.go @@ -147,9 +147,6 @@ func (c *Client) addOperationListManagedRuleSetsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListManagedRuleSetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_ListMobileSdkReleases.go b/service/wafv2/api_op_ListMobileSdkReleases.go index 70a82ce32cd..f831d460d56 100644 --- a/service/wafv2/api_op_ListMobileSdkReleases.go +++ b/service/wafv2/api_op_ListMobileSdkReleases.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListMobileSdkReleasesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMobileSdkReleasesValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_ListRegexPatternSets.go b/service/wafv2/api_op_ListRegexPatternSets.go index 85e69782cc3..67b641bfb2b 100644 --- a/service/wafv2/api_op_ListRegexPatternSets.go +++ b/service/wafv2/api_op_ListRegexPatternSets.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListRegexPatternSetsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRegexPatternSetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_ListResourcesForWebACL.go b/service/wafv2/api_op_ListResourcesForWebACL.go index f919f84bbab..af346c159bf 100644 --- a/service/wafv2/api_op_ListResourcesForWebACL.go +++ b/service/wafv2/api_op_ListResourcesForWebACL.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListResourcesForWebACLMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListResourcesForWebACLValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_ListRuleGroups.go b/service/wafv2/api_op_ListRuleGroups.go index a44ccb17dc5..239d2ce0ee8 100644 --- a/service/wafv2/api_op_ListRuleGroups.go +++ b/service/wafv2/api_op_ListRuleGroups.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListRuleGroupsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRuleGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_ListTagsForResource.go b/service/wafv2/api_op_ListTagsForResource.go index 8aeeba2bf5c..9ed8a48887b 100644 --- a/service/wafv2/api_op_ListTagsForResource.go +++ b/service/wafv2/api_op_ListTagsForResource.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_ListWebACLs.go b/service/wafv2/api_op_ListWebACLs.go index 4ada6f1c683..99709fb2fbe 100644 --- a/service/wafv2/api_op_ListWebACLs.go +++ b/service/wafv2/api_op_ListWebACLs.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListWebACLsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListWebACLsValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_PutLoggingConfiguration.go b/service/wafv2/api_op_PutLoggingConfiguration.go index f9bf657ea36..7b67895ae82 100644 --- a/service/wafv2/api_op_PutLoggingConfiguration.go +++ b/service/wafv2/api_op_PutLoggingConfiguration.go @@ -161,9 +161,6 @@ func (c *Client) addOperationPutLoggingConfigurationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutLoggingConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_PutManagedRuleSetVersions.go b/service/wafv2/api_op_PutManagedRuleSetVersions.go index 24259930a5a..e853fd75991 100644 --- a/service/wafv2/api_op_PutManagedRuleSetVersions.go +++ b/service/wafv2/api_op_PutManagedRuleSetVersions.go @@ -180,9 +180,6 @@ func (c *Client) addOperationPutManagedRuleSetVersionsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutManagedRuleSetVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_PutPermissionPolicy.go b/service/wafv2/api_op_PutPermissionPolicy.go index 03e200d4b94..0896a79de19 100644 --- a/service/wafv2/api_op_PutPermissionPolicy.go +++ b/service/wafv2/api_op_PutPermissionPolicy.go @@ -148,9 +148,6 @@ func (c *Client) addOperationPutPermissionPolicyMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutPermissionPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_TagResource.go b/service/wafv2/api_op_TagResource.go index bfbedf6f68e..478c458cbad 100644 --- a/service/wafv2/api_op_TagResource.go +++ b/service/wafv2/api_op_TagResource.go @@ -121,9 +121,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_UntagResource.go b/service/wafv2/api_op_UntagResource.go index a28140e47d8..ad3a34a5186 100644 --- a/service/wafv2/api_op_UntagResource.go +++ b/service/wafv2/api_op_UntagResource.go @@ -116,9 +116,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_UpdateIPSet.go b/service/wafv2/api_op_UpdateIPSet.go index 320f631699c..0b46c0fc325 100644 --- a/service/wafv2/api_op_UpdateIPSet.go +++ b/service/wafv2/api_op_UpdateIPSet.go @@ -220,9 +220,6 @@ func (c *Client) addOperationUpdateIPSetMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateIPSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_UpdateManagedRuleSetVersionExpiryDate.go b/service/wafv2/api_op_UpdateManagedRuleSetVersionExpiryDate.go index 73e776a159b..8470a8a4517 100644 --- a/service/wafv2/api_op_UpdateManagedRuleSetVersionExpiryDate.go +++ b/service/wafv2/api_op_UpdateManagedRuleSetVersionExpiryDate.go @@ -189,9 +189,6 @@ func (c *Client) addOperationUpdateManagedRuleSetVersionExpiryDateMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateManagedRuleSetVersionExpiryDateValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_UpdateRegexPatternSet.go b/service/wafv2/api_op_UpdateRegexPatternSet.go index 29116f7e85f..58c899feaf1 100644 --- a/service/wafv2/api_op_UpdateRegexPatternSet.go +++ b/service/wafv2/api_op_UpdateRegexPatternSet.go @@ -184,9 +184,6 @@ func (c *Client) addOperationUpdateRegexPatternSetMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRegexPatternSetValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_UpdateRuleGroup.go b/service/wafv2/api_op_UpdateRuleGroup.go index 538cfbada95..0793550eea6 100644 --- a/service/wafv2/api_op_UpdateRuleGroup.go +++ b/service/wafv2/api_op_UpdateRuleGroup.go @@ -212,9 +212,6 @@ func (c *Client) addOperationUpdateRuleGroupMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRuleGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/api_op_UpdateWebACL.go b/service/wafv2/api_op_UpdateWebACL.go index 5af483bc7ff..5ae984c4cf7 100644 --- a/service/wafv2/api_op_UpdateWebACL.go +++ b/service/wafv2/api_op_UpdateWebACL.go @@ -274,9 +274,6 @@ func (c *Client) addOperationUpdateWebACLMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateWebACLValidationMiddleware(stack); err != nil { return err } diff --git a/service/wafv2/snapshot/api_op_AssociateWebACL.go.snap b/service/wafv2/snapshot/api_op_AssociateWebACL.go.snap index c86c208b179..25693b11b6b 100644 --- a/service/wafv2/snapshot/api_op_AssociateWebACL.go.snap +++ b/service/wafv2/snapshot/api_op_AssociateWebACL.go.snap @@ -14,7 +14,6 @@ AssociateWebACL Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_CheckCapacity.go.snap b/service/wafv2/snapshot/api_op_CheckCapacity.go.snap index 8445089b647..c30e7943cd3 100644 --- a/service/wafv2/snapshot/api_op_CheckCapacity.go.snap +++ b/service/wafv2/snapshot/api_op_CheckCapacity.go.snap @@ -14,7 +14,6 @@ CheckCapacity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_CreateAPIKey.go.snap b/service/wafv2/snapshot/api_op_CreateAPIKey.go.snap index 278eb11cab7..d4440796942 100644 --- a/service/wafv2/snapshot/api_op_CreateAPIKey.go.snap +++ b/service/wafv2/snapshot/api_op_CreateAPIKey.go.snap @@ -14,7 +14,6 @@ CreateAPIKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_CreateIPSet.go.snap b/service/wafv2/snapshot/api_op_CreateIPSet.go.snap index f98a273b10c..24d7fa93ca8 100644 --- a/service/wafv2/snapshot/api_op_CreateIPSet.go.snap +++ b/service/wafv2/snapshot/api_op_CreateIPSet.go.snap @@ -14,7 +14,6 @@ CreateIPSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_CreateRegexPatternSet.go.snap b/service/wafv2/snapshot/api_op_CreateRegexPatternSet.go.snap index 6648b99baba..44543c4e57d 100644 --- a/service/wafv2/snapshot/api_op_CreateRegexPatternSet.go.snap +++ b/service/wafv2/snapshot/api_op_CreateRegexPatternSet.go.snap @@ -14,7 +14,6 @@ CreateRegexPatternSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_CreateRuleGroup.go.snap b/service/wafv2/snapshot/api_op_CreateRuleGroup.go.snap index 108ec0e0bc3..8bcaa33c0da 100644 --- a/service/wafv2/snapshot/api_op_CreateRuleGroup.go.snap +++ b/service/wafv2/snapshot/api_op_CreateRuleGroup.go.snap @@ -14,7 +14,6 @@ CreateRuleGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_CreateWebACL.go.snap b/service/wafv2/snapshot/api_op_CreateWebACL.go.snap index 13c82c885b6..99553d00f00 100644 --- a/service/wafv2/snapshot/api_op_CreateWebACL.go.snap +++ b/service/wafv2/snapshot/api_op_CreateWebACL.go.snap @@ -14,7 +14,6 @@ CreateWebACL Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_DeleteAPIKey.go.snap b/service/wafv2/snapshot/api_op_DeleteAPIKey.go.snap index 653e8db51f4..9dc7bf609b3 100644 --- a/service/wafv2/snapshot/api_op_DeleteAPIKey.go.snap +++ b/service/wafv2/snapshot/api_op_DeleteAPIKey.go.snap @@ -14,7 +14,6 @@ DeleteAPIKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_DeleteFirewallManagerRuleGroups.go.snap b/service/wafv2/snapshot/api_op_DeleteFirewallManagerRuleGroups.go.snap index f6c790acaac..b5140075624 100644 --- a/service/wafv2/snapshot/api_op_DeleteFirewallManagerRuleGroups.go.snap +++ b/service/wafv2/snapshot/api_op_DeleteFirewallManagerRuleGroups.go.snap @@ -14,7 +14,6 @@ DeleteFirewallManagerRuleGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_DeleteIPSet.go.snap b/service/wafv2/snapshot/api_op_DeleteIPSet.go.snap index 894b0413d99..f87125d5108 100644 --- a/service/wafv2/snapshot/api_op_DeleteIPSet.go.snap +++ b/service/wafv2/snapshot/api_op_DeleteIPSet.go.snap @@ -14,7 +14,6 @@ DeleteIPSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_DeleteLoggingConfiguration.go.snap b/service/wafv2/snapshot/api_op_DeleteLoggingConfiguration.go.snap index 2bd9fd0a6ec..ffacd84d1b6 100644 --- a/service/wafv2/snapshot/api_op_DeleteLoggingConfiguration.go.snap +++ b/service/wafv2/snapshot/api_op_DeleteLoggingConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteLoggingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_DeletePermissionPolicy.go.snap b/service/wafv2/snapshot/api_op_DeletePermissionPolicy.go.snap index 81f5b2fce03..da5694bcea6 100644 --- a/service/wafv2/snapshot/api_op_DeletePermissionPolicy.go.snap +++ b/service/wafv2/snapshot/api_op_DeletePermissionPolicy.go.snap @@ -14,7 +14,6 @@ DeletePermissionPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_DeleteRegexPatternSet.go.snap b/service/wafv2/snapshot/api_op_DeleteRegexPatternSet.go.snap index 0427a6b0572..60ad2c403d1 100644 --- a/service/wafv2/snapshot/api_op_DeleteRegexPatternSet.go.snap +++ b/service/wafv2/snapshot/api_op_DeleteRegexPatternSet.go.snap @@ -14,7 +14,6 @@ DeleteRegexPatternSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_DeleteRuleGroup.go.snap b/service/wafv2/snapshot/api_op_DeleteRuleGroup.go.snap index 01b6c9b3359..cd8064516a5 100644 --- a/service/wafv2/snapshot/api_op_DeleteRuleGroup.go.snap +++ b/service/wafv2/snapshot/api_op_DeleteRuleGroup.go.snap @@ -14,7 +14,6 @@ DeleteRuleGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_DeleteWebACL.go.snap b/service/wafv2/snapshot/api_op_DeleteWebACL.go.snap index e93e5e29dce..2adf9a514e1 100644 --- a/service/wafv2/snapshot/api_op_DeleteWebACL.go.snap +++ b/service/wafv2/snapshot/api_op_DeleteWebACL.go.snap @@ -14,7 +14,6 @@ DeleteWebACL Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_DescribeAllManagedProducts.go.snap b/service/wafv2/snapshot/api_op_DescribeAllManagedProducts.go.snap index a1b9d23bd26..8cdac45d1fb 100644 --- a/service/wafv2/snapshot/api_op_DescribeAllManagedProducts.go.snap +++ b/service/wafv2/snapshot/api_op_DescribeAllManagedProducts.go.snap @@ -14,7 +14,6 @@ DescribeAllManagedProducts Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_DescribeManagedProductsByVendor.go.snap b/service/wafv2/snapshot/api_op_DescribeManagedProductsByVendor.go.snap index c3063c3652d..ccef5d503d5 100644 --- a/service/wafv2/snapshot/api_op_DescribeManagedProductsByVendor.go.snap +++ b/service/wafv2/snapshot/api_op_DescribeManagedProductsByVendor.go.snap @@ -14,7 +14,6 @@ DescribeManagedProductsByVendor Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_DescribeManagedRuleGroup.go.snap b/service/wafv2/snapshot/api_op_DescribeManagedRuleGroup.go.snap index 6ac5c5d8a82..301702fbc5e 100644 --- a/service/wafv2/snapshot/api_op_DescribeManagedRuleGroup.go.snap +++ b/service/wafv2/snapshot/api_op_DescribeManagedRuleGroup.go.snap @@ -14,7 +14,6 @@ DescribeManagedRuleGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_DisassociateWebACL.go.snap b/service/wafv2/snapshot/api_op_DisassociateWebACL.go.snap index cc081162a4d..cc0085aa486 100644 --- a/service/wafv2/snapshot/api_op_DisassociateWebACL.go.snap +++ b/service/wafv2/snapshot/api_op_DisassociateWebACL.go.snap @@ -14,7 +14,6 @@ DisassociateWebACL Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_GenerateMobileSdkReleaseUrl.go.snap b/service/wafv2/snapshot/api_op_GenerateMobileSdkReleaseUrl.go.snap index f0571439755..8e266bf02a2 100644 --- a/service/wafv2/snapshot/api_op_GenerateMobileSdkReleaseUrl.go.snap +++ b/service/wafv2/snapshot/api_op_GenerateMobileSdkReleaseUrl.go.snap @@ -14,7 +14,6 @@ GenerateMobileSdkReleaseUrl Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_GetDecryptedAPIKey.go.snap b/service/wafv2/snapshot/api_op_GetDecryptedAPIKey.go.snap index 200f50b6828..5076fc5cf2b 100644 --- a/service/wafv2/snapshot/api_op_GetDecryptedAPIKey.go.snap +++ b/service/wafv2/snapshot/api_op_GetDecryptedAPIKey.go.snap @@ -14,7 +14,6 @@ GetDecryptedAPIKey Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_GetIPSet.go.snap b/service/wafv2/snapshot/api_op_GetIPSet.go.snap index 7d7db55e04b..61abc94916f 100644 --- a/service/wafv2/snapshot/api_op_GetIPSet.go.snap +++ b/service/wafv2/snapshot/api_op_GetIPSet.go.snap @@ -14,7 +14,6 @@ GetIPSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_GetLoggingConfiguration.go.snap b/service/wafv2/snapshot/api_op_GetLoggingConfiguration.go.snap index 608e41b7d36..52dd838fbc5 100644 --- a/service/wafv2/snapshot/api_op_GetLoggingConfiguration.go.snap +++ b/service/wafv2/snapshot/api_op_GetLoggingConfiguration.go.snap @@ -14,7 +14,6 @@ GetLoggingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_GetManagedRuleSet.go.snap b/service/wafv2/snapshot/api_op_GetManagedRuleSet.go.snap index e4b11fa037d..9e94e5f4370 100644 --- a/service/wafv2/snapshot/api_op_GetManagedRuleSet.go.snap +++ b/service/wafv2/snapshot/api_op_GetManagedRuleSet.go.snap @@ -14,7 +14,6 @@ GetManagedRuleSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_GetMobileSdkRelease.go.snap b/service/wafv2/snapshot/api_op_GetMobileSdkRelease.go.snap index c0dd72db896..11f2d353525 100644 --- a/service/wafv2/snapshot/api_op_GetMobileSdkRelease.go.snap +++ b/service/wafv2/snapshot/api_op_GetMobileSdkRelease.go.snap @@ -14,7 +14,6 @@ GetMobileSdkRelease Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_GetPermissionPolicy.go.snap b/service/wafv2/snapshot/api_op_GetPermissionPolicy.go.snap index a6327c13116..94352f95152 100644 --- a/service/wafv2/snapshot/api_op_GetPermissionPolicy.go.snap +++ b/service/wafv2/snapshot/api_op_GetPermissionPolicy.go.snap @@ -14,7 +14,6 @@ GetPermissionPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_GetRateBasedStatementManagedKeys.go.snap b/service/wafv2/snapshot/api_op_GetRateBasedStatementManagedKeys.go.snap index a8323ad6729..19ad8353030 100644 --- a/service/wafv2/snapshot/api_op_GetRateBasedStatementManagedKeys.go.snap +++ b/service/wafv2/snapshot/api_op_GetRateBasedStatementManagedKeys.go.snap @@ -14,7 +14,6 @@ GetRateBasedStatementManagedKeys Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_GetRegexPatternSet.go.snap b/service/wafv2/snapshot/api_op_GetRegexPatternSet.go.snap index b268242ea1a..024ba467246 100644 --- a/service/wafv2/snapshot/api_op_GetRegexPatternSet.go.snap +++ b/service/wafv2/snapshot/api_op_GetRegexPatternSet.go.snap @@ -14,7 +14,6 @@ GetRegexPatternSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_GetRuleGroup.go.snap b/service/wafv2/snapshot/api_op_GetRuleGroup.go.snap index 2e5383b58c0..f8a58f561e8 100644 --- a/service/wafv2/snapshot/api_op_GetRuleGroup.go.snap +++ b/service/wafv2/snapshot/api_op_GetRuleGroup.go.snap @@ -13,7 +13,6 @@ GetRuleGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_GetSampledRequests.go.snap b/service/wafv2/snapshot/api_op_GetSampledRequests.go.snap index 4dc9e3a00bc..613bb541e09 100644 --- a/service/wafv2/snapshot/api_op_GetSampledRequests.go.snap +++ b/service/wafv2/snapshot/api_op_GetSampledRequests.go.snap @@ -14,7 +14,6 @@ GetSampledRequests Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_GetWebACL.go.snap b/service/wafv2/snapshot/api_op_GetWebACL.go.snap index 389160e4238..8c306b3610b 100644 --- a/service/wafv2/snapshot/api_op_GetWebACL.go.snap +++ b/service/wafv2/snapshot/api_op_GetWebACL.go.snap @@ -14,7 +14,6 @@ GetWebACL Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_GetWebACLForResource.go.snap b/service/wafv2/snapshot/api_op_GetWebACLForResource.go.snap index a075c7b5f01..646d7abf522 100644 --- a/service/wafv2/snapshot/api_op_GetWebACLForResource.go.snap +++ b/service/wafv2/snapshot/api_op_GetWebACLForResource.go.snap @@ -14,7 +14,6 @@ GetWebACLForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_ListAPIKeys.go.snap b/service/wafv2/snapshot/api_op_ListAPIKeys.go.snap index c19772b181c..b9ee9ab4375 100644 --- a/service/wafv2/snapshot/api_op_ListAPIKeys.go.snap +++ b/service/wafv2/snapshot/api_op_ListAPIKeys.go.snap @@ -14,7 +14,6 @@ ListAPIKeys Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_ListAvailableManagedRuleGroupVersions.go.snap b/service/wafv2/snapshot/api_op_ListAvailableManagedRuleGroupVersions.go.snap index 1381eb489e8..307dfd6997f 100644 --- a/service/wafv2/snapshot/api_op_ListAvailableManagedRuleGroupVersions.go.snap +++ b/service/wafv2/snapshot/api_op_ListAvailableManagedRuleGroupVersions.go.snap @@ -14,7 +14,6 @@ ListAvailableManagedRuleGroupVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_ListAvailableManagedRuleGroups.go.snap b/service/wafv2/snapshot/api_op_ListAvailableManagedRuleGroups.go.snap index 357add124bf..8fda59936f9 100644 --- a/service/wafv2/snapshot/api_op_ListAvailableManagedRuleGroups.go.snap +++ b/service/wafv2/snapshot/api_op_ListAvailableManagedRuleGroups.go.snap @@ -14,7 +14,6 @@ ListAvailableManagedRuleGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_ListIPSets.go.snap b/service/wafv2/snapshot/api_op_ListIPSets.go.snap index 6488bba93f9..48774b15039 100644 --- a/service/wafv2/snapshot/api_op_ListIPSets.go.snap +++ b/service/wafv2/snapshot/api_op_ListIPSets.go.snap @@ -14,7 +14,6 @@ ListIPSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_ListLoggingConfigurations.go.snap b/service/wafv2/snapshot/api_op_ListLoggingConfigurations.go.snap index 54629af9dbe..579c819ea04 100644 --- a/service/wafv2/snapshot/api_op_ListLoggingConfigurations.go.snap +++ b/service/wafv2/snapshot/api_op_ListLoggingConfigurations.go.snap @@ -14,7 +14,6 @@ ListLoggingConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_ListManagedRuleSets.go.snap b/service/wafv2/snapshot/api_op_ListManagedRuleSets.go.snap index 0a891fc5dba..c416da59dad 100644 --- a/service/wafv2/snapshot/api_op_ListManagedRuleSets.go.snap +++ b/service/wafv2/snapshot/api_op_ListManagedRuleSets.go.snap @@ -14,7 +14,6 @@ ListManagedRuleSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_ListMobileSdkReleases.go.snap b/service/wafv2/snapshot/api_op_ListMobileSdkReleases.go.snap index b26489e48b3..84c5ba01ded 100644 --- a/service/wafv2/snapshot/api_op_ListMobileSdkReleases.go.snap +++ b/service/wafv2/snapshot/api_op_ListMobileSdkReleases.go.snap @@ -14,7 +14,6 @@ ListMobileSdkReleases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_ListRegexPatternSets.go.snap b/service/wafv2/snapshot/api_op_ListRegexPatternSets.go.snap index 23d628d7636..6b1af8bc873 100644 --- a/service/wafv2/snapshot/api_op_ListRegexPatternSets.go.snap +++ b/service/wafv2/snapshot/api_op_ListRegexPatternSets.go.snap @@ -14,7 +14,6 @@ ListRegexPatternSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_ListResourcesForWebACL.go.snap b/service/wafv2/snapshot/api_op_ListResourcesForWebACL.go.snap index e6b27ac48c7..32623724926 100644 --- a/service/wafv2/snapshot/api_op_ListResourcesForWebACL.go.snap +++ b/service/wafv2/snapshot/api_op_ListResourcesForWebACL.go.snap @@ -14,7 +14,6 @@ ListResourcesForWebACL Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_ListRuleGroups.go.snap b/service/wafv2/snapshot/api_op_ListRuleGroups.go.snap index 952be7f778d..59a9d02101f 100644 --- a/service/wafv2/snapshot/api_op_ListRuleGroups.go.snap +++ b/service/wafv2/snapshot/api_op_ListRuleGroups.go.snap @@ -14,7 +14,6 @@ ListRuleGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_ListTagsForResource.go.snap b/service/wafv2/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/wafv2/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/wafv2/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_ListWebACLs.go.snap b/service/wafv2/snapshot/api_op_ListWebACLs.go.snap index 93f1c052409..a3012f2d648 100644 --- a/service/wafv2/snapshot/api_op_ListWebACLs.go.snap +++ b/service/wafv2/snapshot/api_op_ListWebACLs.go.snap @@ -14,7 +14,6 @@ ListWebACLs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_PutLoggingConfiguration.go.snap b/service/wafv2/snapshot/api_op_PutLoggingConfiguration.go.snap index 61163a30c2b..9901f574864 100644 --- a/service/wafv2/snapshot/api_op_PutLoggingConfiguration.go.snap +++ b/service/wafv2/snapshot/api_op_PutLoggingConfiguration.go.snap @@ -14,7 +14,6 @@ PutLoggingConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_PutManagedRuleSetVersions.go.snap b/service/wafv2/snapshot/api_op_PutManagedRuleSetVersions.go.snap index a246e247cd5..c611f622699 100644 --- a/service/wafv2/snapshot/api_op_PutManagedRuleSetVersions.go.snap +++ b/service/wafv2/snapshot/api_op_PutManagedRuleSetVersions.go.snap @@ -14,7 +14,6 @@ PutManagedRuleSetVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_PutPermissionPolicy.go.snap b/service/wafv2/snapshot/api_op_PutPermissionPolicy.go.snap index a86f017ad59..a00d87a4a0a 100644 --- a/service/wafv2/snapshot/api_op_PutPermissionPolicy.go.snap +++ b/service/wafv2/snapshot/api_op_PutPermissionPolicy.go.snap @@ -14,7 +14,6 @@ PutPermissionPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_TagResource.go.snap b/service/wafv2/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/wafv2/snapshot/api_op_TagResource.go.snap +++ b/service/wafv2/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_UntagResource.go.snap b/service/wafv2/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/wafv2/snapshot/api_op_UntagResource.go.snap +++ b/service/wafv2/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_UpdateIPSet.go.snap b/service/wafv2/snapshot/api_op_UpdateIPSet.go.snap index 618ea2450c2..7a992b562ef 100644 --- a/service/wafv2/snapshot/api_op_UpdateIPSet.go.snap +++ b/service/wafv2/snapshot/api_op_UpdateIPSet.go.snap @@ -14,7 +14,6 @@ UpdateIPSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_UpdateManagedRuleSetVersionExpiryDate.go.snap b/service/wafv2/snapshot/api_op_UpdateManagedRuleSetVersionExpiryDate.go.snap index adb920553af..c28684ae5a5 100644 --- a/service/wafv2/snapshot/api_op_UpdateManagedRuleSetVersionExpiryDate.go.snap +++ b/service/wafv2/snapshot/api_op_UpdateManagedRuleSetVersionExpiryDate.go.snap @@ -14,7 +14,6 @@ UpdateManagedRuleSetVersionExpiryDate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_UpdateRegexPatternSet.go.snap b/service/wafv2/snapshot/api_op_UpdateRegexPatternSet.go.snap index 229bf629726..46383793ce4 100644 --- a/service/wafv2/snapshot/api_op_UpdateRegexPatternSet.go.snap +++ b/service/wafv2/snapshot/api_op_UpdateRegexPatternSet.go.snap @@ -14,7 +14,6 @@ UpdateRegexPatternSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_UpdateRuleGroup.go.snap b/service/wafv2/snapshot/api_op_UpdateRuleGroup.go.snap index 37b5c4f2ee6..d91ff56f190 100644 --- a/service/wafv2/snapshot/api_op_UpdateRuleGroup.go.snap +++ b/service/wafv2/snapshot/api_op_UpdateRuleGroup.go.snap @@ -14,7 +14,6 @@ UpdateRuleGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wafv2/snapshot/api_op_UpdateWebACL.go.snap b/service/wafv2/snapshot/api_op_UpdateWebACL.go.snap index 11c3033d7aa..d73c62a61a5 100644 --- a/service/wafv2/snapshot/api_op_UpdateWebACL.go.snap +++ b/service/wafv2/snapshot/api_op_UpdateWebACL.go.snap @@ -14,7 +14,6 @@ UpdateWebACL Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/api_client.go b/service/wellarchitected/api_client.go index 3594f9edcb5..aaaf10ba9dd 100644 --- a/service/wellarchitected/api_client.go +++ b/service/wellarchitected/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/wellarchitected/api_op_AssociateLenses.go b/service/wellarchitected/api_op_AssociateLenses.go index 22514e5ed0b..01d4846e24c 100644 --- a/service/wellarchitected/api_op_AssociateLenses.go +++ b/service/wellarchitected/api_op_AssociateLenses.go @@ -127,9 +127,6 @@ func (c *Client) addOperationAssociateLensesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateLensesValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_AssociateProfiles.go b/service/wellarchitected/api_op_AssociateProfiles.go index 7d7c7996fdb..dc5d00e2bd3 100644 --- a/service/wellarchitected/api_op_AssociateProfiles.go +++ b/service/wellarchitected/api_op_AssociateProfiles.go @@ -113,9 +113,6 @@ func (c *Client) addOperationAssociateProfilesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateProfilesValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_CreateLensShare.go b/service/wellarchitected/api_op_CreateLensShare.go index 84d8b1abd57..917324cf558 100644 --- a/service/wellarchitected/api_op_CreateLensShare.go +++ b/service/wellarchitected/api_op_CreateLensShare.go @@ -167,9 +167,6 @@ func (c *Client) addOperationCreateLensShareMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateLensShareMiddleware(stack, options); err != nil { return err } diff --git a/service/wellarchitected/api_op_CreateLensVersion.go b/service/wellarchitected/api_op_CreateLensVersion.go index 232d9f11864..8057773de74 100644 --- a/service/wellarchitected/api_op_CreateLensVersion.go +++ b/service/wellarchitected/api_op_CreateLensVersion.go @@ -157,9 +157,6 @@ func (c *Client) addOperationCreateLensVersionMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateLensVersionMiddleware(stack, options); err != nil { return err } diff --git a/service/wellarchitected/api_op_CreateMilestone.go b/service/wellarchitected/api_op_CreateMilestone.go index 3c42f68f20c..a2678a7bef1 100644 --- a/service/wellarchitected/api_op_CreateMilestone.go +++ b/service/wellarchitected/api_op_CreateMilestone.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCreateMilestoneMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateMilestoneMiddleware(stack, options); err != nil { return err } diff --git a/service/wellarchitected/api_op_CreateProfile.go b/service/wellarchitected/api_op_CreateProfile.go index 459bfb3b2b0..d39755b71c7 100644 --- a/service/wellarchitected/api_op_CreateProfile.go +++ b/service/wellarchitected/api_op_CreateProfile.go @@ -144,9 +144,6 @@ func (c *Client) addOperationCreateProfileMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateProfileMiddleware(stack, options); err != nil { return err } diff --git a/service/wellarchitected/api_op_CreateProfileShare.go b/service/wellarchitected/api_op_CreateProfileShare.go index 73f05a3fad5..1037725a42e 100644 --- a/service/wellarchitected/api_op_CreateProfileShare.go +++ b/service/wellarchitected/api_op_CreateProfileShare.go @@ -136,9 +136,6 @@ func (c *Client) addOperationCreateProfileShareMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateProfileShareMiddleware(stack, options); err != nil { return err } diff --git a/service/wellarchitected/api_op_CreateReviewTemplate.go b/service/wellarchitected/api_op_CreateReviewTemplate.go index 6b8777b0ef9..fe3bf637d79 100644 --- a/service/wellarchitected/api_op_CreateReviewTemplate.go +++ b/service/wellarchitected/api_op_CreateReviewTemplate.go @@ -155,9 +155,6 @@ func (c *Client) addOperationCreateReviewTemplateMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateReviewTemplateMiddleware(stack, options); err != nil { return err } diff --git a/service/wellarchitected/api_op_CreateTemplateShare.go b/service/wellarchitected/api_op_CreateTemplateShare.go index c36aea6e099..533a06604b3 100644 --- a/service/wellarchitected/api_op_CreateTemplateShare.go +++ b/service/wellarchitected/api_op_CreateTemplateShare.go @@ -152,9 +152,6 @@ func (c *Client) addOperationCreateTemplateShareMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateTemplateShareMiddleware(stack, options); err != nil { return err } diff --git a/service/wellarchitected/api_op_CreateWorkload.go b/service/wellarchitected/api_op_CreateWorkload.go index 61478b91adf..a499147c593 100644 --- a/service/wellarchitected/api_op_CreateWorkload.go +++ b/service/wellarchitected/api_op_CreateWorkload.go @@ -288,9 +288,6 @@ func (c *Client) addOperationCreateWorkloadMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateWorkloadMiddleware(stack, options); err != nil { return err } diff --git a/service/wellarchitected/api_op_CreateWorkloadShare.go b/service/wellarchitected/api_op_CreateWorkloadShare.go index dcc9eb12cf1..680e8d4bf4f 100644 --- a/service/wellarchitected/api_op_CreateWorkloadShare.go +++ b/service/wellarchitected/api_op_CreateWorkloadShare.go @@ -157,9 +157,6 @@ func (c *Client) addOperationCreateWorkloadShareMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateWorkloadShareMiddleware(stack, options); err != nil { return err } diff --git a/service/wellarchitected/api_op_DeleteLens.go b/service/wellarchitected/api_op_DeleteLens.go index ef4471fe046..0e82f681b22 100644 --- a/service/wellarchitected/api_op_DeleteLens.go +++ b/service/wellarchitected/api_op_DeleteLens.go @@ -153,9 +153,6 @@ func (c *Client) addOperationDeleteLensMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteLensMiddleware(stack, options); err != nil { return err } diff --git a/service/wellarchitected/api_op_DeleteLensShare.go b/service/wellarchitected/api_op_DeleteLensShare.go index 696c18d3fe5..71dc38c751c 100644 --- a/service/wellarchitected/api_op_DeleteLensShare.go +++ b/service/wellarchitected/api_op_DeleteLensShare.go @@ -153,9 +153,6 @@ func (c *Client) addOperationDeleteLensShareMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteLensShareMiddleware(stack, options); err != nil { return err } diff --git a/service/wellarchitected/api_op_DeleteProfile.go b/service/wellarchitected/api_op_DeleteProfile.go index 43f508073fd..59803d4e402 100644 --- a/service/wellarchitected/api_op_DeleteProfile.go +++ b/service/wellarchitected/api_op_DeleteProfile.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDeleteProfileMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteProfileMiddleware(stack, options); err != nil { return err } diff --git a/service/wellarchitected/api_op_DeleteProfileShare.go b/service/wellarchitected/api_op_DeleteProfileShare.go index e1a0a0c2079..822e419279f 100644 --- a/service/wellarchitected/api_op_DeleteProfileShare.go +++ b/service/wellarchitected/api_op_DeleteProfileShare.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDeleteProfileShareMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteProfileShareMiddleware(stack, options); err != nil { return err } diff --git a/service/wellarchitected/api_op_DeleteReviewTemplate.go b/service/wellarchitected/api_op_DeleteReviewTemplate.go index 5e36316cbc7..8880c2a1e58 100644 --- a/service/wellarchitected/api_op_DeleteReviewTemplate.go +++ b/service/wellarchitected/api_op_DeleteReviewTemplate.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDeleteReviewTemplateMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteReviewTemplateMiddleware(stack, options); err != nil { return err } diff --git a/service/wellarchitected/api_op_DeleteTemplateShare.go b/service/wellarchitected/api_op_DeleteTemplateShare.go index 7c175177190..104ee358f2e 100644 --- a/service/wellarchitected/api_op_DeleteTemplateShare.go +++ b/service/wellarchitected/api_op_DeleteTemplateShare.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDeleteTemplateShareMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteTemplateShareMiddleware(stack, options); err != nil { return err } diff --git a/service/wellarchitected/api_op_DeleteWorkload.go b/service/wellarchitected/api_op_DeleteWorkload.go index 858f6634602..d9b7ed5c9dd 100644 --- a/service/wellarchitected/api_op_DeleteWorkload.go +++ b/service/wellarchitected/api_op_DeleteWorkload.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDeleteWorkloadMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteWorkloadMiddleware(stack, options); err != nil { return err } diff --git a/service/wellarchitected/api_op_DeleteWorkloadShare.go b/service/wellarchitected/api_op_DeleteWorkloadShare.go index 31adeabc107..915cebda678 100644 --- a/service/wellarchitected/api_op_DeleteWorkloadShare.go +++ b/service/wellarchitected/api_op_DeleteWorkloadShare.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDeleteWorkloadShareMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteWorkloadShareMiddleware(stack, options); err != nil { return err } diff --git a/service/wellarchitected/api_op_DisassociateLenses.go b/service/wellarchitected/api_op_DisassociateLenses.go index bc6e88ef599..6d025b400b4 100644 --- a/service/wellarchitected/api_op_DisassociateLenses.go +++ b/service/wellarchitected/api_op_DisassociateLenses.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDisassociateLensesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateLensesValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_DisassociateProfiles.go b/service/wellarchitected/api_op_DisassociateProfiles.go index 914c7febf02..c7c2a9fccdf 100644 --- a/service/wellarchitected/api_op_DisassociateProfiles.go +++ b/service/wellarchitected/api_op_DisassociateProfiles.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDisassociateProfilesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateProfilesValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_ExportLens.go b/service/wellarchitected/api_op_ExportLens.go index b47a6447675..88b39a5b29a 100644 --- a/service/wellarchitected/api_op_ExportLens.go +++ b/service/wellarchitected/api_op_ExportLens.go @@ -143,9 +143,6 @@ func (c *Client) addOperationExportLensMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExportLensValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_GetAnswer.go b/service/wellarchitected/api_op_GetAnswer.go index 48cb5e24d57..8992e2ae8e6 100644 --- a/service/wellarchitected/api_op_GetAnswer.go +++ b/service/wellarchitected/api_op_GetAnswer.go @@ -169,9 +169,6 @@ func (c *Client) addOperationGetAnswerMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAnswerValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_GetConsolidatedReport.go b/service/wellarchitected/api_op_GetConsolidatedReport.go index a9e40bdacd1..60dc972280e 100644 --- a/service/wellarchitected/api_op_GetConsolidatedReport.go +++ b/service/wellarchitected/api_op_GetConsolidatedReport.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGetConsolidatedReportMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetConsolidatedReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_GetGlobalSettings.go b/service/wellarchitected/api_op_GetGlobalSettings.go index f3259240b57..89c41790c3f 100644 --- a/service/wellarchitected/api_op_GetGlobalSettings.go +++ b/service/wellarchitected/api_op_GetGlobalSettings.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetGlobalSettingsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGlobalSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/wellarchitected/api_op_GetLens.go b/service/wellarchitected/api_op_GetLens.go index b32e7d6f7e0..69a611b8c7a 100644 --- a/service/wellarchitected/api_op_GetLens.go +++ b/service/wellarchitected/api_op_GetLens.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetLensMiddlewares(stack *middleware.Stack, options if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLensValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_GetLensReview.go b/service/wellarchitected/api_op_GetLensReview.go index 58680c7653e..842c2e02743 100644 --- a/service/wellarchitected/api_op_GetLensReview.go +++ b/service/wellarchitected/api_op_GetLensReview.go @@ -146,9 +146,6 @@ func (c *Client) addOperationGetLensReviewMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLensReviewValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_GetLensReviewReport.go b/service/wellarchitected/api_op_GetLensReviewReport.go index 57b0fe59fc6..84367f59e85 100644 --- a/service/wellarchitected/api_op_GetLensReviewReport.go +++ b/service/wellarchitected/api_op_GetLensReviewReport.go @@ -146,9 +146,6 @@ func (c *Client) addOperationGetLensReviewReportMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLensReviewReportValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_GetLensVersionDifference.go b/service/wellarchitected/api_op_GetLensVersionDifference.go index b01af117a01..a11c352ed85 100644 --- a/service/wellarchitected/api_op_GetLensVersionDifference.go +++ b/service/wellarchitected/api_op_GetLensVersionDifference.go @@ -157,9 +157,6 @@ func (c *Client) addOperationGetLensVersionDifferenceMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetLensVersionDifferenceValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_GetMilestone.go b/service/wellarchitected/api_op_GetMilestone.go index 60b441a80ad..82d672a0e28 100644 --- a/service/wellarchitected/api_op_GetMilestone.go +++ b/service/wellarchitected/api_op_GetMilestone.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetMilestoneMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMilestoneValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_GetProfile.go b/service/wellarchitected/api_op_GetProfile.go index f9341e9ce1c..2807e058a9c 100644 --- a/service/wellarchitected/api_op_GetProfile.go +++ b/service/wellarchitected/api_op_GetProfile.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetProfileMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_GetProfileTemplate.go b/service/wellarchitected/api_op_GetProfileTemplate.go index a2be539bb5f..5ccb52b5cbf 100644 --- a/service/wellarchitected/api_op_GetProfileTemplate.go +++ b/service/wellarchitected/api_op_GetProfileTemplate.go @@ -106,9 +106,6 @@ func (c *Client) addOperationGetProfileTemplateMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetProfileTemplate(options.Region), middleware.Before); err != nil { return err } diff --git a/service/wellarchitected/api_op_GetReviewTemplate.go b/service/wellarchitected/api_op_GetReviewTemplate.go index 99159e549e2..a75bed6d7d2 100644 --- a/service/wellarchitected/api_op_GetReviewTemplate.go +++ b/service/wellarchitected/api_op_GetReviewTemplate.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetReviewTemplateMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetReviewTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_GetReviewTemplateAnswer.go b/service/wellarchitected/api_op_GetReviewTemplateAnswer.go index aeda57eadb1..e4338826c80 100644 --- a/service/wellarchitected/api_op_GetReviewTemplateAnswer.go +++ b/service/wellarchitected/api_op_GetReviewTemplateAnswer.go @@ -152,9 +152,6 @@ func (c *Client) addOperationGetReviewTemplateAnswerMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetReviewTemplateAnswerValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_GetReviewTemplateLensReview.go b/service/wellarchitected/api_op_GetReviewTemplateLensReview.go index a01ec1c74de..b4f14f781b9 100644 --- a/service/wellarchitected/api_op_GetReviewTemplateLensReview.go +++ b/service/wellarchitected/api_op_GetReviewTemplateLensReview.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetReviewTemplateLensReviewMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetReviewTemplateLensReviewValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_GetWorkload.go b/service/wellarchitected/api_op_GetWorkload.go index 470a4295f25..afc89807069 100644 --- a/service/wellarchitected/api_op_GetWorkload.go +++ b/service/wellarchitected/api_op_GetWorkload.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetWorkloadMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetWorkloadValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_ImportLens.go b/service/wellarchitected/api_op_ImportLens.go index 0627bc82b98..ade29d970e9 100644 --- a/service/wellarchitected/api_op_ImportLens.go +++ b/service/wellarchitected/api_op_ImportLens.go @@ -172,9 +172,6 @@ func (c *Client) addOperationImportLensMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opImportLensMiddleware(stack, options); err != nil { return err } diff --git a/service/wellarchitected/api_op_ListAnswers.go b/service/wellarchitected/api_op_ListAnswers.go index 5d425005cd3..3e1943f5bbd 100644 --- a/service/wellarchitected/api_op_ListAnswers.go +++ b/service/wellarchitected/api_op_ListAnswers.go @@ -181,9 +181,6 @@ func (c *Client) addOperationListAnswersMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAnswersValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_ListCheckDetails.go b/service/wellarchitected/api_op_ListCheckDetails.go index af658faf3fb..10ce42fff28 100644 --- a/service/wellarchitected/api_op_ListCheckDetails.go +++ b/service/wellarchitected/api_op_ListCheckDetails.go @@ -145,9 +145,6 @@ func (c *Client) addOperationListCheckDetailsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCheckDetailsValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_ListCheckSummaries.go b/service/wellarchitected/api_op_ListCheckSummaries.go index 81b833c8bca..3722da20e81 100644 --- a/service/wellarchitected/api_op_ListCheckSummaries.go +++ b/service/wellarchitected/api_op_ListCheckSummaries.go @@ -145,9 +145,6 @@ func (c *Client) addOperationListCheckSummariesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListCheckSummariesValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_ListLensReviewImprovements.go b/service/wellarchitected/api_op_ListLensReviewImprovements.go index ee0b225c211..90be09f79ad 100644 --- a/service/wellarchitected/api_op_ListLensReviewImprovements.go +++ b/service/wellarchitected/api_op_ListLensReviewImprovements.go @@ -181,9 +181,6 @@ func (c *Client) addOperationListLensReviewImprovementsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListLensReviewImprovementsValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_ListLensReviews.go b/service/wellarchitected/api_op_ListLensReviews.go index 49d556a7c32..bb059da2341 100644 --- a/service/wellarchitected/api_op_ListLensReviews.go +++ b/service/wellarchitected/api_op_ListLensReviews.go @@ -138,9 +138,6 @@ func (c *Client) addOperationListLensReviewsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListLensReviewsValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_ListLensShares.go b/service/wellarchitected/api_op_ListLensShares.go index 3bee0773b33..63bd68ab22b 100644 --- a/service/wellarchitected/api_op_ListLensShares.go +++ b/service/wellarchitected/api_op_ListLensShares.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListLensSharesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListLensSharesValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_ListLenses.go b/service/wellarchitected/api_op_ListLenses.go index 736914bb9e6..c2a75e7e273 100644 --- a/service/wellarchitected/api_op_ListLenses.go +++ b/service/wellarchitected/api_op_ListLenses.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListLensesMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListLenses(options.Region), middleware.Before); err != nil { return err } diff --git a/service/wellarchitected/api_op_ListMilestones.go b/service/wellarchitected/api_op_ListMilestones.go index c3ac39edc81..547c8327fbb 100644 --- a/service/wellarchitected/api_op_ListMilestones.go +++ b/service/wellarchitected/api_op_ListMilestones.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListMilestonesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMilestonesValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_ListNotifications.go b/service/wellarchitected/api_op_ListNotifications.go index a6ceb990328..573cbb91bcc 100644 --- a/service/wellarchitected/api_op_ListNotifications.go +++ b/service/wellarchitected/api_op_ListNotifications.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListNotificationsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNotifications(options.Region), middleware.Before); err != nil { return err } diff --git a/service/wellarchitected/api_op_ListProfileNotifications.go b/service/wellarchitected/api_op_ListProfileNotifications.go index fe65f174718..307e0ddedc3 100644 --- a/service/wellarchitected/api_op_ListProfileNotifications.go +++ b/service/wellarchitected/api_op_ListProfileNotifications.go @@ -120,9 +120,6 @@ func (c *Client) addOperationListProfileNotificationsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProfileNotifications(options.Region), middleware.Before); err != nil { return err } diff --git a/service/wellarchitected/api_op_ListProfileShares.go b/service/wellarchitected/api_op_ListProfileShares.go index 3f3ace862bf..1599ae74ec6 100644 --- a/service/wellarchitected/api_op_ListProfileShares.go +++ b/service/wellarchitected/api_op_ListProfileShares.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListProfileSharesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListProfileSharesValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_ListProfiles.go b/service/wellarchitected/api_op_ListProfiles.go index 7ee9f047016..a6968cc4b13 100644 --- a/service/wellarchitected/api_op_ListProfiles.go +++ b/service/wellarchitected/api_op_ListProfiles.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListProfilesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProfiles(options.Region), middleware.Before); err != nil { return err } diff --git a/service/wellarchitected/api_op_ListReviewTemplateAnswers.go b/service/wellarchitected/api_op_ListReviewTemplateAnswers.go index 11121ea590f..1040d86573a 100644 --- a/service/wellarchitected/api_op_ListReviewTemplateAnswers.go +++ b/service/wellarchitected/api_op_ListReviewTemplateAnswers.go @@ -161,9 +161,6 @@ func (c *Client) addOperationListReviewTemplateAnswersMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListReviewTemplateAnswersValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_ListReviewTemplates.go b/service/wellarchitected/api_op_ListReviewTemplates.go index 8b1c28bc026..e7b3ab8af5c 100644 --- a/service/wellarchitected/api_op_ListReviewTemplates.go +++ b/service/wellarchitected/api_op_ListReviewTemplates.go @@ -116,9 +116,6 @@ func (c *Client) addOperationListReviewTemplatesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListReviewTemplates(options.Region), middleware.Before); err != nil { return err } diff --git a/service/wellarchitected/api_op_ListShareInvitations.go b/service/wellarchitected/api_op_ListShareInvitations.go index 1e5d407127b..0ce1605bd38 100644 --- a/service/wellarchitected/api_op_ListShareInvitations.go +++ b/service/wellarchitected/api_op_ListShareInvitations.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListShareInvitationsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListShareInvitations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/wellarchitected/api_op_ListTagsForResource.go b/service/wellarchitected/api_op_ListTagsForResource.go index e522b262473..ad9e78de71d 100644 --- a/service/wellarchitected/api_op_ListTagsForResource.go +++ b/service/wellarchitected/api_op_ListTagsForResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_ListTemplateShares.go b/service/wellarchitected/api_op_ListTemplateShares.go index 26d2de0fdef..1ae114ff550 100644 --- a/service/wellarchitected/api_op_ListTemplateShares.go +++ b/service/wellarchitected/api_op_ListTemplateShares.go @@ -131,9 +131,6 @@ func (c *Client) addOperationListTemplateSharesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTemplateSharesValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_ListWorkloadShares.go b/service/wellarchitected/api_op_ListWorkloadShares.go index f7632c0226a..b8256bbb55a 100644 --- a/service/wellarchitected/api_op_ListWorkloadShares.go +++ b/service/wellarchitected/api_op_ListWorkloadShares.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListWorkloadSharesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListWorkloadSharesValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_ListWorkloads.go b/service/wellarchitected/api_op_ListWorkloads.go index 9297601b7be..741871d3dcf 100644 --- a/service/wellarchitected/api_op_ListWorkloads.go +++ b/service/wellarchitected/api_op_ListWorkloads.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListWorkloadsMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkloads(options.Region), middleware.Before); err != nil { return err } diff --git a/service/wellarchitected/api_op_TagResource.go b/service/wellarchitected/api_op_TagResource.go index ee6f497f017..8126f39a8d6 100644 --- a/service/wellarchitected/api_op_TagResource.go +++ b/service/wellarchitected/api_op_TagResource.go @@ -115,9 +115,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_UntagResource.go b/service/wellarchitected/api_op_UntagResource.go index 5b4f0469881..25510071b98 100644 --- a/service/wellarchitected/api_op_UntagResource.go +++ b/service/wellarchitected/api_op_UntagResource.go @@ -120,9 +120,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_UpdateAnswer.go b/service/wellarchitected/api_op_UpdateAnswer.go index 0ca4e791be2..8dbf524476e 100644 --- a/service/wellarchitected/api_op_UpdateAnswer.go +++ b/service/wellarchitected/api_op_UpdateAnswer.go @@ -180,9 +180,6 @@ func (c *Client) addOperationUpdateAnswerMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAnswerValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_UpdateGlobalSettings.go b/service/wellarchitected/api_op_UpdateGlobalSettings.go index 4a59bde9302..acf36d242da 100644 --- a/service/wellarchitected/api_op_UpdateGlobalSettings.go +++ b/service/wellarchitected/api_op_UpdateGlobalSettings.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUpdateGlobalSettingsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGlobalSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/wellarchitected/api_op_UpdateIntegration.go b/service/wellarchitected/api_op_UpdateIntegration.go index cb745164daa..8095c6bcf0b 100644 --- a/service/wellarchitected/api_op_UpdateIntegration.go +++ b/service/wellarchitected/api_op_UpdateIntegration.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateIntegrationMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateIntegrationMiddleware(stack, options); err != nil { return err } diff --git a/service/wellarchitected/api_op_UpdateLensReview.go b/service/wellarchitected/api_op_UpdateLensReview.go index c87d1b0f5a8..085a71c495d 100644 --- a/service/wellarchitected/api_op_UpdateLensReview.go +++ b/service/wellarchitected/api_op_UpdateLensReview.go @@ -151,9 +151,6 @@ func (c *Client) addOperationUpdateLensReviewMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateLensReviewValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_UpdateProfile.go b/service/wellarchitected/api_op_UpdateProfile.go index 357aae01412..b87452c3e73 100644 --- a/service/wellarchitected/api_op_UpdateProfile.go +++ b/service/wellarchitected/api_op_UpdateProfile.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateProfileMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateProfileValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_UpdateReviewTemplate.go b/service/wellarchitected/api_op_UpdateReviewTemplate.go index 29f5c82afb8..4bfd9355b79 100644 --- a/service/wellarchitected/api_op_UpdateReviewTemplate.go +++ b/service/wellarchitected/api_op_UpdateReviewTemplate.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateReviewTemplateMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateReviewTemplateValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_UpdateReviewTemplateAnswer.go b/service/wellarchitected/api_op_UpdateReviewTemplateAnswer.go index dbd52b9acd3..d24db956658 100644 --- a/service/wellarchitected/api_op_UpdateReviewTemplateAnswer.go +++ b/service/wellarchitected/api_op_UpdateReviewTemplateAnswer.go @@ -172,9 +172,6 @@ func (c *Client) addOperationUpdateReviewTemplateAnswerMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateReviewTemplateAnswerValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_UpdateReviewTemplateLensReview.go b/service/wellarchitected/api_op_UpdateReviewTemplateLensReview.go index cfce817a254..000eee0c568 100644 --- a/service/wellarchitected/api_op_UpdateReviewTemplateLensReview.go +++ b/service/wellarchitected/api_op_UpdateReviewTemplateLensReview.go @@ -144,9 +144,6 @@ func (c *Client) addOperationUpdateReviewTemplateLensReviewMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateReviewTemplateLensReviewValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_UpdateShareInvitation.go b/service/wellarchitected/api_op_UpdateShareInvitation.go index 259d8cdb461..7ec42304797 100644 --- a/service/wellarchitected/api_op_UpdateShareInvitation.go +++ b/service/wellarchitected/api_op_UpdateShareInvitation.go @@ -121,9 +121,6 @@ func (c *Client) addOperationUpdateShareInvitationMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateShareInvitationValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_UpdateWorkload.go b/service/wellarchitected/api_op_UpdateWorkload.go index 4b9b7b4c44e..ea00b8631f4 100644 --- a/service/wellarchitected/api_op_UpdateWorkload.go +++ b/service/wellarchitected/api_op_UpdateWorkload.go @@ -235,9 +235,6 @@ func (c *Client) addOperationUpdateWorkloadMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateWorkloadValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_UpdateWorkloadShare.go b/service/wellarchitected/api_op_UpdateWorkloadShare.go index f78a7df062c..c22514de50c 100644 --- a/service/wellarchitected/api_op_UpdateWorkloadShare.go +++ b/service/wellarchitected/api_op_UpdateWorkloadShare.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUpdateWorkloadShareMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateWorkloadShareValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_UpgradeLensReview.go b/service/wellarchitected/api_op_UpgradeLensReview.go index 39cbd6d464f..e5d0199cd18 100644 --- a/service/wellarchitected/api_op_UpgradeLensReview.go +++ b/service/wellarchitected/api_op_UpgradeLensReview.go @@ -146,9 +146,6 @@ func (c *Client) addOperationUpgradeLensReviewMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpgradeLensReviewValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/api_op_UpgradeProfileVersion.go b/service/wellarchitected/api_op_UpgradeProfileVersion.go index 65d2b93bb25..80fd1a13486 100644 --- a/service/wellarchitected/api_op_UpgradeProfileVersion.go +++ b/service/wellarchitected/api_op_UpgradeProfileVersion.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpgradeProfileVersionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpgradeProfileVersionMiddleware(stack, options); err != nil { return err } diff --git a/service/wellarchitected/api_op_UpgradeReviewTemplateLensReview.go b/service/wellarchitected/api_op_UpgradeReviewTemplateLensReview.go index 61d5e54015e..4e6c4f4ae81 100644 --- a/service/wellarchitected/api_op_UpgradeReviewTemplateLensReview.go +++ b/service/wellarchitected/api_op_UpgradeReviewTemplateLensReview.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpgradeReviewTemplateLensReviewMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpgradeReviewTemplateLensReviewValidationMiddleware(stack); err != nil { return err } diff --git a/service/wellarchitected/snapshot/api_op_AssociateLenses.go.snap b/service/wellarchitected/snapshot/api_op_AssociateLenses.go.snap index 63a6b4a1063..ed7f0eb8d3c 100644 --- a/service/wellarchitected/snapshot/api_op_AssociateLenses.go.snap +++ b/service/wellarchitected/snapshot/api_op_AssociateLenses.go.snap @@ -14,7 +14,6 @@ AssociateLenses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_AssociateProfiles.go.snap b/service/wellarchitected/snapshot/api_op_AssociateProfiles.go.snap index 6ea2c9ccd16..c450d52e5ff 100644 --- a/service/wellarchitected/snapshot/api_op_AssociateProfiles.go.snap +++ b/service/wellarchitected/snapshot/api_op_AssociateProfiles.go.snap @@ -14,7 +14,6 @@ AssociateProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_CreateLensShare.go.snap b/service/wellarchitected/snapshot/api_op_CreateLensShare.go.snap index e51cc4a3af4..9a15be741f8 100644 --- a/service/wellarchitected/snapshot/api_op_CreateLensShare.go.snap +++ b/service/wellarchitected/snapshot/api_op_CreateLensShare.go.snap @@ -15,7 +15,6 @@ CreateLensShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_CreateLensVersion.go.snap b/service/wellarchitected/snapshot/api_op_CreateLensVersion.go.snap index 02bea42b648..d29fb64bbea 100644 --- a/service/wellarchitected/snapshot/api_op_CreateLensVersion.go.snap +++ b/service/wellarchitected/snapshot/api_op_CreateLensVersion.go.snap @@ -15,7 +15,6 @@ CreateLensVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_CreateMilestone.go.snap b/service/wellarchitected/snapshot/api_op_CreateMilestone.go.snap index 9e9d3df4bb2..1aedb976952 100644 --- a/service/wellarchitected/snapshot/api_op_CreateMilestone.go.snap +++ b/service/wellarchitected/snapshot/api_op_CreateMilestone.go.snap @@ -15,7 +15,6 @@ CreateMilestone Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_CreateProfile.go.snap b/service/wellarchitected/snapshot/api_op_CreateProfile.go.snap index 57f49308510..3a41a2aba3d 100644 --- a/service/wellarchitected/snapshot/api_op_CreateProfile.go.snap +++ b/service/wellarchitected/snapshot/api_op_CreateProfile.go.snap @@ -15,7 +15,6 @@ CreateProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_CreateProfileShare.go.snap b/service/wellarchitected/snapshot/api_op_CreateProfileShare.go.snap index 19cef58488e..e3277e42f33 100644 --- a/service/wellarchitected/snapshot/api_op_CreateProfileShare.go.snap +++ b/service/wellarchitected/snapshot/api_op_CreateProfileShare.go.snap @@ -15,7 +15,6 @@ CreateProfileShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_CreateReviewTemplate.go.snap b/service/wellarchitected/snapshot/api_op_CreateReviewTemplate.go.snap index 3b545813d57..4a3bdfb13de 100644 --- a/service/wellarchitected/snapshot/api_op_CreateReviewTemplate.go.snap +++ b/service/wellarchitected/snapshot/api_op_CreateReviewTemplate.go.snap @@ -15,7 +15,6 @@ CreateReviewTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_CreateTemplateShare.go.snap b/service/wellarchitected/snapshot/api_op_CreateTemplateShare.go.snap index 31aabbc0bec..a706b27a1cf 100644 --- a/service/wellarchitected/snapshot/api_op_CreateTemplateShare.go.snap +++ b/service/wellarchitected/snapshot/api_op_CreateTemplateShare.go.snap @@ -15,7 +15,6 @@ CreateTemplateShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_CreateWorkload.go.snap b/service/wellarchitected/snapshot/api_op_CreateWorkload.go.snap index ac494811930..f7c960e7367 100644 --- a/service/wellarchitected/snapshot/api_op_CreateWorkload.go.snap +++ b/service/wellarchitected/snapshot/api_op_CreateWorkload.go.snap @@ -15,7 +15,6 @@ CreateWorkload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_CreateWorkloadShare.go.snap b/service/wellarchitected/snapshot/api_op_CreateWorkloadShare.go.snap index f8d32ae93b4..f8cf33f2131 100644 --- a/service/wellarchitected/snapshot/api_op_CreateWorkloadShare.go.snap +++ b/service/wellarchitected/snapshot/api_op_CreateWorkloadShare.go.snap @@ -15,7 +15,6 @@ CreateWorkloadShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_DeleteLens.go.snap b/service/wellarchitected/snapshot/api_op_DeleteLens.go.snap index b62cd679dee..d6c4ff9a7ba 100644 --- a/service/wellarchitected/snapshot/api_op_DeleteLens.go.snap +++ b/service/wellarchitected/snapshot/api_op_DeleteLens.go.snap @@ -15,7 +15,6 @@ DeleteLens Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_DeleteLensShare.go.snap b/service/wellarchitected/snapshot/api_op_DeleteLensShare.go.snap index 16b95246a3a..cceb0c8004d 100644 --- a/service/wellarchitected/snapshot/api_op_DeleteLensShare.go.snap +++ b/service/wellarchitected/snapshot/api_op_DeleteLensShare.go.snap @@ -15,7 +15,6 @@ DeleteLensShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_DeleteProfile.go.snap b/service/wellarchitected/snapshot/api_op_DeleteProfile.go.snap index aa76a6607d7..abbbd4ddef1 100644 --- a/service/wellarchitected/snapshot/api_op_DeleteProfile.go.snap +++ b/service/wellarchitected/snapshot/api_op_DeleteProfile.go.snap @@ -15,7 +15,6 @@ DeleteProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_DeleteProfileShare.go.snap b/service/wellarchitected/snapshot/api_op_DeleteProfileShare.go.snap index 477d6cc2618..2fe13b06a3c 100644 --- a/service/wellarchitected/snapshot/api_op_DeleteProfileShare.go.snap +++ b/service/wellarchitected/snapshot/api_op_DeleteProfileShare.go.snap @@ -15,7 +15,6 @@ DeleteProfileShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_DeleteReviewTemplate.go.snap b/service/wellarchitected/snapshot/api_op_DeleteReviewTemplate.go.snap index 33208c12268..16e52e20562 100644 --- a/service/wellarchitected/snapshot/api_op_DeleteReviewTemplate.go.snap +++ b/service/wellarchitected/snapshot/api_op_DeleteReviewTemplate.go.snap @@ -15,7 +15,6 @@ DeleteReviewTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_DeleteTemplateShare.go.snap b/service/wellarchitected/snapshot/api_op_DeleteTemplateShare.go.snap index e68579ae50f..31df615a344 100644 --- a/service/wellarchitected/snapshot/api_op_DeleteTemplateShare.go.snap +++ b/service/wellarchitected/snapshot/api_op_DeleteTemplateShare.go.snap @@ -15,7 +15,6 @@ DeleteTemplateShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_DeleteWorkload.go.snap b/service/wellarchitected/snapshot/api_op_DeleteWorkload.go.snap index c5bfc23764e..04c23bcaf84 100644 --- a/service/wellarchitected/snapshot/api_op_DeleteWorkload.go.snap +++ b/service/wellarchitected/snapshot/api_op_DeleteWorkload.go.snap @@ -15,7 +15,6 @@ DeleteWorkload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_DeleteWorkloadShare.go.snap b/service/wellarchitected/snapshot/api_op_DeleteWorkloadShare.go.snap index 80e4b4a963b..fc6f77ecd23 100644 --- a/service/wellarchitected/snapshot/api_op_DeleteWorkloadShare.go.snap +++ b/service/wellarchitected/snapshot/api_op_DeleteWorkloadShare.go.snap @@ -15,7 +15,6 @@ DeleteWorkloadShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_DisassociateLenses.go.snap b/service/wellarchitected/snapshot/api_op_DisassociateLenses.go.snap index 734b00d35cb..cbbaf574142 100644 --- a/service/wellarchitected/snapshot/api_op_DisassociateLenses.go.snap +++ b/service/wellarchitected/snapshot/api_op_DisassociateLenses.go.snap @@ -14,7 +14,6 @@ DisassociateLenses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_DisassociateProfiles.go.snap b/service/wellarchitected/snapshot/api_op_DisassociateProfiles.go.snap index e0f306262ae..23ff623b2a4 100644 --- a/service/wellarchitected/snapshot/api_op_DisassociateProfiles.go.snap +++ b/service/wellarchitected/snapshot/api_op_DisassociateProfiles.go.snap @@ -14,7 +14,6 @@ DisassociateProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_ExportLens.go.snap b/service/wellarchitected/snapshot/api_op_ExportLens.go.snap index 547dbe4a032..9ea57659a00 100644 --- a/service/wellarchitected/snapshot/api_op_ExportLens.go.snap +++ b/service/wellarchitected/snapshot/api_op_ExportLens.go.snap @@ -14,7 +14,6 @@ ExportLens Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_GetAnswer.go.snap b/service/wellarchitected/snapshot/api_op_GetAnswer.go.snap index 087c0a0a207..267dde3c189 100644 --- a/service/wellarchitected/snapshot/api_op_GetAnswer.go.snap +++ b/service/wellarchitected/snapshot/api_op_GetAnswer.go.snap @@ -14,7 +14,6 @@ GetAnswer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_GetConsolidatedReport.go.snap b/service/wellarchitected/snapshot/api_op_GetConsolidatedReport.go.snap index e5794819e5c..f0b22035cae 100644 --- a/service/wellarchitected/snapshot/api_op_GetConsolidatedReport.go.snap +++ b/service/wellarchitected/snapshot/api_op_GetConsolidatedReport.go.snap @@ -14,7 +14,6 @@ GetConsolidatedReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_GetGlobalSettings.go.snap b/service/wellarchitected/snapshot/api_op_GetGlobalSettings.go.snap index d57272d8a74..67a6842fc48 100644 --- a/service/wellarchitected/snapshot/api_op_GetGlobalSettings.go.snap +++ b/service/wellarchitected/snapshot/api_op_GetGlobalSettings.go.snap @@ -13,7 +13,6 @@ GetGlobalSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_GetLens.go.snap b/service/wellarchitected/snapshot/api_op_GetLens.go.snap index ecdb9674405..ad70b435d63 100644 --- a/service/wellarchitected/snapshot/api_op_GetLens.go.snap +++ b/service/wellarchitected/snapshot/api_op_GetLens.go.snap @@ -14,7 +14,6 @@ GetLens Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_GetLensReview.go.snap b/service/wellarchitected/snapshot/api_op_GetLensReview.go.snap index 627c90c5f62..dd557f72717 100644 --- a/service/wellarchitected/snapshot/api_op_GetLensReview.go.snap +++ b/service/wellarchitected/snapshot/api_op_GetLensReview.go.snap @@ -14,7 +14,6 @@ GetLensReview Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_GetLensReviewReport.go.snap b/service/wellarchitected/snapshot/api_op_GetLensReviewReport.go.snap index c096a2fa442..15cb28d8abe 100644 --- a/service/wellarchitected/snapshot/api_op_GetLensReviewReport.go.snap +++ b/service/wellarchitected/snapshot/api_op_GetLensReviewReport.go.snap @@ -14,7 +14,6 @@ GetLensReviewReport Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_GetLensVersionDifference.go.snap b/service/wellarchitected/snapshot/api_op_GetLensVersionDifference.go.snap index 74d1fb2f554..b6b63e92086 100644 --- a/service/wellarchitected/snapshot/api_op_GetLensVersionDifference.go.snap +++ b/service/wellarchitected/snapshot/api_op_GetLensVersionDifference.go.snap @@ -14,7 +14,6 @@ GetLensVersionDifference Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_GetMilestone.go.snap b/service/wellarchitected/snapshot/api_op_GetMilestone.go.snap index 8df5e8e4afd..327be8da71f 100644 --- a/service/wellarchitected/snapshot/api_op_GetMilestone.go.snap +++ b/service/wellarchitected/snapshot/api_op_GetMilestone.go.snap @@ -14,7 +14,6 @@ GetMilestone Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_GetProfile.go.snap b/service/wellarchitected/snapshot/api_op_GetProfile.go.snap index b0b71d50a56..67bf1a1e445 100644 --- a/service/wellarchitected/snapshot/api_op_GetProfile.go.snap +++ b/service/wellarchitected/snapshot/api_op_GetProfile.go.snap @@ -14,7 +14,6 @@ GetProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_GetProfileTemplate.go.snap b/service/wellarchitected/snapshot/api_op_GetProfileTemplate.go.snap index 13c172f6a41..d9429b4192b 100644 --- a/service/wellarchitected/snapshot/api_op_GetProfileTemplate.go.snap +++ b/service/wellarchitected/snapshot/api_op_GetProfileTemplate.go.snap @@ -13,7 +13,6 @@ GetProfileTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_GetReviewTemplate.go.snap b/service/wellarchitected/snapshot/api_op_GetReviewTemplate.go.snap index 94d3e8b5c20..c266a0d9b9a 100644 --- a/service/wellarchitected/snapshot/api_op_GetReviewTemplate.go.snap +++ b/service/wellarchitected/snapshot/api_op_GetReviewTemplate.go.snap @@ -14,7 +14,6 @@ GetReviewTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_GetReviewTemplateAnswer.go.snap b/service/wellarchitected/snapshot/api_op_GetReviewTemplateAnswer.go.snap index 329dc5a59e8..1dc01890224 100644 --- a/service/wellarchitected/snapshot/api_op_GetReviewTemplateAnswer.go.snap +++ b/service/wellarchitected/snapshot/api_op_GetReviewTemplateAnswer.go.snap @@ -14,7 +14,6 @@ GetReviewTemplateAnswer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_GetReviewTemplateLensReview.go.snap b/service/wellarchitected/snapshot/api_op_GetReviewTemplateLensReview.go.snap index ad20c081982..a3f64f96221 100644 --- a/service/wellarchitected/snapshot/api_op_GetReviewTemplateLensReview.go.snap +++ b/service/wellarchitected/snapshot/api_op_GetReviewTemplateLensReview.go.snap @@ -14,7 +14,6 @@ GetReviewTemplateLensReview Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_GetWorkload.go.snap b/service/wellarchitected/snapshot/api_op_GetWorkload.go.snap index 61f5b2d0bec..b4b33e43e87 100644 --- a/service/wellarchitected/snapshot/api_op_GetWorkload.go.snap +++ b/service/wellarchitected/snapshot/api_op_GetWorkload.go.snap @@ -14,7 +14,6 @@ GetWorkload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_ImportLens.go.snap b/service/wellarchitected/snapshot/api_op_ImportLens.go.snap index 1da158bcd13..a230db5c60b 100644 --- a/service/wellarchitected/snapshot/api_op_ImportLens.go.snap +++ b/service/wellarchitected/snapshot/api_op_ImportLens.go.snap @@ -15,7 +15,6 @@ ImportLens Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_ListAnswers.go.snap b/service/wellarchitected/snapshot/api_op_ListAnswers.go.snap index 31090aafec5..37df8be6efe 100644 --- a/service/wellarchitected/snapshot/api_op_ListAnswers.go.snap +++ b/service/wellarchitected/snapshot/api_op_ListAnswers.go.snap @@ -14,7 +14,6 @@ ListAnswers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_ListCheckDetails.go.snap b/service/wellarchitected/snapshot/api_op_ListCheckDetails.go.snap index 7e9008bf917..6058930a0a0 100644 --- a/service/wellarchitected/snapshot/api_op_ListCheckDetails.go.snap +++ b/service/wellarchitected/snapshot/api_op_ListCheckDetails.go.snap @@ -14,7 +14,6 @@ ListCheckDetails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_ListCheckSummaries.go.snap b/service/wellarchitected/snapshot/api_op_ListCheckSummaries.go.snap index 73f2d406299..a6cab998123 100644 --- a/service/wellarchitected/snapshot/api_op_ListCheckSummaries.go.snap +++ b/service/wellarchitected/snapshot/api_op_ListCheckSummaries.go.snap @@ -14,7 +14,6 @@ ListCheckSummaries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_ListLensReviewImprovements.go.snap b/service/wellarchitected/snapshot/api_op_ListLensReviewImprovements.go.snap index c0d688ae90c..19f4cad9e0d 100644 --- a/service/wellarchitected/snapshot/api_op_ListLensReviewImprovements.go.snap +++ b/service/wellarchitected/snapshot/api_op_ListLensReviewImprovements.go.snap @@ -14,7 +14,6 @@ ListLensReviewImprovements Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_ListLensReviews.go.snap b/service/wellarchitected/snapshot/api_op_ListLensReviews.go.snap index 264b67dd7b5..b2b32d7604d 100644 --- a/service/wellarchitected/snapshot/api_op_ListLensReviews.go.snap +++ b/service/wellarchitected/snapshot/api_op_ListLensReviews.go.snap @@ -14,7 +14,6 @@ ListLensReviews Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_ListLensShares.go.snap b/service/wellarchitected/snapshot/api_op_ListLensShares.go.snap index d1842030caa..79a3cd5ec4c 100644 --- a/service/wellarchitected/snapshot/api_op_ListLensShares.go.snap +++ b/service/wellarchitected/snapshot/api_op_ListLensShares.go.snap @@ -14,7 +14,6 @@ ListLensShares Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_ListLenses.go.snap b/service/wellarchitected/snapshot/api_op_ListLenses.go.snap index b65b3593044..414d177c37e 100644 --- a/service/wellarchitected/snapshot/api_op_ListLenses.go.snap +++ b/service/wellarchitected/snapshot/api_op_ListLenses.go.snap @@ -13,7 +13,6 @@ ListLenses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_ListMilestones.go.snap b/service/wellarchitected/snapshot/api_op_ListMilestones.go.snap index bb3f179234e..f0ecc2c1d8e 100644 --- a/service/wellarchitected/snapshot/api_op_ListMilestones.go.snap +++ b/service/wellarchitected/snapshot/api_op_ListMilestones.go.snap @@ -14,7 +14,6 @@ ListMilestones Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_ListNotifications.go.snap b/service/wellarchitected/snapshot/api_op_ListNotifications.go.snap index 8a7167f4888..bff4f26e906 100644 --- a/service/wellarchitected/snapshot/api_op_ListNotifications.go.snap +++ b/service/wellarchitected/snapshot/api_op_ListNotifications.go.snap @@ -13,7 +13,6 @@ ListNotifications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_ListProfileNotifications.go.snap b/service/wellarchitected/snapshot/api_op_ListProfileNotifications.go.snap index 515ac4a74c8..fb2388efc1e 100644 --- a/service/wellarchitected/snapshot/api_op_ListProfileNotifications.go.snap +++ b/service/wellarchitected/snapshot/api_op_ListProfileNotifications.go.snap @@ -13,7 +13,6 @@ ListProfileNotifications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_ListProfileShares.go.snap b/service/wellarchitected/snapshot/api_op_ListProfileShares.go.snap index 4fbe846f714..008f5eb80c4 100644 --- a/service/wellarchitected/snapshot/api_op_ListProfileShares.go.snap +++ b/service/wellarchitected/snapshot/api_op_ListProfileShares.go.snap @@ -14,7 +14,6 @@ ListProfileShares Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_ListProfiles.go.snap b/service/wellarchitected/snapshot/api_op_ListProfiles.go.snap index 630e6c9bc09..5606d9bd3a7 100644 --- a/service/wellarchitected/snapshot/api_op_ListProfiles.go.snap +++ b/service/wellarchitected/snapshot/api_op_ListProfiles.go.snap @@ -13,7 +13,6 @@ ListProfiles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_ListReviewTemplateAnswers.go.snap b/service/wellarchitected/snapshot/api_op_ListReviewTemplateAnswers.go.snap index c66d2404290..03c51d2440a 100644 --- a/service/wellarchitected/snapshot/api_op_ListReviewTemplateAnswers.go.snap +++ b/service/wellarchitected/snapshot/api_op_ListReviewTemplateAnswers.go.snap @@ -14,7 +14,6 @@ ListReviewTemplateAnswers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_ListReviewTemplates.go.snap b/service/wellarchitected/snapshot/api_op_ListReviewTemplates.go.snap index 36c4eea7ee9..5303c6a51ae 100644 --- a/service/wellarchitected/snapshot/api_op_ListReviewTemplates.go.snap +++ b/service/wellarchitected/snapshot/api_op_ListReviewTemplates.go.snap @@ -13,7 +13,6 @@ ListReviewTemplates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_ListShareInvitations.go.snap b/service/wellarchitected/snapshot/api_op_ListShareInvitations.go.snap index 97131b50060..c61f55f2b94 100644 --- a/service/wellarchitected/snapshot/api_op_ListShareInvitations.go.snap +++ b/service/wellarchitected/snapshot/api_op_ListShareInvitations.go.snap @@ -13,7 +13,6 @@ ListShareInvitations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_ListTagsForResource.go.snap b/service/wellarchitected/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/wellarchitected/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/wellarchitected/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_ListTemplateShares.go.snap b/service/wellarchitected/snapshot/api_op_ListTemplateShares.go.snap index 27fec77968b..95585b22aca 100644 --- a/service/wellarchitected/snapshot/api_op_ListTemplateShares.go.snap +++ b/service/wellarchitected/snapshot/api_op_ListTemplateShares.go.snap @@ -14,7 +14,6 @@ ListTemplateShares Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_ListWorkloadShares.go.snap b/service/wellarchitected/snapshot/api_op_ListWorkloadShares.go.snap index 870f0d4b03c..855bf377407 100644 --- a/service/wellarchitected/snapshot/api_op_ListWorkloadShares.go.snap +++ b/service/wellarchitected/snapshot/api_op_ListWorkloadShares.go.snap @@ -14,7 +14,6 @@ ListWorkloadShares Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_ListWorkloads.go.snap b/service/wellarchitected/snapshot/api_op_ListWorkloads.go.snap index 859a41dbcb6..c38a4979714 100644 --- a/service/wellarchitected/snapshot/api_op_ListWorkloads.go.snap +++ b/service/wellarchitected/snapshot/api_op_ListWorkloads.go.snap @@ -13,7 +13,6 @@ ListWorkloads Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_TagResource.go.snap b/service/wellarchitected/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/wellarchitected/snapshot/api_op_TagResource.go.snap +++ b/service/wellarchitected/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_UntagResource.go.snap b/service/wellarchitected/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/wellarchitected/snapshot/api_op_UntagResource.go.snap +++ b/service/wellarchitected/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_UpdateAnswer.go.snap b/service/wellarchitected/snapshot/api_op_UpdateAnswer.go.snap index 09cafa7a15f..3ddab9daab6 100644 --- a/service/wellarchitected/snapshot/api_op_UpdateAnswer.go.snap +++ b/service/wellarchitected/snapshot/api_op_UpdateAnswer.go.snap @@ -14,7 +14,6 @@ UpdateAnswer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_UpdateGlobalSettings.go.snap b/service/wellarchitected/snapshot/api_op_UpdateGlobalSettings.go.snap index 3163e3d4a3b..276f741cb85 100644 --- a/service/wellarchitected/snapshot/api_op_UpdateGlobalSettings.go.snap +++ b/service/wellarchitected/snapshot/api_op_UpdateGlobalSettings.go.snap @@ -13,7 +13,6 @@ UpdateGlobalSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_UpdateIntegration.go.snap b/service/wellarchitected/snapshot/api_op_UpdateIntegration.go.snap index 8e316e44f06..365123f2759 100644 --- a/service/wellarchitected/snapshot/api_op_UpdateIntegration.go.snap +++ b/service/wellarchitected/snapshot/api_op_UpdateIntegration.go.snap @@ -15,7 +15,6 @@ UpdateIntegration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_UpdateLensReview.go.snap b/service/wellarchitected/snapshot/api_op_UpdateLensReview.go.snap index 8f090e17b52..cb9e318c8ad 100644 --- a/service/wellarchitected/snapshot/api_op_UpdateLensReview.go.snap +++ b/service/wellarchitected/snapshot/api_op_UpdateLensReview.go.snap @@ -14,7 +14,6 @@ UpdateLensReview Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_UpdateProfile.go.snap b/service/wellarchitected/snapshot/api_op_UpdateProfile.go.snap index f4e607b39cf..d65b51d1ab2 100644 --- a/service/wellarchitected/snapshot/api_op_UpdateProfile.go.snap +++ b/service/wellarchitected/snapshot/api_op_UpdateProfile.go.snap @@ -14,7 +14,6 @@ UpdateProfile Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_UpdateReviewTemplate.go.snap b/service/wellarchitected/snapshot/api_op_UpdateReviewTemplate.go.snap index 46a3647b5a8..34f5304bef6 100644 --- a/service/wellarchitected/snapshot/api_op_UpdateReviewTemplate.go.snap +++ b/service/wellarchitected/snapshot/api_op_UpdateReviewTemplate.go.snap @@ -14,7 +14,6 @@ UpdateReviewTemplate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_UpdateReviewTemplateAnswer.go.snap b/service/wellarchitected/snapshot/api_op_UpdateReviewTemplateAnswer.go.snap index 92d47ec40bb..8f32a5be8c0 100644 --- a/service/wellarchitected/snapshot/api_op_UpdateReviewTemplateAnswer.go.snap +++ b/service/wellarchitected/snapshot/api_op_UpdateReviewTemplateAnswer.go.snap @@ -14,7 +14,6 @@ UpdateReviewTemplateAnswer Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_UpdateReviewTemplateLensReview.go.snap b/service/wellarchitected/snapshot/api_op_UpdateReviewTemplateLensReview.go.snap index 22d53b79919..8ed60b841ea 100644 --- a/service/wellarchitected/snapshot/api_op_UpdateReviewTemplateLensReview.go.snap +++ b/service/wellarchitected/snapshot/api_op_UpdateReviewTemplateLensReview.go.snap @@ -14,7 +14,6 @@ UpdateReviewTemplateLensReview Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_UpdateShareInvitation.go.snap b/service/wellarchitected/snapshot/api_op_UpdateShareInvitation.go.snap index fd640b825cf..1043f5f7545 100644 --- a/service/wellarchitected/snapshot/api_op_UpdateShareInvitation.go.snap +++ b/service/wellarchitected/snapshot/api_op_UpdateShareInvitation.go.snap @@ -14,7 +14,6 @@ UpdateShareInvitation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_UpdateWorkload.go.snap b/service/wellarchitected/snapshot/api_op_UpdateWorkload.go.snap index ad367e42e7c..b0e9e4a667b 100644 --- a/service/wellarchitected/snapshot/api_op_UpdateWorkload.go.snap +++ b/service/wellarchitected/snapshot/api_op_UpdateWorkload.go.snap @@ -14,7 +14,6 @@ UpdateWorkload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_UpdateWorkloadShare.go.snap b/service/wellarchitected/snapshot/api_op_UpdateWorkloadShare.go.snap index 892bf3e98ca..244271278ee 100644 --- a/service/wellarchitected/snapshot/api_op_UpdateWorkloadShare.go.snap +++ b/service/wellarchitected/snapshot/api_op_UpdateWorkloadShare.go.snap @@ -14,7 +14,6 @@ UpdateWorkloadShare Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_UpgradeLensReview.go.snap b/service/wellarchitected/snapshot/api_op_UpgradeLensReview.go.snap index 92660514378..87290ede08e 100644 --- a/service/wellarchitected/snapshot/api_op_UpgradeLensReview.go.snap +++ b/service/wellarchitected/snapshot/api_op_UpgradeLensReview.go.snap @@ -14,7 +14,6 @@ UpgradeLensReview Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_UpgradeProfileVersion.go.snap b/service/wellarchitected/snapshot/api_op_UpgradeProfileVersion.go.snap index 80ea610709a..19aa839e634 100644 --- a/service/wellarchitected/snapshot/api_op_UpgradeProfileVersion.go.snap +++ b/service/wellarchitected/snapshot/api_op_UpgradeProfileVersion.go.snap @@ -15,7 +15,6 @@ UpgradeProfileVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wellarchitected/snapshot/api_op_UpgradeReviewTemplateLensReview.go.snap b/service/wellarchitected/snapshot/api_op_UpgradeReviewTemplateLensReview.go.snap index fdf258cc5b2..06f251dc19c 100644 --- a/service/wellarchitected/snapshot/api_op_UpgradeReviewTemplateLensReview.go.snap +++ b/service/wellarchitected/snapshot/api_op_UpgradeReviewTemplateLensReview.go.snap @@ -14,7 +14,6 @@ UpgradeReviewTemplateLensReview Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/api_client.go b/service/wisdom/api_client.go index 49922bacf2b..90bbd32fb46 100644 --- a/service/wisdom/api_client.go +++ b/service/wisdom/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/wisdom/api_op_CreateAssistant.go b/service/wisdom/api_op_CreateAssistant.go index 93ac9f6464d..a48b4e0e7e2 100644 --- a/service/wisdom/api_op_CreateAssistant.go +++ b/service/wisdom/api_op_CreateAssistant.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCreateAssistantMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAssistantMiddleware(stack, options); err != nil { return err } diff --git a/service/wisdom/api_op_CreateAssistantAssociation.go b/service/wisdom/api_op_CreateAssistantAssociation.go index d4dbe290171..2330100c93d 100644 --- a/service/wisdom/api_op_CreateAssistantAssociation.go +++ b/service/wisdom/api_op_CreateAssistantAssociation.go @@ -135,9 +135,6 @@ func (c *Client) addOperationCreateAssistantAssociationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAssistantAssociationMiddleware(stack, options); err != nil { return err } diff --git a/service/wisdom/api_op_CreateContent.go b/service/wisdom/api_op_CreateContent.go index 425c34cc0b6..0df0305aa0f 100644 --- a/service/wisdom/api_op_CreateContent.go +++ b/service/wisdom/api_op_CreateContent.go @@ -155,9 +155,6 @@ func (c *Client) addOperationCreateContentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateContentMiddleware(stack, options); err != nil { return err } diff --git a/service/wisdom/api_op_CreateKnowledgeBase.go b/service/wisdom/api_op_CreateKnowledgeBase.go index cce75286b86..c1df803df99 100644 --- a/service/wisdom/api_op_CreateKnowledgeBase.go +++ b/service/wisdom/api_op_CreateKnowledgeBase.go @@ -171,9 +171,6 @@ func (c *Client) addOperationCreateKnowledgeBaseMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateKnowledgeBaseMiddleware(stack, options); err != nil { return err } diff --git a/service/wisdom/api_op_CreateQuickResponse.go b/service/wisdom/api_op_CreateQuickResponse.go index c1054143a97..4191a13f8ee 100644 --- a/service/wisdom/api_op_CreateQuickResponse.go +++ b/service/wisdom/api_op_CreateQuickResponse.go @@ -165,9 +165,6 @@ func (c *Client) addOperationCreateQuickResponseMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateQuickResponseMiddleware(stack, options); err != nil { return err } diff --git a/service/wisdom/api_op_CreateSession.go b/service/wisdom/api_op_CreateSession.go index 2de36b31493..97c14ef63e7 100644 --- a/service/wisdom/api_op_CreateSession.go +++ b/service/wisdom/api_op_CreateSession.go @@ -133,9 +133,6 @@ func (c *Client) addOperationCreateSessionMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateSessionMiddleware(stack, options); err != nil { return err } diff --git a/service/wisdom/api_op_DeleteAssistant.go b/service/wisdom/api_op_DeleteAssistant.go index 2462f917a8e..7d7c8354136 100644 --- a/service/wisdom/api_op_DeleteAssistant.go +++ b/service/wisdom/api_op_DeleteAssistant.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteAssistantMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAssistantValidationMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_DeleteAssistantAssociation.go b/service/wisdom/api_op_DeleteAssistantAssociation.go index f680663e000..17bcc0c518d 100644 --- a/service/wisdom/api_op_DeleteAssistantAssociation.go +++ b/service/wisdom/api_op_DeleteAssistantAssociation.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteAssistantAssociationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAssistantAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_DeleteContent.go b/service/wisdom/api_op_DeleteContent.go index 3ace031f3c4..c84ff7f91b1 100644 --- a/service/wisdom/api_op_DeleteContent.go +++ b/service/wisdom/api_op_DeleteContent.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteContentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_DeleteImportJob.go b/service/wisdom/api_op_DeleteImportJob.go index ea220622ac9..c192067ab48 100644 --- a/service/wisdom/api_op_DeleteImportJob.go +++ b/service/wisdom/api_op_DeleteImportJob.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteImportJobMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteImportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_DeleteKnowledgeBase.go b/service/wisdom/api_op_DeleteKnowledgeBase.go index 55879a6faaa..e8477eedacb 100644 --- a/service/wisdom/api_op_DeleteKnowledgeBase.go +++ b/service/wisdom/api_op_DeleteKnowledgeBase.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDeleteKnowledgeBaseMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteKnowledgeBaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_DeleteQuickResponse.go b/service/wisdom/api_op_DeleteQuickResponse.go index bf8de94a877..5f3b64df671 100644 --- a/service/wisdom/api_op_DeleteQuickResponse.go +++ b/service/wisdom/api_op_DeleteQuickResponse.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteQuickResponseMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteQuickResponseValidationMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_GetAssistant.go b/service/wisdom/api_op_GetAssistant.go index bdbe0758ba3..5c5e1bc8454 100644 --- a/service/wisdom/api_op_GetAssistant.go +++ b/service/wisdom/api_op_GetAssistant.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetAssistantMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAssistantValidationMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_GetAssistantAssociation.go b/service/wisdom/api_op_GetAssistantAssociation.go index d45fe980f0c..e015c9c6dba 100644 --- a/service/wisdom/api_op_GetAssistantAssociation.go +++ b/service/wisdom/api_op_GetAssistantAssociation.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetAssistantAssociationMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAssistantAssociationValidationMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_GetContent.go b/service/wisdom/api_op_GetContent.go index edacef326dd..6e6fe1b006a 100644 --- a/service/wisdom/api_op_GetContent.go +++ b/service/wisdom/api_op_GetContent.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetContentMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_GetContentSummary.go b/service/wisdom/api_op_GetContentSummary.go index 419b7059ce5..61561fb60b6 100644 --- a/service/wisdom/api_op_GetContentSummary.go +++ b/service/wisdom/api_op_GetContentSummary.go @@ -120,9 +120,6 @@ func (c *Client) addOperationGetContentSummaryMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetContentSummaryValidationMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_GetImportJob.go b/service/wisdom/api_op_GetImportJob.go index ef1c8e304e6..547a3c2efe5 100644 --- a/service/wisdom/api_op_GetImportJob.go +++ b/service/wisdom/api_op_GetImportJob.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetImportJobMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetImportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_GetKnowledgeBase.go b/service/wisdom/api_op_GetKnowledgeBase.go index 71c44d575e8..d76430303ab 100644 --- a/service/wisdom/api_op_GetKnowledgeBase.go +++ b/service/wisdom/api_op_GetKnowledgeBase.go @@ -114,9 +114,6 @@ func (c *Client) addOperationGetKnowledgeBaseMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetKnowledgeBaseValidationMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_GetQuickResponse.go b/service/wisdom/api_op_GetQuickResponse.go index 9334855430f..e990546e659 100644 --- a/service/wisdom/api_op_GetQuickResponse.go +++ b/service/wisdom/api_op_GetQuickResponse.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetQuickResponseMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetQuickResponseValidationMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_GetRecommendations.go b/service/wisdom/api_op_GetRecommendations.go index c301e68245f..a5dfe020009 100644 --- a/service/wisdom/api_op_GetRecommendations.go +++ b/service/wisdom/api_op_GetRecommendations.go @@ -145,9 +145,6 @@ func (c *Client) addOperationGetRecommendationsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRecommendationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_GetSession.go b/service/wisdom/api_op_GetSession.go index 6e008ddda45..e0f1dbb213b 100644 --- a/service/wisdom/api_op_GetSession.go +++ b/service/wisdom/api_op_GetSession.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetSessionMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_ListAssistantAssociations.go b/service/wisdom/api_op_ListAssistantAssociations.go index 6fec1df3fa8..103e8d53992 100644 --- a/service/wisdom/api_op_ListAssistantAssociations.go +++ b/service/wisdom/api_op_ListAssistantAssociations.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListAssistantAssociationsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAssistantAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_ListAssistants.go b/service/wisdom/api_op_ListAssistants.go index deff4ac3890..fca721d775d 100644 --- a/service/wisdom/api_op_ListAssistants.go +++ b/service/wisdom/api_op_ListAssistants.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListAssistantsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAssistants(options.Region), middleware.Before); err != nil { return err } diff --git a/service/wisdom/api_op_ListContents.go b/service/wisdom/api_op_ListContents.go index 4cc643e9365..5bacbfbf0be 100644 --- a/service/wisdom/api_op_ListContents.go +++ b/service/wisdom/api_op_ListContents.go @@ -126,9 +126,6 @@ func (c *Client) addOperationListContentsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListContentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_ListImportJobs.go b/service/wisdom/api_op_ListImportJobs.go index 4e846f43bac..6d533dba274 100644 --- a/service/wisdom/api_op_ListImportJobs.go +++ b/service/wisdom/api_op_ListImportJobs.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListImportJobsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListImportJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_ListKnowledgeBases.go b/service/wisdom/api_op_ListKnowledgeBases.go index 931f120520b..4c50bac63e3 100644 --- a/service/wisdom/api_op_ListKnowledgeBases.go +++ b/service/wisdom/api_op_ListKnowledgeBases.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListKnowledgeBasesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListKnowledgeBases(options.Region), middleware.Before); err != nil { return err } diff --git a/service/wisdom/api_op_ListQuickResponses.go b/service/wisdom/api_op_ListQuickResponses.go index aa3ecc2a428..3cfbd952ccd 100644 --- a/service/wisdom/api_op_ListQuickResponses.go +++ b/service/wisdom/api_op_ListQuickResponses.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListQuickResponsesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListQuickResponsesValidationMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_ListTagsForResource.go b/service/wisdom/api_op_ListTagsForResource.go index 6a1fc4292e6..93ed2b59b7e 100644 --- a/service/wisdom/api_op_ListTagsForResource.go +++ b/service/wisdom/api_op_ListTagsForResource.go @@ -111,9 +111,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_NotifyRecommendationsReceived.go b/service/wisdom/api_op_NotifyRecommendationsReceived.go index 09b5f7d8f6a..9215d8c1f3a 100644 --- a/service/wisdom/api_op_NotifyRecommendationsReceived.go +++ b/service/wisdom/api_op_NotifyRecommendationsReceived.go @@ -132,9 +132,6 @@ func (c *Client) addOperationNotifyRecommendationsReceivedMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpNotifyRecommendationsReceivedValidationMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_QueryAssistant.go b/service/wisdom/api_op_QueryAssistant.go index 3abf4fb5474..4b828884975 100644 --- a/service/wisdom/api_op_QueryAssistant.go +++ b/service/wisdom/api_op_QueryAssistant.go @@ -138,9 +138,6 @@ func (c *Client) addOperationQueryAssistantMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpQueryAssistantValidationMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_RemoveKnowledgeBaseTemplateUri.go b/service/wisdom/api_op_RemoveKnowledgeBaseTemplateUri.go index 19cb055fda0..24702e5e2df 100644 --- a/service/wisdom/api_op_RemoveKnowledgeBaseTemplateUri.go +++ b/service/wisdom/api_op_RemoveKnowledgeBaseTemplateUri.go @@ -109,9 +109,6 @@ func (c *Client) addOperationRemoveKnowledgeBaseTemplateUriMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveKnowledgeBaseTemplateUriValidationMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_SearchContent.go b/service/wisdom/api_op_SearchContent.go index e99230b78a1..7f04c776374 100644 --- a/service/wisdom/api_op_SearchContent.go +++ b/service/wisdom/api_op_SearchContent.go @@ -132,9 +132,6 @@ func (c *Client) addOperationSearchContentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_SearchQuickResponses.go b/service/wisdom/api_op_SearchQuickResponses.go index 50c2acc1b43..ad8ebe6bf4b 100644 --- a/service/wisdom/api_op_SearchQuickResponses.go +++ b/service/wisdom/api_op_SearchQuickResponses.go @@ -136,9 +136,6 @@ func (c *Client) addOperationSearchQuickResponsesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchQuickResponsesValidationMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_SearchSessions.go b/service/wisdom/api_op_SearchSessions.go index 0892fc6444d..f44185f01eb 100644 --- a/service/wisdom/api_op_SearchSessions.go +++ b/service/wisdom/api_op_SearchSessions.go @@ -130,9 +130,6 @@ func (c *Client) addOperationSearchSessionsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchSessionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_StartContentUpload.go b/service/wisdom/api_op_StartContentUpload.go index ccc5bd5653a..f70125bd0ee 100644 --- a/service/wisdom/api_op_StartContentUpload.go +++ b/service/wisdom/api_op_StartContentUpload.go @@ -147,9 +147,6 @@ func (c *Client) addOperationStartContentUploadMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartContentUploadValidationMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_StartImportJob.go b/service/wisdom/api_op_StartImportJob.go index aace0ea1cfc..67eee1dde54 100644 --- a/service/wisdom/api_op_StartImportJob.go +++ b/service/wisdom/api_op_StartImportJob.go @@ -150,9 +150,6 @@ func (c *Client) addOperationStartImportJobMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartImportJobMiddleware(stack, options); err != nil { return err } diff --git a/service/wisdom/api_op_TagResource.go b/service/wisdom/api_op_TagResource.go index ab835c067e5..67f0b24e6b2 100644 --- a/service/wisdom/api_op_TagResource.go +++ b/service/wisdom/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_UntagResource.go b/service/wisdom/api_op_UntagResource.go index a6b626c6abd..a9cca8801f5 100644 --- a/service/wisdom/api_op_UntagResource.go +++ b/service/wisdom/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_UpdateContent.go b/service/wisdom/api_op_UpdateContent.go index fa05331506d..d101f83f813 100644 --- a/service/wisdom/api_op_UpdateContent.go +++ b/service/wisdom/api_op_UpdateContent.go @@ -150,9 +150,6 @@ func (c *Client) addOperationUpdateContentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_UpdateKnowledgeBaseTemplateUri.go b/service/wisdom/api_op_UpdateKnowledgeBaseTemplateUri.go index 4291d693817..0cd57af1b26 100644 --- a/service/wisdom/api_op_UpdateKnowledgeBaseTemplateUri.go +++ b/service/wisdom/api_op_UpdateKnowledgeBaseTemplateUri.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateKnowledgeBaseTemplateUriMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateKnowledgeBaseTemplateUriValidationMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/api_op_UpdateQuickResponse.go b/service/wisdom/api_op_UpdateQuickResponse.go index badfb1fac8c..872f31cdf7e 100644 --- a/service/wisdom/api_op_UpdateQuickResponse.go +++ b/service/wisdom/api_op_UpdateQuickResponse.go @@ -165,9 +165,6 @@ func (c *Client) addOperationUpdateQuickResponseMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateQuickResponseValidationMiddleware(stack); err != nil { return err } diff --git a/service/wisdom/snapshot/api_op_CreateAssistant.go.snap b/service/wisdom/snapshot/api_op_CreateAssistant.go.snap index 0b9891a7546..f311f4af1e4 100644 --- a/service/wisdom/snapshot/api_op_CreateAssistant.go.snap +++ b/service/wisdom/snapshot/api_op_CreateAssistant.go.snap @@ -15,7 +15,6 @@ CreateAssistant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_CreateAssistantAssociation.go.snap b/service/wisdom/snapshot/api_op_CreateAssistantAssociation.go.snap index 473a50a8a80..b01e9df58da 100644 --- a/service/wisdom/snapshot/api_op_CreateAssistantAssociation.go.snap +++ b/service/wisdom/snapshot/api_op_CreateAssistantAssociation.go.snap @@ -15,7 +15,6 @@ CreateAssistantAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_CreateContent.go.snap b/service/wisdom/snapshot/api_op_CreateContent.go.snap index 0989142c2a7..18499c4ab14 100644 --- a/service/wisdom/snapshot/api_op_CreateContent.go.snap +++ b/service/wisdom/snapshot/api_op_CreateContent.go.snap @@ -15,7 +15,6 @@ CreateContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_CreateKnowledgeBase.go.snap b/service/wisdom/snapshot/api_op_CreateKnowledgeBase.go.snap index 942cdc3f999..aee9f8ba322 100644 --- a/service/wisdom/snapshot/api_op_CreateKnowledgeBase.go.snap +++ b/service/wisdom/snapshot/api_op_CreateKnowledgeBase.go.snap @@ -15,7 +15,6 @@ CreateKnowledgeBase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_CreateQuickResponse.go.snap b/service/wisdom/snapshot/api_op_CreateQuickResponse.go.snap index aef9e34d046..fec75203b76 100644 --- a/service/wisdom/snapshot/api_op_CreateQuickResponse.go.snap +++ b/service/wisdom/snapshot/api_op_CreateQuickResponse.go.snap @@ -15,7 +15,6 @@ CreateQuickResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_CreateSession.go.snap b/service/wisdom/snapshot/api_op_CreateSession.go.snap index 046353571d6..f185aabd7db 100644 --- a/service/wisdom/snapshot/api_op_CreateSession.go.snap +++ b/service/wisdom/snapshot/api_op_CreateSession.go.snap @@ -15,7 +15,6 @@ CreateSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_DeleteAssistant.go.snap b/service/wisdom/snapshot/api_op_DeleteAssistant.go.snap index e0cf70c5bc7..2374b733765 100644 --- a/service/wisdom/snapshot/api_op_DeleteAssistant.go.snap +++ b/service/wisdom/snapshot/api_op_DeleteAssistant.go.snap @@ -14,7 +14,6 @@ DeleteAssistant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_DeleteAssistantAssociation.go.snap b/service/wisdom/snapshot/api_op_DeleteAssistantAssociation.go.snap index 5548b841bb9..5f4bc91c347 100644 --- a/service/wisdom/snapshot/api_op_DeleteAssistantAssociation.go.snap +++ b/service/wisdom/snapshot/api_op_DeleteAssistantAssociation.go.snap @@ -14,7 +14,6 @@ DeleteAssistantAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_DeleteContent.go.snap b/service/wisdom/snapshot/api_op_DeleteContent.go.snap index cc199cc1c99..dd7afedeae1 100644 --- a/service/wisdom/snapshot/api_op_DeleteContent.go.snap +++ b/service/wisdom/snapshot/api_op_DeleteContent.go.snap @@ -14,7 +14,6 @@ DeleteContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_DeleteImportJob.go.snap b/service/wisdom/snapshot/api_op_DeleteImportJob.go.snap index 6fdbcb419f9..a7bdcf5edac 100644 --- a/service/wisdom/snapshot/api_op_DeleteImportJob.go.snap +++ b/service/wisdom/snapshot/api_op_DeleteImportJob.go.snap @@ -14,7 +14,6 @@ DeleteImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_DeleteKnowledgeBase.go.snap b/service/wisdom/snapshot/api_op_DeleteKnowledgeBase.go.snap index c7aa91b3dcf..125e1b22706 100644 --- a/service/wisdom/snapshot/api_op_DeleteKnowledgeBase.go.snap +++ b/service/wisdom/snapshot/api_op_DeleteKnowledgeBase.go.snap @@ -14,7 +14,6 @@ DeleteKnowledgeBase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_DeleteQuickResponse.go.snap b/service/wisdom/snapshot/api_op_DeleteQuickResponse.go.snap index 89a2633b6dd..e121341b0a1 100644 --- a/service/wisdom/snapshot/api_op_DeleteQuickResponse.go.snap +++ b/service/wisdom/snapshot/api_op_DeleteQuickResponse.go.snap @@ -14,7 +14,6 @@ DeleteQuickResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_GetAssistant.go.snap b/service/wisdom/snapshot/api_op_GetAssistant.go.snap index e8a84fd87de..0ebcbd672d6 100644 --- a/service/wisdom/snapshot/api_op_GetAssistant.go.snap +++ b/service/wisdom/snapshot/api_op_GetAssistant.go.snap @@ -14,7 +14,6 @@ GetAssistant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_GetAssistantAssociation.go.snap b/service/wisdom/snapshot/api_op_GetAssistantAssociation.go.snap index 96de6b4a877..3c8219d5f71 100644 --- a/service/wisdom/snapshot/api_op_GetAssistantAssociation.go.snap +++ b/service/wisdom/snapshot/api_op_GetAssistantAssociation.go.snap @@ -14,7 +14,6 @@ GetAssistantAssociation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_GetContent.go.snap b/service/wisdom/snapshot/api_op_GetContent.go.snap index dadcca105e8..d04cd849d0d 100644 --- a/service/wisdom/snapshot/api_op_GetContent.go.snap +++ b/service/wisdom/snapshot/api_op_GetContent.go.snap @@ -14,7 +14,6 @@ GetContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_GetContentSummary.go.snap b/service/wisdom/snapshot/api_op_GetContentSummary.go.snap index 62ff7aeb7c6..72320d26977 100644 --- a/service/wisdom/snapshot/api_op_GetContentSummary.go.snap +++ b/service/wisdom/snapshot/api_op_GetContentSummary.go.snap @@ -14,7 +14,6 @@ GetContentSummary Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_GetImportJob.go.snap b/service/wisdom/snapshot/api_op_GetImportJob.go.snap index b0cf47477db..bb388923d10 100644 --- a/service/wisdom/snapshot/api_op_GetImportJob.go.snap +++ b/service/wisdom/snapshot/api_op_GetImportJob.go.snap @@ -14,7 +14,6 @@ GetImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_GetKnowledgeBase.go.snap b/service/wisdom/snapshot/api_op_GetKnowledgeBase.go.snap index 8e0eaee5f9f..3aa21a23981 100644 --- a/service/wisdom/snapshot/api_op_GetKnowledgeBase.go.snap +++ b/service/wisdom/snapshot/api_op_GetKnowledgeBase.go.snap @@ -14,7 +14,6 @@ GetKnowledgeBase Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_GetQuickResponse.go.snap b/service/wisdom/snapshot/api_op_GetQuickResponse.go.snap index c3d7af1b95c..e72ff21aa2b 100644 --- a/service/wisdom/snapshot/api_op_GetQuickResponse.go.snap +++ b/service/wisdom/snapshot/api_op_GetQuickResponse.go.snap @@ -14,7 +14,6 @@ GetQuickResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_GetRecommendations.go.snap b/service/wisdom/snapshot/api_op_GetRecommendations.go.snap index b679aae6ed3..1a6f7a66b36 100644 --- a/service/wisdom/snapshot/api_op_GetRecommendations.go.snap +++ b/service/wisdom/snapshot/api_op_GetRecommendations.go.snap @@ -14,7 +14,6 @@ GetRecommendations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_GetSession.go.snap b/service/wisdom/snapshot/api_op_GetSession.go.snap index b1fe5b7fa64..409a87aab6e 100644 --- a/service/wisdom/snapshot/api_op_GetSession.go.snap +++ b/service/wisdom/snapshot/api_op_GetSession.go.snap @@ -14,7 +14,6 @@ GetSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_ListAssistantAssociations.go.snap b/service/wisdom/snapshot/api_op_ListAssistantAssociations.go.snap index 78f8562e302..da9c3a9eab3 100644 --- a/service/wisdom/snapshot/api_op_ListAssistantAssociations.go.snap +++ b/service/wisdom/snapshot/api_op_ListAssistantAssociations.go.snap @@ -14,7 +14,6 @@ ListAssistantAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_ListAssistants.go.snap b/service/wisdom/snapshot/api_op_ListAssistants.go.snap index dc018948381..f322f97609e 100644 --- a/service/wisdom/snapshot/api_op_ListAssistants.go.snap +++ b/service/wisdom/snapshot/api_op_ListAssistants.go.snap @@ -13,7 +13,6 @@ ListAssistants Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_ListContents.go.snap b/service/wisdom/snapshot/api_op_ListContents.go.snap index 9bf09b2f823..8e80e2e3313 100644 --- a/service/wisdom/snapshot/api_op_ListContents.go.snap +++ b/service/wisdom/snapshot/api_op_ListContents.go.snap @@ -14,7 +14,6 @@ ListContents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_ListImportJobs.go.snap b/service/wisdom/snapshot/api_op_ListImportJobs.go.snap index d32fe407ea4..a78442da544 100644 --- a/service/wisdom/snapshot/api_op_ListImportJobs.go.snap +++ b/service/wisdom/snapshot/api_op_ListImportJobs.go.snap @@ -14,7 +14,6 @@ ListImportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_ListKnowledgeBases.go.snap b/service/wisdom/snapshot/api_op_ListKnowledgeBases.go.snap index 7d3f985be30..9d6991f7a7e 100644 --- a/service/wisdom/snapshot/api_op_ListKnowledgeBases.go.snap +++ b/service/wisdom/snapshot/api_op_ListKnowledgeBases.go.snap @@ -13,7 +13,6 @@ ListKnowledgeBases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_ListQuickResponses.go.snap b/service/wisdom/snapshot/api_op_ListQuickResponses.go.snap index 33f07524b5d..9a358eafb00 100644 --- a/service/wisdom/snapshot/api_op_ListQuickResponses.go.snap +++ b/service/wisdom/snapshot/api_op_ListQuickResponses.go.snap @@ -14,7 +14,6 @@ ListQuickResponses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_ListTagsForResource.go.snap b/service/wisdom/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/wisdom/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/wisdom/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_NotifyRecommendationsReceived.go.snap b/service/wisdom/snapshot/api_op_NotifyRecommendationsReceived.go.snap index a9bbc700a60..6c80f4096ff 100644 --- a/service/wisdom/snapshot/api_op_NotifyRecommendationsReceived.go.snap +++ b/service/wisdom/snapshot/api_op_NotifyRecommendationsReceived.go.snap @@ -14,7 +14,6 @@ NotifyRecommendationsReceived Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_QueryAssistant.go.snap b/service/wisdom/snapshot/api_op_QueryAssistant.go.snap index ca6af60652c..1fe2a298ca6 100644 --- a/service/wisdom/snapshot/api_op_QueryAssistant.go.snap +++ b/service/wisdom/snapshot/api_op_QueryAssistant.go.snap @@ -14,7 +14,6 @@ QueryAssistant Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_RemoveKnowledgeBaseTemplateUri.go.snap b/service/wisdom/snapshot/api_op_RemoveKnowledgeBaseTemplateUri.go.snap index 662fc3b2bf8..23372387ecc 100644 --- a/service/wisdom/snapshot/api_op_RemoveKnowledgeBaseTemplateUri.go.snap +++ b/service/wisdom/snapshot/api_op_RemoveKnowledgeBaseTemplateUri.go.snap @@ -14,7 +14,6 @@ RemoveKnowledgeBaseTemplateUri Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_SearchContent.go.snap b/service/wisdom/snapshot/api_op_SearchContent.go.snap index fab30140cff..f28b8e3e297 100644 --- a/service/wisdom/snapshot/api_op_SearchContent.go.snap +++ b/service/wisdom/snapshot/api_op_SearchContent.go.snap @@ -14,7 +14,6 @@ SearchContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_SearchQuickResponses.go.snap b/service/wisdom/snapshot/api_op_SearchQuickResponses.go.snap index d3d2dc02124..17f966f9cfd 100644 --- a/service/wisdom/snapshot/api_op_SearchQuickResponses.go.snap +++ b/service/wisdom/snapshot/api_op_SearchQuickResponses.go.snap @@ -14,7 +14,6 @@ SearchQuickResponses Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_SearchSessions.go.snap b/service/wisdom/snapshot/api_op_SearchSessions.go.snap index 71b7b4b22f4..74529290ea2 100644 --- a/service/wisdom/snapshot/api_op_SearchSessions.go.snap +++ b/service/wisdom/snapshot/api_op_SearchSessions.go.snap @@ -14,7 +14,6 @@ SearchSessions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_StartContentUpload.go.snap b/service/wisdom/snapshot/api_op_StartContentUpload.go.snap index c71cbeba9f2..32eb7d0b657 100644 --- a/service/wisdom/snapshot/api_op_StartContentUpload.go.snap +++ b/service/wisdom/snapshot/api_op_StartContentUpload.go.snap @@ -14,7 +14,6 @@ StartContentUpload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_StartImportJob.go.snap b/service/wisdom/snapshot/api_op_StartImportJob.go.snap index 0641ac38d23..e6ed4b036a6 100644 --- a/service/wisdom/snapshot/api_op_StartImportJob.go.snap +++ b/service/wisdom/snapshot/api_op_StartImportJob.go.snap @@ -15,7 +15,6 @@ StartImportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_TagResource.go.snap b/service/wisdom/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/wisdom/snapshot/api_op_TagResource.go.snap +++ b/service/wisdom/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_UntagResource.go.snap b/service/wisdom/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/wisdom/snapshot/api_op_UntagResource.go.snap +++ b/service/wisdom/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_UpdateContent.go.snap b/service/wisdom/snapshot/api_op_UpdateContent.go.snap index 39b2b7167c0..231379f6ed5 100644 --- a/service/wisdom/snapshot/api_op_UpdateContent.go.snap +++ b/service/wisdom/snapshot/api_op_UpdateContent.go.snap @@ -14,7 +14,6 @@ UpdateContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_UpdateKnowledgeBaseTemplateUri.go.snap b/service/wisdom/snapshot/api_op_UpdateKnowledgeBaseTemplateUri.go.snap index c92f1471004..b8bcde45a18 100644 --- a/service/wisdom/snapshot/api_op_UpdateKnowledgeBaseTemplateUri.go.snap +++ b/service/wisdom/snapshot/api_op_UpdateKnowledgeBaseTemplateUri.go.snap @@ -14,7 +14,6 @@ UpdateKnowledgeBaseTemplateUri Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/wisdom/snapshot/api_op_UpdateQuickResponse.go.snap b/service/wisdom/snapshot/api_op_UpdateQuickResponse.go.snap index 1186d7a827c..0c695180be7 100644 --- a/service/wisdom/snapshot/api_op_UpdateQuickResponse.go.snap +++ b/service/wisdom/snapshot/api_op_UpdateQuickResponse.go.snap @@ -14,7 +14,6 @@ UpdateQuickResponse Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/api_client.go b/service/workdocs/api_client.go index 378d39a04a7..027d142c749 100644 --- a/service/workdocs/api_client.go +++ b/service/workdocs/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/workdocs/api_op_AbortDocumentVersionUpload.go b/service/workdocs/api_op_AbortDocumentVersionUpload.go index cf15f517940..be846a93563 100644 --- a/service/workdocs/api_op_AbortDocumentVersionUpload.go +++ b/service/workdocs/api_op_AbortDocumentVersionUpload.go @@ -118,9 +118,6 @@ func (c *Client) addOperationAbortDocumentVersionUploadMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAbortDocumentVersionUploadValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_ActivateUser.go b/service/workdocs/api_op_ActivateUser.go index 480e5c6c386..088a9ad5675 100644 --- a/service/workdocs/api_op_ActivateUser.go +++ b/service/workdocs/api_op_ActivateUser.go @@ -116,9 +116,6 @@ func (c *Client) addOperationActivateUserMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpActivateUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_AddResourcePermissions.go b/service/workdocs/api_op_AddResourcePermissions.go index 093c14e5371..a2cbcc7fc99 100644 --- a/service/workdocs/api_op_AddResourcePermissions.go +++ b/service/workdocs/api_op_AddResourcePermissions.go @@ -126,9 +126,6 @@ func (c *Client) addOperationAddResourcePermissionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAddResourcePermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_CreateComment.go b/service/workdocs/api_op_CreateComment.go index fb086182a81..3bf1d1accc6 100644 --- a/service/workdocs/api_op_CreateComment.go +++ b/service/workdocs/api_op_CreateComment.go @@ -141,9 +141,6 @@ func (c *Client) addOperationCreateCommentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCommentValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_CreateCustomMetadata.go b/service/workdocs/api_op_CreateCustomMetadata.go index eba45ec7642..6011f82a933 100644 --- a/service/workdocs/api_op_CreateCustomMetadata.go +++ b/service/workdocs/api_op_CreateCustomMetadata.go @@ -121,9 +121,6 @@ func (c *Client) addOperationCreateCustomMetadataMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateCustomMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_CreateFolder.go b/service/workdocs/api_op_CreateFolder.go index 85163bf1ec8..c6228c2786e 100644 --- a/service/workdocs/api_op_CreateFolder.go +++ b/service/workdocs/api_op_CreateFolder.go @@ -119,9 +119,6 @@ func (c *Client) addOperationCreateFolderMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateFolderValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_CreateLabels.go b/service/workdocs/api_op_CreateLabels.go index 5e173d6ba44..e2a7ba2a1fe 100644 --- a/service/workdocs/api_op_CreateLabels.go +++ b/service/workdocs/api_op_CreateLabels.go @@ -116,9 +116,6 @@ func (c *Client) addOperationCreateLabelsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateLabelsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_CreateNotificationSubscription.go b/service/workdocs/api_op_CreateNotificationSubscription.go index 178d722af11..da583db2c25 100644 --- a/service/workdocs/api_op_CreateNotificationSubscription.go +++ b/service/workdocs/api_op_CreateNotificationSubscription.go @@ -134,9 +134,6 @@ func (c *Client) addOperationCreateNotificationSubscriptionMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateNotificationSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_CreateUser.go b/service/workdocs/api_op_CreateUser.go index b862d7c10d3..8b817b1be48 100644 --- a/service/workdocs/api_op_CreateUser.go +++ b/service/workdocs/api_op_CreateUser.go @@ -144,9 +144,6 @@ func (c *Client) addOperationCreateUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DeactivateUser.go b/service/workdocs/api_op_DeactivateUser.go index 1ce5167882b..104227cd133 100644 --- a/service/workdocs/api_op_DeactivateUser.go +++ b/service/workdocs/api_op_DeactivateUser.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeactivateUserMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeactivateUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DeleteComment.go b/service/workdocs/api_op_DeleteComment.go index 5b9fae86a29..c44875467e2 100644 --- a/service/workdocs/api_op_DeleteComment.go +++ b/service/workdocs/api_op_DeleteComment.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteCommentMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCommentValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DeleteCustomMetadata.go b/service/workdocs/api_op_DeleteCustomMetadata.go index 1db2776cde2..a1e5dbdd685 100644 --- a/service/workdocs/api_op_DeleteCustomMetadata.go +++ b/service/workdocs/api_op_DeleteCustomMetadata.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteCustomMetadataMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteCustomMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DeleteDocument.go b/service/workdocs/api_op_DeleteDocument.go index 1b0a3960dca..7c5d23d5e6d 100644 --- a/service/workdocs/api_op_DeleteDocument.go +++ b/service/workdocs/api_op_DeleteDocument.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteDocumentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDocumentValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DeleteDocumentVersion.go b/service/workdocs/api_op_DeleteDocumentVersion.go index a18baddb151..0ca1daad530 100644 --- a/service/workdocs/api_op_DeleteDocumentVersion.go +++ b/service/workdocs/api_op_DeleteDocumentVersion.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDeleteDocumentVersionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDocumentVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DeleteFolder.go b/service/workdocs/api_op_DeleteFolder.go index c89c62e757e..2efc1e7d118 100644 --- a/service/workdocs/api_op_DeleteFolder.go +++ b/service/workdocs/api_op_DeleteFolder.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteFolderMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFolderValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DeleteFolderContents.go b/service/workdocs/api_op_DeleteFolderContents.go index 0f35f09cac2..d5cfbbdf39a 100644 --- a/service/workdocs/api_op_DeleteFolderContents.go +++ b/service/workdocs/api_op_DeleteFolderContents.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteFolderContentsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteFolderContentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DeleteLabels.go b/service/workdocs/api_op_DeleteLabels.go index 37bfda16e97..0be03c46134 100644 --- a/service/workdocs/api_op_DeleteLabels.go +++ b/service/workdocs/api_op_DeleteLabels.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeleteLabelsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteLabelsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DeleteNotificationSubscription.go b/service/workdocs/api_op_DeleteNotificationSubscription.go index a62a2bdb85d..1d9738682b9 100644 --- a/service/workdocs/api_op_DeleteNotificationSubscription.go +++ b/service/workdocs/api_op_DeleteNotificationSubscription.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteNotificationSubscriptionMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteNotificationSubscriptionValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DeleteUser.go b/service/workdocs/api_op_DeleteUser.go index a1fdf6591b9..0a87ac6b1a4 100644 --- a/service/workdocs/api_op_DeleteUser.go +++ b/service/workdocs/api_op_DeleteUser.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DescribeActivities.go b/service/workdocs/api_op_DescribeActivities.go index a5e7d29135a..5208acecda8 100644 --- a/service/workdocs/api_op_DescribeActivities.go +++ b/service/workdocs/api_op_DescribeActivities.go @@ -151,9 +151,6 @@ func (c *Client) addOperationDescribeActivitiesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeActivities(options.Region), middleware.Before); err != nil { return err } diff --git a/service/workdocs/api_op_DescribeComments.go b/service/workdocs/api_op_DescribeComments.go index 40c477f3c79..021ad7354ca 100644 --- a/service/workdocs/api_op_DescribeComments.go +++ b/service/workdocs/api_op_DescribeComments.go @@ -132,9 +132,6 @@ func (c *Client) addOperationDescribeCommentsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeCommentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DescribeDocumentVersions.go b/service/workdocs/api_op_DescribeDocumentVersions.go index cfccde6d044..da74a208b52 100644 --- a/service/workdocs/api_op_DescribeDocumentVersions.go +++ b/service/workdocs/api_op_DescribeDocumentVersions.go @@ -137,9 +137,6 @@ func (c *Client) addOperationDescribeDocumentVersionsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeDocumentVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DescribeFolderContents.go b/service/workdocs/api_op_DescribeFolderContents.go index a2ff2bf01af..14ca0b06c49 100644 --- a/service/workdocs/api_op_DescribeFolderContents.go +++ b/service/workdocs/api_op_DescribeFolderContents.go @@ -148,9 +148,6 @@ func (c *Client) addOperationDescribeFolderContentsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeFolderContentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DescribeGroups.go b/service/workdocs/api_op_DescribeGroups.go index 01397b79aab..e38e84c4d07 100644 --- a/service/workdocs/api_op_DescribeGroups.go +++ b/service/workdocs/api_op_DescribeGroups.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeGroupsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DescribeNotificationSubscriptions.go b/service/workdocs/api_op_DescribeNotificationSubscriptions.go index 33c57b531d8..fdf17f8ad9a 100644 --- a/service/workdocs/api_op_DescribeNotificationSubscriptions.go +++ b/service/workdocs/api_op_DescribeNotificationSubscriptions.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeNotificationSubscriptionsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeNotificationSubscriptionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DescribeResourcePermissions.go b/service/workdocs/api_op_DescribeResourcePermissions.go index d8506ed1caf..d58db3ef49c 100644 --- a/service/workdocs/api_op_DescribeResourcePermissions.go +++ b/service/workdocs/api_op_DescribeResourcePermissions.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeResourcePermissionsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeResourcePermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DescribeRootFolders.go b/service/workdocs/api_op_DescribeRootFolders.go index eaafd021ec9..8c8f6941120 100644 --- a/service/workdocs/api_op_DescribeRootFolders.go +++ b/service/workdocs/api_op_DescribeRootFolders.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDescribeRootFoldersMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeRootFoldersValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_DescribeUsers.go b/service/workdocs/api_op_DescribeUsers.go index 0a95975e047..fc7ca3201bd 100644 --- a/service/workdocs/api_op_DescribeUsers.go +++ b/service/workdocs/api_op_DescribeUsers.go @@ -171,9 +171,6 @@ func (c *Client) addOperationDescribeUsersMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeUsers(options.Region), middleware.Before); err != nil { return err } diff --git a/service/workdocs/api_op_GetCurrentUser.go b/service/workdocs/api_op_GetCurrentUser.go index 863ee19b053..a6881057073 100644 --- a/service/workdocs/api_op_GetCurrentUser.go +++ b/service/workdocs/api_op_GetCurrentUser.go @@ -119,9 +119,6 @@ func (c *Client) addOperationGetCurrentUserMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetCurrentUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_GetDocument.go b/service/workdocs/api_op_GetDocument.go index 71a50471e05..a469662b294 100644 --- a/service/workdocs/api_op_GetDocument.go +++ b/service/workdocs/api_op_GetDocument.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetDocumentMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDocumentValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_GetDocumentPath.go b/service/workdocs/api_op_GetDocumentPath.go index ba3e9c74d24..f2f20dff0e4 100644 --- a/service/workdocs/api_op_GetDocumentPath.go +++ b/service/workdocs/api_op_GetDocumentPath.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetDocumentPathMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDocumentPathValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_GetDocumentVersion.go b/service/workdocs/api_op_GetDocumentVersion.go index 95a6166162b..ac738ac81f2 100644 --- a/service/workdocs/api_op_GetDocumentVersion.go +++ b/service/workdocs/api_op_GetDocumentVersion.go @@ -131,9 +131,6 @@ func (c *Client) addOperationGetDocumentVersionMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDocumentVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_GetFolder.go b/service/workdocs/api_op_GetFolder.go index 9fda2b3364d..b926de02340 100644 --- a/service/workdocs/api_op_GetFolder.go +++ b/service/workdocs/api_op_GetFolder.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetFolderMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFolderValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_GetFolderPath.go b/service/workdocs/api_op_GetFolderPath.go index 0bc92ade507..b08051ca18e 100644 --- a/service/workdocs/api_op_GetFolderPath.go +++ b/service/workdocs/api_op_GetFolderPath.go @@ -132,9 +132,6 @@ func (c *Client) addOperationGetFolderPathMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetFolderPathValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_GetResources.go b/service/workdocs/api_op_GetResources.go index a5f5b4cf3dd..81caa4d3dd5 100644 --- a/service/workdocs/api_op_GetResources.go +++ b/service/workdocs/api_op_GetResources.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetResourcesMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetResources(options.Region), middleware.Before); err != nil { return err } diff --git a/service/workdocs/api_op_InitiateDocumentVersionUpload.go b/service/workdocs/api_op_InitiateDocumentVersionUpload.go index dc7f5865d17..22d8278c2cd 100644 --- a/service/workdocs/api_op_InitiateDocumentVersionUpload.go +++ b/service/workdocs/api_op_InitiateDocumentVersionUpload.go @@ -143,9 +143,6 @@ func (c *Client) addOperationInitiateDocumentVersionUploadMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opInitiateDocumentVersionUpload(options.Region), middleware.Before); err != nil { return err } diff --git a/service/workdocs/api_op_RemoveAllResourcePermissions.go b/service/workdocs/api_op_RemoveAllResourcePermissions.go index 0bdfd505d73..2f99d2d02e8 100644 --- a/service/workdocs/api_op_RemoveAllResourcePermissions.go +++ b/service/workdocs/api_op_RemoveAllResourcePermissions.go @@ -111,9 +111,6 @@ func (c *Client) addOperationRemoveAllResourcePermissionsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveAllResourcePermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_RemoveResourcePermission.go b/service/workdocs/api_op_RemoveResourcePermission.go index b60b4892358..98400a9e5f2 100644 --- a/service/workdocs/api_op_RemoveResourcePermission.go +++ b/service/workdocs/api_op_RemoveResourcePermission.go @@ -120,9 +120,6 @@ func (c *Client) addOperationRemoveResourcePermissionMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRemoveResourcePermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_RestoreDocumentVersions.go b/service/workdocs/api_op_RestoreDocumentVersions.go index 1515218eb3f..f0f558738ff 100644 --- a/service/workdocs/api_op_RestoreDocumentVersions.go +++ b/service/workdocs/api_op_RestoreDocumentVersions.go @@ -111,9 +111,6 @@ func (c *Client) addOperationRestoreDocumentVersionsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreDocumentVersionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_SearchResources.go b/service/workdocs/api_op_SearchResources.go index 042e5ae7073..ab0c6067b02 100644 --- a/service/workdocs/api_op_SearchResources.go +++ b/service/workdocs/api_op_SearchResources.go @@ -146,9 +146,6 @@ func (c *Client) addOperationSearchResourcesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpSearchResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_UpdateDocument.go b/service/workdocs/api_op_UpdateDocument.go index 74a91afd3f3..8f3ad2316ba 100644 --- a/service/workdocs/api_op_UpdateDocument.go +++ b/service/workdocs/api_op_UpdateDocument.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateDocumentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDocumentValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_UpdateDocumentVersion.go b/service/workdocs/api_op_UpdateDocumentVersion.go index b00f561443a..ff623499252 100644 --- a/service/workdocs/api_op_UpdateDocumentVersion.go +++ b/service/workdocs/api_op_UpdateDocumentVersion.go @@ -124,9 +124,6 @@ func (c *Client) addOperationUpdateDocumentVersionMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDocumentVersionValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_UpdateFolder.go b/service/workdocs/api_op_UpdateFolder.go index 0d243eedd22..daa415323c1 100644 --- a/service/workdocs/api_op_UpdateFolder.go +++ b/service/workdocs/api_op_UpdateFolder.go @@ -123,9 +123,6 @@ func (c *Client) addOperationUpdateFolderMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateFolderValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/api_op_UpdateUser.go b/service/workdocs/api_op_UpdateUser.go index e915f4b09e7..41d6f5887d5 100644 --- a/service/workdocs/api_op_UpdateUser.go +++ b/service/workdocs/api_op_UpdateUser.go @@ -138,9 +138,6 @@ func (c *Client) addOperationUpdateUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/workdocs/snapshot/api_op_AbortDocumentVersionUpload.go.snap b/service/workdocs/snapshot/api_op_AbortDocumentVersionUpload.go.snap index 7e6e25c80ac..1592fee01e6 100644 --- a/service/workdocs/snapshot/api_op_AbortDocumentVersionUpload.go.snap +++ b/service/workdocs/snapshot/api_op_AbortDocumentVersionUpload.go.snap @@ -14,7 +14,6 @@ AbortDocumentVersionUpload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_ActivateUser.go.snap b/service/workdocs/snapshot/api_op_ActivateUser.go.snap index 2d023858e42..a1d81d43945 100644 --- a/service/workdocs/snapshot/api_op_ActivateUser.go.snap +++ b/service/workdocs/snapshot/api_op_ActivateUser.go.snap @@ -14,7 +14,6 @@ ActivateUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_AddResourcePermissions.go.snap b/service/workdocs/snapshot/api_op_AddResourcePermissions.go.snap index 3985200c7a8..b232f7340c2 100644 --- a/service/workdocs/snapshot/api_op_AddResourcePermissions.go.snap +++ b/service/workdocs/snapshot/api_op_AddResourcePermissions.go.snap @@ -14,7 +14,6 @@ AddResourcePermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_CreateComment.go.snap b/service/workdocs/snapshot/api_op_CreateComment.go.snap index 37c5d01ed13..63c87369fcf 100644 --- a/service/workdocs/snapshot/api_op_CreateComment.go.snap +++ b/service/workdocs/snapshot/api_op_CreateComment.go.snap @@ -14,7 +14,6 @@ CreateComment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_CreateCustomMetadata.go.snap b/service/workdocs/snapshot/api_op_CreateCustomMetadata.go.snap index 10f808407ce..97a981f807b 100644 --- a/service/workdocs/snapshot/api_op_CreateCustomMetadata.go.snap +++ b/service/workdocs/snapshot/api_op_CreateCustomMetadata.go.snap @@ -14,7 +14,6 @@ CreateCustomMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_CreateFolder.go.snap b/service/workdocs/snapshot/api_op_CreateFolder.go.snap index 3e9979bfdad..40f11caf835 100644 --- a/service/workdocs/snapshot/api_op_CreateFolder.go.snap +++ b/service/workdocs/snapshot/api_op_CreateFolder.go.snap @@ -14,7 +14,6 @@ CreateFolder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_CreateLabels.go.snap b/service/workdocs/snapshot/api_op_CreateLabels.go.snap index 5330e8a5514..6b66eca4da7 100644 --- a/service/workdocs/snapshot/api_op_CreateLabels.go.snap +++ b/service/workdocs/snapshot/api_op_CreateLabels.go.snap @@ -14,7 +14,6 @@ CreateLabels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_CreateNotificationSubscription.go.snap b/service/workdocs/snapshot/api_op_CreateNotificationSubscription.go.snap index 637f024b7f1..1c50c4e7d0b 100644 --- a/service/workdocs/snapshot/api_op_CreateNotificationSubscription.go.snap +++ b/service/workdocs/snapshot/api_op_CreateNotificationSubscription.go.snap @@ -14,7 +14,6 @@ CreateNotificationSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_CreateUser.go.snap b/service/workdocs/snapshot/api_op_CreateUser.go.snap index bfcfbd2c853..d278c15935b 100644 --- a/service/workdocs/snapshot/api_op_CreateUser.go.snap +++ b/service/workdocs/snapshot/api_op_CreateUser.go.snap @@ -14,7 +14,6 @@ CreateUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_DeactivateUser.go.snap b/service/workdocs/snapshot/api_op_DeactivateUser.go.snap index c084b840c7e..67cbafb5bde 100644 --- a/service/workdocs/snapshot/api_op_DeactivateUser.go.snap +++ b/service/workdocs/snapshot/api_op_DeactivateUser.go.snap @@ -14,7 +14,6 @@ DeactivateUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_DeleteComment.go.snap b/service/workdocs/snapshot/api_op_DeleteComment.go.snap index 46bcb3595dd..203b2fd4e90 100644 --- a/service/workdocs/snapshot/api_op_DeleteComment.go.snap +++ b/service/workdocs/snapshot/api_op_DeleteComment.go.snap @@ -14,7 +14,6 @@ DeleteComment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_DeleteCustomMetadata.go.snap b/service/workdocs/snapshot/api_op_DeleteCustomMetadata.go.snap index 1380a4c740a..6966015133b 100644 --- a/service/workdocs/snapshot/api_op_DeleteCustomMetadata.go.snap +++ b/service/workdocs/snapshot/api_op_DeleteCustomMetadata.go.snap @@ -14,7 +14,6 @@ DeleteCustomMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_DeleteDocument.go.snap b/service/workdocs/snapshot/api_op_DeleteDocument.go.snap index caeb78b1332..93193fc6a27 100644 --- a/service/workdocs/snapshot/api_op_DeleteDocument.go.snap +++ b/service/workdocs/snapshot/api_op_DeleteDocument.go.snap @@ -14,7 +14,6 @@ DeleteDocument Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_DeleteDocumentVersion.go.snap b/service/workdocs/snapshot/api_op_DeleteDocumentVersion.go.snap index a6366f1f5d8..4c5f69ae323 100644 --- a/service/workdocs/snapshot/api_op_DeleteDocumentVersion.go.snap +++ b/service/workdocs/snapshot/api_op_DeleteDocumentVersion.go.snap @@ -14,7 +14,6 @@ DeleteDocumentVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_DeleteFolder.go.snap b/service/workdocs/snapshot/api_op_DeleteFolder.go.snap index 0ed77eaf6e5..f155a22e668 100644 --- a/service/workdocs/snapshot/api_op_DeleteFolder.go.snap +++ b/service/workdocs/snapshot/api_op_DeleteFolder.go.snap @@ -14,7 +14,6 @@ DeleteFolder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_DeleteFolderContents.go.snap b/service/workdocs/snapshot/api_op_DeleteFolderContents.go.snap index bd95e6134ab..4f74db90d3d 100644 --- a/service/workdocs/snapshot/api_op_DeleteFolderContents.go.snap +++ b/service/workdocs/snapshot/api_op_DeleteFolderContents.go.snap @@ -14,7 +14,6 @@ DeleteFolderContents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_DeleteLabels.go.snap b/service/workdocs/snapshot/api_op_DeleteLabels.go.snap index 96843f86a31..4bad2daf731 100644 --- a/service/workdocs/snapshot/api_op_DeleteLabels.go.snap +++ b/service/workdocs/snapshot/api_op_DeleteLabels.go.snap @@ -14,7 +14,6 @@ DeleteLabels Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_DeleteNotificationSubscription.go.snap b/service/workdocs/snapshot/api_op_DeleteNotificationSubscription.go.snap index d8b1675f1b6..a2cccd76201 100644 --- a/service/workdocs/snapshot/api_op_DeleteNotificationSubscription.go.snap +++ b/service/workdocs/snapshot/api_op_DeleteNotificationSubscription.go.snap @@ -14,7 +14,6 @@ DeleteNotificationSubscription Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_DeleteUser.go.snap b/service/workdocs/snapshot/api_op_DeleteUser.go.snap index 43834da9879..eda6e5fae30 100644 --- a/service/workdocs/snapshot/api_op_DeleteUser.go.snap +++ b/service/workdocs/snapshot/api_op_DeleteUser.go.snap @@ -14,7 +14,6 @@ DeleteUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_DescribeActivities.go.snap b/service/workdocs/snapshot/api_op_DescribeActivities.go.snap index ad35b1448a8..a88edeb009b 100644 --- a/service/workdocs/snapshot/api_op_DescribeActivities.go.snap +++ b/service/workdocs/snapshot/api_op_DescribeActivities.go.snap @@ -13,7 +13,6 @@ DescribeActivities Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_DescribeComments.go.snap b/service/workdocs/snapshot/api_op_DescribeComments.go.snap index 8193ee67645..0c9c01d4521 100644 --- a/service/workdocs/snapshot/api_op_DescribeComments.go.snap +++ b/service/workdocs/snapshot/api_op_DescribeComments.go.snap @@ -14,7 +14,6 @@ DescribeComments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_DescribeDocumentVersions.go.snap b/service/workdocs/snapshot/api_op_DescribeDocumentVersions.go.snap index 9b9214eb832..2d696f9185d 100644 --- a/service/workdocs/snapshot/api_op_DescribeDocumentVersions.go.snap +++ b/service/workdocs/snapshot/api_op_DescribeDocumentVersions.go.snap @@ -14,7 +14,6 @@ DescribeDocumentVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_DescribeFolderContents.go.snap b/service/workdocs/snapshot/api_op_DescribeFolderContents.go.snap index 7c56c8d42f6..59564e1da6b 100644 --- a/service/workdocs/snapshot/api_op_DescribeFolderContents.go.snap +++ b/service/workdocs/snapshot/api_op_DescribeFolderContents.go.snap @@ -14,7 +14,6 @@ DescribeFolderContents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_DescribeGroups.go.snap b/service/workdocs/snapshot/api_op_DescribeGroups.go.snap index 903531cd5ce..d996e34d6a5 100644 --- a/service/workdocs/snapshot/api_op_DescribeGroups.go.snap +++ b/service/workdocs/snapshot/api_op_DescribeGroups.go.snap @@ -14,7 +14,6 @@ DescribeGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_DescribeNotificationSubscriptions.go.snap b/service/workdocs/snapshot/api_op_DescribeNotificationSubscriptions.go.snap index 44c67ac2a66..79824b7c350 100644 --- a/service/workdocs/snapshot/api_op_DescribeNotificationSubscriptions.go.snap +++ b/service/workdocs/snapshot/api_op_DescribeNotificationSubscriptions.go.snap @@ -14,7 +14,6 @@ DescribeNotificationSubscriptions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_DescribeResourcePermissions.go.snap b/service/workdocs/snapshot/api_op_DescribeResourcePermissions.go.snap index 656b05b5b83..582185b963a 100644 --- a/service/workdocs/snapshot/api_op_DescribeResourcePermissions.go.snap +++ b/service/workdocs/snapshot/api_op_DescribeResourcePermissions.go.snap @@ -14,7 +14,6 @@ DescribeResourcePermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_DescribeRootFolders.go.snap b/service/workdocs/snapshot/api_op_DescribeRootFolders.go.snap index 55a5956479d..fae9693581e 100644 --- a/service/workdocs/snapshot/api_op_DescribeRootFolders.go.snap +++ b/service/workdocs/snapshot/api_op_DescribeRootFolders.go.snap @@ -14,7 +14,6 @@ DescribeRootFolders Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_DescribeUsers.go.snap b/service/workdocs/snapshot/api_op_DescribeUsers.go.snap index 8b6ab18b72a..cafc3fdcf66 100644 --- a/service/workdocs/snapshot/api_op_DescribeUsers.go.snap +++ b/service/workdocs/snapshot/api_op_DescribeUsers.go.snap @@ -13,7 +13,6 @@ DescribeUsers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_GetCurrentUser.go.snap b/service/workdocs/snapshot/api_op_GetCurrentUser.go.snap index e870092e2c7..d6eaddd880b 100644 --- a/service/workdocs/snapshot/api_op_GetCurrentUser.go.snap +++ b/service/workdocs/snapshot/api_op_GetCurrentUser.go.snap @@ -14,7 +14,6 @@ GetCurrentUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_GetDocument.go.snap b/service/workdocs/snapshot/api_op_GetDocument.go.snap index f12683aee2b..24141864c6f 100644 --- a/service/workdocs/snapshot/api_op_GetDocument.go.snap +++ b/service/workdocs/snapshot/api_op_GetDocument.go.snap @@ -14,7 +14,6 @@ GetDocument Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_GetDocumentPath.go.snap b/service/workdocs/snapshot/api_op_GetDocumentPath.go.snap index b94fa0b4eaa..43786a3ea61 100644 --- a/service/workdocs/snapshot/api_op_GetDocumentPath.go.snap +++ b/service/workdocs/snapshot/api_op_GetDocumentPath.go.snap @@ -14,7 +14,6 @@ GetDocumentPath Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_GetDocumentVersion.go.snap b/service/workdocs/snapshot/api_op_GetDocumentVersion.go.snap index f168052b4f1..2821fcebc8c 100644 --- a/service/workdocs/snapshot/api_op_GetDocumentVersion.go.snap +++ b/service/workdocs/snapshot/api_op_GetDocumentVersion.go.snap @@ -14,7 +14,6 @@ GetDocumentVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_GetFolder.go.snap b/service/workdocs/snapshot/api_op_GetFolder.go.snap index 90d9b8fe3cc..293f97992da 100644 --- a/service/workdocs/snapshot/api_op_GetFolder.go.snap +++ b/service/workdocs/snapshot/api_op_GetFolder.go.snap @@ -14,7 +14,6 @@ GetFolder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_GetFolderPath.go.snap b/service/workdocs/snapshot/api_op_GetFolderPath.go.snap index 463dec13f7a..96ec3da298c 100644 --- a/service/workdocs/snapshot/api_op_GetFolderPath.go.snap +++ b/service/workdocs/snapshot/api_op_GetFolderPath.go.snap @@ -14,7 +14,6 @@ GetFolderPath Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_GetResources.go.snap b/service/workdocs/snapshot/api_op_GetResources.go.snap index 32bd9abf4cd..f5f04706e47 100644 --- a/service/workdocs/snapshot/api_op_GetResources.go.snap +++ b/service/workdocs/snapshot/api_op_GetResources.go.snap @@ -13,7 +13,6 @@ GetResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_InitiateDocumentVersionUpload.go.snap b/service/workdocs/snapshot/api_op_InitiateDocumentVersionUpload.go.snap index 2902b080cc6..796a695131b 100644 --- a/service/workdocs/snapshot/api_op_InitiateDocumentVersionUpload.go.snap +++ b/service/workdocs/snapshot/api_op_InitiateDocumentVersionUpload.go.snap @@ -13,7 +13,6 @@ InitiateDocumentVersionUpload Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_RemoveAllResourcePermissions.go.snap b/service/workdocs/snapshot/api_op_RemoveAllResourcePermissions.go.snap index 347903fe289..62a5b7aac4c 100644 --- a/service/workdocs/snapshot/api_op_RemoveAllResourcePermissions.go.snap +++ b/service/workdocs/snapshot/api_op_RemoveAllResourcePermissions.go.snap @@ -14,7 +14,6 @@ RemoveAllResourcePermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_RemoveResourcePermission.go.snap b/service/workdocs/snapshot/api_op_RemoveResourcePermission.go.snap index be37aefc2a0..3ea69430ff0 100644 --- a/service/workdocs/snapshot/api_op_RemoveResourcePermission.go.snap +++ b/service/workdocs/snapshot/api_op_RemoveResourcePermission.go.snap @@ -14,7 +14,6 @@ RemoveResourcePermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_RestoreDocumentVersions.go.snap b/service/workdocs/snapshot/api_op_RestoreDocumentVersions.go.snap index 2b41dc0b4de..a8d79cbe5f5 100644 --- a/service/workdocs/snapshot/api_op_RestoreDocumentVersions.go.snap +++ b/service/workdocs/snapshot/api_op_RestoreDocumentVersions.go.snap @@ -14,7 +14,6 @@ RestoreDocumentVersions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_SearchResources.go.snap b/service/workdocs/snapshot/api_op_SearchResources.go.snap index 813101cdf0c..148d438d425 100644 --- a/service/workdocs/snapshot/api_op_SearchResources.go.snap +++ b/service/workdocs/snapshot/api_op_SearchResources.go.snap @@ -14,7 +14,6 @@ SearchResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_UpdateDocument.go.snap b/service/workdocs/snapshot/api_op_UpdateDocument.go.snap index 55ab859f5a5..6be9fda479f 100644 --- a/service/workdocs/snapshot/api_op_UpdateDocument.go.snap +++ b/service/workdocs/snapshot/api_op_UpdateDocument.go.snap @@ -14,7 +14,6 @@ UpdateDocument Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_UpdateDocumentVersion.go.snap b/service/workdocs/snapshot/api_op_UpdateDocumentVersion.go.snap index 818c5809d3c..0e323e48509 100644 --- a/service/workdocs/snapshot/api_op_UpdateDocumentVersion.go.snap +++ b/service/workdocs/snapshot/api_op_UpdateDocumentVersion.go.snap @@ -14,7 +14,6 @@ UpdateDocumentVersion Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_UpdateFolder.go.snap b/service/workdocs/snapshot/api_op_UpdateFolder.go.snap index c28f835d5b3..91b1acb9cfe 100644 --- a/service/workdocs/snapshot/api_op_UpdateFolder.go.snap +++ b/service/workdocs/snapshot/api_op_UpdateFolder.go.snap @@ -14,7 +14,6 @@ UpdateFolder Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workdocs/snapshot/api_op_UpdateUser.go.snap b/service/workdocs/snapshot/api_op_UpdateUser.go.snap index 52e6424cb0f..bee553c064e 100644 --- a/service/workdocs/snapshot/api_op_UpdateUser.go.snap +++ b/service/workdocs/snapshot/api_op_UpdateUser.go.snap @@ -14,7 +14,6 @@ UpdateUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/api_client.go b/service/workmail/api_client.go index 20b42420a7a..4dc77e6f37b 100644 --- a/service/workmail/api_client.go +++ b/service/workmail/api_client.go @@ -772,37 +772,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/workmail/api_op_AssociateDelegateToResource.go b/service/workmail/api_op_AssociateDelegateToResource.go index a013b8f4f47..5e953d75b45 100644 --- a/service/workmail/api_op_AssociateDelegateToResource.go +++ b/service/workmail/api_op_AssociateDelegateToResource.go @@ -135,9 +135,6 @@ func (c *Client) addOperationAssociateDelegateToResourceMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateDelegateToResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_AssociateMemberToGroup.go b/service/workmail/api_op_AssociateMemberToGroup.go index 16145f4ae5a..5112ee538c5 100644 --- a/service/workmail/api_op_AssociateMemberToGroup.go +++ b/service/workmail/api_op_AssociateMemberToGroup.go @@ -136,9 +136,6 @@ func (c *Client) addOperationAssociateMemberToGroupMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateMemberToGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_AssumeImpersonationRole.go b/service/workmail/api_op_AssumeImpersonationRole.go index b7505ec2566..cee98516195 100644 --- a/service/workmail/api_op_AssumeImpersonationRole.go +++ b/service/workmail/api_op_AssumeImpersonationRole.go @@ -120,9 +120,6 @@ func (c *Client) addOperationAssumeImpersonationRoleMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssumeImpersonationRoleValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_CancelMailboxExportJob.go b/service/workmail/api_op_CancelMailboxExportJob.go index 6f10483389d..bf3523b1ac3 100644 --- a/service/workmail/api_op_CancelMailboxExportJob.go +++ b/service/workmail/api_op_CancelMailboxExportJob.go @@ -120,9 +120,6 @@ func (c *Client) addOperationCancelMailboxExportJobMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCancelMailboxExportJobMiddleware(stack, options); err != nil { return err } diff --git a/service/workmail/api_op_CreateAlias.go b/service/workmail/api_op_CreateAlias.go index 6866e70705e..10b0c615faa 100644 --- a/service/workmail/api_op_CreateAlias.go +++ b/service/workmail/api_op_CreateAlias.go @@ -117,9 +117,6 @@ func (c *Client) addOperationCreateAliasMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_CreateAvailabilityConfiguration.go b/service/workmail/api_op_CreateAvailabilityConfiguration.go index e8ecb069dbd..2c73b53d1c4 100644 --- a/service/workmail/api_op_CreateAvailabilityConfiguration.go +++ b/service/workmail/api_op_CreateAvailabilityConfiguration.go @@ -126,9 +126,6 @@ func (c *Client) addOperationCreateAvailabilityConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateAvailabilityConfigurationMiddleware(stack, options); err != nil { return err } diff --git a/service/workmail/api_op_CreateGroup.go b/service/workmail/api_op_CreateGroup.go index bf1946c226f..62bb4c7fa1c 100644 --- a/service/workmail/api_op_CreateGroup.go +++ b/service/workmail/api_op_CreateGroup.go @@ -119,9 +119,6 @@ func (c *Client) addOperationCreateGroupMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_CreateIdentityCenterApplication.go b/service/workmail/api_op_CreateIdentityCenterApplication.go index 5c273b1a190..b07c412210d 100644 --- a/service/workmail/api_op_CreateIdentityCenterApplication.go +++ b/service/workmail/api_op_CreateIdentityCenterApplication.go @@ -123,9 +123,6 @@ func (c *Client) addOperationCreateIdentityCenterApplicationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateIdentityCenterApplicationMiddleware(stack, options); err != nil { return err } diff --git a/service/workmail/api_op_CreateImpersonationRole.go b/service/workmail/api_op_CreateImpersonationRole.go index e8da34de77f..9bdb0fed44b 100644 --- a/service/workmail/api_op_CreateImpersonationRole.go +++ b/service/workmail/api_op_CreateImpersonationRole.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateImpersonationRoleMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateImpersonationRoleMiddleware(stack, options); err != nil { return err } diff --git a/service/workmail/api_op_CreateMobileDeviceAccessRule.go b/service/workmail/api_op_CreateMobileDeviceAccessRule.go index b1bc53de099..ea7bd6e1397 100644 --- a/service/workmail/api_op_CreateMobileDeviceAccessRule.go +++ b/service/workmail/api_op_CreateMobileDeviceAccessRule.go @@ -154,9 +154,6 @@ func (c *Client) addOperationCreateMobileDeviceAccessRuleMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateMobileDeviceAccessRuleMiddleware(stack, options); err != nil { return err } diff --git a/service/workmail/api_op_CreateOrganization.go b/service/workmail/api_op_CreateOrganization.go index 50de6ce949b..ce8418efdf8 100644 --- a/service/workmail/api_op_CreateOrganization.go +++ b/service/workmail/api_op_CreateOrganization.go @@ -146,9 +146,6 @@ func (c *Client) addOperationCreateOrganizationMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateOrganizationMiddleware(stack, options); err != nil { return err } diff --git a/service/workmail/api_op_CreateResource.go b/service/workmail/api_op_CreateResource.go index 34f5bc49fff..d217a4d8669 100644 --- a/service/workmail/api_op_CreateResource.go +++ b/service/workmail/api_op_CreateResource.go @@ -129,9 +129,6 @@ func (c *Client) addOperationCreateResourceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_CreateUser.go b/service/workmail/api_op_CreateUser.go index 33f6101cf62..f8c6ab95acd 100644 --- a/service/workmail/api_op_CreateUser.go +++ b/service/workmail/api_op_CreateUser.go @@ -146,9 +146,6 @@ func (c *Client) addOperationCreateUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DeleteAccessControlRule.go b/service/workmail/api_op_DeleteAccessControlRule.go index 9124b72db88..87cc4e4f571 100644 --- a/service/workmail/api_op_DeleteAccessControlRule.go +++ b/service/workmail/api_op_DeleteAccessControlRule.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteAccessControlRuleMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAccessControlRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DeleteAlias.go b/service/workmail/api_op_DeleteAlias.go index f31ac890e2f..f5d1d96212f 100644 --- a/service/workmail/api_op_DeleteAlias.go +++ b/service/workmail/api_op_DeleteAlias.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDeleteAliasMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DeleteAvailabilityConfiguration.go b/service/workmail/api_op_DeleteAvailabilityConfiguration.go index a4de5146f06..94cece593c3 100644 --- a/service/workmail/api_op_DeleteAvailabilityConfiguration.go +++ b/service/workmail/api_op_DeleteAvailabilityConfiguration.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteAvailabilityConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAvailabilityConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DeleteEmailMonitoringConfiguration.go b/service/workmail/api_op_DeleteEmailMonitoringConfiguration.go index 5d3e1b195bc..5eda78f6fbb 100644 --- a/service/workmail/api_op_DeleteEmailMonitoringConfiguration.go +++ b/service/workmail/api_op_DeleteEmailMonitoringConfiguration.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteEmailMonitoringConfigurationMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteEmailMonitoringConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DeleteGroup.go b/service/workmail/api_op_DeleteGroup.go index 338145839b4..df5269b05c5 100644 --- a/service/workmail/api_op_DeleteGroup.go +++ b/service/workmail/api_op_DeleteGroup.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteGroupMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DeleteIdentityCenterApplication.go b/service/workmail/api_op_DeleteIdentityCenterApplication.go index 7658ebe53c2..f3a248ac563 100644 --- a/service/workmail/api_op_DeleteIdentityCenterApplication.go +++ b/service/workmail/api_op_DeleteIdentityCenterApplication.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteIdentityCenterApplicationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIdentityCenterApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DeleteIdentityProviderConfiguration.go b/service/workmail/api_op_DeleteIdentityProviderConfiguration.go index c46fe2a4753..fbbf1e68ac0 100644 --- a/service/workmail/api_op_DeleteIdentityProviderConfiguration.go +++ b/service/workmail/api_op_DeleteIdentityProviderConfiguration.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDeleteIdentityProviderConfigurationMiddlewares(stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIdentityProviderConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DeleteImpersonationRole.go b/service/workmail/api_op_DeleteImpersonationRole.go index f495f623775..e11af98269d 100644 --- a/service/workmail/api_op_DeleteImpersonationRole.go +++ b/service/workmail/api_op_DeleteImpersonationRole.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteImpersonationRoleMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteImpersonationRoleValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DeleteMailboxPermissions.go b/service/workmail/api_op_DeleteMailboxPermissions.go index 4b32ff411d0..3ff123367ee 100644 --- a/service/workmail/api_op_DeleteMailboxPermissions.go +++ b/service/workmail/api_op_DeleteMailboxPermissions.go @@ -139,9 +139,6 @@ func (c *Client) addOperationDeleteMailboxPermissionsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMailboxPermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DeleteMobileDeviceAccessOverride.go b/service/workmail/api_op_DeleteMobileDeviceAccessOverride.go index 7ca8740ca24..8c15407dad9 100644 --- a/service/workmail/api_op_DeleteMobileDeviceAccessOverride.go +++ b/service/workmail/api_op_DeleteMobileDeviceAccessOverride.go @@ -131,9 +131,6 @@ func (c *Client) addOperationDeleteMobileDeviceAccessOverrideMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMobileDeviceAccessOverrideValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DeleteMobileDeviceAccessRule.go b/service/workmail/api_op_DeleteMobileDeviceAccessRule.go index 71a8eec0943..9923f93db6a 100644 --- a/service/workmail/api_op_DeleteMobileDeviceAccessRule.go +++ b/service/workmail/api_op_DeleteMobileDeviceAccessRule.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteMobileDeviceAccessRuleMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteMobileDeviceAccessRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DeleteOrganization.go b/service/workmail/api_op_DeleteOrganization.go index bb8cffdcc57..b74a89b426f 100644 --- a/service/workmail/api_op_DeleteOrganization.go +++ b/service/workmail/api_op_DeleteOrganization.go @@ -135,9 +135,6 @@ func (c *Client) addOperationDeleteOrganizationMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opDeleteOrganizationMiddleware(stack, options); err != nil { return err } diff --git a/service/workmail/api_op_DeletePersonalAccessToken.go b/service/workmail/api_op_DeletePersonalAccessToken.go index 8c62cb1ded0..4f2b477547c 100644 --- a/service/workmail/api_op_DeletePersonalAccessToken.go +++ b/service/workmail/api_op_DeletePersonalAccessToken.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeletePersonalAccessTokenMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePersonalAccessTokenValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DeleteResource.go b/service/workmail/api_op_DeleteResource.go index a3160a71596..716fc4bc823 100644 --- a/service/workmail/api_op_DeleteResource.go +++ b/service/workmail/api_op_DeleteResource.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteResourceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DeleteRetentionPolicy.go b/service/workmail/api_op_DeleteRetentionPolicy.go index e5a727fd476..deed022f0b8 100644 --- a/service/workmail/api_op_DeleteRetentionPolicy.go +++ b/service/workmail/api_op_DeleteRetentionPolicy.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDeleteRetentionPolicyMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteRetentionPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DeleteUser.go b/service/workmail/api_op_DeleteUser.go index f3a2d6646f4..5de8ab4bf89 100644 --- a/service/workmail/api_op_DeleteUser.go +++ b/service/workmail/api_op_DeleteUser.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDeleteUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DeregisterFromWorkMail.go b/service/workmail/api_op_DeregisterFromWorkMail.go index 91199134379..0f1e19aeb06 100644 --- a/service/workmail/api_op_DeregisterFromWorkMail.go +++ b/service/workmail/api_op_DeregisterFromWorkMail.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDeregisterFromWorkMailMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterFromWorkMailValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DeregisterMailDomain.go b/service/workmail/api_op_DeregisterMailDomain.go index b042cc87f77..3d3bd57ccf9 100644 --- a/service/workmail/api_op_DeregisterMailDomain.go +++ b/service/workmail/api_op_DeregisterMailDomain.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeregisterMailDomainMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterMailDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DescribeEmailMonitoringConfiguration.go b/service/workmail/api_op_DescribeEmailMonitoringConfiguration.go index 218bb72c202..c3ae0bf9104 100644 --- a/service/workmail/api_op_DescribeEmailMonitoringConfiguration.go +++ b/service/workmail/api_op_DescribeEmailMonitoringConfiguration.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDescribeEmailMonitoringConfigurationMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEmailMonitoringConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DescribeEntity.go b/service/workmail/api_op_DescribeEntity.go index 928760ccccb..b081fe0483b 100644 --- a/service/workmail/api_op_DescribeEntity.go +++ b/service/workmail/api_op_DescribeEntity.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeEntityMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeEntityValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DescribeGroup.go b/service/workmail/api_op_DescribeGroup.go index ea86b0ae0f1..8e8f0d0b8c1 100644 --- a/service/workmail/api_op_DescribeGroup.go +++ b/service/workmail/api_op_DescribeGroup.go @@ -149,9 +149,6 @@ func (c *Client) addOperationDescribeGroupMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DescribeIdentityProviderConfiguration.go b/service/workmail/api_op_DescribeIdentityProviderConfiguration.go index 0a8c25529eb..47336a862e0 100644 --- a/service/workmail/api_op_DescribeIdentityProviderConfiguration.go +++ b/service/workmail/api_op_DescribeIdentityProviderConfiguration.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDescribeIdentityProviderConfigurationMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeIdentityProviderConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DescribeInboundDmarcSettings.go b/service/workmail/api_op_DescribeInboundDmarcSettings.go index 9ae75dfba88..88077c6cc06 100644 --- a/service/workmail/api_op_DescribeInboundDmarcSettings.go +++ b/service/workmail/api_op_DescribeInboundDmarcSettings.go @@ -111,9 +111,6 @@ func (c *Client) addOperationDescribeInboundDmarcSettingsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeInboundDmarcSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DescribeMailboxExportJob.go b/service/workmail/api_op_DescribeMailboxExportJob.go index ef208fc3a0d..993e3258fdf 100644 --- a/service/workmail/api_op_DescribeMailboxExportJob.go +++ b/service/workmail/api_op_DescribeMailboxExportJob.go @@ -153,9 +153,6 @@ func (c *Client) addOperationDescribeMailboxExportJobMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeMailboxExportJobValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DescribeOrganization.go b/service/workmail/api_op_DescribeOrganization.go index 18cae964e8f..6d0e8312b8f 100644 --- a/service/workmail/api_op_DescribeOrganization.go +++ b/service/workmail/api_op_DescribeOrganization.go @@ -145,9 +145,6 @@ func (c *Client) addOperationDescribeOrganizationMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeOrganizationValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DescribeResource.go b/service/workmail/api_op_DescribeResource.go index af5551dc396..1773cc4df28 100644 --- a/service/workmail/api_op_DescribeResource.go +++ b/service/workmail/api_op_DescribeResource.go @@ -158,9 +158,6 @@ func (c *Client) addOperationDescribeResourceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DescribeUser.go b/service/workmail/api_op_DescribeUser.go index 24dc598be73..fe1f36de2d6 100644 --- a/service/workmail/api_op_DescribeUser.go +++ b/service/workmail/api_op_DescribeUser.go @@ -212,9 +212,6 @@ func (c *Client) addOperationDescribeUserMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DisassociateDelegateFromResource.go b/service/workmail/api_op_DisassociateDelegateFromResource.go index 225f0c5e73b..1a6f69eb023 100644 --- a/service/workmail/api_op_DisassociateDelegateFromResource.go +++ b/service/workmail/api_op_DisassociateDelegateFromResource.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDisassociateDelegateFromResourceMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateDelegateFromResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_DisassociateMemberFromGroup.go b/service/workmail/api_op_DisassociateMemberFromGroup.go index 7f42fd6cf82..df6c5dc0a64 100644 --- a/service/workmail/api_op_DisassociateMemberFromGroup.go +++ b/service/workmail/api_op_DisassociateMemberFromGroup.go @@ -136,9 +136,6 @@ func (c *Client) addOperationDisassociateMemberFromGroupMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateMemberFromGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_GetAccessControlEffect.go b/service/workmail/api_op_GetAccessControlEffect.go index bf33a8e5337..67a7d1337df 100644 --- a/service/workmail/api_op_GetAccessControlEffect.go +++ b/service/workmail/api_op_GetAccessControlEffect.go @@ -135,9 +135,6 @@ func (c *Client) addOperationGetAccessControlEffectMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetAccessControlEffectValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_GetDefaultRetentionPolicy.go b/service/workmail/api_op_GetDefaultRetentionPolicy.go index f0faba72575..5f902fdaea3 100644 --- a/service/workmail/api_op_GetDefaultRetentionPolicy.go +++ b/service/workmail/api_op_GetDefaultRetentionPolicy.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetDefaultRetentionPolicyMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDefaultRetentionPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_GetImpersonationRole.go b/service/workmail/api_op_GetImpersonationRole.go index e72d3dc3d82..8bc96919847 100644 --- a/service/workmail/api_op_GetImpersonationRole.go +++ b/service/workmail/api_op_GetImpersonationRole.go @@ -136,9 +136,6 @@ func (c *Client) addOperationGetImpersonationRoleMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetImpersonationRoleValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_GetImpersonationRoleEffect.go b/service/workmail/api_op_GetImpersonationRoleEffect.go index 5fecccbc7a8..9f8408a061e 100644 --- a/service/workmail/api_op_GetImpersonationRoleEffect.go +++ b/service/workmail/api_op_GetImpersonationRoleEffect.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGetImpersonationRoleEffectMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetImpersonationRoleEffectValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_GetMailDomain.go b/service/workmail/api_op_GetMailDomain.go index 84f3d8dc724..51a167653e7 100644 --- a/service/workmail/api_op_GetMailDomain.go +++ b/service/workmail/api_op_GetMailDomain.go @@ -134,9 +134,6 @@ func (c *Client) addOperationGetMailDomainMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMailDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_GetMailboxDetails.go b/service/workmail/api_op_GetMailboxDetails.go index 5b73e824c52..24a62cf180c 100644 --- a/service/workmail/api_op_GetMailboxDetails.go +++ b/service/workmail/api_op_GetMailboxDetails.go @@ -130,9 +130,6 @@ func (c *Client) addOperationGetMailboxDetailsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMailboxDetailsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_GetMobileDeviceAccessEffect.go b/service/workmail/api_op_GetMobileDeviceAccessEffect.go index f3e91d5613c..03a3b5f16e3 100644 --- a/service/workmail/api_op_GetMobileDeviceAccessEffect.go +++ b/service/workmail/api_op_GetMobileDeviceAccessEffect.go @@ -133,9 +133,6 @@ func (c *Client) addOperationGetMobileDeviceAccessEffectMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMobileDeviceAccessEffectValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_GetMobileDeviceAccessOverride.go b/service/workmail/api_op_GetMobileDeviceAccessOverride.go index 67315f34ab2..cdca4a100ce 100644 --- a/service/workmail/api_op_GetMobileDeviceAccessOverride.go +++ b/service/workmail/api_op_GetMobileDeviceAccessOverride.go @@ -147,9 +147,6 @@ func (c *Client) addOperationGetMobileDeviceAccessOverrideMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetMobileDeviceAccessOverrideValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_GetPersonalAccessTokenMetadata.go b/service/workmail/api_op_GetPersonalAccessTokenMetadata.go index 61e900533d4..31962e18f92 100644 --- a/service/workmail/api_op_GetPersonalAccessTokenMetadata.go +++ b/service/workmail/api_op_GetPersonalAccessTokenMetadata.go @@ -137,9 +137,6 @@ func (c *Client) addOperationGetPersonalAccessTokenMetadataMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPersonalAccessTokenMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ListAccessControlRules.go b/service/workmail/api_op_ListAccessControlRules.go index b38181eec81..f512242cce9 100644 --- a/service/workmail/api_op_ListAccessControlRules.go +++ b/service/workmail/api_op_ListAccessControlRules.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListAccessControlRulesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAccessControlRulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ListAliases.go b/service/workmail/api_op_ListAliases.go index 973ea5a0002..c459274003b 100644 --- a/service/workmail/api_op_ListAliases.go +++ b/service/workmail/api_op_ListAliases.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListAliasesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAliasesValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ListAvailabilityConfigurations.go b/service/workmail/api_op_ListAvailabilityConfigurations.go index dd7477fbde9..d24382a35da 100644 --- a/service/workmail/api_op_ListAvailabilityConfigurations.go +++ b/service/workmail/api_op_ListAvailabilityConfigurations.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListAvailabilityConfigurationsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAvailabilityConfigurationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ListGroupMembers.go b/service/workmail/api_op_ListGroupMembers.go index 067dc5346c5..81acc45151c 100644 --- a/service/workmail/api_op_ListGroupMembers.go +++ b/service/workmail/api_op_ListGroupMembers.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListGroupMembersMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListGroupMembersValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ListGroups.go b/service/workmail/api_op_ListGroups.go index f9dce9ecf53..b5007abade9 100644 --- a/service/workmail/api_op_ListGroups.go +++ b/service/workmail/api_op_ListGroups.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListGroupsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ListGroupsForEntity.go b/service/workmail/api_op_ListGroupsForEntity.go index ea678647982..7f39ddcd639 100644 --- a/service/workmail/api_op_ListGroupsForEntity.go +++ b/service/workmail/api_op_ListGroupsForEntity.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListGroupsForEntityMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListGroupsForEntityValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ListImpersonationRoles.go b/service/workmail/api_op_ListImpersonationRoles.go index f790421b161..ade50b89abd 100644 --- a/service/workmail/api_op_ListImpersonationRoles.go +++ b/service/workmail/api_op_ListImpersonationRoles.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListImpersonationRolesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListImpersonationRolesValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ListMailDomains.go b/service/workmail/api_op_ListMailDomains.go index a2776f3cf67..d0baf94436d 100644 --- a/service/workmail/api_op_ListMailDomains.go +++ b/service/workmail/api_op_ListMailDomains.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListMailDomainsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMailDomainsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ListMailboxExportJobs.go b/service/workmail/api_op_ListMailboxExportJobs.go index 7c43d6b4c0a..d9a7d7f75d8 100644 --- a/service/workmail/api_op_ListMailboxExportJobs.go +++ b/service/workmail/api_op_ListMailboxExportJobs.go @@ -122,9 +122,6 @@ func (c *Client) addOperationListMailboxExportJobsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMailboxExportJobsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ListMailboxPermissions.go b/service/workmail/api_op_ListMailboxPermissions.go index 249d4fccd77..edbae9cb5c0 100644 --- a/service/workmail/api_op_ListMailboxPermissions.go +++ b/service/workmail/api_op_ListMailboxPermissions.go @@ -140,9 +140,6 @@ func (c *Client) addOperationListMailboxPermissionsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMailboxPermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ListMobileDeviceAccessOverrides.go b/service/workmail/api_op_ListMobileDeviceAccessOverrides.go index 973698fc1c9..184ef90d8c2 100644 --- a/service/workmail/api_op_ListMobileDeviceAccessOverrides.go +++ b/service/workmail/api_op_ListMobileDeviceAccessOverrides.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListMobileDeviceAccessOverridesMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMobileDeviceAccessOverridesValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ListMobileDeviceAccessRules.go b/service/workmail/api_op_ListMobileDeviceAccessRules.go index 3c6ca9768fb..8ba74bd4ae5 100644 --- a/service/workmail/api_op_ListMobileDeviceAccessRules.go +++ b/service/workmail/api_op_ListMobileDeviceAccessRules.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListMobileDeviceAccessRulesMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListMobileDeviceAccessRulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ListOrganizations.go b/service/workmail/api_op_ListOrganizations.go index 1fb8825460e..6cbb20e76fa 100644 --- a/service/workmail/api_op_ListOrganizations.go +++ b/service/workmail/api_op_ListOrganizations.go @@ -119,9 +119,6 @@ func (c *Client) addOperationListOrganizationsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListOrganizations(options.Region), middleware.Before); err != nil { return err } diff --git a/service/workmail/api_op_ListPersonalAccessTokens.go b/service/workmail/api_op_ListPersonalAccessTokens.go index c24801e7d14..fccdc5aa21b 100644 --- a/service/workmail/api_op_ListPersonalAccessTokens.go +++ b/service/workmail/api_op_ListPersonalAccessTokens.go @@ -125,9 +125,6 @@ func (c *Client) addOperationListPersonalAccessTokensMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListPersonalAccessTokensValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ListResourceDelegates.go b/service/workmail/api_op_ListResourceDelegates.go index a1e1ba198c5..8da2b36e412 100644 --- a/service/workmail/api_op_ListResourceDelegates.go +++ b/service/workmail/api_op_ListResourceDelegates.go @@ -139,9 +139,6 @@ func (c *Client) addOperationListResourceDelegatesMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListResourceDelegatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ListResources.go b/service/workmail/api_op_ListResources.go index 0387a648585..e517da303e5 100644 --- a/service/workmail/api_op_ListResources.go +++ b/service/workmail/api_op_ListResources.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListResourcesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListResourcesValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ListTagsForResource.go b/service/workmail/api_op_ListTagsForResource.go index c02b628b1ff..355d6572dd9 100644 --- a/service/workmail/api_op_ListTagsForResource.go +++ b/service/workmail/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ListUsers.go b/service/workmail/api_op_ListUsers.go index e2cb15b1c11..7ff9b04eea0 100644 --- a/service/workmail/api_op_ListUsers.go +++ b/service/workmail/api_op_ListUsers.go @@ -127,9 +127,6 @@ func (c *Client) addOperationListUsersMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListUsersValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_PutAccessControlRule.go b/service/workmail/api_op_PutAccessControlRule.go index f7a2be1a912..2f04085a91a 100644 --- a/service/workmail/api_op_PutAccessControlRule.go +++ b/service/workmail/api_op_PutAccessControlRule.go @@ -152,9 +152,6 @@ func (c *Client) addOperationPutAccessControlRuleMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutAccessControlRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_PutEmailMonitoringConfiguration.go b/service/workmail/api_op_PutEmailMonitoringConfiguration.go index 4a7748d56bd..88b4ec64c2a 100644 --- a/service/workmail/api_op_PutEmailMonitoringConfiguration.go +++ b/service/workmail/api_op_PutEmailMonitoringConfiguration.go @@ -120,9 +120,6 @@ func (c *Client) addOperationPutEmailMonitoringConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutEmailMonitoringConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_PutIdentityProviderConfiguration.go b/service/workmail/api_op_PutIdentityProviderConfiguration.go index 77546985551..3c6ffb2cfc8 100644 --- a/service/workmail/api_op_PutIdentityProviderConfiguration.go +++ b/service/workmail/api_op_PutIdentityProviderConfiguration.go @@ -128,9 +128,6 @@ func (c *Client) addOperationPutIdentityProviderConfigurationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutIdentityProviderConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_PutInboundDmarcSettings.go b/service/workmail/api_op_PutInboundDmarcSettings.go index b20267b4504..4c5d3093a19 100644 --- a/service/workmail/api_op_PutInboundDmarcSettings.go +++ b/service/workmail/api_op_PutInboundDmarcSettings.go @@ -112,9 +112,6 @@ func (c *Client) addOperationPutInboundDmarcSettingsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutInboundDmarcSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_PutMailboxPermissions.go b/service/workmail/api_op_PutMailboxPermissions.go index 6b7ee4d1b99..a7b30bf01ca 100644 --- a/service/workmail/api_op_PutMailboxPermissions.go +++ b/service/workmail/api_op_PutMailboxPermissions.go @@ -153,9 +153,6 @@ func (c *Client) addOperationPutMailboxPermissionsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutMailboxPermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_PutMobileDeviceAccessOverride.go b/service/workmail/api_op_PutMobileDeviceAccessOverride.go index 226a1d6273c..1bd4e386e6b 100644 --- a/service/workmail/api_op_PutMobileDeviceAccessOverride.go +++ b/service/workmail/api_op_PutMobileDeviceAccessOverride.go @@ -136,9 +136,6 @@ func (c *Client) addOperationPutMobileDeviceAccessOverrideMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutMobileDeviceAccessOverrideValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_PutRetentionPolicy.go b/service/workmail/api_op_PutRetentionPolicy.go index 4cd64eafd19..53562efad5d 100644 --- a/service/workmail/api_op_PutRetentionPolicy.go +++ b/service/workmail/api_op_PutRetentionPolicy.go @@ -124,9 +124,6 @@ func (c *Client) addOperationPutRetentionPolicyMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutRetentionPolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_RegisterMailDomain.go b/service/workmail/api_op_RegisterMailDomain.go index af18567740a..93e1f090cd0 100644 --- a/service/workmail/api_op_RegisterMailDomain.go +++ b/service/workmail/api_op_RegisterMailDomain.go @@ -118,9 +118,6 @@ func (c *Client) addOperationRegisterMailDomainMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opRegisterMailDomainMiddleware(stack, options); err != nil { return err } diff --git a/service/workmail/api_op_RegisterToWorkMail.go b/service/workmail/api_op_RegisterToWorkMail.go index 2765d421810..97477ab4a88 100644 --- a/service/workmail/api_op_RegisterToWorkMail.go +++ b/service/workmail/api_op_RegisterToWorkMail.go @@ -137,9 +137,6 @@ func (c *Client) addOperationRegisterToWorkMailMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterToWorkMailValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_ResetPassword.go b/service/workmail/api_op_ResetPassword.go index 3c4ed2e1fab..a7399612c57 100644 --- a/service/workmail/api_op_ResetPassword.go +++ b/service/workmail/api_op_ResetPassword.go @@ -118,9 +118,6 @@ func (c *Client) addOperationResetPasswordMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpResetPasswordValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_StartMailboxExportJob.go b/service/workmail/api_op_StartMailboxExportJob.go index 76ca91c0906..3b7137b5a48 100644 --- a/service/workmail/api_op_StartMailboxExportJob.go +++ b/service/workmail/api_op_StartMailboxExportJob.go @@ -162,9 +162,6 @@ func (c *Client) addOperationStartMailboxExportJobMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opStartMailboxExportJobMiddleware(stack, options); err != nil { return err } diff --git a/service/workmail/api_op_TagResource.go b/service/workmail/api_op_TagResource.go index 2e3b22313f9..f77510e5760 100644 --- a/service/workmail/api_op_TagResource.go +++ b/service/workmail/api_op_TagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_TestAvailabilityConfiguration.go b/service/workmail/api_op_TestAvailabilityConfiguration.go index a848a994624..00b1990d7b9 100644 --- a/service/workmail/api_op_TestAvailabilityConfiguration.go +++ b/service/workmail/api_op_TestAvailabilityConfiguration.go @@ -135,9 +135,6 @@ func (c *Client) addOperationTestAvailabilityConfigurationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTestAvailabilityConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_UntagResource.go b/service/workmail/api_op_UntagResource.go index fe1305cfe7f..c59c14ecfa2 100644 --- a/service/workmail/api_op_UntagResource.go +++ b/service/workmail/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_UpdateAvailabilityConfiguration.go b/service/workmail/api_op_UpdateAvailabilityConfiguration.go index 80a3a2aac76..c9074a11dd2 100644 --- a/service/workmail/api_op_UpdateAvailabilityConfiguration.go +++ b/service/workmail/api_op_UpdateAvailabilityConfiguration.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateAvailabilityConfigurationMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateAvailabilityConfigurationValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_UpdateDefaultMailDomain.go b/service/workmail/api_op_UpdateDefaultMailDomain.go index e612356b43f..12cf1c25c36 100644 --- a/service/workmail/api_op_UpdateDefaultMailDomain.go +++ b/service/workmail/api_op_UpdateDefaultMailDomain.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUpdateDefaultMailDomainMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateDefaultMailDomainValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_UpdateGroup.go b/service/workmail/api_op_UpdateGroup.go index 54c4abbf63d..b390ef34dde 100644 --- a/service/workmail/api_op_UpdateGroup.go +++ b/service/workmail/api_op_UpdateGroup.go @@ -125,9 +125,6 @@ func (c *Client) addOperationUpdateGroupMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_UpdateImpersonationRole.go b/service/workmail/api_op_UpdateImpersonationRole.go index cd6545ef4a4..9f3a38de6e3 100644 --- a/service/workmail/api_op_UpdateImpersonationRole.go +++ b/service/workmail/api_op_UpdateImpersonationRole.go @@ -131,9 +131,6 @@ func (c *Client) addOperationUpdateImpersonationRoleMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateImpersonationRoleValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_UpdateMailboxQuota.go b/service/workmail/api_op_UpdateMailboxQuota.go index bf9a8a9f763..0b51ea99205 100644 --- a/service/workmail/api_op_UpdateMailboxQuota.go +++ b/service/workmail/api_op_UpdateMailboxQuota.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateMailboxQuotaMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMailboxQuotaValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_UpdateMobileDeviceAccessRule.go b/service/workmail/api_op_UpdateMobileDeviceAccessRule.go index 7212f15ff89..c6a5f1d5564 100644 --- a/service/workmail/api_op_UpdateMobileDeviceAccessRule.go +++ b/service/workmail/api_op_UpdateMobileDeviceAccessRule.go @@ -154,9 +154,6 @@ func (c *Client) addOperationUpdateMobileDeviceAccessRuleMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateMobileDeviceAccessRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_UpdatePrimaryEmailAddress.go b/service/workmail/api_op_UpdatePrimaryEmailAddress.go index 36e9b52da3d..b0f212763b3 100644 --- a/service/workmail/api_op_UpdatePrimaryEmailAddress.go +++ b/service/workmail/api_op_UpdatePrimaryEmailAddress.go @@ -132,9 +132,6 @@ func (c *Client) addOperationUpdatePrimaryEmailAddressMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePrimaryEmailAddressValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_UpdateResource.go b/service/workmail/api_op_UpdateResource.go index 5388d521381..0ebbf64bb64 100644 --- a/service/workmail/api_op_UpdateResource.go +++ b/service/workmail/api_op_UpdateResource.go @@ -140,9 +140,6 @@ func (c *Client) addOperationUpdateResourceMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/api_op_UpdateUser.go b/service/workmail/api_op_UpdateUser.go index 066b15806dd..2e1dd60b98c 100644 --- a/service/workmail/api_op_UpdateUser.go +++ b/service/workmail/api_op_UpdateUser.go @@ -177,9 +177,6 @@ func (c *Client) addOperationUpdateUserMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateUserValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmail/snapshot/api_op_AssociateDelegateToResource.go.snap b/service/workmail/snapshot/api_op_AssociateDelegateToResource.go.snap index 51fe20c4dcf..c82cfcd8ae3 100644 --- a/service/workmail/snapshot/api_op_AssociateDelegateToResource.go.snap +++ b/service/workmail/snapshot/api_op_AssociateDelegateToResource.go.snap @@ -14,7 +14,6 @@ AssociateDelegateToResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_AssociateMemberToGroup.go.snap b/service/workmail/snapshot/api_op_AssociateMemberToGroup.go.snap index df56a5f463c..68f702ce47e 100644 --- a/service/workmail/snapshot/api_op_AssociateMemberToGroup.go.snap +++ b/service/workmail/snapshot/api_op_AssociateMemberToGroup.go.snap @@ -14,7 +14,6 @@ AssociateMemberToGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_AssumeImpersonationRole.go.snap b/service/workmail/snapshot/api_op_AssumeImpersonationRole.go.snap index de445ef43c5..f349f865cc6 100644 --- a/service/workmail/snapshot/api_op_AssumeImpersonationRole.go.snap +++ b/service/workmail/snapshot/api_op_AssumeImpersonationRole.go.snap @@ -14,7 +14,6 @@ AssumeImpersonationRole Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_CancelMailboxExportJob.go.snap b/service/workmail/snapshot/api_op_CancelMailboxExportJob.go.snap index 34d635f6aab..1ff5b93a44f 100644 --- a/service/workmail/snapshot/api_op_CancelMailboxExportJob.go.snap +++ b/service/workmail/snapshot/api_op_CancelMailboxExportJob.go.snap @@ -15,7 +15,6 @@ CancelMailboxExportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_CreateAlias.go.snap b/service/workmail/snapshot/api_op_CreateAlias.go.snap index ea96e788303..2949a1e05b7 100644 --- a/service/workmail/snapshot/api_op_CreateAlias.go.snap +++ b/service/workmail/snapshot/api_op_CreateAlias.go.snap @@ -14,7 +14,6 @@ CreateAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_CreateAvailabilityConfiguration.go.snap b/service/workmail/snapshot/api_op_CreateAvailabilityConfiguration.go.snap index 4fbf7b84595..2f0e4cc1a95 100644 --- a/service/workmail/snapshot/api_op_CreateAvailabilityConfiguration.go.snap +++ b/service/workmail/snapshot/api_op_CreateAvailabilityConfiguration.go.snap @@ -15,7 +15,6 @@ CreateAvailabilityConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_CreateGroup.go.snap b/service/workmail/snapshot/api_op_CreateGroup.go.snap index f017be256c7..f4adf31ac79 100644 --- a/service/workmail/snapshot/api_op_CreateGroup.go.snap +++ b/service/workmail/snapshot/api_op_CreateGroup.go.snap @@ -14,7 +14,6 @@ CreateGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_CreateIdentityCenterApplication.go.snap b/service/workmail/snapshot/api_op_CreateIdentityCenterApplication.go.snap index f424760cec9..7d2abb81ca9 100644 --- a/service/workmail/snapshot/api_op_CreateIdentityCenterApplication.go.snap +++ b/service/workmail/snapshot/api_op_CreateIdentityCenterApplication.go.snap @@ -15,7 +15,6 @@ CreateIdentityCenterApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_CreateImpersonationRole.go.snap b/service/workmail/snapshot/api_op_CreateImpersonationRole.go.snap index bb229424ca2..c1edee9c081 100644 --- a/service/workmail/snapshot/api_op_CreateImpersonationRole.go.snap +++ b/service/workmail/snapshot/api_op_CreateImpersonationRole.go.snap @@ -15,7 +15,6 @@ CreateImpersonationRole Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_CreateMobileDeviceAccessRule.go.snap b/service/workmail/snapshot/api_op_CreateMobileDeviceAccessRule.go.snap index 6e34219648e..47d6b54f229 100644 --- a/service/workmail/snapshot/api_op_CreateMobileDeviceAccessRule.go.snap +++ b/service/workmail/snapshot/api_op_CreateMobileDeviceAccessRule.go.snap @@ -15,7 +15,6 @@ CreateMobileDeviceAccessRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_CreateOrganization.go.snap b/service/workmail/snapshot/api_op_CreateOrganization.go.snap index 8a90732442e..882201296d6 100644 --- a/service/workmail/snapshot/api_op_CreateOrganization.go.snap +++ b/service/workmail/snapshot/api_op_CreateOrganization.go.snap @@ -15,7 +15,6 @@ CreateOrganization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_CreateResource.go.snap b/service/workmail/snapshot/api_op_CreateResource.go.snap index bce7b519023..90768e1ea6f 100644 --- a/service/workmail/snapshot/api_op_CreateResource.go.snap +++ b/service/workmail/snapshot/api_op_CreateResource.go.snap @@ -14,7 +14,6 @@ CreateResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_CreateUser.go.snap b/service/workmail/snapshot/api_op_CreateUser.go.snap index bfcfbd2c853..d278c15935b 100644 --- a/service/workmail/snapshot/api_op_CreateUser.go.snap +++ b/service/workmail/snapshot/api_op_CreateUser.go.snap @@ -14,7 +14,6 @@ CreateUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_DeleteAccessControlRule.go.snap b/service/workmail/snapshot/api_op_DeleteAccessControlRule.go.snap index 8c326466ab1..590748b50be 100644 --- a/service/workmail/snapshot/api_op_DeleteAccessControlRule.go.snap +++ b/service/workmail/snapshot/api_op_DeleteAccessControlRule.go.snap @@ -14,7 +14,6 @@ DeleteAccessControlRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_DeleteAlias.go.snap b/service/workmail/snapshot/api_op_DeleteAlias.go.snap index 469fb018efd..d0401eaf34c 100644 --- a/service/workmail/snapshot/api_op_DeleteAlias.go.snap +++ b/service/workmail/snapshot/api_op_DeleteAlias.go.snap @@ -14,7 +14,6 @@ DeleteAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_DeleteAvailabilityConfiguration.go.snap b/service/workmail/snapshot/api_op_DeleteAvailabilityConfiguration.go.snap index f6b0c7325c9..d8aea104a2b 100644 --- a/service/workmail/snapshot/api_op_DeleteAvailabilityConfiguration.go.snap +++ b/service/workmail/snapshot/api_op_DeleteAvailabilityConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteAvailabilityConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_DeleteEmailMonitoringConfiguration.go.snap b/service/workmail/snapshot/api_op_DeleteEmailMonitoringConfiguration.go.snap index d0e336c5914..9385485e83b 100644 --- a/service/workmail/snapshot/api_op_DeleteEmailMonitoringConfiguration.go.snap +++ b/service/workmail/snapshot/api_op_DeleteEmailMonitoringConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteEmailMonitoringConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_DeleteGroup.go.snap b/service/workmail/snapshot/api_op_DeleteGroup.go.snap index fa762a3a297..9a74537ddc0 100644 --- a/service/workmail/snapshot/api_op_DeleteGroup.go.snap +++ b/service/workmail/snapshot/api_op_DeleteGroup.go.snap @@ -14,7 +14,6 @@ DeleteGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_DeleteIdentityCenterApplication.go.snap b/service/workmail/snapshot/api_op_DeleteIdentityCenterApplication.go.snap index 1364889eb13..4a840d1a4d9 100644 --- a/service/workmail/snapshot/api_op_DeleteIdentityCenterApplication.go.snap +++ b/service/workmail/snapshot/api_op_DeleteIdentityCenterApplication.go.snap @@ -14,7 +14,6 @@ DeleteIdentityCenterApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_DeleteIdentityProviderConfiguration.go.snap b/service/workmail/snapshot/api_op_DeleteIdentityProviderConfiguration.go.snap index 092a9f9e7d8..a0b0e7bbfaf 100644 --- a/service/workmail/snapshot/api_op_DeleteIdentityProviderConfiguration.go.snap +++ b/service/workmail/snapshot/api_op_DeleteIdentityProviderConfiguration.go.snap @@ -14,7 +14,6 @@ DeleteIdentityProviderConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_DeleteImpersonationRole.go.snap b/service/workmail/snapshot/api_op_DeleteImpersonationRole.go.snap index 18d18e2a677..7fdcd33e2c8 100644 --- a/service/workmail/snapshot/api_op_DeleteImpersonationRole.go.snap +++ b/service/workmail/snapshot/api_op_DeleteImpersonationRole.go.snap @@ -14,7 +14,6 @@ DeleteImpersonationRole Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_DeleteMailboxPermissions.go.snap b/service/workmail/snapshot/api_op_DeleteMailboxPermissions.go.snap index b2743457c53..c21f65f2ac3 100644 --- a/service/workmail/snapshot/api_op_DeleteMailboxPermissions.go.snap +++ b/service/workmail/snapshot/api_op_DeleteMailboxPermissions.go.snap @@ -14,7 +14,6 @@ DeleteMailboxPermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_DeleteMobileDeviceAccessOverride.go.snap b/service/workmail/snapshot/api_op_DeleteMobileDeviceAccessOverride.go.snap index afa1c81aa0d..040970d45bc 100644 --- a/service/workmail/snapshot/api_op_DeleteMobileDeviceAccessOverride.go.snap +++ b/service/workmail/snapshot/api_op_DeleteMobileDeviceAccessOverride.go.snap @@ -14,7 +14,6 @@ DeleteMobileDeviceAccessOverride Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_DeleteMobileDeviceAccessRule.go.snap b/service/workmail/snapshot/api_op_DeleteMobileDeviceAccessRule.go.snap index 17da13c8a67..4ba302fe9a5 100644 --- a/service/workmail/snapshot/api_op_DeleteMobileDeviceAccessRule.go.snap +++ b/service/workmail/snapshot/api_op_DeleteMobileDeviceAccessRule.go.snap @@ -14,7 +14,6 @@ DeleteMobileDeviceAccessRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_DeleteOrganization.go.snap b/service/workmail/snapshot/api_op_DeleteOrganization.go.snap index c394ebdf788..34f622a0066 100644 --- a/service/workmail/snapshot/api_op_DeleteOrganization.go.snap +++ b/service/workmail/snapshot/api_op_DeleteOrganization.go.snap @@ -15,7 +15,6 @@ DeleteOrganization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_DeletePersonalAccessToken.go.snap b/service/workmail/snapshot/api_op_DeletePersonalAccessToken.go.snap index 155cfce524a..1a4295507b9 100644 --- a/service/workmail/snapshot/api_op_DeletePersonalAccessToken.go.snap +++ b/service/workmail/snapshot/api_op_DeletePersonalAccessToken.go.snap @@ -14,7 +14,6 @@ DeletePersonalAccessToken Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_DeleteResource.go.snap b/service/workmail/snapshot/api_op_DeleteResource.go.snap index da52580ce21..c6c7da92f9f 100644 --- a/service/workmail/snapshot/api_op_DeleteResource.go.snap +++ b/service/workmail/snapshot/api_op_DeleteResource.go.snap @@ -14,7 +14,6 @@ DeleteResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_DeleteRetentionPolicy.go.snap b/service/workmail/snapshot/api_op_DeleteRetentionPolicy.go.snap index 6a72704fedc..80987e58d63 100644 --- a/service/workmail/snapshot/api_op_DeleteRetentionPolicy.go.snap +++ b/service/workmail/snapshot/api_op_DeleteRetentionPolicy.go.snap @@ -14,7 +14,6 @@ DeleteRetentionPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_DeleteUser.go.snap b/service/workmail/snapshot/api_op_DeleteUser.go.snap index 43834da9879..eda6e5fae30 100644 --- a/service/workmail/snapshot/api_op_DeleteUser.go.snap +++ b/service/workmail/snapshot/api_op_DeleteUser.go.snap @@ -14,7 +14,6 @@ DeleteUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_DeregisterFromWorkMail.go.snap b/service/workmail/snapshot/api_op_DeregisterFromWorkMail.go.snap index a6d052f23e0..3e169c983db 100644 --- a/service/workmail/snapshot/api_op_DeregisterFromWorkMail.go.snap +++ b/service/workmail/snapshot/api_op_DeregisterFromWorkMail.go.snap @@ -14,7 +14,6 @@ DeregisterFromWorkMail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_DeregisterMailDomain.go.snap b/service/workmail/snapshot/api_op_DeregisterMailDomain.go.snap index 2f0c9616802..76aca550830 100644 --- a/service/workmail/snapshot/api_op_DeregisterMailDomain.go.snap +++ b/service/workmail/snapshot/api_op_DeregisterMailDomain.go.snap @@ -14,7 +14,6 @@ DeregisterMailDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_DescribeEmailMonitoringConfiguration.go.snap b/service/workmail/snapshot/api_op_DescribeEmailMonitoringConfiguration.go.snap index 4da185696b1..b358878d05a 100644 --- a/service/workmail/snapshot/api_op_DescribeEmailMonitoringConfiguration.go.snap +++ b/service/workmail/snapshot/api_op_DescribeEmailMonitoringConfiguration.go.snap @@ -14,7 +14,6 @@ DescribeEmailMonitoringConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_DescribeEntity.go.snap b/service/workmail/snapshot/api_op_DescribeEntity.go.snap index ca7c7845018..ffbbe5cc014 100644 --- a/service/workmail/snapshot/api_op_DescribeEntity.go.snap +++ b/service/workmail/snapshot/api_op_DescribeEntity.go.snap @@ -14,7 +14,6 @@ DescribeEntity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_DescribeGroup.go.snap b/service/workmail/snapshot/api_op_DescribeGroup.go.snap index a31f75b49bc..e51d7cac904 100644 --- a/service/workmail/snapshot/api_op_DescribeGroup.go.snap +++ b/service/workmail/snapshot/api_op_DescribeGroup.go.snap @@ -14,7 +14,6 @@ DescribeGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_DescribeIdentityProviderConfiguration.go.snap b/service/workmail/snapshot/api_op_DescribeIdentityProviderConfiguration.go.snap index 3570c869b8b..75ec05f56f1 100644 --- a/service/workmail/snapshot/api_op_DescribeIdentityProviderConfiguration.go.snap +++ b/service/workmail/snapshot/api_op_DescribeIdentityProviderConfiguration.go.snap @@ -14,7 +14,6 @@ DescribeIdentityProviderConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_DescribeInboundDmarcSettings.go.snap b/service/workmail/snapshot/api_op_DescribeInboundDmarcSettings.go.snap index de45e6d2f09..28d7190e429 100644 --- a/service/workmail/snapshot/api_op_DescribeInboundDmarcSettings.go.snap +++ b/service/workmail/snapshot/api_op_DescribeInboundDmarcSettings.go.snap @@ -14,7 +14,6 @@ DescribeInboundDmarcSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_DescribeMailboxExportJob.go.snap b/service/workmail/snapshot/api_op_DescribeMailboxExportJob.go.snap index 1650a4e3abe..76d23c3b273 100644 --- a/service/workmail/snapshot/api_op_DescribeMailboxExportJob.go.snap +++ b/service/workmail/snapshot/api_op_DescribeMailboxExportJob.go.snap @@ -14,7 +14,6 @@ DescribeMailboxExportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_DescribeOrganization.go.snap b/service/workmail/snapshot/api_op_DescribeOrganization.go.snap index 660ba87cdd5..03d8fb79b9d 100644 --- a/service/workmail/snapshot/api_op_DescribeOrganization.go.snap +++ b/service/workmail/snapshot/api_op_DescribeOrganization.go.snap @@ -14,7 +14,6 @@ DescribeOrganization Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_DescribeResource.go.snap b/service/workmail/snapshot/api_op_DescribeResource.go.snap index 5f5bb0f5375..a78048e3283 100644 --- a/service/workmail/snapshot/api_op_DescribeResource.go.snap +++ b/service/workmail/snapshot/api_op_DescribeResource.go.snap @@ -14,7 +14,6 @@ DescribeResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_DescribeUser.go.snap b/service/workmail/snapshot/api_op_DescribeUser.go.snap index 630a2859093..a7ee6cfa46d 100644 --- a/service/workmail/snapshot/api_op_DescribeUser.go.snap +++ b/service/workmail/snapshot/api_op_DescribeUser.go.snap @@ -14,7 +14,6 @@ DescribeUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_DisassociateDelegateFromResource.go.snap b/service/workmail/snapshot/api_op_DisassociateDelegateFromResource.go.snap index f5eed362be9..7e0df367754 100644 --- a/service/workmail/snapshot/api_op_DisassociateDelegateFromResource.go.snap +++ b/service/workmail/snapshot/api_op_DisassociateDelegateFromResource.go.snap @@ -14,7 +14,6 @@ DisassociateDelegateFromResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_DisassociateMemberFromGroup.go.snap b/service/workmail/snapshot/api_op_DisassociateMemberFromGroup.go.snap index 1490079445b..3ea14bdb880 100644 --- a/service/workmail/snapshot/api_op_DisassociateMemberFromGroup.go.snap +++ b/service/workmail/snapshot/api_op_DisassociateMemberFromGroup.go.snap @@ -14,7 +14,6 @@ DisassociateMemberFromGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_GetAccessControlEffect.go.snap b/service/workmail/snapshot/api_op_GetAccessControlEffect.go.snap index 2b0fa8f5c68..380319974d3 100644 --- a/service/workmail/snapshot/api_op_GetAccessControlEffect.go.snap +++ b/service/workmail/snapshot/api_op_GetAccessControlEffect.go.snap @@ -14,7 +14,6 @@ GetAccessControlEffect Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_GetDefaultRetentionPolicy.go.snap b/service/workmail/snapshot/api_op_GetDefaultRetentionPolicy.go.snap index 3883916b51d..9204680c19a 100644 --- a/service/workmail/snapshot/api_op_GetDefaultRetentionPolicy.go.snap +++ b/service/workmail/snapshot/api_op_GetDefaultRetentionPolicy.go.snap @@ -14,7 +14,6 @@ GetDefaultRetentionPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_GetImpersonationRole.go.snap b/service/workmail/snapshot/api_op_GetImpersonationRole.go.snap index 83241b559c2..3df42c930e3 100644 --- a/service/workmail/snapshot/api_op_GetImpersonationRole.go.snap +++ b/service/workmail/snapshot/api_op_GetImpersonationRole.go.snap @@ -14,7 +14,6 @@ GetImpersonationRole Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_GetImpersonationRoleEffect.go.snap b/service/workmail/snapshot/api_op_GetImpersonationRoleEffect.go.snap index 9ce04854ddf..6434a2bfd93 100644 --- a/service/workmail/snapshot/api_op_GetImpersonationRoleEffect.go.snap +++ b/service/workmail/snapshot/api_op_GetImpersonationRoleEffect.go.snap @@ -14,7 +14,6 @@ GetImpersonationRoleEffect Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_GetMailDomain.go.snap b/service/workmail/snapshot/api_op_GetMailDomain.go.snap index 54f349b9695..7281bc0d0e5 100644 --- a/service/workmail/snapshot/api_op_GetMailDomain.go.snap +++ b/service/workmail/snapshot/api_op_GetMailDomain.go.snap @@ -14,7 +14,6 @@ GetMailDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_GetMailboxDetails.go.snap b/service/workmail/snapshot/api_op_GetMailboxDetails.go.snap index f7bc1e1e6a2..37410c829bd 100644 --- a/service/workmail/snapshot/api_op_GetMailboxDetails.go.snap +++ b/service/workmail/snapshot/api_op_GetMailboxDetails.go.snap @@ -14,7 +14,6 @@ GetMailboxDetails Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_GetMobileDeviceAccessEffect.go.snap b/service/workmail/snapshot/api_op_GetMobileDeviceAccessEffect.go.snap index c5ec861d6d8..3d350e5dfbc 100644 --- a/service/workmail/snapshot/api_op_GetMobileDeviceAccessEffect.go.snap +++ b/service/workmail/snapshot/api_op_GetMobileDeviceAccessEffect.go.snap @@ -14,7 +14,6 @@ GetMobileDeviceAccessEffect Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_GetMobileDeviceAccessOverride.go.snap b/service/workmail/snapshot/api_op_GetMobileDeviceAccessOverride.go.snap index 2eb90e57066..6f6d7f953c7 100644 --- a/service/workmail/snapshot/api_op_GetMobileDeviceAccessOverride.go.snap +++ b/service/workmail/snapshot/api_op_GetMobileDeviceAccessOverride.go.snap @@ -14,7 +14,6 @@ GetMobileDeviceAccessOverride Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_GetPersonalAccessTokenMetadata.go.snap b/service/workmail/snapshot/api_op_GetPersonalAccessTokenMetadata.go.snap index 28a1714bd52..a951a91035e 100644 --- a/service/workmail/snapshot/api_op_GetPersonalAccessTokenMetadata.go.snap +++ b/service/workmail/snapshot/api_op_GetPersonalAccessTokenMetadata.go.snap @@ -14,7 +14,6 @@ GetPersonalAccessTokenMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_ListAccessControlRules.go.snap b/service/workmail/snapshot/api_op_ListAccessControlRules.go.snap index d918843b39b..75e989c026b 100644 --- a/service/workmail/snapshot/api_op_ListAccessControlRules.go.snap +++ b/service/workmail/snapshot/api_op_ListAccessControlRules.go.snap @@ -14,7 +14,6 @@ ListAccessControlRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_ListAliases.go.snap b/service/workmail/snapshot/api_op_ListAliases.go.snap index 5b16fdeb32a..890f5119b06 100644 --- a/service/workmail/snapshot/api_op_ListAliases.go.snap +++ b/service/workmail/snapshot/api_op_ListAliases.go.snap @@ -14,7 +14,6 @@ ListAliases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_ListAvailabilityConfigurations.go.snap b/service/workmail/snapshot/api_op_ListAvailabilityConfigurations.go.snap index 3fd4cbdc65d..2b5483238c4 100644 --- a/service/workmail/snapshot/api_op_ListAvailabilityConfigurations.go.snap +++ b/service/workmail/snapshot/api_op_ListAvailabilityConfigurations.go.snap @@ -14,7 +14,6 @@ ListAvailabilityConfigurations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_ListGroupMembers.go.snap b/service/workmail/snapshot/api_op_ListGroupMembers.go.snap index d661ba001cb..a8beaae4266 100644 --- a/service/workmail/snapshot/api_op_ListGroupMembers.go.snap +++ b/service/workmail/snapshot/api_op_ListGroupMembers.go.snap @@ -14,7 +14,6 @@ ListGroupMembers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_ListGroups.go.snap b/service/workmail/snapshot/api_op_ListGroups.go.snap index 96d00de9d60..2cce91ebfeb 100644 --- a/service/workmail/snapshot/api_op_ListGroups.go.snap +++ b/service/workmail/snapshot/api_op_ListGroups.go.snap @@ -14,7 +14,6 @@ ListGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_ListGroupsForEntity.go.snap b/service/workmail/snapshot/api_op_ListGroupsForEntity.go.snap index 50ca8c98a0e..a833b5bffc7 100644 --- a/service/workmail/snapshot/api_op_ListGroupsForEntity.go.snap +++ b/service/workmail/snapshot/api_op_ListGroupsForEntity.go.snap @@ -14,7 +14,6 @@ ListGroupsForEntity Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_ListImpersonationRoles.go.snap b/service/workmail/snapshot/api_op_ListImpersonationRoles.go.snap index 02670b6dafe..6ab6b652fe9 100644 --- a/service/workmail/snapshot/api_op_ListImpersonationRoles.go.snap +++ b/service/workmail/snapshot/api_op_ListImpersonationRoles.go.snap @@ -14,7 +14,6 @@ ListImpersonationRoles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_ListMailDomains.go.snap b/service/workmail/snapshot/api_op_ListMailDomains.go.snap index 736739a44ba..44d82cd68f4 100644 --- a/service/workmail/snapshot/api_op_ListMailDomains.go.snap +++ b/service/workmail/snapshot/api_op_ListMailDomains.go.snap @@ -14,7 +14,6 @@ ListMailDomains Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_ListMailboxExportJobs.go.snap b/service/workmail/snapshot/api_op_ListMailboxExportJobs.go.snap index 1a6053f3593..318034bc3a5 100644 --- a/service/workmail/snapshot/api_op_ListMailboxExportJobs.go.snap +++ b/service/workmail/snapshot/api_op_ListMailboxExportJobs.go.snap @@ -14,7 +14,6 @@ ListMailboxExportJobs Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_ListMailboxPermissions.go.snap b/service/workmail/snapshot/api_op_ListMailboxPermissions.go.snap index bd3d78aa792..d2568b00cd8 100644 --- a/service/workmail/snapshot/api_op_ListMailboxPermissions.go.snap +++ b/service/workmail/snapshot/api_op_ListMailboxPermissions.go.snap @@ -14,7 +14,6 @@ ListMailboxPermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_ListMobileDeviceAccessOverrides.go.snap b/service/workmail/snapshot/api_op_ListMobileDeviceAccessOverrides.go.snap index e95b9027665..cb07f253361 100644 --- a/service/workmail/snapshot/api_op_ListMobileDeviceAccessOverrides.go.snap +++ b/service/workmail/snapshot/api_op_ListMobileDeviceAccessOverrides.go.snap @@ -14,7 +14,6 @@ ListMobileDeviceAccessOverrides Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_ListMobileDeviceAccessRules.go.snap b/service/workmail/snapshot/api_op_ListMobileDeviceAccessRules.go.snap index a0b03c0c1b8..868ed74cbbd 100644 --- a/service/workmail/snapshot/api_op_ListMobileDeviceAccessRules.go.snap +++ b/service/workmail/snapshot/api_op_ListMobileDeviceAccessRules.go.snap @@ -14,7 +14,6 @@ ListMobileDeviceAccessRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_ListOrganizations.go.snap b/service/workmail/snapshot/api_op_ListOrganizations.go.snap index 3fd21b7d330..7625c1f8d19 100644 --- a/service/workmail/snapshot/api_op_ListOrganizations.go.snap +++ b/service/workmail/snapshot/api_op_ListOrganizations.go.snap @@ -13,7 +13,6 @@ ListOrganizations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_ListPersonalAccessTokens.go.snap b/service/workmail/snapshot/api_op_ListPersonalAccessTokens.go.snap index c2ead58ceb5..6ee76501249 100644 --- a/service/workmail/snapshot/api_op_ListPersonalAccessTokens.go.snap +++ b/service/workmail/snapshot/api_op_ListPersonalAccessTokens.go.snap @@ -14,7 +14,6 @@ ListPersonalAccessTokens Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_ListResourceDelegates.go.snap b/service/workmail/snapshot/api_op_ListResourceDelegates.go.snap index b3b4c969fcf..7f21b963fc5 100644 --- a/service/workmail/snapshot/api_op_ListResourceDelegates.go.snap +++ b/service/workmail/snapshot/api_op_ListResourceDelegates.go.snap @@ -14,7 +14,6 @@ ListResourceDelegates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_ListResources.go.snap b/service/workmail/snapshot/api_op_ListResources.go.snap index ef5c53317cd..4dfe792a25a 100644 --- a/service/workmail/snapshot/api_op_ListResources.go.snap +++ b/service/workmail/snapshot/api_op_ListResources.go.snap @@ -14,7 +14,6 @@ ListResources Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_ListTagsForResource.go.snap b/service/workmail/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/workmail/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/workmail/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_ListUsers.go.snap b/service/workmail/snapshot/api_op_ListUsers.go.snap index e806475e845..214b3b04368 100644 --- a/service/workmail/snapshot/api_op_ListUsers.go.snap +++ b/service/workmail/snapshot/api_op_ListUsers.go.snap @@ -14,7 +14,6 @@ ListUsers Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_PutAccessControlRule.go.snap b/service/workmail/snapshot/api_op_PutAccessControlRule.go.snap index 946dafc5ea5..fff0ae1e7db 100644 --- a/service/workmail/snapshot/api_op_PutAccessControlRule.go.snap +++ b/service/workmail/snapshot/api_op_PutAccessControlRule.go.snap @@ -14,7 +14,6 @@ PutAccessControlRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_PutEmailMonitoringConfiguration.go.snap b/service/workmail/snapshot/api_op_PutEmailMonitoringConfiguration.go.snap index 53ddc4be3a7..e5f851834fd 100644 --- a/service/workmail/snapshot/api_op_PutEmailMonitoringConfiguration.go.snap +++ b/service/workmail/snapshot/api_op_PutEmailMonitoringConfiguration.go.snap @@ -14,7 +14,6 @@ PutEmailMonitoringConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_PutIdentityProviderConfiguration.go.snap b/service/workmail/snapshot/api_op_PutIdentityProviderConfiguration.go.snap index fcc3a2417bd..c3c887dfa71 100644 --- a/service/workmail/snapshot/api_op_PutIdentityProviderConfiguration.go.snap +++ b/service/workmail/snapshot/api_op_PutIdentityProviderConfiguration.go.snap @@ -14,7 +14,6 @@ PutIdentityProviderConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_PutInboundDmarcSettings.go.snap b/service/workmail/snapshot/api_op_PutInboundDmarcSettings.go.snap index 9ccd7f925d5..df6ef3bb076 100644 --- a/service/workmail/snapshot/api_op_PutInboundDmarcSettings.go.snap +++ b/service/workmail/snapshot/api_op_PutInboundDmarcSettings.go.snap @@ -14,7 +14,6 @@ PutInboundDmarcSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_PutMailboxPermissions.go.snap b/service/workmail/snapshot/api_op_PutMailboxPermissions.go.snap index 1cee15a40b9..96226c839d7 100644 --- a/service/workmail/snapshot/api_op_PutMailboxPermissions.go.snap +++ b/service/workmail/snapshot/api_op_PutMailboxPermissions.go.snap @@ -14,7 +14,6 @@ PutMailboxPermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_PutMobileDeviceAccessOverride.go.snap b/service/workmail/snapshot/api_op_PutMobileDeviceAccessOverride.go.snap index 2930b91de6c..d7fd3f9e844 100644 --- a/service/workmail/snapshot/api_op_PutMobileDeviceAccessOverride.go.snap +++ b/service/workmail/snapshot/api_op_PutMobileDeviceAccessOverride.go.snap @@ -14,7 +14,6 @@ PutMobileDeviceAccessOverride Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_PutRetentionPolicy.go.snap b/service/workmail/snapshot/api_op_PutRetentionPolicy.go.snap index 869cd0f20cd..12e461d2246 100644 --- a/service/workmail/snapshot/api_op_PutRetentionPolicy.go.snap +++ b/service/workmail/snapshot/api_op_PutRetentionPolicy.go.snap @@ -14,7 +14,6 @@ PutRetentionPolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_RegisterMailDomain.go.snap b/service/workmail/snapshot/api_op_RegisterMailDomain.go.snap index 390528f7142..2d71b67c45a 100644 --- a/service/workmail/snapshot/api_op_RegisterMailDomain.go.snap +++ b/service/workmail/snapshot/api_op_RegisterMailDomain.go.snap @@ -15,7 +15,6 @@ RegisterMailDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_RegisterToWorkMail.go.snap b/service/workmail/snapshot/api_op_RegisterToWorkMail.go.snap index 142b25ce96e..5cdf5383dde 100644 --- a/service/workmail/snapshot/api_op_RegisterToWorkMail.go.snap +++ b/service/workmail/snapshot/api_op_RegisterToWorkMail.go.snap @@ -14,7 +14,6 @@ RegisterToWorkMail Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_ResetPassword.go.snap b/service/workmail/snapshot/api_op_ResetPassword.go.snap index a0272491cfc..6b025d2b180 100644 --- a/service/workmail/snapshot/api_op_ResetPassword.go.snap +++ b/service/workmail/snapshot/api_op_ResetPassword.go.snap @@ -14,7 +14,6 @@ ResetPassword Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_StartMailboxExportJob.go.snap b/service/workmail/snapshot/api_op_StartMailboxExportJob.go.snap index 4b63874f599..2e697f0c23c 100644 --- a/service/workmail/snapshot/api_op_StartMailboxExportJob.go.snap +++ b/service/workmail/snapshot/api_op_StartMailboxExportJob.go.snap @@ -15,7 +15,6 @@ StartMailboxExportJob Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_TagResource.go.snap b/service/workmail/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/workmail/snapshot/api_op_TagResource.go.snap +++ b/service/workmail/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_TestAvailabilityConfiguration.go.snap b/service/workmail/snapshot/api_op_TestAvailabilityConfiguration.go.snap index 908115a13bd..185ab23e00a 100644 --- a/service/workmail/snapshot/api_op_TestAvailabilityConfiguration.go.snap +++ b/service/workmail/snapshot/api_op_TestAvailabilityConfiguration.go.snap @@ -14,7 +14,6 @@ TestAvailabilityConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_UntagResource.go.snap b/service/workmail/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/workmail/snapshot/api_op_UntagResource.go.snap +++ b/service/workmail/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_UpdateAvailabilityConfiguration.go.snap b/service/workmail/snapshot/api_op_UpdateAvailabilityConfiguration.go.snap index 693771aa00f..4e864008395 100644 --- a/service/workmail/snapshot/api_op_UpdateAvailabilityConfiguration.go.snap +++ b/service/workmail/snapshot/api_op_UpdateAvailabilityConfiguration.go.snap @@ -14,7 +14,6 @@ UpdateAvailabilityConfiguration Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_UpdateDefaultMailDomain.go.snap b/service/workmail/snapshot/api_op_UpdateDefaultMailDomain.go.snap index c6d717910e0..198c3b4a9e3 100644 --- a/service/workmail/snapshot/api_op_UpdateDefaultMailDomain.go.snap +++ b/service/workmail/snapshot/api_op_UpdateDefaultMailDomain.go.snap @@ -14,7 +14,6 @@ UpdateDefaultMailDomain Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_UpdateGroup.go.snap b/service/workmail/snapshot/api_op_UpdateGroup.go.snap index 4e6da26c18e..4d69c0aef49 100644 --- a/service/workmail/snapshot/api_op_UpdateGroup.go.snap +++ b/service/workmail/snapshot/api_op_UpdateGroup.go.snap @@ -14,7 +14,6 @@ UpdateGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_UpdateImpersonationRole.go.snap b/service/workmail/snapshot/api_op_UpdateImpersonationRole.go.snap index f0fd3707c67..e3c2d24c6a8 100644 --- a/service/workmail/snapshot/api_op_UpdateImpersonationRole.go.snap +++ b/service/workmail/snapshot/api_op_UpdateImpersonationRole.go.snap @@ -14,7 +14,6 @@ UpdateImpersonationRole Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_UpdateMailboxQuota.go.snap b/service/workmail/snapshot/api_op_UpdateMailboxQuota.go.snap index c9ebbf78312..5570d4badfd 100644 --- a/service/workmail/snapshot/api_op_UpdateMailboxQuota.go.snap +++ b/service/workmail/snapshot/api_op_UpdateMailboxQuota.go.snap @@ -14,7 +14,6 @@ UpdateMailboxQuota Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_UpdateMobileDeviceAccessRule.go.snap b/service/workmail/snapshot/api_op_UpdateMobileDeviceAccessRule.go.snap index e12eff79f4f..7c307088ce6 100644 --- a/service/workmail/snapshot/api_op_UpdateMobileDeviceAccessRule.go.snap +++ b/service/workmail/snapshot/api_op_UpdateMobileDeviceAccessRule.go.snap @@ -14,7 +14,6 @@ UpdateMobileDeviceAccessRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_UpdatePrimaryEmailAddress.go.snap b/service/workmail/snapshot/api_op_UpdatePrimaryEmailAddress.go.snap index dc0d7699135..c6fd1229987 100644 --- a/service/workmail/snapshot/api_op_UpdatePrimaryEmailAddress.go.snap +++ b/service/workmail/snapshot/api_op_UpdatePrimaryEmailAddress.go.snap @@ -14,7 +14,6 @@ UpdatePrimaryEmailAddress Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_UpdateResource.go.snap b/service/workmail/snapshot/api_op_UpdateResource.go.snap index 1b7c8ce48cb..4d8bd6a368c 100644 --- a/service/workmail/snapshot/api_op_UpdateResource.go.snap +++ b/service/workmail/snapshot/api_op_UpdateResource.go.snap @@ -14,7 +14,6 @@ UpdateResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmail/snapshot/api_op_UpdateUser.go.snap b/service/workmail/snapshot/api_op_UpdateUser.go.snap index 52e6424cb0f..bee553c064e 100644 --- a/service/workmail/snapshot/api_op_UpdateUser.go.snap +++ b/service/workmail/snapshot/api_op_UpdateUser.go.snap @@ -14,7 +14,6 @@ UpdateUser Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmailmessageflow/api_client.go b/service/workmailmessageflow/api_client.go index 917ed97bfff..2e4905d8820 100644 --- a/service/workmailmessageflow/api_client.go +++ b/service/workmailmessageflow/api_client.go @@ -762,37 +762,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/workmailmessageflow/api_op_GetRawMessageContent.go b/service/workmailmessageflow/api_op_GetRawMessageContent.go index 564c7707eae..cf15bd45d03 100644 --- a/service/workmailmessageflow/api_op_GetRawMessageContent.go +++ b/service/workmailmessageflow/api_op_GetRawMessageContent.go @@ -111,9 +111,6 @@ func (c *Client) addOperationGetRawMessageContentMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRawMessageContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmailmessageflow/api_op_PutRawMessageContent.go b/service/workmailmessageflow/api_op_PutRawMessageContent.go index 74cc9f3afbb..975d9ba8c36 100644 --- a/service/workmailmessageflow/api_op_PutRawMessageContent.go +++ b/service/workmailmessageflow/api_op_PutRawMessageContent.go @@ -125,9 +125,6 @@ func (c *Client) addOperationPutRawMessageContentMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutRawMessageContentValidationMiddleware(stack); err != nil { return err } diff --git a/service/workmailmessageflow/snapshot/api_op_GetRawMessageContent.go.snap b/service/workmailmessageflow/snapshot/api_op_GetRawMessageContent.go.snap index 33b952ee526..ee4508bc614 100644 --- a/service/workmailmessageflow/snapshot/api_op_GetRawMessageContent.go.snap +++ b/service/workmailmessageflow/snapshot/api_op_GetRawMessageContent.go.snap @@ -14,7 +14,6 @@ GetRawMessageContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workmailmessageflow/snapshot/api_op_PutRawMessageContent.go.snap b/service/workmailmessageflow/snapshot/api_op_PutRawMessageContent.go.snap index c904812ad01..0e43922ff19 100644 --- a/service/workmailmessageflow/snapshot/api_op_PutRawMessageContent.go.snap +++ b/service/workmailmessageflow/snapshot/api_op_PutRawMessageContent.go.snap @@ -14,7 +14,6 @@ PutRawMessageContent Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/api_client.go b/service/workspaces/api_client.go index 5e01cc57e32..ddf55606f1c 100644 --- a/service/workspaces/api_client.go +++ b/service/workspaces/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/workspaces/api_op_AcceptAccountLinkInvitation.go b/service/workspaces/api_op_AcceptAccountLinkInvitation.go index 76733d2f909..11a0dab4e89 100644 --- a/service/workspaces/api_op_AcceptAccountLinkInvitation.go +++ b/service/workspaces/api_op_AcceptAccountLinkInvitation.go @@ -119,9 +119,6 @@ func (c *Client) addOperationAcceptAccountLinkInvitationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAcceptAccountLinkInvitationValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_AssociateConnectionAlias.go b/service/workspaces/api_op_AssociateConnectionAlias.go index 1788f1e12e5..1a89ae9fb3f 100644 --- a/service/workspaces/api_op_AssociateConnectionAlias.go +++ b/service/workspaces/api_op_AssociateConnectionAlias.go @@ -125,9 +125,6 @@ func (c *Client) addOperationAssociateConnectionAliasMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateConnectionAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_AssociateIpGroups.go b/service/workspaces/api_op_AssociateIpGroups.go index 4789aaf0452..78f6fbee37e 100644 --- a/service/workspaces/api_op_AssociateIpGroups.go +++ b/service/workspaces/api_op_AssociateIpGroups.go @@ -112,9 +112,6 @@ func (c *Client) addOperationAssociateIpGroupsMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateIpGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_AssociateWorkspaceApplication.go b/service/workspaces/api_op_AssociateWorkspaceApplication.go index 73f593c8d22..4abf3bcd421 100644 --- a/service/workspaces/api_op_AssociateWorkspaceApplication.go +++ b/service/workspaces/api_op_AssociateWorkspaceApplication.go @@ -118,9 +118,6 @@ func (c *Client) addOperationAssociateWorkspaceApplicationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateWorkspaceApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_AuthorizeIpRules.go b/service/workspaces/api_op_AuthorizeIpRules.go index 0e901a93bc1..ace4971b2ff 100644 --- a/service/workspaces/api_op_AuthorizeIpRules.go +++ b/service/workspaces/api_op_AuthorizeIpRules.go @@ -116,9 +116,6 @@ func (c *Client) addOperationAuthorizeIpRulesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAuthorizeIpRulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_CopyWorkspaceImage.go b/service/workspaces/api_op_CopyWorkspaceImage.go index a1f02250ef4..d9bc90e34e7 100644 --- a/service/workspaces/api_op_CopyWorkspaceImage.go +++ b/service/workspaces/api_op_CopyWorkspaceImage.go @@ -143,9 +143,6 @@ func (c *Client) addOperationCopyWorkspaceImageMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCopyWorkspaceImageValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_CreateAccountLinkInvitation.go b/service/workspaces/api_op_CreateAccountLinkInvitation.go index 047779060d1..efcb4c03953 100644 --- a/service/workspaces/api_op_CreateAccountLinkInvitation.go +++ b/service/workspaces/api_op_CreateAccountLinkInvitation.go @@ -116,9 +116,6 @@ func (c *Client) addOperationCreateAccountLinkInvitationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateAccountLinkInvitationValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_CreateConnectClientAddIn.go b/service/workspaces/api_op_CreateConnectClientAddIn.go index 62a9c2929c1..340d374864d 100644 --- a/service/workspaces/api_op_CreateConnectClientAddIn.go +++ b/service/workspaces/api_op_CreateConnectClientAddIn.go @@ -125,9 +125,6 @@ func (c *Client) addOperationCreateConnectClientAddInMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConnectClientAddInValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_CreateConnectionAlias.go b/service/workspaces/api_op_CreateConnectionAlias.go index 694b2e08f77..b872acb2408 100644 --- a/service/workspaces/api_op_CreateConnectionAlias.go +++ b/service/workspaces/api_op_CreateConnectionAlias.go @@ -124,9 +124,6 @@ func (c *Client) addOperationCreateConnectionAliasMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateConnectionAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_CreateIpGroup.go b/service/workspaces/api_op_CreateIpGroup.go index 2913135e2fb..0fb61e13f5c 100644 --- a/service/workspaces/api_op_CreateIpGroup.go +++ b/service/workspaces/api_op_CreateIpGroup.go @@ -133,9 +133,6 @@ func (c *Client) addOperationCreateIpGroupMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateIpGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_CreateStandbyWorkspaces.go b/service/workspaces/api_op_CreateStandbyWorkspaces.go index 660ac2afbf7..1e6b57e8c46 100644 --- a/service/workspaces/api_op_CreateStandbyWorkspaces.go +++ b/service/workspaces/api_op_CreateStandbyWorkspaces.go @@ -120,9 +120,6 @@ func (c *Client) addOperationCreateStandbyWorkspacesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateStandbyWorkspacesValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_CreateTags.go b/service/workspaces/api_op_CreateTags.go index 9706c5ab7ec..52fee89c97c 100644 --- a/service/workspaces/api_op_CreateTags.go +++ b/service/workspaces/api_op_CreateTags.go @@ -115,9 +115,6 @@ func (c *Client) addOperationCreateTagsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_CreateUpdatedWorkspaceImage.go b/service/workspaces/api_op_CreateUpdatedWorkspaceImage.go index 2b30e7aaf9f..8a1fde65b3d 100644 --- a/service/workspaces/api_op_CreateUpdatedWorkspaceImage.go +++ b/service/workspaces/api_op_CreateUpdatedWorkspaceImage.go @@ -145,9 +145,6 @@ func (c *Client) addOperationCreateUpdatedWorkspaceImageMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateUpdatedWorkspaceImageValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_CreateWorkspaceBundle.go b/service/workspaces/api_op_CreateWorkspaceBundle.go index ba9eafdf45f..268904d3e4c 100644 --- a/service/workspaces/api_op_CreateWorkspaceBundle.go +++ b/service/workspaces/api_op_CreateWorkspaceBundle.go @@ -145,9 +145,6 @@ func (c *Client) addOperationCreateWorkspaceBundleMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateWorkspaceBundleValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_CreateWorkspaceImage.go b/service/workspaces/api_op_CreateWorkspaceImage.go index 21cd72f31f3..24504f862b7 100644 --- a/service/workspaces/api_op_CreateWorkspaceImage.go +++ b/service/workspaces/api_op_CreateWorkspaceImage.go @@ -153,9 +153,6 @@ func (c *Client) addOperationCreateWorkspaceImageMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateWorkspaceImageValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_CreateWorkspaces.go b/service/workspaces/api_op_CreateWorkspaces.go index e132d5301b6..1bb30061122 100644 --- a/service/workspaces/api_op_CreateWorkspaces.go +++ b/service/workspaces/api_op_CreateWorkspaces.go @@ -136,9 +136,6 @@ func (c *Client) addOperationCreateWorkspacesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateWorkspacesValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_CreateWorkspacesPool.go b/service/workspaces/api_op_CreateWorkspacesPool.go index 30d36898c22..ca265956f05 100644 --- a/service/workspaces/api_op_CreateWorkspacesPool.go +++ b/service/workspaces/api_op_CreateWorkspacesPool.go @@ -141,9 +141,6 @@ func (c *Client) addOperationCreateWorkspacesPoolMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateWorkspacesPoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DeleteAccountLinkInvitation.go b/service/workspaces/api_op_DeleteAccountLinkInvitation.go index 98be485ca04..16ccfc84bbd 100644 --- a/service/workspaces/api_op_DeleteAccountLinkInvitation.go +++ b/service/workspaces/api_op_DeleteAccountLinkInvitation.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDeleteAccountLinkInvitationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteAccountLinkInvitationValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DeleteClientBranding.go b/service/workspaces/api_op_DeleteClientBranding.go index 09febc6d0ad..143710d5a1d 100644 --- a/service/workspaces/api_op_DeleteClientBranding.go +++ b/service/workspaces/api_op_DeleteClientBranding.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteClientBrandingMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteClientBrandingValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DeleteConnectClientAddIn.go b/service/workspaces/api_op_DeleteConnectClientAddIn.go index ceb4ca48d51..210168a2eb6 100644 --- a/service/workspaces/api_op_DeleteConnectClientAddIn.go +++ b/service/workspaces/api_op_DeleteConnectClientAddIn.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteConnectClientAddInMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConnectClientAddInValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DeleteConnectionAlias.go b/service/workspaces/api_op_DeleteConnectionAlias.go index 9aaea25112a..130db630425 100644 --- a/service/workspaces/api_op_DeleteConnectionAlias.go +++ b/service/workspaces/api_op_DeleteConnectionAlias.go @@ -120,9 +120,6 @@ func (c *Client) addOperationDeleteConnectionAliasMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteConnectionAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DeleteIpGroup.go b/service/workspaces/api_op_DeleteIpGroup.go index 956db0052e4..d80d5d6fec6 100644 --- a/service/workspaces/api_op_DeleteIpGroup.go +++ b/service/workspaces/api_op_DeleteIpGroup.go @@ -110,9 +110,6 @@ func (c *Client) addOperationDeleteIpGroupMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIpGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DeleteTags.go b/service/workspaces/api_op_DeleteTags.go index 47ee2106894..ba4521eb1ff 100644 --- a/service/workspaces/api_op_DeleteTags.go +++ b/service/workspaces/api_op_DeleteTags.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDeleteTagsMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DeleteWorkspaceBundle.go b/service/workspaces/api_op_DeleteWorkspaceBundle.go index 38bd604c9e1..51849033c74 100644 --- a/service/workspaces/api_op_DeleteWorkspaceBundle.go +++ b/service/workspaces/api_op_DeleteWorkspaceBundle.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteWorkspaceBundleMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWorkspaceBundle(options.Region), middleware.Before); err != nil { return err } diff --git a/service/workspaces/api_op_DeleteWorkspaceImage.go b/service/workspaces/api_op_DeleteWorkspaceImage.go index c235f6908b6..604a04b960f 100644 --- a/service/workspaces/api_op_DeleteWorkspaceImage.go +++ b/service/workspaces/api_op_DeleteWorkspaceImage.go @@ -109,9 +109,6 @@ func (c *Client) addOperationDeleteWorkspaceImageMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteWorkspaceImageValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DeployWorkspaceApplications.go b/service/workspaces/api_op_DeployWorkspaceApplications.go index 452611c37e6..246e1be7d17 100644 --- a/service/workspaces/api_op_DeployWorkspaceApplications.go +++ b/service/workspaces/api_op_DeployWorkspaceApplications.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDeployWorkspaceApplicationsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeployWorkspaceApplicationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DeregisterWorkspaceDirectory.go b/service/workspaces/api_op_DeregisterWorkspaceDirectory.go index 6e172bd4017..d0c80abda13 100644 --- a/service/workspaces/api_op_DeregisterWorkspaceDirectory.go +++ b/service/workspaces/api_op_DeregisterWorkspaceDirectory.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDeregisterWorkspaceDirectoryMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeregisterWorkspaceDirectoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeAccount.go b/service/workspaces/api_op_DescribeAccount.go index c0c3bbcbbcb..47dd3b73764 100644 --- a/service/workspaces/api_op_DescribeAccount.go +++ b/service/workspaces/api_op_DescribeAccount.go @@ -119,9 +119,6 @@ func (c *Client) addOperationDescribeAccountMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeAccountModifications.go b/service/workspaces/api_op_DescribeAccountModifications.go index 08c4706fd22..1fa5a4bbd93 100644 --- a/service/workspaces/api_op_DescribeAccountModifications.go +++ b/service/workspaces/api_op_DescribeAccountModifications.go @@ -116,9 +116,6 @@ func (c *Client) addOperationDescribeAccountModificationsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeAccountModifications(options.Region), middleware.Before); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeApplicationAssociations.go b/service/workspaces/api_op_DescribeApplicationAssociations.go index b31051a72ac..0597421dda7 100644 --- a/service/workspaces/api_op_DescribeApplicationAssociations.go +++ b/service/workspaces/api_op_DescribeApplicationAssociations.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeApplicationAssociationsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeApplicationAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeApplications.go b/service/workspaces/api_op_DescribeApplications.go index 62e9264f168..564f46ef94c 100644 --- a/service/workspaces/api_op_DescribeApplications.go +++ b/service/workspaces/api_op_DescribeApplications.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeApplicationsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeApplications(options.Region), middleware.Before); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeBundleAssociations.go b/service/workspaces/api_op_DescribeBundleAssociations.go index 32af4081bba..6efdcfab43d 100644 --- a/service/workspaces/api_op_DescribeBundleAssociations.go +++ b/service/workspaces/api_op_DescribeBundleAssociations.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDescribeBundleAssociationsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeBundleAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeClientBranding.go b/service/workspaces/api_op_DescribeClientBranding.go index 0f7759d531b..1f31fe28754 100644 --- a/service/workspaces/api_op_DescribeClientBranding.go +++ b/service/workspaces/api_op_DescribeClientBranding.go @@ -134,9 +134,6 @@ func (c *Client) addOperationDescribeClientBrandingMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeClientBrandingValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeClientProperties.go b/service/workspaces/api_op_DescribeClientProperties.go index c37910a8624..9ace2b28cb2 100644 --- a/service/workspaces/api_op_DescribeClientProperties.go +++ b/service/workspaces/api_op_DescribeClientProperties.go @@ -112,9 +112,6 @@ func (c *Client) addOperationDescribeClientPropertiesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeClientPropertiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeConnectClientAddIns.go b/service/workspaces/api_op_DescribeConnectClientAddIns.go index 10cddc8506e..dc42c851994 100644 --- a/service/workspaces/api_op_DescribeConnectClientAddIns.go +++ b/service/workspaces/api_op_DescribeConnectClientAddIns.go @@ -123,9 +123,6 @@ func (c *Client) addOperationDescribeConnectClientAddInsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeConnectClientAddInsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeConnectionAliasPermissions.go b/service/workspaces/api_op_DescribeConnectionAliasPermissions.go index 0ab71551095..2196268bdd9 100644 --- a/service/workspaces/api_op_DescribeConnectionAliasPermissions.go +++ b/service/workspaces/api_op_DescribeConnectionAliasPermissions.go @@ -130,9 +130,6 @@ func (c *Client) addOperationDescribeConnectionAliasPermissionsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeConnectionAliasPermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeConnectionAliases.go b/service/workspaces/api_op_DescribeConnectionAliases.go index 74b66e5f1f7..6d27b277756 100644 --- a/service/workspaces/api_op_DescribeConnectionAliases.go +++ b/service/workspaces/api_op_DescribeConnectionAliases.go @@ -127,9 +127,6 @@ func (c *Client) addOperationDescribeConnectionAliasesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeConnectionAliases(options.Region), middleware.Before); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeImageAssociations.go b/service/workspaces/api_op_DescribeImageAssociations.go index 647409e40c8..28c1127c45c 100644 --- a/service/workspaces/api_op_DescribeImageAssociations.go +++ b/service/workspaces/api_op_DescribeImageAssociations.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDescribeImageAssociationsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeImageAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeIpGroups.go b/service/workspaces/api_op_DescribeIpGroups.go index 30898bc0fbf..8aae8096341 100644 --- a/service/workspaces/api_op_DescribeIpGroups.go +++ b/service/workspaces/api_op_DescribeIpGroups.go @@ -121,9 +121,6 @@ func (c *Client) addOperationDescribeIpGroupsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeIpGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeTags.go b/service/workspaces/api_op_DescribeTags.go index 9100cc6bf74..a39a719e67a 100644 --- a/service/workspaces/api_op_DescribeTags.go +++ b/service/workspaces/api_op_DescribeTags.go @@ -114,9 +114,6 @@ func (c *Client) addOperationDescribeTagsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeTagsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeWorkspaceAssociations.go b/service/workspaces/api_op_DescribeWorkspaceAssociations.go index 49c0766c2a2..0050d8e9792 100644 --- a/service/workspaces/api_op_DescribeWorkspaceAssociations.go +++ b/service/workspaces/api_op_DescribeWorkspaceAssociations.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDescribeWorkspaceAssociationsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeWorkspaceAssociationsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeWorkspaceBundles.go b/service/workspaces/api_op_DescribeWorkspaceBundles.go index af8f76a3b23..f63a07f39bb 100644 --- a/service/workspaces/api_op_DescribeWorkspaceBundles.go +++ b/service/workspaces/api_op_DescribeWorkspaceBundles.go @@ -129,9 +129,6 @@ func (c *Client) addOperationDescribeWorkspaceBundlesMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWorkspaceBundles(options.Region), middleware.Before); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeWorkspaceDirectories.go b/service/workspaces/api_op_DescribeWorkspaceDirectories.go index a7da9623c5f..f89506443a9 100644 --- a/service/workspaces/api_op_DescribeWorkspaceDirectories.go +++ b/service/workspaces/api_op_DescribeWorkspaceDirectories.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDescribeWorkspaceDirectoriesMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeWorkspaceDirectoriesValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeWorkspaceImagePermissions.go b/service/workspaces/api_op_DescribeWorkspaceImagePermissions.go index 265143c8227..851c31fa354 100644 --- a/service/workspaces/api_op_DescribeWorkspaceImagePermissions.go +++ b/service/workspaces/api_op_DescribeWorkspaceImagePermissions.go @@ -128,9 +128,6 @@ func (c *Client) addOperationDescribeWorkspaceImagePermissionsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeWorkspaceImagePermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeWorkspaceImages.go b/service/workspaces/api_op_DescribeWorkspaceImages.go index 7ee207570a5..9e6448729c9 100644 --- a/service/workspaces/api_op_DescribeWorkspaceImages.go +++ b/service/workspaces/api_op_DescribeWorkspaceImages.go @@ -125,9 +125,6 @@ func (c *Client) addOperationDescribeWorkspaceImagesMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWorkspaceImages(options.Region), middleware.Before); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeWorkspaceSnapshots.go b/service/workspaces/api_op_DescribeWorkspaceSnapshots.go index 8ea5f90b068..61e81e1811c 100644 --- a/service/workspaces/api_op_DescribeWorkspaceSnapshots.go +++ b/service/workspaces/api_op_DescribeWorkspaceSnapshots.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDescribeWorkspaceSnapshotsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeWorkspaceSnapshotsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeWorkspaces.go b/service/workspaces/api_op_DescribeWorkspaces.go index 6ffc2c2c8ee..673801d545e 100644 --- a/service/workspaces/api_op_DescribeWorkspaces.go +++ b/service/workspaces/api_op_DescribeWorkspaces.go @@ -148,9 +148,6 @@ func (c *Client) addOperationDescribeWorkspacesMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWorkspaces(options.Region), middleware.Before); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeWorkspacesConnectionStatus.go b/service/workspaces/api_op_DescribeWorkspacesConnectionStatus.go index cbb429c84a3..d33cbcc5e07 100644 --- a/service/workspaces/api_op_DescribeWorkspacesConnectionStatus.go +++ b/service/workspaces/api_op_DescribeWorkspacesConnectionStatus.go @@ -118,9 +118,6 @@ func (c *Client) addOperationDescribeWorkspacesConnectionStatusMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWorkspacesConnectionStatus(options.Region), middleware.Before); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeWorkspacesPoolSessions.go b/service/workspaces/api_op_DescribeWorkspacesPoolSessions.go index 8df99973c10..44a1f52240b 100644 --- a/service/workspaces/api_op_DescribeWorkspacesPoolSessions.go +++ b/service/workspaces/api_op_DescribeWorkspacesPoolSessions.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDescribeWorkspacesPoolSessionsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeWorkspacesPoolSessionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DescribeWorkspacesPools.go b/service/workspaces/api_op_DescribeWorkspacesPools.go index d6784a750b8..440b63df85f 100644 --- a/service/workspaces/api_op_DescribeWorkspacesPools.go +++ b/service/workspaces/api_op_DescribeWorkspacesPools.go @@ -124,9 +124,6 @@ func (c *Client) addOperationDescribeWorkspacesPoolsMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDescribeWorkspacesPoolsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DisassociateConnectionAlias.go b/service/workspaces/api_op_DisassociateConnectionAlias.go index e3621c44fa0..26be865b9d4 100644 --- a/service/workspaces/api_op_DisassociateConnectionAlias.go +++ b/service/workspaces/api_op_DisassociateConnectionAlias.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDisassociateConnectionAliasMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateConnectionAliasValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DisassociateIpGroups.go b/service/workspaces/api_op_DisassociateIpGroups.go index c83c4926cd2..6d5a73b7326 100644 --- a/service/workspaces/api_op_DisassociateIpGroups.go +++ b/service/workspaces/api_op_DisassociateIpGroups.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDisassociateIpGroupsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateIpGroupsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_DisassociateWorkspaceApplication.go b/service/workspaces/api_op_DisassociateWorkspaceApplication.go index 5e65f4017a5..167399d3d3f 100644 --- a/service/workspaces/api_op_DisassociateWorkspaceApplication.go +++ b/service/workspaces/api_op_DisassociateWorkspaceApplication.go @@ -117,9 +117,6 @@ func (c *Client) addOperationDisassociateWorkspaceApplicationMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateWorkspaceApplicationValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_GetAccountLink.go b/service/workspaces/api_op_GetAccountLink.go index f6c04868b53..544de37881d 100644 --- a/service/workspaces/api_op_GetAccountLink.go +++ b/service/workspaces/api_op_GetAccountLink.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetAccountLinkMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountLink(options.Region), middleware.Before); err != nil { return err } diff --git a/service/workspaces/api_op_ImportClientBranding.go b/service/workspaces/api_op_ImportClientBranding.go index 3770af1885b..b6011a56a48 100644 --- a/service/workspaces/api_op_ImportClientBranding.go +++ b/service/workspaces/api_op_ImportClientBranding.go @@ -164,9 +164,6 @@ func (c *Client) addOperationImportClientBrandingMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportClientBrandingValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_ImportWorkspaceImage.go b/service/workspaces/api_op_ImportWorkspaceImage.go index ef3fc2781fb..d13bfd86c37 100644 --- a/service/workspaces/api_op_ImportWorkspaceImage.go +++ b/service/workspaces/api_op_ImportWorkspaceImage.go @@ -162,9 +162,6 @@ func (c *Client) addOperationImportWorkspaceImageMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpImportWorkspaceImageValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_ListAccountLinks.go b/service/workspaces/api_op_ListAccountLinks.go index b36a0f1135a..349be2f2a1e 100644 --- a/service/workspaces/api_op_ListAccountLinks.go +++ b/service/workspaces/api_op_ListAccountLinks.go @@ -121,9 +121,6 @@ func (c *Client) addOperationListAccountLinksMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAccountLinks(options.Region), middleware.Before); err != nil { return err } diff --git a/service/workspaces/api_op_ListAvailableManagementCidrRanges.go b/service/workspaces/api_op_ListAvailableManagementCidrRanges.go index 4ef57b717d8..2a5fc87bd27 100644 --- a/service/workspaces/api_op_ListAvailableManagementCidrRanges.go +++ b/service/workspaces/api_op_ListAvailableManagementCidrRanges.go @@ -135,9 +135,6 @@ func (c *Client) addOperationListAvailableManagementCidrRangesMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListAvailableManagementCidrRangesValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_MigrateWorkspace.go b/service/workspaces/api_op_MigrateWorkspace.go index c9cc04b4508..18468a954ca 100644 --- a/service/workspaces/api_op_MigrateWorkspace.go +++ b/service/workspaces/api_op_MigrateWorkspace.go @@ -134,9 +134,6 @@ func (c *Client) addOperationMigrateWorkspaceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpMigrateWorkspaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_ModifyAccount.go b/service/workspaces/api_op_ModifyAccount.go index 111d822e1f5..5d1d640ec4c 100644 --- a/service/workspaces/api_op_ModifyAccount.go +++ b/service/workspaces/api_op_ModifyAccount.go @@ -114,9 +114,6 @@ func (c *Client) addOperationModifyAccountMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opModifyAccount(options.Region), middleware.Before); err != nil { return err } diff --git a/service/workspaces/api_op_ModifyCertificateBasedAuthProperties.go b/service/workspaces/api_op_ModifyCertificateBasedAuthProperties.go index ec711b42660..d31e3435ada 100644 --- a/service/workspaces/api_op_ModifyCertificateBasedAuthProperties.go +++ b/service/workspaces/api_op_ModifyCertificateBasedAuthProperties.go @@ -115,9 +115,6 @@ func (c *Client) addOperationModifyCertificateBasedAuthPropertiesMiddlewares(sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyCertificateBasedAuthPropertiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_ModifyClientProperties.go b/service/workspaces/api_op_ModifyClientProperties.go index d06f73dea66..3778f3fedbe 100644 --- a/service/workspaces/api_op_ModifyClientProperties.go +++ b/service/workspaces/api_op_ModifyClientProperties.go @@ -113,9 +113,6 @@ func (c *Client) addOperationModifyClientPropertiesMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyClientPropertiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_ModifySamlProperties.go b/service/workspaces/api_op_ModifySamlProperties.go index 1de38474f6d..e0a155ef412 100644 --- a/service/workspaces/api_op_ModifySamlProperties.go +++ b/service/workspaces/api_op_ModifySamlProperties.go @@ -123,9 +123,6 @@ func (c *Client) addOperationModifySamlPropertiesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifySamlPropertiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_ModifySelfservicePermissions.go b/service/workspaces/api_op_ModifySelfservicePermissions.go index 5b06a28aee8..f7b4bd3f145 100644 --- a/service/workspaces/api_op_ModifySelfservicePermissions.go +++ b/service/workspaces/api_op_ModifySelfservicePermissions.go @@ -116,9 +116,6 @@ func (c *Client) addOperationModifySelfservicePermissionsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifySelfservicePermissionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_ModifyStreamingProperties.go b/service/workspaces/api_op_ModifyStreamingProperties.go index 6ba88efa37a..537a2310638 100644 --- a/service/workspaces/api_op_ModifyStreamingProperties.go +++ b/service/workspaces/api_op_ModifyStreamingProperties.go @@ -111,9 +111,6 @@ func (c *Client) addOperationModifyStreamingPropertiesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyStreamingPropertiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_ModifyWorkspaceAccessProperties.go b/service/workspaces/api_op_ModifyWorkspaceAccessProperties.go index b9bf705fe6b..f18b1d29c28 100644 --- a/service/workspaces/api_op_ModifyWorkspaceAccessProperties.go +++ b/service/workspaces/api_op_ModifyWorkspaceAccessProperties.go @@ -116,9 +116,6 @@ func (c *Client) addOperationModifyWorkspaceAccessPropertiesMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyWorkspaceAccessPropertiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_ModifyWorkspaceCreationProperties.go b/service/workspaces/api_op_ModifyWorkspaceCreationProperties.go index 1b21c71e3f3..3a3e2056ad2 100644 --- a/service/workspaces/api_op_ModifyWorkspaceCreationProperties.go +++ b/service/workspaces/api_op_ModifyWorkspaceCreationProperties.go @@ -113,9 +113,6 @@ func (c *Client) addOperationModifyWorkspaceCreationPropertiesMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyWorkspaceCreationPropertiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_ModifyWorkspaceProperties.go b/service/workspaces/api_op_ModifyWorkspaceProperties.go index 833f5c6b35b..36568466a1b 100644 --- a/service/workspaces/api_op_ModifyWorkspaceProperties.go +++ b/service/workspaces/api_op_ModifyWorkspaceProperties.go @@ -122,9 +122,6 @@ func (c *Client) addOperationModifyWorkspacePropertiesMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyWorkspacePropertiesValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_ModifyWorkspaceState.go b/service/workspaces/api_op_ModifyWorkspaceState.go index 88fb5ffc5ed..00c1a265654 100644 --- a/service/workspaces/api_op_ModifyWorkspaceState.go +++ b/service/workspaces/api_op_ModifyWorkspaceState.go @@ -118,9 +118,6 @@ func (c *Client) addOperationModifyWorkspaceStateMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpModifyWorkspaceStateValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_RebootWorkspaces.go b/service/workspaces/api_op_RebootWorkspaces.go index 5785bfeb8eb..6f198c39ccc 100644 --- a/service/workspaces/api_op_RebootWorkspaces.go +++ b/service/workspaces/api_op_RebootWorkspaces.go @@ -118,9 +118,6 @@ func (c *Client) addOperationRebootWorkspacesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRebootWorkspacesValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_RebuildWorkspaces.go b/service/workspaces/api_op_RebuildWorkspaces.go index 3495cc4f500..15d295da774 100644 --- a/service/workspaces/api_op_RebuildWorkspaces.go +++ b/service/workspaces/api_op_RebuildWorkspaces.go @@ -123,9 +123,6 @@ func (c *Client) addOperationRebuildWorkspacesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRebuildWorkspacesValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_RegisterWorkspaceDirectory.go b/service/workspaces/api_op_RegisterWorkspaceDirectory.go index e0f0dd30544..686a2ad69dc 100644 --- a/service/workspaces/api_op_RegisterWorkspaceDirectory.go +++ b/service/workspaces/api_op_RegisterWorkspaceDirectory.go @@ -171,9 +171,6 @@ func (c *Client) addOperationRegisterWorkspaceDirectoryMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRegisterWorkspaceDirectoryValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_RejectAccountLinkInvitation.go b/service/workspaces/api_op_RejectAccountLinkInvitation.go index 7200bc379af..dc40cdf00d9 100644 --- a/service/workspaces/api_op_RejectAccountLinkInvitation.go +++ b/service/workspaces/api_op_RejectAccountLinkInvitation.go @@ -115,9 +115,6 @@ func (c *Client) addOperationRejectAccountLinkInvitationMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRejectAccountLinkInvitationValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_RestoreWorkspace.go b/service/workspaces/api_op_RestoreWorkspace.go index 80f2a5ba343..706c01fcfa3 100644 --- a/service/workspaces/api_op_RestoreWorkspace.go +++ b/service/workspaces/api_op_RestoreWorkspace.go @@ -118,9 +118,6 @@ func (c *Client) addOperationRestoreWorkspaceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRestoreWorkspaceValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_RevokeIpRules.go b/service/workspaces/api_op_RevokeIpRules.go index 281581f31b6..3338dbfee6e 100644 --- a/service/workspaces/api_op_RevokeIpRules.go +++ b/service/workspaces/api_op_RevokeIpRules.go @@ -112,9 +112,6 @@ func (c *Client) addOperationRevokeIpRulesMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpRevokeIpRulesValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_StartWorkspaces.go b/service/workspaces/api_op_StartWorkspaces.go index 219585fd658..d3ce3469702 100644 --- a/service/workspaces/api_op_StartWorkspaces.go +++ b/service/workspaces/api_op_StartWorkspaces.go @@ -115,9 +115,6 @@ func (c *Client) addOperationStartWorkspacesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartWorkspacesValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_StartWorkspacesPool.go b/service/workspaces/api_op_StartWorkspacesPool.go index 5a886ea101f..adb230710d3 100644 --- a/service/workspaces/api_op_StartWorkspacesPool.go +++ b/service/workspaces/api_op_StartWorkspacesPool.go @@ -110,9 +110,6 @@ func (c *Client) addOperationStartWorkspacesPoolMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartWorkspacesPoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_StopWorkspaces.go b/service/workspaces/api_op_StopWorkspaces.go index f03a4be6500..745cd4bdda8 100644 --- a/service/workspaces/api_op_StopWorkspaces.go +++ b/service/workspaces/api_op_StopWorkspaces.go @@ -115,9 +115,6 @@ func (c *Client) addOperationStopWorkspacesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopWorkspacesValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_StopWorkspacesPool.go b/service/workspaces/api_op_StopWorkspacesPool.go index 9b361435341..5887e2a1413 100644 --- a/service/workspaces/api_op_StopWorkspacesPool.go +++ b/service/workspaces/api_op_StopWorkspacesPool.go @@ -110,9 +110,6 @@ func (c *Client) addOperationStopWorkspacesPoolMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStopWorkspacesPoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_TerminateWorkspaces.go b/service/workspaces/api_op_TerminateWorkspaces.go index 3a2b7cec914..afa634328d6 100644 --- a/service/workspaces/api_op_TerminateWorkspaces.go +++ b/service/workspaces/api_op_TerminateWorkspaces.go @@ -139,9 +139,6 @@ func (c *Client) addOperationTerminateWorkspacesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTerminateWorkspacesValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_TerminateWorkspacesPool.go b/service/workspaces/api_op_TerminateWorkspacesPool.go index a0da97f7fce..121d824e48d 100644 --- a/service/workspaces/api_op_TerminateWorkspacesPool.go +++ b/service/workspaces/api_op_TerminateWorkspacesPool.go @@ -107,9 +107,6 @@ func (c *Client) addOperationTerminateWorkspacesPoolMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTerminateWorkspacesPoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_TerminateWorkspacesPoolSession.go b/service/workspaces/api_op_TerminateWorkspacesPoolSession.go index 9f68ce0c68c..ba46caa01d9 100644 --- a/service/workspaces/api_op_TerminateWorkspacesPoolSession.go +++ b/service/workspaces/api_op_TerminateWorkspacesPoolSession.go @@ -107,9 +107,6 @@ func (c *Client) addOperationTerminateWorkspacesPoolSessionMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTerminateWorkspacesPoolSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_UpdateConnectClientAddIn.go b/service/workspaces/api_op_UpdateConnectClientAddIn.go index 8444bce2080..8d216bc3993 100644 --- a/service/workspaces/api_op_UpdateConnectClientAddIn.go +++ b/service/workspaces/api_op_UpdateConnectClientAddIn.go @@ -119,9 +119,6 @@ func (c *Client) addOperationUpdateConnectClientAddInMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConnectClientAddInValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_UpdateConnectionAliasPermission.go b/service/workspaces/api_op_UpdateConnectionAliasPermission.go index db8466eb6e4..0aefcec9a83 100644 --- a/service/workspaces/api_op_UpdateConnectionAliasPermission.go +++ b/service/workspaces/api_op_UpdateConnectionAliasPermission.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateConnectionAliasPermissionMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateConnectionAliasPermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_UpdateRulesOfIpGroup.go b/service/workspaces/api_op_UpdateRulesOfIpGroup.go index d648a4cab89..810095984c1 100644 --- a/service/workspaces/api_op_UpdateRulesOfIpGroup.go +++ b/service/workspaces/api_op_UpdateRulesOfIpGroup.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUpdateRulesOfIpGroupMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateRulesOfIpGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_UpdateWorkspaceBundle.go b/service/workspaces/api_op_UpdateWorkspaceBundle.go index 1e71068da8d..70d950f1f0c 100644 --- a/service/workspaces/api_op_UpdateWorkspaceBundle.go +++ b/service/workspaces/api_op_UpdateWorkspaceBundle.go @@ -116,9 +116,6 @@ func (c *Client) addOperationUpdateWorkspaceBundleMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWorkspaceBundle(options.Region), middleware.Before); err != nil { return err } diff --git a/service/workspaces/api_op_UpdateWorkspaceImagePermission.go b/service/workspaces/api_op_UpdateWorkspaceImagePermission.go index dc3e5957516..660299a5605 100644 --- a/service/workspaces/api_op_UpdateWorkspaceImagePermission.go +++ b/service/workspaces/api_op_UpdateWorkspaceImagePermission.go @@ -145,9 +145,6 @@ func (c *Client) addOperationUpdateWorkspaceImagePermissionMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateWorkspaceImagePermissionValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/api_op_UpdateWorkspacesPool.go b/service/workspaces/api_op_UpdateWorkspacesPool.go index ff387c8df85..92305070c82 100644 --- a/service/workspaces/api_op_UpdateWorkspacesPool.go +++ b/service/workspaces/api_op_UpdateWorkspacesPool.go @@ -130,9 +130,6 @@ func (c *Client) addOperationUpdateWorkspacesPoolMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateWorkspacesPoolValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspaces/snapshot/api_op_AcceptAccountLinkInvitation.go.snap b/service/workspaces/snapshot/api_op_AcceptAccountLinkInvitation.go.snap index 735b7213be6..24e1e0a65d7 100644 --- a/service/workspaces/snapshot/api_op_AcceptAccountLinkInvitation.go.snap +++ b/service/workspaces/snapshot/api_op_AcceptAccountLinkInvitation.go.snap @@ -14,7 +14,6 @@ AcceptAccountLinkInvitation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_AssociateConnectionAlias.go.snap b/service/workspaces/snapshot/api_op_AssociateConnectionAlias.go.snap index 90ed63450cf..659c3bc9ce9 100644 --- a/service/workspaces/snapshot/api_op_AssociateConnectionAlias.go.snap +++ b/service/workspaces/snapshot/api_op_AssociateConnectionAlias.go.snap @@ -14,7 +14,6 @@ AssociateConnectionAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_AssociateIpGroups.go.snap b/service/workspaces/snapshot/api_op_AssociateIpGroups.go.snap index d8d4d93ee57..b35499da9a8 100644 --- a/service/workspaces/snapshot/api_op_AssociateIpGroups.go.snap +++ b/service/workspaces/snapshot/api_op_AssociateIpGroups.go.snap @@ -14,7 +14,6 @@ AssociateIpGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_AssociateWorkspaceApplication.go.snap b/service/workspaces/snapshot/api_op_AssociateWorkspaceApplication.go.snap index 13c53d9025e..03019d1ad9d 100644 --- a/service/workspaces/snapshot/api_op_AssociateWorkspaceApplication.go.snap +++ b/service/workspaces/snapshot/api_op_AssociateWorkspaceApplication.go.snap @@ -14,7 +14,6 @@ AssociateWorkspaceApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_AuthorizeIpRules.go.snap b/service/workspaces/snapshot/api_op_AuthorizeIpRules.go.snap index 8fecd9715c2..39ec2830c3f 100644 --- a/service/workspaces/snapshot/api_op_AuthorizeIpRules.go.snap +++ b/service/workspaces/snapshot/api_op_AuthorizeIpRules.go.snap @@ -14,7 +14,6 @@ AuthorizeIpRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_CopyWorkspaceImage.go.snap b/service/workspaces/snapshot/api_op_CopyWorkspaceImage.go.snap index e3aa8119b2e..18c49cef04f 100644 --- a/service/workspaces/snapshot/api_op_CopyWorkspaceImage.go.snap +++ b/service/workspaces/snapshot/api_op_CopyWorkspaceImage.go.snap @@ -14,7 +14,6 @@ CopyWorkspaceImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_CreateAccountLinkInvitation.go.snap b/service/workspaces/snapshot/api_op_CreateAccountLinkInvitation.go.snap index 4d7e06b2766..94b529fa91a 100644 --- a/service/workspaces/snapshot/api_op_CreateAccountLinkInvitation.go.snap +++ b/service/workspaces/snapshot/api_op_CreateAccountLinkInvitation.go.snap @@ -14,7 +14,6 @@ CreateAccountLinkInvitation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_CreateConnectClientAddIn.go.snap b/service/workspaces/snapshot/api_op_CreateConnectClientAddIn.go.snap index bcf3c01cbf6..bb7667476b3 100644 --- a/service/workspaces/snapshot/api_op_CreateConnectClientAddIn.go.snap +++ b/service/workspaces/snapshot/api_op_CreateConnectClientAddIn.go.snap @@ -14,7 +14,6 @@ CreateConnectClientAddIn Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_CreateConnectionAlias.go.snap b/service/workspaces/snapshot/api_op_CreateConnectionAlias.go.snap index d52a7e6c0da..ab850b8b17c 100644 --- a/service/workspaces/snapshot/api_op_CreateConnectionAlias.go.snap +++ b/service/workspaces/snapshot/api_op_CreateConnectionAlias.go.snap @@ -14,7 +14,6 @@ CreateConnectionAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_CreateIpGroup.go.snap b/service/workspaces/snapshot/api_op_CreateIpGroup.go.snap index 46a266f6a80..77ec4f46cb0 100644 --- a/service/workspaces/snapshot/api_op_CreateIpGroup.go.snap +++ b/service/workspaces/snapshot/api_op_CreateIpGroup.go.snap @@ -14,7 +14,6 @@ CreateIpGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_CreateStandbyWorkspaces.go.snap b/service/workspaces/snapshot/api_op_CreateStandbyWorkspaces.go.snap index cf1faddc302..3d1fddafeba 100644 --- a/service/workspaces/snapshot/api_op_CreateStandbyWorkspaces.go.snap +++ b/service/workspaces/snapshot/api_op_CreateStandbyWorkspaces.go.snap @@ -14,7 +14,6 @@ CreateStandbyWorkspaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_CreateTags.go.snap b/service/workspaces/snapshot/api_op_CreateTags.go.snap index fe83545a271..2507df3be57 100644 --- a/service/workspaces/snapshot/api_op_CreateTags.go.snap +++ b/service/workspaces/snapshot/api_op_CreateTags.go.snap @@ -14,7 +14,6 @@ CreateTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_CreateUpdatedWorkspaceImage.go.snap b/service/workspaces/snapshot/api_op_CreateUpdatedWorkspaceImage.go.snap index 3fa5b70eef7..ab07fc3d7fb 100644 --- a/service/workspaces/snapshot/api_op_CreateUpdatedWorkspaceImage.go.snap +++ b/service/workspaces/snapshot/api_op_CreateUpdatedWorkspaceImage.go.snap @@ -14,7 +14,6 @@ CreateUpdatedWorkspaceImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_CreateWorkspaceBundle.go.snap b/service/workspaces/snapshot/api_op_CreateWorkspaceBundle.go.snap index 1e668dcad92..2ba9bdb0bf4 100644 --- a/service/workspaces/snapshot/api_op_CreateWorkspaceBundle.go.snap +++ b/service/workspaces/snapshot/api_op_CreateWorkspaceBundle.go.snap @@ -14,7 +14,6 @@ CreateWorkspaceBundle Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_CreateWorkspaceImage.go.snap b/service/workspaces/snapshot/api_op_CreateWorkspaceImage.go.snap index e1186bd463e..2a12a11142c 100644 --- a/service/workspaces/snapshot/api_op_CreateWorkspaceImage.go.snap +++ b/service/workspaces/snapshot/api_op_CreateWorkspaceImage.go.snap @@ -14,7 +14,6 @@ CreateWorkspaceImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_CreateWorkspaces.go.snap b/service/workspaces/snapshot/api_op_CreateWorkspaces.go.snap index e925fd11c18..37c6f1ad05a 100644 --- a/service/workspaces/snapshot/api_op_CreateWorkspaces.go.snap +++ b/service/workspaces/snapshot/api_op_CreateWorkspaces.go.snap @@ -14,7 +14,6 @@ CreateWorkspaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_CreateWorkspacesPool.go.snap b/service/workspaces/snapshot/api_op_CreateWorkspacesPool.go.snap index 3b27e606f0d..b591c42836d 100644 --- a/service/workspaces/snapshot/api_op_CreateWorkspacesPool.go.snap +++ b/service/workspaces/snapshot/api_op_CreateWorkspacesPool.go.snap @@ -14,7 +14,6 @@ CreateWorkspacesPool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DeleteAccountLinkInvitation.go.snap b/service/workspaces/snapshot/api_op_DeleteAccountLinkInvitation.go.snap index 7762edf67cf..204b3d362ba 100644 --- a/service/workspaces/snapshot/api_op_DeleteAccountLinkInvitation.go.snap +++ b/service/workspaces/snapshot/api_op_DeleteAccountLinkInvitation.go.snap @@ -14,7 +14,6 @@ DeleteAccountLinkInvitation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DeleteClientBranding.go.snap b/service/workspaces/snapshot/api_op_DeleteClientBranding.go.snap index 08395a61091..5ac33fb2064 100644 --- a/service/workspaces/snapshot/api_op_DeleteClientBranding.go.snap +++ b/service/workspaces/snapshot/api_op_DeleteClientBranding.go.snap @@ -14,7 +14,6 @@ DeleteClientBranding Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DeleteConnectClientAddIn.go.snap b/service/workspaces/snapshot/api_op_DeleteConnectClientAddIn.go.snap index fdd9887e36d..01050cd8666 100644 --- a/service/workspaces/snapshot/api_op_DeleteConnectClientAddIn.go.snap +++ b/service/workspaces/snapshot/api_op_DeleteConnectClientAddIn.go.snap @@ -14,7 +14,6 @@ DeleteConnectClientAddIn Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DeleteConnectionAlias.go.snap b/service/workspaces/snapshot/api_op_DeleteConnectionAlias.go.snap index f3e15c5dbd7..d9a97138d2c 100644 --- a/service/workspaces/snapshot/api_op_DeleteConnectionAlias.go.snap +++ b/service/workspaces/snapshot/api_op_DeleteConnectionAlias.go.snap @@ -14,7 +14,6 @@ DeleteConnectionAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DeleteIpGroup.go.snap b/service/workspaces/snapshot/api_op_DeleteIpGroup.go.snap index b9fd1ec7034..b97256fbb02 100644 --- a/service/workspaces/snapshot/api_op_DeleteIpGroup.go.snap +++ b/service/workspaces/snapshot/api_op_DeleteIpGroup.go.snap @@ -14,7 +14,6 @@ DeleteIpGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DeleteTags.go.snap b/service/workspaces/snapshot/api_op_DeleteTags.go.snap index 7821a01e140..0eeb01dca01 100644 --- a/service/workspaces/snapshot/api_op_DeleteTags.go.snap +++ b/service/workspaces/snapshot/api_op_DeleteTags.go.snap @@ -14,7 +14,6 @@ DeleteTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DeleteWorkspaceBundle.go.snap b/service/workspaces/snapshot/api_op_DeleteWorkspaceBundle.go.snap index 9087a8817a3..3175cee3b79 100644 --- a/service/workspaces/snapshot/api_op_DeleteWorkspaceBundle.go.snap +++ b/service/workspaces/snapshot/api_op_DeleteWorkspaceBundle.go.snap @@ -13,7 +13,6 @@ DeleteWorkspaceBundle Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DeleteWorkspaceImage.go.snap b/service/workspaces/snapshot/api_op_DeleteWorkspaceImage.go.snap index d1fb9d03feb..bd0a66d5607 100644 --- a/service/workspaces/snapshot/api_op_DeleteWorkspaceImage.go.snap +++ b/service/workspaces/snapshot/api_op_DeleteWorkspaceImage.go.snap @@ -14,7 +14,6 @@ DeleteWorkspaceImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DeployWorkspaceApplications.go.snap b/service/workspaces/snapshot/api_op_DeployWorkspaceApplications.go.snap index 818c28ce758..d3f2f6f21b2 100644 --- a/service/workspaces/snapshot/api_op_DeployWorkspaceApplications.go.snap +++ b/service/workspaces/snapshot/api_op_DeployWorkspaceApplications.go.snap @@ -14,7 +14,6 @@ DeployWorkspaceApplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DeregisterWorkspaceDirectory.go.snap b/service/workspaces/snapshot/api_op_DeregisterWorkspaceDirectory.go.snap index 76316108b91..06728f424c4 100644 --- a/service/workspaces/snapshot/api_op_DeregisterWorkspaceDirectory.go.snap +++ b/service/workspaces/snapshot/api_op_DeregisterWorkspaceDirectory.go.snap @@ -14,7 +14,6 @@ DeregisterWorkspaceDirectory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DescribeAccount.go.snap b/service/workspaces/snapshot/api_op_DescribeAccount.go.snap index 221533fec74..a87607fbd5c 100644 --- a/service/workspaces/snapshot/api_op_DescribeAccount.go.snap +++ b/service/workspaces/snapshot/api_op_DescribeAccount.go.snap @@ -13,7 +13,6 @@ DescribeAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DescribeAccountModifications.go.snap b/service/workspaces/snapshot/api_op_DescribeAccountModifications.go.snap index 0ffd09d6f6a..543faaae9e9 100644 --- a/service/workspaces/snapshot/api_op_DescribeAccountModifications.go.snap +++ b/service/workspaces/snapshot/api_op_DescribeAccountModifications.go.snap @@ -13,7 +13,6 @@ DescribeAccountModifications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DescribeApplicationAssociations.go.snap b/service/workspaces/snapshot/api_op_DescribeApplicationAssociations.go.snap index 149e5e9c958..92246364a90 100644 --- a/service/workspaces/snapshot/api_op_DescribeApplicationAssociations.go.snap +++ b/service/workspaces/snapshot/api_op_DescribeApplicationAssociations.go.snap @@ -14,7 +14,6 @@ DescribeApplicationAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DescribeApplications.go.snap b/service/workspaces/snapshot/api_op_DescribeApplications.go.snap index 0c53965f2bd..5cc77594f9f 100644 --- a/service/workspaces/snapshot/api_op_DescribeApplications.go.snap +++ b/service/workspaces/snapshot/api_op_DescribeApplications.go.snap @@ -13,7 +13,6 @@ DescribeApplications Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DescribeBundleAssociations.go.snap b/service/workspaces/snapshot/api_op_DescribeBundleAssociations.go.snap index 2d26b5f1feb..26fc5384673 100644 --- a/service/workspaces/snapshot/api_op_DescribeBundleAssociations.go.snap +++ b/service/workspaces/snapshot/api_op_DescribeBundleAssociations.go.snap @@ -14,7 +14,6 @@ DescribeBundleAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DescribeClientBranding.go.snap b/service/workspaces/snapshot/api_op_DescribeClientBranding.go.snap index cdbb34ce8f4..7c281e9cc86 100644 --- a/service/workspaces/snapshot/api_op_DescribeClientBranding.go.snap +++ b/service/workspaces/snapshot/api_op_DescribeClientBranding.go.snap @@ -14,7 +14,6 @@ DescribeClientBranding Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DescribeClientProperties.go.snap b/service/workspaces/snapshot/api_op_DescribeClientProperties.go.snap index 7464decc711..7f79a8f2480 100644 --- a/service/workspaces/snapshot/api_op_DescribeClientProperties.go.snap +++ b/service/workspaces/snapshot/api_op_DescribeClientProperties.go.snap @@ -14,7 +14,6 @@ DescribeClientProperties Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DescribeConnectClientAddIns.go.snap b/service/workspaces/snapshot/api_op_DescribeConnectClientAddIns.go.snap index 4b3622f4331..a60a3fbf52f 100644 --- a/service/workspaces/snapshot/api_op_DescribeConnectClientAddIns.go.snap +++ b/service/workspaces/snapshot/api_op_DescribeConnectClientAddIns.go.snap @@ -14,7 +14,6 @@ DescribeConnectClientAddIns Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DescribeConnectionAliasPermissions.go.snap b/service/workspaces/snapshot/api_op_DescribeConnectionAliasPermissions.go.snap index d46fd8329cb..0274580745c 100644 --- a/service/workspaces/snapshot/api_op_DescribeConnectionAliasPermissions.go.snap +++ b/service/workspaces/snapshot/api_op_DescribeConnectionAliasPermissions.go.snap @@ -14,7 +14,6 @@ DescribeConnectionAliasPermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DescribeConnectionAliases.go.snap b/service/workspaces/snapshot/api_op_DescribeConnectionAliases.go.snap index 40a52def312..ab4b74cba82 100644 --- a/service/workspaces/snapshot/api_op_DescribeConnectionAliases.go.snap +++ b/service/workspaces/snapshot/api_op_DescribeConnectionAliases.go.snap @@ -13,7 +13,6 @@ DescribeConnectionAliases Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DescribeImageAssociations.go.snap b/service/workspaces/snapshot/api_op_DescribeImageAssociations.go.snap index e9e89ccacee..29ee954ad69 100644 --- a/service/workspaces/snapshot/api_op_DescribeImageAssociations.go.snap +++ b/service/workspaces/snapshot/api_op_DescribeImageAssociations.go.snap @@ -14,7 +14,6 @@ DescribeImageAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DescribeIpGroups.go.snap b/service/workspaces/snapshot/api_op_DescribeIpGroups.go.snap index f2e512a0dfa..f05036ac869 100644 --- a/service/workspaces/snapshot/api_op_DescribeIpGroups.go.snap +++ b/service/workspaces/snapshot/api_op_DescribeIpGroups.go.snap @@ -13,7 +13,6 @@ DescribeIpGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DescribeTags.go.snap b/service/workspaces/snapshot/api_op_DescribeTags.go.snap index e4bd617c306..9e3c32c55d1 100644 --- a/service/workspaces/snapshot/api_op_DescribeTags.go.snap +++ b/service/workspaces/snapshot/api_op_DescribeTags.go.snap @@ -14,7 +14,6 @@ DescribeTags Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DescribeWorkspaceAssociations.go.snap b/service/workspaces/snapshot/api_op_DescribeWorkspaceAssociations.go.snap index 38fdedcce4f..c13d6114e85 100644 --- a/service/workspaces/snapshot/api_op_DescribeWorkspaceAssociations.go.snap +++ b/service/workspaces/snapshot/api_op_DescribeWorkspaceAssociations.go.snap @@ -14,7 +14,6 @@ DescribeWorkspaceAssociations Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DescribeWorkspaceBundles.go.snap b/service/workspaces/snapshot/api_op_DescribeWorkspaceBundles.go.snap index f331a0ecacd..e3c2f1e0aba 100644 --- a/service/workspaces/snapshot/api_op_DescribeWorkspaceBundles.go.snap +++ b/service/workspaces/snapshot/api_op_DescribeWorkspaceBundles.go.snap @@ -13,7 +13,6 @@ DescribeWorkspaceBundles Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DescribeWorkspaceDirectories.go.snap b/service/workspaces/snapshot/api_op_DescribeWorkspaceDirectories.go.snap index 8796efd782a..dc7f4d95ab3 100644 --- a/service/workspaces/snapshot/api_op_DescribeWorkspaceDirectories.go.snap +++ b/service/workspaces/snapshot/api_op_DescribeWorkspaceDirectories.go.snap @@ -14,7 +14,6 @@ DescribeWorkspaceDirectories Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DescribeWorkspaceImagePermissions.go.snap b/service/workspaces/snapshot/api_op_DescribeWorkspaceImagePermissions.go.snap index 7a143170855..8acf869a2e4 100644 --- a/service/workspaces/snapshot/api_op_DescribeWorkspaceImagePermissions.go.snap +++ b/service/workspaces/snapshot/api_op_DescribeWorkspaceImagePermissions.go.snap @@ -14,7 +14,6 @@ DescribeWorkspaceImagePermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DescribeWorkspaceImages.go.snap b/service/workspaces/snapshot/api_op_DescribeWorkspaceImages.go.snap index 5011089a891..e1cdbe34058 100644 --- a/service/workspaces/snapshot/api_op_DescribeWorkspaceImages.go.snap +++ b/service/workspaces/snapshot/api_op_DescribeWorkspaceImages.go.snap @@ -13,7 +13,6 @@ DescribeWorkspaceImages Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DescribeWorkspaceSnapshots.go.snap b/service/workspaces/snapshot/api_op_DescribeWorkspaceSnapshots.go.snap index 10a3b25a083..d7ceb90936f 100644 --- a/service/workspaces/snapshot/api_op_DescribeWorkspaceSnapshots.go.snap +++ b/service/workspaces/snapshot/api_op_DescribeWorkspaceSnapshots.go.snap @@ -14,7 +14,6 @@ DescribeWorkspaceSnapshots Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DescribeWorkspaces.go.snap b/service/workspaces/snapshot/api_op_DescribeWorkspaces.go.snap index 51a274dbf8f..e589b7f2bc8 100644 --- a/service/workspaces/snapshot/api_op_DescribeWorkspaces.go.snap +++ b/service/workspaces/snapshot/api_op_DescribeWorkspaces.go.snap @@ -13,7 +13,6 @@ DescribeWorkspaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DescribeWorkspacesConnectionStatus.go.snap b/service/workspaces/snapshot/api_op_DescribeWorkspacesConnectionStatus.go.snap index 884f329e263..a966575874b 100644 --- a/service/workspaces/snapshot/api_op_DescribeWorkspacesConnectionStatus.go.snap +++ b/service/workspaces/snapshot/api_op_DescribeWorkspacesConnectionStatus.go.snap @@ -13,7 +13,6 @@ DescribeWorkspacesConnectionStatus Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DescribeWorkspacesPoolSessions.go.snap b/service/workspaces/snapshot/api_op_DescribeWorkspacesPoolSessions.go.snap index 0b145dbf849..3dc9cb02afc 100644 --- a/service/workspaces/snapshot/api_op_DescribeWorkspacesPoolSessions.go.snap +++ b/service/workspaces/snapshot/api_op_DescribeWorkspacesPoolSessions.go.snap @@ -14,7 +14,6 @@ DescribeWorkspacesPoolSessions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DescribeWorkspacesPools.go.snap b/service/workspaces/snapshot/api_op_DescribeWorkspacesPools.go.snap index d3a434363fd..8eb60f8e597 100644 --- a/service/workspaces/snapshot/api_op_DescribeWorkspacesPools.go.snap +++ b/service/workspaces/snapshot/api_op_DescribeWorkspacesPools.go.snap @@ -14,7 +14,6 @@ DescribeWorkspacesPools Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DisassociateConnectionAlias.go.snap b/service/workspaces/snapshot/api_op_DisassociateConnectionAlias.go.snap index 5db6372e4c3..705a72952b4 100644 --- a/service/workspaces/snapshot/api_op_DisassociateConnectionAlias.go.snap +++ b/service/workspaces/snapshot/api_op_DisassociateConnectionAlias.go.snap @@ -14,7 +14,6 @@ DisassociateConnectionAlias Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DisassociateIpGroups.go.snap b/service/workspaces/snapshot/api_op_DisassociateIpGroups.go.snap index 3543e97ea46..d1de03f126e 100644 --- a/service/workspaces/snapshot/api_op_DisassociateIpGroups.go.snap +++ b/service/workspaces/snapshot/api_op_DisassociateIpGroups.go.snap @@ -14,7 +14,6 @@ DisassociateIpGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_DisassociateWorkspaceApplication.go.snap b/service/workspaces/snapshot/api_op_DisassociateWorkspaceApplication.go.snap index 70aa8eace0a..78cf9ee4feb 100644 --- a/service/workspaces/snapshot/api_op_DisassociateWorkspaceApplication.go.snap +++ b/service/workspaces/snapshot/api_op_DisassociateWorkspaceApplication.go.snap @@ -14,7 +14,6 @@ DisassociateWorkspaceApplication Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_GetAccountLink.go.snap b/service/workspaces/snapshot/api_op_GetAccountLink.go.snap index 56510316f8d..705c7e920de 100644 --- a/service/workspaces/snapshot/api_op_GetAccountLink.go.snap +++ b/service/workspaces/snapshot/api_op_GetAccountLink.go.snap @@ -13,7 +13,6 @@ GetAccountLink Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_ImportClientBranding.go.snap b/service/workspaces/snapshot/api_op_ImportClientBranding.go.snap index a2229a19944..372bfa45f92 100644 --- a/service/workspaces/snapshot/api_op_ImportClientBranding.go.snap +++ b/service/workspaces/snapshot/api_op_ImportClientBranding.go.snap @@ -14,7 +14,6 @@ ImportClientBranding Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_ImportWorkspaceImage.go.snap b/service/workspaces/snapshot/api_op_ImportWorkspaceImage.go.snap index 9ebf10b30e5..f13821c8f5b 100644 --- a/service/workspaces/snapshot/api_op_ImportWorkspaceImage.go.snap +++ b/service/workspaces/snapshot/api_op_ImportWorkspaceImage.go.snap @@ -14,7 +14,6 @@ ImportWorkspaceImage Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_ListAccountLinks.go.snap b/service/workspaces/snapshot/api_op_ListAccountLinks.go.snap index 15562ddb041..323d1b33109 100644 --- a/service/workspaces/snapshot/api_op_ListAccountLinks.go.snap +++ b/service/workspaces/snapshot/api_op_ListAccountLinks.go.snap @@ -13,7 +13,6 @@ ListAccountLinks Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_ListAvailableManagementCidrRanges.go.snap b/service/workspaces/snapshot/api_op_ListAvailableManagementCidrRanges.go.snap index 1e749f2be31..5b6afce19f8 100644 --- a/service/workspaces/snapshot/api_op_ListAvailableManagementCidrRanges.go.snap +++ b/service/workspaces/snapshot/api_op_ListAvailableManagementCidrRanges.go.snap @@ -14,7 +14,6 @@ ListAvailableManagementCidrRanges Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_MigrateWorkspace.go.snap b/service/workspaces/snapshot/api_op_MigrateWorkspace.go.snap index 2a18f2ae5b4..aa16294d9f1 100644 --- a/service/workspaces/snapshot/api_op_MigrateWorkspace.go.snap +++ b/service/workspaces/snapshot/api_op_MigrateWorkspace.go.snap @@ -14,7 +14,6 @@ MigrateWorkspace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_ModifyAccount.go.snap b/service/workspaces/snapshot/api_op_ModifyAccount.go.snap index 7cf3c51c95e..60a16562018 100644 --- a/service/workspaces/snapshot/api_op_ModifyAccount.go.snap +++ b/service/workspaces/snapshot/api_op_ModifyAccount.go.snap @@ -13,7 +13,6 @@ ModifyAccount Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_ModifyCertificateBasedAuthProperties.go.snap b/service/workspaces/snapshot/api_op_ModifyCertificateBasedAuthProperties.go.snap index e0caf69c8a2..a894cef3245 100644 --- a/service/workspaces/snapshot/api_op_ModifyCertificateBasedAuthProperties.go.snap +++ b/service/workspaces/snapshot/api_op_ModifyCertificateBasedAuthProperties.go.snap @@ -14,7 +14,6 @@ ModifyCertificateBasedAuthProperties Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_ModifyClientProperties.go.snap b/service/workspaces/snapshot/api_op_ModifyClientProperties.go.snap index 194788d4943..b6af9c1775b 100644 --- a/service/workspaces/snapshot/api_op_ModifyClientProperties.go.snap +++ b/service/workspaces/snapshot/api_op_ModifyClientProperties.go.snap @@ -14,7 +14,6 @@ ModifyClientProperties Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_ModifySamlProperties.go.snap b/service/workspaces/snapshot/api_op_ModifySamlProperties.go.snap index ff9787d9446..17183f60974 100644 --- a/service/workspaces/snapshot/api_op_ModifySamlProperties.go.snap +++ b/service/workspaces/snapshot/api_op_ModifySamlProperties.go.snap @@ -14,7 +14,6 @@ ModifySamlProperties Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_ModifySelfservicePermissions.go.snap b/service/workspaces/snapshot/api_op_ModifySelfservicePermissions.go.snap index 4f70868ff45..a597bc23170 100644 --- a/service/workspaces/snapshot/api_op_ModifySelfservicePermissions.go.snap +++ b/service/workspaces/snapshot/api_op_ModifySelfservicePermissions.go.snap @@ -14,7 +14,6 @@ ModifySelfservicePermissions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_ModifyStreamingProperties.go.snap b/service/workspaces/snapshot/api_op_ModifyStreamingProperties.go.snap index e6e1d84de4c..b9993ac3a24 100644 --- a/service/workspaces/snapshot/api_op_ModifyStreamingProperties.go.snap +++ b/service/workspaces/snapshot/api_op_ModifyStreamingProperties.go.snap @@ -14,7 +14,6 @@ ModifyStreamingProperties Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_ModifyWorkspaceAccessProperties.go.snap b/service/workspaces/snapshot/api_op_ModifyWorkspaceAccessProperties.go.snap index 84f7a8b8652..5d56eb88b78 100644 --- a/service/workspaces/snapshot/api_op_ModifyWorkspaceAccessProperties.go.snap +++ b/service/workspaces/snapshot/api_op_ModifyWorkspaceAccessProperties.go.snap @@ -14,7 +14,6 @@ ModifyWorkspaceAccessProperties Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_ModifyWorkspaceCreationProperties.go.snap b/service/workspaces/snapshot/api_op_ModifyWorkspaceCreationProperties.go.snap index b195464f2e9..23b6bc1f0a3 100644 --- a/service/workspaces/snapshot/api_op_ModifyWorkspaceCreationProperties.go.snap +++ b/service/workspaces/snapshot/api_op_ModifyWorkspaceCreationProperties.go.snap @@ -14,7 +14,6 @@ ModifyWorkspaceCreationProperties Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_ModifyWorkspaceProperties.go.snap b/service/workspaces/snapshot/api_op_ModifyWorkspaceProperties.go.snap index 79b3940a8e5..6dbf1650185 100644 --- a/service/workspaces/snapshot/api_op_ModifyWorkspaceProperties.go.snap +++ b/service/workspaces/snapshot/api_op_ModifyWorkspaceProperties.go.snap @@ -14,7 +14,6 @@ ModifyWorkspaceProperties Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_ModifyWorkspaceState.go.snap b/service/workspaces/snapshot/api_op_ModifyWorkspaceState.go.snap index 4a432ebeb05..526eaa3b176 100644 --- a/service/workspaces/snapshot/api_op_ModifyWorkspaceState.go.snap +++ b/service/workspaces/snapshot/api_op_ModifyWorkspaceState.go.snap @@ -14,7 +14,6 @@ ModifyWorkspaceState Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_RebootWorkspaces.go.snap b/service/workspaces/snapshot/api_op_RebootWorkspaces.go.snap index e2dcb2be048..ea0010bdb67 100644 --- a/service/workspaces/snapshot/api_op_RebootWorkspaces.go.snap +++ b/service/workspaces/snapshot/api_op_RebootWorkspaces.go.snap @@ -14,7 +14,6 @@ RebootWorkspaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_RebuildWorkspaces.go.snap b/service/workspaces/snapshot/api_op_RebuildWorkspaces.go.snap index b251f94f5f6..cfdf484b1a4 100644 --- a/service/workspaces/snapshot/api_op_RebuildWorkspaces.go.snap +++ b/service/workspaces/snapshot/api_op_RebuildWorkspaces.go.snap @@ -14,7 +14,6 @@ RebuildWorkspaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_RegisterWorkspaceDirectory.go.snap b/service/workspaces/snapshot/api_op_RegisterWorkspaceDirectory.go.snap index 16fe862a232..9aefbe52a92 100644 --- a/service/workspaces/snapshot/api_op_RegisterWorkspaceDirectory.go.snap +++ b/service/workspaces/snapshot/api_op_RegisterWorkspaceDirectory.go.snap @@ -14,7 +14,6 @@ RegisterWorkspaceDirectory Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_RejectAccountLinkInvitation.go.snap b/service/workspaces/snapshot/api_op_RejectAccountLinkInvitation.go.snap index ad27f0e3a9b..a9261247787 100644 --- a/service/workspaces/snapshot/api_op_RejectAccountLinkInvitation.go.snap +++ b/service/workspaces/snapshot/api_op_RejectAccountLinkInvitation.go.snap @@ -14,7 +14,6 @@ RejectAccountLinkInvitation Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_RestoreWorkspace.go.snap b/service/workspaces/snapshot/api_op_RestoreWorkspace.go.snap index 093ed0b2855..2962a8c9dc7 100644 --- a/service/workspaces/snapshot/api_op_RestoreWorkspace.go.snap +++ b/service/workspaces/snapshot/api_op_RestoreWorkspace.go.snap @@ -14,7 +14,6 @@ RestoreWorkspace Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_RevokeIpRules.go.snap b/service/workspaces/snapshot/api_op_RevokeIpRules.go.snap index 7daf2de4ec2..e5fdc6f1cca 100644 --- a/service/workspaces/snapshot/api_op_RevokeIpRules.go.snap +++ b/service/workspaces/snapshot/api_op_RevokeIpRules.go.snap @@ -14,7 +14,6 @@ RevokeIpRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_StartWorkspaces.go.snap b/service/workspaces/snapshot/api_op_StartWorkspaces.go.snap index 54ba4b949e5..23527313848 100644 --- a/service/workspaces/snapshot/api_op_StartWorkspaces.go.snap +++ b/service/workspaces/snapshot/api_op_StartWorkspaces.go.snap @@ -14,7 +14,6 @@ StartWorkspaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_StartWorkspacesPool.go.snap b/service/workspaces/snapshot/api_op_StartWorkspacesPool.go.snap index 1d63d440f45..8a9584c885f 100644 --- a/service/workspaces/snapshot/api_op_StartWorkspacesPool.go.snap +++ b/service/workspaces/snapshot/api_op_StartWorkspacesPool.go.snap @@ -14,7 +14,6 @@ StartWorkspacesPool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_StopWorkspaces.go.snap b/service/workspaces/snapshot/api_op_StopWorkspaces.go.snap index 1e65bd597b0..35a919f8695 100644 --- a/service/workspaces/snapshot/api_op_StopWorkspaces.go.snap +++ b/service/workspaces/snapshot/api_op_StopWorkspaces.go.snap @@ -14,7 +14,6 @@ StopWorkspaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_StopWorkspacesPool.go.snap b/service/workspaces/snapshot/api_op_StopWorkspacesPool.go.snap index d6475610a7b..0be0870e271 100644 --- a/service/workspaces/snapshot/api_op_StopWorkspacesPool.go.snap +++ b/service/workspaces/snapshot/api_op_StopWorkspacesPool.go.snap @@ -14,7 +14,6 @@ StopWorkspacesPool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_TerminateWorkspaces.go.snap b/service/workspaces/snapshot/api_op_TerminateWorkspaces.go.snap index 299ec28f2f9..2d329231d97 100644 --- a/service/workspaces/snapshot/api_op_TerminateWorkspaces.go.snap +++ b/service/workspaces/snapshot/api_op_TerminateWorkspaces.go.snap @@ -14,7 +14,6 @@ TerminateWorkspaces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_TerminateWorkspacesPool.go.snap b/service/workspaces/snapshot/api_op_TerminateWorkspacesPool.go.snap index 3d466035d29..2aede9bb9f3 100644 --- a/service/workspaces/snapshot/api_op_TerminateWorkspacesPool.go.snap +++ b/service/workspaces/snapshot/api_op_TerminateWorkspacesPool.go.snap @@ -14,7 +14,6 @@ TerminateWorkspacesPool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_TerminateWorkspacesPoolSession.go.snap b/service/workspaces/snapshot/api_op_TerminateWorkspacesPoolSession.go.snap index 030744da3f4..44bf6440cdc 100644 --- a/service/workspaces/snapshot/api_op_TerminateWorkspacesPoolSession.go.snap +++ b/service/workspaces/snapshot/api_op_TerminateWorkspacesPoolSession.go.snap @@ -14,7 +14,6 @@ TerminateWorkspacesPoolSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_UpdateConnectClientAddIn.go.snap b/service/workspaces/snapshot/api_op_UpdateConnectClientAddIn.go.snap index 63fe43e7edf..b1c3142c28b 100644 --- a/service/workspaces/snapshot/api_op_UpdateConnectClientAddIn.go.snap +++ b/service/workspaces/snapshot/api_op_UpdateConnectClientAddIn.go.snap @@ -14,7 +14,6 @@ UpdateConnectClientAddIn Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_UpdateConnectionAliasPermission.go.snap b/service/workspaces/snapshot/api_op_UpdateConnectionAliasPermission.go.snap index 3d1836efc76..8c10134c173 100644 --- a/service/workspaces/snapshot/api_op_UpdateConnectionAliasPermission.go.snap +++ b/service/workspaces/snapshot/api_op_UpdateConnectionAliasPermission.go.snap @@ -14,7 +14,6 @@ UpdateConnectionAliasPermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_UpdateRulesOfIpGroup.go.snap b/service/workspaces/snapshot/api_op_UpdateRulesOfIpGroup.go.snap index d73dd7840ee..1384e89fd4a 100644 --- a/service/workspaces/snapshot/api_op_UpdateRulesOfIpGroup.go.snap +++ b/service/workspaces/snapshot/api_op_UpdateRulesOfIpGroup.go.snap @@ -14,7 +14,6 @@ UpdateRulesOfIpGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_UpdateWorkspaceBundle.go.snap b/service/workspaces/snapshot/api_op_UpdateWorkspaceBundle.go.snap index c0e4a47ee46..b6979351741 100644 --- a/service/workspaces/snapshot/api_op_UpdateWorkspaceBundle.go.snap +++ b/service/workspaces/snapshot/api_op_UpdateWorkspaceBundle.go.snap @@ -13,7 +13,6 @@ UpdateWorkspaceBundle Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_UpdateWorkspaceImagePermission.go.snap b/service/workspaces/snapshot/api_op_UpdateWorkspaceImagePermission.go.snap index 772cc2ce32b..7aa14ff0f02 100644 --- a/service/workspaces/snapshot/api_op_UpdateWorkspaceImagePermission.go.snap +++ b/service/workspaces/snapshot/api_op_UpdateWorkspaceImagePermission.go.snap @@ -14,7 +14,6 @@ UpdateWorkspaceImagePermission Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspaces/snapshot/api_op_UpdateWorkspacesPool.go.snap b/service/workspaces/snapshot/api_op_UpdateWorkspacesPool.go.snap index e7f81150745..e6b5adfb2b1 100644 --- a/service/workspaces/snapshot/api_op_UpdateWorkspacesPool.go.snap +++ b/service/workspaces/snapshot/api_op_UpdateWorkspacesPool.go.snap @@ -14,7 +14,6 @@ UpdateWorkspacesPool Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesthinclient/api_client.go b/service/workspacesthinclient/api_client.go index 368268a182f..4fb238238f5 100644 --- a/service/workspacesthinclient/api_client.go +++ b/service/workspacesthinclient/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/workspacesthinclient/api_op_CreateEnvironment.go b/service/workspacesthinclient/api_op_CreateEnvironment.go index 263b1b440a6..ecf7a95f51a 100644 --- a/service/workspacesthinclient/api_op_CreateEnvironment.go +++ b/service/workspacesthinclient/api_op_CreateEnvironment.go @@ -159,9 +159,6 @@ func (c *Client) addOperationCreateEnvironmentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opCreateEnvironmentMiddleware(stack); err != nil { return err } diff --git a/service/workspacesthinclient/api_op_DeleteDevice.go b/service/workspacesthinclient/api_op_DeleteDevice.go index 8e2a396f9c3..5237a9aa23a 100644 --- a/service/workspacesthinclient/api_op_DeleteDevice.go +++ b/service/workspacesthinclient/api_op_DeleteDevice.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteDeviceMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteDeviceMiddleware(stack); err != nil { return err } diff --git a/service/workspacesthinclient/api_op_DeleteEnvironment.go b/service/workspacesthinclient/api_op_DeleteEnvironment.go index ccfdbecc13e..8d734e6d8eb 100644 --- a/service/workspacesthinclient/api_op_DeleteEnvironment.go +++ b/service/workspacesthinclient/api_op_DeleteEnvironment.go @@ -122,9 +122,6 @@ func (c *Client) addOperationDeleteEnvironmentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeleteEnvironmentMiddleware(stack); err != nil { return err } diff --git a/service/workspacesthinclient/api_op_DeregisterDevice.go b/service/workspacesthinclient/api_op_DeregisterDevice.go index ffe8320c11a..8aa51fdf442 100644 --- a/service/workspacesthinclient/api_op_DeregisterDevice.go +++ b/service/workspacesthinclient/api_op_DeregisterDevice.go @@ -126,9 +126,6 @@ func (c *Client) addOperationDeregisterDeviceMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opDeregisterDeviceMiddleware(stack); err != nil { return err } diff --git a/service/workspacesthinclient/api_op_GetDevice.go b/service/workspacesthinclient/api_op_GetDevice.go index bb7bbccad36..b3e40597e63 100644 --- a/service/workspacesthinclient/api_op_GetDevice.go +++ b/service/workspacesthinclient/api_op_GetDevice.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetDeviceMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetDeviceMiddleware(stack); err != nil { return err } diff --git a/service/workspacesthinclient/api_op_GetEnvironment.go b/service/workspacesthinclient/api_op_GetEnvironment.go index 74ff5a133d7..24f87498071 100644 --- a/service/workspacesthinclient/api_op_GetEnvironment.go +++ b/service/workspacesthinclient/api_op_GetEnvironment.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetEnvironmentMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetEnvironmentMiddleware(stack); err != nil { return err } diff --git a/service/workspacesthinclient/api_op_GetSoftwareSet.go b/service/workspacesthinclient/api_op_GetSoftwareSet.go index 2d46aed8280..4a1f7dc897a 100644 --- a/service/workspacesthinclient/api_op_GetSoftwareSet.go +++ b/service/workspacesthinclient/api_op_GetSoftwareSet.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetSoftwareSetMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opGetSoftwareSetMiddleware(stack); err != nil { return err } diff --git a/service/workspacesthinclient/api_op_ListDevices.go b/service/workspacesthinclient/api_op_ListDevices.go index 112afa67910..8d382720cc9 100644 --- a/service/workspacesthinclient/api_op_ListDevices.go +++ b/service/workspacesthinclient/api_op_ListDevices.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListDevicesMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListDevicesMiddleware(stack); err != nil { return err } diff --git a/service/workspacesthinclient/api_op_ListEnvironments.go b/service/workspacesthinclient/api_op_ListEnvironments.go index 5d6df1a7d7e..3630bd9cd3a 100644 --- a/service/workspacesthinclient/api_op_ListEnvironments.go +++ b/service/workspacesthinclient/api_op_ListEnvironments.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListEnvironmentsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListEnvironmentsMiddleware(stack); err != nil { return err } diff --git a/service/workspacesthinclient/api_op_ListSoftwareSets.go b/service/workspacesthinclient/api_op_ListSoftwareSets.go index 9f669985f20..2d78b357166 100644 --- a/service/workspacesthinclient/api_op_ListSoftwareSets.go +++ b/service/workspacesthinclient/api_op_ListSoftwareSets.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListSoftwareSetsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListSoftwareSetsMiddleware(stack); err != nil { return err } diff --git a/service/workspacesthinclient/api_op_ListTagsForResource.go b/service/workspacesthinclient/api_op_ListTagsForResource.go index c4af1509f79..36c71a8dca4 100644 --- a/service/workspacesthinclient/api_op_ListTagsForResource.go +++ b/service/workspacesthinclient/api_op_ListTagsForResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opListTagsForResourceMiddleware(stack); err != nil { return err } diff --git a/service/workspacesthinclient/api_op_TagResource.go b/service/workspacesthinclient/api_op_TagResource.go index 08f247b21c5..f6d1268a20d 100644 --- a/service/workspacesthinclient/api_op_TagResource.go +++ b/service/workspacesthinclient/api_op_TagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opTagResourceMiddleware(stack); err != nil { return err } diff --git a/service/workspacesthinclient/api_op_UntagResource.go b/service/workspacesthinclient/api_op_UntagResource.go index eac9e1a91a2..cbec9bc6611 100644 --- a/service/workspacesthinclient/api_op_UntagResource.go +++ b/service/workspacesthinclient/api_op_UntagResource.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUntagResourceMiddleware(stack); err != nil { return err } diff --git a/service/workspacesthinclient/api_op_UpdateDevice.go b/service/workspacesthinclient/api_op_UpdateDevice.go index d32331c5d7e..df16320741d 100644 --- a/service/workspacesthinclient/api_op_UpdateDevice.go +++ b/service/workspacesthinclient/api_op_UpdateDevice.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateDeviceMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateDeviceMiddleware(stack); err != nil { return err } diff --git a/service/workspacesthinclient/api_op_UpdateEnvironment.go b/service/workspacesthinclient/api_op_UpdateEnvironment.go index 9d1f98be7e9..f77e3ab1f23 100644 --- a/service/workspacesthinclient/api_op_UpdateEnvironment.go +++ b/service/workspacesthinclient/api_op_UpdateEnvironment.go @@ -140,9 +140,6 @@ func (c *Client) addOperationUpdateEnvironmentMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateEnvironmentMiddleware(stack); err != nil { return err } diff --git a/service/workspacesthinclient/api_op_UpdateSoftwareSet.go b/service/workspacesthinclient/api_op_UpdateSoftwareSet.go index 9d06eb67dd5..60c3382c1f3 100644 --- a/service/workspacesthinclient/api_op_UpdateSoftwareSet.go +++ b/service/workspacesthinclient/api_op_UpdateSoftwareSet.go @@ -113,9 +113,6 @@ func (c *Client) addOperationUpdateSoftwareSetMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addEndpointPrefix_opUpdateSoftwareSetMiddleware(stack); err != nil { return err } diff --git a/service/workspacesthinclient/snapshot/api_op_CreateEnvironment.go.snap b/service/workspacesthinclient/snapshot/api_op_CreateEnvironment.go.snap index 1ab2a0112bc..882141b4e64 100644 --- a/service/workspacesthinclient/snapshot/api_op_CreateEnvironment.go.snap +++ b/service/workspacesthinclient/snapshot/api_op_CreateEnvironment.go.snap @@ -15,7 +15,6 @@ CreateEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesthinclient/snapshot/api_op_DeleteDevice.go.snap b/service/workspacesthinclient/snapshot/api_op_DeleteDevice.go.snap index 3febe25c211..89957dd8cf7 100644 --- a/service/workspacesthinclient/snapshot/api_op_DeleteDevice.go.snap +++ b/service/workspacesthinclient/snapshot/api_op_DeleteDevice.go.snap @@ -15,7 +15,6 @@ DeleteDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesthinclient/snapshot/api_op_DeleteEnvironment.go.snap b/service/workspacesthinclient/snapshot/api_op_DeleteEnvironment.go.snap index d4c15ea2aae..122b90b151f 100644 --- a/service/workspacesthinclient/snapshot/api_op_DeleteEnvironment.go.snap +++ b/service/workspacesthinclient/snapshot/api_op_DeleteEnvironment.go.snap @@ -15,7 +15,6 @@ DeleteEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesthinclient/snapshot/api_op_DeregisterDevice.go.snap b/service/workspacesthinclient/snapshot/api_op_DeregisterDevice.go.snap index 00267dee453..48743ec160d 100644 --- a/service/workspacesthinclient/snapshot/api_op_DeregisterDevice.go.snap +++ b/service/workspacesthinclient/snapshot/api_op_DeregisterDevice.go.snap @@ -15,7 +15,6 @@ DeregisterDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesthinclient/snapshot/api_op_GetDevice.go.snap b/service/workspacesthinclient/snapshot/api_op_GetDevice.go.snap index e2ddf72b5aa..9c070eea0eb 100644 --- a/service/workspacesthinclient/snapshot/api_op_GetDevice.go.snap +++ b/service/workspacesthinclient/snapshot/api_op_GetDevice.go.snap @@ -14,7 +14,6 @@ GetDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesthinclient/snapshot/api_op_GetEnvironment.go.snap b/service/workspacesthinclient/snapshot/api_op_GetEnvironment.go.snap index 7dcb9b23764..4c4fd9e455e 100644 --- a/service/workspacesthinclient/snapshot/api_op_GetEnvironment.go.snap +++ b/service/workspacesthinclient/snapshot/api_op_GetEnvironment.go.snap @@ -14,7 +14,6 @@ GetEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesthinclient/snapshot/api_op_GetSoftwareSet.go.snap b/service/workspacesthinclient/snapshot/api_op_GetSoftwareSet.go.snap index 21abfc18667..5f0e3ee7d1d 100644 --- a/service/workspacesthinclient/snapshot/api_op_GetSoftwareSet.go.snap +++ b/service/workspacesthinclient/snapshot/api_op_GetSoftwareSet.go.snap @@ -14,7 +14,6 @@ GetSoftwareSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesthinclient/snapshot/api_op_ListDevices.go.snap b/service/workspacesthinclient/snapshot/api_op_ListDevices.go.snap index d7332ac926e..64a2ff9d57c 100644 --- a/service/workspacesthinclient/snapshot/api_op_ListDevices.go.snap +++ b/service/workspacesthinclient/snapshot/api_op_ListDevices.go.snap @@ -13,7 +13,6 @@ ListDevices Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesthinclient/snapshot/api_op_ListEnvironments.go.snap b/service/workspacesthinclient/snapshot/api_op_ListEnvironments.go.snap index 2c89ceea36e..ad7b2e9ff7b 100644 --- a/service/workspacesthinclient/snapshot/api_op_ListEnvironments.go.snap +++ b/service/workspacesthinclient/snapshot/api_op_ListEnvironments.go.snap @@ -13,7 +13,6 @@ ListEnvironments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesthinclient/snapshot/api_op_ListSoftwareSets.go.snap b/service/workspacesthinclient/snapshot/api_op_ListSoftwareSets.go.snap index 5f5c8704333..926db676bc3 100644 --- a/service/workspacesthinclient/snapshot/api_op_ListSoftwareSets.go.snap +++ b/service/workspacesthinclient/snapshot/api_op_ListSoftwareSets.go.snap @@ -13,7 +13,6 @@ ListSoftwareSets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesthinclient/snapshot/api_op_ListTagsForResource.go.snap b/service/workspacesthinclient/snapshot/api_op_ListTagsForResource.go.snap index 8ff9a02baa1..0d85e67cf02 100644 --- a/service/workspacesthinclient/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/workspacesthinclient/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesthinclient/snapshot/api_op_TagResource.go.snap b/service/workspacesthinclient/snapshot/api_op_TagResource.go.snap index e1a30395155..20d1859b264 100644 --- a/service/workspacesthinclient/snapshot/api_op_TagResource.go.snap +++ b/service/workspacesthinclient/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesthinclient/snapshot/api_op_UntagResource.go.snap b/service/workspacesthinclient/snapshot/api_op_UntagResource.go.snap index 170b89b0d41..dabf5e30bc0 100644 --- a/service/workspacesthinclient/snapshot/api_op_UntagResource.go.snap +++ b/service/workspacesthinclient/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesthinclient/snapshot/api_op_UpdateDevice.go.snap b/service/workspacesthinclient/snapshot/api_op_UpdateDevice.go.snap index 9e1c65e3cfb..3814bcdcb18 100644 --- a/service/workspacesthinclient/snapshot/api_op_UpdateDevice.go.snap +++ b/service/workspacesthinclient/snapshot/api_op_UpdateDevice.go.snap @@ -14,7 +14,6 @@ UpdateDevice Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesthinclient/snapshot/api_op_UpdateEnvironment.go.snap b/service/workspacesthinclient/snapshot/api_op_UpdateEnvironment.go.snap index 24e4169b591..a8a4e0583d6 100644 --- a/service/workspacesthinclient/snapshot/api_op_UpdateEnvironment.go.snap +++ b/service/workspacesthinclient/snapshot/api_op_UpdateEnvironment.go.snap @@ -14,7 +14,6 @@ UpdateEnvironment Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesthinclient/snapshot/api_op_UpdateSoftwareSet.go.snap b/service/workspacesthinclient/snapshot/api_op_UpdateSoftwareSet.go.snap index abe3a3b7776..f84ee3d1d31 100644 --- a/service/workspacesthinclient/snapshot/api_op_UpdateSoftwareSet.go.snap +++ b/service/workspacesthinclient/snapshot/api_op_UpdateSoftwareSet.go.snap @@ -14,7 +14,6 @@ UpdateSoftwareSet Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/api_client.go b/service/workspacesweb/api_client.go index 0cc15830a3b..0c16821ca8f 100644 --- a/service/workspacesweb/api_client.go +++ b/service/workspacesweb/api_client.go @@ -773,37 +773,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/workspacesweb/api_op_AssociateBrowserSettings.go b/service/workspacesweb/api_op_AssociateBrowserSettings.go index 54bd825ba15..76ec1e77678 100644 --- a/service/workspacesweb/api_op_AssociateBrowserSettings.go +++ b/service/workspacesweb/api_op_AssociateBrowserSettings.go @@ -123,9 +123,6 @@ func (c *Client) addOperationAssociateBrowserSettingsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateBrowserSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_AssociateDataProtectionSettings.go b/service/workspacesweb/api_op_AssociateDataProtectionSettings.go index 6be1d0ce933..27941cc698a 100644 --- a/service/workspacesweb/api_op_AssociateDataProtectionSettings.go +++ b/service/workspacesweb/api_op_AssociateDataProtectionSettings.go @@ -123,9 +123,6 @@ func (c *Client) addOperationAssociateDataProtectionSettingsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateDataProtectionSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_AssociateIpAccessSettings.go b/service/workspacesweb/api_op_AssociateIpAccessSettings.go index 55c3aa97bdb..bd506fdc00a 100644 --- a/service/workspacesweb/api_op_AssociateIpAccessSettings.go +++ b/service/workspacesweb/api_op_AssociateIpAccessSettings.go @@ -123,9 +123,6 @@ func (c *Client) addOperationAssociateIpAccessSettingsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateIpAccessSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_AssociateNetworkSettings.go b/service/workspacesweb/api_op_AssociateNetworkSettings.go index 4f1e22ec8f3..4a8301de7eb 100644 --- a/service/workspacesweb/api_op_AssociateNetworkSettings.go +++ b/service/workspacesweb/api_op_AssociateNetworkSettings.go @@ -123,9 +123,6 @@ func (c *Client) addOperationAssociateNetworkSettingsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateNetworkSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_AssociateTrustStore.go b/service/workspacesweb/api_op_AssociateTrustStore.go index 2e4d55c95d7..8e76d7cc596 100644 --- a/service/workspacesweb/api_op_AssociateTrustStore.go +++ b/service/workspacesweb/api_op_AssociateTrustStore.go @@ -123,9 +123,6 @@ func (c *Client) addOperationAssociateTrustStoreMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateTrustStoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_AssociateUserAccessLoggingSettings.go b/service/workspacesweb/api_op_AssociateUserAccessLoggingSettings.go index 531059bffaa..916f112fb5e 100644 --- a/service/workspacesweb/api_op_AssociateUserAccessLoggingSettings.go +++ b/service/workspacesweb/api_op_AssociateUserAccessLoggingSettings.go @@ -123,9 +123,6 @@ func (c *Client) addOperationAssociateUserAccessLoggingSettingsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateUserAccessLoggingSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_AssociateUserSettings.go b/service/workspacesweb/api_op_AssociateUserSettings.go index 9eaa74f97f1..965c10fc442 100644 --- a/service/workspacesweb/api_op_AssociateUserSettings.go +++ b/service/workspacesweb/api_op_AssociateUserSettings.go @@ -123,9 +123,6 @@ func (c *Client) addOperationAssociateUserSettingsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpAssociateUserSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_CreateBrowserSettings.go b/service/workspacesweb/api_op_CreateBrowserSettings.go index ba72ae58b54..b47455bfd98 100644 --- a/service/workspacesweb/api_op_CreateBrowserSettings.go +++ b/service/workspacesweb/api_op_CreateBrowserSettings.go @@ -136,9 +136,6 @@ func (c *Client) addOperationCreateBrowserSettingsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateBrowserSettingsMiddleware(stack, options); err != nil { return err } diff --git a/service/workspacesweb/api_op_CreateDataProtectionSettings.go b/service/workspacesweb/api_op_CreateDataProtectionSettings.go index a9fe05d4b07..2410ae25b95 100644 --- a/service/workspacesweb/api_op_CreateDataProtectionSettings.go +++ b/service/workspacesweb/api_op_CreateDataProtectionSettings.go @@ -140,9 +140,6 @@ func (c *Client) addOperationCreateDataProtectionSettingsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateDataProtectionSettingsMiddleware(stack, options); err != nil { return err } diff --git a/service/workspacesweb/api_op_CreateIdentityProvider.go b/service/workspacesweb/api_op_CreateIdentityProvider.go index 150aff1c0f6..0a19d81be3a 100644 --- a/service/workspacesweb/api_op_CreateIdentityProvider.go +++ b/service/workspacesweb/api_op_CreateIdentityProvider.go @@ -207,9 +207,6 @@ func (c *Client) addOperationCreateIdentityProviderMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateIdentityProviderMiddleware(stack, options); err != nil { return err } diff --git a/service/workspacesweb/api_op_CreateIpAccessSettings.go b/service/workspacesweb/api_op_CreateIpAccessSettings.go index 14b961d84d5..3f0dd4a0101 100644 --- a/service/workspacesweb/api_op_CreateIpAccessSettings.go +++ b/service/workspacesweb/api_op_CreateIpAccessSettings.go @@ -139,9 +139,6 @@ func (c *Client) addOperationCreateIpAccessSettingsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateIpAccessSettingsMiddleware(stack, options); err != nil { return err } diff --git a/service/workspacesweb/api_op_CreateNetworkSettings.go b/service/workspacesweb/api_op_CreateNetworkSettings.go index e38349d9111..4cf799664a9 100644 --- a/service/workspacesweb/api_op_CreateNetworkSettings.go +++ b/service/workspacesweb/api_op_CreateNetworkSettings.go @@ -142,9 +142,6 @@ func (c *Client) addOperationCreateNetworkSettingsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateNetworkSettingsMiddleware(stack, options); err != nil { return err } diff --git a/service/workspacesweb/api_op_CreatePortal.go b/service/workspacesweb/api_op_CreatePortal.go index ec9765c1ab9..a67d1b35a91 100644 --- a/service/workspacesweb/api_op_CreatePortal.go +++ b/service/workspacesweb/api_op_CreatePortal.go @@ -158,9 +158,6 @@ func (c *Client) addOperationCreatePortalMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreatePortalMiddleware(stack, options); err != nil { return err } diff --git a/service/workspacesweb/api_op_CreateTrustStore.go b/service/workspacesweb/api_op_CreateTrustStore.go index 8f62f39fb89..42ef8fb325e 100644 --- a/service/workspacesweb/api_op_CreateTrustStore.go +++ b/service/workspacesweb/api_op_CreateTrustStore.go @@ -132,9 +132,6 @@ func (c *Client) addOperationCreateTrustStoreMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateTrustStoreMiddleware(stack, options); err != nil { return err } diff --git a/service/workspacesweb/api_op_CreateUserAccessLoggingSettings.go b/service/workspacesweb/api_op_CreateUserAccessLoggingSettings.go index 878d56b7503..5b35d1dbbdd 100644 --- a/service/workspacesweb/api_op_CreateUserAccessLoggingSettings.go +++ b/service/workspacesweb/api_op_CreateUserAccessLoggingSettings.go @@ -128,9 +128,6 @@ func (c *Client) addOperationCreateUserAccessLoggingSettingsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateUserAccessLoggingSettingsMiddleware(stack, options); err != nil { return err } diff --git a/service/workspacesweb/api_op_CreateUserSettings.go b/service/workspacesweb/api_op_CreateUserSettings.go index b85bd63836d..319069dc8c5 100644 --- a/service/workspacesweb/api_op_CreateUserSettings.go +++ b/service/workspacesweb/api_op_CreateUserSettings.go @@ -184,9 +184,6 @@ func (c *Client) addOperationCreateUserSettingsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opCreateUserSettingsMiddleware(stack, options); err != nil { return err } diff --git a/service/workspacesweb/api_op_DeleteBrowserSettings.go b/service/workspacesweb/api_op_DeleteBrowserSettings.go index 896be1afa22..dd424bc09e1 100644 --- a/service/workspacesweb/api_op_DeleteBrowserSettings.go +++ b/service/workspacesweb/api_op_DeleteBrowserSettings.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteBrowserSettingsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteBrowserSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_DeleteDataProtectionSettings.go b/service/workspacesweb/api_op_DeleteDataProtectionSettings.go index c3300f1a409..5de62fd77a2 100644 --- a/service/workspacesweb/api_op_DeleteDataProtectionSettings.go +++ b/service/workspacesweb/api_op_DeleteDataProtectionSettings.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteDataProtectionSettingsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteDataProtectionSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_DeleteIdentityProvider.go b/service/workspacesweb/api_op_DeleteIdentityProvider.go index 368134fc901..18cd543e652 100644 --- a/service/workspacesweb/api_op_DeleteIdentityProvider.go +++ b/service/workspacesweb/api_op_DeleteIdentityProvider.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteIdentityProviderMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIdentityProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_DeleteIpAccessSettings.go b/service/workspacesweb/api_op_DeleteIpAccessSettings.go index 8ce3026b737..590a1b9e15b 100644 --- a/service/workspacesweb/api_op_DeleteIpAccessSettings.go +++ b/service/workspacesweb/api_op_DeleteIpAccessSettings.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteIpAccessSettingsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteIpAccessSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_DeleteNetworkSettings.go b/service/workspacesweb/api_op_DeleteNetworkSettings.go index ec5278f6f3c..8b94948e049 100644 --- a/service/workspacesweb/api_op_DeleteNetworkSettings.go +++ b/service/workspacesweb/api_op_DeleteNetworkSettings.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteNetworkSettingsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteNetworkSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_DeletePortal.go b/service/workspacesweb/api_op_DeletePortal.go index f52c23e8f32..834f6f0cb88 100644 --- a/service/workspacesweb/api_op_DeletePortal.go +++ b/service/workspacesweb/api_op_DeletePortal.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeletePortalMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeletePortalValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_DeleteTrustStore.go b/service/workspacesweb/api_op_DeleteTrustStore.go index 0373141427b..ec885015029 100644 --- a/service/workspacesweb/api_op_DeleteTrustStore.go +++ b/service/workspacesweb/api_op_DeleteTrustStore.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteTrustStoreMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteTrustStoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_DeleteUserAccessLoggingSettings.go b/service/workspacesweb/api_op_DeleteUserAccessLoggingSettings.go index 7e0eb9df688..9e2d8f4e268 100644 --- a/service/workspacesweb/api_op_DeleteUserAccessLoggingSettings.go +++ b/service/workspacesweb/api_op_DeleteUserAccessLoggingSettings.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteUserAccessLoggingSettingsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUserAccessLoggingSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_DeleteUserSettings.go b/service/workspacesweb/api_op_DeleteUserSettings.go index 2e86307b642..d6132eb3793 100644 --- a/service/workspacesweb/api_op_DeleteUserSettings.go +++ b/service/workspacesweb/api_op_DeleteUserSettings.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDeleteUserSettingsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteUserSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_DisassociateBrowserSettings.go b/service/workspacesweb/api_op_DisassociateBrowserSettings.go index 07842c4743a..11109c7302c 100644 --- a/service/workspacesweb/api_op_DisassociateBrowserSettings.go +++ b/service/workspacesweb/api_op_DisassociateBrowserSettings.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDisassociateBrowserSettingsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateBrowserSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_DisassociateDataProtectionSettings.go b/service/workspacesweb/api_op_DisassociateDataProtectionSettings.go index 2bafbaad80f..5e0d591c765 100644 --- a/service/workspacesweb/api_op_DisassociateDataProtectionSettings.go +++ b/service/workspacesweb/api_op_DisassociateDataProtectionSettings.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDisassociateDataProtectionSettingsMiddlewares(stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateDataProtectionSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_DisassociateIpAccessSettings.go b/service/workspacesweb/api_op_DisassociateIpAccessSettings.go index c15262b4f40..50e8e4a8f87 100644 --- a/service/workspacesweb/api_op_DisassociateIpAccessSettings.go +++ b/service/workspacesweb/api_op_DisassociateIpAccessSettings.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDisassociateIpAccessSettingsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateIpAccessSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_DisassociateNetworkSettings.go b/service/workspacesweb/api_op_DisassociateNetworkSettings.go index 3f8dcd0c7c7..c5c194f626b 100644 --- a/service/workspacesweb/api_op_DisassociateNetworkSettings.go +++ b/service/workspacesweb/api_op_DisassociateNetworkSettings.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDisassociateNetworkSettingsMiddlewares(stack *middl if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateNetworkSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_DisassociateTrustStore.go b/service/workspacesweb/api_op_DisassociateTrustStore.go index 9effaf43b7e..dbf54f34bf3 100644 --- a/service/workspacesweb/api_op_DisassociateTrustStore.go +++ b/service/workspacesweb/api_op_DisassociateTrustStore.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDisassociateTrustStoreMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateTrustStoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_DisassociateUserAccessLoggingSettings.go b/service/workspacesweb/api_op_DisassociateUserAccessLoggingSettings.go index 8f9a3a81273..c8f34c32de4 100644 --- a/service/workspacesweb/api_op_DisassociateUserAccessLoggingSettings.go +++ b/service/workspacesweb/api_op_DisassociateUserAccessLoggingSettings.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDisassociateUserAccessLoggingSettingsMiddlewares(st if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateUserAccessLoggingSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_DisassociateUserSettings.go b/service/workspacesweb/api_op_DisassociateUserSettings.go index 36ed3d585f3..7b2b976670b 100644 --- a/service/workspacesweb/api_op_DisassociateUserSettings.go +++ b/service/workspacesweb/api_op_DisassociateUserSettings.go @@ -107,9 +107,6 @@ func (c *Client) addOperationDisassociateUserSettingsMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDisassociateUserSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_ExpireSession.go b/service/workspacesweb/api_op_ExpireSession.go index 283848c3323..e96aae3f023 100644 --- a/service/workspacesweb/api_op_ExpireSession.go +++ b/service/workspacesweb/api_op_ExpireSession.go @@ -112,9 +112,6 @@ func (c *Client) addOperationExpireSessionMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpExpireSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_GetBrowserSettings.go b/service/workspacesweb/api_op_GetBrowserSettings.go index cff0eb1b24c..6a2f2e676ff 100644 --- a/service/workspacesweb/api_op_GetBrowserSettings.go +++ b/service/workspacesweb/api_op_GetBrowserSettings.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetBrowserSettingsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetBrowserSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_GetDataProtectionSettings.go b/service/workspacesweb/api_op_GetDataProtectionSettings.go index 9bfc77d4900..85796c41c89 100644 --- a/service/workspacesweb/api_op_GetDataProtectionSettings.go +++ b/service/workspacesweb/api_op_GetDataProtectionSettings.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetDataProtectionSettingsMiddlewares(stack *middlew if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetDataProtectionSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_GetIdentityProvider.go b/service/workspacesweb/api_op_GetIdentityProvider.go index 34f9c96d7a6..3ad950e6f6d 100644 --- a/service/workspacesweb/api_op_GetIdentityProvider.go +++ b/service/workspacesweb/api_op_GetIdentityProvider.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetIdentityProviderMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIdentityProviderValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_GetIpAccessSettings.go b/service/workspacesweb/api_op_GetIpAccessSettings.go index 0bc564f882b..f0e43d985af 100644 --- a/service/workspacesweb/api_op_GetIpAccessSettings.go +++ b/service/workspacesweb/api_op_GetIpAccessSettings.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetIpAccessSettingsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetIpAccessSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_GetNetworkSettings.go b/service/workspacesweb/api_op_GetNetworkSettings.go index 3724e9946f1..eaa88c9748e 100644 --- a/service/workspacesweb/api_op_GetNetworkSettings.go +++ b/service/workspacesweb/api_op_GetNetworkSettings.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetNetworkSettingsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetNetworkSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_GetPortal.go b/service/workspacesweb/api_op_GetPortal.go index df2f033dd74..cce7a81c3cd 100644 --- a/service/workspacesweb/api_op_GetPortal.go +++ b/service/workspacesweb/api_op_GetPortal.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetPortalMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPortalValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_GetPortalServiceProviderMetadata.go b/service/workspacesweb/api_op_GetPortalServiceProviderMetadata.go index 3b686fdb58f..82b869eb087 100644 --- a/service/workspacesweb/api_op_GetPortalServiceProviderMetadata.go +++ b/service/workspacesweb/api_op_GetPortalServiceProviderMetadata.go @@ -116,9 +116,6 @@ func (c *Client) addOperationGetPortalServiceProviderMetadataMiddlewares(stack * if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetPortalServiceProviderMetadataValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_GetSession.go b/service/workspacesweb/api_op_GetSession.go index 6b1d2b92306..7f040745087 100644 --- a/service/workspacesweb/api_op_GetSession.go +++ b/service/workspacesweb/api_op_GetSession.go @@ -117,9 +117,6 @@ func (c *Client) addOperationGetSessionMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSessionValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_GetTrustStore.go b/service/workspacesweb/api_op_GetTrustStore.go index 0ff59f6d522..295e27aacef 100644 --- a/service/workspacesweb/api_op_GetTrustStore.go +++ b/service/workspacesweb/api_op_GetTrustStore.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetTrustStoreMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTrustStoreValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_GetTrustStoreCertificate.go b/service/workspacesweb/api_op_GetTrustStoreCertificate.go index 4b45f173891..404e7a5b095 100644 --- a/service/workspacesweb/api_op_GetTrustStoreCertificate.go +++ b/service/workspacesweb/api_op_GetTrustStoreCertificate.go @@ -122,9 +122,6 @@ func (c *Client) addOperationGetTrustStoreCertificateMiddlewares(stack *middlewa if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTrustStoreCertificateValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_GetUserAccessLoggingSettings.go b/service/workspacesweb/api_op_GetUserAccessLoggingSettings.go index 324db2eff81..26223e2c7d1 100644 --- a/service/workspacesweb/api_op_GetUserAccessLoggingSettings.go +++ b/service/workspacesweb/api_op_GetUserAccessLoggingSettings.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetUserAccessLoggingSettingsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUserAccessLoggingSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_GetUserSettings.go b/service/workspacesweb/api_op_GetUserSettings.go index 0ba2680d7e4..9a6875b560d 100644 --- a/service/workspacesweb/api_op_GetUserSettings.go +++ b/service/workspacesweb/api_op_GetUserSettings.go @@ -112,9 +112,6 @@ func (c *Client) addOperationGetUserSettingsMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetUserSettingsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_ListBrowserSettings.go b/service/workspacesweb/api_op_ListBrowserSettings.go index 8f2e25d1a64..6ccc6fcff84 100644 --- a/service/workspacesweb/api_op_ListBrowserSettings.go +++ b/service/workspacesweb/api_op_ListBrowserSettings.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListBrowserSettingsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListBrowserSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/workspacesweb/api_op_ListDataProtectionSettings.go b/service/workspacesweb/api_op_ListDataProtectionSettings.go index d9829fe60a3..072f7655366 100644 --- a/service/workspacesweb/api_op_ListDataProtectionSettings.go +++ b/service/workspacesweb/api_op_ListDataProtectionSettings.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListDataProtectionSettingsMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataProtectionSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/workspacesweb/api_op_ListIdentityProviders.go b/service/workspacesweb/api_op_ListIdentityProviders.go index 3086af0c2b7..7bc1b05647f 100644 --- a/service/workspacesweb/api_op_ListIdentityProviders.go +++ b/service/workspacesweb/api_op_ListIdentityProviders.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListIdentityProvidersMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListIdentityProvidersValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_ListIpAccessSettings.go b/service/workspacesweb/api_op_ListIpAccessSettings.go index 65bf82974e7..8e3dde68f65 100644 --- a/service/workspacesweb/api_op_ListIpAccessSettings.go +++ b/service/workspacesweb/api_op_ListIpAccessSettings.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListIpAccessSettingsMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListIpAccessSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/workspacesweb/api_op_ListNetworkSettings.go b/service/workspacesweb/api_op_ListNetworkSettings.go index fb2a304cb8d..33a211c1efd 100644 --- a/service/workspacesweb/api_op_ListNetworkSettings.go +++ b/service/workspacesweb/api_op_ListNetworkSettings.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListNetworkSettingsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListNetworkSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/workspacesweb/api_op_ListPortals.go b/service/workspacesweb/api_op_ListPortals.go index f4ae9c78ab0..d6c5e3cc16d 100644 --- a/service/workspacesweb/api_op_ListPortals.go +++ b/service/workspacesweb/api_op_ListPortals.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListPortalsMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPortals(options.Region), middleware.Before); err != nil { return err } diff --git a/service/workspacesweb/api_op_ListSessions.go b/service/workspacesweb/api_op_ListSessions.go index 262b9985f82..7ae310296c2 100644 --- a/service/workspacesweb/api_op_ListSessions.go +++ b/service/workspacesweb/api_op_ListSessions.go @@ -137,9 +137,6 @@ func (c *Client) addOperationListSessionsMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListSessionsValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_ListTagsForResource.go b/service/workspacesweb/api_op_ListTagsForResource.go index 4dd68157f13..1beb5848068 100644 --- a/service/workspacesweb/api_op_ListTagsForResource.go +++ b/service/workspacesweb/api_op_ListTagsForResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_ListTrustStoreCertificates.go b/service/workspacesweb/api_op_ListTrustStoreCertificates.go index 69e92d98bdd..868a1fcef3b 100644 --- a/service/workspacesweb/api_op_ListTrustStoreCertificates.go +++ b/service/workspacesweb/api_op_ListTrustStoreCertificates.go @@ -128,9 +128,6 @@ func (c *Client) addOperationListTrustStoreCertificatesMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTrustStoreCertificatesValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_ListTrustStores.go b/service/workspacesweb/api_op_ListTrustStores.go index 381a0b49916..04c051ae53a 100644 --- a/service/workspacesweb/api_op_ListTrustStores.go +++ b/service/workspacesweb/api_op_ListTrustStores.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListTrustStoresMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTrustStores(options.Region), middleware.Before); err != nil { return err } diff --git a/service/workspacesweb/api_op_ListUserAccessLoggingSettings.go b/service/workspacesweb/api_op_ListUserAccessLoggingSettings.go index 769b1f31ec8..18249dd6f91 100644 --- a/service/workspacesweb/api_op_ListUserAccessLoggingSettings.go +++ b/service/workspacesweb/api_op_ListUserAccessLoggingSettings.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListUserAccessLoggingSettingsMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUserAccessLoggingSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/workspacesweb/api_op_ListUserSettings.go b/service/workspacesweb/api_op_ListUserSettings.go index 8bc418634df..aa5e3352ec0 100644 --- a/service/workspacesweb/api_op_ListUserSettings.go +++ b/service/workspacesweb/api_op_ListUserSettings.go @@ -118,9 +118,6 @@ func (c *Client) addOperationListUserSettingsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListUserSettings(options.Region), middleware.Before); err != nil { return err } diff --git a/service/workspacesweb/api_op_TagResource.go b/service/workspacesweb/api_op_TagResource.go index 539078ab3b6..f646e4ba7b3 100644 --- a/service/workspacesweb/api_op_TagResource.go +++ b/service/workspacesweb/api_op_TagResource.go @@ -123,9 +123,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opTagResourceMiddleware(stack, options); err != nil { return err } diff --git a/service/workspacesweb/api_op_UntagResource.go b/service/workspacesweb/api_op_UntagResource.go index b62197f17c6..7f68c8f91c9 100644 --- a/service/workspacesweb/api_op_UntagResource.go +++ b/service/workspacesweb/api_op_UntagResource.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_UpdateBrowserSettings.go b/service/workspacesweb/api_op_UpdateBrowserSettings.go index 806f525b0e8..73f11f01378 100644 --- a/service/workspacesweb/api_op_UpdateBrowserSettings.go +++ b/service/workspacesweb/api_op_UpdateBrowserSettings.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateBrowserSettingsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateBrowserSettingsMiddleware(stack, options); err != nil { return err } diff --git a/service/workspacesweb/api_op_UpdateDataProtectionSettings.go b/service/workspacesweb/api_op_UpdateDataProtectionSettings.go index cb5900c4c62..887b9347274 100644 --- a/service/workspacesweb/api_op_UpdateDataProtectionSettings.go +++ b/service/workspacesweb/api_op_UpdateDataProtectionSettings.go @@ -134,9 +134,6 @@ func (c *Client) addOperationUpdateDataProtectionSettingsMiddlewares(stack *midd if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateDataProtectionSettingsMiddleware(stack, options); err != nil { return err } diff --git a/service/workspacesweb/api_op_UpdateIdentityProvider.go b/service/workspacesweb/api_op_UpdateIdentityProvider.go index a8add005994..e9347d06a11 100644 --- a/service/workspacesweb/api_op_UpdateIdentityProvider.go +++ b/service/workspacesweb/api_op_UpdateIdentityProvider.go @@ -198,9 +198,6 @@ func (c *Client) addOperationUpdateIdentityProviderMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateIdentityProviderMiddleware(stack, options); err != nil { return err } diff --git a/service/workspacesweb/api_op_UpdateIpAccessSettings.go b/service/workspacesweb/api_op_UpdateIpAccessSettings.go index 02e53a98e9e..19d64ff1856 100644 --- a/service/workspacesweb/api_op_UpdateIpAccessSettings.go +++ b/service/workspacesweb/api_op_UpdateIpAccessSettings.go @@ -133,9 +133,6 @@ func (c *Client) addOperationUpdateIpAccessSettingsMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateIpAccessSettingsMiddleware(stack, options); err != nil { return err } diff --git a/service/workspacesweb/api_op_UpdateNetworkSettings.go b/service/workspacesweb/api_op_UpdateNetworkSettings.go index bd3b58906d2..c9790384eec 100644 --- a/service/workspacesweb/api_op_UpdateNetworkSettings.go +++ b/service/workspacesweb/api_op_UpdateNetworkSettings.go @@ -136,9 +136,6 @@ func (c *Client) addOperationUpdateNetworkSettingsMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateNetworkSettingsMiddleware(stack, options); err != nil { return err } diff --git a/service/workspacesweb/api_op_UpdatePortal.go b/service/workspacesweb/api_op_UpdatePortal.go index 334291fd184..87a3cd38175 100644 --- a/service/workspacesweb/api_op_UpdatePortal.go +++ b/service/workspacesweb/api_op_UpdatePortal.go @@ -136,9 +136,6 @@ func (c *Client) addOperationUpdatePortalMiddlewares(stack *middleware.Stack, op if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdatePortalValidationMiddleware(stack); err != nil { return err } diff --git a/service/workspacesweb/api_op_UpdateTrustStore.go b/service/workspacesweb/api_op_UpdateTrustStore.go index 941708cf721..f093b1d0e65 100644 --- a/service/workspacesweb/api_op_UpdateTrustStore.go +++ b/service/workspacesweb/api_op_UpdateTrustStore.go @@ -129,9 +129,6 @@ func (c *Client) addOperationUpdateTrustStoreMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateTrustStoreMiddleware(stack, options); err != nil { return err } diff --git a/service/workspacesweb/api_op_UpdateUserAccessLoggingSettings.go b/service/workspacesweb/api_op_UpdateUserAccessLoggingSettings.go index f5863a08fba..d5e86c11f92 100644 --- a/service/workspacesweb/api_op_UpdateUserAccessLoggingSettings.go +++ b/service/workspacesweb/api_op_UpdateUserAccessLoggingSettings.go @@ -127,9 +127,6 @@ func (c *Client) addOperationUpdateUserAccessLoggingSettingsMiddlewares(stack *m if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateUserAccessLoggingSettingsMiddleware(stack, options); err != nil { return err } diff --git a/service/workspacesweb/api_op_UpdateUserSettings.go b/service/workspacesweb/api_op_UpdateUserSettings.go index 3c7691ac88e..0ae1319ecb9 100644 --- a/service/workspacesweb/api_op_UpdateUserSettings.go +++ b/service/workspacesweb/api_op_UpdateUserSettings.go @@ -169,9 +169,6 @@ func (c *Client) addOperationUpdateUserSettingsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addIdempotencyToken_opUpdateUserSettingsMiddleware(stack, options); err != nil { return err } diff --git a/service/workspacesweb/snapshot/api_op_AssociateBrowserSettings.go.snap b/service/workspacesweb/snapshot/api_op_AssociateBrowserSettings.go.snap index 29df8abb128..60958b37f4c 100644 --- a/service/workspacesweb/snapshot/api_op_AssociateBrowserSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_AssociateBrowserSettings.go.snap @@ -14,7 +14,6 @@ AssociateBrowserSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_AssociateDataProtectionSettings.go.snap b/service/workspacesweb/snapshot/api_op_AssociateDataProtectionSettings.go.snap index 869732654ca..2848e95685c 100644 --- a/service/workspacesweb/snapshot/api_op_AssociateDataProtectionSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_AssociateDataProtectionSettings.go.snap @@ -14,7 +14,6 @@ AssociateDataProtectionSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_AssociateIpAccessSettings.go.snap b/service/workspacesweb/snapshot/api_op_AssociateIpAccessSettings.go.snap index dfe458ceb3a..716004f2fc0 100644 --- a/service/workspacesweb/snapshot/api_op_AssociateIpAccessSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_AssociateIpAccessSettings.go.snap @@ -14,7 +14,6 @@ AssociateIpAccessSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_AssociateNetworkSettings.go.snap b/service/workspacesweb/snapshot/api_op_AssociateNetworkSettings.go.snap index d67588c00ba..d7fff9fa1cd 100644 --- a/service/workspacesweb/snapshot/api_op_AssociateNetworkSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_AssociateNetworkSettings.go.snap @@ -14,7 +14,6 @@ AssociateNetworkSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_AssociateTrustStore.go.snap b/service/workspacesweb/snapshot/api_op_AssociateTrustStore.go.snap index 02b87b29730..98c26241d5a 100644 --- a/service/workspacesweb/snapshot/api_op_AssociateTrustStore.go.snap +++ b/service/workspacesweb/snapshot/api_op_AssociateTrustStore.go.snap @@ -14,7 +14,6 @@ AssociateTrustStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_AssociateUserAccessLoggingSettings.go.snap b/service/workspacesweb/snapshot/api_op_AssociateUserAccessLoggingSettings.go.snap index 1486df5a2b9..e7665925c35 100644 --- a/service/workspacesweb/snapshot/api_op_AssociateUserAccessLoggingSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_AssociateUserAccessLoggingSettings.go.snap @@ -14,7 +14,6 @@ AssociateUserAccessLoggingSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_AssociateUserSettings.go.snap b/service/workspacesweb/snapshot/api_op_AssociateUserSettings.go.snap index 3c35eb2d848..f149c06a815 100644 --- a/service/workspacesweb/snapshot/api_op_AssociateUserSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_AssociateUserSettings.go.snap @@ -14,7 +14,6 @@ AssociateUserSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_CreateBrowserSettings.go.snap b/service/workspacesweb/snapshot/api_op_CreateBrowserSettings.go.snap index 3e3a404973a..7fe982c4c6c 100644 --- a/service/workspacesweb/snapshot/api_op_CreateBrowserSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_CreateBrowserSettings.go.snap @@ -15,7 +15,6 @@ CreateBrowserSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_CreateDataProtectionSettings.go.snap b/service/workspacesweb/snapshot/api_op_CreateDataProtectionSettings.go.snap index e444ed801bc..aa4a782848c 100644 --- a/service/workspacesweb/snapshot/api_op_CreateDataProtectionSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_CreateDataProtectionSettings.go.snap @@ -15,7 +15,6 @@ CreateDataProtectionSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_CreateIdentityProvider.go.snap b/service/workspacesweb/snapshot/api_op_CreateIdentityProvider.go.snap index 84610e10ec3..1e060924e03 100644 --- a/service/workspacesweb/snapshot/api_op_CreateIdentityProvider.go.snap +++ b/service/workspacesweb/snapshot/api_op_CreateIdentityProvider.go.snap @@ -15,7 +15,6 @@ CreateIdentityProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_CreateIpAccessSettings.go.snap b/service/workspacesweb/snapshot/api_op_CreateIpAccessSettings.go.snap index 9bbcb8868fd..08f6aa9b24d 100644 --- a/service/workspacesweb/snapshot/api_op_CreateIpAccessSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_CreateIpAccessSettings.go.snap @@ -15,7 +15,6 @@ CreateIpAccessSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_CreateNetworkSettings.go.snap b/service/workspacesweb/snapshot/api_op_CreateNetworkSettings.go.snap index 26a197e5ca4..6eb89e66e93 100644 --- a/service/workspacesweb/snapshot/api_op_CreateNetworkSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_CreateNetworkSettings.go.snap @@ -15,7 +15,6 @@ CreateNetworkSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_CreatePortal.go.snap b/service/workspacesweb/snapshot/api_op_CreatePortal.go.snap index e894de650cd..7c1bb394a9c 100644 --- a/service/workspacesweb/snapshot/api_op_CreatePortal.go.snap +++ b/service/workspacesweb/snapshot/api_op_CreatePortal.go.snap @@ -15,7 +15,6 @@ CreatePortal Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_CreateTrustStore.go.snap b/service/workspacesweb/snapshot/api_op_CreateTrustStore.go.snap index 5ad0073c8b1..7d7dec32afb 100644 --- a/service/workspacesweb/snapshot/api_op_CreateTrustStore.go.snap +++ b/service/workspacesweb/snapshot/api_op_CreateTrustStore.go.snap @@ -15,7 +15,6 @@ CreateTrustStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_CreateUserAccessLoggingSettings.go.snap b/service/workspacesweb/snapshot/api_op_CreateUserAccessLoggingSettings.go.snap index 69f0d93d462..5f539e1ee01 100644 --- a/service/workspacesweb/snapshot/api_op_CreateUserAccessLoggingSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_CreateUserAccessLoggingSettings.go.snap @@ -15,7 +15,6 @@ CreateUserAccessLoggingSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_CreateUserSettings.go.snap b/service/workspacesweb/snapshot/api_op_CreateUserSettings.go.snap index 2761268bbe8..adbb4ebdeb4 100644 --- a/service/workspacesweb/snapshot/api_op_CreateUserSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_CreateUserSettings.go.snap @@ -15,7 +15,6 @@ CreateUserSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_DeleteBrowserSettings.go.snap b/service/workspacesweb/snapshot/api_op_DeleteBrowserSettings.go.snap index 4384552f43f..32b4c54f1d1 100644 --- a/service/workspacesweb/snapshot/api_op_DeleteBrowserSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_DeleteBrowserSettings.go.snap @@ -14,7 +14,6 @@ DeleteBrowserSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_DeleteDataProtectionSettings.go.snap b/service/workspacesweb/snapshot/api_op_DeleteDataProtectionSettings.go.snap index d4cc4a5a696..f9238dea8eb 100644 --- a/service/workspacesweb/snapshot/api_op_DeleteDataProtectionSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_DeleteDataProtectionSettings.go.snap @@ -14,7 +14,6 @@ DeleteDataProtectionSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_DeleteIdentityProvider.go.snap b/service/workspacesweb/snapshot/api_op_DeleteIdentityProvider.go.snap index b933875c28d..c97c6af14ff 100644 --- a/service/workspacesweb/snapshot/api_op_DeleteIdentityProvider.go.snap +++ b/service/workspacesweb/snapshot/api_op_DeleteIdentityProvider.go.snap @@ -14,7 +14,6 @@ DeleteIdentityProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_DeleteIpAccessSettings.go.snap b/service/workspacesweb/snapshot/api_op_DeleteIpAccessSettings.go.snap index 99a66c010a2..2dca4ca6137 100644 --- a/service/workspacesweb/snapshot/api_op_DeleteIpAccessSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_DeleteIpAccessSettings.go.snap @@ -14,7 +14,6 @@ DeleteIpAccessSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_DeleteNetworkSettings.go.snap b/service/workspacesweb/snapshot/api_op_DeleteNetworkSettings.go.snap index f22c5cf1379..0430f645744 100644 --- a/service/workspacesweb/snapshot/api_op_DeleteNetworkSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_DeleteNetworkSettings.go.snap @@ -14,7 +14,6 @@ DeleteNetworkSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_DeletePortal.go.snap b/service/workspacesweb/snapshot/api_op_DeletePortal.go.snap index 1dc66ab9856..529cc849255 100644 --- a/service/workspacesweb/snapshot/api_op_DeletePortal.go.snap +++ b/service/workspacesweb/snapshot/api_op_DeletePortal.go.snap @@ -14,7 +14,6 @@ DeletePortal Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_DeleteTrustStore.go.snap b/service/workspacesweb/snapshot/api_op_DeleteTrustStore.go.snap index 460ef1c153f..8058fd784b4 100644 --- a/service/workspacesweb/snapshot/api_op_DeleteTrustStore.go.snap +++ b/service/workspacesweb/snapshot/api_op_DeleteTrustStore.go.snap @@ -14,7 +14,6 @@ DeleteTrustStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_DeleteUserAccessLoggingSettings.go.snap b/service/workspacesweb/snapshot/api_op_DeleteUserAccessLoggingSettings.go.snap index 0f4f77f71f1..3d9bf9a2763 100644 --- a/service/workspacesweb/snapshot/api_op_DeleteUserAccessLoggingSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_DeleteUserAccessLoggingSettings.go.snap @@ -14,7 +14,6 @@ DeleteUserAccessLoggingSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_DeleteUserSettings.go.snap b/service/workspacesweb/snapshot/api_op_DeleteUserSettings.go.snap index 18c6a6cedcc..647df8703d5 100644 --- a/service/workspacesweb/snapshot/api_op_DeleteUserSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_DeleteUserSettings.go.snap @@ -14,7 +14,6 @@ DeleteUserSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_DisassociateBrowserSettings.go.snap b/service/workspacesweb/snapshot/api_op_DisassociateBrowserSettings.go.snap index 6c24481eb81..6bb2068f224 100644 --- a/service/workspacesweb/snapshot/api_op_DisassociateBrowserSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_DisassociateBrowserSettings.go.snap @@ -14,7 +14,6 @@ DisassociateBrowserSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_DisassociateDataProtectionSettings.go.snap b/service/workspacesweb/snapshot/api_op_DisassociateDataProtectionSettings.go.snap index b0cdf0e559d..4b2b20b99bb 100644 --- a/service/workspacesweb/snapshot/api_op_DisassociateDataProtectionSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_DisassociateDataProtectionSettings.go.snap @@ -14,7 +14,6 @@ DisassociateDataProtectionSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_DisassociateIpAccessSettings.go.snap b/service/workspacesweb/snapshot/api_op_DisassociateIpAccessSettings.go.snap index 347986cb87d..8dafa2795b4 100644 --- a/service/workspacesweb/snapshot/api_op_DisassociateIpAccessSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_DisassociateIpAccessSettings.go.snap @@ -14,7 +14,6 @@ DisassociateIpAccessSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_DisassociateNetworkSettings.go.snap b/service/workspacesweb/snapshot/api_op_DisassociateNetworkSettings.go.snap index 6413021b548..5100bcf59f2 100644 --- a/service/workspacesweb/snapshot/api_op_DisassociateNetworkSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_DisassociateNetworkSettings.go.snap @@ -14,7 +14,6 @@ DisassociateNetworkSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_DisassociateTrustStore.go.snap b/service/workspacesweb/snapshot/api_op_DisassociateTrustStore.go.snap index 5cee519a66d..c593defc455 100644 --- a/service/workspacesweb/snapshot/api_op_DisassociateTrustStore.go.snap +++ b/service/workspacesweb/snapshot/api_op_DisassociateTrustStore.go.snap @@ -14,7 +14,6 @@ DisassociateTrustStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_DisassociateUserAccessLoggingSettings.go.snap b/service/workspacesweb/snapshot/api_op_DisassociateUserAccessLoggingSettings.go.snap index 5597f118690..212a597ba0f 100644 --- a/service/workspacesweb/snapshot/api_op_DisassociateUserAccessLoggingSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_DisassociateUserAccessLoggingSettings.go.snap @@ -14,7 +14,6 @@ DisassociateUserAccessLoggingSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_DisassociateUserSettings.go.snap b/service/workspacesweb/snapshot/api_op_DisassociateUserSettings.go.snap index 69dfd4ca773..953a0b30e06 100644 --- a/service/workspacesweb/snapshot/api_op_DisassociateUserSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_DisassociateUserSettings.go.snap @@ -14,7 +14,6 @@ DisassociateUserSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_ExpireSession.go.snap b/service/workspacesweb/snapshot/api_op_ExpireSession.go.snap index 1a9fa23d121..dfc7a407950 100644 --- a/service/workspacesweb/snapshot/api_op_ExpireSession.go.snap +++ b/service/workspacesweb/snapshot/api_op_ExpireSession.go.snap @@ -14,7 +14,6 @@ ExpireSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_GetBrowserSettings.go.snap b/service/workspacesweb/snapshot/api_op_GetBrowserSettings.go.snap index e07416a4d7a..103c70b8296 100644 --- a/service/workspacesweb/snapshot/api_op_GetBrowserSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_GetBrowserSettings.go.snap @@ -14,7 +14,6 @@ GetBrowserSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_GetDataProtectionSettings.go.snap b/service/workspacesweb/snapshot/api_op_GetDataProtectionSettings.go.snap index fe606b62aba..9a869997489 100644 --- a/service/workspacesweb/snapshot/api_op_GetDataProtectionSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_GetDataProtectionSettings.go.snap @@ -14,7 +14,6 @@ GetDataProtectionSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_GetIdentityProvider.go.snap b/service/workspacesweb/snapshot/api_op_GetIdentityProvider.go.snap index b6b46082651..b179c193505 100644 --- a/service/workspacesweb/snapshot/api_op_GetIdentityProvider.go.snap +++ b/service/workspacesweb/snapshot/api_op_GetIdentityProvider.go.snap @@ -14,7 +14,6 @@ GetIdentityProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_GetIpAccessSettings.go.snap b/service/workspacesweb/snapshot/api_op_GetIpAccessSettings.go.snap index 4f45778e1b7..c8bd27deafc 100644 --- a/service/workspacesweb/snapshot/api_op_GetIpAccessSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_GetIpAccessSettings.go.snap @@ -14,7 +14,6 @@ GetIpAccessSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_GetNetworkSettings.go.snap b/service/workspacesweb/snapshot/api_op_GetNetworkSettings.go.snap index 66d4fe79e20..aa8fac04bf1 100644 --- a/service/workspacesweb/snapshot/api_op_GetNetworkSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_GetNetworkSettings.go.snap @@ -14,7 +14,6 @@ GetNetworkSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_GetPortal.go.snap b/service/workspacesweb/snapshot/api_op_GetPortal.go.snap index 39ce33a8671..5e955c4c72b 100644 --- a/service/workspacesweb/snapshot/api_op_GetPortal.go.snap +++ b/service/workspacesweb/snapshot/api_op_GetPortal.go.snap @@ -14,7 +14,6 @@ GetPortal Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_GetPortalServiceProviderMetadata.go.snap b/service/workspacesweb/snapshot/api_op_GetPortalServiceProviderMetadata.go.snap index 2d527686d11..f2eb89ec838 100644 --- a/service/workspacesweb/snapshot/api_op_GetPortalServiceProviderMetadata.go.snap +++ b/service/workspacesweb/snapshot/api_op_GetPortalServiceProviderMetadata.go.snap @@ -14,7 +14,6 @@ GetPortalServiceProviderMetadata Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_GetSession.go.snap b/service/workspacesweb/snapshot/api_op_GetSession.go.snap index b1fe5b7fa64..409a87aab6e 100644 --- a/service/workspacesweb/snapshot/api_op_GetSession.go.snap +++ b/service/workspacesweb/snapshot/api_op_GetSession.go.snap @@ -14,7 +14,6 @@ GetSession Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_GetTrustStore.go.snap b/service/workspacesweb/snapshot/api_op_GetTrustStore.go.snap index 35a96b02d6a..1454620fe74 100644 --- a/service/workspacesweb/snapshot/api_op_GetTrustStore.go.snap +++ b/service/workspacesweb/snapshot/api_op_GetTrustStore.go.snap @@ -14,7 +14,6 @@ GetTrustStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_GetTrustStoreCertificate.go.snap b/service/workspacesweb/snapshot/api_op_GetTrustStoreCertificate.go.snap index 4687be1cd7b..84dcb2427a8 100644 --- a/service/workspacesweb/snapshot/api_op_GetTrustStoreCertificate.go.snap +++ b/service/workspacesweb/snapshot/api_op_GetTrustStoreCertificate.go.snap @@ -14,7 +14,6 @@ GetTrustStoreCertificate Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_GetUserAccessLoggingSettings.go.snap b/service/workspacesweb/snapshot/api_op_GetUserAccessLoggingSettings.go.snap index ec659ba23b9..f5165ff389e 100644 --- a/service/workspacesweb/snapshot/api_op_GetUserAccessLoggingSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_GetUserAccessLoggingSettings.go.snap @@ -14,7 +14,6 @@ GetUserAccessLoggingSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_GetUserSettings.go.snap b/service/workspacesweb/snapshot/api_op_GetUserSettings.go.snap index 5c70752bfef..e0d3046532c 100644 --- a/service/workspacesweb/snapshot/api_op_GetUserSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_GetUserSettings.go.snap @@ -14,7 +14,6 @@ GetUserSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_ListBrowserSettings.go.snap b/service/workspacesweb/snapshot/api_op_ListBrowserSettings.go.snap index 888af13a7b9..c1528d058b4 100644 --- a/service/workspacesweb/snapshot/api_op_ListBrowserSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_ListBrowserSettings.go.snap @@ -13,7 +13,6 @@ ListBrowserSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_ListDataProtectionSettings.go.snap b/service/workspacesweb/snapshot/api_op_ListDataProtectionSettings.go.snap index 859231240f4..b80d6bca222 100644 --- a/service/workspacesweb/snapshot/api_op_ListDataProtectionSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_ListDataProtectionSettings.go.snap @@ -13,7 +13,6 @@ ListDataProtectionSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_ListIdentityProviders.go.snap b/service/workspacesweb/snapshot/api_op_ListIdentityProviders.go.snap index 404a2074473..f852eca389c 100644 --- a/service/workspacesweb/snapshot/api_op_ListIdentityProviders.go.snap +++ b/service/workspacesweb/snapshot/api_op_ListIdentityProviders.go.snap @@ -14,7 +14,6 @@ ListIdentityProviders Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_ListIpAccessSettings.go.snap b/service/workspacesweb/snapshot/api_op_ListIpAccessSettings.go.snap index db184cc961e..e9ff728cbd5 100644 --- a/service/workspacesweb/snapshot/api_op_ListIpAccessSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_ListIpAccessSettings.go.snap @@ -13,7 +13,6 @@ ListIpAccessSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_ListNetworkSettings.go.snap b/service/workspacesweb/snapshot/api_op_ListNetworkSettings.go.snap index f7994a66d50..0d2e19ae9a9 100644 --- a/service/workspacesweb/snapshot/api_op_ListNetworkSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_ListNetworkSettings.go.snap @@ -13,7 +13,6 @@ ListNetworkSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_ListPortals.go.snap b/service/workspacesweb/snapshot/api_op_ListPortals.go.snap index 0fbc8cd93cd..9ddf0df3ffc 100644 --- a/service/workspacesweb/snapshot/api_op_ListPortals.go.snap +++ b/service/workspacesweb/snapshot/api_op_ListPortals.go.snap @@ -13,7 +13,6 @@ ListPortals Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_ListSessions.go.snap b/service/workspacesweb/snapshot/api_op_ListSessions.go.snap index 36259a68421..b90480a5eb2 100644 --- a/service/workspacesweb/snapshot/api_op_ListSessions.go.snap +++ b/service/workspacesweb/snapshot/api_op_ListSessions.go.snap @@ -14,7 +14,6 @@ ListSessions Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_ListTagsForResource.go.snap b/service/workspacesweb/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/workspacesweb/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/workspacesweb/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_ListTrustStoreCertificates.go.snap b/service/workspacesweb/snapshot/api_op_ListTrustStoreCertificates.go.snap index 2bf16722184..dd29ba05374 100644 --- a/service/workspacesweb/snapshot/api_op_ListTrustStoreCertificates.go.snap +++ b/service/workspacesweb/snapshot/api_op_ListTrustStoreCertificates.go.snap @@ -14,7 +14,6 @@ ListTrustStoreCertificates Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_ListTrustStores.go.snap b/service/workspacesweb/snapshot/api_op_ListTrustStores.go.snap index 729390365a8..2ebe98fb5eb 100644 --- a/service/workspacesweb/snapshot/api_op_ListTrustStores.go.snap +++ b/service/workspacesweb/snapshot/api_op_ListTrustStores.go.snap @@ -13,7 +13,6 @@ ListTrustStores Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_ListUserAccessLoggingSettings.go.snap b/service/workspacesweb/snapshot/api_op_ListUserAccessLoggingSettings.go.snap index 01823988a06..6c1b7cf0264 100644 --- a/service/workspacesweb/snapshot/api_op_ListUserAccessLoggingSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_ListUserAccessLoggingSettings.go.snap @@ -13,7 +13,6 @@ ListUserAccessLoggingSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_ListUserSettings.go.snap b/service/workspacesweb/snapshot/api_op_ListUserSettings.go.snap index adb8b194e3b..4e16f6626e8 100644 --- a/service/workspacesweb/snapshot/api_op_ListUserSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_ListUserSettings.go.snap @@ -13,7 +13,6 @@ ListUserSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_TagResource.go.snap b/service/workspacesweb/snapshot/api_op_TagResource.go.snap index 89e38a3a9b6..d21f8b61059 100644 --- a/service/workspacesweb/snapshot/api_op_TagResource.go.snap +++ b/service/workspacesweb/snapshot/api_op_TagResource.go.snap @@ -15,7 +15,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_UntagResource.go.snap b/service/workspacesweb/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/workspacesweb/snapshot/api_op_UntagResource.go.snap +++ b/service/workspacesweb/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_UpdateBrowserSettings.go.snap b/service/workspacesweb/snapshot/api_op_UpdateBrowserSettings.go.snap index c04f3486f21..49620ead9f0 100644 --- a/service/workspacesweb/snapshot/api_op_UpdateBrowserSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_UpdateBrowserSettings.go.snap @@ -15,7 +15,6 @@ UpdateBrowserSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_UpdateDataProtectionSettings.go.snap b/service/workspacesweb/snapshot/api_op_UpdateDataProtectionSettings.go.snap index f27533d4de8..49118797f70 100644 --- a/service/workspacesweb/snapshot/api_op_UpdateDataProtectionSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_UpdateDataProtectionSettings.go.snap @@ -15,7 +15,6 @@ UpdateDataProtectionSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_UpdateIdentityProvider.go.snap b/service/workspacesweb/snapshot/api_op_UpdateIdentityProvider.go.snap index 168488df684..08416e9714b 100644 --- a/service/workspacesweb/snapshot/api_op_UpdateIdentityProvider.go.snap +++ b/service/workspacesweb/snapshot/api_op_UpdateIdentityProvider.go.snap @@ -15,7 +15,6 @@ UpdateIdentityProvider Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_UpdateIpAccessSettings.go.snap b/service/workspacesweb/snapshot/api_op_UpdateIpAccessSettings.go.snap index d2caea5336b..55e46295ac5 100644 --- a/service/workspacesweb/snapshot/api_op_UpdateIpAccessSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_UpdateIpAccessSettings.go.snap @@ -15,7 +15,6 @@ UpdateIpAccessSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_UpdateNetworkSettings.go.snap b/service/workspacesweb/snapshot/api_op_UpdateNetworkSettings.go.snap index 5dbc5791540..4e229962742 100644 --- a/service/workspacesweb/snapshot/api_op_UpdateNetworkSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_UpdateNetworkSettings.go.snap @@ -15,7 +15,6 @@ UpdateNetworkSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_UpdatePortal.go.snap b/service/workspacesweb/snapshot/api_op_UpdatePortal.go.snap index 04c2fdf0ec4..9d84debffd7 100644 --- a/service/workspacesweb/snapshot/api_op_UpdatePortal.go.snap +++ b/service/workspacesweb/snapshot/api_op_UpdatePortal.go.snap @@ -14,7 +14,6 @@ UpdatePortal Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_UpdateTrustStore.go.snap b/service/workspacesweb/snapshot/api_op_UpdateTrustStore.go.snap index 611b22f120a..eee9532e2f1 100644 --- a/service/workspacesweb/snapshot/api_op_UpdateTrustStore.go.snap +++ b/service/workspacesweb/snapshot/api_op_UpdateTrustStore.go.snap @@ -15,7 +15,6 @@ UpdateTrustStore Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_UpdateUserAccessLoggingSettings.go.snap b/service/workspacesweb/snapshot/api_op_UpdateUserAccessLoggingSettings.go.snap index 6d6b3e22a4b..960471851cf 100644 --- a/service/workspacesweb/snapshot/api_op_UpdateUserAccessLoggingSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_UpdateUserAccessLoggingSettings.go.snap @@ -15,7 +15,6 @@ UpdateUserAccessLoggingSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/workspacesweb/snapshot/api_op_UpdateUserSettings.go.snap b/service/workspacesweb/snapshot/api_op_UpdateUserSettings.go.snap index d0fc39fddd0..d5408ee29e5 100644 --- a/service/workspacesweb/snapshot/api_op_UpdateUserSettings.go.snap +++ b/service/workspacesweb/snapshot/api_op_UpdateUserSettings.go.snap @@ -15,7 +15,6 @@ UpdateUserSettings Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/api_client.go b/service/xray/api_client.go index f11bbf4482e..20c5bb3820a 100644 --- a/service/xray/api_client.go +++ b/service/xray/api_client.go @@ -761,37 +761,6 @@ func addUserAgentRetryMode(stack *middleware.Stack, options Options) error { return nil } -type setCredentialSourceMiddleware struct { - ua *awsmiddleware.RequestUserAgent - options Options -} - -func (m setCredentialSourceMiddleware) ID() string { return "SetCredentialSourceMiddleware" } - -func (m setCredentialSourceMiddleware) HandleBuild(ctx context.Context, in middleware.BuildInput, next middleware.BuildHandler) ( - out middleware.BuildOutput, metadata middleware.Metadata, err error, -) { - asProviderSource, ok := m.options.Credentials.(aws.CredentialProviderSource) - if !ok { - return next.HandleBuild(ctx, in) - } - providerSources := asProviderSource.ProviderSources() - for _, source := range providerSources { - m.ua.AddCredentialsSource(source) - } - return next.HandleBuild(ctx, in) -} - -func addCredentialSource(stack *middleware.Stack, options Options) error { - ua, err := getOrAddRequestUserAgent(stack) - if err != nil { - return err - } - - mw := setCredentialSourceMiddleware{ua: ua, options: options} - return stack.Build.Insert(&mw, "UserAgent", middleware.Before) -} - func resolveTracerProvider(options *Options) { if options.TracerProvider == nil { options.TracerProvider = &tracing.NopTracerProvider{} diff --git a/service/xray/api_op_BatchGetTraces.go b/service/xray/api_op_BatchGetTraces.go index 4be8541525a..b27655a87dd 100644 --- a/service/xray/api_op_BatchGetTraces.go +++ b/service/xray/api_op_BatchGetTraces.go @@ -126,9 +126,6 @@ func (c *Client) addOperationBatchGetTracesMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpBatchGetTracesValidationMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_CancelTraceRetrieval.go b/service/xray/api_op_CancelTraceRetrieval.go index d6b2becbb79..fd4a3306127 100644 --- a/service/xray/api_op_CancelTraceRetrieval.go +++ b/service/xray/api_op_CancelTraceRetrieval.go @@ -110,9 +110,6 @@ func (c *Client) addOperationCancelTraceRetrievalMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCancelTraceRetrievalValidationMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_CreateGroup.go b/service/xray/api_op_CreateGroup.go index dbf427320ef..f353e60d5da 100644 --- a/service/xray/api_op_CreateGroup.go +++ b/service/xray/api_op_CreateGroup.go @@ -152,9 +152,6 @@ func (c *Client) addOperationCreateGroupMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateGroupValidationMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_CreateSamplingRule.go b/service/xray/api_op_CreateSamplingRule.go index 0e329a8de48..c132f6573f6 100644 --- a/service/xray/api_op_CreateSamplingRule.go +++ b/service/xray/api_op_CreateSamplingRule.go @@ -144,9 +144,6 @@ func (c *Client) addOperationCreateSamplingRuleMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpCreateSamplingRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_DeleteGroup.go b/service/xray/api_op_DeleteGroup.go index 809beed5b7c..1bc8ebc9e72 100644 --- a/service/xray/api_op_DeleteGroup.go +++ b/service/xray/api_op_DeleteGroup.go @@ -108,9 +108,6 @@ func (c *Client) addOperationDeleteGroupMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGroup(options.Region), middleware.Before); err != nil { return err } diff --git a/service/xray/api_op_DeleteResourcePolicy.go b/service/xray/api_op_DeleteResourcePolicy.go index 09b6ebde5c3..7a218fcd4cc 100644 --- a/service/xray/api_op_DeleteResourcePolicy.go +++ b/service/xray/api_op_DeleteResourcePolicy.go @@ -113,9 +113,6 @@ func (c *Client) addOperationDeleteResourcePolicyMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpDeleteResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_DeleteSamplingRule.go b/service/xray/api_op_DeleteSamplingRule.go index d6946b12ccb..ab2f4a0f8a9 100644 --- a/service/xray/api_op_DeleteSamplingRule.go +++ b/service/xray/api_op_DeleteSamplingRule.go @@ -115,9 +115,6 @@ func (c *Client) addOperationDeleteSamplingRuleMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSamplingRule(options.Region), middleware.Before); err != nil { return err } diff --git a/service/xray/api_op_GetEncryptionConfig.go b/service/xray/api_op_GetEncryptionConfig.go index 3f1b6816046..d167650693e 100644 --- a/service/xray/api_op_GetEncryptionConfig.go +++ b/service/xray/api_op_GetEncryptionConfig.go @@ -106,9 +106,6 @@ func (c *Client) addOperationGetEncryptionConfigMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEncryptionConfig(options.Region), middleware.Before); err != nil { return err } diff --git a/service/xray/api_op_GetGroup.go b/service/xray/api_op_GetGroup.go index f190c1ff5cd..0eb34f39056 100644 --- a/service/xray/api_op_GetGroup.go +++ b/service/xray/api_op_GetGroup.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetGroupMiddlewares(stack *middleware.Stack, option if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGroup(options.Region), middleware.Before); err != nil { return err } diff --git a/service/xray/api_op_GetGroups.go b/service/xray/api_op_GetGroups.go index a96c3603510..d8a8c0d1c80 100644 --- a/service/xray/api_op_GetGroups.go +++ b/service/xray/api_op_GetGroups.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetGroupsMiddlewares(stack *middleware.Stack, optio if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGroups(options.Region), middleware.Before); err != nil { return err } diff --git a/service/xray/api_op_GetIndexingRules.go b/service/xray/api_op_GetIndexingRules.go index 0a00df3a833..463cf12d7d0 100644 --- a/service/xray/api_op_GetIndexingRules.go +++ b/service/xray/api_op_GetIndexingRules.go @@ -121,9 +121,6 @@ func (c *Client) addOperationGetIndexingRulesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetIndexingRules(options.Region), middleware.Before); err != nil { return err } diff --git a/service/xray/api_op_GetInsight.go b/service/xray/api_op_GetInsight.go index 72f0395e292..fff0c690140 100644 --- a/service/xray/api_op_GetInsight.go +++ b/service/xray/api_op_GetInsight.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetInsightMiddlewares(stack *middleware.Stack, opti if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInsightValidationMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_GetInsightEvents.go b/service/xray/api_op_GetInsightEvents.go index b770128d003..b8ddf8585fb 100644 --- a/service/xray/api_op_GetInsightEvents.go +++ b/service/xray/api_op_GetInsightEvents.go @@ -127,9 +127,6 @@ func (c *Client) addOperationGetInsightEventsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInsightEventsValidationMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_GetInsightImpactGraph.go b/service/xray/api_op_GetInsightImpactGraph.go index 43f1b9c46d5..3df3a026560 100644 --- a/service/xray/api_op_GetInsightImpactGraph.go +++ b/service/xray/api_op_GetInsightImpactGraph.go @@ -151,9 +151,6 @@ func (c *Client) addOperationGetInsightImpactGraphMiddlewares(stack *middleware. if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInsightImpactGraphValidationMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_GetInsightSummaries.go b/service/xray/api_op_GetInsightSummaries.go index d0f69ab9058..f117058a59e 100644 --- a/service/xray/api_op_GetInsightSummaries.go +++ b/service/xray/api_op_GetInsightSummaries.go @@ -143,9 +143,6 @@ func (c *Client) addOperationGetInsightSummariesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetInsightSummariesValidationMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_GetRetrievedTracesGraph.go b/service/xray/api_op_GetRetrievedTracesGraph.go index a83de2d824f..faa8203d93d 100644 --- a/service/xray/api_op_GetRetrievedTracesGraph.go +++ b/service/xray/api_op_GetRetrievedTracesGraph.go @@ -143,9 +143,6 @@ func (c *Client) addOperationGetRetrievedTracesGraphMiddlewares(stack *middlewar if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetRetrievedTracesGraphValidationMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_GetSamplingRules.go b/service/xray/api_op_GetSamplingRules.go index b374c8e8a60..e5a9c7cdd70 100644 --- a/service/xray/api_op_GetSamplingRules.go +++ b/service/xray/api_op_GetSamplingRules.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetSamplingRulesMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSamplingRules(options.Region), middleware.Before); err != nil { return err } diff --git a/service/xray/api_op_GetSamplingStatisticSummaries.go b/service/xray/api_op_GetSamplingStatisticSummaries.go index aabe8eab624..fa9871f2cef 100644 --- a/service/xray/api_op_GetSamplingStatisticSummaries.go +++ b/service/xray/api_op_GetSamplingStatisticSummaries.go @@ -113,9 +113,6 @@ func (c *Client) addOperationGetSamplingStatisticSummariesMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSamplingStatisticSummaries(options.Region), middleware.Before); err != nil { return err } diff --git a/service/xray/api_op_GetSamplingTargets.go b/service/xray/api_op_GetSamplingTargets.go index 85e4b903625..85109e47b93 100644 --- a/service/xray/api_op_GetSamplingTargets.go +++ b/service/xray/api_op_GetSamplingTargets.go @@ -126,9 +126,6 @@ func (c *Client) addOperationGetSamplingTargetsMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetSamplingTargetsValidationMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_GetServiceGraph.go b/service/xray/api_op_GetServiceGraph.go index 5c52ef23548..69af2bdd511 100644 --- a/service/xray/api_op_GetServiceGraph.go +++ b/service/xray/api_op_GetServiceGraph.go @@ -149,9 +149,6 @@ func (c *Client) addOperationGetServiceGraphMiddlewares(stack *middleware.Stack, if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetServiceGraphValidationMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_GetTimeSeriesServiceStatistics.go b/service/xray/api_op_GetTimeSeriesServiceStatistics.go index f54f39e2d65..b7c1b8ab575 100644 --- a/service/xray/api_op_GetTimeSeriesServiceStatistics.go +++ b/service/xray/api_op_GetTimeSeriesServiceStatistics.go @@ -147,9 +147,6 @@ func (c *Client) addOperationGetTimeSeriesServiceStatisticsMiddlewares(stack *mi if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTimeSeriesServiceStatisticsValidationMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_GetTraceGraph.go b/service/xray/api_op_GetTraceGraph.go index dcfd7ef3e55..8845b906d51 100644 --- a/service/xray/api_op_GetTraceGraph.go +++ b/service/xray/api_op_GetTraceGraph.go @@ -118,9 +118,6 @@ func (c *Client) addOperationGetTraceGraphMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTraceGraphValidationMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_GetTraceSegmentDestination.go b/service/xray/api_op_GetTraceSegmentDestination.go index 7e7c5ff929b..98cd24a5fcc 100644 --- a/service/xray/api_op_GetTraceSegmentDestination.go +++ b/service/xray/api_op_GetTraceSegmentDestination.go @@ -115,9 +115,6 @@ func (c *Client) addOperationGetTraceSegmentDestinationMiddlewares(stack *middle if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetTraceSegmentDestination(options.Region), middleware.Before); err != nil { return err } diff --git a/service/xray/api_op_GetTraceSummaries.go b/service/xray/api_op_GetTraceSummaries.go index 9ccb7bce8c3..8740105826d 100644 --- a/service/xray/api_op_GetTraceSummaries.go +++ b/service/xray/api_op_GetTraceSummaries.go @@ -168,9 +168,6 @@ func (c *Client) addOperationGetTraceSummariesMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpGetTraceSummariesValidationMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_ListResourcePolicies.go b/service/xray/api_op_ListResourcePolicies.go index 6dbb5cc5b24..50eec892275 100644 --- a/service/xray/api_op_ListResourcePolicies.go +++ b/service/xray/api_op_ListResourcePolicies.go @@ -113,9 +113,6 @@ func (c *Client) addOperationListResourcePoliciesMiddlewares(stack *middleware.S if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListResourcePolicies(options.Region), middleware.Before); err != nil { return err } diff --git a/service/xray/api_op_ListRetrievedTraces.go b/service/xray/api_op_ListRetrievedTraces.go index 21a3ad5d524..a1a4ee7ef99 100644 --- a/service/xray/api_op_ListRetrievedTraces.go +++ b/service/xray/api_op_ListRetrievedTraces.go @@ -149,9 +149,6 @@ func (c *Client) addOperationListRetrievedTracesMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListRetrievedTracesValidationMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_ListTagsForResource.go b/service/xray/api_op_ListTagsForResource.go index 8d59ca98c02..58782841baf 100644 --- a/service/xray/api_op_ListTagsForResource.go +++ b/service/xray/api_op_ListTagsForResource.go @@ -123,9 +123,6 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_PutEncryptionConfig.go b/service/xray/api_op_PutEncryptionConfig.go index edef320b14b..e6c1d64d4ce 100644 --- a/service/xray/api_op_PutEncryptionConfig.go +++ b/service/xray/api_op_PutEncryptionConfig.go @@ -128,9 +128,6 @@ func (c *Client) addOperationPutEncryptionConfigMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutEncryptionConfigValidationMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_PutResourcePolicy.go b/service/xray/api_op_PutResourcePolicy.go index 72c99aa4da0..d0f0a23d111 100644 --- a/service/xray/api_op_PutResourcePolicy.go +++ b/service/xray/api_op_PutResourcePolicy.go @@ -147,9 +147,6 @@ func (c *Client) addOperationPutResourcePolicyMiddlewares(stack *middleware.Stac if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutResourcePolicyValidationMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_PutTelemetryRecords.go b/service/xray/api_op_PutTelemetryRecords.go index 0740d242754..df39521b5f8 100644 --- a/service/xray/api_op_PutTelemetryRecords.go +++ b/service/xray/api_op_PutTelemetryRecords.go @@ -117,9 +117,6 @@ func (c *Client) addOperationPutTelemetryRecordsMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutTelemetryRecordsValidationMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_PutTraceSegments.go b/service/xray/api_op_PutTraceSegments.go index 256cfcd36a5..1be162c5e59 100644 --- a/service/xray/api_op_PutTraceSegments.go +++ b/service/xray/api_op_PutTraceSegments.go @@ -166,9 +166,6 @@ func (c *Client) addOperationPutTraceSegmentsMiddlewares(stack *middleware.Stack if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpPutTraceSegmentsValidationMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_StartTraceRetrieval.go b/service/xray/api_op_StartTraceRetrieval.go index 26d80b364eb..21913b6f768 100644 --- a/service/xray/api_op_StartTraceRetrieval.go +++ b/service/xray/api_op_StartTraceRetrieval.go @@ -145,9 +145,6 @@ func (c *Client) addOperationStartTraceRetrievalMiddlewares(stack *middleware.St if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpStartTraceRetrievalValidationMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_TagResource.go b/service/xray/api_op_TagResource.go index 7de0a85399b..a23dd0a5907 100644 --- a/service/xray/api_op_TagResource.go +++ b/service/xray/api_op_TagResource.go @@ -133,9 +133,6 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_UntagResource.go b/service/xray/api_op_UntagResource.go index fe0be942645..61d1f9eb91a 100644 --- a/service/xray/api_op_UntagResource.go +++ b/service/xray/api_op_UntagResource.go @@ -114,9 +114,6 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_UpdateGroup.go b/service/xray/api_op_UpdateGroup.go index 57f93e186eb..df6f0317fd4 100644 --- a/service/xray/api_op_UpdateGroup.go +++ b/service/xray/api_op_UpdateGroup.go @@ -128,9 +128,6 @@ func (c *Client) addOperationUpdateGroupMiddlewares(stack *middleware.Stack, opt if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGroup(options.Region), middleware.Before); err != nil { return err } diff --git a/service/xray/api_op_UpdateIndexingRule.go b/service/xray/api_op_UpdateIndexingRule.go index a66cea26d0d..5c685405ae6 100644 --- a/service/xray/api_op_UpdateIndexingRule.go +++ b/service/xray/api_op_UpdateIndexingRule.go @@ -122,9 +122,6 @@ func (c *Client) addOperationUpdateIndexingRuleMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateIndexingRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_UpdateSamplingRule.go b/service/xray/api_op_UpdateSamplingRule.go index 1a7ba3aecf5..3146f3c55c9 100644 --- a/service/xray/api_op_UpdateSamplingRule.go +++ b/service/xray/api_op_UpdateSamplingRule.go @@ -112,9 +112,6 @@ func (c *Client) addOperationUpdateSamplingRuleMiddlewares(stack *middleware.Sta if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = addOpUpdateSamplingRuleValidationMiddleware(stack); err != nil { return err } diff --git a/service/xray/api_op_UpdateTraceSegmentDestination.go b/service/xray/api_op_UpdateTraceSegmentDestination.go index 128625719c8..13ca1a717b5 100644 --- a/service/xray/api_op_UpdateTraceSegmentDestination.go +++ b/service/xray/api_op_UpdateTraceSegmentDestination.go @@ -118,9 +118,6 @@ func (c *Client) addOperationUpdateTraceSegmentDestinationMiddlewares(stack *mid if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addCredentialSource(stack, options); err != nil { - return err - } if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateTraceSegmentDestination(options.Region), middleware.Before); err != nil { return err } diff --git a/service/xray/snapshot/api_op_BatchGetTraces.go.snap b/service/xray/snapshot/api_op_BatchGetTraces.go.snap index 1144bd9fc41..74feddfa6c8 100644 --- a/service/xray/snapshot/api_op_BatchGetTraces.go.snap +++ b/service/xray/snapshot/api_op_BatchGetTraces.go.snap @@ -14,7 +14,6 @@ BatchGetTraces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_CancelTraceRetrieval.go.snap b/service/xray/snapshot/api_op_CancelTraceRetrieval.go.snap index f8215f854fb..817884f2b8f 100644 --- a/service/xray/snapshot/api_op_CancelTraceRetrieval.go.snap +++ b/service/xray/snapshot/api_op_CancelTraceRetrieval.go.snap @@ -14,7 +14,6 @@ CancelTraceRetrieval Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_CreateGroup.go.snap b/service/xray/snapshot/api_op_CreateGroup.go.snap index f017be256c7..f4adf31ac79 100644 --- a/service/xray/snapshot/api_op_CreateGroup.go.snap +++ b/service/xray/snapshot/api_op_CreateGroup.go.snap @@ -14,7 +14,6 @@ CreateGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_CreateSamplingRule.go.snap b/service/xray/snapshot/api_op_CreateSamplingRule.go.snap index 5752d9e374c..53c4160b980 100644 --- a/service/xray/snapshot/api_op_CreateSamplingRule.go.snap +++ b/service/xray/snapshot/api_op_CreateSamplingRule.go.snap @@ -14,7 +14,6 @@ CreateSamplingRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_DeleteGroup.go.snap b/service/xray/snapshot/api_op_DeleteGroup.go.snap index 02b47854b40..1c737472d8a 100644 --- a/service/xray/snapshot/api_op_DeleteGroup.go.snap +++ b/service/xray/snapshot/api_op_DeleteGroup.go.snap @@ -13,7 +13,6 @@ DeleteGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_DeleteResourcePolicy.go.snap b/service/xray/snapshot/api_op_DeleteResourcePolicy.go.snap index 21dbc8dfcde..9948d797360 100644 --- a/service/xray/snapshot/api_op_DeleteResourcePolicy.go.snap +++ b/service/xray/snapshot/api_op_DeleteResourcePolicy.go.snap @@ -14,7 +14,6 @@ DeleteResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_DeleteSamplingRule.go.snap b/service/xray/snapshot/api_op_DeleteSamplingRule.go.snap index e84bcd8826b..97dd1ddfd89 100644 --- a/service/xray/snapshot/api_op_DeleteSamplingRule.go.snap +++ b/service/xray/snapshot/api_op_DeleteSamplingRule.go.snap @@ -13,7 +13,6 @@ DeleteSamplingRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_GetEncryptionConfig.go.snap b/service/xray/snapshot/api_op_GetEncryptionConfig.go.snap index 424f3f3cb00..af5891e0ca7 100644 --- a/service/xray/snapshot/api_op_GetEncryptionConfig.go.snap +++ b/service/xray/snapshot/api_op_GetEncryptionConfig.go.snap @@ -13,7 +13,6 @@ GetEncryptionConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_GetGroup.go.snap b/service/xray/snapshot/api_op_GetGroup.go.snap index 84162774454..e4341ec4b02 100644 --- a/service/xray/snapshot/api_op_GetGroup.go.snap +++ b/service/xray/snapshot/api_op_GetGroup.go.snap @@ -13,7 +13,6 @@ GetGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_GetGroups.go.snap b/service/xray/snapshot/api_op_GetGroups.go.snap index 05b53702698..33ef5b697f9 100644 --- a/service/xray/snapshot/api_op_GetGroups.go.snap +++ b/service/xray/snapshot/api_op_GetGroups.go.snap @@ -13,7 +13,6 @@ GetGroups Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_GetIndexingRules.go.snap b/service/xray/snapshot/api_op_GetIndexingRules.go.snap index 6cd370b0e5d..08d0c551f57 100644 --- a/service/xray/snapshot/api_op_GetIndexingRules.go.snap +++ b/service/xray/snapshot/api_op_GetIndexingRules.go.snap @@ -13,7 +13,6 @@ GetIndexingRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_GetInsight.go.snap b/service/xray/snapshot/api_op_GetInsight.go.snap index a0c35ac9502..cf054365f71 100644 --- a/service/xray/snapshot/api_op_GetInsight.go.snap +++ b/service/xray/snapshot/api_op_GetInsight.go.snap @@ -14,7 +14,6 @@ GetInsight Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_GetInsightEvents.go.snap b/service/xray/snapshot/api_op_GetInsightEvents.go.snap index 6ed3fc7e1ec..d05a58bb805 100644 --- a/service/xray/snapshot/api_op_GetInsightEvents.go.snap +++ b/service/xray/snapshot/api_op_GetInsightEvents.go.snap @@ -14,7 +14,6 @@ GetInsightEvents Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_GetInsightImpactGraph.go.snap b/service/xray/snapshot/api_op_GetInsightImpactGraph.go.snap index e5cf2692732..8d510b7430b 100644 --- a/service/xray/snapshot/api_op_GetInsightImpactGraph.go.snap +++ b/service/xray/snapshot/api_op_GetInsightImpactGraph.go.snap @@ -14,7 +14,6 @@ GetInsightImpactGraph Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_GetInsightSummaries.go.snap b/service/xray/snapshot/api_op_GetInsightSummaries.go.snap index e0a7429ae0e..d341dd1f077 100644 --- a/service/xray/snapshot/api_op_GetInsightSummaries.go.snap +++ b/service/xray/snapshot/api_op_GetInsightSummaries.go.snap @@ -14,7 +14,6 @@ GetInsightSummaries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_GetRetrievedTracesGraph.go.snap b/service/xray/snapshot/api_op_GetRetrievedTracesGraph.go.snap index b1804008a09..38d05bce2aa 100644 --- a/service/xray/snapshot/api_op_GetRetrievedTracesGraph.go.snap +++ b/service/xray/snapshot/api_op_GetRetrievedTracesGraph.go.snap @@ -14,7 +14,6 @@ GetRetrievedTracesGraph Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_GetSamplingRules.go.snap b/service/xray/snapshot/api_op_GetSamplingRules.go.snap index e7c2f023bd6..67a8ebbe35b 100644 --- a/service/xray/snapshot/api_op_GetSamplingRules.go.snap +++ b/service/xray/snapshot/api_op_GetSamplingRules.go.snap @@ -13,7 +13,6 @@ GetSamplingRules Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_GetSamplingStatisticSummaries.go.snap b/service/xray/snapshot/api_op_GetSamplingStatisticSummaries.go.snap index 667081b5766..89ba2444f4e 100644 --- a/service/xray/snapshot/api_op_GetSamplingStatisticSummaries.go.snap +++ b/service/xray/snapshot/api_op_GetSamplingStatisticSummaries.go.snap @@ -13,7 +13,6 @@ GetSamplingStatisticSummaries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_GetSamplingTargets.go.snap b/service/xray/snapshot/api_op_GetSamplingTargets.go.snap index d8fb7f0a3c5..532277c28fc 100644 --- a/service/xray/snapshot/api_op_GetSamplingTargets.go.snap +++ b/service/xray/snapshot/api_op_GetSamplingTargets.go.snap @@ -14,7 +14,6 @@ GetSamplingTargets Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_GetServiceGraph.go.snap b/service/xray/snapshot/api_op_GetServiceGraph.go.snap index 741a47f537d..a883daf105d 100644 --- a/service/xray/snapshot/api_op_GetServiceGraph.go.snap +++ b/service/xray/snapshot/api_op_GetServiceGraph.go.snap @@ -14,7 +14,6 @@ GetServiceGraph Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_GetTimeSeriesServiceStatistics.go.snap b/service/xray/snapshot/api_op_GetTimeSeriesServiceStatistics.go.snap index b1c70ef6b78..b78a0557d53 100644 --- a/service/xray/snapshot/api_op_GetTimeSeriesServiceStatistics.go.snap +++ b/service/xray/snapshot/api_op_GetTimeSeriesServiceStatistics.go.snap @@ -14,7 +14,6 @@ GetTimeSeriesServiceStatistics Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_GetTraceGraph.go.snap b/service/xray/snapshot/api_op_GetTraceGraph.go.snap index e60e98152de..a1c76d02934 100644 --- a/service/xray/snapshot/api_op_GetTraceGraph.go.snap +++ b/service/xray/snapshot/api_op_GetTraceGraph.go.snap @@ -14,7 +14,6 @@ GetTraceGraph Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_GetTraceSegmentDestination.go.snap b/service/xray/snapshot/api_op_GetTraceSegmentDestination.go.snap index 915916bb6f6..6f8e638e6e4 100644 --- a/service/xray/snapshot/api_op_GetTraceSegmentDestination.go.snap +++ b/service/xray/snapshot/api_op_GetTraceSegmentDestination.go.snap @@ -13,7 +13,6 @@ GetTraceSegmentDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_GetTraceSummaries.go.snap b/service/xray/snapshot/api_op_GetTraceSummaries.go.snap index a221f3c3adc..620849dac7e 100644 --- a/service/xray/snapshot/api_op_GetTraceSummaries.go.snap +++ b/service/xray/snapshot/api_op_GetTraceSummaries.go.snap @@ -14,7 +14,6 @@ GetTraceSummaries Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_ListResourcePolicies.go.snap b/service/xray/snapshot/api_op_ListResourcePolicies.go.snap index 4f339079366..365d37670fc 100644 --- a/service/xray/snapshot/api_op_ListResourcePolicies.go.snap +++ b/service/xray/snapshot/api_op_ListResourcePolicies.go.snap @@ -13,7 +13,6 @@ ListResourcePolicies Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_ListRetrievedTraces.go.snap b/service/xray/snapshot/api_op_ListRetrievedTraces.go.snap index 8ac6a6b6507..6900e92c3da 100644 --- a/service/xray/snapshot/api_op_ListRetrievedTraces.go.snap +++ b/service/xray/snapshot/api_op_ListRetrievedTraces.go.snap @@ -14,7 +14,6 @@ ListRetrievedTraces Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_ListTagsForResource.go.snap b/service/xray/snapshot/api_op_ListTagsForResource.go.snap index d1502a85c09..77b6727eeb2 100644 --- a/service/xray/snapshot/api_op_ListTagsForResource.go.snap +++ b/service/xray/snapshot/api_op_ListTagsForResource.go.snap @@ -14,7 +14,6 @@ ListTagsForResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_PutEncryptionConfig.go.snap b/service/xray/snapshot/api_op_PutEncryptionConfig.go.snap index f07d27caf42..5a23fd0a150 100644 --- a/service/xray/snapshot/api_op_PutEncryptionConfig.go.snap +++ b/service/xray/snapshot/api_op_PutEncryptionConfig.go.snap @@ -14,7 +14,6 @@ PutEncryptionConfig Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_PutResourcePolicy.go.snap b/service/xray/snapshot/api_op_PutResourcePolicy.go.snap index 30530b1514f..47bad3fad0e 100644 --- a/service/xray/snapshot/api_op_PutResourcePolicy.go.snap +++ b/service/xray/snapshot/api_op_PutResourcePolicy.go.snap @@ -14,7 +14,6 @@ PutResourcePolicy Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_PutTelemetryRecords.go.snap b/service/xray/snapshot/api_op_PutTelemetryRecords.go.snap index c6f41cf3c42..40de62644ad 100644 --- a/service/xray/snapshot/api_op_PutTelemetryRecords.go.snap +++ b/service/xray/snapshot/api_op_PutTelemetryRecords.go.snap @@ -14,7 +14,6 @@ PutTelemetryRecords Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_PutTraceSegments.go.snap b/service/xray/snapshot/api_op_PutTraceSegments.go.snap index 197aeaa9238..408ddff87a7 100644 --- a/service/xray/snapshot/api_op_PutTraceSegments.go.snap +++ b/service/xray/snapshot/api_op_PutTraceSegments.go.snap @@ -14,7 +14,6 @@ PutTraceSegments Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_StartTraceRetrieval.go.snap b/service/xray/snapshot/api_op_StartTraceRetrieval.go.snap index 6454b1b9a94..a876c70b095 100644 --- a/service/xray/snapshot/api_op_StartTraceRetrieval.go.snap +++ b/service/xray/snapshot/api_op_StartTraceRetrieval.go.snap @@ -14,7 +14,6 @@ StartTraceRetrieval Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_TagResource.go.snap b/service/xray/snapshot/api_op_TagResource.go.snap index 95691fd5776..9325dffc14b 100644 --- a/service/xray/snapshot/api_op_TagResource.go.snap +++ b/service/xray/snapshot/api_op_TagResource.go.snap @@ -14,7 +14,6 @@ TagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_UntagResource.go.snap b/service/xray/snapshot/api_op_UntagResource.go.snap index cfcedbbfaba..f0b9085440a 100644 --- a/service/xray/snapshot/api_op_UntagResource.go.snap +++ b/service/xray/snapshot/api_op_UntagResource.go.snap @@ -14,7 +14,6 @@ UntagResource Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_UpdateGroup.go.snap b/service/xray/snapshot/api_op_UpdateGroup.go.snap index ca3bcbda98a..4177c4a323f 100644 --- a/service/xray/snapshot/api_op_UpdateGroup.go.snap +++ b/service/xray/snapshot/api_op_UpdateGroup.go.snap @@ -13,7 +13,6 @@ UpdateGroup Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_UpdateIndexingRule.go.snap b/service/xray/snapshot/api_op_UpdateIndexingRule.go.snap index f048c7604d4..0dc1f09ea53 100644 --- a/service/xray/snapshot/api_op_UpdateIndexingRule.go.snap +++ b/service/xray/snapshot/api_op_UpdateIndexingRule.go.snap @@ -14,7 +14,6 @@ UpdateIndexingRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_UpdateSamplingRule.go.snap b/service/xray/snapshot/api_op_UpdateSamplingRule.go.snap index 5ad98afabc7..ca8ba4b9827 100644 --- a/service/xray/snapshot/api_op_UpdateSamplingRule.go.snap +++ b/service/xray/snapshot/api_op_UpdateSamplingRule.go.snap @@ -14,7 +14,6 @@ UpdateSamplingRule Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection diff --git a/service/xray/snapshot/api_op_UpdateTraceSegmentDestination.go.snap b/service/xray/snapshot/api_op_UpdateTraceSegmentDestination.go.snap index 246f6cf62cb..034c2fef287 100644 --- a/service/xray/snapshot/api_op_UpdateTraceSegmentDestination.go.snap +++ b/service/xray/snapshot/api_op_UpdateTraceSegmentDestination.go.snap @@ -13,7 +13,6 @@ UpdateTraceSegmentDestination Build stack step ClientRequestID ComputeContentLength - SetCredentialSourceMiddleware UserAgent AddTimeOffsetMiddleware RecursionDetection From 46d69df98742c8aa9ec620ccbad3049e263cc592 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Madrigal=20=F0=9F=90=A7?= <599908+Madrigal@users.noreply.github.com> Date: Fri, 21 Feb 2025 15:04:20 -0500 Subject: [PATCH 2/2] Remove changelogs since this feature hasn't been picked up by release process --- .../4a11ffade7aa4ac8839139164bcdbd9f.json | 415 ----------------- .../e09f262cca454baaa532434210e9d892.json | 418 ------------------ 2 files changed, 833 deletions(-) delete mode 100644 .changelog/4a11ffade7aa4ac8839139164bcdbd9f.json delete mode 100644 .changelog/e09f262cca454baaa532434210e9d892.json diff --git a/.changelog/4a11ffade7aa4ac8839139164bcdbd9f.json b/.changelog/4a11ffade7aa4ac8839139164bcdbd9f.json deleted file mode 100644 index 93f13b2da09..00000000000 --- a/.changelog/4a11ffade7aa4ac8839139164bcdbd9f.json +++ /dev/null @@ -1,415 +0,0 @@ -{ - "id": "4a11ffad-e7aa-4ac8-8391-39164bcdbd9f", - "type": "feature", - "collapse": true, - "description": "Track credential providers via User-Agent Feature ids", - "modules": [ - "internal/protocoltest/awsrestjson", - "internal/protocoltest/ec2query", - "internal/protocoltest/jsonrpc", - "internal/protocoltest/jsonrpc10", - "internal/protocoltest/query", - "internal/protocoltest/restxml", - "internal/protocoltest/restxmlwithnamespace", - "service/accessanalyzer", - "service/account", - "service/acm", - "service/acmpca", - "service/amp", - "service/amplify", - "service/amplifybackend", - "service/amplifyuibuilder", - "service/apigateway", - "service/apigatewaymanagementapi", - "service/apigatewayv2", - "service/appconfig", - "service/appconfigdata", - "service/appfabric", - "service/appflow", - "service/appintegrations", - "service/applicationautoscaling", - "service/applicationcostprofiler", - "service/applicationdiscoveryservice", - "service/applicationinsights", - "service/applicationsignals", - "service/appmesh", - "service/apprunner", - "service/appstream", - "service/appsync", - "service/apptest", - "service/arczonalshift", - "service/artifact", - "service/athena", - "service/auditmanager", - "service/autoscaling", - "service/autoscalingplans", - "service/b2bi", - "service/backup", - "service/backupgateway", - "service/backupsearch", - "service/batch", - "service/bcmdataexports", - "service/bcmpricingcalculator", - "service/bedrock", - "service/bedrockagent", - "service/bedrockagentruntime", - "service/bedrockdataautomation", - "service/bedrockdataautomationruntime", - "service/bedrockruntime", - "service/billing", - "service/billingconductor", - "service/braket", - "service/budgets", - "service/chatbot", - "service/chime", - "service/chimesdkidentity", - "service/chimesdkmediapipelines", - "service/chimesdkmeetings", - "service/chimesdkmessaging", - "service/chimesdkvoice", - "service/cleanrooms", - "service/cleanroomsml", - "service/cloud9", - "service/cloudcontrol", - "service/clouddirectory", - "service/cloudformation", - "service/cloudfront", - "service/cloudfrontkeyvaluestore", - "service/cloudhsm", - "service/cloudhsmv2", - "service/cloudsearch", - "service/cloudsearchdomain", - "service/cloudtrail", - "service/cloudtraildata", - "service/cloudwatch", - "service/cloudwatchevents", - "service/cloudwatchlogs", - "service/codeartifact", - "service/codebuild", - "service/codecommit", - "service/codeconnections", - "service/codedeploy", - "service/codeguruprofiler", - "service/codegurureviewer", - "service/codegurusecurity", - "service/codepipeline", - "service/codestarconnections", - "service/codestarnotifications", - "service/cognitoidentity", - "service/cognitoidentityprovider", - "service/cognitosync", - "service/comprehend", - "service/comprehendmedical", - "service/computeoptimizer", - "service/configservice", - "service/connect", - "service/connectcampaigns", - "service/connectcampaignsv2", - "service/connectcases", - "service/connectcontactlens", - "service/connectparticipant", - "service/controlcatalog", - "service/controltower", - "service/costandusagereportservice", - "service/costexplorer", - "service/costoptimizationhub", - "service/customerprofiles", - "service/databasemigrationservice", - "service/databrew", - "service/dataexchange", - "service/datapipeline", - "service/datasync", - "service/datazone", - "service/dax", - "service/deadline", - "service/detective", - "service/devicefarm", - "service/devopsguru", - "service/directconnect", - "service/directoryservice", - "service/directoryservicedata", - "service/dlm", - "service/docdb", - "service/docdbelastic", - "service/drs", - "service/dsql", - "service/dynamodb", - "service/dynamodbstreams", - "service/ebs", - "service/ec2", - "service/ec2instanceconnect", - "service/ecr", - "service/ecrpublic", - "service/ecs", - "service/efs", - "service/eks", - "service/eksauth", - "service/elasticache", - "service/elasticbeanstalk", - "service/elasticinference", - "service/elasticloadbalancing", - "service/elasticloadbalancingv2", - "service/elasticsearchservice", - "service/elastictranscoder", - "service/emr", - "service/emrcontainers", - "service/emrserverless", - "service/entityresolution", - "service/eventbridge", - "service/evidently", - "service/finspace", - "service/finspacedata", - "service/firehose", - "service/fis", - "service/fms", - "service/forecast", - "service/forecastquery", - "service/frauddetector", - "service/freetier", - "service/fsx", - "service/gamelift", - "service/geomaps", - "service/geoplaces", - "service/georoutes", - "service/glacier", - "service/globalaccelerator", - "service/glue", - "service/grafana", - "service/greengrass", - "service/greengrassv2", - "service/groundstation", - "service/guardduty", - "service/health", - "service/healthlake", - "service/iam", - "service/identitystore", - "service/imagebuilder", - "service/inspector", - "service/inspector2", - "service/inspectorscan", - "service/internetmonitor", - "service/invoicing", - "service/iot", - "service/iotanalytics", - "service/iotdataplane", - "service/iotdeviceadvisor", - "service/iotevents", - "service/ioteventsdata", - "service/iotfleethub", - "service/iotfleetwise", - "service/iotjobsdataplane", - "service/iotsecuretunneling", - "service/iotsitewise", - "service/iotthingsgraph", - "service/iottwinmaker", - "service/iotwireless", - "service/ivs", - "service/ivschat", - "service/ivsrealtime", - "service/kafka", - "service/kafkaconnect", - "service/kendra", - "service/kendraranking", - "service/keyspaces", - "service/kinesis", - "service/kinesisanalytics", - "service/kinesisanalyticsv2", - "service/kinesisvideo", - "service/kinesisvideoarchivedmedia", - "service/kinesisvideomedia", - "service/kinesisvideosignaling", - "service/kinesisvideowebrtcstorage", - "service/kms", - "service/lakeformation", - "service/lambda", - "service/launchwizard", - "service/lexmodelbuildingservice", - "service/lexmodelsv2", - "service/lexruntimeservice", - "service/lexruntimev2", - "service/licensemanager", - "service/licensemanagerlinuxsubscriptions", - "service/licensemanagerusersubscriptions", - "service/lightsail", - "service/location", - "service/lookoutequipment", - "service/lookoutmetrics", - "service/lookoutvision", - "service/m2", - "service/machinelearning", - "service/macie2", - "service/mailmanager", - "service/managedblockchain", - "service/managedblockchainquery", - "service/marketplaceagreement", - "service/marketplacecatalog", - "service/marketplacecommerceanalytics", - "service/marketplacedeployment", - "service/marketplaceentitlementservice", - "service/marketplacemetering", - "service/marketplacereporting", - "service/mediaconnect", - "service/mediaconvert", - "service/medialive", - "service/mediapackage", - "service/mediapackagev2", - "service/mediapackagevod", - "service/mediastore", - "service/mediastoredata", - "service/mediatailor", - "service/medicalimaging", - "service/memorydb", - "service/mgn", - "service/migrationhub", - "service/migrationhubconfig", - "service/migrationhuborchestrator", - "service/migrationhubrefactorspaces", - "service/migrationhubstrategy", - "service/mq", - "service/mturk", - "service/mwaa", - "service/neptune", - "service/neptunedata", - "service/neptunegraph", - "service/networkfirewall", - "service/networkflowmonitor", - "service/networkmanager", - "service/networkmonitor", - "service/notifications", - "service/notificationscontacts", - "service/oam", - "service/observabilityadmin", - "service/omics", - "service/opensearch", - "service/opensearchserverless", - "service/opsworks", - "service/opsworkscm", - "service/organizations", - "service/osis", - "service/outposts", - "service/panorama", - "service/partnercentralselling", - "service/paymentcryptography", - "service/paymentcryptographydata", - "service/pcaconnectorad", - "service/pcaconnectorscep", - "service/pcs", - "service/personalize", - "service/personalizeevents", - "service/personalizeruntime", - "service/pi", - "service/pinpoint", - "service/pinpointemail", - "service/pinpointsmsvoice", - "service/pinpointsmsvoicev2", - "service/pipes", - "service/polly", - "service/pricing", - "service/privatenetworks", - "service/proton", - "service/qapps", - "service/qbusiness", - "service/qconnect", - "service/qldb", - "service/qldbsession", - "service/quicksight", - "service/ram", - "service/rbin", - "service/rds", - "service/rdsdata", - "service/redshift", - "service/redshiftdata", - "service/redshiftserverless", - "service/rekognition", - "service/repostspace", - "service/resiliencehub", - "service/resourceexplorer2", - "service/resourcegroups", - "service/resourcegroupstaggingapi", - "service/robomaker", - "service/rolesanywhere", - "service/route53", - "service/route53domains", - "service/route53profiles", - "service/route53recoverycluster", - "service/route53recoverycontrolconfig", - "service/route53recoveryreadiness", - "service/route53resolver", - "service/rum", - "service/s3", - "service/s3control", - "service/s3outposts", - "service/s3tables", - "service/sagemaker", - "service/sagemakera2iruntime", - "service/sagemakeredge", - "service/sagemakerfeaturestoreruntime", - "service/sagemakergeospatial", - "service/sagemakermetrics", - "service/sagemakerruntime", - "service/savingsplans", - "service/scheduler", - "service/schemas", - "service/secretsmanager", - "service/securityhub", - "service/securityir", - "service/securitylake", - "service/serverlessapplicationrepository", - "service/servicecatalog", - "service/servicecatalogappregistry", - "service/servicediscovery", - "service/servicequotas", - "service/ses", - "service/sesv2", - "service/sfn", - "service/shield", - "service/signer", - "service/simspaceweaver", - "service/sms", - "service/snowball", - "service/snowdevicemanagement", - "service/sns", - "service/socialmessaging", - "service/sqs", - "service/ssm", - "service/ssmcontacts", - "service/ssmincidents", - "service/ssmquicksetup", - "service/ssmsap", - "service/sso", - "service/ssoadmin", - "service/ssooidc", - "service/storagegateway", - "service/supplychain", - "service/support", - "service/supportapp", - "service/swf", - "service/synthetics", - "service/taxsettings", - "service/textract", - "service/timestreaminfluxdb", - "service/timestreamquery", - "service/timestreamwrite", - "service/tnb", - "service/transcribe", - "service/transcribestreaming", - "service/transfer", - "service/translate", - "service/trustedadvisor", - "service/verifiedpermissions", - "service/voiceid", - "service/vpclattice", - "service/waf", - "service/wafregional", - "service/wafv2", - "service/wellarchitected", - "service/wisdom", - "service/workdocs", - "service/workmail", - "service/workmailmessageflow", - "service/workspaces", - "service/workspacesthinclient", - "service/workspacesweb", - "service/xray" - ] -} \ No newline at end of file diff --git a/.changelog/e09f262cca454baaa532434210e9d892.json b/.changelog/e09f262cca454baaa532434210e9d892.json deleted file mode 100644 index fcd24c664be..00000000000 --- a/.changelog/e09f262cca454baaa532434210e9d892.json +++ /dev/null @@ -1,418 +0,0 @@ -{ - "id": "e09f262c-ca45-4baa-a532-434210e9d892", - "type": "bugfix", - "description": "Revert 'Track credential providers via User-Agent Feature ids (#3008)' This reverts commit 402370d1d1850404b5f14de989827c53b2411c98.", - "modules": [ - ".", - "config", - "credentials", - "internal/protocoltest/awsrestjson", - "internal/protocoltest/ec2query", - "internal/protocoltest/jsonrpc", - "internal/protocoltest/jsonrpc10", - "internal/protocoltest/query", - "internal/protocoltest/restxml", - "internal/protocoltest/restxmlwithnamespace", - "service/accessanalyzer", - "service/account", - "service/acm", - "service/acmpca", - "service/amp", - "service/amplify", - "service/amplifybackend", - "service/amplifyuibuilder", - "service/apigateway", - "service/apigatewaymanagementapi", - "service/apigatewayv2", - "service/appconfig", - "service/appconfigdata", - "service/appfabric", - "service/appflow", - "service/appintegrations", - "service/applicationautoscaling", - "service/applicationcostprofiler", - "service/applicationdiscoveryservice", - "service/applicationinsights", - "service/applicationsignals", - "service/appmesh", - "service/apprunner", - "service/appstream", - "service/appsync", - "service/apptest", - "service/arczonalshift", - "service/artifact", - "service/athena", - "service/auditmanager", - "service/autoscaling", - "service/autoscalingplans", - "service/b2bi", - "service/backup", - "service/backupgateway", - "service/backupsearch", - "service/batch", - "service/bcmdataexports", - "service/bcmpricingcalculator", - "service/bedrock", - "service/bedrockagent", - "service/bedrockagentruntime", - "service/bedrockdataautomation", - "service/bedrockdataautomationruntime", - "service/bedrockruntime", - "service/billing", - "service/billingconductor", - "service/braket", - "service/budgets", - "service/chatbot", - "service/chime", - "service/chimesdkidentity", - "service/chimesdkmediapipelines", - "service/chimesdkmeetings", - "service/chimesdkmessaging", - "service/chimesdkvoice", - "service/cleanrooms", - "service/cleanroomsml", - "service/cloud9", - "service/cloudcontrol", - "service/clouddirectory", - "service/cloudformation", - "service/cloudfront", - "service/cloudfrontkeyvaluestore", - "service/cloudhsm", - "service/cloudhsmv2", - "service/cloudsearch", - "service/cloudsearchdomain", - "service/cloudtrail", - "service/cloudtraildata", - "service/cloudwatch", - "service/cloudwatchevents", - "service/cloudwatchlogs", - "service/codeartifact", - "service/codebuild", - "service/codecommit", - "service/codeconnections", - "service/codedeploy", - "service/codeguruprofiler", - "service/codegurureviewer", - "service/codegurusecurity", - "service/codepipeline", - "service/codestarconnections", - "service/codestarnotifications", - "service/cognitoidentity", - "service/cognitoidentityprovider", - "service/cognitosync", - "service/comprehend", - "service/comprehendmedical", - "service/computeoptimizer", - "service/configservice", - "service/connect", - "service/connectcampaigns", - "service/connectcampaignsv2", - "service/connectcases", - "service/connectcontactlens", - "service/connectparticipant", - "service/controlcatalog", - "service/controltower", - "service/costandusagereportservice", - "service/costexplorer", - "service/costoptimizationhub", - "service/customerprofiles", - "service/databasemigrationservice", - "service/databrew", - "service/dataexchange", - "service/datapipeline", - "service/datasync", - "service/datazone", - "service/dax", - "service/deadline", - "service/detective", - "service/devicefarm", - "service/devopsguru", - "service/directconnect", - "service/directoryservice", - "service/directoryservicedata", - "service/dlm", - "service/docdb", - "service/docdbelastic", - "service/drs", - "service/dsql", - "service/dynamodb", - "service/dynamodbstreams", - "service/ebs", - "service/ec2", - "service/ec2instanceconnect", - "service/ecr", - "service/ecrpublic", - "service/ecs", - "service/efs", - "service/eks", - "service/eksauth", - "service/elasticache", - "service/elasticbeanstalk", - "service/elasticinference", - "service/elasticloadbalancing", - "service/elasticloadbalancingv2", - "service/elasticsearchservice", - "service/elastictranscoder", - "service/emr", - "service/emrcontainers", - "service/emrserverless", - "service/entityresolution", - "service/eventbridge", - "service/evidently", - "service/finspace", - "service/finspacedata", - "service/firehose", - "service/fis", - "service/fms", - "service/forecast", - "service/forecastquery", - "service/frauddetector", - "service/freetier", - "service/fsx", - "service/gamelift", - "service/geomaps", - "service/geoplaces", - "service/georoutes", - "service/glacier", - "service/globalaccelerator", - "service/glue", - "service/grafana", - "service/greengrass", - "service/greengrassv2", - "service/groundstation", - "service/guardduty", - "service/health", - "service/healthlake", - "service/iam", - "service/identitystore", - "service/imagebuilder", - "service/inspector", - "service/inspector2", - "service/inspectorscan", - "service/internetmonitor", - "service/invoicing", - "service/iot", - "service/iotanalytics", - "service/iotdataplane", - "service/iotdeviceadvisor", - "service/iotevents", - "service/ioteventsdata", - "service/iotfleethub", - "service/iotfleetwise", - "service/iotjobsdataplane", - "service/iotsecuretunneling", - "service/iotsitewise", - "service/iotthingsgraph", - "service/iottwinmaker", - "service/iotwireless", - "service/ivs", - "service/ivschat", - "service/ivsrealtime", - "service/kafka", - "service/kafkaconnect", - "service/kendra", - "service/kendraranking", - "service/keyspaces", - "service/kinesis", - "service/kinesisanalytics", - "service/kinesisanalyticsv2", - "service/kinesisvideo", - "service/kinesisvideoarchivedmedia", - "service/kinesisvideomedia", - "service/kinesisvideosignaling", - "service/kinesisvideowebrtcstorage", - "service/kms", - "service/lakeformation", - "service/lambda", - "service/launchwizard", - "service/lexmodelbuildingservice", - "service/lexmodelsv2", - "service/lexruntimeservice", - "service/lexruntimev2", - "service/licensemanager", - "service/licensemanagerlinuxsubscriptions", - "service/licensemanagerusersubscriptions", - "service/lightsail", - "service/location", - "service/lookoutequipment", - "service/lookoutmetrics", - "service/lookoutvision", - "service/m2", - "service/machinelearning", - "service/macie2", - "service/mailmanager", - "service/managedblockchain", - "service/managedblockchainquery", - "service/marketplaceagreement", - "service/marketplacecatalog", - "service/marketplacecommerceanalytics", - "service/marketplacedeployment", - "service/marketplaceentitlementservice", - "service/marketplacemetering", - "service/marketplacereporting", - "service/mediaconnect", - "service/mediaconvert", - "service/medialive", - "service/mediapackage", - "service/mediapackagev2", - "service/mediapackagevod", - "service/mediastore", - "service/mediastoredata", - "service/mediatailor", - "service/medicalimaging", - "service/memorydb", - "service/mgn", - "service/migrationhub", - "service/migrationhubconfig", - "service/migrationhuborchestrator", - "service/migrationhubrefactorspaces", - "service/migrationhubstrategy", - "service/mq", - "service/mturk", - "service/mwaa", - "service/neptune", - "service/neptunedata", - "service/neptunegraph", - "service/networkfirewall", - "service/networkflowmonitor", - "service/networkmanager", - "service/networkmonitor", - "service/notifications", - "service/notificationscontacts", - "service/oam", - "service/observabilityadmin", - "service/omics", - "service/opensearch", - "service/opensearchserverless", - "service/opsworks", - "service/opsworkscm", - "service/organizations", - "service/osis", - "service/outposts", - "service/panorama", - "service/partnercentralselling", - "service/paymentcryptography", - "service/paymentcryptographydata", - "service/pcaconnectorad", - "service/pcaconnectorscep", - "service/pcs", - "service/personalize", - "service/personalizeevents", - "service/personalizeruntime", - "service/pi", - "service/pinpoint", - "service/pinpointemail", - "service/pinpointsmsvoice", - "service/pinpointsmsvoicev2", - "service/pipes", - "service/polly", - "service/pricing", - "service/privatenetworks", - "service/proton", - "service/qapps", - "service/qbusiness", - "service/qconnect", - "service/qldb", - "service/qldbsession", - "service/quicksight", - "service/ram", - "service/rbin", - "service/rds", - "service/rdsdata", - "service/redshift", - "service/redshiftdata", - "service/redshiftserverless", - "service/rekognition", - "service/repostspace", - "service/resiliencehub", - "service/resourceexplorer2", - "service/resourcegroups", - "service/resourcegroupstaggingapi", - "service/robomaker", - "service/rolesanywhere", - "service/route53", - "service/route53domains", - "service/route53profiles", - "service/route53recoverycluster", - "service/route53recoverycontrolconfig", - "service/route53recoveryreadiness", - "service/route53resolver", - "service/rum", - "service/s3", - "service/s3control", - "service/s3outposts", - "service/s3tables", - "service/sagemaker", - "service/sagemakera2iruntime", - "service/sagemakeredge", - "service/sagemakerfeaturestoreruntime", - "service/sagemakergeospatial", - "service/sagemakermetrics", - "service/sagemakerruntime", - "service/savingsplans", - "service/scheduler", - "service/schemas", - "service/secretsmanager", - "service/securityhub", - "service/securityir", - "service/securitylake", - "service/serverlessapplicationrepository", - "service/servicecatalog", - "service/servicecatalogappregistry", - "service/servicediscovery", - "service/servicequotas", - "service/ses", - "service/sesv2", - "service/sfn", - "service/shield", - "service/signer", - "service/simspaceweaver", - "service/sms", - "service/snowball", - "service/snowdevicemanagement", - "service/sns", - "service/socialmessaging", - "service/sqs", - "service/ssm", - "service/ssmcontacts", - "service/ssmincidents", - "service/ssmquicksetup", - "service/ssmsap", - "service/sso", - "service/ssoadmin", - "service/ssooidc", - "service/storagegateway", - "service/sts", - "service/supplychain", - "service/support", - "service/supportapp", - "service/swf", - "service/synthetics", - "service/taxsettings", - "service/textract", - "service/timestreaminfluxdb", - "service/timestreamquery", - "service/timestreamwrite", - "service/tnb", - "service/transcribe", - "service/transcribestreaming", - "service/transfer", - "service/translate", - "service/trustedadvisor", - "service/verifiedpermissions", - "service/voiceid", - "service/vpclattice", - "service/waf", - "service/wafregional", - "service/wafv2", - "service/wellarchitected", - "service/wisdom", - "service/workdocs", - "service/workmail", - "service/workmailmessageflow", - "service/workspaces", - "service/workspacesthinclient", - "service/workspacesweb", - "service/xray" - ] -} \ No newline at end of file